diff --git a/index.html b/index.html index 1a3c0a6d1..4b4ce45b9 100644 --- a/index.html +++ b/index.html @@ -96,32 +96,8 @@ - -
- - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + diff --git a/v0.19.4/json_utils.py b/v0.19.4/json_utils.py new file mode 100644 index 000000000..cca5d96db --- /dev/null +++ b/v0.19.4/json_utils.py @@ -0,0 +1,131 @@ +from abc import abstractmethod, ABC +import json + + +class JSONSerializable(ABC): + + @abstractmethod + def to_json_serializable(self, suppress_indent=True): + raise NotImplementedError() + + +def json_encode(obj: JSONSerializable, suppress_indent: bool = True) -> str: + encoder = SuppressableIndentEncoder if suppress_indent else json.JSONEncoder + serializable = obj.to_json_serializable(suppress_indent=suppress_indent) + return json.dumps(serializable, cls=encoder, indent=2) + + +class NoIndent: + """ Value wrapper. """ + + def __init__(self, value): + self.value = value + + +class SuppressableIndentEncoder(json.JSONEncoder): + def __init__(self, *args, **kwargs): + self.unique_id = 0 + super(SuppressableIndentEncoder, self).__init__(*args, **kwargs) + self.kwargs = dict(kwargs) + del self.kwargs['indent'] + self._replacement_map = {} + + def default(self, obj): + if isinstance(obj, NoIndent): + # key = uuid.uuid1().hex # this caused problems with Brython. + key = self.unique_id + self.unique_id += 1 + self._replacement_map[key] = json.dumps(obj.value, **self.kwargs) + return "@@%s@@" % (key,) + else: + return super().default(obj) + + def encode(self, obj): + result = super().encode(obj) + for k, v in self._replacement_map.items(): + result = result.replace('"@@%s@@"' % (k,), v) + return result + + +# class KeepIndentEncoder(json.JSONEncoder): +# def __init__(self, *args, **kwargs): +# self.unique_id = 0 +# super(KeepIndentEncoder, self).__init__(*args, **kwargs) +# self.kwargs = dict(kwargs) +# del self.kwargs['indent'] +# self._replacement_map = {} +# +# def default(self, o): +# if isinstance(o, NoIndent): +# return o.value +# else: +# return super(KeepIndentEncoder, self).default(o) + + +# class SuppressableIndentEncoder(json.JSONEncoder): +# """ +# This lets us control the indentation to get a nice balance between the fully indented +# option given by :func:`json.dumps` with argument `indent` set +# (which is unreadably sparse since it puts every single container item in +# the whole JSON tree on a separate line), +# and the (also unreadable) minified default with no whitespace. +# Classes should define themselves as a subclass of :any:`json_utils.JSONSerializable`, +# define a `to_json_serializable` method (which should return a serializable Python object +# as defined here: https://docs.python.org/3/library/json.html#py-to-json-table), +# and wrap anything that should not be indented in :any:`json_utils.NoIndent`. +# The subtree underneath cannot contain another :any:`json_utils.NoIndent`, +# i.e., every root-to-left path should contain at most one :any:`json_utils.NoIndent`. +# Code taken from +# https://stackoverflow.com/questions/13249415/how-to-implement-custom-indentation-when-pretty-printing-with-the-json-module +# """ +# +# FORMAT_SPEC = '@@{}@@' +# regex = re.compile(FORMAT_SPEC.format(r'(\d+)')) +# +# def __init__(self, **kwargs): +# # Save copy of any keyword argument values needed for use here. +# self.__sort_keys = kwargs.get('sort_keys', None) +# super(SuppressableIndentEncoder, self).__init__(**kwargs) +# +# def default(self, obj): +# return (self.FORMAT_SPEC.format(id(obj)) if isinstance(obj, NoIndent) +# else super(SuppressableIndentEncoder, self).default(obj)) +# +# def encode(self, obj): +# format_spec = self.FORMAT_SPEC # Local var to expedite access. +# json_repr = super(SuppressableIndentEncoder, self).encode(obj) # Default JSON. +# +# # Replace any marked-up object ids in the JSON repr with the +# # value returned from the json.dumps() of the corresponding +# # wrapped Python object. +# for match in self.regex.finditer(json_repr): +# # see https://stackoverflow.com/a/15012814/355230 +# _id = int(match.group(1)) +# no_indent = PyObj_FromPtr(_id) +# json_obj_repr = json.dumps(no_indent.value, sort_keys=self.__sort_keys) +# +# # Replace the matched id string with json formatted representation +# # of the corresponding Python object. +# json_repr = json_repr.replace( +# '"{}"'.format(format_spec.format(_id)), json_obj_repr) +# +# return json_repr + + +if __name__ == '__main__': + from string import ascii_lowercase as letters + + data_structure = { + 'layer1': { + 'layer2': { + 'layer3_1': NoIndent([{"x": 1, "y": 7}, {"x": 0, "y": 4}, {"x": 5, "y": 3}, + {"x": 6, "y": 9}, + {k: v for v, k in enumerate(letters)}]), + 'layer3_2': 'string', + 'layer3_3': NoIndent([{"x": 2, "y": 8, "z": 3}, {"x": 1, "y": 5, "z": 4}, + {"x": 6, "y": 9, "z": 8}]), + 'layer3_4': NoIndent(list(range(20))), + } + } + } + diff --git a/v0.19.4/m13.py b/v0.19.4/m13.py new file mode 100644 index 000000000..2c6792e2b --- /dev/null +++ b/v0.19.4/m13.py @@ -0,0 +1,2 @@ +sequence = \ + "TTCCCTTCCTTTCTCGCCACGTTCGCCGGCTTTCCCCGTCAAGCTCTAAATCGGGGGCTCCCTTTAGGGTTCCGATTTAGTGCTTTACGGCACCTCGACCCCAAAAAACTTGATTTGGGTGATGGTTCACGTAGTGGGCCATCGCCCTGATAGACGGTTTTTCGCCCTTTGACGTTGGAGTCCACGTTCTTTAATAGTGGACTCTTGTTCCAAACTGGAACAACACTCAACCCTATCTCGGGCTATTCTTTTGATTTATAAGGGATTTTGCCGATTTCGGAACCACCATCAAACAGGATTTTCGCCTGCTGGGGCAAACCAGCGTGGACCGCTTGCTGCAACTCTCTCAGGGCCAGGCGGTGAAGGGCAATCAGCTGTTGCCCGTCTCACTGGTGAAAAGAAAAACCACCCTGGCGCCCAATACGCAAACCGCCTCTCCCCGCGCGTTGGCCGATTCATTAATGCAGCTGGCACGACAGGTTTCCCGACTGGAAAGCGGGCAGTGAGCGCAACGCAATTAATGTGAGTTAGCTCACTCATTAGGCACCCCAGGCTTTACACTTTATGCTTCCGGCTCGTATGTTGTGTGGAATTGTGAGCGGATAACAATTTCACACAGGAAACAGCTATGACCATGATTACGAATTCGAGCTCGGTACCCGGGGATCCTCTAGAGTCGACCTGCAGGCATGCAAGCTTGGCACTGGCCGTCGTTTTACAACGTCGTGACTGGGAAAACCCTGGCGTTACCCAACTTAATCGCCTTGCAGCACATCCCCCTTTCGCCAGCTGGCGTAATAGCGAAGAGGCCCGCACCGATCGCCCTTCCCAACAGTTGCGCAGCCTGAATGGCGAATGGCGCTTTGCCTGGTTTCCGGCACCAGAAGCGGTGCCGGAAAGCTGGCTGGAGTGCGATCTTCCTGAGGCCGATACTGTCGTCGTCCCCTCAAACTGGCAGATGCACGGTTACGATGCGCCCATCTACACCAACGTGACCTATCCCATTACGGTCAATCCGCCGTTTGTTCCCACGGAGAATCCGACGGGTTGTTACTCGCTCACATTTAATGTTGATGAAAGCTGGCTACAGGAAGGCCAGACGCGAATTATTTTTGATGGCGTTCCTATTGGTTAAAAAATGAGCTGATTTAACAAAAATTTAATGCGAATTTTAACAAAATATTAACGTTTACAATTTAAATATTTGCTTATACAATCTTCCTGTTTTTGGGGCTTTTCTGATTATCAACCGGGGTACATATGATTGACATGCTAGTTTTACGATTACCGTTCATCGATTCTCTTGTTTGCTCCAGACTCTCAGGCAATGACCTGATAGCCTTTGTAGATCTCTCAAAAATAGCTACCCTCTCCGGCATTAATTTATCAGCTAGAACGGTTGAATATCATATTGATGGTGATTTGACTGTCTCCGGCCTTTCTCACCCTTTTGAATCTTTACCTACACATTACTCAGGCATTGCATTTAAAATATATGAGGGTTCTAAAAATTTTTATCCTTGCGTTGAAATAAAGGCTTCTCCCGCAAAAGTATTACAGGGTCATAATGTTTTTGGTACAACCGATTTAGCTTTATGCTCTGAGGCTTTATTGCTTAATTTTGCTAATTCTTTGCCTTGCCTGTATGATTTATTGGATGTTAATGCTACTACTATTAGTAGAATTGATGCCACCTTTTCAGCTCGCGCCCCAAATGAAAATATAGCTAAACAGGTTATTGACCATTTGCGAAATGTATCTAATGGTCAAACTAAATCTACTCGTTCGCAGAATTGGGAATCAACTGTTATATGGAATGAAACTTCCAGACACCGTACTTTAGTTGCATATTTAAAACATGTTGAGCTACAGCATTATATTCAGCAATTAAGCTCTAAGCCATCCGCAAAAATGACCTCTTATCAAAAGGAGCAATTAAAGGTACTCTCTAATCCTGACCTGTTGGAGTTTGCTTCCGGTCTGGTTCGCTTTGAAGCTCGAATTAAAACGCGATATTTGAAGTCTTTCGGGCTTCCTCTTAATCTTTTTGATGCAATCCGCTTTGCTTCTGACTATAATAGTCAGGGTAAAGACCTGATTTTTGATTTATGGTCATTCTCGTTTTCTGAACTGTTTAAAGCATTTGAGGGGGATTCAATGAATATTTATGACGATTCCGCAGTATTGGACGCTATCCAGTCTAAACATTTTACTATTACCCCCTCTGGCAAAACTTCTTTTGCAAAAGCCTCTCGCTATTTTGGTTTTTATCGTCGTCTGGTAAACGAGGGTTATGATAGTGTTGCTCTTACTATGCCTCGTAATTCCTTTTGGCGTTATGTATCTGCATTAGTTGAATGTGGTATTCCTAAATCTCAACTGATGAATCTTTCTACCTGTAATAATGTTGTTCCGTTAGTTCGTTTTATTAACGTAGATTTTTCTTCCCAACGTCCTGACTGGTATAATGAGCCAGTTCTTAAAATCGCATAAGGTAATTCACAATGATTAAAGTTGAAATTAAACCATCTCAAGCCCAATTTACTACTCGTTCTGGTGTTTCTCGTCAGGGCAAGCCTTATTCACTGAATGAGCAGCTTTGTTACGTTGATTTGGGTAATGAATATCCGGTTCTTGTCAAGATTACTCTTGATGAAGGTCAGCCAGCCTATGCGCCTGGTCTGTACACCGTTCATCTGTCCTCTTTCAAAGTTGGTCAGTTCGGTTCCCTTATGATTGACCGTCTGCGCCTCGTTCCGGCTAAGTAACATGGAGCAGGTCGCGGATTTCGACACAATTTATCAGGCGATGATACAAATCTCCGTTGTACTTTGTTTCGCGCTTGGTATAATCGCTGGGGGTCAAAGATGAGTGTTTTAGTGTATTCTTTTGCCTCTTTCGTTTTAGGTTGGTGCCTTCGTAGTGGCATTACGTATTTTACCCGTTTAATGGAAACTTCCTCATGAAAAAGTCTTTAGTCCTCAAAGCCTCTGTAGCCGTTGCTACCCTCGTTCCGATGCTGTCTTTCGCTGCTGAGGGTGACGATCCCGCAAAAGCGGCCTTTAACTCCCTGCAAGCCTCAGCGACCGAATATATCGGTTATGCGTGGGCGATGGTTGTTGTCATTGTCGGCGCAACTATCGGTATCAAGCTGTTTAAGAAATTCACCTCGAAAGCAAGCTGATAAACCGATACAATTAAAGGCTCCTTTTGGAGCCTTTTTTTTGGAGATTTTCAACGTGAAAAAATTATTATTCGCAATTCCTTTAGTTGTTCCTTTCTATTCTCACTCCGCTGAAACTGTTGAAAGTTGTTTAGCAAAATCCCATACAGAAAATTCATTTACTAACGTCTGGAAAGACGACAAAACTTTAGATCGTTACGCTAACTATGAGGGCTGTCTGTGGAATGCTACAGGCGTTGTAGTTTGTACTGGTGACGAAACTCAGTGTTACGGTACATGGGTTCCTATTGGGCTTGCTATCCCTGAAAATGAGGGTGGTGGCTCTGAGGGTGGCGGTTCTGAGGGTGGCGGTTCTGAGGGTGGCGGTACTAAACCTCCTGAGTACGGTGATACACCTATTCCGGGCTATACTTATATCAACCCTCTCGACGGCACTTATCCGCCTGGTACTGAGCAAAACCCCGCTAATCCTAATCCTTCTCTTGAGGAGTCTCAGCCTCTTAATACTTTCATGTTTCAGAATAATAGGTTCCGAAATAGGCAGGGGGCATTAACTGTTTATACGGGCACTGTTACTCAAGGCACTGACCCCGTTAAAACTTATTACCAGTACACTCCTGTATCATCAAAAGCCATGTATGACGCTTACTGGAACGGTAAATTCAGAGACTGCGCTTTCCATTCTGGCTTTAATGAGGATTTATTTGTTTGTGAATATCAAGGCCAATCGTCTGACCTGCCTCAACCTCCTGTCAATGCTGGCGGCGGCTCTGGTGGTGGTTCTGGTGGCGGCTCTGAGGGTGGTGGCTCTGAGGGTGGCGGTTCTGAGGGTGGCGGCTCTGAGGGAGGCGGTTCCGGTGGTGGCTCTGGTTCCGGTGATTTTGATTATGAAAAGATGGCAAACGCTAATAAGGGGGCTATGACCGAAAATGCCGATGAAAACGCGCTACAGTCTGACGCTAAAGGCAAACTTGATTCTGTCGCTACTGATTACGGTGCTGCTATCGATGGTTTCATTGGTGACGTTTCCGGCCTTGCTAATGGTAATGGTGCTACTGGTGATTTTGCTGGCTCTAATTCCCAAATGGCTCAAGTCGGTGACGGTGATAATTCACCTTTAATGAATAATTTCCGTCAATATTTACCTTCCCTCCCTCAATCGGTTGAATGTCGCCCTTTTGTCTTTGGCGCTGGTAAACCATATGAATTTTCTATTGATTGTGACAAAATAAACTTATTCCGTGGTGTCTTTGCGTTTCTTTTATATGTTGCCACCTTTATGTATGTATTTTCTACGTTTGCTAACATACTGCGTAATAAGGAGTCTTAATCATGCCAGTTCTTTTGGGTATTCCGTTATTATTGCGTTTCCTCGGTTTCCTTCTGGTAACTTTGTTCGGCTATCTGCTTACTTTTCTTAAAAAGGGCTTCGGTAAGATAGCTATTGCTATTTCATTGTTTCTTGCTCTTATTATTGGGCTTAACTCAATTCTTGTGGGTTATCTCTCTGATATTAGCGCTCAATTACCCTCTGACTTTGTTCAGGGTGTTCAGTTAATTCTCCCGTCTAATGCGCTTCCCTGTTTTTATGTTATTCTCTCTGTAAAGGCTGCTATTTTCATTTTTGACGTTAAACAAAAAATCGTTTCTTATTTGGATTGGGATAAATAATATGGCTGTTTATTTTGTAACTGGCAAATTAGGCTCTGGAAAGACGCTCGTTAGCGTTGGTAAGATTCAGGATAAAATTGTAGCTGGGTGCAAAATAGCAACTAATCTTGATTTAAGGCTTCAAAACCTCCCGCAAGTCGGGAGGTTCGCTAAAACGCCTCGCGTTCTTAGAATACCGGATAAGCCTTCTATATCTGATTTGCTTGCTATTGGGCGCGGTAATGATTCCTACGATGAAAATAAAAACGGCTTGCTTGTTCTCGATGAGTGCGGTACTTGGTTTAATACCCGTTCTTGGAATGATAAGGAAAGACAGCCGATTATTGATTGGTTTCTACATGCTCGTAAATTAGGATGGGATATTATTTTTCTTGTTCAGGACTTATCTATTGTTGATAAACAGGCGCGTTCTGCATTAGCTGAACATGTTGTTTATTGTCGTCGTCTGGACAGAATTACTTTACCTTTTGTCGGTACTTTATATTCTCTTATTACTGGCTCGAAAATGCCTCTGCCTAAATTACATGTTGGCGTTGTTAAATATGGCGATTCTCAATTAAGCCCTACTGTTGAGCGTTGGCTTTATACTGGTAAGAATTTGTATAACGCATATGATACTAAACAGGCTTTTTCTAGTAATTATGATTCCGGTGTTTATTCTTATTTAACGCCTTATTTATCACACGGTCGGTATTTCAAACCATTAAATTTAGGTCAGAAGATGAAATTAACTAAAATATATTTGAAAAAGTTTTCTCGCGTTCTTTGTCTTGCGATTGGATTTGCATCAGCATTTACATATAGTTATATAACCCAACCTAAGCCGGAGGTTAAAAAGGTAGTCTCTCAGACCTATGATTTTGATAAATTCACTATTGACTCTTCTCAGCGTCTTAATCTAAGCTATCGCTATGTTTTCAAGGATTCTAAGGGAAAATTAATTAATAGCGACGATTTACAGAAGCAAGGTTATTCACTCACATATATTGATTTATGTACTGTTTCCATTAAAAAAGGTAATTCAAATGAAATTGTTAAATGTAATTAATTTTGTTTTCTTGATGTTTGTTTCATCATCTTCTTTTGCTCAGGTAATTGAAATGAATAATTCGCCTCTGCGCGATTTTGTAACTTGGTATTCAAAGCAATCAGGCGAATCCGTTATTGTTTCTCCCGATGTAAAAGGTACTGTTACTGTATATTCATCTGACGTTAAACCTGAAAATCTACGCAATTTCTTTATTTCTGTTTTACGTGCAAATAATTTTGATATGGTAGGTTCTAACCCTTCCATTATTCAGAAGTATAATCCAAACAATCAGGATTATATTGATGAATTGCCATCATCTGATAATCAGGAATATGATGATAATTCCGCTCCTTCTGGTGGTTTCTTTGTTCCGCAAAATGATAATGTTACTCAAACTTTTAAAATTAATAACGTTCGGGCAAAGGATTTAATACGAGTTGTCGAATTGTTTGTAAAGTCTAATACTTCTAAATCCTCAAATGTATTATCTATTGACGGCTCTAATCTATTAGTTGTTAGTGCTCCTAAAGATATTTTAGATAACCTTCCTCAATTCCTTTCAACTGTTGATTTGCCAACTGACCAGATATTGATTGAGGGTTTGATATTTGAGGTTCAGCAAGGTGATGCTTTAGATTTTTCATTTGCTGCTGGCTCTCAGCGTGGCACTGTTGCAGGCGGTGTTAATACTGACCGCCTCACCTCTGTTTTATCTTCTGCTGGTGGTTCGTTCGGTATTTTTAATGGCGATGTTTTAGGGCTATCAGTTCGCGCATTAAAGACTAATAGCCATTCAAAAATATTGTCTGTGCCACGTATTCTTACGCTTTCAGGTCAGAAGGGTTCTATCTCTGTTGGCCAGAATGTCCCTTTTATTACTGGTCGTGTGACTGGTGAATCTGCCAATGTAAATAATCCATTTCAGACGATTGAGCGTCAAAATGTAGGTATTTCCATGAGCGTTTTTCCTGTTGCAATGGCTGGCGGTAATATTGTTCTGGATATTACCAGCAAGGCCGATAGTTTGAGTTCTTCTACTCAGGCAAGTGATGTTATTACTAATCAAAGAAGTATTGCTACAACGGTTAATTTGCGTGATGGACAGACTCTTTTACTCGGTGGCCTCACTGATTATAAAAACACTTCTCAGGATTCTGGCGTACCGTTCCTGTCTAAAATCCCTTTAATCGGCCTCCTGTTTAGCTCCCGCTCTGATTCTAACGAGGAAAGCACGTTATACGTGCTCGTCAAAGCAACCATAGTACGCGCCCTGTAGCGGCGCATTAAGCGCGGCGGGTGTGGTGGTTACGCGCAGCGTGACCGCTACACTTGCCAGCGCCCTAGCGCCCGCTCCTTTCGCTTTC" diff --git a/v0.19.4/m13.txt b/v0.19.4/m13.txt new file mode 100644 index 000000000..74fcd8cc4 --- /dev/null +++ b/v0.19.4/m13.txt @@ -0,0 +1 @@ +TTCCCTTCCTTTCTCGCCACGTTCGCCGGCTTTCCCCGTCAAGCTCTAAATCGGGGGCTCCCTTTAGGGTTCCGATTTAGTGCTTTACGGCACCTCGACCCCAAAAAACTTGATTTGGGTGATGGTTCACGTAGTGGGCCATCGCCCTGATAGACGGTTTTTCGCCCTTTGACGTTGGAGTCCACGTTCTTTAATAGTGGACTCTTGTTCCAAACTGGAACAACACTCAACCCTATCTCGGGCTATTCTTTTGATTTATAAGGGATTTTGCCGATTTCGGAACCACCATCAAACAGGATTTTCGCCTGCTGGGGCAAACCAGCGTGGACCGCTTGCTGCAACTCTCTCAGGGCCAGGCGGTGAAGGGCAATCAGCTGTTGCCCGTCTCACTGGTGAAAAGAAAAACCACCCTGGCGCCCAATACGCAAACCGCCTCTCCCCGCGCGTTGGCCGATTCATTAATGCAGCTGGCACGACAGGTTTCCCGACTGGAAAGCGGGCAGTGAGCGCAACGCAATTAATGTGAGTTAGCTCACTCATTAGGCACCCCAGGCTTTACACTTTATGCTTCCGGCTCGTATGTTGTGTGGAATTGTGAGCGGATAACAATTTCACACAGGAAACAGCTATGACCATGATTACGAATTCGAGCTCGGTACCCGGGGATCCTCTAGAGTCGACCTGCAGGCATGCAAGCTTGGCACTGGCCGTCGTTTTACAACGTCGTGACTGGGAAAACCCTGGCGTTACCCAACTTAATCGCCTTGCAGCACATCCCCCTTTCGCCAGCTGGCGTAATAGCGAAGAGGCCCGCACCGATCGCCCTTCCCAACAGTTGCGCAGCCTGAATGGCGAATGGCGCTTTGCCTGGTTTCCGGCACCAGAAGCGGTGCCGGAAAGCTGGCTGGAGTGCGATCTTCCTGAGGCCGATACTGTCGTCGTCCCCTCAAACTGGCAGATGCACGGTTACGATGCGCCCATCTACACCAACGTGACCTATCCCATTACGGTCAATCCGCCGTTTGTTCCCACGGAGAATCCGACGGGTTGTTACTCGCTCACATTTAATGTTGATGAAAGCTGGCTACAGGAAGGCCAGACGCGAATTATTTTTGATGGCGTTCCTATTGGTTAAAAAATGAGCTGATTTAACAAAAATTTAATGCGAATTTTAACAAAATATTAACGTTTACAATTTAAATATTTGCTTATACAATCTTCCTGTTTTTGGGGCTTTTCTGATTATCAACCGGGGTACATATGATTGACATGCTAGTTTTACGATTACCGTTCATCGATTCTCTTGTTTGCTCCAGACTCTCAGGCAATGACCTGATAGCCTTTGTAGATCTCTCAAAAATAGCTACCCTCTCCGGCATTAATTTATCAGCTAGAACGGTTGAATATCATATTGATGGTGATTTGACTGTCTCCGGCCTTTCTCACCCTTTTGAATCTTTACCTACACATTACTCAGGCATTGCATTTAAAATATATGAGGGTTCTAAAAATTTTTATCCTTGCGTTGAAATAAAGGCTTCTCCCGCAAAAGTATTACAGGGTCATAATGTTTTTGGTACAACCGATTTAGCTTTATGCTCTGAGGCTTTATTGCTTAATTTTGCTAATTCTTTGCCTTGCCTGTATGATTTATTGGATGTTAATGCTACTACTATTAGTAGAATTGATGCCACCTTTTCAGCTCGCGCCCCAAATGAAAATATAGCTAAACAGGTTATTGACCATTTGCGAAATGTATCTAATGGTCAAACTAAATCTACTCGTTCGCAGAATTGGGAATCAACTGTTATATGGAATGAAACTTCCAGACACCGTACTTTAGTTGCATATTTAAAACATGTTGAGCTACAGCATTATATTCAGCAATTAAGCTCTAAGCCATCCGCAAAAATGACCTCTTATCAAAAGGAGCAATTAAAGGTACTCTCTAATCCTGACCTGTTGGAGTTTGCTTCCGGTCTGGTTCGCTTTGAAGCTCGAATTAAAACGCGATATTTGAAGTCTTTCGGGCTTCCTCTTAATCTTTTTGATGCAATCCGCTTTGCTTCTGACTATAATAGTCAGGGTAAAGACCTGATTTTTGATTTATGGTCATTCTCGTTTTCTGAACTGTTTAAAGCATTTGAGGGGGATTCAATGAATATTTATGACGATTCCGCAGTATTGGACGCTATCCAGTCTAAACATTTTACTATTACCCCCTCTGGCAAAACTTCTTTTGCAAAAGCCTCTCGCTATTTTGGTTTTTATCGTCGTCTGGTAAACGAGGGTTATGATAGTGTTGCTCTTACTATGCCTCGTAATTCCTTTTGGCGTTATGTATCTGCATTAGTTGAATGTGGTATTCCTAAATCTCAACTGATGAATCTTTCTACCTGTAATAATGTTGTTCCGTTAGTTCGTTTTATTAACGTAGATTTTTCTTCCCAACGTCCTGACTGGTATAATGAGCCAGTTCTTAAAATCGCATAAGGTAATTCACAATGATTAAAGTTGAAATTAAACCATCTCAAGCCCAATTTACTACTCGTTCTGGTGTTTCTCGTCAGGGCAAGCCTTATTCACTGAATGAGCAGCTTTGTTACGTTGATTTGGGTAATGAATATCCGGTTCTTGTCAAGATTACTCTTGATGAAGGTCAGCCAGCCTATGCGCCTGGTCTGTACACCGTTCATCTGTCCTCTTTCAAAGTTGGTCAGTTCGGTTCCCTTATGATTGACCGTCTGCGCCTCGTTCCGGCTAAGTAACATGGAGCAGGTCGCGGATTTCGACACAATTTATCAGGCGATGATACAAATCTCCGTTGTACTTTGTTTCGCGCTTGGTATAATCGCTGGGGGTCAAAGATGAGTGTTTTAGTGTATTCTTTTGCCTCTTTCGTTTTAGGTTGGTGCCTTCGTAGTGGCATTACGTATTTTACCCGTTTAATGGAAACTTCCTCATGAAAAAGTCTTTAGTCCTCAAAGCCTCTGTAGCCGTTGCTACCCTCGTTCCGATGCTGTCTTTCGCTGCTGAGGGTGACGATCCCGCAAAAGCGGCCTTTAACTCCCTGCAAGCCTCAGCGACCGAATATATCGGTTATGCGTGGGCGATGGTTGTTGTCATTGTCGGCGCAACTATCGGTATCAAGCTGTTTAAGAAATTCACCTCGAAAGCAAGCTGATAAACCGATACAATTAAAGGCTCCTTTTGGAGCCTTTTTTTTGGAGATTTTCAACGTGAAAAAATTATTATTCGCAATTCCTTTAGTTGTTCCTTTCTATTCTCACTCCGCTGAAACTGTTGAAAGTTGTTTAGCAAAATCCCATACAGAAAATTCATTTACTAACGTCTGGAAAGACGACAAAACTTTAGATCGTTACGCTAACTATGAGGGCTGTCTGTGGAATGCTACAGGCGTTGTAGTTTGTACTGGTGACGAAACTCAGTGTTACGGTACATGGGTTCCTATTGGGCTTGCTATCCCTGAAAATGAGGGTGGTGGCTCTGAGGGTGGCGGTTCTGAGGGTGGCGGTTCTGAGGGTGGCGGTACTAAACCTCCTGAGTACGGTGATACACCTATTCCGGGCTATACTTATATCAACCCTCTCGACGGCACTTATCCGCCTGGTACTGAGCAAAACCCCGCTAATCCTAATCCTTCTCTTGAGGAGTCTCAGCCTCTTAATACTTTCATGTTTCAGAATAATAGGTTCCGAAATAGGCAGGGGGCATTAACTGTTTATACGGGCACTGTTACTCAAGGCACTGACCCCGTTAAAACTTATTACCAGTACACTCCTGTATCATCAAAAGCCATGTATGACGCTTACTGGAACGGTAAATTCAGAGACTGCGCTTTCCATTCTGGCTTTAATGAGGATTTATTTGTTTGTGAATATCAAGGCCAATCGTCTGACCTGCCTCAACCTCCTGTCAATGCTGGCGGCGGCTCTGGTGGTGGTTCTGGTGGCGGCTCTGAGGGTGGTGGCTCTGAGGGTGGCGGTTCTGAGGGTGGCGGCTCTGAGGGAGGCGGTTCCGGTGGTGGCTCTGGTTCCGGTGATTTTGATTATGAAAAGATGGCAAACGCTAATAAGGGGGCTATGACCGAAAATGCCGATGAAAACGCGCTACAGTCTGACGCTAAAGGCAAACTTGATTCTGTCGCTACTGATTACGGTGCTGCTATCGATGGTTTCATTGGTGACGTTTCCGGCCTTGCTAATGGTAATGGTGCTACTGGTGATTTTGCTGGCTCTAATTCCCAAATGGCTCAAGTCGGTGACGGTGATAATTCACCTTTAATGAATAATTTCCGTCAATATTTACCTTCCCTCCCTCAATCGGTTGAATGTCGCCCTTTTGTCTTTGGCGCTGGTAAACCATATGAATTTTCTATTGATTGTGACAAAATAAACTTATTCCGTGGTGTCTTTGCGTTTCTTTTATATGTTGCCACCTTTATGTATGTATTTTCTACGTTTGCTAACATACTGCGTAATAAGGAGTCTTAATCATGCCAGTTCTTTTGGGTATTCCGTTATTATTGCGTTTCCTCGGTTTCCTTCTGGTAACTTTGTTCGGCTATCTGCTTACTTTTCTTAAAAAGGGCTTCGGTAAGATAGCTATTGCTATTTCATTGTTTCTTGCTCTTATTATTGGGCTTAACTCAATTCTTGTGGGTTATCTCTCTGATATTAGCGCTCAATTACCCTCTGACTTTGTTCAGGGTGTTCAGTTAATTCTCCCGTCTAATGCGCTTCCCTGTTTTTATGTTATTCTCTCTGTAAAGGCTGCTATTTTCATTTTTGACGTTAAACAAAAAATCGTTTCTTATTTGGATTGGGATAAATAATATGGCTGTTTATTTTGTAACTGGCAAATTAGGCTCTGGAAAGACGCTCGTTAGCGTTGGTAAGATTCAGGATAAAATTGTAGCTGGGTGCAAAATAGCAACTAATCTTGATTTAAGGCTTCAAAACCTCCCGCAAGTCGGGAGGTTCGCTAAAACGCCTCGCGTTCTTAGAATACCGGATAAGCCTTCTATATCTGATTTGCTTGCTATTGGGCGCGGTAATGATTCCTACGATGAAAATAAAAACGGCTTGCTTGTTCTCGATGAGTGCGGTACTTGGTTTAATACCCGTTCTTGGAATGATAAGGAAAGACAGCCGATTATTGATTGGTTTCTACATGCTCGTAAATTAGGATGGGATATTATTTTTCTTGTTCAGGACTTATCTATTGTTGATAAACAGGCGCGTTCTGCATTAGCTGAACATGTTGTTTATTGTCGTCGTCTGGACAGAATTACTTTACCTTTTGTCGGTACTTTATATTCTCTTATTACTGGCTCGAAAATGCCTCTGCCTAAATTACATGTTGGCGTTGTTAAATATGGCGATTCTCAATTAAGCCCTACTGTTGAGCGTTGGCTTTATACTGGTAAGAATTTGTATAACGCATATGATACTAAACAGGCTTTTTCTAGTAATTATGATTCCGGTGTTTATTCTTATTTAACGCCTTATTTATCACACGGTCGGTATTTCAAACCATTAAATTTAGGTCAGAAGATGAAATTAACTAAAATATATTTGAAAAAGTTTTCTCGCGTTCTTTGTCTTGCGATTGGATTTGCATCAGCATTTACATATAGTTATATAACCCAACCTAAGCCGGAGGTTAAAAAGGTAGTCTCTCAGACCTATGATTTTGATAAATTCACTATTGACTCTTCTCAGCGTCTTAATCTAAGCTATCGCTATGTTTTCAAGGATTCTAAGGGAAAATTAATTAATAGCGACGATTTACAGAAGCAAGGTTATTCACTCACATATATTGATTTATGTACTGTTTCCATTAAAAAAGGTAATTCAAATGAAATTGTTAAATGTAATTAATTTTGTTTTCTTGATGTTTGTTTCATCATCTTCTTTTGCTCAGGTAATTGAAATGAATAATTCGCCTCTGCGCGATTTTGTAACTTGGTATTCAAAGCAATCAGGCGAATCCGTTATTGTTTCTCCCGATGTAAAAGGTACTGTTACTGTATATTCATCTGACGTTAAACCTGAAAATCTACGCAATTTCTTTATTTCTGTTTTACGTGCAAATAATTTTGATATGGTAGGTTCTAACCCTTCCATTATTCAGAAGTATAATCCAAACAATCAGGATTATATTGATGAATTGCCATCATCTGATAATCAGGAATATGATGATAATTCCGCTCCTTCTGGTGGTTTCTTTGTTCCGCAAAATGATAATGTTACTCAAACTTTTAAAATTAATAACGTTCGGGCAAAGGATTTAATACGAGTTGTCGAATTGTTTGTAAAGTCTAATACTTCTAAATCCTCAAATGTATTATCTATTGACGGCTCTAATCTATTAGTTGTTAGTGCTCCTAAAGATATTTTAGATAACCTTCCTCAATTCCTTTCAACTGTTGATTTGCCAACTGACCAGATATTGATTGAGGGTTTGATATTTGAGGTTCAGCAAGGTGATGCTTTAGATTTTTCATTTGCTGCTGGCTCTCAGCGTGGCACTGTTGCAGGCGGTGTTAATACTGACCGCCTCACCTCTGTTTTATCTTCTGCTGGTGGTTCGTTCGGTATTTTTAATGGCGATGTTTTAGGGCTATCAGTTCGCGCATTAAAGACTAATAGCCATTCAAAAATATTGTCTGTGCCACGTATTCTTACGCTTTCAGGTCAGAAGGGTTCTATCTCTGTTGGCCAGAATGTCCCTTTTATTACTGGTCGTGTGACTGGTGAATCTGCCAATGTAAATAATCCATTTCAGACGATTGAGCGTCAAAATGTAGGTATTTCCATGAGCGTTTTTCCTGTTGCAATGGCTGGCGGTAATATTGTTCTGGATATTACCAGCAAGGCCGATAGTTTGAGTTCTTCTACTCAGGCAAGTGATGTTATTACTAATCAAAGAAGTATTGCTACAACGGTTAATTTGCGTGATGGACAGACTCTTTTACTCGGTGGCCTCACTGATTATAAAAACACTTCTCAGGATTCTGGCGTACCGTTCCTGTCTAAAATCCCTTTAATCGGCCTCCTGTTTAGCTCCCGCTCTGATTCTAACGAGGAAAGCACGTTATACGTGCTCGTCAAAGCAACCATAGTACGCGCCCTGTAGCGGCGCATTAAGCGCGGCGGGTGTGGTGGTTACGCGCAGCGTGACCGCTACACTTGCCAGCGCCCTAGCGCCCGCTCCTTTCGCTTTC \ No newline at end of file diff --git a/v0.19.4/main.dart.js b/v0.19.4/main.dart.js new file mode 100644 index 000000000..823d50a83 --- /dev/null +++ b/v0.19.4/main.dart.js @@ -0,0 +1,162514 @@ +// Generated by dart2js (fast startup emitter, strong), the Dart to JavaScript compiler version: 2.13.4. +// The code supports the following hooks: +// dartPrint(message): +// if this function is defined it is called instead of the Dart [print] +// method. +// +// dartMainRunner(main, args): +// if this function is defined, the Dart [main] method will not be invoked +// directly. Instead, a closure that will invoke [main], and its arguments +// [args] is passed to [dartMainRunner]. +// +// dartDeferredLibraryLoader(uri, successCallback, errorCallback): +// if this function is defined, it will be called when a deferred library +// is loaded. It should load and eval the javascript of `uri`, and call +// successCallback. If it fails to do so, it should call errorCallback with +// an error. +// +// dartCallInstrumentation(id, qualifiedName): +// if this function is defined, it will be called at each entry of a +// method or constructor. Used only when compiling programs with +// --experiment-call-instrumentation. +(function dartProgram() { + function copyProperties(from, to) { + var keys = Object.keys(from); + for (var i = 0; i < keys.length; i++) { + var key = keys[i]; + to[key] = from[key]; + } + } + function mixinProperties(from, to) { + var keys = Object.keys(from); + for (var i = 0; i < keys.length; i++) { + var key = keys[i]; + if (!to.hasOwnProperty(key)) + to[key] = from[key]; + } + } + var supportsDirectProtoAccess = function() { + var cls = function() { + }; + cls.prototype = {p: {}}; + var object = new cls(); + if (!(object.__proto__ && object.__proto__.p === cls.prototype.p)) + return false; + try { + if (typeof navigator != "undefined" && typeof navigator.userAgent == "string" && navigator.userAgent.indexOf("Chrome/") >= 0) + return true; + if (typeof version == "function" && version.length == 0) { + var v = version(); + if (/^\d+\.\d+\.\d+\.\d+$/.test(v)) + return true; + } + } catch (_) { + } + return false; + }(); + function setFunctionNamesIfNecessary(holders) { + function t() { + } + ; + if (typeof t.name == "string") + return; + for (var i = 0; i < holders.length; i++) { + var holder = holders[i]; + var keys = Object.keys(holder); + for (var j = 0; j < keys.length; j++) { + var key = keys[j]; + var f = holder[key]; + if (typeof f == "function") + f.name = key; + } + } + } + function inherit(cls, sup) { + cls.prototype.constructor = cls; + cls.prototype["$is" + cls.name] = cls; + if (sup != null) { + if (supportsDirectProtoAccess) { + cls.prototype.__proto__ = sup.prototype; + return; + } + var clsPrototype = Object.create(sup.prototype); + copyProperties(cls.prototype, clsPrototype); + cls.prototype = clsPrototype; + } + } + function inheritMany(sup, classes) { + for (var i = 0; i < classes.length; i++) + inherit(classes[i], sup); + } + function mixin(cls, mixin) { + mixinProperties(mixin.prototype, cls.prototype); + cls.prototype.constructor = cls; + } + function lazyOld(holder, name, getterName, initializer) { + var uninitializedSentinel = holder; + holder[name] = uninitializedSentinel; + holder[getterName] = function() { + holder[getterName] = function() { + H.throwCyclicInit(name); + }; + var result; + var sentinelInProgress = initializer; + try { + if (holder[name] === uninitializedSentinel) { + result = holder[name] = sentinelInProgress; + result = holder[name] = initializer(); + } else + result = holder[name]; + } finally { + if (result === sentinelInProgress) + holder[name] = null; + holder[getterName] = function() { + return this[name]; + }; + } + return result; + }; + } + function lazy(holder, name, getterName, initializer) { + var uninitializedSentinel = holder; + holder[name] = uninitializedSentinel; + holder[getterName] = function() { + if (holder[name] === uninitializedSentinel) + holder[name] = initializer(); + holder[getterName] = function() { + return this[name]; + }; + return holder[name]; + }; + } + function lazyFinal(holder, name, getterName, initializer) { + var uninitializedSentinel = holder; + holder[name] = uninitializedSentinel; + holder[getterName] = function() { + if (holder[name] === uninitializedSentinel) { + var value = initializer(); + if (holder[name] !== uninitializedSentinel) + H.throwLateInitializationError(name); + holder[name] = value; + } + holder[getterName] = function() { + return this[name]; + }; + return holder[name]; + }; + } + function makeConstList(list) { + list.immutable$list = Array; + list.fixed$length = Array; + return list; + } + function convertToFastObject(properties) { + function t() { + } + t.prototype = properties; + new t(); + return properties; + } + function convertAllToFastObject(arrayOfObjects) { + for (var i = 0; i < arrayOfObjects.length; ++i) + convertToFastObject(arrayOfObjects[i]); + } + var functionCounter = 0; + function tearOffGetter(funcs, applyTrampolineIndex, reflectionInfo, name, isIntercepted) { + return isIntercepted ? new Function("funcs", "applyTrampolineIndex", "reflectionInfo", "name", "H", "c", "return function tearOff_" + name + functionCounter++ + "(receiver) {" + "if (c === null) c = " + "H.closureFromTearOff" + "(" + "this, funcs, applyTrampolineIndex, reflectionInfo, false, true, name);" + "return new c(this, funcs[0], receiver, name);" + "}")(funcs, applyTrampolineIndex, reflectionInfo, name, H, null) : new Function("funcs", "applyTrampolineIndex", "reflectionInfo", "name", "H", "c", "return function tearOff_" + name + functionCounter++ + "() {" + "if (c === null) c = " + "H.closureFromTearOff" + "(" + "this, funcs, applyTrampolineIndex, reflectionInfo, false, false, name);" + "return new c(this, funcs[0], null, name);" + "}")(funcs, applyTrampolineIndex, reflectionInfo, name, H, null); + } + function tearOff(funcs, applyTrampolineIndex, reflectionInfo, isStatic, name, isIntercepted) { + var cache = null; + return isStatic ? function() { + if (cache === null) + cache = H.closureFromTearOff(this, funcs, applyTrampolineIndex, reflectionInfo, true, false, name).prototype; + return cache; + } : tearOffGetter(funcs, applyTrampolineIndex, reflectionInfo, name, isIntercepted); + } + var typesOffset = 0; + function installTearOff(container, getterName, isStatic, isIntercepted, requiredParameterCount, optionalParameterDefaultValues, callNames, funsOrNames, funType, applyIndex) { + var funs = []; + for (var i = 0; i < funsOrNames.length; i++) { + var fun = funsOrNames[i]; + if (typeof fun == "string") + fun = container[fun]; + fun.$callName = callNames[i]; + funs.push(fun); + } + var fun = funs[0]; + fun.$requiredArgCount = requiredParameterCount; + fun.$defaultValues = optionalParameterDefaultValues; + var reflectionInfo = funType; + if (typeof reflectionInfo == "number") + reflectionInfo += typesOffset; + var name = funsOrNames[0]; + fun.$stubName = name; + var getterFunction = tearOff(funs, applyIndex || 0, reflectionInfo, isStatic, name, isIntercepted); + container[getterName] = getterFunction; + if (isStatic) + fun.$tearOff = getterFunction; + } + function installStaticTearOff(container, getterName, requiredParameterCount, optionalParameterDefaultValues, callNames, funsOrNames, funType, applyIndex) { + return installTearOff(container, getterName, true, false, requiredParameterCount, optionalParameterDefaultValues, callNames, funsOrNames, funType, applyIndex); + } + function installInstanceTearOff(container, getterName, isIntercepted, requiredParameterCount, optionalParameterDefaultValues, callNames, funsOrNames, funType, applyIndex) { + return installTearOff(container, getterName, false, isIntercepted, requiredParameterCount, optionalParameterDefaultValues, callNames, funsOrNames, funType, applyIndex); + } + function setOrUpdateInterceptorsByTag(newTags) { + var tags = init.interceptorsByTag; + if (!tags) { + init.interceptorsByTag = newTags; + return; + } + copyProperties(newTags, tags); + } + function setOrUpdateLeafTags(newTags) { + var tags = init.leafTags; + if (!tags) { + init.leafTags = newTags; + return; + } + copyProperties(newTags, tags); + } + function updateTypes(newTypes) { + var types = init.types; + var length = types.length; + types.push.apply(types, newTypes); + return length; + } + function updateHolder(holder, newHolder) { + copyProperties(newHolder, holder); + return holder; + } + var hunkHelpers = function() { + var mkInstance = function(isIntercepted, requiredParameterCount, optionalParameterDefaultValues, callNames, applyIndex) { + return function(container, getterName, name, funType) { + return installInstanceTearOff(container, getterName, isIntercepted, requiredParameterCount, optionalParameterDefaultValues, callNames, [name], funType, applyIndex); + }; + }, + mkStatic = function(requiredParameterCount, optionalParameterDefaultValues, callNames, applyIndex) { + return function(container, getterName, name, funType) { + return installStaticTearOff(container, getterName, requiredParameterCount, optionalParameterDefaultValues, callNames, [name], funType, applyIndex); + }; + }; + return {inherit: inherit, inheritMany: inheritMany, mixin: mixin, installStaticTearOff: installStaticTearOff, installInstanceTearOff: installInstanceTearOff, _instance_0u: mkInstance(0, 0, null, ["call$0"], 0), _instance_1u: mkInstance(0, 1, null, ["call$1"], 0), _instance_2u: mkInstance(0, 2, null, ["call$2"], 0), _instance_0i: mkInstance(1, 0, null, ["call$0"], 0), _instance_1i: mkInstance(1, 1, null, ["call$1"], 0), _instance_2i: mkInstance(1, 2, null, ["call$2"], 0), _static_0: mkStatic(0, null, ["call$0"], 0), _static_1: mkStatic(1, null, ["call$1"], 0), _static_2: mkStatic(2, null, ["call$2"], 0), makeConstList: makeConstList, lazy: lazy, lazyFinal: lazyFinal, lazyOld: lazyOld, updateHolder: updateHolder, convertToFastObject: convertToFastObject, setFunctionNamesIfNecessary: setFunctionNamesIfNecessary, updateTypes: updateTypes, setOrUpdateInterceptorsByTag: setOrUpdateInterceptorsByTag, setOrUpdateLeafTags: setOrUpdateLeafTags}; + }(); + function initializeDeferredHunk(hunk) { + typesOffset = init.types.length; + hunk(hunkHelpers, init, holders, $); + } + function getGlobalFromName(name) { + for (var i = 0; i < holders.length; i++) { + if (holders[i] == C) + continue; + if (holders[i][name]) + return holders[i][name]; + } + } + var C = {}, + H = {JS_CONST: function JS_CONST() { + }, + CastIterable_CastIterable: function(source, $S, $T) { + if ($S._eval$1("EfficientLengthIterable<0>")._is(source)) + return new H._EfficientLengthCastIterable(source, $S._eval$1("@<0>")._bind$1($T)._eval$1("_EfficientLengthCastIterable<1,2>")); + return new H.CastIterable(source, $S._eval$1("@<0>")._bind$1($T)._eval$1("CastIterable<1,2>")); + }, + LateError$fieldADI: function(fieldName) { + return new H.LateError("Field '" + fieldName + "' has been assigned during initialization."); + }, + LateError$fieldNI: function(fieldName) { + return new H.LateError("Field '" + fieldName + "' has not been initialized."); + }, + LateError$localNI: function(localName) { + return new H.LateError("Local '" + localName + "' has not been initialized."); + }, + LateError$fieldAI: function(fieldName) { + return new H.LateError("Field '" + fieldName + "' has already been initialized."); + }, + ReachabilityError$: function(_message) { + return new H.ReachabilityError(_message); + }, + hexDigitValue: function(char) { + var letter, + digit = char ^ 48; + if (digit <= 9) + return digit; + letter = char | 32; + if (97 <= letter && letter <= 102) + return letter - 87; + return -1; + }, + SystemHash_combine: function(hash, value) { + hash = hash + value & 536870911; + hash = hash + ((hash & 524287) << 10) & 536870911; + return hash ^ hash >>> 6; + }, + SystemHash_finish: function(hash) { + hash = hash + ((hash & 67108863) << 3) & 536870911; + hash ^= hash >>> 11; + return hash + ((hash & 16383) << 15) & 536870911; + }, + SystemHash_hash2: function(v1, v2) { + return H.SystemHash_finish(H.SystemHash_combine(H.SystemHash_combine(0, v1), v2)); + }, + checkNotNullable: function(value, $name, $T) { + if (value == null) + throw H.wrapException(new H.NotNullableError($name, $T._eval$1("NotNullableError<0>"))); + return value; + }, + SubListIterable$: function(_iterable, _start, _endOrLength, $E) { + P.RangeError_checkNotNegative(_start, "start"); + if (_endOrLength != null) { + P.RangeError_checkNotNegative(_endOrLength, "end"); + if (typeof _start !== "number") + return _start.$gt(); + if (_start > _endOrLength) + H.throwExpression(P.RangeError$range(_start, 0, _endOrLength, "start", null)); + } + return new H.SubListIterable(_iterable, _start, _endOrLength, $E._eval$1("SubListIterable<0>")); + }, + MappedIterable_MappedIterable: function(iterable, $function, $S, $T) { + if (type$.EfficientLengthIterable_dynamic._is(iterable)) + return new H.EfficientLengthMappedIterable(iterable, $function, $S._eval$1("@<0>")._bind$1($T)._eval$1("EfficientLengthMappedIterable<1,2>")); + return new H.MappedIterable(iterable, $function, $S._eval$1("@<0>")._bind$1($T)._eval$1("MappedIterable<1,2>")); + }, + TakeIterable_TakeIterable: function(iterable, takeCount, $E) { + P.RangeError_checkNotNegative(takeCount, "takeCount"); + if (type$.EfficientLengthIterable_dynamic._is(iterable)) + return new H.EfficientLengthTakeIterable(iterable, takeCount, $E._eval$1("EfficientLengthTakeIterable<0>")); + return new H.TakeIterable(iterable, takeCount, $E._eval$1("TakeIterable<0>")); + }, + SkipIterable_SkipIterable: function(iterable, count, $E) { + var _s5_ = "count"; + if (type$.EfficientLengthIterable_dynamic._is(iterable)) { + if (count == null) + H.throwExpression(P.ArgumentError$notNull(_s5_)); + P.RangeError_checkNotNegative(count, _s5_); + return new H.EfficientLengthSkipIterable(iterable, count, $E._eval$1("EfficientLengthSkipIterable<0>")); + } + if (count == null) + H.throwExpression(P.ArgumentError$notNull(_s5_)); + P.RangeError_checkNotNegative(count, _s5_); + return new H.SkipIterable(iterable, count, $E._eval$1("SkipIterable<0>")); + }, + IterableElementError_noElement: function() { + return new P.StateError("No element"); + }, + IterableElementError_tooMany: function() { + return new P.StateError("Too many elements"); + }, + IterableElementError_tooFew: function() { + return new P.StateError("Too few elements"); + }, + Sort_sort: function(a, compare, $E) { + var t1 = J.get$length$asx(a); + if (typeof t1 !== "number") + return t1.$sub(); + H.Sort__doSort(a, 0, t1 - 1, compare, $E); + }, + Sort__doSort: function(a, left, right, compare, $E) { + if (right - left <= 32) + H.Sort__insertionSort(a, left, right, compare, $E); + else + H.Sort__dualPivotQuicksort(a, left, right, compare, $E); + }, + Sort__insertionSort: function(a, left, right, compare, $E) { + var i, t1, el, j, t2, j0; + for (i = left + 1, t1 = J.getInterceptor$asx(a); i <= right; ++i) { + el = t1.$index(a, i); + j = i; + while (true) { + if (j > left) { + t2 = compare.call$2(t1.$index(a, j - 1), el); + if (typeof t2 !== "number") + return t2.$gt(); + t2 = t2 > 0; + } else + t2 = false; + if (!t2) + break; + j0 = j - 1; + t1.$indexSet(a, j, t1.$index(a, j0)); + j = j0; + } + t1.$indexSet(a, j, el); + } + }, + Sort__dualPivotQuicksort: function(a, left, right, compare, $E) { + var t0, less, great, k, ak, comp, great0, less0, pivots_are_equal, comp_pivot1, comp_pivot2, + sixth = C.JSInt_methods._tdivFast$1(right - left + 1, 6), + index1 = left + sixth, + index5 = right - sixth, + index3 = C.JSInt_methods._tdivFast$1(left + right, 2), + index2 = index3 - sixth, + index4 = index3 + sixth, + t1 = J.getInterceptor$asx(a), + el1 = t1.$index(a, index1), + el2 = t1.$index(a, index2), + el3 = t1.$index(a, index3), + el4 = t1.$index(a, index4), + el5 = t1.$index(a, index5), + t2 = compare.call$2(el1, el2); + if (typeof t2 !== "number") + return t2.$gt(); + if (t2 > 0) { + t0 = el2; + el2 = el1; + el1 = t0; + } + t2 = compare.call$2(el4, el5); + if (typeof t2 !== "number") + return t2.$gt(); + if (t2 > 0) { + t0 = el5; + el5 = el4; + el4 = t0; + } + t2 = compare.call$2(el1, el3); + if (typeof t2 !== "number") + return t2.$gt(); + if (t2 > 0) { + t0 = el3; + el3 = el1; + el1 = t0; + } + t2 = compare.call$2(el2, el3); + if (typeof t2 !== "number") + return t2.$gt(); + if (t2 > 0) { + t0 = el3; + el3 = el2; + el2 = t0; + } + t2 = compare.call$2(el1, el4); + if (typeof t2 !== "number") + return t2.$gt(); + if (t2 > 0) { + t0 = el4; + el4 = el1; + el1 = t0; + } + t2 = compare.call$2(el3, el4); + if (typeof t2 !== "number") + return t2.$gt(); + if (t2 > 0) { + t0 = el4; + el4 = el3; + el3 = t0; + } + t2 = compare.call$2(el2, el5); + if (typeof t2 !== "number") + return t2.$gt(); + if (t2 > 0) { + t0 = el5; + el5 = el2; + el2 = t0; + } + t2 = compare.call$2(el2, el3); + if (typeof t2 !== "number") + return t2.$gt(); + if (t2 > 0) { + t0 = el3; + el3 = el2; + el2 = t0; + } + t2 = compare.call$2(el4, el5); + if (typeof t2 !== "number") + return t2.$gt(); + if (t2 > 0) { + t0 = el5; + el5 = el4; + el4 = t0; + } + t1.$indexSet(a, index1, el1); + t1.$indexSet(a, index3, el3); + t1.$indexSet(a, index5, el5); + t1.$indexSet(a, index2, t1.$index(a, left)); + t1.$indexSet(a, index4, t1.$index(a, right)); + less = left + 1; + great = right - 1; + if (J.$eq$(compare.call$2(el2, el4), 0)) { + for (k = less; k <= great; ++k) { + ak = t1.$index(a, k); + comp = compare.call$2(ak, el2); + if (comp === 0) + continue; + if (typeof comp !== "number") + return comp.$lt(); + if (comp < 0) { + if (k !== less) { + t1.$indexSet(a, k, t1.$index(a, less)); + t1.$indexSet(a, less, ak); + } + ++less; + } else + for (; true;) { + comp = compare.call$2(t1.$index(a, great), el2); + if (typeof comp !== "number") + return comp.$gt(); + if (comp > 0) { + --great; + continue; + } else { + great0 = great - 1; + if (comp < 0) { + t1.$indexSet(a, k, t1.$index(a, less)); + less0 = less + 1; + t1.$indexSet(a, less, t1.$index(a, great)); + t1.$indexSet(a, great, ak); + great = great0; + less = less0; + break; + } else { + t1.$indexSet(a, k, t1.$index(a, great)); + t1.$indexSet(a, great, ak); + great = great0; + break; + } + } + } + } + pivots_are_equal = true; + } else { + for (k = less; k <= great; ++k) { + ak = t1.$index(a, k); + comp_pivot1 = compare.call$2(ak, el2); + if (typeof comp_pivot1 !== "number") + return comp_pivot1.$lt(); + if (comp_pivot1 < 0) { + if (k !== less) { + t1.$indexSet(a, k, t1.$index(a, less)); + t1.$indexSet(a, less, ak); + } + ++less; + } else { + comp_pivot2 = compare.call$2(ak, el4); + if (typeof comp_pivot2 !== "number") + return comp_pivot2.$gt(); + if (comp_pivot2 > 0) + for (; true;) { + comp = compare.call$2(t1.$index(a, great), el4); + if (typeof comp !== "number") + return comp.$gt(); + if (comp > 0) { + --great; + if (great < k) + break; + continue; + } else { + comp = compare.call$2(t1.$index(a, great), el2); + if (typeof comp !== "number") + return comp.$lt(); + great0 = great - 1; + if (comp < 0) { + t1.$indexSet(a, k, t1.$index(a, less)); + less0 = less + 1; + t1.$indexSet(a, less, t1.$index(a, great)); + t1.$indexSet(a, great, ak); + less = less0; + } else { + t1.$indexSet(a, k, t1.$index(a, great)); + t1.$indexSet(a, great, ak); + } + great = great0; + break; + } + } + } + } + pivots_are_equal = false; + } + t2 = less - 1; + t1.$indexSet(a, left, t1.$index(a, t2)); + t1.$indexSet(a, t2, el2); + t2 = great + 1; + t1.$indexSet(a, right, t1.$index(a, t2)); + t1.$indexSet(a, t2, el4); + H.Sort__doSort(a, left, less - 2, compare, $E); + H.Sort__doSort(a, great + 2, right, compare, $E); + if (pivots_are_equal) + return; + if (less < index1 && great > index5) { + for (; J.$eq$(compare.call$2(t1.$index(a, less), el2), 0);) + ++less; + for (; J.$eq$(compare.call$2(t1.$index(a, great), el4), 0);) + --great; + for (k = less; k <= great; ++k) { + ak = t1.$index(a, k); + if (compare.call$2(ak, el2) === 0) { + if (k !== less) { + t1.$indexSet(a, k, t1.$index(a, less)); + t1.$indexSet(a, less, ak); + } + ++less; + } else if (compare.call$2(ak, el4) === 0) + for (; true;) + if (compare.call$2(t1.$index(a, great), el4) === 0) { + --great; + if (great < k) + break; + continue; + } else { + comp = compare.call$2(t1.$index(a, great), el2); + if (typeof comp !== "number") + return comp.$lt(); + great0 = great - 1; + if (comp < 0) { + t1.$indexSet(a, k, t1.$index(a, less)); + less0 = less + 1; + t1.$indexSet(a, less, t1.$index(a, great)); + t1.$indexSet(a, great, ak); + less = less0; + } else { + t1.$indexSet(a, k, t1.$index(a, great)); + t1.$indexSet(a, great, ak); + } + great = great0; + break; + } + } + H.Sort__doSort(a, less, great, compare, $E); + } else + H.Sort__doSort(a, less, great, compare, $E); + }, + CastStream: function CastStream(t0, t1) { + this._source = t0; + this.$ti = t1; + }, + CastStreamSubscription: function CastStreamSubscription(t0, t1, t2) { + var _ = this; + _._source = t0; + _.__internal$_zone = t1; + _.__internal$_handleError = _.__internal$_handleData = null; + _.$ti = t2; + }, + _CastIterableBase: function _CastIterableBase() { + }, + CastIterator: function CastIterator(t0, t1) { + this._source = t0; + this.$ti = t1; + }, + CastIterable: function CastIterable(t0, t1) { + this._source = t0; + this.$ti = t1; + }, + _EfficientLengthCastIterable: function _EfficientLengthCastIterable(t0, t1) { + this._source = t0; + this.$ti = t1; + }, + _CastListBase: function _CastListBase() { + }, + _CastListBase_sort_closure: function _CastListBase_sort_closure(t0, t1) { + this.$this = t0; + this.compare = t1; + }, + _CastListBase_removeWhere_closure: function _CastListBase_removeWhere_closure(t0, t1) { + this.$this = t0; + this.test = t1; + }, + CastList: function CastList(t0, t1) { + this._source = t0; + this.$ti = t1; + }, + CastSet: function CastSet(t0, t1, t2) { + this._source = t0; + this.__internal$_emptySet = t1; + this.$ti = t2; + }, + CastSet_removeWhere_closure: function CastSet_removeWhere_closure(t0, t1) { + this.$this = t0; + this.test = t1; + }, + CastMap: function CastMap(t0, t1) { + this._source = t0; + this.$ti = t1; + }, + CastMap_forEach_closure: function CastMap_forEach_closure(t0, t1) { + this.$this = t0; + this.f = t1; + }, + CastMap_entries_closure: function CastMap_entries_closure(t0) { + this.$this = t0; + }, + CastMap_removeWhere_closure: function CastMap_removeWhere_closure(t0, t1) { + this.$this = t0; + this.test = t1; + }, + CastQueue: function CastQueue(t0, t1) { + this._source = t0; + this.$ti = t1; + }, + LateError: function LateError(t0) { + this._message = t0; + }, + ReachabilityError: function ReachabilityError(t0) { + this._message = t0; + }, + CodeUnits: function CodeUnits(t0) { + this.__internal$_string = t0; + }, + nullFuture_closure: function nullFuture_closure() { + }, + NotNullableError: function NotNullableError(t0, t1) { + this.__internal$_name = t0; + this.$ti = t1; + }, + EfficientLengthIterable: function EfficientLengthIterable() { + }, + ListIterable: function ListIterable() { + }, + SubListIterable: function SubListIterable(t0, t1, t2, t3) { + var _ = this; + _.__internal$_iterable = t0; + _.__internal$_start = t1; + _._endOrLength = t2; + _.$ti = t3; + }, + ListIterator: function ListIterator(t0, t1, t2) { + var _ = this; + _.__internal$_iterable = t0; + _.__internal$_length = t1; + _.__internal$_index = 0; + _.__internal$_current = null; + _.$ti = t2; + }, + MappedIterable: function MappedIterable(t0, t1, t2) { + this.__internal$_iterable = t0; + this._f = t1; + this.$ti = t2; + }, + EfficientLengthMappedIterable: function EfficientLengthMappedIterable(t0, t1, t2) { + this.__internal$_iterable = t0; + this._f = t1; + this.$ti = t2; + }, + MappedIterator: function MappedIterator(t0, t1, t2) { + var _ = this; + _.__internal$_current = null; + _._iterator = t0; + _._f = t1; + _.$ti = t2; + }, + MappedListIterable: function MappedListIterable(t0, t1, t2) { + this._source = t0; + this._f = t1; + this.$ti = t2; + }, + WhereIterable: function WhereIterable(t0, t1, t2) { + this.__internal$_iterable = t0; + this._f = t1; + this.$ti = t2; + }, + WhereIterator: function WhereIterator(t0, t1, t2) { + this._iterator = t0; + this._f = t1; + this.$ti = t2; + }, + ExpandIterable: function ExpandIterable(t0, t1, t2) { + this.__internal$_iterable = t0; + this._f = t1; + this.$ti = t2; + }, + ExpandIterator: function ExpandIterator(t0, t1, t2, t3) { + var _ = this; + _._iterator = t0; + _._f = t1; + _._currentExpansion = t2; + _.__internal$_current = null; + _.$ti = t3; + }, + TakeIterable: function TakeIterable(t0, t1, t2) { + this.__internal$_iterable = t0; + this._takeCount = t1; + this.$ti = t2; + }, + EfficientLengthTakeIterable: function EfficientLengthTakeIterable(t0, t1, t2) { + this.__internal$_iterable = t0; + this._takeCount = t1; + this.$ti = t2; + }, + TakeIterator: function TakeIterator(t0, t1, t2) { + this._iterator = t0; + this._remaining = t1; + this.$ti = t2; + }, + TakeWhileIterable: function TakeWhileIterable(t0, t1, t2) { + this.__internal$_iterable = t0; + this._f = t1; + this.$ti = t2; + }, + TakeWhileIterator: function TakeWhileIterator(t0, t1, t2) { + var _ = this; + _._iterator = t0; + _._f = t1; + _._isFinished = false; + _.$ti = t2; + }, + SkipIterable: function SkipIterable(t0, t1, t2) { + this.__internal$_iterable = t0; + this._skipCount = t1; + this.$ti = t2; + }, + EfficientLengthSkipIterable: function EfficientLengthSkipIterable(t0, t1, t2) { + this.__internal$_iterable = t0; + this._skipCount = t1; + this.$ti = t2; + }, + SkipIterator: function SkipIterator(t0, t1, t2) { + this._iterator = t0; + this._skipCount = t1; + this.$ti = t2; + }, + SkipWhileIterable: function SkipWhileIterable(t0, t1, t2) { + this.__internal$_iterable = t0; + this._f = t1; + this.$ti = t2; + }, + SkipWhileIterator: function SkipWhileIterator(t0, t1, t2) { + var _ = this; + _._iterator = t0; + _._f = t1; + _._hasSkipped = false; + _.$ti = t2; + }, + EmptyIterable: function EmptyIterable(t0) { + this.$ti = t0; + }, + EmptyIterator: function EmptyIterator(t0) { + this.$ti = t0; + }, + WhereTypeIterable: function WhereTypeIterable(t0, t1) { + this._source = t0; + this.$ti = t1; + }, + WhereTypeIterator: function WhereTypeIterator(t0, t1) { + this._source = t0; + this.$ti = t1; + }, + FixedLengthListMixin: function FixedLengthListMixin() { + }, + UnmodifiableListMixin: function UnmodifiableListMixin() { + }, + UnmodifiableListBase: function UnmodifiableListBase() { + }, + ReversedListIterable: function ReversedListIterable(t0, t1) { + this._source = t0; + this.$ti = t1; + }, + Symbol: function Symbol(t0) { + this.__internal$_name = t0; + }, + __CastListBase__CastIterableBase_ListMixin: function __CastListBase__CastIterableBase_ListMixin() { + }, + ConstantMap__throwUnmodifiable: function() { + throw H.wrapException(P.UnsupportedError$("Cannot modify unmodifiable Map")); + }, + instantiate1: function(f, T1) { + var t1 = new H.Instantiation1(f, T1._eval$1("Instantiation1<0>")); + t1.Instantiation$1(f); + return t1; + }, + unminifyOrTag: function(rawClassName) { + var preserved = H.unmangleGlobalNameIfPreservedAnyways(rawClassName); + if (preserved != null) + return preserved; + return rawClassName; + }, + isJsIndexable: function(object, record) { + var result; + if (record != null) { + result = record.x; + if (result != null) + return result; + } + return type$.JavaScriptIndexingBehavior_dynamic._is(object); + }, + S: function(value) { + var res; + if (typeof value == "string") + return value; + if (typeof value == "number") { + if (value !== 0) + return "" + value; + } else if (true === value) + return "true"; + else if (false === value) + return "false"; + else if (value == null) + return "null"; + res = J.toString$0$(value); + if (typeof res != "string") + throw H.wrapException(H.argumentErrorValue(value)); + return res; + }, + createInvocationMirror: function($name, internalName, kind, $arguments, argumentNames, types) { + var t1; + H._asStringS(internalName); + t1 = type$.List_dynamic; + return new H.JSInvocationMirror($name, H._asIntS(kind), t1._as($arguments), t1._as(argumentNames), H._asIntS(types)); + }, + createUnmangledInvocationMirror: function(symbol, internalName, kind, $arguments, argumentNames, types) { + var t1; + H._asStringS(internalName); + t1 = type$.List_dynamic; + return new H.JSInvocationMirror(symbol, H._asIntS(kind), t1._as($arguments), t1._as(argumentNames), H._asIntS(types)); + }, + Primitives_objectHashCode: function(object) { + var hash = object.$identityHash; + if (hash == null) { + hash = Math.random() * 0x3fffffff | 0; + object.$identityHash = hash; + } + return hash; + }, + Primitives_parseInt: function(source, radix) { + var match, decimalMatch, maxCharCode, digitsPart, t1, i, _null = null; + if (typeof source != "string") + H.throwExpression(H.argumentErrorValue(source)); + match = /^\s*[+-]?((0x[a-f0-9]+)|(\d+)|([a-z0-9]+))\s*$/i.exec(source); + if (match == null) + return _null; + if (3 >= match.length) + return H.ioore(match, 3); + decimalMatch = match[3]; + if (radix == null) { + if (decimalMatch != null) + return parseInt(source, 10); + if (match[2] != null) + return parseInt(source, 16); + return _null; + } + if (radix < 2 || radix > 36) + throw H.wrapException(P.RangeError$range(radix, 2, 36, "radix", _null)); + if (radix === 10 && decimalMatch != null) + return parseInt(source, 10); + if (radix < 10 || decimalMatch == null) { + maxCharCode = radix <= 10 ? 47 + radix : 86 + radix; + digitsPart = match[1]; + for (t1 = digitsPart.length, i = 0; i < t1; ++i) + if ((C.JSString_methods._codeUnitAt$1(digitsPart, i) | 32) > maxCharCode) + return _null; + } + return parseInt(source, radix); + }, + Primitives_parseDouble: function(source) { + var result, trimmed; + if (typeof source != "string") + H.throwExpression(H.argumentErrorValue(source)); + if (!/^\s*[+-]?(?:Infinity|NaN|(?:\.\d+|\d+(?:\.\d*)?)(?:[eE][+-]?\d+)?)\s*$/.test(source)) + return null; + result = parseFloat(source); + if (isNaN(result)) { + trimmed = J.trim$0$s(source); + if (trimmed === "NaN" || trimmed === "+NaN" || trimmed === "-NaN") + return result; + return null; + } + return result; + }, + Primitives_objectTypeName: function(object) { + return H.Primitives__objectTypeNameNewRti(object); + }, + Primitives__objectTypeNameNewRti: function(object) { + var dispatchName, t1, $constructor, constructorName; + if (object instanceof P.Object) + return H._rtiToString(H.instanceType(object), null); + if (J.getInterceptor$(object) === C.Interceptor_methods || type$.UnknownJavaScriptObject._is(object)) { + dispatchName = C.C_JS_CONST(object); + t1 = dispatchName !== "Object" && dispatchName !== ""; + if (t1) + return dispatchName; + $constructor = object.constructor; + if (typeof $constructor == "function") { + constructorName = $constructor.name; + if (typeof constructorName == "string") + t1 = constructorName !== "Object" && constructorName !== ""; + else + t1 = false; + if (t1) + return constructorName; + } + } + return H._rtiToString(H.instanceType(object), null); + }, + Primitives_currentUri: function() { + if (!!self.location) + return self.location.href; + return null; + }, + Primitives__fromCharCodeApply: function(array) { + var result, i, i0, chunkEnd, + end = array.length; + if (end <= 500) + return String.fromCharCode.apply(null, array); + for (result = "", i = 0; i < end; i = i0) { + i0 = i + 500; + chunkEnd = i0 < end ? i0 : end; + result += String.fromCharCode.apply(null, array.slice(i, chunkEnd)); + } + return result; + }, + Primitives_stringFromCodePoints: function(codePoints) { + var t1, _i, i, + a = H.setRuntimeTypeInfo([], type$.JSArray_int); + for (t1 = codePoints.length, _i = 0; _i < codePoints.length; codePoints.length === t1 || (0, H.throwConcurrentModificationError)(codePoints), ++_i) { + i = codePoints[_i]; + if (!H._isInt(i)) + throw H.wrapException(H.argumentErrorValue(i)); + if (i <= 65535) + C.JSArray_methods.add$1(a, i); + else if (i <= 1114111) { + C.JSArray_methods.add$1(a, 55296 + (C.JSInt_methods._shrOtherPositive$1(i - 65536, 10) & 1023)); + C.JSArray_methods.add$1(a, 56320 + (i & 1023)); + } else + throw H.wrapException(H.argumentErrorValue(i)); + } + return H.Primitives__fromCharCodeApply(a); + }, + Primitives_stringFromCharCodes: function(charCodes) { + var t1, _i, i; + for (t1 = charCodes.length, _i = 0; _i < t1; ++_i) { + i = charCodes[_i]; + if (!H._isInt(i)) + throw H.wrapException(H.argumentErrorValue(i)); + if (i < 0) + throw H.wrapException(H.argumentErrorValue(i)); + if (i > 65535) + return H.Primitives_stringFromCodePoints(charCodes); + } + return H.Primitives__fromCharCodeApply(charCodes); + }, + Primitives_stringFromNativeUint8List: function(charCodes, start, end) { + var i, result, i0, chunkEnd; + if (typeof end !== "number") + return end.$le(); + if (end <= 500 && start === 0 && end === charCodes.length) + return String.fromCharCode.apply(null, charCodes); + for (i = start, result = ""; i < end; i = i0) { + i0 = i + 500; + if (i0 < end) + chunkEnd = i0; + else + chunkEnd = end; + result += String.fromCharCode.apply(null, charCodes.subarray(i, chunkEnd)); + } + return result; + }, + Primitives_stringFromCharCode: function(charCode) { + var bits; + if (typeof charCode !== "number") + return H.iae(charCode); + if (0 <= charCode) { + if (charCode <= 65535) + return String.fromCharCode(charCode); + if (charCode <= 1114111) { + bits = charCode - 65536; + return String.fromCharCode((C.JSInt_methods._shrOtherPositive$1(bits, 10) | 55296) >>> 0, bits & 1023 | 56320); + } + } + throw H.wrapException(P.RangeError$range(charCode, 0, 1114111, null, null)); + }, + Primitives_valueFromDecomposedDate: function(years, month, day, hours, minutes, seconds, milliseconds, isUtc) { + var value, + jsMonth = month - 1; + if (0 <= years && years < 100) { + years += 400; + jsMonth -= 4800; + } + value = isUtc ? Date.UTC(years, jsMonth, day, hours, minutes, seconds, milliseconds) : new Date(years, jsMonth, day, hours, minutes, seconds, milliseconds).valueOf(); + if (isNaN(value) || value < -864e13 || value > 864e13) + return null; + return value; + }, + Primitives_lazyAsJsDate: function(receiver) { + if (receiver.date === void 0) + receiver.date = new Date(receiver._value); + return receiver.date; + }, + Primitives_getYear: function(receiver) { + return receiver.isUtc ? H.Primitives_lazyAsJsDate(receiver).getUTCFullYear() + 0 : H.Primitives_lazyAsJsDate(receiver).getFullYear() + 0; + }, + Primitives_getMonth: function(receiver) { + return receiver.isUtc ? H.Primitives_lazyAsJsDate(receiver).getUTCMonth() + 1 : H.Primitives_lazyAsJsDate(receiver).getMonth() + 1; + }, + Primitives_getDay: function(receiver) { + return receiver.isUtc ? H.Primitives_lazyAsJsDate(receiver).getUTCDate() + 0 : H.Primitives_lazyAsJsDate(receiver).getDate() + 0; + }, + Primitives_getHours: function(receiver) { + return receiver.isUtc ? H.Primitives_lazyAsJsDate(receiver).getUTCHours() + 0 : H.Primitives_lazyAsJsDate(receiver).getHours() + 0; + }, + Primitives_getMinutes: function(receiver) { + return receiver.isUtc ? H.Primitives_lazyAsJsDate(receiver).getUTCMinutes() + 0 : H.Primitives_lazyAsJsDate(receiver).getMinutes() + 0; + }, + Primitives_getSeconds: function(receiver) { + return receiver.isUtc ? H.Primitives_lazyAsJsDate(receiver).getUTCSeconds() + 0 : H.Primitives_lazyAsJsDate(receiver).getSeconds() + 0; + }, + Primitives_getMilliseconds: function(receiver) { + return receiver.isUtc ? H.Primitives_lazyAsJsDate(receiver).getUTCMilliseconds() + 0 : H.Primitives_lazyAsJsDate(receiver).getMilliseconds() + 0; + }, + Primitives_getProperty: function(object, key) { + if (object == null || H._isBool(object) || typeof object == "number" || typeof object == "string") + throw H.wrapException(H.argumentErrorValue(object)); + return object[key]; + }, + Primitives_setProperty: function(object, key, value) { + if (object == null || H._isBool(object) || typeof object == "number" || typeof object == "string") + throw H.wrapException(H.argumentErrorValue(object)); + object[key] = value; + }, + Primitives_functionNoSuchMethod: function($function, positionalArguments, namedArguments) { + var $arguments, namedArgumentList, t1 = {}; + t1.argumentCount = 0; + $arguments = []; + namedArgumentList = []; + t1.argumentCount = positionalArguments.length; + C.JSArray_methods.addAll$1($arguments, positionalArguments); + t1.names = ""; + if (namedArguments != null && !namedArguments.get$isEmpty(namedArguments)) + namedArguments.forEach$1(0, new H.Primitives_functionNoSuchMethod_closure(t1, namedArgumentList, $arguments)); + "" + t1.argumentCount; + return J.noSuchMethod$1$($function, new H.JSInvocationMirror(C.Symbol_call, 0, $arguments, namedArgumentList, 0)); + }, + Primitives_applyFunction: function($function, positionalArguments, namedArguments) { + var t1, $arguments, argumentCount, jsStub; + if (positionalArguments instanceof Array) + t1 = namedArguments == null || namedArguments.get$isEmpty(namedArguments); + else + t1 = false; + if (t1) { + $arguments = positionalArguments; + argumentCount = $arguments.length; + if (argumentCount === 0) { + if (!!$function.call$0) + return $function.call$0(); + } else if (argumentCount === 1) { + if (!!$function.call$1) + return $function.call$1($arguments[0]); + } else if (argumentCount === 2) { + if (!!$function.call$2) + return $function.call$2($arguments[0], $arguments[1]); + } else if (argumentCount === 3) { + if (!!$function.call$3) + return $function.call$3($arguments[0], $arguments[1], $arguments[2]); + } else if (argumentCount === 4) { + if (!!$function.call$4) + return $function.call$4($arguments[0], $arguments[1], $arguments[2], $arguments[3]); + } else if (argumentCount === 5) + if (!!$function.call$5) + return $function.call$5($arguments[0], $arguments[1], $arguments[2], $arguments[3], $arguments[4]); + jsStub = $function["call" + "$" + argumentCount]; + if (jsStub != null) + return jsStub.apply($function, $arguments); + } + return H.Primitives__genericApplyFunction2($function, positionalArguments, namedArguments); + }, + Primitives__genericApplyFunction2: function($function, positionalArguments, namedArguments) { + var $arguments, argumentCount, requiredParameterCount, defaultValuesClosure, t1, defaultValues, interceptor, jsFunction, keys, _i, defaultValue, used, key; + if (positionalArguments != null) + $arguments = positionalArguments instanceof Array ? positionalArguments : P.List_List$from(positionalArguments, true, type$.dynamic); + else + $arguments = []; + argumentCount = $arguments.length; + requiredParameterCount = $function.$requiredArgCount; + if (argumentCount < requiredParameterCount) + return H.Primitives_functionNoSuchMethod($function, $arguments, namedArguments); + defaultValuesClosure = $function.$defaultValues; + t1 = defaultValuesClosure == null; + defaultValues = !t1 ? defaultValuesClosure() : null; + interceptor = J.getInterceptor$($function); + jsFunction = interceptor["call*"]; + if (typeof jsFunction == "string") + jsFunction = interceptor[jsFunction]; + if (t1) { + if (namedArguments != null && namedArguments.get$isNotEmpty(namedArguments)) + return H.Primitives_functionNoSuchMethod($function, $arguments, namedArguments); + if (argumentCount === requiredParameterCount) + return jsFunction.apply($function, $arguments); + return H.Primitives_functionNoSuchMethod($function, $arguments, namedArguments); + } + if (defaultValues instanceof Array) { + if (namedArguments != null && namedArguments.get$isNotEmpty(namedArguments)) + return H.Primitives_functionNoSuchMethod($function, $arguments, namedArguments); + if (argumentCount > requiredParameterCount + defaultValues.length) + return H.Primitives_functionNoSuchMethod($function, $arguments, null); + C.JSArray_methods.addAll$1($arguments, defaultValues.slice(argumentCount - requiredParameterCount)); + return jsFunction.apply($function, $arguments); + } else { + if (argumentCount > requiredParameterCount) + return H.Primitives_functionNoSuchMethod($function, $arguments, namedArguments); + keys = Object.keys(defaultValues); + if (namedArguments == null) + for (t1 = keys.length, _i = 0; _i < keys.length; keys.length === t1 || (0, H.throwConcurrentModificationError)(keys), ++_i) { + defaultValue = defaultValues[H._asStringS(keys[_i])]; + if (C.C__Required === defaultValue) + return H.Primitives_functionNoSuchMethod($function, $arguments, namedArguments); + C.JSArray_methods.add$1($arguments, defaultValue); + } + else { + for (t1 = keys.length, used = 0, _i = 0; _i < keys.length; keys.length === t1 || (0, H.throwConcurrentModificationError)(keys), ++_i) { + key = H._asStringS(keys[_i]); + if (namedArguments.containsKey$1(0, key)) { + ++used; + C.JSArray_methods.add$1($arguments, namedArguments.$index(0, key)); + } else { + defaultValue = defaultValues[key]; + if (C.C__Required === defaultValue) + return H.Primitives_functionNoSuchMethod($function, $arguments, namedArguments); + C.JSArray_methods.add$1($arguments, defaultValue); + } + } + if (used !== namedArguments.get$length(namedArguments)) + return H.Primitives_functionNoSuchMethod($function, $arguments, namedArguments); + } + return jsFunction.apply($function, $arguments); + } + }, + iae: function(argument) { + throw H.wrapException(H.argumentErrorValue(argument)); + }, + ioore: function(receiver, index) { + if (receiver == null) + J.get$length$asx(receiver); + throw H.wrapException(H.diagnoseIndexError(receiver, index)); + }, + diagnoseIndexError: function(indexable, index) { + var $length, t1, _s5_ = "index"; + if (!H._isInt(index)) + return new P.ArgumentError(true, index, _s5_, null); + $length = H._asIntS(J.get$length$asx(indexable)); + if (!(index < 0)) { + if (typeof $length !== "number") + return H.iae($length); + t1 = index >= $length; + } else + t1 = true; + if (t1) + return P.IndexError$(index, indexable, _s5_, null, $length); + return P.RangeError$value(index, _s5_, null); + }, + diagnoseRangeError: function(start, end, $length) { + if (start < 0 || start > $length) + return P.RangeError$range(start, 0, $length, "start", null); + if (end != null) + if (end < start || end > $length) + return P.RangeError$range(end, start, $length, "end", null); + return new P.ArgumentError(true, end, "end", null); + }, + argumentErrorValue: function(object) { + return new P.ArgumentError(true, object, null, null); + }, + checkNum: function(value) { + if (typeof value != "number") + throw H.wrapException(H.argumentErrorValue(value)); + return value; + }, + wrapException: function(ex) { + var wrapper, t1; + if (ex == null) + ex = new P.NullThrownError(); + wrapper = new Error(); + wrapper.dartException = ex; + t1 = H.toStringWrapper; + if ("defineProperty" in Object) { + Object.defineProperty(wrapper, "message", {get: t1}); + wrapper.name = ""; + } else + wrapper.toString = t1; + return wrapper; + }, + toStringWrapper: function() { + return J.toString$0$(this.dartException); + }, + throwExpression: function(ex) { + throw H.wrapException(ex); + }, + throwConcurrentModificationError: function(collection) { + throw H.wrapException(P.ConcurrentModificationError$(collection)); + }, + TypeErrorDecoder_extractPattern: function(message) { + var match, $arguments, argumentsExpr, expr, method, receiver; + message = H.quoteStringForRegExp(message.replace(String({}), "$receiver$")); + match = message.match(/\\\$[a-zA-Z]+\\\$/g); + if (match == null) + match = H.setRuntimeTypeInfo([], type$.JSArray_String); + $arguments = match.indexOf("\\$arguments\\$"); + argumentsExpr = match.indexOf("\\$argumentsExpr\\$"); + expr = match.indexOf("\\$expr\\$"); + method = match.indexOf("\\$method\\$"); + receiver = match.indexOf("\\$receiver\\$"); + return new H.TypeErrorDecoder(message.replace(new RegExp("\\\\\\$arguments\\\\\\$", "g"), "((?:x|[^x])*)").replace(new RegExp("\\\\\\$argumentsExpr\\\\\\$", "g"), "((?:x|[^x])*)").replace(new RegExp("\\\\\\$expr\\\\\\$", "g"), "((?:x|[^x])*)").replace(new RegExp("\\\\\\$method\\\\\\$", "g"), "((?:x|[^x])*)").replace(new RegExp("\\\\\\$receiver\\\\\\$", "g"), "((?:x|[^x])*)"), $arguments, argumentsExpr, expr, method, receiver); + }, + TypeErrorDecoder_provokeCallErrorOn: function(expression) { + return function($expr$) { + var $argumentsExpr$ = "$arguments$"; + try { + $expr$.$method$($argumentsExpr$); + } catch (e) { + return e.message; + } + }(expression); + }, + TypeErrorDecoder_provokePropertyErrorOn: function(expression) { + return function($expr$) { + try { + $expr$.$method$; + } catch (e) { + return e.message; + } + }(expression); + }, + JsNoSuchMethodError$: function(_message, match) { + var t1 = match == null, + t2 = t1 ? null : match.method; + return new H.JsNoSuchMethodError(_message, t2, t1 ? null : match.receiver); + }, + unwrapException: function(ex) { + if (ex == null) + return new H.NullThrownFromJavaScriptException(ex); + if (ex instanceof H.ExceptionAndStackTrace) + return H.saveStackTrace(ex, ex.dartException); + if (typeof ex !== "object") + return ex; + if ("dartException" in ex) + return H.saveStackTrace(ex, ex.dartException); + return H._unwrapNonDartException(ex); + }, + saveStackTrace: function(ex, error) { + if (type$.Error._is(error)) + if (error.$thrownJsError == null) + error.$thrownJsError = ex; + return error; + }, + _unwrapNonDartException: function(ex) { + var message, number, ieErrorCode, t1, nsme, notClosure, nullCall, nullLiteralCall, undefCall, undefLiteralCall, nullProperty, undefProperty, undefLiteralProperty, match, _null = null; + if (!("message" in ex)) + return ex; + message = ex.message; + if ("number" in ex && typeof ex.number == "number") { + number = ex.number; + ieErrorCode = number & 65535; + if ((C.JSInt_methods._shrOtherPositive$1(number, 16) & 8191) === 10) + switch (ieErrorCode) { + case 438: + return H.saveStackTrace(ex, H.JsNoSuchMethodError$(H.S(message) + " (Error " + ieErrorCode + ")", _null)); + case 445: + case 5007: + t1 = H.S(message) + " (Error " + ieErrorCode + ")"; + return H.saveStackTrace(ex, new H.NullError(t1, _null)); + } + } + if (ex instanceof TypeError) { + nsme = $.$get$TypeErrorDecoder_noSuchMethodPattern(); + notClosure = $.$get$TypeErrorDecoder_notClosurePattern(); + nullCall = $.$get$TypeErrorDecoder_nullCallPattern(); + nullLiteralCall = $.$get$TypeErrorDecoder_nullLiteralCallPattern(); + undefCall = $.$get$TypeErrorDecoder_undefinedCallPattern(); + undefLiteralCall = $.$get$TypeErrorDecoder_undefinedLiteralCallPattern(); + nullProperty = $.$get$TypeErrorDecoder_nullPropertyPattern(); + $.$get$TypeErrorDecoder_nullLiteralPropertyPattern(); + undefProperty = $.$get$TypeErrorDecoder_undefinedPropertyPattern(); + undefLiteralProperty = $.$get$TypeErrorDecoder_undefinedLiteralPropertyPattern(); + match = nsme.matchTypeError$1(message); + if (match != null) + return H.saveStackTrace(ex, H.JsNoSuchMethodError$(H._asStringS(message), match)); + else { + match = notClosure.matchTypeError$1(message); + if (match != null) { + match.method = "call"; + return H.saveStackTrace(ex, H.JsNoSuchMethodError$(H._asStringS(message), match)); + } else { + match = nullCall.matchTypeError$1(message); + if (match == null) { + match = nullLiteralCall.matchTypeError$1(message); + if (match == null) { + match = undefCall.matchTypeError$1(message); + if (match == null) { + match = undefLiteralCall.matchTypeError$1(message); + if (match == null) { + match = nullProperty.matchTypeError$1(message); + if (match == null) { + match = nullLiteralCall.matchTypeError$1(message); + if (match == null) { + match = undefProperty.matchTypeError$1(message); + if (match == null) { + match = undefLiteralProperty.matchTypeError$1(message); + t1 = match != null; + } else + t1 = true; + } else + t1 = true; + } else + t1 = true; + } else + t1 = true; + } else + t1 = true; + } else + t1 = true; + } else + t1 = true; + if (t1) { + H._asStringS(message); + return H.saveStackTrace(ex, new H.NullError(message, match == null ? _null : match.method)); + } + } + } + return H.saveStackTrace(ex, new H.UnknownJsTypeError(typeof message == "string" ? message : "")); + } + if (ex instanceof RangeError) { + if (typeof message == "string" && message.indexOf("call stack") !== -1) + return new P.StackOverflowError(); + message = function(ex) { + try { + return String(ex); + } catch (e) { + } + return null; + }(ex); + return H.saveStackTrace(ex, new P.ArgumentError(false, _null, _null, typeof message == "string" ? message.replace(/^RangeError:\s*/, "") : message)); + } + if (typeof InternalError == "function" && ex instanceof InternalError) + if (typeof message == "string" && message === "too much recursion") + return new P.StackOverflowError(); + return ex; + }, + getTraceFromException: function(exception) { + var trace; + if (exception instanceof H.ExceptionAndStackTrace) + return exception.stackTrace; + if (exception == null) + return new H._StackTrace(exception); + trace = exception.$cachedTrace; + if (trace != null) + return trace; + return exception.$cachedTrace = new H._StackTrace(exception); + }, + objectHashCode: function(object) { + if (object == null || typeof object != "object") + return J.get$hashCode$(object); + else + return H.Primitives_objectHashCode(object); + }, + fillLiteralMap: function(keyValuePairs, result) { + var index, index0, index1, + $length = keyValuePairs.length; + for (index = 0; index < $length; index = index1) { + index0 = index + 1; + index1 = index0 + 1; + result.$indexSet(0, keyValuePairs[index], keyValuePairs[index0]); + } + return result; + }, + fillLiteralSet: function(values, result) { + var index, + $length = values.length; + for (index = 0; index < $length; ++index) + result.add$1(0, values[index]); + return result; + }, + invokeClosure: function(closure, numberOfArguments, arg1, arg2, arg3, arg4) { + type$.Function._as(closure); + switch (H._asIntS(numberOfArguments)) { + case 0: + return closure.call$0(); + case 1: + return closure.call$1(arg1); + case 2: + return closure.call$2(arg1, arg2); + case 3: + return closure.call$3(arg1, arg2, arg3); + case 4: + return closure.call$4(arg1, arg2, arg3, arg4); + } + throw H.wrapException(P.Exception_Exception("Unsupported number of arguments for wrapped closure")); + }, + convertDartClosureToJS: function(closure, arity) { + var $function; + if (closure == null) + return null; + $function = closure.$identity; + if (!!$function) + return $function; + $function = function(closure, arity, invoke) { + return function(a1, a2, a3, a4) { + return invoke(closure, arity, a1, a2, a3, a4); + }; + }(closure, arity, H.invokeClosure); + closure.$identity = $function; + return $function; + }, + Closure_fromTearOff: function(receiver, functions, applyTrampolineIndex, reflectionInfo, isStatic, isIntercepted, propertyName) { + var $constructor, t1, trampoline, applyTrampoline, i, stub, stubCallName, + $function = functions[0], + callName = $function.$callName, + $prototype = isStatic ? Object.create(new H.StaticClosure().constructor.prototype) : Object.create(new H.BoundClosure(null, null, null, "").constructor.prototype); + $prototype.$initialize = $prototype.constructor; + if (isStatic) + $constructor = function static_tear_off() { + this.$initialize(); + }; + else { + t1 = $.Closure_functionCounter; + if (typeof t1 !== "number") + return t1.$add(); + $.Closure_functionCounter = t1 + 1; + t1 = new Function("a,b,c,d" + t1, "this.$initialize(a,b,c,d" + t1 + ")"); + $constructor = t1; + } + $prototype.constructor = $constructor; + $constructor.prototype = $prototype; + if (!isStatic) { + trampoline = H.Closure_forwardCallTo(receiver, $function, isIntercepted); + trampoline.$reflectionInfo = reflectionInfo; + } else { + $prototype.$static_name = propertyName; + trampoline = $function; + } + $prototype.$signature = H.Closure__computeSignatureFunctionNewRti(reflectionInfo, isStatic, isIntercepted); + $prototype[callName] = trampoline; + for (applyTrampoline = trampoline, i = 1; i < functions.length; ++i) { + stub = functions[i]; + stubCallName = stub.$callName; + if (stubCallName != null) { + stub = isStatic ? stub : H.Closure_forwardCallTo(receiver, stub, isIntercepted); + $prototype[stubCallName] = stub; + } + if (i === applyTrampolineIndex) { + stub.$reflectionInfo = reflectionInfo; + applyTrampoline = stub; + } + } + $prototype["call*"] = applyTrampoline; + $prototype.$requiredArgCount = $function.$requiredArgCount; + $prototype.$defaultValues = $function.$defaultValues; + return $constructor; + }, + Closure__computeSignatureFunctionNewRti: function(functionType, isStatic, isIntercepted) { + var typeEvalMethod; + if (typeof functionType == "number") + return function(getType, t) { + return function() { + return getType(t); + }; + }(H.getTypeFromTypesTable, functionType); + if (typeof functionType == "string") { + if (isStatic) + throw H.wrapException("Cannot compute signature for static tearoff."); + typeEvalMethod = isIntercepted ? H.BoundClosure_evalRecipeIntercepted : H.BoundClosure_evalRecipe; + return function(recipe, evalOnReceiver) { + return function() { + return evalOnReceiver(this, recipe); + }; + }(functionType, typeEvalMethod); + } + throw H.wrapException("Error in functionType of tearoff"); + }, + Closure_cspForwardCall: function(arity, isSuperCall, stubName, $function) { + var getSelf = H.BoundClosure_selfOf; + switch (isSuperCall ? -1 : arity) { + case 0: + return function(n, S) { + return function() { + return S(this)[n](); + }; + }(stubName, getSelf); + case 1: + return function(n, S) { + return function(a) { + return S(this)[n](a); + }; + }(stubName, getSelf); + case 2: + return function(n, S) { + return function(a, b) { + return S(this)[n](a, b); + }; + }(stubName, getSelf); + case 3: + return function(n, S) { + return function(a, b, c) { + return S(this)[n](a, b, c); + }; + }(stubName, getSelf); + case 4: + return function(n, S) { + return function(a, b, c, d) { + return S(this)[n](a, b, c, d); + }; + }(stubName, getSelf); + case 5: + return function(n, S) { + return function(a, b, c, d, e) { + return S(this)[n](a, b, c, d, e); + }; + }(stubName, getSelf); + default: + return function(f, s) { + return function() { + return f.apply(s(this), arguments); + }; + }($function, getSelf); + } + }, + Closure_forwardCallTo: function(receiver, $function, isIntercepted) { + var stubName, arity, lookedUpFunction, t1, t2, selfName, $arguments; + if (isIntercepted) + return H.Closure_forwardInterceptedCallTo(receiver, $function); + stubName = $function.$stubName; + arity = $function.length; + lookedUpFunction = receiver[stubName]; + t1 = $function == null ? lookedUpFunction == null : $function === lookedUpFunction; + t2 = !t1 || arity >= 27; + if (t2) + return H.Closure_cspForwardCall(arity, !t1, stubName, $function); + if (arity === 0) { + t1 = $.Closure_functionCounter; + if (typeof t1 !== "number") + return t1.$add(); + $.Closure_functionCounter = t1 + 1; + selfName = "self" + t1; + t1 = "return function(){var " + selfName + " = this."; + t2 = $.BoundClosure_selfFieldNameCache; + return new Function(t1 + (t2 == null ? $.BoundClosure_selfFieldNameCache = H.BoundClosure_computeFieldNamed("self") : t2) + ";return " + selfName + "." + H.S(stubName) + "();}")(); + } + $arguments = "abcdefghijklmnopqrstuvwxyz".split("").splice(0, arity).join(","); + t1 = $.Closure_functionCounter; + if (typeof t1 !== "number") + return t1.$add(); + $.Closure_functionCounter = t1 + 1; + $arguments += t1; + t1 = "return function(" + $arguments + "){return this."; + t2 = $.BoundClosure_selfFieldNameCache; + return new Function(t1 + (t2 == null ? $.BoundClosure_selfFieldNameCache = H.BoundClosure_computeFieldNamed("self") : t2) + "." + H.S(stubName) + "(" + $arguments + ");}")(); + }, + Closure_cspForwardInterceptedCall: function(arity, isSuperCall, $name, $function) { + var getSelf = H.BoundClosure_selfOf, + getReceiver = H.BoundClosure_receiverOf; + switch (isSuperCall ? -1 : arity) { + case 0: + throw H.wrapException(new H.RuntimeError("Intercepted function with no arguments.")); + case 1: + return function(n, s, r) { + return function() { + return s(this)[n](r(this)); + }; + }($name, getSelf, getReceiver); + case 2: + return function(n, s, r) { + return function(a) { + return s(this)[n](r(this), a); + }; + }($name, getSelf, getReceiver); + case 3: + return function(n, s, r) { + return function(a, b) { + return s(this)[n](r(this), a, b); + }; + }($name, getSelf, getReceiver); + case 4: + return function(n, s, r) { + return function(a, b, c) { + return s(this)[n](r(this), a, b, c); + }; + }($name, getSelf, getReceiver); + case 5: + return function(n, s, r) { + return function(a, b, c, d) { + return s(this)[n](r(this), a, b, c, d); + }; + }($name, getSelf, getReceiver); + case 6: + return function(n, s, r) { + return function(a, b, c, d, e) { + return s(this)[n](r(this), a, b, c, d, e); + }; + }($name, getSelf, getReceiver); + default: + return function(f, s, r, a) { + return function() { + a = [r(this)]; + Array.prototype.push.apply(a, arguments); + return f.apply(s(this), a); + }; + }($function, getSelf, getReceiver); + } + }, + Closure_forwardInterceptedCallTo: function(receiver, $function) { + var receiverField, stubName, arity, lookedUpFunction, t1, t2, $arguments, + selfField = $.BoundClosure_selfFieldNameCache; + if (selfField == null) + selfField = $.BoundClosure_selfFieldNameCache = H.BoundClosure_computeFieldNamed("self"); + receiverField = $.BoundClosure_receiverFieldNameCache; + if (receiverField == null) + receiverField = $.BoundClosure_receiverFieldNameCache = H.BoundClosure_computeFieldNamed("receiver"); + stubName = $function.$stubName; + arity = $function.length; + lookedUpFunction = receiver[stubName]; + t1 = $function == null ? lookedUpFunction == null : $function === lookedUpFunction; + t2 = !t1 || arity >= 28; + if (t2) + return H.Closure_cspForwardInterceptedCall(arity, !t1, stubName, $function); + if (arity === 1) { + t1 = "return function(){return this." + selfField + "." + H.S(stubName) + "(this." + receiverField + ");"; + t2 = $.Closure_functionCounter; + if (typeof t2 !== "number") + return t2.$add(); + $.Closure_functionCounter = t2 + 1; + return new Function(t1 + t2 + "}")(); + } + $arguments = "abcdefghijklmnopqrstuvwxyz".split("").splice(0, arity - 1).join(","); + t1 = "return function(" + $arguments + "){return this." + selfField + "." + H.S(stubName) + "(this." + receiverField + ", " + $arguments + ");"; + t2 = $.Closure_functionCounter; + if (typeof t2 !== "number") + return t2.$add(); + $.Closure_functionCounter = t2 + 1; + return new Function(t1 + t2 + "}")(); + }, + closureFromTearOff: function(receiver, functions, applyTrampolineIndex, reflectionInfo, isStatic, isIntercepted, $name) { + return H.Closure_fromTearOff(receiver, functions, applyTrampolineIndex, reflectionInfo, !!isStatic, !!isIntercepted, $name); + }, + BoundClosure_evalRecipe: function(closure, recipe) { + return H._Universe_evalInEnvironment(init.typeUniverse, H.instanceType(closure._self), recipe); + }, + BoundClosure_evalRecipeIntercepted: function(closure, recipe) { + return H._Universe_evalInEnvironment(init.typeUniverse, H.instanceType(closure._receiver), recipe); + }, + BoundClosure_selfOf: function(closure) { + return closure._self; + }, + BoundClosure_receiverOf: function(closure) { + return closure._receiver; + }, + BoundClosure_computeFieldNamed: function(fieldName) { + var t1, i, $name, + template = new H.BoundClosure("self", "target", "receiver", "name"), + names = J.JSArray_markFixedList(Object.getOwnPropertyNames(template), type$.nullable_Object); + for (t1 = names.length, i = 0; i < t1; ++i) { + $name = names[i]; + if (template[$name] === fieldName) + return $name; + } + throw H.wrapException(P.ArgumentError$("Field name " + fieldName + " not found.")); + }, + boolConversionCheck: function(value) { + if (value == null) + H.assertThrow("boolean expression must not be null"); + return value; + }, + assertThrow: function(message) { + throw H.wrapException(new H._AssertionError(message)); + }, + throwCyclicInit: function(staticName) { + throw H.wrapException(new P.CyclicInitializationError(staticName)); + }, + getIsolateAffinityTag: function($name) { + return init.getIsolateTag($name); + }, + throwLateInitializationError: function($name) { + return H.throwExpression(new H.LateError($name)); + }, + defineProperty: function(obj, property, value) { + Object.defineProperty(obj, property, {value: value, enumerable: false, writable: true, configurable: true}); + }, + lookupAndCacheInterceptor: function(obj) { + var interceptor, interceptorClass, altTag, mark, t1, + tag = H._asStringS($.getTagFunction.call$1(obj)), + record = $.dispatchRecordsForInstanceTags[tag]; + if (record != null) { + Object.defineProperty(obj, init.dispatchPropertyName, {value: record, enumerable: false, writable: true, configurable: true}); + return record.i; + } + interceptor = $.interceptorsForUncacheableTags[tag]; + if (interceptor != null) + return interceptor; + interceptorClass = init.interceptorsByTag[tag]; + if (interceptorClass == null) { + altTag = H._asStringQ($.alternateTagFunction.call$2(obj, tag)); + if (altTag != null) { + record = $.dispatchRecordsForInstanceTags[altTag]; + if (record != null) { + Object.defineProperty(obj, init.dispatchPropertyName, {value: record, enumerable: false, writable: true, configurable: true}); + return record.i; + } + interceptor = $.interceptorsForUncacheableTags[altTag]; + if (interceptor != null) + return interceptor; + interceptorClass = init.interceptorsByTag[altTag]; + tag = altTag; + } + } + if (interceptorClass == null) + return null; + interceptor = interceptorClass.prototype; + mark = tag[0]; + if (mark === "!") { + record = H.makeLeafDispatchRecord(interceptor); + $.dispatchRecordsForInstanceTags[tag] = record; + Object.defineProperty(obj, init.dispatchPropertyName, {value: record, enumerable: false, writable: true, configurable: true}); + return record.i; + } + if (mark === "~") { + $.interceptorsForUncacheableTags[tag] = interceptor; + return interceptor; + } + if (mark === "-") { + t1 = H.makeLeafDispatchRecord(interceptor); + Object.defineProperty(Object.getPrototypeOf(obj), init.dispatchPropertyName, {value: t1, enumerable: false, writable: true, configurable: true}); + return t1.i; + } + if (mark === "+") + return H.patchInteriorProto(obj, interceptor); + if (mark === "*") + throw H.wrapException(P.UnimplementedError$(tag)); + if (init.leafTags[tag] === true) { + t1 = H.makeLeafDispatchRecord(interceptor); + Object.defineProperty(Object.getPrototypeOf(obj), init.dispatchPropertyName, {value: t1, enumerable: false, writable: true, configurable: true}); + return t1.i; + } else + return H.patchInteriorProto(obj, interceptor); + }, + patchInteriorProto: function(obj, interceptor) { + var proto = Object.getPrototypeOf(obj); + Object.defineProperty(proto, init.dispatchPropertyName, {value: J.makeDispatchRecord(interceptor, proto, null, null), enumerable: false, writable: true, configurable: true}); + return interceptor; + }, + makeLeafDispatchRecord: function(interceptor) { + return J.makeDispatchRecord(interceptor, false, null, !!interceptor.$isJavaScriptIndexingBehavior); + }, + makeDefaultDispatchRecord: function(tag, interceptorClass, proto) { + var interceptor = interceptorClass.prototype; + if (init.leafTags[tag] === true) + return H.makeLeafDispatchRecord(interceptor); + else + return J.makeDispatchRecord(interceptor, proto, null, null); + }, + initNativeDispatch: function() { + if (true === $.initNativeDispatchFlag) + return; + $.initNativeDispatchFlag = true; + H.initNativeDispatchContinue(); + }, + initNativeDispatchContinue: function() { + var map, tags, fun, i, tag, proto, record, interceptorClass; + $.dispatchRecordsForInstanceTags = Object.create(null); + $.interceptorsForUncacheableTags = Object.create(null); + H.initHooks(); + map = init.interceptorsByTag; + tags = Object.getOwnPropertyNames(map); + if (typeof window != "undefined") { + window; + fun = function() { + }; + for (i = 0; i < tags.length; ++i) { + tag = tags[i]; + proto = $.prototypeForTagFunction.call$1(tag); + if (proto != null) { + record = H.makeDefaultDispatchRecord(tag, map[tag], proto); + if (record != null) { + Object.defineProperty(proto, init.dispatchPropertyName, {value: record, enumerable: false, writable: true, configurable: true}); + fun.prototype = proto; + } + } + } + } + for (i = 0; i < tags.length; ++i) { + tag = tags[i]; + if (/^[A-Za-z_]/.test(tag)) { + interceptorClass = map[tag]; + map["!" + tag] = interceptorClass; + map["~" + tag] = interceptorClass; + map["-" + tag] = interceptorClass; + map["+" + tag] = interceptorClass; + map["*" + tag] = interceptorClass; + } + } + }, + initHooks: function() { + var transformers, i, transformer, getTag, getUnknownTag, prototypeForTag, + hooks = C.C_JS_CONST0(); + hooks = H.applyHooksTransformer(C.C_JS_CONST1, H.applyHooksTransformer(C.C_JS_CONST2, H.applyHooksTransformer(C.C_JS_CONST3, H.applyHooksTransformer(C.C_JS_CONST3, H.applyHooksTransformer(C.C_JS_CONST4, H.applyHooksTransformer(C.C_JS_CONST5, H.applyHooksTransformer(C.C_JS_CONST6(C.C_JS_CONST), hooks))))))); + if (typeof dartNativeDispatchHooksTransformer != "undefined") { + transformers = dartNativeDispatchHooksTransformer; + if (typeof transformers == "function") + transformers = [transformers]; + if (transformers.constructor == Array) + for (i = 0; i < transformers.length; ++i) { + transformer = transformers[i]; + if (typeof transformer == "function") + hooks = transformer(hooks) || hooks; + } + } + getTag = hooks.getTag; + getUnknownTag = hooks.getUnknownTag; + prototypeForTag = hooks.prototypeForTag; + $.getTagFunction = new H.initHooks_closure(getTag); + $.alternateTagFunction = new H.initHooks_closure0(getUnknownTag); + $.prototypeForTagFunction = new H.initHooks_closure1(prototypeForTag); + }, + applyHooksTransformer: function(transformer, hooks) { + return transformer(hooks) || hooks; + }, + JSSyntaxRegExp_makeNative: function(source, multiLine, caseSensitive, unicode, dotAll, global) { + var m = multiLine ? "m" : "", + i = caseSensitive ? "" : "i", + u = unicode ? "u" : "", + s = dotAll ? "s" : "", + g = global ? "g" : "", + regexp = function(source, modifiers) { + try { + return new RegExp(source, modifiers); + } catch (e) { + return e; + } + }(source, m + i + u + s + g); + if (regexp instanceof RegExp) + return regexp; + throw H.wrapException(P.FormatException$("Illegal RegExp pattern (" + String(regexp) + ")", source, null)); + }, + stringContainsUnchecked: function(receiver, other, startIndex) { + var t1; + if (typeof other == "string") + return receiver.indexOf(other, startIndex) >= 0; + else if (other instanceof H.JSSyntaxRegExp) { + t1 = C.JSString_methods.substring$1(receiver, startIndex); + return other._nativeRegExp.test(t1); + } else { + t1 = J.allMatches$1$s(other, C.JSString_methods.substring$1(receiver, startIndex)); + return !t1.get$isEmpty(t1); + } + }, + escapeReplacement: function(replacement) { + if (replacement.indexOf("$", 0) >= 0) + return replacement.replace(/\$/g, "$$$$"); + return replacement; + }, + stringReplaceFirstRE: function(receiver, regexp, replacement, startIndex) { + var match = regexp._execGlobal$2(receiver, startIndex); + if (match == null) + return receiver; + return H.stringReplaceRangeUnchecked(receiver, match._match.index, match.get$end(match), replacement); + }, + quoteStringForRegExp: function(string) { + if (/[[\]{}()*+?.\\^$|]/.test(string)) + return string.replace(/[[\]{}()*+?.\\^$|]/g, "\\$&"); + return string; + }, + stringReplaceAllUnchecked: function(receiver, pattern, replacement) { + var nativeRegexp; + if (typeof pattern == "string") + return H.stringReplaceAllUncheckedString(receiver, pattern, replacement); + if (pattern instanceof H.JSSyntaxRegExp) { + nativeRegexp = pattern.get$_nativeGlobalVersion(); + nativeRegexp.lastIndex = 0; + return receiver.replace(nativeRegexp, H.escapeReplacement(replacement)); + } + if (pattern == null) + H.throwExpression(H.argumentErrorValue(pattern)); + throw H.wrapException("String.replaceAll(Pattern) UNIMPLEMENTED"); + }, + stringReplaceAllUncheckedString: function(receiver, pattern, replacement) { + var $length, t1, i, index; + if (pattern === "") { + if (receiver === "") + return replacement; + $length = receiver.length; + for (t1 = replacement, i = 0; i < $length; ++i) + t1 = t1 + receiver[i] + replacement; + return t1.charCodeAt(0) == 0 ? t1 : t1; + } + index = receiver.indexOf(pattern, 0); + if (index < 0) + return receiver; + if (receiver.length < 500 || replacement.indexOf("$", 0) >= 0) + return receiver.split(pattern).join(replacement); + return receiver.replace(new RegExp(H.quoteStringForRegExp(pattern), 'g'), H.escapeReplacement(replacement)); + }, + _stringIdentity: function(string) { + return string; + }, + stringReplaceAllFuncUnchecked: function(receiver, pattern, onMatch, onNonMatch) { + var t1, startIndex, t2, match, t3, t4; + if (!type$.Pattern._is(pattern)) + throw H.wrapException(P.ArgumentError$value(pattern, "pattern", "is not a Pattern")); + for (t1 = pattern.allMatches$1(0, receiver), t1 = new H._AllMatchesIterator(t1._re, t1._string, t1.__js_helper$_start), startIndex = 0, t2 = ""; t1.moveNext$0();) { + match = t1.__js_helper$_current; + t3 = match._match; + t4 = t3.index; + t2 = t2 + H.S(H._stringIdentity(C.JSString_methods.substring$2(receiver, startIndex, t4))) + H.S(onMatch.call$1(match)); + startIndex = t4 + t3[0].length; + } + t1 = t2 + H.S(H._stringIdentity(C.JSString_methods.substring$1(receiver, startIndex))); + return t1.charCodeAt(0) == 0 ? t1 : t1; + }, + stringReplaceFirstUnchecked: function(receiver, pattern, replacement, startIndex) { + var index, t1, matches, match; + if (typeof pattern == "string") { + index = receiver.indexOf(pattern, startIndex); + if (index < 0) + return receiver; + return H.stringReplaceRangeUnchecked(receiver, index, index + pattern.length, replacement); + } + if (pattern instanceof H.JSSyntaxRegExp) + return startIndex === 0 ? receiver.replace(pattern._nativeRegExp, H.escapeReplacement(replacement)) : H.stringReplaceFirstRE(receiver, pattern, replacement, startIndex); + t1 = J.allMatches$2$s(pattern, receiver, startIndex); + matches = type$.Iterator_Match._as(t1.get$iterator(t1)); + if (!matches.moveNext$0()) + return receiver; + match = matches.get$current(matches); + return C.JSString_methods.replaceRange$3(receiver, match.get$start(match), match.get$end(match), replacement); + }, + stringReplaceRangeUnchecked: function(receiver, start, end, replacement) { + var prefix = receiver.substring(0, start), + suffix = receiver.substring(end); + return prefix + replacement + suffix; + }, + ConstantMapView: function ConstantMapView(t0, t1) { + this._collection$_map = t0; + this.$ti = t1; + }, + ConstantMap: function ConstantMap() { + }, + ConstantMap_map_closure: function ConstantMap_map_closure(t0, t1, t2) { + this.$this = t0; + this.transform = t1; + this.result = t2; + }, + ConstantStringMap: function ConstantStringMap(t0, t1, t2, t3) { + var _ = this; + _.__js_helper$_length = t0; + _._jsObject = t1; + _.__js_helper$_keys = t2; + _.$ti = t3; + }, + ConstantStringMap_values_closure: function ConstantStringMap_values_closure(t0) { + this.$this = t0; + }, + _ConstantMapKeyIterable: function _ConstantMapKeyIterable(t0, t1) { + this._map = t0; + this.$ti = t1; + }, + GeneralConstantMap: function GeneralConstantMap(t0, t1) { + this._jsData = t0; + this.$ti = t1; + }, + Instantiation: function Instantiation() { + }, + Instantiation1: function Instantiation1(t0, t1) { + this._genericClosure = t0; + this.$ti = t1; + }, + JSInvocationMirror: function JSInvocationMirror(t0, t1, t2, t3, t4) { + var _ = this; + _._memberName = t0; + _.__js_helper$_kind = t1; + _._arguments = t2; + _._namedArgumentNames = t3; + _._typeArgumentCount = t4; + }, + Primitives_functionNoSuchMethod_closure: function Primitives_functionNoSuchMethod_closure(t0, t1, t2) { + this._box_0 = t0; + this.namedArgumentList = t1; + this.$arguments = t2; + }, + TypeErrorDecoder: function TypeErrorDecoder(t0, t1, t2, t3, t4, t5) { + var _ = this; + _._pattern = t0; + _._arguments = t1; + _._argumentsExpr = t2; + _._expr = t3; + _._method = t4; + _._receiver = t5; + }, + NullError: function NullError(t0, t1) { + this.__js_helper$_message = t0; + this._method = t1; + }, + JsNoSuchMethodError: function JsNoSuchMethodError(t0, t1, t2) { + this.__js_helper$_message = t0; + this._method = t1; + this._receiver = t2; + }, + UnknownJsTypeError: function UnknownJsTypeError(t0) { + this.__js_helper$_message = t0; + }, + NullThrownFromJavaScriptException: function NullThrownFromJavaScriptException(t0) { + this._irritant = t0; + }, + ExceptionAndStackTrace: function ExceptionAndStackTrace(t0, t1) { + this.dartException = t0; + this.stackTrace = t1; + }, + _StackTrace: function _StackTrace(t0) { + this._exception = t0; + this._trace = null; + }, + Closure: function Closure() { + }, + TearOffClosure: function TearOffClosure() { + }, + StaticClosure: function StaticClosure() { + }, + BoundClosure: function BoundClosure(t0, t1, t2, t3) { + var _ = this; + _._self = t0; + _._target = t1; + _._receiver = t2; + _._name = t3; + }, + RuntimeError: function RuntimeError(t0) { + this.message = t0; + }, + _AssertionError: function _AssertionError(t0) { + this.message = t0; + }, + _Required: function _Required() { + }, + JsLinkedHashMap: function JsLinkedHashMap(t0) { + var _ = this; + _.__js_helper$_length = 0; + _._last = _._first = _.__js_helper$_rest = _._nums = _._strings = null; + _._modifications = 0; + _.$ti = t0; + }, + JsLinkedHashMap_values_closure: function JsLinkedHashMap_values_closure(t0) { + this.$this = t0; + }, + JsLinkedHashMap_addAll_closure: function JsLinkedHashMap_addAll_closure(t0) { + this.$this = t0; + }, + LinkedHashMapCell: function LinkedHashMapCell(t0, t1) { + var _ = this; + _.hashMapCellKey = t0; + _.hashMapCellValue = t1; + _._previous = _._next = null; + }, + LinkedHashMapKeyIterable: function LinkedHashMapKeyIterable(t0, t1) { + this._map = t0; + this.$ti = t1; + }, + LinkedHashMapKeyIterator: function LinkedHashMapKeyIterator(t0, t1, t2) { + var _ = this; + _._map = t0; + _._modifications = t1; + _.__js_helper$_current = _._cell = null; + _.$ti = t2; + }, + initHooks_closure: function initHooks_closure(t0) { + this.getTag = t0; + }, + initHooks_closure0: function initHooks_closure0(t0) { + this.getUnknownTag = t0; + }, + initHooks_closure1: function initHooks_closure1(t0) { + this.prototypeForTag = t0; + }, + JSSyntaxRegExp: function JSSyntaxRegExp(t0, t1) { + var _ = this; + _.pattern = t0; + _._nativeRegExp = t1; + _._nativeAnchoredRegExp = _._nativeGlobalRegExp = null; + }, + _MatchImplementation: function _MatchImplementation(t0) { + this._match = t0; + }, + _AllMatchesIterable: function _AllMatchesIterable(t0, t1, t2) { + this._re = t0; + this._string = t1; + this.__js_helper$_start = t2; + }, + _AllMatchesIterator: function _AllMatchesIterator(t0, t1, t2) { + var _ = this; + _._regExp = t0; + _._string = t1; + _._nextIndex = t2; + _.__js_helper$_current = null; + }, + StringMatch: function StringMatch(t0, t1) { + this.start = t0; + this.pattern = t1; + }, + _StringAllMatchesIterable: function _StringAllMatchesIterable(t0, t1, t2) { + this._input = t0; + this._pattern = t1; + this.__js_helper$_index = t2; + }, + _StringAllMatchesIterator: function _StringAllMatchesIterator(t0, t1, t2) { + var _ = this; + _._input = t0; + _._pattern = t1; + _.__js_helper$_index = t2; + _.__js_helper$_current = null; + }, + _checkViewArguments: function(buffer, offsetInBytes, $length) { + if (!H._isInt(offsetInBytes)) + throw H.wrapException(P.ArgumentError$("Invalid view offsetInBytes " + H.S(offsetInBytes))); + }, + _ensureNativeList: function(list) { + var t1, result, i, t2; + if (type$.JSIndexable_dynamic._is(list)) + return list; + t1 = J.getInterceptor$asx(list); + result = P.List_List$filled(t1.get$length(list), null, false, type$.dynamic); + i = 0; + while (true) { + t2 = t1.get$length(list); + if (typeof t2 !== "number") + return H.iae(t2); + if (!(i < t2)) + break; + C.JSArray_methods.$indexSet(result, i, t1.$index(list, i)); + ++i; + } + return result; + }, + NativeByteData_NativeByteData$view: function(buffer, offsetInBytes, $length) { + var t1; + H._checkViewArguments(buffer, offsetInBytes, $length); + t1 = new DataView(buffer, offsetInBytes, $length); + return t1; + }, + NativeInt32List_NativeInt32List: function($length) { + return new Int32Array($length); + }, + NativeInt8List__create1: function(arg) { + return new Int8Array(arg); + }, + NativeUint8List_NativeUint8List: function($length) { + if (!H._isInt($length)) + H.throwExpression(P.ArgumentError$("Invalid length " + H.S($length))); + return new Uint8Array($length); + }, + NativeUint8List_NativeUint8List$view: function(buffer, offsetInBytes, $length) { + H._checkViewArguments(buffer, offsetInBytes, $length); + return $length == null ? new Uint8Array(buffer, offsetInBytes) : new Uint8Array(buffer, offsetInBytes, $length); + }, + _checkValidIndex: function(index, list, $length) { + if (index >>> 0 !== index || index >= $length) + throw H.wrapException(H.diagnoseIndexError(list, index)); + }, + _checkValidRange: function(start, end, $length) { + var t1; + if (!(start >>> 0 !== start)) + if (end == null) + t1 = start > $length; + else + t1 = end >>> 0 !== end || start > end || end > $length; + else + t1 = true; + if (t1) + throw H.wrapException(H.diagnoseRangeError(start, end, $length)); + if (end == null) + return $length; + return end; + }, + NativeByteBuffer: function NativeByteBuffer() { + }, + NativeTypedData: function NativeTypedData() { + }, + NativeByteData: function NativeByteData() { + }, + NativeTypedArray: function NativeTypedArray() { + }, + NativeTypedArrayOfDouble: function NativeTypedArrayOfDouble() { + }, + NativeTypedArrayOfInt: function NativeTypedArrayOfInt() { + }, + NativeFloat32List: function NativeFloat32List() { + }, + NativeFloat64List: function NativeFloat64List() { + }, + NativeInt16List: function NativeInt16List() { + }, + NativeInt32List: function NativeInt32List() { + }, + NativeInt8List: function NativeInt8List() { + }, + NativeUint16List: function NativeUint16List() { + }, + NativeUint32List: function NativeUint32List() { + }, + NativeUint8ClampedList: function NativeUint8ClampedList() { + }, + NativeUint8List: function NativeUint8List() { + }, + _NativeTypedArrayOfDouble_NativeTypedArray_ListMixin: function _NativeTypedArrayOfDouble_NativeTypedArray_ListMixin() { + }, + _NativeTypedArrayOfDouble_NativeTypedArray_ListMixin_FixedLengthListMixin: function _NativeTypedArrayOfDouble_NativeTypedArray_ListMixin_FixedLengthListMixin() { + }, + _NativeTypedArrayOfInt_NativeTypedArray_ListMixin: function _NativeTypedArrayOfInt_NativeTypedArray_ListMixin() { + }, + _NativeTypedArrayOfInt_NativeTypedArray_ListMixin_FixedLengthListMixin: function _NativeTypedArrayOfInt_NativeTypedArray_ListMixin_FixedLengthListMixin() { + }, + Rti__getQuestionFromStar: function(universe, rti) { + var question = rti._precomputed1; + return question == null ? rti._precomputed1 = H._Universe__lookupQuestionRti(universe, rti._primary, true) : question; + }, + Rti__getFutureFromFutureOr: function(universe, rti) { + var future = rti._precomputed1; + return future == null ? rti._precomputed1 = H._Universe__lookupInterfaceRti(universe, "Future", [rti._primary]) : future; + }, + Rti__isUnionOfFunctionType: function(rti) { + var kind = rti._kind; + if (kind === 6 || kind === 7 || kind === 8) + return H.Rti__isUnionOfFunctionType(rti._primary); + return kind === 11 || kind === 12; + }, + Rti__getCanonicalRecipe: function(rti) { + return rti._canonicalRecipe; + }, + findType: function(recipe) { + return H._Universe_eval(init.typeUniverse, recipe, false); + }, + instantiatedGenericFunctionType: function(genericFunctionRti, instantiationRti) { + var t1, cache, key, probe, rti; + if (genericFunctionRti == null) + return null; + t1 = instantiationRti._rest; + cache = genericFunctionRti._bindCache; + if (cache == null) + cache = genericFunctionRti._bindCache = new Map(); + key = instantiationRti._canonicalRecipe; + probe = cache.get(key); + if (probe != null) + return probe; + rti = H._substitute(init.typeUniverse, genericFunctionRti._primary, t1, 0); + cache.set(key, rti); + return rti; + }, + _substitute: function(universe, rti, typeArguments, depth) { + var baseType, substitutedBaseType, interfaceTypeArguments, substitutedInterfaceTypeArguments, base, substitutedBase, $arguments, substitutedArguments, returnType, substitutedReturnType, functionParameters, substitutedFunctionParameters, bounds, substitutedBounds, index, argument, + kind = rti._kind; + switch (kind) { + case 5: + case 1: + case 2: + case 3: + case 4: + return rti; + case 6: + baseType = rti._primary; + substitutedBaseType = H._substitute(universe, baseType, typeArguments, depth); + if (substitutedBaseType === baseType) + return rti; + return H._Universe__lookupStarRti(universe, substitutedBaseType, true); + case 7: + baseType = rti._primary; + substitutedBaseType = H._substitute(universe, baseType, typeArguments, depth); + if (substitutedBaseType === baseType) + return rti; + return H._Universe__lookupQuestionRti(universe, substitutedBaseType, true); + case 8: + baseType = rti._primary; + substitutedBaseType = H._substitute(universe, baseType, typeArguments, depth); + if (substitutedBaseType === baseType) + return rti; + return H._Universe__lookupFutureOrRti(universe, substitutedBaseType, true); + case 9: + interfaceTypeArguments = rti._rest; + substitutedInterfaceTypeArguments = H._substituteArray(universe, interfaceTypeArguments, typeArguments, depth); + if (substitutedInterfaceTypeArguments === interfaceTypeArguments) + return rti; + return H._Universe__lookupInterfaceRti(universe, rti._primary, substitutedInterfaceTypeArguments); + case 10: + base = rti._primary; + substitutedBase = H._substitute(universe, base, typeArguments, depth); + $arguments = rti._rest; + substitutedArguments = H._substituteArray(universe, $arguments, typeArguments, depth); + if (substitutedBase === base && substitutedArguments === $arguments) + return rti; + return H._Universe__lookupBindingRti(universe, substitutedBase, substitutedArguments); + case 11: + returnType = rti._primary; + substitutedReturnType = H._substitute(universe, returnType, typeArguments, depth); + functionParameters = rti._rest; + substitutedFunctionParameters = H._substituteFunctionParameters(universe, functionParameters, typeArguments, depth); + if (substitutedReturnType === returnType && substitutedFunctionParameters === functionParameters) + return rti; + return H._Universe__lookupFunctionRti(universe, substitutedReturnType, substitutedFunctionParameters); + case 12: + bounds = rti._rest; + depth += bounds.length; + substitutedBounds = H._substituteArray(universe, bounds, typeArguments, depth); + base = rti._primary; + substitutedBase = H._substitute(universe, base, typeArguments, depth); + if (substitutedBounds === bounds && substitutedBase === base) + return rti; + return H._Universe__lookupGenericFunctionRti(universe, substitutedBase, substitutedBounds, true); + case 13: + index = rti._primary; + if (index < depth) + return rti; + argument = typeArguments[index - depth]; + if (argument == null) + return rti; + return argument; + default: + throw H.wrapException(P.AssertionError$("Attempted to substitute unexpected RTI kind " + kind)); + } + }, + _substituteArray: function(universe, rtiArray, typeArguments, depth) { + var changed, i, rti, substitutedRti, + $length = rtiArray.length, + result = []; + for (changed = false, i = 0; i < $length; ++i) { + rti = rtiArray[i]; + substitutedRti = H._substitute(universe, rti, typeArguments, depth); + if (substitutedRti !== rti) + changed = true; + result.push(substitutedRti); + } + return changed ? result : rtiArray; + }, + _substituteNamed: function(universe, namedArray, typeArguments, depth) { + var changed, i, t1, t2, rti, substitutedRti, + $length = namedArray.length, + result = []; + for (changed = false, i = 0; i < $length; i += 3) { + t1 = namedArray[i]; + t2 = namedArray[i + 1]; + rti = namedArray[i + 2]; + substitutedRti = H._substitute(universe, rti, typeArguments, depth); + if (substitutedRti !== rti) + changed = true; + result.push(t1); + result.push(t2); + result.push(substitutedRti); + } + return changed ? result : namedArray; + }, + _substituteFunctionParameters: function(universe, functionParameters, typeArguments, depth) { + var result, + requiredPositional = functionParameters._requiredPositional, + substitutedRequiredPositional = H._substituteArray(universe, requiredPositional, typeArguments, depth), + optionalPositional = functionParameters._optionalPositional, + substitutedOptionalPositional = H._substituteArray(universe, optionalPositional, typeArguments, depth), + named = functionParameters._named, + substitutedNamed = H._substituteNamed(universe, named, typeArguments, depth); + if (substitutedRequiredPositional === requiredPositional && substitutedOptionalPositional === optionalPositional && substitutedNamed === named) + return functionParameters; + result = new H._FunctionParameters(); + result._requiredPositional = substitutedRequiredPositional; + result._optionalPositional = substitutedOptionalPositional; + result._named = substitutedNamed; + return result; + }, + setRuntimeTypeInfo: function(target, rti) { + target[init.arrayRti] = rti; + return target; + }, + closureFunctionType: function(closure) { + var signature = closure.$signature; + if (signature != null) { + if (typeof signature == "number") + return H.getTypeFromTypesTable(signature); + return closure.$signature(); + } + return null; + }, + instanceOrFunctionType: function(object, testRti) { + var rti; + if (H.Rti__isUnionOfFunctionType(testRti)) + if (object instanceof H.Closure) { + rti = H.closureFunctionType(object); + if (rti != null) + return rti; + } + return H.instanceType(object); + }, + instanceType: function(object) { + var rti; + if (object instanceof P.Object) { + rti = object.$ti; + return rti != null ? rti : H._instanceTypeFromConstructor(object); + } + if (Array.isArray(object)) + return H._arrayInstanceType(object); + return H._instanceTypeFromConstructor(J.getInterceptor$(object)); + }, + _arrayInstanceType: function(object) { + var rti = object[init.arrayRti], + defaultRti = type$.JSArray_dynamic; + if (rti == null) + return defaultRti; + if (rti.constructor !== defaultRti.constructor) + return defaultRti; + return rti; + }, + _instanceType: function(object) { + var rti = object.$ti; + return rti != null ? rti : H._instanceTypeFromConstructor(object); + }, + _instanceTypeFromConstructor: function(instance) { + var $constructor = instance.constructor, + probe = $constructor.$ccache; + if (probe != null) + return probe; + return H._instanceTypeFromConstructorMiss(instance, $constructor); + }, + _instanceTypeFromConstructorMiss: function(instance, $constructor) { + var effectiveConstructor = instance instanceof H.Closure ? instance.__proto__.__proto__.constructor : $constructor, + rti = H._Universe_findErasedType(init.typeUniverse, effectiveConstructor.name); + $constructor.$ccache = rti; + return rti; + }, + getTypeFromTypesTable: function(index) { + var table, type, rti; + H._asIntS(index); + table = init.types; + type = table[index]; + if (typeof type == "string") { + rti = H._Universe_eval(init.typeUniverse, type, false); + table[index] = rti; + return rti; + } + return type; + }, + getRuntimeType: function(object) { + var rti = object instanceof H.Closure ? H.closureFunctionType(object) : null; + return H.createRuntimeType(rti == null ? H.instanceType(object) : rti); + }, + createRuntimeType: function(rti) { + var recipe, starErasedRecipe, starErasedRti, + type = rti._cachedRuntimeType; + if (type != null) + return type; + recipe = rti._canonicalRecipe; + starErasedRecipe = recipe.replace(/\*/g, ""); + if (starErasedRecipe === recipe) + return rti._cachedRuntimeType = new H._Type(rti); + starErasedRti = H._Universe_eval(init.typeUniverse, starErasedRecipe, true); + type = starErasedRti._cachedRuntimeType; + return rti._cachedRuntimeType = type == null ? starErasedRti._cachedRuntimeType = new H._Type(starErasedRti) : type; + }, + typeLiteral: function(recipe) { + return H.createRuntimeType(H._Universe_eval(init.typeUniverse, recipe, false)); + }, + _installSpecializedIsTest: function(object) { + var unstarred, isFn, testRti = this, + t1 = type$.Object; + if (testRti === t1) + return H._finishIsFn(testRti, object, H._isObject); + if (!H.isStrongTopType(testRti)) + if (!(testRti === type$.legacy_Object)) + t1 = testRti === t1; + else + t1 = true; + else + t1 = true; + if (t1) + return H._finishIsFn(testRti, object, H._isTop); + t1 = testRti._kind; + unstarred = t1 === 6 ? testRti._primary : testRti; + if (unstarred === type$.int) + isFn = H._isInt; + else if (unstarred === type$.double || unstarred === type$.num) + isFn = H._isNum; + else if (unstarred === type$.String) + isFn = H._isString; + else + isFn = unstarred === type$.bool ? H._isBool : null; + if (isFn != null) + return H._finishIsFn(testRti, object, isFn); + if (unstarred._kind === 9) { + t1 = unstarred._primary; + if (unstarred._rest.every(H.isTopType)) { + testRti._specializedTestResource = "$is" + t1; + return H._finishIsFn(testRti, object, H._isTestViaProperty); + } + } else if (t1 === 7) + return H._finishIsFn(testRti, object, H._generalNullableIsTestImplementation); + return H._finishIsFn(testRti, object, H._generalIsTestImplementation); + }, + _finishIsFn: function(testRti, object, isFn) { + testRti._is = isFn; + return testRti._is(object); + }, + _installSpecializedAsCheck: function(object) { + var t1, asFn, testRti = this; + if (!H.isStrongTopType(testRti)) + if (!(testRti === type$.legacy_Object)) + t1 = testRti === type$.Object; + else + t1 = true; + else + t1 = true; + if (t1) + asFn = H._asTop; + else if (testRti === type$.Object) + asFn = H._asObject; + else + asFn = H._generalNullableAsCheckImplementation; + testRti._as = asFn; + return testRti._as(object); + }, + _nullIs: function(testRti) { + var t1, + kind = testRti._kind; + if (!H.isStrongTopType(testRti)) + if (!(testRti === type$.legacy_Object)) + if (!(testRti === type$.legacy_Never)) + if (kind !== 7) + t1 = kind === 8 && H._nullIs(testRti._primary) || testRti === type$.Null || testRti === type$.JSNull; + else + t1 = true; + else + t1 = true; + else + t1 = true; + else + t1 = true; + return t1; + }, + _generalIsTestImplementation: function(object) { + var testRti = this; + if (object == null) + return H._nullIs(testRti); + return H._isSubtype(init.typeUniverse, H.instanceOrFunctionType(object, testRti), null, testRti, null); + }, + _generalNullableIsTestImplementation: function(object) { + if (object == null) + return true; + return this._primary._is(object); + }, + _isTestViaProperty: function(object) { + var tag, testRti = this; + if (object == null) + return H._nullIs(testRti); + tag = testRti._specializedTestResource; + if (object instanceof P.Object) + return !!object[tag]; + return !!J.getInterceptor$(object)[tag]; + }, + _generalAsCheckImplementation: function(object) { + var testRti = this; + if (object == null) + return object; + else if (testRti._is(object)) + return object; + H._failedAsCheck(object, testRti); + }, + _generalNullableAsCheckImplementation: function(object) { + var testRti = this; + if (object == null) + return object; + else if (testRti._is(object)) + return object; + H._failedAsCheck(object, testRti); + }, + _failedAsCheck: function(object, testRti) { + throw H.wrapException(H._TypeError$fromMessage(H._Error_compose(object, H.instanceOrFunctionType(object, testRti), H._rtiToString(testRti, null)))); + }, + checkTypeBound: function(type, bound, variable, methodName) { + var _null = null; + if (H._isSubtype(init.typeUniverse, type, _null, bound, _null)) + return type; + throw H.wrapException(H._TypeError$fromMessage("The type argument '" + H.S(H._rtiToString(type, _null)) + "' is not a subtype of the type variable bound '" + H.S(H._rtiToString(bound, _null)) + "' of type variable '" + H.S(variable) + "' in '" + H.S(methodName) + "'.")); + }, + _Error_compose: function(object, objectRti, checkedTypeDescription) { + var objectDescription = P.Error_safeToString(object), + objectTypeDescription = H._rtiToString(objectRti == null ? H.instanceType(object) : objectRti, null); + return objectDescription + ": type '" + H.S(objectTypeDescription) + "' is not a subtype of type '" + H.S(checkedTypeDescription) + "'"; + }, + _TypeError$fromMessage: function(message) { + return new H._TypeError("TypeError: " + message); + }, + _TypeError__TypeError$forType: function(object, type) { + return new H._TypeError("TypeError: " + H._Error_compose(object, null, type)); + }, + _isObject: function(object) { + return object != null; + }, + _asObject: function(object) { + return object; + }, + _isTop: function(object) { + return true; + }, + _asTop: function(object) { + return object; + }, + _isBool: function(object) { + return true === object || false === object; + }, + _asBool: function(object) { + if (true === object) + return true; + if (false === object) + return false; + throw H.wrapException(H._TypeError__TypeError$forType(object, "bool")); + }, + _asBoolS: function(object) { + if (true === object) + return true; + if (false === object) + return false; + if (object == null) + return object; + throw H.wrapException(H._TypeError__TypeError$forType(object, "bool")); + }, + _asBoolQ: function(object) { + if (true === object) + return true; + if (false === object) + return false; + if (object == null) + return object; + throw H.wrapException(H._TypeError__TypeError$forType(object, "bool?")); + }, + _asDouble: function(object) { + if (typeof object == "number") + return object; + throw H.wrapException(H._TypeError__TypeError$forType(object, "double")); + }, + _asDoubleS: function(object) { + if (typeof object == "number") + return object; + if (object == null) + return object; + throw H.wrapException(H._TypeError__TypeError$forType(object, "double")); + }, + _asDoubleQ: function(object) { + if (typeof object == "number") + return object; + if (object == null) + return object; + throw H.wrapException(H._TypeError__TypeError$forType(object, "double?")); + }, + _isInt: function(object) { + return typeof object == "number" && Math.floor(object) === object; + }, + _asInt: function(object) { + if (typeof object == "number" && Math.floor(object) === object) + return object; + throw H.wrapException(H._TypeError__TypeError$forType(object, "int")); + }, + _asIntS: function(object) { + if (typeof object == "number" && Math.floor(object) === object) + return object; + if (object == null) + return object; + throw H.wrapException(H._TypeError__TypeError$forType(object, "int")); + }, + _asIntQ: function(object) { + if (typeof object == "number" && Math.floor(object) === object) + return object; + if (object == null) + return object; + throw H.wrapException(H._TypeError__TypeError$forType(object, "int?")); + }, + _isNum: function(object) { + return typeof object == "number"; + }, + _asNum: function(object) { + if (typeof object == "number") + return object; + throw H.wrapException(H._TypeError__TypeError$forType(object, "num")); + }, + _asNumS: function(object) { + if (typeof object == "number") + return object; + if (object == null) + return object; + throw H.wrapException(H._TypeError__TypeError$forType(object, "num")); + }, + _asNumQ: function(object) { + if (typeof object == "number") + return object; + if (object == null) + return object; + throw H.wrapException(H._TypeError__TypeError$forType(object, "num?")); + }, + _isString: function(object) { + return typeof object == "string"; + }, + _asString: function(object) { + if (typeof object == "string") + return object; + throw H.wrapException(H._TypeError__TypeError$forType(object, "String")); + }, + _asStringS: function(object) { + if (typeof object == "string") + return object; + if (object == null) + return object; + throw H.wrapException(H._TypeError__TypeError$forType(object, "String")); + }, + _asStringQ: function(object) { + if (typeof object == "string") + return object; + if (object == null) + return object; + throw H.wrapException(H._TypeError__TypeError$forType(object, "String?")); + }, + _rtiArrayToString: function(array, genericContext) { + var s, sep, i; + for (s = "", sep = "", i = 0; i < array.length; ++i, sep = ", ") + s += C.JSString_methods.$add(sep, H._rtiToString(array[i], genericContext)); + return s; + }, + _functionRtiToString: function(functionType, genericContext, bounds) { + var boundsLength, outerContextLength, offset, i, t1, t2, t3, typeParametersText, typeSep, t4, t5, boundRti, kind, parameters, requiredPositional, requiredPositionalLength, optionalPositional, optionalPositionalLength, named, namedLength, returnTypeText, argumentsText, sep, _s2_ = ", "; + if (bounds != null) { + boundsLength = bounds.length; + if (genericContext == null) { + genericContext = H.setRuntimeTypeInfo([], type$.JSArray_String); + outerContextLength = null; + } else + outerContextLength = genericContext.length; + offset = genericContext.length; + for (i = boundsLength; i > 0; --i) + C.JSArray_methods.add$1(genericContext, "T" + (offset + i)); + for (t1 = type$.nullable_Object, t2 = type$.legacy_Object, t3 = type$.Object, typeParametersText = "<", typeSep = "", i = 0; i < boundsLength; ++i, typeSep = _s2_) { + typeParametersText += typeSep; + t4 = genericContext.length; + t5 = t4 - 1 - i; + if (t5 < 0) + return H.ioore(genericContext, t5); + typeParametersText = C.JSString_methods.$add(typeParametersText, genericContext[t5]); + boundRti = bounds[i]; + kind = boundRti._kind; + if (!(kind === 2 || kind === 3 || kind === 4 || kind === 5 || boundRti === t1)) + if (!(boundRti === t2)) + t4 = boundRti === t3; + else + t4 = true; + else + t4 = true; + if (!t4) + typeParametersText += C.JSString_methods.$add(" extends ", H._rtiToString(boundRti, genericContext)); + } + typeParametersText += ">"; + } else { + typeParametersText = ""; + outerContextLength = null; + } + t1 = functionType._primary; + parameters = functionType._rest; + requiredPositional = parameters._requiredPositional; + requiredPositionalLength = requiredPositional.length; + optionalPositional = parameters._optionalPositional; + optionalPositionalLength = optionalPositional.length; + named = parameters._named; + namedLength = named.length; + returnTypeText = H._rtiToString(t1, genericContext); + for (argumentsText = "", sep = "", i = 0; i < requiredPositionalLength; ++i, sep = _s2_) + argumentsText += C.JSString_methods.$add(sep, H._rtiToString(requiredPositional[i], genericContext)); + if (optionalPositionalLength > 0) { + argumentsText += sep + "["; + for (sep = "", i = 0; i < optionalPositionalLength; ++i, sep = _s2_) + argumentsText += C.JSString_methods.$add(sep, H._rtiToString(optionalPositional[i], genericContext)); + argumentsText += "]"; + } + if (namedLength > 0) { + argumentsText += sep + "{"; + for (sep = "", i = 0; i < namedLength; i += 3, sep = _s2_) { + argumentsText += sep; + if (named[i + 1]) + argumentsText += "required "; + argumentsText += J.$add$ansx(H._rtiToString(named[i + 2], genericContext), " ") + named[i]; + } + argumentsText += "}"; + } + if (outerContextLength != null) { + genericContext.toString; + genericContext.length = outerContextLength; + } + return typeParametersText + "(" + argumentsText + ") => " + H.S(returnTypeText); + }, + _rtiToString: function(rti, genericContext) { + var s, questionArgument, argumentKind, $name, $arguments, t1, t2, + kind = rti._kind; + if (kind === 5) + return "erased"; + if (kind === 2) + return "dynamic"; + if (kind === 3) + return "void"; + if (kind === 1) + return "Never"; + if (kind === 4) + return "any"; + if (kind === 6) { + s = H._rtiToString(rti._primary, genericContext); + return s; + } + if (kind === 7) { + questionArgument = rti._primary; + s = H._rtiToString(questionArgument, genericContext); + argumentKind = questionArgument._kind; + return J.$add$ansx(argumentKind === 11 || argumentKind === 12 ? C.JSString_methods.$add("(", s) + ")" : s, "?"); + } + if (kind === 8) + return "FutureOr<" + H.S(H._rtiToString(rti._primary, genericContext)) + ">"; + if (kind === 9) { + $name = H._unminifyOrTag(rti._primary); + $arguments = rti._rest; + return $arguments.length !== 0 ? $name + ("<" + H._rtiArrayToString($arguments, genericContext) + ">") : $name; + } + if (kind === 11) + return H._functionRtiToString(rti, genericContext, null); + if (kind === 12) + return H._functionRtiToString(rti._primary, genericContext, rti._rest); + if (kind === 13) { + genericContext.toString; + t1 = rti._primary; + t2 = genericContext.length; + t1 = t2 - 1 - t1; + if (t1 < 0 || t1 >= t2) + return H.ioore(genericContext, t1); + return genericContext[t1]; + } + return "?"; + }, + _unminifyOrTag: function(rawClassName) { + var preserved = H.unmangleGlobalNameIfPreservedAnyways(rawClassName); + if (preserved != null) + return preserved; + return rawClassName; + }, + _Universe_findRule: function(universe, targetType) { + var rule = universe.tR[targetType]; + for (; typeof rule == "string";) + rule = universe.tR[rule]; + return rule; + }, + _Universe_findErasedType: function(universe, cls) { + var $length, erased, $arguments, i, $interface, + metadata = universe.eT, + probe = metadata[cls]; + if (probe == null) + return H._Universe_eval(universe, cls, false); + else if (typeof probe == "number") { + $length = probe; + erased = H._Universe__lookupTerminalRti(universe, 5, "#"); + $arguments = []; + for (i = 0; i < $length; ++i) + $arguments.push(erased); + $interface = H._Universe__lookupInterfaceRti(universe, cls, $arguments); + metadata[cls] = $interface; + return $interface; + } else + return probe; + }, + _Universe_addRules: function(universe, rules) { + return H._Utils_objectAssign(universe.tR, rules); + }, + _Universe_addErasedTypes: function(universe, types) { + return H._Utils_objectAssign(universe.eT, types); + }, + _Universe_eval: function(universe, recipe, normalize) { + var rti, + cache = universe.eC, + probe = cache.get(recipe); + if (probe != null) + return probe; + rti = H._Parser_parse(H._Parser_create(universe, null, recipe, normalize)); + cache.set(recipe, rti); + return rti; + }, + _Universe_evalInEnvironment: function(universe, environment, recipe) { + var probe, rti, + cache = environment._evalCache; + if (cache == null) + cache = environment._evalCache = new Map(); + probe = cache.get(recipe); + if (probe != null) + return probe; + rti = H._Parser_parse(H._Parser_create(universe, environment, recipe, true)); + cache.set(recipe, rti); + return rti; + }, + _Universe_bind: function(universe, environment, argumentsRti) { + var argumentsRecipe, probe, rti, + cache = environment._bindCache; + if (cache == null) + cache = environment._bindCache = new Map(); + argumentsRecipe = argumentsRti._canonicalRecipe; + probe = cache.get(argumentsRecipe); + if (probe != null) + return probe; + rti = H._Universe__lookupBindingRti(universe, environment, argumentsRti._kind === 10 ? argumentsRti._rest : [argumentsRti]); + cache.set(argumentsRecipe, rti); + return rti; + }, + _Universe__installTypeTests: function(universe, rti) { + rti._as = H._installSpecializedAsCheck; + rti._is = H._installSpecializedIsTest; + return rti; + }, + _Universe__lookupTerminalRti: function(universe, kind, key) { + var rti, t1, + probe = universe.eC.get(key); + if (probe != null) + return probe; + rti = new H.Rti(null, null); + rti._kind = kind; + rti._canonicalRecipe = key; + t1 = H._Universe__installTypeTests(universe, rti); + universe.eC.set(key, t1); + return t1; + }, + _Universe__lookupStarRti: function(universe, baseType, normalize) { + var t1, + key = baseType._canonicalRecipe + "*", + probe = universe.eC.get(key); + if (probe != null) + return probe; + t1 = H._Universe__createStarRti(universe, baseType, key, normalize); + universe.eC.set(key, t1); + return t1; + }, + _Universe__createStarRti: function(universe, baseType, key, normalize) { + var baseKind, t1, rti; + if (normalize) { + baseKind = baseType._kind; + if (!H.isStrongTopType(baseType)) + t1 = baseType === type$.Null || baseType === type$.JSNull || baseKind === 7 || baseKind === 6; + else + t1 = true; + if (t1) + return baseType; + } + rti = new H.Rti(null, null); + rti._kind = 6; + rti._primary = baseType; + rti._canonicalRecipe = key; + return H._Universe__installTypeTests(universe, rti); + }, + _Universe__lookupQuestionRti: function(universe, baseType, normalize) { + var t1, + key = baseType._canonicalRecipe + "?", + probe = universe.eC.get(key); + if (probe != null) + return probe; + t1 = H._Universe__createQuestionRti(universe, baseType, key, normalize); + universe.eC.set(key, t1); + return t1; + }, + _Universe__createQuestionRti: function(universe, baseType, key, normalize) { + var baseKind, t1, starArgument, rti; + if (normalize) { + baseKind = baseType._kind; + if (!H.isStrongTopType(baseType)) + if (!(baseType === type$.Null || baseType === type$.JSNull)) + if (baseKind !== 7) + t1 = baseKind === 8 && H.isNullable(baseType._primary); + else + t1 = true; + else + t1 = true; + else + t1 = true; + if (t1) + return baseType; + else if (baseKind === 1 || baseType === type$.legacy_Never) + return type$.Null; + else if (baseKind === 6) { + starArgument = baseType._primary; + if (starArgument._kind === 8 && H.isNullable(starArgument._primary)) + return starArgument; + else + return H.Rti__getQuestionFromStar(universe, baseType); + } + } + rti = new H.Rti(null, null); + rti._kind = 7; + rti._primary = baseType; + rti._canonicalRecipe = key; + return H._Universe__installTypeTests(universe, rti); + }, + _Universe__lookupFutureOrRti: function(universe, baseType, normalize) { + var t1, + key = baseType._canonicalRecipe + "/", + probe = universe.eC.get(key); + if (probe != null) + return probe; + t1 = H._Universe__createFutureOrRti(universe, baseType, key, normalize); + universe.eC.set(key, t1); + return t1; + }, + _Universe__createFutureOrRti: function(universe, baseType, key, normalize) { + var t1, t2, rti; + if (normalize) { + t1 = baseType._kind; + if (!H.isStrongTopType(baseType)) + if (!(baseType === type$.legacy_Object)) + t2 = baseType === type$.Object; + else + t2 = true; + else + t2 = true; + if (t2 || baseType === type$.Object) + return baseType; + else if (t1 === 1) + return H._Universe__lookupInterfaceRti(universe, "Future", [baseType]); + else if (baseType === type$.Null || baseType === type$.JSNull) + return type$.nullable_Future_Null; + } + rti = new H.Rti(null, null); + rti._kind = 8; + rti._primary = baseType; + rti._canonicalRecipe = key; + return H._Universe__installTypeTests(universe, rti); + }, + _Universe__lookupGenericFunctionParameterRti: function(universe, index) { + var rti, t1, + key = "" + index + "^", + probe = universe.eC.get(key); + if (probe != null) + return probe; + rti = new H.Rti(null, null); + rti._kind = 13; + rti._primary = index; + rti._canonicalRecipe = key; + t1 = H._Universe__installTypeTests(universe, rti); + universe.eC.set(key, t1); + return t1; + }, + _Universe__canonicalRecipeJoin: function($arguments) { + var s, sep, i, + $length = $arguments.length; + for (s = "", sep = "", i = 0; i < $length; ++i, sep = ",") + s += sep + $arguments[i]._canonicalRecipe; + return s; + }, + _Universe__canonicalRecipeJoinNamed: function($arguments) { + var s, sep, i, t1, nameSep, s0, + $length = $arguments.length; + for (s = "", sep = "", i = 0; i < $length; i += 3, sep = ",") { + t1 = $arguments[i]; + nameSep = $arguments[i + 1] ? "!" : ":"; + s0 = $arguments[i + 2]._canonicalRecipe; + s += sep + t1 + nameSep + s0; + } + return s; + }, + _Universe__lookupInterfaceRti: function(universe, $name, $arguments) { + var probe, rti, t1, + s = $name; + if ($arguments.length !== 0) + s += "<" + H._Universe__canonicalRecipeJoin($arguments) + ">"; + probe = universe.eC.get(s); + if (probe != null) + return probe; + rti = new H.Rti(null, null); + rti._kind = 9; + rti._primary = $name; + rti._rest = $arguments; + if ($arguments.length > 0) + rti._precomputed1 = $arguments[0]; + rti._canonicalRecipe = s; + t1 = H._Universe__installTypeTests(universe, rti); + universe.eC.set(s, t1); + return t1; + }, + _Universe__lookupBindingRti: function(universe, base, $arguments) { + var newBase, newArguments, key, probe, rti, t1; + if (base._kind === 10) { + newBase = base._primary; + newArguments = base._rest.concat($arguments); + } else { + newArguments = $arguments; + newBase = base; + } + key = newBase._canonicalRecipe + (";<" + H._Universe__canonicalRecipeJoin(newArguments) + ">"); + probe = universe.eC.get(key); + if (probe != null) + return probe; + rti = new H.Rti(null, null); + rti._kind = 10; + rti._primary = newBase; + rti._rest = newArguments; + rti._canonicalRecipe = key; + t1 = H._Universe__installTypeTests(universe, rti); + universe.eC.set(key, t1); + return t1; + }, + _Universe__lookupFunctionRti: function(universe, returnType, parameters) { + var sep, t1, key, probe, rti, + s = returnType._canonicalRecipe, + requiredPositional = parameters._requiredPositional, + requiredPositionalLength = requiredPositional.length, + optionalPositional = parameters._optionalPositional, + optionalPositionalLength = optionalPositional.length, + named = parameters._named, + namedLength = named.length, + recipe = "(" + H._Universe__canonicalRecipeJoin(requiredPositional); + if (optionalPositionalLength > 0) { + sep = requiredPositionalLength > 0 ? "," : ""; + t1 = H._Universe__canonicalRecipeJoin(optionalPositional); + recipe += sep + "[" + t1 + "]"; + } + if (namedLength > 0) { + sep = requiredPositionalLength > 0 ? "," : ""; + t1 = H._Universe__canonicalRecipeJoinNamed(named); + recipe += sep + "{" + t1 + "}"; + } + key = s + (recipe + ")"); + probe = universe.eC.get(key); + if (probe != null) + return probe; + rti = new H.Rti(null, null); + rti._kind = 11; + rti._primary = returnType; + rti._rest = parameters; + rti._canonicalRecipe = key; + t1 = H._Universe__installTypeTests(universe, rti); + universe.eC.set(key, t1); + return t1; + }, + _Universe__lookupGenericFunctionRti: function(universe, baseFunctionType, bounds, normalize) { + var t1, + key = baseFunctionType._canonicalRecipe + ("<" + H._Universe__canonicalRecipeJoin(bounds) + ">"), + probe = universe.eC.get(key); + if (probe != null) + return probe; + t1 = H._Universe__createGenericFunctionRti(universe, baseFunctionType, bounds, key, normalize); + universe.eC.set(key, t1); + return t1; + }, + _Universe__createGenericFunctionRti: function(universe, baseFunctionType, bounds, key, normalize) { + var $length, typeArguments, count, i, bound, substitutedBase, substitutedBounds, rti; + if (normalize) { + $length = bounds.length; + typeArguments = new Array($length); + for (count = 0, i = 0; i < $length; ++i) { + bound = bounds[i]; + if (bound._kind === 1) { + typeArguments[i] = bound; + ++count; + } + } + if (count > 0) { + substitutedBase = H._substitute(universe, baseFunctionType, typeArguments, 0); + substitutedBounds = H._substituteArray(universe, bounds, typeArguments, 0); + return H._Universe__lookupGenericFunctionRti(universe, substitutedBase, substitutedBounds, bounds !== substitutedBounds); + } + } + rti = new H.Rti(null, null); + rti._kind = 12; + rti._primary = baseFunctionType; + rti._rest = bounds; + rti._canonicalRecipe = key; + return H._Universe__installTypeTests(universe, rti); + }, + _Parser_create: function(universe, environment, recipe, normalize) { + return {u: universe, e: environment, r: recipe, s: [], p: 0, n: normalize}; + }, + _Parser_parse: function(parser) { + var t1, i, ch, universe, array, head, base, u, parameters, optionalPositional, named, item, + source = parser.r, + stack = parser.s; + for (t1 = source.length, i = 0; i < t1;) { + ch = source.charCodeAt(i); + if (ch >= 48 && ch <= 57) + i = H._Parser_handleDigit(i + 1, ch, source, stack); + else if ((((ch | 32) >>> 0) - 97 & 65535) < 26 || ch === 95 || ch === 36) + i = H._Parser_handleIdentifier(parser, i, source, stack, false); + else if (ch === 46) + i = H._Parser_handleIdentifier(parser, i, source, stack, true); + else { + ++i; + switch (ch) { + case 44: + break; + case 58: + stack.push(false); + break; + case 33: + stack.push(true); + break; + case 59: + stack.push(H._Parser_toType(parser.u, parser.e, stack.pop())); + break; + case 94: + stack.push(H._Universe__lookupGenericFunctionParameterRti(parser.u, stack.pop())); + break; + case 35: + stack.push(H._Universe__lookupTerminalRti(parser.u, 5, "#")); + break; + case 64: + stack.push(H._Universe__lookupTerminalRti(parser.u, 2, "@")); + break; + case 126: + stack.push(H._Universe__lookupTerminalRti(parser.u, 3, "~")); + break; + case 60: + stack.push(parser.p); + parser.p = stack.length; + break; + case 62: + universe = parser.u; + array = stack.splice(parser.p); + H._Parser_toTypes(parser.u, parser.e, array); + parser.p = stack.pop(); + head = stack.pop(); + if (typeof head == "string") + stack.push(H._Universe__lookupInterfaceRti(universe, head, array)); + else { + base = H._Parser_toType(universe, parser.e, head); + switch (base._kind) { + case 11: + stack.push(H._Universe__lookupGenericFunctionRti(universe, base, array, parser.n)); + break; + default: + stack.push(H._Universe__lookupBindingRti(universe, base, array)); + break; + } + } + break; + case 38: + H._Parser_handleExtendedOperations(parser, stack); + break; + case 42: + u = parser.u; + stack.push(H._Universe__lookupStarRti(u, H._Parser_toType(u, parser.e, stack.pop()), parser.n)); + break; + case 63: + u = parser.u; + stack.push(H._Universe__lookupQuestionRti(u, H._Parser_toType(u, parser.e, stack.pop()), parser.n)); + break; + case 47: + u = parser.u; + stack.push(H._Universe__lookupFutureOrRti(u, H._Parser_toType(u, parser.e, stack.pop()), parser.n)); + break; + case 40: + stack.push(parser.p); + parser.p = stack.length; + break; + case 41: + universe = parser.u; + parameters = new H._FunctionParameters(); + optionalPositional = universe.sEA; + named = universe.sEA; + head = stack.pop(); + if (typeof head == "number") + switch (head) { + case -1: + optionalPositional = stack.pop(); + break; + case -2: + named = stack.pop(); + break; + default: + stack.push(head); + break; + } + else + stack.push(head); + array = stack.splice(parser.p); + H._Parser_toTypes(parser.u, parser.e, array); + parser.p = stack.pop(); + parameters._requiredPositional = array; + parameters._optionalPositional = optionalPositional; + parameters._named = named; + stack.push(H._Universe__lookupFunctionRti(universe, H._Parser_toType(universe, parser.e, stack.pop()), parameters)); + break; + case 91: + stack.push(parser.p); + parser.p = stack.length; + break; + case 93: + array = stack.splice(parser.p); + H._Parser_toTypes(parser.u, parser.e, array); + parser.p = stack.pop(); + stack.push(array); + stack.push(-1); + break; + case 123: + stack.push(parser.p); + parser.p = stack.length; + break; + case 125: + array = stack.splice(parser.p); + H._Parser_toTypesNamed(parser.u, parser.e, array); + parser.p = stack.pop(); + stack.push(array); + stack.push(-2); + break; + default: + throw "Bad character " + ch; + } + } + } + item = stack.pop(); + return H._Parser_toType(parser.u, parser.e, item); + }, + _Parser_handleDigit: function(i, digit, source, stack) { + var t1, ch, + value = digit - 48; + for (t1 = source.length; i < t1; ++i) { + ch = source.charCodeAt(i); + if (!(ch >= 48 && ch <= 57)) + break; + value = value * 10 + (ch - 48); + } + stack.push(value); + return i; + }, + _Parser_handleIdentifier: function(parser, start, source, stack, hasPeriod) { + var t1, ch, t2, string, environment, recipe, + i = start + 1; + for (t1 = source.length; i < t1; ++i) { + ch = source.charCodeAt(i); + if (ch === 46) { + if (hasPeriod) + break; + hasPeriod = true; + } else { + if (!((((ch | 32) >>> 0) - 97 & 65535) < 26 || ch === 95 || ch === 36)) + t2 = ch >= 48 && ch <= 57; + else + t2 = true; + if (!t2) + break; + } + } + string = source.substring(start, i); + if (hasPeriod) { + t1 = parser.u; + environment = parser.e; + if (environment._kind === 10) + environment = environment._primary; + recipe = H._Universe_findRule(t1, environment._primary)[string]; + if (recipe == null) + H.throwExpression('No "' + string + '" in "' + H.Rti__getCanonicalRecipe(environment) + '"'); + stack.push(H._Universe_evalInEnvironment(t1, environment, recipe)); + } else + stack.push(string); + return i; + }, + _Parser_handleExtendedOperations: function(parser, stack) { + var $top = stack.pop(); + if (0 === $top) { + stack.push(H._Universe__lookupTerminalRti(parser.u, 1, "0&")); + return; + } + if (1 === $top) { + stack.push(H._Universe__lookupTerminalRti(parser.u, 4, "1&")); + return; + } + throw H.wrapException(P.AssertionError$("Unexpected extended operation " + H.S($top))); + }, + _Parser_toType: function(universe, environment, item) { + if (typeof item == "string") + return H._Universe__lookupInterfaceRti(universe, item, universe.sEA); + else if (typeof item == "number") + return H._Parser_indexToType(universe, environment, item); + else + return item; + }, + _Parser_toTypes: function(universe, environment, items) { + var i, + $length = items.length; + for (i = 0; i < $length; ++i) + items[i] = H._Parser_toType(universe, environment, items[i]); + }, + _Parser_toTypesNamed: function(universe, environment, items) { + var i, + $length = items.length; + for (i = 2; i < $length; i += 3) + items[i] = H._Parser_toType(universe, environment, items[i]); + }, + _Parser_indexToType: function(universe, environment, index) { + var typeArguments, len, + kind = environment._kind; + if (kind === 10) { + if (index === 0) + return environment._primary; + typeArguments = environment._rest; + len = typeArguments.length; + if (index <= len) + return typeArguments[index - 1]; + index -= len; + environment = environment._primary; + kind = environment._kind; + } else if (index === 0) + return environment; + if (kind !== 9) + throw H.wrapException(P.AssertionError$("Indexed base must be an interface type")); + typeArguments = environment._rest; + if (index <= typeArguments.length) + return typeArguments[index - 1]; + throw H.wrapException(P.AssertionError$("Bad index " + index + " for " + environment.toString$0(0))); + }, + _isSubtype: function(universe, s, sEnv, t, tEnv) { + var t1, sKind, leftTypeVariable, tKind, sBounds, tBounds, sLength, i, sBound, tBound; + if (s === t) + return true; + if (!H.isStrongTopType(t)) + if (!(t === type$.legacy_Object)) + t1 = t === type$.Object; + else + t1 = true; + else + t1 = true; + if (t1) + return true; + sKind = s._kind; + if (sKind === 4) + return true; + if (H.isStrongTopType(s)) + return false; + if (s._kind !== 1) + t1 = s === type$.Null || s === type$.JSNull; + else + t1 = true; + if (t1) + return true; + leftTypeVariable = sKind === 13; + if (leftTypeVariable) + if (H._isSubtype(universe, sEnv[s._primary], sEnv, t, tEnv)) + return true; + tKind = t._kind; + if (sKind === 6) + return H._isSubtype(universe, s._primary, sEnv, t, tEnv); + if (tKind === 6) { + t1 = t._primary; + return H._isSubtype(universe, s, sEnv, t1, tEnv); + } + if (sKind === 8) { + if (!H._isSubtype(universe, s._primary, sEnv, t, tEnv)) + return false; + return H._isSubtype(universe, H.Rti__getFutureFromFutureOr(universe, s), sEnv, t, tEnv); + } + if (sKind === 7) { + t1 = H._isSubtype(universe, s._primary, sEnv, t, tEnv); + return t1; + } + if (tKind === 8) { + if (H._isSubtype(universe, s, sEnv, t._primary, tEnv)) + return true; + return H._isSubtype(universe, s, sEnv, H.Rti__getFutureFromFutureOr(universe, t), tEnv); + } + if (tKind === 7) { + t1 = H._isSubtype(universe, s, sEnv, t._primary, tEnv); + return t1; + } + if (leftTypeVariable) + return false; + t1 = sKind !== 11; + if ((!t1 || sKind === 12) && t === type$.Function) + return true; + if (tKind === 12) { + if (s === type$.JavaScriptFunction) + return true; + if (sKind !== 12) + return false; + sBounds = s._rest; + tBounds = t._rest; + sLength = sBounds.length; + if (sLength !== tBounds.length) + return false; + sEnv = sEnv == null ? sBounds : sBounds.concat(sEnv); + tEnv = tEnv == null ? tBounds : tBounds.concat(tEnv); + for (i = 0; i < sLength; ++i) { + sBound = sBounds[i]; + tBound = tBounds[i]; + if (!H._isSubtype(universe, sBound, sEnv, tBound, tEnv) || !H._isSubtype(universe, tBound, tEnv, sBound, sEnv)) + return false; + } + return H._isFunctionSubtype(universe, s._primary, sEnv, t._primary, tEnv); + } + if (tKind === 11) { + if (s === type$.JavaScriptFunction) + return true; + if (t1) + return false; + return H._isFunctionSubtype(universe, s, sEnv, t, tEnv); + } + if (sKind === 9) { + if (tKind !== 9) + return false; + return H._isInterfaceSubtype(universe, s, sEnv, t, tEnv); + } + return false; + }, + _isFunctionSubtype: function(universe, s, sEnv, t, tEnv) { + var sParameters, tParameters, sRequiredPositional, tRequiredPositional, sRequiredPositionalLength, tRequiredPositionalLength, requiredPositionalDelta, sOptionalPositional, tOptionalPositional, sOptionalPositionalLength, tOptionalPositionalLength, i, t1, sNamed, tNamed, sNamedLength, tNamedLength, sIndex, tIndex, tName, sName; + if (!H._isSubtype(universe, s._primary, sEnv, t._primary, tEnv)) + return false; + sParameters = s._rest; + tParameters = t._rest; + sRequiredPositional = sParameters._requiredPositional; + tRequiredPositional = tParameters._requiredPositional; + sRequiredPositionalLength = sRequiredPositional.length; + tRequiredPositionalLength = tRequiredPositional.length; + if (sRequiredPositionalLength > tRequiredPositionalLength) + return false; + requiredPositionalDelta = tRequiredPositionalLength - sRequiredPositionalLength; + sOptionalPositional = sParameters._optionalPositional; + tOptionalPositional = tParameters._optionalPositional; + sOptionalPositionalLength = sOptionalPositional.length; + tOptionalPositionalLength = tOptionalPositional.length; + if (sRequiredPositionalLength + sOptionalPositionalLength < tRequiredPositionalLength + tOptionalPositionalLength) + return false; + for (i = 0; i < sRequiredPositionalLength; ++i) { + t1 = sRequiredPositional[i]; + if (!H._isSubtype(universe, tRequiredPositional[i], tEnv, t1, sEnv)) + return false; + } + for (i = 0; i < requiredPositionalDelta; ++i) { + t1 = sOptionalPositional[i]; + if (!H._isSubtype(universe, tRequiredPositional[sRequiredPositionalLength + i], tEnv, t1, sEnv)) + return false; + } + for (i = 0; i < tOptionalPositionalLength; ++i) { + t1 = sOptionalPositional[requiredPositionalDelta + i]; + if (!H._isSubtype(universe, tOptionalPositional[i], tEnv, t1, sEnv)) + return false; + } + sNamed = sParameters._named; + tNamed = tParameters._named; + sNamedLength = sNamed.length; + tNamedLength = tNamed.length; + for (sIndex = 0, tIndex = 0; tIndex < tNamedLength; tIndex += 3) { + tName = tNamed[tIndex]; + for (; true;) { + if (sIndex >= sNamedLength) + return false; + sName = sNamed[sIndex]; + sIndex += 3; + if (tName < sName) + return false; + if (sName < tName) + continue; + t1 = sNamed[sIndex - 1]; + if (!H._isSubtype(universe, tNamed[tIndex + 2], tEnv, t1, sEnv)) + return false; + break; + } + } + return true; + }, + _isInterfaceSubtype: function(universe, s, sEnv, t, tEnv) { + var sArgs, tArgs, $length, i, t1, t2, rule, supertypeArgs, + sName = s._primary, + tName = t._primary; + if (sName === tName) { + sArgs = s._rest; + tArgs = t._rest; + $length = sArgs.length; + for (i = 0; i < $length; ++i) { + t1 = sArgs[i]; + t2 = tArgs[i]; + if (!H._isSubtype(universe, t1, sEnv, t2, tEnv)) + return false; + } + return true; + } + if (t === type$.Object) + return true; + rule = H._Universe_findRule(universe, sName); + if (rule == null) + return false; + supertypeArgs = rule[tName]; + if (supertypeArgs == null) + return false; + $length = supertypeArgs.length; + tArgs = t._rest; + for (i = 0; i < $length; ++i) + if (!H._isSubtype(universe, H._Universe_evalInEnvironment(universe, s, supertypeArgs[i]), sEnv, tArgs[i], tEnv)) + return false; + return true; + }, + isNullable: function(t) { + var t1, + kind = t._kind; + if (!(t === type$.Null || t === type$.JSNull)) + if (!H.isStrongTopType(t)) + if (kind !== 7) + if (!(kind === 6 && H.isNullable(t._primary))) + t1 = kind === 8 && H.isNullable(t._primary); + else + t1 = true; + else + t1 = true; + else + t1 = true; + else + t1 = true; + return t1; + }, + isTopType: function(t) { + var t1; + if (!H.isStrongTopType(t)) + if (!(t === type$.legacy_Object)) + t1 = t === type$.Object; + else + t1 = true; + else + t1 = true; + return t1; + }, + isStrongTopType: function(t) { + var kind = t._kind; + return kind === 2 || kind === 3 || kind === 4 || kind === 5 || t === type$.nullable_Object; + }, + _Utils_objectAssign: function(o, other) { + var i, key, + keys = Object.keys(other), + $length = keys.length; + for (i = 0; i < $length; ++i) { + key = keys[i]; + o[key] = other[key]; + } + }, + Rti: function Rti(t0, t1) { + var _ = this; + _._as = t0; + _._is = t1; + _._cachedRuntimeType = _._specializedTestResource = _._precomputed1 = null; + _._kind = 0; + _._canonicalRecipe = _._bindCache = _._evalCache = _._rest = _._primary = null; + }, + _FunctionParameters: function _FunctionParameters() { + this._named = this._optionalPositional = this._requiredPositional = null; + }, + _Type: function _Type(t0) { + this._rti = t0; + }, + _Error: function _Error() { + }, + _TypeError: function _TypeError(t0) { + this.__rti$_message = t0; + }, + isBrowserObject: function(o) { + return type$.Blob._is(o) || type$.Event._is(o) || type$.KeyRange._is(o) || type$.ImageData._is(o) || type$.Node._is(o) || type$.Window._is(o) || type$.WorkerGlobalScope._is(o); + }, + unmangleGlobalNameIfPreservedAnyways: function($name) { + return init.mangledGlobalNames[$name]; + }, + printString: function(string) { + if (typeof dartPrint == "function") { + dartPrint(string); + return; + } + if (typeof console == "object" && typeof console.log != "undefined") { + console.log(string); + return; + } + if (typeof window == "object") + return; + if (typeof print == "function") { + print(string); + return; + } + throw "Unable to print message: " + String(string); + } + }, + J = { + makeDispatchRecord: function(interceptor, proto, extension, indexability) { + return {i: interceptor, p: proto, e: extension, x: indexability}; + }, + getNativeInterceptor: function(object) { + var proto, objectProto, $constructor, interceptor, t1, + record = object[init.dispatchPropertyName]; + if (record == null) + if ($.initNativeDispatchFlag == null) { + H.initNativeDispatch(); + record = object[init.dispatchPropertyName]; + } + if (record != null) { + proto = record.p; + if (false === proto) + return record.i; + if (true === proto) + return object; + objectProto = Object.getPrototypeOf(object); + if (proto === objectProto) + return record.i; + if (record.e === objectProto) + throw H.wrapException(P.UnimplementedError$("Return interceptor for " + H.S(proto(object, record)))); + } + $constructor = object.constructor; + if ($constructor == null) + interceptor = null; + else { + t1 = $._JS_INTEROP_INTERCEPTOR_TAG; + if (t1 == null) + t1 = $._JS_INTEROP_INTERCEPTOR_TAG = init.getIsolateTag("_$dart_js"); + interceptor = $constructor[t1]; + } + if (interceptor != null) + return interceptor; + interceptor = H.lookupAndCacheInterceptor(object); + if (interceptor != null) + return interceptor; + if (typeof object == "function") + return C.JavaScriptFunction_methods; + proto = Object.getPrototypeOf(object); + if (proto == null) + return C.PlainJavaScriptObject_methods; + if (proto === Object.prototype) + return C.PlainJavaScriptObject_methods; + if (typeof $constructor == "function") { + t1 = $._JS_INTEROP_INTERCEPTOR_TAG; + if (t1 == null) + t1 = $._JS_INTEROP_INTERCEPTOR_TAG = init.getIsolateTag("_$dart_js"); + Object.defineProperty($constructor, t1, {value: C.UnknownJavaScriptObject_methods, enumerable: false, writable: true, configurable: true}); + return C.UnknownJavaScriptObject_methods; + } + return C.UnknownJavaScriptObject_methods; + }, + JSArray_JSArray$fixed: function($length, $E) { + if (!H._isInt($length)) + throw H.wrapException(P.ArgumentError$value($length, "length", "is not an integer")); + if ($length < 0 || $length > 4294967295) + throw H.wrapException(P.RangeError$range($length, 0, 4294967295, "length", null)); + return J.JSArray_JSArray$markFixed(new Array($length), $E); + }, + JSArray_JSArray$growable: function($length, $E) { + if (!H._isInt($length) || $length < 0) + throw H.wrapException(P.ArgumentError$("Length must be a non-negative integer: " + H.S($length))); + return H.setRuntimeTypeInfo(new Array($length), $E._eval$1("JSArray<0>")); + }, + JSArray_JSArray$allocateGrowable: function($length, $E) { + return H.setRuntimeTypeInfo(new Array($length), $E._eval$1("JSArray<0>")); + }, + JSArray_JSArray$markFixed: function(allocation, $E) { + return J.JSArray_markFixedList(H.setRuntimeTypeInfo(allocation, $E._eval$1("JSArray<0>")), $E); + }, + JSArray_markFixedList: function(list, $T) { + list.fixed$length = Array; + return list; + }, + JSArray_markUnmodifiableList: function(list) { + list.fixed$length = Array; + list.immutable$list = Array; + return list; + }, + JSArray__compareAny: function(a, b) { + var t1 = type$.Comparable_dynamic; + return J.compareTo$1$ns(t1._as(a), t1._as(b)); + }, + JSString__isWhitespace: function(codeUnit) { + if (codeUnit < 256) + switch (codeUnit) { + case 9: + case 10: + case 11: + case 12: + case 13: + case 32: + case 133: + case 160: + return true; + default: + return false; + } + switch (codeUnit) { + case 5760: + case 8192: + case 8193: + case 8194: + case 8195: + case 8196: + case 8197: + case 8198: + case 8199: + case 8200: + case 8201: + case 8202: + case 8232: + case 8233: + case 8239: + case 8287: + case 12288: + case 65279: + return true; + default: + return false; + } + }, + JSString__skipLeadingWhitespace: function(string, index) { + var t1, codeUnit; + for (t1 = string.length; index < t1;) { + codeUnit = C.JSString_methods._codeUnitAt$1(string, index); + if (codeUnit !== 32 && codeUnit !== 13 && !J.JSString__isWhitespace(codeUnit)) + break; + ++index; + } + return index; + }, + JSString__skipTrailingWhitespace: function(string, index) { + var index0, codeUnit; + for (; index > 0; index = index0) { + index0 = index - 1; + codeUnit = C.JSString_methods.codeUnitAt$1(string, index0); + if (codeUnit !== 32 && codeUnit !== 13 && !J.JSString__isWhitespace(codeUnit)) + break; + } + return index; + }, + getInterceptor$: function(receiver) { + if (typeof receiver == "number") { + if (Math.floor(receiver) == receiver) + return J.JSInt.prototype; + return J.JSNumNotInt.prototype; + } + if (typeof receiver == "string") + return J.JSString.prototype; + if (receiver == null) + return J.JSNull.prototype; + if (typeof receiver == "boolean") + return J.JSBool.prototype; + if (receiver.constructor == Array) + return J.JSArray.prototype; + if (typeof receiver != "object") { + if (typeof receiver == "function") + return J.JavaScriptFunction.prototype; + return receiver; + } + if (receiver instanceof P.Object) + return receiver; + return J.getNativeInterceptor(receiver); + }, + getInterceptor$ansx: function(receiver) { + if (typeof receiver == "number") + return J.JSNumber.prototype; + if (typeof receiver == "string") + return J.JSString.prototype; + if (receiver == null) + return receiver; + if (receiver.constructor == Array) + return J.JSArray.prototype; + if (typeof receiver != "object") { + if (typeof receiver == "function") + return J.JavaScriptFunction.prototype; + return receiver; + } + if (receiver instanceof P.Object) + return receiver; + return J.getNativeInterceptor(receiver); + }, + getInterceptor$asx: function(receiver) { + if (typeof receiver == "string") + return J.JSString.prototype; + if (receiver == null) + return receiver; + if (receiver.constructor == Array) + return J.JSArray.prototype; + if (typeof receiver != "object") { + if (typeof receiver == "function") + return J.JavaScriptFunction.prototype; + return receiver; + } + if (receiver instanceof P.Object) + return receiver; + return J.getNativeInterceptor(receiver); + }, + getInterceptor$ax: function(receiver) { + if (receiver == null) + return receiver; + if (receiver.constructor == Array) + return J.JSArray.prototype; + if (typeof receiver != "object") { + if (typeof receiver == "function") + return J.JavaScriptFunction.prototype; + return receiver; + } + if (receiver instanceof P.Object) + return receiver; + return J.getNativeInterceptor(receiver); + }, + getInterceptor$n: function(receiver) { + if (typeof receiver == "number") + return J.JSNumber.prototype; + if (receiver == null) + return receiver; + if (!(receiver instanceof P.Object)) + return J.UnknownJavaScriptObject.prototype; + return receiver; + }, + getInterceptor$ns: function(receiver) { + if (typeof receiver == "number") + return J.JSNumber.prototype; + if (typeof receiver == "string") + return J.JSString.prototype; + if (receiver == null) + return receiver; + if (!(receiver instanceof P.Object)) + return J.UnknownJavaScriptObject.prototype; + return receiver; + }, + getInterceptor$s: function(receiver) { + if (typeof receiver == "string") + return J.JSString.prototype; + if (receiver == null) + return receiver; + if (!(receiver instanceof P.Object)) + return J.UnknownJavaScriptObject.prototype; + return receiver; + }, + getInterceptor$x: function(receiver) { + if (receiver == null) + return receiver; + if (typeof receiver != "object") { + if (typeof receiver == "function") + return J.JavaScriptFunction.prototype; + return receiver; + } + if (receiver instanceof P.Object) + return receiver; + return J.getNativeInterceptor(receiver); + }, + getInterceptor$z: function(receiver) { + if (receiver == null) + return receiver; + if (!(receiver instanceof P.Object)) + return J.UnknownJavaScriptObject.prototype; + return receiver; + }, + set$_innerHtml$x: function(receiver, value) { + return J.getInterceptor$x(receiver).set$_innerHtml(receiver, value); + }, + set$dartComponentVersion$x: function(receiver, value) { + return J.getInterceptor$x(receiver).set$dartComponentVersion(receiver, value); + }, + set$dartStackTrace$x: function(receiver, value) { + return J.getInterceptor$x(receiver).set$dartStackTrace(receiver, value); + }, + set$display$z: function(receiver, value) { + return J.getInterceptor$z(receiver).set$display(receiver, value); + }, + set$displayName$x: function(receiver, value) { + return J.getInterceptor$x(receiver).set$displayName(receiver, value); + }, + set$height$x: function(receiver, value) { + return J.getInterceptor$x(receiver).set$height(receiver, value); + }, + set$key$z: function(receiver, value) { + return J.getInterceptor$z(receiver).set$key(receiver, value); + }, + set$length$asx: function(receiver, value) { + return J.getInterceptor$asx(receiver).set$length(receiver, value); + }, + set$props$x: function(receiver, value) { + return J.getInterceptor$x(receiver).set$props(receiver, value); + }, + set$render$x: function(receiver, value) { + return J.getInterceptor$x(receiver).set$render(receiver, value); + }, + set$returnValue$x: function(receiver, value) { + return J.getInterceptor$x(receiver).set$returnValue(receiver, value); + }, + set$src$x: function(receiver, value) { + return J.getInterceptor$x(receiver).set$src(receiver, value); + }, + set$store$z: function(receiver, value) { + return J.getInterceptor$z(receiver).set$store(receiver, value); + }, + set$value$x: function(receiver, value) { + return J.getInterceptor$x(receiver).set$value(receiver, value); + }, + set$width$x: function(receiver, value) { + return J.getInterceptor$x(receiver).set$width(receiver, value); + }, + get$attributes$x: function(receiver) { + return J.getInterceptor$x(receiver).get$attributes(receiver); + }, + get$buffer$x: function(receiver) { + return J.getInterceptor$x(receiver).get$buffer(receiver); + }, + get$button$x: function(receiver) { + return J.getInterceptor$x(receiver).get$button(receiver); + }, + get$checked$x: function(receiver) { + return J.getInterceptor$x(receiver).get$checked(receiver); + }, + get$classes$x: function(receiver) { + return J.getInterceptor$x(receiver).get$classes(receiver); + }, + get$componentStack$x: function(receiver) { + return J.getInterceptor$x(receiver).get$componentStack(receiver); + }, + get$ctrlKey$x: function(receiver) { + return J.getInterceptor$x(receiver).get$ctrlKey(receiver); + }, + get$current$x: function(receiver) { + return J.getInterceptor$x(receiver).get$current(receiver); + }, + get$currentTarget$x: function(receiver) { + return J.getInterceptor$x(receiver).get$currentTarget(receiver); + }, + get$dartComponent$x: function(receiver) { + return J.getInterceptor$x(receiver).get$dartComponent(receiver); + }, + get$dartComponentVersion$x: function(receiver) { + return J.getInterceptor$x(receiver).get$dartComponentVersion(receiver); + }, + get$defaultProps$x: function(receiver) { + return J.getInterceptor$x(receiver).get$defaultProps(receiver); + }, + get$displayName$x: function(receiver) { + return J.getInterceptor$x(receiver).get$displayName(receiver); + }, + get$entries$x: function(receiver) { + return J.getInterceptor$x(receiver).get$entries(receiver); + }, + get$first$ax: function(receiver) { + return J.getInterceptor$ax(receiver).get$first(receiver); + }, + get$hashCode$: function(receiver) { + return J.getInterceptor$(receiver).get$hashCode(receiver); + }, + get$hex$x: function(receiver) { + return J.getInterceptor$x(receiver).get$hex(receiver); + }, + get$innerHtml$x: function(receiver) { + return J.getInterceptor$x(receiver).get$innerHtml(receiver); + }, + get$isEmpty$asx: function(receiver) { + return J.getInterceptor$asx(receiver).get$isEmpty(receiver); + }, + get$isNotEmpty$asx: function(receiver) { + return J.getInterceptor$asx(receiver).get$isNotEmpty(receiver); + }, + get$iterator$ax: function(receiver) { + return J.getInterceptor$ax(receiver).get$iterator(receiver); + }, + get$keyCode$x: function(receiver) { + return J.getInterceptor$x(receiver).get$keyCode(receiver); + }, + get$keys$x: function(receiver) { + return J.getInterceptor$x(receiver).get$keys(receiver); + }, + get$last$ax: function(receiver) { + return J.getInterceptor$ax(receiver).get$last(receiver); + }, + get$length$asx: function(receiver) { + return J.getInterceptor$asx(receiver).get$length(receiver); + }, + get$message$x: function(receiver) { + return J.getInterceptor$x(receiver).get$message(receiver); + }, + get$metaKey$x: function(receiver) { + return J.getInterceptor$x(receiver).get$metaKey(receiver); + }, + get$nativeEvent$x: function(receiver) { + return J.getInterceptor$x(receiver).get$nativeEvent(receiver); + }, + get$nodeType$x: function(receiver) { + return J.getInterceptor$x(receiver).get$nodeType(receiver); + }, + get$offset$x: function(receiver) { + return J.getInterceptor$x(receiver).get$offset(receiver); + }, + get$onClick$x: function(receiver) { + return J.getInterceptor$x(receiver).get$onClick(receiver); + }, + get$onMouseDown$x: function(receiver) { + return J.getInterceptor$x(receiver).get$onMouseDown(receiver); + }, + get$onTouchStart$x: function(receiver) { + return J.getInterceptor$x(receiver).get$onTouchStart(receiver); + }, + get$props$x: function(receiver) { + return J.getInterceptor$x(receiver).get$props(receiver); + }, + get$reversed$ax: function(receiver) { + return J.getInterceptor$ax(receiver).get$reversed(receiver); + }, + get$runtimeType$: function(receiver) { + return J.getInterceptor$(receiver).get$runtimeType(receiver); + }, + get$setRequestHeader$x: function(receiver) { + return J.getInterceptor$x(receiver).get$setRequestHeader(receiver); + }, + get$shiftKey$x: function(receiver) { + return J.getInterceptor$x(receiver).get$shiftKey(receiver); + }, + get$single$ax: function(receiver) { + return J.getInterceptor$ax(receiver).get$single(receiver); + }, + get$source$z: function(receiver) { + return J.getInterceptor$z(receiver).get$source(receiver); + }, + get$target$x: function(receiver) { + return J.getInterceptor$x(receiver).get$target(receiver); + }, + get$type$x: function(receiver) { + return J.getInterceptor$x(receiver).get$type(receiver); + }, + get$value$x: function(receiver) { + return J.getInterceptor$x(receiver).get$value(receiver); + }, + get$values$x: function(receiver) { + return J.getInterceptor$x(receiver).get$values(receiver); + }, + get$which$x: function(receiver) { + return J.getInterceptor$x(receiver).get$which(receiver); + }, + $add$ansx: function(receiver, a0) { + if (typeof receiver == "number" && typeof a0 == "number") + return receiver + a0; + return J.getInterceptor$ansx(receiver).$add(receiver, a0); + }, + $eq$: function(receiver, a0) { + if (receiver == null) + return a0 == null; + if (typeof receiver != "object") + return a0 != null && receiver === a0; + return J.getInterceptor$(receiver).$eq(receiver, a0); + }, + $index$asx: function(receiver, a0) { + if (typeof a0 === "number") + if (receiver.constructor == Array || typeof receiver == "string" || H.isJsIndexable(receiver, receiver[init.dispatchPropertyName])) + if (a0 >>> 0 === a0 && a0 < receiver.length) + return receiver[a0]; + return J.getInterceptor$asx(receiver).$index(receiver, a0); + }, + $indexSet$ax: function(receiver, a0, a1) { + return J.getInterceptor$ax(receiver).$indexSet(receiver, a0, a1); + }, + $sub$n: function(receiver, a0) { + if (typeof receiver == "number" && typeof a0 == "number") + return receiver - a0; + return J.getInterceptor$n(receiver).$sub(receiver, a0); + }, + _clearChildren$0$x: function(receiver) { + return J.getInterceptor$x(receiver)._clearChildren$0(receiver); + }, + _codeUnitAt$1$s: function(receiver, a0) { + return J.getInterceptor$s(receiver)._codeUnitAt$1(receiver, a0); + }, + _initMouseEvent_1$15$x: function(receiver, a0, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14) { + return J.getInterceptor$x(receiver)._initMouseEvent_1$15(receiver, a0, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14); + }, + _replaceChild$2$x: function(receiver, a0, a1) { + return J.getInterceptor$x(receiver)._replaceChild$2(receiver, a0, a1); + }, + add$1$ax: function(receiver, a0) { + return J.getInterceptor$ax(receiver).add$1(receiver, a0); + }, + addAll$1$ax: function(receiver, a0) { + return J.getInterceptor$ax(receiver).addAll$1(receiver, a0); + }, + addEventListener$2$x: function(receiver, a0, a1) { + return J.getInterceptor$x(receiver).addEventListener$2(receiver, a0, a1); + }, + addEventListener$3$x: function(receiver, a0, a1, a2) { + return J.getInterceptor$x(receiver).addEventListener$3(receiver, a0, a1, a2); + }, + allMatches$1$s: function(receiver, a0) { + return J.getInterceptor$s(receiver).allMatches$1(receiver, a0); + }, + allMatches$2$s: function(receiver, a0, a1) { + return J.getInterceptor$s(receiver).allMatches$2(receiver, a0, a1); + }, + any$1$ax: function(receiver, a0) { + return J.getInterceptor$ax(receiver).any$1(receiver, a0); + }, + asByteData$2$x: function(receiver, a0, a1) { + return J.getInterceptor$x(receiver).asByteData$2(receiver, a0, a1); + }, + asUint8List$2$x: function(receiver, a0, a1) { + return J.getInterceptor$x(receiver).asUint8List$2(receiver, a0, a1); + }, + cast$1$0$ax: function(receiver, $T1) { + return J.getInterceptor$ax(receiver).cast$1$0(receiver, $T1); + }, + cast$2$0$ax: function(receiver, $T1, $T2) { + return J.getInterceptor$ax(receiver).cast$2$0(receiver, $T1, $T2); + }, + ceil$0$n: function(receiver) { + return J.getInterceptor$n(receiver).ceil$0(receiver); + }, + clear$0$ax: function(receiver) { + return J.getInterceptor$ax(receiver).clear$0(receiver); + }, + click$0$x: function(receiver) { + return J.getInterceptor$x(receiver).click$0(receiver); + }, + close$0$z: function(receiver) { + return J.getInterceptor$z(receiver).close$0(receiver); + }, + codeUnitAt$1$s: function(receiver, a0) { + return J.getInterceptor$s(receiver).codeUnitAt$1(receiver, a0); + }, + compareTo$1$ns: function(receiver, a0) { + return J.getInterceptor$ns(receiver).compareTo$1(receiver, a0); + }, + contains$1$asx: function(receiver, a0) { + return J.getInterceptor$asx(receiver).contains$1(receiver, a0); + }, + contains$2$asx: function(receiver, a0, a1) { + return J.getInterceptor$asx(receiver).contains$2(receiver, a0, a1); + }, + containsKey$1$x: function(receiver, a0) { + return J.getInterceptor$x(receiver).containsKey$1(receiver, a0); + }, + drawImage$3$x: function(receiver, a0, a1, a2) { + return J.getInterceptor$x(receiver).drawImage$3(receiver, a0, a1, a2); + }, + elementAt$1$ax: function(receiver, a0) { + return J.getInterceptor$ax(receiver).elementAt$1(receiver, a0); + }, + endsWith$1$s: function(receiver, a0) { + return J.getInterceptor$s(receiver).endsWith$1(receiver, a0); + }, + every$1$ax: function(receiver, a0) { + return J.getInterceptor$ax(receiver).every$1(receiver, a0); + }, + expand$1$1$ax: function(receiver, a0, $T1) { + return J.getInterceptor$ax(receiver).expand$1$1(receiver, a0, $T1); + }, + fillRange$3$ax: function(receiver, a0, a1, a2) { + return J.getInterceptor$ax(receiver).fillRange$3(receiver, a0, a1, a2); + }, + firstWhere$2$orElse$ax: function(receiver, a0, a1) { + return J.getInterceptor$ax(receiver).firstWhere$2$orElse(receiver, a0, a1); + }, + floor$0$n: function(receiver) { + return J.getInterceptor$n(receiver).floor$0(receiver); + }, + fold$1$2$ax: function(receiver, a0, a1, $T1) { + return J.getInterceptor$ax(receiver).fold$1$2(receiver, a0, a1, $T1); + }, + forEach$1$ax: function(receiver, a0) { + return J.getInterceptor$ax(receiver).forEach$1(receiver, a0); + }, + getBoundingClientRect$0$x: function(receiver) { + return J.getInterceptor$x(receiver).getBoundingClientRect$0(receiver); + }, + getRange$2$ax: function(receiver, a0, a1) { + return J.getInterceptor$ax(receiver).getRange$2(receiver, a0, a1); + }, + getUint32$2$x: function(receiver, a0, a1) { + return J.getInterceptor$x(receiver).getUint32$2(receiver, a0, a1); + }, + indexOf$1$asx: function(receiver, a0) { + return J.getInterceptor$asx(receiver).indexOf$1(receiver, a0); + }, + indexOf$2$asx: function(receiver, a0, a1) { + return J.getInterceptor$asx(receiver).indexOf$2(receiver, a0, a1); + }, + insert$2$ax: function(receiver, a0, a1) { + return J.getInterceptor$ax(receiver).insert$2(receiver, a0, a1); + }, + insertAll$2$ax: function(receiver, a0, a1) { + return J.getInterceptor$ax(receiver).insertAll$2(receiver, a0, a1); + }, + insertAllBefore$2$x: function(receiver, a0, a1) { + return J.getInterceptor$x(receiver).insertAllBefore$2(receiver, a0, a1); + }, + insertBefore$2$x: function(receiver, a0, a1) { + return J.getInterceptor$x(receiver).insertBefore$2(receiver, a0, a1); + }, + join$1$ax: function(receiver, a0) { + return J.getInterceptor$ax(receiver).join$1(receiver, a0); + }, + map$1$ax: function(receiver, a0) { + return J.getInterceptor$ax(receiver).map$1(receiver, a0); + }, + map$1$1$ax: function(receiver, a0, $T1) { + return J.getInterceptor$ax(receiver).map$1$1(receiver, a0, $T1); + }, + map$2$1$ax: function(receiver, a0, $T1, $T2) { + return J.getInterceptor$ax(receiver).map$2$1(receiver, a0, $T1, $T2); + }, + matchAsPrefix$2$s: function(receiver, a0, a1) { + return J.getInterceptor$s(receiver).matchAsPrefix$2(receiver, a0, a1); + }, + matches$1$x: function(receiver, a0) { + return J.getInterceptor$x(receiver).matches$1(receiver, a0); + }, + matchesWithAncestors$1$x: function(receiver, a0) { + return J.getInterceptor$x(receiver).matchesWithAncestors$1(receiver, a0); + }, + noSuchMethod$1$: function(receiver, a0) { + return J.getInterceptor$(receiver).noSuchMethod$1(receiver, a0); + }, + postMessage$2$x: function(receiver, a0, a1) { + return J.getInterceptor$x(receiver).postMessage$2(receiver, a0, a1); + }, + preventDefault$0$x: function(receiver) { + return J.getInterceptor$x(receiver).preventDefault$0(receiver); + }, + remove$0$ax: function(receiver) { + return J.getInterceptor$ax(receiver).remove$0(receiver); + }, + remove$1$ax: function(receiver, a0) { + return J.getInterceptor$ax(receiver).remove$1(receiver, a0); + }, + removeAt$1$ax: function(receiver, a0) { + return J.getInterceptor$ax(receiver).removeAt$1(receiver, a0); + }, + removeEventListener$2$x: function(receiver, a0, a1) { + return J.getInterceptor$x(receiver).removeEventListener$2(receiver, a0, a1); + }, + removeEventListener$3$x: function(receiver, a0, a1, a2) { + return J.getInterceptor$x(receiver).removeEventListener$3(receiver, a0, a1, a2); + }, + removeLast$0$ax: function(receiver) { + return J.getInterceptor$ax(receiver).removeLast$0(receiver); + }, + removeRange$2$ax: function(receiver, a0, a1) { + return J.getInterceptor$ax(receiver).removeRange$2(receiver, a0, a1); + }, + removeWhere$1$ax: function(receiver, a0) { + return J.getInterceptor$ax(receiver).removeWhere$1(receiver, a0); + }, + replaceRange$3$asx: function(receiver, a0, a1, a2) { + return J.getInterceptor$asx(receiver).replaceRange$3(receiver, a0, a1, a2); + }, + replaceWith$1$x: function(receiver, a0) { + return J.getInterceptor$x(receiver).replaceWith$1(receiver, a0); + }, + round$0$n: function(receiver) { + return J.getInterceptor$n(receiver).round$0(receiver); + }, + send$1$x: function(receiver, a0) { + return J.getInterceptor$x(receiver).send$1(receiver, a0); + }, + serializeToString$1$x: function(receiver, a0) { + return J.getInterceptor$x(receiver).serializeToString$1(receiver, a0); + }, + setAll$2$ax: function(receiver, a0, a1) { + return J.getInterceptor$ax(receiver).setAll$2(receiver, a0, a1); + }, + setRange$3$ax: function(receiver, a0, a1, a2) { + return J.getInterceptor$ax(receiver).setRange$3(receiver, a0, a1, a2); + }, + setRange$4$ax: function(receiver, a0, a1, a2, a3) { + return J.getInterceptor$ax(receiver).setRange$4(receiver, a0, a1, a2, a3); + }, + setSelectionRange$2$x: function(receiver, a0, a1) { + return J.getInterceptor$x(receiver).setSelectionRange$2(receiver, a0, a1); + }, + setState$1$x: function(receiver, a0) { + return J.getInterceptor$x(receiver).setState$1(receiver, a0); + }, + setUint32$3$x: function(receiver, a0, a1, a2) { + return J.getInterceptor$x(receiver).setUint32$3(receiver, a0, a1, a2); + }, + skip$1$ax: function(receiver, a0) { + return J.getInterceptor$ax(receiver).skip$1(receiver, a0); + }, + sort$0$ax: function(receiver) { + return J.getInterceptor$ax(receiver).sort$0(receiver); + }, + sort$1$ax: function(receiver, a0) { + return J.getInterceptor$ax(receiver).sort$1(receiver, a0); + }, + startsWith$1$s: function(receiver, a0) { + return J.getInterceptor$s(receiver).startsWith$1(receiver, a0); + }, + stopPropagation$0$x: function(receiver) { + return J.getInterceptor$x(receiver).stopPropagation$0(receiver); + }, + sublist$1$ax: function(receiver, a0) { + return J.getInterceptor$ax(receiver).sublist$1(receiver, a0); + }, + sublist$2$ax: function(receiver, a0, a1) { + return J.getInterceptor$ax(receiver).sublist$2(receiver, a0, a1); + }, + substring$1$s: function(receiver, a0) { + return J.getInterceptor$s(receiver).substring$1(receiver, a0); + }, + substring$2$s: function(receiver, a0, a1) { + return J.getInterceptor$s(receiver).substring$2(receiver, a0, a1); + }, + take$1$ax: function(receiver, a0) { + return J.getInterceptor$ax(receiver).take$1(receiver, a0); + }, + then$1$1$z: function(receiver, a0, $T1) { + return J.getInterceptor$z(receiver).then$1$1(receiver, a0, $T1); + }, + then$1$2$onError$z: function(receiver, a0, a1, $T1) { + return J.getInterceptor$z(receiver).then$1$2$onError(receiver, a0, a1, $T1); + }, + toBlob$1$x: function(receiver, a0) { + return J.getInterceptor$x(receiver).toBlob$1(receiver, a0); + }, + toInt$0$n: function(receiver) { + return J.getInterceptor$n(receiver).toInt$0(receiver); + }, + toList$0$ax: function(receiver) { + return J.getInterceptor$ax(receiver).toList$0(receiver); + }, + toList$1$growable$ax: function(receiver, a0) { + return J.getInterceptor$ax(receiver).toList$1$growable(receiver, a0); + }, + toLowerCase$0$s: function(receiver) { + return J.getInterceptor$s(receiver).toLowerCase$0(receiver); + }, + toRadixString$1$n: function(receiver, a0) { + return J.getInterceptor$n(receiver).toRadixString$1(receiver, a0); + }, + toSet$0$ax: function(receiver) { + return J.getInterceptor$ax(receiver).toSet$0(receiver); + }, + toString$0$: function(receiver) { + return J.getInterceptor$(receiver).toString$0(receiver); + }, + toStringAsFixed$1$n: function(receiver, a0) { + return J.getInterceptor$n(receiver).toStringAsFixed$1(receiver, a0); + }, + trim$0$s: function(receiver) { + return J.getInterceptor$s(receiver).trim$0(receiver); + }, + where$1$ax: function(receiver, a0) { + return J.getInterceptor$ax(receiver).where$1(receiver, a0); + }, + Interceptor: function Interceptor() { + }, + JSBool: function JSBool() { + }, + JSNull: function JSNull() { + }, + JavaScriptObject: function JavaScriptObject() { + }, + PlainJavaScriptObject: function PlainJavaScriptObject() { + }, + UnknownJavaScriptObject: function UnknownJavaScriptObject() { + }, + JavaScriptFunction: function JavaScriptFunction() { + }, + JSArray: function JSArray(t0) { + this.$ti = t0; + }, + JSUnmodifiableArray: function JSUnmodifiableArray(t0) { + this.$ti = t0; + }, + ArrayIterator: function ArrayIterator(t0, t1, t2) { + var _ = this; + _._iterable = t0; + _.__interceptors$_length = t1; + _._index = 0; + _.__interceptors$_current = null; + _.$ti = t2; + }, + JSNumber: function JSNumber() { + }, + JSInt: function JSInt() { + }, + JSNumNotInt: function JSNumNotInt() { + }, + JSString: function JSString() { + } + }, + P = { + _AsyncRun__initializeScheduleImmediate: function() { + var div, span, t1 = {}; + if (self.scheduleImmediate != null) + return P.async__AsyncRun__scheduleImmediateJsOverride$closure(); + if (self.MutationObserver != null && self.document != null) { + div = self.document.createElement("div"); + span = self.document.createElement("span"); + t1.storedCallback = null; + new self.MutationObserver(H.convertDartClosureToJS(new P._AsyncRun__initializeScheduleImmediate_internalCallback(t1), 1)).observe(div, {childList: true}); + return new P._AsyncRun__initializeScheduleImmediate_closure(t1, div, span); + } else if (self.setImmediate != null) + return P.async__AsyncRun__scheduleImmediateWithSetImmediate$closure(); + return P.async__AsyncRun__scheduleImmediateWithTimer$closure(); + }, + _AsyncRun__scheduleImmediateJsOverride: function(callback) { + self.scheduleImmediate(H.convertDartClosureToJS(new P._AsyncRun__scheduleImmediateJsOverride_internalCallback(type$.void_Function._as(callback)), 0)); + }, + _AsyncRun__scheduleImmediateWithSetImmediate: function(callback) { + self.setImmediate(H.convertDartClosureToJS(new P._AsyncRun__scheduleImmediateWithSetImmediate_internalCallback(type$.void_Function._as(callback)), 0)); + }, + _AsyncRun__scheduleImmediateWithTimer: function(callback) { + P.Timer__createTimer(C.Duration_0, type$.void_Function._as(callback)); + }, + Timer__createTimer: function(duration, callback) { + var milliseconds = C.JSInt_methods._tdivFast$1(duration._duration, 1000); + return P._TimerImpl$(milliseconds < 0 ? 0 : milliseconds, callback); + }, + Timer__createPeriodicTimer: function(duration, callback) { + var milliseconds = C.JSInt_methods._tdivFast$1(duration._duration, 1000); + return P._TimerImpl$periodic(milliseconds < 0 ? 0 : milliseconds, callback); + }, + _TimerImpl$: function(milliseconds, callback) { + var t1 = new P._TimerImpl(true); + t1._TimerImpl$2(milliseconds, callback); + return t1; + }, + _TimerImpl$periodic: function(milliseconds, callback) { + var t1 = new P._TimerImpl(false); + t1._TimerImpl$periodic$2(milliseconds, callback); + return t1; + }, + _makeAsyncAwaitCompleter: function($T) { + return new P._AsyncAwaitCompleter(new P._Future($.Zone__current, $T._eval$1("_Future<0>")), $T._eval$1("_AsyncAwaitCompleter<0>")); + }, + _asyncStartSync: function(bodyFunction, completer) { + bodyFunction.call$2(0, null); + completer.isSync = true; + return completer._future; + }, + _asyncAwait: function(object, bodyFunction) { + P._awaitOnObject(object, bodyFunction); + }, + _asyncReturn: function(object, completer) { + completer.complete$1(0, object); + }, + _asyncRethrow: function(object, completer) { + completer.completeError$2(H.unwrapException(object), H.getTraceFromException(object)); + }, + _awaitOnObject: function(object, bodyFunction) { + var t1, future, + thenCallback = new P._awaitOnObject_closure(bodyFunction), + errorCallback = new P._awaitOnObject_closure0(bodyFunction); + if (object instanceof P._Future) + object._thenAwait$1$2(thenCallback, errorCallback, type$.dynamic); + else { + t1 = type$.dynamic; + if (type$.Future_dynamic._is(object)) + object.then$1$2$onError(0, thenCallback, errorCallback, t1); + else { + future = new P._Future($.Zone__current, type$._Future_dynamic); + future._async$_state = 4; + future._resultOrListeners = object; + future._thenAwait$1$2(thenCallback, errorCallback, t1); + } + } + }, + _wrapJsFunctionForAsync: function($function) { + var $protected = function(fn, ERROR) { + return function(errorCode, result) { + while (true) + try { + fn(errorCode, result); + break; + } catch (error) { + result = error; + errorCode = ERROR; + } + }; + }($function, 1); + return $.Zone__current.registerBinaryCallback$3$1(new P._wrapJsFunctionForAsync_closure($protected), type$.void, type$.int, type$.dynamic); + }, + _IterationMarker_yieldStar: function(values) { + return new P._IterationMarker(values, 1); + }, + _IterationMarker_endOfIteration: function() { + return C._IterationMarker_null_2; + }, + _IterationMarker_uncaughtError: function(error) { + return new P._IterationMarker(error, 3); + }, + _makeSyncStarIterable: function(body, $T) { + return new P._SyncStarIterable(body, $T._eval$1("_SyncStarIterable<0>")); + }, + AsyncError$: function(error, stackTrace) { + var t1 = H.checkNotNullable(error, "error", type$.Object); + return new P.AsyncError(t1, stackTrace == null ? P.AsyncError_defaultStackTrace(error) : stackTrace); + }, + AsyncError_defaultStackTrace: function(error) { + var stackTrace; + if (type$.Error._is(error)) { + stackTrace = error.get$stackTrace(); + if (stackTrace != null) + return stackTrace; + } + return C.C__StringStackTrace; + }, + Future_Future: function(computation, $T) { + var result = new P._Future($.Zone__current, $T._eval$1("_Future<0>")); + P.Timer_Timer(C.Duration_0, new P.Future_Future_closure(result, computation)); + return result; + }, + Future_Future$value: function(value, $T) { + var t1 = new P._Future($.Zone__current, $T._eval$1("_Future<0>")); + t1._asyncComplete$1(value); + return t1; + }, + Future_Future$error: function(error, stackTrace, $T) { + var t1; + H.checkNotNullable(error, "error", type$.Object); + $.Zone__current !== C.C__RootZone; + if (stackTrace == null) + stackTrace = P.AsyncError_defaultStackTrace(error); + t1 = new P._Future($.Zone__current, $T._eval$1("_Future<0>")); + t1._asyncCompleteError$2(error, stackTrace); + return t1; + }, + Future_Future$delayed: function(duration, computation, $T) { + var result = new P._Future($.Zone__current, $T._eval$1("_Future<0>")); + P.Timer_Timer(duration, new P.Future_Future$delayed_closure(computation, result, $T)); + return result; + }, + Future_wait: function(futures, $T) { + var _error_get, _error_set, _stackTrace_get, _stackTrace_set, handleError, future, pos, e, st, t1, t2, _i, t3, exception, _box_0 = {}, cleanUp = null, + eagerError = false, + _future = new P._Future($.Zone__current, $T._eval$1("_Future>")); + _box_0.values = null; + _box_0.remaining = 0; + _box_0._error = $; + _error_get = new P.Future_wait__error_get(_box_0); + _error_set = new P.Future_wait__error_set(_box_0); + _box_0._stackTrace = $; + _stackTrace_get = new P.Future_wait__stackTrace_get(_box_0); + _stackTrace_set = new P.Future_wait__stackTrace_set(_box_0); + handleError = new P.Future_wait_handleError(_box_0, cleanUp, eagerError, _future, _error_set, _stackTrace_set, _error_get, _stackTrace_get); + try { + for (t1 = futures.length, t2 = type$.Null, _i = 0, t3 = 0; _i < futures.length; futures.length === t1 || (0, H.throwConcurrentModificationError)(futures), ++_i) { + future = futures[_i]; + pos = t3; + J.then$1$2$onError$z(future, new P.Future_wait_closure(_box_0, pos, _future, cleanUp, eagerError, _error_get, _stackTrace_get, $T), handleError, t2); + t3 = ++_box_0.remaining; + } + if (t3 === 0) { + t1 = _future; + t1._completeWithValue$1(H.setRuntimeTypeInfo([], $T._eval$1("JSArray<0>"))); + return t1; + } + _box_0.values = P.List_List$filled(t3, null, false, $T._eval$1("0?")); + } catch (exception) { + e = H.unwrapException(exception); + st = H.getTraceFromException(exception); + if (_box_0.remaining === 0 || H.boolConversionCheck(eagerError)) + return P.Future_Future$error(e, st, $T._eval$1("List<0>")); + else { + _error_set.call$1(e); + _stackTrace_set.call$1(st); + } + } + return _future; + }, + _completeWithErrorCallback: function(result, error, stackTrace) { + if (stackTrace == null) + stackTrace = P.AsyncError_defaultStackTrace(error); + result._completeError$2(error, stackTrace); + }, + _Future__chainCoreFuture: function(source, target) { + var t1, t2, listeners; + for (t1 = type$._Future_dynamic; t2 = source._async$_state, t2 === 2;) + source = t1._as(source._resultOrListeners); + if (t2 >= 4) { + listeners = target._removeListeners$0(); + target._async$_state = source._async$_state; + target._resultOrListeners = source._resultOrListeners; + P._Future__propagateToListeners(target, listeners); + } else { + listeners = type$.nullable__FutureListener_dynamic_dynamic._as(target._resultOrListeners); + target._async$_state = 2; + target._resultOrListeners = source; + source._prependListeners$1(listeners); + } + }, + _Future__propagateToListeners: function(source, listeners) { + var t2, t3, t4, _box_0, hasError, asyncError, nextListener, nextListener0, t5, sourceResult, t6, t7, zone, oldZone, result, current, _null = null, _box_1 = {}, + t1 = _box_1.source = source; + for (t2 = type$.AsyncError, t3 = type$.nullable__FutureListener_dynamic_dynamic, t4 = type$.Future_dynamic; true;) { + _box_0 = {}; + hasError = t1._async$_state === 8; + if (listeners == null) { + if (hasError) { + asyncError = t2._as(t1._resultOrListeners); + P._rootHandleUncaughtError(_null, _null, t1._zone, asyncError.error, asyncError.stackTrace); + } + return; + } + _box_0.listener = listeners; + nextListener = listeners._nextListener; + for (t1 = listeners; nextListener != null; t1 = nextListener, nextListener = nextListener0) { + t1._nextListener = null; + P._Future__propagateToListeners(_box_1.source, t1); + _box_0.listener = nextListener; + nextListener0 = nextListener._nextListener; + } + t5 = _box_1.source; + sourceResult = t5._resultOrListeners; + _box_0.listenerHasError = hasError; + _box_0.listenerValueOrError = sourceResult; + t6 = !hasError; + if (t6) { + t7 = t1.state; + t7 = (t7 & 1) !== 0 || (t7 & 15) === 8; + } else + t7 = true; + if (t7) { + zone = t1.result._zone; + if (hasError) { + t7 = t5._zone === zone; + t7 = !(t7 || t7); + } else + t7 = false; + if (t7) { + t2._as(sourceResult); + P._rootHandleUncaughtError(_null, _null, t5._zone, sourceResult.error, sourceResult.stackTrace); + return; + } + oldZone = $.Zone__current; + if (oldZone !== zone) + $.Zone__current = zone; + else + oldZone = _null; + t1 = t1.state; + if ((t1 & 15) === 8) + new P._Future__propagateToListeners_handleWhenCompleteCallback(_box_0, _box_1, hasError).call$0(); + else if (t6) { + if ((t1 & 1) !== 0) + new P._Future__propagateToListeners_handleValueCallback(_box_0, sourceResult).call$0(); + } else if ((t1 & 2) !== 0) + new P._Future__propagateToListeners_handleError(_box_1, _box_0).call$0(); + if (oldZone != null) + $.Zone__current = oldZone; + t1 = _box_0.listenerValueOrError; + if (t4._is(t1)) { + t5 = _box_0.listener.$ti; + t5 = t5._eval$1("Future<2>")._is(t1) || !t5._rest[1]._is(t1); + } else + t5 = false; + if (t5) { + t4._as(t1); + result = _box_0.listener.result; + if (t1 instanceof P._Future) + if (t1._async$_state >= 4) { + current = t3._as(result._resultOrListeners); + result._resultOrListeners = null; + listeners = result._reverseListeners$1(current); + result._async$_state = t1._async$_state; + result._resultOrListeners = t1._resultOrListeners; + _box_1.source = t1; + continue; + } else + P._Future__chainCoreFuture(t1, result); + else + result._chainForeignFuture$1(t1); + return; + } + } + result = _box_0.listener.result; + current = t3._as(result._resultOrListeners); + result._resultOrListeners = null; + listeners = result._reverseListeners$1(current); + t1 = _box_0.listenerHasError; + t5 = _box_0.listenerValueOrError; + if (!t1) { + result.$ti._precomputed1._as(t5); + result._async$_state = 4; + result._resultOrListeners = t5; + } else { + t2._as(t5); + result._async$_state = 8; + result._resultOrListeners = t5; + } + _box_1.source = result; + t1 = result; + } + }, + _registerErrorHandler: function(errorHandler, zone) { + var t1; + if (type$.dynamic_Function_Object_StackTrace._is(errorHandler)) + return zone.registerBinaryCallback$3$1(errorHandler, type$.dynamic, type$.Object, type$.StackTrace); + t1 = type$.dynamic_Function_Object; + if (t1._is(errorHandler)) + return t1._as(errorHandler); + throw H.wrapException(P.ArgumentError$value(errorHandler, "onError", "Error handler must accept one Object or one Object and a StackTrace as arguments, and return a valid result")); + }, + _microtaskLoop: function() { + var entry, next; + for (entry = $._nextCallback; entry != null; entry = $._nextCallback) { + $._lastPriorityCallback = null; + next = entry.next; + $._nextCallback = next; + if (next == null) + $._lastCallback = null; + entry.callback.call$0(); + } + }, + _startMicrotaskLoop: function() { + $._isInCallbackLoop = true; + try { + P._microtaskLoop(); + } finally { + $._lastPriorityCallback = null; + $._isInCallbackLoop = false; + if ($._nextCallback != null) + $.$get$_AsyncRun__scheduleImmediateClosure().call$1(P.async___startMicrotaskLoop$closure()); + } + }, + _scheduleAsyncCallback: function(callback) { + var newEntry = new P._AsyncCallbackEntry(callback), + lastCallback = $._lastCallback; + if (lastCallback == null) { + $._nextCallback = $._lastCallback = newEntry; + if (!$._isInCallbackLoop) + $.$get$_AsyncRun__scheduleImmediateClosure().call$1(P.async___startMicrotaskLoop$closure()); + } else + $._lastCallback = lastCallback.next = newEntry; + }, + _schedulePriorityAsyncCallback: function(callback) { + var entry, lastPriorityCallback, next, + t1 = $._nextCallback; + if (t1 == null) { + P._scheduleAsyncCallback(callback); + $._lastPriorityCallback = $._lastCallback; + return; + } + entry = new P._AsyncCallbackEntry(callback); + lastPriorityCallback = $._lastPriorityCallback; + if (lastPriorityCallback == null) { + entry.next = t1; + $._nextCallback = $._lastPriorityCallback = entry; + } else { + next = lastPriorityCallback.next; + entry.next = next; + $._lastPriorityCallback = lastPriorityCallback.next = entry; + if (next == null) + $._lastCallback = entry; + } + }, + scheduleMicrotask: function(callback) { + var _null = null, + currentZone = $.Zone__current; + if (C.C__RootZone === currentZone) { + P._rootScheduleMicrotask(_null, _null, C.C__RootZone, callback); + return; + } + P._rootScheduleMicrotask(_null, _null, currentZone, type$.void_Function._as(currentZone.bindCallbackGuarded$1(callback))); + }, + Stream_Stream$fromIterable: function(elements, $T) { + return new P._GeneratedStreamImpl(new P.Stream_Stream$fromIterable_closure(elements, $T), $T._eval$1("_GeneratedStreamImpl<0>")); + }, + StreamIterator_StreamIterator: function(stream, $T) { + H.checkNotNullable(stream, "stream", type$.Object); + return new P._StreamIterator($T._eval$1("_StreamIterator<0>")); + }, + StreamController_StreamController$broadcast: function(onCancel, sync, $T) { + return sync ? new P._SyncBroadcastStreamController(null, onCancel, $T._eval$1("_SyncBroadcastStreamController<0>")) : new P._AsyncBroadcastStreamController(null, onCancel, $T._eval$1("_AsyncBroadcastStreamController<0>")); + }, + _runGuarded: function(notificationHandler) { + var e, s, exception; + if (notificationHandler == null) + return; + try { + notificationHandler.call$0(); + } catch (exception) { + e = H.unwrapException(exception); + s = H.getTraceFromException(exception); + P._rootHandleUncaughtError(null, null, $.Zone__current, e, type$.StackTrace._as(s)); + } + }, + _ControllerSubscription$: function(_controller, onData, onError, onDone, cancelOnError, $T) { + var t1 = $.Zone__current, + t2 = cancelOnError ? 1 : 0, + t3 = P._BufferingStreamSubscription__registerDataHandler(t1, onData, $T), + t4 = P._BufferingStreamSubscription__registerErrorHandler(t1, onError), + t5 = onDone == null ? P.async___nullDoneHandler$closure() : onDone; + return new P._ControllerSubscription(_controller, t3, t4, type$.void_Function._as(t5), t1, t2, $T._eval$1("_ControllerSubscription<0>")); + }, + _BufferingStreamSubscription$: function(onData, onError, onDone, cancelOnError, $T) { + var t1 = $.Zone__current, + t2 = cancelOnError ? 1 : 0, + t3 = P._BufferingStreamSubscription__registerDataHandler(t1, onData, $T), + t4 = P._BufferingStreamSubscription__registerErrorHandler(t1, onError), + t5 = onDone == null ? P.async___nullDoneHandler$closure() : onDone; + return new P._BufferingStreamSubscription(t3, t4, type$.void_Function._as(t5), t1, t2, $T._eval$1("_BufferingStreamSubscription<0>")); + }, + _BufferingStreamSubscription__registerDataHandler: function(zone, handleData, $T) { + var t1 = handleData == null ? P.async___nullDataHandler$closure() : handleData; + return type$.$env_1_1_void._bind$1($T)._eval$1("1(2)")._as(t1); + }, + _BufferingStreamSubscription__registerErrorHandler: function(zone, handleError) { + if (handleError == null) + handleError = P.async___nullErrorHandler$closure(); + if (type$.void_Function_Object_StackTrace._is(handleError)) + return zone.registerBinaryCallback$3$1(handleError, type$.dynamic, type$.Object, type$.StackTrace); + if (type$.void_Function_Object._is(handleError)) + return type$.dynamic_Function_Object._as(handleError); + throw H.wrapException(P.ArgumentError$(string$.handle)); + }, + _nullDataHandler: function(value) { + }, + _nullErrorHandler: function(error, stackTrace) { + type$.StackTrace._as(stackTrace); + P._rootHandleUncaughtError(null, null, $.Zone__current, error, stackTrace); + }, + _nullDoneHandler: function() { + }, + _cancelAndValue: function(subscription, future, value) { + var cancelFuture = subscription.cancel$0(0); + if (cancelFuture != null && cancelFuture !== $.$get$Future__nullFuture()) + cancelFuture.whenComplete$1(new P._cancelAndValue_closure(future, value)); + else + future._complete$1(value); + }, + _ForwardingStreamSubscription$: function(_stream, onData, onError, onDone, cancelOnError, $S, $T) { + var t1 = $.Zone__current, + t2 = cancelOnError ? 1 : 0, + t3 = P._BufferingStreamSubscription__registerDataHandler(t1, onData, $T), + t4 = P._BufferingStreamSubscription__registerErrorHandler(t1, onError), + t5 = onDone == null ? P.async___nullDoneHandler$closure() : onDone; + t2 = new P._ForwardingStreamSubscription(_stream, t3, t4, type$.void_Function._as(t5), t1, t2, $S._eval$1("@<0>")._bind$1($T)._eval$1("_ForwardingStreamSubscription<1,2>")); + t2._ForwardingStreamSubscription$5(_stream, onData, onError, onDone, cancelOnError, $S, $T); + return t2; + }, + _addErrorWithReplacement: function(sink, error, stackTrace) { + sink._addError$2(error, stackTrace); + }, + Timer_Timer: function(duration, callback) { + var t1 = $.Zone__current; + if (t1 === C.C__RootZone) + return P.Timer__createTimer(duration, type$.void_Function._as(callback)); + return P.Timer__createTimer(duration, type$.void_Function._as(t1.bindCallbackGuarded$1(callback))); + }, + Timer_Timer$periodic: function(duration, callback) { + var t1 = $.Zone__current; + if (t1 === C.C__RootZone) + return P.Timer__createPeriodicTimer(duration, type$.void_Function_Timer._as(callback)); + return P.Timer__createPeriodicTimer(duration, type$.void_Function_Timer._as(t1.bindUnaryCallbackGuarded$1$1(callback, type$.Timer))); + }, + _rootHandleUncaughtError: function($self, $parent, zone, error, stackTrace) { + P._schedulePriorityAsyncCallback(new P._rootHandleUncaughtError_closure(error, stackTrace)); + }, + _rootRun: function($self, $parent, zone, f, $R) { + var old, + t1 = $.Zone__current; + if (t1 === zone) + return f.call$0(); + $.Zone__current = zone; + old = t1; + try { + t1 = f.call$0(); + return t1; + } finally { + $.Zone__current = old; + } + }, + _rootRunUnary: function($self, $parent, zone, f, arg, $R, $T) { + var old, + t1 = $.Zone__current; + if (t1 === zone) + return f.call$1(arg); + $.Zone__current = zone; + old = t1; + try { + t1 = f.call$1(arg); + return t1; + } finally { + $.Zone__current = old; + } + }, + _rootRunBinary: function($self, $parent, zone, f, arg1, arg2, $R, T1, T2) { + var old, + t1 = $.Zone__current; + if (t1 === zone) + return f.call$2(arg1, arg2); + $.Zone__current = zone; + old = t1; + try { + t1 = f.call$2(arg1, arg2); + return t1; + } finally { + $.Zone__current = old; + } + }, + _rootScheduleMicrotask: function($self, $parent, zone, f) { + type$.void_Function._as(f); + if (C.C__RootZone !== zone) + f = zone.bindCallbackGuarded$1(f); + P._scheduleAsyncCallback(f); + }, + _AsyncRun__initializeScheduleImmediate_internalCallback: function _AsyncRun__initializeScheduleImmediate_internalCallback(t0) { + this._box_0 = t0; + }, + _AsyncRun__initializeScheduleImmediate_closure: function _AsyncRun__initializeScheduleImmediate_closure(t0, t1, t2) { + this._box_0 = t0; + this.div = t1; + this.span = t2; + }, + _AsyncRun__scheduleImmediateJsOverride_internalCallback: function _AsyncRun__scheduleImmediateJsOverride_internalCallback(t0) { + this.callback = t0; + }, + _AsyncRun__scheduleImmediateWithSetImmediate_internalCallback: function _AsyncRun__scheduleImmediateWithSetImmediate_internalCallback(t0) { + this.callback = t0; + }, + _TimerImpl: function _TimerImpl(t0) { + this._once = t0; + this._handle = null; + this._tick = 0; + }, + _TimerImpl_internalCallback: function _TimerImpl_internalCallback(t0, t1) { + this.$this = t0; + this.callback = t1; + }, + _TimerImpl$periodic_closure: function _TimerImpl$periodic_closure(t0, t1, t2, t3) { + var _ = this; + _.$this = t0; + _.milliseconds = t1; + _.start = t2; + _.callback = t3; + }, + _AsyncAwaitCompleter: function _AsyncAwaitCompleter(t0, t1) { + this._future = t0; + this.isSync = false; + this.$ti = t1; + }, + _awaitOnObject_closure: function _awaitOnObject_closure(t0) { + this.bodyFunction = t0; + }, + _awaitOnObject_closure0: function _awaitOnObject_closure0(t0) { + this.bodyFunction = t0; + }, + _wrapJsFunctionForAsync_closure: function _wrapJsFunctionForAsync_closure(t0) { + this.$protected = t0; + }, + _IterationMarker: function _IterationMarker(t0, t1) { + this.value = t0; + this.state = t1; + }, + _SyncStarIterator: function _SyncStarIterator(t0, t1) { + var _ = this; + _._body = t0; + _._suspendedBodies = _._nestedIterator = _._async$_current = null; + _.$ti = t1; + }, + _SyncStarIterable: function _SyncStarIterable(t0, t1) { + this._outerHelper = t0; + this.$ti = t1; + }, + AsyncError: function AsyncError(t0, t1) { + this.error = t0; + this.stackTrace = t1; + }, + _BroadcastStream: function _BroadcastStream(t0, t1) { + this._async$_controller = t0; + this.$ti = t1; + }, + _BroadcastSubscription: function _BroadcastSubscription(t0, t1, t2, t3, t4, t5, t6) { + var _ = this; + _._eventState = 0; + _._async$_previous = _._async$_next = null; + _._async$_controller = t0; + _._async$_onData = t1; + _._onError = t2; + _._onDone = t3; + _._zone = t4; + _._async$_state = t5; + _._pending = _._cancelFuture = null; + _.$ti = t6; + }, + _BroadcastStreamController: function _BroadcastStreamController() { + }, + _SyncBroadcastStreamController: function _SyncBroadcastStreamController(t0, t1, t2) { + var _ = this; + _.onListen = t0; + _.onCancel = t1; + _._async$_state = 0; + _._addStreamState = _._lastSubscription = _._firstSubscription = null; + _.$ti = t2; + }, + _SyncBroadcastStreamController__sendData_closure: function _SyncBroadcastStreamController__sendData_closure(t0, t1) { + this.$this = t0; + this.data = t1; + }, + _AsyncBroadcastStreamController: function _AsyncBroadcastStreamController(t0, t1, t2) { + var _ = this; + _.onListen = t0; + _.onCancel = t1; + _._async$_state = 0; + _._addStreamState = _._lastSubscription = _._firstSubscription = null; + _.$ti = t2; + }, + Future_Future_closure: function Future_Future_closure(t0, t1) { + this.result = t0; + this.computation = t1; + }, + Future_Future$delayed_closure: function Future_Future$delayed_closure(t0, t1, t2) { + this.computation = t0; + this.result = t1; + this.T = t2; + }, + Future_wait__error_set: function Future_wait__error_set(t0) { + this._box_0 = t0; + }, + Future_wait__stackTrace_set: function Future_wait__stackTrace_set(t0) { + this._box_0 = t0; + }, + Future_wait__error_get: function Future_wait__error_get(t0) { + this._box_0 = t0; + }, + Future_wait__stackTrace_get: function Future_wait__stackTrace_get(t0) { + this._box_0 = t0; + }, + Future_wait_handleError: function Future_wait_handleError(t0, t1, t2, t3, t4, t5, t6, t7) { + var _ = this; + _._box_0 = t0; + _.cleanUp = t1; + _.eagerError = t2; + _._future = t3; + _._error_set = t4; + _._stackTrace_set = t5; + _._error_get = t6; + _._stackTrace_get = t7; + }, + Future_wait_closure: function Future_wait_closure(t0, t1, t2, t3, t4, t5, t6, t7) { + var _ = this; + _._box_0 = t0; + _.pos = t1; + _._future = t2; + _.cleanUp = t3; + _.eagerError = t4; + _._error_get = t5; + _._stackTrace_get = t6; + _.T = t7; + }, + _Completer: function _Completer() { + }, + _AsyncCompleter: function _AsyncCompleter(t0, t1) { + this.future = t0; + this.$ti = t1; + }, + _SyncCompleter: function _SyncCompleter(t0, t1) { + this.future = t0; + this.$ti = t1; + }, + _FutureListener: function _FutureListener(t0, t1, t2, t3, t4) { + var _ = this; + _._nextListener = null; + _.result = t0; + _.state = t1; + _.callback = t2; + _.errorCallback = t3; + _.$ti = t4; + }, + _Future: function _Future(t0, t1) { + var _ = this; + _._async$_state = 0; + _._zone = t0; + _._resultOrListeners = null; + _.$ti = t1; + }, + _Future__addListener_closure: function _Future__addListener_closure(t0, t1) { + this.$this = t0; + this.listener = t1; + }, + _Future__prependListeners_closure: function _Future__prependListeners_closure(t0, t1) { + this._box_0 = t0; + this.$this = t1; + }, + _Future__chainForeignFuture_closure: function _Future__chainForeignFuture_closure(t0) { + this.$this = t0; + }, + _Future__chainForeignFuture_closure0: function _Future__chainForeignFuture_closure0(t0) { + this.$this = t0; + }, + _Future__chainForeignFuture_closure1: function _Future__chainForeignFuture_closure1(t0, t1, t2) { + this.$this = t0; + this.e = t1; + this.s = t2; + }, + _Future__asyncCompleteWithValue_closure: function _Future__asyncCompleteWithValue_closure(t0, t1) { + this.$this = t0; + this.value = t1; + }, + _Future__chainFuture_closure: function _Future__chainFuture_closure(t0, t1) { + this.$this = t0; + this.value = t1; + }, + _Future__asyncCompleteError_closure: function _Future__asyncCompleteError_closure(t0, t1, t2) { + this.$this = t0; + this.error = t1; + this.stackTrace = t2; + }, + _Future__propagateToListeners_handleWhenCompleteCallback: function _Future__propagateToListeners_handleWhenCompleteCallback(t0, t1, t2) { + this._box_0 = t0; + this._box_1 = t1; + this.hasError = t2; + }, + _Future__propagateToListeners_handleWhenCompleteCallback_closure: function _Future__propagateToListeners_handleWhenCompleteCallback_closure(t0) { + this.originalSource = t0; + }, + _Future__propagateToListeners_handleValueCallback: function _Future__propagateToListeners_handleValueCallback(t0, t1) { + this._box_0 = t0; + this.sourceResult = t1; + }, + _Future__propagateToListeners_handleError: function _Future__propagateToListeners_handleError(t0, t1) { + this._box_1 = t0; + this._box_0 = t1; + }, + _AsyncCallbackEntry: function _AsyncCallbackEntry(t0) { + this.callback = t0; + this.next = null; + }, + Stream: function Stream() { + }, + Stream_Stream$fromIterable_closure: function Stream_Stream$fromIterable_closure(t0, t1) { + this.elements = t0; + this.T = t1; + }, + Stream_length_closure: function Stream_length_closure(t0, t1) { + this._box_0 = t0; + this.$this = t1; + }, + Stream_length_closure0: function Stream_length_closure0(t0, t1) { + this._box_0 = t0; + this.future = t1; + }, + Stream_first_closure: function Stream_first_closure(t0) { + this.future = t0; + }, + Stream_first_closure0: function Stream_first_closure0(t0, t1, t2) { + this.$this = t0; + this.subscription = t1; + this.future = t2; + }, + StreamSubscription: function StreamSubscription() { + }, + StreamView: function StreamView() { + }, + StreamTransformerBase: function StreamTransformerBase() { + }, + _StreamController: function _StreamController() { + }, + _StreamController__subscribe_closure: function _StreamController__subscribe_closure(t0) { + this.$this = t0; + }, + _StreamController__recordCancel_complete: function _StreamController__recordCancel_complete(t0) { + this.$this = t0; + }, + _SyncStreamControllerDispatch: function _SyncStreamControllerDispatch() { + }, + _SyncStreamController: function _SyncStreamController(t0, t1, t2, t3, t4) { + var _ = this; + _._varData = null; + _._async$_state = 0; + _.onListen = t0; + _.onPause = t1; + _.onResume = t2; + _.onCancel = t3; + _.$ti = t4; + }, + _ControllerStream: function _ControllerStream(t0, t1) { + this._async$_controller = t0; + this.$ti = t1; + }, + _ControllerSubscription: function _ControllerSubscription(t0, t1, t2, t3, t4, t5, t6) { + var _ = this; + _._async$_controller = t0; + _._async$_onData = t1; + _._onError = t2; + _._onDone = t3; + _._zone = t4; + _._async$_state = t5; + _._pending = _._cancelFuture = null; + _.$ti = t6; + }, + _BufferingStreamSubscription: function _BufferingStreamSubscription(t0, t1, t2, t3, t4, t5) { + var _ = this; + _._async$_onData = t0; + _._onError = t1; + _._onDone = t2; + _._zone = t3; + _._async$_state = t4; + _._pending = _._cancelFuture = null; + _.$ti = t5; + }, + _BufferingStreamSubscription__sendError_sendError: function _BufferingStreamSubscription__sendError_sendError(t0, t1, t2) { + this.$this = t0; + this.error = t1; + this.stackTrace = t2; + }, + _BufferingStreamSubscription__sendDone_sendDone: function _BufferingStreamSubscription__sendDone_sendDone(t0) { + this.$this = t0; + }, + _StreamImpl: function _StreamImpl() { + }, + _GeneratedStreamImpl: function _GeneratedStreamImpl(t0, t1) { + this._pending = t0; + this._isUsed = false; + this.$ti = t1; + }, + _IterablePendingEvents: function _IterablePendingEvents(t0, t1) { + this._async$_iterator = t0; + this._async$_state = 0; + this.$ti = t1; + }, + _DelayedEvent: function _DelayedEvent() { + }, + _DelayedData: function _DelayedData(t0, t1) { + this.value = t0; + this.next = null; + this.$ti = t1; + }, + _DelayedError: function _DelayedError(t0, t1) { + this.error = t0; + this.stackTrace = t1; + this.next = null; + }, + _DelayedDone: function _DelayedDone() { + }, + _PendingEvents: function _PendingEvents() { + }, + _PendingEvents_schedule_closure: function _PendingEvents_schedule_closure(t0, t1) { + this.$this = t0; + this.dispatch = t1; + }, + _StreamImplEvents: function _StreamImplEvents(t0) { + var _ = this; + _.lastPendingEvent = _.firstPendingEvent = null; + _._async$_state = 0; + _.$ti = t0; + }, + _DoneStreamSubscription: function _DoneStreamSubscription(t0, t1, t2) { + var _ = this; + _._zone = t0; + _._async$_state = 0; + _._onDone = t1; + _.$ti = t2; + }, + _StreamIterator: function _StreamIterator(t0) { + this.$ti = t0; + }, + _cancelAndValue_closure: function _cancelAndValue_closure(t0, t1) { + this.future = t0; + this.value = t1; + }, + _ForwardingStream: function _ForwardingStream() { + }, + _ForwardingStreamSubscription: function _ForwardingStreamSubscription(t0, t1, t2, t3, t4, t5, t6) { + var _ = this; + _._stream = t0; + _._subscription = null; + _._async$_onData = t1; + _._onError = t2; + _._onDone = t3; + _._zone = t4; + _._async$_state = t5; + _._pending = _._cancelFuture = null; + _.$ti = t6; + }, + _MapStream: function _MapStream(t0, t1, t2) { + this._transform = t0; + this._async$_source = t1; + this.$ti = t2; + }, + _Zone: function _Zone() { + }, + _rootHandleUncaughtError_closure: function _rootHandleUncaughtError_closure(t0, t1) { + this.error = t0; + this.stackTrace = t1; + }, + _RootZone: function _RootZone() { + }, + _RootZone_bindCallbackGuarded_closure: function _RootZone_bindCallbackGuarded_closure(t0, t1) { + this.$this = t0; + this.f = t1; + }, + _RootZone_bindUnaryCallbackGuarded_closure: function _RootZone_bindUnaryCallbackGuarded_closure(t0, t1, t2) { + this.$this = t0; + this.f = t1; + this.T = t2; + }, + HashMap_HashMap: function(equals, hashCode, isValidKey, $K, $V) { + if (isValidKey == null) + if (hashCode == null) { + if (equals == null) + return new P._HashMap($K._eval$1("@<0>")._bind$1($V)._eval$1("_HashMap<1,2>")); + hashCode = P.collection___defaultHashCode$closure(); + } else { + if (P.core__identityHashCode$closure() === hashCode && P.core__identical$closure() === equals) + return new P._IdentityHashMap($K._eval$1("@<0>")._bind$1($V)._eval$1("_IdentityHashMap<1,2>")); + if (equals == null) + equals = P.collection___defaultEquals$closure(); + } + else { + if (hashCode == null) + hashCode = P.collection___defaultHashCode$closure(); + if (equals == null) + equals = P.collection___defaultEquals$closure(); + } + return P._CustomHashMap$(equals, hashCode, isValidKey, $K, $V); + }, + _HashMap__getTableEntry: function(table, key) { + var entry = table[key]; + return entry === table ? null : entry; + }, + _HashMap__setTableEntry: function(table, key, value) { + if (value == null) + table[key] = table; + else + table[key] = value; + }, + _HashMap__newHashTable: function() { + var table = Object.create(null); + P._HashMap__setTableEntry(table, "", table); + delete table[""]; + return table; + }, + _CustomHashMap$: function(_equals, _hashCode, validKey, $K, $V) { + var t1 = validKey != null ? validKey : new P._CustomHashMap_closure($K); + return new P._CustomHashMap(_equals, _hashCode, t1, $K._eval$1("@<0>")._bind$1($V)._eval$1("_CustomHashMap<1,2>")); + }, + LinkedHashMap_LinkedHashMap: function(equals, hashCode, $K, $V) { + if (hashCode == null) { + if (equals == null) + return new H.JsLinkedHashMap($K._eval$1("@<0>")._bind$1($V)._eval$1("JsLinkedHashMap<1,2>")); + hashCode = P.collection___defaultHashCode$closure(); + } else { + if (P.core__identityHashCode$closure() === hashCode && P.core__identical$closure() === equals) + return new P._LinkedIdentityHashMap($K._eval$1("@<0>")._bind$1($V)._eval$1("_LinkedIdentityHashMap<1,2>")); + if (equals == null) + equals = P.collection___defaultEquals$closure(); + } + return P._LinkedCustomHashMap$(equals, hashCode, null, $K, $V); + }, + LinkedHashMap_LinkedHashMap$_literal: function(keyValuePairs, $K, $V) { + return $K._eval$1("@<0>")._bind$1($V)._eval$1("LinkedHashMap<1,2>")._as(H.fillLiteralMap(keyValuePairs, new H.JsLinkedHashMap($K._eval$1("@<0>")._bind$1($V)._eval$1("JsLinkedHashMap<1,2>")))); + }, + LinkedHashMap_LinkedHashMap$_empty: function($K, $V) { + return new H.JsLinkedHashMap($K._eval$1("@<0>")._bind$1($V)._eval$1("JsLinkedHashMap<1,2>")); + }, + _LinkedCustomHashMap$: function(_equals, _hashCode, validKey, $K, $V) { + return new P._LinkedCustomHashMap(_equals, _hashCode, new P._LinkedCustomHashMap_closure($K), $K._eval$1("@<0>")._bind$1($V)._eval$1("_LinkedCustomHashMap<1,2>")); + }, + HashSet_HashSet: function($E) { + return new P._HashSet($E._eval$1("_HashSet<0>")); + }, + _HashSet__newHashTable: function() { + var table = Object.create(null); + table[""] = table; + delete table[""]; + return table; + }, + LinkedHashSet_LinkedHashSet: function($E) { + return new P._LinkedHashSet($E._eval$1("_LinkedHashSet<0>")); + }, + LinkedHashSet_LinkedHashSet$_empty: function($E) { + return new P._LinkedHashSet($E._eval$1("_LinkedHashSet<0>")); + }, + LinkedHashSet_LinkedHashSet$_literal: function(values, $E) { + return $E._eval$1("LinkedHashSet<0>")._as(H.fillLiteralSet(values, new P._LinkedHashSet($E._eval$1("_LinkedHashSet<0>")))); + }, + _LinkedHashSet__newHashTable: function() { + var table = Object.create(null); + table[""] = table; + delete table[""]; + return table; + }, + _LinkedHashSetIterator$: function(_set, _modifications, $E) { + var t1 = new P._LinkedHashSetIterator(_set, _modifications, $E._eval$1("_LinkedHashSetIterator<0>")); + t1._collection$_cell = _set._collection$_first; + return t1; + }, + _defaultEquals: function(a, b) { + return J.$eq$(a, b); + }, + _defaultHashCode: function(a) { + return J.get$hashCode$(a); + }, + IterableBase_iterableToShortString: function(iterable, leftDelimiter, rightDelimiter) { + var parts, t1; + if (P._isToStringVisiting(iterable)) { + if (leftDelimiter === "(" && rightDelimiter === ")") + return "(...)"; + return leftDelimiter + "..." + rightDelimiter; + } + parts = H.setRuntimeTypeInfo([], type$.JSArray_String); + C.JSArray_methods.add$1($._toStringVisiting, iterable); + try { + P._iterablePartsToStrings(iterable, parts); + } finally { + if (0 >= $._toStringVisiting.length) + return H.ioore($._toStringVisiting, -1); + $._toStringVisiting.pop(); + } + t1 = P.StringBuffer__writeAll(leftDelimiter, type$.Iterable_dynamic._as(parts), ", ") + rightDelimiter; + return t1.charCodeAt(0) == 0 ? t1 : t1; + }, + IterableBase_iterableToFullString: function(iterable, leftDelimiter, rightDelimiter) { + var buffer, t1; + if (P._isToStringVisiting(iterable)) + return leftDelimiter + "..." + rightDelimiter; + buffer = new P.StringBuffer(leftDelimiter); + C.JSArray_methods.add$1($._toStringVisiting, iterable); + try { + t1 = buffer; + t1._contents = P.StringBuffer__writeAll(t1._contents, iterable, ", "); + } finally { + if (0 >= $._toStringVisiting.length) + return H.ioore($._toStringVisiting, -1); + $._toStringVisiting.pop(); + } + buffer._contents += rightDelimiter; + t1 = buffer._contents; + return t1.charCodeAt(0) == 0 ? t1 : t1; + }, + _isToStringVisiting: function(o) { + var t1, i; + for (t1 = $._toStringVisiting.length, i = 0; i < t1; ++i) + if (o === $._toStringVisiting[i]) + return true; + return false; + }, + _iterablePartsToStrings: function(iterable, parts) { + var next, ultimateString, penultimateString, penultimate, ultimate, ultimate0, elision, + it = iterable.get$iterator(iterable), + $length = 0, count = 0; + while (true) { + if (!($length < 80 || count < 3)) + break; + if (!it.moveNext$0()) + return; + next = H.S(it.get$current(it)); + C.JSArray_methods.add$1(parts, next); + $length += next.length + 2; + ++count; + } + if (!it.moveNext$0()) { + if (count <= 5) + return; + if (0 >= parts.length) + return H.ioore(parts, -1); + ultimateString = parts.pop(); + if (0 >= parts.length) + return H.ioore(parts, -1); + penultimateString = parts.pop(); + } else { + penultimate = it.get$current(it); + ++count; + if (!it.moveNext$0()) { + if (count <= 4) { + C.JSArray_methods.add$1(parts, H.S(penultimate)); + return; + } + ultimateString = H.S(penultimate); + if (0 >= parts.length) + return H.ioore(parts, -1); + penultimateString = parts.pop(); + $length += ultimateString.length + 2; + } else { + ultimate = it.get$current(it); + ++count; + for (; it.moveNext$0(); penultimate = ultimate, ultimate = ultimate0) { + ultimate0 = it.get$current(it); + ++count; + if (count > 100) { + while (true) { + if (!($length > 75 && count > 3)) + break; + if (0 >= parts.length) + return H.ioore(parts, -1); + $length -= parts.pop().length + 2; + --count; + } + C.JSArray_methods.add$1(parts, "..."); + return; + } + } + penultimateString = H.S(penultimate); + ultimateString = H.S(ultimate); + $length += ultimateString.length + penultimateString.length + 4; + } + } + if (count > parts.length + 2) { + $length += 5; + elision = "..."; + } else + elision = null; + while (true) { + if (!($length > 80 && parts.length > 3)) + break; + if (0 >= parts.length) + return H.ioore(parts, -1); + $length -= parts.pop().length + 2; + if (elision == null) { + $length += 5; + elision = "..."; + } + } + if (elision != null) + C.JSArray_methods.add$1(parts, elision); + C.JSArray_methods.add$1(parts, penultimateString); + C.JSArray_methods.add$1(parts, ultimateString); + }, + LinkedHashMap_LinkedHashMap$from: function(other, $K, $V) { + var result = P.LinkedHashMap_LinkedHashMap(null, null, $K, $V); + J.forEach$1$ax(other, new P.LinkedHashMap_LinkedHashMap$from_closure(result, $K, $V)); + return result; + }, + LinkedHashMap_LinkedHashMap$of: function(other, $K, $V) { + var t1 = P.LinkedHashMap_LinkedHashMap(null, null, $K, $V); + t1.addAll$1(0, other); + return t1; + }, + LinkedHashMap_LinkedHashMap$fromIterable: function(iterable, key, value, $K, $V) { + var map = P.LinkedHashMap_LinkedHashMap(null, null, $K, $V); + P.MapBase__fillMapWithMappedIterable(map, iterable, key, value); + return map; + }, + LinkedHashSet_LinkedHashSet$from: function(elements, $E) { + var t1, + result = P.LinkedHashSet_LinkedHashSet($E); + for (t1 = J.get$iterator$ax(elements); t1.moveNext$0();) + result.add$1(0, $E._as(t1.get$current(t1))); + return result; + }, + LinkedHashSet_LinkedHashSet$of: function(elements, $E) { + var t1 = P.LinkedHashSet_LinkedHashSet($E); + t1.addAll$1(0, elements); + return t1; + }, + ListMixin__compareAny: function(a, b) { + var t1 = type$.Comparable_dynamic; + return J.compareTo$1$ns(t1._as(a), t1._as(b)); + }, + MapBase_mapToString: function(m) { + var result, t1 = {}; + if (P._isToStringVisiting(m)) + return "{...}"; + result = new P.StringBuffer(""); + try { + C.JSArray_methods.add$1($._toStringVisiting, m); + result._contents += "{"; + t1.first = true; + J.forEach$1$ax(m, new P.MapBase_mapToString_closure(t1, result)); + result._contents += "}"; + } finally { + if (0 >= $._toStringVisiting.length) + return H.ioore($._toStringVisiting, -1); + $._toStringVisiting.pop(); + } + t1 = result._contents; + return t1.charCodeAt(0) == 0 ? t1 : t1; + }, + MapBase__fillMapWithMappedIterable: function(map, iterable, key, value) { + var t1, element; + for (t1 = J.get$iterator$ax(iterable._list); t1.moveNext$0();) { + element = t1.get$current(t1); + map.$indexSet(0, key.call$1(element), value.call$1(element)); + } + }, + ListQueue$: function(initialCapacity, $E) { + return new P.ListQueue(P.List_List$filled(P.ListQueue__calculateCapacity(initialCapacity), null, false, $E._eval$1("0?")), $E._eval$1("ListQueue<0>")); + }, + ListQueue__calculateCapacity: function(initialCapacity) { + if (initialCapacity == null || initialCapacity < 8) + return 8; + else { + if (typeof initialCapacity !== "number") + return initialCapacity.$sub(); + if ((initialCapacity & initialCapacity - 1) >>> 0 !== 0) + return P.ListQueue__nextPowerOf2(initialCapacity); + } + return initialCapacity; + }, + ListQueue_ListQueue$from: function(elements, $E) { + var queue, i, + t1 = J.getInterceptor$asx(elements), + $length = t1.get$length(elements); + if (typeof $length !== "number") + return $length.$add(); + queue = P.ListQueue$($length + 1, $E); + for (i = 0; i < $length; ++i) + C.JSArray_methods.$indexSet(queue._table, i, $E._as(t1.$index(elements, i))); + queue._tail = $length; + return queue; + }, + ListQueue__nextPowerOf2: function(number) { + var nextNumber; + number = (number << 1 >>> 0) - 1; + for (; true; number = nextNumber) { + nextNumber = (number & number - 1) >>> 0; + if (nextNumber === 0) + return number; + } + }, + _UnmodifiableSetMixin__throwUnmodifiable: function() { + throw H.wrapException(P.UnsupportedError$("Cannot change an unmodifiable set")); + }, + _HashMap: function _HashMap(t0) { + var _ = this; + _._collection$_length = 0; + _._collection$_keys = _._collection$_rest = _._collection$_nums = _._collection$_strings = null; + _.$ti = t0; + }, + _HashMap_values_closure: function _HashMap_values_closure(t0) { + this.$this = t0; + }, + _IdentityHashMap: function _IdentityHashMap(t0) { + var _ = this; + _._collection$_length = 0; + _._collection$_keys = _._collection$_rest = _._collection$_nums = _._collection$_strings = null; + _.$ti = t0; + }, + _CustomHashMap: function _CustomHashMap(t0, t1, t2, t3) { + var _ = this; + _._equals = t0; + _._collection$_hashCode = t1; + _._validKey = t2; + _._collection$_length = 0; + _._collection$_keys = _._collection$_rest = _._collection$_nums = _._collection$_strings = null; + _.$ti = t3; + }, + _CustomHashMap_closure: function _CustomHashMap_closure(t0) { + this.K = t0; + }, + _HashMapKeyIterable: function _HashMapKeyIterable(t0, t1) { + this._collection$_map = t0; + this.$ti = t1; + }, + _HashMapKeyIterator: function _HashMapKeyIterator(t0, t1, t2) { + var _ = this; + _._collection$_map = t0; + _._collection$_keys = t1; + _._collection$_offset = 0; + _._collection$_current = null; + _.$ti = t2; + }, + _LinkedIdentityHashMap: function _LinkedIdentityHashMap(t0) { + var _ = this; + _.__js_helper$_length = 0; + _._last = _._first = _.__js_helper$_rest = _._nums = _._strings = null; + _._modifications = 0; + _.$ti = t0; + }, + _LinkedCustomHashMap: function _LinkedCustomHashMap(t0, t1, t2, t3) { + var _ = this; + _._equals = t0; + _._collection$_hashCode = t1; + _._validKey = t2; + _.__js_helper$_length = 0; + _._last = _._first = _.__js_helper$_rest = _._nums = _._strings = null; + _._modifications = 0; + _.$ti = t3; + }, + _LinkedCustomHashMap_closure: function _LinkedCustomHashMap_closure(t0) { + this.K = t0; + }, + _HashSet: function _HashSet(t0) { + var _ = this; + _._collection$_length = 0; + _._elements = _._collection$_rest = _._collection$_nums = _._collection$_strings = null; + _.$ti = t0; + }, + _HashSetIterator: function _HashSetIterator(t0, t1, t2) { + var _ = this; + _._collection$_set = t0; + _._elements = t1; + _._collection$_offset = 0; + _._collection$_current = null; + _.$ti = t2; + }, + _LinkedHashSet: function _LinkedHashSet(t0) { + var _ = this; + _._collection$_length = 0; + _._collection$_last = _._collection$_first = _._collection$_rest = _._collection$_nums = _._collection$_strings = null; + _._collection$_modifications = 0; + _.$ti = t0; + }, + _LinkedHashSetCell: function _LinkedHashSetCell(t0) { + this._element = t0; + this._collection$_previous = this._collection$_next = null; + }, + _LinkedHashSetIterator: function _LinkedHashSetIterator(t0, t1, t2) { + var _ = this; + _._collection$_set = t0; + _._collection$_modifications = t1; + _._collection$_current = _._collection$_cell = null; + _.$ti = t2; + }, + UnmodifiableListView: function UnmodifiableListView(t0, t1) { + this._collection$_source = t0; + this.$ti = t1; + }, + IterableBase: function IterableBase() { + }, + LinkedHashMap_LinkedHashMap$from_closure: function LinkedHashMap_LinkedHashMap$from_closure(t0, t1, t2) { + this.result = t0; + this.K = t1; + this.V = t2; + }, + ListBase: function ListBase() { + }, + ListMixin: function ListMixin() { + }, + MapBase: function MapBase() { + }, + MapBase_mapToString_closure: function MapBase_mapToString_closure(t0, t1) { + this._box_0 = t0; + this.result = t1; + }, + MapMixin: function MapMixin() { + }, + MapMixin_entries_closure: function MapMixin_entries_closure(t0) { + this.$this = t0; + }, + _MapBaseValueIterable: function _MapBaseValueIterable(t0, t1) { + this._collection$_map = t0; + this.$ti = t1; + }, + _MapBaseValueIterator: function _MapBaseValueIterator(t0, t1, t2) { + var _ = this; + _._collection$_keys = t0; + _._collection$_map = t1; + _._collection$_current = null; + _.$ti = t2; + }, + _UnmodifiableMapMixin: function _UnmodifiableMapMixin() { + }, + MapView: function MapView() { + }, + UnmodifiableMapView: function UnmodifiableMapView(t0, t1) { + this._collection$_map = t0; + this.$ti = t1; + }, + ListQueue: function ListQueue(t0, t1) { + var _ = this; + _._table = t0; + _._modificationCount = _._tail = _._head = 0; + _.$ti = t1; + }, + _ListQueueIterator: function _ListQueueIterator(t0, t1, t2, t3, t4) { + var _ = this; + _._queue = t0; + _._collection$_end = t1; + _._modificationCount = t2; + _._collection$_position = t3; + _._collection$_current = null; + _.$ti = t4; + }, + SetMixin: function SetMixin() { + }, + SetBase: function SetBase() { + }, + _SetBase: function _SetBase() { + }, + _UnmodifiableSetMixin: function _UnmodifiableSetMixin() { + }, + _UnmodifiableSet: function _UnmodifiableSet(t0, t1) { + this._collection$_map = t0; + this.$ti = t1; + }, + _ListBase_Object_ListMixin: function _ListBase_Object_ListMixin() { + }, + _SetBase_Object_SetMixin: function _SetBase_Object_SetMixin() { + }, + _UnmodifiableMapView_MapView__UnmodifiableMapMixin: function _UnmodifiableMapView_MapView__UnmodifiableMapMixin() { + }, + __SetBase_Object_SetMixin: function __SetBase_Object_SetMixin() { + }, + __UnmodifiableSet__SetBase__UnmodifiableSetMixin: function __UnmodifiableSet__SetBase__UnmodifiableSetMixin() { + }, + _parseJson: function(source, reviver) { + var parsed, e, exception, t1; + if (typeof source != "string") + throw H.wrapException(H.argumentErrorValue(source)); + parsed = null; + try { + parsed = JSON.parse(source); + } catch (exception) { + e = H.unwrapException(exception); + t1 = P.FormatException$(String(e), null, null); + throw H.wrapException(t1); + } + t1 = P._convertJsonToDartLazy(parsed); + return t1; + }, + _convertJsonToDartLazy: function(object) { + var i; + if (object == null) + return null; + if (typeof object != "object") + return object; + if (Object.getPrototypeOf(object) !== Array.prototype) + return new P._JsonMap(object, Object.create(null)); + for (i = 0; i < object.length; ++i) + object[i] = P._convertJsonToDartLazy(object[i]); + return object; + }, + Utf8Decoder__convertIntercepted: function(allowMalformed, codeUnits, start, end) { + var casted, result; + if (codeUnits instanceof Uint8Array) { + casted = codeUnits; + end = casted.length; + if (end - start < 15) + return null; + result = P.Utf8Decoder__convertInterceptedUint8List(allowMalformed, casted, start, end); + if (result != null && allowMalformed) + if (result.indexOf("\ufffd") >= 0) + return null; + return result; + } + return null; + }, + Utf8Decoder__convertInterceptedUint8List: function(allowMalformed, codeUnits, start, end) { + var decoder = allowMalformed ? $.$get$Utf8Decoder__decoderNonfatal() : $.$get$Utf8Decoder__decoder(); + if (decoder == null) + return null; + if (0 === start && end === codeUnits.length) + return P.Utf8Decoder__useTextDecoder(decoder, codeUnits); + return P.Utf8Decoder__useTextDecoder(decoder, codeUnits.subarray(start, P.RangeError_checkValidRange(start, end, codeUnits.length))); + }, + Utf8Decoder__useTextDecoder: function(decoder, codeUnits) { + var t1, exception; + try { + t1 = decoder.decode(codeUnits); + return t1; + } catch (exception) { + H.unwrapException(exception); + } + return null; + }, + Base64Codec__checkPadding: function(source, sourceIndex, sourceEnd, firstPadding, paddingCount, $length) { + if (C.JSInt_methods.$mod($length, 4) !== 0) + throw H.wrapException(P.FormatException$("Invalid base64 padding, padded length must be multiple of four, is " + $length, source, sourceEnd)); + if (firstPadding + paddingCount !== $length) + throw H.wrapException(P.FormatException$("Invalid base64 padding, '=' not at the end", source, sourceIndex)); + if (paddingCount > 2) + throw H.wrapException(P.FormatException$("Invalid base64 padding, more than two '=' characters", source, sourceIndex)); + }, + _Base64Encoder_encodeChunk: function(alphabet, bytes, start, end, isLast, output, outputIndex, state) { + var t1, t2, i, byteOr, byte, outputIndex0, t3, outputIndex1, + bits = state >>> 2, + expectedChars = 3 - (state & 3); + for (t1 = J.getInterceptor$asx(bytes), t2 = output.length, i = start, byteOr = 0; i < end; ++i) { + byte = t1.$index(bytes, i); + byteOr = (byteOr | byte) >>> 0; + bits = (bits << 8 | byte) & 16777215; + --expectedChars; + if (expectedChars === 0) { + outputIndex0 = outputIndex + 1; + t3 = C.JSString_methods._codeUnitAt$1(alphabet, bits >>> 18 & 63); + if (outputIndex >= t2) + return H.ioore(output, outputIndex); + output[outputIndex] = t3; + outputIndex = outputIndex0 + 1; + t3 = C.JSString_methods._codeUnitAt$1(alphabet, bits >>> 12 & 63); + if (outputIndex0 >= t2) + return H.ioore(output, outputIndex0); + output[outputIndex0] = t3; + outputIndex0 = outputIndex + 1; + t3 = C.JSString_methods._codeUnitAt$1(alphabet, bits >>> 6 & 63); + if (outputIndex >= t2) + return H.ioore(output, outputIndex); + output[outputIndex] = t3; + outputIndex = outputIndex0 + 1; + t3 = C.JSString_methods._codeUnitAt$1(alphabet, bits & 63); + if (outputIndex0 >= t2) + return H.ioore(output, outputIndex0); + output[outputIndex0] = t3; + bits = 0; + expectedChars = 3; + } + } + if (byteOr >= 0 && byteOr <= 255) { + if (expectedChars < 3) { + outputIndex0 = outputIndex + 1; + outputIndex1 = outputIndex0 + 1; + if (3 - expectedChars === 1) { + t1 = C.JSString_methods._codeUnitAt$1(alphabet, bits >>> 2 & 63); + if (outputIndex >= t2) + return H.ioore(output, outputIndex); + output[outputIndex] = t1; + t1 = C.JSString_methods._codeUnitAt$1(alphabet, bits << 4 & 63); + if (outputIndex0 >= t2) + return H.ioore(output, outputIndex0); + output[outputIndex0] = t1; + outputIndex = outputIndex1 + 1; + if (outputIndex1 >= t2) + return H.ioore(output, outputIndex1); + output[outputIndex1] = 61; + if (outputIndex >= t2) + return H.ioore(output, outputIndex); + output[outputIndex] = 61; + } else { + t1 = C.JSString_methods._codeUnitAt$1(alphabet, bits >>> 10 & 63); + if (outputIndex >= t2) + return H.ioore(output, outputIndex); + output[outputIndex] = t1; + t1 = C.JSString_methods._codeUnitAt$1(alphabet, bits >>> 4 & 63); + if (outputIndex0 >= t2) + return H.ioore(output, outputIndex0); + output[outputIndex0] = t1; + outputIndex = outputIndex1 + 1; + t1 = C.JSString_methods._codeUnitAt$1(alphabet, bits << 2 & 63); + if (outputIndex1 >= t2) + return H.ioore(output, outputIndex1); + output[outputIndex1] = t1; + if (outputIndex >= t2) + return H.ioore(output, outputIndex); + output[outputIndex] = 61; + } + return 0; + } + return (bits << 2 | 3 - expectedChars) >>> 0; + } + for (i = start; i < end;) { + byte = t1.$index(bytes, i); + if (byte < 0 || byte > 255) + break; + ++i; + } + throw H.wrapException(P.ArgumentError$value(bytes, "Not a byte value at index " + i + ": 0x" + C.JSInt_methods.toRadixString$1(t1.$index(bytes, i), 16), null)); + }, + _Base64Decoder_decodeChunk: function(input, start, end, output, outIndex, state) { + var i, charOr, char, t1, code, outIndex0, expectedPadding, + _s31_ = "Invalid encoding before padding", + _s17_ = "Invalid character", + bits = C.JSInt_methods._shrOtherPositive$1(state, 2), + count = state & 3, + inverseAlphabet = $.$get$_Base64Decoder__inverseAlphabet(); + for (i = start, charOr = 0; i < end; ++i) { + char = C.JSString_methods._codeUnitAt$1(input, i); + charOr |= char; + t1 = char & 127; + if (t1 >= inverseAlphabet.length) + return H.ioore(inverseAlphabet, t1); + code = inverseAlphabet[t1]; + if (code >= 0) { + bits = (bits << 6 | code) & 16777215; + count = count + 1 & 3; + if (count === 0) { + outIndex0 = outIndex + 1; + t1 = output.length; + if (outIndex >= t1) + return H.ioore(output, outIndex); + output[outIndex] = bits >>> 16 & 255; + outIndex = outIndex0 + 1; + if (outIndex0 >= t1) + return H.ioore(output, outIndex0); + output[outIndex0] = bits >>> 8 & 255; + outIndex0 = outIndex + 1; + if (outIndex >= t1) + return H.ioore(output, outIndex); + output[outIndex] = bits & 255; + outIndex = outIndex0; + bits = 0; + } + continue; + } else if (code === -1 && count > 1) { + if (charOr > 127) + break; + if (count === 3) { + if ((bits & 3) !== 0) + throw H.wrapException(P.FormatException$(_s31_, input, i)); + outIndex0 = outIndex + 1; + t1 = output.length; + if (outIndex >= t1) + return H.ioore(output, outIndex); + output[outIndex] = bits >>> 10; + if (outIndex0 >= t1) + return H.ioore(output, outIndex0); + output[outIndex0] = bits >>> 2; + } else { + if ((bits & 15) !== 0) + throw H.wrapException(P.FormatException$(_s31_, input, i)); + if (outIndex >= output.length) + return H.ioore(output, outIndex); + output[outIndex] = bits >>> 4; + } + expectedPadding = (3 - count) * 3; + if (char === 37) + expectedPadding += 2; + return P._Base64Decoder__checkPadding(input, i + 1, end, -expectedPadding - 1); + } + throw H.wrapException(P.FormatException$(_s17_, input, i)); + } + if (charOr >= 0 && charOr <= 127) + return (bits << 2 | count) >>> 0; + for (i = start; i < end; ++i) { + char = C.JSString_methods._codeUnitAt$1(input, i); + if (char > 127) + break; + } + throw H.wrapException(P.FormatException$(_s17_, input, i)); + }, + _Base64Decoder__allocateBuffer: function(input, start, end, state) { + var paddingStart = P._Base64Decoder__trimPaddingChars(input, start, end), + $length = (state & 3) + (paddingStart - start), + bufferLength = C.JSInt_methods._shrOtherPositive$1($length, 2) * 3, + remainderLength = $length & 3; + if (remainderLength !== 0 && paddingStart < end) + bufferLength += remainderLength - 1; + if (bufferLength > 0) + return new Uint8Array(bufferLength); + return $.$get$_Base64Decoder__emptyBuffer(); + }, + _Base64Decoder__trimPaddingChars: function(input, start, end) { + var char, + newEnd = end, + index = newEnd, + padding = 0; + while (true) { + if (!(index > start && padding < 2)) + break; + c$0: { + --index; + char = C.JSString_methods.codeUnitAt$1(input, index); + if (char === 61) { + ++padding; + newEnd = index; + break c$0; + } + if ((char | 32) === 100) { + if (index === start) + break; + --index; + char = C.JSString_methods.codeUnitAt$1(input, index); + } + if (char === 51) { + if (index === start) + break; + --index; + char = C.JSString_methods.codeUnitAt$1(input, index); + } + if (char === 37) { + ++padding; + newEnd = index; + break c$0; + } + break; + } + } + return newEnd; + }, + _Base64Decoder__checkPadding: function(input, start, end, state) { + var expectedPadding, char; + if (start === end) + return state; + expectedPadding = -state - 1; + for (; expectedPadding > 0;) { + char = C.JSString_methods._codeUnitAt$1(input, start); + if (expectedPadding === 3) { + if (char === 61) { + expectedPadding -= 3; + ++start; + break; + } + if (char === 37) { + --expectedPadding; + ++start; + if (start === end) + break; + char = C.JSString_methods._codeUnitAt$1(input, start); + } else + break; + } + if ((expectedPadding > 3 ? expectedPadding - 3 : expectedPadding) === 2) { + if (char !== 51) + break; + ++start; + --expectedPadding; + if (start === end) + break; + char = C.JSString_methods._codeUnitAt$1(input, start); + } + if ((char | 32) !== 100) + break; + ++start; + --expectedPadding; + if (start === end) + break; + } + if (start !== end) + throw H.wrapException(P.FormatException$("Invalid padding character", input, start)); + return -expectedPadding - 1; + }, + Encoding_getByName: function($name) { + if ($name == null) + return null; + return $.Encoding__nameToEncoding.$index(0, $name.toLowerCase()); + }, + JsonUnsupportedObjectError$: function(unsupportedObject, cause, partialResult) { + return new P.JsonUnsupportedObjectError(unsupportedObject, cause); + }, + _defaultToEncodable: function(object) { + return object.toJson$0(); + }, + _JsonStringStringifier$: function(_sink, _toEncodable) { + var t1 = _toEncodable == null ? P.convert___defaultToEncodable$closure() : _toEncodable; + return new P._JsonStringStringifier(_sink, [], t1); + }, + _JsonStringStringifier_stringify: function(object, toEncodable, indent) { + var stringifier, t1, + output = new P.StringBuffer(""); + if (indent == null) + stringifier = P._JsonStringStringifier$(output, toEncodable); + else { + t1 = toEncodable == null ? P.convert___defaultToEncodable$closure() : toEncodable; + stringifier = new P._JsonStringStringifierPretty(indent, 0, output, [], t1); + } + stringifier.writeObject$1(object); + t1 = output._contents; + return t1.charCodeAt(0) == 0 ? t1 : t1; + }, + _Utf8Decoder_errorDescription: function(state) { + switch (state) { + case 65: + return "Missing extension byte"; + case 67: + return "Unexpected extension byte"; + case 69: + return "Invalid UTF-8 byte"; + case 71: + return "Overlong encoding"; + case 73: + return "Out of unicode range"; + case 75: + return "Encoded surrogate"; + case 77: + return "Unfinished UTF-8 octet sequence"; + default: + return ""; + } + }, + _Utf8Decoder__makeUint8List: function(codeUnits, start, end) { + var $length, bytes, t1, i, b; + if (typeof end !== "number") + return end.$sub(); + $length = end - start; + bytes = new Uint8Array($length); + for (t1 = J.getInterceptor$asx(codeUnits), i = 0; i < $length; ++i) { + b = t1.$index(codeUnits, start + i); + if (typeof b !== "number") + return b.$and(); + if ((b & 4294967040) >>> 0 !== 0) + b = 255; + if (i >= $length) + return H.ioore(bytes, i); + bytes[i] = b; + } + return bytes; + }, + _JsonMap: function _JsonMap(t0, t1) { + this._original = t0; + this._processed = t1; + this._data = null; + }, + _JsonMap_values_closure: function _JsonMap_values_closure(t0) { + this.$this = t0; + }, + _JsonMapKeyIterable: function _JsonMapKeyIterable(t0) { + this._parent = t0; + }, + Utf8Decoder__decoder_closure: function Utf8Decoder__decoder_closure() { + }, + Utf8Decoder__decoderNonfatal_closure: function Utf8Decoder__decoderNonfatal_closure() { + }, + AsciiCodec: function AsciiCodec() { + }, + _UnicodeSubsetEncoder: function _UnicodeSubsetEncoder() { + }, + AsciiEncoder: function AsciiEncoder(t0) { + this._subsetMask = t0; + }, + _UnicodeSubsetDecoder: function _UnicodeSubsetDecoder() { + }, + AsciiDecoder: function AsciiDecoder(t0, t1) { + this._allowInvalid = t0; + this._subsetMask = t1; + }, + Base64Codec: function Base64Codec() { + }, + Base64Encoder: function Base64Encoder() { + }, + _Base64Encoder: function _Base64Encoder(t0) { + this._convert$_state = 0; + this._alphabet = t0; + }, + Base64Decoder: function Base64Decoder() { + }, + _Base64Decoder: function _Base64Decoder() { + this._convert$_state = 0; + }, + ByteConversionSink: function ByteConversionSink() { + }, + ByteConversionSinkBase: function ByteConversionSinkBase() { + }, + _ByteCallbackSink: function _ByteCallbackSink(t0, t1) { + this._callback = t0; + this._convert$_buffer = t1; + this._bufferIndex = 0; + }, + ChunkedConversionSink: function ChunkedConversionSink() { + }, + Codec: function Codec() { + }, + Converter: function Converter() { + }, + Encoding: function Encoding() { + }, + HtmlEscapeMode: function HtmlEscapeMode() { + }, + HtmlEscape: function HtmlEscape() { + }, + JsonUnsupportedObjectError: function JsonUnsupportedObjectError(t0, t1) { + this.unsupportedObject = t0; + this.cause = t1; + }, + JsonCyclicError: function JsonCyclicError(t0, t1) { + this.unsupportedObject = t0; + this.cause = t1; + }, + JsonCodec: function JsonCodec() { + }, + JsonEncoder: function JsonEncoder(t0, t1) { + this.indent = t0; + this._toEncodable = t1; + }, + JsonDecoder: function JsonDecoder(t0) { + this._reviver = t0; + }, + _JsonStringifier: function _JsonStringifier() { + }, + _JsonStringifier_writeMap_closure: function _JsonStringifier_writeMap_closure(t0, t1) { + this._box_0 = t0; + this.keyValueList = t1; + }, + _JsonPrettyPrintMixin: function _JsonPrettyPrintMixin() { + }, + _JsonPrettyPrintMixin_writeMap_closure: function _JsonPrettyPrintMixin_writeMap_closure(t0, t1) { + this._box_0 = t0; + this.keyValueList = t1; + }, + _JsonStringStringifier: function _JsonStringStringifier(t0, t1, t2) { + this._sink = t0; + this._seen = t1; + this._toEncodable = t2; + }, + _JsonStringStringifierPretty: function _JsonStringStringifierPretty(t0, t1, t2, t3, t4) { + var _ = this; + _._indent = t0; + _._JsonPrettyPrintMixin__indentLevel = t1; + _._sink = t2; + _._seen = t3; + _._toEncodable = t4; + }, + Latin1Codec: function Latin1Codec() { + }, + Latin1Encoder: function Latin1Encoder(t0) { + this._subsetMask = t0; + }, + Latin1Decoder: function Latin1Decoder(t0, t1) { + this._allowInvalid = t0; + this._subsetMask = t1; + }, + Utf8Codec: function Utf8Codec() { + }, + Utf8Encoder: function Utf8Encoder() { + }, + _Utf8Encoder: function _Utf8Encoder(t0) { + this._bufferIndex = 0; + this._convert$_buffer = t0; + }, + Utf8Decoder: function Utf8Decoder(t0) { + this._allowMalformed = t0; + }, + _Utf8Decoder: function _Utf8Decoder(t0) { + this.allowMalformed = t0; + this._convert$_state = 16; + this._charOrIndex = 0; + }, + __JsonStringStringifierPretty__JsonStringStringifier__JsonPrettyPrintMixin: function __JsonStringStringifierPretty__JsonStringStringifier__JsonPrettyPrintMixin() { + }, + identityHashCode: function(object) { + return H.objectHashCode(object); + }, + Function_apply: function($function, positionalArguments) { + return H.Primitives_applyFunction($function, positionalArguments, null); + }, + Expando$: function($name, $T) { + var t1; + if (typeof WeakMap == "function") + t1 = new WeakMap(); + else { + t1 = $.Expando__keyCount; + $.Expando__keyCount = t1 + 1; + t1 = "expando$key$" + t1; + } + return new P.Expando(t1, $name, $T._eval$1("Expando<0>")); + }, + int_parse: function(source, radix) { + var value = H.Primitives_parseInt(source, radix); + if (value != null) + return value; + throw H.wrapException(P.FormatException$(source, null, null)); + }, + Error__objectToString: function(object) { + if (object instanceof H.Closure) + return object.toString$0(0); + return "Instance of '" + H.S(H.Primitives_objectTypeName(object)) + "'"; + }, + DateTime$fromMillisecondsSinceEpoch: function(millisecondsSinceEpoch, isUtc) { + var t1; + if (Math.abs(millisecondsSinceEpoch) <= 864e13) + t1 = false; + else + t1 = true; + if (t1) + H.throwExpression(P.ArgumentError$("DateTime is outside valid range: " + millisecondsSinceEpoch)); + H.checkNotNullable(isUtc, "isUtc", type$.bool); + return new P.DateTime(millisecondsSinceEpoch, isUtc); + }, + List_List$filled: function($length, fill, growable, $E) { + var i, + result = growable ? J.JSArray_JSArray$growable($length, $E) : J.JSArray_JSArray$fixed($length, $E); + if ($length !== 0 && fill != null) + for (i = 0; i < result.length; ++i) + result[i] = fill; + return result; + }, + List_List$from: function(elements, growable, $E) { + var t1, + list = H.setRuntimeTypeInfo([], $E._eval$1("JSArray<0>")); + for (t1 = J.get$iterator$ax(elements); t1.moveNext$0();) + C.JSArray_methods.add$1(list, $E._as(t1.get$current(t1))); + if (growable) + return list; + return J.JSArray_markFixedList(list, $E); + }, + List_List$of: function(elements, growable, $E) { + var t1; + if (growable) + return P.List_List$_of(elements, $E); + t1 = J.JSArray_markFixedList(P.List_List$_of(elements, $E), $E); + return t1; + }, + List_List$_of: function(elements, $E) { + var list, t1; + if (Array.isArray(elements)) + return H.setRuntimeTypeInfo(elements.slice(0), $E._eval$1("JSArray<0>")); + list = H.setRuntimeTypeInfo([], $E._eval$1("JSArray<0>")); + for (t1 = J.get$iterator$ax(elements); t1.moveNext$0();) + C.JSArray_methods.add$1(list, t1.get$current(t1)); + return list; + }, + List_List$unmodifiable: function(elements, $E) { + return J.JSArray_markUnmodifiableList(P.List_List$from(elements, false, $E)); + }, + String_String$fromCharCodes: function(charCodes, start, end) { + var array, len, t1; + if (Array.isArray(charCodes)) { + array = charCodes; + len = array.length; + end = P.RangeError_checkValidRange(start, end, len); + if (start <= 0) { + if (typeof end !== "number") + return end.$lt(); + t1 = end < len; + } else + t1 = true; + return H.Primitives_stringFromCharCodes(t1 ? array.slice(start, end) : array); + } + if (type$.NativeUint8List._is(charCodes)) + return H.Primitives_stringFromNativeUint8List(charCodes, start, P.RangeError_checkValidRange(start, end, charCodes.length)); + return P.String__stringFromIterable(charCodes, start, end); + }, + String_String$fromCharCode: function(charCode) { + return H.Primitives_stringFromCharCode(charCode); + }, + String__stringFromIterable: function(charCodes, start, end) { + var t1, it, i, list, _null = null; + if (start < 0) + throw H.wrapException(P.RangeError$range(start, 0, J.get$length$asx(charCodes), _null, _null)); + t1 = end == null; + if (!t1 && end < start) + throw H.wrapException(P.RangeError$range(end, start, J.get$length$asx(charCodes), _null, _null)); + it = J.get$iterator$ax(charCodes); + for (i = 0; i < start; ++i) + if (!it.moveNext$0()) + throw H.wrapException(P.RangeError$range(start, 0, i, _null, _null)); + list = []; + if (t1) + for (; it.moveNext$0();) + list.push(it.get$current(it)); + else + for (i = start; i < end; ++i) { + if (!it.moveNext$0()) + throw H.wrapException(P.RangeError$range(end, start, i, _null, _null)); + list.push(it.get$current(it)); + } + return H.Primitives_stringFromCharCodes(list); + }, + RegExp_RegExp: function(source, caseSensitive) { + return new H.JSSyntaxRegExp(source, H.JSSyntaxRegExp_makeNative(source, false, caseSensitive, false, false, false)); + }, + identical: function(a, b) { + return a == null ? b == null : a === b; + }, + StringBuffer__writeAll: function(string, objects, separator) { + var iterator = J.get$iterator$ax(objects); + if (!iterator.moveNext$0()) + return string; + if (separator.length === 0) { + do + string += H.S(iterator.get$current(iterator)); + while (iterator.moveNext$0()); + } else { + string += H.S(iterator.get$current(iterator)); + for (; iterator.moveNext$0();) + string = string + separator + H.S(iterator.get$current(iterator)); + } + return string; + }, + NoSuchMethodError$: function(receiver, memberName, positionalArguments, namedArguments) { + return new P.NoSuchMethodError(receiver, memberName, positionalArguments, namedArguments); + }, + Uri_base: function() { + var uri = H.Primitives_currentUri(); + if (uri != null) + return P.Uri_parse(uri); + throw H.wrapException(P.UnsupportedError$("'Uri.base' is not supported")); + }, + StackTrace_current: function() { + var stackTrace, exception; + if (H.boolConversionCheck($.$get$_hasErrorStackProperty())) + return H.getTraceFromException(new Error()); + try { + throw H.wrapException(""); + } catch (exception) { + H.unwrapException(exception); + stackTrace = H.getTraceFromException(exception); + return stackTrace; + } + }, + _BigIntImpl__parseDecimal: function(source, isNegative) { + var part, i, + result = $.$get$_BigIntImpl_zero(), + t1 = source.length, + digitInPartCount = 4 - t1 % 4; + if (digitInPartCount === 4) + digitInPartCount = 0; + for (part = 0, i = 0; i < t1; ++i) { + part = part * 10 + C.JSString_methods._codeUnitAt$1(source, i) - 48; + ++digitInPartCount; + if (digitInPartCount === 4) { + result = result.$mul(0, $.$get$_BigIntImpl__bigInt10000()).$add(0, P._BigIntImpl__BigIntImpl$_fromInt(part)); + part = 0; + digitInPartCount = 0; + } + } + if (isNegative) + return result.$negate(0); + return result; + }, + _BigIntImpl__codeUnitToRadixValue: function(codeUnit) { + if (48 <= codeUnit && codeUnit <= 57) + return codeUnit - 48; + return (codeUnit | 32) - 97 + 10; + }, + _BigIntImpl__parseHex: function(source, startPos, isNegative) { + var t3, i, chunk, j, i0, digitValue, digitIndex, digitIndex0, + t1 = source.length, + sourceLength = t1 - startPos, + chunkCount = C.JSNumber_methods.ceil$0(sourceLength / 4), + digits = new Uint16Array(chunkCount), + t2 = chunkCount - 1, + lastDigitLength = sourceLength - t2 * 4; + for (t3 = J.getInterceptor$s(source), i = startPos, chunk = 0, j = 0; j < lastDigitLength; ++j, i = i0) { + i0 = i + 1; + digitValue = P._BigIntImpl__codeUnitToRadixValue(t3._codeUnitAt$1(source, i)); + if (digitValue >= 16) + return null; + chunk = chunk * 16 + digitValue; + } + digitIndex = t2 - 1; + if (t2 < 0 || t2 >= chunkCount) + return H.ioore(digits, t2); + digits[t2] = chunk; + for (; i < t1; digitIndex = digitIndex0) { + for (chunk = 0, j = 0; j < 4; ++j, i = i0) { + i0 = i + 1; + digitValue = P._BigIntImpl__codeUnitToRadixValue(C.JSString_methods._codeUnitAt$1(source, i)); + if (digitValue >= 16) + return null; + chunk = chunk * 16 + digitValue; + } + digitIndex0 = digitIndex - 1; + if (digitIndex < 0 || digitIndex >= chunkCount) + return H.ioore(digits, digitIndex); + digits[digitIndex] = chunk; + } + if (chunkCount === 1) { + if (0 >= chunkCount) + return H.ioore(digits, 0); + t1 = digits[0] === 0; + } else + t1 = false; + if (t1) + return $.$get$_BigIntImpl_zero(); + t1 = P._BigIntImpl__normalize(chunkCount, digits); + return new P._BigIntImpl(t1 === 0 ? false : isNegative, digits, t1); + }, + _BigIntImpl__tryParse: function(source, radix) { + var match, t1, t2, isNegative, decimalMatch, hexMatch; + if (source === "") + return null; + match = $.$get$_BigIntImpl__parseRE().firstMatch$1(source); + if (match == null) + return null; + t1 = match._match; + t2 = t1.length; + if (1 >= t2) + return H.ioore(t1, 1); + isNegative = t1[1] === "-"; + if (4 >= t2) + return H.ioore(t1, 4); + decimalMatch = t1[4]; + hexMatch = t1[3]; + if (5 >= t2) + return H.ioore(t1, 5); + if (decimalMatch != null) + return P._BigIntImpl__parseDecimal(decimalMatch, isNegative); + if (hexMatch != null) + return P._BigIntImpl__parseHex(hexMatch, 2, isNegative); + return null; + }, + _BigIntImpl__normalize: function(used, digits) { + var t2, + t1 = digits.length; + while (true) { + if (typeof used !== "number") + return used.$gt(); + if (used > 0) { + t2 = used - 1; + if (t2 >= t1) + return H.ioore(digits, t2); + t2 = digits[t2] === 0; + } else + t2 = false; + if (!t2) + break; + --used; + } + return used; + }, + _BigIntImpl__cloneDigits: function(digits, from, to, $length) { + var resultDigits, n, t1, i, t2; + if (!H._isInt($length)) + H.throwExpression(P.ArgumentError$("Invalid length " + H.S($length))); + resultDigits = new Uint16Array($length); + if (typeof to !== "number") + return to.$sub(); + if (typeof from !== "number") + return H.iae(from); + n = to - from; + for (t1 = resultDigits.length, i = 0; i < n; ++i) { + t2 = from + i; + if (t2 < 0 || t2 >= digits.length) + return H.ioore(digits, t2); + t2 = digits[t2]; + if (i >= t1) + return H.ioore(resultDigits, i); + resultDigits[i] = t2; + } + return resultDigits; + }, + _BigIntImpl__BigIntImpl$_fromInt: function(value) { + var digits, t1, i, i0, + isNegative = value < 0; + if (isNegative) { + if (value === -9223372036854776e3) { + digits = new Uint16Array(4); + digits[3] = 32768; + t1 = P._BigIntImpl__normalize(4, digits); + return new P._BigIntImpl(t1 !== 0 || false, digits, t1); + } + value = -value; + } + if (value < 65536) { + digits = new Uint16Array(1); + digits[0] = value; + t1 = P._BigIntImpl__normalize(1, digits); + return new P._BigIntImpl(t1 === 0 ? false : isNegative, digits, t1); + } + if (value <= 4294967295) { + digits = new Uint16Array(2); + digits[0] = value & 65535; + digits[1] = C.JSInt_methods._shrOtherPositive$1(value, 16); + t1 = P._BigIntImpl__normalize(2, digits); + return new P._BigIntImpl(t1 === 0 ? false : isNegative, digits, t1); + } + t1 = C.JSInt_methods._tdivFast$1(C.JSInt_methods.get$bitLength(value) - 1, 16) + 1; + digits = new Uint16Array(t1); + for (i = 0; value !== 0; i = i0) { + i0 = i + 1; + if (i >= t1) + return H.ioore(digits, i); + digits[i] = value & 65535; + value = C.JSInt_methods._tdivFast$1(value, 65536); + } + t1 = P._BigIntImpl__normalize(t1, digits); + return new P._BigIntImpl(t1 === 0 ? false : isNegative, digits, t1); + }, + _BigIntImpl__dlShiftDigits: function(xDigits, xUsed, n, resultDigits) { + var i, t1, t2, t3, t4; + if (xUsed === 0) + return 0; + if (n === 0 && resultDigits === xDigits) + return xUsed; + for (i = xUsed - 1, t1 = xDigits.length, t2 = resultDigits.length; i >= 0; --i) { + t3 = i + n; + if (i >= t1) + return H.ioore(xDigits, i); + t4 = xDigits[i]; + if (t3 < 0 || t3 >= t2) + return H.ioore(resultDigits, t3); + resultDigits[t3] = t4; + } + for (i = n - 1; i >= 0; --i) { + if (i >= t2) + return H.ioore(resultDigits, i); + resultDigits[i] = 0; + } + return xUsed + n; + }, + _BigIntImpl__lsh: function(xDigits, xUsed, n, resultDigits) { + var i, t1, t2, carry, digit, t3, t4, + digitShift = C.JSInt_methods._tdivFast$1(n, 16), + bitShift = C.JSInt_methods.$mod(n, 16), + carryBitShift = 16 - bitShift, + bitMask = C.JSInt_methods.$shl(1, carryBitShift) - 1; + for (i = xUsed - 1, t1 = xDigits.length, t2 = resultDigits.length, carry = 0; i >= 0; --i) { + if (i >= t1) + return H.ioore(xDigits, i); + digit = xDigits[i]; + t3 = i + digitShift + 1; + t4 = C.JSInt_methods._shrReceiverPositive$1(digit, carryBitShift); + if (t3 < 0 || t3 >= t2) + return H.ioore(resultDigits, t3); + resultDigits[t3] = (t4 | carry) >>> 0; + carry = C.JSInt_methods.$shl(digit & bitMask, bitShift); + } + if (digitShift < 0 || digitShift >= t2) + return H.ioore(resultDigits, digitShift); + resultDigits[digitShift] = carry; + }, + _BigIntImpl__lShiftDigits: function(xDigits, xUsed, n, resultDigits) { + var resultUsed, t1, i, t2, + digitsShift = C.JSInt_methods._tdivFast$1(n, 16); + if (C.JSInt_methods.$mod(n, 16) === 0) + return P._BigIntImpl__dlShiftDigits(xDigits, xUsed, digitsShift, resultDigits); + resultUsed = xUsed + digitsShift + 1; + P._BigIntImpl__lsh(xDigits, xUsed, n, resultDigits); + for (t1 = resultDigits.length, i = digitsShift; --i, i >= 0;) { + if (i >= t1) + return H.ioore(resultDigits, i); + resultDigits[i] = 0; + } + t2 = resultUsed - 1; + if (t2 < 0 || t2 >= t1) + return H.ioore(resultDigits, t2); + if (resultDigits[t2] === 0) + resultUsed = t2; + return resultUsed; + }, + _BigIntImpl__rsh: function(xDigits, xUsed, n, resultDigits) { + var carry, last, t2, i, t3, digit, + digitsShift = C.JSInt_methods._tdivFast$1(n, 16), + bitShift = C.JSInt_methods.$mod(n, 16), + carryBitShift = 16 - bitShift, + bitMask = C.JSInt_methods.$shl(1, bitShift) - 1, + t1 = xDigits.length; + if (digitsShift < 0 || digitsShift >= t1) + return H.ioore(xDigits, digitsShift); + carry = C.JSInt_methods._shrReceiverPositive$1(xDigits[digitsShift], bitShift); + last = xUsed - digitsShift - 1; + for (t2 = resultDigits.length, i = 0; i < last; ++i) { + t3 = i + digitsShift + 1; + if (t3 >= t1) + return H.ioore(xDigits, t3); + digit = xDigits[t3]; + t3 = C.JSInt_methods.$shl(digit & bitMask, carryBitShift); + if (i >= t2) + return H.ioore(resultDigits, i); + resultDigits[i] = (t3 | carry) >>> 0; + carry = C.JSInt_methods._shrReceiverPositive$1(digit, bitShift); + } + if (last < 0 || last >= t2) + return H.ioore(resultDigits, last); + resultDigits[last] = carry; + }, + _BigIntImpl__compareDigits: function(digits, used, otherDigits, otherUsed) { + var i, t1, t2, t3, + result = used - otherUsed; + if (result === 0) + for (i = used - 1, t1 = digits.length, t2 = otherDigits.length; i >= 0; --i) { + if (i >= t1) + return H.ioore(digits, i); + t3 = digits[i]; + if (i >= t2) + return H.ioore(otherDigits, i); + result = t3 - otherDigits[i]; + if (result !== 0) + return result; + } + return result; + }, + _BigIntImpl__absAdd: function(digits, used, otherDigits, otherUsed, resultDigits) { + var t1, t2, t3, carry, i, t4; + for (t1 = digits.length, t2 = otherDigits.length, t3 = resultDigits.length, carry = 0, i = 0; i < otherUsed; ++i) { + if (i >= t1) + return H.ioore(digits, i); + t4 = digits[i]; + if (i >= t2) + return H.ioore(otherDigits, i); + carry += t4 + otherDigits[i]; + if (i >= t3) + return H.ioore(resultDigits, i); + resultDigits[i] = carry & 65535; + carry = carry >>> 16; + } + for (i = otherUsed; i < used; ++i) { + if (i < 0 || i >= t1) + return H.ioore(digits, i); + carry += digits[i]; + if (i >= t3) + return H.ioore(resultDigits, i); + resultDigits[i] = carry & 65535; + carry = carry >>> 16; + } + if (used < 0 || used >= t3) + return H.ioore(resultDigits, used); + resultDigits[used] = carry; + }, + _BigIntImpl__absSub: function(digits, used, otherDigits, otherUsed, resultDigits) { + var t1, t2, t3, carry, i, t4; + for (t1 = digits.length, t2 = otherDigits.length, t3 = resultDigits.length, carry = 0, i = 0; i < otherUsed; ++i) { + if (i >= t1) + return H.ioore(digits, i); + t4 = digits[i]; + if (i >= t2) + return H.ioore(otherDigits, i); + carry += t4 - otherDigits[i]; + if (i >= t3) + return H.ioore(resultDigits, i); + resultDigits[i] = carry & 65535; + carry = 0 - (C.JSInt_methods._shrOtherPositive$1(carry, 16) & 1); + } + for (i = otherUsed; i < used; ++i) { + if (i < 0 || i >= t1) + return H.ioore(digits, i); + carry += digits[i]; + if (i >= t3) + return H.ioore(resultDigits, i); + resultDigits[i] = carry & 65535; + carry = 0 - (C.JSInt_methods._shrOtherPositive$1(carry, 16) & 1); + } + }, + _BigIntImpl__mulAdd: function(x, multiplicandDigits, i, accumulatorDigits, j, n) { + var t1, t2, c, i0, t3, combined, j0, l; + if (x === 0) + return; + for (t1 = multiplicandDigits.length, t2 = accumulatorDigits.length, c = 0; --n, n >= 0; j = j0, i = i0) { + i0 = i + 1; + if (i >= t1) + return H.ioore(multiplicandDigits, i); + t3 = multiplicandDigits[i]; + if (j < 0 || j >= t2) + return H.ioore(accumulatorDigits, j); + combined = x * t3 + accumulatorDigits[j] + c; + j0 = j + 1; + accumulatorDigits[j] = combined & 65535; + c = C.JSInt_methods._tdivFast$1(combined, 65536); + } + for (; c !== 0; j = j0) { + if (j < 0 || j >= t2) + return H.ioore(accumulatorDigits, j); + l = accumulatorDigits[j] + c; + j0 = j + 1; + accumulatorDigits[j] = l & 65535; + c = C.JSInt_methods._tdivFast$1(l, 65536); + } + }, + _BigIntImpl__estimateQuotientDigit: function(topDigitDivisor, digits, i) { + var t2, t3, quotientDigit, + t1 = digits.length; + if (i < 0 || i >= t1) + return H.ioore(digits, i); + t2 = digits[i]; + if (t2 === topDigitDivisor) + return 65535; + t3 = i - 1; + if (t3 < 0 || t3 >= t1) + return H.ioore(digits, t3); + quotientDigit = C.JSInt_methods.$tdiv((t2 << 16 | digits[t3]) >>> 0, topDigitDivisor); + if (quotientDigit > 65535) + return 65535; + return quotientDigit; + }, + DateTime$: function(year, month, day) { + var t1 = H.Primitives_valueFromDecomposedDate(year, month, day, 0, 0, 0, 0, false); + if (!H._isInt(t1)) + H.throwExpression(H.argumentErrorValue(t1)); + return new P.DateTime(t1, false); + }, + DateTime_parse: function(formattedString) { + var t1, t2, t3, years, month, day, hour, minute, second, milliAndMicroseconds, millisecond, tzSign, sign, hourDifference, minuteDifference, isUtc, value, _null = null, + match = $.$get$DateTime__parseFormat().firstMatch$1(formattedString); + if (match != null) { + t1 = new P.DateTime_parse_parseIntOrZero(); + t2 = match._match; + if (1 >= t2.length) + return H.ioore(t2, 1); + t3 = t2[1]; + t3.toString; + years = P.int_parse(t3, _null); + if (2 >= t2.length) + return H.ioore(t2, 2); + t3 = t2[2]; + t3.toString; + month = P.int_parse(t3, _null); + if (3 >= t2.length) + return H.ioore(t2, 3); + t3 = t2[3]; + t3.toString; + day = P.int_parse(t3, _null); + if (4 >= t2.length) + return H.ioore(t2, 4); + hour = t1.call$1(t2[4]); + if (5 >= t2.length) + return H.ioore(t2, 5); + minute = t1.call$1(t2[5]); + if (6 >= t2.length) + return H.ioore(t2, 6); + second = t1.call$1(t2[6]); + if (7 >= t2.length) + return H.ioore(t2, 7); + milliAndMicroseconds = new P.DateTime_parse_parseMilliAndMicroseconds().call$1(t2[7]); + if (typeof milliAndMicroseconds !== "number") + return milliAndMicroseconds.$tdiv(); + millisecond = C.JSInt_methods._tdivFast$1(milliAndMicroseconds, 1000); + t3 = t2.length; + if (8 >= t3) + return H.ioore(t2, 8); + if (t2[8] != null) { + if (9 >= t3) + return H.ioore(t2, 9); + tzSign = t2[9]; + if (tzSign != null) { + sign = tzSign === "-" ? -1 : 1; + if (10 >= t3) + return H.ioore(t2, 10); + t3 = t2[10]; + t3.toString; + hourDifference = P.int_parse(t3, _null); + if (11 >= t2.length) + return H.ioore(t2, 11); + minuteDifference = t1.call$1(t2[11]); + if (typeof minuteDifference !== "number") + return minuteDifference.$add(); + if (typeof minute !== "number") + return minute.$sub(); + minute -= sign * (minuteDifference + 60 * hourDifference); + } + isUtc = true; + } else + isUtc = false; + value = H.Primitives_valueFromDecomposedDate(years, month, day, hour, minute, second, millisecond + C.JSNumber_methods.round$0(milliAndMicroseconds % 1000 / 1000), isUtc); + if (value == null) + throw H.wrapException(P.FormatException$("Time out of range", formattedString, _null)); + return P.DateTime$_withValue(value, isUtc); + } else + throw H.wrapException(P.FormatException$("Invalid date format", formattedString, _null)); + }, + DateTime$_withValue: function(_value, isUtc) { + var t1; + if (Math.abs(_value) <= 864e13) + t1 = false; + else + t1 = true; + if (t1) + H.throwExpression(P.ArgumentError$("DateTime is outside valid range: " + _value)); + H.checkNotNullable(isUtc, "isUtc", type$.bool); + return new P.DateTime(_value, isUtc); + }, + DateTime__fourDigits: function(n) { + var absN = Math.abs(n), + sign = n < 0 ? "-" : ""; + if (absN >= 1000) + return "" + n; + if (absN >= 100) + return sign + "0" + absN; + if (absN >= 10) + return sign + "00" + absN; + return sign + "000" + absN; + }, + DateTime__sixDigits: function(n) { + var absN = Math.abs(n), + sign = n < 0 ? "-" : "+"; + if (absN >= 100000) + return sign + absN; + return sign + "0" + absN; + }, + DateTime__threeDigits: function(n) { + if (n >= 100) + return "" + n; + if (n >= 10) + return "0" + n; + return "00" + n; + }, + DateTime__twoDigits: function(n) { + if (n >= 10) + return "" + n; + return "0" + n; + }, + Duration$: function(microseconds, milliseconds, seconds) { + return new P.Duration(1000000 * seconds + 1000 * milliseconds + microseconds); + }, + Error_safeToString: function(object) { + if (typeof object == "number" || H._isBool(object) || null == object) + return J.toString$0$(object); + if (typeof object == "string") + return JSON.stringify(object); + return P.Error__objectToString(object); + }, + AssertionError$: function(message) { + return new P.AssertionError(message); + }, + ArgumentError$: function(message) { + return new P.ArgumentError(false, null, null, message); + }, + ArgumentError$value: function(value, $name, message) { + return new P.ArgumentError(true, value, $name, message); + }, + ArgumentError$notNull: function($name) { + return new P.ArgumentError(false, null, $name, "Must not be null"); + }, + RangeError$: function(message) { + var _null = null; + return new P.RangeError(_null, _null, false, _null, _null, message); + }, + RangeError$value: function(value, $name, message) { + return new P.RangeError(null, null, true, value, $name, message == null ? "Value not in range" : message); + }, + RangeError$range: function(invalidValue, minValue, maxValue, $name, message) { + return new P.RangeError(minValue, maxValue, true, invalidValue, $name, "Invalid value"); + }, + RangeError_checkValueInInterval: function(value, minValue, maxValue, $name) { + var t1; + if (value >= minValue) { + if (typeof maxValue !== "number") + return H.iae(maxValue); + t1 = value > maxValue; + } else + t1 = true; + if (t1) + throw H.wrapException(P.RangeError$range(value, minValue, maxValue, $name, null)); + return value; + }, + RangeError_checkValidIndex: function(index, indexable) { + var $length = indexable.get$length(indexable); + if (typeof index !== "number") + return H.iae(index); + if (0 > index || index >= $length) + throw H.wrapException(P.IndexError$(index, indexable, "index", null, $length)); + return index; + }, + RangeError_checkValidRange: function(start, end, $length) { + var t1; + if (typeof start !== "number") + return H.iae(start); + if (0 <= start) { + if (typeof $length !== "number") + return H.iae($length); + t1 = start > $length; + } else + t1 = true; + if (t1) + throw H.wrapException(P.RangeError$range(start, 0, $length, "start", null)); + if (end != null) { + if (!(start > end)) { + if (typeof $length !== "number") + return H.iae($length); + t1 = end > $length; + } else + t1 = true; + if (t1) + throw H.wrapException(P.RangeError$range(end, start, $length, "end", null)); + return end; + } + return $length; + }, + RangeError_checkNotNegative: function(value, $name) { + if (typeof value !== "number") + return value.$lt(); + if (value < 0) + throw H.wrapException(P.RangeError$range(value, 0, null, $name, null)); + return value; + }, + IndexError$: function(invalidValue, indexable, $name, message, $length) { + var t1 = H._asIntS($length == null ? J.get$length$asx(indexable) : $length); + return new P.IndexError(t1, true, invalidValue, $name, "Index out of range"); + }, + UnsupportedError$: function(message) { + return new P.UnsupportedError(message); + }, + UnimplementedError$: function(message) { + return new P.UnimplementedError(message); + }, + StateError$: function(message) { + return new P.StateError(message); + }, + ConcurrentModificationError$: function(modifiedObject) { + return new P.ConcurrentModificationError(modifiedObject); + }, + Exception_Exception: function(message) { + return new P._Exception(message); + }, + FormatException$: function(message, source, offset) { + return new P.FormatException(message, source, offset); + }, + Map_castFrom: function(source, $K, $V, K2, V2) { + return new H.CastMap(source, $K._eval$1("@<0>")._bind$1($V)._bind$1(K2)._bind$1(V2)._eval$1("CastMap<1,2,3,4>")); + }, + num_parse: function(input) { + var t1, + result = P.num_tryParse(input); + if (result != null) + return result; + t1 = P.FormatException$(input, null, null); + throw H.wrapException(t1); + }, + num_tryParse: function(input) { + var source = J.trim$0$s(input), + t1 = H.Primitives_parseInt(source, null); + return t1 == null ? H.Primitives_parseDouble(source) : t1; + }, + print: function(object) { + H.printString(H.S(J.toString$0$(object))); + }, + Set_castFrom: function(source, newSet, $S, $T) { + return new H.CastSet(source, newSet, $S._eval$1("@<0>")._bind$1($T)._eval$1("CastSet<1,2>")); + }, + _combineSurrogatePair: function(start, end) { + return 65536 + ((start & 1023) << 10) + (end & 1023); + }, + Uri_parse: function(uri) { + var delta, indices, schemeEnd, hostStart, portStart, pathStart, queryStart, fragmentStart, isSimple, scheme, t1, t2, schemeAuth, queryStart0, pathStart0, userInfoStart, userInfo, host, portNumber, port, path, query, _null = null, + end = uri.length; + if (end >= 5) { + delta = ((C.JSString_methods._codeUnitAt$1(uri, 4) ^ 58) * 3 | C.JSString_methods._codeUnitAt$1(uri, 0) ^ 100 | C.JSString_methods._codeUnitAt$1(uri, 1) ^ 97 | C.JSString_methods._codeUnitAt$1(uri, 2) ^ 116 | C.JSString_methods._codeUnitAt$1(uri, 3) ^ 97) >>> 0; + if (delta === 0) + return P.UriData__parse(end < end ? C.JSString_methods.substring$2(uri, 0, end) : uri, 5, _null).get$uri(); + else if (delta === 32) + return P.UriData__parse(C.JSString_methods.substring$2(uri, 5, end), 0, _null).get$uri(); + } + indices = P.List_List$filled(8, 0, false, type$.int); + C.JSArray_methods.$indexSet(indices, 0, 0); + C.JSArray_methods.$indexSet(indices, 1, -1); + C.JSArray_methods.$indexSet(indices, 2, -1); + C.JSArray_methods.$indexSet(indices, 7, -1); + C.JSArray_methods.$indexSet(indices, 3, 0); + C.JSArray_methods.$indexSet(indices, 4, 0); + C.JSArray_methods.$indexSet(indices, 5, end); + C.JSArray_methods.$indexSet(indices, 6, end); + if (P._scan(uri, 0, end, 0, indices) >= 14) + C.JSArray_methods.$indexSet(indices, 7, end); + schemeEnd = indices[1]; + if (schemeEnd >= 0) + if (P._scan(uri, 0, schemeEnd, 20, indices) === 20) + indices[7] = schemeEnd; + hostStart = indices[2] + 1; + portStart = indices[3]; + pathStart = indices[4]; + queryStart = indices[5]; + fragmentStart = indices[6]; + if (fragmentStart < queryStart) + queryStart = fragmentStart; + if (pathStart < hostStart) + pathStart = queryStart; + else if (pathStart <= schemeEnd) + pathStart = schemeEnd + 1; + if (portStart < hostStart) + portStart = pathStart; + isSimple = indices[7] < 0; + if (isSimple) + if (hostStart > schemeEnd + 3) { + scheme = _null; + isSimple = false; + } else { + t1 = portStart > 0; + if (t1 && portStart + 1 === pathStart) { + scheme = _null; + isSimple = false; + } else { + if (!(queryStart < end && queryStart === pathStart + 2 && C.JSString_methods.startsWith$2(uri, "..", pathStart))) + t2 = queryStart > pathStart + 2 && C.JSString_methods.startsWith$2(uri, "/..", queryStart - 3); + else + t2 = true; + if (t2) { + scheme = _null; + isSimple = false; + } else { + if (schemeEnd === 4) + if (C.JSString_methods.startsWith$2(uri, "file", 0)) { + if (hostStart <= 0) { + if (!C.JSString_methods.startsWith$2(uri, "/", pathStart)) { + schemeAuth = "file:///"; + delta = 3; + } else { + schemeAuth = "file://"; + delta = 2; + } + uri = schemeAuth + C.JSString_methods.substring$2(uri, pathStart, end); + schemeEnd -= 0; + t1 = delta - 0; + queryStart += t1; + fragmentStart += t1; + end = uri.length; + hostStart = 7; + portStart = 7; + pathStart = 7; + } else if (pathStart === queryStart) { + ++fragmentStart; + queryStart0 = queryStart + 1; + uri = C.JSString_methods.replaceRange$3(uri, pathStart, queryStart, "/"); + ++end; + queryStart = queryStart0; + } + scheme = "file"; + } else if (C.JSString_methods.startsWith$2(uri, "http", 0)) { + if (t1 && portStart + 3 === pathStart && C.JSString_methods.startsWith$2(uri, "80", portStart + 1)) { + fragmentStart -= 3; + pathStart0 = pathStart - 3; + queryStart -= 3; + uri = C.JSString_methods.replaceRange$3(uri, portStart, pathStart, ""); + end -= 3; + pathStart = pathStart0; + } + scheme = "http"; + } else + scheme = _null; + else if (schemeEnd === 5 && C.JSString_methods.startsWith$2(uri, "https", 0)) { + if (t1 && portStart + 4 === pathStart && C.JSString_methods.startsWith$2(uri, "443", portStart + 1)) { + fragmentStart -= 4; + pathStart0 = pathStart - 4; + queryStart -= 4; + uri = C.JSString_methods.replaceRange$3(uri, portStart, pathStart, ""); + end -= 3; + pathStart = pathStart0; + } + scheme = "https"; + } else + scheme = _null; + isSimple = true; + } + } + } + else + scheme = _null; + if (isSimple) { + if (end < uri.length) { + uri = C.JSString_methods.substring$2(uri, 0, end); + schemeEnd -= 0; + hostStart -= 0; + portStart -= 0; + pathStart -= 0; + queryStart -= 0; + fragmentStart -= 0; + } + return new P._SimpleUri(uri, schemeEnd, hostStart, portStart, pathStart, queryStart, fragmentStart, scheme); + } + if (scheme == null) + if (schemeEnd > 0) + scheme = P._Uri__makeScheme(uri, 0, schemeEnd); + else { + if (schemeEnd === 0) { + P._Uri__fail(uri, 0, "Invalid empty scheme"); + H.ReachabilityError$(string$.x60null_); + } + scheme = ""; + } + if (hostStart > 0) { + userInfoStart = schemeEnd + 3; + userInfo = userInfoStart < hostStart ? P._Uri__makeUserInfo(uri, userInfoStart, hostStart - 1) : ""; + host = P._Uri__makeHost(uri, hostStart, portStart, false); + t1 = portStart + 1; + if (t1 < pathStart) { + portNumber = H.Primitives_parseInt(C.JSString_methods.substring$2(uri, t1, pathStart), _null); + port = P._Uri__makePort(portNumber == null ? H.throwExpression(P.FormatException$("Invalid port", uri, t1)) : portNumber, scheme); + } else + port = _null; + } else { + port = _null; + host = port; + userInfo = ""; + } + path = P._Uri__makePath(uri, pathStart, queryStart, _null, scheme, host != null); + query = queryStart < fragmentStart ? P._Uri__makeQuery(uri, queryStart + 1, fragmentStart, _null) : _null; + return P._Uri$_internal(scheme, userInfo, host, port, path, query, fragmentStart < end ? P._Uri__makeFragment(uri, fragmentStart + 1, end) : _null); + }, + Uri_decodeComponent: function(encodedComponent) { + H._asStringS(encodedComponent); + return P._Uri__uriDecode(encodedComponent, 0, encodedComponent.length, C.C_Utf8Codec, false); + }, + Uri__parseIPv4Address: function(host, start, end) { + var i, partStart, partIndex, char, part, partIndex0, + _s43_ = "IPv4 address should contain exactly 4 parts", + _s37_ = "each part must be in the range 0..255", + error = new P.Uri__parseIPv4Address_error(host), + result = new Uint8Array(4); + for (i = start, partStart = i, partIndex = 0; i < end; ++i) { + char = C.JSString_methods.codeUnitAt$1(host, i); + if (char !== 46) { + if ((char ^ 48) > 9) + error.call$2("invalid character", i); + } else { + if (partIndex === 3) + error.call$2(_s43_, i); + part = P.int_parse(C.JSString_methods.substring$2(host, partStart, i), null); + if (part > 255) + error.call$2(_s37_, partStart); + partIndex0 = partIndex + 1; + if (partIndex >= 4) + return H.ioore(result, partIndex); + result[partIndex] = part; + partStart = i + 1; + partIndex = partIndex0; + } + } + if (partIndex !== 3) + error.call$2(_s43_, end); + part = P.int_parse(C.JSString_methods.substring$2(host, partStart, end), null); + if (part > 255) + error.call$2(_s37_, partStart); + if (partIndex >= 4) + return H.ioore(result, partIndex); + result[partIndex] = part; + return result; + }, + Uri_parseIPv6Address: function(host, start, end) { + var parts, i, partStart, wildcardSeen, seenDot, char, atEnd, t1, last, bytes, wildCardLength, index, value, j, t2, + error = new P.Uri_parseIPv6Address_error(host), + parseHex = new P.Uri_parseIPv6Address_parseHex(error, host); + if (host.length < 2) + error.call$1("address is too short"); + parts = H.setRuntimeTypeInfo([], type$.JSArray_int); + for (i = start, partStart = i, wildcardSeen = false, seenDot = false; i < end; ++i) { + char = C.JSString_methods.codeUnitAt$1(host, i); + if (char === 58) { + if (i === start) { + ++i; + if (C.JSString_methods.codeUnitAt$1(host, i) !== 58) + error.call$2("invalid start colon.", i); + partStart = i; + } + if (i === partStart) { + if (wildcardSeen) + error.call$2("only one wildcard `::` is allowed", i); + C.JSArray_methods.add$1(parts, -1); + wildcardSeen = true; + } else + C.JSArray_methods.add$1(parts, parseHex.call$2(partStart, i)); + partStart = i + 1; + } else if (char === 46) + seenDot = true; + } + if (parts.length === 0) + error.call$1("too few parts"); + atEnd = partStart === end; + t1 = C.JSArray_methods.get$last(parts); + if (atEnd && t1 !== -1) + error.call$2("expected a part after last `:`", end); + if (!atEnd) + if (!seenDot) + C.JSArray_methods.add$1(parts, parseHex.call$2(partStart, end)); + else { + last = P.Uri__parseIPv4Address(host, partStart, end); + C.JSArray_methods.add$1(parts, (last[0] << 8 | last[1]) >>> 0); + C.JSArray_methods.add$1(parts, (last[2] << 8 | last[3]) >>> 0); + } + if (wildcardSeen) { + if (parts.length > 7) + error.call$1("an address with a wildcard must have less than 7 parts"); + } else if (parts.length !== 8) + error.call$1("an address without a wildcard must contain exactly 8 parts"); + bytes = new Uint8Array(16); + for (t1 = parts.length, wildCardLength = 9 - t1, i = 0, index = 0; i < t1; ++i) { + value = parts[i]; + if (value === -1) + for (j = 0; j < wildCardLength; ++j) { + if (index < 0 || index >= 16) + return H.ioore(bytes, index); + bytes[index] = 0; + t2 = index + 1; + if (t2 >= 16) + return H.ioore(bytes, t2); + bytes[t2] = 0; + index += 2; + } + else { + t2 = C.JSInt_methods._shrOtherPositive$1(value, 8); + if (index < 0 || index >= 16) + return H.ioore(bytes, index); + bytes[index] = t2; + t2 = index + 1; + if (t2 >= 16) + return H.ioore(bytes, t2); + bytes[t2] = value & 255; + index += 2; + } + } + return bytes; + }, + _Uri$_internal: function(scheme, _userInfo, _host, _port, path, _query, _fragment) { + return new P._Uri(scheme, _userInfo, _host, _port, path, _query, _fragment); + }, + _Uri__defaultPort: function(scheme) { + if (scheme === "http") + return 80; + if (scheme === "https") + return 443; + return 0; + }, + _Uri__compareScheme: function(scheme, uri) { + var t1, i, schemeChar, uriChar, delta, lowerChar; + for (t1 = scheme.length, i = 0; i < t1; ++i) { + schemeChar = C.JSString_methods._codeUnitAt$1(scheme, i); + uriChar = C.JSString_methods._codeUnitAt$1(uri, i); + delta = schemeChar ^ uriChar; + if (delta !== 0) { + if (delta === 32) { + lowerChar = uriChar | delta; + if (97 <= lowerChar && lowerChar <= 122) + continue; + } + return false; + } + } + return true; + }, + _Uri__fail: function(uri, index, message) { + throw H.wrapException(P.FormatException$(message, uri, index)); + }, + _Uri__checkNonWindowsPathReservedCharacters: function(segments, argumentError) { + var t1, t2; + for (t1 = J.get$iterator$ax(segments); t1.moveNext$0();) { + t2 = t1.get$current(t1); + t2.toString; + if (H.stringContainsUnchecked(t2, "/", 0)) { + t1 = P.UnsupportedError$("Illegal path character " + t2); + throw H.wrapException(t1); + } + } + }, + _Uri__checkWindowsPathReservedCharacters: function(segments, argumentError, firstSegment) { + var t1, t2, t3; + for (t1 = J.skip$1$ax(segments, firstSegment), t1 = t1.get$iterator(t1); t1.moveNext$0();) { + t2 = t1.get$current(t1); + t3 = P.RegExp_RegExp('["*/:<>?\\\\|]', true); + t2.toString; + if (H.stringContainsUnchecked(t2, t3, 0)) { + t1 = P.UnsupportedError$("Illegal character in path: " + t2); + throw H.wrapException(t1); + } + } + }, + _Uri__checkWindowsDriveLetter: function(charCode, argumentError) { + var t1; + if (!(65 <= charCode && charCode <= 90)) + t1 = 97 <= charCode && charCode <= 122; + else + t1 = true; + if (t1) + return; + t1 = P.UnsupportedError$("Illegal drive letter " + P.String_String$fromCharCode(charCode)); + throw H.wrapException(t1); + }, + _Uri__makePort: function(port, scheme) { + if (port != null && port === P._Uri__defaultPort(scheme)) + return null; + return port; + }, + _Uri__makeHost: function(host, start, end, strictIPv6) { + var t1, t2, index, zoneIDstart, zoneID, i; + if (host == null) + return null; + if (start === end) + return ""; + if (C.JSString_methods.codeUnitAt$1(host, start) === 91) { + t1 = end - 1; + if (C.JSString_methods.codeUnitAt$1(host, t1) !== 93) { + P._Uri__fail(host, start, "Missing end `]` to match `[` in host"); + H.ReachabilityError$(string$.x60null_); + } + t2 = start + 1; + index = P._Uri__checkZoneID(host, t2, t1); + if (index < t1) { + zoneIDstart = index + 1; + zoneID = P._Uri__normalizeZoneID(host, C.JSString_methods.startsWith$2(host, "25", zoneIDstart) ? index + 3 : zoneIDstart, t1, "%25"); + } else + zoneID = ""; + P.Uri_parseIPv6Address(host, t2, index); + return C.JSString_methods.substring$2(host, start, index).toLowerCase() + zoneID + "]"; + } + for (i = start; i < end; ++i) + if (C.JSString_methods.codeUnitAt$1(host, i) === 58) { + index = C.JSString_methods.indexOf$2(host, "%", start); + index = index >= start && index < end ? index : end; + if (index < end) { + zoneIDstart = index + 1; + zoneID = P._Uri__normalizeZoneID(host, C.JSString_methods.startsWith$2(host, "25", zoneIDstart) ? index + 3 : zoneIDstart, end, "%25"); + } else + zoneID = ""; + P.Uri_parseIPv6Address(host, start, index); + return "[" + C.JSString_methods.substring$2(host, start, index) + zoneID + "]"; + } + return P._Uri__normalizeRegName(host, start, end); + }, + _Uri__checkZoneID: function(host, start, end) { + var index = C.JSString_methods.indexOf$2(host, "%", start); + return index >= start && index < end ? index : end; + }, + _Uri__normalizeZoneID: function(host, start, end, prefix) { + var index, sectionStart, isNormalized, char, replacement, t1, t2, tail, sourceLength, slice, + buffer = prefix !== "" ? new P.StringBuffer(prefix) : null; + for (index = start, sectionStart = index, isNormalized = true; index < end;) { + char = C.JSString_methods.codeUnitAt$1(host, index); + if (char === 37) { + replacement = P._Uri__normalizeEscape(host, index, true); + t1 = replacement == null; + if (t1 && isNormalized) { + index += 3; + continue; + } + if (buffer == null) + buffer = new P.StringBuffer(""); + t2 = buffer._contents += C.JSString_methods.substring$2(host, sectionStart, index); + if (t1) + replacement = C.JSString_methods.substring$2(host, index, index + 3); + else if (replacement === "%") { + P._Uri__fail(host, index, "ZoneID should not contain % anymore"); + H.ReachabilityError$(string$.x60null_); + } + buffer._contents = t2 + replacement; + index += 3; + sectionStart = index; + isNormalized = true; + } else { + if (char < 127) { + t1 = char >>> 4; + if (t1 >= 8) + return H.ioore(C.List_nxB, t1); + t1 = (C.List_nxB[t1] & 1 << (char & 15)) !== 0; + } else + t1 = false; + if (t1) { + if (isNormalized && 65 <= char && 90 >= char) { + if (buffer == null) + buffer = new P.StringBuffer(""); + if (sectionStart < index) { + buffer._contents += C.JSString_methods.substring$2(host, sectionStart, index); + sectionStart = index; + } + isNormalized = false; + } + ++index; + } else { + if ((char & 64512) === 55296 && index + 1 < end) { + tail = C.JSString_methods.codeUnitAt$1(host, index + 1); + if ((tail & 64512) === 56320) { + char = (char & 1023) << 10 | tail & 1023 | 65536; + sourceLength = 2; + } else + sourceLength = 1; + } else + sourceLength = 1; + slice = C.JSString_methods.substring$2(host, sectionStart, index); + if (buffer == null) { + buffer = new P.StringBuffer(""); + t1 = buffer; + } else + t1 = buffer; + t1._contents += slice; + t1._contents += P._Uri__escapeChar(char); + index += sourceLength; + sectionStart = index; + } + } + } + if (buffer == null) + return C.JSString_methods.substring$2(host, start, end); + if (sectionStart < end) + buffer._contents += C.JSString_methods.substring$2(host, sectionStart, end); + t1 = buffer._contents; + return t1.charCodeAt(0) == 0 ? t1 : t1; + }, + _Uri__normalizeRegName: function(host, start, end) { + var index, sectionStart, buffer, isNormalized, char, replacement, t1, slice, t2, sourceLength, tail; + for (index = start, sectionStart = index, buffer = null, isNormalized = true; index < end;) { + char = C.JSString_methods.codeUnitAt$1(host, index); + if (char === 37) { + replacement = P._Uri__normalizeEscape(host, index, true); + t1 = replacement == null; + if (t1 && isNormalized) { + index += 3; + continue; + } + if (buffer == null) + buffer = new P.StringBuffer(""); + slice = C.JSString_methods.substring$2(host, sectionStart, index); + t2 = buffer._contents += !isNormalized ? slice.toLowerCase() : slice; + if (t1) { + replacement = C.JSString_methods.substring$2(host, index, index + 3); + sourceLength = 3; + } else if (replacement === "%") { + replacement = "%25"; + sourceLength = 1; + } else + sourceLength = 3; + buffer._contents = t2 + replacement; + index += sourceLength; + sectionStart = index; + isNormalized = true; + } else { + if (char < 127) { + t1 = char >>> 4; + if (t1 >= 8) + return H.ioore(C.List_qNA, t1); + t1 = (C.List_qNA[t1] & 1 << (char & 15)) !== 0; + } else + t1 = false; + if (t1) { + if (isNormalized && 65 <= char && 90 >= char) { + if (buffer == null) + buffer = new P.StringBuffer(""); + if (sectionStart < index) { + buffer._contents += C.JSString_methods.substring$2(host, sectionStart, index); + sectionStart = index; + } + isNormalized = false; + } + ++index; + } else { + if (char <= 93) { + t1 = char >>> 4; + if (t1 >= 8) + return H.ioore(C.List_2Vk, t1); + t1 = (C.List_2Vk[t1] & 1 << (char & 15)) !== 0; + } else + t1 = false; + if (t1) { + P._Uri__fail(host, index, "Invalid character"); + H.ReachabilityError$(string$.x60null_); + } else { + if ((char & 64512) === 55296 && index + 1 < end) { + tail = C.JSString_methods.codeUnitAt$1(host, index + 1); + if ((tail & 64512) === 56320) { + char = (char & 1023) << 10 | tail & 1023 | 65536; + sourceLength = 2; + } else + sourceLength = 1; + } else + sourceLength = 1; + slice = C.JSString_methods.substring$2(host, sectionStart, index); + if (!isNormalized) + slice = slice.toLowerCase(); + if (buffer == null) { + buffer = new P.StringBuffer(""); + t1 = buffer; + } else + t1 = buffer; + t1._contents += slice; + t1._contents += P._Uri__escapeChar(char); + index += sourceLength; + sectionStart = index; + } + } + } + } + if (buffer == null) + return C.JSString_methods.substring$2(host, start, end); + if (sectionStart < end) { + slice = C.JSString_methods.substring$2(host, sectionStart, end); + buffer._contents += !isNormalized ? slice.toLowerCase() : slice; + } + t1 = buffer._contents; + return t1.charCodeAt(0) == 0 ? t1 : t1; + }, + _Uri__makeScheme: function(scheme, start, end) { + var i, containsUpperCase, codeUnit, t1, + _s67_ = string$.x60null_; + if (start === end) + return ""; + if (!P._Uri__isAlphabeticCharacter(C.JSString_methods._codeUnitAt$1(scheme, start))) { + P._Uri__fail(scheme, start, "Scheme not starting with alphabetic character"); + H.ReachabilityError$(_s67_); + } + for (i = start, containsUpperCase = false; i < end; ++i) { + codeUnit = C.JSString_methods._codeUnitAt$1(scheme, i); + if (codeUnit < 128) { + t1 = codeUnit >>> 4; + if (t1 >= 8) + return H.ioore(C.List_JYB, t1); + t1 = (C.List_JYB[t1] & 1 << (codeUnit & 15)) !== 0; + } else + t1 = false; + if (!t1) { + P._Uri__fail(scheme, i, "Illegal scheme character"); + H.ReachabilityError$(_s67_); + } + if (65 <= codeUnit && codeUnit <= 90) + containsUpperCase = true; + } + scheme = C.JSString_methods.substring$2(scheme, start, end); + return P._Uri__canonicalizeScheme(containsUpperCase ? scheme.toLowerCase() : scheme); + }, + _Uri__canonicalizeScheme: function(scheme) { + if (scheme === "http") + return "http"; + if (scheme === "file") + return "file"; + if (scheme === "https") + return "https"; + if (scheme === "package") + return "package"; + return scheme; + }, + _Uri__makeUserInfo: function(userInfo, start, end) { + if (userInfo == null) + return ""; + return P._Uri__normalizeOrSubstring(userInfo, start, end, C.List_gRj, false); + }, + _Uri__makePath: function(path, start, end, pathSegments, scheme, hasAuthority) { + var isFile = scheme === "file", + ensureLeadingSlash = isFile || hasAuthority, + result = P._Uri__normalizeOrSubstring(path, start, end, C.List_qg4, true); + if (result.length === 0) { + if (isFile) + return "/"; + } else if (ensureLeadingSlash && !C.JSString_methods.startsWith$1(result, "/")) + result = "/" + result; + return P._Uri__normalizePath(result, scheme, hasAuthority); + }, + _Uri__normalizePath: function(path, scheme, hasAuthority) { + var t1 = scheme.length === 0; + if (t1 && !hasAuthority && !C.JSString_methods.startsWith$1(path, "/")) + return P._Uri__normalizeRelativePath(path, !t1 || hasAuthority); + return P._Uri__removeDotSegments(path); + }, + _Uri__makeQuery: function(query, start, end, queryParameters) { + if (query != null) + return P._Uri__normalizeOrSubstring(query, start, end, C.List_CVk, true); + return null; + }, + _Uri__makeFragment: function(fragment, start, end) { + if (fragment == null) + return null; + return P._Uri__normalizeOrSubstring(fragment, start, end, C.List_CVk, true); + }, + _Uri__normalizeEscape: function(source, index, lowerCase) { + var firstDigit, secondDigit, firstDigitValue, secondDigitValue, value, + t1 = index + 2; + if (t1 >= source.length) + return "%"; + firstDigit = C.JSString_methods.codeUnitAt$1(source, index + 1); + secondDigit = C.JSString_methods.codeUnitAt$1(source, t1); + firstDigitValue = H.hexDigitValue(firstDigit); + secondDigitValue = H.hexDigitValue(secondDigit); + if (firstDigitValue < 0 || secondDigitValue < 0) + return "%"; + value = firstDigitValue * 16 + secondDigitValue; + if (value < 127) { + t1 = C.JSInt_methods._shrOtherPositive$1(value, 4); + if (t1 >= 8) + return H.ioore(C.List_nxB, t1); + t1 = (C.List_nxB[t1] & 1 << (value & 15)) !== 0; + } else + t1 = false; + if (t1) + return H.Primitives_stringFromCharCode(lowerCase && 65 <= value && 90 >= value ? (value | 32) >>> 0 : value); + if (firstDigit >= 97 || secondDigit >= 97) + return C.JSString_methods.substring$2(source, index, index + 3).toUpperCase(); + return null; + }, + _Uri__escapeChar: function(char) { + var codeUnits, flag, encodedBytes, t1, index, byte, t2, t3, + _s16_ = "0123456789ABCDEF"; + if (char < 128) { + codeUnits = new Uint8Array(3); + codeUnits[0] = 37; + codeUnits[1] = C.JSString_methods._codeUnitAt$1(_s16_, char >>> 4); + codeUnits[2] = C.JSString_methods._codeUnitAt$1(_s16_, char & 15); + } else { + if (char > 2047) + if (char > 65535) { + flag = 240; + encodedBytes = 4; + } else { + flag = 224; + encodedBytes = 3; + } + else { + flag = 192; + encodedBytes = 2; + } + t1 = 3 * encodedBytes; + codeUnits = new Uint8Array(t1); + for (index = 0; --encodedBytes, encodedBytes >= 0; flag = 128) { + byte = C.JSInt_methods._shrReceiverPositive$1(char, 6 * encodedBytes) & 63 | flag; + if (index >= t1) + return H.ioore(codeUnits, index); + codeUnits[index] = 37; + t2 = index + 1; + t3 = C.JSString_methods._codeUnitAt$1(_s16_, byte >>> 4); + if (t2 >= t1) + return H.ioore(codeUnits, t2); + codeUnits[t2] = t3; + t3 = index + 2; + t2 = C.JSString_methods._codeUnitAt$1(_s16_, byte & 15); + if (t3 >= t1) + return H.ioore(codeUnits, t3); + codeUnits[t3] = t2; + index += 3; + } + } + return P.String_String$fromCharCodes(codeUnits, 0, null); + }, + _Uri__normalizeOrSubstring: function(component, start, end, charTable, escapeDelimiters) { + var t1 = P._Uri__normalize(component, start, end, charTable, escapeDelimiters); + return t1 == null ? C.JSString_methods.substring$2(component, start, end) : t1; + }, + _Uri__normalize: function(component, start, end, charTable, escapeDelimiters) { + var t1, index, sectionStart, buffer, char, t2, replacement, sourceLength, tail, _null = null; + for (t1 = !escapeDelimiters, index = start, sectionStart = index, buffer = _null; index < end;) { + char = C.JSString_methods.codeUnitAt$1(component, index); + if (char < 127) { + t2 = char >>> 4; + if (t2 >= 8) + return H.ioore(charTable, t2); + t2 = (charTable[t2] & 1 << (char & 15)) !== 0; + } else + t2 = false; + if (t2) + ++index; + else { + if (char === 37) { + replacement = P._Uri__normalizeEscape(component, index, false); + if (replacement == null) { + index += 3; + continue; + } + if ("%" === replacement) { + replacement = "%25"; + sourceLength = 1; + } else + sourceLength = 3; + } else { + if (t1) + if (char <= 93) { + t2 = char >>> 4; + if (t2 >= 8) + return H.ioore(C.List_2Vk, t2); + t2 = (C.List_2Vk[t2] & 1 << (char & 15)) !== 0; + } else + t2 = false; + else + t2 = false; + if (t2) { + P._Uri__fail(component, index, "Invalid character"); + H.ReachabilityError$(string$.x60null_); + sourceLength = _null; + replacement = sourceLength; + } else { + if ((char & 64512) === 55296) { + t2 = index + 1; + if (t2 < end) { + tail = C.JSString_methods.codeUnitAt$1(component, t2); + if ((tail & 64512) === 56320) { + char = (char & 1023) << 10 | tail & 1023 | 65536; + sourceLength = 2; + } else + sourceLength = 1; + } else + sourceLength = 1; + } else + sourceLength = 1; + replacement = P._Uri__escapeChar(char); + } + } + if (buffer == null) { + buffer = new P.StringBuffer(""); + t2 = buffer; + } else + t2 = buffer; + t2._contents += C.JSString_methods.substring$2(component, sectionStart, index); + t2._contents += H.S(replacement); + if (typeof sourceLength !== "number") + return H.iae(sourceLength); + index += sourceLength; + sectionStart = index; + } + } + if (buffer == null) + return _null; + if (sectionStart < end) + buffer._contents += C.JSString_methods.substring$2(component, sectionStart, end); + t1 = buffer._contents; + return t1.charCodeAt(0) == 0 ? t1 : t1; + }, + _Uri__mayContainDotSegments: function(path) { + if (C.JSString_methods.startsWith$1(path, ".")) + return true; + return C.JSString_methods.indexOf$1(path, "/.") !== -1; + }, + _Uri__removeDotSegments: function(path) { + var output, t1, t2, appendSlash, _i, segment, t3; + if (!P._Uri__mayContainDotSegments(path)) + return path; + output = H.setRuntimeTypeInfo([], type$.JSArray_String); + for (t1 = path.split("/"), t2 = t1.length, appendSlash = false, _i = 0; _i < t2; ++_i) { + segment = t1[_i]; + if (J.$eq$(segment, "..")) { + t3 = output.length; + if (t3 !== 0) { + if (0 >= t3) + return H.ioore(output, -1); + output.pop(); + if (output.length === 0) + C.JSArray_methods.add$1(output, ""); + } + appendSlash = true; + } else if ("." === segment) + appendSlash = true; + else { + C.JSArray_methods.add$1(output, segment); + appendSlash = false; + } + } + if (appendSlash) + C.JSArray_methods.add$1(output, ""); + return C.JSArray_methods.join$1(output, "/"); + }, + _Uri__normalizeRelativePath: function(path, allowScheme) { + var output, t1, t2, appendSlash, _i, segment; + if (!P._Uri__mayContainDotSegments(path)) + return !allowScheme ? P._Uri__escapeScheme(path) : path; + output = H.setRuntimeTypeInfo([], type$.JSArray_String); + for (t1 = path.split("/"), t2 = t1.length, appendSlash = false, _i = 0; _i < t2; ++_i) { + segment = t1[_i]; + if (".." === segment) + if (output.length !== 0 && C.JSArray_methods.get$last(output) !== "..") { + if (0 >= output.length) + return H.ioore(output, -1); + output.pop(); + appendSlash = true; + } else { + C.JSArray_methods.add$1(output, ".."); + appendSlash = false; + } + else if ("." === segment) + appendSlash = true; + else { + C.JSArray_methods.add$1(output, segment); + appendSlash = false; + } + } + t1 = output.length; + if (t1 !== 0) + if (t1 === 1) { + if (0 >= t1) + return H.ioore(output, 0); + t1 = output[0].length === 0; + } else + t1 = false; + else + t1 = true; + if (t1) + return "./"; + if (appendSlash || C.JSArray_methods.get$last(output) === "..") + C.JSArray_methods.add$1(output, ""); + if (!allowScheme) { + if (0 >= output.length) + return H.ioore(output, 0); + C.JSArray_methods.$indexSet(output, 0, P._Uri__escapeScheme(output[0])); + } + return C.JSArray_methods.join$1(output, "/"); + }, + _Uri__escapeScheme: function(path) { + var i, char, t2, + t1 = path.length; + if (t1 >= 2 && P._Uri__isAlphabeticCharacter(J._codeUnitAt$1$s(path, 0))) + for (i = 1; i < t1; ++i) { + char = C.JSString_methods._codeUnitAt$1(path, i); + if (char === 58) + return C.JSString_methods.substring$2(path, 0, i) + "%3A" + C.JSString_methods.substring$1(path, i + 1); + if (char <= 127) { + t2 = char >>> 4; + if (t2 >= 8) + return H.ioore(C.List_JYB, t2); + t2 = (C.List_JYB[t2] & 1 << (char & 15)) === 0; + } else + t2 = true; + if (t2) + break; + } + return path; + }, + _Uri__packageNameEnd: function(uri, path) { + if (uri.isScheme$1("package") && uri._host == null) + return P._skipPackageNameChars(path, 0, path.length); + return -1; + }, + _Uri__toWindowsFilePath: function(uri) { + var hasDriveLetter, host, + segments = uri.get$pathSegments(), + t1 = J.getInterceptor$asx(segments), + t2 = t1.get$length(segments); + if (typeof t2 !== "number") + return t2.$gt(); + if (t2 > 0 && J.get$length$asx(t1.$index(segments, 0)) === 2 && J.codeUnitAt$1$s(t1.$index(segments, 0), 1) === 58) { + P._Uri__checkWindowsDriveLetter(J.codeUnitAt$1$s(t1.$index(segments, 0), 0), false); + P._Uri__checkWindowsPathReservedCharacters(segments, false, 1); + hasDriveLetter = true; + } else { + P._Uri__checkWindowsPathReservedCharacters(segments, false, 0); + hasDriveLetter = false; + } + t2 = uri.get$hasAbsolutePath() && !hasDriveLetter ? "\\" : ""; + if (uri.get$hasAuthority()) { + host = uri.get$host(uri); + if (host.length !== 0) + t2 = t2 + "\\" + host + "\\"; + } + t2 = P.StringBuffer__writeAll(t2, segments, "\\"); + t1 = hasDriveLetter && t1.get$length(segments) === 1 ? t2 + "\\" : t2; + return t1.charCodeAt(0) == 0 ? t1 : t1; + }, + _Uri__hexCharPairToByte: function(s, pos) { + var byte, i, charCode; + for (byte = 0, i = 0; i < 2; ++i) { + charCode = C.JSString_methods._codeUnitAt$1(s, pos + i); + if (48 <= charCode && charCode <= 57) + byte = byte * 16 + charCode - 48; + else { + charCode |= 32; + if (97 <= charCode && charCode <= 102) + byte = byte * 16 + charCode - 87; + else + throw H.wrapException(P.ArgumentError$("Invalid URL encoding")); + } + } + return byte; + }, + _Uri__uriDecode: function(text, start, end, encoding, plusToSpace) { + var simple, codeUnit, t2, bytes, + t1 = J.getInterceptor$s(text), + i = start; + while (true) { + if (!(i < end)) { + simple = true; + break; + } + codeUnit = t1._codeUnitAt$1(text, i); + if (codeUnit <= 127) + if (codeUnit !== 37) + t2 = false; + else + t2 = true; + else + t2 = true; + if (t2) { + simple = false; + break; + } + ++i; + } + if (simple) { + if (C.C_Utf8Codec !== encoding) + t2 = false; + else + t2 = true; + if (t2) + return t1.substring$2(text, start, end); + else + bytes = new H.CodeUnits(t1.substring$2(text, start, end)); + } else { + bytes = H.setRuntimeTypeInfo([], type$.JSArray_int); + for (i = start; i < end; ++i) { + codeUnit = t1._codeUnitAt$1(text, i); + if (codeUnit > 127) + throw H.wrapException(P.ArgumentError$("Illegal percent encoding in URI")); + if (codeUnit === 37) { + if (i + 3 > text.length) + throw H.wrapException(P.ArgumentError$("Truncated URI")); + C.JSArray_methods.add$1(bytes, P._Uri__hexCharPairToByte(text, i + 1)); + i += 2; + } else + C.JSArray_methods.add$1(bytes, codeUnit); + } + } + return encoding.decode$1(0, bytes); + }, + _Uri__isAlphabeticCharacter: function(codeUnit) { + var lowerCase = codeUnit | 32; + return 97 <= lowerCase && lowerCase <= 122; + }, + UriData__parse: function(text, start, sourceUri) { + var t1, i, slashIndex, char, equalsIndex, lastSeparator, t2, data, + _s17_ = "Invalid MIME type", + indices = H.setRuntimeTypeInfo([start - 1], type$.JSArray_int); + for (t1 = text.length, i = start, slashIndex = -1, char = null; i < t1; ++i) { + char = C.JSString_methods._codeUnitAt$1(text, i); + if (char === 44 || char === 59) + break; + if (char === 47) { + if (slashIndex < 0) { + slashIndex = i; + continue; + } + throw H.wrapException(P.FormatException$(_s17_, text, i)); + } + } + if (slashIndex < 0 && i > start) + throw H.wrapException(P.FormatException$(_s17_, text, i)); + for (; char !== 44;) { + C.JSArray_methods.add$1(indices, i); + ++i; + for (equalsIndex = -1; i < t1; ++i) { + char = C.JSString_methods._codeUnitAt$1(text, i); + if (char === 61) { + if (equalsIndex < 0) + equalsIndex = i; + } else if (char === 59 || char === 44) + break; + } + if (equalsIndex >= 0) + C.JSArray_methods.add$1(indices, equalsIndex); + else { + lastSeparator = C.JSArray_methods.get$last(indices); + if (char !== 44 || i !== lastSeparator + 7 || !C.JSString_methods.startsWith$2(text, "base64", lastSeparator + 1)) + throw H.wrapException(P.FormatException$("Expecting '='", text, i)); + break; + } + } + C.JSArray_methods.add$1(indices, i); + t2 = i + 1; + if ((indices.length & 1) === 1) + text = C.C_Base64Codec.normalize$3(0, text, t2, t1); + else { + data = P._Uri__normalize(text, t2, t1, C.List_CVk, true); + if (data != null) + text = C.JSString_methods.replaceRange$3(text, t2, t1, data); + } + return new P.UriData(text, indices, sourceUri); + }, + _createTables: function() { + var _i, t2, t3, t4, t5, + _s77_ = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-._~!$&'()*+,;=", + _s1_ = ".", _s1_0 = ":", _s1_1 = "/", _s1_2 = "?", _s1_3 = "#", + t1 = type$.Uint8List, + tables = J.JSArray_JSArray$allocateGrowable(22, t1); + for (_i = 0; _i < 22; ++_i) + tables[_i] = new Uint8Array(96); + t2 = new P._createTables_build(tables); + t3 = new P._createTables_setChars(); + t4 = new P._createTables_setRange(); + t5 = t1._as(t2.call$2(0, 225)); + t3.call$3(t5, _s77_, 1); + t3.call$3(t5, _s1_, 14); + t3.call$3(t5, _s1_0, 34); + t3.call$3(t5, _s1_1, 3); + t3.call$3(t5, _s1_2, 172); + t3.call$3(t5, _s1_3, 205); + t5 = t1._as(t2.call$2(14, 225)); + t3.call$3(t5, _s77_, 1); + t3.call$3(t5, _s1_, 15); + t3.call$3(t5, _s1_0, 34); + t3.call$3(t5, _s1_1, 234); + t3.call$3(t5, _s1_2, 172); + t3.call$3(t5, _s1_3, 205); + t5 = t1._as(t2.call$2(15, 225)); + t3.call$3(t5, _s77_, 1); + t3.call$3(t5, "%", 225); + t3.call$3(t5, _s1_0, 34); + t3.call$3(t5, _s1_1, 9); + t3.call$3(t5, _s1_2, 172); + t3.call$3(t5, _s1_3, 205); + t5 = t1._as(t2.call$2(1, 225)); + t3.call$3(t5, _s77_, 1); + t3.call$3(t5, _s1_0, 34); + t3.call$3(t5, _s1_1, 10); + t3.call$3(t5, _s1_2, 172); + t3.call$3(t5, _s1_3, 205); + t5 = t1._as(t2.call$2(2, 235)); + t3.call$3(t5, _s77_, 139); + t3.call$3(t5, _s1_1, 131); + t3.call$3(t5, _s1_, 146); + t3.call$3(t5, _s1_2, 172); + t3.call$3(t5, _s1_3, 205); + t5 = t1._as(t2.call$2(3, 235)); + t3.call$3(t5, _s77_, 11); + t3.call$3(t5, _s1_1, 68); + t3.call$3(t5, _s1_, 18); + t3.call$3(t5, _s1_2, 172); + t3.call$3(t5, _s1_3, 205); + t5 = t1._as(t2.call$2(4, 229)); + t3.call$3(t5, _s77_, 5); + t4.call$3(t5, "AZ", 229); + t3.call$3(t5, _s1_0, 102); + t3.call$3(t5, "@", 68); + t3.call$3(t5, "[", 232); + t3.call$3(t5, _s1_1, 138); + t3.call$3(t5, _s1_2, 172); + t3.call$3(t5, _s1_3, 205); + t5 = t1._as(t2.call$2(5, 229)); + t3.call$3(t5, _s77_, 5); + t4.call$3(t5, "AZ", 229); + t3.call$3(t5, _s1_0, 102); + t3.call$3(t5, "@", 68); + t3.call$3(t5, _s1_1, 138); + t3.call$3(t5, _s1_2, 172); + t3.call$3(t5, _s1_3, 205); + t5 = t1._as(t2.call$2(6, 231)); + t4.call$3(t5, "19", 7); + t3.call$3(t5, "@", 68); + t3.call$3(t5, _s1_1, 138); + t3.call$3(t5, _s1_2, 172); + t3.call$3(t5, _s1_3, 205); + t5 = t1._as(t2.call$2(7, 231)); + t4.call$3(t5, "09", 7); + t3.call$3(t5, "@", 68); + t3.call$3(t5, _s1_1, 138); + t3.call$3(t5, _s1_2, 172); + t3.call$3(t5, _s1_3, 205); + t3.call$3(t1._as(t2.call$2(8, 8)), "]", 5); + t5 = t1._as(t2.call$2(9, 235)); + t3.call$3(t5, _s77_, 11); + t3.call$3(t5, _s1_, 16); + t3.call$3(t5, _s1_1, 234); + t3.call$3(t5, _s1_2, 172); + t3.call$3(t5, _s1_3, 205); + t5 = t1._as(t2.call$2(16, 235)); + t3.call$3(t5, _s77_, 11); + t3.call$3(t5, _s1_, 17); + t3.call$3(t5, _s1_1, 234); + t3.call$3(t5, _s1_2, 172); + t3.call$3(t5, _s1_3, 205); + t5 = t1._as(t2.call$2(17, 235)); + t3.call$3(t5, _s77_, 11); + t3.call$3(t5, _s1_1, 9); + t3.call$3(t5, _s1_2, 172); + t3.call$3(t5, _s1_3, 205); + t5 = t1._as(t2.call$2(10, 235)); + t3.call$3(t5, _s77_, 11); + t3.call$3(t5, _s1_, 18); + t3.call$3(t5, _s1_1, 234); + t3.call$3(t5, _s1_2, 172); + t3.call$3(t5, _s1_3, 205); + t5 = t1._as(t2.call$2(18, 235)); + t3.call$3(t5, _s77_, 11); + t3.call$3(t5, _s1_, 19); + t3.call$3(t5, _s1_1, 234); + t3.call$3(t5, _s1_2, 172); + t3.call$3(t5, _s1_3, 205); + t5 = t1._as(t2.call$2(19, 235)); + t3.call$3(t5, _s77_, 11); + t3.call$3(t5, _s1_1, 234); + t3.call$3(t5, _s1_2, 172); + t3.call$3(t5, _s1_3, 205); + t5 = t1._as(t2.call$2(11, 235)); + t3.call$3(t5, _s77_, 11); + t3.call$3(t5, _s1_1, 10); + t3.call$3(t5, _s1_2, 172); + t3.call$3(t5, _s1_3, 205); + t5 = t1._as(t2.call$2(12, 236)); + t3.call$3(t5, _s77_, 12); + t3.call$3(t5, _s1_2, 12); + t3.call$3(t5, _s1_3, 205); + t5 = t1._as(t2.call$2(13, 237)); + t3.call$3(t5, _s77_, 13); + t3.call$3(t5, _s1_2, 13); + t4.call$3(t1._as(t2.call$2(20, 245)), "az", 21); + t2 = t1._as(t2.call$2(21, 245)); + t4.call$3(t2, "az", 21); + t4.call$3(t2, "09", 21); + t3.call$3(t2, "+-.", 21); + return tables; + }, + _scan: function(uri, start, end, state, indices) { + var i, table, char, transition, + tables = $.$get$_scannerTables(); + for (i = start; i < end; ++i) { + if (state < 0 || state >= tables.length) + return H.ioore(tables, state); + table = tables[state]; + char = C.JSString_methods._codeUnitAt$1(uri, i) ^ 96; + transition = table[char > 95 ? 31 : char]; + state = transition & 31; + C.JSArray_methods.$indexSet(indices, transition >>> 5, i); + } + return state; + }, + _SimpleUri__packageNameEnd: function(uri) { + if (uri._schemeEnd === 7 && C.JSString_methods.startsWith$1(uri._core$_uri, "package") && uri._hostStart <= 0) + return P._skipPackageNameChars(uri._core$_uri, uri._pathStart, uri._queryStart); + return -1; + }, + _skipPackageNameChars: function(source, start, end) { + var i, dots, char; + for (i = start, dots = 0; i < end; ++i) { + char = C.JSString_methods.codeUnitAt$1(source, i); + if (char === 47) + return dots !== 0 ? i : -1; + if (char === 37 || char === 58) + return -1; + dots |= char ^ 46; + } + return -1; + }, + NoSuchMethodError_toString_closure: function NoSuchMethodError_toString_closure(t0, t1) { + this._box_0 = t0; + this.sb = t1; + }, + _BigIntImpl: function _BigIntImpl(t0, t1, t2) { + this._isNegative = t0; + this._digits = t1; + this._used = t2; + }, + _BigIntImpl_hashCode_combine: function _BigIntImpl_hashCode_combine() { + }, + _BigIntImpl_hashCode_finish: function _BigIntImpl_hashCode_finish() { + }, + DateTime: function DateTime(t0, t1) { + this._value = t0; + this.isUtc = t1; + }, + DateTime_parse_parseIntOrZero: function DateTime_parse_parseIntOrZero() { + }, + DateTime_parse_parseMilliAndMicroseconds: function DateTime_parse_parseMilliAndMicroseconds() { + }, + Duration: function Duration(t0) { + this._duration = t0; + }, + Duration_toString_sixDigits: function Duration_toString_sixDigits() { + }, + Duration_toString_twoDigits: function Duration_toString_twoDigits() { + }, + Error: function Error() { + }, + AssertionError: function AssertionError(t0) { + this.message = t0; + }, + TypeError: function TypeError() { + }, + NullThrownError: function NullThrownError() { + }, + ArgumentError: function ArgumentError(t0, t1, t2, t3) { + var _ = this; + _._hasValue = t0; + _.invalidValue = t1; + _.name = t2; + _.message = t3; + }, + RangeError: function RangeError(t0, t1, t2, t3, t4, t5) { + var _ = this; + _.start = t0; + _.end = t1; + _._hasValue = t2; + _.invalidValue = t3; + _.name = t4; + _.message = t5; + }, + IndexError: function IndexError(t0, t1, t2, t3, t4) { + var _ = this; + _.length = t0; + _._hasValue = t1; + _.invalidValue = t2; + _.name = t3; + _.message = t4; + }, + NoSuchMethodError: function NoSuchMethodError(t0, t1, t2, t3) { + var _ = this; + _._core$_receiver = t0; + _._core$_memberName = t1; + _._core$_arguments = t2; + _._namedArguments = t3; + }, + UnsupportedError: function UnsupportedError(t0) { + this.message = t0; + }, + UnimplementedError: function UnimplementedError(t0) { + this.message = t0; + }, + StateError: function StateError(t0) { + this.message = t0; + }, + ConcurrentModificationError: function ConcurrentModificationError(t0) { + this.modifiedObject = t0; + }, + OutOfMemoryError: function OutOfMemoryError() { + }, + StackOverflowError: function StackOverflowError() { + }, + CyclicInitializationError: function CyclicInitializationError(t0) { + this.variableName = t0; + }, + _Exception: function _Exception(t0) { + this.message = t0; + }, + FormatException: function FormatException(t0, t1, t2) { + this.message = t0; + this.source = t1; + this.offset = t2; + }, + IntegerDivisionByZeroException: function IntegerDivisionByZeroException() { + }, + Expando: function Expando(t0, t1, t2) { + this._jsWeakMapOrKey = t0; + this.name = t1; + this.$ti = t2; + }, + Iterable: function Iterable() { + }, + Iterator: function Iterator() { + }, + MapEntry: function MapEntry(t0, t1, t2) { + this.key = t0; + this.value = t1; + this.$ti = t2; + }, + Null: function Null() { + }, + Object: function Object() { + }, + _StringStackTrace: function _StringStackTrace() { + }, + Runes: function Runes(t0) { + this.string = t0; + }, + RuneIterator: function RuneIterator(t0) { + var _ = this; + _.string = t0; + _._nextPosition = _._core$_position = 0; + _._currentCodePoint = -1; + }, + StringBuffer: function StringBuffer(t0) { + this._contents = t0; + }, + Uri__parseIPv4Address_error: function Uri__parseIPv4Address_error(t0) { + this.host = t0; + }, + Uri_parseIPv6Address_error: function Uri_parseIPv6Address_error(t0) { + this.host = t0; + }, + Uri_parseIPv6Address_parseHex: function Uri_parseIPv6Address_parseHex(t0, t1) { + this.error = t0; + this.host = t1; + }, + _Uri: function _Uri(t0, t1, t2, t3, t4, t5, t6) { + var _ = this; + _.scheme = t0; + _._userInfo = t1; + _._host = t2; + _._port = t3; + _.path = t4; + _._query = t5; + _._fragment = t6; + _.___Uri_hashCode = _.___Uri_pathSegments = _.___Uri__text = $; + }, + UriData: function UriData(t0, t1, t2) { + this._text = t0; + this._separatorIndices = t1; + this._uriCache = t2; + }, + _createTables_build: function _createTables_build(t0) { + this.tables = t0; + }, + _createTables_setChars: function _createTables_setChars() { + }, + _createTables_setRange: function _createTables_setRange() { + }, + _SimpleUri: function _SimpleUri(t0, t1, t2, t3, t4, t5, t6, t7) { + var _ = this; + _._core$_uri = t0; + _._schemeEnd = t1; + _._hostStart = t2; + _._portStart = t3; + _._pathStart = t4; + _._queryStart = t5; + _._fragmentStart = t6; + _._schemeCache = t7; + _._hashCodeCache = null; + }, + _DataUri: function _DataUri(t0, t1, t2, t3, t4, t5, t6) { + var _ = this; + _.scheme = t0; + _._userInfo = t1; + _._host = t2; + _._port = t3; + _.path = t4; + _._query = t5; + _._fragment = t6; + _.___Uri_hashCode = _.___Uri_pathSegments = _.___Uri__text = $; + }, + convertNativeToDart_Dictionary: function(object) { + var dict, keys, t1, _i, t2; + if (object == null) + return null; + dict = P.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.dynamic); + keys = Object.getOwnPropertyNames(object); + for (t1 = keys.length, _i = 0; _i < keys.length; keys.length === t1 || (0, H.throwConcurrentModificationError)(keys), ++_i) { + t2 = H._asStringS(keys[_i]); + dict.$indexSet(0, t2, object[t2]); + } + return dict; + }, + _convertDartToNative_Value: function(value) { + var array; + if (value == null) + return value; + if (typeof value == "string" || typeof value == "number" || H._isBool(value)) + return value; + if (type$.Map_dynamic_dynamic._is(value)) + return P.convertDartToNative_Dictionary(value); + if (type$.List_dynamic._is(value)) { + array = []; + J.forEach$1$ax(value, new P._convertDartToNative_Value_closure(array)); + value = array; + } + return value; + }, + convertDartToNative_Dictionary: function(dict) { + var object = {}; + J.forEach$1$ax(dict, new P.convertDartToNative_Dictionary_closure(object)); + return object; + }, + Device_userAgent: function() { + return window.navigator.userAgent; + }, + _StructuredClone: function _StructuredClone() { + }, + _StructuredClone_walk_closure: function _StructuredClone_walk_closure(t0, t1) { + this._box_0 = t0; + this.$this = t1; + }, + _StructuredClone_walk_closure0: function _StructuredClone_walk_closure0(t0, t1) { + this._box_0 = t0; + this.$this = t1; + }, + _AcceptStructuredClone: function _AcceptStructuredClone() { + }, + _AcceptStructuredClone_walk_closure: function _AcceptStructuredClone_walk_closure(t0, t1) { + this._box_0 = t0; + this.$this = t1; + }, + _convertDartToNative_Value_closure: function _convertDartToNative_Value_closure(t0) { + this.array = t0; + }, + convertDartToNative_Dictionary_closure: function convertDartToNative_Dictionary_closure(t0) { + this.object = t0; + }, + _StructuredCloneDart2Js: function _StructuredCloneDart2Js(t0, t1) { + this.values = t0; + this.copies = t1; + }, + _AcceptStructuredCloneDart2Js: function _AcceptStructuredCloneDart2Js(t0, t1) { + this.values = t0; + this.copies = t1; + this.mustCopy = false; + }, + CssClassSetImpl: function CssClassSetImpl() { + }, + CssClassSetImpl_add_closure: function CssClassSetImpl_add_closure(t0) { + this.value = t0; + }, + CssClassSetImpl_addAll_closure: function CssClassSetImpl_addAll_closure(t0, t1) { + this.$this = t0; + this.iterable = t1; + }, + CssClassSetImpl_removeAll_closure: function CssClassSetImpl_removeAll_closure(t0) { + this.iterable = t0; + }, + CssClassSetImpl_removeWhere_closure: function CssClassSetImpl_removeWhere_closure(t0) { + this.test = t0; + }, + CssClassSetImpl_clear_closure: function CssClassSetImpl_clear_closure() { + }, + FilteredElementList: function FilteredElementList(t0, t1) { + this._node = t0; + this._childNodes = t1; + }, + FilteredElementList__iterable_closure: function FilteredElementList__iterable_closure() { + }, + FilteredElementList__iterable_closure0: function FilteredElementList__iterable_closure0() { + }, + FilteredElementList_removeRange_closure: function FilteredElementList_removeRange_closure() { + }, + _completeRequest: function(request, $T) { + var t2, t3, t4, + t1 = new P._Future($.Zone__current, $T._eval$1("_Future<0>")), + completer = new P._SyncCompleter(t1, $T._eval$1("_SyncCompleter<0>")); + request.toString; + t2 = type$.nullable_void_Function_legacy_Event; + t3 = t2._as(new P._completeRequest_closure(request, completer, $T)); + type$.nullable_void_Function._as(null); + t4 = type$.legacy_Event; + W._EventStreamSubscription$(request, "success", t3, false, t4); + W._EventStreamSubscription$(request, "error", t2._as(completer.get$completeError()), false, t4); + return t1; + }, + Cursor: function Cursor() { + }, + CursorWithValue: function CursorWithValue() { + }, + _completeRequest_closure: function _completeRequest_closure(t0, t1, t2) { + this.request = t0; + this.completer = t1; + this.T = t2; + }, + KeyRange: function KeyRange() { + }, + ObjectStore: function ObjectStore() { + }, + Observation: function Observation() { + }, + Request0: function Request0() { + }, + VersionChangeEvent: function VersionChangeEvent() { + }, + _callDartFunction: function(callback, captureThis, $self, $arguments) { + var arguments0, t1, dartArgs; + H._asBoolS(captureThis); + type$.List_dynamic._as($arguments); + if (H.boolConversionCheck(captureThis)) { + arguments0 = [$self]; + C.JSArray_methods.addAll$1(arguments0, $arguments); + $arguments = arguments0; + } + t1 = type$.dynamic; + dartArgs = P.List_List$from(J.map$1$1$ax($arguments, P.js___convertToDart$closure(), t1), true, t1); + return P._convertToJS(P.Function_apply(type$.Function._as(callback), dartArgs)); + }, + JsArray__checkRange: function(start, end, $length) { + var _null = null; + if (typeof start !== "number") + return start.$lt(); + if (start < 0 || start > $length) + throw H.wrapException(P.RangeError$range(start, 0, $length, _null, _null)); + if (typeof end !== "number") + return end.$lt(); + if (end < start || end > $length) + throw H.wrapException(P.RangeError$range(end, start, $length, _null, _null)); + }, + _defineProperty: function(o, $name, value) { + var exception; + try { + if (Object.isExtensible(o) && !Object.prototype.hasOwnProperty.call(o, $name)) { + Object.defineProperty(o, $name, {value: value}); + return true; + } + } catch (exception) { + H.unwrapException(exception); + } + return false; + }, + _getOwnProperty: function(o, $name) { + if (Object.prototype.hasOwnProperty.call(o, $name)) + return o[$name]; + return null; + }, + _convertToJS: function(o) { + if (o == null || typeof o == "string" || typeof o == "number" || H._isBool(o)) + return o; + if (o instanceof P.JsObject) + return o._js$_jsObject; + if (H.isBrowserObject(o)) + return o; + if (type$.TypedData._is(o)) + return o; + if (o instanceof P.DateTime) + return H.Primitives_lazyAsJsDate(o); + if (type$.Function._is(o)) + return P._getJsProxy(o, "$dart_jsFunction", new P._convertToJS_closure()); + return P._getJsProxy(o, "_$dart_jsObject", new P._convertToJS_closure0($.$get$_dartProxyCtor())); + }, + _getJsProxy: function(o, propertyName, createProxy) { + var jsProxy = P._getOwnProperty(o, propertyName); + if (jsProxy == null) { + jsProxy = createProxy.call$1(o); + P._defineProperty(o, propertyName, jsProxy); + } + return jsProxy; + }, + _convertToDart: function(o) { + if (o == null || typeof o == "string" || typeof o == "number" || typeof o == "boolean") + return o; + else if (o instanceof Object && H.isBrowserObject(o)) + return o; + else if (o instanceof Object && type$.TypedData._is(o)) + return o; + else if (o instanceof Date) + return P.DateTime$fromMillisecondsSinceEpoch(H._asIntS(o.getTime()), false); + else if (o.constructor === $.$get$_dartProxyCtor()) + return o.o; + else + return P._wrapToDart(o); + }, + _wrapToDart: function(o) { + if (typeof o == "function") + return P._getDartProxy(o, $.$get$DART_CLOSURE_PROPERTY_NAME(), new P._wrapToDart_closure()); + if (o instanceof Array) + return P._getDartProxy(o, $.$get$_DART_OBJECT_PROPERTY_NAME(), new P._wrapToDart_closure0()); + return P._getDartProxy(o, $.$get$_DART_OBJECT_PROPERTY_NAME(), new P._wrapToDart_closure1()); + }, + _getDartProxy: function(o, propertyName, createProxy) { + var dartProxy = P._getOwnProperty(o, propertyName); + if (dartProxy == null || !(o instanceof Object)) { + dartProxy = createProxy.call$1(o); + P._defineProperty(o, propertyName, dartProxy); + } + return dartProxy; + }, + _convertDartFunctionFast: function(f) { + var ret, + existing = f.$dart_jsFunction; + if (existing != null) + return existing; + ret = function(_call, f) { + return function() { + return _call(f, Array.prototype.slice.apply(arguments)); + }; + }(P._callDartFunctionFast, f); + ret[$.$get$DART_CLOSURE_PROPERTY_NAME()] = f; + f.$dart_jsFunction = ret; + return ret; + }, + _callDartFunctionFast: function(callback, $arguments) { + type$.List_dynamic._as($arguments); + return P.Function_apply(type$.Function._as(callback), $arguments); + }, + allowInterop: function(f, $F) { + if (typeof f == "function") + return f; + else + return $F._as(P._convertDartFunctionFast(f)); + }, + _convertToJS_closure: function _convertToJS_closure() { + }, + _convertToJS_closure0: function _convertToJS_closure0(t0) { + this.ctor = t0; + }, + _wrapToDart_closure: function _wrapToDart_closure() { + }, + _wrapToDart_closure0: function _wrapToDart_closure0() { + }, + _wrapToDart_closure1: function _wrapToDart_closure1() { + }, + JsObject: function JsObject(t0) { + this._js$_jsObject = t0; + }, + JsFunction: function JsFunction(t0) { + this._js$_jsObject = t0; + }, + JsArray: function JsArray(t0, t1) { + this._js$_jsObject = t0; + this.$ti = t1; + }, + _JsArray_JsObject_ListMixin: function _JsArray_JsObject_ListMixin() { + }, + jsify: function(object) { + if (!type$.Map_dynamic_dynamic._is(object) && !type$.Iterable_dynamic._is(object)) + throw H.wrapException(P.ArgumentError$("object must be a Map or Iterable")); + return P._convertDataTree0(object); + }, + _convertDataTree0: function(data) { + var t1 = new P._convertDataTree__convert0(new P._IdentityHashMap(type$._IdentityHashMap_dynamic_dynamic)).call$1(data); + t1.toString; + return t1; + }, + promiseToFuture: function(jsPromise, $T) { + var t1 = new P._Future($.Zone__current, $T._eval$1("_Future<0>")), + completer = new P._AsyncCompleter(t1, $T._eval$1("_AsyncCompleter<0>")); + jsPromise.then(H.convertDartClosureToJS(new P.promiseToFuture_closure(completer, $T), 1), H.convertDartClosureToJS(new P.promiseToFuture_closure0(completer), 1)); + return t1; + }, + _convertDataTree__convert0: function _convertDataTree__convert0(t0) { + this._convertedObjects = t0; + }, + NullRejectionException: function NullRejectionException(t0) { + this.isUndefined = t0; + }, + promiseToFuture_closure: function promiseToFuture_closure(t0, t1) { + this.completer = t0; + this.T = t1; + }, + promiseToFuture_closure0: function promiseToFuture_closure0(t0) { + this.completer = t0; + }, + min: function(a, b, $T) { + H.checkTypeBound($T, type$.num, "T", "min"); + $T._as(a); + $T._as(b); + return Math.min(H.checkNum(a), H.checkNum(b)); + }, + max: function(a, b, $T) { + H.checkTypeBound($T, type$.num, "T", "max"); + $T._as(a); + $T._as(b); + return Math.max(H.checkNum(a), H.checkNum(b)); + }, + Rectangle$: function(left, $top, width, height, $T) { + var t1, t2; + if (typeof width !== "number") + return width.$lt(); + if (width < 0) + t1 = -width * 0; + else + t1 = width; + $T._as(t1); + if (typeof height !== "number") + return height.$lt(); + if (height < 0) + t2 = -height * 0; + else + t2 = height; + return new P.Rectangle(left, $top, t1, $T._as(t2), $T._eval$1("Rectangle<0>")); + }, + Point: function Point(t0, t1, t2) { + this.x = t0; + this.y = t1; + this.$ti = t2; + }, + _RectangleBase: function _RectangleBase() { + }, + Rectangle: function Rectangle(t0, t1, t2, t3, t4) { + var _ = this; + _.left = t0; + _.top = t1; + _.width = t2; + _.height = t3; + _.$ti = t4; + }, + SvgSvgElement_SvgSvgElement: function() { + var el = type$.SvgElement._as(C.HtmlDocument_methods.createElementNS$2(document, "http://www.w3.org/2000/svg", "svg")); + el.setAttribute("version", "1.1"); + return type$.SvgSvgElement._as(el); + }, + AElement: function AElement() { + }, + Angle: function Angle() { + }, + CircleElement: function CircleElement() { + }, + DefsElement: function DefsElement() { + }, + FEGaussianBlurElement: function FEGaussianBlurElement() { + }, + FEMergeElement: function FEMergeElement() { + }, + FEMergeNodeElement: function FEMergeNodeElement() { + }, + FilterElement: function FilterElement() { + }, + GElement: function GElement() { + }, + GeometryElement: function GeometryElement() { + }, + GraphicsElement: function GraphicsElement() { + }, + Length: function Length() { + }, + LengthList: function LengthList() { + }, + Number: function Number() { + }, + NumberList: function NumberList() { + }, + Point0: function Point0() { + }, + PointList: function PointList() { + }, + PolygonElement: function PolygonElement() { + }, + RectElement: function RectElement() { + }, + StringList: function StringList() { + }, + AttributeClassSet: function AttributeClassSet(t0) { + this._svg$_element = t0; + }, + SvgElement: function SvgElement() { + }, + SvgSvgElement: function SvgSvgElement() { + }, + TextContentElement: function TextContentElement() { + }, + TextElement: function TextElement() { + }, + TextPathElement: function TextPathElement() { + }, + TextPositioningElement: function TextPositioningElement() { + }, + Transform: function Transform() { + }, + TransformList: function TransformList() { + }, + _LengthList_Interceptor_ListMixin: function _LengthList_Interceptor_ListMixin() { + }, + _LengthList_Interceptor_ListMixin_ImmutableListMixin: function _LengthList_Interceptor_ListMixin_ImmutableListMixin() { + }, + _NumberList_Interceptor_ListMixin: function _NumberList_Interceptor_ListMixin() { + }, + _NumberList_Interceptor_ListMixin_ImmutableListMixin: function _NumberList_Interceptor_ListMixin_ImmutableListMixin() { + }, + _StringList_Interceptor_ListMixin: function _StringList_Interceptor_ListMixin() { + }, + _StringList_Interceptor_ListMixin_ImmutableListMixin: function _StringList_Interceptor_ListMixin_ImmutableListMixin() { + }, + _TransformList_Interceptor_ListMixin: function _TransformList_Interceptor_ListMixin() { + }, + _TransformList_Interceptor_ListMixin_ImmutableListMixin: function _TransformList_Interceptor_ListMixin_ImmutableListMixin() { + }, + UnmodifiableUint8ListView$: function(list) { + return new P.UnmodifiableUint8ListView(list); + }, + Endian: function Endian() { + }, + UnmodifiableByteBufferView: function UnmodifiableByteBufferView(t0) { + this._typed_data$_data = t0; + }, + UnmodifiableByteDataView: function UnmodifiableByteDataView(t0) { + this._typed_data$_data = t0; + }, + _UnmodifiableListMixin: function _UnmodifiableListMixin() { + }, + UnmodifiableUint8ListView: function UnmodifiableUint8ListView(t0) { + this._typed_data$_list = t0; + }, + UnmodifiableInt32ListView: function UnmodifiableInt32ListView(t0) { + this._typed_data$_list = t0; + }, + _UnmodifiableInt32ListView_UnmodifiableListBase__UnmodifiableListMixin: function _UnmodifiableInt32ListView_UnmodifiableListBase__UnmodifiableListMixin() { + }, + _UnmodifiableUint8ListView_UnmodifiableListBase__UnmodifiableListMixin: function _UnmodifiableUint8ListView_UnmodifiableListBase__UnmodifiableListMixin() { + }, + AudioBuffer: function AudioBuffer() { + }, + AudioNode: function AudioNode() { + }, + AudioParam: function AudioParam() { + }, + AudioParamMap: function AudioParamMap() { + }, + AudioParamMap_keys_closure: function AudioParamMap_keys_closure(t0) { + this.keys = t0; + }, + AudioParamMap_values_closure: function AudioParamMap_values_closure(t0) { + this.values = t0; + }, + AudioScheduledSourceNode: function AudioScheduledSourceNode() { + }, + AudioTrackList: function AudioTrackList() { + }, + BaseAudioContext: function BaseAudioContext() { + }, + ConstantSourceNode: function ConstantSourceNode() { + }, + OfflineAudioContext: function OfflineAudioContext() { + }, + _AudioParamMap_Interceptor_MapMixin: function _AudioParamMap_Interceptor_MapMixin() { + }, + SqlError: function SqlError() { + }, + SqlResultSetRowList: function SqlResultSetRowList() { + }, + _SqlResultSetRowList_Interceptor_ListMixin: function _SqlResultSetRowList_Interceptor_ListMixin() { + }, + _SqlResultSetRowList_Interceptor_ListMixin_ImmutableListMixin: function _SqlResultSetRowList_Interceptor_ListMixin_ImmutableListMixin() { + } + }, + W = { + document: function() { + return document; + }, + AnchorElement_AnchorElement: function() { + var e = document.createElement("a"); + return e; + }, + Blob_Blob: function(blobParts, type) { + var bag, + t1 = type == null; + if (t1 && true) + return new self.Blob(blobParts); + bag = {}; + if (!t1) + bag.type = type; + return new self.Blob(blobParts, bag); + }, + DomMatrix_DomMatrix: function($init) { + var t1 = new DOMMatrix($init); + return t1; + }, + DomPoint_fromPoint: function(other) { + var t1 = W.DomPoint__fromPoint_1(P.convertDartToNative_Dictionary(other)); + return t1; + }, + DomPoint__fromPoint_1: function(other) { + return DOMPoint.fromPoint(other); + }, + _ChildrenElementList__addAll: function(_element, iterable) { + var t1; + for (t1 = J.get$iterator$ax(iterable instanceof W._ChildNodeListLazy ? P.List_List$from(iterable, true, type$.Element) : iterable); t1.moveNext$0();) + _element.appendChild(t1.get$current(t1)); + }, + Element_Element$html: function(html, treeSanitizer, validator) { + var fragment, + t1 = document.body; + t1.toString; + fragment = C.BodyElement_methods.createFragment$3$treeSanitizer$validator(t1, html, treeSanitizer, validator); + fragment.toString; + t1 = type$._ChildNodeListLazy; + t1 = new H.WhereIterable(new W._ChildNodeListLazy(fragment), t1._eval$1("bool(ListMixin.E)")._as(new W.Element_Element$html_closure()), t1._eval$1("WhereIterable")); + return type$.Element._as(t1.get$single(t1)); + }, + Element__safeTagName: function(element) { + var t1, exception, + result = "element tag unavailable"; + try { + t1 = J.getInterceptor$x(element); + if (typeof t1.get$tagName(element) == "string") + result = t1.get$tagName(element); + } catch (exception) { + H.unwrapException(exception); + } + return result; + }, + HttpRequest_getString: function(url) { + return W.HttpRequest_request(url, null, null, null).then$1$1(0, new W.HttpRequest_getString_closure(), type$.String); + }, + HttpRequest_request: function(url, onProgress, responseType, withCredentials) { + var t2, t3, t4, + t1 = new P._Future($.Zone__current, type$._Future_HttpRequest), + completer = new P._AsyncCompleter(t1, type$._AsyncCompleter_HttpRequest), + xhr = new XMLHttpRequest(); + C.HttpRequest_methods.open$3$async(xhr, "GET", url, true); + if (responseType != null) + xhr.responseType = responseType; + t2 = type$.nullable_void_Function_legacy_ProgressEvent; + t3 = t2._as(new W.HttpRequest_request_closure(xhr, completer)); + type$.nullable_void_Function._as(null); + t4 = type$.legacy_ProgressEvent; + W._EventStreamSubscription$(xhr, "load", t3, false, t4); + W._EventStreamSubscription$(xhr, "error", t2._as(completer.get$completeError()), false, t4); + xhr.send(); + return t1; + }, + ImageElement_ImageElement: function(src) { + var e = document.createElement("img"); + C.ImageElement_methods.set$src(e, src); + return e; + }, + MouseEvent_MouseEvent: function(type, relatedTarget) { + var view = window, + $event = type$.MouseEvent._as(document.createEvent("MouseEvent")); + $event.toString; + J._initMouseEvent_1$15$x($event, type, true, true, view, 0, 0, 0, 0, 0, false, false, false, false, 0, W._convertDartToNative_EventTarget(relatedTarget)); + return $event; + }, + TouchEvent_TouchEvent: function(type) { + return new TouchEvent(type); + }, + TouchEvent_supported: function() { + var exception; + try { + W.TouchEvent_TouchEvent("touches"); + return true; + } catch (exception) { + H.unwrapException(exception); + } + return false; + }, + _JenkinsSmiHash_combine: function(hash, value) { + hash = hash + value & 536870911; + hash = hash + ((hash & 524287) << 10) & 536870911; + return hash ^ hash >>> 6; + }, + _JenkinsSmiHash_hash4: function(a, b, c, d) { + var t1 = W._JenkinsSmiHash_combine(W._JenkinsSmiHash_combine(W._JenkinsSmiHash_combine(W._JenkinsSmiHash_combine(0, a), b), c), d), + hash = t1 + ((t1 & 67108863) << 3) & 536870911; + hash ^= hash >>> 11; + return hash + ((hash & 16383) << 15) & 536870911; + }, + _ElementCssClassSet__addAll: function(_element, iterable) { + var t1, + list = _element.classList; + for (t1 = J.get$iterator$ax(iterable); t1.moveNext$0();) + list.add(t1.get$current(t1)); + }, + _ElementCssClassSet__removeAll: function(_element, iterable) { + var t1, + list = _element.classList; + for (t1 = J.get$iterator$ax(iterable); t1.moveNext$0();) + list.remove(H._asStringS(t1.get$current(t1))); + }, + _ElementCssClassSet__removeWhere: function(_element, test, doRemove) { + var i, t1, + list = _element.classList; + for (i = 0; i < list.length;) { + t1 = list.item(i); + t1.toString; + if (true === test.call$1(t1)) + list.remove(t1); + else + ++i; + } + }, + _EventStreamSubscription$: function(_target, _eventType, onData, _useCapture, $T) { + var t1 = onData == null ? null : W._wrapZone(new W._EventStreamSubscription_closure(onData), type$.Event); + t1 = new W._EventStreamSubscription(_target, _eventType, t1, false, $T._eval$1("_EventStreamSubscription<0>")); + t1._tryResume$0(); + return t1; + }, + _Html5NodeValidator$: function(uriPolicy) { + var t1 = W.AnchorElement_AnchorElement(), + t2 = window.location; + t1 = new W._Html5NodeValidator(new W._SameOriginUriPolicy(t1, t2)); + t1._Html5NodeValidator$1$uriPolicy(uriPolicy); + return t1; + }, + _Html5NodeValidator__standardAttributeValidator: function(element, attributeName, value, context) { + type$.Element._as(element); + H._asStringS(attributeName); + H._asStringS(value); + type$._Html5NodeValidator._as(context); + return true; + }, + _Html5NodeValidator__uriAttributeValidator: function(element, attributeName, value, context) { + var t1, t2, t3; + type$.Element._as(element); + H._asStringS(attributeName); + H._asStringS(value); + t1 = type$._Html5NodeValidator._as(context).uriPolicy; + t2 = t1._hiddenAnchor; + C.AnchorElement_methods.set$href(t2, value); + t3 = t2.hostname; + t1 = t1._loc; + if (!(t3 == t1.hostname && t2.port == t1.port && t2.protocol == t1.protocol)) + if (t3 === "") + if (t2.port === "") { + t1 = t2.protocol; + t1 = t1 === ":" || t1 === ""; + } else + t1 = false; + else + t1 = false; + else + t1 = true; + return t1; + }, + KeyCode__convertKeyCodeToKeyName: function(keyCode) { + switch (keyCode) { + case 18: + return "Alt"; + case 8: + return "Backspace"; + case 20: + return "CapsLock"; + case 17: + return "Control"; + case 46: + return "Del"; + case 40: + return "Down"; + case 35: + return "End"; + case 13: + return "Enter"; + case 27: + return "Esc"; + case 112: + return "F1"; + case 113: + return "F2"; + case 114: + return "F3"; + case 115: + return "F4"; + case 116: + return "F5"; + case 117: + return "F6"; + case 118: + return "F7"; + case 119: + return "F8"; + case 120: + return "F9"; + case 121: + return "F10"; + case 122: + return "F11"; + case 123: + return "F12"; + case 36: + return "Home"; + case 45: + return "Insert"; + case 37: + return "Left"; + case 91: + return "Meta"; + case 144: + return "NumLock"; + case 34: + return "PageDown"; + case 33: + return "PageUp"; + case 19: + return "Pause"; + case 44: + return "PrintScreen"; + case 39: + return "Right"; + case 145: + return "Scroll"; + case 16: + return "Shift"; + case 32: + return "Spacebar"; + case 9: + return "Tab"; + case 38: + return "Up"; + case 229: + case 224: + case 91: + case 92: + return "Win"; + default: + return "Unidentified"; + } + }, + _TemplatingNodeValidator$: function() { + var t1 = type$.String, + t2 = P.LinkedHashSet_LinkedHashSet$from(C.List_wSV, t1), + t3 = type$.String_Function_legacy_String._as(new W._TemplatingNodeValidator_closure()), + t4 = H.setRuntimeTypeInfo(["TEMPLATE"], type$.JSArray_String); + t1 = new W._TemplatingNodeValidator(t2, P.LinkedHashSet_LinkedHashSet(t1), P.LinkedHashSet_LinkedHashSet(t1), P.LinkedHashSet_LinkedHashSet(t1), null); + t1._SimpleNodeValidator$4$allowedAttributes$allowedElements$allowedUriAttributes(null, new H.MappedListIterable(C.List_wSV, t3, type$.MappedListIterable_of_legacy_String_and_String), t4, null); + return t1; + }, + _convertNativeToDart_Window: function(win) { + return W._DOMWindowCrossFrame__createSafe(win); + }, + _convertNativeToDart_EventTarget: function(e) { + var $window; + if (e == null) + return null; + if ("postMessage" in e) { + $window = W._DOMWindowCrossFrame__createSafe(e); + return $window; + } else + return type$.nullable_EventTarget._as(e); + }, + _convertDartToNative_EventTarget: function(e) { + return e; + }, + _convertNativeToDart_XHR_Response: function(o) { + if (type$.Document._is(o)) + return o; + return new P._AcceptStructuredCloneDart2Js([], []).convertNativeToDart_AcceptStructuredClone$2$mustCopy(o, true); + }, + _DOMWindowCrossFrame__createSafe: function(w) { + if (w === window) + return type$.WindowBase._as(w); + else + return new W._DOMWindowCrossFrame(w); + }, + KeyEvent_KeyEvent: function(type, ctrlKey, keyCode) { + var keyEvent, + view = window, + e = document.createEvent("KeyboardEvent"), + t1 = J.getInterceptor$x(e); + t1._initEvent$3(e, type, true, true); + Object.defineProperty(e, 'keyCode', { + get: function() { + return this.keyCodeVal; + } + }); + Object.defineProperty(e, 'which', { + get: function() { + return this.keyCodeVal; + } + }); + Object.defineProperty(e, 'charCode', { + get: function() { + return this.charCodeVal; + } + }); + t1._initKeyboardEvent$10(e, type, true, true, view, W.KeyEvent__convertToHexString(0, keyCode), 1, true, false, false, false); + e.keyCodeVal = keyCode; + e.charCodeVal = 0; + Object.defineProperty(e, init.dispatchPropertyName, {value: $.$get$KeyEvent__keyboardEventDispatchRecord(), enumerable: false, writable: true, configurable: true}); + type$.KeyboardEvent._as(e); + keyEvent = new W.KeyEvent(e, e); + keyEvent._shadowAltKey = e.altKey; + keyEvent._shadowKeyCode = e.keyCode; + t1 = J.get$currentTarget$x(e); + keyEvent._currentTarget = t1; + if (t1 == null) { + t1 = window; + keyEvent._currentTarget = t1; + } + return keyEvent; + }, + KeyEvent__convertToHexString: function(charCode, keyCode) { + var hex, t1, i, t2; + if (charCode !== -1) { + hex = C.JSInt_methods.toRadixString$1(charCode, 16); + for (t1 = 4 - hex.length, i = 0, t2 = "U+"; i < t1; ++i) + t2 += "0"; + t1 = t2 + hex; + return t1.charCodeAt(0) == 0 ? t1 : t1; + } else + return W.KeyCode__convertKeyCodeToKeyName(keyCode); + }, + _wrapZone: function(callback, $T) { + var t1 = $.Zone__current; + if (t1 === C.C__RootZone) + return callback; + return t1.bindUnaryCallbackGuarded$1$1(callback, $T); + }, + HtmlElement: function HtmlElement() { + }, + AccessibleNode: function AccessibleNode() { + }, + AccessibleNodeList: function AccessibleNodeList() { + }, + AnchorElement: function AnchorElement() { + }, + ApplicationCacheErrorEvent: function ApplicationCacheErrorEvent() { + }, + AreaElement: function AreaElement() { + }, + BaseElement: function BaseElement() { + }, + BeforeUnloadEvent: function BeforeUnloadEvent() { + }, + Blob: function Blob() { + }, + BluetoothRemoteGattDescriptor: function BluetoothRemoteGattDescriptor() { + }, + BodyElement: function BodyElement() { + }, + ButtonElement: function ButtonElement() { + }, + CacheStorage: function CacheStorage() { + }, + CanvasElement: function CanvasElement() { + }, + CanvasElement_toBlob_closure: function CanvasElement_toBlob_closure(t0) { + this.completer = t0; + }, + CanvasRenderingContext2D: function CanvasRenderingContext2D() { + }, + CharacterData: function CharacterData() { + }, + CssKeywordValue: function CssKeywordValue() { + }, + CssNumericValue: function CssNumericValue() { + }, + CssPerspective: function CssPerspective() { + }, + CssRule: function CssRule() { + }, + CssStyleDeclaration: function CssStyleDeclaration() { + }, + CssStyleDeclarationBase: function CssStyleDeclarationBase() { + }, + CssStyleRule: function CssStyleRule() { + }, + CssStyleSheet: function CssStyleSheet() { + }, + CssStyleValue: function CssStyleValue() { + }, + CssTransformComponent: function CssTransformComponent() { + }, + CssTransformValue: function CssTransformValue() { + }, + CssUnitValue: function CssUnitValue() { + }, + CssUnparsedValue: function CssUnparsedValue() { + }, + DataElement: function DataElement() { + }, + DataTransfer: function DataTransfer() { + }, + DataTransferItemList: function DataTransferItemList() { + }, + DeprecationReport: function DeprecationReport() { + }, + DivElement: function DivElement() { + }, + Document: function Document() { + }, + DomError: function DomError() { + }, + DomException: function DomException() { + }, + DomImplementation: function DomImplementation() { + }, + DomPoint: function DomPoint() { + }, + DomPointReadOnly: function DomPointReadOnly() { + }, + DomRectList: function DomRectList() { + }, + DomRectReadOnly: function DomRectReadOnly() { + }, + DomStringList: function DomStringList() { + }, + DomTokenList: function DomTokenList() { + }, + _FrozenElementList: function _FrozenElementList(t0, t1) { + this._nodeList = t0; + this.$ti = t1; + }, + Element: function Element() { + }, + Element_Element$html_closure: function Element_Element$html_closure() { + }, + Entry: function Entry() { + }, + Entry_remove_closure: function Entry_remove_closure(t0) { + this.completer = t0; + }, + Entry_remove_closure0: function Entry_remove_closure0(t0) { + this.completer = t0; + }, + ErrorEvent: function ErrorEvent() { + }, + Event: function Event() { + }, + Events: function Events() { + }, + ElementEvents: function ElementEvents(t0) { + this._ptr = t0; + }, + EventTarget: function EventTarget() { + }, + File: function File() { + }, + FileList: function FileList() { + }, + FileReader: function FileReader() { + }, + FileWriter: function FileWriter() { + }, + FontFace: function FontFace() { + }, + FontFaceSet: function FontFaceSet() { + }, + FormElement: function FormElement() { + }, + Gamepad: function Gamepad() { + }, + GamepadButton: function GamepadButton() { + }, + History: function History() { + }, + HtmlCollection: function HtmlCollection() { + }, + HtmlDocument: function HtmlDocument() { + }, + HttpRequest: function HttpRequest() { + }, + HttpRequest_getString_closure: function HttpRequest_getString_closure() { + }, + HttpRequest_request_closure: function HttpRequest_request_closure(t0, t1) { + this.xhr = t0; + this.completer = t1; + }, + HttpRequestEventTarget: function HttpRequestEventTarget() { + }, + IFrameElement: function IFrameElement() { + }, + ImageData: function ImageData() { + }, + ImageElement: function ImageElement() { + }, + InputElement: function InputElement() { + }, + IntersectionObserverEntry: function IntersectionObserverEntry() { + }, + InterventionReport: function InterventionReport() { + }, + KeyboardEvent: function KeyboardEvent() { + }, + LIElement: function LIElement() { + }, + Location: function Location() { + }, + MediaElement: function MediaElement() { + }, + MediaError: function MediaError() { + }, + MediaKeyMessageEvent: function MediaKeyMessageEvent() { + }, + MediaKeySession: function MediaKeySession() { + }, + MediaList: function MediaList() { + }, + MessagePort: function MessagePort() { + }, + MeterElement: function MeterElement() { + }, + MidiInputMap: function MidiInputMap() { + }, + MidiInputMap_keys_closure: function MidiInputMap_keys_closure(t0) { + this.keys = t0; + }, + MidiInputMap_values_closure: function MidiInputMap_values_closure(t0) { + this.values = t0; + }, + MidiOutputMap: function MidiOutputMap() { + }, + MidiOutputMap_keys_closure: function MidiOutputMap_keys_closure(t0) { + this.keys = t0; + }, + MidiOutputMap_values_closure: function MidiOutputMap_values_closure(t0) { + this.values = t0; + }, + MimeType: function MimeType() { + }, + MimeTypeArray: function MimeTypeArray() { + }, + MouseEvent: function MouseEvent() { + }, + MutationRecord: function MutationRecord() { + }, + NavigatorUserMediaError: function NavigatorUserMediaError() { + }, + _ChildNodeListLazy: function _ChildNodeListLazy(t0) { + this._this = t0; + }, + Node: function Node() { + }, + NodeList: function NodeList() { + }, + OptionElement: function OptionElement() { + }, + OutputElement: function OutputElement() { + }, + OverconstrainedError: function OverconstrainedError() { + }, + ParamElement: function ParamElement() { + }, + PaymentInstruments: function PaymentInstruments() { + }, + Plugin: function Plugin() { + }, + PluginArray: function PluginArray() { + }, + PointerEvent: function PointerEvent() { + }, + PositionError: function PositionError() { + }, + PreElement: function PreElement() { + }, + PresentationAvailability: function PresentationAvailability() { + }, + PresentationConnectionCloseEvent: function PresentationConnectionCloseEvent() { + }, + ProcessingInstruction: function ProcessingInstruction() { + }, + ProgressElement: function ProgressElement() { + }, + ProgressEvent: function ProgressEvent() { + }, + ReportBody: function ReportBody() { + }, + ResizeObserverEntry: function ResizeObserverEntry() { + }, + RtcStatsReport: function RtcStatsReport() { + }, + RtcStatsReport_keys_closure: function RtcStatsReport_keys_closure(t0) { + this.keys = t0; + }, + RtcStatsReport_values_closure: function RtcStatsReport_values_closure(t0) { + this.values = t0; + }, + SelectElement: function SelectElement() { + }, + SourceBuffer: function SourceBuffer() { + }, + SourceBufferList: function SourceBufferList() { + }, + SpeechGrammar: function SpeechGrammar() { + }, + SpeechGrammarList: function SpeechGrammarList() { + }, + SpeechRecognitionError: function SpeechRecognitionError() { + }, + SpeechRecognitionResult: function SpeechRecognitionResult() { + }, + Storage: function Storage() { + }, + Storage_keys_closure: function Storage_keys_closure(t0) { + this.keys = t0; + }, + Storage_values_closure: function Storage_values_closure(t0) { + this.values = t0; + }, + StyleSheet: function StyleSheet() { + }, + TemplateElement: function TemplateElement() { + }, + TextAreaElement: function TextAreaElement() { + }, + TextTrack: function TextTrack() { + }, + TextTrackCue: function TextTrackCue() { + }, + TextTrackCueList: function TextTrackCueList() { + }, + TextTrackList: function TextTrackList() { + }, + TimeRanges: function TimeRanges() { + }, + Touch: function Touch() { + }, + TouchEvent: function TouchEvent() { + }, + TouchList: function TouchList() { + }, + TrackDefaultList: function TrackDefaultList() { + }, + UIEvent: function UIEvent() { + }, + Url: function Url() { + }, + VREyeParameters: function VREyeParameters() { + }, + VideoElement: function VideoElement() { + }, + VideoTrackList: function VideoTrackList() { + }, + Window: function Window() { + }, + _BeforeUnloadEvent: function _BeforeUnloadEvent(t0) { + this.wrapped = t0; + }, + _BeforeUnloadEventStreamProvider: function _BeforeUnloadEventStreamProvider() { + }, + _BeforeUnloadEventStreamProvider_forTarget_closure: function _BeforeUnloadEventStreamProvider_forTarget_closure(t0) { + this.controller = t0; + }, + WorkerGlobalScope: function WorkerGlobalScope() { + }, + XmlSerializer: function XmlSerializer() { + }, + _Attr: function _Attr() { + }, + _CssRuleList: function _CssRuleList() { + }, + _DomRect: function _DomRect() { + }, + _GamepadList: function _GamepadList() { + }, + _NamedNodeMap: function _NamedNodeMap() { + }, + _SpeechRecognitionResultList: function _SpeechRecognitionResultList() { + }, + _StyleSheetList: function _StyleSheetList() { + }, + _AttributeMap: function _AttributeMap() { + }, + _ElementAttributeMap: function _ElementAttributeMap(t0) { + this._html$_element = t0; + }, + _ElementCssClassSet: function _ElementCssClassSet(t0) { + this._html$_element = t0; + }, + EventStreamProvider: function EventStreamProvider(t0, t1) { + this._eventType = t0; + this.$ti = t1; + }, + _EventStream: function _EventStream(t0, t1, t2, t3) { + var _ = this; + _._html$_target = t0; + _._eventType = t1; + _._useCapture = t2; + _.$ti = t3; + }, + _ElementEventStreamImpl: function _ElementEventStreamImpl(t0, t1, t2, t3) { + var _ = this; + _._html$_target = t0; + _._eventType = t1; + _._useCapture = t2; + _.$ti = t3; + }, + _EventStreamSubscription: function _EventStreamSubscription(t0, t1, t2, t3, t4) { + var _ = this; + _._pauseCount = 0; + _._html$_target = t0; + _._eventType = t1; + _._onData = t2; + _._useCapture = t3; + _.$ti = t4; + }, + _EventStreamSubscription_closure: function _EventStreamSubscription_closure(t0) { + this.onData = t0; + }, + _EventStreamSubscription_onData_closure: function _EventStreamSubscription_onData_closure(t0) { + this.handleData = t0; + }, + _Html5NodeValidator: function _Html5NodeValidator(t0) { + this.uriPolicy = t0; + }, + ImmutableListMixin: function ImmutableListMixin() { + }, + NodeValidatorBuilder: function NodeValidatorBuilder(t0) { + this._validators = t0; + }, + NodeValidatorBuilder_allowsElement_closure: function NodeValidatorBuilder_allowsElement_closure(t0) { + this.element = t0; + }, + NodeValidatorBuilder_allowsAttribute_closure: function NodeValidatorBuilder_allowsAttribute_closure(t0, t1, t2) { + this.element = t0; + this.attributeName = t1; + this.value = t2; + }, + _SimpleNodeValidator: function _SimpleNodeValidator() { + }, + _SimpleNodeValidator_closure: function _SimpleNodeValidator_closure() { + }, + _SimpleNodeValidator_closure0: function _SimpleNodeValidator_closure0() { + }, + _TemplatingNodeValidator: function _TemplatingNodeValidator(t0, t1, t2, t3, t4) { + var _ = this; + _._templateAttrs = t0; + _.allowedElements = t1; + _.allowedAttributes = t2; + _.allowedUriAttributes = t3; + _.uriPolicy = t4; + }, + _TemplatingNodeValidator_closure: function _TemplatingNodeValidator_closure() { + }, + FixedSizeListIterator: function FixedSizeListIterator(t0, t1, t2) { + var _ = this; + _._array = t0; + _._length = t1; + _._position = -1; + _._current = null; + _.$ti = t2; + }, + _DOMWindowCrossFrame: function _DOMWindowCrossFrame(t0) { + this._window = t0; + }, + KeyEvent: function KeyEvent(t0, t1) { + var _ = this; + _._html$_parent = t0; + _._shadowAltKey = false; + _._shadowKeyCode = 0; + _._currentTarget = null; + _.wrapped = t1; + }, + _WrappedEvent: function _WrappedEvent() { + }, + _TrustedHtmlTreeSanitizer: function _TrustedHtmlTreeSanitizer() { + }, + _SameOriginUriPolicy: function _SameOriginUriPolicy(t0, t1) { + this._hiddenAnchor = t0; + this._loc = t1; + }, + _ValidatingTreeSanitizer: function _ValidatingTreeSanitizer(t0) { + this.validator = t0; + this.numTreeModifications = 0; + }, + _ValidatingTreeSanitizer_sanitizeTree_walk: function _ValidatingTreeSanitizer_sanitizeTree_walk(t0) { + this.$this = t0; + }, + _CssStyleDeclaration_Interceptor_CssStyleDeclarationBase: function _CssStyleDeclaration_Interceptor_CssStyleDeclarationBase() { + }, + _DomRectList_Interceptor_ListMixin: function _DomRectList_Interceptor_ListMixin() { + }, + _DomRectList_Interceptor_ListMixin_ImmutableListMixin: function _DomRectList_Interceptor_ListMixin_ImmutableListMixin() { + }, + _DomStringList_Interceptor_ListMixin: function _DomStringList_Interceptor_ListMixin() { + }, + _DomStringList_Interceptor_ListMixin_ImmutableListMixin: function _DomStringList_Interceptor_ListMixin_ImmutableListMixin() { + }, + _FileList_Interceptor_ListMixin: function _FileList_Interceptor_ListMixin() { + }, + _FileList_Interceptor_ListMixin_ImmutableListMixin: function _FileList_Interceptor_ListMixin_ImmutableListMixin() { + }, + _HtmlCollection_Interceptor_ListMixin: function _HtmlCollection_Interceptor_ListMixin() { + }, + _HtmlCollection_Interceptor_ListMixin_ImmutableListMixin: function _HtmlCollection_Interceptor_ListMixin_ImmutableListMixin() { + }, + _MidiInputMap_Interceptor_MapMixin: function _MidiInputMap_Interceptor_MapMixin() { + }, + _MidiOutputMap_Interceptor_MapMixin: function _MidiOutputMap_Interceptor_MapMixin() { + }, + _MimeTypeArray_Interceptor_ListMixin: function _MimeTypeArray_Interceptor_ListMixin() { + }, + _MimeTypeArray_Interceptor_ListMixin_ImmutableListMixin: function _MimeTypeArray_Interceptor_ListMixin_ImmutableListMixin() { + }, + _NodeList_Interceptor_ListMixin: function _NodeList_Interceptor_ListMixin() { + }, + _NodeList_Interceptor_ListMixin_ImmutableListMixin: function _NodeList_Interceptor_ListMixin_ImmutableListMixin() { + }, + _PluginArray_Interceptor_ListMixin: function _PluginArray_Interceptor_ListMixin() { + }, + _PluginArray_Interceptor_ListMixin_ImmutableListMixin: function _PluginArray_Interceptor_ListMixin_ImmutableListMixin() { + }, + _RtcStatsReport_Interceptor_MapMixin: function _RtcStatsReport_Interceptor_MapMixin() { + }, + _SourceBufferList_EventTarget_ListMixin: function _SourceBufferList_EventTarget_ListMixin() { + }, + _SourceBufferList_EventTarget_ListMixin_ImmutableListMixin: function _SourceBufferList_EventTarget_ListMixin_ImmutableListMixin() { + }, + _SpeechGrammarList_Interceptor_ListMixin: function _SpeechGrammarList_Interceptor_ListMixin() { + }, + _SpeechGrammarList_Interceptor_ListMixin_ImmutableListMixin: function _SpeechGrammarList_Interceptor_ListMixin_ImmutableListMixin() { + }, + _Storage_Interceptor_MapMixin: function _Storage_Interceptor_MapMixin() { + }, + _TextTrackCueList_Interceptor_ListMixin: function _TextTrackCueList_Interceptor_ListMixin() { + }, + _TextTrackCueList_Interceptor_ListMixin_ImmutableListMixin: function _TextTrackCueList_Interceptor_ListMixin_ImmutableListMixin() { + }, + _TextTrackList_EventTarget_ListMixin: function _TextTrackList_EventTarget_ListMixin() { + }, + _TextTrackList_EventTarget_ListMixin_ImmutableListMixin: function _TextTrackList_EventTarget_ListMixin_ImmutableListMixin() { + }, + _TouchList_Interceptor_ListMixin: function _TouchList_Interceptor_ListMixin() { + }, + _TouchList_Interceptor_ListMixin_ImmutableListMixin: function _TouchList_Interceptor_ListMixin_ImmutableListMixin() { + }, + __CssRuleList_Interceptor_ListMixin: function __CssRuleList_Interceptor_ListMixin() { + }, + __CssRuleList_Interceptor_ListMixin_ImmutableListMixin: function __CssRuleList_Interceptor_ListMixin_ImmutableListMixin() { + }, + __GamepadList_Interceptor_ListMixin: function __GamepadList_Interceptor_ListMixin() { + }, + __GamepadList_Interceptor_ListMixin_ImmutableListMixin: function __GamepadList_Interceptor_ListMixin_ImmutableListMixin() { + }, + __NamedNodeMap_Interceptor_ListMixin: function __NamedNodeMap_Interceptor_ListMixin() { + }, + __NamedNodeMap_Interceptor_ListMixin_ImmutableListMixin: function __NamedNodeMap_Interceptor_ListMixin_ImmutableListMixin() { + }, + __SpeechRecognitionResultList_Interceptor_ListMixin: function __SpeechRecognitionResultList_Interceptor_ListMixin() { + }, + __SpeechRecognitionResultList_Interceptor_ListMixin_ImmutableListMixin: function __SpeechRecognitionResultList_Interceptor_ListMixin_ImmutableListMixin() { + }, + __StyleSheetList_Interceptor_ListMixin: function __StyleSheetList_Interceptor_ListMixin() { + }, + __StyleSheetList_Interceptor_ListMixin_ImmutableListMixin: function __StyleSheetList_Interceptor_ListMixin_ImmutableListMixin() { + } + }, + D = {Archive: function Archive(t0, t1) { + this.files = t0; + this._fileMap = t1; + this.comment = null; + }, + BuiltList_BuiltList: function(iterable, $E) { + return D.BuiltList_BuiltList$from(iterable, $E); + }, + BuiltList_BuiltList$from: function(iterable, $E) { + var t1; + if (iterable instanceof D._BuiltList) { + t1 = H.createRuntimeType($E); + t1 = H.createRuntimeType(iterable.$ti._precomputed1) === t1; + } else + t1 = false; + if (t1) + return $E._eval$1("BuiltList<0>")._as(iterable); + else { + t1 = new D._BuiltList(P.List_List$from(iterable, false, $E), $E._eval$1("_BuiltList<0>")); + t1._maybeCheckForNull$0(); + return t1; + } + }, + BuiltList_BuiltList$of: function(iterable, $E) { + var t1; + if ($E._eval$1("_BuiltList<0>")._is(iterable)) { + t1 = H.createRuntimeType($E); + t1 = H.createRuntimeType(iterable.$ti._precomputed1) === t1; + } else + t1 = false; + if (t1) + return iterable; + else + return D._BuiltList$of(iterable, $E); + }, + _BuiltList$of: function(iterable, $E) { + var t1 = new D._BuiltList(P.List_List$from(iterable, false, $E), $E._eval$1("_BuiltList<0>")); + t1._maybeCheckForNull$0(); + return t1; + }, + BuiltListIterableExtension_toBuiltList: function(_this, $E) { + return D.BuiltList_BuiltList$of(_this, $E); + }, + ListBuilder_ListBuilder: function(iterable, $E) { + var t1 = new D.ListBuilder($E._eval$1("ListBuilder<0>")); + t1.replace$1(0, iterable); + return t1; + }, + BuiltList: function BuiltList() { + }, + _BuiltList: function _BuiltList(t0, t1) { + this._list = t0; + this._list$_hashCode = null; + this.$ti = t1; + }, + ListBuilder: function ListBuilder(t0) { + this.__ListBuilder__list = $; + this._listOwner = null; + this.$ti = t0; + }, + DoubleSerializer: function DoubleSerializer(t0) { + this.types = t0; + }, + Success: function Success(t0, t1, t2, t3) { + var _ = this; + _.value = t0; + _.buffer = t1; + _.position = t2; + _.$ti = t3; + }, + ListParser: function ListParser() { + }, + PredicateStringExtension_toParser: function(_this) { + var t1 = _this.length; + if (t1 === 0) + return new E.EpsilonParser(_this, type$.EpsilonParser_String); + else if (t1 === 1) { + t1 = G.char(_this, null); + return t1; + } else { + t1 = D.string(_this, null); + return t1; + } + }, + string: function(element, message) { + var t1 = element + " expected"; + return new Z.PredicateParser(element.length, new D.string_closure(element), t1); + }, + string_closure: function string_closure(t0) { + this.element = t0; + }, + PBKDF2KeyDerivator: function PBKDF2KeyDerivator(t0) { + this.__PBKDF2KeyDerivator__params = $; + this._mac = t0; + this.__PBKDF2KeyDerivator__state = $; + }, + insertion_deletion_reducer: function(strand, action) { + var domain, found, t1, t2, t3, dom_idx, t4, substrands; + type$.legacy_Strand._as(strand); + type$.legacy_InsertionOrDeletionAction._as(action); + domain = action.get$domain(action); + t1 = strand.substrands; + t2 = t1._list; + t3 = J.get$iterator$ax(t2); + dom_idx = 0; + while (true) { + if (!t3.moveNext$0()) { + found = false; + break; + } + t4 = t3.get$current(t3); + if (t4 instanceof G.Domain && t4.helix === domain.helix && t4.forward === domain.forward && t4.start === domain.start && t4.end === domain.end) { + found = true; + break; + } + ++dom_idx; + } + if (!found) { + P.print("WARNING: could not find domain " + H.S(domain) + " on strand substrands: " + t1.toString$0(0) + " when implementing action " + action.toString$0(0)); + return strand; + } + t1 = H._instanceType(t1); + substrands = new Q.CopyOnWriteList(true, t2, t1._eval$1("CopyOnWriteList<1>")); + t1 = t1._precomputed1._as($.$get$insertion_deletion_domain_reducer().call$2(domain, action)); + substrands._copy_on_write_list$_maybeCopyBeforeWrite$0(); + J.$indexSet$ax(substrands._copy_on_write_list$_list, dom_idx, t1); + return strand.rebuild$1(new D.insertion_deletion_reducer_closure(substrands)); + }, + insertion_add_reducer: function(domain, action) { + var t1, t2, insertions, t3; + type$.legacy_Domain._as(domain); + type$.legacy_InsertionAdd._as(action); + t1 = domain.insertions; + t2 = t1._list; + t1 = H._instanceType(t1); + insertions = new Q.CopyOnWriteList(true, t2, t1._eval$1("CopyOnWriteList<1>")); + t3 = H.setRuntimeTypeInfo([], type$.JSArray_legacy_int); + for (t2 = J.get$iterator$ax(t2); t2.moveNext$0();) + t3.push(t2.get$current(t2).offset); + t2 = action.offset; + if (!C.JSArray_methods.contains$1(t3, t2)) { + t1 = t1._precomputed1._as(G.Insertion_Insertion(t2, 1)); + insertions._copy_on_write_list$_maybeCopyBeforeWrite$0(); + J.add$1$ax(insertions._copy_on_write_list$_list, t1); + insertions.sort$1(0, new D.insertion_add_reducer_closure()); + } + return domain.rebuild$1(new D.insertion_add_reducer_closure0(insertions)); + }, + insertion_remove_reducer: function(domain, action) { + var t1, insertions; + type$.legacy_Domain._as(domain); + type$.legacy_InsertionRemove._as(action); + t1 = domain.insertions; + insertions = new Q.CopyOnWriteList(true, t1._list, H._instanceType(t1)._eval$1("CopyOnWriteList<1>")); + t1 = action.insertion; + insertions._copy_on_write_list$_maybeCopyBeforeWrite$0(); + J.remove$1$ax(insertions._copy_on_write_list$_list, t1); + return domain.rebuild$1(new D.insertion_remove_reducer_closure(insertions)); + }, + deletion_add_reducer: function(domain, action) { + var t1, t2, deletions, t3; + type$.legacy_Domain._as(domain); + type$.legacy_DeletionAdd._as(action); + t1 = domain.deletions; + t2 = t1._list; + t1 = H._instanceType(t1); + deletions = new Q.CopyOnWriteList(true, t2, t1._eval$1("CopyOnWriteList<1>")); + t3 = action.offset; + if (!J.contains$1$asx(t2, t3)) { + t1._precomputed1._as(t3); + deletions._copy_on_write_list$_maybeCopyBeforeWrite$0(); + J.add$1$ax(deletions._copy_on_write_list$_list, t3); + deletions.sort$0(0); + } + return domain.rebuild$1(new D.deletion_add_reducer_closure(deletions)); + }, + deletion_remove_reducer: function(domain, action) { + var t1, deletions; + type$.legacy_Domain._as(domain); + type$.legacy_DeletionRemove._as(action); + t1 = domain.deletions; + deletions = new Q.CopyOnWriteList(true, t1._list, H._instanceType(t1)._eval$1("CopyOnWriteList<1>")); + t1 = action.offset; + deletions._copy_on_write_list$_maybeCopyBeforeWrite$0(); + J.remove$1$ax(deletions._copy_on_write_list$_list, t1); + return domain.rebuild$1(new D.deletion_remove_reducer_closure(deletions)); + }, + insertion_length_change_reducer: function(domain, action) { + var t1, t2, insertions, t3, idx; + type$.legacy_Domain._as(domain); + type$.legacy_InsertionLengthChange._as(action); + t1 = domain.insertions; + t2 = t1._list; + t1 = H._instanceType(t1); + insertions = new Q.CopyOnWriteList(true, t2, t1._eval$1("CopyOnWriteList<1>")); + t1 = t1._precomputed1; + t3 = t1._as(action.insertion); + idx = J.indexOf$2$asx(t2, t3, 0); + t3 = t1._as(t3.rebuild$1(new D.insertion_length_change_reducer_closure(action))); + insertions._copy_on_write_list$_maybeCopyBeforeWrite$0(); + J.$indexSet$ax(insertions._copy_on_write_list$_list, idx, t3); + return domain.rebuild$1(new D.insertion_length_change_reducer_closure0(insertions)); + }, + insertions_length_change_reducer: function(strands, state, action) { + var insertions_on_strand_id_domain, t1, t2, t3, t4, t5, t6, i, t7, insertion, domain, strand_id, insertions_on_domain, strands_builder, t8, t9, t10, t11, t12, t13, strand, strand_idx, substrands, insertions_on_domains, insertions_to_change, t14, t15, existing_insertions, t16, idx, t17, t18, new_domain, domain_idx, new_strand; + type$.legacy_BuiltList_legacy_Strand._as(strands); + type$.legacy_AppState._as(state); + type$.legacy_InsertionsLengthChange._as(action); + insertions_on_strand_id_domain = P.LinkedHashMap_LinkedHashMap$_empty(type$.legacy_String, type$.legacy_Map_of_legacy_Domain_and_legacy_List_legacy_Insertion); + t1 = action.insertions._list; + t2 = J.getInterceptor$asx(t1); + t3 = action.domains; + t4 = type$.legacy_Domain; + t5 = type$.legacy_List_legacy_Insertion; + t6 = type$.JSArray_legacy_Insertion; + i = 0; + while (true) { + t7 = t2.get$length(t1); + if (typeof t7 !== "number") + return H.iae(t7); + if (!(i < t7)) + break; + insertion = t2.$index(t1, i); + domain = J.$index$asx(t3._list, i); + strand_id = domain.strand_id; + if (!insertions_on_strand_id_domain.containsKey$1(0, strand_id)) + insertions_on_strand_id_domain.$indexSet(0, strand_id, P.LinkedHashMap_LinkedHashMap$_empty(t4, t5)); + insertions_on_domain = insertions_on_strand_id_domain.$index(0, strand_id); + if (!insertions_on_domain.containsKey$1(0, domain)) + insertions_on_domain.$indexSet(0, domain, H.setRuntimeTypeInfo([], t6)); + J.add$1$ax(insertions_on_domain.$index(0, domain), insertion); + ++i; + } + strands.toString; + t1 = strands.$ti._precomputed1; + strands_builder = D.ListBuilder_ListBuilder(strands, t1); + for (t2 = insertions_on_strand_id_domain.get$keys(insertions_on_strand_id_domain), t2 = t2.get$iterator(t2), t3 = strands_builder.$ti, t4 = t3._precomputed1, t5 = type$.legacy_void_Function_legacy_StrandBuilder, t6 = type$.legacy_void_Function_legacy_DomainBuilder, t7 = type$.legacy_void_Function_legacy_InsertionBuilder, t8 = strands._list, t9 = J.getInterceptor$asx(t8), t10 = !t4._is(null), t3 = t3._eval$1("List<1>"); t2.moveNext$0();) { + t11 = t2.get$current(t2); + t12 = state.design; + t13 = t12.__strands_by_id; + if (t13 == null) { + t13 = N.Design.prototype.get$strands_by_id.call(t12); + t12.set$__strands_by_id(t13); + t12 = t13; + } else + t12 = t13; + strand = J.$index$asx(t12._map$_map, t11); + strand_idx = t9.indexOf$2(t8, t1._as(strand), 0); + t12 = strand.substrands; + t13 = H._instanceType(t12); + substrands = new Q.CopyOnWriteList(true, t12._list, t13._eval$1("CopyOnWriteList<1>")); + insertions_on_domains = insertions_on_strand_id_domain.$index(0, t11); + for (t11 = insertions_on_domains.get$keys(insertions_on_domains), t11 = t11.get$iterator(t11), t13 = t13._precomputed1; t11.moveNext$0();) { + t12 = t11.get$current(t11); + insertions_to_change = insertions_on_domains.$index(0, t12); + t14 = t12.insertions; + t15 = H._instanceType(t14); + existing_insertions = new Q.CopyOnWriteList(true, t14._list, t15._eval$1("CopyOnWriteList<1>")); + for (t14 = J.get$iterator$ax(insertions_to_change), t15 = t15._precomputed1; t14.moveNext$0();) { + t16 = t14.get$current(t14); + t15._as(t16); + idx = J.indexOf$2$asx(existing_insertions._copy_on_write_list$_list, t16, 0); + t16.toString; + t17 = t7._as(new D.insertions_length_change_reducer_closure(action)); + t18 = new G.InsertionBuilder(); + t18._domain$_$v = t16; + t17.call$1(t18); + t16 = t15._as(t18.build$0()); + existing_insertions._copy_on_write_list$_maybeCopyBeforeWrite$0(); + J.$indexSet$ax(existing_insertions._copy_on_write_list$_list, idx, t16); + } + t14 = t6._as(new D.insertions_length_change_reducer_closure0(existing_insertions)); + t15 = new G.DomainBuilder(); + t15._domain$_$v = t12; + t14.call$1(t15); + new_domain = t15.build$0(); + t13._as(t12); + domain_idx = J.indexOf$2$asx(substrands._copy_on_write_list$_list, t12, 0); + t13._as(new_domain); + substrands._copy_on_write_list$_maybeCopyBeforeWrite$0(); + J.$indexSet$ax(substrands._copy_on_write_list$_list, domain_idx, new_domain); + } + t11 = t5._as(new D.insertions_length_change_reducer_closure1(substrands)); + t12 = new E.StrandBuilder(); + t12._strand$_$v = strand; + t11.call$1(t12); + new_strand = t12.build$0(); + strand = new_strand._rebuild_substrands_with_new_fields_based_on_strand$1(new_strand._rebuild_substrands_with_new_dna_sequences_based_on_strand$1(new_strand)); + if (J.get$length$asx(new_strand.substrands._list) === 1) { + t11 = new_strand.__first_domain; + if (t11 == null) + t11 = new_strand.__first_domain = E.Strand.prototype.get$first_domain.call(new_strand); + t11.toString; + } + new_strand.check_two_consecutive_loopouts$0(); + new_strand.check_loopouts_length$0(); + new_strand.check_at_least_one_domain$0(); + new_strand.check_only_at_ends$0(); + new_strand.check_not_adjacent_to_loopout$0(); + t4._as(strand); + if (!$.$get$isSoundMode() && t10) + if (strand == null) + H.throwExpression(P.ArgumentError$("null element")); + if (strands_builder._listOwner != null) { + t11 = strands_builder.__ListBuilder__list; + strands_builder.set$__ListBuilder__list(t3._as(P.List_List$from(t11 === $ ? H.throwExpression(H.LateError$fieldNI("_list")) : t11, true, t4))); + strands_builder.set$_listOwner(null); + } + t11 = strands_builder.__ListBuilder__list; + J.$indexSet$ax(t11 === $ ? H.throwExpression(H.LateError$fieldNI("_list")) : t11, strand_idx, strand); + } + return strands_builder.build$0(); + }, + insertion_deletion_reducer_closure: function insertion_deletion_reducer_closure(t0) { + this.substrands = t0; + }, + insertion_add_reducer_closure: function insertion_add_reducer_closure() { + }, + insertion_add_reducer_closure0: function insertion_add_reducer_closure0(t0) { + this.insertions = t0; + }, + insertion_remove_reducer_closure: function insertion_remove_reducer_closure(t0) { + this.insertions = t0; + }, + deletion_add_reducer_closure: function deletion_add_reducer_closure(t0) { + this.deletions = t0; + }, + deletion_remove_reducer_closure: function deletion_remove_reducer_closure(t0) { + this.deletions = t0; + }, + insertion_length_change_reducer_closure: function insertion_length_change_reducer_closure(t0) { + this.action = t0; + }, + insertion_length_change_reducer_closure0: function insertion_length_change_reducer_closure0(t0) { + this.insertions = t0; + }, + insertions_length_change_reducer_closure: function insertions_length_change_reducer_closure(t0) { + this.action = t0; + }, + insertions_length_change_reducer_closure0: function insertions_length_change_reducer_closure0(t0) { + this.existing_insertions = t0; + }, + insertions_length_change_reducer_closure1: function insertions_length_change_reducer_closure1(t0) { + this.substrands = t0; + }, + currently_selectable: function(state, item) { + var t2, + t1 = state.ui_state.storables, + edit_modes = t1.edit_modes, + select_modes = t1.select_mode_state.modes; + t1 = edit_modes._set; + if (!(t1.contains$1(0, C.EditModeChoice_select) || t1.contains$1(0, C.EditModeChoice_rope_select))) + return false; + t1 = item.get$select_mode(); + t2 = select_modes._set; + if (!t2.contains$1(0, t1)) + return false; + if (state.design.get$is_origami()) { + if (item.get$is_scaffold() && !t2.contains$1(0, C.SelectModeChoice_scaffold)) + return false; + if (!item.get$is_scaffold() && !t2.contains$1(0, C.SelectModeChoice_staple)) + return false; + } + return true; + }, + select_reducer: function(selectables_store, state, action) { + var item, toggle; + type$.legacy_SelectablesStore._as(selectables_store); + type$.legacy_AppState._as(state); + type$.legacy_Select._as(action); + item = action.selectable; + if (!D.currently_selectable(state, item)) + return selectables_store; + toggle = action.toggle; + if (action.only) + selectables_store = selectables_store.select$2$only(0, item, true); + else + selectables_store = toggle ? selectables_store.toggle$1(0, item) : selectables_store.select$1(0, item); + return selectables_store; + }, + select_all_selectables_reducer: function(selectables_store, state, action) { + var t1, t2, scaffold_selectable, staple_selectable, t3, selected, t4, t5, t6, t7, t8, t9, t10; + type$.legacy_SelectablesStore._as(selectables_store); + type$.legacy_AppState._as(state); + type$.legacy_SelectAllSelectable._as(action); + t1 = state.ui_state.storables; + t2 = t1.select_mode_state.modes._set; + scaffold_selectable = t2.contains$1(0, C.SelectModeChoice_scaffold); + staple_selectable = t2.contains$1(0, C.SelectModeChoice_staple); + t3 = type$.JSArray_legacy_Selectable; + selected = H.setRuntimeTypeInfo([], t3); + for (t4 = state.design, t5 = J.get$iterator$ax(t4.strands._list); t5.moveNext$0();) { + t6 = t5.get$current(t5); + if (action.current_helix_group_only && t4.group_name_of_strand$1(t6) !== t1.displayed_group_name) + continue; + t7 = t4.__is_origami; + if (t7 == null ? t4.__is_origami = N.Design.prototype.get$is_origami.call(t4) : t7) { + t7 = t6.is_scaffold; + if (!(t7 && scaffold_selectable)) + t7 = !t7 && staple_selectable; + else + t7 = true; + } else + t7 = true; + if (t7) { + if (t2.contains$1(0, C.SelectModeChoice_strand)) + C.JSArray_methods.add$1(selected, t6); + if (t2.contains$1(0, C.SelectModeChoice_loopout)) { + t7 = t6.__loopouts; + if (t7 == null) { + t7 = E.Strand.prototype.get$loopouts.call(t6); + t6.set$__loopouts(t7); + } + C.JSArray_methods.addAll$1(selected, t7); + } + if (t2.contains$1(0, C.SelectModeChoice_extension_)) { + t7 = t6.__extensions; + if (t7 == null) { + t7 = E.Strand.prototype.get$extensions.call(t6, t6); + t6.set$__extensions(t7); + } + C.JSArray_methods.addAll$1(selected, t7); + } + if (t2.contains$1(0, C.SelectModeChoice_crossover)) { + t7 = t6.__crossovers; + if (t7 == null) { + t7 = E.Strand.prototype.get$crossovers.call(t6); + t6.set$__crossovers(t7); + } + C.JSArray_methods.addAll$1(selected, t7); + } + if (t2.contains$1(0, C.SelectModeChoice_deletion)) { + t7 = t6.__selectable_deletions; + if (t7 == null) { + t7 = E.Strand.prototype.get$selectable_deletions.call(t6); + t6.set$__selectable_deletions(t7); + } + C.JSArray_methods.addAll$1(selected, t7); + } + if (t2.contains$1(0, C.SelectModeChoice_insertion)) { + t7 = t6.__selectable_insertions; + if (t7 == null) { + t7 = E.Strand.prototype.get$selectable_insertions.call(t6); + t6.set$__selectable_insertions(t7); + } + C.JSArray_methods.addAll$1(selected, t7); + } + if (t2.contains$1(0, C.SelectModeChoice_modification)) { + t7 = t6.__selectable_modifications; + if (t7 == null) { + t7 = E.Strand.prototype.get$selectable_modifications.call(t6); + t6.set$__selectable_modifications(t7); + } + C.JSArray_methods.addAll$1(selected, t7); + } + if (t2.contains$1(0, C.SelectModeChoice_end_5p_strand)) { + t7 = H.setRuntimeTypeInfo([], t3); + t8 = t6.__extensions; + if (t8 == null) { + t8 = E.Strand.prototype.get$extensions.call(t6, t6); + t6.set$__extensions(t8); + } + t8 = J.get$iterator$ax(t8._list); + for (; t8.moveNext$0();) { + t9 = t8.get$current(t8); + if (H.boolConversionCheck(t9.is_5p)) { + t10 = t9.__dnaend_free; + t7.push(t10 == null ? t9.__dnaend_free = S.Extension.prototype.get$dnaend_free.call(t9) : t10); + } + } + t8 = t6.__domains; + if (t8 == null) { + t8 = E.Strand.prototype.get$domains.call(t6); + t6.set$__domains(t8); + } + t8 = J.get$iterator$ax(t8._list); + for (; t8.moveNext$0();) { + t9 = t8.get$current(t8); + if (t9.is_first) { + if (t9.forward) { + t10 = t9.__dnaend_start; + if (t10 == null) { + t10 = G.Domain.prototype.get$dnaend_start.call(t9); + t9.__dnaend_start = t10; + t9 = t10; + } else + t9 = t10; + } else { + t10 = t9.__dnaend_end; + if (t10 == null) { + t10 = G.Domain.prototype.get$dnaend_end.call(t9); + t9.__dnaend_end = t10; + t9 = t10; + } else + t9 = t10; + } + t7.push(t9); + } + } + C.JSArray_methods.addAll$1(selected, t7); + } + if (t2.contains$1(0, C.SelectModeChoice_end_3p_strand)) { + t7 = H.setRuntimeTypeInfo([], t3); + t8 = t6.__extensions; + if (t8 == null) { + t8 = E.Strand.prototype.get$extensions.call(t6, t6); + t6.set$__extensions(t8); + } + t8 = J.get$iterator$ax(t8._list); + for (; t8.moveNext$0();) { + t9 = t8.get$current(t8); + if (!H.boolConversionCheck(t9.is_5p)) { + t10 = t9.__dnaend_free; + t7.push(t10 == null ? t9.__dnaend_free = S.Extension.prototype.get$dnaend_free.call(t9) : t10); + } + } + t8 = t6.__domains; + if (t8 == null) { + t8 = E.Strand.prototype.get$domains.call(t6); + t6.set$__domains(t8); + } + t8 = J.get$iterator$ax(t8._list); + for (; t8.moveNext$0();) { + t9 = t8.get$current(t8); + if (t9.is_last) { + if (t9.forward) { + t10 = t9.__dnaend_end; + if (t10 == null) { + t10 = G.Domain.prototype.get$dnaend_end.call(t9); + t9.__dnaend_end = t10; + t9 = t10; + } else + t9 = t10; + } else { + t10 = t9.__dnaend_start; + if (t10 == null) { + t10 = G.Domain.prototype.get$dnaend_start.call(t9); + t9.__dnaend_start = t10; + t9 = t10; + } else + t9 = t10; + } + t7.push(t9); + } + } + C.JSArray_methods.addAll$1(selected, t7); + } + if (t2.contains$1(0, C.SelectModeChoice_end_5p_domain)) { + t7 = t6.__domains; + if (t7 == null) { + t7 = E.Strand.prototype.get$domains.call(t6); + t6.set$__domains(t7); + } + t7 = J.where$1$ax(t7._list, t7.$ti._eval$1("bool(1)")._as(new D.select_all_selectables_reducer_closure())); + t8 = t7.$ti; + C.JSArray_methods.addAll$1(selected, new H.MappedIterable(t7, t8._eval$1("Selectable*(1)")._as(new D.select_all_selectables_reducer_closure0()), t8._eval$1("MappedIterable<1,Selectable*>"))); + } + if (t2.contains$1(0, C.SelectModeChoice_end_3p_domain)) { + t7 = t6.__domains; + if (t7 == null) { + t7 = E.Strand.prototype.get$domains.call(t6); + t6.set$__domains(t7); + t6 = t7; + } else + t6 = t7; + t6 = J.where$1$ax(t6._list, t6.$ti._eval$1("bool(1)")._as(new D.select_all_selectables_reducer_closure1())); + t7 = t6.$ti; + C.JSArray_methods.addAll$1(selected, new H.MappedIterable(t6, t7._eval$1("Selectable*(1)")._as(new D.select_all_selectables_reducer_closure2()), t7._eval$1("MappedIterable<1,Selectable*>"))); + } + } + } + return selectables_store.select_all$1(selected); + }, + select_or_toggle_items_reducer: function(selectables_store, state, action) { + var t1, t2; + type$.legacy_SelectablesStore._as(selectables_store); + type$.legacy_AppState._as(state); + type$.legacy_SelectOrToggleItems._as(action); + t1 = action.toggle; + t2 = action.items; + return t1 ? selectables_store.toggle_all$1(t2) : selectables_store.select_all$1(t2); + }, + design_changing_action_reducer: function(selectables_store, action) { + var t1; + type$.legacy_SelectablesStore._as(selectables_store); + type$.legacy_DesignChangingAction._as(action); + t1 = selectables_store.clear$0(0); + return t1; + }, + select_all_reducer: function(selectables_store, action) { + type$.legacy_SelectablesStore._as(selectables_store); + type$.legacy_SelectAll._as(action); + return selectables_store.select_all$2$only(action.selectables, action.only); + }, + selections_clear_reducer: function(selectables_store, _) { + return type$.legacy_SelectablesStore._as(selectables_store).clear$0(0); + }, + select_all_with_same_reducer: function(selectables_store, state, action) { + var t1, t2, t3, t4, t5, t6, t7, t8, t9, selected_strands, include_strand, trait_values_selected, trait_value_strand, found_matching_trait, _i; + type$.legacy_SelectablesStore._as(selectables_store); + type$.legacy_AppState._as(state); + type$.legacy_SelectAllWithSameAsSelected._as(action); + t1 = P.LinkedHashMap_LinkedHashMap$_empty(type$.legacy_SelectableTrait, type$.legacy_List_legacy_Object); + for (t2 = action.traits._list, t3 = J.getInterceptor$ax(t2), t4 = t3.get$iterator(t2), t5 = type$.JSArray_legacy_Object; t4.moveNext$0();) + t1.$indexSet(0, t4.get$current(t4), H.setRuntimeTypeInfo([], t5)); + for (t4 = J.get$iterator$ax(action.templates._list), t5 = type$.legacy_Strand; t4.moveNext$0();) { + t6 = t4.get$current(t4); + for (t7 = t3.get$iterator(t2); t7.moveNext$0();) { + t8 = t7.get$current(t7); + t9 = t1.$index(0, t8); + (t9 && C.JSArray_methods).add$1(t9, t8.trait_of_strand$1(t5._as(t6))); + } + } + selected_strands = selectables_store.get$selected_strands()._set.toList$1$growable(0, true); + for (t2 = J.get$iterator$ax(state.design.strands._list), t3 = action.exclude_scaffolds; t2.moveNext$0();) { + t4 = t2.get$current(t2); + if (C.JSArray_methods.contains$1(selected_strands, t4)) + continue; + if (t3 && t4.is_scaffold) + continue; + for (t5 = t1.get$keys(t1), t5 = t5.get$iterator(t5), include_strand = true; t5.moveNext$0();) { + t6 = t5.get$current(t5); + trait_values_selected = t1.$index(0, t6); + trait_value_strand = t6.trait_of_strand$1(t4); + t7 = trait_values_selected.length; + _i = 0; + while (true) { + if (!(_i < trait_values_selected.length)) { + found_matching_trait = false; + break; + } + if (t6.matches$2(0, trait_value_strand, trait_values_selected[_i])) { + found_matching_trait = true; + break; + } + trait_values_selected.length === t7 || (0, H.throwConcurrentModificationError)(trait_values_selected); + ++_i; + } + if (!found_matching_trait) { + include_strand = false; + continue; + } + } + if (include_strand) + C.JSArray_methods.add$1(selected_strands, t4); + } + return selectables_store.rebuild$1(new D.select_all_with_same_reducer_closure(selected_strands)); + }, + helix_selections_adjust_reducer: function(helix_idxs_selected, state, action) { + var toggle, selection_box, all_helices_in_displayed_group, all_bboxes, t1, t2, t3, selection_box_as_box, helices_overlapping, helix_idxs_overlapping, helices_idxs_selected_new, _i, idx_overlapping; + type$.legacy_BuiltSet_legacy_int._as(helix_idxs_selected); + type$.legacy_AppState._as(state); + type$.legacy_HelixSelectionsAdjust._as(action); + toggle = action.toggle; + selection_box = action.selection_box; + all_helices_in_displayed_group = state.design.helices_in_group$1(state.ui_state.storables.displayed_group_name); + all_bboxes = J.map$1$1$ax(all_helices_in_displayed_group.get$values(all_helices_in_displayed_group), new D.helix_selections_adjust_reducer_closure(state), type$.legacy_Box).toList$0(0); + t1 = selection_box.start; + t2 = selection_box.current; + t3 = Math.min(H.checkNum(t1.x), H.checkNum(t2.x)); + t2 = Math.min(H.checkNum(t1.y), H.checkNum(t2.y)); + t1 = selection_box.get$width(selection_box); + selection_box_as_box = Q.Box$(t3, t2, selection_box.get$height(selection_box), t1); + helices_overlapping = Q.generalized_intersection_list(all_helices_in_displayed_group.get$values(all_helices_in_displayed_group), all_bboxes, selection_box_as_box, Q.selections_intersect_box_compute__interval_contained$closure(), type$.legacy_Helix); + t1 = H._arrayInstanceType(helices_overlapping); + t2 = t1._eval$1("MappedListIterable<1,int*>"); + helix_idxs_overlapping = P.List_List$of(new H.MappedListIterable(helices_overlapping, t1._eval$1("int*(1)")._as(new D.helix_selections_adjust_reducer_closure0()), t2), true, t2._eval$1("ListIterable.E")); + helix_idxs_selected.toString; + t2 = helix_idxs_selected.$ti; + t2._eval$1("_BuiltSet<1>")._as(helix_idxs_selected); + t1 = helix_idxs_selected._set; + helices_idxs_selected_new = new X.SetBuilder(helix_idxs_selected._setFactory, t1, helix_idxs_selected, t2._eval$1("SetBuilder<1>")); + helices_idxs_selected_new.addAll$1(0, helix_idxs_overlapping); + if (toggle) + for (t2 = helix_idxs_overlapping.length, _i = 0; _i < helix_idxs_overlapping.length; helix_idxs_overlapping.length === t2 || (0, H.throwConcurrentModificationError)(helix_idxs_overlapping), ++_i) { + idx_overlapping = helix_idxs_overlapping[_i]; + if (t1.contains$1(0, idx_overlapping)) + helices_idxs_selected_new.get$_safeSet().remove$1(0, idx_overlapping); + } + return helices_idxs_selected_new.build$0(); + }, + helix_select_reducer: function(side_selected_helix_idxs, action) { + var idx, toggle; + type$.legacy_BuiltSet_legacy_int._as(side_selected_helix_idxs); + type$.legacy_HelixSelect._as(action); + idx = action.helix_idx; + toggle = action.toggle; + if (!side_selected_helix_idxs._set.contains$1(0, idx)) + side_selected_helix_idxs = side_selected_helix_idxs.rebuild$1(new D.helix_select_reducer_closure(idx)); + else if (toggle) + side_selected_helix_idxs = side_selected_helix_idxs.rebuild$1(new D.helix_select_reducer_closure0(idx)); + return side_selected_helix_idxs; + }, + helices_selected_clear_reducer: function(_, action) { + type$.legacy_BuiltSet_legacy_int._as(_); + type$.legacy_HelixSelectionsClear._as(action); + return X.BuiltSet_BuiltSet$from(C.List_empty, type$.legacy_int); + }, + helices_remove_all_selected_reducer: function(_, action) { + type$.legacy_BuiltSet_legacy_int._as(_); + type$.legacy_HelixRemoveAllSelected._as(action); + return X.BuiltSet_BuiltSet$from(C.List_empty, type$.legacy_int); + }, + helix_remove_selected_reducer: function(selected_helices, action) { + return type$.legacy_BuiltSet_legacy_int._as(selected_helices).rebuild$1(new D.helix_remove_selected_reducer_closure(type$.legacy_HelixRemove._as(action))); + }, + selection_box_create_reducer: function(_, action) { + type$.legacy_SelectionBox._as(_); + type$.legacy_SelectionBoxCreate._as(action); + return E.SelectionBox_SelectionBox(action.point, action.toggle, action.is_main); + }, + selection_box_size_changed_reducer: function(selection_box, action) { + var t1, t2; + type$.legacy_SelectionBox._as(selection_box); + type$.legacy_SelectionBoxSizeChange._as(action); + selection_box.toString; + t1 = type$.legacy_void_Function_legacy_SelectionBoxBuilder._as(new D.selection_box_size_changed_reducer_closure(action)); + t2 = new E.SelectionBoxBuilder(); + t2._selection_box$_$v = selection_box; + t1.call$1(t2); + return t2.build$0(); + }, + selection_box_remove_reducer: function(_, __) { + type$.legacy_SelectionBox._as(_); + type$.legacy_SelectionBoxRemove._as(__); + return null; + }, + selection_rope_create_reducer: function(_, action) { + type$.legacy_SelectionRope._as(_); + return F.SelectionRope_SelectionRope(type$.legacy_SelectionRopeCreate._as(action).toggle); + }, + selection_rope_mouse_move_reducer: function(rope, action) { + type$.legacy_SelectionRope._as(rope); + type$.legacy_SelectionRopeMouseMove._as(action); + if (rope.is_main == null) + rope = rope.rebuild$1(new D.selection_rope_mouse_move_reducer_closure(action)); + if (rope.is_main !== action.is_main_view) + return rope; + return rope.rebuild$1(new D.selection_rope_mouse_move_reducer_closure0(action)); + }, + selection_rope_add_point_reducer: function(rope, action) { + var t1, t2, points; + type$.legacy_SelectionRope._as(rope); + type$.legacy_SelectionRopeAddPoint._as(action); + if (rope.is_main == null) + rope = rope.rebuild$1(new D.selection_rope_add_point_reducer_closure(action)); + if (rope.is_main !== action.is_main_view) + return rope; + t1 = rope.points; + t2 = t1._list; + t1 = H._instanceType(t1); + points = new Q.CopyOnWriteList(true, t2, t1._eval$1("CopyOnWriteList<1>")); + t2 = J.get$length$asx(t2); + if (typeof t2 !== "number") + return t2.$le(); + if (t2 <= 1 || !rope.creates_self_intersection$1(action.point)) { + t1 = t1._precomputed1._as(action.point); + points._copy_on_write_list$_maybeCopyBeforeWrite$0(); + J.add$1$ax(points._copy_on_write_list$_list, t1); + rope = rope.rebuild$1(new D.selection_rope_add_point_reducer_closure0(points)); + } + return rope; + }, + selection_rope_remove_reducer: function(_, __) { + type$.legacy_SelectionRope._as(_); + type$.legacy_SelectionRopeRemove._as(__); + return null; + }, + select_all_selectables_reducer_closure: function select_all_selectables_reducer_closure() { + }, + select_all_selectables_reducer_closure0: function select_all_selectables_reducer_closure0() { + }, + select_all_selectables_reducer_closure1: function select_all_selectables_reducer_closure1() { + }, + select_all_selectables_reducer_closure2: function select_all_selectables_reducer_closure2() { + }, + select_all_with_same_reducer_closure: function select_all_with_same_reducer_closure(t0) { + this.selected_strands = t0; + }, + helix_selections_adjust_reducer_closure: function helix_selections_adjust_reducer_closure(t0) { + this.state = t0; + }, + helix_selections_adjust_reducer_closure0: function helix_selections_adjust_reducer_closure0() { + }, + helix_select_reducer_closure: function helix_select_reducer_closure(t0) { + this.idx = t0; + }, + helix_select_reducer_closure0: function helix_select_reducer_closure0(t0) { + this.idx = t0; + }, + helix_remove_selected_reducer_closure: function helix_remove_selected_reducer_closure(t0) { + this.action = t0; + }, + selection_box_size_changed_reducer_closure: function selection_box_size_changed_reducer_closure(t0) { + this.action = t0; + }, + selection_rope_mouse_move_reducer_closure: function selection_rope_mouse_move_reducer_closure(t0) { + this.action = t0; + }, + selection_rope_mouse_move_reducer_closure0: function selection_rope_mouse_move_reducer_closure0(t0) { + this.action = t0; + }, + selection_rope_add_point_reducer_closure: function selection_rope_add_point_reducer_closure(t0) { + this.action = t0; + }, + selection_rope_add_point_reducer_closure0: function selection_rope_add_point_reducer_closure0(t0) { + this.points = t0; + }, + strands_move_start_reducer: function(_, state, action) { + var t1, t2, t3, t4, t5, t6; + type$.legacy_StrandsMove._as(_); + type$.legacy_AppState._as(state); + type$.legacy_StrandsMoveStart._as(action); + t1 = action.strands; + t2 = state.design; + t3 = t2.strands; + t4 = t2.helices; + t2 = t2.groups; + t5 = action.original_helices_view_order_inverse; + t6 = action.address; + return U.StrandsMove_StrandsMove(t3, action.copy, t2, t4, state.ui_state.storables.strand_paste_keep_color, t6, t5, t1); + }, + strands_move_start_selected_strands_reducer: function(_, state, action) { + var t1, t2, selected_strands, t3, t4, t5, t6; + type$.legacy_StrandsMove._as(_); + type$.legacy_AppState._as(state); + type$.legacy_StrandsMoveStartSelectedStrands._as(action); + t1 = state.ui_state; + t2 = t1.selectables_store.selected_items; + t2.toString; + selected_strands = D.BuiltList_BuiltList$from(t2._set.where$1(0, t2.$ti._eval$1("bool(1)")._as(new D.strands_move_start_selected_strands_reducer_closure())), type$.legacy_Strand); + t2 = state.design; + t3 = t2.strands; + t4 = t2.helices; + t2 = t2.groups; + t5 = action.original_helices_view_order_inverse; + t6 = action.address; + return U.StrandsMove_StrandsMove(t3, action.copy, t2, t4, t1.storables.strand_paste_keep_color, t6, t5, selected_strands); + }, + strands_move_stop_reducer: function(strands_move, action) { + type$.legacy_StrandsMove._as(strands_move); + type$.legacy_StrandsMoveStop._as(action); + return null; + }, + strands_adjust_address_reducer: function(strands_move, state, action) { + var new_strands_move, t1; + type$.legacy_StrandsMove._as(strands_move); + type$.legacy_AppState._as(state); + new_strands_move = strands_move.rebuild$1(new D.strands_adjust_address_reducer_closure(type$.legacy_StrandsMoveAdjustAddress._as(action))); + t1 = state.design; + if (D.in_bounds(t1, new_strands_move, null)) + return new_strands_move.rebuild$1(new D.strands_adjust_address_reducer_closure0(D.is_allowable(t1, new_strands_move, null))); + else + return strands_move; + }, + in_bounds_and_allowable: function(design, strands_move) { + var original_helix_idxs_set = D.populate_original_helices_idxs_set(strands_move); + return D.in_bounds(design, strands_move, original_helix_idxs_set) && D.is_allowable(design, strands_move, original_helix_idxs_set); + }, + in_bounds: function(design, strands_move, original_helix_idxs_set) { + var $status = type$.legacy_strand_bounds_status._as(D.get_strand_bounds_details(design, strands_move, original_helix_idxs_set).$index(0, "status")); + if ($status === C.strand_bounds_status_6 || $status === C.strand_bounds_status_4 || $status === C.strand_bounds_status_5) + return true; + return false; + }, + get_strand_bounds_details: function(design, strands_move, original_helix_idxs_set) { + var t1, current_address_helix_idx, t2, t3, current_helix, t4, t5, current_group, num_helices_in_group, t6, t7, t8, delta_view_order, delta_offset, view_orders_of_helices_of_moving_strands, min_view_order, max_view_order, out_of_bounds_min_offset_changes, out_of_bounds_max_offset_changes, in_bounds_min_offset_changes, in_bounds_max_offset_changes, t9, t10, t11, t12, t13, view_order_orig, helix, outOfBoundsNewMinOffset, outOfBoundsNewMaxOffset, t14, t15, originalMinOffset, originalMaxOffset, max_offset_of_helix, min_offset_of_helix, inBoundsNewMaxOffset, inBoundsNewMinOffset, outOfBoundsNewMaxOffset0, outOfBoundsNewMinOffset0; + if (original_helix_idxs_set == null) + original_helix_idxs_set = D.populate_original_helices_idxs_set(strands_move); + t1 = strands_move.current_address; + current_address_helix_idx = t1.helix_idx; + t2 = design.helices._map$_map; + t3 = J.getInterceptor$x(t2); + if (!t3.containsKey$1(t2, current_address_helix_idx)) { + t1 = type$.dynamic; + return P.LinkedHashMap_LinkedHashMap$_literal(["status", C.strand_bounds_status_0], t1, t1); + } + current_helix = t3.$index(t2, current_address_helix_idx); + t4 = design.groups; + t5 = current_helix.group; + current_group = J.$index$asx(t4._map$_map, t5); + num_helices_in_group = J.get$length$asx(design.helices_in_group$1(t5)._map$_map); + t5 = strands_move.get$current_view_order(); + t4 = strands_move.original_helices_view_order_inverse; + t6 = strands_move.original_address; + t4 = t4._map$_map; + t7 = J.getInterceptor$asx(t4); + t8 = t7.$index(t4, t6.helix_idx); + if (typeof t5 !== "number") + return t5.$sub(); + if (typeof t8 !== "number") + return H.iae(t8); + delta_view_order = t5 - t8; + t1 = t1.offset; + t6 = t6.offset; + if (typeof t1 !== "number") + return t1.$sub(); + if (typeof t6 !== "number") + return H.iae(t6); + delta_offset = t1 - t6; + view_orders_of_helices_of_moving_strands = D.view_order_moving(strands_move); + t6 = type$.legacy_int; + min_view_order = N.MinMaxOfIterable_get_min(view_orders_of_helices_of_moving_strands, t6); + max_view_order = N.MinMaxOfIterable_get_max(view_orders_of_helices_of_moving_strands, t6); + if (typeof min_view_order !== "number") + return min_view_order.$add(); + if (min_view_order + delta_view_order < 0) { + t1 = type$.dynamic; + return P.LinkedHashMap_LinkedHashMap$_literal(["status", C.strand_bounds_status_1], t1, t1); + } + if (typeof max_view_order !== "number") + return max_view_order.$add(); + if (typeof num_helices_in_group !== "number") + return H.iae(num_helices_in_group); + if (max_view_order + delta_view_order >= num_helices_in_group) { + t1 = type$.dynamic; + return P.LinkedHashMap_LinkedHashMap$_literal(["status", C.strand_bounds_status_1], t1, t1); + } + t1 = type$.dynamic; + out_of_bounds_min_offset_changes = P.LinkedHashMap_LinkedHashMap$_empty(t1, t1); + out_of_bounds_max_offset_changes = P.LinkedHashMap_LinkedHashMap$_empty(t1, t1); + in_bounds_min_offset_changes = P.LinkedHashMap_LinkedHashMap$_empty(t1, t1); + in_bounds_max_offset_changes = P.LinkedHashMap_LinkedHashMap$_empty(t1, t1); + for (t5 = P._LinkedHashSetIterator$(original_helix_idxs_set, original_helix_idxs_set._collection$_modifications, H._instanceType(original_helix_idxs_set)._precomputed1), t8 = type$.JSArray_legacy_int, t9 = strands_move.helices, t10 = strands_move.strands_moving; t5.moveNext$0();) { + t11 = t5._collection$_current; + t12 = J.$index$asx(N.construct_helix_idx_to_domains_map(t10, original_helix_idxs_set)._map$_map, t11)._list; + t13 = J.getInterceptor$asx(t12); + if (t13.get$isEmpty(t12)) + continue; + view_order_orig = t7.$index(t4, t11); + t11 = current_group.helices_view_order; + if (typeof view_order_orig !== "number") + return view_order_orig.$add(); + helix = t3.$index(t2, J.$index$asx(t11._list, view_order_orig + delta_view_order)); + outOfBoundsNewMinOffset = helix.min_offset; + outOfBoundsNewMaxOffset = helix.max_offset; + t11 = helix.idx; + t14 = t9._map$_map; + t15 = J.getInterceptor$asx(t14); + originalMinOffset = t15.$index(t14, t11).min_offset; + originalMaxOffset = t15.$index(t14, t11).max_offset; + max_offset_of_helix = design.max_offset_of_strands_at$1(t11); + min_offset_of_helix = design.min_offset_of_strands_at$1(t11); + for (t12 = t13.get$iterator(t12), inBoundsNewMaxOffset = outOfBoundsNewMaxOffset, inBoundsNewMinOffset = outOfBoundsNewMinOffset, outOfBoundsNewMaxOffset0 = inBoundsNewMaxOffset, outOfBoundsNewMinOffset0 = inBoundsNewMinOffset; t12.moveNext$0();) { + t13 = t12.get$current(t12); + t14 = t13.start + delta_offset; + if (t14 < outOfBoundsNewMinOffset) + outOfBoundsNewMinOffset0 = N.MinMaxOfIterable_get_min(H.setRuntimeTypeInfo([outOfBoundsNewMinOffset0, t14], t8), t6); + else if (t14 > outOfBoundsNewMinOffset) + inBoundsNewMinOffset = N.MinMaxOfIterable_get_min(H.setRuntimeTypeInfo([N.MinMaxOfIterable_get_max(H.setRuntimeTypeInfo([inBoundsNewMinOffset, t14], t8), t6), originalMinOffset, min_offset_of_helix], t8), t6); + t13 = t13.end + delta_offset; + if (t13 > outOfBoundsNewMaxOffset) + outOfBoundsNewMaxOffset0 = N.MinMaxOfIterable_get_max(H.setRuntimeTypeInfo([outOfBoundsNewMaxOffset0, t13], t8), t6); + else if (t13 < outOfBoundsNewMaxOffset) + inBoundsNewMaxOffset = N.MinMaxOfIterable_get_max(H.setRuntimeTypeInfo([N.MinMaxOfIterable_get_min(H.setRuntimeTypeInfo([inBoundsNewMaxOffset, t13], t8), t6), originalMaxOffset, max_offset_of_helix], t8), t6); + } + if (typeof outOfBoundsNewMinOffset0 !== "number") + return outOfBoundsNewMinOffset0.$lt(); + if (outOfBoundsNewMinOffset0 < outOfBoundsNewMinOffset) + out_of_bounds_min_offset_changes.$indexSet(0, t11, outOfBoundsNewMinOffset0); + if (typeof outOfBoundsNewMaxOffset0 !== "number") + return outOfBoundsNewMaxOffset0.$gt(); + if (outOfBoundsNewMaxOffset0 > outOfBoundsNewMaxOffset) + out_of_bounds_max_offset_changes.$indexSet(0, t11, outOfBoundsNewMaxOffset0); + if (typeof inBoundsNewMinOffset !== "number") + return inBoundsNewMinOffset.$gt(); + if (inBoundsNewMinOffset > outOfBoundsNewMinOffset) + in_bounds_min_offset_changes.$indexSet(0, t11, inBoundsNewMinOffset); + if (typeof inBoundsNewMaxOffset !== "number") + return inBoundsNewMaxOffset.$lt(); + if (inBoundsNewMaxOffset < outOfBoundsNewMaxOffset) + in_bounds_max_offset_changes.$indexSet(0, t11, inBoundsNewMaxOffset); + } + if (out_of_bounds_min_offset_changes.get$isNotEmpty(out_of_bounds_min_offset_changes)) + return P.LinkedHashMap_LinkedHashMap$_literal(["status", C.strand_bounds_status_2, "offsets", out_of_bounds_min_offset_changes], t1, t1); + if (out_of_bounds_max_offset_changes.get$isNotEmpty(out_of_bounds_max_offset_changes)) + return P.LinkedHashMap_LinkedHashMap$_literal(["status", C.strand_bounds_status_3, "offsets", out_of_bounds_max_offset_changes], t1, t1); + if (in_bounds_min_offset_changes.get$isNotEmpty(in_bounds_min_offset_changes)) + return P.LinkedHashMap_LinkedHashMap$_literal(["status", C.strand_bounds_status_4, "offsets", in_bounds_min_offset_changes], t1, t1); + if (in_bounds_max_offset_changes.get$isNotEmpty(in_bounds_max_offset_changes)) + return P.LinkedHashMap_LinkedHashMap$_literal(["status", C.strand_bounds_status_5, "offsets", in_bounds_max_offset_changes], t1, t1); + return P.LinkedHashMap_LinkedHashMap$_literal(["status", C.strand_bounds_status_6], t1, t1); + }, + populate_original_helices_idxs_set: function(strands_move) { + var t1, t2, t3, + original_helix_idxs_set = P.LinkedHashSet_LinkedHashSet$_empty(type$.legacy_int); + for (t1 = J.get$iterator$ax(strands_move.strands_moving._list); t1.moveNext$0();) { + t2 = t1.get$current(t1); + t3 = t2.__domains; + if (t3 == null) { + t3 = E.Strand.prototype.get$domains.call(t2); + t2.set$__domains(t3); + t2 = t3; + } else + t2 = t3; + t2 = J.get$iterator$ax(t2._list); + for (; t2.moveNext$0();) + original_helix_idxs_set.add$1(0, t2.get$current(t2).helix); + } + return original_helix_idxs_set; + }, + view_order_moving: function(strands_move) { + var t1, t2, t3, t4, view_order_of_helix, + ret = P.LinkedHashSet_LinkedHashSet$_empty(type$.legacy_int); + for (t1 = J.get$iterator$ax(strands_move.strands_moving._list), t2 = strands_move.original_helices_view_order_inverse; t1.moveNext$0();) { + t3 = t1.get$current(t1); + t4 = t3.__domains; + if (t4 == null) { + t4 = E.Strand.prototype.get$domains.call(t3); + t3.set$__domains(t4); + t3 = t4; + } else + t3 = t4; + t3 = J.get$iterator$ax(t3._list); + for (; t3.moveNext$0();) { + t4 = t3.get$current(t3).helix; + view_order_of_helix = J.$index$asx(t2._map$_map, t4); + if (view_order_of_helix == null) + throw H.wrapException(P.AssertionError$("Helix: " + t4 + ", has no inverse in strands_move.original_helices_view_order_inverse " + t2.toString$0(0))); + ret.add$1(0, view_order_of_helix); + } + } + return ret; + }, + is_allowable: function(design, strands_move, original_helix_idxs_set) { + var t1, t2, t3, t4, current_helix, t5, t6, current_group, t7, t8, t9, delta_view_order, delta_offset, delta_forward, helix_idx_to_substrands_moving, helix_idx_to_substrands_fixed, t10, domains_moving, t11, t12, view_order_orig, new_helix_idx, new_helix, domains_fixed, t13, t14, t15, t16, _i, $forward, t17, t18, t19, intervals_moving, intervals_fixed; + if (original_helix_idxs_set == null) + original_helix_idxs_set = D.populate_original_helices_idxs_set(strands_move); + t1 = strands_move.current_address; + t2 = design.helices; + t3 = t2._map$_map; + t4 = J.getInterceptor$asx(t3); + current_helix = t4.$index(t3, t1.helix_idx); + t5 = design.groups; + t6 = current_helix.group; + current_group = J.$index$asx(t5._map$_map, t6); + t6 = strands_move.get$current_view_order(); + t5 = strands_move.original_helices_view_order_inverse; + t7 = strands_move.original_address; + t5 = t5._map$_map; + t8 = J.getInterceptor$asx(t5); + t9 = t8.$index(t5, t7.helix_idx); + if (typeof t6 !== "number") + return t6.$sub(); + if (typeof t9 !== "number") + return H.iae(t9); + delta_view_order = t6 - t9; + t9 = t1.offset; + t6 = t7.offset; + if (typeof t9 !== "number") + return t9.$sub(); + if (typeof t6 !== "number") + return H.iae(t6); + delta_offset = t9 - t6; + delta_forward = t1.forward != t7.forward; + helix_idx_to_substrands_moving = N.construct_helix_idx_to_domains_map(strands_move.strands_moving, original_helix_idxs_set); + helix_idx_to_substrands_fixed = N.construct_helix_idx_to_domains_map(strands_move.strands_fixed, t2.get$keys(t2)); + for (t1 = P._LinkedHashSetIterator$(original_helix_idxs_set, original_helix_idxs_set._collection$_modifications, H._instanceType(original_helix_idxs_set)._precomputed1), t2 = helix_idx_to_substrands_fixed._map$_map, t6 = J.getInterceptor$asx(t2), t7 = helix_idx_to_substrands_moving._map$_map, t9 = J.getInterceptor$asx(t7); t1.moveNext$0();) { + t10 = t1._collection$_current; + domains_moving = t9.$index(t7, t10); + t11 = domains_moving._list; + t12 = J.getInterceptor$asx(t11); + if (t12.get$isEmpty(t11)) + continue; + view_order_orig = t8.$index(t5, t10); + t10 = current_group.helices_view_order; + if (typeof view_order_orig !== "number") + return view_order_orig.$add(); + new_helix_idx = J.$index$asx(t10._list, view_order_orig + delta_view_order); + new_helix = t4.$index(t3, new_helix_idx); + domains_fixed = t6.$index(t2, new_helix_idx); + t10 = domains_fixed._list; + t13 = J.getInterceptor$asx(t10); + if (t13.get$isEmpty(t10)) + continue; + for (t14 = [true, false], t15 = H._instanceType(domains_moving)._eval$1("bool(1)"), t16 = H._instanceType(domains_fixed)._eval$1("bool(1)"), _i = 0; _i < 2; ++_i) { + $forward = t14[_i]; + t17 = t12.where$1(t11, t15._as(new D.is_allowable_closure(delta_forward, $forward))); + t18 = t17.$ti; + t19 = t18._eval$1("MappedIterable<1,Point*>"); + intervals_moving = P.List_List$of(new H.MappedIterable(t17, t18._eval$1("Point*(1)")._as(new D.is_allowable_closure0(delta_offset)), t19), true, t19._eval$1("Iterable.E")); + t19 = H._arrayInstanceType(intervals_moving); + t19._eval$1("int(1,1)?")._as(D.strands_move_reducer__interval_comparator$closure()); + if (!!intervals_moving.immutable$list) + H.throwExpression(P.UnsupportedError$("sort")); + t17 = t19._precomputed1; + t18 = intervals_moving.length - 1; + if (t18 - 0 <= 32) + H.Sort__insertionSort(intervals_moving, 0, t18, D.strands_move_reducer__interval_comparator$closure(), t17); + else + H.Sort__dualPivotQuicksort(intervals_moving, 0, t18, D.strands_move_reducer__interval_comparator$closure(), t17); + t17 = intervals_moving.length; + if (t17 !== 0) { + if (0 >= t17) + return H.ioore(intervals_moving, 0); + t18 = intervals_moving[0].x; + t19 = new_helix.min_offset; + if (typeof t18 !== "number") + return t18.$lt(); + if (t18 < t19) + return false; + t18 = t17 - 1; + if (t18 < 0) + return H.ioore(intervals_moving, t18); + t18 = intervals_moving[t18].y; + t17 = new_helix.max_offset; + if (typeof t18 !== "number") + return t18.$ge(); + if (t18 >= t17) + return false; + t17 = t13.where$1(t10, t16._as(new D.is_allowable_closure1($forward))); + t18 = t17.$ti; + t19 = t18._eval$1("MappedIterable<1,Point*>"); + intervals_fixed = P.List_List$of(new H.MappedIterable(t17, t18._eval$1("Point*(1)")._as(new D.is_allowable_closure2()), t19), true, t19._eval$1("Iterable.E")); + t19 = H._arrayInstanceType(intervals_fixed); + t19._eval$1("int(1,1)?")._as(D.strands_move_reducer__interval_comparator$closure()); + if (!!intervals_fixed.immutable$list) + H.throwExpression(P.UnsupportedError$("sort")); + t17 = t19._precomputed1; + t18 = intervals_fixed.length - 1; + if (t18 - 0 <= 32) + H.Sort__insertionSort(intervals_fixed, 0, t18, D.strands_move_reducer__interval_comparator$closure(), t17); + else + H.Sort__dualPivotQuicksort(intervals_fixed, 0, t18, D.strands_move_reducer__interval_comparator$closure(), t17); + if (D.intersection(intervals_moving, intervals_fixed)) + return false; + } + } + } + return true; + }, + interval_comparator: function(interval1, interval2) { + var t2, + t1 = type$.legacy_Point_legacy_num; + t1._as(interval1); + t1._as(interval2); + t1 = interval1.x; + t2 = interval2.x; + if (typeof t1 !== "number") + return t1.$sub(); + if (typeof t2 !== "number") + return H.iae(t2); + return H._asIntS(t1 - t2); + }, + intersection: function(ints1, ints2) { + var t3, t4, t5, + t1 = ints1.length, + t2 = ints2.length, + idx1 = 0, idx2 = 0; + while (true) { + if (!(idx1 < t1 && idx2 < t2)) + break; + while (true) { + if (idx2 < t2) { + if (idx2 < 0) + return H.ioore(ints2, idx2); + t3 = ints2[idx2].y; + if (idx1 < 0 || idx1 >= t1) + return H.ioore(ints1, idx1); + t4 = ints1[idx1].x; + if (typeof t3 !== "number") + return t3.$lt(); + if (typeof t4 !== "number") + return H.iae(t4); + t4 = t3 < t4; + t3 = t4; + } else + t3 = false; + if (!t3) + break; + ++idx2; + } + if (idx2 === t2) + return false; + else { + if (idx2 < 0 || idx2 >= t2) + return H.ioore(ints2, idx2); + t3 = ints2[idx2]; + t4 = t3.x; + if (idx1 < 0 || idx1 >= t1) + return H.ioore(ints1, idx1); + t5 = ints1[idx1].y; + if (typeof t4 !== "number") + return t4.$le(); + if (typeof t5 !== "number") + return H.iae(t5); + if (t4 <= t5) + return true; + } + while (true) { + if (idx1 < t1) { + t5 = ints1[idx1].y; + if (typeof t5 !== "number") + return t5.$lt(); + t5 = t5 < t4; + } else + t5 = false; + if (!t5) + break; + ++idx1; + } + if (idx1 === t1) + return false; + else { + if (idx1 >= t1) + return H.ioore(ints1, idx1); + t4 = ints1[idx1].x; + t3 = t3.y; + if (typeof t4 !== "number") + return t4.$le(); + if (typeof t3 !== "number") + return H.iae(t3); + if (t4 <= t3) + return true; + } + } + return false; + }, + strands_move_start_selected_strands_reducer_closure: function strands_move_start_selected_strands_reducer_closure() { + }, + strands_adjust_address_reducer_closure: function strands_adjust_address_reducer_closure(t0) { + this.action = t0; + }, + strands_adjust_address_reducer_closure0: function strands_adjust_address_reducer_closure0(t0) { + this.allowable = t0; + }, + is_allowable_closure: function is_allowable_closure(t0, t1) { + this.delta_forward = t0; + this.forward = t1; + }, + is_allowable_closure0: function is_allowable_closure0(t0) { + this.delta_offset = t0; + }, + is_allowable_closure1: function is_allowable_closure1(t0) { + this.forward = t0; + }, + is_allowable_closure2: function is_allowable_closure2() { + }, + strand_helix_offset_key: function(strand, strand_order, column_major) { + var helix_idx, offset, helix_idx_5p, offset_5p, helix_idx_3p, offset_3p, t1, t2, helix_idx0, t3; + if (strand_order === C.StrandOrder_five_prime) { + helix_idx = strand.get$first_domain().helix; + offset = strand.get$first_domain().get$offset_5p(); + } else if (strand_order === C.StrandOrder_three_prime) { + helix_idx = strand.get$last_domain().helix; + offset = strand.get$last_domain().get$offset_3p(); + } else if (strand_order === C.StrandOrder_five_or_three_prime) { + helix_idx_5p = strand.get$first_domain().helix; + offset_5p = strand.get$first_domain().get$offset_5p(); + helix_idx_3p = strand.get$last_domain().helix; + offset_3p = strand.get$last_domain().get$offset_3p(); + if (column_major) { + if (offset_5p >= offset_3p) + t1 = offset_5p === offset_3p && helix_idx_5p <= helix_idx_3p; + else + t1 = true; + if (t1) { + offset = offset_5p; + helix_idx = helix_idx_5p; + } else { + offset = offset_3p; + helix_idx = helix_idx_3p; + } + } else { + if (helix_idx_5p >= helix_idx_3p) + t1 = helix_idx_5p === helix_idx_3p && offset_5p <= offset_3p; + else + t1 = true; + if (t1) { + offset = offset_5p; + helix_idx = helix_idx_5p; + } else { + offset = offset_3p; + helix_idx = helix_idx_3p; + } + } + } else if (strand_order === C.StrandOrder_top_left_domain_start) { + helix_idx = strand.get$first_domain().helix; + offset = strand.get$first_domain().start; + for (t1 = J.get$iterator$ax(strand.get$domains()._list); t1.moveNext$0();) { + t2 = t1.get$current(t1); + helix_idx0 = t2.helix; + if (helix_idx <= helix_idx0) + t3 = helix_idx === helix_idx0 && offset > t2.start; + else + t3 = true; + if (t3) { + offset = t2.start; + helix_idx = helix_idx0; + } + } + } else + throw H.wrapException(P.ArgumentError$(strand_order.toString$0(0) + " is not a valid StrandOrder")); + return new S.Tuple2(helix_idx, offset, type$.Tuple2_of_legacy_int_and_legacy_int); + }, + strands_comparison_function: function(strand_order, column_major) { + return new D.strands_comparison_function_compare(strand_order, column_major); + }, + ExportDNAFormat_fromString: function(str) { + var t1, t2; + for (t1 = J.get$iterator$ax(C.Map_bv0.get$keys(C.Map_bv0)); t1.moveNext$0();) { + t2 = t1.get$current(t1); + if (C.Map_bv0.$index(0, t2) == str) + return t2; + } + throw H.wrapException(D.ExportDNAException$(string$.You_ha)); + }, + ExportDNAException$: function(cause) { + return new D.ExportDNAException(cause); + }, + csv_export: function(strands, domain_delimiter) { + var t1 = H._arrayInstanceType(strands); + return new H.MappedListIterable(strands, t1._eval$1("String*(1)")._as(new D.csv_export_closure(domain_delimiter)), t1._eval$1("MappedListIterable<1,String*>")).join$1(0, "\n"); + }, + idt_bulk_export: function(strands, delimiter, domain_delimiter) { + var t1 = H._arrayInstanceType(strands); + return new H.MappedListIterable(strands, t1._eval$1("String*(1)")._as(new D.idt_bulk_export_closure(delimiter, domain_delimiter, "25nm", "STD")), t1._eval$1("MappedListIterable<1,String*>")).join$1(0, "\n"); + }, + idt_plates_export: function(strands, plate_type, column_major_plate, domain_delimiter) { + var $async$goto = 0, + $async$completer = P._makeAsyncAwaitCompleter(type$.legacy_List_legacy_int), + $async$returnValue, min_strands_per_plate, final_plate_less_than_min_required, decoder, num_strands_remaining, on_final_plate, num_strands_remaining0, plate, excel_row, plate_name, _i, t2, t3, strand, t4, t5, well, plate0, t0, num_strands_per_plate, t1, num_plates_needed, $async$temp1, $async$temp2, $async$temp3, $async$temp4, $async$temp5; + var $async$idt_plates_export = P._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { + if ($async$errorCode === 1) + return P._asyncRethrow($async$result, $async$completer); + while (true) + $async$outer: + switch ($async$goto) { + case 0: + // Function start + num_strands_per_plate = D.num_wells_per_plate(plate_type); + t1 = strands.length; + num_plates_needed = C.JSInt_methods.$tdiv(t1, num_strands_per_plate); + if (C.JSInt_methods.$mod(t1, num_strands_per_plate) !== 0) + ++num_plates_needed; + min_strands_per_plate = D.min_wells_per_plate(plate_type); + final_plate_less_than_min_required = t1 - Math.max(0, (num_plates_needed - 1) * num_strands_per_plate) < min_strands_per_plate; + if (num_plates_needed > 10) { + t1 = "To put " + t1 + " strands into "; + throw H.wrapException(D.ExportDNAException$(t1 + (plate_type === C.PlateType_0 ? 96 : 384) + "-well plates requires " + num_plates_needed + " plates.\nIt is currently unsupported to create more than 10 plates in a single design.\nPlease file an issue requesting this feature here: https://github.com/UC-Davis-molecular-computing/scadnano/issues")); + } + $async$temp1 = U; + $async$temp2 = new Q.ZipDecoder(); + $async$temp3 = T; + $async$temp4 = type$.List_int; + $async$temp5 = J; + $async$goto = 3; + return P._asyncAwait(E.get_binary_file_content("excel-spreadsheets/idt-plates-empty-" + num_plates_needed + "plate.xlsx"), $async$idt_plates_export); + case 3: + // returning from await. + decoder = $async$temp1._newSpreadsheetDecoder($async$temp2.decodeBuffer$3$password$verify($async$temp3.InputStream$($async$temp4._as($async$temp5.asUint8List$2$x($async$result, 0, null)), 0, null, 0), null, true), true); + num_strands_remaining = strands.length; + on_final_plate = num_plates_needed === 1; + for (num_strands_remaining0 = num_strands_remaining, plate = 1, excel_row = 1, plate_name = "plate1", _i = 0, t1 = 1, t2 = 0, t3 = 0; _i < strands.length; strands.length === num_strands_remaining || (0, H.throwConcurrentModificationError)(strands), ++_i, t3 = t2, t2 = t1, t1 = plate0) { + strand = strands[_i]; + t4 = D.rows_of(plate_type); + if (t2 >= t4.length) { + $async$returnValue = H.ioore(t4, t2); + // goto return + $async$goto = 1; + break $async$outer; + } + t4 = t4[t2]; + t5 = D.cols_of(plate_type); + if (t3 >= t5.length) { + $async$returnValue = H.ioore(t5, t3); + // goto return + $async$goto = 1; + break $async$outer; + } + well = t4 + t5[t3]; + decoder.insertRow$2(0, plate_name, excel_row); + decoder.updateCell$4(plate_name, 0, excel_row, well); + decoder.updateCell$4(plate_name, 1, excel_row, strand.vendor_export_name$0()); + t5 = strand.vendor_dna_sequence$1$domain_delimiter(domain_delimiter); + decoder.updateCell$4(plate_name, 2, excel_row, t5 == null ? "*****NONE*****" : t5); + --num_strands_remaining0; + if (!on_final_plate && final_plate_less_than_min_required && num_strands_remaining0 === min_strands_per_plate) { + ++t1; + plate0 = t1; + t1 = 0; + t2 = 0; + } else { + if (column_major_plate) { + ++t2; + if (t2 === D.rows_of(plate_type).length) { + t2 = t3 + 1; + if (t2 === D.cols_of(plate_type).length) { + ++t1; + t2 = t1; + t1 = 0; + } else { + t0 = t2; + t2 = t1; + t1 = t0; + } + t3 = t2; + t2 = t1; + t1 = 0; + } else { + t0 = t3; + t3 = t1; + t1 = t2; + t2 = t0; + } + } else { + ++t3; + if (t3 === D.cols_of(plate_type).length) { + ++t2; + if (t2 === D.rows_of(plate_type).length) { + ++t1; + t2 = t1; + t1 = 0; + } else { + t0 = t2; + t2 = t1; + t1 = t0; + } + t3 = t2; + t2 = 0; + } else { + t0 = t3; + t3 = t1; + t1 = t2; + t2 = t0; + } + } + plate0 = t3; + } + if (plate !== plate0) { + plate_name = "plate" + plate0; + plate = plate0; + excel_row = 1; + on_final_plate = true; + } else + ++excel_row; + } + $async$returnValue = decoder.encode$0(); + // goto return + $async$goto = 1; + break; + case 1: + // return + return P._asyncReturn($async$returnValue, $async$completer); + } + }); + return P._asyncStartSync($async$idt_plates_export, $async$completer); + }, + num_wells_per_plate: function(plate_type) { + var _s133_ = string$.You_ha; + switch (plate_type) { + case C.PlateType_0: + return 96; + case C.PlateType_1: + return 384; + case C.PlateType_2: + throw H.wrapException(D.ExportDNAException$(_s133_)); + } + throw H.wrapException(D.ExportDNAException$(_s133_)); + }, + min_wells_per_plate: function(plate_type) { + var _s133_ = string$.You_ha; + switch (plate_type) { + case C.PlateType_0: + return 24; + case C.PlateType_1: + return 96; + case C.PlateType_2: + throw H.wrapException(D.ExportDNAException$(_s133_)); + } + throw H.wrapException(D.ExportDNAException$(_s133_)); + }, + rows_of: function(plate_type) { + var _s133_ = string$.You_ha; + switch (plate_type) { + case C.PlateType_0: + return H.setRuntimeTypeInfo(["A", "B", "C", "D", "E", "F", "G", "H"], type$.JSArray_legacy_String); + case C.PlateType_1: + return H.setRuntimeTypeInfo(["A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P"], type$.JSArray_legacy_String); + case C.PlateType_2: + throw H.wrapException(D.ExportDNAException$(_s133_)); + } + throw H.wrapException(D.ExportDNAException$(_s133_)); + }, + cols_of: function(plate_type) { + var t1, i, + _s133_ = string$.You_ha; + switch (plate_type) { + case C.PlateType_0: + t1 = H.setRuntimeTypeInfo([], type$.JSArray_legacy_int); + for (i = 1; i <= 12; ++i) + t1.push(i); + return t1; + case C.PlateType_1: + t1 = H.setRuntimeTypeInfo([], type$.JSArray_legacy_int); + for (i = 1; i <= 24; ++i) + t1.push(i); + return t1; + case C.PlateType_2: + throw H.wrapException(D.ExportDNAException$(_s133_)); + } + throw H.wrapException(D.ExportDNAException$(_s133_)); + }, + _$valueOf5: function($name) { + switch ($name) { + case "idt_bulk": + return C.ExportDNAFormat_idt_bulk; + case "idt_plates96": + return C.ExportDNAFormat_idt_plates96; + case "idt_plates384": + return C.ExportDNAFormat_idt_plates384; + case "csv": + return C.ExportDNAFormat_csv; + default: + throw H.wrapException(P.ArgumentError$($name)); + } + }, + strands_comparison_function_compare: function strands_comparison_function_compare(t0, t1) { + this.strand_order = t0; + this.column_major = t1; + }, + ExportDNAFormat: function ExportDNAFormat(t0) { + this.name = t0; + }, + ExportDNAException: function ExportDNAException(t0) { + this.cause = t0; + }, + csv_export_closure: function csv_export_closure(t0) { + this.domain_delimiter = t0; + }, + idt_bulk_export_closure: function idt_bulk_export_closure(t0, t1, t2, t3) { + var _ = this; + _.delimiter = t0; + _.domain_delimiter = t1; + _.scale = t2; + _.purification = t3; + }, + PlateType: function PlateType(t0) { + this._export_dna_format$_name = t0; + }, + _$ExportDNAFormatSerializer: function _$ExportDNAFormatSerializer() { + }, + GridPosition_GridPosition: function(h, v) { + var t1 = new D.GridPositionBuilder(); + type$.legacy_void_Function_legacy_GridPositionBuilder._as(new D.GridPosition_GridPosition_closure(h, v)).call$1(t1); + return t1.build$0(); + }, + GridPosition: function GridPosition() { + }, + GridPosition_GridPosition_closure: function GridPosition_GridPosition_closure(t0, t1) { + this.h = t0; + this.v = t1; + }, + _$GridPositionSerializer: function _$GridPositionSerializer() { + }, + _$GridPosition: function _$GridPosition(t0, t1) { + this.h = t0; + this.v = t1; + this._grid_position$__hashCode = null; + }, + GridPositionBuilder: function GridPositionBuilder() { + this._v = this._h = this._grid_position$_$v = null; + }, + _GridPosition_Object_BuiltJsonSerializable: function _GridPosition_Object_BuiltJsonSerializable() { + }, + _$valueOf8: function($name) { + switch ($name) { + case "end_5p_strand": + return C.SelectModeChoice_end_5p_strand; + case "end_3p_strand": + return C.SelectModeChoice_end_3p_strand; + case "end_5p_domain": + return C.SelectModeChoice_end_5p_domain; + case "end_3p_domain": + return C.SelectModeChoice_end_3p_domain; + case "domain": + return C.SelectModeChoice_domain; + case "crossover": + return C.SelectModeChoice_crossover; + case "loopout": + return C.SelectModeChoice_loopout; + case "extension_": + return C.SelectModeChoice_extension_; + case "strand": + return C.SelectModeChoice_strand; + case "insertion": + return C.SelectModeChoice_insertion; + case "deletion": + return C.SelectModeChoice_deletion; + case "modification": + return C.SelectModeChoice_modification; + case "scaffold": + return C.SelectModeChoice_scaffold; + case "staple": + return C.SelectModeChoice_staple; + default: + throw H.wrapException(P.ArgumentError$($name)); + } + }, + SelectModeChoice: function SelectModeChoice(t0) { + this.name = t0; + }, + _$SelectModeChoiceSerializer: function _$SelectModeChoiceSerializer() { + }, + ask_for_autobreak_parameters: function() { + var $async$goto = 0, + $async$completer = P._makeAsyncAwaitCompleter(type$.void), + $async$returnValue, results, t1, t2, target_length, min_length, max_length, min_distance_to_xover, items; + var $async$ask_for_autobreak_parameters = P._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { + if ($async$errorCode === 1) + return P._asyncRethrow($async$result, $async$completer); + while (true) + switch ($async$goto) { + case 0: + // Function start + items = P.List_List$filled(4, null, false, type$.legacy_DialogItem); + C.JSArray_methods.$indexSet(items, 0, E.DialogInteger_DialogInteger("target length", null, 49)); + C.JSArray_methods.$indexSet(items, 1, E.DialogInteger_DialogInteger("min length", null, 15)); + C.JSArray_methods.$indexSet(items, 2, E.DialogInteger_DialogInteger("max length", null, 60)); + C.JSArray_methods.$indexSet(items, 3, E.DialogInteger_DialogInteger("min distance to xover", null, 3)); + $async$goto = 3; + return P._asyncAwait(E.dialog(E.Dialog_Dialog(C.Set_empty, C.Map_empty2, C.Map_empty2, C.Map_empty3, items, C.List_empty1, E.dialog_Dialog_identity_function$closure(), "Choose autobreak parameters", C.DialogType_choose_autobreak_parameters, true)), $async$ask_for_autobreak_parameters); + case 3: + // returning from await. + results = $async$result; + if (results == null) { + // goto return + $async$goto = 1; + break; + } + t1 = J.getInterceptor$asx(results); + t2 = type$.legacy_DialogInteger; + target_length = H._asIntS(t2._as(t1.$index(results, 0)).value); + min_length = H._asIntS(t2._as(t1.$index(results, 1)).value); + max_length = H._asIntS(t2._as(t1.$index(results, 2)).value); + min_distance_to_xover = H._asIntS(t2._as(t1.$index(results, 3)).value); + $.app.dispatch$1(U.Autobreak_Autobreak(max_length, min_distance_to_xover, min_length, target_length)); + case 1: + // return + return P._asyncReturn($async$returnValue, $async$completer); + } + }); + return P._asyncStartSync($async$ask_for_autobreak_parameters, $async$completer); + }, + ask_for_geometry: function(geometry) { + var $async$goto = 0, + $async$completer = P._makeAsyncAwaitCompleter(type$.void), + $async$returnValue, results, t1, t2, rise_per_base_pair, helix_radius, inter_helix_gap, new_geometry, items; + var $async$ask_for_geometry = P._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { + if ($async$errorCode === 1) + return P._asyncRethrow($async$result, $async$completer); + while (true) + switch ($async$goto) { + case 0: + // Function start + items = P.List_List$filled(5, null, false, type$.legacy_DialogItem); + C.JSArray_methods.$indexSet(items, 0, E.DialogFloat_DialogFloat("rise per base pair (nm)", geometry.rise_per_base_pair)); + C.JSArray_methods.$indexSet(items, 1, E.DialogFloat_DialogFloat("helix radius (nm)", geometry.helix_radius)); + C.JSArray_methods.$indexSet(items, 2, E.DialogFloat_DialogFloat("inter helix gap (nm)", geometry.inter_helix_gap)); + C.JSArray_methods.$indexSet(items, 3, E.DialogFloat_DialogFloat("bases per turn", geometry.bases_per_turn)); + C.JSArray_methods.$indexSet(items, 4, E.DialogFloat_DialogFloat("minor groove angle (degrees)", geometry.minor_groove_angle)); + $async$goto = 3; + return P._asyncAwait(E.dialog(E.Dialog_Dialog(C.Set_empty, C.Map_empty2, C.Map_empty2, C.Map_empty3, items, C.List_empty1, E.dialog_Dialog_identity_function$closure(), "adjust geometric parameters", C.DialogType_adjust_geometric_parameters, true)), $async$ask_for_geometry); + case 3: + // returning from await. + results = $async$result; + if (results == null) { + // goto return + $async$goto = 1; + break; + } + t1 = J.getInterceptor$asx(results); + t2 = type$.legacy_DialogFloat; + rise_per_base_pair = t2._as(t1.$index(results, 0)).value; + helix_radius = t2._as(t1.$index(results, 1)).value; + inter_helix_gap = t2._as(t1.$index(results, 2)).value; + new_geometry = N.Geometry_Geometry(t2._as(t1.$index(results, 3)).value, helix_radius, inter_helix_gap, t2._as(t1.$index(results, 4)).value, rise_per_base_pair); + $.app.dispatch$1(U._$GeometrySet$_(new_geometry)); + case 1: + // return + return P._asyncReturn($async$returnValue, $async$completer); + } + }); + return P._asyncStartSync($async$ask_for_geometry, $async$completer); + }, + request_load_file_from_file_chooser: function(file_chooser, onload_callback) { + var file, basefilename, file_reader, t1, t2, t3, + files = file_chooser.files; + if (0 >= files.length) + return H.ioore(files, 0); + file = files[0]; + basefilename = X.ParsedPath_ParsedPath$parse(file.name, $.$get$context().style).get$basename(); + file_reader = new FileReader(); + t1 = type$.nullable_void_Function_legacy_ProgressEvent; + t2 = t1._as(new D.request_load_file_from_file_chooser_closure(onload_callback, file_reader, basefilename)); + type$.nullable_void_Function._as(null); + t3 = type$.legacy_ProgressEvent; + W._EventStreamSubscription$(file_reader, "load", t2, false, t3); + W._EventStreamSubscription$(file_reader, "error", t1._as(new D.request_load_file_from_file_chooser_closure0("error reading file: " + J.toString$0$(file_reader.error))), false, t3); + file_reader.readAsText(file); + }, + scadnano_file_loaded: function(file_reader, filename) { + var json_model_text; + type$.legacy_FileReader._as(file_reader); + H._asStringS(filename); + json_model_text = (file_reader && C.FileReader_methods).get$result(file_reader); + $.app.dispatch$1(U.PrepareToLoadDNAFile_PrepareToLoadDNAFile(H._asStringS(json_model_text), C.DNAFileType_scadnano_file, filename, true)); + }, + cadnano_file_loaded: function(file_reader, filename) { + return D.cadnano_file_loaded$body(file_reader, filename); + }, + cadnano_file_loaded$body: function(file_reader, filename) { + var $async$goto = 0, + $async$completer = P._makeAsyncAwaitCompleter(type$.dynamic), + $async$next = [], json_cadnano_text, e, t1, exception; + var $async$cadnano_file_loaded = P._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { + if ($async$errorCode === 1) + return P._asyncRethrow($async$result, $async$completer); + while (true) + switch ($async$goto) { + case 0: + // Function start + filename = filename; + try { + json_cadnano_text = C.FileReader_methods.get$result(file_reader); + t1 = filename; + filename = $.$get$context().withoutExtension$1(t1) + ".sc"; + $.app.dispatch$1(U.PrepareToLoadDNAFile_PrepareToLoadDNAFile(H._asStringS(json_cadnano_text), C.DNAFileType_cadnano_file, filename, true)); + } catch (exception) { + t1 = H.unwrapException(exception); + if (type$.legacy_Exception._is(t1)) { + e = t1; + C.Window_methods.alert$1(window, "Error importing file: " + H.S(e)); + } else + throw exception; + } + // implicit return + return P._asyncReturn(null, $async$completer); + } + }); + return P._asyncStartSync($async$cadnano_file_loaded, $async$completer); + }, + _$Menu: function(backingProps) { + type$.legacy_Map_dynamic_dynamic._as(backingProps); + return backingProps == null ? D._$$MenuProps$JsMap$(new L.JsBackedMap({})) : D._$$MenuProps__$$MenuProps(backingProps); + }, + _$$MenuProps__$$MenuProps: function(backingMap) { + var t1, _null = null; + if (backingMap instanceof L.JsBackedMap) + return D._$$MenuProps$JsMap$(backingMap); + else { + t1 = type$.dynamic; + t1 = new D._$$MenuProps$PlainMap(P.LinkedHashMap_LinkedHashMap$_empty(t1, t1), _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null); + t1.get$$$isClassGenerated(); + t1._menu$_props = backingMap; + return t1; + } + }, + _$$MenuProps$JsMap$: function(backingMap) { + var _null = null, + t1 = new D._$$MenuProps$JsMap(new L.JsBackedMap({}), _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null); + t1.get$$$isClassGenerated(); + t1._menu$_props = backingMap == null ? new L.JsBackedMap({}) : backingMap; + return t1; + }, + ConnectedMenu_closure: function ConnectedMenu_closure() { + }, + ConnectedMenu__closure: function ConnectedMenu__closure() { + }, + MenuPropsMixin: function MenuPropsMixin() { + }, + MenuComponent: function MenuComponent() { + }, + MenuComponent_file_menu_closure: function MenuComponent_file_menu_closure(t0) { + this.$this = t0; + }, + MenuComponent_file_menu_closure0: function MenuComponent_file_menu_closure0() { + }, + MenuComponent_file_menu_closure1: function MenuComponent_file_menu_closure1() { + }, + MenuComponent_file_menu_closure2: function MenuComponent_file_menu_closure2(t0) { + this.$this = t0; + }, + MenuComponent_file_menu_closure3: function MenuComponent_file_menu_closure3(t0) { + this.$this = t0; + }, + MenuComponent_file_menu_closure4: function MenuComponent_file_menu_closure4() { + }, + MenuComponent_file_menu_closure5: function MenuComponent_file_menu_closure5(t0) { + this.$this = t0; + }, + MenuComponent_file_menu_closure6: function MenuComponent_file_menu_closure6(t0) { + this.$this = t0; + }, + MenuComponent_file_menu_save_design_local_storage_options_closure: function MenuComponent_file_menu_save_design_local_storage_options_closure(t0) { + this.$this = t0; + }, + MenuComponent_file_menu_save_design_local_storage_options_closure0: function MenuComponent_file_menu_save_design_local_storage_options_closure0(t0) { + this.$this = t0; + }, + MenuComponent_file_menu_save_design_local_storage_options_closure1: function MenuComponent_file_menu_save_design_local_storage_options_closure1(t0) { + this.$this = t0; + }, + MenuComponent_file_menu_save_design_local_storage_options_closure2: function MenuComponent_file_menu_save_design_local_storage_options_closure2(t0) { + this.$this = t0; + }, + MenuComponent_file_menu_save_design_local_storage_options_closure3: function MenuComponent_file_menu_save_design_local_storage_options_closure3(t0) { + this.$this = t0; + }, + MenuComponent_edit_menu_closure: function MenuComponent_edit_menu_closure(t0) { + this.$this = t0; + }, + MenuComponent_edit_menu_closure0: function MenuComponent_edit_menu_closure0(t0) { + this.$this = t0; + }, + MenuComponent_edit_menu_closure1: function MenuComponent_edit_menu_closure1(t0) { + this.$this = t0; + }, + MenuComponent_edit_menu_closure2: function MenuComponent_edit_menu_closure2(t0) { + this.$this = t0; + }, + MenuComponent_edit_menu_closure3: function MenuComponent_edit_menu_closure3() { + }, + MenuComponent_edit_menu_closure4: function MenuComponent_edit_menu_closure4() { + }, + MenuComponent_undo_dropdowns_closure: function MenuComponent_undo_dropdowns_closure() { + }, + MenuComponent_redo_dropdowns_closure: function MenuComponent_redo_dropdowns_closure() { + }, + MenuComponent_undo_or_redo_dropdown_closure: function MenuComponent_undo_or_redo_dropdown_closure(t0, t1) { + this.undo_or_redo_action_creator = t0; + this.num_times = t1; + }, + MenuComponent_edit_menu_copy_paste_closure: function MenuComponent_edit_menu_copy_paste_closure(t0) { + this.$this = t0; + }, + MenuComponent_edit_menu_copy_paste_closure0: function MenuComponent_edit_menu_copy_paste_closure0(t0) { + this.$this = t0; + }, + MenuComponent_edit_menu_copy_paste_closure1: function MenuComponent_edit_menu_copy_paste_closure1() { + }, + MenuComponent_edit_menu_copy_paste_closure2: function MenuComponent_edit_menu_copy_paste_closure2() { + }, + MenuComponent_edit_menu_copy_paste_closure3: function MenuComponent_edit_menu_copy_paste_closure3() { + }, + MenuComponent_edit_menu_copy_paste_closure4: function MenuComponent_edit_menu_copy_paste_closure4(t0) { + this.$this = t0; + }, + MenuComponent_edit_menu_copy_paste_closure5: function MenuComponent_edit_menu_copy_paste_closure5() { + }, + MenuComponent_edit_menu_copy_paste_closure6: function MenuComponent_edit_menu_copy_paste_closure6(t0) { + this.$this = t0; + }, + MenuComponent_edit_menu_copy_paste_closure7: function MenuComponent_edit_menu_copy_paste_closure7(t0) { + this.$this = t0; + }, + MenuComponent_edit_menu_helix_rolls_closure: function MenuComponent_edit_menu_helix_rolls_closure(t0) { + this.$this = t0; + }, + MenuComponent_edit_menu_helix_rolls_closure0: function MenuComponent_edit_menu_helix_rolls_closure0(t0) { + this.$this = t0; + }, + MenuComponent_edit_menu_helix_rolls_closure1: function MenuComponent_edit_menu_helix_rolls_closure1(t0) { + this.$this = t0; + }, + MenuComponent_edit_menu_helix_rolls_closure2: function MenuComponent_edit_menu_helix_rolls_closure2(t0) { + this.$this = t0; + }, + MenuComponent_edit_menu_helix_rolls_closure3: function MenuComponent_edit_menu_helix_rolls_closure3(t0) { + this.$this = t0; + }, + MenuComponent_view_menu_autofit_closure: function MenuComponent_view_menu_autofit_closure() { + }, + MenuComponent_view_menu_autofit_closure0: function MenuComponent_view_menu_autofit_closure0(t0) { + this.$this = t0; + }, + MenuComponent_view_menu_warnings_closure: function MenuComponent_view_menu_warnings_closure(t0) { + this.$this = t0; + }, + MenuComponent_view_menu_warnings_closure0: function MenuComponent_view_menu_warnings_closure0(t0) { + this.$this = t0; + }, + MenuComponent_view_menu_warnings_closure1: function MenuComponent_view_menu_warnings_closure1(t0) { + this.$this = t0; + }, + MenuComponent_view_menu_show_labels_closure: function MenuComponent_view_menu_show_labels_closure(t0) { + this.$this = t0; + }, + MenuComponent_view_menu_show_labels_closure0: function MenuComponent_view_menu_show_labels_closure0(t0) { + this.$this = t0; + }, + MenuComponent_view_menu_show_labels_closure1: function MenuComponent_view_menu_show_labels_closure1(t0) { + this.$this = t0; + }, + MenuComponent_view_menu_show_labels_closure2: function MenuComponent_view_menu_show_labels_closure2(t0) { + this.$this = t0; + }, + MenuComponent_view_menu_show_labels_closure3: function MenuComponent_view_menu_show_labels_closure3(t0) { + this.$this = t0; + }, + MenuComponent_view_menu_show_labels_closure4: function MenuComponent_view_menu_show_labels_closure4(t0) { + this.$this = t0; + }, + MenuComponent_view_menu_show_labels_closure5: function MenuComponent_view_menu_show_labels_closure5(t0) { + this.$this = t0; + }, + MenuComponent_view_menu_show_labels_closure6: function MenuComponent_view_menu_show_labels_closure6(t0) { + this.$this = t0; + }, + MenuComponent_view_menu_mods_closure: function MenuComponent_view_menu_mods_closure(t0) { + this.$this = t0; + }, + MenuComponent_view_menu_mods_closure0: function MenuComponent_view_menu_mods_closure0(t0) { + this.$this = t0; + }, + MenuComponent_view_menu_mods_closure1: function MenuComponent_view_menu_mods_closure1(t0) { + this.$this = t0; + }, + MenuComponent_view_menu_helices_closure: function MenuComponent_view_menu_helices_closure(t0) { + this.$this = t0; + }, + MenuComponent_view_menu_helices_closure0: function MenuComponent_view_menu_helices_closure0(t0) { + this.$this = t0; + }, + MenuComponent_view_menu_helices_closure1: function MenuComponent_view_menu_helices_closure1(t0) { + this.$this = t0; + }, + MenuComponent_view_menu_helices_closure2: function MenuComponent_view_menu_helices_closure2(t0) { + this.$this = t0; + }, + MenuComponent_view_menu_display_major_ticks_options_closure: function MenuComponent_view_menu_display_major_ticks_options_closure(t0) { + this.$this = t0; + }, + MenuComponent_view_menu_display_major_ticks_options_closure0: function MenuComponent_view_menu_display_major_ticks_options_closure0(t0) { + this.$this = t0; + }, + MenuComponent_view_menu_display_major_ticks_options_closure1: function MenuComponent_view_menu_display_major_ticks_options_closure1(t0) { + this.$this = t0; + }, + MenuComponent_view_menu_display_major_ticks_options_closure2: function MenuComponent_view_menu_display_major_ticks_options_closure2(t0) { + this.$this = t0; + }, + MenuComponent_view_menu_display_major_ticks_options_closure3: function MenuComponent_view_menu_display_major_ticks_options_closure3(t0) { + this.$this = t0; + }, + MenuComponent_view_menu_display_major_ticks_options_closure4: function MenuComponent_view_menu_display_major_ticks_options_closure4(t0) { + this.$this = t0; + }, + MenuComponent_view_menu_base_pairs_closure: function MenuComponent_view_menu_base_pairs_closure(t0) { + this.$this = t0; + }, + MenuComponent_view_menu_base_pairs_closure0: function MenuComponent_view_menu_base_pairs_closure0(t0) { + this.$this = t0; + }, + MenuComponent_view_menu_base_pairs_closure1: function MenuComponent_view_menu_base_pairs_closure1(t0) { + this.$this = t0; + }, + MenuComponent_view_menu_dna_closure: function MenuComponent_view_menu_dna_closure(t0) { + this.$this = t0; + }, + MenuComponent_view_menu_dna_closure0: function MenuComponent_view_menu_dna_closure0(t0) { + this.$this = t0; + }, + MenuComponent_view_menu_show_oxview_closure: function MenuComponent_view_menu_show_oxview_closure(t0) { + this.$this = t0; + }, + MenuComponent_view_menu_zoom_speed_closure: function MenuComponent_view_menu_zoom_speed_closure(t0) { + this.$this = t0; + }, + MenuComponent_view_menu_misc_closure: function MenuComponent_view_menu_misc_closure(t0) { + this.$this = t0; + }, + MenuComponent_view_menu_misc_closure0: function MenuComponent_view_menu_misc_closure0(t0) { + this.$this = t0; + }, + MenuComponent_view_menu_misc_closure1: function MenuComponent_view_menu_misc_closure1(t0) { + this.$this = t0; + }, + MenuComponent_view_menu_misc_closure2: function MenuComponent_view_menu_misc_closure2(t0) { + this.$this = t0; + }, + MenuComponent_view_menu_misc_closure3: function MenuComponent_view_menu_misc_closure3(t0) { + this.$this = t0; + }, + MenuComponent_view_menu_misc_closure4: function MenuComponent_view_menu_misc_closure4(t0) { + this.$this = t0; + }, + MenuComponent_view_menu_misc_closure5: function MenuComponent_view_menu_misc_closure5(t0) { + this.$this = t0; + }, + MenuComponent_export_menu_closure: function MenuComponent_export_menu_closure(t0) { + this.$this = t0; + }, + MenuComponent_export_menu_closure0: function MenuComponent_export_menu_closure0(t0) { + this.$this = t0; + }, + MenuComponent_export_menu_closure1: function MenuComponent_export_menu_closure1(t0) { + this.$this = t0; + }, + MenuComponent_export_menu_closure2: function MenuComponent_export_menu_closure2(t0) { + this.$this = t0; + }, + MenuComponent_export_menu_closure3: function MenuComponent_export_menu_closure3() { + }, + MenuComponent_export_menu_closure4: function MenuComponent_export_menu_closure4(t0) { + this.$this = t0; + }, + MenuComponent_export_menu_closure5: function MenuComponent_export_menu_closure5(t0) { + this.$this = t0; + }, + MenuComponent_export_menu_closure6: function MenuComponent_export_menu_closure6(t0) { + this.$this = t0; + }, + MenuComponent_export_menu_closure7: function MenuComponent_export_menu_closure7(t0) { + this.$this = t0; + }, + MenuComponent_export_menu_closure8: function MenuComponent_export_menu_closure8(t0) { + this.$this = t0; + }, + MenuComponent_export_menu_closure9: function MenuComponent_export_menu_closure9(t0) { + this.$this = t0; + }, + MenuComponent_help_menu_closure: function MenuComponent_help_menu_closure() { + }, + request_load_file_from_file_chooser_closure: function request_load_file_from_file_chooser_closure(t0, t1, t2) { + this.onload_callback = t0; + this.file_reader = t1; + this.basefilename = t2; + }, + request_load_file_from_file_chooser_closure0: function request_load_file_from_file_chooser_closure0(t0) { + this.err_msg = t0; + }, + $MenuComponentFactory_closure: function $MenuComponentFactory_closure() { + }, + _$$MenuProps: function _$$MenuProps() { + }, + _$$MenuProps$PlainMap: function _$$MenuProps$PlainMap(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19, t20, t21, t22, t23, t24, t25, t26, t27, t28, t29, t30, t31, t32, t33, t34, t35, t36, t37, t38, t39, t40, t41, t42, t43, t44, t45, t46, t47, t48, t49, t50, t51, t52, t53, t54, t55, t56, t57, t58, t59, t60) { + var _ = this; + _._menu$_props = t0; + _.MenuPropsMixin_selected_ends = t1; + _.MenuPropsMixin_selection_box_intersection = t2; + _.MenuPropsMixin_no_grid_is_none = t3; + _.MenuPropsMixin_show_oxview = t4; + _.MenuPropsMixin_show_dna = t5; + _.MenuPropsMixin_show_strand_names = t6; + _.MenuPropsMixin_show_strand_labels = t7; + _.MenuPropsMixin_show_domain_names = t8; + _.MenuPropsMixin_show_domain_labels = t9; + _.MenuPropsMixin_strand_name_font_size = t10; + _.MenuPropsMixin_strand_label_font_size = t11; + _.MenuPropsMixin_domain_name_font_size = t12; + _.MenuPropsMixin_domain_label_font_size = t13; + _.MenuPropsMixin_zoom_speed = t14; + _.MenuPropsMixin_show_modifications = t15; + _.MenuPropsMixin_modification_font_size = t16; + _.MenuPropsMixin_major_tick_offset_font_size = t17; + _.MenuPropsMixin_major_tick_width_font_size = t18; + _.MenuPropsMixin_modification_display_connector = t19; + _.MenuPropsMixin_show_mismatches = t20; + _.MenuPropsMixin_show_domain_name_mismatches = t21; + _.MenuPropsMixin_show_unpaired_insertion_deletions = t22; + _.MenuPropsMixin_strand_paste_keep_color = t23; + _.MenuPropsMixin_autofit = t24; + _.MenuPropsMixin_only_display_selected_helices = t25; + _.MenuPropsMixin_example_designs = t26; + _.MenuPropsMixin_base_pair_display_type = t27; + _.MenuPropsMixin_design_has_insertions_or_deletions = t28; + _.MenuPropsMixin_undo_stack_empty = t29; + _.MenuPropsMixin_redo_stack_empty = t30; + _.MenuPropsMixin_enable_copy = t31; + _.MenuPropsMixin_dynamically_update_helices = t32; + _.MenuPropsMixin_show_base_pair_lines = t33; + _.MenuPropsMixin_show_base_pair_lines_with_mismatches = t34; + _.MenuPropsMixin_display_of_major_ticks_offsets = t35; + _.MenuPropsMixin_display_base_offsets_of_major_ticks_only_first_helix = t36; + _.MenuPropsMixin_display_major_tick_widths = t37; + _.MenuPropsMixin_display_major_tick_widths_all_helices = t38; + _.MenuPropsMixin_invert_y = t39; + _.MenuPropsMixin_warn_on_exit_if_unsaved = t40; + _.MenuPropsMixin_show_helix_circles_main_view = t41; + _.MenuPropsMixin_show_helix_components_main_view = t42; + _.MenuPropsMixin_show_grid_coordinates_side_view = t43; + _.MenuPropsMixin_show_helices_axis_arrows = t44; + _.MenuPropsMixin_show_loopout_extension_length = t45; + _.MenuPropsMixin_show_mouseover_data = t46; + _.MenuPropsMixin_disable_png_caching_dna_sequences = t47; + _.MenuPropsMixin_retain_strand_color_on_selection = t48; + _.MenuPropsMixin_display_reverse_DNA_right_side_up = t49; + _.MenuPropsMixin_default_crossover_type_scaffold_for_setting_helix_rolls = t50; + _.MenuPropsMixin_default_crossover_type_staple_for_setting_helix_rolls = t51; + _.MenuPropsMixin_export_svg_text_separately = t52; + _.MenuPropsMixin_ox_export_only_selected_strands = t53; + _.MenuPropsMixin_local_storage_design_choice = t54; + _.MenuPropsMixin_clear_helix_selection_when_loading_new_design = t55; + _.MenuPropsMixin_show_slice_bar = t56; + _.MenuPropsMixin_geometry = t57; + _.MenuPropsMixin_undo_redo = t58; + _.componentFactory = null; + _.UbiquitousDomPropsMixin__aria = t59; + _.UbiquitousDomPropsMixin__dom = t60; + }, + _$$MenuProps$JsMap: function _$$MenuProps$JsMap(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19, t20, t21, t22, t23, t24, t25, t26, t27, t28, t29, t30, t31, t32, t33, t34, t35, t36, t37, t38, t39, t40, t41, t42, t43, t44, t45, t46, t47, t48, t49, t50, t51, t52, t53, t54, t55, t56, t57, t58, t59, t60) { + var _ = this; + _._menu$_props = t0; + _.MenuPropsMixin_selected_ends = t1; + _.MenuPropsMixin_selection_box_intersection = t2; + _.MenuPropsMixin_no_grid_is_none = t3; + _.MenuPropsMixin_show_oxview = t4; + _.MenuPropsMixin_show_dna = t5; + _.MenuPropsMixin_show_strand_names = t6; + _.MenuPropsMixin_show_strand_labels = t7; + _.MenuPropsMixin_show_domain_names = t8; + _.MenuPropsMixin_show_domain_labels = t9; + _.MenuPropsMixin_strand_name_font_size = t10; + _.MenuPropsMixin_strand_label_font_size = t11; + _.MenuPropsMixin_domain_name_font_size = t12; + _.MenuPropsMixin_domain_label_font_size = t13; + _.MenuPropsMixin_zoom_speed = t14; + _.MenuPropsMixin_show_modifications = t15; + _.MenuPropsMixin_modification_font_size = t16; + _.MenuPropsMixin_major_tick_offset_font_size = t17; + _.MenuPropsMixin_major_tick_width_font_size = t18; + _.MenuPropsMixin_modification_display_connector = t19; + _.MenuPropsMixin_show_mismatches = t20; + _.MenuPropsMixin_show_domain_name_mismatches = t21; + _.MenuPropsMixin_show_unpaired_insertion_deletions = t22; + _.MenuPropsMixin_strand_paste_keep_color = t23; + _.MenuPropsMixin_autofit = t24; + _.MenuPropsMixin_only_display_selected_helices = t25; + _.MenuPropsMixin_example_designs = t26; + _.MenuPropsMixin_base_pair_display_type = t27; + _.MenuPropsMixin_design_has_insertions_or_deletions = t28; + _.MenuPropsMixin_undo_stack_empty = t29; + _.MenuPropsMixin_redo_stack_empty = t30; + _.MenuPropsMixin_enable_copy = t31; + _.MenuPropsMixin_dynamically_update_helices = t32; + _.MenuPropsMixin_show_base_pair_lines = t33; + _.MenuPropsMixin_show_base_pair_lines_with_mismatches = t34; + _.MenuPropsMixin_display_of_major_ticks_offsets = t35; + _.MenuPropsMixin_display_base_offsets_of_major_ticks_only_first_helix = t36; + _.MenuPropsMixin_display_major_tick_widths = t37; + _.MenuPropsMixin_display_major_tick_widths_all_helices = t38; + _.MenuPropsMixin_invert_y = t39; + _.MenuPropsMixin_warn_on_exit_if_unsaved = t40; + _.MenuPropsMixin_show_helix_circles_main_view = t41; + _.MenuPropsMixin_show_helix_components_main_view = t42; + _.MenuPropsMixin_show_grid_coordinates_side_view = t43; + _.MenuPropsMixin_show_helices_axis_arrows = t44; + _.MenuPropsMixin_show_loopout_extension_length = t45; + _.MenuPropsMixin_show_mouseover_data = t46; + _.MenuPropsMixin_disable_png_caching_dna_sequences = t47; + _.MenuPropsMixin_retain_strand_color_on_selection = t48; + _.MenuPropsMixin_display_reverse_DNA_right_side_up = t49; + _.MenuPropsMixin_default_crossover_type_scaffold_for_setting_helix_rolls = t50; + _.MenuPropsMixin_default_crossover_type_staple_for_setting_helix_rolls = t51; + _.MenuPropsMixin_export_svg_text_separately = t52; + _.MenuPropsMixin_ox_export_only_selected_strands = t53; + _.MenuPropsMixin_local_storage_design_choice = t54; + _.MenuPropsMixin_clear_helix_selection_when_loading_new_design = t55; + _.MenuPropsMixin_show_slice_bar = t56; + _.MenuPropsMixin_geometry = t57; + _.MenuPropsMixin_undo_redo = t58; + _.componentFactory = null; + _.UbiquitousDomPropsMixin__aria = t59; + _.UbiquitousDomPropsMixin__dom = t60; + }, + _$MenuComponent: function _$MenuComponent(t0, t1, t2, t3) { + var _ = this; + _._menu$_cachedTypedProps = null; + _.RedrawCounterMixin__desiredRedrawCount = t0; + _.RedrawCounterMixin__didRedraw = t1; + _.RedrawCounterMixin_redrawCount = t2; + _.DisposableManagerProxy__disposableProxy = t3; + _.jsThis = _.state = _.props = null; + }, + $MenuPropsMixin: function $MenuPropsMixin() { + }, + _MenuComponent_UiComponent2_RedrawCounterMixin: function _MenuComponent_UiComponent2_RedrawCounterMixin() { + }, + __$$MenuProps_UiProps_MenuPropsMixin: function __$$MenuProps_UiProps_MenuPropsMixin() { + }, + __$$MenuProps_UiProps_MenuPropsMixin_$MenuPropsMixin: function __$$MenuProps_UiProps_MenuPropsMixin_$MenuPropsMixin() { + }, + __$$MenuProps_UiProps_MenuPropsMixin_$MenuPropsMixin_ConnectPropsMixin: function __$$MenuProps_UiProps_MenuPropsMixin_$MenuPropsMixin_ConnectPropsMixin() { + }, + __$$MenuProps_UiProps_MenuPropsMixin_$MenuPropsMixin_ConnectPropsMixin_$ConnectPropsMixin: function __$$MenuProps_UiProps_MenuPropsMixin_$MenuPropsMixin_ConnectPropsMixin_$ConnectPropsMixin() { + }, + OxviewViewComponent: function OxviewViewComponent() { + this.frame = this.div = null; + }, + _$SelectMode: function(backingProps) { + type$.legacy_Map_dynamic_dynamic._as(backingProps); + return backingProps == null ? D._$$SelectModeProps$JsMap$(new L.JsBackedMap({})) : D._$$SelectModeProps__$$SelectModeProps(backingProps); + }, + _$$SelectModeProps__$$SelectModeProps: function(backingMap) { + var t1, _null = null; + if (backingMap instanceof L.JsBackedMap) + return D._$$SelectModeProps$JsMap$(backingMap); + else { + t1 = type$.dynamic; + t1 = new D._$$SelectModeProps$PlainMap(P.LinkedHashMap_LinkedHashMap$_empty(t1, t1), _null, _null, _null, _null); + t1.get$$$isClassGenerated(); + t1._select_mode$_props = backingMap; + return t1; + } + }, + _$$SelectModeProps$JsMap$: function(backingMap) { + var _null = null, + t1 = new D._$$SelectModeProps$JsMap(new L.JsBackedMap({}), _null, _null, _null, _null); + t1.get$$$isClassGenerated(); + t1._select_mode$_props = backingMap == null ? new L.JsBackedMap({}) : backingMap; + return t1; + }, + SelectModePropsMixin: function SelectModePropsMixin() { + }, + SelectModeComponent: function SelectModeComponent() { + }, + SelectModeComponent_render_closure: function SelectModeComponent_render_closure() { + }, + SelectModeComponent_render_closure0: function SelectModeComponent_render_closure0(t0) { + this.mode = t0; + }, + $SelectModeComponentFactory_closure: function $SelectModeComponentFactory_closure() { + }, + _$$SelectModeProps: function _$$SelectModeProps() { + }, + _$$SelectModeProps$PlainMap: function _$$SelectModeProps$PlainMap(t0, t1, t2, t3, t4) { + var _ = this; + _._select_mode$_props = t0; + _.SelectModePropsMixin_select_mode_state = t1; + _.SelectModePropsMixin_is_origami = t2; + _.componentFactory = null; + _.UbiquitousDomPropsMixin__aria = t3; + _.UbiquitousDomPropsMixin__dom = t4; + }, + _$$SelectModeProps$JsMap: function _$$SelectModeProps$JsMap(t0, t1, t2, t3, t4) { + var _ = this; + _._select_mode$_props = t0; + _.SelectModePropsMixin_select_mode_state = t1; + _.SelectModePropsMixin_is_origami = t2; + _.componentFactory = null; + _.UbiquitousDomPropsMixin__aria = t3; + _.UbiquitousDomPropsMixin__dom = t4; + }, + _$SelectModeComponent: function _$SelectModeComponent(t0, t1, t2, t3) { + var _ = this; + _._select_mode$_cachedTypedProps = null; + _.RedrawCounterMixin__desiredRedrawCount = t0; + _.RedrawCounterMixin__didRedraw = t1; + _.RedrawCounterMixin_redrawCount = t2; + _.DisposableManagerProxy__disposableProxy = t3; + _.jsThis = _.state = _.props = null; + }, + $SelectModePropsMixin: function $SelectModePropsMixin() { + }, + _SelectModeComponent_UiComponent2_RedrawCounterMixin: function _SelectModeComponent_UiComponent2_RedrawCounterMixin() { + }, + __$$SelectModeProps_UiProps_SelectModePropsMixin: function __$$SelectModeProps_UiProps_SelectModePropsMixin() { + }, + __$$SelectModeProps_UiProps_SelectModePropsMixin_$SelectModePropsMixin: function __$$SelectModeProps_UiProps_SelectModePropsMixin_$SelectModePropsMixin() { + }, + __$$SelectModeProps_UiProps_SelectModePropsMixin_$SelectModePropsMixin_ConnectPropsMixin: function __$$SelectModeProps_UiProps_SelectModePropsMixin_$SelectModePropsMixin_ConnectPropsMixin() { + }, + __$$SelectModeProps_UiProps_SelectModePropsMixin_$SelectModePropsMixin_ConnectPropsMixin_$ConnectPropsMixin: function __$$SelectModeProps_UiProps_SelectModePropsMixin_$SelectModePropsMixin_ConnectPropsMixin_$ConnectPropsMixin() { + }, + SourceLocationMixin: function SourceLocationMixin() { + }, + DisposableState: function DisposableState(t0) { + this._disposable_state$_name = t0; + }, + XmlAttributeType: function XmlAttributeType(t0) { + this._attribute_type$_name = t0; + }, + current: function() { + var exception, t1, path, lastIndex, uri = null; + try { + uri = P.Uri_base(); + } catch (exception) { + if (type$.Exception._is(H.unwrapException(exception))) { + t1 = $._current; + if (t1 != null) + return t1; + throw exception; + } else + throw exception; + } + if (J.$eq$(uri, $._currentUriBase)) { + t1 = $._current; + t1.toString; + return t1; + } + $._currentUriBase = uri; + if ($.$get$Style_platform() == $.$get$Style_url()) + t1 = $._current = uri.resolve$1(".").toString$0(0); + else { + path = uri.toFilePath$0(); + lastIndex = path.length - 1; + t1 = $._current = lastIndex === 0 ? path : C.JSString_methods.substring$2(path, 0, lastIndex); + } + t1.toString; + return t1; + }, + edit_select_mode_change_middleware: function(store, action, next) { + var select_modes, edit_modes, design; + type$.legacy_Store_legacy_AppState._as(store); + type$.legacy_dynamic_Function_dynamic._as(next).call$1(action); + if (action instanceof U.EditModesSet || action instanceof U.EditModeToggle || action instanceof U.SelectModesSet || action instanceof U.SelectModesAdd || action instanceof U.SelectModeToggle || action instanceof U.SetAppUIStateStorable) { + select_modes = store.get$state(store).ui_state.storables.select_mode_state.modes; + edit_modes = store.get$state(store).ui_state.storables.edit_modes; + design = store.get$state(store).design; + if (design != null) + D.set_selectables_css_style_rules(design, edit_modes, select_modes); + } + }, + set_selectables_css_style_rules: function(design, edit_modes, select_modes) { + var all_parts_selectable, t2, t3, _i, select_mode_choice, t4, select_mode_contains_part, selectable_css_style_this_choice, all_strand_selector, staple_only_selector, scaffold_selector, stylesheet, idx, + t1 = edit_modes._set, + edit_mode_is_select_or_rope = t1.contains$1(0, C.EditModeChoice_select) || t1.contains$1(0, C.EditModeChoice_rope_select), + scaffold_parts_selectable = edit_mode_is_select_or_rope && design.get$is_origami() && select_modes._set.contains$1(0, C.SelectModeChoice_scaffold), + staple_parts_selectable = edit_mode_is_select_or_rope && design.get$is_origami() && select_modes._set.contains$1(0, C.SelectModeChoice_staple); + if (edit_mode_is_select_or_rope) + if (design.get$is_origami()) { + t1 = scaffold_parts_selectable && staple_parts_selectable; + all_parts_selectable = t1; + } else + all_parts_selectable = true; + else + all_parts_selectable = false; + for (t1 = H.setRuntimeTypeInfo([C.SelectModeChoice_strand], type$.JSArray_legacy_SelectModeChoice), t2 = $.$get$SelectModeChoice_strand_parts(), t2 = C.JSArray_methods.$add(t1, new Q.CopyOnWriteList(true, t2._list, H._instanceType(t2)._eval$1("CopyOnWriteList<1>"))), t1 = t2.length, t3 = type$.legacy_Map_of_legacy_String_and_legacy_String, _i = 0; _i < t2.length; t2.length === t1 || (0, H.throwConcurrentModificationError)(t2), ++_i) { + select_mode_choice = t2[_i]; + t4 = design.__is_origami; + if (t4 == null) + t4 = design.__is_origami = N.Design.prototype.get$is_origami.call(design); + select_mode_contains_part = select_modes._set.contains$1(0, select_mode_choice); + if (J.contains$1$asx($.$get$SelectModeChoice_ends()._list, select_mode_choice)) + selectable_css_style_this_choice = C.Map_CNaF8; + else + selectable_css_style_this_choice = C.SelectModeChoice_domain === select_mode_choice ? C.Map_GN46y : C.Map_OgmUV; + all_strand_selector = "." + select_mode_choice.css_selector$0() + ":hover"; + staple_only_selector = ":not(." + C.SelectModeChoice_scaffold.css_selector$0() + ")." + select_mode_choice.css_selector$0() + ":hover"; + scaffold_selector = "." + C.SelectModeChoice_scaffold.css_selector$0() + "." + select_mode_choice.css_selector$0() + ":hover"; + if (!edit_mode_is_select_or_rope || !select_mode_contains_part) { + stylesheet = E.get_scadnano_stylesheet(); + idx = D.style_rule_index_with_selector(stylesheet, all_strand_selector); + if (idx != null) + C.CssStyleSheet_methods.removeRule$1(stylesheet, idx); + stylesheet = E.get_scadnano_stylesheet(); + idx = D.style_rule_index_with_selector(stylesheet, staple_only_selector); + if (idx != null) + C.CssStyleSheet_methods.removeRule$1(stylesheet, idx); + stylesheet = E.get_scadnano_stylesheet(); + idx = D.style_rule_index_with_selector(stylesheet, scaffold_selector); + if (idx != null) + C.CssStyleSheet_methods.removeRule$1(stylesheet, idx); + } else if (!t4 || all_parts_selectable) { + t3._as(selectable_css_style_this_choice); + D.css_class_set_style(all_strand_selector, selectable_css_style_this_choice); + D.css_class_set_style(staple_only_selector, selectable_css_style_this_choice); + D.css_class_set_style(scaffold_selector, selectable_css_style_this_choice); + } else if (scaffold_parts_selectable) { + stylesheet = E.get_scadnano_stylesheet(); + idx = D.style_rule_index_with_selector(stylesheet, all_strand_selector); + if (idx != null) + C.CssStyleSheet_methods.removeRule$1(stylesheet, idx); + stylesheet = E.get_scadnano_stylesheet(); + idx = D.style_rule_index_with_selector(stylesheet, staple_only_selector); + if (idx != null) + C.CssStyleSheet_methods.removeRule$1(stylesheet, idx); + D.css_class_set_style(scaffold_selector, t3._as(selectable_css_style_this_choice)); + } else if (staple_parts_selectable) { + stylesheet = E.get_scadnano_stylesheet(); + idx = D.style_rule_index_with_selector(stylesheet, all_strand_selector); + if (idx != null) + C.CssStyleSheet_methods.removeRule$1(stylesheet, idx); + D.css_class_set_style(staple_only_selector, t3._as(selectable_css_style_this_choice)); + stylesheet = E.get_scadnano_stylesheet(); + idx = D.style_rule_index_with_selector(stylesheet, scaffold_selector); + if (idx != null) + C.CssStyleSheet_methods.removeRule$1(stylesheet, idx); + } else { + stylesheet = E.get_scadnano_stylesheet(); + idx = D.style_rule_index_with_selector(stylesheet, all_strand_selector); + if (idx != null) + C.CssStyleSheet_methods.removeRule$1(stylesheet, idx); + stylesheet = E.get_scadnano_stylesheet(); + idx = D.style_rule_index_with_selector(stylesheet, staple_only_selector); + if (idx != null) + C.CssStyleSheet_methods.removeRule$1(stylesheet, idx); + stylesheet = E.get_scadnano_stylesheet(); + idx = D.style_rule_index_with_selector(stylesheet, scaffold_selector); + if (idx != null) + C.CssStyleSheet_methods.removeRule$1(stylesheet, idx); + } + } + }, + css_class_set_style: function(selector, new_style_map) { + var t1, t2, new_index, rule, style, style_val, value, + stylesheet = E.get_scadnano_stylesheet(), + idx = D.style_rule_index_with_selector(stylesheet, selector); + if (idx == null) + t1 = null; + else { + t1 = stylesheet.cssRules; + if (idx !== (idx | 0) || idx >= t1.length) + return H.ioore(t1, idx); + t1 = t1[idx]; + } + t2 = type$.legacy_CssStyleRule; + t2._as(t1); + if (t1 == null) { + new_index = stylesheet.insertRule(selector + " {}"); + rule = t2._as(C._CssRuleList_methods.$index(stylesheet.cssRules, new_index)); + } else + rule = t1; + style = rule.style; + for (t1 = J.get$iterator$ax(new_style_map.get$keys(new_style_map)); t1.moveNext$0();) { + t2 = t1.get$current(t1); + style_val = new_style_map.$index(0, t2); + style.toString; + t2 = C.CssStyleDeclaration_methods._browserPropertyName$1(style, t2); + value = style_val == null ? "" : style_val; + style.setProperty(t2, value, ""); + } + }, + style_rule_index_with_selector: function(stylesheet, selector) { + var t1, t2, t3, i, rule; + for (t1 = stylesheet.cssRules, t2 = t1.length, t3 = type$.legacy_CssStyleRule, i = 0; i < t2; ++i) { + rule = t1[i]; + if (t3._is(rule) && rule.selectorText === selector) + return i; + } + return null; + }, + reselect_moved_dna_ends_middleware: function(store, action, next) { + var t1, addresses, t2, old_end, t3, t4, old_substrand, new_offset, new_ends, _i, address; + type$.legacy_Store_legacy_AppState._as(store); + type$.legacy_dynamic_Function_dynamic._as(next); + if (action instanceof U.DNAEndsMoveCommit) { + t1 = J.get$length$asx(action.dna_ends_move.moves._list); + if (typeof t1 !== "number") + return t1.$gt(); + t1 = t1 > 1; + } else + t1 = false; + if (t1) { + addresses = H.setRuntimeTypeInfo([], type$.JSArray_legacy_Address); + for (t1 = action.dna_ends_move, t2 = J.get$iterator$ax(t1.moves._list); t2.moveNext$0();) { + old_end = t2.get$current(t2).dna_end; + t3 = store.get$state(store).design; + t4 = t3.__end_to_domain; + if (t4 == null) { + t4 = N.Design.prototype.get$end_to_domain.call(t3); + t3.set$__end_to_domain(t4); + t3 = t4; + } else + t3 = t4; + old_substrand = J.$index$asx(t3._map$_map, old_end); + new_offset = t1.current_capped_offset_of$1(old_end); + t3 = old_substrand.helix; + t4 = old_substrand.forward; + if (new_offset == null) + H.throwExpression(Y.BuiltValueNullFieldError$("Address", "offset")); + C.JSArray_methods.add$1(addresses, new Z._$Address(t3, new_offset, t4)); + } + next.call$1(action); + new_ends = H.setRuntimeTypeInfo([], type$.JSArray_legacy_DNAEnd); + for (t1 = addresses.length, _i = 0; _i < addresses.length; addresses.length === t1 || (0, H.throwConcurrentModificationError)(addresses), ++_i) { + address = addresses[_i]; + t2 = store.get$state(store).design; + t3 = t2.__address_to_end; + if (t3 == null) { + t3 = N.Design.prototype.get$address_to_end.call(t2); + t2.set$__address_to_end(t3); + t2 = t3; + } else + t2 = t3; + C.JSArray_methods.add$1(new_ends, J.$index$asx(t2._map$_map, address)); + } + store.dispatch$1(U._$SelectAll$_(true, D.BuiltList_BuiltList$of(new_ends, type$.legacy_DNAEnd))); + } else + next.call$1(action); + } + }, + B = { + ArchiveFile$: function($name, size, $content, _compressionType) { + var t2, + t1 = new B.ArchiveFile($name, size, C.JSInt_methods._tdivFast$1(Date.now(), 1000), _compressionType); + $name.toString; + t1.name = H.stringReplaceAllUnchecked($name, "\\", "/"); + if (type$.Uint8List._is($content)) { + t1._archive_file$_content = $content; + t1._rawContent = T.InputStream$($content, 0, null, 0); + if (typeof size !== "number") + return size.$le(); + if (size <= 0) + t1.size = J.get$length$asx($content); + } else if (type$.TypedData._is($content)) { + t2 = t1._archive_file$_content = J.asUint8List$2$x(J.get$buffer$x($content), 0, null); + t1._rawContent = T.InputStream$(t2, 0, null, 0); + if (typeof size !== "number") + return size.$le(); + if (size <= 0) + t1.size = J.get$length$asx(t2); + } else if (type$.List_int._is($content)) { + t1._archive_file$_content = $content; + t1._rawContent = T.InputStream$($content, 0, null, 0); + if (typeof size !== "number") + return size.$le(); + if (size <= 0) + t1.size = J.get$length$asx($content); + } else if ($content instanceof X.FileContent) + t1._archive_file$_content = $content; + return t1; + }, + ArchiveFile: function ArchiveFile(t0, t1, t2, t3) { + var _ = this; + _.name = t0; + _.size = t1; + _.mode = 420; + _.lastModTime = t2; + _.isFile = true; + _.crc32 = null; + _.compress = true; + _._compressionType = t3; + _._archive_file$_content = _._rawContent = null; + }, + IntSerializer: function IntSerializer(t0) { + this.types = t0; + }, + UngeneratedError$: function(member, message) { + return new B.UngeneratedError(H.S(message)); + }, + GeneratedClass: function GeneratedClass() { + }, + UiProps0: function UiProps0() { + }, + UiState: function UiState() { + }, + UngeneratedError: function UngeneratedError(t0) { + this.message = t0; + }, + _UiProps_UiProps_GeneratedClass: function _UiProps_UiProps_GeneratedClass() { + }, + _UiState_UiState_GeneratedClass: function _UiState_UiState_GeneratedClass() { + }, + enforceMinimumComponentVersionFor: function(component) { + if (typeof component.get$type(component) == "string") + return; + if (J.$eq$(J.get$dartComponentVersion$x(component.get$type(component)), "1")) + throw H.wrapException(P.ArgumentError$(R.unindent(" The UiFactory provided should not be for a UiComponent or Component.\n \n Instead, use a different factory (such as UiComponent2 or Component2).\n "))); + }, + ComponentTypeMeta: function ComponentTypeMeta(t0) { + this.isWrapper = t0; + }, + InternalStyle: function InternalStyle() { + }, + Failure: function Failure(t0, t1, t2, t3) { + var _ = this; + _.message = t0; + _.buffer = t1; + _.position = t2; + _.$ti = t3; + }, + TypedReducer$: function(reducer, State, Action) { + return new B.TypedReducer(reducer, State._eval$1("@<0>")._bind$1(Action)._eval$1("TypedReducer<1,2>")); + }, + combineReducers: function(reducers, State) { + return new B.combineReducers_closure(reducers, State); + }, + TypedReducer: function TypedReducer(t0, t1) { + this.reducer = t0; + this.$ti = t1; + }, + combineReducers_closure: function combineReducers_closure(t0, t1) { + this.reducers = t0; + this.State = t1; + }, + helix_positions_set_based_on_crossovers_middleware: function(store, action, next) { + type$.legacy_Store_legacy_AppState._as(store); + type$.legacy_dynamic_Function_dynamic._as(next).call$1(action); + if (action instanceof U.HelicesPositionsSetBasedOnCrossovers) + store.dispatch$1(U.BatchAction_BatchAction(B.get_helix_position_and_roll_actions(store.get$state(store)), "set helix coordinates based on crossovers")); + }, + get_helix_position_and_roll_actions: function(state) { + var t1, t2, t3, t4, all_actions, helices, addresses, + group_names_to_skip = H.setRuntimeTypeInfo([], type$.JSArray_legacy_String); + for (t1 = state.design, t2 = t1.groups, t3 = J.get$iterator$ax(t2.get$keys(t2)); t3.moveNext$0();) { + t4 = t3.get$current(t3); + if (J.$index$asx(t2._map$_map, t4).grid !== C.Grid_none) + C.JSArray_methods.add$1(group_names_to_skip, t4); + } + if (group_names_to_skip.length !== 0) + C.Window_methods.alert$1(window, "Skipping helix groups " + C.JSArray_methods.join$1(group_names_to_skip, ", ") + ' because their grids are not "none".'); + all_actions = H.setRuntimeTypeInfo([], type$.JSArray_legacy_UndoableAction); + for (t3 = J.get$iterator$ax(t2.get$keys(t2)); t3.moveNext$0();) { + t4 = t3.get$current(t3); + if (C.JSArray_methods.contains$1(group_names_to_skip, t4)) + continue; + helices = B._get_helices_to_process(state, J.$index$asx(t2._map$_map, t4)); + addresses = B._get_addresses_to_process(state, helices); + if (addresses == null) + continue; + C.JSArray_methods.addAll$1(all_actions, B.set_rolls_and_positions(helices, B._calculate_rolls_and_positions(t1, helices, addresses, J.$index$asx(helices, 0).roll))); + } + return all_actions; + }, + _get_helices_to_process: function(state, group) { + var helices, t2, t3, + design = state.design, + t1 = state.ui_state.storables.side_selected_helix_idxs._set; + if (t1.get$isEmpty(t1)) { + t1 = design.helices; + helices = J.toList$0$ax(t1.get$values(t1)); + } else { + t2 = H.setRuntimeTypeInfo([], type$.JSArray_legacy_Helix); + for (t1 = t1.get$iterator(t1); t1.moveNext$0();) { + t3 = t1.get$current(t1); + t2.push(J.$index$asx(design.helices._map$_map, t3)); + } + helices = t2; + } + J.sort$1$ax(helices, new B._get_helices_to_process_closure(group)); + return helices; + }, + _get_addresses_to_process: function(state, helices) { + var t5, helix_top, helix_bot, t6, addresses_crossovers_this_helices_pair, t7, address_top, address_bot, use_scaffold, use_staple, address_top_bot, + design = state.design, + t1 = state.ui_state, + addresses_of_selected_crossovers_by_prev_helix_idx = B._get_addresses_of_selected_crossovers_by_prev_helix_idx(t1.selectables_store.get$selected_crossovers(), helices, design), + addresses = H.setRuntimeTypeInfo([], type$.JSArray_legacy_Tuple2_of_legacy_Address_and_legacy_Address), + t2 = J.getInterceptor$asx(helices), + t3 = type$.Tuple2_of_legacy_Address_and_legacy_Address, + t4 = type$.Tuple2_of_legacy_int_and_legacy_int, + i = 0; + while (true) { + t5 = t2.get$length(helices); + if (typeof t5 !== "number") + return t5.$sub(); + if (!(i < t5 - 1)) + break; + helix_top = t2.$index(helices, i); + ++i; + helix_bot = t2.$index(helices, i); + t5 = helix_top.idx; + t6 = helix_bot.idx; + addresses_crossovers_this_helices_pair = addresses_of_selected_crossovers_by_prev_helix_idx.$index(0, new S.Tuple2(t5, t6, t4)); + t7 = addresses_crossovers_this_helices_pair.length; + if (t7 > 1) { + E.async_alert("You can select at most one crossover between any pair of adjacent helices.\nBut you have selected multiple crossovers between helices " + t5 + " and " + t6 + ".\nPlease select only one, or select none to default to the first crossover between the helices.\n"); + return null; + } else if (t7 === 1) { + address_top = (addresses_crossovers_this_helices_pair && C.JSArray_methods).get$first(addresses_crossovers_this_helices_pair).item1; + address_bot = C.JSArray_methods.get$first(addresses_crossovers_this_helices_pair).item2; + } else { + t7 = t1.storables; + use_scaffold = t7.default_crossover_type_scaffold_for_setting_helix_rolls; + use_staple = t7.default_crossover_type_staple_for_setting_helix_rolls; + t7 = design.__is_origami; + if (!(t7 == null ? design.__is_origami = N.Design.prototype.get$is_origami.call(design) : t7)) { + use_scaffold = true; + use_staple = true; + } + address_top_bot = B._first_crossover_addresses_between_helices(helix_top, helix_bot, design, use_scaffold, use_staple); + if (address_top_bot == null) { + E.async_alert("Must have at least one crossover between helices " + t5 + " and " + t6); + return null; + } + address_top = address_top_bot.item1; + address_bot = address_top_bot.item2; + } + C.JSArray_methods.add$1(addresses, new S.Tuple2(address_top, address_bot, t3)); + } + return addresses; + }, + _first_crossover_addresses_between_helices: function(helix_top, helix_bot, design, use_scaffold, use_staple) { + var t1, t2, crossover_top, t3, t4, + address_crossovers_on_top = J.$index$asx(design.get$address_crossover_pairs_by_helix_idx()._map$_map, helix_top.idx), + address_crossovers_on_bot = J.$index$asx(design.get$address_crossover_pairs_by_helix_idx()._map$_map, helix_bot.idx); + if (!use_scaffold) { + address_crossovers_on_bot.toString; + address_crossovers_on_bot = D.BuiltList_BuiltList$of(J.where$1$ax(address_crossovers_on_bot._list, address_crossovers_on_bot.$ti._eval$1("bool(1)")._as(new B._first_crossover_addresses_between_helices_closure())), type$.legacy_Tuple2_of_legacy_Address_and_legacy_Crossover); + } + if (!use_staple) { + address_crossovers_on_bot.toString; + address_crossovers_on_bot = D.BuiltList_BuiltList$of(J.where$1$ax(address_crossovers_on_bot._list, address_crossovers_on_bot.$ti._eval$1("bool(1)")._as(new B._first_crossover_addresses_between_helices_closure0())), type$.legacy_Tuple2_of_legacy_Address_and_legacy_Crossover); + } + for (t1 = J.get$iterator$ax(address_crossovers_on_top._list); t1.moveNext$0();) { + t2 = t1.get$current(t1); + crossover_top = t2.item2; + for (t3 = J.get$iterator$ax(address_crossovers_on_bot._list); t3.moveNext$0();) { + t4 = t3.get$current(t3); + if (J.$eq$(t4.item2, crossover_top)) + return new S.Tuple2(t2.item1, t4.item1, type$.Tuple2_of_legacy_Address_and_legacy_Address); + } + } + return null; + }, + _get_addresses_of_selected_crossovers_by_prev_helix_idx: function(selected_crossovers, helices, design) { + var t4, i0, t5, t6, t7, t8, prev_dom, next_dom, prev_idx, next_idx, pair_idxs, pair_idxs_rev, dom_bot, dom_top, prev_is_top, offset_top, offset_bot, + addresses_top_bot_crossovers = P.LinkedHashMap_LinkedHashMap$_empty(type$.legacy_Tuple2_of_legacy_int_and_legacy_int, type$.legacy_List_legacy_Tuple2_of_legacy_Address_and_legacy_Address), + t1 = J.getInterceptor$asx(helices), + t2 = type$.Tuple2_of_legacy_int_and_legacy_int, + t3 = type$.JSArray_legacy_Tuple2_of_legacy_Address_and_legacy_Address, + i = 0; + while (true) { + t4 = t1.get$length(helices); + if (typeof t4 !== "number") + return t4.$sub(); + if (!(i < t4 - 1)) + break; + i0 = i + 1; + addresses_top_bot_crossovers.$indexSet(0, new S.Tuple2(t1.$index(helices, i).idx, t1.$index(helices, i0).idx, t2), H.setRuntimeTypeInfo([], t3)); + i = i0; + } + for (t1 = selected_crossovers._set, t1 = t1.get$iterator(t1), t3 = type$.legacy_Domain, t4 = type$.Tuple2_of_legacy_Address_and_legacy_Address; t1.moveNext$0();) { + t5 = t1.get$current(t1); + t6 = design.__crossover_to_strand; + if (t6 == null) { + t6 = N.Design.prototype.get$crossover_to_strand.call(design); + design.set$__crossover_to_strand(t6); + } + t6 = J.$index$asx(t6._map$_map, t5).substrands; + t7 = t5.prev_domain_idx; + t6 = t6._list; + t8 = J.getInterceptor$asx(t6); + prev_dom = t3._as(t8.$index(t6, t7)); + next_dom = t3._as(t8.$index(t6, t5.next_domain_idx)); + prev_idx = prev_dom.helix; + next_idx = next_dom.helix; + pair_idxs = new S.Tuple2(prev_idx, next_idx, t2); + pair_idxs_rev = new S.Tuple2(next_idx, prev_idx, t2); + if (addresses_top_bot_crossovers.containsKey$1(0, pair_idxs) || addresses_top_bot_crossovers.containsKey$1(0, pair_idxs_rev)) { + if (addresses_top_bot_crossovers.containsKey$1(0, pair_idxs_rev)) { + dom_bot = prev_dom; + dom_top = next_dom; + pair_idxs = pair_idxs_rev; + prev_is_top = false; + } else { + dom_bot = next_dom; + dom_top = prev_dom; + prev_is_top = true; + } + if (!(prev_is_top && dom_top.forward)) + t5 = !prev_is_top && !dom_top.forward; + else + t5 = true; + offset_top = t5 ? dom_top.end - 1 : dom_top.start; + if (!(prev_is_top && dom_bot.forward)) + t5 = !prev_is_top && !dom_bot.forward; + else + t5 = true; + offset_bot = t5 ? dom_bot.start : dom_bot.end - 1; + t5 = addresses_top_bot_crossovers.$index(0, pair_idxs); + (t5 && C.JSArray_methods).add$1(t5, new S.Tuple2(new Z._$Address(dom_top.helix, offset_top, dom_top.forward), new Z._$Address(dom_bot.helix, offset_bot, dom_bot.forward), t4)); + } + } + return addresses_top_bot_crossovers; + }, + _calculate_rolls_and_positions: function(design, helices, addresses, first_roll) { + var t2, i, t3, address_bot, t4, degrees_top, radians_top_cartesian, t5, t6, t7, angle_strand_bot, t8, t9, delta_roll, + geometry = design.geometry, + t1 = J.getInterceptor$asx(helices), + rollxys = H.setRuntimeTypeInfo([new B.RollXY(first_roll, t1.$index(helices, 0).get$position3d().z, t1.$index(helices, 0).get$position3d().y)], type$.JSArray_legacy_RollXY); + for (t2 = type$.legacy_void_Function_legacy_AddressBuilder, i = 0; i < addresses.length;) { + t3 = addresses[i]; + address_bot = t3.item2; + if (i >= rollxys.length) + return H.ioore(rollxys, i); + t4 = rollxys[i]; + degrees_top = design.helix_rotation_at$2(t3.item1, t4.roll); + radians_top_cartesian = (degrees_top - 90) * 2 * 3.141592653589793 / 360; + t3 = Math.cos(radians_top_cartesian); + t5 = geometry.__distance_between_helices_nm; + if (t5 == null) + t5 = geometry.__distance_between_helices_nm = N.Geometry.prototype.get$distance_between_helices_nm.call(geometry); + t6 = Math.sin(radians_top_cartesian); + t7 = geometry.__distance_between_helices_nm; + if (t7 == null) + t7 = geometry.__distance_between_helices_nm = N.Geometry.prototype.get$distance_between_helices_nm.call(geometry); + angle_strand_bot = C.JSNumber_methods.$mod(degrees_top + 180, 360); + if (!H.boolConversionCheck(address_bot.forward)) + angle_strand_bot = C.JSNumber_methods.$mod(angle_strand_bot - 150, 360); + t8 = t2._as(new B._calculate_rolls_and_positions_closure()); + t9 = new Z.AddressBuilder(); + t9._address$_$v = address_bot; + t8.call$1(t9); + delta_roll = C.JSNumber_methods.$mod(angle_strand_bot - design.helix_rotation_at$1(t9.build$0()), 360); + ++i; + C.JSArray_methods.add$1(rollxys, new B.RollXY(C.JSNumber_methods.$mod(t1.$index(helices, i).roll + delta_roll, 360), t4.x + t3 * t5, t4.y + t6 * t7)); + } + return rollxys; + }, + set_rolls_and_positions: function(helices, rolls_and_positions) { + var t2, helix, rollxy, t3, position, + all_actions = H.setRuntimeTypeInfo([], type$.JSArray_legacy_UndoableAction), + t1 = J.getInterceptor$asx(helices), + i = 0; + while (true) { + t2 = t1.get$length(helices); + if (typeof t2 !== "number") + return H.iae(t2); + if (!(i < t2)) + break; + helix = t1.$index(helices, i); + if (i >= rolls_and_positions.length) + return H.ioore(rolls_and_positions, i); + rollxy = rolls_and_positions[i]; + t2 = helix.idx; + t3 = helix.__position3d; + position = X.Position3D_Position3D(rollxy.x, rollxy.y, (t3 == null ? helix.__position3d = O.Helix.prototype.get$position3d.call(helix) : t3).z); + C.JSArray_methods.add$1(all_actions, new U._$HelixRollSet(t2, rollxy.roll)); + C.JSArray_methods.add$1(all_actions, new U._$HelixPositionSet(t2, position)); + ++i; + } + return all_actions; + }, + _get_helices_to_process_closure: function _get_helices_to_process_closure(t0) { + this.group = t0; + }, + _first_crossover_addresses_between_helices_closure: function _first_crossover_addresses_between_helices_closure() { + }, + _first_crossover_addresses_between_helices_closure0: function _first_crossover_addresses_between_helices_closure0() { + }, + RollXY: function RollXY(t0, t1, t2) { + this.roll = t0; + this.x = t1; + this.y = t2; + }, + _calculate_rolls_and_positions_closure: function _calculate_rolls_and_positions_closure() { + }, + toggle_edit_mode_reducer: function(modes, action) { + var mode; + type$.legacy_BuiltSet_legacy_EditModeChoice._as(modes); + mode = type$.legacy_EditModeToggle._as(action).mode; + return modes._set.contains$1(0, mode) ? modes.rebuild$1(new B.toggle_edit_mode_reducer_closure(mode)) : modes.rebuild$1(new B.toggle_edit_mode_reducer_closure0(mode)); + }, + set_edit_modes_reducer: function(edit_modes, action) { + type$.legacy_BuiltSet_legacy_EditModeChoice._as(edit_modes); + return type$.legacy_EditModesSet._as(action).edit_modes; + }, + toggle_edit_mode_reducer_closure: function toggle_edit_mode_reducer_closure(t0) { + this.mode = t0; + }, + toggle_edit_mode_reducer_closure0: function toggle_edit_mode_reducer_closure0(t0) { + this.mode = t0; + }, + AppUIStateStorables__initializeBuilder: function(b) { + var t2, + t1 = type$.legacy_SetBuilder_legacy_EditModeChoice._as(X.SetBuilder_SetBuilder([C.EditModeChoice_select], type$.legacy_EditModeChoice)); + b.get$_app_ui_state_storables$_$this().set$_edit_modes(t1); + t1 = $.$get$DEFAULT_SelectModeStateBuilder(); + b.get$_app_ui_state_storables$_$this()._select_mode_state = t1; + t1 = type$.legacy_SetBuilder_legacy_int._as(X.SetBuilder_SetBuilder(C.List_empty, type$.legacy_int)); + b.get$_app_ui_state_storables$_$this().set$_side_selected_helix_idxs(t1); + b.get$_app_ui_state_storables$_$this()._autofit = true; + b.get$_app_ui_state_storables$_$this()._show_dna = false; + b.get$_app_ui_state_storables$_$this()._show_strand_names = false; + b.get$_app_ui_state_storables$_$this()._show_strand_labels = false; + b.get$_app_ui_state_storables$_$this()._show_domain_names = false; + b.get$_app_ui_state_storables$_$this()._show_domain_labels = false; + b.get$_app_ui_state_storables$_$this()._base_pair_display_type = C.BasePairDisplayType_none; + b.get$_app_ui_state_storables$_$this()._show_base_pair_lines = false; + b.get$_app_ui_state_storables$_$this()._show_base_pair_lines_with_mismatches = false; + b.get$_app_ui_state_storables$_$this()._strand_name_font_size = 16; + b.get$_app_ui_state_storables$_$this()._strand_label_font_size = 16; + b.get$_app_ui_state_storables$_$this()._domain_name_font_size = 10; + b.get$_app_ui_state_storables$_$this()._domain_label_font_size = 10; + b.get$_app_ui_state_storables$_$this()._show_modifications = true; + b.get$_app_ui_state_storables$_$this()._show_mismatches = false; + b.get$_app_ui_state_storables$_$this()._show_domain_name_mismatches = false; + b.get$_app_ui_state_storables$_$this()._show_unpaired_insertion_deletions = true; + b.get$_app_ui_state_storables$_$this()._show_oxview = false; + b.get$_app_ui_state_storables$_$this()._only_display_selected_helices = false; + b.get$_app_ui_state_storables$_$this()._zoom_speed = 0.3; + b.get$_app_ui_state_storables$_$this()._modification_font_size = 12; + b.get$_app_ui_state_storables$_$this()._major_tick_offset_font_size = 12; + b.get$_app_ui_state_storables$_$this()._major_tick_width_font_size = 8; + b.get$_app_ui_state_storables$_$this()._modification_display_connector = true; + b.get$_app_ui_state_storables$_$this()._strand_paste_keep_color = true; + b.get$_app_ui_state_storables$_$this()._display_base_offsets_of_major_ticks = true; + b.get$_app_ui_state_storables$_$this()._display_base_offsets_of_major_ticks_only_first_helix = true; + b.get$_app_ui_state_storables$_$this()._display_major_tick_widths = false; + b.get$_app_ui_state_storables$_$this()._display_major_tick_widths_all_helices = false; + b.get$_app_ui_state_storables$_$this()._loaded_filename = "default_dna_filename.sc"; + b.get$_app_ui_state_storables$_$this()._loaded_script_filename = "default_script_filename.py"; + b.get$_app_ui_state_storables$_$this()._invert_y = false; + b.get$_app_ui_state_storables$_$this()._dynamically_update_helices = false; + b.get$_app_ui_state_storables$_$this()._warn_on_exit_if_unsaved = true; + b.get$_app_ui_state_storables$_$this()._show_helix_circles_main_view = true; + b.get$_app_ui_state_storables$_$this()._show_helix_components_main_view = true; + b.get$_app_ui_state_storables$_$this()._show_edit_mode_menu = true; + b.get$_app_ui_state_storables$_$this()._show_grid_coordinates_side_view = false; + b.get$_app_ui_state_storables$_$this()._show_helices_axis_arrows = true; + b.get$_app_ui_state_storables$_$this()._show_loopout_extension_length = false; + b.get$_app_ui_state_storables$_$this()._default_crossover_type_scaffold_for_setting_helix_rolls = true; + b.get$_app_ui_state_storables$_$this()._default_crossover_type_staple_for_setting_helix_rolls = true; + b.get$_app_ui_state_storables$_$this()._displayed_group_name = "default_group"; + b.get$_app_ui_state_storables$_$this()._show_slice_bar = false; + b.get$_app_ui_state_storables$_$this()._slice_bar_offset = null; + b.get$_app_ui_state_storables$_$this()._disable_png_caching_dna_sequences = false; + b.get$_app_ui_state_storables$_$this()._retain_strand_color_on_selection = false; + b.get$_app_ui_state_storables$_$this()._display_reverse_DNA_right_side_up = false; + t1 = Y.LocalStorageDesignChoice_LocalStorageDesignChoice(C.LocalStorageDesignOption_on_edit, 30); + t2 = new Y.LocalStorageDesignChoiceBuilder(); + t2._local_storage_design_choice$_$v = t1; + b.get$_app_ui_state_storables$_$this()._local_storage_design_choice = t2; + b.get$_app_ui_state_storables$_$this()._clear_helix_selection_when_loading_new_design = false; + b.get$_app_ui_state_storables$_$this()._show_mouseover_data = false; + b.get$_app_ui_state_storables$_$this()._selection_box_intersection = false; + b.get$_app_ui_state_storables$_$this()._export_svg_text_separately = false; + b.get$_app_ui_state_storables$_$this()._ox_export_only_selected_strands = false; + }, + AppUIStateStorablesBuilder$: function() { + var t3, + t1 = new B.AppUIStateStorablesBuilder(), + t2 = type$.legacy_SetBuilder_legacy_EditModeChoice._as(X.SetBuilder_SetBuilder([C.EditModeChoice_select], type$.legacy_EditModeChoice)); + t1.get$_app_ui_state_storables$_$this().set$_edit_modes(t2); + t2 = $.$get$DEFAULT_SelectModeStateBuilder(); + t1.get$_app_ui_state_storables$_$this()._select_mode_state = t2; + t2 = type$.legacy_SetBuilder_legacy_int._as(X.SetBuilder_SetBuilder(C.List_empty, type$.legacy_int)); + t1.get$_app_ui_state_storables$_$this().set$_side_selected_helix_idxs(t2); + t1.get$_app_ui_state_storables$_$this()._autofit = true; + t1.get$_app_ui_state_storables$_$this()._show_dna = false; + t1.get$_app_ui_state_storables$_$this()._show_strand_names = false; + t1.get$_app_ui_state_storables$_$this()._show_strand_labels = false; + t1.get$_app_ui_state_storables$_$this()._show_domain_names = false; + t1.get$_app_ui_state_storables$_$this()._show_domain_labels = false; + t1.get$_app_ui_state_storables$_$this()._base_pair_display_type = C.BasePairDisplayType_none; + t1.get$_app_ui_state_storables$_$this()._show_base_pair_lines = false; + t1.get$_app_ui_state_storables$_$this()._show_base_pair_lines_with_mismatches = false; + t1.get$_app_ui_state_storables$_$this()._strand_name_font_size = 16; + t1.get$_app_ui_state_storables$_$this()._strand_label_font_size = 16; + t1.get$_app_ui_state_storables$_$this()._domain_name_font_size = 10; + t1.get$_app_ui_state_storables$_$this()._domain_label_font_size = 10; + t1.get$_app_ui_state_storables$_$this()._show_modifications = true; + t1.get$_app_ui_state_storables$_$this()._show_mismatches = false; + t1.get$_app_ui_state_storables$_$this()._show_domain_name_mismatches = false; + t1.get$_app_ui_state_storables$_$this()._show_unpaired_insertion_deletions = true; + t1.get$_app_ui_state_storables$_$this()._show_oxview = false; + t1.get$_app_ui_state_storables$_$this()._only_display_selected_helices = false; + t1.get$_app_ui_state_storables$_$this()._zoom_speed = 0.3; + t1.get$_app_ui_state_storables$_$this()._modification_font_size = 12; + t1.get$_app_ui_state_storables$_$this()._major_tick_offset_font_size = 12; + t1.get$_app_ui_state_storables$_$this()._major_tick_width_font_size = 8; + t1.get$_app_ui_state_storables$_$this()._modification_display_connector = true; + t1.get$_app_ui_state_storables$_$this()._strand_paste_keep_color = true; + t1.get$_app_ui_state_storables$_$this()._display_base_offsets_of_major_ticks = true; + t1.get$_app_ui_state_storables$_$this()._display_base_offsets_of_major_ticks_only_first_helix = true; + t1.get$_app_ui_state_storables$_$this()._display_major_tick_widths = false; + t1.get$_app_ui_state_storables$_$this()._display_major_tick_widths_all_helices = false; + t1.get$_app_ui_state_storables$_$this()._loaded_filename = "default_dna_filename.sc"; + t1.get$_app_ui_state_storables$_$this()._loaded_script_filename = "default_script_filename.py"; + t1.get$_app_ui_state_storables$_$this()._invert_y = false; + t1.get$_app_ui_state_storables$_$this()._dynamically_update_helices = false; + t1.get$_app_ui_state_storables$_$this()._warn_on_exit_if_unsaved = true; + t1.get$_app_ui_state_storables$_$this()._show_helix_circles_main_view = true; + t1.get$_app_ui_state_storables$_$this()._show_helix_components_main_view = true; + t1.get$_app_ui_state_storables$_$this()._show_edit_mode_menu = true; + t1.get$_app_ui_state_storables$_$this()._show_grid_coordinates_side_view = false; + t1.get$_app_ui_state_storables$_$this()._show_helices_axis_arrows = true; + t1.get$_app_ui_state_storables$_$this()._show_loopout_extension_length = false; + t1.get$_app_ui_state_storables$_$this()._default_crossover_type_scaffold_for_setting_helix_rolls = true; + t1.get$_app_ui_state_storables$_$this()._default_crossover_type_staple_for_setting_helix_rolls = true; + t1.get$_app_ui_state_storables$_$this()._displayed_group_name = "default_group"; + t1.get$_app_ui_state_storables$_$this()._show_slice_bar = false; + t1.get$_app_ui_state_storables$_$this()._slice_bar_offset = null; + t1.get$_app_ui_state_storables$_$this()._disable_png_caching_dna_sequences = false; + t1.get$_app_ui_state_storables$_$this()._retain_strand_color_on_selection = false; + t1.get$_app_ui_state_storables$_$this()._display_reverse_DNA_right_side_up = false; + t2 = Y.LocalStorageDesignChoice_LocalStorageDesignChoice(C.LocalStorageDesignOption_on_edit, 30); + t3 = new Y.LocalStorageDesignChoiceBuilder(); + t3._local_storage_design_choice$_$v = t2; + t1.get$_app_ui_state_storables$_$this()._local_storage_design_choice = t3; + t1.get$_app_ui_state_storables$_$this()._clear_helix_selection_when_loading_new_design = false; + t1.get$_app_ui_state_storables$_$this()._show_mouseover_data = false; + t1.get$_app_ui_state_storables$_$this()._selection_box_intersection = false; + t1.get$_app_ui_state_storables$_$this()._export_svg_text_separately = false; + t1.get$_app_ui_state_storables$_$this()._ox_export_only_selected_strands = false; + return t1; + }, + AppUIStateStorables: function AppUIStateStorables() { + }, + _$AppUIStateStorablesSerializer: function _$AppUIStateStorablesSerializer() { + }, + _$AppUIStateStorables: function _$AppUIStateStorables(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19, t20, t21, t22, t23, t24, t25, t26, t27, t28, t29, t30, t31, t32, t33, t34, t35, t36, t37, t38, t39, t40, t41, t42, t43, t44, t45, t46, t47, t48, t49, t50, t51, t52, t53, t54, t55, t56) { + var _ = this; + _.select_mode_state = t0; + _.edit_modes = t1; + _.side_selected_helix_idxs = t2; + _.autofit = t3; + _.show_dna = t4; + _.show_strand_names = t5; + _.show_strand_labels = t6; + _.show_domain_names = t7; + _.show_domain_labels = t8; + _.base_pair_display_type = t9; + _.show_base_pair_lines = t10; + _.show_base_pair_lines_with_mismatches = t11; + _.strand_name_font_size = t12; + _.strand_label_font_size = t13; + _.domain_name_font_size = t14; + _.domain_label_font_size = t15; + _.show_modifications = t16; + _.show_mismatches = t17; + _.show_domain_name_mismatches = t18; + _.show_unpaired_insertion_deletions = t19; + _.show_oxview = t20; + _.show_slice_bar = t21; + _.show_mouseover_data = t22; + _.only_display_selected_helices = t23; + _.modification_font_size = t24; + _.major_tick_offset_font_size = t25; + _.major_tick_width_font_size = t26; + _.zoom_speed = t27; + _.modification_display_connector = t28; + _.strand_paste_keep_color = t29; + _.display_base_offsets_of_major_ticks = t30; + _.display_base_offsets_of_major_ticks_only_first_helix = t31; + _.display_major_tick_widths = t32; + _.display_major_tick_widths_all_helices = t33; + _.loaded_filename = t34; + _.loaded_script_filename = t35; + _.invert_y = t36; + _.dynamically_update_helices = t37; + _.warn_on_exit_if_unsaved = t38; + _.show_helix_circles_main_view = t39; + _.show_helix_components_main_view = t40; + _.show_edit_mode_menu = t41; + _.show_grid_coordinates_side_view = t42; + _.show_helices_axis_arrows = t43; + _.show_loopout_extension_length = t44; + _.default_crossover_type_scaffold_for_setting_helix_rolls = t45; + _.default_crossover_type_staple_for_setting_helix_rolls = t46; + _.local_storage_design_choice = t47; + _.clear_helix_selection_when_loading_new_design = t48; + _.displayed_group_name = t49; + _.slice_bar_offset = t50; + _.disable_png_caching_dna_sequences = t51; + _.retain_strand_color_on_selection = t52; + _.display_reverse_DNA_right_side_up = t53; + _.selection_box_intersection = t54; + _.export_svg_text_separately = t55; + _.ox_export_only_selected_strands = t56; + _._app_ui_state_storables$__hashCode = null; + }, + AppUIStateStorablesBuilder: function AppUIStateStorablesBuilder() { + var _ = this; + _._modification_display_connector = _._zoom_speed = _._major_tick_width_font_size = _._major_tick_offset_font_size = _._modification_font_size = _._only_display_selected_helices = _._show_mouseover_data = _._show_slice_bar = _._show_oxview = _._show_unpaired_insertion_deletions = _._show_domain_name_mismatches = _._show_mismatches = _._show_modifications = _._domain_label_font_size = _._domain_name_font_size = _._strand_label_font_size = _._strand_name_font_size = _._show_base_pair_lines_with_mismatches = _._show_base_pair_lines = _._base_pair_display_type = _._show_domain_labels = _._show_domain_names = _._show_strand_labels = _._show_strand_names = _._show_dna = _._autofit = _._side_selected_helix_idxs = _._edit_modes = _._select_mode_state = _._app_ui_state_storables$_$v = null; + _._ox_export_only_selected_strands = _._export_svg_text_separately = _._selection_box_intersection = _._display_reverse_DNA_right_side_up = _._retain_strand_color_on_selection = _._disable_png_caching_dna_sequences = _._slice_bar_offset = _._displayed_group_name = _._clear_helix_selection_when_loading_new_design = _._local_storage_design_choice = _._default_crossover_type_staple_for_setting_helix_rolls = _._default_crossover_type_scaffold_for_setting_helix_rolls = _._show_loopout_extension_length = _._show_helices_axis_arrows = _._show_grid_coordinates_side_view = _._show_edit_mode_menu = _._show_helix_components_main_view = _._show_helix_circles_main_view = _._warn_on_exit_if_unsaved = _._dynamically_update_helices = _._invert_y = _._loaded_script_filename = _._loaded_filename = _._display_major_tick_widths_all_helices = _._display_major_tick_widths = _._display_base_offsets_of_major_ticks_only_first_helix = _._display_base_offsets_of_major_ticks = _._strand_paste_keep_color = null; + }, + _AppUIStateStorables_Object_BuiltJsonSerializable: function _AppUIStateStorables_Object_BuiltJsonSerializable() { + }, + ContextMenuItem_ContextMenuItem: function(disabled, nested, on_click, title, tooltip) { + var t1 = new B.ContextMenuItemBuilder(); + type$.legacy_void_Function_legacy_ContextMenuItemBuilder._as(new B.ContextMenuItem_ContextMenuItem_closure(title, on_click, tooltip, nested, disabled)).call$1(t1); + return t1.build$0(); + }, + _$ContextMenu$_: function(items, position) { + if (items == null) + H.throwExpression(Y.BuiltValueNullFieldError$("ContextMenu", "items")); + return new B._$ContextMenu(items, position); + }, + ContextMenu: function ContextMenu() { + }, + ContextMenuItem: function ContextMenuItem() { + }, + ContextMenuItem_ContextMenuItem_closure: function ContextMenuItem_ContextMenuItem_closure(t0, t1, t2, t3, t4) { + var _ = this; + _.title = t0; + _.on_click = t1; + _.tooltip = t2; + _.nested = t3; + _.disabled = t4; + }, + _$ContextMenuSerializer: function _$ContextMenuSerializer() { + }, + _$ContextMenuItemSerializer: function _$ContextMenuItemSerializer() { + }, + _$ContextMenu: function _$ContextMenu(t0, t1) { + this.items = t0; + this.position = t1; + this._context_menu$__hashCode = null; + }, + ContextMenuBuilder: function ContextMenuBuilder() { + this._context_menu$_position = this._items = this._context_menu$_$v = null; + }, + _$ContextMenuItem: function _$ContextMenuItem(t0, t1, t2, t3, t4) { + var _ = this; + _.title = t0; + _.on_click = t1; + _.tooltip = t2; + _.nested = t3; + _.disabled = t4; + _._context_menu$__hashCode = null; + }, + ContextMenuItemBuilder: function ContextMenuItemBuilder() { + var _ = this; + _._disabled = _._nested = _._context_menu$_tooltip = _._on_click = _._context_menu$_title = _._context_menu$_$v = null; + }, + _ContextMenu_Object_BuiltJsonSerializable: function _ContextMenu_Object_BuiltJsonSerializable() { + }, + _ContextMenuItem_Object_BuiltJsonSerializable: function _ContextMenuItem_Object_BuiltJsonSerializable() { + }, + CopyInfo_CopyInfo: function(copied_address, helices_view_order, helices_view_order_inverse, strands, translation) { + var t1 = new B.CopyInfoBuilder(); + type$.legacy_void_Function_legacy_CopyInfoBuilder._as(new B.CopyInfo_CopyInfo_closure(strands, copied_address, translation, helices_view_order, helices_view_order_inverse)).call$1(t1); + return t1.build$0(); + }, + CopyInfo: function CopyInfo() { + }, + CopyInfo_CopyInfo_closure: function CopyInfo_CopyInfo_closure(t0, t1, t2, t3, t4) { + var _ = this; + _.strands = t0; + _.copied_address = t1; + _.translation = t2; + _.helices_view_order = t3; + _.helices_view_order_inverse = t4; + }, + CopyInfo_create_strands_move_closure: function CopyInfo_create_strands_move_closure(t0) { + this.$this = t0; + }, + CopyInfo_create_strands_move_closure0: function CopyInfo_create_strands_move_closure0(t0) { + this.$this = t0; + }, + _$CopyInfoSerializer: function _$CopyInfoSerializer() { + }, + _$CopyInfo: function _$CopyInfo(t0, t1, t2, t3, t4, t5) { + var _ = this; + _.strands = t0; + _.copied_address = t1; + _.prev_paste_address = t2; + _.translation = t3; + _.helices_view_order = t4; + _.helices_view_order_inverse = t5; + _._copy_info$__hashCode = null; + }, + CopyInfoBuilder: function CopyInfoBuilder() { + var _ = this; + _._helices_view_order_inverse = _._helices_view_order = _._translation = _._prev_paste_address = _._copied_address = _._copy_info$_strands = _._copy_info$_$v = null; + }, + _CopyInfo_Object_BuiltJsonSerializable: function _CopyInfo_Object_BuiltJsonSerializable() { + }, + _$DNAEndsMove$_: function(current_offset, helix, moves, original_offset) { + var _s11_ = "DNAEndsMove"; + if (moves == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s11_, "moves")); + if (original_offset == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s11_, "original_offset")); + if (helix == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s11_, "helix")); + if (current_offset == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s11_, "current_offset")); + return new B._$DNAEndsMove(moves, original_offset, helix, current_offset); + }, + _$DNAEndMove$_: function(dna_end, highest_offset, lowest_offset) { + if (dna_end == null) + H.throwExpression(Y.BuiltValueNullFieldError$("DNAEndMove", "dna_end")); + return new B._$DNAEndMove(dna_end, lowest_offset, highest_offset); + }, + DNAEndsMove: function DNAEndsMove() { + }, + DNAEndMove: function DNAEndMove() { + }, + _$DNAEndsMoveSerializer: function _$DNAEndsMoveSerializer() { + }, + _$DNAEndMoveSerializer: function _$DNAEndMoveSerializer() { + }, + _$DNAEndsMove: function _$DNAEndsMove(t0, t1, t2, t3) { + var _ = this; + _.moves = t0; + _.original_offset = t1; + _.helix = t2; + _.current_offset = t3; + _._dna_ends_move$__hashCode = _._dna_ends_move$__delta = _.__ends_moving = null; + }, + DNAEndsMoveBuilder: function DNAEndsMoveBuilder() { + var _ = this; + _._dna_ends_move$_current_offset = _._dna_ends_move$_helix = _._dna_ends_move$_original_offset = _._moves = _._dna_ends_move$_$v = null; + }, + _$DNAEndMove: function _$DNAEndMove(t0, t1, t2) { + this.dna_end = t0; + this.lowest_offset = t1; + this.highest_offset = t2; + }, + DNAEndMoveBuilder: function DNAEndMoveBuilder() { + var _ = this; + _._highest_offset = _._lowest_offset = _._dna_end = _._dna_ends_move$_$v = null; + }, + _DNAEndMove_Object_BuiltJsonSerializable: function _DNAEndMove_Object_BuiltJsonSerializable() { + }, + _DNAEndsMove_Object_BuiltJsonSerializable: function _DNAEndsMove_Object_BuiltJsonSerializable() { + }, + _$DomainNameMismatch$_: function(forward_domain, helix_idx, reverse_domain) { + var _s18_ = "DomainNameMismatch"; + if (helix_idx == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s18_, "helix_idx")); + if (forward_domain == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s18_, "forward_domain")); + if (reverse_domain == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s18_, "reverse_domain")); + return new B._$DomainNameMismatch(helix_idx, forward_domain, reverse_domain); + }, + DomainNameMismatch: function DomainNameMismatch() { + }, + _$DomainNameMismatchSerializer: function _$DomainNameMismatchSerializer() { + }, + _$DomainNameMismatch: function _$DomainNameMismatch(t0, t1, t2) { + var _ = this; + _.helix_idx = t0; + _.forward_domain = t1; + _.reverse_domain = t2; + _._domain_name_mismatch$__hashCode = null; + }, + DomainNameMismatchBuilder: function DomainNameMismatchBuilder() { + var _ = this; + _._reverse_domain = _._forward_domain = _._domain_name_mismatch$_helix_idx = _._domain_name_mismatch$_$v = null; + }, + _DomainNameMismatch_Object_BuiltJsonSerializable: function _DomainNameMismatch_Object_BuiltJsonSerializable() { + }, + _$End3Prime: function(backingProps) { + type$.legacy_Map_dynamic_dynamic._as(backingProps); + return backingProps == null ? B._$$End3PrimeProps$JsMap$(new L.JsBackedMap({})) : B._$$End3PrimeProps__$$End3PrimeProps(backingProps); + }, + _$$End3PrimeProps__$$End3PrimeProps: function(backingMap) { + var t1, _null = null; + if (backingMap instanceof L.JsBackedMap) + return B._$$End3PrimeProps$JsMap$(backingMap); + else { + t1 = type$.dynamic; + t1 = new B._$$End3PrimeProps$PlainMap(P.LinkedHashMap_LinkedHashMap$_empty(t1, t1), _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null); + t1.get$$$isClassGenerated(); + t1._lib_3p_end$_props = backingMap; + return t1; + } + }, + _$$End3PrimeProps$JsMap$: function(backingMap) { + var _null = null, + t1 = new B._$$End3PrimeProps$JsMap(new L.JsBackedMap({}), _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null); + t1.get$$$isClassGenerated(); + t1._lib_3p_end$_props = backingMap == null ? new L.JsBackedMap({}) : backingMap; + return t1; + }, + End3PrimeProps: function End3PrimeProps() { + }, + End3PrimeComponent: function End3PrimeComponent() { + }, + $End3PrimeComponentFactory_closure: function $End3PrimeComponentFactory_closure() { + }, + _$$End3PrimeProps: function _$$End3PrimeProps() { + }, + _$$End3PrimeProps$PlainMap: function _$$End3PrimeProps$PlainMap(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14) { + var _ = this; + _._lib_3p_end$_props = t0; + _.End3PrimeProps_on_pointer_down = t1; + _.End3PrimeProps_on_pointer_up = t2; + _.End3PrimeProps_on_mouse_up = t3; + _.End3PrimeProps_on_mouse_move = t4; + _.End3PrimeProps_on_mouse_enter = t5; + _.End3PrimeProps_on_mouse_leave = t6; + _.End3PrimeProps_classname = t7; + _.End3PrimeProps_pos = t8; + _.End3PrimeProps_color = t9; + _.End3PrimeProps_forward = t10; + _.End3PrimeProps_id = t11; + _.End3PrimeProps_transform = t12; + _.componentFactory = null; + _.UbiquitousDomPropsMixin__aria = t13; + _.UbiquitousDomPropsMixin__dom = t14; + }, + _$$End3PrimeProps$JsMap: function _$$End3PrimeProps$JsMap(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14) { + var _ = this; + _._lib_3p_end$_props = t0; + _.End3PrimeProps_on_pointer_down = t1; + _.End3PrimeProps_on_pointer_up = t2; + _.End3PrimeProps_on_mouse_up = t3; + _.End3PrimeProps_on_mouse_move = t4; + _.End3PrimeProps_on_mouse_enter = t5; + _.End3PrimeProps_on_mouse_leave = t6; + _.End3PrimeProps_classname = t7; + _.End3PrimeProps_pos = t8; + _.End3PrimeProps_color = t9; + _.End3PrimeProps_forward = t10; + _.End3PrimeProps_id = t11; + _.End3PrimeProps_transform = t12; + _.componentFactory = null; + _.UbiquitousDomPropsMixin__aria = t13; + _.UbiquitousDomPropsMixin__dom = t14; + }, + _$End3PrimeComponent: function _$End3PrimeComponent(t0) { + var _ = this; + _._lib_3p_end$_cachedTypedProps = null; + _.DisposableManagerProxy__disposableProxy = t0; + _.jsThis = _.state = _.props = null; + }, + $End3PrimeProps: function $End3PrimeProps() { + }, + __$$End3PrimeProps_UiProps_End3PrimeProps: function __$$End3PrimeProps_UiProps_End3PrimeProps() { + }, + __$$End3PrimeProps_UiProps_End3PrimeProps_$End3PrimeProps: function __$$End3PrimeProps_UiProps_End3PrimeProps_$End3PrimeProps() { + }, + _$DesignMainStrandDomainText: function(backingProps) { + type$.legacy_Map_dynamic_dynamic._as(backingProps); + return backingProps == null ? B._$$DesignMainStrandDomainTextProps$JsMap$(new L.JsBackedMap({})) : B._$$DesignMainStrandDomainTextProps__$$DesignMainStrandDomainTextProps(backingProps); + }, + _$$DesignMainStrandDomainTextProps__$$DesignMainStrandDomainTextProps: function(backingMap) { + var t1, _null = null; + if (backingMap instanceof L.JsBackedMap) + return B._$$DesignMainStrandDomainTextProps$JsMap$(backingMap); + else { + t1 = type$.dynamic; + t1 = new B._$$DesignMainStrandDomainTextProps$PlainMap(P.LinkedHashMap_LinkedHashMap$_empty(t1, t1), _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null); + t1.get$$$isClassGenerated(); + t1._design_main_strand_domain_text$_props = backingMap; + return t1; + } + }, + _$$DesignMainStrandDomainTextProps$JsMap$: function(backingMap) { + var _null = null, + t1 = new B._$$DesignMainStrandDomainTextProps$JsMap(new L.JsBackedMap({}), _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null); + t1.get$$$isClassGenerated(); + t1._design_main_strand_domain_text$_props = backingMap == null ? new L.JsBackedMap({}) : backingMap; + return t1; + }, + DesignMainStrandDomainTextPropsMixin: function DesignMainStrandDomainTextPropsMixin() { + }, + DesignMainStrandDomainTextComponent: function DesignMainStrandDomainTextComponent() { + }, + $DesignMainStrandDomainTextComponentFactory_closure: function $DesignMainStrandDomainTextComponentFactory_closure() { + }, + _$$DesignMainStrandDomainTextProps: function _$$DesignMainStrandDomainTextProps() { + }, + _$$DesignMainStrandDomainTextProps$PlainMap: function _$$DesignMainStrandDomainTextProps$PlainMap(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14) { + var _ = this; + _._design_main_strand_domain_text$_props = t0; + _.DesignMainStrandDomainTextPropsMixin_strand = t1; + _.DesignMainStrandDomainTextPropsMixin_domain = t2; + _.DesignMainStrandDomainTextPropsMixin_helix = t3; + _.DesignMainStrandDomainTextPropsMixin_geometry = t4; + _.DesignMainStrandDomainTextPropsMixin_helix_groups = t5; + _.DesignMainStrandDomainTextPropsMixin_text = t6; + _.DesignMainStrandDomainTextPropsMixin_css_selector_text = t7; + _.DesignMainStrandDomainTextPropsMixin_font_size = t8; + _.DesignMainStrandDomainTextPropsMixin_num_stacked = t9; + _.DesignMainStrandDomainTextPropsMixin_transform = t10; + _.DesignMainStrandDomainTextPropsMixin_helix_svg_position = t11; + _.DesignMainStrandDomainTextPropsMixin_context_menu_strand = t12; + _.componentFactory = null; + _.UbiquitousDomPropsMixin__aria = t13; + _.UbiquitousDomPropsMixin__dom = t14; + }, + _$$DesignMainStrandDomainTextProps$JsMap: function _$$DesignMainStrandDomainTextProps$JsMap(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14) { + var _ = this; + _._design_main_strand_domain_text$_props = t0; + _.DesignMainStrandDomainTextPropsMixin_strand = t1; + _.DesignMainStrandDomainTextPropsMixin_domain = t2; + _.DesignMainStrandDomainTextPropsMixin_helix = t3; + _.DesignMainStrandDomainTextPropsMixin_geometry = t4; + _.DesignMainStrandDomainTextPropsMixin_helix_groups = t5; + _.DesignMainStrandDomainTextPropsMixin_text = t6; + _.DesignMainStrandDomainTextPropsMixin_css_selector_text = t7; + _.DesignMainStrandDomainTextPropsMixin_font_size = t8; + _.DesignMainStrandDomainTextPropsMixin_num_stacked = t9; + _.DesignMainStrandDomainTextPropsMixin_transform = t10; + _.DesignMainStrandDomainTextPropsMixin_helix_svg_position = t11; + _.DesignMainStrandDomainTextPropsMixin_context_menu_strand = t12; + _.componentFactory = null; + _.UbiquitousDomPropsMixin__aria = t13; + _.UbiquitousDomPropsMixin__dom = t14; + }, + _$DesignMainStrandDomainTextComponent: function _$DesignMainStrandDomainTextComponent(t0) { + var _ = this; + _._design_main_strand_domain_text$_cachedTypedProps = null; + _.DisposableManagerProxy__disposableProxy = t0; + _.jsThis = _.state = _.props = null; + }, + $DesignMainStrandDomainTextPropsMixin: function $DesignMainStrandDomainTextPropsMixin() { + }, + _DesignMainStrandDomainTextComponent_UiComponent2_PureComponent: function _DesignMainStrandDomainTextComponent_UiComponent2_PureComponent() { + }, + __$$DesignMainStrandDomainTextProps_UiProps_DesignMainStrandDomainTextPropsMixin: function __$$DesignMainStrandDomainTextProps_UiProps_DesignMainStrandDomainTextPropsMixin() { + }, + __$$DesignMainStrandDomainTextProps_UiProps_DesignMainStrandDomainTextPropsMixin_$DesignMainStrandDomainTextPropsMixin: function __$$DesignMainStrandDomainTextProps_UiProps_DesignMainStrandDomainTextPropsMixin_$DesignMainStrandDomainTextPropsMixin() { + }, + crossover_path_description_within_group: function(prev_domain, next_domain, helices, geometry, prev_helix_svg_position_y, next_helix_svg_position_y) { + var t1 = prev_domain.helix, + t2 = helices._map$_map, + t3 = J.getInterceptor$asx(t2), + prev_helix = t3.$index(t2, t1), + next_helix = t3.$index(t2, next_domain.helix), + start_svg = prev_helix.svg_base_pos$3(prev_domain.get$offset_3p(), prev_domain.forward, prev_helix_svg_position_y), + control = B.control_point_for_crossover_bezier_curve(prev_domain, next_domain, helices, prev_helix_svg_position_y, next_helix_svg_position_y, geometry), + end_svg = next_helix.svg_base_pos$3(next_domain.get$offset_5p(), next_domain.forward, next_helix_svg_position_y); + return "M " + H.S(start_svg.x) + " " + H.S(start_svg.y) + " Q " + H.S(control.x) + " " + H.S(control.y) + " " + H.S(end_svg.x) + " " + H.S(end_svg.y); + }, + control_point_for_crossover_bezier_curve: function(from_ss, to_ss, helices, from_helix_svg_position_y, to_helix_svg_position_y, geometry) { + var start_pos, end_pos, from_strand_below, t3, t4, t5, t6, t7, vector, t8, t9, normal, + t1 = helices._map$_map, + t2 = J.getInterceptor$asx(t1), + from_helix = t2.$index(t1, from_ss.helix), + to_helix = t2.$index(t1, to_ss.helix); + if (typeof from_helix_svg_position_y !== "number") + return from_helix_svg_position_y.$sub(); + if (typeof to_helix_svg_position_y !== "number") + return H.iae(to_helix_svg_position_y); + t1 = geometry.get$distance_between_helices_svg(); + t2 = from_ss.forward; + start_pos = from_helix.svg_base_pos$3(from_ss.get$offset_3p(), t2, from_helix_svg_position_y); + end_pos = to_helix.svg_base_pos$3(to_ss.get$offset_5p(), to_ss.forward, to_helix_svg_position_y); + from_strand_below = from_helix_svg_position_y > to_helix_svg_position_y; + t3 = start_pos.x; + t4 = end_pos.x; + if (typeof t3 !== "number") + return t3.$add(); + if (typeof t4 !== "number") + return H.iae(t4); + t5 = start_pos.y; + t6 = end_pos.y; + if (typeof t5 !== "number") + return t5.$add(); + if (typeof t6 !== "number") + return H.iae(t6); + t7 = type$.Point_legacy_num; + vector = end_pos.$sub(0, start_pos); + t8 = vector.y; + t9 = vector.x; + if (typeof t9 !== "number") + return t9.$negate(); + normal = new P.Point(t8, -t9, t7); + if (!(!t2 && from_strand_below)) + t2 = t2 && !from_strand_below; + else + t2 = true; + if (t2) { + if (typeof t8 !== "number") + return t8.$negate(); + normal = new P.Point(-t8, t9, t7); + } + return new P.Point((t3 + t4) / 2, (t5 + t6) / 2, t7).$add(0, normal.$mul(0, 1 / normal.get$magnitude()).$mul(0, Math.abs((from_helix_svg_position_y - to_helix_svg_position_y) / t1) * 0.5).$mul(0, geometry.get$base_width_svg() / 2)); + }, + _$DesignMainStrandPaths: function(backingProps) { + type$.legacy_Map_dynamic_dynamic._as(backingProps); + return backingProps == null ? B._$$DesignMainStrandPathsProps$JsMap$(new L.JsBackedMap({})) : B._$$DesignMainStrandPathsProps__$$DesignMainStrandPathsProps(backingProps); + }, + _$$DesignMainStrandPathsProps__$$DesignMainStrandPathsProps: function(backingMap) { + var t1, _null = null; + if (backingMap instanceof L.JsBackedMap) + return B._$$DesignMainStrandPathsProps$JsMap$(backingMap); + else { + t1 = type$.dynamic; + t1 = new B._$$DesignMainStrandPathsProps$PlainMap(P.LinkedHashMap_LinkedHashMap$_empty(t1, t1), _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null); + t1.get$$$isClassGenerated(); + t1._design_main_strand_paths$_props = backingMap; + return t1; + } + }, + _$$DesignMainStrandPathsProps$JsMap$: function(backingMap) { + var _null = null, + t1 = new B._$$DesignMainStrandPathsProps$JsMap(new L.JsBackedMap({}), _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null); + t1.get$$$isClassGenerated(); + t1._design_main_strand_paths$_props = backingMap == null ? new L.JsBackedMap({}) : backingMap; + return t1; + }, + DesignMainStrandPathsPropsMixin: function DesignMainStrandPathsPropsMixin() { + }, + DesignMainStrandPathsComponent: function DesignMainStrandPathsComponent() { + }, + $DesignMainStrandPathsComponentFactory_closure: function $DesignMainStrandPathsComponentFactory_closure() { + }, + _$$DesignMainStrandPathsProps: function _$$DesignMainStrandPathsProps() { + }, + _$$DesignMainStrandPathsProps$PlainMap: function _$$DesignMainStrandPathsProps$PlainMap(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19, t20, t21, t22, t23, t24, t25) { + var _ = this; + _._design_main_strand_paths$_props = t0; + _.TransformByHelixGroupPropsMixin_helices = t1; + _.TransformByHelixGroupPropsMixin_groups = t2; + _.TransformByHelixGroupPropsMixin_geometry = t3; + _.DesignMainStrandPathsPropsMixin_strand = t4; + _.DesignMainStrandPathsPropsMixin_side_selected_helix_idxs = t5; + _.DesignMainStrandPathsPropsMixin_selected_ends_in_strand = t6; + _.DesignMainStrandPathsPropsMixin_selected_crossovers_in_strand = t7; + _.DesignMainStrandPathsPropsMixin_selected_loopouts_in_strand = t8; + _.DesignMainStrandPathsPropsMixin_selected_extensions_in_strand = t9; + _.DesignMainStrandPathsPropsMixin_selected_domains_in_strand = t10; + _.DesignMainStrandPathsPropsMixin_helices = t11; + _.DesignMainStrandPathsPropsMixin_groups = t12; + _.DesignMainStrandPathsPropsMixin_geometry = t13; + _.DesignMainStrandPathsPropsMixin_show_domain_names = t14; + _.DesignMainStrandPathsPropsMixin_show_strand_names = t15; + _.DesignMainStrandPathsPropsMixin_drawing_potential_crossover = t16; + _.DesignMainStrandPathsPropsMixin_moving_dna_ends = t17; + _.DesignMainStrandPathsPropsMixin_origami_type_is_selectable = t18; + _.DesignMainStrandPathsPropsMixin_strand_tooltip = t19; + _.DesignMainStrandPathsPropsMixin_only_display_selected_helices = t20; + _.DesignMainStrandPathsPropsMixin_context_menu_strand = t21; + _.DesignMainStrandPathsPropsMixin_helix_idx_to_svg_position_map = t22; + _.DesignMainStrandPathsPropsMixin_retain_strand_color_on_selection = t23; + _.componentFactory = null; + _.UbiquitousDomPropsMixin__aria = t24; + _.UbiquitousDomPropsMixin__dom = t25; + }, + _$$DesignMainStrandPathsProps$JsMap: function _$$DesignMainStrandPathsProps$JsMap(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19, t20, t21, t22, t23, t24, t25) { + var _ = this; + _._design_main_strand_paths$_props = t0; + _.TransformByHelixGroupPropsMixin_helices = t1; + _.TransformByHelixGroupPropsMixin_groups = t2; + _.TransformByHelixGroupPropsMixin_geometry = t3; + _.DesignMainStrandPathsPropsMixin_strand = t4; + _.DesignMainStrandPathsPropsMixin_side_selected_helix_idxs = t5; + _.DesignMainStrandPathsPropsMixin_selected_ends_in_strand = t6; + _.DesignMainStrandPathsPropsMixin_selected_crossovers_in_strand = t7; + _.DesignMainStrandPathsPropsMixin_selected_loopouts_in_strand = t8; + _.DesignMainStrandPathsPropsMixin_selected_extensions_in_strand = t9; + _.DesignMainStrandPathsPropsMixin_selected_domains_in_strand = t10; + _.DesignMainStrandPathsPropsMixin_helices = t11; + _.DesignMainStrandPathsPropsMixin_groups = t12; + _.DesignMainStrandPathsPropsMixin_geometry = t13; + _.DesignMainStrandPathsPropsMixin_show_domain_names = t14; + _.DesignMainStrandPathsPropsMixin_show_strand_names = t15; + _.DesignMainStrandPathsPropsMixin_drawing_potential_crossover = t16; + _.DesignMainStrandPathsPropsMixin_moving_dna_ends = t17; + _.DesignMainStrandPathsPropsMixin_origami_type_is_selectable = t18; + _.DesignMainStrandPathsPropsMixin_strand_tooltip = t19; + _.DesignMainStrandPathsPropsMixin_only_display_selected_helices = t20; + _.DesignMainStrandPathsPropsMixin_context_menu_strand = t21; + _.DesignMainStrandPathsPropsMixin_helix_idx_to_svg_position_map = t22; + _.DesignMainStrandPathsPropsMixin_retain_strand_color_on_selection = t23; + _.componentFactory = null; + _.UbiquitousDomPropsMixin__aria = t24; + _.UbiquitousDomPropsMixin__dom = t25; + }, + _$DesignMainStrandPathsComponent: function _$DesignMainStrandPathsComponent(t0) { + var _ = this; + _._design_main_strand_paths$_cachedTypedProps = null; + _.DisposableManagerProxy__disposableProxy = t0; + _.jsThis = _.state = _.props = null; + }, + $DesignMainStrandPathsPropsMixin: function $DesignMainStrandPathsPropsMixin() { + }, + _DesignMainStrandPathsComponent_UiComponent2_PureComponent: function _DesignMainStrandPathsComponent_UiComponent2_PureComponent() { + }, + _DesignMainStrandPathsComponent_UiComponent2_PureComponent_TransformByHelixGroup: function _DesignMainStrandPathsComponent_UiComponent2_PureComponent_TransformByHelixGroup() { + }, + __$$DesignMainStrandPathsProps_UiProps_DesignMainStrandPathsPropsMixin: function __$$DesignMainStrandPathsProps_UiProps_DesignMainStrandPathsPropsMixin() { + }, + __$$DesignMainStrandPathsProps_UiProps_DesignMainStrandPathsPropsMixin_$DesignMainStrandPathsPropsMixin: function __$$DesignMainStrandPathsProps_UiProps_DesignMainStrandPathsPropsMixin_$DesignMainStrandPathsPropsMixin() { + }, + __$$DesignMainStrandPathsProps_UiProps_DesignMainStrandPathsPropsMixin_$DesignMainStrandPathsPropsMixin_TransformByHelixGroupPropsMixin: function __$$DesignMainStrandPathsProps_UiProps_DesignMainStrandPathsPropsMixin_$DesignMainStrandPathsPropsMixin_TransformByHelixGroupPropsMixin() { + }, + __$$DesignMainStrandPathsProps_UiProps_DesignMainStrandPathsPropsMixin_$DesignMainStrandPathsPropsMixin_TransformByHelixGroupPropsMixin_$TransformByHelixGroupPropsMixin: function __$$DesignMainStrandPathsProps_UiProps_DesignMainStrandPathsPropsMixin_$DesignMainStrandPathsPropsMixin_TransformByHelixGroupPropsMixin_$TransformByHelixGroupPropsMixin() { + }, + _$DesignMainUnpairedInsertionDeletions: function(backingProps) { + type$.legacy_Map_dynamic_dynamic._as(backingProps); + return backingProps == null ? B._$$DesignMainUnpairedInsertionDeletionsProps$JsMap$(new L.JsBackedMap({})) : B._$$DesignMainUnpairedInsertionDeletionsProps__$$DesignMainUnpairedInsertionDeletionsProps(backingProps); + }, + _$$DesignMainUnpairedInsertionDeletionsProps__$$DesignMainUnpairedInsertionDeletionsProps: function(backingMap) { + var t1, _null = null; + if (backingMap instanceof L.JsBackedMap) + return B._$$DesignMainUnpairedInsertionDeletionsProps$JsMap$(backingMap); + else { + t1 = type$.dynamic; + t1 = new B._$$DesignMainUnpairedInsertionDeletionsProps$PlainMap(P.LinkedHashMap_LinkedHashMap$_empty(t1, t1), _null, _null, _null, _null, _null, _null); + t1.get$$$isClassGenerated(); + t1._design_main_unpaired_insertion_deletions$_props = backingMap; + return t1; + } + }, + _$$DesignMainUnpairedInsertionDeletionsProps$JsMap$: function(backingMap) { + var _null = null, + t1 = new B._$$DesignMainUnpairedInsertionDeletionsProps$JsMap(new L.JsBackedMap({}), _null, _null, _null, _null, _null, _null); + t1.get$$$isClassGenerated(); + t1._design_main_unpaired_insertion_deletions$_props = backingMap == null ? new L.JsBackedMap({}) : backingMap; + return t1; + }, + DesignMainUnpairedInsertionDeletionsProps: function DesignMainUnpairedInsertionDeletionsProps() { + }, + DesignMainUnpairedInsertionDeletionsComponent: function DesignMainUnpairedInsertionDeletionsComponent() { + }, + $DesignMainUnpairedInsertionDeletionsComponentFactory_closure: function $DesignMainUnpairedInsertionDeletionsComponentFactory_closure() { + }, + _$$DesignMainUnpairedInsertionDeletionsProps: function _$$DesignMainUnpairedInsertionDeletionsProps() { + }, + _$$DesignMainUnpairedInsertionDeletionsProps$PlainMap: function _$$DesignMainUnpairedInsertionDeletionsProps$PlainMap(t0, t1, t2, t3, t4, t5, t6) { + var _ = this; + _._design_main_unpaired_insertion_deletions$_props = t0; + _.DesignMainUnpairedInsertionDeletionsProps_design = t1; + _.DesignMainUnpairedInsertionDeletionsProps_only_display_selected_helices = t2; + _.DesignMainUnpairedInsertionDeletionsProps_side_selected_helix_idxs = t3; + _.DesignMainUnpairedInsertionDeletionsProps_helix_idx_to_svg_position_y_map = t4; + _.componentFactory = null; + _.UbiquitousDomPropsMixin__aria = t5; + _.UbiquitousDomPropsMixin__dom = t6; + }, + _$$DesignMainUnpairedInsertionDeletionsProps$JsMap: function _$$DesignMainUnpairedInsertionDeletionsProps$JsMap(t0, t1, t2, t3, t4, t5, t6) { + var _ = this; + _._design_main_unpaired_insertion_deletions$_props = t0; + _.DesignMainUnpairedInsertionDeletionsProps_design = t1; + _.DesignMainUnpairedInsertionDeletionsProps_only_display_selected_helices = t2; + _.DesignMainUnpairedInsertionDeletionsProps_side_selected_helix_idxs = t3; + _.DesignMainUnpairedInsertionDeletionsProps_helix_idx_to_svg_position_y_map = t4; + _.componentFactory = null; + _.UbiquitousDomPropsMixin__aria = t5; + _.UbiquitousDomPropsMixin__dom = t6; + }, + _$DesignMainUnpairedInsertionDeletionsComponent: function _$DesignMainUnpairedInsertionDeletionsComponent(t0) { + var _ = this; + _._design_main_unpaired_insertion_deletions$_cachedTypedProps = null; + _.DisposableManagerProxy__disposableProxy = t0; + _.jsThis = _.state = _.props = null; + }, + $DesignMainUnpairedInsertionDeletionsProps: function $DesignMainUnpairedInsertionDeletionsProps() { + }, + _DesignMainUnpairedInsertionDeletionsComponent_UiComponent2_PureComponent: function _DesignMainUnpairedInsertionDeletionsComponent_UiComponent2_PureComponent() { + }, + __$$DesignMainUnpairedInsertionDeletionsProps_UiProps_DesignMainUnpairedInsertionDeletionsProps: function __$$DesignMainUnpairedInsertionDeletionsProps_UiProps_DesignMainUnpairedInsertionDeletionsProps() { + }, + __$$DesignMainUnpairedInsertionDeletionsProps_UiProps_DesignMainUnpairedInsertionDeletionsProps_$DesignMainUnpairedInsertionDeletionsProps: function __$$DesignMainUnpairedInsertionDeletionsProps_UiProps_DesignMainUnpairedInsertionDeletionsProps_$DesignMainUnpairedInsertionDeletionsProps() { + }, + _$DesignSideHelix: function(backingProps) { + type$.legacy_Map_dynamic_dynamic._as(backingProps); + return backingProps == null ? B._$$DesignSideHelixProps$JsMap$(new L.JsBackedMap({})) : B._$$DesignSideHelixProps__$$DesignSideHelixProps(backingProps); + }, + _$$DesignSideHelixProps__$$DesignSideHelixProps: function(backingMap) { + var t1, _null = null; + if (backingMap instanceof L.JsBackedMap) + return B._$$DesignSideHelixProps$JsMap$(backingMap); + else { + t1 = type$.dynamic; + t1 = new B._$$DesignSideHelixProps$PlainMap(P.LinkedHashMap_LinkedHashMap$_empty(t1, t1), _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null); + t1.get$$$isClassGenerated(); + t1._design_side_helix$_props = backingMap; + return t1; + } + }, + _$$DesignSideHelixProps$JsMap$: function(backingMap) { + var _null = null, + t1 = new B._$$DesignSideHelixProps$JsMap(new L.JsBackedMap({}), _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null); + t1.get$$$isClassGenerated(); + t1._design_side_helix$_props = backingMap == null ? new L.JsBackedMap({}) : backingMap; + return t1; + }, + DesignSideHelixProps: function DesignSideHelixProps() { + }, + DesignSideHelixComponent: function DesignSideHelixComponent() { + }, + DesignSideHelixComponent_render_closure: function DesignSideHelixComponent_render_closure(t0) { + this.$this = t0; + }, + DesignSideHelixComponent_render_closure0: function DesignSideHelixComponent_render_closure0(t0) { + this.$this = t0; + }, + $DesignSideHelixComponentFactory_closure: function $DesignSideHelixComponentFactory_closure() { + }, + _$$DesignSideHelixProps: function _$$DesignSideHelixProps() { + }, + _$$DesignSideHelixProps$PlainMap: function _$$DesignSideHelixProps$PlainMap(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12) { + var _ = this; + _._design_side_helix$_props = t0; + _.DesignSideHelixProps_helix = t1; + _.DesignSideHelixProps_slice_bar_offset = t2; + _.DesignSideHelixProps_selected = t3; + _.DesignSideHelixProps_mouse_is_over = t4; + _.DesignSideHelixProps_helix_change_apply_to_all = t5; + _.DesignSideHelixProps_show_grid_coordinates = t6; + _.DesignSideHelixProps_invert_y = t7; + _.DesignSideHelixProps_grid = t8; + _.DesignSideHelixProps_rotation_data = t9; + _.DesignSideHelixProps_edit_modes = t10; + _.componentFactory = null; + _.UbiquitousDomPropsMixin__aria = t11; + _.UbiquitousDomPropsMixin__dom = t12; + }, + _$$DesignSideHelixProps$JsMap: function _$$DesignSideHelixProps$JsMap(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12) { + var _ = this; + _._design_side_helix$_props = t0; + _.DesignSideHelixProps_helix = t1; + _.DesignSideHelixProps_slice_bar_offset = t2; + _.DesignSideHelixProps_selected = t3; + _.DesignSideHelixProps_mouse_is_over = t4; + _.DesignSideHelixProps_helix_change_apply_to_all = t5; + _.DesignSideHelixProps_show_grid_coordinates = t6; + _.DesignSideHelixProps_invert_y = t7; + _.DesignSideHelixProps_grid = t8; + _.DesignSideHelixProps_rotation_data = t9; + _.DesignSideHelixProps_edit_modes = t10; + _.componentFactory = null; + _.UbiquitousDomPropsMixin__aria = t11; + _.UbiquitousDomPropsMixin__dom = t12; + }, + _$DesignSideHelixComponent: function _$DesignSideHelixComponent(t0) { + var _ = this; + _._design_side_helix$_cachedTypedProps = null; + _.DisposableManagerProxy__disposableProxy = t0; + _.jsThis = _.state = _.props = null; + }, + $DesignSideHelixProps: function $DesignSideHelixProps() { + }, + _DesignSideHelixComponent_UiComponent2_PureComponent: function _DesignSideHelixComponent_UiComponent2_PureComponent() { + }, + __$$DesignSideHelixProps_UiProps_DesignSideHelixProps: function __$$DesignSideHelixProps_UiProps_DesignSideHelixProps() { + }, + __$$DesignSideHelixProps_UiProps_DesignSideHelixProps_$DesignSideHelixProps: function __$$DesignSideHelixProps_UiProps_DesignSideHelixProps_$DesignSideHelixProps() { + }, + XmlNode: function XmlNode() { + }, + _XmlNode_Object_XmlParentBase: function _XmlNode_Object_XmlParentBase() { + }, + _XmlNode_Object_XmlParentBase_XmlAttributesBase: function _XmlNode_Object_XmlParentBase_XmlAttributesBase() { + }, + _XmlNode_Object_XmlParentBase_XmlAttributesBase_XmlChildrenBase: function _XmlNode_Object_XmlParentBase_XmlAttributesBase_XmlChildrenBase() { + }, + _XmlNode_Object_XmlParentBase_XmlAttributesBase_XmlChildrenBase_XmlHasText: function _XmlNode_Object_XmlParentBase_XmlAttributesBase_XmlChildrenBase_XmlHasText() { + }, + _XmlNode_Object_XmlParentBase_XmlAttributesBase_XmlChildrenBase_XmlHasText_XmlHasVisitor: function _XmlNode_Object_XmlParentBase_XmlAttributesBase_XmlChildrenBase_XmlHasText_XmlHasVisitor() { + }, + _XmlNode_Object_XmlParentBase_XmlAttributesBase_XmlChildrenBase_XmlHasText_XmlHasVisitor_XmlHasWriter: function _XmlNode_Object_XmlParentBase_XmlAttributesBase_XmlChildrenBase_XmlHasText_XmlHasVisitor_XmlHasWriter() { + }, + _XmlNode_Object_XmlParentBase_XmlAttributesBase_XmlChildrenBase_XmlHasText_XmlHasVisitor_XmlHasWriter_XmlHasXml: function _XmlNode_Object_XmlParentBase_XmlAttributesBase_XmlChildrenBase_XmlHasText_XmlHasVisitor_XmlHasWriter_XmlHasXml() { + }, + XmlCache: function XmlCache(t0, t1, t2, t3) { + var _ = this; + _._loader = t0; + _._maxSize = t1; + _._cache$_values = t2; + _.$ti = t3; + }, + XmlNodeList$: function($E) { + return new B.XmlNodeList(H.setRuntimeTypeInfo([], $E._eval$1("JSArray<0>")), $E._eval$1("XmlNodeList<0>")); + }, + XmlNodeList: function XmlNodeList(t0, t1) { + var _ = this; + _.__XmlNodeList__nodeTypes = _.__XmlNodeList__parent = $; + _._wrappers$_base = t0; + _.$ti = t1; + }, + XmlNodeList_removeWhere_closure: function XmlNodeList_removeWhere_closure(t0, t1) { + this.$this = t0; + this.test = t1; + }, + XmlNodeList__expandFragment_closure: function XmlNodeList__expandFragment_closure(t0) { + this.$this = t0; + }, + XmlPrefixName: function XmlPrefixName(t0, t1, t2, t3) { + var _ = this; + _.prefix = t0; + _.local = t1; + _.qualified = t2; + _.XmlHasParent__parent = t3; + }, + XmlVisitor: function XmlVisitor() { + }, + encodingForCharset: function(charset) { + var t1; + if (charset == null) + return C.C_Latin1Codec; + t1 = P.Encoding_getByName(charset); + return t1 == null ? C.C_Latin1Codec : t1; + }, + toUint8List: function(input) { + if (type$.legacy_Uint8List._is(input)) + return input; + if (type$.legacy_TypedData._is(input)) + return J.asUint8List$2$x(J.get$buffer$x(input), 0, null); + return new Uint8Array(H._ensureNativeList(input)); + }, + toByteStream: function(stream) { + return stream; + }, + wrapFormatException: function($name, value, body, $T) { + var error, error0, t1, exception; + try { + t1 = body.call$0(); + return t1; + } catch (exception) { + t1 = H.unwrapException(exception); + if (t1 instanceof G.SourceSpanFormatException) { + error = t1; + throw H.wrapException(G.SourceSpanFormatException$("Invalid " + $name + ": " + error._span_exception$_message, error._span, J.get$source$z(error))); + } else if (type$.legacy_FormatException._is(t1)) { + error0 = t1; + throw H.wrapException(P.FormatException$("Invalid " + $name + ' "' + value + '": ' + H.S(J.get$message$x(error0)), J.get$source$z(error0), J.get$offset$x(error0))); + } else + throw exception; + } + }, + isAlphabetic: function(char) { + var t1; + if (!(char >= 65 && char <= 90)) + t1 = char >= 97 && char <= 122; + else + t1 = true; + return t1; + }, + isDriveLetter: function(path, index) { + var t1 = path.length, + t2 = index + 2; + if (t1 < t2) + return false; + if (!B.isAlphabetic(C.JSString_methods.codeUnitAt$1(path, index))) + return false; + if (C.JSString_methods.codeUnitAt$1(path, index + 1) !== 58) + return false; + if (t1 === t2) + return true; + return C.JSString_methods.codeUnitAt$1(path, t2) === 47; + }, + resolve: function(parser, $T) { + var todo, seen, t3, $parent, t4, _i, child, referenced, + t1 = type$.ResolvableParser_dynamic, + t2 = type$.Parser_dynamic, + mapping = P.LinkedHashMap_LinkedHashMap$_empty(t1, t2); + parser = B._dereference(parser, mapping, $T); + todo = H.setRuntimeTypeInfo([parser], type$.JSArray_Parser_dynamic); + seen = P.LinkedHashSet_LinkedHashSet$_literal([parser], t2); + for (t2 = type$.dynamic; t3 = todo.length, t3 !== 0;) { + if (0 >= t3) + return H.ioore(todo, -1); + $parent = todo.pop(); + for (t3 = $parent.get$children($parent), t4 = t3.length, _i = 0; _i < t3.length; t3.length === t4 || (0, H.throwConcurrentModificationError)(t3), ++_i) { + child = t3[_i]; + if (t1._is(child)) { + referenced = B._dereference(child, mapping, t2); + $parent.replace$2(0, child, referenced); + child = referenced; + } + if (seen.add$1(0, child)) + C.JSArray_methods.add$1(todo, child); + } + } + return parser; + }, + _dereference: function(parser, mapping, $T) { + var t2, t3, + t1 = $T._eval$1("ResolvableParser<0>"), + references = P.LinkedHashSet_LinkedHashSet$_empty(t1); + for (; t1._is(parser);) { + if (mapping.containsKey$1(0, parser)) { + t1 = mapping.$index(0, parser); + t1.toString; + return $T._eval$1("Parser<0>")._as(t1); + } else if (!references.add$1(0, parser)) + throw H.wrapException(P.StateError$("Recursive references detected: " + references.toString$0(0))); + t2 = parser.$function; + t3 = parser.$arguments; + parser = parser.$ti._eval$1("Parser<1>")._as(H.Primitives_applyFunction(t2, t3, null)); + } + if (type$.ResolvableParser_dynamic._is(parser)) + throw H.wrapException(P.StateError$("Type error in reference parser: " + parser.toString$0(0))); + for (t1 = P._LinkedHashSetIterator$(references, references._collection$_modifications, references.$ti._precomputed1); t1.moveNext$0();) + mapping.$indexSet(0, t1._collection$_current, parser); + return parser; + }, + move_ensure_all_in_same_helix_group_middleware: function(store, action, next) { + type$.legacy_Store_legacy_AppState._as(store); + type$.legacy_dynamic_Function_dynamic._as(next); + if (action instanceof U.StrandsMoveStart) + if (action.original_helices_view_order_inverse == null) { + C.Window_methods.alert$1(window, "Cannot move or copy strands unless they are all on the same helix group.\noriginal_helices_view_order_inverse is null"); + return; + } + next.call$1(action); + }, + isAllTheSame: function(iter) { + var firstValue, t1; + if (iter.get$length(iter) === 0) + return true; + firstValue = iter.get$first(iter); + for (t1 = H.SubListIterable$(iter, 1, null, iter.$ti._eval$1("ListIterable.E")), t1 = new H.ListIterator(t1, t1.get$length(t1), t1.$ti._eval$1("ListIterator")); t1.moveNext$0();) + if (!J.$eq$(t1.__internal$_current, firstValue)) + return false; + return true; + }, + replaceFirstNull: function(list, element, $E) { + var index = C.JSArray_methods.indexOf$1(list, null); + if (index < 0) + throw H.wrapException(P.ArgumentError$(H.S(list) + " contains no null elements.")); + C.JSArray_methods.$indexSet(list, index, element); + }, + replaceWithNull: function(list, element, $E) { + var index = C.JSArray_methods.indexOf$1(list, element); + if (index < 0) + throw H.wrapException(P.ArgumentError$(H.S(list) + " contains no elements matching " + element.toString$0(0) + ".")); + C.JSArray_methods.$indexSet(list, index, null); + }, + countCodeUnits: function(string, codeUnit) { + var t1, count; + for (t1 = new H.CodeUnits(string), t1 = new H.ListIterator(t1, t1.get$length(t1), type$.CodeUnits._eval$1("ListIterator")), count = 0; t1.moveNext$0();) + if (t1.__internal$_current === codeUnit) + ++count; + return count; + }, + findLineStart: function(context, text, column) { + var beginningOfLine, index, lineStart; + if (text.length === 0) + for (beginningOfLine = 0; true;) { + index = C.JSString_methods.indexOf$2(context, "\n", beginningOfLine); + if (index === -1) + return context.length - beginningOfLine >= column ? beginningOfLine : null; + if (index - beginningOfLine >= column) + return beginningOfLine; + beginningOfLine = index + 1; + } + index = C.JSString_methods.indexOf$1(context, text); + for (; index !== -1;) { + lineStart = index === 0 ? 0 : C.JSString_methods.lastIndexOf$2(context, "\n", index - 1) + 1; + if (column === index - lineStart) + return lineStart; + index = C.JSString_methods.indexOf$2(context, text, index + 1); + } + return null; + }, + lookupAttribute: function(start, prefix, local) { + var node, t1, t2, t3; + for (node = start; node != null; node = node.get$parent(node)) + for (t1 = J.get$iterator$ax(node.get$attributes(node)); t1.moveNext$0();) { + t2 = t1.__interceptors$_current; + t3 = t2.name; + if (t3.get$prefix(t3) == prefix && t3.get$local() === local) + return t2; + } + return null; + } + }, + A = {Bz2BitReader: function Bz2BitReader(t0) { + this.input = t0; + this._bitPos = this._bz2_bit_reader$_bitBuffer = 0; + }, CopyOnWriteSet: function CopyOnWriteSet(t0, t1, t2) { + var _ = this; + _._copy_on_write_set$_setFactory = t0; + _._copy_on_write_set$_copyBeforeWrite = true; + _._copy_on_write_set$_set = t1; + _.$ti = t2; + }, + hashObjects: function(objects) { + return A._finish(J.fold$1$2$ax(objects, 0, new A.hashObjects_closure(), type$.int)); + }, + _combine: function(hash, value) { + if (typeof hash !== "number") + return hash.$add(); + if (typeof value !== "number") + return H.iae(value); + hash = hash + value & 536870911; + hash = hash + ((hash & 524287) << 10) & 536870911; + return hash ^ hash >>> 6; + }, + _finish: function(hash) { + if (typeof hash !== "number") + return H.iae(hash); + hash = hash + ((hash & 67108863) << 3) & 536870911; + hash ^= hash >>> 11; + return hash + ((hash & 16383) << 15) & 536870911; + }, + hashObjects_closure: function hashObjects_closure() { + }, + BuiltMap_BuiltMap: function(map, $K, $V) { + var t1 = A._BuiltMap$copyAndCheckTypes(map.get$keys(map), new A.BuiltMap_BuiltMap_closure(map), $K, $V); + return t1; + }, + BuiltMap_BuiltMap$from: function(map, $K, $V) { + return A._BuiltMap$copyAndCheckTypes(J.get$keys$x(map._copy_on_write_map$_map), new A.BuiltMap_BuiltMap$from_closure(map), $K, $V); + }, + BuiltMap_BuiltMap$of: function(map, $K, $V) { + var t1 = new A._BuiltMap(null, P.LinkedHashMap_LinkedHashMap$_empty($K, $V), $K._eval$1("@<0>")._bind$1($V)._eval$1("_BuiltMap<1,2>")); + t1._BuiltMap$copyAndCheckForNull$2(J.get$keys$x(map), new A.BuiltMap_BuiltMap$of_closure(map, $V, $K), $K, $V); + return t1; + }, + _BuiltMap$copyAndCheckTypes: function(keys, lookup, $K, $V) { + var t1 = new A._BuiltMap(null, P.LinkedHashMap_LinkedHashMap$_empty($K, $V), $K._eval$1("@<0>")._bind$1($V)._eval$1("_BuiltMap<1,2>")); + t1._BuiltMap$copyAndCheckTypes$2(keys, lookup, $K, $V); + return t1; + }, + MapBuilder_MapBuilder: function(map, $K, $V) { + var t1 = new A.MapBuilder(null, $, null, $K._eval$1("@<0>")._bind$1($V)._eval$1("MapBuilder<1,2>")); + t1.replace$1(0, map); + return t1; + }, + BuiltMap: function BuiltMap() { + }, + BuiltMap_BuiltMap_closure: function BuiltMap_BuiltMap_closure(t0) { + this.map = t0; + }, + BuiltMap_BuiltMap$from_closure: function BuiltMap_BuiltMap$from_closure(t0) { + this.map = t0; + }, + BuiltMap_BuiltMap$of_closure: function BuiltMap_BuiltMap$of_closure(t0, t1, t2) { + this.map = t0; + this.V = t1; + this.K = t2; + }, + BuiltMap_hashCode_closure: function BuiltMap_hashCode_closure(t0) { + this.$this = t0; + }, + _BuiltMap: function _BuiltMap(t0, t1, t2) { + var _ = this; + _._mapFactory = t0; + _._map$_map = t1; + _._values = _._keys = _._hashCode = null; + _.$ti = t2; + }, + MapBuilder: function MapBuilder(t0, t1, t2, t3) { + var _ = this; + _._mapFactory = t0; + _.__MapBuilder__map = t1; + _._mapOwner = t2; + _.$ti = t3; + }, + MapBuilder_replace_closure: function MapBuilder_replace_closure(t0, t1) { + this.$this = t0; + this.replacement = t1; + }, + MapBuilder_replace_closure0: function MapBuilder_replace_closure0(t0, t1) { + this.$this = t0; + this.replacement = t1; + }, + JsonObject_JsonObject: function(value) { + if (typeof value == "number") + return new A.NumJsonObject(value); + else if (typeof value == "string") + return new A.StringJsonObject(value); + else if (H._isBool(value)) + return new A.BoolJsonObject(value); + else if (type$.List_nullable_Object._is(value)) + return new A.ListJsonObject(new P.UnmodifiableListView(value, type$.UnmodifiableListView_nullable_Object)); + else if (type$.Map_of_String_and_nullable_Object._is(value)) + return new A.MapJsonObject(new P.UnmodifiableMapView(value, type$.UnmodifiableMapView_of_String_and_nullable_Object)); + else if (type$.Map_dynamic_dynamic._is(value)) + return new A.MapJsonObject(new P.UnmodifiableMapView(J.cast$2$0$ax(value, type$.String, type$.nullable_Object), type$.UnmodifiableMapView_of_String_and_nullable_Object)); + else + throw H.wrapException(P.ArgumentError$value(value, "value", "Must be bool, List, Map, num or String")); + }, + JsonObject: function JsonObject() { + }, + BoolJsonObject: function BoolJsonObject(t0) { + this.value = t0; + }, + ListJsonObject: function ListJsonObject(t0) { + this.value = t0; + }, + MapJsonObject: function MapJsonObject(t0) { + this.value = t0; + }, + NumJsonObject: function NumJsonObject(t0) { + this.value = t0; + }, + StringJsonObject: function StringJsonObject(t0) { + this.value = t0; + }, + DomProps$: function(componentFactory, props) { + var t1 = {}; + t1 = new A.DomProps(componentFactory, new L.JsBackedMap(t1), null, null); + t1.get$$$isClassGenerated(); + return t1; + }, + SvgProps$: function(componentFactory, props) { + var t1 = {}; + t1 = new A.SvgProps(componentFactory, new L.JsBackedMap(t1), null, null); + t1.get$$$isClassGenerated(); + return t1; + }, + DomProps: function DomProps(t0, t1, t2, t3) { + var _ = this; + _.DomProps_componentFactory = t0; + _.props = t1; + _.componentFactory = null; + _.UbiquitousDomPropsMixin__aria = t2; + _.UbiquitousDomPropsMixin__dom = t3; + }, + SvgProps: function SvgProps(t0, t1, t2, t3) { + var _ = this; + _.SvgProps_componentFactory = t0; + _.props = t1; + _.componentFactory = null; + _.UbiquitousDomPropsMixin__aria = t2; + _.UbiquitousDomPropsMixin__dom = t3; + }, + _DomProps_UiProps_DomPropsMixin: function _DomProps_UiProps_DomPropsMixin() { + }, + _SvgProps_UiProps_DomPropsMixin: function _SvgProps_UiProps_DomPropsMixin() { + }, + _SvgProps_UiProps_DomPropsMixin_SvgPropsMixin: function _SvgProps_UiProps_DomPropsMixin_SvgPropsMixin() { + }, + MapParserExtension_map: function(_this, callback, hasSideEffects, $T, $R) { + return new A.MapParser(callback, hasSideEffects, _this, $T._eval$1("@<0>")._bind$1($R)._eval$1("MapParser<1,2>")); + }, + MapParser: function MapParser(t0, t1, t2, t3) { + var _ = this; + _.callback = t0; + _.hasSideEffects = t1; + _.delegate = t2; + _.$ti = t3; + }, + NotCharacterPredicate: function NotCharacterPredicate(t0) { + this.predicate = t0; + }, + SHA1Digest$: function() { + var t1 = G.Register64$(0), + t2 = new Uint8Array(4), + t3 = type$.int; + t3 = new A.SHA1Digest(t1, t2, C.C_Endian0, 5, P.List_List$filled(5, 0, false, t3), P.List_List$filled(80, 0, false, t3)); + t3.reset$0(0); + return t3; + }, + SHA1Digest: function SHA1Digest(t0, t1, t2, t3, t4, t5) { + var _ = this; + _._byteCount = t0; + _._wordBuffer = t1; + _.__MD4FamilyDigest__wordBufferOffset = $; + _._endian = t2; + _._packedStateSize = t3; + _.state = t4; + _.buffer = t5; + _.__MD4FamilyDigest_bufferOffset = $; + }, + HMac$: function(_digest, _blockLength) { + var t2, t3, + t1 = new A.HMac(_digest, _blockLength); + t1.__HMac__digestSize = 20; + t2 = t1.get$_blockLength(); + if (!H._isInt(t2)) + H.throwExpression(P.ArgumentError$("Invalid length " + H.S(t2))); + t1.__HMac__inputPad = new Uint8Array(t2); + t2 = t1.get$_blockLength(); + t3 = t1.get$_digestSize(); + if (typeof t2 !== "number") + return t2.$add(); + if (typeof t3 !== "number") + return H.iae(t3); + t1.__HMac__outputBuf = new Uint8Array(t2 + t3); + return t1; + }, + HMac: function HMac(t0, t1) { + var _ = this; + _._digest = t0; + _.__HMac__digestSize = $; + _.__HMac__blockLength = t1; + _.__HMac__outputBuf = _.__HMac__inputPad = $; + }, + hashObjects0: function(objects) { + return A._finish0(C.JSArray_methods.fold$1$2(objects, 0, new A.hashObjects_closure0(), type$.legacy_int)); + }, + _combine0: function(hash, value) { + if (typeof hash !== "number") + return hash.$add(); + if (typeof value !== "number") + return H.iae(value); + hash = hash + value & 536870911; + hash = hash + ((hash & 524287) << 10) & 536870911; + return hash ^ hash >>> 6; + }, + _finish0: function(hash) { + if (typeof hash !== "number") + return H.iae(hash); + hash = hash + ((hash & 67108863) << 3) & 536870911; + hash ^= hash >>> 11; + return hash + ((hash & 16383) << 15) & 536870911; + }, + hashObjects_closure0: function hashObjects_closure0() { + }, + Component2BridgeImpl_bridgeFactory: function(_) { + type$.legacy_Component2._as(_); + return C.C_Component2BridgeImpl; + }, + Component2Bridge: function Component2Bridge() { + }, + Component2BridgeImpl: function Component2BridgeImpl() { + }, + listifyChildren: function(children) { + if (H.boolConversionCheck(self.React.isValidElement(children))) + return children; + else if (type$.legacy_Iterable_dynamic._is(children) && !type$.legacy_List_dynamic._is(children)) + return J.toList$1$growable$ax(children, false); + else + return children; + }, + ReactJsContextComponentFactoryProxy$: function(jsClass, isConsumer, isProvider, shouldConvertDomProps) { + if (jsClass == null) + H.throwExpression(P.ArgumentError$(string$.x60jsCla)); + return new A.ReactJsContextComponentFactoryProxy(jsClass, isConsumer, isProvider, jsClass); + }, + ReactJsComponentFactoryProxy$: function(jsClass, shouldConvertDomProps) { + if (jsClass == null) + H.throwExpression(P.ArgumentError$(string$.x60jsCla)); + return new A.ReactJsComponentFactoryProxy(jsClass); + }, + JsBackedMapComponentFactoryMixin: function JsBackedMapComponentFactoryMixin() { + }, + ReactDartComponentFactoryProxy2: function ReactDartComponentFactoryProxy2(t0, t1) { + this.reactClass = t0; + this.$ti = t1; + }, + ReactJsContextComponentFactoryProxy: function ReactJsContextComponentFactoryProxy(t0, t1, t2, t3) { + var _ = this; + _.ReactJsContextComponentFactoryProxy_type = t0; + _.isConsumer = t1; + _.isProvider = t2; + _.type = t3; + }, + ReactJsContextComponentFactoryProxy_build_closure: function ReactJsContextComponentFactoryProxy_build_closure(t0) { + this.contextCallback = t0; + }, + ReactJsComponentFactoryProxy: function ReactJsComponentFactoryProxy(t0) { + this.type = t0; + }, + ReactDomComponentFactoryProxy: function ReactDomComponentFactoryProxy(t0) { + this.name = t0; + }, + _ReactDartComponentFactoryProxy2_ReactComponentFactoryProxy_JsBackedMapComponentFactoryMixin: function _ReactDartComponentFactoryProxy2_ReactComponentFactoryProxy_JsBackedMapComponentFactoryMixin() { + }, + strand_bounds_status: function strand_bounds_status(t0) { + this._constants$_name = t0; + }, + export_cadnano_or_codenano_file_middleware: function(store, action, next) { + var state; + type$.legacy_Store_legacy_AppState._as(store); + type$.legacy_dynamic_Function_dynamic._as(next).call$1(action); + state = store.get$state(store); + if (action instanceof U.ExportCadnanoFile) + A._save_file_cadnano(state, action.whitespace); + else if (action instanceof U.ExportCodenanoFile) + A._save_file_codenano(state); + }, + _save_file_cadnano: function(state, whitespace) { + return A._save_file_cadnano$body(state, whitespace); + }, + _save_file_cadnano$body: function(state, whitespace) { + var $async$goto = 0, + $async$completer = P._makeAsyncAwaitCompleter(type$.dynamic), + $async$next = [], default_filename, $content, whitespace_regex, e, t1, t2, t3, exception; + var $async$_save_file_cadnano = P._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { + if ($async$errorCode === 1) + return P._asyncRethrow($async$result, $async$completer); + while (true) + switch ($async$goto) { + case 0: + // Function start + try { + default_filename = state.ui_state.storables.loaded_filename; + t1 = default_filename; + default_filename = $.$get$context().withoutExtension$1(t1) + ".json"; + t1 = state.design; + t2 = default_filename; + t3 = type$.dynamic; + $content = K.SuppressableIndentEncoder$(new K.Replacer(P.LinkedHashMap_LinkedHashMap$_empty(t3, t3), new P.JsonEncoder(null, null)), true).convert$1(A.to_cadnano_v2_serializable(t1, t2)); + if (!whitespace) { + whitespace_regex = P.RegExp_RegExp("\\s+", true); + t1 = $content; + t2 = type$.Pattern._as(whitespace_regex); + $content = H.stringReplaceAllUnchecked(t1, t2, ""); + } + E.save_file(default_filename, $content, null, C.BlobType_0); + } catch (exception) { + t1 = H.unwrapException(exception); + if (t1 instanceof N.IllegalCadnanoDesignError) { + e = t1; + C.Window_methods.alert$1(window, "Error exporting file: " + e.cause); + } else + throw exception; + } + // implicit return + return P._asyncReturn(null, $async$completer); + } + }); + return P._asyncStartSync($async$_save_file_cadnano, $async$completer); + }, + _save_file_codenano: function(state) { + var $async$goto = 0, + $async$completer = P._makeAsyncAwaitCompleter(type$.dynamic), + $async$returnValue, t1, grids, design_json, t2, t3, helix_json, t4, t5, _i, angle_key, degrees, pos, strand_json, hex, domain_json, $forward, json_str, design; + var $async$_save_file_codenano = P._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { + if ($async$errorCode === 1) + return P._asyncRethrow($async$result, $async$completer); + while (true) + $async$outer: + switch ($async$goto) { + case 0: + // Function start + design = state.design; + if (design == null) { + // goto return + $async$goto = 1; + break; + } + t1 = design.groups; + grids = J.map$1$1$ax(t1.get$values(t1), new A._save_file_codenano_closure(), type$.legacy_Grid).toSet$0(0); + if (!(grids._collection$_length === 1 && J.$eq$(grids.get$first(grids), C.Grid_none))) { + C.Window_methods.alert$1(window, "Grid must be set to none for all helix groups to export to codenano. First convert all grids to none."); + // goto return + $async$goto = 1; + break; + } + design_json = design.to_json_serializable$1$suppress_indent(true); + design_json.$indexSet(0, "parameters", P.LinkedHashMap_LinkedHashMap$_literal(["z_step", 0.332, "helix_radius", 1, "bases_per_turn", 10.5, "groove_angle", -2.2175948142986774, "inter_helix_gap", 0.65], type$.legacy_String, type$.legacy_double)); + design_json.$indexSet(0, "version", "0.4.12"); + t1 = type$.legacy_List_dynamic; + for (t2 = J.get$iterator$ax(t1._as(design_json.$index(0, "helices"))), t3 = type$.legacy_Map_dynamic_dynamic; t2.moveNext$0();) { + helix_json = t3._as(t2.get$current(t2)); + for (t4 = ["pitch", "roll", "yaw"], t5 = J.getInterceptor$asx(helix_json), _i = 0; _i < 3; ++_i) { + angle_key = t4[_i]; + degrees = H._asNumS(t5.$index(helix_json, angle_key)); + t5.$indexSet(helix_json, angle_key, degrees == null ? 0 : degrees * 2 * 3.141592653589793 / 360); + } + pos = t5.$index(helix_json, "position"); + t5.remove$1(helix_json, "position"); + t5.$indexSet(helix_json, "origin", pos); + } + for (t1 = J.get$iterator$ax(t1._as(design_json.$index(0, "strands"))), t2 = type$.legacy_Iterable_dynamic, t4 = type$.legacy_NoIndent; t1.moveNext$0();) { + strand_json = t3._as(t1.get$current(t1)); + t5 = J.getInterceptor$x(strand_json); + if (t5.containsKey$1(strand_json, "color")) { + hex = H._asStringS(t5.$index(strand_json, "color")); + if (0 >= hex.length) { + $async$returnValue = H.ioore(hex, 0); + // goto return + $async$goto = 1; + break $async$outer; + } + t5.$indexSet(strand_json, "color", P.int_parse(hex[0] === "#" ? J.substring$1$s(hex, 1) : hex, 16)); + } + for (t5 = J.get$iterator$ax(t2._as(t5.$index(strand_json, "domains"))); t5.moveNext$0();) { + domain_json = t3._as(t4._as(t5.get$current(t5)).value); + if (!domain_json.containsKey$1(0, "forward")) { + C.Window_methods.alert$1(window, "To export, strands cannot have any loopouts. Please remove all loopouts before exporting."); + // goto return + $async$goto = 1; + break $async$outer; + } + $forward = H._asBoolS(domain_json.$index(0, "forward")); + domain_json.remove$1(0, "forward"); + domain_json.$indexSet(0, "right", $forward); + } + } + t1 = type$.dynamic; + json_str = K.SuppressableIndentEncoder$(new K.Replacer(P.LinkedHashMap_LinkedHashMap$_empty(t1, t1), new P.JsonEncoder(null, null)), true).convert$1(design_json); + t1 = state.ui_state.storables.loaded_filename; + E.save_file($.$get$context().withoutExtension$1(t1) + "-codenano.json", json_str, null, C.BlobType_0); + case 1: + // return + return P._asyncReturn($async$returnValue, $async$completer); + } + }); + return P._asyncStartSync($async$_save_file_codenano, $async$completer); + }, + to_cadnano_v2_serializable: function(design, $name) { + var design_grid, grid_used, t2, t3, grid_type, t4, num_bases, t5, t6, t7, t8, right_direction, helices_ids_reverse, _null = null, + t1 = type$.dynamic, + dct = P.LinkedHashMap_LinkedHashMap(_null, _null, type$.legacy_String, t1); + if ($name !== "") + dct.$indexSet(0, "name", $name); + dct.$indexSet(0, "vstrands", []); + if (design.has_default_groups$0()) { + design_grid = design.__grid; + if (design_grid == null) { + design_grid = N.Design.prototype.get$grid.call(design, design); + design.__grid = design_grid; + } + } else { + grid_used = P.HashMap_HashMap(_null, _null, _null, type$.legacy_Grid, t1); + for (t1 = design.groups, t2 = J.get$iterator$ax(t1.get$keys(t1)), t1 = t1._map$_map, t3 = J.getInterceptor$asx(t1), grid_type = C.Grid_none; t2.moveNext$0();) { + t4 = t2.get$current(t2); + grid_used.$indexSet(0, t3.$index(t1, t4).grid, true); + grid_type = t3.$index(t1, t4).grid; + } + if (grid_used._collection$_length > 1) + throw H.wrapException(N.IllegalCadnanoDesignError$("Designs using helix groups can be exported to cadnano v2 only if all groups share the same grid type.")); + design_grid = grid_type; + } + for (t1 = design.helices, t1 = J.get$iterator$ax(t1.get$values(t1)), num_bases = 0; t1.moveNext$0();) { + t2 = t1.get$current(t1); + num_bases = Math.max(num_bases, t2.max_offset); + } + if (design_grid === C.Grid_square) + num_bases = A._get_multiple_of_x_sup_closest_to_y(32, num_bases); + else if (design_grid === C.Grid_honeycomb) + num_bases = A._get_multiple_of_x_sup_closest_to_y(21, num_bases); + else + throw H.wrapException(N.IllegalCadnanoDesignError$("We can export to cadnano v2 `square` and `honeycomb` grids only.")); + for (t1 = design.strands._list, t2 = J.getInterceptor$ax(t1), t3 = t2.get$iterator(t1), t4 = type$.legacy_Domain; t3.moveNext$0();) { + t5 = t3.get$current(t3); + for (t6 = J.get$iterator$ax(t5.substrands._list), t5 = t5.is_scaffold; t6.moveNext$0();) { + t7 = t6.get$current(t6); + if (t7 instanceof G.Loopout) + throw H.wrapException(N.IllegalCadnanoDesignError$("We cannot handle designs with Loopouts as it is not a cadnano v2 concept")); + t4._as(t7); + if (t5) { + t8 = C.JSInt_methods.$mod(t7.helix, 2); + right_direction = t7.forward; + right_direction = t8 === 0 ? right_direction : !right_direction; + } else { + t8 = C.JSInt_methods.$mod(t7.helix, 2); + right_direction = t7.forward; + if (t8 === 0) + right_direction = !right_direction; + } + if (!right_direction) + throw H.wrapException(N.IllegalCadnanoDesignError$("We can only convert designs where even helices have the scaffold going forward and odd helices have the scaffold going backward see the spec v2.txt Note 4. " + H.S(t7))); + } + } + helices_ids_reverse = A._cadnano_v2_fill_blank(design, dct, num_bases, design_grid); + for (t1 = t2.get$iterator(t1); t1.moveNext$0();) + A._cadnano_v2_place_strand(t1.get$current(t1), dct, helices_ids_reverse); + return dct; + }, + _get_multiple_of_x_sup_closest_to_y: function(x, y) { + var t1 = C.JSInt_methods.$mod(y, x); + return t1 === 0 ? y : y + (x - t1); + }, + _cadnano_v2_fill_blank: function(design, dct, num_bases, design_grid) { + var t2, t3, t4, t5, t6, i, t7, helix_dct, _i, _null = null, + t1 = type$.legacy_int, + helices_ids_reverse = P.HashMap_HashMap(_null, _null, _null, t1, t1); + for (t1 = design.helices, t1 = J.get$iterator$ax(t1.get$values(t1)), t2 = type$.JSArray_legacy_int, t3 = design_grid !== C.Grid_square, t4 = type$.legacy_String, t5 = type$.dynamic, t6 = design_grid === C.Grid_honeycomb, i = 0; t1.moveNext$0();) { + t7 = t1.get$current(t1); + helix_dct = P.LinkedHashMap_LinkedHashMap(_null, _null, t4, t5); + helix_dct.$indexSet(0, "num", t7.idx); + if (!t3 || t6) { + t7 = t7.grid_position; + helix_dct.$indexSet(0, "row", t7.v); + helix_dct.$indexSet(0, "col", t7.h); + } + helix_dct.$indexSet(0, "scaf", []); + helix_dct.$indexSet(0, "loop", []); + helix_dct.$indexSet(0, "skip", []); + helix_dct.$indexSet(0, "stap", []); + for (_i = 0; _i < num_bases; ++_i) { + J.add$1$ax(helix_dct.$index(0, "scaf"), H.setRuntimeTypeInfo([-1, -1, -1, -1], t2)); + J.add$1$ax(helix_dct.$index(0, "stap"), H.setRuntimeTypeInfo([-1, -1, -1, -1], t2)); + J.add$1$ax(helix_dct.$index(0, "loop"), 0); + J.add$1$ax(helix_dct.$index(0, "skip"), 0); + } + helix_dct.$indexSet(0, "stap_colors", []); + helix_dct.$indexSet(0, "scafLoop", []); + helix_dct.$indexSet(0, "stapLoop", []); + helices_ids_reverse.$indexSet(0, H._asIntS(helix_dct.$index(0, "num")), i); + J.add$1$ax(dct.$index(0, "vstrands"), helix_dct); + ++i; + } + return helices_ids_reverse; + }, + _cadnano_v2_place_strand: function(strand, dct, helices_ids_reverse) { + var t5, domain, which_helix_id, which_helix, base_id, next_domain, next_helix_id, next_helix, helix_from, start_from, end_from, forward_from, t6, helix_to, start_to, end_to, forward_to, t7, t8, first_domain, first_helix, first_start, first_end, first_forward, last_domain, last_helix, last_start, the_base_from, the_base_to, temp1, temp3, temp2, temp4, + _s8_ = "vstrands", + _s3_ = "num", + strand_type = strand.is_scaffold ? "scaf" : "stap", + t1 = strand_type === "stap", + t2 = type$.legacy_Map_of_legacy_String_and_dynamic, + t3 = type$.JSArray_legacy_int, + color = strand.color, + t4 = type$.legacy_List_legacy_int, + i = 0; + while (true) { + t5 = strand.__domains; + if (t5 == null) { + t5 = E.Strand.prototype.get$domains.call(strand); + strand.set$__domains(t5); + } + t5 = J.get$length$asx(t5._list); + if (typeof t5 !== "number") + return H.iae(t5); + if (!(i < t5)) + break; + t5 = strand.__domains; + if (t5 == null) { + t5 = E.Strand.prototype.get$domains.call(strand); + strand.set$__domains(t5); + } + domain = J.$index$asx(t5._list, i); + which_helix_id = helices_ids_reverse.$index(0, domain.helix); + which_helix = t2._as(J.$index$asx(dct.$index(0, _s8_), which_helix_id)); + if (t1) { + t5 = J.$index$asx(which_helix, "stap_colors"); + base_id = domain.forward ? domain.start : domain.end - 1; + J.add$1$ax(t5, H.setRuntimeTypeInfo([base_id, A.to_cadnano_v2_int_hex(color)], t3)); + } + A._cadnano_v2_place_strand_segment(which_helix, domain, strand_type); + t5 = strand.__domains; + if (t5 == null) { + t5 = E.Strand.prototype.get$domains.call(strand); + strand.set$__domains(t5); + } + t5 = J.get$length$asx(t5._list); + if (typeof t5 !== "number") + return t5.$sub(); + if (i !== t5 - 1) { + t5 = strand.__domains; + if (t5 == null) { + t5 = E.Strand.prototype.get$domains.call(strand); + strand.set$__domains(t5); + } + next_domain = J.$index$asx(t5._list, i + 1); + next_helix_id = helices_ids_reverse.$index(0, next_domain.helix); + next_helix = t2._as(J.$index$asx(dct.$index(0, _s8_), next_helix_id)); + t5 = J.getInterceptor$asx(which_helix); + helix_from = H._asIntS(t5.$index(which_helix, _s3_)); + start_from = domain.start; + end_from = domain.end; + forward_from = domain.forward; + t6 = J.getInterceptor$asx(next_helix); + helix_to = H._asIntS(t6.$index(next_helix, _s3_)); + start_to = next_domain.start; + end_to = next_domain.end; + forward_to = next_domain.forward; + if (forward_from && !forward_to) { + t7 = end_from - 1; + t8 = end_to - 1; + J.setRange$3$ax(t4._as(J.$index$asx(t5.$index(which_helix, strand_type), t7)), 2, J.get$length$asx(t4._as(J.$index$asx(t5.$index(which_helix, strand_type), t7))), H.setRuntimeTypeInfo([helix_to, t8], t3)); + J.setRange$3$ax(t4._as(J.$index$asx(t6.$index(next_helix, strand_type), t8)), 0, 2, H.setRuntimeTypeInfo([helix_from, t7], t3)); + } else { + t7 = !forward_from; + if (t7 && forward_to) { + J.setRange$3$ax(t4._as(J.$index$asx(t5.$index(which_helix, strand_type), start_from)), 2, J.get$length$asx(t4._as(J.$index$asx(t5.$index(which_helix, strand_type), start_from))), H.setRuntimeTypeInfo([helix_to, start_to], t3)); + J.setRange$3$ax(t4._as(J.$index$asx(t6.$index(next_helix, strand_type), start_to)), 0, 2, H.setRuntimeTypeInfo([helix_from, start_from], t3)); + } else if (forward_from && forward_to) { + t7 = end_from - 1; + J.setRange$3$ax(J.$index$asx(t5.$index(which_helix, strand_type), t7), 2, J.get$length$asx(J.$index$asx(t5.$index(which_helix, strand_type), t7)), H.setRuntimeTypeInfo([helix_to, start_to], t3)); + J.setRange$3$ax(J.$index$asx(t6.$index(next_helix, strand_type), end_to - 1), 0, 2, H.setRuntimeTypeInfo([helix_from, start_from], t3)); + } else if (t7 && !forward_to) { + J.setRange$3$ax(J.$index$asx(t5.$index(which_helix, strand_type), start_from), 2, J.get$length$asx(J.$index$asx(t5.$index(which_helix, strand_type), start_from)), H.setRuntimeTypeInfo([helix_to, end_to - 1], t3)); + J.setRange$3$ax(J.$index$asx(t6.$index(next_helix, strand_type), start_to), 0, 2, H.setRuntimeTypeInfo([helix_from, end_from - 1], t3)); + } + } + } + ++i; + } + if (strand.circular) { + first_domain = strand.get$first_domain(); + first_helix = t2._as(J.$index$asx(dct.$index(0, _s8_), first_domain.helix)); + first_start = first_domain.start; + first_end = first_domain.end; + first_forward = first_domain.forward; + last_domain = strand.get$last_domain(); + last_helix = t2._as(J.$index$asx(dct.$index(0, _s8_), last_domain.helix)); + last_start = last_domain.start; + the_base_from = last_domain.end - 1; + if (!last_domain.forward) + the_base_from = last_start; + the_base_to = !first_forward ? first_end - 1 : first_start; + t1 = J.getInterceptor$asx(last_helix); + temp1 = H.setRuntimeTypeInfo([H._asIntS(t1.$index(last_helix, _s3_)), the_base_from], t3); + t2 = J.getInterceptor$asx(first_helix); + t4 = type$.legacy_List_dynamic; + temp3 = t4._as(J.$index$asx(t2.$index(first_helix, strand_type), the_base_to)); + t5 = J.getInterceptor$asx(temp3); + if (J.$eq$(t5.$index(temp3, 0), -1) && J.$eq$(t5.$index(temp3, 1), -1)) + t5.setRange$3(temp3, 0, 2, temp1); + else + t5.setRange$3(temp3, 2, 4, temp1); + temp2 = H.setRuntimeTypeInfo([H._asIntS(t2.$index(first_helix, _s3_)), the_base_to], t3); + temp4 = t4._as(J.$index$asx(t1.$index(last_helix, strand_type), the_base_from)); + t1 = J.getInterceptor$asx(temp4); + if (J.$eq$(t1.$index(temp4, 0), -1) && J.$eq$(t1.$index(temp4, 1), -1)) + t1.setRange$3(temp4, 0, 2, temp2); + else + t1.setRange$3(temp4, 2, 4, temp2); + } + }, + to_cadnano_v2_int_hex: function(color) { + return 65536 * J.toInt$0$n(color.r) + 256 * J.toInt$0$n(color.g) + J.toInt$0$n(color.b); + }, + _cadnano_v2_place_strand_segment: function(helix_dct, domain, strand_type) { + var t1, t2, t3, start, end, $forward, strand_helix, t4, i_base, from_base, to_base, to_base0; + for (t1 = J.get$iterator$ax(domain.deletions._list), t2 = J.getInterceptor$asx(helix_dct); t1.moveNext$0();) { + t3 = t1.get$current(t1); + J.$indexSet$ax(t2.$index(helix_dct, "skip"), t3, -1); + } + for (t1 = J.get$iterator$ax(domain.insertions._list); t1.moveNext$0();) { + t3 = t1.get$current(t1); + J.$indexSet$ax(t2.$index(helix_dct, "loop"), t3.offset, t3.length); + } + start = domain.start; + end = domain.end; + $forward = domain.forward; + strand_helix = H._asIntS(t2.$index(helix_dct, "num")); + for (t1 = type$.legacy_List_legacy_int, t3 = type$.JSArray_legacy_int, t4 = end - 1, i_base = start; i_base < end; i_base = to_base) { + from_base = i_base - 1; + to_base = i_base + 1; + if ($forward) + to_base0 = to_base; + else { + to_base0 = from_base; + from_base = to_base; + } + if (i_base === start) + if ($forward) + J.setRange$3$ax(t1._as(J.$index$asx(t2.$index(helix_dct, strand_type), i_base)), 2, J.get$length$asx(t1._as(J.$index$asx(t2.$index(helix_dct, strand_type), i_base))), H.setRuntimeTypeInfo([strand_helix, to_base0], t3)); + else + J.setRange$3$ax(t1._as(J.$index$asx(t2.$index(helix_dct, strand_type), i_base)), 0, 2, H.setRuntimeTypeInfo([strand_helix, from_base], t3)); + else if (i_base < t4) + J.$indexSet$ax(t2.$index(helix_dct, strand_type), i_base, H.setRuntimeTypeInfo([strand_helix, from_base, strand_helix, to_base0], t3)); + else if ($forward) + J.setRange$3$ax(J.$index$asx(t2.$index(helix_dct, strand_type), i_base), 0, 2, H.setRuntimeTypeInfo([strand_helix, from_base], t3)); + else + J.setRange$3$ax(J.$index$asx(t2.$index(helix_dct, strand_type), i_base), 2, J.get$length$asx(t1._as(J.$index$asx(t2.$index(helix_dct, strand_type), i_base))), H.setRuntimeTypeInfo([strand_helix, to_base0], t3)); + } + }, + _save_file_codenano_closure: function _save_file_codenano_closure() { + }, + dna_extensions_move_set_selected_extension_ends_reducer: function(_, action) { + var t1, t2; + type$.legacy_DNAExtensionsMove._as(_); + type$.legacy_DNAExtensionsMoveSetSelectedExtensionEnds._as(action); + t1 = action.moves; + t2 = action.original_point; + return K._$DNAExtensionsMove$_(t2, t1, t2); + }, + dna_extensions_move_adjust_reducer: function(move, action) { + var t1, t2; + type$.legacy_DNAExtensionsMove._as(move); + type$.legacy_DNAExtensionsMoveAdjustPosition._as(action); + move.toString; + t1 = type$.legacy_void_Function_legacy_DNAExtensionsMoveBuilder._as(new A.dna_extensions_move_adjust_reducer_closure(action)); + t2 = new K.DNAExtensionsMoveBuilder(); + t2._dna_extensions_move$_$v = move; + t1.call$1(t2); + return t2.build$0(); + }, + dna_extensions_move_stop_reducer: function(move, action) { + type$.legacy_DNAExtensionsMove._as(move); + type$.legacy_DNAExtensionsMoveStop._as(action); + return null; + }, + dna_extensions_move_adjust_reducer_closure: function dna_extensions_move_adjust_reducer_closure(t0) { + this.action = t0; + }, + _$End5Prime: function(backingProps) { + type$.legacy_Map_dynamic_dynamic._as(backingProps); + return backingProps == null ? A._$$End5PrimeProps$JsMap$(new L.JsBackedMap({})) : A._$$End5PrimeProps__$$End5PrimeProps(backingProps); + }, + _$$End5PrimeProps__$$End5PrimeProps: function(backingMap) { + var t1, _null = null; + if (backingMap instanceof L.JsBackedMap) + return A._$$End5PrimeProps$JsMap$(backingMap); + else { + t1 = type$.dynamic; + t1 = new A._$$End5PrimeProps$PlainMap(P.LinkedHashMap_LinkedHashMap$_empty(t1, t1), _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null); + t1.get$$$isClassGenerated(); + t1._lib_5p_end$_props = backingMap; + return t1; + } + }, + _$$End5PrimeProps$JsMap$: function(backingMap) { + var _null = null, + t1 = new A._$$End5PrimeProps$JsMap(new L.JsBackedMap({}), _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null); + t1.get$$$isClassGenerated(); + t1._lib_5p_end$_props = backingMap == null ? new L.JsBackedMap({}) : backingMap; + return t1; + }, + End5PrimeProps: function End5PrimeProps() { + }, + End5PrimeComponent: function End5PrimeComponent() { + }, + $End5PrimeComponentFactory_closure: function $End5PrimeComponentFactory_closure() { + }, + _$$End5PrimeProps: function _$$End5PrimeProps() { + }, + _$$End5PrimeProps$PlainMap: function _$$End5PrimeProps$PlainMap(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14) { + var _ = this; + _._lib_5p_end$_props = t0; + _.End5PrimeProps_on_pointer_down = t1; + _.End5PrimeProps_on_pointer_up = t2; + _.End5PrimeProps_on_mouse_up = t3; + _.End5PrimeProps_on_mouse_move = t4; + _.End5PrimeProps_on_mouse_enter = t5; + _.End5PrimeProps_on_mouse_leave = t6; + _.End5PrimeProps_classname = t7; + _.End5PrimeProps_pos = t8; + _.End5PrimeProps_color = t9; + _.End5PrimeProps_forward = t10; + _.End5PrimeProps_id = t11; + _.End5PrimeProps_transform = t12; + _.componentFactory = null; + _.UbiquitousDomPropsMixin__aria = t13; + _.UbiquitousDomPropsMixin__dom = t14; + }, + _$$End5PrimeProps$JsMap: function _$$End5PrimeProps$JsMap(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14) { + var _ = this; + _._lib_5p_end$_props = t0; + _.End5PrimeProps_on_pointer_down = t1; + _.End5PrimeProps_on_pointer_up = t2; + _.End5PrimeProps_on_mouse_up = t3; + _.End5PrimeProps_on_mouse_move = t4; + _.End5PrimeProps_on_mouse_enter = t5; + _.End5PrimeProps_on_mouse_leave = t6; + _.End5PrimeProps_classname = t7; + _.End5PrimeProps_pos = t8; + _.End5PrimeProps_color = t9; + _.End5PrimeProps_forward = t10; + _.End5PrimeProps_id = t11; + _.End5PrimeProps_transform = t12; + _.componentFactory = null; + _.UbiquitousDomPropsMixin__aria = t13; + _.UbiquitousDomPropsMixin__dom = t14; + }, + _$End5PrimeComponent: function _$End5PrimeComponent(t0) { + var _ = this; + _._lib_5p_end$_cachedTypedProps = null; + _.DisposableManagerProxy__disposableProxy = t0; + _.jsThis = _.state = _.props = null; + }, + $End5PrimeProps: function $End5PrimeProps() { + }, + __$$End5PrimeProps_UiProps_End5PrimeProps: function __$$End5PrimeProps_UiProps_End5PrimeProps() { + }, + __$$End5PrimeProps_UiProps_End5PrimeProps_$End5PrimeProps: function __$$End5PrimeProps_UiProps_End5PrimeProps_$End5PrimeProps() { + }, + _$DesignMainStrandDeletion: function(backingProps) { + type$.legacy_Map_dynamic_dynamic._as(backingProps); + return backingProps == null ? A._$$DesignMainStrandDeletionProps$JsMap$(new L.JsBackedMap({})) : A._$$DesignMainStrandDeletionProps__$$DesignMainStrandDeletionProps(backingProps); + }, + _$$DesignMainStrandDeletionProps__$$DesignMainStrandDeletionProps: function(backingMap) { + var t1, _null = null; + if (backingMap instanceof L.JsBackedMap) + return A._$$DesignMainStrandDeletionProps$JsMap$(backingMap); + else { + t1 = type$.dynamic; + t1 = new A._$$DesignMainStrandDeletionProps$PlainMap(P.LinkedHashMap_LinkedHashMap$_empty(t1, t1), _null, _null, _null, _null, _null, _null, _null, _null); + t1.get$$$isClassGenerated(); + t1._design_main_strand_deletion$_props = backingMap; + return t1; + } + }, + _$$DesignMainStrandDeletionProps$JsMap$: function(backingMap) { + var _null = null, + t1 = new A._$$DesignMainStrandDeletionProps$JsMap(new L.JsBackedMap({}), _null, _null, _null, _null, _null, _null, _null, _null); + t1.get$$$isClassGenerated(); + t1._design_main_strand_deletion$_props = backingMap == null ? new L.JsBackedMap({}) : backingMap; + return t1; + }, + DesignMainStrandDeletionPropsMixin: function DesignMainStrandDeletionPropsMixin() { + }, + DesignMainStrandDeletionComponent: function DesignMainStrandDeletionComponent() { + }, + DesignMainStrandDeletionComponent_render_closure: function DesignMainStrandDeletionComponent_render_closure(t0) { + this.$this = t0; + }, + DesignMainStrandDeletionComponent_render_closure0: function DesignMainStrandDeletionComponent_render_closure0(t0) { + this.$this = t0; + }, + DesignMainStrandDeletionComponent_render_closure1: function DesignMainStrandDeletionComponent_render_closure1(t0) { + this.$this = t0; + }, + DesignMainStrandDeletionComponent_render_closure2: function DesignMainStrandDeletionComponent_render_closure2(t0) { + this.$this = t0; + }, + $DesignMainStrandDeletionComponentFactory_closure: function $DesignMainStrandDeletionComponentFactory_closure() { + }, + _$$DesignMainStrandDeletionProps: function _$$DesignMainStrandDeletionProps() { + }, + _$$DesignMainStrandDeletionProps$PlainMap: function _$$DesignMainStrandDeletionProps$PlainMap(t0, t1, t2, t3, t4, t5, t6, t7, t8) { + var _ = this; + _._design_main_strand_deletion$_props = t0; + _.DesignMainStrandDeletionPropsMixin_selectable_deletion = t1; + _.DesignMainStrandDeletionPropsMixin_helix = t2; + _.DesignMainStrandDeletionPropsMixin_transform = t3; + _.DesignMainStrandDeletionPropsMixin_selected = t4; + _.DesignMainStrandDeletionPropsMixin_svg_position_y = t5; + _.DesignMainStrandDeletionPropsMixin_retain_strand_color_on_selection = t6; + _.componentFactory = null; + _.UbiquitousDomPropsMixin__aria = t7; + _.UbiquitousDomPropsMixin__dom = t8; + }, + _$$DesignMainStrandDeletionProps$JsMap: function _$$DesignMainStrandDeletionProps$JsMap(t0, t1, t2, t3, t4, t5, t6, t7, t8) { + var _ = this; + _._design_main_strand_deletion$_props = t0; + _.DesignMainStrandDeletionPropsMixin_selectable_deletion = t1; + _.DesignMainStrandDeletionPropsMixin_helix = t2; + _.DesignMainStrandDeletionPropsMixin_transform = t3; + _.DesignMainStrandDeletionPropsMixin_selected = t4; + _.DesignMainStrandDeletionPropsMixin_svg_position_y = t5; + _.DesignMainStrandDeletionPropsMixin_retain_strand_color_on_selection = t6; + _.componentFactory = null; + _.UbiquitousDomPropsMixin__aria = t7; + _.UbiquitousDomPropsMixin__dom = t8; + }, + _$DesignMainStrandDeletionComponent: function _$DesignMainStrandDeletionComponent(t0) { + var _ = this; + _._design_main_strand_deletion$_cachedTypedProps = null; + _.DisposableManagerProxy__disposableProxy = t0; + _.jsThis = _.state = _.props = null; + }, + $DesignMainStrandDeletionPropsMixin: function $DesignMainStrandDeletionPropsMixin() { + }, + _DesignMainStrandDeletionComponent_UiComponent2_PureComponent: function _DesignMainStrandDeletionComponent_UiComponent2_PureComponent() { + }, + __$$DesignMainStrandDeletionProps_UiProps_DesignMainStrandDeletionPropsMixin: function __$$DesignMainStrandDeletionProps_UiProps_DesignMainStrandDeletionPropsMixin() { + }, + __$$DesignMainStrandDeletionProps_UiProps_DesignMainStrandDeletionPropsMixin_$DesignMainStrandDeletionPropsMixin: function __$$DesignMainStrandDeletionProps_UiProps_DesignMainStrandDeletionPropsMixin_$DesignMainStrandDeletionPropsMixin() { + }, + _$DesignMainStrandInsertion: function(backingProps) { + type$.legacy_Map_dynamic_dynamic._as(backingProps); + return backingProps == null ? A._$$DesignMainStrandInsertionProps$JsMap$(new L.JsBackedMap({})) : A._$$DesignMainStrandInsertionProps__$$DesignMainStrandInsertionProps(backingProps); + }, + _$$DesignMainStrandInsertionProps__$$DesignMainStrandInsertionProps: function(backingMap) { + var t1, _null = null; + if (backingMap instanceof L.JsBackedMap) + return A._$$DesignMainStrandInsertionProps$JsMap$(backingMap); + else { + t1 = type$.dynamic; + t1 = new A._$$DesignMainStrandInsertionProps$PlainMap(P.LinkedHashMap_LinkedHashMap$_empty(t1, t1), _null, _null, _null, _null, _null, _null, _null, _null, _null, _null); + t1.get$$$isClassGenerated(); + t1._design_main_strand_insertion$_props = backingMap; + return t1; + } + }, + _$$DesignMainStrandInsertionProps$JsMap$: function(backingMap) { + var _null = null, + t1 = new A._$$DesignMainStrandInsertionProps$JsMap(new L.JsBackedMap({}), _null, _null, _null, _null, _null, _null, _null, _null, _null, _null); + t1.get$$$isClassGenerated(); + t1._design_main_strand_insertion$_props = backingMap == null ? new L.JsBackedMap({}) : backingMap; + return t1; + }, + DesignMainStrandInsertionPropsMixin: function DesignMainStrandInsertionPropsMixin() { + }, + DesignMainStrandInsertionComponent: function DesignMainStrandInsertionComponent() { + }, + DesignMainStrandInsertionComponent_render_closure: function DesignMainStrandInsertionComponent_render_closure(t0) { + this.$this = t0; + }, + DesignMainStrandInsertionComponent_render_closure0: function DesignMainStrandInsertionComponent_render_closure0(t0) { + this.$this = t0; + }, + DesignMainStrandInsertionComponent__insertion_background_closure: function DesignMainStrandInsertionComponent__insertion_background_closure(t0) { + this.$this = t0; + }, + $DesignMainStrandInsertionComponentFactory_closure: function $DesignMainStrandInsertionComponentFactory_closure() { + }, + _$$DesignMainStrandInsertionProps: function _$$DesignMainStrandInsertionProps() { + }, + _$$DesignMainStrandInsertionProps$PlainMap: function _$$DesignMainStrandInsertionProps$PlainMap(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10) { + var _ = this; + _._design_main_strand_insertion$_props = t0; + _.DesignMainStrandInsertionPropsMixin_selectable_insertion = t1; + _.DesignMainStrandInsertionPropsMixin_helix = t2; + _.DesignMainStrandInsertionPropsMixin_transform = t3; + _.DesignMainStrandInsertionPropsMixin_color = t4; + _.DesignMainStrandInsertionPropsMixin_selected = t5; + _.DesignMainStrandInsertionPropsMixin_display_reverse_DNA_right_side_up = t6; + _.DesignMainStrandInsertionPropsMixin_svg_position_y = t7; + _.DesignMainStrandInsertionPropsMixin_retain_strand_color_on_selection = t8; + _.componentFactory = null; + _.UbiquitousDomPropsMixin__aria = t9; + _.UbiquitousDomPropsMixin__dom = t10; + }, + _$$DesignMainStrandInsertionProps$JsMap: function _$$DesignMainStrandInsertionProps$JsMap(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10) { + var _ = this; + _._design_main_strand_insertion$_props = t0; + _.DesignMainStrandInsertionPropsMixin_selectable_insertion = t1; + _.DesignMainStrandInsertionPropsMixin_helix = t2; + _.DesignMainStrandInsertionPropsMixin_transform = t3; + _.DesignMainStrandInsertionPropsMixin_color = t4; + _.DesignMainStrandInsertionPropsMixin_selected = t5; + _.DesignMainStrandInsertionPropsMixin_display_reverse_DNA_right_side_up = t6; + _.DesignMainStrandInsertionPropsMixin_svg_position_y = t7; + _.DesignMainStrandInsertionPropsMixin_retain_strand_color_on_selection = t8; + _.componentFactory = null; + _.UbiquitousDomPropsMixin__aria = t9; + _.UbiquitousDomPropsMixin__dom = t10; + }, + _$DesignMainStrandInsertionComponent: function _$DesignMainStrandInsertionComponent(t0) { + var _ = this; + _._design_main_strand_insertion$_cachedTypedProps = null; + _.DisposableManagerProxy__disposableProxy = t0; + _.jsThis = _.state = _.props = null; + }, + $DesignMainStrandInsertionPropsMixin: function $DesignMainStrandInsertionPropsMixin() { + }, + _DesignMainStrandInsertionComponent_UiComponent2_PureComponent: function _DesignMainStrandInsertionComponent_UiComponent2_PureComponent() { + }, + __$$DesignMainStrandInsertionProps_UiProps_DesignMainStrandInsertionPropsMixin: function __$$DesignMainStrandInsertionProps_UiProps_DesignMainStrandInsertionPropsMixin() { + }, + __$$DesignMainStrandInsertionProps_UiProps_DesignMainStrandInsertionPropsMixin_$DesignMainStrandInsertionPropsMixin: function __$$DesignMainStrandInsertionProps_UiProps_DesignMainStrandInsertionPropsMixin_$DesignMainStrandInsertionPropsMixin() { + }, + RedrawCounterMixin: function RedrawCounterMixin() { + }, + _$SelectionRopeView: function(backingProps) { + type$.legacy_Map_dynamic_dynamic._as(backingProps); + return backingProps == null ? A._$$SelectionRopeViewProps$JsMap$(new L.JsBackedMap({})) : A._$$SelectionRopeViewProps__$$SelectionRopeViewProps(backingProps); + }, + _$$SelectionRopeViewProps__$$SelectionRopeViewProps: function(backingMap) { + var t1, _null = null; + if (backingMap instanceof L.JsBackedMap) + return A._$$SelectionRopeViewProps$JsMap$(backingMap); + else { + t1 = type$.dynamic; + t1 = new A._$$SelectionRopeViewProps$PlainMap(P.LinkedHashMap_LinkedHashMap$_empty(t1, t1), _null, _null, _null, _null, _null, _null); + t1.get$$$isClassGenerated(); + t1._selection_rope_view$_props = backingMap; + return t1; + } + }, + _$$SelectionRopeViewProps$JsMap$: function(backingMap) { + var _null = null, + t1 = new A._$$SelectionRopeViewProps$JsMap(new L.JsBackedMap({}), _null, _null, _null, _null, _null, _null); + t1.get$$$isClassGenerated(); + t1._selection_rope_view$_props = backingMap == null ? new L.JsBackedMap({}) : backingMap; + return t1; + }, + ConnectedSelectionRopeView_closure: function ConnectedSelectionRopeView_closure() { + }, + SelectionRopeViewProps: function SelectionRopeViewProps() { + }, + SelectionRopeViewComponent: function SelectionRopeViewComponent() { + }, + $SelectionRopeViewComponentFactory_closure: function $SelectionRopeViewComponentFactory_closure() { + }, + _$$SelectionRopeViewProps: function _$$SelectionRopeViewProps() { + }, + _$$SelectionRopeViewProps$PlainMap: function _$$SelectionRopeViewProps$PlainMap(t0, t1, t2, t3, t4, t5, t6) { + var _ = this; + _._selection_rope_view$_props = t0; + _.SelectionRopeViewProps_selection_rope = t1; + _.SelectionRopeViewProps_stroke_width_getter = t2; + _.SelectionRopeViewProps_id = t3; + _.SelectionRopeViewProps_is_main = t4; + _.componentFactory = null; + _.UbiquitousDomPropsMixin__aria = t5; + _.UbiquitousDomPropsMixin__dom = t6; + }, + _$$SelectionRopeViewProps$JsMap: function _$$SelectionRopeViewProps$JsMap(t0, t1, t2, t3, t4, t5, t6) { + var _ = this; + _._selection_rope_view$_props = t0; + _.SelectionRopeViewProps_selection_rope = t1; + _.SelectionRopeViewProps_stroke_width_getter = t2; + _.SelectionRopeViewProps_id = t3; + _.SelectionRopeViewProps_is_main = t4; + _.componentFactory = null; + _.UbiquitousDomPropsMixin__aria = t5; + _.UbiquitousDomPropsMixin__dom = t6; + }, + _$SelectionRopeViewComponent: function _$SelectionRopeViewComponent(t0) { + var _ = this; + _._selection_rope_view$_cachedTypedProps = null; + _.DisposableManagerProxy__disposableProxy = t0; + _.jsThis = _.state = _.props = null; + }, + $SelectionRopeViewProps: function $SelectionRopeViewProps() { + }, + __$$SelectionRopeViewProps_UiProps_SelectionRopeViewProps: function __$$SelectionRopeViewProps_UiProps_SelectionRopeViewProps() { + }, + __$$SelectionRopeViewProps_UiProps_SelectionRopeViewProps_$SelectionRopeViewProps: function __$$SelectionRopeViewProps_UiProps_SelectionRopeViewProps_$SelectionRopeViewProps() { + }, + _$StrandOrSubstrandColorPicker: function(backingProps) { + type$.legacy_Map_dynamic_dynamic._as(backingProps); + return backingProps == null ? A._$$StrandOrSubstrandColorPickerProps$JsMap$(new L.JsBackedMap({})) : A._$$StrandOrSubstrandColorPickerProps__$$StrandOrSubstrandColorPickerProps(backingProps); + }, + _$$StrandOrSubstrandColorPickerProps__$$StrandOrSubstrandColorPickerProps: function(backingMap) { + var t1, _null = null; + if (backingMap instanceof L.JsBackedMap) + return A._$$StrandOrSubstrandColorPickerProps$JsMap$(backingMap); + else { + t1 = type$.dynamic; + t1 = new A._$$StrandOrSubstrandColorPickerProps$PlainMap(P.LinkedHashMap_LinkedHashMap$_empty(t1, t1), _null, _null, _null, _null, _null, _null); + t1.get$$$isClassGenerated(); + t1._strand_color_picker$_props = backingMap; + return t1; + } + }, + _$$StrandOrSubstrandColorPickerProps$JsMap$: function(backingMap) { + var _null = null, + t1 = new A._$$StrandOrSubstrandColorPickerProps$JsMap(new L.JsBackedMap({}), _null, _null, _null, _null, _null, _null); + t1.get$$$isClassGenerated(); + t1._strand_color_picker$_props = backingMap == null ? new L.JsBackedMap({}) : backingMap; + return t1; + }, + _$$StrandOrSubstrandColorPickerState$JsMap$: function(backingMap) { + var t1 = new A._$$StrandOrSubstrandColorPickerState$JsMap(new L.JsBackedMap({}), null); + t1.get$$$isClassGenerated(); + t1._strand_color_picker$_state = backingMap; + return t1; + }, + ConnectedStrandOrSubstrandColorPicker_closure: function ConnectedStrandOrSubstrandColorPicker_closure() { + }, + StrandOrSubstrandColorPickerProps: function StrandOrSubstrandColorPickerProps() { + }, + StrandOrSubstrandColorPickerState: function StrandOrSubstrandColorPickerState() { + }, + StrandOrSubstrandColorPickerComponent: function StrandOrSubstrandColorPickerComponent() { + }, + StrandOrSubstrandColorPickerComponent_color_set_strand_action_creator_closure: function StrandOrSubstrandColorPickerComponent_color_set_strand_action_creator_closure(t0) { + this.color = t0; + }, + StrandOrSubstrandColorPickerComponent_color_set_substrand_action_creator_closure: function StrandOrSubstrandColorPickerComponent_color_set_substrand_action_creator_closure(t0) { + this.color = t0; + }, + StrandOrSubstrandColorPickerComponent_batch_if_multiple_selected_strands_closure: function StrandOrSubstrandColorPickerComponent_batch_if_multiple_selected_strands_closure(t0) { + this.strand = t0; + }, + JSColor: function JSColor() { + }, + $StrandOrSubstrandColorPickerComponentFactory_closure: function $StrandOrSubstrandColorPickerComponentFactory_closure() { + }, + _$$StrandOrSubstrandColorPickerProps: function _$$StrandOrSubstrandColorPickerProps() { + }, + _$$StrandOrSubstrandColorPickerProps$PlainMap: function _$$StrandOrSubstrandColorPickerProps$PlainMap(t0, t1, t2, t3, t4, t5, t6) { + var _ = this; + _._strand_color_picker$_props = t0; + _.StrandOrSubstrandColorPickerProps_color = t1; + _.StrandOrSubstrandColorPickerProps_show = t2; + _.StrandOrSubstrandColorPickerProps_strand = t3; + _.StrandOrSubstrandColorPickerProps_substrand = t4; + _.componentFactory = null; + _.UbiquitousDomPropsMixin__aria = t5; + _.UbiquitousDomPropsMixin__dom = t6; + }, + _$$StrandOrSubstrandColorPickerProps$JsMap: function _$$StrandOrSubstrandColorPickerProps$JsMap(t0, t1, t2, t3, t4, t5, t6) { + var _ = this; + _._strand_color_picker$_props = t0; + _.StrandOrSubstrandColorPickerProps_color = t1; + _.StrandOrSubstrandColorPickerProps_show = t2; + _.StrandOrSubstrandColorPickerProps_strand = t3; + _.StrandOrSubstrandColorPickerProps_substrand = t4; + _.componentFactory = null; + _.UbiquitousDomPropsMixin__aria = t5; + _.UbiquitousDomPropsMixin__dom = t6; + }, + _$$StrandOrSubstrandColorPickerState: function _$$StrandOrSubstrandColorPickerState() { + }, + _$$StrandOrSubstrandColorPickerState$JsMap: function _$$StrandOrSubstrandColorPickerState$JsMap(t0, t1) { + this._strand_color_picker$_state = t0; + this.StrandOrSubstrandColorPickerState_color = t1; + }, + _$StrandOrSubstrandColorPickerComponent: function _$StrandOrSubstrandColorPickerComponent(t0) { + var _ = this; + _._strand_color_picker$_cachedTypedState = _._strand_color_picker$_cachedTypedProps = null; + _.DisposableManagerProxy__disposableProxy = t0; + _.jsThis = _.state = _.props = null; + }, + $StrandOrSubstrandColorPickerProps: function $StrandOrSubstrandColorPickerProps() { + }, + $StrandOrSubstrandColorPickerState: function $StrandOrSubstrandColorPickerState() { + }, + __$$StrandOrSubstrandColorPickerProps_UiProps_StrandOrSubstrandColorPickerProps: function __$$StrandOrSubstrandColorPickerProps_UiProps_StrandOrSubstrandColorPickerProps() { + }, + __$$StrandOrSubstrandColorPickerProps_UiProps_StrandOrSubstrandColorPickerProps_$StrandOrSubstrandColorPickerProps: function __$$StrandOrSubstrandColorPickerProps_UiProps_StrandOrSubstrandColorPickerProps_$StrandOrSubstrandColorPickerProps() { + }, + __$$StrandOrSubstrandColorPickerState_UiState_StrandOrSubstrandColorPickerState: function __$$StrandOrSubstrandColorPickerState_UiState_StrandOrSubstrandColorPickerState() { + }, + __$$StrandOrSubstrandColorPickerState_UiState_StrandOrSubstrandColorPickerState_$StrandOrSubstrandColorPickerState: function __$$StrandOrSubstrandColorPickerState_UiState_StrandOrSubstrandColorPickerState_$StrandOrSubstrandColorPickerState() { + }, + IterableIntegerExtension_get_minOrNull: function(_this) { + var value, newValue, + iterator = J.get$iterator$ax(_this); + if (iterator.moveNext$0()) { + value = iterator.get$current(iterator); + for (; iterator.moveNext$0();) { + newValue = iterator.get$current(iterator); + if (typeof newValue !== "number") + return newValue.$lt(); + if (typeof value !== "number") + return H.iae(value); + if (newValue < value) + value = newValue; + } + return value; + } + return null; + }, + IterableIntegerExtension_get_min: function(_this) { + var t1 = A.IterableIntegerExtension_get_minOrNull(_this); + return t1 == null ? H.throwExpression(P.StateError$("No element")) : t1; + }, + IterableIntegerExtension_get_maxOrNull: function(_this) { + var value, newValue, + iterator = J.get$iterator$ax(_this); + if (iterator.moveNext$0()) { + value = iterator.get$current(iterator); + for (; iterator.moveNext$0();) { + newValue = iterator.get$current(iterator); + if (typeof newValue !== "number") + return newValue.$gt(); + if (typeof value !== "number") + return H.iae(value); + if (newValue > value) + value = newValue; + } + return value; + } + return null; + }, + IterableIntegerExtension_get_max: function(_this) { + var t1 = A.IterableIntegerExtension_get_maxOrNull(_this); + return t1 == null ? H.throwExpression(P.StateError$("No element")) : t1; + }, + registerComponent20: function(componentFactory, bridgeFactory, skipMethods) { + var errorPrinted, componentInstance, componentStatics, filteredSkipMethods, defaultProps, e, stack, e0, stack0, jsConfig2, displayName, reactComponentClass, e1, stack1, t1, finalList, shouldWarn, exception, t2, reactComponentClass0, + _s21_ = "shouldComponentUpdate", + _s18_ = "componentDidUpdate"; + type$.legacy_legacy_Component2_Function._as(componentFactory); + type$.legacy_Iterable_legacy_String._as(skipMethods); + type$.legacy_legacy_Component2Bridge_Function_legacy_Component2._as(bridgeFactory); + errorPrinted = false; + try { + t1 = bridgeFactory == null ? A.bridge_Component2BridgeImpl_bridgeFactory$closure() : bridgeFactory; + componentInstance = componentFactory.call$0(); + componentStatics = new K.ComponentStatics2(componentFactory, componentInstance, t1); + finalList = P.List_List$of(skipMethods, true, type$.legacy_String); + if (C.JSArray_methods.contains$1(finalList, _s21_)) { + C.JSArray_methods.remove$1(finalList, _s21_); + shouldWarn = true; + } else + shouldWarn = false; + if (C.JSArray_methods.contains$1(finalList, _s18_)) { + C.JSArray_methods.remove$1(finalList, _s18_); + shouldWarn = true; + } + if (C.JSArray_methods.contains$1(finalList, "render")) { + C.JSArray_methods.remove$1(finalList, "render"); + shouldWarn = true; + } + if (shouldWarn) { + window; + if (typeof console != "undefined") + window.console.warn("WARNING: Crucial lifecycle methods passed into skipMethods. shouldComponentUpdate, componentDidUpdate, and render cannot be skipped and will still be added to the new component. Please remove them from skipMethods."); + } + filteredSkipMethods = finalList; + defaultProps = null; + try { + defaultProps = L.JsBackedMap_JsBackedMap$from(J.get$defaultProps$x(componentInstance)); + } catch (exception) { + e = H.unwrapException(exception); + stack = H.getTraceFromException(exception); + P.print("Error when registering Component2 when getting defaultProps: " + H.S(e) + "\n" + H.S(stack)); + errorPrinted = true; + throw exception; + } + try { + } catch (exception) { + e0 = H.unwrapException(exception); + stack0 = H.getTraceFromException(exception); + P.print("Error when registering Component2 when getting propTypes: " + H.S(e0) + "\n" + H.S(stack0)); + errorPrinted = true; + throw exception; + } + t1 = defaultProps.jsObject; + t2 = componentInstance; + t2.toString; + V.Component2.prototype.get$contextType.call(t2); + t2 = {}; + t2 = t2; + jsConfig2 = {skipMethods: filteredSkipMethods, contextType: null, defaultProps: t1, propTypes: t2}; + displayName = J.get$displayName$x(componentInstance); + reactComponentClass0 = self._createReactDartComponentClass2($.$get$ReactDartInteropStatics2_staticsForJs(), componentStatics, jsConfig2); + J.set$displayName$x(reactComponentClass0, displayName); + reactComponentClass = reactComponentClass0; + self.Object.defineProperty(reactComponentClass, "name", {value: displayName}); + J.set$dartComponentVersion$x(reactComponentClass, "2"); + t2 = reactComponentClass; + t1 = J.get$defaultProps$x(t2); + self.Object.assign({}, t1); + return new A.ReactDartComponentFactoryProxy2(t2, type$.ReactDartComponentFactoryProxy2_legacy_Component2); + } catch (exception) { + e1 = H.unwrapException(exception); + stack1 = H.getTraceFromException(exception); + if (!H.boolConversionCheck(errorPrinted)) + P.print("Error when registering Component2: " + H.S(e1) + "\n" + H.S(stack1)); + throw exception; + } + }, + reselect_moved_copied_strands_middleware: function(store, action, next) { + var t1, t2, design, addresses, new_address_helix_idx, new_helix, t3, t4, new_helices_view_order, old_helices_view_order_inverse, t5, t6, t7, t8, old_domain, t9, old_5p_end, t10, t11, old_helix_view_order, t12, t13, t14, new_helix_idx, new_strands, new_design, address_to_strand, _i; + type$.legacy_Store_legacy_AppState._as(store); + type$.legacy_dynamic_Function_dynamic._as(next); + if (action instanceof U.StrandsMoveCommit) { + t1 = action.strands_move; + if (!t1.copy) { + t1 = J.get$length$asx(t1.strands_moving._list); + if (typeof t1 !== "number") + return t1.$gt(); + t1 = t1 > 1; + } else + t1 = true; + } else + t1 = false; + if (t1) { + t1 = store.get$state(store).design; + t2 = action.strands_move; + if (D.in_bounds_and_allowable(t1, t2)) + t1 = !t2.original_address.$eq(0, t2.current_address) || t2.copy; + else + t1 = false; + if (!t1) + return; + design = store.get$state(store).design; + addresses = H.setRuntimeTypeInfo([], type$.JSArray_legacy_Address); + t1 = t2.current_address; + new_address_helix_idx = t1.helix_idx; + new_helix = J.$index$asx(design.helices._map$_map, new_address_helix_idx); + t3 = design.groups; + t4 = new_helix.group; + new_helices_view_order = J.$index$asx(t3._map$_map, t4).helices_view_order; + old_helices_view_order_inverse = t2.original_helices_view_order_inverse; + for (t3 = J.get$iterator$ax(t2.strands_moving._list), t4 = t1.offset, t5 = t2.original_address, t6 = t5.offset, t1 = t1.forward != t5.forward, t7 = t2.helices, t5 = t5.helix_idx, t2 = t2.groups; t3.moveNext$0();) { + t8 = t3.get$current(t3); + old_domain = t8.__first_domain; + if (old_domain == null) + old_domain = t8.__first_domain = E.Strand.prototype.get$first_domain.call(t8); + t8 = old_domain.forward; + if (t8) { + t9 = old_domain.__dnaend_start; + if (t9 == null) { + t9 = G.Domain.prototype.get$dnaend_start.call(old_domain); + old_domain.__dnaend_start = t9; + old_5p_end = t9; + } else + old_5p_end = t9; + } else { + t9 = old_domain.__dnaend_end; + if (t9 == null) { + t9 = G.Domain.prototype.get$dnaend_end.call(old_domain); + old_domain.__dnaend_end = t9; + old_5p_end = t9; + } else + old_5p_end = t9; + } + t9 = old_domain.helix; + t10 = old_helices_view_order_inverse._map$_map; + t11 = J.getInterceptor$asx(t10); + old_helix_view_order = t11.$index(t10, t9); + t9 = t7._map$_map; + t12 = J.getInterceptor$asx(t9); + t13 = t12.$index(t9, new_address_helix_idx).group; + t13 = J.$index$asx(t2._map$_map, t13); + t14 = t13.__helices_view_order_inverse; + if (t14 == null) { + t14 = O.HelixGroup.prototype.get$helices_view_order_inverse.call(t13); + t13.set$__helices_view_order_inverse(t14); + t13 = t14; + } else + t13 = t14; + t9 = J.$index$asx(t13._map$_map, t12.$index(t9, new_address_helix_idx).idx); + t10 = t11.$index(t10, t5); + if (typeof t9 !== "number") + return t9.$sub(); + if (typeof t10 !== "number") + return H.iae(t10); + if (typeof old_helix_view_order !== "number") + return old_helix_view_order.$add(); + new_helix_idx = J.$index$asx(new_helices_view_order._list, old_helix_view_order + (t9 - t10)); + t9 = old_5p_end.offset; + if (!old_5p_end.is_start) { + if (typeof t9 !== "number") + return t9.$sub(); + --t9; + } + if (typeof t4 !== "number") + return t4.$sub(); + if (typeof t6 !== "number") + return H.iae(t6); + if (typeof t9 !== "number") + return t9.$add(); + if (new_helix_idx == null) + H.throwExpression(Y.BuiltValueNullFieldError$("Address", "helix_idx")); + C.JSArray_methods.add$1(addresses, new Z._$Address(new_helix_idx, t9 + (t4 - t6), t1 !== t8)); + } + next.call$1(action); + new_strands = H.setRuntimeTypeInfo([], type$.JSArray_legacy_Strand); + new_design = store.get$state(store).design; + if (t1) + address_to_strand = new_design.get$address_3p_to_strand(); + else { + t1 = new_design.__address_5p_to_strand; + if (t1 == null) { + t1 = N.Design.prototype.get$address_5p_to_strand.call(new_design); + new_design.set$__address_5p_to_strand(t1); + address_to_strand = t1; + } else + address_to_strand = t1; + } + for (t1 = addresses.length, t2 = address_to_strand._map$_map, t3 = J.getInterceptor$asx(t2), _i = 0; _i < addresses.length; addresses.length === t1 || (0, H.throwConcurrentModificationError)(addresses), ++_i) + C.JSArray_methods.add$1(new_strands, t3.$index(t2, addresses[_i])); + store.dispatch$1(U._$SelectAll$_(true, D.BuiltList_BuiltList$of(new_strands, type$.legacy_Strand))); + } else + next.call$1(action); + }, + reselect_moved_dna_extension_ends_middleware: function(store, action, next) { + var t1, extension_ids, old_end, t2, t3, old_extension, new_ends, _i, extension_id, extension; + type$.legacy_Store_legacy_AppState._as(store); + type$.legacy_dynamic_Function_dynamic._as(next); + if (action instanceof U.DNAExtensionsMoveCommit) { + t1 = J.get$length$asx(action.dna_extensions_move.moves._list); + if (typeof t1 !== "number") + return t1.$gt(); + t1 = t1 > 1; + } else + t1 = false; + if (t1) { + extension_ids = H.setRuntimeTypeInfo([], type$.JSArray_legacy_String); + for (t1 = J.get$iterator$ax(action.dna_extensions_move.moves._list); t1.moveNext$0();) { + old_end = t1.get$current(t1).dna_end; + t2 = store.get$state(store).design; + t3 = t2.__end_to_extension; + if (t3 == null) { + t3 = N.Design.prototype.get$end_to_extension.call(t2); + t2.set$__end_to_extension(t3); + t2 = t3; + } else + t2 = t3; + old_extension = J.$index$asx(t2._map$_map, old_end); + t2 = old_extension._extension$__id; + C.JSArray_methods.add$1(extension_ids, t2 == null ? old_extension._extension$__id = S.Extension.prototype.get$id.call(old_extension, old_extension) : t2); + } + next.call$1(action); + new_ends = H.setRuntimeTypeInfo([], type$.JSArray_legacy_DNAEnd); + for (t1 = extension_ids.length, _i = 0; _i < extension_ids.length; extension_ids.length === t1 || (0, H.throwConcurrentModificationError)(extension_ids), ++_i) { + extension_id = extension_ids[_i]; + t2 = store.get$state(store).design; + t3 = t2.__extensions_by_id; + if (t3 == null) { + t3 = N.Design.prototype.get$extensions_by_id.call(t2); + t2.set$__extensions_by_id(t3); + t2 = t3; + } else + t2 = t3; + extension = J.$index$asx(t2._map$_map, extension_id); + t2 = extension.__dnaend_free; + C.JSArray_methods.add$1(new_ends, t2 == null ? extension.__dnaend_free = S.Extension.prototype.get$dnaend_free.call(extension) : t2); + } + store.dispatch$1(U._$SelectAll$_(true, D.BuiltList_BuiltList$of(new_ends, type$.legacy_DNAEnd))); + } else + next.call$1(action); + }, + reset_local_storage_middleware: function(store, action, next) { + var t1; + type$.legacy_Store_legacy_AppState._as(store); + type$.legacy_dynamic_Function_dynamic._as(next).call$1(action); + if (action instanceof U.ResetLocalStorage) { + t1 = window.localStorage; + (t1 && C.Storage_methods).remove$1(t1, "scadnano:design"); + t1 = window.localStorage; + (t1 && C.Storage_methods).remove$1(t1, "scadnano:app_ui_state_storables"); + window.location.reload(); + } + }, + dialog_show_reducer: function(_, action) { + type$.legacy_Dialog._as(_); + return type$.legacy_DialogShow._as(action).dialog; + }, + dialog_hide_reducer: function(_, action) { + type$.legacy_Dialog._as(_); + type$.legacy_DialogHide._as(action); + return null; + } + }, + L = {BZip2Decoder: function BZip2Decoder() { + var _ = this; + _.__BZip2Decoder__numSelectors = _.__BZip2Decoder__unzftab = _.__BZip2Decoder__minLens = _.__BZip2Decoder__perm = _.__BZip2Decoder__base = _.__BZip2Decoder__limit = _.__BZip2Decoder__selector = _.__BZip2Decoder__selectorMtf = _.__BZip2Decoder__mtfbase = _.__BZip2Decoder__mtfa = _.__BZip2Decoder__seqToUnseq = _.__BZip2Decoder__inUse = _.__BZip2Decoder__inUse16 = _.__BZip2Decoder__tt = _.__BZip2Decoder__blockSize100k = $; + _._groupPos = 0; + _._groupNo = -1; + _._gMinlen = _._gSel = 0; + _.__BZip2Decoder__len = _.__BZip2Decoder__cftab = _.__BZip2Decoder__gBase = _.__BZip2Decoder__gPerm = _.__BZip2Decoder__gLimit = $; + _._numInUse = 0; + }, LogRecord: function LogRecord(t0, t1, t2, t3, t4) { + var _ = this; + _.level = t0; + _.message = t1; + _.loggerName = t2; + _.error = t3; + _.stackTrace = t4; + }, WindowsStyle: function WindowsStyle(t0, t1, t2, t3) { + var _ = this; + _.separatorPattern = t0; + _.needsSeparatorPattern = t1; + _.rootPattern = t2; + _.relativeRootPattern = t3; + }, + Token_lineAndColumnOf: function(buffer, position) { + var t1, list, line, offset, _i, offset0; + for (t1 = $.$get$Token__newlineParser(), list = H.setRuntimeTypeInfo([], type$.JSArray_Token_dynamic), Z.PossessiveRepeatingParserExtension_repeat(O.ChoiceParserExtension_or(A.MapParserExtension_map(new L.TokenParser(t1, type$.TokenParser_dynamic), C.JSArray_methods.get$add(list), true, type$.Token_dynamic, type$.void), new V.AnyParser("input expected")), 0, 9007199254740991, type$.dynamic).fastParseOn$2(buffer, 0), t1 = list.length, line = 1, offset = 0, _i = 0; _i < t1; ++_i, offset = offset0) { + offset0 = list[_i].stop; + if (position < offset0) + return H.setRuntimeTypeInfo([line, position - offset + 1], type$.JSArray_int); + ++line; + } + return H.setRuntimeTypeInfo([line, position - offset + 1], type$.JSArray_int); + }, + Token_positionString: function(buffer, position) { + var lineAndColumn = L.Token_lineAndColumnOf(buffer, position); + return "" + lineAndColumn[0] + ":" + lineAndColumn[1]; + }, + Token: function Token(t0, t1, t2, t3, t4) { + var _ = this; + _.value = t0; + _.buffer = t1; + _.start = t2; + _.stop = t3; + _.$ti = t4; + }, + TokenParser: function TokenParser(t0, t1) { + this.delegate = t0; + this.$ti = t1; + }, + ConstantCharPredicate: function ConstantCharPredicate(t0) { + this.constant = t0; + }, + Browser_getCurrentBrowser: function() { + return C.JSArray_methods.firstWhere$2$orElse($.$get$Browser__knownBrowsers(), new L.Browser_getCurrentBrowser_closure(), new L.Browser_getCurrentBrowser_closure0()); + }, + Browser$: function($name, matchesNavigator, parseVersion, className) { + return new L.Browser($name, matchesNavigator); + }, + _Chrome__isChrome: function($navigator) { + var vendor; + type$.legacy_NavigatorProvider._as($navigator).toString; + vendor = window.navigator.vendor; + return vendor != null && C.JSString_methods.contains$1(vendor, "Google"); + }, + _Firefox__isFirefox: function($navigator) { + type$.legacy_NavigatorProvider._as($navigator).toString; + return J.contains$1$asx(window.navigator.userAgent, "Firefox"); + }, + _Safari__isSafari: function($navigator) { + var vendor; + type$.legacy_NavigatorProvider._as($navigator).toString; + vendor = window.navigator.vendor; + return vendor != null && C.JSString_methods.contains$1(vendor, "Apple") && J.contains$1$asx(window.navigator.appVersion, "Version"); + }, + _WKWebView__isWKWebView: function($navigator) { + var vendor; + type$.legacy_NavigatorProvider._as($navigator).toString; + vendor = window.navigator.vendor; + return vendor != null && C.JSString_methods.contains$1(vendor, "Apple") && !J.contains$1$asx(window.navigator.appVersion, "Version"); + }, + _InternetExplorer__isInternetExplorer: function($navigator) { + type$.legacy_NavigatorProvider._as($navigator).toString; + return J.contains$1$asx(window.navigator.appName, "Microsoft") || J.contains$1$asx(window.navigator.appVersion, "Trident") || J.contains$1$asx(window.navigator.appVersion, "Edge"); + }, + Browser: function Browser(t0, t1) { + this.name = t0; + this._browser$_matchesNavigator = t1; + }, + Browser_getCurrentBrowser_closure: function Browser_getCurrentBrowser_closure() { + }, + Browser_getCurrentBrowser_closure0: function Browser_getCurrentBrowser_closure0() { + }, + _Chrome: function _Chrome(t0, t1) { + this.name = t0; + this._browser$_matchesNavigator = t1; + }, + _Firefox: function _Firefox(t0, t1) { + this.name = t0; + this._browser$_matchesNavigator = t1; + }, + _Safari: function _Safari(t0, t1) { + this.name = t0; + this._browser$_matchesNavigator = t1; + }, + _WKWebView: function _WKWebView(t0, t1) { + this.name = t0; + this._browser$_matchesNavigator = t1; + }, + _InternetExplorer: function _InternetExplorer(t0, t1) { + this.name = t0; + this._browser$_matchesNavigator = t1; + }, + JsBackedMap_JsBackedMap$from: function(other) { + var t1 = new L.JsBackedMap({}); + t1.addAll$1(0, other); + return t1; + }, + jsBackingMapOrJsCopy: function(map) { + if (map instanceof L.JsBackedMap) + return map.jsObject; + else + return L.JsBackedMap_JsBackedMap$from(map).jsObject; + }, + JsBackedMap: function JsBackedMap(t0) { + this.jsObject = t0; + }, + JsBackedMap__values_closure: function JsBackedMap__values_closure(t0) { + this.$this = t0; + }, + JsMap: function JsMap() { + }, + _Object: function _Object() { + }, + _Reflect: function _Reflect() { + }, + _$valueOf1: function($name) { + switch ($name) { + case "none": + return C.BasePairDisplayType_none; + case "lines": + return C.BasePairDisplayType_lines; + case "rectangle": + return C.BasePairDisplayType_rectangle; + default: + throw H.wrapException(P.ArgumentError$($name)); + } + }, + BasePairDisplayType: function BasePairDisplayType(t0) { + this.name = t0; + }, + _$BasePairDisplayTypeSerializer: function _$BasePairDisplayTypeSerializer() { + }, + ErrorMessageComponent: function ErrorMessageComponent(t0) { + this.root_element = t0; + }, + _ObservableTimer$: function(duration, callback) { + var t1 = new L._ObservableTimer(new P._AsyncCompleter(new P._Future($.Zone__current, type$._Future_Null), type$._AsyncCompleter_Null)); + t1._ObservableTimer$2(duration, callback); + return t1; + }, + ManagedDisposer: function ManagedDisposer(t0, t1) { + this._disposer = t0; + this._didDispose = t1; + this._isDisposing = false; + }, + ManagedDisposer_dispose_closure: function ManagedDisposer_dispose_closure(t0) { + this.$this = t0; + }, + _ObservableTimer: function _ObservableTimer(t0) { + this._didConclude = t0; + this._timer = null; + }, + _ObservableTimer_closure: function _ObservableTimer_closure(t0, t1) { + this.$this = t0; + this.callback = t1; + }, + Disposable: function Disposable(t0, t1, t2, t3) { + var _ = this; + _._awaitableFutures = t0; + _._didDispose = t1; + _._leakFlag = null; + _._internalDisposables = t2; + _._disposable$_state = t3; + }, + Disposable__addObservableTimerDisposable_closure: function Disposable__addObservableTimerDisposable_closure(t0) { + this.timer = t0; + }, + Disposable__addObservableTimerDisposable_closure0: function Disposable__addObservableTimerDisposable_closure0(t0, t1) { + this.$this = t0; + this.disposable = t1; + }, + XmlHasWriter: function XmlHasWriter() { + }, + XmlCDATA: function XmlCDATA(t0, t1) { + this.text = t0; + this.XmlHasParent__parent = t1; + }, + XmlDeclaration$: function(attributesIterable) { + var t1 = B.XmlNodeList$(type$.XmlAttribute), + t2 = new L.XmlDeclaration(t1, null); + type$.Set_XmlNodeType._as(C.Set_EeIxt); + if (t1.__XmlNodeList__parent === $) + t1.__XmlNodeList__parent = t2; + else + H.throwExpression(H.LateError$fieldAI("_parent")); + t1.set$_nodeTypes(C.Set_EeIxt); + t1.addAll$1(0, attributesIterable); + return t2; + }, + XmlDeclaration: function XmlDeclaration(t0, t1) { + this.XmlHasAttributes_attributes = t0; + this.XmlHasParent__parent = t1; + }, + XmlDeclaration_copy_closure: function XmlDeclaration_copy_closure() { + }, + _XmlDeclaration_XmlNode_XmlHasParent: function _XmlDeclaration_XmlNode_XmlHasParent() { + }, + _XmlDeclaration_XmlNode_XmlHasParent_XmlHasAttributes: function _XmlDeclaration_XmlNode_XmlHasParent_XmlHasAttributes() { + }, + XmlText: function XmlText(t0, t1) { + this.text = t0; + this.XmlHasParent__parent = t1; + }, + XmlCharacterDataParser: function XmlCharacterDataParser(t0, t1, t2, t3) { + var _ = this; + _._entityMapping = t0; + _._stopper = t1; + _._stopperCode = t2; + _._minLength = t3; + }, + helix_remove_middleware: function(store, action, next) { + var t1, t2, helix_idx_with_substrands, t3, helix_idx_string, first_line_string; + type$.legacy_Store_legacy_AppState._as(store); + type$.legacy_dynamic_Function_dynamic._as(next); + if (action instanceof U.HelixRemove) { + t1 = store.get$state(store).design; + t2 = action.helix_idx; + if (J.get$isNotEmpty$asx(t1.domains_on_helix$1(t2))) + if (!H.boolConversionCheck(C.Window_methods.confirm$1(window, "Helix " + t2 + " has domains on it. If you delete the helix, the domains will be removed. Are you sure you wish to remove helix " + t2 + "?"))) + return; + } else if (action instanceof U.HelixRemoveAllSelected) { + helix_idx_with_substrands = P.LinkedHashSet_LinkedHashSet(type$.legacy_int); + for (t1 = store.get$state(store).ui_state.storables.side_selected_helix_idxs._set, t2 = t1.get$iterator(t1); t2.moveNext$0();) { + t3 = t2.get$current(t2); + if (J.get$isNotEmpty$asx(store.get$state(store).design.domains_on_helix$1(t3))) + helix_idx_with_substrands.add$1(0, t3); + } + if (helix_idx_with_substrands._collection$_length !== 0) { + helix_idx_string = helix_idx_with_substrands.join$1(0, ", "); + first_line_string = helix_idx_with_substrands._collection$_length === 1 ? "Selected helix " + helix_idx_string + " has domains on it. " : "Selected helices: " + helix_idx_string + " have domains on them. "; + if (!H.boolConversionCheck(C.Window_methods.confirm$1(window, first_line_string + "If you delete the selected helices, the domains will be removed. Are you sure you wish to remove selected helices: " + t1.join$1(0, ", ") + "?"))) + return; + } + } + next.call$1(action); + } + }, + X = {FileContent: function FileContent() { + }, ZipFileHeader: function ZipFileHeader(t0) { + var _ = this; + _.versionMadeBy = 0; + _.localHeaderOffset = _.externalFileAttributes = _.diskNumberStart = _.uncompressedSize = _.compressedSize = null; + _.filename = ""; + _.extraField = t0; + _.file = null; + }, + BuiltSet_BuiltSet: function(iterable, $E) { + return X.BuiltSet_BuiltSet$from(iterable, $E); + }, + BuiltSet_BuiltSet$from: function(iterable, $E) { + var t1; + if (iterable instanceof X._BuiltSet) { + t1 = H.createRuntimeType($E); + t1 = H.createRuntimeType(iterable.$ti._precomputed1) === t1; + } else + t1 = false; + if (t1) + return $E._eval$1("BuiltSet<0>")._as(iterable); + else { + t1 = new X._BuiltSet(null, P.LinkedHashSet_LinkedHashSet$from(iterable, $E), $E._eval$1("_BuiltSet<0>")); + t1._set$_maybeCheckForNull$0(); + return t1; + } + }, + BuiltSet_BuiltSet$of: function(iterable, $E) { + var t1 = X._BuiltSet$of(iterable, $E); + return t1; + }, + _BuiltSet$of: function(iterable, $E) { + var t1 = P.LinkedHashSet_LinkedHashSet$_empty($E); + t1.addAll$1(0, iterable); + t1 = new X._BuiltSet(null, t1, $E._eval$1("_BuiltSet<0>")); + t1._set$_maybeCheckForNull$0(); + return t1; + }, + SetBuilder_SetBuilder: function(iterable, $E) { + var t1 = new X.SetBuilder(null, $, null, $E._eval$1("SetBuilder<0>")); + t1.replace$1(0, iterable); + return t1; + }, + BuiltSet: function BuiltSet() { + }, + BuiltSet_hashCode_closure: function BuiltSet_hashCode_closure(t0) { + this.$this = t0; + }, + _BuiltSet: function _BuiltSet(t0, t1, t2) { + var _ = this; + _._setFactory = t0; + _._set = t1; + _._set$_hashCode = null; + _.$ti = t2; + }, + SetBuilder: function SetBuilder(t0, t1, t2, t3) { + var _ = this; + _._setFactory = t0; + _.__SetBuilder__set = t1; + _._setOwner = t2; + _.$ti = t3; + }, + StreamedResponse: function StreamedResponse(t0, t1, t2, t3, t4, t5, t6, t7) { + var _ = this; + _.stream = t0; + _.request = t1; + _.statusCode = t2; + _.reasonPhrase = t3; + _.contentLength = t4; + _.headers = t5; + _.isRedirect = t6; + _.persistentConnection = t7; + }, + connect: function(context, forwardRef, mapStateToProps, mapStateToPropsWithOwnProps, TReduxState, TProps) { + var mapDispatchToPropsCheck, _null = null, + _s11_ = "removeWhere", + mapStateToPropsCheck = [mapStateToProps, mapStateToPropsWithOwnProps, null, null], + t1 = H._arrayInstanceType(mapStateToPropsCheck)._eval$1("bool(1)")._as(new X.connect_closure()); + if (!!mapStateToPropsCheck.fixed$length) + H.throwExpression(P.UnsupportedError$(_s11_)); + C.JSArray_methods._removeWhere$2(mapStateToPropsCheck, t1, true); + mapDispatchToPropsCheck = [null, null, null, null]; + t1 = H._arrayInstanceType(mapDispatchToPropsCheck)._eval$1("bool(1)")._as(new X.connect_closure0()); + if (!!mapDispatchToPropsCheck.fixed$length) + H.throwExpression(P.UnsupportedError$(_s11_)); + C.JSArray_methods._removeWhere$2(mapDispatchToPropsCheck, t1, true); + if (mapStateToPropsCheck.length > 1) + throw H.wrapException(P.ArgumentError$("Only one of the following arguments can be provided at a time: [mapStateToProps, mapStateToPropsWithOwnProps, makeMapStateToProps, makeMapStateToPropsWithOwnProps]")); + if (mapDispatchToPropsCheck.length > 1) + throw H.wrapException(P.ArgumentError$("Only one of the following arguments can be provided at a time: [mapDispatchToProps, mapDispatchToPropsWithOwnProps, makeMapDispatchToProps, makeMapDispatchToPropsWithOwnProps]")); + return new X.connect_wrapWithConnect(mapStateToProps, mapStateToPropsWithOwnProps, _null, _null, _null, _null, _null, _null, _null, _null, U.equality__propsOrStateMapsEqual$closure(), U.equality__propsOrStateMapsEqual$closure(), U.equality__propsOrStateMapsEqual$closure(), forwardRef, true, context, TProps, TReduxState); + }, + _jsConnect: function(mapStateToProps, mapDispatchToProps, mergeProps, options) { + return self.ReactRedux.connect(mapStateToProps, mapDispatchToProps, mergeProps, options); + }, + _reduxifyStore: function(store) { + var t1 = P.allowInterop(new X._reduxifyStore_closure(store), type$.legacy_legacy_Object_Function), + t2 = P.allowInterop(new X._reduxifyStore_closure0(store), type$.legacy_legacy_Function_Function_legacy_Function); + return {getState: t1, dispatch: P.allowInterop(new X._reduxifyStore_closure1(store), type$.legacy_dynamic_Function_dynamic), subscribe: t2, dartStore: store}; + }, + $ConnectPropsMixin: function $ConnectPropsMixin() { + }, + connect_closure: function connect_closure() { + }, + connect_closure0: function connect_closure0() { + }, + connect_wrapWithConnect: function connect_wrapWithConnect(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17) { + var _ = this; + _.mapStateToProps = t0; + _.mapStateToPropsWithOwnProps = t1; + _.makeMapStateToProps = t2; + _.makeMapStateToPropsWithOwnProps = t3; + _.mapDispatchToProps = t4; + _.mapDispatchToPropsWithOwnProps = t5; + _.makeMapDispatchToProps = t6; + _.makeMapDispatchToPropsWithOwnProps = t7; + _.mergeProps = t8; + _.areStatesEqual = t9; + _.areOwnPropsEqual = t10; + _.areStatePropsEqual = t11; + _.areMergedPropsEqual = t12; + _.forwardRef = t13; + _.pure = t14; + _.context = t15; + _.TProps = t16; + _.TReduxState = t17; + }, + connect_wrapWithConnect_jsMapFromProps: function connect_wrapWithConnect_jsMapFromProps() { + }, + connect_wrapWithConnect_jsPropsToTProps: function connect_wrapWithConnect_jsPropsToTProps(t0, t1) { + this.factory = t0; + this.TProps = t1; + }, + connect_wrapWithConnect_allowInteropWithArgCount: function connect_wrapWithConnect_allowInteropWithArgCount() { + }, + connect_wrapWithConnect_handleMapStateToProps: function connect_wrapWithConnect_handleMapStateToProps(t0, t1, t2) { + this.jsMapFromProps = t0; + this.mapStateToProps = t1; + this.TReduxState = t2; + }, + connect_wrapWithConnect_handleMapStateToPropsWithOwnProps: function connect_wrapWithConnect_handleMapStateToPropsWithOwnProps(t0, t1, t2, t3) { + var _ = this; + _.jsMapFromProps = t0; + _.mapStateToPropsWithOwnProps = t1; + _.jsPropsToTProps = t2; + _.TReduxState = t3; + }, + connect_wrapWithConnect_handleMakeMapStateToProps: function connect_wrapWithConnect_handleMakeMapStateToProps(t0, t1, t2, t3, t4) { + var _ = this; + _.makeMapStateToProps = t0; + _.jsPropsToTProps = t1; + _.jsMapFromProps = t2; + _.allowInteropWithArgCount = t3; + _.TReduxState = t4; + }, + connect_wrapWithConnect_handleMakeMapStateToProps_handleMakeMapStateToPropsFactory: function connect_wrapWithConnect_handleMakeMapStateToProps_handleMakeMapStateToPropsFactory(t0, t1, t2) { + this.jsMapFromProps = t0; + this.mapToFactory = t1; + this.TReduxState = t2; + }, + connect_wrapWithConnect_handleMakeMapStateToPropsWithOwnProps: function connect_wrapWithConnect_handleMakeMapStateToPropsWithOwnProps(t0, t1, t2, t3, t4) { + var _ = this; + _.makeMapStateToPropsWithOwnProps = t0; + _.jsPropsToTProps = t1; + _.jsMapFromProps = t2; + _.allowInteropWithArgCount = t3; + _.TReduxState = t4; + }, + connect_wrapWithConnect_handleMakeMapStateToPropsWithOwnProps_handleMakeMapStateToPropsWithOwnPropsFactory: function connect_wrapWithConnect_handleMakeMapStateToPropsWithOwnProps_handleMakeMapStateToPropsWithOwnPropsFactory(t0, t1, t2, t3) { + var _ = this; + _.jsMapFromProps = t0; + _.mapToFactory = t1; + _.jsPropsToTProps = t2; + _.TReduxState = t3; + }, + connect_wrapWithConnect_handleMapDispatchToProps: function connect_wrapWithConnect_handleMapDispatchToProps(t0, t1) { + this.jsMapFromProps = t0; + this.mapDispatchToProps = t1; + }, + connect_wrapWithConnect_handleMapDispatchToPropsWithOwnProps: function connect_wrapWithConnect_handleMapDispatchToPropsWithOwnProps(t0, t1, t2) { + this.jsMapFromProps = t0; + this.mapDispatchToPropsWithOwnProps = t1; + this.jsPropsToTProps = t2; + }, + connect_wrapWithConnect_handleMakeMapDispatchToProps: function connect_wrapWithConnect_handleMakeMapDispatchToProps(t0, t1, t2, t3) { + var _ = this; + _.makeMapDispatchToProps = t0; + _.jsPropsToTProps = t1; + _.jsMapFromProps = t2; + _.allowInteropWithArgCount = t3; + }, + connect_wrapWithConnect_handleMakeMapDispatchToProps_handleMakeMapDispatchToPropsFactory: function connect_wrapWithConnect_handleMakeMapDispatchToProps_handleMakeMapDispatchToPropsFactory(t0, t1) { + this.jsMapFromProps = t0; + this.mapToFactory = t1; + }, + connect_wrapWithConnect_handleMakeMapDispatchToPropsWithOwnProps: function connect_wrapWithConnect_handleMakeMapDispatchToPropsWithOwnProps(t0, t1, t2, t3) { + var _ = this; + _.makeMapDispatchToPropsWithOwnProps = t0; + _.jsPropsToTProps = t1; + _.jsMapFromProps = t2; + _.allowInteropWithArgCount = t3; + }, + connect_wrapWithConnect_handleMakeMapDispatchToPropsWithOwnProps_handleMakeMapDispatchToPropsWithOwnPropsFactory: function connect_wrapWithConnect_handleMakeMapDispatchToPropsWithOwnProps_handleMakeMapDispatchToPropsWithOwnPropsFactory(t0, t1, t2) { + this.jsMapFromProps = t0; + this.mapToFactory = t1; + this.jsPropsToTProps = t2; + }, + connect_wrapWithConnect_handleAreOwnPropsEqual: function connect_wrapWithConnect_handleAreOwnPropsEqual(t0, t1) { + this.areOwnPropsEqual = t0; + this.jsPropsToTProps = t1; + }, + connect_wrapWithConnect_handleAreStatePropsEqual: function connect_wrapWithConnect_handleAreStatePropsEqual(t0, t1) { + this.areStatePropsEqual = t0; + this.jsPropsToTProps = t1; + }, + connect_wrapWithConnect_handleAreMergedPropsEqual: function connect_wrapWithConnect_handleAreMergedPropsEqual(t0, t1) { + this.areMergedPropsEqual = t0; + this.jsPropsToTProps = t1; + }, + connect_wrapWithConnect_interopMapStateToPropsHandler: function connect_wrapWithConnect_interopMapStateToPropsHandler(t0, t1, t2, t3, t4, t5, t6, t7, t8) { + var _ = this; + _.mapStateToProps = t0; + _.allowInteropWithArgCount = t1; + _.handleMapStateToProps = t2; + _.mapStateToPropsWithOwnProps = t3; + _.handleMapStateToPropsWithOwnProps = t4; + _.makeMapStateToProps = t5; + _.handleMakeMapStateToProps = t6; + _.makeMapStateToPropsWithOwnProps = t7; + _.handleMakeMapStateToPropsWithOwnProps = t8; + }, + connect_wrapWithConnect_interopMapDispatchToPropsHandler: function connect_wrapWithConnect_interopMapDispatchToPropsHandler(t0, t1, t2, t3, t4, t5, t6, t7, t8) { + var _ = this; + _.mapDispatchToProps = t0; + _.allowInteropWithArgCount = t1; + _.handleMapDispatchToProps = t2; + _.mapDispatchToPropsWithOwnProps = t3; + _.handleMapDispatchToPropsWithOwnProps = t4; + _.makeMapDispatchToProps = t5; + _.handleMakeMapDispatchToProps = t6; + _.makeMapDispatchToPropsWithOwnProps = t7; + _.handleMakeMapDispatchToPropsWithOwnProps = t8; + }, + connect_wrapWithConnect_connectedFactory: function connect_wrapWithConnect_connectedFactory(t0, t1, t2) { + this.factory = t0; + this.hocFactoryProxy = t1; + this.TProps = t2; + }, + JsReactRedux: function JsReactRedux() { + }, + ReduxProviderProps: function ReduxProviderProps(t0, t1, t2) { + var _ = this; + _.props = t0; + _.componentFactory = null; + _.UbiquitousDomPropsMixin__aria = t1; + _.UbiquitousDomPropsMixin__dom = t2; + }, + ReduxProvider_closure: function ReduxProvider_closure() { + }, + ReactJsReactReduxComponentFactoryProxy: function ReactJsReactReduxComponentFactoryProxy(t0, t1, t2, t3) { + var _ = this; + _.ReactJsContextComponentFactoryProxy_type = t0; + _.isConsumer = t1; + _.isProvider = t2; + _.type = t3; + }, + _reduxifyStore_closure: function _reduxifyStore_closure(t0) { + this.store = t0; + }, + _reduxifyStore_closure0: function _reduxifyStore_closure0(t0) { + this.store = t0; + }, + _reduxifyStore__closure: function _reduxifyStore__closure(t0) { + this.cb = t0; + }, + _reduxifyStore_closure1: function _reduxifyStore_closure1(t0) { + this.store = t0; + }, + JsReactReduxStore: function JsReactReduxStore() { + }, + JsConnectOptions: function JsConnectOptions() { + }, + ConnectPropsMixin: function ConnectPropsMixin() { + }, + ParsedPath_ParsedPath$parse: function(path, style) { + var t1, parts, separators, start, i, + root = style.getRoot$1(path), + isRootRelative = style.isRootRelative$1(path); + if (root != null) + path = J.substring$1$s(path, root.length); + t1 = type$.JSArray_String; + parts = H.setRuntimeTypeInfo([], t1); + separators = H.setRuntimeTypeInfo([], t1); + t1 = path.length; + if (t1 !== 0 && style.isSeparator$1(C.JSString_methods._codeUnitAt$1(path, 0))) { + if (0 >= t1) + return H.ioore(path, 0); + C.JSArray_methods.add$1(separators, path[0]); + start = 1; + } else { + C.JSArray_methods.add$1(separators, ""); + start = 0; + } + for (i = start; i < t1; ++i) + if (style.isSeparator$1(C.JSString_methods._codeUnitAt$1(path, i))) { + C.JSArray_methods.add$1(parts, C.JSString_methods.substring$2(path, start, i)); + C.JSArray_methods.add$1(separators, path[i]); + start = i + 1; + } + if (start < t1) { + C.JSArray_methods.add$1(parts, C.JSString_methods.substring$1(path, start)); + C.JSArray_methods.add$1(separators, ""); + } + return new X.ParsedPath(style, root, isRootRelative, parts, separators); + }, + ParsedPath: function ParsedPath(t0, t1, t2, t3, t4) { + var _ = this; + _.style = t0; + _.root = t1; + _.isRootRelative = t2; + _.parts = t3; + _.separators = t4; + }, + ParsedPath__splitExtension_closure: function ParsedPath__splitExtension_closure() { + }, + ParsedPath__splitExtension_closure0: function ParsedPath__splitExtension_closure0() { + }, + PathException$: function(message) { + return new X.PathException(message); + }, + PathException: function PathException(t0) { + this.message = t0; + }, + SeparatedBy_separatedBy: function(_this, separator, $T, $R) { + var t1 = type$.JSArray_Parser_dynamic, + t2 = type$.Parser_dynamic, + t3 = type$.SequenceParser_dynamic, + t4 = type$.List_dynamic; + t1 = H.setRuntimeTypeInfo([_this, Z.PossessiveRepeatingParserExtension_repeat(new Q.SequenceParser(P.List_List$of(H.setRuntimeTypeInfo([separator, _this], t1), false, t2), t3), 0, 9007199254740991, t4)], t1); + return A.MapParserExtension_map(new Q.SequenceParser(P.List_List$of(t1, false, t2), t3), new X.SeparatedBy_separatedBy_closure(true, false, $R), false, t4, $R._eval$1("List<0>")); + }, + SeparatedBy_separatedBy_closure: function SeparatedBy_separatedBy_closure(t0, t1, t2) { + this.includeSeparators = t0; + this.optionalSeparatorAtEnd = t1; + this.R = t2; + }, + Store$: function(reducer, initialState, middleware, syncStream, State) { + var t1 = new X.Store(reducer, P.StreamController_StreamController$broadcast(null, false, State._eval$1("0*")), State._eval$1("Store<0>")); + t1.set$_state(initialState); + t1.set$_dispatchers(t1._createDispatchers$2(middleware, t1._createReduceAndNotify$1(false))); + return t1; + }, + Store: function Store(t0, t1, t2) { + var _ = this; + _.reducer = t0; + _._changeController = t1; + _._dispatchers = _._state = null; + _.$ti = t2; + }, + Store__createReduceAndNotify_closure: function Store__createReduceAndNotify_closure(t0, t1) { + this.$this = t0; + this.distinct = t1; + }, + Store__createDispatchers_closure: function Store__createDispatchers_closure(t0, t1, t2) { + this.$this = t0; + this.nextMiddleware = t1; + this.next = t2; + }, + forbid_create_circular_strand_no_crossovers_middleware: function(store, action, next) { + var design, crossover, strand, crossovers_on, t1, t2, t3, strand_id, t4, crossovers, helix, offset_5p, $forward, msg, dna_end, domain, address_end, domain_other; + type$.legacy_Store_legacy_AppState._as(store); + type$.legacy_dynamic_Function_dynamic._as(next); + design = store.get$state(store).design; + if (action instanceof U.ConvertCrossoverToLoopout) { + crossover = action.crossover; + strand = J.$index$asx(design.get$crossover_to_strand()._map$_map, crossover); + if (strand.circular && J.get$length$asx(strand.get$crossovers()._list) === 1) { + C.Window_methods.alert$1(window, 'This is the only crossover on this circular strand. It cannot be converted\nto a loopout.\nUnfortunately it is not possible in scadnano to create a circular strand \nwith no crossovers and only loopouts. (This is because it is unsupported \nfor a strand to begin or end with a loopout, even a circular strand, \nwhere one is chosen arbitrarily as the "first"). \n\nSee https://github.com/UC-Davis-molecular-computing/scadnano/issues/34'); + return; + } + } else if (action instanceof U.ConvertCrossoversToLoopouts) { + crossovers_on = P.LinkedHashMap_LinkedHashMap$_empty(type$.legacy_String, type$.legacy_List_legacy_Crossover); + for (t1 = J.get$iterator$ax(action.crossovers._list), t2 = type$.JSArray_legacy_Crossover; t1.moveNext$0();) { + t3 = t1.get$current(t1); + strand_id = t3.strand_id; + if (!crossovers_on.containsKey$1(0, strand_id)) + crossovers_on.$indexSet(0, strand_id, H.setRuntimeTypeInfo([], t2)); + t4 = crossovers_on.$index(0, strand_id); + (t4 && C.JSArray_methods).add$1(t4, t3); + } + for (t1 = crossovers_on.get$keys(crossovers_on), t1 = t1.get$iterator(t1); t1.moveNext$0();) { + t2 = t1.get$current(t1); + t3 = design.__strands_by_id; + if (t3 == null) { + t3 = N.Design.prototype.get$strands_by_id.call(design); + design.set$__strands_by_id(t3); + } + strand = J.$index$asx(t3._map$_map, t2); + crossovers = crossovers_on.$index(0, t2); + t2 = strand.__crossovers; + if (t2 == null) { + t2 = E.Strand.prototype.get$crossovers.call(strand); + strand.set$__crossovers(t2); + } + if (J.get$length$asx(t2._list) === crossovers.length) { + t1 = strand.__first_domain; + if (t1 == null) { + t1 = strand.__first_domain = E.Strand.prototype.get$first_domain.call(strand); + t2 = t1; + } else + t2 = t1; + helix = t1.helix; + t1 = t2 == null ? strand.__first_domain = E.Strand.prototype.get$first_domain.call(strand) : t2; + offset_5p = t1.__offset_5p; + if (offset_5p == null) + offset_5p = t1.__offset_5p = G.Domain.prototype.get$offset_5p.call(t1); + t1 = strand.__first_domain; + $forward = (t1 == null ? strand.__first_domain = E.Strand.prototype.get$first_domain.call(strand) : t1).forward; + msg = "The strand with 5' end at helix " + helix + ", offset " + offset_5p + ", forward = " + $forward + ' \ncannot have all of its crossovers converted to Loopouts.\nUnfortunately it is not possible in scadnano to create a circular strand \nwith no crossovers and only loopouts. (This is because it is unsupported \nfor a strand to begin or end with a loopout, even a circular strand, \nwhere one is chosen arbitrarily as the "first"). \n\nSee https://github.com/UC-Davis-molecular-computing/scadnano/issues/34'; + C.Window_methods.alert$1(window, msg); + return; + } + } + } else if (action instanceof U.Ligate) { + dna_end = action.dna_end; + t1 = design.get$substrand_to_strand(); + t2 = J.$index$asx(design.get$end_to_domain()._map$_map, dna_end); + t2 = J.$index$asx(t1._map$_map, t2); + domain = J.$index$asx(design.get$end_to_domain()._map$_map, dna_end); + t1 = dna_end.is_start; + address_end = t1 ? domain.get$address_start() : domain.get$address_end(); + domain_other = design.domain_on_helix_at$1(address_end.rebuild$1(new X.forbid_create_circular_strand_no_crossovers_middleware_closure(t1 ? -1 : 1))); + if (t2 == J.$index$asx(design.get$substrand_to_strand()._map$_map, domain_other) && J.get$isEmpty$asx(t2.get$crossovers()._list)) { + C.Window_methods.alert$1(window, 'This strand has no crossovers so cannot be made circular.\nUnfortunately it is not possible in scadnano to create a circular strand \nwith no crossovers and only loopouts. (This is because it is unsupported \nfor a strand to begin or end with a loopout, even a circular strand, \nwhere one is chosen arbitrarily as the "first"). \n\nSee https://github.com/UC-Davis-molecular-computing/scadnano/issues/34'); + return; + } + } + next.call$1(action); + }, + forbid_create_circular_strand_no_crossovers_middleware_closure: function forbid_create_circular_strand_no_crossovers_middleware_closure(t0) { + this.delta = t0; + }, + convert_crossover_to_loopout_reducer: function(strand, action) { + var t1, t2, loopout_new, substrands, first_dom, i, _box_0 = {}; + type$.legacy_Strand._as(strand); + type$.legacy_ConvertCrossoverToLoopout._as(action); + t1 = action.length; + t2 = action.crossover; + loopout_new = G.Loopout_Loopout(strand.is_scaffold, t1, t2.prev_domain_idx); + t1 = strand.substrands; + substrands = new Q.CopyOnWriteList(true, t1._list, H._instanceType(t1)._eval$1("CopyOnWriteList<1>")); + _box_0.substrands = substrands; + t2 = t2.next_domain_idx; + substrands.insert$2(0, t2, loopout_new); + if (t2 === 0) { + first_dom = -1; + i = 0; + while (true) { + t1 = J.get$length$asx(_box_0.substrands); + if (typeof t1 !== "number") + return t1.$sub(); + if (!(i < t1 - 1)) + break; + if (J.$index$asx(_box_0.substrands, i) instanceof G.Domain && J.$index$asx(_box_0.substrands, i + 1) instanceof G.Domain) + first_dom = i + 1; + ++i; + } + if (first_dom < 0) + return strand; + _box_0.substrands = J.$add$ansx(J.sublist$1$ax(_box_0.substrands, first_dom), J.sublist$2$ax(_box_0.substrands, 0, first_dom)); + } + return strand.rebuild$1(new X.convert_crossover_to_loopout_reducer_closure(_box_0)).initialize$0(0); + }, + convert_crossovers_to_loopouts_reducer: function(strands, state, action) { + var crossovers_on_strand_id, t1, t2, t3, strand_id, t4, strands_builder, t5, t6, t7, t8, t9, t10, t11, t12, strand, strand_idx, substrands_builder, t13, t14, crossovers, num_crossovers_processed_on_strand, _i, crossover, t15, t16, t17, new_strand, + _s12_ = "null element", + _s5_ = "_list"; + type$.legacy_BuiltList_legacy_Strand._as(strands); + type$.legacy_AppState._as(state); + type$.legacy_ConvertCrossoversToLoopouts._as(action); + crossovers_on_strand_id = P.LinkedHashMap_LinkedHashMap$_empty(type$.legacy_String, type$.legacy_List_legacy_Crossover); + for (t1 = J.get$iterator$ax(action.crossovers._list), t2 = type$.JSArray_legacy_Crossover; t1.moveNext$0();) { + t3 = t1.get$current(t1); + strand_id = t3.strand_id; + if (!crossovers_on_strand_id.containsKey$1(0, strand_id)) + crossovers_on_strand_id.$indexSet(0, strand_id, H.setRuntimeTypeInfo([], t2)); + t4 = crossovers_on_strand_id.$index(0, strand_id); + (t4 && C.JSArray_methods).add$1(t4, t3); + } + strands.toString; + t1 = strands.$ti._precomputed1; + strands_builder = D.ListBuilder_ListBuilder(strands, t1); + for (t2 = crossovers_on_strand_id.get$keys(crossovers_on_strand_id), t2 = t2.get$iterator(t2), t3 = strands_builder.$ti, t4 = t3._precomputed1, t5 = type$.legacy_void_Function_legacy_StrandBuilder, t6 = action.length, t7 = strands._list, t8 = J.getInterceptor$asx(t7), t9 = !t4._is(null), t3 = t3._eval$1("List<1>"); t2.moveNext$0();) { + t10 = t2.get$current(t2); + t11 = state.design; + t12 = t11.__strands_by_id; + if (t12 == null) { + t12 = N.Design.prototype.get$strands_by_id.call(t11); + t11.set$__strands_by_id(t12); + t11 = t12; + } else + t11 = t12; + strand = J.$index$asx(t11._map$_map, t10); + strand_idx = t8.indexOf$2(t7, t1._as(strand), 0); + t11 = strand.substrands; + t11.toString; + t12 = t11.$ti; + substrands_builder = new D.ListBuilder(t12._eval$1("ListBuilder<1>")); + t13 = t12._eval$1("_BuiltList<1>"); + t14 = t12._eval$1("List<1>"); + if (t13._is(t11)) { + t13._as(t11); + substrands_builder.set$__ListBuilder__list(t14._as(t11._list)); + substrands_builder.set$_listOwner(t11); + } else { + substrands_builder.set$__ListBuilder__list(t14._as(P.List_List$from(t11, true, t12._precomputed1))); + substrands_builder.set$_listOwner(null); + } + crossovers = crossovers_on_strand_id.$index(0, t10); + crossovers.toString; + t10 = H._arrayInstanceType(crossovers); + t11 = t10._eval$1("int(1,1)?")._as(new X.convert_crossovers_to_loopouts_reducer_closure()); + if (!!crossovers.immutable$list) + H.throwExpression(P.UnsupportedError$("sort")); + t10 = t10._precomputed1; + t13 = crossovers.length - 1; + if (t13 - 0 <= 32) + H.Sort__insertionSort(crossovers, 0, t13, t11, t10); + else + H.Sort__dualPivotQuicksort(crossovers, 0, t13, t11, t10); + for (t10 = crossovers.length, t11 = strand.is_scaffold, t12 = t12._precomputed1, t13 = !t12._is(null), num_crossovers_processed_on_strand = 0, _i = 0; _i < crossovers.length; crossovers.length === t10 || (0, H.throwConcurrentModificationError)(crossovers), ++_i) { + crossover = crossovers[_i]; + t15 = crossover.prev_domain_idx; + t16 = crossover.next_domain_idx; + t15 = t12._as(G.Loopout_Loopout(t11, t6, t15 + num_crossovers_processed_on_strand)); + if (!$.$get$isSoundMode() && t13) + if (t15 == null) + H.throwExpression(P.ArgumentError$(_s12_)); + if (substrands_builder._listOwner != null) { + t17 = substrands_builder.__ListBuilder__list; + substrands_builder.set$__ListBuilder__list(t14._as(P.List_List$from(t17 === $ ? H.throwExpression(H.LateError$fieldNI(_s5_)) : t17, true, t12))); + substrands_builder.set$_listOwner(null); + } + t17 = substrands_builder.__ListBuilder__list; + if (t17 === $) + t17 = H.throwExpression(H.LateError$fieldNI(_s5_)); + J.insert$2$ax(t17, t16 + num_crossovers_processed_on_strand, t15); + ++num_crossovers_processed_on_strand; + } + t10 = t5._as(new X.convert_crossovers_to_loopouts_reducer_closure0(substrands_builder)); + t11 = new E.StrandBuilder(); + t11._strand$_$v = strand; + t10.call$1(t11); + new_strand = t11.build$0(); + strand = new_strand._rebuild_substrands_with_new_fields_based_on_strand$1(new_strand._rebuild_substrands_with_new_dna_sequences_based_on_strand$1(new_strand)); + if (J.get$length$asx(new_strand.substrands._list) === 1) { + t10 = new_strand.__first_domain; + if (t10 == null) + t10 = new_strand.__first_domain = E.Strand.prototype.get$first_domain.call(new_strand); + t10.toString; + } + new_strand.check_two_consecutive_loopouts$0(); + new_strand.check_loopouts_length$0(); + new_strand.check_at_least_one_domain$0(); + new_strand.check_only_at_ends$0(); + new_strand.check_not_adjacent_to_loopout$0(); + t4._as(strand); + if (!$.$get$isSoundMode() && t9) + if (strand == null) + H.throwExpression(P.ArgumentError$(_s12_)); + if (strands_builder._listOwner != null) { + t10 = strands_builder.__ListBuilder__list; + strands_builder.set$__ListBuilder__list(t3._as(P.List_List$from(t10 === $ ? H.throwExpression(H.LateError$fieldNI(_s5_)) : t10, true, t4))); + strands_builder.set$_listOwner(null); + } + t10 = strands_builder.__ListBuilder__list; + J.$indexSet$ax(t10 === $ ? H.throwExpression(H.LateError$fieldNI(_s5_)) : t10, strand_idx, strand); + } + return strands_builder.build$0(); + }, + loopouts_length_change_reducer: function(strands, state, action) { + var loopouts_on_strand_id, t1, t2, t3, strand_id, t4, strands_builder, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, strand, strand_idx, substrands, loopouts, t16, _i, loopout, loopout_idx, new_strand; + type$.legacy_BuiltList_legacy_Strand._as(strands); + type$.legacy_AppState._as(state); + type$.legacy_LoopoutsLengthChange._as(action); + loopouts_on_strand_id = P.LinkedHashMap_LinkedHashMap$_empty(type$.legacy_String, type$.legacy_List_legacy_Loopout); + for (t1 = J.get$iterator$ax(action.loopouts._list), t2 = type$.JSArray_legacy_Loopout; t1.moveNext$0();) { + t3 = t1.get$current(t1); + strand_id = t3.strand_id; + if (!loopouts_on_strand_id.containsKey$1(0, strand_id)) + loopouts_on_strand_id.$indexSet(0, strand_id, H.setRuntimeTypeInfo([], t2)); + t4 = loopouts_on_strand_id.$index(0, strand_id); + (t4 && C.JSArray_methods).add$1(t4, t3); + } + strands.toString; + t1 = strands.$ti._precomputed1; + strands_builder = D.ListBuilder_ListBuilder(strands, t1); + for (t2 = loopouts_on_strand_id.get$keys(loopouts_on_strand_id), t2 = t2.get$iterator(t2), t3 = strands_builder.$ti, t4 = t3._precomputed1, t5 = type$.legacy_void_Function_legacy_StrandBuilder, t6 = action.length, t7 = t6 === 0, t6 = t6 > 0, t8 = type$.legacy_void_Function_legacy_LoopoutBuilder, t9 = type$.legacy_Loopout, t10 = strands._list, t11 = J.getInterceptor$asx(t10), t12 = !t4._is(null), t3 = t3._eval$1("List<1>"); t2.moveNext$0();) { + t13 = t2.get$current(t2); + t14 = state.design; + t15 = t14.__strands_by_id; + if (t15 == null) { + t15 = N.Design.prototype.get$strands_by_id.call(t14); + t14.set$__strands_by_id(t15); + t14 = t15; + } else + t14 = t15; + strand = J.$index$asx(t14._map$_map, t13); + strand_idx = t11.indexOf$2(t10, t1._as(strand), 0); + t14 = strand.substrands; + t15 = H._instanceType(t14); + substrands = new Q.CopyOnWriteList(true, t14._list, t15._eval$1("CopyOnWriteList<1>")); + loopouts = loopouts_on_strand_id.$index(0, t13); + loopouts.toString; + t13 = H._arrayInstanceType(loopouts); + t14 = t13._eval$1("int(1,1)?")._as(new X.loopouts_length_change_reducer_closure()); + if (!!loopouts.immutable$list) + H.throwExpression(P.UnsupportedError$("sort")); + t13 = t13._precomputed1; + t16 = loopouts.length - 1; + if (t16 - 0 <= 32) + H.Sort__insertionSort(loopouts, 0, t16, t14, t13); + else + H.Sort__dualPivotQuicksort(loopouts, 0, t16, t14, t13); + for (t13 = loopouts.length, t15 = t15._precomputed1, _i = 0; _i < loopouts.length; loopouts.length === t13 || (0, H.throwConcurrentModificationError)(loopouts), ++_i) { + loopout = loopouts[_i]; + t15._as(loopout); + loopout_idx = J.indexOf$2$asx(substrands._copy_on_write_list$_list, loopout, 0); + if (t6) { + loopout.toString; + t14 = t8._as(new X.loopouts_length_change_reducer_closure0(action)); + t16 = new G.LoopoutBuilder(); + t9._as(loopout); + t16._loopout$_$v = loopout; + t14.call$1(t16); + t14 = t15._as(t16.build$0()); + substrands._copy_on_write_list$_maybeCopyBeforeWrite$0(); + J.$indexSet$ax(substrands._copy_on_write_list$_list, loopout_idx, t14); + } else if (t7) { + substrands._copy_on_write_list$_maybeCopyBeforeWrite$0(); + J.removeAt$1$ax(substrands._copy_on_write_list$_list, loopout_idx); + } + } + t13 = t5._as(new X.loopouts_length_change_reducer_closure1(substrands)); + t14 = new E.StrandBuilder(); + t14._strand$_$v = strand; + t13.call$1(t14); + new_strand = t14.build$0(); + strand = new_strand._rebuild_substrands_with_new_fields_based_on_strand$1(new_strand._rebuild_substrands_with_new_dna_sequences_based_on_strand$1(new_strand)); + if (J.get$length$asx(new_strand.substrands._list) === 1) { + t13 = new_strand.__first_domain; + if (t13 == null) + t13 = new_strand.__first_domain = E.Strand.prototype.get$first_domain.call(new_strand); + t13.toString; + } + new_strand.check_two_consecutive_loopouts$0(); + new_strand.check_loopouts_length$0(); + new_strand.check_at_least_one_domain$0(); + new_strand.check_only_at_ends$0(); + new_strand.check_not_adjacent_to_loopout$0(); + t4._as(strand); + if (!$.$get$isSoundMode() && t12) + if (strand == null) + H.throwExpression(P.ArgumentError$("null element")); + if (strands_builder._listOwner != null) { + t13 = strands_builder.__ListBuilder__list; + strands_builder.set$__ListBuilder__list(t3._as(P.List_List$from(t13 === $ ? H.throwExpression(H.LateError$fieldNI("_list")) : t13, true, t4))); + strands_builder.set$_listOwner(null); + } + t13 = strands_builder.__ListBuilder__list; + J.$indexSet$ax(t13 === $ ? H.throwExpression(H.LateError$fieldNI("_list")) : t13, strand_idx, strand); + } + return strands_builder.build$0(); + }, + extensions_num_bases_change_reducer: function(strands, state, action) { + var exts_on_strand_id, t1, t2, t3, strand_id, t4, strands_builder, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, strand, strand_idx, substrands, exts, _i, ext, idx, t16, new_strand; + type$.legacy_BuiltList_legacy_Strand._as(strands); + type$.legacy_AppState._as(state); + type$.legacy_ExtensionsNumBasesChange._as(action); + exts_on_strand_id = P.LinkedHashMap_LinkedHashMap$_empty(type$.legacy_String, type$.legacy_List_legacy_Extension); + for (t1 = J.get$iterator$ax(action.extensions._list), t2 = type$.JSArray_legacy_Extension; t1.moveNext$0();) { + t3 = t1.get$current(t1); + strand_id = t3.strand_id; + if (!exts_on_strand_id.containsKey$1(0, strand_id)) + exts_on_strand_id.$indexSet(0, strand_id, H.setRuntimeTypeInfo([], t2)); + t4 = exts_on_strand_id.$index(0, strand_id); + (t4 && C.JSArray_methods).add$1(t4, t3); + } + strands.toString; + t1 = strands.$ti._precomputed1; + strands_builder = D.ListBuilder_ListBuilder(strands, t1); + for (t2 = exts_on_strand_id.get$keys(exts_on_strand_id), t2 = t2.get$iterator(t2), t3 = strands_builder.$ti, t4 = t3._precomputed1, t5 = type$.legacy_void_Function_legacy_StrandBuilder, t6 = action.num_bases, t7 = t6 === 0, t6 = t6 > 0, t8 = type$.legacy_void_Function_legacy_ExtensionBuilder, t9 = type$.legacy_Extension, t10 = strands._list, t11 = J.getInterceptor$asx(t10), t12 = !t4._is(null), t3 = t3._eval$1("List<1>"); t2.moveNext$0();) { + t13 = t2.get$current(t2); + t14 = state.design; + t15 = t14.__strands_by_id; + if (t15 == null) { + t15 = N.Design.prototype.get$strands_by_id.call(t14); + t14.set$__strands_by_id(t15); + t14 = t15; + } else + t14 = t15; + strand = J.$index$asx(t14._map$_map, t13); + strand_idx = t11.indexOf$2(t10, t1._as(strand), 0); + t14 = strand.substrands; + t15 = H._instanceType(t14); + substrands = new Q.CopyOnWriteList(true, t14._list, t15._eval$1("CopyOnWriteList<1>")); + exts = exts_on_strand_id.$index(0, t13); + for (t13 = exts.length, t15 = t15._precomputed1, _i = 0; _i < exts.length; exts.length === t13 || (0, H.throwConcurrentModificationError)(exts), ++_i) { + ext = exts[_i]; + t15._as(ext); + idx = J.indexOf$2$asx(substrands._copy_on_write_list$_list, ext, 0); + if (t6) { + ext.toString; + t14 = t8._as(new X.extensions_num_bases_change_reducer_closure(action)); + t16 = new S.ExtensionBuilder(); + t9._as(ext); + t16._extension$_$v = ext; + t14.call$1(t16); + t14 = t15._as(t16.build$0()); + substrands._copy_on_write_list$_maybeCopyBeforeWrite$0(); + J.$indexSet$ax(substrands._copy_on_write_list$_list, idx, t14); + } else if (t7) + throw H.wrapException(P.AssertionError$(string$.extens)); + } + t13 = t5._as(new X.extensions_num_bases_change_reducer_closure0(substrands)); + t14 = new E.StrandBuilder(); + t14._strand$_$v = strand; + t13.call$1(t14); + new_strand = t14.build$0(); + strand = new_strand._rebuild_substrands_with_new_fields_based_on_strand$1(new_strand._rebuild_substrands_with_new_dna_sequences_based_on_strand$1(new_strand)); + if (J.get$length$asx(new_strand.substrands._list) === 1) { + t13 = new_strand.__first_domain; + if (t13 == null) + t13 = new_strand.__first_domain = E.Strand.prototype.get$first_domain.call(new_strand); + t13.toString; + } + new_strand.check_two_consecutive_loopouts$0(); + new_strand.check_loopouts_length$0(); + new_strand.check_at_least_one_domain$0(); + new_strand.check_only_at_ends$0(); + new_strand.check_not_adjacent_to_loopout$0(); + t4._as(strand); + if (!$.$get$isSoundMode() && t12) + if (strand == null) + H.throwExpression(P.ArgumentError$("null element")); + if (strands_builder._listOwner != null) { + t13 = strands_builder.__ListBuilder__list; + strands_builder.set$__ListBuilder__list(t3._as(P.List_List$from(t13 === $ ? H.throwExpression(H.LateError$fieldNI("_list")) : t13, true, t4))); + strands_builder.set$_listOwner(null); + } + t13 = strands_builder.__ListBuilder__list; + J.$indexSet$ax(t13 === $ ? H.throwExpression(H.LateError$fieldNI("_list")) : t13, strand_idx, strand); + } + return strands_builder.build$0(); + }, + loopout_length_change_reducer: function(strand, action) { + var t1, t2, t3, loopout_idx, substrands_builder; + type$.legacy_Strand._as(strand); + type$.legacy_LoopoutLengthChange._as(action); + t1 = strand.substrands; + t2 = action.loopout; + t1.toString; + t3 = t1.$ti._precomputed1; + t3._as(t2); + loopout_idx = J.indexOf$2$asx(t1._list, t2, 0); + substrands_builder = D.ListBuilder_ListBuilder(t1, t3); + t1 = action.num_bases; + if (t1 > 0) { + t1 = substrands_builder.$ti._precomputed1; + t2 = t1._as(t2.rebuild$1(new X.loopout_length_change_reducer_closure(action))); + if (!$.$get$isSoundMode() && !t1._is(null)) + if (t2 == null) + H.throwExpression(P.ArgumentError$("null element")); + J.$indexSet$ax(substrands_builder.get$_safeList(), loopout_idx, t2); + } else if (t1 === 0) + J.removeAt$1$ax(substrands_builder.get$_safeList(), loopout_idx); + return strand.rebuild$1(new X.loopout_length_change_reducer_closure0(substrands_builder)); + }, + extension_num_bases_change_reducer: function(strand, action) { + var t1, t2, t3, idx, substrands_builder; + type$.legacy_Strand._as(strand); + type$.legacy_ExtensionNumBasesChange._as(action); + t1 = strand.substrands; + t2 = action.ext; + t1.toString; + t3 = t1.$ti._precomputed1; + t3._as(t2); + idx = J.indexOf$2$asx(t1._list, t2, 0); + substrands_builder = D.ListBuilder_ListBuilder(t1, t3); + if (action.num_bases > 0) { + t1 = substrands_builder.$ti._precomputed1; + t2 = t1._as(t2.rebuild$1(new X.extension_num_bases_change_reducer_closure(action))); + if (!$.$get$isSoundMode() && !t1._is(null)) + if (t2 == null) + H.throwExpression(P.ArgumentError$("null element")); + J.$indexSet$ax(substrands_builder.get$_safeList(), idx, t2); + } else + throw H.wrapException(P.AssertionError$(string$.extens)); + return strand.rebuild$1(new X.extension_num_bases_change_reducer_closure0(substrands_builder)); + }, + extension_display_length_angle_change_reducer: function(strand, action) { + var t1, t2, t3, idx, substrands_builder; + type$.legacy_Strand._as(strand); + type$.legacy_ExtensionDisplayLengthAngleSet._as(action); + t1 = strand.substrands; + t2 = action.ext; + t1.toString; + t3 = t1.$ti._precomputed1; + t3._as(t2); + idx = J.indexOf$2$asx(t1._list, t2, 0); + substrands_builder = D.ListBuilder_ListBuilder(t1, t3); + if (action.display_length <= 0) + throw H.wrapException(P.ArgumentError$("extension must have positive display_angle")); + t1 = substrands_builder.$ti._precomputed1; + t2 = t1._as(t2.rebuild$1(new X.extension_display_length_angle_change_reducer_closure(action))); + if (!$.$get$isSoundMode() && !t1._is(null)) + if (t2 == null) + H.throwExpression(P.ArgumentError$("null element")); + J.$indexSet$ax(substrands_builder.get$_safeList(), idx, t2); + return strand.rebuild$1(new X.extension_display_length_angle_change_reducer_closure0(substrands_builder)); + }, + convert_crossover_to_loopout_reducer_closure: function convert_crossover_to_loopout_reducer_closure(t0) { + this._box_0 = t0; + }, + convert_crossovers_to_loopouts_reducer_closure: function convert_crossovers_to_loopouts_reducer_closure() { + }, + convert_crossovers_to_loopouts_reducer_closure0: function convert_crossovers_to_loopouts_reducer_closure0(t0) { + this.substrands_builder = t0; + }, + loopouts_length_change_reducer_closure: function loopouts_length_change_reducer_closure() { + }, + loopouts_length_change_reducer_closure0: function loopouts_length_change_reducer_closure0(t0) { + this.action = t0; + }, + loopouts_length_change_reducer_closure1: function loopouts_length_change_reducer_closure1(t0) { + this.substrands = t0; + }, + extensions_num_bases_change_reducer_closure: function extensions_num_bases_change_reducer_closure(t0) { + this.action = t0; + }, + extensions_num_bases_change_reducer_closure0: function extensions_num_bases_change_reducer_closure0(t0) { + this.substrands = t0; + }, + loopout_length_change_reducer_closure: function loopout_length_change_reducer_closure(t0) { + this.action = t0; + }, + loopout_length_change_reducer_closure0: function loopout_length_change_reducer_closure0(t0) { + this.substrands_builder = t0; + }, + extension_num_bases_change_reducer_closure: function extension_num_bases_change_reducer_closure(t0) { + this.action = t0; + }, + extension_num_bases_change_reducer_closure0: function extension_num_bases_change_reducer_closure0(t0) { + this.substrands_builder = t0; + }, + extension_display_length_angle_change_reducer_closure: function extension_display_length_angle_change_reducer_closure(t0) { + this.action = t0; + }, + extension_display_length_angle_change_reducer_closure0: function extension_display_length_angle_change_reducer_closure0(t0) { + this.substrands_builder = t0; + }, + copy_selected_strands_reducer: function(_, __, ___) { + type$.legacy_CopyInfo._as(_); + type$.legacy_AppState._as(__); + type$.legacy_CopySelectedStrands._as(___); + return null; + }, + manual_paste_initiate_reducer: function(_, state, action) { + var strands_and_helices_view_order, strands, helices_view_order; + type$.legacy_CopyInfo._as(_); + type$.legacy_AppState._as(state); + strands_and_helices_view_order = X.parse_strands_and_helices_view_order_from_clipboard(type$.legacy_ManualPasteInitiate._as(action).clipboard_content); + if (strands_and_helices_view_order == null) + return null; + strands = strands_and_helices_view_order.item1; + helices_view_order = strands_and_helices_view_order.item2; + if (J.get$isEmpty$asx(strands)) + return null; + if (helices_view_order == null) + return null; + return X.strands_copy_info_from_strand_list(state, strands, helices_view_order); + }, + autopaste_initiate_reducer: function(copy_info, state, action) { + var strands_and_helices_view_order, strands, helices_view_order; + type$.legacy_CopyInfo._as(copy_info); + type$.legacy_AppState._as(state); + strands_and_helices_view_order = X.parse_strands_and_helices_view_order_from_clipboard(type$.legacy_AutoPasteInitiate._as(action).clipboard_content); + if (strands_and_helices_view_order == null) + return null; + strands = strands_and_helices_view_order.item1; + helices_view_order = strands_and_helices_view_order.item2; + if (J.get$isEmpty$asx(strands)) + return null; + if (helices_view_order == null) + return null; + return copy_info == null || copy_info.translation == null ? X.strands_copy_info_from_strand_list(state, strands, helices_view_order) : copy_info; + }, + parse_strands_and_helices_view_order_from_clipboard: function(clipboard_content) { + var mod_jsons, mod_key, mod, strand_json, strand, exception, t1, helices_view_order_json, t2, t3, helices_view_order, mods, t4, strand_jsons, strands, t5, t6, t7, modifications_int, mod_json, t8, t9, t10, _null = null, + _s22_ = "internal_modifications", + error_msg = 'no strand info found on system clipboard, so nothing to paste; content of system clipboard: "' + clipboard_content + '"', + clipboard_json = null; + try { + clipboard_json = type$.legacy_Map_of_legacy_String_and_dynamic._as(C.C_JsonCodec.decode$2$reviver(0, clipboard_content, _null)); + } catch (exception) { + t1 = H.unwrapException(exception); + if (type$.legacy_Exception._is(t1)) { + P.print(error_msg); + return _null; + } else if (type$.legacy_Error._is(t1)) { + P.print(error_msg); + return _null; + } else + throw exception; + } + t1 = type$.legacy_List_dynamic; + helices_view_order_json = t1._as(J.$index$asx(clipboard_json, "helices_view_order")); + if (helices_view_order_json != null) { + t2 = H.setRuntimeTypeInfo([], type$.JSArray_legacy_int); + for (t3 = J.get$iterator$ax(helices_view_order_json); t3.moveNext$0();) + t2.push(H._asIntS(t3.get$current(t3))); + helices_view_order = t2; + } else + helices_view_order = _null; + t2 = type$.legacy_Map_dynamic_dynamic; + mod_jsons = t2._as(J.$index$asx(J.$index$asx(clipboard_json, "modifications_in_design"), 0)); + mods = P.LinkedHashMap_LinkedHashMap$_empty(type$.legacy_String, type$.legacy_Modification); + for (t3 = J.get$iterator$ax(J.get$keys$x(mod_jsons)), t4 = type$.legacy_Map_of_legacy_String_and_dynamic; t3.moveNext$0();) { + mod_key = t3.get$current(t3); + mod = null; + try { + mod = Z.Modification_from_json(t4._as(J.$index$asx(mod_jsons, mod_key))); + } catch (exception) { + t1 = H.unwrapException(exception); + if (type$.legacy_Exception._is(t1)) { + H.printString(H.S(J.toString$0$(error_msg))); + return _null; + } else if (type$.legacy_Error._is(t1)) { + H.printString(H.S(J.toString$0$(error_msg))); + return _null; + } else + throw exception; + } + mods.$indexSet(0, H._asStringS(mod_key), mod); + } + strand_jsons = t1._as(J.$index$asx(clipboard_json, "strands")); + strands = H.setRuntimeTypeInfo([], type$.JSArray_legacy_Strand); + for (t1 = J.get$iterator$ax(strand_jsons), t3 = type$.legacy_void_Function_legacy_StrandBuilder, t5 = type$.legacy_Strand, t6 = type$.legacy_int, t7 = type$.legacy_ModificationInternal; t1.moveNext$0();) { + strand_json = t1.get$current(t1); + strand = null; + try { + strand = E.Strand_from_json(t4._as(strand_json)); + } catch (exception) { + t1 = H.unwrapException(exception); + if (type$.legacy_Exception._is(t1)) { + H.printString(H.S(J.toString$0$(error_msg))); + return _null; + } else if (type$.legacy_Error._is(t1)) { + H.printString(H.S(J.toString$0$(error_msg))); + return _null; + } else + throw exception; + } + modifications_int = P.LinkedHashMap_LinkedHashMap$_empty(t6, t7); + if (J.$index$asx(strand_json, _s22_) != null) { + mod_json = t2._as(J.$index$asx(strand_json, _s22_)); + for (t8 = J.getInterceptor$x(mod_json), t9 = J.get$iterator$ax(t8.get$keys(mod_json)); t9.moveNext$0();) { + t10 = H._asStringS(t9.get$current(t9)); + modifications_int.$indexSet(0, P.int_parse(t10, _null), t7._as(mods.$index(0, t8.$index(mod_json, t10)))); + } + } + t8 = strand; + t8.toString; + t9 = t3._as(new X.parse_strands_and_helices_view_order_from_clipboard_closure(mods, strand_json, modifications_int)); + t10 = new E.StrandBuilder(); + t5._as(t8); + t10._strand$_$v = t8; + t9.call$1(t10); + strand = t10.build$0(); + C.JSArray_methods.add$1(strands, strand); + } + return new S.Tuple2(strands, helices_view_order, type$.Tuple2_of_legacy_List_legacy_Strand_and_legacy_List_legacy_int); + }, + strands_copy_info_from_strand_list: function(state, selected_strands, helices_view_order) { + var helices_view_order_inverse, min_forward, min_offset, extreme_helix_idx, extreme_helix_view_order, t2, t3, extreme_helix_idx0, helix_view_order, t4, helix_is_more_extreme, original_address, next_address, translation, _null = null, + t1 = J.getInterceptor$asx(selected_strands); + if (t1.get$isEmpty(selected_strands)) + return _null; + helices_view_order_inverse = E.invert_helices_view_order(helices_view_order); + for (t1 = t1.get$iterator(selected_strands), min_forward = _null, min_offset = min_forward, extreme_helix_idx = min_offset, extreme_helix_view_order = extreme_helix_idx; t1.moveNext$0();) { + t2 = t1.get$current(t1); + t3 = t2.__domains; + if (t3 == null) { + t3 = E.Strand.prototype.get$domains.call(t2); + t2.set$__domains(t3); + t2 = t3; + } else + t2 = t3; + t2 = J.get$iterator$ax(t2._list); + for (; t2.moveNext$0();) { + t3 = t2.get$current(t2); + extreme_helix_idx0 = t3.helix; + helix_view_order = helices_view_order_inverse.$index(0, extreme_helix_idx0); + if (extreme_helix_view_order != null) + if (state.ui_state.storables.invert_y) { + if (typeof helix_view_order !== "number") + return H.iae(helix_view_order); + t4 = extreme_helix_view_order < helix_view_order; + helix_is_more_extreme = t4; + } else { + if (typeof helix_view_order !== "number") + return H.iae(helix_view_order); + t4 = extreme_helix_view_order > helix_view_order; + helix_is_more_extreme = t4; + } + else + helix_is_more_extreme = true; + if (helix_is_more_extreme) { + min_offset = t3.start; + min_forward = t3.forward; + extreme_helix_idx = extreme_helix_idx0; + extreme_helix_view_order = helix_view_order; + } else { + if (min_offset != null) + t4 = extreme_helix_view_order == helix_view_order && min_offset > t3.start; + else + t4 = true; + if (t4) { + min_offset = t3.start; + min_forward = t3.forward; + } + } + } + } + original_address = Z._$Address$_(min_forward, extreme_helix_idx, min_offset); + next_address = X.compute_default_next_address(selected_strands, state.design, original_address, helices_view_order, helices_view_order_inverse); + if (next_address == null) + translation = _null; + else { + t1 = type$.legacy_int; + translation = next_address.difference$2(original_address, A.BuiltMap_BuiltMap$of(helices_view_order_inverse, t1, t1)); + } + t1 = D.BuiltList_BuiltList$of(selected_strands, type$.legacy_Strand); + t2 = type$.legacy_int; + return B.CopyInfo_CopyInfo(original_address, D.BuiltList_BuiltList$of(helices_view_order, t2), A.BuiltMap_BuiltMap$of(helices_view_order_inverse, t2, t2), t1, translation); + }, + compute_default_next_address: function(selected_strands, design, start_address, helices_view_order, helices_view_order_inverse) { + var t1, group_name, group, t2, t3, t4, t5, t6, strands_move, translation_helix_order, strands_move_beneath, next_helix_idx, t7, t8, start_helix, strands_move_right, _null = null, _box_0 = {}, + group_names = design.group_names_of_strands$1(selected_strands); + if (group_names == null) + return _null; + t1 = group_names._set; + if (t1.get$length(t1) !== 1) + return _null; + group_name = t1.get$first(t1); + t1 = design.groups; + group = J.$index$asx(t1._map$_map, group_name); + t2 = J.getInterceptor$ax(helices_view_order); + if (!t2.toSet$0(helices_view_order).containsAll$1(group.helices_view_order)) + return _null; + t3 = design.strands; + t4 = D.BuiltList_BuiltList$of(selected_strands, type$.legacy_Strand); + t5 = design.helices; + t6 = type$.legacy_int; + strands_move = U.StrandsMove_StrandsMove(t3, true, t1, t5, true, start_address, A.BuiltMap_BuiltMap$of(helices_view_order_inverse, t6, t6), t4); + t4 = start_address.helix_idx; + t6 = helices_view_order_inverse.$index(0, t4); + if (typeof t6 !== "number") + return t6.$add(); + translation_helix_order = t6 + 1; + t1 = type$.legacy_void_Function_legacy_StrandsMoveBuilder; + t3 = type$.legacy_void_Function_legacy_AddressBuilder; + strands_move_beneath = strands_move; + while (true) { + t6 = t2.get$length(helices_view_order); + if (typeof t6 !== "number") + return H.iae(t6); + if (!(translation_helix_order < t6)) + break; + next_helix_idx = t2.$index(helices_view_order, translation_helix_order); + t6 = strands_move_beneath.current_address; + t7 = t3._as(new X.compute_default_next_address_closure(next_helix_idx)); + t8 = new Z.AddressBuilder(); + t8._address$_$v = t6; + t7.call$1(t8); + t6 = t1._as(new X.compute_default_next_address_closure0(t8.build$0())); + t7 = new U.StrandsMoveBuilder(); + t7._strands_move$_$v = strands_move_beneath; + t6.call$1(t7); + strands_move_beneath = t7.build$0(); + if (D.in_bounds(design, strands_move_beneath, _null)) + if (D.is_allowable(design, strands_move_beneath, _null)) + return strands_move_beneath.current_address; + ++translation_helix_order; + } + start_helix = J.$index$asx(t5._map$_map, t4); + t2 = start_address.offset; + if (typeof t2 !== "number") + return t2.$add(); + t2 = _box_0.offset = t2 + 1; + for (t4 = start_helix.max_offset, strands_move_right = strands_move; t2 < t4;) { + t2 = strands_move_right.current_address; + t5 = t3._as(new X.compute_default_next_address_closure1(_box_0)); + t6 = new Z.AddressBuilder(); + t6._address$_$v = t2; + t5.call$1(t6); + t2 = t1._as(new X.compute_default_next_address_closure2(t6.build$0())); + t5 = new U.StrandsMoveBuilder(); + t5._strands_move$_$v = strands_move_right; + t2.call$1(t5); + strands_move_right = t5.build$0(); + if (D.in_bounds(design, strands_move_right, _null)) + if (D.is_allowable(design, strands_move_right, _null)) + return strands_move_right.current_address; + t2 = ++_box_0.offset; + } + return _null; + }, + manual_paste_copy_info_reducer: function(copy_info, state, action) { + var t1, current_address, t2, t3; + type$.legacy_CopyInfo._as(copy_info); + type$.legacy_AppState._as(state); + type$.legacy_StrandsMoveCommit._as(action); + t1 = action.strands_move; + if (t1.copy) { + current_address = t1.current_address; + t2 = t1.groups; + t3 = J.$index$asx(t1.helices._map$_map, current_address.helix_idx).group; + if (J.$index$asx(t2._map$_map, t3).get$helices_view_order_inverse().$eq(0, t1.original_helices_view_order_inverse) && !action.autopaste && !current_address.$eq(0, copy_info.copied_address)) + copy_info = copy_info.rebuild$1(new X.manual_paste_copy_info_reducer_closure(current_address.difference$2(copy_info.copied_address, copy_info.helices_view_order_inverse))); + copy_info = copy_info.rebuild$1(new X.manual_paste_copy_info_reducer_closure0(current_address)); + } + return copy_info; + }, + parse_strands_and_helices_view_order_from_clipboard_closure: function parse_strands_and_helices_view_order_from_clipboard_closure(t0, t1, t2) { + this.mods = t0; + this.strand_json = t1; + this.modifications_int = t2; + }, + compute_default_next_address_closure: function compute_default_next_address_closure(t0) { + this.next_helix_idx = t0; + }, + compute_default_next_address_closure0: function compute_default_next_address_closure0(t0) { + this.next_address = t0; + }, + compute_default_next_address_closure1: function compute_default_next_address_closure1(t0) { + this._box_0 = t0; + }, + compute_default_next_address_closure2: function compute_default_next_address_closure2(t0) { + this.next_address = t0; + }, + manual_paste_copy_info_reducer_closure: function manual_paste_copy_info_reducer_closure(t0) { + this.translation = t0; + }, + manual_paste_copy_info_reducer_closure0: function manual_paste_copy_info_reducer_closure0(t0) { + this.current_address = t0; + }, + TypedGlobalReducer$: function(reducer, LocalState, GlobalState, Action) { + return new X.TypedGlobalReducer(reducer, LocalState._eval$1("@<0>")._bind$1(GlobalState)._bind$1(Action)._eval$1("TypedGlobalReducer<1,2,3>")); + }, + combineGlobalReducers: function(reducers, LocalState, GlobalState) { + return new X.combineGlobalReducers_closure(reducers, LocalState, GlobalState); + }, + TypedGlobalReducer: function TypedGlobalReducer(t0, t1) { + this.reducer = t0; + this.$ti = t1; + }, + combineGlobalReducers_closure: function combineGlobalReducers_closure(t0, t1, t2) { + this.reducers = t0; + this.LocalState = t1; + this.GlobalState = t2; + }, + DNAAssignOptions_DNAAssignOptions: function(assign_complements, disable_change_sequence_bound_strand, dna_sequence, m13_rotation, use_predefined_dna_sequence) { + var t1 = new X.DNAAssignOptionsBuilder(); + X.DNAAssignOptions__initializeBuilder(t1); + type$.legacy_void_Function_legacy_DNAAssignOptionsBuilder._as(new X.DNAAssignOptions_DNAAssignOptions_closure(dna_sequence, use_predefined_dna_sequence, assign_complements, disable_change_sequence_bound_strand, m13_rotation)).call$1(t1); + return t1.build$0(); + }, + DNAAssignOptions__initializeBuilder: function(b) { + b.get$_dna_assign_options$_$this()._dna_assign_options$_dna_sequence = null; + b.get$_dna_assign_options$_$this()._use_predefined_dna_sequence = false; + b.get$_dna_assign_options$_$this()._assign_complements = true; + b.get$_dna_assign_options$_$this()._disable_change_sequence_bound_strand = true; + b.get$_dna_assign_options$_$this()._m13_rotation = 5587; + }, + DNAAssignOptionsBuilder$: function() { + var t1 = new X.DNAAssignOptionsBuilder(); + t1.get$_dna_assign_options$_$this()._dna_assign_options$_dna_sequence = null; + t1.get$_dna_assign_options$_$this()._use_predefined_dna_sequence = false; + t1.get$_dna_assign_options$_$this()._assign_complements = true; + t1.get$_dna_assign_options$_$this()._disable_change_sequence_bound_strand = true; + t1.get$_dna_assign_options$_$this()._m13_rotation = 5587; + return t1; + }, + DNAAssignOptions: function DNAAssignOptions() { + }, + DNAAssignOptions_DNAAssignOptions_closure: function DNAAssignOptions_DNAAssignOptions_closure(t0, t1, t2, t3, t4) { + var _ = this; + _.dna_sequence = t0; + _.use_predefined_dna_sequence = t1; + _.assign_complements = t2; + _.disable_change_sequence_bound_strand = t3; + _.m13_rotation = t4; + }, + _$DNAAssignOptionsSerializer: function _$DNAAssignOptionsSerializer() { + }, + _$DNAAssignOptions: function _$DNAAssignOptions(t0, t1, t2, t3, t4) { + var _ = this; + _.dna_sequence = t0; + _.use_predefined_dna_sequence = t1; + _.assign_complements = t2; + _.disable_change_sequence_bound_strand = t3; + _.m13_rotation = t4; + _._dna_assign_options$__hashCode = null; + }, + DNAAssignOptionsBuilder: function DNAAssignOptionsBuilder() { + var _ = this; + _._m13_rotation = _._disable_change_sequence_bound_strand = _._assign_complements = _._use_predefined_dna_sequence = _._dna_assign_options$_dna_sequence = _._dna_assign_options$_$v = null; + }, + _DNAAssignOptions_Object_BuiltJsonSerializable: function _DNAAssignOptions_Object_BuiltJsonSerializable() { + }, + Position3D_Position3D$from_json: function(map) { + var origin, + t1 = J.getInterceptor$x(map); + if (t1.containsKey$1(map, "x") && t1.containsKey$1(map, "y") && t1.containsKey$1(map, "z")) + return X.Position3D_Position3D(H._asNumS(t1.$index(map, "x")), H._asNumS(t1.$index(map, "y")), H._asNumS(t1.$index(map, "z"))); + else if (t1.containsKey$1(map, "origin")) { + origin = t1.$index(map, "origin"); + t1 = J.getInterceptor$asx(origin); + return X.Position3D_Position3D(H._asNumS(t1.$index(origin, "x")), H._asNumS(t1.$index(origin, "y")), H._asNumS(t1.$index(origin, "z"))); + } else + return null; + }, + Position3D_Position3D: function(x, y, z) { + var t1 = new X.Position3DBuilder(); + type$.legacy_void_Function_legacy_Position3DBuilder._as(new X.Position3D_Position3D_closure(x, y, z)).call$1(t1); + return t1.build$0(); + }, + Position3D: function Position3D() { + }, + Position3D_Position3D_closure: function Position3D_Position3D_closure(t0, t1, t2) { + this.x = t0; + this.y = t1; + this.z = t2; + }, + _$Position3DSerializer: function _$Position3DSerializer() { + }, + _$Position3D: function _$Position3D(t0, t1, t2) { + var _ = this; + _.x = t0; + _.y = t1; + _.z = t2; + _._position3d$__hashCode = null; + }, + Position3DBuilder: function Position3DBuilder() { + var _ = this; + _._z = _._y = _._x = _._position3d$_$v = null; + }, + _Position3D_Object_BuiltJsonSerializable: function _Position3D_Object_BuiltJsonSerializable() { + }, + send_error: function(escaped_error_message) { + var $async$goto = 0, + $async$completer = P._makeAsyncAwaitCompleter(type$.dynamic), + t1, t2; + var $async$send_error = P._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { + if ($async$errorCode === 1) + return P._asyncRethrow($async$result, $async$completer); + while (true) + switch ($async$goto) { + case 0: + // Function start + $.app.dispatch$1(U.ErrorMessageSet_ErrorMessageSet(escaped_error_message)); + $.app.dispatch$1(new U._$LoadingDialogHide()); + t1 = $.app; + t2 = t1.view.design_view; + t1 = t1.store; + t2.render$1(0, t1.get$state(t1)); + // implicit return + return P._asyncReturn(null, $async$completer); + } + }); + return P._asyncStartSync($async$send_error, $async$completer); + }, + _$DesignMainErrorBoundary: function(backingProps) { + type$.legacy_Map_dynamic_dynamic._as(backingProps); + return backingProps == null ? X._$$DesignMainErrorBoundaryProps$JsMap$(new L.JsBackedMap({})) : X._$$DesignMainErrorBoundaryProps__$$DesignMainErrorBoundaryProps(backingProps); + }, + _$$DesignMainErrorBoundaryProps__$$DesignMainErrorBoundaryProps: function(backingMap) { + var t1, _null = null; + if (backingMap instanceof L.JsBackedMap) + return X._$$DesignMainErrorBoundaryProps$JsMap$(backingMap); + else { + t1 = type$.dynamic; + t1 = new X._$$DesignMainErrorBoundaryProps$PlainMap(P.LinkedHashMap_LinkedHashMap$_empty(t1, t1), _null, _null, _null, _null, _null, _null, _null, _null, _null); + t1.get$$$isClassGenerated(); + t1._design_main_error_boundary$_props = backingMap; + return t1; + } + }, + _$$DesignMainErrorBoundaryProps$JsMap$: function(backingMap) { + var _null = null, + t1 = new X._$$DesignMainErrorBoundaryProps$JsMap(new L.JsBackedMap({}), _null, _null, _null, _null, _null, _null, _null, _null, _null); + t1.get$$$isClassGenerated(); + t1._design_main_error_boundary$_props = backingMap == null ? new L.JsBackedMap({}) : backingMap; + return t1; + }, + _$$DesignMainErrorBoundaryState$JsMap$: function(backingMap) { + var t1 = new X._$$DesignMainErrorBoundaryState$JsMap(new L.JsBackedMap({}), null, null, null); + t1.get$$$isClassGenerated(); + t1._design_main_error_boundary$_state = backingMap; + return t1; + }, + DesignMainErrorBoundaryStateMixin: function DesignMainErrorBoundaryStateMixin() { + }, + DesignMainErrorBoundaryComponent: function DesignMainErrorBoundaryComponent() { + }, + $DesignMainErrorBoundaryComponentFactory_closure: function $DesignMainErrorBoundaryComponentFactory_closure() { + }, + _$$DesignMainErrorBoundaryProps: function _$$DesignMainErrorBoundaryProps() { + }, + _$$DesignMainErrorBoundaryProps$PlainMap: function _$$DesignMainErrorBoundaryProps$PlainMap(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9) { + var _ = this; + _._design_main_error_boundary$_props = t0; + _.ErrorBoundaryProps_onComponentDidCatch = t1; + _.ErrorBoundaryProps_onComponentIsUnrecoverable = t2; + _.ErrorBoundaryProps_fallbackUIRenderer = t3; + _.ErrorBoundaryProps_identicalErrorFrequencyTolerance = t4; + _.ErrorBoundaryProps_loggerName = t5; + _.ErrorBoundaryProps_shouldLogErrors = t6; + _.ErrorBoundaryProps_logger = t7; + _.componentFactory = null; + _.UbiquitousDomPropsMixin__aria = t8; + _.UbiquitousDomPropsMixin__dom = t9; + }, + _$$DesignMainErrorBoundaryProps$JsMap: function _$$DesignMainErrorBoundaryProps$JsMap(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9) { + var _ = this; + _._design_main_error_boundary$_props = t0; + _.ErrorBoundaryProps_onComponentDidCatch = t1; + _.ErrorBoundaryProps_onComponentIsUnrecoverable = t2; + _.ErrorBoundaryProps_fallbackUIRenderer = t3; + _.ErrorBoundaryProps_identicalErrorFrequencyTolerance = t4; + _.ErrorBoundaryProps_loggerName = t5; + _.ErrorBoundaryProps_shouldLogErrors = t6; + _.ErrorBoundaryProps_logger = t7; + _.componentFactory = null; + _.UbiquitousDomPropsMixin__aria = t8; + _.UbiquitousDomPropsMixin__dom = t9; + }, + _$$DesignMainErrorBoundaryState: function _$$DesignMainErrorBoundaryState() { + }, + _$$DesignMainErrorBoundaryState$JsMap: function _$$DesignMainErrorBoundaryState$JsMap(t0, t1, t2, t3) { + var _ = this; + _._design_main_error_boundary$_state = t0; + _.DesignMainErrorBoundaryStateMixin_error = t1; + _.ErrorBoundaryState_hasError = t2; + _.ErrorBoundaryState_showFallbackUIOnError = t3; + }, + _$DesignMainErrorBoundaryComponent: function _$DesignMainErrorBoundaryComponent(t0) { + var _ = this; + _._cachedTypedState = _._design_main_error_boundary$_cachedTypedProps = null; + _.DisposableManagerProxy__disposableProxy = t0; + _.jsThis = _.state = _.props = null; + }, + $DesignMainErrorBoundaryStateMixin: function $DesignMainErrorBoundaryStateMixin() { + }, + _DesignMainErrorBoundaryComponent_UiStatefulComponent2_ErrorBoundaryApi: function _DesignMainErrorBoundaryComponent_UiStatefulComponent2_ErrorBoundaryApi() { + }, + __$$DesignMainErrorBoundaryProps_UiProps_ErrorBoundaryProps: function __$$DesignMainErrorBoundaryProps_UiProps_ErrorBoundaryProps() { + }, + __$$DesignMainErrorBoundaryProps_UiProps_ErrorBoundaryProps_$ErrorBoundaryProps: function __$$DesignMainErrorBoundaryProps_UiProps_ErrorBoundaryProps_$ErrorBoundaryProps() { + }, + __$$DesignMainErrorBoundaryState_UiState_ErrorBoundaryState: function __$$DesignMainErrorBoundaryState_UiState_ErrorBoundaryState() { + }, + __$$DesignMainErrorBoundaryState_UiState_ErrorBoundaryState_$ErrorBoundaryState: function __$$DesignMainErrorBoundaryState_UiState_ErrorBoundaryState_$ErrorBoundaryState() { + }, + __$$DesignMainErrorBoundaryState_UiState_ErrorBoundaryState_$ErrorBoundaryState_DesignMainErrorBoundaryStateMixin: function __$$DesignMainErrorBoundaryState_UiState_ErrorBoundaryState_$ErrorBoundaryState_DesignMainErrorBoundaryStateMixin() { + }, + __$$DesignMainErrorBoundaryState_UiState_ErrorBoundaryState_$ErrorBoundaryState_DesignMainErrorBoundaryStateMixin_$DesignMainErrorBoundaryStateMixin: function __$$DesignMainErrorBoundaryState_UiState_ErrorBoundaryState_$ErrorBoundaryState_DesignMainErrorBoundaryStateMixin_$DesignMainErrorBoundaryStateMixin() { + }, + ask_for_add_modification: function(strand, substrand, address, type) { + var $async$goto = 0, + $async$completer = P._makeAsyncAwaitCompleter(type$.void), + $async$returnValue, selected_index, strand_dna_idx, items, t1, t2, last_mod, initial_display_text, initial_vendor_code, initial_connector_length, t3, t4, results, display_text, vendor_code, t5, connector_length, index_of_dna_base, attached_to_base, allowed_bases_str, mod, i, allowed_bases, action, ends_selected, all_actions, _i, end_selected, t6; + var $async$ask_for_add_modification = P._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { + if ($async$errorCode === 1) + return P._asyncRethrow($async$result, $async$completer); + while (true) + switch ($async$goto) { + case 0: + // Function start + if (type === C.ModificationType_five_prime) + selected_index = 1; + else + selected_index = type === C.ModificationType_three_prime ? 0 : 2; + strand_dna_idx = address != null ? M.clicked_strand_dna_idx(type$.legacy_Domain._as(substrand), address, strand) : 0; + items = P.List_List$filled(7, null, false, type$.legacy_DialogItem); + t1 = type$.legacy_String; + C.JSArray_methods.$indexSet(items, 0, E.DialogRadio_DialogRadio("modification type", null, P.LinkedHashSet_LinkedHashSet$_literal(["3'", "5'", "internal"], t1), true, selected_index, null)); + if (selected_index === 0) { + t2 = $.app.store; + last_mod = t2.get$state(t2).ui_state.last_mod_3p; + } else if (selected_index === 1) { + t2 = $.app.store; + last_mod = t2.get$state(t2).ui_state.last_mod_5p; + } else if (selected_index === 2) { + t2 = $.app.store; + last_mod = t2.get$state(t2).ui_state.last_mod_int; + } else + throw H.wrapException(P.AssertionError$("should be unreachable")); + if (last_mod != null) { + initial_display_text = last_mod.get$display_text(); + initial_vendor_code = last_mod.get$vendor_code(); + initial_connector_length = last_mod.get$connector_length(); + } else { + initial_display_text = ""; + initial_vendor_code = ""; + initial_connector_length = 4; + } + C.JSArray_methods.$indexSet(items, 1, E.DialogText_DialogText("display text", string$.This_it, initial_display_text)); + C.JSArray_methods.$indexSet(items, 2, E.DialogText_DialogText("vendor code", string$.This_i_, initial_vendor_code)); + C.JSArray_methods.$indexSet(items, 3, E.DialogInteger_DialogInteger("connector length", string$.The_nu, initial_connector_length)); + C.JSArray_methods.$indexSet(items, 4, E.DialogInteger_DialogInteger("index of DNA base", "The index of the DNA base at which to attach an internal modification.", strand_dna_idx)); + C.JSArray_methods.$indexSet(items, 5, E.DialogCheckbox_DialogCheckbox("attached to base?", string$.If_che, true)); + C.JSArray_methods.$indexSet(items, 6, E.DialogText_DialogText("allowed bases", string$.For_in, "ACGT")); + t2 = type$.JSArray_legacy_String; + t3 = type$.legacy_int; + t4 = type$.legacy_Iterable_legacy_String; + t4 = P.LinkedHashMap_LinkedHashMap$_literal([4, P.LinkedHashMap_LinkedHashMap$_literal([0, H.setRuntimeTypeInfo(["3'", "5'"], t2)], t3, t4), 5, P.LinkedHashMap_LinkedHashMap$_literal([0, H.setRuntimeTypeInfo(["3'", "5'"], t2)], t3, t4), 6, P.LinkedHashMap_LinkedHashMap$_literal([0, H.setRuntimeTypeInfo(["3'", "5'"], t2)], t3, t4)], t3, type$.legacy_Map_of_legacy_int_and_legacy_Iterable_legacy_String); + $async$goto = 3; + return P._asyncAwait(E.dialog(E.Dialog_Dialog(C.Set_empty, P.LinkedHashMap_LinkedHashMap$_literal([6, H.setRuntimeTypeInfo([5], type$.JSArray_legacy_int)], t3, type$.legacy_Iterable_legacy_int), C.Map_empty2, t4, items, C.List_empty1, E.dialog_Dialog_identity_function$closure(), "add modification", C.DialogType_add_modification, false)), $async$ask_for_add_modification); + case 3: + // returning from await. + results = $async$result; + if (results == null) { + // goto return + $async$goto = 1; + break; + } + t2 = J.getInterceptor$asx(results); + t3 = type$.legacy_DialogRadio._as(t2.$index(results, 0)); + t4 = t3.options; + t3 = t3.selected_idx; + t3 = J.$index$asx(t4._list, t3); + t4 = type$.legacy_DialogText; + display_text = t4._as(t2.$index(results, 1)).value; + vendor_code = t4._as(t2.$index(results, 2)).value; + t5 = type$.legacy_DialogInteger; + connector_length = H._asIntS(t5._as(t2.$index(results, 3)).value); + index_of_dna_base = H._asIntS(t5._as(t2.$index(results, 4)).value); + attached_to_base = type$.legacy_DialogCheckbox._as(t2.$index(results, 5)).value; + allowed_bases_str = t4._as(t2.$index(results, 6)).value; + if (t3 === "3'") + mod = Z.Modification3Prime_Modification3Prime(connector_length, display_text, null, vendor_code); + else if (t3 === "5'") + mod = Z.Modification5Prime_Modification5Prime(connector_length, display_text, null, vendor_code); + else { + if (attached_to_base) { + t2 = P.RegExp_RegExp("[^(ACGTacgt)]", true); + allowed_bases_str = H.stringReplaceAllUnchecked(allowed_bases_str, t2, ""); + t2 = P.LinkedHashSet_LinkedHashSet$_empty(t1); + for (t3 = allowed_bases_str.length, i = 0; i < t3; ++i) + t2.add$1(0, allowed_bases_str[i].toUpperCase()); + allowed_bases = X._BuiltSet$of(t2, t1); + } else + allowed_bases = null; + mod = Z.ModificationInternal_ModificationInternal(type$.legacy_BuiltSet_legacy_String._as(allowed_bases), connector_length, display_text, null, vendor_code); + } + if (mod instanceof Z.ModificationInternal) + action = U._$ModificationAdd$_(mod, strand, index_of_dna_base); + else { + t1 = $.app.store; + ends_selected = t1.get$state(t1).ui_state.selectables_store.get$selected_dna_ends()._set.toList$1$growable(0, true); + if (mod instanceof Z.Modification5Prime && !C.JSArray_methods.contains$1(ends_selected, strand.get$dnaend_5p())) + C.JSArray_methods.add$1(ends_selected, strand.get$dnaend_5p()); + else if (mod instanceof Z.Modification3Prime && !C.JSArray_methods.contains$1(ends_selected, strand.get$dnaend_3p())) + C.JSArray_methods.add$1(ends_selected, strand.get$dnaend_3p()); + t1 = ends_selected.length; + if (t1 === 1) + action = U._$ModificationAdd$_(mod, strand, index_of_dna_base); + else if (t1 > 1) { + all_actions = H.setRuntimeTypeInfo([], type$.JSArray_legacy_ModificationAdd); + for (t1 = ends_selected.length, t2 = type$.legacy_DNAEnd, t3 = mod == null, _i = 0; _i < ends_selected.length; ends_selected.length === t1 || (0, H.throwConcurrentModificationError)(ends_selected), ++_i) { + end_selected = ends_selected[_i]; + t4 = $.app.store; + t4 = t4.get$state(t4).design; + t4.toString; + t2._as(end_selected); + t5 = t4.__substrand_to_strand; + if (t5 == null) { + t5 = N.Design.prototype.get$substrand_to_strand.call(t4); + t4.set$__substrand_to_strand(t5); + } + t6 = t4.__end_to_domain; + if (t6 == null) { + t6 = N.Design.prototype.get$end_to_domain.call(t4); + t4.set$__end_to_domain(t6); + t4 = t6; + } else + t4 = t6; + t4 = J.$index$asx(t4._map$_map, end_selected); + t4 = J.$index$asx(t5._map$_map, t4); + if (t4 == null) + H.throwExpression(Y.BuiltValueNullFieldError$("ModificationAdd", "strand")); + if (t3) + H.throwExpression(Y.BuiltValueNullFieldError$("ModificationAdd", "modification")); + C.JSArray_methods.add$1(all_actions, new U._$ModificationAdd(t4, mod, null)); + } + action = U.BatchAction_BatchAction(all_actions, "add modifications"); + } else { + P.print(string$.WARNINs); + // goto return + $async$goto = 1; + break; + } + } + $.app.dispatch$1(action); + case 1: + // return + return P._asyncReturn($async$returnValue, $async$completer); + } + }); + return P._asyncStartSync($async$ask_for_add_modification, $async$completer); + }, + edit_modification: function(modification, selectable_modification, strand, dna_idx_mod) { + var $async$goto = 0, + $async$completer = P._makeAsyncAwaitCompleter(type$.dynamic), + $async$returnValue, t1, attached_to_base_old, t2, results, display_text, vendor_code, connector_length, new_mod, attached_to_base, allowed_bases_str, t3, i, allowed_bases, selectable_mods, action, is_internal, num_items, items; + var $async$edit_modification = P._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { + if ($async$errorCode === 1) + return P._asyncRethrow($async$result, $async$completer); + while (true) + switch ($async$goto) { + case 0: + // Function start + is_internal = modification instanceof Z.ModificationInternal; + num_items = is_internal ? 5 : 3; + items = P.List_List$filled(num_items, null, false, type$.legacy_DialogItem); + C.JSArray_methods.$indexSet(items, 0, E.DialogText_DialogText("display text", string$.This_it, modification.get$display_text())); + C.JSArray_methods.$indexSet(items, 1, E.DialogText_DialogText("vendor code", string$.This_i_, modification.get$vendor_code())); + C.JSArray_methods.$indexSet(items, 2, E.DialogInteger_DialogInteger("connector length", string$.The_nu, modification.get$connector_length())); + if (is_internal) { + t1 = modification.allowed_bases; + attached_to_base_old = t1 != null; + C.JSArray_methods.$indexSet(items, 3, E.DialogCheckbox_DialogCheckbox("attached to base?", string$.If_che, attached_to_base_old)); + C.JSArray_methods.$indexSet(items, 4, E.DialogText_DialogText("allowed bases", string$.For_in, attached_to_base_old ? t1._set.join$1(0, "") : "ACGT")); + } + t1 = type$.legacy_int; + t2 = type$.legacy_Iterable_legacy_int; + $async$goto = 3; + return P._asyncAwait(E.dialog(E.Dialog_Dialog(C.Set_empty, is_internal ? P.LinkedHashMap_LinkedHashMap$_literal([4, H.setRuntimeTypeInfo([3], type$.JSArray_legacy_int)], t1, t2) : P.LinkedHashMap_LinkedHashMap$_empty(t1, t2), C.Map_empty2, C.Map_empty3, items, C.List_empty1, E.dialog_Dialog_identity_function$closure(), "edit modification", C.DialogType_edit_modification, false)), $async$edit_modification); + case 3: + // returning from await. + results = $async$result; + if (results == null) { + // goto return + $async$goto = 1; + break; + } + t1 = J.getInterceptor$asx(results); + t2 = type$.legacy_DialogText; + display_text = t2._as(t1.$index(results, 0)).value; + vendor_code = t2._as(t1.$index(results, 1)).value; + connector_length = H._asIntS(type$.legacy_DialogInteger._as(t1.$index(results, 2)).value); + if (modification instanceof Z.Modification3Prime) + new_mod = Z.Modification3Prime_Modification3Prime(connector_length, display_text, null, vendor_code); + else if (modification instanceof Z.Modification5Prime) + new_mod = Z.Modification5Prime_Modification5Prime(connector_length, display_text, null, vendor_code); + else { + attached_to_base = type$.legacy_DialogCheckbox._as(t1.$index(results, 3)).value; + allowed_bases_str = t2._as(t1.$index(results, 4)).value; + if (attached_to_base) { + t1 = P.RegExp_RegExp("[^(ACGTacgt)]", true); + allowed_bases_str = H.stringReplaceAllUnchecked(allowed_bases_str, t1, ""); + t1 = type$.legacy_String; + t2 = P.LinkedHashSet_LinkedHashSet$_empty(t1); + for (t3 = allowed_bases_str.length, i = 0; i < t3; ++i) + t2.add$1(0, allowed_bases_str[i].toUpperCase()); + allowed_bases = X._BuiltSet$of(t2, t1); + } else + allowed_bases = null; + new_mod = Z.ModificationInternal_ModificationInternal(type$.legacy_BuiltSet_legacy_String._as(allowed_bases), connector_length, display_text, null, vendor_code); + } + t1 = $.app.store; + selectable_mods = t1.get$state(t1).ui_state.selectables_store.get$selected_modifications()._set.toList$1$growable(0, true); + if (!C.JSArray_methods.contains$1(selectable_mods, selectable_modification)) + C.JSArray_methods.add$1(selectable_mods, selectable_modification); + t1 = selectable_mods.length; + if (t1 === 1) + action = U._$ModificationEdit$_(new_mod, strand, dna_idx_mod); + else if (t1 > 1) + if (new_mod instanceof Z.Modification5Prime) { + t1 = H._arrayInstanceType(selectable_mods); + action = U.Modifications5PrimeEdit_Modifications5PrimeEdit(P.List_List$from(new H.WhereIterable(selectable_mods, t1._eval$1("bool(1)")._as(new X.edit_modification_closure()), t1._eval$1("WhereIterable<1>")), true, type$.legacy_SelectableModification5Prime), new_mod); + } else if (new_mod instanceof Z.Modification3Prime) { + t1 = H._arrayInstanceType(selectable_mods); + action = U.Modifications3PrimeEdit_Modifications3PrimeEdit(P.List_List$from(new H.WhereIterable(selectable_mods, t1._eval$1("bool(1)")._as(new X.edit_modification_closure0()), t1._eval$1("WhereIterable<1>")), true, type$.legacy_SelectableModification3Prime), new_mod); + } else if (new_mod instanceof Z.ModificationInternal) { + t1 = H._arrayInstanceType(selectable_mods); + action = U.ModificationsInternalEdit_ModificationsInternalEdit(P.List_List$from(new H.WhereIterable(selectable_mods, t1._eval$1("bool(1)")._as(new X.edit_modification_closure1()), t1._eval$1("WhereIterable<1>")), true, type$.legacy_SelectableModificationInternal), new_mod); + } else + action = null; + else { + P.print(string$.WARNINs); + // goto return + $async$goto = 1; + break; + } + $.app.dispatch$1(action); + case 1: + // return + return P._asyncReturn($async$returnValue, $async$completer); + } + }); + return P._asyncStartSync($async$edit_modification, $async$completer); + }, + _$DesignMainStrandModification: function(backingProps) { + type$.legacy_Map_dynamic_dynamic._as(backingProps); + return backingProps == null ? X._$$DesignMainStrandModificationProps$JsMap$(new L.JsBackedMap({})) : X._$$DesignMainStrandModificationProps__$$DesignMainStrandModificationProps(backingProps); + }, + _$$DesignMainStrandModificationProps__$$DesignMainStrandModificationProps: function(backingMap) { + var t1, _null = null; + if (backingMap instanceof L.JsBackedMap) + return X._$$DesignMainStrandModificationProps$JsMap$(backingMap); + else { + t1 = type$.dynamic; + t1 = new X._$$DesignMainStrandModificationProps$PlainMap(P.LinkedHashMap_LinkedHashMap$_empty(t1, t1), _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null); + t1.get$$$isClassGenerated(); + t1._design_main_strand_modification$_props = backingMap; + return t1; + } + }, + _$$DesignMainStrandModificationProps$JsMap$: function(backingMap) { + var _null = null, + t1 = new X._$$DesignMainStrandModificationProps$JsMap(new L.JsBackedMap({}), _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null); + t1.get$$$isClassGenerated(); + t1._design_main_strand_modification$_props = backingMap == null ? new L.JsBackedMap({}) : backingMap; + return t1; + }, + DesignMainStrandModificationProps: function DesignMainStrandModificationProps() { + }, + DesignMainStrandModificationComponent: function DesignMainStrandModificationComponent() { + }, + DesignMainStrandModificationComponent_render_closure: function DesignMainStrandModificationComponent_render_closure(t0) { + this.$this = t0; + }, + DesignMainStrandModificationComponent_render_closure0: function DesignMainStrandModificationComponent_render_closure0(t0) { + this.$this = t0; + }, + DesignMainStrandModificationComponent_context_menu_modification_closure: function DesignMainStrandModificationComponent_context_menu_modification_closure(t0) { + this.$this = t0; + }, + edit_modification_closure: function edit_modification_closure() { + }, + edit_modification_closure0: function edit_modification_closure0() { + }, + edit_modification_closure1: function edit_modification_closure1() { + }, + $DesignMainStrandModificationComponentFactory_closure: function $DesignMainStrandModificationComponentFactory_closure() { + }, + _$$DesignMainStrandModificationProps: function _$$DesignMainStrandModificationProps() { + }, + _$$DesignMainStrandModificationProps$PlainMap: function _$$DesignMainStrandModificationProps$PlainMap(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14) { + var _ = this; + _._design_main_strand_modification$_props = t0; + _.DesignMainStrandModificationProps_dna_idx_mod = t1; + _.DesignMainStrandModificationProps_helix = t2; + _.DesignMainStrandModificationProps_display_connector = t3; + _.DesignMainStrandModificationProps_font_size = t4; + _.DesignMainStrandModificationProps_invert_y = t5; + _.DesignMainStrandModificationProps_transform = t6; + _.DesignMainStrandModificationProps_geometry = t7; + _.DesignMainStrandModificationProps_selectable_modification = t8; + _.DesignMainStrandModificationProps_selected = t9; + _.DesignMainStrandModificationProps_helix_svg_position_y = t10; + _.DesignMainStrandModificationProps_ext = t11; + _.DesignMainStrandModificationProps_retain_strand_color_on_selection = t12; + _.componentFactory = null; + _.UbiquitousDomPropsMixin__aria = t13; + _.UbiquitousDomPropsMixin__dom = t14; + }, + _$$DesignMainStrandModificationProps$JsMap: function _$$DesignMainStrandModificationProps$JsMap(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14) { + var _ = this; + _._design_main_strand_modification$_props = t0; + _.DesignMainStrandModificationProps_dna_idx_mod = t1; + _.DesignMainStrandModificationProps_helix = t2; + _.DesignMainStrandModificationProps_display_connector = t3; + _.DesignMainStrandModificationProps_font_size = t4; + _.DesignMainStrandModificationProps_invert_y = t5; + _.DesignMainStrandModificationProps_transform = t6; + _.DesignMainStrandModificationProps_geometry = t7; + _.DesignMainStrandModificationProps_selectable_modification = t8; + _.DesignMainStrandModificationProps_selected = t9; + _.DesignMainStrandModificationProps_helix_svg_position_y = t10; + _.DesignMainStrandModificationProps_ext = t11; + _.DesignMainStrandModificationProps_retain_strand_color_on_selection = t12; + _.componentFactory = null; + _.UbiquitousDomPropsMixin__aria = t13; + _.UbiquitousDomPropsMixin__dom = t14; + }, + _$DesignMainStrandModificationComponent: function _$DesignMainStrandModificationComponent(t0) { + var _ = this; + _._design_main_strand_modification$_cachedTypedProps = null; + _.DisposableManagerProxy__disposableProxy = t0; + _.jsThis = _.state = _.props = null; + }, + $DesignMainStrandModificationProps: function $DesignMainStrandModificationProps() { + }, + __$$DesignMainStrandModificationProps_UiProps_DesignMainStrandModificationProps: function __$$DesignMainStrandModificationProps_UiProps_DesignMainStrandModificationProps() { + }, + __$$DesignMainStrandModificationProps_UiProps_DesignMainStrandModificationProps_$DesignMainStrandModificationProps: function __$$DesignMainStrandModificationProps_UiProps_DesignMainStrandModificationProps_$DesignMainStrandModificationProps() { + }, + SourceSpanWithContext$: function(start, end, text, _context) { + var t1 = new X.SourceSpanWithContext(_context, start, end, text); + t1.SourceSpanBase$3(start, end, text); + if (!C.JSString_methods.contains$1(_context, text)) + H.throwExpression(P.ArgumentError$('The context line "' + _context + '" must contain "' + text + '".')); + if (B.findLineStart(_context, text, start.get$column()) == null) + H.throwExpression(P.ArgumentError$('The span text "' + text + '" must start at column ' + (start.get$column() + 1) + ' in a line within "' + _context + '".')); + return t1; + }, + SourceSpanWithContext: function SourceSpanWithContext(t0, t1, t2, t3) { + var _ = this; + _._context = t0; + _.start = t1; + _.end = t2; + _.text = t3; + }, + StringScanner: function StringScanner(t0, t1) { + var _ = this; + _.sourceUrl = t0; + _.string = t1; + _._string_scanner$_position = 0; + _._lastMatchPosition = _._lastMatch = null; + }, + XmlHasName: function XmlHasName() { + }, + XmlWriter: function XmlWriter(t0, t1) { + this.buffer = t0; + this.entityMapping = t1; + }, + _XmlWriter_Object_XmlVisitor: function _XmlWriter_Object_XmlVisitor() { + }, + CRC32: function(crc, b) { + return (C.List_B8J[(crc ^ b) & 255] ^ crc >>> 8) >>> 0; + }, + getCrc32: function(array, crc) { + var ip, ip0, t2, + t1 = J.getInterceptor$asx(array), + len = t1.get$length(array); + crc ^= 4294967295; + ip = 0; + while (true) { + if (typeof len !== "number") + return len.$ge(); + if (!(len >= 8)) + break; + ip0 = ip + 1; + t2 = t1.$index(array, ip); + if (typeof t2 !== "number") + return H.iae(t2); + crc = C.List_B8J[(crc ^ t2) & 255] ^ crc >>> 8; + ip = ip0 + 1; + t2 = t1.$index(array, ip0); + if (typeof t2 !== "number") + return H.iae(t2); + crc = C.List_B8J[(crc ^ t2) & 255] ^ crc >>> 8; + ip0 = ip + 1; + t2 = t1.$index(array, ip); + if (typeof t2 !== "number") + return H.iae(t2); + crc = C.List_B8J[(crc ^ t2) & 255] ^ crc >>> 8; + ip = ip0 + 1; + t2 = t1.$index(array, ip0); + if (typeof t2 !== "number") + return H.iae(t2); + crc = C.List_B8J[(crc ^ t2) & 255] ^ crc >>> 8; + ip0 = ip + 1; + t2 = t1.$index(array, ip); + if (typeof t2 !== "number") + return H.iae(t2); + crc = C.List_B8J[(crc ^ t2) & 255] ^ crc >>> 8; + ip = ip0 + 1; + t2 = t1.$index(array, ip0); + if (typeof t2 !== "number") + return H.iae(t2); + crc = C.List_B8J[(crc ^ t2) & 255] ^ crc >>> 8; + ip0 = ip + 1; + t2 = t1.$index(array, ip); + if (typeof t2 !== "number") + return H.iae(t2); + crc = C.List_B8J[(crc ^ t2) & 255] ^ crc >>> 8; + ip = ip0 + 1; + t2 = t1.$index(array, ip0); + if (typeof t2 !== "number") + return H.iae(t2); + crc = C.List_B8J[(crc ^ t2) & 255] ^ crc >>> 8; + len -= 8; + } + if (len > 0) + do { + ip0 = ip + 1; + t2 = t1.$index(array, ip); + if (typeof t2 !== "number") + return H.iae(t2); + crc = C.List_B8J[(crc ^ t2) & 255] ^ crc >>> 8; + if (--len, len > 0) { + ip = ip0; + continue; + } else + break; + } while (true); + return (crc ^ 4294967295) >>> 0; + }, + toCharCode: function(element) { + var value; + if (typeof element == "number") + return C.JSNumber_methods.round$0(element); + value = J.toString$0$(element); + if (value.length !== 1) + throw H.wrapException(P.ArgumentError$('"' + H.S(value) + '" is not a character')); + return J._codeUnitAt$1$s(value, 0); + }, + _toFormattedChar: function(code) { + H._asIntS(code); + switch (code) { + case 8: + return "\\b"; + case 9: + return "\\t"; + case 10: + return "\\n"; + case 11: + return "\\v"; + case 12: + return "\\f"; + case 13: + return "\\r"; + case 34: + return '\\"'; + case 39: + return "\\'"; + case 92: + return "\\\\"; + } + if (typeof code !== "number") + return code.$lt(); + if (code < 32) + return "\\x" + C.JSString_methods.padLeft$2(C.JSInt_methods.toRadixString$1(code, 16), 2, "0"); + return H.Primitives_stringFromCharCode(code); + }, + assign_dna_middleware: function(store, action, next) { + var e, t1, exception; + type$.legacy_Store_legacy_AppState._as(store); + type$.legacy_dynamic_Function_dynamic._as(next); + if (action instanceof U.AssignDNA) { + t1 = action.dna_assign_options; + t1 = t1.assign_complements && t1.disable_change_sequence_bound_strand; + } else + t1 = false; + if (t1) + try { + R.assign_dna_reducer(store.get$state(store).design.strands, store.get$state(store), action); + } catch (exception) { + t1 = H.unwrapException(exception); + if (t1 instanceof P.ArgumentError) { + e = t1; + C.Window_methods.alert$1(window, H._asStringS(e.message)); + return; + } else + throw exception; + } + next.call$1(action); + }, + helix_grid_offsets_middleware: function(store, action, next) { + var t1, t2, geometry, t3, t4, t5, t6, t7, position_normalized_diameter_1, idxs, i1, i2, i20, h1idx, h2idx, gp1, pos1, pos2, msg; + type$.legacy_Store_legacy_AppState._as(store); + type$.legacy_dynamic_Function_dynamic._as(next); + if (action instanceof U.GridChange) { + t1 = action.grid; + t1.toString; + if (t1 !== C.Grid_none) { + t1 = store.get$state(store).design.groups; + t2 = action.group_name; + t2 = J.$index$asx(t1._map$_map, t2).grid === C.Grid_none; + t1 = t2; + } else + t1 = false; + } else + t1 = false; + if (t1) { + geometry = store.get$state(store).design.geometry; + t1 = type$.legacy_GridPosition; + t2 = P.LinkedHashMap_LinkedHashMap$_empty(type$.legacy_int, t1); + for (t3 = store.get$state(store).design.helices_in_group$1(action.group_name), t3 = J.get$iterator$ax(t3.get$values(t3)), t4 = action.grid; t3.moveNext$0();) { + t5 = t3.get$current(t3); + t6 = t5.idx; + t7 = t5.position_; + t5 = t7 == null ? E.grid_position_to_position3d(t5.grid_position, t5.grid, t5.geometry) : t7; + t7 = geometry.__distance_between_helices_nm; + t7 = 1 / (t7 == null ? geometry.__distance_between_helices_nm = N.Geometry.prototype.get$distance_between_helices_nm.call(geometry) : t7); + position_normalized_diameter_1 = X.Position3D_Position3D(t5.x * t7, t5.y * t7, t5.z * t7); + t2.$indexSet(0, t6, E.position_2d_to_grid_position_diameter_1_circles(t4, position_normalized_diameter_1.z, position_normalized_diameter_1.y, C.HexGridCoordinateSystem_2)); + } + if (P.LinkedHashSet_LinkedHashSet$from(t2.get$values(t2), t1)._collection$_length !== t2.get$length(t2)) { + t1 = t2.get$keys(t2); + idxs = P.List_List$of(t1, true, H._instanceType(t1)._eval$1("Iterable.E")); + for (i1 = 0; t1 = idxs.length, i1 < t1; i1 = i2) + for (i2 = i1 + 1, i20 = i2; i20 < t1; ++i20) { + h1idx = idxs[i1]; + h2idx = idxs[i20]; + gp1 = t2.$index(0, h1idx); + if (J.$eq$(gp1, t2.$index(0, h2idx))) { + t1 = store.get$state(store).design.helices._map$_map; + t2 = J.getInterceptor$asx(t1); + t3 = t2.$index(t1, h1idx); + pos1 = t3.__position3d; + if (pos1 == null) + pos1 = t3.__position3d = O.Helix.prototype.get$position3d.call(t3); + t1 = t2.$index(t1, h2idx); + pos2 = t1.__position3d; + if (pos2 == null) + pos2 = t1.__position3d = O.Helix.prototype.get$position3d.call(t1); + msg = "This design cannot be automatically converted to the " + t4.name + " grid.\nTwo helices, with idx values " + H.S(h1idx) + " and " + H.S(h2idx) + ", have positions that are\nboth closest to grid position (" + gp1.h + ", " + gp1.v + "). They have positions\n(" + H.S(pos1.x) + ", " + H.S(pos1.y) + ", " + H.S(pos1.z) + ") and \n(" + H.S(pos2.x) + ", " + H.S(pos2.y) + ", " + H.S(pos2.z) + "), respectively.\n"; + C.Window_methods.alert$1(window, msg); + return; + } + } + } + } + next.call$1(action); + }, + zoom_speed_middleware: function(store, action, next) { + type$.legacy_Store_legacy_AppState._as(store); + type$.legacy_dynamic_Function_dynamic._as(next); + if (action instanceof U.ZoomSpeedSet) + self.set_zoom_speed(action.speed); + next.call$1(action); + } + }, + O = { + Uint8ListEquality_equals: function(mac, computedMac) { + var v, i, + t1 = mac.length, + t2 = J.getInterceptor$asx(computedMac); + if (t1 !== t2.get$length(computedMac)) + return false; + for (v = 0, i = 0; i < t1; ++i) + v = (v | mac[i] ^ t2.$index(computedMac, i)) >>> 0; + return v === 0; + }, + AesCipherUtil_prepareBuffAESIVBytes: function(buff, nonce) { + var i; + buff[0] = nonce & 255; + buff[1] = nonce >>> 8 & 255; + buff[2] = nonce >>> 16 & 255; + buff[3] = nonce >>> 24 & 255; + for (i = 4; i <= 15; ++i) { + if (i >= 16) + return H.ioore(buff, i); + buff[i] = 0; + } + }, + AesDecrypt: function AesDecrypt(t0, t1, t2, t3) { + var _ = this; + _.nonce = 1; + _.iv = t0; + _.counterBlock = t1; + _.derivedKey = t2; + _.aesKeyStrength = t3; + _.mac = _.aesEngine = null; + }, + BigIntSerializer: function BigIntSerializer(t0) { + this.types = t0; + }, + BuiltSetSerializer: function BuiltSetSerializer(t0) { + this.types = t0; + }, + BuiltSetSerializer_serialize_closure: function BuiltSetSerializer_serialize_closure(t0, t1) { + this.serializers = t0; + this.elementType = t1; + }, + BuiltSetSerializer_deserialize_closure: function BuiltSetSerializer_deserialize_closure(t0, t1) { + this.serializers = t0; + this.elementType = t1; + }, + JsonObjectSerializer: function JsonObjectSerializer(t0) { + this.types = t0; + }, + UriSerializer: function UriSerializer(t0) { + this.types = t0; + }, + BrowserClient: function BrowserClient(t0) { + this._xhrs = t0; + }, + BrowserClient_send_closure: function BrowserClient_send_closure(t0, t1, t2) { + this.xhr = t0; + this.completer = t1; + this.request = t2; + }, + BrowserClient_send__closure: function BrowserClient_send__closure(t0, t1, t2, t3) { + var _ = this; + _.reader = t0; + _.completer = t1; + _.xhr = t2; + _.request = t3; + }, + BrowserClient_send__closure0: function BrowserClient_send__closure0(t0, t1) { + this.completer = t0; + this.request = t1; + }, + BrowserClient_send_closure0: function BrowserClient_send_closure0(t0, t1) { + this.completer = t0; + this.request = t1; + }, + Request$: function(method, url) { + var t1 = type$.legacy_String; + return new O.Request(C.C_Utf8Codec, new Uint8Array(0), method, url, P.LinkedHashMap_LinkedHashMap(new G.BaseRequest_closure(), new G.BaseRequest_closure0(), t1, t1)); + }, + Request: function Request(t0, t1, t2, t3, t4) { + var _ = this; + _._defaultEncoding = t0; + _._bodyBytes = t1; + _.method = t2; + _.url = t3; + _.headers = t4; + _._finalized = false; + }, + ErrorBoundaryApi: function ErrorBoundaryApi() { + }, + Style__getPlatformStyle: function() { + var t1, userInfo, host, query, fragment, port, hasAuthority, path, t2, _null = null; + if (P.Uri_base().get$scheme() !== "file") + return $.$get$Style_url(); + t1 = P.Uri_base(); + if (!C.JSString_methods.endsWith$1(t1.get$path(t1), "/")) + return $.$get$Style_url(); + userInfo = P._Uri__makeUserInfo(_null, 0, 0); + host = P._Uri__makeHost(_null, 0, 0, false); + query = P._Uri__makeQuery(_null, 0, 0, _null); + fragment = P._Uri__makeFragment(_null, 0, 0); + port = P._Uri__makePort(_null, ""); + if (host == null) + t1 = userInfo.length !== 0 || port != null || false; + else + t1 = false; + if (t1) + host = ""; + t1 = host == null; + hasAuthority = !t1; + path = P._Uri__makePath("a/b", 0, 3, _null, "", hasAuthority); + t2 = t1 && !C.JSString_methods.startsWith$1(path, "/"); + if (t2) + path = P._Uri__normalizeRelativePath(path, hasAuthority); + else + path = P._Uri__removeDotSegments(path); + if (P._Uri$_internal("", userInfo, t1 && C.JSString_methods.startsWith$1(path, "//") ? "" : host, port, path, query, fragment).toFilePath$0() === "a\\b") + return $.$get$Style_windows(); + return $.$get$Style_posix(); + }, + Style: function Style() { + }, + ChoiceParserExtension_or: function(_this, other) { + var t1, t2; + if (_this instanceof O.ChoiceParser) { + t1 = P.List_List$of(_this.children, true, type$.Parser_dynamic); + t1.push(other); + t2 = type$.Failure_dynamic_Function_2_Failure_dynamic_and_Failure_dynamic._as(_this.failureJoiner); + t1 = O.ChoiceParser$(t1, t2, type$.dynamic); + } else + t1 = O.ChoiceParser$(H.setRuntimeTypeInfo([_this, other], type$.JSArray_Parser_dynamic), null, type$.dynamic); + return t1; + }, + ChoiceParser$: function(children, failureJoiner, $T) { + var t1 = failureJoiner == null ? H.instantiate1(M.failure_joiner__selectLast$closure(), $T) : failureJoiner, + t2 = P.List_List$of(children, false, $T._eval$1("Parser<0>")); + if (children.length === 0) + H.throwExpression(P.ArgumentError$("Choice parser cannot be empty.")); + return new O.ChoiceParser(t1, t2, $T._eval$1("ChoiceParser<0>")); + }, + ChoiceParser: function ChoiceParser(t0, t1, t2) { + this.failureJoiner = t0; + this.children = t1; + this.$ti = t2; + }, + BaseMac: function BaseMac() { + }, + JsPropertyDescriptor: function JsPropertyDescriptor() { + }, + Promise: function Promise() { + }, + grid_change_reducer: function(groups, action) { + var t1 = type$.legacy_HelixGroup; + return N.BuiltMapValues_map_values(type$.legacy_BuiltMap_of_legacy_String_and_legacy_HelixGroup._as(groups), new O.grid_change_reducer_closure(type$.legacy_GridChange._as(action)), type$.legacy_String, t1, t1); + }, + group_add_reducer: function(groups, action) { + return type$.legacy_BuiltMap_of_legacy_String_and_legacy_HelixGroup._as(groups).rebuild$1(new O.group_add_reducer_closure(type$.legacy_GroupAdd._as(action))); + }, + group_remove_reducer: function(groups, action) { + return type$.legacy_BuiltMap_of_legacy_String_and_legacy_HelixGroup._as(groups).rebuild$1(new O.group_remove_reducer_closure(type$.legacy_GroupRemove._as(action))); + }, + group_change_reducer: function(groups, action) { + return type$.legacy_BuiltMap_of_legacy_String_and_legacy_HelixGroup._as(groups).rebuild$1(new O.group_change_reducer_closure(type$.legacy_GroupChange._as(action))); + }, + move_helices_to_group_groups_reducer: function(groups, state, action) { + var to_group_name, t1, t2, t3, t4, t5, t6, to_group, new_helices_view_order, t7, t8, t9, t10, t11, t12, _i, from_group_name, from_group, t13, t14, new_from_helices_group_order, t15, t16; + type$.legacy_BuiltMap_of_legacy_String_and_legacy_HelixGroup._as(groups); + type$.legacy_AppState._as(state); + type$.legacy_MoveHelicesToGroup._as(action); + to_group_name = action.group_name; + t1 = H.setRuntimeTypeInfo([], type$.JSArray_legacy_String); + for (t2 = action.helix_idxs._list, t3 = J.getInterceptor$ax(t2), t4 = t3.get$iterator(t2); t4.moveNext$0();) { + t5 = t4.get$current(t4); + t1.push(J.$index$asx(state.design.helices._map$_map, t5).group); + } + t4 = state.design.groups; + t5 = t4._map$_map; + t6 = H._instanceType(t4); + t6 = t6._eval$1("@<1>")._bind$1(t6._rest[1]); + groups = new S.CopyOnWriteMap(t4._mapFactory, t5, t6._eval$1("CopyOnWriteMap<1,2>")); + to_group = J.$index$asx(t5, to_group_name); + t5 = to_group.helices_view_order; + t4 = H._instanceType(t5); + new_helices_view_order = new Q.CopyOnWriteList(true, t5._list, t4._eval$1("CopyOnWriteList<1>")); + for (t5 = t1.length, t7 = t6._rest[0], t6 = t6._rest[1], t8 = type$.legacy_void_Function_legacy_HelixGroupBuilder, t9 = type$.legacy_ListBuilder_legacy_int, t10 = type$.legacy_int, t11 = type$.List_legacy_int, t12 = type$.ListBuilder_legacy_int, t4 = t4._precomputed1, _i = 0; _i < t1.length; t1.length === t5 || (0, H.throwConcurrentModificationError)(t1), ++_i) { + from_group_name = t1[_i]; + from_group = J.$index$asx(groups._copy_on_write_map$_map, from_group_name); + t13 = from_group.helices_view_order; + t14 = t13._list; + new_from_helices_group_order = new Q.CopyOnWriteList(true, t14, H._instanceType(t13)._eval$1("CopyOnWriteList<1>")); + for (t13 = J.get$iterator$ax(t14); t13.moveNext$0();) { + t14 = t13.get$current(t13); + if (t3.contains$1(t2, t14)) { + if (!J.contains$1$asx(new_helices_view_order._copy_on_write_list$_list, t14)) { + t4._as(t14); + new_helices_view_order._copy_on_write_list$_maybeCopyBeforeWrite$0(); + J.add$1$ax(new_helices_view_order._copy_on_write_list$_list, t14); + } + new_from_helices_group_order._copy_on_write_list$_maybeCopyBeforeWrite$0(); + J.remove$1$ax(new_from_helices_group_order._copy_on_write_list$_list, t14); + } + } + t13 = t8._as(new O.move_helices_to_group_groups_reducer_closure(new_from_helices_group_order)); + t14 = new O.HelixGroupBuilder(); + t14.get$_group$_$this()._group$_grid = C.Grid_none; + t15 = $.$get$Position3D_origin(); + t15.toString; + t16 = new X.Position3DBuilder(); + t16._position3d$_$v = t15; + t14.get$_group$_$this()._group$_position = t16; + t14.get$_group$_$this()._pitch = 0; + t14.get$_group$_$this()._yaw = 0; + t14.get$_group$_$this()._group$_roll = 0; + t15 = new D.ListBuilder(t12); + t15.set$__ListBuilder__list(t11._as(P.List_List$from(C.List_empty, true, t10))); + t15.set$_listOwner(null); + t9._as(t15); + t14.get$_group$_$this().set$_group$_helices_view_order(t15); + t14._group$_$v = from_group; + t13.call$1(t14); + from_group = t14.build$0(); + t7._as(from_group_name); + t6._as(from_group); + groups._maybeCopyBeforeWrite$0(); + J.$indexSet$ax(groups._copy_on_write_map$_map, from_group_name, from_group); + } + to_group = to_group.rebuild$1(new O.move_helices_to_group_groups_reducer_closure0(new_helices_view_order)); + t7._as(to_group_name); + t6._as(to_group); + groups._maybeCopyBeforeWrite$0(); + J.$indexSet$ax(groups._copy_on_write_map$_map, to_group_name, to_group); + return A.BuiltMap_BuiltMap$of(groups, type$.legacy_String, type$.legacy_HelixGroup); + }, + grid_change_reducer_closure: function grid_change_reducer_closure(t0) { + this.action = t0; + }, + grid_change_reducer__closure: function grid_change_reducer__closure(t0) { + this.action = t0; + }, + group_add_reducer_closure: function group_add_reducer_closure(t0) { + this.action = t0; + }, + group_remove_reducer_closure: function group_remove_reducer_closure(t0) { + this.action = t0; + }, + group_change_reducer_closure: function group_change_reducer_closure(t0) { + this.action = t0; + }, + move_helices_to_group_groups_reducer_closure: function move_helices_to_group_groups_reducer_closure(t0) { + this.new_from_helices_group_order = t0; + }, + move_helices_to_group_groups_reducer_closure0: function move_helices_to_group_groups_reducer_closure0(t0) { + this.new_helices_view_order = t0; + }, + StrandOrder_fromString: function(str) { + var t1, t2; + for (t1 = J.get$iterator$ax(C.Map_yHyvP.get$keys(C.Map_yHyvP)); t1.moveNext$0();) { + t2 = t1.get$current(t1); + if (C.Map_yHyvP.$index(0, t2) == str) + return t2; + } + throw H.wrapException(D.ExportDNAException$(string$.You_ha)); + }, + _$valueOf10: function($name) { + switch ($name) { + case "five_prime": + return C.StrandOrder_five_prime; + case "three_prime": + return C.StrandOrder_three_prime; + case "five_or_three_prime": + return C.StrandOrder_five_or_three_prime; + case "top_left_domain_start": + return C.StrandOrder_top_left_domain_start; + default: + throw H.wrapException(P.ArgumentError$($name)); + } + }, + StrandOrder: function StrandOrder(t0) { + this.name = t0; + }, + _$StrandOrderSerializer: function _$StrandOrderSerializer() { + }, + HelixGroup__initializeBuilder: function(b) { + var t1, t2; + b.get$_group$_$this()._group$_grid = C.Grid_none; + t1 = $.$get$Position3D_origin(); + t1.toString; + t2 = new X.Position3DBuilder(); + t2._position3d$_$v = t1; + b.get$_group$_$this()._group$_position = t2; + b.get$_group$_$this()._pitch = 0; + b.get$_group$_$this()._yaw = 0; + b.get$_group$_$this()._group$_roll = 0; + t1 = type$.legacy_ListBuilder_legacy_int._as(D.ListBuilder_ListBuilder(C.List_empty, type$.legacy_int)); + b.get$_group$_$this().set$_group$_helices_view_order(t1); + }, + HelixGroup_HelixGroup: function(grid, helices_view_order, pitch, position, roll, yaw) { + var t2, t1 = {}; + t1.position = position; + if (position == null) + t1.position = $.$get$Position3D_origin(); + if (helices_view_order == null) + throw H.wrapException(N.IllegalDesignError$("must specify helices_view_order explicitly")); + t2 = new O.HelixGroupBuilder(); + O.HelixGroup__initializeBuilder(t2); + type$.legacy_void_Function_legacy_HelixGroupBuilder._as(new O.HelixGroup_HelixGroup_closure(t1, grid, helices_view_order, pitch, yaw, roll)).call$1(t2); + return t2.build$0(); + }, + HelixGroup_from_json: function(json_map, helix_idxs) { + var helices_view_order, list1, list2, position, _null = null, + _s18_ = "helices_view_order", + _s2_ = ", ", + _s21_ = "\nhelices_view_order: ", + t1 = type$.dynamic, + grid = S._$valueOf(E.optional_field(json_map, "grid", "none", C.List_empty0, _null, _null, type$.legacy_String, t1)), + t2 = J.getInterceptor$x(json_map), + t3 = type$.legacy_int; + if (t2.containsKey$1(json_map, _s18_)) { + helices_view_order = P.List_List$from(type$.Iterable_dynamic._as(t2.$index(json_map, _s18_)), true, t3); + t2 = helices_view_order.length; + if (t2 !== helix_idxs.get$length(helix_idxs)) + throw H.wrapException(N.IllegalDesignError$("number of helices (" + H.S(helix_idxs.get$length(helix_idxs)) + ") does not match length of helices_view_order (" + t2 + ")\nhelix idxs: " + helix_idxs.join$1(0, _s2_) + _s21_ + C.JSArray_methods.join$1(helices_view_order, _s2_))); + list1 = P.List_List$from(helices_view_order, true, t3); + list2 = P.List_List$from(helix_idxs, true, t3); + C.JSArray_methods.sort$0(list1); + C.JSArray_methods.sort$0(list2); + if (!H.boolConversionCheck(new U.ListEquality(C.C_DefaultEquality, type$.ListEquality_dynamic).get$equals().call$2(list1, list2))) + throw H.wrapException(N.IllegalDesignError$("helices_view_order " + H.S(helices_view_order) + " must have same indexes as helix_idxs " + helix_idxs.toString$0(0) + "\nhelix idxs: " + helix_idxs.join$1(0, _s2_) + _s21_ + C.JSArray_methods.join$1(helices_view_order, _s2_))); + } else { + helices_view_order = P.List_List$of(helix_idxs, true, t3); + C.JSArray_methods.sort$0(helices_view_order); + } + position = X.Position3D_Position3D$from_json(type$.legacy_Map_of_legacy_String_and_dynamic._as(E.mandatory_field(json_map, "position", "HelixGroup", C.List_origin))); + t2 = type$.legacy_num; + return O.HelixGroup_HelixGroup(grid, helices_view_order, E.optional_field(json_map, "pitch", 0, C.List_empty0, _null, _null, t2, t1), position, E.optional_field(json_map, "roll", 0, C.List_empty0, _null, _null, t2, t1), E.optional_field(json_map, "yaw", 0, C.List_empty0, _null, _null, t2, t1)); + }, + HelixGroupBuilder$: function() { + var t2, t3, + t1 = new O.HelixGroupBuilder(); + t1.get$_group$_$this()._group$_grid = C.Grid_none; + t2 = $.$get$Position3D_origin(); + t2.toString; + t3 = new X.Position3DBuilder(); + t3._position3d$_$v = t2; + t1.get$_group$_$this()._group$_position = t3; + t1.get$_group$_$this()._pitch = 0; + t1.get$_group$_$this()._yaw = 0; + t1.get$_group$_$this()._group$_roll = 0; + t2 = type$.legacy_ListBuilder_legacy_int._as(D.ListBuilder_ListBuilder(C.List_empty, type$.legacy_int)); + t1.get$_group$_$this().set$_group$_helices_view_order(t2); + return t1; + }, + HelixGroup: function HelixGroup() { + }, + HelixGroup_HelixGroup_closure: function HelixGroup_HelixGroup_closure(t0, t1, t2, t3, t4, t5) { + var _ = this; + _._box_0 = t0; + _.grid = t1; + _.helices_view_order = t2; + _.pitch = t3; + _.yaw = t4; + _.roll = t5; + }, + _$HelixGroupSerializer: function _$HelixGroupSerializer() { + }, + _$HelixGroup: function _$HelixGroup(t0, t1, t2, t3, t4, t5) { + var _ = this; + _.grid = t0; + _.helices_view_order = t1; + _.position = t2; + _.pitch = t3; + _.yaw = t4; + _.roll = t5; + _._group$__hashCode = _.__helices_view_order_inverse = null; + }, + HelixGroupBuilder: function HelixGroupBuilder() { + var _ = this; + _._group$_roll = _._yaw = _._pitch = _._group$_position = _._group$_helices_view_order = _._group$_grid = _._group$_$v = null; + }, + _HelixGroup_Object_BuiltJsonSerializable: function _HelixGroup_Object_BuiltJsonSerializable() { + }, + Helix_Helix: function(geometry, grid, grid_position, group, idx, invert_y, max_offset, min_offset, position) { + var major_tick_periodic_distances, major_tick_start, t2, t1 = {}; + t1.grid = grid; + t1.geometry = geometry; + t1.grid_position = grid_position; + t1.major_tick_start = major_tick_start; + t1.major_tick_periodic_distances = major_tick_periodic_distances; + t1.major_tick_start = t1.major_tick_periodic_distances = null; + t1.major_tick_start = min_offset; + if (geometry == null) + t1.geometry = $.$get$default_geometry(); + if (grid_position == null && grid !== C.Grid_none) + t1.grid_position = D.GridPosition_GridPosition(0, idx); + t1.major_tick_periodic_distances = H.setRuntimeTypeInfo([], type$.JSArray_legacy_int); + t2 = new O.HelixBuilder(); + t2.get$_helix$_$this()._group = "default_group"; + t2.get$_helix$_$this()._min_offset = 0; + t2.get$_helix$_$this()._roll = 0; + type$.legacy_void_Function_legacy_HelixBuilder._as(new O.Helix_Helix_closure(t1, idx, group, position, 0, min_offset, max_offset)).call$1(t2); + return t2.build$0(); + }, + Helix: function Helix() { + }, + Helix_Helix_closure: function Helix_Helix_closure(t0, t1, t2, t3, t4, t5, t6) { + var _ = this; + _._box_0 = t0; + _.idx = t1; + _.group = t2; + _.position = t3; + _.roll = t4; + _.min_offset = t5; + _.max_offset = t6; + }, + Helix_relax_roll_closure: function Helix_relax_roll_closure(t0, t1) { + this.$this = t0; + this.roll_delta = t1; + }, + _$HelixSerializer: function _$HelixSerializer() { + }, + _$Helix: function _$Helix(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12) { + var _ = this; + _.idx = t0; + _.grid = t1; + _.geometry = t2; + _.group = t3; + _.grid_position = t4; + _.position_ = t5; + _.roll = t6; + _.max_offset = t7; + _.min_offset = t8; + _.major_tick_start = t9; + _.major_tick_periodic_distances = t10; + _.major_ticks = t11; + _.unused_fields = t12; + _._helix$__hashCode = _.__calculate_major_ticks = _.__num_bases = _.__svg_height = _.__svg_width = _.__has_major_tick_periodic_distances = _.__has_major_ticks = _.__has_major_tick_distance = _.__has_default_major_ticks = _.__has_default_major_tick_start = _.__has_default_major_tick_distance = _.__has_default_roll = _.__has_default_group = _.__position3d = _.__has_position = _.__has_grid_position = _.__default_position = null; + }, + HelixBuilder: function HelixBuilder() { + var _ = this; + _._helix$_unused_fields = _._major_ticks = _._major_tick_periodic_distances = _._major_tick_start = _._min_offset = _._max_offset = _._roll = _._position_ = _._grid_position = _._group = _._helix$_geometry = _._grid = _._idx = _._helix$_$v = null; + }, + _Helix_Object_BuiltJsonSerializable: function _Helix_Object_BuiltJsonSerializable() { + }, + _Helix_Object_BuiltJsonSerializable_UnusedFields: function _Helix_Object_BuiltJsonSerializable_UnusedFields() { + }, + _$DesignMainDNAMismatches: function(backingProps) { + type$.legacy_Map_dynamic_dynamic._as(backingProps); + return backingProps == null ? O._$$DesignMainDNAMismatchesProps$JsMap$(new L.JsBackedMap({})) : O._$$DesignMainDNAMismatchesProps__$$DesignMainDNAMismatchesProps(backingProps); + }, + _$$DesignMainDNAMismatchesProps__$$DesignMainDNAMismatchesProps: function(backingMap) { + var t1, _null = null; + if (backingMap instanceof L.JsBackedMap) + return O._$$DesignMainDNAMismatchesProps$JsMap$(backingMap); + else { + t1 = type$.dynamic; + t1 = new O._$$DesignMainDNAMismatchesProps$PlainMap(P.LinkedHashMap_LinkedHashMap$_empty(t1, t1), _null, _null, _null, _null, _null, _null); + t1.get$$$isClassGenerated(); + t1._design_main_dna_mismatches$_props = backingMap; + return t1; + } + }, + _$$DesignMainDNAMismatchesProps$JsMap$: function(backingMap) { + var _null = null, + t1 = new O._$$DesignMainDNAMismatchesProps$JsMap(new L.JsBackedMap({}), _null, _null, _null, _null, _null, _null); + t1.get$$$isClassGenerated(); + t1._design_main_dna_mismatches$_props = backingMap == null ? new L.JsBackedMap({}) : backingMap; + return t1; + }, + DesignMainDNAMismatchesProps: function DesignMainDNAMismatchesProps() { + }, + DesignMainDNAMismatchesComponent: function DesignMainDNAMismatchesComponent() { + }, + $DesignMainDNAMismatchesComponentFactory_closure: function $DesignMainDNAMismatchesComponentFactory_closure() { + }, + _$$DesignMainDNAMismatchesProps: function _$$DesignMainDNAMismatchesProps() { + }, + _$$DesignMainDNAMismatchesProps$PlainMap: function _$$DesignMainDNAMismatchesProps$PlainMap(t0, t1, t2, t3, t4, t5, t6) { + var _ = this; + _._design_main_dna_mismatches$_props = t0; + _.DesignMainDNAMismatchesProps_design = t1; + _.DesignMainDNAMismatchesProps_only_display_selected_helices = t2; + _.DesignMainDNAMismatchesProps_side_selected_helix_idxs = t3; + _.DesignMainDNAMismatchesProps_helix_idx_to_svg_position_y_map = t4; + _.componentFactory = null; + _.UbiquitousDomPropsMixin__aria = t5; + _.UbiquitousDomPropsMixin__dom = t6; + }, + _$$DesignMainDNAMismatchesProps$JsMap: function _$$DesignMainDNAMismatchesProps$JsMap(t0, t1, t2, t3, t4, t5, t6) { + var _ = this; + _._design_main_dna_mismatches$_props = t0; + _.DesignMainDNAMismatchesProps_design = t1; + _.DesignMainDNAMismatchesProps_only_display_selected_helices = t2; + _.DesignMainDNAMismatchesProps_side_selected_helix_idxs = t3; + _.DesignMainDNAMismatchesProps_helix_idx_to_svg_position_y_map = t4; + _.componentFactory = null; + _.UbiquitousDomPropsMixin__aria = t5; + _.UbiquitousDomPropsMixin__dom = t6; + }, + _$DesignMainDNAMismatchesComponent: function _$DesignMainDNAMismatchesComponent(t0) { + var _ = this; + _._design_main_dna_mismatches$_cachedTypedProps = null; + _.DisposableManagerProxy__disposableProxy = t0; + _.jsThis = _.state = _.props = null; + }, + $DesignMainDNAMismatchesProps: function $DesignMainDNAMismatchesProps() { + }, + _DesignMainDNAMismatchesComponent_UiComponent2_PureComponent: function _DesignMainDNAMismatchesComponent_UiComponent2_PureComponent() { + }, + __$$DesignMainDNAMismatchesProps_UiProps_DesignMainDNAMismatchesProps: function __$$DesignMainDNAMismatchesProps_UiProps_DesignMainDNAMismatchesProps() { + }, + __$$DesignMainDNAMismatchesProps_UiProps_DesignMainDNAMismatchesProps_$DesignMainDNAMismatchesProps: function __$$DesignMainDNAMismatchesProps_UiProps_DesignMainDNAMismatchesProps_$DesignMainDNAMismatchesProps() { + }, + _$DesignSideRotation: function(backingProps) { + type$.legacy_Map_dynamic_dynamic._as(backingProps); + return backingProps == null ? O._$$DesignSideRotationProps$JsMap$(new L.JsBackedMap({})) : O._$$DesignSideRotationProps__$$DesignSideRotationProps(backingProps); + }, + _$$DesignSideRotationProps__$$DesignSideRotationProps: function(backingMap) { + var t1, _null = null; + if (backingMap instanceof L.JsBackedMap) + return O._$$DesignSideRotationProps$JsMap$(backingMap); + else { + t1 = type$.dynamic; + t1 = new O._$$DesignSideRotationProps$PlainMap(P.LinkedHashMap_LinkedHashMap$_empty(t1, t1), _null, _null, _null, _null, _null); + t1.get$$$isClassGenerated(); + t1._design_side_rotation$_props = backingMap; + return t1; + } + }, + _$$DesignSideRotationProps$JsMap$: function(backingMap) { + var _null = null, + t1 = new O._$$DesignSideRotationProps$JsMap(new L.JsBackedMap({}), _null, _null, _null, _null, _null); + t1.get$$$isClassGenerated(); + t1._design_side_rotation$_props = backingMap == null ? new L.JsBackedMap({}) : backingMap; + return t1; + }, + DesignSideRotationProps: function DesignSideRotationProps() { + }, + DesignSideRotationComponent: function DesignSideRotationComponent() { + }, + $DesignSideRotationComponentFactory_closure: function $DesignSideRotationComponentFactory_closure() { + }, + _$$DesignSideRotationProps: function _$$DesignSideRotationProps() { + }, + _$$DesignSideRotationProps$PlainMap: function _$$DesignSideRotationProps$PlainMap(t0, t1, t2, t3, t4, t5) { + var _ = this; + _._design_side_rotation$_props = t0; + _.DesignSideRotationProps_radius = t1; + _.DesignSideRotationProps_data = t2; + _.DesignSideRotationProps_invert_y = t3; + _.componentFactory = null; + _.UbiquitousDomPropsMixin__aria = t4; + _.UbiquitousDomPropsMixin__dom = t5; + }, + _$$DesignSideRotationProps$JsMap: function _$$DesignSideRotationProps$JsMap(t0, t1, t2, t3, t4, t5) { + var _ = this; + _._design_side_rotation$_props = t0; + _.DesignSideRotationProps_radius = t1; + _.DesignSideRotationProps_data = t2; + _.DesignSideRotationProps_invert_y = t3; + _.componentFactory = null; + _.UbiquitousDomPropsMixin__aria = t4; + _.UbiquitousDomPropsMixin__dom = t5; + }, + _$DesignSideRotationComponent: function _$DesignSideRotationComponent(t0) { + var _ = this; + _._design_side_rotation$_cachedTypedProps = null; + _.DisposableManagerProxy__disposableProxy = t0; + _.jsThis = _.state = _.props = null; + }, + $DesignSideRotationProps: function $DesignSideRotationProps() { + }, + _DesignSideRotationComponent_UiComponent2_PureComponent: function _DesignSideRotationComponent_UiComponent2_PureComponent() { + }, + __$$DesignSideRotationProps_UiProps_DesignSideRotationProps: function __$$DesignSideRotationProps_UiProps_DesignSideRotationProps() { + }, + __$$DesignSideRotationProps_UiProps_DesignSideRotationProps_$DesignSideRotationProps: function __$$DesignSideRotationProps_UiProps_DesignSideRotationProps_$DesignSideRotationProps() { + }, + _$HelixGroupMoving: function(backingProps) { + type$.legacy_Map_dynamic_dynamic._as(backingProps); + return backingProps == null ? O._$$HelixGroupMovingProps$JsMap$(new L.JsBackedMap({})) : O._$$HelixGroupMovingProps__$$HelixGroupMovingProps(backingProps); + }, + _$$HelixGroupMovingProps__$$HelixGroupMovingProps: function(backingMap) { + var t1, _null = null; + if (backingMap instanceof L.JsBackedMap) + return O._$$HelixGroupMovingProps$JsMap$(backingMap); + else { + t1 = type$.dynamic; + t1 = new O._$$HelixGroupMovingProps$PlainMap(P.LinkedHashMap_LinkedHashMap$_empty(t1, t1), _null, _null, _null, _null, _null, _null, _null); + t1.get$$$isClassGenerated(); + t1._helix_group_moving$_props = backingMap; + return t1; + } + }, + _$$HelixGroupMovingProps$JsMap$: function(backingMap) { + var _null = null, + t1 = new O._$$HelixGroupMovingProps$JsMap(new L.JsBackedMap({}), _null, _null, _null, _null, _null, _null, _null); + t1.get$$$isClassGenerated(); + t1._helix_group_moving$_props = backingMap == null ? new L.JsBackedMap({}) : backingMap; + return t1; + }, + ConnectedHelixGroupMoving_closure: function ConnectedHelixGroupMoving_closure() { + }, + HelixGroupMovingProps: function HelixGroupMovingProps() { + }, + HelixGroupMovingComponent: function HelixGroupMovingComponent() { + }, + HelixGroupMovingComponent_render_closure: function HelixGroupMovingComponent_render_closure(t0) { + this.new_position = t0; + }, + $HelixGroupMovingComponentFactory_closure: function $HelixGroupMovingComponentFactory_closure() { + }, + _$$HelixGroupMovingProps: function _$$HelixGroupMovingProps() { + }, + _$$HelixGroupMovingProps$PlainMap: function _$$HelixGroupMovingProps$PlainMap(t0, t1, t2, t3, t4, t5, t6, t7) { + var _ = this; + _._helix_group_moving$_props = t0; + _.HelixGroupMovingProps_helix_group_move = t1; + _.HelixGroupMovingProps_side_selected_helix_idxs = t2; + _.HelixGroupMovingProps_only_display_selected_helices = t3; + _.HelixGroupMovingProps_show_helix_circles = t4; + _.HelixGroupMovingProps_helix_idx_to_svg_position_map = t5; + _.componentFactory = null; + _.UbiquitousDomPropsMixin__aria = t6; + _.UbiquitousDomPropsMixin__dom = t7; + }, + _$$HelixGroupMovingProps$JsMap: function _$$HelixGroupMovingProps$JsMap(t0, t1, t2, t3, t4, t5, t6, t7) { + var _ = this; + _._helix_group_moving$_props = t0; + _.HelixGroupMovingProps_helix_group_move = t1; + _.HelixGroupMovingProps_side_selected_helix_idxs = t2; + _.HelixGroupMovingProps_only_display_selected_helices = t3; + _.HelixGroupMovingProps_show_helix_circles = t4; + _.HelixGroupMovingProps_helix_idx_to_svg_position_map = t5; + _.componentFactory = null; + _.UbiquitousDomPropsMixin__aria = t6; + _.UbiquitousDomPropsMixin__dom = t7; + }, + _$HelixGroupMovingComponent: function _$HelixGroupMovingComponent(t0) { + var _ = this; + _._helix_group_moving$_cachedTypedProps = null; + _.DisposableManagerProxy__disposableProxy = t0; + _.jsThis = _.state = _.props = null; + }, + $HelixGroupMovingProps: function $HelixGroupMovingProps() { + }, + _HelixGroupMovingComponent_UiComponent2_PureComponent: function _HelixGroupMovingComponent_UiComponent2_PureComponent() { + }, + __$$HelixGroupMovingProps_UiProps_HelixGroupMovingProps: function __$$HelixGroupMovingProps_UiProps_HelixGroupMovingProps() { + }, + __$$HelixGroupMovingProps_UiProps_HelixGroupMovingProps_$HelixGroupMovingProps: function __$$HelixGroupMovingProps_UiProps_HelixGroupMovingProps_$HelixGroupMovingProps() { + }, + _$MenuFormFile: function(backingProps) { + type$.legacy_Map_dynamic_dynamic._as(backingProps); + return backingProps == null ? O._$$MenuFormFileProps$JsMap$(new L.JsBackedMap({})) : O._$$MenuFormFileProps__$$MenuFormFileProps(backingProps); + }, + _$$MenuFormFileProps__$$MenuFormFileProps: function(backingMap) { + var t1, _null = null; + if (backingMap instanceof L.JsBackedMap) + return O._$$MenuFormFileProps$JsMap$(backingMap); + else { + t1 = type$.dynamic; + t1 = new O._$$MenuFormFileProps$PlainMap(P.LinkedHashMap_LinkedHashMap$_empty(t1, t1), _null, _null, _null, _null, _null, _null, _null); + t1.get$$$isClassGenerated(); + t1._menu_form_file$_props = backingMap; + return t1; + } + }, + _$$MenuFormFileProps$JsMap$: function(backingMap) { + var _null = null, + t1 = new O._$$MenuFormFileProps$JsMap(new L.JsBackedMap({}), _null, _null, _null, _null, _null, _null, _null); + t1.get$$$isClassGenerated(); + t1._menu_form_file$_props = backingMap == null ? new L.JsBackedMap({}) : backingMap; + return t1; + }, + MenuFormFileProps: function MenuFormFileProps() { + }, + MenuFormFileComponent: function MenuFormFileComponent() { + }, + MenuFormFileComponent_render_closure: function MenuFormFileComponent_render_closure() { + }, + $MenuFormFileComponentFactory_closure: function $MenuFormFileComponentFactory_closure() { + }, + _$$MenuFormFileProps: function _$$MenuFormFileProps() { + }, + _$$MenuFormFileProps$PlainMap: function _$$MenuFormFileProps$PlainMap(t0, t1, t2, t3, t4, t5, t6, t7) { + var _ = this; + _._menu_form_file$_props = t0; + _.MenuFormFileProps_id = t1; + _.MenuFormFileProps_accept = t2; + _.MenuFormFileProps_onChange = t3; + _.MenuFormFileProps_display = t4; + _.MenuFormFileProps_keyboard_shortcut = t5; + _.componentFactory = null; + _.UbiquitousDomPropsMixin__aria = t6; + _.UbiquitousDomPropsMixin__dom = t7; + }, + _$$MenuFormFileProps$JsMap: function _$$MenuFormFileProps$JsMap(t0, t1, t2, t3, t4, t5, t6, t7) { + var _ = this; + _._menu_form_file$_props = t0; + _.MenuFormFileProps_id = t1; + _.MenuFormFileProps_accept = t2; + _.MenuFormFileProps_onChange = t3; + _.MenuFormFileProps_display = t4; + _.MenuFormFileProps_keyboard_shortcut = t5; + _.componentFactory = null; + _.UbiquitousDomPropsMixin__aria = t6; + _.UbiquitousDomPropsMixin__dom = t7; + }, + _$MenuFormFileComponent: function _$MenuFormFileComponent(t0) { + var _ = this; + _._menu_form_file$_cachedTypedProps = null; + _.DisposableManagerProxy__disposableProxy = t0; + _.jsThis = _.state = _.props = null; + }, + $MenuFormFileProps: function $MenuFormFileProps() { + }, + __$$MenuFormFileProps_UiProps_MenuFormFileProps: function __$$MenuFormFileProps_UiProps_MenuFormFileProps() { + }, + __$$MenuFormFileProps_UiProps_MenuFormFileProps_$MenuFormFileProps: function __$$MenuFormFileProps_UiProps_MenuFormFileProps_$MenuFormFileProps() { + }, + adjust_grid_position_middleware: function(store, action, next) { + var t1; + type$.legacy_Store_legacy_AppState._as(store); + type$.legacy_dynamic_Function_dynamic._as(next); + if (action instanceof U.HelixGridPositionSet) { + t1 = store.get$state(store).design.helices; + if (!O.is_grid_position_occupied(t1.get$values(t1), action.grid_position)) + next.call$1(action); + } else + next.call$1(action); + }, + is_grid_position_occupied: function(helices, grid_position) { + var t1; + for (t1 = J.get$iterator$ax(helices); t1.moveNext$0();) + if (J.$eq$(t1.get$current(t1).grid_position, grid_position)) + return true; + return false; + }, + example_design_selected_middleware: function(store, action, next) { + var example_designs, t1, t2, t3, t4, url, filename; + type$.legacy_Store_legacy_AppState._as(store); + type$.legacy_dynamic_Function_dynamic._as(next).call$1(action); + if (action instanceof U.ExampleDesignsLoad) { + example_designs = store.get$state(store).ui_state.example_designs; + t1 = example_designs.selected_idx; + t2 = t1 >= 0; + if (t2) { + t3 = example_designs.directory + "/"; + t4 = example_designs.filenames; + t4 = H.S(J.$index$asx(t4._list, t1)) + ".sc"; + url = t3 + t4; + } else + url = null; + if (t2) { + t2 = example_designs.filenames; + filename = H.S(J.$index$asx(t2._list, t1)) + ".sc"; + } else + filename = null; + O._get_file_content_and_dispatch_load(store, url, filename); + } + }, + _get_file_content_and_dispatch_load: function(store, url, filename) { + var $async$goto = 0, + $async$completer = P._makeAsyncAwaitCompleter(type$.dynamic), + $async$temp1, $async$temp2; + var $async$_get_file_content_and_dispatch_load = P._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { + if ($async$errorCode === 1) + return P._asyncRethrow($async$result, $async$completer); + while (true) + switch ($async$goto) { + case 0: + // Function start + $async$temp1 = store; + $async$temp2 = U; + $async$goto = 2; + return P._asyncAwait(E.get_text_file_content(url), $async$_get_file_content_and_dispatch_load); + case 2: + // returning from await. + $async$temp1.dispatch$1($async$temp2.PrepareToLoadDNAFile_PrepareToLoadDNAFile($async$result, C.DNAFileType_scadnano_file, filename, true)); + // implicit return + return P._asyncReturn(null, $async$completer); + } + }); + return P._asyncStartSync($async$_get_file_content_and_dispatch_load, $async$completer); + } + }, + R = { + ArchiveException$: function(message) { + return new R.ArchiveException(message, null, null); + }, + ArchiveException: function ArchiveException(t0, t1, t2) { + this.message = t0; + this.source = t1; + this.offset = t2; + }, + BuiltListMultimap_BuiltListMultimap: function($K, $V) { + var t1 = R._BuiltListMultimap$copy(C.Map_empty.get$keys(C.Map_empty), new R.BuiltListMultimap_BuiltListMultimap_closure(C.Map_empty), $K, $V); + return t1; + }, + _BuiltListMultimap$copy: function(keys, lookup, $K, $V) { + var t1 = new R._BuiltListMultimap(P.LinkedHashMap_LinkedHashMap$_empty($K, $V._eval$1("BuiltList<0>")), D.BuiltList_BuiltList$from(C.List_empty, $V), $K._eval$1("@<0>")._bind$1($V)._eval$1("_BuiltListMultimap<1,2>")); + t1._BuiltListMultimap$copy$2(keys, lookup, $K, $V); + return t1; + }, + ListMultimapBuilder_ListMultimapBuilder: function($K, $V) { + var t1 = new R.ListMultimapBuilder($K._eval$1("@<0>")._bind$1($V)._eval$1("ListMultimapBuilder<1,2>")); + t1.replace$1(0, C.Map_empty); + return t1; + }, + BuiltListMultimap: function BuiltListMultimap() { + }, + BuiltListMultimap_BuiltListMultimap_closure: function BuiltListMultimap_BuiltListMultimap_closure(t0) { + this.multimap = t0; + }, + BuiltListMultimap_hashCode_closure: function BuiltListMultimap_hashCode_closure(t0) { + this.$this = t0; + }, + _BuiltListMultimap: function _BuiltListMultimap(t0, t1, t2) { + var _ = this; + _._list_multimap$_map = t0; + _._emptyList = t1; + _._list_multimap$_keys = _._list_multimap$_hashCode = null; + _.$ti = t2; + }, + ListMultimapBuilder: function ListMultimapBuilder(t0) { + var _ = this; + _.__ListMultimapBuilder__builtMap = $; + _._list_multimap$_builtMapOwner = null; + _.__ListMultimapBuilder__builderMap = $; + _.$ti = t0; + }, + ListMultimapBuilder_replace_closure: function ListMultimapBuilder_replace_closure(t0) { + this.multimap = t0; + }, + BoolSerializer: function BoolSerializer(t0) { + this.types = t0; + }, + BuiltListMultimapSerializer: function BuiltListMultimapSerializer(t0) { + this.types = t0; + }, + BuiltListMultimapSerializer_serialize_closure: function BuiltListMultimapSerializer_serialize_closure(t0, t1) { + this.serializers = t0; + this.valueType = t1; + }, + BuiltListMultimapSerializer_deserialize_closure: function BuiltListMultimapSerializer_deserialize_closure(t0, t1) { + this.serializers = t0; + this.valueType = t1; + }, + BuiltSetMultimapSerializer: function BuiltSetMultimapSerializer(t0) { + this.types = t0; + }, + BuiltSetMultimapSerializer_serialize_closure: function BuiltSetMultimapSerializer_serialize_closure(t0, t1) { + this.serializers = t0; + this.valueType = t1; + }, + BuiltSetMultimapSerializer_deserialize_closure: function BuiltSetMultimapSerializer_deserialize_closure(t0, t1) { + this.serializers = t0; + this.valueType = t1; + }, + MediaType_MediaType$parse: function(mediaType) { + return B.wrapFormatException("media type", mediaType, new R.MediaType_MediaType$parse_closure(mediaType), type$.legacy_MediaType); + }, + MediaType$: function(type, subtype, parameters) { + var t1 = type.toLowerCase(), + t2 = subtype.toLowerCase(), + t3 = type$.legacy_String; + t3 = parameters == null ? P.LinkedHashMap_LinkedHashMap$_empty(t3, t3) : Z.CaseInsensitiveMap$from(parameters, t3); + return new R.MediaType(t1, t2, new P.UnmodifiableMapView(t3, type$.UnmodifiableMapView_of_legacy_String_and_legacy_String)); + }, + MediaType: function MediaType(t0, t1, t2) { + this.type = t0; + this.subtype = t1; + this.parameters = t2; + }, + MediaType_MediaType$parse_closure: function MediaType_MediaType$parse_closure(t0) { + this.mediaType = t0; + }, + MediaType_toString_closure: function MediaType_toString_closure(t0) { + this.buffer = t0; + }, + MediaType_toString__closure: function MediaType_toString__closure() { + }, + PickParser: function PickParser(t0, t1, t2) { + this.index = t0; + this.delegate = t1; + this.$ti = t2; + }, + _jsObjectFriendlyIdentityHashCode: function(object) { + var t1, exception; + if (type$.legacy_JsMap._is(object)) + return 0; + try { + t1 = H.objectHashCode(object); + return t1; + } catch (exception) { + H.unwrapException(exception); + return 0; + } + }, + jsifyAndAllowInterop: function(object) { + return R._convertDataTree(object); + }, + _convertDataTree: function(data) { + return new R._convertDataTree__convert(P.LinkedHashMap_LinkedHashMap(P.core__identical$closure(), R.js_interop_helpers___jsObjectFriendlyIdentityHashCode$closure(), type$.legacy_Object, type$.dynamic)).call$1(data); + }, + _convertDataTree__convert: function _convertDataTree__convert(t0) { + this._convertedObjects = t0; + }, + _findDomNode: function(component) { + return self.ReactDOM.findDOMNode(type$.legacy_Component._is(component) ? component.jsThis : component); + }, + render_closure: function render_closure() { + }, + findDOMNode_closure: function findDOMNode_closure() { + }, + helix_idxs_change_middleware: function(store, action, next) { + var t1, existing_idxs, old_idxs, remaining_idxs, new_indices, t2, t3, t4, key_to_idxs, t5, t6, new_index, msg; + type$.legacy_Store_legacy_AppState._as(store); + type$.legacy_dynamic_Function_dynamic._as(next); + if (action instanceof U.HelixIdxsChange) { + t1 = store.get$state(store).design.helices; + existing_idxs = J.toSet$0$ax(t1.get$keys(t1)); + t1 = action.idx_replacements; + old_idxs = J.toSet$0$ax(t1.get$keys(t1)); + remaining_idxs = existing_idxs.difference$1(old_idxs); + new_indices = J.toSet$0$ax(t1.get$values(t1)); + t2 = new_indices.get$length(new_indices); + t3 = t1._map$_map; + t4 = J.getInterceptor$asx(t3); + if (t2 != t4.get$length(t3)) { + key_to_idxs = new H.JsLinkedHashMap(type$.JsLinkedHashMap_of_legacy_int_and_legacy_List_legacy_int); + for (t2 = old_idxs.get$iterator(old_idxs), t5 = type$.JSArray_legacy_int; t2.moveNext$0();) { + t6 = t2.get$current(t2); + new_index = t4.$index(t3, t6); + if (key_to_idxs.containsKey$1(0, new_index)) + J.add$1$ax(key_to_idxs.$index(0, new_index), t6); + else + key_to_idxs.$indexSet(0, new_index, H.setRuntimeTypeInfo([t6], t5)); + } + if (key_to_idxs.get$length(key_to_idxs) !== t4.get$length(t3)) { + msg = "You tried to assign existing helices " + key_to_idxs.get$entries(key_to_idxs).where$1(0, new R.helix_idxs_change_middleware_closure()).map$1$1(0, new R.helix_idxs_change_middleware_closure0(), type$.legacy_String).join$1(0, " and helices ") + ". Each helix must have a unique new index; make sure all the integers you write are distinct from each other and do not appear elsewhere in the design"; + C.Window_methods.alert$1(window, msg); + return; + } + } + for (t1 = J.get$iterator$ax(t1.get$values(t1)); t1.moveNext$0();) { + t2 = t1.get$current(t1); + if (remaining_idxs.contains$1(0, t2)) { + msg = "Index " + H.S(t2) + " is already taken."; + C.Window_methods.alert$1(window, msg); + return; + } + } + } + next.call$1(action); + }, + helix_idxs_change_middleware_closure: function helix_idxs_change_middleware_closure() { + }, + helix_idxs_change_middleware_closure0: function helix_idxs_change_middleware_closure0() { + }, + inline_insertions_deletions_reducer: function(design, _) { + var t1, t2, t3, helices_new, strand_builders_new, helix_idx, strands, i, strand; + type$.legacy_Design._as(design); + type$.legacy_InlineInsertionsDeletions._as(_); + t1 = design.helices; + t2 = t1._map$_map; + t3 = H._instanceType(t1); + helices_new = new S.CopyOnWriteMap(t1._mapFactory, t2, t3._eval$1("@<1>")._bind$1(t3._rest[1])._eval$1("CopyOnWriteMap<1,2>")); + t3 = design.strands; + t3.toString; + strand_builders_new = J.map$1$1$ax(t3._list, t3.$ti._eval$1("StrandBuilder*(1)")._as(new R.inline_insertions_deletions_reducer_closure()), type$.legacy_StrandBuilder).toList$0(0); + t1 = J.getInterceptor$asx(t2); + helix_idx = 0; + while (true) { + t3 = t1.get$length(t2); + if (typeof t3 !== "number") + return H.iae(t3); + if (!(helix_idx < t3)) + break; + R._inline_deletions_insertions_on_helix(design, helix_idx, helices_new, strand_builders_new); + ++helix_idx; + } + t1 = H._arrayInstanceType(strand_builders_new); + t2 = t1._eval$1("MappedListIterable<1,_$Strand*>"); + strands = P.List_List$of(new H.MappedListIterable(strand_builders_new, t1._eval$1("_$Strand*(1)")._as(new R.inline_insertions_deletions_reducer_closure0()), t2), true, t2._eval$1("ListIterable.E")); + for (i = 0; i < strands.length; ++i) { + t1 = strands[i]; + t1.toString; + strand = t1._rebuild_substrands_with_new_fields_based_on_strand$1(t1._rebuild_substrands_with_new_dna_sequences_based_on_strand$1(t1)); + if (J.get$length$asx(t1.substrands._list) === 1) { + t2 = t1.__first_domain; + if (t2 == null) + t2 = t1.__first_domain = E.Strand.prototype.get$first_domain.call(t1); + t2.toString; + } + t1.check_two_consecutive_loopouts$0(); + t1.check_loopouts_length$0(); + t1.check_at_least_one_domain$0(); + t1.check_only_at_ends$0(); + t1.check_not_adjacent_to_loopout$0(); + C.JSArray_methods.$indexSet(strands, i, strand); + } + return design.rebuild$1(new R.inline_insertions_deletions_reducer_closure1(helices_new, strands)); + }, + _inline_deletions_insertions_on_helix: function(design, helix_idx, helices_new, strands_new) { + var t3, t4, t5, insertions_length, _i, dels_ins, insertion, dels_ins_offsets_sorted, major_ticks, major_tick_idx, delta_acc, offset, substrands_both_directions, substrands_one_direction, t6, t7, substrands, t8, t9, _i0, substrand, t10, t11, t12, delta_acc0, new_substrand, strand, strand_idx, ss_idx, + helix = J.$index$asx(design.helices._map$_map, helix_idx), + t1 = type$.JSArray_legacy_int, + t2 = H.setRuntimeTypeInfo([], t1); + for (t3 = J.get$iterator$ax(design.domains_on_helix$1(helix_idx)); t3.moveNext$0();) + for (t4 = J.get$iterator$ax(t3.get$current(t3).deletions._list); t4.moveNext$0();) + t2.push(t4.get$current(t4)); + t3 = H.setRuntimeTypeInfo([], type$.JSArray_legacy_Insertion); + for (t4 = J.get$iterator$ax(design.domains_on_helix$1(helix_idx)); t4.moveNext$0();) + for (t5 = J.get$iterator$ax(t4.get$current(t4).insertions._list); t5.moveNext$0();) + t3.push(t5.get$current(t5)); + if (t3.length === 0) + insertions_length = 0; + else { + t1 = H.setRuntimeTypeInfo([], t1); + for (t4 = t3.length, _i = 0; _i < t3.length; t3.length === t4 || (0, H.throwConcurrentModificationError)(t3), ++_i) + t1.push(t3[_i].length); + insertions_length = C.JSArray_methods.reduce$1(t1, new R._inline_deletions_insertions_on_helix_closure()); + } + t1 = t2.length; + if (typeof insertions_length !== "number") + return insertions_length.$sub(); + t4 = type$.legacy_int; + dels_ins = P.LinkedHashMap_LinkedHashMap$_empty(t4, t4); + for (_i = 0; _i < t2.length; t2.length === t1 || (0, H.throwConcurrentModificationError)(t2), ++_i) + dels_ins.$indexSet(0, t2[_i], -1); + for (t2 = t3.length, _i = 0; _i < t3.length; t3.length === t2 || (0, H.throwConcurrentModificationError)(t3), ++_i) { + insertion = t3[_i]; + dels_ins.$indexSet(0, insertion.offset, insertion.length); + } + t2 = dels_ins.get$keys(dels_ins); + dels_ins_offsets_sorted = P.List_List$of(t2, true, H._instanceType(t2)._eval$1("Iterable.E")); + C.JSArray_methods.sort$0(dels_ins_offsets_sorted); + t2 = helix.get$calculate_major_ticks(); + t3 = t2.$ti; + major_ticks = new Q.CopyOnWriteList(true, t2._list, t3._eval$1("CopyOnWriteList<1>")); + major_ticks.sort$0(0); + helix = helix.rebuild$1(new R._inline_deletions_insertions_on_helix_closure0(insertions_length - t1)); + t1 = J.get$length$asx(major_ticks._copy_on_write_list$_list); + if (typeof t1 !== "number") + return t1.$gt(); + if (t1 > 0) { + for (t1 = dels_ins_offsets_sorted.length, t3 = t3._precomputed1, major_tick_idx = 0, delta_acc = 0, _i = 0; _i < dels_ins_offsets_sorted.length; dels_ins_offsets_sorted.length === t1 || (0, H.throwConcurrentModificationError)(dels_ins_offsets_sorted), ++_i) { + offset = dels_ins_offsets_sorted[_i]; + while (true) { + t2 = J.get$length$asx(major_ticks._copy_on_write_list$_list); + if (typeof t2 !== "number") + return H.iae(t2); + if (major_tick_idx < t2) { + t2 = J.$index$asx(major_ticks._copy_on_write_list$_list, major_tick_idx); + if (typeof t2 !== "number") + return t2.$le(); + if (typeof offset !== "number") + return H.iae(offset); + t2 = t2 <= offset; + } else + t2 = false; + if (!t2) + break; + t2 = J.$index$asx(major_ticks._copy_on_write_list$_list, major_tick_idx); + if (typeof t2 !== "number") + return t2.$add(); + t2 = t3._as(t2 + delta_acc); + major_ticks._copy_on_write_list$_maybeCopyBeforeWrite$0(); + J.$indexSet$ax(major_ticks._copy_on_write_list$_list, major_tick_idx, t2); + ++major_tick_idx; + } + t2 = dels_ins.$index(0, offset); + if (typeof t2 !== "number") + return H.iae(t2); + delta_acc += t2; + } + while (true) { + t1 = J.get$length$asx(major_ticks._copy_on_write_list$_list); + if (typeof t1 !== "number") + return H.iae(t1); + if (!(major_tick_idx < t1)) + break; + t1 = J.$index$asx(major_ticks._copy_on_write_list$_list, major_tick_idx); + if (typeof t1 !== "number") + return t1.$add(); + t1 = t3._as(t1 + delta_acc); + major_ticks._copy_on_write_list$_maybeCopyBeforeWrite$0(); + J.$indexSet$ax(major_ticks._copy_on_write_list$_list, major_tick_idx, t1); + ++major_tick_idx; + } + helix = helix.rebuild$1(new R._inline_deletions_insertions_on_helix_closure1(major_ticks)); + } + t1 = helices_new.$ti; + t1._precomputed1._as(helix_idx); + t1._rest[1]._as(helix); + helices_new._maybeCopyBeforeWrite$0(); + J.$indexSet$ax(helices_new._copy_on_write_map$_map, helix_idx, helix); + substrands_both_directions = design.domains_on_helix$1(helix_idx); + t1 = J.getInterceptor$ax(substrands_both_directions); + substrands_one_direction = P.LinkedHashMap_LinkedHashMap$_literal([true, t1.where$1(substrands_both_directions, new R._inline_deletions_insertions_on_helix_closure2()), false, t1.where$1(substrands_both_directions, new R._inline_deletions_insertions_on_helix_closure3())], type$.legacy_bool, type$.legacy_Iterable_legacy_Domain); + for (t1 = [true, false], t2 = type$.legacy_void_Function_legacy_DomainBuilder, t3 = type$.legacy_Domain, t4 = type$.legacy_Substrand, t5 = type$.List_legacy_Substrand, t6 = type$.ListBuilder_legacy_Substrand, _i = 0; _i < 2; ++_i) { + t7 = substrands_one_direction.$index(0, t1[_i]); + t7.toString; + substrands = P.List_List$of(t7, true, t7.$ti._eval$1("Iterable.E")); + t7 = H._arrayInstanceType(substrands); + t8 = t7._eval$1("int(1,1)?")._as(new R._inline_deletions_insertions_on_helix_closure4()); + if (!!substrands.immutable$list) + H.throwExpression(P.UnsupportedError$("sort")); + t7 = t7._precomputed1; + t9 = substrands.length - 1; + if (t9 - 0 <= 32) + H.Sort__insertionSort(substrands, 0, t9, t8, t7); + else + H.Sort__dualPivotQuicksort(substrands, 0, t9, t8, t7); + for (t7 = substrands.length, delta_acc = 0, _i0 = 0; _i0 < substrands.length; substrands.length === t7 || (0, H.throwConcurrentModificationError)(substrands), ++_i0, delta_acc = delta_acc0) { + substrand = substrands[_i0]; + t8 = substrand.start; + t9 = substrand.end; + t10 = t9 - t8; + t11 = J.get$length$asx(substrand.deletions._list); + if (typeof t11 !== "number") + return H.iae(t11); + t12 = substrand.__num_insertions; + if (t12 == null) + t12 = substrand.__num_insertions = G.Domain.prototype.get$num_insertions.call(substrand); + delta_acc0 = delta_acc + (t10 - t11 + t12 - t10); + t9 = t2._as(new R._inline_deletions_insertions_on_helix_closure5(t8 + delta_acc, t9 + delta_acc0)); + t8 = new G.DomainBuilder(); + t3._as(substrand); + t8._domain$_$v = substrand; + t9.call$1(t8); + new_substrand = t8.build$0(); + t8 = design.__substrand_to_strand; + if (t8 == null) { + t8 = N.Design.prototype.get$substrand_to_strand.call(design); + design.set$__substrand_to_strand(t8); + } + strand = J.$index$asx(t8._map$_map, substrand); + t8 = design.__strand_to_index; + if (t8 == null) { + t8 = N.Design.prototype.get$strand_to_index.call(design); + design.set$__strand_to_index(t8); + } + strand_idx = J.$index$asx(t8._map$_map, strand); + t8 = strand.substrands._list; + t9 = J.getInterceptor$asx(t8); + ss_idx = 0; + while (true) { + t10 = t9.get$length(t8); + if (typeof t10 !== "number") + return H.iae(t10); + if (!(ss_idx < t10)) + break; + if (t9.$index(t8, ss_idx) instanceof G.Domain && J.$eq$(t9.$index(t8, ss_idx), substrand)) { + t8 = C.JSArray_methods.$index(strands_new, strand_idx).get$_strand$_$this(); + t9 = t8._substrands; + if (t9 == null) { + t9 = new D.ListBuilder(t6); + t9.set$__ListBuilder__list(t5._as(P.List_List$from(C.List_empty, true, t4))); + t9.set$_listOwner(null); + t8.set$_substrands(t9); + t8 = t9; + } else + t8 = t9; + t9 = t8.$ti; + t10 = t9._precomputed1; + t10._as(new_substrand); + if (!$.$get$isSoundMode() && !t10._is(null)) + if (new_substrand == null) + H.throwExpression(P.ArgumentError$("null element")); + if (t8._listOwner != null) { + t11 = t8.__ListBuilder__list; + t8.set$__ListBuilder__list(t9._eval$1("List<1>")._as(P.List_List$from(t11 === $ ? H.throwExpression(H.LateError$fieldNI("_list")) : t11, true, t10))); + t8.set$_listOwner(null); + } + t8 = t8.__ListBuilder__list; + J.$indexSet$ax(t8 === $ ? H.throwExpression(H.LateError$fieldNI("_list")) : t8, ss_idx, new_substrand); + break; + } + ++ss_idx; + } + } + } + }, + inline_insertions_deletions_reducer_closure: function inline_insertions_deletions_reducer_closure() { + }, + inline_insertions_deletions_reducer_closure0: function inline_insertions_deletions_reducer_closure0() { + }, + inline_insertions_deletions_reducer_closure1: function inline_insertions_deletions_reducer_closure1(t0, t1) { + this.helices_new = t0; + this.strands = t1; + }, + _inline_deletions_insertions_on_helix_closure: function _inline_deletions_insertions_on_helix_closure() { + }, + _inline_deletions_insertions_on_helix_closure0: function _inline_deletions_insertions_on_helix_closure0(t0) { + this.delta_length = t0; + }, + _inline_deletions_insertions_on_helix_closure1: function _inline_deletions_insertions_on_helix_closure1(t0) { + this.major_ticks = t0; + }, + _inline_deletions_insertions_on_helix_closure2: function _inline_deletions_insertions_on_helix_closure2() { + }, + _inline_deletions_insertions_on_helix_closure3: function _inline_deletions_insertions_on_helix_closure3() { + }, + _inline_deletions_insertions_on_helix_closure4: function _inline_deletions_insertions_on_helix_closure4() { + }, + _inline_deletions_insertions_on_helix_closure5: function _inline_deletions_insertions_on_helix_closure5(t0, t1) { + this.new_start = t0; + this.new_end = t1; + }, + _$DesignMainDomainNameMismatches: function(backingProps) { + type$.legacy_Map_dynamic_dynamic._as(backingProps); + return backingProps == null ? R._$$DesignMainDomainNameMismatchesProps$JsMap$(new L.JsBackedMap({})) : R._$$DesignMainDomainNameMismatchesProps__$$DesignMainDomainNameMismatchesProps(backingProps); + }, + _$$DesignMainDomainNameMismatchesProps__$$DesignMainDomainNameMismatchesProps: function(backingMap) { + var t1, _null = null; + if (backingMap instanceof L.JsBackedMap) + return R._$$DesignMainDomainNameMismatchesProps$JsMap$(backingMap); + else { + t1 = type$.dynamic; + t1 = new R._$$DesignMainDomainNameMismatchesProps$PlainMap(P.LinkedHashMap_LinkedHashMap$_empty(t1, t1), _null, _null, _null, _null, _null, _null); + t1.get$$$isClassGenerated(); + t1._design_main_domain_name_mismatches$_props = backingMap; + return t1; + } + }, + _$$DesignMainDomainNameMismatchesProps$JsMap$: function(backingMap) { + var _null = null, + t1 = new R._$$DesignMainDomainNameMismatchesProps$JsMap(new L.JsBackedMap({}), _null, _null, _null, _null, _null, _null); + t1.get$$$isClassGenerated(); + t1._design_main_domain_name_mismatches$_props = backingMap == null ? new L.JsBackedMap({}) : backingMap; + return t1; + }, + DesignMainDomainNameMismatchesProps: function DesignMainDomainNameMismatchesProps() { + }, + DesignMainDomainNameMismatchesComponent: function DesignMainDomainNameMismatchesComponent() { + }, + $DesignMainDomainNameMismatchesComponentFactory_closure: function $DesignMainDomainNameMismatchesComponentFactory_closure() { + }, + _$$DesignMainDomainNameMismatchesProps: function _$$DesignMainDomainNameMismatchesProps() { + }, + _$$DesignMainDomainNameMismatchesProps$PlainMap: function _$$DesignMainDomainNameMismatchesProps$PlainMap(t0, t1, t2, t3, t4, t5, t6) { + var _ = this; + _._design_main_domain_name_mismatches$_props = t0; + _.DesignMainDomainNameMismatchesProps_design = t1; + _.DesignMainDomainNameMismatchesProps_only_display_selected_helices = t2; + _.DesignMainDomainNameMismatchesProps_side_selected_helix_idxs = t3; + _.DesignMainDomainNameMismatchesProps_helix_idx_to_svg_position_map = t4; + _.componentFactory = null; + _.UbiquitousDomPropsMixin__aria = t5; + _.UbiquitousDomPropsMixin__dom = t6; + }, + _$$DesignMainDomainNameMismatchesProps$JsMap: function _$$DesignMainDomainNameMismatchesProps$JsMap(t0, t1, t2, t3, t4, t5, t6) { + var _ = this; + _._design_main_domain_name_mismatches$_props = t0; + _.DesignMainDomainNameMismatchesProps_design = t1; + _.DesignMainDomainNameMismatchesProps_only_display_selected_helices = t2; + _.DesignMainDomainNameMismatchesProps_side_selected_helix_idxs = t3; + _.DesignMainDomainNameMismatchesProps_helix_idx_to_svg_position_map = t4; + _.componentFactory = null; + _.UbiquitousDomPropsMixin__aria = t5; + _.UbiquitousDomPropsMixin__dom = t6; + }, + _$DesignMainDomainNameMismatchesComponent: function _$DesignMainDomainNameMismatchesComponent(t0) { + var _ = this; + _._design_main_domain_name_mismatches$_cachedTypedProps = null; + _.DisposableManagerProxy__disposableProxy = t0; + _.jsThis = _.state = _.props = null; + }, + $DesignMainDomainNameMismatchesProps: function $DesignMainDomainNameMismatchesProps() { + }, + _DesignMainDomainNameMismatchesComponent_UiComponent2_PureComponent: function _DesignMainDomainNameMismatchesComponent_UiComponent2_PureComponent() { + }, + __$$DesignMainDomainNameMismatchesProps_UiProps_DesignMainDomainNameMismatchesProps: function __$$DesignMainDomainNameMismatchesProps_UiProps_DesignMainDomainNameMismatchesProps() { + }, + __$$DesignMainDomainNameMismatchesProps_UiProps_DesignMainDomainNameMismatchesProps_$DesignMainDomainNameMismatchesProps: function __$$DesignMainDomainNameMismatchesProps_UiProps_DesignMainDomainNameMismatchesProps_$DesignMainDomainNameMismatchesProps() { + }, + _$DesignMainStrandCreating: function(backingProps) { + type$.legacy_Map_dynamic_dynamic._as(backingProps); + return backingProps == null ? R._$$DesignMainStrandCreatingProps$JsMap$(new L.JsBackedMap({})) : R._$$DesignMainStrandCreatingProps__$$DesignMainStrandCreatingProps(backingProps); + }, + _$$DesignMainStrandCreatingProps__$$DesignMainStrandCreatingProps: function(backingMap) { + var t1, _null = null; + if (backingMap instanceof L.JsBackedMap) + return R._$$DesignMainStrandCreatingProps$JsMap$(backingMap); + else { + t1 = type$.dynamic; + t1 = new R._$$DesignMainStrandCreatingProps$PlainMap(P.LinkedHashMap_LinkedHashMap$_empty(t1, t1), _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null); + t1.get$$$isClassGenerated(); + t1._design_main_strand_creating$_props = backingMap; + return t1; + } + }, + _$$DesignMainStrandCreatingProps$JsMap$: function(backingMap) { + var _null = null, + t1 = new R._$$DesignMainStrandCreatingProps$JsMap(new L.JsBackedMap({}), _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null); + t1.get$$$isClassGenerated(); + t1._design_main_strand_creating$_props = backingMap == null ? new L.JsBackedMap({}) : backingMap; + return t1; + }, + DesignMainStrandCreatingPropsMixin: function DesignMainStrandCreatingPropsMixin() { + }, + DesignMainStrandCreatingComponent: function DesignMainStrandCreatingComponent() { + }, + $DesignMainStrandCreatingComponentFactory_closure: function $DesignMainStrandCreatingComponentFactory_closure() { + }, + _$$DesignMainStrandCreatingProps: function _$$DesignMainStrandCreatingProps() { + }, + _$$DesignMainStrandCreatingProps$PlainMap: function _$$DesignMainStrandCreatingProps$PlainMap(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14) { + var _ = this; + _._design_main_strand_creating$_props = t0; + _.TransformByHelixGroupPropsMixin_helices = t1; + _.TransformByHelixGroupPropsMixin_groups = t2; + _.TransformByHelixGroupPropsMixin_geometry = t3; + _.DesignMainStrandCreatingPropsMixin_helix = t4; + _.DesignMainStrandCreatingPropsMixin_forward = t5; + _.DesignMainStrandCreatingPropsMixin_start = t6; + _.DesignMainStrandCreatingPropsMixin_end = t7; + _.DesignMainStrandCreatingPropsMixin_color = t8; + _.DesignMainStrandCreatingPropsMixin_helices = t9; + _.DesignMainStrandCreatingPropsMixin_groups = t10; + _.DesignMainStrandCreatingPropsMixin_geometry = t11; + _.DesignMainStrandCreatingPropsMixin_svg_position_y = t12; + _.componentFactory = null; + _.UbiquitousDomPropsMixin__aria = t13; + _.UbiquitousDomPropsMixin__dom = t14; + }, + _$$DesignMainStrandCreatingProps$JsMap: function _$$DesignMainStrandCreatingProps$JsMap(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14) { + var _ = this; + _._design_main_strand_creating$_props = t0; + _.TransformByHelixGroupPropsMixin_helices = t1; + _.TransformByHelixGroupPropsMixin_groups = t2; + _.TransformByHelixGroupPropsMixin_geometry = t3; + _.DesignMainStrandCreatingPropsMixin_helix = t4; + _.DesignMainStrandCreatingPropsMixin_forward = t5; + _.DesignMainStrandCreatingPropsMixin_start = t6; + _.DesignMainStrandCreatingPropsMixin_end = t7; + _.DesignMainStrandCreatingPropsMixin_color = t8; + _.DesignMainStrandCreatingPropsMixin_helices = t9; + _.DesignMainStrandCreatingPropsMixin_groups = t10; + _.DesignMainStrandCreatingPropsMixin_geometry = t11; + _.DesignMainStrandCreatingPropsMixin_svg_position_y = t12; + _.componentFactory = null; + _.UbiquitousDomPropsMixin__aria = t13; + _.UbiquitousDomPropsMixin__dom = t14; + }, + _$DesignMainStrandCreatingComponent: function _$DesignMainStrandCreatingComponent(t0) { + var _ = this; + _._design_main_strand_creating$_cachedTypedProps = null; + _.DisposableManagerProxy__disposableProxy = t0; + _.jsThis = _.state = _.props = null; + }, + $DesignMainStrandCreatingPropsMixin: function $DesignMainStrandCreatingPropsMixin() { + }, + _DesignMainStrandCreatingComponent_UiComponent2_PureComponent: function _DesignMainStrandCreatingComponent_UiComponent2_PureComponent() { + }, + _DesignMainStrandCreatingComponent_UiComponent2_PureComponent_TransformByHelixGroup: function _DesignMainStrandCreatingComponent_UiComponent2_PureComponent_TransformByHelixGroup() { + }, + __$$DesignMainStrandCreatingProps_UiProps_DesignMainStrandCreatingPropsMixin: function __$$DesignMainStrandCreatingProps_UiProps_DesignMainStrandCreatingPropsMixin() { + }, + __$$DesignMainStrandCreatingProps_UiProps_DesignMainStrandCreatingPropsMixin_$DesignMainStrandCreatingPropsMixin: function __$$DesignMainStrandCreatingProps_UiProps_DesignMainStrandCreatingPropsMixin_$DesignMainStrandCreatingPropsMixin() { + }, + __$$DesignMainStrandCreatingProps_UiProps_DesignMainStrandCreatingPropsMixin_$DesignMainStrandCreatingPropsMixin_TransformByHelixGroupPropsMixin: function __$$DesignMainStrandCreatingProps_UiProps_DesignMainStrandCreatingPropsMixin_$DesignMainStrandCreatingPropsMixin_TransformByHelixGroupPropsMixin() { + }, + __$$DesignMainStrandCreatingProps_UiProps_DesignMainStrandCreatingPropsMixin_$DesignMainStrandCreatingPropsMixin_TransformByHelixGroupPropsMixin_$TransformByHelixGroupPropsMixin: function __$$DesignMainStrandCreatingProps_UiProps_DesignMainStrandCreatingPropsMixin_$DesignMainStrandCreatingPropsMixin_TransformByHelixGroupPropsMixin_$TransformByHelixGroupPropsMixin() { + }, + _$DesignMainStrandExtensionText: function(backingProps) { + type$.legacy_Map_dynamic_dynamic._as(backingProps); + return backingProps == null ? R._$$DesignMainStrandExtensionTextProps$JsMap$(new L.JsBackedMap({})) : R._$$DesignMainStrandExtensionTextProps__$$DesignMainStrandExtensionTextProps(backingProps); + }, + _$$DesignMainStrandExtensionTextProps__$$DesignMainStrandExtensionTextProps: function(backingMap) { + var t1, _null = null; + if (backingMap instanceof L.JsBackedMap) + return R._$$DesignMainStrandExtensionTextProps$JsMap$(backingMap); + else { + t1 = type$.dynamic; + t1 = new R._$$DesignMainStrandExtensionTextProps$PlainMap(P.LinkedHashMap_LinkedHashMap$_empty(t1, t1), _null, _null, _null, _null, _null, _null, _null, _null); + t1.get$$$isClassGenerated(); + t1._design_main_strand_extension_text$_props = backingMap; + return t1; + } + }, + _$$DesignMainStrandExtensionTextProps$JsMap$: function(backingMap) { + var _null = null, + t1 = new R._$$DesignMainStrandExtensionTextProps$JsMap(new L.JsBackedMap({}), _null, _null, _null, _null, _null, _null, _null, _null); + t1.get$$$isClassGenerated(); + t1._design_main_strand_extension_text$_props = backingMap == null ? new L.JsBackedMap({}) : backingMap; + return t1; + }, + DesignMainStrandExtensionTextPropsMixin: function DesignMainStrandExtensionTextPropsMixin() { + }, + DesignMainStrandExtensionTextComponent: function DesignMainStrandExtensionTextComponent() { + }, + $DesignMainStrandExtensionTextComponentFactory_closure: function $DesignMainStrandExtensionTextComponentFactory_closure() { + }, + _$$DesignMainStrandExtensionTextProps: function _$$DesignMainStrandExtensionTextProps() { + }, + _$$DesignMainStrandExtensionTextProps$PlainMap: function _$$DesignMainStrandExtensionTextProps$PlainMap(t0, t1, t2, t3, t4, t5, t6, t7, t8) { + var _ = this; + _._design_main_strand_extension_text$_props = t0; + _.DesignMainStrandExtensionTextPropsMixin_ext = t1; + _.DesignMainStrandExtensionTextPropsMixin_geometry = t2; + _.DesignMainStrandExtensionTextPropsMixin_text = t3; + _.DesignMainStrandExtensionTextPropsMixin_css_selector_text = t4; + _.DesignMainStrandExtensionTextPropsMixin_num_stacked = t5; + _.DesignMainStrandExtensionTextPropsMixin_font_size = t6; + _.componentFactory = null; + _.UbiquitousDomPropsMixin__aria = t7; + _.UbiquitousDomPropsMixin__dom = t8; + }, + _$$DesignMainStrandExtensionTextProps$JsMap: function _$$DesignMainStrandExtensionTextProps$JsMap(t0, t1, t2, t3, t4, t5, t6, t7, t8) { + var _ = this; + _._design_main_strand_extension_text$_props = t0; + _.DesignMainStrandExtensionTextPropsMixin_ext = t1; + _.DesignMainStrandExtensionTextPropsMixin_geometry = t2; + _.DesignMainStrandExtensionTextPropsMixin_text = t3; + _.DesignMainStrandExtensionTextPropsMixin_css_selector_text = t4; + _.DesignMainStrandExtensionTextPropsMixin_num_stacked = t5; + _.DesignMainStrandExtensionTextPropsMixin_font_size = t6; + _.componentFactory = null; + _.UbiquitousDomPropsMixin__aria = t7; + _.UbiquitousDomPropsMixin__dom = t8; + }, + _$DesignMainStrandExtensionTextComponent: function _$DesignMainStrandExtensionTextComponent(t0) { + var _ = this; + _._design_main_strand_extension_text$_cachedTypedProps = null; + _.DisposableManagerProxy__disposableProxy = t0; + _.jsThis = _.state = _.props = null; + }, + $DesignMainStrandExtensionTextPropsMixin: function $DesignMainStrandExtensionTextPropsMixin() { + }, + _DesignMainStrandExtensionTextComponent_UiComponent2_PureComponent: function _DesignMainStrandExtensionTextComponent_UiComponent2_PureComponent() { + }, + __$$DesignMainStrandExtensionTextProps_UiProps_DesignMainStrandExtensionTextPropsMixin: function __$$DesignMainStrandExtensionTextProps_UiProps_DesignMainStrandExtensionTextPropsMixin() { + }, + __$$DesignMainStrandExtensionTextProps_UiProps_DesignMainStrandExtensionTextPropsMixin_$DesignMainStrandExtensionTextPropsMixin: function __$$DesignMainStrandExtensionTextProps_UiProps_DesignMainStrandExtensionTextPropsMixin_$DesignMainStrandExtensionTextPropsMixin() { + }, + loopout_path_description_within_group: function(prev_helix, next_helix, prev_domain, next_domain, loopout, include_start_M, show_loopout_labels, prev_helix_svg_position_y, next_helix_svg_position_y) { + var prev_offset, next_offset, $forward, prev_svg, next_svg, t1, right_svg, left_svg, t2, t3, $length, h, w, y, t4, c1, c2, t0, bot_dom, top_dom, bot_helix, top_helix, top_dom_is_prev, top_offset, bot_offset, y_offset1, y_offset2, x_offset1, x_offset2, x_offset10, x_offset20, y_offset10, y_offset20, + geometry = prev_helix.geometry, + same_helix = prev_helix.idx === next_helix.idx; + if (same_helix && prev_domain.forward === next_domain.forward) { + prev_offset = prev_domain.get$offset_3p(); + next_offset = next_domain.get$offset_5p(); + $forward = prev_domain.forward; + prev_svg = prev_helix.svg_base_pos$3(prev_offset, $forward, prev_helix_svg_position_y); + next_svg = prev_helix.svg_base_pos$3(next_offset, $forward, prev_helix_svg_position_y); + t1 = prev_offset >= next_offset; + if (t1) { + right_svg = prev_svg; + left_svg = next_svg; + } else { + right_svg = next_svg; + left_svg = prev_svg; + } + t2 = right_svg.x; + t3 = left_svg.x; + if (typeof t2 !== "number") + return t2.$sub(); + if (typeof t3 !== "number") + return H.iae(t3); + $length = loopout.loopout_num_bases; + h = 3 * (1 / (1 + Math.exp(-($length - 1)))) * geometry.get$base_height_svg(); + if (!H.boolConversionCheck(show_loopout_labels)) + $length -= 5; + w = 2 * Math.pow(t2 - t3, 0.3333333333333333) * (1 / (1 + Math.exp(-$length))) * geometry.get$base_width_svg(); + y = left_svg.y; + if ($forward) { + if (typeof y !== "number") + return y.$sub(); + y -= h; + } else { + if (typeof y !== "number") + return y.$add(); + y += h; + } + t4 = type$.Point_legacy_num; + c1 = new P.Point(t3 - w, y, t4); + c2 = new P.Point(t2 + w, y, t4); + if (t1) { + t0 = c2; + c2 = c1; + c1 = t0; + } + t1 = include_start_M ? "M " + H.S(prev_svg.x) + " " + H.S(prev_svg.y) + " " : ""; + return t1 + ("C " + H.S(c1.x) + " " + H.S(c1.y) + " " + H.S(c2.x) + " " + H.S(c2.y) + " " + H.S(next_svg.x) + " " + H.S(next_svg.y)); + } else { + if (typeof prev_helix_svg_position_y !== "number") + return prev_helix_svg_position_y.$gt(); + if (typeof next_helix_svg_position_y !== "number") + return H.iae(next_helix_svg_position_y); + if (!(prev_helix_svg_position_y > next_helix_svg_position_y)) + t1 = same_helix && !prev_domain.forward; + else + t1 = true; + if (t1) { + bot_dom = prev_domain; + top_dom = next_domain; + bot_helix = prev_helix; + top_helix = next_helix; + } else { + bot_dom = next_domain; + top_dom = prev_domain; + bot_helix = next_helix; + top_helix = prev_helix; + } + } + top_dom_is_prev = J.$eq$(top_dom, prev_domain); + top_offset = top_dom_is_prev ? top_dom.get$offset_3p() : top_dom.get$offset_5p(); + bot_offset = top_dom_is_prev ? bot_dom.get$offset_5p() : bot_dom.get$offset_3p(); + prev_offset = top_dom_is_prev ? top_offset : bot_offset; + next_offset = top_dom_is_prev ? bot_offset : top_offset; + prev_svg = prev_helix.svg_base_pos$3(prev_offset, prev_domain.forward, prev_helix_svg_position_y); + next_svg = next_helix.svg_base_pos$3(next_offset, next_domain.forward, next_helix_svg_position_y); + if (top_helix.idx === bot_helix.idx) { + t1 = loopout.loopout_num_bases; + w = 1.5 * (1 / (1 + Math.exp(-(t1 - 1)))) * geometry.get$base_width_svg(); + h = H.boolConversionCheck(show_loopout_labels) ? 10 * (1 / (1 + Math.exp(-t1))) * geometry.get$base_height_svg() : 10 * (1 / (1 + Math.exp(-(t1 - 5)))) * geometry.get$base_height_svg(); + } else { + t1 = loopout.loopout_num_bases; + w = 2 * (1 / (1 + Math.exp(-t1))) * geometry.get$base_width_svg(); + h = 10 * (1 / (1 + Math.exp(-(t1 - 3)))) * geometry.get$base_height_svg(); + } + y_offset1 = prev_svg.y; + y_offset2 = next_svg.y; + x_offset1 = prev_svg.x; + x_offset2 = next_svg.x; + if (top_offset === top_dom.end - 1) { + if (typeof x_offset1 !== "number") + return x_offset1.$add(); + x_offset10 = x_offset1 + w; + if (typeof x_offset2 !== "number") + return x_offset2.$add(); + x_offset20 = x_offset2 + w; + } else { + if (typeof x_offset1 !== "number") + return x_offset1.$sub(); + x_offset10 = x_offset1 - w; + if (typeof x_offset2 !== "number") + return x_offset2.$sub(); + x_offset20 = x_offset2 - w; + } + if (top_dom_is_prev) { + if (typeof y_offset1 !== "number") + return y_offset1.$sub(); + y_offset10 = y_offset1 - h; + if (typeof y_offset2 !== "number") + return y_offset2.$add(); + y_offset20 = y_offset2 + h; + } else { + if (typeof y_offset1 !== "number") + return y_offset1.$add(); + y_offset10 = y_offset1 + h; + if (typeof y_offset2 !== "number") + return y_offset2.$sub(); + y_offset20 = y_offset2 - h; + } + t1 = include_start_M ? "M " + H.S(x_offset1) + " " + H.S(y_offset1) + " " : ""; + return t1 + ("C " + H.S(x_offset10) + " " + H.S(y_offset10) + " " + H.S(x_offset20) + " " + H.S(y_offset20) + " " + H.S(x_offset2) + " " + H.S(y_offset2)); + }, + ask_for_length: function(title, current_length, dialog_type, lower_bound, tooltip) { + var $async$goto = 0, + $async$completer = P._makeAsyncAwaitCompleter(type$.legacy_int), + $async$returnValue, results, $length, items; + var $async$ask_for_length = P._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { + if ($async$errorCode === 1) + return P._asyncRethrow($async$result, $async$completer); + while (true) + switch ($async$goto) { + case 0: + // Function start + items = P.List_List$filled(1, null, false, type$.legacy_DialogItem); + C.JSArray_methods.$indexSet(items, 0, E.DialogInteger_DialogInteger("new length:", tooltip, current_length)); + $async$goto = 3; + return P._asyncAwait(E.dialog(E.Dialog_Dialog(C.Set_empty, C.Map_empty2, C.Map_empty2, C.Map_empty3, items, C.List_empty1, E.dialog_Dialog_identity_function$closure(), title, dialog_type, false)), $async$ask_for_length); + case 3: + // returning from await. + results = $async$result; + if (results == null) { + $async$returnValue = current_length; + // goto return + $async$goto = 1; + break; + } + $length = H._asIntS(type$.legacy_DialogInteger._as(J.$index$asx(results, 0)).value); + if ($length < lower_bound) { + C.Window_methods.alert$1(window, "length must be at least " + lower_bound + ", but you entered " + $length); + $async$returnValue = current_length; + // goto return + $async$goto = 1; + break; + } + $async$returnValue = $length; + // goto return + $async$goto = 1; + break; + case 1: + // return + return P._asyncReturn($async$returnValue, $async$completer); + } + }); + return P._asyncStartSync($async$ask_for_length, $async$completer); + }, + _$DesignMainLoopout: function(backingProps) { + type$.legacy_Map_dynamic_dynamic._as(backingProps); + return backingProps == null ? R._$$DesignMainLoopoutProps$JsMap$(new L.JsBackedMap({})) : R._$$DesignMainLoopoutProps__$$DesignMainLoopoutProps(backingProps); + }, + _$$DesignMainLoopoutProps__$$DesignMainLoopoutProps: function(backingMap) { + var t1, _null = null; + if (backingMap instanceof L.JsBackedMap) + return R._$$DesignMainLoopoutProps$JsMap$(backingMap); + else { + t1 = type$.dynamic; + t1 = new R._$$DesignMainLoopoutProps$PlainMap(P.LinkedHashMap_LinkedHashMap$_empty(t1, t1), _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null); + t1.get$$$isClassGenerated(); + t1._design_main_strand_loopout$_props = backingMap; + return t1; + } + }, + _$$DesignMainLoopoutProps$JsMap$: function(backingMap) { + var _null = null, + t1 = new R._$$DesignMainLoopoutProps$JsMap(new L.JsBackedMap({}), _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null); + t1.get$$$isClassGenerated(); + t1._design_main_strand_loopout$_props = backingMap == null ? new L.JsBackedMap({}) : backingMap; + return t1; + }, + _$$DesignMainLoopoutState$JsMap$: function(backingMap) { + var t1 = new R._$$DesignMainLoopoutState$JsMap(new L.JsBackedMap({}), null); + t1.get$$$isClassGenerated(); + t1._design_main_strand_loopout$_state = backingMap; + return t1; + }, + DesignMainLoopoutPropsMixin: function DesignMainLoopoutPropsMixin() { + }, + DesignMainLoopoutState: function DesignMainLoopoutState() { + }, + DesignMainLoopoutComponent: function DesignMainLoopoutComponent() { + }, + DesignMainLoopoutComponent_render_closure: function DesignMainLoopoutComponent_render_closure(t0) { + this.$this = t0; + }, + DesignMainLoopoutComponent_render_closure0: function DesignMainLoopoutComponent_render_closure0(t0) { + this.$this = t0; + }, + DesignMainLoopoutComponent_render_closure1: function DesignMainLoopoutComponent_render_closure1(t0) { + this.$this = t0; + }, + DesignMainLoopoutComponent_render_closure2: function DesignMainLoopoutComponent_render_closure2(t0) { + this.$this = t0; + }, + DesignMainLoopoutComponent_context_menu_loopout_closure: function DesignMainLoopoutComponent_context_menu_loopout_closure() { + }, + DesignMainLoopoutComponent_context_menu_loopout__closure0: function DesignMainLoopoutComponent_context_menu_loopout__closure0() { + }, + DesignMainLoopoutComponent_context_menu_loopout_closure0: function DesignMainLoopoutComponent_context_menu_loopout_closure0() { + }, + DesignMainLoopoutComponent_context_menu_loopout__closure: function DesignMainLoopoutComponent_context_menu_loopout__closure() { + }, + DesignMainLoopoutComponent_context_menu_loopout_closure1: function DesignMainLoopoutComponent_context_menu_loopout_closure1(t0) { + this.$this = t0; + }, + DesignMainLoopoutComponent_context_menu_loopout_closure2: function DesignMainLoopoutComponent_context_menu_loopout_closure2(t0) { + this.$this = t0; + }, + DesignMainLoopoutComponent_loopout_length_change_closure: function DesignMainLoopoutComponent_loopout_length_change_closure(t0) { + this.$this = t0; + }, + DesignMainLoopoutComponent_set_loopout_label_closure: function DesignMainLoopoutComponent_set_loopout_label_closure(t0) { + this.$this = t0; + }, + DesignMainLoopoutComponent_ask_for_loopout_name_closure: function DesignMainLoopoutComponent_ask_for_loopout_name_closure(t0) { + this.name = t0; + }, + $DesignMainLoopoutComponentFactory_closure: function $DesignMainLoopoutComponentFactory_closure() { + }, + _$$DesignMainLoopoutProps: function _$$DesignMainLoopoutProps() { + }, + _$$DesignMainLoopoutProps$PlainMap: function _$$DesignMainLoopoutProps$PlainMap(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19, t20, t21) { + var _ = this; + _._design_main_strand_loopout$_props = t0; + _.TransformByHelixGroupPropsMixin_helices = t1; + _.TransformByHelixGroupPropsMixin_groups = t2; + _.TransformByHelixGroupPropsMixin_geometry = t3; + _.DesignMainLoopoutPropsMixin_loopout = t4; + _.DesignMainLoopoutPropsMixin_strand = t5; + _.DesignMainLoopoutPropsMixin_strand_color = t6; + _.DesignMainLoopoutPropsMixin_prev_domain = t7; + _.DesignMainLoopoutPropsMixin_next_domain = t8; + _.DesignMainLoopoutPropsMixin_prev_helix = t9; + _.DesignMainLoopoutPropsMixin_next_helix = t10; + _.DesignMainLoopoutPropsMixin_selected = t11; + _.DesignMainLoopoutPropsMixin_edit_modes = t12; + _.DesignMainLoopoutPropsMixin_show_domain_names = t13; + _.DesignMainLoopoutPropsMixin_helices = t14; + _.DesignMainLoopoutPropsMixin_groups = t15; + _.DesignMainLoopoutPropsMixin_geometry = t16; + _.DesignMainLoopoutPropsMixin_prev_helix_svg_position_y = t17; + _.DesignMainLoopoutPropsMixin_next_helix_svg_position_y = t18; + _.DesignMainLoopoutPropsMixin_retain_strand_color_on_selection = t19; + _.componentFactory = null; + _.UbiquitousDomPropsMixin__aria = t20; + _.UbiquitousDomPropsMixin__dom = t21; + }, + _$$DesignMainLoopoutProps$JsMap: function _$$DesignMainLoopoutProps$JsMap(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19, t20, t21) { + var _ = this; + _._design_main_strand_loopout$_props = t0; + _.TransformByHelixGroupPropsMixin_helices = t1; + _.TransformByHelixGroupPropsMixin_groups = t2; + _.TransformByHelixGroupPropsMixin_geometry = t3; + _.DesignMainLoopoutPropsMixin_loopout = t4; + _.DesignMainLoopoutPropsMixin_strand = t5; + _.DesignMainLoopoutPropsMixin_strand_color = t6; + _.DesignMainLoopoutPropsMixin_prev_domain = t7; + _.DesignMainLoopoutPropsMixin_next_domain = t8; + _.DesignMainLoopoutPropsMixin_prev_helix = t9; + _.DesignMainLoopoutPropsMixin_next_helix = t10; + _.DesignMainLoopoutPropsMixin_selected = t11; + _.DesignMainLoopoutPropsMixin_edit_modes = t12; + _.DesignMainLoopoutPropsMixin_show_domain_names = t13; + _.DesignMainLoopoutPropsMixin_helices = t14; + _.DesignMainLoopoutPropsMixin_groups = t15; + _.DesignMainLoopoutPropsMixin_geometry = t16; + _.DesignMainLoopoutPropsMixin_prev_helix_svg_position_y = t17; + _.DesignMainLoopoutPropsMixin_next_helix_svg_position_y = t18; + _.DesignMainLoopoutPropsMixin_retain_strand_color_on_selection = t19; + _.componentFactory = null; + _.UbiquitousDomPropsMixin__aria = t20; + _.UbiquitousDomPropsMixin__dom = t21; + }, + _$$DesignMainLoopoutState: function _$$DesignMainLoopoutState() { + }, + _$$DesignMainLoopoutState$JsMap: function _$$DesignMainLoopoutState$JsMap(t0, t1) { + this._design_main_strand_loopout$_state = t0; + this.DesignMainLoopoutState_mouse_hover = t1; + }, + _$DesignMainLoopoutComponent: function _$DesignMainLoopoutComponent(t0) { + var _ = this; + _._design_main_strand_loopout$_cachedTypedState = _._design_main_strand_loopout$_cachedTypedProps = null; + _.DisposableManagerProxy__disposableProxy = t0; + _.jsThis = _.state = _.props = null; + }, + $DesignMainLoopoutPropsMixin: function $DesignMainLoopoutPropsMixin() { + }, + $DesignMainLoopoutState: function $DesignMainLoopoutState() { + }, + _DesignMainLoopoutComponent_UiStatefulComponent2_PureComponent: function _DesignMainLoopoutComponent_UiStatefulComponent2_PureComponent() { + }, + _DesignMainLoopoutComponent_UiStatefulComponent2_PureComponent_TransformByHelixGroup: function _DesignMainLoopoutComponent_UiStatefulComponent2_PureComponent_TransformByHelixGroup() { + }, + __$$DesignMainLoopoutProps_UiProps_DesignMainLoopoutPropsMixin: function __$$DesignMainLoopoutProps_UiProps_DesignMainLoopoutPropsMixin() { + }, + __$$DesignMainLoopoutProps_UiProps_DesignMainLoopoutPropsMixin_$DesignMainLoopoutPropsMixin: function __$$DesignMainLoopoutProps_UiProps_DesignMainLoopoutPropsMixin_$DesignMainLoopoutPropsMixin() { + }, + __$$DesignMainLoopoutProps_UiProps_DesignMainLoopoutPropsMixin_$DesignMainLoopoutPropsMixin_TransformByHelixGroupPropsMixin: function __$$DesignMainLoopoutProps_UiProps_DesignMainLoopoutPropsMixin_$DesignMainLoopoutPropsMixin_TransformByHelixGroupPropsMixin() { + }, + __$$DesignMainLoopoutProps_UiProps_DesignMainLoopoutPropsMixin_$DesignMainLoopoutPropsMixin_TransformByHelixGroupPropsMixin_$TransformByHelixGroupPropsMixin: function __$$DesignMainLoopoutProps_UiProps_DesignMainLoopoutPropsMixin_$DesignMainLoopoutPropsMixin_TransformByHelixGroupPropsMixin_$TransformByHelixGroupPropsMixin() { + }, + __$$DesignMainLoopoutState_UiState_DesignMainLoopoutState: function __$$DesignMainLoopoutState_UiState_DesignMainLoopoutState() { + }, + __$$DesignMainLoopoutState_UiState_DesignMainLoopoutState_$DesignMainLoopoutState: function __$$DesignMainLoopoutState_UiState_DesignMainLoopoutState_$DesignMainLoopoutState() { + }, + _$DesignMainStrandModifications: function(backingProps) { + type$.legacy_Map_dynamic_dynamic._as(backingProps); + return backingProps == null ? R._$$DesignMainStrandModificationsProps$JsMap$(new L.JsBackedMap({})) : R._$$DesignMainStrandModificationsProps__$$DesignMainStrandModificationsProps(backingProps); + }, + _$$DesignMainStrandModificationsProps__$$DesignMainStrandModificationsProps: function(backingMap) { + var t1, _null = null; + if (backingMap instanceof L.JsBackedMap) + return R._$$DesignMainStrandModificationsProps$JsMap$(backingMap); + else { + t1 = type$.dynamic; + t1 = new R._$$DesignMainStrandModificationsProps$PlainMap(P.LinkedHashMap_LinkedHashMap$_empty(t1, t1), _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null); + t1.get$$$isClassGenerated(); + t1._design_main_strand_modifications$_props = backingMap; + return t1; + } + }, + _$$DesignMainStrandModificationsProps$JsMap$: function(backingMap) { + var _null = null, + t1 = new R._$$DesignMainStrandModificationsProps$JsMap(new L.JsBackedMap({}), _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null); + t1.get$$$isClassGenerated(); + t1._design_main_strand_modifications$_props = backingMap == null ? new L.JsBackedMap({}) : backingMap; + return t1; + }, + DesignMainStrandModificationsPropsMixin: function DesignMainStrandModificationsPropsMixin() { + }, + DesignMainStrandModificationsComponent: function DesignMainStrandModificationsComponent() { + }, + $DesignMainStrandModificationsComponentFactory_closure: function $DesignMainStrandModificationsComponentFactory_closure() { + }, + _$$DesignMainStrandModificationsProps: function _$$DesignMainStrandModificationsProps() { + }, + _$$DesignMainStrandModificationsProps$PlainMap: function _$$DesignMainStrandModificationsProps$PlainMap(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16) { + var _ = this; + _._design_main_strand_modifications$_props = t0; + _.TransformByHelixGroupPropsMixin_helices = t1; + _.TransformByHelixGroupPropsMixin_groups = t2; + _.TransformByHelixGroupPropsMixin_geometry = t3; + _.DesignMainStrandModificationsPropsMixin_strand = t4; + _.DesignMainStrandModificationsPropsMixin_helices = t5; + _.DesignMainStrandModificationsPropsMixin_groups = t6; + _.DesignMainStrandModificationsPropsMixin_geometry = t7; + _.DesignMainStrandModificationsPropsMixin_side_selected_helix_idxs = t8; + _.DesignMainStrandModificationsPropsMixin_only_display_selected_helices = t9; + _.DesignMainStrandModificationsPropsMixin_display_connector = t10; + _.DesignMainStrandModificationsPropsMixin_font_size = t11; + _.DesignMainStrandModificationsPropsMixin_selected_modifications_in_strand = t12; + _.DesignMainStrandModificationsPropsMixin_helix_idx_to_svg_position_y_map = t13; + _.DesignMainStrandModificationsPropsMixin_retain_strand_color_on_selection = t14; + _.componentFactory = null; + _.UbiquitousDomPropsMixin__aria = t15; + _.UbiquitousDomPropsMixin__dom = t16; + }, + _$$DesignMainStrandModificationsProps$JsMap: function _$$DesignMainStrandModificationsProps$JsMap(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16) { + var _ = this; + _._design_main_strand_modifications$_props = t0; + _.TransformByHelixGroupPropsMixin_helices = t1; + _.TransformByHelixGroupPropsMixin_groups = t2; + _.TransformByHelixGroupPropsMixin_geometry = t3; + _.DesignMainStrandModificationsPropsMixin_strand = t4; + _.DesignMainStrandModificationsPropsMixin_helices = t5; + _.DesignMainStrandModificationsPropsMixin_groups = t6; + _.DesignMainStrandModificationsPropsMixin_geometry = t7; + _.DesignMainStrandModificationsPropsMixin_side_selected_helix_idxs = t8; + _.DesignMainStrandModificationsPropsMixin_only_display_selected_helices = t9; + _.DesignMainStrandModificationsPropsMixin_display_connector = t10; + _.DesignMainStrandModificationsPropsMixin_font_size = t11; + _.DesignMainStrandModificationsPropsMixin_selected_modifications_in_strand = t12; + _.DesignMainStrandModificationsPropsMixin_helix_idx_to_svg_position_y_map = t13; + _.DesignMainStrandModificationsPropsMixin_retain_strand_color_on_selection = t14; + _.componentFactory = null; + _.UbiquitousDomPropsMixin__aria = t15; + _.UbiquitousDomPropsMixin__dom = t16; + }, + _$DesignMainStrandModificationsComponent: function _$DesignMainStrandModificationsComponent(t0) { + var _ = this; + _._design_main_strand_modifications$_cachedTypedProps = null; + _.DisposableManagerProxy__disposableProxy = t0; + _.jsThis = _.state = _.props = null; + }, + $DesignMainStrandModificationsPropsMixin: function $DesignMainStrandModificationsPropsMixin() { + }, + _DesignMainStrandModificationsComponent_UiComponent2_PureComponent: function _DesignMainStrandModificationsComponent_UiComponent2_PureComponent() { + }, + _DesignMainStrandModificationsComponent_UiComponent2_PureComponent_TransformByHelixGroup: function _DesignMainStrandModificationsComponent_UiComponent2_PureComponent_TransformByHelixGroup() { + }, + __$$DesignMainStrandModificationsProps_UiProps_DesignMainStrandModificationsPropsMixin: function __$$DesignMainStrandModificationsProps_UiProps_DesignMainStrandModificationsPropsMixin() { + }, + __$$DesignMainStrandModificationsProps_UiProps_DesignMainStrandModificationsPropsMixin_$DesignMainStrandModificationsPropsMixin: function __$$DesignMainStrandModificationsProps_UiProps_DesignMainStrandModificationsPropsMixin_$DesignMainStrandModificationsPropsMixin() { + }, + __$$DesignMainStrandModificationsProps_UiProps_DesignMainStrandModificationsPropsMixin_$DesignMainStrandModificationsPropsMixin_TransformByHelixGroupPropsMixin: function __$$DesignMainStrandModificationsProps_UiProps_DesignMainStrandModificationsPropsMixin_$DesignMainStrandModificationsPropsMixin_TransformByHelixGroupPropsMixin() { + }, + __$$DesignMainStrandModificationsProps_UiProps_DesignMainStrandModificationsPropsMixin_$DesignMainStrandModificationsPropsMixin_TransformByHelixGroupPropsMixin_$TransformByHelixGroupPropsMixin: function __$$DesignMainStrandModificationsProps_UiProps_DesignMainStrandModificationsPropsMixin_$DesignMainStrandModificationsPropsMixin_TransformByHelixGroupPropsMixin_$TransformByHelixGroupPropsMixin() { + }, + _$DesignMainWarningStar: function(backingProps) { + type$.legacy_Map_dynamic_dynamic._as(backingProps); + return backingProps == null ? R._$$DesignMainWarningStarProps$JsMap$(new L.JsBackedMap({})) : R._$$DesignMainWarningStarProps__$$DesignMainWarningStarProps(backingProps); + }, + _$$DesignMainWarningStarProps__$$DesignMainWarningStarProps: function(backingMap) { + var t1, _null = null; + if (backingMap instanceof L.JsBackedMap) + return R._$$DesignMainWarningStarProps$JsMap$(backingMap); + else { + t1 = type$.dynamic; + t1 = new R._$$DesignMainWarningStarProps$PlainMap(P.LinkedHashMap_LinkedHashMap$_empty(t1, t1), _null, _null, _null, _null, _null, _null); + t1.get$$$isClassGenerated(); + t1._design_main_warning_star$_props = backingMap; + return t1; + } + }, + _$$DesignMainWarningStarProps$JsMap$: function(backingMap) { + var _null = null, + t1 = new R._$$DesignMainWarningStarProps$JsMap(new L.JsBackedMap({}), _null, _null, _null, _null, _null, _null); + t1.get$$$isClassGenerated(); + t1._design_main_warning_star$_props = backingMap == null ? new L.JsBackedMap({}) : backingMap; + return t1; + }, + DesignMainWarningStarProps: function DesignMainWarningStarProps() { + }, + DesignMainWarningStarComponent: function DesignMainWarningStarComponent() { + }, + $DesignMainWarningStarComponentFactory_closure: function $DesignMainWarningStarComponentFactory_closure() { + }, + _$$DesignMainWarningStarProps: function _$$DesignMainWarningStarProps() { + }, + _$$DesignMainWarningStarProps$PlainMap: function _$$DesignMainWarningStarProps$PlainMap(t0, t1, t2, t3, t4, t5, t6) { + var _ = this; + _._design_main_warning_star$_props = t0; + _.DesignMainWarningStarProps_base_svg_pos = t1; + _.DesignMainWarningStarProps_forward = t2; + _.DesignMainWarningStarProps_geometry = t3; + _.DesignMainWarningStarProps_color = t4; + _.componentFactory = null; + _.UbiquitousDomPropsMixin__aria = t5; + _.UbiquitousDomPropsMixin__dom = t6; + }, + _$$DesignMainWarningStarProps$JsMap: function _$$DesignMainWarningStarProps$JsMap(t0, t1, t2, t3, t4, t5, t6) { + var _ = this; + _._design_main_warning_star$_props = t0; + _.DesignMainWarningStarProps_base_svg_pos = t1; + _.DesignMainWarningStarProps_forward = t2; + _.DesignMainWarningStarProps_geometry = t3; + _.DesignMainWarningStarProps_color = t4; + _.componentFactory = null; + _.UbiquitousDomPropsMixin__aria = t5; + _.UbiquitousDomPropsMixin__dom = t6; + }, + _$DesignMainWarningStarComponent: function _$DesignMainWarningStarComponent(t0) { + var _ = this; + _._design_main_warning_star$_cachedTypedProps = null; + _.DisposableManagerProxy__disposableProxy = t0; + _.jsThis = _.state = _.props = null; + }, + $DesignMainWarningStarProps: function $DesignMainWarningStarProps() { + }, + __$$DesignMainWarningStarProps_UiProps_DesignMainWarningStarProps: function __$$DesignMainWarningStarProps_UiProps_DesignMainWarningStarProps() { + }, + __$$DesignMainWarningStarProps_UiProps_DesignMainWarningStarProps_$DesignMainWarningStarProps: function __$$DesignMainWarningStarProps_UiProps_DesignMainWarningStarProps_$DesignMainWarningStarProps() { + }, + _$PotentialExtensionsView: function(backingProps) { + type$.legacy_Map_dynamic_dynamic._as(backingProps); + return backingProps == null ? R._$$PotentialExtensionsViewProps$JsMap$(new L.JsBackedMap({})) : R._$$PotentialExtensionsViewProps__$$PotentialExtensionsViewProps(backingProps); + }, + _$$PotentialExtensionsViewProps__$$PotentialExtensionsViewProps: function(backingMap) { + var t1, _null = null; + if (backingMap instanceof L.JsBackedMap) + return R._$$PotentialExtensionsViewProps$JsMap$(backingMap); + else { + t1 = type$.dynamic; + t1 = new R._$$PotentialExtensionsViewProps$PlainMap(P.LinkedHashMap_LinkedHashMap$_empty(t1, t1), _null, _null, _null, _null); + t1.get$$$isClassGenerated(); + t1._potential_extensions_view$_props = backingMap; + return t1; + } + }, + _$$PotentialExtensionsViewProps$JsMap$: function(backingMap) { + var _null = null, + t1 = new R._$$PotentialExtensionsViewProps$JsMap(new L.JsBackedMap({}), _null, _null, _null, _null); + t1.get$$$isClassGenerated(); + t1._potential_extensions_view$_props = backingMap == null ? new L.JsBackedMap({}) : backingMap; + return t1; + }, + ConnectedPotentialExtensionsView_closure: function ConnectedPotentialExtensionsView_closure() { + }, + PotentialExtensionsViewProps: function PotentialExtensionsViewProps() { + }, + PotentialExtensionsViewComponent: function PotentialExtensionsViewComponent() { + }, + PotentialExtensionsViewComponent_render_closure: function PotentialExtensionsViewComponent_render_closure(t0, t1) { + this.$this = t0; + this.potential_extensions = t1; + }, + $PotentialExtensionsViewComponentFactory_closure: function $PotentialExtensionsViewComponentFactory_closure() { + }, + _$$PotentialExtensionsViewProps: function _$$PotentialExtensionsViewProps() { + }, + _$$PotentialExtensionsViewProps$PlainMap: function _$$PotentialExtensionsViewProps$PlainMap(t0, t1, t2, t3, t4) { + var _ = this; + _._potential_extensions_view$_props = t0; + _.PotentialExtensionsViewProps_potential_extensions = t1; + _.PotentialExtensionsViewProps_id = t2; + _.componentFactory = null; + _.UbiquitousDomPropsMixin__aria = t3; + _.UbiquitousDomPropsMixin__dom = t4; + }, + _$$PotentialExtensionsViewProps$JsMap: function _$$PotentialExtensionsViewProps$JsMap(t0, t1, t2, t3, t4) { + var _ = this; + _._potential_extensions_view$_props = t0; + _.PotentialExtensionsViewProps_potential_extensions = t1; + _.PotentialExtensionsViewProps_id = t2; + _.componentFactory = null; + _.UbiquitousDomPropsMixin__aria = t3; + _.UbiquitousDomPropsMixin__dom = t4; + }, + _$PotentialExtensionsViewComponent: function _$PotentialExtensionsViewComponent(t0) { + var _ = this; + _._potential_extensions_view$_cachedTypedProps = null; + _.DisposableManagerProxy__disposableProxy = t0; + _.jsThis = _.state = _.props = null; + }, + $PotentialExtensionsViewProps: function $PotentialExtensionsViewProps() { + }, + __$$PotentialExtensionsViewProps_UiProps_PotentialExtensionsViewProps: function __$$PotentialExtensionsViewProps_UiProps_PotentialExtensionsViewProps() { + }, + __$$PotentialExtensionsViewProps_UiProps_PotentialExtensionsViewProps_$PotentialExtensionsViewProps: function __$$PotentialExtensionsViewProps_UiProps_PotentialExtensionsViewProps_$PotentialExtensionsViewProps() { + }, + TransformByHelixGroupPropsMixin: function TransformByHelixGroupPropsMixin() { + }, + TransformByHelixGroup: function TransformByHelixGroup() { + }, + $TransformByHelixGroupPropsMixin: function $TransformByHelixGroupPropsMixin() { + }, + XmlHasXml: function XmlHasXml() { + }, + XmlComment: function XmlComment(t0, t1) { + this.text = t0; + this.XmlHasParent__parent = t1; + }, + XmlProcessing: function XmlProcessing(t0, t1, t2) { + this.target = t0; + this.text = t1; + this.XmlHasParent__parent = t2; + }, + XmlSimpleName: function XmlSimpleName(t0, t1) { + this.local = t0; + this.XmlHasParent__parent = t1; + }, + forwardUnconsumedProps: function(props, keySetsToOmit, propsToUpdate) { + var t1, t2, t3, t4, key, t5, shouldContinue; + for (t1 = J.get$iterator$ax(J.get$keys$x(props.get$_component_base$_map())), t2 = H._instanceType(propsToUpdate), t3 = t2._eval$1("MapViewMixin.K*"), t2 = t2._eval$1("MapViewMixin.V*"), t4 = keySetsToOmit != null; t1.moveNext$0();) { + key = t1.get$current(t1); + if (t4 && !keySetsToOmit.get$isEmpty(keySetsToOmit)) { + if (J.contains$1$asx(keySetsToOmit.get$first(keySetsToOmit), key)) + continue; + t5 = keySetsToOmit.get$length(keySetsToOmit); + if (typeof t5 !== "number") + return t5.$gt(); + if (t5 > 1) { + t5 = keySetsToOmit.get$iterator(keySetsToOmit); + while (true) { + if (!t5.moveNext$0()) { + shouldContinue = false; + break; + } + if (J.contains$1$asx(t5.get$current(t5), key)) { + shouldContinue = true; + break; + } + } + if (shouldContinue) + continue; + } + } + t5 = C.JSArray_methods.contains$1(C.List_key_ref_children, key); + if (t5) + continue; + t5 = J.$index$asx(props.get$_component_base$_map(), key); + t3._as(key); + t2._as(t5); + J.$indexSet$ax(propsToUpdate.get$_component_base$_map(), key, t5); + } + }, + getBackingMap: function(map) { + return map; + }, + unindent: function(multilineString) { + var t2, + t1 = P.RegExp_RegExp("^( *)", true).firstMatch$1(multilineString)._match; + if (1 >= t1.length) + return H.ioore(t1, 1); + t1 = t1[1]; + t2 = C.JSString_methods.trim$0(multilineString); + t1 = "\n" + H.S(t1); + return H.stringReplaceAllUnchecked(t2, t1, "\n"); + }, + helix_change_offsets_middleware: function(store, action, next) { + var design, helix_idx, helix_has_domains, t1, min_offset_of_strand, max_offset_of_strand, t2, t3, t4, t5, t6, + _s29_ = "Cannot set minimum offset to ", + _s29_0 = "Cannot set maximum offset to ", + _s53_ = " because there is a strand on that helix with offset ", + _s62_ = ". Please choose a smaller minimum offset or delete the strand.", + _s61_ = ". Please choose a larger maximum offset or delete the strand."; + type$.legacy_Store_legacy_AppState._as(store); + type$.legacy_dynamic_Function_dynamic._as(next); + if (action instanceof U.HelixOffsetChange) { + design = store.get$state(store).design; + helix_idx = action.helix_idx; + helix_has_domains = J.get$isNotEmpty$asx(design.domains_on_helix$1(helix_idx)); + t1 = action.min_offset; + if (t1 != null && helix_has_domains) { + min_offset_of_strand = store.get$state(store).design.min_offset_of_strands_at$1(helix_idx); + if (typeof t1 !== "number") + return t1.$gt(); + if (t1 > min_offset_of_strand) { + C.Window_methods.alert$1(window, _s29_ + t1 + " on helix " + H.S(helix_idx) + _s53_ + min_offset_of_strand + _s62_); + return; + } + } + t1 = action.max_offset; + if (t1 != null && helix_has_domains) { + max_offset_of_strand = store.get$state(store).design.max_offset_of_strands_at$1(helix_idx); + if (typeof t1 !== "number") + return t1.$lt(); + if (t1 < max_offset_of_strand) { + C.Window_methods.alert$1(window, _s29_0 + t1 + " on helix " + H.S(helix_idx) + _s53_ + max_offset_of_strand + _s61_); + return; + } + } + } else if (action instanceof U.HelixOffsetChangeAll) { + design = store.get$state(store).design; + for (t1 = design.helices, t1 = J.get$iterator$ax(t1.get$keys(t1)), t2 = action.max_offset, t3 = t2 != null, t4 = action.min_offset, t5 = t4 != null; t1.moveNext$0();) { + t6 = t1.get$current(t1); + helix_has_domains = J.get$isNotEmpty$asx(design.domains_on_helix$1(t6)); + if (t5 && helix_has_domains) { + min_offset_of_strand = store.get$state(store).design.min_offset_of_strands_at$1(t6); + if (typeof t4 !== "number") + return t4.$gt(); + if (t4 > min_offset_of_strand) { + C.Window_methods.alert$1(window, _s29_ + t4 + " on helix " + H.S(t6) + _s53_ + min_offset_of_strand + _s62_); + return; + } + } + if (t3 && helix_has_domains) { + max_offset_of_strand = store.get$state(store).design.max_offset_of_strands_at$1(t6); + if (typeof t2 !== "number") + return t2.$lt(); + if (t2 < max_offset_of_strand) { + C.Window_methods.alert$1(window, _s29_0 + t2 + " on helix " + H.S(t6) + _s53_ + max_offset_of_strand + _s61_); + return; + } + } + } + } + next.call$1(action); + }, + remove_dna_reducer: function(strands, action) { + var strand, t1, t2, t3, idx, t4, idxs, strand_idx, i, other_strand, strands_builder, _i; + type$.legacy_BuiltList_legacy_Strand._as(strands); + type$.legacy_RemoveDNA._as(action); + strand = action.strand; + t1 = type$.JSArray_legacy_int; + if (action.remove_all) { + t1 = H.setRuntimeTypeInfo([], t1); + t2 = strands._list; + t3 = J.getInterceptor$asx(t2); + idx = 0; + while (true) { + t4 = t3.get$length(t2); + if (typeof t4 !== "number") + return H.iae(t4); + if (!(idx < t4)) + break; + t1.push(idx); + ++idx; + } + idxs = t1; + } else { + strands.toString; + t2 = strands._list; + t3 = J.getInterceptor$asx(t2); + strand_idx = t3.indexOf$2(t2, strands.$ti._precomputed1._as(strand), 0); + idxs = H.setRuntimeTypeInfo([strand_idx], t1); + if (action.remove_complements) { + i = 0; + while (true) { + t1 = t3.get$length(t2); + if (typeof t1 !== "number") + return H.iae(t1); + if (!(i < t1)) + break; + other_strand = t3.$index(t2, i); + if (i !== strand_idx && other_strand.overlaps$1(strand)) + C.JSArray_methods.add$1(idxs, i); + ++i; + } + } + } + t1 = H._instanceType(strands); + strands_builder = new Q.CopyOnWriteList(true, strands._list, t1._eval$1("CopyOnWriteList<1>")); + for (t2 = idxs.length, t1 = t1._precomputed1, _i = 0; _i < idxs.length; idxs.length === t2 || (0, H.throwConcurrentModificationError)(idxs), ++_i) { + idx = idxs[_i]; + t3 = t1._as(J.$index$asx(strands_builder._copy_on_write_list$_list, idx).remove_dna_sequence$0()); + strands_builder._copy_on_write_list$_maybeCopyBeforeWrite$0(); + J.$indexSet$ax(strands_builder._copy_on_write_list$_list, idx, t3); + } + return D.BuiltList_BuiltList$of(strands_builder, type$.legacy_Strand); + }, + assign_dna_reducer_complement_from_bound_strands: function(strands, state, action) { + var t1, t2, all_strands, t3, t4, strand_to_assign, strand_to_assign_idx, t5, t6, strand_changed, t7, t8; + type$.legacy_BuiltList_legacy_Strand._as(strands); + type$.legacy_AppState._as(state); + type$.legacy_AssignDNAComplementFromBoundStrands._as(action); + t1 = strands._list; + t2 = H._instanceType(strands); + all_strands = new Q.CopyOnWriteList(true, t1, t2._eval$1("CopyOnWriteList<1>")); + for (t3 = J.get$iterator$ax(action.strands._list), t2 = t2._precomputed1, t4 = J.getInterceptor$asx(t1); t3.moveNext$0();) { + strand_to_assign = t3.get$current(t3); + strand_to_assign_idx = t4.indexOf$2(t1, t2._as(strand_to_assign), 0); + t5 = state.design; + t6 = t5.__strands_overlapping; + if (t6 == null) { + t6 = N.Design.prototype.get$strands_overlapping.call(t5); + t5.set$__strands_overlapping(t6); + } + t6 = J.get$iterator$ax(J.$index$asx(t6._map$_map, strand_to_assign)._list); + strand_changed = false; + for (; t6.moveNext$0();) { + t7 = t6.get$current(t6); + t8 = t7.__dna_sequence; + if ((t8 == null ? t7.__dna_sequence = E.Strand.prototype.get$dna_sequence.call(t7) : t8) != null) { + strand_to_assign = strand_to_assign.set_dna_sequence$1(R.compute_dna_complement_from(t5, strand_to_assign, t7, false)); + strand_changed = true; + } + } + if (strand_changed) { + t2._as(strand_to_assign); + all_strands._copy_on_write_list$_maybeCopyBeforeWrite$0(); + J.$indexSet$ax(all_strands._copy_on_write_list$_list, strand_to_assign_idx, strand_to_assign); + } + } + return D._BuiltList$of(all_strands, type$.legacy_Strand); + }, + assign_dna_reducer: function(strands, state, action) { + var strand, t1, t2, t3, strand_idx, t4, seq, t5, t6, sequence, strands_builder, strand_with_new_sequence, i, other_strand, new_dna; + type$.legacy_BuiltList_legacy_Strand._as(strands); + type$.legacy_AppState._as(state); + type$.legacy_AssignDNA._as(action); + strand = action.strand; + strands.toString; + t1 = strands.$ti; + t2 = t1._precomputed1; + t3 = strands._list; + strand_idx = J.indexOf$2$asx(t3, t2._as(strand), 0); + if (strand.get$dna_sequence() != null) + strand = strand.remove_dna_sequence$0(); + t4 = action.dna_assign_options; + seq = t4.dna_sequence; + t5 = P.RegExp_RegExp("\\s+", true); + seq.toString; + seq = H.stringReplaceAllUnchecked(seq, t5, "").toUpperCase(); + t5 = strand.get$dna_length(); + t6 = seq.length; + if (t6 > t5) + sequence = C.JSString_methods.substring$2(seq, 0, t5); + else + sequence = t6 < t5 ? seq + C.JSString_methods.$mul("?", t5 - t6) : seq; + strands_builder = new Q.CopyOnWriteList(true, t3, t1._eval$1("CopyOnWriteList<1>")); + strand_with_new_sequence = strand.set_dna_sequence$1(R.merge_sequences_if_necessary(strand, sequence)); + t2._as(strand_with_new_sequence); + strands_builder._copy_on_write_list$_maybeCopyBeforeWrite$0(); + J.$indexSet$ax(strands_builder._copy_on_write_list$_list, strand_idx, strand_with_new_sequence); + if (t4.assign_complements) { + t1 = t4.disable_change_sequence_bound_strand; + i = 0; + while (true) { + t3 = J.get$length$asx(strands_builder._copy_on_write_list$_list); + if (typeof t3 !== "number") + return H.iae(t3); + if (!(i < t3)) + break; + c$0: { + other_strand = J.$index$asx(strands_builder._copy_on_write_list$_list, i); + if (strand.$eq(0, other_strand)) { + t3 = strand.__dna_sequence; + if (t3 == null) + t3 = strand.__dna_sequence = E.Strand.prototype.get$dna_sequence.call(strand); + t3.toString; + t3 = !H.stringContainsUnchecked(t3, "?", 0); + } else + t3 = false; + if (t3) + break c$0; + if (other_strand.overlaps$1(strand)) { + new_dna = R.compute_dna_complement_from(state.design, other_strand, strand_with_new_sequence, t1); + t3 = other_strand.__dna_sequence; + if (new_dna !== (t3 == null ? other_strand.__dna_sequence = E.Strand.prototype.get$dna_sequence.call(other_strand) : t3)) { + t3 = t2._as(other_strand.set_dna_sequence$1(new_dna)); + strands_builder._copy_on_write_list$_maybeCopyBeforeWrite$0(); + J.$indexSet$ax(strands_builder._copy_on_write_list$_list, i, t3); + } + } + } + ++i; + } + } + return D.BuiltList_BuiltList$of(strands_builder, type$.legacy_Strand); + }, + compare_overlap: function(o1, o2) { + var o1_start, o1_end, o2_start, o2_end, + t1 = type$.legacy_Tuple2_of_legacy_Tuple2_of_legacy_int_and_legacy_int_and_legacy_Domain; + t1._as(o1); + t1._as(o2); + t1 = o1.item1; + o1_start = t1.item1; + o1_end = t1.item2; + t1 = o2.item1; + o2_start = t1.item1; + o2_end = t1.item2; + if (o1_start != o2_start) { + if (typeof o1_start !== "number") + return o1_start.$sub(); + if (typeof o2_start !== "number") + return H.iae(o2_start); + return o1_start - o2_start; + } else { + if (typeof o1_end !== "number") + return o1_end.$sub(); + if (typeof o2_end !== "number") + return H.iae(o2_end); + return o1_end - o2_end; + } + }, + compute_dna_complement_from: function(design, strand_to, strand_from, error_on_change) { + var new_dna_sequence, dom_to, dom_from, msg, t3, t4, t5, t6, t7, t8, t9, t10, ss_idx, t11, substrand_to, substrand_to_dna_sequence, unpaired_addresses, first_unpaired_address, helix_idx, domains_on_helix_from, overlaps, t12, t13, substrand_complement_builder, start_idx, _i, overlap, overlap_left, overlap_right, wildcards, overlap_complement, existing_substrand_to_dna_sequence, exception, _s1_ = "?", + t1 = strand_to.get$dna_sequence(), + t2 = type$.JSArray_legacy_String, + strand_complement_builder = H.setRuntimeTypeInfo([], t2); + if (t1 != null) + for (t1 = J.get$iterator$ax(strand_to.substrands._list); t1.moveNext$0();) + C.JSArray_methods.add$1(strand_complement_builder, t1.get$current(t1).get$dna_sequence()); + else + for (t1 = J.get$iterator$ax(strand_to.substrands._list); t1.moveNext$0();) + C.JSArray_methods.add$1(strand_complement_builder, C.JSString_methods.$mul(_s1_, t1.get$current(t1).dna_length$0())); + t1 = strand_to.substrands._list; + t3 = J.getInterceptor$asx(t1); + t4 = type$.legacy_Tuple2_of_legacy_Tuple2_of_legacy_int_and_legacy_int_and_legacy_Domain; + t5 = type$.nullable_int_Function_2_legacy_Tuple2_of_legacy_Tuple2_of_legacy_int_and_legacy_int_and_legacy_Domain_and_legacy_$1; + t6 = type$.Tuple2_of_legacy_Tuple2_of_legacy_int_and_legacy_int_and_legacy_Domain; + t7 = type$.JSArray_legacy_Tuple2_of_legacy_Tuple2_of_legacy_int_and_legacy_int_and_legacy_Domain; + t8 = type$.JSArray_legacy_Domain; + t9 = type$.ReversedListIterable_legacy_String; + t10 = t9._eval$1("ListIterable.E"); + ss_idx = 0; + while (true) { + t11 = t3.get$length(t1); + if (typeof t11 !== "number") + return H.iae(t11); + if (!(ss_idx < t11)) + break; + substrand_to = t3.$index(t1, ss_idx); + if (substrand_to instanceof G.Loopout || substrand_to instanceof S.Extension) + substrand_to_dna_sequence = C.JSString_methods.$mul(_s1_, substrand_to.dna_length$0()); + else if (substrand_to instanceof G.Domain) { + unpaired_addresses = design.find_unpaired_insertion_deletions_on_domain$2(substrand_to, true); + if (unpaired_addresses.length !== 0) { + first_unpaired_address = C.JSArray_methods.get$first(unpaired_addresses); + throw H.wrapException(P.ArgumentError$("I cannot assign DNA complements when there is an unpaired deletion or insertion, but I found one at this address:\nhelix idx=" + H.S(first_unpaired_address.helix_idx) + ", offset=" + H.S(first_unpaired_address.offset) + "\nTo view all of them in the design, go to View-->Show unpaired deletions/insertions.")); + } + helix_idx = substrand_to.helix; + t11 = strand_from.__domains_on_helix; + if (t11 == null) { + t11 = E.Strand.prototype.get$domains_on_helix.call(strand_from); + strand_from.set$__domains_on_helix(t11); + } + t11 = J.$index$asx(t11._map$_map, helix_idx); + domains_on_helix_from = t11 == null ? null : new Q.CopyOnWriteList(true, t11._list, H.instanceType(t11)._eval$1("CopyOnWriteList<1>")); + if (domains_on_helix_from == null) + domains_on_helix_from = H.setRuntimeTypeInfo([], t8); + overlaps = H.setRuntimeTypeInfo([], t7); + for (t11 = J.get$iterator$ax(domains_on_helix_from), t12 = substrand_to.forward; t11.moveNext$0();) { + t13 = t11.get$current(t11); + if (!substrand_to.$eq(0, t13) && helix_idx === t13.helix && t12 === !t13.forward && substrand_to.compute_overlap$1(t13) != null) + C.JSArray_methods.add$1(overlaps, new S.Tuple2(substrand_to.compute_overlap$1(t13), t13, t6)); + } + t5._as(R.assign_or_remove_dna_reducer__compare_overlap$closure()); + if (!!overlaps.immutable$list) + H.throwExpression(P.UnsupportedError$("sort")); + t11 = overlaps.length - 1; + if (t11 - 0 <= 32) + H.Sort__insertionSort(overlaps, 0, t11, R.assign_or_remove_dna_reducer__compare_overlap$closure(), t4); + else + H.Sort__dualPivotQuicksort(overlaps, 0, t11, R.assign_or_remove_dna_reducer__compare_overlap$closure(), t4); + substrand_complement_builder = H.setRuntimeTypeInfo([], t2); + start_idx = substrand_to.start; + for (t11 = overlaps.length, _i = 0; _i < overlaps.length; overlaps.length === t11 || (0, H.throwConcurrentModificationError)(overlaps), ++_i, start_idx = overlap_right) { + overlap = overlaps[_i]; + t13 = overlap.item1; + overlap_left = t13.item1; + overlap_right = t13.item2; + if (typeof overlap_left !== "number") + return overlap_left.$sub(); + wildcards = C.JSString_methods.$mul(_s1_, substrand_to.dna_length_in$2(start_idx, overlap_left - 1)); + if (typeof overlap_right !== "number") + return overlap_right.$sub(); + overlap_complement = E.wc(overlap.item2.dna_sequence_in$2(overlap_left, overlap_right - 1)); + C.JSArray_methods.add$1(substrand_complement_builder, wildcards); + C.JSArray_methods.add$1(substrand_complement_builder, overlap_complement); + } + C.JSArray_methods.add$1(substrand_complement_builder, C.JSString_methods.$mul(_s1_, substrand_to.dna_length_in$2(start_idx, substrand_to.end - 1))); + substrand_to_dna_sequence = C.JSArray_methods.join$1(!t12 ? P.List_List$of(new H.ReversedListIterable(substrand_complement_builder, t9), true, t10) : substrand_complement_builder, ""); + } else + substrand_to_dna_sequence = null; + if (ss_idx >= strand_complement_builder.length) + return H.ioore(strand_complement_builder, ss_idx); + existing_substrand_to_dna_sequence = strand_complement_builder[ss_idx]; + C.JSArray_methods.$indexSet(strand_complement_builder, ss_idx, (error_on_change ? E.util__merge_wildcards$closure() : E.util__merge_wildcards_favor_first$closure()).call$3(substrand_to_dna_sequence, existing_substrand_to_dna_sequence, _s1_)); + ++ss_idx; + } + new_dna_sequence = C.JSArray_methods.join$1(strand_complement_builder, ""); + if (strand_to.get$dna_sequence() != null) + if (!error_on_change) + new_dna_sequence = E.merge_wildcards_favor_first(new_dna_sequence, strand_to.get$dna_sequence(), _s1_); + else + try { + new_dna_sequence = E.merge_wildcards(strand_to.get$dna_sequence(), new_dna_sequence, _s1_); + } catch (exception) { + if (H.unwrapException(exception) instanceof P.ArgumentError) { + dom_to = strand_to.get$first_domain(); + dom_from = strand_from.get$first_domain(); + msg = "strand starting at helix " + dom_to.helix + ", offset " + dom_to.get$offset_5p() + " has length " + strand_to.get$dna_length() + " and already has a partial DNA sequence assignment of length " + strand_to.get$dna_sequence().length + ", which is \n" + H.S(strand_to.get$dna_sequence()) + ", but you tried to assign sequence of length " + J.get$length$asx(new_dna_sequence) + " to it, which is\n" + H.S(new_dna_sequence) + " (this assignment was indirect, since you assigned directly to a strand bound to this one). This occurred while directly assigning a DNA sequence to the strand whose 5' end is at helix " + dom_from.helix + ", and is of length " + strand_from.get$dna_length() + "."; + throw H.wrapException(N.IllegalDesignError$(msg)); + } else + throw exception; + } + return new_dna_sequence; + }, + merge_sequences_if_necessary: function(strand, seq) { + var first_ss, msg, exception; + seq = seq; + if (strand.get$dna_sequence() != null) + try { + seq = E.merge_wildcards(seq, strand.get$dna_sequence(), "?"); + } catch (exception) { + if (H.unwrapException(exception) instanceof P.ArgumentError) { + first_ss = strand.get$first_domain(); + msg = "strand starting at helix " + first_ss.helix + ", offset " + first_ss.get$offset_5p() + " has length " + strand.get$dna_length() + " and already has a DNA sequence assignment of length " + strand.get$dna_sequence().length + ", which is \n" + H.S(strand.get$dna_sequence()) + ", but you tried to assign a different sequence of length " + J.get$length$asx(seq) + " to it, which is\n{" + H.S(seq) + "}."; + throw H.wrapException(N.IllegalDesignError$(msg)); + } else + throw exception; + } + return seq; + } + }, + T = { + InputStream$: function(data, byteOrder, $length, start) { + var t1, t2; + if (type$.TypedData._is(data)) { + t1 = J.getInterceptor$x(data); + t1 = J.asUint8List$2$x(t1.get$buffer(data), t1.get$offsetInBytes(data), t1.get$lengthInBytes(data)); + } else + t1 = type$.List_int._is(data) ? data : P.List_List$from(type$.Iterable_dynamic._as(data), true, type$.int); + t2 = new T.InputStream(t1, start, start, byteOrder, $); + t2.__InputStream__length = $length == null ? J.get$length$asx(t1) : $length; + return t2; + }, + InputStreamBase: function InputStreamBase() { + }, + InputStream: function InputStream(t0, t1, t2, t3, t4) { + var _ = this; + _.buffer = t0; + _.offset = t1; + _.start = t2; + _.byteOrder = t3; + _.__InputStream__length = t4; + }, + Deflate__smaller: function(tree, n, m, depth) { + var t3, + t1 = n * 2, + t2 = tree.length; + if (t1 < 0 || t1 >= t2) + return H.ioore(tree, t1); + t1 = tree[t1]; + t3 = m * 2; + if (t3 < 0 || t3 >= t2) + return H.ioore(tree, t3); + t3 = tree[t3]; + if (t1 >= t3) + if (t1 === t3) { + if (n < 0 || n >= 573) + return H.ioore(depth, n); + t1 = depth[n]; + if (m < 0 || m >= 573) + return H.ioore(depth, m); + t1 = t1 <= depth[m]; + } else + t1 = false; + else + t1 = true; + return t1; + }, + _HuffmanTree__genCodes: function(tree, maxCode, blCount) { + var code, bits, t1, n, t2, t3, len, + nextCode = new Uint16Array(16); + for (code = 0, bits = 1; bits <= 15; ++bits) { + code = code + blCount[bits - 1] << 1 >>> 0; + if (bits >= 16) + return H.ioore(nextCode, bits); + nextCode[bits] = code; + } + for (t1 = tree.length, n = 0; n <= maxCode; ++n) { + t2 = n * 2; + t3 = t2 + 1; + if (t3 >= t1) + return H.ioore(tree, t3); + len = tree[t3]; + if (len === 0) + continue; + if (len >= 16) + return H.ioore(nextCode, len); + t3 = nextCode[len]; + if (len >= 16) + return H.ioore(nextCode, len); + nextCode[len] = t3 + 1; + t3 = T._HuffmanTree__reverseBits(t3, len); + if (t2 >= t1) + return H.ioore(tree, t2); + tree[t2] = t3; + } + }, + _HuffmanTree__reverseBits: function(code, len) { + var code0, res = 0; + do { + code0 = T._rshift(code, 1); + res = (res | code & 1) << 1 >>> 0; + if (--len, len > 0) { + code = code0; + continue; + } else + break; + } while (true); + return T._rshift(res, 1); + }, + _HuffmanTree__dCode: function(dist) { + var t1; + if (dist < 256) { + if (dist < 0) + return H.ioore(C.List_AyI, dist); + t1 = C.List_AyI[dist]; + } else { + t1 = 256 + T._rshift(dist, 7); + if (t1 >= 512) + return H.ioore(C.List_AyI, t1); + t1 = C.List_AyI[t1]; + } + return t1; + }, + _StaticTree$: function(staticTree, extraBits, extraBase, numElements, maxLength) { + return new T._StaticTree(staticTree, extraBits, extraBase, numElements, maxLength); + }, + _rshift: function(number, bits) { + if (typeof number !== "number") + return number.$ge(); + if (number >= 0) + return C.JSInt_methods.$shr(number, bits); + else + return C.JSInt_methods.$shr(number, bits) + C.JSInt_methods._shlPositive$1(2, (~bits >>> 0) + 65536 & 65535); + }, + Deflate: function Deflate(t0, t1, t2, t3, t4, t5, t6, t7) { + var _ = this; + _.total = _.crc32 = 0; + _._deflate$_input = t0; + _._deflate$_output = t1; + _._status = null; + _.__Deflate__pending = _.__Deflate__pendingOut = _.__Deflate__pendingBufferSize = _.__Deflate__pendingBuffer = $; + _._dataType = 2; + _.__Deflate__strStart = _.__Deflate__matchAvailable = _.__Deflate__prevMatch = _.__Deflate__matchLength = _.__Deflate__blockStart = _.__Deflate__hashShift = _.__Deflate__hashMask = _.__Deflate__hashBits = _.__Deflate__hashSize = _.__Deflate__insertHash = _.__Deflate__head = _.__Deflate__prev = _.__Deflate__actualWindowSize = _.__Deflate__window = _.__Deflate__windowMask = _.__Deflate__windowBits = _.__Deflate__windowSize = $; + _._matchStart = 0; + _.__Deflate__bitLengthTree = _.__Deflate__dynamicDistTree = _.__Deflate__dynamicLengthTree = _.__Deflate__strategy = _.__Deflate__level = _.__Deflate__prevLength = _.__Deflate__lookAhead = $; + _._lDesc = t2; + _._dDesc = t3; + _._blDesc = t4; + _._bitLengthCount = t5; + _._heap = t6; + _.__Deflate__heapMax = _.__Deflate__heapLen = $; + _._depth = t7; + _.__Deflate__numValidBits = _.__Deflate__bitBuffer = _.__Deflate__lastEOBLen = _.__Deflate__matches = _.__Deflate__staticLen = _.__Deflate__optimalLen = _.__Deflate__dbuf = _.__Deflate__lastLit = _.__Deflate__litBufferSize = _.__Deflate__lbuf = $; + }, + _DeflaterConfig: function _DeflaterConfig(t0, t1, t2, t3, t4) { + var _ = this; + _.goodLength = t0; + _.maxLazy = t1; + _.niceLength = t2; + _.maxChain = t3; + _.$function = t4; + }, + _HuffmanTree: function _HuffmanTree() { + this.___HuffmanTree_staticDesc = this.___HuffmanTree_maxCode = this.___HuffmanTree_dynamicTree = $; + }, + _StaticTree: function _StaticTree(t0, t1, t2, t3, t4) { + var _ = this; + _.staticTree = t0; + _.extraBits = t1; + _.extraBase = t2; + _.numElements = t3; + _.maxLength = t4; + }, + Int32Serializer: function Int32Serializer(t0) { + this.types = t0; + }, + StandardJsonPlugin: function StandardJsonPlugin() { + }, + StandardJsonPlugin__toList_closure: function StandardJsonPlugin__toList_closure() { + }, + StandardJsonPlugin__toList_closure0: function StandardJsonPlugin__toList_closure0(t0, t1, t2, t3, t4) { + var _ = this; + _._box_0 = t0; + _.$this = t1; + _.keepNulls = t2; + _.result = t3; + _.hasEncodedKeys = t4; + }, + StandardJsonPlugin__toListUsingDiscriminator_closure: function StandardJsonPlugin__toListUsingDiscriminator_closure() { + }, + StandardJsonPlugin__toListUsingDiscriminator_closure0: function StandardJsonPlugin__toListUsingDiscriminator_closure0(t0, t1, t2, t3) { + var _ = this; + _._box_0 = t0; + _.$this = t1; + _.result = t2; + _.needToDecodeKeys = t3; + }, + BaseResponse: function BaseResponse() { + }, + CastParser: function CastParser(t0, t1) { + this.delegate = t0; + this.$ti = t1; + }, + BaseDigest: function BaseDigest() { + }, + save_file_middleware: function(store, action, next) { + var state; + type$.legacy_Store_legacy_AppState._as(store); + type$.legacy_dynamic_Function_dynamic._as(next).call$1(action); + state = store.get$state(store); + if (action instanceof U.SaveDNAFile) + T._save_file(state); + else if (type$.legacy_UndoableAction._is(action)) + T.change_tab_title(true); + else if (action instanceof U.Undo || action instanceof U.Redo) + T.change_tab_title(J.get$isNotEmpty$asx(state.undo_redo.undo_stack._list)); + }, + _save_file: function(state) { + var $async$goto = 0, + $async$completer = P._makeAsyncAwaitCompleter(type$.dynamic), + $content; + var $async$_save_file = P._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { + if ($async$errorCode === 1) + return P._asyncRethrow($async$result, $async$completer); + while (true) + switch ($async$goto) { + case 0: + // Function start + $content = K.json_encode(state.design, true); + E.save_file(state.ui_state.storables.loaded_filename, $content, new T._save_file_closure(), C.BlobType_0); + // implicit return + return P._asyncReturn(null, $async$completer); + } + }); + return P._asyncStartSync($async$_save_file, $async$completer); + }, + change_tab_title: function(changed_since_last_save) { + var t1; + if (changed_since_last_save && !J.startsWith$1$s(document.title, "*")) { + t1 = document; + t1.title = C.JSString_methods.$add("*", t1.title); + } else if (!changed_since_last_save && J.startsWith$1$s(document.title, "*")) { + t1 = document; + t1.title = J.substring$1$s(t1.title, 1); + } + }, + _save_file_closure: function _save_file_closure() { + }, + AppState__initializeBuilder: function(b) { + var t1, t2; + b.get$_app_state$_$this()._design = null; + t1 = b.get$ui_state(); + t2 = $.$get$DEFAULT_AppUIState(); + if (t2 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + t1._app_ui_state$_$v = t2; + b.get$_app_state$_$this()._error_message = string$.x3cp_sca; + b.get$_app_state$_$this()._editor_content = ""; + t1 = $.$get$DEFAULT_UndoRedoBuilder(); + b.get$_app_state$_$this()._undo_redo = t1; + }, + AppStateBuilder$: function() { + var t2, t3, + t1 = new T.AppStateBuilder(); + t1.get$_app_state$_$this()._design = null; + t2 = t1.get$ui_state(); + t3 = $.$get$DEFAULT_AppUIState(); + if (t3 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + t2._app_ui_state$_$v = t3; + t1.get$_app_state$_$this()._error_message = string$.x3cp_sca; + t1.get$_app_state$_$this()._editor_content = ""; + t2 = $.$get$DEFAULT_UndoRedoBuilder(); + t1.get$_app_state$_$this()._undo_redo = t2; + return t1; + }, + AppState: function AppState() { + }, + _$AppState: function _$AppState(t0, t1, t2, t3, t4) { + var _ = this; + _.design = t0; + _.ui_state = t1; + _.undo_redo = t2; + _.error_message = t3; + _.editor_content = t4; + _._app_state$__hashCode = _.__has_error = _.__helix_idx_to_svg_position_map = null; + }, + AppStateBuilder: function AppStateBuilder() { + var _ = this; + _._editor_content = _._error_message = _._undo_redo = _._ui_state = _._design = _._app_state$_$v = null; + }, + BrowserClipboard: function BrowserClipboard() { + }, + Crossover_Crossover: function(prev_domain_idx, next_domain_idx, strand_id, is_scaffold) { + var t1 = new T.CrossoverBuilder(); + type$.legacy_void_Function_legacy_CrossoverBuilder._as(new T.Crossover_Crossover_closure(prev_domain_idx, next_domain_idx, strand_id, is_scaffold)).call$1(t1); + return t1.build$0(); + }, + Crossover: function Crossover() { + }, + Crossover_Crossover_closure: function Crossover_Crossover_closure(t0, t1, t2, t3) { + var _ = this; + _.prev_domain_idx = t0; + _.next_domain_idx = t1; + _.strand_id = t2; + _.is_scaffold = t3; + }, + _$CrossoverSerializer: function _$CrossoverSerializer() { + }, + _$Crossover: function _$Crossover(t0, t1, t2, t3) { + var _ = this; + _.prev_domain_idx = t0; + _.next_domain_idx = t1; + _.is_scaffold = t2; + _.strand_id = t3; + _._crossover$__hashCode = _._crossover$__id = _._crossover$__select_mode = null; + }, + CrossoverBuilder: function CrossoverBuilder() { + var _ = this; + _._crossover$_strand_id = _._crossover$_is_scaffold = _._next_domain_idx = _._crossover$_prev_domain_idx = _._crossover$_$v = null; + }, + _Crossover_Object_SelectableMixin: function _Crossover_Object_SelectableMixin() { + }, + _Crossover_Object_SelectableMixin_BuiltJsonSerializable: function _Crossover_Object_SelectableMixin_BuiltJsonSerializable() { + }, + UndoRedo_UndoRedo: function() { + var t1 = new T.UndoRedoBuilder(), + t2 = type$.legacy_UndoRedoItem, + t3 = type$.legacy_ListBuilder_legacy_UndoRedoItem, + t4 = t3._as(D.ListBuilder_ListBuilder(C.List_empty, t2)); + t1.get$_undo_redo$_$this().set$_undo_stack(t4); + t2 = t3._as(D.ListBuilder_ListBuilder(C.List_empty, t2)); + t1.get$_undo_redo$_$this().set$_redo_stack(t2); + type$.legacy_void_Function_legacy_UndoRedoBuilder._as(new T.UndoRedo_UndoRedo_closure()).call$1(t1); + return t1.build$0(); + }, + UndoRedoItem_UndoRedoItem: function(short_description, design) { + var t1 = new T.UndoRedoItemBuilder(); + type$.legacy_void_Function_legacy_UndoRedoItemBuilder._as(new T.UndoRedoItem_UndoRedoItem_closure(short_description, design)).call$1(t1); + return t1.build$0(); + }, + UndoRedoBuilder$: function() { + var t1 = new T.UndoRedoBuilder(), + t2 = type$.legacy_UndoRedoItem, + t3 = type$.legacy_ListBuilder_legacy_UndoRedoItem, + t4 = t3._as(D.ListBuilder_ListBuilder(C.List_empty, t2)); + t1.get$_undo_redo$_$this().set$_undo_stack(t4); + t2 = t3._as(D.ListBuilder_ListBuilder(C.List_empty, t2)); + t1.get$_undo_redo$_$this().set$_redo_stack(t2); + return t1; + }, + UndoRedo: function UndoRedo() { + }, + UndoRedo_UndoRedo_closure: function UndoRedo_UndoRedo_closure() { + }, + UndoRedoItem: function UndoRedoItem() { + }, + UndoRedoItem_UndoRedoItem_closure: function UndoRedoItem_UndoRedoItem_closure(t0, t1) { + this.short_description = t0; + this.design = t1; + }, + _$UndoRedoItemSerializer: function _$UndoRedoItemSerializer() { + }, + _$UndoRedo: function _$UndoRedo(t0, t1) { + this.undo_stack = t0; + this.redo_stack = t1; + this._undo_redo$__hashCode = null; + }, + UndoRedoBuilder: function UndoRedoBuilder() { + this._redo_stack = this._undo_stack = this._undo_redo$_$v = null; + }, + _$UndoRedoItem: function _$UndoRedoItem(t0, t1) { + this.short_description = t0; + this.design = t1; + this._undo_redo$__hashCode = null; + }, + UndoRedoItemBuilder: function UndoRedoItemBuilder() { + this._undo_redo$_design = this._short_description = this._undo_redo$_$v = null; + }, + _UndoRedo_Object_BuiltJsonSerializable: function _UndoRedo_Object_BuiltJsonSerializable() { + }, + _UndoRedoItem_Object_BuiltJsonSerializable: function _UndoRedoItem_Object_BuiltJsonSerializable() { + }, + VendorFields_VendorFields: function(plate, purification, scale, well) { + var t1 = new T.VendorFieldsBuilder(); + type$.legacy_void_Function_legacy_VendorFieldsBuilder._as(new T.VendorFields_VendorFields_closure(scale, purification, plate, well)).call$1(t1); + return t1.build$0(); + }, + VendorFields_from_json: function(json_map) { + var unused_fields, t2, t3, + _s12_ = "VendorFields", + scale = E.mandatory_field(json_map, "scale", _s12_, C.List_empty0), + purification = E.mandatory_field(json_map, "purification", _s12_, C.List_empty0), + t1 = J.getInterceptor$x(json_map), + plate = t1.containsKey$1(json_map, "plate") ? t1.$index(json_map, "plate") : null, + well = t1.containsKey$1(json_map, "well") ? t1.$index(json_map, "well") : null; + t1 = plate == null; + if (t1 && well != null) + throw H.wrapException(N.IllegalDesignError$("cannot set VendorFields.well to " + H.S(well) + " when plate is null\nthis occurred when reading VendorFields entry:\n" + H.S(json_map))); + if (!t1 && well == null) + throw H.wrapException(N.IllegalDesignError$("cannot set VendorFields.plate to " + H.S(plate) + " when well is null\nthis occurred when reading VendorFields entry:\n" + H.S(json_map))); + unused_fields = E.unused_fields_map(json_map, C.List_sEI); + H._asStringS(scale); + H._asStringS(purification); + t1 = T.VendorFields_VendorFields(H._asStringS(plate), purification, scale, H._asStringS(well)); + t1.toString; + t2 = type$.legacy_void_Function_legacy_VendorFieldsBuilder._as(new T.VendorFields_from_json_closure(unused_fields)); + t3 = new T.VendorFieldsBuilder(); + t3._vendor_fields$_$v = t1; + t2.call$1(t3); + return t3.build$0(); + }, + VendorFields: function VendorFields() { + }, + VendorFields_VendorFields_closure: function VendorFields_VendorFields_closure(t0, t1, t2, t3) { + var _ = this; + _.scale = t0; + _.purification = t1; + _.plate = t2; + _.well = t3; + }, + VendorFields_from_json_closure: function VendorFields_from_json_closure(t0) { + this.unused_fields = t0; + }, + _$VendorFieldsSerializer: function _$VendorFieldsSerializer() { + }, + _$VendorFields: function _$VendorFields(t0, t1, t2, t3, t4) { + var _ = this; + _.scale = t0; + _.purification = t1; + _.plate = t2; + _.well = t3; + _.unused_fields = t4; + _._vendor_fields$__hashCode = null; + }, + VendorFieldsBuilder: function VendorFieldsBuilder() { + var _ = this; + _._vendor_fields$_unused_fields = _._well = _._plate = _._purification = _._scale = _._vendor_fields$_$v = null; + }, + _VendorFields_Object_BuiltJsonSerializable: function _VendorFields_Object_BuiltJsonSerializable() { + }, + _VendorFields_Object_BuiltJsonSerializable_UnusedFields: function _VendorFields_Object_BuiltJsonSerializable_UnusedFields() { + }, + _$DesignMainDomainMoving: function(backingProps) { + type$.legacy_Map_dynamic_dynamic._as(backingProps); + return backingProps == null ? T._$$DesignMainDomainMovingProps$JsMap$(new L.JsBackedMap({})) : T._$$DesignMainDomainMovingProps__$$DesignMainDomainMovingProps(backingProps); + }, + _$$DesignMainDomainMovingProps__$$DesignMainDomainMovingProps: function(backingMap) { + var t1, _null = null; + if (backingMap instanceof L.JsBackedMap) + return T._$$DesignMainDomainMovingProps$JsMap$(backingMap); + else { + t1 = type$.dynamic; + t1 = new T._$$DesignMainDomainMovingProps$PlainMap(P.LinkedHashMap_LinkedHashMap$_empty(t1, t1), _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null); + t1.get$$$isClassGenerated(); + t1._design_main_domain_moving$_props = backingMap; + return t1; + } + }, + _$$DesignMainDomainMovingProps$JsMap$: function(backingMap) { + var _null = null, + t1 = new T._$$DesignMainDomainMovingProps$JsMap(new L.JsBackedMap({}), _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null); + t1.get$$$isClassGenerated(); + t1._design_main_domain_moving$_props = backingMap == null ? new L.JsBackedMap({}) : backingMap; + return t1; + }, + DesignMainDomainMovingPropsMixin: function DesignMainDomainMovingPropsMixin() { + }, + DesignMainDomainMovingComponent: function DesignMainDomainMovingComponent() { + }, + $DesignMainDomainMovingComponentFactory_closure: function $DesignMainDomainMovingComponentFactory_closure() { + }, + _$$DesignMainDomainMovingProps: function _$$DesignMainDomainMovingProps() { + }, + _$$DesignMainDomainMovingProps$PlainMap: function _$$DesignMainDomainMovingProps$PlainMap(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18) { + var _ = this; + _._design_main_domain_moving$_props = t0; + _.TransformByHelixGroupPropsMixin_helices = t1; + _.TransformByHelixGroupPropsMixin_groups = t2; + _.TransformByHelixGroupPropsMixin_geometry = t3; + _.DesignMainDomainMovingPropsMixin_domain_moved = t4; + _.DesignMainDomainMovingPropsMixin_color = t5; + _.DesignMainDomainMovingPropsMixin_original_group = t6; + _.DesignMainDomainMovingPropsMixin_current_group = t7; + _.DesignMainDomainMovingPropsMixin_side_selected_helix_idxs = t8; + _.DesignMainDomainMovingPropsMixin_delta_view_order = t9; + _.DesignMainDomainMovingPropsMixin_delta_offset = t10; + _.DesignMainDomainMovingPropsMixin_delta_forward = t11; + _.DesignMainDomainMovingPropsMixin_allowable = t12; + _.DesignMainDomainMovingPropsMixin_helices = t13; + _.DesignMainDomainMovingPropsMixin_groups = t14; + _.DesignMainDomainMovingPropsMixin_geometry = t15; + _.DesignMainDomainMovingPropsMixin_domain_helix_svg_position_y = t16; + _.componentFactory = null; + _.UbiquitousDomPropsMixin__aria = t17; + _.UbiquitousDomPropsMixin__dom = t18; + }, + _$$DesignMainDomainMovingProps$JsMap: function _$$DesignMainDomainMovingProps$JsMap(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18) { + var _ = this; + _._design_main_domain_moving$_props = t0; + _.TransformByHelixGroupPropsMixin_helices = t1; + _.TransformByHelixGroupPropsMixin_groups = t2; + _.TransformByHelixGroupPropsMixin_geometry = t3; + _.DesignMainDomainMovingPropsMixin_domain_moved = t4; + _.DesignMainDomainMovingPropsMixin_color = t5; + _.DesignMainDomainMovingPropsMixin_original_group = t6; + _.DesignMainDomainMovingPropsMixin_current_group = t7; + _.DesignMainDomainMovingPropsMixin_side_selected_helix_idxs = t8; + _.DesignMainDomainMovingPropsMixin_delta_view_order = t9; + _.DesignMainDomainMovingPropsMixin_delta_offset = t10; + _.DesignMainDomainMovingPropsMixin_delta_forward = t11; + _.DesignMainDomainMovingPropsMixin_allowable = t12; + _.DesignMainDomainMovingPropsMixin_helices = t13; + _.DesignMainDomainMovingPropsMixin_groups = t14; + _.DesignMainDomainMovingPropsMixin_geometry = t15; + _.DesignMainDomainMovingPropsMixin_domain_helix_svg_position_y = t16; + _.componentFactory = null; + _.UbiquitousDomPropsMixin__aria = t17; + _.UbiquitousDomPropsMixin__dom = t18; + }, + _$DesignMainDomainMovingComponent: function _$DesignMainDomainMovingComponent(t0) { + var _ = this; + _._design_main_domain_moving$_cachedTypedProps = null; + _.DisposableManagerProxy__disposableProxy = t0; + _.jsThis = _.state = _.props = null; + }, + $DesignMainDomainMovingPropsMixin: function $DesignMainDomainMovingPropsMixin() { + }, + _DesignMainDomainMovingComponent_UiComponent2_PureComponent: function _DesignMainDomainMovingComponent_UiComponent2_PureComponent() { + }, + _DesignMainDomainMovingComponent_UiComponent2_PureComponent_TransformByHelixGroup: function _DesignMainDomainMovingComponent_UiComponent2_PureComponent_TransformByHelixGroup() { + }, + __$$DesignMainDomainMovingProps_UiProps_DesignMainDomainMovingPropsMixin: function __$$DesignMainDomainMovingProps_UiProps_DesignMainDomainMovingPropsMixin() { + }, + __$$DesignMainDomainMovingProps_UiProps_DesignMainDomainMovingPropsMixin_$DesignMainDomainMovingPropsMixin: function __$$DesignMainDomainMovingProps_UiProps_DesignMainDomainMovingPropsMixin_$DesignMainDomainMovingPropsMixin() { + }, + __$$DesignMainDomainMovingProps_UiProps_DesignMainDomainMovingPropsMixin_$DesignMainDomainMovingPropsMixin_TransformByHelixGroupPropsMixin: function __$$DesignMainDomainMovingProps_UiProps_DesignMainDomainMovingPropsMixin_$DesignMainDomainMovingPropsMixin_TransformByHelixGroupPropsMixin() { + }, + __$$DesignMainDomainMovingProps_UiProps_DesignMainDomainMovingPropsMixin_$DesignMainDomainMovingPropsMixin_TransformByHelixGroupPropsMixin_$TransformByHelixGroupPropsMixin: function __$$DesignMainDomainMovingProps_UiProps_DesignMainDomainMovingPropsMixin_$DesignMainDomainMovingPropsMixin_TransformByHelixGroupPropsMixin_$TransformByHelixGroupPropsMixin() { + }, + _$DesignMainHelix: function(backingProps) { + type$.legacy_Map_dynamic_dynamic._as(backingProps); + return backingProps == null ? T._$$DesignMainHelixProps$JsMap$(new L.JsBackedMap({})) : T._$$DesignMainHelixProps__$$DesignMainHelixProps(backingProps); + }, + _$$DesignMainHelixProps__$$DesignMainHelixProps: function(backingMap) { + var t1, _null = null; + if (backingMap instanceof L.JsBackedMap) + return T._$$DesignMainHelixProps$JsMap$(backingMap); + else { + t1 = type$.dynamic; + t1 = new T._$$DesignMainHelixProps$PlainMap(P.LinkedHashMap_LinkedHashMap$_empty(t1, t1), _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null); + t1.get$$$isClassGenerated(); + t1._design_main_helix$_props = backingMap; + return t1; + } + }, + _$$DesignMainHelixProps$JsMap$: function(backingMap) { + var _null = null, + t1 = new T._$$DesignMainHelixProps$JsMap(new L.JsBackedMap({}), _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null); + t1.get$$$isClassGenerated(); + t1._design_main_helix$_props = backingMap == null ? new L.JsBackedMap({}) : backingMap; + return t1; + }, + DesignMainHelixProps: function DesignMainHelixProps() { + }, + DesignMainHelixComponent: function DesignMainHelixComponent() { + }, + DesignMainHelixComponent_render_closure: function DesignMainHelixComponent_render_closure(t0) { + this.$this = t0; + }, + DesignMainHelixComponent_render_closure0: function DesignMainHelixComponent_render_closure0(t0) { + this.$this = t0; + }, + DesignMainHelixComponent_render_closure1: function DesignMainHelixComponent_render_closure1(t0, t1) { + this.$this = t0; + this.geometry = t1; + }, + DesignMainHelixComponent_render_closure2: function DesignMainHelixComponent_render_closure2() { + }, + DesignMainHelixComponent_render_closure3: function DesignMainHelixComponent_render_closure3(t0) { + this.$this = t0; + }, + DesignMainHelixComponent_render_closure4: function DesignMainHelixComponent_render_closure4(t0) { + this.$this = t0; + }, + $DesignMainHelixComponentFactory_closure: function $DesignMainHelixComponentFactory_closure() { + }, + _$$DesignMainHelixProps: function _$$DesignMainHelixProps() { + }, + _$$DesignMainHelixProps$PlainMap: function _$$DesignMainHelixProps$PlainMap(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15) { + var _ = this; + _._design_main_helix$_props = t0; + _.DesignMainHelixProps_helix = t1; + _.DesignMainHelixProps_selected = t2; + _.DesignMainHelixProps_view_order = t3; + _.DesignMainHelixProps_strand_create_enabled = t4; + _.DesignMainHelixProps_major_tick_offset_font_size = t5; + _.DesignMainHelixProps_major_tick_width_font_size = t6; + _.DesignMainHelixProps_helix_change_apply_to_all = t7; + _.DesignMainHelixProps_show_dna = t8; + _.DesignMainHelixProps_show_domain_labels = t9; + _.DesignMainHelixProps_display_base_offsets_of_major_ticks = t10; + _.DesignMainHelixProps_display_major_tick_widths = t11; + _.DesignMainHelixProps_show_helix_circles = t12; + _.DesignMainHelixProps_helix_svg_position = t13; + _.componentFactory = null; + _.UbiquitousDomPropsMixin__aria = t14; + _.UbiquitousDomPropsMixin__dom = t15; + }, + _$$DesignMainHelixProps$JsMap: function _$$DesignMainHelixProps$JsMap(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15) { + var _ = this; + _._design_main_helix$_props = t0; + _.DesignMainHelixProps_helix = t1; + _.DesignMainHelixProps_selected = t2; + _.DesignMainHelixProps_view_order = t3; + _.DesignMainHelixProps_strand_create_enabled = t4; + _.DesignMainHelixProps_major_tick_offset_font_size = t5; + _.DesignMainHelixProps_major_tick_width_font_size = t6; + _.DesignMainHelixProps_helix_change_apply_to_all = t7; + _.DesignMainHelixProps_show_dna = t8; + _.DesignMainHelixProps_show_domain_labels = t9; + _.DesignMainHelixProps_display_base_offsets_of_major_ticks = t10; + _.DesignMainHelixProps_display_major_tick_widths = t11; + _.DesignMainHelixProps_show_helix_circles = t12; + _.DesignMainHelixProps_helix_svg_position = t13; + _.componentFactory = null; + _.UbiquitousDomPropsMixin__aria = t14; + _.UbiquitousDomPropsMixin__dom = t15; + }, + _$DesignMainHelixComponent: function _$DesignMainHelixComponent(t0) { + var _ = this; + _._design_main_helix$_cachedTypedProps = null; + _.DisposableManagerProxy__disposableProxy = t0; + _.jsThis = _.state = _.props = null; + }, + $DesignMainHelixProps: function $DesignMainHelixProps() { + }, + _DesignMainHelixComponent_UiComponent2_PureComponent: function _DesignMainHelixComponent_UiComponent2_PureComponent() { + }, + __$$DesignMainHelixProps_UiProps_DesignMainHelixProps: function __$$DesignMainHelixProps_UiProps_DesignMainHelixProps() { + }, + __$$DesignMainHelixProps_UiProps_DesignMainHelixProps_$DesignMainHelixProps: function __$$DesignMainHelixProps_UiProps_DesignMainHelixProps_$DesignMainHelixProps() { + }, + _$ExtensionEndMoving: function(backingProps) { + type$.legacy_Map_dynamic_dynamic._as(backingProps); + return backingProps == null ? T._$$ExtensionEndMovingProps$JsMap$(new L.JsBackedMap({})) : T._$$ExtensionEndMovingProps__$$ExtensionEndMovingProps(backingProps); + }, + _$$ExtensionEndMovingProps__$$ExtensionEndMovingProps: function(backingMap) { + var t1, _null = null; + if (backingMap instanceof L.JsBackedMap) + return T._$$ExtensionEndMovingProps$JsMap$(backingMap); + else { + t1 = type$.dynamic; + t1 = new T._$$ExtensionEndMovingProps$PlainMap(P.LinkedHashMap_LinkedHashMap$_empty(t1, t1), _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null); + t1.get$$$isClassGenerated(); + t1._design_main_strand_dna_extension_end_moving$_props = backingMap; + return t1; + } + }, + _$$ExtensionEndMovingProps$JsMap$: function(backingMap) { + var _null = null, + t1 = new T._$$ExtensionEndMovingProps$JsMap(new L.JsBackedMap({}), _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null); + t1.get$$$isClassGenerated(); + t1._design_main_strand_dna_extension_end_moving$_props = backingMap == null ? new L.JsBackedMap({}) : backingMap; + return t1; + }, + ConnectedExtensionEndMoving_closure: function ConnectedExtensionEndMoving_closure() { + }, + ExtensionEndMovingProps: function ExtensionEndMovingProps() { + }, + ExtensionEndMovingComponent: function ExtensionEndMovingComponent() { + }, + $ExtensionEndMovingComponentFactory_closure: function $ExtensionEndMovingComponentFactory_closure() { + }, + _$$ExtensionEndMovingProps: function _$$ExtensionEndMovingProps() { + }, + _$$ExtensionEndMovingProps$PlainMap: function _$$ExtensionEndMovingProps$PlainMap(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14) { + var _ = this; + _._design_main_strand_dna_extension_end_moving$_props = t0; + _.ExtensionEndMovingProps_dna_end = t1; + _.ExtensionEndMovingProps_ext = t2; + _.ExtensionEndMovingProps_geometry = t3; + _.ExtensionEndMovingProps_attached_end_svg = t4; + _.ExtensionEndMovingProps_helix = t5; + _.ExtensionEndMovingProps_group = t6; + _.ExtensionEndMovingProps_color = t7; + _.ExtensionEndMovingProps_forward = t8; + _.ExtensionEndMovingProps_is_5p = t9; + _.ExtensionEndMovingProps_allowable = t10; + _.ExtensionEndMovingProps_current_point = t11; + _.ExtensionEndMovingProps_render = t12; + _.componentFactory = null; + _.UbiquitousDomPropsMixin__aria = t13; + _.UbiquitousDomPropsMixin__dom = t14; + }, + _$$ExtensionEndMovingProps$JsMap: function _$$ExtensionEndMovingProps$JsMap(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14) { + var _ = this; + _._design_main_strand_dna_extension_end_moving$_props = t0; + _.ExtensionEndMovingProps_dna_end = t1; + _.ExtensionEndMovingProps_ext = t2; + _.ExtensionEndMovingProps_geometry = t3; + _.ExtensionEndMovingProps_attached_end_svg = t4; + _.ExtensionEndMovingProps_helix = t5; + _.ExtensionEndMovingProps_group = t6; + _.ExtensionEndMovingProps_color = t7; + _.ExtensionEndMovingProps_forward = t8; + _.ExtensionEndMovingProps_is_5p = t9; + _.ExtensionEndMovingProps_allowable = t10; + _.ExtensionEndMovingProps_current_point = t11; + _.ExtensionEndMovingProps_render = t12; + _.componentFactory = null; + _.UbiquitousDomPropsMixin__aria = t13; + _.UbiquitousDomPropsMixin__dom = t14; + }, + _$ExtensionEndMovingComponent: function _$ExtensionEndMovingComponent(t0) { + var _ = this; + _._design_main_strand_dna_extension_end_moving$_cachedTypedProps = null; + _.DisposableManagerProxy__disposableProxy = t0; + _.jsThis = _.state = _.props = null; + }, + $ExtensionEndMovingProps: function $ExtensionEndMovingProps() { + }, + __$$ExtensionEndMovingProps_UiProps_ExtensionEndMovingProps: function __$$ExtensionEndMovingProps_UiProps_ExtensionEndMovingProps() { + }, + __$$ExtensionEndMovingProps_UiProps_ExtensionEndMovingProps_$ExtensionEndMovingProps: function __$$ExtensionEndMovingProps_UiProps_ExtensionEndMovingProps_$ExtensionEndMovingProps() { + }, + _$DesignMainDomain: function(backingProps) { + type$.legacy_Map_dynamic_dynamic._as(backingProps); + return backingProps == null ? T._$$DesignMainDomainProps$JsMap$(new L.JsBackedMap({})) : T._$$DesignMainDomainProps__$$DesignMainDomainProps(backingProps); + }, + _$$DesignMainDomainProps__$$DesignMainDomainProps: function(backingMap) { + var t1, _null = null; + if (backingMap instanceof L.JsBackedMap) + return T._$$DesignMainDomainProps$JsMap$(backingMap); + else { + t1 = type$.dynamic; + t1 = new T._$$DesignMainDomainProps$PlainMap(P.LinkedHashMap_LinkedHashMap$_empty(t1, t1), _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null); + t1.get$$$isClassGenerated(); + t1._design_main_strand_domain$_props = backingMap; + return t1; + } + }, + _$$DesignMainDomainProps$JsMap$: function(backingMap) { + var _null = null, + t1 = new T._$$DesignMainDomainProps$JsMap(new L.JsBackedMap({}), _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null); + t1.get$$$isClassGenerated(); + t1._design_main_strand_domain$_props = backingMap == null ? new L.JsBackedMap({}) : backingMap; + return t1; + }, + DesignMainDomainPropsMixin: function DesignMainDomainPropsMixin() { + }, + DesignMainDomainComponent: function DesignMainDomainComponent() { + }, + DesignMainDomainComponent_render_closure: function DesignMainDomainComponent_render_closure() { + }, + DesignMainDomainComponent_render_closure0: function DesignMainDomainComponent_render_closure0(t0) { + this.$this = t0; + }, + DesignMainDomainComponent_render_closure1: function DesignMainDomainComponent_render_closure1(t0) { + this.$this = t0; + }, + $DesignMainDomainComponentFactory_closure: function $DesignMainDomainComponentFactory_closure() { + }, + _$$DesignMainDomainProps: function _$$DesignMainDomainProps() { + }, + _$$DesignMainDomainProps$PlainMap: function _$$DesignMainDomainProps$PlainMap(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18) { + var _ = this; + _._design_main_strand_domain$_props = t0; + _.TransformByHelixGroupPropsMixin_helices = t1; + _.TransformByHelixGroupPropsMixin_groups = t2; + _.TransformByHelixGroupPropsMixin_geometry = t3; + _.DesignMainDomainPropsMixin_domain = t4; + _.DesignMainDomainPropsMixin_strand_color = t5; + _.DesignMainDomainPropsMixin_helix = t6; + _.DesignMainDomainPropsMixin_strand_tooltip = t7; + _.DesignMainDomainPropsMixin_strand = t8; + _.DesignMainDomainPropsMixin_transform = t9; + _.DesignMainDomainPropsMixin_helix_svg_position = t10; + _.DesignMainDomainPropsMixin_context_menu_strand = t11; + _.DesignMainDomainPropsMixin_selected = t12; + _.DesignMainDomainPropsMixin_helices = t13; + _.DesignMainDomainPropsMixin_groups = t14; + _.DesignMainDomainPropsMixin_geometry = t15; + _.DesignMainDomainPropsMixin_retain_strand_color_on_selection = t16; + _.componentFactory = null; + _.UbiquitousDomPropsMixin__aria = t17; + _.UbiquitousDomPropsMixin__dom = t18; + }, + _$$DesignMainDomainProps$JsMap: function _$$DesignMainDomainProps$JsMap(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18) { + var _ = this; + _._design_main_strand_domain$_props = t0; + _.TransformByHelixGroupPropsMixin_helices = t1; + _.TransformByHelixGroupPropsMixin_groups = t2; + _.TransformByHelixGroupPropsMixin_geometry = t3; + _.DesignMainDomainPropsMixin_domain = t4; + _.DesignMainDomainPropsMixin_strand_color = t5; + _.DesignMainDomainPropsMixin_helix = t6; + _.DesignMainDomainPropsMixin_strand_tooltip = t7; + _.DesignMainDomainPropsMixin_strand = t8; + _.DesignMainDomainPropsMixin_transform = t9; + _.DesignMainDomainPropsMixin_helix_svg_position = t10; + _.DesignMainDomainPropsMixin_context_menu_strand = t11; + _.DesignMainDomainPropsMixin_selected = t12; + _.DesignMainDomainPropsMixin_helices = t13; + _.DesignMainDomainPropsMixin_groups = t14; + _.DesignMainDomainPropsMixin_geometry = t15; + _.DesignMainDomainPropsMixin_retain_strand_color_on_selection = t16; + _.componentFactory = null; + _.UbiquitousDomPropsMixin__aria = t17; + _.UbiquitousDomPropsMixin__dom = t18; + }, + _$DesignMainDomainComponent: function _$DesignMainDomainComponent(t0) { + var _ = this; + _._design_main_strand_domain$_cachedTypedProps = null; + _.DisposableManagerProxy__disposableProxy = t0; + _.jsThis = _.state = _.props = null; + }, + $DesignMainDomainPropsMixin: function $DesignMainDomainPropsMixin() { + }, + _DesignMainDomainComponent_UiComponent2_PureComponent: function _DesignMainDomainComponent_UiComponent2_PureComponent() { + }, + _DesignMainDomainComponent_UiComponent2_PureComponent_TransformByHelixGroup: function _DesignMainDomainComponent_UiComponent2_PureComponent_TransformByHelixGroup() { + }, + __$$DesignMainDomainProps_UiProps_DesignMainDomainPropsMixin: function __$$DesignMainDomainProps_UiProps_DesignMainDomainPropsMixin() { + }, + __$$DesignMainDomainProps_UiProps_DesignMainDomainPropsMixin_$DesignMainDomainPropsMixin: function __$$DesignMainDomainProps_UiProps_DesignMainDomainPropsMixin_$DesignMainDomainPropsMixin() { + }, + __$$DesignMainDomainProps_UiProps_DesignMainDomainPropsMixin_$DesignMainDomainPropsMixin_TransformByHelixGroupPropsMixin: function __$$DesignMainDomainProps_UiProps_DesignMainDomainPropsMixin_$DesignMainDomainPropsMixin_TransformByHelixGroupPropsMixin() { + }, + __$$DesignMainDomainProps_UiProps_DesignMainDomainPropsMixin_$DesignMainDomainPropsMixin_TransformByHelixGroupPropsMixin_$TransformByHelixGroupPropsMixin: function __$$DesignMainDomainProps_UiProps_DesignMainDomainPropsMixin_$DesignMainDomainPropsMixin_TransformByHelixGroupPropsMixin_$TransformByHelixGroupPropsMixin() { + }, + _$DesignMainStrandMoving: function(backingProps) { + type$.legacy_Map_dynamic_dynamic._as(backingProps); + return backingProps == null ? T._$$DesignMainStrandMovingProps$JsMap$(new L.JsBackedMap({})) : T._$$DesignMainStrandMovingProps__$$DesignMainStrandMovingProps(backingProps); + }, + _$$DesignMainStrandMovingProps__$$DesignMainStrandMovingProps: function(backingMap) { + var t1, _null = null; + if (backingMap instanceof L.JsBackedMap) + return T._$$DesignMainStrandMovingProps$JsMap$(backingMap); + else { + t1 = type$.dynamic; + t1 = new T._$$DesignMainStrandMovingProps$PlainMap(P.LinkedHashMap_LinkedHashMap$_empty(t1, t1), _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null); + t1.get$$$isClassGenerated(); + t1._design_main_strand_moving$_props = backingMap; + return t1; + } + }, + _$$DesignMainStrandMovingProps$JsMap$: function(backingMap) { + var _null = null, + t1 = new T._$$DesignMainStrandMovingProps$JsMap(new L.JsBackedMap({}), _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null); + t1.get$$$isClassGenerated(); + t1._design_main_strand_moving$_props = backingMap == null ? new L.JsBackedMap({}) : backingMap; + return t1; + }, + DesignMainStrandMovingPropsMixin: function DesignMainStrandMovingPropsMixin() { + }, + DesignMainStrandMovingComponent: function DesignMainStrandMovingComponent() { + }, + $DesignMainStrandMovingComponentFactory_closure: function $DesignMainStrandMovingComponentFactory_closure() { + }, + _$$DesignMainStrandMovingProps: function _$$DesignMainStrandMovingProps() { + }, + _$$DesignMainStrandMovingProps$PlainMap: function _$$DesignMainStrandMovingProps$PlainMap(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17) { + var _ = this; + _._design_main_strand_moving$_props = t0; + _.TransformByHelixGroupPropsMixin_helices = t1; + _.TransformByHelixGroupPropsMixin_groups = t2; + _.TransformByHelixGroupPropsMixin_geometry = t3; + _.DesignMainStrandMovingPropsMixin_strand = t4; + _.DesignMainStrandMovingPropsMixin_original_helices_view_order_inverse = t5; + _.DesignMainStrandMovingPropsMixin_current_group = t6; + _.DesignMainStrandMovingPropsMixin_side_selected_helix_idxs = t7; + _.DesignMainStrandMovingPropsMixin_delta_view_order = t8; + _.DesignMainStrandMovingPropsMixin_delta_offset = t9; + _.DesignMainStrandMovingPropsMixin_delta_forward = t10; + _.DesignMainStrandMovingPropsMixin_allowable = t11; + _.DesignMainStrandMovingPropsMixin_helices = t12; + _.DesignMainStrandMovingPropsMixin_groups = t13; + _.DesignMainStrandMovingPropsMixin_geometry = t14; + _.DesignMainStrandMovingPropsMixin_helix_idx_to_svg_position_map = t15; + _.componentFactory = null; + _.UbiquitousDomPropsMixin__aria = t16; + _.UbiquitousDomPropsMixin__dom = t17; + }, + _$$DesignMainStrandMovingProps$JsMap: function _$$DesignMainStrandMovingProps$JsMap(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17) { + var _ = this; + _._design_main_strand_moving$_props = t0; + _.TransformByHelixGroupPropsMixin_helices = t1; + _.TransformByHelixGroupPropsMixin_groups = t2; + _.TransformByHelixGroupPropsMixin_geometry = t3; + _.DesignMainStrandMovingPropsMixin_strand = t4; + _.DesignMainStrandMovingPropsMixin_original_helices_view_order_inverse = t5; + _.DesignMainStrandMovingPropsMixin_current_group = t6; + _.DesignMainStrandMovingPropsMixin_side_selected_helix_idxs = t7; + _.DesignMainStrandMovingPropsMixin_delta_view_order = t8; + _.DesignMainStrandMovingPropsMixin_delta_offset = t9; + _.DesignMainStrandMovingPropsMixin_delta_forward = t10; + _.DesignMainStrandMovingPropsMixin_allowable = t11; + _.DesignMainStrandMovingPropsMixin_helices = t12; + _.DesignMainStrandMovingPropsMixin_groups = t13; + _.DesignMainStrandMovingPropsMixin_geometry = t14; + _.DesignMainStrandMovingPropsMixin_helix_idx_to_svg_position_map = t15; + _.componentFactory = null; + _.UbiquitousDomPropsMixin__aria = t16; + _.UbiquitousDomPropsMixin__dom = t17; + }, + _$DesignMainStrandMovingComponent: function _$DesignMainStrandMovingComponent(t0) { + var _ = this; + _._design_main_strand_moving$_cachedTypedProps = null; + _.DisposableManagerProxy__disposableProxy = t0; + _.jsThis = _.state = _.props = null; + }, + $DesignMainStrandMovingPropsMixin: function $DesignMainStrandMovingPropsMixin() { + }, + _DesignMainStrandMovingComponent_UiComponent2_PureComponent: function _DesignMainStrandMovingComponent_UiComponent2_PureComponent() { + }, + _DesignMainStrandMovingComponent_UiComponent2_PureComponent_TransformByHelixGroup: function _DesignMainStrandMovingComponent_UiComponent2_PureComponent_TransformByHelixGroup() { + }, + __$$DesignMainStrandMovingProps_UiProps_DesignMainStrandMovingPropsMixin: function __$$DesignMainStrandMovingProps_UiProps_DesignMainStrandMovingPropsMixin() { + }, + __$$DesignMainStrandMovingProps_UiProps_DesignMainStrandMovingPropsMixin_$DesignMainStrandMovingPropsMixin: function __$$DesignMainStrandMovingProps_UiProps_DesignMainStrandMovingPropsMixin_$DesignMainStrandMovingPropsMixin() { + }, + __$$DesignMainStrandMovingProps_UiProps_DesignMainStrandMovingPropsMixin_$DesignMainStrandMovingPropsMixin_TransformByHelixGroupPropsMixin: function __$$DesignMainStrandMovingProps_UiProps_DesignMainStrandMovingPropsMixin_$DesignMainStrandMovingPropsMixin_TransformByHelixGroupPropsMixin() { + }, + __$$DesignMainStrandMovingProps_UiProps_DesignMainStrandMovingPropsMixin_$DesignMainStrandMovingPropsMixin_TransformByHelixGroupPropsMixin_$TransformByHelixGroupPropsMixin: function __$$DesignMainStrandMovingProps_UiProps_DesignMainStrandMovingPropsMixin_$DesignMainStrandMovingPropsMixin_TransformByHelixGroupPropsMixin_$TransformByHelixGroupPropsMixin() { + }, + _textReplace: function(match) { + switch (match.group$1(0)) { + case "<": + return "<"; + case "&": + return "&"; + case "]]>": + return "]]>"; + } + throw H.wrapException(P.ArgumentError$value(match, "match", null)); + }, + _singeQuoteAttributeReplace: function(match) { + switch (match.group$1(0)) { + case "'": + return "'"; + case "&": + return "&"; + case "<": + return "<"; + case "\n": + return " "; + case "\r": + return " "; + case "\t": + return " "; + } + throw H.wrapException(P.ArgumentError$value(match, "match", null)); + }, + _doubleQuoteAttributeReplace: function(match) { + switch (match.group$1(0)) { + case '"': + return """; + case "&": + return "&"; + case "<": + return "<"; + case "\n": + return " "; + case "\r": + return " "; + case "\t": + return " "; + } + throw H.wrapException(P.ArgumentError$value(match, "match", null)); + }, + XmlDefaultEntityMapping: function XmlDefaultEntityMapping() { + }, + XmlParserException$: function(message, buffer, column, line, position) { + return new T.XmlParserException(buffer, position, line, column, message); + }, + XmlNodeTypeException_checkValidType: function(node, types) { + if (!types.contains$1(0, node.get$nodeType(node))) + throw H.wrapException(new T.XmlNodeTypeException("Expected node of type: " + types.toString$0(0))); + }, + XmlNodeTypeException$: function(message) { + return new T.XmlNodeTypeException(message); + }, + XmlParentException$: function(message) { + return new T.XmlParentException(message); + }, + XmlException: function XmlException() { + }, + XmlParserException: function XmlParserException(t0, t1, t2, t3, t4) { + var _ = this; + _.buffer = t0; + _.position = t1; + _.line = t2; + _.column = t3; + _.message = t4; + }, + XmlNodeTypeException: function XmlNodeTypeException(t0) { + this.message = t0; + }, + XmlParentException: function XmlParentException(t0) { + this.message = t0; + }, + dna_extensions_move_start_middleware: function(store, action, next) { + var t1, selected_ends, moves, design, t2, t3, t4, extension, t5, t6, helix, t7, end_offset, extension_attached_end_svg, translate_svg, t8, t9, t10, extension_start_point, extension_end_point, color, move, strands_affected, _i; + type$.legacy_Store_legacy_AppState._as(store); + type$.legacy_dynamic_Function_dynamic._as(next); + if (action instanceof U.DNAExtensionsMoveStart) { + t1 = store.get$state(store).ui_state.selectables_store; + selected_ends = t1.__selected_dna_ends_on_extensions; + if (selected_ends == null) { + selected_ends = E.SelectablesStore.prototype.get$selected_dna_ends_on_extensions.call(t1); + t1.set$__selected_dna_ends_on_extensions(selected_ends); + } + moves = H.setRuntimeTypeInfo([], type$.JSArray_legacy_DNAExtensionMove); + design = store.get$state(store).design; + for (t1 = selected_ends._set, t1 = t1.get$iterator(t1), t2 = type$.Point_legacy_num; t1.moveNext$0();) { + t3 = t1.get$current(t1); + t4 = design.__end_to_extension; + if (t4 == null) { + t4 = N.Design.prototype.get$end_to_extension.call(design); + design.set$__end_to_extension(t4); + } + extension = J.$index$asx(t4._map$_map, t3); + t4 = design.helices; + t5 = extension.adjacent_domain; + t6 = t5.helix; + helix = J.$index$asx(t4._map$_map, t6); + t4 = store.get$state(store); + t7 = t4.__helix_idx_to_svg_position_map; + if (t7 == null) { + t7 = T.AppState.prototype.get$helix_idx_to_svg_position_map.call(t4); + t4.set$__helix_idx_to_svg_position_map(t7); + t4 = t7; + } else + t4 = t7; + t6 = J.$index$asx(t4._map$_map, t6).y; + if (H.boolConversionCheck(extension.is_5p)) { + t4 = t5.__offset_5p; + if (t4 == null) { + t4 = G.Domain.prototype.get$offset_5p.call(t5); + t5.__offset_5p = t4; + end_offset = t4; + } else + end_offset = t4; + } else { + t4 = t5.__offset_3p; + if (t4 == null) { + t4 = G.Domain.prototype.get$offset_3p.call(t5); + t5.__offset_3p = t4; + end_offset = t4; + } else + end_offset = t4; + } + extension_attached_end_svg = helix.svg_base_pos$3(end_offset, t5.forward, t6); + t4 = design.groups; + t6 = helix.group; + t6 = J.$index$asx(t4._map$_map, t6); + t4 = design.geometry; + t6 = t6.position; + t7 = t4.__nm_to_svg_pixels; + if (t7 == null) + t7 = t4.__nm_to_svg_pixels = N.Geometry.prototype.get$nm_to_svg_pixels.call(t4); + translate_svg = X.Position3D_Position3D(t6.x * t7, t6.y * t7, t6.z * t7); + t7 = translate_svg.z; + t6 = translate_svg.y; + t8 = extension_attached_end_svg.$ti; + t8._as(new P.Point(t7, t6, t2)); + t9 = extension_attached_end_svg.x; + if (typeof t9 !== "number") + return t9.$add(); + t10 = t8._precomputed1; + t7 = t10._as(t9 + t7); + t9 = extension_attached_end_svg.y; + if (typeof t9 !== "number") + return t9.$add(); + extension_start_point = new P.Point(t7, t10._as(t9 + t6), t8); + extension_end_point = E.compute_extension_free_end_svg(extension_start_point, extension, t5, t4); + t4 = design.__substrand_to_strand; + if (t4 == null) { + t4 = N.Design.prototype.get$substrand_to_strand.call(design); + design.set$__substrand_to_strand(t4); + } + t5 = design.__end_to_extension; + if (t5 == null) { + t5 = N.Design.prototype.get$end_to_extension.call(design); + design.set$__end_to_extension(t5); + } + t5 = J.$index$asx(t5._map$_map, t3); + color = J.$index$asx(t4._map$_map, t5).color; + move = new K._$DNAExtensionMove(t3, color, extension_end_point, extension_start_point, extension); + move._$DNAExtensionMove$_$5$attached_end_position$color$dna_end$extension$original_position(extension_start_point, color, t3, extension, extension_end_point); + C.JSArray_methods.add$1(moves, move); + } + t1 = type$.legacy_Strand; + strands_affected = P.LinkedHashSet_LinkedHashSet$_empty(t1); + for (t2 = moves.length, _i = 0; _i < moves.length; moves.length === t2 || (0, H.throwConcurrentModificationError)(moves), ++_i) { + t3 = moves[_i].dna_end; + t4 = design.__substrand_to_strand; + if (t4 == null) { + t4 = N.Design.prototype.get$substrand_to_strand.call(design); + design.set$__substrand_to_strand(t4); + } + t5 = design.__end_to_extension; + if (t5 == null) { + t5 = N.Design.prototype.get$end_to_extension.call(design); + design.set$__end_to_extension(t5); + } + t3 = J.$index$asx(t5._map$_map, t3); + strands_affected.add$1(0, J.$index$asx(t4._map$_map, t3)); + } + next.call$1(action); + t2 = $.app; + t3 = action.start_point; + t4 = D.BuiltList_BuiltList$of(moves, type$.legacy_DNAExtensionMove); + t1 = X.BuiltSet_BuiltSet$of(strands_affected, t1); + t2.dispatch$1(U._$DNAExtensionsMoveSetSelectedExtensionEnds$_(action.helix, t4, t3, t1)); + } else + next.call$1(action); + }, + reselect_moved_domains_middleware: function(store, action, next) { + var t1, old_design, domains_move, addresses, new_address_helix_idx, new_helix, t2, t3, new_helices_view_order, old_helices_view_order_inverse, t4, t5, t6, t7, t8, t9, t10, old_5p_end, old_helix_view_order, t11, t12, t13, t14, new_helix_idx, new_domains, new_design, address_to_domain, _i; + type$.legacy_Store_legacy_AppState._as(store); + type$.legacy_dynamic_Function_dynamic._as(next); + if (action instanceof U.DomainsMoveCommit) { + t1 = J.get$length$asx(action.domains_move.domains_moving._list); + if (typeof t1 !== "number") + return t1.$gt(); + t1 = t1 > 1; + } else + t1 = false; + if (t1) { + old_design = store.get$state(store).design; + domains_move = action.domains_move; + if (!(Q.in_bounds0(old_design, domains_move) && Q.is_allowable0(old_design, domains_move) && !domains_move.original_address.$eq(0, domains_move.current_address))) + return; + addresses = H.setRuntimeTypeInfo([], type$.JSArray_legacy_Address); + t1 = domains_move.current_address; + new_address_helix_idx = t1.helix_idx; + new_helix = J.$index$asx(old_design.helices._map$_map, new_address_helix_idx); + t2 = old_design.groups; + t3 = new_helix.group; + new_helices_view_order = J.$index$asx(t2._map$_map, t3).helices_view_order; + old_helices_view_order_inverse = domains_move.original_helices_view_order_inverse; + for (t2 = J.get$iterator$ax(domains_move.domains_moving._list), t3 = t1.offset, t4 = domains_move.original_address, t5 = t4.offset, t1 = t1.forward != t4.forward, t6 = domains_move.helices, t4 = t4.helix_idx, t7 = domains_move.groups; t2.moveNext$0();) { + t8 = t2.get$current(t2); + t9 = t8.forward; + if (t9) { + t10 = t8.__dnaend_start; + if (t10 == null) { + t10 = G.Domain.prototype.get$dnaend_start.call(t8); + t8.__dnaend_start = t10; + old_5p_end = t10; + } else + old_5p_end = t10; + } else { + t10 = t8.__dnaend_end; + if (t10 == null) { + t10 = G.Domain.prototype.get$dnaend_end.call(t8); + t8.__dnaend_end = t10; + old_5p_end = t10; + } else + old_5p_end = t10; + } + t8 = t8.helix; + old_helix_view_order = J.$index$asx(old_helices_view_order_inverse._map$_map, t8); + t8 = t6._map$_map; + t10 = J.getInterceptor$asx(t8); + t11 = t10.$index(t8, new_address_helix_idx).group; + t12 = t7._map$_map; + t13 = J.getInterceptor$asx(t12); + t11 = t13.$index(t12, t11); + t14 = t11.__helices_view_order_inverse; + if (t14 == null) { + t14 = O.HelixGroup.prototype.get$helices_view_order_inverse.call(t11); + t11.set$__helices_view_order_inverse(t14); + t11 = t14; + } else + t11 = t14; + t11 = J.$index$asx(t11._map$_map, t10.$index(t8, new_address_helix_idx).idx); + t12 = t13.$index(t12, t10.$index(t8, t4).group); + t13 = t12.__helices_view_order_inverse; + if (t13 == null) { + t13 = O.HelixGroup.prototype.get$helices_view_order_inverse.call(t12); + t12.set$__helices_view_order_inverse(t13); + t12 = t13; + } else + t12 = t13; + t8 = J.$index$asx(t12._map$_map, t10.$index(t8, t4).idx); + if (typeof t11 !== "number") + return t11.$sub(); + if (typeof t8 !== "number") + return H.iae(t8); + if (typeof old_helix_view_order !== "number") + return old_helix_view_order.$add(); + new_helix_idx = J.$index$asx(new_helices_view_order._list, old_helix_view_order + (t11 - t8)); + t8 = old_5p_end.offset; + if (!old_5p_end.is_start) { + if (typeof t8 !== "number") + return t8.$sub(); + --t8; + } + if (typeof t3 !== "number") + return t3.$sub(); + if (typeof t5 !== "number") + return H.iae(t5); + if (typeof t8 !== "number") + return t8.$add(); + if (new_helix_idx == null) + H.throwExpression(Y.BuiltValueNullFieldError$("Address", "helix_idx")); + C.JSArray_methods.add$1(addresses, new Z._$Address(new_helix_idx, t8 + (t3 - t5), t1 !== t9)); + } + next.call$1(action); + new_domains = H.setRuntimeTypeInfo([], type$.JSArray_legacy_Domain); + new_design = store.get$state(store).design; + if (t1) { + t1 = new_design.__address_3p_to_domain; + if (t1 == null) { + t1 = N.Design.prototype.get$address_3p_to_domain.call(new_design); + new_design.set$__address_3p_to_domain(t1); + address_to_domain = t1; + } else + address_to_domain = t1; + } else { + t1 = new_design.__address_5p_to_domain; + if (t1 == null) { + t1 = N.Design.prototype.get$address_5p_to_domain.call(new_design); + new_design.set$__address_5p_to_domain(t1); + address_to_domain = t1; + } else + address_to_domain = t1; + } + for (t1 = addresses.length, t2 = address_to_domain._map$_map, t3 = J.getInterceptor$asx(t2), _i = 0; _i < addresses.length; addresses.length === t1 || (0, H.throwConcurrentModificationError)(addresses), ++_i) + C.JSArray_methods.add$1(new_domains, t3.$index(t2, addresses[_i])); + store.dispatch$1(U._$SelectAll$_(true, D.BuiltList_BuiltList$of(new_domains, type$.legacy_Domain))); + } else + next.call$1(action); + } + }, + Q = { + OutputStream$: function(size) { + var t1 = size == null ? 32768 : size; + return new Q.OutputStream(new Uint8Array(t1)); + }, + OutputStreamBase: function OutputStreamBase() { + }, + OutputStream: function OutputStream(t0) { + this.length = 0; + this._output_stream$_buffer = t0; + }, + ZipFile__deriveKey: function(password, salt, derivedKeyLength) { + var passwordBytes, t1, keyDerivator, out; + if (password.get$isEmpty(password)) + return new Uint8Array(0); + passwordBytes = new Uint8Array(H._ensureNativeList(password.get$codeUnits(password))); + t1 = A.HMac$(A.SHA1Digest$(), 64); + keyDerivator = new D.PBKDF2KeyDerivator(t1); + t1 = t1.get$_digestSize(); + if (!H._isInt(t1)) + H.throwExpression(P.ArgumentError$("Invalid length " + H.S(t1))); + keyDerivator.__PBKDF2KeyDerivator__state = new Uint8Array(t1); + keyDerivator.__PBKDF2KeyDerivator__params = new N.Pbkdf2Parameters(salt, 1000, derivedKeyLength * 2 + 2); + t1 = keyDerivator.get$_params().desiredKeyLength; + out = new Uint8Array(t1); + return C.NativeUint8List_methods.sublist$2(out, 0, keyDerivator.deriveKey$4(passwordBytes, 0, out, 0)); + }, + AesHeader: function AesHeader(t0, t1) { + this.encryptionStrength = t0; + this.compressionMethod = t1; + }, + ZipFile: function ZipFile(t0, t1, t2) { + var _ = this; + _.signature = 67324752; + _.lastModFileDate = _.lastModFileTime = _.compressionMethod = _.flags = 0; + _.uncompressedSize = _.crc32 = null; + _.filename = ""; + _.extraField = t0; + _.header = t1; + _.__ZipFile__rawContent = $; + _._zip_file$_content = null; + _._encryptionType = 0; + _._password = _._aesHeader = null; + _._zip_file$_keys = t2; + }, + ZipDecoder: function ZipDecoder() { + this.__ZipDecoder_directory = $; + }, + CopyOnWriteList: function CopyOnWriteList(t0, t1, t2) { + var _ = this; + _._copy_on_write_list$_copyBeforeWrite = true; + _._growable = t0; + _._copy_on_write_list$_list = t1; + _.$ti = t2; + }, + Int64Serializer: function Int64Serializer(t0) { + this.types = t0; + }, + ReactPropsMixin: function ReactPropsMixin() { + }, + DomPropsMixin: function DomPropsMixin() { + }, + SvgPropsMixin: function SvgPropsMixin() { + }, + UbiquitousDomPropsMixin: function UbiquitousDomPropsMixin() { + }, + SequenceParserExtension_seq: function(_this, other) { + var t3, + t1 = type$.Parser_dynamic, + t2 = type$.SequenceParser_dynamic; + if (_this instanceof Q.SequenceParser) { + t3 = P.List_List$of(_this.children, true, t1); + t3.push(other); + t2 = new Q.SequenceParser(P.List_List$of(t3, false, t1), t2); + t1 = t2; + } else + t1 = new Q.SequenceParser(P.List_List$of(H.setRuntimeTypeInfo([_this, other], type$.JSArray_Parser_dynamic), false, t1), t2); + return t1; + }, + SequenceParser: function SequenceParser(t0, t1) { + this.children = t0; + this.$ti = t1; + }, + ReactDartInteropStatics2__updatePropsAndStateWithJs: function(component, props, state) { + component.set$props(0, new L.JsBackedMap(props)); + component.set$state(0, new L.JsBackedMap(state)); + }, + ReactDartInteropStatics2_initComponent: function(jsThis, componentStatics) { + type$.legacy_ReactComponent._as(jsThis); + return C.C__RootZone.run$1$1(new Q.ReactDartInteropStatics2_initComponent_closure(type$.legacy_ComponentStatics2._as(componentStatics), jsThis), type$.legacy_Component2); + }, + ReactDartInteropStatics2_handleComponentDidMount: function(component) { + return C.C__RootZone.run$1$1(new Q.ReactDartInteropStatics2_handleComponentDidMount_closure(type$.legacy_Component2._as(component)), type$.void); + }, + ReactDartInteropStatics2_handleShouldComponentUpdate: function(component, jsNextProps, jsNextState) { + var t1 = type$.legacy_JsMap; + return C.C__RootZone.run$1$1(new Q.ReactDartInteropStatics2_handleShouldComponentUpdate_closure(type$.legacy_Component2._as(component), t1._as(jsNextProps), t1._as(jsNextState)), type$.legacy_bool); + }, + ReactDartInteropStatics2_handleGetDerivedStateFromProps: function(componentStatics, jsNextProps, jsPrevState) { + var t1 = type$.legacy_JsMap; + return C.C__RootZone.run$1$1(new Q.ReactDartInteropStatics2_handleGetDerivedStateFromProps_closure(type$.legacy_ComponentStatics2._as(componentStatics), t1._as(jsNextProps), t1._as(jsPrevState)), t1); + }, + ReactDartInteropStatics2_handleGetSnapshotBeforeUpdate: function(component, jsPrevProps, jsPrevState) { + var t1 = type$.legacy_JsMap; + return C.C__RootZone.run$1$1(new Q.ReactDartInteropStatics2_handleGetSnapshotBeforeUpdate_closure(type$.legacy_Component2._as(component), t1._as(jsPrevProps), t1._as(jsPrevState)), type$.dynamic); + }, + ReactDartInteropStatics2_handleComponentDidUpdate: function(component, jsThis, jsPrevProps, jsPrevState, snapshot) { + var t1; + type$.legacy_Component2._as(component); + type$.legacy_ReactComponent._as(jsThis); + t1 = type$.legacy_JsMap; + return C.C__RootZone.run$1$1(new Q.ReactDartInteropStatics2_handleComponentDidUpdate_closure(component, t1._as(jsPrevProps), t1._as(jsPrevState), snapshot), type$.void); + }, + ReactDartInteropStatics2_handleComponentWillUnmount: function(component) { + return C.C__RootZone.run$1$1(new Q.ReactDartInteropStatics2_handleComponentWillUnmount_closure(type$.legacy_Component2._as(component)), type$.void); + }, + ReactDartInteropStatics2_handleComponentDidCatch: function(component, error, info) { + type$.legacy_Component2._as(component); + return C.C__RootZone.run$1$1(new Q.ReactDartInteropStatics2_handleComponentDidCatch_closure(error, type$.legacy_ReactErrorInfo._as(info), component), type$.void); + }, + ReactDartInteropStatics2_handleGetDerivedStateFromError: function(componentStatics, error) { + return C.C__RootZone.run$1$1(new Q.ReactDartInteropStatics2_handleGetDerivedStateFromError_closure(error, type$.legacy_ComponentStatics2._as(componentStatics)), type$.legacy_JsMap); + }, + ReactDartInteropStatics2_handleRender: function(component, jsProps, jsState, jsContext) { + var t1 = type$.legacy_JsMap; + return C.C__RootZone.run$1$1(new Q.ReactDartInteropStatics2_handleRender_closure(type$.legacy_Component2._as(component), t1._as(jsProps), t1._as(jsState), jsContext), type$.dynamic); + }, + ReactDartInteropStatics2_initComponent_closure: function ReactDartInteropStatics2_initComponent_closure(t0, t1) { + this.componentStatics = t0; + this.jsThis = t1; + }, + ReactDartInteropStatics2_handleComponentDidMount_closure: function ReactDartInteropStatics2_handleComponentDidMount_closure(t0) { + this.component = t0; + }, + ReactDartInteropStatics2_handleShouldComponentUpdate_closure: function ReactDartInteropStatics2_handleShouldComponentUpdate_closure(t0, t1, t2) { + this.component = t0; + this.jsNextProps = t1; + this.jsNextState = t2; + }, + ReactDartInteropStatics2_handleGetDerivedStateFromProps_closure: function ReactDartInteropStatics2_handleGetDerivedStateFromProps_closure(t0, t1, t2) { + this.componentStatics = t0; + this.jsNextProps = t1; + this.jsPrevState = t2; + }, + ReactDartInteropStatics2_handleGetSnapshotBeforeUpdate_closure: function ReactDartInteropStatics2_handleGetSnapshotBeforeUpdate_closure(t0, t1, t2) { + this.component = t0; + this.jsPrevProps = t1; + this.jsPrevState = t2; + }, + ReactDartInteropStatics2_handleComponentDidUpdate_closure: function ReactDartInteropStatics2_handleComponentDidUpdate_closure(t0, t1, t2, t3) { + var _ = this; + _.component = t0; + _.jsPrevProps = t1; + _.jsPrevState = t2; + _.snapshot = t3; + }, + ReactDartInteropStatics2_handleComponentWillUnmount_closure: function ReactDartInteropStatics2_handleComponentWillUnmount_closure(t0) { + this.component = t0; + }, + ReactDartInteropStatics2_handleComponentDidCatch_closure: function ReactDartInteropStatics2_handleComponentDidCatch_closure(t0, t1, t2) { + this.error = t0; + this.info = t1; + this.component = t2; + }, + ReactDartInteropStatics2_handleGetDerivedStateFromError_closure: function ReactDartInteropStatics2_handleGetDerivedStateFromError_closure(t0, t1) { + this.error = t0; + this.componentStatics = t1; + }, + ReactDartInteropStatics2_handleRender_closure: function ReactDartInteropStatics2_handleRender_closure(t0, t1, t2, t3) { + var _ = this; + _.component = t0; + _.jsProps = t1; + _.jsState = t2; + _.jsContext = t3; + }, + SyntheticEvent: function SyntheticEvent() { + }, + SyntheticClipboardEvent: function SyntheticClipboardEvent() { + }, + SyntheticKeyboardEvent: function SyntheticKeyboardEvent() { + }, + SyntheticCompositionEvent: function SyntheticCompositionEvent() { + }, + SyntheticFocusEvent: function SyntheticFocusEvent() { + }, + SyntheticFormEvent: function SyntheticFormEvent() { + }, + NonNativeDataTransfer: function NonNativeDataTransfer() { + }, + SyntheticMouseEvent: function SyntheticMouseEvent() { + }, + SyntheticPointerEvent: function SyntheticPointerEvent() { + }, + SyntheticTouchEvent: function SyntheticTouchEvent() { + }, + SyntheticTransitionEvent: function SyntheticTransitionEvent() { + }, + SyntheticAnimationEvent: function SyntheticAnimationEvent() { + }, + SyntheticUIEvent: function SyntheticUIEvent() { + }, + SyntheticWheelEvent: function SyntheticWheelEvent() { + }, + selections_intersect_box_compute_middleware: function(store, action, next) { + var state, t1, selectables_store, t2, is_origami, select_modes, select_box, select_box_bbox, elts_overlapping, rope_elt, points, selectable_by_id, t3, t4, t5, t6, overlapping_now_select_mode_enabled, _i, obj, + _s13_ = "main-view-svg"; + type$.legacy_Store_legacy_AppState._as(store); + type$.legacy_dynamic_Function_dynamic._as(next); + if (action instanceof U.SelectionsAdjustMainView) { + state = store.get$state(store); + t1 = state.ui_state; + selectables_store = t1.selectables_store; + t2 = state.design; + is_origami = t2.get$is_origami(); + select_modes = t1.storables.select_mode_state.modes; + if (action.box) { + select_box = type$.legacy_RectElement._as(document.querySelector("#selection-box-main")); + if (select_box == null) + return selectables_store; + select_box_bbox = select_box.getBoundingClientRect(); + t1 = type$.legacy_List_legacy_SvgElement._as(Q.generalized_intersection_list_box(_s13_, select_box_bbox, select_modes, is_origami, store.get$state(store).ui_state.storables.selection_box_intersection ? Q.selections_intersect_box_compute__interval_intersect$closure() : Q.selections_intersect_box_compute__interval_contained$closure())); + elts_overlapping = P.LinkedHashSet_LinkedHashSet$from(t1, H._arrayInstanceType(t1)._precomputed1); + } else { + rope_elt = type$.legacy_PolygonElement._as(document.querySelector("#selection-rope-main")); + if (rope_elt == null) { + P.print("no selection rope found, so not changing selections"); + return; + } + points = Q.points_of_polygon_elt(rope_elt); + t1 = type$.legacy_List_legacy_SvgElement._as(Q.generalized_intersection_list_polygon(_s13_, points, select_modes, is_origami, store.get$state(store).ui_state.storables.selection_box_intersection ? Q.selections_intersect_box_compute__polygon_intersects_rect$closure() : Q.selections_intersect_box_compute__polygon_contains_rect$closure())); + elts_overlapping = P.LinkedHashSet_LinkedHashSet$from(t1, H._arrayInstanceType(t1)._precomputed1); + } + selectable_by_id = t2.__selectable_by_id; + if (selectable_by_id == null) { + selectable_by_id = N.Design.prototype.get$selectable_by_id.call(t2); + t2.set$__selectable_by_id(selectable_by_id); + } + t1 = type$.JSArray_legacy_Selectable; + t2 = H.setRuntimeTypeInfo([], t1); + for (t3 = P._LinkedHashSetIterator$(elts_overlapping, elts_overlapping._collection$_modifications, H._instanceType(elts_overlapping)._precomputed1), t4 = selectable_by_id._map$_map, t5 = J.getInterceptor$x(t4); t3.moveNext$0();) { + t6 = t3._collection$_current; + if (t5.containsKey$1(t4, t6.id)) + t2.push(t5.$index(t4, t6.id)); + } + overlapping_now_select_mode_enabled = H.setRuntimeTypeInfo([], t1); + for (t1 = t2.length, _i = 0; _i < t2.length; t2.length === t1 || (0, H.throwConcurrentModificationError)(t2), ++_i) { + obj = t2[_i]; + t3 = obj.get$select_mode(); + if (select_modes._set.contains$1(0, t3)) + C.JSArray_methods.add$1(overlapping_now_select_mode_enabled, obj); + } + store.dispatch$1(U._$SelectOrToggleItems$_(D._BuiltList$of(overlapping_now_select_mode_enabled, type$.legacy_Selectable), action.toggle)); + } else + next.call$1(action); + }, + points_of_polygon_elt: function(rope_elt) { + var t2, t3, t4, _i, point_svg, + point_list = rope_elt.points, + t1 = H.setRuntimeTypeInfo([], type$.JSArray_legacy_Point), + i = 0; + while (true) { + t2 = point_list.length; + if (typeof t2 !== "number") + return H.iae(t2); + if (!(i < t2)) + break; + t1.push(point_list.getItem(i)); + ++i; + } + t2 = H.setRuntimeTypeInfo([], type$.JSArray_legacy_Point_legacy_num); + for (t3 = t1.length, t4 = type$.Point_legacy_num, _i = 0; _i < t1.length; t1.length === t3 || (0, H.throwConcurrentModificationError)(t1), ++_i) { + point_svg = t1[_i]; + t2.push(new P.Point(point_svg.x, point_svg.y, t4)); + } + return t2; + }, + generalized_intersection_list_polygon: function(classname, polygon, select_modes, is_origami, overlap) { + var t1, t2, t3, elt, elt_bbox_svg_rect, + elts_intersecting = H.setRuntimeTypeInfo([], type$.JSArray_legacy_SvgElement); + for (t1 = J.get$iterator$ax(Q.find_selectable_elements(select_modes, is_origami)), t2 = type$.legacy_GraphicsElement, t3 = type$.legacy_num; t1.moveNext$0();) { + elt = t2._as(t1.get$current(t1)); + elt_bbox_svg_rect = elt.getBBox(); + if (H.boolConversionCheck(overlap.call$2(polygon, P.Rectangle$(elt_bbox_svg_rect.x, elt_bbox_svg_rect.y, elt_bbox_svg_rect.width, elt_bbox_svg_rect.height, t3)))) + C.JSArray_methods.add$1(elts_intersecting, elt); + } + return elts_intersecting; + }, + generalized_intersection_list_box: function(classname, select_box_bbox, select_modes, is_origami, overlap) { + var t1, t2, elt, elt_bbox, t3, t4, t5, t6, t7, t8, t9, t10, + elts_intersecting = H.setRuntimeTypeInfo([], type$.JSArray_legacy_SvgElement); + for (t1 = J.get$iterator$ax(Q.find_selectable_elements(select_modes, is_origami)), t2 = type$.legacy_GraphicsElement; t1.moveNext$0();) { + elt = t2._as(t1.get$current(t1)); + elt_bbox = elt.getBoundingClientRect(); + t3 = elt_bbox.left; + t3.toString; + t4 = elt_bbox.width; + t4.toString; + t5 = elt_bbox.top; + t5.toString; + t6 = elt_bbox.height; + t6.toString; + t7 = select_box_bbox.left; + t7.toString; + t8 = select_box_bbox.width; + t8.toString; + t9 = select_box_bbox.top; + t9.toString; + t10 = select_box_bbox.height; + t10.toString; + if (H.boolConversionCheck(overlap.call$4(t3, t3 + t4, t7, t7 + t8))) { + t3 = elt_bbox.top; + t3.toString; + t4 = select_box_bbox.top; + t4.toString; + t10 = H.boolConversionCheck(overlap.call$4(t3, t5 + t6, t4, t9 + t10)); + t3 = t10; + } else + t3 = false; + if (t3) + C.JSArray_methods.add$1(elts_intersecting, elt); + } + return elts_intersecting; + }, + interval_contained: function(l1, h1, l2, h2) { + if (typeof l1 !== "number") + return l1.$ge(); + if (typeof l2 !== "number") + return H.iae(l2); + return l1 >= l2 && h1 <= h2; + }, + interval_intersect: function(l1, h1, l2, h2) { + var t1; + if (typeof l2 !== "number") + return l2.$gt(); + if (!(l2 > h1)) { + if (typeof l1 !== "number") + return l1.$gt(); + t1 = l1 > h2; + } else + t1 = true; + return !t1; + }, + polygon_contains_rect: function(polygon, rect) { + var x1, y1, x2, y2, t1, _i; + type$.legacy_List_legacy_Point_legacy_num._as(polygon); + type$.legacy_Rectangle_legacy_num._as(rect); + x1 = rect.left; + y1 = rect.top; + if (typeof x1 !== "number") + return x1.$add(); + x2 = x1 + rect.width; + if (typeof y1 !== "number") + return y1.$add(); + y2 = y1 + rect.height; + t1 = type$.Point_legacy_num; + for (t1 = [new P.Point(x1, y1, t1), new P.Point(x2, y1, t1), new P.Point(x1, y2, t1), new P.Point(x2, y2, t1)], _i = 0; _i < 4; ++_i) + if (!Q.polygon_contains_point(polygon, t1[_i])) + return false; + return true; + }, + rect_contains_polygon: function(rect, polygon) { + var t1, x1, y1, t2, t3, _i, polygon_vertex, t4; + for (t1 = polygon.length, x1 = rect.left, y1 = rect.top, t2 = rect.width, t3 = rect.height, _i = 0; _i < t1; ++_i) { + polygon_vertex = polygon[_i]; + if (typeof x1 !== "number") + return x1.$add(); + if (typeof y1 !== "number") + return y1.$add(); + t4 = polygon_vertex.x; + if (typeof t4 !== "number") + return H.iae(t4); + if (x1 <= t4) + if (t4 <= x1 + t2) { + t4 = polygon_vertex.y; + if (typeof t4 !== "number") + return H.iae(t4); + t4 = y1 <= t4 && t4 <= y1 + t3; + } else + t4 = false; + else + t4 = false; + if (!t4) + return false; + } + return true; + }, + polygon_intersects_rect: function(polygon, rect) { + var x1, y1, x2, y2, t1, up_left, up_right, bot_left, bot_right, _i, rect_line, t2, t3, _i0; + type$.legacy_List_legacy_Point_legacy_num._as(polygon); + type$.legacy_Rectangle_legacy_num._as(rect); + if (Q.rect_contains_polygon(rect, polygon)) + return true; + if (Q.polygon_contains_rect(polygon, rect)) + return true; + x1 = rect.left; + y1 = rect.top; + if (typeof x1 !== "number") + return x1.$add(); + x2 = x1 + rect.width; + if (typeof y1 !== "number") + return y1.$add(); + y2 = y1 + rect.height; + t1 = type$.Point_legacy_num; + up_left = new P.Point(x1, y1, t1); + up_right = new P.Point(x2, y1, t1); + bot_left = new P.Point(x1, y2, t1); + bot_right = new P.Point(x2, y2, t1); + t1 = [F.Line_Line(up_left, up_right), F.Line_Line(bot_left, bot_right), F.Line_Line(up_left, bot_left), F.Line_Line(up_right, bot_right)]; + _i = 0; + for (; _i < 4; ++_i) { + rect_line = t1[_i]; + for (t2 = Q.lines_of_polygon(polygon), t3 = t2.length, _i0 = 0; _i0 < t2.length; t2.length === t3 || (0, H.throwConcurrentModificationError)(t2), ++_i0) + if (rect_line.intersects$1(0, t2[_i0])) + return true; + } + return false; + }, + polygon_contains_point: function(polygon, point) { + var t2, _i, max_x, infinite_line_from_point, lines, num_lines_intersecting, + t1 = H.setRuntimeTypeInfo([], type$.JSArray_legacy_num); + for (t2 = polygon.length, _i = 0; _i < polygon.length; polygon.length === t2 || (0, H.throwConcurrentModificationError)(polygon), ++_i) + t1.push(polygon[_i].x); + max_x = N.MinMaxOfIterable_get_max(t1, type$.legacy_num); + if (typeof max_x !== "number") + return max_x.$add(); + infinite_line_from_point = F.Line_Line(point, new P.Point(max_x + 1, point.y, type$.Point_legacy_num)); + lines = Q.lines_of_polygon(polygon); + for (t1 = lines.length, num_lines_intersecting = 0, _i = 0; _i < lines.length; lines.length === t1 || (0, H.throwConcurrentModificationError)(lines), ++_i) + if (infinite_line_from_point.intersects$1(0, lines[_i])) + ++num_lines_intersecting; + return C.JSInt_methods.$mod(num_lines_intersecting, 2) === 1; + }, + lines_of_polygon: function(polygon) { + var i, i0, + lines = H.setRuntimeTypeInfo([], type$.JSArray_legacy_Line); + for (i = 0; i < polygon.length - 1; i = i0) { + i0 = i + 1; + C.JSArray_methods.add$1(lines, F.Line_Line(polygon[i], polygon[i0])); + } + C.JSArray_methods.add$1(lines, F.Line_Line(C.JSArray_methods.get$last(polygon), C.JSArray_methods.get$first(polygon))); + return lines; + }, + find_selectable_elements: function(select_modes, is_origami) { + var t2, t3, t4, selectors, _i, mode, + t1 = H.setRuntimeTypeInfo([], type$.JSArray_legacy_SelectModeChoice); + for (t2 = select_modes._set, t3 = t2.get$iterator(t2); t3.moveNext$0();) { + t4 = t3.get$current(t3); + if (t4 !== C.SelectModeChoice_scaffold && t4 !== C.SelectModeChoice_staple) + t1.push(t4); + } + if (t1.length === 0) + return H.setRuntimeTypeInfo([], type$.JSArray_legacy_Element); + selectors = H.setRuntimeTypeInfo([], type$.JSArray_legacy_String); + if (is_origami) + t3 = !t2.contains$1(0, C.SelectModeChoice_scaffold) || !t2.contains$1(0, C.SelectModeChoice_staple); + else + t3 = false; + if (t3) { + if (t2.contains$1(0, C.SelectModeChoice_scaffold)) + for (t2 = t1.length, _i = 0; _i < t1.length; t1.length === t2 || (0, H.throwConcurrentModificationError)(t1), ++_i) { + mode = t1[_i]; + C.JSArray_methods.add$1(selectors, "." + C.SelectModeChoice_scaffold.css_selector$0() + "." + mode.css_selector$0()); + } + else if (t2.contains$1(0, C.SelectModeChoice_staple)) + for (t1 = t2.get$iterator(t2); t1.moveNext$0();) { + t2 = t1.get$current(t1); + C.JSArray_methods.add$1(selectors, ":not(." + C.SelectModeChoice_scaffold.css_selector$0() + ")." + t2.css_selector$0()); + } + } else + for (t2 = t1.length, _i = 0; _i < t1.length; t1.length === t2 || (0, H.throwConcurrentModificationError)(t1), ++_i) + C.JSArray_methods.add$1(selectors, "." + t1[_i].css_selector$0()); + t1 = C.JSArray_methods.join$1(selectors, ", "); + t2 = document; + H.checkTypeBound(type$.legacy_Element, type$.Element, "T", "querySelectorAll"); + return new W._FrozenElementList(t2.querySelectorAll(t1), type$._FrozenElementList_legacy_Element); + }, + Box$: function(x, y, height, width) { + var t1 = new Q.Box(x, y); + t1.width = width; + t1.height = height; + return t1; + }, + generalized_intersection_list: function(elts, bboxes, select_box, overlap, $E) { + var elts_intersecting, t2, t3, i, elt, i0, elt_bbox, t4, t5, t6, t7, t8, t9, + t1 = J.getInterceptor$asx(elts); + if (t1.get$length(elts) !== bboxes.length) + throw H.wrapException(P.ArgumentError$("elts (length " + H.S(t1.get$length(elts)) + ") and bboxes (length " + bboxes.length + ") must have same length")); + elts_intersecting = H.setRuntimeTypeInfo([], $E._eval$1("JSArray<0*>")); + for (t1 = t1.get$iterator(elts), t2 = select_box.x, t3 = select_box.y, i = 0; t1.moveNext$0(); i = i0) { + elt = t1.get$current(t1); + i0 = i + 1; + if (i >= bboxes.length) + return H.ioore(bboxes, i); + elt_bbox = bboxes[i]; + t4 = elt_bbox.x; + t5 = elt_bbox.width; + if (typeof t4 !== "number") + return t4.$add(); + if (typeof t5 !== "number") + return H.iae(t5); + t6 = select_box.width; + if (typeof t2 !== "number") + return t2.$add(); + if (typeof t6 !== "number") + return H.iae(t6); + t7 = elt_bbox.y; + t8 = elt_bbox.height; + if (typeof t7 !== "number") + return t7.$add(); + if (typeof t8 !== "number") + return H.iae(t8); + t9 = select_box.height; + if (typeof t3 !== "number") + return t3.$add(); + if (typeof t9 !== "number") + return H.iae(t9); + if (H.boolConversionCheck(overlap.call$4(t4, t4 + t5, t2, t2 + t6)) && H.boolConversionCheck(overlap.call$4(t7, t7 + t8, t3, t3 + t9))) + C.JSArray_methods.add$1(elts_intersecting, elt); + } + return elts_intersecting; + }, + Box: function Box(t0, t1) { + var _ = this; + _.width = _.height = null; + _.x = t0; + _.y = t1; + }, + domains_move_start_selected_domains_reducer: function(_, state, action) { + var t1, t2, selected_domains, t3, t4, t5, t6, t7; + type$.legacy_DomainsMove._as(_); + type$.legacy_AppState._as(state); + type$.legacy_DomainsMoveStartSelectedDomains._as(action); + t1 = state.ui_state.selectables_store.selected_items; + t1.toString; + t2 = type$.legacy_Domain; + selected_domains = P.LinkedHashSet_LinkedHashSet$from(t1._set.where$1(0, t1.$ti._eval$1("bool(1)")._as(new Q.domains_move_start_selected_domains_reducer_closure())), t2); + t1 = type$.legacy_Strand; + t3 = P.LinkedHashSet_LinkedHashSet$_empty(t1); + for (t4 = P._LinkedHashSetIterator$(selected_domains, selected_domains._collection$_modifications, H._instanceType(selected_domains)._precomputed1), t5 = state.design; t4.moveNext$0();) { + t6 = t4._collection$_current; + t7 = t5.__substrand_to_strand; + if (t7 == null) { + t7 = N.Design.prototype.get$substrand_to_strand.call(t5); + t5.set$__substrand_to_strand(t7); + } + t3.add$1(0, J.$index$asx(t7._map$_map, t6)); + } + t2 = D.BuiltList_BuiltList$of(selected_domains, t2); + t4 = t5.__all_domains; + if (t4 == null) { + t4 = N.Design.prototype.get$all_domains.call(t5); + t5.set$__all_domains(t4); + } + t1 = D.BuiltList_BuiltList$of(t3, t1); + t3 = action.original_helices_view_order_inverse; + t6 = t5.helices; + return V.DomainsMove_DomainsMove(t4, t2, t5.groups, t6, action.address, t3, t1); + }, + domains_move_stop_reducer: function(domains_move, action) { + type$.legacy_DomainsMove._as(domains_move); + type$.legacy_DomainsMoveStop._as(action); + return null; + }, + domains_adjust_address_reducer: function(domains_move, state, action) { + var new_domains_move, t1; + type$.legacy_DomainsMove._as(domains_move); + type$.legacy_AppState._as(state); + new_domains_move = domains_move.rebuild$1(new Q.domains_adjust_address_reducer_closure(type$.legacy_DomainsMoveAdjustAddress._as(action))); + t1 = state.design; + if (Q.in_bounds0(t1, new_domains_move)) + return new_domains_move.rebuild$1(new Q.domains_adjust_address_reducer_closure0(Q.is_allowable0(t1, new_domains_move))); + else + return domains_move; + }, + in_bounds0: function(design, domains_move) { + var t7, current_group, num_helices_in_group, original_group, delta_view_order, delta_offset, view_orders_of_helices_of_moving_domains, min_view_order, max_view_order, view_order_orig, helix, _i, domain, + t1 = domains_move.current_address, + t2 = design.helices, + t3 = t2._map$_map, + t4 = J.getInterceptor$asx(t3), + current_helix = t4.$index(t3, t1.helix_idx), + t5 = design.groups, + t6 = current_helix.group; + t5 = t5._map$_map; + t7 = J.getInterceptor$asx(t5); + current_group = t7.$index(t5, t6); + num_helices_in_group = J.get$length$asx(design.helices_in_group$1(t6)._map$_map); + t6 = domains_move.original_address; + original_group = t7.$index(t5, t4.$index(t3, t6.helix_idx).group); + t5 = domains_move.get$current_view_order(); + t7 = domains_move.get$original_view_order(); + if (typeof t5 !== "number") + return t5.$sub(); + if (typeof t7 !== "number") + return H.iae(t7); + delta_view_order = t5 - t7; + t1 = t1.offset; + t6 = t6.offset; + if (typeof t1 !== "number") + return t1.$sub(); + if (typeof t6 !== "number") + return H.iae(t6); + delta_offset = t1 - t6; + view_orders_of_helices_of_moving_domains = Q.view_order_moving0(domains_move, original_group); + t6 = type$.legacy_int; + min_view_order = N.MinMaxOfIterable_get_min(view_orders_of_helices_of_moving_domains, t6); + max_view_order = N.MinMaxOfIterable_get_max(view_orders_of_helices_of_moving_domains, t6); + if (typeof min_view_order !== "number") + return min_view_order.$add(); + if (min_view_order + delta_view_order < 0) + return false; + if (typeof max_view_order !== "number") + return max_view_order.$add(); + if (typeof num_helices_in_group !== "number") + return H.iae(num_helices_in_group); + if (max_view_order + delta_view_order >= num_helices_in_group) + return false; + for (t1 = J.get$iterator$ax(t2.get$keys(t2)); t1.moveNext$0();) { + t2 = t1.get$current(t1); + t5 = domains_move.__domains_moving_on_helix; + if (t5 == null) { + t5 = V.DomainsMove.prototype.get$domains_moving_on_helix.call(domains_move); + domains_move.set$__domains_moving_on_helix(t5); + } + if (t5.$index(0, t2).length === 0) + continue; + t5 = original_group.__helices_view_order_inverse; + if (t5 == null) { + t5 = O.HelixGroup.prototype.get$helices_view_order_inverse.call(original_group); + original_group.set$__helices_view_order_inverse(t5); + } + view_order_orig = J.$index$asx(t5._map$_map, t2); + t5 = current_group.helices_view_order; + if (typeof view_order_orig !== "number") + return view_order_orig.$add(); + helix = t4.$index(t3, J.$index$asx(t5._list, view_order_orig + delta_view_order)); + t5 = domains_move.__domains_moving_on_helix; + if (t5 == null) { + t5 = V.DomainsMove.prototype.get$domains_moving_on_helix.call(domains_move); + domains_move.set$__domains_moving_on_helix(t5); + } + t2 = t5.$index(0, t2); + t5 = t2.length; + _i = 0; + for (; _i < t5; ++_i) { + domain = t2[_i]; + if (domain.start + delta_offset < helix.min_offset) + return false; + if (domain.end + delta_offset > helix.max_offset) + return false; + } + } + return true; + }, + view_order_moving0: function(domains_move, original_group) { + var t1, t2, t3, + ret = P.LinkedHashSet_LinkedHashSet$_empty(type$.legacy_int); + for (t1 = J.get$iterator$ax(domains_move.domains_moving._list); t1.moveNext$0();) { + t2 = t1.get$current(t1); + t3 = original_group.__helices_view_order_inverse; + if (t3 == null) { + t3 = O.HelixGroup.prototype.get$helices_view_order_inverse.call(original_group); + original_group.set$__helices_view_order_inverse(t3); + } + ret.add$1(0, J.$index$asx(t3._map$_map, t2.helix)); + } + return ret; + }, + is_allowable0: function(design, domains_move) { + var t7, current_group, t8, delta_view_order, t9, delta_offset, delta_forward, domains_moving, original_group, view_order_orig, new_helix_idx, new_helix, domains_fixed, t10, t11, t12, t13, t14, t15, t16, _i, $forward, intervals_moving, t17, t18, t19, intervals_fixed, + t1 = domains_move.current_address, + t2 = design.helices, + t3 = t2._map$_map, + t4 = J.getInterceptor$asx(t3), + current_helix = t4.$index(t3, t1.helix_idx), + t5 = design.groups, + t6 = current_helix.group; + t5 = t5._map$_map; + t7 = J.getInterceptor$asx(t5); + current_group = t7.$index(t5, t6); + t6 = domains_move.get$current_view_order(); + t8 = domains_move.get$original_view_order(); + if (typeof t6 !== "number") + return t6.$sub(); + if (typeof t8 !== "number") + return H.iae(t8); + delta_view_order = t6 - t8; + t8 = t1.offset; + t6 = domains_move.original_address; + t9 = t6.offset; + if (typeof t8 !== "number") + return t8.$sub(); + if (typeof t9 !== "number") + return H.iae(t9); + delta_offset = t8 - t9; + delta_forward = t1.forward != t6.forward; + for (t1 = J.get$iterator$ax(t2.get$keys(t2)); t1.moveNext$0();) { + t2 = t1.get$current(t1); + t6 = domains_move.__domains_moving_on_helix; + if (t6 == null) { + t6 = V.DomainsMove.prototype.get$domains_moving_on_helix.call(domains_move); + domains_move.set$__domains_moving_on_helix(t6); + } + domains_moving = t6.$index(0, t2); + if (domains_moving.length === 0) + continue; + original_group = t7.$index(t5, t4.$index(t3, t2).group); + t6 = original_group.__helices_view_order_inverse; + if (t6 == null) { + t6 = O.HelixGroup.prototype.get$helices_view_order_inverse.call(original_group); + original_group.set$__helices_view_order_inverse(t6); + } + view_order_orig = J.$index$asx(t6._map$_map, t2); + t2 = current_group.helices_view_order; + if (typeof view_order_orig !== "number") + return view_order_orig.$add(); + new_helix_idx = J.$index$asx(t2._list, view_order_orig + delta_view_order); + new_helix = t4.$index(t3, new_helix_idx); + t2 = domains_move.__domains_fixed_on_helix; + if (t2 == null) { + t2 = V.DomainsMove.prototype.get$domains_fixed_on_helix.call(domains_move); + domains_move.set$__domains_fixed_on_helix(t2); + } + domains_fixed = t2.$index(0, new_helix_idx); + if (domains_fixed.length === 0) + continue; + for (t2 = [true, false], t6 = H.instanceType(domains_moving), t8 = t6._eval$1("bool(1)"), t9 = t6._eval$1("WhereIterable<1>"), t10 = t6._eval$1("Point*(1)"), t6 = t6._eval$1("MappedIterable<1,Point*>"), t11 = t6._eval$1("Iterable.E"), t12 = H.instanceType(domains_fixed), t13 = t12._eval$1("bool(1)"), t14 = t12._eval$1("WhereIterable<1>"), t15 = t12._eval$1("Point*(1)"), t12 = t12._eval$1("MappedIterable<1,Point*>"), t16 = t12._eval$1("Iterable.E"), _i = 0; _i < 2; ++_i) { + $forward = t2[_i]; + intervals_moving = P.List_List$of(new H.MappedIterable(new H.WhereIterable(domains_moving, t8._as(new Q.is_allowable_closure3(delta_forward, $forward)), t9), t10._as(new Q.is_allowable_closure4(delta_offset)), t6), true, t11); + t17 = H._arrayInstanceType(intervals_moving); + t17._eval$1("int(1,1)?")._as(D.strands_move_reducer__interval_comparator$closure()); + if (!!intervals_moving.immutable$list) + H.throwExpression(P.UnsupportedError$("sort")); + t17 = t17._precomputed1; + t18 = intervals_moving.length - 1; + if (t18 - 0 <= 32) + H.Sort__insertionSort(intervals_moving, 0, t18, D.strands_move_reducer__interval_comparator$closure(), t17); + else + H.Sort__dualPivotQuicksort(intervals_moving, 0, t18, D.strands_move_reducer__interval_comparator$closure(), t17); + t17 = intervals_moving.length; + if (t17 !== 0) { + if (0 >= t17) + return H.ioore(intervals_moving, 0); + t18 = intervals_moving[0].x; + t19 = new_helix.min_offset; + if (typeof t18 !== "number") + return t18.$lt(); + if (t18 < t19) + return false; + t18 = t17 - 1; + if (t18 < 0) + return H.ioore(intervals_moving, t18); + t18 = intervals_moving[t18].y; + t17 = new_helix.max_offset; + if (typeof t18 !== "number") + return t18.$ge(); + if (t18 >= t17) + return false; + intervals_fixed = P.List_List$of(new H.MappedIterable(new H.WhereIterable(domains_fixed, t13._as(new Q.is_allowable_closure5($forward)), t14), t15._as(new Q.is_allowable_closure6()), t12), true, t16); + t17 = H._arrayInstanceType(intervals_fixed); + t17._eval$1("int(1,1)?")._as(D.strands_move_reducer__interval_comparator$closure()); + if (!!intervals_fixed.immutable$list) + H.throwExpression(P.UnsupportedError$("sort")); + t17 = t17._precomputed1; + t18 = intervals_fixed.length - 1; + if (t18 - 0 <= 32) + H.Sort__insertionSort(intervals_fixed, 0, t18, D.strands_move_reducer__interval_comparator$closure(), t17); + else + H.Sort__dualPivotQuicksort(intervals_fixed, 0, t18, D.strands_move_reducer__interval_comparator$closure(), t17); + if (D.intersection(intervals_moving, intervals_fixed)) + return false; + } + } + } + return true; + }, + move_domain: function(current_group, delta_forward, delta_offset, delta_view_order, domain, original_group, set_first_last_false) { + var original_view_order = J.$index$asx(original_group.get$helices_view_order_inverse()._map$_map, domain.helix); + if (typeof original_view_order !== "number") + return original_view_order.$add(); + return domain.rebuild$1(new Q.move_domain_closure(set_first_last_false, J.$index$asx(current_group.helices_view_order._list, original_view_order + delta_view_order), delta_forward, domain, delta_offset)); + }, + domains_move_start_selected_domains_reducer_closure: function domains_move_start_selected_domains_reducer_closure() { + }, + domains_adjust_address_reducer_closure: function domains_adjust_address_reducer_closure(t0) { + this.action = t0; + }, + domains_adjust_address_reducer_closure0: function domains_adjust_address_reducer_closure0(t0) { + this.allowable = t0; + }, + is_allowable_closure3: function is_allowable_closure3(t0, t1) { + this.delta_forward = t0; + this.forward = t1; + }, + is_allowable_closure4: function is_allowable_closure4(t0) { + this.delta_offset = t0; + }, + is_allowable_closure5: function is_allowable_closure5(t0) { + this.forward = t0; + }, + is_allowable_closure6: function is_allowable_closure6() { + }, + move_domain_closure: function move_domain_closure(t0, t1, t2, t3, t4) { + var _ = this; + _.set_first_last_false = t0; + _.new_helix_idx = t1; + _.delta_forward = t2; + _.domain = t3; + _.delta_offset = t4; + }, + move_domain__closure: function move_domain__closure(t0) { + this.delta_offset = t0; + }, + move_domain__closure0: function move_domain__closure0(t0) { + this.delta_offset = t0; + }, + move_domain___closure: function move_domain___closure(t0, t1) { + this.i = t0; + this.delta_offset = t1; + }, + AppUIState__initializeBuilder: function(b) { + var t1, t2; + b.get$_app_ui_state$_$this()._copy_info = null; + b.get$_app_ui_state$_$this()._last_mod_5p = null; + b.get$_app_ui_state$_$this()._last_mod_3p = null; + b.get$_app_ui_state$_$this()._last_mod_int = null; + b.get$mouseover_datas().replace$1(0, []); + b.get$_app_ui_state$_$this()._selection_box_displayed_main = false; + b.get$_app_ui_state$_$this()._selection_box_displayed_side = false; + t1 = new E.SelectablesStoreBuilder(); + t2 = type$.legacy_SetBuilder_legacy_Selectable._as(X.SetBuilder_SetBuilder([], type$.legacy_Selectable)); + t1.get$_selectable$_$this().set$_selected_items(t2); + b.get$_app_ui_state$_$this()._selectables_store = t1; + b.get$_app_ui_state$_$this()._potential_crossover_is_drawing = false; + b.get$_app_ui_state$_$this()._dna_ends_are_moving = false; + b.get$_app_ui_state$_$this()._helix_group_is_moving = false; + b.get$_app_ui_state$_$this()._load_dialog = false; + b.get$_app_ui_state$_$this()._slice_bar_is_moving = false; + b.get$_app_ui_state$_$this()._changed_since_last_save = false; + b.get$_app_ui_state$_$this()._side_view_grid_position_mouse_cursor = null; + type$.legacy_Point_legacy_num._as(null); + b.get$_app_ui_state$_$this().set$_side_view_position_mouse_cursor(null); + b.get$_app_ui_state$_$this()._strands_move = null; + b.get$_app_ui_state$_$this()._context_menu = null; + b.get$_app_ui_state$_$this()._dialog = null; + b.get$_app_ui_state$_$this()._color_picker_strand = null; + b.get$_app_ui_state$_$this()._color_picker_substrand = null; + b.get$_app_ui_state$_$this()._strand_creation = null; + b.get$_app_ui_state$_$this()._helix_change_apply_to_all = true; + t1 = $.$get$DEFAULT_example_designs_builder(); + b.get$_app_ui_state$_$this()._example_designs = t1; + t1 = $.$get$DEFAULT_dna_assign_options_builder(); + b.get$_app_ui_state$_$this()._dna_assign_options = t1; + b.get$_app_ui_state$_$this()._dna_sequence_png_uri = null; + b.get$_app_ui_state$_$this()._dna_sequence_png_horizontal_offset = 0; + b.get$_app_ui_state$_$this()._dna_sequence_png_vertical_offset = 0; + b.get$_app_ui_state$_$this()._export_svg_action_delayed_for_png_cache = null; + b.get$_app_ui_state$_$this()._is_zoom_above_threshold = false; + t1 = b.get$storables(); + t2 = $.$get$DEFAULT_AppUIStateStorable(); + if (t2 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + t1._app_ui_state_storables$_$v = t2; + }, + AppUIStateBuilder$: function() { + var t2, t3, + t1 = new Q.AppUIStateBuilder(); + t1.get$_app_ui_state$_$this()._copy_info = null; + t1.get$_app_ui_state$_$this()._last_mod_5p = null; + t1.get$_app_ui_state$_$this()._last_mod_3p = null; + t1.get$_app_ui_state$_$this()._last_mod_int = null; + t1.get$mouseover_datas().replace$1(0, []); + t1.get$_app_ui_state$_$this()._selection_box_displayed_main = false; + t1.get$_app_ui_state$_$this()._selection_box_displayed_side = false; + t2 = new E.SelectablesStoreBuilder(); + t3 = type$.legacy_SetBuilder_legacy_Selectable._as(X.SetBuilder_SetBuilder([], type$.legacy_Selectable)); + t2.get$_selectable$_$this().set$_selected_items(t3); + t1.get$_app_ui_state$_$this()._selectables_store = t2; + t1.get$_app_ui_state$_$this()._potential_crossover_is_drawing = false; + t1.get$_app_ui_state$_$this()._dna_ends_are_moving = false; + t1.get$_app_ui_state$_$this()._helix_group_is_moving = false; + t1.get$_app_ui_state$_$this()._load_dialog = false; + t1.get$_app_ui_state$_$this()._slice_bar_is_moving = false; + t1.get$_app_ui_state$_$this()._changed_since_last_save = false; + t1.get$_app_ui_state$_$this()._side_view_grid_position_mouse_cursor = null; + type$.legacy_Point_legacy_num._as(null); + t1.get$_app_ui_state$_$this().set$_side_view_position_mouse_cursor(null); + t1.get$_app_ui_state$_$this()._strands_move = null; + t1.get$_app_ui_state$_$this()._context_menu = null; + t1.get$_app_ui_state$_$this()._dialog = null; + t1.get$_app_ui_state$_$this()._color_picker_strand = null; + t1.get$_app_ui_state$_$this()._color_picker_substrand = null; + t1.get$_app_ui_state$_$this()._strand_creation = null; + t1.get$_app_ui_state$_$this()._helix_change_apply_to_all = true; + t2 = $.$get$DEFAULT_example_designs_builder(); + t1.get$_app_ui_state$_$this()._example_designs = t2; + t2 = $.$get$DEFAULT_dna_assign_options_builder(); + t1.get$_app_ui_state$_$this()._dna_assign_options = t2; + t1.get$_app_ui_state$_$this()._dna_sequence_png_uri = null; + t1.get$_app_ui_state$_$this()._dna_sequence_png_horizontal_offset = 0; + t1.get$_app_ui_state$_$this()._dna_sequence_png_vertical_offset = 0; + t1.get$_app_ui_state$_$this()._export_svg_action_delayed_for_png_cache = null; + t1.get$_app_ui_state$_$this()._is_zoom_above_threshold = false; + t2 = t1.get$storables(); + t3 = $.$get$DEFAULT_AppUIStateStorable(); + if (t3 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + t2._app_ui_state_storables$_$v = t3; + return t1; + }, + AppUIState: function AppUIState() { + }, + _$AppUIStateSerializer: function _$AppUIStateSerializer() { + }, + _$AppUIState: function _$AppUIState(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19, t20, t21, t22, t23, t24, t25, t26, t27, t28, t29, t30, t31, t32, t33) { + var _ = this; + _.selectables_store = t0; + _.strands_move = t1; + _.domains_move = t2; + _.copy_info = t3; + _.potential_crossover_is_drawing = t4; + _.dna_ends_are_moving = t5; + _.helix_group_is_moving = t6; + _.load_dialog = t7; + _.slice_bar_is_moving = t8; + _.selection_box_displayed_main = t9; + _.selection_box_displayed_side = t10; + _.dna_assign_options = t11; + _.helix_change_apply_to_all = t12; + _.selection_rope = t13; + _.last_mod_5p = t14; + _.last_mod_3p = t15; + _.last_mod_int = t16; + _.mouseover_datas = t17; + _.example_designs = t18; + _.dialog = t19; + _.color_picker_strand = t20; + _.color_picker_substrand = t21; + _.strand_creation = t22; + _.side_view_grid_position_mouse_cursor = t23; + _.side_view_position_mouse_cursor = t24; + _.context_menu = t25; + _.changed_since_last_save = t26; + _.dna_sequence_png_uri = t27; + _.dna_sequence_png_horizontal_offset = t28; + _.dna_sequence_png_vertical_offset = t29; + _.export_svg_action_delayed_for_png_cache = t30; + _.is_zoom_above_threshold = t31; + _.storables = t32; + _.original_helix_offsets = t33; + _.__hashCode = null; + }, + AppUIStateBuilder: function AppUIStateBuilder() { + var _ = this; + _._dna_sequence_png_horizontal_offset = _._dna_sequence_png_uri = _._changed_since_last_save = _._context_menu = _._side_view_position_mouse_cursor = _._side_view_grid_position_mouse_cursor = _._strand_creation = _._color_picker_substrand = _._color_picker_strand = _._dialog = _._example_designs = _._mouseover_datas = _._last_mod_int = _._last_mod_3p = _._last_mod_5p = _._selection_rope = _._helix_change_apply_to_all = _._dna_assign_options = _._selection_box_displayed_side = _._selection_box_displayed_main = _._slice_bar_is_moving = _._load_dialog = _._helix_group_is_moving = _._dna_ends_are_moving = _._potential_crossover_is_drawing = _._copy_info = _._domains_move = _._strands_move = _._selectables_store = _._app_ui_state$_$v = null; + _._original_helix_offsets = _._storables = _._is_zoom_above_threshold = _._export_svg_action_delayed_for_png_cache = _._dna_sequence_png_vertical_offset = null; + }, + _AppUIState_Object_BuiltJsonSerializable: function _AppUIState_Object_BuiltJsonSerializable() { + }, + _$DesignLoadingDialog: function(backingProps) { + type$.legacy_Map_dynamic_dynamic._as(backingProps); + return backingProps == null ? Q._$$DesignLoadingDialogProps$JsMap$(new L.JsBackedMap({})) : Q._$$DesignLoadingDialogProps__$$DesignLoadingDialogProps(backingProps); + }, + _$$DesignLoadingDialogProps__$$DesignLoadingDialogProps: function(backingMap) { + var t1; + if (backingMap instanceof L.JsBackedMap) + return Q._$$DesignLoadingDialogProps$JsMap$(backingMap); + else { + t1 = type$.dynamic; + t1 = new Q._$$DesignLoadingDialogProps$PlainMap(P.LinkedHashMap_LinkedHashMap$_empty(t1, t1), null, null, null); + t1.get$$$isClassGenerated(); + t1._design_loading_dialog$_props = backingMap; + return t1; + } + }, + _$$DesignLoadingDialogProps$JsMap$: function(backingMap) { + var t1 = new Q._$$DesignLoadingDialogProps$JsMap(new L.JsBackedMap({}), null, null, null); + t1.get$$$isClassGenerated(); + t1._design_loading_dialog$_props = backingMap == null ? new L.JsBackedMap({}) : backingMap; + return t1; + }, + ConnectedLoadingDialog_closure: function ConnectedLoadingDialog_closure() { + }, + DesignLoadingDialogProps: function DesignLoadingDialogProps() { + }, + DesignLoadingDialogComponent: function DesignLoadingDialogComponent() { + }, + $DesignLoadingDialogComponentFactory_closure: function $DesignLoadingDialogComponentFactory_closure() { + }, + _$$DesignLoadingDialogProps: function _$$DesignLoadingDialogProps() { + }, + _$$DesignLoadingDialogProps$PlainMap: function _$$DesignLoadingDialogProps$PlainMap(t0, t1, t2, t3) { + var _ = this; + _._design_loading_dialog$_props = t0; + _.DesignLoadingDialogProps_show = t1; + _.componentFactory = null; + _.UbiquitousDomPropsMixin__aria = t2; + _.UbiquitousDomPropsMixin__dom = t3; + }, + _$$DesignLoadingDialogProps$JsMap: function _$$DesignLoadingDialogProps$JsMap(t0, t1, t2, t3) { + var _ = this; + _._design_loading_dialog$_props = t0; + _.DesignLoadingDialogProps_show = t1; + _.componentFactory = null; + _.UbiquitousDomPropsMixin__aria = t2; + _.UbiquitousDomPropsMixin__dom = t3; + }, + _$DesignLoadingDialogComponent: function _$DesignLoadingDialogComponent(t0) { + var _ = this; + _._design_loading_dialog$_cachedTypedProps = null; + _.DisposableManagerProxy__disposableProxy = t0; + _.jsThis = _.state = _.props = null; + }, + $DesignLoadingDialogProps: function $DesignLoadingDialogProps() { + }, + __$$DesignLoadingDialogProps_UiProps_DesignLoadingDialogProps: function __$$DesignLoadingDialogProps_UiProps_DesignLoadingDialogProps() { + }, + __$$DesignLoadingDialogProps_UiProps_DesignLoadingDialogProps_$DesignLoadingDialogProps: function __$$DesignLoadingDialogProps_UiProps_DesignLoadingDialogProps_$DesignLoadingDialogProps() { + }, + _$DesignMainArrows: function(backingProps) { + type$.legacy_Map_dynamic_dynamic._as(backingProps); + return backingProps == null ? Q._$$DesignMainArrowsProps$JsMap$(new L.JsBackedMap({})) : Q._$$DesignMainArrowsProps__$$DesignMainArrowsProps(backingProps); + }, + _$$DesignMainArrowsProps__$$DesignMainArrowsProps: function(backingMap) { + var t1, _null = null; + if (backingMap instanceof L.JsBackedMap) + return Q._$$DesignMainArrowsProps$JsMap$(backingMap); + else { + t1 = type$.dynamic; + t1 = new Q._$$DesignMainArrowsProps$PlainMap(P.LinkedHashMap_LinkedHashMap$_empty(t1, t1), _null, _null, _null, _null); + t1.get$$$isClassGenerated(); + t1._design_main_arrows$_props = backingMap; + return t1; + } + }, + _$$DesignMainArrowsProps$JsMap$: function(backingMap) { + var _null = null, + t1 = new Q._$$DesignMainArrowsProps$JsMap(new L.JsBackedMap({}), _null, _null, _null, _null); + t1.get$$$isClassGenerated(); + t1._design_main_arrows$_props = backingMap == null ? new L.JsBackedMap({}) : backingMap; + return t1; + }, + ConnectedDesignMainArrows_closure: function ConnectedDesignMainArrows_closure() { + }, + DesignMainArrowsProps: function DesignMainArrowsProps() { + }, + DesignMainArrowsComponent: function DesignMainArrowsComponent() { + }, + $DesignMainArrowsComponentFactory_closure0: function $DesignMainArrowsComponentFactory_closure0() { + }, + _$$DesignMainArrowsProps: function _$$DesignMainArrowsProps() { + }, + _$$DesignMainArrowsProps$PlainMap: function _$$DesignMainArrowsProps$PlainMap(t0, t1, t2, t3, t4) { + var _ = this; + _._design_main_arrows$_props = t0; + _.DesignMainArrowsProps_invert_y = t1; + _.DesignMainArrowsProps_show_helices_axis_arrows = t2; + _.componentFactory = null; + _.UbiquitousDomPropsMixin__aria = t3; + _.UbiquitousDomPropsMixin__dom = t4; + }, + _$$DesignMainArrowsProps$JsMap: function _$$DesignMainArrowsProps$JsMap(t0, t1, t2, t3, t4) { + var _ = this; + _._design_main_arrows$_props = t0; + _.DesignMainArrowsProps_invert_y = t1; + _.DesignMainArrowsProps_show_helices_axis_arrows = t2; + _.componentFactory = null; + _.UbiquitousDomPropsMixin__aria = t3; + _.UbiquitousDomPropsMixin__dom = t4; + }, + _$DesignMainArrowsComponent0: function _$DesignMainArrowsComponent0(t0) { + var _ = this; + _._design_main_arrows$_cachedTypedProps = null; + _.DisposableManagerProxy__disposableProxy = t0; + _.jsThis = _.state = _.props = null; + }, + $DesignMainArrowsProps: function $DesignMainArrowsProps() { + }, + __$$DesignMainArrowsProps_UiProps_DesignMainArrowsProps: function __$$DesignMainArrowsProps_UiProps_DesignMainArrowsProps() { + }, + __$$DesignMainArrowsProps_UiProps_DesignMainArrowsProps_$DesignMainArrowsProps: function __$$DesignMainArrowsProps_UiProps_DesignMainArrowsProps_$DesignMainArrowsProps() { + }, + _$DesignMainStrandCrossover: function(backingProps) { + type$.legacy_Map_dynamic_dynamic._as(backingProps); + return backingProps == null ? Q._$$DesignMainStrandCrossoverProps$JsMap$(new L.JsBackedMap({})) : Q._$$DesignMainStrandCrossoverProps__$$DesignMainStrandCrossoverProps(backingProps); + }, + _$$DesignMainStrandCrossoverProps__$$DesignMainStrandCrossoverProps: function(backingMap) { + var t1, _null = null; + if (backingMap instanceof L.JsBackedMap) + return Q._$$DesignMainStrandCrossoverProps$JsMap$(backingMap); + else { + t1 = type$.dynamic; + t1 = new Q._$$DesignMainStrandCrossoverProps$PlainMap(P.LinkedHashMap_LinkedHashMap$_empty(t1, t1), _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null); + t1.get$$$isClassGenerated(); + t1._design_main_strand_crossover$_props = backingMap; + return t1; + } + }, + _$$DesignMainStrandCrossoverProps$JsMap$: function(backingMap) { + var _null = null, + t1 = new Q._$$DesignMainStrandCrossoverProps$JsMap(new L.JsBackedMap({}), _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null); + t1.get$$$isClassGenerated(); + t1._design_main_strand_crossover$_props = backingMap == null ? new L.JsBackedMap({}) : backingMap; + return t1; + }, + _$$DesignMainStrandCrossoverState$JsMap$: function(backingMap) { + var t1 = new Q._$$DesignMainStrandCrossoverState$JsMap(new L.JsBackedMap({}), null); + t1.get$$$isClassGenerated(); + t1._design_main_strand_crossover$_state = backingMap; + return t1; + }, + DesignMainStrandCrossoverPropsMixin: function DesignMainStrandCrossoverPropsMixin() { + }, + DesignMainStrandCrossoverState: function DesignMainStrandCrossoverState() { + }, + DesignMainStrandCrossoverComponent: function DesignMainStrandCrossoverComponent() { + }, + DesignMainStrandCrossoverComponent_render_closure: function DesignMainStrandCrossoverComponent_render_closure(t0) { + this.$this = t0; + }, + DesignMainStrandCrossoverComponent_render_closure0: function DesignMainStrandCrossoverComponent_render_closure0(t0) { + this.$this = t0; + }, + DesignMainStrandCrossoverComponent_render_closure1: function DesignMainStrandCrossoverComponent_render_closure1(t0) { + this.$this = t0; + }, + DesignMainStrandCrossoverComponent_render_closure2: function DesignMainStrandCrossoverComponent_render_closure2(t0) { + this.$this = t0; + }, + $DesignMainStrandCrossoverComponentFactory_closure: function $DesignMainStrandCrossoverComponentFactory_closure() { + }, + _$$DesignMainStrandCrossoverProps: function _$$DesignMainStrandCrossoverProps() { + }, + _$$DesignMainStrandCrossoverProps$PlainMap: function _$$DesignMainStrandCrossoverProps$PlainMap(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16) { + var _ = this; + _._design_main_strand_crossover$_props = t0; + _.TransformByHelixGroupPropsMixin_helices = t1; + _.TransformByHelixGroupPropsMixin_groups = t2; + _.TransformByHelixGroupPropsMixin_geometry = t3; + _.DesignMainStrandCrossoverPropsMixin_crossover = t4; + _.DesignMainStrandCrossoverPropsMixin_strand = t5; + _.DesignMainStrandCrossoverPropsMixin_prev_domain = t6; + _.DesignMainStrandCrossoverPropsMixin_next_domain = t7; + _.DesignMainStrandCrossoverPropsMixin_selected = t8; + _.DesignMainStrandCrossoverPropsMixin_helices = t9; + _.DesignMainStrandCrossoverPropsMixin_groups = t10; + _.DesignMainStrandCrossoverPropsMixin_geometry = t11; + _.DesignMainStrandCrossoverPropsMixin_prev_domain_helix_svg_position_y = t12; + _.DesignMainStrandCrossoverPropsMixin_next_domain_helix_svg_position_y = t13; + _.DesignMainStrandCrossoverPropsMixin_retain_strand_color_on_selection = t14; + _.componentFactory = null; + _.UbiquitousDomPropsMixin__aria = t15; + _.UbiquitousDomPropsMixin__dom = t16; + }, + _$$DesignMainStrandCrossoverProps$JsMap: function _$$DesignMainStrandCrossoverProps$JsMap(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16) { + var _ = this; + _._design_main_strand_crossover$_props = t0; + _.TransformByHelixGroupPropsMixin_helices = t1; + _.TransformByHelixGroupPropsMixin_groups = t2; + _.TransformByHelixGroupPropsMixin_geometry = t3; + _.DesignMainStrandCrossoverPropsMixin_crossover = t4; + _.DesignMainStrandCrossoverPropsMixin_strand = t5; + _.DesignMainStrandCrossoverPropsMixin_prev_domain = t6; + _.DesignMainStrandCrossoverPropsMixin_next_domain = t7; + _.DesignMainStrandCrossoverPropsMixin_selected = t8; + _.DesignMainStrandCrossoverPropsMixin_helices = t9; + _.DesignMainStrandCrossoverPropsMixin_groups = t10; + _.DesignMainStrandCrossoverPropsMixin_geometry = t11; + _.DesignMainStrandCrossoverPropsMixin_prev_domain_helix_svg_position_y = t12; + _.DesignMainStrandCrossoverPropsMixin_next_domain_helix_svg_position_y = t13; + _.DesignMainStrandCrossoverPropsMixin_retain_strand_color_on_selection = t14; + _.componentFactory = null; + _.UbiquitousDomPropsMixin__aria = t15; + _.UbiquitousDomPropsMixin__dom = t16; + }, + _$$DesignMainStrandCrossoverState: function _$$DesignMainStrandCrossoverState() { + }, + _$$DesignMainStrandCrossoverState$JsMap: function _$$DesignMainStrandCrossoverState$JsMap(t0, t1) { + this._design_main_strand_crossover$_state = t0; + this.DesignMainStrandCrossoverState_mouse_hover = t1; + }, + _$DesignMainStrandCrossoverComponent: function _$DesignMainStrandCrossoverComponent(t0) { + var _ = this; + _._design_main_strand_crossover$_cachedTypedState = _._design_main_strand_crossover$_cachedTypedProps = null; + _.DisposableManagerProxy__disposableProxy = t0; + _.jsThis = _.state = _.props = null; + }, + $DesignMainStrandCrossoverPropsMixin: function $DesignMainStrandCrossoverPropsMixin() { + }, + $DesignMainStrandCrossoverState: function $DesignMainStrandCrossoverState() { + }, + _DesignMainStrandCrossoverComponent_UiStatefulComponent2_PureComponent: function _DesignMainStrandCrossoverComponent_UiStatefulComponent2_PureComponent() { + }, + _DesignMainStrandCrossoverComponent_UiStatefulComponent2_PureComponent_TransformByHelixGroup: function _DesignMainStrandCrossoverComponent_UiStatefulComponent2_PureComponent_TransformByHelixGroup() { + }, + __$$DesignMainStrandCrossoverProps_UiProps_DesignMainStrandCrossoverPropsMixin: function __$$DesignMainStrandCrossoverProps_UiProps_DesignMainStrandCrossoverPropsMixin() { + }, + __$$DesignMainStrandCrossoverProps_UiProps_DesignMainStrandCrossoverPropsMixin_$DesignMainStrandCrossoverPropsMixin: function __$$DesignMainStrandCrossoverProps_UiProps_DesignMainStrandCrossoverPropsMixin_$DesignMainStrandCrossoverPropsMixin() { + }, + __$$DesignMainStrandCrossoverProps_UiProps_DesignMainStrandCrossoverPropsMixin_$DesignMainStrandCrossoverPropsMixin_TransformByHelixGroupPropsMixin: function __$$DesignMainStrandCrossoverProps_UiProps_DesignMainStrandCrossoverPropsMixin_$DesignMainStrandCrossoverPropsMixin_TransformByHelixGroupPropsMixin() { + }, + __$$DesignMainStrandCrossoverProps_UiProps_DesignMainStrandCrossoverPropsMixin_$DesignMainStrandCrossoverPropsMixin_TransformByHelixGroupPropsMixin_$TransformByHelixGroupPropsMixin: function __$$DesignMainStrandCrossoverProps_UiProps_DesignMainStrandCrossoverPropsMixin_$DesignMainStrandCrossoverPropsMixin_TransformByHelixGroupPropsMixin_$TransformByHelixGroupPropsMixin() { + }, + __$$DesignMainStrandCrossoverState_UiState_DesignMainStrandCrossoverState: function __$$DesignMainStrandCrossoverState_UiState_DesignMainStrandCrossoverState() { + }, + __$$DesignMainStrandCrossoverState_UiState_DesignMainStrandCrossoverState_$DesignMainStrandCrossoverState: function __$$DesignMainStrandCrossoverState_UiState_DesignMainStrandCrossoverState_$DesignMainStrandCrossoverState() { + }, + ask_for_num_bases: function(title, current_num_bases, lower_bound) { + var $async$goto = 0, + $async$completer = P._makeAsyncAwaitCompleter(type$.legacy_int), + $async$returnValue, results, num_bases, items; + var $async$ask_for_num_bases = P._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { + if ($async$errorCode === 1) + return P._asyncRethrow($async$result, $async$completer); + while (true) + switch ($async$goto) { + case 0: + // Function start + items = P.List_List$filled(1, null, false, type$.legacy_DialogItem); + C.JSArray_methods.$indexSet(items, 0, E.DialogInteger_DialogInteger("number of bases:", null, current_num_bases)); + $async$goto = 3; + return P._asyncAwait(E.dialog(E.Dialog_Dialog(C.Set_empty, C.Map_empty2, C.Map_empty2, C.Map_empty3, items, C.List_empty1, E.dialog_Dialog_identity_function$closure(), title, C.DialogType_set_extension_num_bases, false)), $async$ask_for_num_bases); + case 3: + // returning from await. + results = $async$result; + if (results == null) { + $async$returnValue = current_num_bases; + // goto return + $async$goto = 1; + break; + } + num_bases = H._asIntS(type$.legacy_DialogInteger._as(J.$index$asx(results, 0)).value); + if (num_bases < lower_bound) { + C.Window_methods.alert$1(window, "number of bases must be at least " + lower_bound + ", but you entered " + num_bases); + $async$returnValue = current_num_bases; + // goto return + $async$goto = 1; + break; + } + $async$returnValue = num_bases; + // goto return + $async$goto = 1; + break; + case 1: + // return + return P._asyncReturn($async$returnValue, $async$completer); + } + }); + return P._asyncStartSync($async$ask_for_num_bases, $async$completer); + }, + _$DesignMainExtension: function(backingProps) { + type$.legacy_Map_dynamic_dynamic._as(backingProps); + return backingProps == null ? Q._$$DesignMainExtensionProps$JsMap$(new L.JsBackedMap({})) : Q._$$DesignMainExtensionProps__$$DesignMainExtensionProps(backingProps); + }, + _$$DesignMainExtensionProps__$$DesignMainExtensionProps: function(backingMap) { + var t1, _null = null; + if (backingMap instanceof L.JsBackedMap) + return Q._$$DesignMainExtensionProps$JsMap$(backingMap); + else { + t1 = type$.dynamic; + t1 = new Q._$$DesignMainExtensionProps$PlainMap(P.LinkedHashMap_LinkedHashMap$_empty(t1, t1), _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null); + t1.get$$$isClassGenerated(); + t1._design_main_strand_extension$_props = backingMap; + return t1; + } + }, + _$$DesignMainExtensionProps$JsMap$: function(backingMap) { + var _null = null, + t1 = new Q._$$DesignMainExtensionProps$JsMap(new L.JsBackedMap({}), _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null); + t1.get$$$isClassGenerated(); + t1._design_main_strand_extension$_props = backingMap == null ? new L.JsBackedMap({}) : backingMap; + return t1; + }, + DesignMainExtensionPropsMixin: function DesignMainExtensionPropsMixin() { + }, + DesignMainExtensionComponent: function DesignMainExtensionComponent() { + }, + DesignMainExtensionComponent_context_menu_extension_closure: function DesignMainExtensionComponent_context_menu_extension_closure() { + }, + DesignMainExtensionComponent_context_menu_extension__closure0: function DesignMainExtensionComponent_context_menu_extension__closure0() { + }, + DesignMainExtensionComponent_context_menu_extension_closure0: function DesignMainExtensionComponent_context_menu_extension_closure0() { + }, + DesignMainExtensionComponent_context_menu_extension__closure: function DesignMainExtensionComponent_context_menu_extension__closure() { + }, + DesignMainExtensionComponent_context_menu_extension_closure1: function DesignMainExtensionComponent_context_menu_extension_closure1(t0) { + this.$this = t0; + }, + DesignMainExtensionComponent_context_menu_extension_closure2: function DesignMainExtensionComponent_context_menu_extension_closure2(t0) { + this.$this = t0; + }, + DesignMainExtensionComponent_extension_num_bases_change_closure: function DesignMainExtensionComponent_extension_num_bases_change_closure(t0) { + this.$this = t0; + }, + DesignMainExtensionComponent_set_extension_label_closure: function DesignMainExtensionComponent_set_extension_label_closure(t0) { + this.$this = t0; + }, + DesignMainExtensionComponent_ask_for_extension_name_closure: function DesignMainExtensionComponent_ask_for_extension_name_closure(t0) { + this.name = t0; + }, + $DesignMainExtensionComponentFactory_closure: function $DesignMainExtensionComponentFactory_closure() { + }, + _$$DesignMainExtensionProps: function _$$DesignMainExtensionProps() { + }, + _$$DesignMainExtensionProps$PlainMap: function _$$DesignMainExtensionProps$PlainMap(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18) { + var _ = this; + _._design_main_strand_extension$_props = t0; + _.TransformByHelixGroupPropsMixin_helices = t1; + _.TransformByHelixGroupPropsMixin_groups = t2; + _.TransformByHelixGroupPropsMixin_geometry = t3; + _.DesignMainExtensionPropsMixin_ext = t4; + _.DesignMainExtensionPropsMixin_adjacent_domain = t5; + _.DesignMainExtensionPropsMixin_adjacent_helix = t6; + _.DesignMainExtensionPropsMixin_strand_color = t7; + _.DesignMainExtensionPropsMixin_strand = t8; + _.DesignMainExtensionPropsMixin_strand_tooltip = t9; + _.DesignMainExtensionPropsMixin_transform = t10; + _.DesignMainExtensionPropsMixin_adjacent_helix_svg_position = t11; + _.DesignMainExtensionPropsMixin_selected = t12; + _.DesignMainExtensionPropsMixin_helices = t13; + _.DesignMainExtensionPropsMixin_groups = t14; + _.DesignMainExtensionPropsMixin_geometry = t15; + _.DesignMainExtensionPropsMixin_retain_strand_color_on_selection = t16; + _.componentFactory = null; + _.UbiquitousDomPropsMixin__aria = t17; + _.UbiquitousDomPropsMixin__dom = t18; + }, + _$$DesignMainExtensionProps$JsMap: function _$$DesignMainExtensionProps$JsMap(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18) { + var _ = this; + _._design_main_strand_extension$_props = t0; + _.TransformByHelixGroupPropsMixin_helices = t1; + _.TransformByHelixGroupPropsMixin_groups = t2; + _.TransformByHelixGroupPropsMixin_geometry = t3; + _.DesignMainExtensionPropsMixin_ext = t4; + _.DesignMainExtensionPropsMixin_adjacent_domain = t5; + _.DesignMainExtensionPropsMixin_adjacent_helix = t6; + _.DesignMainExtensionPropsMixin_strand_color = t7; + _.DesignMainExtensionPropsMixin_strand = t8; + _.DesignMainExtensionPropsMixin_strand_tooltip = t9; + _.DesignMainExtensionPropsMixin_transform = t10; + _.DesignMainExtensionPropsMixin_adjacent_helix_svg_position = t11; + _.DesignMainExtensionPropsMixin_selected = t12; + _.DesignMainExtensionPropsMixin_helices = t13; + _.DesignMainExtensionPropsMixin_groups = t14; + _.DesignMainExtensionPropsMixin_geometry = t15; + _.DesignMainExtensionPropsMixin_retain_strand_color_on_selection = t16; + _.componentFactory = null; + _.UbiquitousDomPropsMixin__aria = t17; + _.UbiquitousDomPropsMixin__dom = t18; + }, + _$DesignMainExtensionComponent: function _$DesignMainExtensionComponent(t0) { + var _ = this; + _._design_main_strand_extension$_cachedTypedProps = null; + _.DisposableManagerProxy__disposableProxy = t0; + _.jsThis = _.state = _.props = null; + }, + $DesignMainExtensionPropsMixin: function $DesignMainExtensionPropsMixin() { + }, + _DesignMainExtensionComponent_UiComponent2_PureComponent: function _DesignMainExtensionComponent_UiComponent2_PureComponent() { + }, + _DesignMainExtensionComponent_UiComponent2_PureComponent_TransformByHelixGroup: function _DesignMainExtensionComponent_UiComponent2_PureComponent_TransformByHelixGroup() { + }, + __$$DesignMainExtensionProps_UiProps_DesignMainExtensionPropsMixin: function __$$DesignMainExtensionProps_UiProps_DesignMainExtensionPropsMixin() { + }, + __$$DesignMainExtensionProps_UiProps_DesignMainExtensionPropsMixin_$DesignMainExtensionPropsMixin: function __$$DesignMainExtensionProps_UiProps_DesignMainExtensionPropsMixin_$DesignMainExtensionPropsMixin() { + }, + __$$DesignMainExtensionProps_UiProps_DesignMainExtensionPropsMixin_$DesignMainExtensionPropsMixin_TransformByHelixGroupPropsMixin: function __$$DesignMainExtensionProps_UiProps_DesignMainExtensionPropsMixin_$DesignMainExtensionPropsMixin_TransformByHelixGroupPropsMixin() { + }, + __$$DesignMainExtensionProps_UiProps_DesignMainExtensionPropsMixin_$DesignMainExtensionPropsMixin_TransformByHelixGroupPropsMixin_$TransformByHelixGroupPropsMixin: function __$$DesignMainExtensionProps_UiProps_DesignMainExtensionPropsMixin_$DesignMainExtensionPropsMixin_TransformByHelixGroupPropsMixin_$TransformByHelixGroupPropsMixin() { + }, + _$SideMenu: function(backingProps) { + type$.legacy_Map_dynamic_dynamic._as(backingProps); + return backingProps == null ? Q._$$SideMenuProps$JsMap$(new L.JsBackedMap({})) : Q._$$SideMenuProps__$$SideMenuProps(backingProps); + }, + _$$SideMenuProps__$$SideMenuProps: function(backingMap) { + var t1, _null = null; + if (backingMap instanceof L.JsBackedMap) + return Q._$$SideMenuProps$JsMap$(backingMap); + else { + t1 = type$.dynamic; + t1 = new Q._$$SideMenuProps$PlainMap(P.LinkedHashMap_LinkedHashMap$_empty(t1, t1), _null, _null, _null, _null); + t1.get$$$isClassGenerated(); + t1._menu_side$_props = backingMap; + return t1; + } + }, + _$$SideMenuProps$JsMap$: function(backingMap) { + var _null = null, + t1 = new Q._$$SideMenuProps$JsMap(new L.JsBackedMap({}), _null, _null, _null, _null); + t1.get$$$isClassGenerated(); + t1._menu_side$_props = backingMap == null ? new L.JsBackedMap({}) : backingMap; + return t1; + }, + ConnectedSideMenu_closure: function ConnectedSideMenu_closure() { + }, + SideMenuPropsMixin: function SideMenuPropsMixin() { + }, + SideMenuComponent: function SideMenuComponent() { + }, + SideMenuComponent_groups_menu_closure: function SideMenuComponent_groups_menu_closure(t0) { + this.name = t0; + }, + SideMenuComponent_groups_menu_closure0: function SideMenuComponent_groups_menu_closure0(t0) { + this.$this = t0; + }, + SideMenuComponent_groups_menu_closure1: function SideMenuComponent_groups_menu_closure1(t0) { + this.$this = t0; + }, + SideMenuComponent_groups_menu_closure2: function SideMenuComponent_groups_menu_closure2(t0) { + this.$this = t0; + }, + SideMenuComponent_groups_menu_closure3: function SideMenuComponent_groups_menu_closure3(t0) { + this.$this = t0; + }, + SideMenuComponent_grid_menu_closure: function SideMenuComponent_grid_menu_closure(t0, t1) { + this.$this = t0; + this.grid = t1; + }, + SideMenuComponent_add_new_group_closure: function SideMenuComponent_add_new_group_closure(t0, t1) { + this.$this = t0; + this.existing_names = t1; + }, + SideMenuComponent_ask_new_helix_indices_for_current_group_closure: function SideMenuComponent_ask_new_helix_indices_for_current_group_closure(t0) { + this.items = t0; + }, + SideMenuComponent_ask_new_helix_indices_for_current_group__closure: function SideMenuComponent_ask_new_helix_indices_for_current_group__closure(t0) { + this.saved_item = t0; + }, + $SideMenuComponentFactory_closure: function $SideMenuComponentFactory_closure() { + }, + _$$SideMenuProps: function _$$SideMenuProps() { + }, + _$$SideMenuProps$PlainMap: function _$$SideMenuProps$PlainMap(t0, t1, t2, t3, t4) { + var _ = this; + _._menu_side$_props = t0; + _.SideMenuPropsMixin_groups = t1; + _.SideMenuPropsMixin_displayed_group_name = t2; + _.componentFactory = null; + _.UbiquitousDomPropsMixin__aria = t3; + _.UbiquitousDomPropsMixin__dom = t4; + }, + _$$SideMenuProps$JsMap: function _$$SideMenuProps$JsMap(t0, t1, t2, t3, t4) { + var _ = this; + _._menu_side$_props = t0; + _.SideMenuPropsMixin_groups = t1; + _.SideMenuPropsMixin_displayed_group_name = t2; + _.componentFactory = null; + _.UbiquitousDomPropsMixin__aria = t3; + _.UbiquitousDomPropsMixin__dom = t4; + }, + _$SideMenuComponent: function _$SideMenuComponent(t0, t1, t2, t3) { + var _ = this; + _._menu_side$_cachedTypedProps = null; + _.RedrawCounterMixin__desiredRedrawCount = t0; + _.RedrawCounterMixin__didRedraw = t1; + _.RedrawCounterMixin_redrawCount = t2; + _.DisposableManagerProxy__disposableProxy = t3; + _.jsThis = _.state = _.props = null; + }, + $SideMenuPropsMixin: function $SideMenuPropsMixin() { + }, + _SideMenuComponent_UiComponent2_RedrawCounterMixin: function _SideMenuComponent_UiComponent2_RedrawCounterMixin() { + }, + __$$SideMenuProps_UiProps_SideMenuPropsMixin: function __$$SideMenuProps_UiProps_SideMenuPropsMixin() { + }, + __$$SideMenuProps_UiProps_SideMenuPropsMixin_$SideMenuPropsMixin: function __$$SideMenuProps_UiProps_SideMenuPropsMixin_$SideMenuPropsMixin() { + }, + __$$SideMenuProps_UiProps_SideMenuPropsMixin_$SideMenuPropsMixin_ConnectPropsMixin: function __$$SideMenuProps_UiProps_SideMenuPropsMixin_$SideMenuPropsMixin_ConnectPropsMixin() { + }, + __$$SideMenuProps_UiProps_SideMenuPropsMixin_$SideMenuPropsMixin_ConnectPropsMixin_$ConnectPropsMixin: function __$$SideMenuProps_UiProps_SideMenuPropsMixin_$SideMenuPropsMixin_ConnectPropsMixin_$ConnectPropsMixin() { + }, + ReactBootstrap: function ReactBootstrap() { + }, + ReactColor: function ReactColor() { + }, + setup_file_drag_and_drop_listener: function(drop_zone) { + var t1, t2, t3; + drop_zone.toString; + t1 = type$._ElementEventStreamImpl_legacy_MouseEvent; + t2 = t1._eval$1("~(1)?"); + t3 = t2._as(new Q.setup_file_drag_and_drop_listener_closure()); + type$.nullable_void_Function._as(null); + t1 = t1._precomputed1; + W._EventStreamSubscription$(drop_zone, "dragover", t3, false, t1); + W._EventStreamSubscription$(drop_zone, "drop", t2._as(new Q.setup_file_drag_and_drop_listener_closure0()), false, t1); + }, + View: function View(t0, t1, t2, t3, t4, t5, t6) { + var _ = this; + _.root_element = t0; + _.edit_and_select_modes_element = t1; + _.menu_element = t2; + _.nonmenu_panes_container_element = t3; + _.design_element = t4; + _.design_and_modes_buttons_container_element = t5; + _.design_oxview_separator = t6; + _.oxview_view = _.design_view = null; + _.currently_showing_oxview = false; + }, + setup_file_drag_and_drop_listener_closure: function setup_file_drag_and_drop_listener_closure() { + }, + setup_file_drag_and_drop_listener_closure0: function setup_file_drag_and_drop_listener_closure0() { + }, + setup_file_drag_and_drop_listener__closure: function setup_file_drag_and_drop_listener__closure() { + }, + setup_file_drag_and_drop_listener__closure0: function setup_file_drag_and_drop_listener__closure0(t0, t1) { + this.file_reader = t0; + this.filename = t1; + }, + setup_file_drag_and_drop_listener__closure1: function setup_file_drag_and_drop_listener__closure1(t0) { + this.err_msg = t0; + }, + XmlDoctype: function XmlDoctype(t0, t1) { + this.text = t0; + this.XmlHasParent__parent = t1; + }, + XmlName_XmlName: function(local) { + return new R.XmlSimpleName(local, null); + }, + XmlName_XmlName$fromString: function(qualified) { + var index = J.indexOf$1$asx(qualified, ":"); + if (index > 0) + return new B.XmlPrefixName(C.JSString_methods.substring$2(qualified, 0, index), C.JSString_methods.substring$1(qualified, index + 1), qualified, null); + else + return new R.XmlSimpleName(qualified, null); + }, + XmlName: function XmlName() { + }, + _XmlName_Object_XmlHasVisitor: function _XmlName_Object_XmlHasVisitor() { + }, + _XmlName_Object_XmlHasVisitor_XmlHasWriter: function _XmlName_Object_XmlHasVisitor_XmlHasWriter() { + }, + _XmlName_Object_XmlHasVisitor_XmlHasWriter_XmlHasParent: function _XmlName_Object_XmlHasVisitor_XmlHasWriter_XmlHasParent() { + }, + toggle_select_mode_reducer: function(state, action) { + var mode, new_state, t1, t2; + type$.legacy_SelectModeState._as(state); + mode = type$.legacy_SelectModeToggle._as(action).select_mode_choice; + if (state.modes._set.contains$1(0, mode)) + new_state = state.remove_mode$1(mode); + else { + new_state = state.add_mode$1(mode); + if (mode === C.SelectModeChoice_strand) + new_state = new_state.remove_modes$1($.$get$SelectModeChoice_strand_parts()); + else if (J.contains$1$asx($.$get$SelectModeChoice_strand_parts()._list, mode)) { + new_state = new_state.remove_mode$1(C.SelectModeChoice_strand); + if (mode === C.SelectModeChoice_crossover || mode === C.SelectModeChoice_loopout) { + t1 = $.$get$SelectModeChoice_ends(); + new_state = new_state.remove_modes$1(J.$add$ansx(t1._list, H._instanceType(t1)._eval$1("List<1>")._as(H.setRuntimeTypeInfo([C.SelectModeChoice_domain, C.SelectModeChoice_deletion, C.SelectModeChoice_insertion, C.SelectModeChoice_extension_], type$.JSArray_legacy_SelectModeChoice)))); + } else { + t1 = $.$get$SelectModeChoice_ends(); + t2 = t1._list; + if (J.contains$1$asx(t2, mode)) + new_state = new_state.remove_modes$1(H.setRuntimeTypeInfo([C.SelectModeChoice_crossover, C.SelectModeChoice_loopout, C.SelectModeChoice_extension_, C.SelectModeChoice_domain, C.SelectModeChoice_deletion, C.SelectModeChoice_insertion, C.SelectModeChoice_modification], type$.JSArray_legacy_SelectModeChoice)); + else if (mode === C.SelectModeChoice_domain) + new_state = new_state.remove_modes$1(J.$add$ansx(t2, H._instanceType(t1)._eval$1("List<1>")._as(H.setRuntimeTypeInfo([C.SelectModeChoice_crossover, C.SelectModeChoice_loopout, C.SelectModeChoice_extension_, C.SelectModeChoice_deletion, C.SelectModeChoice_insertion, C.SelectModeChoice_modification], type$.JSArray_legacy_SelectModeChoice)))); + else if (mode === C.SelectModeChoice_extension_) + new_state = new_state.remove_modes$1(J.$add$ansx(t2, H._instanceType(t1)._eval$1("List<1>")._as(H.setRuntimeTypeInfo([C.SelectModeChoice_crossover, C.SelectModeChoice_loopout, C.SelectModeChoice_domain, C.SelectModeChoice_deletion, C.SelectModeChoice_insertion, C.SelectModeChoice_modification], type$.JSArray_legacy_SelectModeChoice)))); + else if (mode === C.SelectModeChoice_deletion || mode === C.SelectModeChoice_insertion) + new_state = new_state.remove_modes$1(J.$add$ansx(t2, H._instanceType(t1)._eval$1("List<1>")._as(H.setRuntimeTypeInfo([C.SelectModeChoice_crossover, C.SelectModeChoice_loopout, C.SelectModeChoice_extension_, C.SelectModeChoice_domain, C.SelectModeChoice_modification], type$.JSArray_legacy_SelectModeChoice)))); + else if (mode === C.SelectModeChoice_modification) + new_state = new_state.remove_modes$1(J.$add$ansx(t2, H._instanceType(t1)._eval$1("List<1>")._as(H.setRuntimeTypeInfo([C.SelectModeChoice_crossover, C.SelectModeChoice_loopout, C.SelectModeChoice_extension_, C.SelectModeChoice_domain, C.SelectModeChoice_deletion, C.SelectModeChoice_insertion], type$.JSArray_legacy_SelectModeChoice)))); + } + } + } + return new_state; + }, + set_select_modes_reducer: function(state, action) { + return type$.legacy_SelectModeState._as(state).set_modes$1(type$.legacy_SelectModesSet._as(action).select_mode_choices); + }, + add_select_modes_reducer: function(state, action) { + var t1, new_state, t2, t3, t4, t5; + type$.legacy_SelectModeState._as(state); + t1 = type$.legacy_SelectModesAdd._as(action).modes; + new_state = state.add_modes$1(t1); + for (t1 = J.get$iterator$ax(t1._list), t2 = type$.JSArray_legacy_SelectModeChoice; t1.moveNext$0();) { + t3 = t1.get$current(t1); + if (t3 === C.SelectModeChoice_strand) + new_state = new_state.remove_modes$1($.$get$SelectModeChoice_strand_parts()); + else if (J.contains$1$asx($.$get$SelectModeChoice_strand_parts()._list, t3)) { + new_state = new_state.remove_mode$1(C.SelectModeChoice_strand); + if (t3 === C.SelectModeChoice_crossover || t3 === C.SelectModeChoice_loopout) { + t3 = $.$get$SelectModeChoice_ends(); + new_state = new_state.remove_modes$1(J.$add$ansx(t3._list, H._instanceType(t3)._eval$1("List<1>")._as(H.setRuntimeTypeInfo([C.SelectModeChoice_domain, C.SelectModeChoice_deletion, C.SelectModeChoice_insertion, C.SelectModeChoice_modification], t2)))); + } else { + t4 = $.$get$SelectModeChoice_ends(); + t5 = t4._list; + if (J.contains$1$asx(t5, t3)) + new_state = new_state.remove_modes$1(H.setRuntimeTypeInfo([C.SelectModeChoice_crossover, C.SelectModeChoice_loopout, C.SelectModeChoice_domain, C.SelectModeChoice_deletion, C.SelectModeChoice_insertion, C.SelectModeChoice_modification], t2)); + else if (t3 === C.SelectModeChoice_domain) + new_state = new_state.remove_modes$1(J.$add$ansx(t5, H._instanceType(t4)._eval$1("List<1>")._as(H.setRuntimeTypeInfo([C.SelectModeChoice_crossover, C.SelectModeChoice_loopout, C.SelectModeChoice_deletion, C.SelectModeChoice_insertion, C.SelectModeChoice_modification], t2)))); + else if (t3 === C.SelectModeChoice_deletion || t3 === C.SelectModeChoice_insertion) + new_state = new_state.remove_modes$1(J.$add$ansx(t5, H._instanceType(t4)._eval$1("List<1>")._as(H.setRuntimeTypeInfo([C.SelectModeChoice_crossover, C.SelectModeChoice_loopout, C.SelectModeChoice_domain, C.SelectModeChoice_modification], t2)))); + else if (t3 === C.SelectModeChoice_modification) + new_state = new_state.remove_modes$1(J.$add$ansx(t5, H._instanceType(t4)._eval$1("List<1>")._as(H.setRuntimeTypeInfo([C.SelectModeChoice_crossover, C.SelectModeChoice_loopout, C.SelectModeChoice_domain, C.SelectModeChoice_deletion, C.SelectModeChoice_insertion], t2)))); + } + } + } + return new_state; + }, + filterElements: function(iterable, $name, namespace) { + var matcher = N.createNameMatcher($name, namespace), + t1 = iterable.whereType$1$0(0, type$.XmlElement), + t2 = t1.$ti; + return new H.WhereIterable(t1, t2._eval$1("bool(Iterable.E)")._as(matcher), t2._eval$1("WhereIterable")); + } + }, + E = {ZipDirectory: function ZipDirectory(t0) { + var _ = this; + _.filePosition = -1; + _.totalCentralDirectoryEntriesOnThisDisk = _.numberOfThisDisk = 0; + _.__ZipDirectory_centralDirectoryOffset = _.__ZipDirectory_centralDirectorySize = $; + _.fileHeaders = t0; + }, BaseClient: function BaseClient() { + }, ClientException: function ClientException(t0) { + this.message = t0; + }, + _$RecoverableErrorBoundary: function(backingProps) { + type$.legacy_Map_dynamic_dynamic._as(backingProps); + return backingProps == null ? E._$$RecoverableErrorBoundaryProps$JsMap$(new L.JsBackedMap({})) : E._$$RecoverableErrorBoundaryProps__$$RecoverableErrorBoundaryProps(backingProps); + }, + _$$RecoverableErrorBoundaryProps__$$RecoverableErrorBoundaryProps: function(backingMap) { + var t1, _null = null; + if (backingMap instanceof L.JsBackedMap) + return E._$$RecoverableErrorBoundaryProps$JsMap$(backingMap); + else { + t1 = type$.dynamic; + t1 = new E._$$RecoverableErrorBoundaryProps$PlainMap(P.LinkedHashMap_LinkedHashMap$_empty(t1, t1), _null, _null, _null, _null, _null, _null, _null, _null, _null); + t1.get$$$isClassGenerated(); + t1._error_boundary_recoverable$_props = backingMap; + return t1; + } + }, + _$$RecoverableErrorBoundaryProps$JsMap$: function(backingMap) { + var _null = null, + t1 = new E._$$RecoverableErrorBoundaryProps$JsMap(new L.JsBackedMap({}), _null, _null, _null, _null, _null, _null, _null, _null, _null); + t1.get$$$isClassGenerated(); + t1._error_boundary_recoverable$_props = backingMap == null ? new L.JsBackedMap({}) : backingMap; + return t1; + }, + _$$RecoverableErrorBoundaryState$JsMap$: function(backingMap) { + var t1 = new E._$$RecoverableErrorBoundaryState$JsMap(new L.JsBackedMap({}), null, null); + t1.get$$$isClassGenerated(); + t1._error_boundary_recoverable$_state = backingMap; + return t1; + }, + RecoverableErrorBoundaryComponent: function RecoverableErrorBoundaryComponent() { + }, + $RecoverableErrorBoundaryComponentFactory_closure: function $RecoverableErrorBoundaryComponentFactory_closure() { + }, + _$$RecoverableErrorBoundaryProps: function _$$RecoverableErrorBoundaryProps() { + }, + _$$RecoverableErrorBoundaryProps$PlainMap: function _$$RecoverableErrorBoundaryProps$PlainMap(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9) { + var _ = this; + _._error_boundary_recoverable$_props = t0; + _.ErrorBoundaryProps_onComponentDidCatch = t1; + _.ErrorBoundaryProps_onComponentIsUnrecoverable = t2; + _.ErrorBoundaryProps_fallbackUIRenderer = t3; + _.ErrorBoundaryProps_identicalErrorFrequencyTolerance = t4; + _.ErrorBoundaryProps_loggerName = t5; + _.ErrorBoundaryProps_shouldLogErrors = t6; + _.ErrorBoundaryProps_logger = t7; + _.componentFactory = null; + _.UbiquitousDomPropsMixin__aria = t8; + _.UbiquitousDomPropsMixin__dom = t9; + }, + _$$RecoverableErrorBoundaryProps$JsMap: function _$$RecoverableErrorBoundaryProps$JsMap(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9) { + var _ = this; + _._error_boundary_recoverable$_props = t0; + _.ErrorBoundaryProps_onComponentDidCatch = t1; + _.ErrorBoundaryProps_onComponentIsUnrecoverable = t2; + _.ErrorBoundaryProps_fallbackUIRenderer = t3; + _.ErrorBoundaryProps_identicalErrorFrequencyTolerance = t4; + _.ErrorBoundaryProps_loggerName = t5; + _.ErrorBoundaryProps_shouldLogErrors = t6; + _.ErrorBoundaryProps_logger = t7; + _.componentFactory = null; + _.UbiquitousDomPropsMixin__aria = t8; + _.UbiquitousDomPropsMixin__dom = t9; + }, + _$$RecoverableErrorBoundaryState: function _$$RecoverableErrorBoundaryState() { + }, + _$$RecoverableErrorBoundaryState$JsMap: function _$$RecoverableErrorBoundaryState$JsMap(t0, t1, t2) { + this._error_boundary_recoverable$_state = t0; + this.ErrorBoundaryState_hasError = t1; + this.ErrorBoundaryState_showFallbackUIOnError = t2; + }, + _$RecoverableErrorBoundaryComponent: function _$RecoverableErrorBoundaryComponent(t0, t1, t2) { + var _ = this; + _._domAtTimeOfError = _._error_boundary_recoverable$_cachedTypedState = _._error_boundary_recoverable$_cachedTypedProps = null; + _._errorLog = t0; + _._callStackLog = t1; + _._identicalErrorTimer = null; + _.DisposableManagerProxy__disposableProxy = t2; + _.jsThis = _.state = _.props = null; + }, + _RecoverableErrorBoundaryComponent_UiStatefulComponent2_ErrorBoundaryApi: function _RecoverableErrorBoundaryComponent_UiStatefulComponent2_ErrorBoundaryApi() { + }, + __$$RecoverableErrorBoundaryProps_UiProps_ErrorBoundaryProps: function __$$RecoverableErrorBoundaryProps_UiProps_ErrorBoundaryProps() { + }, + __$$RecoverableErrorBoundaryProps_UiProps_ErrorBoundaryProps_$ErrorBoundaryProps: function __$$RecoverableErrorBoundaryProps_UiProps_ErrorBoundaryProps_$ErrorBoundaryProps() { + }, + __$$RecoverableErrorBoundaryState_UiState_ErrorBoundaryState: function __$$RecoverableErrorBoundaryState_UiState_ErrorBoundaryState() { + }, + __$$RecoverableErrorBoundaryState_UiState_ErrorBoundaryState_$ErrorBoundaryState: function __$$RecoverableErrorBoundaryState_UiState_ErrorBoundaryState_$ErrorBoundaryState() { + }, + PosixStyle: function PosixStyle(t0, t1, t2) { + this.separatorPattern = t0; + this.needsSeparatorPattern = t1; + this.rootPattern = t2; + }, + Result: function Result() { + }, + ParserException: function ParserException(t0) { + this.failure = t0; + }, + pattern: function(element, message) { + var t2, + t1 = $.$get$_pattern().parseOn$1(new M.Context1(element, 0)); + t1 = t1.get$value(t1); + t2 = type$.CodeUnits; + t2 = new H.MappedListIterable(new H.CodeUnits(element), t2._eval$1("String(ListMixin.E)")._as(X.code___toFormattedChar$closure()), t2._eval$1("MappedListIterable")).join$0(0); + t2 = "[" + t2 + "] expected"; + return new G.CharacterParser(t1, t2); + }, + _single_closure: function _single_closure() { + }, + _range_closure: function _range_closure() { + }, + _sequence_closure: function _sequence_closure() { + }, + _pattern_closure: function _pattern_closure() { + }, + EpsilonParser: function EpsilonParser(t0, t1) { + this.result = t0; + this.$ti = t1; + }, + convertRefValue2: function(args, additionalRefPropKeys, convertCallbackRefValue) { + var t2, t3, t4, t5, _i, refKey, ref, + t1 = H.setRuntimeTypeInfo(["ref"], type$.JSArray_legacy_String); + C.JSArray_methods.addAll$1(t1, additionalRefPropKeys); + for (t2 = t1.length, t3 = type$.legacy_dynamic_Function_Null, t4 = args.jsObject, t5 = type$.legacy_dynamic_Function_dynamic, _i = 0; _i < t1.length; t1.length === t2 || (0, H.throwConcurrentModificationError)(t1), ++_i) { + refKey = t1[_i]; + ref = F.DartValueWrapper_unwrapIfNeeded(t4[refKey]); + if (ref instanceof K.Ref) + t4[refKey] = F.DartValueWrapper_wrapIfNeeded(ref.jsRef); + else if (t3._is(ref) && convertCallbackRefValue) + t4[refKey] = F.DartValueWrapper_wrapIfNeeded(P.allowInterop(new E.convertRefValue2_closure(ref), t5)); + } + }, + generateChildren: function(childrenArgs, shouldAlwaysBeList) { + var children, singleChild, t2, + t1 = childrenArgs.length; + if (t1 === 0) { + if (!shouldAlwaysBeList) + return self._jsUndefined; + children = childrenArgs; + } else if (t1 === 1) + if (shouldAlwaysBeList) { + singleChild = A.listifyChildren(C.JSArray_methods.get$single(childrenArgs)); + children = type$.legacy_List_dynamic._is(singleChild) ? singleChild : null; + } else + children = C.JSArray_methods.get$single(childrenArgs); + else + children = null; + if (type$.legacy_Iterable_dynamic._is(children) && !type$.legacy_List_dynamic._is(children)) + children = J.toList$1$growable$ax(children, false); + if (children == null) { + if (shouldAlwaysBeList) { + t1 = H._arrayInstanceType(childrenArgs); + t2 = t1._eval$1("MappedListIterable<1,@>"); + children = P.List_List$of(new H.MappedListIterable(childrenArgs, t1._eval$1("@(1)")._as(A.component_factory__listifyChildren$closure()), t2), true, t2._eval$1("ListIterable.E")); + } else + children = childrenArgs; + K.markChildrenValidated(children); + } + return children; + }, + generateJsProps: function(props, additionalRefPropKeys, convertCallbackRefValue, wrapWithJsify) { + var propsForJs = L.JsBackedMap_JsBackedMap$from(props); + E.convertRefValue2(propsForJs, additionalRefPropKeys, convertCallbackRefValue); + return wrapWithJsify ? type$.legacy_JsMap._as(R.jsifyAndAllowInterop(propsForJs)) : propsForJs.jsObject; + }, + convertRefValue2_closure: function convertRefValue2_closure(t0) { + this.ref = t0; + }, + DNASequencePredefined_names: function() { + var t2, + t1 = H.setRuntimeTypeInfo([], type$.JSArray_legacy_String); + for (t2 = $.$get$_$values0()._set, t2 = t2.get$iterator(t2); t2.moveNext$0();) + t1.push(t2.get$current(t2).name); + return D.BuiltList_BuiltList$of(t1, type$.legacy_String); + }, + _$valueOf0: function($name) { + switch ($name) { + case "M13p7249": + return C.DNASequencePredefined_M13p7249; + case "M13p7560": + return C.DNASequencePredefined_M13p7560; + case "M13p8064": + return C.DNASequencePredefined_M13p8064; + case "M13p8634": + return C.DNASequencePredefined_M13p8634; + default: + throw H.wrapException(P.ArgumentError$($name)); + } + }, + DNASequencePredefined: function DNASequencePredefined(t0) { + this.name = t0; + }, + _$DNASequencePredefinedSerializer: function _$DNASequencePredefinedSerializer() { + }, + dna_ends_move_start_middleware: function(store, action, next) { + var t1, selected_ends, moves, t2, lowest_offset, highest_offset, design, strands_affected, _i, t3, t4, t5; + type$.legacy_Store_legacy_AppState._as(store); + type$.legacy_dynamic_Function_dynamic._as(next); + if (action instanceof U.DNAEndsMoveStart) { + t1 = store.get$state(store).ui_state.selectables_store; + selected_ends = t1.__selected_dna_ends_on_domains; + if (selected_ends == null) { + selected_ends = E.SelectablesStore.prototype.get$selected_dna_ends_on_domains.call(t1); + t1.set$__selected_dna_ends_on_domains(selected_ends); + } + moves = H.setRuntimeTypeInfo([], type$.JSArray_legacy_DNAEndMove); + for (t1 = selected_ends._set, t1 = t1.get$iterator(t1); t1.moveNext$0();) { + t2 = t1.get$current(t1); + lowest_offset = E.find_allowable_offset(store.get$state(store).design, t2, selected_ends, false); + highest_offset = E.find_allowable_offset(store.get$state(store).design, t2, selected_ends, true); + if (t2 == null) + H.throwExpression(Y.BuiltValueNullFieldError$("DNAEndMove", "dna_end")); + C.JSArray_methods.add$1(moves, new B._$DNAEndMove(t2, lowest_offset, highest_offset)); + } + design = store.get$state(store).design; + t1 = type$.legacy_Strand; + strands_affected = P.LinkedHashSet_LinkedHashSet$_empty(t1); + for (t2 = moves.length, _i = 0; _i < moves.length; moves.length === t2 || (0, H.throwConcurrentModificationError)(moves), ++_i) { + t3 = moves[_i].dna_end; + t4 = design.__substrand_to_strand; + if (t4 == null) { + t4 = N.Design.prototype.get$substrand_to_strand.call(design); + design.set$__substrand_to_strand(t4); + } + t5 = design.__end_to_domain; + if (t5 == null) { + t5 = N.Design.prototype.get$end_to_domain.call(design); + design.set$__end_to_domain(t5); + } + t3 = J.$index$asx(t5._map$_map, t3); + strands_affected.add$1(0, J.$index$asx(t4._map$_map, t3)); + } + next.call$1(action); + t2 = $.app; + t3 = action.offset; + t4 = D.BuiltList_BuiltList$of(moves, type$.legacy_DNAEndMove); + t2.dispatch$1(U._$DNAEndsMoveSetSelectedEnds$_(action.helix, t4, t3, X.BuiltSet_BuiltSet$of(strands_affected, t1))); + } else + next.call$1(action); + }, + find_allowable_offset: function(design, end, selected_ends, highest) { + var unselected_end_offsets_to_one_side, selected_end_offsets_to_one_side, other_substrands_same_dir_same_helix, t2, _i, ss, t3, _i0, other_offset, t4, t5, helix, closest_unselected_offset, num_selected_offsets_between, adjust_factor, + substrand = J.$index$asx(design.get$end_to_domain()._map$_map, end), + helix_idx = substrand.helix, + t1 = selected_ends._set.map$1$1(0, selected_ends.$ti._eval$1("int*(1)")._as(new E.find_allowable_offset_closure()), type$.legacy_int), + selected_offsets = P.LinkedHashSet_LinkedHashSet$of(t1, H._instanceType(t1)._eval$1("Iterable.E")); + t1 = type$.JSArray_legacy_int; + unselected_end_offsets_to_one_side = H.setRuntimeTypeInfo([], t1); + selected_end_offsets_to_one_side = H.setRuntimeTypeInfo([], t1); + t1 = J.where$1$ax(design.domains_on_helix$1(helix_idx), new E.find_allowable_offset_closure0(substrand)); + other_substrands_same_dir_same_helix = P.List_List$of(t1, true, t1.$ti._eval$1("Iterable.E")); + for (t1 = other_substrands_same_dir_same_helix.length, t2 = !highest, _i = 0; _i < other_substrands_same_dir_same_helix.length; other_substrands_same_dir_same_helix.length === t1 || (0, H.throwConcurrentModificationError)(other_substrands_same_dir_same_helix), ++_i) { + ss = other_substrands_same_dir_same_helix[_i]; + for (t3 = [ss.start, ss.end - 1], _i0 = 0; _i0 < 2; ++_i0) { + other_offset = t3[_i0]; + if (highest) { + t4 = end.is_start; + t5 = end.offset; + if (t4) + t4 = t5; + else { + if (typeof t5 !== "number") + return t5.$sub(); + t4 = t5 - 1; + } + if (typeof t4 !== "number") + return H.iae(t4); + t4 = other_offset > t4; + } else + t4 = false; + if (t4) + if (selected_offsets.contains$1(0, other_offset)) + C.JSArray_methods.add$1(selected_end_offsets_to_one_side, other_offset); + else + C.JSArray_methods.add$1(unselected_end_offsets_to_one_side, other_offset); + else { + if (t2) { + t4 = end.is_start; + t5 = end.offset; + if (t4) + t4 = t5; + else { + if (typeof t5 !== "number") + return t5.$sub(); + t4 = t5 - 1; + } + if (typeof t4 !== "number") + return H.iae(t4); + t4 = other_offset < t4; + } else + t4 = false; + if (t4) + if (selected_offsets.contains$1(0, other_offset)) + C.JSArray_methods.add$1(selected_end_offsets_to_one_side, other_offset); + else + C.JSArray_methods.add$1(unselected_end_offsets_to_one_side, other_offset); + } + } + } + if (unselected_end_offsets_to_one_side.length === 0) { + helix = J.$index$asx(design.helices._map$_map, helix_idx); + return highest ? helix.max_offset - 1 : helix.min_offset; + } + closest_unselected_offset = C.JSArray_methods.reduce$1(unselected_end_offsets_to_one_side, highest ? C.CONSTANT0 : C.CONSTANT); + t1 = new H.WhereIterable(selected_end_offsets_to_one_side, type$.bool_Function_legacy_int._as(new E.find_allowable_offset_closure1(highest, closest_unselected_offset)), type$.WhereIterable_legacy_int); + num_selected_offsets_between = t1.get$length(t1); + adjust_factor = highest ? -1 - num_selected_offsets_between : 1 + num_selected_offsets_between; + if (typeof closest_unselected_offset !== "number") + return closest_unselected_offset.$add(); + return closest_unselected_offset + adjust_factor; + }, + find_allowable_offset_closure: function find_allowable_offset_closure() { + }, + find_allowable_offset_closure0: function find_allowable_offset_closure0(t0) { + this.substrand = t0; + }, + find_allowable_offset_closure1: function find_allowable_offset_closure1(t0, t1) { + this.highest = t0; + this.closest_unselected_offset = t1; + }, + replace_strands_reducer: function(strands, action) { + var strands_builder, t1, t2, t3, t4, t5, t6, t7, t8; + type$.legacy_BuiltList_legacy_Strand._as(strands); + type$.legacy_ReplaceStrands._as(action); + strands.toString; + strands_builder = D.ListBuilder_ListBuilder(strands, strands.$ti._precomputed1); + for (t1 = action.new_strands, t2 = J.get$iterator$ax(t1.get$keys(t1)), t3 = strands_builder.$ti, t4 = t3._precomputed1, t5 = !t4._is(null), t3 = t3._eval$1("List<1>"); t2.moveNext$0();) { + t6 = t2.get$current(t2); + t7 = t4._as(J.$index$asx(t1._map$_map, t6)); + if (!$.$get$isSoundMode() && t5) + if (t7 == null) + H.throwExpression(P.ArgumentError$("null element")); + if (strands_builder._listOwner != null) { + t8 = strands_builder.__ListBuilder__list; + strands_builder.set$__ListBuilder__list(t3._as(P.List_List$from(t8 === $ ? H.throwExpression(H.LateError$fieldNI("_list")) : t8, true, t4))); + strands_builder.set$_listOwner(null); + } + t8 = strands_builder.__ListBuilder__list; + J.$indexSet$ax(t8 === $ ? H.throwExpression(H.LateError$fieldNI("_list")) : t8, t6, t7); + } + return strands_builder.build$0(); + }, + strands_part_reducer: function(strands, state, action) { + var t1, t2, strand, strand_idx, strands_builder; + type$.legacy_BuiltList_legacy_Strand._as(strands); + type$.legacy_AppState._as(state); + type$.legacy_StrandPartAction._as(action); + t1 = state.design.get$strands_by_id(); + t2 = action.get$strand_part().get$strand_id(); + strand = J.$index$asx(t1._map$_map, t2); + strands.toString; + t2 = strands.$ti._precomputed1; + strand_idx = J.indexOf$2$asx(strands._list, t2._as(strand), 0); + if (strand_idx < 0) + return strands; + strand = $.$get$strand_part_reducer().call$2(strand, action).initialize$0(0); + strands_builder = D.ListBuilder_ListBuilder(strands, t2); + t1 = strands_builder.$ti._precomputed1; + t1._as(strand); + if (!$.$get$isSoundMode() && !t1._is(null)) + if (strand == null) + H.throwExpression(P.ArgumentError$("null element")); + J.$indexSet$ax(strands_builder.get$_safeList(), strand_idx, strand); + return strands_builder.build$0(); + }, + substrand_name_set_reducer: function(strand, action) { + var t1, t2, t3, t4, substrand_idx, substrand, substrands; + type$.legacy_Strand._as(strand); + type$.legacy_SubstrandNameSet._as(action); + t1 = strand.substrands; + t2 = action.substrand; + t1.toString; + t3 = t1.$ti; + t4 = t3._precomputed1; + t4._as(t2); + t1 = t1._list; + substrand_idx = J.indexOf$2$asx(t1, t2, 0); + if (t2 instanceof G.Domain) + substrand = t2.rebuild$1(new E.substrand_name_set_reducer_closure(action)); + else if (t2 instanceof G.Loopout) + substrand = t2.rebuild$1(new E.substrand_name_set_reducer_closure0(action)); + else if (t2 instanceof S.Extension) + substrand = t2.rebuild$1(new E.substrand_name_set_reducer_closure1(action)); + else + throw H.wrapException(P.AssertionError$(string$.substr)); + substrands = new Q.CopyOnWriteList(true, t1, t3._eval$1("CopyOnWriteList<1>")); + t4._as(substrand); + substrands._copy_on_write_list$_maybeCopyBeforeWrite$0(); + J.$indexSet$ax(substrands._copy_on_write_list$_list, substrand_idx, substrand); + return strand.rebuild$1(new E.substrand_name_set_reducer_closure2(substrands)); + }, + substrand_label_set_reducer: function(strand, action) { + var t1, t2, t3, t4, substrand_idx, substrand, substrands; + type$.legacy_Strand._as(strand); + type$.legacy_SubstrandLabelSet._as(action); + t1 = strand.substrands; + t2 = action.substrand; + t1.toString; + t3 = t1.$ti; + t4 = t3._precomputed1; + t4._as(t2); + t1 = t1._list; + substrand_idx = J.indexOf$2$asx(t1, t2, 0); + if (t2 instanceof G.Domain) + substrand = t2.rebuild$1(new E.substrand_label_set_reducer_closure(action)); + else if (t2 instanceof G.Loopout) + substrand = t2.rebuild$1(new E.substrand_label_set_reducer_closure0(action)); + else if (t2 instanceof S.Extension) + substrand = t2.rebuild$1(new E.substrand_label_set_reducer_closure1(action)); + else + throw H.wrapException(P.AssertionError$(string$.substr)); + substrands = new Q.CopyOnWriteList(true, t1, t3._eval$1("CopyOnWriteList<1>")); + t4._as(substrand); + substrands._copy_on_write_list$_maybeCopyBeforeWrite$0(); + J.$indexSet$ax(substrands._copy_on_write_list$_list, substrand_idx, substrand); + return strand.rebuild$1(new E.substrand_label_set_reducer_closure2(substrands)); + }, + strands_move_commit_reducer: function(strands, state, action) { + var t1, t2, t3, t4, strands_list, t5, t6, t7, new_strand, strand, t8, strand_idx; + type$.legacy_BuiltList_legacy_Strand._as(strands); + type$.legacy_AppState._as(state); + type$.legacy_StrandsMoveCommit._as(action); + t1 = state.design; + t2 = action.strands_move; + if (D.in_bounds_and_allowable(t1, t2)) + t3 = !t2.original_address.$eq(0, t2.current_address) || t2.copy; + else + t3 = false; + if (t3) { + t3 = strands._list; + t4 = H._instanceType(strands); + strands_list = new Q.CopyOnWriteList(true, t3, t4._eval$1("CopyOnWriteList<1>")); + for (t5 = J.get$iterator$ax(t2.strands_moving._list), t4 = t4._precomputed1, t6 = J.getInterceptor$asx(t3); t5.moveNext$0();) { + t7 = t5.get$current(t5); + new_strand = E.one_strand_strands_move_copy_commit_reducer(t1, t7, t2); + strand = new_strand._rebuild_substrands_with_new_fields_based_on_strand$1(new_strand._rebuild_substrands_with_new_dna_sequences_based_on_strand$1(new_strand)); + if (J.get$length$asx(new_strand.substrands._list) === 1) { + t8 = new_strand.__first_domain; + if (t8 == null) + t8 = new_strand.__first_domain = E.Strand.prototype.get$first_domain.call(new_strand); + t8.toString; + } + new_strand.check_two_consecutive_loopouts$0(); + new_strand.check_loopouts_length$0(); + new_strand.check_at_least_one_domain$0(); + new_strand.check_only_at_ends$0(); + new_strand.check_not_adjacent_to_loopout$0(); + if (t2.copy) { + t4._as(strand); + strands_list._copy_on_write_list$_maybeCopyBeforeWrite$0(); + J.add$1$ax(strands_list._copy_on_write_list$_list, strand); + } else { + strand_idx = t6.indexOf$2(t3, t4._as(t7), 0); + t4._as(strand); + strands_list._copy_on_write_list$_maybeCopyBeforeWrite$0(); + J.$indexSet$ax(strands_list._copy_on_write_list$_list, strand_idx, strand); + } + } + return D.BuiltList_BuiltList$of(strands_list, type$.legacy_Strand); + } else + return strands; + }, + one_strand_strands_move_copy_commit_reducer: function(design, strand, strands_move) { + var t5, t6, t7, group_name, moved_strand, + t1 = strands_move.get$current_view_order(), + t2 = strands_move.original_helices_view_order_inverse, + t3 = strands_move.original_address, + t4 = J.$index$asx(t2._map$_map, t3.helix_idx); + if (typeof t1 !== "number") + return t1.$sub(); + if (typeof t4 !== "number") + return H.iae(t4); + t5 = strands_move.current_address; + t6 = t5.offset; + t7 = t3.offset; + if (typeof t6 !== "number") + return t6.$sub(); + if (typeof t7 !== "number") + return H.iae(t7); + group_name = E.current_group_name_from_strands_move(design, strands_move); + moved_strand = E.move_strand(J.$index$asx(design.groups._map$_map, group_name), t5.forward != t3.forward, t6 - t7, t1 - t4, t2, strand); + if (moved_strand == null) { + P.print("WARNING: didn't expect move_strand to return null in one_strand_strands_move_copy_commit_reducer"); + return strand; + } + return strands_move.copy && !strands_move.keep_color && !strand.is_scaffold ? moved_strand.rebuild$1(new E.one_strand_strands_move_copy_commit_reducer_closure()) : moved_strand; + }, + move_strand: function(current_group, delta_forward, delta_offset, delta_view_order, original_helices_view_order_inverse, strand) { + var is_moving, i, t2, substrand, t3, t4, t5, original_view_order, new_view_order, domain_moved, new_substrand, _box_1 = {}, + t1 = strand.substrands, + substrands = _box_1.substrands = new Q.CopyOnWriteList(true, t1._list, H._instanceType(t1)._eval$1("CopyOnWriteList<1>")); + H.boolConversionCheck(delta_forward); + if (delta_forward) { + t1 = substrands.get$reversed(substrands); + _box_1.substrands = P.List_List$of(t1, true, t1.$ti._eval$1("ListIterable.E")); + } + is_moving = delta_view_order !== 0 || delta_offset !== 0 || delta_forward; + t1 = type$.legacy_void_Function_legacy_DomainBuilder; + i = 0; + while (true) { + t2 = J.get$length$asx(_box_1.substrands); + if (typeof t2 !== "number") + return H.iae(t2); + if (!(i < t2)) + break; + t2 = {}; + substrand = J.$index$asx(_box_1.substrands, i); + if (substrand instanceof G.Domain) { + t3 = substrand.helix; + t4 = original_helices_view_order_inverse._map$_map; + t5 = J.getInterceptor$x(t4); + if (!t5.containsKey$1(t4, t3) && is_moving) + throw H.wrapException(P.AssertionError$("original_helices_view_order_inverse = " + original_helices_view_order_inverse.toString$0(0) + " does not contain key (helix idx) = " + t3)); + t2.new_helix_idx = t3; + if (is_moving) { + original_view_order = t5.$index(t4, t3); + if (typeof original_view_order !== "number") + return original_view_order.$add(); + if (typeof delta_view_order !== "number") + return H.iae(delta_view_order); + new_view_order = original_view_order + delta_view_order; + t3 = current_group.helices_view_order._list; + t4 = J.getInterceptor$asx(t3); + t5 = t4.get$length(t3); + if (typeof t5 !== "number") + return H.iae(t5); + if (new_view_order >= t5) + return null; + t2.new_helix_idx = t4.$index(t3, new_view_order); + } + t2 = t1._as(new E.move_strand_closure(_box_1, t2, i, delta_forward, substrand, delta_offset)); + t3 = new G.DomainBuilder(); + t3._domain$_$v = substrand; + t2.call$1(t3); + domain_moved = t3.build$0(); + new_substrand = domain_moved; + } else + new_substrand = substrand; + J.$indexSet$ax(_box_1.substrands, i, new_substrand); + ++i; + } + return strand.rebuild$1(new E.move_strand_closure0(_box_1)).initialize$0(0); + }, + domains_move_commit_reducer: function(strands, state, action) { + var t1, t2, strands_builder, t3, t4, t5, t6, t7, t8, t9, t10, domains, strand_idx, new_strand, strand; + type$.legacy_BuiltList_legacy_Strand._as(strands); + type$.legacy_AppState._as(state); + t1 = type$.legacy_DomainsMoveCommit._as(action).domains_move; + if (t1.allowable && !t1.original_address.$eq(0, t1.current_address)) { + strands.toString; + t2 = strands.$ti._precomputed1; + strands_builder = D.ListBuilder_ListBuilder(strands, t2); + for (t3 = t1.get$domains_moving_from_strand(), t3 = t3.get$keys(t3), t3 = t3.get$iterator(t3), t4 = strands_builder.$ti, t5 = t4._precomputed1, t6 = strands._list, t7 = J.getInterceptor$asx(t6), t8 = !t5._is(null), t4 = t4._eval$1("List<1>"); t3.moveNext$0();) { + t9 = t3.get$current(t3); + t10 = t1.__domains_moving_from_strand; + if (t10 == null) { + t10 = V.DomainsMove.prototype.get$domains_moving_from_strand.call(t1); + t1.set$__domains_moving_from_strand(t10); + } + t10 = t10.$index(0, t9); + t10.toString; + domains = P.LinkedHashSet_LinkedHashSet$from(t10, H._arrayInstanceType(t10)._precomputed1); + strand_idx = t7.indexOf$2(t6, t2._as(t9), 0); + new_strand = E.one_strand_domains_move_commit_reducer(state.design, t9, domains, t1); + strand = new_strand._rebuild_substrands_with_new_fields_based_on_strand$1(new_strand._rebuild_substrands_with_new_dna_sequences_based_on_strand$1(new_strand)); + if (J.get$length$asx(new_strand.substrands._list) === 1) { + t9 = new_strand.__first_domain; + if (t9 == null) + t9 = new_strand.__first_domain = E.Strand.prototype.get$first_domain.call(new_strand); + t9.toString; + } + new_strand.check_two_consecutive_loopouts$0(); + new_strand.check_loopouts_length$0(); + new_strand.check_at_least_one_domain$0(); + new_strand.check_only_at_ends$0(); + new_strand.check_not_adjacent_to_loopout$0(); + t5._as(strand); + if (!$.$get$isSoundMode() && t8) + if (strand == null) + H.throwExpression(P.ArgumentError$("null element")); + if (strands_builder._listOwner != null) { + t9 = strands_builder.__ListBuilder__list; + strands_builder.set$__ListBuilder__list(t4._as(P.List_List$from(t9 === $ ? H.throwExpression(H.LateError$fieldNI("_list")) : t9, true, t5))); + strands_builder.set$_listOwner(null); + } + t9 = strands_builder.__ListBuilder__list; + J.$indexSet$ax(t9 === $ ? H.throwExpression(H.LateError$fieldNI("_list")) : t9, strand_idx, strand); + } + return strands_builder.build$0(); + } else + return strands; + }, + one_strand_domains_move_commit_reducer: function(design, strand, domains_on_strand, domains_move) { + var i, domain, helix_idx, t3, t4, group_name, t5, t6, t7, t8, helix_idx0, t9, t10, t11, + t1 = strand.substrands, + t2 = H._instanceType(t1), + substrands = new Q.CopyOnWriteList(true, t1._list, t2._eval$1("CopyOnWriteList<1>")); + t1 = t2._precomputed1; + i = 0; + while (true) { + t2 = J.get$length$asx(substrands._copy_on_write_list$_list); + if (typeof t2 !== "number") + return H.iae(t2); + if (!(i < t2)) + break; + domain = J.$index$asx(substrands._copy_on_write_list$_list, i); + if (domain instanceof G.Domain && domains_on_strand.contains$1(0, domain)) { + t2 = domains_move.original_address; + helix_idx = t2.helix_idx; + t3 = design.helices._map$_map; + t4 = J.getInterceptor$asx(t3); + group_name = t4.$index(t3, helix_idx).group; + t5 = design.groups._map$_map; + t6 = J.getInterceptor$asx(t5); + t7 = t6.$index(t5, group_name); + t8 = domains_move.current_address; + helix_idx0 = t8.helix_idx; + t3 = t6.$index(t5, t4.$index(t3, helix_idx0).group); + t4 = domains_move.groups; + t5 = domains_move.helices._map$_map; + t6 = J.getInterceptor$asx(t5); + t9 = t6.$index(t5, helix_idx0).group; + t4 = t4._map$_map; + t10 = J.getInterceptor$asx(t4); + t9 = t10.$index(t4, t9); + t11 = t9.__helices_view_order_inverse; + if (t11 == null) { + t11 = O.HelixGroup.prototype.get$helices_view_order_inverse.call(t9); + t9.set$__helices_view_order_inverse(t11); + t9 = t11; + } else + t9 = t11; + t9 = J.$index$asx(t9._map$_map, t6.$index(t5, helix_idx0).idx); + t4 = t10.$index(t4, t6.$index(t5, helix_idx).group); + t10 = t4.__helices_view_order_inverse; + if (t10 == null) { + t10 = O.HelixGroup.prototype.get$helices_view_order_inverse.call(t4); + t4.set$__helices_view_order_inverse(t10); + t4 = t10; + } else + t4 = t10; + t5 = J.$index$asx(t4._map$_map, t6.$index(t5, helix_idx).idx); + if (typeof t9 !== "number") + return t9.$sub(); + if (typeof t5 !== "number") + return H.iae(t5); + t6 = t8.offset; + t4 = t2.offset; + if (typeof t6 !== "number") + return t6.$sub(); + if (typeof t4 !== "number") + return H.iae(t4); + t7 = t1._as(Q.move_domain(t3, t8.forward != t2.forward, t6 - t4, t9 - t5, domain, t7, false)); + substrands._copy_on_write_list$_maybeCopyBeforeWrite$0(); + J.$indexSet$ax(substrands._copy_on_write_list$_list, i, t7); + } + ++i; + } + return strand.rebuild$1(new E.one_strand_domains_move_commit_reducer_closure(substrands)); + }, + strands_dna_ends_move_commit_reducer: function(strands, state, action) { + var move, t1, strands_builder, strands_affected, t2, t3, t4, t5, t6, records, t7, t8, strand_idx, ret, strand, strand0, t9, t10, t11, t12, t13, _i, record, offset, ss_idx, t14, strand_builder, substrand, substrand_builder, t15, t16, t17, t18, t19, _null = null, + _s12_ = "null element", + _s5_ = "_list"; + type$.legacy_BuiltList_legacy_Strand._as(strands); + type$.legacy_AppState._as(state); + move = type$.legacy_DNAEndsMoveCommit._as(action).dna_ends_move; + if (move.current_offset == move.original_offset) + return strands; + strands.toString; + t1 = strands.$ti._precomputed1; + strands_builder = D.ListBuilder_ListBuilder(strands, t1); + strands_affected = P.LinkedHashSet_LinkedHashSet$_empty(type$.legacy_Strand); + for (t2 = J.get$iterator$ax(move.moves._list); t2.moveNext$0();) { + t3 = t2.get$current(t2); + t4 = state.design; + t3 = t3.dna_end; + t5 = t4.__substrand_to_strand; + if (t5 == null) { + t5 = N.Design.prototype.get$substrand_to_strand.call(t4); + t4.set$__substrand_to_strand(t5); + } + t6 = t4.__end_to_domain; + if (t6 == null) { + t6 = N.Design.prototype.get$end_to_domain.call(t4); + t4.set$__end_to_domain(t6); + t4 = t6; + } else + t4 = t6; + t3 = J.$index$asx(t4._map$_map, t3); + strands_affected.add$1(0, J.$index$asx(t5._map$_map, t3)); + } + records = H.setRuntimeTypeInfo([], type$.JSArray_legacy_InsertionDeletionRecord); + for (t2 = P._LinkedHashSetIterator$(strands_affected, strands_affected._collection$_modifications, strands_affected.$ti._precomputed1), t3 = strands_builder.$ti, t4 = t3._precomputed1, t5 = strands._list, t6 = J.getInterceptor$asx(t5), t7 = !t4._is(null), t3 = t3._eval$1("List<1>"); t2.moveNext$0();) { + t8 = t2._collection$_current; + strand_idx = t6.indexOf$2(t5, t1._as(t8), 0); + ret = E.single_strand_dna_ends_commit_stop_reducer(t8, move, state.design); + strand = ret.item1; + C.JSArray_methods.addAll$1(records, ret.item2); + strand0 = strand._rebuild_substrands_with_new_fields_based_on_strand$1(strand._rebuild_substrands_with_new_dna_sequences_based_on_strand$1(strand)); + if (J.get$length$asx(strand.substrands._list) === 1) { + t8 = strand.__first_domain; + if (t8 == null) + t8 = strand.__first_domain = E.Strand.prototype.get$first_domain.call(strand); + t8.toString; + } + strand.check_two_consecutive_loopouts$0(); + strand.check_loopouts_length$0(); + strand.check_at_least_one_domain$0(); + strand.check_only_at_ends$0(); + strand.check_not_adjacent_to_loopout$0(); + t4._as(strand0); + if (!$.$get$isSoundMode() && t7) + if (strand0 == null) + H.throwExpression(P.ArgumentError$(_s12_)); + if (strands_builder._listOwner != null) { + t8 = strands_builder.__ListBuilder__list; + strands_builder.set$__ListBuilder__list(t3._as(P.List_List$from(t8 === $ ? H.throwExpression(H.LateError$fieldNI(_s5_)) : t8, true, t4))); + strands_builder.set$_listOwner(_null); + } + t8 = strands_builder.__ListBuilder__list; + J.$indexSet$ax(t8 === $ ? H.throwExpression(H.LateError$fieldNI(_s5_)) : t8, strand_idx, strand0); + } + for (t1 = records.length, t2 = type$.legacy_Insertion, t5 = type$.List_legacy_Insertion, t6 = type$.ListBuilder_legacy_Insertion, t8 = type$.legacy_int, t9 = type$.List_legacy_int, t10 = type$.ListBuilder_legacy_int, t11 = type$.legacy_Substrand, t12 = type$.List_legacy_Substrand, t13 = type$.ListBuilder_legacy_Substrand, _i = 0; _i < records.length; records.length === t1 || (0, H.throwConcurrentModificationError)(records), ++_i) { + record = records[_i]; + offset = record.offset; + strand_idx = record.strand_idx; + ss_idx = record.substrand_idx; + t14 = strands_builder.__ListBuilder__list; + strand = J.$index$asx(t14 === $ ? H.throwExpression(H.LateError$fieldNI(_s5_)) : t14, strand_idx); + strand.toString; + strand_builder = new E.StrandBuilder(); + strand_builder._strand$_$v = strand; + t14 = strand.__domains; + if (t14 == null) { + t14 = E.Strand.prototype.get$domains.call(strand); + strand.set$__domains(t14); + } + substrand = J.$index$asx(t14._list, ss_idx); + substrand.toString; + substrand_builder = new G.DomainBuilder(); + substrand_builder._domain$_$v = substrand; + if (J.contains$1$asx(substrand.deletions._list, offset)) { + t14 = substrand_builder.get$_domain$_$this(); + t15 = t14._deletions; + if (t15 == null) { + t15 = new D.ListBuilder(t10); + t15.set$__ListBuilder__list(t9._as(P.List_List$from(C.List_empty, true, t8))); + t15.set$_listOwner(_null); + t14.set$_deletions(t15); + t14 = t15; + } else + t14 = t15; + if (t14._listOwner != null) { + t15 = t14.__ListBuilder__list; + if (t15 === $) + t15 = H.throwExpression(H.LateError$fieldNI(_s5_)); + t16 = t14.$ti; + t14.set$__ListBuilder__list(t16._eval$1("List<1>")._as(P.List_List$from(t15, true, t16._precomputed1))); + t14.set$_listOwner(_null); + } + t14 = t14.__ListBuilder__list; + J.remove$1$ax(t14 === $ ? H.throwExpression(H.LateError$fieldNI(_s5_)) : t14, offset); + } else { + t14 = substrand_builder.get$_domain$_$this(); + t15 = t14._insertions; + if (t15 == null) { + t15 = new D.ListBuilder(t6); + t15.set$__ListBuilder__list(t5._as(P.List_List$from(C.List_empty, true, t2))); + t15.set$_listOwner(_null); + t14.set$_insertions(t15); + t14 = t15; + } else + t14 = t15; + t15 = t14.$ti; + t16 = t15._eval$1("bool(1)")._as(new E.strands_dna_ends_move_commit_reducer_closure(offset)); + if (t14._listOwner != null) { + t17 = t14.__ListBuilder__list; + if (t17 === $) + t17 = H.throwExpression(H.LateError$fieldNI(_s5_)); + t14.set$__ListBuilder__list(t15._eval$1("List<1>")._as(P.List_List$from(t17, true, t15._precomputed1))); + t14.set$_listOwner(_null); + } + t14 = t14.__ListBuilder__list; + J.removeWhere$1$ax(t14 === $ ? H.throwExpression(H.LateError$fieldNI(_s5_)) : t14, t16); + } + t14 = strand_builder.get$_strand$_$this(); + t15 = t14._substrands; + if (t15 == null) { + t15 = new D.ListBuilder(t13); + t15.set$__ListBuilder__list(t12._as(P.List_List$from(C.List_empty, true, t11))); + t15.set$_listOwner(_null); + t14.set$_substrands(t15); + t14 = t15; + } else + t14 = t15; + t15 = t14.$ti; + t16 = t15._precomputed1; + t17 = t16._as(substrand_builder.build$0()); + t18 = !$.$get$isSoundMode(); + if (t18 && !t16._is(null)) + if (t17 == null) + H.throwExpression(P.ArgumentError$(_s12_)); + if (t14._listOwner != null) { + t19 = t14.__ListBuilder__list; + t14.set$__ListBuilder__list(t15._eval$1("List<1>")._as(P.List_List$from(t19 === $ ? H.throwExpression(H.LateError$fieldNI(_s5_)) : t19, true, t16))); + t14.set$_listOwner(_null); + } + t14 = t14.__ListBuilder__list; + J.$indexSet$ax(t14 === $ ? H.throwExpression(H.LateError$fieldNI(_s5_)) : t14, ss_idx, t17); + strand = strand_builder.build$0(); + strand0 = strand._rebuild_substrands_with_new_fields_based_on_strand$1(strand._rebuild_substrands_with_new_dna_sequences_based_on_strand$1(strand)); + if (J.get$length$asx(strand.substrands._list) === 1) { + t14 = strand.__first_domain; + if (t14 == null) + t14 = strand.__first_domain = E.Strand.prototype.get$first_domain.call(strand); + t14.toString; + } + strand.check_two_consecutive_loopouts$0(); + strand.check_loopouts_length$0(); + strand.check_at_least_one_domain$0(); + strand.check_only_at_ends$0(); + strand.check_not_adjacent_to_loopout$0(); + t4._as(strand0); + if (t18 && t7) + if (strand0 == null) + H.throwExpression(P.ArgumentError$(_s12_)); + if (strands_builder._listOwner != null) { + t14 = strands_builder.__ListBuilder__list; + strands_builder.set$__ListBuilder__list(t3._as(P.List_List$from(t14 === $ ? H.throwExpression(H.LateError$fieldNI(_s5_)) : t14, true, t4))); + strands_builder.set$_listOwner(_null); + } + t14 = strands_builder.__ListBuilder__list; + J.$indexSet$ax(t14 === $ ? H.throwExpression(H.LateError$fieldNI(_s5_)) : t14, strand_idx, strand0); + } + return strands_builder.build$0(); + }, + strands_dna_extensions_move_commit_reducer: function(strands, state, action) { + var t1, strands_builder, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, strand_idx, strand, extension, t16, t17, substrand_idx, substrands_builder, t18, extension_start_point, _s5_ = "_list", + _s12_ = "null element"; + type$.legacy_BuiltList_legacy_Strand._as(strands); + type$.legacy_AppState._as(state); + type$.legacy_DNAExtensionsMoveCommit._as(action); + strands.toString; + t1 = strands.$ti._precomputed1; + strands_builder = D.ListBuilder_ListBuilder(strands, t1); + for (t2 = action.dna_extensions_move, t3 = J.get$iterator$ax(t2.moves._list), t4 = strands_builder.$ti, t5 = t4._precomputed1, t6 = type$.legacy_void_Function_legacy_StrandBuilder, t7 = type$.legacy_void_Function_legacy_ExtensionBuilder, t8 = strands._list, t9 = J.getInterceptor$asx(t8), t10 = !t5._is(null), t4 = t4._eval$1("List<1>"); t3.moveNext$0();) { + t11 = t3.get$current(t3); + t12 = state.design; + t13 = t12.__substrand_to_strand; + if (t13 == null) { + t13 = N.Design.prototype.get$substrand_to_strand.call(t12); + t12.set$__substrand_to_strand(t13); + } + t14 = t12.__end_to_extension; + if (t14 == null) { + t14 = N.Design.prototype.get$end_to_extension.call(t12); + t12.set$__end_to_extension(t14); + } + t15 = t11.dna_end; + t14 = J.$index$asx(t14._map$_map, t15); + strand_idx = t9.indexOf$2(t8, t1._as(J.$index$asx(t13._map$_map, t14)), 0); + t14 = strands_builder.__ListBuilder__list; + strand = J.$index$asx(t14 === $ ? H.throwExpression(H.LateError$fieldNI(_s5_)) : t14, strand_idx); + t13 = t12.__end_to_extension; + if (t13 == null) { + t13 = N.Design.prototype.get$end_to_extension.call(t12); + t12.set$__end_to_extension(t13); + } + extension = J.$index$asx(t13._map$_map, t15); + t13 = strand.substrands; + t13.toString; + t14 = t13.$ti; + t16 = t14._precomputed1; + t17 = t13._list; + substrand_idx = J.indexOf$2$asx(t17, t16._as(extension), 0); + substrands_builder = new D.ListBuilder(t14._eval$1("ListBuilder<1>")); + t18 = t14._eval$1("_BuiltList<1>"); + t14 = t14._eval$1("List<1>"); + if (t18._is(t13)) { + t18._as(t13); + substrands_builder.set$__ListBuilder__list(t14._as(t17)); + substrands_builder.set$_listOwner(t13); + } else { + substrands_builder.set$__ListBuilder__list(t14._as(P.List_List$from(t13, true, t16))); + substrands_builder.set$_listOwner(null); + } + extension_start_point = t11.attached_end_position; + t11 = t7._as(new E.strands_dna_extensions_move_commit_reducer_closure(E.compute_extension_length_and_angle_from_point(t2.current_point_of$1(t15), extension_start_point, extension, extension.adjacent_domain, t12.geometry))); + t12 = new S.ExtensionBuilder(); + t12._extension$_$v = extension; + t11.call$1(t12); + t11 = t16._as(t12.build$0()); + t12 = !$.$get$isSoundMode(); + if (t12 && !t16._is(null)) + if (t11 == null) + H.throwExpression(P.ArgumentError$(_s12_)); + if (substrands_builder._listOwner != null) { + t13 = substrands_builder.__ListBuilder__list; + substrands_builder.set$__ListBuilder__list(t14._as(P.List_List$from(t13 === $ ? H.throwExpression(H.LateError$fieldNI(_s5_)) : t13, true, t16))); + substrands_builder.set$_listOwner(null); + } + t13 = substrands_builder.__ListBuilder__list; + J.$indexSet$ax(t13 === $ ? H.throwExpression(H.LateError$fieldNI(_s5_)) : t13, substrand_idx, t11); + t11 = t6._as(new E.strands_dna_extensions_move_commit_reducer_closure0(substrands_builder)); + t13 = new E.StrandBuilder(); + t13._strand$_$v = strand; + t11.call$1(t13); + t11 = t5._as(t13.build$0()); + if (t12 && t10) + if (t11 == null) + H.throwExpression(P.ArgumentError$(_s12_)); + if (strands_builder._listOwner != null) { + t12 = strands_builder.__ListBuilder__list; + strands_builder.set$__ListBuilder__list(t4._as(P.List_List$from(t12 === $ ? H.throwExpression(H.LateError$fieldNI(_s5_)) : t12, true, t5))); + strands_builder.set$_listOwner(null); + } + t12 = strands_builder.__ListBuilder__list; + J.$indexSet$ax(t12 === $ ? H.throwExpression(H.LateError$fieldNI(_s5_)) : t12, strand_idx, t11); + } + return strands_builder.build$0(); + }, + single_strand_dna_ends_commit_stop_reducer: function(strand, all_move, design) { + var t3, i, t4, substrand, t5, bound_ss, _i, dnaend, new_offset, remaining_deletions, remaining_insertions, deletions_removed, t6, t7, _i0, offset, other_ss, other_strand, other_ss_idx, new_substrand, + records = H.setRuntimeTypeInfo([], type$.JSArray_legacy_InsertionDeletionRecord), + t1 = strand.substrands, + t2 = H._instanceType(t1), + substrands = new Q.CopyOnWriteList(true, t1._list, t2._eval$1("CopyOnWriteList<1>")); + t1 = t2._precomputed1; + t2 = all_move.moves; + t3 = type$.legacy_void_Function_legacy_DomainBuilder; + i = 0; + while (true) { + t4 = J.get$length$asx(substrands._copy_on_write_list$_list); + if (typeof t4 !== "number") + return H.iae(t4); + if (!(i < t4)) + break; + substrand = J.$index$asx(substrands._copy_on_write_list$_list, i); + if (substrand instanceof G.Domain) { + t4 = substrand.__dnaend_start; + if (t4 == null) + t4 = substrand.__dnaend_start = G.Domain.prototype.get$dnaend_start.call(substrand); + t5 = substrand.__dnaend_end; + t4 = [t4, t5 == null ? substrand.__dnaend_end = G.Domain.prototype.get$dnaend_end.call(substrand) : t5]; + bound_ss = substrand; + _i = 0; + for (; _i < 2; ++_i) { + dnaend = t4[_i]; + if (E.find_move(t2, dnaend) != null) { + new_offset = all_move.current_capped_offset_of$1(dnaend); + remaining_deletions = E.get_remaining_deletions(substrand, new_offset, dnaend); + remaining_insertions = E.get_remaining_insertions(substrand, new_offset, dnaend); + t5 = bound_ss.deletions; + t5.toString; + t5 = J.where$1$ax(t5._list, t5.$ti._eval$1("bool(1)")._as(new E.single_strand_dna_ends_commit_stop_reducer_closure(remaining_deletions))); + deletions_removed = P.List_List$of(t5, true, t5.$ti._eval$1("Iterable.E")); + t5 = bound_ss.insertions; + t5.toString; + t5 = J.where$1$ax(t5._list, t5.$ti._eval$1("bool(1)")._as(new E.single_strand_dna_ends_commit_stop_reducer_closure0(remaining_insertions))); + t6 = t5.$ti; + t7 = t6._eval$1("MappedIterable<1,int*>"); + for (t5 = C.JSArray_methods.$add(deletions_removed, P.List_List$of(new H.MappedIterable(t5, t6._eval$1("int*(1)")._as(new E.single_strand_dna_ends_commit_stop_reducer_closure1()), t7), true, t7._eval$1("Iterable.E"))), t6 = t5.length, _i0 = 0; _i0 < t5.length; t5.length === t6 || (0, H.throwConcurrentModificationError)(t5), ++_i0) { + offset = t5[_i0]; + other_ss = S.find_paired_domain(design, bound_ss, offset); + if (other_ss != null) { + t7 = design.__substrand_to_strand; + if (t7 == null) { + t7 = N.Design.prototype.get$substrand_to_strand.call(design); + design.set$__substrand_to_strand(t7); + } + other_strand = J.$index$asx(t7._map$_map, other_ss); + t7 = other_strand.substrands; + t7.toString; + other_ss_idx = J.indexOf$2$asx(t7._list, t7.$ti._precomputed1._as(other_ss), 0); + t7 = design.strands; + t7.toString; + C.JSArray_methods.add$1(records, new E.InsertionDeletionRecord(offset, J.indexOf$2$asx(t7._list, t7.$ti._precomputed1._as(other_strand), 0), other_ss_idx)); + } + } + t5 = t3._as(new E.single_strand_dna_ends_commit_stop_reducer_closure2(dnaend, substrand, new_offset)); + t6 = new G.DomainBuilder(); + t6._domain$_$v = bound_ss; + t5.call$1(t6); + bound_ss = t6.build$0(); + bound_ss.toString; + t5 = t3._as(new E.single_strand_dna_ends_commit_stop_reducer_closure3(remaining_deletions, remaining_insertions)); + t6 = new G.DomainBuilder(); + t6._domain$_$v = bound_ss; + t5.call$1(t6); + bound_ss = t6.build$0(); + } + } + new_substrand = bound_ss; + } else + new_substrand = substrand; + t1._as(new_substrand); + substrands._copy_on_write_list$_maybeCopyBeforeWrite$0(); + J.$indexSet$ax(substrands._copy_on_write_list$_list, i, new_substrand); + ++i; + } + return new S.Tuple2(strand.rebuild$1(new E.single_strand_dna_ends_commit_stop_reducer_closure4(substrands)), records, type$.Tuple2_of_legacy_Strand_and_legacy_List_legacy_InsertionDeletionRecord); + }, + get_remaining_deletions: function(substrand, new_offset, dnaend) { + var t1 = substrand.deletions; + t1.toString; + t1 = J.where$1$ax(t1._list, t1.$ti._eval$1("bool(1)")._as(new E.get_remaining_deletions_closure(substrand, dnaend, new_offset))); + return P.List_List$of(t1, true, t1.$ti._eval$1("Iterable.E")); + }, + get_remaining_insertions: function(substrand, new_offset, dnaend) { + var t1 = substrand.insertions; + t1.toString; + t1 = J.where$1$ax(t1._list, t1.$ti._eval$1("bool(1)")._as(new E.get_remaining_insertions_closure(substrand, dnaend, new_offset))); + return P.List_List$of(t1, true, t1.$ti._eval$1("Iterable.E")); + }, + find_move: function(moves, end) { + var t1, t2, t3; + for (t1 = J.get$iterator$ax(moves._list), t2 = J.getInterceptor$(end); t1.moveNext$0();) { + t3 = t1.get$current(t1); + if (t2.$eq(end, t3.dna_end)) + return t3; + } + return null; + }, + strand_create: function(strands, state, action) { + var helix_idx, start, end, $forward, t1, _null = null; + type$.legacy_BuiltList_legacy_Strand._as(strands); + type$.legacy_AppState._as(state); + type$.legacy_StrandCreateCommit._as(action); + helix_idx = action.helix_idx; + start = action.start; + end = action.end; + $forward = action.forward; + t1 = state.design; + for (t1 = t1.domains_on_helix_at$2(helix_idx, start).union$1(t1.domains_on_helix_at$2(helix_idx, end - 1))._set, t1 = t1.get$iterator(t1); t1.moveNext$0();) + if (t1.get$current(t1).forward === $forward) + return strands; + return strands.rebuild$1(new E.strand_create_closure(E.Strand_Strand(H.setRuntimeTypeInfo([G.Domain_Domain(_null, end, $forward, helix_idx, _null, true, true, false, start)], type$.JSArray_legacy_Substrand), false, action.color, _null, false, _null, _null, _null, C.Map_empty0, _null, _null))); + }, + strands_single_strand_reducer: function(strands, action) { + var strand, t1, strand_idx, strands_builder; + type$.legacy_BuiltList_legacy_Strand._as(strands); + type$.legacy_SingleStrandAction._as(action); + strand = action.get$strand(); + strands.toString; + t1 = strands.$ti._precomputed1; + strand_idx = J.indexOf$2$asx(strands._list, t1._as(strand), 0); + if (strand_idx < 0) + return strands; + strand = $.$get$single_strand_reducer().call$2(strand, action).initialize$0(0); + strands_builder = D.ListBuilder_ListBuilder(strands, t1); + t1 = strands_builder.$ti._precomputed1; + t1._as(strand); + if (!$.$get$isSoundMode() && !t1._is(null)) + if (strand == null) + H.throwExpression(P.ArgumentError$("null element")); + J.$indexSet$ax(strands_builder.get$_safeList(), strand_idx, strand); + return strands_builder.build$0(); + }, + vendor_fields_remove_reducer: function(strand, action) { + type$.legacy_Strand._as(strand); + type$.legacy_VendorFieldsRemove._as(action); + return strand.rebuild$1(new E.vendor_fields_remove_reducer_closure()); + }, + plate_well_vendor_fields_remove_reducer: function(strand, action) { + type$.legacy_Strand._as(strand); + type$.legacy_PlateWellVendorFieldsRemove._as(action); + if (strand.vendor_fields != null) + return strand.rebuild$1(new E.plate_well_vendor_fields_remove_reducer_closure()); + else + return strand; + }, + plate_well_vendor_fields_assign_reducer: function(strand, action) { + return type$.legacy_Strand._as(strand).rebuild$1(new E.plate_well_vendor_fields_assign_reducer_closure(type$.legacy_PlateWellVendorFieldsAssign._as(action))); + }, + scale_purification_vendor_fields_assign_reducer: function(strand, action) { + return type$.legacy_Strand._as(strand).rebuild$1(new E.scale_purification_vendor_fields_assign_reducer_closure(type$.legacy_ScalePurificationVendorFieldsAssign._as(action))); + }, + strand_name_set_reducer: function(strand, action) { + return type$.legacy_Strand._as(strand).rebuild$1(new E.strand_name_set_reducer_closure(type$.legacy_StrandNameSet._as(action))); + }, + strand_label_set_reducer: function(strand, action) { + return type$.legacy_Strand._as(strand).rebuild$1(new E.strand_label_set_reducer_closure(type$.legacy_StrandLabelSet._as(action))); + }, + extension_add_reducer: function(strand, action) { + var t1, t2, substrands, t3, t4, t5, adjacent_domain, ext, _null = null; + type$.legacy_Strand._as(strand); + type$.legacy_ExtensionAdd._as(action); + t1 = strand.substrands; + t2 = t1._list; + t1 = H._instanceType(t1); + substrands = new Q.CopyOnWriteList(true, t2, t1._eval$1("CopyOnWriteList<1>")); + t3 = action.is_5p; + t4 = type$.legacy_Domain; + t5 = J.getInterceptor$ax(t2); + adjacent_domain = t3 ? t4._as(t5.get$first(t2)) : t4._as(t5.get$last(t2)); + t2 = action.num_bases; + ext = S.Extension_Extension(adjacent_domain, _null, 35, 1.5, _null, t3, strand.is_scaffold, _null, _null, t2, _null); + t1 = t1._precomputed1; + if (t3) { + t1._as(ext); + substrands._copy_on_write_list$_maybeCopyBeforeWrite$0(); + J.insert$2$ax(substrands._copy_on_write_list$_list, 0, ext); + } else { + t1._as(ext); + substrands._copy_on_write_list$_maybeCopyBeforeWrite$0(); + J.add$1$ax(substrands._copy_on_write_list$_list, ext); + } + return strand.rebuild$1(new E.extension_add_reducer_closure(substrands)); + }, + modification_add_reducer: function(strand, action) { + var t1, strand_with_new_modification; + type$.legacy_Strand._as(strand); + type$.legacy_ModificationAdd._as(action); + t1 = action.modification; + if (t1 instanceof Z.ModificationInternal) + strand_with_new_modification = strand.rebuild$1(new E.modification_add_reducer_closure(action)); + else if (t1 instanceof Z.Modification3Prime) + strand_with_new_modification = strand.rebuild$1(new E.modification_add_reducer_closure0(action)); + else + strand_with_new_modification = t1 instanceof Z.Modification5Prime ? strand.rebuild$1(new E.modification_add_reducer_closure1(action)) : null; + return strand_with_new_modification; + }, + modification_remove_reducer: function(strand, action) { + var t1, strand_with_new_modification; + type$.legacy_Strand._as(strand); + type$.legacy_ModificationRemove._as(action); + t1 = action.modification; + if (t1 instanceof Z.ModificationInternal) + strand_with_new_modification = strand.rebuild$1(new E.modification_remove_reducer_closure(action)); + else if (t1 instanceof Z.Modification3Prime) + strand_with_new_modification = strand.rebuild$1(new E.modification_remove_reducer_closure0()); + else + strand_with_new_modification = t1 instanceof Z.Modification5Prime ? strand.rebuild$1(new E.modification_remove_reducer_closure1()) : null; + return strand_with_new_modification; + }, + modification_edit_reducer: function(strand, action) { + var t1, strand_with_edited_modification; + type$.legacy_Strand._as(strand); + type$.legacy_ModificationEdit._as(action); + t1 = action.modification; + if (t1 instanceof Z.ModificationInternal) + strand_with_edited_modification = strand.rebuild$1(new E.modification_edit_reducer_closure(action)); + else if (t1 instanceof Z.Modification3Prime) + strand_with_edited_modification = strand.rebuild$1(new E.modification_edit_reducer_closure0(action)); + else + strand_with_edited_modification = t1 instanceof Z.Modification5Prime ? strand.rebuild$1(new E.modification_edit_reducer_closure1(action)) : null; + return strand_with_edited_modification; + }, + scaffold_set_reducer: function(strand, action) { + type$.legacy_Strand._as(strand); + type$.legacy_ScaffoldSet._as(action); + return strand.rebuild$1(new E.scaffold_set_reducer_closure(action, action.is_scaffold ? $.$get$ColorCycler_scaffold_color() : $.$get$color_cycler().next$0(0))); + }, + strand_or_substrand_color_set_reducer: function(strand, action) { + var t1, t2, t3, t4, substrand_idx, substrand, substrands; + type$.legacy_Strand._as(strand); + type$.legacy_StrandOrSubstrandColorSet._as(action); + t1 = action.substrand; + if (t1 == null) + strand = strand.rebuild$1(new E.strand_or_substrand_color_set_reducer_closure(action)); + else { + t2 = strand.substrands; + t2.toString; + t3 = t2.$ti; + t4 = t3._precomputed1; + t4._as(t1); + t2 = t2._list; + substrand_idx = J.indexOf$2$asx(t2, t1, 0); + if (t1 instanceof G.Domain) + substrand = t1.rebuild$1(new E.strand_or_substrand_color_set_reducer_closure0(action)); + else if (t1 instanceof G.Loopout) + substrand = t1.rebuild$1(new E.strand_or_substrand_color_set_reducer_closure1(action)); + else if (t1 instanceof S.Extension) + substrand = t1.rebuild$1(new E.strand_or_substrand_color_set_reducer_closure2(action)); + else + throw H.wrapException(P.AssertionError$(string$.substr)); + substrands = new Q.CopyOnWriteList(true, t2, t3._eval$1("CopyOnWriteList<1>")); + t4._as(substrand); + substrands._copy_on_write_list$_maybeCopyBeforeWrite$0(); + J.$indexSet$ax(substrands._copy_on_write_list$_list, substrand_idx, substrand); + strand = strand.rebuild$1(new E.strand_or_substrand_color_set_reducer_closure3(substrands)); + } + return strand; + }, + modifications_5p_edit_reducer: function(strands, state, action) { + var t1, t2, new_strands, t3, t4, t5, t6, t7, t8, strand_idx, strand, strand0; + type$.legacy_BuiltList_legacy_Strand._as(strands); + type$.legacy_AppState._as(state); + type$.legacy_Modifications5PrimeEdit._as(action); + t1 = strands._list; + t2 = H._instanceType(strands); + new_strands = new Q.CopyOnWriteList(true, t1, t2._eval$1("CopyOnWriteList<1>")); + t3 = H.setRuntimeTypeInfo([], type$.JSArray_legacy_String); + for (t4 = J.getInterceptor$ax(t1), t5 = t4.get$iterator(t1); t5.moveNext$0();) { + t6 = t5.get$current(t5); + t7 = t6.__id; + t3.push(t7 == null ? t6.__id = E.Strand.prototype.get$id.call(t6, t6) : t7); + } + for (t5 = J.get$iterator$ax(action.modifications._list), t2 = t2._precomputed1, t6 = type$.legacy_void_Function_legacy_StrandBuilder; t5.moveNext$0();) { + t7 = t5.get$current(t5).strand; + t8 = t7.__id; + strand_idx = C.JSArray_methods.indexOf$1(t3, t8 == null ? t7.__id = E.Strand.prototype.get$id.call(t7, t7) : t8); + strand = t4.$index(t1, strand_idx); + strand.toString; + t7 = t6._as(new E.modifications_5p_edit_reducer_closure(action)); + t8 = new E.StrandBuilder(); + t8._strand$_$v = strand; + t7.call$1(t8); + strand = t8.build$0(); + strand0 = strand._rebuild_substrands_with_new_fields_based_on_strand$1(strand._rebuild_substrands_with_new_dna_sequences_based_on_strand$1(strand)); + if (J.get$length$asx(strand.substrands._list) === 1) { + t7 = strand.__first_domain; + if (t7 == null) + t7 = strand.__first_domain = E.Strand.prototype.get$first_domain.call(strand); + t7.toString; + } + strand.check_two_consecutive_loopouts$0(); + strand.check_loopouts_length$0(); + strand.check_at_least_one_domain$0(); + strand.check_only_at_ends$0(); + strand.check_not_adjacent_to_loopout$0(); + t2._as(strand0); + new_strands._copy_on_write_list$_maybeCopyBeforeWrite$0(); + J.$indexSet$ax(new_strands._copy_on_write_list$_list, strand_idx, strand0); + } + return D._BuiltList$of(new_strands, type$.legacy_Strand); + }, + modifications_3p_edit_reducer: function(strands, state, action) { + var t1, t2, new_strands, t3, t4, t5, t6, t7, t8, strand_idx, strand, strand0; + type$.legacy_BuiltList_legacy_Strand._as(strands); + type$.legacy_AppState._as(state); + type$.legacy_Modifications3PrimeEdit._as(action); + t1 = strands._list; + t2 = H._instanceType(strands); + new_strands = new Q.CopyOnWriteList(true, t1, t2._eval$1("CopyOnWriteList<1>")); + t3 = H.setRuntimeTypeInfo([], type$.JSArray_legacy_String); + for (t4 = J.getInterceptor$ax(t1), t5 = t4.get$iterator(t1); t5.moveNext$0();) { + t6 = t5.get$current(t5); + t7 = t6.__id; + t3.push(t7 == null ? t6.__id = E.Strand.prototype.get$id.call(t6, t6) : t7); + } + for (t5 = J.get$iterator$ax(action.modifications._list), t2 = t2._precomputed1, t6 = type$.legacy_void_Function_legacy_StrandBuilder; t5.moveNext$0();) { + t7 = t5.get$current(t5).strand; + t8 = t7.__id; + strand_idx = C.JSArray_methods.indexOf$1(t3, t8 == null ? t7.__id = E.Strand.prototype.get$id.call(t7, t7) : t8); + strand = t4.$index(t1, strand_idx); + strand.toString; + t7 = t6._as(new E.modifications_3p_edit_reducer_closure(action)); + t8 = new E.StrandBuilder(); + t8._strand$_$v = strand; + t7.call$1(t8); + strand = t8.build$0(); + strand0 = strand._rebuild_substrands_with_new_fields_based_on_strand$1(strand._rebuild_substrands_with_new_dna_sequences_based_on_strand$1(strand)); + if (J.get$length$asx(strand.substrands._list) === 1) { + t7 = strand.__first_domain; + if (t7 == null) + t7 = strand.__first_domain = E.Strand.prototype.get$first_domain.call(strand); + t7.toString; + } + strand.check_two_consecutive_loopouts$0(); + strand.check_loopouts_length$0(); + strand.check_at_least_one_domain$0(); + strand.check_only_at_ends$0(); + strand.check_not_adjacent_to_loopout$0(); + t2._as(strand0); + new_strands._copy_on_write_list$_maybeCopyBeforeWrite$0(); + J.$indexSet$ax(new_strands._copy_on_write_list$_list, strand_idx, strand0); + } + return D._BuiltList$of(new_strands, type$.legacy_Strand); + }, + modifications_int_edit_reducer: function(strands, state, action) { + var strand_id_to_mods, t1, t2, t3, t4, t5, new_strands, t6, t7, t8, selectable_mods, strand_idx, strand, t9, t10, mods_int, t11, strand0; + type$.legacy_BuiltList_legacy_Strand._as(strands); + type$.legacy_AppState._as(state); + type$.legacy_ModificationsInternalEdit._as(action); + strand_id_to_mods = P.LinkedHashMap_LinkedHashMap$_empty(type$.legacy_String, type$.legacy_Set_legacy_SelectableModificationInternal); + for (t1 = J.get$iterator$ax(action.modifications._list), t2 = type$.legacy_SelectableModificationInternal; t1.moveNext$0();) { + t3 = t1.get$current(t1); + t4 = t3.strand; + t5 = t4.__id; + if (!strand_id_to_mods.containsKey$1(0, t5 == null ? t4.__id = E.Strand.prototype.get$id.call(t4, t4) : t5)) { + t5 = t4.__id; + if (t5 == null) + t5 = t4.__id = E.Strand.prototype.get$id.call(t4, t4); + strand_id_to_mods.$indexSet(0, t5, P.LinkedHashSet_LinkedHashSet$_empty(t2)); + } + t5 = t4.__id; + strand_id_to_mods.$index(0, t5 == null ? t4.__id = E.Strand.prototype.get$id.call(t4, t4) : t5).add$1(0, t3); + } + t1 = strands._list; + t2 = H._instanceType(strands); + new_strands = new Q.CopyOnWriteList(true, t1, t2._eval$1("CopyOnWriteList<1>")); + t3 = H.setRuntimeTypeInfo([], type$.JSArray_legacy_String); + for (t4 = J.getInterceptor$ax(t1), t5 = t4.get$iterator(t1); t5.moveNext$0();) { + t6 = t5.get$current(t5); + t7 = t6.__id; + t3.push(t7 == null ? t6.__id = E.Strand.prototype.get$id.call(t6, t6) : t7); + } + for (t5 = strand_id_to_mods.get$keys(strand_id_to_mods), t5 = t5.get$iterator(t5), t2 = t2._precomputed1, t6 = type$.legacy_void_Function_legacy_StrandBuilder, t7 = action.new_modification; t5.moveNext$0();) { + t8 = t5.get$current(t5); + selectable_mods = strand_id_to_mods.$index(0, t8); + strand_idx = C.JSArray_methods.indexOf$1(t3, t8); + strand = t4.$index(t1, strand_idx); + t8 = strand.modifications_int; + t9 = t8._map$_map; + t10 = H._instanceType(t8); + t10 = t10._eval$1("@<1>")._bind$1(t10._rest[1]); + mods_int = new S.CopyOnWriteMap(t8._mapFactory, t9, t10._eval$1("CopyOnWriteMap<1,2>")); + for (t8 = new P._LinkedHashSetIterator(selectable_mods, selectable_mods._collection$_modifications, H._instanceType(selectable_mods)._eval$1("_LinkedHashSetIterator<1>")), t8._collection$_cell = selectable_mods._collection$_first, t9 = t10._rest[0], t10 = t10._rest[1]; t8.moveNext$0();) { + t11 = t9._as(t8._collection$_current.dna_idx); + t10._as(t7); + mods_int._maybeCopyBeforeWrite$0(); + J.$indexSet$ax(mods_int._copy_on_write_map$_map, t11, t7); + } + t8 = t6._as(new E.modifications_int_edit_reducer_closure(mods_int)); + t9 = new E.StrandBuilder(); + t9._strand$_$v = strand; + t8.call$1(t9); + strand = t9.build$0(); + strand0 = strand._rebuild_substrands_with_new_fields_based_on_strand$1(strand._rebuild_substrands_with_new_dna_sequences_based_on_strand$1(strand)); + if (J.get$length$asx(strand.substrands._list) === 1) { + t8 = strand.__first_domain; + if (t8 == null) + t8 = strand.__first_domain = E.Strand.prototype.get$first_domain.call(strand); + t8.toString; + } + strand.check_two_consecutive_loopouts$0(); + strand.check_loopouts_length$0(); + strand.check_at_least_one_domain$0(); + strand.check_only_at_ends$0(); + strand.check_not_adjacent_to_loopout$0(); + t2._as(strand0); + new_strands._copy_on_write_list$_maybeCopyBeforeWrite$0(); + J.$indexSet$ax(new_strands._copy_on_write_list$_list, strand_idx, strand0); + } + return D._BuiltList$of(new_strands, type$.legacy_Strand); + }, + substrand_name_set_reducer_closure: function substrand_name_set_reducer_closure(t0) { + this.action = t0; + }, + substrand_name_set_reducer_closure0: function substrand_name_set_reducer_closure0(t0) { + this.action = t0; + }, + substrand_name_set_reducer_closure1: function substrand_name_set_reducer_closure1(t0) { + this.action = t0; + }, + substrand_name_set_reducer_closure2: function substrand_name_set_reducer_closure2(t0) { + this.substrands = t0; + }, + substrand_label_set_reducer_closure: function substrand_label_set_reducer_closure(t0) { + this.action = t0; + }, + substrand_label_set_reducer_closure0: function substrand_label_set_reducer_closure0(t0) { + this.action = t0; + }, + substrand_label_set_reducer_closure1: function substrand_label_set_reducer_closure1(t0) { + this.action = t0; + }, + substrand_label_set_reducer_closure2: function substrand_label_set_reducer_closure2(t0) { + this.substrands = t0; + }, + one_strand_strands_move_copy_commit_reducer_closure: function one_strand_strands_move_copy_commit_reducer_closure() { + }, + move_strand_closure: function move_strand_closure(t0, t1, t2, t3, t4, t5) { + var _ = this; + _._box_1 = t0; + _._box_0 = t1; + _.i = t2; + _.delta_forward = t3; + _.substrand = t4; + _.delta_offset = t5; + }, + move_strand__closure: function move_strand__closure(t0) { + this.delta_offset = t0; + }, + move_strand__closure0: function move_strand__closure0(t0) { + this.delta_offset = t0; + }, + move_strand___closure: function move_strand___closure(t0, t1) { + this.i = t0; + this.delta_offset = t1; + }, + move_strand_closure0: function move_strand_closure0(t0) { + this._box_1 = t0; + }, + one_strand_domains_move_commit_reducer_closure: function one_strand_domains_move_commit_reducer_closure(t0) { + this.substrands = t0; + }, + strands_dna_ends_move_commit_reducer_closure: function strands_dna_ends_move_commit_reducer_closure(t0) { + this.offset = t0; + }, + strands_dna_extensions_move_commit_reducer_closure: function strands_dna_extensions_move_commit_reducer_closure(t0) { + this.length_and_angle = t0; + }, + strands_dna_extensions_move_commit_reducer_closure0: function strands_dna_extensions_move_commit_reducer_closure0(t0) { + this.substrands_builder = t0; + }, + InsertionDeletionRecord: function InsertionDeletionRecord(t0, t1, t2) { + this.offset = t0; + this.strand_idx = t1; + this.substrand_idx = t2; + }, + single_strand_dna_ends_commit_stop_reducer_closure: function single_strand_dna_ends_commit_stop_reducer_closure(t0) { + this.remaining_deletions = t0; + }, + single_strand_dna_ends_commit_stop_reducer_closure0: function single_strand_dna_ends_commit_stop_reducer_closure0(t0) { + this.remaining_insertions = t0; + }, + single_strand_dna_ends_commit_stop_reducer_closure1: function single_strand_dna_ends_commit_stop_reducer_closure1() { + }, + single_strand_dna_ends_commit_stop_reducer_closure2: function single_strand_dna_ends_commit_stop_reducer_closure2(t0, t1, t2) { + this.dnaend = t0; + this.substrand = t1; + this.new_offset = t2; + }, + single_strand_dna_ends_commit_stop_reducer_closure3: function single_strand_dna_ends_commit_stop_reducer_closure3(t0, t1) { + this.remaining_deletions = t0; + this.remaining_insertions = t1; + }, + single_strand_dna_ends_commit_stop_reducer_closure4: function single_strand_dna_ends_commit_stop_reducer_closure4(t0) { + this.substrands = t0; + }, + get_remaining_deletions_closure: function get_remaining_deletions_closure(t0, t1, t2) { + this.substrand = t0; + this.dnaend = t1; + this.new_offset = t2; + }, + get_remaining_insertions_closure: function get_remaining_insertions_closure(t0, t1, t2) { + this.substrand = t0; + this.dnaend = t1; + this.new_offset = t2; + }, + strand_create_closure: function strand_create_closure(t0) { + this.strand = t0; + }, + vendor_fields_remove_reducer_closure: function vendor_fields_remove_reducer_closure() { + }, + plate_well_vendor_fields_remove_reducer_closure: function plate_well_vendor_fields_remove_reducer_closure() { + }, + plate_well_vendor_fields_assign_reducer_closure: function plate_well_vendor_fields_assign_reducer_closure(t0) { + this.action = t0; + }, + scale_purification_vendor_fields_assign_reducer_closure: function scale_purification_vendor_fields_assign_reducer_closure(t0) { + this.action = t0; + }, + strand_name_set_reducer_closure: function strand_name_set_reducer_closure(t0) { + this.action = t0; + }, + strand_label_set_reducer_closure: function strand_label_set_reducer_closure(t0) { + this.action = t0; + }, + extension_add_reducer_closure: function extension_add_reducer_closure(t0) { + this.substrands = t0; + }, + modification_add_reducer_closure: function modification_add_reducer_closure(t0) { + this.action = t0; + }, + modification_add_reducer_closure0: function modification_add_reducer_closure0(t0) { + this.action = t0; + }, + modification_add_reducer_closure1: function modification_add_reducer_closure1(t0) { + this.action = t0; + }, + modification_remove_reducer_closure: function modification_remove_reducer_closure(t0) { + this.action = t0; + }, + modification_remove_reducer_closure0: function modification_remove_reducer_closure0() { + }, + modification_remove_reducer_closure1: function modification_remove_reducer_closure1() { + }, + modification_edit_reducer_closure: function modification_edit_reducer_closure(t0) { + this.action = t0; + }, + modification_edit_reducer_closure0: function modification_edit_reducer_closure0(t0) { + this.action = t0; + }, + modification_edit_reducer_closure1: function modification_edit_reducer_closure1(t0) { + this.action = t0; + }, + scaffold_set_reducer_closure: function scaffold_set_reducer_closure(t0, t1) { + this.action = t0; + this.new_color = t1; + }, + strand_or_substrand_color_set_reducer_closure: function strand_or_substrand_color_set_reducer_closure(t0) { + this.action = t0; + }, + strand_or_substrand_color_set_reducer_closure0: function strand_or_substrand_color_set_reducer_closure0(t0) { + this.action = t0; + }, + strand_or_substrand_color_set_reducer_closure1: function strand_or_substrand_color_set_reducer_closure1(t0) { + this.action = t0; + }, + strand_or_substrand_color_set_reducer_closure2: function strand_or_substrand_color_set_reducer_closure2(t0) { + this.action = t0; + }, + strand_or_substrand_color_set_reducer_closure3: function strand_or_substrand_color_set_reducer_closure3(t0) { + this.substrands = t0; + }, + modifications_5p_edit_reducer_closure: function modifications_5p_edit_reducer_closure(t0) { + this.action = t0; + }, + modifications_3p_edit_reducer_closure: function modifications_3p_edit_reducer_closure(t0) { + this.action = t0; + }, + modifications_int_edit_reducer_closure: function modifications_int_edit_reducer_closure(t0) { + this.mods_int = t0; + }, + Dialog_identity_function: function(items) { + return type$.legacy_BuiltList_legacy_DialogItem._as(items); + }, + Dialog_Dialog: function(disable, disable_when_any_checkboxes_off, disable_when_any_checkboxes_on, disable_when_any_radio_button_selected, items, mutually_exclusive_checkbox_groups, process_saved_response, title, type, use_saved_response) { + var t2, t3, _i, t4, t5, t6, disable_when_any_radio_button_selected_quarter_built, t7, t8, t9, t10, + t1 = H.setRuntimeTypeInfo([], type$.JSArray_legacy_BuiltList_legacy_int); + for (t2 = mutually_exclusive_checkbox_groups.length, t3 = type$.legacy_int, _i = 0; _i < mutually_exclusive_checkbox_groups.length; mutually_exclusive_checkbox_groups.length === t2 || (0, H.throwConcurrentModificationError)(mutually_exclusive_checkbox_groups), ++_i) + t1.push(D.BuiltList_BuiltList$from(mutually_exclusive_checkbox_groups[_i], t3)); + t2 = type$.legacy_BuiltList_legacy_int; + t4 = P.LinkedHashMap_LinkedHashMap$_empty(t3, t2); + for (t5 = J.get$iterator$ax(disable_when_any_checkboxes_on.get$keys(disable_when_any_checkboxes_on)); t5.moveNext$0();) { + t6 = t5.get$current(t5); + t4.$indexSet(0, t6, D.BuiltList_BuiltList$from(disable_when_any_checkboxes_on.$index(0, t6), t3)); + } + t2 = P.LinkedHashMap_LinkedHashMap$_empty(t3, t2); + for (t5 = J.get$iterator$ax(disable_when_any_checkboxes_off.get$keys(disable_when_any_checkboxes_off)); t5.moveNext$0();) { + t6 = t5.get$current(t5); + t2.$indexSet(0, t6, D.BuiltList_BuiltList$from(disable_when_any_checkboxes_off.$index(0, t6), t3)); + } + disable_when_any_radio_button_selected_quarter_built = P.LinkedHashMap_LinkedHashMap$_empty(t3, type$.legacy_Map_of_legacy_int_and_legacy_BuiltList_legacy_String); + for (t5 = J.get$iterator$ax(disable_when_any_radio_button_selected.get$keys(disable_when_any_radio_button_selected)), t6 = type$.legacy_String, t7 = type$.legacy_BuiltList_legacy_String; t5.moveNext$0();) { + t8 = t5.get$current(t5); + disable_when_any_radio_button_selected_quarter_built.$indexSet(0, t8, P.LinkedHashMap_LinkedHashMap$_empty(t3, t7)); + for (t9 = disable_when_any_radio_button_selected.$index(0, t8), t9 = t9.get$keys(t9), t9 = t9.get$iterator(t9); t9.moveNext$0();) { + t10 = t9.get$current(t9); + disable_when_any_radio_button_selected_quarter_built.$index(0, t8).$indexSet(0, t10, D.BuiltList_BuiltList$of(disable_when_any_radio_button_selected.$index(0, t8).$index(0, t10), t6)); + } + } + t5 = P.LinkedHashMap_LinkedHashMap$_empty(t3, type$.legacy_BuiltMap_of_legacy_int_and_legacy_BuiltList_legacy_String); + for (t6 = disable_when_any_radio_button_selected_quarter_built.get$keys(disable_when_any_radio_button_selected_quarter_built), t6 = t6.get$iterator(t6); t6.moveNext$0();) { + t8 = t6.get$current(t6); + t5.$indexSet(0, t8, A.BuiltMap_BuiltMap$of(disable_when_any_radio_button_selected_quarter_built.$index(0, t8), t3, t7)); + } + t3 = new E.DialogBuilder(); + type$.legacy_void_Function_legacy_DialogBuilder._as(new E.Dialog_Dialog_closure(title, type, process_saved_response, use_saved_response, items, disable, t1, t5, t4, t2)).call$1(t3); + return t3.build$0(); + }, + DialogInteger_DialogInteger: function(label, tooltip, value) { + var t1 = new E.DialogIntegerBuilder(); + type$.legacy_void_Function_legacy_DialogIntegerBuilder._as(new E.DialogInteger_DialogInteger_closure(label, value, tooltip)).call$1(t1); + return t1.build$0(); + }, + DialogFloat_DialogFloat: function(label, value) { + var t1 = new E.DialogFloatBuilder(); + type$.legacy_void_Function_legacy_DialogFloatBuilder._as(new E.DialogFloat_DialogFloat_closure(label, value, null)).call$1(t1); + return t1.build$0(); + }, + DialogText_DialogText: function(label, tooltip, value) { + var size, t2, t1 = {}; + t1.size = size; + t1.size = null; + t2 = Math.max(20, value.length); + t1.size = t2; + t2 = new E.DialogTextBuilder(); + type$.legacy_void_Function_legacy_DialogTextBuilder._as(new E.DialogText_DialogText_closure(t1, label, value, tooltip)).call$1(t2); + return t2.build$0(); + }, + DialogTextArea_DialogTextArea: function(cols, label, rows, tooltip, value) { + var t1 = new E.DialogTextAreaBuilder(); + type$.legacy_void_Function_legacy_DialogTextAreaBuilder._as(new E.DialogTextArea_DialogTextArea_closure(label, cols, rows, value, tooltip)).call$1(t1); + return t1.build$0(); + }, + DialogCheckbox_DialogCheckbox: function(label, tooltip, value) { + var t1 = new E.DialogCheckboxBuilder(); + type$.legacy_void_Function_legacy_DialogCheckboxBuilder._as(new E.DialogCheckbox_DialogCheckbox_closure(label, value, tooltip)).call$1(t1); + return t1.build$0(); + }, + DialogRadio_DialogRadio: function(label, option_tooltips, options, radio, selected_idx, tooltip) { + var t2, + t1 = type$.legacy_String, + options_list = P.List_List$from(options, true, t1), + option_tooltips_list = P.List_List$from(option_tooltips == null ? P.List_List$filled(options_list.length, "", false, t1) : option_tooltips, true, t1); + t1 = options_list.length; + t2 = option_tooltips_list.length; + if (t1 !== t2) + throw H.wrapException(P.ArgumentError$("options and item_tooltips must be same length, but their lengths are " + t1 + " and " + t2 + " respectively:\noptions = " + H.S(options_list) + "\nitem_tooltips = " + H.S(option_tooltips_list))); + t1 = new E.DialogRadioBuilder(); + type$.legacy_void_Function_legacy_DialogRadioBuilder._as(new E.DialogRadio_DialogRadio_closure(options_list, selected_idx, radio, label, tooltip, option_tooltips_list)).call$1(t1); + return t1.build$0(); + }, + DialogLink_DialogLink: function(label, link) { + var t1 = new E.DialogLinkBuilder(); + type$.legacy_void_Function_legacy_DialogLinkBuilder._as(new E.DialogLink_DialogLink_closure(label, link, null)).call$1(t1); + return t1.build$0(); + }, + DialogLabel_DialogLabel: function(label) { + var _$result, t2, t3, + _s11_ = "DialogLabel", + t1 = new E.DialogLabelBuilder(); + type$.legacy_void_Function_legacy_DialogLabelBuilder._as(new E.DialogLabel_DialogLabel_closure(label, null)).call$1(t1); + _$result = t1._dialog$_$v; + if (_$result == null) { + t2 = t1.get$_dialog$_$this()._dialog$_label; + if (t2 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s11_, "label")); + t3 = t1.get$_dialog$_$this()._dialog$_value; + if (t3 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s11_, "value")); + _$result = new E._$DialogLabel(t2, t3, t1.get$_dialog$_$this()._tooltip); + } + return t1._dialog$_$v = _$result; + }, + _$valueOf3: function($name) { + switch ($name) { + case "choose_autobreak_parameters": + return C.DialogType_choose_autobreak_parameters; + case "adjust_geometric_parameters": + return C.DialogType_adjust_geometric_parameters; + case "create_new_helix_group": + return C.DialogType_create_new_helix_group; + case "adjust_current_helix_group": + return C.DialogType_adjust_current_helix_group; + case "adjust_helix_indices": + return C.DialogType_adjust_helix_indices; + case "assign_scale_purification": + return C.DialogType_assign_scale_purification; + case "assign_plate_well": + return C.DialogType_assign_plate_well; + case "add_modification": + return C.DialogType_add_modification; + case "set_strand_name": + return C.DialogType_set_strand_name; + case "set_strand_label": + return C.DialogType_set_strand_label; + case "set_domain_name": + return C.DialogType_set_domain_name; + case "set_substrand_label": + return C.DialogType_set_substrand_label; + case "assign_dna_sequence": + return C.DialogType_assign_dna_sequence; + case "remove_dna_sequence": + return C.DialogType_remove_dna_sequence; + case "edit_modification": + return C.DialogType_edit_modification; + case "set_color": + return C.DialogType_set_color; + case "set_loopout_name": + return C.DialogType_set_loopout_name; + case "set_loopout_length": + return C.DialogType_set_loopout_length; + case "set_insertion_length": + return C.DialogType_set_insertion_length; + case "set_extension_num_bases": + return C.DialogType_set_extension_num_bases; + case "set_helix_minimum_offset": + return C.DialogType_set_helix_minimum_offset; + case "set_helix_maximum_offset": + return C.DialogType_set_helix_maximum_offset; + case "set_helix_index": + return C.DialogType_set_helix_index; + case "set_helix_roll_degrees": + return C.DialogType_set_helix_roll_degrees; + case "set_helix_tick_marks": + return C.DialogType_set_helix_tick_marks; + case "set_helix_grid_position": + return C.DialogType_set_helix_grid_position; + case "set_helix_position": + return C.DialogType_set_helix_position; + case "move_selected_helices_to_group": + return C.DialogType_move_selected_helices_to_group; + case "export_dna_sequences": + return C.DialogType_export_dna_sequences; + case "load_example_dna_design": + return C.DialogType_load_example_dna_design; + case "base_pair_display": + return C.DialogType_base_pair_display; + case "add_extension": + return C.DialogType_add_extension; + case "set_extension_name": + return C.DialogType_set_extension_name; + case "set_extension_display_length_angle": + return C.DialogType_2jN; + case "select_all_with_same_as_selected": + return C.DialogType_0i1; + default: + throw H.wrapException(P.ArgumentError$($name)); + } + }, + DialogType: function DialogType(t0) { + this.name = t0; + }, + Dialog: function Dialog() { + }, + Dialog_Dialog_closure: function Dialog_Dialog_closure(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9) { + var _ = this; + _.title = t0; + _.type = t1; + _.process_saved_response = t2; + _.use_saved_response = t3; + _.items = t4; + _.disable = t5; + _.mutually_exclusive_checkbox_groups_half_built = t6; + _.disable_when_any_radio_button_selected_half_built = t7; + _.disable_when_any_checkboxes_on_half_built = t8; + _.disable_when_any_checkboxes_off_half_built = t9; + }, + DialogInteger: function DialogInteger() { + }, + DialogInteger_DialogInteger_closure: function DialogInteger_DialogInteger_closure(t0, t1, t2) { + this.label = t0; + this.value = t1; + this.tooltip = t2; + }, + DialogFloat: function DialogFloat() { + }, + DialogFloat_DialogFloat_closure: function DialogFloat_DialogFloat_closure(t0, t1, t2) { + this.label = t0; + this.value = t1; + this.tooltip = t2; + }, + DialogText: function DialogText() { + }, + DialogText_DialogText_closure: function DialogText_DialogText_closure(t0, t1, t2, t3) { + var _ = this; + _._box_0 = t0; + _.label = t1; + _.value = t2; + _.tooltip = t3; + }, + DialogTextArea: function DialogTextArea() { + }, + DialogTextArea_DialogTextArea_closure: function DialogTextArea_DialogTextArea_closure(t0, t1, t2, t3, t4) { + var _ = this; + _.label = t0; + _.cols = t1; + _.rows = t2; + _.value = t3; + _.tooltip = t4; + }, + DialogCheckbox: function DialogCheckbox() { + }, + DialogCheckbox_DialogCheckbox_closure: function DialogCheckbox_DialogCheckbox_closure(t0, t1, t2) { + this.label = t0; + this.value = t1; + this.tooltip = t2; + }, + DialogRadio: function DialogRadio() { + }, + DialogRadio_DialogRadio_closure: function DialogRadio_DialogRadio_closure(t0, t1, t2, t3, t4, t5) { + var _ = this; + _.options_list = t0; + _.selected_idx = t1; + _.radio = t2; + _.label = t3; + _.tooltip = t4; + _.option_tooltips_list = t5; + }, + DialogLink: function DialogLink() { + }, + DialogLink_DialogLink_closure: function DialogLink_DialogLink_closure(t0, t1, t2) { + this.label = t0; + this.link = t1; + this.tooltip = t2; + }, + DialogLabel: function DialogLabel() { + }, + DialogLabel_DialogLabel_closure: function DialogLabel_DialogLabel_closure(t0, t1) { + this.label = t0; + this.tooltip = t1; + }, + _$DialogTypeSerializer: function _$DialogTypeSerializer() { + }, + _$DialogSerializer: function _$DialogSerializer() { + }, + _$DialogIntegerSerializer: function _$DialogIntegerSerializer() { + }, + _$DialogFloatSerializer: function _$DialogFloatSerializer() { + }, + _$DialogTextSerializer: function _$DialogTextSerializer() { + }, + _$DialogTextAreaSerializer: function _$DialogTextAreaSerializer() { + }, + _$DialogCheckboxSerializer: function _$DialogCheckboxSerializer() { + }, + _$DialogRadioSerializer: function _$DialogRadioSerializer() { + }, + _$DialogLinkSerializer: function _$DialogLinkSerializer() { + }, + _$Dialog: function _$Dialog(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10) { + var _ = this; + _.title = t0; + _.type = t1; + _.process_saved_response = t2; + _.use_saved_response = t3; + _.items = t4; + _.mutually_exclusive_checkbox_groups = t5; + _.disable_when_any_radio_button_selected = t6; + _.disable_when_any_checkboxes_on = t7; + _.disable_when_any_checkboxes_off = t8; + _.disable = t9; + _.on_submit = t10; + _._dialog$__hashCode = null; + }, + DialogBuilder: function DialogBuilder() { + var _ = this; + _._on_submit = _._disable = _._disable_when_any_checkboxes_off = _._disable_when_any_checkboxes_on = _._disable_when_any_radio_button_selected = _._mutually_exclusive_checkbox_groups = _._dialog$_items = _._use_saved_response = _._process_saved_response = _._dialog$_type = _._title = _._dialog$_$v = null; + }, + _$DialogInteger: function _$DialogInteger(t0, t1, t2) { + var _ = this; + _.label = t0; + _.value = t1; + _.tooltip = t2; + _._dialog$__hashCode = null; + }, + DialogIntegerBuilder: function DialogIntegerBuilder() { + var _ = this; + _._tooltip = _._dialog$_value = _._dialog$_label = _._dialog$_$v = null; + }, + _$DialogFloat: function _$DialogFloat(t0, t1, t2) { + this.label = t0; + this.value = t1; + this.tooltip = t2; + }, + DialogFloatBuilder: function DialogFloatBuilder() { + var _ = this; + _._tooltip = _._dialog$_value = _._dialog$_label = _._dialog$_$v = null; + }, + _$DialogText: function _$DialogText(t0, t1, t2, t3) { + var _ = this; + _.label = t0; + _.value = t1; + _.size = t2; + _.tooltip = t3; + _._dialog$__hashCode = null; + }, + DialogTextBuilder: function DialogTextBuilder() { + var _ = this; + _._tooltip = _._size = _._dialog$_value = _._dialog$_label = _._dialog$_$v = null; + }, + _$DialogTextArea: function _$DialogTextArea(t0, t1, t2, t3, t4) { + var _ = this; + _.label = t0; + _.cols = t1; + _.rows = t2; + _.value = t3; + _.tooltip = t4; + _._dialog$__hashCode = null; + }, + DialogTextAreaBuilder: function DialogTextAreaBuilder() { + var _ = this; + _._tooltip = _._dialog$_value = _._rows = _._cols = _._dialog$_label = _._dialog$_$v = null; + }, + _$DialogCheckbox: function _$DialogCheckbox(t0, t1, t2) { + var _ = this; + _.label = t0; + _.value = t1; + _.tooltip = t2; + _._dialog$__hashCode = null; + }, + DialogCheckboxBuilder: function DialogCheckboxBuilder() { + var _ = this; + _._tooltip = _._dialog$_value = _._dialog$_label = _._dialog$_$v = null; + }, + _$DialogRadio: function _$DialogRadio(t0, t1, t2, t3, t4, t5) { + var _ = this; + _.options = t0; + _.selected_idx = t1; + _.label = t2; + _.radio = t3; + _.option_tooltips = t4; + _.tooltip = t5; + _._dialog$__hashCode = null; + }, + DialogRadioBuilder: function DialogRadioBuilder() { + var _ = this; + _._tooltip = _._option_tooltips = _._radio = _._dialog$_label = _._dialog$_selected_idx = _._options = _._dialog$_$v = null; + }, + _$DialogLink: function _$DialogLink(t0, t1, t2, t3) { + var _ = this; + _.label = t0; + _.link = t1; + _.value = t2; + _.tooltip = t3; + _._dialog$__hashCode = null; + }, + DialogLinkBuilder: function DialogLinkBuilder() { + var _ = this; + _._tooltip = _._dialog$_value = _._link = _._dialog$_label = _._dialog$_$v = null; + }, + _$DialogLabel: function _$DialogLabel(t0, t1, t2) { + var _ = this; + _.label = t0; + _.value = t1; + _.tooltip = t2; + _._dialog$__hashCode = null; + }, + DialogLabelBuilder: function DialogLabelBuilder() { + var _ = this; + _._tooltip = _._dialog$_value = _._dialog$_label = _._dialog$_$v = null; + }, + _Dialog_Object_BuiltJsonSerializable: function _Dialog_Object_BuiltJsonSerializable() { + }, + _DialogCheckbox_Object_BuiltJsonSerializable: function _DialogCheckbox_Object_BuiltJsonSerializable() { + }, + _DialogFloat_Object_BuiltJsonSerializable: function _DialogFloat_Object_BuiltJsonSerializable() { + }, + _DialogInteger_Object_BuiltJsonSerializable: function _DialogInteger_Object_BuiltJsonSerializable() { + }, + _DialogLabel_Object_BuiltJsonSerializable: function _DialogLabel_Object_BuiltJsonSerializable() { + }, + _DialogLink_Object_BuiltJsonSerializable: function _DialogLink_Object_BuiltJsonSerializable() { + }, + _DialogRadio_Object_BuiltJsonSerializable: function _DialogRadio_Object_BuiltJsonSerializable() { + }, + _DialogText_Object_BuiltJsonSerializable: function _DialogText_Object_BuiltJsonSerializable() { + }, + _DialogTextArea_Object_BuiltJsonSerializable: function _DialogTextArea_Object_BuiltJsonSerializable() { + }, + end_type_selectable: function(end) { + var t2, + t1 = end.is_5p; + if (t1) + if (end.substrand_is_first) { + t2 = $.app.store; + t2 = t2.get$state(t2).ui_state.storables.select_mode_state.modes._set.contains$1(0, C.SelectModeChoice_end_5p_strand); + } else + t2 = false; + else + t2 = false; + if (!t2) { + if (t1) + if (!end.substrand_is_first) { + t2 = $.app.store; + t2 = t2.get$state(t2).ui_state.storables.select_mode_state.modes._set.contains$1(0, C.SelectModeChoice_end_5p_domain); + } else + t2 = false; + else + t2 = false; + if (!t2) { + t1 = !t1; + if (t1) + if (end.substrand_is_last) { + t2 = $.app.store; + t2 = t2.get$state(t2).ui_state.storables.select_mode_state.modes._set.contains$1(0, C.SelectModeChoice_end_3p_strand); + } else + t2 = false; + else + t2 = false; + if (!t2) + if (t1) + if (!end.substrand_is_last) { + t1 = $.app.store; + t1 = t1.get$state(t1).ui_state.storables.select_mode_state.modes._set.contains$1(0, C.SelectModeChoice_end_3p_domain); + } else + t1 = false; + else + t1 = false; + else + t1 = true; + } else + t1 = true; + } else + t1 = true; + return t1; + }, + origami_type_selectable: function(selectable) { + var t2, + t1 = $.app.store; + if (!t1.get$state(t1).design.get$is_origami()) + return true; + t1 = selectable.get$is_scaffold(); + t2 = $.app; + if (t1) { + t1 = t2.store; + return t1.get$state(t1).ui_state.storables.select_mode_state.modes._set.contains$1(0, C.SelectModeChoice_scaffold); + } else { + t1 = t2.store; + return t1.get$state(t1).ui_state.storables.select_mode_state.modes._set.contains$1(0, C.SelectModeChoice_staple); + } + }, + ask_for_select_all_with_same_as_selected: function() { + var $async$goto = 0, + $async$completer = P._makeAsyncAwaitCompleter(type$.void), + $async$returnValue, all_traits, t2, items, idx, trait, results, traits_for_selection, t3, t4, action, t1, selected_strands; + var $async$ask_for_select_all_with_same_as_selected = P._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { + if ($async$errorCode === 1) + return P._asyncRethrow($async$result, $async$completer); + while (true) + switch ($async$goto) { + case 0: + // Function start + t1 = $.app.store; + selected_strands = D.BuiltList_BuiltList$from(t1.get$state(t1).ui_state.selectables_store.get$selected_strands(), type$.legacy_Selectable); + if (J.get$length$asx(selected_strands._list) === 0) { + C.Window_methods.alert$1(window, "No strands are selected. Select at least one strand before choosing this option."); + // goto return + $async$goto = 1; + break; + } + t1 = type$.legacy_SelectableTrait; + all_traits = P.List_List$from($.$get$_$values4(), true, t1); + t2 = all_traits.length; + items = P.List_List$filled(t2 + 1, null, false, type$.legacy_DialogItem); + for (idx = 0; idx < t2; ++idx) { + trait = all_traits[idx]; + C.JSArray_methods.$indexSet(items, idx, E.DialogCheckbox_DialogCheckbox(trait.get$description(trait), "", false)); + } + C.JSArray_methods.$indexSet(items, t2, E.DialogCheckbox_DialogCheckbox("(Exclude scaffold(s))", "If checked, then only strands that are not scaffolds will be selected. \nHowever, *currently* selected scaffold strands will remain selected.", false)); + $async$goto = 3; + return P._asyncAwait(E.dialog(E.Dialog_Dialog(C.Set_empty, C.Map_empty2, C.Map_empty2, C.Map_empty3, items, C.List_empty1, E.dialog_Dialog_identity_function$closure(), "Select all strands with same traits as currently selected strand(s)", C.DialogType_0i1, true)), $async$ask_for_select_all_with_same_as_selected); + case 3: + // returning from await. + results = $async$result; + if (results == null) { + // goto return + $async$goto = 1; + break; + } + traits_for_selection = H.setRuntimeTypeInfo([], type$.JSArray_legacy_SelectableTrait); + for (t3 = J.getInterceptor$asx(results), t4 = type$.legacy_DialogCheckbox, idx = 0; idx < t2; ++idx) { + trait = all_traits[idx]; + if (t4._as(t3.$index(results, idx)).value) + C.JSArray_methods.add$1(traits_for_selection, trait); + } + action = U._$SelectAllWithSameAsSelected$_(t4._as(t3.$index(results, t2)).value, selected_strands, D._BuiltList$of(traits_for_selection, t1)); + $.app.dispatch$1(action); + case 1: + // return + return P._asyncReturn($async$returnValue, $async$completer); + } + }); + return P._asyncStartSync($async$ask_for_select_all_with_same_as_selected, $async$completer); + }, + _$valueOf9: function($name) { + switch ($name) { + case "strand_name": + return C.SelectableTrait_strand_name; + case "strand_label": + return C.SelectableTrait_strand_label; + case "color": + return C.SelectableTrait_color; + case "modification_5p": + return C.SelectableTrait_modification_5p; + case "modification_3p": + return C.SelectableTrait_modification_3p; + case "modification_int": + return C.SelectableTrait_modification_int; + case "dna_sequence": + return C.SelectableTrait_dna_sequence; + case "vendor_fields": + return C.SelectableTrait_vendor_fields; + case "circular": + return C.SelectableTrait_circular; + case "helices": + return C.SelectableTrait_helices; + default: + throw H.wrapException(P.ArgumentError$($name)); + } + }, + _$SelectableDeletion$_: function(domain, is_scaffold, offset) { + var _s18_ = "SelectableDeletion"; + if (offset == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s18_, "offset")); + if (domain == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s18_, "domain")); + return new E._$SelectableDeletion(offset, domain, is_scaffold); + }, + _$SelectableInsertion$_: function(domain, insertion, is_scaffold) { + var _s19_ = "SelectableInsertion"; + if (insertion == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s19_, "insertion")); + if (domain == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s19_, "domain")); + return new E._$SelectableInsertion(insertion, domain, is_scaffold); + }, + _$SelectableModification5Prime$_: function(modification, strand) { + var _s28_ = "SelectableModification5Prime"; + if (modification == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s28_, "modification")); + if (strand == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s28_, "strand")); + return new E._$SelectableModification5Prime(modification, strand); + }, + _$SelectableModification3Prime$_: function(modification, strand) { + var _s28_ = "SelectableModification3Prime"; + if (modification == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s28_, "modification")); + if (strand == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s28_, "strand")); + return new E._$SelectableModification3Prime(modification, strand); + }, + _$SelectableModificationInternal$_: function(dna_idx, domain, modification, strand) { + var _s30_ = "SelectableModificationInternal"; + if (modification == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s30_, "modification")); + if (strand == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s30_, "strand")); + if (domain == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s30_, "domain")); + if (dna_idx == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s30_, "dna_idx")); + return new E._$SelectableModificationInternal(modification, strand, domain, dna_idx); + }, + SelectablesStore: function SelectablesStore() { + }, + SelectablesStore_selected_strands_closure: function SelectablesStore_selected_strands_closure() { + }, + SelectablesStore_selected_crossovers_closure: function SelectablesStore_selected_crossovers_closure() { + }, + SelectablesStore_selected_loopouts_closure: function SelectablesStore_selected_loopouts_closure() { + }, + SelectablesStore_selected_extensions_closure: function SelectablesStore_selected_extensions_closure() { + }, + SelectablesStore_selected_domains_closure: function SelectablesStore_selected_domains_closure() { + }, + SelectablesStore_selected_dna_ends_closure: function SelectablesStore_selected_dna_ends_closure() { + }, + SelectablesStore_selected_dna_ends_on_domains_closure: function SelectablesStore_selected_dna_ends_on_domains_closure() { + }, + SelectablesStore_selected_dna_ends_on_extensions_closure: function SelectablesStore_selected_dna_ends_on_extensions_closure() { + }, + SelectablesStore_selected_deletions_closure: function SelectablesStore_selected_deletions_closure() { + }, + SelectablesStore_selected_insertions_closure: function SelectablesStore_selected_insertions_closure() { + }, + SelectablesStore_selected_modifications_closure: function SelectablesStore_selected_modifications_closure() { + }, + SelectablesStore_select_closure: function SelectablesStore_select_closure(t0) { + this.selected_items_builder = t0; + }, + SelectablesStore_unselect_closure: function SelectablesStore_unselect_closure(t0) { + this.selected_items_builder = t0; + }, + SelectablesStore_clear_closure: function SelectablesStore_clear_closure() { + }, + SelectablesStore_select_all_closure: function SelectablesStore_select_all_closure(t0) { + this.selected_items_builder = t0; + }, + SelectablesStore_toggle_all_closure: function SelectablesStore_toggle_all_closure(t0) { + this.selected_items_builder = t0; + }, + SelectableDeletion: function SelectableDeletion() { + }, + SelectableInsertion: function SelectableInsertion() { + }, + SelectableModification: function SelectableModification() { + }, + SelectableModification5Prime: function SelectableModification5Prime() { + }, + SelectableModification3Prime: function SelectableModification3Prime() { + }, + SelectableModificationInternal: function SelectableModificationInternal() { + }, + SelectableMixin: function SelectableMixin() { + }, + SelectableTrait: function SelectableTrait(t0) { + this.name = t0; + }, + _$SelectablesStoreSerializer: function _$SelectablesStoreSerializer() { + }, + _$SelectableDeletionSerializer: function _$SelectableDeletionSerializer() { + }, + _$SelectableInsertionSerializer: function _$SelectableInsertionSerializer() { + }, + _$SelectableModification5PrimeSerializer: function _$SelectableModification5PrimeSerializer() { + }, + _$SelectableModification3PrimeSerializer: function _$SelectableModification3PrimeSerializer() { + }, + _$SelectableModificationInternalSerializer: function _$SelectableModificationInternalSerializer() { + }, + _$SelectableTraitSerializer: function _$SelectableTraitSerializer() { + }, + _$SelectablesStore: function _$SelectablesStore(t0) { + var _ = this; + _.selected_items = t0; + _._selectable$__hashCode = _.__selected_modifications = _.__selected_insertions = _.__selected_deletions = _.__selected_dna_ends_on_extensions = _.__selected_dna_ends_on_domains = _.__selected_dna_ends = _.__selected_domains = _.__selected_extensions = _.__selected_loopouts = _.__selected_crossovers = _.__selected_strands = null; + }, + SelectablesStoreBuilder: function SelectablesStoreBuilder() { + this._selected_items = this._selectable$_$v = null; + }, + _$SelectableDeletion: function _$SelectableDeletion(t0, t1, t2) { + var _ = this; + _.offset = t0; + _.domain = t1; + _.is_scaffold = t2; + _._selectable$__hashCode = _._selectable$__id = _._selectable$__select_mode = null; + }, + SelectableDeletionBuilder: function SelectableDeletionBuilder() { + var _ = this; + _._selectable$_is_scaffold = _._selectable$_domain = _._selectable$_offset = _._selectable$_$v = null; + }, + _$SelectableInsertion: function _$SelectableInsertion(t0, t1, t2) { + var _ = this; + _.insertion = t0; + _.domain = t1; + _.is_scaffold = t2; + _._selectable$__hashCode = _.__id_group = _._selectable$__id = _._selectable$__select_mode = null; + }, + SelectableInsertionBuilder: function SelectableInsertionBuilder() { + var _ = this; + _._selectable$_is_scaffold = _._selectable$_domain = _._selectable$_insertion = _._selectable$_$v = null; + }, + _$SelectableModification5Prime: function _$SelectableModification5Prime(t0, t1) { + var _ = this; + _.modification = t0; + _.strand = t1; + _._selectable$__hashCode = _._selectable$__id = _.__address = null; + }, + SelectableModification5PrimeBuilder: function SelectableModification5PrimeBuilder() { + this._selectable$_strand = this._selectable$_modification = this._selectable$_$v = null; + }, + _$SelectableModification3Prime: function _$SelectableModification3Prime(t0, t1) { + var _ = this; + _.modification = t0; + _.strand = t1; + _._selectable$__hashCode = _._selectable$__id = _.__address = null; + }, + SelectableModification3PrimeBuilder: function SelectableModification3PrimeBuilder() { + this._selectable$_strand = this._selectable$_modification = this._selectable$_$v = null; + }, + _$SelectableModificationInternal: function _$SelectableModificationInternal(t0, t1, t2, t3) { + var _ = this; + _.modification = t0; + _.strand = t1; + _.domain = t2; + _.dna_idx = t3; + _._selectable$__hashCode = _._selectable$__id = _.__address = null; + }, + SelectableModificationInternalBuilder: function SelectableModificationInternalBuilder() { + var _ = this; + _._dna_idx = _._selectable$_domain = _._selectable$_strand = _._selectable$_modification = _._selectable$_$v = null; + }, + _SelectableDeletion_Object_SelectableMixin: function _SelectableDeletion_Object_SelectableMixin() { + }, + _SelectableDeletion_Object_SelectableMixin_BuiltJsonSerializable: function _SelectableDeletion_Object_SelectableMixin_BuiltJsonSerializable() { + }, + _SelectableInsertion_Object_SelectableMixin: function _SelectableInsertion_Object_SelectableMixin() { + }, + _SelectableInsertion_Object_SelectableMixin_BuiltJsonSerializable: function _SelectableInsertion_Object_SelectableMixin_BuiltJsonSerializable() { + }, + _SelectableModification3Prime_Object_SelectableModification: function _SelectableModification3Prime_Object_SelectableModification() { + }, + _SelectableModification3Prime_Object_SelectableModification_SelectableMixin: function _SelectableModification3Prime_Object_SelectableModification_SelectableMixin() { + }, + _SelectableModification3Prime_Object_SelectableModification_SelectableMixin_BuiltJsonSerializable: function _SelectableModification3Prime_Object_SelectableModification_SelectableMixin_BuiltJsonSerializable() { + }, + _SelectableModification5Prime_Object_SelectableModification: function _SelectableModification5Prime_Object_SelectableModification() { + }, + _SelectableModification5Prime_Object_SelectableModification_SelectableMixin: function _SelectableModification5Prime_Object_SelectableModification_SelectableMixin() { + }, + _SelectableModification5Prime_Object_SelectableModification_SelectableMixin_BuiltJsonSerializable: function _SelectableModification5Prime_Object_SelectableModification_SelectableMixin_BuiltJsonSerializable() { + }, + _SelectableModificationInternal_Object_SelectableModification: function _SelectableModificationInternal_Object_SelectableModification() { + }, + _SelectableModificationInternal_Object_SelectableModification_SelectableMixin: function _SelectableModificationInternal_Object_SelectableModification_SelectableMixin() { + }, + _SelectableModificationInternal_Object_SelectableModification_SelectableMixin_BuiltJsonSerializable: function _SelectableModificationInternal_Object_SelectableModification_SelectableMixin_BuiltJsonSerializable() { + }, + _SelectablesStore_Object_BuiltJsonSerializable: function _SelectablesStore_Object_BuiltJsonSerializable() { + }, + SelectionBox_SelectionBox: function(start, toggle, is_main) { + var t1 = new E.SelectionBoxBuilder(); + type$.legacy_void_Function_legacy_SelectionBoxBuilder._as(new E.SelectionBox_SelectionBox_closure(start, toggle, is_main)).call$1(t1); + return t1.build$0(); + }, + SelectionBox: function SelectionBox() { + }, + SelectionBox_SelectionBox_closure: function SelectionBox_SelectionBox_closure(t0, t1, t2) { + this.start = t0; + this.toggle = t1; + this.is_main = t2; + }, + _$SelectionBoxSerializer: function _$SelectionBoxSerializer() { + }, + _$SelectionBox: function _$SelectionBox(t0, t1, t2, t3) { + var _ = this; + _.start = t0; + _.current = t1; + _.toggle = t2; + _.is_main = t3; + _._selection_box$__hashCode = null; + }, + SelectionBoxBuilder: function SelectionBoxBuilder() { + var _ = this; + _._selection_box$_is_main = _._selection_box$_toggle = _._selection_box$_current = _._selection_box$_start = _._selection_box$_$v = null; + }, + _SelectionBox_Object_BuiltJsonSerializable: function _SelectionBox_Object_BuiltJsonSerializable() { + }, + Strand_Strand: function(substrands, circular, color, dna_sequence, is_scaffold, label, modification_3p, modification_5p, modifications_int, $name, vendor_fields) { + var t2, strand, t1 = {}; + t1.color = color; + if (color == null) + t1.color = H.boolConversionCheck(is_scaffold) ? $.$get$scaffold_color() : $.$get$color_cycler().next$0(0); + t2 = new E.StrandBuilder(); + type$.legacy_void_Function_legacy_StrandBuilder._as(new E.Strand_Strand_closure(t1, circular, substrands, vendor_fields, modification_5p, modification_3p, modifications_int, is_scaffold, $name, label)).call$1(t2); + strand = t2.build$0(); + return (dna_sequence != null ? strand.set_dna_sequence$1(dna_sequence) : strand).initialize$0(0); + }, + Strand__finalizeBuilder: function(builder) { + var id, t4, t5, t6, i, t7, t8, substrand, t9, loopout, t10, t11, _null = null, _s5_ = "_list", + _s12_ = "null element", + first_ss = J.get$first$ax(builder.get$substrands().get$_list()), + first_dom = first_ss instanceof G.Domain ? first_ss : type$.legacy_Domain._as(J.$index$asx(builder.get$substrands().get$_list(), 1)), + t1 = first_dom.helix, + t2 = first_dom.get$offset_5p(), + t3 = first_dom.forward; + t2 = "strand-H" + t1 + "-" + t2 + "-"; + id = t2 + (t3 ? "forward" : "reverse"); + t1 = type$.legacy_void_Function_legacy_ExtensionBuilder; + t2 = type$.legacy_Substrand; + t3 = type$.List_legacy_Substrand; + t4 = type$.ListBuilder_legacy_Substrand; + t5 = type$.legacy_void_Function_legacy_LoopoutBuilder; + t6 = type$.legacy_void_Function_legacy_DomainBuilder; + i = 0; + while (true) { + t7 = builder.get$_strand$_$this(); + t8 = t7._substrands; + if (t8 == null) { + t8 = new D.ListBuilder(t4); + t8.set$__ListBuilder__list(t3._as(P.List_List$from(C.List_empty, true, t2))); + t8.set$_listOwner(_null); + t7.set$_substrands(t8); + t7 = t8; + } else + t7 = t8; + t7 = t7.__ListBuilder__list; + t7 = J.get$length$asx(t7 === $ ? H.throwExpression(H.LateError$fieldNI(_s5_)) : t7); + if (typeof t7 !== "number") + return H.iae(t7); + if (!(i < t7)) + break; + t7 = builder.get$_strand$_$this(); + t8 = t7._substrands; + if (t8 == null) { + t8 = new D.ListBuilder(t4); + t8.set$__ListBuilder__list(t3._as(P.List_List$from(C.List_empty, true, t2))); + t8.set$_listOwner(_null); + t7.set$_substrands(t8); + t7 = t8; + } else + t7 = t8; + t7 = t7.__ListBuilder__list; + substrand = J.$index$asx(t7 === $ ? H.throwExpression(H.LateError$fieldNI(_s5_)) : t7, i); + t7 = substrand instanceof G.Loopout; + if (t7) { + if (substrand.prev_domain_idx === i - 1) { + t8 = substrand.__next_domain_idx; + if (t8 == null) + t8 = substrand.__next_domain_idx = G.Loopout.prototype.get$next_domain_idx.call(substrand); + t8 = t8 !== i + 1; + } else + t8 = true; + if (t8) { + t8 = t5._as(new E.Strand__finalizeBuilder_closure(i)); + t9 = new G.LoopoutBuilder(); + t9._loopout$_$v = substrand; + t8.call$1(t9); + loopout = t9.build$0(); + t8 = builder.get$_strand$_$this(); + t9 = t8._substrands; + if (t9 == null) { + t9 = new D.ListBuilder(t4); + t9.set$__ListBuilder__list(t3._as(P.List_List$from(C.List_empty, true, t2))); + t9.set$_listOwner(_null); + t8.set$_substrands(t9); + t8 = t9; + } else + t8 = t9; + t9 = t8.$ti; + t10 = t9._precomputed1; + t10._as(loopout); + if (!$.$get$isSoundMode() && !t10._is(null)) + if (loopout == null) + H.throwExpression(P.ArgumentError$(_s12_)); + if (t8._listOwner != null) { + t11 = t8.__ListBuilder__list; + t8.set$__ListBuilder__list(t9._eval$1("List<1>")._as(P.List_List$from(t11 === $ ? H.throwExpression(H.LateError$fieldNI(_s5_)) : t11, true, t10))); + t8.set$_listOwner(_null); + } + t8 = t8.__ListBuilder__list; + J.$indexSet$ax(t8 === $ ? H.throwExpression(H.LateError$fieldNI(_s5_)) : t8, i, loopout); + } + } + if (substrand instanceof G.Domain) { + t7 = builder.get$_strand$_$this(); + t8 = t7._substrands; + if (t8 == null) { + t8 = new D.ListBuilder(t4); + t8.set$__ListBuilder__list(t3._as(P.List_List$from(C.List_empty, true, t2))); + t8.set$_listOwner(_null); + t7.set$_substrands(t8); + t7 = t8; + } else + t7 = t8; + t8 = t6._as(new E.Strand__finalizeBuilder_closure0(id)); + t9 = new G.DomainBuilder(); + t9._domain$_$v = substrand; + t8.call$1(t9); + t8 = t7.$ti; + t10 = t8._precomputed1; + t9 = t10._as(t9.build$0()); + if (!$.$get$isSoundMode() && !t10._is(null)) + if (t9 == null) + H.throwExpression(P.ArgumentError$(_s12_)); + if (t7._listOwner != null) { + t11 = t7.__ListBuilder__list; + t7.set$__ListBuilder__list(t8._eval$1("List<1>")._as(P.List_List$from(t11 === $ ? H.throwExpression(H.LateError$fieldNI(_s5_)) : t11, true, t10))); + t7.set$_listOwner(_null); + } + t7 = t7.__ListBuilder__list; + J.$indexSet$ax(t7 === $ ? H.throwExpression(H.LateError$fieldNI(_s5_)) : t7, i, t9); + } else if (t7) { + t7 = builder.get$_strand$_$this(); + t8 = t7._substrands; + if (t8 == null) { + t8 = new D.ListBuilder(t4); + t8.set$__ListBuilder__list(t3._as(P.List_List$from(C.List_empty, true, t2))); + t8.set$_listOwner(_null); + t7.set$_substrands(t8); + t7 = t8; + } else + t7 = t8; + t8 = t5._as(new E.Strand__finalizeBuilder_closure1(id)); + t9 = new G.LoopoutBuilder(); + t9._loopout$_$v = substrand; + t8.call$1(t9); + t8 = t7.$ti; + t10 = t8._precomputed1; + t9 = t10._as(t9.build$0()); + if (!$.$get$isSoundMode() && !t10._is(null)) + if (t9 == null) + H.throwExpression(P.ArgumentError$(_s12_)); + if (t7._listOwner != null) { + t11 = t7.__ListBuilder__list; + t7.set$__ListBuilder__list(t8._eval$1("List<1>")._as(P.List_List$from(t11 === $ ? H.throwExpression(H.LateError$fieldNI(_s5_)) : t11, true, t10))); + t7.set$_listOwner(_null); + } + t7 = t7.__ListBuilder__list; + J.$indexSet$ax(t7 === $ ? H.throwExpression(H.LateError$fieldNI(_s5_)) : t7, i, t9); + } else if (substrand instanceof S.Extension) { + t7 = builder.get$_strand$_$this(); + t8 = t7._substrands; + if (t8 == null) { + t8 = new D.ListBuilder(t4); + t8.set$__ListBuilder__list(t3._as(P.List_List$from(C.List_empty, true, t2))); + t8.set$_listOwner(_null); + t7.set$_substrands(t8); + t7 = t8; + } else + t7 = t8; + t8 = t1._as(new E.Strand__finalizeBuilder_closure2(id)); + t9 = new S.ExtensionBuilder(); + t9._extension$_$v = substrand; + t8.call$1(t9); + t8 = t7.$ti; + t10 = t8._precomputed1; + t9 = t10._as(t9.build$0()); + if (!$.$get$isSoundMode() && !t10._is(null)) + if (t9 == null) + H.throwExpression(P.ArgumentError$(_s12_)); + if (t7._listOwner != null) { + t11 = t7.__ListBuilder__list; + t7.set$__ListBuilder__list(t8._eval$1("List<1>")._as(P.List_List$from(t11 === $ ? H.throwExpression(H.LateError$fieldNI(_s5_)) : t11, true, t10))); + t7.set$_listOwner(_null); + } + t7 = t7.__ListBuilder__list; + J.$indexSet$ax(t7 === $ ? H.throwExpression(H.LateError$fieldNI(_s5_)) : t7, i, t9); + } else + throw H.wrapException(P.AssertionError$("substrand " + i + " should be Domain, Loopout, or Extension, but is " + H.S(substrand))); + ++i; + } + }, + Strand_from_json: function(json_map) { + var t3, domains, t4, num_substrands, substrands, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, start_dna_idx_ss, i, substrand_json, t15, loopout_length, end_dna_idx_ss, num_bases, display_length, display_angle, $name, label, dna_sequence, color, unused_fields, t16, t17, ext, ssb, t18, num_insertions, loopouts, loopout_num_bases, lb, adjacent_domain, vendor_fields_dict, vendor_fields, strand, _null = null, + _s7_ = "loopout", + _s19_ = "extension_num_bases", + _s4_ = "name", _s5_ = "label", + _s8_ = "sequence", + _s5_0 = "color", + _s25_ = ").\nsubstrands JSON list: ", + substrand_jsons = type$.legacy_List_dynamic._as(E.mandatory_field(json_map, "domains", "Strand", C.List_substrands)), + t1 = type$.legacy_bool, + t2 = type$.dynamic, + is_scaffold = E.optional_field(json_map, "is_scaffold", false, C.List_empty0, _null, _null, t1, t2), + circular = E.optional_field(json_map, "circular", false, C.List_empty0, _null, _null, t1, t2); + t1 = type$.legacy_int; + t3 = type$.legacy_Domain; + domains = P.LinkedHashMap_LinkedHashMap$_empty(t1, t3); + t4 = J.getInterceptor$asx(substrand_jsons); + num_substrands = t4.get$length(substrand_jsons); + substrands = P.List_List$filled(num_substrands, _null, false, type$.legacy_Substrand); + if (typeof num_substrands !== "number") + return H.iae(num_substrands); + t5 = type$.legacy_Map_of_legacy_String_and_dynamic; + t6 = type$.legacy_Insertion; + t7 = type$.List_legacy_Insertion; + t8 = type$.ListBuilder_legacy_Insertion; + t9 = type$.List_legacy_int; + t10 = type$.ListBuilder_legacy_int; + t11 = type$.legacy_void_Function_legacy_ExtensionBuilder; + t12 = type$.legacy_double; + t13 = type$.legacy_String; + t14 = num_substrands - 1; + start_dna_idx_ss = 0; + i = 0; + for (; i < num_substrands; ++i, start_dna_idx_ss = end_dna_idx_ss) { + substrand_json = t4.$index(substrand_jsons, i); + t15 = J.getInterceptor$x(substrand_json); + if (H.boolConversionCheck(t15.containsKey$1(substrand_json, _s7_))) { + loopout_length = H._asIntS(t15.$index(substrand_json, _s7_)); + if (typeof loopout_length !== "number") + return H.iae(loopout_length); + end_dna_idx_ss = start_dna_idx_ss + loopout_length; + if (i === 0 || i === t14) + throw H.wrapException(N.IllegalDesignError$("found loopout " + H.S(substrand_json) + " at index " + i + " in substrand list. cannot have loopouts at the beginning (index 0) or end (index " + t14 + _s25_ + H.S(substrand_jsons))); + } else if (H.boolConversionCheck(t15.containsKey$1(substrand_json, _s19_))) { + t5._as(substrand_json); + num_bases = E.mandatory_field(substrand_json, _s19_, "Extension", C.List_empty0); + display_length = E.optional_field(substrand_json, "display_length", 1.5, C.List_empty0, _null, _null, t12, t2); + display_angle = E.optional_field(substrand_json, "display_angle", 35, C.List_empty0, _null, _null, t12, t2); + $name = E.optional_field_with_null_default(substrand_json, _s4_, C.List_empty0, t13, t2); + label = E.optional_field_with_null_default(substrand_json, _s5_, C.List_empty0, t13, t2); + dna_sequence = E.optional_field_with_null_default(substrand_json, _s8_, C.List_empty0, t13, t2); + color = t15.containsKey$1(substrand_json, _s5_0) ? E.parse_json_color(t15.$index(substrand_json, _s5_0)) : _null; + unused_fields = E.unused_fields_map(substrand_json, C.List_zNb); + H._asIntS(num_bases); + if (unused_fields._mapOwner == null) { + t15 = unused_fields.__MapBuilder__map; + if (t15 === $) + t15 = H.throwExpression(H.LateError$fieldNI("_map")); + t16 = unused_fields.$ti; + unused_fields.set$_mapOwner(new A._BuiltMap(unused_fields._mapFactory, t15, t16._eval$1("@<1>")._bind$1(t16._rest[1])._eval$1("_BuiltMap<1,2>"))); + } + t15 = unused_fields._mapOwner; + t16 = t15._map$_map; + t17 = H._instanceType(t15); + ext = S.Extension_Extension(_null, color, display_angle, display_length, dna_sequence, _null, false, label, $name, num_bases, new S.CopyOnWriteMap(t15._mapFactory, t16, t17._eval$1("@<1>")._bind$1(t17._rest[1])._eval$1("CopyOnWriteMap<1,2>"))); + ext.toString; + t17 = t11._as(new E.Strand_from_json_closure(i === 0)); + t16 = new S.ExtensionBuilder(); + t16._extension$_$v = ext; + t17.call$1(t16); + ext = t16.build$0(); + C.JSArray_methods.$indexSet(substrands, i, ext); + end_dna_idx_ss = start_dna_idx_ss + ext.num_bases; + if (0 < i && i < t14) + throw H.wrapException(N.IllegalDesignError$("found extension " + ext.toString$0(0) + " at index " + i + " in substrand list. can only have extension at beginning (index 0) or end (index " + t14 + _s25_ + H.S(substrand_jsons))); + } else if (H.boolConversionCheck(t15.containsKey$1(substrand_json, "helix"))) { + ssb = G.Domain_from_json(t5._as(substrand_json)); + ssb.get$_domain$_$this()._is_first = i === 0; + t15 = t4.get$length(substrand_jsons); + if (typeof t15 !== "number") + return t15.$sub(); + ssb.get$_domain$_$this()._is_last = i === t15 - 1; + t15 = ssb.get$_domain$_$this(); + t16 = t15._insertions; + if (t16 == null) { + t16 = new D.ListBuilder(t8); + t16.set$__ListBuilder__list(t7._as(P.List_List$from(C.List_empty, true, t6))); + t16.set$_listOwner(_null); + t15.set$_insertions(t16); + t15 = t16; + } else + t15 = t16; + if (t15._listOwner == null) { + t16 = t15.__ListBuilder__list; + if (t16 === $) + t16 = H.throwExpression(H.LateError$fieldNI("_list")); + t17 = t15.$ti; + t18 = t17._eval$1("_BuiltList<1>"); + t18 = t18._as(new D._BuiltList(t16, t18)); + t15.set$__ListBuilder__list(t17._eval$1("List<1>")._as(t16)); + t15.set$_listOwner(t18); + } + t15 = t15._listOwner; + t15.toString; + num_insertions = G.Domain_num_insertions_in_list(t15); + t15 = ssb.get$_domain$_$this()._end; + t16 = ssb.get$_domain$_$this()._start; + if (typeof t15 !== "number") + return t15.$sub(); + if (typeof t16 !== "number") + return H.iae(t16); + t17 = ssb.get$_domain$_$this(); + t18 = t17._deletions; + if (t18 == null) { + t18 = new D.ListBuilder(t10); + t18.set$__ListBuilder__list(t9._as(P.List_List$from(C.List_empty, true, t1))); + t18.set$_listOwner(_null); + t17.set$_deletions(t18); + t17 = t18; + } else + t17 = t18; + t17 = t17.__ListBuilder__list; + t17 = J.get$length$asx(t17 === $ ? H.throwExpression(H.LateError$fieldNI("_list")) : t17); + if (typeof t17 !== "number") + return H.iae(t17); + ssb.get$_domain$_$this()._domain$_is_scaffold = is_scaffold; + end_dna_idx_ss = start_dna_idx_ss + (t15 - t16 + num_insertions - t17); + t17 = ssb.build$0(); + C.JSArray_methods.$indexSet(substrands, i, t17); + domains.$indexSet(0, i, t17); + } else + throw H.wrapException(N.IllegalDesignError$("unrecognized substrand; does not have any of these keys:\nextension_num_bases for an Extension, loopout for a Loopout, orhelix for a Domain.\nJSON: " + H.S(substrand_json))); + } + loopouts = P.LinkedHashMap_LinkedHashMap$_empty(t1, type$.legacy_Loopout); + t1 = type$.legacy_MapBuilder_of_legacy_String_and_legacy_Object; + i = 0; + while (true) { + t6 = t4.get$length(substrand_jsons); + if (typeof t6 !== "number") + return H.iae(t6); + if (!(i < t6)) + break; + substrand_json = t4.$index(substrand_jsons, i); + t6 = J.getInterceptor$x(substrand_json); + if (H.boolConversionCheck(t6.containsKey$1(substrand_json, _s7_))) { + t5._as(substrand_json); + loopout_num_bases = H._asIntS(E.mandatory_field(substrand_json, _s7_, "Loopout", C.List_empty0)); + $name = E.optional_field_with_null_default(substrand_json, _s4_, C.List_empty0, t13, t2); + label = E.optional_field_with_null_default(substrand_json, _s5_, C.List_empty0, t13, t2); + color = t6.containsKey$1(substrand_json, _s5_0) ? E.parse_json_color(t6.$index(substrand_json, _s5_0)) : _null; + lb = new G.LoopoutBuilder(); + lb.get$_loopout$_$this()._loopout_num_bases = loopout_num_bases; + lb.get$_loopout$_$this()._loopout$_name = $name; + lb.get$_loopout$_$this()._loopout$_label = label; + lb.get$_loopout$_$this()._loopout$_color = color; + t6 = t1._as(E.unused_fields_map(substrand_json, C.List_loopout_label_name_color)); + lb.get$_loopout$_$this().set$_loopout$_unused_fields(t6); + lb.get$_loopout$_$this()._prev_domain_idx = i - 1; + lb.get$_loopout$_$this()._loopout$_is_scaffold = is_scaffold; + loopouts.$indexSet(0, i, lb.build$0()); + } + ++i; + } + for (t1 = loopouts.get$keys(loopouts), t1 = t1.get$iterator(t1); t1.moveNext$0();) { + t4 = t1.get$current(t1); + C.JSArray_methods.$indexSet(substrands, t4, loopouts.$index(0, t4)); + } + for (t1 = substrands.length, i = 0; i < t1; ++i) { + t4 = substrands[i]; + if (t4 instanceof S.Extension) { + if (H.boolConversionCheck(t4.is_5p)) { + t6 = i + 1; + if (t6 >= t1) + return H.ioore(substrands, t6); + adjacent_domain = t3._as(substrands[t6]); + } else { + t6 = i - 1; + if (t6 < 0) + return H.ioore(substrands, t6); + adjacent_domain = t3._as(substrands[t6]); + } + t6 = t11._as(new E.Strand_from_json_closure0(adjacent_domain)); + t7 = new S.ExtensionBuilder(); + t7._extension$_$v = t4; + t6.call$1(t7); + C.JSArray_methods.$indexSet(substrands, i, t7.build$0()); + } + } + for (i = 0; i < num_substrands; ++i) { + if (i >= t1) + return H.ioore(substrands, i); + if (substrands[i] == null) + throw H.wrapException(P.AssertionError$("should not have any null entries in substrands but " + i + " is null:\nsubstrands = " + H.S(substrands))); + } + dna_sequence = E.optional_field_with_null_default(json_map, _s8_, C.List_dna_sequence, t2, t2); + t1 = J.getInterceptor$x(json_map); + color = t1.containsKey$1(json_map, _s5_0) ? E.parse_json_color(t1.$index(json_map, _s5_0)) : $.$get$Strand_DEFAULT_STRAND_COLOR(); + $name = E.optional_field_with_null_default(json_map, _s4_, C.List_empty0, t13, t2); + label = E.optional_field_with_null_default(json_map, _s5_, C.List_empty0, t13, t2); + unused_fields = E.unused_fields_map(json_map, $.$get$strand_keys()); + vendor_fields_dict = E.optional_field_with_null_default(json_map, "vendor_fields", C.List_idt, t5, t2); + t1 = vendor_fields_dict == null; + vendor_fields = t1 ? _null : T.VendorFields_from_json(vendor_fields_dict); + if ($name == null && !t1 && J.containsKey$1$x(vendor_fields_dict, _s4_)) + $name = H._asStringS(J.$index$asx(vendor_fields_dict, _s4_)); + strand = E.Strand_Strand(substrands, circular, color, H._asStringS(dna_sequence), is_scaffold, label, _null, _null, C.Map_empty0, $name, vendor_fields).rebuild$1(new E.Strand_from_json_closure1(unused_fields)); + t1 = strand.substrands._list; + t2 = J.getInterceptor$ax(t1); + if (t2.get$first(t1) instanceof G.Loopout) + throw H.wrapException(N.StrandError$(strand, "Loopout at beginning of strand not supported")); + if (t2.get$last(t1) instanceof G.Loopout) + throw H.wrapException(N.StrandError$(strand, "Loopout at end of strand not supported")); + return strand; + }, + Strand: function Strand() { + }, + Strand_Strand_closure: function Strand_Strand_closure(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9) { + var _ = this; + _._box_0 = t0; + _.circular = t1; + _.substrands = t2; + _.vendor_fields = t3; + _.modification_5p = t4; + _.modification_3p = t5; + _.modifications_int = t6; + _.is_scaffold = t7; + _.name = t8; + _.label = t9; + }, + Strand__finalizeBuilder_closure: function Strand__finalizeBuilder_closure(t0) { + this.i = t0; + }, + Strand__finalizeBuilder_closure0: function Strand__finalizeBuilder_closure0(t0) { + this.id = t0; + }, + Strand__finalizeBuilder_closure1: function Strand__finalizeBuilder_closure1(t0) { + this.id = t0; + }, + Strand__finalizeBuilder_closure2: function Strand__finalizeBuilder_closure2(t0) { + this.id = t0; + }, + Strand__rebuild_substrands_with_new_fields_based_on_strand_closure: function Strand__rebuild_substrands_with_new_fields_based_on_strand_closure(t0) { + this.substrands_new = t0; + }, + Strand__rebuild_domain_with_new_fields_based_on_strand_closure: function Strand__rebuild_domain_with_new_fields_based_on_strand_closure(t0, t1, t2, t3) { + var _ = this; + _.$this = t0; + _.strand = t1; + _.is_first = t2; + _.is_last = t3; + }, + Strand__rebuild_loopout_with_new_fields_based_on_strand_closure: function Strand__rebuild_loopout_with_new_fields_based_on_strand_closure(t0, t1, t2) { + this.$this = t0; + this.strand = t1; + this.idx = t2; + }, + Strand__rebuild_extension_with_new_fields_based_on_strand_closure: function Strand__rebuild_extension_with_new_fields_based_on_strand_closure(t0, t1, t2, t3) { + var _ = this; + _.$this = t0; + _.strand = t1; + _.adjacent_domain = t2; + _.is_5p = t3; + }, + Strand__rebuild_substrands_with_new_dna_sequences_based_on_strand_closure: function Strand__rebuild_substrands_with_new_dna_sequences_based_on_strand_closure(t0) { + this.new_substrands = t0; + }, + Strand__at_least_one_substrand_has_dna_sequence_closure: function Strand__at_least_one_substrand_has_dna_sequence_closure() { + }, + Strand_remove_dna_sequence_closure: function Strand_remove_dna_sequence_closure(t0) { + this.substrands_new = t0; + }, + Strand_set_dna_sequence_closure: function Strand_set_dna_sequence_closure(t0) { + this.substrands_new = t0; + }, + Strand__net_ins_del_length_increase_from_5p_to_closure: function Strand__net_ins_del_length_increase_from_5p_to_closure() { + }, + Strand__net_ins_del_length_increase_from_5p_to_closure0: function Strand__net_ins_del_length_increase_from_5p_to_closure0() { + }, + Strand_from_json_closure: function Strand_from_json_closure(t0) { + this.is_5p = t0; + }, + Strand_from_json_closure0: function Strand_from_json_closure0(t0) { + this.adjacent_domain = t0; + }, + Strand_from_json_closure1: function Strand_from_json_closure1(t0) { + this.unused_fields = t0; + }, + _$StrandSerializer: function _$StrandSerializer() { + }, + _$Strand: function _$Strand(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10) { + var _ = this; + _.substrands = t0; + _.vendor_fields = t1; + _.is_scaffold = t2; + _.circular = t3; + _.modification_5p = t4; + _.modification_3p = t5; + _.modifications_int = t6; + _.color = t7; + _.name = t8; + _.label = t9; + _.unused_fields = t10; + _._strand$__hashCode = _.__dnaend_5p = _.__dnaend_3p = _.__last_domain = _.__first_domain = _.__dna_length = _.__domains = _.__id = _.__select_mode = _.__extensions = _.__loopouts = _.__crossovers = _.__linkers = _.__domains_on_helix = _.__internal_modifications_on_substrand = _.__internal_modifications_on_substrand_absolute_idx = _.__selectable_modifications_int_by_dna_idx = _.__selectable_modifications = _.__selectable_modification_3p = _.__selectable_modification_5p = _.__selectable_insertions = _.__selectable_deletions = _.__address_3p = _.__address_5p = _.__has_3p_extension = _.__has_5p_extension = _.__dna_sequence = null; + }, + StrandBuilder: function StrandBuilder() { + var _ = this; + _._strand$_unused_fields = _._label = _._strand$_name = _._strand$_color = _._modifications_int = _._modification_3p = _._modification_5p = _._circular = _._is_scaffold = _._vendor_fields = _._substrands = _._strand$_$v = null; + }, + _Strand_Object_SelectableMixin: function _Strand_Object_SelectableMixin() { + }, + _Strand_Object_SelectableMixin_BuiltJsonSerializable: function _Strand_Object_SelectableMixin_BuiltJsonSerializable() { + }, + _Strand_Object_SelectableMixin_BuiltJsonSerializable_UnusedFields: function _Strand_Object_SelectableMixin_BuiltJsonSerializable_UnusedFields() { + }, + _Strand_Object_SelectableMixin_BuiltJsonSerializable_UnusedFields_JSONSerializable: function _Strand_Object_SelectableMixin_BuiltJsonSerializable_UnusedFields_JSONSerializable() { + }, + current_group_name_from_strands_move: function(design, strands_move) { + var t1 = strands_move.current_address, + helix = J.$index$asx(design.helices._map$_map, t1.helix_idx); + return helix == null ? null : helix.group; + }, + original_group_name_from_domains_move: function(design, domains_move) { + var t1 = domains_move.original_address; + return J.$index$asx(design.helices._map$_map, t1.helix_idx).group; + }, + current_group_name_from_domains_move: function(design, domains_move) { + var t1 = domains_move.current_address; + return J.$index$asx(design.helices._map$_map, t1.helix_idx).group; + }, + are_all_close: function(x1s, x2s) { + var t2, + t1 = H.setRuntimeTypeInfo([], type$.JSArray_legacy_List_legacy_double); + for (t2 = S.zip(H.setRuntimeTypeInfo([x1s, x2s], type$.JSArray_legacy_Iterable_legacy_double), type$.legacy_double), t2 = new P._SyncStarIterator(t2._outerHelper(), H._instanceType(t2)._eval$1("_SyncStarIterator<1>")); t2.moveNext$0();) + t1.push(t2.get$current(t2)); + return C.JSArray_methods.every$1(t1, new E.are_all_close_closure(1e-9)); + }, + is_increasing: function(items, $T) { + var t1, prev, val, t2; + for (t1 = J.get$iterator$ax(items._list), prev = null; t1.moveNext$0(); prev = val) { + val = t1.get$current(t1); + if (prev != null) { + t2 = J.compareTo$1$ns(prev, val); + if (typeof t2 !== "number") + return t2.$ge(); + if (t2 >= 0) + return false; + } + } + return true; + }, + deltas: function(nums) { + var deltas, prev, + t1 = nums._list, + t2 = J.getInterceptor$asx(t1); + if (t2.get$isEmpty(t1)) + return H.setRuntimeTypeInfo([], type$.JSArray_legacy_int); + deltas = H.setRuntimeTypeInfo([], type$.JSArray_legacy_int); + for (t1 = t2.get$iterator(t1), prev = 0; t1.moveNext$0(); prev = t2) { + t2 = t1.get$current(t1); + if (typeof t2 !== "number") + return t2.$sub(); + C.JSArray_methods.add$1(deltas, t2 - prev); + } + return deltas; + }, + get_text_file_content: function(url) { + var $async$goto = 0, + $async$completer = P._makeAsyncAwaitCompleter(type$.legacy_String), + $async$returnValue; + var $async$get_text_file_content = P._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { + if ($async$errorCode === 1) + return P._asyncRethrow($async$result, $async$completer); + while (true) + switch ($async$goto) { + case 0: + // Function start + $async$goto = 3; + return P._asyncAwait(W.HttpRequest_getString(url).then$1$1(0, new E.get_text_file_content_closure(), type$.legacy_String), $async$get_text_file_content); + case 3: + // returning from await. + $async$returnValue = $async$result; + // goto return + $async$goto = 1; + break; + case 1: + // return + return P._asyncReturn($async$returnValue, $async$completer); + } + }); + return P._asyncStartSync($async$get_text_file_content, $async$completer); + }, + get_binary_file_content: function(url) { + var $async$goto = 0, + $async$completer = P._makeAsyncAwaitCompleter(type$.legacy_ByteBuffer), + $async$returnValue; + var $async$get_binary_file_content = P._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { + if ($async$errorCode === 1) + return P._asyncRethrow($async$result, $async$completer); + while (true) + switch ($async$goto) { + case 0: + // Function start + $async$goto = 3; + return P._asyncAwait(W.HttpRequest_request(url, null, "arraybuffer", null).then$1$1(0, new E.get_binary_file_content_closure(), type$.legacy_ByteBuffer), $async$get_binary_file_content); + case 3: + // returning from await. + $async$returnValue = $async$result; + // goto return + $async$goto = 1; + break; + case 1: + // return + return P._asyncReturn($async$returnValue, $async$completer); + } + }); + return P._asyncStartSync($async$get_binary_file_content, $async$completer); + }, + dialog: function(dialog) { + var $async$goto = 0, + $async$completer = P._makeAsyncAwaitCompleter(type$.legacy_List_legacy_DialogItem), + $async$returnValue, t2, t3, t1; + var $async$dialog = P._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { + if ($async$errorCode === 1) + return P._asyncRethrow($async$result, $async$completer); + while (true) + switch ($async$goto) { + case 0: + // Function start + t1 = $.app.store; + if (t1.get$state(t1).ui_state.dialog != null) + $.app.dispatch$1(U._$DialogHide__$DialogHide()); + t1 = new P._Future($.Zone__current, type$._Future_legacy_List_legacy_DialogItem); + dialog.toString; + t2 = type$.legacy_void_Function_legacy_DialogBuilder._as(new E.dialog_closure(new P._AsyncCompleter(t1, type$._AsyncCompleter_legacy_List_legacy_DialogItem))); + t3 = new E.DialogBuilder(); + t3._dialog$_$v = dialog; + t2.call$1(t3); + dialog = t3.build$0(); + $.app.dispatch$1(U._$DialogShow$_(dialog)); + $async$returnValue = t1; + // goto return + $async$goto = 1; + break; + case 1: + // return + return P._asyncReturn($async$returnValue, $async$completer); + } + }); + return P._asyncStartSync($async$dialog, $async$completer); + }, + get_version: function(version_str) { + var t3, t4, + t1 = P.RegExp_RegExp("(\\d+)\\.(\\d+)\\.(\\d+)", true).firstMatch$1(version_str)._match, + t2 = t1.length; + if (1 >= t2) + return H.ioore(t1, 1); + t3 = t1[1]; + if (2 >= t2) + return H.ioore(t1, 2); + t4 = t1[2]; + if (3 >= t2) + return H.ioore(t1, 3); + t1 = t1[3]; + return new E.Version(P.int_parse(t3, null), P.int_parse(t4, null), P.int_parse(t1, null)); + }, + helices_assign_svg: function(geometry, invert_y, helices, groups, helix_idxs_to_calculate) { + var t1, t2, svg_positions, t3, t4, t5, prev_helix, prev_y, t6, helix, t7, t8, t9, y, prev_pos, pos, delta_y, prev_grid_position, grid_position, x_diff, y_diff, other_pos, _null = null; + if (helix_idxs_to_calculate != null) { + t1 = helix_idxs_to_calculate._set; + t1 = t1.get$isEmpty(t1); + } else + t1 = true; + if (t1) { + t1 = H.setRuntimeTypeInfo([], type$.JSArray_legacy_int); + for (t2 = J.get$iterator$ax(helices.get$values(helices)); t2.moveNext$0();) + t1.push(t2.get$current(t2).idx); + helix_idxs_to_calculate = X.BuiltSet_BuiltSet$of(t1, type$.legacy_int); + } + svg_positions = P.LinkedHashMap_LinkedHashMap$_empty(type$.legacy_int, type$.legacy_Point_legacy_num); + for (t1 = J.get$iterator$ax(groups.get$keys(groups)), t2 = type$.Point_legacy_num, t3 = groups._map$_map, t4 = J.getInterceptor$asx(t3); t1.moveNext$0();) + for (t5 = J.get$iterator$ax(t4.$index(t3, t1.get$current(t1)).helices_view_order._list), prev_helix = _null, prev_y = prev_helix; t5.moveNext$0();) { + t6 = t5.get$current(t5); + if (helix_idxs_to_calculate._set.contains$1(0, t6)) { + helix = J.$index$asx(helices._map$_map, t6); + t6 = helix.__position3d; + t6 = (t6 == null ? helix.__position3d = O.Helix.prototype.get$position3d.call(helix) : t6).z; + t7 = geometry.__nm_to_svg_pixels; + if (t7 == null) + t7 = geometry.__nm_to_svg_pixels = N.Geometry.prototype.get$nm_to_svg_pixels.call(geometry); + t8 = helix.__position3d; + t8 = (t8 == null ? helix.__position3d = O.Helix.prototype.get$position3d.call(helix) : t8).y; + t9 = geometry.__nm_to_svg_pixels; + y = t8 * (t9 == null ? geometry.__nm_to_svg_pixels = N.Geometry.prototype.get$nm_to_svg_pixels.call(geometry) : t9); + if (prev_helix != null) { + t8 = helix.grid; + if (t8 === C.Grid_none) { + prev_pos = prev_helix.position_; + pos = helix.position_; + t8 = pos.x - prev_pos.x; + t9 = pos.y - prev_pos.y; + t9 = Math.sqrt(t8 * t8 + t9 * t9); + t8 = geometry.__nm_to_svg_pixels; + delta_y = t9 * (t8 == null ? geometry.__nm_to_svg_pixels = N.Geometry.prototype.get$nm_to_svg_pixels.call(geometry) : t8); + } else { + prev_grid_position = prev_helix.grid_position; + grid_position = helix.grid_position; + prev_grid_position.toString; + if (t8 === C.Grid_square) { + x_diff = prev_grid_position.h - grid_position.h; + y_diff = prev_grid_position.v - grid_position.v; + } else { + t9 = t8 === C.Grid_hex; + if (t9 || t8 === C.Grid_honeycomb) { + if (t9) { + pos = E.hex_grid_position_to_position2d_diameter_1_circles(prev_grid_position); + other_pos = E.hex_grid_position_to_position2d_diameter_1_circles(grid_position); + } else if (t8 === C.Grid_honeycomb) { + pos = E.honeycomb_grid_position_to_position2d_diameter_1_circles(prev_grid_position); + other_pos = E.honeycomb_grid_position_to_position2d_diameter_1_circles(grid_position); + } else { + other_pos = _null; + pos = other_pos; + } + t8 = other_pos.x; + t9 = pos.x; + if (typeof t8 !== "number") + return t8.$sub(); + if (typeof t9 !== "number") + return H.iae(t9); + x_diff = t8 - t9; + t9 = other_pos.y; + t8 = pos.y; + if (typeof t9 !== "number") + return t9.$sub(); + if (typeof t8 !== "number") + return H.iae(t8); + y_diff = t9 - t8; + } else { + H.throwExpression(P.ArgumentError$("grid cannot be Grid.none to evaluate distance")); + y_diff = _null; + x_diff = y_diff; + } + } + if (typeof x_diff !== "number") + return x_diff.$mul(); + if (typeof y_diff !== "number") + return y_diff.$mul(); + t8 = Math.sqrt(x_diff * x_diff + y_diff * y_diff); + t9 = geometry.__distance_between_helices_svg; + delta_y = t8 * (t9 == null ? geometry.__distance_between_helices_svg = N.Geometry.prototype.get$distance_between_helices_svg.call(geometry) : t9); + } + if (typeof prev_y !== "number") + return prev_y.$add(); + y = prev_y + delta_y; + } + t8 = helix.idx; + t9 = invert_y ? -y : y; + svg_positions.$indexSet(0, t8, new P.Point(t6 * t7, t9, t2)); + prev_helix = helix; + prev_y = y; + } + } + return svg_positions; + }, + unwrap_from_noindent: function(obj) { + return obj instanceof K.NoIndent ? obj.value : obj; + }, + repeated_element_indices: function(list, $T) { + var i2, elt, i1, + elt_to_idx = P.LinkedHashMap_LinkedHashMap$_empty($T._eval$1("0*"), type$.legacy_int); + for (i2 = 0; i2 < list.length; ++i2) { + elt = list[i2]; + i1 = elt_to_idx.$index(0, elt); + if (i1 != null) + return new S.Tuple2(i1, i2, type$.Tuple2_of_legacy_int_and_legacy_int); + elt_to_idx.$indexSet(0, elt, i2); + } + return null; + }, + xy_distances_to_rectangle: function(point, upper_left_corner, width, height, angle) { + var x_hi, y_low, y_hi, t1, dx, dy, + unrotated_point = E.rotate(point, -angle, upper_left_corner), + x_low = upper_left_corner.x; + if (typeof x_low !== "number") + return x_low.$add(); + x_hi = x_low + width; + y_low = upper_left_corner.y; + if (typeof y_low !== "number") + return y_low.$add(); + y_hi = y_low + height; + t1 = unrotated_point.x; + if (typeof t1 !== "number") + return H.iae(t1); + if (x_low <= t1 && t1 <= x_hi) + dx = 0; + else + dx = t1 <= x_low ? t1 - x_low : t1 - x_hi; + t1 = unrotated_point.y; + if (typeof t1 !== "number") + return H.iae(t1); + if (y_low <= t1 && t1 <= y_hi) + dy = 0; + else + dy = t1 <= y_low ? t1 - y_low : t1 - y_hi; + return new P.Point(dx, dy, type$.Point_legacy_num); + }, + find_closest_helix: function($event, helices, groups, geometry, helix_idx_to_svg_position_map) { + var t1, min_dist, closest_helix, closest_helix0, t2, group, helix_upper_left_corner, t3, distances, dist, + svg_clicked_point = E.svg_position_of_mouse_click($event); + for (t1 = J.get$iterator$ax(helices), min_dist = null, closest_helix = null; t1.moveNext$0();) { + closest_helix0 = t1.get$current(t1); + t2 = closest_helix0.group; + group = J.$index$asx(groups._map$_map, t2); + t2 = closest_helix0.idx; + helix_upper_left_corner = group.transform_point_main_view$2(J.$index$asx(helix_idx_to_svg_position_map._map$_map, t2), geometry); + t2 = closest_helix0.__svg_width; + if (t2 == null) + t2 = closest_helix0.__svg_width = O.Helix.prototype.get$svg_width.call(closest_helix0); + t3 = closest_helix0.__svg_height; + if (t3 == null) + t3 = closest_helix0.__svg_height = O.Helix.prototype.get$svg_height.call(closest_helix0); + distances = E.xy_distances_to_rectangle(svg_clicked_point, helix_upper_left_corner, t2, t3, group.pitch); + t3 = distances.x; + if (typeof t3 !== "number") + return t3.$mul(); + t2 = distances.y; + if (typeof t2 !== "number") + return t2.$mul(); + dist = Math.sqrt(t3 * t3 + t2 * t2); + if (min_dist == null || min_dist > dist) { + closest_helix = closest_helix0; + min_dist = dist; + } + } + return closest_helix; + }, + bounded_offset_in_helices_group: function(offset, helices_in_group) { + var min_offset, max_offset, + range = E.find_helix_group_min_max(helices_in_group); + if (range == null) + return null; + min_offset = range.x; + max_offset = range.y; + if (offset != null) { + if (typeof max_offset !== "number") + return max_offset.$sub(); + return Math.min(max_offset - 1, Math.max(offset, H.checkNum(min_offset))); + } else + return min_offset; + }, + find_helix_group_min_max: function(helices_in_group) { + var min_offset, max_offset, t2, + t1 = J.getInterceptor$asx(helices_in_group); + if (t1.get$isEmpty(helices_in_group)) + return null; + min_offset = t1.get$first(helices_in_group).min_offset; + max_offset = t1.get$first(helices_in_group).max_offset; + for (t1 = t1.get$iterator(helices_in_group); t1.moveNext$0();) { + t2 = t1.get$current(t1); + min_offset = Math.min(t2.min_offset, min_offset); + max_offset = Math.max(t2.max_offset, max_offset); + } + return new P.Point(min_offset, max_offset, type$.Point_legacy_int); + }, + rotation_datas_at_offset_in_group: function(offset, design, group_name) { + var t1, t2, t3, helix, + rotation_params_list = H.setRuntimeTypeInfo([], type$.JSArray_legacy_DesignSideRotationParams); + if (offset != null) + for (t1 = J.get$iterator$ax(J.$index$asx(design.get$helix_idxs_in_group()._map$_map, group_name)._list), t2 = design.helices; t1.moveNext$0();) { + t3 = t1.get$current(t1); + helix = J.$index$asx(t2._map$_map, t3); + if (offset >= helix.min_offset && offset < helix.max_offset) + C.JSArray_methods.add$1(rotation_params_list, V.DesignSideRotationParams_DesignSideRotationParams(t3, offset)); + } + return D.BuiltList_BuiltList$of(V.DesignSideRotationData_from_params(design, rotation_params_list), type$.legacy_DesignSideRotationData); + }, + find_closest_address: function($event, helices, groups, geometry, helix_idx_to_svg_position_map) { + var distances, unrotated_point, t5, t6, closest_point_in_helix_untransformed, offset, + svg_clicked_point = E.svg_position_of_mouse_click($event), + helix = E.find_closest_helix($event, helices, groups, geometry, type$.legacy_BuiltMap_of_legacy_int_and_legacy_Point_legacy_num._as(helix_idx_to_svg_position_map)), + t1 = helix.idx, + t2 = helix_idx_to_svg_position_map._map$_map, + t3 = J.getInterceptor$asx(t2), + helix_svg_position = t3.$index(t2, t1), + t4 = helix.group, + group = J.$index$asx(groups._map$_map, t4), + helix_upper_left_corner = group.transform_point_main_view$2(t3.$index(t2, t1), geometry); + t2 = helix.get$svg_width(); + t3 = helix.get$svg_height(); + t4 = group.pitch; + distances = E.xy_distances_to_rectangle(svg_clicked_point, helix_upper_left_corner, t2, t3, t4); + unrotated_point = E.rotate(svg_clicked_point, -t4, helix_upper_left_corner); + t3 = unrotated_point.x; + t2 = distances.x; + if (typeof t3 !== "number") + return t3.$add(); + if (typeof t2 !== "number") + return H.iae(t2); + t5 = unrotated_point.y; + t6 = distances.y; + if (typeof t5 !== "number") + return t5.$add(); + if (typeof t6 !== "number") + return H.iae(t6); + closest_point_in_helix_untransformed = group.transform_point_main_view$3$inverse(E.rotate(new P.Point(t3 + t2, t5 + t6, type$.Point_legacy_num), t4, helix_upper_left_corner), geometry, true); + offset = helix.svg_x_to_offset$2(closest_point_in_helix_untransformed.x, helix_svg_position.x); + return Z._$Address$_(helix.svg_y_is_forward$2(closest_point_in_helix_untransformed.y, helix_svg_position.y), t1, offset); + }, + svg_position_of_mouse_click: function($event) { + var offset_in_svg_elt, t2, + t1 = $._browser; + if (t1 == null) { + $.Browser_navigator = new G._HtmlNavigator(); + t1 = $._browser = L.Browser_getCurrentBrowser(); + } + t1.toString; + offset_in_svg_elt = t1 === $.$get$firefox() ? E.get_svg_point($event) : J.get$offset$x($event); + t1 = E.current_pan(true); + t2 = self.current_zoom_main(); + t1 = offset_in_svg_elt.$sub(0, t1); + if (typeof t2 !== "number") + return H.iae(t2); + return t1.$mul(0, 1 / t2); + }, + get_svg_point: function($event) { + var t2, t3, + t1 = $._browser; + if (t1 == null) { + $.Browser_navigator = new G._HtmlNavigator(); + t1 = $._browser = L.Browser_getCurrentBrowser(); + } + t1.toString; + t2 = type$.Point_num; + if (t1 === $.$get$firefox()) { + t1 = E.svg_ancestor(type$.legacy_SvgElement._as(W._convertNativeToDart_EventTarget($event.target))).getBoundingClientRect(); + t3 = t1.left; + t3.toString; + t1 = t1.top; + t1.toString; + return new P.Point($event.clientX, $event.clientY, t2).$sub(0, new P.Point(t3, t1, t2)); + } else + return new P.Point($event.clientX, $event.clientY, t2); + }, + svg_ancestor: function(elt) { + var t1, t2; + for (t1 = type$.legacy_SvgSvgElement, t2 = type$.legacy_SvgElement; !t1._is(elt);) + elt = t2._as(elt.parentElement); + return t1._as(elt); + }, + transform_mouse_coord_to_svg_current_panzoom_correct_firefox: function($event, is_main_view, view_svg) { + var point, t2, + t1 = $._browser; + if (t1 == null) { + $.Browser_navigator = new G._HtmlNavigator(); + t1 = $._browser = L.Browser_getCurrentBrowser(); + } + t1.toString; + if (t1 !== $.$get$firefox()) { + point = J.get$offset$x($event); + t1 = E.current_pan(is_main_view); + t2 = is_main_view ? self.current_zoom_main() : self.current_zoom_side(); + t1 = point.$sub(0, t1); + if (typeof t2 !== "number") + return H.iae(t2); + point = t1.$mul(0, 1 / t2); + } else { + point = E.untransformed_svg_point(view_svg, $event, null); + t1 = E.current_pan(is_main_view); + t2 = is_main_view ? self.current_zoom_main() : self.current_zoom_side(); + t1 = point.$sub(0, t1); + if (typeof t2 !== "number") + return H.iae(t2); + point = t1.$mul(0, 1 / t2); + } + return point; + }, + untransformed_svg_point: function(svg_elt, $event, mouse_pos) { + var svg_point_SVG_1, + svg_point_SVG = svg_elt.createSVGPoint(); + if (mouse_pos == null) + mouse_pos = new P.Point($event.clientX, $event.clientY, type$.Point_num); + (svg_point_SVG && C.Point_methods).set$x(svg_point_SVG, mouse_pos.x); + C.Point_methods.set$y(svg_point_SVG, mouse_pos.y); + svg_point_SVG_1 = svg_point_SVG.matrixTransform(svg_elt.getScreenCTM().inverse()); + return new P.Point(svg_point_SVG_1.x, svg_point_SVG_1.y, type$.Point_legacy_num); + }, + transformed_svg_point: function(svg_elt, is_main, $event, mouse_pos) { + var svg_pos_untransformed = E.untransformed_svg_point(svg_elt, $event, mouse_pos), + t1 = E.current_pan(false), + t2 = self.current_zoom_side(); + t1 = svg_pos_untransformed.$sub(0, t1); + if (typeof t2 !== "number") + return H.iae(t2); + return t1.$mul(0, 1 / t2); + }, + hex_grid_position_to_position2d_diameter_1_circles: function(gp) { + var x, + y = gp.v, + t1 = gp.h; + if (C.JSInt_methods.$mod(t1, 2) === 1) + y += Math.cos(1.0471975511965976); + x = Math.sin(1.0471975511965976) * t1; + return new P.Point(x, y, type$.Point_legacy_num); + }, + honeycomb_grid_position_to_position2d_diameter_1_circles: function(gp) { + var t1 = gp.v, + y = 1.5 * t1, + t2 = gp.h, + t3 = C.JSInt_methods.$mod(t2, 2); + if (t3 === 0 && C.JSInt_methods.$mod(t1, 2) === 1) + y += 0.5; + else if (t3 === 1 && C.JSInt_methods.$mod(t1, 2) === 0) + y += Math.cos(1.0471975511965976); + return new P.Point(t2 * Math.sin(1.0471975511965976), y, type$.Point_legacy_num); + }, + position_2d_to_grid_position_diameter_1_circles: function(grid, x, y, coordinate_system) { + var h, v, t1; + if (grid === C.Grid_none) + throw H.wrapException(P.ArgumentError$("cannot output grid coordinates for grid = Grid.none")); + else if (grid === C.Grid_square) { + h = C.JSNumber_methods.round$0(x); + v = C.JSNumber_methods.round$0(y); + } else if (grid === C.Grid_honeycomb) { + h = C.JSNumber_methods.round$0(x / Math.sin(1.0471975511965976)); + t1 = C.JSInt_methods.$mod(h, 2); + if (t1 === 0) { + if (C.JSInt_methods.$mod(C.JSNumber_methods.floor$0(y), 3) === 2) + y -= 0.5; + } else if (t1 === 1) + if (C.JSInt_methods.$mod(C.JSNumber_methods.floor$0(y - Math.cos(1.0471975511965976)), 3) === 1) + y -= Math.cos(1.0471975511965976); + v = C.JSNumber_methods.round$0(y / 1.5); + } else if (grid === C.Grid_hex) + if (coordinate_system === C.HexGridCoordinateSystem_0) { + v = C.JSNumber_methods.round$0(y / Math.sin(1.0471975511965976)); + h = C.JSNumber_methods.round$0(C.JSInt_methods.$mod(v, 2) === 1 ? x - Math.cos(1.0471975511965976) : x); + } else if (coordinate_system === C.HexGridCoordinateSystem_3) { + h = C.JSNumber_methods.round$0(x / Math.sin(1.0471975511965976)); + v = C.JSNumber_methods.round$0(C.JSInt_methods.$mod(h, 2) === 1 ? y + Math.cos(1.0471975511965976) : y); + } else if (coordinate_system === C.HexGridCoordinateSystem_2) { + h = C.JSNumber_methods.round$0(x / Math.sin(1.0471975511965976)); + v = C.JSNumber_methods.round$0(C.JSInt_methods.$mod(h, 2) === 1 ? y - Math.cos(1.0471975511965976) : y); + } else + throw H.wrapException(P.UnsupportedError$("coordinate system " + coordinate_system.toString$0(0) + " not supported")); + else { + h = null; + v = null; + } + return D.GridPosition_GridPosition(h, v); + }, + grid_position_to_position3d: function(grid_position, grid, geometry) { + var x, y, point, t1, t2; + if (grid === C.Grid_square) { + x = grid_position.h * geometry.get$distance_between_helices_nm(); + y = grid_position.v * geometry.get$distance_between_helices_nm(); + } else if (grid === C.Grid_hex) { + point = E.hex_grid_position_to_position2d_diameter_1_circles(grid_position); + t1 = point.x; + t2 = geometry.get$distance_between_helices_nm(); + if (typeof t1 !== "number") + return t1.$mul(); + x = t1 * t2; + t2 = point.y; + t1 = geometry.get$distance_between_helices_nm(); + if (typeof t2 !== "number") + return t2.$mul(); + y = t2 * t1; + } else if (grid === C.Grid_honeycomb) { + point = E.honeycomb_grid_position_to_position2d_diameter_1_circles(grid_position); + t1 = point.x; + t2 = geometry.get$distance_between_helices_nm(); + if (typeof t1 !== "number") + return t1.$mul(); + x = t1 * t2; + t2 = point.y; + t1 = geometry.get$distance_between_helices_nm(); + if (typeof t2 !== "number") + return t2.$mul(); + y = t2 * t1; + } else + throw H.wrapException(P.ArgumentError$(string$.cannotc)); + return X.Position3D_Position3D(x, y, 0); + }, + position3d_to_side_view_svg: function(position, invert_y, geometry) { + var t3, t4, t5, t6, + t1 = position.x, + t2 = geometry.get$nm_to_svg_pixels(); + H.boolConversionCheck(invert_y); + t3 = invert_y ? -1 : 1; + t4 = position.y; + t5 = geometry.get$nm_to_svg_pixels(); + t6 = invert_y ? -1 : 1; + return new P.Point(t1 * t2 * t3, t4 * t5 * t6, type$.Point_legacy_num); + }, + svg_side_view_to_position3d: function(svg_pos, invert_y, geometry) { + var t3, t4, t5, t6, + t1 = svg_pos.x, + t2 = geometry.get$nm_to_svg_pixels(); + if (typeof t1 !== "number") + return t1.$div(); + H.boolConversionCheck(invert_y); + t3 = invert_y ? -1 : 1; + t4 = svg_pos.y; + t5 = geometry.get$nm_to_svg_pixels(); + if (typeof t4 !== "number") + return t4.$div(); + t6 = invert_y ? -1 : 1; + return X.Position3D_Position3D(t1 / t2 * t3, t4 / t5 * t6, 0); + }, + mandatory_field: function(map, key, $name, legacy_keys) { + var t2, _i, legacy_key, msg, + t1 = J.getInterceptor$x(map); + if (!t1.containsKey$1(map, key)) { + for (t2 = legacy_keys.length, _i = 0; _i < t2; ++_i) { + legacy_key = legacy_keys[_i]; + if (t1.containsKey$1(map, legacy_key)) + return t1.$index(map, legacy_key); + } + msg = 'key "' + key + '" is missing from the description of a ' + $name + ":\n " + H.S(map); + throw H.wrapException(N.IllegalDesignError$(t2 !== 0 ? msg + ("\nThese legacy keys are also supported, but were not found either: " + C.JSArray_methods.join$1(legacy_keys, ", ")) : msg)); + } else + return t1.$index(map, key); + }, + optional_field: function(map, key, default_value, legacy_keys, legacy_transformer, transformer, $T, $U) { + var value, t2, _i, legacy_key, + t1 = J.getInterceptor$x(map); + if (!t1.containsKey$1(map, key)) { + t2 = legacy_keys.length; + _i = 0; + while (true) { + if (!(_i < t2)) { + value = null; + break; + } + legacy_key = legacy_keys[_i]; + if (t1.containsKey$1(map, legacy_key)) { + value = t1.$index(map, legacy_key); + if (legacy_transformer != null) + return legacy_transformer.call$1($U._eval$1("0*")._as(value)); + break; + } + ++_i; + } + if (value == null) + return default_value; + } else + value = t1.$index(map, key); + if (transformer == null) + return $T._eval$1("0*")._as(value); + else + return transformer.call$1($U._eval$1("0*")._as(value)); + }, + optional_field_with_null_default: function(map, key, legacy_keys, $T, $U) { + var t2, _i, legacy_key, + t1 = J.getInterceptor$x(map); + if (!t1.containsKey$1(map, key)) { + for (t2 = legacy_keys.length, _i = 0; _i < t2; ++_i) { + legacy_key = legacy_keys[_i]; + if (t1.containsKey$1(map, legacy_key)) + return $T._eval$1("0*")._as(t1.$index(map, legacy_key)); + } + return null; + } else { + t1 = $T._eval$1("0*")._as(t1.$index(map, key)); + return t1; + } + }, + current_pan: function(is_main) { + var ret = is_main ? self.current_pan_main() : self.current_pan_side(), + t1 = J.getInterceptor$asx(ret); + return new P.Point(t1.$index(ret, 0), t1.$index(ret, 1), type$.Point_legacy_num); + }, + get_scadnano_stylesheet: function() { + var t1, t2, _i, stylesheet, t3; + for (t1 = document.styleSheets, t2 = t1.length, _i = 0; _i < t1.length; t1.length === t2 || (0, H.throwConcurrentModificationError)(t1), ++_i) { + stylesheet = t1[_i]; + t3 = stylesheet.href; + if (t3 != null) + t3 = H.stringContainsUnchecked(t3, "scadnano-styles.css", 0); + else + t3 = false; + if (t3) + return type$.legacy_CssStyleSheet._as(stylesheet); + } + t1 = H.setRuntimeTypeInfo([], type$.JSArray_legacy_String); + for (t2 = W.document().styleSheets, t3 = t2.length, _i = 0; _i < t2.length; t2.length === t3 || (0, H.throwConcurrentModificationError)(t2), ++_i) + t1.push(t2[_i].href); + throw H.wrapException(P.AssertionError$('cannot find stylesheet containing "scadnano-styles.css" in its href\nlist of stylesheet hrefs:\n' + C.JSArray_methods.join$1(t1, "\n"))); + }, + blob_type_to_string: function(blob_type) { + switch (blob_type) { + case C.BlobType_0: + return "text/plain;charset=utf-8"; + case C.BlobType_1: + return "application/octet-stream"; + case C.BlobType_2: + return "image/svg+xml;charset=utf-8,"; + case C.BlobType_3: + return string$.applic; + } + throw H.wrapException(P.AssertionError$(string$.You_ha)); + }, + copy_svg_as_png: function(svg_element) { + return E.copy_svg_as_png$body(svg_element); + }, + copy_svg_as_png$body: function(svg_element) { + var $async$goto = 0, + $async$completer = P._makeAsyncAwaitCompleter(type$.dynamic), + $async$next = [], serializer, source, svgUrl, svgImage, stackTrace, stackTrace0, t1, exception; + var $async$copy_svg_as_png = P._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { + if ($async$errorCode === 1) + return P._asyncRethrow($async$result, $async$completer); + while (true) + switch ($async$goto) { + case 0: + // Function start + try { + serializer = new XMLSerializer(); + source = J.serializeToString$1$x(serializer, svg_element); + svgUrl = (self.URL || self.webkitURL).createObjectURL(W.Blob_Blob([source], "image/svg+xml")); + svgImage = W.ImageElement_ImageElement(svgUrl); + t1 = document.body; + (t1 && C.BodyElement_methods).append$1(t1, svgImage); + J.addEventListener$2$x(svgImage, "load", new E.copy_svg_as_png_closure(svg_element, svgImage, svgUrl)); + J.set$src$x(svgImage, svgUrl); + } catch (exception) { + t1 = H.unwrapException(exception); + if (type$.legacy_Exception._is(t1)) { + stackTrace = H.getTraceFromException(exception); + P.print(stackTrace); + } else if (type$.legacy_Error._is(t1)) { + stackTrace0 = H.getTraceFromException(exception); + P.print(stackTrace0); + } else + throw exception; + } + // implicit return + return P._asyncReturn(null, $async$completer); + } + }); + return P._asyncStartSync($async$copy_svg_as_png, $async$completer); + }, + save_file: function(default_filename, $content, and_then, blob_type) { + return E.save_file$body(default_filename, $content, and_then, blob_type); + }, + save_file$body: function(default_filename, $content, and_then, blob_type) { + var $async$goto = 0, + $async$completer = P._makeAsyncAwaitCompleter(type$.dynamic), + $async$next = [], blob_type_string, blob, url, link, e, stackTrace, e0, stackTrace0, link0, t1, exception, msg; + var $async$save_file = P._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { + if ($async$errorCode === 1) + return P._asyncRethrow($async$result, $async$completer); + while (true) + switch ($async$goto) { + case 0: + // Function start + try { + blob_type_string = E.blob_type_to_string(blob_type); + blob = W.Blob_Blob([$content], blob_type_string); + url = (self.URL || self.webkitURL).createObjectURL(blob); + link0 = W.AnchorElement_AnchorElement(); + C.AnchorElement_methods.set$href(link0, url); + C.AnchorElement_methods.set$download(link0, default_filename); + link = link0; + t1 = $._browser; + if (t1 == null) { + $.Browser_navigator = new G._HtmlNavigator(); + t1 = $._browser = L.Browser_getCurrentBrowser(); + } + t1.toString; + if (t1 === $.$get$firefox()) { + t1 = document.body; + t1.toString; + t1.appendChild(type$.Element._as(link)); + } + J.click$0$x(link); + t1 = $._browser; + if (t1 == null) { + $.Browser_navigator = new G._HtmlNavigator(); + t1 = $._browser = L.Browser_getCurrentBrowser(); + } + t1.toString; + if (t1 === $.$get$firefox()) + J.remove$0$ax(link); + (self.URL || self.webkitURL).revokeObjectURL(url); + if (and_then != null) + and_then.call$0(); + } catch (exception) { + t1 = H.unwrapException(exception); + if (type$.legacy_Exception._is(t1)) { + e = t1; + stackTrace = H.getTraceFromException(exception); + msg = "error while saving file: " + H.S(e) + E.stack_trace_message_bug_report(stackTrace); + C.Window_methods.alert$1(window, msg); + } else if (type$.legacy_Error._is(t1)) { + e0 = t1; + stackTrace0 = H.getTraceFromException(exception); + msg = "error while saving file: " + H.S(e0) + E.stack_trace_message_bug_report(stackTrace0); + C.Window_methods.alert$1(window, msg); + } else + throw exception; + } + // implicit return + return P._asyncReturn(null, $async$completer); + } + }); + return P._asyncStartSync($async$save_file, $async$completer); + }, + stack_trace_message_bug_report: function(stack_trace) { + return "\n\n**********************************************************************************\n* If you believe this is due to a bug in scadnano, please file a bug report at *\n* https://github.com/UC-Davis-molecular-computing/scadnano/issues" + C.JSString_methods.$mul(" ", 14) + "*\n* Include this entire message in the email. *\n**********************************************************************************\n\nstack trace:\n" + H.S(stack_trace); + }, + rotation_between_helices: function(helix, helix_other, $forward, geometry) { + var pos1 = helix.get$position3d(), + pos2 = helix_other.get$position3d(), + rotation = C.JSNumber_methods.$mod(Math.atan2(pos2.x - pos1.x, -(pos2.y - pos1.y)), 6.283185307179586) * 360 / 6.283185307179586; + return !$forward ? C.JSNumber_methods.$mod(rotation - geometry.minor_groove_angle, 360) : rotation; + }, + rotate: function(point, angle_degrees, origin) { + var t3, t4, + angle_radians = angle_degrees * 2 * 3.141592653589793 / 360, + point_relative_to_origin = point.$sub(0, origin), + t1 = point_relative_to_origin.x, + t2 = Math.cos(angle_radians); + if (typeof t1 !== "number") + return t1.$mul(); + t3 = point_relative_to_origin.y; + t4 = Math.sin(angle_radians); + if (typeof t3 !== "number") + return t3.$mul(); + return new P.Point(t1 * t2 - t3 * t4, t1 * Math.sin(angle_radians) + t3 * Math.cos(angle_radians), type$.Point_legacy_num).$add(0, origin); + }, + helices_view_order_is_default: function(helix_idxs, group) { + var t1, + default_helices_view_order = P.List_List$from(helix_idxs, true, type$.legacy_int); + C.JSArray_methods.sort$0(default_helices_view_order); + t1 = group.helices_view_order; + return C.ListEquality_DefaultEquality.get$equals().call$2(new Q.CopyOnWriteList(true, t1._list, H._instanceType(t1)._eval$1("CopyOnWriteList<1>")), default_helices_view_order); + }, + get_address_on_helix: function($event, helix, group, geometry, helix_svg_position) { + var t1 = type$.legacy_String, + t2 = type$.legacy_HelixGroup, + t3 = type$.legacy_int, + t4 = type$.legacy_Point_legacy_num; + return E.find_closest_address($event, H.setRuntimeTypeInfo([helix], type$.JSArray_legacy_Helix), A.BuiltMap_BuiltMap$of(P.LinkedHashMap_LinkedHashMap$_literal([helix.group, group], t1, t2), t1, t2), geometry, A.BuiltMap_BuiltMap$of(P.LinkedHashMap_LinkedHashMap$_literal([helix.idx, helix_svg_position], t3, t4), t3, t4)); + }, + merge_wildcards: function(s1, s2, wildcard) { + var t1, t2, union_builder, i, c1, c2; + H._asStringS(s1); + H._asStringS(s2); + H._asStringS(wildcard); + t1 = s1.length; + t2 = s2.length; + if (t1 !== t2) + throw H.wrapException(P.ArgumentError$("\ns1=" + H.S(s1) + " and\ns2=" + H.S(s2) + "\nare not the same length.")); + union_builder = H.setRuntimeTypeInfo([], type$.JSArray_legacy_String); + for (i = 0; i < t1; ++i) { + c1 = s1[i]; + if (i >= t2) + return H.ioore(s2, i); + c2 = s2[i]; + if (c1 === wildcard) + C.JSArray_methods.add$1(union_builder, c2); + else if (c2 === wildcard) + C.JSArray_methods.add$1(union_builder, c1); + else if (c1 !== c2) + throw H.wrapException(P.ArgumentError$("s1=" + s1 + " and s2=" + s2 + " have unequal symbols " + c1 + " and " + c2 + " at position " + i + ".")); + else + C.JSArray_methods.add$1(union_builder, c1); + } + return C.JSArray_methods.join$1(union_builder, ""); + }, + merge_wildcards_favor_first: function(s1, s2, wildcard) { + var t1, t2, union_builder, i, c1, c2; + H._asStringS(s1); + H._asStringS(s2); + H._asStringS(wildcard); + t1 = s1.length; + t2 = s2.length; + if (t1 !== t2) + throw H.wrapException(P.ArgumentError$("\ns1=" + H.S(s1) + " and\ns2=" + H.S(s2) + "\nare not the same length.")); + union_builder = H.setRuntimeTypeInfo([], type$.JSArray_legacy_String); + for (i = 0; i < t1; ++i) { + c1 = s1[i]; + if (i >= t2) + return H.ioore(s2, i); + c2 = s2[i]; + if (c1 === wildcard) + C.JSArray_methods.add$1(union_builder, c2); + else if (c2 === wildcard) + C.JSArray_methods.add$1(union_builder, c1); + else + C.JSArray_methods.add$1(union_builder, c1); + } + return C.JSArray_methods.join$1(union_builder, ""); + }, + check_dna_sequence: function(seq) { + var regex, counter_example, i, _null = null, + t1 = P.RegExp_RegExp("\\s+", true), + seq_no_spaces = H.stringReplaceAllUnchecked(seq, t1, ""); + t1 = seq_no_spaces.length; + if (t1 === 0) + throw H.wrapException(P.FormatException$('"' + seq + '" is not a valid DNA sequence; it cannot be empty', _null, _null)); + regex = P.RegExp_RegExp("^(a|c|g|t|A|C|G|T)+$", true); + if (regex._nativeRegExp.test(seq_no_spaces)) + return true; + else { + for (counter_example = _null, i = 0; i < t1; ++i) { + counter_example = seq_no_spaces[i]; + if (counter_example !== "A" && counter_example !== "C" && counter_example !== "G" && counter_example !== "T" && counter_example !== "a" && counter_example !== "c" && counter_example !== "g" && counter_example !== "t") + break; + } + throw H.wrapException(P.FormatException$("
" + E.with_newlines(seq, 100) + "
" + ("is not a valid DNA sequence; it can only contain the symbols a c g t A C G T but it contains the symbol " + H.S(counter_example)), _null, _null)); + } + }, + with_newlines: function(string, width) { + var t1, i, i0, + lines = H.setRuntimeTypeInfo([], type$.JSArray_legacy_String); + for (t1 = string.length, i = 0; i < t1; i = i0) { + i0 = i + width; + C.JSArray_methods.add$1(lines, C.JSString_methods.substring$2(string, i, Math.min(i0, t1))); + } + return C.JSArray_methods.join$1(lines, "\n"); + }, + wc: function(seq) { + var t1 = type$.ReversedListIterable_String; + return new H.MappedListIterable(new H.ReversedListIterable(H.setRuntimeTypeInfo(seq.split(""), type$.JSArray_String), t1), t1._eval$1("String*(ListIterable.E)")._as(new E.wc_closure()), t1._eval$1("MappedListIterable")).join$1(0, ""); + }, + wc_base: function(base) { + switch (base) { + case "A": + return "T"; + case "a": + return "t"; + case "C": + return "G"; + case "C": + return "g"; + case "G": + return "C"; + case "g": + return "c"; + case "T": + return "A"; + case "t": + return "a"; + } + return base; + }, + bases_complementary: function(base1, base2, allow_null, allow_wildcard) { + var t1 = base1 === "?" || base2 === "?"; + if (t1) + return true; + if (base1.length !== 1 || base2.length !== 1) + throw H.wrapException(P.ArgumentError$("base1 and base2 must each be a single character: base1 = " + base1 + ", base2 = " + base2)); + base1 = base1.toUpperCase(); + base2 = base2.toUpperCase(); + t1 = type$.dynamic; + return $.$get$set_equality().equals$2(P.LinkedHashSet_LinkedHashSet$_literal([base1, base2], t1), P.LinkedHashSet_LinkedHashSet$_literal(["A", "T"], t1)) || $.$get$set_equality().equals$2(P.LinkedHashSet_LinkedHashSet$_literal([base1, base2], t1), P.LinkedHashSet_LinkedHashSet$_literal(["C", "G"], t1)); + }, + reverse_complementary: function(seq1, seq2, allow_null, allow_wildcard) { + var t2, j, i, b1, + t1 = seq1 == null || seq2 == null; + if (t1) + return true; + t1 = seq1.length; + t2 = seq2.length; + if (t1 !== t2) + return false; + for (j = t2 - 1, i = 0; i < t1; ++i, --j) { + b1 = seq1[i]; + if (j < 0) + return H.ioore(seq2, j); + if (!E.bases_complementary(b1, seq2[j], true, true)) + return false; + } + return true; + }, + parse_json_color: function(json_obj) { + var r, g, b, hex_str, t1, exception; + try { + if (type$.legacy_Map_dynamic_dynamic._is(json_obj)) { + t1 = J.getInterceptor$asx(json_obj); + r = H._asIntS(t1.$index(json_obj, "r")); + g = H._asIntS(t1.$index(json_obj, "g")); + b = H._asIntS(t1.$index(json_obj, "b")); + return new S.RgbColor(r, g, b); + } else if (typeof json_obj == "string") { + t1 = S.HexColor_HexColor(json_obj); + return t1; + } else if (H._isInt(json_obj)) { + hex_str = "#" + C.JSString_methods.padLeft$2(C.JSInt_methods.toRadixString$1(json_obj, 16), 6, "0"); + t1 = S.HexColor_HexColor(hex_str); + return t1; + } else { + t1 = P.ArgumentError$value("JSON object representing color must be a Map, String, or int, but instead it is a " + J.get$runtimeType$(json_obj).toString$0(0) + ":\n" + H.S(json_obj), null, null); + throw H.wrapException(t1); + } + } catch (exception) { + if (type$.legacy_Exception._is(H.unwrapException(exception))) { + P.print("WARNING: I couldn't understand the color specification " + H.S(json_obj) + ", so I'm substituting black."); + return S.RgbColor_RgbColor$name("black"); + } else + throw exception; + } + }, + dispatch_set_zoom_threshold: function(new_zoom_threshold) { + H._asBoolS(new_zoom_threshold); + $.app.dispatch$1(U.SetIsZoomAboveThreshold_SetIsZoomAboveThreshold(new_zoom_threshold)); + }, + svg_to_png_data: function() { + var t2, dna_sequence_element, strands_element, svg, dna_sequence_element_copy, strands_element_copy, bbox, dna_sequence_png_horizontal_offset, dna_sequence_png_vertical_offset, svg_width, svg_height, url, ctx, img, + t1 = document, + dna_sequence_element_list = t1.getElementsByClassName("dna-sequences-main-view"), + strands_element_list = t1.getElementsByClassName("strands-main-view"); + if (t1.getElementById("dna-sequences-main-view-png") == null) + if (dna_sequence_element_list.length !== 0) + if (strands_element_list.length !== 0) { + t2 = type$.legacy_GraphicsElement._as(J.get$first$ax(dna_sequence_element_list)); + t2 = new P.FilteredElementList(t2, new W._ChildNodeListLazy(t2)); + if (t2.get$length(t2) !== 0) { + t2 = $.app.store; + t2 = t2.get$state(t2).ui_state.dna_sequence_png_uri != null; + } else + t2 = true; + } else + t2 = true; + else + t2 = true; + else + t2 = true; + if (t2) + return; + t2 = type$.legacy_GraphicsElement; + dna_sequence_element = t2._as(J.get$first$ax(dna_sequence_element_list)); + strands_element = t2._as(J.get$first$ax(strands_element_list)); + svg = P.SvgSvgElement_SvgSvgElement(); + dna_sequence_element_copy = t2._as(V.clone_and_apply_style(dna_sequence_element)); + strands_element_copy = t2._as(V.clone_and_apply_style(strands_element)); + strands_element_copy.setAttribute("display", "none"); + bbox = dna_sequence_element.getBBox(); + t2 = bbox.x; + if (typeof t2 !== "number") + return H.iae(t2); + dna_sequence_png_horizontal_offset = 50 - t2; + t2 = bbox.y; + if (typeof t2 !== "number") + return H.iae(t2); + dna_sequence_png_vertical_offset = 50 - t2; + dna_sequence_element_copy.setAttribute("transform", "translate(" + H.S(dna_sequence_png_horizontal_offset) + ", " + H.S(dna_sequence_png_vertical_offset) + ")"); + svg.appendChild(strands_element_copy); + svg.appendChild(dna_sequence_element_copy); + t2 = bbox.width; + if (typeof t2 !== "number") + return t2.$add(); + svg_width = C.JSNumber_methods.toInt$0(t2 + 50); + t2 = bbox.height; + if (typeof t2 !== "number") + return t2.$add(); + svg_height = C.JSNumber_methods.toInt$0(t2 + 50); + svg.setAttribute("width", C.JSInt_methods.toString$0(svg_width)); + svg.setAttribute("height", C.JSInt_methods.toString$0(svg_height)); + url = (self.URL || self.webkitURL).createObjectURL(W.Blob_Blob([new XMLSerializer().serializeToString(svg)], E.blob_type_to_string(C.BlobType_2))); + t1 = t1.createElement("canvas"); + type$.legacy_CanvasElement._as(t1); + C.CanvasElement_methods.set$width(t1, svg_width); + C.CanvasElement_methods.set$height(t1, svg_height); + t1.setAttribute("style", "width: " + H.S(t1.width) + "px; height: " + H.S(t1.height) + "px;"); + ctx = t1.getContext("2d"); + ctx.clearRect(0, 0, bbox.width, bbox.height); + img = W.ImageElement_ImageElement(url); + t2 = type$._ElementEventStreamImpl_legacy_Event; + t1 = t2._eval$1("~(1)?")._as(new E.svg_to_png_data_closure(ctx, img, url, t1, dna_sequence_png_horizontal_offset, dna_sequence_png_vertical_offset)); + type$.nullable_void_Function._as(null); + W._EventStreamSubscription$(img, "load", t1, false, t2._precomputed1); + }, + unused_fields_map: function(map, fields) { + var _i, + t1 = type$.dynamic, + new_map = P.LinkedHashMap_LinkedHashMap$from(map, t1, t1); + for (t1 = fields.length, _i = 0; _i < fields.length; fields.length === t1 || (0, H.throwConcurrentModificationError)(fields), ++_i) + new_map.remove$1(0, fields[_i]); + return A.MapBuilder_MapBuilder(new_map, type$.legacy_String, type$.legacy_Object); + }, + async_alert: function(msg) { + var $async$goto = 0, + $async$completer = P._makeAsyncAwaitCompleter(type$.dynamic); + var $async$async_alert = P._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { + if ($async$errorCode === 1) + return P._asyncRethrow($async$result, $async$completer); + while (true) + switch ($async$goto) { + case 0: + // Function start + $async$goto = 2; + return P._asyncAwait(null, $async$async_alert); + case 2: + // returning from await. + P.Timer_Timer(P.Duration$(1, 0, 0), new E.async_alert_closure(msg)); + // implicit return + return P._asyncReturn(null, $async$completer); + } + }); + return P._asyncStartSync($async$async_alert, $async$completer); + }, + compute_end_rotation: function(display_angle, $forward, is_5p) { + var radians, x, y, t1; + if (typeof display_angle !== "number") + return display_angle.$mul(); + radians = display_angle * 2 * 3.141592653589793 / 360; + x = Math.cos(radians); + y = Math.sin(radians); + H.boolConversionCheck($forward); + t1 = !$forward; + if (t1) + x = -x; + if (!($forward && H.boolConversionCheck(is_5p))) + t1 = t1 && !H.boolConversionCheck(is_5p); + else + t1 = true; + if (t1) + x = -x; + return Math.atan2(-y, x) * 360 / 6.283185307179586; + }, + compute_extension_attached_end_svg: function(ext, adj_dom, adj_helix, adj_helix_svg_y) { + var end_offset = H.boolConversionCheck(ext.is_5p) ? adj_dom.get$offset_5p() : adj_dom.get$offset_3p(); + return adj_helix.svg_base_pos$3(end_offset, adj_dom.forward, adj_helix_svg_y); + }, + compute_extension_free_end_svg: function(attached_end_svg, ext, adjacent_domain, geometry) { + var x = attached_end_svg.x, + y = attached_end_svg.y, + angle_radians = ext.display_angle * 2 * 3.141592653589793 / 360, + t1 = ext.display_length, + x_delta = t1 * Math.cos(angle_radians) * geometry.get$nm_to_svg_pixels(), + y_delta = t1 * Math.sin(angle_radians) * geometry.get$nm_to_svg_pixels(); + t1 = adjacent_domain.forward; + if (t1) + y_delta = -y_delta; + if (!(t1 && H.boolConversionCheck(ext.is_5p))) + t1 = !t1 && !H.boolConversionCheck(ext.is_5p); + else + t1 = true; + if (t1) + x_delta = -x_delta; + if (typeof x !== "number") + return x.$add(); + if (typeof y !== "number") + return y.$add(); + return new P.Point(x + x_delta, y + y_delta, type$.Point_legacy_num); + }, + compute_extension_length_and_angle_from_point: function(current_mouse_point, attached_end_svg, ext, adjacent_domain, geometry) { + var x_delta, y_delta, t1, t2, angle_radians, t3, + new_x = current_mouse_point.x, + new_y = current_mouse_point.y, + old_x = attached_end_svg.x, + old_y = attached_end_svg.y; + if (typeof new_x !== "number") + return new_x.$sub(); + if (typeof old_x !== "number") + return H.iae(old_x); + x_delta = new_x - old_x; + if (typeof new_y !== "number") + return new_y.$sub(); + if (typeof old_y !== "number") + return H.iae(old_y); + y_delta = new_y - old_y; + t1 = Math.sqrt(x_delta * x_delta + y_delta * y_delta); + t2 = geometry.get$svg_pixels_to_nm(); + angle_radians = Math.atan2(y_delta, x_delta); + t3 = adjacent_domain.forward; + if (t3) + angle_radians = -angle_radians; + if (!(t3 && H.boolConversionCheck(ext.is_5p))) + t3 = !t3 && !H.boolConversionCheck(ext.is_5p); + else + t3 = true; + if (t3) + angle_radians = 3.141592653589793 - angle_radians; + return new S.Tuple2(t1 * t2, angle_radians * 180 / 3.141592653589793, type$.Tuple2_of_legacy_double_and_legacy_double); + }, + update_mouseover: function(event_syn, helix, helix_svg_position) { + var $event, t2, group, address, mouseover_params, + t1 = $.app.store; + if (t1.get$state(t1).ui_state.storables.show_mouseover_data) { + $event = type$.legacy_MouseEvent._as(J.get$nativeEvent$x(event_syn)); + t1 = $.app.store; + t1 = t1.get$state(t1).design.groups; + t2 = helix.group; + group = J.$index$asx(t1._map$_map, t2); + t2 = $.app.store; + address = E.get_address_on_helix($event, helix, group, t2.get$state(t2).design.geometry, helix_svg_position); + mouseover_params = K.MouseoverParams_MouseoverParams(helix.idx, address.offset, address.forward); + t1 = $.app.store; + if (E.needs_update(mouseover_params, t1.get$state(t1).ui_state.mouseover_datas)) + $.app.dispatch$1(U._$MouseoverDataUpdate$_(D.BuiltList_BuiltList$from([mouseover_params], type$.legacy_MouseoverParams))); + } + }, + needs_update: function(mouseover_params, mouseover_datas) { + var t1, t2, t3, t4, needs, t5; + for (t1 = J.get$iterator$ax(mouseover_datas._list), t2 = mouseover_params.helix_idx, t3 = mouseover_params.offset, t4 = mouseover_params.forward, needs = true; t1.moveNext$0();) { + t5 = t1.get$current(t1); + if (t5.helix.idx === t2) + if (t5.offset === t3) { + t5 = t5.domain; + t5 = (t5 == null ? null : t5.forward) === t4; + } else + t5 = false; + else + t5 = false; + if (t5) + needs = false; + } + return needs; + }, + invert_helices_view_order: function(helices_view_order) { + var t1, order, order0, + view_order_inverse = new H.JsLinkedHashMap(type$.JsLinkedHashMap_of_legacy_int_and_legacy_int); + for (t1 = J.get$iterator$ax(helices_view_order), order = 0; t1.moveNext$0(); order = order0) { + order0 = order + 1; + view_order_inverse.$indexSet(0, t1.get$current(t1), order); + } + return view_order_inverse; + }, + minimum_strain_angle: function(relative_angles) { + var t2, _i, angle, t3, t4, + t1 = H.setRuntimeTypeInfo([], type$.JSArray_legacy_double); + for (t2 = relative_angles.length, _i = 0; _i < relative_angles.length; relative_angles.length === t2 || (0, H.throwConcurrentModificationError)(relative_angles), ++_i) { + angle = relative_angles[_i]; + t3 = angle.item1; + t4 = angle.item2; + if (typeof t3 !== "number") + return t3.$sub(); + if (typeof t4 !== "number") + return H.iae(t4); + t1.push(t3 - t4); + } + return C.JSNumber_methods.$mod(-E.average_angle(t1), 360); + }, + sum_squared_angle_distances: function(angles, angle) { + var t1, sum, _i, a, a0, b, diff; + for (t1 = angles.length, sum = 0, _i = 0; _i < t1; ++_i) { + a = angles[_i]; + a0 = C.JSNumber_methods.$mod(angle - a, 360); + b = C.JSNumber_methods.$mod(a - angle, 360); + diff = a0 < b ? -a0 : b; + sum += diff * diff; + } + return sum; + }, + average_angle: function(angles) { + var t1, mean_angle, min_dist, optimal_angle, n, candidate_angle, candidate_dist, + num_angles = angles.length; + if (num_angles > 0) { + t1 = C.JSArray_methods.reduce$1(angles, new E.average_angle_closure()); + if (typeof t1 !== "number") + return t1.$div(); + mean_angle = t1 / num_angles; + } else + mean_angle = 0; + for (min_dist = 1 / 0, optimal_angle = 0, n = 0; n < num_angles; ++n) { + candidate_angle = mean_angle + 360 * n / num_angles; + candidate_dist = E.sum_squared_angle_distances(angles, candidate_angle); + if (min_dist > candidate_dist) { + optimal_angle = candidate_angle; + min_dist = candidate_dist; + } + } + optimal_angle = C.JSNumber_methods.$mod(optimal_angle, 360); + if (Math.abs(360 - optimal_angle) < 1e-9) + optimal_angle = 0; + return C.JSNumber_methods.round$0(optimal_angle * Math.pow(10, 9)) / Math.pow(10, 9); + }, + ColorCycler: function ColorCycler() { + this.idx = 0; + }, + are_all_close_closure: function are_all_close_closure(t0) { + this.epsilon = t0; + }, + get_text_file_content_closure: function get_text_file_content_closure() { + }, + get_binary_file_content_closure: function get_binary_file_content_closure() { + }, + dialog_closure: function dialog_closure(t0) { + this.completer = t0; + }, + dialog__closure: function dialog__closure(t0) { + this.completer = t0; + }, + Version: function Version(t0, t1, t2) { + this.major = t0; + this.minor = t1; + this.patch = t2; + }, + HexGridCoordinateSystem: function HexGridCoordinateSystem(t0) { + this._util$_name = t0; + }, + Pan: function Pan() { + }, + BlobType: function BlobType(t0) { + this._util$_name = t0; + }, + copy_svg_as_png_closure: function copy_svg_as_png_closure(t0, t1, t2) { + this.svg_element = t0; + this.svgImage = t1; + this.svgUrl = t2; + }, + wc_closure: function wc_closure() { + }, + svg_to_png_data_closure: function svg_to_png_data_closure(t0, t1, t2, t3, t4, t5) { + var _ = this; + _.ctx = t0; + _.img = t1; + _.url = t2; + _.canvas = t3; + _.dna_sequence_png_horizontal_offset = t4; + _.dna_sequence_png_vertical_offset = t5; + }, + async_alert_closure: function async_alert_closure(t0) { + this.msg = t0; + }, + average_angle_closure: function average_angle_closure() { + }, + _$DesignMainStrands: function(backingProps) { + type$.legacy_Map_dynamic_dynamic._as(backingProps); + return backingProps == null ? E._$$DesignMainStrandsProps$JsMap$(new L.JsBackedMap({})) : E._$$DesignMainStrandsProps__$$DesignMainStrandsProps(backingProps); + }, + _$$DesignMainStrandsProps__$$DesignMainStrandsProps: function(backingMap) { + var t1, _null = null; + if (backingMap instanceof L.JsBackedMap) + return E._$$DesignMainStrandsProps$JsMap$(backingMap); + else { + t1 = type$.dynamic; + t1 = new E._$$DesignMainStrandsProps$PlainMap(P.LinkedHashMap_LinkedHashMap$_empty(t1, t1), _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null); + t1.get$$$isClassGenerated(); + t1._design_main_strands$_props = backingMap; + return t1; + } + }, + _$$DesignMainStrandsProps$JsMap$: function(backingMap) { + var _null = null, + t1 = new E._$$DesignMainStrandsProps$JsMap(new L.JsBackedMap({}), _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null); + t1.get$$$isClassGenerated(); + t1._design_main_strands$_props = backingMap == null ? new L.JsBackedMap({}) : backingMap; + return t1; + }, + ConnectedDesignMainStrands_closure: function ConnectedDesignMainStrands_closure() { + }, + DesignMainStrandsProps: function DesignMainStrandsProps() { + }, + DesignMainStrandsComponent: function DesignMainStrandsComponent() { + }, + DesignMainStrandsComponent_render_closure: function DesignMainStrandsComponent_render_closure() { + }, + $DesignMainStrandsComponentFactory_closure: function $DesignMainStrandsComponentFactory_closure() { + }, + _$$DesignMainStrandsProps: function _$$DesignMainStrandsProps() { + }, + _$$DesignMainStrandsProps$PlainMap: function _$$DesignMainStrandsProps$PlainMap(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19, t20, t21, t22, t23, t24, t25, t26, t27) { + var _ = this; + _._design_main_strands$_props = t0; + _.DesignMainStrandsProps_strands = t1; + _.DesignMainStrandsProps_helices = t2; + _.DesignMainStrandsProps_groups = t3; + _.DesignMainStrandsProps_side_selected_helix_idxs = t4; + _.DesignMainStrandsProps_selectables_store = t5; + _.DesignMainStrandsProps_show_dna = t6; + _.DesignMainStrandsProps_show_modifications = t7; + _.DesignMainStrandsProps_show_strand_names = t8; + _.DesignMainStrandsProps_show_strand_labels = t9; + _.DesignMainStrandsProps_show_domain_names = t10; + _.DesignMainStrandsProps_show_domain_labels = t11; + _.DesignMainStrandsProps_strand_name_font_size = t12; + _.DesignMainStrandsProps_strand_label_font_size = t13; + _.DesignMainStrandsProps_domain_name_font_size = t14; + _.DesignMainStrandsProps_domain_label_font_size = t15; + _.DesignMainStrandsProps_modification_font_size = t16; + _.DesignMainStrandsProps_drawing_potential_crossover = t17; + _.DesignMainStrandsProps_moving_dna_ends = t18; + _.DesignMainStrandsProps_dna_assign_options = t19; + _.DesignMainStrandsProps_only_display_selected_helices = t20; + _.DesignMainStrandsProps_modification_display_connector = t21; + _.DesignMainStrandsProps_display_reverse_DNA_right_side_up = t22; + _.DesignMainStrandsProps_geometry = t23; + _.DesignMainStrandsProps_helix_idx_to_svg_position_map = t24; + _.DesignMainStrandsProps_retain_strand_color_on_selection = t25; + _.componentFactory = null; + _.UbiquitousDomPropsMixin__aria = t26; + _.UbiquitousDomPropsMixin__dom = t27; + }, + _$$DesignMainStrandsProps$JsMap: function _$$DesignMainStrandsProps$JsMap(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19, t20, t21, t22, t23, t24, t25, t26, t27) { + var _ = this; + _._design_main_strands$_props = t0; + _.DesignMainStrandsProps_strands = t1; + _.DesignMainStrandsProps_helices = t2; + _.DesignMainStrandsProps_groups = t3; + _.DesignMainStrandsProps_side_selected_helix_idxs = t4; + _.DesignMainStrandsProps_selectables_store = t5; + _.DesignMainStrandsProps_show_dna = t6; + _.DesignMainStrandsProps_show_modifications = t7; + _.DesignMainStrandsProps_show_strand_names = t8; + _.DesignMainStrandsProps_show_strand_labels = t9; + _.DesignMainStrandsProps_show_domain_names = t10; + _.DesignMainStrandsProps_show_domain_labels = t11; + _.DesignMainStrandsProps_strand_name_font_size = t12; + _.DesignMainStrandsProps_strand_label_font_size = t13; + _.DesignMainStrandsProps_domain_name_font_size = t14; + _.DesignMainStrandsProps_domain_label_font_size = t15; + _.DesignMainStrandsProps_modification_font_size = t16; + _.DesignMainStrandsProps_drawing_potential_crossover = t17; + _.DesignMainStrandsProps_moving_dna_ends = t18; + _.DesignMainStrandsProps_dna_assign_options = t19; + _.DesignMainStrandsProps_only_display_selected_helices = t20; + _.DesignMainStrandsProps_modification_display_connector = t21; + _.DesignMainStrandsProps_display_reverse_DNA_right_side_up = t22; + _.DesignMainStrandsProps_geometry = t23; + _.DesignMainStrandsProps_helix_idx_to_svg_position_map = t24; + _.DesignMainStrandsProps_retain_strand_color_on_selection = t25; + _.componentFactory = null; + _.UbiquitousDomPropsMixin__aria = t26; + _.UbiquitousDomPropsMixin__dom = t27; + }, + _$DesignMainStrandsComponent: function _$DesignMainStrandsComponent(t0) { + var _ = this; + _._design_main_strands$_cachedTypedProps = null; + _.DisposableManagerProxy__disposableProxy = t0; + _.jsThis = _.state = _.props = null; + }, + $DesignMainStrandsProps: function $DesignMainStrandsProps() { + }, + _DesignMainStrandsComponent_UiComponent2_PureComponent: function _DesignMainStrandsComponent_UiComponent2_PureComponent() { + }, + __$$DesignMainStrandsProps_UiProps_DesignMainStrandsProps: function __$$DesignMainStrandsProps_UiProps_DesignMainStrandsProps() { + }, + __$$DesignMainStrandsProps_UiProps_DesignMainStrandsProps_$DesignMainStrandsProps: function __$$DesignMainStrandsProps_UiProps_DesignMainStrandsProps_$DesignMainStrandsProps() { + }, + _$DesignSideRotationArrow: function(backingProps) { + type$.legacy_Map_dynamic_dynamic._as(backingProps); + return backingProps == null ? E._$$DesignSideRotationArrowProps$JsMap$(new L.JsBackedMap({})) : E._$$DesignSideRotationArrowProps__$$DesignSideRotationArrowProps(backingProps); + }, + _$$DesignSideRotationArrowProps__$$DesignSideRotationArrowProps: function(backingMap) { + var t1, _null = null; + if (backingMap instanceof L.JsBackedMap) + return E._$$DesignSideRotationArrowProps$JsMap$(backingMap); + else { + t1 = type$.dynamic; + t1 = new E._$$DesignSideRotationArrowProps$PlainMap(P.LinkedHashMap_LinkedHashMap$_empty(t1, t1), _null, _null, _null, _null, _null, _null); + t1.get$$$isClassGenerated(); + t1._design_side_rotation_arrow$_props = backingMap; + return t1; + } + }, + _$$DesignSideRotationArrowProps$JsMap$: function(backingMap) { + var _null = null, + t1 = new E._$$DesignSideRotationArrowProps$JsMap(new L.JsBackedMap({}), _null, _null, _null, _null, _null, _null); + t1.get$$$isClassGenerated(); + t1._design_side_rotation_arrow$_props = backingMap == null ? new L.JsBackedMap({}) : backingMap; + return t1; + }, + DesignSideRotationArrowProps: function DesignSideRotationArrowProps() { + }, + DesignSideRotationArrowComponent: function DesignSideRotationArrowComponent() { + }, + $DesignSideRotationArrowComponentFactory_closure: function $DesignSideRotationArrowComponentFactory_closure() { + }, + _$$DesignSideRotationArrowProps: function _$$DesignSideRotationArrowProps() { + }, + _$$DesignSideRotationArrowProps$PlainMap: function _$$DesignSideRotationArrowProps$PlainMap(t0, t1, t2, t3, t4, t5, t6) { + var _ = this; + _._design_side_rotation_arrow$_props = t0; + _.DesignSideRotationArrowProps_angle_degrees = t1; + _.DesignSideRotationArrowProps_radius = t2; + _.DesignSideRotationArrowProps_color = t3; + _.DesignSideRotationArrowProps_invert_y = t4; + _.componentFactory = null; + _.UbiquitousDomPropsMixin__aria = t5; + _.UbiquitousDomPropsMixin__dom = t6; + }, + _$$DesignSideRotationArrowProps$JsMap: function _$$DesignSideRotationArrowProps$JsMap(t0, t1, t2, t3, t4, t5, t6) { + var _ = this; + _._design_side_rotation_arrow$_props = t0; + _.DesignSideRotationArrowProps_angle_degrees = t1; + _.DesignSideRotationArrowProps_radius = t2; + _.DesignSideRotationArrowProps_color = t3; + _.DesignSideRotationArrowProps_invert_y = t4; + _.componentFactory = null; + _.UbiquitousDomPropsMixin__aria = t5; + _.UbiquitousDomPropsMixin__dom = t6; + }, + _$DesignSideRotationArrowComponent: function _$DesignSideRotationArrowComponent(t0) { + var _ = this; + _._design_side_rotation_arrow$_cachedTypedProps = null; + _.DisposableManagerProxy__disposableProxy = t0; + _.jsThis = _.state = _.props = null; + }, + $DesignSideRotationArrowProps: function $DesignSideRotationArrowProps() { + }, + __$$DesignSideRotationArrowProps_UiProps_DesignSideRotationArrowProps: function __$$DesignSideRotationArrowProps_UiProps_DesignSideRotationArrowProps() { + }, + __$$DesignSideRotationArrowProps_UiProps_DesignSideRotationArrowProps_$DesignSideRotationArrowProps: function __$$DesignSideRotationArrowProps_UiProps_DesignSideRotationArrowProps_$DesignSideRotationArrowProps() { + }, + StringScannerException: function StringScannerException(t0, t1, t2) { + this.source = t0; + this._span_exception$_message = t1; + this._span = t2; + }, + XmlParentBase: function XmlParentBase() { + }, + XmlHasParent: function XmlHasParent() { + }, + XmlHasVisitor: function XmlHasVisitor() { + }, + XmlNodeType: function XmlNodeType(t0) { + this._node_type$_name = t0; + }, + evaluateIterable: function(iterable, $E) { + return !type$.List_dynamic._is(iterable) && !type$.BuiltIterable_dynamic._is(iterable) && true ? J.toList$0$ax(iterable) : iterable; + } + }, + K = { + _getTime: function(dateTime) { + if (dateTime == null) + return null; + return ((H.Primitives_getHours(dateTime) << 3 | H.Primitives_getMinutes(dateTime) >>> 3) & 255) << 8 | ((H.Primitives_getMinutes(dateTime) & 7) << 5 | H.Primitives_getSeconds(dateTime) / 2 | 0) & 255; + }, + _getDate: function(dateTime) { + if (dateTime == null) + return null; + return (((H.Primitives_getYear(dateTime) - 1980 & 127) << 1 | H.Primitives_getMonth(dateTime) >>> 3) & 255) << 8 | ((H.Primitives_getMonth(dateTime) & 7) << 5 | H.Primitives_getDay(dateTime)) & 255; + }, + _ZipFileData: function _ZipFileData() { + var _ = this; + _.___ZipFileData_name = $; + _.uncompressedSize = _.compressedSize = _.crc32 = _.date = _.time = 0; + _.compressedData = null; + _.compress = true; + _.comment = ""; + _.mode = _.position = 0; + }, + _ZipEncoderData: function _ZipEncoderData(t0, t1) { + var _ = this; + _.level = t0; + _.___ZipEncoderData_date = _.___ZipEncoderData_time = $; + _.centralDirectorySize = _.localFileSize = 0; + _.files = t1; + }, + ZipEncoder: function ZipEncoder() { + this.__ZipEncoder__data = $; + this._output = null; + }, + BuiltListSerializer: function BuiltListSerializer(t0) { + this.types = t0; + }, + BuiltListSerializer_serialize_closure: function BuiltListSerializer_serialize_closure(t0, t1) { + this.serializers = t0; + this.elementType = t1; + }, + BuiltListSerializer_deserialize_closure: function BuiltListSerializer_deserialize_closure(t0, t1) { + this.serializers = t0; + this.elementType = t1; + }, + BuiltMapSerializer: function BuiltMapSerializer(t0) { + this.types = t0; + }, + DurationSerializer: function DurationSerializer(t0) { + this.types = t0; + }, + NumSerializer: function NumSerializer(t0) { + this.types = t0; + }, + RegExpSerializer: function RegExpSerializer(t0) { + this.types = t0; + }, + FlattenParser: function FlattenParser(t0, t1, t2) { + this.message = t0; + this.delegate = t1; + this.$ti = t2; + }, + ReactDom_render: function(component, element) { + return self.ReactDOM.render(type$.legacy_ReactElement._as(component), type$.legacy_Element._as(element)); + }, + markChildrenValidated: function(children) { + var t1, _i, child; + for (t1 = children.length, _i = 0; _i < children.length; children.length === t1 || (0, H.throwConcurrentModificationError)(children), ++_i) { + child = children[_i]; + if (H.boolConversionCheck(self.React.isValidElement(child))) + self._markChildValidated(child); + } + }, + React: function React() { + }, + Ref: function Ref(t0, t1) { + this.jsRef = t0; + this.$ti = t1; + }, + JsRef: function JsRef() { + }, + ReactDomServer: function ReactDomServer() { + }, + PropTypes: function PropTypes() { + }, + ReactClass: function ReactClass() { + }, + ReactClassConfig: function ReactClassConfig() { + }, + ReactElementStore: function ReactElementStore() { + }, + ReactElement: function ReactElement() { + }, + ReactPortal: function ReactPortal() { + }, + ReactComponent: function ReactComponent() { + }, + InteropContextValue: function InteropContextValue() { + }, + ReactContext: function ReactContext() { + }, + InteropProps: function InteropProps() { + }, + JsError: function JsError() { + }, + ReactDartInteropStatics: function ReactDartInteropStatics() { + }, + ComponentStatics2: function ComponentStatics2(t0, t1, t2) { + this.componentFactory = t0; + this.instanceForStaticMethods = t1; + this.bridgeFactory = t2; + }, + JsComponentConfig: function JsComponentConfig() { + }, + JsComponentConfig2: function JsComponentConfig2() { + }, + ReactErrorInfo: function ReactErrorInfo() { + }, + ReactDOM: function ReactDOM() { + }, + json_encode: function(obj, suppress_indent) { + var t1; + if (obj == null) + return null; + t1 = type$.dynamic; + return K.SuppressableIndentEncoder$(new K.Replacer(P.LinkedHashMap_LinkedHashMap$_empty(t1, t1), new P.JsonEncoder(null, null)), suppress_indent).convert$1(obj.to_json_serializable$1$suppress_indent(suppress_indent)); + }, + SuppressableIndentEncoder$: function(replacer, suppress) { + return new K.SuppressableIndentEncoder(replacer, null, replacer.get$default_encode()); + }, + JSONSerializable: function JSONSerializable() { + }, + NoIndent: function NoIndent(t0) { + this.value = t0; + }, + SuppressableIndentEncoder: function SuppressableIndentEncoder(t0, t1, t2) { + this.replacer = t0; + this.indent = t1; + this._toEncodable = t2; + }, + Replacer: function Replacer(t0, t1) { + this.unique_id = 0; + this.replacement_map = t0; + this.encoder_no_indent = t1; + }, + load_file_middleware: function(store, action, next) { + var t1, design_view; + type$.legacy_Store_legacy_AppState._as(store); + type$.legacy_dynamic_Function_dynamic._as(next); + if (action instanceof U.PrepareToLoadDNAFile && !action.unit_testing) { + store.dispatch$1(new U._$LoadingDialogShow()); + P.Future_Future$delayed(C.Duration_50000, new K.load_file_middleware_closure(store, action), type$.dynamic); + } else if (action instanceof U.LoadDNAFile && !action.unit_testing) { + next.call$1(action); + document.title = action.filename; + t1 = $.app; + t1 = t1 == null ? null : t1.view; + design_view = t1 == null ? null : t1.design_view; + if (design_view != null) + design_view.render$1(0, store.get$state(store)); + if (store.get$state(store).ui_state.storables.autofit && store.get$state(store).design != null) + self.fit_and_center(); + store.dispatch$1(new U._$LoadingDialogHide()); + D.set_selectables_css_style_rules(store.get$state(store).design, store.get$state(store).ui_state.storables.edit_modes, store.get$state(store).ui_state.storables.select_mode_state.modes); + } else + next.call$1(action); + }, + load_file_middleware_closure: function load_file_middleware_closure(t0, t1) { + this.store = t0; + this.action = t1; + }, + ui_state_local_reducer: function(ui_state, action) { + return ui_state.rebuild$1(new K.ui_state_local_reducer_closure(ui_state, action)); + }, + helix_change_apply_to_all_reducer: function(helix_change_apply_to_all, action) { + if (action instanceof U.HelixMajorTickDistanceChange || action instanceof U.HelixMajorTicksChange || action instanceof U.HelixOffsetChange || action instanceof U.HelixMajorTickPeriodicDistancesChange) + return false; + else if (action instanceof U.HelixMajorTickDistanceChangeAll || action instanceof U.HelixMajorTicksChangeAll || action instanceof U.HelixOffsetChangeAll || action instanceof U.HelixMajorTickPeriodicDistancesChangeAll) + return true; + else + return helix_change_apply_to_all; + }, + potential_crossover_create_app_ui_state_reducer: function(_, action) { + H._asBoolS(_); + type$.legacy_PotentialCrossoverCreate._as(action); + return true; + }, + potential_crossover_remove_app_ui_state_reducer: function(_, action) { + H._asBoolS(_); + type$.legacy_PotentialCrossoverRemove._as(action); + return false; + }, + dna_ends_move_start_app_ui_state_reducer: function(_, action) { + H._asBoolS(_); + type$.legacy_DNAEndsMoveStart._as(action); + return true; + }, + dna_ends_move_stop_app_ui_state_reducer: function(_, action) { + H._asBoolS(_); + type$.legacy_DNAEndsMoveStop._as(action); + return false; + }, + dna_extensions_move_start_app_ui_state_reducer: function(_, action) { + H._asBoolS(_); + type$.legacy_DNAExtensionsMoveStart._as(action); + return true; + }, + dna_extensions_move_stop_app_ui_state_reducer: function(_, action) { + H._asBoolS(_); + type$.legacy_DNAExtensionsMoveStop._as(action); + return false; + }, + slice_bar_move_start_app_ui_state_reducer: function(_, action) { + H._asBoolS(_); + type$.legacy_SliceBarMoveStart._as(action); + return true; + }, + slice_bar_move_stop_app_ui_state_reducer: function(_, action) { + H._asBoolS(_); + type$.legacy_SliceBarMoveStop._as(action); + return false; + }, + helix_group_move_start_app_ui_state_reducer: function(_, action) { + H._asBoolS(_); + type$.legacy_HelixGroupMoveStart._as(action); + return true; + }, + helix_group_move_stop_app_ui_state_reducer: function(_, action) { + H._asBoolS(_); + type$.legacy_HelixGroupMoveStop._as(action); + return false; + }, + show_dna_reducer: function(_, action) { + H._asBoolS(_); + return type$.legacy_ShowDNASet._as(action).show; + }, + load_dialog_show_app_ui_state_reducer: function(_, action) { + H._asBoolS(_); + type$.legacy_LoadingDialogShow._as(action); + return true; + }, + load_dialog_hide_app_ui_state_reducer: function(_, action) { + H._asBoolS(_); + type$.legacy_LoadingDialogHide._as(action); + return false; + }, + show_strand_names_reducer: function(_, action) { + H._asBoolS(_); + return type$.legacy_ShowStrandNamesSet._as(action).show; + }, + show_strand_labels_reducer: function(_, action) { + H._asBoolS(_); + return type$.legacy_ShowStrandLabelsSet._as(action).show; + }, + show_domain_names_reducer: function(_, action) { + H._asBoolS(_); + return type$.legacy_ShowDomainNamesSet._as(action).show; + }, + show_domain_labels_reducer: function(_, action) { + H._asBoolS(_); + return type$.legacy_ShowDomainLabelsSet._as(action).show; + }, + show_modifications_reducer: function(_, action) { + H._asBoolS(_); + return type$.legacy_ShowModificationsSet._as(action).show; + }, + modification_display_connector_reducer: function(_, action) { + H._asBoolS(_); + return type$.legacy_SetModificationDisplayConnector._as(action).show; + }, + modification_font_size_reducer: function(_, action) { + H._asNumS(_); + return type$.legacy_ModificationFontSizeSet._as(action).font_size; + }, + zoom_speed_reducer: function(_, action) { + H._asNumS(_); + return type$.legacy_ZoomSpeedSet._as(action).speed; + }, + strand_name_font_size_reducer: function(_, action) { + H._asNumS(_); + return type$.legacy_StrandNameFontSizeSet._as(action).font_size; + }, + domain_name_font_size_reducer: function(_, action) { + H._asNumS(_); + return type$.legacy_DomainNameFontSizeSet._as(action).font_size; + }, + strand_label_font_size_reducer: function(_, action) { + H._asNumS(_); + return type$.legacy_StrandLabelFontSizeSet._as(action).font_size; + }, + domain_label_font_size_reducer: function(_, action) { + H._asNumS(_); + return type$.legacy_DomainLabelFontSizeSet._as(action).font_size; + }, + major_tick_offset_font_size_reducer: function(_, action) { + H._asNumS(_); + return type$.legacy_MajorTickOffsetFontSizeSet._as(action).font_size; + }, + major_tick_width_font_size_reducer: function(_, action) { + H._asNumS(_); + return type$.legacy_MajorTickWidthFontSizeSet._as(action).font_size; + }, + show_mismatches_reducer: function(_, action) { + H._asBoolS(_); + return type$.legacy_ShowMismatchesSet._as(action).show; + }, + show_domain_name_mismatches_reducer: function(_, action) { + H._asBoolS(_); + return type$.legacy_ShowDomainNameMismatchesSet._as(action).show_domain_name_mismatches; + }, + show_unpaired_insertion_deletions_reducer: function(_, action) { + H._asBoolS(_); + return type$.legacy_ShowUnpairedInsertionDeletionsSet._as(action).show_unpaired_insertion_deletions; + }, + invert_y_reducer: function(_, action) { + H._asBoolS(_); + return type$.legacy_InvertYSet._as(action).invert_y; + }, + dynamic_helix_update_reducer: function(_, action) { + H._asBoolS(_); + return type$.legacy_DynamicHelixUpdateSet._as(action).dynamically_update_helices; + }, + warn_on_exit_if_unsaved_reducer: function(_, action) { + H._asBoolS(_); + return type$.legacy_WarnOnExitIfUnsavedSet._as(action).warn; + }, + show_helix_circles_main_view_reducer: function(_, action) { + H._asBoolS(_); + return type$.legacy_ShowHelixCirclesMainViewSet._as(action).show_helix_circles_main_view; + }, + show_helix_components_main_view_reducer: function(_, action) { + H._asBoolS(_); + return type$.legacy_ShowHelixComponentsMainViewSet._as(action).show_helix_components; + }, + show_edit_mode_menu_reducer: function(previous_show, action) { + H._asBoolS(previous_show); + type$.legacy_ShowEditMenuToggle._as(action); + return !H.boolConversionCheck(previous_show); + }, + show_grid_coordinates_side_view_reducer: function(_, action) { + H._asBoolS(_); + return type$.legacy_ShowGridCoordinatesSideViewSet._as(action).show_grid_coordinates_side_view; + }, + show_helices_axis_arrows_reducer: function(_, action) { + H._asBoolS(_); + return type$.legacy_ShowAxisArrowsSet._as(action).show_helices_axis_arrows; + }, + show_loopout_extension_length_reducer: function(_, action) { + H._asBoolS(_); + return type$.legacy_ShowLoopoutExtensionLengthSet._as(action).show_length; + }, + show_slice_bar_reducer: function(_, action) { + H._asBoolS(_); + return type$.legacy_ShowSliceBarSet._as(action).show; + }, + slice_bar_offset_set_reducer: function(_, action) { + H._asIntS(_); + return type$.legacy_SliceBarOffsetSet._as(action).offset; + }, + disable_png_caching_dna_sequences_reducer: function(_, action) { + H._asBoolS(_); + return type$.legacy_DisablePngCachingDnaSequencesSet._as(action).disable_png_caching_dna_sequences; + }, + retain_strand_color_on_selection_reducer: function(_, action) { + H._asBoolS(_); + return type$.legacy_RetainStrandColorOnSelectionSet._as(action).retain_strand_color_on_selection; + }, + display_reverse_DNA_right_side_up_reducer: function(_, action) { + H._asBoolS(_); + return type$.legacy_DisplayReverseDNARightSideUpSet._as(action).display_reverse_DNA_right_side_up; + }, + display_base_offsets_of_major_ticks_reducer: function(_, action) { + H._asBoolS(_); + return type$.legacy_DisplayMajorTicksOffsetsSet._as(action).show; + }, + display_base_offsets_of_major_ticks_only_first_helix_reducer: function(_, action) { + H._asBoolS(_); + return type$.legacy_SetDisplayBaseOffsetsOfMajorTicksOnlyFirstHelix._as(action).show; + }, + display_major_tick_widths_all_helices_reducer: function(_, action) { + H._asBoolS(_); + return type$.legacy_SetDisplayMajorTickWidthsAllHelices._as(action).show; + }, + base_pair_type_idx_reducer: function(set_base_pair_display, action) { + var t1, t2; + type$.legacy_BasePairDisplayType._as(set_base_pair_display); + type$.legacy_BasePairTypeSet._as(action); + t1 = $.$get$BasePairDisplayType_types(); + t2 = action.selected_idx; + return J.$index$asx(t1._list, t2); + }, + show_base_pair_lines_reducer: function(_, action) { + H._asBoolS(_); + return type$.legacy_ShowBasePairLinesSet._as(action).show_base_pair_lines; + }, + show_base_pair_lines_with_mismatches_reducer: function(_, action) { + H._asBoolS(_); + return type$.legacy_ShowBasePairLinesWithMismatchesSet._as(action).show_base_pair_lines_with_mismatches; + }, + export_svg_text_separately_reducer: function(_, action) { + H._asBoolS(_); + return type$.legacy_ExportSvgTextSeparatelySet._as(action).export_svg_text_separately; + }, + ox_export_only_selected_strands_reducer: function(_, action) { + H._asBoolS(_); + return type$.legacy_OxExportOnlySelectedStrandsSet._as(action).only_selected; + }, + display_major_tick_widths_reducer: function(_, action) { + H._asBoolS(_); + return type$.legacy_SetDisplayMajorTickWidths._as(action).show; + }, + strand_paste_keep_color_reducer: function(_, action) { + H._asBoolS(_); + return type$.legacy_StrandPasteKeepColorSet._as(action).keep; + }, + center_on_load_reducer: function(_, action) { + H._asBoolS(_); + return type$.legacy_AutofitSet._as(action).autofit; + }, + show_oxview_reducer: function(_, action) { + H._asBoolS(_); + return type$.legacy_OxviewShowSet._as(action).show; + }, + show_mouseover_data_set_reducer: function(_, action) { + H._asBoolS(_); + return type$.legacy_ShowMouseoverDataSet._as(action).show; + }, + only_display_selected_helices_reducer: function(_, action) { + H._asBoolS(_); + return type$.legacy_SetOnlyDisplaySelectedHelices._as(action).only_display_selected_helices; + }, + default_crossover_type_scaffold_for_setting_helix_rolls_reducer: function(_, action) { + H._asBoolS(_); + return type$.legacy_DefaultCrossoverTypeForSettingHelixRollsSet._as(action).scaffold; + }, + default_crossover_type_staple_for_setting_helix_rolls_reducer: function(_, action) { + H._asBoolS(_); + return type$.legacy_DefaultCrossoverTypeForSettingHelixRollsSet._as(action).staple; + }, + dna_assign_options_reducer: function(_, action) { + type$.legacy_DNAAssignOptions._as(_); + return type$.legacy_AssignDNA._as(action).dna_assign_options; + }, + local_storage_design_choice_reducer: function(_, action) { + var t1; + type$.legacy_LocalStorageDesignChoice._as(_); + t1 = type$.legacy_LocalStorageDesignChoiceSet._as(action).choice; + return t1.period_seconds > 0 ? t1 : t1.change_period$1(1); + }, + clear_helix_selection_when_loading_new_design_set_reducer: function(_, action) { + H._asBoolS(_); + return type$.legacy_ClearHelixSelectionWhenLoadingNewDesignSet._as(action).clear; + }, + changed_since_last_save_undoable_action_reducer: function(changed_since_last_save, action) { + H._asBoolS(changed_since_last_save); + type$.legacy_UndoableAction._as(action); + return true; + }, + changed_since_last_save_just_saved_reducer: function(changed_since_last_save, action) { + H._asBoolS(changed_since_last_save); + type$.legacy_SaveDNAFile._as(action); + return false; + }, + example_designs_idx_set_reducer: function(example_designs, action) { + var t1, t2; + type$.legacy_ExampleDesigns._as(example_designs); + type$.legacy_ExampleDesignsLoad._as(action); + example_designs.toString; + t1 = type$.legacy_void_Function_legacy_ExampleDesignsBuilder._as(new K.example_designs_idx_set_reducer_closure(action)); + t2 = new K.ExampleDesignsBuilder(); + K.ExampleDesigns__initializeBuilder(t2); + t2._example_designs$_$v = example_designs; + t1.call$1(t2); + return t2.build$0(); + }, + app_ui_state_storable_global_reducer: function(storables, state, action) { + var t2, t3, t4, t5, helices_in_first_group, t1 = {}; + if (action instanceof U.SetAppUIStateStorable) { + storables = action.storables; + t2 = state.design; + t3 = t2 != null; + if (t3) { + t4 = t2.groups; + t5 = storables.displayed_group_name; + t5 = !J.containsKey$1$x(t4._map$_map, t5); + t4 = t5; + } else + t4 = false; + if (t4) + storables = storables.rebuild$1(new K.app_ui_state_storable_global_reducer_closure(state)); + t1.slice_bar_offset = 0; + if (t3) { + t3 = t2.groups; + t3 = t2.helices_in_group$1(J.get$first$ax(t3.get$keys(t3))); + helices_in_first_group = t3.get$values(t3); + if (J.get$isNotEmpty$asx(helices_in_first_group)) + t1.slice_bar_offset = E.bounded_offset_in_helices_group(storables.slice_bar_offset, helices_in_first_group); + } + return storables.rebuild$1(new K.app_ui_state_storable_global_reducer_closure0(t1)); + } + return storables.rebuild$1(new K.app_ui_state_storable_global_reducer_closure1(storables, state, action)); + }, + displayed_group_name_group_remove_reducer: function(_, state, action) { + var $name, t1, first, last; + H._asStringS(_); + type$.legacy_AppState._as(state); + $name = type$.legacy_GroupRemove._as(action).name; + t1 = state.design.groups; + first = J.get$first$ax(t1.get$keys(t1)); + last = J.get$last$ax(t1.get$keys(t1)); + return $name != first ? first : last; + }, + slice_bar_offset_show_slice_bar_set_reducer: function(offset, state, action) { + var t1; + H._asIntS(offset); + type$.legacy_AppState._as(state); + if (type$.legacy_ShowSliceBarSet._as(action).show) { + t1 = state.design.helices_in_group$1(state.ui_state.storables.displayed_group_name); + return E.bounded_offset_in_helices_group(offset, t1.get$values(t1)); + } else + return offset; + }, + slice_bar_offset_group_displayed_change_reducer: function(offset, state, action) { + var t1; + H._asIntS(offset); + type$.legacy_AppState._as(state); + type$.legacy_GroupDisplayedChange._as(action); + t1 = state.design.helices_in_group$1(action.group_name); + return E.bounded_offset_in_helices_group(offset, t1.get$values(t1)); + }, + slice_bar_offset_group_remove_reducer: function(offset, state, action) { + var new_group_name, t1; + H._asIntS(offset); + type$.legacy_AppState._as(state); + new_group_name = K.displayed_group_name_group_remove_reducer(null, state, type$.legacy_GroupRemove._as(action)); + t1 = state.design.helices_in_group$1(new_group_name); + return E.bounded_offset_in_helices_group(offset, t1.get$values(t1)); + }, + slice_bar_offset_helix_offset_change_reducer: function(offset, state, action) { + var t1; + H._asIntS(offset); + type$.legacy_AppState._as(state); + type$.legacy_HelixOffsetChange._as(action); + t1 = U.design_global_reducer(state.design, state, action).helices_in_group$1(state.ui_state.storables.displayed_group_name); + return E.bounded_offset_in_helices_group(offset, t1.get$values(t1)); + }, + slice_bar_offset_helix_offset_change_all_reducer: function(offset, state, action) { + var t1; + H._asIntS(offset); + type$.legacy_AppState._as(state); + type$.legacy_HelixOffsetChangeAll._as(action); + t1 = U.design_global_reducer(state.design, state, action).helices_in_group$1(state.ui_state.storables.displayed_group_name); + return E.bounded_offset_in_helices_group(offset, t1.get$values(t1)); + }, + app_ui_state_storable_local_reducer: function(storables, action) { + return storables.rebuild$1(new K.app_ui_state_storable_local_reducer_closure(storables, action)); + }, + displayed_group_name_change_displayed_group_reducer: function(_, action) { + H._asStringS(_); + return type$.legacy_GroupDisplayedChange._as(action).group_name; + }, + displayed_group_name_change_name_reducer: function(displayed_group_name, action) { + H._asStringS(displayed_group_name); + type$.legacy_GroupChange._as(action); + return displayed_group_name == action.old_name ? action.new_name : displayed_group_name; + }, + last_mod_5p_modification_add_reducer: function(modification, action) { + var t1; + type$.legacy_Modification5Prime._as(modification); + t1 = type$.legacy_ModificationAdd._as(action).modification; + return t1 instanceof Z.Modification5Prime ? t1 : modification; + }, + last_mod_3p_modification_add_reducer: function(modification, action) { + var t1; + type$.legacy_Modification3Prime._as(modification); + t1 = type$.legacy_ModificationAdd._as(action).modification; + return t1 instanceof Z.Modification3Prime ? t1 : modification; + }, + last_mod_int_modification_add_reducer: function(modification, action) { + var t1; + type$.legacy_ModificationInternal._as(modification); + t1 = type$.legacy_ModificationAdd._as(action).modification; + return t1 instanceof Z.ModificationInternal ? t1 : modification; + }, + load_dna_sequence_image_uri: function(_, action) { + H._asStringS(_); + return type$.legacy_LoadDnaSequenceImageUri._as(action).uri; + }, + load_dna_sequence_png_horizontal_offset: function(_, action) { + H._asNumS(_); + return type$.legacy_LoadDnaSequenceImageUri._as(action).dna_sequence_png_horizontal_offset; + }, + load_dna_sequence_png_vertical_offset: function(_, action) { + H._asNumS(_); + return type$.legacy_LoadDnaSequenceImageUri._as(action).dna_sequence_png_vertical_offset; + }, + set_export_svg_action_delayed_for_png_cache: function(_, action) { + var t1 = type$.legacy_ExportSvg; + t1._as(_); + return t1._as(type$.legacy_SetExportSvgActionDelayedForPngCache._as(action).export_svg_action_delayed_for_png_cache); + }, + set_is_zoom_above_threshold: function(_, action) { + H._asBoolS(_); + return type$.legacy_SetIsZoomAboveThreshold._as(action).is_zoom_above_threshold; + }, + side_view_mouse_grid_pos_update_reducer: function(_, action) { + type$.legacy_GridPosition._as(_); + return type$.legacy_MouseGridPositionSideUpdate._as(action).grid_position; + }, + side_view_mouse_grid_pos_clear_reducer: function(_, action) { + type$.legacy_GridPosition._as(_); + type$.legacy_MouseGridPositionSideClear._as(action); + return null; + }, + side_view_mouse_pos_update_reducer: function(_, action) { + type$.legacy_Point_legacy_num._as(_); + return type$.legacy_MousePositionSideUpdate._as(action).svg_pos; + }, + side_view_mouse_pos_clear_reducer: function(_, action) { + type$.legacy_Point_legacy_num._as(_); + type$.legacy_MousePositionSideClear._as(action); + return null; + }, + color_picker_strand_show_reducer: function(_, action) { + type$.legacy_Strand._as(_); + return type$.legacy_StrandOrSubstrandColorPickerShow._as(action).strand; + }, + color_picker_strand_hide_reducer: function(_, action) { + type$.legacy_Strand._as(_); + type$.legacy_StrandOrSubstrandColorPickerHide._as(action); + return null; + }, + color_picker_substrand_show_reducer: function(_, action) { + type$.legacy_Substrand._as(_); + return type$.legacy_StrandOrSubstrandColorPickerShow._as(action).substrand; + }, + color_picker_substrand_hide_reducer: function(_, action) { + type$.legacy_Substrand._as(_); + type$.legacy_StrandOrSubstrandColorPickerHide._as(action); + return null; + }, + ui_state_global_reducer: function(ui_state, state, action) { + return ui_state.rebuild$1(new K.ui_state_global_reducer_closure(ui_state, state, action)); + }, + original_helix_offsets_reducer: function(original_helix_offsets, state, action) { + var t1, t2, helix_offsets, t3, t4, t5, t6, t7, t8, t9, t10, helix; + if (action instanceof U.StrandsMoveStartSelectedStrands || action instanceof U.StrandCreateStart) { + t1 = original_helix_offsets._map$_map; + t2 = H._instanceType(original_helix_offsets); + t2 = t2._eval$1("@<1>")._bind$1(t2._rest[1]); + helix_offsets = new S.CopyOnWriteMap(original_helix_offsets._mapFactory, t1, t2._eval$1("CopyOnWriteMap<1,2>")); + for (t1 = state.design.helices, t3 = J.get$iterator$ax(t1.get$keys(t1)), t4 = type$.JSArray_legacy_int, t5 = type$.legacy_int, t6 = type$._BuiltList_legacy_int, t7 = t2._rest[0], t2 = t2._rest[1]; t3.moveNext$0();) { + t8 = t3.get$current(t3); + t9 = t1._map$_map; + t10 = J.getInterceptor$asx(t9); + helix = t10.$index(t9, t8); + t8 = t10.$index(t9, t8).idx; + t9 = new D._BuiltList(P.List_List$from(H.setRuntimeTypeInfo([helix.min_offset, helix.max_offset], t4), false, t5), t6); + t9._maybeCheckForNull$0(); + t7._as(t8); + t2._as(t9); + helix_offsets._maybeCopyBeforeWrite$0(); + J.$indexSet$ax(helix_offsets._copy_on_write_map$_map, t8, t9); + } + return A.BuiltMap_BuiltMap$of(helix_offsets, t5, type$.legacy_BuiltList_legacy_int); + } + return original_helix_offsets; + }, + selection_box_intersection_reducer: function(_, action) { + H._asBoolS(_); + return type$.legacy_SelectionBoxIntersectionRuleSet._as(action).intersect; + }, + ui_state_local_reducer_closure: function ui_state_local_reducer_closure(t0, t1) { + this.ui_state = t0; + this.action = t1; + }, + example_designs_idx_set_reducer_closure: function example_designs_idx_set_reducer_closure(t0) { + this.action = t0; + }, + app_ui_state_storable_global_reducer_closure: function app_ui_state_storable_global_reducer_closure(t0) { + this.state = t0; + }, + app_ui_state_storable_global_reducer_closure0: function app_ui_state_storable_global_reducer_closure0(t0) { + this._box_0 = t0; + }, + app_ui_state_storable_global_reducer_closure1: function app_ui_state_storable_global_reducer_closure1(t0, t1, t2) { + this.storables = t0; + this.state = t1; + this.action = t2; + }, + app_ui_state_storable_local_reducer_closure: function app_ui_state_storable_local_reducer_closure(t0, t1) { + this.storables = t0; + this.action = t1; + }, + ui_state_global_reducer_closure: function ui_state_global_reducer_closure(t0, t1, t2) { + this.ui_state = t0; + this.state = t1; + this.action = t2; + }, + standard_serializers_closure: function standard_serializers_closure() { + }, + BuiltJsonSerializable: function BuiltJsonSerializable() { + }, + PointSerializer: function PointSerializer(t0, t1) { + this.types = t0; + this.$ti = t1; + }, + ColorSerializer: function ColorSerializer(t0) { + this.types = t0; + }, + _$serializers_closure: function _$serializers_closure() { + }, + _$serializers_closure0: function _$serializers_closure0() { + }, + _$serializers_closure1: function _$serializers_closure1() { + }, + _$serializers_closure2: function _$serializers_closure2() { + }, + _$serializers_closure3: function _$serializers_closure3() { + }, + _$serializers_closure4: function _$serializers_closure4() { + }, + _$serializers_closure5: function _$serializers_closure5() { + }, + _$serializers_closure6: function _$serializers_closure6() { + }, + _$serializers_closure7: function _$serializers_closure7() { + }, + _$serializers_closure8: function _$serializers_closure8() { + }, + _$serializers_closure9: function _$serializers_closure9() { + }, + _$serializers_closure10: function _$serializers_closure10() { + }, + _$serializers_closure11: function _$serializers_closure11() { + }, + _$serializers_closure12: function _$serializers_closure12() { + }, + _$serializers_closure13: function _$serializers_closure13() { + }, + _$serializers_closure14: function _$serializers_closure14() { + }, + _$serializers_closure15: function _$serializers_closure15() { + }, + _$serializers_closure16: function _$serializers_closure16() { + }, + _$serializers_closure17: function _$serializers_closure17() { + }, + _$serializers_closure18: function _$serializers_closure18() { + }, + _$serializers_closure19: function _$serializers_closure19() { + }, + _$serializers_closure20: function _$serializers_closure20() { + }, + _$serializers_closure21: function _$serializers_closure21() { + }, + _$serializers_closure22: function _$serializers_closure22() { + }, + _$serializers_closure23: function _$serializers_closure23() { + }, + _$serializers_closure24: function _$serializers_closure24() { + }, + _$serializers_closure25: function _$serializers_closure25() { + }, + _$serializers_closure26: function _$serializers_closure26() { + }, + _$serializers_closure27: function _$serializers_closure27() { + }, + _$serializers_closure28: function _$serializers_closure28() { + }, + _$serializers_closure29: function _$serializers_closure29() { + }, + _$serializers_closure30: function _$serializers_closure30() { + }, + _$serializers_closure31: function _$serializers_closure31() { + }, + _$serializers_closure32: function _$serializers_closure32() { + }, + _$serializers_closure33: function _$serializers_closure33() { + }, + _$serializers_closure34: function _$serializers_closure34() { + }, + _$serializers_closure35: function _$serializers_closure35() { + }, + _$serializers_closure36: function _$serializers_closure36() { + }, + _$serializers_closure37: function _$serializers_closure37() { + }, + _$serializers_closure38: function _$serializers_closure38() { + }, + _$serializers_closure39: function _$serializers_closure39() { + }, + _$serializers_closure40: function _$serializers_closure40() { + }, + _$serializers_closure41: function _$serializers_closure41() { + }, + _$serializers_closure42: function _$serializers_closure42() { + }, + _$serializers_closure43: function _$serializers_closure43() { + }, + _$serializers_closure44: function _$serializers_closure44() { + }, + _$serializers_closure45: function _$serializers_closure45() { + }, + _$serializers_closure46: function _$serializers_closure46() { + }, + _$serializers_closure47: function _$serializers_closure47() { + }, + _$serializers_closure48: function _$serializers_closure48() { + }, + _$serializers_closure49: function _$serializers_closure49() { + }, + _$serializers_closure50: function _$serializers_closure50() { + }, + _$serializers_closure51: function _$serializers_closure51() { + }, + _$serializers_closure52: function _$serializers_closure52() { + }, + _$serializers_closure53: function _$serializers_closure53() { + }, + _$serializers_closure54: function _$serializers_closure54() { + }, + _$serializers_closure55: function _$serializers_closure55() { + }, + _$serializers_closure56: function _$serializers_closure56() { + }, + _$serializers_closure57: function _$serializers_closure57() { + }, + _$serializers_closure58: function _$serializers_closure58() { + }, + _$serializers_closure59: function _$serializers_closure59() { + }, + _$serializers_closure60: function _$serializers_closure60() { + }, + _$serializers_closure61: function _$serializers_closure61() { + }, + _$serializers_closure62: function _$serializers_closure62() { + }, + _$serializers_closure63: function _$serializers_closure63() { + }, + _$serializers_closure64: function _$serializers_closure64() { + }, + _$serializers_closure65: function _$serializers_closure65() { + }, + _$serializers_closure66: function _$serializers_closure66() { + }, + _$serializers_closure67: function _$serializers_closure67() { + }, + _$serializers_closure68: function _$serializers_closure68() { + }, + _$serializers_closure69: function _$serializers_closure69() { + }, + _$serializers_closure70: function _$serializers_closure70() { + }, + _$serializers_closure71: function _$serializers_closure71() { + }, + _$serializers_closure72: function _$serializers_closure72() { + }, + _$serializers_closure73: function _$serializers_closure73() { + }, + _$serializers_closure74: function _$serializers_closure74() { + }, + _$serializers_closure75: function _$serializers_closure75() { + }, + _$serializers_closure76: function _$serializers_closure76() { + }, + _$serializers_closure77: function _$serializers_closure77() { + }, + _$serializers_closure78: function _$serializers_closure78() { + }, + _$serializers_closure79: function _$serializers_closure79() { + }, + _$serializers_closure80: function _$serializers_closure80() { + }, + _$DNAExtensionsMove$_: function(current_point, moves, start_point) { + if (moves == null) + H.throwExpression(Y.BuiltValueNullFieldError$("DNAExtensionsMove", "moves")); + return new K._$DNAExtensionsMove(moves, start_point, current_point); + }, + _$DNAExtensionMove$_: function(attached_end_position, color, dna_end, extension, original_position) { + var _s16_ = "DNAExtensionMove"; + if (dna_end == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s16_, "dna_end")); + if (extension == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s16_, "extension")); + return new K._$DNAExtensionMove(dna_end, color, original_position, attached_end_position, extension); + }, + DNAExtensionsMove: function DNAExtensionsMove() { + }, + DNAExtensionMove: function DNAExtensionMove() { + }, + _$DNAExtensionsMoveSerializer: function _$DNAExtensionsMoveSerializer() { + }, + _$DNAExtensionMoveSerializer: function _$DNAExtensionMoveSerializer() { + }, + _$DNAExtensionsMove: function _$DNAExtensionsMove(t0, t1, t2) { + var _ = this; + _.moves = t0; + _.start_point = t1; + _.current_point = t2; + _._dna_extensions_move$__hashCode = _._dna_extensions_move$__ends_moving = null; + }, + DNAExtensionsMoveBuilder: function DNAExtensionsMoveBuilder() { + var _ = this; + _._dna_extensions_move$_current_point = _._dna_extensions_move$_start_point = _._dna_extensions_move$_moves = _._dna_extensions_move$_$v = null; + }, + _$DNAExtensionMove: function _$DNAExtensionMove(t0, t1, t2, t3, t4) { + var _ = this; + _.dna_end = t0; + _.color = t1; + _.original_position = t2; + _.attached_end_position = t3; + _.extension = t4; + }, + DNAExtensionMoveBuilder: function DNAExtensionMoveBuilder() { + var _ = this; + _._extension = _._attached_end_position = _._original_position = _._dna_extensions_move$_color = _._dna_extensions_move$_dna_end = _._dna_extensions_move$_$v = null; + }, + _DNAExtensionMove_Object_BuiltJsonSerializable: function _DNAExtensionMove_Object_BuiltJsonSerializable() { + }, + _DNAExtensionsMove_Object_BuiltJsonSerializable: function _DNAExtensionsMove_Object_BuiltJsonSerializable() { + }, + ExampleDesigns__initializeBuilder: function(b) { + var t1; + b.get$_example_designs$_$this()._directory = "examples/output_designs"; + t1 = type$.legacy_ListBuilder_legacy_String._as(D.ListBuilder_ListBuilder(["empty", string$.x32_stap, "6_helix_origami_rectangle", "6_helix_bundle_honeycomb", "16_helix_origami_rectangle_no_twist", "16_helix_origami_rectangle", "16_helix_origami_rectangle_idt", "very_large_origami"], type$.legacy_String)); + b.get$_example_designs$_$this().set$_filenames(t1); + b.get$_example_designs$_$this()._selected_idx = -1; + }, + ExampleDesignsBuilder$: function() { + var t2, + t1 = new K.ExampleDesignsBuilder(); + t1.get$_example_designs$_$this()._directory = "examples/output_designs"; + t2 = type$.legacy_ListBuilder_legacy_String._as(D.ListBuilder_ListBuilder(["empty", string$.x32_stap, "6_helix_origami_rectangle", "6_helix_bundle_honeycomb", "16_helix_origami_rectangle_no_twist", "16_helix_origami_rectangle", "16_helix_origami_rectangle_idt", "very_large_origami"], type$.legacy_String)); + t1.get$_example_designs$_$this().set$_filenames(t2); + t1.get$_example_designs$_$this()._selected_idx = -1; + return t1; + }, + ExampleDesigns: function ExampleDesigns() { + }, + _$ExampleDesignsSerializer: function _$ExampleDesignsSerializer() { + }, + _$ExampleDesigns: function _$ExampleDesigns(t0, t1, t2) { + var _ = this; + _.directory = t0; + _.filenames = t1; + _.selected_idx = t2; + _._example_designs$__hashCode = null; + }, + ExampleDesignsBuilder: function ExampleDesignsBuilder() { + var _ = this; + _._selected_idx = _._filenames = _._directory = _._example_designs$_$v = null; + }, + _ExampleDesigns_Object_BuiltJsonSerializable: function _ExampleDesigns_Object_BuiltJsonSerializable() { + }, + MouseoverParams_MouseoverParams: function(helix_idx, offset, $forward) { + var t1 = new K.MouseoverParamsBuilder(); + type$.legacy_void_Function_legacy_MouseoverParamsBuilder._as(new K.MouseoverParams_MouseoverParams_closure(helix_idx, offset, $forward)).call$1(t1); + return t1.build$0(); + }, + MouseoverData_from_params: function(design, params) { + var t1, domain_in_direction, t2, helix_idx, offset, $forward, color_forward, helix, roll_forward, color_reverse, num_domains_found, strand_idx, domain_in_direction0, t3, t4, strand, + mouseover_datas_builder = H.setRuntimeTypeInfo([], type$.JSArray_legacy_MouseoverData); + for (t1 = J.get$iterator$ax(params._list), domain_in_direction = null; t1.moveNext$0();) { + t2 = t1.get$current(t1); + helix_idx = t2.helix_idx; + offset = t2.offset; + $forward = t2.forward; + color_forward = $.$get$color_forward_rotation_arrow_no_strand(); + helix = J.$index$asx(design.helices._map$_map, helix_idx); + roll_forward = design.helix_rotation_forward$2(helix.idx, offset); + for (t2 = J.get$iterator$ax(design.domains_on_helix$1(helix_idx)), color_reverse = color_forward, num_domains_found = 0, strand_idx = -1; t2.moveNext$0();) { + domain_in_direction0 = t2.get$current(t2); + if (domain_in_direction0.start <= offset && offset < domain_in_direction0.end) { + t3 = domain_in_direction0.forward; + if (t3 === $forward) { + strand_idx = design.idx_on_strand$1(new Z._$Address(helix_idx, offset, $forward)); + domain_in_direction = domain_in_direction0; + } + ++num_domains_found; + t4 = design.__substrand_to_strand; + if (t4 == null) { + t4 = N.Design.prototype.get$substrand_to_strand.call(design); + design.set$__substrand_to_strand(t4); + } + strand = J.$index$asx(t4._map$_map, domain_in_direction0); + if (t3) + color_forward = strand.color; + else + color_reverse = strand.color; + } + if (num_domains_found >= 2) + break; + } + C.JSArray_methods.add$1(mouseover_datas_builder, K.MouseoverData_MouseoverData(helix, offset, strand_idx, domain_in_direction, color_forward, color_reverse, roll_forward, design.geometry.minor_groove_angle)); + } + return mouseover_datas_builder; + }, + MouseoverData_MouseoverData: function(helix, offset, strand_idx, domain, color_forward, color_reverse, roll_forward, minor_groove_angle) { + var t1 = new K.MouseoverDataBuilder(); + type$.legacy_void_Function_legacy_MouseoverDataBuilder._as(new K.MouseoverData_MouseoverData_closure(helix, domain, offset, strand_idx, color_forward, color_reverse, roll_forward, minor_groove_angle)).call$1(t1); + return t1.build$0(); + }, + MouseoverParams: function MouseoverParams() { + }, + MouseoverParams_MouseoverParams_closure: function MouseoverParams_MouseoverParams_closure(t0, t1, t2) { + this.helix_idx = t0; + this.offset = t1; + this.forward = t2; + }, + MouseoverData: function MouseoverData() { + }, + MouseoverData_MouseoverData_closure: function MouseoverData_MouseoverData_closure(t0, t1, t2, t3, t4, t5, t6, t7) { + var _ = this; + _.helix = t0; + _.domain = t1; + _.offset = t2; + _.strand_idx = t3; + _.color_forward = t4; + _.color_reverse = t5; + _.roll_forward = t6; + _.minor_groove_angle = t7; + }, + _$MouseoverParamsSerializer: function _$MouseoverParamsSerializer() { + }, + _$MouseoverDataSerializer: function _$MouseoverDataSerializer() { + }, + _$MouseoverParams: function _$MouseoverParams(t0, t1, t2) { + var _ = this; + _.helix_idx = t0; + _.offset = t1; + _.forward = t2; + _._mouseover_data$__hashCode = null; + }, + MouseoverParamsBuilder: function MouseoverParamsBuilder() { + var _ = this; + _._mouseover_data$_forward = _._mouseover_data$_offset = _._mouseover_data$_helix_idx = _._mouseover_data$_$v = null; + }, + _$MouseoverData: function _$MouseoverData(t0, t1, t2, t3, t4, t5, t6, t7) { + var _ = this; + _.helix = t0; + _.offset = t1; + _.color_forward = t2; + _.color_reverse = t3; + _.roll_forward = t4; + _.minor_groove_angle = t5; + _.strand_idx = t6; + _.domain = t7; + _._mouseover_data$__hashCode = null; + }, + MouseoverDataBuilder: function MouseoverDataBuilder() { + var _ = this; + _._domain = _._strand_idx = _._mouseover_data$_minor_groove_angle = _._roll_forward = _._color_reverse = _._color_forward = _._mouseover_data$_offset = _._mouseover_data$_helix = _._mouseover_data$_$v = null; + }, + _MouseoverData_Object_BuiltJsonSerializable: function _MouseoverData_Object_BuiltJsonSerializable() { + }, + _MouseoverParams_Object_BuiltJsonSerializable: function _MouseoverParams_Object_BuiltJsonSerializable() { + }, + _$DesignMainLoopoutExtensionLength: function(backingProps) { + type$.legacy_Map_dynamic_dynamic._as(backingProps); + return backingProps == null ? K._$$DesignMainLoopoutExtensionLengthProps$JsMap$(new L.JsBackedMap({})) : K._$$DesignMainLoopoutExtensionLengthProps__$$DesignMainLoopoutExtensionLengthProps(backingProps); + }, + _$$DesignMainLoopoutExtensionLengthProps__$$DesignMainLoopoutExtensionLengthProps: function(backingMap) { + var t1, _null = null; + if (backingMap instanceof L.JsBackedMap) + return K._$$DesignMainLoopoutExtensionLengthProps$JsMap$(backingMap); + else { + t1 = type$.dynamic; + t1 = new K._$$DesignMainLoopoutExtensionLengthProps$PlainMap(P.LinkedHashMap_LinkedHashMap$_empty(t1, t1), _null, _null, _null, _null); + t1.get$$$isClassGenerated(); + t1._design_main_loopout_extension_length$_props = backingMap; + return t1; + } + }, + _$$DesignMainLoopoutExtensionLengthProps$JsMap$: function(backingMap) { + var _null = null, + t1 = new K._$$DesignMainLoopoutExtensionLengthProps$JsMap(new L.JsBackedMap({}), _null, _null, _null, _null); + t1.get$$$isClassGenerated(); + t1._design_main_loopout_extension_length$_props = backingMap == null ? new L.JsBackedMap({}) : backingMap; + return t1; + }, + DesignMainLoopoutExtensionLengthPropsMixin: function DesignMainLoopoutExtensionLengthPropsMixin() { + }, + DesignMainLoopoutExtensionLengthComponent: function DesignMainLoopoutExtensionLengthComponent() { + }, + $DesignMainLoopoutExtensionLengthComponentFactory_closure: function $DesignMainLoopoutExtensionLengthComponentFactory_closure() { + }, + _$$DesignMainLoopoutExtensionLengthProps: function _$$DesignMainLoopoutExtensionLengthProps() { + }, + _$$DesignMainLoopoutExtensionLengthProps$PlainMap: function _$$DesignMainLoopoutExtensionLengthProps$PlainMap(t0, t1, t2, t3, t4) { + var _ = this; + _._design_main_loopout_extension_length$_props = t0; + _.DesignMainLoopoutExtensionLengthPropsMixin_geometry = t1; + _.DesignMainLoopoutExtensionLengthPropsMixin_substrand = t2; + _.componentFactory = null; + _.UbiquitousDomPropsMixin__aria = t3; + _.UbiquitousDomPropsMixin__dom = t4; + }, + _$$DesignMainLoopoutExtensionLengthProps$JsMap: function _$$DesignMainLoopoutExtensionLengthProps$JsMap(t0, t1, t2, t3, t4) { + var _ = this; + _._design_main_loopout_extension_length$_props = t0; + _.DesignMainLoopoutExtensionLengthPropsMixin_geometry = t1; + _.DesignMainLoopoutExtensionLengthPropsMixin_substrand = t2; + _.componentFactory = null; + _.UbiquitousDomPropsMixin__aria = t3; + _.UbiquitousDomPropsMixin__dom = t4; + }, + _$DesignMainLoopoutExtensionLengthComponent: function _$DesignMainLoopoutExtensionLengthComponent(t0) { + var _ = this; + _._design_main_loopout_extension_length$_cachedTypedProps = null; + _.DisposableManagerProxy__disposableProxy = t0; + _.jsThis = _.state = _.props = null; + }, + $DesignMainLoopoutExtensionLengthPropsMixin: function $DesignMainLoopoutExtensionLengthPropsMixin() { + }, + _DesignMainLoopoutExtensionLengthComponent_UiComponent2_PureComponent: function _DesignMainLoopoutExtensionLengthComponent_UiComponent2_PureComponent() { + }, + __$$DesignMainLoopoutExtensionLengthProps_UiProps_DesignMainLoopoutExtensionLengthPropsMixin: function __$$DesignMainLoopoutExtensionLengthProps_UiProps_DesignMainLoopoutExtensionLengthPropsMixin() { + }, + __$$DesignMainLoopoutExtensionLengthProps_UiProps_DesignMainLoopoutExtensionLengthPropsMixin_$DesignMainLoopoutExtensionLengthPropsMixin: function __$$DesignMainLoopoutExtensionLengthProps_UiProps_DesignMainLoopoutExtensionLengthPropsMixin_$DesignMainLoopoutExtensionLengthPropsMixin() { + }, + _$DesignMainPotentialVerticalCrossover: function(backingProps) { + type$.legacy_Map_dynamic_dynamic._as(backingProps); + return backingProps == null ? K._$$DesignMainPotentialVerticalCrossoverProps$JsMap$(new L.JsBackedMap({})) : K._$$DesignMainPotentialVerticalCrossoverProps__$$DesignMainPotentialVerticalCrossoverProps(backingProps); + }, + _$$DesignMainPotentialVerticalCrossoverProps__$$DesignMainPotentialVerticalCrossoverProps: function(backingMap) { + var t1, _null = null; + if (backingMap instanceof L.JsBackedMap) + return K._$$DesignMainPotentialVerticalCrossoverProps$JsMap$(backingMap); + else { + t1 = type$.dynamic; + t1 = new K._$$DesignMainPotentialVerticalCrossoverProps$PlainMap(P.LinkedHashMap_LinkedHashMap$_empty(t1, t1), _null, _null, _null, _null, _null, _null, _null, _null, _null, _null); + t1.get$$$isClassGenerated(); + t1._design_main_potential_vertical_crossover$_props = backingMap; + return t1; + } + }, + _$$DesignMainPotentialVerticalCrossoverProps$JsMap$: function(backingMap) { + var _null = null, + t1 = new K._$$DesignMainPotentialVerticalCrossoverProps$JsMap(new L.JsBackedMap({}), _null, _null, _null, _null, _null, _null, _null, _null, _null, _null); + t1.get$$$isClassGenerated(); + t1._design_main_potential_vertical_crossover$_props = backingMap == null ? new L.JsBackedMap({}) : backingMap; + return t1; + }, + DesignMainPotentialVerticalCrossoverPropsMixin: function DesignMainPotentialVerticalCrossoverPropsMixin() { + }, + DesignMainPotentialVerticalCrossoverComponent: function DesignMainPotentialVerticalCrossoverComponent() { + }, + DesignMainPotentialVerticalCrossoverComponent_render_closure: function DesignMainPotentialVerticalCrossoverComponent_render_closure(t0) { + this.crossover = t0; + }, + $DesignMainPotentialVerticalCrossoverComponentFactory_closure: function $DesignMainPotentialVerticalCrossoverComponentFactory_closure() { + }, + _$$DesignMainPotentialVerticalCrossoverProps: function _$$DesignMainPotentialVerticalCrossoverProps() { + }, + _$$DesignMainPotentialVerticalCrossoverProps$PlainMap: function _$$DesignMainPotentialVerticalCrossoverProps$PlainMap(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10) { + var _ = this; + _._design_main_potential_vertical_crossover$_props = t0; + _.TransformByHelixGroupPropsMixin_helices = t1; + _.TransformByHelixGroupPropsMixin_groups = t2; + _.TransformByHelixGroupPropsMixin_geometry = t3; + _.DesignMainPotentialVerticalCrossoverPropsMixin_potential_vertical_crossover = t4; + _.DesignMainPotentialVerticalCrossoverPropsMixin_helices = t5; + _.DesignMainPotentialVerticalCrossoverPropsMixin_groups = t6; + _.DesignMainPotentialVerticalCrossoverPropsMixin_geometry = t7; + _.DesignMainPotentialVerticalCrossoverPropsMixin_helix_idx_to_svg_position_y_map = t8; + _.componentFactory = null; + _.UbiquitousDomPropsMixin__aria = t9; + _.UbiquitousDomPropsMixin__dom = t10; + }, + _$$DesignMainPotentialVerticalCrossoverProps$JsMap: function _$$DesignMainPotentialVerticalCrossoverProps$JsMap(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10) { + var _ = this; + _._design_main_potential_vertical_crossover$_props = t0; + _.TransformByHelixGroupPropsMixin_helices = t1; + _.TransformByHelixGroupPropsMixin_groups = t2; + _.TransformByHelixGroupPropsMixin_geometry = t3; + _.DesignMainPotentialVerticalCrossoverPropsMixin_potential_vertical_crossover = t4; + _.DesignMainPotentialVerticalCrossoverPropsMixin_helices = t5; + _.DesignMainPotentialVerticalCrossoverPropsMixin_groups = t6; + _.DesignMainPotentialVerticalCrossoverPropsMixin_geometry = t7; + _.DesignMainPotentialVerticalCrossoverPropsMixin_helix_idx_to_svg_position_y_map = t8; + _.componentFactory = null; + _.UbiquitousDomPropsMixin__aria = t9; + _.UbiquitousDomPropsMixin__dom = t10; + }, + _$DesignMainPotentialVerticalCrossoverComponent: function _$DesignMainPotentialVerticalCrossoverComponent(t0) { + var _ = this; + _._design_main_potential_vertical_crossover$_cachedTypedProps = null; + _.DisposableManagerProxy__disposableProxy = t0; + _.jsThis = _.state = _.props = null; + }, + $DesignMainPotentialVerticalCrossoverPropsMixin: function $DesignMainPotentialVerticalCrossoverPropsMixin() { + }, + _DesignMainPotentialVerticalCrossoverComponent_UiComponent2_PureComponent: function _DesignMainPotentialVerticalCrossoverComponent_UiComponent2_PureComponent() { + }, + _DesignMainPotentialVerticalCrossoverComponent_UiComponent2_PureComponent_TransformByHelixGroup: function _DesignMainPotentialVerticalCrossoverComponent_UiComponent2_PureComponent_TransformByHelixGroup() { + }, + __$$DesignMainPotentialVerticalCrossoverProps_UiProps_DesignMainPotentialVerticalCrossoverPropsMixin: function __$$DesignMainPotentialVerticalCrossoverProps_UiProps_DesignMainPotentialVerticalCrossoverPropsMixin() { + }, + __$$DesignMainPotentialVerticalCrossoverProps_UiProps_DesignMainPotentialVerticalCrossoverPropsMixin_$DesignMainPotentialVerticalCrossoverPropsMixin: function __$$DesignMainPotentialVerticalCrossoverProps_UiProps_DesignMainPotentialVerticalCrossoverPropsMixin_$DesignMainPotentialVerticalCrossoverPropsMixin() { + }, + __$$DesignMainPotentialVerticalCrossoverProps_UiProps_DesignMainPotentialVerticalCrossoverPropsMixin_$DesignMainPotentialVerticalCrossoverPropsMixin_TransformByHelixGroupPropsMixin: function __$$DesignMainPotentialVerticalCrossoverProps_UiProps_DesignMainPotentialVerticalCrossoverPropsMixin_$DesignMainPotentialVerticalCrossoverPropsMixin_TransformByHelixGroupPropsMixin() { + }, + __$$DesignMainPotentialVerticalCrossoverProps_UiProps_DesignMainPotentialVerticalCrossoverPropsMixin_$DesignMainPotentialVerticalCrossoverPropsMixin_TransformByHelixGroupPropsMixin_$TransformByHelixGroupPropsMixin: function __$$DesignMainPotentialVerticalCrossoverProps_UiProps_DesignMainPotentialVerticalCrossoverPropsMixin_$DesignMainPotentialVerticalCrossoverPropsMixin_TransformByHelixGroupPropsMixin_$TransformByHelixGroupPropsMixin() { + }, + PureComponent: function PureComponent() { + } + }, + Y = { + HuffmanTable$: function(lengths) { + var t1 = new Y.HuffmanTable(); + t1.HuffmanTable$1(lengths); + return t1; + }, + HuffmanTable: function HuffmanTable() { + this.__HuffmanTable_table = $; + this.maxCodeLength = 0; + this.minCodeLength = 2147483647; + }, + $jc: function(hash, value) { + if (typeof value !== "number") + return H.iae(value); + hash = hash + value & 536870911; + hash = hash + ((hash & 524287) << 10) & 536870911; + return hash ^ hash >>> 6; + }, + $jf: function(hash) { + hash = hash + ((hash & 67108863) << 3) & 536870911; + hash ^= hash >>> 11; + return hash + ((hash & 16383) << 15) & 536870911; + }, + BuiltValueNullFieldError$: function(type, field) { + return new Y.BuiltValueNullFieldError(type, field); + }, + BuiltValueNestedFieldError$: function(type, field, error) { + return new Y.BuiltValueNestedFieldError(type, field, error); + }, + EnumClass: function EnumClass() { + }, + newBuiltValueToStringHelper_closure: function newBuiltValueToStringHelper_closure() { + }, + IndentingBuiltValueToStringHelper: function IndentingBuiltValueToStringHelper(t0) { + this._result = t0; + }, + BuiltValueNullFieldError: function BuiltValueNullFieldError(t0, t1) { + this.type = t0; + this.field = t1; + }, + BuiltValueNestedFieldError: function BuiltValueNestedFieldError(t0, t1, t2) { + this.type = t0; + this.field = t1; + this.error = t2; + }, + _getRawName: function(type) { + var $name = J.toString$0$(type), + genericsStart = J.indexOf$1$asx($name, "<"); + return genericsStart === -1 ? $name : C.JSString_methods.substring$2($name, 0, genericsStart); + }, + _noSerializerMessageFor: function(typeName) { + var maybeRecordAdvice = J.contains$1$asx(typeName, "(") ? " Note that record types are not automatically serializable, please write and install your own `Serializer`." : ""; + return "No serializer for '" + typeName + "'." + maybeRecordAdvice; + }, + BuiltJsonSerializers: function BuiltJsonSerializers(t0, t1, t2, t3, t4) { + var _ = this; + _._typeToSerializer = t0; + _._wireNameToSerializer = t1; + _._typeNameToSerializer = t2; + _.builderFactories = t3; + _.serializerPlugins = t4; + }, + BuiltJsonSerializersBuilder: function BuiltJsonSerializersBuilder(t0, t1, t2, t3, t4) { + var _ = this; + _._typeToSerializer = t0; + _._wireNameToSerializer = t1; + _._typeNameToSerializer = t2; + _._builderFactories = t3; + _._plugins = t4; + }, + Level: function Level(t0, t1) { + this.name = t0; + this.value = t1; + }, + _ReduxDevToolsExtensionConnection: function _ReduxDevToolsExtensionConnection() { + }, + LocalStorageDesignChoice_LocalStorageDesignChoice: function(option, period_seconds) { + var t1 = new Y.LocalStorageDesignChoiceBuilder(); + type$.legacy_void_Function_legacy_LocalStorageDesignChoiceBuilder._as(new Y.LocalStorageDesignChoice_LocalStorageDesignChoice_closure(option, period_seconds)).call$1(t1); + return t1.build$0(); + }, + _$valueOf6: function($name) { + switch ($name) { + case "on_edit": + return C.LocalStorageDesignOption_on_edit; + case "on_exit": + return C.LocalStorageDesignOption_on_exit; + case "never": + return C.LocalStorageDesignOption_never; + case "periodic": + return C.LocalStorageDesignOption_periodic; + default: + throw H.wrapException(P.ArgumentError$($name)); + } + }, + LocalStorageDesignOption: function LocalStorageDesignOption(t0) { + this.name = t0; + }, + LocalStorageDesignChoice: function LocalStorageDesignChoice() { + }, + LocalStorageDesignChoice_LocalStorageDesignChoice_closure: function LocalStorageDesignChoice_LocalStorageDesignChoice_closure(t0, t1) { + this.option = t0; + this.period_seconds = t1; + }, + LocalStorageDesignChoice_to_on_edit_closure: function LocalStorageDesignChoice_to_on_edit_closure() { + }, + LocalStorageDesignChoice_to_on_exit_closure: function LocalStorageDesignChoice_to_on_exit_closure() { + }, + LocalStorageDesignChoice_to_never_closure: function LocalStorageDesignChoice_to_never_closure() { + }, + LocalStorageDesignChoice_to_periodic_closure: function LocalStorageDesignChoice_to_periodic_closure() { + }, + LocalStorageDesignChoice_change_period_closure: function LocalStorageDesignChoice_change_period_closure(t0) { + this.new_period = t0; + }, + _$LocalStorageDesignOptionSerializer: function _$LocalStorageDesignOptionSerializer() { + }, + _$LocalStorageDesignChoiceSerializer: function _$LocalStorageDesignChoiceSerializer() { + }, + _$LocalStorageDesignChoice: function _$LocalStorageDesignChoice(t0, t1) { + this.option = t0; + this.period_seconds = t1; + }, + LocalStorageDesignChoiceBuilder: function LocalStorageDesignChoiceBuilder() { + this._period_seconds = this._option = this._local_storage_design_choice$_$v = null; + }, + _LocalStorageDesignChoice_Object_BuiltJsonSerializable: function _LocalStorageDesignChoice_Object_BuiltJsonSerializable() { + }, + _$valueOf7: function($name) { + switch ($name) { + case "five_prime": + return C.ModificationType_five_prime; + case "three_prime": + return C.ModificationType_three_prime; + case "internal": + return C.ModificationType_internal; + default: + throw H.wrapException(P.ArgumentError$($name)); + } + }, + ModificationType: function ModificationType(t0) { + this.name = t0; + }, + _$ModificationTypeSerializer: function _$ModificationTypeSerializer() { + }, + _$DesignMainDomainsMoving: function(backingProps) { + type$.legacy_Map_dynamic_dynamic._as(backingProps); + return backingProps == null ? Y._$$DesignMainDomainsMovingProps$JsMap$(new L.JsBackedMap({})) : Y._$$DesignMainDomainsMovingProps__$$DesignMainDomainsMovingProps(backingProps); + }, + _$$DesignMainDomainsMovingProps__$$DesignMainDomainsMovingProps: function(backingMap) { + var t1, _null = null; + if (backingMap instanceof L.JsBackedMap) + return Y._$$DesignMainDomainsMovingProps$JsMap$(backingMap); + else { + t1 = type$.dynamic; + t1 = new Y._$$DesignMainDomainsMovingProps$PlainMap(P.LinkedHashMap_LinkedHashMap$_empty(t1, t1), _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null); + t1.get$$$isClassGenerated(); + t1._design_main_domains_moving$_props = backingMap; + return t1; + } + }, + _$$DesignMainDomainsMovingProps$JsMap$: function(backingMap) { + var _null = null, + t1 = new Y._$$DesignMainDomainsMovingProps$JsMap(new L.JsBackedMap({}), _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null); + t1.get$$$isClassGenerated(); + t1._design_main_domains_moving$_props = backingMap == null ? new L.JsBackedMap({}) : backingMap; + return t1; + }, + ConnectedDesignMainDomainsMoving_closure: function ConnectedDesignMainDomainsMoving_closure() { + }, + ConnectedDesignMainDomainsMoving__closure: function ConnectedDesignMainDomainsMoving__closure() { + }, + DesignMainDomainsMovingProps: function DesignMainDomainsMovingProps() { + }, + DesignMainDomainsMovingComponent: function DesignMainDomainsMovingComponent() { + }, + $DesignMainDomainsMovingComponentFactory_closure: function $DesignMainDomainsMovingComponentFactory_closure() { + }, + _$$DesignMainDomainsMovingProps: function _$$DesignMainDomainsMovingProps() { + }, + _$$DesignMainDomainsMovingProps$PlainMap: function _$$DesignMainDomainsMovingProps$PlainMap(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11) { + var _ = this; + _._design_main_domains_moving$_props = t0; + _.DesignMainDomainsMovingProps_domains_move = t1; + _.DesignMainDomainsMovingProps_color_of_domain = t2; + _.DesignMainDomainsMovingProps_original_group = t3; + _.DesignMainDomainsMovingProps_current_group = t4; + _.DesignMainDomainsMovingProps_helices = t5; + _.DesignMainDomainsMovingProps_groups = t6; + _.DesignMainDomainsMovingProps_side_selected_helix_idxs = t7; + _.DesignMainDomainsMovingProps_geometry = t8; + _.DesignMainDomainsMovingProps_helix_idx_to_svg_position_y_map = t9; + _.componentFactory = null; + _.UbiquitousDomPropsMixin__aria = t10; + _.UbiquitousDomPropsMixin__dom = t11; + }, + _$$DesignMainDomainsMovingProps$JsMap: function _$$DesignMainDomainsMovingProps$JsMap(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11) { + var _ = this; + _._design_main_domains_moving$_props = t0; + _.DesignMainDomainsMovingProps_domains_move = t1; + _.DesignMainDomainsMovingProps_color_of_domain = t2; + _.DesignMainDomainsMovingProps_original_group = t3; + _.DesignMainDomainsMovingProps_current_group = t4; + _.DesignMainDomainsMovingProps_helices = t5; + _.DesignMainDomainsMovingProps_groups = t6; + _.DesignMainDomainsMovingProps_side_selected_helix_idxs = t7; + _.DesignMainDomainsMovingProps_geometry = t8; + _.DesignMainDomainsMovingProps_helix_idx_to_svg_position_y_map = t9; + _.componentFactory = null; + _.UbiquitousDomPropsMixin__aria = t10; + _.UbiquitousDomPropsMixin__dom = t11; + }, + _$DesignMainDomainsMovingComponent: function _$DesignMainDomainsMovingComponent(t0) { + var _ = this; + _._design_main_domains_moving$_cachedTypedProps = null; + _.DisposableManagerProxy__disposableProxy = t0; + _.jsThis = _.state = _.props = null; + }, + $DesignMainDomainsMovingProps: function $DesignMainDomainsMovingProps() { + }, + _DesignMainDomainsMovingComponent_UiComponent2_PureComponent: function _DesignMainDomainsMovingComponent_UiComponent2_PureComponent() { + }, + __$$DesignMainDomainsMovingProps_UiProps_DesignMainDomainsMovingProps: function __$$DesignMainDomainsMovingProps_UiProps_DesignMainDomainsMovingProps() { + }, + __$$DesignMainDomainsMovingProps_UiProps_DesignMainDomainsMovingProps_$DesignMainDomainsMovingProps: function __$$DesignMainDomainsMovingProps_UiProps_DesignMainDomainsMovingProps_$DesignMainDomainsMovingProps() { + }, + _$DesignSidePotentialHelix: function(backingProps) { + type$.legacy_Map_dynamic_dynamic._as(backingProps); + return backingProps == null ? Y._$$DesignSidePotentialHelixProps$JsMap$(new L.JsBackedMap({})) : Y._$$DesignSidePotentialHelixProps__$$DesignSidePotentialHelixProps(backingProps); + }, + _$$DesignSidePotentialHelixProps__$$DesignSidePotentialHelixProps: function(backingMap) { + var t1, _null = null; + if (backingMap instanceof L.JsBackedMap) + return Y._$$DesignSidePotentialHelixProps$JsMap$(backingMap); + else { + t1 = type$.dynamic; + t1 = new Y._$$DesignSidePotentialHelixProps$PlainMap(P.LinkedHashMap_LinkedHashMap$_empty(t1, t1), _null, _null, _null, _null, _null, _null, _null); + t1.get$$$isClassGenerated(); + t1._design_side_potential_helix$_props = backingMap; + return t1; + } + }, + _$$DesignSidePotentialHelixProps$JsMap$: function(backingMap) { + var _null = null, + t1 = new Y._$$DesignSidePotentialHelixProps$JsMap(new L.JsBackedMap({}), _null, _null, _null, _null, _null, _null, _null); + t1.get$$$isClassGenerated(); + t1._design_side_potential_helix$_props = backingMap == null ? new L.JsBackedMap({}) : backingMap; + return t1; + }, + DesignSidePotentialHelixProps: function DesignSidePotentialHelixProps() { + }, + DesignSidePotentialHelixComponent: function DesignSidePotentialHelixComponent() { + }, + $DesignSidePotentialHelixComponentFactory_closure: function $DesignSidePotentialHelixComponentFactory_closure() { + }, + _$$DesignSidePotentialHelixProps: function _$$DesignSidePotentialHelixProps() { + }, + _$$DesignSidePotentialHelixProps$PlainMap: function _$$DesignSidePotentialHelixProps$PlainMap(t0, t1, t2, t3, t4, t5, t6, t7) { + var _ = this; + _._design_side_potential_helix$_props = t0; + _.DesignSidePotentialHelixProps_grid = t1; + _.DesignSidePotentialHelixProps_grid_position = t2; + _.DesignSidePotentialHelixProps_mouse_svg_pos = t3; + _.DesignSidePotentialHelixProps_invert_y = t4; + _.DesignSidePotentialHelixProps_geometry = t5; + _.componentFactory = null; + _.UbiquitousDomPropsMixin__aria = t6; + _.UbiquitousDomPropsMixin__dom = t7; + }, + _$$DesignSidePotentialHelixProps$JsMap: function _$$DesignSidePotentialHelixProps$JsMap(t0, t1, t2, t3, t4, t5, t6, t7) { + var _ = this; + _._design_side_potential_helix$_props = t0; + _.DesignSidePotentialHelixProps_grid = t1; + _.DesignSidePotentialHelixProps_grid_position = t2; + _.DesignSidePotentialHelixProps_mouse_svg_pos = t3; + _.DesignSidePotentialHelixProps_invert_y = t4; + _.DesignSidePotentialHelixProps_geometry = t5; + _.componentFactory = null; + _.UbiquitousDomPropsMixin__aria = t6; + _.UbiquitousDomPropsMixin__dom = t7; + }, + _$DesignSidePotentialHelixComponent: function _$DesignSidePotentialHelixComponent(t0) { + var _ = this; + _._design_side_potential_helix$_cachedTypedProps = null; + _.DisposableManagerProxy__disposableProxy = t0; + _.jsThis = _.state = _.props = null; + }, + $DesignSidePotentialHelixProps: function $DesignSidePotentialHelixProps() { + }, + __$$DesignSidePotentialHelixProps_UiProps_DesignSidePotentialHelixProps: function __$$DesignSidePotentialHelixProps_UiProps_DesignSidePotentialHelixProps() { + }, + __$$DesignSidePotentialHelixProps_UiProps_DesignSidePotentialHelixProps_$DesignSidePotentialHelixProps: function __$$DesignSidePotentialHelixProps_UiProps_DesignSidePotentialHelixProps_$DesignSidePotentialHelixProps() { + }, + _$SelectionBoxView: function(backingProps) { + type$.legacy_Map_dynamic_dynamic._as(backingProps); + return backingProps == null ? Y._$$SelectionBoxViewProps$JsMap$(new L.JsBackedMap({})) : Y._$$SelectionBoxViewProps__$$SelectionBoxViewProps(backingProps); + }, + _$$SelectionBoxViewProps__$$SelectionBoxViewProps: function(backingMap) { + var t1, _null = null; + if (backingMap instanceof L.JsBackedMap) + return Y._$$SelectionBoxViewProps$JsMap$(backingMap); + else { + t1 = type$.dynamic; + t1 = new Y._$$SelectionBoxViewProps$PlainMap(P.LinkedHashMap_LinkedHashMap$_empty(t1, t1), _null, _null, _null, _null, _null, _null); + t1.get$$$isClassGenerated(); + t1._selection_box_view$_props = backingMap; + return t1; + } + }, + _$$SelectionBoxViewProps$JsMap$: function(backingMap) { + var _null = null, + t1 = new Y._$$SelectionBoxViewProps$JsMap(new L.JsBackedMap({}), _null, _null, _null, _null, _null, _null); + t1.get$$$isClassGenerated(); + t1._selection_box_view$_props = backingMap == null ? new L.JsBackedMap({}) : backingMap; + return t1; + }, + ConnectedSelectionBoxView_closure: function ConnectedSelectionBoxView_closure() { + }, + SelectionBoxViewProps: function SelectionBoxViewProps() { + }, + SelectionBoxViewComponent: function SelectionBoxViewComponent() { + }, + $SelectionBoxViewComponentFactory_closure: function $SelectionBoxViewComponentFactory_closure() { + }, + _$$SelectionBoxViewProps: function _$$SelectionBoxViewProps() { + }, + _$$SelectionBoxViewProps$PlainMap: function _$$SelectionBoxViewProps$PlainMap(t0, t1, t2, t3, t4, t5, t6) { + var _ = this; + _._selection_box_view$_props = t0; + _.SelectionBoxViewProps_selection_box = t1; + _.SelectionBoxViewProps_stroke_width_getter = t2; + _.SelectionBoxViewProps_id = t3; + _.SelectionBoxViewProps_is_main = t4; + _.componentFactory = null; + _.UbiquitousDomPropsMixin__aria = t5; + _.UbiquitousDomPropsMixin__dom = t6; + }, + _$$SelectionBoxViewProps$JsMap: function _$$SelectionBoxViewProps$JsMap(t0, t1, t2, t3, t4, t5, t6) { + var _ = this; + _._selection_box_view$_props = t0; + _.SelectionBoxViewProps_selection_box = t1; + _.SelectionBoxViewProps_stroke_width_getter = t2; + _.SelectionBoxViewProps_id = t3; + _.SelectionBoxViewProps_is_main = t4; + _.componentFactory = null; + _.UbiquitousDomPropsMixin__aria = t5; + _.UbiquitousDomPropsMixin__dom = t6; + }, + _$SelectionBoxViewComponent: function _$SelectionBoxViewComponent(t0) { + var _ = this; + _._selection_box_view$_cachedTypedProps = null; + _.DisposableManagerProxy__disposableProxy = t0; + _.jsThis = _.state = _.props = null; + }, + $SelectionBoxViewProps: function $SelectionBoxViewProps() { + }, + __$$SelectionBoxViewProps_UiProps_SelectionBoxViewProps: function __$$SelectionBoxViewProps_UiProps_SelectionBoxViewProps() { + }, + __$$SelectionBoxViewProps_UiProps_SelectionBoxViewProps_$SelectionBoxViewProps: function __$$SelectionBoxViewProps_UiProps_SelectionBoxViewProps_$SelectionBoxViewProps() { + }, + FileLocation$_: function(file, offset) { + if (offset < 0) + H.throwExpression(P.RangeError$("Offset may not be negative, was " + offset + ".")); + else if (offset > file._decodedChars.length) + H.throwExpression(P.RangeError$("Offset " + offset + string$.x20must_ + file.get$length(file) + ".")); + return new Y.FileLocation(file, offset); + }, + SourceFile: function SourceFile(t0, t1, t2) { + var _ = this; + _.url = t0; + _._lineStarts = t1; + _._decodedChars = t2; + _._cachedLine = null; + }, + FileLocation: function FileLocation(t0, t1) { + this.file = t0; + this.offset = t1; + }, + _FileSpan: function _FileSpan(t0, t1, t2) { + this.file = t0; + this._file$_start = t1; + this._file$_end = t2; + }, + SourceSpanMixin: function SourceSpanMixin() { + }, + XmlChildrenBase: function XmlChildrenBase() { + }, + XmlHasChildren: function XmlHasChildren() { + }, + groupBy: function(values, key, $S, $T) { + var t1, _i, element, t2, t3, + map = P.LinkedHashMap_LinkedHashMap$_empty($T, $S._eval$1("List<0>")); + for (t1 = $S._eval$1("JSArray<0>"), _i = 0; _i < 1; ++_i) { + element = values[_i]; + t2 = key.call$1(element); + t3 = map.$index(0, t2); + if (t3 == null) { + t3 = H.setRuntimeTypeInfo([], t1); + map.$indexSet(0, t2, t3); + t2 = t3; + } else + t2 = t3; + C.JSArray_methods.add$1(t2, element); + } + return map; + } + }, + S = {Inflate: function Inflate(t0, t1, t2, t3) { + var _ = this; + _.__Inflate_input = t0; + _.inputSet = false; + _.output = t1; + _._bitBufferLen = _._inflate$_bitBuffer = 0; + _._fixedLiteralLengthTable = t2; + _._fixedDistanceTable = t3; + }, CopyOnWriteMap: function CopyOnWriteMap(t0, t1, t2) { + var _ = this; + _._copy_on_write_map$_mapFactory = t0; + _._copyBeforeWrite = true; + _._copy_on_write_map$_map = t1; + _.$ti = t2; + }, NullSerializer: function NullSerializer(t0) { + this.types = t0; + }, + HexColor_HexColor: function(hexCode) { + var hexDigits = H.setRuntimeTypeInfo((J.startsWith$1$s(hexCode, "#") ? C.JSString_methods.substring$1(hexCode, 1) : hexCode).split(""), type$.JSArray_String); + return new S.HexColor(P.int_parse(C.JSArray_methods.join$0(C.JSArray_methods.sublist$2(hexDigits, 0, 2)), 16), P.int_parse(C.JSArray_methods.join$0(C.JSArray_methods.sublist$2(hexDigits, 2, 4)), 16), P.int_parse(C.JSArray_methods.join$0(C.JSArray_methods.sublist$1(hexDigits, 4)), 16)); + }, + RgbColor$: function(r, g, b) { + return new S.RgbColor(r, g, b); + }, + RgbColor_RgbColor$name: function($name) { + var t1; + if (!C.Map_ACwDL.containsKey$1(0, $name)) + throw H.wrapException(P.ArgumentError$("Only the color names defined by the CSS3 spec are supported. See http://www.w3.org/TR/css3-color/#svg-color for a list of valid color names.")); + t1 = C.Map_ACwDL.$index(0, $name); + t1.toString; + return t1; + }, + Color: function Color() { + }, + HexColor: function HexColor(t0, t1, t2) { + this.r = t0; + this.g = t1; + this.b = t2; + }, + RgbColor: function RgbColor(t0, t1, t2) { + this.r = t0; + this.g = t1; + this.b = t2; + }, + UiState0: function UiState0() { + }, + UiProps: function UiProps() { + }, + UiProps_call_closure: function UiProps_call_closure() { + }, + PropsMapViewMixin: function PropsMapViewMixin() { + }, + StateMapViewMixin: function StateMapViewMixin() { + }, + MapViewMixin: function MapViewMixin() { + }, + PropDescriptor: function PropDescriptor(t0) { + this.key = t0; + }, + PropsMeta: function PropsMeta(t0, t1) { + this.fields = t0; + this.keys = t1; + }, + _AccessorMetaCollection: function _AccessorMetaCollection() { + }, + _AccessorMetaCollection_keys_closure: function _AccessorMetaCollection_keys_closure(t0) { + this.$this = t0; + }, + PropsMetaCollection: function PropsMetaCollection(t0) { + this._metaByMixin = t0; + }, + _UiProps_MapBase_MapViewMixin: function _UiProps_MapBase_MapViewMixin() { + }, + _UiProps_MapBase_MapViewMixin_PropsMapViewMixin: function _UiProps_MapBase_MapViewMixin_PropsMapViewMixin() { + }, + _UiProps_MapBase_MapViewMixin_PropsMapViewMixin_ReactPropsMixin: function _UiProps_MapBase_MapViewMixin_PropsMapViewMixin_ReactPropsMixin() { + }, + _UiProps_MapBase_MapViewMixin_PropsMapViewMixin_ReactPropsMixin_UbiquitousDomPropsMixin: function _UiProps_MapBase_MapViewMixin_PropsMapViewMixin_ReactPropsMixin_UbiquitousDomPropsMixin() { + }, + _UiProps_MapBase_MapViewMixin_PropsMapViewMixin_ReactPropsMixin_UbiquitousDomPropsMixin_CssClassPropsMixin: function _UiProps_MapBase_MapViewMixin_PropsMapViewMixin_ReactPropsMixin_UbiquitousDomPropsMixin_CssClassPropsMixin() { + }, + _UiState_Object_MapViewMixin: function _UiState_Object_MapViewMixin() { + }, + _UiState_Object_MapViewMixin_StateMapViewMixin: function _UiState_Object_MapViewMixin_StateMapViewMixin() { + }, + CssClassPropsMixin: function CssClassPropsMixin() { + }, + optimizedRanges: function(ranges) { + var mergedRanges, t1, _i, thisRange, lastRange, t2, t3, matchingCount, t4, + sortedRanges = P.List_List$of(ranges, false, type$.RangeCharPredicate); + C.JSArray_methods.sort$1(sortedRanges, new S.optimizedRanges_closure()); + mergedRanges = H.setRuntimeTypeInfo([], type$.JSArray_RangeCharPredicate); + for (t1 = sortedRanges.length, _i = 0; _i < t1; ++_i) { + thisRange = sortedRanges[_i]; + if (mergedRanges.length === 0) + C.JSArray_methods.add$1(mergedRanges, thisRange); + else { + lastRange = C.JSArray_methods.get$last(mergedRanges); + t2 = lastRange.stop; + if (typeof t2 !== "number") + return t2.$add(); + t3 = thisRange.start; + if (typeof t3 !== "number") + return H.iae(t3); + if (t2 + 1 >= t3) { + t2 = lastRange.start; + t3 = thisRange.stop; + if (typeof t2 !== "number") + return t2.$gt(); + if (typeof t3 !== "number") + return H.iae(t3); + if (t2 > t3) + H.throwExpression(P.ArgumentError$("Invalid range: " + t2 + "-" + t3)); + C.JSArray_methods.$indexSet(mergedRanges, mergedRanges.length - 1, new G.RangeCharPredicate(t2, t3)); + } else + C.JSArray_methods.add$1(mergedRanges, thisRange); + } + } + matchingCount = C.JSArray_methods.fold$1$2(mergedRanges, 0, new S.optimizedRanges_closure0(), type$.int); + if (matchingCount === 0) + return C.ConstantCharPredicate_false; + else { + if (typeof matchingCount !== "number") + return matchingCount.$sub(); + if (matchingCount - 1 === 65535) + return C.ConstantCharPredicate_true; + else { + t1 = mergedRanges.length; + if (t1 === 1) { + if (0 >= t1) + return H.ioore(mergedRanges, 0); + t1 = mergedRanges[0]; + t2 = t1.start; + return t2 == t1.stop ? new G.SingleCharPredicate(t2) : t1; + } else { + t1 = C.JSArray_methods.get$first(mergedRanges).start; + t2 = C.JSArray_methods.get$last(mergedRanges).stop; + t3 = C.JSArray_methods.get$last(mergedRanges).stop; + t4 = C.JSArray_methods.get$first(mergedRanges).start; + if (typeof t3 !== "number") + return t3.$sub(); + if (typeof t4 !== "number") + return H.iae(t4); + t4 = C.JSInt_methods._shrOtherPositive$1(t3 - t4 + 1 + 31, 5); + t1 = new U.LookupCharPredicate(t1, t2, new Uint32Array(t4)); + t1.LookupCharPredicate$1(mergedRanges); + return t1; + } + } + } + }, + optimizedRanges_closure: function optimizedRanges_closure() { + }, + optimizedRanges_closure0: function optimizedRanges_closure0() { + }, + NodeCrypto: function NodeCrypto() { + }, + zip: function(iterables, $T) { + return S.zip$body(iterables, $T, $T._eval$1("List<0*>*")); + }, + zip$body: function($async$iterables, $async$$T, $async$type) { + return P._makeSyncStarIterable(function() { + var iterables = $async$iterables, + $T = $async$$T; + var $async$goto = 0, $async$handler = 1, $async$currentError, t1, t2, t3, iterators; + return function $async$zip($async$errorCode, $async$result) { + if ($async$errorCode === 1) { + $async$currentError = $async$result; + $async$goto = $async$handler; + } + while (true) + switch ($async$goto) { + case 0: + // Function start + t1 = $T._eval$1("Iterator<0*>*"); + t2 = H._arrayInstanceType(iterables); + t3 = t2._eval$1("@<1>")._bind$1(t1)._eval$1("MappedListIterable<1,2>"); + iterators = P.List_List$of(new H.MappedListIterable(iterables, t2._bind$1(t1)._eval$1("1(2)")._as(new S.zip_closure($T)), t3), false, t3._eval$1("ListIterable.E")); + t1 = $T._eval$1("0*"), t2 = H._arrayInstanceType(iterators), t3 = t2._bind$1(t1)._eval$1("1(2)"), t1 = t2._eval$1("@<1>")._bind$1(t1)._eval$1("MappedListIterable<1,2>"), t2 = t1._eval$1("ListIterable.E"); + case 2: + // for condition + if (!C.JSArray_methods.every$1(iterators, new S.zip_closure0($T))) { + // goto after for + $async$goto = 3; + break; + } + $async$goto = 4; + return P.List_List$of(new H.MappedListIterable(iterators, t3._as(new S.zip_closure1($T)), t1), false, t2); + case 4: + // after yield + // goto for condition + $async$goto = 2; + break; + case 3: + // after for + // implicit return + return P._IterationMarker_endOfIteration(); + case 1: + // rethrow + return P._IterationMarker_uncaughtError($async$currentError); + } + }; + }, $async$type); + }, + zip_closure: function zip_closure(t0) { + this.T = t0; + }, + zip_closure0: function zip_closure0(t0) { + this.T = t0; + }, + zip_closure1: function zip_closure1(t0) { + this.T = t0; + }, + save: function(state, storable) { + var value_string, + storable_key = "scadnano:" + storable.name; + if (storable === C.Storable_design) + value_string = K.json_encode(state.design, false); + else + value_string = storable === C.Storable_app_ui_state_storables ? C.C_JsonCodec.encode$2$toEncodable($.$get$standard_serializers().serialize$1(state.ui_state.storables), null) : null; + if (value_string != null) + window.localStorage.setItem(storable_key, value_string); + }, + restore: function(store, storable) { + var e, stackTrace, error_message, exception; + try { + S._restore(store, storable); + } catch (exception) { + e = H.unwrapException(exception); + stackTrace = H.getTraceFromException(exception); + error_message = "ERROR: loading " + H.S(storable) + " from localStorage, encountered this error:\n" + H.S(J.toString$0$(e)) + "\n\nstack trace:\n\n" + H.S(stackTrace); + P.print(error_message); + store.dispatch$1(U.ErrorMessageSet_ErrorMessageSet(error_message)); + } + }, + _restore: function(store, storable) { + var storable_json_map, storables, e, stackTrace, storable_json_map0, storables0, e0, stackTrace0, json_str, exception, t1, action, + _s16_ = "\n\nstack trace:\n\n", + storable_key = "scadnano:" + storable.name; + if (window.localStorage.getItem(storable_key) != null) { + json_str = window.localStorage.getItem(storable_key); + if (storable === C.Storable_design) { + storable_json_map = C.C_JsonCodec.decode$1(0, window.localStorage.getItem("scadnano:app_ui_state_storables")); + storables = null; + try { + storables = type$.legacy_AppUIStateStorables._as($.$get$standard_serializers().deserialize$1(storable_json_map)); + } catch (exception) { + e = H.unwrapException(exception); + stackTrace = H.getTraceFromException(exception); + P.print("ERROR: in loading storables from localStorage in order to find loaded_filename for design, encountered this error, so a default filename has been chosen:\n" + H.S(J.toString$0$(e)) + _s16_ + H.S(stackTrace)); + } + t1 = storables; + t1 = t1 == null ? null : t1.loaded_filename; + action = U.PrepareToLoadDNAFile_PrepareToLoadDNAFile(json_str, C.DNAFileType_scadnano_file, t1 == null ? "default_filename.sc" : t1, false); + } else if (storable === C.Storable_app_ui_state_storables) { + storable_json_map0 = C.C_JsonCodec.decode$1(0, json_str); + storables0 = null; + try { + storables0 = type$.legacy_AppUIStateStorables._as($.$get$standard_serializers().deserialize$1(storable_json_map0)); + } catch (exception) { + e0 = H.unwrapException(exception); + stackTrace0 = H.getTraceFromException(exception); + P.print("ERROR: in loading storables from localStorage, encountered this error trying to load app_ui_state_storables, so using defaults for UI settings:\n" + H.S(J.toString$0$(e0)) + _s16_ + H.S(stackTrace0)); + storables0 = $.$get$DEFAULT_AppUIStateStorable(); + } + action = U.SetAppUIStateStorable_SetAppUIStateStorable(storables0); + document.title = storables0.loaded_filename; + } else + action = null; + if (action != null) + store.dispatch$1(action); + } + }, + restore_all_local_storage: function(store) { + var t1; + for (t1 = $.$get$_$values5()._set, t1 = t1.get$iterator(t1); t1.moveNext$0();) + S.restore(store, t1.get$current(t1)); + }, + save_storable_async: function(state, storable) { + var $async$goto = 0, + $async$completer = P._makeAsyncAwaitCompleter(type$.dynamic); + var $async$save_storable_async = P._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { + if ($async$errorCode === 1) + return P._asyncRethrow($async$result, $async$completer); + while (true) + switch ($async$goto) { + case 0: + // Function start + S.save(state, storable); + // implicit return + return P._asyncReturn(null, $async$completer); + } + }); + return P._asyncStartSync($async$save_storable_async, $async$completer); + }, + local_storage_middleware: function(store, action, next) { + var storables_before, design_before, storables_after, design_after, state_after, t1; + type$.legacy_Store_legacy_AppState._as(store); + type$.legacy_dynamic_Function_dynamic._as(next); + storables_before = store.get$state(store).ui_state.storables; + design_before = store.get$state(store).design; + next.call$1(action); + storables_after = store.get$state(store).ui_state.storables; + design_after = store.get$state(store).design; + state_after = store.get$state(store); + if (!J.$eq$(storables_before, storables_after)) { + t1 = action instanceof U.LoadDNAFile; + if (t1 && action.write_local_storage || !t1) + S.save_storable_async(state_after, C.Storable_app_ui_state_storables); + } + if (storables_after.local_storage_design_choice.option === C.LocalStorageDesignOption_on_edit && !J.$eq$(design_before, design_after)) { + if (!type$.legacy_UndoableAction._is(action) && !(action instanceof U.LoadDNAFile) && !(action instanceof U.AutoPasteInitiate) && !(action instanceof U.HelicesPositionsSetBasedOnCrossovers) && !(action instanceof U.Undo) && !(action instanceof U.Redo)) + P.print("WARNING: some Action changed the design, so I am writing the Design to localStorage,\nbut that action is not UndoableAction, LoadDNAFile, Undo, or Redo\naction is " + H.S(action)); + S.save_storable_async(state_after, C.Storable_design); + } + if (action instanceof U.LocalStorageDesignChoiceSet) { + t1 = action.choice.option; + t1 = t1 === C.LocalStorageDesignOption_on_edit || t1 === C.LocalStorageDesignOption_periodic; + } else + t1 = false; + if (t1) + S.save_storable_async(state_after, C.Storable_design); + }, + Storable: function Storable(t0) { + this.name = t0; + }, + load_dna_file_reducer: function(state, action) { + var error, stack_trace, error0, stack_trace0, design_new, t1, t2, exception, error_message, new_state, side_selected_helix_idxs, t3, new_selectables_store, new_filename, displayed_group_name, _null = null, _box_0 = {}; + _box_0.design_new = _box_0.error_message = null; + try { + switch (action.dna_file_type) { + case C.DNAFileType_scadnano_file: + design_new = _box_0.design_new = N.Design_from_json_str(action.content, state.ui_state.storables.invert_y); + t1 = design_new; + t1 = design_new; + break; + case C.DNAFileType_cadnano_file: + t1 = action.content; + t2 = state.ui_state.storables.invert_y; + design_new = _box_0.design_new = N.Design_from_cadnano_v2(type$.legacy_Map_of_legacy_String_and_dynamic._as(C.C_JsonCodec.decode$2$reviver(0, t1, _null)), t2); + t1 = design_new; + t1 = design_new; + break; + default: + t1 = _null; + } + t2 = _null; + } catch (exception) { + t2 = H.unwrapException(exception); + if (type$.legacy_IllegalDesignError._is(t2)) { + error = t2; + stack_trace = H.getTraceFromException(exception); + error_message = "******************\n* illegal design *\n******************\n\nThe design has the following problem:\n\n" + error.get$cause() + "\n" + E.stack_trace_message_bug_report(stack_trace); + _box_0.error_message = error_message; + t2 = error_message; + } else { + error0 = t2; + stack_trace0 = H.getTraceFromException(exception); + C.Window_methods.alert$1(window, "I was unable to process that file. Only scadnano .sc files are supported for opening via the menu File-->Open or dragging onto the browser. If you are trying to import a cadnano file (ending. in .json), use the menu option File-->Import cadnano v2. Here is the full error message: "); + t2 = action.filename; + error_message = "I encountered an error while reading the file " + H.S(t2) + ":\n\n" + H.S($.$get$hline()) + "\n* error type: " + J.get$runtimeType$(error0).toString$0(0) + "\n* error message: " + H.S(J.toString$0$(error0)) + "\n" + H.S($.$get$hline()) + '\nIf the file is imported from cadnano, use the option of importing "cadnano v2".\nTo do this, go to the menu options, then perform Select File --> Import "cadnano v2".\nImporting a .json file is not allowed when selecting the "Open" option. Use a file with the .sc extension.\nIt is the same thing for dragging a file into the browser. A .json file will also cause an error, even if it is dragged in.\nEssentially, for .sc files, you can use the open or drag and drop feature. For .json files, you have to import "cadnano v2".\n\nThat file\'s contents are printed below.' + E.stack_trace_message_bug_report(stack_trace0) + "\n\nThe file " + H.S(t2) + " has this content:\n\n" + action.content; + _box_0.error_message = error_message; + t2 = error_message; + } + } + if ((t2 == null && t1 == null ? _box_0.error_message = string$.x3cp_sca : t2) != null) + new_state = state.rebuild$1(new S.load_dna_file_reducer_closure(_box_0)); + else if (t1 != null) { + _box_0.side_selected_helix_idxs = X.BuiltSet_BuiltSet$from(C.List_empty, type$.legacy_int); + t2 = state.ui_state.storables; + if (!t2.clear_helix_selection_when_loading_new_design) { + side_selected_helix_idxs = t2.side_selected_helix_idxs; + _box_0.side_selected_helix_idxs = side_selected_helix_idxs; + t3 = state.design; + if (t3 != null) { + t1 = J.get$length$asx(t1.helices._map$_map); + t3 = J.get$length$asx(t3.helices._map$_map); + if (typeof t1 !== "number") + return t1.$lt(); + if (typeof t3 !== "number") + return H.iae(t3); + t3 = t1 < t3; + t1 = t3; + } else + t1 = false; + if (t1) + _box_0.side_selected_helix_idxs = side_selected_helix_idxs.rebuild$1(new S.load_dna_file_reducer_closure0(_box_0)); + } + t1 = new E.SelectablesStoreBuilder(); + t3 = type$.legacy_SetBuilder_legacy_Selectable._as(X.SetBuilder_SetBuilder([], type$.legacy_Selectable)); + t1.get$_selectable$_$this().set$_selected_items(t3); + type$.legacy_void_Function_legacy_SelectablesStoreBuilder._as(null); + new_selectables_store = t1.build$0(); + new_filename = action.filename; + if (new_filename == null) + new_filename = t2.loaded_filename; + _box_0.storables = t2; + displayed_group_name = t2.displayed_group_name; + if (!J.containsKey$1$x(_box_0.design_new.groups._map$_map, displayed_group_name)) + _box_0.storables = _box_0.storables.rebuild$1(new S.load_dna_file_reducer_closure1(_box_0)); + new_state = state.rebuild$1(new S.load_dna_file_reducer_closure2(_box_0, new_selectables_store, new_filename)); + } else + throw H.wrapException(P.AssertionError$("This line should be unreachable")); + return new_state; + }, + load_dna_file_reducer_closure: function load_dna_file_reducer_closure(t0) { + this._box_0 = t0; + }, + load_dna_file_reducer_closure0: function load_dna_file_reducer_closure0(t0) { + this._box_0 = t0; + }, + load_dna_file_reducer__closure0: function load_dna_file_reducer__closure0(t0) { + this._box_0 = t0; + }, + load_dna_file_reducer_closure1: function load_dna_file_reducer_closure1(t0) { + this._box_0 = t0; + }, + load_dna_file_reducer_closure2: function load_dna_file_reducer_closure2(t0, t1, t2) { + this._box_0 = t0; + this.new_selectables_store = t1; + this.new_filename = t2; + }, + load_dna_file_reducer__closure: function load_dna_file_reducer__closure(t0, t1, t2) { + this._box_0 = t0; + this.new_selectables_store = t1; + this.new_filename = t2; + }, + undo_reducer: function(state, action) { + type$.legacy_AppState._as(state); + type$.legacy_Undo._as(action); + if (J.get$isEmpty$asx(state.undo_redo.undo_stack._list)) + return state; + return S.state_result_after_applying_undo(state, action); + }, + state_result_after_applying_undo: function(state, action) { + var undo_stack, redo_stack, t2, t3, t4, t5, t6, i, t7, popped_item, t8, _s5_ = "_list", + new_design = state.design, + undo_redo = state.undo_redo, + t1 = undo_redo.undo_stack; + t1.toString; + undo_stack = D.ListBuilder_ListBuilder(t1, t1.$ti._precomputed1); + t1 = undo_redo.redo_stack; + t1.toString; + redo_stack = D.ListBuilder_ListBuilder(t1, t1.$ti._precomputed1); + for (t1 = action.num_undos, t2 = redo_stack.$ti, t3 = t2._precomputed1, t4 = undo_stack.$ti, t5 = t4._precomputed1, t4 = t4._eval$1("List<1>"), t6 = !t3._is(null), t2 = t2._eval$1("List<1>"), i = 0; i < t1; ++i) { + if (undo_stack._listOwner != null) { + t7 = undo_stack.__ListBuilder__list; + undo_stack.set$__ListBuilder__list(t4._as(P.List_List$from(t7 === $ ? H.throwExpression(H.LateError$fieldNI(_s5_)) : t7, true, t5))); + undo_stack.set$_listOwner(null); + } + t7 = undo_stack.__ListBuilder__list; + popped_item = J.removeLast$0$ax(t7 === $ ? H.throwExpression(H.LateError$fieldNI(_s5_)) : t7); + t7 = t3._as(T.UndoRedoItem_UndoRedoItem(popped_item.short_description, new_design)); + if (!$.$get$isSoundMode() && t6) + if (t7 == null) + H.throwExpression(P.ArgumentError$("null element")); + if (redo_stack._listOwner != null) { + t8 = redo_stack.__ListBuilder__list; + redo_stack.set$__ListBuilder__list(t2._as(P.List_List$from(t8 === $ ? H.throwExpression(H.LateError$fieldNI(_s5_)) : t8, true, t3))); + redo_stack.set$_listOwner(null); + } + t8 = redo_stack.__ListBuilder__list; + J.add$1$ax(t8 === $ ? H.throwExpression(H.LateError$fieldNI(_s5_)) : t8, t7); + new_design = popped_item.design; + } + return S.create_new_state_with_new_design_and_undo_redo(state, new_design, undo_stack, redo_stack); + }, + create_new_state_with_new_design_and_undo_redo: function(old_state, new_design, new_undo_stack, new_redo_stack) { + return old_state.rebuild$1(new S.create_new_state_with_new_design_and_undo_redo_closure(old_state, J.get$isNotEmpty$asx(new_undo_stack.get$_list()), new_design, new_undo_stack, new_redo_stack)); + }, + redo_reducer: function(state, action) { + var undo_redo, t1, t2, t3, undo_stack, redo_stack, t4, t5, t6, t7, i, t8, popped_item, new_design, _s5_ = "_list", _box_0 = {}; + type$.legacy_AppState._as(state); + type$.legacy_Redo._as(action); + undo_redo = state.undo_redo; + t1 = undo_redo.redo_stack; + if (J.get$isEmpty$asx(t1._list)) + return state; + else { + t2 = _box_0.new_design = state.design; + t3 = undo_redo.undo_stack; + t3.toString; + undo_stack = D.ListBuilder_ListBuilder(t3, t3.$ti._precomputed1); + redo_stack = D.ListBuilder_ListBuilder(t1, H._instanceType(t1)._precomputed1); + for (t1 = action.num_redos, t3 = undo_stack.$ti, t4 = t3._precomputed1, t5 = redo_stack.$ti, t6 = t5._precomputed1, t5 = t5._eval$1("List<1>"), t7 = !t4._is(null), t3 = t3._eval$1("List<1>"), i = 0; i < t1; ++i, t2 = new_design) { + if (redo_stack._listOwner != null) { + t8 = redo_stack.__ListBuilder__list; + redo_stack.set$__ListBuilder__list(t5._as(P.List_List$from(t8 === $ ? H.throwExpression(H.LateError$fieldNI(_s5_)) : t8, true, t6))); + redo_stack.set$_listOwner(null); + } + t8 = redo_stack.__ListBuilder__list; + popped_item = J.removeLast$0$ax(t8 === $ ? H.throwExpression(H.LateError$fieldNI(_s5_)) : t8); + t2 = t4._as(T.UndoRedoItem_UndoRedoItem(popped_item.short_description, t2)); + if (!$.$get$isSoundMode() && t7) + if (t2 == null) + H.throwExpression(P.ArgumentError$("null element")); + if (undo_stack._listOwner != null) { + t8 = undo_stack.__ListBuilder__list; + undo_stack.set$__ListBuilder__list(t3._as(P.List_List$from(t8 === $ ? H.throwExpression(H.LateError$fieldNI(_s5_)) : t8, true, t4))); + undo_stack.set$_listOwner(null); + } + t8 = undo_stack.__ListBuilder__list; + J.add$1$ax(t8 === $ ? H.throwExpression(H.LateError$fieldNI(_s5_)) : t8, t2); + new_design = popped_item.design; + _box_0.new_design = new_design; + } + return state.rebuild$1(new S.redo_reducer_closure(_box_0, state, J.get$isNotEmpty$asx(undo_stack.get$_list()), undo_redo, undo_stack, redo_stack)); + } + }, + undo_redo_clear_reducer: function(state, action) { + type$.legacy_AppState._as(state); + type$.legacy_UndoRedoClear._as(action); + return state.rebuild$1(new S.undo_redo_clear_reducer_closure()); + }, + undoable_action_typed_reducer: function(state, action) { + type$.legacy_AppState._as(state); + return state.rebuild$1(new S.undoable_action_typed_reducer_closure(state, type$.legacy_UndoableAction._as(action))); + }, + create_new_state_with_new_design_and_undo_redo_closure: function create_new_state_with_new_design_and_undo_redo_closure(t0, t1, t2, t3, t4) { + var _ = this; + _.old_state = t0; + _.changed_since_last_save = t1; + _.new_design = t2; + _.new_undo_stack = t3; + _.new_redo_stack = t4; + }, + create_new_state_with_new_design_and_undo_redo__closure: function create_new_state_with_new_design_and_undo_redo__closure(t0) { + this.changed_since_last_save = t0; + }, + create_new_state_with_new_design_and_undo_redo__closure0: function create_new_state_with_new_design_and_undo_redo__closure0(t0, t1) { + this.new_undo_stack = t0; + this.new_redo_stack = t1; + }, + redo_reducer_closure: function redo_reducer_closure(t0, t1, t2, t3, t4, t5) { + var _ = this; + _._box_0 = t0; + _.state = t1; + _.changed_since_last_save = t2; + _.undo_redo = t3; + _.undo_stack = t4; + _.redo_stack = t5; + }, + redo_reducer__closure: function redo_reducer__closure(t0) { + this.changed_since_last_save = t0; + }, + redo_reducer__closure0: function redo_reducer__closure0(t0, t1) { + this.undo_stack = t0; + this.redo_stack = t1; + }, + undo_redo_clear_reducer_closure: function undo_redo_clear_reducer_closure() { + }, + undoable_action_typed_reducer_closure: function undoable_action_typed_reducer_closure(t0, t1) { + this.state = t0; + this.action = t1; + }, + undoable_action_typed_reducer__closure: function undoable_action_typed_reducer__closure(t0, t1) { + this.action = t0; + this.state = t1; + }, + Extension_Extension: function(adjacent_domain, color, display_angle, display_length, dna_sequence, is_5p, is_scaffold, label, $name, num_bases, unused_fields) { + var t2, t1 = {}; + t1.unused_fields = unused_fields; + if (unused_fields == null) + t1.unused_fields = P.LinkedHashMap_LinkedHashMap$_empty(type$.legacy_String, type$.dynamic); + t2 = new S.ExtensionBuilder(); + type$.legacy_void_Function_legacy_ExtensionBuilder._as(new S.Extension_Extension_closure(t1, num_bases, display_length, display_angle, is_5p, $name, label, dna_sequence, color, is_scaffold, adjacent_domain)).call$1(t2); + return t2.build$0(); + }, + Extension: function Extension() { + }, + Extension_Extension_closure: function Extension_Extension_closure(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10) { + var _ = this; + _._box_0 = t0; + _.num_bases = t1; + _.display_length = t2; + _.display_angle = t3; + _.is_5p = t4; + _.name = t5; + _.label = t6; + _.dna_sequence = t7; + _.color = t8; + _.is_scaffold = t9; + _.adjacent_domain = t10; + }, + Extension_set_dna_sequence_closure: function Extension_set_dna_sequence_closure(t0) { + this.seq = t0; + }, + _$ExtensionSerializer: function _$ExtensionSerializer() { + }, + _$Extension: function _$Extension(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11) { + var _ = this; + _.num_bases = t0; + _.display_length = t1; + _.display_angle = t2; + _.is_5p = t3; + _.label = t4; + _.name = t5; + _.dna_sequence = t6; + _.color = t7; + _.strand_id = t8; + _.is_scaffold = t9; + _.adjacent_domain = t10; + _.unused_fields = t11; + _._extension$__hashCode = _.__dnaend_free = _._extension$__id = _._extension$__select_mode = null; + }, + ExtensionBuilder: function ExtensionBuilder() { + var _ = this; + _._extension$_unused_fields = _._adjacent_domain = _._extension$_is_scaffold = _._strand_id = _._extension$_color = _._dna_sequence = _._extension$_name = _._extension$_label = _._is_5p = _._display_angle = _._display_length = _._num_bases = _._extension$_$v = null; + }, + _Extension_Object_SelectableMixin: function _Extension_Object_SelectableMixin() { + }, + _Extension_Object_SelectableMixin_BuiltJsonSerializable: function _Extension_Object_SelectableMixin_BuiltJsonSerializable() { + }, + _Extension_Object_SelectableMixin_BuiltJsonSerializable_UnusedFields: function _Extension_Object_SelectableMixin_BuiltJsonSerializable_UnusedFields() { + }, + Grid_valueOf: function($name) { + return S._$valueOf(H._asStringS($name)); + }, + _$valueOf: function($name) { + switch ($name) { + case "square": + return C.Grid_square; + case "hex": + return C.Grid_hex; + case "honeycomb": + return C.Grid_honeycomb; + case "none": + return C.Grid_none; + default: + throw H.wrapException(P.ArgumentError$($name)); + } + }, + Grid: function Grid(t0) { + this.name = t0; + }, + _$GridSerializer: function _$GridSerializer() { + }, + PotentialCrossover_PotentialCrossover: function(address, color, current_point, dna_end_first_click, linker, start_point) { + var t1 = new S.PotentialCrossoverBuilder(); + type$.legacy_void_Function_legacy_PotentialCrossoverBuilder._as(new S.PotentialCrossover_PotentialCrossover_closure(address, color, dna_end_first_click, start_point, current_point, linker)).call$1(t1); + return t1.build$0(); + }, + PotentialCrossover: function PotentialCrossover() { + }, + PotentialCrossover_PotentialCrossover_closure: function PotentialCrossover_PotentialCrossover_closure(t0, t1, t2, t3, t4, t5) { + var _ = this; + _.address = t0; + _.color = t1; + _.dna_end_first_click = t2; + _.start_point = t3; + _.current_point = t4; + _.linker = t5; + }, + _$PotentialCrossoverSerializer: function _$PotentialCrossoverSerializer() { + }, + _$PotentialCrossover: function _$PotentialCrossover(t0, t1, t2, t3, t4, t5) { + var _ = this; + _.address = t0; + _.color = t1; + _.dna_end_first_click = t2; + _.start_point = t3; + _.current_point = t4; + _.linker = t5; + _._potential_crossover$__hashCode = null; + }, + PotentialCrossoverBuilder: function PotentialCrossoverBuilder() { + var _ = this; + _._linker = _._potential_crossover$_current_point = _._start_point = _._dna_end_first_click = _._potential_crossover$_color = _._address = _._potential_crossover$_$v = null; + }, + _PotentialCrossover_Object_BuiltJsonSerializable: function _PotentialCrossover_Object_BuiltJsonSerializable() { + }, + context_menu_to_ul: function(menu) { + var t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, _null = null, + t1 = A.DomProps$($.$get$ul(), _null); + t1.set$className(0, "context-menu-list"); + t2 = H.setRuntimeTypeInfo([], type$.JSArray_legacy_ReactElement); + for (t3 = J.get$iterator$ax(menu.items._list), t4 = type$.legacy_dynamic_Function_legacy_SyntheticMouseEvent, t5 = menu.position; t3.moveNext$0();) { + t6 = t3.get$current(t3); + t7 = $.$get$li(); + t8 = {}; + t8 = new L.JsBackedMap(t8); + t7 = new A.DomProps(t7, t8, _null, _null); + t7.get$$$isClassGenerated(); + t9 = t6.title; + t8.$indexSet(0, "key", t9); + t10 = t6.nested; + t11 = t10 != null; + t8.jsObject.className = F.DartValueWrapper_wrapIfNeeded(t11 ? "has-submenu" : ""); + t8 = $.$get$span(); + t12 = {}; + t12 = new L.JsBackedMap(t12); + t8 = new A.DomProps(t8, t12, _null, _null); + t8.get$$$isClassGenerated(); + t13 = t6.tooltip; + if (t13 == null) + t13 = ""; + t12 = t12.jsObject; + t12.title = F.DartValueWrapper_wrapIfNeeded(t13); + t12.onClick = F.DartValueWrapper_wrapIfNeeded(t4._as(t6.on_click != null ? new S.context_menu_to_ul_closure(t6) : _null)); + t12.className = F.DartValueWrapper_wrapIfNeeded("context-menu-item" + (t6.disabled ? " context_menu_item_disabled" : "")); + t8 = t8.call$1(t9); + if (t11) { + t6 = S.design_context_menu___$DesignContextSubmenu$closure().call$0(); + t6.toString; + J.$indexSet$ax(J.get$props$x(t6), "DesignContextSubmenuProps.context_menu", new B._$ContextMenu(t10, t5)); + t6 = t6.call$0(); + } else + t6 = _null; + t2.push(t7.call$2(t8, t6)); + } + return t1.call$1(t2); + }, + _$DesignContextMenu: function(backingProps) { + type$.legacy_Map_dynamic_dynamic._as(backingProps); + return backingProps == null ? S._$$DesignContextMenuProps$JsMap$(new L.JsBackedMap({})) : S._$$DesignContextMenuProps__$$DesignContextMenuProps(backingProps); + }, + _$$DesignContextMenuProps__$$DesignContextMenuProps: function(backingMap) { + var t1; + if (backingMap instanceof L.JsBackedMap) + return S._$$DesignContextMenuProps$JsMap$(backingMap); + else { + t1 = type$.dynamic; + t1 = new S._$$DesignContextMenuProps$PlainMap(P.LinkedHashMap_LinkedHashMap$_empty(t1, t1), null, null, null); + t1.get$$$isClassGenerated(); + t1._design_context_menu$_props = backingMap; + return t1; + } + }, + _$$DesignContextMenuProps$JsMap$: function(backingMap) { + var t1 = new S._$$DesignContextMenuProps$JsMap(new L.JsBackedMap({}), null, null, null); + t1.get$$$isClassGenerated(); + t1._design_context_menu$_props = backingMap == null ? new L.JsBackedMap({}) : backingMap; + return t1; + }, + _$$DesignContextMenuState__$$DesignContextMenuState: function(backingMap) { + var t1 = S._$$DesignContextMenuState$JsMap$(backingMap); + return t1; + }, + _$$DesignContextMenuState$JsMap$: function(backingMap) { + var t1 = new S._$$DesignContextMenuState$JsMap(new L.JsBackedMap({}), null, null, null); + t1.get$$$isClassGenerated(); + t1._design_context_menu$_state = backingMap == null ? new L.JsBackedMap({}) : backingMap; + return t1; + }, + _$DesignContextSubmenu: function(backingProps) { + type$.legacy_Map_dynamic_dynamic._as(backingProps); + return backingProps == null ? S._$$DesignContextSubmenuProps$JsMap$(new L.JsBackedMap({})) : S._$$DesignContextSubmenuProps__$$DesignContextSubmenuProps(backingProps); + }, + _$$DesignContextSubmenuProps__$$DesignContextSubmenuProps: function(backingMap) { + var t1; + if (backingMap instanceof L.JsBackedMap) + return S._$$DesignContextSubmenuProps$JsMap$(backingMap); + else { + t1 = type$.dynamic; + t1 = new S._$$DesignContextSubmenuProps$PlainMap(P.LinkedHashMap_LinkedHashMap$_empty(t1, t1), null, null, null); + t1.get$$$isClassGenerated(); + t1._design_context_menu$_props = backingMap; + return t1; + } + }, + _$$DesignContextSubmenuProps$JsMap$: function(backingMap) { + var t1 = new S._$$DesignContextSubmenuProps$JsMap(new L.JsBackedMap({}), null, null, null); + t1.get$$$isClassGenerated(); + t1._design_context_menu$_props = backingMap == null ? new L.JsBackedMap({}) : backingMap; + return t1; + }, + _$$DesignContextSubmenuState$JsMap$: function(backingMap) { + var _null = null, + t1 = new S._$$DesignContextSubmenuState$JsMap(new L.JsBackedMap({}), _null, _null, _null, _null, _null); + t1.get$$$isClassGenerated(); + t1._design_context_menu$_state = backingMap; + return t1; + }, + ConnectedDesignContextMenu_closure: function ConnectedDesignContextMenu_closure() { + }, + DesignContextMenuProps: function DesignContextMenuProps() { + }, + DesignContextMenuState: function DesignContextMenuState() { + }, + DesignContextMenuComponent: function DesignContextMenuComponent() { + }, + DesignContextSubmenuProps: function DesignContextSubmenuProps() { + }, + DesignContextSubmenuState: function DesignContextSubmenuState() { + }, + DesignContextSubmenuComponent: function DesignContextSubmenuComponent() { + }, + context_menu_to_ul_closure: function context_menu_to_ul_closure(t0) { + this.item = t0; + }, + $DesignContextMenuComponentFactory_closure: function $DesignContextMenuComponentFactory_closure() { + }, + _$$DesignContextMenuProps: function _$$DesignContextMenuProps() { + }, + _$$DesignContextMenuProps$PlainMap: function _$$DesignContextMenuProps$PlainMap(t0, t1, t2, t3) { + var _ = this; + _._design_context_menu$_props = t0; + _.DesignContextMenuProps_context_menu = t1; + _.componentFactory = null; + _.UbiquitousDomPropsMixin__aria = t2; + _.UbiquitousDomPropsMixin__dom = t3; + }, + _$$DesignContextMenuProps$JsMap: function _$$DesignContextMenuProps$JsMap(t0, t1, t2, t3) { + var _ = this; + _._design_context_menu$_props = t0; + _.DesignContextMenuProps_context_menu = t1; + _.componentFactory = null; + _.UbiquitousDomPropsMixin__aria = t2; + _.UbiquitousDomPropsMixin__dom = t3; + }, + _$$DesignContextMenuState: function _$$DesignContextMenuState() { + }, + _$$DesignContextMenuState$JsMap: function _$$DesignContextMenuState$JsMap(t0, t1, t2, t3) { + var _ = this; + _._design_context_menu$_state = t0; + _.DesignContextMenuState_width = t1; + _.DesignContextMenuState_height = t2; + _.DesignContextMenuState_menu_HTML_element_ref = t3; + }, + _$DesignContextMenuComponent: function _$DesignContextMenuComponent(t0) { + var _ = this; + _._design_context_menu$_cachedTypedState = _._design_context_menu$_cachedTypedProps = null; + _.DisposableManagerProxy__disposableProxy = t0; + _.jsThis = _.state = _.props = null; + }, + $DesignContextSubmenuComponentFactory_closure: function $DesignContextSubmenuComponentFactory_closure() { + }, + _$$DesignContextSubmenuProps: function _$$DesignContextSubmenuProps() { + }, + _$$DesignContextSubmenuProps$PlainMap: function _$$DesignContextSubmenuProps$PlainMap(t0, t1, t2, t3) { + var _ = this; + _._design_context_menu$_props = t0; + _.DesignContextSubmenuProps_context_menu = t1; + _.componentFactory = null; + _.UbiquitousDomPropsMixin__aria = t2; + _.UbiquitousDomPropsMixin__dom = t3; + }, + _$$DesignContextSubmenuProps$JsMap: function _$$DesignContextSubmenuProps$JsMap(t0, t1, t2, t3) { + var _ = this; + _._design_context_menu$_props = t0; + _.DesignContextSubmenuProps_context_menu = t1; + _.componentFactory = null; + _.UbiquitousDomPropsMixin__aria = t2; + _.UbiquitousDomPropsMixin__dom = t3; + }, + _$$DesignContextSubmenuState: function _$$DesignContextSubmenuState() { + }, + _$$DesignContextSubmenuState$JsMap: function _$$DesignContextSubmenuState$JsMap(t0, t1, t2, t3, t4, t5) { + var _ = this; + _._design_context_menu$_state = t0; + _.DesignContextSubmenuState_width = t1; + _.DesignContextSubmenuState_height = t2; + _.DesignContextSubmenuState_left = t3; + _.DesignContextSubmenuState_top = t4; + _.DesignContextSubmenuState_submenu_HTML_element_ref = t5; + }, + _$DesignContextSubmenuComponent: function _$DesignContextSubmenuComponent(t0) { + var _ = this; + _._design_context_menu$_cachedTypedState = _._design_context_menu$_cachedTypedProps = null; + _.DisposableManagerProxy__disposableProxy = t0; + _.jsThis = _.state = _.props = null; + }, + $DesignContextMenuProps: function $DesignContextMenuProps() { + }, + $DesignContextSubmenuProps: function $DesignContextSubmenuProps() { + }, + $DesignContextMenuState: function $DesignContextMenuState() { + }, + $DesignContextSubmenuState: function $DesignContextSubmenuState() { + }, + _DesignContextMenuComponent_UiStatefulComponent2_PureComponent: function _DesignContextMenuComponent_UiStatefulComponent2_PureComponent() { + }, + _DesignContextSubmenuComponent_UiStatefulComponent2_PureComponent: function _DesignContextSubmenuComponent_UiStatefulComponent2_PureComponent() { + }, + __$$DesignContextMenuProps_UiProps_DesignContextMenuProps: function __$$DesignContextMenuProps_UiProps_DesignContextMenuProps() { + }, + __$$DesignContextMenuProps_UiProps_DesignContextMenuProps_$DesignContextMenuProps: function __$$DesignContextMenuProps_UiProps_DesignContextMenuProps_$DesignContextMenuProps() { + }, + __$$DesignContextMenuState_UiState_DesignContextMenuState: function __$$DesignContextMenuState_UiState_DesignContextMenuState() { + }, + __$$DesignContextMenuState_UiState_DesignContextMenuState_$DesignContextMenuState: function __$$DesignContextMenuState_UiState_DesignContextMenuState_$DesignContextMenuState() { + }, + __$$DesignContextSubmenuProps_UiProps_DesignContextSubmenuProps: function __$$DesignContextSubmenuProps_UiProps_DesignContextSubmenuProps() { + }, + __$$DesignContextSubmenuProps_UiProps_DesignContextSubmenuProps_$DesignContextSubmenuProps: function __$$DesignContextSubmenuProps_UiProps_DesignContextSubmenuProps_$DesignContextSubmenuProps() { + }, + __$$DesignContextSubmenuState_UiState_DesignContextSubmenuState: function __$$DesignContextSubmenuState_UiState_DesignContextSubmenuState() { + }, + __$$DesignContextSubmenuState_UiState_DesignContextSubmenuState_$DesignContextSubmenuState: function __$$DesignContextSubmenuState_UiState_DesignContextSubmenuState_$DesignContextSubmenuState() { + }, + _$DesignDialogForm: function(backingProps) { + type$.legacy_Map_dynamic_dynamic._as(backingProps); + return backingProps == null ? S._$$DesignDialogFormProps$JsMap$(new L.JsBackedMap({})) : S._$$DesignDialogFormProps__$$DesignDialogFormProps(backingProps); + }, + _$$DesignDialogFormProps__$$DesignDialogFormProps: function(backingMap) { + var t1; + if (backingMap instanceof L.JsBackedMap) + return S._$$DesignDialogFormProps$JsMap$(backingMap); + else { + t1 = type$.dynamic; + t1 = new S._$$DesignDialogFormProps$PlainMap(P.LinkedHashMap_LinkedHashMap$_empty(t1, t1), null, null, null); + t1.get$$$isClassGenerated(); + t1._design_dialog_form$_props = backingMap; + return t1; + } + }, + _$$DesignDialogFormProps$JsMap$: function(backingMap) { + var t1 = new S._$$DesignDialogFormProps$JsMap(new L.JsBackedMap({}), null, null, null); + t1.get$$$isClassGenerated(); + t1._design_dialog_form$_props = backingMap == null ? new L.JsBackedMap({}) : backingMap; + return t1; + }, + _$$DesignDialogFormState__$$DesignDialogFormState: function(backingMap) { + var t1 = S._$$DesignDialogFormState$JsMap$(backingMap); + return t1; + }, + _$$DesignDialogFormState$JsMap$: function(backingMap) { + var t1 = new S._$$DesignDialogFormState$JsMap(new L.JsBackedMap({}), null, null, null); + t1.get$$$isClassGenerated(); + t1._design_dialog_form$_state = backingMap == null ? new L.JsBackedMap({}) : backingMap; + return t1; + }, + ConnectedDesignDialogForm_closure: function ConnectedDesignDialogForm_closure() { + }, + DesignDialogFormProps: function DesignDialogFormProps() { + }, + DesignDialogFormState: function DesignDialogFormState() { + }, + DesignDialogFormComponent: function DesignDialogFormComponent() { + }, + DesignDialogFormComponent_getDerivedStateFromProps_closure: function DesignDialogFormComponent_getDerivedStateFromProps_closure(t0) { + this.prev_state = t0; + }, + DesignDialogFormComponent_render_closure: function DesignDialogFormComponent_render_closure(t0) { + this.$this = t0; + }, + DesignDialogFormComponent_dialog_for_closure: function DesignDialogFormComponent_dialog_for_closure(t0, t1) { + this.$this = t0; + this.dialog_item_idx = t1; + }, + DesignDialogFormComponent_dialog_for__closure6: function DesignDialogFormComponent_dialog_for__closure6(t0) { + this.new_checked = t0; + }, + DesignDialogFormComponent_dialog_for__closure7: function DesignDialogFormComponent_dialog_for__closure7() { + }, + DesignDialogFormComponent_dialog_for_closure0: function DesignDialogFormComponent_dialog_for_closure0(t0, t1) { + this.$this = t0; + this.dialog_item_idx = t1; + }, + DesignDialogFormComponent_dialog_for__closure5: function DesignDialogFormComponent_dialog_for__closure5(t0) { + this.new_value = t0; + }, + DesignDialogFormComponent_dialog_for_closure1: function DesignDialogFormComponent_dialog_for_closure1(t0, t1) { + this.$this = t0; + this.dialog_item_idx = t1; + }, + DesignDialogFormComponent_dialog_for__closure4: function DesignDialogFormComponent_dialog_for__closure4(t0) { + this.new_value = t0; + }, + DesignDialogFormComponent_dialog_for_closure2: function DesignDialogFormComponent_dialog_for_closure2(t0, t1) { + this.$this = t0; + this.dialog_item_idx = t1; + }, + DesignDialogFormComponent_dialog_for__closure3: function DesignDialogFormComponent_dialog_for__closure3(t0) { + this.new_value = t0; + }, + DesignDialogFormComponent_dialog_for_closure3: function DesignDialogFormComponent_dialog_for_closure3(t0, t1) { + this.$this = t0; + this.dialog_item_idx = t1; + }, + DesignDialogFormComponent_dialog_for__closure2: function DesignDialogFormComponent_dialog_for__closure2(t0) { + this.new_value = t0; + }, + DesignDialogFormComponent_dialog_for_closure4: function DesignDialogFormComponent_dialog_for_closure4(t0, t1, t2) { + this.$this = t0; + this.item = t1; + this.dialog_item_idx = t2; + }, + DesignDialogFormComponent_dialog_for__closure1: function DesignDialogFormComponent_dialog_for__closure1(t0) { + this.selected_radio_idx = t0; + }, + DesignDialogFormComponent_dialog_for_closure5: function DesignDialogFormComponent_dialog_for_closure5(t0, t1, t2) { + this.$this = t0; + this.item = t1; + this.dialog_item_idx = t2; + }, + DesignDialogFormComponent_dialog_for__closure0: function DesignDialogFormComponent_dialog_for__closure0(t0) { + this.selected_radio_idx = t0; + }, + DesignDialogFormComponent_dialog_for_closure6: function DesignDialogFormComponent_dialog_for_closure6(t0, t1, t2) { + this.$this = t0; + this.item = t1; + this.dialog_item_idx = t2; + }, + DesignDialogFormComponent_dialog_for__closure: function DesignDialogFormComponent_dialog_for__closure(t0) { + this.selected_radio_idx = t0; + }, + $DesignDialogFormComponentFactory_closure: function $DesignDialogFormComponentFactory_closure() { + }, + _$$DesignDialogFormProps: function _$$DesignDialogFormProps() { + }, + _$$DesignDialogFormProps$PlainMap: function _$$DesignDialogFormProps$PlainMap(t0, t1, t2, t3) { + var _ = this; + _._design_dialog_form$_props = t0; + _.DesignDialogFormProps_dialog = t1; + _.componentFactory = null; + _.UbiquitousDomPropsMixin__aria = t2; + _.UbiquitousDomPropsMixin__dom = t3; + }, + _$$DesignDialogFormProps$JsMap: function _$$DesignDialogFormProps$JsMap(t0, t1, t2, t3) { + var _ = this; + _._design_dialog_form$_props = t0; + _.DesignDialogFormProps_dialog = t1; + _.componentFactory = null; + _.UbiquitousDomPropsMixin__aria = t2; + _.UbiquitousDomPropsMixin__dom = t3; + }, + _$$DesignDialogFormState: function _$$DesignDialogFormState() { + }, + _$$DesignDialogFormState$JsMap: function _$$DesignDialogFormState$JsMap(t0, t1, t2, t3) { + var _ = this; + _._design_dialog_form$_state = t0; + _.DesignDialogFormState_current_responses = t1; + _.DesignDialogFormState_dialog_type = t2; + _.DesignDialogFormState_saved_responses = t3; + }, + _$DesignDialogFormComponent: function _$DesignDialogFormComponent(t0) { + var _ = this; + _._design_dialog_form$_cachedTypedState = _._design_dialog_form$_cachedTypedProps = null; + _.DisposableManagerProxy__disposableProxy = t0; + _.jsThis = _.state = _.props = null; + }, + $DesignDialogFormProps: function $DesignDialogFormProps() { + }, + $DesignDialogFormState: function $DesignDialogFormState() { + }, + _DesignDialogFormComponent_UiStatefulComponent2_PureComponent: function _DesignDialogFormComponent_UiStatefulComponent2_PureComponent() { + }, + __$$DesignDialogFormProps_UiProps_DesignDialogFormProps: function __$$DesignDialogFormProps_UiProps_DesignDialogFormProps() { + }, + __$$DesignDialogFormProps_UiProps_DesignDialogFormProps_$DesignDialogFormProps: function __$$DesignDialogFormProps_UiProps_DesignDialogFormProps_$DesignDialogFormProps() { + }, + __$$DesignDialogFormState_UiState_DesignDialogFormState: function __$$DesignDialogFormState_UiState_DesignDialogFormState() { + }, + __$$DesignDialogFormState_UiState_DesignDialogFormState_$DesignDialogFormState: function __$$DesignDialogFormState_UiState_DesignDialogFormState_$DesignDialogFormState() { + }, + _$DesignMainPotentialVerticalCrossovers: function(backingProps) { + type$.legacy_Map_dynamic_dynamic._as(backingProps); + return backingProps == null ? S._$$DesignMainPotentialVerticalCrossoversProps$JsMap$(new L.JsBackedMap({})) : S._$$DesignMainPotentialVerticalCrossoversProps__$$DesignMainPotentialVerticalCrossoversProps(backingProps); + }, + _$$DesignMainPotentialVerticalCrossoversProps__$$DesignMainPotentialVerticalCrossoversProps: function(backingMap) { + var t1, _null = null; + if (backingMap instanceof L.JsBackedMap) + return S._$$DesignMainPotentialVerticalCrossoversProps$JsMap$(backingMap); + else { + t1 = type$.dynamic; + t1 = new S._$$DesignMainPotentialVerticalCrossoversProps$PlainMap(P.LinkedHashMap_LinkedHashMap$_empty(t1, t1), _null, _null, _null, _null, _null, _null, _null, _null, _null); + t1.get$$$isClassGenerated(); + t1._design_main_potential_vertical_crossovers$_props = backingMap; + return t1; + } + }, + _$$DesignMainPotentialVerticalCrossoversProps$JsMap$: function(backingMap) { + var _null = null, + t1 = new S._$$DesignMainPotentialVerticalCrossoversProps$JsMap(new L.JsBackedMap({}), _null, _null, _null, _null, _null, _null, _null, _null, _null); + t1.get$$$isClassGenerated(); + t1._design_main_potential_vertical_crossovers$_props = backingMap == null ? new L.JsBackedMap({}) : backingMap; + return t1; + }, + DesignMainPotentialVerticalCrossoversProps: function DesignMainPotentialVerticalCrossoversProps() { + }, + DesignMainPotentialVerticalCrossoversComponent: function DesignMainPotentialVerticalCrossoversComponent() { + }, + DesignMainPotentialVerticalCrossoversComponent_render_closure: function DesignMainPotentialVerticalCrossoversComponent_render_closure(t0, t1) { + this.idx_top = t0; + this.idx_bot = t1; + }, + $DesignMainPotentialVerticalCrossoversComponentFactory_closure: function $DesignMainPotentialVerticalCrossoversComponentFactory_closure() { + }, + _$$DesignMainPotentialVerticalCrossoversProps: function _$$DesignMainPotentialVerticalCrossoversProps() { + }, + _$$DesignMainPotentialVerticalCrossoversProps$PlainMap: function _$$DesignMainPotentialVerticalCrossoversProps$PlainMap(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9) { + var _ = this; + _._design_main_potential_vertical_crossovers$_props = t0; + _.DesignMainPotentialVerticalCrossoversProps_potential_vertical_crossovers = t1; + _.DesignMainPotentialVerticalCrossoversProps_helices = t2; + _.DesignMainPotentialVerticalCrossoversProps_groups = t3; + _.DesignMainPotentialVerticalCrossoversProps_geometry = t4; + _.DesignMainPotentialVerticalCrossoversProps_only_display_selected_helices = t5; + _.DesignMainPotentialVerticalCrossoversProps_side_selected_helix_idxs = t6; + _.DesignMainPotentialVerticalCrossoversProps_helix_idx_to_svg_position_y_map = t7; + _.componentFactory = null; + _.UbiquitousDomPropsMixin__aria = t8; + _.UbiquitousDomPropsMixin__dom = t9; + }, + _$$DesignMainPotentialVerticalCrossoversProps$JsMap: function _$$DesignMainPotentialVerticalCrossoversProps$JsMap(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9) { + var _ = this; + _._design_main_potential_vertical_crossovers$_props = t0; + _.DesignMainPotentialVerticalCrossoversProps_potential_vertical_crossovers = t1; + _.DesignMainPotentialVerticalCrossoversProps_helices = t2; + _.DesignMainPotentialVerticalCrossoversProps_groups = t3; + _.DesignMainPotentialVerticalCrossoversProps_geometry = t4; + _.DesignMainPotentialVerticalCrossoversProps_only_display_selected_helices = t5; + _.DesignMainPotentialVerticalCrossoversProps_side_selected_helix_idxs = t6; + _.DesignMainPotentialVerticalCrossoversProps_helix_idx_to_svg_position_y_map = t7; + _.componentFactory = null; + _.UbiquitousDomPropsMixin__aria = t8; + _.UbiquitousDomPropsMixin__dom = t9; + }, + _$DesignMainPotentialVerticalCrossoversComponent: function _$DesignMainPotentialVerticalCrossoversComponent(t0) { + var _ = this; + _._design_main_potential_vertical_crossovers$_cachedTypedProps = null; + _.DisposableManagerProxy__disposableProxy = t0; + _.jsThis = _.state = _.props = null; + }, + $DesignMainPotentialVerticalCrossoversProps: function $DesignMainPotentialVerticalCrossoversProps() { + }, + __$$DesignMainPotentialVerticalCrossoversProps_UiProps_DesignMainPotentialVerticalCrossoversProps: function __$$DesignMainPotentialVerticalCrossoversProps_UiProps_DesignMainPotentialVerticalCrossoversProps() { + }, + __$$DesignMainPotentialVerticalCrossoversProps_UiProps_DesignMainPotentialVerticalCrossoversProps_$DesignMainPotentialVerticalCrossoversProps: function __$$DesignMainPotentialVerticalCrossoversProps_UiProps_DesignMainPotentialVerticalCrossoversProps_$DesignMainPotentialVerticalCrossoversProps() { + }, + _$DesignMainStrandAndDomainTexts: function(backingProps) { + type$.legacy_Map_dynamic_dynamic._as(backingProps); + return backingProps == null ? S._$$DesignMainStrandAndDomainTextsProps$JsMap$(new L.JsBackedMap({})) : S._$$DesignMainStrandAndDomainTextsProps__$$DesignMainStrandAndDomainTextsProps(backingProps); + }, + _$$DesignMainStrandAndDomainTextsProps__$$DesignMainStrandAndDomainTextsProps: function(backingMap) { + var t1, _null = null; + if (backingMap instanceof L.JsBackedMap) + return S._$$DesignMainStrandAndDomainTextsProps$JsMap$(backingMap); + else { + t1 = type$.dynamic; + t1 = new S._$$DesignMainStrandAndDomainTextsProps$PlainMap(P.LinkedHashMap_LinkedHashMap$_empty(t1, t1), _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null); + t1.get$$$isClassGenerated(); + t1._design_main_strand_and_domain_texts$_props = backingMap; + return t1; + } + }, + _$$DesignMainStrandAndDomainTextsProps$JsMap$: function(backingMap) { + var _null = null, + t1 = new S._$$DesignMainStrandAndDomainTextsProps$JsMap(new L.JsBackedMap({}), _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null); + t1.get$$$isClassGenerated(); + t1._design_main_strand_and_domain_texts$_props = backingMap == null ? new L.JsBackedMap({}) : backingMap; + return t1; + }, + DesignMainStrandAndDomainTextsPropsMixin: function DesignMainStrandAndDomainTextsPropsMixin() { + }, + DesignMainStrandAndDomainTextsComponent: function DesignMainStrandAndDomainTextsComponent() { + }, + $DesignMainStrandAndDomainTextsComponentFactory_closure: function $DesignMainStrandAndDomainTextsComponentFactory_closure() { + }, + _$$DesignMainStrandAndDomainTextsProps: function _$$DesignMainStrandAndDomainTextsProps() { + }, + _$$DesignMainStrandAndDomainTextsProps$PlainMap: function _$$DesignMainStrandAndDomainTextsProps$PlainMap(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19, t20, t21, t22) { + var _ = this; + _._design_main_strand_and_domain_texts$_props = t0; + _.TransformByHelixGroupPropsMixin_helices = t1; + _.TransformByHelixGroupPropsMixin_groups = t2; + _.TransformByHelixGroupPropsMixin_geometry = t3; + _.DesignMainStrandAndDomainTextsPropsMixin_strand = t4; + _.DesignMainStrandAndDomainTextsPropsMixin_helices = t5; + _.DesignMainStrandAndDomainTextsPropsMixin_groups = t6; + _.DesignMainStrandAndDomainTextsPropsMixin_geometry = t7; + _.DesignMainStrandAndDomainTextsPropsMixin_side_selected_helix_idxs = t8; + _.DesignMainStrandAndDomainTextsPropsMixin_only_display_selected_helices = t9; + _.DesignMainStrandAndDomainTextsPropsMixin_show_dna = t10; + _.DesignMainStrandAndDomainTextsPropsMixin_show_strand_names = t11; + _.DesignMainStrandAndDomainTextsPropsMixin_show_strand_labels = t12; + _.DesignMainStrandAndDomainTextsPropsMixin_show_domain_names = t13; + _.DesignMainStrandAndDomainTextsPropsMixin_show_domain_labels = t14; + _.DesignMainStrandAndDomainTextsPropsMixin_strand_name_font_size = t15; + _.DesignMainStrandAndDomainTextsPropsMixin_strand_label_font_size = t16; + _.DesignMainStrandAndDomainTextsPropsMixin_domain_name_font_size = t17; + _.DesignMainStrandAndDomainTextsPropsMixin_domain_label_font_size = t18; + _.DesignMainStrandAndDomainTextsPropsMixin_helix_idx_to_svg_position = t19; + _.DesignMainStrandAndDomainTextsPropsMixin_context_menu_strand = t20; + _.componentFactory = null; + _.UbiquitousDomPropsMixin__aria = t21; + _.UbiquitousDomPropsMixin__dom = t22; + }, + _$$DesignMainStrandAndDomainTextsProps$JsMap: function _$$DesignMainStrandAndDomainTextsProps$JsMap(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19, t20, t21, t22) { + var _ = this; + _._design_main_strand_and_domain_texts$_props = t0; + _.TransformByHelixGroupPropsMixin_helices = t1; + _.TransformByHelixGroupPropsMixin_groups = t2; + _.TransformByHelixGroupPropsMixin_geometry = t3; + _.DesignMainStrandAndDomainTextsPropsMixin_strand = t4; + _.DesignMainStrandAndDomainTextsPropsMixin_helices = t5; + _.DesignMainStrandAndDomainTextsPropsMixin_groups = t6; + _.DesignMainStrandAndDomainTextsPropsMixin_geometry = t7; + _.DesignMainStrandAndDomainTextsPropsMixin_side_selected_helix_idxs = t8; + _.DesignMainStrandAndDomainTextsPropsMixin_only_display_selected_helices = t9; + _.DesignMainStrandAndDomainTextsPropsMixin_show_dna = t10; + _.DesignMainStrandAndDomainTextsPropsMixin_show_strand_names = t11; + _.DesignMainStrandAndDomainTextsPropsMixin_show_strand_labels = t12; + _.DesignMainStrandAndDomainTextsPropsMixin_show_domain_names = t13; + _.DesignMainStrandAndDomainTextsPropsMixin_show_domain_labels = t14; + _.DesignMainStrandAndDomainTextsPropsMixin_strand_name_font_size = t15; + _.DesignMainStrandAndDomainTextsPropsMixin_strand_label_font_size = t16; + _.DesignMainStrandAndDomainTextsPropsMixin_domain_name_font_size = t17; + _.DesignMainStrandAndDomainTextsPropsMixin_domain_label_font_size = t18; + _.DesignMainStrandAndDomainTextsPropsMixin_helix_idx_to_svg_position = t19; + _.DesignMainStrandAndDomainTextsPropsMixin_context_menu_strand = t20; + _.componentFactory = null; + _.UbiquitousDomPropsMixin__aria = t21; + _.UbiquitousDomPropsMixin__dom = t22; + }, + _$DesignMainStrandAndDomainTextsComponent: function _$DesignMainStrandAndDomainTextsComponent(t0) { + var _ = this; + _._design_main_strand_and_domain_texts$_cachedTypedProps = null; + _.DisposableManagerProxy__disposableProxy = t0; + _.jsThis = _.state = _.props = null; + }, + $DesignMainStrandAndDomainTextsPropsMixin: function $DesignMainStrandAndDomainTextsPropsMixin() { + }, + _DesignMainStrandAndDomainTextsComponent_UiComponent2_PureComponent: function _DesignMainStrandAndDomainTextsComponent_UiComponent2_PureComponent() { + }, + _DesignMainStrandAndDomainTextsComponent_UiComponent2_PureComponent_TransformByHelixGroup: function _DesignMainStrandAndDomainTextsComponent_UiComponent2_PureComponent_TransformByHelixGroup() { + }, + __$$DesignMainStrandAndDomainTextsProps_UiProps_DesignMainStrandAndDomainTextsPropsMixin: function __$$DesignMainStrandAndDomainTextsProps_UiProps_DesignMainStrandAndDomainTextsPropsMixin() { + }, + __$$DesignMainStrandAndDomainTextsProps_UiProps_DesignMainStrandAndDomainTextsPropsMixin_$DesignMainStrandAndDomainTextsPropsMixin: function __$$DesignMainStrandAndDomainTextsProps_UiProps_DesignMainStrandAndDomainTextsPropsMixin_$DesignMainStrandAndDomainTextsPropsMixin() { + }, + __$$DesignMainStrandAndDomainTextsProps_UiProps_DesignMainStrandAndDomainTextsPropsMixin_$DesignMainStrandAndDomainTextsPropsMixin_TransformByHelixGroupPropsMixin: function __$$DesignMainStrandAndDomainTextsProps_UiProps_DesignMainStrandAndDomainTextsPropsMixin_$DesignMainStrandAndDomainTextsPropsMixin_TransformByHelixGroupPropsMixin() { + }, + __$$DesignMainStrandAndDomainTextsProps_UiProps_DesignMainStrandAndDomainTextsPropsMixin_$DesignMainStrandAndDomainTextsPropsMixin_TransformByHelixGroupPropsMixin_$TransformByHelixGroupPropsMixin: function __$$DesignMainStrandAndDomainTextsProps_UiProps_DesignMainStrandAndDomainTextsPropsMixin_$DesignMainStrandAndDomainTextsPropsMixin_TransformByHelixGroupPropsMixin_$TransformByHelixGroupPropsMixin() { + }, + _$DesignMainDNAEnd: function(backingProps) { + type$.legacy_Map_dynamic_dynamic._as(backingProps); + return backingProps == null ? S._$$DesignMainDNAEndProps$JsMap$(new L.JsBackedMap({})) : S._$$DesignMainDNAEndProps__$$DesignMainDNAEndProps(backingProps); + }, + _$$DesignMainDNAEndProps__$$DesignMainDNAEndProps: function(backingMap) { + var t1, _null = null; + if (backingMap instanceof L.JsBackedMap) + return S._$$DesignMainDNAEndProps$JsMap$(backingMap); + else { + t1 = type$.dynamic; + t1 = new S._$$DesignMainDNAEndProps$PlainMap(P.LinkedHashMap_LinkedHashMap$_empty(t1, t1), _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null); + t1.get$$$isClassGenerated(); + t1._design_main_strand_dna_end$_props = backingMap; + return t1; + } + }, + _$$DesignMainDNAEndProps$JsMap$: function(backingMap) { + var _null = null, + t1 = new S._$$DesignMainDNAEndProps$JsMap(new L.JsBackedMap({}), _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null); + t1.get$$$isClassGenerated(); + t1._design_main_strand_dna_end$_props = backingMap == null ? new L.JsBackedMap({}) : backingMap; + return t1; + }, + DesignMainDNAEndPropsMixin: function DesignMainDNAEndPropsMixin() { + }, + DesignMainDNAEndComponent: function DesignMainDNAEndComponent() { + }, + $DesignMainDNAEndComponentFactory_closure: function $DesignMainDNAEndComponentFactory_closure() { + }, + _$$DesignMainDNAEndProps: function _$$DesignMainDNAEndProps() { + }, + _$$DesignMainDNAEndProps$PlainMap: function _$$DesignMainDNAEndProps$PlainMap(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19) { + var _ = this; + _._design_main_strand_dna_end$_props = t0; + _.DesignMainDNAEndPropsMixin_strand = t1; + _.DesignMainDNAEndPropsMixin_domain = t2; + _.DesignMainDNAEndPropsMixin_ext = t3; + _.DesignMainDNAEndPropsMixin_strand_color = t4; + _.DesignMainDNAEndPropsMixin_is_5p = t5; + _.DesignMainDNAEndPropsMixin_is_scaffold = t6; + _.DesignMainDNAEndPropsMixin_is_on_extension = t7; + _.DesignMainDNAEndPropsMixin_transform = t8; + _.DesignMainDNAEndPropsMixin_helix = t9; + _.DesignMainDNAEndPropsMixin_group = t10; + _.DesignMainDNAEndPropsMixin_geometry = t11; + _.DesignMainDNAEndPropsMixin_selected = t12; + _.DesignMainDNAEndPropsMixin_context_menu_strand = t13; + _.DesignMainDNAEndPropsMixin_drawing_potential_crossover = t14; + _.DesignMainDNAEndPropsMixin_moving_this_dna_end = t15; + _.DesignMainDNAEndPropsMixin_helix_svg_position = t16; + _.DesignMainDNAEndPropsMixin_retain_strand_color_on_selection = t17; + _.componentFactory = null; + _.UbiquitousDomPropsMixin__aria = t18; + _.UbiquitousDomPropsMixin__dom = t19; + }, + _$$DesignMainDNAEndProps$JsMap: function _$$DesignMainDNAEndProps$JsMap(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19) { + var _ = this; + _._design_main_strand_dna_end$_props = t0; + _.DesignMainDNAEndPropsMixin_strand = t1; + _.DesignMainDNAEndPropsMixin_domain = t2; + _.DesignMainDNAEndPropsMixin_ext = t3; + _.DesignMainDNAEndPropsMixin_strand_color = t4; + _.DesignMainDNAEndPropsMixin_is_5p = t5; + _.DesignMainDNAEndPropsMixin_is_scaffold = t6; + _.DesignMainDNAEndPropsMixin_is_on_extension = t7; + _.DesignMainDNAEndPropsMixin_transform = t8; + _.DesignMainDNAEndPropsMixin_helix = t9; + _.DesignMainDNAEndPropsMixin_group = t10; + _.DesignMainDNAEndPropsMixin_geometry = t11; + _.DesignMainDNAEndPropsMixin_selected = t12; + _.DesignMainDNAEndPropsMixin_context_menu_strand = t13; + _.DesignMainDNAEndPropsMixin_drawing_potential_crossover = t14; + _.DesignMainDNAEndPropsMixin_moving_this_dna_end = t15; + _.DesignMainDNAEndPropsMixin_helix_svg_position = t16; + _.DesignMainDNAEndPropsMixin_retain_strand_color_on_selection = t17; + _.componentFactory = null; + _.UbiquitousDomPropsMixin__aria = t18; + _.UbiquitousDomPropsMixin__dom = t19; + }, + _$DesignMainDNAEndComponent: function _$DesignMainDNAEndComponent(t0) { + var _ = this; + _._design_main_strand_dna_end$_cachedTypedProps = null; + _.DisposableManagerProxy__disposableProxy = t0; + _.jsThis = _.state = _.props = null; + }, + $DesignMainDNAEndPropsMixin: function $DesignMainDNAEndPropsMixin() { + }, + _DesignMainDNAEndComponent_UiComponent2_PureComponent: function _DesignMainDNAEndComponent_UiComponent2_PureComponent() { + }, + __$$DesignMainDNAEndProps_UiProps_DesignMainDNAEndPropsMixin: function __$$DesignMainDNAEndProps_UiProps_DesignMainDNAEndPropsMixin() { + }, + __$$DesignMainDNAEndProps_UiProps_DesignMainDNAEndPropsMixin_$DesignMainDNAEndPropsMixin: function __$$DesignMainDNAEndProps_UiProps_DesignMainDNAEndPropsMixin_$DesignMainDNAEndPropsMixin() { + }, + _$DesignMainStrandLoopoutText: function(backingProps) { + type$.legacy_Map_dynamic_dynamic._as(backingProps); + return backingProps == null ? S._$$DesignMainStrandLoopoutTextProps$JsMap$(new L.JsBackedMap({})) : S._$$DesignMainStrandLoopoutTextProps__$$DesignMainStrandLoopoutTextProps(backingProps); + }, + _$$DesignMainStrandLoopoutTextProps__$$DesignMainStrandLoopoutTextProps: function(backingMap) { + var t1, _null = null; + if (backingMap instanceof L.JsBackedMap) + return S._$$DesignMainStrandLoopoutTextProps$JsMap$(backingMap); + else { + t1 = type$.dynamic; + t1 = new S._$$DesignMainStrandLoopoutTextProps$PlainMap(P.LinkedHashMap_LinkedHashMap$_empty(t1, t1), _null, _null, _null, _null, _null, _null, _null, _null, _null, _null); + t1.get$$$isClassGenerated(); + t1._design_main_strand_loopout_name$_props = backingMap; + return t1; + } + }, + _$$DesignMainStrandLoopoutTextProps$JsMap$: function(backingMap) { + var _null = null, + t1 = new S._$$DesignMainStrandLoopoutTextProps$JsMap(new L.JsBackedMap({}), _null, _null, _null, _null, _null, _null, _null, _null, _null, _null); + t1.get$$$isClassGenerated(); + t1._design_main_strand_loopout_name$_props = backingMap == null ? new L.JsBackedMap({}) : backingMap; + return t1; + }, + DesignMainStrandLoopoutTextPropsMixin: function DesignMainStrandLoopoutTextPropsMixin() { + }, + DesignMainStrandLoopoutTextComponent: function DesignMainStrandLoopoutTextComponent() { + }, + $DesignMainStrandLoopoutTextComponentFactory_closure: function $DesignMainStrandLoopoutTextComponentFactory_closure() { + }, + _$$DesignMainStrandLoopoutTextProps: function _$$DesignMainStrandLoopoutTextProps() { + }, + _$$DesignMainStrandLoopoutTextProps$PlainMap: function _$$DesignMainStrandLoopoutTextProps$PlainMap(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10) { + var _ = this; + _._design_main_strand_loopout_name$_props = t0; + _.DesignMainStrandLoopoutTextPropsMixin_loopout = t1; + _.DesignMainStrandLoopoutTextPropsMixin_geometry = t2; + _.DesignMainStrandLoopoutTextPropsMixin_prev_domain = t3; + _.DesignMainStrandLoopoutTextPropsMixin_next_domain = t4; + _.DesignMainStrandLoopoutTextPropsMixin_text = t5; + _.DesignMainStrandLoopoutTextPropsMixin_css_selector_text = t6; + _.DesignMainStrandLoopoutTextPropsMixin_num_stacked = t7; + _.DesignMainStrandLoopoutTextPropsMixin_font_size = t8; + _.componentFactory = null; + _.UbiquitousDomPropsMixin__aria = t9; + _.UbiquitousDomPropsMixin__dom = t10; + }, + _$$DesignMainStrandLoopoutTextProps$JsMap: function _$$DesignMainStrandLoopoutTextProps$JsMap(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10) { + var _ = this; + _._design_main_strand_loopout_name$_props = t0; + _.DesignMainStrandLoopoutTextPropsMixin_loopout = t1; + _.DesignMainStrandLoopoutTextPropsMixin_geometry = t2; + _.DesignMainStrandLoopoutTextPropsMixin_prev_domain = t3; + _.DesignMainStrandLoopoutTextPropsMixin_next_domain = t4; + _.DesignMainStrandLoopoutTextPropsMixin_text = t5; + _.DesignMainStrandLoopoutTextPropsMixin_css_selector_text = t6; + _.DesignMainStrandLoopoutTextPropsMixin_num_stacked = t7; + _.DesignMainStrandLoopoutTextPropsMixin_font_size = t8; + _.componentFactory = null; + _.UbiquitousDomPropsMixin__aria = t9; + _.UbiquitousDomPropsMixin__dom = t10; + }, + _$DesignMainStrandLoopoutTextComponent: function _$DesignMainStrandLoopoutTextComponent(t0) { + var _ = this; + _._design_main_strand_loopout_name$_cachedTypedProps = null; + _.DisposableManagerProxy__disposableProxy = t0; + _.jsThis = _.state = _.props = null; + }, + $DesignMainStrandLoopoutTextPropsMixin: function $DesignMainStrandLoopoutTextPropsMixin() { + }, + _DesignMainStrandLoopoutTextComponent_UiComponent2_PureComponent: function _DesignMainStrandLoopoutTextComponent_UiComponent2_PureComponent() { + }, + __$$DesignMainStrandLoopoutTextProps_UiProps_DesignMainStrandLoopoutTextPropsMixin: function __$$DesignMainStrandLoopoutTextProps_UiProps_DesignMainStrandLoopoutTextPropsMixin() { + }, + __$$DesignMainStrandLoopoutTextProps_UiProps_DesignMainStrandLoopoutTextPropsMixin_$DesignMainStrandLoopoutTextPropsMixin: function __$$DesignMainStrandLoopoutTextProps_UiProps_DesignMainStrandLoopoutTextPropsMixin_$DesignMainStrandLoopoutTextPropsMixin() { + }, + _$DesignSideArrows: function(backingProps) { + type$.legacy_Map_dynamic_dynamic._as(backingProps); + return backingProps == null ? S._$$DesignSideArrowsProps$JsMap$(new L.JsBackedMap({})) : S._$$DesignSideArrowsProps__$$DesignSideArrowsProps(backingProps); + }, + _$$DesignSideArrowsProps__$$DesignSideArrowsProps: function(backingMap) { + var t1, _null = null; + if (backingMap instanceof L.JsBackedMap) + return S._$$DesignSideArrowsProps$JsMap$(backingMap); + else { + t1 = type$.dynamic; + t1 = new S._$$DesignSideArrowsProps$PlainMap(P.LinkedHashMap_LinkedHashMap$_empty(t1, t1), _null, _null, _null, _null); + t1.get$$$isClassGenerated(); + t1._design_side_arrows$_props = backingMap; + return t1; + } + }, + _$$DesignSideArrowsProps$JsMap$: function(backingMap) { + var _null = null, + t1 = new S._$$DesignSideArrowsProps$JsMap(new L.JsBackedMap({}), _null, _null, _null, _null); + t1.get$$$isClassGenerated(); + t1._design_side_arrows$_props = backingMap == null ? new L.JsBackedMap({}) : backingMap; + return t1; + }, + ConnectedDesignSideArrows_closure: function ConnectedDesignSideArrows_closure() { + }, + DesignSideArrowsProps: function DesignSideArrowsProps() { + }, + DesignMainArrowsComponent0: function DesignMainArrowsComponent0() { + }, + $DesignMainArrowsComponentFactory_closure: function $DesignMainArrowsComponentFactory_closure() { + }, + _$$DesignSideArrowsProps: function _$$DesignSideArrowsProps() { + }, + _$$DesignSideArrowsProps$PlainMap: function _$$DesignSideArrowsProps$PlainMap(t0, t1, t2, t3, t4) { + var _ = this; + _._design_side_arrows$_props = t0; + _.DesignSideArrowsProps_invert_y = t1; + _.DesignSideArrowsProps_show_helices_axis_arrows = t2; + _.componentFactory = null; + _.UbiquitousDomPropsMixin__aria = t3; + _.UbiquitousDomPropsMixin__dom = t4; + }, + _$$DesignSideArrowsProps$JsMap: function _$$DesignSideArrowsProps$JsMap(t0, t1, t2, t3, t4) { + var _ = this; + _._design_side_arrows$_props = t0; + _.DesignSideArrowsProps_invert_y = t1; + _.DesignSideArrowsProps_show_helices_axis_arrows = t2; + _.componentFactory = null; + _.UbiquitousDomPropsMixin__aria = t3; + _.UbiquitousDomPropsMixin__dom = t4; + }, + _$DesignMainArrowsComponent: function _$DesignMainArrowsComponent(t0) { + var _ = this; + _._design_side_arrows$_cachedTypedProps = null; + _.DisposableManagerProxy__disposableProxy = t0; + _.jsThis = _.state = _.props = null; + }, + $DesignSideArrowsProps: function $DesignSideArrowsProps() { + }, + __$$DesignSideArrowsProps_UiProps_DesignSideArrowsProps: function __$$DesignSideArrowsProps_UiProps_DesignSideArrowsProps() { + }, + __$$DesignSideArrowsProps_UiProps_DesignSideArrowsProps_$DesignSideArrowsProps: function __$$DesignSideArrowsProps_UiProps_DesignSideArrowsProps_$DesignSideArrowsProps() { + }, + Tuple2: function Tuple2(t0, t1, t2) { + this.item1 = t0; + this.item2 = t1; + this.$ti = t2; + }, + Tuple3: function Tuple3(t0, t1, t2, t3) { + var _ = this; + _.item1 = t0; + _.item2 = t1; + _.item3 = t2; + _.$ti = t3; + }, + Tuple5: function Tuple5(t0, t1, t2, t3, t4, t5) { + var _ = this; + _.item1 = t0; + _.item2 = t1; + _.item3 = t2; + _.item4 = t3; + _.item5 = t4; + _.$ti = t5; + }, + XmlEntityMapping: function XmlEntityMapping() { + }, + XmlDocument_XmlDocument$parse: function(input) { + var t1, t2, lineAndColumn, t3, t4, + result = $.$get$documentParserCache().$index(0, C.C_XmlDefaultEntityMapping).parseOn$1(new M.Context1(input, 0)); + if (result.get$isFailure()) { + t1 = result.buffer; + t2 = result.position; + lineAndColumn = L.Token_lineAndColumnOf(t1, t2); + t3 = result.get$message(result); + t4 = lineAndColumn[0]; + throw H.wrapException(T.XmlParserException$(t3, t1, lineAndColumn[1], t4, t2)); + } + return type$.XmlDocument._as(result.get$value(result)); + }, + XmlDocument$: function(childrenIterable) { + var t1 = B.XmlNodeList$(type$.XmlNode), + t2 = new S.XmlDocument(t1); + type$.Set_XmlNodeType._as(C.Set_QYFY4); + if (t1.__XmlNodeList__parent === $) + t1.__XmlNodeList__parent = t2; + else + H.throwExpression(H.LateError$fieldAI("_parent")); + t1.set$_nodeTypes(C.Set_QYFY4); + t1.addAll$1(0, childrenIterable); + return t2; + }, + XmlDocument: function XmlDocument(t0) { + this.XmlHasChildren_children = t0; + }, + XmlDocument_copy_closure: function XmlDocument_copy_closure() { + }, + documentParserCache_closure: function documentParserCache_closure() { + }, + _XmlDocument_XmlNode_XmlHasChildren: function _XmlDocument_XmlNode_XmlHasChildren() { + }, + insertion_deletion_batching_middleware: function(store, action, next) { + var other_domains, t1, t2, t3, _i, paired_domain; + type$.legacy_Store_legacy_AppState._as(store); + type$.legacy_dynamic_Function_dynamic._as(next); + if (type$.legacy_InsertionOrDeletionAction._is(action)) + if (action.get$all_helices()) { + other_domains = S.find_other_domains(store.get$state(store).design, action.get$domain(action), action.get$offset(action)); + if (other_domains.length === 0) + next.call$1(action); + else { + t1 = type$.JSArray_legacy_InsertionOrDeletionAction; + t2 = H.setRuntimeTypeInfo([], t1); + for (t3 = other_domains.length, _i = 0; _i < other_domains.length; other_domains.length === t3 || (0, H.throwConcurrentModificationError)(other_domains), ++_i) + t2.push(action.clone_for_other_domain$1(other_domains[_i])); + store.dispatch$1(U.BatchAction_BatchAction(C.JSArray_methods.$add(H.setRuntimeTypeInfo([action], t1), t2), action.short_description$0())); + } + } else { + paired_domain = S.find_paired_domain(store.get$state(store).design, action.get$domain(action), action.get$offset(action)); + if (paired_domain == null) + next.call$1(action); + else + store.dispatch$1(U.BatchAction_BatchAction(H.setRuntimeTypeInfo([action, action.clone_for_other_domain$1(paired_domain)], type$.JSArray_legacy_UndoableAction), action.short_description$0())); + } + else + next.call$1(action); + }, + find_other_domains: function(design, domain, offset) { + var t1, group_name, helix_idxs_in_group, other_domains, t2, t3, paired_domain; + design.toString; + t1 = domain.helix; + group_name = J.$index$asx(design.helices._map$_map, t1).group; + helix_idxs_in_group = J.$index$asx(design.get$helix_idxs_in_group()._map$_map, group_name); + other_domains = H.setRuntimeTypeInfo([], type$.JSArray_legacy_Domain); + for (t2 = J.get$iterator$ax(helix_idxs_in_group._list); t2.moveNext$0();) { + t3 = t2.get$current(t2); + if (t3 === t1) { + paired_domain = S.find_paired_domain(design, domain, offset); + if (paired_domain != null) + C.JSArray_methods.add$1(other_domains, paired_domain); + } else + C.JSArray_methods.addAll$1(other_domains, design.domains_on_helix_at_offset_internal$2(t3, offset)); + } + return other_domains; + }, + find_paired_domain: function(design, domain, offset) { + var t1, t2; + for (t1 = design.domains_on_helix_at_offset_internal$2(domain.helix, offset)._set, t1 = t1.get$iterator(t1); t1.moveNext$0();) { + t2 = t1.get$current(t1); + if (!J.$eq$(t2, domain)) + return t2; + } + return null; + } + }, + M = { + SetMultimapBuilder_SetMultimapBuilder: function($K, $V) { + var t1 = new M.SetMultimapBuilder($K._eval$1("@<0>")._bind$1($V)._eval$1("SetMultimapBuilder<1,2>")); + t1.replace$1(0, C.Map_empty); + return t1; + }, + BuiltSetMultimap: function BuiltSetMultimap() { + }, + BuiltSetMultimap_hashCode_closure: function BuiltSetMultimap_hashCode_closure(t0) { + this.$this = t0; + }, + _BuiltSetMultimap: function _BuiltSetMultimap(t0, t1, t2) { + var _ = this; + _._set_multimap$_map = t0; + _._emptySet = t1; + _._set_multimap$_keys = _._set_multimap$_hashCode = null; + _.$ti = t2; + }, + SetMultimapBuilder: function SetMultimapBuilder(t0) { + var _ = this; + _.__SetMultimapBuilder__builtMap = $; + _._builtMapOwner = null; + _.__SetMultimapBuilder__builderMap = $; + _.$ti = t0; + }, + SetMultimapBuilder_replace_closure: function SetMultimapBuilder_replace_closure(t0) { + this.multimap = t0; + }, + StringSerializer: function StringSerializer(t0) { + this.types = t0; + }, + CanonicalizedMap: function CanonicalizedMap() { + }, + CanonicalizedMap_addAll_closure: function CanonicalizedMap_addAll_closure(t0) { + this.$this = t0; + }, + CanonicalizedMap_entries_closure: function CanonicalizedMap_entries_closure(t0) { + this.$this = t0; + }, + CanonicalizedMap_forEach_closure: function CanonicalizedMap_forEach_closure(t0, t1) { + this.$this = t0; + this.f = t1; + }, + CanonicalizedMap_keys_closure: function CanonicalizedMap_keys_closure(t0) { + this.$this = t0; + }, + CanonicalizedMap_map_closure: function CanonicalizedMap_map_closure(t0, t1, t2, t3) { + var _ = this; + _.$this = t0; + _.transform = t1; + _.K2 = t2; + _.V2 = t3; + }, + CanonicalizedMap_removeWhere_closure: function CanonicalizedMap_removeWhere_closure(t0, t1) { + this.$this = t0; + this.test = t1; + }, + CanonicalizedMap_values_closure: function CanonicalizedMap_values_closure(t0) { + this.$this = t0; + }, + _DelegatingIterableBase: function _DelegatingIterableBase() { + }, + DelegatingList: function DelegatingList() { + }, + NotSpecified: function NotSpecified() { + }, + Context_Context$fromReactDartContext: function(reactDartContext, TValue) { + return new M.Context2(reactDartContext, TValue._eval$1("Context2<0*>")); + }, + createContext: function(TValue) { + var t1 = TValue._eval$1("0*"); + return M.Context_Context$fromReactDartContext(M.createContext0(null, null, t1), t1); + }, + Context2: function Context2(t0, t1) { + this.reactDartContext = t0; + this.$ti = t1; + }, + _indentString: function(str) { + return new H.MappedListIterable(H.setRuntimeTypeInfo(str.split("\n"), type$.JSArray_String), type$.legacy_String_Function_String._as(new M._indentString_closure()), type$.MappedListIterable_of_String_and_legacy_String).join$1(0, "\n"); + }, + _prettyObj: function(obj) { + var items, t1, namespacedKeys, otherKeys, pairs, t2, t3, trailingComma; + if (type$.legacy_List_dynamic._is(obj)) { + items = J.map$1$1$ax(obj, M.pretty_print___prettyObj$closure(), type$.legacy_String).toList$0(0); + if (items.length > 4 || C.JSArray_methods.any$1(items, new M._prettyObj_closure())) + return "[\n" + M._indentString(C.JSArray_methods.join$1(items, ",\n")) + "\n]"; + else + return "[" + C.JSArray_methods.join$1(items, ", ") + "]"; + } else if (type$.legacy_Map_dynamic_dynamic._is(obj)) { + t1 = type$.legacy_String; + namespacedKeys = P.LinkedHashMap_LinkedHashMap$_empty(t1, type$.legacy_List_legacy_String); + otherKeys = []; + J.forEach$1$ax(J.get$keys$x(obj), new M._prettyObj_closure0(namespacedKeys, otherKeys)); + pairs = H.setRuntimeTypeInfo([], type$.JSArray_legacy_String); + t2 = namespacedKeys.get$keys(namespacedKeys); + t3 = H._instanceType(t2); + C.JSArray_methods.addAll$1(pairs, H.MappedIterable_MappedIterable(t2, t3._eval$1("String*(Iterable.E)")._as(new M._prettyObj_closure1(obj, namespacedKeys)), t3._eval$1("Iterable.E"), t1)); + t1 = H._arrayInstanceType(otherKeys); + C.JSArray_methods.addAll$1(pairs, new H.MappedListIterable(otherKeys, t1._eval$1("String*(1)")._as(new M._prettyObj_closure2(obj)), t1._eval$1("MappedListIterable<1,String*>"))); + trailingComma = P.RegExp_RegExp("\\s*,\\s*$", true); + if (pairs.length > 1 || C.JSArray_methods.any$1(pairs, new M._prettyObj_closure3())) + return "{\n" + C.JSString_methods.replaceFirst$2(M._indentString(C.JSArray_methods.join$1(pairs, "\n")), trailingComma, "") + "\n}"; + else + return "{" + C.JSString_methods.replaceFirst$2(C.JSArray_methods.join$1(pairs, " "), trailingComma, "") + "}"; + } else + return J.toString$0$(obj); + }, + _indentString_closure: function _indentString_closure() { + }, + _prettyObj_closure: function _prettyObj_closure() { + }, + _prettyObj_closure0: function _prettyObj_closure0(t0, t1) { + this.namespacedKeys = t0; + this.otherKeys = t1; + }, + _prettyObj_closure1: function _prettyObj_closure1(t0, t1) { + this.obj = t0; + this.namespacedKeys = t1; + }, + _prettyObj_closure_renderSubKey: function _prettyObj_closure_renderSubKey(t0, t1) { + this.namespace = t0; + this.obj = t1; + }, + _prettyObj__closure: function _prettyObj__closure() { + }, + _prettyObj_closure2: function _prettyObj_closure2(t0) { + this.obj = t0; + }, + _prettyObj_closure3: function _prettyObj_closure3() { + }, + _parseUri: function(uri) { + if (type$.Uri._is(uri)) + return uri; + throw H.wrapException(P.ArgumentError$value(uri, "uri", "Value must be a String or a Uri")); + }, + _validateArgList: function(method, args) { + var numArgs, i, numArgs0, message, t1, t2, t3, t4; + for (numArgs = args.length, i = 1; i < numArgs; ++i) { + if (args[i] == null || args[i - 1] != null) + continue; + for (; numArgs >= 1; numArgs = numArgs0) { + numArgs0 = numArgs - 1; + if (args[numArgs0] != null) + break; + } + message = new P.StringBuffer(""); + t1 = method + "("; + message._contents = t1; + t2 = H._arrayInstanceType(args); + t3 = t2._eval$1("SubListIterable<1>"); + t4 = new H.SubListIterable(args, 0, numArgs, t3); + t4.SubListIterable$3(args, 0, numArgs, t2._precomputed1); + t3 = t1 + new H.MappedListIterable(t4, t3._eval$1("String(ListIterable.E)")._as(new M._validateArgList_closure()), t3._eval$1("MappedListIterable")).join$1(0, ", "); + message._contents = t3; + message._contents = t3 + ("): part " + (i - 1) + " was null, but part " + i + " was not."); + throw H.wrapException(P.ArgumentError$(message.toString$0(0))); + } + }, + Context0: function Context0(t0) { + this.style = t0; + }, + Context_joinAll_closure: function Context_joinAll_closure() { + }, + Context_split_closure: function Context_split_closure() { + }, + _validateArgList_closure: function _validateArgList_closure() { + }, + Context1: function Context1(t0, t1) { + this.buffer = t0; + this.position = t1; + }, + OptionalParserExtension_optional: function(_this, $T) { + return new M.OptionalParser(null, _this, $T._eval$1("OptionalParser<0?>")); + }, + OptionalParser: function OptionalParser(t0, t1, t2) { + this.otherwise = t0; + this.delegate = t1; + this.$ti = t2; + }, + createContext0: function(defaultValue, calculateChangedBits, TValue) { + var JSContext, t1, jsContextHolder = {}; + jsContextHolder[self._reactDartContextSymbol] = F.DartValueWrapper_wrapIfNeeded(defaultValue); + JSContext = self.React.createContext(jsContextHolder, calculateChangedBits != null ? P.allowInterop(new M.createContext_jsifyCalculateChangedBitsArgs(calculateChangedBits, TValue), type$.legacy_legacy_int_Function_dynamic_dynamic) : null); + t1 = J.getInterceptor$x(JSContext); + return new M.Context(JSContext, A.ReactJsContextComponentFactoryProxy$(t1.get$Provider(JSContext), false, true, true), A.ReactJsContextComponentFactoryProxy$(t1.get$Consumer(JSContext), true, false, true), TValue._eval$1("Context<0*>")); + }, + ContextHelpers_unjsifyNewContext: function(interopContext) { + if (interopContext != null && self._reactDartContextSymbol in interopContext) + return F.DartValueWrapper_unwrapIfNeeded(interopContext[self._reactDartContextSymbol]); + return interopContext; + }, + Context: function Context(t0, t1, t2, t3) { + var _ = this; + _._jsThis = t0; + _.Provider = t1; + _.Consumer = t2; + _.$ti = t3; + }, + createContext_jsifyCalculateChangedBitsArgs: function createContext_jsifyCalculateChangedBitsArgs(t0, t1) { + this.calculateChangedBits = t0; + this.TValue = t1; + }, + assign_domain_name_complement_from_bound_strands_reducer: function(strands, state, action) { + var computed_domains, t1, t2, all_strands, t3, t4, strand_to_assign, strand_to_assign_idx, t5, t6; + type$.legacy_BuiltList_legacy_Strand._as(strands); + type$.legacy_AppState._as(state); + type$.legacy_AssignDomainNameComplementFromBoundStrands._as(action); + computed_domains = H.setRuntimeTypeInfo([], type$.JSArray_legacy_Domain); + t1 = strands._list; + t2 = H._instanceType(strands); + all_strands = new Q.CopyOnWriteList(true, t1, t2._eval$1("CopyOnWriteList<1>")); + for (t3 = J.get$iterator$ax(action.strands._list), t2 = t2._precomputed1, t4 = J.getInterceptor$asx(t1); t3.moveNext$0();) { + strand_to_assign = t3.get$current(t3); + strand_to_assign_idx = t4.indexOf$2(t1, t2._as(strand_to_assign), 0); + t5 = state.design; + t6 = t5.__strands_overlapping; + if (t6 == null) { + t6 = N.Design.prototype.get$strands_overlapping.call(t5); + t5.set$__strands_overlapping(t6); + t5 = t6; + } else + t5 = t6; + t5 = J.get$iterator$ax(J.$index$asx(t5._map$_map, strand_to_assign)._list); + for (; t5.moveNext$0();) + strand_to_assign = M.compute_domain_name_complements(strand_to_assign, t5.get$current(t5), computed_domains); + t2._as(strand_to_assign); + all_strands._copy_on_write_list$_maybeCopyBeforeWrite$0(); + J.$indexSet$ax(all_strands._copy_on_write_list$_list, strand_to_assign_idx, strand_to_assign); + } + return D._BuiltList$of(all_strands, type$.legacy_Strand); + }, + compute_domain_name_complements: function(strand_to, strand_from, computed_domains) { + var substrands, t3, t4, t5, ss_idx, t6, substrand_to, helix_idx, domains_on_helix_from, t7, t8, t9, t10, t11, + t1 = strand_to.substrands, + t2 = t1._list; + t1 = H._instanceType(t1); + substrands = new Q.CopyOnWriteList(true, t2, t1._eval$1("CopyOnWriteList<1>")); + t3 = J.getInterceptor$asx(t2); + t4 = type$.JSArray_legacy_Domain; + t1 = t1._precomputed1; + t5 = type$.legacy_void_Function_legacy_DomainBuilder; + ss_idx = 0; + while (true) { + t6 = t3.get$length(t2); + if (typeof t6 !== "number") + return H.iae(t6); + if (!(ss_idx < t6)) + break; + substrand_to = t3.$index(t2, ss_idx); + if (substrand_to instanceof G.Domain) { + helix_idx = substrand_to.helix; + t6 = strand_from.__domains_on_helix; + if (t6 == null) { + t6 = E.Strand.prototype.get$domains_on_helix.call(strand_from); + strand_from.set$__domains_on_helix(t6); + } + t6 = J.$index$asx(t6._map$_map, helix_idx); + domains_on_helix_from = t6 == null ? null : new Q.CopyOnWriteList(true, t6._list, H.instanceType(t6)._eval$1("CopyOnWriteList<1>")); + for (t6 = J.get$iterator$ax(domains_on_helix_from == null ? H.setRuntimeTypeInfo([], t4) : domains_on_helix_from), t7 = substrand_to.forward, t8 = substrand_to.start, t9 = substrand_to.end; t6.moveNext$0();) { + t10 = t6.get$current(t6); + if (!substrand_to.$eq(0, t10)) + t11 = helix_idx === t10.helix && t7 === !t10.forward && substrand_to.compute_overlap$1(t10) != null && t8 === t10.start && t9 === t10.end && t10.name != null && !C.JSArray_methods.contains$1(computed_domains, substrand_to); + else + t11 = false; + if (t11) { + t6 = t10.name; + t7 = t6.length; + t8 = t7 - 1; + if (t8 < 0) + return H.ioore(t6, t8); + t7 = J.getInterceptor$ansx(t6); + t6 = t5._as(new M.compute_domain_name_complements_closure(t6[t8] === "*" ? t7.substring$2(t6, 0, t8) : t7.$add(t6, "*"))); + t7 = new G.DomainBuilder(); + t7._domain$_$v = substrand_to; + t6.call$1(t7); + t6 = t1._as(t7.build$0()); + substrands._copy_on_write_list$_maybeCopyBeforeWrite$0(); + J.$indexSet$ax(substrands._copy_on_write_list$_list, ss_idx, t6); + C.JSArray_methods.add$1(computed_domains, t10); + break; + } + } + } + ++ss_idx; + } + return strand_to.rebuild$1(new M.compute_domain_name_complements_closure0(substrands)); + }, + complement_domain_name: function($name) { + var t1 = $name.length, + t2 = t1 - 1; + if (t2 < 0) + return H.ioore($name, t2); + t1 = J.getInterceptor$ansx($name); + return $name[t2] === "*" ? t1.substring$2($name, 0, t2) : t1.$add($name, "*"); + }, + assign_domain_name_complement_from_bound_domains_reducer: function(strands, state, action) { + var computed_domains, t1, t2, all_strands, t3, t4, t5, t6, t7, strand_to, strand_idx; + type$.legacy_BuiltList_legacy_Strand._as(strands); + type$.legacy_AppState._as(state); + type$.legacy_AssignDomainNameComplementFromBoundDomains._as(action); + computed_domains = H.setRuntimeTypeInfo([], type$.JSArray_legacy_Domain); + t1 = strands._list; + t2 = H._instanceType(strands); + all_strands = new Q.CopyOnWriteList(true, t1, t2._eval$1("CopyOnWriteList<1>")); + for (t3 = J.get$iterator$ax(action.domains._list), t2 = t2._precomputed1, t4 = J.getInterceptor$asx(t1); t3.moveNext$0();) { + t5 = t3.get$current(t3); + if (!C.JSArray_methods.contains$1(computed_domains, t5)) { + t6 = state.design; + t7 = t6.__substrand_to_strand; + if (t7 == null) { + t7 = N.Design.prototype.get$substrand_to_strand.call(t6); + t6.set$__substrand_to_strand(t7); + } + strand_to = J.$index$asx(t7._map$_map, t5); + strand_idx = t4.indexOf$2(t1, t2._as(strand_to), 0); + for (t6 = J.get$iterator$ax(t6.domains_on_helix_overlapping$1(t5)); t6.moveNext$0();) + strand_to = M.compute_domain_name_complements_for_bound_domains(strand_to, t5, t6.get$current(t6), computed_domains); + t2._as(strand_to); + all_strands._copy_on_write_list$_maybeCopyBeforeWrite$0(); + J.$indexSet$ax(all_strands._copy_on_write_list$_list, strand_idx, strand_to); + } + } + return D._BuiltList$of(all_strands, type$.legacy_Strand); + }, + compute_domain_name_complements_for_bound_domains: function(strand_to, domain_to_assign, other_domain, computed_domains) { + var substrands, ss_idx, + t1 = strand_to.substrands, + t2 = t1._list; + t1 = H._instanceType(t1); + substrands = new Q.CopyOnWriteList(true, t2, t1._eval$1("CopyOnWriteList<1>")); + t1 = t1._precomputed1; + ss_idx = J.indexOf$2$asx(t2, t1._as(domain_to_assign), 0); + if (ss_idx !== -1) + if (!J.$eq$(domain_to_assign, other_domain) && domain_to_assign.start === other_domain.start && domain_to_assign.end === other_domain.end && other_domain.name != null && !C.JSArray_methods.contains$1(computed_domains, domain_to_assign)) { + t1 = t1._as(domain_to_assign.rebuild$1(new M.compute_domain_name_complements_for_bound_domains_closure(M.complement_domain_name(other_domain.name)))); + substrands._copy_on_write_list$_maybeCopyBeforeWrite$0(); + J.$indexSet$ax(substrands._copy_on_write_list$_list, ss_idx, t1); + C.JSArray_methods.add$1(computed_domains, other_domain); + } + return strand_to.rebuild$1(new M.compute_domain_name_complements_for_bound_domains_closure0(substrands)); + }, + compute_domain_name_complements_closure: function compute_domain_name_complements_closure(t0) { + this.domain_name_to = t0; + }, + compute_domain_name_complements_closure0: function compute_domain_name_complements_closure0(t0) { + this.substrands = t0; + }, + compute_domain_name_complements_for_bound_domains_closure: function compute_domain_name_complements_for_bound_domains_closure(t0) { + this.domain_name_to = t0; + }, + compute_domain_name_complements_for_bound_domains_closure0: function compute_domain_name_complements_for_bound_domains_closure0(t0) { + this.substrands = t0; + }, + strand_create_start_reducer: function(strand_creation, state, action) { + var t1, t2; + type$.legacy_StrandCreation._as(strand_creation); + type$.legacy_AppState._as(state); + type$.legacy_StrandCreateStart._as(action); + t1 = state.design.helices; + t2 = action.address; + t1 = J.$index$asx(t1._map$_map, t2.helix_idx); + return U.StrandCreation_StrandCreation(action.color, t2.forward, t1, t2.offset); + }, + strand_create_adjust_offset_reducer: function(strand_creation, state, action) { + var new_offset, old_offset, t1, new_address, t2, t3, t4; + type$.legacy_StrandCreation._as(strand_creation); + type$.legacy_AppState._as(state); + type$.legacy_StrandCreateAdjustOffset._as(action); + new_offset = action.offset; + old_offset = strand_creation.current_offset; + t1 = strand_creation.helix.idx; + new_address = Z._$Address$_(strand_creation.forward, t1, new_offset); + if (state.ui_state.storables.dynamically_update_helices) { + if (old_offset !== new_offset && state.design.domain_on_helix_at$2(new_address, strand_creation) == null && new_offset !== strand_creation.original_offset) + return strand_creation.rebuild$1(new M.strand_create_adjust_offset_reducer_closure(action)); + } else { + if (old_offset !== new_offset) { + t2 = state.design; + if (t2.domain_on_helix_at$2(new_address, strand_creation) == null) + if (new_offset !== strand_creation.original_offset) { + t2 = t2.helices._map$_map; + t3 = J.getInterceptor$asx(t2); + t4 = t3.$index(t2, t1).min_offset; + if (typeof new_offset !== "number") + return H.iae(new_offset); + t1 = t4 <= new_offset && new_offset < t3.$index(t2, t1).max_offset; + } else + t1 = false; + else + t1 = false; + } else + t1 = false; + if (t1) + return strand_creation.rebuild$1(new M.strand_create_adjust_offset_reducer_closure0(action)); + } + return strand_creation; + }, + strand_create_stop_reducer: function(_, __, action) { + type$.legacy_StrandCreation._as(_); + type$.legacy_AppState._as(__); + type$.legacy_StrandCreateStop._as(action); + return null; + }, + strand_create_adjust_offset_reducer_closure: function strand_create_adjust_offset_reducer_closure(t0) { + this.action = t0; + }, + strand_create_adjust_offset_reducer_closure0: function strand_create_adjust_offset_reducer_closure0(t0) { + this.action = t0; + }, + _$valueOf4: function($name) { + switch ($name) { + case "select": + return C.EditModeChoice_select; + case "rope_select": + return C.EditModeChoice_rope_select; + case "pencil": + return C.EditModeChoice_pencil; + case "nick": + return C.EditModeChoice_nick; + case "ligate": + return C.EditModeChoice_ligate; + case "insertion": + return C.EditModeChoice_insertion; + case "deletion": + return C.EditModeChoice_deletion; + case "move_group": + return C.EditModeChoice_move_group; + default: + throw H.wrapException(P.ArgumentError$($name)); + } + }, + EditModeChoice: function EditModeChoice(t0) { + this.name = t0; + }, + _$EditModeChoiceSerializer: function _$EditModeChoiceSerializer() { + }, + _$DesignMainDNASequences: function(backingProps) { + type$.legacy_Map_dynamic_dynamic._as(backingProps); + return backingProps == null ? M._$$DesignMainDNASequencesProps$JsMap$(new L.JsBackedMap({})) : M._$$DesignMainDNASequencesProps__$$DesignMainDNASequencesProps(backingProps); + }, + _$$DesignMainDNASequencesProps__$$DesignMainDNASequencesProps: function(backingMap) { + var t1, _null = null; + if (backingMap instanceof L.JsBackedMap) + return M._$$DesignMainDNASequencesProps$JsMap$(backingMap); + else { + t1 = type$.dynamic; + t1 = new M._$$DesignMainDNASequencesProps$PlainMap(P.LinkedHashMap_LinkedHashMap$_empty(t1, t1), _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null); + t1.get$$$isClassGenerated(); + t1._design_main_dna_sequences$_props = backingMap; + return t1; + } + }, + _$$DesignMainDNASequencesProps$JsMap$: function(backingMap) { + var _null = null, + t1 = new M._$$DesignMainDNASequencesProps$JsMap(new L.JsBackedMap({}), _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null); + t1.get$$$isClassGenerated(); + t1._design_main_dna_sequences$_props = backingMap == null ? new L.JsBackedMap({}) : backingMap; + return t1; + }, + DesignMainDNASequencesProps: function DesignMainDNASequencesProps() { + }, + DesignMainDNASequencesComponent: function DesignMainDNASequencesComponent() { + }, + $DesignMainDNASequencesComponentFactory_closure: function $DesignMainDNASequencesComponentFactory_closure() { + }, + _$$DesignMainDNASequencesProps: function _$$DesignMainDNASequencesProps() { + }, + _$$DesignMainDNASequencesProps$PlainMap: function _$$DesignMainDNASequencesProps$PlainMap(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17) { + var _ = this; + _._design_main_dna_sequences$_props = t0; + _.DesignMainDNASequencesProps_helices = t1; + _.DesignMainDNASequencesProps_groups = t2; + _.DesignMainDNASequencesProps_geometry = t3; + _.DesignMainDNASequencesProps_strands = t4; + _.DesignMainDNASequencesProps_side_selected_helix_idxs = t5; + _.DesignMainDNASequencesProps_dna_sequence_png_uri = t6; + _.DesignMainDNASequencesProps_dna_sequence_png_horizontal_offset = t7; + _.DesignMainDNASequencesProps_dna_sequence_png_vertical_offset = t8; + _.DesignMainDNASequencesProps_is_zoom_above_threshold = t9; + _.DesignMainDNASequencesProps_export_svg_action_delayed_for_png_cache = t10; + _.DesignMainDNASequencesProps_only_display_selected_helices = t11; + _.DesignMainDNASequencesProps_helix_idx_to_svg_position_map = t12; + _.DesignMainDNASequencesProps_disable_png_caching_dna_sequences = t13; + _.DesignMainDNASequencesProps_retain_strand_color_on_selection = t14; + _.DesignMainDNASequencesProps_display_reverse_DNA_right_side_up = t15; + _.componentFactory = null; + _.UbiquitousDomPropsMixin__aria = t16; + _.UbiquitousDomPropsMixin__dom = t17; + }, + _$$DesignMainDNASequencesProps$JsMap: function _$$DesignMainDNASequencesProps$JsMap(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17) { + var _ = this; + _._design_main_dna_sequences$_props = t0; + _.DesignMainDNASequencesProps_helices = t1; + _.DesignMainDNASequencesProps_groups = t2; + _.DesignMainDNASequencesProps_geometry = t3; + _.DesignMainDNASequencesProps_strands = t4; + _.DesignMainDNASequencesProps_side_selected_helix_idxs = t5; + _.DesignMainDNASequencesProps_dna_sequence_png_uri = t6; + _.DesignMainDNASequencesProps_dna_sequence_png_horizontal_offset = t7; + _.DesignMainDNASequencesProps_dna_sequence_png_vertical_offset = t8; + _.DesignMainDNASequencesProps_is_zoom_above_threshold = t9; + _.DesignMainDNASequencesProps_export_svg_action_delayed_for_png_cache = t10; + _.DesignMainDNASequencesProps_only_display_selected_helices = t11; + _.DesignMainDNASequencesProps_helix_idx_to_svg_position_map = t12; + _.DesignMainDNASequencesProps_disable_png_caching_dna_sequences = t13; + _.DesignMainDNASequencesProps_retain_strand_color_on_selection = t14; + _.DesignMainDNASequencesProps_display_reverse_DNA_right_side_up = t15; + _.componentFactory = null; + _.UbiquitousDomPropsMixin__aria = t16; + _.UbiquitousDomPropsMixin__dom = t17; + }, + _$DesignMainDNASequencesComponent: function _$DesignMainDNASequencesComponent(t0) { + var _ = this; + _._design_main_dna_sequences$_cachedTypedProps = null; + _.DisposableManagerProxy__disposableProxy = t0; + _.jsThis = _.state = _.props = null; + }, + $DesignMainDNASequencesProps: function $DesignMainDNASequencesProps() { + }, + _DesignMainDNASequencesComponent_UiComponent2_PureComponent: function _DesignMainDNASequencesComponent_UiComponent2_PureComponent() { + }, + __$$DesignMainDNASequencesProps_UiProps_DesignMainDNASequencesProps: function __$$DesignMainDNASequencesProps_UiProps_DesignMainDNASequencesProps() { + }, + __$$DesignMainDNASequencesProps_UiProps_DesignMainDNASequencesProps_$DesignMainDNASequencesProps: function __$$DesignMainDNASequencesProps_UiProps_DesignMainDNASequencesProps_$DesignMainDNASequencesProps() { + }, + _$DesignMainSliceBar: function(backingProps) { + type$.legacy_Map_dynamic_dynamic._as(backingProps); + return backingProps == null ? M._$$DesignMainSliceBarProps$JsMap$(new L.JsBackedMap({})) : M._$$DesignMainSliceBarProps__$$DesignMainSliceBarProps(backingProps); + }, + _$$DesignMainSliceBarProps__$$DesignMainSliceBarProps: function(backingMap) { + var t1, _null = null; + if (backingMap instanceof L.JsBackedMap) + return M._$$DesignMainSliceBarProps$JsMap$(backingMap); + else { + t1 = type$.dynamic; + t1 = new M._$$DesignMainSliceBarProps$PlainMap(P.LinkedHashMap_LinkedHashMap$_empty(t1, t1), _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null); + t1.get$$$isClassGenerated(); + t1._design_main_slice_bar$_props = backingMap; + return t1; + } + }, + _$$DesignMainSliceBarProps$JsMap$: function(backingMap) { + var _null = null, + t1 = new M._$$DesignMainSliceBarProps$JsMap(new L.JsBackedMap({}), _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null); + t1.get$$$isClassGenerated(); + t1._design_main_slice_bar$_props = backingMap == null ? new L.JsBackedMap({}) : backingMap; + return t1; + }, + DesignMainSliceBarProps: function DesignMainSliceBarProps() { + }, + DesignMainSliceBarComponent: function DesignMainSliceBarComponent() { + }, + DesignMainSliceBarComponent_render_closure: function DesignMainSliceBarComponent_render_closure() { + }, + $DesignMainSliceBarComponentFactory_closure: function $DesignMainSliceBarComponentFactory_closure() { + }, + _$$DesignMainSliceBarProps: function _$$DesignMainSliceBarProps() { + }, + _$$DesignMainSliceBarProps$PlainMap: function _$$DesignMainSliceBarProps$PlainMap(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11) { + var _ = this; + _._design_main_slice_bar$_props = t0; + _.DesignMainSliceBarProps_slice_bar_offset = t1; + _.DesignMainSliceBarProps_displayed_group_name = t2; + _.DesignMainSliceBarProps_side_selected_helix_idxs = t3; + _.DesignMainSliceBarProps_groups = t4; + _.DesignMainSliceBarProps_helix_idxs_in_group = t5; + _.DesignMainSliceBarProps_helices = t6; + _.DesignMainSliceBarProps_only_display_selected_helices = t7; + _.DesignMainSliceBarProps_geometry = t8; + _.DesignMainSliceBarProps_helix_idx_to_svg_position_map = t9; + _.componentFactory = null; + _.UbiquitousDomPropsMixin__aria = t10; + _.UbiquitousDomPropsMixin__dom = t11; + }, + _$$DesignMainSliceBarProps$JsMap: function _$$DesignMainSliceBarProps$JsMap(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11) { + var _ = this; + _._design_main_slice_bar$_props = t0; + _.DesignMainSliceBarProps_slice_bar_offset = t1; + _.DesignMainSliceBarProps_displayed_group_name = t2; + _.DesignMainSliceBarProps_side_selected_helix_idxs = t3; + _.DesignMainSliceBarProps_groups = t4; + _.DesignMainSliceBarProps_helix_idxs_in_group = t5; + _.DesignMainSliceBarProps_helices = t6; + _.DesignMainSliceBarProps_only_display_selected_helices = t7; + _.DesignMainSliceBarProps_geometry = t8; + _.DesignMainSliceBarProps_helix_idx_to_svg_position_map = t9; + _.componentFactory = null; + _.UbiquitousDomPropsMixin__aria = t10; + _.UbiquitousDomPropsMixin__dom = t11; + }, + _$DesignMainSliceBarComponent: function _$DesignMainSliceBarComponent(t0) { + var _ = this; + _._design_main_slice_bar$_cachedTypedProps = null; + _.DisposableManagerProxy__disposableProxy = t0; + _.jsThis = _.state = _.props = null; + }, + $DesignMainSliceBarProps: function $DesignMainSliceBarProps() { + }, + _DesignMainSliceBarComponent_UiComponent2_PureComponent: function _DesignMainSliceBarComponent_UiComponent2_PureComponent() { + }, + __$$DesignMainSliceBarProps_UiProps_DesignMainSliceBarProps: function __$$DesignMainSliceBarProps_UiProps_DesignMainSliceBarProps() { + }, + __$$DesignMainSliceBarProps_UiProps_DesignMainSliceBarProps_$DesignMainSliceBarProps: function __$$DesignMainSliceBarProps_UiProps_DesignMainSliceBarProps_$DesignMainSliceBarProps() { + }, + ask_for_label: function(strand, substrand, selected_strands, $T) { + var $async$goto = 0, + $async$completer = P._makeAsyncAwaitCompleter(type$.void), + $async$returnValue, existing_label, results, label, action, t1, t2, part_name, items; + var $async$ask_for_label = P._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { + if ($async$errorCode === 1) + return P._asyncRethrow($async$result, $async$completer); + while (true) + switch ($async$goto) { + case 0: + // Function start + t1 = substrand == null; + t2 = !t1; + part_name = t2 ? substrand.type_description$0() : "strand"; + items = P.List_List$filled(1, null, false, type$.legacy_DialogItem); + if (t1 && strand.label != null) + existing_label = strand.label; + else + existing_label = t2 && substrand.get$label(substrand) != null ? substrand.get$label(substrand) : ""; + C.JSArray_methods.$indexSet(items, 0, E.DialogTextArea_DialogTextArea(40, "label", 8, "Enter the " + part_name + " label here.", existing_label)); + t2 = "set " + part_name + " label"; + $async$goto = 3; + return P._asyncAwait(E.dialog(E.Dialog_Dialog(C.Set_empty, C.Map_empty2, C.Map_empty2, C.Map_empty3, items, C.List_empty1, E.dialog_Dialog_identity_function$closure(), t2, t1 ? C.DialogType_set_strand_label : C.DialogType_set_substrand_label, false)), $async$ask_for_label); + case 3: + // returning from await. + results = $async$result; + if (results == null) { + // goto return + $async$goto = 1; + break; + } + label = type$.legacy_DialogTextArea._as(J.$index$asx(results, 0)).value; + action = t1 ? M.batch_if_multiple_selected(M.label_set_strand_action_creator(label), strand, type$.legacy_BuiltSet_legacy_Strand._as(selected_strands), "set strand label") : U.BatchAction_BatchAction(selected_strands._set.map$1$1(0, selected_strands.$ti._eval$1("UndoableAction*(1)")._as(new M.ask_for_label_closure(label, $T)), type$.legacy_UndoableAction), "set substrand labels"); + $.app.dispatch$1(action); + case 1: + // return + return P._asyncReturn($async$returnValue, $async$completer); + } + }); + return P._asyncStartSync($async$ask_for_label, $async$completer); + }, + batch_if_multiple_selected: function(action_creator, strand, selected_strands, short_description) { + var t2, action, + t1 = selected_strands._set; + if (!t1.get$isEmpty(t1)) + t2 = t1.get$length(t1) === 1 && J.$eq$(t1.get$first(t1), strand); + else + t2 = true; + if (t2) + action = action_creator.call$1(strand); + else { + if (!t1.contains$1(0, strand)) + selected_strands = selected_strands.rebuild$1(new M.batch_if_multiple_selected_closure(strand)); + t1 = H.setRuntimeTypeInfo([], type$.JSArray_legacy_UndoableAction); + for (t2 = selected_strands._set, t2 = t2.get$iterator(t2); t2.moveNext$0();) + t1.push(action_creator.call$1(t2.get$current(t2))); + action = U.BatchAction_BatchAction(t1, short_description); + } + return type$.legacy_UndoableAction._as(action); + }, + get_selected_domains: function() { + var t2, + t1 = $.app.store; + t1 = t1.get$state(t1).ui_state.selectables_store.get$selected_strands(); + t1 = t1._set.map$1$1(0, t1.$ti._eval$1("BuiltList*(1)")._as(new M.get_selected_domains_closure()), type$.legacy_BuiltList_legacy_Substrand); + t2 = H._instanceType(t1); + t2 = X.BuiltSet_BuiltSet$from(X.BuiltSet_BuiltSet$of(new H.ExpandIterable(t1, t2._eval$1("Iterable(Iterable.E)")._as(new M.get_selected_domains_closure0()), t2._eval$1("ExpandIterable")), type$.legacy_Substrand), type$.legacy_Domain); + t1 = $.app.store; + return t2.union$1(t1.get$state(t1).ui_state.selectables_store.get$selected_domains()); + }, + scaffold_set_strand_action_creator: function(is_scaffold) { + return new M.scaffold_set_strand_action_creator_closure(is_scaffold); + }, + remove_dna_strand_action_creator: function(remove_complements, remove_all) { + return new M.remove_dna_strand_action_creator_closure(remove_complements, remove_all); + }, + name_set_strand_action_creator: function($name) { + return new M.name_set_strand_action_creator_closure($name); + }, + label_set_strand_action_creator: function(label) { + return new M.label_set_strand_action_creator_closure(label); + }, + clicked_strand_dna_idx: function(domain, address, strand) { + var t2, t3, index_of_domain_in_strand, strand_dna_idx, i, + domain_dna_idx = domain.substrand_offset_to_substrand_dna_idx$2(address.offset, address.forward), + t1 = strand.substrands; + t1.toString; + t2 = t1._list; + t3 = J.getInterceptor$asx(t2); + index_of_domain_in_strand = t3.indexOf$2(t2, t1.$ti._precomputed1._as(domain), 0); + for (strand_dna_idx = 0, i = 0; i < index_of_domain_in_strand; ++i) + strand_dna_idx += t3.$index(t2, i).dna_length$0(); + return strand_dna_idx + domain_dna_idx; + }, + ask_for_assign_dna_sequence: function(strand, options) { + var $async$goto = 0, + $async$completer = P._makeAsyncAwaitCompleter(type$.void), + $async$returnValue, $async$next = [], dna_sequence, e, t2, m13_rotation, t3, t4, t5, t6, results, use_predefined_dna_sequence, idx, dna_sequence_predefined, sequence_unrotated, rotation, assign_complements, disable_change_sequence_bound_strand, exception, new_options, items, t1; + var $async$ask_for_assign_dna_sequence = P._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { + if ($async$errorCode === 1) + return P._asyncRethrow($async$result, $async$completer); + while (true) + switch ($async$goto) { + case 0: + // Function start + items = H.setRuntimeTypeInfo([null, null, null, null, null, null, null], type$.JSArray_legacy_DialogItem); + t1 = strand.get$dna_sequence(); + C.JSArray_methods.$indexSet(items, 0, E.DialogTextArea_DialogTextArea(80, "sequence", 4, null, t1 == null ? "" : t1)); + C.JSArray_methods.$indexSet(items, 1, E.DialogCheckbox_DialogCheckbox("use predefined DNA sequence", "", options.use_predefined_dna_sequence)); + t1 = type$.JSArray_legacy_String; + t2 = type$.legacy_String; + C.JSArray_methods.$indexSet(items, 3, E.DialogRadio_DialogRadio("predefined DNA sequence", null, D.BuiltList_BuiltList$of(H.setRuntimeTypeInfo(["M13 (p7249, standard variant)", "M13 (p7560)", "M13 (p8064)", "M13 (p8634)"], t1), t2), true, 0, null)); + m13_rotation = options.m13_rotation; + C.JSArray_methods.$indexSet(items, 4, E.DialogInteger_DialogInteger("rotation of predefined DNA sequence", null, m13_rotation)); + C.JSArray_methods.$indexSet(items, 5, E.DialogCheckbox_DialogCheckbox("assign complement to bound strands", "", options.assign_complements)); + C.JSArray_methods.$indexSet(items, 6, E.DialogCheckbox_DialogCheckbox("disallow assigning different sequence to bound strand with existing sequence", "", options.disable_change_sequence_bound_strand)); + C.JSArray_methods.$indexSet(items, 2, E.DialogLink_DialogLink("Information about sequence variants", "https://scadnano-python-package.readthedocs.io/en/latest/#scadnano.M13Variant")); + t3 = type$.JSArray_legacy_int; + t4 = type$.legacy_int; + t5 = type$.legacy_Iterable_legacy_int; + t6 = P.LinkedHashMap_LinkedHashMap$_literal([0, H.setRuntimeTypeInfo([1], t3)], t4, t5); + $async$goto = 3; + return P._asyncAwait(E.dialog(E.Dialog_Dialog(C.Set_empty, P.LinkedHashMap_LinkedHashMap$_literal([3, H.setRuntimeTypeInfo([1], t3), 4, H.setRuntimeTypeInfo([1], t3), 6, H.setRuntimeTypeInfo([5], t3)], t4, t5), t6, C.Map_empty3, items, C.List_empty1, E.dialog_Dialog_identity_function$closure(), "assign DNA sequence", C.DialogType_assign_dna_sequence, false)), $async$ask_for_assign_dna_sequence); + case 3: + // returning from await. + results = $async$result; + if (results == null) { + // goto return + $async$goto = 1; + break; + } + dna_sequence = null; + t3 = J.getInterceptor$asx(results); + t4 = type$.legacy_DialogCheckbox; + use_predefined_dna_sequence = t4._as(t3.$index(results, 1)).value; + if (use_predefined_dna_sequence) { + t5 = type$.legacy_DialogRadio._as(t3.$index(results, 3)); + t6 = t5.options; + t5 = t5.selected_idx; + t5 = J.$index$asx(t6._list, t5); + m13_rotation = H._asIntS(type$.legacy_DialogInteger._as(t3.$index(results, 4)).value); + t1 = D.BuiltList_BuiltList$of(H.setRuntimeTypeInfo(["M13 (p7249, standard variant)", "M13 (p7560)", "M13 (p8064)", "M13 (p8634)"], t1), t2); + idx = J.indexOf$2$asx(t1._list, t1.$ti._precomputed1._as(t5), 0); + if (idx < 0) + H.throwExpression(P.ArgumentError$(H.S(t5) + " is not the display name of any predefined DNA sequence variant")); + dna_sequence_predefined = E._$valueOf0(J.$index$asx(E.DNASequencePredefined_names()._list, idx)); + sequence_unrotated = dna_sequence_predefined.get$sequence(); + rotation = C.JSInt_methods.$mod(m13_rotation, sequence_unrotated.length); + dna_sequence = J.substring$1$s(sequence_unrotated, rotation) + C.JSString_methods.substring$2(sequence_unrotated, 0, rotation); + } else + dna_sequence = type$.legacy_DialogTextArea._as(t3.$index(results, 0)).value; + assign_complements = t4._as(t3.$index(results, 5)).value; + disable_change_sequence_bound_strand = t4._as(t3.$index(results, 6)).value; + try { + E.check_dna_sequence(dna_sequence); + } catch (exception) { + t1 = H.unwrapException(exception); + if (type$.legacy_FormatException._is(t1)) { + e = t1; + C.Window_methods.alert$1(window, J.get$message$x(e)); + // goto return + $async$goto = 1; + break; + } else + throw exception; + } + new_options = X.DNAAssignOptions_DNAAssignOptions(assign_complements, disable_change_sequence_bound_strand, dna_sequence, m13_rotation, use_predefined_dna_sequence); + $.app.dispatch$1(U._$AssignDNA$_(new_options, strand)); + case 1: + // return + return P._asyncReturn($async$returnValue, $async$completer); + } + }); + return P._asyncStartSync($async$ask_for_assign_dna_sequence, $async$completer); + }, + ask_for_remove_dna_sequence: function(strand, selected_strands) { + var $async$goto = 0, + $async$completer = P._makeAsyncAwaitCompleter(type$.void), + $async$returnValue, t1, t2, action, results; + var $async$ask_for_remove_dna_sequence = P._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { + if ($async$errorCode === 1) + return P._asyncRethrow($async$result, $async$completer); + while (true) + switch ($async$goto) { + case 0: + // Function start + $async$goto = 3; + return P._asyncAwait(E.dialog(E.Dialog_Dialog(C.Set_empty, C.Map_empty2, C.Map_empty2, C.Map_empty3, H.setRuntimeTypeInfo([E.DialogCheckbox_DialogCheckbox("remove from bound strands", "", true), E.DialogCheckbox_DialogCheckbox("remove from all strands", "", false)], type$.JSArray_legacy_DialogItem), C.List_empty1, E.dialog_Dialog_identity_function$closure(), "remove DNA sequence", C.DialogType_remove_dna_sequence, true)), $async$ask_for_remove_dna_sequence); + case 3: + // returning from await. + results = $async$result; + if (results == null) { + // goto return + $async$goto = 1; + break; + } + t1 = J.getInterceptor$asx(results); + t2 = type$.legacy_DialogCheckbox; + action = M.batch_if_multiple_selected(M.remove_dna_strand_action_creator(t2._as(t1.$index(results, 0)).value, t2._as(t1.$index(results, 1)).value), strand, selected_strands, "remove dna sequence"); + $.app.dispatch$1(action); + case 1: + // return + return P._asyncReturn($async$returnValue, $async$completer); + } + }); + return P._asyncStartSync($async$ask_for_remove_dna_sequence, $async$completer); + }, + _$DesignMainStrand: function(backingProps) { + type$.legacy_Map_dynamic_dynamic._as(backingProps); + return backingProps == null ? M._$$DesignMainStrandProps$JsMap$(new L.JsBackedMap({})) : M._$$DesignMainStrandProps__$$DesignMainStrandProps(backingProps); + }, + _$$DesignMainStrandProps__$$DesignMainStrandProps: function(backingMap) { + var t1, _null = null; + if (backingMap instanceof L.JsBackedMap) + return M._$$DesignMainStrandProps$JsMap$(backingMap); + else { + t1 = type$.dynamic; + t1 = new M._$$DesignMainStrandProps$PlainMap(P.LinkedHashMap_LinkedHashMap$_empty(t1, t1), _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null); + t1.get$$$isClassGenerated(); + t1._design_main_strand$_props = backingMap; + return t1; + } + }, + _$$DesignMainStrandProps$JsMap$: function(backingMap) { + var _null = null, + t1 = new M._$$DesignMainStrandProps$JsMap(new L.JsBackedMap({}), _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null); + t1.get$$$isClassGenerated(); + t1._design_main_strand$_props = backingMap == null ? new L.JsBackedMap({}) : backingMap; + return t1; + }, + DesignMainStrandPropsMixin: function DesignMainStrandPropsMixin() { + }, + DesignMainStrandComponent: function DesignMainStrandComponent() { + }, + DesignMainStrandComponent_render_closure: function DesignMainStrandComponent_render_closure() { + }, + DesignMainStrandComponent_assign_dna_closure: function DesignMainStrandComponent_assign_dna_closure(t0) { + this.$this = t0; + }, + DesignMainStrandComponent_add_modification_closure: function DesignMainStrandComponent_add_modification_closure(t0, t1, t2, t3) { + var _ = this; + _.$this = t0; + _.substrand = t1; + _.address = t2; + _.type = t3; + }, + DesignMainStrandComponent_set_strand_name_closure: function DesignMainStrandComponent_set_strand_name_closure(t0) { + this.$this = t0; + }, + DesignMainStrandComponent_set_strand_label_closure: function DesignMainStrandComponent_set_strand_label_closure(t0) { + this.$this = t0; + }, + DesignMainStrandComponent_set_domain_names_closure: function DesignMainStrandComponent_set_domain_names_closure(t0, t1) { + this.$this = t0; + this.domains = t1; + }, + DesignMainStrandComponent_set_domain_labels_closure: function DesignMainStrandComponent_set_domain_labels_closure(t0, t1) { + this.$this = t0; + this.substrand = t1; + }, + DesignMainStrandComponent_remove_dna_closure: function DesignMainStrandComponent_remove_dna_closure(t0) { + this.$this = t0; + }, + DesignMainStrandComponent_reflect_closure: function DesignMainStrandComponent_reflect_closure(t0) { + this.$this = t0; + }, + DesignMainStrandComponent_context_menu_strand_closure: function DesignMainStrandComponent_context_menu_strand_closure(t0, t1, t2, t3) { + var _ = this; + _.$this = t0; + _.substrand = t1; + _.address = t2; + _.type = t3; + }, + DesignMainStrandComponent_context_menu_strand_closure0: function DesignMainStrandComponent_context_menu_strand_closure0(t0, t1, t2, t3) { + var _ = this; + _.$this = t0; + _.substrand = t1; + _.address = t2; + _.type = t3; + }, + DesignMainStrandComponent_context_menu_strand_closure1: function DesignMainStrandComponent_context_menu_strand_closure1() { + }, + DesignMainStrandComponent_context_menu_strand_closure2: function DesignMainStrandComponent_context_menu_strand_closure2() { + }, + DesignMainStrandComponent_context_menu_strand_closure3: function DesignMainStrandComponent_context_menu_strand_closure3(t0) { + this.$this = t0; + }, + DesignMainStrandComponent_context_menu_strand_closure4: function DesignMainStrandComponent_context_menu_strand_closure4() { + }, + DesignMainStrandComponent_context_menu_strand_closure5: function DesignMainStrandComponent_context_menu_strand_closure5(t0) { + this.$this = t0; + }, + DesignMainStrandComponent_context_menu_strand_closure6: function DesignMainStrandComponent_context_menu_strand_closure6(t0) { + this.$this = t0; + }, + DesignMainStrandComponent_context_menu_strand_closure7: function DesignMainStrandComponent_context_menu_strand_closure7(t0, t1) { + this.$this = t0; + this.substrand = t1; + }, + DesignMainStrandComponent_context_menu_strand_closure8: function DesignMainStrandComponent_context_menu_strand_closure8(t0, t1) { + this.$this = t0; + this.substrand = t1; + }, + DesignMainStrandComponent_context_menu_strand_closure9: function DesignMainStrandComponent_context_menu_strand_closure9(t0) { + this.$this = t0; + }, + DesignMainStrandComponent_context_menu_strand__closure3: function DesignMainStrandComponent_context_menu_strand__closure3() { + }, + DesignMainStrandComponent_context_menu_strand_closure10: function DesignMainStrandComponent_context_menu_strand_closure10(t0) { + this.$this = t0; + }, + DesignMainStrandComponent_context_menu_strand_closure11: function DesignMainStrandComponent_context_menu_strand_closure11(t0, t1) { + this.$this = t0; + this.substrand = t1; + }, + DesignMainStrandComponent_context_menu_strand_closure12: function DesignMainStrandComponent_context_menu_strand_closure12() { + }, + DesignMainStrandComponent_context_menu_strand__closure2: function DesignMainStrandComponent_context_menu_strand__closure2() { + }, + DesignMainStrandComponent_context_menu_strand_closure13: function DesignMainStrandComponent_context_menu_strand_closure13(t0) { + this.$this = t0; + }, + DesignMainStrandComponent_context_menu_strand__closure1: function DesignMainStrandComponent_context_menu_strand__closure1() { + }, + DesignMainStrandComponent_context_menu_strand_closure14: function DesignMainStrandComponent_context_menu_strand_closure14(t0, t1) { + this.$this = t0; + this.substrand = t1; + }, + DesignMainStrandComponent_context_menu_strand_closure15: function DesignMainStrandComponent_context_menu_strand_closure15() { + }, + DesignMainStrandComponent_context_menu_strand__closure0: function DesignMainStrandComponent_context_menu_strand__closure0() { + }, + DesignMainStrandComponent_context_menu_strand_closure16: function DesignMainStrandComponent_context_menu_strand_closure16(t0) { + this.$this = t0; + }, + DesignMainStrandComponent_context_menu_strand_closure17: function DesignMainStrandComponent_context_menu_strand_closure17(t0) { + this.$this = t0; + }, + DesignMainStrandComponent_context_menu_strand_closure18: function DesignMainStrandComponent_context_menu_strand_closure18(t0) { + this.$this = t0; + }, + DesignMainStrandComponent_context_menu_strand_closure19: function DesignMainStrandComponent_context_menu_strand_closure19(t0) { + this.$this = t0; + }, + DesignMainStrandComponent_context_menu_strand_closure20: function DesignMainStrandComponent_context_menu_strand_closure20(t0, t1) { + this.$this = t0; + this.strand = t1; + }, + DesignMainStrandComponent_context_menu_strand__closure: function DesignMainStrandComponent_context_menu_strand__closure(t0, t1) { + this.$this = t0; + this.strand = t1; + }, + DesignMainStrandComponent_select_scale_index_for_multiple_strands_closure: function DesignMainStrandComponent_select_scale_index_for_multiple_strands_closure(t0) { + this.all_strands = t0; + }, + DesignMainStrandComponent_select_scale_index_for_multiple_strands_closure0: function DesignMainStrandComponent_select_scale_index_for_multiple_strands_closure0() { + }, + DesignMainStrandComponent_custom_scale_value_closure: function DesignMainStrandComponent_custom_scale_value_closure(t0) { + this.all_strands = t0; + }, + DesignMainStrandComponent_custom_purification_value_closure: function DesignMainStrandComponent_custom_purification_value_closure(t0) { + this.all_strands = t0; + }, + DesignMainStrandComponent_select_purification_index_for_multiple_strands_closure: function DesignMainStrandComponent_select_purification_index_for_multiple_strands_closure(t0) { + this.all_strands = t0; + }, + DesignMainStrandComponent_select_purification_index_for_multiple_strands_closure0: function DesignMainStrandComponent_select_purification_index_for_multiple_strands_closure0() { + }, + DesignMainStrandComponent_select_plate_number_closure: function DesignMainStrandComponent_select_plate_number_closure(t0) { + this.all_strands = t0; + }, + DesignMainStrandComponent_ask_for_assign_scale_purification_fields_closure: function DesignMainStrandComponent_ask_for_assign_scale_purification_fields_closure() { + }, + DesignMainStrandComponent_ask_for_assign_scale_purification_fields_closure0: function DesignMainStrandComponent_ask_for_assign_scale_purification_fields_closure0() { + }, + DesignMainStrandComponent_ask_for_domain_names_closure: function DesignMainStrandComponent_ask_for_domain_names_closure(t0) { + this.name = t0; + }, + ask_for_label_closure: function ask_for_label_closure(t0, t1) { + this.label = t0; + this.T = t1; + }, + batch_if_multiple_selected_closure: function batch_if_multiple_selected_closure(t0) { + this.strand = t0; + }, + get_selected_domains_closure: function get_selected_domains_closure() { + }, + get_selected_domains_closure0: function get_selected_domains_closure0() { + }, + scaffold_set_strand_action_creator_closure: function scaffold_set_strand_action_creator_closure(t0) { + this.is_scaffold = t0; + }, + remove_dna_strand_action_creator_closure: function remove_dna_strand_action_creator_closure(t0, t1) { + this.remove_complements = t0; + this.remove_all = t1; + }, + name_set_strand_action_creator_closure: function name_set_strand_action_creator_closure(t0) { + this.name = t0; + }, + label_set_strand_action_creator_closure: function label_set_strand_action_creator_closure(t0) { + this.label = t0; + }, + $DesignMainStrandComponentFactory_closure: function $DesignMainStrandComponentFactory_closure() { + }, + _$$DesignMainStrandProps: function _$$DesignMainStrandProps() { + }, + _$$DesignMainStrandProps$PlainMap: function _$$DesignMainStrandProps$PlainMap(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19, t20, t21, t22, t23, t24, t25, t26, t27, t28, t29, t30, t31, t32, t33, t34, t35, t36, t37, t38, t39) { + var _ = this; + _._design_main_strand$_props = t0; + _.TransformByHelixGroupPropsMixin_helices = t1; + _.TransformByHelixGroupPropsMixin_groups = t2; + _.TransformByHelixGroupPropsMixin_geometry = t3; + _.DesignMainStrandPropsMixin_strand = t4; + _.DesignMainStrandPropsMixin_side_selected_helix_idxs = t5; + _.DesignMainStrandPropsMixin_only_display_selected_helices = t6; + _.DesignMainStrandPropsMixin_selected_ends_in_strand = t7; + _.DesignMainStrandPropsMixin_selected_crossovers_in_strand = t8; + _.DesignMainStrandPropsMixin_selected_loopouts_in_strand = t9; + _.DesignMainStrandPropsMixin_selected_extensions_in_strand = t10; + _.DesignMainStrandPropsMixin_selected_domains_in_strand = t11; + _.DesignMainStrandPropsMixin_selected_deletions_in_strand = t12; + _.DesignMainStrandPropsMixin_selected_insertions_in_strand = t13; + _.DesignMainStrandPropsMixin_selected_modifications_in_strand = t14; + _.DesignMainStrandPropsMixin_helices = t15; + _.DesignMainStrandPropsMixin_groups = t16; + _.DesignMainStrandPropsMixin_geometry = t17; + _.DesignMainStrandPropsMixin_selected = t18; + _.DesignMainStrandPropsMixin_drawing_potential_crossover = t19; + _.DesignMainStrandPropsMixin_moving_dna_ends = t20; + _.DesignMainStrandPropsMixin_dna_assign_options = t21; + _.DesignMainStrandPropsMixin_modification_display_connector = t22; + _.DesignMainStrandPropsMixin_show_dna = t23; + _.DesignMainStrandPropsMixin_show_modifications = t24; + _.DesignMainStrandPropsMixin_display_reverse_DNA_right_side_up = t25; + _.DesignMainStrandPropsMixin_show_strand_names = t26; + _.DesignMainStrandPropsMixin_show_strand_labels = t27; + _.DesignMainStrandPropsMixin_show_domain_names = t28; + _.DesignMainStrandPropsMixin_show_domain_labels = t29; + _.DesignMainStrandPropsMixin_strand_name_font_size = t30; + _.DesignMainStrandPropsMixin_strand_label_font_size = t31; + _.DesignMainStrandPropsMixin_domain_name_font_size = t32; + _.DesignMainStrandPropsMixin_domain_label_font_size = t33; + _.DesignMainStrandPropsMixin_modification_font_size = t34; + _.DesignMainStrandPropsMixin_invert_y = t35; + _.DesignMainStrandPropsMixin_helix_idx_to_svg_position_map = t36; + _.DesignMainStrandPropsMixin_retain_strand_color_on_selection = t37; + _.componentFactory = null; + _.UbiquitousDomPropsMixin__aria = t38; + _.UbiquitousDomPropsMixin__dom = t39; + }, + _$$DesignMainStrandProps$JsMap: function _$$DesignMainStrandProps$JsMap(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19, t20, t21, t22, t23, t24, t25, t26, t27, t28, t29, t30, t31, t32, t33, t34, t35, t36, t37, t38, t39) { + var _ = this; + _._design_main_strand$_props = t0; + _.TransformByHelixGroupPropsMixin_helices = t1; + _.TransformByHelixGroupPropsMixin_groups = t2; + _.TransformByHelixGroupPropsMixin_geometry = t3; + _.DesignMainStrandPropsMixin_strand = t4; + _.DesignMainStrandPropsMixin_side_selected_helix_idxs = t5; + _.DesignMainStrandPropsMixin_only_display_selected_helices = t6; + _.DesignMainStrandPropsMixin_selected_ends_in_strand = t7; + _.DesignMainStrandPropsMixin_selected_crossovers_in_strand = t8; + _.DesignMainStrandPropsMixin_selected_loopouts_in_strand = t9; + _.DesignMainStrandPropsMixin_selected_extensions_in_strand = t10; + _.DesignMainStrandPropsMixin_selected_domains_in_strand = t11; + _.DesignMainStrandPropsMixin_selected_deletions_in_strand = t12; + _.DesignMainStrandPropsMixin_selected_insertions_in_strand = t13; + _.DesignMainStrandPropsMixin_selected_modifications_in_strand = t14; + _.DesignMainStrandPropsMixin_helices = t15; + _.DesignMainStrandPropsMixin_groups = t16; + _.DesignMainStrandPropsMixin_geometry = t17; + _.DesignMainStrandPropsMixin_selected = t18; + _.DesignMainStrandPropsMixin_drawing_potential_crossover = t19; + _.DesignMainStrandPropsMixin_moving_dna_ends = t20; + _.DesignMainStrandPropsMixin_dna_assign_options = t21; + _.DesignMainStrandPropsMixin_modification_display_connector = t22; + _.DesignMainStrandPropsMixin_show_dna = t23; + _.DesignMainStrandPropsMixin_show_modifications = t24; + _.DesignMainStrandPropsMixin_display_reverse_DNA_right_side_up = t25; + _.DesignMainStrandPropsMixin_show_strand_names = t26; + _.DesignMainStrandPropsMixin_show_strand_labels = t27; + _.DesignMainStrandPropsMixin_show_domain_names = t28; + _.DesignMainStrandPropsMixin_show_domain_labels = t29; + _.DesignMainStrandPropsMixin_strand_name_font_size = t30; + _.DesignMainStrandPropsMixin_strand_label_font_size = t31; + _.DesignMainStrandPropsMixin_domain_name_font_size = t32; + _.DesignMainStrandPropsMixin_domain_label_font_size = t33; + _.DesignMainStrandPropsMixin_modification_font_size = t34; + _.DesignMainStrandPropsMixin_invert_y = t35; + _.DesignMainStrandPropsMixin_helix_idx_to_svg_position_map = t36; + _.DesignMainStrandPropsMixin_retain_strand_color_on_selection = t37; + _.componentFactory = null; + _.UbiquitousDomPropsMixin__aria = t38; + _.UbiquitousDomPropsMixin__dom = t39; + }, + _$DesignMainStrandComponent: function _$DesignMainStrandComponent(t0) { + var _ = this; + _._design_main_strand$_cachedTypedProps = null; + _.DisposableManagerProxy__disposableProxy = t0; + _.jsThis = _.state = _.props = null; + }, + $DesignMainStrandPropsMixin: function $DesignMainStrandPropsMixin() { + }, + _DesignMainStrandComponent_UiComponent2_PureComponent: function _DesignMainStrandComponent_UiComponent2_PureComponent() { + }, + _DesignMainStrandComponent_UiComponent2_PureComponent_TransformByHelixGroup: function _DesignMainStrandComponent_UiComponent2_PureComponent_TransformByHelixGroup() { + }, + __$$DesignMainStrandProps_UiProps_DesignMainStrandPropsMixin: function __$$DesignMainStrandProps_UiProps_DesignMainStrandPropsMixin() { + }, + __$$DesignMainStrandProps_UiProps_DesignMainStrandPropsMixin_$DesignMainStrandPropsMixin: function __$$DesignMainStrandProps_UiProps_DesignMainStrandPropsMixin_$DesignMainStrandPropsMixin() { + }, + __$$DesignMainStrandProps_UiProps_DesignMainStrandPropsMixin_$DesignMainStrandPropsMixin_TransformByHelixGroupPropsMixin: function __$$DesignMainStrandProps_UiProps_DesignMainStrandPropsMixin_$DesignMainStrandPropsMixin_TransformByHelixGroupPropsMixin() { + }, + __$$DesignMainStrandProps_UiProps_DesignMainStrandPropsMixin_$DesignMainStrandPropsMixin_TransformByHelixGroupPropsMixin_$TransformByHelixGroupPropsMixin: function __$$DesignMainStrandProps_UiProps_DesignMainStrandPropsMixin_$DesignMainStrandPropsMixin_TransformByHelixGroupPropsMixin_$TransformByHelixGroupPropsMixin() { + }, + _$EditMode: function(backingProps) { + type$.legacy_Map_dynamic_dynamic._as(backingProps); + return backingProps == null ? M._$$EditModeProps$JsMap$(new L.JsBackedMap({})) : M._$$EditModeProps__$$EditModeProps(backingProps); + }, + _$$EditModeProps__$$EditModeProps: function(backingMap) { + var t1; + if (backingMap instanceof L.JsBackedMap) + return M._$$EditModeProps$JsMap$(backingMap); + else { + t1 = type$.dynamic; + t1 = new M._$$EditModeProps$PlainMap(P.LinkedHashMap_LinkedHashMap$_empty(t1, t1), null, null, null); + t1.get$$$isClassGenerated(); + t1._edit_mode$_props = backingMap; + return t1; + } + }, + _$$EditModeProps$JsMap$: function(backingMap) { + var t1 = new M._$$EditModeProps$JsMap(new L.JsBackedMap({}), null, null, null); + t1.get$$$isClassGenerated(); + t1._edit_mode$_props = backingMap == null ? new L.JsBackedMap({}) : backingMap; + return t1; + }, + EditModeProps: function EditModeProps() { + }, + EditModeComponent: function EditModeComponent() { + }, + EditModeComponent__button_for_choice_closure: function EditModeComponent__button_for_choice_closure(t0) { + this.mode = t0; + }, + $EditModeComponentFactory_closure: function $EditModeComponentFactory_closure() { + }, + _$$EditModeProps: function _$$EditModeProps() { + }, + _$$EditModeProps$PlainMap: function _$$EditModeProps$PlainMap(t0, t1, t2, t3) { + var _ = this; + _._edit_mode$_props = t0; + _.EditModeProps_modes = t1; + _.componentFactory = null; + _.UbiquitousDomPropsMixin__aria = t2; + _.UbiquitousDomPropsMixin__dom = t3; + }, + _$$EditModeProps$JsMap: function _$$EditModeProps$JsMap(t0, t1, t2, t3) { + var _ = this; + _._edit_mode$_props = t0; + _.EditModeProps_modes = t1; + _.componentFactory = null; + _.UbiquitousDomPropsMixin__aria = t2; + _.UbiquitousDomPropsMixin__dom = t3; + }, + _$EditModeComponent: function _$EditModeComponent(t0, t1, t2, t3) { + var _ = this; + _._edit_mode$_cachedTypedProps = null; + _.RedrawCounterMixin__desiredRedrawCount = t0; + _.RedrawCounterMixin__didRedraw = t1; + _.RedrawCounterMixin_redrawCount = t2; + _.DisposableManagerProxy__disposableProxy = t3; + _.jsThis = _.state = _.props = null; + }, + $EditModeProps: function $EditModeProps() { + }, + _EditModeComponent_UiComponent2_RedrawCounterMixin: function _EditModeComponent_UiComponent2_RedrawCounterMixin() { + }, + __$$EditModeProps_UiProps_EditModeProps: function __$$EditModeProps_UiProps_EditModeProps() { + }, + __$$EditModeProps_UiProps_EditModeProps_$EditModeProps: function __$$EditModeProps_UiProps_EditModeProps_$EditModeProps() { + }, + _$MenuDropdownRight: function(backingProps) { + type$.legacy_Map_dynamic_dynamic._as(backingProps); + return backingProps == null ? M._$$MenuDropdownRightProps$JsMap$(new L.JsBackedMap({})) : M._$$MenuDropdownRightProps__$$MenuDropdownRightProps(backingProps); + }, + _$$MenuDropdownRightProps__$$MenuDropdownRightProps: function(backingMap) { + var t1, _null = null; + if (backingMap instanceof L.JsBackedMap) + return M._$$MenuDropdownRightProps$JsMap$(backingMap); + else { + t1 = type$.dynamic; + t1 = new M._$$MenuDropdownRightProps$PlainMap(P.LinkedHashMap_LinkedHashMap$_empty(t1, t1), _null, _null, _null, _null, _null, _null, _null, _null); + t1.get$$$isClassGenerated(); + t1._menu_dropdown_right$_props = backingMap; + return t1; + } + }, + _$$MenuDropdownRightProps$JsMap$: function(backingMap) { + var _null = null, + t1 = new M._$$MenuDropdownRightProps$JsMap(new L.JsBackedMap({}), _null, _null, _null, _null, _null, _null, _null, _null); + t1.get$$$isClassGenerated(); + t1._menu_dropdown_right$_props = backingMap == null ? new L.JsBackedMap({}) : backingMap; + return t1; + }, + _$$MenuDropdownRightState$JsMap$: function(backingMap) { + var t1 = new M._$$MenuDropdownRightState$JsMap(new L.JsBackedMap({}), null, null); + t1.get$$$isClassGenerated(); + t1._menu_dropdown_right$_state = backingMap; + return t1; + }, + MenuDropdownRightProps: function MenuDropdownRightProps() { + }, + MenuDropdownRightState: function MenuDropdownRightState() { + }, + MenuDropdownRightComponent: function MenuDropdownRightComponent() { + }, + $MenuDropdownRightComponentFactory_closure: function $MenuDropdownRightComponentFactory_closure() { + }, + _$$MenuDropdownRightProps: function _$$MenuDropdownRightProps() { + }, + _$$MenuDropdownRightProps$PlainMap: function _$$MenuDropdownRightProps$PlainMap(t0, t1, t2, t3, t4, t5, t6, t7, t8) { + var _ = this; + _._menu_dropdown_right$_props = t0; + _.MenuDropdownRightProps_tooltip = t1; + _.MenuDropdownRightProps_title = t2; + _.MenuDropdownRightProps_id = t3; + _.MenuDropdownRightProps_disallow_overflow = t4; + _.MenuDropdownRightProps_disabled = t5; + _.MenuDropdownRightProps_keyboard_shortcut = t6; + _.componentFactory = null; + _.UbiquitousDomPropsMixin__aria = t7; + _.UbiquitousDomPropsMixin__dom = t8; + }, + _$$MenuDropdownRightProps$JsMap: function _$$MenuDropdownRightProps$JsMap(t0, t1, t2, t3, t4, t5, t6, t7, t8) { + var _ = this; + _._menu_dropdown_right$_props = t0; + _.MenuDropdownRightProps_tooltip = t1; + _.MenuDropdownRightProps_title = t2; + _.MenuDropdownRightProps_id = t3; + _.MenuDropdownRightProps_disallow_overflow = t4; + _.MenuDropdownRightProps_disabled = t5; + _.MenuDropdownRightProps_keyboard_shortcut = t6; + _.componentFactory = null; + _.UbiquitousDomPropsMixin__aria = t7; + _.UbiquitousDomPropsMixin__dom = t8; + }, + _$$MenuDropdownRightState: function _$$MenuDropdownRightState() { + }, + _$$MenuDropdownRightState$JsMap: function _$$MenuDropdownRightState$JsMap(t0, t1, t2) { + this._menu_dropdown_right$_state = t0; + this.MenuDropdownRightState_top = t1; + this.MenuDropdownRightState_HTML_element = t2; + }, + _$MenuDropdownRightComponent: function _$MenuDropdownRightComponent(t0) { + var _ = this; + _._menu_dropdown_right$_cachedTypedState = _._menu_dropdown_right$_cachedTypedProps = null; + _.DisposableManagerProxy__disposableProxy = t0; + _.jsThis = _.state = _.props = null; + }, + $MenuDropdownRightProps: function $MenuDropdownRightProps() { + }, + $MenuDropdownRightState: function $MenuDropdownRightState() { + }, + __$$MenuDropdownRightProps_UiProps_MenuDropdownRightProps: function __$$MenuDropdownRightProps_UiProps_MenuDropdownRightProps() { + }, + __$$MenuDropdownRightProps_UiProps_MenuDropdownRightProps_$MenuDropdownRightProps: function __$$MenuDropdownRightProps_UiProps_MenuDropdownRightProps_$MenuDropdownRightProps() { + }, + __$$MenuDropdownRightState_UiState_MenuDropdownRightState: function __$$MenuDropdownRightState_UiState_MenuDropdownRightState() { + }, + __$$MenuDropdownRightState_UiState_MenuDropdownRightState_$MenuDropdownRightState: function __$$MenuDropdownRightState_UiState_MenuDropdownRightState_$MenuDropdownRightState() { + }, + _$MenuNumber: function(backingProps) { + type$.legacy_Map_dynamic_dynamic._as(backingProps); + return backingProps == null ? M._$$MenuNumberProps$JsMap$(new L.JsBackedMap({})) : M._$$MenuNumberProps__$$MenuNumberProps(backingProps); + }, + _$$MenuNumberProps__$$MenuNumberProps: function(backingMap) { + var t1, _null = null; + if (backingMap instanceof L.JsBackedMap) + return M._$$MenuNumberProps$JsMap$(backingMap); + else { + t1 = type$.dynamic; + t1 = new M._$$MenuNumberProps$PlainMap(P.LinkedHashMap_LinkedHashMap$_empty(t1, t1), _null, _null, _null, _null, _null, _null, _null, _null, _null, _null); + t1.get$$$isClassGenerated(); + t1._menu_number$_props = backingMap; + return t1; + } + }, + _$$MenuNumberProps$JsMap$: function(backingMap) { + var _null = null, + t1 = new M._$$MenuNumberProps$JsMap(new L.JsBackedMap({}), _null, _null, _null, _null, _null, _null, _null, _null, _null, _null); + t1.get$$$isClassGenerated(); + t1._menu_number$_props = backingMap == null ? new L.JsBackedMap({}) : backingMap; + return t1; + }, + MenuNumberPropsMixin: function MenuNumberPropsMixin() { + }, + MenuNumberComponent: function MenuNumberComponent() { + }, + MenuNumberComponent_render_closure: function MenuNumberComponent_render_closure(t0, t1) { + this._box_0 = t0; + this.$this = t1; + }, + $MenuNumberComponentFactory_closure: function $MenuNumberComponentFactory_closure() { + }, + _$$MenuNumberProps: function _$$MenuNumberProps() { + }, + _$$MenuNumberProps$PlainMap: function _$$MenuNumberProps$PlainMap(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10) { + var _ = this; + _._menu_number$_props = t0; + _.MenuNumberPropsMixin_display = t1; + _.MenuNumberPropsMixin_default_value = t2; + _.MenuNumberPropsMixin_on_new_value = t3; + _.MenuNumberPropsMixin_min_value = t4; + _.MenuNumberPropsMixin_hide = t5; + _.MenuNumberPropsMixin_tooltip = t6; + _.MenuNumberPropsMixin_input_elt_id = t7; + _.MenuNumberPropsMixin_step = t8; + _.componentFactory = null; + _.UbiquitousDomPropsMixin__aria = t9; + _.UbiquitousDomPropsMixin__dom = t10; + }, + _$$MenuNumberProps$JsMap: function _$$MenuNumberProps$JsMap(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10) { + var _ = this; + _._menu_number$_props = t0; + _.MenuNumberPropsMixin_display = t1; + _.MenuNumberPropsMixin_default_value = t2; + _.MenuNumberPropsMixin_on_new_value = t3; + _.MenuNumberPropsMixin_min_value = t4; + _.MenuNumberPropsMixin_hide = t5; + _.MenuNumberPropsMixin_tooltip = t6; + _.MenuNumberPropsMixin_input_elt_id = t7; + _.MenuNumberPropsMixin_step = t8; + _.componentFactory = null; + _.UbiquitousDomPropsMixin__aria = t9; + _.UbiquitousDomPropsMixin__dom = t10; + }, + _$MenuNumberComponent: function _$MenuNumberComponent(t0) { + var _ = this; + _._menu_number$_cachedTypedProps = null; + _.DisposableManagerProxy__disposableProxy = t0; + _.jsThis = _.state = _.props = null; + }, + $MenuNumberPropsMixin: function $MenuNumberPropsMixin() { + }, + __$$MenuNumberProps_UiProps_MenuNumberPropsMixin: function __$$MenuNumberProps_UiProps_MenuNumberPropsMixin() { + }, + __$$MenuNumberProps_UiProps_MenuNumberPropsMixin_$MenuNumberPropsMixin: function __$$MenuNumberProps_UiProps_MenuNumberPropsMixin_$MenuNumberPropsMixin() { + }, + _$PotentialCrossoverView: function(backingProps) { + type$.legacy_Map_dynamic_dynamic._as(backingProps); + return backingProps == null ? M._$$PotentialCrossoverViewProps$JsMap$(new L.JsBackedMap({})) : M._$$PotentialCrossoverViewProps__$$PotentialCrossoverViewProps(backingProps); + }, + _$$PotentialCrossoverViewProps__$$PotentialCrossoverViewProps: function(backingMap) { + var t1, _null = null; + if (backingMap instanceof L.JsBackedMap) + return M._$$PotentialCrossoverViewProps$JsMap$(backingMap); + else { + t1 = type$.dynamic; + t1 = new M._$$PotentialCrossoverViewProps$PlainMap(P.LinkedHashMap_LinkedHashMap$_empty(t1, t1), _null, _null, _null, _null); + t1.get$$$isClassGenerated(); + t1._potential_crossover_view$_props = backingMap; + return t1; + } + }, + _$$PotentialCrossoverViewProps$JsMap$: function(backingMap) { + var _null = null, + t1 = new M._$$PotentialCrossoverViewProps$JsMap(new L.JsBackedMap({}), _null, _null, _null, _null); + t1.get$$$isClassGenerated(); + t1._potential_crossover_view$_props = backingMap == null ? new L.JsBackedMap({}) : backingMap; + return t1; + }, + ConnectedPotentialCrossoverView_closure: function ConnectedPotentialCrossoverView_closure() { + }, + PotentialCrossoverViewProps: function PotentialCrossoverViewProps() { + }, + PotentialCrossoverViewComponent: function PotentialCrossoverViewComponent() { + }, + $PotentialCrossoverViewComponentFactory_closure: function $PotentialCrossoverViewComponentFactory_closure() { + }, + _$$PotentialCrossoverViewProps: function _$$PotentialCrossoverViewProps() { + }, + _$$PotentialCrossoverViewProps$PlainMap: function _$$PotentialCrossoverViewProps$PlainMap(t0, t1, t2, t3, t4) { + var _ = this; + _._potential_crossover_view$_props = t0; + _.PotentialCrossoverViewProps_potential_crossover = t1; + _.PotentialCrossoverViewProps_id = t2; + _.componentFactory = null; + _.UbiquitousDomPropsMixin__aria = t3; + _.UbiquitousDomPropsMixin__dom = t4; + }, + _$$PotentialCrossoverViewProps$JsMap: function _$$PotentialCrossoverViewProps$JsMap(t0, t1, t2, t3, t4) { + var _ = this; + _._potential_crossover_view$_props = t0; + _.PotentialCrossoverViewProps_potential_crossover = t1; + _.PotentialCrossoverViewProps_id = t2; + _.componentFactory = null; + _.UbiquitousDomPropsMixin__aria = t3; + _.UbiquitousDomPropsMixin__dom = t4; + }, + _$PotentialCrossoverViewComponent: function _$PotentialCrossoverViewComponent(t0) { + var _ = this; + _._potential_crossover_view$_cachedTypedProps = null; + _.DisposableManagerProxy__disposableProxy = t0; + _.jsThis = _.state = _.props = null; + }, + $PotentialCrossoverViewProps: function $PotentialCrossoverViewProps() { + }, + __$$PotentialCrossoverViewProps_UiProps_PotentialCrossoverViewProps: function __$$PotentialCrossoverViewProps_UiProps_PotentialCrossoverViewProps() { + }, + __$$PotentialCrossoverViewProps_UiProps_PotentialCrossoverViewProps_$PotentialCrossoverViewProps: function __$$PotentialCrossoverViewProps_UiProps_PotentialCrossoverViewProps_$PotentialCrossoverViewProps() { + }, + XmlProductionDefinition: function XmlProductionDefinition() { + }, + castUiFactory: function(value, $T) { + return $T._eval$1("0*([Map<@,@>*])*")._as(value); + }, + selectLast: function(first, second, $T) { + var t1 = $T._eval$1("Failure<0>"); + t1._as(first); + return t1._as(second); + }, + helix_group_move_start_middleware: function(store, action, next) { + var state, group_name, t1, group, helices_in_group, helix_group_move; + type$.legacy_Store_legacy_AppState._as(store); + type$.legacy_dynamic_Function_dynamic._as(next); + if (action instanceof U.HelixGroupMoveStart) { + state = store.get$state(store); + group_name = state.ui_state.storables.displayed_group_name; + t1 = state.design; + group = J.$index$asx(t1.groups._map$_map, group_name); + helices_in_group = t1.helices_in_group$1(group_name); + if (J.get$isNotEmpty$asx(helices_in_group._map$_map)) { + next.call$1(action); + helix_group_move = G.HelixGroupMove_HelixGroupMove(group, group_name, helices_in_group, action.mouse_point); + $.app.dispatch$1(U._$HelixGroupMoveCreate$_(helix_group_move)); + } else + C.Window_methods.alert$1(window, "Cannot move a helix group that has no helices in it."); + } else + next.call$1(action); + } + }, + U = { + Serializers_Serializers: function() { + var t1 = type$.Type, + t2 = type$.Serializer_dynamic, + t3 = type$.String; + t2 = new Y.BuiltJsonSerializersBuilder(A.MapBuilder_MapBuilder(C.Map_empty, t1, t2), A.MapBuilder_MapBuilder(C.Map_empty, t3, t2), A.MapBuilder_MapBuilder(C.Map_empty, t3, t2), A.MapBuilder_MapBuilder(C.Map_empty, type$.FullType, type$.Function), D.ListBuilder_ListBuilder(C.List_empty, type$.SerializerPlugin)); + t2.add$1(0, new O.BigIntSerializer(D.BuiltList_BuiltList$from([C.Type_BigInt_8OV, J.get$runtimeType$($.$get$_BigIntImpl_zero())], t1))); + t2.add$1(0, new R.BoolSerializer(D.BuiltList_BuiltList$from([C.Type_bool_lhE], t1))); + t3 = type$.Object; + t2.add$1(0, new K.BuiltListSerializer(D.BuiltList_BuiltList$from([C.Type_BuiltList_iTR, H.getRuntimeType(D.BuiltList_BuiltList$from(C.List_empty, t3))], t1))); + t2.add$1(0, new R.BuiltListMultimapSerializer(D.BuiltList_BuiltList$from([C.Type_BuiltListMultimap_2Mt, H.getRuntimeType(R.BuiltListMultimap_BuiltListMultimap(t3, t3))], t1))); + t2.add$1(0, new K.BuiltMapSerializer(D.BuiltList_BuiltList$from([C.Type_BuiltMap_qd4, H.getRuntimeType(A.BuiltMap_BuiltMap(C.Map_empty, t3, t3))], t1))); + t2.add$1(0, new O.BuiltSetSerializer(D.BuiltList_BuiltList$from([C.Type_BuiltSet_fcN, H.getRuntimeType(X.BuiltSet_BuiltSet$from(C.List_empty, t3))], t1))); + t2.add$1(0, new R.BuiltSetMultimapSerializer(X.BuiltSet_BuiltSet$from([C.Type_BuiltSetMultimap_9Fi], t1))); + t2.add$1(0, new Z.DateTimeSerializer(D.BuiltList_BuiltList$from([C.Type_DateTime_8AS], t1))); + t2.add$1(0, new D.DoubleSerializer(D.BuiltList_BuiltList$from([C.Type_double_K1J], t1))); + t2.add$1(0, new K.DurationSerializer(D.BuiltList_BuiltList$from([C.Type_Duration_SnA], t1))); + t2.add$1(0, new B.IntSerializer(D.BuiltList_BuiltList$from([C.Type_int_tHn], t1))); + t2.add$1(0, new T.Int32Serializer(D.BuiltList_BuiltList$from([C.Type_Int32_MYA], t1))); + t2.add$1(0, new Q.Int64Serializer(D.BuiltList_BuiltList$from([C.Type_Int64_gc6], t1))); + t2.add$1(0, new O.JsonObjectSerializer(D.BuiltList_BuiltList$from([C.Type_JsonObject_gyf, C.Type_BoolJsonObject_8HQ, C.Type_ListJsonObject_yPV, C.Type_MapJsonObject_bBG, C.Type_NumJsonObject_H9C, C.Type_StringJsonObject_GAC], t1))); + t2.add$1(0, new S.NullSerializer(D.BuiltList_BuiltList$from([C.Type_Null_Yyn], t1))); + t2.add$1(0, new K.NumSerializer(D.BuiltList_BuiltList$from([C.Type_num_cv7], t1))); + t2.add$1(0, new K.RegExpSerializer(D.BuiltList_BuiltList$from([C.Type_RegExp_Eeh, $.$get$_runtimeType()], t1))); + t2.add$1(0, new M.StringSerializer(D.BuiltList_BuiltList$from([C.Type_String_k8F], t1))); + t2.add$1(0, new U.Uint8ListSerializer()); + t2.add$1(0, new O.UriSerializer(D.BuiltList_BuiltList$from([C.Type_Uri_EFX, H.getRuntimeType(P.Uri_parse("http://example.com")), H.getRuntimeType(P.Uri_parse("http://example.com:"))], t1))); + t2.addBuilderFactory$2(C.FullType_eLJ, new U.Serializers_Serializers_closure()); + t2.addBuilderFactory$2(C.FullType_4Wf, new U.Serializers_Serializers_closure0()); + t2.addBuilderFactory$2(C.FullType_wIv, new U.Serializers_Serializers_closure1()); + t2.addBuilderFactory$2(C.FullType_4e8, new U.Serializers_Serializers_closure2()); + t2.addBuilderFactory$2(C.FullType_Ofx, new U.Serializers_Serializers_closure3()); + return t2.build$0(); + }, + FullType__getRawName: function(type) { + var $name = J.toString$0$(type), + genericsStart = J.indexOf$1$asx($name, "<"); + return genericsStart === -1 ? $name : C.JSString_methods.substring$2($name, 0, genericsStart); + }, + DeserializationError_DeserializationError: function(json, type, error) { + var limitedJson = J.toString$0$(json), + t1 = limitedJson.length; + if (t1 > 80) + J.replaceRange$3$asx(limitedJson, 77, t1, "..."); + return new U.DeserializationError(type, error); + }, + Serializers_Serializers_closure: function Serializers_Serializers_closure() { + }, + Serializers_Serializers_closure0: function Serializers_Serializers_closure0() { + }, + Serializers_Serializers_closure1: function Serializers_Serializers_closure1() { + }, + Serializers_Serializers_closure2: function Serializers_Serializers_closure2() { + }, + Serializers_Serializers_closure3: function Serializers_Serializers_closure3() { + }, + FullType: function FullType(t0, t1, t2) { + this.root = t0; + this.parameters = t1; + this.nullable = t2; + }, + DeserializationError: function DeserializationError(t0, t1) { + this.type = t0; + this.error = t1; + }, + Uint8ListSerializer: function Uint8ListSerializer() { + }, + SetEquality$: function(elementEquality, $E) { + return new U.SetEquality(elementEquality, $E._eval$1("SetEquality<0>")); + }, + DefaultEquality: function DefaultEquality(t0) { + this.$ti = t0; + }, + IterableEquality: function IterableEquality(t0, t1) { + this._elementEquality = t0; + this.$ti = t1; + }, + ListEquality: function ListEquality(t0, t1) { + this._elementEquality = t0; + this.$ti = t1; + }, + _UnorderedEquality: function _UnorderedEquality() { + }, + SetEquality: function SetEquality(t0, t1) { + this._elementEquality = t0; + this.$ti = t1; + }, + _MapEntry: function _MapEntry(t0, t1, t2) { + this.equality = t0; + this.key = t1; + this.value = t2; + }, + MapEquality: function MapEquality(t0, t1, t2) { + this._keyEquality = t0; + this._valueEquality = t1; + this.$ti = t2; + }, + DeepCollectionEquality: function DeepCollectionEquality() { + }, + Response_fromStream: function(response) { + return U.Response_fromStream$body(response); + }, + Response_fromStream$body: function(response) { + var $async$goto = 0, + $async$completer = P._makeAsyncAwaitCompleter(type$.legacy_Response), + $async$returnValue, body, t1, t2, t3, t4, t5, t6; + var $async$Response_fromStream = P._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { + if ($async$errorCode === 1) + return P._asyncRethrow($async$result, $async$completer); + while (true) + switch ($async$goto) { + case 0: + // Function start + $async$goto = 3; + return P._asyncAwait(response.stream.toBytes$0(), $async$Response_fromStream); + case 3: + // returning from await. + body = $async$result; + t1 = response.statusCode; + t2 = response.request; + t3 = response.headers; + t4 = response.reasonPhrase; + t5 = B.toUint8List(body); + t6 = J.get$length$asx(body); + t5 = new U.Response(t5, t2, t1, t4, t6, t3, false, true); + t5.BaseResponse$7$contentLength$headers$isRedirect$persistentConnection$reasonPhrase$request(t1, t6, t3, false, true, t4, t2); + $async$returnValue = t5; + // goto return + $async$goto = 1; + break; + case 1: + // return + return P._asyncReturn($async$returnValue, $async$completer); + } + }); + return P._asyncStartSync($async$Response_fromStream, $async$completer); + }, + _contentTypeForHeaders: function(headers) { + var contentType = headers.$index(0, "content-type"); + if (contentType != null) + return R.MediaType_MediaType$parse(contentType); + return R.MediaType$("application", "octet-stream", null); + }, + Response: function Response(t0, t1, t2, t3, t4, t5, t6, t7) { + var _ = this; + _.bodyBytes = t0; + _.request = t1; + _.statusCode = t2; + _.reasonPhrase = t3; + _.contentLength = t4; + _.headers = t5; + _.isRedirect = t6; + _.persistentConnection = t7; + }, + LookupCharPredicate: function LookupCharPredicate(t0, t1, t2) { + this.start = t0; + this.stop = t1; + this.bits = t2; + }, + EndOfInputParser: function EndOfInputParser(t0) { + this.message = t0; + }, + LazyRepeatingParser$: function(parser, limit, min, max, $R) { + var t1 = new U.LazyRepeatingParser(limit, min, max, parser, $R._eval$1("LazyRepeatingParser<0>")); + t1.RepeatingParser$3(parser, min, max, $R); + return t1; + }, + LazyRepeatingParser: function LazyRepeatingParser(t0, t1, t2, t3, t4) { + var _ = this; + _.limit = t0; + _.min = t1; + _.max = t2; + _.delegate = t3; + _.$ti = t4; + }, + CipherParameters: function CipherParameters() { + }, + KeyParameter: function KeyParameter(t0) { + this.__KeyParameter_key = t0; + }, + SkipUndo_SkipUndo: function(undoable_action) { + var _$result, t2, + t1 = new U.SkipUndoBuilder(); + type$.legacy_void_Function_legacy_SkipUndoBuilder._as(new U.SkipUndo_SkipUndo_closure(undoable_action)).call$1(t1); + _$result = t1._$v; + if (_$result == null) { + t2 = t1.get$_$this()._undoable_action; + if (t2 == null) + H.throwExpression(Y.BuiltValueNullFieldError$("SkipUndo", "undoable_action")); + _$result = new U._$SkipUndo(t2); + } + return t1._$v = _$result; + }, + Undo_Undo: function(num_undos) { + var t1 = new U.UndoBuilder(); + type$.legacy_void_Function_legacy_UndoBuilder._as(new U.Undo_Undo_closure(num_undos)).call$1(t1); + return t1.build$0(); + }, + Redo_Redo: function(num_redos) { + var t1 = new U.RedoBuilder(); + type$.legacy_void_Function_legacy_RedoBuilder._as(new U.Redo_Redo_closure(num_redos)).call$1(t1); + return t1.build$0(); + }, + BatchAction_BatchAction: function(actions, short_description_value) { + var t1 = new U.BatchActionBuilder(); + type$.legacy_void_Function_legacy_BatchActionBuilder._as(new U.BatchAction_BatchAction_closure(actions, short_description_value)).call$1(t1); + return t1.build$0(); + }, + ThrottledActionFast_ThrottledActionFast: function(action, interval_sec) { + var t1 = new U.ThrottledActionFastBuilder(); + type$.legacy_void_Function_legacy_ThrottledActionFastBuilder._as(new U.ThrottledActionFast_ThrottledActionFast_closure(action, interval_sec)).call$1(t1); + return t1.build$0(); + }, + ThrottledActionNonFast_ThrottledActionNonFast: function(action, interval_sec) { + var t1 = new U.ThrottledActionNonFastBuilder(); + type$.legacy_void_Function_legacy_ThrottledActionNonFastBuilder._as(new U.ThrottledActionNonFast_ThrottledActionNonFast_closure(action, interval_sec)).call$1(t1); + return t1.build$0(); + }, + EditModeToggle_EditModeToggle: function(mode) { + var t1 = new U.EditModeToggleBuilder(); + type$.legacy_void_Function_legacy_EditModeToggleBuilder._as(new U.EditModeToggle_EditModeToggle_closure(mode)).call$1(t1); + return t1.build$0(); + }, + SelectModeToggle_SelectModeToggle: function(select_mode_choice) { + var t1 = new U.SelectModeToggleBuilder(); + type$.legacy_void_Function_legacy_SelectModeToggleBuilder._as(new U.SelectModeToggle_SelectModeToggle_closure(select_mode_choice)).call$1(t1); + return t1.build$0(); + }, + SetAppUIStateStorable_SetAppUIStateStorable: function(storables) { + var t1 = new U.SetAppUIStateStorableBuilder(); + type$.legacy_void_Function_legacy_SetAppUIStateStorableBuilder._as(new U.SetAppUIStateStorable_SetAppUIStateStorable_closure(storables)).call$1(t1); + return t1.build$0(); + }, + ShowDNASet_ShowDNASet: function(show) { + var t1 = new U.ShowDNASetBuilder(); + type$.legacy_void_Function_legacy_ShowDNASetBuilder._as(new U.ShowDNASet_ShowDNASet_closure(show)).call$1(t1); + return t1.build$0(); + }, + ShowDomainNamesSet_ShowDomainNamesSet: function(show) { + var t1 = new U.ShowDomainNamesSetBuilder(); + type$.legacy_void_Function_legacy_ShowDomainNamesSetBuilder._as(new U.ShowDomainNamesSet_ShowDomainNamesSet_closure(show)).call$1(t1); + return t1.build$0(); + }, + ShowStrandNamesSet_ShowStrandNamesSet: function(show) { + var t1 = new U.ShowStrandNamesSetBuilder(); + type$.legacy_void_Function_legacy_ShowStrandNamesSetBuilder._as(new U.ShowStrandNamesSet_ShowStrandNamesSet_closure(show)).call$1(t1); + return t1.build$0(); + }, + ShowStrandLabelsSet_ShowStrandLabelsSet: function(show) { + var t1 = new U.ShowStrandLabelsSetBuilder(); + type$.legacy_void_Function_legacy_ShowStrandLabelsSetBuilder._as(new U.ShowStrandLabelsSet_ShowStrandLabelsSet_closure(show)).call$1(t1); + return t1.build$0(); + }, + ShowDomainLabelsSet_ShowDomainLabelsSet: function(show) { + var t1 = new U.ShowDomainLabelsSetBuilder(); + type$.legacy_void_Function_legacy_ShowDomainLabelsSetBuilder._as(new U.ShowDomainLabelsSet_ShowDomainLabelsSet_closure(show)).call$1(t1); + return t1.build$0(); + }, + ShowModificationsSet_ShowModificationsSet: function(show) { + var t1 = new U.ShowModificationsSetBuilder(); + type$.legacy_void_Function_legacy_ShowModificationsSetBuilder._as(new U.ShowModificationsSet_ShowModificationsSet_closure(show)).call$1(t1); + return t1.build$0(); + }, + ModificationFontSizeSet_ModificationFontSizeSet: function(font_size) { + var t1 = new U.ModificationFontSizeSetBuilder(); + type$.legacy_void_Function_legacy_ModificationFontSizeSetBuilder._as(new U.ModificationFontSizeSet_ModificationFontSizeSet_closure(font_size)).call$1(t1); + return t1.build$0(); + }, + MajorTickOffsetFontSizeSet_MajorTickOffsetFontSizeSet: function(font_size) { + var t1 = new U.MajorTickOffsetFontSizeSetBuilder(); + type$.legacy_void_Function_legacy_MajorTickOffsetFontSizeSetBuilder._as(new U.MajorTickOffsetFontSizeSet_MajorTickOffsetFontSizeSet_closure(font_size)).call$1(t1); + return t1.build$0(); + }, + MajorTickWidthFontSizeSet_MajorTickWidthFontSizeSet: function(font_size) { + var t1 = new U.MajorTickWidthFontSizeSetBuilder(); + type$.legacy_void_Function_legacy_MajorTickWidthFontSizeSetBuilder._as(new U.MajorTickWidthFontSizeSet_MajorTickWidthFontSizeSet_closure(font_size)).call$1(t1); + return t1.build$0(); + }, + SetModificationDisplayConnector_SetModificationDisplayConnector: function(show) { + var t1 = new U.SetModificationDisplayConnectorBuilder(); + type$.legacy_void_Function_legacy_SetModificationDisplayConnectorBuilder._as(new U.SetModificationDisplayConnector_SetModificationDisplayConnector_closure(show)).call$1(t1); + return t1.build$0(); + }, + ShowMismatchesSet_ShowMismatchesSet: function(show) { + var t1 = new U.ShowMismatchesSetBuilder(); + type$.legacy_void_Function_legacy_ShowMismatchesSetBuilder._as(new U.ShowMismatchesSet_ShowMismatchesSet_closure(show)).call$1(t1); + return t1.build$0(); + }, + ShowDomainNameMismatchesSet_ShowDomainNameMismatchesSet: function(show_domain_name_mismatches) { + var t1 = new U.ShowDomainNameMismatchesSetBuilder(); + type$.legacy_void_Function_legacy_ShowDomainNameMismatchesSetBuilder._as(new U.ShowDomainNameMismatchesSet_ShowDomainNameMismatchesSet_closure(show_domain_name_mismatches)).call$1(t1); + return t1.build$0(); + }, + ShowUnpairedInsertionDeletionsSet_ShowUnpairedInsertionDeletionsSet: function(show_unpaired_insertion_deletions) { + var t1 = new U.ShowUnpairedInsertionDeletionsSetBuilder(); + type$.legacy_void_Function_legacy_ShowUnpairedInsertionDeletionsSetBuilder._as(new U.ShowUnpairedInsertionDeletionsSet_ShowUnpairedInsertionDeletionsSet_closure(show_unpaired_insertion_deletions)).call$1(t1); + return t1.build$0(); + }, + OxviewShowSet_OxviewShowSet: function(show) { + var t1 = new U.OxviewShowSetBuilder(); + type$.legacy_void_Function_legacy_OxviewShowSetBuilder._as(new U.OxviewShowSet_OxviewShowSet_closure(show)).call$1(t1); + return t1.build$0(); + }, + SetDisplayBaseOffsetsOfMajorTicksOnlyFirstHelix_SetDisplayBaseOffsetsOfMajorTicksOnlyFirstHelix: function(show) { + var t1 = new U.SetDisplayBaseOffsetsOfMajorTicksOnlyFirstHelixBuilder(); + type$.legacy_void_Function_legacy_SetDisplayBaseOffsetsOfMajorTicksOnlyFirstHelixBuilder._as(new U.SetDisplayBaseOffsetsOfMajorTicksOnlyFirstHelix_SetDisplayBaseOffsetsOfMajorTicksOnlyFirstHelix_closure(show)).call$1(t1); + return t1.build$0(); + }, + DisplayMajorTicksOffsetsSet_DisplayMajorTicksOffsetsSet: function(show) { + var t1 = new U.DisplayMajorTicksOffsetsSetBuilder(); + type$.legacy_void_Function_legacy_DisplayMajorTicksOffsetsSetBuilder._as(new U.DisplayMajorTicksOffsetsSet_DisplayMajorTicksOffsetsSet_closure(show)).call$1(t1); + return t1.build$0(); + }, + SetDisplayMajorTickWidthsAllHelices_SetDisplayMajorTickWidthsAllHelices: function(show) { + var t1 = new U.SetDisplayMajorTickWidthsAllHelicesBuilder(); + type$.legacy_void_Function_legacy_SetDisplayMajorTickWidthsAllHelicesBuilder._as(new U.SetDisplayMajorTickWidthsAllHelices_SetDisplayMajorTickWidthsAllHelices_closure(show)).call$1(t1); + return t1.build$0(); + }, + SetDisplayMajorTickWidths_SetDisplayMajorTickWidths: function(show) { + var t1 = new U.SetDisplayMajorTickWidthsBuilder(); + type$.legacy_void_Function_legacy_SetDisplayMajorTickWidthsBuilder._as(new U.SetDisplayMajorTickWidths_SetDisplayMajorTickWidths_closure(show)).call$1(t1); + return t1.build$0(); + }, + SetOnlyDisplaySelectedHelices_SetOnlyDisplaySelectedHelices: function(only_display_selected_helices) { + var t1 = new U.SetOnlyDisplaySelectedHelicesBuilder(); + type$.legacy_void_Function_legacy_SetOnlyDisplaySelectedHelicesBuilder._as(new U.SetOnlyDisplaySelectedHelices_SetOnlyDisplaySelectedHelices_closure(only_display_selected_helices)).call$1(t1); + return t1.build$0(); + }, + LoadDNAFile_LoadDNAFile: function($content, dna_file_type, filename, unit_testing, write_local_storage) { + var t1 = new U.LoadDNAFileBuilder(); + type$.legacy_void_Function_legacy_LoadDNAFileBuilder._as(new U.LoadDNAFile_LoadDNAFile_closure($content, filename, write_local_storage, unit_testing, dna_file_type)).call$1(t1); + return t1.build$0(); + }, + PrepareToLoadDNAFile_PrepareToLoadDNAFile: function($content, dna_file_type, filename, write_local_storage) { + var t1 = new U.PrepareToLoadDNAFileBuilder(); + type$.legacy_void_Function_legacy_PrepareToLoadDNAFileBuilder._as(new U.PrepareToLoadDNAFile_PrepareToLoadDNAFile_closure($content, filename, write_local_storage, false, dna_file_type)).call$1(t1); + return t1.build$0(); + }, + NewDesignSet_NewDesignSet: function(design, short_description_value) { + var t1 = new U.NewDesignSetBuilder(); + type$.legacy_void_Function_legacy_NewDesignSetBuilder._as(new U.NewDesignSet_NewDesignSet_closure(design, short_description_value)).call$1(t1); + return t1.build$0(); + }, + ShowMouseoverDataSet_ShowMouseoverDataSet: function(show) { + var t1 = new U.ShowMouseoverDataSetBuilder(); + type$.legacy_void_Function_legacy_ShowMouseoverDataSetBuilder._as(new U.ShowMouseoverDataSet_ShowMouseoverDataSet_closure(show)).call$1(t1); + return t1.build$0(); + }, + HelixRollSetAtOther_HelixRollSetAtOther: function(helix_idx, helix_other_idx, $forward, anchor) { + var t1 = new U.HelixRollSetAtOtherBuilder(); + type$.legacy_void_Function_legacy_HelixRollSetAtOtherBuilder._as(new U.HelixRollSetAtOther_HelixRollSetAtOther_closure(helix_idx, helix_other_idx, $forward, anchor)).call$1(t1); + return t1.build$0(); + }, + ErrorMessageSet_ErrorMessageSet: function(error_message) { + var t1 = new U.ErrorMessageSetBuilder(); + type$.legacy_void_Function_legacy_ErrorMessageSetBuilder._as(new U.ErrorMessageSet_ErrorMessageSet_closure(error_message)).call$1(t1); + return t1.build$0(); + }, + SelectionBoxCreate_SelectionBoxCreate: function(point, toggle, is_main) { + var t1 = new U.SelectionBoxCreateBuilder(); + type$.legacy_void_Function_legacy_SelectionBoxCreateBuilder._as(new U.SelectionBoxCreate_SelectionBoxCreate_closure(point, toggle, is_main)).call$1(t1); + return t1.build$0(); + }, + SelectionBoxSizeChange_SelectionBoxSizeChange: function(point, is_main) { + var t1 = new U.SelectionBoxSizeChangeBuilder(); + type$.legacy_void_Function_legacy_SelectionBoxSizeChangeBuilder._as(new U.SelectionBoxSizeChange_SelectionBoxSizeChange_closure(point, is_main)).call$1(t1); + return t1.build$0(); + }, + SelectionBoxRemove_SelectionBoxRemove: function(is_main) { + var t1 = new U.SelectionBoxRemoveBuilder(); + type$.legacy_void_Function_legacy_SelectionBoxRemoveBuilder._as(new U.SelectionBoxRemove_SelectionBoxRemove_closure(is_main)).call$1(t1); + return t1.build$0(); + }, + MouseGridPositionSideUpdate_MouseGridPositionSideUpdate: function(grid_position) { + var t1 = new U.MouseGridPositionSideUpdateBuilder(); + type$.legacy_void_Function_legacy_MouseGridPositionSideUpdateBuilder._as(new U.MouseGridPositionSideUpdate_MouseGridPositionSideUpdate_closure(grid_position)).call$1(t1); + return t1.build$0(); + }, + MouseGridPositionSideClear_MouseGridPositionSideClear: function() { + var t1 = new U.MouseGridPositionSideClearBuilder(); + type$.legacy_void_Function_legacy_MouseGridPositionSideClearBuilder._as(new U.MouseGridPositionSideClear_MouseGridPositionSideClear_closure()).call$1(t1); + return t1.build$0(); + }, + Select_Select: function(selectable, only, toggle) { + var t1 = new U.SelectBuilder(); + type$.legacy_void_Function_legacy_SelectBuilder._as(new U.Select_Select_closure(selectable, toggle, only)).call$1(t1); + return t1.build$0(); + }, + SelectionsClear_SelectionsClear: function() { + var t1 = new U.SelectionsClearBuilder(); + type$.legacy_void_Function_legacy_SelectionsClearBuilder._as(new U.SelectionsClear_SelectionsClear_closure()).call$1(t1); + return t1.build$0(); + }, + SelectAllSelectable_SelectAllSelectable: function(current_helix_group_only) { + var t1 = new U.SelectAllSelectableBuilder(); + type$.legacy_void_Function_legacy_SelectAllSelectableBuilder._as(new U.SelectAllSelectable_SelectAllSelectable_closure(current_helix_group_only)).call$1(t1); + return t1.build$0(); + }, + DeleteAllSelected_DeleteAllSelected: function() { + var t1 = new U.DeleteAllSelectedBuilder(); + type$.legacy_void_Function_legacy_DeleteAllSelectedBuilder._as(new U.DeleteAllSelected_DeleteAllSelected_closure()).call$1(t1); + return t1.build$0(); + }, + HelixAdd_HelixAdd: function(grid_position, position) { + var t1; + if (grid_position == null && position == null) + throw H.wrapException(P.AssertionError$("cannot have both grid_position and position null in HelixAdd")); + t1 = new U.HelixAddBuilder(); + type$.legacy_void_Function_legacy_HelixAddBuilder._as(new U.HelixAdd_HelixAdd_closure(grid_position, position)).call$1(t1); + return t1.build$0(); + }, + HelixRemove_HelixRemove: function(helix_idx) { + var t1 = new U.HelixRemoveBuilder(); + type$.legacy_void_Function_legacy_HelixRemoveBuilder._as(new U.HelixRemove_HelixRemove_closure(helix_idx)).call$1(t1); + return t1.build$0(); + }, + HelixSelect_HelixSelect: function(helix_idx, toggle) { + var t1 = new U.HelixSelectBuilder(); + type$.legacy_void_Function_legacy_HelixSelectBuilder._as(new U.HelixSelect_HelixSelect_closure(helix_idx, toggle)).call$1(t1); + return t1.build$0(); + }, + HelixSelectionsClear_HelixSelectionsClear: function() { + var t1 = new U.HelixSelectionsClearBuilder(); + type$.legacy_void_Function_legacy_HelixSelectionsClearBuilder._as(new U.HelixSelectionsClear_HelixSelectionsClear_closure()).call$1(t1); + return t1.build$0(); + }, + HelixSelectionsAdjust_HelixSelectionsAdjust: function(toggle, selection_box) { + var t1 = new U.HelixSelectionsAdjustBuilder(); + type$.legacy_void_Function_legacy_HelixSelectionsAdjustBuilder._as(new U.HelixSelectionsAdjust_HelixSelectionsAdjust_closure(toggle, selection_box)).call$1(t1); + return t1.build$0(); + }, + HelixIdxsChange_HelixIdxsChange: function(idx_replacements) { + var t1 = new U.HelixIdxsChangeBuilder(); + type$.legacy_void_Function_legacy_HelixIdxsChangeBuilder._as(new U.HelixIdxsChange_HelixIdxsChange_closure(idx_replacements)).call$1(t1); + return t1.build$0(); + }, + ExportDNA_ExportDNA: function(column_major_plate, column_major_strand, delimiter, domain_delimiter, exclude_selected_strands, export_dna_format, include_only_selected_strands, include_scaffold, strand_order) { + var t1 = new U.ExportDNABuilder(); + type$.legacy_void_Function_legacy_ExportDNABuilder._as(new U.ExportDNA_ExportDNA_closure(include_scaffold, include_only_selected_strands, exclude_selected_strands, export_dna_format, delimiter, domain_delimiter, strand_order, column_major_strand, column_major_plate)).call$1(t1); + return t1.build$0(); + }, + ExportCanDoDNA_ExportCanDoDNA: function() { + var _$result, + t1 = new U.ExportCanDoDNABuilder(); + type$.legacy_void_Function_legacy_ExportCanDoDNABuilder._as(new U.ExportCanDoDNA_ExportCanDoDNA_closure()).call$1(t1); + _$result = t1._$v; + if (_$result == null) + _$result = new U._$ExportCanDoDNA(); + return t1._$v = _$result; + }, + ExportSvgTextSeparatelySet_ExportSvgTextSeparatelySet: function(export_svg_text_separately) { + var t1 = new U.ExportSvgTextSeparatelySetBuilder(); + type$.legacy_void_Function_legacy_ExportSvgTextSeparatelySetBuilder._as(new U.ExportSvgTextSeparatelySet_ExportSvgTextSeparatelySet_closure(export_svg_text_separately)).call$1(t1); + return t1.build$0(); + }, + ExtensionDisplayLengthAngleSet_ExtensionDisplayLengthAngleSet: function(display_angle, display_length, ext) { + var t1 = new U.ExtensionDisplayLengthAngleSetBuilder(); + type$.legacy_void_Function_legacy_ExtensionDisplayLengthAngleSetBuilder._as(new U.ExtensionDisplayLengthAngleSet_ExtensionDisplayLengthAngleSet_closure(ext, display_length, display_angle)).call$1(t1); + return t1.build$0(); + }, + ExtensionAdd_ExtensionAdd: function(is_5p, num_bases, strand) { + var t1 = new U.ExtensionAddBuilder(); + type$.legacy_void_Function_legacy_ExtensionAddBuilder._as(new U.ExtensionAdd_ExtensionAdd_closure(strand, is_5p, num_bases)).call$1(t1); + return t1.build$0(); + }, + ExtensionNumBasesChange_ExtensionNumBasesChange: function(ext, num_bases) { + var t1 = new U.ExtensionNumBasesChangeBuilder(); + type$.legacy_void_Function_legacy_ExtensionNumBasesChangeBuilder._as(new U.ExtensionNumBasesChange_ExtensionNumBasesChange_closure(ext, num_bases)).call$1(t1); + return t1.build$0(); + }, + ExtensionsNumBasesChange_ExtensionsNumBasesChange: function(extensions, num_bases) { + var t1 = new U.ExtensionsNumBasesChangeBuilder(); + type$.legacy_void_Function_legacy_ExtensionsNumBasesChangeBuilder._as(new U.ExtensionsNumBasesChange_ExtensionsNumBasesChange_closure(extensions, num_bases)).call$1(t1); + return t1.build$0(); + }, + LoopoutLengthChange_LoopoutLengthChange: function(loopout, num_bases) { + var t1 = new U.LoopoutLengthChangeBuilder(); + type$.legacy_void_Function_legacy_LoopoutLengthChangeBuilder._as(new U.LoopoutLengthChange_LoopoutLengthChange_closure(loopout, num_bases)).call$1(t1); + return t1.build$0(); + }, + LoopoutsLengthChange_LoopoutsLengthChange: function(loopouts, $length) { + var t1 = new U.LoopoutsLengthChangeBuilder(); + type$.legacy_void_Function_legacy_LoopoutsLengthChangeBuilder._as(new U.LoopoutsLengthChange_LoopoutsLengthChange_closure(loopouts, $length)).call$1(t1); + return t1.build$0(); + }, + ConvertCrossoverToLoopout_ConvertCrossoverToLoopout: function(crossover, $length, dna_sequence) { + var t1 = new U.ConvertCrossoverToLoopoutBuilder(); + type$.legacy_void_Function_legacy_ConvertCrossoverToLoopoutBuilder._as(new U.ConvertCrossoverToLoopout_ConvertCrossoverToLoopout_closure(crossover, $length, dna_sequence)).call$1(t1); + return t1.build$0(); + }, + ConvertCrossoversToLoopouts_ConvertCrossoversToLoopouts: function(crossovers, $length) { + var t1 = new U.ConvertCrossoversToLoopoutsBuilder(); + type$.legacy_void_Function_legacy_ConvertCrossoversToLoopoutsBuilder._as(new U.ConvertCrossoversToLoopouts_ConvertCrossoversToLoopouts_closure(crossovers, $length)).call$1(t1); + return t1.build$0(); + }, + ManualPasteInitiate_ManualPasteInitiate: function(clipboard_content) { + var t1 = new U.ManualPasteInitiateBuilder(); + type$.legacy_void_Function_legacy_ManualPasteInitiateBuilder._as(new U.ManualPasteInitiate_ManualPasteInitiate_closure(clipboard_content, true)).call$1(t1); + return t1.build$0(); + }, + AutoPasteInitiate_AutoPasteInitiate: function(clipboard_content) { + var t1 = new U.AutoPasteInitiateBuilder(); + type$.legacy_void_Function_legacy_AutoPasteInitiateBuilder._as(new U.AutoPasteInitiate_AutoPasteInitiate_closure(clipboard_content, true)).call$1(t1); + return t1.build$0(); + }, + AssignDNAComplementFromBoundStrands_AssignDNAComplementFromBoundStrands: function(strands) { + var t1 = new U.AssignDNAComplementFromBoundStrandsBuilder(); + type$.legacy_void_Function_legacy_AssignDNAComplementFromBoundStrandsBuilder._as(new U.AssignDNAComplementFromBoundStrands_AssignDNAComplementFromBoundStrands_closure(strands)).call$1(t1); + return t1.build$0(); + }, + AssignDomainNameComplementFromBoundStrands_AssignDomainNameComplementFromBoundStrands: function(strands) { + var t1 = new U.AssignDomainNameComplementFromBoundStrandsBuilder(); + type$.legacy_void_Function_legacy_AssignDomainNameComplementFromBoundStrandsBuilder._as(new U.AssignDomainNameComplementFromBoundStrands_AssignDomainNameComplementFromBoundStrands_closure(strands)).call$1(t1); + return t1.build$0(); + }, + AssignDomainNameComplementFromBoundDomains_AssignDomainNameComplementFromBoundDomains: function(domains) { + var t1 = new U.AssignDomainNameComplementFromBoundDomainsBuilder(); + type$.legacy_void_Function_legacy_AssignDomainNameComplementFromBoundDomainsBuilder._as(new U.AssignDomainNameComplementFromBoundDomains_AssignDomainNameComplementFromBoundDomains_closure(domains)).call$1(t1); + return t1.build$0(); + }, + InsertionLengthChange_InsertionLengthChange: function(domain, insertion, $length) { + var t1 = new U.InsertionLengthChangeBuilder(); + type$.legacy_void_Function_legacy_InsertionLengthChangeBuilder._as(new U.InsertionLengthChange_InsertionLengthChange_closure(domain, insertion, $length)).call$1(t1); + return t1.build$0(); + }, + InsertionsLengthChange_InsertionsLengthChange: function(domains, insertions, $length) { + var t1 = new U.InsertionsLengthChangeBuilder(); + type$.legacy_void_Function_legacy_InsertionsLengthChangeBuilder._as(new U.InsertionsLengthChange_InsertionsLengthChange_closure(insertions, domains, $length)).call$1(t1); + return t1.build$0(); + }, + InsertionRemove_InsertionRemove: function(domain, insertion) { + var t1 = new U.InsertionRemoveBuilder(); + type$.legacy_void_Function_legacy_InsertionRemoveBuilder._as(new U.InsertionRemove_InsertionRemove_closure(domain, insertion)).call$1(t1); + return t1.build$0(); + }, + DeletionRemove_DeletionRemove: function(domain, offset) { + var t1 = new U.DeletionRemoveBuilder(); + type$.legacy_void_Function_legacy_DeletionRemoveBuilder._as(new U.DeletionRemove_DeletionRemove_closure(domain, offset)).call$1(t1); + return t1.build$0(); + }, + Modifications5PrimeEdit_Modifications5PrimeEdit: function(modifications, new_modification) { + var t1 = new U.Modifications5PrimeEditBuilder(); + type$.legacy_void_Function_legacy_Modifications5PrimeEditBuilder._as(new U.Modifications5PrimeEdit_Modifications5PrimeEdit_closure(modifications, new_modification)).call$1(t1); + return t1.build$0(); + }, + Modifications3PrimeEdit_Modifications3PrimeEdit: function(modifications, new_modification) { + var t1 = new U.Modifications3PrimeEditBuilder(); + type$.legacy_void_Function_legacy_Modifications3PrimeEditBuilder._as(new U.Modifications3PrimeEdit_Modifications3PrimeEdit_closure(modifications, new_modification)).call$1(t1); + return t1.build$0(); + }, + ModificationsInternalEdit_ModificationsInternalEdit: function(modifications, new_modification) { + var t1 = new U.ModificationsInternalEditBuilder(); + type$.legacy_void_Function_legacy_ModificationsInternalEditBuilder._as(new U.ModificationsInternalEdit_ModificationsInternalEdit_closure(modifications, new_modification)).call$1(t1); + return t1.build$0(); + }, + StrandOrSubstrandColorPickerHide_StrandOrSubstrandColorPickerHide: function() { + var t1 = new U.StrandOrSubstrandColorPickerHideBuilder(); + type$.legacy_void_Function_legacy_StrandOrSubstrandColorPickerHideBuilder._as(new U.StrandOrSubstrandColorPickerHide_StrandOrSubstrandColorPickerHide_closure()).call$1(t1); + return t1.build$0(); + }, + LoadDnaSequenceImageUri_LoadDnaSequenceImageUri: function(uri, dna_sequence_png_horizontal_offset, dna_sequence_png_vertical_offset) { + var t1 = new U.LoadDnaSequenceImageUriBuilder(); + type$.legacy_void_Function_legacy_LoadDnaSequenceImageUriBuilder._as(new U.LoadDnaSequenceImageUri_LoadDnaSequenceImageUri_closure(uri, dna_sequence_png_horizontal_offset, dna_sequence_png_vertical_offset)).call$1(t1); + return t1.build$0(); + }, + SetIsZoomAboveThreshold_SetIsZoomAboveThreshold: function(is_zoom_above_threshold) { + var t1 = new U.SetIsZoomAboveThresholdBuilder(); + type$.legacy_void_Function_legacy_SetIsZoomAboveThresholdBuilder._as(new U.SetIsZoomAboveThreshold_SetIsZoomAboveThreshold_closure(is_zoom_above_threshold)).call$1(t1); + return t1.build$0(); + }, + SetExportSvgActionDelayedForPngCache_SetExportSvgActionDelayedForPngCache: function(export_svg_action_delayed_for_png_cache) { + var t1 = new U.SetExportSvgActionDelayedForPngCacheBuilder(); + type$.legacy_void_Function_legacy_SetExportSvgActionDelayedForPngCacheBuilder._as(new U.SetExportSvgActionDelayedForPngCache_SetExportSvgActionDelayedForPngCache_closure(export_svg_action_delayed_for_png_cache)).call$1(t1); + return t1.build$0(); + }, + ShowSliceBarSet_ShowSliceBarSet: function(show) { + var t1 = new U.ShowSliceBarSetBuilder(); + type$.legacy_void_Function_legacy_ShowSliceBarSetBuilder._as(new U.ShowSliceBarSet_ShowSliceBarSet_closure(show)).call$1(t1); + return t1.build$0(); + }, + SliceBarOffsetSet_SliceBarOffsetSet: function(offset) { + var t1 = new U.SliceBarOffsetSetBuilder(); + type$.legacy_void_Function_legacy_SliceBarOffsetSetBuilder._as(new U.SliceBarOffsetSet_SliceBarOffsetSet_closure(offset)).call$1(t1); + return t1.build$0(); + }, + DisablePngCachingDnaSequencesSet_DisablePngCachingDnaSequencesSet: function(disable_png_caching_dna_sequences) { + var t1 = new U.DisablePngCachingDnaSequencesSetBuilder(); + type$.legacy_void_Function_legacy_DisablePngCachingDnaSequencesSetBuilder._as(new U.DisablePngCachingDnaSequencesSet_DisablePngCachingDnaSequencesSet_closure(disable_png_caching_dna_sequences)).call$1(t1); + return t1.build$0(); + }, + RetainStrandColorOnSelectionSet_RetainStrandColorOnSelectionSet: function(retain_strand_color_on_selection) { + var t1 = new U.RetainStrandColorOnSelectionSetBuilder(); + type$.legacy_void_Function_legacy_RetainStrandColorOnSelectionSetBuilder._as(new U.RetainStrandColorOnSelectionSet_RetainStrandColorOnSelectionSet_closure(retain_strand_color_on_selection)).call$1(t1); + return t1.build$0(); + }, + DisplayReverseDNARightSideUpSet_DisplayReverseDNARightSideUpSet: function(display_reverse_DNA_right_side_up) { + var t1 = new U.DisplayReverseDNARightSideUpSetBuilder(); + type$.legacy_void_Function_legacy_DisplayReverseDNARightSideUpSetBuilder._as(new U.DisplayReverseDNARightSideUpSet_DisplayReverseDNARightSideUpSet_closure(display_reverse_DNA_right_side_up)).call$1(t1); + return t1.build$0(); + }, + Autobreak_Autobreak: function(max_length, min_distance_to_xover, min_length, target_length) { + var t1 = new U.AutobreakBuilder(); + type$.legacy_void_Function_legacy_AutobreakBuilder._as(new U.Autobreak_Autobreak_closure(target_length, min_length, max_length, min_distance_to_xover)).call$1(t1); + return t1.build$0(); + }, + OxdnaExport_OxdnaExport: function(selected_strands_only) { + var t1 = new U.OxdnaExportBuilder(); + type$.legacy_void_Function_legacy_OxdnaExportBuilder._as(new U.OxdnaExport_OxdnaExport_closure(selected_strands_only)).call$1(t1); + return t1.build$0(); + }, + OxviewExport_OxviewExport: function(selected_strands_only) { + var t1 = new U.OxviewExportBuilder(); + type$.legacy_void_Function_legacy_OxviewExportBuilder._as(new U.OxviewExport_OxviewExport_closure(selected_strands_only)).call$1(t1); + return t1.build$0(); + }, + _$LocalStorageDesignChoiceSet$_: function(choice) { + return new U._$LocalStorageDesignChoiceSet(choice); + }, + _$ClearHelixSelectionWhenLoadingNewDesignSet$_: function(clear) { + return new U._$ClearHelixSelectionWhenLoadingNewDesignSet(clear); + }, + _$SelectModesAdd$_: function(modes) { + if (modes == null) + H.throwExpression(Y.BuiltValueNullFieldError$("SelectModesAdd", "modes")); + return new U._$SelectModesAdd(modes); + }, + _$StrandNameSet$_: function($name, strand) { + if (strand == null) + H.throwExpression(Y.BuiltValueNullFieldError$("StrandNameSet", "strand")); + return new U._$StrandNameSet($name, strand); + }, + _$StrandLabelSet$_: function(label, strand) { + if (strand == null) + H.throwExpression(Y.BuiltValueNullFieldError$("StrandLabelSet", "strand")); + return new U._$StrandLabelSet(label, strand); + }, + _$SubstrandNameSet$_: function($name, substrand) { + if (substrand == null) + H.throwExpression(Y.BuiltValueNullFieldError$("SubstrandNameSet", "substrand")); + return new U._$SubstrandNameSet($name, substrand); + }, + _$SubstrandLabelSet$_: function(label, substrand) { + if (substrand == null) + H.throwExpression(Y.BuiltValueNullFieldError$("SubstrandLabelSet", "substrand")); + return new U._$SubstrandLabelSet(label, substrand); + }, + _$DomainNameFontSizeSet$_: function(font_size) { + if (font_size == null) + H.throwExpression(Y.BuiltValueNullFieldError$("DomainNameFontSizeSet", "font_size")); + return new U._$DomainNameFontSizeSet(font_size); + }, + _$DomainLabelFontSizeSet$_: function(font_size) { + if (font_size == null) + H.throwExpression(Y.BuiltValueNullFieldError$("DomainLabelFontSizeSet", "font_size")); + return new U._$DomainLabelFontSizeSet(font_size); + }, + _$StrandNameFontSizeSet$_: function(font_size) { + if (font_size == null) + H.throwExpression(Y.BuiltValueNullFieldError$("StrandNameFontSizeSet", "font_size")); + return new U._$StrandNameFontSizeSet(font_size); + }, + _$StrandLabelFontSizeSet$_: function(font_size) { + if (font_size == null) + H.throwExpression(Y.BuiltValueNullFieldError$("StrandLabelFontSizeSet", "font_size")); + return new U._$StrandLabelFontSizeSet(font_size); + }, + _$InvertYSet$_: function(invert_y) { + return new U._$InvertYSet(invert_y); + }, + _$DynamicHelixUpdateSet$_: function(dynamically_update_helices) { + return new U._$DynamicHelixUpdateSet(dynamically_update_helices); + }, + _$WarnOnExitIfUnsavedSet$_: function(warn) { + return new U._$WarnOnExitIfUnsavedSet(warn); + }, + _$CopySelectedStandsToClipboardImage__$CopySelectedStandsToClipboardImage: function() { + type$.legacy_void_Function_legacy_CopySelectedStandsToClipboardImageBuilder._as(null); + return new U.CopySelectedStandsToClipboardImageBuilder().build$0(); + }, + _$SaveDNAFile__$SaveDNAFile: function() { + type$.legacy_void_Function_legacy_SaveDNAFileBuilder._as(null); + return new U.SaveDNAFileBuilder().build$0(); + }, + _$ExportCadnanoFile$_: function(whitespace) { + return new U._$ExportCadnanoFile(whitespace); + }, + _$MouseoverDataClear__$MouseoverDataClear: function() { + type$.legacy_void_Function_legacy_MouseoverDataClearBuilder._as(null); + return new U.MouseoverDataClearBuilder().build$0(); + }, + _$MouseoverDataUpdate$_: function(mouseover_params) { + if (mouseover_params == null) + H.throwExpression(Y.BuiltValueNullFieldError$("MouseoverDataUpdate", "mouseover_params")); + return new U._$MouseoverDataUpdate(mouseover_params); + }, + _$HelixRollSet$_: function(helix_idx, roll) { + return new U._$HelixRollSet(helix_idx, roll); + }, + _$RelaxHelixRolls$_: function(only_selected) { + return new U._$RelaxHelixRolls(only_selected); + }, + _$SelectionRopeCreate$_: function(toggle) { + return new U._$SelectionRopeCreate(toggle); + }, + _$SelectionRopeMouseMove$_: function(is_main_view, point) { + return new U._$SelectionRopeMouseMove(point, is_main_view); + }, + _$SelectionRopeAddPoint$_: function(is_main_view, point) { + return new U._$SelectionRopeAddPoint(point, is_main_view); + }, + _$MousePositionSideUpdate$_: function(svg_pos) { + return new U._$MousePositionSideUpdate(svg_pos); + }, + _$MousePositionSideClear__$MousePositionSideClear: function() { + type$.legacy_void_Function_legacy_MousePositionSideClearBuilder._as(null); + return new U.MousePositionSideClearBuilder().build$0(); + }, + _$GeometrySet$_: function(geometry) { + if (geometry == null) + H.throwExpression(Y.BuiltValueNullFieldError$("GeometrySet", "geometry")); + return new U._$GeometrySet(geometry); + }, + _$SelectionBoxIntersectionRuleSet$_: function(intersect) { + return new U._$SelectionBoxIntersectionRuleSet(intersect); + }, + _$SelectionsAdjustMainView$_: function(box, toggle) { + return new U._$SelectionsAdjustMainView(toggle, box); + }, + _$SelectOrToggleItems$_: function(items, toggle) { + if (items == null) + H.throwExpression(Y.BuiltValueNullFieldError$("SelectOrToggleItems", "items")); + return new U._$SelectOrToggleItems(items, toggle); + }, + _$SelectAll$_: function(only, selectables) { + if (selectables == null) + H.throwExpression(Y.BuiltValueNullFieldError$("SelectAll", "selectables")); + return new U._$SelectAll(selectables, only); + }, + _$SelectAllWithSameAsSelected$_: function(exclude_scaffolds, templates, traits) { + var _s27_ = "SelectAllWithSameAsSelected"; + if (templates == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s27_, "templates")); + if (traits == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s27_, "traits")); + return new U._$SelectAllWithSameAsSelected(templates, traits, exclude_scaffolds); + }, + _$HelixMajorTickDistanceChange$_: function(helix_idx, major_tick_distance) { + var _s28_ = "HelixMajorTickDistanceChange"; + if (helix_idx == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s28_, "helix_idx")); + if (major_tick_distance == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s28_, "major_tick_distance")); + return new U._$HelixMajorTickDistanceChange(helix_idx, major_tick_distance); + }, + _$HelixMajorTickDistanceChangeAll$_: function(major_tick_distance) { + if (major_tick_distance == null) + H.throwExpression(Y.BuiltValueNullFieldError$("HelixMajorTickDistanceChangeAll", "major_tick_distance")); + return new U._$HelixMajorTickDistanceChangeAll(major_tick_distance); + }, + _$HelixMajorTickStartChange$_: function(helix_idx, major_tick_start) { + if (helix_idx == null) + H.throwExpression(Y.BuiltValueNullFieldError$("HelixMajorTickStartChange", "helix_idx")); + return new U._$HelixMajorTickStartChange(helix_idx, major_tick_start); + }, + _$HelixMajorTickStartChangeAll$_: function(major_tick_start) { + return new U._$HelixMajorTickStartChangeAll(major_tick_start); + }, + _$HelixMajorTicksChange$_: function(helix_idx, major_ticks) { + var _s21_ = "HelixMajorTicksChange"; + if (helix_idx == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s21_, "helix_idx")); + if (major_ticks == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s21_, "major_ticks")); + return new U._$HelixMajorTicksChange(helix_idx, major_ticks); + }, + _$HelixMajorTicksChangeAll$_: function(major_ticks) { + if (major_ticks == null) + H.throwExpression(Y.BuiltValueNullFieldError$("HelixMajorTicksChangeAll", "major_ticks")); + return new U._$HelixMajorTicksChangeAll(major_ticks); + }, + _$HelixMajorTickPeriodicDistancesChange$_: function(helix_idx, major_tick_periodic_distances) { + var _s37_ = "HelixMajorTickPeriodicDistancesChange"; + if (helix_idx == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s37_, "helix_idx")); + if (major_tick_periodic_distances == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s37_, "major_tick_periodic_distances")); + return new U._$HelixMajorTickPeriodicDistancesChange(helix_idx, major_tick_periodic_distances); + }, + _$HelixMajorTickPeriodicDistancesChangeAll$_: function(major_tick_periodic_distances) { + if (major_tick_periodic_distances == null) + H.throwExpression(Y.BuiltValueNullFieldError$("HelixMajorTickPeriodicDistancesChangeAll", "major_tick_periodic_distances")); + return new U._$HelixMajorTickPeriodicDistancesChangeAll(major_tick_periodic_distances); + }, + _$HelixOffsetChange$_: function(helix_idx, max_offset, min_offset) { + if (helix_idx == null) + H.throwExpression(Y.BuiltValueNullFieldError$("HelixOffsetChange", "helix_idx")); + return new U._$HelixOffsetChange(helix_idx, min_offset, max_offset); + }, + _$HelixMinOffsetSetByDomains$_: function(helix_idx) { + return new U._$HelixMinOffsetSetByDomains(helix_idx); + }, + _$HelixMaxOffsetSetByDomains$_: function(helix_idx) { + return new U._$HelixMaxOffsetSetByDomains(helix_idx); + }, + _$ExportSvg$_: function(type) { + return new U._$ExportSvg(type); + }, + _$Nick$_: function(domain, offset) { + if (domain == null) + H.throwExpression(Y.BuiltValueNullFieldError$("Nick", "domain")); + return new U._$Nick(domain, offset); + }, + _$Ligate$_: function(dna_end) { + return new U._$Ligate(dna_end); + }, + _$JoinStrandsByCrossover$_: function(dna_end_first_click, dna_end_second_click) { + var _s22_ = "JoinStrandsByCrossover"; + if (dna_end_first_click == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s22_, "dna_end_first_click")); + if (dna_end_second_click == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s22_, "dna_end_second_click")); + return new U._$JoinStrandsByCrossover(dna_end_first_click, dna_end_second_click); + }, + _$MoveLinker$_: function(dna_end_second_click, potential_crossover) { + if (potential_crossover == null) + H.throwExpression(Y.BuiltValueNullFieldError$("MoveLinker", "potential_crossover")); + return new U._$MoveLinker(potential_crossover, dna_end_second_click); + }, + _$StrandsReflect$_: function(horizontal, reverse_polarity, strands) { + if (strands == null) + H.throwExpression(Y.BuiltValueNullFieldError$("StrandsReflect", "strands")); + return new U._$StrandsReflect(strands, horizontal, reverse_polarity); + }, + _$ReplaceStrands$_: function(new_strands) { + if (new_strands == null) + H.throwExpression(Y.BuiltValueNullFieldError$("ReplaceStrands", "new_strands")); + return new U._$ReplaceStrands(new_strands); + }, + _$StrandCreateStart$_: function(address, color) { + return new U._$StrandCreateStart(address, color); + }, + _$StrandCreateAdjustOffset$_: function(offset) { + if (offset == null) + H.throwExpression(Y.BuiltValueNullFieldError$("StrandCreateAdjustOffset", "offset")); + return new U._$StrandCreateAdjustOffset(offset); + }, + _$StrandCreateStop__$StrandCreateStop: function() { + type$.legacy_void_Function_legacy_StrandCreateStopBuilder._as(null); + return new U.StrandCreateStopBuilder().build$0(); + }, + _$StrandCreateCommit$_: function(color, end, $forward, helix_idx, start) { + return new U._$StrandCreateCommit(helix_idx, start, end, $forward, color); + }, + _$PotentialCrossoverCreate$_: function(potential_crossover) { + if (potential_crossover == null) + H.throwExpression(Y.BuiltValueNullFieldError$("PotentialCrossoverCreate", "potential_crossover")); + return new U._$PotentialCrossoverCreate(potential_crossover); + }, + _$PotentialCrossoverMove$_: function(point) { + return new U._$PotentialCrossoverMove(point); + }, + _$PotentialCrossoverRemove__$PotentialCrossoverRemove: function() { + type$.legacy_void_Function_legacy_PotentialCrossoverRemoveBuilder._as(null); + return new U.PotentialCrossoverRemoveBuilder().build$0(); + }, + _$StrandsMoveStart$_: function(address, copy, original_helices_view_order_inverse, strands) { + var _s16_ = "StrandsMoveStart"; + if (strands == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s16_, "strands")); + if (original_helices_view_order_inverse == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s16_, "original_helices_view_order_inverse")); + return new U._$StrandsMoveStart(strands, address, copy, original_helices_view_order_inverse); + }, + _$StrandsMoveStartSelectedStrands$_: function(address, copy, original_helices_view_order_inverse) { + if (original_helices_view_order_inverse == null) + H.throwExpression(Y.BuiltValueNullFieldError$("StrandsMoveStartSelectedStrands", "original_helices_view_order_inverse")); + return new U._$StrandsMoveStartSelectedStrands(address, copy, original_helices_view_order_inverse); + }, + _$StrandsMoveStop__$StrandsMoveStop: function() { + type$.legacy_void_Function_legacy_StrandsMoveStopBuilder._as(null); + return new U.StrandsMoveStopBuilder().build$0(); + }, + _$StrandsMoveAdjustAddress$_: function(address) { + return new U._$StrandsMoveAdjustAddress(address); + }, + _$StrandsMoveCommit$_: function(autopaste, strands_move) { + if (strands_move == null) + H.throwExpression(Y.BuiltValueNullFieldError$("StrandsMoveCommit", "strands_move")); + return new U._$StrandsMoveCommit(strands_move, autopaste); + }, + _$DomainsMoveStartSelectedDomains$_: function(address, original_helices_view_order_inverse) { + if (original_helices_view_order_inverse == null) + H.throwExpression(Y.BuiltValueNullFieldError$("DomainsMoveStartSelectedDomains", "original_helices_view_order_inverse")); + return new U._$DomainsMoveStartSelectedDomains(address, original_helices_view_order_inverse); + }, + _$DomainsMoveStop__$DomainsMoveStop: function() { + type$.legacy_void_Function_legacy_DomainsMoveStopBuilder._as(null); + return new U.DomainsMoveStopBuilder().build$0(); + }, + _$DomainsMoveAdjustAddress$_: function(address) { + return new U._$DomainsMoveAdjustAddress(address); + }, + _$DomainsMoveCommit$_: function(domains_move) { + if (domains_move == null) + H.throwExpression(Y.BuiltValueNullFieldError$("DomainsMoveCommit", "domains_move")); + return new U._$DomainsMoveCommit(domains_move); + }, + _$DNAEndsMoveStart$_: function(helix, offset) { + var _s16_ = "DNAEndsMoveStart"; + if (offset == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s16_, "offset")); + if (helix == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s16_, "helix")); + return new U._$DNAEndsMoveStart(offset, helix); + }, + _$DNAEndsMoveSetSelectedEnds$_: function(helix, moves, original_offset, strands_affected) { + var _s26_ = "DNAEndsMoveSetSelectedEnds"; + if (moves == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s26_, "moves")); + if (original_offset == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s26_, "original_offset")); + if (helix == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s26_, "helix")); + if (strands_affected == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s26_, "strands_affected")); + return new U._$DNAEndsMoveSetSelectedEnds(moves, original_offset, helix, strands_affected); + }, + _$DNAEndsMoveAdjustOffset$_: function(offset) { + if (offset == null) + H.throwExpression(Y.BuiltValueNullFieldError$("DNAEndsMoveAdjustOffset", "offset")); + return new U._$DNAEndsMoveAdjustOffset(offset); + }, + _$DNAEndsMoveCommit$_: function(dna_ends_move) { + if (dna_ends_move == null) + H.throwExpression(Y.BuiltValueNullFieldError$("DNAEndsMoveCommit", "dna_ends_move")); + return new U._$DNAEndsMoveCommit(dna_ends_move); + }, + _$DNAExtensionsMoveStart$_: function(helix, start_point) { + if (helix == null) + H.throwExpression(Y.BuiltValueNullFieldError$("DNAExtensionsMoveStart", "helix")); + return new U._$DNAExtensionsMoveStart(start_point, helix); + }, + _$DNAExtensionsMoveSetSelectedExtensionEnds$_: function(helix, moves, original_point, strands_affected) { + var _s41_ = string$.DNAExt; + if (moves == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s41_, "moves")); + if (strands_affected == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s41_, "strands_affected")); + if (helix == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s41_, "helix")); + return new U._$DNAExtensionsMoveSetSelectedExtensionEnds(moves, original_point, strands_affected, helix); + }, + _$DNAExtensionsMoveAdjustPosition$_: function(position) { + return new U._$DNAExtensionsMoveAdjustPosition(position); + }, + _$DNAExtensionsMoveCommit$_: function(dna_extensions_move) { + if (dna_extensions_move == null) + H.throwExpression(Y.BuiltValueNullFieldError$("DNAExtensionsMoveCommit", "dna_extensions_move")); + return new U._$DNAExtensionsMoveCommit(dna_extensions_move); + }, + _$HelixGroupMoveStart$_: function(mouse_point) { + return new U._$HelixGroupMoveStart(mouse_point); + }, + _$HelixGroupMoveCreate$_: function(helix_group_move) { + if (helix_group_move == null) + H.throwExpression(Y.BuiltValueNullFieldError$("HelixGroupMoveCreate", "helix_group_move")); + return new U._$HelixGroupMoveCreate(helix_group_move); + }, + _$HelixGroupMoveAdjustTranslation$_: function(mouse_point) { + return new U._$HelixGroupMoveAdjustTranslation(mouse_point); + }, + _$HelixGroupMoveStop__$HelixGroupMoveStop: function() { + type$.legacy_void_Function_legacy_HelixGroupMoveStopBuilder._as(null); + return new U.HelixGroupMoveStopBuilder().build$0(); + }, + _$HelixGroupMoveCommit$_: function(helix_group_move) { + if (helix_group_move == null) + H.throwExpression(Y.BuiltValueNullFieldError$("HelixGroupMoveCommit", "helix_group_move")); + return new U._$HelixGroupMoveCommit(helix_group_move); + }, + _$AssignDNA$_: function(dna_assign_options, strand) { + if (strand == null) + H.throwExpression(Y.BuiltValueNullFieldError$("AssignDNA", "strand")); + return new U._$AssignDNA(strand, dna_assign_options); + }, + _$RemoveDNA$_: function(remove_all, remove_complements, strand) { + if (strand == null) + H.throwExpression(Y.BuiltValueNullFieldError$("RemoveDNA", "strand")); + return new U._$RemoveDNA(strand, remove_complements, remove_all); + }, + _$InsertionAdd$_: function(all_helices, domain, offset) { + if (domain == null) + H.throwExpression(Y.BuiltValueNullFieldError$("InsertionAdd", "domain")); + return new U._$InsertionAdd(domain, offset, all_helices); + }, + _$DeletionAdd$_: function(all_helices, domain, offset) { + if (domain == null) + H.throwExpression(Y.BuiltValueNullFieldError$("DeletionAdd", "domain")); + return new U._$DeletionAdd(domain, offset, all_helices); + }, + _$ScalePurificationVendorFieldsAssign$_: function(strand, vendor_fields) { + var _s35_ = "ScalePurificationVendorFieldsAssign"; + if (strand == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s35_, "strand")); + if (vendor_fields == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s35_, "vendor_fields")); + return new U._$ScalePurificationVendorFieldsAssign(strand, vendor_fields); + }, + _$PlateWellVendorFieldsAssign$_: function(strand, vendor_fields) { + var _s27_ = "PlateWellVendorFieldsAssign"; + if (strand == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s27_, "strand")); + if (vendor_fields == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s27_, "vendor_fields")); + return new U._$PlateWellVendorFieldsAssign(strand, vendor_fields); + }, + _$PlateWellVendorFieldsRemove$_: function(strand) { + if (strand == null) + H.throwExpression(Y.BuiltValueNullFieldError$("PlateWellVendorFieldsRemove", "strand")); + return new U._$PlateWellVendorFieldsRemove(strand); + }, + _$VendorFieldsRemove$_: function(strand) { + if (strand == null) + H.throwExpression(Y.BuiltValueNullFieldError$("VendorFieldsRemove", "strand")); + return new U._$VendorFieldsRemove(strand); + }, + _$ModificationAdd$_: function(modification, strand, strand_dna_idx) { + var _s15_ = "ModificationAdd"; + if (strand == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s15_, "strand")); + if (modification == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s15_, "modification")); + return new U._$ModificationAdd(strand, modification, strand_dna_idx); + }, + _$ModificationRemove$_: function(modification, strand, strand_dna_idx) { + var _s18_ = "ModificationRemove"; + if (strand == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s18_, "strand")); + if (modification == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s18_, "modification")); + return new U._$ModificationRemove(strand, modification, strand_dna_idx); + }, + _$ModificationEdit$_: function(modification, strand, strand_dna_idx) { + var _s16_ = "ModificationEdit"; + if (strand == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s16_, "strand")); + if (modification == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s16_, "modification")); + return new U._$ModificationEdit(strand, modification, strand_dna_idx); + }, + _$GridChange$_: function(grid, group_name) { + var _s10_ = "GridChange"; + if (grid == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s10_, "grid")); + if (group_name == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s10_, "group_name")); + return new U._$GridChange(grid, group_name); + }, + _$GroupDisplayedChange$_: function(group_name) { + if (group_name == null) + H.throwExpression(Y.BuiltValueNullFieldError$("GroupDisplayedChange", "group_name")); + return new U._$GroupDisplayedChange(group_name); + }, + _$GroupAdd$_: function(group, $name) { + if (group == null) + H.throwExpression(Y.BuiltValueNullFieldError$("GroupAdd", "group")); + return new U._$GroupAdd($name, group); + }, + _$GroupRemove$_: function($name) { + if ($name == null) + H.throwExpression(Y.BuiltValueNullFieldError$("GroupRemove", "name")); + return new U._$GroupRemove($name); + }, + _$GroupChange$_: function(new_group, new_name, old_name) { + var _s11_ = "GroupChange"; + if (old_name == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s11_, "old_name")); + if (new_group == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s11_, "new_group")); + return new U._$GroupChange(old_name, new_name, new_group); + }, + _$MoveHelicesToGroup$_: function(group_name, helix_idxs) { + var _s18_ = "MoveHelicesToGroup"; + if (helix_idxs == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s18_, "helix_idxs")); + if (group_name == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s18_, "group_name")); + return new U._$MoveHelicesToGroup(helix_idxs, group_name); + }, + _$DialogShow$_: function(dialog) { + if (dialog == null) + H.throwExpression(Y.BuiltValueNullFieldError$("DialogShow", "dialog")); + return new U._$DialogShow(dialog); + }, + _$DialogHide__$DialogHide: function() { + type$.legacy_void_Function_legacy_DialogHideBuilder._as(null); + return new U.DialogHideBuilder().build$0(); + }, + _$ContextMenuShow$_: function(context_menu) { + if (context_menu == null) + H.throwExpression(Y.BuiltValueNullFieldError$("ContextMenuShow", "context_menu")); + return new U._$ContextMenuShow(context_menu); + }, + _$ContextMenuHide__$ContextMenuHide: function() { + type$.legacy_void_Function_legacy_ContextMenuHideBuilder._as(null); + return new U.ContextMenuHideBuilder().build$0(); + }, + _$StrandOrSubstrandColorPickerShow$_: function(strand, substrand) { + if (strand == null) + H.throwExpression(Y.BuiltValueNullFieldError$("StrandOrSubstrandColorPickerShow", "strand")); + return new U._$StrandOrSubstrandColorPickerShow(strand, substrand); + }, + _$ScaffoldSet$_: function(is_scaffold, strand) { + if (strand == null) + H.throwExpression(Y.BuiltValueNullFieldError$("ScaffoldSet", "strand")); + return new U._$ScaffoldSet(strand, is_scaffold); + }, + _$StrandOrSubstrandColorSet$_: function(color, strand, substrand) { + if (strand == null) + H.throwExpression(Y.BuiltValueNullFieldError$("StrandOrSubstrandColorSet", "strand")); + return new U._$StrandOrSubstrandColorSet(strand, substrand, color); + }, + _$StrandPasteKeepColorSet$_: function(keep) { + return new U._$StrandPasteKeepColorSet(keep); + }, + _$ExampleDesignsLoad$_: function(selected_idx) { + return new U._$ExampleDesignsLoad(selected_idx); + }, + _$BasePairTypeSet$_: function(selected_idx) { + return new U._$BasePairTypeSet(selected_idx); + }, + _$HelixPositionSet$_: function(helix_idx, position) { + return new U._$HelixPositionSet(helix_idx, position); + }, + _$HelixGridPositionSet$_: function(grid_position, helix) { + if (helix == null) + H.throwExpression(Y.BuiltValueNullFieldError$("HelixGridPositionSet", "helix")); + return new U._$HelixGridPositionSet(helix, grid_position); + }, + _$DefaultCrossoverTypeForSettingHelixRollsSet$_: function(scaffold, staple) { + var _s43_ = string$.Defaul; + if (scaffold == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s43_, "scaffold")); + if (staple == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s43_, "staple")); + return new U._$DefaultCrossoverTypeForSettingHelixRollsSet(scaffold, staple); + }, + _$AutofitSet$_: function(autofit) { + return new U._$AutofitSet(autofit); + }, + _$ShowHelixCirclesMainViewSet$_: function(show_helix_circles_main_view) { + return new U._$ShowHelixCirclesMainViewSet(show_helix_circles_main_view); + }, + _$ShowHelixComponentsMainViewSet$_: function(show_helix_components) { + return new U._$ShowHelixComponentsMainViewSet(show_helix_components); + }, + _$ShowGridCoordinatesSideViewSet$_: function(show_grid_coordinates_side_view) { + return new U._$ShowGridCoordinatesSideViewSet(show_grid_coordinates_side_view); + }, + _$ShowAxisArrowsSet$_: function(show_helices_axis_arrows) { + return new U._$ShowAxisArrowsSet(show_helices_axis_arrows); + }, + _$ShowLoopoutExtensionLengthSet$_: function(show_length) { + return new U._$ShowLoopoutExtensionLengthSet(show_length); + }, + _$ShowBasePairLinesWithMismatchesSet$_: function(show_base_pair_lines_with_mismatches) { + return new U._$ShowBasePairLinesWithMismatchesSet(show_base_pair_lines_with_mismatches); + }, + _$ZoomSpeedSet$_: function(speed) { + if (speed == null) + H.throwExpression(Y.BuiltValueNullFieldError$("ZoomSpeedSet", "speed")); + return new U._$ZoomSpeedSet(speed); + }, + _$OxExportOnlySelectedStrandsSet$_: function(only_selected) { + return new U._$OxExportOnlySelectedStrandsSet(only_selected); + }, + DesignChangingAction: function DesignChangingAction() { + }, + UndoableAction: function UndoableAction() { + }, + SkipUndo: function SkipUndo() { + }, + SkipUndo_SkipUndo_closure: function SkipUndo_SkipUndo_closure(t0) { + this.undoable_action = t0; + }, + Undo: function Undo() { + }, + Undo_Undo_closure: function Undo_Undo_closure(t0) { + this.num_undos = t0; + }, + Redo: function Redo() { + }, + Redo_Redo_closure: function Redo_Redo_closure(t0) { + this.num_redos = t0; + }, + UndoRedoClear: function UndoRedoClear() { + }, + BatchAction: function BatchAction() { + }, + BatchAction_BatchAction_closure: function BatchAction_BatchAction_closure(t0, t1) { + this.actions = t0; + this.short_description_value = t1; + }, + ThrottledActionFast: function ThrottledActionFast() { + }, + ThrottledActionFast_ThrottledActionFast_closure: function ThrottledActionFast_ThrottledActionFast_closure(t0, t1) { + this.action = t0; + this.interval_sec = t1; + }, + ThrottledActionNonFast: function ThrottledActionNonFast() { + }, + ThrottledActionNonFast_ThrottledActionNonFast_closure: function ThrottledActionNonFast_ThrottledActionNonFast_closure(t0, t1) { + this.action = t0; + this.interval_sec = t1; + }, + LocalStorageDesignChoiceSet: function LocalStorageDesignChoiceSet() { + }, + ResetLocalStorage: function ResetLocalStorage() { + }, + ClearHelixSelectionWhenLoadingNewDesignSet: function ClearHelixSelectionWhenLoadingNewDesignSet() { + }, + EditModeToggle: function EditModeToggle() { + }, + EditModeToggle_EditModeToggle_closure: function EditModeToggle_EditModeToggle_closure(t0) { + this.mode = t0; + }, + EditModesSet: function EditModesSet() { + }, + SelectModeToggle: function SelectModeToggle() { + }, + SelectModeToggle_SelectModeToggle_closure: function SelectModeToggle_SelectModeToggle_closure(t0) { + this.select_mode_choice = t0; + }, + SelectModesAdd: function SelectModesAdd() { + }, + SelectModesSet: function SelectModesSet() { + }, + StrandNameSet: function StrandNameSet() { + }, + StrandLabelSet: function StrandLabelSet() { + }, + SubstrandNameSet: function SubstrandNameSet() { + }, + SubstrandLabelSet: function SubstrandLabelSet() { + }, + SetAppUIStateStorable: function SetAppUIStateStorable() { + }, + SetAppUIStateStorable_SetAppUIStateStorable_closure: function SetAppUIStateStorable_SetAppUIStateStorable_closure(t0) { + this.storables = t0; + }, + ShowDNASet: function ShowDNASet() { + }, + ShowDNASet_ShowDNASet_closure: function ShowDNASet_ShowDNASet_closure(t0) { + this.show = t0; + }, + ShowDomainNamesSet: function ShowDomainNamesSet() { + }, + ShowDomainNamesSet_ShowDomainNamesSet_closure: function ShowDomainNamesSet_ShowDomainNamesSet_closure(t0) { + this.show = t0; + }, + ShowStrandNamesSet: function ShowStrandNamesSet() { + }, + ShowStrandNamesSet_ShowStrandNamesSet_closure: function ShowStrandNamesSet_ShowStrandNamesSet_closure(t0) { + this.show = t0; + }, + ShowStrandLabelsSet: function ShowStrandLabelsSet() { + }, + ShowStrandLabelsSet_ShowStrandLabelsSet_closure: function ShowStrandLabelsSet_ShowStrandLabelsSet_closure(t0) { + this.show = t0; + }, + ShowDomainLabelsSet: function ShowDomainLabelsSet() { + }, + ShowDomainLabelsSet_ShowDomainLabelsSet_closure: function ShowDomainLabelsSet_ShowDomainLabelsSet_closure(t0) { + this.show = t0; + }, + ShowModificationsSet: function ShowModificationsSet() { + }, + ShowModificationsSet_ShowModificationsSet_closure: function ShowModificationsSet_ShowModificationsSet_closure(t0) { + this.show = t0; + }, + DomainNameFontSizeSet: function DomainNameFontSizeSet() { + }, + DomainLabelFontSizeSet: function DomainLabelFontSizeSet() { + }, + StrandNameFontSizeSet: function StrandNameFontSizeSet() { + }, + StrandLabelFontSizeSet: function StrandLabelFontSizeSet() { + }, + ModificationFontSizeSet: function ModificationFontSizeSet() { + }, + ModificationFontSizeSet_ModificationFontSizeSet_closure: function ModificationFontSizeSet_ModificationFontSizeSet_closure(t0) { + this.font_size = t0; + }, + MajorTickOffsetFontSizeSet: function MajorTickOffsetFontSizeSet() { + }, + MajorTickOffsetFontSizeSet_MajorTickOffsetFontSizeSet_closure: function MajorTickOffsetFontSizeSet_MajorTickOffsetFontSizeSet_closure(t0) { + this.font_size = t0; + }, + MajorTickWidthFontSizeSet: function MajorTickWidthFontSizeSet() { + }, + MajorTickWidthFontSizeSet_MajorTickWidthFontSizeSet_closure: function MajorTickWidthFontSizeSet_MajorTickWidthFontSizeSet_closure(t0) { + this.font_size = t0; + }, + SetModificationDisplayConnector: function SetModificationDisplayConnector() { + }, + SetModificationDisplayConnector_SetModificationDisplayConnector_closure: function SetModificationDisplayConnector_SetModificationDisplayConnector_closure(t0) { + this.show = t0; + }, + ShowMismatchesSet: function ShowMismatchesSet() { + }, + ShowMismatchesSet_ShowMismatchesSet_closure: function ShowMismatchesSet_ShowMismatchesSet_closure(t0) { + this.show = t0; + }, + ShowDomainNameMismatchesSet: function ShowDomainNameMismatchesSet() { + }, + ShowDomainNameMismatchesSet_ShowDomainNameMismatchesSet_closure: function ShowDomainNameMismatchesSet_ShowDomainNameMismatchesSet_closure(t0) { + this.show_domain_name_mismatches = t0; + }, + ShowUnpairedInsertionDeletionsSet: function ShowUnpairedInsertionDeletionsSet() { + }, + ShowUnpairedInsertionDeletionsSet_ShowUnpairedInsertionDeletionsSet_closure: function ShowUnpairedInsertionDeletionsSet_ShowUnpairedInsertionDeletionsSet_closure(t0) { + this.show_unpaired_insertion_deletions = t0; + }, + OxviewShowSet: function OxviewShowSet() { + }, + OxviewShowSet_OxviewShowSet_closure: function OxviewShowSet_OxviewShowSet_closure(t0) { + this.show = t0; + }, + SetDisplayBaseOffsetsOfMajorTicksOnlyFirstHelix: function SetDisplayBaseOffsetsOfMajorTicksOnlyFirstHelix() { + }, + SetDisplayBaseOffsetsOfMajorTicksOnlyFirstHelix_SetDisplayBaseOffsetsOfMajorTicksOnlyFirstHelix_closure: function SetDisplayBaseOffsetsOfMajorTicksOnlyFirstHelix_SetDisplayBaseOffsetsOfMajorTicksOnlyFirstHelix_closure(t0) { + this.show = t0; + }, + DisplayMajorTicksOffsetsSet: function DisplayMajorTicksOffsetsSet() { + }, + DisplayMajorTicksOffsetsSet_DisplayMajorTicksOffsetsSet_closure: function DisplayMajorTicksOffsetsSet_DisplayMajorTicksOffsetsSet_closure(t0) { + this.show = t0; + }, + SetDisplayMajorTickWidthsAllHelices: function SetDisplayMajorTickWidthsAllHelices() { + }, + SetDisplayMajorTickWidthsAllHelices_SetDisplayMajorTickWidthsAllHelices_closure: function SetDisplayMajorTickWidthsAllHelices_SetDisplayMajorTickWidthsAllHelices_closure(t0) { + this.show = t0; + }, + SetDisplayMajorTickWidths: function SetDisplayMajorTickWidths() { + }, + SetDisplayMajorTickWidths_SetDisplayMajorTickWidths_closure: function SetDisplayMajorTickWidths_SetDisplayMajorTickWidths_closure(t0) { + this.show = t0; + }, + SetOnlyDisplaySelectedHelices: function SetOnlyDisplaySelectedHelices() { + }, + SetOnlyDisplaySelectedHelices_SetOnlyDisplaySelectedHelices_closure: function SetOnlyDisplaySelectedHelices_SetOnlyDisplaySelectedHelices_closure(t0) { + this.only_display_selected_helices = t0; + }, + InvertYSet: function InvertYSet() { + }, + DynamicHelixUpdateSet: function DynamicHelixUpdateSet() { + }, + WarnOnExitIfUnsavedSet: function WarnOnExitIfUnsavedSet() { + }, + LoadingDialogShow: function LoadingDialogShow() { + }, + LoadingDialogHide: function LoadingDialogHide() { + }, + CopySelectedStandsToClipboardImage: function CopySelectedStandsToClipboardImage() { + }, + SaveDNAFile: function SaveDNAFile() { + }, + LoadDNAFile: function LoadDNAFile() { + }, + LoadDNAFile_LoadDNAFile_closure: function LoadDNAFile_LoadDNAFile_closure(t0, t1, t2, t3, t4) { + var _ = this; + _.content = t0; + _.filename = t1; + _.write_local_storage = t2; + _.unit_testing = t3; + _.dna_file_type = t4; + }, + PrepareToLoadDNAFile: function PrepareToLoadDNAFile() { + }, + PrepareToLoadDNAFile_PrepareToLoadDNAFile_closure: function PrepareToLoadDNAFile_PrepareToLoadDNAFile_closure(t0, t1, t2, t3, t4) { + var _ = this; + _.content = t0; + _.filename = t1; + _.write_local_storage = t2; + _.unit_testing = t3; + _.dna_file_type = t4; + }, + NewDesignSet: function NewDesignSet() { + }, + NewDesignSet_NewDesignSet_closure: function NewDesignSet_NewDesignSet_closure(t0, t1) { + this.design = t0; + this.short_description_value = t1; + }, + ExportCadnanoFile: function ExportCadnanoFile() { + }, + ExportCodenanoFile: function ExportCodenanoFile() { + }, + ShowMouseoverDataSet: function ShowMouseoverDataSet() { + }, + ShowMouseoverDataSet_ShowMouseoverDataSet_closure: function ShowMouseoverDataSet_ShowMouseoverDataSet_closure(t0) { + this.show = t0; + }, + MouseoverDataClear: function MouseoverDataClear() { + }, + MouseoverDataUpdate: function MouseoverDataUpdate() { + }, + HelixRollSet: function HelixRollSet() { + }, + HelixRollSetAtOther: function HelixRollSetAtOther() { + }, + HelixRollSetAtOther_HelixRollSetAtOther_closure: function HelixRollSetAtOther_HelixRollSetAtOther_closure(t0, t1, t2, t3) { + var _ = this; + _.helix_idx = t0; + _.helix_other_idx = t1; + _.forward = t2; + _.anchor = t3; + }, + RelaxHelixRolls: function RelaxHelixRolls() { + }, + ErrorMessageSet: function ErrorMessageSet() { + }, + ErrorMessageSet_ErrorMessageSet_closure: function ErrorMessageSet_ErrorMessageSet_closure(t0) { + this.error_message = t0; + }, + SelectionBoxCreate: function SelectionBoxCreate() { + }, + SelectionBoxCreate_SelectionBoxCreate_closure: function SelectionBoxCreate_SelectionBoxCreate_closure(t0, t1, t2) { + this.point = t0; + this.toggle = t1; + this.is_main = t2; + }, + SelectionBoxSizeChange: function SelectionBoxSizeChange() { + }, + SelectionBoxSizeChange_SelectionBoxSizeChange_closure: function SelectionBoxSizeChange_SelectionBoxSizeChange_closure(t0, t1) { + this.point = t0; + this.is_main = t1; + }, + SelectionBoxRemove: function SelectionBoxRemove() { + }, + SelectionBoxRemove_SelectionBoxRemove_closure: function SelectionBoxRemove_SelectionBoxRemove_closure(t0) { + this.is_main = t0; + }, + SelectionRopeCreate: function SelectionRopeCreate() { + }, + SelectionRopeMouseMove: function SelectionRopeMouseMove() { + }, + SelectionRopeAddPoint: function SelectionRopeAddPoint() { + }, + SelectionRopeRemove: function SelectionRopeRemove() { + }, + MouseGridPositionSideUpdate: function MouseGridPositionSideUpdate() { + }, + MouseGridPositionSideUpdate_MouseGridPositionSideUpdate_closure: function MouseGridPositionSideUpdate_MouseGridPositionSideUpdate_closure(t0) { + this.grid_position = t0; + }, + MouseGridPositionSideClear: function MouseGridPositionSideClear() { + }, + MouseGridPositionSideClear_MouseGridPositionSideClear_closure: function MouseGridPositionSideClear_MouseGridPositionSideClear_closure() { + }, + MousePositionSideUpdate: function MousePositionSideUpdate() { + }, + MousePositionSideClear: function MousePositionSideClear() { + }, + GeometrySet: function GeometrySet() { + }, + SelectionBoxIntersectionRuleSet: function SelectionBoxIntersectionRuleSet() { + }, + Select: function Select() { + }, + Select_Select_closure: function Select_Select_closure(t0, t1, t2) { + this.selectable = t0; + this.toggle = t1; + this.only = t2; + }, + SelectionsClear: function SelectionsClear() { + }, + SelectionsClear_SelectionsClear_closure: function SelectionsClear_SelectionsClear_closure() { + }, + SelectionsAdjustMainView: function SelectionsAdjustMainView() { + }, + SelectOrToggleItems: function SelectOrToggleItems() { + }, + SelectAll: function SelectAll() { + }, + SelectAllSelectable: function SelectAllSelectable() { + }, + SelectAllSelectable_SelectAllSelectable_closure: function SelectAllSelectable_SelectAllSelectable_closure(t0) { + this.current_helix_group_only = t0; + }, + SelectAllWithSameAsSelected: function SelectAllWithSameAsSelected() { + }, + DeleteAllSelected: function DeleteAllSelected() { + }, + DeleteAllSelected_DeleteAllSelected_closure: function DeleteAllSelected_DeleteAllSelected_closure() { + }, + HelixAdd: function HelixAdd() { + }, + HelixAdd_HelixAdd_closure: function HelixAdd_HelixAdd_closure(t0, t1) { + this.grid_position = t0; + this.position = t1; + }, + HelixRemove: function HelixRemove() { + }, + HelixRemove_HelixRemove_closure: function HelixRemove_HelixRemove_closure(t0) { + this.helix_idx = t0; + }, + HelixRemoveAllSelected: function HelixRemoveAllSelected() { + }, + HelixSelect: function HelixSelect() { + }, + HelixSelect_HelixSelect_closure: function HelixSelect_HelixSelect_closure(t0, t1) { + this.helix_idx = t0; + this.toggle = t1; + }, + HelixSelectionsClear: function HelixSelectionsClear() { + }, + HelixSelectionsClear_HelixSelectionsClear_closure: function HelixSelectionsClear_HelixSelectionsClear_closure() { + }, + HelixSelectionsAdjust: function HelixSelectionsAdjust() { + }, + HelixSelectionsAdjust_HelixSelectionsAdjust_closure: function HelixSelectionsAdjust_HelixSelectionsAdjust_closure(t0, t1) { + this.toggle = t0; + this.selection_box = t1; + }, + HelixMajorTickDistanceChange: function HelixMajorTickDistanceChange() { + }, + HelixMajorTickDistanceChangeAll: function HelixMajorTickDistanceChangeAll() { + }, + HelixMajorTickStartChange: function HelixMajorTickStartChange() { + }, + HelixMajorTickStartChangeAll: function HelixMajorTickStartChangeAll() { + }, + HelixMajorTicksChange: function HelixMajorTicksChange() { + }, + HelixMajorTicksChangeAll: function HelixMajorTicksChangeAll() { + }, + HelixMajorTickPeriodicDistancesChange: function HelixMajorTickPeriodicDistancesChange() { + }, + HelixMajorTickPeriodicDistancesChangeAll: function HelixMajorTickPeriodicDistancesChangeAll() { + }, + HelixIdxsChange: function HelixIdxsChange() { + }, + HelixIdxsChange_HelixIdxsChange_closure: function HelixIdxsChange_HelixIdxsChange_closure(t0) { + this.idx_replacements = t0; + }, + HelixOffsetChange: function HelixOffsetChange() { + }, + HelixMinOffsetSetByDomains: function HelixMinOffsetSetByDomains() { + }, + HelixMaxOffsetSetByDomains: function HelixMaxOffsetSetByDomains() { + }, + HelixMinOffsetSetByDomainsAll: function HelixMinOffsetSetByDomainsAll() { + }, + HelixMaxOffsetSetByDomainsAll: function HelixMaxOffsetSetByDomainsAll() { + }, + HelixMaxOffsetSetByDomainsAllSameMax: function HelixMaxOffsetSetByDomainsAllSameMax() { + }, + HelixOffsetChangeAll: function HelixOffsetChangeAll() { + }, + ShowMouseoverRectSet: function ShowMouseoverRectSet() { + }, + ShowMouseoverRectToggle: function ShowMouseoverRectToggle() { + }, + ExportDNA: function ExportDNA() { + }, + ExportDNA_ExportDNA_closure: function ExportDNA_ExportDNA_closure(t0, t1, t2, t3, t4, t5, t6, t7, t8) { + var _ = this; + _.include_scaffold = t0; + _.include_only_selected_strands = t1; + _.exclude_selected_strands = t2; + _.export_dna_format = t3; + _.delimiter = t4; + _.domain_delimiter = t5; + _.strand_order = t6; + _.column_major_strand = t7; + _.column_major_plate = t8; + }, + ExportCanDoDNA: function ExportCanDoDNA() { + }, + ExportCanDoDNA_ExportCanDoDNA_closure: function ExportCanDoDNA_ExportCanDoDNA_closure() { + }, + ExportSvgType: function ExportSvgType(t0) { + this._actions$_name = t0; + }, + ExportSvg: function ExportSvg() { + }, + ExportSvgTextSeparatelySet: function ExportSvgTextSeparatelySet() { + }, + ExportSvgTextSeparatelySet_ExportSvgTextSeparatelySet_closure: function ExportSvgTextSeparatelySet_ExportSvgTextSeparatelySet_closure(t0) { + this.export_svg_text_separately = t0; + }, + ExtensionDisplayLengthAngleSet: function ExtensionDisplayLengthAngleSet() { + }, + ExtensionDisplayLengthAngleSet_ExtensionDisplayLengthAngleSet_closure: function ExtensionDisplayLengthAngleSet_ExtensionDisplayLengthAngleSet_closure(t0, t1, t2) { + this.ext = t0; + this.display_length = t1; + this.display_angle = t2; + }, + ExtensionAdd: function ExtensionAdd() { + }, + ExtensionAdd_ExtensionAdd_closure: function ExtensionAdd_ExtensionAdd_closure(t0, t1, t2) { + this.strand = t0; + this.is_5p = t1; + this.num_bases = t2; + }, + ExtensionNumBasesChange: function ExtensionNumBasesChange() { + }, + ExtensionNumBasesChange_ExtensionNumBasesChange_closure: function ExtensionNumBasesChange_ExtensionNumBasesChange_closure(t0, t1) { + this.ext = t0; + this.num_bases = t1; + }, + ExtensionsNumBasesChange: function ExtensionsNumBasesChange() { + }, + ExtensionsNumBasesChange_ExtensionsNumBasesChange_closure: function ExtensionsNumBasesChange_ExtensionsNumBasesChange_closure(t0, t1) { + this.extensions = t0; + this.num_bases = t1; + }, + LoopoutLengthChange: function LoopoutLengthChange() { + }, + LoopoutLengthChange_LoopoutLengthChange_closure: function LoopoutLengthChange_LoopoutLengthChange_closure(t0, t1) { + this.loopout = t0; + this.num_bases = t1; + }, + LoopoutsLengthChange: function LoopoutsLengthChange() { + }, + LoopoutsLengthChange_LoopoutsLengthChange_closure: function LoopoutsLengthChange_LoopoutsLengthChange_closure(t0, t1) { + this.loopouts = t0; + this.length = t1; + }, + ConvertCrossoverToLoopout: function ConvertCrossoverToLoopout() { + }, + ConvertCrossoverToLoopout_ConvertCrossoverToLoopout_closure: function ConvertCrossoverToLoopout_ConvertCrossoverToLoopout_closure(t0, t1, t2) { + this.crossover = t0; + this.length = t1; + this.dna_sequence = t2; + }, + ConvertCrossoversToLoopouts: function ConvertCrossoversToLoopouts() { + }, + ConvertCrossoversToLoopouts_ConvertCrossoversToLoopouts_closure: function ConvertCrossoversToLoopouts_ConvertCrossoversToLoopouts_closure(t0, t1) { + this.crossovers = t0; + this.length = t1; + }, + Nick: function Nick() { + }, + Ligate: function Ligate() { + }, + JoinStrandsByCrossover: function JoinStrandsByCrossover() { + }, + MoveLinker: function MoveLinker() { + }, + JoinStrandsByMultipleCrossovers: function JoinStrandsByMultipleCrossovers() { + }, + StrandsReflect: function StrandsReflect() { + }, + ReplaceStrands: function ReplaceStrands() { + }, + StrandCreateStart: function StrandCreateStart() { + }, + StrandCreateAdjustOffset: function StrandCreateAdjustOffset() { + }, + StrandCreateStop: function StrandCreateStop() { + }, + StrandCreateCommit: function StrandCreateCommit() { + }, + PotentialCrossoverCreate: function PotentialCrossoverCreate() { + }, + PotentialCrossoverMove: function PotentialCrossoverMove() { + }, + PotentialCrossoverRemove: function PotentialCrossoverRemove() { + }, + ManualPasteInitiate: function ManualPasteInitiate() { + }, + ManualPasteInitiate_ManualPasteInitiate_closure: function ManualPasteInitiate_ManualPasteInitiate_closure(t0, t1) { + this.clipboard_content = t0; + this.in_browser = t1; + }, + AutoPasteInitiate: function AutoPasteInitiate() { + }, + AutoPasteInitiate_AutoPasteInitiate_closure: function AutoPasteInitiate_AutoPasteInitiate_closure(t0, t1) { + this.clipboard_content = t0; + this.in_browser = t1; + }, + CopySelectedStrands: function CopySelectedStrands() { + }, + StrandsMoveStart: function StrandsMoveStart() { + }, + StrandsMoveStartSelectedStrands: function StrandsMoveStartSelectedStrands() { + }, + StrandsMoveStop: function StrandsMoveStop() { + }, + StrandsMoveAdjustAddress: function StrandsMoveAdjustAddress() { + }, + StrandsMoveCommit: function StrandsMoveCommit() { + }, + DomainsMoveStartSelectedDomains: function DomainsMoveStartSelectedDomains() { + }, + DomainsMoveStop: function DomainsMoveStop() { + }, + DomainsMoveAdjustAddress: function DomainsMoveAdjustAddress() { + }, + DomainsMoveCommit: function DomainsMoveCommit() { + }, + DNAEndsMoveStart: function DNAEndsMoveStart() { + }, + DNAEndsMoveSetSelectedEnds: function DNAEndsMoveSetSelectedEnds() { + }, + DNAEndsMoveAdjustOffset: function DNAEndsMoveAdjustOffset() { + }, + DNAEndsMoveStop: function DNAEndsMoveStop() { + }, + DNAEndsMoveCommit: function DNAEndsMoveCommit() { + }, + DNAExtensionsMoveStart: function DNAExtensionsMoveStart() { + }, + DNAExtensionsMoveSetSelectedExtensionEnds: function DNAExtensionsMoveSetSelectedExtensionEnds() { + }, + DNAExtensionsMoveAdjustPosition: function DNAExtensionsMoveAdjustPosition() { + }, + DNAExtensionsMoveStop: function DNAExtensionsMoveStop() { + }, + DNAExtensionsMoveCommit: function DNAExtensionsMoveCommit() { + }, + HelixGroupMoveStart: function HelixGroupMoveStart() { + }, + HelixGroupMoveCreate: function HelixGroupMoveCreate() { + }, + HelixGroupMoveAdjustTranslation: function HelixGroupMoveAdjustTranslation() { + }, + HelixGroupMoveStop: function HelixGroupMoveStop() { + }, + HelixGroupMoveCommit: function HelixGroupMoveCommit() { + }, + AssignDNA: function AssignDNA() { + }, + AssignDNAComplementFromBoundStrands: function AssignDNAComplementFromBoundStrands() { + }, + AssignDNAComplementFromBoundStrands_AssignDNAComplementFromBoundStrands_closure: function AssignDNAComplementFromBoundStrands_AssignDNAComplementFromBoundStrands_closure(t0) { + this.strands = t0; + }, + AssignDomainNameComplementFromBoundStrands: function AssignDomainNameComplementFromBoundStrands() { + }, + AssignDomainNameComplementFromBoundStrands_AssignDomainNameComplementFromBoundStrands_closure: function AssignDomainNameComplementFromBoundStrands_AssignDomainNameComplementFromBoundStrands_closure(t0) { + this.strands = t0; + }, + AssignDomainNameComplementFromBoundDomains: function AssignDomainNameComplementFromBoundDomains() { + }, + AssignDomainNameComplementFromBoundDomains_AssignDomainNameComplementFromBoundDomains_closure: function AssignDomainNameComplementFromBoundDomains_AssignDomainNameComplementFromBoundDomains_closure(t0) { + this.domains = t0; + }, + RemoveDNA: function RemoveDNA() { + }, + InsertionAdd: function InsertionAdd() { + }, + InsertionAdd_clone_for_other_domain_closure: function InsertionAdd_clone_for_other_domain_closure(t0) { + this.domain = t0; + }, + InsertionLengthChange: function InsertionLengthChange() { + }, + InsertionLengthChange_clone_for_other_domain_closure: function InsertionLengthChange_clone_for_other_domain_closure(t0) { + this.$this = t0; + }, + InsertionLengthChange_InsertionLengthChange_closure: function InsertionLengthChange_InsertionLengthChange_closure(t0, t1, t2) { + this.domain = t0; + this.insertion = t1; + this.length = t2; + }, + InsertionsLengthChange: function InsertionsLengthChange() { + }, + InsertionsLengthChange_InsertionsLengthChange_closure: function InsertionsLengthChange_InsertionsLengthChange_closure(t0, t1, t2) { + this.insertions = t0; + this.domains = t1; + this.length = t2; + }, + DeletionAdd: function DeletionAdd() { + }, + DeletionAdd_clone_for_other_domain_closure: function DeletionAdd_clone_for_other_domain_closure(t0) { + this.domain = t0; + }, + InsertionRemove: function InsertionRemove() { + }, + InsertionRemove_clone_for_other_domain_closure: function InsertionRemove_clone_for_other_domain_closure(t0) { + this.$this = t0; + }, + InsertionRemove_InsertionRemove_closure: function InsertionRemove_InsertionRemove_closure(t0, t1) { + this.domain = t0; + this.insertion = t1; + }, + DeletionRemove: function DeletionRemove() { + }, + DeletionRemove_DeletionRemove_closure: function DeletionRemove_DeletionRemove_closure(t0, t1) { + this.domain = t0; + this.offset = t1; + }, + ScalePurificationVendorFieldsAssign: function ScalePurificationVendorFieldsAssign() { + }, + PlateWellVendorFieldsAssign: function PlateWellVendorFieldsAssign() { + }, + PlateWellVendorFieldsRemove: function PlateWellVendorFieldsRemove() { + }, + VendorFieldsRemove: function VendorFieldsRemove() { + }, + ModificationAdd: function ModificationAdd() { + }, + ModificationRemove: function ModificationRemove() { + }, + ModificationConnectorLengthSet: function ModificationConnectorLengthSet() { + }, + ModificationEdit: function ModificationEdit() { + }, + Modifications5PrimeEdit: function Modifications5PrimeEdit() { + }, + Modifications5PrimeEdit_Modifications5PrimeEdit_closure: function Modifications5PrimeEdit_Modifications5PrimeEdit_closure(t0, t1) { + this.modifications = t0; + this.new_modification = t1; + }, + Modifications3PrimeEdit: function Modifications3PrimeEdit() { + }, + Modifications3PrimeEdit_Modifications3PrimeEdit_closure: function Modifications3PrimeEdit_Modifications3PrimeEdit_closure(t0, t1) { + this.modifications = t0; + this.new_modification = t1; + }, + ModificationsInternalEdit: function ModificationsInternalEdit() { + }, + ModificationsInternalEdit_ModificationsInternalEdit_closure: function ModificationsInternalEdit_ModificationsInternalEdit_closure(t0, t1) { + this.modifications = t0; + this.new_modification = t1; + }, + GridChange: function GridChange() { + }, + GroupDisplayedChange: function GroupDisplayedChange() { + }, + GroupAdd: function GroupAdd() { + }, + GroupRemove: function GroupRemove() { + }, + GroupChange: function GroupChange() { + }, + MoveHelicesToGroup: function MoveHelicesToGroup() { + }, + DialogShow: function DialogShow() { + }, + DialogHide: function DialogHide() { + }, + ContextMenuShow: function ContextMenuShow() { + }, + ContextMenuHide: function ContextMenuHide() { + }, + StrandOrSubstrandColorPickerShow: function StrandOrSubstrandColorPickerShow() { + }, + StrandOrSubstrandColorPickerHide: function StrandOrSubstrandColorPickerHide() { + }, + StrandOrSubstrandColorPickerHide_StrandOrSubstrandColorPickerHide_closure: function StrandOrSubstrandColorPickerHide_StrandOrSubstrandColorPickerHide_closure() { + }, + ScaffoldSet: function ScaffoldSet() { + }, + StrandOrSubstrandColorSet: function StrandOrSubstrandColorSet() { + }, + StrandPasteKeepColorSet: function StrandPasteKeepColorSet() { + }, + ExampleDesignsLoad: function ExampleDesignsLoad() { + }, + BasePairTypeSet: function BasePairTypeSet() { + }, + HelixPositionSet: function HelixPositionSet() { + }, + HelixGridPositionSet: function HelixGridPositionSet() { + }, + HelicesPositionsSetBasedOnCrossovers: function HelicesPositionsSetBasedOnCrossovers() { + }, + InlineInsertionsDeletions: function InlineInsertionsDeletions() { + }, + DefaultCrossoverTypeForSettingHelixRollsSet: function DefaultCrossoverTypeForSettingHelixRollsSet() { + }, + AutofitSet: function AutofitSet() { + }, + ShowHelixCirclesMainViewSet: function ShowHelixCirclesMainViewSet() { + }, + ShowHelixComponentsMainViewSet: function ShowHelixComponentsMainViewSet() { + }, + ShowEditMenuToggle: function ShowEditMenuToggle() { + }, + ShowGridCoordinatesSideViewSet: function ShowGridCoordinatesSideViewSet() { + }, + ShowAxisArrowsSet: function ShowAxisArrowsSet() { + }, + ShowLoopoutExtensionLengthSet: function ShowLoopoutExtensionLengthSet() { + }, + LoadDnaSequenceImageUri: function LoadDnaSequenceImageUri() { + }, + LoadDnaSequenceImageUri_LoadDnaSequenceImageUri_closure: function LoadDnaSequenceImageUri_LoadDnaSequenceImageUri_closure(t0, t1, t2) { + this.uri = t0; + this.dna_sequence_png_horizontal_offset = t1; + this.dna_sequence_png_vertical_offset = t2; + }, + SetIsZoomAboveThreshold: function SetIsZoomAboveThreshold() { + }, + SetIsZoomAboveThreshold_SetIsZoomAboveThreshold_closure: function SetIsZoomAboveThreshold_SetIsZoomAboveThreshold_closure(t0) { + this.is_zoom_above_threshold = t0; + }, + SetExportSvgActionDelayedForPngCache: function SetExportSvgActionDelayedForPngCache() { + }, + SetExportSvgActionDelayedForPngCache_SetExportSvgActionDelayedForPngCache_closure: function SetExportSvgActionDelayedForPngCache_SetExportSvgActionDelayedForPngCache_closure(t0) { + this.export_svg_action_delayed_for_png_cache = t0; + }, + ShowBasePairLinesSet: function ShowBasePairLinesSet() { + }, + ShowBasePairLinesWithMismatchesSet: function ShowBasePairLinesWithMismatchesSet() { + }, + ShowSliceBarSet: function ShowSliceBarSet() { + }, + ShowSliceBarSet_ShowSliceBarSet_closure: function ShowSliceBarSet_ShowSliceBarSet_closure(t0) { + this.show = t0; + }, + SliceBarOffsetSet: function SliceBarOffsetSet() { + }, + SliceBarOffsetSet_SliceBarOffsetSet_closure: function SliceBarOffsetSet_SliceBarOffsetSet_closure(t0) { + this.offset = t0; + }, + DisablePngCachingDnaSequencesSet: function DisablePngCachingDnaSequencesSet() { + }, + DisablePngCachingDnaSequencesSet_DisablePngCachingDnaSequencesSet_closure: function DisablePngCachingDnaSequencesSet_DisablePngCachingDnaSequencesSet_closure(t0) { + this.disable_png_caching_dna_sequences = t0; + }, + RetainStrandColorOnSelectionSet: function RetainStrandColorOnSelectionSet() { + }, + RetainStrandColorOnSelectionSet_RetainStrandColorOnSelectionSet_closure: function RetainStrandColorOnSelectionSet_RetainStrandColorOnSelectionSet_closure(t0) { + this.retain_strand_color_on_selection = t0; + }, + DisplayReverseDNARightSideUpSet: function DisplayReverseDNARightSideUpSet() { + }, + DisplayReverseDNARightSideUpSet_DisplayReverseDNARightSideUpSet_closure: function DisplayReverseDNARightSideUpSet_DisplayReverseDNARightSideUpSet_closure(t0) { + this.display_reverse_DNA_right_side_up = t0; + }, + SliceBarMoveStart: function SliceBarMoveStart() { + }, + SliceBarMoveStop: function SliceBarMoveStop() { + }, + Autostaple: function Autostaple() { + }, + Autobreak: function Autobreak() { + }, + Autobreak_Autobreak_closure: function Autobreak_Autobreak_closure(t0, t1, t2, t3) { + var _ = this; + _.target_length = t0; + _.min_length = t1; + _.max_length = t2; + _.min_distance_to_xover = t3; + }, + ZoomSpeedSet: function ZoomSpeedSet() { + }, + OxdnaExport: function OxdnaExport() { + }, + OxdnaExport_OxdnaExport_closure: function OxdnaExport_OxdnaExport_closure(t0) { + this.selected_strands_only = t0; + }, + OxviewExport: function OxviewExport() { + }, + OxviewExport_OxviewExport_closure: function OxviewExport_OxviewExport_closure(t0) { + this.selected_strands_only = t0; + }, + OxExportOnlySelectedStrandsSet: function OxExportOnlySelectedStrandsSet() { + }, + _$UndoSerializer: function _$UndoSerializer() { + }, + _$RedoSerializer: function _$RedoSerializer() { + }, + _$UndoRedoClearSerializer: function _$UndoRedoClearSerializer() { + }, + _$BatchActionSerializer: function _$BatchActionSerializer() { + }, + _$ThrottledActionFastSerializer: function _$ThrottledActionFastSerializer() { + }, + _$ThrottledActionNonFastSerializer: function _$ThrottledActionNonFastSerializer() { + }, + _$LocalStorageDesignChoiceSetSerializer: function _$LocalStorageDesignChoiceSetSerializer() { + }, + _$ResetLocalStorageSerializer: function _$ResetLocalStorageSerializer() { + }, + _$ClearHelixSelectionWhenLoadingNewDesignSetSerializer: function _$ClearHelixSelectionWhenLoadingNewDesignSetSerializer() { + }, + _$EditModeToggleSerializer: function _$EditModeToggleSerializer() { + }, + _$EditModesSetSerializer: function _$EditModesSetSerializer() { + }, + _$SelectModeToggleSerializer: function _$SelectModeToggleSerializer() { + }, + _$SelectModesAddSerializer: function _$SelectModesAddSerializer() { + }, + _$SelectModesSetSerializer: function _$SelectModesSetSerializer() { + }, + _$StrandNameSetSerializer: function _$StrandNameSetSerializer() { + }, + _$StrandLabelSetSerializer: function _$StrandLabelSetSerializer() { + }, + _$SubstrandNameSetSerializer: function _$SubstrandNameSetSerializer() { + }, + _$SubstrandLabelSetSerializer: function _$SubstrandLabelSetSerializer() { + }, + _$SetAppUIStateStorableSerializer: function _$SetAppUIStateStorableSerializer() { + }, + _$ShowDNASetSerializer: function _$ShowDNASetSerializer() { + }, + _$ShowDomainNamesSetSerializer: function _$ShowDomainNamesSetSerializer() { + }, + _$ShowStrandNamesSetSerializer: function _$ShowStrandNamesSetSerializer() { + }, + _$ShowStrandLabelsSetSerializer: function _$ShowStrandLabelsSetSerializer() { + }, + _$ShowDomainLabelsSetSerializer: function _$ShowDomainLabelsSetSerializer() { + }, + _$ShowModificationsSetSerializer: function _$ShowModificationsSetSerializer() { + }, + _$DomainNameFontSizeSetSerializer: function _$DomainNameFontSizeSetSerializer() { + }, + _$DomainLabelFontSizeSetSerializer: function _$DomainLabelFontSizeSetSerializer() { + }, + _$StrandNameFontSizeSetSerializer: function _$StrandNameFontSizeSetSerializer() { + }, + _$StrandLabelFontSizeSetSerializer: function _$StrandLabelFontSizeSetSerializer() { + }, + _$ModificationFontSizeSetSerializer: function _$ModificationFontSizeSetSerializer() { + }, + _$MajorTickOffsetFontSizeSetSerializer: function _$MajorTickOffsetFontSizeSetSerializer() { + }, + _$MajorTickWidthFontSizeSetSerializer: function _$MajorTickWidthFontSizeSetSerializer() { + }, + _$SetModificationDisplayConnectorSerializer: function _$SetModificationDisplayConnectorSerializer() { + }, + _$ShowMismatchesSetSerializer: function _$ShowMismatchesSetSerializer() { + }, + _$ShowDomainNameMismatchesSetSerializer: function _$ShowDomainNameMismatchesSetSerializer() { + }, + _$ShowUnpairedInsertionDeletionsSetSerializer: function _$ShowUnpairedInsertionDeletionsSetSerializer() { + }, + _$OxviewShowSetSerializer: function _$OxviewShowSetSerializer() { + }, + _$SetDisplayBaseOffsetsOfMajorTicksOnlyFirstHelixSerializer: function _$SetDisplayBaseOffsetsOfMajorTicksOnlyFirstHelixSerializer() { + }, + _$DisplayMajorTicksOffsetsSetSerializer: function _$DisplayMajorTicksOffsetsSetSerializer() { + }, + _$SetDisplayMajorTickWidthsAllHelicesSerializer: function _$SetDisplayMajorTickWidthsAllHelicesSerializer() { + }, + _$SetDisplayMajorTickWidthsSerializer: function _$SetDisplayMajorTickWidthsSerializer() { + }, + _$SetOnlyDisplaySelectedHelicesSerializer: function _$SetOnlyDisplaySelectedHelicesSerializer() { + }, + _$InvertYSetSerializer: function _$InvertYSetSerializer() { + }, + _$DynamicHelixUpdateSetSerializer: function _$DynamicHelixUpdateSetSerializer() { + }, + _$WarnOnExitIfUnsavedSetSerializer: function _$WarnOnExitIfUnsavedSetSerializer() { + }, + _$LoadingDialogShowSerializer: function _$LoadingDialogShowSerializer() { + }, + _$LoadingDialogHideSerializer: function _$LoadingDialogHideSerializer() { + }, + _$CopySelectedStandsToClipboardImageSerializer: function _$CopySelectedStandsToClipboardImageSerializer() { + }, + _$SaveDNAFileSerializer: function _$SaveDNAFileSerializer() { + }, + _$LoadDNAFileSerializer: function _$LoadDNAFileSerializer() { + }, + _$PrepareToLoadDNAFileSerializer: function _$PrepareToLoadDNAFileSerializer() { + }, + _$NewDesignSetSerializer: function _$NewDesignSetSerializer() { + }, + _$ExportCadnanoFileSerializer: function _$ExportCadnanoFileSerializer() { + }, + _$ExportCodenanoFileSerializer: function _$ExportCodenanoFileSerializer() { + }, + _$ShowMouseoverDataSetSerializer: function _$ShowMouseoverDataSetSerializer() { + }, + _$MouseoverDataClearSerializer: function _$MouseoverDataClearSerializer() { + }, + _$MouseoverDataUpdateSerializer: function _$MouseoverDataUpdateSerializer() { + }, + _$HelixRollSetSerializer: function _$HelixRollSetSerializer() { + }, + _$HelixRollSetAtOtherSerializer: function _$HelixRollSetAtOtherSerializer() { + }, + _$RelaxHelixRollsSerializer: function _$RelaxHelixRollsSerializer() { + }, + _$ErrorMessageSetSerializer: function _$ErrorMessageSetSerializer() { + }, + _$SelectionBoxCreateSerializer: function _$SelectionBoxCreateSerializer() { + }, + _$SelectionBoxSizeChangeSerializer: function _$SelectionBoxSizeChangeSerializer() { + }, + _$SelectionBoxRemoveSerializer: function _$SelectionBoxRemoveSerializer() { + }, + _$SelectionRopeCreateSerializer: function _$SelectionRopeCreateSerializer() { + }, + _$SelectionRopeMouseMoveSerializer: function _$SelectionRopeMouseMoveSerializer() { + }, + _$SelectionRopeAddPointSerializer: function _$SelectionRopeAddPointSerializer() { + }, + _$SelectionRopeRemoveSerializer: function _$SelectionRopeRemoveSerializer() { + }, + _$MouseGridPositionSideUpdateSerializer: function _$MouseGridPositionSideUpdateSerializer() { + }, + _$MouseGridPositionSideClearSerializer: function _$MouseGridPositionSideClearSerializer() { + }, + _$MousePositionSideUpdateSerializer: function _$MousePositionSideUpdateSerializer() { + }, + _$MousePositionSideClearSerializer: function _$MousePositionSideClearSerializer() { + }, + _$GeometrySetSerializer: function _$GeometrySetSerializer() { + }, + _$SelectionBoxIntersectionRuleSetSerializer: function _$SelectionBoxIntersectionRuleSetSerializer() { + }, + _$SelectSerializer: function _$SelectSerializer() { + }, + _$SelectionsClearSerializer: function _$SelectionsClearSerializer() { + }, + _$SelectionsAdjustMainViewSerializer: function _$SelectionsAdjustMainViewSerializer() { + }, + _$SelectOrToggleItemsSerializer: function _$SelectOrToggleItemsSerializer() { + }, + _$SelectAllSerializer: function _$SelectAllSerializer() { + }, + _$SelectAllSelectableSerializer: function _$SelectAllSelectableSerializer() { + }, + _$SelectAllWithSameAsSelectedSerializer: function _$SelectAllWithSameAsSelectedSerializer() { + }, + _$DeleteAllSelectedSerializer: function _$DeleteAllSelectedSerializer() { + }, + _$HelixAddSerializer: function _$HelixAddSerializer() { + }, + _$HelixRemoveSerializer: function _$HelixRemoveSerializer() { + }, + _$HelixRemoveAllSelectedSerializer: function _$HelixRemoveAllSelectedSerializer() { + }, + _$HelixSelectSerializer: function _$HelixSelectSerializer() { + }, + _$HelixSelectionsClearSerializer: function _$HelixSelectionsClearSerializer() { + }, + _$HelixSelectionsAdjustSerializer: function _$HelixSelectionsAdjustSerializer() { + }, + _$HelixMajorTickDistanceChangeSerializer: function _$HelixMajorTickDistanceChangeSerializer() { + }, + _$HelixMajorTickDistanceChangeAllSerializer: function _$HelixMajorTickDistanceChangeAllSerializer() { + }, + _$HelixMajorTickStartChangeSerializer: function _$HelixMajorTickStartChangeSerializer() { + }, + _$HelixMajorTickStartChangeAllSerializer: function _$HelixMajorTickStartChangeAllSerializer() { + }, + _$HelixMajorTicksChangeSerializer: function _$HelixMajorTicksChangeSerializer() { + }, + _$HelixMajorTicksChangeAllSerializer: function _$HelixMajorTicksChangeAllSerializer() { + }, + _$HelixMajorTickPeriodicDistancesChangeSerializer: function _$HelixMajorTickPeriodicDistancesChangeSerializer() { + }, + _$HelixMajorTickPeriodicDistancesChangeAllSerializer: function _$HelixMajorTickPeriodicDistancesChangeAllSerializer() { + }, + _$HelixIdxsChangeSerializer: function _$HelixIdxsChangeSerializer() { + }, + _$HelixOffsetChangeSerializer: function _$HelixOffsetChangeSerializer() { + }, + _$HelixMinOffsetSetByDomainsSerializer: function _$HelixMinOffsetSetByDomainsSerializer() { + }, + _$HelixMaxOffsetSetByDomainsSerializer: function _$HelixMaxOffsetSetByDomainsSerializer() { + }, + _$HelixMinOffsetSetByDomainsAllSerializer: function _$HelixMinOffsetSetByDomainsAllSerializer() { + }, + _$HelixMaxOffsetSetByDomainsAllSerializer: function _$HelixMaxOffsetSetByDomainsAllSerializer() { + }, + _$HelixMaxOffsetSetByDomainsAllSameMaxSerializer: function _$HelixMaxOffsetSetByDomainsAllSameMaxSerializer() { + }, + _$HelixOffsetChangeAllSerializer: function _$HelixOffsetChangeAllSerializer() { + }, + _$ShowMouseoverRectSetSerializer: function _$ShowMouseoverRectSetSerializer() { + }, + _$ShowMouseoverRectToggleSerializer: function _$ShowMouseoverRectToggleSerializer() { + }, + _$ExportDNASerializer: function _$ExportDNASerializer() { + }, + _$ExportSvgSerializer: function _$ExportSvgSerializer() { + }, + _$ExportSvgTextSeparatelySetSerializer: function _$ExportSvgTextSeparatelySetSerializer() { + }, + _$ExtensionDisplayLengthAngleSetSerializer: function _$ExtensionDisplayLengthAngleSetSerializer() { + }, + _$ExtensionAddSerializer: function _$ExtensionAddSerializer() { + }, + _$ExtensionNumBasesChangeSerializer: function _$ExtensionNumBasesChangeSerializer() { + }, + _$ExtensionsNumBasesChangeSerializer: function _$ExtensionsNumBasesChangeSerializer() { + }, + _$LoopoutLengthChangeSerializer: function _$LoopoutLengthChangeSerializer() { + }, + _$LoopoutsLengthChangeSerializer: function _$LoopoutsLengthChangeSerializer() { + }, + _$ConvertCrossoverToLoopoutSerializer: function _$ConvertCrossoverToLoopoutSerializer() { + }, + _$ConvertCrossoversToLoopoutsSerializer: function _$ConvertCrossoversToLoopoutsSerializer() { + }, + _$NickSerializer: function _$NickSerializer() { + }, + _$LigateSerializer: function _$LigateSerializer() { + }, + _$JoinStrandsByCrossoverSerializer: function _$JoinStrandsByCrossoverSerializer() { + }, + _$MoveLinkerSerializer: function _$MoveLinkerSerializer() { + }, + _$JoinStrandsByMultipleCrossoversSerializer: function _$JoinStrandsByMultipleCrossoversSerializer() { + }, + _$StrandsReflectSerializer: function _$StrandsReflectSerializer() { + }, + _$ReplaceStrandsSerializer: function _$ReplaceStrandsSerializer() { + }, + _$StrandCreateStartSerializer: function _$StrandCreateStartSerializer() { + }, + _$StrandCreateAdjustOffsetSerializer: function _$StrandCreateAdjustOffsetSerializer() { + }, + _$StrandCreateStopSerializer: function _$StrandCreateStopSerializer() { + }, + _$StrandCreateCommitSerializer: function _$StrandCreateCommitSerializer() { + }, + _$PotentialCrossoverCreateSerializer: function _$PotentialCrossoverCreateSerializer() { + }, + _$PotentialCrossoverMoveSerializer: function _$PotentialCrossoverMoveSerializer() { + }, + _$PotentialCrossoverRemoveSerializer: function _$PotentialCrossoverRemoveSerializer() { + }, + _$ManualPasteInitiateSerializer: function _$ManualPasteInitiateSerializer() { + }, + _$AutoPasteInitiateSerializer: function _$AutoPasteInitiateSerializer() { + }, + _$CopySelectedStrandsSerializer: function _$CopySelectedStrandsSerializer() { + }, + _$StrandsMoveStartSerializer: function _$StrandsMoveStartSerializer() { + }, + _$StrandsMoveStartSelectedStrandsSerializer: function _$StrandsMoveStartSelectedStrandsSerializer() { + }, + _$StrandsMoveStopSerializer: function _$StrandsMoveStopSerializer() { + }, + _$StrandsMoveAdjustAddressSerializer: function _$StrandsMoveAdjustAddressSerializer() { + }, + _$StrandsMoveCommitSerializer: function _$StrandsMoveCommitSerializer() { + }, + _$DomainsMoveStartSelectedDomainsSerializer: function _$DomainsMoveStartSelectedDomainsSerializer() { + }, + _$DomainsMoveStopSerializer: function _$DomainsMoveStopSerializer() { + }, + _$DomainsMoveAdjustAddressSerializer: function _$DomainsMoveAdjustAddressSerializer() { + }, + _$DomainsMoveCommitSerializer: function _$DomainsMoveCommitSerializer() { + }, + _$DNAEndsMoveStartSerializer: function _$DNAEndsMoveStartSerializer() { + }, + _$DNAEndsMoveSetSelectedEndsSerializer: function _$DNAEndsMoveSetSelectedEndsSerializer() { + }, + _$DNAEndsMoveAdjustOffsetSerializer: function _$DNAEndsMoveAdjustOffsetSerializer() { + }, + _$DNAEndsMoveStopSerializer: function _$DNAEndsMoveStopSerializer() { + }, + _$DNAEndsMoveCommitSerializer: function _$DNAEndsMoveCommitSerializer() { + }, + _$DNAExtensionsMoveStartSerializer: function _$DNAExtensionsMoveStartSerializer() { + }, + _$DNAExtensionsMoveSetSelectedExtensionEndsSerializer: function _$DNAExtensionsMoveSetSelectedExtensionEndsSerializer() { + }, + _$DNAExtensionsMoveAdjustPositionSerializer: function _$DNAExtensionsMoveAdjustPositionSerializer() { + }, + _$DNAExtensionsMoveStopSerializer: function _$DNAExtensionsMoveStopSerializer() { + }, + _$DNAExtensionsMoveCommitSerializer: function _$DNAExtensionsMoveCommitSerializer() { + }, + _$HelixGroupMoveStartSerializer: function _$HelixGroupMoveStartSerializer() { + }, + _$HelixGroupMoveCreateSerializer: function _$HelixGroupMoveCreateSerializer() { + }, + _$HelixGroupMoveAdjustTranslationSerializer: function _$HelixGroupMoveAdjustTranslationSerializer() { + }, + _$HelixGroupMoveStopSerializer: function _$HelixGroupMoveStopSerializer() { + }, + _$HelixGroupMoveCommitSerializer: function _$HelixGroupMoveCommitSerializer() { + }, + _$AssignDNASerializer: function _$AssignDNASerializer() { + }, + _$AssignDNAComplementFromBoundStrandsSerializer: function _$AssignDNAComplementFromBoundStrandsSerializer() { + }, + _$AssignDomainNameComplementFromBoundStrandsSerializer: function _$AssignDomainNameComplementFromBoundStrandsSerializer() { + }, + _$AssignDomainNameComplementFromBoundDomainsSerializer: function _$AssignDomainNameComplementFromBoundDomainsSerializer() { + }, + _$RemoveDNASerializer: function _$RemoveDNASerializer() { + }, + _$InsertionAddSerializer: function _$InsertionAddSerializer() { + }, + _$InsertionLengthChangeSerializer: function _$InsertionLengthChangeSerializer() { + }, + _$InsertionsLengthChangeSerializer: function _$InsertionsLengthChangeSerializer() { + }, + _$DeletionAddSerializer: function _$DeletionAddSerializer() { + }, + _$InsertionRemoveSerializer: function _$InsertionRemoveSerializer() { + }, + _$DeletionRemoveSerializer: function _$DeletionRemoveSerializer() { + }, + _$ScalePurificationVendorFieldsAssignSerializer: function _$ScalePurificationVendorFieldsAssignSerializer() { + }, + _$PlateWellVendorFieldsAssignSerializer: function _$PlateWellVendorFieldsAssignSerializer() { + }, + _$PlateWellVendorFieldsRemoveSerializer: function _$PlateWellVendorFieldsRemoveSerializer() { + }, + _$VendorFieldsRemoveSerializer: function _$VendorFieldsRemoveSerializer() { + }, + _$ModificationAddSerializer: function _$ModificationAddSerializer() { + }, + _$ModificationRemoveSerializer: function _$ModificationRemoveSerializer() { + }, + _$ModificationConnectorLengthSetSerializer: function _$ModificationConnectorLengthSetSerializer() { + }, + _$ModificationEditSerializer: function _$ModificationEditSerializer() { + }, + _$Modifications5PrimeEditSerializer: function _$Modifications5PrimeEditSerializer() { + }, + _$Modifications3PrimeEditSerializer: function _$Modifications3PrimeEditSerializer() { + }, + _$ModificationsInternalEditSerializer: function _$ModificationsInternalEditSerializer() { + }, + _$GridChangeSerializer: function _$GridChangeSerializer() { + }, + _$GroupDisplayedChangeSerializer: function _$GroupDisplayedChangeSerializer() { + }, + _$GroupAddSerializer: function _$GroupAddSerializer() { + }, + _$GroupRemoveSerializer: function _$GroupRemoveSerializer() { + }, + _$GroupChangeSerializer: function _$GroupChangeSerializer() { + }, + _$MoveHelicesToGroupSerializer: function _$MoveHelicesToGroupSerializer() { + }, + _$DialogShowSerializer: function _$DialogShowSerializer() { + }, + _$DialogHideSerializer: function _$DialogHideSerializer() { + }, + _$ContextMenuShowSerializer: function _$ContextMenuShowSerializer() { + }, + _$ContextMenuHideSerializer: function _$ContextMenuHideSerializer() { + }, + _$StrandOrSubstrandColorPickerShowSerializer: function _$StrandOrSubstrandColorPickerShowSerializer() { + }, + _$StrandOrSubstrandColorPickerHideSerializer: function _$StrandOrSubstrandColorPickerHideSerializer() { + }, + _$ScaffoldSetSerializer: function _$ScaffoldSetSerializer() { + }, + _$StrandOrSubstrandColorSetSerializer: function _$StrandOrSubstrandColorSetSerializer() { + }, + _$StrandPasteKeepColorSetSerializer: function _$StrandPasteKeepColorSetSerializer() { + }, + _$ExampleDesignsLoadSerializer: function _$ExampleDesignsLoadSerializer() { + }, + _$BasePairTypeSetSerializer: function _$BasePairTypeSetSerializer() { + }, + _$HelixPositionSetSerializer: function _$HelixPositionSetSerializer() { + }, + _$HelixGridPositionSetSerializer: function _$HelixGridPositionSetSerializer() { + }, + _$HelicesPositionsSetBasedOnCrossoversSerializer: function _$HelicesPositionsSetBasedOnCrossoversSerializer() { + }, + _$InlineInsertionsDeletionsSerializer: function _$InlineInsertionsDeletionsSerializer() { + }, + _$DefaultCrossoverTypeForSettingHelixRollsSetSerializer: function _$DefaultCrossoverTypeForSettingHelixRollsSetSerializer() { + }, + _$AutofitSetSerializer: function _$AutofitSetSerializer() { + }, + _$ShowHelixCirclesMainViewSetSerializer: function _$ShowHelixCirclesMainViewSetSerializer() { + }, + _$ShowHelixComponentsMainViewSetSerializer: function _$ShowHelixComponentsMainViewSetSerializer() { + }, + _$ShowEditMenuToggleSerializer: function _$ShowEditMenuToggleSerializer() { + }, + _$ShowGridCoordinatesSideViewSetSerializer: function _$ShowGridCoordinatesSideViewSetSerializer() { + }, + _$ShowAxisArrowsSetSerializer: function _$ShowAxisArrowsSetSerializer() { + }, + _$ShowLoopoutExtensionLengthSetSerializer: function _$ShowLoopoutExtensionLengthSetSerializer() { + }, + _$LoadDnaSequenceImageUriSerializer: function _$LoadDnaSequenceImageUriSerializer() { + }, + _$SetIsZoomAboveThresholdSerializer: function _$SetIsZoomAboveThresholdSerializer() { + }, + _$SetExportSvgActionDelayedForPngCacheSerializer: function _$SetExportSvgActionDelayedForPngCacheSerializer() { + }, + _$ShowBasePairLinesSetSerializer: function _$ShowBasePairLinesSetSerializer() { + }, + _$ShowBasePairLinesWithMismatchesSetSerializer: function _$ShowBasePairLinesWithMismatchesSetSerializer() { + }, + _$ShowSliceBarSetSerializer: function _$ShowSliceBarSetSerializer() { + }, + _$SliceBarOffsetSetSerializer: function _$SliceBarOffsetSetSerializer() { + }, + _$DisablePngCachingDnaSequencesSetSerializer: function _$DisablePngCachingDnaSequencesSetSerializer() { + }, + _$RetainStrandColorOnSelectionSetSerializer: function _$RetainStrandColorOnSelectionSetSerializer() { + }, + _$DisplayReverseDNARightSideUpSetSerializer: function _$DisplayReverseDNARightSideUpSetSerializer() { + }, + _$SliceBarMoveStartSerializer: function _$SliceBarMoveStartSerializer() { + }, + _$SliceBarMoveStopSerializer: function _$SliceBarMoveStopSerializer() { + }, + _$AutostapleSerializer: function _$AutostapleSerializer() { + }, + _$AutobreakSerializer: function _$AutobreakSerializer() { + }, + _$ZoomSpeedSetSerializer: function _$ZoomSpeedSetSerializer() { + }, + _$OxdnaExportSerializer: function _$OxdnaExportSerializer() { + }, + _$OxviewExportSerializer: function _$OxviewExportSerializer() { + }, + _$OxExportOnlySelectedStrandsSetSerializer: function _$OxExportOnlySelectedStrandsSetSerializer() { + }, + _$SkipUndo: function _$SkipUndo(t0) { + this.undoable_action = t0; + }, + SkipUndoBuilder: function SkipUndoBuilder() { + this._undoable_action = this._$v = null; + }, + _$Undo: function _$Undo(t0) { + this.num_undos = t0; + }, + UndoBuilder: function UndoBuilder() { + this._num_undos = this._$v = null; + }, + _$Redo: function _$Redo(t0) { + this.num_redos = t0; + }, + RedoBuilder: function RedoBuilder() { + this._num_redos = this._$v = null; + }, + _$UndoRedoClear: function _$UndoRedoClear() { + }, + _$BatchAction: function _$BatchAction(t0, t1) { + this.actions = t0; + this.short_description_value = t1; + }, + BatchActionBuilder: function BatchActionBuilder() { + this._short_description_value = this._actions = this._$v = null; + }, + _$ThrottledActionFast: function _$ThrottledActionFast(t0, t1) { + this.action = t0; + this.interval_sec = t1; + }, + ThrottledActionFastBuilder: function ThrottledActionFastBuilder() { + this._interval_sec = this._action = this._$v = null; + }, + _$ThrottledActionNonFast: function _$ThrottledActionNonFast(t0, t1) { + this.action = t0; + this.interval_sec = t1; + }, + ThrottledActionNonFastBuilder: function ThrottledActionNonFastBuilder() { + this._interval_sec = this._action = this._$v = null; + }, + _$LocalStorageDesignChoiceSet: function _$LocalStorageDesignChoiceSet(t0) { + this.choice = t0; + }, + LocalStorageDesignChoiceSetBuilder: function LocalStorageDesignChoiceSetBuilder() { + this._choice = this._$v = null; + }, + _$ResetLocalStorage: function _$ResetLocalStorage() { + }, + _$ClearHelixSelectionWhenLoadingNewDesignSet: function _$ClearHelixSelectionWhenLoadingNewDesignSet(t0) { + this.clear = t0; + }, + ClearHelixSelectionWhenLoadingNewDesignSetBuilder: function ClearHelixSelectionWhenLoadingNewDesignSetBuilder() { + this._clear = this._$v = null; + }, + _$EditModeToggle: function _$EditModeToggle(t0) { + this.mode = t0; + }, + EditModeToggleBuilder: function EditModeToggleBuilder() { + this._mode = this._$v = null; + }, + _$EditModesSet: function _$EditModesSet(t0) { + this.edit_modes = t0; + }, + EditModesSetBuilder: function EditModesSetBuilder() { + this._actions$_edit_modes = this._$v = null; + }, + _$SelectModeToggle: function _$SelectModeToggle(t0) { + this.select_mode_choice = t0; + }, + SelectModeToggleBuilder: function SelectModeToggleBuilder() { + this._select_mode_choice = this._$v = null; + }, + _$SelectModesAdd: function _$SelectModesAdd(t0) { + this.modes = t0; + }, + SelectModesAddBuilder: function SelectModesAddBuilder() { + this._actions$_modes = this._$v = null; + }, + _$SelectModesSet: function _$SelectModesSet(t0) { + this.select_mode_choices = t0; + }, + SelectModesSetBuilder: function SelectModesSetBuilder() { + this._select_mode_choices = this._$v = null; + }, + _$StrandNameSet: function _$StrandNameSet(t0, t1) { + this.name = t0; + this.strand = t1; + this._actions$__hashCode = null; + }, + StrandNameSetBuilder: function StrandNameSetBuilder() { + this._strand = this._actions$_name = this._$v = null; + }, + _$StrandLabelSet: function _$StrandLabelSet(t0, t1) { + this.label = t0; + this.strand = t1; + this._actions$__hashCode = null; + }, + StrandLabelSetBuilder: function StrandLabelSetBuilder() { + this._strand = this._actions$_label = this._$v = null; + }, + _$SubstrandNameSet: function _$SubstrandNameSet(t0, t1) { + this.name = t0; + this.substrand = t1; + this._actions$__hashCode = null; + }, + SubstrandNameSetBuilder: function SubstrandNameSetBuilder() { + this._substrand = this._actions$_name = this._$v = null; + }, + _$SubstrandLabelSet: function _$SubstrandLabelSet(t0, t1) { + this.label = t0; + this.substrand = t1; + this._actions$__hashCode = null; + }, + SubstrandLabelSetBuilder: function SubstrandLabelSetBuilder() { + this._substrand = this._actions$_label = this._$v = null; + }, + _$SetAppUIStateStorable: function _$SetAppUIStateStorable(t0) { + this.storables = t0; + }, + SetAppUIStateStorableBuilder: function SetAppUIStateStorableBuilder() { + this._actions$_storables = this._$v = null; + }, + _$ShowDNASet: function _$ShowDNASet(t0) { + this.show = t0; + }, + ShowDNASetBuilder: function ShowDNASetBuilder() { + this._show = this._$v = null; + }, + _$ShowDomainNamesSet: function _$ShowDomainNamesSet(t0) { + this.show = t0; + }, + ShowDomainNamesSetBuilder: function ShowDomainNamesSetBuilder() { + this._show = this._$v = null; + }, + _$ShowStrandNamesSet: function _$ShowStrandNamesSet(t0) { + this.show = t0; + }, + ShowStrandNamesSetBuilder: function ShowStrandNamesSetBuilder() { + this._show = this._$v = null; + }, + _$ShowStrandLabelsSet: function _$ShowStrandLabelsSet(t0) { + this.show = t0; + }, + ShowStrandLabelsSetBuilder: function ShowStrandLabelsSetBuilder() { + this._show = this._$v = null; + }, + _$ShowDomainLabelsSet: function _$ShowDomainLabelsSet(t0) { + this.show = t0; + }, + ShowDomainLabelsSetBuilder: function ShowDomainLabelsSetBuilder() { + this._show = this._$v = null; + }, + _$ShowModificationsSet: function _$ShowModificationsSet(t0) { + this.show = t0; + }, + ShowModificationsSetBuilder: function ShowModificationsSetBuilder() { + this._show = this._$v = null; + }, + _$DomainNameFontSizeSet: function _$DomainNameFontSizeSet(t0) { + this.font_size = t0; + }, + DomainNameFontSizeSetBuilder: function DomainNameFontSizeSetBuilder() { + this._font_size = this._$v = null; + }, + _$DomainLabelFontSizeSet: function _$DomainLabelFontSizeSet(t0) { + this.font_size = t0; + }, + DomainLabelFontSizeSetBuilder: function DomainLabelFontSizeSetBuilder() { + this._font_size = this._$v = null; + }, + _$StrandNameFontSizeSet: function _$StrandNameFontSizeSet(t0) { + this.font_size = t0; + }, + StrandNameFontSizeSetBuilder: function StrandNameFontSizeSetBuilder() { + this._font_size = this._$v = null; + }, + _$StrandLabelFontSizeSet: function _$StrandLabelFontSizeSet(t0) { + this.font_size = t0; + }, + StrandLabelFontSizeSetBuilder: function StrandLabelFontSizeSetBuilder() { + this._font_size = this._$v = null; + }, + _$ModificationFontSizeSet: function _$ModificationFontSizeSet(t0) { + this.font_size = t0; + }, + ModificationFontSizeSetBuilder: function ModificationFontSizeSetBuilder() { + this._font_size = this._$v = null; + }, + _$MajorTickOffsetFontSizeSet: function _$MajorTickOffsetFontSizeSet(t0) { + this.font_size = t0; + }, + MajorTickOffsetFontSizeSetBuilder: function MajorTickOffsetFontSizeSetBuilder() { + this._font_size = this._$v = null; + }, + _$MajorTickWidthFontSizeSet: function _$MajorTickWidthFontSizeSet(t0) { + this.font_size = t0; + }, + MajorTickWidthFontSizeSetBuilder: function MajorTickWidthFontSizeSetBuilder() { + this._font_size = this._$v = null; + }, + _$SetModificationDisplayConnector: function _$SetModificationDisplayConnector(t0) { + this.show = t0; + }, + SetModificationDisplayConnectorBuilder: function SetModificationDisplayConnectorBuilder() { + this._show = this._$v = null; + }, + _$ShowMismatchesSet: function _$ShowMismatchesSet(t0) { + this.show = t0; + }, + ShowMismatchesSetBuilder: function ShowMismatchesSetBuilder() { + this._show = this._$v = null; + }, + _$ShowDomainNameMismatchesSet: function _$ShowDomainNameMismatchesSet(t0) { + this.show_domain_name_mismatches = t0; + }, + ShowDomainNameMismatchesSetBuilder: function ShowDomainNameMismatchesSetBuilder() { + this._actions$_show_domain_name_mismatches = this._$v = null; + }, + _$ShowUnpairedInsertionDeletionsSet: function _$ShowUnpairedInsertionDeletionsSet(t0) { + this.show_unpaired_insertion_deletions = t0; + }, + ShowUnpairedInsertionDeletionsSetBuilder: function ShowUnpairedInsertionDeletionsSetBuilder() { + this._actions$_show_unpaired_insertion_deletions = this._$v = null; + }, + _$OxviewShowSet: function _$OxviewShowSet(t0) { + this.show = t0; + }, + OxviewShowSetBuilder: function OxviewShowSetBuilder() { + this._show = this._$v = null; + }, + _$SetDisplayBaseOffsetsOfMajorTicksOnlyFirstHelix: function _$SetDisplayBaseOffsetsOfMajorTicksOnlyFirstHelix(t0) { + this.show = t0; + }, + SetDisplayBaseOffsetsOfMajorTicksOnlyFirstHelixBuilder: function SetDisplayBaseOffsetsOfMajorTicksOnlyFirstHelixBuilder() { + this._show = this._$v = null; + }, + _$DisplayMajorTicksOffsetsSet: function _$DisplayMajorTicksOffsetsSet(t0) { + this.show = t0; + }, + DisplayMajorTicksOffsetsSetBuilder: function DisplayMajorTicksOffsetsSetBuilder() { + this._show = this._$v = null; + }, + _$SetDisplayMajorTickWidthsAllHelices: function _$SetDisplayMajorTickWidthsAllHelices(t0) { + this.show = t0; + }, + SetDisplayMajorTickWidthsAllHelicesBuilder: function SetDisplayMajorTickWidthsAllHelicesBuilder() { + this._show = this._$v = null; + }, + _$SetDisplayMajorTickWidths: function _$SetDisplayMajorTickWidths(t0) { + this.show = t0; + }, + SetDisplayMajorTickWidthsBuilder: function SetDisplayMajorTickWidthsBuilder() { + this._show = this._$v = null; + }, + _$SetOnlyDisplaySelectedHelices: function _$SetOnlyDisplaySelectedHelices(t0) { + this.only_display_selected_helices = t0; + }, + SetOnlyDisplaySelectedHelicesBuilder: function SetOnlyDisplaySelectedHelicesBuilder() { + this._actions$_only_display_selected_helices = this._$v = null; + }, + _$InvertYSet: function _$InvertYSet(t0) { + this.invert_y = t0; + }, + InvertYSetBuilder: function InvertYSetBuilder() { + this._actions$_invert_y = this._$v = null; + }, + _$DynamicHelixUpdateSet: function _$DynamicHelixUpdateSet(t0) { + this.dynamically_update_helices = t0; + }, + DynamicHelixUpdateSetBuilder: function DynamicHelixUpdateSetBuilder() { + this._actions$_dynamically_update_helices = this._$v = null; + }, + _$WarnOnExitIfUnsavedSet: function _$WarnOnExitIfUnsavedSet(t0) { + this.warn = t0; + }, + WarnOnExitIfUnsavedSetBuilder: function WarnOnExitIfUnsavedSetBuilder() { + this._warn = this._$v = null; + }, + _$LoadingDialogShow: function _$LoadingDialogShow() { + }, + _$LoadingDialogHide: function _$LoadingDialogHide() { + }, + _$CopySelectedStandsToClipboardImage: function _$CopySelectedStandsToClipboardImage() { + }, + CopySelectedStandsToClipboardImageBuilder: function CopySelectedStandsToClipboardImageBuilder() { + this._$v = null; + }, + _$SaveDNAFile: function _$SaveDNAFile() { + }, + SaveDNAFileBuilder: function SaveDNAFileBuilder() { + this._$v = null; + }, + _$LoadDNAFile: function _$LoadDNAFile(t0, t1, t2, t3, t4) { + var _ = this; + _.content = t0; + _.write_local_storage = t1; + _.unit_testing = t2; + _.dna_file_type = t3; + _.filename = t4; + }, + LoadDNAFileBuilder: function LoadDNAFileBuilder() { + var _ = this; + _._filename = _._dna_file_type = _._unit_testing = _._write_local_storage = _._content = _._$v = null; + }, + _$PrepareToLoadDNAFile: function _$PrepareToLoadDNAFile(t0, t1, t2, t3, t4) { + var _ = this; + _.content = t0; + _.write_local_storage = t1; + _.unit_testing = t2; + _.dna_file_type = t3; + _.filename = t4; + }, + PrepareToLoadDNAFileBuilder: function PrepareToLoadDNAFileBuilder() { + var _ = this; + _._filename = _._dna_file_type = _._unit_testing = _._write_local_storage = _._content = _._$v = null; + }, + _$NewDesignSet: function _$NewDesignSet(t0, t1) { + this.design = t0; + this.short_description_value = t1; + }, + NewDesignSetBuilder: function NewDesignSetBuilder() { + this._short_description_value = this._actions$_design = this._$v = null; + }, + _$ExportCadnanoFile: function _$ExportCadnanoFile(t0) { + this.whitespace = t0; + this._actions$__hashCode = null; + }, + ExportCadnanoFileBuilder: function ExportCadnanoFileBuilder() { + this._whitespace = this._$v = null; + }, + _$ExportCodenanoFile: function _$ExportCodenanoFile() { + }, + _$ShowMouseoverDataSet: function _$ShowMouseoverDataSet(t0) { + this.show = t0; + }, + ShowMouseoverDataSetBuilder: function ShowMouseoverDataSetBuilder() { + this._show = this._$v = null; + }, + _$MouseoverDataClear: function _$MouseoverDataClear() { + }, + MouseoverDataClearBuilder: function MouseoverDataClearBuilder() { + this._$v = null; + }, + _$MouseoverDataUpdate: function _$MouseoverDataUpdate(t0) { + this.mouseover_params = t0; + }, + MouseoverDataUpdateBuilder: function MouseoverDataUpdateBuilder() { + this._mouseover_params = this._$v = null; + }, + _$HelixRollSet: function _$HelixRollSet(t0, t1) { + this.helix_idx = t0; + this.roll = t1; + }, + HelixRollSetBuilder: function HelixRollSetBuilder() { + this._actions$_roll = this._actions$_helix_idx = this._$v = null; + }, + _$HelixRollSetAtOther: function _$HelixRollSetAtOther(t0, t1, t2, t3) { + var _ = this; + _.helix_idx = t0; + _.helix_other_idx = t1; + _.forward = t2; + _.anchor = t3; + }, + HelixRollSetAtOtherBuilder: function HelixRollSetAtOtherBuilder() { + var _ = this; + _._anchor = _._actions$_forward = _._helix_other_idx = _._actions$_helix_idx = _._$v = null; + }, + _$RelaxHelixRolls: function _$RelaxHelixRolls(t0) { + this.only_selected = t0; + }, + RelaxHelixRollsBuilder: function RelaxHelixRollsBuilder() { + this._only_selected = this._$v = null; + }, + _$ErrorMessageSet: function _$ErrorMessageSet(t0) { + this.error_message = t0; + }, + ErrorMessageSetBuilder: function ErrorMessageSetBuilder() { + this._actions$_error_message = this._$v = null; + }, + _$SelectionBoxCreate: function _$SelectionBoxCreate(t0, t1, t2) { + this.point = t0; + this.toggle = t1; + this.is_main = t2; + }, + SelectionBoxCreateBuilder: function SelectionBoxCreateBuilder() { + var _ = this; + _._actions$_is_main = _._actions$_toggle = _._point = _._$v = null; + }, + _$SelectionBoxSizeChange: function _$SelectionBoxSizeChange(t0, t1) { + this.point = t0; + this.is_main = t1; + }, + SelectionBoxSizeChangeBuilder: function SelectionBoxSizeChangeBuilder() { + this._actions$_is_main = this._point = this._$v = null; + }, + _$SelectionBoxRemove: function _$SelectionBoxRemove(t0) { + this.is_main = t0; + }, + SelectionBoxRemoveBuilder: function SelectionBoxRemoveBuilder() { + this._actions$_is_main = this._$v = null; + }, + _$SelectionRopeCreate: function _$SelectionRopeCreate(t0) { + this.toggle = t0; + this._actions$__hashCode = null; + }, + SelectionRopeCreateBuilder: function SelectionRopeCreateBuilder() { + this._actions$_toggle = this._$v = null; + }, + _$SelectionRopeMouseMove: function _$SelectionRopeMouseMove(t0, t1) { + this.point = t0; + this.is_main_view = t1; + this._actions$__hashCode = null; + }, + SelectionRopeMouseMoveBuilder: function SelectionRopeMouseMoveBuilder() { + this._is_main_view = this._point = this._$v = null; + }, + _$SelectionRopeAddPoint: function _$SelectionRopeAddPoint(t0, t1) { + this.point = t0; + this.is_main_view = t1; + this._actions$__hashCode = null; + }, + SelectionRopeAddPointBuilder: function SelectionRopeAddPointBuilder() { + this._is_main_view = this._point = this._$v = null; + }, + _$SelectionRopeRemove: function _$SelectionRopeRemove() { + }, + _$MouseGridPositionSideUpdate: function _$MouseGridPositionSideUpdate(t0) { + this.grid_position = t0; + }, + MouseGridPositionSideUpdateBuilder: function MouseGridPositionSideUpdateBuilder() { + this._actions$_grid_position = this._$v = null; + }, + _$MouseGridPositionSideClear: function _$MouseGridPositionSideClear() { + }, + MouseGridPositionSideClearBuilder: function MouseGridPositionSideClearBuilder() { + this._$v = null; + }, + _$MousePositionSideUpdate: function _$MousePositionSideUpdate(t0) { + this.svg_pos = t0; + }, + MousePositionSideUpdateBuilder: function MousePositionSideUpdateBuilder() { + this._svg_pos = this._$v = null; + }, + _$MousePositionSideClear: function _$MousePositionSideClear() { + }, + MousePositionSideClearBuilder: function MousePositionSideClearBuilder() { + this._$v = null; + }, + _$GeometrySet: function _$GeometrySet(t0) { + this.geometry = t0; + }, + GeometrySetBuilder: function GeometrySetBuilder() { + this._actions$_geometry = this._$v = null; + }, + _$SelectionBoxIntersectionRuleSet: function _$SelectionBoxIntersectionRuleSet(t0) { + this.intersect = t0; + this._actions$__hashCode = null; + }, + SelectionBoxIntersectionRuleSetBuilder: function SelectionBoxIntersectionRuleSetBuilder() { + this._intersect = this._$v = null; + }, + _$Select: function _$Select(t0, t1, t2) { + this.selectable = t0; + this.toggle = t1; + this.only = t2; + }, + SelectBuilder: function SelectBuilder() { + var _ = this; + _._only = _._actions$_toggle = _._selectable = _._$v = null; + }, + _$SelectionsClear: function _$SelectionsClear() { + }, + SelectionsClearBuilder: function SelectionsClearBuilder() { + this._$v = null; + }, + _$SelectionsAdjustMainView: function _$SelectionsAdjustMainView(t0, t1) { + this.toggle = t0; + this.box = t1; + }, + SelectionsAdjustMainViewBuilder: function SelectionsAdjustMainViewBuilder() { + this._box = this._actions$_toggle = this._$v = null; + }, + _$SelectOrToggleItems: function _$SelectOrToggleItems(t0, t1) { + this.items = t0; + this.toggle = t1; + }, + SelectOrToggleItemsBuilder: function SelectOrToggleItemsBuilder() { + this._actions$_toggle = this._actions$_items = this._$v = null; + }, + _$SelectAll: function _$SelectAll(t0, t1) { + this.selectables = t0; + this.only = t1; + }, + SelectAllBuilder: function SelectAllBuilder() { + this._only = this._selectables = this._$v = null; + }, + _$SelectAllSelectable: function _$SelectAllSelectable(t0) { + this.current_helix_group_only = t0; + }, + SelectAllSelectableBuilder: function SelectAllSelectableBuilder() { + this._current_helix_group_only = this._$v = null; + }, + _$SelectAllWithSameAsSelected: function _$SelectAllWithSameAsSelected(t0, t1, t2) { + this.templates = t0; + this.traits = t1; + this.exclude_scaffolds = t2; + }, + SelectAllWithSameAsSelectedBuilder: function SelectAllWithSameAsSelectedBuilder() { + var _ = this; + _._exclude_scaffolds = _._traits = _._templates = _._$v = null; + }, + _$DeleteAllSelected: function _$DeleteAllSelected() { + }, + DeleteAllSelectedBuilder: function DeleteAllSelectedBuilder() { + this._$v = null; + }, + _$HelixAdd: function _$HelixAdd(t0, t1) { + this.grid_position = t0; + this.position = t1; + }, + HelixAddBuilder: function HelixAddBuilder() { + this._actions$_position = this._actions$_grid_position = this._$v = null; + }, + _$HelixRemove: function _$HelixRemove(t0) { + this.helix_idx = t0; + }, + HelixRemoveBuilder: function HelixRemoveBuilder() { + this._actions$_helix_idx = this._$v = null; + }, + _$HelixRemoveAllSelected: function _$HelixRemoveAllSelected() { + }, + HelixRemoveAllSelectedBuilder: function HelixRemoveAllSelectedBuilder() { + this._$v = null; + }, + _$HelixSelect: function _$HelixSelect(t0, t1) { + this.helix_idx = t0; + this.toggle = t1; + }, + HelixSelectBuilder: function HelixSelectBuilder() { + this._actions$_toggle = this._actions$_helix_idx = this._$v = null; + }, + _$HelixSelectionsClear: function _$HelixSelectionsClear() { + }, + HelixSelectionsClearBuilder: function HelixSelectionsClearBuilder() { + this._$v = null; + }, + _$HelixSelectionsAdjust: function _$HelixSelectionsAdjust(t0, t1) { + this.toggle = t0; + this.selection_box = t1; + }, + HelixSelectionsAdjustBuilder: function HelixSelectionsAdjustBuilder() { + this._selection_box = this._actions$_toggle = this._$v = null; + }, + _$HelixMajorTickDistanceChange: function _$HelixMajorTickDistanceChange(t0, t1) { + this.helix_idx = t0; + this.major_tick_distance = t1; + }, + HelixMajorTickDistanceChangeBuilder: function HelixMajorTickDistanceChangeBuilder() { + this._major_tick_distance = this._actions$_helix_idx = this._$v = null; + }, + _$HelixMajorTickDistanceChangeAll: function _$HelixMajorTickDistanceChangeAll(t0) { + this.major_tick_distance = t0; + }, + HelixMajorTickDistanceChangeAllBuilder: function HelixMajorTickDistanceChangeAllBuilder() { + this._major_tick_distance = this._$v = null; + }, + _$HelixMajorTickStartChange: function _$HelixMajorTickStartChange(t0, t1) { + this.helix_idx = t0; + this.major_tick_start = t1; + }, + HelixMajorTickStartChangeBuilder: function HelixMajorTickStartChangeBuilder() { + this._actions$_major_tick_start = this._actions$_helix_idx = this._$v = null; + }, + _$HelixMajorTickStartChangeAll: function _$HelixMajorTickStartChangeAll(t0) { + this.major_tick_start = t0; + }, + HelixMajorTickStartChangeAllBuilder: function HelixMajorTickStartChangeAllBuilder() { + this._actions$_major_tick_start = this._$v = null; + }, + _$HelixMajorTicksChange: function _$HelixMajorTicksChange(t0, t1) { + this.helix_idx = t0; + this.major_ticks = t1; + }, + HelixMajorTicksChangeBuilder: function HelixMajorTicksChangeBuilder() { + this._actions$_major_ticks = this._actions$_helix_idx = this._$v = null; + }, + _$HelixMajorTicksChangeAll: function _$HelixMajorTicksChangeAll(t0) { + this.major_ticks = t0; + }, + HelixMajorTicksChangeAllBuilder: function HelixMajorTicksChangeAllBuilder() { + this._actions$_major_ticks = this._$v = null; + }, + _$HelixMajorTickPeriodicDistancesChange: function _$HelixMajorTickPeriodicDistancesChange(t0, t1) { + this.helix_idx = t0; + this.major_tick_periodic_distances = t1; + }, + HelixMajorTickPeriodicDistancesChangeBuilder: function HelixMajorTickPeriodicDistancesChangeBuilder() { + this._actions$_major_tick_periodic_distances = this._actions$_helix_idx = this._$v = null; + }, + _$HelixMajorTickPeriodicDistancesChangeAll: function _$HelixMajorTickPeriodicDistancesChangeAll(t0) { + this.major_tick_periodic_distances = t0; + }, + HelixMajorTickPeriodicDistancesChangeAllBuilder: function HelixMajorTickPeriodicDistancesChangeAllBuilder() { + this._actions$_major_tick_periodic_distances = this._$v = null; + }, + _$HelixIdxsChange: function _$HelixIdxsChange(t0) { + this.idx_replacements = t0; + }, + HelixIdxsChangeBuilder: function HelixIdxsChangeBuilder() { + this._idx_replacements = this._$v = null; + }, + _$HelixOffsetChange: function _$HelixOffsetChange(t0, t1, t2) { + this.helix_idx = t0; + this.min_offset = t1; + this.max_offset = t2; + }, + HelixOffsetChangeBuilder: function HelixOffsetChangeBuilder() { + var _ = this; + _._actions$_max_offset = _._actions$_min_offset = _._actions$_helix_idx = _._$v = null; + }, + _$HelixMinOffsetSetByDomains: function _$HelixMinOffsetSetByDomains(t0) { + this.helix_idx = t0; + }, + HelixMinOffsetSetByDomainsBuilder: function HelixMinOffsetSetByDomainsBuilder() { + this._actions$_helix_idx = this._$v = null; + }, + _$HelixMaxOffsetSetByDomains: function _$HelixMaxOffsetSetByDomains(t0) { + this.helix_idx = t0; + }, + HelixMaxOffsetSetByDomainsBuilder: function HelixMaxOffsetSetByDomainsBuilder() { + this._actions$_helix_idx = this._$v = null; + }, + _$HelixMinOffsetSetByDomainsAll: function _$HelixMinOffsetSetByDomainsAll() { + }, + HelixMinOffsetSetByDomainsAllBuilder: function HelixMinOffsetSetByDomainsAllBuilder() { + this._$v = null; + }, + _$HelixMaxOffsetSetByDomainsAll: function _$HelixMaxOffsetSetByDomainsAll() { + }, + HelixMaxOffsetSetByDomainsAllBuilder: function HelixMaxOffsetSetByDomainsAllBuilder() { + this._$v = null; + }, + _$HelixMaxOffsetSetByDomainsAllSameMax: function _$HelixMaxOffsetSetByDomainsAllSameMax() { + }, + HelixMaxOffsetSetByDomainsAllSameMaxBuilder: function HelixMaxOffsetSetByDomainsAllSameMaxBuilder() { + this._$v = null; + }, + _$HelixOffsetChangeAll: function _$HelixOffsetChangeAll(t0, t1) { + this.min_offset = t0; + this.max_offset = t1; + }, + HelixOffsetChangeAllBuilder: function HelixOffsetChangeAllBuilder() { + this._actions$_max_offset = this._actions$_min_offset = this._$v = null; + }, + _$ShowMouseoverRectSet: function _$ShowMouseoverRectSet(t0) { + this.show = t0; + }, + ShowMouseoverRectSetBuilder: function ShowMouseoverRectSetBuilder() { + this._show = this._$v = null; + }, + _$ShowMouseoverRectToggle: function _$ShowMouseoverRectToggle() { + }, + _$ExportDNA: function _$ExportDNA(t0, t1, t2, t3, t4, t5, t6, t7, t8) { + var _ = this; + _.include_scaffold = t0; + _.include_only_selected_strands = t1; + _.exclude_selected_strands = t2; + _.export_dna_format = t3; + _.strand_order = t4; + _.column_major_strand = t5; + _.column_major_plate = t6; + _.delimiter = t7; + _.domain_delimiter = t8; + }, + ExportDNABuilder: function ExportDNABuilder() { + var _ = this; + _._domain_delimiter = _._delimiter = _._column_major_plate = _._column_major_strand = _._strand_order = _._export_dna_format = _._exclude_selected_strands = _._include_only_selected_strands = _._include_scaffold = _._$v = null; + }, + _$ExportCanDoDNA: function _$ExportCanDoDNA() { + }, + ExportCanDoDNABuilder: function ExportCanDoDNABuilder() { + this._$v = null; + }, + _$ExportSvg: function _$ExportSvg(t0) { + this.type = t0; + }, + ExportSvgBuilder: function ExportSvgBuilder() { + this._type = this._$v = null; + }, + _$ExportSvgTextSeparatelySet: function _$ExportSvgTextSeparatelySet(t0) { + this.export_svg_text_separately = t0; + }, + ExportSvgTextSeparatelySetBuilder: function ExportSvgTextSeparatelySetBuilder() { + this._actions$_export_svg_text_separately = this._$v = null; + }, + _$ExtensionDisplayLengthAngleSet: function _$ExtensionDisplayLengthAngleSet(t0, t1, t2) { + this.ext = t0; + this.display_length = t1; + this.display_angle = t2; + }, + ExtensionDisplayLengthAngleSetBuilder: function ExtensionDisplayLengthAngleSetBuilder() { + var _ = this; + _._actions$_display_angle = _._actions$_display_length = _._ext = _._$v = null; + }, + _$ExtensionAdd: function _$ExtensionAdd(t0, t1, t2) { + this.strand = t0; + this.is_5p = t1; + this.num_bases = t2; + }, + ExtensionAddBuilder: function ExtensionAddBuilder() { + var _ = this; + _._actions$_num_bases = _._actions$_is_5p = _._strand = _._$v = null; + }, + _$ExtensionNumBasesChange: function _$ExtensionNumBasesChange(t0, t1) { + this.ext = t0; + this.num_bases = t1; + }, + ExtensionNumBasesChangeBuilder: function ExtensionNumBasesChangeBuilder() { + this._actions$_num_bases = this._ext = this._$v = null; + }, + _$ExtensionsNumBasesChange: function _$ExtensionsNumBasesChange(t0, t1) { + this.extensions = t0; + this.num_bases = t1; + }, + ExtensionsNumBasesChangeBuilder: function ExtensionsNumBasesChangeBuilder() { + this._actions$_num_bases = this._extensions = this._$v = null; + }, + _$LoopoutLengthChange: function _$LoopoutLengthChange(t0, t1) { + this.loopout = t0; + this.num_bases = t1; + }, + LoopoutLengthChangeBuilder: function LoopoutLengthChangeBuilder() { + this._actions$_num_bases = this._loopout = this._$v = null; + }, + _$LoopoutsLengthChange: function _$LoopoutsLengthChange(t0, t1) { + this.loopouts = t0; + this.length = t1; + }, + LoopoutsLengthChangeBuilder: function LoopoutsLengthChangeBuilder() { + this._actions$_length = this._loopouts = this._$v = null; + }, + _$ConvertCrossoverToLoopout: function _$ConvertCrossoverToLoopout(t0, t1, t2) { + this.crossover = t0; + this.length = t1; + this.dna_sequence = t2; + }, + ConvertCrossoverToLoopoutBuilder: function ConvertCrossoverToLoopoutBuilder() { + var _ = this; + _._actions$_dna_sequence = _._actions$_length = _._crossover = _._$v = null; + }, + _$ConvertCrossoversToLoopouts: function _$ConvertCrossoversToLoopouts(t0, t1) { + this.crossovers = t0; + this.length = t1; + }, + ConvertCrossoversToLoopoutsBuilder: function ConvertCrossoversToLoopoutsBuilder() { + this._actions$_length = this._crossovers = this._$v = null; + }, + _$Nick: function _$Nick(t0, t1) { + this.domain = t0; + this.offset = t1; + }, + NickBuilder: function NickBuilder() { + this._actions$_offset = this._actions$_domain = this._$v = null; + }, + _$Ligate: function _$Ligate(t0) { + this.dna_end = t0; + }, + LigateBuilder: function LigateBuilder() { + this._actions$_dna_end = this._$v = null; + }, + _$JoinStrandsByCrossover: function _$JoinStrandsByCrossover(t0, t1) { + this.dna_end_first_click = t0; + this.dna_end_second_click = t1; + }, + JoinStrandsByCrossoverBuilder: function JoinStrandsByCrossoverBuilder() { + this._dna_end_second_click = this._actions$_dna_end_first_click = this._$v = null; + }, + _$MoveLinker: function _$MoveLinker(t0, t1) { + this.potential_crossover = t0; + this.dna_end_second_click = t1; + this._actions$__hashCode = null; + }, + MoveLinkerBuilder: function MoveLinkerBuilder() { + this._dna_end_second_click = this._potential_crossover = this._$v = null; + }, + _$JoinStrandsByMultipleCrossovers: function _$JoinStrandsByMultipleCrossovers() { + }, + JoinStrandsByMultipleCrossoversBuilder: function JoinStrandsByMultipleCrossoversBuilder() { + this._$v = null; + }, + _$StrandsReflect: function _$StrandsReflect(t0, t1, t2) { + this.strands = t0; + this.horizontal = t1; + this.reverse_polarity = t2; + }, + StrandsReflectBuilder: function StrandsReflectBuilder() { + var _ = this; + _._reverse_polarity = _._horizontal = _._actions$_strands = _._$v = null; + }, + _$ReplaceStrands: function _$ReplaceStrands(t0) { + this.new_strands = t0; + }, + ReplaceStrandsBuilder: function ReplaceStrandsBuilder() { + this._new_strands = this._$v = null; + }, + _$StrandCreateStart: function _$StrandCreateStart(t0, t1) { + this.address = t0; + this.color = t1; + }, + StrandCreateStartBuilder: function StrandCreateStartBuilder() { + this._actions$_color = this._actions$_address = this._$v = null; + }, + _$StrandCreateAdjustOffset: function _$StrandCreateAdjustOffset(t0) { + this.offset = t0; + }, + StrandCreateAdjustOffsetBuilder: function StrandCreateAdjustOffsetBuilder() { + this._actions$_offset = this._$v = null; + }, + _$StrandCreateStop: function _$StrandCreateStop() { + }, + StrandCreateStopBuilder: function StrandCreateStopBuilder() { + this._$v = null; + }, + _$StrandCreateCommit: function _$StrandCreateCommit(t0, t1, t2, t3, t4) { + var _ = this; + _.helix_idx = t0; + _.start = t1; + _.end = t2; + _.forward = t3; + _.color = t4; + }, + StrandCreateCommitBuilder: function StrandCreateCommitBuilder() { + var _ = this; + _._actions$_color = _._actions$_forward = _._actions$_end = _._actions$_start = _._actions$_helix_idx = _._$v = null; + }, + _$PotentialCrossoverCreate: function _$PotentialCrossoverCreate(t0) { + this.potential_crossover = t0; + }, + PotentialCrossoverCreateBuilder: function PotentialCrossoverCreateBuilder() { + this._potential_crossover = this._$v = null; + }, + _$PotentialCrossoverMove: function _$PotentialCrossoverMove(t0) { + this.point = t0; + }, + PotentialCrossoverMoveBuilder: function PotentialCrossoverMoveBuilder() { + this._point = this._$v = null; + }, + _$PotentialCrossoverRemove: function _$PotentialCrossoverRemove() { + }, + PotentialCrossoverRemoveBuilder: function PotentialCrossoverRemoveBuilder() { + this._$v = null; + }, + _$ManualPasteInitiate: function _$ManualPasteInitiate(t0, t1) { + this.clipboard_content = t0; + this.in_browser = t1; + this._actions$__hashCode = null; + }, + ManualPasteInitiateBuilder: function ManualPasteInitiateBuilder() { + this._in_browser = this._clipboard_content = this._$v = null; + }, + _$AutoPasteInitiate: function _$AutoPasteInitiate(t0, t1) { + this.clipboard_content = t0; + this.in_browser = t1; + this._actions$__hashCode = null; + }, + AutoPasteInitiateBuilder: function AutoPasteInitiateBuilder() { + this._in_browser = this._clipboard_content = this._$v = null; + }, + _$CopySelectedStrands: function _$CopySelectedStrands() { + }, + CopySelectedStrandsBuilder: function CopySelectedStrandsBuilder() { + this._$v = null; + }, + _$StrandsMoveStart: function _$StrandsMoveStart(t0, t1, t2, t3) { + var _ = this; + _.strands = t0; + _.address = t1; + _.copy = t2; + _.original_helices_view_order_inverse = t3; + }, + StrandsMoveStartBuilder: function StrandsMoveStartBuilder() { + var _ = this; + _._actions$_original_helices_view_order_inverse = _._actions$_copy = _._actions$_address = _._actions$_strands = _._$v = null; + }, + _$StrandsMoveStartSelectedStrands: function _$StrandsMoveStartSelectedStrands(t0, t1, t2) { + this.address = t0; + this.copy = t1; + this.original_helices_view_order_inverse = t2; + }, + StrandsMoveStartSelectedStrandsBuilder: function StrandsMoveStartSelectedStrandsBuilder() { + var _ = this; + _._actions$_original_helices_view_order_inverse = _._actions$_copy = _._actions$_address = _._$v = null; + }, + _$StrandsMoveStop: function _$StrandsMoveStop() { + }, + StrandsMoveStopBuilder: function StrandsMoveStopBuilder() { + this._$v = null; + }, + _$StrandsMoveAdjustAddress: function _$StrandsMoveAdjustAddress(t0) { + this.address = t0; + }, + StrandsMoveAdjustAddressBuilder: function StrandsMoveAdjustAddressBuilder() { + this._actions$_address = this._$v = null; + }, + _$StrandsMoveCommit: function _$StrandsMoveCommit(t0, t1) { + this.strands_move = t0; + this.autopaste = t1; + }, + StrandsMoveCommitBuilder: function StrandsMoveCommitBuilder() { + this._autopaste = this._actions$_strands_move = this._$v = null; + }, + _$DomainsMoveStartSelectedDomains: function _$DomainsMoveStartSelectedDomains(t0, t1) { + this.address = t0; + this.original_helices_view_order_inverse = t1; + }, + DomainsMoveStartSelectedDomainsBuilder: function DomainsMoveStartSelectedDomainsBuilder() { + this._actions$_original_helices_view_order_inverse = this._actions$_address = this._$v = null; + }, + _$DomainsMoveStop: function _$DomainsMoveStop() { + }, + DomainsMoveStopBuilder: function DomainsMoveStopBuilder() { + this._$v = null; + }, + _$DomainsMoveAdjustAddress: function _$DomainsMoveAdjustAddress(t0) { + this.address = t0; + }, + DomainsMoveAdjustAddressBuilder: function DomainsMoveAdjustAddressBuilder() { + this._actions$_address = this._$v = null; + }, + _$DomainsMoveCommit: function _$DomainsMoveCommit(t0) { + this.domains_move = t0; + }, + DomainsMoveCommitBuilder: function DomainsMoveCommitBuilder() { + this._actions$_domains_move = this._$v = null; + }, + _$DNAEndsMoveStart: function _$DNAEndsMoveStart(t0, t1) { + this.offset = t0; + this.helix = t1; + }, + DNAEndsMoveStartBuilder: function DNAEndsMoveStartBuilder() { + this._actions$_helix = this._actions$_offset = this._$v = null; + }, + _$DNAEndsMoveSetSelectedEnds: function _$DNAEndsMoveSetSelectedEnds(t0, t1, t2, t3) { + var _ = this; + _.moves = t0; + _.original_offset = t1; + _.helix = t2; + _.strands_affected = t3; + }, + DNAEndsMoveSetSelectedEndsBuilder: function DNAEndsMoveSetSelectedEndsBuilder() { + var _ = this; + _._strands_affected = _._actions$_helix = _._actions$_original_offset = _._actions$_moves = _._$v = null; + }, + _$DNAEndsMoveAdjustOffset: function _$DNAEndsMoveAdjustOffset(t0) { + this.offset = t0; + }, + DNAEndsMoveAdjustOffsetBuilder: function DNAEndsMoveAdjustOffsetBuilder() { + this._actions$_offset = this._$v = null; + }, + _$DNAEndsMoveStop: function _$DNAEndsMoveStop() { + }, + _$DNAEndsMoveCommit: function _$DNAEndsMoveCommit(t0) { + this.dna_ends_move = t0; + }, + DNAEndsMoveCommitBuilder: function DNAEndsMoveCommitBuilder() { + this._dna_ends_move = this._$v = null; + }, + _$DNAExtensionsMoveStart: function _$DNAExtensionsMoveStart(t0, t1) { + this.start_point = t0; + this.helix = t1; + }, + DNAExtensionsMoveStartBuilder: function DNAExtensionsMoveStartBuilder() { + this._actions$_helix = this._actions$_start_point = this._$v = null; + }, + _$DNAExtensionsMoveSetSelectedExtensionEnds: function _$DNAExtensionsMoveSetSelectedExtensionEnds(t0, t1, t2, t3) { + var _ = this; + _.moves = t0; + _.original_point = t1; + _.strands_affected = t2; + _.helix = t3; + }, + DNAExtensionsMoveSetSelectedExtensionEndsBuilder: function DNAExtensionsMoveSetSelectedExtensionEndsBuilder() { + var _ = this; + _._actions$_helix = _._strands_affected = _._original_point = _._actions$_moves = _._$v = null; + }, + _$DNAExtensionsMoveAdjustPosition: function _$DNAExtensionsMoveAdjustPosition(t0) { + this.position = t0; + }, + DNAExtensionsMoveAdjustPositionBuilder: function DNAExtensionsMoveAdjustPositionBuilder() { + this._actions$_position = this._$v = null; + }, + _$DNAExtensionsMoveStop: function _$DNAExtensionsMoveStop() { + }, + _$DNAExtensionsMoveCommit: function _$DNAExtensionsMoveCommit(t0) { + this.dna_extensions_move = t0; + }, + DNAExtensionsMoveCommitBuilder: function DNAExtensionsMoveCommitBuilder() { + this._dna_extensions_move = this._$v = null; + }, + _$HelixGroupMoveStart: function _$HelixGroupMoveStart(t0) { + this.mouse_point = t0; + }, + HelixGroupMoveStartBuilder: function HelixGroupMoveStartBuilder() { + this._mouse_point = this._$v = null; + }, + _$HelixGroupMoveCreate: function _$HelixGroupMoveCreate(t0) { + this.helix_group_move = t0; + }, + HelixGroupMoveCreateBuilder: function HelixGroupMoveCreateBuilder() { + this._helix_group_move = this._$v = null; + }, + _$HelixGroupMoveAdjustTranslation: function _$HelixGroupMoveAdjustTranslation(t0) { + this.mouse_point = t0; + }, + HelixGroupMoveAdjustTranslationBuilder: function HelixGroupMoveAdjustTranslationBuilder() { + this._mouse_point = this._$v = null; + }, + _$HelixGroupMoveStop: function _$HelixGroupMoveStop() { + }, + HelixGroupMoveStopBuilder: function HelixGroupMoveStopBuilder() { + this._$v = null; + }, + _$HelixGroupMoveCommit: function _$HelixGroupMoveCommit(t0) { + this.helix_group_move = t0; + }, + HelixGroupMoveCommitBuilder: function HelixGroupMoveCommitBuilder() { + this._helix_group_move = this._$v = null; + }, + _$AssignDNA: function _$AssignDNA(t0, t1) { + this.strand = t0; + this.dna_assign_options = t1; + }, + AssignDNABuilder: function AssignDNABuilder() { + this._actions$_dna_assign_options = this._strand = this._$v = null; + }, + _$AssignDNAComplementFromBoundStrands: function _$AssignDNAComplementFromBoundStrands(t0) { + this.strands = t0; + this._actions$__hashCode = null; + }, + AssignDNAComplementFromBoundStrandsBuilder: function AssignDNAComplementFromBoundStrandsBuilder() { + this._actions$_strands = this._$v = null; + }, + _$AssignDomainNameComplementFromBoundStrands: function _$AssignDomainNameComplementFromBoundStrands(t0) { + this.strands = t0; + this._actions$__hashCode = null; + }, + AssignDomainNameComplementFromBoundStrandsBuilder: function AssignDomainNameComplementFromBoundStrandsBuilder() { + this._actions$_strands = this._$v = null; + }, + _$AssignDomainNameComplementFromBoundDomains: function _$AssignDomainNameComplementFromBoundDomains(t0) { + this.domains = t0; + this._actions$__hashCode = null; + }, + AssignDomainNameComplementFromBoundDomainsBuilder: function AssignDomainNameComplementFromBoundDomainsBuilder() { + this._domains = this._$v = null; + }, + _$RemoveDNA: function _$RemoveDNA(t0, t1, t2) { + this.strand = t0; + this.remove_complements = t1; + this.remove_all = t2; + }, + RemoveDNABuilder: function RemoveDNABuilder() { + var _ = this; + _._remove_all = _._remove_complements = _._strand = _._$v = null; + }, + _$InsertionAdd: function _$InsertionAdd(t0, t1, t2) { + this.domain = t0; + this.offset = t1; + this.all_helices = t2; + }, + InsertionAddBuilder: function InsertionAddBuilder() { + var _ = this; + _._all_helices = _._actions$_offset = _._actions$_domain = _._$v = null; + }, + _$InsertionLengthChange: function _$InsertionLengthChange(t0, t1, t2, t3) { + var _ = this; + _.domain = t0; + _.insertion = t1; + _.length = t2; + _.all_helices = t3; + }, + InsertionLengthChangeBuilder: function InsertionLengthChangeBuilder() { + var _ = this; + _._all_helices = _._actions$_length = _._insertion = _._actions$_domain = _._$v = null; + }, + _$InsertionsLengthChange: function _$InsertionsLengthChange(t0, t1, t2, t3) { + var _ = this; + _.insertions = t0; + _.domains = t1; + _.length = t2; + _.all_helices = t3; + }, + InsertionsLengthChangeBuilder: function InsertionsLengthChangeBuilder() { + var _ = this; + _._all_helices = _._actions$_length = _._domains = _._actions$_insertions = _._$v = null; + }, + _$DeletionAdd: function _$DeletionAdd(t0, t1, t2) { + this.domain = t0; + this.offset = t1; + this.all_helices = t2; + }, + DeletionAddBuilder: function DeletionAddBuilder() { + var _ = this; + _._all_helices = _._actions$_offset = _._actions$_domain = _._$v = null; + }, + _$InsertionRemove: function _$InsertionRemove(t0, t1, t2) { + this.domain = t0; + this.insertion = t1; + this.all_helices = t2; + }, + InsertionRemoveBuilder: function InsertionRemoveBuilder() { + var _ = this; + _._all_helices = _._insertion = _._actions$_domain = _._$v = null; + }, + _$DeletionRemove: function _$DeletionRemove(t0, t1, t2) { + this.domain = t0; + this.offset = t1; + this.all_helices = t2; + }, + DeletionRemoveBuilder: function DeletionRemoveBuilder() { + var _ = this; + _._all_helices = _._actions$_offset = _._actions$_domain = _._$v = null; + }, + _$ScalePurificationVendorFieldsAssign: function _$ScalePurificationVendorFieldsAssign(t0, t1) { + this.strand = t0; + this.vendor_fields = t1; + }, + ScalePurificationVendorFieldsAssignBuilder: function ScalePurificationVendorFieldsAssignBuilder() { + this._actions$_vendor_fields = this._strand = this._$v = null; + }, + _$PlateWellVendorFieldsAssign: function _$PlateWellVendorFieldsAssign(t0, t1) { + this.strand = t0; + this.vendor_fields = t1; + }, + PlateWellVendorFieldsAssignBuilder: function PlateWellVendorFieldsAssignBuilder() { + this._actions$_vendor_fields = this._strand = this._$v = null; + }, + _$PlateWellVendorFieldsRemove: function _$PlateWellVendorFieldsRemove(t0) { + this.strand = t0; + }, + PlateWellVendorFieldsRemoveBuilder: function PlateWellVendorFieldsRemoveBuilder() { + this._strand = this._$v = null; + }, + _$VendorFieldsRemove: function _$VendorFieldsRemove(t0) { + this.strand = t0; + }, + VendorFieldsRemoveBuilder: function VendorFieldsRemoveBuilder() { + this._strand = this._$v = null; + }, + _$ModificationAdd: function _$ModificationAdd(t0, t1, t2) { + this.strand = t0; + this.modification = t1; + this.strand_dna_idx = t2; + }, + ModificationAddBuilder: function ModificationAddBuilder() { + var _ = this; + _._strand_dna_idx = _._modification = _._strand = _._$v = null; + }, + _$ModificationRemove: function _$ModificationRemove(t0, t1, t2) { + this.strand = t0; + this.modification = t1; + this.strand_dna_idx = t2; + }, + ModificationRemoveBuilder: function ModificationRemoveBuilder() { + var _ = this; + _._strand_dna_idx = _._modification = _._strand = _._$v = null; + }, + _$ModificationConnectorLengthSet: function _$ModificationConnectorLengthSet(t0, t1, t2) { + var _ = this; + _.strand = t0; + _.modification = t1; + _.connector_length = t2; + _._actions$__hashCode = null; + }, + ModificationConnectorLengthSetBuilder: function ModificationConnectorLengthSetBuilder() { + var _ = this; + _._actions$_connector_length = _._modification = _._strand = _._$v = null; + }, + _$ModificationEdit: function _$ModificationEdit(t0, t1, t2) { + this.strand = t0; + this.modification = t1; + this.strand_dna_idx = t2; + }, + ModificationEditBuilder: function ModificationEditBuilder() { + var _ = this; + _._strand_dna_idx = _._modification = _._strand = _._$v = null; + }, + _$Modifications5PrimeEdit: function _$Modifications5PrimeEdit(t0, t1) { + this.modifications = t0; + this.new_modification = t1; + }, + Modifications5PrimeEditBuilder: function Modifications5PrimeEditBuilder() { + this._new_modification = this._actions$_modifications = this._$v = null; + }, + _$Modifications3PrimeEdit: function _$Modifications3PrimeEdit(t0, t1) { + this.modifications = t0; + this.new_modification = t1; + }, + Modifications3PrimeEditBuilder: function Modifications3PrimeEditBuilder() { + this._new_modification = this._actions$_modifications = this._$v = null; + }, + _$ModificationsInternalEdit: function _$ModificationsInternalEdit(t0, t1) { + this.modifications = t0; + this.new_modification = t1; + }, + ModificationsInternalEditBuilder: function ModificationsInternalEditBuilder() { + this._new_modification = this._actions$_modifications = this._$v = null; + }, + _$GridChange: function _$GridChange(t0, t1) { + this.grid = t0; + this.group_name = t1; + }, + GridChangeBuilder: function GridChangeBuilder() { + this._group_name = this._actions$_grid = this._$v = null; + }, + _$GroupDisplayedChange: function _$GroupDisplayedChange(t0) { + this.group_name = t0; + }, + GroupDisplayedChangeBuilder: function GroupDisplayedChangeBuilder() { + this._group_name = this._$v = null; + }, + _$GroupAdd: function _$GroupAdd(t0, t1) { + this.name = t0; + this.group = t1; + }, + GroupAddBuilder: function GroupAddBuilder() { + this._actions$_group = this._actions$_name = this._$v = null; + }, + _$GroupRemove: function _$GroupRemove(t0) { + this.name = t0; + }, + GroupRemoveBuilder: function GroupRemoveBuilder() { + this._actions$_name = this._$v = null; + }, + _$GroupChange: function _$GroupChange(t0, t1, t2) { + this.old_name = t0; + this.new_name = t1; + this.new_group = t2; + }, + GroupChangeBuilder: function GroupChangeBuilder() { + var _ = this; + _._new_group = _._new_name = _._old_name = _._$v = null; + }, + _$MoveHelicesToGroup: function _$MoveHelicesToGroup(t0, t1) { + this.helix_idxs = t0; + this.group_name = t1; + this._actions$__hashCode = null; + }, + MoveHelicesToGroupBuilder: function MoveHelicesToGroupBuilder() { + this._group_name = this._helix_idxs = this._$v = null; + }, + _$DialogShow: function _$DialogShow(t0) { + this.dialog = t0; + }, + DialogShowBuilder: function DialogShowBuilder() { + this._actions$_dialog = this._$v = null; + }, + _$DialogHide: function _$DialogHide() { + }, + DialogHideBuilder: function DialogHideBuilder() { + this._$v = null; + }, + _$ContextMenuShow: function _$ContextMenuShow(t0) { + this.context_menu = t0; + }, + ContextMenuShowBuilder: function ContextMenuShowBuilder() { + this._actions$_context_menu = this._$v = null; + }, + _$ContextMenuHide: function _$ContextMenuHide() { + }, + ContextMenuHideBuilder: function ContextMenuHideBuilder() { + this._$v = null; + }, + _$StrandOrSubstrandColorPickerShow: function _$StrandOrSubstrandColorPickerShow(t0, t1) { + this.strand = t0; + this.substrand = t1; + }, + StrandOrSubstrandColorPickerShowBuilder: function StrandOrSubstrandColorPickerShowBuilder() { + this._substrand = this._strand = this._$v = null; + }, + _$StrandOrSubstrandColorPickerHide: function _$StrandOrSubstrandColorPickerHide() { + }, + StrandOrSubstrandColorPickerHideBuilder: function StrandOrSubstrandColorPickerHideBuilder() { + this._$v = null; + }, + _$ScaffoldSet: function _$ScaffoldSet(t0, t1) { + this.strand = t0; + this.is_scaffold = t1; + }, + ScaffoldSetBuilder: function ScaffoldSetBuilder() { + this._actions$_is_scaffold = this._strand = this._$v = null; + }, + _$StrandOrSubstrandColorSet: function _$StrandOrSubstrandColorSet(t0, t1, t2) { + this.strand = t0; + this.substrand = t1; + this.color = t2; + }, + StrandOrSubstrandColorSetBuilder: function StrandOrSubstrandColorSetBuilder() { + var _ = this; + _._actions$_color = _._substrand = _._strand = _._$v = null; + }, + _$StrandPasteKeepColorSet: function _$StrandPasteKeepColorSet(t0) { + this.keep = t0; + }, + StrandPasteKeepColorSetBuilder: function StrandPasteKeepColorSetBuilder() { + this._keep = this._$v = null; + }, + _$ExampleDesignsLoad: function _$ExampleDesignsLoad(t0) { + this.selected_idx = t0; + }, + ExampleDesignsLoadBuilder: function ExampleDesignsLoadBuilder() { + this._actions$_selected_idx = this._$v = null; + }, + _$BasePairTypeSet: function _$BasePairTypeSet(t0) { + this.selected_idx = t0; + }, + BasePairTypeSetBuilder: function BasePairTypeSetBuilder() { + this._actions$_selected_idx = this._$v = null; + }, + _$HelixPositionSet: function _$HelixPositionSet(t0, t1) { + this.helix_idx = t0; + this.position = t1; + }, + HelixPositionSetBuilder: function HelixPositionSetBuilder() { + this._actions$_position = this._actions$_helix_idx = this._$v = null; + }, + _$HelixGridPositionSet: function _$HelixGridPositionSet(t0, t1) { + this.helix = t0; + this.grid_position = t1; + }, + HelixGridPositionSetBuilder: function HelixGridPositionSetBuilder() { + this._actions$_grid_position = this._actions$_helix = this._$v = null; + }, + _$HelicesPositionsSetBasedOnCrossovers: function _$HelicesPositionsSetBasedOnCrossovers() { + }, + HelicesPositionsSetBasedOnCrossoversBuilder: function HelicesPositionsSetBasedOnCrossoversBuilder() { + this._$v = null; + }, + _$InlineInsertionsDeletions: function _$InlineInsertionsDeletions() { + }, + InlineInsertionsDeletionsBuilder: function InlineInsertionsDeletionsBuilder() { + this._$v = null; + }, + _$DefaultCrossoverTypeForSettingHelixRollsSet: function _$DefaultCrossoverTypeForSettingHelixRollsSet(t0, t1) { + this.scaffold = t0; + this.staple = t1; + }, + DefaultCrossoverTypeForSettingHelixRollsSetBuilder: function DefaultCrossoverTypeForSettingHelixRollsSetBuilder() { + this._staple = this._scaffold = this._$v = null; + }, + _$AutofitSet: function _$AutofitSet(t0) { + this.autofit = t0; + }, + AutofitSetBuilder: function AutofitSetBuilder() { + this._actions$_autofit = this._$v = null; + }, + _$ShowHelixCirclesMainViewSet: function _$ShowHelixCirclesMainViewSet(t0) { + this.show_helix_circles_main_view = t0; + }, + ShowHelixCirclesMainViewSetBuilder: function ShowHelixCirclesMainViewSetBuilder() { + this._actions$_show_helix_circles_main_view = this._$v = null; + }, + _$ShowHelixComponentsMainViewSet: function _$ShowHelixComponentsMainViewSet(t0) { + this.show_helix_components = t0; + this._actions$__hashCode = null; + }, + ShowHelixComponentsMainViewSetBuilder: function ShowHelixComponentsMainViewSetBuilder() { + this._show_helix_components = this._$v = null; + }, + _$ShowEditMenuToggle: function _$ShowEditMenuToggle() { + }, + _$ShowGridCoordinatesSideViewSet: function _$ShowGridCoordinatesSideViewSet(t0) { + this.show_grid_coordinates_side_view = t0; + }, + ShowGridCoordinatesSideViewSetBuilder: function ShowGridCoordinatesSideViewSetBuilder() { + this._actions$_show_grid_coordinates_side_view = this._$v = null; + }, + _$ShowAxisArrowsSet: function _$ShowAxisArrowsSet(t0) { + this.show_helices_axis_arrows = t0; + }, + ShowAxisArrowsSetBuilder: function ShowAxisArrowsSetBuilder() { + this._actions$_show_helices_axis_arrows = this._$v = null; + }, + _$ShowLoopoutExtensionLengthSet: function _$ShowLoopoutExtensionLengthSet(t0) { + this.show_length = t0; + }, + ShowLoopoutExtensionLengthSetBuilder: function ShowLoopoutExtensionLengthSetBuilder() { + this._show_length = this._$v = null; + }, + _$LoadDnaSequenceImageUri: function _$LoadDnaSequenceImageUri(t0, t1, t2) { + this.uri = t0; + this.dna_sequence_png_horizontal_offset = t1; + this.dna_sequence_png_vertical_offset = t2; + }, + LoadDnaSequenceImageUriBuilder: function LoadDnaSequenceImageUriBuilder() { + var _ = this; + _._actions$_dna_sequence_png_vertical_offset = _._actions$_dna_sequence_png_horizontal_offset = _._uri = _._$v = null; + }, + _$SetIsZoomAboveThreshold: function _$SetIsZoomAboveThreshold(t0) { + this.is_zoom_above_threshold = t0; + }, + SetIsZoomAboveThresholdBuilder: function SetIsZoomAboveThresholdBuilder() { + this._actions$_is_zoom_above_threshold = this._$v = null; + }, + _$SetExportSvgActionDelayedForPngCache: function _$SetExportSvgActionDelayedForPngCache(t0) { + this.export_svg_action_delayed_for_png_cache = t0; + }, + SetExportSvgActionDelayedForPngCacheBuilder: function SetExportSvgActionDelayedForPngCacheBuilder() { + this._actions$_export_svg_action_delayed_for_png_cache = this._$v = null; + }, + _$ShowBasePairLinesSet: function _$ShowBasePairLinesSet(t0) { + this.show_base_pair_lines = t0; + this._actions$__hashCode = null; + }, + ShowBasePairLinesSetBuilder: function ShowBasePairLinesSetBuilder() { + this._actions$_show_base_pair_lines = this._$v = null; + }, + _$ShowBasePairLinesWithMismatchesSet: function _$ShowBasePairLinesWithMismatchesSet(t0) { + this.show_base_pair_lines_with_mismatches = t0; + this._actions$__hashCode = null; + }, + ShowBasePairLinesWithMismatchesSetBuilder: function ShowBasePairLinesWithMismatchesSetBuilder() { + this._actions$_show_base_pair_lines_with_mismatches = this._$v = null; + }, + _$ShowSliceBarSet: function _$ShowSliceBarSet(t0) { + this.show = t0; + }, + ShowSliceBarSetBuilder: function ShowSliceBarSetBuilder() { + this._show = this._$v = null; + }, + _$SliceBarOffsetSet: function _$SliceBarOffsetSet(t0) { + this.offset = t0; + }, + SliceBarOffsetSetBuilder: function SliceBarOffsetSetBuilder() { + this._actions$_offset = this._$v = null; + }, + _$DisablePngCachingDnaSequencesSet: function _$DisablePngCachingDnaSequencesSet(t0) { + this.disable_png_caching_dna_sequences = t0; + }, + DisablePngCachingDnaSequencesSetBuilder: function DisablePngCachingDnaSequencesSetBuilder() { + this._actions$_disable_png_caching_dna_sequences = this._$v = null; + }, + _$RetainStrandColorOnSelectionSet: function _$RetainStrandColorOnSelectionSet(t0) { + this.retain_strand_color_on_selection = t0; + }, + RetainStrandColorOnSelectionSetBuilder: function RetainStrandColorOnSelectionSetBuilder() { + this._actions$_retain_strand_color_on_selection = this._$v = null; + }, + _$DisplayReverseDNARightSideUpSet: function _$DisplayReverseDNARightSideUpSet(t0) { + this.display_reverse_DNA_right_side_up = t0; + }, + DisplayReverseDNARightSideUpSetBuilder: function DisplayReverseDNARightSideUpSetBuilder() { + this._actions$_display_reverse_DNA_right_side_up = this._$v = null; + }, + _$SliceBarMoveStart: function _$SliceBarMoveStart() { + }, + SliceBarMoveStartBuilder: function SliceBarMoveStartBuilder() { + this._$v = null; + }, + _$SliceBarMoveStop: function _$SliceBarMoveStop() { + }, + SliceBarMoveStopBuilder: function SliceBarMoveStopBuilder() { + this._$v = null; + }, + _$Autostaple: function _$Autostaple() { + }, + AutostapleBuilder: function AutostapleBuilder() { + this._$v = null; + }, + _$Autobreak: function _$Autobreak(t0, t1, t2, t3) { + var _ = this; + _.target_length = t0; + _.min_length = t1; + _.max_length = t2; + _.min_distance_to_xover = t3; + }, + AutobreakBuilder: function AutobreakBuilder() { + var _ = this; + _._min_distance_to_xover = _._max_length = _._min_length = _._target_length = _._$v = null; + }, + _$ZoomSpeedSet: function _$ZoomSpeedSet(t0) { + this.speed = t0; + this._actions$__hashCode = null; + }, + ZoomSpeedSetBuilder: function ZoomSpeedSetBuilder() { + this._speed = this._$v = null; + }, + _$OxdnaExport: function _$OxdnaExport(t0) { + this.selected_strands_only = t0; + this._actions$__hashCode = null; + }, + OxdnaExportBuilder: function OxdnaExportBuilder() { + this._selected_strands_only = this._$v = null; + }, + _$OxviewExport: function _$OxviewExport(t0) { + this.selected_strands_only = t0; + this._actions$__hashCode = null; + }, + OxviewExportBuilder: function OxviewExportBuilder() { + this._selected_strands_only = this._$v = null; + }, + _$OxExportOnlySelectedStrandsSet: function _$OxExportOnlySelectedStrandsSet(t0) { + this.only_selected = t0; + this._actions$__hashCode = null; + }, + OxExportOnlySelectedStrandsSetBuilder: function OxExportOnlySelectedStrandsSetBuilder() { + this._only_selected = this._$v = null; + }, + _AssignDNA_Object_BuiltJsonSerializable: function _AssignDNA_Object_BuiltJsonSerializable() { + }, + _AssignDNA_Object_BuiltJsonSerializable_UndoableAction: function _AssignDNA_Object_BuiltJsonSerializable_UndoableAction() { + }, + _AssignDNAComplementFromBoundStrands_Object_BuiltJsonSerializable: function _AssignDNAComplementFromBoundStrands_Object_BuiltJsonSerializable() { + }, + _AssignDNAComplementFromBoundStrands_Object_BuiltJsonSerializable_UndoableAction: function _AssignDNAComplementFromBoundStrands_Object_BuiltJsonSerializable_UndoableAction() { + }, + _AssignDomainNameComplementFromBoundDomains_Object_BuiltJsonSerializable: function _AssignDomainNameComplementFromBoundDomains_Object_BuiltJsonSerializable() { + }, + _AssignDomainNameComplementFromBoundDomains_Object_BuiltJsonSerializable_UndoableAction: function _AssignDomainNameComplementFromBoundDomains_Object_BuiltJsonSerializable_UndoableAction() { + }, + _AssignDomainNameComplementFromBoundStrands_Object_BuiltJsonSerializable: function _AssignDomainNameComplementFromBoundStrands_Object_BuiltJsonSerializable() { + }, + _AssignDomainNameComplementFromBoundStrands_Object_BuiltJsonSerializable_UndoableAction: function _AssignDomainNameComplementFromBoundStrands_Object_BuiltJsonSerializable_UndoableAction() { + }, + _AutoPasteInitiate_Object_BuiltJsonSerializable: function _AutoPasteInitiate_Object_BuiltJsonSerializable() { + }, + _Autobreak_Object_BuiltJsonSerializable: function _Autobreak_Object_BuiltJsonSerializable() { + }, + _AutofitSet_Object_BuiltJsonSerializable: function _AutofitSet_Object_BuiltJsonSerializable() { + }, + _Autostaple_Object_BuiltJsonSerializable: function _Autostaple_Object_BuiltJsonSerializable() { + }, + _BasePairTypeSet_Object_BuiltJsonSerializable: function _BasePairTypeSet_Object_BuiltJsonSerializable() { + }, + _BatchAction_Object_BuiltJsonSerializable: function _BatchAction_Object_BuiltJsonSerializable() { + }, + _BatchAction_Object_BuiltJsonSerializable_UndoableAction: function _BatchAction_Object_BuiltJsonSerializable_UndoableAction() { + }, + _ClearHelixSelectionWhenLoadingNewDesignSet_Object_BuiltJsonSerializable: function _ClearHelixSelectionWhenLoadingNewDesignSet_Object_BuiltJsonSerializable() { + }, + _ContextMenuHide_Object_BuiltJsonSerializable: function _ContextMenuHide_Object_BuiltJsonSerializable() { + }, + _ContextMenuShow_Object_BuiltJsonSerializable: function _ContextMenuShow_Object_BuiltJsonSerializable() { + }, + _ConvertCrossoverToLoopout_Object_BuiltJsonSerializable: function _ConvertCrossoverToLoopout_Object_BuiltJsonSerializable() { + }, + _ConvertCrossoverToLoopout_Object_BuiltJsonSerializable_UndoableAction: function _ConvertCrossoverToLoopout_Object_BuiltJsonSerializable_UndoableAction() { + }, + _ConvertCrossoversToLoopouts_Object_BuiltJsonSerializable: function _ConvertCrossoversToLoopouts_Object_BuiltJsonSerializable() { + }, + _ConvertCrossoversToLoopouts_Object_BuiltJsonSerializable_UndoableAction: function _ConvertCrossoversToLoopouts_Object_BuiltJsonSerializable_UndoableAction() { + }, + _CopySelectedStandsToClipboardImage_Object_BuiltJsonSerializable: function _CopySelectedStandsToClipboardImage_Object_BuiltJsonSerializable() { + }, + _CopySelectedStrands_Object_BuiltJsonSerializable: function _CopySelectedStrands_Object_BuiltJsonSerializable() { + }, + _DNAEndsMoveAdjustOffset_Object_BuiltJsonSerializable: function _DNAEndsMoveAdjustOffset_Object_BuiltJsonSerializable() { + }, + _DNAEndsMoveCommit_Object_BuiltJsonSerializable: function _DNAEndsMoveCommit_Object_BuiltJsonSerializable() { + }, + _DNAEndsMoveCommit_Object_BuiltJsonSerializable_UndoableAction: function _DNAEndsMoveCommit_Object_BuiltJsonSerializable_UndoableAction() { + }, + _DNAEndsMoveSetSelectedEnds_Object_BuiltJsonSerializable: function _DNAEndsMoveSetSelectedEnds_Object_BuiltJsonSerializable() { + }, + _DNAEndsMoveStart_Object_BuiltJsonSerializable: function _DNAEndsMoveStart_Object_BuiltJsonSerializable() { + }, + _DNAEndsMoveStop_Object_BuiltJsonSerializable: function _DNAEndsMoveStop_Object_BuiltJsonSerializable() { + }, + _DNAExtensionsMoveAdjustPosition_Object_BuiltJsonSerializable: function _DNAExtensionsMoveAdjustPosition_Object_BuiltJsonSerializable() { + }, + _DNAExtensionsMoveCommit_Object_BuiltJsonSerializable: function _DNAExtensionsMoveCommit_Object_BuiltJsonSerializable() { + }, + _DNAExtensionsMoveCommit_Object_BuiltJsonSerializable_UndoableAction: function _DNAExtensionsMoveCommit_Object_BuiltJsonSerializable_UndoableAction() { + }, + _DNAExtensionsMoveSetSelectedExtensionEnds_Object_BuiltJsonSerializable: function _DNAExtensionsMoveSetSelectedExtensionEnds_Object_BuiltJsonSerializable() { + }, + _DNAExtensionsMoveStart_Object_BuiltJsonSerializable: function _DNAExtensionsMoveStart_Object_BuiltJsonSerializable() { + }, + _DNAExtensionsMoveStop_Object_BuiltJsonSerializable: function _DNAExtensionsMoveStop_Object_BuiltJsonSerializable() { + }, + _DefaultCrossoverTypeForSettingHelixRollsSet_Object_BuiltJsonSerializable: function _DefaultCrossoverTypeForSettingHelixRollsSet_Object_BuiltJsonSerializable() { + }, + _DeleteAllSelected_Object_BuiltJsonSerializable: function _DeleteAllSelected_Object_BuiltJsonSerializable() { + }, + _DeleteAllSelected_Object_BuiltJsonSerializable_UndoableAction: function _DeleteAllSelected_Object_BuiltJsonSerializable_UndoableAction() { + }, + _DeletionAdd_Object_BuiltJsonSerializable: function _DeletionAdd_Object_BuiltJsonSerializable() { + }, + _DeletionAdd_Object_BuiltJsonSerializable_UndoableAction: function _DeletionAdd_Object_BuiltJsonSerializable_UndoableAction() { + }, + _DeletionRemove_Object_BuiltJsonSerializable: function _DeletionRemove_Object_BuiltJsonSerializable() { + }, + _DeletionRemove_Object_BuiltJsonSerializable_UndoableAction: function _DeletionRemove_Object_BuiltJsonSerializable_UndoableAction() { + }, + _DialogHide_Object_BuiltJsonSerializable: function _DialogHide_Object_BuiltJsonSerializable() { + }, + _DialogShow_Object_BuiltJsonSerializable: function _DialogShow_Object_BuiltJsonSerializable() { + }, + _DisablePngCachingDnaSequencesSet_Object_BuiltJsonSerializable: function _DisablePngCachingDnaSequencesSet_Object_BuiltJsonSerializable() { + }, + _DisplayMajorTicksOffsetsSet_Object_BuiltJsonSerializable: function _DisplayMajorTicksOffsetsSet_Object_BuiltJsonSerializable() { + }, + _DisplayReverseDNARightSideUpSet_Object_BuiltJsonSerializable: function _DisplayReverseDNARightSideUpSet_Object_BuiltJsonSerializable() { + }, + _DomainLabelFontSizeSet_Object_BuiltJsonSerializable: function _DomainLabelFontSizeSet_Object_BuiltJsonSerializable() { + }, + _DomainNameFontSizeSet_Object_BuiltJsonSerializable: function _DomainNameFontSizeSet_Object_BuiltJsonSerializable() { + }, + _DomainsMoveAdjustAddress_Object_BuiltJsonSerializable: function _DomainsMoveAdjustAddress_Object_BuiltJsonSerializable() { + }, + _DomainsMoveCommit_Object_BuiltJsonSerializable: function _DomainsMoveCommit_Object_BuiltJsonSerializable() { + }, + _DomainsMoveCommit_Object_BuiltJsonSerializable_UndoableAction: function _DomainsMoveCommit_Object_BuiltJsonSerializable_UndoableAction() { + }, + _DomainsMoveStartSelectedDomains_Object_BuiltJsonSerializable: function _DomainsMoveStartSelectedDomains_Object_BuiltJsonSerializable() { + }, + _DomainsMoveStop_Object_BuiltJsonSerializable: function _DomainsMoveStop_Object_BuiltJsonSerializable() { + }, + _DynamicHelixUpdateSet_Object_BuiltJsonSerializable: function _DynamicHelixUpdateSet_Object_BuiltJsonSerializable() { + }, + _EditModeToggle_Object_BuiltJsonSerializable: function _EditModeToggle_Object_BuiltJsonSerializable() { + }, + _EditModesSet_Object_BuiltJsonSerializable: function _EditModesSet_Object_BuiltJsonSerializable() { + }, + _ErrorMessageSet_Object_BuiltJsonSerializable: function _ErrorMessageSet_Object_BuiltJsonSerializable() { + }, + _ExampleDesignsLoad_Object_BuiltJsonSerializable: function _ExampleDesignsLoad_Object_BuiltJsonSerializable() { + }, + _ExportCadnanoFile_Object_BuiltJsonSerializable: function _ExportCadnanoFile_Object_BuiltJsonSerializable() { + }, + _ExportCanDoDNA_Object_BuiltJsonSerializable: function _ExportCanDoDNA_Object_BuiltJsonSerializable() { + }, + _ExportCodenanoFile_Object_BuiltJsonSerializable: function _ExportCodenanoFile_Object_BuiltJsonSerializable() { + }, + _ExportDNA_Object_BuiltJsonSerializable: function _ExportDNA_Object_BuiltJsonSerializable() { + }, + _ExportSvg_Object_BuiltJsonSerializable: function _ExportSvg_Object_BuiltJsonSerializable() { + }, + _ExportSvgTextSeparatelySet_Object_BuiltJsonSerializable: function _ExportSvgTextSeparatelySet_Object_BuiltJsonSerializable() { + }, + _ExtensionAdd_Object_BuiltJsonSerializable: function _ExtensionAdd_Object_BuiltJsonSerializable() { + }, + _ExtensionAdd_Object_BuiltJsonSerializable_UndoableAction: function _ExtensionAdd_Object_BuiltJsonSerializable_UndoableAction() { + }, + _ExtensionDisplayLengthAngleSet_Object_BuiltJsonSerializable: function _ExtensionDisplayLengthAngleSet_Object_BuiltJsonSerializable() { + }, + _ExtensionDisplayLengthAngleSet_Object_BuiltJsonSerializable_UndoableAction: function _ExtensionDisplayLengthAngleSet_Object_BuiltJsonSerializable_UndoableAction() { + }, + _ExtensionNumBasesChange_Object_BuiltJsonSerializable: function _ExtensionNumBasesChange_Object_BuiltJsonSerializable() { + }, + _ExtensionNumBasesChange_Object_BuiltJsonSerializable_UndoableAction: function _ExtensionNumBasesChange_Object_BuiltJsonSerializable_UndoableAction() { + }, + _ExtensionsNumBasesChange_Object_BuiltJsonSerializable: function _ExtensionsNumBasesChange_Object_BuiltJsonSerializable() { + }, + _ExtensionsNumBasesChange_Object_BuiltJsonSerializable_UndoableAction: function _ExtensionsNumBasesChange_Object_BuiltJsonSerializable_UndoableAction() { + }, + _GeometrySet_Object_BuiltJsonSerializable: function _GeometrySet_Object_BuiltJsonSerializable() { + }, + _GeometrySet_Object_BuiltJsonSerializable_UndoableAction: function _GeometrySet_Object_BuiltJsonSerializable_UndoableAction() { + }, + _GridChange_Object_BuiltJsonSerializable: function _GridChange_Object_BuiltJsonSerializable() { + }, + _GridChange_Object_BuiltJsonSerializable_UndoableAction: function _GridChange_Object_BuiltJsonSerializable_UndoableAction() { + }, + _GroupAdd_Object_BuiltJsonSerializable: function _GroupAdd_Object_BuiltJsonSerializable() { + }, + _GroupAdd_Object_BuiltJsonSerializable_UndoableAction: function _GroupAdd_Object_BuiltJsonSerializable_UndoableAction() { + }, + _GroupChange_Object_BuiltJsonSerializable: function _GroupChange_Object_BuiltJsonSerializable() { + }, + _GroupChange_Object_BuiltJsonSerializable_UndoableAction: function _GroupChange_Object_BuiltJsonSerializable_UndoableAction() { + }, + _GroupDisplayedChange_Object_BuiltJsonSerializable: function _GroupDisplayedChange_Object_BuiltJsonSerializable() { + }, + _GroupRemove_Object_BuiltJsonSerializable: function _GroupRemove_Object_BuiltJsonSerializable() { + }, + _GroupRemove_Object_BuiltJsonSerializable_UndoableAction: function _GroupRemove_Object_BuiltJsonSerializable_UndoableAction() { + }, + _HelicesPositionsSetBasedOnCrossovers_Object_BuiltJsonSerializable: function _HelicesPositionsSetBasedOnCrossovers_Object_BuiltJsonSerializable() { + }, + _HelixAdd_Object_BuiltJsonSerializable: function _HelixAdd_Object_BuiltJsonSerializable() { + }, + _HelixAdd_Object_BuiltJsonSerializable_UndoableAction: function _HelixAdd_Object_BuiltJsonSerializable_UndoableAction() { + }, + _HelixGridPositionSet_Object_BuiltJsonSerializable: function _HelixGridPositionSet_Object_BuiltJsonSerializable() { + }, + _HelixGridPositionSet_Object_BuiltJsonSerializable_UndoableAction: function _HelixGridPositionSet_Object_BuiltJsonSerializable_UndoableAction() { + }, + _HelixGroupMoveAdjustTranslation_Object_BuiltJsonSerializable: function _HelixGroupMoveAdjustTranslation_Object_BuiltJsonSerializable() { + }, + _HelixGroupMoveCommit_Object_BuiltJsonSerializable: function _HelixGroupMoveCommit_Object_BuiltJsonSerializable() { + }, + _HelixGroupMoveCommit_Object_BuiltJsonSerializable_UndoableAction: function _HelixGroupMoveCommit_Object_BuiltJsonSerializable_UndoableAction() { + }, + _HelixGroupMoveCreate_Object_BuiltJsonSerializable: function _HelixGroupMoveCreate_Object_BuiltJsonSerializable() { + }, + _HelixGroupMoveStart_Object_BuiltJsonSerializable: function _HelixGroupMoveStart_Object_BuiltJsonSerializable() { + }, + _HelixGroupMoveStop_Object_BuiltJsonSerializable: function _HelixGroupMoveStop_Object_BuiltJsonSerializable() { + }, + _HelixIdxsChange_Object_BuiltJsonSerializable: function _HelixIdxsChange_Object_BuiltJsonSerializable() { + }, + _HelixIdxsChange_Object_BuiltJsonSerializable_UndoableAction: function _HelixIdxsChange_Object_BuiltJsonSerializable_UndoableAction() { + }, + _HelixMajorTickDistanceChange_Object_BuiltJsonSerializable: function _HelixMajorTickDistanceChange_Object_BuiltJsonSerializable() { + }, + _HelixMajorTickDistanceChange_Object_BuiltJsonSerializable_UndoableAction: function _HelixMajorTickDistanceChange_Object_BuiltJsonSerializable_UndoableAction() { + }, + _HelixMajorTickDistanceChangeAll_Object_BuiltJsonSerializable: function _HelixMajorTickDistanceChangeAll_Object_BuiltJsonSerializable() { + }, + _HelixMajorTickDistanceChangeAll_Object_BuiltJsonSerializable_UndoableAction: function _HelixMajorTickDistanceChangeAll_Object_BuiltJsonSerializable_UndoableAction() { + }, + _HelixMajorTickPeriodicDistancesChange_Object_BuiltJsonSerializable: function _HelixMajorTickPeriodicDistancesChange_Object_BuiltJsonSerializable() { + }, + _HelixMajorTickPeriodicDistancesChange_Object_BuiltJsonSerializable_UndoableAction: function _HelixMajorTickPeriodicDistancesChange_Object_BuiltJsonSerializable_UndoableAction() { + }, + _HelixMajorTickPeriodicDistancesChangeAll_Object_BuiltJsonSerializable: function _HelixMajorTickPeriodicDistancesChangeAll_Object_BuiltJsonSerializable() { + }, + _HelixMajorTickPeriodicDistancesChangeAll_Object_BuiltJsonSerializable_UndoableAction: function _HelixMajorTickPeriodicDistancesChangeAll_Object_BuiltJsonSerializable_UndoableAction() { + }, + _HelixMajorTickStartChange_Object_BuiltJsonSerializable: function _HelixMajorTickStartChange_Object_BuiltJsonSerializable() { + }, + _HelixMajorTickStartChange_Object_BuiltJsonSerializable_UndoableAction: function _HelixMajorTickStartChange_Object_BuiltJsonSerializable_UndoableAction() { + }, + _HelixMajorTickStartChangeAll_Object_BuiltJsonSerializable: function _HelixMajorTickStartChangeAll_Object_BuiltJsonSerializable() { + }, + _HelixMajorTickStartChangeAll_Object_BuiltJsonSerializable_UndoableAction: function _HelixMajorTickStartChangeAll_Object_BuiltJsonSerializable_UndoableAction() { + }, + _HelixMajorTicksChange_Object_BuiltJsonSerializable: function _HelixMajorTicksChange_Object_BuiltJsonSerializable() { + }, + _HelixMajorTicksChange_Object_BuiltJsonSerializable_UndoableAction: function _HelixMajorTicksChange_Object_BuiltJsonSerializable_UndoableAction() { + }, + _HelixMajorTicksChangeAll_Object_BuiltJsonSerializable: function _HelixMajorTicksChangeAll_Object_BuiltJsonSerializable() { + }, + _HelixMajorTicksChangeAll_Object_BuiltJsonSerializable_UndoableAction: function _HelixMajorTicksChangeAll_Object_BuiltJsonSerializable_UndoableAction() { + }, + _HelixMaxOffsetSetByDomains_Object_BuiltJsonSerializable: function _HelixMaxOffsetSetByDomains_Object_BuiltJsonSerializable() { + }, + _HelixMaxOffsetSetByDomains_Object_BuiltJsonSerializable_UndoableAction: function _HelixMaxOffsetSetByDomains_Object_BuiltJsonSerializable_UndoableAction() { + }, + _HelixMaxOffsetSetByDomainsAll_Object_BuiltJsonSerializable: function _HelixMaxOffsetSetByDomainsAll_Object_BuiltJsonSerializable() { + }, + _HelixMaxOffsetSetByDomainsAll_Object_BuiltJsonSerializable_UndoableAction: function _HelixMaxOffsetSetByDomainsAll_Object_BuiltJsonSerializable_UndoableAction() { + }, + _HelixMaxOffsetSetByDomainsAllSameMax_Object_BuiltJsonSerializable: function _HelixMaxOffsetSetByDomainsAllSameMax_Object_BuiltJsonSerializable() { + }, + _HelixMaxOffsetSetByDomainsAllSameMax_Object_BuiltJsonSerializable_UndoableAction: function _HelixMaxOffsetSetByDomainsAllSameMax_Object_BuiltJsonSerializable_UndoableAction() { + }, + _HelixMinOffsetSetByDomains_Object_BuiltJsonSerializable: function _HelixMinOffsetSetByDomains_Object_BuiltJsonSerializable() { + }, + _HelixMinOffsetSetByDomains_Object_BuiltJsonSerializable_UndoableAction: function _HelixMinOffsetSetByDomains_Object_BuiltJsonSerializable_UndoableAction() { + }, + _HelixMinOffsetSetByDomainsAll_Object_BuiltJsonSerializable: function _HelixMinOffsetSetByDomainsAll_Object_BuiltJsonSerializable() { + }, + _HelixMinOffsetSetByDomainsAll_Object_BuiltJsonSerializable_UndoableAction: function _HelixMinOffsetSetByDomainsAll_Object_BuiltJsonSerializable_UndoableAction() { + }, + _HelixOffsetChange_Object_BuiltJsonSerializable: function _HelixOffsetChange_Object_BuiltJsonSerializable() { + }, + _HelixOffsetChange_Object_BuiltJsonSerializable_UndoableAction: function _HelixOffsetChange_Object_BuiltJsonSerializable_UndoableAction() { + }, + _HelixOffsetChangeAll_Object_BuiltJsonSerializable: function _HelixOffsetChangeAll_Object_BuiltJsonSerializable() { + }, + _HelixOffsetChangeAll_Object_BuiltJsonSerializable_UndoableAction: function _HelixOffsetChangeAll_Object_BuiltJsonSerializable_UndoableAction() { + }, + _HelixPositionSet_Object_BuiltJsonSerializable: function _HelixPositionSet_Object_BuiltJsonSerializable() { + }, + _HelixPositionSet_Object_BuiltJsonSerializable_UndoableAction: function _HelixPositionSet_Object_BuiltJsonSerializable_UndoableAction() { + }, + _HelixRemove_Object_BuiltJsonSerializable: function _HelixRemove_Object_BuiltJsonSerializable() { + }, + _HelixRemove_Object_BuiltJsonSerializable_UndoableAction: function _HelixRemove_Object_BuiltJsonSerializable_UndoableAction() { + }, + _HelixRemoveAllSelected_Object_BuiltJsonSerializable: function _HelixRemoveAllSelected_Object_BuiltJsonSerializable() { + }, + _HelixRemoveAllSelected_Object_BuiltJsonSerializable_UndoableAction: function _HelixRemoveAllSelected_Object_BuiltJsonSerializable_UndoableAction() { + }, + _HelixRollSet_Object_BuiltJsonSerializable: function _HelixRollSet_Object_BuiltJsonSerializable() { + }, + _HelixRollSet_Object_BuiltJsonSerializable_UndoableAction: function _HelixRollSet_Object_BuiltJsonSerializable_UndoableAction() { + }, + _HelixRollSetAtOther_Object_BuiltJsonSerializable: function _HelixRollSetAtOther_Object_BuiltJsonSerializable() { + }, + _HelixRollSetAtOther_Object_BuiltJsonSerializable_UndoableAction: function _HelixRollSetAtOther_Object_BuiltJsonSerializable_UndoableAction() { + }, + _HelixSelect_Object_BuiltJsonSerializable: function _HelixSelect_Object_BuiltJsonSerializable() { + }, + _HelixSelectionsAdjust_Object_BuiltJsonSerializable: function _HelixSelectionsAdjust_Object_BuiltJsonSerializable() { + }, + _HelixSelectionsClear_Object_BuiltJsonSerializable: function _HelixSelectionsClear_Object_BuiltJsonSerializable() { + }, + _InlineInsertionsDeletions_Object_BuiltJsonSerializable: function _InlineInsertionsDeletions_Object_BuiltJsonSerializable() { + }, + _InlineInsertionsDeletions_Object_BuiltJsonSerializable_UndoableAction: function _InlineInsertionsDeletions_Object_BuiltJsonSerializable_UndoableAction() { + }, + _InsertionAdd_Object_BuiltJsonSerializable: function _InsertionAdd_Object_BuiltJsonSerializable() { + }, + _InsertionAdd_Object_BuiltJsonSerializable_UndoableAction: function _InsertionAdd_Object_BuiltJsonSerializable_UndoableAction() { + }, + _InsertionLengthChange_Object_BuiltJsonSerializable: function _InsertionLengthChange_Object_BuiltJsonSerializable() { + }, + _InsertionLengthChange_Object_BuiltJsonSerializable_UndoableAction: function _InsertionLengthChange_Object_BuiltJsonSerializable_UndoableAction() { + }, + _InsertionRemove_Object_BuiltJsonSerializable: function _InsertionRemove_Object_BuiltJsonSerializable() { + }, + _InsertionRemove_Object_BuiltJsonSerializable_UndoableAction: function _InsertionRemove_Object_BuiltJsonSerializable_UndoableAction() { + }, + _InsertionsLengthChange_Object_BuiltJsonSerializable: function _InsertionsLengthChange_Object_BuiltJsonSerializable() { + }, + _InsertionsLengthChange_Object_BuiltJsonSerializable_UndoableAction: function _InsertionsLengthChange_Object_BuiltJsonSerializable_UndoableAction() { + }, + _InvertYSet_Object_BuiltJsonSerializable: function _InvertYSet_Object_BuiltJsonSerializable() { + }, + _JoinStrandsByCrossover_Object_BuiltJsonSerializable: function _JoinStrandsByCrossover_Object_BuiltJsonSerializable() { + }, + _JoinStrandsByCrossover_Object_BuiltJsonSerializable_UndoableAction: function _JoinStrandsByCrossover_Object_BuiltJsonSerializable_UndoableAction() { + }, + _JoinStrandsByMultipleCrossovers_Object_BuiltJsonSerializable: function _JoinStrandsByMultipleCrossovers_Object_BuiltJsonSerializable() { + }, + _JoinStrandsByMultipleCrossovers_Object_BuiltJsonSerializable_UndoableAction: function _JoinStrandsByMultipleCrossovers_Object_BuiltJsonSerializable_UndoableAction() { + }, + _Ligate_Object_BuiltJsonSerializable: function _Ligate_Object_BuiltJsonSerializable() { + }, + _Ligate_Object_BuiltJsonSerializable_UndoableAction: function _Ligate_Object_BuiltJsonSerializable_UndoableAction() { + }, + _LoadDNAFile_Object_BuiltJsonSerializable: function _LoadDNAFile_Object_BuiltJsonSerializable() { + }, + _LoadDNAFile_Object_BuiltJsonSerializable_DesignChangingAction: function _LoadDNAFile_Object_BuiltJsonSerializable_DesignChangingAction() { + }, + _LoadDnaSequenceImageUri_Object_BuiltJsonSerializable: function _LoadDnaSequenceImageUri_Object_BuiltJsonSerializable() { + }, + _LoadingDialogHide_Object_BuiltJsonSerializable: function _LoadingDialogHide_Object_BuiltJsonSerializable() { + }, + _LoadingDialogShow_Object_BuiltJsonSerializable: function _LoadingDialogShow_Object_BuiltJsonSerializable() { + }, + _LocalStorageDesignChoiceSet_Object_BuiltJsonSerializable: function _LocalStorageDesignChoiceSet_Object_BuiltJsonSerializable() { + }, + _LoopoutLengthChange_Object_BuiltJsonSerializable: function _LoopoutLengthChange_Object_BuiltJsonSerializable() { + }, + _LoopoutLengthChange_Object_BuiltJsonSerializable_UndoableAction: function _LoopoutLengthChange_Object_BuiltJsonSerializable_UndoableAction() { + }, + _LoopoutsLengthChange_Object_BuiltJsonSerializable: function _LoopoutsLengthChange_Object_BuiltJsonSerializable() { + }, + _LoopoutsLengthChange_Object_BuiltJsonSerializable_UndoableAction: function _LoopoutsLengthChange_Object_BuiltJsonSerializable_UndoableAction() { + }, + _MajorTickOffsetFontSizeSet_Object_BuiltJsonSerializable: function _MajorTickOffsetFontSizeSet_Object_BuiltJsonSerializable() { + }, + _MajorTickWidthFontSizeSet_Object_BuiltJsonSerializable: function _MajorTickWidthFontSizeSet_Object_BuiltJsonSerializable() { + }, + _ManualPasteInitiate_Object_BuiltJsonSerializable: function _ManualPasteInitiate_Object_BuiltJsonSerializable() { + }, + _ModificationAdd_Object_BuiltJsonSerializable: function _ModificationAdd_Object_BuiltJsonSerializable() { + }, + _ModificationAdd_Object_BuiltJsonSerializable_UndoableAction: function _ModificationAdd_Object_BuiltJsonSerializable_UndoableAction() { + }, + _ModificationConnectorLengthSet_Object_BuiltJsonSerializable: function _ModificationConnectorLengthSet_Object_BuiltJsonSerializable() { + }, + _ModificationEdit_Object_BuiltJsonSerializable: function _ModificationEdit_Object_BuiltJsonSerializable() { + }, + _ModificationEdit_Object_BuiltJsonSerializable_UndoableAction: function _ModificationEdit_Object_BuiltJsonSerializable_UndoableAction() { + }, + _ModificationFontSizeSet_Object_BuiltJsonSerializable: function _ModificationFontSizeSet_Object_BuiltJsonSerializable() { + }, + _ModificationRemove_Object_BuiltJsonSerializable: function _ModificationRemove_Object_BuiltJsonSerializable() { + }, + _ModificationRemove_Object_BuiltJsonSerializable_UndoableAction: function _ModificationRemove_Object_BuiltJsonSerializable_UndoableAction() { + }, + _Modifications3PrimeEdit_Object_BuiltJsonSerializable: function _Modifications3PrimeEdit_Object_BuiltJsonSerializable() { + }, + _Modifications3PrimeEdit_Object_BuiltJsonSerializable_UndoableAction: function _Modifications3PrimeEdit_Object_BuiltJsonSerializable_UndoableAction() { + }, + _Modifications5PrimeEdit_Object_BuiltJsonSerializable: function _Modifications5PrimeEdit_Object_BuiltJsonSerializable() { + }, + _Modifications5PrimeEdit_Object_BuiltJsonSerializable_UndoableAction: function _Modifications5PrimeEdit_Object_BuiltJsonSerializable_UndoableAction() { + }, + _ModificationsInternalEdit_Object_BuiltJsonSerializable: function _ModificationsInternalEdit_Object_BuiltJsonSerializable() { + }, + _ModificationsInternalEdit_Object_BuiltJsonSerializable_UndoableAction: function _ModificationsInternalEdit_Object_BuiltJsonSerializable_UndoableAction() { + }, + _MouseGridPositionSideClear_Object_BuiltJsonSerializable: function _MouseGridPositionSideClear_Object_BuiltJsonSerializable() { + }, + _MouseGridPositionSideUpdate_Object_BuiltJsonSerializable: function _MouseGridPositionSideUpdate_Object_BuiltJsonSerializable() { + }, + _MousePositionSideClear_Object_BuiltJsonSerializable: function _MousePositionSideClear_Object_BuiltJsonSerializable() { + }, + _MousePositionSideUpdate_Object_BuiltJsonSerializable: function _MousePositionSideUpdate_Object_BuiltJsonSerializable() { + }, + _MouseoverDataClear_Object_BuiltJsonSerializable: function _MouseoverDataClear_Object_BuiltJsonSerializable() { + }, + _MouseoverDataUpdate_Object_BuiltJsonSerializable: function _MouseoverDataUpdate_Object_BuiltJsonSerializable() { + }, + _MoveHelicesToGroup_Object_BuiltJsonSerializable: function _MoveHelicesToGroup_Object_BuiltJsonSerializable() { + }, + _MoveHelicesToGroup_Object_BuiltJsonSerializable_UndoableAction: function _MoveHelicesToGroup_Object_BuiltJsonSerializable_UndoableAction() { + }, + _MoveLinker_Object_BuiltJsonSerializable: function _MoveLinker_Object_BuiltJsonSerializable() { + }, + _MoveLinker_Object_BuiltJsonSerializable_UndoableAction: function _MoveLinker_Object_BuiltJsonSerializable_UndoableAction() { + }, + _NewDesignSet_Object_BuiltJsonSerializable: function _NewDesignSet_Object_BuiltJsonSerializable() { + }, + _NewDesignSet_Object_BuiltJsonSerializable_UndoableAction: function _NewDesignSet_Object_BuiltJsonSerializable_UndoableAction() { + }, + _Nick_Object_BuiltJsonSerializable: function _Nick_Object_BuiltJsonSerializable() { + }, + _Nick_Object_BuiltJsonSerializable_UndoableAction: function _Nick_Object_BuiltJsonSerializable_UndoableAction() { + }, + _OxExportOnlySelectedStrandsSet_Object_BuiltJsonSerializable: function _OxExportOnlySelectedStrandsSet_Object_BuiltJsonSerializable() { + }, + _OxdnaExport_Object_BuiltJsonSerializable: function _OxdnaExport_Object_BuiltJsonSerializable() { + }, + _OxviewExport_Object_BuiltJsonSerializable: function _OxviewExport_Object_BuiltJsonSerializable() { + }, + _OxviewShowSet_Object_BuiltJsonSerializable: function _OxviewShowSet_Object_BuiltJsonSerializable() { + }, + _PlateWellVendorFieldsAssign_Object_BuiltJsonSerializable: function _PlateWellVendorFieldsAssign_Object_BuiltJsonSerializable() { + }, + _PlateWellVendorFieldsAssign_Object_BuiltJsonSerializable_UndoableAction: function _PlateWellVendorFieldsAssign_Object_BuiltJsonSerializable_UndoableAction() { + }, + _PlateWellVendorFieldsRemove_Object_BuiltJsonSerializable: function _PlateWellVendorFieldsRemove_Object_BuiltJsonSerializable() { + }, + _PlateWellVendorFieldsRemove_Object_BuiltJsonSerializable_UndoableAction: function _PlateWellVendorFieldsRemove_Object_BuiltJsonSerializable_UndoableAction() { + }, + _PotentialCrossoverCreate_Object_BuiltJsonSerializable: function _PotentialCrossoverCreate_Object_BuiltJsonSerializable() { + }, + _PotentialCrossoverMove_Object_BuiltJsonSerializable: function _PotentialCrossoverMove_Object_BuiltJsonSerializable() { + }, + _PotentialCrossoverRemove_Object_BuiltJsonSerializable: function _PotentialCrossoverRemove_Object_BuiltJsonSerializable() { + }, + _PrepareToLoadDNAFile_Object_BuiltJsonSerializable: function _PrepareToLoadDNAFile_Object_BuiltJsonSerializable() { + }, + _PrepareToLoadDNAFile_Object_BuiltJsonSerializable_DesignChangingAction: function _PrepareToLoadDNAFile_Object_BuiltJsonSerializable_DesignChangingAction() { + }, + _Redo_Object_BuiltJsonSerializable: function _Redo_Object_BuiltJsonSerializable() { + }, + _Redo_Object_BuiltJsonSerializable_DesignChangingAction: function _Redo_Object_BuiltJsonSerializable_DesignChangingAction() { + }, + _RelaxHelixRolls_Object_BuiltJsonSerializable: function _RelaxHelixRolls_Object_BuiltJsonSerializable() { + }, + _RelaxHelixRolls_Object_BuiltJsonSerializable_UndoableAction: function _RelaxHelixRolls_Object_BuiltJsonSerializable_UndoableAction() { + }, + _RemoveDNA_Object_BuiltJsonSerializable: function _RemoveDNA_Object_BuiltJsonSerializable() { + }, + _RemoveDNA_Object_BuiltJsonSerializable_UndoableAction: function _RemoveDNA_Object_BuiltJsonSerializable_UndoableAction() { + }, + _ReplaceStrands_Object_BuiltJsonSerializable: function _ReplaceStrands_Object_BuiltJsonSerializable() { + }, + _ReplaceStrands_Object_BuiltJsonSerializable_UndoableAction: function _ReplaceStrands_Object_BuiltJsonSerializable_UndoableAction() { + }, + _ResetLocalStorage_Object_BuiltJsonSerializable: function _ResetLocalStorage_Object_BuiltJsonSerializable() { + }, + _RetainStrandColorOnSelectionSet_Object_BuiltJsonSerializable: function _RetainStrandColorOnSelectionSet_Object_BuiltJsonSerializable() { + }, + _SaveDNAFile_Object_BuiltJsonSerializable: function _SaveDNAFile_Object_BuiltJsonSerializable() { + }, + _ScaffoldSet_Object_BuiltJsonSerializable: function _ScaffoldSet_Object_BuiltJsonSerializable() { + }, + _ScaffoldSet_Object_BuiltJsonSerializable_UndoableAction: function _ScaffoldSet_Object_BuiltJsonSerializable_UndoableAction() { + }, + _ScalePurificationVendorFieldsAssign_Object_BuiltJsonSerializable: function _ScalePurificationVendorFieldsAssign_Object_BuiltJsonSerializable() { + }, + _ScalePurificationVendorFieldsAssign_Object_BuiltJsonSerializable_UndoableAction: function _ScalePurificationVendorFieldsAssign_Object_BuiltJsonSerializable_UndoableAction() { + }, + _Select_Object_BuiltJsonSerializable: function _Select_Object_BuiltJsonSerializable() { + }, + _SelectAll_Object_BuiltJsonSerializable: function _SelectAll_Object_BuiltJsonSerializable() { + }, + _SelectAllSelectable_Object_BuiltJsonSerializable: function _SelectAllSelectable_Object_BuiltJsonSerializable() { + }, + _SelectAllWithSameAsSelected_Object_BuiltJsonSerializable: function _SelectAllWithSameAsSelected_Object_BuiltJsonSerializable() { + }, + _SelectModeToggle_Object_BuiltJsonSerializable: function _SelectModeToggle_Object_BuiltJsonSerializable() { + }, + _SelectModesAdd_Object_BuiltJsonSerializable: function _SelectModesAdd_Object_BuiltJsonSerializable() { + }, + _SelectModesSet_Object_BuiltJsonSerializable: function _SelectModesSet_Object_BuiltJsonSerializable() { + }, + _SelectOrToggleItems_Object_BuiltJsonSerializable: function _SelectOrToggleItems_Object_BuiltJsonSerializable() { + }, + _SelectionBoxCreate_Object_BuiltJsonSerializable: function _SelectionBoxCreate_Object_BuiltJsonSerializable() { + }, + _SelectionBoxIntersectionRuleSet_Object_BuiltJsonSerializable: function _SelectionBoxIntersectionRuleSet_Object_BuiltJsonSerializable() { + }, + _SelectionBoxRemove_Object_BuiltJsonSerializable: function _SelectionBoxRemove_Object_BuiltJsonSerializable() { + }, + _SelectionBoxSizeChange_Object_BuiltJsonSerializable: function _SelectionBoxSizeChange_Object_BuiltJsonSerializable() { + }, + _SelectionRopeAddPoint_Object_BuiltJsonSerializable: function _SelectionRopeAddPoint_Object_BuiltJsonSerializable() { + }, + _SelectionRopeCreate_Object_BuiltJsonSerializable: function _SelectionRopeCreate_Object_BuiltJsonSerializable() { + }, + _SelectionRopeMouseMove_Object_BuiltJsonSerializable: function _SelectionRopeMouseMove_Object_BuiltJsonSerializable() { + }, + _SelectionRopeRemove_Object_BuiltJsonSerializable: function _SelectionRopeRemove_Object_BuiltJsonSerializable() { + }, + _SelectionsAdjustMainView_Object_BuiltJsonSerializable: function _SelectionsAdjustMainView_Object_BuiltJsonSerializable() { + }, + _SelectionsClear_Object_BuiltJsonSerializable: function _SelectionsClear_Object_BuiltJsonSerializable() { + }, + _SetAppUIStateStorable_Object_BuiltJsonSerializable: function _SetAppUIStateStorable_Object_BuiltJsonSerializable() { + }, + _SetDisplayBaseOffsetsOfMajorTicksOnlyFirstHelix_Object_BuiltJsonSerializable: function _SetDisplayBaseOffsetsOfMajorTicksOnlyFirstHelix_Object_BuiltJsonSerializable() { + }, + _SetDisplayMajorTickWidths_Object_BuiltJsonSerializable: function _SetDisplayMajorTickWidths_Object_BuiltJsonSerializable() { + }, + _SetDisplayMajorTickWidthsAllHelices_Object_BuiltJsonSerializable: function _SetDisplayMajorTickWidthsAllHelices_Object_BuiltJsonSerializable() { + }, + _SetExportSvgActionDelayedForPngCache_Object_BuiltJsonSerializable: function _SetExportSvgActionDelayedForPngCache_Object_BuiltJsonSerializable() { + }, + _SetIsZoomAboveThreshold_Object_BuiltJsonSerializable: function _SetIsZoomAboveThreshold_Object_BuiltJsonSerializable() { + }, + _SetModificationDisplayConnector_Object_BuiltJsonSerializable: function _SetModificationDisplayConnector_Object_BuiltJsonSerializable() { + }, + _SetOnlyDisplaySelectedHelices_Object_BuiltJsonSerializable: function _SetOnlyDisplaySelectedHelices_Object_BuiltJsonSerializable() { + }, + _ShowAxisArrowsSet_Object_BuiltJsonSerializable: function _ShowAxisArrowsSet_Object_BuiltJsonSerializable() { + }, + _ShowBasePairLinesSet_Object_BuiltJsonSerializable: function _ShowBasePairLinesSet_Object_BuiltJsonSerializable() { + }, + _ShowBasePairLinesWithMismatchesSet_Object_BuiltJsonSerializable: function _ShowBasePairLinesWithMismatchesSet_Object_BuiltJsonSerializable() { + }, + _ShowDNASet_Object_BuiltJsonSerializable: function _ShowDNASet_Object_BuiltJsonSerializable() { + }, + _ShowDomainLabelsSet_Object_BuiltJsonSerializable: function _ShowDomainLabelsSet_Object_BuiltJsonSerializable() { + }, + _ShowDomainNameMismatchesSet_Object_BuiltJsonSerializable: function _ShowDomainNameMismatchesSet_Object_BuiltJsonSerializable() { + }, + _ShowDomainNamesSet_Object_BuiltJsonSerializable: function _ShowDomainNamesSet_Object_BuiltJsonSerializable() { + }, + _ShowEditMenuToggle_Object_BuiltJsonSerializable: function _ShowEditMenuToggle_Object_BuiltJsonSerializable() { + }, + _ShowGridCoordinatesSideViewSet_Object_BuiltJsonSerializable: function _ShowGridCoordinatesSideViewSet_Object_BuiltJsonSerializable() { + }, + _ShowHelixCirclesMainViewSet_Object_BuiltJsonSerializable: function _ShowHelixCirclesMainViewSet_Object_BuiltJsonSerializable() { + }, + _ShowHelixComponentsMainViewSet_Object_BuiltJsonSerializable: function _ShowHelixComponentsMainViewSet_Object_BuiltJsonSerializable() { + }, + _ShowLoopoutExtensionLengthSet_Object_BuiltJsonSerializable: function _ShowLoopoutExtensionLengthSet_Object_BuiltJsonSerializable() { + }, + _ShowMismatchesSet_Object_BuiltJsonSerializable: function _ShowMismatchesSet_Object_BuiltJsonSerializable() { + }, + _ShowModificationsSet_Object_BuiltJsonSerializable: function _ShowModificationsSet_Object_BuiltJsonSerializable() { + }, + _ShowMouseoverDataSet_Object_BuiltJsonSerializable: function _ShowMouseoverDataSet_Object_BuiltJsonSerializable() { + }, + _ShowMouseoverRectSet_Object_BuiltJsonSerializable: function _ShowMouseoverRectSet_Object_BuiltJsonSerializable() { + }, + _ShowMouseoverRectToggle_Object_BuiltJsonSerializable: function _ShowMouseoverRectToggle_Object_BuiltJsonSerializable() { + }, + _ShowSliceBarSet_Object_BuiltJsonSerializable: function _ShowSliceBarSet_Object_BuiltJsonSerializable() { + }, + _ShowStrandLabelsSet_Object_BuiltJsonSerializable: function _ShowStrandLabelsSet_Object_BuiltJsonSerializable() { + }, + _ShowStrandNamesSet_Object_BuiltJsonSerializable: function _ShowStrandNamesSet_Object_BuiltJsonSerializable() { + }, + _ShowUnpairedInsertionDeletionsSet_Object_BuiltJsonSerializable: function _ShowUnpairedInsertionDeletionsSet_Object_BuiltJsonSerializable() { + }, + _SkipUndo_Object_BuiltJsonSerializable: function _SkipUndo_Object_BuiltJsonSerializable() { + }, + _SliceBarMoveStart_Object_BuiltJsonSerializable: function _SliceBarMoveStart_Object_BuiltJsonSerializable() { + }, + _SliceBarMoveStop_Object_BuiltJsonSerializable: function _SliceBarMoveStop_Object_BuiltJsonSerializable() { + }, + _SliceBarOffsetSet_Object_BuiltJsonSerializable: function _SliceBarOffsetSet_Object_BuiltJsonSerializable() { + }, + _StrandCreateAdjustOffset_Object_BuiltJsonSerializable: function _StrandCreateAdjustOffset_Object_BuiltJsonSerializable() { + }, + _StrandCreateCommit_Object_BuiltJsonSerializable: function _StrandCreateCommit_Object_BuiltJsonSerializable() { + }, + _StrandCreateCommit_Object_BuiltJsonSerializable_UndoableAction: function _StrandCreateCommit_Object_BuiltJsonSerializable_UndoableAction() { + }, + _StrandCreateStart_Object_BuiltJsonSerializable: function _StrandCreateStart_Object_BuiltJsonSerializable() { + }, + _StrandCreateStop_Object_BuiltJsonSerializable: function _StrandCreateStop_Object_BuiltJsonSerializable() { + }, + _StrandLabelFontSizeSet_Object_BuiltJsonSerializable: function _StrandLabelFontSizeSet_Object_BuiltJsonSerializable() { + }, + _StrandLabelSet_Object_BuiltJsonSerializable: function _StrandLabelSet_Object_BuiltJsonSerializable() { + }, + _StrandLabelSet_Object_BuiltJsonSerializable_UndoableAction: function _StrandLabelSet_Object_BuiltJsonSerializable_UndoableAction() { + }, + _StrandNameFontSizeSet_Object_BuiltJsonSerializable: function _StrandNameFontSizeSet_Object_BuiltJsonSerializable() { + }, + _StrandNameSet_Object_BuiltJsonSerializable: function _StrandNameSet_Object_BuiltJsonSerializable() { + }, + _StrandNameSet_Object_BuiltJsonSerializable_UndoableAction: function _StrandNameSet_Object_BuiltJsonSerializable_UndoableAction() { + }, + _StrandOrSubstrandColorPickerHide_Object_BuiltJsonSerializable: function _StrandOrSubstrandColorPickerHide_Object_BuiltJsonSerializable() { + }, + _StrandOrSubstrandColorPickerShow_Object_BuiltJsonSerializable: function _StrandOrSubstrandColorPickerShow_Object_BuiltJsonSerializable() { + }, + _StrandOrSubstrandColorSet_Object_BuiltJsonSerializable: function _StrandOrSubstrandColorSet_Object_BuiltJsonSerializable() { + }, + _StrandOrSubstrandColorSet_Object_BuiltJsonSerializable_UndoableAction: function _StrandOrSubstrandColorSet_Object_BuiltJsonSerializable_UndoableAction() { + }, + _StrandPasteKeepColorSet_Object_BuiltJsonSerializable: function _StrandPasteKeepColorSet_Object_BuiltJsonSerializable() { + }, + _StrandsMoveAdjustAddress_Object_BuiltJsonSerializable: function _StrandsMoveAdjustAddress_Object_BuiltJsonSerializable() { + }, + _StrandsMoveCommit_Object_BuiltJsonSerializable: function _StrandsMoveCommit_Object_BuiltJsonSerializable() { + }, + _StrandsMoveCommit_Object_BuiltJsonSerializable_UndoableAction: function _StrandsMoveCommit_Object_BuiltJsonSerializable_UndoableAction() { + }, + _StrandsMoveStart_Object_BuiltJsonSerializable: function _StrandsMoveStart_Object_BuiltJsonSerializable() { + }, + _StrandsMoveStartSelectedStrands_Object_BuiltJsonSerializable: function _StrandsMoveStartSelectedStrands_Object_BuiltJsonSerializable() { + }, + _StrandsMoveStop_Object_BuiltJsonSerializable: function _StrandsMoveStop_Object_BuiltJsonSerializable() { + }, + _StrandsReflect_Object_BuiltJsonSerializable: function _StrandsReflect_Object_BuiltJsonSerializable() { + }, + _SubstrandLabelSet_Object_BuiltJsonSerializable: function _SubstrandLabelSet_Object_BuiltJsonSerializable() { + }, + _SubstrandLabelSet_Object_BuiltJsonSerializable_UndoableAction: function _SubstrandLabelSet_Object_BuiltJsonSerializable_UndoableAction() { + }, + _SubstrandNameSet_Object_BuiltJsonSerializable: function _SubstrandNameSet_Object_BuiltJsonSerializable() { + }, + _SubstrandNameSet_Object_BuiltJsonSerializable_UndoableAction: function _SubstrandNameSet_Object_BuiltJsonSerializable_UndoableAction() { + }, + _ThrottledActionFast_Object_BuiltJsonSerializable: function _ThrottledActionFast_Object_BuiltJsonSerializable() { + }, + _ThrottledActionNonFast_Object_BuiltJsonSerializable: function _ThrottledActionNonFast_Object_BuiltJsonSerializable() { + }, + _Undo_Object_BuiltJsonSerializable: function _Undo_Object_BuiltJsonSerializable() { + }, + _Undo_Object_BuiltJsonSerializable_DesignChangingAction: function _Undo_Object_BuiltJsonSerializable_DesignChangingAction() { + }, + _UndoRedoClear_Object_BuiltJsonSerializable: function _UndoRedoClear_Object_BuiltJsonSerializable() { + }, + _VendorFieldsRemove_Object_BuiltJsonSerializable: function _VendorFieldsRemove_Object_BuiltJsonSerializable() { + }, + _VendorFieldsRemove_Object_BuiltJsonSerializable_UndoableAction: function _VendorFieldsRemove_Object_BuiltJsonSerializable_UndoableAction() { + }, + _WarnOnExitIfUnsavedSet_Object_BuiltJsonSerializable: function _WarnOnExitIfUnsavedSet_Object_BuiltJsonSerializable() { + }, + _ZoomSpeedSet_Object_BuiltJsonSerializable: function _ZoomSpeedSet_Object_BuiltJsonSerializable() { + }, + app_state_reducer: function(state, action) { + var t1, modify_undo_redo_stacks, state0, t2, _box_0 = {}; + _box_0.state = state; + _box_0.action = action; + if (action instanceof U.SkipUndo) { + t1 = _box_0.action = action.undoable_action; + modify_undo_redo_stacks = false; + } else { + t1 = action; + modify_undo_redo_stacks = true; + } + if (t1 instanceof U.LoadDNAFile) + return S.load_dna_file_reducer(state, t1); + state0 = _box_0.state = $.$get$undo_redo_reducer().call$2(state, t1); + t1 = modify_undo_redo_stacks ? _box_0.state = $.$get$undoable_action_reducer().call$2(state0, t1) : state0; + state0 = t1.rebuild$1(new U.app_state_reducer_closure(_box_0)); + _box_0.state = state0; + _box_0.state = state0.rebuild$1(new U.app_state_reducer_closure0(_box_0, state)); + t1 = _box_0.action; + if (t1 instanceof U.BatchAction) + for (t1 = J.get$iterator$ax(t1.actions._list); t1.moveNext$0();) { + t2 = t1.get$current(t1); + _box_0.state = U.app_state_reducer(_box_0.state, U.SkipUndo_SkipUndo(t2)); + } + t1 = _box_0.state; + if (t1 == null) + throw H.wrapException(P.ArgumentError$("reducer returned a null state, which is disallowed")); + return t1; + }, + error_message_reducer: function(error_message, action) { + H._asStringS(error_message); + return type$.legacy_ErrorMessageSet._as(action).error_message; + }, + app_state_reducer_closure: function app_state_reducer_closure(t0) { + this._box_0 = t0; + }, + app_state_reducer_closure0: function app_state_reducer_closure0(t0, t1) { + this._box_0 = t0; + this.original_state = t1; + }, + design_global_reducer: function(design, state, action) { + design = U.design_composed_global_reducer(design, state, action); + return $.$get$design_whole_global_reducer().call$3(design, state, action); + }, + design_composed_local_reducer: function(design, action) { + var t1 = design.rebuild$1(new U.design_composed_local_reducer_closure(design, action)); + return t1; + }, + design_composed_global_reducer: function(design, state, action) { + return design == null ? null : design.rebuild$1(new U.design_composed_global_reducer_closure(design, state, action)); + }, + design_error_message_set_reducer: function(design, action) { + var t1; + type$.legacy_Design._as(design); + t1 = type$.legacy_ErrorMessageSet._as(action).error_message; + return t1.length === 0 ? design : null; + }, + design_geometry_set_reducer: function(design, state, action) { + var t1, t2, t3, new_helices, t4, t5, t6, t7, t8, t9; + type$.legacy_Design._as(design); + type$.legacy_AppState._as(state); + type$.legacy_GeometrySet._as(action); + t1 = design.helices; + t2 = t1._map$_map; + t3 = H._instanceType(t1); + t3 = t3._eval$1("@<1>")._bind$1(t3._rest[1]); + new_helices = new S.CopyOnWriteMap(t1._mapFactory, t2, t3._eval$1("CopyOnWriteMap<1,2>")); + for (t1 = J.get$iterator$ax(J.get$keys$x(t2)), t2 = t3._rest[0], t3 = t3._rest[1], t4 = type$.legacy_void_Function_legacy_HelixBuilder, t5 = type$.legacy_Helix; t1.moveNext$0();) { + t6 = t1.get$current(t1); + t7 = J.$index$asx(new_helices._copy_on_write_map$_map, t6); + t7.toString; + t8 = t4._as(new U.design_geometry_set_reducer_closure(action)); + t9 = new O.HelixBuilder(); + t9.get$_helix$_$this()._group = "default_group"; + t9.get$_helix$_$this()._min_offset = 0; + t9.get$_helix$_$this()._roll = 0; + t5._as(t7); + t9._helix$_$v = t7; + t8.call$1(t9); + t7 = t9.build$0(); + t2._as(t6); + t3._as(t7); + new_helices._maybeCopyBeforeWrite$0(); + J.$indexSet$ax(new_helices._copy_on_write_map$_map, t6, t7); + } + return design.rebuild$1(new U.design_geometry_set_reducer_closure0(new_helices, action)); + }, + new_design_set_reducer: function(design, action) { + type$.legacy_Design._as(design); + return type$.legacy_NewDesignSet._as(action).design; + }, + design_composed_local_reducer_closure: function design_composed_local_reducer_closure(t0, t1) { + this.design = t0; + this.action = t1; + }, + design_composed_global_reducer_closure: function design_composed_global_reducer_closure(t0, t1, t2) { + this.design = t0; + this.state = t1; + this.action = t2; + }, + design_geometry_set_reducer_closure: function design_geometry_set_reducer_closure(t0) { + this.action = t0; + }, + design_geometry_set_reducer_closure0: function design_geometry_set_reducer_closure0(t0, t1) { + this.new_helices = t0; + this.action = t1; + }, + mouseover_data_clear_reducer: function(_, action) { + type$.legacy_MouseoverDataClear._as(action); + return D.BuiltList_BuiltList$from(C.List_empty, type$.legacy_MouseoverData); + }, + mouseover_data_update_reducer: function(_, state, action) { + type$.legacy_AppState._as(state); + type$.legacy_MouseoverDataUpdate._as(action); + return D.BuiltList_BuiltList$of(K.MouseoverData_from_params(state.design, action.mouseover_params), type$.legacy_MouseoverData); + }, + helix_rotation_set_at_other_mouseover_reducer: function(mouseover_datas, state, action) { + var t1, t2, t3, t4, helix, helix_other, geometry; + type$.legacy_BuiltList_legacy_MouseoverData._as(mouseover_datas); + type$.legacy_AppState._as(state); + type$.legacy_HelixRollSetAtOther._as(action); + t1 = state.design; + t2 = t1.helices; + t3 = action.helix_idx; + t2 = t2._map$_map; + t4 = J.getInterceptor$asx(t2); + helix = t4.$index(t2, t3); + helix_other = t4.$index(t2, action.helix_other_idx); + geometry = t1.geometry; + return U._update_mouseover_datas_with_helix_rotation(t3, state, mouseover_datas, E.rotation_between_helices(helix, helix_other, action.forward, geometry), action.anchor); + }, + _update_mouseover_datas_with_helix_rotation: function(helix_idx, model, mouseover_datas, rotation, rotation_anchor) { + var mouseover_datas_builder, t2, t3, t4, t5, t6, i, t7, mouseover_data, t8, + t1 = model.design, + old_helix = J.$index$asx(t1.helices._map$_map, helix_idx), + old_rotation_at_rotation_anchor = t1.helix_rotation_forward$2(old_helix.idx, rotation_anchor), + new_helix = old_helix.rebuild$1(new U._update_mouseover_datas_with_helix_rotation_closure(C.JSNumber_methods.$mod(old_helix.roll + (rotation - old_rotation_at_rotation_anchor), 360))); + mouseover_datas.toString; + mouseover_datas_builder = D.ListBuilder_ListBuilder(mouseover_datas, mouseover_datas.$ti._precomputed1); + t1 = mouseover_datas._list; + t2 = J.getInterceptor$asx(t1); + t3 = mouseover_datas_builder.$ti; + t4 = t3._precomputed1; + t5 = type$.legacy_void_Function_legacy_MouseoverDataBuilder; + t6 = !t4._is(null); + t3 = t3._eval$1("List<1>"); + i = 0; + while (true) { + t7 = t2.get$length(t1); + if (typeof t7 !== "number") + return H.iae(t7); + if (!(i < t7)) + break; + mouseover_data = t2.$index(t1, i); + if (mouseover_data.helix.idx === helix_idx) { + t7 = t5._as(new U._update_mouseover_datas_with_helix_rotation_closure0(new_helix)); + t8 = new K.MouseoverDataBuilder(); + t8._mouseover_data$_$v = mouseover_data; + t7.call$1(t8); + t7 = t4._as(t8.build$0()); + if (!$.$get$isSoundMode() && t6) + if (t7 == null) + H.throwExpression(P.ArgumentError$("null element")); + if (mouseover_datas_builder._listOwner != null) { + t8 = mouseover_datas_builder.__ListBuilder__list; + mouseover_datas_builder.set$__ListBuilder__list(t3._as(P.List_List$from(t8 === $ ? H.throwExpression(H.LateError$fieldNI("_list")) : t8, true, t4))); + mouseover_datas_builder.set$_listOwner(null); + } + t8 = mouseover_datas_builder.__ListBuilder__list; + J.$indexSet$ax(t8 === $ ? H.throwExpression(H.LateError$fieldNI("_list")) : t8, i, t7); + } + ++i; + } + return mouseover_datas_builder.build$0(); + }, + _update_mouseover_datas_with_helix_rotation_closure: function _update_mouseover_datas_with_helix_rotation_closure(t0) { + this.new_roll = t0; + }, + _update_mouseover_datas_with_helix_rotation_closure0: function _update_mouseover_datas_with_helix_rotation_closure0(t0) { + this.new_helix = t0; + }, + StrandCreation_StrandCreation: function(color, $forward, helix, original_offset) { + var t1 = new U.StrandCreationBuilder(); + type$.legacy_void_Function_legacy_StrandCreationBuilder._as(new U.StrandCreation_StrandCreation_closure(helix, $forward, original_offset, color)).call$1(t1); + return t1.build$0(); + }, + StrandCreation: function StrandCreation() { + }, + StrandCreation_StrandCreation_closure: function StrandCreation_StrandCreation_closure(t0, t1, t2, t3) { + var _ = this; + _.helix = t0; + _.forward = t1; + _.original_offset = t2; + _.color = t3; + }, + _$StrandCreationSerializer: function _$StrandCreationSerializer() { + }, + _$StrandCreation: function _$StrandCreation(t0, t1, t2, t3, t4) { + var _ = this; + _.helix = t0; + _.forward = t1; + _.original_offset = t2; + _.current_offset = t3; + _.color = t4; + _._strand_creation$__hashCode = null; + }, + StrandCreationBuilder: function StrandCreationBuilder() { + var _ = this; + _._color = _._current_offset = _._original_offset = _._forward = _._helix = _._strand_creation$_$v = null; + }, + _StrandCreation_Object_BuiltJsonSerializable: function _StrandCreation_Object_BuiltJsonSerializable() { + }, + StrandsMove_StrandsMove: function(all_strands, copy, groups, helices, keep_color, original_address, original_helices_view_order_inverse, strands_moving) { + var strands_fixed, t1, t2, t3; + if (copy) + strands_fixed = all_strands; + else { + t1 = H.setRuntimeTypeInfo([], type$.JSArray_legacy_Strand); + for (t2 = J.get$iterator$ax(all_strands._list); t2.moveNext$0();) { + t3 = t2.get$current(t2); + if (!J.contains$1$asx(strands_moving._list, t3)) + t1.push(t3); + } + strands_fixed = t1; + copy = false; + } + if (original_helices_view_order_inverse == null) + throw H.wrapException(P.ArgumentError$("original_helices_view_order_inverse must be specified")); + t1 = new U.StrandsMoveBuilder(); + type$.legacy_void_Function_legacy_StrandsMoveBuilder._as(new U.StrandsMove_StrandsMove_closure(strands_moving, strands_fixed, helices, groups, original_helices_view_order_inverse, original_address, copy, keep_color)).call$1(t1); + return t1.build$0(); + }, + StrandsMove: function StrandsMove() { + }, + StrandsMove_StrandsMove_closure: function StrandsMove_StrandsMove_closure(t0, t1, t2, t3, t4, t5, t6, t7) { + var _ = this; + _.strands_moving = t0; + _.strands_fixed = t1; + _.helices = t2; + _.groups = t3; + _.original_helices_view_order_inverse = t4; + _.original_address = t5; + _.copy = t6; + _.keep_color = t7; + }, + _$StrandsMoveSerializer: function _$StrandsMoveSerializer() { + }, + _$StrandsMove: function _$StrandsMove(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9) { + var _ = this; + _.strands_moving = t0; + _.strands_fixed = t1; + _.helices = t2; + _.groups = t3; + _.original_helices_view_order_inverse = t4; + _.original_address = t5; + _.current_address = t6; + _.allowable = t7; + _.copy = t8; + _.keep_color = t9; + _._strands_move$__hashCode = null; + }, + StrandsMoveBuilder: function StrandsMoveBuilder() { + var _ = this; + _._strands_move$_keep_color = _._strands_move$_copy = _._strands_move$_allowable = _._strands_move$_current_address = _._strands_move$_original_address = _._strands_move$_original_helices_view_order_inverse = _._strands_move$_groups = _._strands_move$_helices = _._strands_fixed = _._strands_moving = _._strands_move$_$v = null; + }, + _StrandsMove_Object_BuiltJsonSerializable: function _StrandsMove_Object_BuiltJsonSerializable() { + }, + UnusedFields: function UnusedFields() { + }, + copy_selected_strands: function() { + var t1 = $.app.store; + t1 = t1.get$state(t1).ui_state.selectables_store.get$selected_strands()._set; + if (t1.get$isEmpty(t1)) + return; + t1 = $.app; + type$.legacy_void_Function_legacy_CopySelectedStrandsBuilder._as(null); + t1.dispatch$1(new U.CopySelectedStrandsBuilder().build$0()); + }, + paste_strands_manually: function() { + $.$get$clipboard().read$0(0).then$1$1(0, new U.paste_strands_manually_closure(), type$.Null); + }, + paste_strands_auto: function() { + $.$get$clipboard().read$0(0).then$1$1(0, new U.paste_strands_auto_closure(), type$.Null); + }, + main_view_pointer_up: function($event) { + var t1, dna_ends_move, extensions_move, helix_group_move, strands_move, domains_move, strand_creation, t2, t3, t4, t5; + type$.legacy_MouseEvent._as($event); + t1 = $.app.store; + if (t1.get$state(t1).ui_state.slice_bar_is_moving) { + t1 = $.app; + type$.legacy_void_Function_legacy_SliceBarMoveStopBuilder._as(null); + t1.dispatch$1(new U.SliceBarMoveStopBuilder().build$0()); + } + t1 = $.app; + dna_ends_move = t1.store_dna_ends_move._state; + if (dna_ends_move != null) { + t1.dispatch$1(new U._$DNAEndsMoveStop()); + if (dna_ends_move.get$is_nontrivial()) + $.app.dispatch$1(U._$DNAEndsMoveCommit$_(dna_ends_move)); + } + t1 = $.app; + extensions_move = t1.store_extensions_move._state; + if (extensions_move != null) { + t1.dispatch$1(new U._$DNAExtensionsMoveStop()); + if (!extensions_move.start_point.$eq(0, extensions_move.current_point)) + $.app.dispatch$1(U._$DNAExtensionsMoveCommit$_(extensions_move)); + } + t1 = $.app; + helix_group_move = t1.store_helix_group_move._state; + if (helix_group_move != null) { + t1.dispatch$1(U._$HelixGroupMoveStop__$HelixGroupMoveStop()); + t1 = helix_group_move.__is_nontrivial; + if (t1 == null ? helix_group_move.__is_nontrivial = G.HelixGroupMove.prototype.get$is_nontrivial.call(helix_group_move) : t1) + $.app.dispatch$1(U._$HelixGroupMoveCommit$_(helix_group_move)); + } + t1 = $.app.store; + strands_move = t1.get$state(t1).ui_state.strands_move; + if (strands_move != null) { + $.app.dispatch$1(U._$StrandsMoveStop__$StrandsMoveStop()); + if (strands_move.allowable) + t1 = !strands_move.original_address.$eq(0, strands_move.current_address) || strands_move.copy; + else + t1 = false; + if (t1) + $.app.dispatch$1(U._$StrandsMoveCommit$_(false, strands_move)); + } + t1 = $.app.store; + domains_move = t1.get$state(t1).ui_state.domains_move; + if (domains_move != null) { + $.app.dispatch$1(U._$DomainsMoveStop__$DomainsMoveStop()); + if (domains_move.allowable && !domains_move.original_address.$eq(0, domains_move.current_address)) + $.app.dispatch$1(U._$DomainsMoveCommit$_(domains_move)); + } + t1 = $.app.store; + strand_creation = t1.get$state(t1).ui_state.strand_creation; + if (strand_creation != null) { + $.app.dispatch$1(U._$StrandCreateStop__$StrandCreateStop()); + if (strand_creation.original_offset !== strand_creation.current_offset) { + t1 = $.app; + t2 = strand_creation.helix.idx; + t3 = strand_creation.forward; + t4 = strand_creation.get$start(strand_creation); + t5 = strand_creation.get$end(strand_creation); + t1.dispatch$1(U._$StrandCreateCommit$_(strand_creation.color, t5, t3, t2, t4)); + } + } + }, + DraggableComponent: function DraggableComponent(t0) { + this._design$_name = t0; + }, + DesignViewComponent: function DesignViewComponent(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13) { + var _ = this; + _.root_element = t0; + _.design_above_footer_pane = t1; + _.footer_separator = t2; + _.footer_element = t3; + _.modes_element = t4; + _.error_message_pane = t5; + _.side_view_menu = t6; + _.context_menu_container = t7; + _.dialog_form_container = t8; + _.dialog_loading_container = t9; + _.strand_color_picker_container = t10; + _.main_pane = _.side_pane = _.error_message_component = _.main_view_svg = _.side_view_svg = null; + _.svg_panzoom_has_been_set_up = false; + _.side_view_mouse_position = t11; + _.main_view_mouse_position = t12; + _.draggables = t13; + }, + DesignViewComponent_handle_keyboard_mouse_events_closure: function DesignViewComponent_handle_keyboard_mouse_events_closure() { + }, + DesignViewComponent_handle_keyboard_mouse_events_closure0: function DesignViewComponent_handle_keyboard_mouse_events_closure0(t0) { + this.$this = t0; + }, + DesignViewComponent_handle_keyboard_mouse_events_closure1: function DesignViewComponent_handle_keyboard_mouse_events_closure1(t0) { + this.$this = t0; + }, + DesignViewComponent_handle_keyboard_mouse_events_closure2: function DesignViewComponent_handle_keyboard_mouse_events_closure2() { + }, + DesignViewComponent_handle_keyboard_mouse_events_closure3: function DesignViewComponent_handle_keyboard_mouse_events_closure3(t0) { + this.$this = t0; + }, + DesignViewComponent_handle_keyboard_mouse_events_closure4: function DesignViewComponent_handle_keyboard_mouse_events_closure4(t0) { + this.$this = t0; + }, + DesignViewComponent_handle_keyboard_mouse_events_end_select_mode: function DesignViewComponent_handle_keyboard_mouse_events_end_select_mode(t0) { + this.$this = t0; + }, + DesignViewComponent_handle_keyboard_mouse_events_closure5: function DesignViewComponent_handle_keyboard_mouse_events_closure5(t0) { + this.end_select_mode = t0; + }, + DesignViewComponent_handle_keyboard_mouse_events_closure6: function DesignViewComponent_handle_keyboard_mouse_events_closure6(t0) { + this.end_select_mode = t0; + }, + DesignViewComponent_handle_keyboard_mouse_events_closure7: function DesignViewComponent_handle_keyboard_mouse_events_closure7(t0, t1) { + this.is_main_view = t0; + this.svg_elt = t1; + }, + DesignViewComponent_handle_keyboard_mouse_events_closure8: function DesignViewComponent_handle_keyboard_mouse_events_closure8(t0) { + this.svg_elt = t0; + }, + DesignViewComponent_install_draggable_closure: function DesignViewComponent_install_draggable_closure(t0, t1, t2) { + this.$this = t0; + this.view_svg = t1; + this.is_main_view = t2; + }, + DesignViewComponent_install_draggable_closure0: function DesignViewComponent_install_draggable_closure0(t0, t1, t2) { + this.$this = t0; + this.view_svg = t1; + this.is_main_view = t2; + }, + DesignViewComponent_install_draggable_closure1: function DesignViewComponent_install_draggable_closure1(t0, t1, t2) { + this.$this = t0; + this.view_svg = t1; + this.is_main_view = t2; + }, + paste_strands_manually_closure: function paste_strands_manually_closure() { + }, + paste_strands_auto_closure: function paste_strands_auto_closure() { + }, + _$DesignMainDNASequence: function(backingProps) { + type$.legacy_Map_dynamic_dynamic._as(backingProps); + return backingProps == null ? U._$$DesignMainDNASequenceProps$JsMap$(new L.JsBackedMap({})) : U._$$DesignMainDNASequenceProps__$$DesignMainDNASequenceProps(backingProps); + }, + _$$DesignMainDNASequenceProps__$$DesignMainDNASequenceProps: function(backingMap) { + var t1, _null = null; + if (backingMap instanceof L.JsBackedMap) + return U._$$DesignMainDNASequenceProps$JsMap$(backingMap); + else { + t1 = type$.dynamic; + t1 = new U._$$DesignMainDNASequenceProps$PlainMap(P.LinkedHashMap_LinkedHashMap$_empty(t1, t1), _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null); + t1.get$$$isClassGenerated(); + t1._design_main_dna_sequence$_props = backingMap; + return t1; + } + }, + _$$DesignMainDNASequenceProps$JsMap$: function(backingMap) { + var _null = null, + t1 = new U._$$DesignMainDNASequenceProps$JsMap(new L.JsBackedMap({}), _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null); + t1.get$$$isClassGenerated(); + t1._design_main_dna_sequence$_props = backingMap == null ? new L.JsBackedMap({}) : backingMap; + return t1; + }, + DesignMainDNASequencePropsMixin: function DesignMainDNASequencePropsMixin() { + }, + DesignMainDNASequenceComponent: function DesignMainDNASequenceComponent() { + }, + $DesignMainDNASequenceComponentFactory_closure: function $DesignMainDNASequenceComponentFactory_closure() { + }, + _$$DesignMainDNASequenceProps: function _$$DesignMainDNASequenceProps() { + }, + _$$DesignMainDNASequenceProps$PlainMap: function _$$DesignMainDNASequenceProps$PlainMap(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13) { + var _ = this; + _._design_main_dna_sequence$_props = t0; + _.TransformByHelixGroupPropsMixin_helices = t1; + _.TransformByHelixGroupPropsMixin_groups = t2; + _.TransformByHelixGroupPropsMixin_geometry = t3; + _.DesignMainDNASequencePropsMixin_strand = t4; + _.DesignMainDNASequencePropsMixin_side_selected_helix_idxs = t5; + _.DesignMainDNASequencePropsMixin_only_display_selected_helices = t6; + _.DesignMainDNASequencePropsMixin_display_reverse_DNA_right_side_up = t7; + _.DesignMainDNASequencePropsMixin_helices = t8; + _.DesignMainDNASequencePropsMixin_groups = t9; + _.DesignMainDNASequencePropsMixin_geometry = t10; + _.DesignMainDNASequencePropsMixin_helix_idx_to_svg_position_map = t11; + _.componentFactory = null; + _.UbiquitousDomPropsMixin__aria = t12; + _.UbiquitousDomPropsMixin__dom = t13; + }, + _$$DesignMainDNASequenceProps$JsMap: function _$$DesignMainDNASequenceProps$JsMap(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13) { + var _ = this; + _._design_main_dna_sequence$_props = t0; + _.TransformByHelixGroupPropsMixin_helices = t1; + _.TransformByHelixGroupPropsMixin_groups = t2; + _.TransformByHelixGroupPropsMixin_geometry = t3; + _.DesignMainDNASequencePropsMixin_strand = t4; + _.DesignMainDNASequencePropsMixin_side_selected_helix_idxs = t5; + _.DesignMainDNASequencePropsMixin_only_display_selected_helices = t6; + _.DesignMainDNASequencePropsMixin_display_reverse_DNA_right_side_up = t7; + _.DesignMainDNASequencePropsMixin_helices = t8; + _.DesignMainDNASequencePropsMixin_groups = t9; + _.DesignMainDNASequencePropsMixin_geometry = t10; + _.DesignMainDNASequencePropsMixin_helix_idx_to_svg_position_map = t11; + _.componentFactory = null; + _.UbiquitousDomPropsMixin__aria = t12; + _.UbiquitousDomPropsMixin__dom = t13; + }, + _$DesignMainDNASequenceComponent: function _$DesignMainDNASequenceComponent(t0) { + var _ = this; + _._design_main_dna_sequence$_cachedTypedProps = null; + _.DisposableManagerProxy__disposableProxy = t0; + _.jsThis = _.state = _.props = null; + }, + $DesignMainDNASequencePropsMixin: function $DesignMainDNASequencePropsMixin() { + }, + _DesignMainDNASequenceComponent_UiComponent2_PureComponent: function _DesignMainDNASequenceComponent_UiComponent2_PureComponent() { + }, + _DesignMainDNASequenceComponent_UiComponent2_PureComponent_TransformByHelixGroup: function _DesignMainDNASequenceComponent_UiComponent2_PureComponent_TransformByHelixGroup() { + }, + __$$DesignMainDNASequenceProps_UiProps_DesignMainDNASequencePropsMixin: function __$$DesignMainDNASequenceProps_UiProps_DesignMainDNASequencePropsMixin() { + }, + __$$DesignMainDNASequenceProps_UiProps_DesignMainDNASequencePropsMixin_$DesignMainDNASequencePropsMixin: function __$$DesignMainDNASequenceProps_UiProps_DesignMainDNASequencePropsMixin_$DesignMainDNASequencePropsMixin() { + }, + __$$DesignMainDNASequenceProps_UiProps_DesignMainDNASequencePropsMixin_$DesignMainDNASequencePropsMixin_TransformByHelixGroupPropsMixin: function __$$DesignMainDNASequenceProps_UiProps_DesignMainDNASequencePropsMixin_$DesignMainDNASequencePropsMixin_TransformByHelixGroupPropsMixin() { + }, + __$$DesignMainDNASequenceProps_UiProps_DesignMainDNASequencePropsMixin_$DesignMainDNASequencePropsMixin_TransformByHelixGroupPropsMixin_$TransformByHelixGroupPropsMixin: function __$$DesignMainDNASequenceProps_UiProps_DesignMainDNASequencePropsMixin_$DesignMainDNASequencePropsMixin_TransformByHelixGroupPropsMixin_$TransformByHelixGroupPropsMixin() { + }, + _$DesignSide: function(backingProps) { + type$.legacy_Map_dynamic_dynamic._as(backingProps); + return backingProps == null ? U._$$DesignSideProps$JsMap$(new L.JsBackedMap({})) : U._$$DesignSideProps__$$DesignSideProps(backingProps); + }, + _$$DesignSideProps__$$DesignSideProps: function(backingMap) { + var t1, _null = null; + if (backingMap instanceof L.JsBackedMap) + return U._$$DesignSideProps$JsMap$(backingMap); + else { + t1 = type$.dynamic; + t1 = new U._$$DesignSideProps$PlainMap(P.LinkedHashMap_LinkedHashMap$_empty(t1, t1), _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null); + t1.get$$$isClassGenerated(); + t1._design_side$_props = backingMap; + return t1; + } + }, + _$$DesignSideProps$JsMap$: function(backingMap) { + var _null = null, + t1 = new U._$$DesignSideProps$JsMap(new L.JsBackedMap({}), _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null); + t1.get$$$isClassGenerated(); + t1._design_side$_props = backingMap == null ? new L.JsBackedMap({}) : backingMap; + return t1; + }, + ConnectedDesignSide_closure: function ConnectedDesignSide_closure() { + }, + DesignSideProps: function DesignSideProps() { + }, + DesignSideComponent: function DesignSideComponent() { + }, + DesignSideComponent_render_closure: function DesignSideComponent_render_closure() { + }, + $DesignSideComponentFactory_closure: function $DesignSideComponentFactory_closure() { + }, + _$$DesignSideProps: function _$$DesignSideProps() { + }, + _$$DesignSideProps$PlainMap: function _$$DesignSideProps$PlainMap(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14) { + var _ = this; + _._design_side$_props = t0; + _.DesignSideProps_helices = t1; + _.DesignSideProps_helix_idxs_selected = t2; + _.DesignSideProps_rotation_datas = t3; + _.DesignSideProps_edit_modes = t4; + _.DesignSideProps_geometry = t5; + _.DesignSideProps_slice_bar_offset = t6; + _.DesignSideProps_mouse_svg_pos = t7; + _.DesignSideProps_grid_position_mouse_cursor = t8; + _.DesignSideProps_invert_y = t9; + _.DesignSideProps_helix_change_apply_to_all = t10; + _.DesignSideProps_show_grid_coordinates = t11; + _.DesignSideProps_displayed_group = t12; + _.componentFactory = null; + _.UbiquitousDomPropsMixin__aria = t13; + _.UbiquitousDomPropsMixin__dom = t14; + }, + _$$DesignSideProps$JsMap: function _$$DesignSideProps$JsMap(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14) { + var _ = this; + _._design_side$_props = t0; + _.DesignSideProps_helices = t1; + _.DesignSideProps_helix_idxs_selected = t2; + _.DesignSideProps_rotation_datas = t3; + _.DesignSideProps_edit_modes = t4; + _.DesignSideProps_geometry = t5; + _.DesignSideProps_slice_bar_offset = t6; + _.DesignSideProps_mouse_svg_pos = t7; + _.DesignSideProps_grid_position_mouse_cursor = t8; + _.DesignSideProps_invert_y = t9; + _.DesignSideProps_helix_change_apply_to_all = t10; + _.DesignSideProps_show_grid_coordinates = t11; + _.DesignSideProps_displayed_group = t12; + _.componentFactory = null; + _.UbiquitousDomPropsMixin__aria = t13; + _.UbiquitousDomPropsMixin__dom = t14; + }, + _$DesignSideComponent: function _$DesignSideComponent(t0) { + var _ = this; + _._design_side$_cachedTypedProps = null; + _.DisposableManagerProxy__disposableProxy = t0; + _.jsThis = _.state = _.props = null; + }, + $DesignSideProps: function $DesignSideProps() { + }, + _DesignSideComponent_UiComponent2_PureComponent: function _DesignSideComponent_UiComponent2_PureComponent() { + }, + __$$DesignSideProps_UiProps_DesignSideProps: function __$$DesignSideProps_UiProps_DesignSideProps() { + }, + __$$DesignSideProps_UiProps_DesignSideProps_$DesignSideProps: function __$$DesignSideProps_UiProps_DesignSideProps_$DesignSideProps() { + }, + Highlighter$: function(span, color) { + var t1 = U.Highlighter__collateLines(H.setRuntimeTypeInfo([U._Highlight$(span, true)], type$.JSArray__Highlight)), + t2 = new U.Highlighter_closure(color).call$0(), + t3 = C.JSInt_methods.toString$0(C.JSArray_methods.get$last(t1).number + 1), + t4 = U.Highlighter__contiguous(t1) ? 0 : 3, + t5 = H._arrayInstanceType(t1); + return new U.Highlighter(t1, t2, null, 1 + Math.max(t3.length, t4), new H.MappedListIterable(t1, t5._eval$1("int(1)")._as(new U.Highlighter$__closure()), t5._eval$1("MappedListIterable<1,int>")).reduce$1(0, C.CONSTANT), !B.isAllTheSame(new H.MappedListIterable(t1, t5._eval$1("Object?(1)")._as(new U.Highlighter$__closure0()), t5._eval$1("MappedListIterable<1,Object?>"))), new P.StringBuffer("")); + }, + Highlighter__contiguous: function(lines) { + var i, thisLine, nextLine; + for (i = 0; i < lines.length - 1;) { + thisLine = lines[i]; + ++i; + nextLine = lines[i]; + if (thisLine.number + 1 !== nextLine.number && J.$eq$(thisLine.url, nextLine.url)) + return false; + } + return true; + }, + Highlighter__collateLines: function(highlights) { + var t1, t2, t3, + highlightsByUrl = Y.groupBy(highlights, new U.Highlighter__collateLines_closure(), type$._Highlight, type$.nullable_Uri); + for (t1 = highlightsByUrl.get$values(highlightsByUrl), t1 = t1.get$iterator(t1); t1.moveNext$0();) + J.sort$1$ax(t1.get$current(t1), new U.Highlighter__collateLines_closure0()); + t1 = highlightsByUrl.get$values(highlightsByUrl); + t2 = H._instanceType(t1); + t3 = t2._eval$1("ExpandIterable"); + return P.List_List$of(new H.ExpandIterable(t1, t2._eval$1("Iterable<_Line>(Iterable.E)")._as(new U.Highlighter__collateLines_closure1()), t3), true, t3._eval$1("Iterable.E")); + }, + _Highlight$: function(span, primary) { + return new U._Highlight(new U._Highlight_closure(span).call$0(), true); + }, + _Highlight__normalizeNewlines: function(span) { + var t1, endOffset, i, t2, t3, t4, + text = span.get$text(span); + if (!C.JSString_methods.contains$1(text, "\r\n")) + return span; + t1 = span.get$end(span); + endOffset = t1.get$offset(t1); + for (t1 = text.length - 1, i = 0; i < t1; ++i) + if (C.JSString_methods._codeUnitAt$1(text, i) === 13 && C.JSString_methods._codeUnitAt$1(text, i + 1) === 10) + --endOffset; + t1 = span.get$start(span); + t2 = span.get$sourceUrl(); + t3 = span.get$end(span); + t3 = t3.get$line(t3); + t2 = V.SourceLocation$(endOffset, span.get$end(span).get$column(), t3, t2); + t3 = H.stringReplaceAllUnchecked(text, "\r\n", "\n"); + t4 = span.get$context(span); + return X.SourceSpanWithContext$(t1, t2, t3, H.stringReplaceAllUnchecked(t4, "\r\n", "\n")); + }, + _Highlight__normalizeTrailingNewline: function(span) { + var context, text, start, end, t1, t2, t3; + if (!C.JSString_methods.endsWith$1(span.get$context(span), "\n")) + return span; + if (C.JSString_methods.endsWith$1(span.get$text(span), "\n\n")) + return span; + context = C.JSString_methods.substring$2(span.get$context(span), 0, span.get$context(span).length - 1); + text = span.get$text(span); + start = span.get$start(span); + end = span.get$end(span); + if (C.JSString_methods.endsWith$1(span.get$text(span), "\n")) { + t1 = B.findLineStart(span.get$context(span), span.get$text(span), span.get$start(span).get$column()); + t1.toString; + t1 = t1 + span.get$start(span).get$column() + span.get$length(span) === span.get$context(span).length; + } else + t1 = false; + if (t1) { + text = C.JSString_methods.substring$2(span.get$text(span), 0, span.get$text(span).length - 1); + if (text.length === 0) + end = start; + else { + t1 = span.get$end(span); + t1 = t1.get$offset(t1); + t2 = span.get$sourceUrl(); + t3 = span.get$end(span); + t3 = t3.get$line(t3); + if (typeof t3 !== "number") + return t3.$sub(); + end = V.SourceLocation$(t1 - 1, U._Highlight__lastLineLength(context), t3 - 1, t2); + t1 = span.get$start(span); + t1 = t1.get$offset(t1); + t2 = span.get$end(span); + start = t1 === t2.get$offset(t2) ? end : span.get$start(span); + } + } + return X.SourceSpanWithContext$(start, end, text, context); + }, + _Highlight__normalizeEndOfLine: function(span) { + var t1, t2, text, t3, t4; + if (span.get$end(span).get$column() !== 0) + return span; + t1 = span.get$end(span); + t1 = t1.get$line(t1); + t2 = span.get$start(span); + if (t1 == t2.get$line(t2)) + return span; + text = C.JSString_methods.substring$2(span.get$text(span), 0, span.get$text(span).length - 1); + t1 = span.get$start(span); + t2 = span.get$end(span); + t2 = t2.get$offset(t2); + t3 = span.get$sourceUrl(); + t4 = span.get$end(span); + t4 = t4.get$line(t4); + if (typeof t4 !== "number") + return t4.$sub(); + t3 = V.SourceLocation$(t2 - 1, text.length - C.JSString_methods.lastIndexOf$1(text, "\n") - 1, t4 - 1, t3); + return X.SourceSpanWithContext$(t1, t3, text, C.JSString_methods.endsWith$1(span.get$context(span), "\n") ? C.JSString_methods.substring$2(span.get$context(span), 0, span.get$context(span).length - 1) : span.get$context(span)); + }, + _Highlight__lastLineLength: function(text) { + var t1 = text.length; + if (t1 === 0) + return 0; + else if (C.JSString_methods.codeUnitAt$1(text, t1 - 1) === 10) + return t1 === 1 ? 0 : t1 - C.JSString_methods.lastIndexOf$2(text, "\n", t1 - 2) - 1; + else + return t1 - C.JSString_methods.lastIndexOf$1(text, "\n") - 1; + }, + Highlighter: function Highlighter(t0, t1, t2, t3, t4, t5, t6) { + var _ = this; + _._lines = t0; + _._primaryColor = t1; + _._secondaryColor = t2; + _._paddingBeforeSidebar = t3; + _._maxMultilineSpans = t4; + _._multipleFiles = t5; + _._buffer = t6; + }, + Highlighter_closure: function Highlighter_closure(t0) { + this.color = t0; + }, + Highlighter$__closure: function Highlighter$__closure() { + }, + Highlighter$___closure: function Highlighter$___closure() { + }, + Highlighter$__closure0: function Highlighter$__closure0() { + }, + Highlighter__collateLines_closure: function Highlighter__collateLines_closure() { + }, + Highlighter__collateLines_closure0: function Highlighter__collateLines_closure0() { + }, + Highlighter__collateLines_closure1: function Highlighter__collateLines_closure1() { + }, + Highlighter__collateLines__closure: function Highlighter__collateLines__closure(t0) { + this.line = t0; + }, + Highlighter_highlight_closure: function Highlighter_highlight_closure() { + }, + Highlighter__writeFileStart_closure: function Highlighter__writeFileStart_closure(t0) { + this.$this = t0; + }, + Highlighter__writeMultilineHighlights_closure: function Highlighter__writeMultilineHighlights_closure(t0, t1, t2) { + this.$this = t0; + this.startLine = t1; + this.line = t2; + }, + Highlighter__writeMultilineHighlights_closure0: function Highlighter__writeMultilineHighlights_closure0(t0, t1) { + this.$this = t0; + this.highlight = t1; + }, + Highlighter__writeMultilineHighlights_closure1: function Highlighter__writeMultilineHighlights_closure1(t0) { + this.$this = t0; + }, + Highlighter__writeMultilineHighlights_closure2: function Highlighter__writeMultilineHighlights_closure2(t0, t1, t2, t3, t4, t5, t6) { + var _ = this; + _._box_0 = t0; + _.$this = t1; + _.current = t2; + _.startLine = t3; + _.line = t4; + _.highlight = t5; + _.endLine = t6; + }, + Highlighter__writeMultilineHighlights__closure: function Highlighter__writeMultilineHighlights__closure(t0, t1) { + this._box_0 = t0; + this.$this = t1; + }, + Highlighter__writeMultilineHighlights__closure0: function Highlighter__writeMultilineHighlights__closure0(t0, t1) { + this.$this = t0; + this.vertical = t1; + }, + Highlighter__writeHighlightedText_closure: function Highlighter__writeHighlightedText_closure(t0, t1, t2, t3) { + var _ = this; + _.$this = t0; + _.text = t1; + _.startColumn = t2; + _.endColumn = t3; + }, + Highlighter__writeIndicator_closure: function Highlighter__writeIndicator_closure(t0, t1, t2) { + this.$this = t0; + this.line = t1; + this.highlight = t2; + }, + Highlighter__writeIndicator_closure0: function Highlighter__writeIndicator_closure0(t0, t1, t2) { + this.$this = t0; + this.line = t1; + this.highlight = t2; + }, + Highlighter__writeIndicator_closure1: function Highlighter__writeIndicator_closure1(t0, t1, t2, t3) { + var _ = this; + _.$this = t0; + _.coversWholeLine = t1; + _.line = t2; + _.highlight = t3; + }, + Highlighter__writeSidebar_closure: function Highlighter__writeSidebar_closure(t0, t1, t2) { + this._box_0 = t0; + this.$this = t1; + this.end = t2; + }, + _Highlight: function _Highlight(t0, t1) { + this.span = t0; + this.isPrimary = t1; + }, + _Highlight_closure: function _Highlight_closure(t0) { + this.span = t0; + }, + _Line: function _Line(t0, t1, t2, t3) { + var _ = this; + _.text = t0; + _.number = t1; + _.url = t2; + _.highlights = t3; + }, + OdsDecoder__getRowRepeated: function(row) { + var attr = row.getAttribute$1(0, "table:number-rows-repeated"); + return attr != null ? P.int_parse(attr, null) : 1; + }, + OdsDecoder__getCellRepeated: function(cell) { + var attr = cell.getAttribute$1(0, "table:number-columns-repeated"); + return attr != null ? P.int_parse(attr, null) : 1; + }, + OdsDecoder__findRowByIndex: function(table, rowIndex) { + var row, t3, attr, repeat, _null = null, + rows = Q.filterElements(table.XmlHasChildren_children, "table:table-row", _null), + t1 = J.get$iterator$ax(rows.__internal$_iterable), + t2 = new H.WhereIterator(t1, rows._f, rows.$ti._eval$1("WhereIterator<1>")), + currentIndex = -1; + while (true) { + if (!t2.moveNext$0()) { + row = _null; + break; + } + row = t1.get$current(t1); + t3 = row.getAttributeNode$2$namespace("table:number-rows-repeated", _null); + attr = t3 == null ? _null : t3.value; + currentIndex += attr != null ? P.int_parse(attr, _null) : 1; + if (currentIndex >= rowIndex) + break; + } + if (row != null) { + repeat = U.OdsDecoder__getRowRepeated(row); + if (repeat !== 1) { + rows = U.OdsDecoder__expandRepeatedRows(table, row); + t1 = rowIndex - (currentIndex - repeat + 1); + if (t1 < 0 || t1 >= rows.length) + return H.ioore(rows, t1); + row = rows[t1]; + } + } + return row; + }, + OdsDecoder__findCellByIndex: function(row, columnIndex) { + var cell, t3, attr, repeat, _null = null, + cells = Q.filterElements(row.XmlHasChildren_children, "table:table-cell", _null), + t1 = J.get$iterator$ax(cells.__internal$_iterable), + t2 = new H.WhereIterator(t1, cells._f, cells.$ti._eval$1("WhereIterator<1>")), + currentIndex = -1; + while (true) { + if (!t2.moveNext$0()) { + cell = _null; + break; + } + cell = t1.get$current(t1); + t3 = cell.getAttributeNode$2$namespace("table:number-columns-repeated", _null); + attr = t3 == null ? _null : t3.value; + currentIndex += attr != null ? P.int_parse(attr, _null) : 1; + if (currentIndex >= columnIndex) + break; + } + if (cell != null) { + repeat = U.OdsDecoder__getCellRepeated(cell); + if (repeat !== 1) { + cells = U.OdsDecoder__expandRepeatedCells(row, cell); + t1 = columnIndex - (currentIndex - repeat + 1); + if (t1 < 0 || t1 >= cells.length) + return H.ioore(cells, t1); + cell = cells[t1]; + } + } + return cell; + }, + OdsDecoder__expandRepeatedRows: function(table, row) { + var repeat, index, rows, i, + t1 = row.getAttributeNode$1("table:number-rows-repeated"); + t1.toString; + row.XmlHasAttributes_attributes.remove$1(0, t1); + repeat = P.int_parse(t1.value, null); + t1 = table.XmlHasChildren_children; + index = C.JSArray_methods.indexOf$2(t1._wrappers$_base, t1.$ti._precomputed1._as(row), 0); + rows = H.setRuntimeTypeInfo([], type$.JSArray_XmlElement); + for (i = 0; i < repeat; ++i) + C.JSArray_methods.add$1(rows, row.copy$0()); + t1.removeAt$1(0, index); + t1.insertAll$2(0, index, rows); + return rows; + }, + OdsDecoder__expandRepeatedCells: function(row, cell) { + var repeat, index, cells, i, + t1 = cell.getAttributeNode$1("table:number-columns-repeated"); + t1.toString; + cell.XmlHasAttributes_attributes.remove$1(0, t1); + repeat = P.int_parse(t1.value, null); + t1 = row.XmlHasChildren_children; + index = C.JSArray_methods.indexOf$2(t1._wrappers$_base, t1.$ti._precomputed1._as(cell), 0); + cells = H.setRuntimeTypeInfo([], type$.JSArray_XmlElement); + for (i = 0; i < repeat; ++i) + C.JSArray_methods.add$1(cells, cell.copy$0()); + t1.removeAt$1(0, index); + t1.insertAll$2(0, index, cells); + return cells; + }, + _newSpreadsheetDecoder: function(archive, update) { + var format, t1, t2, + mimetype = archive.findFile$1("mimetype"); + if (mimetype != null) { + mimetype.decompress$0(); + format = C.C_Utf8Codec.decode$1(0, type$.List_int._as(mimetype.get$content(mimetype))) === $._spreasheetExtensionMap.$index(0, "ods") ? "ods" : null; + } else + format = archive.findFile$1("xl/workbook.xml") != null ? "xlsx" : null; + switch (format) { + case "ods": + t1 = type$.String; + t2 = new U.OdsDecoder(P.LinkedHashMap_LinkedHashMap$_empty(t1, type$.List_String)); + t2.__SpreadsheetDecoder__archive = archive; + t2.__SpreadsheetDecoder__update = true; + t2.set$__SpreadsheetDecoder__tables(type$.Map_String_SpreadsheetTable._as(P.LinkedHashMap_LinkedHashMap$_empty(t1, type$.SpreadsheetTable))); + t2._parseContent$0(); + return t2; + case "xlsx": + t1 = type$.String; + t2 = new U.XlsxDecoder(H.setRuntimeTypeInfo([], type$.JSArray_String), H.setRuntimeTypeInfo([], type$.JSArray_int), P.LinkedHashMap_LinkedHashMap$_empty(t1, t1)); + t2.__SpreadsheetDecoder__archive = archive; + t2.__SpreadsheetDecoder__update = true; + if (t2.get$_update(t2) === true) { + t2.set$__SpreadsheetDecoder__archiveFiles(type$.Map_String_ArchiveFile._as(P.LinkedHashMap_LinkedHashMap$_empty(t1, type$.ArchiveFile))); + t2.set$__SpreadsheetDecoder__sheets(type$.Map_String_XmlElement._as(P.LinkedHashMap_LinkedHashMap$_empty(t1, type$.XmlElement))); + t2.set$__SpreadsheetDecoder__xmlFiles(type$.Map_String_XmlDocument._as(P.LinkedHashMap_LinkedHashMap$_empty(t1, type$.XmlDocument))); + } + t2.set$__SpreadsheetDecoder__tables(type$.Map_String_SpreadsheetTable._as(P.LinkedHashMap_LinkedHashMap$_empty(t1, type$.SpreadsheetTable))); + t2._parseRelations$0(); + t2._parseStyles$0(); + t2._parseSharedStrings$0(); + t2._parseContent$0(); + return t2; + default: + throw H.wrapException(P.UnsupportedError$("Spreadsheet format unsupported")); + } + }, + lettersToNumeric: function(letters) { + var index, sum, mul, c, n; + for (index = letters.length - 1, sum = 0, mul = 1; index >= 0; --index) { + c = C.JSString_methods._codeUnitAt$1(letters[index], 0); + if (65 <= c && c <= 90) + n = 1 + (c - 65); + else + n = 97 <= c && c <= 122 ? 1 + (c - 97) : 1; + sum += n * mul; + mul *= 26; + } + return sum; + }, + numericToLetters: function(number) { + var letters, remainder; + for (letters = ""; number !== 0;) { + remainder = C.JSInt_methods.$mod(number, 26); + letters = H.Primitives_stringFromCharCode(65 + (remainder === 0 ? 26 : remainder) - 1) + letters; + number = C.JSInt_methods._tdivFast$1(number - 1, 26); + } + return letters; + }, + _letterOnly: function(rune) { + H._asIntS(rune); + if (typeof rune !== "number") + return H.iae(rune); + if (65 <= rune && rune <= 90) + return rune; + else if (97 <= rune && rune <= 122) + return rune - 32; + return 0; + }, + _twoDigits: function(n) { + if (n >= 10) + return "" + n; + return "0" + n; + }, + cellCoordsFromCellId: function(cellId) { + var t1, letters, t2, lettersPart, numericsPart; + cellId.toString; + t1 = type$.Runes; + letters = H.MappedIterable_MappedIterable(new P.Runes(cellId), t1._eval$1("int(Iterable.E)")._as(U.spreadsheet_decoder___letterOnly$closure()), t1._eval$1("Iterable.E"), type$.int); + t1 = H._instanceType(letters); + t2 = t1._eval$1("WhereIterable"); + lettersPart = C.C_Utf8Codec.decode$1(0, P.List_List$of(new H.WhereIterable(letters, t1._eval$1("bool(Iterable.E)")._as(new U.cellCoordsFromCellId_closure()), t2), false, t2._eval$1("Iterable.E"))); + numericsPart = C.JSString_methods.substring$1(cellId, lettersPart.length); + return [U.lettersToNumeric(lettersPart), P.int_parse(numericsPart, null)]; + }, + XlsxDecoder__getCellNumber: function(cell) { + var t1 = cell.getAttribute$1(0, "r"); + t1.toString; + return U.cellCoordsFromCellId(t1)[0]; + }, + XlsxDecoder__findRowByIndex: function(table, rowIndex) { + var row, t3, _null = null, + rows = Q.filterElements(table.XmlHasChildren_children, "row", _null), + t1 = J.get$iterator$ax(rows.__internal$_iterable), + t2 = new H.WhereIterator(t1, rows._f, rows.$ti._eval$1("WhereIterator<1>")), + currentIndex = 0; + while (true) { + if (!t2.moveNext$0()) { + row = _null; + break; + } + row = t1.get$current(t1); + t3 = row.getAttributeNode$2$namespace("r", _null); + t3 = t3 == null ? _null : t3.value; + t3.toString; + currentIndex = P.int_parse(t3, _null) - 1; + if (currentIndex >= rowIndex) + break; + } + return row == null || currentIndex !== rowIndex ? U.XlsxDecoder__insertRow(table, row, rowIndex) : row; + }, + XlsxDecoder__updateCell: function(node, columnIndex, rowIndex, value) { + var cell, t4, cell0, index, _null = null, + t1 = node.XmlHasChildren_children, + cells = Q.filterElements(t1, "c", _null), + t2 = J.get$iterator$ax(cells.__internal$_iterable), + t3 = new H.WhereIterator(t2, cells._f, cells.$ti._eval$1("WhereIterator<1>")), + currentIndex = 0; + while (true) { + if (!t3.moveNext$0()) { + cell = _null; + break; + } + cell = t2.get$current(t2); + t4 = cell.getAttributeNode$2$namespace("r", _null); + t4 = t4 == null ? _null : t4.value; + t4.toString; + currentIndex = U.cellCoordsFromCellId(t4)[0] - 1; + if (currentIndex >= columnIndex) + break; + } + t2 = cell == null; + if (t2 || currentIndex !== columnIndex) { + cell0 = U.XlsxDecoder__createCell(columnIndex, rowIndex, value); + if (t2) + t1.add$1(0, cell0); + else + t1.insert$2(0, C.JSArray_methods.indexOf$2(t1._wrappers$_base, t1.$ti._precomputed1._as(cell), 0), cell0); + cell = cell0; + } else { + index = t2 ? 0 : C.JSArray_methods.indexOf$2(t1._wrappers$_base, t1.$ti._precomputed1._as(cell), 0); + cell = U.XlsxDecoder__createCell(columnIndex, rowIndex, value); + t1.removeAt$1(0, index); + t1.insert$2(0, index, cell); + } + return cell; + }, + XlsxDecoder__insertRow: function(table, lastRow, rowIndex) { + var t1, + attributes = H.setRuntimeTypeInfo([N.XmlAttribute$(Q.XmlName_XmlName("r"), C.JSInt_methods.toString$0(rowIndex + 1), C.XmlAttributeType_1)], type$.JSArray_XmlAttribute), + row = G.XmlElement$(Q.XmlName_XmlName("row"), attributes, H.setRuntimeTypeInfo([], type$.JSArray_XmlNode), true); + if (lastRow == null) + table.XmlHasChildren_children.add$1(0, row); + else { + t1 = table.XmlHasChildren_children; + t1.insert$2(0, C.JSArray_methods.indexOf$2(t1._wrappers$_base, t1.$ti._precomputed1._as(lastRow), 0), row); + } + return row; + }, + XlsxDecoder__createCell: function(columnIndex, rowIndex, value) { + var children, t3, + t1 = type$.JSArray_XmlAttribute, + attributes = H.setRuntimeTypeInfo([N.XmlAttribute$(Q.XmlName_XmlName("r"), U.numericToLetters(columnIndex + 1) + (rowIndex + 1), C.XmlAttributeType_1), N.XmlAttribute$(Q.XmlName_XmlName("t"), "inlineStr", C.XmlAttributeType_1)], t1), + t2 = type$.JSArray_XmlElement; + if (value == null) + children = H.setRuntimeTypeInfo([], t2); + else { + t3 = type$.JSArray_XmlNode; + children = H.setRuntimeTypeInfo([G.XmlElement$(Q.XmlName_XmlName("is"), H.setRuntimeTypeInfo([], t1), H.setRuntimeTypeInfo([G.XmlElement$(Q.XmlName_XmlName("t"), H.setRuntimeTypeInfo([], t1), H.setRuntimeTypeInfo([new L.XmlText(value, null)], t3), true)], t3), true)], t2); + } + return G.XmlElement$(Q.XmlName_XmlName("c"), attributes, children, true); + }, + OdsDecoder: function OdsDecoder(t0) { + var _ = this; + _._styleNames = t0; + _.__SpreadsheetDecoder__tables = _.__SpreadsheetDecoder__archiveFiles = _.__SpreadsheetDecoder__xmlFiles = _.__SpreadsheetDecoder__sheets = _.__SpreadsheetDecoder__archive = _.__SpreadsheetDecoder__update = $; + }, + OdsDecoder__parseContent_closure: function OdsDecoder__parseContent_closure(t0) { + this.$this = t0; + }, + OdsDecoder__parseStyles_closure: function OdsDecoder__parseStyles_closure(t0) { + this.$this = t0; + }, + OdsDecoder__parseTable_closure: function OdsDecoder__parseTable_closure(t0) { + this.$this = t0; + }, + OdsDecoder__parseTable_closure0: function OdsDecoder__parseTable_closure0(t0, t1) { + this.$this = t0; + this.table = t1; + }, + OdsDecoder__parseRow_closure: function OdsDecoder__parseRow_closure(t0) { + this.$this = t0; + }, + OdsDecoder__parseRow_closure0: function OdsDecoder__parseRow_closure0(t0, t1, t2) { + this.$this = t0; + this.table = t1; + this.row = t2; + }, + OdsDecoder__readCell_closure: function OdsDecoder__readCell_closure(t0, t1) { + this.$this = t0; + this.list = t1; + }, + OdsDecoder__readString_closure: function OdsDecoder__readString_closure(t0, t1) { + this.$this = t0; + this.buffer = t1; + }, + SpreadsheetDecoder: function SpreadsheetDecoder() { + }, + SpreadsheetDecoder__cloneArchive_closure: function SpreadsheetDecoder__cloneArchive_closure(t0, t1) { + this.$this = t0; + this.clone = t1; + }, + SpreadsheetDecoder__isEmptyRow_closure: function SpreadsheetDecoder__isEmptyRow_closure() { + }, + SpreadsheetTable: function SpreadsheetTable(t0) { + this._maxCols = this._maxRows = 0; + this._spreadsheet_decoder$_rows = t0; + }, + cellCoordsFromCellId_closure: function cellCoordsFromCellId_closure() { + }, + XlsxDecoder: function XlsxDecoder(t0, t1, t2) { + var _ = this; + _._sharedStrings = t0; + _._numFormats = t1; + _._sharedStringsTarget = _._stylesTarget = null; + _._worksheetTargets = t2; + _.__SpreadsheetDecoder__tables = _.__SpreadsheetDecoder__archiveFiles = _.__SpreadsheetDecoder__xmlFiles = _.__SpreadsheetDecoder__sheets = _.__SpreadsheetDecoder__archive = _.__SpreadsheetDecoder__update = $; + }, + XlsxDecoder_insertRow_closure: function XlsxDecoder_insertRow_closure(t0) { + this.foundRow = t0; + }, + XlsxDecoder_insertRow_closure0: function XlsxDecoder_insertRow_closure0() { + }, + XlsxDecoder_insertRow__closure: function XlsxDecoder_insertRow__closure(t0) { + this.rIndex = t0; + }, + XlsxDecoder__parseRelations_closure: function XlsxDecoder__parseRelations_closure(t0) { + this.$this = t0; + }, + XlsxDecoder__parseStyles_closure: function XlsxDecoder__parseStyles_closure(t0) { + this.$this = t0; + }, + XlsxDecoder__parseSharedStrings_closure: function XlsxDecoder__parseSharedStrings_closure(t0) { + this.$this = t0; + }, + XlsxDecoder__parseSharedString_closure: function XlsxDecoder__parseSharedString_closure(t0, t1) { + this.$this = t0; + this.list = t1; + }, + XlsxDecoder__parseContent_closure: function XlsxDecoder__parseContent_closure(t0) { + this.$this = t0; + }, + XlsxDecoder__parseTable_closure: function XlsxDecoder__parseTable_closure(t0, t1) { + this.$this = t0; + this.table = t1; + }, + XlsxDecoder__parseRow_closure: function XlsxDecoder__parseRow_closure(t0, t1, t2) { + this.$this = t0; + this.table = t1; + this.row = t2; + }, + XlsxDecoder__parseValue_closure: function XlsxDecoder__parseValue_closure(t0) { + this.buffer = t0; + }, + XmlDescendantsIterable: function XmlDescendantsIterable(t0) { + this._descendants$_start = t0; + }, + XmlDescendantsIterator: function XmlDescendantsIterator(t0) { + this._todo = t0; + this.__XmlDescendantsIterator__current = $; + }, + propsOrStateMapsEqual: function(a, b) { + var t2, t3, t4, key, bVal, aVal, + t1 = type$.legacy_Map_dynamic_dynamic; + t1._as(a); + t1._as(b); + if (a == null ? b == null : a === b) + return true; + t1 = J.getInterceptor$asx(a); + t2 = J.getInterceptor$asx(b); + if (t1.get$length(a) != t2.get$length(b)) + return false; + for (t3 = J.get$iterator$ax(t1.get$keys(a)), t4 = type$.legacy_Function; t3.moveNext$0();) { + key = t3.get$current(t3); + if (!t2.containsKey$1(b, key)) + return false; + bVal = t2.$index(b, key); + aVal = t1.$index(a, key); + if (bVal == null ? aVal != null : bVal !== aVal) + if (!(t4._is(bVal) && t4._is(aVal) && J.$eq$(bVal, aVal))) + return false; + } + return true; + }, + autostaple_and_autobreak_middleware: function(store, action, next) { + type$.legacy_Store_legacy_AppState._as(store); + type$.legacy_dynamic_Function_dynamic._as(next); + if (action instanceof U.Autostaple) + U._autostaple(store); + else if (action instanceof U.Autobreak) + U._autobreak(store, action); + else + next.call$1(action); + }, + _autostaple: function(store) { + var $async$goto = 0, + $async$completer = P._makeAsyncAwaitCompleter(type$.dynamic), + t1, $async$temp1, $async$temp2; + var $async$_autostaple = P._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { + if ($async$errorCode === 1) + return P._asyncRethrow($async$result, $async$completer); + while (true) + switch ($async$goto) { + case 0: + // Function start + t1 = type$.legacy_String; + $async$temp1 = U; + $async$temp2 = store; + $async$goto = 2; + return P._asyncAwait(G.post("https://scadnano-backend.onrender.com/autostaple", K.json_encode(store.get$state(store).design, true), P.LinkedHashMap_LinkedHashMap$_literal(["Content-Type", "application/json"], t1, t1)), $async$_autostaple); + case 2: + // returning from await. + $async$temp1._handle_response($async$temp2, $async$result, "autostaple"); + // implicit return + return P._asyncReturn(null, $async$completer); + } + }); + return P._asyncStartSync($async$_autostaple, $async$completer); + }, + _autobreak: function(store, action) { + var $async$goto = 0, + $async$completer = P._makeAsyncAwaitCompleter(type$.dynamic), + t1, $async$temp1, $async$temp2; + var $async$_autobreak = P._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { + if ($async$errorCode === 1) + return P._asyncRethrow($async$result, $async$completer); + while (true) + switch ($async$goto) { + case 0: + // Function start + t1 = type$.legacy_String; + $async$temp1 = U; + $async$temp2 = store; + $async$goto = 2; + return P._asyncAwait(G.post("https://scadnano-backend.onrender.com/autobreak", C.C_JsonCodec.encode$2$toEncodable(P.LinkedHashMap_LinkedHashMap$_literal(["settings", P.LinkedHashMap_LinkedHashMap$_literal(["minStapleLegLen", action.min_distance_to_xover, "minStapleLen", action.min_length, "maxStapleLen", action.max_length, "tgtStapleLen", action.target_length], t1, type$.legacy_int), "design", store.get$state(store).design.to_json_serializable$0()], t1, type$.legacy_Map_of_legacy_String_and_dynamic), null), P.LinkedHashMap_LinkedHashMap$_literal(["Content-Type", "application/json"], t1, t1)), $async$_autobreak); + case 2: + // returning from await. + $async$temp1._handle_response($async$temp2, $async$result, "autobreak"); + // implicit return + return P._asyncReturn(null, $async$completer); + } + }); + return P._asyncStartSync($async$_autobreak, $async$completer); + }, + _handle_response: function(store, response, short_description) { + var response_body_json, + t1 = response.statusCode, + t2 = response.headers, + t3 = response.bodyBytes; + if (t1 === 200) + store.dispatch$1(U.NewDesignSet_NewDesignSet(N.Design_from_json_str(B.encodingForCharset(J.$index$asx(U._contentTypeForHeaders(t2).parameters._collection$_map, "charset")).decode$1(0, t3), store.get$state(store).ui_state.storables.invert_y), short_description)); + else { + response_body_json = type$.legacy_Map_dynamic_dynamic._as(C.C_JsonCodec.decode$2$reviver(0, B.encodingForCharset(J.$index$asx(U._contentTypeForHeaders(t2).parameters._collection$_map, "charset")).decode$1(0, t3), null)); + C.Window_methods.alert$1(window, "Error: " + H.S(J.$index$asx(response_body_json, "error"))); + } + }, + strand_create_middleware: function(store, action, next) { + type$.legacy_Store_legacy_AppState._as(store); + type$.legacy_dynamic_Function_dynamic._as(next); + if (action instanceof U.StrandCreateStart) + if (store.get$state(store).design.domain_on_helix_at$2(action.address, null) != null) + return; + next.call$1(action); + } + }, + Z = {DateTimeSerializer: function DateTimeSerializer(t0) { + this.types = t0; + }, + DraggableEvent$_: function(originalEvent, dragInfo, cancelled) { + dragInfo.get$_dnd$_position(dragInfo); + return new Z.DraggableEvent(originalEvent); + }, + _DragEventDispatcher_dispatchEnterOverLeave: function(draggable, target) { + var t1, dragLeaveEvent, + _s15_ = "_customDragOver"; + if (target == null) + return; + t1 = $._DragEventDispatcher_previousTarget; + if (t1 === target) + target.dispatchEvent(W.MouseEvent_MouseEvent(_s15_, null)); + else { + target.dispatchEvent(W.MouseEvent_MouseEvent("_customDragEnter", t1)); + if ($._DragEventDispatcher_previousTarget != null) { + dragLeaveEvent = W.MouseEvent_MouseEvent("_customDragLeave", target); + $._DragEventDispatcher_previousTarget.dispatchEvent(dragLeaveEvent); + } + target.dispatchEvent(W.MouseEvent_MouseEvent(_s15_, null)); + $._DragEventDispatcher_previousTarget = target; + } + }, + _DragEventDispatcher_dispatchDrop: function(draggable, target) { + target.dispatchEvent(W.MouseEvent_MouseEvent("_customDrop", null)); + Z._DragEventDispatcher_reset(); + }, + _DragEventDispatcher_reset: function() { + if ($._DragEventDispatcher_previousTarget != null) { + var dragLeaveEvent = W.MouseEvent_MouseEvent("_customDragLeave", null); + $._DragEventDispatcher_previousTarget.dispatchEvent(dragLeaveEvent); + $._DragEventDispatcher_previousTarget = null; + } + }, + _TouchManager$: function(draggable) { + var t1 = type$.JSArray_StreamSubscription_dynamic; + t1 = new Z._TouchManager(H.setRuntimeTypeInfo([], t1), H.setRuntimeTypeInfo([], t1), draggable); + t1._EventManager$1(draggable); + return t1; + }, + _MouseManager$: function(draggable) { + var t1 = type$.JSArray_StreamSubscription_dynamic; + t1 = new Z._MouseManager(H.setRuntimeTypeInfo([], t1), H.setRuntimeTypeInfo([], t1), draggable); + t1._EventManager$1(draggable); + return t1; + }, + _PointerManager$: function(draggable) { + var t1 = type$.JSArray_StreamSubscription_dynamic; + t1 = new Z._PointerManager(H.setRuntimeTypeInfo([], t1), H.setRuntimeTypeInfo([], t1), draggable); + t1._EventManager$1(draggable); + return t1; + }, + Draggable: function Draggable(t0, t1) { + var _ = this; + _.id = t0; + _._onDragEnd = _._onDrag = _._onDragStart = null; + _.__Draggable__elements = $; + _._eventManagers = t1; + }, + Draggable_onDragStart_closure: function Draggable_onDragStart_closure(t0) { + this.$this = t0; + }, + Draggable_onDrag_closure: function Draggable_onDrag_closure(t0) { + this.$this = t0; + }, + Draggable_onDragEnd_closure: function Draggable_onDragEnd_closure(t0) { + this.$this = t0; + }, + Draggable__suppressClickEvent_closure: function Draggable__suppressClickEvent_closure() { + }, + Draggable__suppressClickEvent_closure0: function Draggable__suppressClickEvent_closure0(t0) { + this.clickPreventer = t0; + }, + Draggable_destroy_closure: function Draggable_destroy_closure() { + }, + Draggable__resetCurrentDrag_closure: function Draggable__resetCurrentDrag_closure() { + }, + DraggableEvent: function DraggableEvent(t0) { + this.originalEvent = t0; + }, + _DragInfo: function _DragInfo(t0, t1, t2, t3, t4) { + var _ = this; + _.element = t0; + _.startPosition = t1; + _.avatarHandler = t2; + _.___DragInfo__position = $; + _.started = false; + _.horizontalOnly = t3; + _.verticalOnly = t4; + }, + _EventManager: function _EventManager() { + }, + _EventManager_closure: function _EventManager_closure() { + }, + _EventManager_installEscAndBlur_closure: function _EventManager_installEscAndBlur_closure(t0) { + this.$this = t0; + }, + _EventManager_installEscAndBlur_closure0: function _EventManager_installEscAndBlur_closure0(t0) { + this.$this = t0; + }, + _EventManager_reset_closure: function _EventManager_reset_closure() { + }, + _EventManager_destroy_closure: function _EventManager_destroy_closure() { + }, + _EventManager_destroy_closure0: function _EventManager_destroy_closure0() { + }, + _TouchManager: function _TouchManager(t0, t1, t2) { + this.startSubs = t0; + this.dragSubs = t1; + this.drg = t2; + }, + _TouchManager_installStart_closure: function _TouchManager_installStart_closure(t0) { + this.$this = t0; + }, + _TouchManager_installStart__closure: function _TouchManager_installStart__closure(t0) { + this.$this = t0; + }, + _TouchManager_installMove_closure: function _TouchManager_installMove_closure(t0) { + this.$this = t0; + }, + _TouchManager_installEnd_closure: function _TouchManager_installEnd_closure(t0) { + this.$this = t0; + }, + _TouchManager_installCancel_closure: function _TouchManager_installCancel_closure(t0) { + this.$this = t0; + }, + _MouseManager: function _MouseManager(t0, t1, t2) { + this.startSubs = t0; + this.dragSubs = t1; + this.drg = t2; + }, + _MouseManager_installStart_closure: function _MouseManager_installStart_closure(t0) { + this.$this = t0; + }, + _MouseManager_installStart__closure: function _MouseManager_installStart__closure(t0) { + this.$this = t0; + }, + _MouseManager_installMove_closure: function _MouseManager_installMove_closure(t0) { + this.$this = t0; + }, + _MouseManager_installEnd_closure: function _MouseManager_installEnd_closure(t0) { + this.$this = t0; + }, + _PointerManager: function _PointerManager(t0, t1, t2) { + this.startSubs = t0; + this.dragSubs = t1; + this.drg = t2; + }, + _PointerManager_installStart_closure: function _PointerManager_installStart_closure(t0) { + this.$this = t0; + }, + _PointerManager_installStart__closure: function _PointerManager_installStart__closure(t0) { + this.$this = t0; + }, + _PointerManager_installMove_closure: function _PointerManager_installMove_closure(t0) { + this.$this = t0; + }, + _PointerManager_installEnd_closure: function _PointerManager_installEnd_closure(t0) { + this.$this = t0; + }, + _PointerManager_installCancel_closure: function _PointerManager_installCancel_closure(t0) { + this.$this = t0; + }, + ByteStream: function ByteStream(t0) { + this._stream = t0; + }, + ByteStream_toBytes_closure: function ByteStream_toBytes_closure(t0) { + this.completer = t0; + }, + CaseInsensitiveMap$from: function(other, $V) { + var t1 = new Z.CaseInsensitiveMap(new Z.CaseInsensitiveMap$from_closure(), new Z.CaseInsensitiveMap$from_closure0(), P.LinkedHashMap_LinkedHashMap$_empty(type$.legacy_String, $V._eval$1("MapEntry")), $V._eval$1("CaseInsensitiveMap<0>")); + t1.addAll$1(0, other); + return t1; + }, + CaseInsensitiveMap: function CaseInsensitiveMap(t0, t1, t2, t3) { + var _ = this; + _._canonicalize = t0; + _._isValidKeyFn = t1; + _._base = t2; + _.$ti = t3; + }, + CaseInsensitiveMap$from_closure: function CaseInsensitiveMap$from_closure() { + }, + CaseInsensitiveMap$from_closure0: function CaseInsensitiveMap$from_closure0() { + }, + _$ErrorBoundary: function(backingProps) { + type$.legacy_Map_dynamic_dynamic._as(backingProps); + return backingProps == null ? Z._$$ErrorBoundaryProps$JsMap$(new L.JsBackedMap({})) : Z._$$ErrorBoundaryProps__$$ErrorBoundaryProps(backingProps); + }, + _$$ErrorBoundaryProps__$$ErrorBoundaryProps: function(backingMap) { + var t1, _null = null; + if (backingMap instanceof L.JsBackedMap) + return Z._$$ErrorBoundaryProps$JsMap$(backingMap); + else { + t1 = type$.dynamic; + t1 = new Z._$$ErrorBoundaryProps$PlainMap(P.LinkedHashMap_LinkedHashMap$_empty(t1, t1), _null, _null, _null, _null, _null, _null, _null, _null, _null); + t1.get$$$isClassGenerated(); + t1._error_boundary$_props = backingMap; + return t1; + } + }, + _$$ErrorBoundaryProps$JsMap$: function(backingMap) { + var _null = null, + t1 = new Z._$$ErrorBoundaryProps$JsMap(new L.JsBackedMap({}), _null, _null, _null, _null, _null, _null, _null, _null, _null); + t1.get$$$isClassGenerated(); + t1._error_boundary$_props = backingMap == null ? new L.JsBackedMap({}) : backingMap; + return t1; + }, + _$$ErrorBoundaryState$JsMap$: function(backingMap) { + var t1 = new Z._$$ErrorBoundaryState$JsMap(new L.JsBackedMap({}), null, null); + t1.get$$$isClassGenerated(); + t1._error_boundary$_state = backingMap; + return t1; + }, + ErrorBoundaryProps: function ErrorBoundaryProps() { + }, + ErrorBoundaryState: function ErrorBoundaryState() { + }, + ErrorBoundaryComponent: function ErrorBoundaryComponent() { + }, + $ErrorBoundaryComponentFactory_closure: function $ErrorBoundaryComponentFactory_closure() { + }, + _$$ErrorBoundaryProps: function _$$ErrorBoundaryProps() { + }, + _$$ErrorBoundaryProps$PlainMap: function _$$ErrorBoundaryProps$PlainMap(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9) { + var _ = this; + _._error_boundary$_props = t0; + _.ErrorBoundaryProps_onComponentDidCatch = t1; + _.ErrorBoundaryProps_onComponentIsUnrecoverable = t2; + _.ErrorBoundaryProps_fallbackUIRenderer = t3; + _.ErrorBoundaryProps_identicalErrorFrequencyTolerance = t4; + _.ErrorBoundaryProps_loggerName = t5; + _.ErrorBoundaryProps_shouldLogErrors = t6; + _.ErrorBoundaryProps_logger = t7; + _.componentFactory = null; + _.UbiquitousDomPropsMixin__aria = t8; + _.UbiquitousDomPropsMixin__dom = t9; + }, + _$$ErrorBoundaryProps$JsMap: function _$$ErrorBoundaryProps$JsMap(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9) { + var _ = this; + _._error_boundary$_props = t0; + _.ErrorBoundaryProps_onComponentDidCatch = t1; + _.ErrorBoundaryProps_onComponentIsUnrecoverable = t2; + _.ErrorBoundaryProps_fallbackUIRenderer = t3; + _.ErrorBoundaryProps_identicalErrorFrequencyTolerance = t4; + _.ErrorBoundaryProps_loggerName = t5; + _.ErrorBoundaryProps_shouldLogErrors = t6; + _.ErrorBoundaryProps_logger = t7; + _.componentFactory = null; + _.UbiquitousDomPropsMixin__aria = t8; + _.UbiquitousDomPropsMixin__dom = t9; + }, + _$$ErrorBoundaryState: function _$$ErrorBoundaryState() { + }, + _$$ErrorBoundaryState$JsMap: function _$$ErrorBoundaryState$JsMap(t0, t1, t2) { + this._error_boundary$_state = t0; + this.ErrorBoundaryState_hasError = t1; + this.ErrorBoundaryState_showFallbackUIOnError = t2; + }, + _$ErrorBoundaryComponent: function _$ErrorBoundaryComponent(t0) { + var _ = this; + _._error_boundary$_cachedTypedState = _._error_boundary$_cachedTypedProps = null; + _.DisposableManagerProxy__disposableProxy = t0; + _.jsThis = _.state = _.props = null; + }, + $ErrorBoundaryProps: function $ErrorBoundaryProps() { + }, + $ErrorBoundaryState: function $ErrorBoundaryState() { + }, + _ErrorBoundaryComponent_UiStatefulComponent2_ErrorBoundaryApi: function _ErrorBoundaryComponent_UiStatefulComponent2_ErrorBoundaryApi() { + }, + __$$ErrorBoundaryProps_UiProps_ErrorBoundaryProps: function __$$ErrorBoundaryProps_UiProps_ErrorBoundaryProps() { + }, + __$$ErrorBoundaryProps_UiProps_ErrorBoundaryProps_$ErrorBoundaryProps: function __$$ErrorBoundaryProps_UiProps_ErrorBoundaryProps_$ErrorBoundaryProps() { + }, + __$$ErrorBoundaryState_UiState_ErrorBoundaryState: function __$$ErrorBoundaryState_UiState_ErrorBoundaryState() { + }, + __$$ErrorBoundaryState_UiState_ErrorBoundaryState_$ErrorBoundaryState: function __$$ErrorBoundaryState_UiState_ErrorBoundaryState_$ErrorBoundaryState() { + }, + registerComponent2: function(dartComponentFactory, builderFactory, componentClass, isWrapper, parentType, skipMethods) { + var t1, + reactComponentFactory = $.$get$registerComponent2().call$3$bridgeFactory$skipMethods(dartComponentFactory, Z.component_base_2_UiComponent2BridgeImpl_bridgeFactory$closure(), skipMethods); + $.$get$_typeAliasToFactory().$indexSet(0, builderFactory, reactComponentFactory); + $.$get$_typeAliasToFactory().$indexSet(0, componentClass, reactComponentFactory); + t1 = reactComponentFactory.reactClass; + t1._componentTypeMeta = new B.ComponentTypeMeta(isWrapper); + return reactComponentFactory; + }, + UiComponent2BridgeImpl_bridgeFactory: function(component) { + type$.legacy_Component2._as(component); + return C.C_UiComponent2BridgeImpl; + }, + UiComponent2: function UiComponent2() { + }, + UiComponent2_addUnconsumedProps_closure: function UiComponent2_addUnconsumedProps_closure() { + }, + UiStatefulComponent2: function UiStatefulComponent2() { + }, + UiStatefulMixin2: function UiStatefulMixin2() { + }, + UiComponent2BridgeImpl: function UiComponent2BridgeImpl() { + }, + _UiComponent2_Component2_DisposableManagerProxy: function _UiComponent2_Component2_DisposableManagerProxy() { + }, + _UiComponent2_Component2_DisposableManagerProxy_GeneratedClass: function _UiComponent2_Component2_DisposableManagerProxy_GeneratedClass() { + }, + _UiStatefulComponent2_UiComponent2_UiStatefulMixin2: function _UiStatefulComponent2_UiComponent2_UiStatefulMixin2() { + }, + DisposableManagerProxy: function DisposableManagerProxy() { + }, + CharacterPredicate: function CharacterPredicate() { + }, + WhitespaceCharPredicate: function WhitespaceCharPredicate() { + }, + DelegateParser: function DelegateParser() { + }, + PredicateParser: function PredicateParser(t0, t1, t2) { + this.length = t0; + this.predicate = t1; + this.message = t2; + }, + PossessiveRepeatingParserExtension_star: function(_this, $T) { + return Z.PossessiveRepeatingParserExtension_repeat(_this, 0, 9007199254740991, $T); + }, + PossessiveRepeatingParserExtension_repeat: function(_this, min, max, $T) { + var t1 = new Z.PossessiveRepeatingParser(min, max, _this, $T._eval$1("PossessiveRepeatingParser<0>")); + t1.RepeatingParser$3(_this, min, max, $T); + return t1; + }, + PossessiveRepeatingParser: function PossessiveRepeatingParser(t0, t1, t2, t3) { + var _ = this; + _.min = t0; + _.max = t1; + _.delegate = t2; + _.$ti = t3; + }, + patchName: function(object) { + var current, nameDescriptor; + for (current = object; current = self.Object.getPrototypeOf(current), current != null;) { + nameDescriptor = self.Object.getOwnPropertyDescriptor(current, "name"); + if (nameDescriptor != null) { + self.Object.defineProperty(object, "name", nameDescriptor); + return; + } + } + }, + _NsmEmulatedFunctionWithNameProperty: function _NsmEmulatedFunctionWithNameProperty() { + this._ddc_emulated_function_name_bug$_name = null; + }, + isBugPresent_closure: function isBugPresent_closure() { + }, + _PropertyDescriptor: function _PropertyDescriptor() { + }, + check_reflect_strands_legal_middleware: function(store, action, next) { + var altered_design, e, msg, t1, strands_to_reflect, design, group_name, group, t2, reflected_strands, exception, new_strands, t3, t4, idx_mirrored_strand, t5, idx; + type$.legacy_Store_legacy_AppState._as(store); + type$.legacy_dynamic_Function_dynamic._as(next); + if (action instanceof U.StrandsReflect && J.get$isNotEmpty$asx(action.strands._list)) { + t1 = action.strands; + strands_to_reflect = new Q.CopyOnWriteList(true, t1._list, H._instanceType(t1)._eval$1("CopyOnWriteList<1>")); + design = store.get$state(store).design; + t1 = design.group_names_of_strands$1(strands_to_reflect)._set; + if (t1.get$length(t1) !== 1) { + msg = "Cannot reflect selected strands unless they are all on the same helix group.\n3 These strands occupy the following helix groups: " + t1.join$1(0, ", "); + C.Window_methods.alert$1(window, msg); + return; + } + group_name = t1.get$first(t1); + group = J.$index$asx(design.groups._map$_map, group_name); + t1 = action.horizontal; + t2 = action.reverse_polarity; + reflected_strands = t1 ? Z.horizontal_reflection_of_strands(design, strands_to_reflect, t2) : Z.vertical_reflection_of_strands(group, strands_to_reflect, t2); + altered_design = design.remove_strands$1(strands_to_reflect); + altered_design = altered_design.add_strands$1(reflected_strands); + try { + altered_design.check_strands_overlap_legally$0(); + } catch (exception) { + t2 = H.unwrapException(exception); + if (type$.legacy_IllegalDesignError._is(t2)) { + e = t2; + msg = "Cannot mirror these strands " + (t1 ? "horizontally" : "vertically") + "\nStrands would overlap each other:\n\n" + e.get$cause(); + C.Window_methods.alert$1(window, msg); + return; + } else + throw exception; + } + t1 = type$.legacy_int; + t2 = type$.legacy_Strand; + new_strands = P.LinkedHashMap_LinkedHashMap$_empty(t1, t2); + for (t3 = J.get$iterator$ax(strands_to_reflect._copy_on_write_list$_list), t4 = design.strands, idx_mirrored_strand = 0; t3.moveNext$0();) { + t5 = t3.get$current(t3); + t4.toString; + idx = J.indexOf$2$asx(t4._list, t4.$ti._precomputed1._as(t5), 0); + if (idx_mirrored_strand >= reflected_strands.length) + return H.ioore(reflected_strands, idx_mirrored_strand); + new_strands.$indexSet(0, idx, reflected_strands[idx_mirrored_strand]); + ++idx_mirrored_strand; + } + store.dispatch$1(U._$ReplaceStrands$_(A.BuiltMap_BuiltMap$of(new_strands, t1, t2))); + } else + next.call$1(action); + }, + horizontal_reflection_of_strands: function(design, strands_to_mirror, reverse_polarity) { + var t3, t4, t5, min_offset, max_offset, mirrored_strands, _box_0, t6, t7, i, domain, t8, reflected_deletions, reflected_insertions, t9, t10, is_first, is_last, mirrored_strand, strand, + t1 = type$.JSArray_legacy_int, + t2 = H.setRuntimeTypeInfo([], t1); + for (t3 = J.get$iterator$ax(strands_to_mirror._copy_on_write_list$_list); t3.moveNext$0();) { + t4 = t3.get$current(t3); + t5 = t4.__domains; + if (t5 == null) { + t5 = E.Strand.prototype.get$domains.call(t4); + t4.set$__domains(t5); + t4 = t5; + } else + t4 = t5; + t4 = J.get$iterator$ax(t4._list); + for (; t4.moveNext$0();) + t2.push(t4.get$current(t4).start); + } + t3 = type$.legacy_int; + min_offset = N.MinMaxOfIterable_get_min(t2, t3); + t1 = H.setRuntimeTypeInfo([], t1); + for (t2 = J.get$iterator$ax(strands_to_mirror._copy_on_write_list$_list); t2.moveNext$0();) { + t4 = t2.get$current(t2); + t5 = t4.__domains; + if (t5 == null) { + t5 = E.Strand.prototype.get$domains.call(t4); + t4.set$__domains(t5); + t4 = t5; + } else + t4 = t5; + t4 = J.get$iterator$ax(t4._list); + for (; t4.moveNext$0();) + t1.push(t4.get$current(t4).end); + } + max_offset = N.MinMaxOfIterable_get_max(t1, t3); + mirrored_strands = H.setRuntimeTypeInfo([], type$.JSArray_legacy_Strand); + for (t1 = J.get$iterator$ax(strands_to_mirror._copy_on_write_list$_list), t2 = type$.legacy_void_Function_legacy_StrandBuilder, t3 = type$.legacy_void_Function_legacy_DomainBuilder, t4 = !reverse_polarity, t5 = type$.legacy_Substrand; t1.moveNext$0();) { + _box_0 = {}; + t6 = t1.get$current(t1); + t7 = t6.substrands; + _box_0.mirrored_substrands = new Q.CopyOnWriteList(true, t7._list, H._instanceType(t7)._eval$1("CopyOnWriteList<1>")); + i = 0; + while (true) { + t7 = J.get$length$asx(_box_0.mirrored_substrands); + if (typeof t7 !== "number") + return H.iae(t7); + if (!(i < t7)) + break; + domain = J.$index$asx(_box_0.mirrored_substrands, i); + if (domain instanceof G.Domain) { + t7 = domain.start; + if (typeof max_offset !== "number") + return max_offset.$sub(); + if (typeof min_offset !== "number") + return H.iae(min_offset); + t8 = domain.end; + reflected_deletions = Z.reflect_deletions(domain, min_offset, max_offset); + reflected_insertions = Z.reflect_insertions(domain, min_offset, max_offset); + t9 = i === 0; + if (!(t9 && t4)) { + t10 = J.get$length$asx(_box_0.mirrored_substrands); + if (typeof t10 !== "number") + return t10.$sub(); + is_first = i === t10 - 1 && reverse_polarity; + } else + is_first = true; + if (!(t9 && reverse_polarity)) { + t9 = J.get$length$asx(_box_0.mirrored_substrands); + if (typeof t9 !== "number") + return t9.$sub(); + is_last = i === t9 - 1 && t4; + } else + is_last = true; + t9 = _box_0.mirrored_substrands; + t7 = t3._as(new Z.horizontal_reflection_of_strands_closure(max_offset - t8 + min_offset, max_offset - t7 + min_offset, reverse_polarity, domain, reflected_deletions, reflected_insertions, is_first, is_last)); + t8 = new G.DomainBuilder(); + t8._domain$_$v = domain; + t7.call$1(t8); + J.$indexSet$ax(t9, i, t8.build$0()); + } + ++i; + } + if (reverse_polarity) + _box_0.mirrored_substrands = P.List_List$of(J.get$reversed$ax(_box_0.mirrored_substrands), true, t5); + t7 = t2._as(new Z.horizontal_reflection_of_strands_closure0(_box_0)); + t8 = new E.StrandBuilder(); + t8._strand$_$v = t6; + t7.call$1(t8); + mirrored_strand = t8.build$0(); + strand = mirrored_strand._rebuild_substrands_with_new_fields_based_on_strand$1(mirrored_strand._rebuild_substrands_with_new_dna_sequences_based_on_strand$1(mirrored_strand)); + if (J.get$length$asx(mirrored_strand.substrands._list) === 1) { + t6 = mirrored_strand.__first_domain; + if (t6 == null) + t6 = mirrored_strand.__first_domain = E.Strand.prototype.get$first_domain.call(mirrored_strand); + t6.toString; + } + mirrored_strand.check_two_consecutive_loopouts$0(); + mirrored_strand.check_loopouts_length$0(); + mirrored_strand.check_at_least_one_domain$0(); + mirrored_strand.check_only_at_ends$0(); + mirrored_strand.check_not_adjacent_to_loopout$0(); + C.JSArray_methods.add$1(mirrored_strands, strand); + } + return mirrored_strands; + }, + reflect_deletions: function(domain, min_offset, max_offset) { + var t1, t2, + reflected_deletions = H.setRuntimeTypeInfo([], type$.JSArray_legacy_int); + for (t1 = J.get$iterator$ax(domain.deletions._list); t1.moveNext$0();) { + t2 = t1.get$current(t1); + if (typeof max_offset !== "number") + return max_offset.$sub(); + if (typeof t2 !== "number") + return H.iae(t2); + if (typeof min_offset !== "number") + return H.iae(min_offset); + C.JSArray_methods.add$1(reflected_deletions, max_offset - t2 + min_offset); + } + C.JSArray_methods.sort$0(reflected_deletions); + return reflected_deletions; + }, + reflect_insertions: function(domain, min_offset, max_offset) { + var t1, t2, t3, t4, t5, + reflected_insertions = H.setRuntimeTypeInfo([], type$.JSArray_legacy_Insertion); + for (t1 = J.get$iterator$ax(domain.insertions._list), t2 = type$.legacy_void_Function_legacy_InsertionBuilder; t1.moveNext$0();) { + t3 = t1.get$current(t1); + t4 = t3.offset; + if (typeof max_offset !== "number") + return max_offset.$sub(); + if (typeof min_offset !== "number") + return H.iae(min_offset); + t4 = t2._as(new Z.reflect_insertions_closure(max_offset - t4 + min_offset)); + t5 = new G.InsertionBuilder(); + t5._domain$_$v = t3; + t4.call$1(t5); + C.JSArray_methods.add$1(reflected_insertions, t5.build$0()); + } + C.JSArray_methods.sort$1(reflected_insertions, new Z.reflect_insertions_closure0()); + return reflected_insertions; + }, + vertical_reflection_of_strands: function(group, strands_to_reflect, reverse_polarity) { + var t2, t3, t4, min_order, max_order, mirrored_strands, t5, _box_0, t6, t7, i, domain, helix_idx, order, reflected_helix_idx, t8, is_first, is_last, t9, mirrored_strand, strand, + t1 = P.LinkedHashSet_LinkedHashSet$_empty(type$.legacy_int); + for (t2 = J.get$iterator$ax(strands_to_reflect._copy_on_write_list$_list); t2.moveNext$0();) { + t3 = t2.get$current(t2); + t4 = t3.__domains; + if (t4 == null) { + t4 = E.Strand.prototype.get$domains.call(t3); + t3.set$__domains(t4); + t3 = t4; + } else + t3 = t4; + t3 = J.get$iterator$ax(t3._list); + for (; t3.moveNext$0();) + t1.add$1(0, t3.get$current(t3).helix); + } + t2 = H.setRuntimeTypeInfo([], type$.JSArray_legacy_int); + for (t1 = P._LinkedHashSetIterator$(t1, t1._collection$_modifications, t1.$ti._precomputed1); t1.moveNext$0();) { + t3 = t1._collection$_current; + t4 = group.__helices_view_order_inverse; + if (t4 == null) { + t4 = O.HelixGroup.prototype.get$helices_view_order_inverse.call(group); + group.set$__helices_view_order_inverse(t4); + } + t2.push(J.$index$asx(t4._map$_map, t3)); + } + C.JSArray_methods.sort$0(t2); + min_order = C.JSArray_methods.get$first(t2); + max_order = C.JSArray_methods.get$last(t2); + mirrored_strands = H.setRuntimeTypeInfo([], type$.JSArray_legacy_Strand); + for (t1 = J.get$iterator$ax(strands_to_reflect._copy_on_write_list$_list), t2 = type$.legacy_void_Function_legacy_StrandBuilder, t3 = !reverse_polarity, t4 = type$.legacy_void_Function_legacy_DomainBuilder, t5 = type$.legacy_Substrand; t1.moveNext$0();) { + _box_0 = {}; + t6 = t1.get$current(t1); + t7 = t6.substrands; + _box_0.mirrored_substrands = new Q.CopyOnWriteList(true, t7._list, H._instanceType(t7)._eval$1("CopyOnWriteList<1>")); + i = 0; + while (true) { + t7 = J.get$length$asx(_box_0.mirrored_substrands); + if (typeof t7 !== "number") + return H.iae(t7); + if (!(i < t7)) + break; + domain = J.$index$asx(_box_0.mirrored_substrands, i); + if (domain instanceof G.Domain) { + helix_idx = domain.helix; + t7 = group.__helices_view_order_inverse; + if (t7 == null) { + t7 = O.HelixGroup.prototype.get$helices_view_order_inverse.call(group); + group.set$__helices_view_order_inverse(t7); + } + order = J.$index$asx(t7._map$_map, helix_idx); + if (typeof max_order !== "number") + return max_order.$sub(); + if (typeof order !== "number") + return H.iae(order); + if (typeof min_order !== "number") + return H.iae(min_order); + reflected_helix_idx = J.$index$asx(group.helices_view_order._list, max_order - order + min_order); + t7 = i === 0; + if (!(t7 && reverse_polarity)) { + t8 = J.get$length$asx(_box_0.mirrored_substrands); + if (typeof t8 !== "number") + return t8.$sub(); + is_first = i === t8 - 1 && t3; + } else + is_first = true; + if (!(t7 && t3)) { + t7 = J.get$length$asx(_box_0.mirrored_substrands); + if (typeof t7 !== "number") + return t7.$sub(); + is_last = i === t7 - 1 && reverse_polarity; + } else + is_last = true; + t7 = _box_0.mirrored_substrands; + t8 = t4._as(new Z.vertical_reflection_of_strands_closure(reflected_helix_idx, reverse_polarity, domain, is_first, is_last)); + t9 = new G.DomainBuilder(); + t9._domain$_$v = domain; + t8.call$1(t9); + J.$indexSet$ax(t7, i, t9.build$0()); + } + ++i; + } + if (t3) + _box_0.mirrored_substrands = P.List_List$of(J.get$reversed$ax(_box_0.mirrored_substrands), true, t5); + t7 = t2._as(new Z.vertical_reflection_of_strands_closure0(_box_0)); + t8 = new E.StrandBuilder(); + t8._strand$_$v = t6; + t7.call$1(t8); + mirrored_strand = t8.build$0(); + strand = mirrored_strand._rebuild_substrands_with_new_fields_based_on_strand$1(mirrored_strand._rebuild_substrands_with_new_dna_sequences_based_on_strand$1(mirrored_strand)); + if (J.get$length$asx(mirrored_strand.substrands._list) === 1) { + t6 = mirrored_strand.__first_domain; + if (t6 == null) + t6 = mirrored_strand.__first_domain = E.Strand.prototype.get$first_domain.call(mirrored_strand); + t6.toString; + } + mirrored_strand.check_two_consecutive_loopouts$0(); + mirrored_strand.check_loopouts_length$0(); + mirrored_strand.check_at_least_one_domain$0(); + mirrored_strand.check_only_at_ends$0(); + mirrored_strand.check_not_adjacent_to_loopout$0(); + C.JSArray_methods.add$1(mirrored_strands, strand); + } + return mirrored_strands; + }, + horizontal_reflection_of_strands_closure: function horizontal_reflection_of_strands_closure(t0, t1, t2, t3, t4, t5, t6, t7) { + var _ = this; + _.reflected_end = t0; + _.reflected_start = t1; + _.reverse_polarity = t2; + _.domain = t3; + _.reflected_deletions = t4; + _.reflected_insertions = t5; + _.is_first = t6; + _.is_last = t7; + }, + horizontal_reflection_of_strands_closure0: function horizontal_reflection_of_strands_closure0(t0) { + this._box_0 = t0; + }, + reflect_insertions_closure: function reflect_insertions_closure(t0) { + this.reflected_offset = t0; + }, + reflect_insertions_closure0: function reflect_insertions_closure0() { + }, + vertical_reflection_of_strands_closure: function vertical_reflection_of_strands_closure(t0, t1, t2, t3, t4) { + var _ = this; + _.reflected_helix_idx = t0; + _.reverse_polarity = t1; + _.domain = t2; + _.is_first = t3; + _.is_last = t4; + }, + vertical_reflection_of_strands_closure0: function vertical_reflection_of_strands_closure0(t0) { + this._box_0 = t0; + }, + dna_ends_move_set_selected_ends_reducer: function(_, action) { + var t1, t2; + type$.legacy_DNAEndsMove._as(_); + type$.legacy_DNAEndsMoveSetSelectedEnds._as(action); + t1 = action.moves; + t2 = action.original_offset; + return B._$DNAEndsMove$_(t2, action.helix, t1, t2); + }, + dna_ends_move_adjust_reducer: function(move, action) { + var t1, t2; + type$.legacy_DNAEndsMove._as(move); + type$.legacy_DNAEndsMoveAdjustOffset._as(action); + move.toString; + t1 = type$.legacy_void_Function_legacy_DNAEndsMoveBuilder._as(new Z.dna_ends_move_adjust_reducer_closure(action)); + t2 = new B.DNAEndsMoveBuilder(); + t2._dna_ends_move$_$v = move; + t1.call$1(t2); + return t2.build$0(); + }, + dna_ends_move_stop_reducer: function(move, action) { + type$.legacy_DNAEndsMove._as(move); + type$.legacy_DNAEndsMoveStop._as(action); + return null; + }, + dna_ends_move_adjust_reducer_closure: function dna_ends_move_adjust_reducer_closure(t0) { + this.action = t0; + }, + helix_group_move_create_translation_reducer: function(state, action) { + type$.legacy_HelixGroupMove._as(state); + return type$.legacy_HelixGroupMoveCreate._as(action).helix_group_move; + }, + helix_group_move_adjust_translation_reducer: function(move, action) { + var t1, t2; + type$.legacy_HelixGroupMove._as(move); + type$.legacy_HelixGroupMoveAdjustTranslation._as(action); + move.toString; + t1 = type$.legacy_void_Function_legacy_HelixGroupMoveBuilder._as(new Z.helix_group_move_adjust_translation_reducer_closure(action)); + t2 = new G.HelixGroupMoveBuilder(); + t2._helix_group_move$_$v = move; + t1.call$1(t2); + return t2.build$0(); + }, + helix_group_move_stop_translation_reducer: function(_, action) { + type$.legacy_HelixGroupMove._as(_); + type$.legacy_HelixGroupMoveStop._as(action); + return null; + }, + helix_group_move_commit_global_reducer: function(design, state, action) { + var helix_group_move, group_name, t1, t2, t3, new_groups; + type$.legacy_Design._as(design); + type$.legacy_AppState._as(state); + helix_group_move = type$.legacy_HelixGroupMoveCommit._as(action).helix_group_move; + group_name = helix_group_move.group_name; + t1 = design.groups; + t2 = t1._map$_map; + t3 = H._instanceType(t1); + t3 = t3._eval$1("@<1>")._bind$1(t3._rest[1]); + new_groups = new S.CopyOnWriteMap(t1._mapFactory, t2, t3._eval$1("CopyOnWriteMap<1,2>")); + t2 = J.$index$asx(t2, group_name).rebuild$1(new Z.helix_group_move_commit_global_reducer_closure(helix_group_move)); + t3._rest[0]._as(group_name); + t3._rest[1]._as(t2); + new_groups._maybeCopyBeforeWrite$0(); + J.$indexSet$ax(new_groups._copy_on_write_map$_map, group_name, t2); + return design.rebuild$1(new Z.helix_group_move_commit_global_reducer_closure0(new_groups)); + }, + helix_group_move_adjust_translation_reducer_closure: function helix_group_move_adjust_translation_reducer_closure(t0) { + this.action = t0; + }, + helix_group_move_commit_global_reducer_closure: function helix_group_move_commit_global_reducer_closure(t0) { + this.helix_group_move = t0; + }, + helix_group_move_commit_global_reducer_closure0: function helix_group_move_commit_global_reducer_closure0(t0) { + this.new_groups = t0; + }, + _$Address$_: function($forward, helix_idx, offset) { + var _s7_ = "Address"; + if (helix_idx == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s7_, "helix_idx")); + if (offset == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s7_, "offset")); + if ($forward == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s7_, "forward")); + return new Z._$Address(helix_idx, offset, $forward); + }, + _$AddressDifference$_: function(forward_delta, helix_idx_delta, offset_delta) { + return new Z._$AddressDifference(helix_idx_delta, offset_delta, forward_delta); + }, + Address: function Address() { + }, + AddressDifference: function AddressDifference() { + }, + _$AddressSerializer: function _$AddressSerializer() { + }, + _$AddressDifferenceSerializer: function _$AddressDifferenceSerializer() { + }, + _$Address: function _$Address(t0, t1, t2) { + this.helix_idx = t0; + this.offset = t1; + this.forward = t2; + }, + AddressBuilder: function AddressBuilder() { + var _ = this; + _._address$_forward = _._offset = _._helix_idx = _._address$_$v = null; + }, + _$AddressDifference: function _$AddressDifference(t0, t1, t2) { + this.helix_idx_delta = t0; + this.offset_delta = t1; + this.forward_delta = t2; + }, + AddressDifferenceBuilder: function AddressDifferenceBuilder() { + var _ = this; + _._forward_delta = _._offset_delta = _._helix_idx_delta = _._address$_$v = null; + }, + _Address_Object_BuiltJsonSerializable: function _Address_Object_BuiltJsonSerializable() { + }, + _AddressDifference_Object_BuiltJsonSerializable: function _AddressDifference_Object_BuiltJsonSerializable() { + }, + DNAEnd_DNAEnd: function(is_5p, is_on_extension, is_scaffold, is_start, offset, substrand_id, substrand_is_first, substrand_is_last) { + var t1 = new Z.DNAEndBuilder(); + type$.legacy_void_Function_legacy_DNAEndBuilder._as(new Z.DNAEnd_DNAEnd_closure(offset, is_5p, is_start, substrand_is_first, substrand_is_last, substrand_id, is_scaffold, is_on_extension)).call$1(t1); + return t1.build$0(); + }, + DNAEnd: function DNAEnd() { + }, + DNAEnd_DNAEnd_closure: function DNAEnd_DNAEnd_closure(t0, t1, t2, t3, t4, t5, t6, t7) { + var _ = this; + _.offset = t0; + _.is_5p = t1; + _.is_start = t2; + _.substrand_is_first = t3; + _.substrand_is_last = t4; + _.substrand_id = t5; + _.is_scaffold = t6; + _.is_on_extension = t7; + }, + _$DNAEndSerializer: function _$DNAEndSerializer() { + }, + _$DNAEnd: function _$DNAEnd(t0, t1, t2, t3, t4, t5, t6, t7) { + var _ = this; + _.offset = t0; + _.is_5p = t1; + _.is_start = t2; + _.is_on_extension = t3; + _.substrand_is_first = t4; + _.substrand_is_last = t5; + _.substrand_id = t6; + _.is_scaffold = t7; + _._dna_end$__hashCode = _._dna_end$__id = _._dna_end$__select_mode = _.__is_3p = null; + }, + DNAEndBuilder: function DNAEndBuilder() { + var _ = this; + _._dna_end$_is_scaffold = _._substrand_id = _._substrand_is_last = _._substrand_is_first = _._is_on_extension = _._is_start = _._dna_end$_is_5p = _._dna_end$_offset = _._dna_end$_$v = null; + }, + _DNAEnd_Object_SelectableMixin: function _DNAEnd_Object_SelectableMixin() { + }, + _DNAEnd_Object_SelectableMixin_BuiltJsonSerializable: function _DNAEnd_Object_SelectableMixin_BuiltJsonSerializable() { + }, + Modification_mod_to_json_serializable: function(mod, suppress_indent) { + var t2, t3, t4, + t1 = P.LinkedHashMap_LinkedHashMap$_empty(type$.legacy_String, type$.dynamic); + t1.$indexSet(0, "display_text", mod.get$display_text()); + mod.get$vendor_code(); + t1.$indexSet(0, "vendor_code", mod.get$vendor_code()); + if (mod.get$connector_length() !== 4) + t1.$indexSet(0, "connector_length", mod.get$connector_length()); + t2 = mod.get$unused_fields(); + t3 = t2._map$_map; + t4 = H._instanceType(t2); + t1.addAll$1(0, new S.CopyOnWriteMap(t2._mapFactory, t3, t4._eval$1("@<1>")._bind$1(t4._rest[1])._eval$1("CopyOnWriteMap<1,2>"))); + return t1; + }, + Modification_from_json: function(json_map) { + var display_text, vendor_code, t3, mod, connector_length, allowed_bases_json, allowed_bases, + _s8_ = "location", + _null = null, + _s12_ = "display_text", + _s11_ = "vendor_code", + _s16_ = "connector_length", + t1 = J.getInterceptor$asx(json_map), + $location = H._asStringS(t1.$index(json_map, _s8_)), + t2 = $.$get$modification_keys(), + unused_fields = E.unused_fields_map(json_map, t2); + if ($location === "5'") { + display_text = H._asStringS(t1.$index(json_map, _s12_)); + H._asStringS(t1.$index(json_map, _s8_)); + vendor_code = H._asStringS(E.mandatory_field(json_map, _s11_, "Modification5Prime", C.List_idt_text)); + t1 = Z.Modification5Prime_Modification5Prime(E.optional_field(json_map, _s16_, 4, C.List_empty0, _null, _null, type$.legacy_int, type$.dynamic), display_text, E.unused_fields_map(json_map, t2).build$0(), vendor_code); + t1.toString; + t2 = type$.legacy_void_Function_legacy_Modification5PrimeBuilder._as(new Z.Modification_from_json_closure(unused_fields)); + t3 = new Z.Modification5PrimeBuilder(); + t3._modification$_$v = t1; + t2.call$1(t3); + mod = t3.build$0(); + } else if ($location === "3'") { + display_text = H._asStringS(t1.$index(json_map, _s12_)); + H._asStringS(t1.$index(json_map, _s8_)); + vendor_code = H._asStringS(E.mandatory_field(json_map, _s11_, "Modification3Prime", C.List_idt_text)); + t1 = Z.Modification3Prime_Modification3Prime(E.optional_field(json_map, _s16_, 4, C.List_empty0, _null, _null, type$.legacy_int, type$.dynamic), display_text, E.unused_fields_map(json_map, t2).build$0(), vendor_code); + t1.toString; + t2 = type$.legacy_void_Function_legacy_Modification3PrimeBuilder._as(new Z.Modification_from_json_closure0(unused_fields)); + t3 = new Z.Modification3PrimeBuilder(); + t3._modification$_$v = t1; + t2.call$1(t3); + mod = t3.build$0(); + } else if ($location === "internal") { + display_text = H._asStringS(t1.$index(json_map, _s12_)); + H._asStringS(t1.$index(json_map, _s8_)); + vendor_code = H._asStringS(E.mandatory_field(json_map, _s11_, "ModificationInternal", C.List_idt_text)); + connector_length = E.optional_field(json_map, _s16_, 4, C.List_empty0, _null, _null, type$.legacy_int, type$.dynamic); + allowed_bases_json = t1.$index(json_map, "allowed_bases"); + allowed_bases = allowed_bases_json == null ? _null : X.BuiltSet_BuiltSet$from(type$.Iterable_dynamic._as(allowed_bases_json), type$.legacy_String); + t1 = Z.ModificationInternal_ModificationInternal(allowed_bases, connector_length, display_text, E.unused_fields_map(json_map, t2).build$0(), vendor_code); + t1.toString; + t2 = type$.legacy_void_Function_legacy_ModificationInternalBuilder._as(new Z.Modification_from_json_closure1(unused_fields)); + t3 = new Z.ModificationInternalBuilder(); + t3._modification$_$v = t1; + t2.call$1(t3); + mod = t3.build$0(); + } else + throw H.wrapException(N.IllegalDesignError$('unknown Modification location "' + H.S($location) + '"')); + return mod; + }, + Modification5Prime_Modification5Prime: function(connector_length, display_text, unused_fields, vendor_code) { + var unused_fields_to_assign = unused_fields == null ? A.BuiltMap_BuiltMap(C.Map_empty, type$.legacy_String, type$.legacy_Object) : unused_fields, + t1 = new Z.Modification5PrimeBuilder(); + type$.legacy_void_Function_legacy_Modification5PrimeBuilder._as(new Z.Modification5Prime_Modification5Prime_closure(display_text, vendor_code, connector_length, unused_fields_to_assign)).call$1(t1); + return t1.build$0(); + }, + Modification3Prime_Modification3Prime: function(connector_length, display_text, unused_fields, vendor_code) { + var unused_fields_to_assign = unused_fields == null ? A.BuiltMap_BuiltMap(C.Map_empty, type$.legacy_String, type$.legacy_Object) : unused_fields, + t1 = new Z.Modification3PrimeBuilder(); + type$.legacy_void_Function_legacy_Modification3PrimeBuilder._as(new Z.Modification3Prime_Modification3Prime_closure(display_text, vendor_code, connector_length, unused_fields_to_assign)).call$1(t1); + return t1.build$0(); + }, + ModificationInternal_ModificationInternal: function(allowed_bases, connector_length, display_text, unused_fields, vendor_code) { + var unused_fields_to_assign = unused_fields == null ? A.BuiltMap_BuiltMap(C.Map_empty, type$.legacy_String, type$.legacy_Object) : unused_fields, + t1 = new Z.ModificationInternalBuilder(); + type$.legacy_void_Function_legacy_ModificationInternalBuilder._as(new Z.ModificationInternal_ModificationInternal_closure(display_text, vendor_code, connector_length, allowed_bases, unused_fields_to_assign)).call$1(t1); + return t1.build$0(); + }, + Modification_from_json_closure: function Modification_from_json_closure(t0) { + this.unused_fields = t0; + }, + Modification_from_json_closure0: function Modification_from_json_closure0(t0) { + this.unused_fields = t0; + }, + Modification_from_json_closure1: function Modification_from_json_closure1(t0) { + this.unused_fields = t0; + }, + Modification5Prime: function Modification5Prime() { + }, + Modification5Prime_Modification5Prime_closure: function Modification5Prime_Modification5Prime_closure(t0, t1, t2, t3) { + var _ = this; + _.display_text = t0; + _.vendor_code = t1; + _.connector_length = t2; + _.unused_fields_to_assign = t3; + }, + Modification3Prime: function Modification3Prime() { + }, + Modification3Prime_Modification3Prime_closure: function Modification3Prime_Modification3Prime_closure(t0, t1, t2, t3) { + var _ = this; + _.display_text = t0; + _.vendor_code = t1; + _.connector_length = t2; + _.unused_fields_to_assign = t3; + }, + ModificationInternal: function ModificationInternal() { + }, + ModificationInternal_ModificationInternal_closure: function ModificationInternal_ModificationInternal_closure(t0, t1, t2, t3, t4) { + var _ = this; + _.display_text = t0; + _.vendor_code = t1; + _.connector_length = t2; + _.allowed_bases = t3; + _.unused_fields_to_assign = t4; + }, + _$Modification5PrimeSerializer: function _$Modification5PrimeSerializer() { + }, + _$Modification3PrimeSerializer: function _$Modification3PrimeSerializer() { + }, + _$ModificationInternalSerializer: function _$ModificationInternalSerializer() { + }, + _$Modification5Prime: function _$Modification5Prime(t0, t1, t2, t3) { + var _ = this; + _.display_text = t0; + _.vendor_code = t1; + _.connector_length = t2; + _.unused_fields = t3; + _._modification$__hashCode = null; + }, + Modification5PrimeBuilder: function Modification5PrimeBuilder() { + var _ = this; + _._modification$_unused_fields = _._connector_length = _._vendor_code = _._display_text = _._modification$_$v = null; + }, + _$Modification3Prime: function _$Modification3Prime(t0, t1, t2, t3) { + var _ = this; + _.display_text = t0; + _.vendor_code = t1; + _.connector_length = t2; + _.unused_fields = t3; + _._modification$__hashCode = null; + }, + Modification3PrimeBuilder: function Modification3PrimeBuilder() { + var _ = this; + _._modification$_unused_fields = _._connector_length = _._vendor_code = _._display_text = _._modification$_$v = null; + }, + _$ModificationInternal: function _$ModificationInternal(t0, t1, t2, t3, t4) { + var _ = this; + _.display_text = t0; + _.vendor_code = t1; + _.connector_length = t2; + _.allowed_bases = t3; + _.unused_fields = t4; + _._modification$__hashCode = null; + }, + ModificationInternalBuilder: function ModificationInternalBuilder() { + var _ = this; + _._modification$_unused_fields = _._allowed_bases = _._connector_length = _._vendor_code = _._display_text = _._modification$_$v = null; + }, + _Modification3Prime_Object_BuiltJsonSerializable: function _Modification3Prime_Object_BuiltJsonSerializable() { + }, + _Modification3Prime_Object_BuiltJsonSerializable_UnusedFields: function _Modification3Prime_Object_BuiltJsonSerializable_UnusedFields() { + }, + _Modification5Prime_Object_BuiltJsonSerializable: function _Modification5Prime_Object_BuiltJsonSerializable() { + }, + _Modification5Prime_Object_BuiltJsonSerializable_UnusedFields: function _Modification5Prime_Object_BuiltJsonSerializable_UnusedFields() { + }, + _ModificationInternal_Object_BuiltJsonSerializable: function _ModificationInternal_Object_BuiltJsonSerializable() { + }, + _ModificationInternal_Object_BuiltJsonSerializable_UnusedFields: function _ModificationInternal_Object_BuiltJsonSerializable_UnusedFields() { + }, + _$PotentialVerticalCrossover$_: function(color, dna_end_bot, dna_end_top, domain_bot, domain_top, forward_top, helix_idx_bot, helix_idx_top, offset) { + var _s26_ = "PotentialVerticalCrossover"; + if (helix_idx_bot == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s26_, "helix_idx_bot")); + if (offset == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s26_, "offset")); + if (forward_top == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s26_, "forward_top")); + if (domain_top == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s26_, "domain_top")); + if (domain_bot == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s26_, "domain_bot")); + if (dna_end_top == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s26_, "dna_end_top")); + if (dna_end_bot == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s26_, "dna_end_bot")); + return new Z._$PotentialVerticalCrossover(helix_idx_top, helix_idx_bot, offset, forward_top, color, domain_top, domain_bot, dna_end_top, dna_end_bot); + }, + PotentialVerticalCrossover: function PotentialVerticalCrossover() { + }, + _$PotentialVerticalCrossoverSerializer: function _$PotentialVerticalCrossoverSerializer() { + }, + _$PotentialVerticalCrossover: function _$PotentialVerticalCrossover(t0, t1, t2, t3, t4, t5, t6, t7, t8) { + var _ = this; + _.helix_idx_top = t0; + _.helix_idx_bot = t1; + _.offset = t2; + _.forward_top = t3; + _.color = t4; + _.domain_top = t5; + _.domain_bot = t6; + _.dna_end_top = t7; + _.dna_end_bot = t8; + _._potential_vertical_crossover$__hashCode = null; + }, + PotentialVerticalCrossoverBuilder: function PotentialVerticalCrossoverBuilder() { + var _ = this; + _._dna_end_bot = _._dna_end_top = _._domain_bot = _._domain_top = _._potential_vertical_crossover$_color = _._forward_top = _._potential_vertical_crossover$_offset = _._helix_idx_bot = _._helix_idx_top = _._potential_vertical_crossover$_$v = null; + }, + _PotentialVerticalCrossover_Object_BuiltJsonSerializable: function _PotentialVerticalCrossover_Object_BuiltJsonSerializable() { + }, + _$DesignMainBasePairLines: function(backingProps) { + type$.legacy_Map_dynamic_dynamic._as(backingProps); + return backingProps == null ? Z._$$DesignMainBasePairLinesProps$JsMap$(new L.JsBackedMap({})) : Z._$$DesignMainBasePairLinesProps__$$DesignMainBasePairLinesProps(backingProps); + }, + _$$DesignMainBasePairLinesProps__$$DesignMainBasePairLinesProps: function(backingMap) { + var t1, _null = null; + if (backingMap instanceof L.JsBackedMap) + return Z._$$DesignMainBasePairLinesProps$JsMap$(backingMap); + else { + t1 = type$.dynamic; + t1 = new Z._$$DesignMainBasePairLinesProps$PlainMap(P.LinkedHashMap_LinkedHashMap$_empty(t1, t1), _null, _null, _null, _null, _null, _null, _null); + t1.get$$$isClassGenerated(); + t1._design_main_base_pair_lines$_props = backingMap; + return t1; + } + }, + _$$DesignMainBasePairLinesProps$JsMap$: function(backingMap) { + var _null = null, + t1 = new Z._$$DesignMainBasePairLinesProps$JsMap(new L.JsBackedMap({}), _null, _null, _null, _null, _null, _null, _null); + t1.get$$$isClassGenerated(); + t1._design_main_base_pair_lines$_props = backingMap == null ? new L.JsBackedMap({}) : backingMap; + return t1; + }, + DesignMainBasePairLinesProps: function DesignMainBasePairLinesProps() { + }, + DesignMainBasePairLinesComponent: function DesignMainBasePairLinesComponent() { + }, + $DesignMainBasePairLinesComponentFactory_closure: function $DesignMainBasePairLinesComponentFactory_closure() { + }, + _$$DesignMainBasePairLinesProps: function _$$DesignMainBasePairLinesProps() { + }, + _$$DesignMainBasePairLinesProps$PlainMap: function _$$DesignMainBasePairLinesProps$PlainMap(t0, t1, t2, t3, t4, t5, t6, t7) { + var _ = this; + _._design_main_base_pair_lines$_props = t0; + _.DesignMainBasePairLinesProps_with_mismatches = t1; + _.DesignMainBasePairLinesProps_design = t2; + _.DesignMainBasePairLinesProps_only_display_selected_helices = t3; + _.DesignMainBasePairLinesProps_side_selected_helix_idxs = t4; + _.DesignMainBasePairLinesProps_helix_idx_to_svg_position_y_map = t5; + _.componentFactory = null; + _.UbiquitousDomPropsMixin__aria = t6; + _.UbiquitousDomPropsMixin__dom = t7; + }, + _$$DesignMainBasePairLinesProps$JsMap: function _$$DesignMainBasePairLinesProps$JsMap(t0, t1, t2, t3, t4, t5, t6, t7) { + var _ = this; + _._design_main_base_pair_lines$_props = t0; + _.DesignMainBasePairLinesProps_with_mismatches = t1; + _.DesignMainBasePairLinesProps_design = t2; + _.DesignMainBasePairLinesProps_only_display_selected_helices = t3; + _.DesignMainBasePairLinesProps_side_selected_helix_idxs = t4; + _.DesignMainBasePairLinesProps_helix_idx_to_svg_position_y_map = t5; + _.componentFactory = null; + _.UbiquitousDomPropsMixin__aria = t6; + _.UbiquitousDomPropsMixin__dom = t7; + }, + _$DesignMainBasePairLinesComponent: function _$DesignMainBasePairLinesComponent(t0) { + var _ = this; + _._design_main_base_pair_lines$_cachedTypedProps = null; + _.DisposableManagerProxy__disposableProxy = t0; + _.jsThis = _.state = _.props = null; + }, + $DesignMainBasePairLinesProps: function $DesignMainBasePairLinesProps() { + }, + _DesignMainBasePairLinesComponent_UiComponent2_PureComponent: function _DesignMainBasePairLinesComponent_UiComponent2_PureComponent() { + }, + __$$DesignMainBasePairLinesProps_UiProps_DesignMainBasePairLinesProps: function __$$DesignMainBasePairLinesProps_UiProps_DesignMainBasePairLinesProps() { + }, + __$$DesignMainBasePairLinesProps_UiProps_DesignMainBasePairLinesProps_$DesignMainBasePairLinesProps: function __$$DesignMainBasePairLinesProps_UiProps_DesignMainBasePairLinesProps_$DesignMainBasePairLinesProps() { + }, + _$DesignMainLoopoutExtensionLengths: function(backingProps) { + type$.legacy_Map_dynamic_dynamic._as(backingProps); + return backingProps == null ? Z._$$DesignMainLoopoutExtensionLengthsProps$JsMap$(new L.JsBackedMap({})) : Z._$$DesignMainLoopoutExtensionLengthsProps__$$DesignMainLoopoutExtensionLengthsProps(backingProps); + }, + _$$DesignMainLoopoutExtensionLengthsProps__$$DesignMainLoopoutExtensionLengthsProps: function(backingMap) { + var t1, _null = null; + if (backingMap instanceof L.JsBackedMap) + return Z._$$DesignMainLoopoutExtensionLengthsProps$JsMap$(backingMap); + else { + t1 = type$.dynamic; + t1 = new Z._$$DesignMainLoopoutExtensionLengthsProps$PlainMap(P.LinkedHashMap_LinkedHashMap$_empty(t1, t1), _null, _null, _null, _null, _null); + t1.get$$$isClassGenerated(); + t1._design_main_loopout_extension_lengths$_props = backingMap; + return t1; + } + }, + _$$DesignMainLoopoutExtensionLengthsProps$JsMap$: function(backingMap) { + var _null = null, + t1 = new Z._$$DesignMainLoopoutExtensionLengthsProps$JsMap(new L.JsBackedMap({}), _null, _null, _null, _null, _null); + t1.get$$$isClassGenerated(); + t1._design_main_loopout_extension_lengths$_props = backingMap == null ? new L.JsBackedMap({}) : backingMap; + return t1; + }, + DesignMainLoopoutExtensionLengthsProps: function DesignMainLoopoutExtensionLengthsProps() { + }, + DesignMainLoopoutExtensionLengthsComponent: function DesignMainLoopoutExtensionLengthsComponent() { + }, + $DesignMainLoopoutExtensionLengthsComponentFactory_closure: function $DesignMainLoopoutExtensionLengthsComponentFactory_closure() { + }, + _$$DesignMainLoopoutExtensionLengthsProps: function _$$DesignMainLoopoutExtensionLengthsProps() { + }, + _$$DesignMainLoopoutExtensionLengthsProps$PlainMap: function _$$DesignMainLoopoutExtensionLengthsProps$PlainMap(t0, t1, t2, t3, t4, t5) { + var _ = this; + _._design_main_loopout_extension_lengths$_props = t0; + _.DesignMainLoopoutExtensionLengthsProps_geometry = t1; + _.DesignMainLoopoutExtensionLengthsProps_strands = t2; + _.DesignMainLoopoutExtensionLengthsProps_show_length = t3; + _.componentFactory = null; + _.UbiquitousDomPropsMixin__aria = t4; + _.UbiquitousDomPropsMixin__dom = t5; + }, + _$$DesignMainLoopoutExtensionLengthsProps$JsMap: function _$$DesignMainLoopoutExtensionLengthsProps$JsMap(t0, t1, t2, t3, t4, t5) { + var _ = this; + _._design_main_loopout_extension_lengths$_props = t0; + _.DesignMainLoopoutExtensionLengthsProps_geometry = t1; + _.DesignMainLoopoutExtensionLengthsProps_strands = t2; + _.DesignMainLoopoutExtensionLengthsProps_show_length = t3; + _.componentFactory = null; + _.UbiquitousDomPropsMixin__aria = t4; + _.UbiquitousDomPropsMixin__dom = t5; + }, + _$DesignMainLoopoutExtensionLengthsComponent: function _$DesignMainLoopoutExtensionLengthsComponent(t0) { + var _ = this; + _._design_main_loopout_extension_lengths$_cachedTypedProps = null; + _.DisposableManagerProxy__disposableProxy = t0; + _.jsThis = _.state = _.props = null; + }, + $DesignMainLoopoutExtensionLengthsProps: function $DesignMainLoopoutExtensionLengthsProps() { + }, + _DesignMainLoopoutExtensionLengthsComponent_UiComponent2_PureComponent: function _DesignMainLoopoutExtensionLengthsComponent_UiComponent2_PureComponent() { + }, + __$$DesignMainLoopoutExtensionLengthsProps_UiProps_DesignMainLoopoutExtensionLengthsProps: function __$$DesignMainLoopoutExtensionLengthsProps_UiProps_DesignMainLoopoutExtensionLengthsProps() { + }, + __$$DesignMainLoopoutExtensionLengthsProps_UiProps_DesignMainLoopoutExtensionLengthsProps_$DesignMainLoopoutExtensionLengthsProps: function __$$DesignMainLoopoutExtensionLengthsProps_UiProps_DesignMainLoopoutExtensionLengthsProps_$DesignMainLoopoutExtensionLengthsProps() { + }, + _$EditAndSelectModes: function(backingProps) { + type$.legacy_Map_dynamic_dynamic._as(backingProps); + return backingProps == null ? Z._$$EditAndSelectModesProps$JsMap$(new L.JsBackedMap({})) : Z._$$EditAndSelectModesProps__$$EditAndSelectModesProps(backingProps); + }, + _$$EditAndSelectModesProps__$$EditAndSelectModesProps: function(backingMap) { + var t1, _null = null; + if (backingMap instanceof L.JsBackedMap) + return Z._$$EditAndSelectModesProps$JsMap$(backingMap); + else { + t1 = type$.dynamic; + t1 = new Z._$$EditAndSelectModesProps$PlainMap(P.LinkedHashMap_LinkedHashMap$_empty(t1, t1), _null, _null, _null, _null, _null, _null); + t1.get$$$isClassGenerated(); + t1._props = backingMap; + return t1; + } + }, + _$$EditAndSelectModesProps$JsMap$: function(backingMap) { + var _null = null, + t1 = new Z._$$EditAndSelectModesProps$JsMap(new L.JsBackedMap({}), _null, _null, _null, _null, _null, _null); + t1.get$$$isClassGenerated(); + t1._props = backingMap == null ? new L.JsBackedMap({}) : backingMap; + return t1; + }, + ConnectedEditAndSelectModes_closure: function ConnectedEditAndSelectModes_closure() { + }, + EditAndSelectModesProps: function EditAndSelectModesProps() { + }, + EditAndSelectModesComponent: function EditAndSelectModesComponent() { + }, + EditAndSelectModesComponent_render_closure: function EditAndSelectModesComponent_render_closure() { + }, + $EditAndSelectModesComponentFactory_closure: function $EditAndSelectModesComponentFactory_closure() { + }, + _$$EditAndSelectModesProps: function _$$EditAndSelectModesProps() { + }, + _$$EditAndSelectModesProps$PlainMap: function _$$EditAndSelectModesProps$PlainMap(t0, t1, t2, t3, t4, t5, t6) { + var _ = this; + _._props = t0; + _.EditAndSelectModesProps_edit_modes = t1; + _.EditAndSelectModesProps_select_mode_state = t2; + _.EditAndSelectModesProps_is_origami = t3; + _.EditAndSelectModesProps_edit_mode_menu_visible = t4; + _.componentFactory = null; + _.UbiquitousDomPropsMixin__aria = t5; + _.UbiquitousDomPropsMixin__dom = t6; + }, + _$$EditAndSelectModesProps$JsMap: function _$$EditAndSelectModesProps$JsMap(t0, t1, t2, t3, t4, t5, t6) { + var _ = this; + _._props = t0; + _.EditAndSelectModesProps_edit_modes = t1; + _.EditAndSelectModesProps_select_mode_state = t2; + _.EditAndSelectModesProps_is_origami = t3; + _.EditAndSelectModesProps_edit_mode_menu_visible = t4; + _.componentFactory = null; + _.UbiquitousDomPropsMixin__aria = t5; + _.UbiquitousDomPropsMixin__dom = t6; + }, + _$EditAndSelectModesComponent: function _$EditAndSelectModesComponent(t0, t1, t2, t3) { + var _ = this; + _._cachedTypedProps = null; + _.RedrawCounterMixin__desiredRedrawCount = t0; + _.RedrawCounterMixin__didRedraw = t1; + _.RedrawCounterMixin_redrawCount = t2; + _.DisposableManagerProxy__disposableProxy = t3; + _.jsThis = _.state = _.props = null; + }, + $EditAndSelectModesProps: function $EditAndSelectModesProps() { + }, + _EditAndSelectModesComponent_UiComponent2_RedrawCounterMixin: function _EditAndSelectModesComponent_UiComponent2_RedrawCounterMixin() { + }, + __$$EditAndSelectModesProps_UiProps_EditAndSelectModesProps: function __$$EditAndSelectModesProps_UiProps_EditAndSelectModesProps() { + }, + __$$EditAndSelectModesProps_UiProps_EditAndSelectModesProps_$EditAndSelectModesProps: function __$$EditAndSelectModesProps_UiProps_EditAndSelectModesProps_$EditAndSelectModesProps() { + }, + _$MenuBoolean: function(backingProps) { + type$.legacy_Map_dynamic_dynamic._as(backingProps); + return backingProps == null ? Z._$$MenuBooleanProps$JsMap$(new L.JsBackedMap({})) : Z._$$MenuBooleanProps__$$MenuBooleanProps(backingProps); + }, + _$$MenuBooleanProps__$$MenuBooleanProps: function(backingMap) { + var t1, _null = null; + if (backingMap instanceof L.JsBackedMap) + return Z._$$MenuBooleanProps$JsMap$(backingMap); + else { + t1 = type$.dynamic; + t1 = new Z._$$MenuBooleanProps$PlainMap(P.LinkedHashMap_LinkedHashMap$_empty(t1, t1), _null, _null, _null, _null, _null, _null, _null, _null); + t1.get$$$isClassGenerated(); + t1._menu_boolean$_props = backingMap; + return t1; + } + }, + _$$MenuBooleanProps$JsMap$: function(backingMap) { + var _null = null, + t1 = new Z._$$MenuBooleanProps$JsMap(new L.JsBackedMap({}), _null, _null, _null, _null, _null, _null, _null, _null); + t1.get$$$isClassGenerated(); + t1._menu_boolean$_props = backingMap == null ? new L.JsBackedMap({}) : backingMap; + return t1; + }, + MenuBooleanPropsMixin: function MenuBooleanPropsMixin() { + }, + MenuBooleanComponent: function MenuBooleanComponent() { + }, + $MenuBooleanComponentFactory_closure: function $MenuBooleanComponentFactory_closure() { + }, + _$$MenuBooleanProps: function _$$MenuBooleanProps() { + }, + _$$MenuBooleanProps$PlainMap: function _$$MenuBooleanProps$PlainMap(t0, t1, t2, t3, t4, t5, t6, t7, t8) { + var _ = this; + _._menu_boolean$_props = t0; + _.MenuBooleanPropsMixin_value = t1; + _.MenuBooleanPropsMixin_tooltip = t2; + _.MenuBooleanPropsMixin_display = t3; + _.MenuBooleanPropsMixin_onChange = t4; + _.MenuBooleanPropsMixin_name = t5; + _.MenuBooleanPropsMixin_hide = t6; + _.componentFactory = null; + _.UbiquitousDomPropsMixin__aria = t7; + _.UbiquitousDomPropsMixin__dom = t8; + }, + _$$MenuBooleanProps$JsMap: function _$$MenuBooleanProps$JsMap(t0, t1, t2, t3, t4, t5, t6, t7, t8) { + var _ = this; + _._menu_boolean$_props = t0; + _.MenuBooleanPropsMixin_value = t1; + _.MenuBooleanPropsMixin_tooltip = t2; + _.MenuBooleanPropsMixin_display = t3; + _.MenuBooleanPropsMixin_onChange = t4; + _.MenuBooleanPropsMixin_name = t5; + _.MenuBooleanPropsMixin_hide = t6; + _.componentFactory = null; + _.UbiquitousDomPropsMixin__aria = t7; + _.UbiquitousDomPropsMixin__dom = t8; + }, + _$MenuBooleanComponent: function _$MenuBooleanComponent(t0) { + var _ = this; + _._menu_boolean$_cachedTypedProps = null; + _.DisposableManagerProxy__disposableProxy = t0; + _.jsThis = _.state = _.props = null; + }, + $MenuBooleanPropsMixin: function $MenuBooleanPropsMixin() { + }, + __$$MenuBooleanProps_UiProps_MenuBooleanPropsMixin: function __$$MenuBooleanProps_UiProps_MenuBooleanPropsMixin() { + }, + __$$MenuBooleanProps_UiProps_MenuBooleanPropsMixin_$MenuBooleanPropsMixin: function __$$MenuBooleanProps_UiProps_MenuBooleanPropsMixin_$MenuBooleanPropsMixin() { + }, + XmlAttributesBase: function XmlAttributesBase() { + }, + XmlHasAttributes: function XmlHasAttributes() { + }, + throttle_middleware: function(store, action, next) { + var throttled_action, last_time, current_time; + type$.legacy_Store_dynamic._as(store); + type$.legacy_dynamic_Function_dynamic._as(next); + if (type$.legacy_ThrottledAction._is(action)) { + throttled_action = action.get$action(action); + last_time = $._throttled_types.$index(0, H.getRuntimeType(throttled_action)); + current_time = 1000 * Date.now(); + if (last_time == null || (current_time - last_time) / 1000000 >= action.get$interval_sec()) { + $._throttled_types.$indexSet(0, H.getRuntimeType(throttled_action), current_time); + next.call$1(throttled_action); + } + } else + next.call$1(action); + } + }, + V = { + Int32__decodeDigit: function(c) { + if (c >= 48 && c <= 57) + return c - 48; + else if (c >= 97 && c <= 122) + return c - 97 + 10; + else if (c >= 65 && c <= 90) + return c - 65 + 10; + else + return -1; + }, + Int64__parseRadix: function(s, radix) { + var i, negative, d0, d1, d2, c, digit, d00, d10, _null = null, + t1 = s.length; + if (0 < t1 && s[0] === "-") { + i = 1; + negative = true; + } else { + i = 0; + negative = false; + } + if (i >= t1) + throw H.wrapException(P.FormatException$("No digits in '" + s + "'", _null, _null)); + for (d0 = 0, d1 = 0, d2 = 0; i < t1; ++i, d1 = d10, d0 = d00) { + c = C.JSString_methods._codeUnitAt$1(s, i); + digit = V.Int32__decodeDigit(c); + if (digit < 0 || digit >= radix) + throw H.wrapException(P.FormatException$("Non-radix char code: " + c, _null, _null)); + d0 = d0 * radix + digit; + d00 = d0 & 4194303; + d1 = d1 * radix + C.JSInt_methods._shrOtherPositive$1(d0, 22); + d10 = d1 & 4194303; + d2 = d2 * radix + (d1 >>> 22) & 1048575; + } + if (negative) + return V.Int64__sub(0, 0, 0, d0, d1, d2); + return new V.Int64(d0 & 4194303, d1 & 4194303, d2 & 1048575); + }, + Int64_Int64: function(value) { + var negative, v2, v1, t1, t2, t3; + if (value < 0) { + value = -value; + negative = true; + } else + negative = false; + v2 = C.JSInt_methods._tdivFast$1(value, 17592186044416); + value -= v2 * 17592186044416; + v1 = C.JSInt_methods._tdivFast$1(value, 4194304); + t1 = v1 & 4194303; + t2 = v2 & 1048575; + t3 = value - v1 * 4194304 & 4194303; + return negative ? V.Int64__sub(0, 0, 0, t3, t1, t2) : new V.Int64(t3, t1, t2); + }, + Int64__promote: function(value) { + if (value instanceof V.Int64) + return value; + else if (H._isInt(value)) + return V.Int64_Int64(value); + else if (value instanceof V.Int32) + return V.Int64_Int64(value._i); + throw H.wrapException(P.ArgumentError$value(value, null, null)); + }, + Int64__toRadixStringUnsigned: function(radix, d0, d1, d2, sign) { + var d4, d3, fatRadix, chunk1, chunk2, chunk3, q, q0, q1, q2, q3, chunk10, residue; + if (d0 === 0 && d1 === 0 && d2 === 0) + return "0"; + d4 = (d2 << 4 | d1 >>> 18) >>> 0; + d3 = d1 >>> 8 & 1023; + d2 = (d1 << 2 | d0 >>> 20) & 1023; + d1 = d0 >>> 10 & 1023; + d0 &= 1023; + if (radix >= 37) + return H.ioore(C.List_WrN, radix); + fatRadix = C.List_WrN[radix]; + chunk1 = ""; + chunk2 = ""; + chunk3 = ""; + while (true) { + if (!!(d4 === 0 && d3 === 0)) + break; + q = C.JSInt_methods.$tdiv(d4, fatRadix); + d3 += d4 - q * fatRadix << 10 >>> 0; + q0 = C.JSInt_methods.$tdiv(d3, fatRadix); + d2 += d3 - q0 * fatRadix << 10 >>> 0; + q1 = C.JSInt_methods.$tdiv(d2, fatRadix); + d1 += d2 - q1 * fatRadix << 10 >>> 0; + q2 = C.JSInt_methods.$tdiv(d1, fatRadix); + d0 += d1 - q2 * fatRadix << 10 >>> 0; + q3 = C.JSInt_methods.$tdiv(d0, fatRadix); + chunk10 = C.JSString_methods.substring$1(C.JSInt_methods.toRadixString$1(fatRadix + (d0 - q3 * fatRadix), radix), 1); + chunk3 = chunk2; + chunk2 = chunk1; + chunk1 = chunk10; + d3 = q0; + d4 = q; + d2 = q1; + d1 = q2; + d0 = q3; + } + residue = (d2 << 20 >>> 0) + (d1 << 10 >>> 0) + d0; + return sign + (residue === 0 ? "" : C.JSInt_methods.toRadixString$1(residue, radix)) + chunk1 + chunk2 + chunk3; + }, + Int64__sub: function(a0, a1, a2, b0, b1, b2) { + var diff0 = a0 - b0, + diff1 = a1 - b1 - (C.JSInt_methods._shrOtherPositive$1(diff0, 22) & 1); + return new V.Int64(diff0 & 4194303, diff1 & 4194303, a2 - b2 - (C.JSInt_methods._shrOtherPositive$1(diff1, 22) & 1) & 1048575); + }, + Int32: function Int32(t0) { + this._i = t0; + }, + Int64: function Int64(t0, t1, t2) { + this._l = t0; + this._m = t1; + this._fixnum$_h = t2; + }, + GrammarDefinition: function GrammarDefinition() { + }, + any: function() { + return new V.AnyParser("input expected"); + }, + AnyParser: function AnyParser(t0) { + this.message = t0; + }, + Component2: function Component2() { + }, + ReactComponentFactoryProxy: function ReactComponentFactoryProxy() { + }, + ReactComponentFactoryProxy_call_closure: function ReactComponentFactoryProxy_call_closure() { + }, + NotSpecified0: function NotSpecified0() { + }, + registerComponent2_closure: function registerComponent2_closure() { + }, + a_closure: function a_closure() { + }, + br_closure: function br_closure() { + }, + button_closure: function button_closure() { + }, + div_closure: function div_closure() { + }, + form_closure: function form_closure() { + }, + img_closure: function img_closure() { + }, + input_closure: function input_closure() { + }, + label_closure: function label_closure() { + }, + li_closure: function li_closure() { + }, + option_closure: function option_closure() { + }, + p_closure: function p_closure() { + }, + select_closure: function select_closure() { + }, + span_closure: function span_closure() { + }, + textarea_closure: function textarea_closure() { + }, + title_closure: function title_closure() { + }, + ul_closure: function ul_closure() { + }, + circle_closure: function circle_closure() { + }, + g_closure: function g_closure() { + }, + image_closure: function image_closure() { + }, + line_closure: function line_closure() { + }, + path_closure: function path_closure() { + }, + polygon_closure: function polygon_closure() { + }, + polyline_closure: function polyline_closure() { + }, + rect_closure: function rect_closure() { + }, + text_closure: function text_closure() { + }, + textPath_closure: function textPath_closure() { + }, + export_svg_middleware: function(store, action, next) { + var t1, ui_state, dna_sequence_png_uri, is_zoom_above_threshold, export_svg_action_delayed_for_png_cache, disable_png_caching_dna_sequences, using_png_dna_sequence, t2, elt, selected_elts; + type$.legacy_Store_legacy_AppState._as(store); + type$.legacy_dynamic_Function_dynamic._as(next); + t1 = action instanceof U.ExportSvg; + if (t1 || action instanceof U.CopySelectedStandsToClipboardImage) { + ui_state = store.get$state(store).ui_state; + dna_sequence_png_uri = ui_state.dna_sequence_png_uri; + is_zoom_above_threshold = ui_state.is_zoom_above_threshold; + export_svg_action_delayed_for_png_cache = ui_state.export_svg_action_delayed_for_png_cache; + disable_png_caching_dna_sequences = ui_state.storables.disable_png_caching_dna_sequences; + using_png_dna_sequence = dna_sequence_png_uri != null && !is_zoom_above_threshold && export_svg_action_delayed_for_png_cache == null && !disable_png_caching_dna_sequences; + t2 = action instanceof U.CopySelectedStandsToClipboardImage; + if ((t2 || J.get$type$x(action) === C.ExportSvgType_0) && using_png_dna_sequence) + store.dispatch$1(U.SetExportSvgActionDelayedForPngCache_SetExportSvgActionDelayedForPngCache(type$.legacy_Action._as(action))); + else if (t1) { + t1 = action.type; + if (t1 === C.ExportSvgType_0 || t1 === C.ExportSvgType_2 || t1 === C.ExportSvgType_3) { + elt = document.getElementById("main-view-svg"); + if (t1 === C.ExportSvgType_3) { + selected_elts = V.get_selected_svg_elements(store.get$state(store)); + if (selected_elts.length === 0) + C.Window_methods.alert$1(window, "No strands are selected, so there is nothing to export.\nPlease select some strands before choosing this option."); + else + V._export_from_element(V.get_cloned_svg_element_with_style(selected_elts, store.get$state(store).ui_state.storables.export_svg_text_separately), "selected"); + } else + V._export_from_element(store.get$state(store).ui_state.storables.export_svg_text_separately ? V.get_cloned_svg_element_with_style(H.setRuntimeTypeInfo([elt], type$.JSArray_legacy_Element), store.get$state(store).ui_state.storables.export_svg_text_separately) : elt, "main"); + } + if (t1 === C.ExportSvgType_1 || t1 === C.ExportSvgType_2) + V._export_from_element(document.getElementById("side-view-svg"), "side"); + } else if (t2) { + selected_elts = V.get_selected_svg_elements(store.get$state(store)); + if (selected_elts.length !== 0) + E.copy_svg_as_png(V.get_cloned_svg_element_with_style(selected_elts, false)); + } + } else + next.call$1(action); + }, + get_selected_svg_elements: function(state) { + var t3, base_pairs, + t1 = state.ui_state, + selected_strands = t1.selectables_store.get$selected_strands(), + selected_elts = H.setRuntimeTypeInfo([], type$.JSArray_legacy_Element), + t2 = $.app.store; + if (t2.get$state(t2).ui_state.storables.base_pair_display_type !== C.BasePairDisplayType_none) { + t1 = t1.storables.show_base_pair_lines_with_mismatches; + t2 = type$.legacy_BuiltSet_legacy_Strand; + t3 = state.design; + if (t1) { + t3.toString; + base_pairs = t3._base_pairs$2(true, t2._as(selected_strands)); + } else { + t3.toString; + base_pairs = t3._base_pairs$2(false, t2._as(selected_strands)); + } + C.JSArray_methods.addAll$1(selected_elts, V.get_svg_elements_of_base_pairs(base_pairs)); + } + C.JSArray_methods.addAll$1(selected_elts, V.get_svg_elements_of_strands(selected_strands)); + return selected_elts; + }, + get_svg_elements_of_strands: function(strands) { + var t3, t4, t5, t6, strand_elt, dna_seq_elt, mismatch_elts, _i, + t1 = type$.JSArray_legacy_Element, + elts = H.setRuntimeTypeInfo([], t1), + t2 = strands._set; + if (t2.get$length(t2) !== 0) + for (t2 = t2.get$iterator(t2), t3 = type$.legacy_Element; t2.moveNext$0();) { + t4 = t2.get$current(t2); + t5 = document; + t6 = t4.__id; + strand_elt = t5.getElementById(t6 == null ? t4.__id = E.Strand.prototype.get$id.call(t4, t4) : t6); + t6 = t4.__id; + dna_seq_elt = t5.getElementById("dna-sequence-" + (t6 == null ? t4.__id = E.Strand.prototype.get$id.call(t4, t4) : t6)); + t6 = t4.__id; + mismatch_elts = t5.getElementsByClassName("mismatch-" + (t6 == null ? t4.__id = E.Strand.prototype.get$id.call(t4, t4) : t6)); + t4 = H.setRuntimeTypeInfo([strand_elt], t1); + if (dna_seq_elt != null) + t4.push(dna_seq_elt); + for (t5 = mismatch_elts.length, _i = 0; _i < mismatch_elts.length; mismatch_elts.length === t5 || (0, H.throwConcurrentModificationError)(mismatch_elts), ++_i) + t4.push(t3._as(mismatch_elts[_i])); + C.JSArray_methods.addAll$1(elts, t4); + } + return elts; + }, + get_svg_elements_of_base_pairs: function(base_pairs) { + var t1, t2, t3, t4, t5, t6, + elts = H.setRuntimeTypeInfo([], type$.JSArray_legacy_Element); + for (t1 = J.get$iterator$ax(base_pairs.get$keys(base_pairs)), t2 = base_pairs._map$_map, t3 = J.getInterceptor$asx(t2), t4 = type$.legacy_Element; t1.moveNext$0();) { + t5 = t1.get$current(t1); + t6 = t3.$index(t2, t5); + t6.toString; + C.JSArray_methods.addAll$1(elts, J.map$1$1$ax(t6._list, H.instanceType(t6)._eval$1("Element*(1)")._as(new V.get_svg_elements_of_base_pairs_closure(t5)), t4)); + } + return elts; + }, + rotate_vector: function(vec, ang) { + var cos, sin, t1, t2; + if (typeof ang !== "number") + return ang.$mul(); + ang *= 0.017453292519943295; + cos = Math.cos(ang); + sin = Math.sin(ang); + t1 = vec[0]; + t2 = vec[1]; + return H.setRuntimeTypeInfo([t1 * cos - t2 * sin, t1 * sin + t2 * cos], type$.JSArray_legacy_double); + }, + get_text_height: function(font) { + var t2, + t1 = document.createElement("canvas"), + context = type$.legacy_CanvasRenderingContext2D._as(C.CanvasElement_methods.getContext$1(type$.legacy_CanvasElement._as(t1), "2d")); + context.font = font; + t1 = context.font; + t2 = P.RegExp_RegExp("[^0-9\\.]", true); + t1.toString; + return H.Primitives_parseDouble(H.stringReplaceAllUnchecked(t1, t2, "")); + }, + dominant_baseline_matrix: function(dominant_baseline, rot, font) { + var t1, t2; + switch (dominant_baseline) { + case "ideographic": + t1 = H.setRuntimeTypeInfo([1, 0, 0, 1], type$.JSArray_legacy_num); + t2 = V.get_text_height(font); + if (typeof t2 !== "number") + return H.iae(t2); + C.JSArray_methods.addAll$1(t1, V.rotate_vector(H.setRuntimeTypeInfo([0, -3 * t2 / 12], type$.JSArray_legacy_double), rot)); + return W.DomMatrix_DomMatrix(t1); + case "hanging": + t1 = H.setRuntimeTypeInfo([1, 0, 0, 1], type$.JSArray_legacy_num); + t2 = V.get_text_height(font); + if (typeof t2 !== "number") + return H.iae(t2); + C.JSArray_methods.addAll$1(t1, V.rotate_vector(H.setRuntimeTypeInfo([0, 9 * t2 / 12], type$.JSArray_legacy_double), rot)); + return W.DomMatrix_DomMatrix(t1); + case "central": + t1 = H.setRuntimeTypeInfo([1, 0, 0, 1], type$.JSArray_legacy_num); + t2 = V.get_text_height(font); + if (typeof t2 !== "number") + return H.iae(t2); + C.JSArray_methods.addAll$1(t1, V.rotate_vector(H.setRuntimeTypeInfo([0, 4 * t2 / 12], type$.JSArray_legacy_double), rot)); + return W.DomMatrix_DomMatrix(t1); + default: + return W.DomMatrix_DomMatrix(H.setRuntimeTypeInfo([1, 0, 0, 1, 0, 0], type$.JSArray_legacy_int)); + } + }, + create_portable_text: function(text_ele, j) { + var t2, pos, rot, i, t3, item, + _s17_ = "dominant-baseline", + char_ele = type$.legacy_TextElement._as(C.HtmlDocument_methods.createElementNS$2(document, "http://www.w3.org/2000/svg", "text")), + t1 = text_ele.textContent; + if (j >= t1.length) + return H.ioore(t1, j); + (char_ele && C.TextElement_methods).set$text(char_ele, t1[j]); + char_ele.setAttribute("style", text_ele.style.cssText); + t1 = text_ele.getStartPositionOfChar(j); + t2 = type$.dynamic; + pos = W.DomPoint_fromPoint(P.LinkedHashMap_LinkedHashMap$_literal(["x", t1.x, "y", t1.y], t2, t2)); + rot = text_ele.getRotationOfChar(j); + i = 0; + while (true) { + t1 = text_ele.transform.baseVal; + t3 = t1.numberOfItems; + if (typeof t3 !== "number") + return H.iae(t3); + if (!(i < t3)) + break; + item = t1.getItem(i); + t1 = item.matrix; + pos = (pos && C.DomPoint_methods).matrixTransform$1(pos, P.LinkedHashMap_LinkedHashMap$_literal(["a", t1.a, "b", t1.b, "c", t1.c, "d", t1.d, "e", t1.e, "f", t1.f], t2, t2)); + rot = item.angle; + ++i; + } + t1 = char_ele.style; + t1.toString; + if (t1.getPropertyValue(C.CssStyleDeclaration_methods._browserPropertyName$1(t1, _s17_)) !== "") { + t1 = char_ele.style; + t1.toString; + t1 = t1.getPropertyValue(C.CssStyleDeclaration_methods._browserPropertyName$1(t1, _s17_)); + t3 = text_ele.style; + t3 = V.dominant_baseline_matrix(t1, rot, t3.fontSize + " " + t3.fontFamily); + pos = (pos && C.DomPoint_methods).matrixTransform$1(pos, P.LinkedHashMap_LinkedHashMap$_literal(["a", t3.a, "b", t3.b, "c", t3.c, "d", t3.d, "e", t3.e, "f", t3.f], t2, t2)); + } + t1 = char_ele.style; + t1.toString; + C.CssStyleDeclaration_methods._setPropertyHelper$3(t1, C.CssStyleDeclaration_methods._browserPropertyName$1(t1, _s17_), "", null); + t1 = char_ele.style; + t1.toString; + C.CssStyleDeclaration_methods._setPropertyHelper$3(t1, C.CssStyleDeclaration_methods._browserPropertyName$1(t1, "text-anchor"), "start", null); + t1 = type$.bool_Function_String._as(C.JSArray_methods.get$contains(H.setRuntimeTypeInfo(["loopout-extension-length", "dna-seq-insertion", "dna-seq-loopout", "dna-seq-extension", "dna-seq"], type$.JSArray_legacy_String))); + if (new P.AttributeClassSet(text_ele).readClasses$0().any$1(0, t1)) { + t1 = char_ele.style; + t1.toString; + C.CssStyleDeclaration_methods._setPropertyHelper$3(t1, C.CssStyleDeclaration_methods._browserPropertyName$1(t1, "text-shadow"), "-0.7px -0.7px 0 #fff, 0.7px -0.7px 0 #fff, -0.7px 0.7px 0 #fff, 0.7px 0.7px 0 #fff", null); + } + char_ele.setAttribute("x", J.toString$0$(pos.x)); + char_ele.setAttribute("y", J.toString$0$(pos.y)); + char_ele.setAttribute("transform", "rotate(" + H.S(rot) + " " + H.S(pos.x) + " " + H.S(pos.y) + ")"); + return char_ele; + }, + create_portable_rect: function(ele) { + var t2, t3, pos, i, + _s16_ = "transform-origin", + portableEle = type$.legacy_RectElement._as(C.HtmlDocument_methods.createElementNS$2(document, "http://www.w3.org/2000/svg", "rect")), + t1 = portableEle.style; + (t1 && C.CssStyleDeclaration_methods).set$cssText(t1, ele.style.cssText); + t1 = portableEle.style; + t1.toString; + if (t1.getPropertyValue(C.CssStyleDeclaration_methods._browserPropertyName$1(t1, _s16_)) !== "") { + t1 = portableEle.style; + t1.toString; + C.CssStyleDeclaration_methods._setPropertyHelper$3(t1, C.CssStyleDeclaration_methods._browserPropertyName$1(t1, _s16_), "", ""); + } + t1 = portableEle.style; + t2 = t1.cssText; + t3 = P.RegExp_RegExp("transform-box:[^;]+;", true); + t2.toString; + C.CssStyleDeclaration_methods.set$cssText(t1, H.stringReplaceAllUnchecked(t2, t3, "")); + pos = ele.getBBox(); + portableEle.setAttribute("x", J.toString$0$(pos.x)); + portableEle.setAttribute("y", J.toString$0$(pos.y)); + portableEle.setAttribute("rx", J.toString$0$(ele.rx.baseVal.value)); + portableEle.setAttribute("ry", J.toString$0$(ele.ry.baseVal.value)); + portableEle.setAttribute("width", J.toString$0$(pos.width)); + portableEle.setAttribute("height", J.toString$0$(pos.height)); + i = 0; + while (true) { + t1 = ele.transform.baseVal; + t2 = t1.numberOfItems; + if (typeof t2 !== "number") + return H.iae(t2); + if (!(i < t2)) + break; + t1 = t1.getItem(i).angle; + if (t1 !== 0) { + t1 = "rotate(" + H.S(t1) + " "; + t2 = pos.x; + t3 = pos.width; + if (typeof t3 !== "number") + return t3.$div(); + if (typeof t2 !== "number") + return t2.$add(); + t3 = t1 + H.S(t2 + t3 / 2) + " "; + t2 = pos.y; + t1 = pos.height; + if (typeof t1 !== "number") + return t1.$div(); + if (typeof t2 !== "number") + return t2.$add(); + portableEle.setAttribute("transform", t3 + H.S(t2 + t1 / 2) + ")"); + } + ++i; + } + return portableEle; + }, + make_portable: function(src) { + var t2, t3, t4, t5, t6, t7, i, t8, t9, portable_eles, j, $parent, new_parent, portableEle, + t1 = type$.legacy_Element; + H.checkTypeBound(t1, type$.Element, "T", "querySelectorAll"); + t2 = src.querySelectorAll("*"); + t3 = document; + t3.body.appendChild(src); + for (t4 = type$.legacy_RectElement, t5 = type$.legacy_TextContentElement, t6 = type$.legacy_TextPathElement, t7 = type$.JSArray_legacy_TextContentElement, i = 0; i < t2.length; ++i) { + t8 = t1._as(t2[i]); + if (t5._is(t8)) { + if (J.get$length$asx(new P.FilteredElementList(t8, new W._ChildNodeListLazy(t8)).get$_html_common$_iterable().__internal$_iterable) === 1) { + t9 = new P.FilteredElementList(t8, new W._ChildNodeListLazy(t8)).get$_html_common$_iterable(); + t9 = t9._f.call$1(J.elementAt$1$ax(t9.__internal$_iterable, 0)).tagName === "textPath"; + } else + t9 = false; + if (t9) + continue; + portable_eles = H.setRuntimeTypeInfo([], t7); + j = 0; + while (true) { + t9 = t8.getNumberOfChars(); + if (typeof t9 !== "number") + return H.iae(t9); + if (!(j < t9)) + break; + C.JSArray_methods.add$1(portable_eles, V.create_portable_text(t8, j)); + ++j; + } + if (t6._is(t8)) { + $parent = t8.parentElement; + new_parent = t3.createElementNS("http://www.w3.org/2000/svg", "g"); + $parent.parentElement.appendChild(new_parent); + new_parent.appendChild(t8); + t9 = $parent.parentNode; + if (t9 != null) + t9.removeChild($parent); + } + C.JSArray_methods.forEach$1(portable_eles, new V.make_portable_closure(t8)); + t9 = t8.parentNode; + if (t9 != null) + t9.removeChild(t8); + } else if (t4._is(t8)) { + portableEle = V.create_portable_rect(t8); + if (i >= t2.length) + return H.ioore(t2, i); + t1._as(t2[i]).parentNode.appendChild(portableEle); + if (i >= t2.length) + return H.ioore(t2, i); + t8 = t1._as(t2[i]); + t9 = t8.parentNode; + if (t9 != null) + t9.removeChild(t8); + } + } + C.SvgSvgElement_methods.remove$0(src); + return src; + }, + get_cloned_svg_element_with_style: function(selected_elts, separate_text) { + var bbox, + cloned_svg_element_with_style = P.SvgSvgElement_SvgSvgElement(), + t1 = H._arrayInstanceType(selected_elts), + t2 = t1._eval$1("MappedListIterable<1,Element*>"); + C.SvgSvgElement_methods.set$children(cloned_svg_element_with_style, P.List_List$of(new H.MappedListIterable(selected_elts, t1._eval$1("Element*(1)")._as(V.export_svg__clone_and_apply_style$closure()), t2), true, t2._eval$1("ListIterable.E"))); + if (separate_text) + cloned_svg_element_with_style = V.make_portable(cloned_svg_element_with_style); + document.body.appendChild(cloned_svg_element_with_style); + bbox = cloned_svg_element_with_style.getBBox(); + C.SvgSvgElement_methods.remove$0(cloned_svg_element_with_style); + cloned_svg_element_with_style.setAttribute("viewBox", "" + (J.floor$0$n(bbox.x) - 1) + " " + (J.floor$0$n(bbox.y) - 1) + " " + (J.ceil$0$n(bbox.width) + 3) + " " + (J.ceil$0$n(bbox.height) + 6)); + return cloned_svg_element_with_style; + }, + _export_from_element: function(svg_element, filename_append) { + var cloned_svg_element_with_style0, source, filename, + cloned_svg_element_with_style = filename_append !== "selected" ? V.clone_and_apply_style(svg_element) : svg_element, + t1 = type$.legacy_SvgSvgElement; + if (!t1._is(svg_element)) { + cloned_svg_element_with_style0 = P.SvgSvgElement_SvgSvgElement(); + C.SvgSvgElement_methods.set$children(cloned_svg_element_with_style0, H.setRuntimeTypeInfo([cloned_svg_element_with_style], type$.JSArray_legacy_Element)); + cloned_svg_element_with_style = cloned_svg_element_with_style0; + } + t1._as(cloned_svg_element_with_style); + source = new XMLSerializer().serializeToString(cloned_svg_element_with_style); + t1 = $.app.store; + filename = t1.get$state(t1).ui_state.storables.loaded_filename; + E.save_file(C.JSString_methods.substring$2(filename, 0, C.JSString_methods.lastIndexOf$1(filename, ".")) + ("_" + filename_append + ".svg"), source, null, C.BlobType_2); + }, + clone_and_apply_style: function(elt_orig) { + var t2, elt_styled, selected, + _s13_ = "selected-pink", + t1 = type$.legacy_Element; + t1._as(elt_orig); + t2 = J.getInterceptor$x(elt_orig); + elt_styled = t1._as(t2.clone$1(elt_orig, true)); + selected = t2.get$classes(elt_orig).contains$1(0, _s13_); + t2.get$classes(elt_orig).remove$1(0, _s13_); + V.clone_and_apply_style_rec(elt_styled, elt_orig, 0); + if (selected) + t2.get$classes(elt_orig).add$1(0, _s13_); + return elt_styled; + }, + clone_and_apply_style_rec: function(elt_styled, elt_orig, depth) { + var t1, style_def, t2, _i, style_name, style_value, t3, t4, value, children_styled, children_orig, cd, + tag_name = elt_styled.tagName; + if (J.get$classes$x(elt_styled).contains$1(0, "svg-pan-zoom_viewport")) { + elt_styled.removeAttribute("style"); + elt_styled.setAttribute("transform", J.contains$1$asx(elt_styled.id, "side") ? "matrix(1,0,0,1,50,50)" : "matrix(1,0,0,1,100,50)"); + } + t1 = $.$get$relevant_styles(); + if (t1.get$keys(t1).contains$1(0, tag_name)) { + style_def = C.Window_methods._getComputedStyle$2(window, elt_orig, ""); + for (t1 = t1.$index(0, tag_name), t2 = t1.length, _i = 0; _i < t1.length; t1.length === t2 || (0, H.throwConcurrentModificationError)(t1), ++_i) { + style_name = t1[_i]; + style_def.toString; + H._asStringS(style_name); + style_value = style_def.getPropertyValue(C.CssStyleDeclaration_methods._browserPropertyName$1(style_def, style_name)); + if (style_value !== "") { + if (style_name === "visibility" && style_value === "hidden") { + t3 = elt_styled.style; + t3.toString; + t4 = C.CssStyleDeclaration_methods._browserPropertyName$1(t3, "display"); + t3.setProperty(t4, "none", ""); + } + t3 = elt_styled.style; + t3.toString; + t4 = C.CssStyleDeclaration_methods._browserPropertyName$1(t3, style_name); + value = style_value == null ? "" : style_value; + t3.setProperty(t4, value, ""); + } + } + } + children_styled = elt_styled.childNodes; + children_orig = elt_orig.childNodes; + for (t1 = type$.legacy_Element, t2 = depth + 1, cd = 0; cd < children_styled.length; ++cd) { + if (cd >= children_orig.length) + return H.ioore(children_orig, cd); + t3 = children_orig[cd]; + if (!t1._is(t3)) + continue; + V.clone_and_apply_style_rec(t1._as(children_styled[cd]), t3, t2); + } + return elt_styled; + }, + get_svg_elements_of_base_pairs_closure: function get_svg_elements_of_base_pairs_closure(t0) { + this.helix = t0; + }, + make_portable_closure: function make_portable_closure(t0) { + this.text_ele = t0; + }, + helix_individual_reducer: function(helices, state, action) { + var t1, t2, helix, new_helix, helices_map; + type$.legacy_BuiltMap_of_legacy_int_and_legacy_Helix._as(helices); + type$.legacy_AppState._as(state); + type$.legacy_HelixIndividualAction._as(action); + t1 = action.get$helix_idx(); + t2 = helices._map$_map; + helix = J.$index$asx(t2, t1); + new_helix = $.$get$_helix_individual_reducers().call$3(helix, state, action); + if (!J.$eq$(new_helix, helix)) { + t1 = H._instanceType(helices); + t1 = t1._eval$1("@<1>")._bind$1(t1._rest[1]); + helices_map = new S.CopyOnWriteMap(helices._mapFactory, t2, t1._eval$1("CopyOnWriteMap<1,2>")); + t2 = t1._rest[0]._as(action.get$helix_idx()); + t1._rest[1]._as(new_helix); + helices_map._maybeCopyBeforeWrite$0(); + J.$indexSet$ax(helices_map._copy_on_write_map$_map, t2, new_helix); + return A.BuiltMap_BuiltMap$of(helices_map, type$.legacy_int, type$.legacy_Helix); + } else + return helices; + }, + helix_idx_change_reducer: function(design, state, action) { + var t1, t2, t3, helices, t4, strands, new_groups, t5, t6, t7, t8, t9, new_idx, t10, t11, helix, s, strand, substrands, changed_strand, d, substrand; + type$.legacy_Design._as(design); + type$.legacy_AppState._as(state); + type$.legacy_HelixIdxsChange._as(action); + t1 = design.helices; + t2 = t1._map$_map; + t3 = H._instanceType(t1); + t3 = t3._eval$1("@<1>")._bind$1(t3._rest[1]); + helices = new S.CopyOnWriteMap(t1._mapFactory, t2, t3._eval$1("CopyOnWriteMap<1,2>")); + t1 = design.strands; + t4 = H._instanceType(t1); + strands = new Q.CopyOnWriteList(true, t1._list, t4._eval$1("CopyOnWriteList<1>")); + new_groups = V.change_groups(action, helices, design); + helices.removeWhere$1(0, new V.helix_idx_change_reducer_closure(action)); + for (t1 = action.idx_replacements, t5 = J.get$iterator$ax(t1.get$keys(t1)), t6 = t3._rest[0], t3 = t3._rest[1], t7 = type$.legacy_void_Function_legacy_HelixBuilder, t8 = type$.legacy_Helix; t5.moveNext$0();) { + t9 = t5.get$current(t5); + new_idx = J.$index$asx(t1._map$_map, t9); + t9 = J.$index$asx(t2, t9); + t9.toString; + t10 = t7._as(new V.helix_idx_change_reducer_closure0(new_idx)); + t11 = new O.HelixBuilder(); + t11.get$_helix$_$this()._group = "default_group"; + t11.get$_helix$_$this()._min_offset = 0; + t11.get$_helix$_$this()._roll = 0; + t8._as(t9); + t11._helix$_$v = t9; + t10.call$1(t11); + helix = t11.build$0(); + t6._as(new_idx); + t3._as(helix); + helices._maybeCopyBeforeWrite$0(); + J.$indexSet$ax(helices._copy_on_write_map$_map, new_idx, helix); + } + t2 = type$.legacy_void_Function_legacy_DomainBuilder; + t4 = t4._precomputed1; + t3 = type$.legacy_void_Function_legacy_StrandBuilder; + s = 0; + while (true) { + t5 = J.get$length$asx(strands._copy_on_write_list$_list); + if (typeof t5 !== "number") + return H.iae(t5); + if (!(s < t5)) + break; + strand = J.$index$asx(strands._copy_on_write_list$_list, s); + t5 = strand.substrands; + t6 = t5._list; + t5 = H._instanceType(t5); + substrands = new Q.CopyOnWriteList(true, t6, t5._eval$1("CopyOnWriteList<1>")); + t7 = J.getInterceptor$asx(t6); + t5 = t5._precomputed1; + changed_strand = false; + d = 0; + while (true) { + t8 = t7.get$length(t6); + if (typeof t8 !== "number") + return H.iae(t8); + if (!(d < t8)) + break; + substrand = t7.$index(t6, d); + if (substrand instanceof G.Domain) { + t8 = substrand.helix; + new_idx = J.$index$asx(t1._map$_map, t8); + if (new_idx != null) { + t8 = t2._as(new V.helix_idx_change_reducer_closure1(new_idx)); + t9 = new G.DomainBuilder(); + t9._domain$_$v = substrand; + t8.call$1(t9); + t8 = t5._as(t9.build$0()); + substrands._copy_on_write_list$_maybeCopyBeforeWrite$0(); + J.$indexSet$ax(substrands._copy_on_write_list$_list, d, t8); + changed_strand = true; + } + } + ++d; + } + if (changed_strand) { + t5 = t3._as(new V.helix_idx_change_reducer_closure2(substrands)); + t6 = new E.StrandBuilder(); + t6._strand$_$v = strand; + t5.call$1(t6); + t5 = t4._as(t6.build$0()); + strands._copy_on_write_list$_maybeCopyBeforeWrite$0(); + J.$indexSet$ax(strands._copy_on_write_list$_list, s, t5); + } + ++s; + } + return design.rebuild$1(new V.helix_idx_change_reducer_closure3(new_groups, helices, strands)); + }, + change_groups: function(action, helices, design) { + var t2, t3, t4, t5, t6, group, new_groups, t7, t8, t9, t10, t11, t12, helix_idxs_in_group, previous_is_default, t13, helices_view_order_new, t14, t15, t16, order_old_idx, new_group, + t1 = type$.legacy_int, + new_view_order = P.LinkedHashMap_LinkedHashMap$_empty(t1, t1); + for (t2 = action.idx_replacements, t3 = J.get$iterator$ax(t2.get$keys(t2)), t4 = design.groups; t3.moveNext$0();) { + t5 = t3.get$current(t3); + t6 = J.$index$asx(helices._copy_on_write_map$_map, t5).group; + group = J.$index$asx(t4._map$_map, t6); + t6 = group.__helices_view_order_inverse; + if (t6 == null) { + t6 = O.HelixGroup.prototype.get$helices_view_order_inverse.call(group); + group.set$__helices_view_order_inverse(t6); + } + new_view_order.$indexSet(0, t5, J.$index$asx(t6._map$_map, t5)); + } + t3 = t4._map$_map; + t5 = H._instanceType(t4); + t5 = t5._eval$1("@<1>")._bind$1(t5._rest[1]); + new_groups = new S.CopyOnWriteMap(t4._mapFactory, t3, t5._eval$1("CopyOnWriteMap<1,2>")); + for (t4 = J.get$iterator$ax(t4.get$keys(t4)), t6 = t5._rest[0], t5 = t5._rest[1], t7 = type$.legacy_void_Function_legacy_HelixGroupBuilder, t8 = type$.legacy_ListBuilder_legacy_int, t9 = type$.List_legacy_int, t10 = type$.ListBuilder_legacy_int; t4.moveNext$0();) { + t11 = t4.get$current(t4); + group = J.$index$asx(t3, t11); + t12 = design.__helix_idxs_in_group; + if (t12 == null) { + t12 = N.Design.prototype.get$helix_idxs_in_group.call(design); + design.set$__helix_idxs_in_group(t12); + } + helix_idxs_in_group = J.$index$asx(t12._map$_map, t11); + if (t2._keys == null) + t2.set$_keys(J.get$keys$x(t2._map$_map)); + t12 = t2._keys; + t12.toString; + t12 = J.toSet$0$ax(t12).intersection$1(0, J.toSet$0$ax(helix_idxs_in_group._list)); + if (t12.get$isNotEmpty(t12)) { + previous_is_default = E.helices_view_order_is_default(helix_idxs_in_group, group); + t12 = group.helices_view_order; + t13 = H._instanceType(t12); + helices_view_order_new = new Q.CopyOnWriteList(true, t12._list, t13._eval$1("CopyOnWriteList<1>")); + if (t2._keys == null) + t2.set$_keys(J.get$keys$x(t2._map$_map)); + t12 = t2._keys; + t12.toString; + t12 = J.get$iterator$ax(t12); + t14 = t13._precomputed1; + for (; t12.moveNext$0();) { + t15 = t12.get$current(t12); + t16 = group.__helices_view_order_inverse; + if (t16 == null) { + t16 = O.HelixGroup.prototype.get$helices_view_order_inverse.call(group); + group.set$__helices_view_order_inverse(t16); + } + order_old_idx = J.$index$asx(t16._map$_map, t15); + if (order_old_idx != null) { + t15 = t14._as(J.$index$asx(t2._map$_map, t15)); + helices_view_order_new._copy_on_write_list$_maybeCopyBeforeWrite$0(); + J.$indexSet$ax(helices_view_order_new._copy_on_write_list$_list, order_old_idx, t15); + } + } + if (H.boolConversionCheck(previous_is_default)) { + t13._eval$1("int(1,1)?")._as(null); + helices_view_order_new._copy_on_write_list$_maybeCopyBeforeWrite$0(); + J.sort$1$ax(helices_view_order_new._copy_on_write_list$_list, null); + } + t12 = t7._as(new V.change_groups_closure(helices_view_order_new)); + t13 = new O.HelixGroupBuilder(); + t13.get$_group$_$this()._group$_grid = C.Grid_none; + t14 = $.$get$Position3D_origin(); + t14.toString; + t15 = new X.Position3DBuilder(); + t15._position3d$_$v = t14; + t13.get$_group$_$this()._group$_position = t15; + t13.get$_group$_$this()._pitch = 0; + t13.get$_group$_$this()._yaw = 0; + t13.get$_group$_$this()._group$_roll = 0; + t14 = new D.ListBuilder(t10); + t14.set$__ListBuilder__list(t9._as(P.List_List$from(C.List_empty, true, t1))); + t14.set$_listOwner(null); + t8._as(t14); + t13.get$_group$_$this().set$_group$_helices_view_order(t14); + t13._group$_$v = group; + t12.call$1(t13); + new_group = t13.build$0(); + t6._as(t11); + t5._as(new_group); + new_groups._maybeCopyBeforeWrite$0(); + J.$indexSet$ax(new_groups._copy_on_write_map$_map, t11, new_group); + } + } + return new_groups; + }, + helix_offset_change_reducer: function(helix, _, action) { + type$.legacy_Helix._as(helix); + type$.legacy_AppState._as(_); + type$.legacy_HelixOffsetChange._as(action); + return V._change_offset_one_helix(helix, action.min_offset, action.max_offset); + }, + _change_offset_one_helix: function(helix, min_offset, max_offset) { + return helix.rebuild$1(new V._change_offset_one_helix_closure(min_offset, helix, max_offset)); + }, + helix_offset_change_all_with_moving_strands_reducer: function(helices, state, action) { + var t1, new_strands_move, strand_bounds_details, $status, offsets; + type$.legacy_BuiltMap_of_legacy_int_and_legacy_Helix._as(helices); + type$.legacy_AppState._as(state); + type$.legacy_StrandsMoveAdjustAddress._as(action); + t1 = state.ui_state; + if (t1.storables.dynamically_update_helices) { + new_strands_move = t1.strands_move.rebuild$1(new V.helix_offset_change_all_with_moving_strands_reducer_closure(action)); + strand_bounds_details = D.get_strand_bounds_details(state.design, new_strands_move, null); + $status = type$.legacy_strand_bounds_status._as(strand_bounds_details.$index(0, "status")); + offsets = strand_bounds_details.$index(0, "offsets"); + if ($status === C.strand_bounds_status_2 || $status === C.strand_bounds_status_4) { + t1 = type$.legacy_Helix; + helices = N.BuiltMapValues_map_values(helices, new V.helix_offset_change_all_with_moving_strands_reducer_map_func(offsets), type$.legacy_int, t1, t1); + } else if ($status === C.strand_bounds_status_3 || $status === C.strand_bounds_status_5) { + t1 = type$.legacy_Helix; + helices = N.BuiltMapValues_map_values(helices, new V.helix_offset_change_all_with_moving_strands_reducer_map_func0(offsets), type$.legacy_int, t1, t1); + } + } + return helices; + }, + helix_offset_change_all_while_creating_strand_reducer: function(helices, state, action) { + var t1, strand_creation, t2, t3, helices_map, original_helix_offsets, t4, t5, t6, t7; + type$.legacy_BuiltMap_of_legacy_int_and_legacy_Helix._as(helices); + type$.legacy_AppState._as(state); + type$.legacy_StrandCreateAdjustOffset._as(action); + t1 = state.ui_state; + if (t1.storables.dynamically_update_helices) { + strand_creation = t1.strand_creation; + if (strand_creation != null) { + t2 = helices._map$_map; + t3 = H._instanceType(helices); + t3 = t3._eval$1("@<1>")._bind$1(t3._rest[1]); + helices_map = new S.CopyOnWriteMap(helices._mapFactory, t2, t3._eval$1("CopyOnWriteMap<1,2>")); + original_helix_offsets = t1.original_helix_offsets; + t1 = strand_creation.helix.idx; + t4 = J.getInterceptor$asx(t2); + t5 = t4.$index(t2, t1).min_offset; + t6 = action.offset; + if (typeof t6 !== "number") + return H.iae(t6); + if (t5 > t6) { + t2 = t4.$index(t2, t1).rebuild$1(new V.helix_offset_change_all_while_creating_strand_reducer_closure(action)); + t3._rest[0]._as(t1); + t3._rest[1]._as(t2); + helices_map._maybeCopyBeforeWrite$0(); + J.$indexSet$ax(helices_map._copy_on_write_map$_map, t1, t2); + return A.BuiltMap_BuiltMap$of(helices_map, type$.legacy_int, type$.legacy_Helix); + } + if (t4.$index(t2, t1).max_offset <= t6) { + t2 = t4.$index(t2, t1).rebuild$1(new V.helix_offset_change_all_while_creating_strand_reducer_closure0(action)); + t3._rest[0]._as(t1); + t3._rest[1]._as(t2); + helices_map._maybeCopyBeforeWrite$0(); + J.$indexSet$ax(helices_map._copy_on_write_map$_map, t1, t2); + return A.BuiltMap_BuiltMap$of(helices_map, type$.legacy_int, type$.legacy_Helix); + } + if (t6 > t4.$index(t2, t1).min_offset) { + t5 = t4.$index(t2, t1).min_offset; + t7 = J.$index$asx(J.$index$asx(original_helix_offsets._map$_map, t1)._list, 0); + if (typeof t7 !== "number") + return H.iae(t7); + t7 = t5 < t7; + t5 = t7; + } else + t5 = false; + if (t5) { + t2 = t4.$index(t2, t1).rebuild$1(new V.helix_offset_change_all_while_creating_strand_reducer_closure1(action)); + t3._rest[0]._as(t1); + t3._rest[1]._as(t2); + helices_map._maybeCopyBeforeWrite$0(); + J.$indexSet$ax(helices_map._copy_on_write_map$_map, t1, t2); + return A.BuiltMap_BuiltMap$of(helices_map, type$.legacy_int, type$.legacy_Helix); + } + if (t6 < t4.$index(t2, t1).max_offset + 1) { + t5 = t4.$index(t2, t1).max_offset; + t6 = J.$index$asx(J.$index$asx(original_helix_offsets._map$_map, t1)._list, 1); + if (typeof t6 !== "number") + return H.iae(t6); + t6 = t5 > t6; + t5 = t6; + } else + t5 = false; + if (t5) { + t2 = t4.$index(t2, t1).rebuild$1(new V.helix_offset_change_all_while_creating_strand_reducer_closure2(action)); + t3._rest[0]._as(t1); + t3._rest[1]._as(t2); + helices_map._maybeCopyBeforeWrite$0(); + J.$indexSet$ax(helices_map._copy_on_write_map$_map, t1, t2); + return A.BuiltMap_BuiltMap$of(helices_map, type$.legacy_int, type$.legacy_Helix); + } + } + } + return helices; + }, + first_replace_strands_reducer: function(helices, state, action) { + var t1, t2, t3, changed_strands, min_offsets, max_offsets, key, t4, t5, helix_idx, t6, t7, t8, helices_map, t9, t10, t11, + _s10_ = "No element", + _s13_ = "default_group"; + type$.legacy_BuiltMap_of_legacy_int_and_legacy_Helix._as(helices); + type$.legacy_AppState._as(state); + t1 = type$.legacy_ReplaceStrands._as(action).new_strands; + t2 = t1._map$_map; + t3 = H._instanceType(t1); + changed_strands = new S.CopyOnWriteMap(t1._mapFactory, t2, t3._eval$1("@<1>")._bind$1(t3._rest[1])._eval$1("CopyOnWriteMap<1,2>")); + t3 = type$.legacy_int; + min_offsets = P.LinkedHashMap_LinkedHashMap$_empty(t3, t3); + max_offsets = P.LinkedHashMap_LinkedHashMap$_empty(t3, t3); + for (t1 = J.get$iterator$ax(J.get$keys$x(t2)), t2 = type$.JSArray_legacy_int; t1.moveNext$0();) { + key = H._asIntS(t1.get$current(t1)); + for (t4 = J.get$iterator$ax(J.$index$asx(changed_strands._copy_on_write_map$_map, key).substrands._list); t4.moveNext$0();) { + t5 = t4.get$current(t4); + if (t5 instanceof G.Domain) { + helix_idx = t5.helix; + t6 = t5.start; + t7 = helices._map$_map; + t8 = J.getInterceptor$asx(t7); + if (t6 < t8.$index(t7, helix_idx).min_offset) + if (min_offsets.containsKey$1(0, helix_idx)) { + t6 = A.IterableIntegerExtension_get_minOrNull(H.setRuntimeTypeInfo([min_offsets.$index(0, helix_idx), t6], t2)); + min_offsets.$indexSet(0, helix_idx, t6 == null ? H.throwExpression(P.StateError$(_s10_)) : t6); + } else + min_offsets.$indexSet(0, helix_idx, t6); + t5 = t5.end; + if (t5 > t8.$index(t7, helix_idx).max_offset) + if (max_offsets.containsKey$1(0, helix_idx)) { + t5 = A.IterableIntegerExtension_get_maxOrNull(H.setRuntimeTypeInfo([max_offsets.$index(0, helix_idx), t5], t2)); + max_offsets.$indexSet(0, helix_idx, t5 == null ? H.throwExpression(P.StateError$(_s10_)) : t5); + } else + max_offsets.$indexSet(0, helix_idx, t5); + } + } + } + t1 = helices._map$_map; + t2 = H._instanceType(helices); + t2 = t2._eval$1("@<1>")._bind$1(t2._rest[1]); + helices_map = new S.CopyOnWriteMap(helices._mapFactory, t1, t2._eval$1("CopyOnWriteMap<1,2>")); + if (min_offsets.get$length(min_offsets) > 0) + for (t1 = min_offsets.get$keys(min_offsets), t1 = t1.get$iterator(t1), t4 = t2._rest[0], t5 = t2._rest[1], t6 = type$.legacy_void_Function_legacy_HelixBuilder, t7 = type$.legacy_Helix; t1.moveNext$0();) { + t8 = t1.get$current(t1); + t9 = J.$index$asx(helices_map._copy_on_write_map$_map, t8); + t9.toString; + t10 = t6._as(new V.first_replace_strands_reducer_closure(min_offsets, t8)); + t11 = new O.HelixBuilder(); + t11.get$_helix$_$this()._group = _s13_; + t11.get$_helix$_$this()._min_offset = 0; + t11.get$_helix$_$this()._roll = 0; + t7._as(t9); + t11._helix$_$v = t9; + t10.call$1(t11); + t9 = t11.build$0(); + t4._as(t8); + t5._as(t9); + helices_map._maybeCopyBeforeWrite$0(); + J.$indexSet$ax(helices_map._copy_on_write_map$_map, t8, t9); + } + if (max_offsets.get$length(max_offsets) > 0) + for (t1 = max_offsets.get$keys(max_offsets), t1 = t1.get$iterator(t1), t4 = t2._rest[0], t2 = t2._rest[1], t5 = type$.legacy_void_Function_legacy_HelixBuilder, t6 = type$.legacy_Helix; t1.moveNext$0();) { + t7 = t1.get$current(t1); + t8 = J.$index$asx(helices_map._copy_on_write_map$_map, t7); + t8.toString; + t9 = t5._as(new V.first_replace_strands_reducer_closure0(max_offsets, t7)); + t10 = new O.HelixBuilder(); + t10.get$_helix$_$this()._group = _s13_; + t10.get$_helix$_$this()._min_offset = 0; + t10.get$_helix$_$this()._roll = 0; + t6._as(t8); + t10._helix$_$v = t8; + t9.call$1(t10); + t8 = t10.build$0(); + t4._as(t7); + t2._as(t8); + helices_map._maybeCopyBeforeWrite$0(); + J.$indexSet$ax(helices_map._copy_on_write_map$_map, t7, t8); + } + return A.BuiltMap_BuiltMap$of(helices_map, t3, type$.legacy_Helix); + }, + reset_helices_offsets: function(helices, state) { + var helices_updated, original_helix_offsets, t3, t4, t5, t6, t7, t8, t9, current_helix_min_offset, t10, t11, t12, current_helix_max_offset, + _s13_ = "default_group", + t1 = helices._map$_map, + t2 = H._instanceType(helices); + t2 = t2._eval$1("@<1>")._bind$1(t2._rest[1]); + helices_updated = new S.CopyOnWriteMap(helices._mapFactory, t1, t2._eval$1("CopyOnWriteMap<1,2>")); + original_helix_offsets = state.ui_state.original_helix_offsets; + for (t1 = J.get$iterator$ax(original_helix_offsets.get$keys(original_helix_offsets)), t3 = original_helix_offsets._map$_map, t4 = J.getInterceptor$asx(t3), t5 = state.design, t6 = t2._rest[0], t2 = t2._rest[1], t7 = type$.legacy_void_Function_legacy_HelixBuilder, t8 = type$.legacy_Helix; t1.moveNext$0();) { + t9 = t1.get$current(t1); + current_helix_min_offset = t5.min_offset_of_strands_at$1(t9); + t10 = J.$index$asx(t4.$index(t3, t9)._list, 0); + if (typeof t10 !== "number") + return H.iae(t10); + if (current_helix_min_offset >= t10) { + t10 = J.$index$asx(helices_updated._copy_on_write_map$_map, t9); + t10.toString; + t11 = t7._as(new V.reset_helices_offsets_closure(original_helix_offsets, t9)); + t12 = new O.HelixBuilder(); + t12.get$_helix$_$this()._group = _s13_; + t12.get$_helix$_$this()._min_offset = 0; + t12.get$_helix$_$this()._roll = 0; + t8._as(t10); + t12._helix$_$v = t10; + t11.call$1(t12); + t10 = t12.build$0(); + t6._as(t9); + t2._as(t10); + helices_updated._maybeCopyBeforeWrite$0(); + J.$indexSet$ax(helices_updated._copy_on_write_map$_map, t9, t10); + } + current_helix_max_offset = t5.max_offset_of_strands_at$1(t9); + t10 = J.$index$asx(t4.$index(t3, t9)._list, 1); + if (typeof t10 !== "number") + return H.iae(t10); + if (current_helix_max_offset <= t10) { + t10 = J.$index$asx(helices_updated._copy_on_write_map$_map, t9); + t10.toString; + t11 = t7._as(new V.reset_helices_offsets_closure0(original_helix_offsets, t9)); + t12 = new O.HelixBuilder(); + t12.get$_helix$_$this()._group = _s13_; + t12.get$_helix$_$this()._min_offset = 0; + t12.get$_helix$_$this()._roll = 0; + t8._as(t10); + t12._helix$_$v = t10; + t11.call$1(t12); + t10 = t12.build$0(); + t6._as(t9); + t2._as(t10); + helices_updated._maybeCopyBeforeWrite$0(); + J.$indexSet$ax(helices_updated._copy_on_write_map$_map, t9, t10); + } + } + return A.BuiltMap_BuiltMap$of(helices_updated, type$.legacy_int, t8); + }, + reset_helices_offsets_after_selections_clear: function(helices, state, action) { + type$.legacy_BuiltMap_of_legacy_int_and_legacy_Helix._as(helices); + type$.legacy_AppState._as(state); + type$.legacy_SelectionsClear._as(action); + return V.reset_helices_offsets(helices, state); + }, + helix_offset_change_all_reducer: function(helices, state, action) { + var t1; + type$.legacy_BuiltMap_of_legacy_int_and_legacy_Helix._as(helices); + type$.legacy_AppState._as(state); + t1 = type$.legacy_Helix; + return N.BuiltMapValues_map_values(helices, new V.helix_offset_change_all_reducer_map_func(type$.legacy_HelixOffsetChangeAll._as(action)), type$.legacy_int, t1, t1); + }, + helix_min_offset_set_by_domains_reducer: function(helix, state, action) { + type$.legacy_Helix._as(helix); + type$.legacy_AppState._as(state); + type$.legacy_HelixMinOffsetSetByDomains._as(action); + return V._min_offset_set_by_domains_one_helix(helix, state.design); + }, + helix_max_offset_set_by_domains_reducer: function(helix, state, action) { + type$.legacy_Helix._as(helix); + type$.legacy_AppState._as(state); + type$.legacy_HelixMaxOffsetSetByDomains._as(action); + return V._max_offset_set_by_domains_one_helix(helix, state.design); + }, + _min_offset_set_by_domains_one_helix: function(helix, design) { + var t2, + domains = design.domains_on_helix$1(helix.idx), + t1 = H.setRuntimeTypeInfo([], type$.JSArray_legacy_int); + for (t2 = J.get$iterator$ax(domains); t2.moveNext$0();) + t1.push(t2.get$current(t2).start); + return helix.rebuild$1(new V._min_offset_set_by_domains_one_helix_closure(A.IterableIntegerExtension_get_min(t1))); + }, + _max_offset_set_by_domains_one_helix: function(helix, design) { + var t2, + domains = design.domains_on_helix$1(helix.idx), + t1 = H.setRuntimeTypeInfo([], type$.JSArray_legacy_int); + for (t2 = J.get$iterator$ax(domains); t2.moveNext$0();) + t1.push(t2.get$current(t2).end); + return helix.rebuild$1(new V._max_offset_set_by_domains_one_helix_closure(t1.length !== 0 ? A.IterableIntegerExtension_get_max(t1) : 10)); + }, + helix_min_offset_set_by_domains_all_reducer: function(helices, state, action) { + var t1; + type$.legacy_BuiltMap_of_legacy_int_and_legacy_Helix._as(helices); + type$.legacy_AppState._as(state); + type$.legacy_HelixMinOffsetSetByDomainsAll._as(action); + t1 = type$.legacy_Helix; + return N.BuiltMapValues_map_values(helices, new V.helix_min_offset_set_by_domains_all_reducer_map_func(state), type$.legacy_int, t1, t1); + }, + helix_max_offset_set_by_domains_all_reducer: function(helices, state, action) { + var t1; + type$.legacy_BuiltMap_of_legacy_int_and_legacy_Helix._as(helices); + type$.legacy_AppState._as(state); + type$.legacy_HelixMaxOffsetSetByDomainsAll._as(action); + t1 = type$.legacy_Helix; + return N.BuiltMapValues_map_values(helices, new V.helix_max_offset_set_by_domains_all_reducer_map_func(state), type$.legacy_int, t1, t1); + }, + helix_max_offset_set_by_domains_all_same_max_reducer: function(helices, state, action) { + var design, t1, t2, domains, t3, t4, this_max_offset, _box_0 = {}; + type$.legacy_BuiltMap_of_legacy_int_and_legacy_Helix._as(helices); + type$.legacy_AppState._as(state); + type$.legacy_HelixMaxOffsetSetByDomainsAllSameMax._as(action); + design = state.design; + _box_0.max_offset = null; + for (t1 = J.get$iterator$ax(helices.get$keys(helices)), t2 = type$.JSArray_legacy_int; t1.moveNext$0();) { + domains = design.domains_on_helix$1(t1.get$current(t1)); + t3 = H.setRuntimeTypeInfo([], t2); + for (t4 = J.get$iterator$ax(domains); t4.moveNext$0();) + t3.push(t4.get$current(t4).end); + if (t3.length !== 0) { + t3 = A.IterableIntegerExtension_get_maxOrNull(t3); + this_max_offset = t3 == null ? H.throwExpression(P.StateError$("No element")) : t3; + } else + this_max_offset = 10; + t3 = _box_0.max_offset; + if (t3 == null) + _box_0.max_offset = this_max_offset; + else + t3 = _box_0.max_offset = Math.max(t3, this_max_offset); + } + if (_box_0.max_offset == null) + _box_0.max_offset = 10; + t1 = type$.legacy_Helix; + return N.BuiltMapValues_map_values(helices, new V.helix_max_offset_set_by_domains_all_same_max_reducer_closure(_box_0), type$.legacy_int, t1, t1); + }, + helix_major_tick_distance_change_all_reducer: function(helices, action) { + var t1 = type$.legacy_Helix; + return N.BuiltMapValues_map_values(type$.legacy_BuiltMap_of_legacy_int_and_legacy_Helix._as(helices), new V.helix_major_tick_distance_change_all_reducer_closure(type$.legacy_HelixMajorTickDistanceChangeAll._as(action)), type$.legacy_int, t1, t1); + }, + helix_major_ticks_change_all_reducer: function(helices, action) { + var t1 = type$.legacy_Helix; + return N.BuiltMapValues_map_values(type$.legacy_BuiltMap_of_legacy_int_and_legacy_Helix._as(helices), new V.helix_major_ticks_change_all_reducer_closure(type$.legacy_HelixMajorTicksChangeAll._as(action)), type$.legacy_int, t1, t1); + }, + helix_major_tick_start_change_all_reducer: function(helices, action) { + var t1 = type$.legacy_Helix; + return N.BuiltMapValues_map_values(type$.legacy_BuiltMap_of_legacy_int_and_legacy_Helix._as(helices), new V.helix_major_tick_start_change_all_reducer_closure(type$.legacy_HelixMajorTickStartChangeAll._as(action)), type$.legacy_int, t1, t1); + }, + helix_major_tick_periodic_distances_change_all_reducer: function(helices, action) { + var t1 = type$.legacy_Helix; + return N.BuiltMapValues_map_values(type$.legacy_BuiltMap_of_legacy_int_and_legacy_Helix._as(helices), new V.helix_major_tick_periodic_distances_change_all_reducer_closure(type$.legacy_HelixMajorTickPeriodicDistancesChangeAll._as(action)), type$.legacy_int, t1, t1); + }, + helix_major_tick_distance_change_reducer: function(helix, _, action) { + type$.legacy_Helix._as(helix); + type$.legacy_AppState._as(_); + return V._change_major_tick_distance_one_helix(helix, type$.legacy_HelixMajorTickDistanceChange._as(action).major_tick_distance); + }, + helix_major_tick_periodic_distances_change_reducer: function(helix, _, action) { + type$.legacy_Helix._as(helix); + type$.legacy_AppState._as(_); + return V._change_major_tick_periodic_distances_one_helix(helix, type$.legacy_HelixMajorTickPeriodicDistancesChange._as(action).major_tick_periodic_distances); + }, + helix_major_tick_start_change_reducer: function(helix, _, action) { + type$.legacy_Helix._as(helix); + type$.legacy_AppState._as(_); + return V._change_major_tick_start_one_helix(helix, type$.legacy_HelixMajorTickStartChange._as(action).major_tick_start); + }, + helix_major_ticks_change_reducer: function(helix, _, action) { + type$.legacy_Helix._as(helix); + type$.legacy_AppState._as(_); + return V._change_major_ticks_one_helix(helix, type$.legacy_HelixMajorTicksChange._as(action).major_ticks); + }, + _change_major_tick_distance_one_helix: function(helix, major_tick_distance) { + return helix.rebuild$1(new V._change_major_tick_distance_one_helix_closure(major_tick_distance)); + }, + _change_major_tick_start_one_helix: function(helix, major_tick_start) { + return helix.rebuild$1(new V._change_major_tick_start_one_helix_closure(major_tick_start)); + }, + _change_major_tick_periodic_distances_one_helix: function(helix, major_tick_periodic_distances) { + return helix.rebuild$1(new V._change_major_tick_periodic_distances_one_helix_closure(major_tick_periodic_distances)); + }, + _change_major_ticks_one_helix: function(helix, major_ticks) { + return helix.rebuild$1(new V._change_major_ticks_one_helix_closure(major_ticks)); + }, + helix_roll_set_reducer: function(helix, _, action) { + type$.legacy_Helix._as(helix); + type$.legacy_AppState._as(_); + return helix.rebuild$1(new V.helix_roll_set_reducer_closure(type$.legacy_HelixRollSet._as(action))); + }, + helix_roll_set_at_other_reducer: function(helices, state, action) { + var t1, t2, t3, helix, helix_other, geometry, rotation, old_rotation_at_anchor, helix_new, helices_builder; + type$.legacy_BuiltMap_of_legacy_int_and_legacy_Helix._as(helices); + type$.legacy_AppState._as(state); + type$.legacy_HelixRollSetAtOther._as(action); + t1 = action.helix_idx; + t2 = helices._map$_map; + t3 = J.getInterceptor$asx(t2); + helix = t3.$index(t2, t1); + helix_other = t3.$index(t2, action.helix_other_idx); + t3 = state.design; + geometry = t3.geometry; + rotation = E.rotation_between_helices(helix, helix_other, action.forward, geometry); + old_rotation_at_anchor = t3.helix_rotation_forward$2(helix.idx, action.anchor); + helix_new = helix.rebuild$1(new V.helix_roll_set_at_other_reducer_closure(C.JSNumber_methods.$mod(helix.roll + (rotation - old_rotation_at_anchor), 360))); + t3 = H._instanceType(helices); + t3._eval$1("_BuiltMap<1,2>")._as(helices); + helices_builder = new A.MapBuilder(helices._mapFactory, t2, helices, t3._eval$1("@<1>")._bind$1(t3._rest[1])._eval$1("MapBuilder<1,2>")); + helices_builder.$indexSet(0, t1, helix_new); + return helices_builder.build$0(); + }, + helix_add_design_reducer: function(design, state, action) { + var t1, t2, num_helices, new_idx, min_offset, max_offset, t3, t4, t5, t6, group, t7, t8, new_helices_view_order, new_group, new_groups, helix, new_helices; + type$.legacy_Design._as(design); + type$.legacy_AppState._as(state); + type$.legacy_HelixAdd._as(action); + t1 = design.helices; + t2 = t1._map$_map; + num_helices = J.get$length$asx(t2); + if (typeof num_helices !== "number") + return num_helices.$gt(); + if (num_helices > 0) { + new_idx = A.IterableIntegerExtension_get_max(t1.get$keys(t1)) + 1; + min_offset = design.__min_offset; + if (min_offset == null) { + min_offset = N.Design.prototype.get$min_offset.call(design); + design.__min_offset = min_offset; + } + max_offset = design.__max_offset; + if (max_offset == null) { + max_offset = N.Design.prototype.get$max_offset.call(design); + design.__max_offset = max_offset; + } + } else { + new_idx = 0; + min_offset = 0; + max_offset = 64; + } + t3 = design.groups; + t4 = state.ui_state.storables; + t5 = t4.displayed_group_name; + t6 = t3._map$_map; + group = J.$index$asx(t6, t5); + t7 = group.helices_view_order; + t8 = H._instanceType(t7); + new_helices_view_order = new Q.CopyOnWriteList(true, t7._list, t8._eval$1("CopyOnWriteList<1>")); + t8._precomputed1._as(new_idx); + new_helices_view_order._copy_on_write_list$_maybeCopyBeforeWrite$0(); + J.add$1$ax(new_helices_view_order._copy_on_write_list$_list, new_idx); + new_group = group.rebuild$1(new V.helix_add_design_reducer_closure(new_helices_view_order)); + t8 = H._instanceType(t3); + t8 = t8._eval$1("@<1>")._bind$1(t8._rest[1]); + new_groups = new S.CopyOnWriteMap(t3._mapFactory, t6, t8._eval$1("CopyOnWriteMap<1,2>")); + t8._rest[0]._as(t5); + t8._rest[1]._as(new_group); + new_groups._maybeCopyBeforeWrite$0(); + J.$indexSet$ax(new_groups._copy_on_write_map$_map, t5, new_group); + t8 = group.grid; + t6 = design.geometry; + t3 = action.grid_position; + t7 = action.position; + helix = O.Helix_Helix(t6, t8, t3, t5, new_idx, t4.invert_y, max_offset, min_offset, t7); + t7 = H._instanceType(t1); + t7 = t7._eval$1("@<1>")._bind$1(t7._rest[1]); + new_helices = new S.CopyOnWriteMap(t1._mapFactory, t2, t7._eval$1("CopyOnWriteMap<1,2>")); + t2 = t7._rest[0]._as(helix.idx); + t7._rest[1]._as(helix); + new_helices._maybeCopyBeforeWrite$0(); + J.$indexSet$ax(new_helices._copy_on_write_map$_map, t2, helix); + return design.rebuild$1(new V.helix_add_design_reducer_closure0(new_helices, new_groups)); + }, + helix_remove_design_global_reducer: function(design, state, action) { + var t1, substrands_on_helix, strands_with_substrands_removed, new_helices, t2, t3, t4, group, t5, new_helices_view_order, new_group, new_groups; + type$.legacy_Design._as(design); + type$.legacy_AppState._as(state); + type$.legacy_HelixRemove._as(action); + t1 = action.helix_idx; + substrands_on_helix = J.toSet$0$ax(design.domains_on_helix$1(t1)); + strands_with_substrands_removed = G.remove_domains(design.strands, state, substrands_on_helix); + new_helices = V.remove_helix_assuming_no_domains(design.helices, action); + t2 = design.groups; + t3 = state.ui_state.storables.displayed_group_name; + t4 = t2._map$_map; + group = J.$index$asx(t4, t3); + t5 = group.helices_view_order; + new_helices_view_order = new Q.CopyOnWriteList(true, t5._list, H._instanceType(t5)._eval$1("CopyOnWriteList<1>")); + new_helices_view_order._copy_on_write_list$_maybeCopyBeforeWrite$0(); + J.remove$1$ax(new_helices_view_order._copy_on_write_list$_list, t1); + new_group = group.rebuild$1(new V.helix_remove_design_global_reducer_closure(new_helices_view_order)); + t1 = H._instanceType(t2); + t1 = t1._eval$1("@<1>")._bind$1(t1._rest[1]); + new_groups = new S.CopyOnWriteMap(t2._mapFactory, t4, t1._eval$1("CopyOnWriteMap<1,2>")); + t1._rest[0]._as(t3); + t1._rest[1]._as(new_group); + new_groups._maybeCopyBeforeWrite$0(); + J.$indexSet$ax(new_groups._copy_on_write_map$_map, t3, new_group); + return design.rebuild$1(new V.helix_remove_design_global_reducer_closure0(new_helices, new_groups, strands_with_substrands_removed)); + }, + helix_remove_all_selected_design_global_reducer: function(design, state, action) { + var helix_idxs, substrands_on_helices, strands_with_substrands_removed, new_helices, t1, t2, t3, new_groups, t4, t5, t6, t7, t8, t9, t10, group, t11, new_helices_view_order, t12, t13, t14, new_group; + type$.legacy_Design._as(design); + type$.legacy_AppState._as(state); + type$.legacy_HelixRemoveAllSelected._as(action); + helix_idxs = state.ui_state.storables.side_selected_helix_idxs; + substrands_on_helices = J.toSet$0$ax(design.domains_on_helices$1(helix_idxs)._list); + strands_with_substrands_removed = G.remove_domains(design.strands, state, substrands_on_helices); + new_helices = V.remove_helices_assuming_no_domains(design.helices, helix_idxs); + t1 = design.groups; + t2 = t1._map$_map; + t3 = H._instanceType(t1); + t3 = t3._eval$1("@<1>")._bind$1(t3._rest[1]); + new_groups = new S.CopyOnWriteMap(t1._mapFactory, t2, t3._eval$1("CopyOnWriteMap<1,2>")); + for (t1 = J.get$iterator$ax(t1.get$keys(t1)), t4 = t3._rest[0], t3 = t3._rest[1], t5 = type$.legacy_void_Function_legacy_HelixGroupBuilder, t6 = type$.legacy_ListBuilder_legacy_int, t7 = type$.legacy_int, t8 = type$.List_legacy_int, t9 = type$.ListBuilder_legacy_int; t1.moveNext$0();) { + t10 = t1.get$current(t1); + group = J.$index$asx(t2, t10); + t11 = group.helices_view_order; + new_helices_view_order = new Q.CopyOnWriteList(true, t11._list, H._instanceType(t11)._eval$1("CopyOnWriteList<1>")); + for (t11 = helix_idxs._set, t11 = t11.get$iterator(t11); t11.moveNext$0();) { + t12 = t11.get$current(t11); + new_helices_view_order._copy_on_write_list$_maybeCopyBeforeWrite$0(); + J.remove$1$ax(new_helices_view_order._copy_on_write_list$_list, t12); + } + t11 = t5._as(new V.helix_remove_all_selected_design_global_reducer_closure(new_helices_view_order)); + t12 = new O.HelixGroupBuilder(); + t12.get$_group$_$this()._group$_grid = C.Grid_none; + t13 = $.$get$Position3D_origin(); + t13.toString; + t14 = new X.Position3DBuilder(); + t14._position3d$_$v = t13; + t12.get$_group$_$this()._group$_position = t14; + t12.get$_group$_$this()._pitch = 0; + t12.get$_group$_$this()._yaw = 0; + t12.get$_group$_$this()._group$_roll = 0; + t13 = new D.ListBuilder(t9); + t13.set$__ListBuilder__list(t8._as(P.List_List$from(C.List_empty, true, t7))); + t13.set$_listOwner(null); + t6._as(t13); + t12.get$_group$_$this().set$_group$_helices_view_order(t13); + t12._group$_$v = group; + t11.call$1(t12); + new_group = t12.build$0(); + t4._as(t10); + t3._as(new_group); + new_groups._maybeCopyBeforeWrite$0(); + J.$indexSet$ax(new_groups._copy_on_write_map$_map, t10, new_group); + } + return design.rebuild$1(new V.helix_remove_all_selected_design_global_reducer_closure0(new_helices, new_groups, strands_with_substrands_removed)); + }, + remove_helix_assuming_no_domains: function(helices, action) { + return helices.rebuild$1(new V.remove_helix_assuming_no_domains_closure(action)); + }, + remove_helices_assuming_no_domains: function(helices, helix_idxs) { + return helices.rebuild$1(new V.remove_helices_assuming_no_domains_closure(helix_idxs)); + }, + helix_grid_change_reducer: function(helices, state, action) { + var t1, t2, new_helices, t3, geometry, t4, t5, t6, t7, helix, helix_builder, t8, t9, t10, position_normalized_diameter_1, gp; + type$.legacy_BuiltMap_of_legacy_int_and_legacy_Helix._as(helices); + type$.legacy_AppState._as(state); + type$.legacy_GridChange._as(action); + t1 = helices._map$_map; + t2 = H._instanceType(helices); + t2 = t2._eval$1("@<1>")._bind$1(t2._rest[1]); + new_helices = new S.CopyOnWriteMap(helices._mapFactory, t1, t2._eval$1("CopyOnWriteMap<1,2>")); + t3 = state.design; + geometry = t3.geometry; + for (t3 = J.get$iterator$ax(J.$index$asx(t3.get$helix_idxs_in_group()._map$_map, action.group_name)._list), t4 = t2._rest[0], t2 = t2._rest[1], t5 = action.grid, t6 = J.getInterceptor$asx(t1); t3.moveNext$0();) { + t7 = t3.get$current(t3); + helix = t6.$index(t1, t7); + helix.toString; + helix_builder = new O.HelixBuilder(); + helix_builder.get$_helix$_$this()._group = "default_group"; + helix_builder.get$_helix$_$this()._min_offset = 0; + helix_builder.get$_helix$_$this()._roll = 0; + helix_builder._helix$_$v = helix; + helix_builder.get$_helix$_$this()._grid = t5; + t5.toString; + t8 = t5 === C.Grid_none; + if (!t8 && helix.grid_position == null) { + t9 = helix.position_; + if (t9 == null) + t9 = E.grid_position_to_position3d(helix.grid_position, helix.grid, helix.geometry); + t10 = geometry.__distance_between_helices_nm; + t10 = 1 / (t10 == null ? geometry.__distance_between_helices_nm = N.Geometry.prototype.get$distance_between_helices_nm.call(geometry) : t10); + position_normalized_diameter_1 = X.Position3D_Position3D(t9.x * t10, t9.y * t10, t9.z * t10); + gp = E.position_2d_to_grid_position_diameter_1_circles(t5, position_normalized_diameter_1.z, position_normalized_diameter_1.y, C.HexGridCoordinateSystem_2); + t10 = new D.GridPositionBuilder(); + t10._grid_position$_$v = gp; + helix_builder.get$_helix$_$this()._grid_position = t10; + helix_builder.get$_helix$_$this()._position_ = null; + } + if (t8 && helix.position_ == null) { + helix_builder.get$_helix$_$this()._grid_position = null; + t8 = E.grid_position_to_position3d(helix.grid_position, helix.grid, geometry); + t9 = new X.Position3DBuilder(); + t9._position3d$_$v = t8; + helix_builder.get$_helix$_$this()._position_ = t9; + } + t8 = helix_builder.build$0(); + t4._as(t7); + t2._as(t8); + new_helices._maybeCopyBeforeWrite$0(); + J.$indexSet$ax(new_helices._copy_on_write_map$_map, t7, t8); + } + return A.BuiltMap_BuiltMap$of(new_helices, type$.legacy_int, type$.legacy_Helix); + }, + relax_helix_rolls_reducer: function(helices, state, action) { + var helix_idxs_to_relax, t1, t2, new_helices_map, t3, t4, helix, t5, t6, helix_relaxed; + type$.legacy_BuiltMap_of_legacy_int_and_legacy_Helix._as(helices); + type$.legacy_AppState._as(state); + helix_idxs_to_relax = type$.legacy_RelaxHelixRolls._as(action).only_selected ? state.ui_state.storables.side_selected_helix_idxs : state.design.get$helix_idxs(); + t1 = helices._map$_map; + t2 = H._instanceType(helices); + t2 = t2._eval$1("@<1>")._bind$1(t2._rest[1]); + new_helices_map = new S.CopyOnWriteMap(helices._mapFactory, t1, t2._eval$1("CopyOnWriteMap<1,2>")); + for (t1 = helix_idxs_to_relax.get$iterator(helix_idxs_to_relax), t3 = t2._rest[0], t2 = t2._rest[1]; t1.moveNext$0();) { + t4 = t1.get$current(t1); + helix = J.$index$asx(new_helices_map._copy_on_write_map$_map, t4); + t5 = state.design; + t6 = t5.__helix_to_crossover_addresses_disallow_intrahelix_disallow_intergroup; + if (t6 == null) { + t6 = N.Design.prototype.get$helix_to_crossover_addresses_disallow_intrahelix_disallow_intergroup.call(t5); + t5.set$__helix_to_crossover_addresses_disallow_intrahelix_disallow_intergroup(t6); + t5 = t6; + } else + t5 = t6; + helix_relaxed = helix.relax_roll$2(helices, J.$index$asx(t5._map$_map, t4)); + t3._as(t4); + t2._as(helix_relaxed); + new_helices_map._maybeCopyBeforeWrite$0(); + J.$indexSet$ax(new_helices_map._copy_on_write_map$_map, t4, helix_relaxed); + } + return A.BuiltMap_BuiltMap$of(new_helices_map, type$.legacy_int, type$.legacy_Helix); + }, + helix_group_change_reducer: function(helices, state, action) { + var t1; + type$.legacy_BuiltMap_of_legacy_int_and_legacy_Helix._as(helices); + type$.legacy_AppState._as(state); + t1 = type$.legacy_Helix; + return N.BuiltMapValues_map_values(helices, new V.helix_group_change_reducer_closure(type$.legacy_GroupChange._as(action)), type$.legacy_int, t1, t1); + }, + helix_individual_grid_position_set_reducer: function(helix, action) { + return helix.rebuild$1(new V.helix_individual_grid_position_set_reducer_closure(action)); + }, + helix_grid_position_set_reducer: function(helices, state, action) { + var t1, t2, helix, new_helix, t3, helices_map; + type$.legacy_BuiltMap_of_legacy_int_and_legacy_Helix._as(helices); + type$.legacy_AppState._as(state); + type$.legacy_HelixGridPositionSet._as(action); + t1 = action.helix.idx; + t2 = helices._map$_map; + helix = J.$index$asx(t2, t1); + new_helix = V.helix_individual_grid_position_set_reducer(helix, action); + if (!J.$eq$(new_helix, helix)) { + t3 = H._instanceType(helices); + t3._eval$1("_BuiltMap<1,2>")._as(helices); + helices_map = new A.MapBuilder(helices._mapFactory, t2, helices, t3._eval$1("@<1>")._bind$1(t3._rest[1])._eval$1("MapBuilder<1,2>")); + helices_map.$indexSet(0, t1, new_helix); + return helices_map.build$0(); + } else + return helices; + }, + helix_individual_position_set_reducer: function(helix, action) { + return helix.rebuild$1(new V.helix_individual_position_set_reducer_closure(action)); + }, + helix_position_set_reducer: function(helices, state, action) { + var t1, t2, helix, new_helix, t3, helices_map; + type$.legacy_BuiltMap_of_legacy_int_and_legacy_Helix._as(helices); + type$.legacy_AppState._as(state); + type$.legacy_HelixPositionSet._as(action); + t1 = action.helix_idx; + t2 = helices._map$_map; + helix = J.$index$asx(t2, t1); + new_helix = V.helix_individual_position_set_reducer(helix, action); + if (!J.$eq$(new_helix, helix)) { + t3 = H._instanceType(helices); + t3._eval$1("_BuiltMap<1,2>")._as(helices); + helices_map = new A.MapBuilder(helices._mapFactory, t2, helices, t3._eval$1("@<1>")._bind$1(t3._rest[1])._eval$1("MapBuilder<1,2>")); + helices_map.$indexSet(0, t1, new_helix); + return helices_map.build$0(); + } else + return helices; + }, + move_helices_to_group_helices_reducer: function(helices, action) { + var t1, t2, helices_map, t3, t4, t5, helix, t6, t7, new_helix; + type$.legacy_BuiltMap_of_legacy_int_and_legacy_Helix._as(helices); + type$.legacy_MoveHelicesToGroup._as(action); + t1 = helices._map$_map; + t2 = H._instanceType(helices); + t2 = t2._eval$1("@<1>")._bind$1(t2._rest[1]); + helices_map = new S.CopyOnWriteMap(helices._mapFactory, t1, t2._eval$1("CopyOnWriteMap<1,2>")); + for (t1 = J.get$iterator$ax(action.helix_idxs._list), t3 = t2._rest[0], t2 = t2._rest[1], t4 = type$.legacy_void_Function_legacy_HelixBuilder; t1.moveNext$0();) { + t5 = t1.get$current(t1); + helix = J.$index$asx(helices_map._copy_on_write_map$_map, t5); + helix.toString; + t6 = t4._as(new V.move_helices_to_group_helices_reducer_closure(action)); + t7 = new O.HelixBuilder(); + t7.get$_helix$_$this()._group = "default_group"; + t7.get$_helix$_$this()._min_offset = 0; + t7.get$_helix$_$this()._roll = 0; + t7._helix$_$v = helix; + t6.call$1(t7); + new_helix = t7.build$0(); + t3._as(t5); + t2._as(new_helix); + helices_map._maybeCopyBeforeWrite$0(); + J.$indexSet$ax(helices_map._copy_on_write_map$_map, t5, new_helix); + } + return A.BuiltMap_BuiltMap$of(helices_map, type$.legacy_int, type$.legacy_Helix); + }, + helix_idx_change_reducer_closure: function helix_idx_change_reducer_closure(t0) { + this.action = t0; + }, + helix_idx_change_reducer_closure0: function helix_idx_change_reducer_closure0(t0) { + this.new_idx = t0; + }, + helix_idx_change_reducer_closure1: function helix_idx_change_reducer_closure1(t0) { + this.new_idx = t0; + }, + helix_idx_change_reducer_closure2: function helix_idx_change_reducer_closure2(t0) { + this.substrands = t0; + }, + helix_idx_change_reducer_closure3: function helix_idx_change_reducer_closure3(t0, t1, t2) { + this.new_groups = t0; + this.helices = t1; + this.strands = t2; + }, + change_groups_closure: function change_groups_closure(t0) { + this.helices_view_order_new = t0; + }, + _change_offset_one_helix_closure: function _change_offset_one_helix_closure(t0, t1, t2) { + this.min_offset = t0; + this.helix = t1; + this.max_offset = t2; + }, + helix_offset_change_all_with_moving_strands_reducer_closure: function helix_offset_change_all_with_moving_strands_reducer_closure(t0) { + this.action = t0; + }, + helix_offset_change_all_with_moving_strands_reducer_map_func: function helix_offset_change_all_with_moving_strands_reducer_map_func(t0) { + this.offsets = t0; + }, + helix_offset_change_all_with_moving_strands_reducer_map_func0: function helix_offset_change_all_with_moving_strands_reducer_map_func0(t0) { + this.offsets = t0; + }, + helix_offset_change_all_while_creating_strand_reducer_closure: function helix_offset_change_all_while_creating_strand_reducer_closure(t0) { + this.action = t0; + }, + helix_offset_change_all_while_creating_strand_reducer_closure0: function helix_offset_change_all_while_creating_strand_reducer_closure0(t0) { + this.action = t0; + }, + helix_offset_change_all_while_creating_strand_reducer_closure1: function helix_offset_change_all_while_creating_strand_reducer_closure1(t0) { + this.action = t0; + }, + helix_offset_change_all_while_creating_strand_reducer_closure2: function helix_offset_change_all_while_creating_strand_reducer_closure2(t0) { + this.action = t0; + }, + first_replace_strands_reducer_closure: function first_replace_strands_reducer_closure(t0, t1) { + this.min_offsets = t0; + this.helix_idx = t1; + }, + first_replace_strands_reducer_closure0: function first_replace_strands_reducer_closure0(t0, t1) { + this.max_offsets = t0; + this.helix_idx = t1; + }, + reset_helices_offsets_closure: function reset_helices_offsets_closure(t0, t1) { + this.original_helix_offsets = t0; + this.idx = t1; + }, + reset_helices_offsets_closure0: function reset_helices_offsets_closure0(t0, t1) { + this.original_helix_offsets = t0; + this.idx = t1; + }, + helix_offset_change_all_reducer_map_func: function helix_offset_change_all_reducer_map_func(t0) { + this.action = t0; + }, + _min_offset_set_by_domains_one_helix_closure: function _min_offset_set_by_domains_one_helix_closure(t0) { + this.min_offset = t0; + }, + _max_offset_set_by_domains_one_helix_closure: function _max_offset_set_by_domains_one_helix_closure(t0) { + this.max_offset = t0; + }, + helix_min_offset_set_by_domains_all_reducer_map_func: function helix_min_offset_set_by_domains_all_reducer_map_func(t0) { + this.state = t0; + }, + helix_max_offset_set_by_domains_all_reducer_map_func: function helix_max_offset_set_by_domains_all_reducer_map_func(t0) { + this.state = t0; + }, + helix_max_offset_set_by_domains_all_same_max_reducer_closure: function helix_max_offset_set_by_domains_all_same_max_reducer_closure(t0) { + this._box_0 = t0; + }, + helix_max_offset_set_by_domains_all_same_max_reducer__closure: function helix_max_offset_set_by_domains_all_same_max_reducer__closure(t0) { + this._box_0 = t0; + }, + helix_major_tick_distance_change_all_reducer_closure: function helix_major_tick_distance_change_all_reducer_closure(t0) { + this.action = t0; + }, + helix_major_ticks_change_all_reducer_closure: function helix_major_ticks_change_all_reducer_closure(t0) { + this.action = t0; + }, + helix_major_tick_start_change_all_reducer_closure: function helix_major_tick_start_change_all_reducer_closure(t0) { + this.action = t0; + }, + helix_major_tick_periodic_distances_change_all_reducer_closure: function helix_major_tick_periodic_distances_change_all_reducer_closure(t0) { + this.action = t0; + }, + _change_major_tick_distance_one_helix_closure: function _change_major_tick_distance_one_helix_closure(t0) { + this.major_tick_distance = t0; + }, + _change_major_tick_start_one_helix_closure: function _change_major_tick_start_one_helix_closure(t0) { + this.major_tick_start = t0; + }, + _change_major_tick_periodic_distances_one_helix_closure: function _change_major_tick_periodic_distances_one_helix_closure(t0) { + this.major_tick_periodic_distances = t0; + }, + _change_major_ticks_one_helix_closure: function _change_major_ticks_one_helix_closure(t0) { + this.major_ticks = t0; + }, + helix_roll_set_reducer_closure: function helix_roll_set_reducer_closure(t0) { + this.action = t0; + }, + helix_roll_set_at_other_reducer_closure: function helix_roll_set_at_other_reducer_closure(t0) { + this.new_roll = t0; + }, + helix_add_design_reducer_closure: function helix_add_design_reducer_closure(t0) { + this.new_helices_view_order = t0; + }, + helix_add_design_reducer_closure0: function helix_add_design_reducer_closure0(t0, t1) { + this.new_helices = t0; + this.new_groups = t1; + }, + helix_remove_design_global_reducer_closure: function helix_remove_design_global_reducer_closure(t0) { + this.new_helices_view_order = t0; + }, + helix_remove_design_global_reducer_closure0: function helix_remove_design_global_reducer_closure0(t0, t1, t2) { + this.new_helices = t0; + this.new_groups = t1; + this.strands_with_substrands_removed = t2; + }, + helix_remove_all_selected_design_global_reducer_closure: function helix_remove_all_selected_design_global_reducer_closure(t0) { + this.new_helices_view_order = t0; + }, + helix_remove_all_selected_design_global_reducer_closure0: function helix_remove_all_selected_design_global_reducer_closure0(t0, t1, t2) { + this.new_helices = t0; + this.new_groups = t1; + this.strands_with_substrands_removed = t2; + }, + remove_helix_assuming_no_domains_closure: function remove_helix_assuming_no_domains_closure(t0) { + this.action = t0; + }, + remove_helices_assuming_no_domains_closure: function remove_helices_assuming_no_domains_closure(t0) { + this.helix_idxs = t0; + }, + remove_helices_assuming_no_domains__closure: function remove_helices_assuming_no_domains__closure(t0) { + this.helix_idxs = t0; + }, + helix_group_change_reducer_closure: function helix_group_change_reducer_closure(t0) { + this.action = t0; + }, + helix_group_change_reducer__closure: function helix_group_change_reducer__closure(t0) { + this.action = t0; + }, + helix_individual_grid_position_set_reducer_closure: function helix_individual_grid_position_set_reducer_closure(t0) { + this.action = t0; + }, + helix_individual_position_set_reducer_closure: function helix_individual_position_set_reducer_closure(t0) { + this.action = t0; + }, + move_helices_to_group_helices_reducer_closure: function move_helices_to_group_helices_reducer_closure(t0) { + this.action = t0; + }, + DesignSideRotationParams_DesignSideRotationParams: function(helix_idx, offset) { + var t1 = new V.DesignSideRotationParamsBuilder(); + type$.legacy_void_Function_legacy_DesignSideRotationParamsBuilder._as(new V.DesignSideRotationParams_DesignSideRotationParams_closure(helix_idx, offset)).call$1(t1); + return t1.build$0(); + }, + DesignSideRotationData_from_params: function(design, params) { + var t1, _i, param, helix_idx, offset, color_forward, helix, roll_forward, t2, color_reverse, num_domains_found, t3, t4, strand, color_forward0, + design_side_rotation_datas_builder = H.setRuntimeTypeInfo([], type$.JSArray_legacy_DesignSideRotationData); + for (t1 = params.length, _i = 0; _i < params.length; params.length === t1 || (0, H.throwConcurrentModificationError)(params), ++_i) { + param = params[_i]; + helix_idx = param.helix_idx; + offset = param.offset; + color_forward = $.$get$color_forward_rotation_arrow_no_strand(); + helix = J.$index$asx(design.helices._map$_map, helix_idx); + roll_forward = design.helix_rotation_forward$2(helix.idx, offset); + for (t2 = J.get$iterator$ax(design.domains_on_helix$1(helix_idx)), color_reverse = color_forward, num_domains_found = 0; t2.moveNext$0();) { + t3 = t2.get$current(t2); + if (t3.start <= offset && offset < t3.end) { + ++num_domains_found; + t4 = design.__substrand_to_strand; + if (t4 == null) { + t4 = N.Design.prototype.get$substrand_to_strand.call(design); + design.set$__substrand_to_strand(t4); + } + strand = J.$index$asx(t4._map$_map, t3); + t4 = t3.forward; + color_forward0 = t3.color; + if (t4) + color_forward = color_forward0 == null ? strand.color : color_forward0; + else + color_reverse = color_forward0 == null ? strand.color : color_forward0; + } + if (num_domains_found >= 2) + break; + } + C.JSArray_methods.add$1(design_side_rotation_datas_builder, V.DesignSideRotationData_DesignSideRotationData(helix, offset, color_forward, color_reverse, roll_forward, design.geometry.minor_groove_angle)); + } + return design_side_rotation_datas_builder; + }, + DesignSideRotationData_DesignSideRotationData: function(helix, offset, color_forward, color_reverse, roll_forward, minor_groove_angle) { + var t1 = new V.DesignSideRotationDataBuilder(); + type$.legacy_void_Function_legacy_DesignSideRotationDataBuilder._as(new V.DesignSideRotationData_DesignSideRotationData_closure(helix, offset, color_forward, color_reverse, roll_forward, minor_groove_angle)).call$1(t1); + return t1.build$0(); + }, + DesignSideRotationParams: function DesignSideRotationParams() { + }, + DesignSideRotationParams_DesignSideRotationParams_closure: function DesignSideRotationParams_DesignSideRotationParams_closure(t0, t1) { + this.helix_idx = t0; + this.offset = t1; + }, + DesignSideRotationData: function DesignSideRotationData() { + }, + DesignSideRotationData_DesignSideRotationData_closure: function DesignSideRotationData_DesignSideRotationData_closure(t0, t1, t2, t3, t4, t5) { + var _ = this; + _.helix = t0; + _.offset = t1; + _.color_forward = t2; + _.color_reverse = t3; + _.roll_forward = t4; + _.minor_groove_angle = t5; + }, + _$DesignSideRotationParamsSerializer: function _$DesignSideRotationParamsSerializer() { + }, + _$DesignSideRotationDataSerializer: function _$DesignSideRotationDataSerializer() { + }, + _$DesignSideRotationParams: function _$DesignSideRotationParams(t0, t1) { + this.helix_idx = t0; + this.offset = t1; + this._design_side_rotation_data$__hashCode = null; + }, + DesignSideRotationParamsBuilder: function DesignSideRotationParamsBuilder() { + this._design_side_rotation_data$_offset = this._design_side_rotation_data$_helix_idx = this._design_side_rotation_data$_$v = null; + }, + _$DesignSideRotationData: function _$DesignSideRotationData(t0, t1, t2, t3, t4, t5) { + var _ = this; + _.helix = t0; + _.offset = t1; + _.color_forward = t2; + _.color_reverse = t3; + _.roll_forward = t4; + _.minor_groove_angle = t5; + _._design_side_rotation_data$__hashCode = null; + }, + DesignSideRotationDataBuilder: function DesignSideRotationDataBuilder() { + var _ = this; + _._design_side_rotation_data$_minor_groove_angle = _._design_side_rotation_data$_roll_forward = _._design_side_rotation_data$_color_reverse = _._design_side_rotation_data$_color_forward = _._design_side_rotation_data$_offset = _._design_side_rotation_data$_helix = _._design_side_rotation_data$_$v = null; + }, + _DesignSideRotationData_Object_BuiltJsonSerializable: function _DesignSideRotationData_Object_BuiltJsonSerializable() { + }, + _DesignSideRotationParams_Object_BuiltJsonSerializable: function _DesignSideRotationParams_Object_BuiltJsonSerializable() { + }, + DomainsMove_DomainsMove: function(all_domains, domains_moving, groups, helices, original_address, original_helices_view_order_inverse, strands_with_domains_moving) { + var t2, t3, t4, t5, + t1 = H.setRuntimeTypeInfo([], type$.JSArray_legacy_Domain); + for (t2 = J.get$iterator$ax(all_domains._list), t3 = domains_moving._list, t4 = J.getInterceptor$asx(t3); t2.moveNext$0();) { + t5 = t2.get$current(t2); + if (!t4.contains$1(t3, t5)) + t1.push(t5); + } + t2 = new V.DomainsMoveBuilder(); + type$.legacy_void_Function_legacy_DomainsMoveBuilder._as(new V.DomainsMove_DomainsMove_closure(domains_moving, t1, strands_with_domains_moving, helices, groups, original_helices_view_order_inverse, original_address, false, true)).call$1(t2); + return t2.build$0(); + }, + DomainsMove: function DomainsMove() { + }, + DomainsMove_DomainsMove_closure: function DomainsMove_DomainsMove_closure(t0, t1, t2, t3, t4, t5, t6, t7, t8) { + var _ = this; + _.domains_moving = t0; + _.domains_fixed = t1; + _.strands_with_domains_moving = t2; + _.helices = t3; + _.groups = t4; + _.original_helices_view_order_inverse = t5; + _.original_address = t6; + _.copy = t7; + _.keep_color = t8; + }, + _$DomainsMoveSerializer: function _$DomainsMoveSerializer() { + }, + _$DomainsMove: function _$DomainsMove(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10) { + var _ = this; + _.domains_moving = t0; + _.domains_fixed = t1; + _.helices = t2; + _.groups = t3; + _.strands_with_domains_moving = t4; + _.original_helices_view_order_inverse = t5; + _.original_address = t6; + _.current_address = t7; + _.allowable = t8; + _.copy = t9; + _.keep_color = t10; + _._domains_move$__hashCode = _.__domains_moving_from_strand = _.__domains_fixed_on_helix = _.__domains_moving_on_helix = null; + }, + DomainsMoveBuilder: function DomainsMoveBuilder() { + var _ = this; + _._keep_color = _._copy = _._allowable = _._current_address = _._original_address = _._original_helices_view_order_inverse = _._strands_with_domains_moving = _._domains_move$_groups = _._domains_move$_helices = _._domains_fixed = _._domains_moving = _._domains_move$_$v = null; + }, + _DomainsMove_Object_BuiltJsonSerializable: function _DomainsMove_Object_BuiltJsonSerializable() { + }, + _$DesignFooter: function(backingProps) { + type$.legacy_Map_dynamic_dynamic._as(backingProps); + return backingProps == null ? V._$$DesignFooterProps$JsMap$(new L.JsBackedMap({})) : V._$$DesignFooterProps__$$DesignFooterProps(backingProps); + }, + _$$DesignFooterProps__$$DesignFooterProps: function(backingMap) { + var t1, _null = null; + if (backingMap instanceof L.JsBackedMap) + return V._$$DesignFooterProps$JsMap$(backingMap); + else { + t1 = type$.dynamic; + t1 = new V._$$DesignFooterProps$PlainMap(P.LinkedHashMap_LinkedHashMap$_empty(t1, t1), _null, _null, _null, _null, _null); + t1.get$$$isClassGenerated(); + t1._design_footer$_props = backingMap; + return t1; + } + }, + _$$DesignFooterProps$JsMap$: function(backingMap) { + var _null = null, + t1 = new V._$$DesignFooterProps$JsMap(new L.JsBackedMap({}), _null, _null, _null, _null, _null); + t1.get$$$isClassGenerated(); + t1._design_footer$_props = backingMap == null ? new L.JsBackedMap({}) : backingMap; + return t1; + }, + ConnectedDesignFooter_closure: function ConnectedDesignFooter_closure() { + }, + DesignFooterProps: function DesignFooterProps() { + }, + DesignFooterComponent: function DesignFooterComponent() { + }, + $DesignFooterComponentFactory_closure: function $DesignFooterComponentFactory_closure() { + }, + _$$DesignFooterProps: function _$$DesignFooterProps() { + }, + _$$DesignFooterProps$PlainMap: function _$$DesignFooterProps$PlainMap(t0, t1, t2, t3, t4, t5) { + var _ = this; + _._design_footer$_props = t0; + _.DesignFooterProps_mouseover_datas = t1; + _.DesignFooterProps_strand_first_mouseover_data = t2; + _.DesignFooterProps_loaded_filename = t3; + _.componentFactory = null; + _.UbiquitousDomPropsMixin__aria = t4; + _.UbiquitousDomPropsMixin__dom = t5; + }, + _$$DesignFooterProps$JsMap: function _$$DesignFooterProps$JsMap(t0, t1, t2, t3, t4, t5) { + var _ = this; + _._design_footer$_props = t0; + _.DesignFooterProps_mouseover_datas = t1; + _.DesignFooterProps_strand_first_mouseover_data = t2; + _.DesignFooterProps_loaded_filename = t3; + _.componentFactory = null; + _.UbiquitousDomPropsMixin__aria = t4; + _.UbiquitousDomPropsMixin__dom = t5; + }, + _$DesignFooterComponent: function _$DesignFooterComponent(t0) { + var _ = this; + _._design_footer$_cachedTypedProps = null; + _.DisposableManagerProxy__disposableProxy = t0; + _.jsThis = _.state = _.props = null; + }, + $DesignFooterProps: function $DesignFooterProps() { + }, + __$$DesignFooterProps_UiProps_DesignFooterProps: function __$$DesignFooterProps_UiProps_DesignFooterProps() { + }, + __$$DesignFooterProps_UiProps_DesignFooterProps_$DesignFooterProps: function __$$DesignFooterProps_UiProps_DesignFooterProps_$DesignFooterProps() { + }, + _$DesignMain: function(backingProps) { + type$.legacy_Map_dynamic_dynamic._as(backingProps); + return backingProps == null ? V._$$DesignMainProps$JsMap$(new L.JsBackedMap({})) : V._$$DesignMainProps__$$DesignMainProps(backingProps); + }, + _$$DesignMainProps__$$DesignMainProps: function(backingMap) { + var t1, _null = null; + if (backingMap instanceof L.JsBackedMap) + return V._$$DesignMainProps$JsMap$(backingMap); + else { + t1 = type$.dynamic; + t1 = new V._$$DesignMainProps$PlainMap(P.LinkedHashMap_LinkedHashMap$_empty(t1, t1), _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null); + t1.get$$$isClassGenerated(); + t1._design_main$_props = backingMap; + return t1; + } + }, + _$$DesignMainProps$JsMap$: function(backingMap) { + var _null = null, + t1 = new V._$$DesignMainProps$JsMap(new L.JsBackedMap({}), _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null); + t1.get$$$isClassGenerated(); + t1._design_main$_props = backingMap == null ? new L.JsBackedMap({}) : backingMap; + return t1; + }, + ConnectedDesignMain_closure: function ConnectedDesignMain_closure() { + }, + DesignMainPropsMixin: function DesignMainPropsMixin() { + }, + DesignMainComponent: function DesignMainComponent() { + }, + DesignMainComponent_render_closure: function DesignMainComponent_render_closure() { + }, + DesignMainComponent_render_closure0: function DesignMainComponent_render_closure0() { + }, + DesignMainComponent_render_closure1: function DesignMainComponent_render_closure1() { + }, + DesignMainComponent_render_closure2: function DesignMainComponent_render_closure2() { + }, + DesignMainComponent_render_closure3: function DesignMainComponent_render_closure3() { + }, + DesignMainComponent_render_closure4: function DesignMainComponent_render_closure4() { + }, + DesignMainComponent_render_closure5: function DesignMainComponent_render_closure5() { + }, + $DesignMainComponentFactory_closure: function $DesignMainComponentFactory_closure() { + }, + _$$DesignMainProps: function _$$DesignMainProps() { + }, + _$$DesignMainProps$PlainMap: function _$$DesignMainProps$PlainMap(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19, t20, t21, t22, t23, t24, t25, t26, t27, t28, t29, t30, t31, t32, t33, t34, t35, t36, t37, t38, t39, t40, t41, t42, t43, t44, t45, t46) { + var _ = this; + _._design_main$_props = t0; + _.DesignMainPropsMixin_design = t1; + _.DesignMainPropsMixin_potential_vertical_crossovers = t2; + _.DesignMainPropsMixin_side_selected_helix_idxs = t3; + _.DesignMainPropsMixin_edit_modes = t4; + _.DesignMainPropsMixin_strands_move = t5; + _.DesignMainPropsMixin_strand_creation = t6; + _.DesignMainPropsMixin_has_error = t7; + _.DesignMainPropsMixin_show_mismatches = t8; + _.DesignMainPropsMixin_show_domain_name_mismatches = t9; + _.DesignMainPropsMixin_show_unpaired_insertion_deletions = t10; + _.DesignMainPropsMixin_show_dna = t11; + _.DesignMainPropsMixin_base_pair_display_type = t12; + _.DesignMainPropsMixin_show_base_pair_lines = t13; + _.DesignMainPropsMixin_show_base_pair_lines_with_mismatches = t14; + _.DesignMainPropsMixin_show_domain_names = t15; + _.DesignMainPropsMixin_show_strand_names = t16; + _.DesignMainPropsMixin_domain_label_font_size = t17; + _.DesignMainPropsMixin_major_tick_offset_font_size = t18; + _.DesignMainPropsMixin_major_tick_width_font_size = t19; + _.DesignMainPropsMixin_drawing_potential_crossover = t20; + _.DesignMainPropsMixin_dna_sequence_png_uri = t21; + _.DesignMainPropsMixin_dna_sequence_png_horizontal_offset = t22; + _.DesignMainPropsMixin_dna_sequence_png_vertical_offset = t23; + _.DesignMainPropsMixin_export_svg_action_delayed_for_png_cache = t24; + _.DesignMainPropsMixin_is_zoom_above_threshold = t25; + _.DesignMainPropsMixin_only_display_selected_helices = t26; + _.DesignMainPropsMixin_helix_change_apply_to_all = t27; + _.DesignMainPropsMixin_display_base_offsets_of_major_ticks = t28; + _.DesignMainPropsMixin_display_base_offsets_of_major_ticks_only_first_helix = t29; + _.DesignMainPropsMixin_display_major_tick_widths = t30; + _.DesignMainPropsMixin_display_major_tick_widths_all_helices = t31; + _.DesignMainPropsMixin_show_helix_circles = t32; + _.DesignMainPropsMixin_show_helix_components = t33; + _.DesignMainPropsMixin_helix_group_is_moving = t34; + _.DesignMainPropsMixin_show_loopout_extension_length = t35; + _.DesignMainPropsMixin_show_slice_bar = t36; + _.DesignMainPropsMixin_slice_bar_offset = t37; + _.DesignMainPropsMixin_displayed_group_name = t38; + _.DesignMainPropsMixin_selection_rope = t39; + _.DesignMainPropsMixin_disable_png_caching_dna_sequences = t40; + _.DesignMainPropsMixin_retain_strand_color_on_selection = t41; + _.DesignMainPropsMixin_display_reverse_DNA_right_side_up = t42; + _.DesignMainPropsMixin_helix_idx_to_svg_position_map = t43; + _.DesignMainPropsMixin_invert_y = t44; + _.componentFactory = null; + _.UbiquitousDomPropsMixin__aria = t45; + _.UbiquitousDomPropsMixin__dom = t46; + }, + _$$DesignMainProps$JsMap: function _$$DesignMainProps$JsMap(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19, t20, t21, t22, t23, t24, t25, t26, t27, t28, t29, t30, t31, t32, t33, t34, t35, t36, t37, t38, t39, t40, t41, t42, t43, t44, t45, t46) { + var _ = this; + _._design_main$_props = t0; + _.DesignMainPropsMixin_design = t1; + _.DesignMainPropsMixin_potential_vertical_crossovers = t2; + _.DesignMainPropsMixin_side_selected_helix_idxs = t3; + _.DesignMainPropsMixin_edit_modes = t4; + _.DesignMainPropsMixin_strands_move = t5; + _.DesignMainPropsMixin_strand_creation = t6; + _.DesignMainPropsMixin_has_error = t7; + _.DesignMainPropsMixin_show_mismatches = t8; + _.DesignMainPropsMixin_show_domain_name_mismatches = t9; + _.DesignMainPropsMixin_show_unpaired_insertion_deletions = t10; + _.DesignMainPropsMixin_show_dna = t11; + _.DesignMainPropsMixin_base_pair_display_type = t12; + _.DesignMainPropsMixin_show_base_pair_lines = t13; + _.DesignMainPropsMixin_show_base_pair_lines_with_mismatches = t14; + _.DesignMainPropsMixin_show_domain_names = t15; + _.DesignMainPropsMixin_show_strand_names = t16; + _.DesignMainPropsMixin_domain_label_font_size = t17; + _.DesignMainPropsMixin_major_tick_offset_font_size = t18; + _.DesignMainPropsMixin_major_tick_width_font_size = t19; + _.DesignMainPropsMixin_drawing_potential_crossover = t20; + _.DesignMainPropsMixin_dna_sequence_png_uri = t21; + _.DesignMainPropsMixin_dna_sequence_png_horizontal_offset = t22; + _.DesignMainPropsMixin_dna_sequence_png_vertical_offset = t23; + _.DesignMainPropsMixin_export_svg_action_delayed_for_png_cache = t24; + _.DesignMainPropsMixin_is_zoom_above_threshold = t25; + _.DesignMainPropsMixin_only_display_selected_helices = t26; + _.DesignMainPropsMixin_helix_change_apply_to_all = t27; + _.DesignMainPropsMixin_display_base_offsets_of_major_ticks = t28; + _.DesignMainPropsMixin_display_base_offsets_of_major_ticks_only_first_helix = t29; + _.DesignMainPropsMixin_display_major_tick_widths = t30; + _.DesignMainPropsMixin_display_major_tick_widths_all_helices = t31; + _.DesignMainPropsMixin_show_helix_circles = t32; + _.DesignMainPropsMixin_show_helix_components = t33; + _.DesignMainPropsMixin_helix_group_is_moving = t34; + _.DesignMainPropsMixin_show_loopout_extension_length = t35; + _.DesignMainPropsMixin_show_slice_bar = t36; + _.DesignMainPropsMixin_slice_bar_offset = t37; + _.DesignMainPropsMixin_displayed_group_name = t38; + _.DesignMainPropsMixin_selection_rope = t39; + _.DesignMainPropsMixin_disable_png_caching_dna_sequences = t40; + _.DesignMainPropsMixin_retain_strand_color_on_selection = t41; + _.DesignMainPropsMixin_display_reverse_DNA_right_side_up = t42; + _.DesignMainPropsMixin_helix_idx_to_svg_position_map = t43; + _.DesignMainPropsMixin_invert_y = t44; + _.componentFactory = null; + _.UbiquitousDomPropsMixin__aria = t45; + _.UbiquitousDomPropsMixin__dom = t46; + }, + _$DesignMainComponent: function _$DesignMainComponent(t0) { + var _ = this; + _._design_main$_cachedTypedProps = null; + _.DisposableManagerProxy__disposableProxy = t0; + _.jsThis = _.state = _.props = null; + }, + $DesignMainPropsMixin: function $DesignMainPropsMixin() { + }, + __$$DesignMainProps_UiProps_DesignMainPropsMixin: function __$$DesignMainProps_UiProps_DesignMainPropsMixin() { + }, + __$$DesignMainProps_UiProps_DesignMainPropsMixin_$DesignMainPropsMixin: function __$$DesignMainProps_UiProps_DesignMainPropsMixin_$DesignMainPropsMixin() { + }, + _$DesignMainBasePairRectangle: function(backingProps) { + type$.legacy_Map_dynamic_dynamic._as(backingProps); + return backingProps == null ? V._$$DesignMainBasePairRectangleProps$JsMap$(new L.JsBackedMap({})) : V._$$DesignMainBasePairRectangleProps__$$DesignMainBasePairRectangleProps(backingProps); + }, + _$$DesignMainBasePairRectangleProps__$$DesignMainBasePairRectangleProps: function(backingMap) { + var t1, _null = null; + if (backingMap instanceof L.JsBackedMap) + return V._$$DesignMainBasePairRectangleProps$JsMap$(backingMap); + else { + t1 = type$.dynamic; + t1 = new V._$$DesignMainBasePairRectangleProps$PlainMap(P.LinkedHashMap_LinkedHashMap$_empty(t1, t1), _null, _null, _null, _null, _null, _null, _null); + t1.get$$$isClassGenerated(); + t1._design_main_base_pair_rectangle$_props = backingMap; + return t1; + } + }, + _$$DesignMainBasePairRectangleProps$JsMap$: function(backingMap) { + var _null = null, + t1 = new V._$$DesignMainBasePairRectangleProps$JsMap(new L.JsBackedMap({}), _null, _null, _null, _null, _null, _null, _null); + t1.get$$$isClassGenerated(); + t1._design_main_base_pair_rectangle$_props = backingMap == null ? new L.JsBackedMap({}) : backingMap; + return t1; + }, + DesignMainBasePairRectangleProps: function DesignMainBasePairRectangleProps() { + }, + DesignMainBasePairRectangleComponent: function DesignMainBasePairRectangleComponent() { + }, + $DesignMainBasePairRectangleComponentFactory_closure: function $DesignMainBasePairRectangleComponentFactory_closure() { + }, + _$$DesignMainBasePairRectangleProps: function _$$DesignMainBasePairRectangleProps() { + }, + _$$DesignMainBasePairRectangleProps$PlainMap: function _$$DesignMainBasePairRectangleProps$PlainMap(t0, t1, t2, t3, t4, t5, t6, t7) { + var _ = this; + _._design_main_base_pair_rectangle$_props = t0; + _.DesignMainBasePairRectangleProps_with_mismatches = t1; + _.DesignMainBasePairRectangleProps_design = t2; + _.DesignMainBasePairRectangleProps_only_display_selected_helices = t3; + _.DesignMainBasePairRectangleProps_side_selected_helix_idxs = t4; + _.DesignMainBasePairRectangleProps_helix_idx_to_svg_position_y_map = t5; + _.componentFactory = null; + _.UbiquitousDomPropsMixin__aria = t6; + _.UbiquitousDomPropsMixin__dom = t7; + }, + _$$DesignMainBasePairRectangleProps$JsMap: function _$$DesignMainBasePairRectangleProps$JsMap(t0, t1, t2, t3, t4, t5, t6, t7) { + var _ = this; + _._design_main_base_pair_rectangle$_props = t0; + _.DesignMainBasePairRectangleProps_with_mismatches = t1; + _.DesignMainBasePairRectangleProps_design = t2; + _.DesignMainBasePairRectangleProps_only_display_selected_helices = t3; + _.DesignMainBasePairRectangleProps_side_selected_helix_idxs = t4; + _.DesignMainBasePairRectangleProps_helix_idx_to_svg_position_y_map = t5; + _.componentFactory = null; + _.UbiquitousDomPropsMixin__aria = t6; + _.UbiquitousDomPropsMixin__dom = t7; + }, + _$DesignMainBasePairRectangleComponent: function _$DesignMainBasePairRectangleComponent(t0) { + var _ = this; + _._design_main_base_pair_rectangle$_cachedTypedProps = null; + _.DisposableManagerProxy__disposableProxy = t0; + _.jsThis = _.state = _.props = null; + }, + $DesignMainBasePairRectangleProps: function $DesignMainBasePairRectangleProps() { + }, + _DesignMainBasePairRectangleComponent_UiComponent2_PureComponent: function _DesignMainBasePairRectangleComponent_UiComponent2_PureComponent() { + }, + __$$DesignMainBasePairRectangleProps_UiProps_DesignMainBasePairRectangleProps: function __$$DesignMainBasePairRectangleProps_UiProps_DesignMainBasePairRectangleProps() { + }, + __$$DesignMainBasePairRectangleProps_UiProps_DesignMainBasePairRectangleProps_$DesignMainBasePairRectangleProps: function __$$DesignMainBasePairRectangleProps_UiProps_DesignMainBasePairRectangleProps_$DesignMainBasePairRectangleProps() { + }, + _$DesignMainHelices: function(backingProps) { + type$.legacy_Map_dynamic_dynamic._as(backingProps); + return backingProps == null ? V._$$DesignMainHelicesProps$JsMap$(new L.JsBackedMap({})) : V._$$DesignMainHelicesProps__$$DesignMainHelicesProps(backingProps); + }, + _$$DesignMainHelicesProps__$$DesignMainHelicesProps: function(backingMap) { + var t1, _null = null; + if (backingMap instanceof L.JsBackedMap) + return V._$$DesignMainHelicesProps$JsMap$(backingMap); + else { + t1 = type$.dynamic; + t1 = new V._$$DesignMainHelicesProps$PlainMap(P.LinkedHashMap_LinkedHashMap$_empty(t1, t1), _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null); + t1.get$$$isClassGenerated(); + t1._design_main_helices$_props = backingMap; + return t1; + } + }, + _$$DesignMainHelicesProps$JsMap$: function(backingMap) { + var _null = null, + t1 = new V._$$DesignMainHelicesProps$JsMap(new L.JsBackedMap({}), _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null); + t1.get$$$isClassGenerated(); + t1._design_main_helices$_props = backingMap == null ? new L.JsBackedMap({}) : backingMap; + return t1; + }, + DesignMainHelicesProps: function DesignMainHelicesProps() { + }, + DesignMainHelicesComponent: function DesignMainHelicesComponent() { + }, + $DesignMainHelicesComponentFactory_closure: function $DesignMainHelicesComponentFactory_closure() { + }, + _$$DesignMainHelicesProps: function _$$DesignMainHelicesProps() { + }, + _$$DesignMainHelicesProps$PlainMap: function _$$DesignMainHelicesProps$PlainMap(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19, t20) { + var _ = this; + _._design_main_helices$_props = t0; + _.DesignMainHelicesProps_helices = t1; + _.DesignMainHelicesProps_helix_idxs_in_group = t2; + _.DesignMainHelicesProps_groups = t3; + _.DesignMainHelicesProps_side_selected_helix_idxs = t4; + _.DesignMainHelicesProps_major_tick_offset_font_size = t5; + _.DesignMainHelicesProps_major_tick_width_font_size = t6; + _.DesignMainHelicesProps_only_display_selected_helices = t7; + _.DesignMainHelicesProps_helix_change_apply_to_all = t8; + _.DesignMainHelicesProps_show_dna = t9; + _.DesignMainHelicesProps_show_domain_labels = t10; + _.DesignMainHelicesProps_display_base_offsets_of_major_ticks = t11; + _.DesignMainHelicesProps_display_base_offsets_of_major_ticks_only_first_helix = t12; + _.DesignMainHelicesProps_display_major_tick_widths = t13; + _.DesignMainHelicesProps_display_major_tick_widths_all_helices = t14; + _.DesignMainHelicesProps_geometry = t15; + _.DesignMainHelicesProps_show_helix_circles = t16; + _.DesignMainHelicesProps_helix_idx_to_svg_position_map = t17; + _.DesignMainHelicesProps_invert_y = t18; + _.componentFactory = null; + _.UbiquitousDomPropsMixin__aria = t19; + _.UbiquitousDomPropsMixin__dom = t20; + }, + _$$DesignMainHelicesProps$JsMap: function _$$DesignMainHelicesProps$JsMap(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19, t20) { + var _ = this; + _._design_main_helices$_props = t0; + _.DesignMainHelicesProps_helices = t1; + _.DesignMainHelicesProps_helix_idxs_in_group = t2; + _.DesignMainHelicesProps_groups = t3; + _.DesignMainHelicesProps_side_selected_helix_idxs = t4; + _.DesignMainHelicesProps_major_tick_offset_font_size = t5; + _.DesignMainHelicesProps_major_tick_width_font_size = t6; + _.DesignMainHelicesProps_only_display_selected_helices = t7; + _.DesignMainHelicesProps_helix_change_apply_to_all = t8; + _.DesignMainHelicesProps_show_dna = t9; + _.DesignMainHelicesProps_show_domain_labels = t10; + _.DesignMainHelicesProps_display_base_offsets_of_major_ticks = t11; + _.DesignMainHelicesProps_display_base_offsets_of_major_ticks_only_first_helix = t12; + _.DesignMainHelicesProps_display_major_tick_widths = t13; + _.DesignMainHelicesProps_display_major_tick_widths_all_helices = t14; + _.DesignMainHelicesProps_geometry = t15; + _.DesignMainHelicesProps_show_helix_circles = t16; + _.DesignMainHelicesProps_helix_idx_to_svg_position_map = t17; + _.DesignMainHelicesProps_invert_y = t18; + _.componentFactory = null; + _.UbiquitousDomPropsMixin__aria = t19; + _.UbiquitousDomPropsMixin__dom = t20; + }, + _$DesignMainHelicesComponent: function _$DesignMainHelicesComponent(t0) { + var _ = this; + _._design_main_helices$_cachedTypedProps = null; + _.DisposableManagerProxy__disposableProxy = t0; + _.jsThis = _.state = _.props = null; + }, + $DesignMainHelicesProps: function $DesignMainHelicesProps() { + }, + _DesignMainHelicesComponent_UiComponent2_PureComponent: function _DesignMainHelicesComponent_UiComponent2_PureComponent() { + }, + __$$DesignMainHelicesProps_UiProps_DesignMainHelicesProps: function __$$DesignMainHelicesProps_UiProps_DesignMainHelicesProps() { + }, + __$$DesignMainHelicesProps_UiProps_DesignMainHelicesProps_$DesignMainHelicesProps: function __$$DesignMainHelicesProps_UiProps_DesignMainHelicesProps_$DesignMainHelicesProps() { + }, + context_menu_helix: function(helix, helix_change_apply_to_all) { + var _null = null, + context_menu_item_set_position = helix.grid === C.Grid_none ? B.ContextMenuItem_ContextMenuItem(false, _null, new V.context_menu_helix_helix_set_position(new V.context_menu_helix_dialog_helix_set_position(helix)), "set position", _null) : B.ContextMenuItem_ContextMenuItem(false, _null, new V.context_menu_helix_helix_set_grid_position(new V.context_menu_helix_dialog_helix_set_grid_position(helix)), "set grid position", _null), + t1 = B.ContextMenuItem_ContextMenuItem(false, _null, new V.context_menu_helix_helix_set_min_offset(new V.context_menu_helix_dialog_helix_set_min_offset(helix, helix_change_apply_to_all)), "set min offset", _null), + t2 = B.ContextMenuItem_ContextMenuItem(false, _null, new V.context_menu_helix_helix_set_max_offset(new V.context_menu_helix_dialog_helix_set_max_offset(helix, helix_change_apply_to_all)), "set max offset", _null), + t3 = B.ContextMenuItem_ContextMenuItem(false, _null, new V.context_menu_helix_helix_set_idx(new V.context_menu_helix_dialog_helix_set_idx(helix)), "set index", _null), + t4 = B.ContextMenuItem_ContextMenuItem(false, _null, new V.context_menu_helix_helix_set_major_tick_marks(new V.context_menu_helix_dialog_helix_set_major_tick_marks(helix, helix_change_apply_to_all)), "set tick marks", _null), + t5 = B.ContextMenuItem_ContextMenuItem(false, _null, new V.context_menu_helix_helix_set_roll(new V.context_menu_helix_dialog_helix_set_roll(helix)), "set roll", _null), + t6 = $.app.store; + t6 = J.get$length$asx(t6.get$state(t6).design.groups._map$_map); + if (typeof t6 !== "number") + return t6.$le(); + return H.setRuntimeTypeInfo([t1, t2, t3, t4, t5, context_menu_item_set_position, B.ContextMenuItem_ContextMenuItem(t6 <= 1, _null, new V.context_menu_helix_helix_set_group(new V.context_menu_helix_dialog_helix_set_group(helix)), "set group", _null)], type$.JSArray_legacy_ContextMenuItem); + }, + parse_major_ticks_and_check_validity: function(major_ticks_str, helix, apply_to_all) { + var _i, major_tick_str, major_tick, t, t2, _null = null, + _s29_ = " is less than minimum offset ", + t1 = type$.WhereIterable_String, + major_ticks_strs = P.List_List$of(new H.WhereIterable(H.setRuntimeTypeInfo(C.JSString_methods.trim$0(major_ticks_str).split(" "), type$.JSArray_String), type$.bool_Function_String._as(new V.parse_major_ticks_and_check_validity_closure()), t1), true, t1._eval$1("Iterable.E")), + major_ticks = H.setRuntimeTypeInfo([], type$.JSArray_legacy_int); + for (t1 = major_ticks_strs.length, _i = 0; _i < t1; ++_i) { + major_tick_str = major_ticks_strs[_i]; + major_tick = H.Primitives_parseInt(major_tick_str, _null); + if (major_tick == null) { + C.Window_methods.alert$1(window, '"' + H.S(major_tick_str) + '" is not a valid integer'); + return _null; + } else if (major_tick <= 0 && major_ticks.length !== 0) { + C.Window_methods.alert$1(window, "non-positive value " + H.S(major_tick) + " can only be used if it is the first element \nin the list, specifying where the first tick should be; all others must be \npositive offsets from the previous tick mark"); + return _null; + } else + C.JSArray_methods.add$1(major_ticks, major_tick + (major_ticks.length === 0 ? 0 : C.JSArray_methods.get$last(major_ticks))); + } + t = C.JSArray_methods.firstWhere$2$orElse(major_ticks, new V.parse_major_ticks_and_check_validity_closure0(helix), new V.parse_major_ticks_and_check_validity_closure1()); + if (t != null) { + C.Window_methods.alert$1(window, "major tick " + H.S(t) + _s29_ + helix.min_offset); + return _null; + } + if (apply_to_all) + for (t1 = $.app.store, t1 = t1.get$state(t1).design.helices, t1 = J.get$iterator$ax(t1.get$values(t1)); t1.moveNext$0();) { + t2 = t1.get$current(t1); + t = C.JSArray_methods.firstWhere$2$orElse(major_ticks, new V.parse_major_ticks_and_check_validity_closure2(t2), new V.parse_major_ticks_and_check_validity_closure3()); + if (t != null) { + C.Window_methods.alert$1(window, "major tick " + H.S(t) + _s29_ + t2.min_offset); + return _null; + } + } + return major_ticks; + }, + parse_major_tick_distances_and_check_validity: function(major_tick_distances_str) { + var _i, major_tick_distance_str, major_tick_distance, + t1 = type$.WhereIterable_String, + major_tick_distances_strs = P.List_List$of(new H.WhereIterable(H.setRuntimeTypeInfo(C.JSString_methods.trim$0(major_tick_distances_str).split(" "), type$.JSArray_String), type$.bool_Function_String._as(new V.parse_major_tick_distances_and_check_validity_closure()), t1), true, t1._eval$1("Iterable.E")), + major_tick_distances = H.setRuntimeTypeInfo([], type$.JSArray_legacy_int); + for (t1 = major_tick_distances_strs.length, _i = 0; _i < t1; ++_i) { + major_tick_distance_str = major_tick_distances_strs[_i]; + major_tick_distance = H.Primitives_parseInt(major_tick_distance_str, null); + if (major_tick_distance == null) { + C.Window_methods.alert$1(window, '"' + H.S(major_tick_distance_str) + '" is not a valid integer'); + return null; + } else if (major_tick_distance <= 0) { + C.Window_methods.alert$1(window, H.S(major_tick_distance) + string$.x20is_no); + return null; + } else + C.JSArray_methods.add$1(major_tick_distances, major_tick_distance); + } + return major_tick_distances; + }, + parse_helix_idxs_and_check_validity: function(helix_idxs_str) { + var _i, helix_idx, t2, + t1 = type$.WhereIterable_String, + helix_idxs_strs = P.List_List$of(new H.WhereIterable(H.setRuntimeTypeInfo(C.JSString_methods.trim$0(helix_idxs_str).split(" "), type$.JSArray_String), type$.bool_Function_String._as(new V.parse_helix_idxs_and_check_validity_closure()), t1), true, t1._eval$1("Iterable.E")), + helix_idxs = H.setRuntimeTypeInfo([], type$.JSArray_legacy_int); + for (t1 = helix_idxs_strs.length, _i = 0; _i < t1; ++_i) { + helix_idx = H.Primitives_parseInt(helix_idxs_strs[_i], null); + if (helix_idx == null) { + C.Window_methods.alert$1(window, '"' + H.S(helix_idx) + '" is not a valid integer'); + return null; + } else { + t2 = $.app.store; + t2 = t2.get$state(t2).design.helices; + if (t2._keys == null) + t2.set$_keys(J.get$keys$x(t2._map$_map)); + t2 = t2._keys; + t2.toString; + if (!J.contains$1$asx(t2, helix_idx)) { + C.Window_methods.alert$1(window, H.S(helix_idx) + " is not the index of any helix in this design"); + return null; + } else + C.JSArray_methods.add$1(helix_idxs, helix_idx); + } + } + return helix_idxs; + }, + context_menu_helix_dialog_helix_set_min_offset: function context_menu_helix_dialog_helix_set_min_offset(t0, t1) { + this.helix = t0; + this.helix_change_apply_to_all = t1; + }, + context_menu_helix_dialog_helix_set_max_offset: function context_menu_helix_dialog_helix_set_max_offset(t0, t1) { + this.helix = t0; + this.helix_change_apply_to_all = t1; + }, + context_menu_helix_dialog_helix_set_idx: function context_menu_helix_dialog_helix_set_idx(t0) { + this.helix = t0; + }, + context_menu_helix_dialog_helix_set_roll: function context_menu_helix_dialog_helix_set_roll(t0) { + this.helix = t0; + }, + context_menu_helix_dialog_helix_set_major_tick_marks: function context_menu_helix_dialog_helix_set_major_tick_marks(t0, t1) { + this.helix = t0; + this.helix_change_apply_to_all = t1; + }, + context_menu_helix_dialog_helix_set_grid_position: function context_menu_helix_dialog_helix_set_grid_position(t0) { + this.helix = t0; + }, + context_menu_helix_dialog_helix_set_position: function context_menu_helix_dialog_helix_set_position(t0) { + this.helix = t0; + }, + context_menu_helix_dialog_helix_set_group: function context_menu_helix_dialog_helix_set_group(t0) { + this.helix = t0; + }, + context_menu_helix_helix_set_min_offset: function context_menu_helix_helix_set_min_offset(t0) { + this.dialog_helix_set_min_offset = t0; + }, + context_menu_helix_helix_set_max_offset: function context_menu_helix_helix_set_max_offset(t0) { + this.dialog_helix_set_max_offset = t0; + }, + context_menu_helix_helix_set_idx: function context_menu_helix_helix_set_idx(t0) { + this.dialog_helix_set_idx = t0; + }, + context_menu_helix_helix_set_major_tick_marks: function context_menu_helix_helix_set_major_tick_marks(t0) { + this.dialog_helix_set_major_tick_marks = t0; + }, + context_menu_helix_helix_set_roll: function context_menu_helix_helix_set_roll(t0) { + this.dialog_helix_set_roll = t0; + }, + context_menu_helix_helix_set_position: function context_menu_helix_helix_set_position(t0) { + this.dialog_helix_set_position = t0; + }, + context_menu_helix_helix_set_grid_position: function context_menu_helix_helix_set_grid_position(t0) { + this.dialog_helix_set_grid_position = t0; + }, + context_menu_helix_helix_set_group: function context_menu_helix_helix_set_group(t0) { + this.dialog_helix_set_group = t0; + }, + parse_major_ticks_and_check_validity_closure: function parse_major_ticks_and_check_validity_closure() { + }, + parse_major_ticks_and_check_validity_closure0: function parse_major_ticks_and_check_validity_closure0(t0) { + this.helix = t0; + }, + parse_major_ticks_and_check_validity_closure1: function parse_major_ticks_and_check_validity_closure1() { + }, + parse_major_ticks_and_check_validity_closure2: function parse_major_ticks_and_check_validity_closure2(t0) { + this.other_helix = t0; + }, + parse_major_ticks_and_check_validity_closure3: function parse_major_ticks_and_check_validity_closure3() { + }, + parse_major_tick_distances_and_check_validity_closure: function parse_major_tick_distances_and_check_validity_closure() { + }, + parse_helix_idxs_and_check_validity_closure: function parse_helix_idxs_and_check_validity_closure() { + }, + SourceLocation$: function(offset, column, line, sourceUrl) { + var t1 = line == null, + t2 = t1 ? 0 : line; + if (offset < 0) + H.throwExpression(P.RangeError$("Offset may not be negative, was " + offset + ".")); + else if (!t1 && line < 0) + H.throwExpression(P.RangeError$("Line may not be negative, was " + H.S(line) + ".")); + else if (column < 0) + H.throwExpression(P.RangeError$("Column may not be negative, was " + column + ".")); + return new V.SourceLocation(sourceUrl, offset, t2, column); + }, + SourceLocation: function SourceLocation(t0, t1, t2, t3) { + var _ = this; + _.sourceUrl = t0; + _.offset = t1; + _.line = t2; + _.column = t3; + }, + SourceSpanBase: function SourceSpanBase() { + }, + XmlGrammarDefinition: function XmlGrammarDefinition() { + }, + XmlGrammarDefinition_attribute_closure: function XmlGrammarDefinition_attribute_closure(t0) { + this.$this = t0; + }, + XmlGrammarDefinition_attributeValueDouble_closure: function XmlGrammarDefinition_attributeValueDouble_closure() { + }, + XmlGrammarDefinition_attributeValueSingle_closure: function XmlGrammarDefinition_attributeValueSingle_closure() { + }, + XmlGrammarDefinition_comment_closure: function XmlGrammarDefinition_comment_closure(t0) { + this.$this = t0; + }, + XmlGrammarDefinition_declaration_closure: function XmlGrammarDefinition_declaration_closure(t0) { + this.$this = t0; + }, + XmlGrammarDefinition_cdata_closure: function XmlGrammarDefinition_cdata_closure(t0) { + this.$this = t0; + }, + XmlGrammarDefinition_doctype_closure: function XmlGrammarDefinition_doctype_closure(t0) { + this.$this = t0; + }, + XmlGrammarDefinition_document_closure: function XmlGrammarDefinition_document_closure(t0) { + this.$this = t0; + }, + XmlGrammarDefinition_element_closure: function XmlGrammarDefinition_element_closure(t0) { + this.$this = t0; + }, + XmlGrammarDefinition_processing_closure: function XmlGrammarDefinition_processing_closure(t0) { + this.$this = t0; + }, + XmlHasText: function XmlHasText() { + }, + invalidate_png_middleware: function(store, action, next) { + type$.legacy_Store_legacy_AppState._as(store); + type$.legacy_dynamic_Function_dynamic._as(next); + if (type$.legacy_SvgPngCacheInvalidatingAction._is(action) && store.get$state(store).ui_state.dna_sequence_png_uri != null) + store.dispatch$1(U.LoadDnaSequenceImageUri_LoadDnaSequenceImageUri(null, 0, 0)); + else if (type$.legacy_HelixSelectSvgPngCacheInvalidatingAction._is(action) && store.get$state(store).ui_state.storables.only_display_selected_helices && store.get$state(store).ui_state.dna_sequence_png_uri != null) + store.dispatch$1(U.LoadDnaSequenceImageUri_LoadDnaSequenceImageUri(null, 0, 0)); + next.call$1(action); + } + }, + G = { + post: function(url, body, headers) { + return G._withClient(new G.post_closure(url, headers, body, null), type$.legacy_Response); + }, + _withClient: function(fn, $T) { + return G._withClient$body(fn, $T, $T._eval$1("0*")); + }, + _withClient$body: function(fn, $T, $async$type) { + var $async$goto = 0, + $async$completer = P._makeAsyncAwaitCompleter($async$type), + $async$returnValue, $async$handler = 2, $async$currentError, $async$next = [], t1, client; + var $async$_withClient = P._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { + if ($async$errorCode === 1) { + $async$currentError = $async$result; + $async$goto = $async$handler; + } + while (true) + switch ($async$goto) { + case 0: + // Function start + client = new O.BrowserClient(P.LinkedHashSet_LinkedHashSet$_empty(type$.legacy_HttpRequest)); + $async$handler = 3; + $async$goto = 6; + return P._asyncAwait(fn.call$1(client), $async$_withClient); + case 6: + // returning from await. + t1 = $async$result; + $async$returnValue = t1; + $async$next = [1]; + // goto finally + $async$goto = 4; + break; + $async$next.push(5); + // goto finally + $async$goto = 4; + break; + case 3: + // uncaught + $async$next = [2]; + case 4: + // finally + $async$handler = 2; + J.close$0$z(client); + // goto the next finally handler + $async$goto = $async$next.pop(); + break; + case 5: + // after finally + case 1: + // return + return P._asyncReturn($async$returnValue, $async$completer); + case 2: + // rethrow + return P._asyncRethrow($async$currentError, $async$completer); + } + }); + return P._asyncStartSync($async$_withClient, $async$completer); + }, + post_closure: function post_closure(t0, t1, t2, t3) { + var _ = this; + _.url = t0; + _.headers = t1; + _.body = t2; + _.encoding = t3; + }, + BaseRequest: function BaseRequest() { + }, + BaseRequest_closure: function BaseRequest_closure() { + }, + BaseRequest_closure0: function BaseRequest_closure0() { + }, + DartValueWrapper_wrapIfNeeded0: function(value) { + var t2, + t1 = type$.legacy_Function; + if (t1._is(value) && P.allowInterop(value, t1) !== value) { + t1 = $.$get$DartValueWrapper__functionWrapperCache(); + t2 = t1.$index(0, value); + if (t2 == null) { + t2 = new G.DartValueWrapper0(value); + t1.$indexSet(0, value, t2); + t1 = t2; + } else + t1 = t2; + return t1; + } + return value; + }, + DartValueWrapper_unwrapIfNeeded0: function(value, $T) { + if (value instanceof G.DartValueWrapper0) + return $T._eval$1("0*")._as(value.value); + return $T._eval$1("0*")._as(value); + }, + DartValueWrapper0: function DartValueWrapper0(t0) { + this.value = t0; + }, + Parser: function Parser() { + }, + char: function(char, message) { + var t1 = X.toCharCode(char), + t2 = type$.CodeUnits; + t2 = new H.MappedListIterable(new H.CodeUnits(char), t2._eval$1("String(ListMixin.E)")._as(X.code___toFormattedChar$closure()), t2._eval$1("MappedListIterable")).join$0(0); + t2 = '"' + t2 + '" expected'; + return new G.CharacterParser(new G.SingleCharPredicate(t1), t2); + }, + SingleCharPredicate: function SingleCharPredicate(t0) { + this.value = t0; + }, + CharacterParser: function CharacterParser(t0, t1) { + this.predicate = t0; + this.message = t1; + }, + RangeCharPredicate$: function(start, $stop) { + if (typeof start !== "number") + return start.$gt(); + if (typeof $stop !== "number") + return H.iae($stop); + if (start > $stop) + H.throwExpression(P.ArgumentError$("Invalid range: " + start + "-" + $stop)); + return new G.RangeCharPredicate(start, $stop); + }, + RangeCharPredicate: function RangeCharPredicate(t0, t1) { + this.start = t0; + this.stop = t1; + }, + LimitedRepeatingParser: function LimitedRepeatingParser() { + }, + browser: function() { + var t1 = $._browser; + if (t1 == null) { + $.Browser_navigator = new G._HtmlNavigator(); + t1 = $._browser = L.Browser_getCurrentBrowser(); + } + return t1; + }, + _HtmlNavigator: function _HtmlNavigator() { + }, + BaseBlockCipher: function BaseBlockCipher() { + }, + MD4FamilyDigest: function MD4FamilyDigest() { + }, + shiftl32: function(x, n) { + var t1; + n &= 31; + t1 = $._MASK32_HI_BITS[n]; + if (typeof x !== "number") + return x.$and(); + return (x & t1) << n >>> 0; + }, + rotr32: function(x, n) { + n &= 31; + if (typeof x !== "number") + return x.$shr(); + return (C.JSInt_methods._shrOtherPositive$1(x, n) | G.shiftl32(x, 32 - n)) >>> 0; + }, + pack32: function(x, out, offset, endian) { + var t1 = J.getInterceptor$x(out); + out = J.asByteData$2$x(t1.get$buffer(out), t1.get$offsetInBytes(out), t1.get$length(out)); + J.setUint32$3$x(out, offset, x, endian); + }, + unpack32: function(inp, offset, endian) { + var t1 = J.getInterceptor$x(inp); + inp = J.asByteData$2$x(t1.get$buffer(inp), t1.get$offsetInBytes(inp), t1.get$length(inp)); + return J.getUint32$2$x(inp, offset, endian); + }, + Register64$: function(hiOrLo32OrY) { + var t1 = new G.Register64(); + t1.$set$2(0, hiOrLo32OrY, null); + return t1; + }, + Register64: function Register64() { + this.__Register64__lo32 = this.__Register64__hi32 = $; + }, + setup_undo_redo_keyboard_listeners: function() { + var t2, t3, + t1 = document.body; + t1.toString; + t2 = type$._ElementEventStreamImpl_legacy_KeyboardEvent; + t3 = t2._eval$1("~(1)?")._as(new G.setup_undo_redo_keyboard_listeners_closure()); + type$.nullable_void_Function._as(null); + W._EventStreamSubscription$(t1, "keydown", t3, false, t2._precomputed1); + }, + setup_save_open_dna_file_keyboard_listeners: function() { + var t2, t3, + t1 = document.body; + t1.toString; + t2 = type$._ElementEventStreamImpl_legacy_KeyboardEvent; + t3 = t2._eval$1("~(1)?")._as(new G.setup_save_open_dna_file_keyboard_listeners_closure()); + type$.nullable_void_Function._as(null); + W._EventStreamSubscription$(t1, "keydown", t3, false, t2._precomputed1); + }, + copy_selected_strands_to_clipboard_image_keyboard_listeners: function() { + var t2, t3, + t1 = document.body; + t1.toString; + t2 = type$._ElementEventStreamImpl_legacy_KeyboardEvent; + t3 = t2._eval$1("~(1)?")._as(new G.copy_selected_strands_to_clipboard_image_keyboard_listeners_closure()); + type$.nullable_void_Function._as(null); + W._EventStreamSubscription$(t1, "keydown", t3, false, t2._precomputed1); + }, + App: function App(t0, t1, t2, t3, t4, t5, t6) { + var _ = this; + _.store_selection_rope = _.store = _.view = null; + _.context_selection_rope = t0; + _.store_selection_box = null; + _.context_selection_box = t1; + _.store_potential_crossover = null; + _.context_potential_crossover = t2; + _.store_extensions_move = null; + _.context_extensions_move = t3; + _.store_dna_ends_move = null; + _.context_dna_ends_move = t4; + _.store_helix_group_move = null; + _.context_helix_group_move = t5; + _.keys_pressed = t6; + _.keyboard_shortcuts_enabled = true; + }, + App_start_closure: function App_start_closure(t0) { + this.$this = t0; + }, + App_setup_warning_before_unload_closure: function App_setup_warning_before_unload_closure(t0) { + this.$this = t0; + }, + App_setup_save_design_to_localStorage_before_unload_closure: function App_setup_save_design_to_localStorage_before_unload_closure(t0) { + this.$this = t0; + }, + setup_undo_redo_keyboard_listeners_closure: function setup_undo_redo_keyboard_listeners_closure() { + }, + setup_save_open_dna_file_keyboard_listeners_closure: function setup_save_open_dna_file_keyboard_listeners_closure() { + }, + copy_selected_strands_to_clipboard_image_keyboard_listeners_closure: function copy_selected_strands_to_clipboard_image_keyboard_listeners_closure() { + }, + delete_all_reducer: function(strands, state, action) { + var t1, items, t2, select_mode_state, ends, deletions; + type$.legacy_BuiltList_legacy_Strand._as(strands); + type$.legacy_AppState._as(state); + type$.legacy_DeleteAllSelected._as(action); + t1 = state.ui_state; + items = t1.selectables_store.selected_items; + t2 = items._set; + if (t2.get$isEmpty(t2)) + return strands; + select_mode_state = t1.storables.select_mode_state; + t1 = select_mode_state.__strands_selectable; + if (t1 == null ? select_mode_state.__strands_selectable = N.SelectModeState.prototype.get$strands_selectable.call(select_mode_state) : t1) + strands = G._remove_strands(strands, P.LinkedHashSet_LinkedHashSet$from(t2.where$1(0, H._instanceType(items)._eval$1("bool(1)")._as(new G.delete_all_reducer_closure())), type$.legacy_Strand)); + else { + t1 = select_mode_state.__linkers_selectable; + if (t1 == null ? select_mode_state.__linkers_selectable = N.SelectModeState.prototype.get$linkers_selectable.call(select_mode_state) : t1) { + t1 = H._instanceType(items)._eval$1("bool(1)"); + strands = G.remove_crossovers_and_loopouts(strands, state, P.LinkedHashSet_LinkedHashSet$from(t2.where$1(0, t1._as(new G.delete_all_reducer_closure0())), type$.legacy_Crossover), P.LinkedHashSet_LinkedHashSet$from(t2.where$1(0, t1._as(new G.delete_all_reducer_closure1())), type$.legacy_Loopout)); + } else { + t1 = select_mode_state.__ends_selectable; + if (t1 == null ? select_mode_state.__ends_selectable = N.SelectModeState.prototype.get$ends_selectable.call(select_mode_state) : t1) { + ends = t2.where$1(0, H._instanceType(items)._eval$1("bool(1)")._as(new G.delete_all_reducer_closure2())); + t1 = ends.$ti; + strands = G.remove_domains(strands, state, new H.MappedIterable(ends, t1._eval$1("Domain*(1)")._as(new G.delete_all_reducer_closure3(state)), t1._eval$1("MappedIterable<1,Domain*>"))); + } else if (select_mode_state.get$domains_selectable()) + strands = G.remove_domains(strands, state, P.List_List$from(t2.where$1(0, H._instanceType(items)._eval$1("bool(1)")._as(new G.delete_all_reducer_closure4())), true, type$.legacy_Domain)); + else if (select_mode_state.get$deletions_selectable() || select_mode_state.get$insertions_selectable()) { + deletions = select_mode_state.get$deletions_selectable() ? P.List_List$from(t2.where$1(0, H._instanceType(items)._eval$1("bool(1)")._as(new G.delete_all_reducer_closure5())), true, type$.legacy_SelectableDeletion) : H.setRuntimeTypeInfo([], type$.JSArray_legacy_SelectableDeletion); + strands = G.remove_deletions_and_insertions(strands, state, deletions, select_mode_state.get$insertions_selectable() ? P.List_List$from(t2.where$1(0, H._instanceType(items)._eval$1("bool(1)")._as(new G.delete_all_reducer_closure6())), true, type$.legacy_SelectableInsertion) : H.setRuntimeTypeInfo([], type$.JSArray_legacy_SelectableInsertion)); + } else { + t1 = select_mode_state.__modifications_selectable; + if (t1 == null ? select_mode_state.__modifications_selectable = N.SelectModeState.prototype.get$modifications_selectable.call(select_mode_state) : t1) + strands = G.remove_modifications(strands, state, P.List_List$from(t2.where$1(0, H._instanceType(items)._eval$1("bool(1)")._as(new G.delete_all_reducer_closure7())), true, type$.legacy_SelectableModification)); + else { + t1 = select_mode_state.__extensions_selectable; + if (t1 == null ? select_mode_state.__extensions_selectable = N.SelectModeState.prototype.get$extensions_selectable.call(select_mode_state) : t1) + strands = G.remove_extensions(strands, state, P.List_List$from(t2.where$1(0, H._instanceType(items)._eval$1("bool(1)")._as(new G.delete_all_reducer_closure8())), true, type$.legacy_Extension)); + } + } + } + } + return strands; + }, + _remove_strands: function(strands, strands_to_remove) { + return strands.rebuild$1(new G._remove_strands_closure(strands_to_remove)); + }, + remove_crossovers_and_loopouts: function(strands, state, crossovers, loopouts) { + var t2, t3, t4, t5, t6, strand, new_strands, old_strand_idx, + t1 = type$.legacy_Strand, + strands_to_replace = P.LinkedHashMap_LinkedHashMap$_empty(t1, type$.legacy_List_legacy_Strand), + strand_to_linkers = P.LinkedHashMap_LinkedHashMap$_empty(t1, type$.legacy_List_legacy_Linker); + for (t2 = P._LinkedHashSetIterator$(crossovers, crossovers._collection$_modifications, H._instanceType(crossovers)._precomputed1), t3 = state.design, t4 = type$.JSArray_legacy_Linker; t2.moveNext$0();) { + t5 = t2._collection$_current; + t6 = t3.__crossover_to_strand; + if (t6 == null) { + t6 = N.Design.prototype.get$crossover_to_strand.call(t3); + t3.set$__crossover_to_strand(t6); + } + strand = J.$index$asx(t6._map$_map, t5); + if (strand_to_linkers.$index(0, strand) == null) + strand_to_linkers.$indexSet(0, strand, H.setRuntimeTypeInfo([], t4)); + t6 = strand_to_linkers.$index(0, strand); + (t6 && C.JSArray_methods).add$1(t6, t5); + } + for (t2 = P._LinkedHashSetIterator$(loopouts, loopouts._collection$_modifications, H._instanceType(loopouts)._precomputed1); t2.moveNext$0();) { + t5 = t2._collection$_current; + t6 = t3.__substrand_to_strand; + if (t6 == null) { + t6 = N.Design.prototype.get$substrand_to_strand.call(t3); + t3.set$__substrand_to_strand(t6); + } + t6 = J.$index$asx(t6._map$_map, t5); + if (strand_to_linkers.$index(0, t6) == null) + strand_to_linkers.$indexSet(0, t6, H.setRuntimeTypeInfo([], t4)); + t6 = strand_to_linkers.$index(0, t6); + (t6 && C.JSArray_methods).add$1(t6, t5); + } + for (t2 = strand_to_linkers.get$keys(strand_to_linkers), t2 = t2.get$iterator(t2); t2.moveNext$0();) { + t3 = t2.get$current(t2); + strands_to_replace.$indexSet(0, t3, G.remove_linkers_from_strand(t3, strand_to_linkers.$index(0, t3))); + } + t2 = H._instanceType(strands); + new_strands = new Q.CopyOnWriteList(true, strands._list, t2._eval$1("CopyOnWriteList<1>")); + for (t3 = strands_to_replace.get$keys(strands_to_replace), t3 = t3.get$iterator(t3), t4 = t2._precomputed1, t2 = t2._eval$1("Iterable<1>"); t3.moveNext$0();) { + t5 = t3.get$current(t3); + t4._as(t5); + old_strand_idx = J.indexOf$2$asx(new_strands._copy_on_write_list$_list, t5, 0); + new_strands._copy_on_write_list$_maybeCopyBeforeWrite$0(); + J.removeAt$1$ax(new_strands._copy_on_write_list$_list, old_strand_idx); + t5 = t2._as(strands_to_replace.$index(0, t5)); + new_strands._copy_on_write_list$_maybeCopyBeforeWrite$0(); + J.insertAll$2$ax(new_strands._copy_on_write_list$_list, old_strand_idx, t5); + } + return D._BuiltList$of(new_strands, t1); + }, + remove_linkers_from_strand: function(strand, linkers) { + var t1, substrands_list, t2, t3, linker_idx, ss_idx, t4, substrand, linker; + (linkers && C.JSArray_methods).sort$1(linkers, new G.remove_linkers_from_strand_closure()); + t1 = type$.JSArray_legacy_Substrand; + substrands_list = H.setRuntimeTypeInfo([H.setRuntimeTypeInfo([], t1)], type$.JSArray_legacy_List_legacy_Substrand); + t2 = strand.substrands._list; + t3 = J.getInterceptor$asx(t2); + linker_idx = 0; + ss_idx = 0; + while (true) { + t4 = t3.get$length(t2); + if (typeof t4 !== "number") + return H.iae(t4); + if (!(ss_idx < t4)) + break; + substrand = t3.$index(t2, ss_idx); + if (linker_idx >= substrands_list.length) + return H.ioore(substrands_list, linker_idx); + C.JSArray_methods.add$1(substrands_list[linker_idx], substrand); + if (linker_idx < linkers.length) { + linker = linkers[linker_idx]; + if (ss_idx === linker.get$prev_domain_idx()) { + ++linker_idx; + C.JSArray_methods.add$1(substrands_list, H.setRuntimeTypeInfo([], t1)); + if (linker instanceof G.Loopout) + ++ss_idx; + } + } + ++ss_idx; + } + if (strand.circular) { + t1 = substrands_list.length; + t2 = t1 - 1; + if (t2 < 0) + return H.ioore(substrands_list, t2); + t2 = substrands_list[t2]; + if (0 >= t1) + return H.ioore(substrands_list, 0); + C.JSArray_methods.addAll$1(t2, substrands_list[0]); + t2 = substrands_list.length; + t1 = t2 - 1; + if (t1 < 0) + return H.ioore(substrands_list, t1); + t1 = substrands_list[t1]; + if (0 >= t2) + return H.ioore(substrands_list, 0); + substrands_list[0] = t1; + if (0 >= t2) + return H.ioore(substrands_list, -1); + substrands_list.pop(); + strand = strand.rebuild$1(new G.remove_linkers_from_strand_closure0()); + } + return G.create_new_strands_from_substrand_lists(substrands_list, strand); + }, + _dna_seq: function(substrands, strand) { + var t1, + ret = H.setRuntimeTypeInfo([], type$.JSArray_legacy_String); + for (t1 = J.get$iterator$ax(substrands); t1.moveNext$0();) + C.JSArray_methods.add$1(ret, strand.dna_sequence_in$1(t1.get$current(t1))); + return C.JSArray_methods.join$1(ret, ""); + }, + create_new_strands_from_substrand_lists: function(substrands_list, strand) { + var t1, t2, _i, dna_sequences, t3, mod_5p, mod_3p, ss_to_mods, internal_mods_to_keep, t4, t5, t6, t7, substrands, internal_mods_on_these_substrands, dna_length_cur_substrands, i, substrand, mods_this_ss, t8, t9, t10, t11, mod, new_strands, color, is_scaffold, idt, dna_sequence, idt0, mods_int, mod_5p_cur, new_strand, _null = null; + if (substrands_list.length === 0) + return H.setRuntimeTypeInfo([], type$.JSArray_legacy_Strand); + if (strand.get$dna_sequence() == null) { + t1 = H.setRuntimeTypeInfo([], type$.JSArray_Null); + for (t2 = substrands_list.length, _i = 0; _i < substrands_list.length; substrands_list.length === t2 || (0, H.throwConcurrentModificationError)(substrands_list), ++_i) + t1.push(_null); + dna_sequences = t1; + } else { + t1 = H.setRuntimeTypeInfo([], type$.JSArray_legacy_String); + for (t2 = substrands_list.length, _i = 0; _i < substrands_list.length; substrands_list.length === t2 || (0, H.throwConcurrentModificationError)(substrands_list), ++_i) + t1.push(G._dna_seq(substrands_list[_i], strand)); + dna_sequences = t1; + } + t1 = C.JSArray_methods.get$first(C.JSArray_methods.get$first(substrands_list)); + t2 = strand.substrands._list; + t3 = J.getInterceptor$ax(t2); + mod_5p = J.$eq$(t1, t3.get$first(t2)) ? strand.modification_5p : _null; + mod_3p = J.$eq$(C.JSArray_methods.get$last(C.JSArray_methods.get$last(substrands_list)), t3.get$last(t2)) ? strand.modification_3p : _null; + ss_to_mods = strand.__internal_modifications_on_substrand; + if (ss_to_mods == null) { + ss_to_mods = E.Strand.prototype.get$internal_modifications_on_substrand.call(strand); + strand.set$__internal_modifications_on_substrand(ss_to_mods); + } + internal_mods_to_keep = H.setRuntimeTypeInfo([], type$.JSArray_legacy_Map_of_legacy_int_and_legacy_ModificationInternal); + for (t1 = substrands_list.length, t2 = ss_to_mods._map$_map, t3 = J.getInterceptor$asx(t2), t4 = type$.legacy_void_Function_legacy_LoopoutBuilder, t5 = type$.legacy_void_Function_legacy_DomainBuilder, t6 = type$.legacy_int, t7 = type$.legacy_ModificationInternal, _i = 0; _i < substrands_list.length; substrands_list.length === t1 || (0, H.throwConcurrentModificationError)(substrands_list), ++_i) { + substrands = substrands_list[_i]; + internal_mods_on_these_substrands = P.LinkedHashMap_LinkedHashMap$_empty(t6, t7); + for (dna_length_cur_substrands = 0, i = 0; i < substrands.length; ++i) { + substrand = substrands[i]; + mods_this_ss = t3.$index(t2, substrand); + if (mods_this_ss._keys == null) + mods_this_ss.set$_keys(J.get$keys$x(mods_this_ss._map$_map)); + t8 = mods_this_ss._keys; + t8.toString; + t8 = J.get$iterator$ax(t8); + t9 = mods_this_ss._map$_map; + t10 = J.getInterceptor$asx(t9); + for (; t8.moveNext$0();) { + t11 = t8.get$current(t8); + mod = t10.$index(t9, t11); + if (typeof t11 !== "number") + return H.iae(t11); + internal_mods_on_these_substrands.$indexSet(0, dna_length_cur_substrands + t11, mod); + } + if (substrand instanceof G.Loopout) { + t8 = t4._as(new G.create_new_strands_from_substrand_lists_closure(i)); + t9 = new G.LoopoutBuilder(); + t9._loopout$_$v = substrand; + t8.call$1(t9); + substrand = t9.build$0(); + } + if (i === 0 && substrand instanceof G.Domain) { + t8 = t5._as(new G.create_new_strands_from_substrand_lists_closure0()); + t9 = new G.DomainBuilder(); + t9._domain$_$v = substrand; + t8.call$1(t9); + substrand = t9.build$0(); + } + if (i === substrands.length - 1 && substrand instanceof G.Domain) { + t8 = t5._as(new G.create_new_strands_from_substrand_lists_closure1()); + t9 = new G.DomainBuilder(); + t9._domain$_$v = substrand; + t8.call$1(t9); + substrand = t9.build$0(); + } + C.JSArray_methods.$indexSet(substrands, i, substrand); + dna_length_cur_substrands += substrand.dna_length$0(); + } + C.JSArray_methods.add$1(internal_mods_to_keep, internal_mods_on_these_substrands); + } + new_strands = H.setRuntimeTypeInfo([], type$.JSArray_legacy_Strand); + for (color = strand.color, t1 = strand.name, is_scaffold = strand.is_scaffold, idt = strand.vendor_fields, i = 0; t2 = substrands_list.length, i < t2; ++i) { + substrands = substrands_list[i]; + if (i >= dna_sequences.length) + return H.ioore(dna_sequences, i); + dna_sequence = dna_sequences[i]; + t3 = i === 0; + idt0 = t3 ? idt : _null; + if (i >= internal_mods_to_keep.length) + return H.ioore(internal_mods_to_keep, i); + mods_int = internal_mods_to_keep[i]; + mod_5p_cur = t3 ? mod_5p : _null; + new_strand = E.Strand_Strand(substrands, false, color, dna_sequence, is_scaffold, _null, i === t2 - 1 ? mod_3p : _null, mod_5p_cur, mods_int, t1, idt0); + strand = new_strand._rebuild_substrands_with_new_fields_based_on_strand$1(new_strand._rebuild_substrands_with_new_dna_sequences_based_on_strand$1(new_strand)); + if (J.get$length$asx(new_strand.substrands._list) === 1) { + t2 = new_strand.__first_domain; + if (t2 == null) + t2 = new_strand.__first_domain = E.Strand.prototype.get$first_domain.call(new_strand); + t2.toString; + } + new_strand.check_two_consecutive_loopouts$0(); + new_strand.check_loopouts_length$0(); + new_strand.check_at_least_one_domain$0(); + new_strand.check_only_at_ends$0(); + new_strand.check_not_adjacent_to_loopout$0(); + C.JSArray_methods.add$1(new_strands, strand); + } + return new_strands; + }, + remove_extensions: function(strands, state, extensions) { + var t2, t3, t4, _i, ext, t5, strand, new_strands, i, strand0, + t1 = type$.legacy_Strand, + strand_to_exts = P.LinkedHashMap_LinkedHashMap$_empty(t1, type$.legacy_Set_legacy_Extension); + for (t2 = extensions.length, t3 = state.design, t4 = type$.legacy_Extension, _i = 0; _i < extensions.length; extensions.length === t2 || (0, H.throwConcurrentModificationError)(extensions), ++_i) { + ext = extensions[_i]; + t5 = t3.__substrand_to_strand; + if (t5 == null) { + t5 = N.Design.prototype.get$substrand_to_strand.call(t3); + t3.set$__substrand_to_strand(t5); + } + strand = J.$index$asx(t5._map$_map, ext); + if (strand_to_exts.$index(0, strand) == null) + strand_to_exts.$indexSet(0, strand, P.LinkedHashSet_LinkedHashSet$_empty(t4)); + strand_to_exts.$index(0, strand).add$1(0, ext); + } + t2 = H._instanceType(strands); + new_strands = new Q.CopyOnWriteList(true, strands._list, t2._eval$1("CopyOnWriteList<1>")); + t2 = t2._precomputed1; + i = 0; + while (true) { + t3 = J.get$length$asx(new_strands._copy_on_write_list$_list); + if (typeof t3 !== "number") + return H.iae(t3); + if (!(i < t3)) + break; + strand = J.$index$asx(new_strands._copy_on_write_list$_list, i); + if (strand_to_exts.get$keys(strand_to_exts).contains$1(0, strand)) { + t3 = strand_to_exts.$index(0, strand); + t4 = strand.__has_5p_extension; + if ((t4 == null ? strand.__has_5p_extension = E.Strand.prototype.get$has_5p_extension.call(strand) : t4) && t3.contains$1(0, J.get$first$ax(strand.substrands._list))) + strand = G._remove_extension_from_strand(strand, true); + t4 = strand.__has_3p_extension; + if ((t4 == null ? strand.__has_3p_extension = E.Strand.prototype.get$has_3p_extension.call(strand) : t4) && t3.contains$1(0, J.get$last$ax(strand.substrands._list))) + strand = G._remove_extension_from_strand(strand, false); + strand0 = strand._rebuild_substrands_with_new_fields_based_on_strand$1(strand._rebuild_substrands_with_new_dna_sequences_based_on_strand$1(strand)); + if (J.get$length$asx(strand.substrands._list) === 1) { + t3 = strand.__first_domain; + if (t3 == null) + t3 = strand.__first_domain = E.Strand.prototype.get$first_domain.call(strand); + t3.toString; + } + strand.check_two_consecutive_loopouts$0(); + strand.check_loopouts_length$0(); + strand.check_at_least_one_domain$0(); + strand.check_only_at_ends$0(); + strand.check_not_adjacent_to_loopout$0(); + t2._as(strand0); + new_strands._copy_on_write_list$_maybeCopyBeforeWrite$0(); + J.$indexSet$ax(new_strands._copy_on_write_list$_list, i, strand0); + } + ++i; + } + return D._BuiltList$of(new_strands, t1); + }, + _remove_extension_from_strand: function(strand, is_5p) { + var idx, + t1 = strand.substrands, + t2 = t1._list, + substrands = new Q.CopyOnWriteList(true, t2, H._instanceType(t1)._eval$1("CopyOnWriteList<1>")); + if (is_5p) + idx = 0; + else { + t1 = J.get$length$asx(t2); + if (typeof t1 !== "number") + return t1.$sub(); + idx = t1 - 1; + } + substrands._copy_on_write_list$_maybeCopyBeforeWrite$0(); + J.removeAt$1$ax(substrands._copy_on_write_list$_list, idx); + return strand.rebuild$1(new G._remove_extension_from_strand_closure(substrands)); + }, + remove_domains: function(strands, state, domains) { + var t2, t3, t4, t5, t6, strand, new_strands, old_strand_idx, + t1 = type$.legacy_Strand, + strands_to_replace = P.LinkedHashMap_LinkedHashMap$_empty(t1, type$.legacy_List_legacy_Strand), + strand_to_domains = P.LinkedHashMap_LinkedHashMap$_empty(t1, type$.legacy_Set_legacy_Domain); + for (t2 = J.get$iterator$ax(domains), t3 = type$.legacy_Domain; t2.moveNext$0();) { + t4 = t2.get$current(t2); + t5 = state.design; + t6 = t5.__substrand_to_strand; + if (t6 == null) { + t6 = N.Design.prototype.get$substrand_to_strand.call(t5); + t5.set$__substrand_to_strand(t6); + t5 = t6; + } else + t5 = t6; + strand = J.$index$asx(t5._map$_map, t4); + if (strand_to_domains.$index(0, strand) == null) + strand_to_domains.$indexSet(0, strand, P.LinkedHashSet_LinkedHashSet$_empty(t3)); + strand_to_domains.$index(0, strand).add$1(0, t4); + } + for (t2 = strand_to_domains.get$keys(strand_to_domains), t2 = t2.get$iterator(t2); t2.moveNext$0();) { + t3 = t2.get$current(t2); + strands_to_replace.$indexSet(0, t3, G._remove_domains_from_strand(t3, strand_to_domains.$index(0, t3))); + } + t2 = H._instanceType(strands); + new_strands = new Q.CopyOnWriteList(true, strands._list, t2._eval$1("CopyOnWriteList<1>")); + for (t3 = strands_to_replace.get$keys(strands_to_replace), t3 = t3.get$iterator(t3), t4 = t2._precomputed1, t2 = t2._eval$1("Iterable<1>"); t3.moveNext$0();) { + t5 = t3.get$current(t3); + t4._as(t5); + old_strand_idx = J.indexOf$2$asx(new_strands._copy_on_write_list$_list, t5, 0); + new_strands._copy_on_write_list$_maybeCopyBeforeWrite$0(); + J.removeAt$1$ax(new_strands._copy_on_write_list$_list, old_strand_idx); + t5 = t2._as(strands_to_replace.$index(0, t5)); + new_strands._copy_on_write_list$_maybeCopyBeforeWrite$0(); + J.insertAll$2$ax(new_strands._copy_on_write_list$_list, old_strand_idx, t5); + } + return D._BuiltList$of(new_strands, t1); + }, + _remove_domains_from_strand: function(strand, domains_to_remove) { + var t4, substrand, last_substrands, + t1 = type$.JSArray_legacy_Substrand, + substrands = H.setRuntimeTypeInfo([], t1), + substrands_list = H.setRuntimeTypeInfo([substrands], type$.JSArray_legacy_List_legacy_Substrand), + t2 = strand.substrands._list, + t3 = J.getInterceptor$asx(t2), + ss_idx = 0; + while (true) { + t4 = t3.get$length(t2); + if (typeof t4 !== "number") + return H.iae(t4); + if (!(ss_idx < t4)) + break; + substrand = t3.$index(t2, ss_idx); + if (domains_to_remove.contains$1(0, substrand)) { + if (substrands.length !== 0) + t4 = C.JSArray_methods.get$last(substrands) instanceof G.Loopout || C.JSArray_methods.get$last(substrands) instanceof S.Extension; + else + t4 = false; + if (t4) { + if (0 >= substrands.length) + return H.ioore(substrands, -1); + substrands.pop(); + } + if (substrands.length !== 0) { + substrands = H.setRuntimeTypeInfo([], t1); + C.JSArray_methods.add$1(substrands_list, substrands); + } + t4 = t3.get$length(t2); + if (typeof t4 !== "number") + return t4.$sub(); + if (ss_idx < t4 - 1) { + t4 = ss_idx + 1; + t4 = t3.$index(t2, t4) instanceof G.Loopout || t3.$index(t2, t4) instanceof S.Extension; + } else + t4 = false; + if (t4) + ++ss_idx; + } else + C.JSArray_methods.add$1(substrands, substrand); + ++ss_idx; + } + if (substrands.length === 0) { + if (0 >= substrands_list.length) + return H.ioore(substrands_list, -1); + substrands_list.pop(); + } else if (strand.circular) { + t1 = substrands_list.length; + if (t1 > 1) { + last_substrands = substrands_list[t1 - 1]; + C.JSArray_methods.addAll$1(last_substrands, substrands_list[0]); + t1 = substrands_list.length; + if (0 >= t1) + return H.ioore(substrands_list, 0); + substrands_list[0] = last_substrands; + if (0 >= t1) + return H.ioore(substrands_list, -1); + substrands_list.pop(); + } + strand = strand.rebuild$1(new G._remove_domains_from_strand_closure()); + } + return G.create_new_strands_from_substrand_lists(substrands_list, strand); + }, + remove_deletions_and_insertions: function(strands, state, deletions, insertions) { + var t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, _i, deletion, insertion, new_strands, i, strand, substrands, j, domain, t13, deletions_existing, t14, insertions_existing, strand0, + t1 = type$.legacy_Strand, + strand_to_deletions = P.LinkedHashMap_LinkedHashMap$_empty(t1, type$.legacy_Map_of_legacy_Domain_and_legacy_Set_legacy_SelectableDeletion), + strand_to_insertions = P.LinkedHashMap_LinkedHashMap$_empty(t1, type$.legacy_Map_of_legacy_Domain_and_legacy_Set_legacy_SelectableInsertion); + for (t2 = strands._list, t3 = J.getInterceptor$ax(t2), t4 = t3.get$iterator(t2), t5 = type$.legacy_SelectableDeletion, t6 = type$.legacy_SelectableInsertion, t7 = type$.legacy_Domain, t8 = type$.legacy_Set_legacy_SelectableDeletion, t9 = type$.legacy_Set_legacy_SelectableInsertion; t4.moveNext$0();) { + t10 = t4.get$current(t4); + strand_to_deletions.$indexSet(0, t10, P.LinkedHashMap_LinkedHashMap$_empty(t7, t8)); + strand_to_insertions.$indexSet(0, t10, P.LinkedHashMap_LinkedHashMap$_empty(t7, t9)); + t11 = t10.__domains; + if (t11 == null) { + t11 = E.Strand.prototype.get$domains.call(t10); + t10.set$__domains(t11); + } + t11 = J.get$iterator$ax(t11._list); + for (; t11.moveNext$0();) { + t12 = t11.get$current(t11); + strand_to_deletions.$index(0, t10).$indexSet(0, t12, P.LinkedHashSet_LinkedHashSet$_empty(t5)); + strand_to_insertions.$index(0, t10).$indexSet(0, t12, P.LinkedHashSet_LinkedHashSet$_empty(t6)); + } + } + for (t4 = deletions.length, t5 = state.design, _i = 0; _i < deletions.length; deletions.length === t4 || (0, H.throwConcurrentModificationError)(deletions), ++_i) { + deletion = deletions[_i]; + t6 = t5.__substrand_to_strand; + if (t6 == null) { + t6 = N.Design.prototype.get$substrand_to_strand.call(t5); + t5.set$__substrand_to_strand(t6); + } + t8 = deletion.domain; + J.add$1$ax(strand_to_deletions.$index(0, J.$index$asx(t6._map$_map, t8)).$index(0, t8), deletion); + } + for (t4 = insertions.length, _i = 0; _i < insertions.length; insertions.length === t4 || (0, H.throwConcurrentModificationError)(insertions), ++_i) { + insertion = insertions[_i]; + t6 = t5.__substrand_to_strand; + if (t6 == null) { + t6 = N.Design.prototype.get$substrand_to_strand.call(t5); + t5.set$__substrand_to_strand(t6); + } + t8 = insertion.domain; + J.add$1$ax(strand_to_insertions.$index(0, J.$index$asx(t6._map$_map, t8)).$index(0, t8), insertion); + } + t4 = H._instanceType(strands); + new_strands = new Q.CopyOnWriteList(true, t2, t4._eval$1("CopyOnWriteList<1>")); + t4 = t4._precomputed1; + t5 = type$.legacy_void_Function_legacy_StrandBuilder; + t6 = type$.legacy_int; + t8 = type$.legacy_void_Function_legacy_DomainBuilder; + i = 0; + while (true) { + t9 = t3.get$length(t2); + if (typeof t9 !== "number") + return H.iae(t9); + if (!(i < t9)) + break; + strand = t3.$index(t2, i); + t9 = strand.substrands; + t10 = H._instanceType(t9); + substrands = new Q.CopyOnWriteList(true, t9._list, t10._eval$1("CopyOnWriteList<1>")); + t9 = t10._precomputed1; + j = 0; + while (true) { + t10 = J.get$length$asx(substrands._copy_on_write_list$_list); + if (typeof t10 !== "number") + return H.iae(t10); + if (!(j < t10)) + break; + if (J.$index$asx(substrands._copy_on_write_list$_list, j) instanceof G.Domain) { + domain = t7._as(J.$index$asx(substrands._copy_on_write_list$_list, j)); + deletions = strand_to_deletions.$index(0, strand).$index(0, domain); + insertions = strand_to_insertions.$index(0, strand).$index(0, domain); + t10 = P.LinkedHashSet_LinkedHashSet$_empty(t6); + for (t11 = deletions.get$iterator(deletions); t11.moveNext$0();) + t10.add$1(0, t11.get$current(t11).offset); + t11 = P.LinkedHashSet_LinkedHashSet$_empty(t6); + for (t12 = insertions.get$iterator(insertions); t12.moveNext$0();) + t11.add$1(0, t12.get$current(t12).insertion.offset); + if (t10._collection$_length !== 0 || t11._collection$_length !== 0) { + t12 = domain.deletions; + t13 = H._instanceType(t12); + deletions_existing = new Q.CopyOnWriteList(true, t12._list, t13._eval$1("CopyOnWriteList<1>")); + t12 = domain.insertions; + t14 = H._instanceType(t12); + insertions_existing = new Q.CopyOnWriteList(true, t12._list, t14._eval$1("CopyOnWriteList<1>")); + t10 = t13._eval$1("bool(1)")._as(new G.remove_deletions_and_insertions_closure(t10)); + deletions_existing._copy_on_write_list$_maybeCopyBeforeWrite$0(); + J.removeWhere$1$ax(deletions_existing._copy_on_write_list$_list, t10); + t11 = t14._eval$1("bool(1)")._as(new G.remove_deletions_and_insertions_closure0(t11)); + insertions_existing._copy_on_write_list$_maybeCopyBeforeWrite$0(); + J.removeWhere$1$ax(insertions_existing._copy_on_write_list$_list, t11); + t11 = t8._as(new G.remove_deletions_and_insertions_closure1(deletions_existing, insertions_existing)); + t14 = new G.DomainBuilder(); + t14._domain$_$v = domain; + t11.call$1(t14); + t10 = t9._as(t14.build$0()); + substrands._copy_on_write_list$_maybeCopyBeforeWrite$0(); + J.$indexSet$ax(substrands._copy_on_write_list$_list, j, t10); + } + } + ++j; + } + t9 = t5._as(new G.remove_deletions_and_insertions_closure2(substrands)); + t10 = new E.StrandBuilder(); + t10._strand$_$v = strand; + t9.call$1(t10); + strand = t10.build$0(); + strand0 = strand._rebuild_substrands_with_new_fields_based_on_strand$1(strand._rebuild_substrands_with_new_dna_sequences_based_on_strand$1(strand)); + if (J.get$length$asx(strand.substrands._list) === 1) { + t9 = strand.__first_domain; + if (t9 == null) + t9 = strand.__first_domain = E.Strand.prototype.get$first_domain.call(strand); + t9.toString; + } + strand.check_two_consecutive_loopouts$0(); + strand.check_loopouts_length$0(); + strand.check_at_least_one_domain$0(); + strand.check_only_at_ends$0(); + strand.check_not_adjacent_to_loopout$0(); + t4._as(strand0); + new_strands._copy_on_write_list$_maybeCopyBeforeWrite$0(); + J.$indexSet$ax(new_strands._copy_on_write_list$_list, i, strand0); + ++i; + } + return D._BuiltList$of(new_strands, t1); + }, + remove_modifications: function(strands, state, modifications) { + var t1, t2, _i, mod, t3, t4, new_strands, t5, t6, t7, _box_0, selectable_mods, strand_idx, strand, t8, t9, mods_int, strand0, + strand_id_to_mods = P.LinkedHashMap_LinkedHashMap$_empty(type$.legacy_String, type$.legacy_Set_legacy_SelectableModification); + for (t1 = modifications.length, t2 = type$.legacy_SelectableModification, _i = 0; _i < modifications.length; modifications.length === t1 || (0, H.throwConcurrentModificationError)(modifications), ++_i) { + mod = modifications[_i]; + t3 = mod.get$strand(); + t4 = t3.__id; + if (!strand_id_to_mods.containsKey$1(0, t4 == null ? t3.__id = E.Strand.prototype.get$id.call(t3, t3) : t4)) { + t3 = mod.get$strand(); + t4 = t3.__id; + t3 = t4 == null ? t3.__id = E.Strand.prototype.get$id.call(t3, t3) : t4; + strand_id_to_mods.$indexSet(0, t3, P.LinkedHashSet_LinkedHashSet$_empty(t2)); + } + t3 = mod.get$strand(); + t4 = t3.__id; + strand_id_to_mods.$index(0, t4 == null ? t3.__id = E.Strand.prototype.get$id.call(t3, t3) : t4).add$1(0, mod); + } + t1 = strands._list; + t2 = H._instanceType(strands); + new_strands = new Q.CopyOnWriteList(true, t1, t2._eval$1("CopyOnWriteList<1>")); + t3 = H.setRuntimeTypeInfo([], type$.JSArray_legacy_String); + for (t4 = J.getInterceptor$ax(t1), t5 = t4.get$iterator(t1); t5.moveNext$0();) { + t6 = t5.get$current(t5); + t7 = t6.__id; + t3.push(t7 == null ? t6.__id = E.Strand.prototype.get$id.call(t6, t6) : t7); + } + for (t5 = strand_id_to_mods.get$keys(strand_id_to_mods), t5 = t5.get$iterator(t5), t2 = t2._precomputed1, t6 = type$.legacy_void_Function_legacy_StrandBuilder; t5.moveNext$0();) { + _box_0 = {}; + t7 = t5.get$current(t5); + selectable_mods = strand_id_to_mods.$index(0, t7); + strand_idx = C.JSArray_methods.indexOf$1(t3, t7); + strand = t4.$index(t1, strand_idx); + t7 = strand.modifications_int; + t8 = t7._map$_map; + t9 = H._instanceType(t7); + mods_int = new S.CopyOnWriteMap(t7._mapFactory, t8, t9._eval$1("@<1>")._bind$1(t9._rest[1])._eval$1("CopyOnWriteMap<1,2>")); + _box_0.remove_3p = _box_0.remove_5p = false; + for (t7 = new P._LinkedHashSetIterator(selectable_mods, selectable_mods._collection$_modifications, H._instanceType(selectable_mods)._eval$1("_LinkedHashSetIterator<1>")), t7._collection$_cell = selectable_mods._collection$_first; t7.moveNext$0();) { + t8 = t7._collection$_current; + if (t8 instanceof E.SelectableModification5Prime) + _box_0.remove_5p = true; + else if (t8 instanceof E.SelectableModification3Prime) + _box_0.remove_3p = true; + else if (t8 instanceof E.SelectableModificationInternal) { + t8 = t8.dna_idx; + mods_int._maybeCopyBeforeWrite$0(); + J.remove$1$ax(mods_int._copy_on_write_map$_map, t8); + } + } + t7 = t6._as(new G.remove_modifications_closure(_box_0, mods_int)); + t8 = new E.StrandBuilder(); + t8._strand$_$v = strand; + t7.call$1(t8); + strand = t8.build$0(); + strand0 = strand._rebuild_substrands_with_new_fields_based_on_strand$1(strand._rebuild_substrands_with_new_dna_sequences_based_on_strand$1(strand)); + if (J.get$length$asx(strand.substrands._list) === 1) { + t7 = strand.__first_domain; + if (t7 == null) + t7 = strand.__first_domain = E.Strand.prototype.get$first_domain.call(strand); + t7.toString; + } + strand.check_two_consecutive_loopouts$0(); + strand.check_loopouts_length$0(); + strand.check_at_least_one_domain$0(); + strand.check_only_at_ends$0(); + strand.check_not_adjacent_to_loopout$0(); + t2._as(strand0); + new_strands._copy_on_write_list$_maybeCopyBeforeWrite$0(); + J.$indexSet$ax(new_strands._copy_on_write_list$_list, strand_idx, strand0); + } + return D._BuiltList$of(new_strands, type$.legacy_Strand); + }, + delete_all_reducer_closure: function delete_all_reducer_closure() { + }, + delete_all_reducer_closure0: function delete_all_reducer_closure0() { + }, + delete_all_reducer_closure1: function delete_all_reducer_closure1() { + }, + delete_all_reducer_closure2: function delete_all_reducer_closure2() { + }, + delete_all_reducer_closure3: function delete_all_reducer_closure3(t0) { + this.state = t0; + }, + delete_all_reducer_closure4: function delete_all_reducer_closure4() { + }, + delete_all_reducer_closure5: function delete_all_reducer_closure5() { + }, + delete_all_reducer_closure6: function delete_all_reducer_closure6() { + }, + delete_all_reducer_closure7: function delete_all_reducer_closure7() { + }, + delete_all_reducer_closure8: function delete_all_reducer_closure8() { + }, + _remove_strands_closure: function _remove_strands_closure(t0) { + this.strands_to_remove = t0; + }, + _remove_strands__closure: function _remove_strands__closure(t0) { + this.strands_to_remove = t0; + }, + remove_linkers_from_strand_closure: function remove_linkers_from_strand_closure() { + }, + remove_linkers_from_strand_closure0: function remove_linkers_from_strand_closure0() { + }, + create_new_strands_from_substrand_lists_closure: function create_new_strands_from_substrand_lists_closure(t0) { + this.i = t0; + }, + create_new_strands_from_substrand_lists_closure0: function create_new_strands_from_substrand_lists_closure0() { + }, + create_new_strands_from_substrand_lists_closure1: function create_new_strands_from_substrand_lists_closure1() { + }, + _remove_extension_from_strand_closure: function _remove_extension_from_strand_closure(t0) { + this.substrands = t0; + }, + _remove_domains_from_strand_closure: function _remove_domains_from_strand_closure() { + }, + remove_deletions_and_insertions_closure: function remove_deletions_and_insertions_closure(t0) { + this.deletions_offsets_to_remove = t0; + }, + remove_deletions_and_insertions_closure0: function remove_deletions_and_insertions_closure0(t0) { + this.insertions_offsets_to_remove = t0; + }, + remove_deletions_and_insertions_closure1: function remove_deletions_and_insertions_closure1(t0, t1) { + this.deletions_existing = t0; + this.insertions_existing = t1; + }, + remove_deletions_and_insertions_closure2: function remove_deletions_and_insertions_closure2(t0) { + this.substrands = t0; + }, + remove_modifications_closure: function remove_modifications_closure(t0, t1) { + this._box_0 = t0; + this.mods_int = t1; + }, + Insertion_Insertion: function(offset, count) { + var t1 = new G.InsertionBuilder(); + type$.legacy_void_Function_legacy_InsertionBuilder._as(new G.Insertion_Insertion_closure(offset, count)).call$1(t1); + return t1.build$0(); + }, + Domain_Domain: function(deletions, end, $forward, helix, insertions, is_first, is_last, is_scaffold, start) { + var t2, _null = null, t1 = {}; + t1.deletions = deletions; + t1.insertions = insertions; + if (deletions == null) + t1.deletions = D.BuiltList_BuiltList$from(C.List_empty, type$.legacy_int); + if (insertions == null) + t1.insertions = D.BuiltList_BuiltList$from(C.List_empty, type$.legacy_Insertion); + t2 = new G.DomainBuilder(); + type$.legacy_void_Function_legacy_DomainBuilder._as(new G.Domain_Domain_closure(t1, helix, $forward, start, end, _null, _null, _null, _null, _null, is_first, is_last, is_scaffold)).call$1(t2); + return t2.build$0(); + }, + Domain_from_json: function(json_map) { + var $name, label, unused_fields, i, j, j0, ins1, ins2, _i, deletion, insertion, _s6_ = "Domain", _null = null, + _s17_ = "insertion offset ", + $forward = E.mandatory_field(json_map, "forward", _s6_, C.List_right), + helix = E.mandatory_field(json_map, "helix", _s6_, C.List_empty0), + start = E.mandatory_field(json_map, "start", _s6_, C.List_empty0), + end = E.mandatory_field(json_map, "end", _s6_, C.List_empty0), + t1 = type$.dynamic, + t2 = type$.legacy_int, + deletions = P.List_List$from(E.optional_field(json_map, "deletions", [], C.List_empty0, _null, _null, type$.legacy_Iterable_dynamic, t1), true, t2), + insertions = G.Domain_parse_json_insertions(E.optional_field(json_map, "insertions", [], C.List_empty0, _null, _null, type$.legacy_List_dynamic, t1)), + t3 = J.getInterceptor$x(json_map), + color = t3.containsKey$1(json_map, "color") ? E.parse_json_color(t3.$index(json_map, "color")) : _null; + t3 = type$.legacy_String; + $name = E.optional_field_with_null_default(json_map, "name", C.List_empty0, t3, t1); + label = E.optional_field_with_null_default(json_map, "label", C.List_empty0, t3, t1); + unused_fields = E.unused_fields_map(json_map, $.$get$domain_keys()); + t2 = P.LinkedHashSet_LinkedHashSet$from(deletions, t2); + deletions = P.List_List$of(t2, true, H._instanceType(t2)._eval$1("SetMixin.E")); + t2 = P.LinkedHashSet_LinkedHashSet$from(insertions, type$.legacy_Insertion); + insertions = P.List_List$of(t2, true, H._instanceType(t2)._eval$1("SetMixin.E")); + for (t1 = insertions.length, i = 0; i < t1; i = j) + for (j = i + 1, j0 = j; j0 < t1; ++j0) { + ins1 = insertions[i]; + ins2 = insertions[j0]; + if (ins1.offset === ins2.offset) + throw H.wrapException(N.IllegalDesignError$("two insertions on a domain have the same offset but different lengths:\n" + ins1.toString$0(0) + "\n" + ins2.toString$0(0) + "\n" + G.Domain_pre_domain_description(H._asIntS(helix), H._asBoolS($forward), H._asIntS(start), H._asIntS(end)))); + } + for (t2 = deletions.length, _i = 0; _i < t2; ++_i) { + deletion = deletions[_i]; + H._asNumS(start); + if (typeof deletion !== "number") + return deletion.$lt(); + if (typeof start !== "number") + return H.iae(start); + if (deletion < start) + throw H.wrapException(N.IllegalDesignError$("deletion " + H.S(deletion) + " cannot be less than offset " + H.S(start) + ".\n\n" + G.Domain_pre_domain_description(H._asIntS(helix), H._asBoolS($forward), H._asIntS(start), H._asIntS(end)))); + H._asNumS(end); + if (typeof end !== "number") + return H.iae(end); + if (deletion >= end) + throw H.wrapException(N.IllegalDesignError$("deletion " + H.S(deletion) + " cannot be greater than or equal to offset " + H.S(end) + ".\n\n" + G.Domain_pre_domain_description(H._asIntS(helix), H._asBoolS($forward), H._asIntS(start), H._asIntS(end)))); + } + for (_i = 0; _i < t1; ++_i) { + insertion = insertions[_i]; + t2 = insertion.offset; + H._asNumS(start); + if (typeof start !== "number") + return H.iae(start); + if (t2 < start) + throw H.wrapException(N.IllegalDesignError$(_s17_ + t2 + " cannot be less than start offset " + H.S(start) + ".\n\n" + G.Domain_pre_domain_description(H._asIntS(helix), H._asBoolS($forward), H._asIntS(start), H._asIntS(end)))); + H._asNumS(end); + if (typeof end !== "number") + return H.iae(end); + if (t2 >= end) + throw H.wrapException(N.IllegalDesignError$(_s17_ + t2 + " cannot be greater than or equal to end offset " + H.S(end) + ".\n\n" + G.Domain_pre_domain_description(H._asIntS(helix), H._asBoolS($forward), H._asIntS(start), H._asIntS(end)))); + t2 = insertion.length; + if (t2 <= 0) + throw H.wrapException(N.IllegalDesignError$("insertion length " + t2 + " cannot be less than or equal to 0.\n\n" + G.Domain_pre_domain_description(H._asIntS(helix), H._asBoolS($forward), H._asIntS(start), H._asIntS(end)))); + } + t1 = new G.DomainBuilder(); + H._asBoolS($forward); + t1.get$_domain$_$this()._domain$_forward = $forward; + H._asIntS(helix); + t1.get$_domain$_$this()._domain$_helix = helix; + H._asIntS(start); + t1.get$_domain$_$this()._start = start; + H._asIntS(end); + t1.get$_domain$_$this()._end = end; + t1.get$deletions().replace$1(0, deletions); + t1.get$insertions().replace$1(0, insertions); + t1.get$_domain$_$this()._domain$_color = color; + t1.get$_domain$_$this()._domain$_name = $name; + t1.get$_domain$_$this()._domain$_label = label; + type$.legacy_MapBuilder_of_legacy_String_and_legacy_Object._as(unused_fields); + t1.get$_domain$_$this().set$_domain$_unused_fields(unused_fields); + return t1; + }, + Domain_pre_domain_description: function(helix, $forward, start, end) { + return "This occurred on a " + (H.boolConversionCheck($forward) ? "forward" : "reverse") + " Domain with\n helix = " + H.S(helix) + "\n start = " + H.S(start) + "\n end = " + H.S(end) + "."; + }, + Domain_parse_json_insertions: function(json_encoded_insertions) { + return P.List_List$from(J.map$1$ax(json_encoded_insertions, new G.Domain_parse_json_insertions_closure()), true, type$.legacy_Insertion); + }, + Domain_num_insertions_in_list: function(insertions) { + var t1, num; + for (t1 = insertions.get$iterator(insertions), num = 0; t1.moveNext$0();) + num += t1.get$current(t1).length; + return num; + }, + Insertion: function Insertion() { + }, + Insertion_Insertion_closure: function Insertion_Insertion_closure(t0, t1) { + this.offset = t0; + this.count = t1; + }, + Domain: function Domain() { + }, + Domain_Domain_closure: function Domain_Domain_closure(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12) { + var _ = this; + _._box_0 = t0; + _.helix = t1; + _.forward = t2; + _.start = t3; + _.end = t4; + _.name = t5; + _.label = t6; + _.dna_sequence = t7; + _.color = t8; + _.strand_id = t9; + _.is_first = t10; + _.is_last = t11; + _.is_scaffold = t12; + }, + Domain_set_dna_sequence_closure: function Domain_set_dna_sequence_closure(t0) { + this.seq = t0; + }, + Domain_to_json_serializable_closure: function Domain_to_json_serializable_closure(t0) { + this.suppress_indent = t0; + }, + Domain_parse_json_insertions_closure: function Domain_parse_json_insertions_closure() { + }, + Domain_dna_length_in_closure: function Domain_dna_length_in_closure(t0, t1) { + this.left = t0; + this.right = t1; + }, + Domain_dna_length_in_closure0: function Domain_dna_length_in_closure0(t0, t1) { + this.left = t0; + this.right = t1; + }, + Domain_dna_sequence_deletions_insertions_to_spaces_closure: function Domain_dna_sequence_deletions_insertions_to_spaces_closure() { + }, + Domain_dna_sequence_deletions_insertions_to_spaces_closure0: function Domain_dna_sequence_deletions_insertions_to_spaces_closure0() { + }, + Domain_dna_sequence_deletions_insertions_to_spaces_offset_out_of_bounds: function Domain_dna_sequence_deletions_insertions_to_spaces_offset_out_of_bounds(t0, t1) { + this.$this = t0; + this.forward = t1; + }, + Domain_net_ins_del_length_increase_from_5p_to_closure: function Domain_net_ins_del_length_increase_from_5p_to_closure() { + }, + Domain_net_ins_del_length_increase_from_5p_to_closure0: function Domain_net_ins_del_length_increase_from_5p_to_closure0() { + }, + _$InsertionSerializer: function _$InsertionSerializer() { + }, + _$DomainSerializer: function _$DomainSerializer() { + }, + _$Insertion: function _$Insertion(t0, t1, t2) { + var _ = this; + _.offset = t0; + _.length = t1; + _.strand_id = t2; + _._domain$__hashCode = null; + }, + InsertionBuilder: function InsertionBuilder() { + var _ = this; + _._domain$_strand_id = _._domain$_length = _._domain$_offset = _._domain$_$v = null; + }, + _$Domain: function _$Domain(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14) { + var _ = this; + _.helix = t0; + _.forward = t1; + _.start = t2; + _.end = t3; + _.deletions = t4; + _.insertions = t5; + _.is_first = t6; + _.is_last = t7; + _.is_scaffold = t8; + _.name = t9; + _.label = t10; + _.dna_sequence = t11; + _.color = t12; + _.strand_id = t13; + _.unused_fields = t14; + _._domain$__hashCode = _.__num_insertions = _.__offset_3p = _.__offset_5p = _._domain$__address_3p = _._domain$__address_5p = _.__address_end = _.__address_start = _._domain$__selectable_insertions = _._domain$__selectable_deletions = _.__dnaend_end = _.__dnaend_start = _.__insertion_offset_to_length = _._domain$__select_mode = _._domain$__id = null; + }, + DomainBuilder: function DomainBuilder() { + var _ = this; + _._domain$_unused_fields = _._domain$_strand_id = _._domain$_color = _._domain$_dna_sequence = _._domain$_label = _._domain$_name = _._domain$_is_scaffold = _._is_last = _._is_first = _._insertions = _._deletions = _._end = _._start = _._domain$_forward = _._domain$_helix = _._domain$_$v = null; + }, + _Domain_Object_SelectableMixin: function _Domain_Object_SelectableMixin() { + }, + _Domain_Object_SelectableMixin_BuiltJsonSerializable: function _Domain_Object_SelectableMixin_BuiltJsonSerializable() { + }, + _Domain_Object_SelectableMixin_BuiltJsonSerializable_UnusedFields: function _Domain_Object_SelectableMixin_BuiltJsonSerializable_UnusedFields() { + }, + _Insertion_Object_BuiltJsonSerializable: function _Insertion_Object_BuiltJsonSerializable() { + }, + HelixGroupMove_HelixGroupMove: function(group, group_name, helices, original_mouse_point) { + var t1; + if (J.get$isEmpty$asx(helices._map$_map)) + throw H.wrapException(P.ArgumentError$value("helices should not be empty in a HelixGroupMove object", null, null)); + t1 = new G.HelixGroupMoveBuilder(); + type$.legacy_void_Function_legacy_HelixGroupMoveBuilder._as(new G.HelixGroupMove_HelixGroupMove_closure(group_name, group, helices, original_mouse_point)).call$1(t1); + return t1.build$0(); + }, + HelixGroupMove: function HelixGroupMove() { + }, + HelixGroupMove_HelixGroupMove_closure: function HelixGroupMove_HelixGroupMove_closure(t0, t1, t2, t3) { + var _ = this; + _.group_name = t0; + _.group = t1; + _.helices = t2; + _.original_mouse_point = t3; + }, + HelixGroupMove_current_position_closure: function HelixGroupMove_current_position_closure(t0, t1) { + this.$this = t0; + this.nm_translation = t1; + }, + _$HelixGroupMoveSerializer: function _$HelixGroupMoveSerializer() { + }, + _$HelixGroupMove: function _$HelixGroupMove(t0, t1, t2, t3, t4) { + var _ = this; + _.group_name = t0; + _.group = t1; + _.helices = t2; + _.original_mouse_point = t3; + _.current_mouse_point = t4; + _._helix_group_move$__hashCode = _.__geometry = _._helix_group_move$__helix_idxs_in_group = _.__is_nontrivial = _.__delta = _.__current_position = null; + }, + HelixGroupMoveBuilder: function HelixGroupMoveBuilder() { + var _ = this; + _._current_mouse_point = _._original_mouse_point = _._helix_group_move$_helices = _._helix_group_move$_group = _._helix_group_move$_group_name = _._helix_group_move$_$v = null; + }, + _HelixGroupMove_Object_BuiltJsonSerializable: function _HelixGroupMove_Object_BuiltJsonSerializable() { + }, + Loopout_Loopout: function(is_scaffold, loopout_num_bases, prev_domain_idx) { + var _null = null, + t1 = new G.LoopoutBuilder(); + type$.legacy_void_Function_legacy_LoopoutBuilder._as(new G.Loopout_Loopout_closure(loopout_num_bases, prev_domain_idx, is_scaffold, _null, _null, _null, _null)).call$1(t1); + return t1.build$0(); + }, + Loopout: function Loopout() { + }, + Loopout_Loopout_closure: function Loopout_Loopout_closure(t0, t1, t2, t3, t4, t5, t6) { + var _ = this; + _.loopout_num_bases = t0; + _.prev_domain_idx = t1; + _.is_scaffold = t2; + _.dna_sequence = t3; + _.color = t4; + _.name = t5; + _.label = t6; + }, + Loopout_set_dna_sequence_closure: function Loopout_set_dna_sequence_closure(t0) { + this.seq = t0; + }, + _$LoopoutSerializer: function _$LoopoutSerializer() { + }, + _$Loopout: function _$Loopout(t0, t1, t2, t3, t4, t5, t6, t7, t8) { + var _ = this; + _.loopout_num_bases = t0; + _.name = t1; + _.label = t2; + _.prev_domain_idx = t3; + _.dna_sequence = t4; + _.color = t5; + _.strand_id = t6; + _.is_scaffold = t7; + _.unused_fields = t8; + _._loopout$__hashCode = _._loopout$__id = _._loopout$__select_mode = _.__next_domain_idx = null; + }, + LoopoutBuilder: function LoopoutBuilder() { + var _ = this; + _._loopout$_unused_fields = _._loopout$_is_scaffold = _._loopout$_strand_id = _._loopout$_color = _._loopout$_dna_sequence = _._prev_domain_idx = _._loopout$_label = _._loopout$_name = _._loopout_num_bases = _._loopout$_$v = null; + }, + _Loopout_Object_SelectableMixin: function _Loopout_Object_SelectableMixin() { + }, + _Loopout_Object_SelectableMixin_BuiltJsonSerializable: function _Loopout_Object_SelectableMixin_BuiltJsonSerializable() { + }, + _Loopout_Object_SelectableMixin_BuiltJsonSerializable_UnusedFields: function _Loopout_Object_SelectableMixin_BuiltJsonSerializable_UnusedFields() { + }, + SourceSpanFormatException$: function(message, span, source) { + return new G.SourceSpanFormatException(source, message, span); + }, + SourceSpanException: function SourceSpanException() { + }, + SourceSpanFormatException: function SourceSpanFormatException(t0, t1, t2) { + this.source = t0; + this._span_exception$_message = t1; + this._span = t2; + }, + XmlElement$: function($name, attributesIterable, childrenIterable, isSelfClosing) { + var t4, + t1 = B.XmlNodeList$(type$.XmlNode), + t2 = B.XmlNodeList$(type$.XmlAttribute), + t3 = new G.XmlElement(isSelfClosing, $name, t1, t2, null); + $name.toString; + H._instanceType($name)._eval$1("XmlHasParent.T")._as(t3); + if ($name.get$parent($name) != null) + H.throwExpression(T.XmlParentException$(string$.Node_a + $name.toString$0(0))); + $name.set$_has_parent$_parent(t3); + t4 = type$.Set_XmlNodeType; + t4._as(C.Set_EeIxt); + if (t2.__XmlNodeList__parent === $) + t2.__XmlNodeList__parent = t3; + else + H.throwExpression(H.LateError$fieldAI("_parent")); + t2.set$_nodeTypes(C.Set_EeIxt); + t2.addAll$1(0, attributesIterable); + t4._as(C.Set_q81d9); + if (t1.__XmlNodeList__parent === $) + t1.__XmlNodeList__parent = t3; + else + H.throwExpression(H.LateError$fieldAI("_parent")); + t1.set$_nodeTypes(C.Set_q81d9); + t1.addAll$1(0, childrenIterable); + return t3; + }, + XmlElement: function XmlElement(t0, t1, t2, t3, t4) { + var _ = this; + _.isSelfClosing = t0; + _.name = t1; + _.XmlHasChildren_children = t2; + _.XmlHasAttributes_attributes = t3; + _.XmlHasParent__parent = t4; + }, + XmlElement_copy_closure: function XmlElement_copy_closure() { + }, + XmlElement_copy_closure0: function XmlElement_copy_closure0() { + }, + _XmlElement_XmlNode_XmlHasParent: function _XmlElement_XmlNode_XmlHasParent() { + }, + _XmlElement_XmlNode_XmlHasParent_XmlHasName: function _XmlElement_XmlNode_XmlHasParent_XmlHasName() { + }, + _XmlElement_XmlNode_XmlHasParent_XmlHasName_XmlHasAttributes: function _XmlElement_XmlNode_XmlHasParent_XmlHasName_XmlHasAttributes() { + }, + _XmlElement_XmlNode_XmlHasParent_XmlHasName_XmlHasAttributes_XmlHasChildren: function _XmlElement_XmlNode_XmlHasParent_XmlHasName_XmlHasAttributes_XmlHasChildren() { + }, + XmlParserDefinition: function XmlParserDefinition(t0) { + this.entityMapping = t0; + }, + helix_hide_all_middleware: function(store, action, next) { + var ui_state, design, t1; + type$.legacy_Store_legacy_AppState._as(store); + type$.legacy_dynamic_Function_dynamic._as(next).call$1(action); + if ((action instanceof U.SetOnlyDisplaySelectedHelices || action instanceof U.HelixSelect || action instanceof U.HelixSelectionsAdjust || action instanceof U.HelixSelectionsClear || action instanceof U.HelixRemoveAllSelected || action instanceof U.HelixRemove || action instanceof U.LoadDNAFile || action instanceof U.SetAppUIStateStorable) && !store.get$state(store).get$has_error()) { + ui_state = store.get$state(store).ui_state; + design = store.get$state(store).design; + t1 = ui_state.storables; + if (t1.only_display_selected_helices) { + t1 = t1.side_selected_helix_idxs._set; + t1 = t1.get$isEmpty(t1) && J.get$isNotEmpty$asx(design.helices._map$_map); + } else + t1 = false; + if (t1) + E.async_alert('The option "Display only selected helices" is enabled. Since no helices are selected, none will be displayed in the main view.\n\nTo display the helices, either select some helices in the side view, or disable the option "View-->Helices-->Display only selected helices".'); + } + }, + system_clipboard_middleware: function(store, action, next) { + type$.legacy_Store_legacy_AppState._as(store); + type$.legacy_dynamic_Function_dynamic._as(next); + if (action instanceof U.CopySelectedStrands) { + G.put_strand_info_on_clipboard(store); + next.call$1(action); + } else if (action instanceof U.ManualPasteInitiate) + G.handle_manual_paste_initiate(store, action, next); + else if (action instanceof U.AutoPasteInitiate) + G.handle_autopaste_initiate(store, action, next); + else + next.call$1(action); + }, + handle_manual_paste_initiate: function(store, action, next) { + var copy_info, t1; + if (G.paste_is_impossible_from_clipboard(action.clipboard_content, action.in_browser)) + return; + next.call$1(action); + copy_info = store.get$state(store).ui_state.copy_info; + t1 = copy_info.strands; + store.dispatch$1(U._$StrandsMoveStart$_(copy_info.copied_address, true, copy_info.helices_view_order_inverse, t1)); + }, + handle_autopaste_initiate: function(store, action, next) { + var copy_info, strands_move, batch_actions_list, new_strand_moving_details, t1, helix_idx, helices_offset_change_action, _s6_ = "status", + _s7_ = "offsets", + _s17_ = "HelixOffsetChange", + _s9_ = "helix_idx"; + if (G.paste_is_impossible_from_clipboard(action.clipboard_content, action.in_browser)) + return; + next.call$1(action); + copy_info = store.get$state(store).ui_state.copy_info; + strands_move = copy_info.create_strands_move$2$start_at_copied(store.get$state(store), true); + if (!D.in_bounds_and_allowable(store.get$state(store).design, strands_move)) + strands_move = copy_info.create_strands_move$2$start_at_copied(store.get$state(store), false); + batch_actions_list = H.setRuntimeTypeInfo([], type$.JSArray_legacy_UndoableAction); + new_strand_moving_details = D.get_strand_bounds_details(store.get$state(store).design, strands_move, null); + if (store.get$state(store).ui_state.storables.dynamically_update_helices) + if (new_strand_moving_details.$index(0, _s6_) === C.strand_bounds_status_2 || new_strand_moving_details.$index(0, _s6_) === C.strand_bounds_status_3) + for (t1 = new_strand_moving_details.$index(0, _s7_), t1 = t1.get$keys(t1), t1 = t1.get$iterator(t1); t1.moveNext$0();) { + helix_idx = H._asIntS(t1.get$current(t1)); + if (new_strand_moving_details.$index(0, _s6_) === C.strand_bounds_status_2) { + helices_offset_change_action = new U._$HelixOffsetChange(helix_idx, new_strand_moving_details.$index(0, _s7_).$index(0, helix_idx), null); + if (helix_idx == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s17_, _s9_)); + } else { + helices_offset_change_action = new U._$HelixOffsetChange(helix_idx, null, new_strand_moving_details.$index(0, _s7_).$index(0, helix_idx)); + if (helix_idx == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s17_, _s9_)); + } + C.JSArray_methods.add$1(batch_actions_list, helices_offset_change_action); + } + if (new_strand_moving_details.$index(0, _s6_) === C.strand_bounds_status_6 || new_strand_moving_details.$index(0, _s6_) === C.strand_bounds_status_4 || new_strand_moving_details.$index(0, _s6_) === C.strand_bounds_status_5) { + C.JSArray_methods.add$1(batch_actions_list, U._$StrandsMoveCommit$_(true, strands_move)); + store.dispatch$1(U.BatchAction_BatchAction(batch_actions_list, "Changing helix offsets and then executing autopaste")); + } + }, + paste_is_impossible_from_clipboard: function(clipboard_content, in_browser) { + var strands, helices_view_order, + _s76_ = "copied Strands came from more than one HelixGroup, so they cannot be pasted.", + strands_and_helices_view_order = X.parse_strands_and_helices_view_order_from_clipboard(clipboard_content); + if (strands_and_helices_view_order == null) + return true; + strands = strands_and_helices_view_order.item1; + helices_view_order = strands_and_helices_view_order.item2; + if (J.get$isEmpty$asx(strands)) + return true; + if (helices_view_order == null) { + P.print(_s76_); + if (in_browser) + C.Window_methods.alert$1(window, _s76_); + return true; + } + return false; + }, + put_strand_info_on_clipboard: function(store) { + var clipboard_strings, t2, strand_json, strands_json, design, helices_view_order, modifications, encoder, mods_map, t3, mod_json, clipboard_content, + strands = store.get$state(store).ui_state.selectables_store.get$selected_strands(), + t1 = strands._set; + if (t1.get$isNotEmpty(t1)) { + clipboard_strings = H.setRuntimeTypeInfo([], type$.JSArray_legacy_String); + for (t2 = t1.get$iterator(t1); t2.moveNext$0();) { + strand_json = K.json_encode(t2.get$current(t2), true); + strand_json.toString; + C.JSArray_methods.add$1(clipboard_strings, H.stringReplaceAllUnchecked(strand_json, "\n", "\n ")); + } + strands_json = C.JSArray_methods.join$1(clipboard_strings, ",\n "); + design = store.get$state(store).design; + t2 = design.group_names_of_strands$1(strands)._set; + if (t2.get$length(t2) === 1) { + t1 = design.group_of_helix_idx$1(t1.get$first(t1).get$first_domain().helix).helices_view_order; + helices_view_order = new Q.CopyOnWriteList(true, t1._list, H._instanceType(t1)._eval$1("CopyOnWriteList<1>")); + } else + helices_view_order = null; + modifications = G.all_modifications(D.BuiltList_BuiltList$from(strands, strands.$ti._precomputed1)); + t1 = type$.dynamic; + encoder = K.SuppressableIndentEncoder$(new K.Replacer(P.LinkedHashMap_LinkedHashMap$_empty(t1, t1), new P.JsonEncoder(null, null)), true); + mods_map = P.LinkedHashMap_LinkedHashMap$_empty(type$.legacy_String, t1); + t2 = modifications._set; + t3 = t2.get$length(t2); + if (typeof t3 !== "number") + return t3.$gt(); + if (t3 > 0) + for (t2 = t2.get$iterator(t2); t2.moveNext$0();) { + t3 = t2.get$current(t2); + if (!mods_map.containsKey$1(0, t3.get$vendor_code())) + mods_map.$indexSet(0, t3.get$vendor_code(), t3.to_json_serializable$1$suppress_indent(true)); + } + mod_json = encoder.convert$1(mods_map); + clipboard_content = '{\n "strands": [\n ' + strands_json + '\n ],\n "helices_view_order": ' + H.S(helices_view_order) + ',\n "modifications_in_design": [\n ' + mod_json + "\n ]\n}"; + $.$get$clipboard().toString; + P.promiseToFuture(window.navigator.clipboard.writeText(clipboard_content), t1); + } + }, + all_modifications: function(strands) { + var t3, t4, t5, t6, mods_5p, t7, mods_3p, mods_int, + t1 = type$.dynamic, + t2 = P.LinkedHashSet_LinkedHashSet$_empty(t1); + for (t3 = strands._list, t4 = J.getInterceptor$ax(t3), t5 = t4.get$iterator(t3); t5.moveNext$0();) { + t6 = t5.get$current(t5).modification_5p; + if (t6 != null) + t2.add$1(0, t6); + } + t5 = type$.legacy_Modification; + mods_5p = X.BuiltSet_BuiltSet$from(t2, t5); + t2 = P.LinkedHashSet_LinkedHashSet$_empty(t1); + for (t6 = t4.get$iterator(t3); t6.moveNext$0();) { + t7 = t6.get$current(t6).modification_3p; + if (t7 != null) + t2.add$1(0, t7); + } + mods_3p = X.BuiltSet_BuiltSet$from(t2, t5); + t1 = P.LinkedHashSet_LinkedHashSet$_empty(t1); + for (t2 = t4.get$iterator(t3); t2.moveNext$0();) { + t3 = t2.get$current(t2).modifications_int; + if (t3._values == null) + t3.set$_values(J.get$values$x(t3._map$_map)); + t3 = t3._values; + t3.toString; + t3 = J.get$iterator$ax(t3); + for (; t3.moveNext$0();) + t1.add$1(0, t3.get$current(t3)); + } + mods_int = X.BuiltSet_BuiltSet$from(t1, t5); + return mods_5p.union$1(mods_3p).union$1(mods_int); + } + }, + N = { + expectQuotedString: function(scanner) { + var string; + scanner.expect$2$name($.$get$_quotedString(), "quoted string"); + string = scanner.get$lastMatch().$index(0, 0); + return C.JSString_methods.splitMapJoin$2$onMatch(J.substring$2$s(string, 1, string.length - 1), $.$get$_quotedPair(), type$.String_Function_Match._as(new N.expectQuotedString_closure())); + }, + expectQuotedString_closure: function expectQuotedString_closure() { + }, + RepeatingParser: function RepeatingParser() { + }, + OperatingSystem_getCurrentOperatingSystem: function() { + return C.JSArray_methods.firstWhere$2$orElse($.$get$OperatingSystem__knownSystems(), new N.OperatingSystem_getCurrentOperatingSystem_closure(), new N.OperatingSystem_getCurrentOperatingSystem_closure0()); + }, + OperatingSystem$: function($name, matchesNavigator) { + return new N.OperatingSystem(matchesNavigator); + }, + OperatingSystem: function OperatingSystem(t0) { + this._matchesNavigator = t0; + }, + OperatingSystem_getCurrentOperatingSystem_closure: function OperatingSystem_getCurrentOperatingSystem_closure() { + }, + OperatingSystem_getCurrentOperatingSystem_closure0: function OperatingSystem_getCurrentOperatingSystem_closure0() { + }, + linux_closure: function linux_closure() { + }, + mac_closure: function mac_closure() { + }, + unix_closure: function unix_closure() { + }, + windows_closure: function windows_closure() { + }, + Pbkdf2Parameters: function Pbkdf2Parameters(t0, t1, t2) { + this.salt = t0; + this.iterationCount = t1; + this.desiredKeyLength = t2; + }, + BaseKeyDerivator: function BaseKeyDerivator() { + }, + BuiltMapValues_map_values: function(_this, f, $K, Vin, Vout) { + return _this.map$2$1(0, new N.BuiltMapValues_map_values_closure(f, $K, Vin, Vout), $K._eval$1("0*"), Vout._eval$1("0*")); + }, + MinMaxOfIterable_get_min: function(_this, $C) { + var min_val, val, t2, + t1 = J.getInterceptor$asx(_this); + if (t1.get$isEmpty(_this)) + throw H.wrapException(P.ArgumentError$("cannot call min on an empty iterable")); + for (t1 = t1.get$iterator(_this), min_val = null; t1.moveNext$0();) { + val = t1.get$current(t1); + if (min_val != null) { + t2 = J.compareTo$1$ns(min_val, val); + if (typeof t2 !== "number") + return t2.$gt(); + t2 = t2 > 0; + } else + t2 = true; + if (t2) + min_val = val; + } + return min_val; + }, + MinMaxOfIterable_get_max: function(_this, $C) { + var max_val, val, t2, + t1 = J.getInterceptor$asx(_this); + if (t1.get$isEmpty(_this)) + throw H.wrapException(P.ArgumentError$("cannot call max on an empty iterable")); + for (t1 = t1.get$iterator(_this), max_val = null; t1.moveNext$0();) { + val = t1.get$current(t1); + if (max_val != null) { + t2 = J.compareTo$1$ns(max_val, val); + if (typeof t2 !== "number") + return t2.$lt(); + t2 = t2 < 0; + } else + t2 = true; + if (t2) + max_val = val; + } + return max_val; + }, + BuiltMapValues_map_values_closure: function BuiltMapValues_map_values_closure(t0, t1, t2, t3) { + var _ = this; + _.f = t0; + _.K = t1; + _.Vin = t2; + _.Vout = t3; + }, + oxdna_export_middleware: function(store, action, next) { + var t1, state, strands_to_export, t2, dat_top, default_filename, default_filename_dat, default_filename_top, $content; + type$.legacy_Store_legacy_AppState._as(store); + type$.legacy_dynamic_Function_dynamic._as(next); + t1 = action instanceof U.OxdnaExport; + if (t1 || action instanceof U.OxviewExport) { + state = store.get$state(store); + if (action.get$selected_strands_only()) { + strands_to_export = store.get$state(store).ui_state.selectables_store.get$selected_strands()._set.toList$1$growable(0, true); + if (strands_to_export.length === 0) { + C.Window_methods.alert$1(window, "No strands are selected, so nothing to export.\nFirst select some strands, or choose Export\ud83e\udc52oxDNA to export all strands in the design."); + return; + } + } else { + t2 = state.design.strands; + strands_to_export = new Q.CopyOnWriteList(true, t2._list, H._instanceType(t2)._eval$1("CopyOnWriteList<1>")); + } + if (t1) { + dat_top = N.to_oxdna_format(state.design, strands_to_export); + default_filename = state.ui_state.storables.loaded_filename; + t1 = $.$get$context(); + default_filename_dat = t1.withoutExtension$1(default_filename) + ".dat"; + default_filename_top = t1.withoutExtension$1(default_filename) + ".top"; + E.save_file(default_filename_dat, dat_top.item1, null, C.BlobType_0); + E.save_file(default_filename_top, dat_top.item2, null, C.BlobType_0); + } else if (action instanceof U.OxviewExport) { + $content = N.to_oxview_format(state.design, strands_to_export); + default_filename = state.ui_state.storables.loaded_filename; + E.save_file($.$get$context().withoutExtension$1(default_filename) + ".oxview", $content, null, C.BlobType_0); + } + } + next.call$1(action); + }, + to_oxview_format: function(design, strands_to_export) { + var t7, sc_strand, oxdna_strand, oxvnucs, oxv_strand, scolor, index_in_strand, nuc, t8, t9, t10, oxvnuc, base_pairs_map, offset, domain1, domain2, sc_strand1, sc_strand2, oxv_strand1, oxv_strand2, d1, d2, s1_nuc_idx, b, + _s8_ = "monomers", + _s2_ = "bp", + system = N.convert_design_to_oxdna_system(design, strands_to_export), + t1 = type$.JSArray_legacy_Map_of_legacy_String_and_dynamic, + oxview_strands = H.setRuntimeTypeInfo([], t1), + strand_nuc_start = H.setRuntimeTypeInfo([-1], type$.JSArray_legacy_int), + t2 = type$.legacy_String, + t3 = type$.dynamic, + oxview_strand_map = P.LinkedHashMap_LinkedHashMap$_empty(t2, t3), + strand_id_to_index = P.LinkedHashMap_LinkedHashMap$_empty(t2, type$.legacy_int), + t4 = J.getInterceptor$asx(strands_to_export), + t5 = type$.JSArray_legacy_double, + t6 = system.strands, + nuc_count = 0, strand_count = 0, i = 0; + while (true) { + t7 = t4.get$length(strands_to_export); + if (typeof t7 !== "number") + return H.iae(t7); + if (!(i < t7)) + break; + sc_strand = t4.$index(strands_to_export, i); + t7 = sc_strand.__id; + strand_id_to_index.$indexSet(0, t7 == null ? sc_strand.__id = E.Strand.prototype.get$id.call(sc_strand, sc_strand) : t7, i); + if (i >= t6.length) + return H.ioore(t6, i); + oxdna_strand = t6[i]; + ++strand_count; + oxvnucs = H.setRuntimeTypeInfo([], t1); + C.JSArray_methods.add$1(strand_nuc_start, nuc_count); + if (i >= t6.length) + return H.ioore(t6, i); + oxv_strand = P.LinkedHashMap_LinkedHashMap$_literal(["id", strand_count, "class", "NucleicAcidStrand", "end5", nuc_count, "end3", nuc_count + t6[i].nucleotides.length, "monomers", oxvnucs], t2, t3); + t7 = sc_strand.__id; + oxview_strand_map.$indexSet(0, t7 == null ? sc_strand.__id = E.Strand.prototype.get$id.call(sc_strand, sc_strand) : t7, oxv_strand); + scolor = A.to_cadnano_v2_int_hex(sc_strand.color); + for (index_in_strand = 0; t7 = oxdna_strand.nucleotides, index_in_strand < t7.length; ++index_in_strand) { + nuc = t7[index_in_strand]; + t7 = nuc.center; + t8 = nuc.normal; + t9 = -t8.x; + t10 = -t8.y; + t8 = -t8.z; + t7 = H.setRuntimeTypeInfo([t7.x - t9 * 0.6, t7.y - t10 * 0.6, t7.z - t8 * 0.6], t5); + t8 = H.setRuntimeTypeInfo([t9, t10, t8], t5); + t10 = nuc.forward; + oxvnuc = P.LinkedHashMap_LinkedHashMap$_literal(["id", nuc_count, "p", t7, "a1", t8, "a3", H.setRuntimeTypeInfo([t10.x, t10.y, t10.z], t5), "class", "DNA", "type", nuc.base, "cluster", 1], t2, t3); + if (index_in_strand !== 0) + oxvnuc.$indexSet(0, "n5", nuc_count - 1); + if (index_in_strand !== oxdna_strand.nucleotides.length - 1) + oxvnuc.$indexSet(0, "n3", nuc_count + 1); + oxvnuc.$indexSet(0, "color", scolor); + ++nuc_count; + C.JSArray_methods.add$1(oxvnucs, oxvnuc); + } + C.JSArray_methods.add$1(oxview_strands, oxv_strand); + ++i; + } + base_pairs_map = design.base_pairs_with_domain_strand$3(false, true, X._BuiltSet$of(t4.toSet$0(strands_to_export), type$.legacy_Strand)); + for (t1 = J.get$iterator$ax(base_pairs_map.get$keys(base_pairs_map)), t4 = base_pairs_map._map$_map, t6 = J.getInterceptor$asx(t4), t7 = type$.legacy_Map_of_legacy_String_and_dynamic; t1.moveNext$0();) + for (t8 = J.get$iterator$ax(t6.$index(t4, t1.get$current(t1))._list); t8.moveNext$0();) { + t9 = t8.get$current(t8); + offset = t9.item1; + domain1 = t9.item2; + domain2 = t9.item3; + sc_strand1 = t9.item4; + sc_strand2 = t9.item5; + t9 = sc_strand1.__id; + oxv_strand1 = t7._as(oxview_strand_map.$index(0, t9 == null ? sc_strand1.__id = E.Strand.prototype.get$id.call(sc_strand1, sc_strand1) : t9)); + t9 = sc_strand2.__id; + oxv_strand2 = t7._as(oxview_strand_map.$index(0, t9 == null ? sc_strand2.__id = E.Strand.prototype.get$id.call(sc_strand2, sc_strand2) : t9)); + d1 = sc_strand1.domain_offset_to_strand_dna_idx$3(domain1, offset, false); + d2 = sc_strand2.domain_offset_to_strand_dna_idx$3(domain2, offset, false); + t9 = sc_strand1.__id; + t9 = strand_id_to_index.$index(0, t9 == null ? sc_strand1.__id = E.Strand.prototype.get$id.call(sc_strand1, sc_strand1) : t9); + if (typeof t9 !== "number") + return t9.$add(); + ++t9; + if (t9 >= strand_nuc_start.length) + return H.ioore(strand_nuc_start, t9); + s1_nuc_idx = strand_nuc_start[t9]; + t9 = sc_strand2.__id; + t9 = strand_id_to_index.$index(0, t9 == null ? sc_strand2.__id = E.Strand.prototype.get$id.call(sc_strand2, sc_strand2) : t9); + if (typeof t9 !== "number") + return t9.$add(); + ++t9; + if (t9 >= strand_nuc_start.length) + return H.ioore(strand_nuc_start, t9); + t9 = strand_nuc_start[t9] + d2; + J.$indexSet$ax(J.$index$asx(oxv_strand1.$index(0, _s8_), d1), _s2_, t9); + if (H.boolConversionCheck(J.containsKey$1$x(J.$index$asx(oxv_strand2.$index(0, _s8_), d2), _s2_))) { + t10 = s1_nuc_idx + d1; + if (!J.$eq$(J.$index$asx(J.$index$asx(oxv_strand2.$index(0, _s8_), d2), _s2_), t10)) { + H.printString("" + t9 + " " + t10 + " " + H.S(J.$index$asx(J.$index$asx(oxv_strand2.$index(0, _s8_), d2), _s2_)) + " " + domain1.toString$0(0) + " " + domain2.toString$0(0)); + C.Window_methods.alert$1(window, "You have found a bug in scadnano, please file a bug report."); + } + } + } + b = system.compute_bounding_box$0(); + return C.C_JsonCodec.encode$2$toEncodable(P.LinkedHashMap_LinkedHashMap$_literal(["box", H.setRuntimeTypeInfo([b.x, b.y, b.z], t5), "date", new P.DateTime(Date.now(), false).toIso8601String$0(), "systems", H.setRuntimeTypeInfo([P.LinkedHashMap_LinkedHashMap$_literal(["id", 0, "strands", oxview_strands], t2, type$.legacy_Object)], type$.JSArray_legacy_Map_of_legacy_String_and_legacy_Object), "forces", [], "selections", []], t2, t3), null); + }, + to_oxdna_format: function(design, strands_to_export) { + return N.convert_design_to_oxdna_system(design, strands_to_export).oxdna_output$0(); + }, + OxdnaVector$: function(x, y, z) { + return new N.OxdnaVector(x, y, z); + }, + convert_design_to_oxdna_system: function(design, strands_to_export) { + var t2, t3, t4, t5, t6, helix, t7, t8, t9, t10, t11, t12, offset, t13, group, grid, yaw_axis, pitch_axis, roll_axis, position, t14, t15, strand_domains, t16, t17, ss_idx, t18, domain, ox_strand, seq, origin_forward_normal, origin, $forward, normal, t19, t20, deletions, insertions, t21, t22, t23, index, t24, t25, mod, num, i, t26, t27, t28, t29, t30, norm, forw, t31, t32, base, sstrand, dstrand_is_loopout, dstrand, prev_nuc, next_nuc, strand_length, unit, len, loopout_idx, loopout_idx0, old_nuc, len0, sstrand0, + system = new N.OxdnaSystem(H.setRuntimeTypeInfo([], type$.JSArray_legacy_OxdnaStrand)), + geometry = design.geometry, + step_rot = -360 / geometry.bases_per_turn, + t1 = type$.legacy_int, + mod_map = P.LinkedHashMap_LinkedHashMap$_empty(t1, type$.legacy_List_legacy_int); + for (t2 = design.helices, t3 = J.get$iterator$ax(t2.get$keys(t2)), t4 = t2._map$_map, t5 = J.getInterceptor$asx(t4); t3.moveNext$0();) { + t6 = t3.get$current(t3); + helix = t5.$index(t4, t6); + mod_map.$indexSet(0, t6, P.List_List$filled(helix.max_offset - helix.min_offset, 0, false, t1)); + } + for (t3 = J.getInterceptor$ax(strands_to_export), t6 = t3.get$iterator(strands_to_export); t6.moveNext$0();) { + t7 = t6.get$current(t6); + t8 = t7.__domains; + if (t8 == null) { + t8 = E.Strand.prototype.get$domains.call(t7); + t7.set$__domains(t8); + t7 = t8; + } else + t7 = t8; + t7 = J.get$iterator$ax(t7._list); + for (; t7.moveNext$0();) { + t8 = t7.get$current(t7); + if (t8 instanceof G.Domain) { + t9 = t8.helix; + helix = t5.$index(t4, t9); + for (t10 = J.get$iterator$ax(t8.insertions._list); t10.moveNext$0();) { + t11 = t10.get$current(t10); + t12 = mod_map.$index(0, t9); + (t12 && C.JSArray_methods).$indexSet(t12, t11.offset - helix.min_offset, t11.length); + } + for (t8 = J.get$iterator$ax(t8.deletions._list); t8.moveNext$0();) { + t10 = t8.get$current(t8); + t11 = mod_map.$index(0, t9); + t12 = helix.min_offset; + if (typeof t10 !== "number") + return t10.$sub(); + (t11 && C.JSArray_methods).$indexSet(t11, t10 - t12, -1); + } + } + } + } + for (t2 = J.get$iterator$ax(t2.get$keys(t2)); t2.moveNext$0();) { + t6 = t2.get$current(t2); + helix = t5.$index(t4, t6); + for (offset = helix.min_offset + 1, t7 = helix.max_offset; offset < t7; ++offset) { + t8 = mod_map.$index(0, t6); + if (offset < 0 || offset >= t8.length) + return H.ioore(t8, offset); + t9 = t8[offset]; + t10 = mod_map.$index(0, t6); + t11 = offset - 1; + if (t11 < 0 || t11 >= t10.length) + return H.ioore(t10, t11); + t11 = t10[t11]; + if (typeof t9 !== "number") + return t9.$add(); + if (typeof t11 !== "number") + return H.iae(t11); + C.JSArray_methods.$indexSet(t8, offset, t9 + t11); + } + } + t2 = P.LinkedHashMap_LinkedHashMap$_empty(t1, type$.legacy_Tuple3_of_legacy_OxdnaVector_and_legacy_OxdnaVector_and_legacy_OxdnaVector); + for (t5 = J.getInterceptor$x(t4), t6 = t5.get$entries(t4), t6 = t6.get$iterator(t6), t7 = type$.Tuple3_of_legacy_OxdnaVector_and_legacy_OxdnaVector_and_legacy_OxdnaVector, t8 = design.groups; t6.moveNext$0();) { + t9 = t6.get$current(t6); + t10 = t9.key; + t9 = t9.value; + t11 = t9.group; + t12 = t8._map$_map; + t13 = J.getInterceptor$asx(t12); + group = t13.$index(t12, t11); + grid = group.grid; + yaw_axis = new N.OxdnaVector(0, 1, 0); + pitch_axis = new N.OxdnaVector(1, 0, 0).rotate$2(0, -t13.$index(t12, t11).yaw, yaw_axis); + roll_axis = new N.OxdnaVector(0, 0, 1).rotate$2(0, -t13.$index(t12, t11).yaw, yaw_axis); + yaw_axis = yaw_axis.rotate$2(0, t13.$index(t12, t11).pitch, pitch_axis); + roll_axis = roll_axis.rotate$2(0, t13.$index(t12, t11).pitch, pitch_axis); + yaw_axis = yaw_axis.rotate$2(0, -(t13.$index(t12, t11).roll + t9.roll), roll_axis); + X.Position3D_Position3D(0, 0, 0); + if (grid === C.Grid_none) { + position = t9.position_; + t11 = position == null; + if (t11) + E.grid_position_to_position3d(t9.grid_position, t9.grid, t9.geometry); + if (t11) + position = E.grid_position_to_position3d(t9.grid_position, t9.grid, t9.geometry); + } else + position = E.grid_position_to_position3d(t9.grid_position, grid, geometry); + t9 = group.position; + position = X.Position3D_Position3D(position.x + t9.x, position.y + t9.y, position.z + t9.z); + t2.$indexSet(0, t10, new S.Tuple3(new N.OxdnaVector(position.x * 1.173984503404555, position.y * 1.173984503404555, position.z * 1.173984503404555), roll_axis, new N.OxdnaVector(-yaw_axis.x, -yaw_axis.y, -yaw_axis.z), t7)); + } + for (t3 = t3.get$iterator(strands_to_export), t6 = system.strands, t7 = type$.JSArray_legacy_OxdnaNucleotide, t8 = type$.Tuple2_of_legacy_OxdnaStrand_and_legacy_bool, t9 = geometry.rise_per_base_pair, t10 = -geometry.minor_groove_angle, t11 = type$.JSArray_String, t12 = type$.ReversedListIterable_String, t13 = type$.legacy_OxdnaNucleotide, t14 = type$.JSArray_legacy_Tuple2_of_legacy_OxdnaStrand_and_legacy_bool; t3.moveNext$0();) { + t15 = t3.get$current(t3); + strand_domains = H.setRuntimeTypeInfo([], t14); + t16 = t15.substrands._list; + t17 = J.getInterceptor$asx(t16); + ss_idx = 0; + while (true) { + t18 = t17.get$length(t16); + if (typeof t18 !== "number") + return H.iae(t18); + if (!(ss_idx < t18)) + break; + domain = t17.$index(t16, ss_idx); + t18 = H.setRuntimeTypeInfo([], t7); + ox_strand = new N.OxdnaStrand(t18); + seq = domain.get$dna_sequence(); + if (seq == null) + seq = C.JSString_methods.$mul("T", domain.dna_length$0()); + if (domain instanceof G.Domain) { + t18 = domain.helix; + helix = t5.$index(t4, t18); + origin_forward_normal = t2.$index(0, helix.idx); + origin = origin_forward_normal.item1; + $forward = origin_forward_normal.item2; + normal = origin_forward_normal.item3; + t19 = domain.forward; + t20 = !t19; + if (t20) { + normal = normal.rotate$2(0, t10, $forward); + seq = new H.ReversedListIterable(H.setRuntimeTypeInfo(seq.split(""), t11), t12).join$1(0, ""); + } + normal = normal.rotate$2(0, t19 ? 20 : -20, $forward); + deletions = P.LinkedHashSet_LinkedHashSet$from(domain.deletions, t1); + insertions = P.LinkedHashMap_LinkedHashMap$_empty(t1, t1); + for (t21 = J.get$iterator$ax(domain.insertions._list); t21.moveNext$0();) { + t22 = t21.get$current(t21); + insertions.$indexSet(0, t22.offset, t22.length); + } + for (offset = domain.start, t21 = domain.end, t22 = seq.length, t23 = helix.min_offset, index = 0; offset < t21; ++offset) + if (!deletions.contains$1(0, offset)) { + t24 = mod_map.$index(0, t18); + t25 = offset - t23; + if (t25 < 0 || t25 >= t24.length) + return H.ioore(t24, t25); + mod = t24[t25]; + if (insertions.containsKey$1(0, offset)) { + num = insertions.$index(0, offset); + if (typeof num !== "number") + return H.iae(num); + i = 0; + for (; i < num; ++i) { + if (typeof mod !== "number") + return H.iae(mod); + t24 = offset + mod - num + i; + t25 = $forward.x; + t26 = $forward.y; + t27 = $forward.z; + t28 = origin.x; + t29 = origin.y; + t30 = origin.z; + norm = normal.rotate$2(0, step_rot * t24, $forward); + forw = t19 ? new N.OxdnaVector(-t25, -t26, -t27) : $forward; + if (index < 0 || index >= t22) + return H.ioore(seq, index); + t31 = seq[index]; + t32 = $.$get$_OXDNA_ORIGIN(); + C.JSArray_methods.add$1(ox_strand.nucleotides, new N.OxdnaNucleotide(new N.OxdnaVector(t28 + t25 * t24 * t9 * 1.173984503404555, t29 + t26 * t24 * t9 * 1.173984503404555, t30 + t27 * t24 * t9 * 1.173984503404555), norm, forw, t31, t32, t32)); + ++index; + } + } + if (typeof mod !== "number") + return H.iae(mod); + t24 = offset + mod; + t25 = $forward.x; + t26 = $forward.y; + t27 = $forward.z; + t28 = origin.x; + t29 = origin.y; + t30 = origin.z; + norm = normal.rotate$2(0, step_rot * t24, $forward); + forw = t19 ? new N.OxdnaVector(-t25, -t26, -t27) : $forward; + if (index < 0 || index >= t22) + return H.ioore(seq, index); + t31 = seq[index]; + t32 = $.$get$_OXDNA_ORIGIN(); + C.JSArray_methods.add$1(ox_strand.nucleotides, new N.OxdnaNucleotide(new N.OxdnaVector(t28 + t25 * t24 * t9 * 1.173984503404555, t29 + t26 * t24 * t9 * 1.173984503404555, t30 + t27 * t24 * t9 * 1.173984503404555), norm, forw, t31, t32, t32)); + ++index; + } + if (t20) { + t18 = ox_strand.nucleotides; + ox_strand.set$nucleotides(P.List_List$from(new H.ReversedListIterable(t18, H._arrayInstanceType(t18)._eval$1("ReversedListIterable<1>")), true, t13)); + } + C.JSArray_methods.add$1(strand_domains, new S.Tuple2(ox_strand, false, t8)); + } else if (domain instanceof G.Loopout) { + for (t18 = domain.loopout_num_bases, t19 = seq.length, i = 0; i < t18; ++i) { + if (i >= t19) + return H.ioore(seq, i); + base = seq[i]; + t20 = $.$get$_OXDNA_ORIGIN(); + C.JSArray_methods.add$1(ox_strand.nucleotides, new N.OxdnaNucleotide(new N.OxdnaVector(0, 0, 0), new N.OxdnaVector(0, -1, 0), new N.OxdnaVector(0, 0, 1), base, t20, t20)); + } + C.JSArray_methods.add$1(strand_domains, new S.Tuple2(ox_strand, true, t8)); + } else if (domain instanceof S.Extension) { + C.JSArray_methods.addAll$1(t18, N._compute_extension_nucleotides(design, t2, ss_idx === 0, mod_map, t15)); + C.JSArray_methods.add$1(strand_domains, new S.Tuple2(ox_strand, false, t8)); + } else + throw H.wrapException(P.AssertionError$("unreachable")); + ++ss_idx; + } + sstrand = new N.OxdnaStrand(H.setRuntimeTypeInfo([], t7)); + for (i = 0; t15 = strand_domains.length, i < t15; ++i, sstrand = sstrand0) { + dstrand_is_loopout = strand_domains[i]; + dstrand = dstrand_is_loopout.item1; + if (H.boolConversionCheck(dstrand_is_loopout.item2)) { + t16 = i - 1; + if (t16 < 0) + return H.ioore(strand_domains, t16); + prev_nuc = C.JSArray_methods.get$last(strand_domains[t16].item1.nucleotides); + t16 = i + 1; + if (t16 >= strand_domains.length) + return H.ioore(strand_domains, t16); + next_nuc = C.JSArray_methods.get$first(strand_domains[t16].item1.nucleotides); + strand_length = dstrand.nucleotides.length; + t16 = next_nuc.center; + t15 = prev_nuc.center; + t17 = t15.x; + t18 = t16.x - t17; + t19 = t15.y; + t20 = t16.y - t19; + t15 = t15.z; + t16 = t16.z - t15; + $forward = new N.OxdnaVector(t18, t20, t16); + unit = new N.OxdnaVector(1, 0, 0); + len = $forward.length$0(0); + normal = (1 - Math.abs(t18 / len + t20 / len * 0 + t16 / len * 0) < 0.001 ? new N.OxdnaVector(0, 1, 0) : unit).cross$1($forward); + for (t21 = strand_length + 1, t22 = normal.x, t23 = normal.y, t24 = normal.z, loopout_idx = 0; loopout_idx < strand_length; loopout_idx = loopout_idx0) { + loopout_idx0 = loopout_idx + 1; + t25 = loopout_idx0 / t21; + t26 = dstrand.nucleotides; + if (loopout_idx >= t26.length) + return H.ioore(t26, loopout_idx); + old_nuc = t26[loopout_idx]; + len = normal.length$0(0); + len0 = $forward.length$0(0); + t26 = old_nuc.base; + t27 = $.$get$_OXDNA_ORIGIN(); + C.JSArray_methods.$indexSet(dstrand.nucleotides, loopout_idx, new N.OxdnaNucleotide(new N.OxdnaVector(t17 + t18 * t25, t19 + t20 * t25, t15 + t16 * t25), new N.OxdnaVector(t22 / len, t23 / len, t24 / len), new N.OxdnaVector(t18 / len0, t20 / len0, t16 / len0), t26, t27, t27)); + } + } + sstrand0 = new N.OxdnaStrand(H.setRuntimeTypeInfo([], t7)); + sstrand0.set$nucleotides(C.JSArray_methods.$add(sstrand.nucleotides, dstrand.nucleotides)); + } + C.JSArray_methods.add$1(t6, sstrand); + } + return system; + }, + _compute_extension_nucleotides: function(design, helix_vectors, is_5p, mod_map, strand) { + var t4, mod, cen, norm, forw, ext, seq, nucs, i, base, t5, + geometry = design.geometry, + t1 = geometry.bases_per_turn, + adj_dom = is_5p ? J.get$first$ax(strand.get$domains()._list) : J.get$last$ax(strand.get$domains()._list), + t2 = adj_dom.helix, + adj_helix = J.$index$asx(design.helices._map$_map, t2), + offset = is_5p ? adj_dom.get$offset_5p() : adj_dom.get$offset_3p(), + origin_forward_normal = helix_vectors.$index(0, t2), + origin_ = origin_forward_normal.item1, + $forward = origin_forward_normal.item2, + normal = origin_forward_normal.item3, + t3 = adj_dom.forward; + if (!t3) + normal = normal.rotate$2(0, -geometry.minor_groove_angle, $forward); + normal = normal.rotate$2(0, t3 ? 20 : -20, $forward).normalize$0(0); + t2 = mod_map.$index(0, t2); + t4 = offset - adj_helix.min_offset; + if (t4 < 0 || t4 >= t2.length) + return H.ioore(t2, t4); + mod = t2[t4]; + if (typeof mod !== "number") + return H.iae(mod); + t4 = offset + mod; + cen = origin_.$add(0, $forward.$mul(0, t4).$mul(0, geometry.rise_per_base_pair).$mul(0, 1.173984503404555)); + norm = normal.rotate$2(0, -360 / t1 * t4, $forward); + forw = t3 ? $forward.$negate(0) : $forward; + t1 = strand.substrands; + ext = is_5p ? J.get$first$ax(t1._list) : J.get$last$ax(t1._list); + seq = ext.get$dna_sequence(); + if (seq == null) + seq = C.JSString_methods.$mul("T", ext.dna_length$0()); + if (is_5p) + seq = new H.ReversedListIterable(H.setRuntimeTypeInfo(seq.split(""), type$.JSArray_String), type$.ReversedListIterable_String).join$1(0, ""); + nucs = H.setRuntimeTypeInfo([], type$.JSArray_legacy_OxdnaNucleotide); + for (t1 = seq.length, t2 = norm.x, t3 = norm.y, t4 = norm.z, i = 0; i < t1; ++i) { + base = seq[i]; + cen = new N.OxdnaVector(cen.x + t2, cen.y + t3, cen.z + t4); + t5 = $.$get$_OXDNA_ORIGIN(); + C.JSArray_methods.add$1(nucs, new N.OxdnaNucleotide(cen, forw, norm, base, t5, t5)); + } + return is_5p ? P.List_List$from(new H.ReversedListIterable(nucs, type$.ReversedListIterable_legacy_OxdnaNucleotide), true, type$.legacy_OxdnaNucleotide) : nucs; + }, + OxdnaVector: function OxdnaVector(t0, t1, t2) { + this.x = t0; + this.y = t1; + this.z = t2; + }, + OxdnaNucleotide: function OxdnaNucleotide(t0, t1, t2, t3, t4, t5) { + var _ = this; + _.center = t0; + _.normal = t1; + _.forward = t2; + _.base = t3; + _.v = t4; + _.L = t5; + }, + OxdnaStrand: function OxdnaStrand(t0) { + this.nucleotides = t0; + }, + OxdnaSystem: function OxdnaSystem(t0) { + this.strands = t0; + }, + Design_Design: function(geometry, grid, groups, helix_builders, invert_y, strands, unused_fields) { + var t1, t2, t3, t4, t5, helices, t6, t7, t8, design, _box_0 = {}; + _box_0.geometry = geometry; + _box_0.groups = groups; + if (geometry == null) + _box_0.geometry = $.$get$default_geometry(); + for (t1 = J.getInterceptor$ax(helix_builders), t2 = t1.get$iterator(helix_builders); t2.moveNext$0();) { + t3 = t2.get$current(t2); + t4 = _box_0.geometry; + t4.toString; + t5 = new N.GeometryBuilder(); + t5._geometry$_$v = t4; + t3.get$_helix$_$this()._helix$_geometry = t5; + } + t2 = type$.legacy_int; + t3 = P.LinkedHashMap_LinkedHashMap$_empty(t2, type$.legacy_HelixBuilder); + for (t1 = t1.get$iterator(helix_builders); t1.moveNext$0();) { + t4 = t1.get$current(t1); + t3.$indexSet(0, t4.get$_helix$_$this()._idx, t4); + } + N.set_helices_min_max_offsets(t3, strands); + t1 = _box_0.groups; + N.assign_grids_to_helix_builders_from_groups(t1 == null ? _box_0.groups = N._calculate_groups_from_helix_builder(helix_builders, grid) : t1, t3); + t1 = t3.get$values(t3); + t3 = type$.legacy_Helix; + t4 = H._instanceType(t1); + helices = H.MappedIterable_MappedIterable(t1, t4._eval$1("Helix*(Iterable.E)")._as(new N.Design_Design_closure()), t4._eval$1("Iterable.E"), t3); + t2 = P.LinkedHashMap_LinkedHashMap$_empty(t2, t3); + for (t1 = H._instanceType(helices), t1 = new H.MappedIterator(J.get$iterator$ax(helices.__internal$_iterable), helices._f, t1._eval$1("@<1>")._bind$1(t1._rest[1])._eval$1("MappedIterator<1,2>")); t1.moveNext$0();) { + t4 = t1.__internal$_current; + t2.$indexSet(0, t4.idx, t4); + } + for (t1 = t2.get$keys(t2), t1 = t1.get$iterator(t1), t4 = type$.legacy_void_Function_legacy_HelixBuilder; t1.moveNext$0();) { + t5 = t1.get$current(t1); + t6 = t2.$index(0, t5); + t6.toString; + t7 = t4._as(new N.Design_Design_closure0(_box_0)); + t8 = new O.HelixBuilder(); + t8.get$_helix$_$this()._group = "default_group"; + t8.get$_helix$_$this()._min_offset = 0; + t8.get$_helix$_$this()._roll = 0; + t3._as(t6); + t8._helix$_$v = t6; + t7.call$1(t8); + t2.$indexSet(0, t5, t8.build$0()); + } + t1 = new N.DesignBuilder(); + N.Design__initializeBuilder(t1); + type$.legacy_void_Function_legacy_DesignBuilder._as(new N.Design_Design_closure1(_box_0, t2, strands, unused_fields)).call$1(t1); + design = t1.build$0(); + design._ensure_helix_groups_exist$0(); + design._check_helix_offsets$0(); + design._check_strands_reference_helices_legally$0(); + design._check_loopouts_not_consecutive_or_singletons_or_zero_length$0(); + design.check_strands_overlap_legally$0(); + design._check_grid_positions_disjoint$0(); + return design; + }, + Design__initializeBuilder: function(b) { + var t1, t2, + _s13_ = "default_group"; + b.get$_design0$_$this()._version = "0.19.4"; + t1 = $.$get$default_geometry(); + t1.toString; + t2 = new N.GeometryBuilder(); + t2._geometry$_$v = t1; + b.get$_design0$_$this()._geometry = t2; + t1 = type$.legacy_MapBuilder_of_legacy_int_and_legacy_Helix._as(A.MapBuilder_MapBuilder(C.Map_empty, type$.legacy_int, type$.legacy_Helix)); + b.get$_design0$_$this().set$_helices(t1); + t1 = type$.legacy_ListBuilder_legacy_Strand._as(D.ListBuilder_ListBuilder(C.List_empty, type$.legacy_Strand)); + b.get$_design0$_$this().set$_strands(t1); + t1 = type$.dynamic; + t2 = type$.legacy_String; + t1 = type$.legacy_MapBuilder_of_legacy_String_and_legacy_Object._as(A.MapBuilder_MapBuilder(P.LinkedHashMap_LinkedHashMap$_empty(t1, t1), t2, type$.legacy_Object)); + b.get$_design0$_$this().set$_unused_fields(t1); + t2 = type$.legacy_MapBuilder_of_legacy_String_and_legacy_HelixGroup._as(A.MapBuilder_MapBuilder(P.LinkedHashMap_LinkedHashMap$_literal(["default_group", $.$get$DEFAULT_HelixGroup()], t2, type$.legacy__$HelixGroup), t2, type$.legacy_HelixGroup)); + b.get$_design0$_$this().set$_groups(t2); + b.get$groups().$indexSet(0, _s13_, J.$index$asx(b.get$groups().get$_map$_map(), _s13_).rebuild$1(new N.Design__initializeBuilder_closure())); + }, + Design__check_mutually_exclusive_fields: function(json_map) { + var _i, pair, t2, key1, key2, + t1 = type$.JSArray_legacy_String, + exclusive_pairs = [H.setRuntimeTypeInfo(["grid", "groups"], t1), H.setRuntimeTypeInfo(["helices_view_order", "groups"], t1)]; + for (t1 = J.getInterceptor$x(json_map), _i = 0; _i < 2; ++_i) { + pair = exclusive_pairs[_i]; + t2 = pair.length; + if (0 >= t2) + return H.ioore(pair, 0); + key1 = pair[0]; + if (1 >= t2) + return H.ioore(pair, 1); + key2 = pair[1]; + if (t1.containsKey$1(json_map, key1) && t1.containsKey$1(json_map, key2)) + throw H.wrapException(N.IllegalDesignError$('cannot specify both "' + H.S(key1) + '" and "' + H.S(key2) + '" in Design JSON')); + } + }, + Design__num_helix_groups: function(json_map) { + var t1 = J.getInterceptor$x(json_map); + return t1.containsKey$1(json_map, "groups") ? H._asIntS(J.get$length$asx(t1.$index(json_map, "groups"))) : 0; + }, + Design__helices_from_json: function(json_map, invert_y, geometry) { + var using_groups, t4, multiple_groups_used, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, idx_default, helix_json, helix_builder, t16, t17, major_ticks_json, gp_list, t18, position, helix_idx, pitch, yaw, group, helix_pitch_yaw, expected_pitch, expected_yaw, idx_of_helix_with_expected_pitch_yaw, pitch_yaw_match_expectation, is_new_pitch_yaw, p, y, t19, _i, repeated_idxs, i1, i2, _null = null, + _s13_ = "default_group", + _s19_ = "major_tick_distance", + _s11_ = "major_ticks", + _s29_ = "major_tick_periodic_distances", + _s13_0 = "grid_position", + _s10_ = "max_offset", + _s8_ = "position", + t1 = type$.JSArray_legacy_HelixBuilder, + helix_builders_list = H.setRuntimeTypeInfo([], t1), + t2 = type$.legacy_String, + t3 = type$.legacy_HelixPitchYaw, + group_to_pitch_yaw = P.LinkedHashMap_LinkedHashMap$_empty(t2, t3), + pitch_yaw_to_helices = P.LinkedHashMap_LinkedHashMap$_empty(t3, type$.legacy_List_legacy_HelixBuilder), + grid_is_none = E.optional_field(json_map, "grid", C.Grid_none, C.List_empty0, _null, S.grid_Grid_valueOf$closure(), type$.legacy_Grid, t2) === C.Grid_none; + t3 = J.getInterceptor$x(json_map); + using_groups = t3.containsKey$1(json_map, "groups"); + t4 = N.Design__num_helix_groups(json_map); + if (typeof t4 !== "number") + return t4.$gt(); + multiple_groups_used = t4 > 1; + t4 = type$.legacy_List_dynamic; + for (t3 = J.get$iterator$ax(t4._as(t3.$index(json_map, "helices"))), t5 = !grid_is_none, t6 = type$.dynamic, t7 = type$.legacy_int, t8 = type$.legacy_double, t9 = type$.legacy_Map_of_legacy_String_and_dynamic, t10 = type$.legacy_MapBuilder_of_legacy_String_and_legacy_Object, t11 = type$.legacy_ListBuilder_legacy_int, t12 = type$.List_legacy_int, t13 = type$.ListBuilder_legacy_int, t14 = type$.Iterable_dynamic, t15 = !using_groups, idx_default = 0; t3.moveNext$0();) { + helix_json = t9._as(t3.get$current(t3)); + helix_builder = new O.HelixBuilder(); + helix_builder.get$_helix$_$this()._group = _s13_; + helix_builder.get$_helix$_$this()._min_offset = 0; + helix_builder.get$_helix$_$this()._roll = 0; + t16 = t10._as(E.unused_fields_map(helix_json, $.$get$helix_keys())); + helix_builder.get$_helix$_$this().set$_helix$_unused_fields(t16); + t16 = J.getInterceptor$x(helix_json); + if (t16.containsKey$1(helix_json, _s19_)) { + t17 = new D.ListBuilder(t13); + t17.set$__ListBuilder__list(t12._as(P.List_List$from([H._asIntS(t16.$index(helix_json, _s19_))], true, t7))); + t17.set$_listOwner(_null); + t11._as(t17); + helix_builder.get$_helix$_$this().set$_major_tick_periodic_distances(t17); + } + if (t16.containsKey$1(helix_json, _s11_)) { + major_ticks_json = t16.$index(helix_json, _s11_); + if (major_ticks_json != null) { + t17 = new D.ListBuilder(t13); + t17.set$__ListBuilder__list(t12._as(P.List_List$from(P.List_List$from(t14._as(major_ticks_json), true, t7), true, t7))); + t17.set$_listOwner(_null); + t11._as(t17); + helix_builder.get$_helix$_$this().set$_major_ticks(t17); + } + } + if (t16.containsKey$1(helix_json, _s29_)) { + t17 = new D.ListBuilder(t13); + t17.set$__ListBuilder__list(t12._as(P.List_List$from(P.List_List$from(t14._as(t16.$index(helix_json, _s29_)), true, t7), true, t7))); + t17.set$_listOwner(_null); + t11._as(t17); + helix_builder.get$_helix$_$this().set$_major_tick_periodic_distances(t17); + } + if (t16.containsKey$1(helix_json, _s13_0)) { + gp_list = t4._as(t16.$index(helix_json, _s13_0)); + t17 = J.getInterceptor$asx(gp_list); + if (t17.get$length(gp_list) !== 2) + H.throwExpression(P.ArgumentError$("list of grid_position coordinates must be length 2 but this is the list: " + H.S(gp_list))); + t17 = D.GridPosition_GridPosition(H._asIntS(t17.$index(gp_list, 0)), H._asIntS(t17.$index(gp_list, 1))); + t18 = new D.GridPositionBuilder(); + t18._grid_position$_$v = t17; + helix_builder.get$_helix$_$this()._grid_position = t18; + } + if (t16.containsKey$1(helix_json, _s10_)) + if (t16.$index(helix_json, _s10_) != null) { + t17 = H._asIntS(t16.$index(helix_json, _s10_)); + helix_builder.get$_helix$_$this()._max_offset = t17; + } + t17 = H._asStringS(E.optional_field(helix_json, "group", _s13_, C.List_empty0, _null, _null, t2, t6)); + helix_builder.get$_helix$_$this()._group = t17; + t17 = H._asIntS(E.optional_field_with_null_default(helix_json, "min_offset", C.List_empty0, t7, t6)); + helix_builder.get$_helix$_$this()._min_offset = t17; + t17 = H._asIntS(E.optional_field_with_null_default(helix_json, "major_tick_start", C.List_empty0, t7, t6)); + helix_builder.get$_helix$_$this()._major_tick_start = t17; + t17 = H._asIntS(E.optional_field_with_null_default(helix_json, "idx", C.List_empty0, t7, t6)); + helix_builder.get$_helix$_$this()._idx = t17; + t17 = H._asDoubleS(E.optional_field(helix_json, "roll", 0, C.List_empty0, _null, _null, t8, t6)); + helix_builder.get$_helix$_$this()._roll = t17; + if (t16.containsKey$1(helix_json, _s19_) && t16.containsKey$1(helix_json, _s29_)) { + t17 = helix_builder.get$idx(); + H.throwExpression(N.IllegalDesignError$("helix " + H.S(t17 == null ? "" : t17) + " has both keys major_tick_distance and major_tick_periodic_distances. At most one is allow to be specified.")); + } + position = X.Position3D_Position3D$from_json(t16.containsKey$1(helix_json, _s8_) ? t9._as(t16.$index(helix_json, _s8_)) : helix_json); + if (position == null) + t17 = _null; + else { + t17 = new X.Position3DBuilder(); + t17._position3d$_$v = position; + } + helix_builder.get$_helix$_$this()._position_ = t17; + if (helix_builder.get$_helix$_$this()._idx == null) + helix_builder.get$_helix$_$this()._idx = idx_default; + helix_idx = helix_builder.get$_helix$_$this()._idx; + pitch = H._asNumS(t16.containsKey$1(helix_json, "pitch") ? t16.$index(helix_json, "pitch") : 0); + yaw = H._asNumS(t16.containsKey$1(helix_json, "yaw") ? t16.$index(helix_json, "yaw") : 0); + group = helix_builder.get$_helix$_$this()._group; + if (multiple_groups_used) + if (group_to_pitch_yaw.containsKey$1(0, group)) { + helix_pitch_yaw = group_to_pitch_yaw.$index(0, group); + expected_pitch = helix_pitch_yaw.pitch; + expected_yaw = helix_pitch_yaw.yaw; + idx_of_helix_with_expected_pitch_yaw = helix_pitch_yaw.helix_idx; + if (typeof pitch !== "number") + return pitch.$sub(); + if (typeof expected_pitch !== "number") + return H.iae(expected_pitch); + if (Math.abs(pitch - expected_pitch) < 1e-9) { + if (typeof yaw !== "number") + return yaw.$sub(); + if (typeof expected_yaw !== "number") + return H.iae(expected_yaw); + pitch_yaw_match_expectation = Math.abs(yaw - expected_yaw) < 1e-9; + } else + pitch_yaw_match_expectation = false; + if (!pitch_yaw_match_expectation) + throw H.wrapException(N.IllegalDesignError$("In HelixGroup " + H.S(group) + ", Helix " + H.S(helix_idx) + " has pitch " + H.S(pitch) + " and yaw " + H.S(yaw) + " but Helix " + H.S(helix_idx) + "\n has pitch " + H.S(expected_pitch) + " and yaw " + H.S(expected_yaw) + ". Please seperate Helix " + H.S(helix_idx) + " and Helix\n " + H.S(idx_of_helix_with_expected_pitch_yaw) + " into seperate HelixGroups.")); + } else + group_to_pitch_yaw.$indexSet(0, group, new N.HelixPitchYaw(pitch, yaw, helix_idx)); + else { + t17 = pitch_yaw_to_helices.get$entries(pitch_yaw_to_helices); + t17 = t17.get$iterator(t17); + while (true) { + if (!t17.moveNext$0()) { + is_new_pitch_yaw = true; + break; + } + t18 = t17.get$current(t17).key; + p = t18.pitch; + y = t18.yaw; + if (typeof p !== "number") + return p.$sub(); + if (typeof pitch !== "number") + return H.iae(pitch); + if (Math.abs(p - pitch) < 1e-9) { + if (typeof y !== "number") + return y.$sub(); + if (typeof yaw !== "number") + return H.iae(yaw); + t19 = Math.abs(y - yaw) < 1e-9; + } else + t19 = false; + if (t19) { + J.add$1$ax(pitch_yaw_to_helices.$index(0, t18), helix_builder); + is_new_pitch_yaw = false; + break; + } + } + if (is_new_pitch_yaw) + pitch_yaw_to_helices.$indexSet(0, new N.HelixPitchYaw(pitch, yaw, helix_idx), H.setRuntimeTypeInfo([helix_builder], t1)); + } + geometry.toString; + t17 = new N.GeometryBuilder(); + t17._geometry$_$v = geometry; + helix_builder.get$_helix$_$this()._helix$_geometry = t17; + if (grid_is_none && t15 && t16.containsKey$1(helix_json, _s13_0)) + throw H.wrapException(N.IllegalDesignError$("grid is none, but Helix " + H.S(helix_idx) + " has grid_position = " + H.S(t16.$index(helix_json, _s13_0)))); + else if (t5 && t15 && t16.containsKey$1(helix_json, _s8_)) + throw H.wrapException(N.IllegalDesignError$("grid is not none, but Helix " + H.S(helix_idx) + " has position = " + H.S(t16.$index(helix_json, _s8_)))); + C.JSArray_methods.add$1(helix_builders_list, helix_builder); + ++idx_default; + } + t1 = H.setRuntimeTypeInfo([], type$.JSArray_legacy_int); + for (t2 = helix_builders_list.length, _i = 0; _i < helix_builders_list.length; helix_builders_list.length === t2 || (0, H.throwConcurrentModificationError)(helix_builders_list), ++_i) + t1.push(helix_builders_list[_i].get$_helix$_$this()._idx); + repeated_idxs = E.repeated_element_indices(t1, t7); + if (repeated_idxs != null) { + i1 = repeated_idxs.item1; + i2 = repeated_idxs.item2; + H.throwExpression(N.IllegalDesignError$("helix idx values must be unique, but two helices share idx = " + H.S(C.JSArray_methods.$index(helix_builders_list, i1).get$_helix$_$this()._idx) + "; they appear at positions " + H.S(i1) + " and " + H.S(i2) + " in the list of helices.")); + } + t1 = P.LinkedHashMap_LinkedHashMap$_empty(t7, type$.legacy_HelixBuilder); + for (t2 = helix_builders_list.length, _i = 0; _i < helix_builders_list.length; helix_builders_list.length === t2 || (0, H.throwConcurrentModificationError)(helix_builders_list), ++_i) { + helix_builder = helix_builders_list[_i]; + t1.$indexSet(0, helix_builder.get$_helix$_$this()._idx, helix_builder); + } + return new S.Tuple3(t1, group_to_pitch_yaw, pitch_yaw_to_helices, type$.Tuple3_of_legacy_Map_of_legacy_int_and_legacy_HelixBuilder_and_legacy_Map_of_legacy_String_and_legacy_HelixPitchYaw_and_legacy_Map_of_legacy_HelixPitchYaw_and_legacy_List_legacy_HelixBuilder); + }, + Design__groups_from_json: function(json_map, helix_builders_map, group_to_pitch_yaw, pitch_yaw_to_helices) { + var t3, group_builders_map, groups_json, t4, t5, t6, t7, t8, t9, group_json, t10, t11, t12, t13, group_name, pitch, yaw, new_groups, group, helix_pitch, helix_yaw, helix_list, helix_pitch_yaw_is_zero, new_pitch, new_yaw, new_group_name, + t1 = type$.legacy_String, + grid = E.optional_field(json_map, "grid", C.Grid_none, C.List_empty0, null, S.grid_Grid_valueOf$closure(), type$.legacy_Grid, t1), + t2 = J.getInterceptor$x(json_map); + if (!t2.containsKey$1(json_map, "groups")) { + t2 = $.$get$DEFAULT_HelixGroup(); + t2.toString; + t3 = new O.HelixGroupBuilder(); + O.HelixGroup__initializeBuilder(t3); + t3._group$_$v = t2; + t3.get$_group$_$this()._group$_grid = grid; + group_builders_map = P.LinkedHashMap_LinkedHashMap$_literal(["default_group", t3], t1, type$.legacy_HelixGroupBuilder); + } else { + t3 = type$.legacy_Map_of_legacy_String_and_dynamic; + groups_json = t3._as(t2.$index(json_map, "groups")); + group_builders_map = P.LinkedHashMap_LinkedHashMap$_empty(t1, type$.legacy_HelixGroupBuilder); + for (t2 = J.getInterceptor$x(groups_json), t4 = J.get$iterator$ax(t2.get$keys(groups_json)), t5 = type$.legacy_ListBuilder_legacy_int, t6 = type$.legacy_int, t7 = type$.List_legacy_int, t8 = type$.ListBuilder_legacy_int; t4.moveNext$0();) { + t9 = t4.get$current(t4); + group_json = t2.$index(groups_json, t9); + t10 = helix_builders_map.get$keys(helix_builders_map); + t11 = H._instanceType(t10); + t12 = t11._eval$1("bool(Iterable.E)")._as(new N.Design__groups_from_json_closure(helix_builders_map, t9)); + t11 = O.HelixGroup_from_json(t3._as(group_json), new H.WhereIterable(t10, t12, t11._eval$1("WhereIterable"))); + t11.toString; + t12 = new O.HelixGroupBuilder(); + t12.get$_group$_$this()._group$_grid = C.Grid_none; + t10 = $.$get$Position3D_origin(); + t10.toString; + t13 = new X.Position3DBuilder(); + t13._position3d$_$v = t10; + t12.get$_group$_$this()._group$_position = t13; + t12.get$_group$_$this()._pitch = 0; + t12.get$_group$_$this()._yaw = 0; + t12.get$_group$_$this()._group$_roll = 0; + t10 = new D.ListBuilder(t8); + t10.set$__ListBuilder__list(t7._as(P.List_List$from(C.List_empty, true, t6))); + t10.set$_listOwner(null); + t5._as(t10); + t12.get$_group$_$this().set$_group$_helices_view_order(t10); + t12._group$_$v = t11; + group_builders_map.$indexSet(0, t9, t12); + } + } + N.ensure_helix_groups_in_groups_map(helix_builders_map, group_builders_map); + t2 = N.Design__num_helix_groups(json_map); + if (typeof t2 !== "number") + return t2.$gt(); + if (t2 > 1) + for (t1 = J.get$entries$x(group_to_pitch_yaw), t1 = t1.get$iterator(t1); t1.moveNext$0();) { + t2 = t1.get$current(t1); + group_name = t2.key; + t2 = t2.value; + pitch = t2.pitch; + yaw = t2.yaw; + t2 = group_builders_map.$index(0, group_name); + t3 = t2.get$_group$_$this()._pitch; + if (typeof t3 !== "number") + return t3.$add(); + if (typeof pitch !== "number") + return H.iae(pitch); + t2.get$_group$_$this()._pitch = t3 + pitch; + t3 = group_builders_map.$index(0, group_name); + t2 = t3.get$_group$_$this()._yaw; + if (typeof t2 !== "number") + return t2.$add(); + if (typeof yaw !== "number") + return H.iae(yaw); + t3.get$_group$_$this()._yaw = t2 + yaw; + } + else { + new_groups = P.LinkedHashMap_LinkedHashMap$_empty(t1, type$.legacy_HelixGroupBuilder); + t2 = group_builders_map.get$values(group_builders_map); + group = t2.get$first(t2); + for (t2 = pitch_yaw_to_helices.get$entries(pitch_yaw_to_helices), t2 = t2.get$iterator(t2), t3 = type$.legacy_ListBuilder_legacy_int, t4 = type$.legacy_int, t5 = type$.List_legacy_int, t6 = type$.ListBuilder_legacy_int, t7 = type$.legacy_num, t8 = type$.dynamic; t2.moveNext$0();) { + t9 = t2.get$current(t2); + t10 = t9.key; + helix_pitch = t10.pitch; + helix_yaw = t10.yaw; + helix_list = t9.value; + if (typeof helix_pitch !== "number") + return H.iae(helix_pitch); + if (Math.abs(0 - helix_pitch) < 1e-9) { + if (typeof helix_yaw !== "number") + return H.iae(helix_yaw); + helix_pitch_yaw_is_zero = Math.abs(0 - helix_yaw) < 1e-9; + } else + helix_pitch_yaw_is_zero = false; + if (!helix_pitch_yaw_is_zero) { + t9 = group.get$_group$_$this()._pitch; + if (typeof t9 !== "number") + return t9.$add(); + new_pitch = t9 + helix_pitch; + t9 = group.get$_group$_$this()._yaw; + if (typeof t9 !== "number") + return t9.$add(); + if (typeof helix_yaw !== "number") + return H.iae(helix_yaw); + new_yaw = t9 + helix_yaw; + new_group_name = "pitch_" + H.S(new_pitch) + "_yaw_" + H.S(new_yaw); + group_json = P.LinkedHashMap_LinkedHashMap$_empty(t1, t8); + group_json.$indexSet(0, "pitch", new_pitch); + group_json.$indexSet(0, "yaw", new_yaw); + t9 = group.get$_group$_$this(); + t10 = t9._group$_position; + t9 = (t10 == null ? t9._group$_position = new X.Position3DBuilder() : t10).build$0(); + group_json.$indexSet(0, "position", P.LinkedHashMap_LinkedHashMap$_literal(["x", t9.x, "y", t9.y, "z", t9.z], t1, t7)); + group_json.$indexSet(0, "grid", group.get$_group$_$this()._group$_grid.name); + t9 = J.getInterceptor$ax(helix_list); + t10 = O.HelixGroup_from_json(group_json, t9.map$1$1(helix_list, new N.Design__groups_from_json_closure0(), t4)); + t10.toString; + t11 = new O.HelixGroupBuilder(); + t11.get$_group$_$this()._group$_grid = C.Grid_none; + t12 = $.$get$Position3D_origin(); + t12.toString; + t13 = new X.Position3DBuilder(); + t13._position3d$_$v = t12; + t11.get$_group$_$this()._group$_position = t13; + t11.get$_group$_$this()._pitch = 0; + t11.get$_group$_$this()._yaw = 0; + t11.get$_group$_$this()._group$_roll = 0; + t12 = new D.ListBuilder(t6); + t12.set$__ListBuilder__list(t5._as(P.List_List$from(C.List_empty, true, t4))); + t12.set$_listOwner(null); + t3._as(t12); + t11.get$_group$_$this().set$_group$_helices_view_order(t12); + t11._group$_$v = t10; + new_groups.$indexSet(0, new_group_name, t11); + for (t9 = t9.get$iterator(helix_list); t9.moveNext$0();) + t9.get$current(t9).get$_helix$_$this()._group = new_group_name; + } + } + group_builders_map.addEntries$1(group_builders_map, new_groups.get$entries(new_groups)); + } + return group_builders_map; + }, + Design__helices_and_groups_from_json: function(json_map, invert_y, position_x_z_should_swap, geometry) { + var helices_view_order, t2, t3, t4, t5, swap, t6, + _s18_ = "helices_view_order", + grid_is_none = E.optional_field(json_map, "grid", C.Grid_none, C.List_empty0, null, S.grid_Grid_valueOf$closure(), type$.legacy_Grid, type$.legacy_String) === C.Grid_none, + t1 = J.getInterceptor$x(json_map), + using_groups = t1.containsKey$1(json_map, "groups"), + r = N.Design__helices_from_json(json_map, invert_y, geometry), + helix_builders_map = r.item1, + group_builders_map = N.Design__groups_from_json(json_map, helix_builders_map, r.item2, r.item3); + if (t1.containsKey$1(json_map, _s18_)) { + helices_view_order = P.List_List$from(type$.Iterable_dynamic._as(t1.$index(json_map, _s18_)), true, type$.legacy_int); + group_builders_map.$index(0, "default_group").get$helices_view_order().replace$1(0, helices_view_order); + } + N.assign_default_helices_view_orders_to_groups(group_builders_map, helix_builders_map); + if (position_x_z_should_swap) { + for (t1 = helix_builders_map.get$values(helix_builders_map), t1 = t1.get$iterator(t1), t2 = !using_groups; t1.moveNext$0();) { + t3 = t1.get$current(t1); + if (!(grid_is_none && t2)) + if (using_groups) { + t4 = group_builders_map.$index(0, t3.get$_helix$_$this()._group).get$_group$_$this()._group$_grid; + t4.toString; + t4 = t4 === C.Grid_none; + } else + t4 = false; + else + t4 = true; + if (t4) { + t4 = t3.get$_helix$_$this(); + t5 = t4._position_; + swap = (t5 == null ? t4._position_ = new X.Position3DBuilder() : t5).get$_position3d$_$this()._x; + t4 = t3.get$_helix$_$this(); + t5 = t4._position_; + t4 = t5 == null ? t4._position_ = new X.Position3DBuilder() : t5; + t5 = t3.get$_helix$_$this(); + t6 = t5._position_; + t5 = (t6 == null ? t5._position_ = new X.Position3DBuilder() : t6).get$_position3d$_$this()._z; + t4.get$_position3d$_$this()._x = t5; + t3 = t3.get$_helix$_$this(); + t5 = t3._position_; + (t5 == null ? t3._position_ = new X.Position3DBuilder() : t5).get$_position3d$_$this()._z = swap; + } + } + for (t1 = group_builders_map.get$values(group_builders_map), t1 = t1.get$iterator(t1); t1.moveNext$0();) { + t2 = t1.get$current(t1); + t3 = t2.get$_group$_$this(); + t4 = t3._group$_position; + swap = (t4 == null ? t3._group$_position = new X.Position3DBuilder() : t4).get$_position3d$_$this()._x; + t3 = t2.get$_group$_$this(); + t4 = t3._group$_position; + t3 = t4 == null ? t3._group$_position = new X.Position3DBuilder() : t4; + t4 = t2.get$_group$_$this(); + t5 = t4._group$_position; + t4 = (t5 == null ? t4._group$_position = new X.Position3DBuilder() : t5).get$_position3d$_$this()._z; + t3.get$_position3d$_$this()._x = t4; + t2 = t2.get$_group$_$this(); + t4 = t2._group$_position; + (t4 == null ? t2._group$_position = new X.Position3DBuilder() : t4).get$_position3d$_$this()._z = swap; + } + } + return new S.Tuple2(helix_builders_map, group_builders_map, type$.Tuple2_of_legacy_Map_of_legacy_int_and_legacy_HelixBuilder_and_legacy_Map_of_legacy_String_and_legacy_HelixGroupBuilder); + }, + Design_from_json_str: function(json_str, invert_y) { + var e, exception, t1, json_map = null; + try { + json_map = type$.legacy_Map_of_legacy_String_and_dynamic._as(C.C_JsonCodec.decode$2$reviver(0, json_str, null)); + } catch (exception) { + t1 = H.unwrapException(exception); + if (type$.legacy_FormatException._is(t1)) { + e = t1; + throw H.wrapException(N.IllegalDesignError$("Error in syntax of scadnano file: " + H.S(J.get$message$x(e)))); + } else + throw exception; + } + return N.Design_from_json(json_map, invert_y); + }, + Design_from_json: function(json_map, invert_y) { + var t1, t2, version1, version2, t3, t4, position_x_z_should_swap, unused_fields, geometry, t, strands, strand_jsons, groups_map, mods_5p, mods_3p, mods_int, t5, _i, all_mods_key_and_mods, all_mods_key, mods, all_mods_json, t6, t7, t8, mod_key, mod, all_mods, _null = null, + _s23_ = "modifications_in_design"; + if (json_map == null) + return _null; + N.Design__check_mutually_exclusive_fields(json_map); + t1 = type$.legacy_String; + t2 = type$.dynamic; + version1 = E.get_version(E.optional_field(json_map, "version", "0.19.4", C.List_empty0, _null, _null, t1, t2)); + version2 = E.get_version("0.13.0"); + t3 = version1.major; + t4 = version2.major; + if (t3 >= t4) { + t3 = t3 === t4; + if (!(t3 && version1.minor < version2.minor)) { + t3 = t3 && version1.minor === version2.minor && version1.patch < version2.patch; + position_x_z_should_swap = t3; + } else + position_x_z_should_swap = true; + } else + position_x_z_should_swap = true; + unused_fields = E.unused_fields_map(json_map, $.$get$design_keys()).build$0(); + geometry = E.optional_field(json_map, "geometry", N.Geometry_Geometry(10.5, 1, 1, 150, 0.332), C.List_parameters, _null, new N.Design_from_json_closure(), type$.legacy_Geometry, t2); + t = N.Design__helices_and_groups_from_json(json_map, invert_y, position_x_z_should_swap, geometry); + strands = H.setRuntimeTypeInfo([], type$.JSArray_legacy_Strand); + t2 = J.getInterceptor$asx(json_map); + strand_jsons = type$.legacy_List_dynamic._as(t2.$index(json_map, "strands")); + for (t3 = J.get$iterator$ax(strand_jsons), t4 = type$.legacy_Map_of_legacy_String_and_dynamic; t3.moveNext$0();) + C.JSArray_methods.add$1(strands, E.Strand_from_json(t4._as(t3.get$current(t3)))); + groups_map = J.map$2$1$ax(t.item2, new N.Design_from_json_closure0(), t1, type$.legacy_HelixGroup); + mods_5p = P.LinkedHashMap_LinkedHashMap$_empty(t1, type$.legacy_Modification5Prime); + mods_3p = P.LinkedHashMap_LinkedHashMap$_empty(t1, type$.legacy_Modification3Prime); + mods_int = P.LinkedHashMap_LinkedHashMap$_empty(t1, type$.legacy_ModificationInternal); + for (t3 = [new S.Tuple2("modifications_5p_in_design", mods_5p, type$.Tuple2_of_legacy_String_and_legacy_Map_of_legacy_String_and_legacy_Modification5Prime), new S.Tuple2("modifications_3p_in_design", mods_3p, type$.Tuple2_of_legacy_String_and_legacy_Map_of_legacy_String_and_legacy_Modification3Prime), new S.Tuple2("modifications_int_in_design", mods_int, type$.Tuple2_of_legacy_String_and_legacy_Map_of_legacy_String_and_legacy_ModificationInternal)], t5 = type$.legacy_Iterable_dynamic, _i = 0; _i < 3; ++_i) { + all_mods_key_and_mods = t3[_i]; + all_mods_key = all_mods_key_and_mods.item1; + mods = all_mods_key_and_mods.item2; + if (J.contains$1$asx(t2.get$keys(json_map), all_mods_key)) { + all_mods_json = t2.$index(json_map, all_mods_key); + for (t6 = J.getInterceptor$x(all_mods_json), t7 = J.get$iterator$ax(t5._as(t6.get$keys(all_mods_json))), t8 = J.getInterceptor$ax(mods); t7.moveNext$0();) { + mod_key = t7.get$current(t7); + mod = Z.Modification_from_json(t4._as(t6.$index(all_mods_json, mod_key))); + if (!J.$eq$(mod_key, mod.get$vendor_code())) + H.printString("WARNING: key " + H.S(mod_key) + " does not match vendor_code field " + mod.get$vendor_code() + "for modification " + mod.toString$0(0) + "\nreplacing with key = " + mod.get$vendor_code()); + t8.$indexSet(mods, mod.get$vendor_code(), mod); + } + } + } + all_mods = P.LinkedHashMap_LinkedHashMap$_empty(t1, type$.legacy_Modification); + if (t2.containsKey$1(json_map, _s23_)) { + all_mods_json = t4._as(t2.$index(json_map, _s23_)); + for (t1 = J.getInterceptor$x(all_mods_json), t2 = J.get$iterator$ax(t1.get$keys(all_mods_json)); t2.moveNext$0();) { + t3 = t2.get$current(t2); + mod = Z.Modification_from_json(t4._as(t1.$index(all_mods_json, t3))); + if (t3 !== mod.get$vendor_code()) + H.printString('WARNING: modification key "' + H.S(t3) + '" does not match vendor code "' + mod.get$vendor_code() + '"; changing key to match vendor code'); + mod_key = mod.get$vendor_code(); + if (all_mods.containsKey$1(0, mod_key)) + throw H.wrapException(N.IllegalDesignError$('multiple modifications with same vendor code "' + mod_key + '"')); + all_mods.$indexSet(0, mod_key, mod); + } + } + N.Design_assign_modifications_to_strands(strands, strand_jsons, mods_5p, mods_3p, mods_int, all_mods); + t1 = J.get$values$x(t.item1); + t2 = unused_fields._map$_map; + t3 = H._instanceType(unused_fields); + return N.Design_Design(geometry, C.Grid_none, groups_map, t1, invert_y, strands, new S.CopyOnWriteMap(unused_fields._mapFactory, t2, t3._eval$1("@<1>")._bind$1(t3._rest[1])._eval$1("CopyOnWriteMap<1,2>"))); + }, + Design_assign_modifications_to_strands: function(strands, strand_jsons, mods_5p, mods_3p, mods_int, all_mods) { + var legacy, t1, t2, t3, t4, t5, t6, t7, i, _box_0, strand, strand_json, t8, mod_name, t9, key, t10, mods_by_idx, mod_names_by_idx_json, offset, mod, + _s19_ = "5prime_modification", + _s19_0 = "3prime_modification", + _s22_ = "internal_modifications"; + if (all_mods.get$isNotEmpty(all_mods)) + legacy = true; + else { + if (!(mods_5p.get$isNotEmpty(mods_5p) || mods_3p.get$isNotEmpty(mods_3p) || mods_int.get$isNotEmpty(mods_int))) + return; + legacy = false; + } + for (t1 = J.getInterceptor$asx(strand_jsons), t2 = type$.legacy_void_Function_legacy_StrandBuilder, t3 = type$.legacy_Modification5Prime, t4 = type$.legacy_Modification3Prime, t5 = type$.legacy_Iterable_dynamic, t6 = type$.legacy_ModificationInternal, t7 = type$.legacy_int, i = 0; i < strands.length; ++i) { + _box_0 = {}; + strand = strands[i]; + strand_json = t1.$index(strand_jsons, i); + t8 = J.getInterceptor$x(strand_json); + if (H.boolConversionCheck(t8.containsKey$1(strand_json, _s19_))) { + mod_name = t8.$index(strand_json, _s19_); + _box_0.mod = null; + if (legacy) { + if (!all_mods.containsKey$1(0, mod_name)) { + t9 = J.getInterceptor$s(mod_name); + key = t9.substring$2(mod_name, 0, 3) === "5'-" ? t9.substring$1(mod_name, 3) : "5'-" + H.S(mod_name); + } else + key = mod_name; + _box_0.mod = t3._as(all_mods.$index(0, key)); + } else { + if (!mods_5p.containsKey$1(0, mod_name)) { + t9 = J.getInterceptor$s(mod_name); + key = t9.substring$2(mod_name, 0, 3) === "5'-" ? t9.substring$1(mod_name, 3) : "5'-" + H.S(mod_name); + } else + key = mod_name; + _box_0.mod = t3._as(mods_5p.$index(0, key)); + } + strand.toString; + t9 = t2._as(new N.Design_assign_modifications_to_strands_closure(_box_0)); + t10 = new E.StrandBuilder(); + t10._strand$_$v = strand; + t9.call$1(t10); + strand = t10.build$0(); + } + if (H.boolConversionCheck(t8.containsKey$1(strand_json, _s19_0))) { + mod_name = t8.$index(strand_json, _s19_0); + _box_0.mod = null; + if (legacy) { + if (!all_mods.containsKey$1(0, mod_name)) { + t9 = J.getInterceptor$s(mod_name); + key = t9.substring$2(mod_name, 0, 3) === "3'-" ? t9.substring$1(mod_name, 3) : "3'-" + H.S(mod_name); + } else + key = mod_name; + _box_0.mod = t4._as(all_mods.$index(0, key)); + } else { + if (!mods_3p.containsKey$1(0, mod_name)) { + t9 = J.getInterceptor$s(mod_name); + key = t9.substring$2(mod_name, 0, 3) === "3'-" ? t9.substring$1(mod_name, 3) : "3'-" + H.S(mod_name); + } else + key = mod_name; + _box_0.mod = t4._as(mods_3p.$index(0, key)); + } + strand.toString; + t9 = t2._as(new N.Design_assign_modifications_to_strands_closure0(_box_0)); + t10 = new E.StrandBuilder(); + t10._strand$_$v = strand; + t9.call$1(t10); + strand = t10.build$0(); + } + if (H.boolConversionCheck(t8.containsKey$1(strand_json, _s22_))) { + mods_by_idx = P.LinkedHashMap_LinkedHashMap$_empty(t7, t6); + mod_names_by_idx_json = t8.$index(strand_json, _s22_); + for (t8 = J.getInterceptor$x(mod_names_by_idx_json), t9 = J.get$iterator$ax(t5._as(t8.get$keys(mod_names_by_idx_json))); t9.moveNext$0();) { + t10 = H._asStringS(t9.get$current(t9)); + offset = P.int_parse(t10, null); + mod_name = H._asStringS(t8.$index(mod_names_by_idx_json, t10)); + if (legacy) { + if (!all_mods.containsKey$1(0, mod_name)) + key = J.substring$2$s(mod_name, 0, 9) === "internal-" ? C.JSString_methods.substring$1(mod_name, 9) : "internal-" + mod_name; + else + key = mod_name; + mod = t6._as(all_mods.$index(0, key)); + } else + mod = t6._as(mods_int.$index(0, !mods_int.containsKey$1(0, mod_name) ? "internal-" + H.S(mod_name) : mod_name)); + mods_by_idx.$indexSet(0, offset, mod); + } + strand.toString; + t8 = t2._as(new N.Design_assign_modifications_to_strands_closure1(mods_by_idx)); + t9 = new E.StrandBuilder(); + t9._strand$_$v = strand; + t8.call$1(t9); + strand = t9.build$0(); + } + C.JSArray_methods.$indexSet(strands, i, strand); + } + }, + Design_domains_mismatch: function(forward_domain, reverse_domain) { + var name2, name1, t0; + if (!forward_domain.overlaps$1(reverse_domain)) + return false; + if (forward_domain.start !== reverse_domain.start) + return true; + if (forward_domain.end !== reverse_domain.end) + return true; + name2 = forward_domain.name; + if (name2 == null || false) + return false; + name1 = reverse_domain.name; + if (!(name2.length > name1.length)) { + t0 = name2; + name2 = name1; + name1 = t0; + } + return J.$add$ansx(name1, "*") !== name2; + }, + Design_from_cadnano_v2: function(json_dict, invert_y) { + var grid_type, t2, t3, t4, min_col, min_row, cadnano_helix, t5, col, row, helix_builders, t6, n, helix, t7, seen, strands, cadnano_helices, helix_num, _i, strand_type, base_id, strand, + _s8_ = "vstrands", + _null = null, + _s13_ = "default_group", + t1 = J.getInterceptor$asx(json_dict), + num_bases = H._asIntS(J.get$length$asx(J.$index$asx(J.$index$asx(t1.$index(json_dict, _s8_), 0), "scaf"))); + if (typeof num_bases !== "number") + return num_bases.$mod(); + grid_type = C.JSInt_methods.$mod(num_bases, 21) === 0 ? C.Grid_honeycomb : C.Grid_square; + for (t2 = type$.legacy_Iterable_dynamic, t3 = J.get$iterator$ax(t2._as(t1.$index(json_dict, _s8_))), t4 = type$.legacy_Map_of_legacy_String_and_dynamic, min_col = _null, min_row = min_col; t3.moveNext$0();) { + cadnano_helix = t4._as(t3.get$current(t3)); + t5 = J.getInterceptor$asx(cadnano_helix); + col = H._asIntS(t5.$index(cadnano_helix, "col")); + row = H._asIntS(t5.$index(cadnano_helix, "row")); + if (min_row == null) + min_row = row; + if (min_col == null) + min_col = col; + if (typeof row !== "number") + return row.$lt(); + if (typeof min_row !== "number") + return H.iae(min_row); + if (row < min_row) + min_row = row; + if (typeof col !== "number") + return col.$lt(); + if (typeof min_col !== "number") + return H.iae(min_col); + if (col < min_col) + min_col = col; + } + t3 = type$.legacy_int; + helix_builders = P.LinkedHashMap_LinkedHashMap(_null, _null, t3, type$.legacy_HelixBuilder); + for (t5 = J.get$iterator$ax(t2._as(t1.$index(json_dict, _s8_))); t5.moveNext$0();) { + cadnano_helix = t4._as(t5.get$current(t5)); + t6 = J.getInterceptor$asx(cadnano_helix); + col = H._asIntS(t6.$index(cadnano_helix, "col")); + row = H._asIntS(t6.$index(cadnano_helix, "row")); + n = H._asIntS(t6.$index(cadnano_helix, "num")); + helix = new O.HelixBuilder(); + helix.get$_helix$_$this()._group = _s13_; + helix.get$_helix$_$this()._min_offset = 0; + helix.get$_helix$_$this()._roll = 0; + helix.get$_helix$_$this()._idx = n; + helix.get$_helix$_$this()._max_offset = num_bases; + t6 = D.GridPosition_GridPosition(col, row); + t7 = new D.GridPositionBuilder(); + t7._grid_position$_$v = t6; + helix.get$_helix$_$this()._grid_position = t7; + helix.get$_helix$_$this()._group = _s13_; + helix_builders.$indexSet(0, n, helix); + } + seen = P.HashMap_HashMap(_null, _null, _null, type$.legacy_String, type$.legacy_Map_of_legacy_Tuple2_of_legacy_int_and_legacy_int_and_legacy_bool); + t5 = type$.legacy_Tuple2_of_legacy_int_and_legacy_int; + t6 = type$.legacy_bool; + seen.$indexSet(0, "scaf", P.HashMap_HashMap(_null, _null, _null, t5, t6)); + seen.$indexSet(0, "stap", P.HashMap_HashMap(_null, _null, _null, t5, t6)); + strands = H.setRuntimeTypeInfo([], type$.JSArray_legacy_Strand); + cadnano_helices = P.LinkedHashMap_LinkedHashMap(_null, _null, t3, t4); + for (t3 = J.get$iterator$ax(t2._as(t1.$index(json_dict, _s8_))); t3.moveNext$0();) { + cadnano_helix = t4._as(t3.get$current(t3)); + cadnano_helices.$indexSet(0, H._asIntS(J.$index$asx(cadnano_helix, "num")), cadnano_helix); + } + for (t1 = J.get$iterator$ax(t2._as(t1.$index(json_dict, _s8_))), t2 = type$.Tuple2_of_legacy_int_and_legacy_int; t1.moveNext$0();) { + helix_num = H._asIntS(J.$index$asx(t4._as(t1.get$current(t1)), "num")); + for (t3 = ["scaf", "stap"], _i = 0; _i < 2; ++_i) { + strand_type = t3[_i]; + for (base_id = 0; base_id < num_bases; ++base_id) { + if (J.containsKey$1$x(seen.$index(0, strand_type), new S.Tuple2(helix_num, base_id, t2))) + continue; + strand = N.Design__cadnano_v2_import_explore_strand(cadnano_helices, strand_type, seen.$index(0, strand_type), helix_num, base_id); + if (strand != null) + C.JSArray_methods.add$1(strands, strand); + } + } + } + return N.Design_Design(_null, grid_type, _null, helix_builders.get$values(helix_builders), invert_y, strands, C.Map_empty1); + }, + Design__cadnano_v2_import_explore_strand: function(vstrands, strand_type, seen, helix_num, base_id) { + var id_from, base_from, id_to, base_to, tmp, strand_5_end_helix, strand_5_end_base, is_circular, strand_color, domains, _null = null; + J.$indexSet$ax(seen, new S.Tuple2(helix_num, base_id, type$.Tuple2_of_legacy_int_and_legacy_int), true); + id_from = H._asIntS(J.$index$asx(J.$index$asx(J.$index$asx(vstrands.$index(0, helix_num), strand_type), base_id), 0)); + base_from = H._asIntS(J.$index$asx(J.$index$asx(J.$index$asx(vstrands.$index(0, helix_num), strand_type), base_id), 1)); + id_to = H._asIntS(J.$index$asx(J.$index$asx(J.$index$asx(vstrands.$index(0, helix_num), strand_type), base_id), 2)); + base_to = H._asIntS(J.$index$asx(J.$index$asx(J.$index$asx(vstrands.$index(0, helix_num), strand_type), base_id), 3)); + if (id_from === -1 && base_from === -1 && id_to === -1 && base_to === -1) + return _null; + tmp = N.Design__cadnano_v2_import_find_5_end(vstrands, strand_type, helix_num, base_id, id_from, base_from); + strand_5_end_helix = tmp.item1; + strand_5_end_base = tmp.item2; + is_circular = tmp.item3; + strand_color = N.Design__cadnano_v2_import_find_strand_color(vstrands, strand_type, strand_5_end_base, strand_5_end_helix); + domains = N.Design__cadnano_v2_import_explore_domains(vstrands, seen, strand_type, strand_5_end_base, strand_5_end_helix); + if (is_circular) + N.Design__cadnano_v2_import_circular_strands_merge_first_last_domains(domains); + return E.Strand_Strand(domains, is_circular, strand_color, _null, strand_type === "scaf", _null, _null, _null, C.Map_empty0, _null, _null); + }, + Design__cadnano_v2_import_find_5_end: function(vstrands, strand_type, helix_num, base_id, id_from, base_from) { + var is_circular, id_from0, base_from0, + circular_seen = P.LinkedHashMap_LinkedHashMap$_empty(type$.legacy_Tuple2_of_legacy_int_and_legacy_int, type$.legacy_bool), + t1 = type$.Tuple2_of_legacy_int_and_legacy_int, + base_from_before = base_id, + id_from_before = helix_num; + while (true) { + if (!!(id_from === -1 && base_from === -1)) { + is_circular = false; + break; + } + if (circular_seen.containsKey$1(0, new S.Tuple2(id_from, base_from, t1))) { + is_circular = true; + break; + } + circular_seen.$indexSet(0, new S.Tuple2(id_from, base_from, t1), true); + id_from0 = H._asIntS(J.$index$asx(J.$index$asx(J.$index$asx(vstrands.$index(0, id_from), strand_type), base_from), 0)); + base_from0 = H._asIntS(J.$index$asx(J.$index$asx(J.$index$asx(vstrands.$index(0, id_from), strand_type), base_from), 1)); + base_from_before = base_from; + base_from = base_from0; + id_from_before = id_from; + id_from = id_from0; + } + return new S.Tuple3(id_from_before, base_from_before, is_circular, type$.Tuple3_of_legacy_int_and_legacy_int_and_legacy_bool); + }, + Design__cadnano_v2_import_find_strand_color: function(vstrands, strand_type, strand_5_end_base, strand_5_end_helix) { + var t1, t2, tmp, t3, base_id, stap_color, + color = $.$get$default_cadnano_strand_color(); + if (strand_type === "scaf") + return $.$get$default_scaffold_color(); + if (strand_type === "stap") + for (t1 = J.get$iterator$ax(type$.legacy_Iterable_dynamic._as(J.$index$asx(vstrands.$index(0, strand_5_end_helix), "stap_colors"))), t2 = type$.legacy_List_dynamic; t1.moveNext$0();) { + tmp = t2._as(t1.get$current(t1)); + t3 = J.getInterceptor$asx(tmp); + base_id = H._asIntS(t3.$index(tmp, 0)); + stap_color = H._asIntS(t3.$index(tmp, 1)); + if (base_id == strand_5_end_base) { + color = S.HexColor_HexColor(C.JSString_methods.padLeft$2(J.toRadixString$1$n(stap_color, 16), 6, "0")); + break; + } + } + return color; + }, + Design__cadnano_v2_import_explore_domains: function(vstrands, seen, strand_type, strand_5_end_base, strand_5_end_helix) { + var t2, direction_forward, start, end, circular_seen, t3, t4, t5, curr_base, curr_helix, curr_helix0, curr_base0, t6, t7, + domains = H.setRuntimeTypeInfo([], type$.JSArray_legacy_Domain), + t1 = strand_type === "scaf"; + if (t1) { + if (typeof strand_5_end_helix !== "number") + return strand_5_end_helix.$mod(); + t2 = C.JSInt_methods.$mod(strand_5_end_helix, 2) === 0; + } else + t2 = false; + if (!t2) + if (strand_type === "stap") { + if (typeof strand_5_end_helix !== "number") + return strand_5_end_helix.$mod(); + t2 = C.JSInt_methods.$mod(strand_5_end_helix, 2) === 1; + direction_forward = t2; + } else + direction_forward = false; + else + direction_forward = true; + if (direction_forward) { + start = strand_5_end_base; + end = -1; + } else { + end = strand_5_end_base; + start = -1; + } + circular_seen = P.LinkedHashMap_LinkedHashMap$_empty(type$.legacy_Tuple2_of_legacy_int_and_legacy_int, type$.legacy_bool); + t2 = type$.Tuple2_of_legacy_int_and_legacy_int; + t3 = J.getInterceptor$ax(seen); + t4 = type$.legacy_List_dynamic; + t5 = strand_type === "stap"; + curr_base = strand_5_end_base; + curr_helix = strand_5_end_helix; + while (true) { + if (!!(curr_helix === -1 && curr_base === -1)) + break; + if (circular_seen.containsKey$1(0, new S.Tuple2(curr_helix, curr_base, t2))) + break; + circular_seen.$indexSet(0, new S.Tuple2(curr_helix, curr_base, t2), true); + t3.$indexSet(seen, new S.Tuple2(curr_helix, curr_base, t2), true); + curr_helix0 = H._asIntS(J.$index$asx(J.$index$asx(J.$index$asx(vstrands.$index(0, curr_helix), strand_type), curr_base), 2)); + curr_base0 = H._asIntS(J.$index$asx(J.$index$asx(J.$index$asx(vstrands.$index(0, curr_helix), strand_type), curr_base), 3)); + if (curr_helix0 == curr_helix) { + if (!direction_forward) { + if (typeof curr_base0 !== "number") + return curr_base0.$gt(); + if (typeof curr_base !== "number") + return H.iae(curr_base); + t6 = curr_base0 > curr_base; + } else + t6 = false; + if (!t6) { + if (direction_forward) { + if (typeof curr_base0 !== "number") + return curr_base0.$lt(); + if (typeof curr_base !== "number") + return H.iae(curr_base); + t6 = curr_base0 < curr_base; + } else + t6 = false; + if (!t6) { + if (typeof curr_base0 !== "number") + return curr_base0.$sub(); + if (typeof curr_base !== "number") + return H.iae(curr_base); + if (Math.abs(curr_base0 - curr_base) <= 1) + t6 = curr_helix0 == strand_5_end_helix && curr_base0 === strand_5_end_base; + else + t6 = true; + } else + t6 = true; + } else + t6 = true; + } else + t6 = true; + if (t6) { + if (direction_forward) + end = curr_base; + else + start = curr_base; + t6 = Math.min(H.checkNum(start), H.checkNum(end)); + t7 = Math.max(H.checkNum(start), H.checkNum(end)); + C.JSArray_methods.add$1(domains, G.Domain_Domain(N.Design__cadnano_v2_import_extract_deletions(t4._as(J.$index$asx(vstrands.$index(0, curr_helix), "skip")), start, end), t7 + 1, direction_forward, curr_helix, N.Design__cadnano_v2_import_extract_insertions(t4._as(J.$index$asx(vstrands.$index(0, curr_helix), "loop")), start, end), false, false, t1, t6)); + if (t1) { + if (typeof curr_helix0 !== "number") + return curr_helix0.$mod(); + t6 = C.JSInt_methods.$mod(curr_helix0, 2) === 0; + } else + t6 = false; + if (!t6) + if (t5) { + if (typeof curr_helix0 !== "number") + return curr_helix0.$mod(); + t6 = C.JSInt_methods.$mod(curr_helix0, 2) === 1; + direction_forward = t6; + } else + direction_forward = false; + else + direction_forward = true; + if (direction_forward) { + start = curr_base0; + end = -1; + } else { + end = curr_base0; + start = -1; + } + } + curr_base = curr_base0; + curr_helix = curr_helix0; + } + return domains; + }, + Design__cadnano_v2_import_circular_strands_merge_first_last_domains: function(domains) { + if (C.JSArray_methods.get$first(domains).helix !== C.JSArray_methods.get$last(domains).helix) + return; + if (0 >= domains.length) + return H.ioore(domains, 0); + C.JSArray_methods.$indexSet(domains, 0, domains[0].rebuild$1(new N.Design__cadnano_v2_import_circular_strands_merge_first_last_domains_closure(domains))); + if (0 >= domains.length) + return H.ioore(domains, -1); + domains.pop(); + }, + Design__cadnano_v2_import_extract_deletions: function(skip_table, start, end) { + var to_return = H.setRuntimeTypeInfo([], type$.JSArray_legacy_int), + t1 = J.getInterceptor$asx(skip_table), + base_id = start; + while (true) { + if (typeof base_id !== "number") + return base_id.$lt(); + if (typeof end !== "number") + return H.iae(end); + if (!(base_id < end)) + break; + if (J.$eq$(t1.$index(skip_table, base_id), -1)) + C.JSArray_methods.add$1(to_return, base_id); + ++base_id; + } + return to_return; + }, + Design__cadnano_v2_import_extract_insertions: function(loop_table, start, end) { + var to_return = H.setRuntimeTypeInfo([], type$.JSArray_legacy_Insertion), + t1 = J.getInterceptor$asx(loop_table), + base_id = start; + while (true) { + if (typeof base_id !== "number") + return base_id.$lt(); + if (typeof end !== "number") + return H.iae(end); + if (!(base_id < end)) + break; + if (!J.$eq$(t1.$index(loop_table, base_id), 0)) + C.JSArray_methods.add$1(to_return, G.Insertion_Insertion(base_id, H._asIntS(t1.$index(loop_table, base_id)))); + ++base_id; + } + return to_return; + }, + _calculate_groups_from_helix_builder: function(helix_builders, grid) { + var t2, group_to_helix_idxs, t3, t4, $name, t5, + t1 = J.getInterceptor$asx(helix_builders); + if (t1.get$isEmpty(helix_builders)) + return P.LinkedHashMap_LinkedHashMap$_literal(["default_group", O.HelixGroup_HelixGroup(grid, H.setRuntimeTypeInfo([], type$.JSArray_legacy_int), 0, null, 0, 0)], type$.legacy_String, type$.legacy_HelixGroup); + t2 = type$.legacy_String; + group_to_helix_idxs = P.LinkedHashMap_LinkedHashMap$_empty(t2, type$.legacy_List_legacy_int); + for (t1 = t1.get$iterator(helix_builders), t3 = type$.JSArray_legacy_int; t1.moveNext$0();) { + t4 = t1.get$current(t1); + $name = t4.get$_helix$_$this()._group; + if (!group_to_helix_idxs.containsKey$1(0, $name)) + group_to_helix_idxs.$indexSet(0, $name, H.setRuntimeTypeInfo([], t3)); + t5 = group_to_helix_idxs.$index(0, $name); + (t5 && C.JSArray_methods).add$1(t5, t4.get$_helix$_$this()._idx); + } + t1 = group_to_helix_idxs.get$values(group_to_helix_idxs); + t3 = H._instanceType(t1); + H.MappedIterable_MappedIterable(t1, t3._eval$1("~(Iterable.E)")._as(new N._calculate_groups_from_helix_builder_closure()), t3._eval$1("Iterable.E"), type$.void); + t2 = P.LinkedHashMap_LinkedHashMap$_empty(t2, type$.legacy_HelixGroup); + for (t1 = group_to_helix_idxs.get$keys(group_to_helix_idxs), t1 = t1.get$iterator(t1); t1.moveNext$0();) { + t3 = t1.get$current(t1); + t2.$indexSet(0, t3, O.HelixGroup_HelixGroup(grid, group_to_helix_idxs.$index(0, t3), 0, null, 0, 0)); + } + return t2; + }, + ensure_helix_groups_in_groups_map: function(helix_builders_map, group_builders_map) { + var t1, t2; + for (t1 = helix_builders_map.get$values(helix_builders_map), t1 = t1.get$iterator(t1); t1.moveNext$0();) { + t2 = t1.get$current(t1); + if (!group_builders_map.containsKey$1(0, t2.get$_helix$_$this()._group)) + throw H.wrapException(N.IllegalDesignError$("helix " + H.S(t2.get$idx()) + " has group " + H.S(t2.get$group()) + ", which does not exist in the design.\nThe valid groups are: " + group_builders_map.get$keys(group_builders_map).join$1(0, ", "))); + } + }, + assign_grids_to_helix_builders_from_groups: function(groups_map, helix_builders) { + var t1, t2, t3; + for (t1 = helix_builders.get$values(helix_builders), t1 = t1.get$iterator(t1); t1.moveNext$0();) { + t2 = t1.get$current(t1); + t3 = groups_map.$index(0, t2.get$_helix$_$this()._group).grid; + t2.get$_helix$_$this()._grid = t3; + } + }, + assign_default_helices_view_orders_to_groups: function(group_builders_map, helix_builders) { + var t2, t3, t4, t5, t6, group_builder, t7, t8, helix_builders_in_group, helix, helix_idxs, t9, existing_helices_view_order, identity, helices_view_order, sorted_helices_view_order, sorted_helix_idxs, new_helices_view_order, _null = null, _s4_ = "sort", + t1 = type$.legacy_int, + num_helices_in_group = group_builders_map.map$2$1(group_builders_map, new N.assign_default_helices_view_orders_to_groups_closure(), type$.legacy_String, t1); + for (t2 = helix_builders.get$values(helix_builders), t2 = t2.get$iterator(t2); t2.moveNext$0();) { + t3 = t2.get$current(t2).get$_helix$_$this()._group; + t4 = num_helices_in_group.$index(0, t3); + if (typeof t4 !== "number") + return t4.$add(); + num_helices_in_group.$indexSet(0, t3, t4 + 1); + } + for (t2 = group_builders_map.get$keys(group_builders_map), t2 = t2.get$iterator(t2), t3 = type$.List_legacy_int, t4 = type$.ListBuilder_legacy_int, t5 = type$.legacy_HelixBuilder; t2.moveNext$0();) { + t6 = t2.get$current(t2); + group_builder = group_builders_map.$index(0, t6); + t7 = group_builder.get$_group$_$this(); + t8 = t7._group$_helices_view_order; + if (t8 == null) { + t8 = new D.ListBuilder(t4); + t8.set$__ListBuilder__list(t3._as(P.List_List$from(C.List_empty, true, t1))); + t8.set$_listOwner(_null); + t7.set$_group$_helices_view_order(t8); + t7 = t8; + } else + t7 = t8; + t7 = t7.__ListBuilder__list; + t7 = J.get$length$asx(t7 === $ ? H.throwExpression(H.LateError$fieldNI("_list")) : t7); + t8 = num_helices_in_group.$index(0, t6); + if (t7 == null ? t8 != null : t7 !== t8) { + helix_builders_in_group = P.LinkedHashMap_LinkedHashMap$_empty(t1, t5); + for (t7 = helix_builders.get$keys(helix_builders), t7 = t7.get$iterator(t7); t7.moveNext$0();) { + t8 = t7.get$current(t7); + helix = helix_builders.$index(0, t8); + if (helix.get$_helix$_$this()._group == t6) + helix_builders_in_group.$indexSet(0, t8, helix); + } + t6 = helix_builders_in_group.get$keys(helix_builders_in_group); + helix_idxs = P.List_List$of(t6, true, H._instanceType(t6)._eval$1("Iterable.E")); + t6 = group_builder.get$_group$_$this(); + t7 = t6._group$_helices_view_order; + if (t7 == null) { + t7 = new D.ListBuilder(t4); + t7.set$__ListBuilder__list(t3._as(P.List_List$from(C.List_empty, true, t1))); + t7.set$_listOwner(_null); + t6.set$_group$_helices_view_order(t7); + t6 = t7; + } else + t6 = t7; + if (t6._listOwner == null) { + t7 = t6.__ListBuilder__list; + if (t7 === $) + t7 = H.throwExpression(H.LateError$fieldNI("_list")); + t8 = t6.$ti; + t9 = t8._eval$1("_BuiltList<1>"); + t9 = t9._as(new D._BuiltList(t7, t9)); + t6.set$__ListBuilder__list(t8._eval$1("List<1>")._as(t7)); + t6.set$_listOwner(t9); + } + existing_helices_view_order = t6._listOwner; + t6 = J.get$length$asx(existing_helices_view_order._list); + if (t6 !== helix_idxs.length) { + identity = P.List_List$of(helix_idxs, true, t1); + t6 = H._arrayInstanceType(identity); + t6._eval$1("int(1,1)?")._as(null); + if (!!identity.immutable$list) + H.throwExpression(P.UnsupportedError$(_s4_)); + t6 = t6._precomputed1; + t7 = identity.length - 1; + if (t7 - 0 <= 32) + H.Sort__insertionSort(identity, 0, t7, J._interceptors_JSArray__compareAny$closure(), t6); + else + H.Sort__dualPivotQuicksort(identity, 0, t7, J._interceptors_JSArray__compareAny$closure(), t6); + helices_view_order = identity; + } else { + sorted_helices_view_order = P.List_List$of(existing_helices_view_order, true, t1); + sorted_helix_idxs = P.List_List$of(helix_idxs, true, t1); + t6 = H._arrayInstanceType(sorted_helices_view_order); + t6._eval$1("int(1,1)?")._as(null); + if (!!sorted_helices_view_order.immutable$list) + H.throwExpression(P.UnsupportedError$(_s4_)); + t6 = t6._precomputed1; + t7 = sorted_helices_view_order.length - 1; + if (t7 - 0 <= 32) + H.Sort__insertionSort(sorted_helices_view_order, 0, t7, J._interceptors_JSArray__compareAny$closure(), t6); + else + H.Sort__dualPivotQuicksort(sorted_helices_view_order, 0, t7, J._interceptors_JSArray__compareAny$closure(), t6); + t6 = H._arrayInstanceType(sorted_helix_idxs); + t6._eval$1("int(1,1)?")._as(null); + if (!!sorted_helix_idxs.immutable$list) + H.throwExpression(P.UnsupportedError$(_s4_)); + t6 = t6._precomputed1; + t7 = sorted_helix_idxs.length - 1; + if (t7 - 0 <= 32) + H.Sort__insertionSort(sorted_helix_idxs, 0, t7, J._interceptors_JSArray__compareAny$closure(), t6); + else + H.Sort__dualPivotQuicksort(sorted_helix_idxs, 0, t7, J._interceptors_JSArray__compareAny$closure(), t6); + if (sorted_helices_view_order !== sorted_helix_idxs) + H.throwExpression(N.IllegalDesignError$("The specified helices view order: " + existing_helices_view_order.toString$0(0) + "\n is not a bijection on helices indices: " + H.S(helix_idxs) + ".")); + helices_view_order = existing_helices_view_order; + } + new_helices_view_order = J.toList$0$ax(helices_view_order); + t6 = group_builder.get$_group$_$this(); + t7 = t6._group$_helices_view_order; + if (t7 == null) { + t7 = new D.ListBuilder(t4); + t7.set$__ListBuilder__list(t3._as(P.List_List$from(C.List_empty, true, t1))); + t7.set$_listOwner(_null); + t6.set$_group$_helices_view_order(t7); + t6 = t7; + } else + t6 = t7; + t7 = t6.$ti; + t6.set$__ListBuilder__list(t7._eval$1("List<1>")._as(P.List_List$from(new_helices_view_order, true, t7._precomputed1))); + t6.set$_listOwner(_null); + } + } + }, + construct_helix_idx_to_domains_map: function(strands, helix_idxs) { + var t1, t2, t3, t4, t5, t6, helix_idx_to_substrands_builtset_builder, substrands, + helix_idx_to_substrands = new H.JsLinkedHashMap(type$.JsLinkedHashMap_of_legacy_int_and_legacy_List_legacy_Domain); + if (helix_idxs != null) + for (t1 = J.get$iterator$ax(helix_idxs), t2 = type$.JSArray_legacy_Domain; t1.moveNext$0();) + helix_idx_to_substrands.$indexSet(0, t1.get$current(t1), H.setRuntimeTypeInfo([], t2)); + for (t1 = J.get$iterator$ax(strands), t2 = type$.JSArray_legacy_Domain, t3 = type$.legacy_Domain; t1.moveNext$0();) + for (t4 = J.get$iterator$ax(t1.get$current(t1).substrands._list); t4.moveNext$0();) { + t5 = t4.get$current(t4); + if (t5.is_domain$0()) { + t3._as(t5); + t6 = t5.helix; + if (helix_idx_to_substrands.containsKey$1(0, t6)) + J.add$1$ax(helix_idx_to_substrands.$index(0, t6), t5); + else + helix_idx_to_substrands.$indexSet(0, t6, H.setRuntimeTypeInfo([t5], t2)); + } + } + helix_idx_to_substrands_builtset_builder = new H.JsLinkedHashMap(type$.JsLinkedHashMap_of_legacy_int_and_legacy_BuiltList_legacy_Domain); + for (t1 = helix_idx_to_substrands.get$keys(helix_idx_to_substrands), t1 = t1.get$iterator(t1), t2 = type$._BuiltList_legacy_Domain; t1.moveNext$0();) { + t4 = t1.get$current(t1); + substrands = helix_idx_to_substrands.$index(0, t4); + J.sort$1$ax(substrands, new N.construct_helix_idx_to_domains_map_closure()); + t5 = new D._BuiltList(P.List_List$from(substrands, false, t3), t2); + t5._maybeCheckForNull$0(); + helix_idx_to_substrands_builtset_builder.$indexSet(0, t4, t5); + } + return A.BuiltMap_BuiltMap$of(helix_idx_to_substrands_builtset_builder, type$.legacy_int, type$.legacy_BuiltList_legacy_Domain); + }, + set_helices_min_max_offsets: function(helix_builders, strands) { + var t1, t2, t3, helix_builder, t4, t5, min_offset, + helix_idx_to_substrands = N.construct_helix_idx_to_domains_map(strands, helix_builders.get$keys(helix_builders)); + for (t1 = helix_builders.get$keys(helix_builders), t1 = t1.get$iterator(t1), t2 = helix_idx_to_substrands._map$_map, t3 = J.getInterceptor$asx(t2); t1.moveNext$0();) { + helix_builder = helix_builders.$index(0, t1.get$current(t1)); + if (helix_builder.get$_helix$_$this()._max_offset == null) { + t4 = N.calculate_default_max_offset(strands); + helix_builder.get$_helix$_$this()._max_offset = t4; + } + if (helix_builder.get$_helix$_$this()._min_offset == null) { + t4 = t3.$index(t2, helix_builder.get$_helix$_$this()._idx)._list; + t5 = J.getInterceptor$asx(t4); + min_offset = t5.get$isEmpty(t4) ? 0 : t5.get$first(t4).start; + for (t4 = t5.get$iterator(t4); t4.moveNext$0();) + min_offset = Math.min(min_offset, t4.get$current(t4).start); + if (min_offset > 0) + min_offset = 0; + helix_builder.get$_helix$_$this()._min_offset = min_offset; + } + if (helix_builder.get$_helix$_$this()._major_tick_start == null) { + t4 = helix_builder.get$_helix$_$this()._min_offset; + helix_builder.get$_helix$_$this()._major_tick_start = t4; + } + } + }, + calculate_default_max_offset: function(strands) { + var greatest_max_offset, t2, t3, greatest_max_offset0, + t1 = J.getInterceptor$asx(strands); + if (t1.get$isEmpty(strands)) + greatest_max_offset = 64; + else { + greatest_max_offset = t1.get$first(strands).get$first_domain().end; + for (t1 = t1.get$iterator(strands); t1.moveNext$0();) { + t2 = t1.get$current(t1); + t3 = t2.__domains; + if (t3 == null) { + t3 = E.Strand.prototype.get$domains.call(t2); + t2.set$__domains(t3); + t2 = t3; + } else + t2 = t3; + t2 = J.get$iterator$ax(t2._list); + for (; t2.moveNext$0();) { + greatest_max_offset0 = t2.get$current(t2).end; + if (greatest_max_offset0 > greatest_max_offset) + greatest_max_offset = greatest_max_offset0; + } + } + } + return greatest_max_offset; + }, + _wc: function(code_unit) { + var t1 = $.$get$_wc_table(); + if (t1.containsKey$1(0, code_unit)) + return t1.$index(0, code_unit); + else + return code_unit; + }, + IllegalDesignError$: function(cause) { + return new N.IllegalDesignError(cause); + }, + IllegalCadnanoDesignError$: function(cause) { + return new N.IllegalCadnanoDesignError(cause); + }, + StrandError$: function(strand, the_cause) { + var t1 = new N.StrandError(the_cause), + first_substrand = strand.get$first_domain(), + last_substrand = strand.get$last_domain(), + t2 = "\n number of domains = " + H.S(J.get$length$asx(strand.substrands._list)) + "\n strand 5' end offset = " + first_substrand.get$offset_5p() + "\n strand 3' helix = " + last_substrand.helix + "\n strand 3' end offset = " + last_substrand.get$offset_3p() + "\n strand length = " + strand.get$dna_length() + "\n DNA sequence length = ", + t3 = strand.get$dna_sequence(); + t1.cause = the_cause + (t2 + H.S(t3 == null ? null : t3.length) + "\n DNA sequence = " + H.S(strand.get$dna_sequence()) + "\n strand 5' helix = " + first_substrand.helix + "\n"); + return t1; + }, + Design: function Design() { + }, + Design_Design_closure: function Design_Design_closure() { + }, + Design_Design_closure0: function Design_Design_closure0(t0) { + this._box_0 = t0; + }, + Design_Design_closure1: function Design_Design_closure1(t0, t1, t2, t3) { + var _ = this; + _._box_0 = t0; + _.helices_map = t1; + _.strands = t2; + _.unused_fields = t3; + }, + Design__initializeBuilder_closure: function Design__initializeBuilder_closure() { + }, + Design_helices_in_group_closure: function Design_helices_in_group_closure(t0) { + this.group_name = t0; + }, + Design_address_crossover_pairs_by_helix_idx_closure: function Design_address_crossover_pairs_by_helix_idx_closure() { + }, + Design_domain_mismatches_map_closure: function Design_domain_mismatches_map_closure(t0) { + this.domain_mismatches_builtmap_builder = t0; + }, + Design_unpaired_insertion_deletion_map_closure: function Design_unpaired_insertion_deletion_map_closure(t0) { + this.unpaired_insertion_deletion_half_built_map = t0; + }, + Design_max_offset_closure: function Design_max_offset_closure() { + }, + Design_min_offset_closure: function Design_min_offset_closure() { + }, + Design_add_strands_closure: function Design_add_strands_closure(t0) { + this.new_strands = t0; + }, + Design_remove_strands_closure: function Design_remove_strands_closure(t0) { + this.strands_to_remove_set = t0; + }, + Design_remove_strands__closure: function Design_remove_strands__closure(t0) { + this.strands_to_remove_set = t0; + }, + Design_has_nondefault_min_offset_closure: function Design_has_nondefault_min_offset_closure() { + }, + Design__groups_from_json_closure: function Design__groups_from_json_closure(t0, t1) { + this.helix_builders_map = t0; + this.name = t1; + }, + Design__groups_from_json_closure0: function Design__groups_from_json_closure0() { + }, + Design_from_json_closure: function Design_from_json_closure() { + }, + Design_from_json_closure0: function Design_from_json_closure0() { + }, + Design_assign_modifications_to_strands_closure: function Design_assign_modifications_to_strands_closure(t0) { + this._box_0 = t0; + }, + Design_assign_modifications_to_strands_closure0: function Design_assign_modifications_to_strands_closure0(t0) { + this._box_0 = t0; + }, + Design_assign_modifications_to_strands_closure1: function Design_assign_modifications_to_strands_closure1(t0) { + this.mods_by_idx = t0; + }, + Design_check_strands_overlap_legally_err_msg: function Design_check_strands_overlap_legally_err_msg() { + }, + Design_check_strands_overlap_legally_closure: function Design_check_strands_overlap_legally_closure() { + }, + Design_domains_on_helix_closure: function Design_domains_on_helix_closure(t0) { + this.forward = t0; + }, + Design_domains_on_helix_overlapping_closure: function Design_domains_on_helix_overlapping_closure(t0) { + this.domain = t0; + }, + Design_domain_name_mismatches_closure: function Design_domain_name_mismatches_closure() { + }, + Design_base_pairs_with_domain_strand_closure: function Design_base_pairs_with_domain_strand_closure() { + }, + Design_base_pairs_with_domain_strand_closure0: function Design_base_pairs_with_domain_strand_closure0() { + }, + Design_base_pairs_with_domain_strand_closure1: function Design_base_pairs_with_domain_strand_closure1() { + }, + Design_base_pairs_with_domain_strand_closure2: function Design_base_pairs_with_domain_strand_closure2() { + }, + Design__base_pairs_closure: function Design__base_pairs_closure() { + }, + Design_find_overlapping_domains_on_helix_closure: function Design_find_overlapping_domains_on_helix_closure() { + }, + Design_find_overlapping_domains_on_helix_closure0: function Design_find_overlapping_domains_on_helix_closure0() { + }, + Design__cadnano_v2_import_circular_strands_merge_first_last_domains_closure: function Design__cadnano_v2_import_circular_strands_merge_first_last_domains_closure(t0) { + this.domains = t0; + }, + _calculate_groups_from_helix_builder_closure: function _calculate_groups_from_helix_builder_closure() { + }, + assign_default_helices_view_orders_to_groups_closure: function assign_default_helices_view_orders_to_groups_closure() { + }, + construct_helix_idx_to_domains_map_closure: function construct_helix_idx_to_domains_map_closure() { + }, + Mismatch: function Mismatch(t0, t1, t2) { + this.dna_idx = t0; + this.offset = t1; + this.within_insertion = t2; + }, + IllegalDesignError: function IllegalDesignError(t0) { + this.cause = t0; + }, + IllegalCadnanoDesignError: function IllegalCadnanoDesignError(t0) { + this.cause = t0; + }, + StrandError: function StrandError(t0) { + this.cause = t0; + }, + HelixPitchYaw: function HelixPitchYaw(t0, t1, t2) { + this.pitch = t0; + this.yaw = t1; + this.helix_idx = t2; + }, + _$Design: function _$Design(t0, t1, t2, t3, t4, t5) { + var _ = this; + _.version = t0; + _.geometry = t1; + _.helices = t2; + _.strands = t3; + _.groups = t4; + _.unused_fields = t5; + _.__address_3p_to_domain = _.__address_5p_to_domain = _.__address_3p_to_strand = _.__address_5p_to_strand = _.__end_to_address = _.__address_to_end = _.__helix_idx_to_domains = _.__helix_idxs = _.__linker_to_strand = _.__crossover_to_strand = _.__strand_to_index = _.__substrand_to_strand = _.__end_to_extension = _.__end_to_domain = _.__unpaired_insertion_deletion_map = _.__domain_mismatches_map = _.__strands_overlapping = _.__selectable_by_id = _.__ends_by_id = _.__modifications_by_id = _.__insertions_by_id = _.__deletions_by_id = _.__crossovers_by_id = _.__extensions_by_id = _.__loopouts_by_id = _.__domains_by_id = _.__strands_by_id = _.__address_crossover_pairs_by_helix_idx = _.__color_of_domain = _.__is_origami = null; + _._design0$__hashCode = _.__helix_to_crossover_addresses_disallow_intrahelix_disallow_intergroup = _.__helix_to_crossover_addresses_disallow_intrahelix = _.__helix_to_crossover_addresses = _.__has_insertions_or_deletions = _.__all_domains = _.__domain_name_mismatches = _.__helix_idxs_in_group = _.__grid = _.__min_offset = _.__max_offset = _.__potential_vertical_crossovers = null; + }, + DesignBuilder: function DesignBuilder() { + var _ = this; + _._unused_fields = _._groups = _._strands = _._helices = _._geometry = _._version = _._design0$_$v = null; + }, + _Design_Object_UnusedFields: function _Design_Object_UnusedFields() { + }, + Geometry_Geometry: function(bases_per_turn, helix_radius, inter_helix_gap, minor_groove_angle, rise_per_base_pair) { + var t1 = new N.GeometryBuilder(); + type$.legacy_void_Function_legacy_GeometryBuilder._as(new N.Geometry_Geometry_closure(rise_per_base_pair, helix_radius, inter_helix_gap, bases_per_turn, minor_groove_angle)).call$1(t1); + return t1.build$0(); + }, + Geometry_from_json: function(json_map) { + var _null = null, + t1 = type$.legacy_double, + t2 = type$.dynamic, + rise_per_base_pair = E.optional_field(json_map, "rise_per_base_pair", 0.332, C.List_z_step, _null, _null, t1, t2), + helix_radius = E.optional_field(json_map, "helix_radius", 1, C.List_empty0, _null, _null, t1, t2), + inter_helix_gap = E.optional_field(json_map, "inter_helix_gap", 1, C.List_empty0, _null, _null, t1, t2), + geometry = N.Geometry_Geometry(E.optional_field(json_map, "bases_per_turn", 10.5, C.List_empty0, _null, _null, t1, t2), helix_radius, inter_helix_gap, E.optional_field(json_map, "minor_groove_angle", 150, C.List_groove_angle, new N.Geometry_from_json_closure(), _null, t1, type$.legacy_num), rise_per_base_pair), + unused_fields = E.unused_fields_map(json_map, $.$get$geometry_keys()); + geometry.toString; + t1 = type$.legacy_void_Function_legacy_GeometryBuilder._as(new N.Geometry_from_json_closure0(unused_fields)); + t2 = new N.GeometryBuilder(); + t2._geometry$_$v = geometry; + t1.call$1(t2); + return t2.build$0(); + }, + Geometry: function Geometry() { + }, + Geometry_Geometry_closure: function Geometry_Geometry_closure(t0, t1, t2, t3, t4) { + var _ = this; + _.rise_per_base_pair = t0; + _.helix_radius = t1; + _.inter_helix_gap = t2; + _.bases_per_turn = t3; + _.minor_groove_angle = t4; + }, + Geometry_from_json_closure: function Geometry_from_json_closure() { + }, + Geometry_from_json_closure0: function Geometry_from_json_closure0(t0) { + this.unused_fields = t0; + }, + _$GeometrySerializer: function _$GeometrySerializer() { + }, + _$Geometry: function _$Geometry(t0, t1, t2, t3, t4, t5) { + var _ = this; + _.rise_per_base_pair = t0; + _.helix_radius = t1; + _.inter_helix_gap = t2; + _.bases_per_turn = t3; + _.minor_groove_angle = t4; + _.unused_fields = t5; + _._geometry$__hashCode = _.__svg_pixels_to_nm = _.__nm_to_svg_pixels = _.__base_height_svg = _.__base_width_svg = _.__helix_diameter_svg = _.__helix_radius_svg = _.__helix_diameter_nm = _.__distance_between_helices_svg = _.__distance_between_helices_nm = null; + }, + GeometryBuilder: function GeometryBuilder() { + var _ = this; + _._geometry$_unused_fields = _._minor_groove_angle = _._bases_per_turn = _._inter_helix_gap = _._helix_radius = _._rise_per_base_pair = _._geometry$_$v = null; + }, + _Geometry_Object_BuiltJsonSerializable: function _Geometry_Object_BuiltJsonSerializable() { + }, + _Geometry_Object_BuiltJsonSerializable_UnusedFields: function _Geometry_Object_BuiltJsonSerializable_UnusedFields() { + }, + SelectModeState_add_selectable_css_selectors: function(mode) { + }, + SelectModeState_remove_selectable_css_selectors: function(mode) { + }, + SelectModeStateBuilder$: function() { + var t1 = new N.SelectModeStateBuilder(), + t2 = type$.legacy_SetBuilder_legacy_SelectModeChoice._as(X.SetBuilder_SetBuilder([C.SelectModeChoice_strand, C.SelectModeChoice_staple, C.SelectModeChoice_scaffold], type$.legacy_SelectModeChoice)); + t1.get$_select_mode_state$_$this().set$_modes(t2); + return t1; + }, + SelectModeState: function SelectModeState() { + }, + SelectModeState_add_mode_closure: function SelectModeState_add_mode_closure(t0, t1) { + this.$this = t0; + this.mode = t1; + }, + SelectModeState_remove_mode_closure: function SelectModeState_remove_mode_closure(t0, t1) { + this.$this = t0; + this.mode = t1; + }, + SelectModeState_add_modes_closure: function SelectModeState_add_modes_closure(t0, t1) { + this.$this = t0; + this.new_modes = t1; + }, + SelectModeState_remove_modes_closure: function SelectModeState_remove_modes_closure(t0, t1) { + this.$this = t0; + this.new_modes = t1; + }, + SelectModeState_set_modes_closure: function SelectModeState_set_modes_closure(t0) { + this.new_modes = t0; + }, + _$SelectModeStateSerializer: function _$SelectModeStateSerializer() { + }, + _$SelectModeState: function _$SelectModeState(t0) { + var _ = this; + _.modes = t0; + _._select_mode_state$__hashCode = _.__modifications_selectable = _.__insertions_selectable = _.__deletions_selectable = _.__extensions_selectable = _.__domains_selectable = _.__ends_selectable = _.__linkers_selectable = _.__strands_selectable = null; + }, + SelectModeStateBuilder: function SelectModeStateBuilder() { + this._modes = this._select_mode_state$_$v = null; + }, + _$MenuDropdownItem: function(backingProps) { + type$.legacy_Map_dynamic_dynamic._as(backingProps); + return backingProps == null ? N._$$MenuDropdownItemProps$JsMap$(new L.JsBackedMap({})) : N._$$MenuDropdownItemProps__$$MenuDropdownItemProps(backingProps); + }, + _$$MenuDropdownItemProps__$$MenuDropdownItemProps: function(backingMap) { + var t1, _null = null; + if (backingMap instanceof L.JsBackedMap) + return N._$$MenuDropdownItemProps$JsMap$(backingMap); + else { + t1 = type$.dynamic; + t1 = new N._$$MenuDropdownItemProps$PlainMap(P.LinkedHashMap_LinkedHashMap$_empty(t1, t1), _null, _null, _null, _null, _null, _null, _null, _null); + t1.get$$$isClassGenerated(); + t1._menu_dropdown_item$_props = backingMap; + return t1; + } + }, + _$$MenuDropdownItemProps$JsMap$: function(backingMap) { + var _null = null, + t1 = new N._$$MenuDropdownItemProps$JsMap(new L.JsBackedMap({}), _null, _null, _null, _null, _null, _null, _null, _null); + t1.get$$$isClassGenerated(); + t1._menu_dropdown_item$_props = backingMap == null ? new L.JsBackedMap({}) : backingMap; + return t1; + }, + MenuDropdownItemPropsMixin: function MenuDropdownItemPropsMixin() { + }, + MenuDropdownItemComponent: function MenuDropdownItemComponent() { + }, + $MenuDropdownItemComponentFactory_closure: function $MenuDropdownItemComponentFactory_closure() { + }, + _$$MenuDropdownItemProps: function _$$MenuDropdownItemProps() { + }, + _$$MenuDropdownItemProps$PlainMap: function _$$MenuDropdownItemProps$PlainMap(t0, t1, t2, t3, t4, t5, t6, t7, t8) { + var _ = this; + _._menu_dropdown_item$_props = t0; + _.MenuDropdownItemPropsMixin_display = t1; + _.MenuDropdownItemPropsMixin_on_click = t2; + _.MenuDropdownItemPropsMixin_keyboard_shortcut = t3; + _.MenuDropdownItemPropsMixin_disabled = t4; + _.MenuDropdownItemPropsMixin_active = t5; + _.MenuDropdownItemPropsMixin_tooltip = t6; + _.componentFactory = null; + _.UbiquitousDomPropsMixin__aria = t7; + _.UbiquitousDomPropsMixin__dom = t8; + }, + _$$MenuDropdownItemProps$JsMap: function _$$MenuDropdownItemProps$JsMap(t0, t1, t2, t3, t4, t5, t6, t7, t8) { + var _ = this; + _._menu_dropdown_item$_props = t0; + _.MenuDropdownItemPropsMixin_display = t1; + _.MenuDropdownItemPropsMixin_on_click = t2; + _.MenuDropdownItemPropsMixin_keyboard_shortcut = t3; + _.MenuDropdownItemPropsMixin_disabled = t4; + _.MenuDropdownItemPropsMixin_active = t5; + _.MenuDropdownItemPropsMixin_tooltip = t6; + _.componentFactory = null; + _.UbiquitousDomPropsMixin__aria = t7; + _.UbiquitousDomPropsMixin__dom = t8; + }, + _$MenuDropdownItemComponent: function _$MenuDropdownItemComponent(t0) { + var _ = this; + _._menu_dropdown_item$_cachedTypedProps = null; + _.DisposableManagerProxy__disposableProxy = t0; + _.jsThis = _.state = _.props = null; + }, + $MenuDropdownItemPropsMixin: function $MenuDropdownItemPropsMixin() { + }, + __$$MenuDropdownItemProps_UiProps_MenuDropdownItemPropsMixin: function __$$MenuDropdownItemProps_UiProps_MenuDropdownItemPropsMixin() { + }, + __$$MenuDropdownItemProps_UiProps_MenuDropdownItemPropsMixin_$MenuDropdownItemPropsMixin: function __$$MenuDropdownItemProps_UiProps_MenuDropdownItemPropsMixin_$MenuDropdownItemPropsMixin() { + }, + XmlAttribute$: function($name, value, attributeType) { + var t1 = new N.XmlAttribute($name, value, attributeType, null); + $name.toString; + H._instanceType($name)._eval$1("XmlHasParent.T")._as(t1); + if ($name.get$parent($name) != null) + H.throwExpression(T.XmlParentException$(string$.Node_a + $name.toString$0(0))); + $name.set$_has_parent$_parent(t1); + return t1; + }, + XmlAttribute: function XmlAttribute(t0, t1, t2, t3) { + var _ = this; + _.name = t0; + _.value = t1; + _.attributeType = t2; + _.XmlHasParent__parent = t3; + }, + _XmlAttribute_XmlNode_XmlHasParent: function _XmlAttribute_XmlNode_XmlHasParent() { + }, + _XmlAttribute_XmlNode_XmlHasParent_XmlHasName: function _XmlAttribute_XmlNode_XmlHasParent_XmlHasName() { + }, + XmlData: function XmlData() { + }, + _XmlData_XmlNode_XmlHasParent: function _XmlData_XmlNode_XmlHasParent() { + }, + createNameMatcher: function($name, namespace) { + if ($name === "*") + if (namespace == null || namespace === "*") + return new N.createNameMatcher_closure(); + else + return new N.createNameMatcher_closure0(namespace); + else if (namespace == null) + return new N.createNameMatcher_closure1($name); + else if (namespace === "*") + return new N.createNameMatcher_closure2($name); + else + return new N.createNameMatcher_closure3($name, namespace); + }, + createNameMatcher_closure: function createNameMatcher_closure() { + }, + createNameMatcher_closure0: function createNameMatcher_closure0(t0) { + this.namespace = t0; + }, + createNameMatcher_closure1: function createNameMatcher_closure1(t0) { + this.name = t0; + }, + createNameMatcher_closure2: function createNameMatcher_closure2(t0) { + this.name = t0; + }, + createNameMatcher_closure3: function createNameMatcher_closure3(t0, t1) { + this.name = t0; + this.namespace = t1; + }, + oxview_update_view_middleware: function(store, action, next) { + var design; + type$.legacy_Store_legacy_AppState._as(store); + type$.legacy_dynamic_Function_dynamic._as(next).call$1(action); + if (action instanceof U.OxviewShowSet) + $.app.view.update_showing_oxview$0(); + if (store.get$state(store).ui_state.storables.show_oxview && type$.legacy_DesignChangingAction._is(action)) { + design = store.get$state(store).design; + if (design != null) + N.update_oxview_view(design, null); + } + }, + update_oxview_view: function(design, frame) { + var t1, text_blob_type, t2, t3, t4, message_js_commands, t5, dat_top, blob_dat, message, + _s41_ = string$.https_; + if (frame == null) { + t1 = $.app.view; + t1 = t1 == null ? null : t1.oxview_view; + frame = t1 == null ? null : t1.frame; + } + text_blob_type = E.blob_type_to_string(C.BlobType_0); + t1 = type$.JSArray_legacy_Blob; + t2 = type$.JSArray_legacy_String; + t3 = type$.legacy_String; + t4 = type$.dynamic; + message_js_commands = P.LinkedHashMap_LinkedHashMap$_literal(["message", "iframe_drop", "files", H.setRuntimeTypeInfo([W.Blob_Blob(["resetScene(resetCamera = false);"], text_blob_type)], t1), "ext", H.setRuntimeTypeInfo(["js"], t2)], t3, t4); + t5 = W._convertNativeToDart_Window(frame.contentWindow); + if (t5 != null) + J.postMessage$2$x(t5, message_js_commands, _s41_); + t5 = design.strands; + dat_top = N.to_oxdna_format(design, new Q.CopyOnWriteList(true, t5._list, H._instanceType(t5)._eval$1("CopyOnWriteList<1>"))); + blob_dat = W.Blob_Blob([dat_top.item1], text_blob_type); + message = P.LinkedHashMap_LinkedHashMap$_literal(["message", "iframe_drop", "files", H.setRuntimeTypeInfo([W.Blob_Blob([dat_top.item2], text_blob_type), blob_dat], t1), "ext", H.setRuntimeTypeInfo(["top", "dat"], t2), "inbox_settings", H.setRuntimeTypeInfo(["Monomer", "Origin"], t2)], t3, t4); + t4 = W._convertNativeToDart_Window(frame.contentWindow); + if (t4 != null) + J.postMessage$2$x(t4, message, _s41_); + }, + context_menu_show_reducer: function(_, action) { + type$.legacy_ContextMenu._as(_); + return type$.legacy_ContextMenuShow._as(action).context_menu; + }, + context_menu_hide_reducer: function(_, action) { + type$.legacy_ContextMenu._as(_); + type$.legacy_ContextMenuHide._as(action); + return null; + } + }, + F = { + Logger_Logger: function($name) { + return $.Logger__loggers.putIfAbsent$2(0, $name, new F.Logger_Logger_closure($name)); + }, + Logger: function Logger(t0, t1, t2, t3) { + var _ = this; + _.name = t0; + _.parent = t1; + _._level = null; + _._children = t2; + _.children = t3; + _._controller = null; + }, + Logger_Logger_closure: function Logger_Logger_closure(t0) { + this.name = t0; + }, + UrlStyle: function UrlStyle(t0, t1, t2, t3) { + var _ = this; + _.separatorPattern = t0; + _.needsSeparatorPattern = t1; + _.rootPattern = t2; + _.relativeRootPattern = t3; + }, + ReferenceParser: function ReferenceParser(t0, t1, t2) { + this.$function = t0; + this.$arguments = t1; + this.$ti = t2; + }, + AESEngine: function AESEngine(t0, t1, t2, t3, t4, t5) { + var _ = this; + _._ROUNDS = 0; + _._WorkingKey = null; + _._forEncryption = false; + _._s = t0; + _._S = t1; + _._Si = t2; + _._rcon = t3; + _._T0 = t4; + _._Tinv0 = t5; + }, + validateJsApiThenReturn: function(computeReturn, $T) { + F.validateJsApi(); + return computeReturn.call$0(); + }, + validateJsApi: function() { + var exception, t1, _null = null; + if ($._isJsApiValid) + return; + try { + self.React.isValidElement(_null); + self.ReactDOM.findDOMNode(_null); + self._createReactDartComponentClass(_null, _null, _null); + self._createReactDartComponentClass2(_null, _null, _null); + $._isJsApiValid = true; + } catch (exception) { + if (type$.legacy_NoSuchMethodError._is(H.unwrapException(exception))) + throw H.wrapException(P.Exception_Exception("react.js and react_dom.js must be loaded.")); + else { + t1 = P.Exception_Exception("Loaded react.js must include react-dart JS interop helpers."); + throw H.wrapException(t1); + } + } + }, + DartValueWrapper_wrapIfNeeded: function(value) { + var t1 = type$.legacy_Function; + if (t1._is(value) && P.allowInterop(value, t1) !== value) + return new F.DartValueWrapper(value); + return value; + }, + DartValueWrapper_unwrapIfNeeded: function(value) { + if (value instanceof F.DartValueWrapper) + return value.value; + return value; + }, + DartValueWrapper: function DartValueWrapper(t0) { + this.value = t0; + }, + _$valueOf2: function($name) { + switch ($name) { + case "scadnano_file": + return C.DNAFileType_scadnano_file; + case "cadnano_file": + return C.DNAFileType_cadnano_file; + default: + throw H.wrapException(P.ArgumentError$($name)); + } + }, + DNAFileType: function DNAFileType(t0) { + this.name = t0; + }, + _$DNAFileTypeSerializer: function _$DNAFileTypeSerializer() { + }, + export_dna_sequences_middleware: function(store, action, next) { + var strands, filename, blob_type, result, $content, e, stackTrace, cause, msg, strands0, filename0, blob_type0, result0, content0, e0, stackTrace0, cause0, msg0, state, t1, t2, exception, t3, t4, t5, t6, onError; + type$.legacy_Store_legacy_AppState._as(store); + type$.legacy_dynamic_Function_dynamic._as(next).call$1(action); + state = store.get$state(store); + if (action instanceof U.ExportCanDoDNA) { + strands = null; + t1 = state.design.strands; + strands = new Q.CopyOnWriteList(true, t1._list, H._instanceType(t1)._eval$1("CopyOnWriteList<1>")); + t1 = strands; + t2 = H.instanceType(t1)._eval$1("bool(1)")._as(new F.export_dna_sequences_middleware_closure()); + t1._copy_on_write_list$_maybeCopyBeforeWrite$0(); + J.removeWhere$1$ax(t1._copy_on_write_list$_list, t2); + filename = "cando_sequences.csv"; + blob_type = C.BlobType_0; + try { + result = F.cando_compatible_csv_export(strands); + $content = result; + E.save_file(filename, $content, null, blob_type); + } catch (exception) { + e = H.unwrapException(exception); + stackTrace = H.getTraceFromException(exception); + cause = ""; + if (F.has_cause(e)) + cause = H._asStringS(e.get$cause()); + else if (F.has_message(e)) + cause = H._asStringS(J.get$message$x(e)); + msg = J.$add$ansx(cause, "\n\n") + J.toString$0$(stackTrace); + store.dispatch$1(U.ErrorMessageSet_ErrorMessageSet(msg)); + $.app.view.design_view.render$1(0, store.get$state(store)); + } + } + if (action instanceof U.ExportDNA) { + strands0 = null; + if (action.include_only_selected_strands) + strands0 = state.ui_state.selectables_store.get$selected_strands()._set.toList$1$growable(0, true); + else if (action.exclude_selected_strands) { + t1 = state.design.strands; + strands0 = new Q.CopyOnWriteList(true, t1._list, H._instanceType(t1)._eval$1("CopyOnWriteList<1>")); + for (t1 = state.ui_state.selectables_store.get$selected_strands()._set, t1 = t1.get$iterator(t1); t1.moveNext$0();) { + t2 = t1.get$current(t1); + t3 = strands0; + t3._copy_on_write_list$_maybeCopyBeforeWrite$0(); + J.remove$1$ax(t3._copy_on_write_list$_list, t2); + } + } else { + t1 = state.design.strands; + strands0 = new Q.CopyOnWriteList(true, t1._list, H._instanceType(t1)._eval$1("CopyOnWriteList<1>")); + } + if (!action.include_scaffold) + J.removeWhere$1$ax(strands0, new F.export_dna_sequences_middleware_closure0()); + t1 = action.export_dna_format; + filename0 = "sequences." + t1.extension$0(); + blob_type0 = t1.blob_type$0(); + try { + t2 = strands0; + t3 = action.delimiter; + t4 = action.domain_delimiter; + t5 = action.strand_order; + t6 = action.column_major_strand; + result0 = t1.export$6$column_major_plate$column_major_strand$delimiter$domain_delimiter$strand_order(t2, action.column_major_plate, t6, t3, t4, t5); + if (type$.legacy_Future_legacy_List_legacy_int._is(result0)) { + t1 = J.then$1$1$z(result0, new F.export_dna_sequences_middleware_closure1(filename0, blob_type0), type$.Null); + onError = new F.export_dna_sequences_middleware_closure2(store); + type$.nullable_bool_Function_Object._as(null); + t2 = t1.$ti; + t3 = $.Zone__current; + if (t3 !== C.C__RootZone) + onError = P._registerErrorHandler(onError, t3); + t1._addListener$1(new P._FutureListener(new P._Future(t3, t2), 2, null, onError, t2._eval$1("@<1>")._bind$1(t2._precomputed1)._eval$1("_FutureListener<1,2>"))); + } else { + content0 = H._asStringS(result0); + E.save_file(filename0, content0, null, blob_type0); + } + } catch (exception) { + e0 = H.unwrapException(exception); + stackTrace0 = H.getTraceFromException(exception); + cause0 = ""; + if (F.has_cause(e0)) + cause0 = H._asStringS(e0.get$cause()); + else if (F.has_message(e0)) + cause0 = H._asStringS(J.get$message$x(e0)); + msg0 = J.$add$ansx(cause0, "\n\n") + J.toString$0$(stackTrace0); + store.dispatch$1(U.ErrorMessageSet_ErrorMessageSet(msg0)); + $.app.view.design_view.render$1(0, store.get$state(store)); + } + } + }, + export_dna: function() { + var $async$goto = 0, + $async$completer = P._makeAsyncAwaitCompleter(type$.void), + $async$returnValue, export_options, sort_options, items, t3, t4, results, include_scaffold, include_only_selected_strands, exclude_selected_strands, t5, column_major_strand, strand_order, column_major_plate, format, delimiter, domain_delimiter, t1, t2; + var $async$export_dna = P._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { + if ($async$errorCode === 1) + return P._asyncRethrow($async$result, $async$completer); + while (true) + switch ($async$goto) { + case 0: + // Function start + t1 = $.$get$_$values2(); + t2 = type$.legacy_String; + t1.toString; + t1 = t1._set.map$1$1(0, t1.$ti._eval$1("String*(1)")._as(new F.export_dna_closure()), t2); + export_options = P.List_List$of(t1, true, H._instanceType(t1)._eval$1("Iterable.E")); + t1 = $.$get$_$values3(); + t1.toString; + t2 = t1._set.map$1$1(0, t1.$ti._eval$1("String*(1)")._as(new F.export_dna_closure0()), t2); + sort_options = P.List_List$of(t2, true, H._instanceType(t2)._eval$1("Iterable.E")); + items = P.List_List$filled(10, null, false, type$.legacy_DialogItem); + C.JSArray_methods.$indexSet(items, 4, E.DialogText_DialogText("delimiter between IDT fields", 'Delimiter to separate IDT fields in a "bulk input" text file, for instance if set to ";", then a line \nof the file could be\n strand_name;AAAAACCCCCGGGGG;25nm;STD', ",")); + C.JSArray_methods.$indexSet(items, 5, E.DialogText_DialogText("delimiter between DNA sequences of domains", 'Delimiter to separate DNA sequences from different domains/loopouts/extensions, for instance if set to " ", \nthen the exported DNA sequence could be\n AAAAA CCCCC GGGGG\nif it had three domains each of length 5.', "")); + C.JSArray_methods.$indexSet(items, 0, E.DialogCheckbox_DialogCheckbox("include scaffold", "", false)); + C.JSArray_methods.$indexSet(items, 1, E.DialogCheckbox_DialogCheckbox("include only selected strands", "", false)); + C.JSArray_methods.$indexSet(items, 2, E.DialogCheckbox_DialogCheckbox("exclude selected strands", "", false)); + C.JSArray_methods.$indexSet(items, 3, E.DialogRadio_DialogRadio("export format", C.List_69n, export_options, false, 0, null)); + C.JSArray_methods.$indexSet(items, 6, E.DialogCheckbox_DialogCheckbox("column-major well order (uncheck for row-major order)", 'For exporting to plates, this customizes the order in which wells are enumerated.\nColumn-major order is A1, B1, C1, ... Row-major order is A1, A2, A3, ... \nNote that this is distinct from the notion of "sort strands", which helps specify the \norder in which strands are processed (as opposed to order of wells in a plate).\n', true)); + C.JSArray_methods.$indexSet(items, 7, E.DialogCheckbox_DialogCheckbox("sort strands", 'By default strands are exported in the order they are stored in the .sc file.\nChecking this box allows some customization of the order in which strands are processed.\n(See "column-major" box below for description.) Note that for exporting plates, \nthis is distinct from the order in which wells are enumerated when putting strands \ninto the plate. That can be customized by selecting "column-major well order" below.\n', false)); + C.JSArray_methods.$indexSet(items, 8, E.DialogCheckbox_DialogCheckbox("column-major strand order (uncheck for row-major order)", 'When checked, strands are processed in column-major "visual order" by their 5\' ends. \nColumn-major means sort first by offset, then by helix index. For example, if\nthe 5\' addresses are (0,5), meaning helix 0 at offset 5, \nthen (0,10), (0,15), (1,5), (1,10), (1,15), (2,5), (2,10), (2,15),\nthen that is row-major order. Column-major order would be\n(0,5), (1,5), (2,5), (0,10), (1,10), (2,10), (0,15), (1,15), (2,15).\nFinally, instead of using the addresses of 5\' ends, other strand "parts" can be\nused to sort; see options under "strand part to sort by".\n', true)); + C.JSArray_methods.$indexSet(items, 9, E.DialogRadio_DialogRadio("strand part to sort by", C.List_4m4, sort_options, false, 0, 'When sorting strands by their "address" (helix index and offset), this indicates\nwhich part of the strand to use as the address.\n')); + t2 = type$.JSArray_legacy_int; + t1 = type$.legacy_int; + t3 = type$.legacy_Iterable_legacy_int; + t4 = P.LinkedHashMap_LinkedHashMap$_literal([1, H.setRuntimeTypeInfo([2], t2), 2, H.setRuntimeTypeInfo([1], t2)], t1, t3); + $async$goto = 3; + return P._asyncAwait(E.dialog(E.Dialog_Dialog(C.Set_empty, P.LinkedHashMap_LinkedHashMap$_literal([8, H.setRuntimeTypeInfo([7], t2), 9, H.setRuntimeTypeInfo([7], t2)], t1, t3), t4, P.LinkedHashMap_LinkedHashMap$_literal([6, P.LinkedHashMap_LinkedHashMap$_literal([3, H.setRuntimeTypeInfo([C.Map_bv0.$index(0, C.ExportDNAFormat_csv), C.Map_bv0.$index(0, C.ExportDNAFormat_idt_bulk)], type$.JSArray_legacy_String)], t1, type$.legacy_Iterable_legacy_String)], t1, type$.legacy_Map_of_legacy_int_and_legacy_Iterable_legacy_String), items, C.List_empty1, E.dialog_Dialog_identity_function$closure(), "export DNA sequences", C.DialogType_export_dna_sequences, true)), $async$export_dna); + case 3: + // returning from await. + results = $async$result; + if (results == null) { + // goto return + $async$goto = 1; + break; + } + t1 = J.getInterceptor$asx(results); + t2 = type$.legacy_DialogCheckbox; + include_scaffold = t2._as(t1.$index(results, 0)).value; + include_only_selected_strands = t2._as(t1.$index(results, 1)).value; + exclude_selected_strands = t2._as(t1.$index(results, 2)).value; + t3 = type$.legacy_DialogRadio; + t4 = t3._as(t1.$index(results, 3)); + t5 = t4.options; + t4 = t4.selected_idx; + t4 = J.$index$asx(t5._list, t4); + if (t2._as(t1.$index(results, 7)).value) { + column_major_strand = t2._as(t1.$index(results, 8)).value; + t3 = t3._as(t1.$index(results, 9)); + t5 = t3.options; + t3 = t3.selected_idx; + strand_order = O.StrandOrder_fromString(J.$index$asx(t5._list, t3)); + } else { + strand_order = null; + column_major_strand = true; + } + column_major_plate = t2._as(t1.$index(results, 6)).value; + format = D.ExportDNAFormat_fromString(t4); + t2 = type$.legacy_DialogText; + delimiter = t2._as(t1.$index(results, 4)).value; + domain_delimiter = t2._as(t1.$index(results, 5)).value; + $.app.dispatch$1(U.ExportDNA_ExportDNA(column_major_plate, column_major_strand, delimiter, domain_delimiter, exclude_selected_strands, format, include_only_selected_strands, include_scaffold, strand_order)); + case 1: + // return + return P._asyncReturn($async$returnValue, $async$completer); + } + }); + return P._asyncStartSync($async$export_dna, $async$completer); + }, + cando_compatible_csv_export: function(strands) { + var t1, t2, t3, t4, t5, cando_strand, cando_split_name, cando_strand_end, + _s14_ = "*****NONE*****", + buf = new P.StringBuffer(""); + buf._contents = "Start,End,Sequence,Length,Color\n"; + for (t1 = J.get$iterator$ax(strands._copy_on_write_list$_list), t2 = type$.legacy_String; t1.moveNext$0();) { + t3 = t1.get$current(t1); + t4 = t3.vendor_export_name$0(); + t4.toString; + if (H.stringContainsUnchecked(t4, "SCAF", 0)) + continue; + t4 = t3.vendor_export_name$0(); + t5 = P.RegExp_RegExp("^ST", true); + t4.toString; + cando_strand = H.stringReplaceAllUnchecked(t4, t5, ""); + t4 = P.RegExp_RegExp("\\d+\\[\\d+\\]", true).allMatches$1(0, cando_strand); + t5 = H._instanceType(t4); + t5 = H.MappedIterable_MappedIterable(t4, t5._eval$1("String*(Iterable.E)")._as(new F.cando_compatible_csv_export_closure()), t5._eval$1("Iterable.E"), t2); + cando_split_name = P.List_List$of(t5, true, H._instanceType(t5)._eval$1("Iterable.E")); + t4 = cando_split_name.length; + if (t4 !== 2) + throw H.wrapException(D.ExportDNAException$("Invalid strand name: " + H.S(t3.vendor_export_name$0()))); + if (1 >= t4) + return H.ioore(cando_split_name, 1); + cando_strand_end = cando_split_name[1]; + t4 = H.S(cando_split_name[0]) + "," + H.S(cando_strand_end) + ","; + t5 = t3.vendor_dna_sequence$1$domain_delimiter(""); + t4 = t4 + (t5 == null ? _s14_ : t5) + ","; + t5 = t3.vendor_dna_sequence$1$domain_delimiter(""); + t4 = t4 + (t5 == null ? _s14_ : t5).length + ","; + t3 = t3.color.toHexColor$0(); + buf._contents += t4 + ("#" + C.JSString_methods.padLeft$2(C.JSInt_methods.toRadixString$1(J.toInt$0$n(t3.r), 16), 2, "0") + C.JSString_methods.padLeft$2(C.JSInt_methods.toRadixString$1(J.toInt$0$n(t3.g), 16), 2, "0") + C.JSString_methods.padLeft$2(C.JSInt_methods.toRadixString$1(J.toInt$0$n(t3.b), 16), 2, "0")).toUpperCase() + "\n"; + } + t1 = buf._contents; + return t1.charCodeAt(0) == 0 ? t1 : t1; + }, + has_cause: function(obj) { + var exception, + has_it = false; + try { + obj.get$cause(); + has_it = true; + } catch (exception) { + if (!type$.legacy_NoSuchMethodError._is(H.unwrapException(exception))) + throw exception; + } + return has_it; + }, + has_message: function(obj) { + var exception, + has_it = false; + try { + J.get$message$x(obj); + has_it = true; + } catch (exception) { + if (!type$.legacy_NoSuchMethodError._is(H.unwrapException(exception))) + throw exception; + } + return has_it; + }, + export_dna_sequences_middleware_closure: function export_dna_sequences_middleware_closure() { + }, + export_dna_sequences_middleware_closure0: function export_dna_sequences_middleware_closure0() { + }, + export_dna_sequences_middleware_closure1: function export_dna_sequences_middleware_closure1(t0, t1) { + this.filename = t0; + this.blob_type = t1; + }, + export_dna_sequences_middleware_closure2: function export_dna_sequences_middleware_closure2(t0) { + this.store = t0; + }, + export_dna_closure: function export_dna_closure() { + }, + export_dna_closure0: function export_dna_closure0() { + }, + cando_compatible_csv_export_closure: function cando_compatible_csv_export_closure() { + }, + periodic_design_save_local_storage_middleware: function(store, action, next) { + var t1, choice; + type$.legacy_Store_legacy_AppState._as(store); + type$.legacy_dynamic_Function_dynamic._as(next).call$1(action); + t1 = action instanceof U.LocalStorageDesignChoiceSet; + if (t1 || action instanceof U.SetAppUIStateStorable) { + if (t1) + choice = action.choice; + else + choice = action instanceof U.SetAppUIStateStorable ? action.storables.local_storage_design_choice : null; + if (choice.option === C.LocalStorageDesignOption_periodic) { + t1 = $.timer; + if (t1 != null) { + t1.cancel$0(0); + $.timer = null; + } + F.start_timer_periodic_design_save_local_storage(choice.period_seconds); + } else { + t1 = $.timer; + if (t1 != null) { + t1.cancel$0(0); + $.timer = null; + } + } + } + }, + start_timer_periodic_design_save_local_storage: function(period_seconds) { + if (period_seconds > 0) + $.timer = P.Timer_Timer$periodic(P.Duration$(0, 0, period_seconds), new F.start_timer_periodic_design_save_local_storage_closure()); + else + throw H.wrapException(P.AssertionError$("WARNING: period_seconds cannot be <= 0 but is " + period_seconds)); + }, + start_timer_periodic_design_save_local_storage_closure: function start_timer_periodic_design_save_local_storage_closure() { + }, + move_linker_reducer: function(strands, state, action) { + var design, potential_crossover, linker, end_fixed, end_to, t1, strand_from, t2, t3, new_all_strands, new_strands, t4, t5, new_strand_disconnected, new_strand_connected_intermediate, strands_to_join, t6, new_strand_connected, t7, crossover_idx, linker_seq, strand_to_dna_sequence, new_strand_connected_dna_sequence, strand_from_orig_idx, strand_to_orig_idx; + type$.legacy_BuiltList_legacy_Strand._as(strands); + type$.legacy_AppState._as(state); + type$.legacy_MoveLinker._as(action); + design = state.design; + potential_crossover = action.potential_crossover; + linker = potential_crossover.linker; + end_fixed = potential_crossover.dna_end_first_click; + end_to = action.dna_end_second_click; + t1 = design.__linker_to_strand; + if (t1 == null) { + t1 = N.Design.prototype.get$linker_to_strand.call(design); + design.set$__linker_to_strand(t1); + } + strand_from = J.$index$asx(t1._map$_map, linker); + t1 = design.get$substrand_to_strand(); + t2 = J.$index$asx(design.get$end_to_domain()._map$_map, end_to); + t2 = J.$index$asx(t1._map$_map, t2); + if (J.$eq$(strand_from, t2)) { + C.Window_methods.alert$1(window, "creating circular strand by moving existing crossover/loopout not supported yet"); + return strands; + } + t1 = strands._list; + t3 = H._instanceType(strands); + new_all_strands = new Q.CopyOnWriteList(true, t1, t3._eval$1("CopyOnWriteList<1>")); + new_strands = G.remove_linkers_from_strand(strand_from, H.setRuntimeTypeInfo([linker], type$.JSArray_legacy_Linker)); + t4 = new_strands.length; + if (t4 === 2) { + t5 = end_fixed.is_5p; + if (t5) { + if (0 >= t4) + return H.ioore(new_strands, 0); + new_strand_disconnected = new_strands[0]; + } else { + if (1 >= t4) + return H.ioore(new_strands, 1); + new_strand_disconnected = new_strands[1]; + } + if (t5) { + if (1 >= t4) + return H.ioore(new_strands, 1); + new_strand_connected_intermediate = new_strands[1]; + } else { + if (0 >= t4) + return H.ioore(new_strands, 0); + new_strand_connected_intermediate = new_strands[0]; + } + t4 = type$.JSArray_legacy_Strand; + strands_to_join = H.setRuntimeTypeInfo([new_strand_connected_intermediate, t2], t4); + if (t5) { + t6 = type$.ReversedListIterable_legacy_Strand; + P.List_List$of(new H.ReversedListIterable(strands_to_join, t6), true, t6._eval$1("ListIterable.E")); + } + t6 = type$.legacy_Strand; + new_strand_connected = J.get$first$ax((end_fixed.get$is_3p() ? F._join_strands_with_crossover(new_strand_connected_intermediate, t2, D._BuiltList$of(H.setRuntimeTypeInfo([new_strand_connected_intermediate, t2], t4), t6), true) : F._join_strands_with_crossover(t2, new_strand_connected_intermediate, D._BuiltList$of(H.setRuntimeTypeInfo([t2, new_strand_connected_intermediate], t4), t6), false))._list); + t4 = linker instanceof G.Loopout; + if (t4) { + if (t5) { + t7 = J.get$length$asx(t2.get$domains()._list); + if (typeof t7 !== "number") + return t7.$sub(); + crossover_idx = t7 - 1; + } else { + t7 = J.get$length$asx(new_strand_connected_intermediate.get$domains()._list); + if (typeof t7 !== "number") + return t7.$sub(); + crossover_idx = t7 - 1; + } + new_strand_connected = X.convert_crossover_to_loopout_reducer(new_strand_connected, U.ConvertCrossoverToLoopout_ConvertCrossoverToLoopout(type$.legacy_Crossover._as(J.$index$asx(new_strand_connected.get$linkers()._list, crossover_idx)), linker.loopout_num_bases, linker.dna_sequence)); + } + if (t4) { + linker_seq = linker.dna_sequence; + if (linker_seq == null) + linker_seq = C.JSString_methods.$mul("?", linker.loopout_num_bases); + } else + linker_seq = ""; + strand_to_dna_sequence = t2.get$dna_sequence(); + if (strand_to_dna_sequence == null) + strand_to_dna_sequence = C.JSString_methods.$mul("?", t2.get$dna_length()); + new_strand_connected_dna_sequence = new_strand_connected_intermediate.get$dna_sequence(); + if (new_strand_connected_dna_sequence == null) + new_strand_connected_dna_sequence = C.JSString_methods.$mul("?", new_strand_connected_intermediate.get$dna_length()); + new_strand_connected = new_strand_connected.set_dna_sequence$1(t5 ? strand_to_dna_sequence + linker_seq + new_strand_connected_dna_sequence : new_strand_connected_dna_sequence + linker_seq + strand_to_dna_sequence); + t3 = t3._precomputed1; + t4 = J.getInterceptor$asx(t1); + strand_from_orig_idx = t4.indexOf$2(t1, t3._as(strand_from), 0); + strand_to_orig_idx = t4.indexOf$2(t1, t3._as(t2), 0); + t3._as(new_strand_connected); + new_all_strands._copy_on_write_list$_maybeCopyBeforeWrite$0(); + J.$indexSet$ax(new_all_strands._copy_on_write_list$_list, strand_from_orig_idx, new_strand_connected); + t3._as(new_strand_disconnected); + new_all_strands._copy_on_write_list$_maybeCopyBeforeWrite$0(); + J.$indexSet$ax(new_all_strands._copy_on_write_list$_list, strand_to_orig_idx, new_strand_disconnected); + } else if (t4 === 1) { + C.Window_methods.alert$1(window, "moving crossover/loopout from a circular strand not yet supported"); + return strands; + } else + throw H.wrapException(P.AssertionError$("should be unreachable")); + return D._BuiltList$of(new_all_strands, t6); + }, + nick_reducer: function(strands, state, action) { + var domain_to_remove, strand, nick_offset, helix, $forward, start, end, t1, t2, t3, t4, t5, t6, t7, t8, domain_left, domain_right, index_removed, substrands_before, substrands_after, domain_after, domain_before, dna_length_before, dna_before, dna_after, dna_length_strand_5p, modifications_int_strand_5p, i, mods_on_ss, strand_new, strand_idx, strands_mutable, strand_5p, modifications_int_strand_3p, strand_3p, _null = null; + type$.legacy_BuiltList_legacy_Strand._as(strands); + type$.legacy_AppState._as(state); + type$.legacy_Nick._as(action); + domain_to_remove = action.domain; + strand = J.$index$asx(state.design.get$substrand_to_strand()._map$_map, domain_to_remove); + nick_offset = action.offset; + helix = domain_to_remove.helix; + $forward = domain_to_remove.forward; + start = domain_to_remove.start; + end = domain_to_remove.end; + t1 = domain_to_remove.is_scaffold; + t2 = domain_to_remove.deletions; + t2.toString; + t3 = t2.$ti._eval$1("bool(1)"); + t2 = t2._list; + t4 = J.getInterceptor$ax(t2); + t5 = t4.where$1(t2, t3._as(new F.nick_reducer_closure(nick_offset))); + t6 = domain_to_remove.insertions; + t6.toString; + t7 = t6.$ti._eval$1("bool(1)"); + t6 = t6._list; + t8 = J.getInterceptor$ax(t6); + domain_left = G.Domain_Domain(t5, nick_offset, $forward, helix, t8.where$1(t6, t7._as(new F.nick_reducer_closure0(nick_offset))), false, false, t1, start); + domain_right = G.Domain_Domain(t4.where$1(t2, t3._as(new F.nick_reducer_closure1(nick_offset))), end, $forward, helix, t8.where$1(t6, t7._as(new F.nick_reducer_closure2(nick_offset))), false, false, t1, nick_offset); + t1 = strand.substrands; + t1.toString; + t7 = t1.$ti; + t1 = t1._list; + t6 = J.getInterceptor$asx(t1); + index_removed = t6.indexOf$2(t1, t7._precomputed1._as(domain_to_remove), 0); + t7 = t7._eval$1("_BuiltList<1>"); + t8 = t7._eval$1("CopyOnWriteList<1>"); + substrands_before = new Q.CopyOnWriteList(true, t6.sublist$2(t1, 0, index_removed), t8); + substrands_after = new Q.CopyOnWriteList(true, t6.sublist$2(t1, index_removed + 1, _null), t8); + if (!$forward) { + domain_after = domain_left; + domain_before = domain_right; + } else { + domain_after = domain_right; + domain_before = domain_left; + } + domain_before = domain_before.rebuild$1(new F.nick_reducer_closure3(substrands_before)); + domain_after = domain_after.rebuild$1(new F.nick_reducer_closure4(substrands_after)); + t2 = t7._precomputed1; + t2._as(domain_before); + substrands_before._copy_on_write_list$_maybeCopyBeforeWrite$0(); + J.add$1$ax(substrands_before._copy_on_write_list$_list, domain_before); + t2._as(domain_after); + substrands_after._copy_on_write_list$_maybeCopyBeforeWrite$0(); + J.insert$2$ax(substrands_after._copy_on_write_list$_list, 0, domain_after); + if (strand.get$dna_sequence() != null) { + t2 = H.setRuntimeTypeInfo([], type$.JSArray_legacy_int); + for (t3 = J.get$iterator$ax(substrands_before._copy_on_write_list$_list); t3.moveNext$0();) + t2.push(t3.get$current(t3).dna_length$0()); + dna_length_before = C.JSArray_methods.reduce$1(t2, new F.nick_reducer_closure5()); + dna_before = J.substring$2$s(strand.get$dna_sequence(), 0, dna_length_before); + dna_after = J.substring$1$s(strand.get$dna_sequence(), dna_length_before); + } else { + dna_after = _null; + dna_before = dna_after; + } + t2 = H.setRuntimeTypeInfo([], type$.JSArray_legacy_int); + for (t3 = J.get$iterator$ax(substrands_before._copy_on_write_list$_list); t3.moveNext$0();) + t2.push(t3.get$current(t3).dna_length$0()); + dna_length_strand_5p = C.JSArray_methods.reduce$1(t2, new F.nick_reducer_closure6()); + t2 = type$.legacy_int; + t3 = type$.legacy_ModificationInternal; + modifications_int_strand_5p = P.LinkedHashMap_LinkedHashMap$_empty(t2, t3); + i = 0; + while (true) { + t4 = J.get$length$asx(substrands_before._copy_on_write_list$_list); + if (typeof t4 !== "number") + return H.iae(t4); + if (!(i < t4)) + break; + t4 = strand.__internal_modifications_on_substrand_absolute_idx; + if (t4 == null) { + t4 = E.Strand.prototype.get$internal_modifications_on_substrand_absolute_idx.call(strand); + strand.set$__internal_modifications_on_substrand_absolute_idx(t4); + } + mods_on_ss = J.$index$asx(t4._list, i); + mods_on_ss.toString; + J.forEach$1$ax(mods_on_ss._map$_map, mods_on_ss.$ti._eval$1("~(1,2)")._as(new F.nick_reducer_closure7(i, substrands_before, dna_length_strand_5p, modifications_int_strand_5p))); + ++i; + } + if (strand.circular) { + t7._eval$1("List<1>")._as(substrands_before); + strand_new = strand.rebuild$1(new F.nick_reducer_closure8(J.$add$ansx(substrands_after._copy_on_write_list$_list, substrands_before))).initialize$0(0); + strands.toString; + t1 = strands.$ti._precomputed1; + strand_idx = J.indexOf$2$asx(strands._list, t1._as(strand), 0); + strands_mutable = D.ListBuilder_ListBuilder(strands, t1); + t1 = strands_mutable.$ti._precomputed1; + t1._as(strand_new); + if (!$.$get$isSoundMode() && !t1._is(null)) + if (strand_new == null) + H.throwExpression(P.ArgumentError$("null element")); + J.$indexSet$ax(strands_mutable.get$_safeList(), strand_idx, strand_new); + return strands_mutable.build$0(); + } else { + t4 = strand.name; + t5 = strand.color; + t7 = strand.vendor_fields; + t8 = strand.is_scaffold; + strand_5p = E.Strand_Strand(substrands_before, false, t5, dna_before, t8, _null, _null, strand.modification_5p, modifications_int_strand_5p, t4, t7); + modifications_int_strand_3p = P.LinkedHashMap_LinkedHashMap$_empty(t2, t3); + t2 = J.get$length$asx(substrands_before._copy_on_write_list$_list); + if (typeof t2 !== "number") + return t2.$sub(); + i = t2 - 1; + while (true) { + t2 = t6.get$length(t1); + if (typeof t2 !== "number") + return H.iae(t2); + if (!(i < t2)) + break; + t2 = strand.__internal_modifications_on_substrand_absolute_idx; + if (t2 == null) { + t2 = E.Strand.prototype.get$internal_modifications_on_substrand_absolute_idx.call(strand); + strand.set$__internal_modifications_on_substrand_absolute_idx(t2); + } + mods_on_ss = J.$index$asx(t2._list, i); + mods_on_ss.toString; + J.forEach$1$ax(mods_on_ss._map$_map, mods_on_ss.$ti._eval$1("~(1,2)")._as(new F.nick_reducer_closure9(i, substrands_before, dna_length_strand_5p, modifications_int_strand_3p))); + ++i; + } + t1 = t8 ? t5 : _null; + strand_3p = E.Strand_Strand(substrands_after, false, t1, dna_after, t8, _null, strand.modification_3p, _null, modifications_int_strand_3p, t4, _null); + t4 = type$.JSArray_legacy_Strand; + return F.swap_old_strands_for_new(strands, H.setRuntimeTypeInfo([strand], t4), H.setRuntimeTypeInfo([strand_5p, strand_3p], t4)); + } + }, + ligate_reducer: function(strands, state, action) { + var dna_end_clicked, t1, domain, strand, helix, $forward, offset, t2, domains_adjacent, other_domain, t3, t4, dom_right, dom_left, strand_left, strand_right, strand_3p, strand_5p, dom_3p, dom_5p, t5, dom_new, substrands, first_dom, i, new_strand, strand_idx, strands_mutable, substrands_5p_new, substrands_3p_new, _box_0 = {}; + type$.legacy_BuiltList_legacy_Strand._as(strands); + type$.legacy_AppState._as(state); + dna_end_clicked = type$.legacy_Ligate._as(action).dna_end; + t1 = state.design; + domain = J.$index$asx(t1.get$end_to_domain()._map$_map, dna_end_clicked); + strand = J.$index$asx(t1.get$substrand_to_strand()._map$_map, domain); + helix = domain.helix; + $forward = domain.forward; + offset = dna_end_clicked.offset; + t2 = dna_end_clicked.is_start; + if (t2) { + if (typeof offset !== "number") + return offset.$sub(); + domains_adjacent = t1.domains_on_helix_at$2(helix, offset - 1); + } else + domains_adjacent = t1.domains_on_helix_at$2(helix, offset); + t3 = domains_adjacent._set; + t3 = t3.get$iterator(t3); + while (true) { + if (!t3.moveNext$0()) { + other_domain = null; + break; + } + other_domain = t3.get$current(t3); + t4 = t1.__substrand_to_strand; + if (t4 == null) { + t4 = N.Design.prototype.get$substrand_to_strand.call(t1); + t1.set$__substrand_to_strand(t4); + } + if (strand.ligatable_ends_with$1(J.$index$asx(t4._map$_map, other_domain)) != null) + break; + } + if (other_domain == null) + return strands; + if (!t2) { + dom_right = other_domain; + dom_left = domain; + } else { + dom_right = domain; + dom_left = other_domain; + } + strand_left = J.$index$asx(t1.get$substrand_to_strand()._map$_map, dom_left); + strand_right = J.$index$asx(t1.get$substrand_to_strand()._map$_map, dom_right); + if (!$forward) { + strand_3p = strand_right; + strand_5p = strand_left; + dom_3p = dom_right; + dom_5p = dom_left; + } else { + strand_3p = strand_left; + strand_5p = strand_right; + dom_3p = dom_left; + dom_5p = dom_right; + } + t1 = strand_5p.is_scaffold || strand_3p.is_scaffold; + t2 = dom_left.deletions; + t2.toString; + t3 = t2.$ti; + t2 = J.$add$ansx(t2._list, t3._eval$1("BuiltList<1>")._as(dom_right.deletions)._list); + t4 = dom_left.insertions; + t4.toString; + t5 = t4.$ti; + dom_new = G.Domain_Domain(new D._BuiltList(t2, t3._eval$1("_BuiltList<1>")), dom_right.end, $forward, helix, new D._BuiltList(J.$add$ansx(t4._list, t5._eval$1("BuiltList<1>")._as(dom_right.insertions)._list), t5._eval$1("_BuiltList<1>")), dom_3p.is_first, dom_5p.is_last, t1, dom_left.start); + if (J.$eq$(strand_left, strand_right)) { + t1 = strand_left.substrands; + substrands = new Q.CopyOnWriteList(true, t1._list, H._instanceType(t1)._eval$1("CopyOnWriteList<1>")); + _box_0.substrands = substrands; + substrands.removeAt$1(0, 0); + J.removeLast$0$ax(_box_0.substrands); + J.insert$2$ax(_box_0.substrands, 0, dom_new); + if (J.get$isEmpty$asx(strand_left.get$crossovers()._list)) + return strands; + if (J.get$last$ax(_box_0.substrands) instanceof G.Loopout) { + first_dom = -1; + i = 0; + while (true) { + t1 = J.get$length$asx(_box_0.substrands); + if (typeof t1 !== "number") + return t1.$sub(); + if (!(i < t1 - 1)) + break; + if (J.$index$asx(_box_0.substrands, i) instanceof G.Domain && J.$index$asx(_box_0.substrands, i + 1) instanceof G.Domain) + first_dom = i + 1; + ++i; + } + _box_0.substrands = J.$add$ansx(J.sublist$1$ax(_box_0.substrands, first_dom), J.sublist$2$ax(_box_0.substrands, 0, first_dom)); + } + new_strand = strand_left.rebuild$1(new F.ligate_reducer_closure(_box_0)).initialize$0(0); + strands.toString; + t1 = strands.$ti._precomputed1; + strand_idx = J.indexOf$2$asx(strands._list, t1._as(strand_left), 0); + strands_mutable = D.ListBuilder_ListBuilder(strands, t1); + t1 = strands_mutable.$ti._precomputed1; + t1._as(new_strand); + if (!$.$get$isSoundMode() && !t1._is(null)) + if (new_strand == null) + H.throwExpression(P.ArgumentError$("null element")); + J.$indexSet$ax(strands_mutable.get$_safeList(), strand_idx, new_strand); + return strands_mutable.build$0(); + } else { + t1 = strand_5p.substrands; + substrands_5p_new = new Q.CopyOnWriteList(true, t1._list, H._instanceType(t1)._eval$1("CopyOnWriteList<1>")); + substrands_5p_new._copy_on_write_list$_maybeCopyBeforeWrite$0(); + J.removeAt$1$ax(substrands_5p_new._copy_on_write_list$_list, 0); + t1 = strand_3p.substrands; + t2 = H._instanceType(t1); + substrands_3p_new = new Q.CopyOnWriteList(true, t1._list, t2._eval$1("CopyOnWriteList<1>")); + substrands_3p_new._copy_on_write_list$_maybeCopyBeforeWrite$0(); + J.removeLast$0$ax(substrands_3p_new._copy_on_write_list$_list); + t2 = t2._eval$1("List<1>")._as(H.setRuntimeTypeInfo([dom_new], type$.JSArray_legacy_Substrand)); + new_strand = F.join_two_strands_with_substrands(strand_3p, strand_5p, C.JSArray_methods.$add(J.$add$ansx(substrands_3p_new._copy_on_write_list$_list, t2), substrands_5p_new), dna_end_clicked.get$is_3p()); + t2 = type$.JSArray_legacy_Strand; + return F.swap_old_strands_for_new(strands, H.setRuntimeTypeInfo([strand_left, strand_right], t2), H.setRuntimeTypeInfo([new_strand], t2)); + } + }, + join_strands_by_multiple_crossovers_reducer: function(strands, state, action) { + var t1, end_pairs, t2, addresses_from, addresses_to, _i, end_pair, end1, end2, t3, t4, end_from, end_to, i, address_from, address_to; + type$.legacy_BuiltList_legacy_Strand._as(strands); + type$.legacy_AppState._as(state); + type$.legacy_JoinStrandsByMultipleCrossovers._as(action); + t1 = state.design; + end_pairs = F.find_end_pairs_to_connect(t1, state.ui_state.selectables_store.get$selected_dna_ends()._set.toList$1$growable(0, true)); + t2 = type$.JSArray_legacy_Address; + addresses_from = H.setRuntimeTypeInfo([], t2); + addresses_to = H.setRuntimeTypeInfo([], t2); + for (t2 = end_pairs.length, _i = 0; _i < end_pairs.length; end_pairs.length === t2 || (0, H.throwConcurrentModificationError)(end_pairs), ++_i) { + end_pair = end_pairs[_i]; + end1 = end_pair.item1; + end2 = end_pair.item2; + t3 = end1.__is_3p; + if (t3 == null) { + t3 = end1.__is_3p = Z.DNAEnd.prototype.get$is_3p.call(end1); + t4 = t3; + } else + t4 = t3; + end_from = t3 ? end1 : end2; + end_to = t4 ? end2 : end1; + t3 = t1.__end_to_address; + if (t3 == null) { + t3 = N.Design.prototype.get$end_to_address.call(t1); + t1.set$__end_to_address(t3); + } + C.JSArray_methods.add$1(addresses_from, J.$index$asx(t3._map$_map, end_from)); + t3 = t1.__end_to_address; + if (t3 == null) { + t3 = N.Design.prototype.get$end_to_address.call(t1); + t1.set$__end_to_address(t3); + } + C.JSArray_methods.add$1(addresses_to, J.$index$asx(t3._map$_map, end_to)); + } + for (i = 0; i < addresses_from.length; ++i) { + address_from = addresses_from[i]; + if (i >= addresses_to.length) + return H.ioore(addresses_to, i); + address_to = addresses_to[i]; + strands = F._join_strands_with_crossover(F._strand_with_end_address(strands, address_from, true), F._strand_with_end_address(strands, address_to, false), strands, true); + } + return strands; + }, + _strand_with_end_address: function(strands, address, end_is_3p) { + var t1, t2, t3, t4; + for (t1 = J.get$iterator$ax(strands._list), t2 = !end_is_3p; t1.moveNext$0();) { + t3 = t1.get$current(t1); + if (end_is_3p) { + t4 = t3.__address_3p; + t4 = (t4 == null ? t3.__address_3p = E.Strand.prototype.get$address_3p.call(t3) : t4).$eq(0, address); + } else + t4 = false; + if (t4) + return t3; + if (t2) { + t4 = t3.__address_5p; + t4 = (t4 == null ? t3.__address_5p = E.Strand.prototype.get$address_5p.call(t3) : t4).$eq(0, address); + } else + t4 = false; + if (t4) + return t3; + } + return null; + }, + find_end_pairs_to_connect: function(design, selected_ends) { + var t4, _i, t5, end, ends_by_group, helix_idx, group_name, t6, end_pairs_to_connect, helices_view_order_inverse, ends_in_group, t7, + t1 = type$.legacy_DNAEnd, + t2 = type$.legacy_Domain, + t3 = P.LinkedHashMap_LinkedHashMap$_empty(t1, t2); + for (t4 = selected_ends.length, _i = 0; t5 = selected_ends.length, _i < t5; selected_ends.length === t4 || (0, H.throwConcurrentModificationError)(selected_ends), ++_i) { + end = selected_ends[_i]; + t5 = design.__end_to_domain; + if (t5 == null) { + t5 = N.Design.prototype.get$end_to_domain.call(design); + design.set$__end_to_domain(t5); + } + t3.$indexSet(0, end, J.$index$asx(t5._map$_map, end)); + } + ends_by_group = P.LinkedHashMap_LinkedHashMap$_empty(type$.legacy_String, type$.legacy_List_legacy_DNAEnd); + for (t4 = type$.JSArray_legacy_DNAEnd, _i = 0; _i < selected_ends.length; selected_ends.length === t5 || (0, H.throwConcurrentModificationError)(selected_ends), ++_i) { + end = selected_ends[_i]; + helix_idx = t3.$index(0, end).helix; + group_name = J.$index$asx(design.helices._map$_map, helix_idx).group; + if (!ends_by_group.containsKey$1(0, group_name)) + ends_by_group.$indexSet(0, group_name, H.setRuntimeTypeInfo([], t4)); + t6 = ends_by_group.$index(0, group_name); + (t6 && C.JSArray_methods).add$1(t6, end); + } + end_pairs_to_connect = H.setRuntimeTypeInfo([], type$.JSArray_legacy_Tuple2_of_legacy_DNAEnd_and_legacy_DNAEnd); + for (t3 = design.groups, t4 = J.get$iterator$ax(t3.get$keys(t3)); t4.moveNext$0();) { + t5 = t4.get$current(t4); + t6 = J.$index$asx(t3._map$_map, t5); + helices_view_order_inverse = t6.__helices_view_order_inverse; + if (helices_view_order_inverse == null) { + helices_view_order_inverse = O.HelixGroup.prototype.get$helices_view_order_inverse.call(t6); + t6.set$__helices_view_order_inverse(helices_view_order_inverse); + } + ends_in_group = ends_by_group.$index(0, t5); + t5 = P.LinkedHashMap_LinkedHashMap$_empty(t1, t2); + for (t6 = ends_in_group.length, _i = 0; _i < ends_in_group.length; ends_in_group.length === t6 || (0, H.throwConcurrentModificationError)(ends_in_group), ++_i) { + end = ends_in_group[_i]; + t7 = design.__end_to_domain; + if (t7 == null) { + t7 = N.Design.prototype.get$end_to_domain.call(design); + design.set$__end_to_domain(t7); + } + t5.$indexSet(0, end, J.$index$asx(t7._map$_map, end)); + } + C.JSArray_methods.addAll$1(end_pairs_to_connect, F.find_end_pairs_to_connect_in_group(ends_in_group, t5, helices_view_order_inverse)); + } + return end_pairs_to_connect; + }, + find_end_pairs_to_connect_in_group: function(ends, domains_by_end, helices_view_order_inverse) { + var ends_by_offset, t1, t2, _i, end, t3, t4, t5, end_pairs, already_chosen_ends, ends_with_offset, i, end1, end2; + (ends && C.JSArray_methods).sort$1(ends, new F.find_end_pairs_to_connect_in_group_closure(domains_by_end, helices_view_order_inverse)); + ends_by_offset = P.LinkedHashMap_LinkedHashMap$_empty(type$.legacy_int, type$.legacy_List_legacy_DNAEnd); + for (t1 = ends.length, t2 = type$.JSArray_legacy_DNAEnd, _i = 0; _i < ends.length; ends.length === t1 || (0, H.throwConcurrentModificationError)(ends), ++_i) { + end = ends[_i]; + t3 = end.is_start; + t4 = end.offset; + if (t3) + t5 = t4; + else { + if (typeof t4 !== "number") + return t4.$sub(); + t5 = t4 - 1; + } + if (!ends_by_offset.containsKey$1(0, t5)) { + if (t3) + t5 = t4; + else { + if (typeof t4 !== "number") + return t4.$sub(); + t5 = t4 - 1; + } + ends_by_offset.$indexSet(0, t5, H.setRuntimeTypeInfo([], t2)); + } + if (t3) + t3 = t4; + else { + if (typeof t4 !== "number") + return t4.$sub(); + t3 = t4 - 1; + } + t3 = ends_by_offset.$index(0, t3); + (t3 && C.JSArray_methods).add$1(t3, end); + } + end_pairs = H.setRuntimeTypeInfo([], type$.JSArray_legacy_Tuple2_of_legacy_DNAEnd_and_legacy_DNAEnd); + for (t1 = ends_by_offset.get$keys(ends_by_offset), t1 = t1.get$iterator(t1), t2 = type$.Tuple2_of_legacy_DNAEnd_and_legacy_DNAEnd, t3 = type$.legacy_DNAEnd; t1.moveNext$0();) { + already_chosen_ends = P.LinkedHashSet_LinkedHashSet$_empty(t3); + ends_with_offset = ends_by_offset.$index(0, t1.get$current(t1)); + for (i = 0; i < ends_with_offset.length; ++i) { + end1 = ends_with_offset[i]; + if (already_chosen_ends.contains$1(0, end1)) + continue; + end2 = F.find_paired_end(end1, i + 1, ends_with_offset, already_chosen_ends, domains_by_end); + if (end2 != null) { + C.JSArray_methods.add$1(end_pairs, new S.Tuple2(end1, end2, t2)); + already_chosen_ends.add$1(0, end1); + already_chosen_ends.add$1(0, end2); + } + } + } + return end_pairs; + }, + find_paired_end: function(end1, starting_index, ends_with_offset, already_chosen_ends, domains_by_end) { + var i, end2, domain2, + domain1 = domains_by_end.$index(0, end1); + for (i = starting_index; i < ends_with_offset.length; ++i) { + end2 = ends_with_offset[i]; + if (!already_chosen_ends.contains$1(0, end2)) { + domain2 = domains_by_end.$index(0, end2); + if (end1.is_5p !== end2.is_5p && domain1.forward !== domain2.forward && domain1.helix !== domain2.helix) + return end2; + } + } + return null; + }, + join_strands_by_crossover_reducer: function(strands, state, action) { + var end_first_click, end_second_click, first_clicked_is_3p, end_3p, end_5p, t1, t2, t3; + type$.legacy_BuiltList_legacy_Strand._as(strands); + type$.legacy_AppState._as(state); + type$.legacy_JoinStrandsByCrossover._as(action); + end_first_click = action.dna_end_first_click; + end_second_click = action.dna_end_second_click; + first_clicked_is_3p = end_first_click.get$is_3p(); + end_3p = first_clicked_is_3p ? end_first_click : end_second_click; + end_5p = first_clicked_is_3p ? end_second_click : end_first_click; + t1 = state.design; + t2 = t1.get$substrand_to_strand(); + t3 = J.$index$asx(t1.get$end_to_domain()._map$_map, end_3p); + t3 = J.$index$asx(t2._map$_map, t3); + t2 = t1.get$substrand_to_strand(); + t1 = J.$index$asx(t1.get$end_to_domain()._map$_map, end_5p); + return F._join_strands_with_crossover(t3, J.$index$asx(t2._map$_map, t1), strands, first_clicked_is_3p); + }, + _join_strands_with_crossover: function(strand_3p, strand_5p, strands, first_clicked_is_3p) { + var t1, t2, t3, strand_idx, strands_mutable, substrands_3p, t4, substrands_5p, t5, last_idx_3p, last_domain_3p, first_domain_5p, new_strand; + if (J.$eq$(strand_3p, strand_5p)) { + strands.toString; + t1 = strands.$ti; + t2 = t1._precomputed1; + t3 = strands._list; + strand_idx = J.indexOf$2$asx(t3, t2._as(strand_3p), 0); + strands_mutable = new Q.CopyOnWriteList(true, t3, t1._eval$1("CopyOnWriteList<1>")); + t2 = t2._as(strand_3p.rebuild$1(new F._join_strands_with_crossover_closure()).initialize$0(0)); + strands_mutable._copy_on_write_list$_maybeCopyBeforeWrite$0(); + J.$indexSet$ax(strands_mutable._copy_on_write_list$_list, strand_idx, t2); + return D.BuiltList_BuiltList$of(strands_mutable, type$.legacy_Strand); + } + t1 = strand_3p.substrands; + t2 = t1._list; + t1 = H._instanceType(t1); + substrands_3p = new Q.CopyOnWriteList(true, t2, t1._eval$1("CopyOnWriteList<1>")); + t3 = strand_5p.substrands; + t4 = t3._list; + t3 = H._instanceType(t3); + substrands_5p = new Q.CopyOnWriteList(true, t4, t3._eval$1("CopyOnWriteList<1>")); + t5 = J.get$length$asx(t2); + if (typeof t5 !== "number") + return t5.$sub(); + last_idx_3p = t5 - 1; + t5 = type$.legacy_Domain; + last_domain_3p = t5._as(J.$index$asx(t2, last_idx_3p)); + first_domain_5p = t5._as(J.$index$asx(t4, 0)); + last_domain_3p = last_domain_3p.rebuild$1(new F._join_strands_with_crossover_closure0()); + first_domain_5p = first_domain_5p.rebuild$1(new F._join_strands_with_crossover_closure1(strand_5p)); + t1._precomputed1._as(last_domain_3p); + substrands_3p._copy_on_write_list$_maybeCopyBeforeWrite$0(); + J.$indexSet$ax(substrands_3p._copy_on_write_list$_list, last_idx_3p, last_domain_3p); + t3._precomputed1._as(first_domain_5p); + substrands_5p._copy_on_write_list$_maybeCopyBeforeWrite$0(); + J.$indexSet$ax(substrands_5p._copy_on_write_list$_list, 0, first_domain_5p); + t1._eval$1("List<1>")._as(substrands_5p); + new_strand = F.join_two_strands_with_substrands(strand_3p, strand_5p, J.$add$ansx(substrands_3p._copy_on_write_list$_list, substrands_5p), first_clicked_is_3p); + t1 = type$.JSArray_legacy_Strand; + return F.swap_old_strands_for_new(strands, H.setRuntimeTypeInfo([strand_3p, strand_5p], t1), H.setRuntimeTypeInfo([new_strand], t1)); + }, + join_two_strands_with_substrands: function(strand_3p, strand_5p, substrands_new, properties_from_strand_3p) { + var color, idt, dna, t2, t3, t4, mods_int, t5, t6, mod_3p, t7, strand_name, _null = null, + t1 = strand_3p.is_scaffold; + if (t1 && !strand_5p.is_scaffold) + properties_from_strand_3p = true; + else if (!t1 && strand_5p.is_scaffold) + properties_from_strand_3p = false; + color = properties_from_strand_3p ? strand_3p.color : strand_5p.color; + idt = properties_from_strand_3p ? strand_3p.vendor_fields : strand_5p.vendor_fields; + if (strand_3p.get$dna_sequence() == null && strand_5p.get$dna_sequence() == null) + dna = _null; + else if (strand_3p.get$dna_sequence() != null && strand_5p.get$dna_sequence() != null) + dna = J.$add$ansx(strand_3p.get$dna_sequence(), strand_5p.get$dna_sequence()); + else if (strand_3p.get$dna_sequence() == null) + dna = C.JSString_methods.$add(C.JSString_methods.$mul("?", strand_3p.get$dna_length()), strand_5p.get$dna_sequence()); + else + dna = strand_5p.get$dna_sequence() == null ? J.$add$ansx(strand_3p.get$dna_sequence(), C.JSString_methods.$mul("?", strand_5p.get$dna_length())) : _null; + t2 = strand_3p.modifications_int; + t3 = t2._map$_map; + t4 = H._instanceType(t2); + t4 = t4._eval$1("@<1>")._bind$1(t4._rest[1]); + mods_int = new S.CopyOnWriteMap(t2._mapFactory, t3, t4._eval$1("CopyOnWriteMap<1,2>")); + for (t2 = strand_5p.modifications_int, t3 = J.get$iterator$ax(t2.get$keys(t2)), t5 = t4._rest[0], t4 = t4._rest[1]; t3.moveNext$0();) { + t6 = t3.get$current(t3); + mod_3p = J.$index$asx(t2._map$_map, t6); + t7 = strand_3p.__dna_length; + if (t7 == null) + t7 = strand_3p.__dna_length = E.Strand.prototype.get$dna_length.call(strand_3p); + if (typeof t6 !== "number") + return H.iae(t6); + t6 = t5._as(t7 + t6); + t4._as(mod_3p); + mods_int._maybeCopyBeforeWrite$0(); + J.$indexSet$ax(mods_int._copy_on_write_map$_map, t6, mod_3p); + } + strand_name = strand_3p.name; + t2 = strand_name == null; + t3 = !t2; + if (!(t3 && strand_5p.name == null)) + if (t2 && strand_5p.name != null) + strand_name = strand_5p.name; + else if (t3 && strand_5p.name != null) + strand_name = properties_from_strand_3p ? strand_name : strand_5p.name; + else + strand_name = _null; + t1 = t1 || strand_5p.is_scaffold; + return E.Strand_Strand(substrands_new, false, color, dna, t1, _null, strand_5p.modification_3p, strand_3p.modification_5p, mods_int, strand_name, idt); + }, + swap_old_strands_for_new: function(strands, strands_to_remove, strands_to_add) { + var t2, _i, strand, t3, + t1 = H._instanceType(strands), + new_strands = new Q.CopyOnWriteList(true, strands._list, t1._eval$1("CopyOnWriteList<1>")); + for (t2 = strands_to_remove.length, _i = 0; _i < strands_to_remove.length; strands_to_remove.length === t2 || (0, H.throwConcurrentModificationError)(strands_to_remove), ++_i) { + strand = strands_to_remove[_i]; + new_strands._copy_on_write_list$_maybeCopyBeforeWrite$0(); + J.remove$1$ax(new_strands._copy_on_write_list$_list, strand); + } + for (t2 = strands_to_add.length, t1 = t1._precomputed1, _i = 0; _i < strands_to_add.length; strands_to_add.length === t2 || (0, H.throwConcurrentModificationError)(strands_to_add), ++_i) { + t3 = t1._as(strands_to_add[_i]); + new_strands._copy_on_write_list$_maybeCopyBeforeWrite$0(); + J.add$1$ax(new_strands._copy_on_write_list$_list, t3); + } + return D._BuiltList$of(new_strands, type$.legacy_Strand); + }, + nick_reducer_closure: function nick_reducer_closure(t0) { + this.nick_offset = t0; + }, + nick_reducer_closure0: function nick_reducer_closure0(t0) { + this.nick_offset = t0; + }, + nick_reducer_closure1: function nick_reducer_closure1(t0) { + this.nick_offset = t0; + }, + nick_reducer_closure2: function nick_reducer_closure2(t0) { + this.nick_offset = t0; + }, + nick_reducer_closure3: function nick_reducer_closure3(t0) { + this.substrands_before = t0; + }, + nick_reducer_closure4: function nick_reducer_closure4(t0) { + this.substrands_after = t0; + }, + nick_reducer_closure5: function nick_reducer_closure5() { + }, + nick_reducer_closure6: function nick_reducer_closure6() { + }, + nick_reducer_closure7: function nick_reducer_closure7(t0, t1, t2, t3) { + var _ = this; + _.i = t0; + _.substrands_before = t1; + _.dna_length_strand_5p = t2; + _.modifications_int_strand_5p = t3; + }, + nick_reducer_closure8: function nick_reducer_closure8(t0) { + this.substrands = t0; + }, + nick_reducer_closure9: function nick_reducer_closure9(t0, t1, t2, t3) { + var _ = this; + _.i = t0; + _.substrands_before = t1; + _.dna_length_strand_5p = t2; + _.modifications_int_strand_3p = t3; + }, + ligate_reducer_closure: function ligate_reducer_closure(t0) { + this._box_0 = t0; + }, + find_end_pairs_to_connect_in_group_closure: function find_end_pairs_to_connect_in_group_closure(t0, t1) { + this.domains_by_end = t0; + this.helices_view_order_inverse = t1; + }, + _join_strands_with_crossover_closure: function _join_strands_with_crossover_closure() { + }, + _join_strands_with_crossover_closure0: function _join_strands_with_crossover_closure0() { + }, + _join_strands_with_crossover_closure1: function _join_strands_with_crossover_closure1(t0) { + this.strand_5p = t0; + }, + potential_crossover_create_reducer: function(potential_crossover, action) { + type$.legacy_PotentialCrossover._as(potential_crossover); + return type$.legacy_PotentialCrossoverCreate._as(action).potential_crossover; + }, + potential_crossover_move_reducer: function(potential_crossover, action) { + var t1, t2; + type$.legacy_PotentialCrossover._as(potential_crossover); + type$.legacy_PotentialCrossoverMove._as(action); + potential_crossover.toString; + t1 = type$.legacy_void_Function_legacy_PotentialCrossoverBuilder._as(new F.potential_crossover_move_reducer_closure(action)); + t2 = new S.PotentialCrossoverBuilder(); + t2._potential_crossover$_$v = potential_crossover; + t1.call$1(t2); + return t2.build$0(); + }, + potential_crossover_remove_reducer: function(potential_crossover, action) { + type$.legacy_PotentialCrossover._as(potential_crossover); + type$.legacy_PotentialCrossoverRemove._as(action); + return null; + }, + potential_crossover_move_reducer_closure: function potential_crossover_move_reducer_closure(t0) { + this.action = t0; + }, + SelectionRope_SelectionRope: function(toggle) { + var t1 = new F.SelectionRopeBuilder(); + type$.legacy_void_Function_legacy_SelectionRopeBuilder._as(new F.SelectionRope_SelectionRope_closure(toggle)).call$1(t1); + return t1.build$0(); + }, + Line_Line: function(p1, p2) { + var t1 = new F.LineBuilder(); + type$.legacy_void_Function_legacy_LineBuilder._as(new F.Line_Line_closure(p1, p2)).call$1(t1); + return t1.build$0(); + }, + Line_orientation: function(a, b, c) { + var t3, t4, t5, t6, val, + t1 = b.y, + t2 = a.y; + if (typeof t1 !== "number") + return t1.$sub(); + if (typeof t2 !== "number") + return H.iae(t2); + t3 = c.x; + t4 = b.x; + if (typeof t3 !== "number") + return t3.$sub(); + if (typeof t4 !== "number") + return H.iae(t4); + t5 = a.x; + if (typeof t5 !== "number") + return H.iae(t5); + t6 = c.y; + if (typeof t6 !== "number") + return t6.$sub(); + val = (t1 - t2) * (t3 - t4) - (t4 - t5) * (t6 - t1); + if (val === 0) + return C.Orientation_0; + else if (val < 0) + return C.Orientation_1; + else + return C.Orientation_2; + }, + vectors_point_same_direction: function(v1, v2) { + var t3, t4, + t1 = v1.x, + t2 = v2.x; + if (typeof t1 !== "number") + return t1.$mul(); + if (typeof t2 !== "number") + return H.iae(t2); + t3 = v1.y; + t4 = v2.y; + if (typeof t3 !== "number") + return t3.$mul(); + if (typeof t4 !== "number") + return H.iae(t4); + return t1 * t2 + t3 * t4 > 0; + }, + SelectionRope: function SelectionRope() { + }, + SelectionRope_SelectionRope_closure: function SelectionRope_SelectionRope_closure(t0) { + this.toggle = t0; + }, + Line: function Line() { + }, + Line_Line_closure: function Line_Line_closure(t0, t1) { + this.p1 = t0; + this.p2 = t1; + }, + Orientation: function Orientation(t0) { + this._selection_rope$_name = t0; + }, + _$SelectionRopeSerializer: function _$SelectionRopeSerializer() { + }, + _$LineSerializer: function _$LineSerializer() { + }, + _$SelectionRope: function _$SelectionRope(t0, t1, t2, t3) { + var _ = this; + _.toggle = t0; + _.points = t1; + _.current_point = t2; + _.is_main = t3; + _._selection_rope$__hashCode = _.__lines_without_first = _.__lines_without_last = _.__lines = null; + }, + SelectionRopeBuilder: function SelectionRopeBuilder() { + var _ = this; + _._is_main = _._current_point = _._points = _._toggle = _._selection_rope$_$v = null; + }, + _$Line: function _$Line(t0, t1) { + this.p1 = t0; + this.p2 = t1; + this._selection_rope$__hashCode = null; + }, + LineBuilder: function LineBuilder() { + this._p2 = this._p1 = this._selection_rope$_$v = null; + }, + _Line_Object_BuiltJsonSerializable: function _Line_Object_BuiltJsonSerializable() { + }, + _SelectionRope_Object_BuiltJsonSerializable: function _SelectionRope_Object_BuiltJsonSerializable() { + }, + _$EndMoving: function(backingProps) { + type$.legacy_Map_dynamic_dynamic._as(backingProps); + return backingProps == null ? F._$$EndMovingProps$JsMap$(new L.JsBackedMap({})) : F._$$EndMovingProps__$$EndMovingProps(backingProps); + }, + _$$EndMovingProps__$$EndMovingProps: function(backingMap) { + var t1, _null = null; + if (backingMap instanceof L.JsBackedMap) + return F._$$EndMovingProps$JsMap$(backingMap); + else { + t1 = type$.dynamic; + t1 = new F._$$EndMovingProps$PlainMap(P.LinkedHashMap_LinkedHashMap$_empty(t1, t1), _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null); + t1.get$$$isClassGenerated(); + t1._design_main_strand_dna_end_moving$_props = backingMap; + return t1; + } + }, + _$$EndMovingProps$JsMap$: function(backingMap) { + var _null = null, + t1 = new F._$$EndMovingProps$JsMap(new L.JsBackedMap({}), _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null); + t1.get$$$isClassGenerated(); + t1._design_main_strand_dna_end_moving$_props = backingMap == null ? new L.JsBackedMap({}) : backingMap; + return t1; + }, + ConnectedEndMoving_closure: function ConnectedEndMoving_closure() { + }, + EndMovingProps: function EndMovingProps() { + }, + EndMovingComponent: function EndMovingComponent() { + }, + $EndMovingComponentFactory_closure: function $EndMovingComponentFactory_closure() { + }, + _$$EndMovingProps: function _$$EndMovingProps() { + }, + _$$EndMovingProps$PlainMap: function _$$EndMovingProps$PlainMap(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12) { + var _ = this; + _._design_main_strand_dna_end_moving$_props = t0; + _.EndMovingProps_dna_end = t1; + _.EndMovingProps_helix = t2; + _.EndMovingProps_color = t3; + _.EndMovingProps_forward = t4; + _.EndMovingProps_is_5p = t5; + _.EndMovingProps_allowable = t6; + _.EndMovingProps_current_offset = t7; + _.EndMovingProps_render = t8; + _.EndMovingProps_svg_position_y = t9; + _.EndMovingProps_transform = t10; + _.componentFactory = null; + _.UbiquitousDomPropsMixin__aria = t11; + _.UbiquitousDomPropsMixin__dom = t12; + }, + _$$EndMovingProps$JsMap: function _$$EndMovingProps$JsMap(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12) { + var _ = this; + _._design_main_strand_dna_end_moving$_props = t0; + _.EndMovingProps_dna_end = t1; + _.EndMovingProps_helix = t2; + _.EndMovingProps_color = t3; + _.EndMovingProps_forward = t4; + _.EndMovingProps_is_5p = t5; + _.EndMovingProps_allowable = t6; + _.EndMovingProps_current_offset = t7; + _.EndMovingProps_render = t8; + _.EndMovingProps_svg_position_y = t9; + _.EndMovingProps_transform = t10; + _.componentFactory = null; + _.UbiquitousDomPropsMixin__aria = t11; + _.UbiquitousDomPropsMixin__dom = t12; + }, + _$EndMovingComponent: function _$EndMovingComponent(t0) { + var _ = this; + _._design_main_strand_dna_end_moving$_cachedTypedProps = null; + _.DisposableManagerProxy__disposableProxy = t0; + _.jsThis = _.state = _.props = null; + }, + $EndMovingProps: function $EndMovingProps() { + }, + __$$EndMovingProps_UiProps_EndMovingProps: function __$$EndMovingProps_UiProps_EndMovingProps() { + }, + __$$EndMovingProps_UiProps_EndMovingProps_$EndMovingProps: function __$$EndMovingProps_UiProps_EndMovingProps_$EndMovingProps() { + }, + _$DesignMainStrandsMoving: function(backingProps) { + type$.legacy_Map_dynamic_dynamic._as(backingProps); + return backingProps == null ? F._$$DesignMainStrandsMovingProps$JsMap$(new L.JsBackedMap({})) : F._$$DesignMainStrandsMovingProps__$$DesignMainStrandsMovingProps(backingProps); + }, + _$$DesignMainStrandsMovingProps__$$DesignMainStrandsMovingProps: function(backingMap) { + var t1, _null = null; + if (backingMap instanceof L.JsBackedMap) + return F._$$DesignMainStrandsMovingProps$JsMap$(backingMap); + else { + t1 = type$.dynamic; + t1 = new F._$$DesignMainStrandsMovingProps$PlainMap(P.LinkedHashMap_LinkedHashMap$_empty(t1, t1), _null, _null, _null, _null, _null, _null, _null, _null, _null, _null); + t1.get$$$isClassGenerated(); + t1._design_main_strands_moving$_props = backingMap; + return t1; + } + }, + _$$DesignMainStrandsMovingProps$JsMap$: function(backingMap) { + var _null = null, + t1 = new F._$$DesignMainStrandsMovingProps$JsMap(new L.JsBackedMap({}), _null, _null, _null, _null, _null, _null, _null, _null, _null, _null); + t1.get$$$isClassGenerated(); + t1._design_main_strands_moving$_props = backingMap == null ? new L.JsBackedMap({}) : backingMap; + return t1; + }, + ConnectedDesignMainStrandsMoving_closure: function ConnectedDesignMainStrandsMoving_closure() { + }, + DesignMainStrandsMovingProps: function DesignMainStrandsMovingProps() { + }, + DesignMainStrandsMovingComponent: function DesignMainStrandsMovingComponent() { + }, + $DesignMainStrandsMovingComponentFactory_closure: function $DesignMainStrandsMovingComponentFactory_closure() { + }, + _$$DesignMainStrandsMovingProps: function _$$DesignMainStrandsMovingProps() { + }, + _$$DesignMainStrandsMovingProps$PlainMap: function _$$DesignMainStrandsMovingProps$PlainMap(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10) { + var _ = this; + _._design_main_strands_moving$_props = t0; + _.DesignMainStrandsMovingProps_strands_move = t1; + _.DesignMainStrandsMovingProps_original_helices_view_order_inverse = t2; + _.DesignMainStrandsMovingProps_current_group = t3; + _.DesignMainStrandsMovingProps_helices = t4; + _.DesignMainStrandsMovingProps_groups = t5; + _.DesignMainStrandsMovingProps_side_selected_helix_idxs = t6; + _.DesignMainStrandsMovingProps_geometry = t7; + _.DesignMainStrandsMovingProps_helix_idx_to_svg_position_map = t8; + _.componentFactory = null; + _.UbiquitousDomPropsMixin__aria = t9; + _.UbiquitousDomPropsMixin__dom = t10; + }, + _$$DesignMainStrandsMovingProps$JsMap: function _$$DesignMainStrandsMovingProps$JsMap(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10) { + var _ = this; + _._design_main_strands_moving$_props = t0; + _.DesignMainStrandsMovingProps_strands_move = t1; + _.DesignMainStrandsMovingProps_original_helices_view_order_inverse = t2; + _.DesignMainStrandsMovingProps_current_group = t3; + _.DesignMainStrandsMovingProps_helices = t4; + _.DesignMainStrandsMovingProps_groups = t5; + _.DesignMainStrandsMovingProps_side_selected_helix_idxs = t6; + _.DesignMainStrandsMovingProps_geometry = t7; + _.DesignMainStrandsMovingProps_helix_idx_to_svg_position_map = t8; + _.componentFactory = null; + _.UbiquitousDomPropsMixin__aria = t9; + _.UbiquitousDomPropsMixin__dom = t10; + }, + _$DesignMainStrandsMovingComponent: function _$DesignMainStrandsMovingComponent(t0) { + var _ = this; + _._design_main_strands_moving$_cachedTypedProps = null; + _.DisposableManagerProxy__disposableProxy = t0; + _.jsThis = _.state = _.props = null; + }, + $DesignMainStrandsMovingProps: function $DesignMainStrandsMovingProps() { + }, + __$$DesignMainStrandsMovingProps_UiProps_DesignMainStrandsMovingProps: function __$$DesignMainStrandsMovingProps_UiProps_DesignMainStrandsMovingProps() { + }, + __$$DesignMainStrandsMovingProps_UiProps_DesignMainStrandsMovingProps_$DesignMainStrandsMovingProps: function __$$DesignMainStrandsMovingProps_UiProps_DesignMainStrandsMovingProps_$DesignMainStrandsMovingProps() { + }, + group_remove_middleware: function(store, action, next) { + var t1, t2, t3; + type$.legacy_Store_legacy_AppState._as(store); + type$.legacy_dynamic_Function_dynamic._as(next); + if (action instanceof U.GroupRemove) { + t1 = store.get$state(store).design.get$helix_idxs_in_group(); + t2 = action.name; + t1 = J.$index$asx(t1._map$_map, t2)._list; + t3 = J.getInterceptor$asx(t1); + if (t3.get$isNotEmpty(t1)) + if (!H.boolConversionCheck(C.Window_methods.confirm$1(window, 'Group "' + H.S(t2) + '" has helices in it. If you delete the group, the helices will be removed, including any portions of strands on them.\n\nAre you sure you wish to remove group "' + H.S(t2) + '"?'))) + return; + t2 = H.setRuntimeTypeInfo([], type$.JSArray_legacy_UndoableAction); + for (t1 = t3.get$iterator(t1); t1.moveNext$0();) + t2.push(U.HelixRemove_HelixRemove(t1.get$current(t1))); + C.JSArray_methods.add$1(t2, action); + store.dispatch$1(U.BatchAction_BatchAction(t2, "remove group")); + } else + next.call$1(action); + }, + main: function() { + var t1 = type$.dynamic; + t1 = new G.App(M.createContext(t1), M.createContext(t1), M.createContext(t1), M.createContext(t1), M.createContext(t1), M.createContext(t1), P.LinkedHashSet_LinkedHashSet$_empty(type$.legacy_int)); + $.app = t1; + t1.start$0(0); + } + }; + var holders = [C, H, J, P, W, D, B, A, L, X, O, R, T, Q, E, K, Y, S, M, U, Z, V, G, N, F]; + hunkHelpers.setFunctionNamesIfNecessary(holders); + var $ = {}; + H.JS_CONST.prototype = {}; + J.Interceptor.prototype = { + $eq: function(receiver, other) { + return receiver === other; + }, + get$hashCode: function(receiver) { + return H.Primitives_objectHashCode(receiver); + }, + toString$0: function(receiver) { + return "Instance of '" + H.S(H.Primitives_objectTypeName(receiver)) + "'"; + }, + noSuchMethod$1: function(receiver, invocation) { + type$.Invocation._as(invocation); + throw H.wrapException(P.NoSuchMethodError$(receiver, invocation.get$memberName(), invocation.get$positionalArguments(), invocation.get$namedArguments())); + }, + get$runtimeType: function(receiver) { + return H.getRuntimeType(receiver); + } + }; + J.JSBool.prototype = { + toString$0: function(receiver) { + return String(receiver); + }, + $or: function(receiver, other) { + return other || receiver; + }, + get$hashCode: function(receiver) { + return receiver ? 519018 : 218159; + }, + get$runtimeType: function(receiver) { + return C.Type_bool_lhE; + }, + $isbool: 1 + }; + J.JSNull.prototype = { + $eq: function(receiver, other) { + return null == other; + }, + toString$0: function(receiver) { + return "null"; + }, + get$hashCode: function(receiver) { + return 0; + }, + get$runtimeType: function(receiver) { + return C.Type_Null_Yyn; + }, + noSuchMethod$1: function(receiver, invocation) { + return this.super$Interceptor$noSuchMethod(receiver, type$.Invocation._as(invocation)); + }, + $isNull: 1 + }; + J.JavaScriptObject.prototype = { + get$hashCode: function(receiver) { + return 0; + }, + get$runtimeType: function(receiver) { + return C.Type_JSObject_8k0; + }, + toString$0: function(receiver) { + return String(receiver); + }, + $isJSObject: 1, + $isJsConnectOptions: 1, + $isJsMap: 1, + $isJsRef: 1, + $isReactClass: 1, + $isReactElement: 1, + $isReactComponent: 1, + $isReactContext: 1, + $isJsMap: 1, + $isReactErrorInfo: 1, + $isSyntheticFormEvent: 1, + $isSyntheticMouseEvent: 1, + $isSyntheticPointerEvent: 1, + $isJSColor: 1, + send$1: function(receiver, p0) { + return receiver.send(p0); + }, + set$areOwnPropsEqual: function(obj, v) { + return obj.areOwnPropsEqual = v; + }, + set$areStatePropsEqual: function(obj, v) { + return obj.areStatePropsEqual = v; + }, + set$areMergedPropsEqual: function(obj, v) { + return obj.areMergedPropsEqual = v; + }, + get$context: function(obj) { + return obj.context; + }, + get$current: function(obj) { + return obj.current; + }, + get$defaultProps: function(obj) { + return obj.defaultProps; + }, + set$displayName: function(obj, v) { + return obj.displayName = v; + }, + get$dartComponentVersion: function(obj) { + return obj.dartComponentVersion; + }, + set$dartComponentVersion: function(obj, v) { + return obj.dartComponentVersion = v; + }, + get$type: function(obj) { + return obj.type; + }, + get$props: function(obj) { + return obj.props; + }, + get$children: function(obj) { + return obj.children; + }, + get$dartComponent: function(obj) { + return obj.dartComponent; + }, + get$state: function(obj) { + return obj.state; + }, + set$state: function(obj, v) { + return obj.state = v; + }, + setState$1: function(receiver, p0) { + return receiver.setState(p0); + }, + get$Provider: function(obj) { + return obj.Provider; + }, + get$Consumer: function(obj) { + return obj.Consumer; + }, + get$componentStack: function(obj) { + return obj.componentStack; + }, + get$dartStackTrace: function(obj) { + return obj.dartStackTrace; + }, + set$dartStackTrace: function(obj, v) { + return obj.dartStackTrace = v; + }, + get$nativeEvent: function(obj) { + return obj.nativeEvent; + }, + get$target: function(obj) { + return obj.target; + }, + stopPropagation$0: function(receiver) { + return receiver.stopPropagation(); + }, + preventDefault$0: function(receiver) { + return receiver.preventDefault(); + }, + get$ctrlKey: function(obj) { + return obj.ctrlKey; + }, + get$metaKey: function(obj) { + return obj.metaKey; + }, + get$shiftKey: function(obj) { + return obj.shiftKey; + }, + get$button: function(obj) { + return obj.button; + }, + get$hex: function(obj) { + return obj.hex; + } + }; + J.PlainJavaScriptObject.prototype = {}; + J.UnknownJavaScriptObject.prototype = {}; + J.JavaScriptFunction.prototype = { + toString$0: function(receiver) { + var dartClosure = receiver[$.$get$DART_CLOSURE_PROPERTY_NAME()]; + if (dartClosure == null) + return this.super$JavaScriptObject$toString(receiver); + return "JavaScript function for " + H.S(J.toString$0$(dartClosure)); + }, + $isFunction: 1 + }; + J.JSArray.prototype = { + cast$1$0: function(receiver, $R) { + return new H.CastList(receiver, H._arrayInstanceType(receiver)._eval$1("@<1>")._bind$1($R)._eval$1("CastList<1,2>")); + }, + add$1: function(receiver, value) { + H._arrayInstanceType(receiver)._precomputed1._as(value); + if (!!receiver.fixed$length) + H.throwExpression(P.UnsupportedError$("add")); + receiver.push(value); + }, + removeAt$1: function(receiver, index) { + if (!!receiver.fixed$length) + H.throwExpression(P.UnsupportedError$("removeAt")); + if (index < 0 || index >= receiver.length) + throw H.wrapException(P.RangeError$value(index, null, null)); + return receiver.splice(index, 1)[0]; + }, + insert$2: function(receiver, index, value) { + H._arrayInstanceType(receiver)._precomputed1._as(value); + if (!!receiver.fixed$length) + H.throwExpression(P.UnsupportedError$("insert")); + if (index < 0 || index > receiver.length) + throw H.wrapException(P.RangeError$value(index, null, null)); + receiver.splice(index, 0, value); + }, + insertAll$2: function(receiver, index, iterable) { + var insertionLength, t1, end; + H._arrayInstanceType(receiver)._eval$1("Iterable<1>")._as(iterable); + if (!!receiver.fixed$length) + H.throwExpression(P.UnsupportedError$("insertAll")); + P.RangeError_checkValueInInterval(index, 0, receiver.length, "index"); + if (!type$.EfficientLengthIterable_dynamic._is(iterable)) + iterable = J.toList$0$ax(iterable); + insertionLength = J.get$length$asx(iterable); + t1 = receiver.length; + if (typeof insertionLength !== "number") + return H.iae(insertionLength); + receiver.length = t1 + insertionLength; + end = index + insertionLength; + this.setRange$4(receiver, end, receiver.length, receiver, index); + this.setRange$3(receiver, index, end, iterable); + }, + setAll$2: function(receiver, index, iterable) { + var t1, t2, index0; + H._arrayInstanceType(receiver)._eval$1("Iterable<1>")._as(iterable); + if (!!receiver.immutable$list) + H.throwExpression(P.UnsupportedError$("setAll")); + P.RangeError_checkValueInInterval(index, 0, receiver.length, "index"); + for (t1 = J.get$iterator$ax(iterable._source), t2 = H._instanceType(iterable), t2 = t2._eval$1("@<1>")._bind$1(t2._rest[1])._rest[1]; t1.moveNext$0(); index = index0) { + index0 = index + 1; + this.$indexSet(receiver, index, t2._as(t1.get$current(t1))); + } + }, + removeLast$0: function(receiver) { + if (!!receiver.fixed$length) + H.throwExpression(P.UnsupportedError$("removeLast")); + if (receiver.length === 0) + throw H.wrapException(H.diagnoseIndexError(receiver, -1)); + return receiver.pop(); + }, + remove$1: function(receiver, element) { + var i; + if (!!receiver.fixed$length) + H.throwExpression(P.UnsupportedError$("remove")); + for (i = 0; i < receiver.length; ++i) + if (J.$eq$(receiver[i], element)) { + receiver.splice(i, 1); + return true; + } + return false; + }, + removeWhere$1: function(receiver, test) { + H._arrayInstanceType(receiver)._eval$1("bool(1)")._as(test); + if (!!receiver.fixed$length) + H.throwExpression(P.UnsupportedError$("removeWhere")); + this._removeWhere$2(receiver, test, true); + }, + _removeWhere$2: function(receiver, test, removeMatching) { + var retained, end, i, element, t1; + H._arrayInstanceType(receiver)._eval$1("bool(1)")._as(test); + retained = []; + end = receiver.length; + for (i = 0; i < end; ++i) { + element = receiver[i]; + if (!H.boolConversionCheck(test.call$1(element))) + retained.push(element); + if (receiver.length !== end) + throw H.wrapException(P.ConcurrentModificationError$(receiver)); + } + t1 = retained.length; + if (t1 === end) + return; + this.set$length(receiver, t1); + for (i = 0; i < retained.length; ++i) + receiver[i] = retained[i]; + }, + where$1: function(receiver, f) { + var t1 = H._arrayInstanceType(receiver); + return new H.WhereIterable(receiver, t1._eval$1("bool(1)")._as(f), t1._eval$1("WhereIterable<1>")); + }, + expand$1$1: function(receiver, f, $T) { + var t1 = H._arrayInstanceType(receiver); + return new H.ExpandIterable(receiver, t1._bind$1($T)._eval$1("Iterable<1>(2)")._as(f), t1._eval$1("@<1>")._bind$1($T)._eval$1("ExpandIterable<1,2>")); + }, + addAll$1: function(receiver, collection) { + var t1; + H._arrayInstanceType(receiver)._eval$1("Iterable<1>")._as(collection); + if (!!receiver.fixed$length) + H.throwExpression(P.UnsupportedError$("addAll")); + if (Array.isArray(collection)) { + this._addAllFromArray$1(receiver, collection); + return; + } + for (t1 = J.get$iterator$ax(collection); t1.moveNext$0();) + receiver.push(t1.get$current(t1)); + }, + _addAllFromArray$1: function(receiver, array) { + var len, i; + type$.JSArray_dynamic._as(array); + len = array.length; + if (len === 0) + return; + if (receiver === array) + throw H.wrapException(P.ConcurrentModificationError$(receiver)); + for (i = 0; i < len; ++i) + receiver.push(array[i]); + }, + clear$0: function(receiver) { + this.set$length(receiver, 0); + }, + forEach$1: function(receiver, f) { + var end, i; + H._arrayInstanceType(receiver)._eval$1("~(1)")._as(f); + end = receiver.length; + for (i = 0; i < end; ++i) { + f.call$1(receiver[i]); + if (receiver.length !== end) + throw H.wrapException(P.ConcurrentModificationError$(receiver)); + } + }, + map$1$1: function(receiver, f, $T) { + var t1 = H._arrayInstanceType(receiver); + return new H.MappedListIterable(receiver, t1._bind$1($T)._eval$1("1(2)")._as(f), t1._eval$1("@<1>")._bind$1($T)._eval$1("MappedListIterable<1,2>")); + }, + map$1: function($receiver, f) { + return this.map$1$1($receiver, f, type$.dynamic); + }, + join$1: function(receiver, separator) { + var i, + list = P.List_List$filled(receiver.length, "", false, type$.String); + for (i = 0; i < receiver.length; ++i) + this.$indexSet(list, i, H.S(receiver[i])); + return list.join(separator); + }, + join$0: function($receiver) { + return this.join$1($receiver, ""); + }, + take$1: function(receiver, n) { + return H.SubListIterable$(receiver, 0, H.checkNotNullable(n, "count", type$.int), H._arrayInstanceType(receiver)._precomputed1); + }, + skip$1: function(receiver, n) { + return H.SubListIterable$(receiver, n, null, H._arrayInstanceType(receiver)._precomputed1); + }, + reduce$1: function(receiver, combine) { + var $length, value, i; + H._arrayInstanceType(receiver)._eval$1("1(1,1)")._as(combine); + $length = receiver.length; + if ($length === 0) + throw H.wrapException(H.IterableElementError_noElement()); + if (0 >= $length) + return H.ioore(receiver, 0); + value = receiver[0]; + for (i = 1; i < $length; ++i) { + value = combine.call$2(value, receiver[i]); + if ($length !== receiver.length) + throw H.wrapException(P.ConcurrentModificationError$(receiver)); + } + return value; + }, + fold$1$2: function(receiver, initialValue, combine, $T) { + var $length, value, i; + $T._as(initialValue); + H._arrayInstanceType(receiver)._bind$1($T)._eval$1("1(1,2)")._as(combine); + $length = receiver.length; + for (value = initialValue, i = 0; i < $length; ++i) { + value = combine.call$2(value, receiver[i]); + if (receiver.length !== $length) + throw H.wrapException(P.ConcurrentModificationError$(receiver)); + } + return value; + }, + firstWhere$2$orElse: function(receiver, test, orElse) { + var end, i, element, + t1 = H._arrayInstanceType(receiver); + t1._eval$1("bool(1)")._as(test); + t1._eval$1("1()?")._as(orElse); + end = receiver.length; + for (i = 0; i < end; ++i) { + element = receiver[i]; + if (H.boolConversionCheck(test.call$1(element))) + return element; + if (receiver.length !== end) + throw H.wrapException(P.ConcurrentModificationError$(receiver)); + } + if (orElse != null) + return orElse.call$0(); + throw H.wrapException(H.IterableElementError_noElement()); + }, + elementAt$1: function(receiver, index) { + return this.$index(receiver, index); + }, + sublist$2: function(receiver, start, end) { + if (start < 0 || start > receiver.length) + throw H.wrapException(P.RangeError$range(start, 0, receiver.length, "start", null)); + if (end == null) + end = receiver.length; + else if (end < start || end > receiver.length) + throw H.wrapException(P.RangeError$range(end, start, receiver.length, "end", null)); + if (start === end) + return H.setRuntimeTypeInfo([], H._arrayInstanceType(receiver)); + return H.setRuntimeTypeInfo(receiver.slice(start, end), H._arrayInstanceType(receiver)); + }, + sublist$1: function($receiver, start) { + return this.sublist$2($receiver, start, null); + }, + getRange$2: function(receiver, start, end) { + P.RangeError_checkValidRange(start, end, receiver.length); + return H.SubListIterable$(receiver, start, end, H._arrayInstanceType(receiver)._precomputed1); + }, + get$first: function(receiver) { + if (receiver.length > 0) + return receiver[0]; + throw H.wrapException(H.IterableElementError_noElement()); + }, + get$last: function(receiver) { + var t1 = receiver.length; + if (t1 > 0) + return receiver[t1 - 1]; + throw H.wrapException(H.IterableElementError_noElement()); + }, + get$single: function(receiver) { + var t1 = receiver.length; + if (t1 === 1) { + if (0 >= t1) + return H.ioore(receiver, 0); + return receiver[0]; + } + if (t1 === 0) + throw H.wrapException(H.IterableElementError_noElement()); + throw H.wrapException(H.IterableElementError_tooMany()); + }, + removeRange$2: function(receiver, start, end) { + if (!!receiver.fixed$length) + H.throwExpression(P.UnsupportedError$("removeRange")); + P.RangeError_checkValidRange(start, end, receiver.length); + if (typeof end !== "number") + return end.$sub(); + if (typeof start !== "number") + return H.iae(start); + receiver.splice(start, end - start); + }, + setRange$4: function(receiver, start, end, iterable, skipCount) { + var $length, otherList, otherStart, t1, t2, i; + H._asIntS(end); + H._arrayInstanceType(receiver)._eval$1("Iterable<1>")._as(iterable); + if (!!receiver.immutable$list) + H.throwExpression(P.UnsupportedError$("setRange")); + P.RangeError_checkValidRange(start, end, receiver.length); + if (typeof end !== "number") + return end.$sub(); + $length = end - start; + if ($length === 0) + return; + P.RangeError_checkNotNegative(skipCount, "skipCount"); + if (type$.List_dynamic._is(iterable)) { + otherList = iterable; + otherStart = skipCount; + } else { + otherList = J.skip$1$ax(iterable, skipCount).toList$1$growable(0, false); + otherStart = 0; + } + t1 = J.getInterceptor$asx(otherList); + t2 = t1.get$length(otherList); + if (typeof t2 !== "number") + return H.iae(t2); + if (otherStart + $length > t2) + throw H.wrapException(H.IterableElementError_tooFew()); + if (otherStart < start) + for (i = $length - 1; i >= 0; --i) + receiver[start + i] = t1.$index(otherList, otherStart + i); + else + for (i = 0; i < $length; ++i) + receiver[start + i] = t1.$index(otherList, otherStart + i); + }, + setRange$3: function($receiver, start, end, iterable) { + return this.setRange$4($receiver, start, end, iterable, 0); + }, + fillRange$3: function(receiver, start, end, fillValue) { + var i; + H._arrayInstanceType(receiver)._eval$1("1?")._as(fillValue); + if (!!receiver.immutable$list) + H.throwExpression(P.UnsupportedError$("fill range")); + P.RangeError_checkValidRange(start, end, receiver.length); + for (i = start; i < end; ++i) + receiver[i] = fillValue; + }, + replaceRange$3: function(receiver, start, end, replacement) { + var removeLength, insertLength, t1, insertEnd, delta, newLength, _this = this; + H._arrayInstanceType(receiver)._eval$1("Iterable<1>")._as(replacement); + if (!!receiver.fixed$length) + H.throwExpression(P.UnsupportedError$("replaceRange")); + P.RangeError_checkValidRange(start, end, receiver.length); + if (!type$.EfficientLengthIterable_dynamic._is(replacement)) + replacement = J.toList$0$ax(replacement); + if (typeof start !== "number") + return H.iae(start); + removeLength = end - start; + insertLength = J.get$length$asx(replacement); + if (typeof insertLength !== "number") + return H.iae(insertLength); + t1 = receiver.length; + insertEnd = start + insertLength; + if (removeLength >= insertLength) { + delta = removeLength - insertLength; + newLength = t1 - delta; + _this.setRange$3(receiver, start, insertEnd, replacement); + if (delta !== 0) { + _this.setRange$4(receiver, insertEnd, newLength, receiver, end); + _this.set$length(receiver, newLength); + } + } else { + newLength = t1 + (insertLength - removeLength); + receiver.length = newLength; + _this.setRange$4(receiver, insertEnd, newLength, receiver, end); + _this.setRange$3(receiver, start, insertEnd, replacement); + } + }, + any$1: function(receiver, test) { + var end, i; + H._arrayInstanceType(receiver)._eval$1("bool(1)")._as(test); + end = receiver.length; + for (i = 0; i < end; ++i) { + if (H.boolConversionCheck(test.call$1(receiver[i]))) + return true; + if (receiver.length !== end) + throw H.wrapException(P.ConcurrentModificationError$(receiver)); + } + return false; + }, + every$1: function(receiver, test) { + var end, i; + H._arrayInstanceType(receiver)._eval$1("bool(1)")._as(test); + end = receiver.length; + for (i = 0; i < end; ++i) { + if (!H.boolConversionCheck(test.call$1(receiver[i]))) + return false; + if (receiver.length !== end) + throw H.wrapException(P.ConcurrentModificationError$(receiver)); + } + return true; + }, + get$reversed: function(receiver) { + return new H.ReversedListIterable(receiver, H._arrayInstanceType(receiver)._eval$1("ReversedListIterable<1>")); + }, + sort$1: function(receiver, compare) { + var t2, + t1 = H._arrayInstanceType(receiver); + t1._eval$1("int(1,1)?")._as(compare); + if (!!receiver.immutable$list) + H.throwExpression(P.UnsupportedError$("sort")); + t2 = compare == null ? J._interceptors_JSArray__compareAny$closure() : compare; + H.Sort_sort(receiver, t2, t1._precomputed1); + }, + sort$0: function($receiver) { + return this.sort$1($receiver, null); + }, + indexOf$2: function(receiver, element, start) { + var i, + $length = receiver.length; + if (start >= $length) + return -1; + for (i = start; i < $length; ++i) { + if (i >= receiver.length) + return H.ioore(receiver, i); + if (J.$eq$(receiver[i], element)) + return i; + } + return -1; + }, + indexOf$1: function($receiver, element) { + return this.indexOf$2($receiver, element, 0); + }, + contains$1: function(receiver, other) { + var i; + for (i = 0; i < receiver.length; ++i) + if (J.$eq$(receiver[i], other)) + return true; + return false; + }, + get$isEmpty: function(receiver) { + return receiver.length === 0; + }, + get$isNotEmpty: function(receiver) { + return receiver.length !== 0; + }, + toString$0: function(receiver) { + return P.IterableBase_iterableToFullString(receiver, "[", "]"); + }, + toList$1$growable: function(receiver, growable) { + var t1 = H._arrayInstanceType(receiver); + return growable ? H.setRuntimeTypeInfo(receiver.slice(0), t1) : J.JSArray_JSArray$markFixed(receiver.slice(0), t1._precomputed1); + }, + toList$0: function($receiver) { + return this.toList$1$growable($receiver, true); + }, + toSet$0: function(receiver) { + return P.LinkedHashSet_LinkedHashSet$from(receiver, H._arrayInstanceType(receiver)._precomputed1); + }, + get$iterator: function(receiver) { + return new J.ArrayIterator(receiver, receiver.length, H._arrayInstanceType(receiver)._eval$1("ArrayIterator<1>")); + }, + get$hashCode: function(receiver) { + return H.Primitives_objectHashCode(receiver); + }, + get$length: function(receiver) { + return receiver.length; + }, + set$length: function(receiver, newLength) { + if (!!receiver.fixed$length) + H.throwExpression(P.UnsupportedError$("set length")); + if (newLength < 0) + throw H.wrapException(P.RangeError$range(newLength, 0, null, "newLength", null)); + receiver.length = newLength; + }, + $index: function(receiver, index) { + H._asIntS(index); + if (!H._isInt(index)) + throw H.wrapException(H.diagnoseIndexError(receiver, index)); + if (index >= receiver.length || index < 0) + throw H.wrapException(H.diagnoseIndexError(receiver, index)); + return receiver[index]; + }, + $indexSet: function(receiver, index, value) { + H._asIntS(index); + H._arrayInstanceType(receiver)._precomputed1._as(value); + if (!!receiver.immutable$list) + H.throwExpression(P.UnsupportedError$("indexed set")); + if (!H._isInt(index)) + throw H.wrapException(H.diagnoseIndexError(receiver, index)); + if (index >= receiver.length || index < 0) + throw H.wrapException(H.diagnoseIndexError(receiver, index)); + receiver[index] = value; + }, + $add: function(receiver, other) { + var t1 = H._arrayInstanceType(receiver); + t1._eval$1("List<1>")._as(other); + t1 = P.List_List$of(receiver, true, t1._precomputed1); + this.addAll$1(t1, other); + return t1; + }, + indexWhere$2: function(receiver, test, start) { + var i; + H._arrayInstanceType(receiver)._eval$1("bool(1)")._as(test); + if (start >= receiver.length) + return -1; + for (i = start; i < receiver.length; ++i) + if (H.boolConversionCheck(test.call$1(receiver[i]))) + return i; + return -1; + }, + indexWhere$1: function($receiver, test) { + return this.indexWhere$2($receiver, test, 0); + }, + set$last: function(receiver, element) { + var t1; + H._arrayInstanceType(receiver)._precomputed1._as(element); + t1 = receiver.length; + if (t1 === 0) + throw H.wrapException(H.IterableElementError_noElement()); + this.$indexSet(receiver, t1 - 1, element); + }, + $isJSIndexable: 1, + $isEfficientLengthIterable: 1, + $isIterable: 1, + $isList: 1 + }; + J.JSUnmodifiableArray.prototype = {}; + J.ArrayIterator.prototype = { + get$current: function(_) { + return this.__interceptors$_current; + }, + moveNext$0: function() { + var t2, _this = this, + t1 = _this._iterable, + $length = t1.length; + if (_this.__interceptors$_length !== $length) + throw H.wrapException(H.throwConcurrentModificationError(t1)); + t2 = _this._index; + if (t2 >= $length) { + _this.set$__interceptors$_current(null); + return false; + } + _this.set$__interceptors$_current(t1[t2]); + ++_this._index; + return true; + }, + set$__interceptors$_current: function(_current) { + this.__interceptors$_current = this.$ti._eval$1("1?")._as(_current); + }, + $isIterator: 1 + }; + J.JSNumber.prototype = { + compareTo$1: function(receiver, b) { + var bIsNegative; + H._asNumS(b); + if (typeof b != "number") + throw H.wrapException(H.argumentErrorValue(b)); + if (receiver < b) + return -1; + else if (receiver > b) + return 1; + else if (receiver === b) { + if (receiver === 0) { + bIsNegative = this.get$isNegative(b); + if (this.get$isNegative(receiver) === bIsNegative) + return 0; + if (this.get$isNegative(receiver)) + return -1; + return 1; + } + return 0; + } else if (isNaN(receiver)) { + if (isNaN(b)) + return 0; + return 1; + } else + return -1; + }, + get$isNegative: function(receiver) { + return receiver === 0 ? 1 / receiver < 0 : receiver < 0; + }, + toInt$0: function(receiver) { + var t1; + if (receiver >= -2147483648 && receiver <= 2147483647) + return receiver | 0; + if (isFinite(receiver)) { + t1 = receiver < 0 ? Math.ceil(receiver) : Math.floor(receiver); + return t1 + 0; + } + throw H.wrapException(P.UnsupportedError$("" + receiver + ".toInt()")); + }, + ceil$0: function(receiver) { + var truncated, d; + if (receiver >= 0) { + if (receiver <= 2147483647) { + truncated = receiver | 0; + return receiver === truncated ? truncated : truncated + 1; + } + } else if (receiver >= -2147483648) + return receiver | 0; + d = Math.ceil(receiver); + if (isFinite(d)) + return d; + throw H.wrapException(P.UnsupportedError$("" + receiver + ".ceil()")); + }, + floor$0: function(receiver) { + var truncated, d; + if (receiver >= 0) { + if (receiver <= 2147483647) + return receiver | 0; + } else if (receiver >= -2147483648) { + truncated = receiver | 0; + return receiver === truncated ? truncated : truncated - 1; + } + d = Math.floor(receiver); + if (isFinite(d)) + return d; + throw H.wrapException(P.UnsupportedError$("" + receiver + ".floor()")); + }, + round$0: function(receiver) { + if (receiver > 0) { + if (receiver !== 1 / 0) + return Math.round(receiver); + } else if (receiver > -1 / 0) + return 0 - Math.round(0 - receiver); + throw H.wrapException(P.UnsupportedError$("" + receiver + ".round()")); + }, + roundToDouble$0: function(receiver) { + if (receiver < 0) + return -Math.round(-receiver); + else + return Math.round(receiver); + }, + toStringAsFixed$1: function(receiver, fractionDigits) { + var result; + if (fractionDigits > 20) + throw H.wrapException(P.RangeError$range(fractionDigits, 0, 20, "fractionDigits", null)); + result = receiver.toFixed(fractionDigits); + if (receiver === 0 && this.get$isNegative(receiver)) + return "-" + result; + return result; + }, + toRadixString$1: function(receiver, radix) { + var result, match, t1, exponent; + if (radix < 2 || radix > 36) + throw H.wrapException(P.RangeError$range(radix, 2, 36, "radix", null)); + result = receiver.toString(radix); + if (C.JSString_methods.codeUnitAt$1(result, result.length - 1) !== 41) + return result; + match = /^([\da-z]+)(?:\.([\da-z]+))?\(e\+(\d+)\)$/.exec(result); + if (match == null) + H.throwExpression(P.UnsupportedError$("Unexpected toString result: " + result)); + t1 = match.length; + if (1 >= t1) + return H.ioore(match, 1); + result = match[1]; + if (3 >= t1) + return H.ioore(match, 3); + exponent = +match[3]; + t1 = match[2]; + if (t1 != null) { + result += t1; + exponent -= t1.length; + } + return result + C.JSString_methods.$mul("0", exponent); + }, + toString$0: function(receiver) { + if (receiver === 0 && 1 / receiver < 0) + return "-0.0"; + else + return "" + receiver; + }, + get$hashCode: function(receiver) { + var absolute, floorLog2, factor, scaled, + intValue = receiver | 0; + if (receiver === intValue) + return intValue & 536870911; + absolute = Math.abs(receiver); + floorLog2 = Math.log(absolute) / 0.6931471805599453 | 0; + factor = Math.pow(2, floorLog2); + scaled = absolute < 1 ? absolute / factor : factor / absolute; + return ((scaled * 9007199254740992 | 0) + (scaled * 3542243181176521 | 0)) * 599197 + floorLog2 * 1259 & 536870911; + }, + $sub: function(receiver, other) { + H._asNumS(other); + if (typeof other != "number") + throw H.wrapException(H.argumentErrorValue(other)); + return receiver - other; + }, + $mod: function(receiver, other) { + var result; + if (typeof other != "number") + throw H.wrapException(H.argumentErrorValue(other)); + result = receiver % other; + if (result === 0) + return 0; + if (result > 0) + return result; + if (other < 0) + return result - other; + else + return result + other; + }, + $tdiv: function(receiver, other) { + if (typeof other != "number") + throw H.wrapException(H.argumentErrorValue(other)); + if ((receiver | 0) === receiver) + if (other >= 1 || other < -1) + return receiver / other | 0; + return this._tdivSlow$1(receiver, other); + }, + _tdivFast$1: function(receiver, other) { + return (receiver | 0) === receiver ? receiver / other | 0 : this._tdivSlow$1(receiver, other); + }, + _tdivSlow$1: function(receiver, other) { + var quotient = receiver / other; + if (quotient >= -2147483648 && quotient <= 2147483647) + return quotient | 0; + if (quotient > 0) { + if (quotient !== 1 / 0) + return Math.floor(quotient); + } else if (quotient > -1 / 0) + return Math.ceil(quotient); + throw H.wrapException(P.UnsupportedError$("Result of truncating division is " + H.S(quotient) + ": " + H.S(receiver) + " ~/ " + other)); + }, + $shl: function(receiver, other) { + if (typeof other != "number") + throw H.wrapException(H.argumentErrorValue(other)); + if (other < 0) + throw H.wrapException(H.argumentErrorValue(other)); + return other > 31 ? 0 : receiver << other >>> 0; + }, + _shlPositive$1: function(receiver, other) { + return other > 31 ? 0 : receiver << other >>> 0; + }, + $shr: function(receiver, other) { + var t1; + if (other < 0) + throw H.wrapException(H.argumentErrorValue(other)); + if (receiver > 0) + t1 = this._shrBothPositive$1(receiver, other); + else { + t1 = other > 31 ? 31 : other; + t1 = receiver >> t1 >>> 0; + } + return t1; + }, + _shrOtherPositive$1: function(receiver, other) { + var t1; + if (receiver > 0) + t1 = this._shrBothPositive$1(receiver, other); + else { + t1 = other > 31 ? 31 : other; + t1 = receiver >> t1 >>> 0; + } + return t1; + }, + _shrReceiverPositive$1: function(receiver, other) { + if (other < 0) + throw H.wrapException(H.argumentErrorValue(other)); + return this._shrBothPositive$1(receiver, other); + }, + _shrBothPositive$1: function(receiver, other) { + return other > 31 ? 0 : receiver >>> other; + }, + get$runtimeType: function(receiver) { + return C.Type_num_cv7; + }, + $isComparable: 1, + $isdouble: 1, + $isnum: 1 + }; + J.JSInt.prototype = { + get$bitLength: function(receiver) { + var wordBits, i, + t1 = receiver < 0 ? -receiver - 1 : receiver, + nonneg = t1; + for (wordBits = 32; nonneg >= 4294967296;) { + nonneg = this._tdivFast$1(nonneg, 4294967296); + wordBits += 32; + } + i = nonneg | nonneg >> 1; + i |= i >> 2; + i |= i >> 4; + i |= i >> 8; + i = (i | i >> 16) >>> 0; + i = (i >>> 0) - (i >>> 1 & 1431655765); + i = (i & 858993459) + (i >>> 2 & 858993459); + i = i + (i >>> 4) & 252645135; + i += i >>> 8; + return wordBits - (32 - (i + (i >>> 16) & 63)); + }, + get$runtimeType: function(receiver) { + return C.Type_int_tHn; + }, + $isint: 1 + }; + J.JSNumNotInt.prototype = { + get$runtimeType: function(receiver) { + return C.Type_double_K1J; + } + }; + J.JSString.prototype = { + codeUnitAt$1: function(receiver, index) { + if (!H._isInt(index)) + throw H.wrapException(H.diagnoseIndexError(receiver, index)); + if (index < 0) + throw H.wrapException(H.diagnoseIndexError(receiver, index)); + if (index >= receiver.length) + H.throwExpression(H.diagnoseIndexError(receiver, index)); + return receiver.charCodeAt(index); + }, + _codeUnitAt$1: function(receiver, index) { + if (index >= receiver.length) + throw H.wrapException(H.diagnoseIndexError(receiver, index)); + return receiver.charCodeAt(index); + }, + allMatches$2: function(receiver, string, start) { + var t1 = string.length; + if (start > t1) + throw H.wrapException(P.RangeError$range(start, 0, t1, null, null)); + return new H._StringAllMatchesIterable(string, receiver, start); + }, + allMatches$1: function($receiver, string) { + return this.allMatches$2($receiver, string, 0); + }, + matchAsPrefix$2: function(receiver, string, start) { + var t1, i, _null = null; + if (start < 0 || start > string.length) + throw H.wrapException(P.RangeError$range(start, 0, string.length, _null, _null)); + t1 = receiver.length; + if (start + t1 > string.length) + return _null; + for (i = 0; i < t1; ++i) + if (this.codeUnitAt$1(string, start + i) !== this._codeUnitAt$1(receiver, i)) + return _null; + return new H.StringMatch(start, receiver); + }, + $add: function(receiver, other) { + if (typeof other != "string") + throw H.wrapException(P.ArgumentError$value(other, null, null)); + return receiver + other; + }, + endsWith$1: function(receiver, other) { + var otherLength = other.length, + t1 = receiver.length; + if (otherLength > t1) + return false; + return other === this.substring$1(receiver, t1 - otherLength); + }, + replaceAll$2: function(receiver, from, to) { + return H.stringReplaceAllUnchecked(receiver, from, to); + }, + splitMapJoin$2$onMatch: function(receiver, from, onMatch) { + return H.stringReplaceAllFuncUnchecked(receiver, from, type$.nullable_String_Function_Match._as(onMatch), null); + }, + replaceFirst$2: function(receiver, from, to) { + P.RangeError_checkValueInInterval(0, 0, receiver.length, "startIndex"); + return H.stringReplaceFirstUnchecked(receiver, from, to, 0); + }, + replaceRange$3: function(receiver, start, end, replacement) { + var e = P.RangeError_checkValidRange(start, end, receiver.length); + if (!H._isInt(e)) + H.throwExpression(H.argumentErrorValue(e)); + return H.stringReplaceRangeUnchecked(receiver, start, e, replacement); + }, + startsWith$2: function(receiver, pattern, index) { + var endIndex; + if (index < 0 || index > receiver.length) + throw H.wrapException(P.RangeError$range(index, 0, receiver.length, null, null)); + endIndex = index + pattern.length; + if (endIndex > receiver.length) + return false; + return pattern === receiver.substring(index, endIndex); + }, + startsWith$1: function($receiver, pattern) { + return this.startsWith$2($receiver, pattern, 0); + }, + substring$2: function(receiver, startIndex, endIndex) { + var _null = null; + if (!H._isInt(startIndex)) + H.throwExpression(H.argumentErrorValue(startIndex)); + if (endIndex == null) + endIndex = receiver.length; + if (typeof startIndex !== "number") + return startIndex.$lt(); + if (startIndex < 0) + throw H.wrapException(P.RangeError$value(startIndex, _null, _null)); + if (startIndex > endIndex) + throw H.wrapException(P.RangeError$value(startIndex, _null, _null)); + if (endIndex > receiver.length) + throw H.wrapException(P.RangeError$value(endIndex, _null, _null)); + return receiver.substring(startIndex, endIndex); + }, + substring$1: function($receiver, startIndex) { + return this.substring$2($receiver, startIndex, null); + }, + toLowerCase$0: function(receiver) { + return receiver.toLowerCase(); + }, + trim$0: function(receiver) { + var startIndex, t1, endIndex0, + result = receiver.trim(), + endIndex = result.length; + if (endIndex === 0) + return result; + if (this._codeUnitAt$1(result, 0) === 133) { + startIndex = J.JSString__skipLeadingWhitespace(result, 1); + if (startIndex === endIndex) + return ""; + } else + startIndex = 0; + t1 = endIndex - 1; + endIndex0 = this.codeUnitAt$1(result, t1) === 133 ? J.JSString__skipTrailingWhitespace(result, t1) : endIndex; + if (startIndex === 0 && endIndex0 === endIndex) + return result; + return result.substring(startIndex, endIndex0); + }, + trimRight$0: function(receiver) { + var result, endIndex, t1; + if (typeof receiver.trimRight != "undefined") { + result = receiver.trimRight(); + endIndex = result.length; + if (endIndex === 0) + return result; + t1 = endIndex - 1; + if (this.codeUnitAt$1(result, t1) === 133) + endIndex = J.JSString__skipTrailingWhitespace(result, t1); + } else { + endIndex = J.JSString__skipTrailingWhitespace(receiver, receiver.length); + result = receiver; + } + if (endIndex === result.length) + return result; + if (endIndex === 0) + return ""; + return result.substring(0, endIndex); + }, + $mul: function(receiver, times) { + var s, result; + if (0 >= times) + return ""; + if (times === 1 || receiver.length === 0) + return receiver; + if (times !== times >>> 0) + throw H.wrapException(C.C_OutOfMemoryError); + for (s = receiver, result = ""; true;) { + if ((times & 1) === 1) + result = s + result; + times = times >>> 1; + if (times === 0) + break; + s += s; + } + return result; + }, + padLeft$2: function(receiver, width, padding) { + var delta = width - receiver.length; + if (delta <= 0) + return receiver; + return this.$mul(padding, delta) + receiver; + }, + padRight$1: function(receiver, width) { + var delta = width - receiver.length; + if (delta <= 0) + return receiver; + return receiver + this.$mul(" ", delta); + }, + indexOf$2: function(receiver, pattern, start) { + var t1; + if (start < 0 || start > receiver.length) + throw H.wrapException(P.RangeError$range(start, 0, receiver.length, null, null)); + t1 = receiver.indexOf(pattern, start); + return t1; + }, + indexOf$1: function($receiver, pattern) { + return this.indexOf$2($receiver, pattern, 0); + }, + lastIndexOf$2: function(receiver, pattern, start) { + var t1, t2; + if (start == null) + start = receiver.length; + else if (start < 0 || start > receiver.length) + throw H.wrapException(P.RangeError$range(start, 0, receiver.length, null, null)); + t1 = pattern.length; + t2 = receiver.length; + if (start + t1 > t2) + start = t2 - t1; + return receiver.lastIndexOf(pattern, start); + }, + lastIndexOf$1: function($receiver, pattern) { + return this.lastIndexOf$2($receiver, pattern, null); + }, + contains$2: function(receiver, other, startIndex) { + var t1 = receiver.length; + if (startIndex > t1) + throw H.wrapException(P.RangeError$range(startIndex, 0, t1, null, null)); + return H.stringContainsUnchecked(receiver, other, startIndex); + }, + contains$1: function($receiver, other) { + return this.contains$2($receiver, other, 0); + }, + compareTo$1: function(receiver, other) { + var t1; + H._asStringS(other); + if (typeof other != "string") + throw H.wrapException(H.argumentErrorValue(other)); + if (receiver === other) + t1 = 0; + else + t1 = receiver < other ? -1 : 1; + return t1; + }, + toString$0: function(receiver) { + return receiver; + }, + get$hashCode: function(receiver) { + var t1, hash, i; + for (t1 = receiver.length, hash = 0, i = 0; i < t1; ++i) { + hash = hash + receiver.charCodeAt(i) & 536870911; + hash = hash + ((hash & 524287) << 10) & 536870911; + hash ^= hash >> 6; + } + hash = hash + ((hash & 67108863) << 3) & 536870911; + hash ^= hash >> 11; + return hash + ((hash & 16383) << 15) & 536870911; + }, + get$runtimeType: function(receiver) { + return C.Type_String_k8F; + }, + get$length: function(receiver) { + return receiver.length; + }, + $index: function(receiver, index) { + H._asIntS(index); + if (!H._isInt(index)) + throw H.wrapException(H.diagnoseIndexError(receiver, index)); + if (index >= receiver.length || index < 0) + throw H.wrapException(H.diagnoseIndexError(receiver, index)); + return receiver[index]; + }, + $isJSIndexable: 1, + $isComparable: 1, + $isPattern: 1, + $isString: 1 + }; + H.CastStream.prototype = { + listen$4$cancelOnError$onDone$onError: function(onData, cancelOnError, onDone, onError) { + var t2, + t1 = this.$ti; + t1._eval$1("~(2)?")._as(onData); + t2 = this._source.listen$3$cancelOnError$onDone(null, cancelOnError, type$.nullable_void_Function._as(onDone)); + t1 = new H.CastStreamSubscription(t2, $.Zone__current, t1._eval$1("@<1>")._bind$1(t1._rest[1])._eval$1("CastStreamSubscription<1,2>")); + t2.onData$1(t1.get$__internal$_onData()); + t1.onData$1(onData); + t1.onError$1(0, onError); + return t1; + }, + listen$3$onDone$onError: function(onData, onDone, onError) { + return this.listen$4$cancelOnError$onDone$onError(onData, null, onDone, onError); + }, + listen$3$cancelOnError$onDone: function(onData, cancelOnError, onDone) { + return this.listen$4$cancelOnError$onDone$onError(onData, cancelOnError, onDone, null); + }, + cast$1$0: function(_, $R) { + return new H.CastStream(this._source, this.$ti._eval$1("@<1>")._bind$1($R)._eval$1("CastStream<1,2>")); + } + }; + H.CastStreamSubscription.prototype = { + cancel$0: function(_) { + return this._source.cancel$0(0); + }, + onData$1: function(handleData) { + var t1 = this.$ti; + t1._eval$1("~(2)?")._as(handleData); + this.set$__internal$_handleData(handleData == null ? null : type$.$env_1_1_dynamic._bind$1(t1._rest[1])._eval$1("1(2)")._as(handleData)); + }, + onError$1: function(_, handleError) { + var _this = this; + _this._source.onError$1(0, handleError); + if (handleError == null) + _this.__internal$_handleError = null; + else if (type$.void_Function_Object_StackTrace._is(handleError)) + _this.__internal$_handleError = _this.__internal$_zone.registerBinaryCallback$3$1(handleError, type$.dynamic, type$.Object, type$.StackTrace); + else if (type$.void_Function_Object._is(handleError)) + _this.__internal$_handleError = type$.dynamic_Function_Object._as(handleError); + else + throw H.wrapException(P.ArgumentError$(string$.handle)); + }, + __internal$_onData$1: function(data) { + var targetData, error, stack, handleError, t2, exception, _this = this, + t1 = _this.$ti; + t1._precomputed1._as(data); + t2 = _this.__internal$_handleData; + if (t2 == null) + return; + targetData = null; + try { + targetData = t1._rest[1]._as(data); + } catch (exception) { + error = H.unwrapException(exception); + stack = H.getTraceFromException(exception); + handleError = _this.__internal$_handleError; + if (handleError == null) + P._rootHandleUncaughtError(null, null, _this.__internal$_zone, error, type$.StackTrace._as(stack)); + else { + t1 = type$.Object; + t2 = _this.__internal$_zone; + if (type$.void_Function_Object_StackTrace._is(handleError)) + t2.runBinaryGuarded$2$3(handleError, error, stack, t1, type$.StackTrace); + else + t2.runUnaryGuarded$1$2(type$.void_Function_Object._as(handleError), error, t1); + } + return; + } + _this.__internal$_zone.runUnaryGuarded$1$2(t2, targetData, t1._rest[1]); + }, + pause$1: function(_, resumeSignal) { + this._source.pause$1(0, resumeSignal); + }, + pause$0: function($receiver) { + return this.pause$1($receiver, null); + }, + resume$0: function(_) { + this._source.resume$0(0); + }, + set$__internal$_handleData: function(_handleData) { + this.__internal$_handleData = this.$ti._eval$1("~(2)?")._as(_handleData); + }, + $isStreamSubscription: 1 + }; + H._CastIterableBase.prototype = { + get$iterator: function(_) { + var t1 = H._instanceType(this); + return new H.CastIterator(J.get$iterator$ax(this.get$_source()), t1._eval$1("@<1>")._bind$1(t1._rest[1])._eval$1("CastIterator<1,2>")); + }, + get$length: function(_) { + return J.get$length$asx(this.get$_source()); + }, + get$isEmpty: function(_) { + return J.get$isEmpty$asx(this.get$_source()); + }, + get$isNotEmpty: function(_) { + return J.get$isNotEmpty$asx(this.get$_source()); + }, + skip$1: function(_, count) { + var t1 = H._instanceType(this); + return H.CastIterable_CastIterable(J.skip$1$ax(this.get$_source(), count), t1._precomputed1, t1._rest[1]); + }, + take$1: function(_, count) { + var t1 = H._instanceType(this); + return H.CastIterable_CastIterable(J.take$1$ax(this.get$_source(), count), t1._precomputed1, t1._rest[1]); + }, + elementAt$1: function(_, index) { + return H._instanceType(this)._rest[1]._as(J.elementAt$1$ax(this.get$_source(), index)); + }, + get$first: function(_) { + return H._instanceType(this)._rest[1]._as(J.get$first$ax(this.get$_source())); + }, + get$last: function(_) { + return H._instanceType(this)._rest[1]._as(J.get$last$ax(this.get$_source())); + }, + get$single: function(_) { + return H._instanceType(this)._rest[1]._as(J.get$single$ax(this.get$_source())); + }, + contains$1: function(_, other) { + return J.contains$1$asx(this.get$_source(), other); + }, + toString$0: function(_) { + return J.toString$0$(this.get$_source()); + } + }; + H.CastIterator.prototype = { + moveNext$0: function() { + return this._source.moveNext$0(); + }, + get$current: function(_) { + var t1 = this._source; + return this.$ti._rest[1]._as(t1.get$current(t1)); + }, + $isIterator: 1 + }; + H.CastIterable.prototype = { + cast$1$0: function(_, $R) { + return H.CastIterable_CastIterable(this._source, H._instanceType(this)._precomputed1, $R); + }, + get$_source: function() { + return this._source; + } + }; + H._EfficientLengthCastIterable.prototype = {$isEfficientLengthIterable: 1}; + H._CastListBase.prototype = { + $index: function(_, index) { + return this.$ti._rest[1]._as(J.$index$asx(this._source, H._asIntS(index))); + }, + $indexSet: function(_, index, value) { + var t1 = this.$ti; + J.$indexSet$ax(this._source, H._asIntS(index), t1._precomputed1._as(t1._rest[1]._as(value))); + }, + set$length: function(_, $length) { + J.set$length$asx(this._source, $length); + }, + add$1: function(_, value) { + var t1 = this.$ti; + J.add$1$ax(this._source, t1._precomputed1._as(t1._rest[1]._as(value))); + }, + addAll$1: function(_, values) { + var t1 = this.$ti; + J.addAll$1$ax(this._source, H.CastIterable_CastIterable(t1._eval$1("Iterable<2>")._as(values), t1._rest[1], t1._precomputed1)); + }, + sort$1: function(_, compare) { + var t1; + this.$ti._eval$1("int(2,2)?")._as(compare); + t1 = compare == null ? null : new H._CastListBase_sort_closure(this, compare); + J.sort$1$ax(this._source, t1); + }, + sort$0: function($receiver) { + return this.sort$1($receiver, null); + }, + insert$2: function(_, index, element) { + var t1 = this.$ti; + J.insert$2$ax(this._source, index, t1._precomputed1._as(t1._rest[1]._as(element))); + }, + insertAll$2: function(_, index, elements) { + var t1 = this.$ti; + J.insertAll$2$ax(this._source, index, H.CastIterable_CastIterable(t1._eval$1("Iterable<2>")._as(elements), t1._rest[1], t1._precomputed1)); + }, + setAll$2: function(_, index, elements) { + var t1 = this.$ti; + J.setAll$2$ax(this._source, index, H.CastIterable_CastIterable(t1._eval$1("Iterable<2>")._as(elements), t1._rest[1], t1._precomputed1)); + }, + remove$1: function(_, value) { + return J.remove$1$ax(this._source, value); + }, + removeAt$1: function(_, index) { + return this.$ti._rest[1]._as(J.removeAt$1$ax(this._source, index)); + }, + removeLast$0: function(_) { + return this.$ti._rest[1]._as(J.removeLast$0$ax(this._source)); + }, + removeWhere$1: function(_, test) { + J.removeWhere$1$ax(this._source, new H._CastListBase_removeWhere_closure(this, this.$ti._eval$1("bool(2)")._as(test))); + }, + getRange$2: function(_, start, end) { + var t1 = this.$ti; + return H.CastIterable_CastIterable(J.getRange$2$ax(this._source, start, end), t1._precomputed1, t1._rest[1]); + }, + setRange$4: function(_, start, end, iterable, skipCount) { + var t1 = this.$ti; + J.setRange$4$ax(this._source, start, H._asIntS(end), H.CastIterable_CastIterable(t1._eval$1("Iterable<2>")._as(iterable), t1._rest[1], t1._precomputed1), skipCount); + }, + setRange$3: function($receiver, start, end, iterable) { + return this.setRange$4($receiver, start, end, iterable, 0); + }, + removeRange$2: function(_, start, end) { + J.removeRange$2$ax(this._source, start, end); + }, + $isEfficientLengthIterable: 1, + $isList: 1 + }; + H._CastListBase_sort_closure.prototype = { + call$2: function(v1, v2) { + var t1 = this.$this.$ti, + t2 = t1._precomputed1; + t2._as(v1); + t2._as(v2); + t1 = t1._rest[1]; + return this.compare.call$2(t1._as(v1), t1._as(v2)); + }, + "call*": "call$2", + $requiredArgCount: 2, + $signature: function() { + return this.$this.$ti._eval$1("int(1,1)"); + } + }; + H._CastListBase_removeWhere_closure.prototype = { + call$1: function(element) { + var t1 = this.$this.$ti; + return this.test.call$1(t1._rest[1]._as(t1._precomputed1._as(element))); + }, + $signature: function() { + return this.$this.$ti._eval$1("bool(1)"); + } + }; + H.CastList.prototype = { + cast$1$0: function(_, $R) { + return new H.CastList(this._source, this.$ti._eval$1("@<1>")._bind$1($R)._eval$1("CastList<1,2>")); + }, + get$_source: function() { + return this._source; + } + }; + H.CastSet.prototype = { + cast$1$0: function(_, $R) { + return new H.CastSet(this._source, this.__internal$_emptySet, this.$ti._eval$1("@<1>")._bind$1($R)._eval$1("CastSet<1,2>")); + }, + add$1: function(_, value) { + var t1 = this.$ti; + return this._source.add$1(0, t1._precomputed1._as(t1._rest[1]._as(value))); + }, + addAll$1: function(_, elements) { + var t1 = this.$ti; + this._source.addAll$1(0, H.CastIterable_CastIterable(t1._eval$1("Iterable<2>")._as(elements), t1._rest[1], t1._precomputed1)); + }, + remove$1: function(_, object) { + return this._source.remove$1(0, object); + }, + removeAll$1: function(objects) { + this._source.removeAll$1(objects); + }, + removeWhere$1: function(_, test) { + this._source.removeWhere$1(0, new H.CastSet_removeWhere_closure(this, this.$ti._eval$1("bool(2)")._as(test))); + }, + containsAll$1: function(objects) { + return this._source.containsAll$1(objects); + }, + intersection$1: function(_, other) { + var t1, _this = this; + if (_this.__internal$_emptySet != null) + return _this._conditionalAdd$2(other, true); + t1 = _this.$ti; + return new H.CastSet(_this._source.intersection$1(0, other), null, t1._eval$1("@<1>")._bind$1(t1._rest[1])._eval$1("CastSet<1,2>")); + }, + difference$1: function(other) { + var t1, _this = this; + if (_this.__internal$_emptySet != null) + return _this._conditionalAdd$2(other, false); + t1 = _this.$ti; + return new H.CastSet(_this._source.difference$1(other), null, t1._eval$1("@<1>")._bind$1(t1._rest[1])._eval$1("CastSet<1,2>")); + }, + _conditionalAdd$2: function(other, otherContains) { + var castElement, + emptySet = this.__internal$_emptySet, + t1 = this.$ti, + t2 = t1._rest[1], + result = emptySet == null ? P.LinkedHashSet_LinkedHashSet(t2) : emptySet.call$1$0(t2); + for (t2 = this._source, t2 = t2.get$iterator(t2), t1 = t1._rest[1]; t2.moveNext$0();) { + castElement = t1._as(t2.get$current(t2)); + if (otherContains === other.contains$1(0, castElement)) + result.add$1(0, castElement); + } + return result; + }, + union$1: function(other) { + var t1; + this.$ti._eval$1("Set<2>")._as(other); + t1 = this._clone$0(); + t1.addAll$1(0, other); + return t1; + }, + clear$0: function(_) { + this._source.clear$0(0); + }, + _clone$0: function() { + var emptySet = this.__internal$_emptySet, + t1 = this.$ti._rest[1], + result = emptySet == null ? P.LinkedHashSet_LinkedHashSet(t1) : emptySet.call$1$0(t1); + result.addAll$1(0, this); + return result; + }, + toSet$0: function(_) { + return this._clone$0(); + }, + $isEfficientLengthIterable: 1, + $isSet: 1, + get$_source: function() { + return this._source; + } + }; + H.CastSet_removeWhere_closure.prototype = { + call$1: function(element) { + var t1 = this.$this.$ti; + return this.test.call$1(t1._rest[1]._as(t1._precomputed1._as(element))); + }, + $signature: function() { + return this.$this.$ti._eval$1("bool(1)"); + } + }; + H.CastMap.prototype = { + cast$2$0: function(_, RK, RV) { + var t1 = this.$ti; + return new H.CastMap(this._source, t1._eval$1("@<1>")._bind$1(t1._rest[1])._bind$1(RK)._bind$1(RV)._eval$1("CastMap<1,2,3,4>")); + }, + containsKey$1: function(_, key) { + return J.containsKey$1$x(this._source, key); + }, + $index: function(_, key) { + return this.$ti._eval$1("4?")._as(J.$index$asx(this._source, key)); + }, + $indexSet: function(_, key, value) { + var t1 = this.$ti; + t1._rest[2]._as(key); + t1._rest[3]._as(value); + J.$indexSet$ax(this._source, t1._precomputed1._as(key), t1._rest[1]._as(value)); + }, + remove$1: function(_, key) { + return this.$ti._eval$1("4?")._as(J.remove$1$ax(this._source, key)); + }, + forEach$1: function(_, f) { + J.forEach$1$ax(this._source, new H.CastMap_forEach_closure(this, this.$ti._eval$1("~(3,4)")._as(f))); + }, + get$keys: function(_) { + var t1 = this.$ti; + return H.CastIterable_CastIterable(J.get$keys$x(this._source), t1._precomputed1, t1._rest[2]); + }, + get$values: function(_) { + var t1 = this.$ti; + return H.CastIterable_CastIterable(J.get$values$x(this._source), t1._rest[1], t1._rest[3]); + }, + get$length: function(_) { + return J.get$length$asx(this._source); + }, + get$isEmpty: function(_) { + return J.get$isEmpty$asx(this._source); + }, + get$isNotEmpty: function(_) { + return J.get$isNotEmpty$asx(this._source); + }, + get$entries: function(_) { + return J.get$entries$x(this._source).map$1$1(0, new H.CastMap_entries_closure(this), this.$ti._eval$1("MapEntry<3,4>")); + }, + removeWhere$1: function(_, test) { + J.removeWhere$1$ax(this._source, new H.CastMap_removeWhere_closure(this, this.$ti._eval$1("bool(3,4)")._as(test))); + } + }; + H.CastMap_forEach_closure.prototype = { + call$2: function(key, value) { + var t1 = this.$this.$ti; + t1._precomputed1._as(key); + t1._rest[1]._as(value); + this.f.call$2(t1._rest[2]._as(key), t1._rest[3]._as(value)); + }, + $signature: function() { + return this.$this.$ti._eval$1("~(1,2)"); + } + }; + H.CastMap_entries_closure.prototype = { + call$1: function(e) { + var t2, + t1 = this.$this.$ti; + t1._eval$1("MapEntry<1,2>")._as(e); + t2 = t1._rest[3]; + return new P.MapEntry(t1._rest[2]._as(e.key), t2._as(e.value), t1._eval$1("@<3>")._bind$1(t2)._eval$1("MapEntry<1,2>")); + }, + $signature: function() { + return this.$this.$ti._eval$1("MapEntry<3,4>(MapEntry<1,2>)"); + } + }; + H.CastMap_removeWhere_closure.prototype = { + call$2: function(key, value) { + var t1 = this.$this.$ti; + t1._precomputed1._as(key); + t1._rest[1]._as(value); + return this.test.call$2(t1._rest[2]._as(key), t1._rest[3]._as(value)); + }, + $signature: function() { + return this.$this.$ti._eval$1("bool(1,2)"); + } + }; + H.CastQueue.prototype = { + cast$1$0: function(_, $R) { + return new H.CastQueue(this._source, this.$ti._eval$1("@<1>")._bind$1($R)._eval$1("CastQueue<1,2>")); + }, + add$1: function(_, value) { + var t1 = this.$ti, + t2 = this._source; + t2._add$1(0, t2.$ti._precomputed1._as(t1._precomputed1._as(t1._rest[1]._as(value)))); + }, + $isEfficientLengthIterable: 1, + $isQueue: 1, + get$_source: function() { + return this._source; + } + }; + H.LateError.prototype = { + toString$0: function(_) { + var message = this._message; + return message != null ? "LateInitializationError: " + message : "LateInitializationError"; + } + }; + H.ReachabilityError.prototype = { + toString$0: function(_) { + var t1 = "ReachabilityError: " + this._message; + return t1; + } + }; + H.CodeUnits.prototype = { + get$length: function(_) { + return this.__internal$_string.length; + }, + $index: function(_, i) { + return C.JSString_methods.codeUnitAt$1(this.__internal$_string, H._asIntS(i)); + } + }; + H.nullFuture_closure.prototype = { + call$0: function() { + return P.Future_Future$value(null, type$.Null); + }, + $signature: 228 + }; + H.NotNullableError.prototype = { + toString$0: function(_) { + return "Null is not a valid value for the parameter '" + this.__internal$_name + "' of type '" + H.createRuntimeType(this.$ti._precomputed1).toString$0(0) + "'"; + } + }; + H.EfficientLengthIterable.prototype = {}; + H.ListIterable.prototype = { + get$iterator: function(_) { + var _this = this; + return new H.ListIterator(_this, _this.get$length(_this), H._instanceType(_this)._eval$1("ListIterator")); + }, + forEach$1: function(_, action) { + var $length, i, _this = this; + H._instanceType(_this)._eval$1("~(ListIterable.E)")._as(action); + $length = _this.get$length(_this); + if (typeof $length !== "number") + return H.iae($length); + i = 0; + for (; i < $length; ++i) { + action.call$1(_this.elementAt$1(0, i)); + if ($length !== _this.get$length(_this)) + throw H.wrapException(P.ConcurrentModificationError$(_this)); + } + }, + get$isEmpty: function(_) { + return this.get$length(this) === 0; + }, + get$first: function(_) { + if (this.get$length(this) === 0) + throw H.wrapException(H.IterableElementError_noElement()); + return this.elementAt$1(0, 0); + }, + get$last: function(_) { + var t1, _this = this; + if (_this.get$length(_this) === 0) + throw H.wrapException(H.IterableElementError_noElement()); + t1 = _this.get$length(_this); + if (typeof t1 !== "number") + return t1.$sub(); + return _this.elementAt$1(0, t1 - 1); + }, + get$single: function(_) { + var t1, _this = this; + if (_this.get$length(_this) === 0) + throw H.wrapException(H.IterableElementError_noElement()); + t1 = _this.get$length(_this); + if (typeof t1 !== "number") + return t1.$gt(); + if (t1 > 1) + throw H.wrapException(H.IterableElementError_tooMany()); + return _this.elementAt$1(0, 0); + }, + contains$1: function(_, element) { + var i, _this = this, + $length = _this.get$length(_this); + if (typeof $length !== "number") + return H.iae($length); + i = 0; + for (; i < $length; ++i) { + if (J.$eq$(_this.elementAt$1(0, i), element)) + return true; + if ($length !== _this.get$length(_this)) + throw H.wrapException(P.ConcurrentModificationError$(_this)); + } + return false; + }, + every$1: function(_, test) { + var $length, i, _this = this; + H._instanceType(_this)._eval$1("bool(ListIterable.E)")._as(test); + $length = _this.get$length(_this); + if (typeof $length !== "number") + return H.iae($length); + i = 0; + for (; i < $length; ++i) { + if (!H.boolConversionCheck(test.call$1(_this.elementAt$1(0, i)))) + return false; + if ($length !== _this.get$length(_this)) + throw H.wrapException(P.ConcurrentModificationError$(_this)); + } + return true; + }, + join$1: function(_, separator) { + var first, t1, i, _this = this, + $length = _this.get$length(_this); + if (separator.length !== 0) { + if ($length === 0) + return ""; + first = H.S(_this.elementAt$1(0, 0)); + if ($length != _this.get$length(_this)) + throw H.wrapException(P.ConcurrentModificationError$(_this)); + if (typeof $length !== "number") + return H.iae($length); + t1 = first; + i = 1; + for (; i < $length; ++i) { + t1 = t1 + separator + H.S(_this.elementAt$1(0, i)); + if ($length !== _this.get$length(_this)) + throw H.wrapException(P.ConcurrentModificationError$(_this)); + } + return t1.charCodeAt(0) == 0 ? t1 : t1; + } else { + if (typeof $length !== "number") + return H.iae($length); + i = 0; + t1 = ""; + for (; i < $length; ++i) { + t1 += H.S(_this.elementAt$1(0, i)); + if ($length !== _this.get$length(_this)) + throw H.wrapException(P.ConcurrentModificationError$(_this)); + } + return t1.charCodeAt(0) == 0 ? t1 : t1; + } + }, + join$0: function($receiver) { + return this.join$1($receiver, ""); + }, + where$1: function(_, test) { + return this.super$Iterable$where(0, H._instanceType(this)._eval$1("bool(ListIterable.E)")._as(test)); + }, + map$1$1: function(_, f, $T) { + var t1 = H._instanceType(this); + return new H.MappedListIterable(this, t1._bind$1($T)._eval$1("1(ListIterable.E)")._as(f), t1._eval$1("@")._bind$1($T)._eval$1("MappedListIterable<1,2>")); + }, + map$1: function($receiver, f) { + return this.map$1$1($receiver, f, type$.dynamic); + }, + reduce$1: function(_, combine) { + var $length, value, i, _this = this; + H._instanceType(_this)._eval$1("ListIterable.E(ListIterable.E,ListIterable.E)")._as(combine); + $length = _this.get$length(_this); + if ($length === 0) + throw H.wrapException(H.IterableElementError_noElement()); + value = _this.elementAt$1(0, 0); + if (typeof $length !== "number") + return H.iae($length); + i = 1; + for (; i < $length; ++i) { + value = combine.call$2(value, _this.elementAt$1(0, i)); + if ($length !== _this.get$length(_this)) + throw H.wrapException(P.ConcurrentModificationError$(_this)); + } + return value; + }, + skip$1: function(_, count) { + return H.SubListIterable$(this, count, null, H._instanceType(this)._eval$1("ListIterable.E")); + }, + take$1: function(_, count) { + return H.SubListIterable$(this, 0, H.checkNotNullable(count, "count", type$.int), H._instanceType(this)._eval$1("ListIterable.E")); + }, + toList$1$growable: function(_, growable) { + return P.List_List$of(this, growable, H._instanceType(this)._eval$1("ListIterable.E")); + }, + toList$0: function($receiver) { + return this.toList$1$growable($receiver, true); + }, + toSet$0: function(_) { + var t1, _this = this, + result = P.LinkedHashSet_LinkedHashSet(H._instanceType(_this)._eval$1("ListIterable.E")), + i = 0; + while (true) { + t1 = _this.get$length(_this); + if (typeof t1 !== "number") + return H.iae(t1); + if (!(i < t1)) + break; + result.add$1(0, _this.elementAt$1(0, i)); + ++i; + } + return result; + } + }; + H.SubListIterable.prototype = { + SubListIterable$3: function(_iterable, _start, _endOrLength, $E) { + var endOrLength, + t1 = this.__internal$_start; + P.RangeError_checkNotNegative(t1, "start"); + endOrLength = this._endOrLength; + if (endOrLength != null) { + P.RangeError_checkNotNegative(endOrLength, "end"); + if (typeof t1 !== "number") + return t1.$gt(); + if (t1 > endOrLength) + throw H.wrapException(P.RangeError$range(t1, 0, endOrLength, "start", null)); + } + }, + get$_endIndex: function() { + var t1, + $length = J.get$length$asx(this.__internal$_iterable), + endOrLength = this._endOrLength; + if (endOrLength != null) { + if (typeof $length !== "number") + return H.iae($length); + t1 = endOrLength > $length; + } else + t1 = true; + if (t1) + return $length; + return endOrLength; + }, + get$_startIndex: function() { + var $length = J.get$length$asx(this.__internal$_iterable), + t1 = this.__internal$_start; + if (typeof t1 !== "number") + return t1.$gt(); + if (typeof $length !== "number") + return H.iae($length); + if (t1 > $length) + return $length; + return t1; + }, + get$length: function(_) { + var endOrLength, + $length = J.get$length$asx(this.__internal$_iterable), + t1 = this.__internal$_start; + if (typeof t1 !== "number") + return t1.$ge(); + if (typeof $length !== "number") + return H.iae($length); + if (t1 >= $length) + return 0; + endOrLength = this._endOrLength; + if (endOrLength == null || endOrLength >= $length) + return $length - t1; + if (typeof endOrLength !== "number") + return endOrLength.$sub(); + return endOrLength - t1; + }, + elementAt$1: function(_, index) { + var realIndex, _this = this, + t1 = _this.get$_startIndex(); + if (typeof t1 !== "number") + return t1.$add(); + if (typeof index !== "number") + return H.iae(index); + realIndex = t1 + index; + if (index >= 0) { + t1 = _this.get$_endIndex(); + if (typeof t1 !== "number") + return H.iae(t1); + t1 = realIndex >= t1; + } else + t1 = true; + if (t1) + throw H.wrapException(P.IndexError$(index, _this, "index", null, null)); + return J.elementAt$1$ax(_this.__internal$_iterable, realIndex); + }, + skip$1: function(_, count) { + var t1, newStart, endOrLength, _this = this; + P.RangeError_checkNotNegative(count, "count"); + t1 = _this.__internal$_start; + if (typeof t1 !== "number") + return t1.$add(); + if (typeof count !== "number") + return H.iae(count); + newStart = t1 + count; + endOrLength = _this._endOrLength; + if (endOrLength != null && newStart >= endOrLength) + return new H.EmptyIterable(_this.$ti._eval$1("EmptyIterable<1>")); + return H.SubListIterable$(_this.__internal$_iterable, newStart, endOrLength, _this.$ti._precomputed1); + }, + take$1: function(_, count) { + var endOrLength, t1, newEnd, _this = this; + P.RangeError_checkNotNegative(count, "count"); + endOrLength = _this._endOrLength; + t1 = _this.__internal$_start; + if (endOrLength == null) { + if (typeof t1 !== "number") + return t1.$add(); + return H.SubListIterable$(_this.__internal$_iterable, t1, t1 + count, _this.$ti._precomputed1); + } else { + if (typeof t1 !== "number") + return t1.$add(); + newEnd = t1 + count; + if (endOrLength < newEnd) + return _this; + return H.SubListIterable$(_this.__internal$_iterable, t1, newEnd, _this.$ti._precomputed1); + } + }, + toList$1$growable: function(_, growable) { + var t3, $length, result, i, _this = this, + start = _this.__internal$_start, + t1 = _this.__internal$_iterable, + t2 = J.getInterceptor$asx(t1), + end = t2.get$length(t1), + endOrLength = _this._endOrLength; + if (endOrLength != null) { + if (typeof end !== "number") + return H.iae(end); + t3 = endOrLength < end; + } else + t3 = false; + if (t3) + end = endOrLength; + if (typeof end !== "number") + return end.$sub(); + if (typeof start !== "number") + return H.iae(start); + $length = end - start; + if ($length <= 0) { + t1 = _this.$ti._precomputed1; + return growable ? J.JSArray_JSArray$growable(0, t1) : J.JSArray_JSArray$fixed(0, t1); + } + result = P.List_List$filled($length, t2.elementAt$1(t1, start), growable, _this.$ti._precomputed1); + for (i = 1; i < $length; ++i) { + C.JSArray_methods.$indexSet(result, i, t2.elementAt$1(t1, start + i)); + t3 = t2.get$length(t1); + if (typeof t3 !== "number") + return t3.$lt(); + if (t3 < end) + throw H.wrapException(P.ConcurrentModificationError$(_this)); + } + return result; + }, + toList$0: function($receiver) { + return this.toList$1$growable($receiver, true); + } + }; + H.ListIterator.prototype = { + get$current: function(_) { + return this.__internal$_current; + }, + moveNext$0: function() { + var t3, _this = this, + t1 = _this.__internal$_iterable, + t2 = J.getInterceptor$asx(t1), + $length = t2.get$length(t1); + if (_this.__internal$_length != $length) + throw H.wrapException(P.ConcurrentModificationError$(t1)); + t3 = _this.__internal$_index; + if (typeof $length !== "number") + return H.iae($length); + if (t3 >= $length) { + _this.set$__internal$_current(null); + return false; + } + _this.set$__internal$_current(t2.elementAt$1(t1, t3)); + ++_this.__internal$_index; + return true; + }, + set$__internal$_current: function(_current) { + this.__internal$_current = this.$ti._eval$1("1?")._as(_current); + }, + $isIterator: 1 + }; + H.MappedIterable.prototype = { + get$iterator: function(_) { + var t1 = H._instanceType(this); + return new H.MappedIterator(J.get$iterator$ax(this.__internal$_iterable), this._f, t1._eval$1("@<1>")._bind$1(t1._rest[1])._eval$1("MappedIterator<1,2>")); + }, + get$length: function(_) { + return J.get$length$asx(this.__internal$_iterable); + }, + get$isEmpty: function(_) { + return J.get$isEmpty$asx(this.__internal$_iterable); + }, + get$first: function(_) { + return this._f.call$1(J.get$first$ax(this.__internal$_iterable)); + }, + get$last: function(_) { + return this._f.call$1(J.get$last$ax(this.__internal$_iterable)); + }, + get$single: function(_) { + return this._f.call$1(J.get$single$ax(this.__internal$_iterable)); + }, + elementAt$1: function(_, index) { + return this._f.call$1(J.elementAt$1$ax(this.__internal$_iterable, index)); + } + }; + H.EfficientLengthMappedIterable.prototype = {$isEfficientLengthIterable: 1}; + H.MappedIterator.prototype = { + moveNext$0: function() { + var _this = this, + t1 = _this._iterator; + if (t1.moveNext$0()) { + _this.set$__internal$_current(_this._f.call$1(t1.get$current(t1))); + return true; + } + _this.set$__internal$_current(null); + return false; + }, + get$current: function(_) { + return this.__internal$_current; + }, + set$__internal$_current: function(_current) { + this.__internal$_current = this.$ti._eval$1("2?")._as(_current); + } + }; + H.MappedListIterable.prototype = { + get$length: function(_) { + return J.get$length$asx(this._source); + }, + elementAt$1: function(_, index) { + return this._f.call$1(J.elementAt$1$ax(this._source, index)); + } + }; + H.WhereIterable.prototype = { + get$iterator: function(_) { + return new H.WhereIterator(J.get$iterator$ax(this.__internal$_iterable), this._f, this.$ti._eval$1("WhereIterator<1>")); + }, + map$1$1: function(_, f, $T) { + var t1 = this.$ti; + return new H.MappedIterable(this, t1._bind$1($T)._eval$1("1(2)")._as(f), t1._eval$1("@<1>")._bind$1($T)._eval$1("MappedIterable<1,2>")); + }, + map$1: function($receiver, f) { + return this.map$1$1($receiver, f, type$.dynamic); + } + }; + H.WhereIterator.prototype = { + moveNext$0: function() { + var t1, t2; + for (t1 = this._iterator, t2 = this._f; t1.moveNext$0();) + if (H.boolConversionCheck(t2.call$1(t1.get$current(t1)))) + return true; + return false; + }, + get$current: function(_) { + var t1 = this._iterator; + return t1.get$current(t1); + } + }; + H.ExpandIterable.prototype = { + get$iterator: function(_) { + var t1 = this.$ti; + return new H.ExpandIterator(J.get$iterator$ax(this.__internal$_iterable), this._f, C.C_EmptyIterator, t1._eval$1("@<1>")._bind$1(t1._rest[1])._eval$1("ExpandIterator<1,2>")); + } + }; + H.ExpandIterator.prototype = { + get$current: function(_) { + return this.__internal$_current; + }, + moveNext$0: function() { + var t1, t2, _this = this; + if (_this._currentExpansion == null) + return false; + for (t1 = _this._iterator, t2 = _this._f; !_this._currentExpansion.moveNext$0();) { + _this.set$__internal$_current(null); + if (t1.moveNext$0()) { + _this.set$_currentExpansion(null); + _this.set$_currentExpansion(J.get$iterator$ax(t2.call$1(t1.get$current(t1)))); + } else + return false; + } + t1 = _this._currentExpansion; + _this.set$__internal$_current(t1.get$current(t1)); + return true; + }, + set$_currentExpansion: function(_currentExpansion) { + this._currentExpansion = this.$ti._eval$1("Iterator<2>?")._as(_currentExpansion); + }, + set$__internal$_current: function(_current) { + this.__internal$_current = this.$ti._eval$1("2?")._as(_current); + }, + $isIterator: 1 + }; + H.TakeIterable.prototype = { + get$iterator: function(_) { + return new H.TakeIterator(J.get$iterator$ax(this.__internal$_iterable), this._takeCount, H._instanceType(this)._eval$1("TakeIterator<1>")); + } + }; + H.EfficientLengthTakeIterable.prototype = { + get$length: function(_) { + var iterableLength = J.get$length$asx(this.__internal$_iterable), + t1 = this._takeCount; + if (typeof iterableLength !== "number") + return iterableLength.$gt(); + if (iterableLength > t1) + return t1; + return iterableLength; + }, + $isEfficientLengthIterable: 1 + }; + H.TakeIterator.prototype = { + moveNext$0: function() { + if (--this._remaining >= 0) + return this._iterator.moveNext$0(); + this._remaining = -1; + return false; + }, + get$current: function(_) { + var t1; + if (this._remaining < 0) + return null; + t1 = this._iterator; + return t1.get$current(t1); + } + }; + H.TakeWhileIterable.prototype = { + get$iterator: function(_) { + return new H.TakeWhileIterator(J.get$iterator$ax(this.__internal$_iterable), this._f, this.$ti._eval$1("TakeWhileIterator<1>")); + } + }; + H.TakeWhileIterator.prototype = { + moveNext$0: function() { + var t1, _this = this; + if (_this._isFinished) + return false; + t1 = _this._iterator; + if (!t1.moveNext$0() || !H.boolConversionCheck(_this._f.call$1(t1.get$current(t1)))) { + _this._isFinished = true; + return false; + } + return true; + }, + get$current: function(_) { + var t1; + if (this._isFinished) + return null; + t1 = this._iterator; + return t1.get$current(t1); + } + }; + H.SkipIterable.prototype = { + skip$1: function(_, count) { + var t1 = this._skipCount; + if (count == null) + H.throwExpression(P.ArgumentError$notNull("count")); + P.RangeError_checkNotNegative(count, "count"); + if (typeof t1 !== "number") + return t1.$add(); + if (typeof count !== "number") + return H.iae(count); + return new H.SkipIterable(this.__internal$_iterable, t1 + count, H._instanceType(this)._eval$1("SkipIterable<1>")); + }, + get$iterator: function(_) { + return new H.SkipIterator(J.get$iterator$ax(this.__internal$_iterable), this._skipCount, H._instanceType(this)._eval$1("SkipIterator<1>")); + } + }; + H.EfficientLengthSkipIterable.prototype = { + get$length: function(_) { + var $length, + t1 = J.get$length$asx(this.__internal$_iterable), + t2 = this._skipCount; + if (typeof t1 !== "number") + return t1.$sub(); + if (typeof t2 !== "number") + return H.iae(t2); + $length = t1 - t2; + if ($length >= 0) + return $length; + return 0; + }, + skip$1: function(_, count) { + var t1 = this._skipCount; + if (count == null) + H.throwExpression(P.ArgumentError$notNull("count")); + P.RangeError_checkNotNegative(count, "count"); + if (typeof t1 !== "number") + return t1.$add(); + if (typeof count !== "number") + return H.iae(count); + return new H.EfficientLengthSkipIterable(this.__internal$_iterable, t1 + count, this.$ti); + }, + $isEfficientLengthIterable: 1 + }; + H.SkipIterator.prototype = { + moveNext$0: function() { + var t2, + t1 = this._iterator, + i = 0; + while (true) { + t2 = this._skipCount; + if (typeof t2 !== "number") + return H.iae(t2); + if (!(i < t2)) + break; + t1.moveNext$0(); + ++i; + } + this._skipCount = 0; + return t1.moveNext$0(); + }, + get$current: function(_) { + var t1 = this._iterator; + return t1.get$current(t1); + } + }; + H.SkipWhileIterable.prototype = { + get$iterator: function(_) { + return new H.SkipWhileIterator(J.get$iterator$ax(this.__internal$_iterable), this._f, this.$ti._eval$1("SkipWhileIterator<1>")); + } + }; + H.SkipWhileIterator.prototype = { + moveNext$0: function() { + var t1, t2, _this = this; + if (!_this._hasSkipped) { + _this._hasSkipped = true; + for (t1 = _this._iterator, t2 = _this._f; t1.moveNext$0();) + if (!H.boolConversionCheck(t2.call$1(t1.get$current(t1)))) + return true; + } + return _this._iterator.moveNext$0(); + }, + get$current: function(_) { + var t1 = this._iterator; + return t1.get$current(t1); + } + }; + H.EmptyIterable.prototype = { + get$iterator: function(_) { + return C.C_EmptyIterator; + }, + forEach$1: function(_, action) { + this.$ti._eval$1("~(1)")._as(action); + }, + get$isEmpty: function(_) { + return true; + }, + get$length: function(_) { + return 0; + }, + get$first: function(_) { + throw H.wrapException(H.IterableElementError_noElement()); + }, + get$last: function(_) { + throw H.wrapException(H.IterableElementError_noElement()); + }, + get$single: function(_) { + throw H.wrapException(H.IterableElementError_noElement()); + }, + elementAt$1: function(_, index) { + throw H.wrapException(P.RangeError$range(index, 0, 0, "index", null)); + }, + contains$1: function(_, element) { + return false; + }, + every$1: function(_, test) { + this.$ti._eval$1("bool(1)")._as(test); + return true; + }, + join$1: function(_, separator) { + return ""; + }, + where$1: function(_, test) { + this.$ti._eval$1("bool(1)")._as(test); + return this; + }, + map$1$1: function(_, f, $T) { + this.$ti._bind$1($T)._eval$1("1(2)")._as(f); + return new H.EmptyIterable($T._eval$1("EmptyIterable<0>")); + }, + map$1: function($receiver, f) { + return this.map$1$1($receiver, f, type$.dynamic); + }, + skip$1: function(_, count) { + P.RangeError_checkNotNegative(count, "count"); + return this; + }, + take$1: function(_, count) { + P.RangeError_checkNotNegative(count, "count"); + return this; + }, + toList$1$growable: function(_, growable) { + var t1 = this.$ti._precomputed1; + return growable ? J.JSArray_JSArray$growable(0, t1) : J.JSArray_JSArray$fixed(0, t1); + }, + toList$0: function($receiver) { + return this.toList$1$growable($receiver, true); + }, + toSet$0: function(_) { + return P.LinkedHashSet_LinkedHashSet(this.$ti._precomputed1); + } + }; + H.EmptyIterator.prototype = { + moveNext$0: function() { + return false; + }, + get$current: function(_) { + throw H.wrapException(H.IterableElementError_noElement()); + }, + $isIterator: 1 + }; + H.WhereTypeIterable.prototype = { + get$iterator: function(_) { + return new H.WhereTypeIterator(J.get$iterator$ax(this._source), this.$ti._eval$1("WhereTypeIterator<1>")); + } + }; + H.WhereTypeIterator.prototype = { + moveNext$0: function() { + var t1, t2; + for (t1 = this._source, t2 = this.$ti._precomputed1; t1.moveNext$0();) + if (t2._is(t1.get$current(t1))) + return true; + return false; + }, + get$current: function(_) { + var t1 = this._source; + return this.$ti._precomputed1._as(t1.get$current(t1)); + }, + $isIterator: 1 + }; + H.FixedLengthListMixin.prototype = { + set$length: function(receiver, newLength) { + throw H.wrapException(P.UnsupportedError$("Cannot change the length of a fixed-length list")); + }, + add$1: function(receiver, value) { + H.instanceType(receiver)._eval$1("FixedLengthListMixin.E")._as(value); + throw H.wrapException(P.UnsupportedError$("Cannot add to a fixed-length list")); + }, + insert$2: function(receiver, index, value) { + H.instanceType(receiver)._eval$1("FixedLengthListMixin.E")._as(value); + throw H.wrapException(P.UnsupportedError$("Cannot add to a fixed-length list")); + }, + insertAll$2: function(receiver, at, iterable) { + H.instanceType(receiver)._eval$1("Iterable")._as(iterable); + throw H.wrapException(P.UnsupportedError$("Cannot add to a fixed-length list")); + }, + addAll$1: function(receiver, iterable) { + H.instanceType(receiver)._eval$1("Iterable")._as(iterable); + throw H.wrapException(P.UnsupportedError$("Cannot add to a fixed-length list")); + }, + remove$1: function(receiver, element) { + throw H.wrapException(P.UnsupportedError$("Cannot remove from a fixed-length list")); + }, + removeWhere$1: function(receiver, test) { + H.instanceType(receiver)._eval$1("bool(FixedLengthListMixin.E)")._as(test); + throw H.wrapException(P.UnsupportedError$("Cannot remove from a fixed-length list")); + }, + clear$0: function(receiver) { + throw H.wrapException(P.UnsupportedError$("Cannot clear a fixed-length list")); + }, + removeAt$1: function(receiver, index) { + throw H.wrapException(P.UnsupportedError$("Cannot remove from a fixed-length list")); + }, + removeLast$0: function(receiver) { + throw H.wrapException(P.UnsupportedError$("Cannot remove from a fixed-length list")); + }, + removeRange$2: function(receiver, start, end) { + throw H.wrapException(P.UnsupportedError$("Cannot remove from a fixed-length list")); + } + }; + H.UnmodifiableListMixin.prototype = { + $indexSet: function(_, index, value) { + H._asIntS(index); + H._instanceType(this)._eval$1("UnmodifiableListMixin.E")._as(value); + throw H.wrapException(P.UnsupportedError$("Cannot modify an unmodifiable list")); + }, + set$length: function(_, newLength) { + throw H.wrapException(P.UnsupportedError$("Cannot change the length of an unmodifiable list")); + }, + setAll$2: function(_, at, iterable) { + H._instanceType(this)._eval$1("Iterable")._as(iterable); + throw H.wrapException(P.UnsupportedError$("Cannot modify an unmodifiable list")); + }, + add$1: function(_, value) { + H._instanceType(this)._eval$1("UnmodifiableListMixin.E")._as(value); + throw H.wrapException(P.UnsupportedError$("Cannot add to an unmodifiable list")); + }, + insert$2: function(_, index, element) { + H._instanceType(this)._eval$1("UnmodifiableListMixin.E")._as(element); + throw H.wrapException(P.UnsupportedError$("Cannot add to an unmodifiable list")); + }, + insertAll$2: function(_, at, iterable) { + H._instanceType(this)._eval$1("Iterable")._as(iterable); + throw H.wrapException(P.UnsupportedError$("Cannot add to an unmodifiable list")); + }, + addAll$1: function(_, iterable) { + H._instanceType(this)._eval$1("Iterable")._as(iterable); + throw H.wrapException(P.UnsupportedError$("Cannot add to an unmodifiable list")); + }, + remove$1: function(_, element) { + throw H.wrapException(P.UnsupportedError$("Cannot remove from an unmodifiable list")); + }, + removeWhere$1: function(_, test) { + H._instanceType(this)._eval$1("bool(UnmodifiableListMixin.E)")._as(test); + throw H.wrapException(P.UnsupportedError$("Cannot remove from an unmodifiable list")); + }, + sort$1: function(_, compare) { + H._instanceType(this)._eval$1("int(UnmodifiableListMixin.E,UnmodifiableListMixin.E)?")._as(compare); + throw H.wrapException(P.UnsupportedError$("Cannot modify an unmodifiable list")); + }, + sort$0: function($receiver) { + return this.sort$1($receiver, null); + }, + clear$0: function(_) { + throw H.wrapException(P.UnsupportedError$("Cannot clear an unmodifiable list")); + }, + removeAt$1: function(_, index) { + throw H.wrapException(P.UnsupportedError$("Cannot remove from an unmodifiable list")); + }, + removeLast$0: function(_) { + throw H.wrapException(P.UnsupportedError$("Cannot remove from an unmodifiable list")); + }, + setRange$4: function(_, start, end, iterable, skipCount) { + H._asIntS(end); + H._instanceType(this)._eval$1("Iterable")._as(iterable); + throw H.wrapException(P.UnsupportedError$("Cannot modify an unmodifiable list")); + }, + setRange$3: function($receiver, start, end, iterable) { + return this.setRange$4($receiver, start, end, iterable, 0); + }, + removeRange$2: function(_, start, end) { + throw H.wrapException(P.UnsupportedError$("Cannot remove from an unmodifiable list")); + }, + fillRange$3: function(_, start, end, fillValue) { + H._instanceType(this)._eval$1("UnmodifiableListMixin.E?")._as(fillValue); + throw H.wrapException(P.UnsupportedError$("Cannot modify an unmodifiable list")); + } + }; + H.UnmodifiableListBase.prototype = {}; + H.ReversedListIterable.prototype = { + get$length: function(_) { + return J.get$length$asx(this._source); + }, + elementAt$1: function(_, index) { + var t1 = this._source, + t2 = J.getInterceptor$asx(t1), + t3 = t2.get$length(t1); + if (typeof t3 !== "number") + return t3.$sub(); + if (typeof index !== "number") + return H.iae(index); + return t2.elementAt$1(t1, t3 - 1 - index); + } + }; + H.Symbol.prototype = { + get$hashCode: function(_) { + var hash = this._hashCode; + if (hash != null) + return hash; + hash = 664597 * J.get$hashCode$(this.__internal$_name) & 536870911; + this._hashCode = hash; + return hash; + }, + toString$0: function(_) { + return 'Symbol("' + H.S(this.__internal$_name) + '")'; + }, + $eq: function(_, other) { + if (other == null) + return false; + return other instanceof H.Symbol && this.__internal$_name == other.__internal$_name; + }, + $isSymbol0: 1 + }; + H.__CastListBase__CastIterableBase_ListMixin.prototype = {}; + H.ConstantMapView.prototype = {}; + H.ConstantMap.prototype = { + cast$2$0: function(_, RK, RV) { + var t1 = H._instanceType(this); + return P.Map_castFrom(this, t1._precomputed1, t1._rest[1], RK, RV); + }, + get$isEmpty: function(_) { + return this.get$length(this) === 0; + }, + get$isNotEmpty: function(_) { + return this.get$length(this) !== 0; + }, + toString$0: function(_) { + return P.MapBase_mapToString(this); + }, + $indexSet: function(_, key, val) { + var t1 = H._instanceType(this); + t1._precomputed1._as(key); + t1._rest[1]._as(val); + H.ConstantMap__throwUnmodifiable(); + H.ReachabilityError$(string$.x60null_); + }, + remove$1: function(_, key) { + H.ConstantMap__throwUnmodifiable(); + H.ReachabilityError$(string$.x60null_); + }, + get$entries: function(_) { + return this.entries$body$ConstantMap(_, H._instanceType(this)._eval$1("MapEntry<1,2>")); + }, + entries$body$ConstantMap: function($async$_, $async$type) { + var $async$self = this; + return P._makeSyncStarIterable(function() { + var _ = $async$_; + var $async$goto = 0, $async$handler = 1, $async$currentError, t1, t2, key, t3; + return function $async$get$entries($async$errorCode, $async$result) { + if ($async$errorCode === 1) { + $async$currentError = $async$result; + $async$goto = $async$handler; + } + while (true) + switch ($async$goto) { + case 0: + // Function start + t1 = $async$self.get$keys($async$self), t1 = t1.get$iterator(t1), t2 = H._instanceType($async$self), t2 = t2._eval$1("@<1>")._bind$1(t2._rest[1])._eval$1("MapEntry<1,2>"); + case 2: + // for condition + if (!t1.moveNext$0()) { + // goto after for + $async$goto = 3; + break; + } + key = t1.get$current(t1); + t3 = $async$self.$index(0, key); + t3.toString; + $async$goto = 4; + return new P.MapEntry(key, t3, t2); + case 4: + // after yield + // goto for condition + $async$goto = 2; + break; + case 3: + // after for + // implicit return + return P._IterationMarker_endOfIteration(); + case 1: + // rethrow + return P._IterationMarker_uncaughtError($async$currentError); + } + }; + }, $async$type); + }, + map$2$1: function(_, transform, K2, V2) { + var result = P.LinkedHashMap_LinkedHashMap$_empty(K2, V2); + this.forEach$1(0, new H.ConstantMap_map_closure(this, H._instanceType(this)._bind$1(K2)._bind$1(V2)._eval$1("MapEntry<1,2>(3,4)")._as(transform), result)); + return result; + }, + map$1: function($receiver, transform) { + return this.map$2$1($receiver, transform, type$.dynamic, type$.dynamic); + }, + removeWhere$1: function(_, test) { + H._instanceType(this)._eval$1("bool(1,2)")._as(test); + H.ConstantMap__throwUnmodifiable(); + H.ReachabilityError$(string$.x60null_); + }, + $isMap: 1 + }; + H.ConstantMap_map_closure.prototype = { + call$2: function(key, value) { + var t1 = H._instanceType(this.$this), + entry = this.transform.call$2(t1._precomputed1._as(key), t1._rest[1]._as(value)); + this.result.$indexSet(0, entry.key, entry.value); + }, + $signature: function() { + return H._instanceType(this.$this)._eval$1("~(1,2)"); + } + }; + H.ConstantStringMap.prototype = { + get$length: function(_) { + return this.__js_helper$_length; + }, + containsKey$1: function(_, key) { + if (typeof key != "string") + return false; + if ("__proto__" === key) + return false; + return this._jsObject.hasOwnProperty(key); + }, + $index: function(_, key) { + if (!this.containsKey$1(0, key)) + return null; + return this._fetch$1(key); + }, + _fetch$1: function(key) { + return this._jsObject[H._asStringS(key)]; + }, + forEach$1: function(_, f) { + var keys, t2, i, key, + t1 = H._instanceType(this); + t1._eval$1("~(1,2)")._as(f); + keys = this.__js_helper$_keys; + for (t2 = keys.length, t1 = t1._rest[1], i = 0; i < t2; ++i) { + key = keys[i]; + f.call$2(key, t1._as(this._fetch$1(key))); + } + }, + get$keys: function(_) { + return new H._ConstantMapKeyIterable(this, H._instanceType(this)._eval$1("_ConstantMapKeyIterable<1>")); + }, + get$values: function(_) { + var t1 = H._instanceType(this); + return H.MappedIterable_MappedIterable(this.__js_helper$_keys, new H.ConstantStringMap_values_closure(this), t1._precomputed1, t1._rest[1]); + } + }; + H.ConstantStringMap_values_closure.prototype = { + call$1: function(key) { + var t1 = this.$this, + t2 = H._instanceType(t1); + return t2._rest[1]._as(t1._fetch$1(t2._precomputed1._as(key))); + }, + $signature: function() { + return H._instanceType(this.$this)._eval$1("2(1)"); + } + }; + H._ConstantMapKeyIterable.prototype = { + get$iterator: function(_) { + var t1 = this._map.__js_helper$_keys; + return new J.ArrayIterator(t1, t1.length, H._arrayInstanceType(t1)._eval$1("ArrayIterator<1>")); + }, + get$length: function(_) { + return this._map.__js_helper$_keys.length; + } + }; + H.GeneralConstantMap.prototype = { + _getMap$0: function() { + var t1, _this = this, + backingMap = _this.$map; + if (backingMap == null) { + t1 = _this.$ti; + backingMap = new H.JsLinkedHashMap(t1._eval$1("@<1>")._bind$1(t1._rest[1])._eval$1("JsLinkedHashMap<1,2>")); + H.fillLiteralMap(_this._jsData, backingMap); + _this.$map = backingMap; + } + return backingMap; + }, + containsKey$1: function(_, key) { + return this._getMap$0().containsKey$1(0, key); + }, + $index: function(_, key) { + return this._getMap$0().$index(0, key); + }, + forEach$1: function(_, f) { + this.$ti._eval$1("~(1,2)")._as(f); + this._getMap$0().forEach$1(0, f); + }, + get$keys: function(_) { + var t1 = this._getMap$0(); + return t1.get$keys(t1); + }, + get$values: function(_) { + var t1 = this._getMap$0(); + return t1.get$values(t1); + }, + get$length: function(_) { + var t1 = this._getMap$0(); + return t1.get$length(t1); + } + }; + H.Instantiation.prototype = { + Instantiation$1: function(_genericClosure) { + if (false) + H.instantiatedGenericFunctionType(0, 0); + }, + toString$0: function(_) { + var types = "<" + C.JSArray_methods.join$1([H.createRuntimeType(this.$ti._precomputed1)], ", ") + ">"; + return H.S(this._genericClosure) + " with " + types; + } + }; + H.Instantiation1.prototype = { + call$2: function(a0, a1) { + return this._genericClosure.call$1$2(a0, a1, this.$ti._rest[0]); + }, + call$0: function() { + return this._genericClosure.call$1$0(this.$ti._rest[0]); + }, + $signature: function() { + return H.instantiatedGenericFunctionType(H.closureFunctionType(this._genericClosure), this.$ti); + } + }; + H.JSInvocationMirror.prototype = { + get$memberName: function() { + var t1 = this._memberName; + if (type$.Symbol._is(t1)) + return t1; + return this._memberName = new H.Symbol(H._asStringS(t1)); + }, + get$positionalArguments: function() { + var t1, t2, t3, t4, t5, argumentCount, list, index, _this = this; + if (_this.__js_helper$_kind === 1) + return C.List_empty; + t1 = _this._arguments; + t2 = J.getInterceptor$asx(t1); + t3 = t2.get$length(t1); + t4 = J.get$length$asx(_this._namedArgumentNames); + if (typeof t3 !== "number") + return t3.$sub(); + if (typeof t4 !== "number") + return H.iae(t4); + t5 = _this._typeArgumentCount; + if (typeof t5 !== "number") + return H.iae(t5); + argumentCount = t3 - t4 - t5; + if (argumentCount === 0) + return C.List_empty; + list = []; + for (index = 0; index < argumentCount; ++index) + list.push(t2.$index(t1, index)); + return J.JSArray_markUnmodifiableList(list); + }, + get$namedArguments: function() { + var t1, t2, namedArgumentCount, t3, t4, t5, t6, namedArgumentsStartIndex, map, i, _this = this; + if (_this.__js_helper$_kind !== 0) + return C.Map_empty4; + t1 = _this._namedArgumentNames; + t2 = J.getInterceptor$asx(t1); + namedArgumentCount = t2.get$length(t1); + t3 = _this._arguments; + t4 = J.getInterceptor$asx(t3); + t5 = t4.get$length(t3); + if (typeof t5 !== "number") + return t5.$sub(); + if (typeof namedArgumentCount !== "number") + return H.iae(namedArgumentCount); + t6 = _this._typeArgumentCount; + if (typeof t6 !== "number") + return H.iae(t6); + namedArgumentsStartIndex = t5 - namedArgumentCount - t6; + if (namedArgumentCount === 0) + return C.Map_empty4; + map = new H.JsLinkedHashMap(type$.JsLinkedHashMap_Symbol_dynamic); + for (i = 0; i < namedArgumentCount; ++i) + map.$indexSet(0, new H.Symbol(H._asStringS(t2.$index(t1, i))), t4.$index(t3, namedArgumentsStartIndex + i)); + return new H.ConstantMapView(map, type$.ConstantMapView_Symbol_dynamic); + }, + $isInvocation: 1 + }; + H.Primitives_functionNoSuchMethod_closure.prototype = { + call$2: function($name, argument) { + var t1; + H._asStringS($name); + t1 = this._box_0; + t1.names = t1.names + "$" + H.S($name); + C.JSArray_methods.add$1(this.namedArgumentList, $name); + C.JSArray_methods.add$1(this.$arguments, argument); + ++t1.argumentCount; + }, + $signature: 31 + }; + H.TypeErrorDecoder.prototype = { + matchTypeError$1: function(message) { + var result, t1, _this = this, + match = new RegExp(_this._pattern).exec(message); + if (match == null) + return null; + result = Object.create(null); + t1 = _this._arguments; + if (t1 !== -1) + result.arguments = match[t1 + 1]; + t1 = _this._argumentsExpr; + if (t1 !== -1) + result.argumentsExpr = match[t1 + 1]; + t1 = _this._expr; + if (t1 !== -1) + result.expr = match[t1 + 1]; + t1 = _this._method; + if (t1 !== -1) + result.method = match[t1 + 1]; + t1 = _this._receiver; + if (t1 !== -1) + result.receiver = match[t1 + 1]; + return result; + } + }; + H.NullError.prototype = { + toString$0: function(_) { + var t1 = this._method; + if (t1 == null) + return "NoSuchMethodError: " + H.S(this.__js_helper$_message); + return "NoSuchMethodError: method not found: '" + t1 + "' on null"; + }, + $isNoSuchMethodError: 1 + }; + H.JsNoSuchMethodError.prototype = { + toString$0: function(_) { + var t2, _this = this, + _s38_ = "NoSuchMethodError: method not found: '", + t1 = _this._method; + if (t1 == null) + return "NoSuchMethodError: " + H.S(_this.__js_helper$_message); + t2 = _this._receiver; + if (t2 == null) + return _s38_ + t1 + "' (" + H.S(_this.__js_helper$_message) + ")"; + return _s38_ + t1 + "' on '" + t2 + "' (" + H.S(_this.__js_helper$_message) + ")"; + }, + $isNoSuchMethodError: 1 + }; + H.UnknownJsTypeError.prototype = { + toString$0: function(_) { + var t1 = this.__js_helper$_message; + return t1.length === 0 ? "Error" : "Error: " + t1; + } + }; + H.NullThrownFromJavaScriptException.prototype = { + toString$0: function(_) { + return "Throw of null ('" + (this._irritant === null ? "null" : "undefined") + "' from JavaScript)"; + }, + $isException: 1 + }; + H.ExceptionAndStackTrace.prototype = { + get$stackTrace: function() { + return this.stackTrace; + } + }; + H._StackTrace.prototype = { + toString$0: function(_) { + var trace, + t1 = this._trace; + if (t1 != null) + return t1; + t1 = this._exception; + trace = t1 !== null && typeof t1 === "object" ? t1.stack : null; + return this._trace = trace == null ? "" : trace; + }, + $isStackTrace: 1 + }; + H.Closure.prototype = { + toString$0: function(_) { + var $constructor = this.constructor, + $name = $constructor == null ? null : $constructor.name; + return "Closure '" + H.unminifyOrTag($name == null ? "unknown" : $name) + "'"; + }, + $isFunction: 1, + get$$call: function() { + return this; + }, + "call*": "call$1", + $requiredArgCount: 1, + $defaultValues: null + }; + H.TearOffClosure.prototype = {}; + H.StaticClosure.prototype = { + toString$0: function(_) { + var $name = this.$static_name; + if ($name == null) + return "Closure of unknown static method"; + return "Closure '" + H.unminifyOrTag($name) + "'"; + } + }; + H.BoundClosure.prototype = { + $eq: function(_, other) { + var _this = this; + if (other == null) + return false; + if (_this === other) + return true; + if (!(other instanceof H.BoundClosure)) + return false; + return _this._self === other._self && _this._target === other._target && _this._receiver === other._receiver; + }, + get$hashCode: function(_) { + var receiverHashCode, + t1 = this._receiver; + if (t1 == null) + receiverHashCode = H.Primitives_objectHashCode(this._self); + else + receiverHashCode = typeof t1 !== "object" ? J.get$hashCode$(t1) : H.Primitives_objectHashCode(t1); + t1 = H.Primitives_objectHashCode(this._target); + if (typeof receiverHashCode !== "number") + return receiverHashCode.$xor(); + return (receiverHashCode ^ t1) >>> 0; + }, + toString$0: function(_) { + var receiver = this._receiver; + if (receiver == null) + receiver = this._self; + return "Closure '" + H.S(this._name) + "' of " + ("Instance of '" + H.S(H.Primitives_objectTypeName(receiver)) + "'"); + } + }; + H.RuntimeError.prototype = { + toString$0: function(_) { + return "RuntimeError: " + this.message; + }, + get$message: function(receiver) { + return this.message; + } + }; + H._AssertionError.prototype = { + toString$0: function(_) { + return "Assertion failed: " + P.Error_safeToString(this.message); + } + }; + H._Required.prototype = {}; + H.JsLinkedHashMap.prototype = { + get$length: function(_) { + return this.__js_helper$_length; + }, + get$isEmpty: function(_) { + return this.__js_helper$_length === 0; + }, + get$isNotEmpty: function(_) { + return !this.get$isEmpty(this); + }, + get$keys: function(_) { + return new H.LinkedHashMapKeyIterable(this, H._instanceType(this)._eval$1("LinkedHashMapKeyIterable<1>")); + }, + get$values: function(_) { + var _this = this, + t1 = H._instanceType(_this); + return H.MappedIterable_MappedIterable(_this.get$keys(_this), new H.JsLinkedHashMap_values_closure(_this), t1._precomputed1, t1._rest[1]); + }, + containsKey$1: function(_, key) { + var strings, nums, _this = this; + if (typeof key == "string") { + strings = _this._strings; + if (strings == null) + return false; + return _this._containsTableEntry$2(strings, key); + } else if (typeof key == "number" && (key & 0x3ffffff) === key) { + nums = _this._nums; + if (nums == null) + return false; + return _this._containsTableEntry$2(nums, key); + } else + return _this.internalContainsKey$1(key); + }, + internalContainsKey$1: function(key) { + var _this = this, + rest = _this.__js_helper$_rest; + if (rest == null) + return false; + return _this.internalFindBucketIndex$2(_this._getTableBucket$2(rest, _this.internalComputeHashCode$1(key)), key) >= 0; + }, + addAll$1: function(_, other) { + J.forEach$1$ax(H._instanceType(this)._eval$1("Map<1,2>")._as(other), new H.JsLinkedHashMap_addAll_closure(this)); + }, + $index: function(_, key) { + var strings, cell, t1, nums, _this = this, _null = null; + if (typeof key == "string") { + strings = _this._strings; + if (strings == null) + return _null; + cell = _this._getTableCell$2(strings, key); + t1 = cell == null ? _null : cell.hashMapCellValue; + return t1; + } else if (typeof key == "number" && (key & 0x3ffffff) === key) { + nums = _this._nums; + if (nums == null) + return _null; + cell = _this._getTableCell$2(nums, key); + t1 = cell == null ? _null : cell.hashMapCellValue; + return t1; + } else + return _this.internalGet$1(key); + }, + internalGet$1: function(key) { + var bucket, index, _this = this, + rest = _this.__js_helper$_rest; + if (rest == null) + return null; + bucket = _this._getTableBucket$2(rest, _this.internalComputeHashCode$1(key)); + index = _this.internalFindBucketIndex$2(bucket, key); + if (index < 0) + return null; + return bucket[index].hashMapCellValue; + }, + $indexSet: function(_, key, value) { + var strings, nums, _this = this, + t1 = H._instanceType(_this); + t1._precomputed1._as(key); + t1._rest[1]._as(value); + if (typeof key == "string") { + strings = _this._strings; + _this._addHashTableEntry$3(strings == null ? _this._strings = _this._newHashTable$0() : strings, key, value); + } else if (typeof key == "number" && (key & 0x3ffffff) === key) { + nums = _this._nums; + _this._addHashTableEntry$3(nums == null ? _this._nums = _this._newHashTable$0() : nums, key, value); + } else + _this.internalSet$2(key, value); + }, + internalSet$2: function(key, value) { + var rest, hash, bucket, index, _this = this, + t1 = H._instanceType(_this); + t1._precomputed1._as(key); + t1._rest[1]._as(value); + rest = _this.__js_helper$_rest; + if (rest == null) + rest = _this.__js_helper$_rest = _this._newHashTable$0(); + hash = _this.internalComputeHashCode$1(key); + bucket = _this._getTableBucket$2(rest, hash); + if (bucket == null) + _this._setTableEntry$3(rest, hash, [_this._newLinkedCell$2(key, value)]); + else { + index = _this.internalFindBucketIndex$2(bucket, key); + if (index >= 0) + bucket[index].hashMapCellValue = value; + else + bucket.push(_this._newLinkedCell$2(key, value)); + } + }, + putIfAbsent$2: function(_, key, ifAbsent) { + var value, _this = this, + t1 = H._instanceType(_this); + t1._precomputed1._as(key); + t1._eval$1("2()")._as(ifAbsent); + if (_this.containsKey$1(0, key)) + return _this.$index(0, key); + value = ifAbsent.call$0(); + _this.$indexSet(0, key, value); + return value; + }, + remove$1: function(_, key) { + var _this = this; + if (typeof key == "string") + return _this._removeHashTableEntry$2(_this._strings, key); + else if (typeof key == "number" && (key & 0x3ffffff) === key) + return _this._removeHashTableEntry$2(_this._nums, key); + else + return _this.internalRemove$1(key); + }, + internalRemove$1: function(key) { + var hash, bucket, index, cell, _this = this, + rest = _this.__js_helper$_rest; + if (rest == null) + return null; + hash = _this.internalComputeHashCode$1(key); + bucket = _this._getTableBucket$2(rest, hash); + index = _this.internalFindBucketIndex$2(bucket, key); + if (index < 0) + return null; + cell = bucket.splice(index, 1)[0]; + _this._unlinkCell$1(cell); + if (bucket.length === 0) + _this._deleteTableEntry$2(rest, hash); + return cell.hashMapCellValue; + }, + clear$0: function(_) { + var _this = this; + if (_this.__js_helper$_length > 0) { + _this._strings = _this._nums = _this.__js_helper$_rest = _this._first = _this._last = null; + _this.__js_helper$_length = 0; + _this._modified$0(); + } + }, + forEach$1: function(_, action) { + var cell, modifications, _this = this; + H._instanceType(_this)._eval$1("~(1,2)")._as(action); + cell = _this._first; + modifications = _this._modifications; + for (; cell != null;) { + action.call$2(cell.hashMapCellKey, cell.hashMapCellValue); + if (modifications !== _this._modifications) + throw H.wrapException(P.ConcurrentModificationError$(_this)); + cell = cell._next; + } + }, + _addHashTableEntry$3: function(table, key, value) { + var cell, _this = this, + t1 = H._instanceType(_this); + t1._precomputed1._as(key); + t1._rest[1]._as(value); + cell = _this._getTableCell$2(table, key); + if (cell == null) + _this._setTableEntry$3(table, key, _this._newLinkedCell$2(key, value)); + else + cell.hashMapCellValue = value; + }, + _removeHashTableEntry$2: function(table, key) { + var cell; + if (table == null) + return null; + cell = this._getTableCell$2(table, key); + if (cell == null) + return null; + this._unlinkCell$1(cell); + this._deleteTableEntry$2(table, key); + return cell.hashMapCellValue; + }, + _modified$0: function() { + this._modifications = this._modifications + 1 & 67108863; + }, + _newLinkedCell$2: function(key, value) { + var _this = this, + t1 = H._instanceType(_this), + cell = new H.LinkedHashMapCell(t1._precomputed1._as(key), t1._rest[1]._as(value)); + if (_this._first == null) + _this._first = _this._last = cell; + else { + t1 = _this._last; + t1.toString; + cell._previous = t1; + _this._last = t1._next = cell; + } + ++_this.__js_helper$_length; + _this._modified$0(); + return cell; + }, + _unlinkCell$1: function(cell) { + var _this = this, + previous = cell._previous, + next = cell._next; + if (previous == null) + _this._first = next; + else + previous._next = next; + if (next == null) + _this._last = previous; + else + next._previous = previous; + --_this.__js_helper$_length; + _this._modified$0(); + }, + internalComputeHashCode$1: function(key) { + return J.get$hashCode$(key) & 0x3ffffff; + }, + internalFindBucketIndex$2: function(bucket, key) { + var $length, i; + if (bucket == null) + return -1; + $length = bucket.length; + for (i = 0; i < $length; ++i) + if (J.$eq$(bucket[i].hashMapCellKey, key)) + return i; + return -1; + }, + toString$0: function(_) { + return P.MapBase_mapToString(this); + }, + _getTableCell$2: function(table, key) { + return table[key]; + }, + _getTableBucket$2: function(table, key) { + return table[key]; + }, + _setTableEntry$3: function(table, key, value) { + table[key] = value; + }, + _deleteTableEntry$2: function(table, key) { + delete table[key]; + }, + _containsTableEntry$2: function(table, key) { + return this._getTableCell$2(table, key) != null; + }, + _newHashTable$0: function() { + var _s20_ = "", + table = Object.create(null); + this._setTableEntry$3(table, _s20_, table); + this._deleteTableEntry$2(table, _s20_); + return table; + }, + $isLinkedHashMap: 1 + }; + H.JsLinkedHashMap_values_closure.prototype = { + call$1: function(each) { + var t1 = this.$this; + return t1.$index(0, H._instanceType(t1)._precomputed1._as(each)); + }, + $signature: function() { + return H._instanceType(this.$this)._eval$1("2(1)"); + } + }; + H.JsLinkedHashMap_addAll_closure.prototype = { + call$2: function(key, value) { + var t1 = this.$this, + t2 = H._instanceType(t1); + t1.$indexSet(0, t2._precomputed1._as(key), t2._rest[1]._as(value)); + }, + $signature: function() { + return H._instanceType(this.$this)._eval$1("~(1,2)"); + } + }; + H.LinkedHashMapCell.prototype = {}; + H.LinkedHashMapKeyIterable.prototype = { + get$length: function(_) { + return this._map.__js_helper$_length; + }, + get$isEmpty: function(_) { + return this._map.__js_helper$_length === 0; + }, + get$iterator: function(_) { + var t1 = this._map, + t2 = new H.LinkedHashMapKeyIterator(t1, t1._modifications, this.$ti._eval$1("LinkedHashMapKeyIterator<1>")); + t2._cell = t1._first; + return t2; + }, + contains$1: function(_, element) { + return this._map.containsKey$1(0, element); + }, + forEach$1: function(_, f) { + var t1, cell, modifications; + this.$ti._eval$1("~(1)")._as(f); + t1 = this._map; + cell = t1._first; + modifications = t1._modifications; + for (; cell != null;) { + f.call$1(cell.hashMapCellKey); + if (modifications !== t1._modifications) + throw H.wrapException(P.ConcurrentModificationError$(t1)); + cell = cell._next; + } + } + }; + H.LinkedHashMapKeyIterator.prototype = { + get$current: function(_) { + return this.__js_helper$_current; + }, + moveNext$0: function() { + var cell, _this = this, + t1 = _this._map; + if (_this._modifications !== t1._modifications) + throw H.wrapException(P.ConcurrentModificationError$(t1)); + cell = _this._cell; + if (cell == null) { + _this.set$__js_helper$_current(null); + return false; + } else { + _this.set$__js_helper$_current(cell.hashMapCellKey); + _this._cell = cell._next; + return true; + } + }, + set$__js_helper$_current: function(_current) { + this.__js_helper$_current = this.$ti._eval$1("1?")._as(_current); + }, + $isIterator: 1 + }; + H.initHooks_closure.prototype = { + call$1: function(o) { + return this.getTag(o); + }, + $signature: 14 + }; + H.initHooks_closure0.prototype = { + call$2: function(o, tag) { + return this.getUnknownTag(o, tag); + }, + $signature: 354 + }; + H.initHooks_closure1.prototype = { + call$1: function(tag) { + return this.prototypeForTag(H._asStringS(tag)); + }, + $signature: 380 + }; + H.JSSyntaxRegExp.prototype = { + toString$0: function(_) { + return "RegExp/" + this.pattern + "/" + this._nativeRegExp.flags; + }, + get$_nativeGlobalVersion: function() { + var _this = this, + t1 = _this._nativeGlobalRegExp; + if (t1 != null) + return t1; + t1 = _this._nativeRegExp; + return _this._nativeGlobalRegExp = H.JSSyntaxRegExp_makeNative(_this.pattern, t1.multiline, !t1.ignoreCase, t1.unicode, t1.dotAll, true); + }, + get$_nativeAnchoredVersion: function() { + var _this = this, + t1 = _this._nativeAnchoredRegExp; + if (t1 != null) + return t1; + t1 = _this._nativeRegExp; + return _this._nativeAnchoredRegExp = H.JSSyntaxRegExp_makeNative(_this.pattern + "|()", t1.multiline, !t1.ignoreCase, t1.unicode, t1.dotAll, true); + }, + firstMatch$1: function(string) { + var m; + if (typeof string != "string") + H.throwExpression(H.argumentErrorValue(string)); + m = this._nativeRegExp.exec(string); + if (m == null) + return null; + return new H._MatchImplementation(m); + }, + allMatches$2: function(_, string, start) { + var t1 = string.length; + if (start > t1) + throw H.wrapException(P.RangeError$range(start, 0, t1, null, null)); + return new H._AllMatchesIterable(this, string, start); + }, + allMatches$1: function($receiver, string) { + return this.allMatches$2($receiver, string, 0); + }, + _execGlobal$2: function(string, start) { + var match, + regexp = this.get$_nativeGlobalVersion(); + regexp.lastIndex = start; + match = regexp.exec(string); + if (match == null) + return null; + return new H._MatchImplementation(match); + }, + _execAnchored$2: function(string, start) { + var match, + regexp = this.get$_nativeAnchoredVersion(); + regexp.lastIndex = start; + match = regexp.exec(string); + if (match == null) + return null; + if (0 >= match.length) + return H.ioore(match, -1); + if (match.pop() != null) + return null; + return new H._MatchImplementation(match); + }, + matchAsPrefix$2: function(_, string, start) { + if (start < 0 || start > string.length) + throw H.wrapException(P.RangeError$range(start, 0, string.length, null, null)); + return this._execAnchored$2(string, start); + }, + $isPattern: 1, + $isRegExp: 1 + }; + H._MatchImplementation.prototype = { + get$start: function(_) { + return this._match.index; + }, + get$end: function(_) { + var t1 = this._match; + return t1.index + t1[0].length; + }, + group$1: function(index) { + return C.JSArray_methods.$index(this._match, index); + }, + $index: function(_, index) { + return C.JSArray_methods.$index(this._match, H._asIntS(index)); + }, + $isMatch: 1, + $isRegExpMatch: 1 + }; + H._AllMatchesIterable.prototype = { + get$iterator: function(_) { + return new H._AllMatchesIterator(this._re, this._string, this.__js_helper$_start); + } + }; + H._AllMatchesIterator.prototype = { + get$current: function(_) { + return this.__js_helper$_current; + }, + moveNext$0: function() { + var t1, t2, t3, match, nextIndex, _this = this, + string = _this._string; + if (string == null) + return false; + t1 = _this._nextIndex; + t2 = string.length; + if (t1 <= t2) { + t3 = _this._regExp; + match = t3._execGlobal$2(string, t1); + if (match != null) { + _this.__js_helper$_current = match; + nextIndex = match.get$end(match); + if (match._match.index === nextIndex) { + if (t3._nativeRegExp.unicode) { + t1 = _this._nextIndex; + t3 = t1 + 1; + if (t3 < t2) { + t1 = C.JSString_methods.codeUnitAt$1(string, t1); + if (t1 >= 55296 && t1 <= 56319) { + t1 = C.JSString_methods.codeUnitAt$1(string, t3); + t1 = t1 >= 56320 && t1 <= 57343; + } else + t1 = false; + } else + t1 = false; + } else + t1 = false; + nextIndex = (t1 ? nextIndex + 1 : nextIndex) + 1; + } + _this._nextIndex = nextIndex; + return true; + } + } + _this._string = _this.__js_helper$_current = null; + return false; + }, + $isIterator: 1 + }; + H.StringMatch.prototype = { + get$end: function(_) { + return this.start + this.pattern.length; + }, + $index: function(_, g) { + H._asIntS(g); + if (g !== 0) + H.throwExpression(P.RangeError$value(g, null, null)); + return this.pattern; + }, + group$1: function(group_) { + if (group_ !== 0) + throw H.wrapException(P.RangeError$value(group_, null, null)); + return this.pattern; + }, + $isMatch: 1, + get$start: function(receiver) { + return this.start; + } + }; + H._StringAllMatchesIterable.prototype = { + get$iterator: function(_) { + return new H._StringAllMatchesIterator(this._input, this._pattern, this.__js_helper$_index); + }, + get$first: function(_) { + var t1 = this._pattern, + index = this._input.indexOf(t1, this.__js_helper$_index); + if (index >= 0) + return new H.StringMatch(index, t1); + throw H.wrapException(H.IterableElementError_noElement()); + } + }; + H._StringAllMatchesIterator.prototype = { + moveNext$0: function() { + var index, end, _this = this, + t1 = _this.__js_helper$_index, + t2 = _this._pattern, + t3 = t2.length, + t4 = _this._input, + t5 = t4.length; + if (t1 + t3 > t5) { + _this.__js_helper$_current = null; + return false; + } + index = t4.indexOf(t2, t1); + if (index < 0) { + _this.__js_helper$_index = t5 + 1; + _this.__js_helper$_current = null; + return false; + } + end = index + t3; + _this.__js_helper$_current = new H.StringMatch(index, t2); + _this.__js_helper$_index = end === _this.__js_helper$_index ? end + 1 : end; + return true; + }, + get$current: function(_) { + var t1 = this.__js_helper$_current; + t1.toString; + return t1; + }, + $isIterator: 1 + }; + H.NativeByteBuffer.prototype = { + get$runtimeType: function(receiver) { + return C.Type_ByteBuffer_RkP; + }, + asUint8List$2: function(receiver, offsetInBytes, $length) { + H._checkViewArguments(receiver, offsetInBytes, $length); + return $length == null ? new Uint8Array(receiver, offsetInBytes) : new Uint8Array(receiver, offsetInBytes, $length); + }, + asByteData$2: function(receiver, offsetInBytes, $length) { + var t1; + H._checkViewArguments(receiver, offsetInBytes, $length); + t1 = new DataView(receiver, offsetInBytes, $length); + return t1; + }, + $isNativeByteBuffer: 1, + $isByteBuffer: 1 + }; + H.NativeTypedData.prototype = { + get$buffer: function(receiver) { + return receiver.buffer; + }, + get$lengthInBytes: function(receiver) { + return receiver.byteLength; + }, + get$offsetInBytes: function(receiver) { + return receiver.byteOffset; + }, + _invalidPosition$3: function(receiver, position, $length, $name) { + if (!H._isInt(position)) + throw H.wrapException(P.ArgumentError$value(position, $name, "Invalid list position")); + else + throw H.wrapException(P.RangeError$range(position, 0, $length, $name, null)); + }, + _checkPosition$3: function(receiver, position, $length, $name) { + if (position >>> 0 !== position || position > $length) + this._invalidPosition$3(receiver, position, $length, $name); + }, + $isNativeTypedData: 1, + $isTypedData: 1 + }; + H.NativeByteData.prototype = { + get$runtimeType: function(receiver) { + return C.Type_ByteData_zNC; + }, + getUint32$2: function(receiver, byteOffset, endian) { + return this._getUint32$2(receiver, byteOffset, C.C_Endian === endian); + }, + _getUint32$2: function(receiver, byteOffset, littleEndian) { + return receiver.getUint32(byteOffset, littleEndian); + }, + setUint32$3: function(receiver, byteOffset, value, endian) { + return this._setUint32$3(receiver, byteOffset, value, C.C_Endian === endian); + }, + _setUint32$3: function(receiver, byteOffset, value, littleEndian) { + return receiver.setUint32(byteOffset, value, littleEndian); + }, + $isByteData: 1 + }; + H.NativeTypedArray.prototype = { + get$length: function(receiver) { + return receiver.length; + }, + _setRangeFast$4: function(receiver, start, end, source, skipCount) { + var count, sourceLength, + targetLength = receiver.length; + this._checkPosition$3(receiver, start, targetLength, "start"); + this._checkPosition$3(receiver, end, targetLength, "end"); + if (typeof start !== "number") + return start.$gt(); + if (typeof end !== "number") + return H.iae(end); + if (start > end) + throw H.wrapException(P.RangeError$range(start, 0, end, null, null)); + count = end - start; + if (typeof skipCount !== "number") + return skipCount.$lt(); + if (skipCount < 0) + throw H.wrapException(P.ArgumentError$(skipCount)); + sourceLength = source.length; + if (sourceLength - skipCount < count) + throw H.wrapException(P.StateError$("Not enough elements")); + if (skipCount !== 0 || sourceLength !== count) + source = source.subarray(skipCount, skipCount + count); + receiver.set(source, start); + }, + $isJSIndexable: 1, + $isJavaScriptIndexingBehavior: 1 + }; + H.NativeTypedArrayOfDouble.prototype = { + $index: function(receiver, index) { + H._asIntS(index); + H._checkValidIndex(index, receiver, receiver.length); + return receiver[index]; + }, + $indexSet: function(receiver, index, value) { + H._asIntS(index); + H._asDoubleS(value); + H._checkValidIndex(index, receiver, receiver.length); + receiver[index] = value; + }, + setRange$4: function(receiver, start, end, iterable, skipCount) { + H._asIntS(end); + type$.Iterable_double._as(iterable); + if (type$.NativeTypedArrayOfDouble._is(iterable)) { + this._setRangeFast$4(receiver, start, end, iterable, skipCount); + return; + } + this.super$ListMixin$setRange(receiver, start, end, iterable, skipCount); + }, + setRange$3: function($receiver, start, end, iterable) { + return this.setRange$4($receiver, start, end, iterable, 0); + }, + $isEfficientLengthIterable: 1, + $isIterable: 1, + $isList: 1 + }; + H.NativeTypedArrayOfInt.prototype = { + $indexSet: function(receiver, index, value) { + H._asIntS(index); + H._asIntS(value); + H._checkValidIndex(index, receiver, receiver.length); + receiver[index] = value; + }, + setRange$4: function(receiver, start, end, iterable, skipCount) { + H._asIntS(end); + type$.Iterable_int._as(iterable); + if (type$.NativeTypedArrayOfInt._is(iterable)) { + this._setRangeFast$4(receiver, start, end, iterable, skipCount); + return; + } + this.super$ListMixin$setRange(receiver, start, end, iterable, skipCount); + }, + setRange$3: function($receiver, start, end, iterable) { + return this.setRange$4($receiver, start, end, iterable, 0); + }, + $isEfficientLengthIterable: 1, + $isIterable: 1, + $isList: 1 + }; + H.NativeFloat32List.prototype = { + get$runtimeType: function(receiver) { + return C.Type_Float32List_LB7; + }, + sublist$2: function(receiver, start, end) { + return new Float32Array(receiver.subarray(start, H._checkValidRange(start, end, receiver.length))); + }, + sublist$1: function($receiver, start) { + return this.sublist$2($receiver, start, null); + } + }; + H.NativeFloat64List.prototype = { + get$runtimeType: function(receiver) { + return C.Type_Float64List_LB7; + }, + sublist$2: function(receiver, start, end) { + return new Float64Array(receiver.subarray(start, H._checkValidRange(start, end, receiver.length))); + }, + sublist$1: function($receiver, start) { + return this.sublist$2($receiver, start, null); + } + }; + H.NativeInt16List.prototype = { + get$runtimeType: function(receiver) { + return C.Type_Int16List_uXf; + }, + $index: function(receiver, index) { + H._asIntS(index); + H._checkValidIndex(index, receiver, receiver.length); + return receiver[index]; + }, + sublist$2: function(receiver, start, end) { + return new Int16Array(receiver.subarray(start, H._checkValidRange(start, end, receiver.length))); + }, + sublist$1: function($receiver, start) { + return this.sublist$2($receiver, start, null); + } + }; + H.NativeInt32List.prototype = { + get$runtimeType: function(receiver) { + return C.Type_Int32List_O50; + }, + $index: function(receiver, index) { + H._asIntS(index); + H._checkValidIndex(index, receiver, receiver.length); + return receiver[index]; + }, + sublist$2: function(receiver, start, end) { + return new Int32Array(receiver.subarray(start, H._checkValidRange(start, end, receiver.length))); + }, + sublist$1: function($receiver, start) { + return this.sublist$2($receiver, start, null); + }, + $isInt32List: 1 + }; + H.NativeInt8List.prototype = { + get$runtimeType: function(receiver) { + return C.Type_Int8List_ekJ; + }, + $index: function(receiver, index) { + H._asIntS(index); + H._checkValidIndex(index, receiver, receiver.length); + return receiver[index]; + }, + sublist$2: function(receiver, start, end) { + return new Int8Array(receiver.subarray(start, H._checkValidRange(start, end, receiver.length))); + }, + sublist$1: function($receiver, start) { + return this.sublist$2($receiver, start, null); + } + }; + H.NativeUint16List.prototype = { + get$runtimeType: function(receiver) { + return C.Type_Uint16List_2bx; + }, + $index: function(receiver, index) { + H._asIntS(index); + H._checkValidIndex(index, receiver, receiver.length); + return receiver[index]; + }, + sublist$2: function(receiver, start, end) { + return new Uint16Array(receiver.subarray(start, H._checkValidRange(start, end, receiver.length))); + }, + sublist$1: function($receiver, start) { + return this.sublist$2($receiver, start, null); + }, + $isUint16List: 1 + }; + H.NativeUint32List.prototype = { + get$runtimeType: function(receiver) { + return C.Type_Uint32List_2bx; + }, + $index: function(receiver, index) { + H._asIntS(index); + H._checkValidIndex(index, receiver, receiver.length); + return receiver[index]; + }, + sublist$2: function(receiver, start, end) { + return new Uint32Array(receiver.subarray(start, H._checkValidRange(start, end, receiver.length))); + }, + sublist$1: function($receiver, start) { + return this.sublist$2($receiver, start, null); + }, + $isUint32List: 1 + }; + H.NativeUint8ClampedList.prototype = { + get$runtimeType: function(receiver) { + return C.Type_Uint8ClampedList_Jik; + }, + get$length: function(receiver) { + return receiver.length; + }, + $index: function(receiver, index) { + H._asIntS(index); + H._checkValidIndex(index, receiver, receiver.length); + return receiver[index]; + }, + sublist$2: function(receiver, start, end) { + return new Uint8ClampedArray(receiver.subarray(start, H._checkValidRange(start, end, receiver.length))); + }, + sublist$1: function($receiver, start) { + return this.sublist$2($receiver, start, null); + } + }; + H.NativeUint8List.prototype = { + get$runtimeType: function(receiver) { + return C.Type_Uint8List_WLA; + }, + get$length: function(receiver) { + return receiver.length; + }, + $index: function(receiver, index) { + H._asIntS(index); + H._checkValidIndex(index, receiver, receiver.length); + return receiver[index]; + }, + sublist$2: function(receiver, start, end) { + return new Uint8Array(receiver.subarray(start, H._checkValidRange(start, end, receiver.length))); + }, + sublist$1: function($receiver, start) { + return this.sublist$2($receiver, start, null); + }, + $isNativeUint8List: 1, + $isUint8List: 1 + }; + H._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin.prototype = {}; + H._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin_FixedLengthListMixin.prototype = {}; + H._NativeTypedArrayOfInt_NativeTypedArray_ListMixin.prototype = {}; + H._NativeTypedArrayOfInt_NativeTypedArray_ListMixin_FixedLengthListMixin.prototype = {}; + H.Rti.prototype = { + _eval$1: function(recipe) { + return H._Universe_evalInEnvironment(init.typeUniverse, this, recipe); + }, + _bind$1: function(typeOrTuple) { + return H._Universe_bind(init.typeUniverse, this, typeOrTuple); + } + }; + H._FunctionParameters.prototype = {}; + H._Type.prototype = { + toString$0: function(_) { + return H._rtiToString(this._rti, null); + }, + $isType: 1 + }; + H._Error.prototype = { + toString$0: function(_) { + return this.__rti$_message; + } + }; + H._TypeError.prototype = { + get$message: function(_) { + return this.__rti$_message; + } + }; + P._AsyncRun__initializeScheduleImmediate_internalCallback.prototype = { + call$1: function(_) { + var t1 = this._box_0, + f = t1.storedCallback; + t1.storedCallback = null; + f.call$0(); + }, + $signature: 32 + }; + P._AsyncRun__initializeScheduleImmediate_closure.prototype = { + call$1: function(callback) { + var t1, t2; + this._box_0.storedCallback = type$.void_Function._as(callback); + t1 = this.div; + t2 = this.span; + t1.firstChild ? t1.removeChild(t2) : t1.appendChild(t2); + }, + $signature: 273 + }; + P._AsyncRun__scheduleImmediateJsOverride_internalCallback.prototype = { + call$0: function() { + this.callback.call$0(); + }, + "call*": "call$0", + $requiredArgCount: 0, + $signature: 12 + }; + P._AsyncRun__scheduleImmediateWithSetImmediate_internalCallback.prototype = { + call$0: function() { + this.callback.call$0(); + }, + "call*": "call$0", + $requiredArgCount: 0, + $signature: 12 + }; + P._TimerImpl.prototype = { + _TimerImpl$2: function(milliseconds, callback) { + if (self.setTimeout != null) + this._handle = self.setTimeout(H.convertDartClosureToJS(new P._TimerImpl_internalCallback(this, callback), 0), milliseconds); + else + throw H.wrapException(P.UnsupportedError$("`setTimeout()` not found.")); + }, + _TimerImpl$periodic$2: function(milliseconds, callback) { + if (self.setTimeout != null) + this._handle = self.setInterval(H.convertDartClosureToJS(new P._TimerImpl$periodic_closure(this, milliseconds, Date.now(), callback), 0), milliseconds); + else + throw H.wrapException(P.UnsupportedError$("Periodic timer.")); + }, + cancel$0: function(_) { + var t1; + if (self.setTimeout != null) { + t1 = this._handle; + if (t1 == null) + return; + if (this._once) + self.clearTimeout(t1); + else + self.clearInterval(t1); + this._handle = null; + } else + throw H.wrapException(P.UnsupportedError$("Canceling a timer.")); + }, + $isTimer: 1 + }; + P._TimerImpl_internalCallback.prototype = { + call$0: function() { + var t1 = this.$this; + t1._handle = null; + t1._tick = 1; + this.callback.call$0(); + }, + "call*": "call$0", + $requiredArgCount: 0, + $signature: 0 + }; + P._TimerImpl$periodic_closure.prototype = { + call$0: function() { + var duration, _this = this, + t1 = _this.$this, + tick = t1._tick + 1, + t2 = _this.milliseconds; + if (t2 > 0) { + duration = Date.now() - _this.start; + if (duration > (tick + 1) * t2) + tick = C.JSInt_methods.$tdiv(duration, t2); + } + t1._tick = tick; + _this.callback.call$1(t1); + }, + "call*": "call$0", + $requiredArgCount: 0, + $signature: 12 + }; + P._AsyncAwaitCompleter.prototype = { + complete$1: function(_, value) { + var t2, _this = this, + t1 = _this.$ti; + t1._eval$1("1/?")._as(value); + if (!_this.isSync) + _this._future._asyncComplete$1(value); + else { + t2 = _this._future; + if (t1._eval$1("Future<1>")._is(value)) + t2._chainFuture$1(value); + else + t2._completeWithValue$1(t1._precomputed1._as(value)); + } + }, + completeError$2: function(e, st) { + var t1; + if (st == null) + st = P.AsyncError_defaultStackTrace(e); + t1 = this._future; + if (this.isSync) + t1._completeError$2(e, st); + else + t1._asyncCompleteError$2(e, st); + }, + $isCompleter: 1 + }; + P._awaitOnObject_closure.prototype = { + call$1: function(result) { + return this.bodyFunction.call$2(0, result); + }, + $signature: 36 + }; + P._awaitOnObject_closure0.prototype = { + call$2: function(error, stackTrace) { + this.bodyFunction.call$2(1, new H.ExceptionAndStackTrace(error, type$.StackTrace._as(stackTrace))); + }, + "call*": "call$2", + $requiredArgCount: 2, + $signature: 250 + }; + P._wrapJsFunctionForAsync_closure.prototype = { + call$2: function(errorCode, result) { + this.$protected(H._asIntS(errorCode), result); + }, + $signature: 254 + }; + P._IterationMarker.prototype = { + toString$0: function(_) { + return "IterationMarker(" + this.state + ", " + H.S(this.value) + ")"; + }, + get$value: function(receiver) { + return this.value; + } + }; + P._SyncStarIterator.prototype = { + get$current: function(_) { + var nested = this._nestedIterator; + if (nested == null) + return this.$ti._precomputed1._as(this._async$_current); + return nested.get$current(nested); + }, + moveNext$0: function() { + var t1, t2, value, state, suspendedBodies, inner, _this = this; + for (t1 = _this.$ti._eval$1("Iterator<1>"); true;) { + t2 = _this._nestedIterator; + if (t2 != null) + if (t2.moveNext$0()) + return true; + else + _this.set$_nestedIterator(null); + value = function(body, SUCCESS, ERROR) { + var errorValue, + errorCode = SUCCESS; + while (true) + try { + return body(errorCode, errorValue); + } catch (error) { + errorValue = error; + errorCode = ERROR; + } + }(_this._body, 0, 1); + if (value instanceof P._IterationMarker) { + state = value.state; + if (state === 2) { + suspendedBodies = _this._suspendedBodies; + if (suspendedBodies == null || suspendedBodies.length === 0) { + _this.set$_async$_current(null); + return false; + } + if (0 >= suspendedBodies.length) + return H.ioore(suspendedBodies, -1); + _this._body = suspendedBodies.pop(); + continue; + } else { + t2 = value.value; + if (state === 3) + throw t2; + else { + inner = t1._as(J.get$iterator$ax(t2)); + if (inner instanceof P._SyncStarIterator) { + t2 = _this._suspendedBodies; + if (t2 == null) + t2 = _this._suspendedBodies = []; + C.JSArray_methods.add$1(t2, _this._body); + _this._body = inner._body; + continue; + } else { + _this.set$_nestedIterator(inner); + continue; + } + } + } + } else { + _this.set$_async$_current(value); + return true; + } + } + return false; + }, + set$_async$_current: function(_current) { + this._async$_current = this.$ti._eval$1("1?")._as(_current); + }, + set$_nestedIterator: function(_nestedIterator) { + this._nestedIterator = this.$ti._eval$1("Iterator<1>?")._as(_nestedIterator); + }, + $isIterator: 1 + }; + P._SyncStarIterable.prototype = { + get$iterator: function(_) { + return new P._SyncStarIterator(this._outerHelper(), this.$ti._eval$1("_SyncStarIterator<1>")); + } + }; + P.AsyncError.prototype = { + toString$0: function(_) { + return H.S(this.error); + }, + $isError: 1, + get$stackTrace: function() { + return this.stackTrace; + } + }; + P._BroadcastStream.prototype = {}; + P._BroadcastSubscription.prototype = { + _onPause$0: function() { + }, + _onResume$0: function() { + }, + set$_async$_next: function(_next) { + this._async$_next = this.$ti._eval$1("_BroadcastSubscription<1>?")._as(_next); + }, + set$_async$_previous: function(_previous) { + this._async$_previous = this.$ti._eval$1("_BroadcastSubscription<1>?")._as(_previous); + } + }; + P._BroadcastStreamController.prototype = { + get$_mayAddEvent: function() { + return this._async$_state < 4; + }, + _removeListener$1: function(subscription) { + var previous, next; + H._instanceType(this)._eval$1("_BroadcastSubscription<1>")._as(subscription); + previous = subscription._async$_previous; + next = subscription._async$_next; + if (previous == null) + this.set$_firstSubscription(next); + else + previous.set$_async$_next(next); + if (next == null) + this.set$_lastSubscription(previous); + else + next.set$_async$_previous(previous); + subscription.set$_async$_previous(subscription); + subscription.set$_async$_next(subscription); + }, + _subscribe$4: function(onData, onError, onDone, cancelOnError) { + var t2, t3, t4, t5, t6, subscription, oldLast, _this = this, + t1 = H._instanceType(_this); + t1._eval$1("~(1)?")._as(onData); + type$.nullable_void_Function._as(onDone); + if ((_this._async$_state & 4) !== 0) { + t1 = new P._DoneStreamSubscription($.Zone__current, onDone, t1._eval$1("_DoneStreamSubscription<1>")); + t1._schedule$0(); + return t1; + } + t2 = $.Zone__current; + t3 = cancelOnError ? 1 : 0; + t4 = P._BufferingStreamSubscription__registerDataHandler(t2, onData, t1._precomputed1); + t5 = P._BufferingStreamSubscription__registerErrorHandler(t2, onError); + t6 = onDone == null ? P.async___nullDoneHandler$closure() : onDone; + t1 = t1._eval$1("_BroadcastSubscription<1>"); + subscription = new P._BroadcastSubscription(_this, t4, t5, type$.void_Function._as(t6), t2, t3, t1); + subscription.set$_async$_previous(subscription); + subscription.set$_async$_next(subscription); + t1._as(subscription); + subscription._eventState = _this._async$_state & 1; + oldLast = _this._lastSubscription; + _this.set$_lastSubscription(subscription); + subscription.set$_async$_next(null); + subscription.set$_async$_previous(oldLast); + if (oldLast == null) + _this.set$_firstSubscription(subscription); + else + oldLast.set$_async$_next(subscription); + if (_this._firstSubscription == _this._lastSubscription) + P._runGuarded(_this.onListen); + return subscription; + }, + _recordCancel$1: function(sub) { + var _this = this, + t1 = H._instanceType(_this); + sub = t1._eval$1("_BroadcastSubscription<1>")._as(t1._eval$1("StreamSubscription<1>")._as(sub)); + if (sub._async$_next === sub) + return null; + t1 = sub._eventState; + if ((t1 & 2) !== 0) + sub._eventState = t1 | 4; + else { + _this._removeListener$1(sub); + if ((_this._async$_state & 2) === 0 && _this._firstSubscription == null) + _this._callOnCancel$0(); + } + return null; + }, + _recordPause$1: function(subscription) { + H._instanceType(this)._eval$1("StreamSubscription<1>")._as(subscription); + }, + _recordResume$1: function(subscription) { + H._instanceType(this)._eval$1("StreamSubscription<1>")._as(subscription); + }, + _addEventError$0: function() { + if ((this._async$_state & 4) !== 0) + return new P.StateError("Cannot add new events after calling close"); + return new P.StateError("Cannot add new events while doing an addStream"); + }, + add$1: function(_, data) { + var _this = this; + H._instanceType(_this)._precomputed1._as(data); + if (!_this.get$_mayAddEvent()) + throw H.wrapException(_this._addEventError$0()); + _this._sendData$1(data); + }, + _forEachListener$1: function(action) { + var t1, subscription, id, next, _this = this; + H._instanceType(_this)._eval$1("~(_BufferingStreamSubscription<1>)")._as(action); + t1 = _this._async$_state; + if ((t1 & 2) !== 0) + throw H.wrapException(P.StateError$(string$.Cannotf)); + subscription = _this._firstSubscription; + if (subscription == null) + return; + id = t1 & 1; + _this._async$_state = t1 ^ 3; + for (; subscription != null;) { + t1 = subscription._eventState; + if ((t1 & 1) === id) { + subscription._eventState = t1 | 2; + action.call$1(subscription); + t1 = subscription._eventState ^= 1; + next = subscription._async$_next; + if ((t1 & 4) !== 0) + _this._removeListener$1(subscription); + subscription._eventState &= 4294967293; + subscription = next; + } else + subscription = subscription._async$_next; + } + _this._async$_state &= 4294967293; + if (_this._firstSubscription == null) + _this._callOnCancel$0(); + }, + _callOnCancel$0: function() { + if ((this._async$_state & 4) !== 0) + if (null.get$_mayComplete()) + null._asyncComplete$1(null); + P._runGuarded(this.onCancel); + }, + set$_firstSubscription: function(_firstSubscription) { + this._firstSubscription = H._instanceType(this)._eval$1("_BroadcastSubscription<1>?")._as(_firstSubscription); + }, + set$_lastSubscription: function(_lastSubscription) { + this._lastSubscription = H._instanceType(this)._eval$1("_BroadcastSubscription<1>?")._as(_lastSubscription); + }, + $isStreamController: 1, + $is_StreamControllerLifecycle: 1, + $is_EventSink: 1, + $is_EventDispatch: 1 + }; + P._SyncBroadcastStreamController.prototype = { + get$_mayAddEvent: function() { + return P._BroadcastStreamController.prototype.get$_mayAddEvent.call(this) && (this._async$_state & 2) === 0; + }, + _addEventError$0: function() { + if ((this._async$_state & 2) !== 0) + return new P.StateError(string$.Cannotf); + return this.super$_BroadcastStreamController$_addEventError(); + }, + _sendData$1: function(data) { + var t2, _this = this, + t1 = _this.$ti; + t1._precomputed1._as(data); + t2 = _this._firstSubscription; + if (t2 == null) + return; + if (t2 === _this._lastSubscription) { + _this._async$_state |= 2; + t1._eval$1("_BroadcastSubscription<1>")._as(t2)._async$_add$1(0, data); + _this._async$_state &= 4294967293; + if (_this._firstSubscription == null) + _this._callOnCancel$0(); + return; + } + _this._forEachListener$1(new P._SyncBroadcastStreamController__sendData_closure(_this, data)); + } + }; + P._SyncBroadcastStreamController__sendData_closure.prototype = { + call$1: function(subscription) { + this.$this.$ti._eval$1("_BufferingStreamSubscription<1>")._as(subscription)._async$_add$1(0, this.data); + }, + $signature: function() { + return this.$this.$ti._eval$1("~(_BufferingStreamSubscription<1>)"); + } + }; + P._AsyncBroadcastStreamController.prototype = { + _sendData$1: function(data) { + var subscription, + t1 = this.$ti; + t1._precomputed1._as(data); + for (subscription = this._firstSubscription, t1 = t1._eval$1("_DelayedData<1>"); subscription != null; subscription = subscription._async$_next) + subscription._addPending$1(new P._DelayedData(data, t1)); + } + }; + P.Future_Future_closure.prototype = { + call$0: function() { + var e, s, exception; + try { + this.result._complete$1(this.computation.call$0()); + } catch (exception) { + e = H.unwrapException(exception); + s = H.getTraceFromException(exception); + P._completeWithErrorCallback(this.result, e, s); + } + }, + $signature: 0 + }; + P.Future_Future$delayed_closure.prototype = { + call$0: function() { + var e, s, exception, _this = this, + t1 = _this.computation; + if (t1 == null) + _this.result._complete$1(null); + else + try { + _this.result._complete$1(t1.call$0()); + } catch (exception) { + e = H.unwrapException(exception); + s = H.getTraceFromException(exception); + P._completeWithErrorCallback(_this.result, e, s); + } + }, + $signature: 0 + }; + P.Future_wait__error_set.prototype = { + call$1: function(t1) { + return this._box_0._error = t1; + }, + $signature: 257 + }; + P.Future_wait__stackTrace_set.prototype = { + call$1: function(t1) { + return this._box_0._stackTrace = type$.StackTrace._as(t1); + }, + $signature: 261 + }; + P.Future_wait__error_get.prototype = { + call$0: function() { + var t1 = this._box_0._error; + return t1 === $ ? H.throwExpression(H.LateError$localNI("error")) : t1; + }, + $signature: 262 + }; + P.Future_wait__stackTrace_get.prototype = { + call$0: function() { + var t1 = this._box_0._stackTrace; + return t1 === $ ? H.throwExpression(H.LateError$localNI("stackTrace")) : t1; + }, + $signature: 267 + }; + P.Future_wait_handleError.prototype = { + call$2: function(theError, theStackTrace) { + var t1, t2, _this = this; + type$.StackTrace._as(theStackTrace); + t1 = _this._box_0; + t2 = --t1.remaining; + if (t1.values != null) { + t1.values = null; + if (t1.remaining === 0 || _this.eagerError) + _this._future._completeError$2(theError, theStackTrace); + else { + _this._error_set.call$1(theError); + _this._stackTrace_set.call$1(theStackTrace); + } + } else if (t2 === 0 && !_this.eagerError) + _this._future._completeError$2(_this._error_get.call$0(), _this._stackTrace_get.call$0()); + }, + "call*": "call$2", + $requiredArgCount: 2, + $signature: 97 + }; + P.Future_wait_closure.prototype = { + call$1: function(value) { + var valueList, t2, _this = this, + t1 = _this.T; + t1._as(value); + t2 = _this._box_0; + --t2.remaining; + valueList = t2.values; + if (valueList != null) { + J.$indexSet$ax(valueList, _this.pos, value); + if (t2.remaining === 0) + _this._future._completeWithValue$1(P.List_List$from(valueList, true, t1)); + } else if (t2.remaining === 0 && !_this.eagerError) + _this._future._completeError$2(_this._error_get.call$0(), _this._stackTrace_get.call$0()); + }, + $signature: function() { + return this.T._eval$1("Null(0)"); + } + }; + P._Completer.prototype = { + completeError$2: function(error, stackTrace) { + type$.nullable_StackTrace._as(stackTrace); + H.checkNotNullable(error, "error", type$.Object); + if (this.future._async$_state !== 0) + throw H.wrapException(P.StateError$("Future already completed")); + if (stackTrace == null) + stackTrace = P.AsyncError_defaultStackTrace(error); + this._completeError$2(error, stackTrace); + }, + completeError$1: function(error) { + return this.completeError$2(error, null); + }, + $isCompleter: 1 + }; + P._AsyncCompleter.prototype = { + complete$1: function(_, value) { + var t2, + t1 = this.$ti; + t1._eval$1("1/?")._as(value); + t2 = this.future; + if (t2._async$_state !== 0) + throw H.wrapException(P.StateError$("Future already completed")); + t2._asyncComplete$1(t1._eval$1("1/")._as(value)); + }, + complete$0: function($receiver) { + return this.complete$1($receiver, null); + }, + _completeError$2: function(error, stackTrace) { + this.future._asyncCompleteError$2(error, stackTrace); + } + }; + P._SyncCompleter.prototype = { + complete$1: function(_, value) { + var t2, + t1 = this.$ti; + t1._eval$1("1/?")._as(value); + t2 = this.future; + if (t2._async$_state !== 0) + throw H.wrapException(P.StateError$("Future already completed")); + t2._complete$1(t1._eval$1("1/")._as(value)); + }, + _completeError$2: function(error, stackTrace) { + this.future._completeError$2(error, stackTrace); + } + }; + P._FutureListener.prototype = { + matchesErrorTest$1: function(asyncError) { + if ((this.state & 15) !== 6) + return true; + return this.result._zone.runUnary$2$2(type$.bool_Function_Object._as(this.callback), asyncError.error, type$.bool, type$.Object); + }, + handleError$1: function(asyncError) { + var errorCallback = this.errorCallback, + t1 = type$.dynamic, + t2 = type$.Object, + t3 = this.$ti._eval$1("2/"), + t4 = this.result._zone; + if (type$.dynamic_Function_Object_StackTrace._is(errorCallback)) + return t3._as(t4.runBinary$3$3(errorCallback, asyncError.error, asyncError.stackTrace, t1, t2, type$.StackTrace)); + else + return t3._as(t4.runUnary$2$2(type$.dynamic_Function_Object._as(errorCallback), asyncError.error, t1, t2)); + } + }; + P._Future.prototype = { + then$1$2$onError: function(_, f, onError, $R) { + var currentZone, result, t2, + t1 = this.$ti; + t1._bind$1($R)._eval$1("1/(2)")._as(f); + currentZone = $.Zone__current; + if (currentZone !== C.C__RootZone) { + $R._eval$1("@<0/>")._bind$1(t1._precomputed1)._eval$1("1(2)")._as(f); + if (onError != null) + onError = P._registerErrorHandler(onError, currentZone); + } + result = new P._Future(currentZone, $R._eval$1("_Future<0>")); + t2 = onError == null ? 1 : 3; + this._addListener$1(new P._FutureListener(result, t2, f, onError, t1._eval$1("@<1>")._bind$1($R)._eval$1("_FutureListener<1,2>"))); + return result; + }, + then$1$1: function($receiver, f, $R) { + return this.then$1$2$onError($receiver, f, null, $R); + }, + _thenAwait$1$2: function(f, onError, $E) { + var result, + t1 = this.$ti; + t1._bind$1($E)._eval$1("1/(2)")._as(f); + result = new P._Future($.Zone__current, $E._eval$1("_Future<0>")); + this._addListener$1(new P._FutureListener(result, 19, f, onError, t1._eval$1("@<1>")._bind$1($E)._eval$1("_FutureListener<1,2>"))); + return result; + }, + whenComplete$1: function(action) { + var t1, result; + type$.dynamic_Function._as(action); + t1 = this.$ti; + result = new P._Future($.Zone__current, t1); + this._addListener$1(new P._FutureListener(result, 8, action, null, t1._eval$1("@<1>")._bind$1(t1._precomputed1)._eval$1("_FutureListener<1,2>"))); + return result; + }, + _addListener$1: function(listener) { + var source, _this = this, + t1 = _this._async$_state; + if (t1 <= 1) { + listener._nextListener = type$.nullable__FutureListener_dynamic_dynamic._as(_this._resultOrListeners); + _this._resultOrListeners = listener; + } else { + if (t1 === 2) { + source = type$._Future_dynamic._as(_this._resultOrListeners); + t1 = source._async$_state; + if (t1 < 4) { + source._addListener$1(listener); + return; + } + _this._async$_state = t1; + _this._resultOrListeners = source._resultOrListeners; + } + P._rootScheduleMicrotask(null, null, _this._zone, type$.void_Function._as(new P._Future__addListener_closure(_this, listener))); + } + }, + _prependListeners$1: function(listeners) { + var t1, existingListeners, next, cursor, next0, source, _this = this, _box_0 = {}; + _box_0.listeners = listeners; + if (listeners == null) + return; + t1 = _this._async$_state; + if (t1 <= 1) { + existingListeners = type$.nullable__FutureListener_dynamic_dynamic._as(_this._resultOrListeners); + _this._resultOrListeners = listeners; + if (existingListeners != null) { + next = listeners._nextListener; + for (cursor = listeners; next != null; cursor = next, next = next0) + next0 = next._nextListener; + cursor._nextListener = existingListeners; + } + } else { + if (t1 === 2) { + source = type$._Future_dynamic._as(_this._resultOrListeners); + t1 = source._async$_state; + if (t1 < 4) { + source._prependListeners$1(listeners); + return; + } + _this._async$_state = t1; + _this._resultOrListeners = source._resultOrListeners; + } + _box_0.listeners = _this._reverseListeners$1(listeners); + P._rootScheduleMicrotask(null, null, _this._zone, type$.void_Function._as(new P._Future__prependListeners_closure(_box_0, _this))); + } + }, + _removeListeners$0: function() { + var current = type$.nullable__FutureListener_dynamic_dynamic._as(this._resultOrListeners); + this._resultOrListeners = null; + return this._reverseListeners$1(current); + }, + _reverseListeners$1: function(listeners) { + var current, prev, next; + for (current = listeners, prev = null; current != null; prev = current, current = next) { + next = current._nextListener; + current._nextListener = prev; + } + return prev; + }, + _chainForeignFuture$1: function(source) { + var e, s, exception, _this = this; + _this._async$_state = 1; + try { + source.then$1$2$onError(0, new P._Future__chainForeignFuture_closure(_this), new P._Future__chainForeignFuture_closure0(_this), type$.Null); + } catch (exception) { + e = H.unwrapException(exception); + s = H.getTraceFromException(exception); + P.scheduleMicrotask(new P._Future__chainForeignFuture_closure1(_this, e, s)); + } + }, + _complete$1: function(value) { + var listeners, _this = this, + t1 = _this.$ti; + t1._eval$1("1/")._as(value); + if (t1._eval$1("Future<1>")._is(value)) + if (t1._is(value)) + P._Future__chainCoreFuture(value, _this); + else + _this._chainForeignFuture$1(value); + else { + listeners = _this._removeListeners$0(); + t1._precomputed1._as(value); + _this._async$_state = 4; + _this._resultOrListeners = value; + P._Future__propagateToListeners(_this, listeners); + } + }, + _completeWithValue$1: function(value) { + var listeners, _this = this; + _this.$ti._precomputed1._as(value); + listeners = _this._removeListeners$0(); + _this._async$_state = 4; + _this._resultOrListeners = value; + P._Future__propagateToListeners(_this, listeners); + }, + _completeError$2: function(error, stackTrace) { + var listeners, t1, _this = this; + type$.StackTrace._as(stackTrace); + listeners = _this._removeListeners$0(); + t1 = P.AsyncError$(error, stackTrace); + _this._async$_state = 8; + _this._resultOrListeners = t1; + P._Future__propagateToListeners(_this, listeners); + }, + _asyncComplete$1: function(value) { + var t1 = this.$ti; + t1._eval$1("1/")._as(value); + if (t1._eval$1("Future<1>")._is(value)) { + this._chainFuture$1(value); + return; + } + this._asyncCompleteWithValue$1(t1._precomputed1._as(value)); + }, + _asyncCompleteWithValue$1: function(value) { + var _this = this; + _this.$ti._precomputed1._as(value); + _this._async$_state = 1; + P._rootScheduleMicrotask(null, null, _this._zone, type$.void_Function._as(new P._Future__asyncCompleteWithValue_closure(_this, value))); + }, + _chainFuture$1: function(value) { + var _this = this, + t1 = _this.$ti; + t1._eval$1("Future<1>")._as(value); + if (t1._is(value)) { + if (value._async$_state === 8) { + _this._async$_state = 1; + P._rootScheduleMicrotask(null, null, _this._zone, type$.void_Function._as(new P._Future__chainFuture_closure(_this, value))); + } else + P._Future__chainCoreFuture(value, _this); + return; + } + _this._chainForeignFuture$1(value); + }, + _asyncCompleteError$2: function(error, stackTrace) { + type$.StackTrace._as(stackTrace); + this._async$_state = 1; + P._rootScheduleMicrotask(null, null, this._zone, type$.void_Function._as(new P._Future__asyncCompleteError_closure(this, error, stackTrace))); + }, + $isFuture: 1 + }; + P._Future__addListener_closure.prototype = { + call$0: function() { + P._Future__propagateToListeners(this.$this, this.listener); + }, + $signature: 0 + }; + P._Future__prependListeners_closure.prototype = { + call$0: function() { + P._Future__propagateToListeners(this.$this, this._box_0.listeners); + }, + $signature: 0 + }; + P._Future__chainForeignFuture_closure.prototype = { + call$1: function(value) { + var error, stackTrace, exception, + t1 = this.$this; + t1._async$_state = 0; + try { + t1._completeWithValue$1(t1.$ti._precomputed1._as(value)); + } catch (exception) { + error = H.unwrapException(exception); + stackTrace = H.getTraceFromException(exception); + t1._completeError$2(error, stackTrace); + } + }, + $signature: 32 + }; + P._Future__chainForeignFuture_closure0.prototype = { + call$2: function(error, stackTrace) { + this.$this._completeError$2(error, type$.StackTrace._as(stackTrace)); + }, + "call*": "call$2", + $requiredArgCount: 2, + $signature: 293 + }; + P._Future__chainForeignFuture_closure1.prototype = { + call$0: function() { + this.$this._completeError$2(this.e, this.s); + }, + $signature: 0 + }; + P._Future__asyncCompleteWithValue_closure.prototype = { + call$0: function() { + this.$this._completeWithValue$1(this.value); + }, + $signature: 0 + }; + P._Future__chainFuture_closure.prototype = { + call$0: function() { + P._Future__chainCoreFuture(this.value, this.$this); + }, + $signature: 0 + }; + P._Future__asyncCompleteError_closure.prototype = { + call$0: function() { + this.$this._completeError$2(this.error, this.stackTrace); + }, + $signature: 0 + }; + P._Future__propagateToListeners_handleWhenCompleteCallback.prototype = { + call$0: function() { + var e, s, t1, exception, t2, originalSource, _this = this, completeResult = null; + try { + t1 = _this._box_0.listener; + completeResult = t1.result._zone.run$1$1(type$.dynamic_Function._as(t1.callback), type$.dynamic); + } catch (exception) { + e = H.unwrapException(exception); + s = H.getTraceFromException(exception); + if (_this.hasError) { + t1 = type$.AsyncError._as(_this._box_1.source._resultOrListeners).error; + t2 = e; + t2 = t1 == null ? t2 == null : t1 === t2; + t1 = t2; + } else + t1 = false; + t2 = _this._box_0; + if (t1) + t2.listenerValueOrError = type$.AsyncError._as(_this._box_1.source._resultOrListeners); + else + t2.listenerValueOrError = P.AsyncError$(e, s); + t2.listenerHasError = true; + return; + } + if (completeResult instanceof P._Future && completeResult._async$_state >= 4) { + if (completeResult._async$_state === 8) { + t1 = _this._box_0; + t1.listenerValueOrError = type$.AsyncError._as(completeResult._resultOrListeners); + t1.listenerHasError = true; + } + return; + } + if (type$.Future_dynamic._is(completeResult)) { + originalSource = _this._box_1.source; + t1 = _this._box_0; + t1.listenerValueOrError = J.then$1$1$z(completeResult, new P._Future__propagateToListeners_handleWhenCompleteCallback_closure(originalSource), type$.dynamic); + t1.listenerHasError = false; + } + }, + $signature: 0 + }; + P._Future__propagateToListeners_handleWhenCompleteCallback_closure.prototype = { + call$1: function(_) { + return this.originalSource; + }, + $signature: 337 + }; + P._Future__propagateToListeners_handleValueCallback.prototype = { + call$0: function() { + var e, s, t1, t2, t3, t4, t5, exception; + try { + t1 = this._box_0; + t2 = t1.listener; + t3 = t2.$ti; + t4 = t3._precomputed1; + t5 = t4._as(this.sourceResult); + t1.listenerValueOrError = t2.result._zone.runUnary$2$2(t3._eval$1("2/(1)")._as(t2.callback), t5, t3._eval$1("2/"), t4); + } catch (exception) { + e = H.unwrapException(exception); + s = H.getTraceFromException(exception); + t1 = this._box_0; + t1.listenerValueOrError = P.AsyncError$(e, s); + t1.listenerHasError = true; + } + }, + $signature: 0 + }; + P._Future__propagateToListeners_handleError.prototype = { + call$0: function() { + var asyncError, e, s, t1, exception, t2, t3, t4, _this = this; + try { + asyncError = type$.AsyncError._as(_this._box_1.source._resultOrListeners); + t1 = _this._box_0; + if (H.boolConversionCheck(t1.listener.matchesErrorTest$1(asyncError)) && t1.listener.errorCallback != null) { + t1.listenerValueOrError = t1.listener.handleError$1(asyncError); + t1.listenerHasError = false; + } + } catch (exception) { + e = H.unwrapException(exception); + s = H.getTraceFromException(exception); + t1 = type$.AsyncError._as(_this._box_1.source._resultOrListeners); + t2 = t1.error; + t3 = e; + t4 = _this._box_0; + if (t2 == null ? t3 == null : t2 === t3) + t4.listenerValueOrError = t1; + else + t4.listenerValueOrError = P.AsyncError$(e, s); + t4.listenerHasError = true; + } + }, + $signature: 0 + }; + P._AsyncCallbackEntry.prototype = {}; + P.Stream.prototype = { + map$1$1: function(_, convert, $S) { + var t1 = H._instanceType(this); + return new P._MapStream(t1._bind$1($S)._eval$1("1(Stream.T)")._as(convert), this, t1._eval$1("@")._bind$1($S)._eval$1("_MapStream<1,2>")); + }, + map$1: function($receiver, convert) { + return this.map$1$1($receiver, convert, type$.dynamic); + }, + get$length: function(_) { + var t1 = {}, + future = new P._Future($.Zone__current, type$._Future_int); + t1.count = 0; + this.listen$4$cancelOnError$onDone$onError(new P.Stream_length_closure(t1, this), true, new P.Stream_length_closure0(t1, future), future.get$_completeError()); + return future; + }, + cast$1$0: function(_, $R) { + return new H.CastStream(this, H._instanceType(this)._eval$1("@")._bind$1($R)._eval$1("CastStream<1,2>")); + }, + get$first: function(_) { + var future = new P._Future($.Zone__current, H._instanceType(this)._eval$1("_Future")), + subscription = this.listen$4$cancelOnError$onDone$onError(null, true, new P.Stream_first_closure(future), future.get$_completeError()); + subscription.onData$1(new P.Stream_first_closure0(this, subscription, future)); + return future; + } + }; + P.Stream_Stream$fromIterable_closure.prototype = { + call$0: function() { + var t1 = this.elements; + return new P._IterablePendingEvents(new J.ArrayIterator(t1, 1, H._arrayInstanceType(t1)._eval$1("ArrayIterator<1>")), this.T._eval$1("_IterablePendingEvents<0>")); + }, + $signature: function() { + return this.T._eval$1("_IterablePendingEvents<0>()"); + } + }; + P.Stream_length_closure.prototype = { + call$1: function(_) { + H._instanceType(this.$this)._eval$1("Stream.T")._as(_); + ++this._box_0.count; + }, + $signature: function() { + return H._instanceType(this.$this)._eval$1("~(Stream.T)"); + } + }; + P.Stream_length_closure0.prototype = { + call$0: function() { + this.future._complete$1(this._box_0.count); + }, + "call*": "call$0", + $requiredArgCount: 0, + $signature: 0 + }; + P.Stream_first_closure.prototype = { + call$0: function() { + var e, s, t1, exception; + try { + t1 = H.IterableElementError_noElement(); + throw H.wrapException(t1); + } catch (exception) { + e = H.unwrapException(exception); + s = H.getTraceFromException(exception); + P._completeWithErrorCallback(this.future, e, s); + } + }, + "call*": "call$0", + $requiredArgCount: 0, + $signature: 0 + }; + P.Stream_first_closure0.prototype = { + call$1: function(value) { + P._cancelAndValue(this.subscription, this.future, H._instanceType(this.$this)._eval$1("Stream.T")._as(value)); + }, + $signature: function() { + return H._instanceType(this.$this)._eval$1("~(Stream.T)"); + } + }; + P.StreamSubscription.prototype = {}; + P.StreamView.prototype = { + listen$4$cancelOnError$onDone$onError: function(onData, cancelOnError, onDone, onError) { + return this._stream.listen$4$cancelOnError$onDone$onError(H._instanceType(this)._eval$1("~(StreamView.T)?")._as(onData), cancelOnError, type$.nullable_void_Function._as(onDone), onError); + }, + listen$3$onDone$onError: function(onData, onDone, onError) { + return this.listen$4$cancelOnError$onDone$onError(onData, null, onDone, onError); + }, + listen$3$cancelOnError$onDone: function(onData, cancelOnError, onDone) { + return this.listen$4$cancelOnError$onDone$onError(onData, cancelOnError, onDone, null); + } + }; + P.StreamTransformerBase.prototype = {}; + P._StreamController.prototype = { + get$_pendingEvents: function() { + var t1, _this = this; + if ((_this._async$_state & 8) === 0) + return H._instanceType(_this)._eval$1("_PendingEvents<1>?")._as(_this._varData); + t1 = H._instanceType(_this); + return t1._eval$1("_PendingEvents<1>?")._as(t1._eval$1("_StreamControllerAddStreamState<1>")._as(_this._varData).get$varData()); + }, + _ensurePendingEvents$0: function() { + var events, t1, _this = this; + if ((_this._async$_state & 8) === 0) { + events = _this._varData; + if (events == null) + events = _this._varData = new P._StreamImplEvents(H._instanceType(_this)._eval$1("_StreamImplEvents<1>")); + return H._instanceType(_this)._eval$1("_StreamImplEvents<1>")._as(events); + } + t1 = H._instanceType(_this); + events = t1._eval$1("_StreamControllerAddStreamState<1>")._as(_this._varData).get$varData(); + return t1._eval$1("_StreamImplEvents<1>")._as(events); + }, + get$_subscription: function() { + var varData = this._varData; + if ((this._async$_state & 8) !== 0) + varData = type$._StreamControllerAddStreamState_nullable_Object._as(varData).get$varData(); + return H._instanceType(this)._eval$1("_ControllerSubscription<1>")._as(varData); + }, + _badEventState$0: function() { + if ((this._async$_state & 4) !== 0) + return new P.StateError("Cannot add event after closing"); + return new P.StateError("Cannot add event while adding a stream"); + }, + add$1: function(_, value) { + var t2, _this = this, + t1 = H._instanceType(_this); + t1._precomputed1._as(value); + t2 = _this._async$_state; + if (t2 >= 4) + throw H.wrapException(_this._badEventState$0()); + if ((t2 & 1) !== 0) + _this._sendData$1(value); + else if ((t2 & 3) === 0) + _this._ensurePendingEvents$0().add$1(0, new P._DelayedData(value, t1._eval$1("_DelayedData<1>"))); + }, + _subscribe$4: function(onData, onError, onDone, cancelOnError) { + var subscription, pendingEvents, t2, addState, _this = this, + t1 = H._instanceType(_this); + t1._eval$1("~(1)?")._as(onData); + type$.nullable_void_Function._as(onDone); + if ((_this._async$_state & 3) !== 0) + throw H.wrapException(P.StateError$("Stream has already been listened to.")); + subscription = P._ControllerSubscription$(_this, onData, onError, onDone, cancelOnError, t1._precomputed1); + pendingEvents = _this.get$_pendingEvents(); + t2 = _this._async$_state |= 1; + if ((t2 & 8) !== 0) { + addState = t1._eval$1("_StreamControllerAddStreamState<1>")._as(_this._varData); + addState.set$varData(subscription); + addState.resume$0(0); + } else + _this._varData = subscription; + subscription._setPendingEvents$1(pendingEvents); + subscription._guardCallback$1(new P._StreamController__subscribe_closure(_this)); + return subscription; + }, + _recordCancel$1: function(subscription) { + var result, onCancel, cancelResult, e, s, exception, result0, _this = this, + t1 = H._instanceType(_this); + t1._eval$1("StreamSubscription<1>")._as(subscription); + result = null; + if ((_this._async$_state & 8) !== 0) + result = t1._eval$1("_StreamControllerAddStreamState<1>")._as(_this._varData).cancel$0(0); + _this._varData = null; + _this._async$_state = _this._async$_state & 4294967286 | 2; + onCancel = _this.onCancel; + if (onCancel != null) + if (result == null) + try { + cancelResult = onCancel.call$0(); + if (type$.Future_void._is(cancelResult)) + result = cancelResult; + } catch (exception) { + e = H.unwrapException(exception); + s = H.getTraceFromException(exception); + result0 = new P._Future($.Zone__current, type$._Future_void); + result0._asyncCompleteError$2(e, s); + result = result0; + } + else + result = result.whenComplete$1(onCancel); + t1 = new P._StreamController__recordCancel_complete(_this); + if (result != null) + result = result.whenComplete$1(t1); + else + t1.call$0(); + return result; + }, + _recordPause$1: function(subscription) { + var _this = this, + t1 = H._instanceType(_this); + t1._eval$1("StreamSubscription<1>")._as(subscription); + if ((_this._async$_state & 8) !== 0) + t1._eval$1("_StreamControllerAddStreamState<1>")._as(_this._varData).pause$0(0); + P._runGuarded(_this.onPause); + }, + _recordResume$1: function(subscription) { + var _this = this, + t1 = H._instanceType(_this); + t1._eval$1("StreamSubscription<1>")._as(subscription); + if ((_this._async$_state & 8) !== 0) + t1._eval$1("_StreamControllerAddStreamState<1>")._as(_this._varData).resume$0(0); + P._runGuarded(_this.onResume); + }, + $isStreamController: 1, + $is_StreamControllerLifecycle: 1, + $is_EventSink: 1, + $is_EventDispatch: 1 + }; + P._StreamController__subscribe_closure.prototype = { + call$0: function() { + P._runGuarded(this.$this.onListen); + }, + $signature: 0 + }; + P._StreamController__recordCancel_complete.prototype = { + call$0: function() { + }, + $signature: 0 + }; + P._SyncStreamControllerDispatch.prototype = { + _sendData$1: function(data) { + this.$ti._precomputed1._as(data); + this.get$_subscription()._async$_add$1(0, data); + } + }; + P._SyncStreamController.prototype = {}; + P._ControllerStream.prototype = { + _createSubscription$4: function(onData, onError, onDone, cancelOnError) { + return this._async$_controller._subscribe$4(H._instanceType(this)._eval$1("~(1)?")._as(onData), onError, type$.nullable_void_Function._as(onDone), cancelOnError); + }, + get$hashCode: function(_) { + return (H.Primitives_objectHashCode(this._async$_controller) ^ 892482866) >>> 0; + }, + $eq: function(_, other) { + if (other == null) + return false; + if (this === other) + return true; + return other instanceof P._ControllerStream && other._async$_controller === this._async$_controller; + } + }; + P._ControllerSubscription.prototype = { + _onCancel$0: function() { + return this._async$_controller._recordCancel$1(this); + }, + _onPause$0: function() { + this._async$_controller._recordPause$1(this); + }, + _onResume$0: function() { + this._async$_controller._recordResume$1(this); + } + }; + P._BufferingStreamSubscription.prototype = { + _setPendingEvents$1: function(pendingEvents) { + var _this = this; + H._instanceType(_this)._eval$1("_PendingEvents<_BufferingStreamSubscription.T>?")._as(pendingEvents); + if (pendingEvents == null) + return; + _this.set$_pending(pendingEvents); + if (!pendingEvents.get$isEmpty(pendingEvents)) { + _this._async$_state = (_this._async$_state | 64) >>> 0; + pendingEvents.schedule$1(_this); + } + }, + onData$1: function(handleData) { + var t1 = H._instanceType(this); + this.set$_async$_onData(P._BufferingStreamSubscription__registerDataHandler(this._zone, t1._eval$1("~(_BufferingStreamSubscription.T)?")._as(handleData), t1._eval$1("_BufferingStreamSubscription.T"))); + }, + onError$1: function(_, handleError) { + this._onError = P._BufferingStreamSubscription__registerErrorHandler(this._zone, handleError); + }, + pause$1: function(_, resumeSignal) { + var t2, t3, _this = this, + t1 = _this._async$_state; + if ((t1 & 8) !== 0) + return; + t2 = (t1 + 128 | 4) >>> 0; + _this._async$_state = t2; + if (t1 < 128) { + t3 = _this._pending; + if (t3 != null) + if (t3._async$_state === 1) + t3._async$_state = 3; + } + if ((t1 & 4) === 0 && (t2 & 32) === 0) + _this._guardCallback$1(_this.get$_onPause()); + }, + pause$0: function($receiver) { + return this.pause$1($receiver, null); + }, + resume$0: function(_) { + var _this = this, + t1 = _this._async$_state; + if ((t1 & 8) !== 0) + return; + if (t1 >= 128) { + t1 = _this._async$_state = t1 - 128; + if (t1 < 128) { + if ((t1 & 64) !== 0) { + t1 = _this._pending; + t1 = !t1.get$isEmpty(t1); + } else + t1 = false; + if (t1) + _this._pending.schedule$1(_this); + else { + t1 = (_this._async$_state & 4294967291) >>> 0; + _this._async$_state = t1; + if ((t1 & 32) === 0) + _this._guardCallback$1(_this.get$_onResume()); + } + } + } + }, + cancel$0: function(_) { + var _this = this, + t1 = (_this._async$_state & 4294967279) >>> 0; + _this._async$_state = t1; + if ((t1 & 8) === 0) + _this._cancel$0(); + t1 = _this._cancelFuture; + return t1 == null ? $.$get$Future__nullFuture() : t1; + }, + _cancel$0: function() { + var t2, _this = this, + t1 = _this._async$_state = (_this._async$_state | 8) >>> 0; + if ((t1 & 64) !== 0) { + t2 = _this._pending; + if (t2._async$_state === 1) + t2._async$_state = 3; + } + if ((t1 & 32) === 0) + _this.set$_pending(null); + _this._cancelFuture = _this._onCancel$0(); + }, + _async$_add$1: function(_, data) { + var t2, _this = this, + t1 = H._instanceType(_this); + t1._eval$1("_BufferingStreamSubscription.T")._as(data); + t2 = _this._async$_state; + if ((t2 & 8) !== 0) + return; + if (t2 < 32) + _this._sendData$1(data); + else + _this._addPending$1(new P._DelayedData(data, t1._eval$1("_DelayedData<_BufferingStreamSubscription.T>"))); + }, + _addError$2: function(error, stackTrace) { + var t1 = this._async$_state; + if ((t1 & 8) !== 0) + return; + if (t1 < 32) + this._sendError$2(error, stackTrace); + else + this._addPending$1(new P._DelayedError(error, stackTrace)); + }, + _close$0: function() { + var _this = this, + t1 = _this._async$_state; + if ((t1 & 8) !== 0) + return; + t1 = (t1 | 2) >>> 0; + _this._async$_state = t1; + if (t1 < 32) + _this._sendDone$0(); + else + _this._addPending$1(C.C__DelayedDone); + }, + _onPause$0: function() { + }, + _onResume$0: function() { + }, + _onCancel$0: function() { + return null; + }, + _addPending$1: function($event) { + var _this = this, + t1 = H._instanceType(_this), + pending = t1._eval$1("_StreamImplEvents<_BufferingStreamSubscription.T>?")._as(_this._pending); + if (pending == null) + pending = new P._StreamImplEvents(t1._eval$1("_StreamImplEvents<_BufferingStreamSubscription.T>")); + _this.set$_pending(pending); + pending.add$1(0, $event); + t1 = _this._async$_state; + if ((t1 & 64) === 0) { + t1 = (t1 | 64) >>> 0; + _this._async$_state = t1; + if (t1 < 128) + pending.schedule$1(_this); + } + }, + _sendData$1: function(data) { + var t2, _this = this, + t1 = H._instanceType(_this)._eval$1("_BufferingStreamSubscription.T"); + t1._as(data); + t2 = _this._async$_state; + _this._async$_state = (t2 | 32) >>> 0; + _this._zone.runUnaryGuarded$1$2(_this._async$_onData, data, t1); + _this._async$_state = (_this._async$_state & 4294967263) >>> 0; + _this._checkState$1((t2 & 4) !== 0); + }, + _sendError$2: function(error, stackTrace) { + var t1, t2, cancelFuture, _this = this; + type$.StackTrace._as(stackTrace); + t1 = _this._async$_state; + t2 = new P._BufferingStreamSubscription__sendError_sendError(_this, error, stackTrace); + if ((t1 & 1) !== 0) { + _this._async$_state = (t1 | 16) >>> 0; + _this._cancel$0(); + cancelFuture = _this._cancelFuture; + if (cancelFuture != null && cancelFuture !== $.$get$Future__nullFuture()) + cancelFuture.whenComplete$1(t2); + else + t2.call$0(); + } else { + t2.call$0(); + _this._checkState$1((t1 & 4) !== 0); + } + }, + _sendDone$0: function() { + var cancelFuture, _this = this, + t1 = new P._BufferingStreamSubscription__sendDone_sendDone(_this); + _this._cancel$0(); + _this._async$_state = (_this._async$_state | 16) >>> 0; + cancelFuture = _this._cancelFuture; + if (cancelFuture != null && cancelFuture !== $.$get$Future__nullFuture()) + cancelFuture.whenComplete$1(t1); + else + t1.call$0(); + }, + _guardCallback$1: function(callback) { + var t1, _this = this; + type$.void_Function._as(callback); + t1 = _this._async$_state; + _this._async$_state = (t1 | 32) >>> 0; + callback.call$0(); + _this._async$_state = (_this._async$_state & 4294967263) >>> 0; + _this._checkState$1((t1 & 4) !== 0); + }, + _checkState$1: function(wasInputPaused) { + var t1, isInputPaused, _this = this; + if ((_this._async$_state & 64) !== 0) { + t1 = _this._pending; + t1 = t1.get$isEmpty(t1); + } else + t1 = false; + if (t1) { + t1 = _this._async$_state = (_this._async$_state & 4294967231) >>> 0; + if ((t1 & 4) !== 0) + if (t1 < 128) { + t1 = _this._pending; + t1 = t1 == null ? null : t1.get$isEmpty(t1); + t1 = t1 !== false; + } else + t1 = false; + else + t1 = false; + if (t1) + _this._async$_state = (_this._async$_state & 4294967291) >>> 0; + } + for (; true; wasInputPaused = isInputPaused) { + t1 = _this._async$_state; + if ((t1 & 8) !== 0) { + _this.set$_pending(null); + return; + } + isInputPaused = (t1 & 4) !== 0; + if (wasInputPaused === isInputPaused) + break; + _this._async$_state = (t1 ^ 32) >>> 0; + if (isInputPaused) + _this._onPause$0(); + else + _this._onResume$0(); + _this._async$_state = (_this._async$_state & 4294967263) >>> 0; + } + t1 = _this._async$_state; + if ((t1 & 64) !== 0 && t1 < 128) + _this._pending.schedule$1(_this); + }, + set$_async$_onData: function(_onData) { + this._async$_onData = H._instanceType(this)._eval$1("~(_BufferingStreamSubscription.T)")._as(_onData); + }, + set$_pending: function(_pending) { + this._pending = H._instanceType(this)._eval$1("_PendingEvents<_BufferingStreamSubscription.T>?")._as(_pending); + }, + $isStreamSubscription: 1, + $is_EventSink: 1, + $is_EventDispatch: 1 + }; + P._BufferingStreamSubscription__sendError_sendError.prototype = { + call$0: function() { + var onError, t3, t4, + t1 = this.$this, + t2 = t1._async$_state; + if ((t2 & 8) !== 0 && (t2 & 16) === 0) + return; + t1._async$_state = (t2 | 32) >>> 0; + onError = t1._onError; + t2 = this.error; + t3 = type$.Object; + t4 = t1._zone; + if (type$.void_Function_Object_StackTrace._is(onError)) + t4.runBinaryGuarded$2$3(onError, t2, this.stackTrace, t3, type$.StackTrace); + else + t4.runUnaryGuarded$1$2(type$.void_Function_Object._as(onError), t2, t3); + t1._async$_state = (t1._async$_state & 4294967263) >>> 0; + }, + $signature: 0 + }; + P._BufferingStreamSubscription__sendDone_sendDone.prototype = { + call$0: function() { + var t1 = this.$this, + t2 = t1._async$_state; + if ((t2 & 16) === 0) + return; + t1._async$_state = (t2 | 42) >>> 0; + t1._zone.runGuarded$1(t1._onDone); + t1._async$_state = (t1._async$_state & 4294967263) >>> 0; + }, + $signature: 0 + }; + P._StreamImpl.prototype = { + listen$4$cancelOnError$onDone$onError: function(onData, cancelOnError, onDone, onError) { + H._instanceType(this)._eval$1("~(1)?")._as(onData); + type$.nullable_void_Function._as(onDone); + return this._createSubscription$4(onData, onError, onDone, cancelOnError === true); + }, + listen$1: function(onData) { + return this.listen$4$cancelOnError$onDone$onError(onData, null, null, null); + }, + listen$3$onDone$onError: function(onData, onDone, onError) { + return this.listen$4$cancelOnError$onDone$onError(onData, null, onDone, onError); + }, + listen$3$cancelOnError$onDone: function(onData, cancelOnError, onDone) { + return this.listen$4$cancelOnError$onDone$onError(onData, cancelOnError, onDone, null); + }, + _createSubscription$4: function(onData, onError, onDone, cancelOnError) { + var t1 = H._instanceType(this); + return P._BufferingStreamSubscription$(t1._eval$1("~(1)?")._as(onData), onError, type$.nullable_void_Function._as(onDone), cancelOnError, t1._precomputed1); + } + }; + P._GeneratedStreamImpl.prototype = { + _createSubscription$4: function(onData, onError, onDone, cancelOnError) { + var _this = this, + t1 = _this.$ti; + t1._eval$1("~(1)?")._as(onData); + type$.nullable_void_Function._as(onDone); + if (_this._isUsed) + throw H.wrapException(P.StateError$("Stream has already been listened to.")); + _this._isUsed = true; + t1 = P._BufferingStreamSubscription$(onData, onError, onDone, cancelOnError, t1._precomputed1); + t1._setPendingEvents$1(_this._pending.call$0()); + return t1; + } + }; + P._IterablePendingEvents.prototype = { + get$isEmpty: function(_) { + return this._async$_iterator == null; + }, + handleNext$1: function(dispatch) { + var iterator, movedNext, e, s, exception, _this = this; + _this.$ti._eval$1("_EventDispatch<1>")._as(dispatch); + iterator = _this._async$_iterator; + if (iterator == null) + throw H.wrapException(P.StateError$("No events pending.")); + movedNext = false; + try { + if (iterator.moveNext$0()) { + movedNext = true; + dispatch._sendData$1(J.get$current$x(iterator)); + } else { + _this.set$_async$_iterator(null); + dispatch._sendDone$0(); + } + } catch (exception) { + e = H.unwrapException(exception); + s = H.getTraceFromException(exception); + if (!H.boolConversionCheck(movedNext)) + _this.set$_async$_iterator(C.C_EmptyIterator); + dispatch._sendError$2(e, s); + } + }, + set$_async$_iterator: function(_iterator) { + this._async$_iterator = this.$ti._eval$1("Iterator<1>?")._as(_iterator); + } + }; + P._DelayedEvent.prototype = { + set$next: function(_, next) { + this.next = type$.nullable__DelayedEvent_dynamic._as(next); + }, + get$next: function(receiver) { + return this.next; + } + }; + P._DelayedData.prototype = { + perform$1: function(dispatch) { + this.$ti._eval$1("_EventDispatch<1>")._as(dispatch)._sendData$1(this.value); + }, + get$value: function(receiver) { + return this.value; + } + }; + P._DelayedError.prototype = { + perform$1: function(dispatch) { + dispatch._sendError$2(this.error, this.stackTrace); + }, + get$stackTrace: function() { + return this.stackTrace; + } + }; + P._DelayedDone.prototype = { + perform$1: function(dispatch) { + dispatch._sendDone$0(); + }, + get$next: function(_) { + return null; + }, + set$next: function(_, _0) { + throw H.wrapException(P.StateError$("No events after a done.")); + }, + $is_DelayedEvent: 1 + }; + P._PendingEvents.prototype = { + schedule$1: function(dispatch) { + var t1, _this = this; + H._instanceType(_this)._eval$1("_EventDispatch<1>")._as(dispatch); + t1 = _this._async$_state; + if (t1 === 1) + return; + if (t1 >= 1) { + _this._async$_state = 1; + return; + } + P.scheduleMicrotask(new P._PendingEvents_schedule_closure(_this, dispatch)); + _this._async$_state = 1; + } + }; + P._PendingEvents_schedule_closure.prototype = { + call$0: function() { + var t1 = this.$this, + oldState = t1._async$_state; + t1._async$_state = 0; + if (oldState === 3) + return; + t1.handleNext$1(this.dispatch); + }, + $signature: 0 + }; + P._StreamImplEvents.prototype = { + get$isEmpty: function(_) { + return this.lastPendingEvent == null; + }, + add$1: function(_, $event) { + var lastEvent, _this = this; + type$._DelayedEvent_dynamic._as($event); + lastEvent = _this.lastPendingEvent; + if (lastEvent == null) + _this.firstPendingEvent = _this.lastPendingEvent = $event; + else { + lastEvent.set$next(0, $event); + _this.lastPendingEvent = $event; + } + }, + handleNext$1: function(dispatch) { + var $event, nextEvent, _this = this; + _this.$ti._eval$1("_EventDispatch<1>")._as(dispatch); + $event = _this.firstPendingEvent; + nextEvent = $event.get$next($event); + _this.firstPendingEvent = nextEvent; + if (nextEvent == null) + _this.lastPendingEvent = null; + $event.perform$1(dispatch); + } + }; + P._DoneStreamSubscription.prototype = { + _schedule$0: function() { + var _this = this; + if ((_this._async$_state & 2) !== 0) + return; + P._rootScheduleMicrotask(null, null, _this._zone, type$.void_Function._as(_this.get$_sendDone())); + _this._async$_state = (_this._async$_state | 2) >>> 0; + }, + onData$1: function(handleData) { + this.$ti._eval$1("~(1)?")._as(handleData); + }, + onError$1: function(_, handleError) { + }, + pause$1: function(_, resumeSignal) { + this._async$_state += 4; + }, + pause$0: function($receiver) { + return this.pause$1($receiver, null); + }, + resume$0: function(_) { + var t1 = this._async$_state; + if (t1 >= 4) { + t1 = this._async$_state = t1 - 4; + if (t1 < 4 && (t1 & 1) === 0) + this._schedule$0(); + } + }, + cancel$0: function(_) { + return $.$get$Future__nullFuture(); + }, + _sendDone$0: function() { + var doneHandler, _this = this, + t1 = _this._async$_state = (_this._async$_state & 4294967293) >>> 0; + if (t1 >= 4) + return; + _this._async$_state = (t1 | 1) >>> 0; + doneHandler = _this._onDone; + if (doneHandler != null) + _this._zone.runGuarded$1(doneHandler); + }, + $isStreamSubscription: 1 + }; + P._StreamIterator.prototype = {}; + P._cancelAndValue_closure.prototype = { + call$0: function() { + return this.future._complete$1(this.value); + }, + $signature: 0 + }; + P._ForwardingStream.prototype = { + listen$4$cancelOnError$onDone$onError: function(onData, cancelOnError, onDone, onError) { + H._instanceType(this)._eval$1("~(_ForwardingStream.T)?")._as(onData); + type$.nullable_void_Function._as(onDone); + return this._createSubscription$4(onData, onError, onDone, cancelOnError === true); + }, + listen$1: function(onData) { + return this.listen$4$cancelOnError$onDone$onError(onData, null, null, null); + }, + listen$3$onDone$onError: function(onData, onDone, onError) { + return this.listen$4$cancelOnError$onDone$onError(onData, null, onDone, onError); + }, + listen$3$cancelOnError$onDone: function(onData, cancelOnError, onDone) { + return this.listen$4$cancelOnError$onDone$onError(onData, cancelOnError, onDone, null); + }, + _createSubscription$4: function(onData, onError, onDone, cancelOnError) { + var t1 = H._instanceType(this); + return P._ForwardingStreamSubscription$(this, t1._eval$1("~(_ForwardingStream.T)?")._as(onData), onError, type$.nullable_void_Function._as(onDone), cancelOnError, t1._eval$1("_ForwardingStream.S"), t1._eval$1("_ForwardingStream.T")); + } + }; + P._ForwardingStreamSubscription.prototype = { + _ForwardingStreamSubscription$5: function(_stream, onData, onError, onDone, cancelOnError, $S, $T) { + var _this = this; + _this.set$_subscription(_this._stream._async$_source.listen$3$onDone$onError(_this.get$_handleData(), _this.get$_handleDone(), _this.get$_handleError())); + }, + _async$_add$1: function(_, data) { + H._instanceType(this)._eval$1("_ForwardingStreamSubscription.T")._as(data); + if ((this._async$_state & 2) !== 0) + return; + this.super$_BufferingStreamSubscription$_add(0, data); + }, + _addError$2: function(error, stackTrace) { + if ((this._async$_state & 2) !== 0) + return; + this.super$_BufferingStreamSubscription$_addError(error, stackTrace); + }, + _onPause$0: function() { + var t1 = this._subscription; + if (t1 != null) + t1.pause$0(0); + }, + _onResume$0: function() { + var t1 = this._subscription; + if (t1 != null) + t1.resume$0(0); + }, + _onCancel$0: function() { + var subscription = this._subscription; + if (subscription != null) { + this.set$_subscription(null); + return subscription.cancel$0(0); + } + return null; + }, + _handleData$1: function(data) { + this._stream._handleData$2(H._instanceType(this)._eval$1("_ForwardingStreamSubscription.S")._as(data), this); + }, + _handleError$2: function(error, stackTrace) { + type$.StackTrace._as(stackTrace); + H._instanceType(this._stream)._eval$1("_EventSink<_ForwardingStream.T>")._as(this)._addError$2(error, stackTrace); + }, + _handleDone$0: function() { + H._instanceType(this._stream)._eval$1("_EventSink<_ForwardingStream.T>")._as(this)._close$0(); + }, + set$_subscription: function(_subscription) { + this._subscription = H._instanceType(this)._eval$1("StreamSubscription<_ForwardingStreamSubscription.S>?")._as(_subscription); + } + }; + P._MapStream.prototype = { + _handleData$2: function(inputEvent, sink) { + var outputEvent, e, s, exception, + t1 = this.$ti; + t1._precomputed1._as(inputEvent); + t1._eval$1("_EventSink<2>")._as(sink); + outputEvent = null; + try { + outputEvent = this._transform.call$1(inputEvent); + } catch (exception) { + e = H.unwrapException(exception); + s = H.getTraceFromException(exception); + P._addErrorWithReplacement(sink, e, s); + return; + } + sink._async$_add$1(0, outputEvent); + } + }; + P._Zone.prototype = {$isZone: 1}; + P._rootHandleUncaughtError_closure.prototype = { + call$0: function() { + var error = H.wrapException(this.error); + error.stack = J.toString$0$(this.stackTrace); + throw error; + }, + $signature: 0 + }; + P._RootZone.prototype = { + runGuarded$1: function(f) { + var e, s, exception, _null = null; + type$.void_Function._as(f); + try { + if (C.C__RootZone === $.Zone__current) { + f.call$0(); + return; + } + P._rootRun(_null, _null, this, f, type$.void); + } catch (exception) { + e = H.unwrapException(exception); + s = H.getTraceFromException(exception); + P._rootHandleUncaughtError(_null, _null, this, e, type$.StackTrace._as(s)); + } + }, + runUnaryGuarded$1$2: function(f, arg, $T) { + var e, s, exception, _null = null; + $T._eval$1("~(0)")._as(f); + $T._as(arg); + try { + if (C.C__RootZone === $.Zone__current) { + f.call$1(arg); + return; + } + P._rootRunUnary(_null, _null, this, f, arg, type$.void, $T); + } catch (exception) { + e = H.unwrapException(exception); + s = H.getTraceFromException(exception); + P._rootHandleUncaughtError(_null, _null, this, e, type$.StackTrace._as(s)); + } + }, + runBinaryGuarded$2$3: function(f, arg1, arg2, T1, T2) { + var e, s, exception, _null = null; + T1._eval$1("@<0>")._bind$1(T2)._eval$1("~(1,2)")._as(f); + T1._as(arg1); + T2._as(arg2); + try { + if (C.C__RootZone === $.Zone__current) { + f.call$2(arg1, arg2); + return; + } + P._rootRunBinary(_null, _null, this, f, arg1, arg2, type$.void, T1, T2); + } catch (exception) { + e = H.unwrapException(exception); + s = H.getTraceFromException(exception); + P._rootHandleUncaughtError(_null, _null, this, e, type$.StackTrace._as(s)); + } + }, + bindCallbackGuarded$1: function(f) { + return new P._RootZone_bindCallbackGuarded_closure(this, type$.void_Function._as(f)); + }, + bindUnaryCallbackGuarded$1$1: function(f, $T) { + return new P._RootZone_bindUnaryCallbackGuarded_closure(this, $T._eval$1("~(0)")._as(f), $T); + }, + $index: function(_, key) { + return null; + }, + run$1$1: function(f, $R) { + $R._eval$1("0()")._as(f); + if ($.Zone__current === C.C__RootZone) + return f.call$0(); + return P._rootRun(null, null, this, f, $R); + }, + runUnary$2$2: function(f, arg, $R, $T) { + $R._eval$1("@<0>")._bind$1($T)._eval$1("1(2)")._as(f); + $T._as(arg); + if ($.Zone__current === C.C__RootZone) + return f.call$1(arg); + return P._rootRunUnary(null, null, this, f, arg, $R, $T); + }, + runBinary$3$3: function(f, arg1, arg2, $R, T1, T2) { + $R._eval$1("@<0>")._bind$1(T1)._bind$1(T2)._eval$1("1(2,3)")._as(f); + T1._as(arg1); + T2._as(arg2); + if ($.Zone__current === C.C__RootZone) + return f.call$2(arg1, arg2); + return P._rootRunBinary(null, null, this, f, arg1, arg2, $R, T1, T2); + }, + registerBinaryCallback$3$1: function(f, $R, T1, T2) { + return $R._eval$1("@<0>")._bind$1(T1)._bind$1(T2)._eval$1("1(2,3)")._as(f); + } + }; + P._RootZone_bindCallbackGuarded_closure.prototype = { + call$0: function() { + return this.$this.runGuarded$1(this.f); + }, + $signature: 0 + }; + P._RootZone_bindUnaryCallbackGuarded_closure.prototype = { + call$1: function(arg) { + var t1 = this.T; + return this.$this.runUnaryGuarded$1$2(this.f, t1._as(arg), t1); + }, + $signature: function() { + return this.T._eval$1("~(0)"); + } + }; + P._HashMap.prototype = { + get$length: function(_) { + return this._collection$_length; + }, + get$isEmpty: function(_) { + return this._collection$_length === 0; + }, + get$isNotEmpty: function(_) { + return this._collection$_length !== 0; + }, + get$keys: function(_) { + return new P._HashMapKeyIterable(this, H._instanceType(this)._eval$1("_HashMapKeyIterable<1>")); + }, + get$values: function(_) { + var t1 = H._instanceType(this); + return H.MappedIterable_MappedIterable(new P._HashMapKeyIterable(this, t1._eval$1("_HashMapKeyIterable<1>")), new P._HashMap_values_closure(this), t1._precomputed1, t1._rest[1]); + }, + containsKey$1: function(_, key) { + var strings, nums; + if (typeof key == "string" && key !== "__proto__") { + strings = this._collection$_strings; + return strings == null ? false : strings[key] != null; + } else if (typeof key == "number" && (key & 1073741823) === key) { + nums = this._collection$_nums; + return nums == null ? false : nums[key] != null; + } else + return this._containsKey$1(key); + }, + _containsKey$1: function(key) { + var rest = this._collection$_rest; + if (rest == null) + return false; + return this._findBucketIndex$2(this._getBucket$2(rest, key), key) >= 0; + }, + $index: function(_, key) { + var strings, t1, nums; + if (typeof key == "string" && key !== "__proto__") { + strings = this._collection$_strings; + t1 = strings == null ? null : P._HashMap__getTableEntry(strings, key); + return t1; + } else if (typeof key == "number" && (key & 1073741823) === key) { + nums = this._collection$_nums; + t1 = nums == null ? null : P._HashMap__getTableEntry(nums, key); + return t1; + } else + return this._get$1(0, key); + }, + _get$1: function(_, key) { + var bucket, index, + rest = this._collection$_rest; + if (rest == null) + return null; + bucket = this._getBucket$2(rest, key); + index = this._findBucketIndex$2(bucket, key); + return index < 0 ? null : bucket[index + 1]; + }, + $indexSet: function(_, key, value) { + var strings, nums, _this = this, + t1 = H._instanceType(_this); + t1._precomputed1._as(key); + t1._rest[1]._as(value); + if (typeof key == "string" && key !== "__proto__") { + strings = _this._collection$_strings; + _this._collection$_addHashTableEntry$3(strings == null ? _this._collection$_strings = P._HashMap__newHashTable() : strings, key, value); + } else if (typeof key == "number" && (key & 1073741823) === key) { + nums = _this._collection$_nums; + _this._collection$_addHashTableEntry$3(nums == null ? _this._collection$_nums = P._HashMap__newHashTable() : nums, key, value); + } else + _this._collection$_set$2(key, value); + }, + _collection$_set$2: function(key, value) { + var rest, hash, bucket, index, _this = this, + t1 = H._instanceType(_this); + t1._precomputed1._as(key); + t1._rest[1]._as(value); + rest = _this._collection$_rest; + if (rest == null) + rest = _this._collection$_rest = P._HashMap__newHashTable(); + hash = _this._computeHashCode$1(key); + bucket = rest[hash]; + if (bucket == null) { + P._HashMap__setTableEntry(rest, hash, [key, value]); + ++_this._collection$_length; + _this._collection$_keys = null; + } else { + index = _this._findBucketIndex$2(bucket, key); + if (index >= 0) + bucket[index + 1] = value; + else { + bucket.push(key, value); + ++_this._collection$_length; + _this._collection$_keys = null; + } + } + }, + remove$1: function(_, key) { + var _this = this; + if (typeof key == "string" && key !== "__proto__") + return _this._collection$_removeHashTableEntry$2(_this._collection$_strings, key); + else if (typeof key == "number" && (key & 1073741823) === key) + return _this._collection$_removeHashTableEntry$2(_this._collection$_nums, key); + else + return _this._remove$1(0, key); + }, + _remove$1: function(_, key) { + var hash, bucket, index, result, _this = this, + rest = _this._collection$_rest; + if (rest == null) + return null; + hash = _this._computeHashCode$1(key); + bucket = rest[hash]; + index = _this._findBucketIndex$2(bucket, key); + if (index < 0) + return null; + --_this._collection$_length; + _this._collection$_keys = null; + result = bucket.splice(index, 2)[1]; + if (0 === bucket.length) + delete rest[hash]; + return result; + }, + forEach$1: function(_, action) { + var keys, $length, i, key, _this = this, + t1 = H._instanceType(_this); + t1._eval$1("~(1,2)")._as(action); + keys = _this._collection$_computeKeys$0(); + for ($length = keys.length, t1 = t1._precomputed1, i = 0; i < $length; ++i) { + key = keys[i]; + action.call$2(t1._as(key), _this.$index(0, key)); + if (keys !== _this._collection$_keys) + throw H.wrapException(P.ConcurrentModificationError$(_this)); + } + }, + _collection$_computeKeys$0: function() { + var strings, names, entries, index, i, nums, rest, bucket, $length, i0, _this = this, + result = _this._collection$_keys; + if (result != null) + return result; + result = P.List_List$filled(_this._collection$_length, null, false, type$.dynamic); + strings = _this._collection$_strings; + if (strings != null) { + names = Object.getOwnPropertyNames(strings); + entries = names.length; + for (index = 0, i = 0; i < entries; ++i) { + result[index] = names[i]; + ++index; + } + } else + index = 0; + nums = _this._collection$_nums; + if (nums != null) { + names = Object.getOwnPropertyNames(nums); + entries = names.length; + for (i = 0; i < entries; ++i) { + result[index] = +names[i]; + ++index; + } + } + rest = _this._collection$_rest; + if (rest != null) { + names = Object.getOwnPropertyNames(rest); + entries = names.length; + for (i = 0; i < entries; ++i) { + bucket = rest[names[i]]; + $length = bucket.length; + for (i0 = 0; i0 < $length; i0 += 2) { + result[index] = bucket[i0]; + ++index; + } + } + } + return _this._collection$_keys = result; + }, + _collection$_addHashTableEntry$3: function(table, key, value) { + var t1 = H._instanceType(this); + t1._precomputed1._as(key); + t1._rest[1]._as(value); + if (table[key] == null) { + ++this._collection$_length; + this._collection$_keys = null; + } + P._HashMap__setTableEntry(table, key, value); + }, + _collection$_removeHashTableEntry$2: function(table, key) { + var value; + if (table != null && table[key] != null) { + value = H._instanceType(this)._rest[1]._as(P._HashMap__getTableEntry(table, key)); + delete table[key]; + --this._collection$_length; + this._collection$_keys = null; + return value; + } else + return null; + }, + _computeHashCode$1: function(key) { + return J.get$hashCode$(key) & 1073741823; + }, + _getBucket$2: function(table, key) { + return table[this._computeHashCode$1(key)]; + }, + _findBucketIndex$2: function(bucket, key) { + var $length, i; + if (bucket == null) + return -1; + $length = bucket.length; + for (i = 0; i < $length; i += 2) + if (J.$eq$(bucket[i], key)) + return i; + return -1; + } + }; + P._HashMap_values_closure.prototype = { + call$1: function(each) { + var t1 = this.$this; + return t1.$index(0, H._instanceType(t1)._precomputed1._as(each)); + }, + $signature: function() { + return H._instanceType(this.$this)._eval$1("2(1)"); + } + }; + P._IdentityHashMap.prototype = { + _computeHashCode$1: function(key) { + return H.objectHashCode(key) & 1073741823; + }, + _findBucketIndex$2: function(bucket, key) { + var $length, i, t1; + if (bucket == null) + return -1; + $length = bucket.length; + for (i = 0; i < $length; i += 2) { + t1 = bucket[i]; + if (t1 == null ? key == null : t1 === key) + return i; + } + return -1; + } + }; + P._CustomHashMap.prototype = { + $index: function(_, key) { + if (!H.boolConversionCheck(this._validKey.call$1(key))) + return null; + return this.super$_HashMap$_get(0, key); + }, + $indexSet: function(_, key, value) { + var t1 = this.$ti; + this.super$_HashMap$_set(t1._precomputed1._as(key), t1._rest[1]._as(value)); + }, + containsKey$1: function(_, key) { + if (!H.boolConversionCheck(this._validKey.call$1(key))) + return false; + return this.super$_HashMap$_containsKey(key); + }, + remove$1: function(_, key) { + if (!H.boolConversionCheck(this._validKey.call$1(key))) + return null; + return this.super$_HashMap$_remove(0, key); + }, + _computeHashCode$1: function(key) { + return this._collection$_hashCode.call$1(this.$ti._precomputed1._as(key)) & 1073741823; + }, + _findBucketIndex$2: function(bucket, key) { + var $length, t1, t2, i; + if (bucket == null) + return -1; + $length = bucket.length; + for (t1 = this.$ti._precomputed1, t2 = this._equals, i = 0; i < $length; i += 2) + if (H.boolConversionCheck(t2.call$2(bucket[i], t1._as(key)))) + return i; + return -1; + } + }; + P._CustomHashMap_closure.prototype = { + call$1: function(v) { + return this.K._is(v); + }, + $signature: 69 + }; + P._HashMapKeyIterable.prototype = { + get$length: function(_) { + return this._collection$_map._collection$_length; + }, + get$isEmpty: function(_) { + return this._collection$_map._collection$_length === 0; + }, + get$iterator: function(_) { + var t1 = this._collection$_map; + return new P._HashMapKeyIterator(t1, t1._collection$_computeKeys$0(), this.$ti._eval$1("_HashMapKeyIterator<1>")); + }, + contains$1: function(_, element) { + return this._collection$_map.containsKey$1(0, element); + }, + forEach$1: function(_, f) { + var t1, keys, $length, i; + this.$ti._eval$1("~(1)")._as(f); + t1 = this._collection$_map; + keys = t1._collection$_computeKeys$0(); + for ($length = keys.length, i = 0; i < $length; ++i) { + f.call$1(keys[i]); + if (keys !== t1._collection$_keys) + throw H.wrapException(P.ConcurrentModificationError$(t1)); + } + } + }; + P._HashMapKeyIterator.prototype = { + get$current: function(_) { + return this._collection$_current; + }, + moveNext$0: function() { + var _this = this, + keys = _this._collection$_keys, + offset = _this._collection$_offset, + t1 = _this._collection$_map; + if (keys !== t1._collection$_keys) + throw H.wrapException(P.ConcurrentModificationError$(t1)); + else if (offset >= keys.length) { + _this.set$_collection$_current(null); + return false; + } else { + _this.set$_collection$_current(keys[offset]); + _this._collection$_offset = offset + 1; + return true; + } + }, + set$_collection$_current: function(_current) { + this._collection$_current = this.$ti._eval$1("1?")._as(_current); + }, + $isIterator: 1 + }; + P._LinkedIdentityHashMap.prototype = { + internalComputeHashCode$1: function(key) { + return H.objectHashCode(key) & 1073741823; + }, + internalFindBucketIndex$2: function(bucket, key) { + var $length, i, t1; + if (bucket == null) + return -1; + $length = bucket.length; + for (i = 0; i < $length; ++i) { + t1 = bucket[i].hashMapCellKey; + if (t1 == null ? key == null : t1 === key) + return i; + } + return -1; + } + }; + P._LinkedCustomHashMap.prototype = { + $index: function(_, key) { + if (!H.boolConversionCheck(this._validKey.call$1(key))) + return null; + return this.super$JsLinkedHashMap$internalGet(key); + }, + $indexSet: function(_, key, value) { + var t1 = this.$ti; + this.super$JsLinkedHashMap$internalSet(t1._precomputed1._as(key), t1._rest[1]._as(value)); + }, + containsKey$1: function(_, key) { + if (!H.boolConversionCheck(this._validKey.call$1(key))) + return false; + return this.super$JsLinkedHashMap$internalContainsKey(key); + }, + remove$1: function(_, key) { + if (!H.boolConversionCheck(this._validKey.call$1(key))) + return null; + return this.super$JsLinkedHashMap$internalRemove(key); + }, + internalComputeHashCode$1: function(key) { + return this._collection$_hashCode.call$1(this.$ti._precomputed1._as(key)) & 1073741823; + }, + internalFindBucketIndex$2: function(bucket, key) { + var $length, t1, t2, i; + if (bucket == null) + return -1; + $length = bucket.length; + for (t1 = this.$ti._precomputed1, t2 = this._equals, i = 0; i < $length; ++i) + if (H.boolConversionCheck(t2.call$2(t1._as(bucket[i].hashMapCellKey), t1._as(key)))) + return i; + return -1; + } + }; + P._LinkedCustomHashMap_closure.prototype = { + call$1: function(v) { + return this.K._is(v); + }, + $signature: 69 + }; + P._HashSet.prototype = { + _newSet$0: function() { + return new P._HashSet(H._instanceType(this)._eval$1("_HashSet<1>")); + }, + _newSimilarSet$1$0: function($R) { + return new P._HashSet($R._eval$1("_HashSet<0>")); + }, + _newSimilarSet$0: function() { + return this._newSimilarSet$1$0(type$.dynamic); + }, + get$iterator: function(_) { + return new P._HashSetIterator(this, this._computeElements$0(), H._instanceType(this)._eval$1("_HashSetIterator<1>")); + }, + get$length: function(_) { + return this._collection$_length; + }, + get$isEmpty: function(_) { + return this._collection$_length === 0; + }, + get$isNotEmpty: function(_) { + return this._collection$_length !== 0; + }, + contains$1: function(_, object) { + var strings, nums; + if (typeof object == "string" && object !== "__proto__") { + strings = this._collection$_strings; + return strings == null ? false : strings[object] != null; + } else if (typeof object == "number" && (object & 1073741823) === object) { + nums = this._collection$_nums; + return nums == null ? false : nums[object] != null; + } else + return this._contains$1(object); + }, + _contains$1: function(object) { + var rest = this._collection$_rest; + if (rest == null) + return false; + return this._findBucketIndex$2(rest[this._computeHashCode$1(object)], object) >= 0; + }, + add$1: function(_, element) { + var strings, nums, _this = this; + H._instanceType(_this)._precomputed1._as(element); + if (typeof element == "string" && element !== "__proto__") { + strings = _this._collection$_strings; + return _this._collection$_addHashTableEntry$2(strings == null ? _this._collection$_strings = P._HashSet__newHashTable() : strings, element); + } else if (typeof element == "number" && (element & 1073741823) === element) { + nums = _this._collection$_nums; + return _this._collection$_addHashTableEntry$2(nums == null ? _this._collection$_nums = P._HashSet__newHashTable() : nums, element); + } else + return _this._add$1(0, element); + }, + _add$1: function(_, element) { + var rest, hash, bucket, _this = this; + H._instanceType(_this)._precomputed1._as(element); + rest = _this._collection$_rest; + if (rest == null) + rest = _this._collection$_rest = P._HashSet__newHashTable(); + hash = _this._computeHashCode$1(element); + bucket = rest[hash]; + if (bucket == null) + rest[hash] = [element]; + else { + if (_this._findBucketIndex$2(bucket, element) >= 0) + return false; + bucket.push(element); + } + ++_this._collection$_length; + _this._elements = null; + return true; + }, + addAll$1: function(_, objects) { + var t1; + for (t1 = J.get$iterator$ax(H._instanceType(this)._eval$1("Iterable<1>")._as(objects)); t1.moveNext$0();) + this.add$1(0, t1.get$current(t1)); + }, + remove$1: function(_, object) { + var _this = this; + if (typeof object == "string" && object !== "__proto__") + return _this._collection$_removeHashTableEntry$2(_this._collection$_strings, object); + else if (typeof object == "number" && (object & 1073741823) === object) + return _this._collection$_removeHashTableEntry$2(_this._collection$_nums, object); + else + return _this._remove$1(0, object); + }, + _remove$1: function(_, object) { + var hash, bucket, index, _this = this, + rest = _this._collection$_rest; + if (rest == null) + return false; + hash = _this._computeHashCode$1(object); + bucket = rest[hash]; + index = _this._findBucketIndex$2(bucket, object); + if (index < 0) + return false; + --_this._collection$_length; + _this._elements = null; + bucket.splice(index, 1); + if (0 === bucket.length) + delete rest[hash]; + return true; + }, + clear$0: function(_) { + var _this = this; + if (_this._collection$_length > 0) { + _this._collection$_strings = _this._collection$_nums = _this._collection$_rest = _this._elements = null; + _this._collection$_length = 0; + } + }, + _computeElements$0: function() { + var strings, names, entries, index, i, nums, rest, bucket, $length, i0, _this = this, + result = _this._elements; + if (result != null) + return result; + result = P.List_List$filled(_this._collection$_length, null, false, type$.dynamic); + strings = _this._collection$_strings; + if (strings != null) { + names = Object.getOwnPropertyNames(strings); + entries = names.length; + for (index = 0, i = 0; i < entries; ++i) { + result[index] = names[i]; + ++index; + } + } else + index = 0; + nums = _this._collection$_nums; + if (nums != null) { + names = Object.getOwnPropertyNames(nums); + entries = names.length; + for (i = 0; i < entries; ++i) { + result[index] = +names[i]; + ++index; + } + } + rest = _this._collection$_rest; + if (rest != null) { + names = Object.getOwnPropertyNames(rest); + entries = names.length; + for (i = 0; i < entries; ++i) { + bucket = rest[names[i]]; + $length = bucket.length; + for (i0 = 0; i0 < $length; ++i0) { + result[index] = bucket[i0]; + ++index; + } + } + } + return _this._elements = result; + }, + _collection$_addHashTableEntry$2: function(table, element) { + H._instanceType(this)._precomputed1._as(element); + if (table[element] != null) + return false; + table[element] = 0; + ++this._collection$_length; + this._elements = null; + return true; + }, + _collection$_removeHashTableEntry$2: function(table, element) { + if (table != null && table[element] != null) { + delete table[element]; + --this._collection$_length; + this._elements = null; + return true; + } else + return false; + }, + _computeHashCode$1: function(element) { + return J.get$hashCode$(element) & 1073741823; + }, + _findBucketIndex$2: function(bucket, element) { + var $length, i; + if (bucket == null) + return -1; + $length = bucket.length; + for (i = 0; i < $length; ++i) + if (J.$eq$(bucket[i], element)) + return i; + return -1; + }, + $isHashSet: 1 + }; + P._HashSetIterator.prototype = { + get$current: function(_) { + return this._collection$_current; + }, + moveNext$0: function() { + var _this = this, + elements = _this._elements, + offset = _this._collection$_offset, + t1 = _this._collection$_set; + if (elements !== t1._elements) + throw H.wrapException(P.ConcurrentModificationError$(t1)); + else if (offset >= elements.length) { + _this.set$_collection$_current(null); + return false; + } else { + _this.set$_collection$_current(elements[offset]); + _this._collection$_offset = offset + 1; + return true; + } + }, + set$_collection$_current: function(_current) { + this._collection$_current = this.$ti._eval$1("1?")._as(_current); + }, + $isIterator: 1 + }; + P._LinkedHashSet.prototype = { + _newSet$0: function() { + return new P._LinkedHashSet(H._instanceType(this)._eval$1("_LinkedHashSet<1>")); + }, + _newSimilarSet$1$0: function($R) { + return new P._LinkedHashSet($R._eval$1("_LinkedHashSet<0>")); + }, + _newSimilarSet$0: function() { + return this._newSimilarSet$1$0(type$.dynamic); + }, + get$iterator: function(_) { + var _this = this, + t1 = new P._LinkedHashSetIterator(_this, _this._collection$_modifications, H._instanceType(_this)._eval$1("_LinkedHashSetIterator<1>")); + t1._collection$_cell = _this._collection$_first; + return t1; + }, + get$length: function(_) { + return this._collection$_length; + }, + get$isEmpty: function(_) { + return this._collection$_length === 0; + }, + get$isNotEmpty: function(_) { + return this._collection$_length !== 0; + }, + contains$1: function(_, object) { + var strings, nums; + if (typeof object == "string" && object !== "__proto__") { + strings = this._collection$_strings; + if (strings == null) + return false; + return type$.nullable__LinkedHashSetCell._as(strings[object]) != null; + } else if (typeof object == "number" && (object & 1073741823) === object) { + nums = this._collection$_nums; + if (nums == null) + return false; + return type$.nullable__LinkedHashSetCell._as(nums[object]) != null; + } else + return this._contains$1(object); + }, + _contains$1: function(object) { + var rest = this._collection$_rest; + if (rest == null) + return false; + return this._findBucketIndex$2(rest[this._computeHashCode$1(object)], object) >= 0; + }, + forEach$1: function(_, action) { + var cell, modifications, _this = this, + t1 = H._instanceType(_this); + t1._eval$1("~(1)")._as(action); + cell = _this._collection$_first; + modifications = _this._collection$_modifications; + for (t1 = t1._precomputed1; cell != null;) { + action.call$1(t1._as(cell._element)); + if (modifications !== _this._collection$_modifications) + throw H.wrapException(P.ConcurrentModificationError$(_this)); + cell = cell._collection$_next; + } + }, + get$first: function(_) { + var first = this._collection$_first; + if (first == null) + throw H.wrapException(P.StateError$("No elements")); + return H._instanceType(this)._precomputed1._as(first._element); + }, + get$last: function(_) { + var last = this._collection$_last; + if (last == null) + throw H.wrapException(P.StateError$("No elements")); + return H._instanceType(this)._precomputed1._as(last._element); + }, + add$1: function(_, element) { + var strings, nums, _this = this; + H._instanceType(_this)._precomputed1._as(element); + if (typeof element == "string" && element !== "__proto__") { + strings = _this._collection$_strings; + return _this._collection$_addHashTableEntry$2(strings == null ? _this._collection$_strings = P._LinkedHashSet__newHashTable() : strings, element); + } else if (typeof element == "number" && (element & 1073741823) === element) { + nums = _this._collection$_nums; + return _this._collection$_addHashTableEntry$2(nums == null ? _this._collection$_nums = P._LinkedHashSet__newHashTable() : nums, element); + } else + return _this._add$1(0, element); + }, + _add$1: function(_, element) { + var rest, hash, bucket, _this = this; + H._instanceType(_this)._precomputed1._as(element); + rest = _this._collection$_rest; + if (rest == null) + rest = _this._collection$_rest = P._LinkedHashSet__newHashTable(); + hash = _this._computeHashCode$1(element); + bucket = rest[hash]; + if (bucket == null) + rest[hash] = [_this._collection$_newLinkedCell$1(element)]; + else { + if (_this._findBucketIndex$2(bucket, element) >= 0) + return false; + bucket.push(_this._collection$_newLinkedCell$1(element)); + } + return true; + }, + remove$1: function(_, object) { + var _this = this; + if (typeof object == "string" && object !== "__proto__") + return _this._collection$_removeHashTableEntry$2(_this._collection$_strings, object); + else if (typeof object == "number" && (object & 1073741823) === object) + return _this._collection$_removeHashTableEntry$2(_this._collection$_nums, object); + else + return _this._remove$1(0, object); + }, + _remove$1: function(_, object) { + var hash, bucket, index, cell, _this = this, + rest = _this._collection$_rest; + if (rest == null) + return false; + hash = _this._computeHashCode$1(object); + bucket = rest[hash]; + index = _this._findBucketIndex$2(bucket, object); + if (index < 0) + return false; + cell = bucket.splice(index, 1)[0]; + if (0 === bucket.length) + delete rest[hash]; + _this._collection$_unlinkCell$1(cell); + return true; + }, + removeWhere$1: function(_, test) { + this._filterWhere$2(H._instanceType(this)._eval$1("bool(1)")._as(test), true); + }, + _filterWhere$2: function(test, removeMatching) { + var cell, element, next, modifications, t2, _this = this, + t1 = H._instanceType(_this); + t1._eval$1("bool(1)")._as(test); + cell = _this._collection$_first; + for (t1 = t1._precomputed1; cell != null; cell = next) { + element = t1._as(cell._element); + next = cell._collection$_next; + modifications = _this._collection$_modifications; + t2 = test.call$1(element); + if (modifications !== _this._collection$_modifications) + throw H.wrapException(P.ConcurrentModificationError$(_this)); + if (true === t2) + _this.remove$1(0, element); + } + }, + clear$0: function(_) { + var _this = this; + if (_this._collection$_length > 0) { + _this._collection$_strings = _this._collection$_nums = _this._collection$_rest = _this._collection$_first = _this._collection$_last = null; + _this._collection$_length = 0; + _this._collection$_modified$0(); + } + }, + _collection$_addHashTableEntry$2: function(table, element) { + H._instanceType(this)._precomputed1._as(element); + if (type$.nullable__LinkedHashSetCell._as(table[element]) != null) + return false; + table[element] = this._collection$_newLinkedCell$1(element); + return true; + }, + _collection$_removeHashTableEntry$2: function(table, element) { + var cell; + if (table == null) + return false; + cell = type$.nullable__LinkedHashSetCell._as(table[element]); + if (cell == null) + return false; + this._collection$_unlinkCell$1(cell); + delete table[element]; + return true; + }, + _collection$_modified$0: function() { + this._collection$_modifications = this._collection$_modifications + 1 & 1073741823; + }, + _collection$_newLinkedCell$1: function(element) { + var t1, _this = this, + cell = new P._LinkedHashSetCell(H._instanceType(_this)._precomputed1._as(element)); + if (_this._collection$_first == null) + _this._collection$_first = _this._collection$_last = cell; + else { + t1 = _this._collection$_last; + t1.toString; + cell._collection$_previous = t1; + _this._collection$_last = t1._collection$_next = cell; + } + ++_this._collection$_length; + _this._collection$_modified$0(); + return cell; + }, + _collection$_unlinkCell$1: function(cell) { + var _this = this, + previous = cell._collection$_previous, + next = cell._collection$_next; + if (previous == null) + _this._collection$_first = next; + else + previous._collection$_next = next; + if (next == null) + _this._collection$_last = previous; + else + next._collection$_previous = previous; + --_this._collection$_length; + _this._collection$_modified$0(); + }, + _computeHashCode$1: function(element) { + return J.get$hashCode$(element) & 1073741823; + }, + _findBucketIndex$2: function(bucket, element) { + var $length, i; + if (bucket == null) + return -1; + $length = bucket.length; + for (i = 0; i < $length; ++i) + if (J.$eq$(bucket[i]._element, element)) + return i; + return -1; + }, + $isLinkedHashSet: 1 + }; + P._LinkedHashSetCell.prototype = {}; + P._LinkedHashSetIterator.prototype = { + get$current: function(_) { + return this._collection$_current; + }, + moveNext$0: function() { + var _this = this, + cell = _this._collection$_cell, + t1 = _this._collection$_set; + if (_this._collection$_modifications !== t1._collection$_modifications) + throw H.wrapException(P.ConcurrentModificationError$(t1)); + else if (cell == null) { + _this.set$_collection$_current(null); + return false; + } else { + _this.set$_collection$_current(_this.$ti._eval$1("1?")._as(cell._element)); + _this._collection$_cell = cell._collection$_next; + return true; + } + }, + set$_collection$_current: function(_current) { + this._collection$_current = this.$ti._eval$1("1?")._as(_current); + }, + $isIterator: 1 + }; + P.UnmodifiableListView.prototype = { + cast$1$0: function(_, $R) { + return new P.UnmodifiableListView(J.cast$1$0$ax(this._collection$_source, $R), $R._eval$1("UnmodifiableListView<0>")); + }, + get$length: function(_) { + return J.get$length$asx(this._collection$_source); + }, + $index: function(_, index) { + return J.elementAt$1$ax(this._collection$_source, H._asIntS(index)); + } + }; + P.IterableBase.prototype = {}; + P.LinkedHashMap_LinkedHashMap$from_closure.prototype = { + call$2: function(k, v) { + this.result.$indexSet(0, this.K._as(k), this.V._as(v)); + }, + $signature: 45 + }; + P.ListBase.prototype = {$isEfficientLengthIterable: 1, $isIterable: 1, $isList: 1}; + P.ListMixin.prototype = { + get$iterator: function(receiver) { + return new H.ListIterator(receiver, this.get$length(receiver), H.instanceType(receiver)._eval$1("ListIterator")); + }, + elementAt$1: function(receiver, index) { + return this.$index(receiver, index); + }, + forEach$1: function(receiver, action) { + var $length, i; + H.instanceType(receiver)._eval$1("~(ListMixin.E)")._as(action); + $length = this.get$length(receiver); + if (typeof $length !== "number") + return H.iae($length); + i = 0; + for (; i < $length; ++i) { + action.call$1(this.$index(receiver, i)); + if ($length !== this.get$length(receiver)) + throw H.wrapException(P.ConcurrentModificationError$(receiver)); + } + }, + get$isEmpty: function(receiver) { + return this.get$length(receiver) === 0; + }, + get$isNotEmpty: function(receiver) { + return !this.get$isEmpty(receiver); + }, + get$first: function(receiver) { + if (this.get$length(receiver) === 0) + throw H.wrapException(H.IterableElementError_noElement()); + return this.$index(receiver, 0); + }, + get$last: function(receiver) { + var t1; + if (this.get$length(receiver) === 0) + throw H.wrapException(H.IterableElementError_noElement()); + t1 = this.get$length(receiver); + if (typeof t1 !== "number") + return t1.$sub(); + return this.$index(receiver, t1 - 1); + }, + get$single: function(receiver) { + var t1; + if (this.get$length(receiver) === 0) + throw H.wrapException(H.IterableElementError_noElement()); + t1 = this.get$length(receiver); + if (typeof t1 !== "number") + return t1.$gt(); + if (t1 > 1) + throw H.wrapException(H.IterableElementError_tooMany()); + return this.$index(receiver, 0); + }, + contains$1: function(receiver, element) { + var i, + $length = this.get$length(receiver); + if (typeof $length !== "number") + return H.iae($length); + i = 0; + for (; i < $length; ++i) { + if (J.$eq$(this.$index(receiver, i), element)) + return true; + if ($length !== this.get$length(receiver)) + throw H.wrapException(P.ConcurrentModificationError$(receiver)); + } + return false; + }, + every$1: function(receiver, test) { + var $length, i; + H.instanceType(receiver)._eval$1("bool(ListMixin.E)")._as(test); + $length = this.get$length(receiver); + if (typeof $length !== "number") + return H.iae($length); + i = 0; + for (; i < $length; ++i) { + if (!H.boolConversionCheck(test.call$1(this.$index(receiver, i)))) + return false; + if ($length !== this.get$length(receiver)) + throw H.wrapException(P.ConcurrentModificationError$(receiver)); + } + return true; + }, + any$1: function(receiver, test) { + var $length, i; + H.instanceType(receiver)._eval$1("bool(ListMixin.E)")._as(test); + $length = this.get$length(receiver); + if (typeof $length !== "number") + return H.iae($length); + i = 0; + for (; i < $length; ++i) { + if (H.boolConversionCheck(test.call$1(this.$index(receiver, i)))) + return true; + if ($length !== this.get$length(receiver)) + throw H.wrapException(P.ConcurrentModificationError$(receiver)); + } + return false; + }, + firstWhere$2$orElse: function(receiver, test, orElse) { + var $length, i, element, + t1 = H.instanceType(receiver); + t1._eval$1("bool(ListMixin.E)")._as(test); + t1._eval$1("ListMixin.E()?")._as(orElse); + $length = this.get$length(receiver); + if (typeof $length !== "number") + return H.iae($length); + i = 0; + for (; i < $length; ++i) { + element = this.$index(receiver, i); + if (H.boolConversionCheck(test.call$1(element))) + return element; + if ($length !== this.get$length(receiver)) + throw H.wrapException(P.ConcurrentModificationError$(receiver)); + } + throw H.wrapException(H.IterableElementError_noElement()); + }, + lastWhere$2$orElse: function(receiver, test, orElse) { + var $length, i, element, + t1 = H.instanceType(receiver); + t1._eval$1("bool(ListMixin.E)")._as(test); + t1._eval$1("ListMixin.E()?")._as(orElse); + $length = this.get$length(receiver); + if (typeof $length !== "number") + return $length.$sub(); + i = $length - 1; + for (; i >= 0; --i) { + element = this.$index(receiver, i); + if (H.boolConversionCheck(test.call$1(element))) + return element; + if ($length !== this.get$length(receiver)) + throw H.wrapException(P.ConcurrentModificationError$(receiver)); + } + if (orElse != null) + return orElse.call$0(); + throw H.wrapException(H.IterableElementError_noElement()); + }, + join$1: function(receiver, separator) { + var t1; + if (this.get$length(receiver) === 0) + return ""; + t1 = P.StringBuffer__writeAll("", receiver, separator); + return t1.charCodeAt(0) == 0 ? t1 : t1; + }, + where$1: function(receiver, test) { + var t1 = H.instanceType(receiver); + return new H.WhereIterable(receiver, t1._eval$1("bool(ListMixin.E)")._as(test), t1._eval$1("WhereIterable")); + }, + map$1$1: function(receiver, f, $T) { + var t1 = H.instanceType(receiver); + return new H.MappedListIterable(receiver, t1._bind$1($T)._eval$1("1(ListMixin.E)")._as(f), t1._eval$1("@")._bind$1($T)._eval$1("MappedListIterable<1,2>")); + }, + map$1: function($receiver, f) { + return this.map$1$1($receiver, f, type$.dynamic); + }, + expand$1$1: function(receiver, f, $T) { + var t1 = H.instanceType(receiver); + return new H.ExpandIterable(receiver, t1._bind$1($T)._eval$1("Iterable<1>(ListMixin.E)")._as(f), t1._eval$1("@")._bind$1($T)._eval$1("ExpandIterable<1,2>")); + }, + fold$1$2: function(receiver, initialValue, combine, $T) { + var $length, value, i; + $T._as(initialValue); + H.instanceType(receiver)._bind$1($T)._eval$1("1(1,ListMixin.E)")._as(combine); + $length = this.get$length(receiver); + if (typeof $length !== "number") + return H.iae($length); + value = initialValue; + i = 0; + for (; i < $length; ++i) { + value = combine.call$2(value, this.$index(receiver, i)); + if ($length !== this.get$length(receiver)) + throw H.wrapException(P.ConcurrentModificationError$(receiver)); + } + return value; + }, + skip$1: function(receiver, count) { + return H.SubListIterable$(receiver, count, null, H.instanceType(receiver)._eval$1("ListMixin.E")); + }, + take$1: function(receiver, count) { + return H.SubListIterable$(receiver, 0, H.checkNotNullable(count, "count", type$.int), H.instanceType(receiver)._eval$1("ListMixin.E")); + }, + toList$1$growable: function(receiver, growable) { + var t1, first, result, i, _this = this; + if (_this.get$isEmpty(receiver)) { + t1 = H.instanceType(receiver)._eval$1("ListMixin.E"); + return growable ? J.JSArray_JSArray$growable(0, t1) : J.JSArray_JSArray$fixed(0, t1); + } + first = _this.$index(receiver, 0); + result = P.List_List$filled(_this.get$length(receiver), first, growable, H.instanceType(receiver)._eval$1("ListMixin.E")); + i = 1; + while (true) { + t1 = _this.get$length(receiver); + if (typeof t1 !== "number") + return H.iae(t1); + if (!(i < t1)) + break; + C.JSArray_methods.$indexSet(result, i, _this.$index(receiver, i)); + ++i; + } + return result; + }, + toList$0: function($receiver) { + return this.toList$1$growable($receiver, true); + }, + toSet$0: function(receiver) { + var t1, + result = P.LinkedHashSet_LinkedHashSet(H.instanceType(receiver)._eval$1("ListMixin.E")), + i = 0; + while (true) { + t1 = this.get$length(receiver); + if (typeof t1 !== "number") + return H.iae(t1); + if (!(i < t1)) + break; + result.add$1(0, this.$index(receiver, i)); + ++i; + } + return result; + }, + add$1: function(receiver, element) { + var t1; + H.instanceType(receiver)._eval$1("ListMixin.E")._as(element); + t1 = this.get$length(receiver); + if (typeof t1 !== "number") + return t1.$add(); + this.set$length(receiver, t1 + 1); + this.$indexSet(receiver, t1, element); + }, + addAll$1: function(receiver, iterable) { + var i, t1; + H.instanceType(receiver)._eval$1("Iterable")._as(iterable); + i = this.get$length(receiver); + for (t1 = J.get$iterator$ax(iterable); t1.moveNext$0();) { + this.add$1(receiver, t1.get$current(t1)); + if (typeof i !== "number") + return i.$add(); + ++i; + } + }, + remove$1: function(receiver, element) { + var t1, i = 0; + while (true) { + t1 = this.get$length(receiver); + if (typeof t1 !== "number") + return H.iae(t1); + if (!(i < t1)) + break; + if (J.$eq$(this.$index(receiver, i), element)) { + this._closeGap$2(receiver, i, i + 1); + return true; + } + ++i; + } + return false; + }, + _closeGap$2: function(receiver, start, end) { + var size, i, _this = this, + $length = _this.get$length(receiver); + if (typeof start !== "number") + return H.iae(start); + size = end - start; + if (typeof $length !== "number") + return H.iae($length); + i = end; + for (; i < $length; ++i) + _this.$indexSet(receiver, i - size, _this.$index(receiver, i)); + _this.set$length(receiver, $length - size); + }, + removeWhere$1: function(receiver, test) { + this._filter$2(receiver, H.instanceType(receiver)._eval$1("bool(ListMixin.E)")._as(test), false); + }, + _filter$2: function(receiver, test, retainMatching) { + var retained, $length, i, element, _this = this, + t1 = H.instanceType(receiver); + t1._eval$1("bool(ListMixin.E)")._as(test); + retained = H.setRuntimeTypeInfo([], t1._eval$1("JSArray")); + $length = _this.get$length(receiver); + if (typeof $length !== "number") + return H.iae($length); + i = 0; + for (; i < $length; ++i) { + element = _this.$index(receiver, i); + if (J.$eq$(test.call$1(element), false)) + C.JSArray_methods.add$1(retained, element); + if ($length !== _this.get$length(receiver)) + throw H.wrapException(P.ConcurrentModificationError$(receiver)); + } + if (retained.length !== _this.get$length(receiver)) { + _this.setRange$3(receiver, 0, retained.length, retained); + _this.set$length(receiver, retained.length); + } + }, + clear$0: function(receiver) { + this.set$length(receiver, 0); + }, + cast$1$0: function(receiver, $R) { + return new H.CastList(receiver, H.instanceType(receiver)._eval$1("@")._bind$1($R)._eval$1("CastList<1,2>")); + }, + removeLast$0: function(receiver) { + var t1, result, _this = this; + if (_this.get$length(receiver) === 0) + throw H.wrapException(H.IterableElementError_noElement()); + t1 = _this.get$length(receiver); + if (typeof t1 !== "number") + return t1.$sub(); + result = _this.$index(receiver, t1 - 1); + t1 = _this.get$length(receiver); + if (typeof t1 !== "number") + return t1.$sub(); + _this.set$length(receiver, t1 - 1); + return result; + }, + sort$1: function(receiver, compare) { + var t2, + t1 = H.instanceType(receiver); + t1._eval$1("int(ListMixin.E,ListMixin.E)?")._as(compare); + t2 = compare == null ? P.collection_ListMixin__compareAny$closure() : compare; + H.Sort_sort(receiver, t2, t1._eval$1("ListMixin.E")); + }, + sort$0: function($receiver) { + return this.sort$1($receiver, null); + }, + $add: function(receiver, other) { + var t1 = H.instanceType(receiver); + t1._eval$1("List")._as(other); + t1 = P.List_List$of(receiver, true, t1._eval$1("ListMixin.E")); + C.JSArray_methods.addAll$1(t1, other); + return t1; + }, + sublist$2: function(receiver, start, end) { + var listLength = this.get$length(receiver); + if (end == null) + end = listLength; + if (end == null) + throw H.wrapException("!"); + P.RangeError_checkValidRange(start, end, listLength); + return P.List_List$from(this.getRange$2(receiver, start, end), true, H.instanceType(receiver)._eval$1("ListMixin.E")); + }, + sublist$1: function($receiver, start) { + return this.sublist$2($receiver, start, null); + }, + getRange$2: function(receiver, start, end) { + P.RangeError_checkValidRange(start, end, this.get$length(receiver)); + return H.SubListIterable$(receiver, start, end, H.instanceType(receiver)._eval$1("ListMixin.E")); + }, + removeRange$2: function(receiver, start, end) { + P.RangeError_checkValidRange(start, end, this.get$length(receiver)); + if (typeof end !== "number") + return end.$gt(); + if (typeof start !== "number") + return H.iae(start); + if (end > start) + this._closeGap$2(receiver, start, end); + }, + fillRange$3: function(receiver, start, end, fill) { + var i; + H.instanceType(receiver)._eval$1("ListMixin.E?")._as(fill); + P.RangeError_checkValidRange(start, end, this.get$length(receiver)); + i = start; + while (true) { + if (typeof i !== "number") + return i.$lt(); + if (!(i < end)) + break; + this.$indexSet(receiver, i, fill); + ++i; + } + }, + setRange$4: function(receiver, start, end, iterable, skipCount) { + var t1, $length, otherStart, otherList, t2, i; + H._asIntS(end); + t1 = H.instanceType(receiver); + t1._eval$1("Iterable")._as(iterable); + P.RangeError_checkValidRange(start, end, this.get$length(receiver)); + if (typeof end !== "number") + return end.$sub(); + if (typeof start !== "number") + return H.iae(start); + $length = end - start; + if ($length === 0) + return; + P.RangeError_checkNotNegative(skipCount, "skipCount"); + if (t1._eval$1("List")._is(iterable)) { + otherStart = skipCount; + otherList = iterable; + } else { + otherList = J.skip$1$ax(iterable, skipCount).toList$1$growable(0, false); + otherStart = 0; + } + if (typeof otherStart !== "number") + return otherStart.$add(); + t1 = J.getInterceptor$asx(otherList); + t2 = t1.get$length(otherList); + if (typeof t2 !== "number") + return H.iae(t2); + if (otherStart + $length > t2) + throw H.wrapException(H.IterableElementError_tooFew()); + if (otherStart < start) + for (i = $length - 1; i >= 0; --i) + this.$indexSet(receiver, start + i, t1.$index(otherList, otherStart + i)); + else + for (i = 0; i < $length; ++i) + this.$indexSet(receiver, start + i, t1.$index(otherList, otherStart + i)); + }, + setRange$3: function($receiver, start, end, iterable) { + return this.setRange$4($receiver, start, end, iterable, 0); + }, + indexOf$2: function(receiver, element, start) { + var t1, + i = start; + while (true) { + t1 = this.get$length(receiver); + if (typeof t1 !== "number") + return H.iae(t1); + if (!(i < t1)) + break; + if (J.$eq$(this.$index(receiver, i), element)) + return i; + ++i; + } + return -1; + }, + insert$2: function(receiver, index, element) { + var $length, _this = this; + H.instanceType(receiver)._eval$1("ListMixin.E")._as(element); + H.checkNotNullable(index, "index", type$.int); + $length = _this.get$length(receiver); + P.RangeError_checkValueInInterval(index, 0, $length, "index"); + _this.add$1(receiver, element); + if (index !== $length) { + if (typeof $length !== "number") + return $length.$add(); + _this.setRange$4(receiver, index + 1, $length + 1, receiver, index); + _this.$indexSet(receiver, index, element); + } + }, + removeAt$1: function(receiver, index) { + var result = this.$index(receiver, index); + this._closeGap$2(receiver, index, index + 1); + return result; + }, + insertAll$2: function(receiver, index, iterable) { + var t1, insertionLength, oldLength, i, oldCopyStart, _this = this; + H.instanceType(receiver)._eval$1("Iterable")._as(iterable); + P.RangeError_checkValueInInterval(index, 0, _this.get$length(receiver), "index"); + if (index === _this.get$length(receiver)) { + _this.addAll$1(receiver, iterable); + return; + } + if (!type$.EfficientLengthIterable_dynamic._is(iterable) || false) + iterable = J.toList$0$ax(iterable); + t1 = J.getInterceptor$asx(iterable); + insertionLength = t1.get$length(iterable); + if (insertionLength === 0) + return; + oldLength = _this.get$length(receiver); + if (typeof oldLength !== "number") + return oldLength.$sub(); + if (typeof insertionLength !== "number") + return H.iae(insertionLength); + i = oldLength - insertionLength; + for (; i < oldLength; ++i) + _this.add$1(receiver, _this.$index(receiver, i > 0 ? i : 0)); + if (t1.get$length(iterable) !== insertionLength) { + t1 = _this.get$length(receiver); + if (typeof t1 !== "number") + return t1.$sub(); + _this.set$length(receiver, t1 - insertionLength); + throw H.wrapException(P.ConcurrentModificationError$(iterable)); + } + oldCopyStart = index + insertionLength; + if (oldCopyStart < oldLength) + _this.setRange$4(receiver, oldCopyStart, oldLength, receiver, index); + _this.setAll$2(receiver, index, iterable); + }, + setAll$2: function(receiver, index, iterable) { + var t1, index0; + H.instanceType(receiver)._eval$1("Iterable")._as(iterable); + if (type$.List_dynamic._is(iterable)) + this.setRange$3(receiver, index, index + iterable.length, iterable); + else + for (t1 = J.get$iterator$ax(iterable); t1.moveNext$0(); index = index0) { + index0 = index + 1; + this.$indexSet(receiver, index, t1.get$current(t1)); + } + }, + get$reversed: function(receiver) { + return new H.ReversedListIterable(receiver, H.instanceType(receiver)._eval$1("ReversedListIterable")); + }, + toString$0: function(receiver) { + return P.IterableBase_iterableToFullString(receiver, "[", "]"); + } + }; + P.MapBase.prototype = {}; + P.MapBase_mapToString_closure.prototype = { + call$2: function(k, v) { + var t2, + t1 = this._box_0; + if (!t1.first) + this.result._contents += ", "; + t1.first = false; + t1 = this.result; + t2 = t1._contents += H.S(k); + t1._contents = t2 + ": "; + t1._contents += H.S(v); + }, + $signature: 95 + }; + P.MapMixin.prototype = { + cast$2$0: function(receiver, RK, RV) { + var t1 = H.instanceType(receiver); + return P.Map_castFrom(receiver, t1._eval$1("MapMixin.K"), t1._eval$1("MapMixin.V"), RK, RV); + }, + forEach$1: function(receiver, action) { + var t1, key; + H.instanceType(receiver)._eval$1("~(MapMixin.K,MapMixin.V)")._as(action); + for (t1 = J.get$iterator$ax(this.get$keys(receiver)); t1.moveNext$0();) { + key = t1.get$current(t1); + action.call$2(key, this.$index(receiver, key)); + } + }, + addAll$1: function(receiver, other) { + var t1, t2, key; + H.instanceType(receiver)._eval$1("Map")._as(other); + for (t1 = J.getInterceptor$x(other), t2 = J.get$iterator$ax(t1.get$keys(other)); t2.moveNext$0();) { + key = t2.get$current(t2); + this.$indexSet(receiver, key, t1.$index(other, key)); + } + }, + get$entries: function(receiver) { + return J.map$1$1$ax(this.get$keys(receiver), new P.MapMixin_entries_closure(receiver), H.instanceType(receiver)._eval$1("MapEntry")); + }, + map$2$1: function(receiver, transform, K2, V2) { + var result, t1, key, entry; + H.instanceType(receiver)._bind$1(K2)._bind$1(V2)._eval$1("MapEntry<1,2>(MapMixin.K,MapMixin.V)")._as(transform); + result = P.LinkedHashMap_LinkedHashMap$_empty(K2, V2); + for (t1 = J.get$iterator$ax(this.get$keys(receiver)); t1.moveNext$0();) { + key = t1.get$current(t1); + entry = transform.call$2(key, this.$index(receiver, key)); + result.$indexSet(0, entry.key, entry.value); + } + return result; + }, + map$1: function($receiver, transform) { + return this.map$2$1($receiver, transform, type$.dynamic, type$.dynamic); + }, + addEntries$1: function(receiver, newEntries) { + var t1, t2; + H.instanceType(receiver)._eval$1("Iterable>")._as(newEntries); + for (t1 = newEntries.get$iterator(newEntries); t1.moveNext$0();) { + t2 = t1.get$current(t1); + this.$indexSet(receiver, t2.key, t2.value); + } + }, + removeWhere$1: function(receiver, test) { + var keysToRemove, key, _i, + t1 = H.instanceType(receiver); + t1._eval$1("bool(MapMixin.K,MapMixin.V)")._as(test); + keysToRemove = H.setRuntimeTypeInfo([], t1._eval$1("JSArray")); + for (t1 = J.get$iterator$ax(this.get$keys(receiver)); t1.moveNext$0();) { + key = t1.get$current(t1); + if (H.boolConversionCheck(test.call$2(key, this.$index(receiver, key)))) + C.JSArray_methods.add$1(keysToRemove, key); + } + for (t1 = keysToRemove.length, _i = 0; _i < keysToRemove.length; keysToRemove.length === t1 || (0, H.throwConcurrentModificationError)(keysToRemove), ++_i) + this.remove$1(receiver, keysToRemove[_i]); + }, + containsKey$1: function(receiver, key) { + return J.contains$1$asx(this.get$keys(receiver), key); + }, + get$length: function(receiver) { + return J.get$length$asx(this.get$keys(receiver)); + }, + get$isEmpty: function(receiver) { + return J.get$isEmpty$asx(this.get$keys(receiver)); + }, + get$isNotEmpty: function(receiver) { + return J.get$isNotEmpty$asx(this.get$keys(receiver)); + }, + get$values: function(receiver) { + var t1 = H.instanceType(receiver); + return new P._MapBaseValueIterable(receiver, t1._eval$1("@")._bind$1(t1._eval$1("MapMixin.V"))._eval$1("_MapBaseValueIterable<1,2>")); + }, + toString$0: function(receiver) { + return P.MapBase_mapToString(receiver); + }, + $isMap: 1 + }; + P.MapMixin_entries_closure.prototype = { + call$1: function(key) { + var t1 = this.$this, + t2 = H.instanceType(t1); + t2._eval$1("MapMixin.K")._as(key); + return new P.MapEntry(key, J.$index$asx(t1, key), t2._eval$1("@")._bind$1(t2._eval$1("MapMixin.V"))._eval$1("MapEntry<1,2>")); + }, + $signature: function() { + return H.instanceType(this.$this)._eval$1("MapEntry(MapMixin.K)"); + } + }; + P._MapBaseValueIterable.prototype = { + get$length: function(_) { + return J.get$length$asx(this._collection$_map); + }, + get$isEmpty: function(_) { + return J.get$isEmpty$asx(this._collection$_map); + }, + get$isNotEmpty: function(_) { + return J.get$isNotEmpty$asx(this._collection$_map); + }, + get$first: function(_) { + var t1 = this._collection$_map, + t2 = J.getInterceptor$x(t1); + return t2.$index(t1, J.get$first$ax(t2.get$keys(t1))); + }, + get$single: function(_) { + var t1 = this._collection$_map, + t2 = J.getInterceptor$x(t1); + return t2.$index(t1, J.get$single$ax(t2.get$keys(t1))); + }, + get$last: function(_) { + var t1 = this._collection$_map, + t2 = J.getInterceptor$x(t1); + return t2.$index(t1, J.get$last$ax(t2.get$keys(t1))); + }, + get$iterator: function(_) { + var t1 = this._collection$_map, + t2 = this.$ti; + return new P._MapBaseValueIterator(J.get$iterator$ax(J.get$keys$x(t1)), t1, t2._eval$1("@<1>")._bind$1(t2._rest[1])._eval$1("_MapBaseValueIterator<1,2>")); + } + }; + P._MapBaseValueIterator.prototype = { + moveNext$0: function() { + var _this = this, + t1 = _this._collection$_keys; + if (t1.moveNext$0()) { + _this.set$_collection$_current(J.$index$asx(_this._collection$_map, t1.get$current(t1))); + return true; + } + _this.set$_collection$_current(null); + return false; + }, + get$current: function(_) { + return this._collection$_current; + }, + set$_collection$_current: function(_current) { + this._collection$_current = this.$ti._eval$1("2?")._as(_current); + }, + $isIterator: 1 + }; + P._UnmodifiableMapMixin.prototype = { + $indexSet: function(_, key, value) { + var t1 = H._instanceType(this); + t1._precomputed1._as(key); + t1._rest[1]._as(value); + throw H.wrapException(P.UnsupportedError$("Cannot modify unmodifiable map")); + }, + remove$1: function(_, key) { + throw H.wrapException(P.UnsupportedError$("Cannot modify unmodifiable map")); + }, + removeWhere$1: function(_, test) { + H._instanceType(this)._eval$1("bool(1,2)")._as(test); + throw H.wrapException(P.UnsupportedError$("Cannot modify unmodifiable map")); + } + }; + P.MapView.prototype = { + cast$2$0: function(_, RK, RV) { + return J.cast$2$0$ax(this._collection$_map, RK, RV); + }, + $index: function(_, key) { + return J.$index$asx(this._collection$_map, key); + }, + $indexSet: function(_, key, value) { + var t1 = H._instanceType(this); + J.$indexSet$ax(this._collection$_map, t1._precomputed1._as(key), t1._rest[1]._as(value)); + }, + containsKey$1: function(_, key) { + return J.containsKey$1$x(this._collection$_map, key); + }, + forEach$1: function(_, action) { + J.forEach$1$ax(this._collection$_map, H._instanceType(this)._eval$1("~(1,2)")._as(action)); + }, + get$isEmpty: function(_) { + return J.get$isEmpty$asx(this._collection$_map); + }, + get$isNotEmpty: function(_) { + return J.get$isNotEmpty$asx(this._collection$_map); + }, + get$length: function(_) { + return J.get$length$asx(this._collection$_map); + }, + get$keys: function(_) { + return J.get$keys$x(this._collection$_map); + }, + remove$1: function(_, key) { + return J.remove$1$ax(this._collection$_map, key); + }, + toString$0: function(_) { + return J.toString$0$(this._collection$_map); + }, + get$values: function(_) { + return J.get$values$x(this._collection$_map); + }, + get$entries: function(_) { + return J.get$entries$x(this._collection$_map); + }, + map$2$1: function(_, transform, K2, V2) { + return J.map$2$1$ax(this._collection$_map, H._instanceType(this)._bind$1(K2)._bind$1(V2)._eval$1("MapEntry<1,2>(3,4)")._as(transform), K2, V2); + }, + map$1: function($receiver, transform) { + return this.map$2$1($receiver, transform, type$.dynamic, type$.dynamic); + }, + removeWhere$1: function(_, test) { + J.removeWhere$1$ax(this._collection$_map, H._instanceType(this)._eval$1("bool(1,2)")._as(test)); + }, + $isMap: 1 + }; + P.UnmodifiableMapView.prototype = { + cast$2$0: function(_, RK, RV) { + return new P.UnmodifiableMapView(J.cast$2$0$ax(this._collection$_map, RK, RV), RK._eval$1("@<0>")._bind$1(RV)._eval$1("UnmodifiableMapView<1,2>")); + } + }; + P.ListQueue.prototype = { + cast$1$0: function(_, $R) { + return new H.CastQueue(this, this.$ti._eval$1("@<1>")._bind$1($R)._eval$1("CastQueue<1,2>")); + }, + get$iterator: function(_) { + var _this = this; + return new P._ListQueueIterator(_this, _this._tail, _this._modificationCount, _this._head, _this.$ti._eval$1("_ListQueueIterator<1>")); + }, + forEach$1: function(_, f) { + var modificationCount, i, t1, _this = this; + _this.$ti._eval$1("~(1)")._as(f); + modificationCount = _this._modificationCount; + for (i = _this._head; i !== _this._tail; i = (i + 1 & _this._table.length - 1) >>> 0) { + t1 = _this._table; + if (i < 0 || i >= t1.length) + return H.ioore(t1, i); + f.call$1(t1[i]); + if (modificationCount !== _this._modificationCount) + H.throwExpression(P.ConcurrentModificationError$(_this)); + } + }, + get$isEmpty: function(_) { + return this._head === this._tail; + }, + get$length: function(_) { + return (this._tail - this._head & this._table.length - 1) >>> 0; + }, + get$first: function(_) { + var t2, + t1 = this._head; + if (t1 === this._tail) + throw H.wrapException(H.IterableElementError_noElement()); + t2 = this._table; + if (t1 >= t2.length) + return H.ioore(t2, t1); + return t2[t1]; + }, + get$last: function(_) { + var t3, + t1 = this._head, + t2 = this._tail; + if (t1 === t2) + throw H.wrapException(H.IterableElementError_noElement()); + t1 = this._table; + t3 = t1.length; + t2 = (t2 - 1 & t3 - 1) >>> 0; + if (t2 < 0 || t2 >= t3) + return H.ioore(t1, t2); + return t1[t2]; + }, + get$single: function(_) { + var t1, t2, _this = this; + if (_this._head === _this._tail) + throw H.wrapException(H.IterableElementError_noElement()); + if (_this.get$length(_this) > 1) + throw H.wrapException(H.IterableElementError_tooMany()); + t1 = _this._table; + t2 = _this._head; + if (t2 >= t1.length) + return H.ioore(t1, t2); + return t1[t2]; + }, + elementAt$1: function(_, index) { + var t1, t2, t3; + P.RangeError_checkValidIndex(index, this); + t1 = this._table; + t2 = this._head; + if (typeof index !== "number") + return H.iae(index); + t3 = t1.length; + t2 = (t2 + index & t3 - 1) >>> 0; + if (t2 < 0 || t2 >= t3) + return H.ioore(t1, t2); + return t1[t2]; + }, + toList$1$growable: function(_, growable) { + var t1, list, i, t2, _this = this, + mask = _this._table.length - 1, + $length = (_this._tail - _this._head & mask) >>> 0; + if ($length === 0) { + t1 = _this.$ti._precomputed1; + return growable ? J.JSArray_JSArray$growable(0, t1) : J.JSArray_JSArray$fixed(0, t1); + } + list = P.List_List$filled($length, _this.get$first(_this), growable, _this.$ti._precomputed1); + for (i = 0; i < $length; ++i) { + t1 = _this._table; + t2 = (_this._head + i & mask) >>> 0; + if (t2 >= t1.length) + return H.ioore(t1, t2); + C.JSArray_methods.$indexSet(list, i, t1[t2]); + } + return list; + }, + toList$0: function($receiver) { + return this.toList$1$growable($receiver, true); + }, + add$1: function(_, value) { + this._add$1(0, this.$ti._precomputed1._as(value)); + }, + toString$0: function(_) { + return P.IterableBase_iterableToFullString(this, "{", "}"); + }, + removeFirst$0: function() { + var t2, result, _this = this, + t1 = _this._head; + if (t1 === _this._tail) + throw H.wrapException(H.IterableElementError_noElement()); + ++_this._modificationCount; + t2 = _this._table; + if (t1 >= t2.length) + return H.ioore(t2, t1); + result = t2[t1]; + C.JSArray_methods.$indexSet(t2, t1, null); + _this._head = (_this._head + 1 & _this._table.length - 1) >>> 0; + return result; + }, + _add$1: function(_, element) { + var t2, t3, newTable, split, _this = this, + t1 = _this.$ti; + t1._precomputed1._as(element); + C.JSArray_methods.$indexSet(_this._table, _this._tail, element); + t2 = _this._tail; + t3 = _this._table.length; + t2 = (t2 + 1 & t3 - 1) >>> 0; + _this._tail = t2; + if (_this._head === t2) { + newTable = P.List_List$filled(t3 * 2, null, false, t1._eval$1("1?")); + t1 = _this._table; + t2 = _this._head; + split = t1.length - t2; + C.JSArray_methods.setRange$4(newTable, 0, split, t1, t2); + C.JSArray_methods.setRange$4(newTable, split, split + _this._head, _this._table, 0); + _this._head = 0; + _this._tail = _this._table.length; + _this.set$_table(newTable); + } + ++_this._modificationCount; + }, + set$_table: function(_table) { + this._table = this.$ti._eval$1("List<1?>")._as(_table); + }, + $isQueue: 1 + }; + P._ListQueueIterator.prototype = { + get$current: function(_) { + return this._collection$_current; + }, + moveNext$0: function() { + var t2, t3, _this = this, + t1 = _this._queue; + if (_this._modificationCount !== t1._modificationCount) + H.throwExpression(P.ConcurrentModificationError$(t1)); + t2 = _this._collection$_position; + if (t2 === _this._collection$_end) { + _this.set$_collection$_current(null); + return false; + } + t3 = t1._table; + if (t2 >= t3.length) + return H.ioore(t3, t2); + _this.set$_collection$_current(t3[t2]); + _this._collection$_position = (_this._collection$_position + 1 & t1._table.length - 1) >>> 0; + return true; + }, + set$_collection$_current: function(_current) { + this._collection$_current = this.$ti._eval$1("1?")._as(_current); + }, + $isIterator: 1 + }; + P.SetMixin.prototype = { + get$isEmpty: function(_) { + return this.get$length(this) === 0; + }, + get$isNotEmpty: function(_) { + return this.get$length(this) !== 0; + }, + cast$1$0: function(_, $R) { + return P.Set_castFrom(this, null, H._instanceType(this)._eval$1("SetMixin.E"), $R); + }, + clear$0: function(_) { + this.removeAll$1(this.toList$0(0)); + }, + addAll$1: function(_, elements) { + var t1; + for (t1 = J.get$iterator$ax(H._instanceType(this)._eval$1("Iterable")._as(elements)); t1.moveNext$0();) + this.add$1(0, t1.get$current(t1)); + }, + removeAll$1: function(elements) { + var t1; + for (t1 = J.get$iterator$ax(elements); t1.moveNext$0();) + this.remove$1(0, t1.get$current(t1)); + }, + removeWhere$1: function(_, test) { + var toRemove, t1, element, _this = this; + H._instanceType(_this)._eval$1("bool(SetMixin.E)")._as(test); + toRemove = []; + for (t1 = _this.get$iterator(_this); t1.moveNext$0();) { + element = t1.get$current(t1); + if (H.boolConversionCheck(test.call$1(element))) + toRemove.push(element); + } + _this.removeAll$1(toRemove); + }, + containsAll$1: function(other) { + var t1; + for (t1 = J.get$iterator$ax(other); t1.moveNext$0();) + if (!this.contains$1(0, t1.get$current(t1))) + return false; + return true; + }, + union$1: function(other) { + var t1; + H._instanceType(this)._eval$1("Set")._as(other); + t1 = this.toSet$0(0); + t1.addAll$1(0, other); + return t1; + }, + intersection$1: function(_, other) { + var t1, element, + result = this.toSet$0(0); + for (t1 = this.get$iterator(this); t1.moveNext$0();) { + element = t1.get$current(t1); + if (!other.contains$1(0, element)) + result.remove$1(0, element); + } + return result; + }, + difference$1: function(other) { + var t1, element, + result = this.toSet$0(0); + for (t1 = this.get$iterator(this); t1.moveNext$0();) { + element = t1.get$current(t1); + if (other.contains$1(0, element)) + result.remove$1(0, element); + } + return result; + }, + toList$1$growable: function(_, growable) { + return P.List_List$of(this, growable, H._instanceType(this)._eval$1("SetMixin.E")); + }, + toList$0: function($receiver) { + return this.toList$1$growable($receiver, true); + }, + map$1$1: function(_, f, $T) { + var t1 = H._instanceType(this); + return new H.EfficientLengthMappedIterable(this, t1._bind$1($T)._eval$1("1(SetMixin.E)")._as(f), t1._eval$1("@")._bind$1($T)._eval$1("EfficientLengthMappedIterable<1,2>")); + }, + map$1: function($receiver, f) { + return this.map$1$1($receiver, f, type$.dynamic); + }, + get$single: function(_) { + var it, _this = this, + t1 = _this.get$length(_this); + if (typeof t1 !== "number") + return t1.$gt(); + if (t1 > 1) + throw H.wrapException(H.IterableElementError_tooMany()); + it = _this.get$iterator(_this); + if (!it.moveNext$0()) + throw H.wrapException(H.IterableElementError_noElement()); + return it.get$current(it); + }, + toString$0: function(_) { + return P.IterableBase_iterableToFullString(this, "{", "}"); + }, + where$1: function(_, f) { + var t1 = H._instanceType(this); + return new H.WhereIterable(this, t1._eval$1("bool(SetMixin.E)")._as(f), t1._eval$1("WhereIterable")); + }, + expand$1$1: function(_, f, $T) { + var t1 = H._instanceType(this); + return new H.ExpandIterable(this, t1._bind$1($T)._eval$1("Iterable<1>(SetMixin.E)")._as(f), t1._eval$1("@")._bind$1($T)._eval$1("ExpandIterable<1,2>")); + }, + forEach$1: function(_, f) { + var t1; + H._instanceType(this)._eval$1("~(SetMixin.E)")._as(f); + for (t1 = this.get$iterator(this); t1.moveNext$0();) + f.call$1(t1.get$current(t1)); + }, + every$1: function(_, f) { + var t1; + H._instanceType(this)._eval$1("bool(SetMixin.E)")._as(f); + for (t1 = this.get$iterator(this); t1.moveNext$0();) + if (!H.boolConversionCheck(f.call$1(t1.get$current(t1)))) + return false; + return true; + }, + join$1: function(_, separator) { + var t1, + iterator = this.get$iterator(this); + if (!iterator.moveNext$0()) + return ""; + if (separator === "") { + t1 = ""; + do + t1 += H.S(iterator.get$current(iterator)); + while (iterator.moveNext$0()); + } else { + t1 = H.S(iterator.get$current(iterator)); + for (; iterator.moveNext$0();) + t1 = t1 + separator + H.S(iterator.get$current(iterator)); + } + return t1.charCodeAt(0) == 0 ? t1 : t1; + }, + any$1: function(_, test) { + var t1; + H._instanceType(this)._eval$1("bool(SetMixin.E)")._as(test); + for (t1 = this.get$iterator(this); t1.moveNext$0();) + if (H.boolConversionCheck(test.call$1(t1.get$current(t1)))) + return true; + return false; + }, + take$1: function(_, n) { + return H.TakeIterable_TakeIterable(this, n, H._instanceType(this)._eval$1("SetMixin.E")); + }, + skip$1: function(_, n) { + return H.SkipIterable_SkipIterable(this, n, H._instanceType(this)._eval$1("SetMixin.E")); + }, + get$first: function(_) { + var it = this.get$iterator(this); + if (!it.moveNext$0()) + throw H.wrapException(H.IterableElementError_noElement()); + return it.get$current(it); + }, + get$last: function(_) { + var result, + it = this.get$iterator(this); + if (!it.moveNext$0()) + throw H.wrapException(H.IterableElementError_noElement()); + do + result = it.get$current(it); + while (it.moveNext$0()); + return result; + }, + elementAt$1: function(_, index) { + var t1, elementIndex, element, _s5_ = "index"; + H.checkNotNullable(index, _s5_, type$.int); + P.RangeError_checkNotNegative(index, _s5_); + for (t1 = this.get$iterator(this), elementIndex = 0; t1.moveNext$0();) { + element = t1.get$current(t1); + if (index === elementIndex) + return element; + ++elementIndex; + } + throw H.wrapException(P.IndexError$(index, this, _s5_, null, elementIndex)); + } + }; + P.SetBase.prototype = {$isEfficientLengthIterable: 1, $isIterable: 1, $isSet: 1}; + P._SetBase.prototype = { + cast$1$0: function(_, $R) { + return P.Set_castFrom(this, this.get$_newSimilarSet(), H._instanceType(this)._precomputed1, $R); + }, + difference$1: function(other) { + var t1, element, + result = this._newSet$0(); + for (t1 = this.get$iterator(this); t1.moveNext$0();) { + element = t1.get$current(t1); + if (!other.contains$1(0, element)) + result.add$1(0, element); + } + return result; + }, + intersection$1: function(_, other) { + var t1, element, + result = this._newSet$0(); + for (t1 = this.get$iterator(this); t1.moveNext$0();) { + element = t1.get$current(t1); + if (other.contains$1(0, element)) + result.add$1(0, element); + } + return result; + }, + toSet$0: function(_) { + var t1 = this._newSet$0(); + t1.addAll$1(0, this); + return t1; + }, + $isEfficientLengthIterable: 1, + $isIterable: 1, + $isSet: 1 + }; + P._UnmodifiableSetMixin.prototype = { + add$1: function(_, value) { + this.$ti._precomputed1._as(value); + P._UnmodifiableSetMixin__throwUnmodifiable(); + return H.ReachabilityError$(string$.x60null_); + }, + clear$0: function(_) { + P._UnmodifiableSetMixin__throwUnmodifiable(); + return H.ReachabilityError$(string$.x60null_); + }, + addAll$1: function(_, elements) { + this.$ti._eval$1("Iterable<1>")._as(elements); + P._UnmodifiableSetMixin__throwUnmodifiable(); + return H.ReachabilityError$(string$.x60null_); + }, + removeAll$1: function(elements) { + P._UnmodifiableSetMixin__throwUnmodifiable(); + return H.ReachabilityError$(string$.x60null_); + }, + removeWhere$1: function(_, test) { + this.$ti._eval$1("bool(1)")._as(test); + P._UnmodifiableSetMixin__throwUnmodifiable(); + return H.ReachabilityError$(string$.x60null_); + }, + remove$1: function(_, value) { + P._UnmodifiableSetMixin__throwUnmodifiable(); + return H.ReachabilityError$(string$.x60null_); + } + }; + P._UnmodifiableSet.prototype = { + _newSet$0: function() { + return P.LinkedHashSet_LinkedHashSet(this.$ti._precomputed1); + }, + _newSimilarSet$1$0: function($R) { + return P.LinkedHashSet_LinkedHashSet($R); + }, + _newSimilarSet$0: function() { + return this._newSimilarSet$1$0(type$.dynamic); + }, + contains$1: function(_, element) { + return J.containsKey$1$x(this._collection$_map, element); + }, + get$iterator: function(_) { + return J.get$iterator$ax(J.get$keys$x(this._collection$_map)); + }, + get$length: function(_) { + return J.get$length$asx(this._collection$_map); + } + }; + P._ListBase_Object_ListMixin.prototype = {}; + P._SetBase_Object_SetMixin.prototype = {}; + P._UnmodifiableMapView_MapView__UnmodifiableMapMixin.prototype = {}; + P.__SetBase_Object_SetMixin.prototype = {}; + P.__UnmodifiableSet__SetBase__UnmodifiableSetMixin.prototype = {}; + P._JsonMap.prototype = { + $index: function(_, key) { + var result, + t1 = this._processed; + if (t1 == null) + return this._data.$index(0, key); + else if (typeof key != "string") + return null; + else { + result = t1[key]; + return typeof result == "undefined" ? this._process$1(key) : result; + } + }, + get$length: function(_) { + var t1; + if (this._processed == null) { + t1 = this._data; + t1 = t1.get$length(t1); + } else + t1 = this._computeKeys$0().length; + return t1; + }, + get$isEmpty: function(_) { + return this.get$length(this) === 0; + }, + get$isNotEmpty: function(_) { + return this.get$length(this) > 0; + }, + get$keys: function(_) { + var t1; + if (this._processed == null) { + t1 = this._data; + return t1.get$keys(t1); + } + return new P._JsonMapKeyIterable(this); + }, + get$values: function(_) { + var t1, _this = this; + if (_this._processed == null) { + t1 = _this._data; + return t1.get$values(t1); + } + return H.MappedIterable_MappedIterable(_this._computeKeys$0(), new P._JsonMap_values_closure(_this), type$.String, type$.dynamic); + }, + $indexSet: function(_, key, value) { + var processed, original, _this = this; + H._asStringS(key); + if (_this._processed == null) + _this._data.$indexSet(0, key, value); + else if (_this.containsKey$1(0, key)) { + processed = _this._processed; + processed[key] = value; + original = _this._original; + if (original == null ? processed != null : original !== processed) + original[key] = null; + } else + _this._upgrade$0().$indexSet(0, key, value); + }, + containsKey$1: function(_, key) { + if (this._processed == null) + return this._data.containsKey$1(0, key); + if (typeof key != "string") + return false; + return Object.prototype.hasOwnProperty.call(this._original, key); + }, + remove$1: function(_, key) { + if (this._processed != null && !this.containsKey$1(0, key)) + return null; + return this._upgrade$0().remove$1(0, key); + }, + forEach$1: function(_, f) { + var keys, i, key, value, _this = this; + type$.void_Function_String_dynamic._as(f); + if (_this._processed == null) + return _this._data.forEach$1(0, f); + keys = _this._computeKeys$0(); + for (i = 0; i < keys.length; ++i) { + key = keys[i]; + value = _this._processed[key]; + if (typeof value == "undefined") { + value = P._convertJsonToDartLazy(_this._original[key]); + _this._processed[key] = value; + } + f.call$2(key, value); + if (keys !== _this._data) + throw H.wrapException(P.ConcurrentModificationError$(_this)); + } + }, + _computeKeys$0: function() { + var keys = type$.nullable_List_dynamic._as(this._data); + if (keys == null) + keys = this._data = H.setRuntimeTypeInfo(Object.keys(this._original), type$.JSArray_String); + return keys; + }, + _upgrade$0: function() { + var result, keys, i, t1, key, _this = this; + if (_this._processed == null) + return _this._data; + result = P.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.dynamic); + keys = _this._computeKeys$0(); + for (i = 0; t1 = keys.length, i < t1; ++i) { + key = keys[i]; + result.$indexSet(0, key, _this.$index(0, key)); + } + if (t1 === 0) + C.JSArray_methods.add$1(keys, ""); + else + C.JSArray_methods.set$length(keys, 0); + _this._original = _this._processed = null; + return _this._data = result; + }, + _process$1: function(key) { + var result; + if (!Object.prototype.hasOwnProperty.call(this._original, key)) + return null; + result = P._convertJsonToDartLazy(this._original[key]); + return this._processed[key] = result; + } + }; + P._JsonMap_values_closure.prototype = { + call$1: function(each) { + return this.$this.$index(0, each); + }, + $signature: 252 + }; + P._JsonMapKeyIterable.prototype = { + get$length: function(_) { + var t1 = this._parent; + return t1.get$length(t1); + }, + elementAt$1: function(_, index) { + var t1 = this._parent; + return t1._processed == null ? t1.get$keys(t1).elementAt$1(0, index) : C.JSArray_methods.$index(t1._computeKeys$0(), index); + }, + get$iterator: function(_) { + var t1 = this._parent; + if (t1._processed == null) { + t1 = t1.get$keys(t1); + t1 = t1.get$iterator(t1); + } else { + t1 = t1._computeKeys$0(); + t1 = new J.ArrayIterator(t1, t1.length, H._arrayInstanceType(t1)._eval$1("ArrayIterator<1>")); + } + return t1; + }, + contains$1: function(_, key) { + return this._parent.containsKey$1(0, key); + } + }; + P.Utf8Decoder__decoder_closure.prototype = { + call$0: function() { + var t1, exception; + try { + t1 = new TextDecoder("utf-8", {fatal: true}); + return t1; + } catch (exception) { + H.unwrapException(exception); + } + return null; + }, + $signature: 1 + }; + P.Utf8Decoder__decoderNonfatal_closure.prototype = { + call$0: function() { + var t1, exception; + try { + t1 = new TextDecoder("utf-8", {fatal: false}); + return t1; + } catch (exception) { + H.unwrapException(exception); + } + return null; + }, + $signature: 1 + }; + P.AsciiCodec.prototype = { + get$name: function(_) { + return "us-ascii"; + }, + encode$1: function(source) { + return C.AsciiEncoder_127.convert$1(source); + }, + decode$1: function(_, bytes) { + var t1; + type$.List_int._as(bytes); + t1 = C.AsciiDecoder_false_127.convert$1(bytes); + return t1; + }, + get$encoder: function() { + return C.AsciiEncoder_127; + } + }; + P._UnicodeSubsetEncoder.prototype = { + convert$1: function(string) { + var end, $length, result, t1, t2, i, codeUnit; + H._asStringS(string); + end = P.RangeError_checkValidRange(0, null, string.length); + if (end == null) + throw H.wrapException(P.RangeError$("Invalid range")); + $length = end - 0; + result = new Uint8Array($length); + for (t1 = ~this._subsetMask, t2 = J.getInterceptor$s(string), i = 0; i < $length; ++i) { + codeUnit = t2._codeUnitAt$1(string, i); + if ((codeUnit & t1) !== 0) + throw H.wrapException(P.ArgumentError$value(string, "string", "Contains invalid characters.")); + if (i >= $length) + return H.ioore(result, i); + result[i] = codeUnit; + } + return result; + } + }; + P.AsciiEncoder.prototype = {}; + P._UnicodeSubsetDecoder.prototype = { + convert$1: function(bytes) { + var t1, end, t2, i, byte; + type$.List_int._as(bytes); + t1 = J.getInterceptor$asx(bytes); + end = P.RangeError_checkValidRange(0, null, t1.get$length(bytes)); + if (end == null) + throw H.wrapException(P.RangeError$("Invalid range")); + for (t2 = ~this._subsetMask, i = 0; i < end; ++i) { + byte = t1.$index(bytes, i); + if ((byte & t2) >>> 0 !== 0) { + if (!this._allowInvalid) + throw H.wrapException(P.FormatException$("Invalid value in input: " + byte, null, null)); + return this._convertInvalid$3(bytes, 0, end); + } + } + return P.String_String$fromCharCodes(bytes, 0, end); + }, + _convertInvalid$3: function(bytes, start, end) { + var t1, t2, i, t3, value; + type$.List_int._as(bytes); + for (t1 = ~this._subsetMask, t2 = J.getInterceptor$asx(bytes), i = start, t3 = ""; i < end; ++i) { + value = t2.$index(bytes, i); + t3 += H.Primitives_stringFromCharCode((value & t1) >>> 0 !== 0 ? 65533 : value); + } + return t3.charCodeAt(0) == 0 ? t3 : t3; + } + }; + P.AsciiDecoder.prototype = {}; + P.Base64Codec.prototype = { + get$encoder: function() { + return C.C_Base64Encoder; + }, + normalize$3: function(_, source, start, end) { + var inverseAlphabet, i, sliceStart, buffer, firstPadding, firstPaddingSourceIndex, paddingCount, i0, char, i1, digit1, digit2, char0, value, t1, t2, endLength, $length, + _s31_ = "Invalid base64 encoding length "; + end = P.RangeError_checkValidRange(start, end, source.length); + if (end == null) + throw H.wrapException(P.RangeError$("Invalid range")); + inverseAlphabet = $.$get$_Base64Decoder__inverseAlphabet(); + for (i = start, sliceStart = i, buffer = null, firstPadding = -1, firstPaddingSourceIndex = -1, paddingCount = 0; i < end; i = i0) { + i0 = i + 1; + char = C.JSString_methods._codeUnitAt$1(source, i); + if (char === 37) { + i1 = i0 + 2; + if (i1 <= end) { + digit1 = H.hexDigitValue(C.JSString_methods._codeUnitAt$1(source, i0)); + digit2 = H.hexDigitValue(C.JSString_methods._codeUnitAt$1(source, i0 + 1)); + char0 = digit1 * 16 + digit2 - (digit2 & 256); + if (char0 === 37) + char0 = -1; + i0 = i1; + } else + char0 = -1; + } else + char0 = char; + if (0 <= char0 && char0 <= 127) { + if (char0 < 0 || char0 >= inverseAlphabet.length) + return H.ioore(inverseAlphabet, char0); + value = inverseAlphabet[char0]; + if (value >= 0) { + char0 = C.JSString_methods.codeUnitAt$1(string$.ABCDEF, value); + if (char0 === char) + continue; + char = char0; + } else { + if (value === -1) { + if (firstPadding < 0) { + t1 = buffer == null ? null : buffer._contents.length; + if (t1 == null) + t1 = 0; + firstPadding = t1 + (i - sliceStart); + firstPaddingSourceIndex = i; + } + ++paddingCount; + if (char === 61) + continue; + } + char = char0; + } + if (value !== -2) { + if (buffer == null) { + buffer = new P.StringBuffer(""); + t1 = buffer; + } else + t1 = buffer; + t1._contents += C.JSString_methods.substring$2(source, sliceStart, i); + t1._contents += H.Primitives_stringFromCharCode(char); + sliceStart = i0; + continue; + } + } + throw H.wrapException(P.FormatException$("Invalid base64 data", source, i)); + } + if (buffer != null) { + t1 = buffer._contents += C.JSString_methods.substring$2(source, sliceStart, end); + t2 = t1.length; + if (firstPadding >= 0) + P.Base64Codec__checkPadding(source, firstPaddingSourceIndex, end, firstPadding, paddingCount, t2); + else { + endLength = C.JSInt_methods.$mod(t2 - 1, 4) + 1; + if (endLength === 1) + throw H.wrapException(P.FormatException$(_s31_, source, end)); + for (; endLength < 4;) { + t1 += "="; + buffer._contents = t1; + ++endLength; + } + } + t1 = buffer._contents; + return C.JSString_methods.replaceRange$3(source, start, end, t1.charCodeAt(0) == 0 ? t1 : t1); + } + $length = end - start; + if (firstPadding >= 0) + P.Base64Codec__checkPadding(source, firstPaddingSourceIndex, end, firstPadding, paddingCount, $length); + else { + endLength = C.JSInt_methods.$mod($length, 4); + if (endLength === 1) + throw H.wrapException(P.FormatException$(_s31_, source, end)); + if (endLength > 1) + source = C.JSString_methods.replaceRange$3(source, end, end, endLength === 2 ? "==" : "="); + } + return source; + } + }; + P.Base64Encoder.prototype = { + convert$1: function(input) { + var t1; + type$.List_int._as(input); + input.toString; + t1 = J.getInterceptor$asx(input); + if (t1.get$length(input) === 0) + return ""; + t1 = new P._Base64Encoder(string$.ABCDEF).encode$4(input, 0, t1.get$length(input), true); + t1.toString; + return P.String_String$fromCharCodes(t1, 0, null); + } + }; + P._Base64Encoder.prototype = { + encode$4: function(bytes, start, end, isLast) { + var t1, byteCount, fullChunks, bufferLength, output; + type$.List_int._as(bytes); + t1 = this._convert$_state; + byteCount = (t1 & 3) + (end - start); + fullChunks = C.JSInt_methods._tdivFast$1(byteCount, 3); + bufferLength = fullChunks * 4; + if (byteCount - fullChunks * 3 > 0) + bufferLength += 4; + output = new Uint8Array(bufferLength); + this._convert$_state = P._Base64Encoder_encodeChunk(this._alphabet, bytes, start, end, true, output, 0, t1); + if (bufferLength > 0) + return output; + return null; + } + }; + P.Base64Decoder.prototype = { + convert$1: function(input) { + var end, decoder, t1, t2; + H._asStringS(input); + end = P.RangeError_checkValidRange(0, null, input.length); + if (end == null) + throw H.wrapException(P.RangeError$("Invalid range")); + if (0 === end) + return new Uint8Array(0); + decoder = new P._Base64Decoder(); + t1 = decoder.decode$3(0, input, 0, end); + t1.toString; + t2 = decoder._convert$_state; + if (t2 < -1) + H.throwExpression(P.FormatException$("Missing padding character", input, end)); + if (t2 > 0) + H.throwExpression(P.FormatException$("Invalid length, must be multiple of four", input, end)); + decoder._convert$_state = -1; + return t1; + } + }; + P._Base64Decoder.prototype = { + decode$3: function(_, input, start, end) { + var buffer, _this = this, + t1 = _this._convert$_state; + if (t1 < 0) { + _this._convert$_state = P._Base64Decoder__checkPadding(input, start, end, t1); + return null; + } + if (start === end) + return new Uint8Array(0); + buffer = P._Base64Decoder__allocateBuffer(input, start, end, t1); + _this._convert$_state = P._Base64Decoder_decodeChunk(input, start, end, buffer, 0, _this._convert$_state); + return buffer; + } + }; + P.ByteConversionSink.prototype = {}; + P.ByteConversionSinkBase.prototype = {}; + P._ByteCallbackSink.prototype = { + add$1: function(_, chunk) { + var t1, t2, t3, t4, v, grown, _this = this; + type$.Iterable_int._as(chunk); + t1 = _this._convert$_buffer; + t2 = _this._bufferIndex; + t3 = J.getInterceptor$asx(chunk); + t4 = t3.get$length(chunk); + if (typeof t4 !== "number") + return t4.$gt(); + if (t4 > t1.length - t2) { + t1 = _this._convert$_buffer; + t2 = t3.get$length(chunk); + if (typeof t2 !== "number") + return t2.$add(); + v = t2 + t1.length - 1; + v |= C.JSInt_methods._shrOtherPositive$1(v, 1); + v |= v >>> 2; + v |= v >>> 4; + v |= v >>> 8; + grown = new Uint8Array((((v | v >>> 16) >>> 0) + 1) * 2); + t1 = _this._convert$_buffer; + C.NativeUint8List_methods.setRange$3(grown, 0, t1.length, t1); + _this.set$_convert$_buffer(grown); + } + t1 = _this._convert$_buffer; + t2 = _this._bufferIndex; + t4 = t3.get$length(chunk); + if (typeof t4 !== "number") + return H.iae(t4); + C.NativeUint8List_methods.setRange$3(t1, t2, t2 + t4, chunk); + t4 = _this._bufferIndex; + t3 = t3.get$length(chunk); + if (typeof t3 !== "number") + return H.iae(t3); + _this._bufferIndex = t4 + t3; + }, + close$0: function(_) { + this._callback.call$1(C.NativeUint8List_methods.sublist$2(this._convert$_buffer, 0, this._bufferIndex)); + }, + set$_convert$_buffer: function(_buffer) { + this._convert$_buffer = type$.List_int._as(_buffer); + } + }; + P.ChunkedConversionSink.prototype = {}; + P.Codec.prototype = { + encode$1: function(input) { + H._instanceType(this)._eval$1("Codec.S")._as(input); + return this.get$encoder().convert$1(input); + } + }; + P.Converter.prototype = {}; + P.Encoding.prototype = {}; + P.HtmlEscapeMode.prototype = { + toString$0: function(_) { + return "unknown"; + } + }; + P.HtmlEscape.prototype = { + convert$1: function(text) { + var val; + H._asStringS(text); + val = this._convert$3(text, 0, text.length); + return val == null ? text : val; + }, + _convert$3: function(text, start, end) { + var i, result, replacement, t1; + for (i = start, result = null; i < end; ++i) { + if (i >= text.length) + return H.ioore(text, i); + switch (text[i]) { + case "&": + replacement = "&"; + break; + case '"': + replacement = """; + break; + case "'": + replacement = "'"; + break; + case "<": + replacement = "<"; + break; + case ">": + replacement = ">"; + break; + case "/": + replacement = "/"; + break; + default: + replacement = null; + } + if (replacement != null) { + if (result == null) + result = new P.StringBuffer(""); + if (i > start) + result._contents += C.JSString_methods.substring$2(text, start, i); + result._contents += replacement; + start = i + 1; + } + } + if (result == null) + return null; + if (end > start) + result._contents += J.substring$2$s(text, start, end); + t1 = result._contents; + return t1.charCodeAt(0) == 0 ? t1 : t1; + } + }; + P.JsonUnsupportedObjectError.prototype = { + toString$0: function(_) { + var safeString = P.Error_safeToString(this.unsupportedObject); + return (this.cause != null ? "Converting object to an encodable object failed:" : "Converting object did not return an encodable object:") + " " + safeString; + }, + get$cause: function() { + return this.cause; + } + }; + P.JsonCyclicError.prototype = { + toString$0: function(_) { + return "Cyclic error in JSON stringify"; + } + }; + P.JsonCodec.prototype = { + decode$2$reviver: function(_, source, reviver) { + var t1; + type$.nullable_nullable_Object_Function_2_nullable_Object_and_nullable_Object._as(reviver); + t1 = P._parseJson(source, this.get$decoder()._reviver); + return t1; + }, + decode$1: function($receiver, source) { + return this.decode$2$reviver($receiver, source, null); + }, + encode$2$toEncodable: function(value, toEncodable) { + var t1; + type$.nullable_nullable_Object_Function_dynamic._as(toEncodable); + t1 = this.get$encoder(); + t1 = P._JsonStringStringifier_stringify(value, t1._toEncodable, t1.indent); + return t1; + }, + encode$1: function(value) { + return this.encode$2$toEncodable(value, null); + }, + get$encoder: function() { + return C.JsonEncoder_null_null; + }, + get$decoder: function() { + return C.JsonDecoder_null; + } + }; + P.JsonEncoder.prototype = { + convert$1: function(object) { + var stringifier, + t1 = this._toEncodable, + t2 = this.get$indent(), + output = new P.StringBuffer(""); + if (t2 == null) + stringifier = P._JsonStringStringifier$(output, t1); + else { + if (t1 == null) + t1 = P.convert___defaultToEncodable$closure(); + stringifier = new P._JsonStringStringifierPretty(t2, 0, output, [], t1); + } + stringifier.writeObject$1(object); + t1 = output._contents; + return t1.charCodeAt(0) == 0 ? t1 : t1; + }, + get$indent: function() { + return this.indent; + } + }; + P.JsonDecoder.prototype = { + convert$1: function(input) { + return P._parseJson(H._asStringS(input), this._reviver); + } + }; + P._JsonStringifier.prototype = { + writeStringContent$1: function(s) { + var t1, t2, offset, i, charCode, t3, t4, + $length = s.length; + for (t1 = J.getInterceptor$s(s), t2 = this._sink, offset = 0, i = 0; i < $length; ++i) { + charCode = t1._codeUnitAt$1(s, i); + if (charCode > 92) { + if (charCode >= 55296) { + t3 = charCode & 64512; + if (t3 === 55296) { + t4 = i + 1; + t4 = !(t4 < $length && (C.JSString_methods._codeUnitAt$1(s, t4) & 64512) === 56320); + } else + t4 = false; + if (!t4) + if (t3 === 56320) { + t3 = i - 1; + t3 = !(t3 >= 0 && (C.JSString_methods.codeUnitAt$1(s, t3) & 64512) === 55296); + } else + t3 = false; + else + t3 = true; + if (t3) { + if (i > offset) + t2._contents += C.JSString_methods.substring$2(s, offset, i); + offset = i + 1; + t2._contents += H.Primitives_stringFromCharCode(92); + t2._contents += H.Primitives_stringFromCharCode(117); + t2._contents += H.Primitives_stringFromCharCode(100); + t3 = charCode >>> 8 & 15; + t2._contents += H.Primitives_stringFromCharCode(t3 < 10 ? 48 + t3 : 87 + t3); + t3 = charCode >>> 4 & 15; + t2._contents += H.Primitives_stringFromCharCode(t3 < 10 ? 48 + t3 : 87 + t3); + t3 = charCode & 15; + t2._contents += H.Primitives_stringFromCharCode(t3 < 10 ? 48 + t3 : 87 + t3); + } + } + continue; + } + if (charCode < 32) { + if (i > offset) + t2._contents += C.JSString_methods.substring$2(s, offset, i); + offset = i + 1; + t2._contents += H.Primitives_stringFromCharCode(92); + switch (charCode) { + case 8: + t2._contents += H.Primitives_stringFromCharCode(98); + break; + case 9: + t2._contents += H.Primitives_stringFromCharCode(116); + break; + case 10: + t2._contents += H.Primitives_stringFromCharCode(110); + break; + case 12: + t2._contents += H.Primitives_stringFromCharCode(102); + break; + case 13: + t2._contents += H.Primitives_stringFromCharCode(114); + break; + default: + t2._contents += H.Primitives_stringFromCharCode(117); + t2._contents += H.Primitives_stringFromCharCode(48); + t2._contents += H.Primitives_stringFromCharCode(48); + t3 = charCode >>> 4 & 15; + t2._contents += H.Primitives_stringFromCharCode(t3 < 10 ? 48 + t3 : 87 + t3); + t3 = charCode & 15; + t2._contents += H.Primitives_stringFromCharCode(t3 < 10 ? 48 + t3 : 87 + t3); + break; + } + } else if (charCode === 34 || charCode === 92) { + if (i > offset) + t2._contents += C.JSString_methods.substring$2(s, offset, i); + offset = i + 1; + t2._contents += H.Primitives_stringFromCharCode(92); + t2._contents += H.Primitives_stringFromCharCode(charCode); + } + } + if (offset === 0) + t2._contents += H.S(s); + else if (offset < $length) + t2._contents += t1.substring$2(s, offset, $length); + }, + _checkCycle$1: function(object) { + var t1, t2, i, t3; + for (t1 = this._seen, t2 = t1.length, i = 0; i < t2; ++i) { + t3 = t1[i]; + if (object == null ? t3 == null : object === t3) + throw H.wrapException(new P.JsonCyclicError(object, null)); + } + C.JSArray_methods.add$1(t1, object); + }, + writeObject$1: function(object) { + var customJson, e, t1, exception, _this = this; + if (_this.writeJsonValue$1(object)) + return; + _this._checkCycle$1(object); + try { + customJson = _this._toEncodable.call$1(object); + if (!_this.writeJsonValue$1(customJson)) { + t1 = P.JsonUnsupportedObjectError$(object, null, _this.get$_partialResult()); + throw H.wrapException(t1); + } + t1 = _this._seen; + if (0 >= t1.length) + return H.ioore(t1, -1); + t1.pop(); + } catch (exception) { + e = H.unwrapException(exception); + t1 = P.JsonUnsupportedObjectError$(object, e, _this.get$_partialResult()); + throw H.wrapException(t1); + } + }, + writeJsonValue$1: function(object) { + var t1, success, _this = this; + if (typeof object == "number") { + if (!isFinite(object)) + return false; + _this._sink._contents += C.JSNumber_methods.toString$0(object); + return true; + } else if (object === true) { + _this._sink._contents += "true"; + return true; + } else if (object === false) { + _this._sink._contents += "false"; + return true; + } else if (object == null) { + _this._sink._contents += "null"; + return true; + } else if (typeof object == "string") { + t1 = _this._sink; + t1._contents += '"'; + _this.writeStringContent$1(object); + t1._contents += '"'; + return true; + } else if (type$.List_dynamic._is(object)) { + _this._checkCycle$1(object); + _this.writeList$1(object); + t1 = _this._seen; + if (0 >= t1.length) + return H.ioore(t1, -1); + t1.pop(); + return true; + } else if (type$.Map_dynamic_dynamic._is(object)) { + _this._checkCycle$1(object); + success = _this.writeMap$1(object); + t1 = _this._seen; + if (0 >= t1.length) + return H.ioore(t1, -1); + t1.pop(); + return success; + } else + return false; + }, + writeList$1: function(list) { + var t2, i, t3, + t1 = this._sink; + t1._contents += "["; + t2 = J.getInterceptor$asx(list); + if (t2.get$isNotEmpty(list)) { + this.writeObject$1(t2.$index(list, 0)); + i = 1; + while (true) { + t3 = t2.get$length(list); + if (typeof t3 !== "number") + return H.iae(t3); + if (!(i < t3)) + break; + t1._contents += ","; + this.writeObject$1(t2.$index(list, i)); + ++i; + } + } + t1._contents += "]"; + }, + writeMap$1: function(map) { + var t2, keyValueList, i, separator, t3, _this = this, _box_0 = {}, + t1 = J.getInterceptor$asx(map); + if (t1.get$isEmpty(map)) { + _this._sink._contents += "{}"; + return true; + } + t2 = t1.get$length(map); + if (typeof t2 !== "number") + return t2.$mul(); + t2 *= 2; + keyValueList = P.List_List$filled(t2, null, false, type$.nullable_Object); + i = _box_0.i = 0; + _box_0.allStringKeys = true; + t1.forEach$1(map, new P._JsonStringifier_writeMap_closure(_box_0, keyValueList)); + if (!_box_0.allStringKeys) + return false; + t1 = _this._sink; + t1._contents += "{"; + for (separator = '"'; i < t2; i += 2, separator = ',"') { + t1._contents += separator; + _this.writeStringContent$1(H._asStringS(keyValueList[i])); + t1._contents += '":'; + t3 = i + 1; + if (t3 >= t2) + return H.ioore(keyValueList, t3); + _this.writeObject$1(keyValueList[t3]); + } + t1._contents += "}"; + return true; + } + }; + P._JsonStringifier_writeMap_closure.prototype = { + call$2: function(key, value) { + var t1, t2; + if (typeof key != "string") + this._box_0.allStringKeys = false; + t1 = this.keyValueList; + t2 = this._box_0; + C.JSArray_methods.$indexSet(t1, t2.i++, key); + C.JSArray_methods.$indexSet(t1, t2.i++, value); + }, + $signature: 95 + }; + P._JsonPrettyPrintMixin.prototype = { + writeList$1: function(list) { + var i, _this = this, + t1 = J.getInterceptor$asx(list), + t2 = t1.get$isEmpty(list), + t3 = _this._sink, + t4 = t3._contents; + if (t2) + t3._contents = t4 + "[]"; + else { + t3._contents = t4 + "[\n"; + _this.writeIndentation$1(++_this._JsonPrettyPrintMixin__indentLevel); + _this.writeObject$1(t1.$index(list, 0)); + i = 1; + while (true) { + t2 = t1.get$length(list); + if (typeof t2 !== "number") + return H.iae(t2); + if (!(i < t2)) + break; + t3._contents += ",\n"; + _this.writeIndentation$1(_this._JsonPrettyPrintMixin__indentLevel); + _this.writeObject$1(t1.$index(list, i)); + ++i; + } + t3._contents += "\n"; + _this.writeIndentation$1(--_this._JsonPrettyPrintMixin__indentLevel); + t3._contents += "]"; + } + }, + writeMap$1: function(map) { + var t2, keyValueList, i, separator, t3, _this = this, _box_0 = {}, + t1 = J.getInterceptor$asx(map); + if (t1.get$isEmpty(map)) { + _this._sink._contents += "{}"; + return true; + } + t2 = t1.get$length(map); + if (typeof t2 !== "number") + return t2.$mul(); + t2 *= 2; + keyValueList = P.List_List$filled(t2, null, false, type$.nullable_Object); + i = _box_0.i = 0; + _box_0.allStringKeys = true; + t1.forEach$1(map, new P._JsonPrettyPrintMixin_writeMap_closure(_box_0, keyValueList)); + if (!_box_0.allStringKeys) + return false; + t1 = _this._sink; + t1._contents += "{\n"; + ++_this._JsonPrettyPrintMixin__indentLevel; + for (separator = ""; i < t2; i += 2, separator = ",\n") { + t1._contents += separator; + _this.writeIndentation$1(_this._JsonPrettyPrintMixin__indentLevel); + t1._contents += '"'; + _this.writeStringContent$1(H._asStringS(keyValueList[i])); + t1._contents += '": '; + t3 = i + 1; + if (t3 >= t2) + return H.ioore(keyValueList, t3); + _this.writeObject$1(keyValueList[t3]); + } + t1._contents += "\n"; + _this.writeIndentation$1(--_this._JsonPrettyPrintMixin__indentLevel); + t1._contents += "}"; + return true; + } + }; + P._JsonPrettyPrintMixin_writeMap_closure.prototype = { + call$2: function(key, value) { + var t1, t2; + if (typeof key != "string") + this._box_0.allStringKeys = false; + t1 = this.keyValueList; + t2 = this._box_0; + C.JSArray_methods.$indexSet(t1, t2.i++, key); + C.JSArray_methods.$indexSet(t1, t2.i++, value); + }, + $signature: 95 + }; + P._JsonStringStringifier.prototype = { + get$_partialResult: function() { + var t1 = this._sink._contents; + return t1.charCodeAt(0) == 0 ? t1 : t1; + } + }; + P._JsonStringStringifierPretty.prototype = { + writeIndentation$1: function(count) { + var t1, t2, i; + for (t1 = this._indent, t2 = this._sink, i = 0; i < count; ++i) + t2._contents += t1; + } + }; + P.Latin1Codec.prototype = { + get$name: function(_) { + return "iso-8859-1"; + }, + encode$1: function(source) { + return C.Latin1Encoder_255.convert$1(source); + }, + decode$1: function(_, bytes) { + var t1; + type$.List_int._as(bytes); + t1 = C.Latin1Decoder_false_255.convert$1(bytes); + return t1; + }, + get$encoder: function() { + return C.Latin1Encoder_255; + } + }; + P.Latin1Encoder.prototype = {}; + P.Latin1Decoder.prototype = {}; + P.Utf8Codec.prototype = { + get$name: function(_) { + return "utf-8"; + }, + decode$1: function(_, codeUnits) { + type$.List_int._as(codeUnits); + return C.Utf8Decoder_false.convert$1(codeUnits); + }, + get$encoder: function() { + return C.C_Utf8Encoder; + } + }; + P.Utf8Encoder.prototype = { + convert$1: function(string) { + var end, $length, t1, encoder; + H._asStringS(string); + end = P.RangeError_checkValidRange(0, null, string.length); + if (end == null) + throw H.wrapException(P.RangeError$("Invalid range")); + $length = end - 0; + if ($length === 0) + return new Uint8Array(0); + t1 = new Uint8Array($length * 3); + encoder = new P._Utf8Encoder(t1); + if (encoder._fillBuffer$3(string, 0, end) !== end) { + J.codeUnitAt$1$s(string, end - 1); + encoder._writeReplacementCharacter$0(); + } + return C.NativeUint8List_methods.sublist$2(t1, 0, encoder._bufferIndex); + } + }; + P._Utf8Encoder.prototype = { + _writeReplacementCharacter$0: function() { + var _this = this, + t1 = _this._convert$_buffer, + t2 = _this._bufferIndex, + t3 = _this._bufferIndex = t2 + 1, + t4 = t1.length; + if (t2 >= t4) + return H.ioore(t1, t2); + t1[t2] = 239; + t2 = _this._bufferIndex = t3 + 1; + if (t3 >= t4) + return H.ioore(t1, t3); + t1[t3] = 191; + _this._bufferIndex = t2 + 1; + if (t2 >= t4) + return H.ioore(t1, t2); + t1[t2] = 189; + }, + _writeSurrogate$2: function(leadingSurrogate, nextCodeUnit) { + var rune, t1, t2, t3, t4, _this = this; + if ((nextCodeUnit & 64512) === 56320) { + rune = 65536 + ((leadingSurrogate & 1023) << 10) | nextCodeUnit & 1023; + t1 = _this._convert$_buffer; + t2 = _this._bufferIndex; + t3 = _this._bufferIndex = t2 + 1; + t4 = t1.length; + if (t2 >= t4) + return H.ioore(t1, t2); + t1[t2] = rune >>> 18 | 240; + t2 = _this._bufferIndex = t3 + 1; + if (t3 >= t4) + return H.ioore(t1, t3); + t1[t3] = rune >>> 12 & 63 | 128; + t3 = _this._bufferIndex = t2 + 1; + if (t2 >= t4) + return H.ioore(t1, t2); + t1[t2] = rune >>> 6 & 63 | 128; + _this._bufferIndex = t3 + 1; + if (t3 >= t4) + return H.ioore(t1, t3); + t1[t3] = rune & 63 | 128; + return true; + } else { + _this._writeReplacementCharacter$0(); + return false; + } + }, + _fillBuffer$3: function(str, start, end) { + var t1, t2, stringIndex, codeUnit, t3, stringIndex0, t4, _this = this; + if (start !== end && (C.JSString_methods.codeUnitAt$1(str, end - 1) & 64512) === 55296) + --end; + for (t1 = _this._convert$_buffer, t2 = t1.length, stringIndex = start; stringIndex < end; ++stringIndex) { + codeUnit = C.JSString_methods._codeUnitAt$1(str, stringIndex); + if (codeUnit <= 127) { + t3 = _this._bufferIndex; + if (t3 >= t2) + break; + _this._bufferIndex = t3 + 1; + t1[t3] = codeUnit; + } else { + t3 = codeUnit & 64512; + if (t3 === 55296) { + if (_this._bufferIndex + 4 > t2) + break; + stringIndex0 = stringIndex + 1; + if (_this._writeSurrogate$2(codeUnit, C.JSString_methods._codeUnitAt$1(str, stringIndex0))) + stringIndex = stringIndex0; + } else if (t3 === 56320) { + if (_this._bufferIndex + 3 > t2) + break; + _this._writeReplacementCharacter$0(); + } else if (codeUnit <= 2047) { + t3 = _this._bufferIndex; + t4 = t3 + 1; + if (t4 >= t2) + break; + _this._bufferIndex = t4; + if (t3 >= t2) + return H.ioore(t1, t3); + t1[t3] = codeUnit >>> 6 | 192; + _this._bufferIndex = t4 + 1; + t1[t4] = codeUnit & 63 | 128; + } else { + t3 = _this._bufferIndex; + if (t3 + 2 >= t2) + break; + t4 = _this._bufferIndex = t3 + 1; + if (t3 >= t2) + return H.ioore(t1, t3); + t1[t3] = codeUnit >>> 12 | 224; + t3 = _this._bufferIndex = t4 + 1; + if (t4 >= t2) + return H.ioore(t1, t4); + t1[t4] = codeUnit >>> 6 & 63 | 128; + _this._bufferIndex = t3 + 1; + if (t3 >= t2) + return H.ioore(t1, t3); + t1[t3] = codeUnit & 63 | 128; + } + } + } + return stringIndex; + } + }; + P.Utf8Decoder.prototype = { + convert$1: function(codeUnits) { + var t1, result; + type$.List_int._as(codeUnits); + t1 = this._allowMalformed; + result = P.Utf8Decoder__convertIntercepted(t1, codeUnits, 0, null); + if (result != null) + return result; + return new P._Utf8Decoder(t1).convertGeneral$4(codeUnits, 0, null, true); + } + }; + P._Utf8Decoder.prototype = { + convertGeneral$4: function(codeUnits, start, maybeEnd, single) { + var end, bytes, errorOffset, result, t1, message, _this = this; + type$.List_int._as(codeUnits); + end = P.RangeError_checkValidRange(start, maybeEnd, J.get$length$asx(codeUnits)); + if (start === end) + return ""; + if (type$.Uint8List._is(codeUnits)) { + bytes = codeUnits; + errorOffset = 0; + } else { + bytes = P._Utf8Decoder__makeUint8List(codeUnits, start, end); + if (typeof end !== "number") + return end.$sub(); + end -= start; + errorOffset = start; + start = 0; + } + result = _this._convertRecursive$4(bytes, start, end, true); + t1 = _this._convert$_state; + if ((t1 & 1) !== 0) { + message = P._Utf8Decoder_errorDescription(t1); + _this._convert$_state = 0; + throw H.wrapException(P.FormatException$(message, codeUnits, errorOffset + _this._charOrIndex)); + } + return result; + }, + _convertRecursive$4: function(bytes, start, end, single) { + var mid, s1, _this = this; + if (typeof end !== "number") + return end.$sub(); + if (end - start > 1000) { + mid = C.JSInt_methods._tdivFast$1(start + end, 2); + s1 = _this._convertRecursive$4(bytes, start, mid, false); + if ((_this._convert$_state & 1) !== 0) + return s1; + return s1 + _this._convertRecursive$4(bytes, mid, end, single); + } + return _this.decodeGeneral$4(bytes, start, end, single); + }, + decodeGeneral$4: function(bytes, start, end, single) { + var t2, type, t3, i0, markEnd, i1, m, _this = this, _65533 = 65533, + state = _this._convert$_state, + char = _this._charOrIndex, + buffer = new P.StringBuffer(""), + i = start + 1, + t1 = J.getInterceptor$asx(bytes), + byte = t1.$index(bytes, start); + $label0$0: + for (t2 = _this.allowMalformed; true;) { + for (; true; i = i0) { + type = C.JSString_methods.codeUnitAt$1("AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFFFFFFFFFFFFFFFFGGGGGGGGGGGGGGGGHHHHHHHHHHHHHHHHHHHHHHHHHHHIHHHJEEBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBKCCCCCCCCCCCCDCLONNNMEEEEEEEEEEE", byte) & 31; + char = state <= 32 ? byte & 61694 >>> type : (byte & 63 | char << 6) >>> 0; + state = C.JSString_methods._codeUnitAt$1(" \x000:XECCCCCN:lDb \x000:XECCCCCNvlDb \x000:XECCCCCN:lDb AAAAA\x00\x00\x00\x00\x00AAAAA00000AAAAA:::::AAAAAGG000AAAAA00KKKAAAAAG::::AAAAA:IIIIAAAAA000\x800AAAAA\x00\x00\x00\x00 AAAAA", state + type); + if (state === 0) { + buffer._contents += H.Primitives_stringFromCharCode(char); + if (i === end) + break $label0$0; + break; + } else if ((state & 1) !== 0) { + if (t2) + switch (state) { + case 69: + case 67: + buffer._contents += H.Primitives_stringFromCharCode(_65533); + break; + case 65: + buffer._contents += H.Primitives_stringFromCharCode(_65533); + --i; + break; + default: + t3 = buffer._contents += H.Primitives_stringFromCharCode(_65533); + buffer._contents = t3 + H.Primitives_stringFromCharCode(_65533); + break; + } + else { + _this._convert$_state = state; + _this._charOrIndex = i - 1; + return ""; + } + state = 0; + } + if (i === end) + break $label0$0; + i0 = i + 1; + byte = t1.$index(bytes, i); + } + i0 = i + 1; + byte = t1.$index(bytes, i); + if (byte < 128) { + while (true) { + if (!(i0 < end)) { + markEnd = end; + break; + } + i1 = i0 + 1; + byte = t1.$index(bytes, i0); + if (byte >= 128) { + markEnd = i1 - 1; + i0 = i1; + break; + } + i0 = i1; + } + if (markEnd - i < 20) + for (m = i; m < markEnd; ++m) + buffer._contents += H.Primitives_stringFromCharCode(t1.$index(bytes, m)); + else + buffer._contents += P.String_String$fromCharCodes(bytes, i, markEnd); + if (markEnd === end) + break $label0$0; + i = i0; + } else + i = i0; + } + if (single && state > 32) + if (t2) + buffer._contents += H.Primitives_stringFromCharCode(_65533); + else { + _this._convert$_state = 77; + _this._charOrIndex = end; + return ""; + } + _this._convert$_state = state; + _this._charOrIndex = char; + t1 = buffer._contents; + return t1.charCodeAt(0) == 0 ? t1 : t1; + } + }; + P.__JsonStringStringifierPretty__JsonStringStringifier__JsonPrettyPrintMixin.prototype = {}; + P.NoSuchMethodError_toString_closure.prototype = { + call$2: function(key, value) { + var t1, t2, t3; + type$.Symbol._as(key); + t1 = this.sb; + t2 = this._box_0; + t1._contents += t2.comma; + t3 = t1._contents += H.S(key.__internal$_name); + t1._contents = t3 + ": "; + t1._contents += P.Error_safeToString(value); + t2.comma = ", "; + }, + $signature: 256 + }; + P._BigIntImpl.prototype = { + $negate: function(_) { + var t2, t3, _this = this, + t1 = _this._used; + if (t1 === 0) + return _this; + t2 = !_this._isNegative; + t3 = _this._digits; + t1 = P._BigIntImpl__normalize(t1, t3); + return new P._BigIntImpl(t1 === 0 ? false : t2, t3, t1); + }, + _drShift$1: function(n) { + var resultUsed, digits, resultDigits, t1, i, t2, t3, result, _this = this, + used = _this._used; + if (used === 0) + return $.$get$_BigIntImpl_zero(); + resultUsed = used - n; + if (resultUsed <= 0) + return _this._isNegative ? $.$get$_BigIntImpl__minusOne() : $.$get$_BigIntImpl_zero(); + digits = _this._digits; + resultDigits = new Uint16Array(resultUsed); + for (t1 = digits.length, i = n; i < used; ++i) { + t2 = i - n; + if (i < 0 || i >= t1) + return H.ioore(digits, i); + t3 = digits[i]; + if (t2 >= resultUsed) + return H.ioore(resultDigits, t2); + resultDigits[t2] = t3; + } + t2 = _this._isNegative; + t3 = P._BigIntImpl__normalize(resultUsed, resultDigits); + result = new P._BigIntImpl(t3 === 0 ? false : t2, resultDigits, t3); + if (t2) + for (i = 0; i < n; ++i) { + if (i >= t1) + return H.ioore(digits, i); + if (digits[i] !== 0) + return result.$sub(0, $.$get$_BigIntImpl_one()); + } + return result; + }, + $shr: function(_, shiftAmount) { + var t1, digitShift, bitShift, resultUsed, digits, resultDigits, t2, result, i, _this = this; + if (typeof shiftAmount !== "number") + return shiftAmount.$lt(); + if (shiftAmount < 0) + throw H.wrapException(P.ArgumentError$("shift-amount must be posititve " + shiftAmount)); + t1 = _this._used; + if (t1 === 0) + return _this; + digitShift = C.JSInt_methods._tdivFast$1(shiftAmount, 16); + bitShift = C.JSInt_methods.$mod(shiftAmount, 16); + if (bitShift === 0) + return _this._drShift$1(digitShift); + resultUsed = t1 - digitShift; + if (resultUsed <= 0) + return _this._isNegative ? $.$get$_BigIntImpl__minusOne() : $.$get$_BigIntImpl_zero(); + digits = _this._digits; + resultDigits = new Uint16Array(resultUsed); + P._BigIntImpl__rsh(digits, t1, shiftAmount, resultDigits); + t1 = _this._isNegative; + t2 = P._BigIntImpl__normalize(resultUsed, resultDigits); + result = new P._BigIntImpl(t2 === 0 ? false : t1, resultDigits, t2); + if (t1) { + t1 = digits.length; + if (digitShift < 0 || digitShift >= t1) + return H.ioore(digits, digitShift); + if ((digits[digitShift] & C.JSInt_methods.$shl(1, bitShift) - 1) !== 0) + return result.$sub(0, $.$get$_BigIntImpl_one()); + for (i = 0; i < digitShift; ++i) { + if (i >= t1) + return H.ioore(digits, i); + if (digits[i] !== 0) + return result.$sub(0, $.$get$_BigIntImpl_one()); + } + } + return result; + }, + compareTo$1: function(_, other) { + var t1, result; + type$._BigIntImpl._as(other); + t1 = this._isNegative; + if (t1 === other._isNegative) { + result = P._BigIntImpl__compareDigits(this._digits, this._used, other._digits, other._used); + return t1 ? 0 - result : result; + } + return t1 ? -1 : 1; + }, + _absAddSetSign$2: function(other, isNegative) { + var resultUsed, resultDigits, t1, _this = this, + used = _this._used, + otherUsed = other._used; + if (used < otherUsed) + return other._absAddSetSign$2(_this, isNegative); + if (used === 0) + return $.$get$_BigIntImpl_zero(); + if (otherUsed === 0) + return _this._isNegative === isNegative ? _this : _this.$negate(0); + resultUsed = used + 1; + resultDigits = new Uint16Array(resultUsed); + P._BigIntImpl__absAdd(_this._digits, used, other._digits, otherUsed, resultDigits); + t1 = P._BigIntImpl__normalize(resultUsed, resultDigits); + return new P._BigIntImpl(t1 === 0 ? false : isNegative, resultDigits, t1); + }, + _absSubSetSign$2: function(other, isNegative) { + var otherUsed, resultDigits, t1, _this = this, + used = _this._used; + if (used === 0) + return $.$get$_BigIntImpl_zero(); + otherUsed = other._used; + if (otherUsed === 0) + return _this._isNegative === isNegative ? _this : _this.$negate(0); + resultDigits = new Uint16Array(used); + P._BigIntImpl__absSub(_this._digits, used, other._digits, otherUsed, resultDigits); + t1 = P._BigIntImpl__normalize(used, resultDigits); + return new P._BigIntImpl(t1 === 0 ? false : isNegative, resultDigits, t1); + }, + $add: function(_, other) { + var t2, isNegative, _this = this, + t1 = _this._used; + if (t1 === 0) + return other; + t2 = other._used; + if (t2 === 0) + return _this; + isNegative = _this._isNegative; + if (isNegative === other._isNegative) + return _this._absAddSetSign$2(other, isNegative); + if (P._BigIntImpl__compareDigits(_this._digits, t1, other._digits, t2) >= 0) + return _this._absSubSetSign$2(other, isNegative); + return other._absSubSetSign$2(_this, !isNegative); + }, + $sub: function(_, other) { + var t1, t2, isNegative, _this = this; + type$._BigIntImpl._as(other); + t1 = _this._used; + if (t1 === 0) + return other.$negate(0); + t2 = other._used; + if (t2 === 0) + return _this; + isNegative = _this._isNegative; + if (isNegative !== other._isNegative) + return _this._absAddSetSign$2(other, isNegative); + if (P._BigIntImpl__compareDigits(_this._digits, t1, other._digits, t2) >= 0) + return _this._absSubSetSign$2(other, isNegative); + return other._absSubSetSign$2(_this, !isNegative); + }, + $mul: function(_, other) { + var resultUsed, digits, otherDigits, resultDigits, t1, i, t2, + used = this._used, + otherUsed = other._used; + if (used === 0 || otherUsed === 0) + return $.$get$_BigIntImpl_zero(); + resultUsed = used + otherUsed; + digits = this._digits; + otherDigits = other._digits; + resultDigits = new Uint16Array(resultUsed); + for (t1 = otherDigits.length, i = 0; i < otherUsed;) { + if (i >= t1) + return H.ioore(otherDigits, i); + P._BigIntImpl__mulAdd(otherDigits[i], digits, 0, resultDigits, i, used); + ++i; + } + t1 = this._isNegative !== other._isNegative; + t2 = P._BigIntImpl__normalize(resultUsed, resultDigits); + return new P._BigIntImpl(t2 === 0 ? false : t1, resultDigits, t2); + }, + _div$1: function(other) { + var t1, t2, t3, t4, lastQuo_used, quo_digits, quo; + if (this._used < other._used) + return $.$get$_BigIntImpl_zero(); + this._divRem$1(other); + t1 = $._BigIntImpl____lastQuoRemUsed; + t2 = t1 === $ ? H.throwExpression(H.LateError$fieldNI("_lastQuoRemUsed")) : t1; + t3 = $._BigIntImpl____lastRemUsed; + t4 = t3 === $ ? H.throwExpression(H.LateError$fieldNI("_lastRemUsed")) : t3; + if (typeof t2 !== "number") + return t2.$sub(); + if (typeof t4 !== "number") + return H.iae(t4); + lastQuo_used = t2 - t4; + t4 = $._BigIntImpl____lastQuoRemDigits; + t2 = t4 === $ ? H.throwExpression(H.LateError$fieldNI("_lastQuoRemDigits")) : t4; + quo_digits = P._BigIntImpl__cloneDigits(t2, t3, t1, lastQuo_used); + t1 = P._BigIntImpl__normalize(lastQuo_used, quo_digits); + quo = new P._BigIntImpl(false, quo_digits, t1); + return this._isNegative !== other._isNegative && t1 > 0 ? quo.$negate(0) : quo; + }, + _rem$1: function(other) { + var t1, t2, t3, remDigits, rem, _this = this, + _s12_ = "_lastRemUsed"; + if (_this._used < other._used) + return _this; + _this._divRem$1(other); + t1 = $._BigIntImpl____lastQuoRemDigits; + if (t1 === $) + t1 = H.throwExpression(H.LateError$fieldNI("_lastQuoRemDigits")); + t2 = $._BigIntImpl____lastRemUsed; + t3 = t2 === $ ? H.throwExpression(H.LateError$fieldNI(_s12_)) : t2; + remDigits = P._BigIntImpl__cloneDigits(t1, 0, t3, t2); + t1 = $._BigIntImpl____lastRemUsed; + t1 = P._BigIntImpl__normalize(t1 === $ ? H.throwExpression(H.LateError$fieldNI(_s12_)) : t1, remDigits); + rem = new P._BigIntImpl(false, remDigits, t1); + t1 = $._BigIntImpl____lastRem_nsh; + t2 = t1 === $ ? H.throwExpression(H.LateError$fieldNI("_lastRem_nsh")) : t1; + if (typeof t2 !== "number") + return t2.$gt(); + if (t2 > 0) + rem = rem.$shr(0, t1); + return _this._isNegative && rem._used > 0 ? rem.$negate(0) : rem; + }, + _divRem$1: function(other) { + var yDigits, yUsed, t1, nsh, yDigits0, yUsed0, resultDigits, resultUsed0, topDigitDivisor, j, tmpDigits, tmpUsed, resultUsed1, t2, nyDigits, i, estimatedQuotientDigit, _this = this, + resultUsed = _this._used; + if (resultUsed === $._BigIntImpl__lastDividendUsed && other._used === $._BigIntImpl__lastDivisorUsed && _this._digits === $._BigIntImpl__lastDividendDigits && other._digits === $._BigIntImpl__lastDivisorDigits) + return; + yDigits = other._digits; + yUsed = other._used; + t1 = yUsed - 1; + if (t1 < 0 || t1 >= yDigits.length) + return H.ioore(yDigits, t1); + nsh = 16 - C.JSInt_methods.get$bitLength(yDigits[t1]); + if (nsh > 0) { + yDigits0 = new Uint16Array(yUsed + 5); + yUsed0 = P._BigIntImpl__lShiftDigits(yDigits, yUsed, nsh, yDigits0); + resultDigits = new Uint16Array(resultUsed + 5); + resultUsed0 = P._BigIntImpl__lShiftDigits(_this._digits, resultUsed, nsh, resultDigits); + } else { + resultDigits = P._BigIntImpl__cloneDigits(_this._digits, 0, resultUsed, resultUsed + 2); + yUsed0 = yUsed; + yDigits0 = yDigits; + resultUsed0 = resultUsed; + } + t1 = yUsed0 - 1; + if (t1 < 0 || t1 >= yDigits0.length) + return H.ioore(yDigits0, t1); + topDigitDivisor = yDigits0[t1]; + j = resultUsed0 - yUsed0; + tmpDigits = new Uint16Array(resultUsed0); + tmpUsed = P._BigIntImpl__dlShiftDigits(yDigits0, yUsed0, j, tmpDigits); + resultUsed1 = resultUsed0 + 1; + t1 = resultDigits.length; + if (P._BigIntImpl__compareDigits(resultDigits, resultUsed0, tmpDigits, tmpUsed) >= 0) { + if (resultUsed0 < 0 || resultUsed0 >= t1) + return H.ioore(resultDigits, resultUsed0); + resultDigits[resultUsed0] = 1; + P._BigIntImpl__absSub(resultDigits, resultUsed1, tmpDigits, tmpUsed, resultDigits); + } else { + if (resultUsed0 < 0 || resultUsed0 >= t1) + return H.ioore(resultDigits, resultUsed0); + resultDigits[resultUsed0] = 0; + } + t2 = yUsed0 + 2; + nyDigits = new Uint16Array(t2); + if (yUsed0 < 0 || yUsed0 >= t2) + return H.ioore(nyDigits, yUsed0); + nyDigits[yUsed0] = 1; + P._BigIntImpl__absSub(nyDigits, yUsed0 + 1, yDigits0, yUsed0, nyDigits); + i = resultUsed0 - 1; + for (; j > 0;) { + estimatedQuotientDigit = P._BigIntImpl__estimateQuotientDigit(topDigitDivisor, resultDigits, i); + --j; + P._BigIntImpl__mulAdd(estimatedQuotientDigit, nyDigits, 0, resultDigits, j, yUsed0); + if (i < 0 || i >= t1) + return H.ioore(resultDigits, i); + if (resultDigits[i] < estimatedQuotientDigit) { + tmpUsed = P._BigIntImpl__dlShiftDigits(nyDigits, yUsed0, j, tmpDigits); + P._BigIntImpl__absSub(resultDigits, resultUsed1, tmpDigits, tmpUsed, resultDigits); + for (; --estimatedQuotientDigit, resultDigits[i] < estimatedQuotientDigit;) + P._BigIntImpl__absSub(resultDigits, resultUsed1, tmpDigits, tmpUsed, resultDigits); + } + --i; + } + $._BigIntImpl__lastDividendDigits = _this._digits; + $._BigIntImpl__lastDividendUsed = resultUsed; + $._BigIntImpl__lastDivisorDigits = yDigits; + $._BigIntImpl__lastDivisorUsed = yUsed; + $._BigIntImpl____lastQuoRemDigits = resultDigits; + $._BigIntImpl____lastQuoRemUsed = resultUsed1; + $._BigIntImpl____lastRemUsed = yUsed0; + $._BigIntImpl____lastRem_nsh = nsh; + }, + get$hashCode: function(_) { + var hash, t2, t3, i, + combine = new P._BigIntImpl_hashCode_combine(), + t1 = this._used; + if (t1 === 0) + return 6707; + hash = this._isNegative ? 83585 : 429689; + for (t2 = this._digits, t3 = t2.length, i = 0; i < t1; ++i) { + if (i >= t3) + return H.ioore(t2, i); + hash = combine.call$2(hash, t2[i]); + } + return new P._BigIntImpl_hashCode_finish().call$1(hash); + }, + $eq: function(_, other) { + if (other == null) + return false; + return other instanceof P._BigIntImpl && this.compareTo$1(0, other) === 0; + }, + toString$0: function(_) { + var decimalDigitChunks, rest, t2, digits4, t3, _this = this, + t1 = _this._used; + if (t1 === 0) + return "0"; + if (t1 === 1) { + if (_this._isNegative) { + t1 = _this._digits; + if (0 >= t1.length) + return H.ioore(t1, 0); + return C.JSInt_methods.toString$0(-t1[0]); + } + t1 = _this._digits; + if (0 >= t1.length) + return H.ioore(t1, 0); + return C.JSInt_methods.toString$0(t1[0]); + } + decimalDigitChunks = H.setRuntimeTypeInfo([], type$.JSArray_String); + t1 = _this._isNegative; + rest = t1 ? _this.$negate(0) : _this; + for (; rest._used > 1;) { + t2 = $.$get$_BigIntImpl__bigInt10000(); + if (t2._used === 0) + H.throwExpression(C.C_IntegerDivisionByZeroException); + digits4 = J.toString$0$(rest._rem$1(t2)); + C.JSArray_methods.add$1(decimalDigitChunks, digits4); + t3 = digits4.length; + if (t3 === 1) + C.JSArray_methods.add$1(decimalDigitChunks, "000"); + if (t3 === 2) + C.JSArray_methods.add$1(decimalDigitChunks, "00"); + if (t3 === 3) + C.JSArray_methods.add$1(decimalDigitChunks, "0"); + rest = rest._div$1(t2); + } + t2 = rest._digits; + if (0 >= t2.length) + return H.ioore(t2, 0); + C.JSArray_methods.add$1(decimalDigitChunks, C.JSInt_methods.toString$0(t2[0])); + if (t1) + C.JSArray_methods.add$1(decimalDigitChunks, "-"); + return new H.ReversedListIterable(decimalDigitChunks, type$.ReversedListIterable_String).join$0(0); + }, + $isBigInt: 1, + $isComparable: 1 + }; + P._BigIntImpl_hashCode_combine.prototype = { + call$2: function(hash, value) { + hash = hash + value & 536870911; + hash = hash + ((hash & 524287) << 10) & 536870911; + return hash ^ hash >>> 6; + }, + $signature: 176 + }; + P._BigIntImpl_hashCode_finish.prototype = { + call$1: function(hash) { + hash = hash + ((hash & 67108863) << 3) & 536870911; + hash ^= hash >>> 11; + return hash + ((hash & 16383) << 15) & 536870911; + }, + $signature: 173 + }; + P.DateTime.prototype = { + add$1: function(_, duration) { + return P.DateTime$_withValue(this._value + C.JSInt_methods._tdivFast$1(type$.Duration._as(duration)._duration, 1000), this.isUtc); + }, + $eq: function(_, other) { + if (other == null) + return false; + return other instanceof P.DateTime && this._value === other._value && this.isUtc === other.isUtc; + }, + compareTo$1: function(_, other) { + return C.JSInt_methods.compareTo$1(this._value, type$.DateTime._as(other)._value); + }, + DateTime$_withValue$2$isUtc: function(_value, isUtc) { + var t2, + t1 = this._value; + if (Math.abs(t1) <= 864e13) + t2 = false; + else + t2 = true; + if (t2) + throw H.wrapException(P.ArgumentError$("DateTime is outside valid range: " + t1)); + H.checkNotNullable(this.isUtc, "isUtc", type$.bool); + }, + get$hashCode: function(_) { + var t1 = this._value; + return (t1 ^ C.JSInt_methods._shrOtherPositive$1(t1, 30)) & 1073741823; + }, + toString$0: function(_) { + var _this = this, + y = P.DateTime__fourDigits(H.Primitives_getYear(_this)), + m = P.DateTime__twoDigits(H.Primitives_getMonth(_this)), + d = P.DateTime__twoDigits(H.Primitives_getDay(_this)), + h = P.DateTime__twoDigits(H.Primitives_getHours(_this)), + min = P.DateTime__twoDigits(H.Primitives_getMinutes(_this)), + sec = P.DateTime__twoDigits(H.Primitives_getSeconds(_this)), + ms = P.DateTime__threeDigits(H.Primitives_getMilliseconds(_this)); + if (_this.isUtc) + return y + "-" + m + "-" + d + " " + h + ":" + min + ":" + sec + "." + ms + "Z"; + else + return y + "-" + m + "-" + d + " " + h + ":" + min + ":" + sec + "." + ms; + }, + toIso8601String$0: function() { + var _this = this, + y = H.Primitives_getYear(_this) >= -9999 && H.Primitives_getYear(_this) <= 9999 ? P.DateTime__fourDigits(H.Primitives_getYear(_this)) : P.DateTime__sixDigits(H.Primitives_getYear(_this)), + m = P.DateTime__twoDigits(H.Primitives_getMonth(_this)), + d = P.DateTime__twoDigits(H.Primitives_getDay(_this)), + h = P.DateTime__twoDigits(H.Primitives_getHours(_this)), + min = P.DateTime__twoDigits(H.Primitives_getMinutes(_this)), + sec = P.DateTime__twoDigits(H.Primitives_getSeconds(_this)), + ms = P.DateTime__threeDigits(H.Primitives_getMilliseconds(_this)); + if (_this.isUtc) + return y + "-" + m + "-" + d + "T" + h + ":" + min + ":" + sec + "." + ms + "Z"; + else + return y + "-" + m + "-" + d + "T" + h + ":" + min + ":" + sec + "." + ms; + }, + $isComparable: 1 + }; + P.DateTime_parse_parseIntOrZero.prototype = { + call$1: function(matched) { + if (matched == null) + return 0; + return P.int_parse(matched, null); + }, + $signature: 171 + }; + P.DateTime_parse_parseMilliAndMicroseconds.prototype = { + call$1: function(matched) { + var t1, result, i; + if (matched == null) + return 0; + for (t1 = matched.length, result = 0, i = 0; i < 6; ++i) { + result *= 10; + if (i < t1) + result += C.JSString_methods._codeUnitAt$1(matched, i) ^ 48; + } + return result; + }, + $signature: 171 + }; + P.Duration.prototype = { + $sub: function(_, other) { + return new P.Duration(this._duration - type$.Duration._as(other)._duration); + }, + $eq: function(_, other) { + if (other == null) + return false; + return other instanceof P.Duration && this._duration === other._duration; + }, + get$hashCode: function(_) { + return C.JSInt_methods.get$hashCode(this._duration); + }, + compareTo$1: function(_, other) { + return C.JSInt_methods.compareTo$1(this._duration, type$.Duration._as(other)._duration); + }, + toString$0: function(_) { + var twoDigitMinutes, twoDigitSeconds, sixDigitUs, + t1 = new P.Duration_toString_twoDigits(), + t2 = this._duration; + if (t2 < 0) + return "-" + new P.Duration(0 - t2).toString$0(0); + twoDigitMinutes = t1.call$1(C.JSInt_methods._tdivFast$1(t2, 60000000) % 60); + twoDigitSeconds = t1.call$1(C.JSInt_methods._tdivFast$1(t2, 1000000) % 60); + sixDigitUs = new P.Duration_toString_sixDigits().call$1(t2 % 1000000); + return "" + C.JSInt_methods._tdivFast$1(t2, 3600000000) + ":" + H.S(twoDigitMinutes) + ":" + H.S(twoDigitSeconds) + "." + H.S(sixDigitUs); + }, + $isComparable: 1 + }; + P.Duration_toString_sixDigits.prototype = { + call$1: function(n) { + if (n >= 100000) + return "" + n; + if (n >= 10000) + return "0" + n; + if (n >= 1000) + return "00" + n; + if (n >= 100) + return "000" + n; + if (n >= 10) + return "0000" + n; + return "00000" + n; + }, + $signature: 80 + }; + P.Duration_toString_twoDigits.prototype = { + call$1: function(n) { + if (n >= 10) + return "" + n; + return "0" + n; + }, + $signature: 80 + }; + P.Error.prototype = { + get$stackTrace: function() { + return H.getTraceFromException(this.$thrownJsError); + } + }; + P.AssertionError.prototype = { + toString$0: function(_) { + var t1 = this.message; + if (t1 != null) + return "Assertion failed: " + P.Error_safeToString(t1); + return "Assertion failed"; + }, + get$message: function(receiver) { + return this.message; + } + }; + P.TypeError.prototype = {}; + P.NullThrownError.prototype = { + toString$0: function(_) { + return "Throw of null."; + } + }; + P.ArgumentError.prototype = { + get$_errorName: function() { + return "Invalid argument" + (!this._hasValue ? "(s)" : ""); + }, + get$_errorExplanation: function() { + return ""; + }, + toString$0: function(_) { + var explanation, errorValue, _this = this, + $name = _this.name, + nameString = $name == null ? "" : " (" + $name + ")", + message = _this.message, + messageString = message == null ? "" : ": " + H.S(message), + prefix = _this.get$_errorName() + nameString + messageString; + if (!_this._hasValue) + return prefix; + explanation = _this.get$_errorExplanation(); + errorValue = P.Error_safeToString(_this.invalidValue); + return prefix + explanation + ": " + errorValue; + }, + get$message: function(receiver) { + return this.message; + } + }; + P.RangeError.prototype = { + get$_errorName: function() { + return "RangeError"; + }, + get$_errorExplanation: function() { + var explanation, + start = this.start, + end = this.end; + if (start == null) + explanation = end != null ? ": Not less than or equal to " + H.S(end) : ""; + else if (end == null) + explanation = ": Not greater than or equal to " + H.S(start); + else if (end > start) + explanation = ": Not in inclusive range " + H.S(start) + ".." + H.S(end); + else + explanation = end < start ? ": Valid value range is empty" : ": Only valid value is " + H.S(start); + return explanation; + } + }; + P.IndexError.prototype = { + get$_errorName: function() { + return "RangeError"; + }, + get$_errorExplanation: function() { + var t1, + invalidValue = H._asIntS(this.invalidValue); + if (typeof invalidValue !== "number") + return invalidValue.$lt(); + if (invalidValue < 0) + return ": index must not be negative"; + t1 = this.length; + if (t1 === 0) + return ": no indices are valid"; + return ": index should be less than " + H.S(t1); + }, + get$length: function(receiver) { + return this.length; + } + }; + P.NoSuchMethodError.prototype = { + toString$0: function(_) { + var $arguments, t1, _i, t2, t3, argument, memberName, receiverText, actualParameters, _this = this, _box_0 = {}, + sb = new P.StringBuffer(""); + _box_0.comma = ""; + $arguments = _this._core$_arguments; + for (t1 = $arguments.length, _i = 0, t2 = "", t3 = ""; _i < t1; ++_i, t3 = ", ") { + argument = $arguments[_i]; + sb._contents = t2 + t3; + t2 = sb._contents += P.Error_safeToString(argument); + _box_0.comma = ", "; + } + _this._namedArguments.forEach$1(0, new P.NoSuchMethodError_toString_closure(_box_0, sb)); + memberName = _this._core$_memberName.__internal$_name; + receiverText = P.Error_safeToString(_this._core$_receiver); + actualParameters = sb.toString$0(0); + t1 = "NoSuchMethodError: method not found: '" + H.S(memberName) + "'\nReceiver: " + receiverText + "\nArguments: [" + actualParameters + "]"; + return t1; + } + }; + P.UnsupportedError.prototype = { + toString$0: function(_) { + return "Unsupported operation: " + this.message; + }, + get$message: function(receiver) { + return this.message; + } + }; + P.UnimplementedError.prototype = { + toString$0: function(_) { + var message = this.message; + return message != null ? "UnimplementedError: " + message : "UnimplementedError"; + }, + get$message: function(receiver) { + return this.message; + } + }; + P.StateError.prototype = { + toString$0: function(_) { + return "Bad state: " + this.message; + }, + get$message: function(receiver) { + return this.message; + } + }; + P.ConcurrentModificationError.prototype = { + toString$0: function(_) { + var t1 = this.modifiedObject; + if (t1 == null) + return "Concurrent modification during iteration."; + return "Concurrent modification during iteration: " + P.Error_safeToString(t1) + "."; + } + }; + P.OutOfMemoryError.prototype = { + toString$0: function(_) { + return "Out of Memory"; + }, + get$stackTrace: function() { + return null; + }, + $isError: 1 + }; + P.StackOverflowError.prototype = { + toString$0: function(_) { + return "Stack Overflow"; + }, + get$stackTrace: function() { + return null; + }, + $isError: 1 + }; + P.CyclicInitializationError.prototype = { + toString$0: function(_) { + var variableName = this.variableName; + return variableName == null ? "Reading static variable during its initialization" : "Reading static variable '" + variableName + "' during its initialization"; + } + }; + P._Exception.prototype = { + toString$0: function(_) { + return "Exception: " + this.message; + }, + $isException: 1, + get$message: function(receiver) { + return this.message; + } + }; + P.FormatException.prototype = { + toString$0: function(_) { + var t1, lineNum, lineStart, previousCharWasCR, i, char, lineEnd, end, start, prefix, postfix, slice, + message = this.message, + report = message != null && "" !== message ? "FormatException: " + H.S(message) : "FormatException", + offset = this.offset, + source = this.source; + if (typeof source == "string") { + if (offset != null) + t1 = offset < 0 || offset > source.length; + else + t1 = false; + if (t1) + offset = null; + if (offset == null) { + if (source.length > 78) + source = C.JSString_methods.substring$2(source, 0, 75) + "..."; + return report + "\n" + source; + } + for (lineNum = 1, lineStart = 0, previousCharWasCR = false, i = 0; i < offset; ++i) { + char = C.JSString_methods._codeUnitAt$1(source, i); + if (char === 10) { + if (lineStart !== i || !previousCharWasCR) + ++lineNum; + lineStart = i + 1; + previousCharWasCR = false; + } else if (char === 13) { + ++lineNum; + lineStart = i + 1; + previousCharWasCR = true; + } + } + report = lineNum > 1 ? report + (" (at line " + lineNum + ", character " + (offset - lineStart + 1) + ")\n") : report + (" (at character " + (offset + 1) + ")\n"); + lineEnd = source.length; + for (i = offset; i < lineEnd; ++i) { + char = C.JSString_methods.codeUnitAt$1(source, i); + if (char === 10 || char === 13) { + lineEnd = i; + break; + } + } + if (lineEnd - lineStart > 78) + if (offset - lineStart < 75) { + end = lineStart + 75; + start = lineStart; + prefix = ""; + postfix = "..."; + } else { + if (lineEnd - offset < 75) { + start = lineEnd - 75; + end = lineEnd; + postfix = ""; + } else { + start = offset - 36; + end = offset + 36; + postfix = "..."; + } + prefix = "..."; + } + else { + end = lineEnd; + start = lineStart; + prefix = ""; + postfix = ""; + } + slice = C.JSString_methods.substring$2(source, start, end); + return report + prefix + slice + postfix + "\n" + C.JSString_methods.$mul(" ", offset - start + prefix.length) + "^\n"; + } else + return offset != null ? report + (" (at offset " + H.S(offset) + ")") : report; + }, + $isException: 1, + get$message: function(receiver) { + return this.message; + }, + get$source: function(receiver) { + return this.source; + }, + get$offset: function(receiver) { + return this.offset; + } + }; + P.IntegerDivisionByZeroException.prototype = { + toString$0: function(_) { + return "IntegerDivisionByZeroException"; + }, + $isException: 1 + }; + P.Expando.prototype = { + $index: function(_, object) { + var values, + t1 = this._jsWeakMapOrKey; + if (typeof t1 != "string") { + if (object == null || H._isBool(object) || typeof object == "number" || typeof object == "string") + H.throwExpression(P.ArgumentError$value(object, "Expandos are not allowed on strings, numbers, booleans or null", null)); + return t1.get(object); + } + values = H.Primitives_getProperty(object, "expando$values"); + t1 = values == null ? null : H.Primitives_getProperty(values, t1); + return this.$ti._eval$1("1?")._as(t1); + }, + $indexSet: function(_, object, value) { + var t1, values, + _s14_ = "expando$values"; + this.$ti._eval$1("1?")._as(value); + t1 = this._jsWeakMapOrKey; + if (typeof t1 != "string") + t1.set(object, value); + else { + values = H.Primitives_getProperty(object, _s14_); + if (values == null) { + values = new P.Object(); + H.Primitives_setProperty(object, _s14_, values); + } + H.Primitives_setProperty(values, t1, value); + } + }, + toString$0: function(_) { + return "Expando:" + H.S(this.name); + } + }; + P.Iterable.prototype = { + cast$1$0: function(_, $R) { + return H.CastIterable_CastIterable(this, H._instanceType(this)._eval$1("Iterable.E"), $R); + }, + map$1$1: function(_, f, $T) { + var t1 = H._instanceType(this); + return H.MappedIterable_MappedIterable(this, t1._bind$1($T)._eval$1("1(Iterable.E)")._as(f), t1._eval$1("Iterable.E"), $T); + }, + map$1: function($receiver, f) { + return this.map$1$1($receiver, f, type$.dynamic); + }, + where$1: function(_, test) { + var t1 = H._instanceType(this); + return new H.WhereIterable(this, t1._eval$1("bool(Iterable.E)")._as(test), t1._eval$1("WhereIterable")); + }, + whereType$1$0: function(_, $T) { + return new H.WhereTypeIterable(this, $T._eval$1("WhereTypeIterable<0>")); + }, + expand$1$1: function(_, f, $T) { + var t1 = H._instanceType(this); + return new H.ExpandIterable(this, t1._bind$1($T)._eval$1("Iterable<1>(Iterable.E)")._as(f), t1._eval$1("@")._bind$1($T)._eval$1("ExpandIterable<1,2>")); + }, + contains$1: function(_, element) { + var t1; + for (t1 = this.get$iterator(this); t1.moveNext$0();) + if (J.$eq$(t1.get$current(t1), element)) + return true; + return false; + }, + forEach$1: function(_, f) { + var t1; + H._instanceType(this)._eval$1("~(Iterable.E)")._as(f); + for (t1 = this.get$iterator(this); t1.moveNext$0();) + f.call$1(t1.get$current(t1)); + }, + fold$1$2: function(_, initialValue, combine, $T) { + var t1, value; + $T._as(initialValue); + H._instanceType(this)._bind$1($T)._eval$1("1(1,Iterable.E)")._as(combine); + for (t1 = this.get$iterator(this), value = initialValue; t1.moveNext$0();) + value = combine.call$2(value, t1.get$current(t1)); + return value; + }, + every$1: function(_, test) { + var t1; + H._instanceType(this)._eval$1("bool(Iterable.E)")._as(test); + for (t1 = this.get$iterator(this); t1.moveNext$0();) + if (!H.boolConversionCheck(test.call$1(t1.get$current(t1)))) + return false; + return true; + }, + join$1: function(_, separator) { + var t1, + iterator = this.get$iterator(this); + if (!iterator.moveNext$0()) + return ""; + if (separator === "") { + t1 = ""; + do + t1 += H.S(J.toString$0$(iterator.get$current(iterator))); + while (iterator.moveNext$0()); + } else { + t1 = H.S(J.toString$0$(iterator.get$current(iterator))); + for (; iterator.moveNext$0();) + t1 = t1 + separator + H.S(J.toString$0$(iterator.get$current(iterator))); + } + return t1.charCodeAt(0) == 0 ? t1 : t1; + }, + any$1: function(_, test) { + var t1; + H._instanceType(this)._eval$1("bool(Iterable.E)")._as(test); + for (t1 = this.get$iterator(this); t1.moveNext$0();) + if (H.boolConversionCheck(test.call$1(t1.get$current(t1)))) + return true; + return false; + }, + toList$1$growable: function(_, growable) { + return P.List_List$of(this, growable, H._instanceType(this)._eval$1("Iterable.E")); + }, + toList$0: function($receiver) { + return this.toList$1$growable($receiver, true); + }, + toSet$0: function(_) { + var t1 = P.LinkedHashSet_LinkedHashSet(H._instanceType(this)._eval$1("Iterable.E")); + t1.addAll$1(0, this); + return t1; + }, + get$length: function(_) { + var count, + it = this.get$iterator(this); + for (count = 0; it.moveNext$0();) + ++count; + return count; + }, + get$isEmpty: function(_) { + return !this.get$iterator(this).moveNext$0(); + }, + get$isNotEmpty: function(_) { + return !this.get$isEmpty(this); + }, + take$1: function(_, count) { + return H.TakeIterable_TakeIterable(this, count, H._instanceType(this)._eval$1("Iterable.E")); + }, + skip$1: function(_, count) { + return H.SkipIterable_SkipIterable(this, count, H._instanceType(this)._eval$1("Iterable.E")); + }, + skipWhile$1: function(_, test) { + var t1 = H._instanceType(this); + return new H.SkipWhileIterable(this, t1._eval$1("bool(Iterable.E)")._as(test), t1._eval$1("SkipWhileIterable")); + }, + get$first: function(_) { + var it = this.get$iterator(this); + if (!it.moveNext$0()) + throw H.wrapException(H.IterableElementError_noElement()); + return it.get$current(it); + }, + get$last: function(_) { + var result, + it = this.get$iterator(this); + if (!it.moveNext$0()) + throw H.wrapException(H.IterableElementError_noElement()); + do + result = it.get$current(it); + while (it.moveNext$0()); + return result; + }, + get$single: function(_) { + var result, + it = this.get$iterator(this); + if (!it.moveNext$0()) + throw H.wrapException(H.IterableElementError_noElement()); + result = it.get$current(it); + if (it.moveNext$0()) + throw H.wrapException(H.IterableElementError_tooMany()); + return result; + }, + firstWhere$2$orElse: function(_, test, orElse) { + var element, + t1 = H._instanceType(this); + t1._eval$1("bool(Iterable.E)")._as(test); + t1._eval$1("Iterable.E()?")._as(orElse); + for (t1 = this.get$iterator(this); t1.moveNext$0();) { + element = t1.get$current(t1); + if (H.boolConversionCheck(test.call$1(element))) + return element; + } + throw H.wrapException(H.IterableElementError_noElement()); + }, + elementAt$1: function(_, index) { + var t1, elementIndex, element; + P.RangeError_checkNotNegative(index, "index"); + for (t1 = this.get$iterator(this), elementIndex = 0; t1.moveNext$0();) { + element = t1.get$current(t1); + if (index === elementIndex) + return element; + ++elementIndex; + } + throw H.wrapException(P.IndexError$(index, this, "index", null, elementIndex)); + }, + toString$0: function(_) { + return P.IterableBase_iterableToShortString(this, "(", ")"); + } + }; + P.Iterator.prototype = {}; + P.MapEntry.prototype = { + toString$0: function(_) { + return "MapEntry(" + H.S(this.key) + ": " + H.S(this.value) + ")"; + }, + get$value: function(receiver) { + return this.value; + } + }; + P.Null.prototype = { + get$hashCode: function(_) { + return P.Object.prototype.get$hashCode.call(C.JSNull_methods, this); + }, + toString$0: function(_) { + return "null"; + } + }; + P.Object.prototype = {constructor: P.Object, $isObject: 1, + $eq: function(_, other) { + return this === other; + }, + get$hashCode: function(_) { + return H.Primitives_objectHashCode(this); + }, + toString$0: function(_) { + return "Instance of '" + H.S(H.Primitives_objectTypeName(this)) + "'"; + }, + noSuchMethod$1: function(_, invocation) { + type$.Invocation._as(invocation); + throw H.wrapException(P.NoSuchMethodError$(this, invocation.get$memberName(), invocation.get$positionalArguments(), invocation.get$namedArguments())); + }, + get$runtimeType: function(_) { + return H.getRuntimeType(this); + }, + toString: function() { + return this.toString$0(this); + }, + call$1: function($0) { + return this.noSuchMethod$1(this, H.createInvocationMirror("call", "call$1", 0, [$0], [], 0)); + }, + call$2: function($0, $1) { + return this.noSuchMethod$1(this, H.createInvocationMirror("call", "call$2", 0, [$0, $1], [], 0)); + }, + call$0: function() { + return this.noSuchMethod$1(this, H.createInvocationMirror("call", "call$0", 0, [], [], 0)); + }, + call$3: function($0, $1, $2) { + return this.noSuchMethod$1(this, H.createInvocationMirror("call", "call$3", 0, [$0, $1, $2], [], 0)); + }, + call$1$1: function($0, $T1) { + return this.noSuchMethod$1(this, H.createInvocationMirror("call", "call$1$1", 0, [$0, $T1], [], 1)); + }, + call$1$growable: function($0) { + return this.noSuchMethod$1(this, H.createInvocationMirror("call", "call$1$growable", 0, [$0], ["growable"], 0)); + }, + call$1$2: function($0, $1, $T1) { + return this.noSuchMethod$1(this, H.createInvocationMirror("call", "call$1$2", 0, [$0, $1, $T1], [], 1)); + }, + call$4: function($0, $1, $2, $3) { + return this.noSuchMethod$1(this, H.createInvocationMirror("call", "call$4", 0, [$0, $1, $2, $3], [], 0)); + }, + call$2$1: function($0, $T1, $T2) { + return this.noSuchMethod$1(this, H.createInvocationMirror("call", "call$2$1", 0, [$0, $T1, $T2], [], 2)); + }, + call$4$cancelOnError$onDone$onError: function($0, $1, $2, $3) { + return this.noSuchMethod$1(this, H.createInvocationMirror("call", "call$4$cancelOnError$onDone$onError", 0, [$0, $1, $2, $3], ["cancelOnError", "onDone", "onError"], 0)); + }, + call$3$bridgeFactory$skipMethods: function($0, $1, $2) { + return this.noSuchMethod$1(this, H.createInvocationMirror("call", "call$3$bridgeFactory$skipMethods", 0, [$0, $1, $2], ["bridgeFactory", "skipMethods"], 0)); + }, + call$1$2$onError: function($0, $1, $T1) { + return this.noSuchMethod$1(this, H.createInvocationMirror("call", "call$1$2$onError", 0, [$0, $1, $T1], ["onError"], 1)); + }, + call$8: function($0, $1, $2, $3, $4, $5, $6, $7) { + return this.noSuchMethod$1(this, H.createInvocationMirror("call", "call$8", 0, [$0, $1, $2, $3, $4, $5, $6, $7], [], 0)); + }, + call$3$address$substrand: function($0, $1, $2) { + return this.noSuchMethod$1(this, H.createInvocationMirror("call", "call$3$address$substrand", 0, [$0, $1, $2], ["address", "substrand"], 0)); + }, + call$4$address$substrand$type: function($0, $1, $2, $3) { + return this.noSuchMethod$1(this, H.createInvocationMirror("call", "call$4$address$substrand$type", 0, [$0, $1, $2, $3], ["address", "substrand", "type"], 0)); + }, + call$7: function($0, $1, $2, $3, $4, $5, $6) { + return this.noSuchMethod$1(this, H.createInvocationMirror("call", "call$7", 0, [$0, $1, $2, $3, $4, $5, $6], [], 0)); + }, + call$12: function($0, $1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) { + return this.noSuchMethod$1(this, H.createInvocationMirror("call", "call$12", 0, [$0, $1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11], [], 0)); + }, + call$16: function($0, $1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15) { + return this.noSuchMethod$1(this, H.createInvocationMirror("call", "call$16", 0, [$0, $1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15], [], 0)); + }, + call$18: function($0, $1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $17) { + return this.noSuchMethod$1(this, H.createInvocationMirror("call", "call$18", 0, [$0, $1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $17], [], 0)); + }, + call$10: function($0, $1, $2, $3, $4, $5, $6, $7, $8, $9) { + return this.noSuchMethod$1(this, H.createInvocationMirror("call", "call$10", 0, [$0, $1, $2, $3, $4, $5, $6, $7, $8, $9], [], 0)); + }, + call$15: function($0, $1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14) { + return this.noSuchMethod$1(this, H.createInvocationMirror("call", "call$15", 0, [$0, $1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14], [], 0)); + }, + call$1$mouse_pos: function($0) { + return this.noSuchMethod$1(this, H.createInvocationMirror("call", "call$1$mouse_pos", 0, [$0], ["mouse_pos"], 0)); + }, + call$1$event: function($0) { + return this.noSuchMethod$1(this, H.createInvocationMirror("call", "call$1$event", 0, [$0], ["event"], 0)); + }, + call$1$suppress_indent: function($0) { + return this.noSuchMethod$1(this, H.createInvocationMirror("call", "call$1$suppress_indent", 0, [$0], ["suppress_indent"], 0)); + }, + call$3$specifiedType: function($0, $1, $2) { + return this.noSuchMethod$1(this, H.createInvocationMirror("call", "call$3$specifiedType", 0, [$0, $1, $2], ["specifiedType"], 0)); + }, + call$2$0: function($T1, $T2) { + return this.noSuchMethod$1(this, H.createInvocationMirror("call", "call$2$0", 0, [$T1, $T2], [], 2)); + }, + call$3$onDone$onError: function($0, $1, $2) { + return this.noSuchMethod$1(this, H.createInvocationMirror("call", "call$3$onDone$onError", 0, [$0, $1, $2], ["onDone", "onError"], 0)); + }, + call$1$end: function($0) { + return this.noSuchMethod$1(this, H.createInvocationMirror("call", "call$1$end", 0, [$0], ["end"], 0)); + }, + call$1$text: function($0) { + return this.noSuchMethod$1(this, H.createInvocationMirror("call", "call$1$text", 0, [$0], ["text"], 0)); + }, + call$1$line: function($0) { + return this.noSuchMethod$1(this, H.createInvocationMirror("call", "call$1$line", 0, [$0], ["line"], 0)); + }, + call$2$withDrive: function($0, $1) { + return this.noSuchMethod$1(this, H.createInvocationMirror("call", "call$2$withDrive", 0, [$0, $1], ["withDrive"], 0)); + }, + call$3$length$position: function($0, $1, $2) { + return this.noSuchMethod$1(this, H.createInvocationMirror("call", "call$3$length$position", 0, [$0, $1, $2], ["length", "position"], 0)); + }, + call$3$async: function($0, $1, $2) { + return this.noSuchMethod$1(this, H.createInvocationMirror("call", "call$3$async", 0, [$0, $1, $2], ["async"], 0)); + }, + call$2$orElse: function($0, $1) { + return this.noSuchMethod$1(this, H.createInvocationMirror("call", "call$2$orElse", 0, [$0, $1], ["orElse"], 0)); + }, + call$1$0: function($T1) { + return this.noSuchMethod$1(this, H.createInvocationMirror("call", "call$1$0", 0, [$T1], [], 1)); + }, + call$2$namespace: function($0, $1) { + return this.noSuchMethod$1(this, H.createInvocationMirror("call", "call$2$namespace", 0, [$0, $1], ["namespace"], 0)); + }, + call$3$cancelOnError$onDone: function($0, $1, $2) { + return this.noSuchMethod$1(this, H.createInvocationMirror("call", "call$3$cancelOnError$onDone", 0, [$0, $1, $2], ["cancelOnError", "onDone"], 0)); + }, + call$1$size: function($0) { + return this.noSuchMethod$1(this, H.createInvocationMirror("call", "call$1$size", 0, [$0], ["size"], 0)); + }, + $indexSet: function($receiver, $0, $1) { + return this.noSuchMethod$1($receiver, H.createInvocationMirror("[]=", "$indexSet", 0, [$0, $1], [], 0)); + }, + $index: function($receiver, $0) { + return this.noSuchMethod$1($receiver, H.createInvocationMirror("[]", "$index", 0, [$0], [], 0)); + }, + add$1: function($receiver, $0) { + return this.noSuchMethod$1($receiver, H.createInvocationMirror("add", "add$1", 0, [$0], [], 0)); + }, + map$1: function($receiver, $0) { + return this.noSuchMethod$1($receiver, H.createInvocationMirror("map", "map$1", 0, [$0], [], 0)); + }, + compareTo$1: function($receiver, $0) { + return this.noSuchMethod$1($receiver, H.createInvocationMirror("compareTo", "compareTo$1", 0, [$0], [], 0)); + }, + containsKey$1: function($receiver, $0) { + return this.noSuchMethod$1($receiver, H.createInvocationMirror("containsKey", "containsKey$1", 0, [$0], [], 0)); + }, + remove$0: function($receiver) { + return this.noSuchMethod$1($receiver, H.createInvocationMirror("remove", "remove$0", 0, [], [], 0)); + }, + substring$2: function($receiver, $0, $1) { + return this.noSuchMethod$1($receiver, H.createInvocationMirror("substring", "substring$2", 0, [$0, $1], [], 0)); + }, + substring$1: function($receiver, $0) { + return this.noSuchMethod$1($receiver, H.createInvocationMirror("substring", "substring$1", 0, [$0], [], 0)); + }, + setRange$3: function($receiver, $0, $1, $2) { + return this.noSuchMethod$1($receiver, H.createInvocationMirror("setRange", "setRange$3", 0, [$0, $1, $2], [], 0)); + }, + setState$1: function($receiver, $0) { + return this.noSuchMethod$1($receiver, H.createInvocationMirror("setState", "setState$1", 0, [$0], [], 0)); + }, + preventDefault$0: function($receiver) { + return this.noSuchMethod$1($receiver, H.createInvocationMirror("preventDefault", "preventDefault$0", 0, [], [], 0)); + }, + stopPropagation$0: function($receiver) { + return this.noSuchMethod$1($receiver, H.createInvocationMirror("stopPropagation", "stopPropagation$0", 0, [], [], 0)); + }, + toLowerCase$0: function($receiver) { + return this.noSuchMethod$1($receiver, H.createInvocationMirror("toLowerCase", "toLowerCase$0", 0, [], [], 0)); + }, + _initKeyboardEvent$10: function($receiver, $0, $1, $2, $3, $4, $5, $6, $7, $8, $9) { + return this.noSuchMethod$1($receiver, H.createInvocationMirror("_initKeyboardEvent", "_initKeyboardEvent$10", 0, [$0, $1, $2, $3, $4, $5, $6, $7, $8, $9], [], 0)); + }, + toJson$0: function() { + return this.noSuchMethod$1(this, H.createInvocationMirror("toJson", "toJson$0", 0, [], [], 0)); + }, + cast$1$0: function($receiver, $T1) { + return this.noSuchMethod$1($receiver, H.createInvocationMirror("cast", "cast$1$0", 0, [$T1], [], 1)); + }, + _throwNoParent$0: function() { + return this.noSuchMethod$1(this, H.createInvocationMirror("_throwNoParent", "_throwNoParent$0", 0, [], [], 0)); + }, + $sub: function($receiver, $0) { + return this.noSuchMethod$1($receiver, H.createInvocationMirror("-", "$sub", 0, [$0], [], 0)); + }, + get$length: function($receiver) { + return this.noSuchMethod$1($receiver, H.createInvocationMirror("length", "get$length", 1, [], [], 0)); + }, + get$keys: function($receiver) { + return this.noSuchMethod$1($receiver, H.createInvocationMirror("keys", "get$keys", 1, [], [], 0)); + }, + get$iterator: function($receiver) { + return this.noSuchMethod$1($receiver, H.createInvocationMirror("iterator", "get$iterator", 1, [], [], 0)); + }, + get$current: function($receiver) { + return this.noSuchMethod$1($receiver, H.createInvocationMirror("current", "get$current", 1, [], [], 0)); + }, + get$state: function($receiver) { + return this.noSuchMethod$1($receiver, H.createInvocationMirror("state", "get$state", 1, [], [], 0)); + }, + get$offset: function($receiver) { + return this.noSuchMethod$1($receiver, H.createInvocationMirror("offset", "get$offset", 1, [], [], 0)); + }, + get$cause: function() { + return this.noSuchMethod$1(this, H.createInvocationMirror("cause", "get$cause", 1, [], [], 0)); + }, + get$message: function($receiver) { + return this.noSuchMethod$1($receiver, H.createInvocationMirror("message", "get$message", 1, [], [], 0)); + }, + get$stackTrace: function() { + return this.noSuchMethod$1(this, H.createInvocationMirror("stackTrace", "get$stackTrace", 1, [], [], 0)); + }, + get$props: function($receiver) { + return this.noSuchMethod$1($receiver, H.createInvocationMirror("props", "get$props", 1, [], [], 0)); + }, + get$componentFactory: function() { + return this.noSuchMethod$1(this, H.createInvocationMirror("componentFactory", "get$componentFactory", 1, [], [], 0)); + }, + get$defaultProps: function($receiver) { + return this.noSuchMethod$1($receiver, H.createInvocationMirror("defaultProps", "get$defaultProps", 1, [], [], 0)); + }, + get$dartComponent: function($receiver) { + return this.noSuchMethod$1($receiver, H.createInvocationMirror("dartComponent", "get$dartComponent", 1, [], [], 0)); + }, + get$context: function($receiver) { + return this.noSuchMethod$1($receiver, H.createInvocationMirror("context", "get$context", 1, [], [], 0)); + }, + get$type: function($receiver) { + return this.noSuchMethod$1($receiver, H.createInvocationMirror("type", "get$type", 1, [], [], 0)); + }, + get$dartComponentVersion: function($receiver) { + return this.noSuchMethod$1($receiver, H.createInvocationMirror("dartComponentVersion", "get$dartComponentVersion", 1, [], [], 0)); + }, + get$componentStack: function($receiver) { + return this.noSuchMethod$1($receiver, H.createInvocationMirror("componentStack", "get$componentStack", 1, [], [], 0)); + }, + get$dartStackTrace: function($receiver) { + return this.noSuchMethod$1($receiver, H.createInvocationMirror("dartStackTrace", "get$dartStackTrace", 1, [], [], 0)); + }, + get$hex: function($receiver) { + return this.noSuchMethod$1($receiver, H.createInvocationMirror("hex", "get$hex", 1, [], [], 0)); + }, + get$helices: function() { + return this.noSuchMethod$1(this, H.createInvocationMirror("helices", "get$helices", 1, [], [], 0)); + }, + get$groups: function() { + return this.noSuchMethod$1(this, H.createInvocationMirror("groups", "get$groups", 1, [], [], 0)); + }, + get$geometry: function($receiver) { + return this.noSuchMethod$1($receiver, H.createInvocationMirror("geometry", "get$geometry", 1, [], [], 0)); + }, + get$nativeEvent: function($receiver) { + return this.noSuchMethod$1($receiver, H.createInvocationMirror("nativeEvent", "get$nativeEvent", 1, [], [], 0)); + }, + get$button: function($receiver) { + return this.noSuchMethod$1($receiver, H.createInvocationMirror("button", "get$button", 1, [], [], 0)); + }, + get$shiftKey: function($receiver) { + return this.noSuchMethod$1($receiver, H.createInvocationMirror("shiftKey", "get$shiftKey", 1, [], [], 0)); + }, + get$ctrlKey: function($receiver) { + return this.noSuchMethod$1($receiver, H.createInvocationMirror("ctrlKey", "get$ctrlKey", 1, [], [], 0)); + }, + get$metaKey: function($receiver) { + return this.noSuchMethod$1($receiver, H.createInvocationMirror("metaKey", "get$metaKey", 1, [], [], 0)); + }, + get$value: function($receiver) { + return this.noSuchMethod$1($receiver, H.createInvocationMirror("value", "get$value", 1, [], [], 0)); + }, + get$target: function($receiver) { + return this.noSuchMethod$1($receiver, H.createInvocationMirror("target", "get$target", 1, [], [], 0)); + }, + get$checked: function($receiver) { + return this.noSuchMethod$1($receiver, H.createInvocationMirror("checked", "get$checked", 1, [], [], 0)); + }, + get$attributes: function($receiver) { + return this.noSuchMethod$1($receiver, H.createInvocationMirror("attributes", "get$attributes", 1, [], [], 0)); + }, + get$tagName: function($receiver) { + return this.noSuchMethod$1($receiver, H.createInvocationMirror("tagName", "get$tagName", 1, [], [], 0)); + }, + get$jsThis: function() { + return this.noSuchMethod$1(this, H.createInvocationMirror("jsThis", "get$jsThis", 1, [], [], 0)); + }, + get$Provider: function($receiver) { + return this.noSuchMethod$1($receiver, H.createInvocationMirror("Provider", "get$Provider", 1, [], [], 0)); + }, + get$Consumer: function($receiver) { + return this.noSuchMethod$1($receiver, H.createInvocationMirror("Consumer", "get$Consumer", 1, [], [], 0)); + }, + set$displayName: function($receiver, $0) { + return this.noSuchMethod$1($receiver, H.createInvocationMirror("displayName=", "set$displayName", 2, [$0], [], 0)); + }, + set$dartComponentVersion: function($receiver, $0) { + return this.noSuchMethod$1($receiver, H.createInvocationMirror("dartComponentVersion=", "set$dartComponentVersion", 2, [$0], [], 0)); + }, + set$state: function($receiver, $0) { + return this.noSuchMethod$1($receiver, H.createInvocationMirror("state=", "set$state", 2, [$0], [], 0)); + }, + set$dartStackTrace: function($receiver, $0) { + return this.noSuchMethod$1($receiver, H.createInvocationMirror("dartStackTrace=", "set$dartStackTrace", 2, [$0], [], 0)); + }, + set$areOwnPropsEqual: function($receiver, $0) { + return this.noSuchMethod$1($receiver, H.createInvocationMirror("areOwnPropsEqual=", "set$areOwnPropsEqual", 2, [$0], [], 0)); + }, + set$areStatePropsEqual: function($receiver, $0) { + return this.noSuchMethod$1($receiver, H.createInvocationMirror("areStatePropsEqual=", "set$areStatePropsEqual", 2, [$0], [], 0)); + }, + set$areMergedPropsEqual: function($receiver, $0) { + return this.noSuchMethod$1($receiver, H.createInvocationMirror("areMergedPropsEqual=", "set$areMergedPropsEqual", 2, [$0], [], 0)); + }, + set$componentFactory: function($0) { + return this.noSuchMethod$1(this, H.createInvocationMirror("componentFactory=", "set$componentFactory", 2, [$0], [], 0)); + }, + set$value: function($receiver, $0) { + return this.noSuchMethod$1($receiver, H.createInvocationMirror("value=", "set$value", 2, [$0], [], 0)); + } + }; + P._StringStackTrace.prototype = { + toString$0: function(_) { + return ""; + }, + $isStackTrace: 1 + }; + P.Runes.prototype = { + get$iterator: function(_) { + return new P.RuneIterator(this.string); + }, + get$last: function(_) { + var code, previousCode, + t1 = this.string, + t2 = t1.length; + if (t2 === 0) + throw H.wrapException(P.StateError$("No elements.")); + code = C.JSString_methods.codeUnitAt$1(t1, t2 - 1); + if ((code & 64512) === 56320 && t2 > 1) { + previousCode = C.JSString_methods.codeUnitAt$1(t1, t2 - 2); + if ((previousCode & 64512) === 55296) + return P._combineSurrogatePair(previousCode, code); + } + return code; + } + }; + P.RuneIterator.prototype = { + get$current: function(_) { + return this._currentCodePoint; + }, + moveNext$0: function() { + var codeUnit, nextPosition, nextCodeUnit, _this = this, + t1 = _this._core$_position = _this._nextPosition, + t2 = _this.string, + t3 = t2.length; + if (t1 === t3) { + _this._currentCodePoint = -1; + return false; + } + codeUnit = C.JSString_methods._codeUnitAt$1(t2, t1); + nextPosition = t1 + 1; + if ((codeUnit & 64512) === 55296 && nextPosition < t3) { + nextCodeUnit = C.JSString_methods._codeUnitAt$1(t2, nextPosition); + if ((nextCodeUnit & 64512) === 56320) { + _this._nextPosition = nextPosition + 1; + _this._currentCodePoint = P._combineSurrogatePair(codeUnit, nextCodeUnit); + return true; + } + } + _this._nextPosition = nextPosition; + _this._currentCodePoint = codeUnit; + return true; + }, + $isIterator: 1 + }; + P.StringBuffer.prototype = { + get$length: function(_) { + return this._contents.length; + }, + toString$0: function(_) { + var t1 = this._contents; + return t1.charCodeAt(0) == 0 ? t1 : t1; + }, + $isStringSink: 1 + }; + P.Uri__parseIPv4Address_error.prototype = { + call$2: function(msg, position) { + throw H.wrapException(P.FormatException$("Illegal IPv4 address, " + msg, this.host, position)); + }, + $signature: 268 + }; + P.Uri_parseIPv6Address_error.prototype = { + call$2: function(msg, position) { + throw H.wrapException(P.FormatException$("Illegal IPv6 address, " + msg, this.host, position)); + }, + call$1: function(msg) { + return this.call$2(msg, null); + }, + $signature: 269 + }; + P.Uri_parseIPv6Address_parseHex.prototype = { + call$2: function(start, end) { + var value; + if (end - start > 4) + this.error.call$2("an IPv6 part can only contain a maximum of 4 hex digits", start); + value = P.int_parse(C.JSString_methods.substring$2(this.host, start, end), 16); + if (value < 0 || value > 65535) + this.error.call$2("each part must be in the range of `0x0..0xFFFF`", start); + return value; + }, + $signature: 176 + }; + P._Uri.prototype = { + get$_text: function() { + var t2, t3, t4, _this = this, + t1 = _this.___Uri__text; + if (t1 === $) { + t1 = _this.scheme; + t2 = t1.length !== 0 ? t1 + ":" : ""; + t3 = _this._host; + t4 = t3 == null; + if (!t4 || t1 === "file") { + t1 = t2 + "//"; + t2 = _this._userInfo; + if (t2.length !== 0) + t1 = t1 + t2 + "@"; + if (!t4) + t1 += t3; + t2 = _this._port; + if (t2 != null) + t1 = t1 + ":" + H.S(t2); + } else + t1 = t2; + t1 += _this.path; + t2 = _this._query; + if (t2 != null) + t1 = t1 + "?" + t2; + t2 = _this._fragment; + if (t2 != null) + t1 = t1 + "#" + t2; + t1 = t1.charCodeAt(0) == 0 ? t1 : t1; + if (_this.___Uri__text === $) + _this.___Uri__text = t1; + else + t1 = H.throwExpression(H.LateError$fieldADI("_text")); + } + return t1; + }, + get$pathSegments: function() { + var pathToSplit, _this = this, + t1 = _this.___Uri_pathSegments; + if (t1 === $) { + pathToSplit = _this.path; + if (pathToSplit.length !== 0 && C.JSString_methods._codeUnitAt$1(pathToSplit, 0) === 47) + pathToSplit = C.JSString_methods.substring$1(pathToSplit, 1); + t1 = pathToSplit.length === 0 ? C.List_empty0 : P.List_List$unmodifiable(new H.MappedListIterable(H.setRuntimeTypeInfo(pathToSplit.split("/"), type$.JSArray_String), type$.dynamic_Function_String._as(P.core_Uri_decodeComponent$closure()), type$.MappedListIterable_String_dynamic), type$.String); + if (_this.___Uri_pathSegments === $) + _this.set$___Uri_pathSegments(t1); + else + t1 = H.throwExpression(H.LateError$fieldADI("pathSegments")); + } + return t1; + }, + get$hashCode: function(_) { + var _this = this, + t1 = _this.___Uri_hashCode; + if (t1 === $) { + t1 = J.get$hashCode$(_this.get$_text()); + if (_this.___Uri_hashCode === $) + _this.___Uri_hashCode = t1; + else + t1 = H.throwExpression(H.LateError$fieldADI("hashCode")); + } + return t1; + }, + get$userInfo: function() { + return this._userInfo; + }, + get$host: function(_) { + var host = this._host; + if (host == null) + return ""; + if (C.JSString_methods.startsWith$1(host, "[")) + return C.JSString_methods.substring$2(host, 1, host.length - 1); + return host; + }, + get$port: function(_) { + var t1 = this._port; + return t1 == null ? P._Uri__defaultPort(this.scheme) : t1; + }, + get$query: function(_) { + var t1 = this._query; + return t1 == null ? "" : t1; + }, + get$fragment: function() { + var t1 = this._fragment; + return t1 == null ? "" : t1; + }, + isScheme$1: function(scheme) { + var thisScheme = this.scheme; + if (scheme.length !== thisScheme.length) + return false; + return P._Uri__compareScheme(scheme, thisScheme); + }, + _mergePaths$2: function(base, reference) { + var backCount, refStart, baseEnd, newEnd, delta, t1; + for (backCount = 0, refStart = 0; C.JSString_methods.startsWith$2(reference, "../", refStart);) { + refStart += 3; + ++backCount; + } + baseEnd = C.JSString_methods.lastIndexOf$1(base, "/"); + while (true) { + if (!(baseEnd > 0 && backCount > 0)) + break; + newEnd = C.JSString_methods.lastIndexOf$2(base, "/", baseEnd - 1); + if (newEnd < 0) + break; + delta = baseEnd - newEnd; + t1 = delta !== 2; + if (!t1 || delta === 3) + if (C.JSString_methods.codeUnitAt$1(base, newEnd + 1) === 46) + t1 = !t1 || C.JSString_methods.codeUnitAt$1(base, newEnd + 2) === 46; + else + t1 = false; + else + t1 = false; + if (t1) + break; + --backCount; + baseEnd = newEnd; + } + return C.JSString_methods.replaceRange$3(base, baseEnd + 1, null, C.JSString_methods.substring$1(reference, refStart - 3 * backCount)); + }, + resolve$1: function(reference) { + return this.resolveUri$1(P.Uri_parse(reference)); + }, + resolveUri$1: function(reference) { + var targetScheme, targetUserInfo, targetHost, targetPort, targetPath, targetQuery, packageNameEnd, packageName, mergedPath, t1, _this = this, _null = null; + if (reference.get$scheme().length !== 0) { + targetScheme = reference.get$scheme(); + if (reference.get$hasAuthority()) { + targetUserInfo = reference.get$userInfo(); + targetHost = reference.get$host(reference); + targetPort = reference.get$hasPort() ? reference.get$port(reference) : _null; + } else { + targetPort = _null; + targetHost = targetPort; + targetUserInfo = ""; + } + targetPath = P._Uri__removeDotSegments(reference.get$path(reference)); + targetQuery = reference.get$hasQuery() ? reference.get$query(reference) : _null; + } else { + targetScheme = _this.scheme; + if (reference.get$hasAuthority()) { + targetUserInfo = reference.get$userInfo(); + targetHost = reference.get$host(reference); + targetPort = P._Uri__makePort(reference.get$hasPort() ? reference.get$port(reference) : _null, targetScheme); + targetPath = P._Uri__removeDotSegments(reference.get$path(reference)); + targetQuery = reference.get$hasQuery() ? reference.get$query(reference) : _null; + } else { + targetUserInfo = _this._userInfo; + targetHost = _this._host; + targetPort = _this._port; + targetPath = _this.path; + if (reference.get$path(reference) === "") + targetQuery = reference.get$hasQuery() ? reference.get$query(reference) : _this._query; + else { + packageNameEnd = P._Uri__packageNameEnd(_this, targetPath); + if (packageNameEnd > 0) { + packageName = C.JSString_methods.substring$2(targetPath, 0, packageNameEnd); + targetPath = reference.get$hasAbsolutePath() ? packageName + P._Uri__removeDotSegments(reference.get$path(reference)) : packageName + P._Uri__removeDotSegments(_this._mergePaths$2(C.JSString_methods.substring$1(targetPath, packageName.length), reference.get$path(reference))); + } else if (reference.get$hasAbsolutePath()) + targetPath = P._Uri__removeDotSegments(reference.get$path(reference)); + else if (targetPath.length === 0) + if (targetHost == null) + targetPath = targetScheme.length === 0 ? reference.get$path(reference) : P._Uri__removeDotSegments(reference.get$path(reference)); + else + targetPath = P._Uri__removeDotSegments("/" + reference.get$path(reference)); + else { + mergedPath = _this._mergePaths$2(targetPath, reference.get$path(reference)); + t1 = targetScheme.length === 0; + if (!t1 || targetHost != null || C.JSString_methods.startsWith$1(targetPath, "/")) + targetPath = P._Uri__removeDotSegments(mergedPath); + else + targetPath = P._Uri__normalizeRelativePath(mergedPath, !t1 || targetHost != null); + } + targetQuery = reference.get$hasQuery() ? reference.get$query(reference) : _null; + } + } + } + return P._Uri$_internal(targetScheme, targetUserInfo, targetHost, targetPort, targetPath, targetQuery, reference.get$hasFragment() ? reference.get$fragment() : _null); + }, + get$hasAuthority: function() { + return this._host != null; + }, + get$hasPort: function() { + return this._port != null; + }, + get$hasQuery: function() { + return this._query != null; + }, + get$hasFragment: function() { + return this._fragment != null; + }, + get$hasAbsolutePath: function() { + return C.JSString_methods.startsWith$1(this.path, "/"); + }, + toFilePath$0: function() { + var pathSegments, _this = this, + t1 = _this.scheme; + if (t1 !== "" && t1 !== "file") + throw H.wrapException(P.UnsupportedError$("Cannot extract a file path from a " + t1 + " URI")); + t1 = _this._query; + if ((t1 == null ? "" : t1) !== "") + throw H.wrapException(P.UnsupportedError$(string$.Cannotefq)); + t1 = _this._fragment; + if ((t1 == null ? "" : t1) !== "") + throw H.wrapException(P.UnsupportedError$(string$.Cannoteff)); + t1 = $.$get$_Uri__isWindowsCached(); + if (H.boolConversionCheck(t1)) + t1 = P._Uri__toWindowsFilePath(_this); + else { + if (_this._host != null && _this.get$host(_this) !== "") + H.throwExpression(P.UnsupportedError$(string$.Cannoten)); + pathSegments = _this.get$pathSegments(); + P._Uri__checkNonWindowsPathReservedCharacters(pathSegments, false); + t1 = P.StringBuffer__writeAll(C.JSString_methods.startsWith$1(_this.path, "/") ? "/" : "", pathSegments, "/"); + t1 = t1.charCodeAt(0) == 0 ? t1 : t1; + } + return t1; + }, + toString$0: function(_) { + return this.get$_text(); + }, + $eq: function(_, other) { + var t1, t2, _this = this; + if (other == null) + return false; + if (_this === other) + return true; + if (type$.Uri._is(other)) + if (_this.scheme === other.get$scheme()) + if (_this._host != null === other.get$hasAuthority()) + if (_this._userInfo === other.get$userInfo()) + if (_this.get$host(_this) === other.get$host(other)) + if (_this.get$port(_this) === other.get$port(other)) + if (_this.path === other.get$path(other)) { + t1 = _this._query; + t2 = t1 == null; + if (!t2 === other.get$hasQuery()) { + if (t2) + t1 = ""; + if (t1 === other.get$query(other)) { + t1 = _this._fragment; + t2 = t1 == null; + if (!t2 === other.get$hasFragment()) { + if (t2) + t1 = ""; + t1 = t1 === other.get$fragment(); + } else + t1 = false; + } else + t1 = false; + } else + t1 = false; + } else + t1 = false; + else + t1 = false; + else + t1 = false; + else + t1 = false; + else + t1 = false; + else + t1 = false; + else + t1 = false; + return t1; + }, + set$___Uri_pathSegments: function(___Uri_pathSegments) { + this.___Uri_pathSegments = type$.nullable_List_String._as(___Uri_pathSegments); + }, + $isUri: 1, + get$scheme: function() { + return this.scheme; + }, + get$path: function(receiver) { + return this.path; + } + }; + P.UriData.prototype = { + get$uri: function() { + var t2, queryIndex, end, query, _this = this, _null = null, + t1 = _this._uriCache; + if (t1 == null) { + t1 = _this._separatorIndices; + if (0 >= t1.length) + return H.ioore(t1, 0); + t2 = _this._text; + t1 = t1[0] + 1; + queryIndex = C.JSString_methods.indexOf$2(t2, "?", t1); + end = t2.length; + if (queryIndex >= 0) { + query = P._Uri__normalizeOrSubstring(t2, queryIndex + 1, end, C.List_CVk, false); + end = queryIndex; + } else + query = _null; + t1 = _this._uriCache = new P._DataUri("data", "", _null, _null, P._Uri__normalizeOrSubstring(t2, t1, end, C.List_qg4, false), query, _null); + } + return t1; + }, + toString$0: function(_) { + var t2, + t1 = this._separatorIndices; + if (0 >= t1.length) + return H.ioore(t1, 0); + t2 = this._text; + return t1[0] === -1 ? "data:" + t2 : t2; + } + }; + P._createTables_build.prototype = { + call$2: function(state, defaultTransition) { + var t1 = this.tables; + if (state >= t1.length) + return H.ioore(t1, state); + t1 = t1[state]; + C.NativeUint8List_methods.fillRange$3(t1, 0, 96, defaultTransition); + return t1; + }, + $signature: 270 + }; + P._createTables_setChars.prototype = { + call$3: function(target, chars, transition) { + var t1, i, t2; + for (t1 = chars.length, i = 0; i < t1; ++i) { + t2 = C.JSString_methods._codeUnitAt$1(chars, i) ^ 96; + if (t2 >= 96) + return H.ioore(target, t2); + target[t2] = transition; + } + }, + $signature: 167 + }; + P._createTables_setRange.prototype = { + call$3: function(target, range, transition) { + var i, n, t1; + for (i = C.JSString_methods._codeUnitAt$1(range, 0), n = C.JSString_methods._codeUnitAt$1(range, 1); i <= n; ++i) { + t1 = (i ^ 96) >>> 0; + if (t1 >= 96) + return H.ioore(target, t1); + target[t1] = transition; + } + }, + $signature: 167 + }; + P._SimpleUri.prototype = { + get$hasAuthority: function() { + return this._hostStart > 0; + }, + get$hasPort: function() { + return this._hostStart > 0 && this._portStart + 1 < this._pathStart; + }, + get$hasQuery: function() { + return this._queryStart < this._fragmentStart; + }, + get$hasFragment: function() { + return this._fragmentStart < this._core$_uri.length; + }, + get$hasAbsolutePath: function() { + return C.JSString_methods.startsWith$2(this._core$_uri, "/", this._pathStart); + }, + get$scheme: function() { + var t1 = this._schemeCache; + return t1 == null ? this._schemeCache = this._computeScheme$0() : t1; + }, + _computeScheme$0: function() { + var t2, _this = this, + t1 = _this._schemeEnd; + if (t1 <= 0) + return ""; + t2 = t1 === 4; + if (t2 && C.JSString_methods.startsWith$1(_this._core$_uri, "http")) + return "http"; + if (t1 === 5 && C.JSString_methods.startsWith$1(_this._core$_uri, "https")) + return "https"; + if (t2 && C.JSString_methods.startsWith$1(_this._core$_uri, "file")) + return "file"; + if (t1 === 7 && C.JSString_methods.startsWith$1(_this._core$_uri, "package")) + return "package"; + return C.JSString_methods.substring$2(_this._core$_uri, 0, t1); + }, + get$userInfo: function() { + var t1 = this._hostStart, + t2 = this._schemeEnd + 3; + return t1 > t2 ? C.JSString_methods.substring$2(this._core$_uri, t2, t1 - 1) : ""; + }, + get$host: function(_) { + var t1 = this._hostStart; + return t1 > 0 ? C.JSString_methods.substring$2(this._core$_uri, t1, this._portStart) : ""; + }, + get$port: function(_) { + var t1, _this = this; + if (_this.get$hasPort()) + return P.int_parse(C.JSString_methods.substring$2(_this._core$_uri, _this._portStart + 1, _this._pathStart), null); + t1 = _this._schemeEnd; + if (t1 === 4 && C.JSString_methods.startsWith$1(_this._core$_uri, "http")) + return 80; + if (t1 === 5 && C.JSString_methods.startsWith$1(_this._core$_uri, "https")) + return 443; + return 0; + }, + get$path: function(_) { + return C.JSString_methods.substring$2(this._core$_uri, this._pathStart, this._queryStart); + }, + get$query: function(_) { + var t1 = this._queryStart, + t2 = this._fragmentStart; + return t1 < t2 ? C.JSString_methods.substring$2(this._core$_uri, t1 + 1, t2) : ""; + }, + get$fragment: function() { + var t1 = this._fragmentStart, + t2 = this._core$_uri; + return t1 < t2.length ? C.JSString_methods.substring$1(t2, t1 + 1) : ""; + }, + get$pathSegments: function() { + var parts, i, + start = this._pathStart, + end = this._queryStart, + t1 = this._core$_uri; + if (C.JSString_methods.startsWith$2(t1, "/", start)) + ++start; + if (start === end) + return C.List_empty0; + parts = H.setRuntimeTypeInfo([], type$.JSArray_String); + for (i = start; i < end; ++i) + if (C.JSString_methods.codeUnitAt$1(t1, i) === 47) { + C.JSArray_methods.add$1(parts, C.JSString_methods.substring$2(t1, start, i)); + start = i + 1; + } + C.JSArray_methods.add$1(parts, C.JSString_methods.substring$2(t1, start, end)); + return P.List_List$unmodifiable(parts, type$.String); + }, + _isPort$1: function(port) { + var portDigitStart = this._portStart + 1; + return portDigitStart + port.length === this._pathStart && C.JSString_methods.startsWith$2(this._core$_uri, port, portDigitStart); + }, + removeFragment$0: function() { + var _this = this, + t1 = _this._fragmentStart, + t2 = _this._core$_uri; + if (t1 >= t2.length) + return _this; + return new P._SimpleUri(C.JSString_methods.substring$2(t2, 0, t1), _this._schemeEnd, _this._hostStart, _this._portStart, _this._pathStart, _this._queryStart, t1, _this._schemeCache); + }, + resolve$1: function(reference) { + return this.resolveUri$1(P.Uri_parse(reference)); + }, + resolveUri$1: function(reference) { + if (reference instanceof P._SimpleUri) + return this._simpleMerge$2(this, reference); + return this._toNonSimple$0().resolveUri$1(reference); + }, + _simpleMerge$2: function(base, ref) { + var t2, t3, t4, isSimple, delta, refStart, basePathStart, packageNameEnd, basePathStart0, baseStart, baseEnd, baseUri, baseStart0, backCount, refStart0, insert, + t1 = ref._schemeEnd; + if (t1 > 0) + return ref; + t2 = ref._hostStart; + if (t2 > 0) { + t3 = base._schemeEnd; + if (t3 <= 0) + return ref; + t4 = t3 === 4; + if (t4 && C.JSString_methods.startsWith$1(base._core$_uri, "file")) + isSimple = ref._pathStart !== ref._queryStart; + else if (t4 && C.JSString_methods.startsWith$1(base._core$_uri, "http")) + isSimple = !ref._isPort$1("80"); + else + isSimple = !(t3 === 5 && C.JSString_methods.startsWith$1(base._core$_uri, "https")) || !ref._isPort$1("443"); + if (isSimple) { + delta = t3 + 1; + return new P._SimpleUri(C.JSString_methods.substring$2(base._core$_uri, 0, delta) + C.JSString_methods.substring$1(ref._core$_uri, t1 + 1), t3, t2 + delta, ref._portStart + delta, ref._pathStart + delta, ref._queryStart + delta, ref._fragmentStart + delta, base._schemeCache); + } else + return this._toNonSimple$0().resolveUri$1(ref); + } + refStart = ref._pathStart; + t1 = ref._queryStart; + if (refStart === t1) { + t2 = ref._fragmentStart; + if (t1 < t2) { + t3 = base._queryStart; + delta = t3 - t1; + return new P._SimpleUri(C.JSString_methods.substring$2(base._core$_uri, 0, t3) + C.JSString_methods.substring$1(ref._core$_uri, t1), base._schemeEnd, base._hostStart, base._portStart, base._pathStart, t1 + delta, t2 + delta, base._schemeCache); + } + t1 = ref._core$_uri; + if (t2 < t1.length) { + t3 = base._fragmentStart; + return new P._SimpleUri(C.JSString_methods.substring$2(base._core$_uri, 0, t3) + C.JSString_methods.substring$1(t1, t2), base._schemeEnd, base._hostStart, base._portStart, base._pathStart, base._queryStart, t2 + (t3 - t2), base._schemeCache); + } + return base.removeFragment$0(); + } + t2 = ref._core$_uri; + if (C.JSString_methods.startsWith$2(t2, "/", refStart)) { + basePathStart = base._pathStart; + packageNameEnd = P._SimpleUri__packageNameEnd(this); + basePathStart0 = packageNameEnd > 0 ? packageNameEnd : basePathStart; + delta = basePathStart0 - refStart; + return new P._SimpleUri(C.JSString_methods.substring$2(base._core$_uri, 0, basePathStart0) + C.JSString_methods.substring$1(t2, refStart), base._schemeEnd, base._hostStart, base._portStart, basePathStart, t1 + delta, ref._fragmentStart + delta, base._schemeCache); + } + baseStart = base._pathStart; + baseEnd = base._queryStart; + if (baseStart === baseEnd && base._hostStart > 0) { + for (; C.JSString_methods.startsWith$2(t2, "../", refStart);) + refStart += 3; + delta = baseStart - refStart + 1; + return new P._SimpleUri(C.JSString_methods.substring$2(base._core$_uri, 0, baseStart) + "/" + C.JSString_methods.substring$1(t2, refStart), base._schemeEnd, base._hostStart, base._portStart, baseStart, t1 + delta, ref._fragmentStart + delta, base._schemeCache); + } + baseUri = base._core$_uri; + packageNameEnd = P._SimpleUri__packageNameEnd(this); + if (packageNameEnd >= 0) + baseStart0 = packageNameEnd; + else + for (baseStart0 = baseStart; C.JSString_methods.startsWith$2(baseUri, "../", baseStart0);) + baseStart0 += 3; + backCount = 0; + while (true) { + refStart0 = refStart + 3; + if (!(refStart0 <= t1 && C.JSString_methods.startsWith$2(t2, "../", refStart))) + break; + ++backCount; + refStart = refStart0; + } + for (insert = ""; baseEnd > baseStart0;) { + --baseEnd; + if (C.JSString_methods.codeUnitAt$1(baseUri, baseEnd) === 47) { + if (backCount === 0) { + insert = "/"; + break; + } + --backCount; + insert = "/"; + } + } + if (baseEnd === baseStart0 && base._schemeEnd <= 0 && !C.JSString_methods.startsWith$2(baseUri, "/", baseStart)) { + refStart -= backCount * 3; + insert = ""; + } + delta = baseEnd - refStart + insert.length; + return new P._SimpleUri(C.JSString_methods.substring$2(baseUri, 0, baseEnd) + insert + C.JSString_methods.substring$1(t2, refStart), base._schemeEnd, base._hostStart, base._portStart, baseStart, t1 + delta, ref._fragmentStart + delta, base._schemeCache); + }, + toFilePath$0: function() { + var t2, t3, _this = this, + t1 = _this._schemeEnd; + if (t1 >= 0) { + t2 = !(t1 === 4 && C.JSString_methods.startsWith$1(_this._core$_uri, "file")); + t1 = t2; + } else + t1 = false; + if (t1) + throw H.wrapException(P.UnsupportedError$("Cannot extract a file path from a " + _this.get$scheme() + " URI")); + t1 = _this._queryStart; + t2 = _this._core$_uri; + if (t1 < t2.length) { + if (t1 < _this._fragmentStart) + throw H.wrapException(P.UnsupportedError$(string$.Cannotefq)); + throw H.wrapException(P.UnsupportedError$(string$.Cannoteff)); + } + t3 = $.$get$_Uri__isWindowsCached(); + if (H.boolConversionCheck(t3)) + t1 = P._Uri__toWindowsFilePath(_this); + else { + if (_this._hostStart < _this._portStart) + H.throwExpression(P.UnsupportedError$(string$.Cannoten)); + t1 = C.JSString_methods.substring$2(t2, _this._pathStart, t1); + } + return t1; + }, + get$hashCode: function(_) { + var t1 = this._hashCodeCache; + return t1 == null ? this._hashCodeCache = C.JSString_methods.get$hashCode(this._core$_uri) : t1; + }, + $eq: function(_, other) { + if (other == null) + return false; + if (this === other) + return true; + return type$.Uri._is(other) && this._core$_uri === other.toString$0(0); + }, + _toNonSimple$0: function() { + var _this = this, _null = null, + t1 = _this.get$scheme(), + t2 = _this.get$userInfo(), + t3 = _this._hostStart > 0 ? _this.get$host(_this) : _null, + t4 = _this.get$hasPort() ? _this.get$port(_this) : _null, + t5 = _this._core$_uri, + t6 = _this._queryStart, + t7 = C.JSString_methods.substring$2(t5, _this._pathStart, t6), + t8 = _this._fragmentStart; + t6 = t6 < t8 ? _this.get$query(_this) : _null; + return P._Uri$_internal(t1, t2, t3, t4, t7, t6, t8 < t5.length ? _this.get$fragment() : _null); + }, + toString$0: function(_) { + return this._core$_uri; + }, + $isUri: 1 + }; + P._DataUri.prototype = {}; + W.HtmlElement.prototype = {}; + W.AccessibleNode.prototype = { + get$checked: function(receiver) { + return receiver.checked; + } + }; + W.AccessibleNodeList.prototype = { + get$length: function(receiver) { + return receiver.length; + } + }; + W.AnchorElement.prototype = { + set$download: function(receiver, value) { + receiver.download = value; + }, + get$target: function(receiver) { + return receiver.target; + }, + set$href: function(receiver, value) { + receiver.href = value; + }, + toString$0: function(receiver) { + return String(receiver); + }, + $isAnchorElement: 1 + }; + W.ApplicationCacheErrorEvent.prototype = { + get$message: function(receiver) { + return receiver.message; + } + }; + W.AreaElement.prototype = { + get$target: function(receiver) { + return receiver.target; + }, + toString$0: function(receiver) { + return String(receiver); + } + }; + W.BaseElement.prototype = { + get$target: function(receiver) { + return receiver.target; + }, + $isBaseElement: 1 + }; + W.BeforeUnloadEvent.prototype = { + set$returnValue: function(receiver, value) { + receiver.returnValue = value; + }, + $isBeforeUnloadEvent: 1 + }; + W.Blob.prototype = {$isBlob: 1}; + W.BluetoothRemoteGattDescriptor.prototype = { + get$value: function(receiver) { + return receiver.value; + } + }; + W.BodyElement.prototype = {$isBodyElement: 1}; + W.ButtonElement.prototype = { + get$value: function(receiver) { + return receiver.value; + }, + set$value: function(receiver, value) { + receiver.value = value; + }, + $isButtonElement: 1 + }; + W.CacheStorage.prototype = { + keys$0: function(receiver) { + return P.promiseToFuture(receiver.keys(), type$.dynamic); + } + }; + W.CanvasElement.prototype = { + set$height: function(receiver, value) { + receiver.height = value; + }, + set$width: function(receiver, value) { + receiver.width = value; + }, + getContext$1: function(receiver, contextId) { + return receiver.getContext(contextId); + }, + _toDataUrl$2: function(receiver, type, arguments_OR_quality) { + return receiver.toDataURL(type, arguments_OR_quality); + }, + _toBlob$3: function(receiver, callback, type, $arguments) { + return receiver.toBlob(H.convertDartClosureToJS(type$.void_Function_nullable_Blob._as(callback), 1), type, $arguments); + }, + toBlob$1: function(receiver, type) { + var t1 = new P._Future($.Zone__current, type$._Future_Blob); + this._toBlob$3(receiver, new W.CanvasElement_toBlob_closure(new P._AsyncCompleter(t1, type$._AsyncCompleter_Blob)), type, null); + return t1; + }, + $isCanvasElement: 1, + $isCanvasImageSource: 1 + }; + W.CanvasElement_toBlob_closure.prototype = { + call$1: function(value) { + this.completer.complete$1(0, type$.nullable_Blob._as(value)); + }, + $signature: 281 + }; + W.CanvasRenderingContext2D.prototype = { + drawImage$3: function(receiver, source, destX, destY) { + return receiver.drawImage(source, destX, destY); + }, + $isCanvasRenderingContext2D: 1 + }; + W.CharacterData.prototype = { + get$length: function(receiver) { + return receiver.length; + } + }; + W.CssKeywordValue.prototype = { + get$value: function(receiver) { + return receiver.value; + }, + set$value: function(receiver, value) { + receiver.value = value; + } + }; + W.CssNumericValue.prototype = { + add$1: function(receiver, value) { + return receiver.add(type$.CssNumericValue._as(value)); + }, + $isCssNumericValue: 1 + }; + W.CssPerspective.prototype = { + get$length: function(receiver) { + return receiver.length; + } + }; + W.CssRule.prototype = {$isCssRule: 1}; + W.CssStyleDeclaration.prototype = { + _browserPropertyName$1: function(receiver, propertyName) { + var t1 = $.$get$CssStyleDeclaration__propertyCache(), + $name = t1[propertyName]; + if (typeof $name == "string") + return $name; + $name = this._supportedBrowserPropertyName$1(receiver, propertyName); + t1[propertyName] = $name; + return $name; + }, + _supportedBrowserPropertyName$1: function(receiver, propertyName) { + var prefixed; + if (propertyName.replace(/^-ms-/, "ms-").replace(/-([\da-z])/ig, function(_, letter) { + return letter.toUpperCase(); + }) in receiver) + return propertyName; + prefixed = $.$get$Device_cssPrefix() + H.S(propertyName); + if (prefixed in receiver) + return prefixed; + return propertyName; + }, + _setPropertyHelper$3: function(receiver, propertyName, value, priority) { + if (value == null) + value = ""; + if (priority == null) + priority = ""; + receiver.setProperty(propertyName, value, priority); + }, + set$cssText: function(receiver, value) { + receiver.cssText = value; + }, + get$length: function(receiver) { + return receiver.length; + } + }; + W.CssStyleDeclarationBase.prototype = {}; + W.CssStyleRule.prototype = {$isCssStyleRule: 1}; + W.CssStyleSheet.prototype = { + removeRule$1: function(receiver, index) { + return receiver.removeRule(index); + }, + $isCssStyleSheet: 1 + }; + W.CssStyleValue.prototype = {}; + W.CssTransformComponent.prototype = {}; + W.CssTransformValue.prototype = { + get$length: function(receiver) { + return receiver.length; + } + }; + W.CssUnitValue.prototype = { + get$value: function(receiver) { + return receiver.value; + }, + set$value: function(receiver, value) { + receiver.value = value; + } + }; + W.CssUnparsedValue.prototype = { + get$length: function(receiver) { + return receiver.length; + } + }; + W.DataElement.prototype = { + get$value: function(receiver) { + return receiver.value; + }, + set$value: function(receiver, value) { + receiver.value = value; + } + }; + W.DataTransfer.prototype = { + set$dropEffect: function(receiver, value) { + receiver.dropEffect = value; + } + }; + W.DataTransferItemList.prototype = { + get$length: function(receiver) { + return receiver.length; + }, + add$1: function(receiver, data_OR_file) { + return receiver.add(data_OR_file); + }, + $index: function(receiver, index) { + return receiver[H._asIntS(index)]; + } + }; + W.DeprecationReport.prototype = { + get$message: function(receiver) { + return receiver.message; + } + }; + W.DivElement.prototype = {$isDivElement: 1}; + W.Document.prototype = { + createElementNS$2: function(receiver, namespaceURI, qualifiedName) { + var t1 = receiver.createElementNS(namespaceURI, qualifiedName); + return t1; + }, + $isDocument: 1 + }; + W.DomError.prototype = { + get$message: function(receiver) { + return receiver.message; + } + }; + W.DomException.prototype = { + get$message: function(receiver) { + return receiver.message; + }, + toString$0: function(receiver) { + return String(receiver); + }, + $isDomException: 1 + }; + W.DomImplementation.prototype = { + createHtmlDocument$1: function(receiver, title) { + return receiver.createHTMLDocument(title); + } + }; + W.DomPoint.prototype = {}; + W.DomPointReadOnly.prototype = { + matrixTransform$1: function(receiver, matrix) { + var t1 = receiver.matrixTransform(P.convertDartToNative_Dictionary(matrix)); + return t1; + } + }; + W.DomRectList.prototype = { + get$length: function(receiver) { + return receiver.length; + }, + $index: function(receiver, index) { + H._asIntS(index); + if (index >>> 0 !== index || index >= receiver.length) + throw H.wrapException(P.IndexError$(index, receiver, null, null, null)); + return receiver[index]; + }, + $indexSet: function(receiver, index, value) { + H._asIntS(index); + type$.Rectangle_num._as(value); + throw H.wrapException(P.UnsupportedError$("Cannot assign element of immutable List.")); + }, + set$length: function(receiver, value) { + throw H.wrapException(P.UnsupportedError$("Cannot resize immutable List.")); + }, + get$first: function(receiver) { + if (receiver.length > 0) + return receiver[0]; + throw H.wrapException(P.StateError$("No elements")); + }, + get$last: function(receiver) { + var len = receiver.length; + if (len > 0) + return receiver[len - 1]; + throw H.wrapException(P.StateError$("No elements")); + }, + get$single: function(receiver) { + var len = receiver.length; + if (len === 1) + return receiver[0]; + if (len === 0) + throw H.wrapException(P.StateError$("No elements")); + throw H.wrapException(P.StateError$("More than one element")); + }, + elementAt$1: function(receiver, index) { + return this.$index(receiver, index); + }, + $isJSIndexable: 1, + $isEfficientLengthIterable: 1, + $isJavaScriptIndexingBehavior: 1, + $isIterable: 1, + $isList: 1 + }; + W.DomRectReadOnly.prototype = { + toString$0: function(receiver) { + var t2, + t1 = receiver.left; + t1.toString; + t1 = "Rectangle (" + H.S(t1) + ", "; + t2 = receiver.top; + t2.toString; + return t1 + H.S(t2) + ") " + H.S(this.get$width(receiver)) + " x " + H.S(this.get$height(receiver)); + }, + $eq: function(receiver, other) { + var t1, t2; + if (other == null) + return false; + if (type$.Rectangle_num._is(other)) { + t1 = receiver.left; + t1.toString; + t2 = J.getInterceptor$x(other); + if (t1 === t2.get$left(other)) { + t1 = receiver.top; + t1.toString; + t1 = t1 === t2.get$top(other) && this.get$width(receiver) == t2.get$width(other) && this.get$height(receiver) == t2.get$height(other); + } else + t1 = false; + } else + t1 = false; + return t1; + }, + get$hashCode: function(receiver) { + var t2, + t1 = receiver.left; + t1.toString; + t1 = C.JSNumber_methods.get$hashCode(t1); + t2 = receiver.top; + t2.toString; + return W._JenkinsSmiHash_hash4(t1, C.JSNumber_methods.get$hashCode(t2), J.get$hashCode$(this.get$width(receiver)), J.get$hashCode$(this.get$height(receiver))); + }, + get$bottom: function(receiver) { + var t1 = receiver.bottom; + t1.toString; + return t1; + }, + get$_height: function(receiver) { + return receiver.height; + }, + get$height: function(receiver) { + var t1 = this.get$_height(receiver); + t1.toString; + return t1; + }, + get$left: function(receiver) { + var t1 = receiver.left; + t1.toString; + return t1; + }, + get$right: function(receiver) { + var t1 = receiver.right; + t1.toString; + return t1; + }, + get$top: function(receiver) { + var t1 = receiver.top; + t1.toString; + return t1; + }, + get$_width: function(receiver) { + return receiver.width; + }, + get$width: function(receiver) { + var t1 = this.get$_width(receiver); + t1.toString; + return t1; + }, + $isRectangle: 1 + }; + W.DomStringList.prototype = { + get$length: function(receiver) { + return receiver.length; + }, + $index: function(receiver, index) { + H._asIntS(index); + if (index >>> 0 !== index || index >= receiver.length) + throw H.wrapException(P.IndexError$(index, receiver, null, null, null)); + return receiver[index]; + }, + $indexSet: function(receiver, index, value) { + H._asIntS(index); + H._asStringS(value); + throw H.wrapException(P.UnsupportedError$("Cannot assign element of immutable List.")); + }, + set$length: function(receiver, value) { + throw H.wrapException(P.UnsupportedError$("Cannot resize immutable List.")); + }, + get$first: function(receiver) { + if (receiver.length > 0) + return receiver[0]; + throw H.wrapException(P.StateError$("No elements")); + }, + get$last: function(receiver) { + var len = receiver.length; + if (len > 0) + return receiver[len - 1]; + throw H.wrapException(P.StateError$("No elements")); + }, + get$single: function(receiver) { + var len = receiver.length; + if (len === 1) + return receiver[0]; + if (len === 0) + throw H.wrapException(P.StateError$("No elements")); + throw H.wrapException(P.StateError$("More than one element")); + }, + elementAt$1: function(receiver, index) { + return this.$index(receiver, index); + }, + $isJSIndexable: 1, + $isEfficientLengthIterable: 1, + $isJavaScriptIndexingBehavior: 1, + $isIterable: 1, + $isList: 1 + }; + W.DomTokenList.prototype = { + get$length: function(receiver) { + return receiver.length; + }, + get$value: function(receiver) { + return receiver.value; + }, + set$value: function(receiver, value) { + receiver.value = value; + }, + add$1: function(receiver, tokens) { + return receiver.add(H._asStringS(tokens)); + } + }; + W._FrozenElementList.prototype = { + get$length: function(_) { + return this._nodeList.length; + }, + $index: function(_, index) { + return this.$ti._precomputed1._as(C.NodeList_methods.$index(this._nodeList, H._asIntS(index))); + }, + $indexSet: function(_, index, value) { + H._asIntS(index); + this.$ti._precomputed1._as(value); + throw H.wrapException(P.UnsupportedError$("Cannot modify list")); + }, + set$length: function(_, newLength) { + throw H.wrapException(P.UnsupportedError$("Cannot modify list")); + }, + sort$1: function(_, compare) { + this.$ti._eval$1("int(1,1)?")._as(compare); + throw H.wrapException(P.UnsupportedError$("Cannot sort list")); + }, + sort$0: function($receiver) { + return this.sort$1($receiver, null); + }, + get$first: function(_) { + return this.$ti._precomputed1._as(C.NodeList_methods.get$first(this._nodeList)); + }, + get$last: function(_) { + return this.$ti._precomputed1._as(C.NodeList_methods.get$last(this._nodeList)); + }, + get$single: function(_) { + return this.$ti._precomputed1._as(C.NodeList_methods.get$single(this._nodeList)); + } + }; + W.Element.prototype = { + get$attributes: function(receiver) { + return new W._ElementAttributeMap(receiver); + }, + set$attributes: function(receiver, value) { + var t1, t2, t3; + type$.Map_String_String._as(value); + new W._ElementAttributeMap(receiver).clear$0(0); + for (t1 = value.get$keys(value), t1 = t1.get$iterator(t1); t1.moveNext$0();) { + t2 = t1.get$current(t1); + t3 = value.$index(0, t2); + t3.toString; + receiver.setAttribute(t2, t3); + } + }, + get$classes: function(receiver) { + return new W._ElementCssClassSet(receiver); + }, + get$offset: function(receiver) { + return P.Rectangle$(C.JSNumber_methods.round$0(receiver.offsetLeft), C.JSNumber_methods.round$0(receiver.offsetTop), C.JSNumber_methods.round$0(receiver.offsetWidth), C.JSNumber_methods.round$0(receiver.offsetHeight), type$.num); + }, + toString$0: function(receiver) { + return receiver.localName; + }, + matches$1: function(receiver, selectors) { + if (!!receiver.matches) + return receiver.matches(selectors); + else if (!!receiver.webkitMatchesSelector) + return receiver.webkitMatchesSelector(selectors); + else if (!!receiver.mozMatchesSelector) + return receiver.mozMatchesSelector(selectors); + else if (!!receiver.msMatchesSelector) + return receiver.msMatchesSelector(selectors); + else if (!!receiver.oMatchesSelector) + return receiver.oMatchesSelector(selectors); + else + throw H.wrapException(P.UnsupportedError$("Not supported on this platform")); + }, + matchesWithAncestors$1: function(receiver, selectors) { + var elem = receiver; + do { + if (J.matches$1$x(elem, selectors)) + return true; + elem = elem.parentElement; + } while (elem != null); + return false; + }, + createFragment$3$treeSanitizer$validator: function(receiver, html, treeSanitizer, validator) { + var t1, t2, contextElement, fragment; + if (treeSanitizer == null) { + t1 = $.Element__defaultValidator; + if (t1 == null) { + t1 = H.setRuntimeTypeInfo([], type$.JSArray_NodeValidator); + t2 = new W.NodeValidatorBuilder(t1); + C.JSArray_methods.add$1(t1, W._Html5NodeValidator$(null)); + C.JSArray_methods.add$1(t1, W._TemplatingNodeValidator$()); + $.Element__defaultValidator = t2; + validator = t2; + } else + validator = t1; + t1 = $.Element__defaultSanitizer; + if (t1 == null) { + t1 = new W._ValidatingTreeSanitizer(validator); + $.Element__defaultSanitizer = t1; + treeSanitizer = t1; + } else { + t1.validator = validator; + treeSanitizer = t1; + } + } + if ($.Element__parseDocument == null) { + t1 = document; + t2 = t1.implementation; + t2.toString; + t2 = C.DomImplementation_methods.createHtmlDocument$1(t2, ""); + $.Element__parseDocument = t2; + $.Element__parseRange = t2.createRange(); + t2 = $.Element__parseDocument.createElement("base"); + type$.BaseElement._as(t2); + t1 = t1.baseURI; + t1.toString; + t2.href = t1; + $.Element__parseDocument.head.appendChild(t2); + } + t1 = $.Element__parseDocument; + if (t1.body == null) { + t2 = t1.createElement("body"); + C.HtmlDocument_methods.set$body(t1, type$.BodyElement._as(t2)); + } + t1 = $.Element__parseDocument; + if (type$.BodyElement._is(receiver)) { + t1 = t1.body; + t1.toString; + contextElement = t1; + } else { + t1.toString; + contextElement = t1.createElement(receiver.tagName); + $.Element__parseDocument.body.appendChild(contextElement); + } + if ("createContextualFragment" in window.Range.prototype && !C.JSArray_methods.contains$1(C.List_ego, receiver.tagName)) { + $.Element__parseRange.selectNodeContents(contextElement); + t1 = $.Element__parseRange; + fragment = t1.createContextualFragment(html); + } else { + J.set$_innerHtml$x(contextElement, html); + fragment = $.Element__parseDocument.createDocumentFragment(); + for (; t1 = contextElement.firstChild, t1 != null;) + fragment.appendChild(t1); + } + if (contextElement !== $.Element__parseDocument.body) + J.remove$0$ax(contextElement); + treeSanitizer.sanitizeTree$1(fragment); + document.adoptNode(fragment); + return fragment; + }, + get$innerHtml: function(receiver) { + return receiver.innerHTML; + }, + click$0: function(receiver) { + return receiver.click(); + }, + set$_innerHtml: function(receiver, value) { + receiver.innerHTML = value; + }, + get$tagName: function(receiver) { + return receiver.tagName; + }, + getBoundingClientRect$0: function(receiver) { + return receiver.getBoundingClientRect(); + }, + get$onClick: function(receiver) { + return new W._ElementEventStreamImpl(receiver, "click", false, type$._ElementEventStreamImpl_legacy_MouseEvent); + }, + get$onMouseDown: function(receiver) { + return new W._ElementEventStreamImpl(receiver, "mousedown", false, type$._ElementEventStreamImpl_legacy_MouseEvent); + }, + get$onTouchStart: function(receiver) { + return new W._ElementEventStreamImpl(receiver, "touchstart", false, type$._ElementEventStreamImpl_legacy_TouchEvent); + }, + $isElement: 1 + }; + W.Element_Element$html_closure.prototype = { + call$1: function(e) { + return type$.Element._is(type$.Node._as(e)); + }, + $signature: 165 + }; + W.Entry.prototype = { + _html$_remove$2: function(receiver, successCallback, errorCallback) { + type$.void_Function._as(successCallback); + type$.nullable_void_Function_DomException._as(errorCallback); + return receiver.remove(H.convertDartClosureToJS(successCallback, 0), H.convertDartClosureToJS(errorCallback, 1)); + }, + remove$0: function(receiver) { + var t1 = new P._Future($.Zone__current, type$._Future_dynamic), + completer = new P._AsyncCompleter(t1, type$._AsyncCompleter_dynamic); + this._html$_remove$2(receiver, new W.Entry_remove_closure(completer), new W.Entry_remove_closure0(completer)); + return t1; + } + }; + W.Entry_remove_closure.prototype = { + call$0: function() { + this.completer.complete$0(0); + }, + "call*": "call$0", + $requiredArgCount: 0, + $signature: 0 + }; + W.Entry_remove_closure0.prototype = { + call$1: function(error) { + this.completer.completeError$1(type$.DomException._as(error)); + }, + $signature: 289 + }; + W.ErrorEvent.prototype = { + get$message: function(receiver) { + return receiver.message; + } + }; + W.Event.prototype = { + get$currentTarget: function(receiver) { + return W._convertNativeToDart_EventTarget(receiver.currentTarget); + }, + get$target: function(receiver) { + return W._convertNativeToDart_EventTarget(receiver.target); + }, + _initEvent$3: function(receiver, type, bubbles, cancelable) { + return receiver.initEvent(type, true, true); + }, + preventDefault$0: function(receiver) { + return receiver.preventDefault(); + }, + stopPropagation$0: function(receiver) { + return receiver.stopPropagation(); + }, + $isEvent: 1 + }; + W.Events.prototype = { + $index: function(_, type) { + return new W._EventStream(this._ptr, H._asStringS(type), false, type$._EventStream_Event); + } + }; + W.ElementEvents.prototype = { + $index: function(_, type) { + H._asStringS(type); + if ($.ElementEvents_webkitEvents.get$keys($.ElementEvents_webkitEvents).contains$1(0, type.toLowerCase())) + if ($.$get$Device_isWebKit()) + return new W._ElementEventStreamImpl(this._ptr, $.ElementEvents_webkitEvents.$index(0, type.toLowerCase()), false, type$._ElementEventStreamImpl_Event); + return new W._ElementEventStreamImpl(this._ptr, type, false, type$._ElementEventStreamImpl_Event); + } + }; + W.EventTarget.prototype = { + addEventListener$3: function(receiver, type, listener, useCapture) { + type$.nullable_dynamic_Function_Event._as(listener); + if (listener != null) + this._addEventListener$3(receiver, type, listener, useCapture); + }, + addEventListener$2: function($receiver, type, listener) { + return this.addEventListener$3($receiver, type, listener, null); + }, + removeEventListener$3: function(receiver, type, listener, useCapture) { + type$.nullable_dynamic_Function_Event._as(listener); + if (listener != null) + this._removeEventListener$3(receiver, type, listener, useCapture); + }, + removeEventListener$2: function($receiver, type, listener) { + return this.removeEventListener$3($receiver, type, listener, null); + }, + _addEventListener$3: function(receiver, type, listener, options) { + return receiver.addEventListener(type, H.convertDartClosureToJS(type$.nullable_dynamic_Function_Event._as(listener), 1), options); + }, + _removeEventListener$3: function(receiver, type, listener, options) { + return receiver.removeEventListener(type, H.convertDartClosureToJS(type$.nullable_dynamic_Function_Event._as(listener), 1), options); + }, + $isEventTarget: 1 + }; + W.File.prototype = {$isFile: 1}; + W.FileList.prototype = { + get$length: function(receiver) { + return receiver.length; + }, + $index: function(receiver, index) { + H._asIntS(index); + if (index >>> 0 !== index || index >= receiver.length) + throw H.wrapException(P.IndexError$(index, receiver, null, null, null)); + return receiver[index]; + }, + $indexSet: function(receiver, index, value) { + H._asIntS(index); + type$.File._as(value); + throw H.wrapException(P.UnsupportedError$("Cannot assign element of immutable List.")); + }, + set$length: function(receiver, value) { + throw H.wrapException(P.UnsupportedError$("Cannot resize immutable List.")); + }, + get$first: function(receiver) { + if (receiver.length > 0) + return receiver[0]; + throw H.wrapException(P.StateError$("No elements")); + }, + get$last: function(receiver) { + var len = receiver.length; + if (len > 0) + return receiver[len - 1]; + throw H.wrapException(P.StateError$("No elements")); + }, + get$single: function(receiver) { + var len = receiver.length; + if (len === 1) + return receiver[0]; + if (len === 0) + throw H.wrapException(P.StateError$("No elements")); + throw H.wrapException(P.StateError$("More than one element")); + }, + elementAt$1: function(receiver, index) { + return this.$index(receiver, index); + }, + $isJSIndexable: 1, + $isEfficientLengthIterable: 1, + $isJavaScriptIndexingBehavior: 1, + $isIterable: 1, + $isList: 1, + $isFileList: 1 + }; + W.FileReader.prototype = { + get$result: function(receiver) { + var res = receiver.result; + if (type$.ByteBuffer._is(res)) + return C.NativeByteBuffer_methods.asUint8List$2(res, 0, null); + return res; + }, + $isFileReader: 1 + }; + W.FileWriter.prototype = { + get$length: function(receiver) { + return receiver.length; + } + }; + W.FontFace.prototype = {$isFontFace: 1}; + W.FontFaceSet.prototype = { + add$1: function(receiver, arg) { + return receiver.add(type$.FontFace._as(arg)); + } + }; + W.FormElement.prototype = { + get$length: function(receiver) { + return receiver.length; + }, + get$target: function(receiver) { + return receiver.target; + } + }; + W.Gamepad.prototype = {$isGamepad: 1}; + W.GamepadButton.prototype = { + get$value: function(receiver) { + return receiver.value; + } + }; + W.History.prototype = { + get$length: function(receiver) { + return receiver.length; + } + }; + W.HtmlCollection.prototype = { + get$length: function(receiver) { + return receiver.length; + }, + $index: function(receiver, index) { + H._asIntS(index); + if (index >>> 0 !== index || index >= receiver.length) + throw H.wrapException(P.IndexError$(index, receiver, null, null, null)); + return receiver[index]; + }, + $indexSet: function(receiver, index, value) { + H._asIntS(index); + type$.Node._as(value); + throw H.wrapException(P.UnsupportedError$("Cannot assign element of immutable List.")); + }, + set$length: function(receiver, value) { + throw H.wrapException(P.UnsupportedError$("Cannot resize immutable List.")); + }, + get$first: function(receiver) { + if (receiver.length > 0) + return receiver[0]; + throw H.wrapException(P.StateError$("No elements")); + }, + get$last: function(receiver) { + var len = receiver.length; + if (len > 0) + return receiver[len - 1]; + throw H.wrapException(P.StateError$("No elements")); + }, + get$single: function(receiver) { + var len = receiver.length; + if (len === 1) + return receiver[0]; + if (len === 0) + throw H.wrapException(P.StateError$("No elements")); + throw H.wrapException(P.StateError$("More than one element")); + }, + elementAt$1: function(receiver, index) { + return this.$index(receiver, index); + }, + $isJSIndexable: 1, + $isEfficientLengthIterable: 1, + $isJavaScriptIndexingBehavior: 1, + $isIterable: 1, + $isList: 1, + $isHtmlCollection: 1 + }; + W.HtmlDocument.prototype = { + set$body: function(receiver, value) { + receiver.body = value; + } + }; + W.HttpRequest.prototype = { + get$responseHeaders: function(receiver) { + var headersList, _i, header, t2, splitIdx, key, value, + t1 = type$.String, + headers = P.LinkedHashMap_LinkedHashMap$_empty(t1, t1), + headersString = receiver.getAllResponseHeaders(); + if (headersString == null) + return headers; + headersList = headersString.split("\r\n"); + for (t1 = headersList.length, _i = 0; _i < t1; ++_i) { + header = headersList[_i]; + header.toString; + t2 = J.getInterceptor$asx(header); + if (t2.get$length(header) === 0) + continue; + splitIdx = t2.indexOf$1(header, ": "); + if (splitIdx === -1) + continue; + key = t2.substring$2(header, 0, splitIdx).toLowerCase(); + value = t2.substring$1(header, splitIdx + 2); + if (headers.containsKey$1(0, key)) + headers.$indexSet(0, key, H.S(headers.$index(0, key)) + ", " + value); + else + headers.$indexSet(0, key, value); + } + return headers; + }, + open$3$async: function(receiver, method, url, async) { + return receiver.open(method, url, true); + }, + set$withCredentials: function(receiver, value) { + receiver.withCredentials = false; + }, + send$1: function(receiver, body_OR_data) { + return receiver.send(body_OR_data); + }, + setRequestHeader$2: function(receiver, $name, value) { + return receiver.setRequestHeader(H._asStringS($name), H._asStringS(value)); + }, + $isHttpRequest: 1 + }; + W.HttpRequest_getString_closure.prototype = { + call$1: function(xhr) { + var t1 = type$.HttpRequest._as(xhr).responseText; + t1.toString; + return t1; + }, + $signature: 294 + }; + W.HttpRequest_request_closure.prototype = { + call$1: function(e) { + var t1, t2, accepted, unknownRedirect, t3; + type$.ProgressEvent._as(e); + t1 = this.xhr; + t2 = t1.status; + t2.toString; + accepted = t2 >= 200 && t2 < 300; + unknownRedirect = t2 > 307 && t2 < 400; + t2 = accepted || t2 === 0 || t2 === 304 || unknownRedirect; + t3 = this.completer; + if (t2) + t3.complete$1(0, t1); + else + t3.completeError$1(e); + }, + $signature: 300 + }; + W.HttpRequestEventTarget.prototype = {}; + W.IFrameElement.prototype = {$isIFrameElement: 1}; + W.ImageData.prototype = {$isImageData: 1}; + W.ImageElement.prototype = { + set$src: function(receiver, value) { + receiver.src = value; + }, + $isCanvasImageSource: 1 + }; + W.InputElement.prototype = { + get$checked: function(receiver) { + return receiver.checked; + }, + get$value: function(receiver) { + return receiver.value; + }, + set$value: function(receiver, value) { + receiver.value = value; + }, + setSelectionRange$2: function(receiver, start, end) { + return receiver.setSelectionRange(start, end); + }, + $isInputElement: 1, + $isFileUploadInputElement: 1 + }; + W.IntersectionObserverEntry.prototype = { + get$target: function(receiver) { + return receiver.target; + } + }; + W.InterventionReport.prototype = { + get$message: function(receiver) { + return receiver.message; + } + }; + W.KeyboardEvent.prototype = { + _initKeyboardEvent$10: function(receiver, type, canBubble, cancelable, view, keyIdentifier, $location, ctrlKey, altKey, shiftKey, metaKey) { + if (typeof receiver.initKeyEvent == "function") + receiver.initKeyEvent(type, true, true, view, true, false, false, false, 0, 0); + else + receiver.initKeyboardEvent(type, true, true, view, keyIdentifier, $location, true, false, false, false); + }, + get$keyCode: function(receiver) { + return receiver.keyCode; + }, + get$which: function(receiver) { + return receiver.which; + }, + get$altKey: function(receiver) { + return receiver.altKey; + }, + get$ctrlKey: function(receiver) { + return receiver.ctrlKey; + }, + get$metaKey: function(receiver) { + return receiver.metaKey; + }, + get$repeat: function(receiver) { + return receiver.repeat; + }, + get$shiftKey: function(receiver) { + return receiver.shiftKey; + }, + $isKeyboardEvent: 1 + }; + W.LIElement.prototype = { + get$value: function(receiver) { + return receiver.value; + }, + set$value: function(receiver, value) { + receiver.value = value; + } + }; + W.Location.prototype = { + toString$0: function(receiver) { + return String(receiver); + }, + $isLocation: 1 + }; + W.MediaElement.prototype = {}; + W.MediaError.prototype = { + get$message: function(receiver) { + return receiver.message; + } + }; + W.MediaKeyMessageEvent.prototype = { + get$message: function(receiver) { + return receiver.message; + } + }; + W.MediaKeySession.prototype = { + remove$0: function(receiver) { + return P.promiseToFuture(receiver.remove(), type$.dynamic); + } + }; + W.MediaList.prototype = { + get$length: function(receiver) { + return receiver.length; + } + }; + W.MessagePort.prototype = { + addEventListener$3: function(receiver, type, listener, useCapture) { + type$.nullable_dynamic_Function_Event._as(listener); + if (type === "message") + receiver.start(); + this.super$EventTarget$addEventListener(receiver, type, listener, false); + }, + $isMessagePort: 1 + }; + W.MeterElement.prototype = { + get$value: function(receiver) { + return receiver.value; + }, + set$value: function(receiver, value) { + receiver.value = value; + } + }; + W.MidiInputMap.prototype = { + containsKey$1: function(receiver, key) { + return P.convertNativeToDart_Dictionary(receiver.get(H._asStringS(key))) != null; + }, + $index: function(receiver, key) { + return P.convertNativeToDart_Dictionary(receiver.get(H._asStringS(key))); + }, + forEach$1: function(receiver, f) { + var entries, entry; + type$.void_Function_String_dynamic._as(f); + entries = receiver.entries(); + for (; true;) { + entry = entries.next(); + if (entry.done) + return; + f.call$2(entry.value[0], P.convertNativeToDart_Dictionary(entry.value[1])); + } + }, + get$keys: function(receiver) { + var keys = H.setRuntimeTypeInfo([], type$.JSArray_String); + this.forEach$1(receiver, new W.MidiInputMap_keys_closure(keys)); + return keys; + }, + get$values: function(receiver) { + var values = H.setRuntimeTypeInfo([], type$.JSArray_Map_dynamic_dynamic); + this.forEach$1(receiver, new W.MidiInputMap_values_closure(values)); + return values; + }, + get$length: function(receiver) { + return receiver.size; + }, + get$isEmpty: function(receiver) { + return receiver.size === 0; + }, + get$isNotEmpty: function(receiver) { + return receiver.size !== 0; + }, + $indexSet: function(receiver, key, value) { + H._asStringS(key); + throw H.wrapException(P.UnsupportedError$("Not supported")); + }, + remove$1: function(receiver, key) { + throw H.wrapException(P.UnsupportedError$("Not supported")); + }, + $isMap: 1 + }; + W.MidiInputMap_keys_closure.prototype = { + call$2: function(k, v) { + return C.JSArray_methods.add$1(this.keys, k); + }, + $signature: 31 + }; + W.MidiInputMap_values_closure.prototype = { + call$2: function(k, v) { + return C.JSArray_methods.add$1(this.values, v); + }, + $signature: 31 + }; + W.MidiOutputMap.prototype = { + containsKey$1: function(receiver, key) { + return P.convertNativeToDart_Dictionary(receiver.get(H._asStringS(key))) != null; + }, + $index: function(receiver, key) { + return P.convertNativeToDart_Dictionary(receiver.get(H._asStringS(key))); + }, + forEach$1: function(receiver, f) { + var entries, entry; + type$.void_Function_String_dynamic._as(f); + entries = receiver.entries(); + for (; true;) { + entry = entries.next(); + if (entry.done) + return; + f.call$2(entry.value[0], P.convertNativeToDart_Dictionary(entry.value[1])); + } + }, + get$keys: function(receiver) { + var keys = H.setRuntimeTypeInfo([], type$.JSArray_String); + this.forEach$1(receiver, new W.MidiOutputMap_keys_closure(keys)); + return keys; + }, + get$values: function(receiver) { + var values = H.setRuntimeTypeInfo([], type$.JSArray_Map_dynamic_dynamic); + this.forEach$1(receiver, new W.MidiOutputMap_values_closure(values)); + return values; + }, + get$length: function(receiver) { + return receiver.size; + }, + get$isEmpty: function(receiver) { + return receiver.size === 0; + }, + get$isNotEmpty: function(receiver) { + return receiver.size !== 0; + }, + $indexSet: function(receiver, key, value) { + H._asStringS(key); + throw H.wrapException(P.UnsupportedError$("Not supported")); + }, + remove$1: function(receiver, key) { + throw H.wrapException(P.UnsupportedError$("Not supported")); + }, + $isMap: 1 + }; + W.MidiOutputMap_keys_closure.prototype = { + call$2: function(k, v) { + return C.JSArray_methods.add$1(this.keys, k); + }, + $signature: 31 + }; + W.MidiOutputMap_values_closure.prototype = { + call$2: function(k, v) { + return C.JSArray_methods.add$1(this.values, v); + }, + $signature: 31 + }; + W.MimeType.prototype = {$isMimeType: 1}; + W.MimeTypeArray.prototype = { + get$length: function(receiver) { + return receiver.length; + }, + $index: function(receiver, index) { + H._asIntS(index); + if (index >>> 0 !== index || index >= receiver.length) + throw H.wrapException(P.IndexError$(index, receiver, null, null, null)); + return receiver[index]; + }, + $indexSet: function(receiver, index, value) { + H._asIntS(index); + type$.MimeType._as(value); + throw H.wrapException(P.UnsupportedError$("Cannot assign element of immutable List.")); + }, + set$length: function(receiver, value) { + throw H.wrapException(P.UnsupportedError$("Cannot resize immutable List.")); + }, + get$first: function(receiver) { + if (receiver.length > 0) + return receiver[0]; + throw H.wrapException(P.StateError$("No elements")); + }, + get$last: function(receiver) { + var len = receiver.length; + if (len > 0) + return receiver[len - 1]; + throw H.wrapException(P.StateError$("No elements")); + }, + get$single: function(receiver) { + var len = receiver.length; + if (len === 1) + return receiver[0]; + if (len === 0) + throw H.wrapException(P.StateError$("No elements")); + throw H.wrapException(P.StateError$("More than one element")); + }, + elementAt$1: function(receiver, index) { + return this.$index(receiver, index); + }, + $isJSIndexable: 1, + $isEfficientLengthIterable: 1, + $isJavaScriptIndexingBehavior: 1, + $isIterable: 1, + $isList: 1 + }; + W.MouseEvent.prototype = { + get$button: function(receiver) { + return receiver.button; + }, + _initMouseEvent_1$15: function(receiver, type, bubbles, cancelable, view, detail, screenX, screenY, clientX, clientY, ctrlKey, altKey, shiftKey, metaKey, button, relatedTarget) { + return receiver.initMouseEvent(type, true, true, view, detail, screenX, screenY, clientX, clientY, false, false, false, false, button, relatedTarget); + }, + get$offset: function(receiver) { + var t1, t2, target, t3, t4, t5, point; + if (!!receiver.offsetX) + return new P.Point(receiver.offsetX, receiver.offsetY, type$.Point_num); + else { + t1 = receiver.target; + t2 = type$.Element; + if (!t2._is(W._convertNativeToDart_EventTarget(t1))) + throw H.wrapException(P.UnsupportedError$("offsetX is only supported on elements")); + target = t2._as(W._convertNativeToDart_EventTarget(t1)); + t1 = receiver.clientX; + t2 = receiver.clientY; + t3 = type$.Point_num; + t4 = target.getBoundingClientRect(); + t5 = t4.left; + t5.toString; + t4 = t4.top; + t4.toString; + point = new P.Point(t1, t2, t3).$sub(0, new P.Point(t5, t4, t3)); + return new P.Point(J.toInt$0$n(point.x), J.toInt$0$n(point.y), t3); + } + }, + $isMouseEvent: 1 + }; + W.MutationRecord.prototype = { + get$target: function(receiver) { + return receiver.target; + } + }; + W.NavigatorUserMediaError.prototype = { + get$message: function(receiver) { + return receiver.message; + } + }; + W._ChildNodeListLazy.prototype = { + get$first: function(_) { + var result = this._this.firstChild; + if (result == null) + throw H.wrapException(P.StateError$("No elements")); + return result; + }, + get$last: function(_) { + var result = this._this.lastChild; + if (result == null) + throw H.wrapException(P.StateError$("No elements")); + return result; + }, + get$single: function(_) { + var t1 = this._this, + l = t1.childNodes.length; + if (l === 0) + throw H.wrapException(P.StateError$("No elements")); + if (l > 1) + throw H.wrapException(P.StateError$("More than one element")); + t1 = t1.firstChild; + t1.toString; + return t1; + }, + add$1: function(_, value) { + this._this.appendChild(type$.Node._as(value)); + }, + addAll$1: function(_, iterable) { + var t1, t2, len, i, t3; + type$.Iterable_Node._as(iterable); + if (iterable instanceof W._ChildNodeListLazy) { + t1 = iterable._this; + t2 = this._this; + if (t1 !== t2) + for (len = t1.childNodes.length, i = 0; i < len; ++i) { + t3 = t1.firstChild; + t3.toString; + t2.appendChild(t3); + } + return; + } + for (t1 = J.get$iterator$ax(iterable), t2 = this._this; t1.moveNext$0();) + t2.appendChild(t1.get$current(t1)); + }, + insert$2: function(_, index, node) { + var t1, t2, t3, _this = this; + type$.Node._as(node); + if (index < 0 || index > _this._this.childNodes.length) + throw H.wrapException(P.RangeError$range(index, 0, _this.get$length(_this), null, null)); + t1 = _this._this; + t2 = t1.childNodes; + t3 = t2.length; + if (index === t3) + t1.appendChild(node); + else { + if (index < 0 || index >= t3) + return H.ioore(t2, index); + J.insertBefore$2$x(t1, node, t2[index]); + } + }, + insertAll$2: function(_, index, iterable) { + var t1, t2, t3; + type$.Iterable_Node._as(iterable); + t1 = this._this; + t2 = t1.childNodes; + t3 = t2.length; + if (index === t3) + this.addAll$1(0, iterable); + else { + if (index < 0 || index >= t3) + return H.ioore(t2, index); + J.insertAllBefore$2$x(t1, iterable, t2[index]); + } + }, + setAll$2: function(_, index, iterable) { + type$.Iterable_Node._as(iterable); + throw H.wrapException(P.UnsupportedError$("Cannot setAll on Node list")); + }, + removeLast$0: function(_) { + var result = this.get$last(this); + this._this.removeChild(result); + return result; + }, + removeAt$1: function(_, index) { + var result, + t1 = this._this, + t2 = t1.childNodes; + if (index < 0 || index >= t2.length) + return H.ioore(t2, index); + result = t2[index]; + t1.removeChild(result); + return result; + }, + remove$1: function(_, object) { + var t1; + if (!type$.Node._is(object)) + return false; + t1 = this._this; + if (t1 !== object.parentNode) + return false; + t1.removeChild(object); + return true; + }, + _html$_filter$2: function(_, test, removeMatching) { + var t1, child, nextChild; + type$.bool_Function_Node._as(test); + t1 = this._this; + child = t1.firstChild; + for (; child != null; child = nextChild) { + nextChild = child.nextSibling; + if (J.$eq$(test.call$1(child), true)) + t1.removeChild(child); + } + }, + removeWhere$1: function(_, test) { + this._html$_filter$2(0, type$.bool_Function_Node._as(test), true); + }, + clear$0: function(_) { + J._clearChildren$0$x(this._this); + }, + $indexSet: function(_, index, value) { + var t1; + H._asIntS(index); + t1 = this._this; + t1.replaceChild(type$.Node._as(value), C.NodeList_methods.$index(t1.childNodes, index)); + }, + get$iterator: function(_) { + var t1 = this._this.childNodes; + return new W.FixedSizeListIterator(t1, t1.length, H.instanceType(t1)._eval$1("FixedSizeListIterator")); + }, + sort$1: function(_, compare) { + type$.nullable_int_Function_Node_Node._as(compare); + throw H.wrapException(P.UnsupportedError$("Cannot sort Node list")); + }, + sort$0: function($receiver) { + return this.sort$1($receiver, null); + }, + setRange$4: function(_, start, end, iterable, skipCount) { + H._asIntS(end); + type$.Iterable_Node._as(iterable); + throw H.wrapException(P.UnsupportedError$("Cannot setRange on Node list")); + }, + setRange$3: function($receiver, start, end, iterable) { + return this.setRange$4($receiver, start, end, iterable, 0); + }, + removeRange$2: function(_, start, end) { + throw H.wrapException(P.UnsupportedError$("Cannot removeRange on Node list")); + }, + get$length: function(_) { + return this._this.childNodes.length; + }, + set$length: function(_, value) { + throw H.wrapException(P.UnsupportedError$("Cannot set length on immutable List.")); + }, + $index: function(_, index) { + H._asIntS(index); + return C.NodeList_methods.$index(this._this.childNodes, index); + } + }; + W.Node.prototype = { + remove$0: function(receiver) { + var t1 = receiver.parentNode; + if (t1 != null) + t1.removeChild(receiver); + }, + replaceWith$1: function(receiver, otherNode) { + var $parent, t1, exception; + try { + t1 = receiver.parentNode; + t1.toString; + $parent = t1; + J._replaceChild$2$x($parent, otherNode, receiver); + } catch (exception) { + H.unwrapException(exception); + } + return receiver; + }, + insertAllBefore$2: function(receiver, newNodes, refChild) { + var t1; + type$.Iterable_Node._as(newNodes); + for (t1 = J.get$iterator$ax(newNodes); t1.moveNext$0();) + this.insertBefore$2(receiver, t1.get$current(t1), refChild); + }, + _clearChildren$0: function(receiver) { + var t1; + for (; t1 = receiver.firstChild, t1 != null;) + receiver.removeChild(t1); + }, + toString$0: function(receiver) { + var value = receiver.nodeValue; + return value == null ? this.super$Interceptor$toString(receiver) : value; + }, + set$text: function(receiver, value) { + receiver.textContent = value; + }, + append$1: function(receiver, node) { + return receiver.appendChild(node); + }, + clone$1: function(receiver, deep) { + return receiver.cloneNode(true); + }, + contains$1: function(receiver, other) { + return receiver.contains(other); + }, + insertBefore$2: function(receiver, node, child) { + return receiver.insertBefore(node, child); + }, + _replaceChild$2: function(receiver, node, child) { + return receiver.replaceChild(node, child); + }, + $isNode: 1 + }; + W.NodeList.prototype = { + get$length: function(receiver) { + return receiver.length; + }, + $index: function(receiver, index) { + H._asIntS(index); + if (index >>> 0 !== index || index >= receiver.length) + throw H.wrapException(P.IndexError$(index, receiver, null, null, null)); + return receiver[index]; + }, + $indexSet: function(receiver, index, value) { + H._asIntS(index); + type$.Node._as(value); + throw H.wrapException(P.UnsupportedError$("Cannot assign element of immutable List.")); + }, + set$length: function(receiver, value) { + throw H.wrapException(P.UnsupportedError$("Cannot resize immutable List.")); + }, + get$first: function(receiver) { + if (receiver.length > 0) + return receiver[0]; + throw H.wrapException(P.StateError$("No elements")); + }, + get$last: function(receiver) { + var len = receiver.length; + if (len > 0) + return receiver[len - 1]; + throw H.wrapException(P.StateError$("No elements")); + }, + get$single: function(receiver) { + var len = receiver.length; + if (len === 1) + return receiver[0]; + if (len === 0) + throw H.wrapException(P.StateError$("No elements")); + throw H.wrapException(P.StateError$("More than one element")); + }, + elementAt$1: function(receiver, index) { + return this.$index(receiver, index); + }, + $isJSIndexable: 1, + $isEfficientLengthIterable: 1, + $isJavaScriptIndexingBehavior: 1, + $isIterable: 1, + $isList: 1 + }; + W.OptionElement.prototype = { + get$value: function(receiver) { + return receiver.value; + }, + set$value: function(receiver, value) { + receiver.value = value; + }, + $isOptionElement: 1 + }; + W.OutputElement.prototype = { + get$value: function(receiver) { + return receiver.value; + }, + set$value: function(receiver, value) { + receiver.value = value; + } + }; + W.OverconstrainedError.prototype = { + get$message: function(receiver) { + return receiver.message; + } + }; + W.ParamElement.prototype = { + get$value: function(receiver) { + return receiver.value; + }, + set$value: function(receiver, value) { + receiver.value = value; + } + }; + W.PaymentInstruments.prototype = { + keys$0: function(receiver) { + return P.promiseToFuture(receiver.keys(), type$.List_dynamic); + } + }; + W.Plugin.prototype = { + get$length: function(receiver) { + return receiver.length; + }, + $isPlugin: 1 + }; + W.PluginArray.prototype = { + get$length: function(receiver) { + return receiver.length; + }, + $index: function(receiver, index) { + H._asIntS(index); + if (index >>> 0 !== index || index >= receiver.length) + throw H.wrapException(P.IndexError$(index, receiver, null, null, null)); + return receiver[index]; + }, + $indexSet: function(receiver, index, value) { + H._asIntS(index); + type$.Plugin._as(value); + throw H.wrapException(P.UnsupportedError$("Cannot assign element of immutable List.")); + }, + set$length: function(receiver, value) { + throw H.wrapException(P.UnsupportedError$("Cannot resize immutable List.")); + }, + get$first: function(receiver) { + if (receiver.length > 0) + return receiver[0]; + throw H.wrapException(P.StateError$("No elements")); + }, + get$last: function(receiver) { + var len = receiver.length; + if (len > 0) + return receiver[len - 1]; + throw H.wrapException(P.StateError$("No elements")); + }, + get$single: function(receiver) { + var len = receiver.length; + if (len === 1) + return receiver[0]; + if (len === 0) + throw H.wrapException(P.StateError$("No elements")); + throw H.wrapException(P.StateError$("More than one element")); + }, + elementAt$1: function(receiver, index) { + return this.$index(receiver, index); + }, + $isJSIndexable: 1, + $isEfficientLengthIterable: 1, + $isJavaScriptIndexingBehavior: 1, + $isIterable: 1, + $isList: 1 + }; + W.PointerEvent.prototype = {$isPointerEvent: 1}; + W.PositionError.prototype = { + get$message: function(receiver) { + return receiver.message; + } + }; + W.PreElement.prototype = {}; + W.PresentationAvailability.prototype = { + get$value: function(receiver) { + return receiver.value; + } + }; + W.PresentationConnectionCloseEvent.prototype = { + get$message: function(receiver) { + return receiver.message; + } + }; + W.ProcessingInstruction.prototype = { + get$target: function(receiver) { + return receiver.target; + } + }; + W.ProgressElement.prototype = { + get$value: function(receiver) { + return receiver.value; + }, + set$value: function(receiver, value) { + receiver.value = value; + } + }; + W.ProgressEvent.prototype = {$isProgressEvent: 1}; + W.ReportBody.prototype = {}; + W.ResizeObserverEntry.prototype = { + get$target: function(receiver) { + return receiver.target; + } + }; + W.RtcStatsReport.prototype = { + containsKey$1: function(receiver, key) { + return P.convertNativeToDart_Dictionary(receiver.get(H._asStringS(key))) != null; + }, + $index: function(receiver, key) { + return P.convertNativeToDart_Dictionary(receiver.get(H._asStringS(key))); + }, + forEach$1: function(receiver, f) { + var entries, entry; + type$.void_Function_String_dynamic._as(f); + entries = receiver.entries(); + for (; true;) { + entry = entries.next(); + if (entry.done) + return; + f.call$2(entry.value[0], P.convertNativeToDart_Dictionary(entry.value[1])); + } + }, + get$keys: function(receiver) { + var keys = H.setRuntimeTypeInfo([], type$.JSArray_String); + this.forEach$1(receiver, new W.RtcStatsReport_keys_closure(keys)); + return keys; + }, + get$values: function(receiver) { + var values = H.setRuntimeTypeInfo([], type$.JSArray_Map_dynamic_dynamic); + this.forEach$1(receiver, new W.RtcStatsReport_values_closure(values)); + return values; + }, + get$length: function(receiver) { + return receiver.size; + }, + get$isEmpty: function(receiver) { + return receiver.size === 0; + }, + get$isNotEmpty: function(receiver) { + return receiver.size !== 0; + }, + $indexSet: function(receiver, key, value) { + H._asStringS(key); + throw H.wrapException(P.UnsupportedError$("Not supported")); + }, + remove$1: function(receiver, key) { + throw H.wrapException(P.UnsupportedError$("Not supported")); + }, + $isMap: 1 + }; + W.RtcStatsReport_keys_closure.prototype = { + call$2: function(k, v) { + return C.JSArray_methods.add$1(this.keys, k); + }, + $signature: 31 + }; + W.RtcStatsReport_values_closure.prototype = { + call$2: function(k, v) { + return C.JSArray_methods.add$1(this.values, v); + }, + $signature: 31 + }; + W.SelectElement.prototype = { + get$length: function(receiver) { + return receiver.length; + }, + get$value: function(receiver) { + return receiver.value; + }, + set$value: function(receiver, value) { + receiver.value = value; + }, + $isSelectElement: 1 + }; + W.SourceBuffer.prototype = {$isSourceBuffer: 1}; + W.SourceBufferList.prototype = { + get$length: function(receiver) { + return receiver.length; + }, + $index: function(receiver, index) { + H._asIntS(index); + if (index >>> 0 !== index || index >= receiver.length) + throw H.wrapException(P.IndexError$(index, receiver, null, null, null)); + return receiver[index]; + }, + $indexSet: function(receiver, index, value) { + H._asIntS(index); + type$.SourceBuffer._as(value); + throw H.wrapException(P.UnsupportedError$("Cannot assign element of immutable List.")); + }, + set$length: function(receiver, value) { + throw H.wrapException(P.UnsupportedError$("Cannot resize immutable List.")); + }, + get$first: function(receiver) { + if (receiver.length > 0) + return receiver[0]; + throw H.wrapException(P.StateError$("No elements")); + }, + get$last: function(receiver) { + var len = receiver.length; + if (len > 0) + return receiver[len - 1]; + throw H.wrapException(P.StateError$("No elements")); + }, + get$single: function(receiver) { + var len = receiver.length; + if (len === 1) + return receiver[0]; + if (len === 0) + throw H.wrapException(P.StateError$("No elements")); + throw H.wrapException(P.StateError$("More than one element")); + }, + elementAt$1: function(receiver, index) { + return this.$index(receiver, index); + }, + $isJSIndexable: 1, + $isEfficientLengthIterable: 1, + $isJavaScriptIndexingBehavior: 1, + $isIterable: 1, + $isList: 1 + }; + W.SpeechGrammar.prototype = {$isSpeechGrammar: 1}; + W.SpeechGrammarList.prototype = { + get$length: function(receiver) { + return receiver.length; + }, + $index: function(receiver, index) { + H._asIntS(index); + if (index >>> 0 !== index || index >= receiver.length) + throw H.wrapException(P.IndexError$(index, receiver, null, null, null)); + return receiver[index]; + }, + $indexSet: function(receiver, index, value) { + H._asIntS(index); + type$.SpeechGrammar._as(value); + throw H.wrapException(P.UnsupportedError$("Cannot assign element of immutable List.")); + }, + set$length: function(receiver, value) { + throw H.wrapException(P.UnsupportedError$("Cannot resize immutable List.")); + }, + get$first: function(receiver) { + if (receiver.length > 0) + return receiver[0]; + throw H.wrapException(P.StateError$("No elements")); + }, + get$last: function(receiver) { + var len = receiver.length; + if (len > 0) + return receiver[len - 1]; + throw H.wrapException(P.StateError$("No elements")); + }, + get$single: function(receiver) { + var len = receiver.length; + if (len === 1) + return receiver[0]; + if (len === 0) + throw H.wrapException(P.StateError$("No elements")); + throw H.wrapException(P.StateError$("More than one element")); + }, + elementAt$1: function(receiver, index) { + return this.$index(receiver, index); + }, + $isJSIndexable: 1, + $isEfficientLengthIterable: 1, + $isJavaScriptIndexingBehavior: 1, + $isIterable: 1, + $isList: 1 + }; + W.SpeechRecognitionError.prototype = { + get$message: function(receiver) { + return receiver.message; + } + }; + W.SpeechRecognitionResult.prototype = { + get$length: function(receiver) { + return receiver.length; + }, + $isSpeechRecognitionResult: 1 + }; + W.Storage.prototype = { + containsKey$1: function(receiver, key) { + return receiver.getItem(H._asStringS(key)) != null; + }, + $index: function(receiver, key) { + return receiver.getItem(H._asStringS(key)); + }, + $indexSet: function(receiver, key, value) { + receiver.setItem(H._asStringS(key), H._asStringS(value)); + }, + remove$1: function(receiver, key) { + var value; + H._asStringS(key); + value = receiver.getItem(key); + receiver.removeItem(key); + return value; + }, + forEach$1: function(receiver, f) { + var i, key, t1; + type$.void_Function_String_String._as(f); + for (i = 0; true; ++i) { + key = receiver.key(i); + if (key == null) + return; + t1 = receiver.getItem(key); + t1.toString; + f.call$2(key, t1); + } + }, + get$keys: function(receiver) { + var keys = H.setRuntimeTypeInfo([], type$.JSArray_String); + this.forEach$1(receiver, new W.Storage_keys_closure(keys)); + return keys; + }, + get$values: function(receiver) { + var values = H.setRuntimeTypeInfo([], type$.JSArray_String); + this.forEach$1(receiver, new W.Storage_values_closure(values)); + return values; + }, + get$length: function(receiver) { + return receiver.length; + }, + get$isEmpty: function(receiver) { + return receiver.key(0) == null; + }, + get$isNotEmpty: function(receiver) { + return receiver.key(0) != null; + }, + $isMap: 1 + }; + W.Storage_keys_closure.prototype = { + call$2: function(k, v) { + return C.JSArray_methods.add$1(this.keys, k); + }, + $signature: 94 + }; + W.Storage_values_closure.prototype = { + call$2: function(k, v) { + return C.JSArray_methods.add$1(this.values, v); + }, + $signature: 94 + }; + W.StyleSheet.prototype = {$isStyleSheet: 1}; + W.TemplateElement.prototype = {$isTemplateElement: 1}; + W.TextAreaElement.prototype = { + get$value: function(receiver) { + return receiver.value; + }, + set$value: function(receiver, value) { + receiver.value = value; + }, + setSelectionRange$2: function(receiver, start, end) { + return receiver.setSelectionRange(start, end); + }, + $isTextAreaElement: 1 + }; + W.TextTrack.prototype = {$isTextTrack: 1}; + W.TextTrackCue.prototype = {$isTextTrackCue: 1}; + W.TextTrackCueList.prototype = { + get$length: function(receiver) { + return receiver.length; + }, + $index: function(receiver, index) { + H._asIntS(index); + if (index >>> 0 !== index || index >= receiver.length) + throw H.wrapException(P.IndexError$(index, receiver, null, null, null)); + return receiver[index]; + }, + $indexSet: function(receiver, index, value) { + H._asIntS(index); + type$.TextTrackCue._as(value); + throw H.wrapException(P.UnsupportedError$("Cannot assign element of immutable List.")); + }, + set$length: function(receiver, value) { + throw H.wrapException(P.UnsupportedError$("Cannot resize immutable List.")); + }, + get$first: function(receiver) { + if (receiver.length > 0) + return receiver[0]; + throw H.wrapException(P.StateError$("No elements")); + }, + get$last: function(receiver) { + var len = receiver.length; + if (len > 0) + return receiver[len - 1]; + throw H.wrapException(P.StateError$("No elements")); + }, + get$single: function(receiver) { + var len = receiver.length; + if (len === 1) + return receiver[0]; + if (len === 0) + throw H.wrapException(P.StateError$("No elements")); + throw H.wrapException(P.StateError$("More than one element")); + }, + elementAt$1: function(receiver, index) { + return this.$index(receiver, index); + }, + $isJSIndexable: 1, + $isEfficientLengthIterable: 1, + $isJavaScriptIndexingBehavior: 1, + $isIterable: 1, + $isList: 1 + }; + W.TextTrackList.prototype = { + get$length: function(receiver) { + return receiver.length; + }, + $index: function(receiver, index) { + H._asIntS(index); + if (index >>> 0 !== index || index >= receiver.length) + throw H.wrapException(P.IndexError$(index, receiver, null, null, null)); + return receiver[index]; + }, + $indexSet: function(receiver, index, value) { + H._asIntS(index); + type$.TextTrack._as(value); + throw H.wrapException(P.UnsupportedError$("Cannot assign element of immutable List.")); + }, + set$length: function(receiver, value) { + throw H.wrapException(P.UnsupportedError$("Cannot resize immutable List.")); + }, + get$first: function(receiver) { + if (receiver.length > 0) + return receiver[0]; + throw H.wrapException(P.StateError$("No elements")); + }, + get$last: function(receiver) { + var len = receiver.length; + if (len > 0) + return receiver[len - 1]; + throw H.wrapException(P.StateError$("No elements")); + }, + get$single: function(receiver) { + var len = receiver.length; + if (len === 1) + return receiver[0]; + if (len === 0) + throw H.wrapException(P.StateError$("No elements")); + throw H.wrapException(P.StateError$("More than one element")); + }, + elementAt$1: function(receiver, index) { + return this.$index(receiver, index); + }, + $isJSIndexable: 1, + $isEfficientLengthIterable: 1, + $isJavaScriptIndexingBehavior: 1, + $isIterable: 1, + $isList: 1 + }; + W.TimeRanges.prototype = { + get$length: function(receiver) { + return receiver.length; + } + }; + W.Touch.prototype = { + get$target: function(receiver) { + return W._convertNativeToDart_EventTarget(receiver.target); + }, + $isTouch: 1 + }; + W.TouchEvent.prototype = {$isTouchEvent: 1}; + W.TouchList.prototype = { + get$length: function(receiver) { + return receiver.length; + }, + $index: function(receiver, index) { + H._asIntS(index); + if (index >>> 0 !== index || index >= receiver.length) + throw H.wrapException(P.IndexError$(index, receiver, null, null, null)); + return receiver[index]; + }, + $indexSet: function(receiver, index, value) { + H._asIntS(index); + type$.Touch._as(value); + throw H.wrapException(P.UnsupportedError$("Cannot assign element of immutable List.")); + }, + set$length: function(receiver, value) { + throw H.wrapException(P.UnsupportedError$("Cannot resize immutable List.")); + }, + get$first: function(receiver) { + if (receiver.length > 0) + return receiver[0]; + throw H.wrapException(P.StateError$("No elements")); + }, + get$last: function(receiver) { + var len = receiver.length; + if (len > 0) + return receiver[len - 1]; + throw H.wrapException(P.StateError$("No elements")); + }, + get$single: function(receiver) { + var len = receiver.length; + if (len === 1) + return receiver[0]; + if (len === 0) + throw H.wrapException(P.StateError$("No elements")); + throw H.wrapException(P.StateError$("More than one element")); + }, + elementAt$1: function(receiver, index) { + return this.$index(receiver, index); + }, + $isJSIndexable: 1, + $isEfficientLengthIterable: 1, + $isJavaScriptIndexingBehavior: 1, + $isIterable: 1, + $isList: 1 + }; + W.TrackDefaultList.prototype = { + get$length: function(receiver) { + return receiver.length; + } + }; + W.UIEvent.prototype = {}; + W.Url.prototype = { + toString$0: function(receiver) { + return String(receiver); + } + }; + W.VREyeParameters.prototype = { + get$offset: function(receiver) { + return receiver.offset; + } + }; + W.VideoElement.prototype = {$isCanvasImageSource: 1}; + W.VideoTrackList.prototype = { + get$length: function(receiver) { + return receiver.length; + } + }; + W.Window.prototype = { + alert$1: function(receiver, message) { + return receiver.alert(message); + }, + confirm$1: function(receiver, message) { + return receiver.confirm(message); + }, + _getComputedStyle$2: function(receiver, elt, pseudoElt) { + return receiver.getComputedStyle(elt, pseudoElt); + }, + postMessage$2: function(receiver, message, targetOrigin) { + receiver.postMessage(new P._StructuredCloneDart2Js([], []).walk$1(message), targetOrigin); + return; + }, + $isWindow: 1, + $isWindowBase: 1 + }; + W._BeforeUnloadEvent.prototype = { + set$returnValue: function(_, value) { + var t1 = this.wrapped; + if ("returnValue" in t1) + t1.returnValue = value; + }, + $isBeforeUnloadEvent: 1 + }; + W._BeforeUnloadEventStreamProvider.prototype = { + forTarget$1: function(e) { + var _null = null, + t1 = type$._SyncStreamController_BeforeUnloadEvent, + controller = new P._SyncStreamController(_null, _null, _null, _null, t1), + t2 = type$.nullable_void_Function_BeforeUnloadEvent._as(new W._BeforeUnloadEventStreamProvider_forTarget_closure(controller)); + type$.nullable_void_Function._as(null); + W._EventStreamSubscription$(e, "beforeunload", t2, false, type$.BeforeUnloadEvent); + return new P._ControllerStream(controller, t1._eval$1("_ControllerStream<1>")); + } + }; + W._BeforeUnloadEventStreamProvider_forTarget_closure.prototype = { + call$1: function($event) { + this.controller.add$1(0, new W._BeforeUnloadEvent(type$.BeforeUnloadEvent._as($event))); + }, + $signature: 318 + }; + W.WorkerGlobalScope.prototype = {$isWorkerGlobalScope: 1}; + W.XmlSerializer.prototype = { + serializeToString$1: function(receiver, root) { + return receiver.serializeToString(root); + } + }; + W._Attr.prototype = { + get$value: function(receiver) { + return receiver.value; + }, + set$value: function(receiver, value) { + receiver.value = value; + }, + $is_Attr: 1 + }; + W._CssRuleList.prototype = { + get$length: function(receiver) { + return receiver.length; + }, + $index: function(receiver, index) { + H._asIntS(index); + if (index >>> 0 !== index || index >= receiver.length) + throw H.wrapException(P.IndexError$(index, receiver, null, null, null)); + return receiver[index]; + }, + $indexSet: function(receiver, index, value) { + H._asIntS(index); + type$.CssRule._as(value); + throw H.wrapException(P.UnsupportedError$("Cannot assign element of immutable List.")); + }, + set$length: function(receiver, value) { + throw H.wrapException(P.UnsupportedError$("Cannot resize immutable List.")); + }, + get$first: function(receiver) { + if (receiver.length > 0) + return receiver[0]; + throw H.wrapException(P.StateError$("No elements")); + }, + get$last: function(receiver) { + var len = receiver.length; + if (len > 0) + return receiver[len - 1]; + throw H.wrapException(P.StateError$("No elements")); + }, + get$single: function(receiver) { + var len = receiver.length; + if (len === 1) + return receiver[0]; + if (len === 0) + throw H.wrapException(P.StateError$("No elements")); + throw H.wrapException(P.StateError$("More than one element")); + }, + elementAt$1: function(receiver, index) { + return this.$index(receiver, index); + }, + $isJSIndexable: 1, + $isEfficientLengthIterable: 1, + $isJavaScriptIndexingBehavior: 1, + $isIterable: 1, + $isList: 1 + }; + W._DomRect.prototype = { + toString$0: function(receiver) { + var t2, + t1 = receiver.left; + t1.toString; + t1 = "Rectangle (" + H.S(t1) + ", "; + t2 = receiver.top; + t2.toString; + t2 = t1 + H.S(t2) + ") "; + t1 = receiver.width; + t1.toString; + t1 = t2 + H.S(t1) + " x "; + t2 = receiver.height; + t2.toString; + return t1 + H.S(t2); + }, + $eq: function(receiver, other) { + var t1, t2; + if (other == null) + return false; + if (type$.Rectangle_num._is(other)) { + t1 = receiver.left; + t1.toString; + t2 = J.getInterceptor$x(other); + if (t1 === t2.get$left(other)) { + t1 = receiver.top; + t1.toString; + if (t1 === t2.get$top(other)) { + t1 = receiver.width; + t1.toString; + if (t1 === t2.get$width(other)) { + t1 = receiver.height; + t1.toString; + t2 = t1 === t2.get$height(other); + t1 = t2; + } else + t1 = false; + } else + t1 = false; + } else + t1 = false; + } else + t1 = false; + return t1; + }, + get$hashCode: function(receiver) { + var t2, t3, t4, + t1 = receiver.left; + t1.toString; + t1 = C.JSNumber_methods.get$hashCode(t1); + t2 = receiver.top; + t2.toString; + t2 = C.JSNumber_methods.get$hashCode(t2); + t3 = receiver.width; + t3.toString; + t3 = C.JSNumber_methods.get$hashCode(t3); + t4 = receiver.height; + t4.toString; + return W._JenkinsSmiHash_hash4(t1, t2, t3, C.JSNumber_methods.get$hashCode(t4)); + }, + get$_height: function(receiver) { + return receiver.height; + }, + get$height: function(receiver) { + var t1 = receiver.height; + t1.toString; + return t1; + }, + get$_width: function(receiver) { + return receiver.width; + }, + get$width: function(receiver) { + var t1 = receiver.width; + t1.toString; + return t1; + } + }; + W._GamepadList.prototype = { + get$length: function(receiver) { + return receiver.length; + }, + $index: function(receiver, index) { + H._asIntS(index); + if (index >>> 0 !== index || index >= receiver.length) + throw H.wrapException(P.IndexError$(index, receiver, null, null, null)); + return receiver[index]; + }, + $indexSet: function(receiver, index, value) { + H._asIntS(index); + type$.nullable_Gamepad._as(value); + throw H.wrapException(P.UnsupportedError$("Cannot assign element of immutable List.")); + }, + set$length: function(receiver, value) { + throw H.wrapException(P.UnsupportedError$("Cannot resize immutable List.")); + }, + get$first: function(receiver) { + if (receiver.length > 0) + return receiver[0]; + throw H.wrapException(P.StateError$("No elements")); + }, + get$last: function(receiver) { + var len = receiver.length; + if (len > 0) + return receiver[len - 1]; + throw H.wrapException(P.StateError$("No elements")); + }, + get$single: function(receiver) { + var len = receiver.length; + if (len === 1) + return receiver[0]; + if (len === 0) + throw H.wrapException(P.StateError$("No elements")); + throw H.wrapException(P.StateError$("More than one element")); + }, + elementAt$1: function(receiver, index) { + return this.$index(receiver, index); + }, + $isJSIndexable: 1, + $isEfficientLengthIterable: 1, + $isJavaScriptIndexingBehavior: 1, + $isIterable: 1, + $isList: 1 + }; + W._NamedNodeMap.prototype = { + get$length: function(receiver) { + return receiver.length; + }, + $index: function(receiver, index) { + H._asIntS(index); + if (index >>> 0 !== index || index >= receiver.length) + throw H.wrapException(P.IndexError$(index, receiver, null, null, null)); + return receiver[index]; + }, + $indexSet: function(receiver, index, value) { + H._asIntS(index); + type$.Node._as(value); + throw H.wrapException(P.UnsupportedError$("Cannot assign element of immutable List.")); + }, + set$length: function(receiver, value) { + throw H.wrapException(P.UnsupportedError$("Cannot resize immutable List.")); + }, + get$first: function(receiver) { + if (receiver.length > 0) + return receiver[0]; + throw H.wrapException(P.StateError$("No elements")); + }, + get$last: function(receiver) { + var len = receiver.length; + if (len > 0) + return receiver[len - 1]; + throw H.wrapException(P.StateError$("No elements")); + }, + get$single: function(receiver) { + var len = receiver.length; + if (len === 1) + return receiver[0]; + if (len === 0) + throw H.wrapException(P.StateError$("No elements")); + throw H.wrapException(P.StateError$("More than one element")); + }, + elementAt$1: function(receiver, index) { + return this.$index(receiver, index); + }, + $isJSIndexable: 1, + $isEfficientLengthIterable: 1, + $isJavaScriptIndexingBehavior: 1, + $isIterable: 1, + $isList: 1 + }; + W._SpeechRecognitionResultList.prototype = { + get$length: function(receiver) { + return receiver.length; + }, + $index: function(receiver, index) { + H._asIntS(index); + if (index >>> 0 !== index || index >= receiver.length) + throw H.wrapException(P.IndexError$(index, receiver, null, null, null)); + return receiver[index]; + }, + $indexSet: function(receiver, index, value) { + H._asIntS(index); + type$.SpeechRecognitionResult._as(value); + throw H.wrapException(P.UnsupportedError$("Cannot assign element of immutable List.")); + }, + set$length: function(receiver, value) { + throw H.wrapException(P.UnsupportedError$("Cannot resize immutable List.")); + }, + get$first: function(receiver) { + if (receiver.length > 0) + return receiver[0]; + throw H.wrapException(P.StateError$("No elements")); + }, + get$last: function(receiver) { + var len = receiver.length; + if (len > 0) + return receiver[len - 1]; + throw H.wrapException(P.StateError$("No elements")); + }, + get$single: function(receiver) { + var len = receiver.length; + if (len === 1) + return receiver[0]; + if (len === 0) + throw H.wrapException(P.StateError$("No elements")); + throw H.wrapException(P.StateError$("More than one element")); + }, + elementAt$1: function(receiver, index) { + return this.$index(receiver, index); + }, + $isJSIndexable: 1, + $isEfficientLengthIterable: 1, + $isJavaScriptIndexingBehavior: 1, + $isIterable: 1, + $isList: 1 + }; + W._StyleSheetList.prototype = { + get$length: function(receiver) { + return receiver.length; + }, + $index: function(receiver, index) { + H._asIntS(index); + if (index >>> 0 !== index || index >= receiver.length) + throw H.wrapException(P.IndexError$(index, receiver, null, null, null)); + return receiver[index]; + }, + $indexSet: function(receiver, index, value) { + H._asIntS(index); + type$.StyleSheet._as(value); + throw H.wrapException(P.UnsupportedError$("Cannot assign element of immutable List.")); + }, + set$length: function(receiver, value) { + throw H.wrapException(P.UnsupportedError$("Cannot resize immutable List.")); + }, + get$first: function(receiver) { + if (receiver.length > 0) + return receiver[0]; + throw H.wrapException(P.StateError$("No elements")); + }, + get$last: function(receiver) { + var len = receiver.length; + if (len > 0) + return receiver[len - 1]; + throw H.wrapException(P.StateError$("No elements")); + }, + get$single: function(receiver) { + var len = receiver.length; + if (len === 1) + return receiver[0]; + if (len === 0) + throw H.wrapException(P.StateError$("No elements")); + throw H.wrapException(P.StateError$("More than one element")); + }, + elementAt$1: function(receiver, index) { + return this.$index(receiver, index); + }, + $isJSIndexable: 1, + $isEfficientLengthIterable: 1, + $isJavaScriptIndexingBehavior: 1, + $isIterable: 1, + $isList: 1 + }; + W._AttributeMap.prototype = { + cast$2$0: function(_, $K, $V) { + var t1 = type$.String; + return P.Map_castFrom(this, t1, t1, $K, $V); + }, + clear$0: function(_) { + var t1, t2, t3, _i, key; + for (t1 = this.get$keys(this), t2 = t1.length, t3 = this._html$_element, _i = 0; _i < t1.length; t1.length === t2 || (0, H.throwConcurrentModificationError)(t1), ++_i) { + key = t1[_i]; + if (typeof key == "string") + t3.removeAttribute(key); + } + }, + forEach$1: function(_, f) { + var t1, t2, t3, _i, t4; + type$.void_Function_String_String._as(f); + for (t1 = this.get$keys(this), t2 = t1.length, t3 = this._html$_element, _i = 0; _i < t1.length; t1.length === t2 || (0, H.throwConcurrentModificationError)(t1), ++_i) { + t4 = H._asStringS(t1[_i]); + f.call$2(t4, t3.getAttribute(t4)); + } + }, + get$keys: function(_) { + var keys, len, t2, i, attr, t3, + t1 = this._html$_element.attributes; + t1.toString; + keys = H.setRuntimeTypeInfo([], type$.JSArray_String); + for (len = t1.length, t2 = type$._Attr, i = 0; i < len; ++i) { + if (i >= t1.length) + return H.ioore(t1, i); + attr = t2._as(t1[i]); + if (attr.namespaceURI == null) { + t3 = attr.name; + t3.toString; + C.JSArray_methods.add$1(keys, t3); + } + } + return keys; + }, + get$values: function(_) { + var values, len, t2, i, attr, t3, + t1 = this._html$_element.attributes; + t1.toString; + values = H.setRuntimeTypeInfo([], type$.JSArray_String); + for (len = t1.length, t2 = type$._Attr, i = 0; i < len; ++i) { + if (i >= t1.length) + return H.ioore(t1, i); + attr = t2._as(t1[i]); + if (attr.namespaceURI == null) { + t3 = attr.value; + t3.toString; + C.JSArray_methods.add$1(values, t3); + } + } + return values; + }, + get$isEmpty: function(_) { + return this.get$keys(this).length === 0; + }, + get$isNotEmpty: function(_) { + return this.get$keys(this).length !== 0; + } + }; + W._ElementAttributeMap.prototype = { + containsKey$1: function(_, key) { + return typeof key == "string" && H.boolConversionCheck(this._html$_element.hasAttribute(key)); + }, + $index: function(_, key) { + return this._html$_element.getAttribute(H._asStringS(key)); + }, + $indexSet: function(_, key, value) { + this._html$_element.setAttribute(H._asStringS(key), H._asStringS(value)); + }, + remove$1: function(_, key) { + var t1, value; + if (typeof key == "string") { + t1 = this._html$_element; + value = t1.getAttribute(key); + t1.removeAttribute(key); + t1 = value; + } else + t1 = null; + return t1; + }, + get$length: function(_) { + return this.get$keys(this).length; + } + }; + W._ElementCssClassSet.prototype = { + readClasses$0: function() { + var t1, t2, _i, trimmed, + s = P.LinkedHashSet_LinkedHashSet(type$.String); + for (t1 = this._html$_element.className.split(" "), t2 = t1.length, _i = 0; _i < t2; ++_i) { + trimmed = J.trim$0$s(t1[_i]); + if (trimmed.length !== 0) + s.add$1(0, trimmed); + } + return s; + }, + writeClasses$1: function(s) { + this._html$_element.className = type$.Set_String._as(s).join$1(0, " "); + }, + get$length: function(_) { + return this._html$_element.classList.length; + }, + get$isEmpty: function(_) { + return this._html$_element.classList.length === 0; + }, + get$isNotEmpty: function(_) { + return this._html$_element.classList.length !== 0; + }, + clear$0: function(_) { + this._html$_element.className = ""; + }, + contains$1: function(_, value) { + return typeof value == "string" && this._html$_element.classList.contains(value); + }, + add$1: function(_, value) { + var list, t1; + H._asStringS(value); + list = this._html$_element.classList; + t1 = list.contains(value); + list.add(value); + return !t1; + }, + remove$1: function(_, value) { + var list, removed, t1; + if (typeof value == "string") { + list = this._html$_element.classList; + removed = list.contains(value); + list.remove(value); + t1 = removed; + } else + t1 = false; + return t1; + }, + addAll$1: function(_, iterable) { + W._ElementCssClassSet__addAll(this._html$_element, type$.Iterable_String._as(iterable)); + }, + removeAll$1: function(iterable) { + W._ElementCssClassSet__removeAll(this._html$_element, iterable); + }, + removeWhere$1: function(_, test) { + W._ElementCssClassSet__removeWhere(this._html$_element, type$.bool_Function_String._as(test), true); + } + }; + W.EventStreamProvider.prototype = {}; + W._EventStream.prototype = { + listen$4$cancelOnError$onDone$onError: function(onData, cancelOnError, onDone, onError) { + var t1 = H._instanceType(this); + t1._eval$1("~(1)?")._as(onData); + type$.nullable_void_Function._as(onDone); + return W._EventStreamSubscription$(this._html$_target, this._eventType, onData, false, t1._precomputed1); + }, + listen$3$onDone$onError: function(onData, onDone, onError) { + return this.listen$4$cancelOnError$onDone$onError(onData, null, onDone, onError); + }, + listen$3$cancelOnError$onDone: function(onData, cancelOnError, onDone) { + return this.listen$4$cancelOnError$onDone$onError(onData, cancelOnError, onDone, null); + } + }; + W._ElementEventStreamImpl.prototype = {}; + W._EventStreamSubscription.prototype = { + cancel$0: function(_) { + var _this = this; + if (_this._html$_target == null) + return $.$get$nullFuture(); + _this._unlisten$0(); + _this._html$_target = null; + _this.set$_onData(null); + return $.$get$nullFuture(); + }, + onData$1: function(handleData) { + var t1, _this = this; + _this.$ti._eval$1("~(1)?")._as(handleData); + if (_this._html$_target == null) + throw H.wrapException(P.StateError$("Subscription has been canceled.")); + _this._unlisten$0(); + t1 = W._wrapZone(new W._EventStreamSubscription_onData_closure(handleData), type$.Event); + _this.set$_onData(t1); + _this._tryResume$0(); + }, + onError$1: function(_, handleError) { + }, + pause$1: function(_, resumeSignal) { + if (this._html$_target == null) + return; + ++this._pauseCount; + this._unlisten$0(); + }, + pause$0: function($receiver) { + return this.pause$1($receiver, null); + }, + resume$0: function(_) { + var _this = this; + if (_this._html$_target == null || _this._pauseCount <= 0) + return; + --_this._pauseCount; + _this._tryResume$0(); + }, + _tryResume$0: function() { + var t2, _this = this, + t1 = _this._onData; + if (t1 != null && _this._pauseCount <= 0) { + t2 = _this._html$_target; + t2.toString; + J.addEventListener$3$x(t2, _this._eventType, t1, false); + } + }, + _unlisten$0: function() { + var t2, + t1 = this._onData; + if (t1 != null) { + t2 = this._html$_target; + t2.toString; + J.removeEventListener$3$x(t2, this._eventType, t1, false); + } + }, + set$_onData: function(_onData) { + this._onData = type$.nullable_dynamic_Function_Event._as(_onData); + } + }; + W._EventStreamSubscription_closure.prototype = { + call$1: function(e) { + return this.onData.call$1(type$.Event._as(e)); + }, + $signature: 42 + }; + W._EventStreamSubscription_onData_closure.prototype = { + call$1: function(e) { + return this.handleData.call$1(type$.Event._as(e)); + }, + $signature: 42 + }; + W._Html5NodeValidator.prototype = { + _Html5NodeValidator$1$uriPolicy: function(uriPolicy) { + var _i; + if ($._Html5NodeValidator__attributeValidators.get$isEmpty($._Html5NodeValidator__attributeValidators)) { + for (_i = 0; _i < 262; ++_i) + $._Html5NodeValidator__attributeValidators.$indexSet(0, C.List_2Zi[_i], W.html__Html5NodeValidator__standardAttributeValidator$closure()); + for (_i = 0; _i < 12; ++_i) + $._Html5NodeValidator__attributeValidators.$indexSet(0, C.List_yrN[_i], W.html__Html5NodeValidator__uriAttributeValidator$closure()); + } + }, + allowsElement$1: function(element) { + return $.$get$_Html5NodeValidator__allowedElements().contains$1(0, W.Element__safeTagName(element)); + }, + allowsAttribute$3: function(element, attributeName, value) { + var validator = $._Html5NodeValidator__attributeValidators.$index(0, H.S(W.Element__safeTagName(element)) + "::" + H.S(attributeName)); + if (validator == null) + validator = $._Html5NodeValidator__attributeValidators.$index(0, "*::" + H.S(attributeName)); + if (validator == null) + return false; + return H._asBoolS(validator.call$4(element, attributeName, value, this)); + }, + $isNodeValidator: 1 + }; + W.ImmutableListMixin.prototype = { + get$iterator: function(receiver) { + return new W.FixedSizeListIterator(receiver, this.get$length(receiver), H.instanceType(receiver)._eval$1("FixedSizeListIterator")); + }, + add$1: function(receiver, value) { + H.instanceType(receiver)._eval$1("ImmutableListMixin.E")._as(value); + throw H.wrapException(P.UnsupportedError$("Cannot add to immutable List.")); + }, + addAll$1: function(receiver, iterable) { + H.instanceType(receiver)._eval$1("Iterable")._as(iterable); + throw H.wrapException(P.UnsupportedError$("Cannot add to immutable List.")); + }, + sort$1: function(receiver, compare) { + H.instanceType(receiver)._eval$1("int(ImmutableListMixin.E,ImmutableListMixin.E)?")._as(compare); + throw H.wrapException(P.UnsupportedError$("Cannot sort immutable List.")); + }, + sort$0: function($receiver) { + return this.sort$1($receiver, null); + }, + insert$2: function(receiver, index, element) { + H.instanceType(receiver)._eval$1("ImmutableListMixin.E")._as(element); + throw H.wrapException(P.UnsupportedError$("Cannot add to immutable List.")); + }, + insertAll$2: function(receiver, index, iterable) { + H.instanceType(receiver)._eval$1("Iterable")._as(iterable); + throw H.wrapException(P.UnsupportedError$("Cannot add to immutable List.")); + }, + setAll$2: function(receiver, index, iterable) { + H.instanceType(receiver)._eval$1("Iterable")._as(iterable); + throw H.wrapException(P.UnsupportedError$("Cannot modify an immutable List.")); + }, + removeAt$1: function(receiver, pos) { + throw H.wrapException(P.UnsupportedError$("Cannot remove from immutable List.")); + }, + removeLast$0: function(receiver) { + throw H.wrapException(P.UnsupportedError$("Cannot remove from immutable List.")); + }, + remove$1: function(receiver, object) { + throw H.wrapException(P.UnsupportedError$("Cannot remove from immutable List.")); + }, + removeWhere$1: function(receiver, test) { + H.instanceType(receiver)._eval$1("bool(ImmutableListMixin.E)")._as(test); + throw H.wrapException(P.UnsupportedError$("Cannot remove from immutable List.")); + }, + setRange$4: function(receiver, start, end, iterable, skipCount) { + H._asIntS(end); + H.instanceType(receiver)._eval$1("Iterable")._as(iterable); + throw H.wrapException(P.UnsupportedError$("Cannot setRange on immutable List.")); + }, + setRange$3: function($receiver, start, end, iterable) { + return this.setRange$4($receiver, start, end, iterable, 0); + }, + removeRange$2: function(receiver, start, end) { + throw H.wrapException(P.UnsupportedError$("Cannot removeRange on immutable List.")); + } + }; + W.NodeValidatorBuilder.prototype = { + add$1: function(_, validator) { + C.JSArray_methods.add$1(this._validators, type$.NodeValidator._as(validator)); + }, + allowsElement$1: function(element) { + return C.JSArray_methods.any$1(this._validators, new W.NodeValidatorBuilder_allowsElement_closure(element)); + }, + allowsAttribute$3: function(element, attributeName, value) { + return C.JSArray_methods.any$1(this._validators, new W.NodeValidatorBuilder_allowsAttribute_closure(element, attributeName, value)); + }, + $isNodeValidator: 1 + }; + W.NodeValidatorBuilder_allowsElement_closure.prototype = { + call$1: function(v) { + return type$.NodeValidator._as(v).allowsElement$1(this.element); + }, + $signature: 164 + }; + W.NodeValidatorBuilder_allowsAttribute_closure.prototype = { + call$1: function(v) { + return type$.NodeValidator._as(v).allowsAttribute$3(this.element, this.attributeName, this.value); + }, + $signature: 164 + }; + W._SimpleNodeValidator.prototype = { + _SimpleNodeValidator$4$allowedAttributes$allowedElements$allowedUriAttributes: function(uriPolicy, allowedAttributes, allowedElements, allowedUriAttributes) { + var legalAttributes, extraUriAttributes, t1; + this.allowedElements.addAll$1(0, allowedElements); + legalAttributes = allowedAttributes.where$1(0, new W._SimpleNodeValidator_closure()); + extraUriAttributes = allowedAttributes.where$1(0, new W._SimpleNodeValidator_closure0()); + this.allowedAttributes.addAll$1(0, legalAttributes); + t1 = this.allowedUriAttributes; + t1.addAll$1(0, C.List_empty0); + t1.addAll$1(0, extraUriAttributes); + }, + allowsElement$1: function(element) { + return this.allowedElements.contains$1(0, W.Element__safeTagName(element)); + }, + allowsAttribute$3: function(element, attributeName, value) { + var _this = this, + tagName = W.Element__safeTagName(element), + t1 = _this.allowedUriAttributes; + if (t1.contains$1(0, H.S(tagName) + "::" + H.S(attributeName))) + return _this.uriPolicy.allowsUri$1(value); + else if (t1.contains$1(0, "*::" + H.S(attributeName))) + return _this.uriPolicy.allowsUri$1(value); + else { + t1 = _this.allowedAttributes; + if (t1.contains$1(0, H.S(tagName) + "::" + H.S(attributeName))) + return true; + else if (t1.contains$1(0, "*::" + H.S(attributeName))) + return true; + else if (t1.contains$1(0, H.S(tagName) + "::*")) + return true; + else if (t1.contains$1(0, "*::*")) + return true; + } + return false; + }, + $isNodeValidator: 1 + }; + W._SimpleNodeValidator_closure.prototype = { + call$1: function(x) { + return !C.JSArray_methods.contains$1(C.List_yrN, H._asStringS(x)); + }, + $signature: 61 + }; + W._SimpleNodeValidator_closure0.prototype = { + call$1: function(x) { + return C.JSArray_methods.contains$1(C.List_yrN, H._asStringS(x)); + }, + $signature: 61 + }; + W._TemplatingNodeValidator.prototype = { + allowsAttribute$3: function(element, attributeName, value) { + if (this.super$_SimpleNodeValidator$allowsAttribute(element, attributeName, value)) + return true; + if (attributeName === "template" && value === "") + return true; + if (element.getAttribute("template") === "") + return this._templateAttrs.contains$1(0, attributeName); + return false; + } + }; + W._TemplatingNodeValidator_closure.prototype = { + call$1: function(attr) { + return "TEMPLATE::" + H.S(H._asStringS(attr)); + }, + $signature: 99 + }; + W.FixedSizeListIterator.prototype = { + moveNext$0: function() { + var _this = this, + nextPosition = _this._position + 1, + t1 = _this._length; + if (nextPosition < t1) { + _this.set$_current(J.$index$asx(_this._array, nextPosition)); + _this._position = nextPosition; + return true; + } + _this.set$_current(null); + _this._position = t1; + return false; + }, + get$current: function(_) { + return this._current; + }, + set$_current: function(_current) { + this._current = this.$ti._eval$1("1?")._as(_current); + }, + $isIterator: 1 + }; + W._DOMWindowCrossFrame.prototype = { + postMessage$2: function(_, message, targetOrigin) { + this._window.postMessage(new P._StructuredCloneDart2Js([], []).walk$1(message), targetOrigin); + }, + $isEventTarget: 1, + $isWindowBase: 1 + }; + W.KeyEvent.prototype = { + get$keyCode: function(_) { + return this._shadowKeyCode; + }, + get$altKey: function(_) { + return this._shadowAltKey; + }, + get$which: function(_) { + return this._shadowKeyCode; + }, + get$currentTarget: function(_) { + return this._currentTarget; + }, + get$ctrlKey: function(_) { + return J.get$ctrlKey$x(this._html$_parent); + }, + get$metaKey: function(_) { + return J.get$metaKey$x(this._html$_parent); + }, + get$shiftKey: function(_) { + return J.get$shiftKey$x(this._html$_parent); + }, + _initKeyboardEvent$10: function(_, type, canBubble, cancelable, view, keyIdentifier, $location, ctrlKey, altKey, shiftKey, metaKey) { + throw H.wrapException(P.UnsupportedError$("Cannot initialize a KeyboardEvent from a KeyEvent.")); + }, + get$repeat: function(_) { + return H.throwExpression(P.UnimplementedError$(null)); + }, + $isKeyboardEvent: 1 + }; + W._WrappedEvent.prototype = { + get$currentTarget: function(_) { + return J.get$currentTarget$x(this.wrapped); + }, + get$target: function(_) { + return J.get$target$x(this.wrapped); + }, + _initEvent$3: function(_, type, bubbles, cancelable) { + throw H.wrapException(P.UnsupportedError$("Cannot initialize this Event.")); + }, + preventDefault$0: function(_) { + J.preventDefault$0$x(this.wrapped); + }, + stopPropagation$0: function(_) { + J.stopPropagation$0$x(this.wrapped); + }, + $isEvent: 1 + }; + W._TrustedHtmlTreeSanitizer.prototype = { + sanitizeTree$1: function(node) { + }, + $isNodeTreeSanitizer: 1 + }; + W._SameOriginUriPolicy.prototype = {$isUriPolicy: 1}; + W._ValidatingTreeSanitizer.prototype = { + sanitizeTree$1: function(node) { + var previousTreeModifications, + walk = new W._ValidatingTreeSanitizer_sanitizeTree_walk(this); + do { + previousTreeModifications = this.numTreeModifications; + walk.call$2(node, null); + } while (previousTreeModifications !== this.numTreeModifications); + }, + _removeNode$2: function(node, $parent) { + ++this.numTreeModifications; + if ($parent == null || $parent !== node.parentNode) + J.remove$0$ax(node); + else + $parent.removeChild(node); + }, + _sanitizeUntrustedElement$2: function(element, $parent) { + var corruptedTest1, elementText, elementTagName, exception, t1, + corrupted = true, + attrs = null, isAttr = null; + try { + attrs = J.get$attributes$x(element); + isAttr = attrs._html$_element.getAttribute("is"); + type$.Element._as(element); + corruptedTest1 = function(element) { + if (!(element.attributes instanceof NamedNodeMap)) + return true; + if (element.id == 'lastChild' || element.name == 'lastChild' || element.id == 'previousSibling' || element.name == 'previousSibling' || element.id == 'children' || element.name == 'children') + return true; + var childNodes = element.childNodes; + if (element.lastChild && element.lastChild !== childNodes[childNodes.length - 1]) + return true; + if (element.children) + if (!(element.children instanceof HTMLCollection || element.children instanceof NodeList)) + return true; + var length = 0; + if (element.children) + length = element.children.length; + for (var i = 0; i < length; i++) { + var child = element.children[i]; + if (child.id == 'attributes' || child.name == 'attributes' || child.id == 'lastChild' || child.name == 'lastChild' || child.id == 'previousSibling' || child.name == 'previousSibling' || child.id == 'children' || child.name == 'children') + return true; + } + return false; + }(element); + corrupted = H.boolConversionCheck(corruptedTest1) ? true : !(element.attributes instanceof NamedNodeMap); + } catch (exception) { + H.unwrapException(exception); + } + elementText = "element unprintable"; + try { + elementText = J.toString$0$(element); + } catch (exception) { + H.unwrapException(exception); + } + try { + elementTagName = W.Element__safeTagName(element); + this._sanitizeElement$7(type$.Element._as(element), $parent, corrupted, elementText, elementTagName, type$.Map_dynamic_dynamic._as(attrs), H._asStringQ(isAttr)); + } catch (exception) { + if (H.unwrapException(exception) instanceof P.ArgumentError) + throw exception; + else { + this._removeNode$2(element, $parent); + window; + t1 = "Removing corrupted element " + H.S(elementText); + if (typeof console != "undefined") + window.console.warn(t1); + } + } + }, + _sanitizeElement$7: function(element, $parent, corrupted, text, tag, attrs, isAttr) { + var t1, keys, i, $name, t2, t3, _this = this; + if (corrupted) { + _this._removeNode$2(element, $parent); + window; + t1 = "Removing element due to corrupted attributes on <" + text + ">"; + if (typeof console != "undefined") + window.console.warn(t1); + return; + } + if (!_this.validator.allowsElement$1(element)) { + _this._removeNode$2(element, $parent); + window; + t1 = "Removing disallowed element <" + H.S(tag) + "> from " + H.S($parent); + if (typeof console != "undefined") + window.console.warn(t1); + return; + } + if (isAttr != null) + if (!_this.validator.allowsAttribute$3(element, "is", isAttr)) { + _this._removeNode$2(element, $parent); + window; + t1 = "Removing disallowed type extension <" + H.S(tag) + ' is="' + isAttr + '">'; + if (typeof console != "undefined") + window.console.warn(t1); + return; + } + t1 = attrs.get$keys(attrs); + keys = H.setRuntimeTypeInfo(t1.slice(0), H._arrayInstanceType(t1)); + for (i = attrs.get$keys(attrs).length - 1, t1 = attrs._html$_element; i >= 0; --i) { + if (i >= keys.length) + return H.ioore(keys, i); + $name = keys[i]; + t2 = _this.validator; + t3 = J.toLowerCase$0$s($name); + H._asStringS($name); + if (!t2.allowsAttribute$3(element, t3, t1.getAttribute($name))) { + window; + t2 = "Removing disallowed attribute <" + H.S(tag) + " " + $name + '="' + H.S(t1.getAttribute($name)) + '">'; + if (typeof console != "undefined") + window.console.warn(t2); + t1.removeAttribute($name); + } + } + if (type$.TemplateElement._is(element)) { + t1 = element.content; + t1.toString; + _this.sanitizeTree$1(t1); + } + }, + $isNodeTreeSanitizer: 1 + }; + W._ValidatingTreeSanitizer_sanitizeTree_walk.prototype = { + call$2: function(node, $parent) { + var child, nextChild, t2, t3, t4, exception, + t1 = this.$this; + switch (node.nodeType) { + case 1: + t1._sanitizeUntrustedElement$2(node, $parent); + break; + case 8: + case 11: + case 3: + case 4: + break; + default: + t1._removeNode$2(node, $parent); + } + child = node.lastChild; + for (t2 = type$.Node; null != child;) { + nextChild = null; + try { + nextChild = child.previousSibling; + if (nextChild != null) { + t3 = nextChild.nextSibling; + t4 = child; + t4 = t3 == null ? t4 != null : t3 !== t4; + t3 = t4; + } else + t3 = false; + if (t3) { + t3 = P.StateError$("Corrupt HTML"); + throw H.wrapException(t3); + } + } catch (exception) { + H.unwrapException(exception); + t3 = t2._as(child); + ++t1.numTreeModifications; + t4 = t3.parentNode; + t4 = node == null ? t4 != null : node !== t4; + if (t4) { + t4 = t3.parentNode; + if (t4 != null) + t4.removeChild(t3); + } else + node.removeChild(t3); + child = null; + nextChild = node.lastChild; + } + if (child != null) + this.call$2(child, node); + child = nextChild; + } + }, + $signature: 456 + }; + W._CssStyleDeclaration_Interceptor_CssStyleDeclarationBase.prototype = {}; + W._DomRectList_Interceptor_ListMixin.prototype = {}; + W._DomRectList_Interceptor_ListMixin_ImmutableListMixin.prototype = {}; + W._DomStringList_Interceptor_ListMixin.prototype = {}; + W._DomStringList_Interceptor_ListMixin_ImmutableListMixin.prototype = {}; + W._FileList_Interceptor_ListMixin.prototype = {}; + W._FileList_Interceptor_ListMixin_ImmutableListMixin.prototype = {}; + W._HtmlCollection_Interceptor_ListMixin.prototype = {}; + W._HtmlCollection_Interceptor_ListMixin_ImmutableListMixin.prototype = {}; + W._MidiInputMap_Interceptor_MapMixin.prototype = {}; + W._MidiOutputMap_Interceptor_MapMixin.prototype = {}; + W._MimeTypeArray_Interceptor_ListMixin.prototype = {}; + W._MimeTypeArray_Interceptor_ListMixin_ImmutableListMixin.prototype = {}; + W._NodeList_Interceptor_ListMixin.prototype = {}; + W._NodeList_Interceptor_ListMixin_ImmutableListMixin.prototype = {}; + W._PluginArray_Interceptor_ListMixin.prototype = {}; + W._PluginArray_Interceptor_ListMixin_ImmutableListMixin.prototype = {}; + W._RtcStatsReport_Interceptor_MapMixin.prototype = {}; + W._SourceBufferList_EventTarget_ListMixin.prototype = {}; + W._SourceBufferList_EventTarget_ListMixin_ImmutableListMixin.prototype = {}; + W._SpeechGrammarList_Interceptor_ListMixin.prototype = {}; + W._SpeechGrammarList_Interceptor_ListMixin_ImmutableListMixin.prototype = {}; + W._Storage_Interceptor_MapMixin.prototype = {}; + W._TextTrackCueList_Interceptor_ListMixin.prototype = {}; + W._TextTrackCueList_Interceptor_ListMixin_ImmutableListMixin.prototype = {}; + W._TextTrackList_EventTarget_ListMixin.prototype = {}; + W._TextTrackList_EventTarget_ListMixin_ImmutableListMixin.prototype = {}; + W._TouchList_Interceptor_ListMixin.prototype = {}; + W._TouchList_Interceptor_ListMixin_ImmutableListMixin.prototype = {}; + W.__CssRuleList_Interceptor_ListMixin.prototype = {}; + W.__CssRuleList_Interceptor_ListMixin_ImmutableListMixin.prototype = {}; + W.__GamepadList_Interceptor_ListMixin.prototype = {}; + W.__GamepadList_Interceptor_ListMixin_ImmutableListMixin.prototype = {}; + W.__NamedNodeMap_Interceptor_ListMixin.prototype = {}; + W.__NamedNodeMap_Interceptor_ListMixin_ImmutableListMixin.prototype = {}; + W.__SpeechRecognitionResultList_Interceptor_ListMixin.prototype = {}; + W.__SpeechRecognitionResultList_Interceptor_ListMixin_ImmutableListMixin.prototype = {}; + W.__StyleSheetList_Interceptor_ListMixin.prototype = {}; + W.__StyleSheetList_Interceptor_ListMixin_ImmutableListMixin.prototype = {}; + P._StructuredClone.prototype = { + findSlot$1: function(value) { + var i, + t1 = this.values, + $length = t1.length; + for (i = 0; i < $length; ++i) + if (t1[i] === value) + return i; + C.JSArray_methods.add$1(t1, value); + C.JSArray_methods.add$1(this.copies, null); + return $length; + }, + walk$1: function(e) { + var slot, t2, copy, _this = this, t1 = {}; + if (e == null) + return e; + if (H._isBool(e)) + return e; + if (typeof e == "number") + return e; + if (typeof e == "string") + return e; + if (e instanceof P.DateTime) + return new Date(e._value); + if (type$.RegExp._is(e)) + throw H.wrapException(P.UnimplementedError$("structured clone of RegExp")); + if (type$.File._is(e)) + return e; + if (type$.Blob._is(e)) + return e; + if (type$.FileList._is(e)) + return e; + if (type$.ImageData._is(e)) + return e; + if (type$.NativeByteBuffer._is(e) || type$.NativeTypedData._is(e) || type$.MessagePort._is(e)) + return e; + if (type$.Map_dynamic_dynamic._is(e)) { + slot = _this.findSlot$1(e); + t2 = _this.copies; + if (slot >= t2.length) + return H.ioore(t2, slot); + copy = t1.copy = t2[slot]; + if (copy != null) + return copy; + copy = {}; + t1.copy = copy; + C.JSArray_methods.$indexSet(t2, slot, copy); + J.forEach$1$ax(e, new P._StructuredClone_walk_closure(t1, _this)); + return t1.copy; + } + if (type$.List_dynamic._is(e)) { + slot = _this.findSlot$1(e); + t1 = _this.copies; + if (slot >= t1.length) + return H.ioore(t1, slot); + copy = t1[slot]; + if (copy != null) + return copy; + return _this.copyList$2(e, slot); + } + if (type$.JSObject._is(e)) { + slot = _this.findSlot$1(e); + t2 = _this.copies; + if (slot >= t2.length) + return H.ioore(t2, slot); + copy = t1.copy = t2[slot]; + if (copy != null) + return copy; + copy = {}; + t1.copy = copy; + C.JSArray_methods.$indexSet(t2, slot, copy); + _this.forEachObjectKey$2(e, new P._StructuredClone_walk_closure0(t1, _this)); + return t1.copy; + } + throw H.wrapException(P.UnimplementedError$("structured clone of other type")); + }, + copyList$2: function(e, slot) { + var i, + t1 = J.getInterceptor$asx(e), + $length = t1.get$length(e), + copy = new Array($length); + C.JSArray_methods.$indexSet(this.copies, slot, copy); + if (typeof $length !== "number") + return H.iae($length); + i = 0; + for (; i < $length; ++i) + C.JSArray_methods.$indexSet(copy, i, this.walk$1(t1.$index(e, i))); + return copy; + } + }; + P._StructuredClone_walk_closure.prototype = { + call$2: function(key, value) { + this._box_0.copy[key] = this.$this.walk$1(value); + }, + $signature: 45 + }; + P._StructuredClone_walk_closure0.prototype = { + call$2: function(key, value) { + this._box_0.copy[key] = this.$this.walk$1(value); + }, + $signature: 163 + }; + P._AcceptStructuredClone.prototype = { + findSlot$1: function(value) { + var i, + t1 = this.values, + $length = t1.length; + for (i = 0; i < $length; ++i) + if (t1[i] === value) + return i; + C.JSArray_methods.add$1(t1, value); + C.JSArray_methods.add$1(this.copies, null); + return $length; + }, + walk$1: function(e) { + var proto, slot, t1, copy, t2, l, $length, i, _this = this, _box_0 = {}; + if (e == null) + return e; + if (H._isBool(e)) + return e; + if (typeof e == "number") + return e; + if (typeof e == "string") + return e; + if (e instanceof Date) + return P.DateTime$fromMillisecondsSinceEpoch(e.getTime(), true); + if (e instanceof RegExp) + throw H.wrapException(P.UnimplementedError$("structured clone of RegExp")); + if (typeof Promise != "undefined" && e instanceof Promise) + return P.promiseToFuture(e, type$.dynamic); + proto = Object.getPrototypeOf(e); + if (proto === Object.prototype || proto === null) { + slot = _this.findSlot$1(e); + t1 = _this.copies; + if (slot >= t1.length) + return H.ioore(t1, slot); + copy = _box_0.copy = t1[slot]; + if (copy != null) + return copy; + t2 = type$.dynamic; + copy = P.LinkedHashMap_LinkedHashMap$_empty(t2, t2); + _box_0.copy = copy; + C.JSArray_methods.$indexSet(t1, slot, copy); + _this.forEachJsField$2(e, new P._AcceptStructuredClone_walk_closure(_box_0, _this)); + return _box_0.copy; + } + if (e instanceof Array) { + l = e; + slot = _this.findSlot$1(l); + t1 = _this.copies; + if (slot >= t1.length) + return H.ioore(t1, slot); + copy = t1[slot]; + if (copy != null) + return copy; + t2 = J.getInterceptor$asx(l); + $length = t2.get$length(l); + copy = _this.mustCopy ? new Array($length) : l; + C.JSArray_methods.$indexSet(t1, slot, copy); + if (typeof $length !== "number") + return H.iae($length); + t1 = J.getInterceptor$ax(copy); + i = 0; + for (; i < $length; ++i) + t1.$indexSet(copy, i, _this.walk$1(t2.$index(l, i))); + return copy; + } + return e; + }, + convertNativeToDart_AcceptStructuredClone$2$mustCopy: function(object, mustCopy) { + this.mustCopy = mustCopy; + return this.walk$1(object); + } + }; + P._AcceptStructuredClone_walk_closure.prototype = { + call$2: function(key, value) { + var t1 = this._box_0.copy, + t2 = this.$this.walk$1(value); + J.$indexSet$ax(t1, key, t2); + return t2; + }, + $signature: 220 + }; + P._convertDartToNative_Value_closure.prototype = { + call$1: function(element) { + this.array.push(P._convertDartToNative_Value(element)); + }, + $signature: 36 + }; + P.convertDartToNative_Dictionary_closure.prototype = { + call$2: function(key, value) { + this.object[key] = P._convertDartToNative_Value(value); + }, + $signature: 45 + }; + P._StructuredCloneDart2Js.prototype = { + forEachObjectKey$2: function(object, action) { + var t1, t2, _i, key; + type$.dynamic_Function_dynamic_dynamic._as(action); + for (t1 = Object.keys(object), t2 = t1.length, _i = 0; _i < t2; ++_i) { + key = t1[_i]; + action.call$2(key, object[key]); + } + } + }; + P._AcceptStructuredCloneDart2Js.prototype = { + forEachJsField$2: function(object, action) { + var t1, t2, _i, key; + type$.dynamic_Function_dynamic_dynamic._as(action); + for (t1 = Object.keys(object), t2 = t1.length, _i = 0; _i < t1.length; t1.length === t2 || (0, H.throwConcurrentModificationError)(t1), ++_i) { + key = t1[_i]; + action.call$2(key, object[key]); + } + } + }; + P.CssClassSetImpl.prototype = { + _validateToken$1: function(value) { + var t1; + H._asStringS(value); + t1 = $.$get$CssClassSetImpl__validTokenRE()._nativeRegExp; + if (typeof value != "string") + H.throwExpression(H.argumentErrorValue(value)); + if (t1.test(value)) + return value; + throw H.wrapException(P.ArgumentError$value(value, "value", "Not a valid class token")); + }, + toString$0: function(_) { + return this.readClasses$0().join$1(0, " "); + }, + get$iterator: function(_) { + var t1 = this.readClasses$0(); + return P._LinkedHashSetIterator$(t1, t1._collection$_modifications, H._instanceType(t1)._precomputed1); + }, + forEach$1: function(_, f) { + type$.void_Function_String._as(f); + this.readClasses$0().forEach$1(0, f); + }, + join$1: function(_, separator) { + return this.readClasses$0().join$1(0, separator); + }, + map$1$1: function(_, f, $T) { + var t1, t2; + $T._eval$1("0(String)")._as(f); + t1 = this.readClasses$0(); + t2 = H._instanceType(t1); + return new H.EfficientLengthMappedIterable(t1, t2._bind$1($T)._eval$1("1(SetMixin.E)")._as(f), t2._eval$1("@")._bind$1($T)._eval$1("EfficientLengthMappedIterable<1,2>")); + }, + map$1: function($receiver, f) { + return this.map$1$1($receiver, f, type$.dynamic); + }, + where$1: function(_, f) { + var t1, t2; + type$.bool_Function_String._as(f); + t1 = this.readClasses$0(); + t2 = H._instanceType(t1); + return new H.WhereIterable(t1, t2._eval$1("bool(SetMixin.E)")._as(f), t2._eval$1("WhereIterable")); + }, + expand$1$1: function(_, f, $T) { + var t1, t2; + $T._eval$1("Iterable<0>(String)")._as(f); + t1 = this.readClasses$0(); + t2 = H._instanceType(t1); + return new H.ExpandIterable(t1, t2._bind$1($T)._eval$1("Iterable<1>(SetMixin.E)")._as(f), t2._eval$1("@")._bind$1($T)._eval$1("ExpandIterable<1,2>")); + }, + every$1: function(_, f) { + type$.bool_Function_String._as(f); + return this.readClasses$0().every$1(0, f); + }, + get$isEmpty: function(_) { + return this.readClasses$0()._collection$_length === 0; + }, + get$isNotEmpty: function(_) { + return this.readClasses$0()._collection$_length !== 0; + }, + get$length: function(_) { + return this.readClasses$0()._collection$_length; + }, + contains$1: function(_, value) { + if (typeof value != "string") + return false; + this._validateToken$1(value); + return this.readClasses$0().contains$1(0, value); + }, + add$1: function(_, value) { + var t1; + H._asStringS(value); + this._validateToken$1(value); + t1 = this.modify$1(0, new P.CssClassSetImpl_add_closure(value)); + return H._asBoolS(t1 == null ? false : t1); + }, + remove$1: function(_, value) { + var s, result; + if (typeof value != "string") + return false; + this._validateToken$1(value); + s = this.readClasses$0(); + result = s.remove$1(0, value); + this.writeClasses$1(s); + return result; + }, + addAll$1: function(_, iterable) { + this.modify$1(0, new P.CssClassSetImpl_addAll_closure(this, type$.Iterable_String._as(iterable))); + }, + removeAll$1: function(iterable) { + this.modify$1(0, new P.CssClassSetImpl_removeAll_closure(iterable)); + }, + removeWhere$1: function(_, test) { + this.modify$1(0, new P.CssClassSetImpl_removeWhere_closure(type$.bool_Function_String._as(test))); + }, + containsAll$1: function(collection) { + return this.readClasses$0().containsAll$1(collection); + }, + intersection$1: function(_, other) { + return this.readClasses$0().intersection$1(0, other); + }, + union$1: function(other) { + type$.Set_String._as(other); + return this.readClasses$0().union$1(other); + }, + difference$1: function(other) { + return this.readClasses$0().difference$1(other); + }, + get$first: function(_) { + var t1 = this.readClasses$0(); + return t1.get$first(t1); + }, + get$last: function(_) { + var t1 = this.readClasses$0(); + return t1.get$last(t1); + }, + get$single: function(_) { + var t1 = this.readClasses$0(); + return t1.get$single(t1); + }, + toList$1$growable: function(_, growable) { + var t1 = this.readClasses$0(); + return P.List_List$of(t1, growable, H._instanceType(t1)._eval$1("SetMixin.E")); + }, + toList$0: function($receiver) { + return this.toList$1$growable($receiver, true); + }, + toSet$0: function(_) { + return this.readClasses$0().toSet$0(0); + }, + take$1: function(_, n) { + var t1 = this.readClasses$0(); + return H.TakeIterable_TakeIterable(t1, n, H._instanceType(t1)._eval$1("SetMixin.E")); + }, + skip$1: function(_, n) { + var t1 = this.readClasses$0(); + return H.SkipIterable_SkipIterable(t1, n, H._instanceType(t1)._eval$1("SetMixin.E")); + }, + elementAt$1: function(_, index) { + return this.readClasses$0().elementAt$1(0, index); + }, + clear$0: function(_) { + this.modify$1(0, new P.CssClassSetImpl_clear_closure()); + }, + modify$1: function(_, f) { + var s, ret; + type$.dynamic_Function_Set_String._as(f); + s = this.readClasses$0(); + ret = f.call$1(s); + this.writeClasses$1(s); + return ret; + } + }; + P.CssClassSetImpl_add_closure.prototype = { + call$1: function(s) { + return type$.Set_String._as(s).add$1(0, this.value); + }, + $signature: 221 + }; + P.CssClassSetImpl_addAll_closure.prototype = { + call$1: function(s) { + return type$.Set_String._as(s).addAll$1(0, J.map$1$1$ax(this.iterable, this.$this.get$_validateToken(), type$.String)); + }, + $signature: 66 + }; + P.CssClassSetImpl_removeAll_closure.prototype = { + call$1: function(s) { + return type$.Set_String._as(s).removeAll$1(this.iterable); + }, + $signature: 66 + }; + P.CssClassSetImpl_removeWhere_closure.prototype = { + call$1: function(s) { + type$.Set_String._as(s); + s._filterWhere$2(H._instanceType(s)._eval$1("bool(1)")._as(this.test), true); + return null; + }, + $signature: 66 + }; + P.CssClassSetImpl_clear_closure.prototype = { + call$1: function(s) { + return type$.Set_String._as(s).clear$0(0); + }, + $signature: 66 + }; + P.FilteredElementList.prototype = { + get$_html_common$_iterable: function() { + var t1 = this._childNodes, + t2 = H._instanceType(t1); + return new H.MappedIterable(new H.WhereIterable(t1, t2._eval$1("bool(ListMixin.E)")._as(new P.FilteredElementList__iterable_closure()), t2._eval$1("WhereIterable")), t2._eval$1("Element(ListMixin.E)")._as(new P.FilteredElementList__iterable_closure0()), t2._eval$1("MappedIterable")); + }, + forEach$1: function(_, f) { + type$.void_Function_Element._as(f); + C.JSArray_methods.forEach$1(P.List_List$from(this.get$_html_common$_iterable(), false, type$.Element), f); + }, + $indexSet: function(_, index, value) { + var t1; + H._asIntS(index); + type$.Element._as(value); + t1 = this.get$_html_common$_iterable(); + J.replaceWith$1$x(t1._f.call$1(J.elementAt$1$ax(t1.__internal$_iterable, index)), value); + }, + set$length: function(_, newLength) { + var len = J.get$length$asx(this.get$_html_common$_iterable().__internal$_iterable); + if (typeof len !== "number") + return H.iae(len); + if (newLength >= len) + return; + else if (newLength < 0) + throw H.wrapException(P.ArgumentError$("Invalid list length")); + this.removeRange$2(0, newLength, len); + }, + add$1: function(_, value) { + this._childNodes._this.appendChild(type$.Element._as(value)); + }, + addAll$1: function(_, iterable) { + var t1, t2; + for (t1 = J.get$iterator$ax(type$.Iterable_Element._as(iterable)), t2 = this._childNodes._this; t1.moveNext$0();) + t2.appendChild(t1.get$current(t1)); + }, + contains$1: function(_, needle) { + if (!type$.Element._is(needle)) + return false; + return needle.parentNode === this._node; + }, + get$reversed: function(_) { + var t1 = P.List_List$from(this.get$_html_common$_iterable(), false, type$.Element); + return new H.ReversedListIterable(t1, H._arrayInstanceType(t1)._eval$1("ReversedListIterable<1>")); + }, + sort$1: function(_, compare) { + type$.nullable_int_Function_Element_Element._as(compare); + throw H.wrapException(P.UnsupportedError$("Cannot sort filtered list")); + }, + sort$0: function($receiver) { + return this.sort$1($receiver, null); + }, + setRange$4: function(_, start, end, iterable, skipCount) { + H._asIntS(end); + type$.Iterable_Element._as(iterable); + throw H.wrapException(P.UnsupportedError$("Cannot setRange on filtered list")); + }, + setRange$3: function($receiver, start, end, iterable) { + return this.setRange$4($receiver, start, end, iterable, 0); + }, + removeRange$2: function(_, start, end) { + var t1 = this.get$_html_common$_iterable(); + t1 = H.SkipIterable_SkipIterable(t1, start, t1.$ti._eval$1("Iterable.E")); + if (typeof end !== "number") + return end.$sub(); + if (typeof start !== "number") + return H.iae(start); + C.JSArray_methods.forEach$1(P.List_List$from(H.TakeIterable_TakeIterable(t1, end - start, H._instanceType(t1)._eval$1("Iterable.E")), true, type$.dynamic), new P.FilteredElementList_removeRange_closure()); + }, + clear$0: function(_) { + J._clearChildren$0$x(this._childNodes._this); + }, + removeLast$0: function(_) { + var t1 = this.get$_html_common$_iterable(), + result = t1._f.call$1(J.get$last$ax(t1.__internal$_iterable)); + if (result != null) + J.remove$0$ax(result); + return result; + }, + insert$2: function(_, index, value) { + var t1, element; + type$.Element._as(value); + if (index === J.get$length$asx(this.get$_html_common$_iterable().__internal$_iterable)) + this._childNodes._this.appendChild(value); + else { + t1 = this.get$_html_common$_iterable(); + element = t1._f.call$1(J.elementAt$1$ax(t1.__internal$_iterable, index)); + t1 = element.parentNode; + t1.toString; + J.insertBefore$2$x(t1, value, element); + } + }, + insertAll$2: function(_, index, iterable) { + var t1, element; + type$.Iterable_Element._as(iterable); + if (index === J.get$length$asx(this.get$_html_common$_iterable().__internal$_iterable)) + this.addAll$1(0, iterable); + else { + t1 = this.get$_html_common$_iterable(); + element = t1._f.call$1(J.elementAt$1$ax(t1.__internal$_iterable, index)); + t1 = element.parentNode; + t1.toString; + J.insertAllBefore$2$x(t1, iterable, element); + } + }, + removeAt$1: function(_, index) { + var t1 = this.get$_html_common$_iterable(); + t1 = t1._f.call$1(J.elementAt$1$ax(t1.__internal$_iterable, index)); + J.remove$0$ax(t1); + return t1; + }, + remove$1: function(_, element) { + if (!type$.Element._is(element)) + return false; + if (this.contains$1(0, element)) { + J.remove$0$ax(element); + return true; + } else + return false; + }, + get$length: function(_) { + return J.get$length$asx(this.get$_html_common$_iterable().__internal$_iterable); + }, + $index: function(_, index) { + var t1; + H._asIntS(index); + t1 = this.get$_html_common$_iterable(); + return t1._f.call$1(J.elementAt$1$ax(t1.__internal$_iterable, index)); + }, + get$iterator: function(_) { + var t1 = P.List_List$from(this.get$_html_common$_iterable(), false, type$.Element); + return new J.ArrayIterator(t1, t1.length, H._arrayInstanceType(t1)._eval$1("ArrayIterator<1>")); + } + }; + P.FilteredElementList__iterable_closure.prototype = { + call$1: function(n) { + return type$.Element._is(type$.Node._as(n)); + }, + $signature: 165 + }; + P.FilteredElementList__iterable_closure0.prototype = { + call$1: function(n) { + return type$.Element._as(type$.Node._as(n)); + }, + $signature: 223 + }; + P.FilteredElementList_removeRange_closure.prototype = { + call$1: function(el) { + return J.remove$0$ax(el); + }, + $signature: 36 + }; + P.Cursor.prototype = {}; + P.CursorWithValue.prototype = { + get$value: function(receiver) { + return new P._AcceptStructuredCloneDart2Js([], []).convertNativeToDart_AcceptStructuredClone$2$mustCopy(receiver.value, false); + } + }; + P._completeRequest_closure.prototype = { + call$1: function(e) { + this.completer.complete$1(0, this.T._as(new P._AcceptStructuredCloneDart2Js([], []).convertNativeToDart_AcceptStructuredClone$2$mustCopy(this.request.result, false))); + }, + $signature: 42 + }; + P.KeyRange.prototype = {$isKeyRange: 1}; + P.ObjectStore.prototype = { + add$1: function(receiver, value) { + var request, e, stacktrace, t1, exception, key = null; + try { + request = null; + if (key != null) + request = this._indexed_db$_add$2(receiver, value, key); + else + request = this._indexed_db$_add$1(receiver, value); + t1 = P._completeRequest(type$.Request._as(request), type$.dynamic); + return t1; + } catch (exception) { + e = H.unwrapException(exception); + stacktrace = H.getTraceFromException(exception); + t1 = P.Future_Future$error(e, stacktrace, type$.dynamic); + return t1; + } + }, + _indexed_db$_add$2: function(receiver, value, key) { + return receiver.add(new P._StructuredCloneDart2Js([], []).walk$1(value)); + }, + _indexed_db$_add$1: function($receiver, value) { + return this._indexed_db$_add$2($receiver, value, null); + } + }; + P.Observation.prototype = { + get$value: function(receiver) { + return receiver.value; + } + }; + P.Request0.prototype = {$isRequest0: 1}; + P.VersionChangeEvent.prototype = { + get$target: function(receiver) { + return receiver.target; + } + }; + P._convertToJS_closure.prototype = { + call$1: function(o) { + var jsFunction; + type$.Function._as(o); + jsFunction = function(_call, f, captureThis) { + return function() { + return _call(f, captureThis, this, Array.prototype.slice.apply(arguments)); + }; + }(P._callDartFunction, o, false); + P._defineProperty(jsFunction, $.$get$DART_CLOSURE_PROPERTY_NAME(), o); + return jsFunction; + }, + $signature: 14 + }; + P._convertToJS_closure0.prototype = { + call$1: function(o) { + return new this.ctor(o); + }, + $signature: 14 + }; + P._wrapToDart_closure.prototype = { + call$1: function(o) { + return new P.JsFunction(o); + }, + $signature: 224 + }; + P._wrapToDart_closure0.prototype = { + call$1: function(o) { + return new P.JsArray(o, type$.JsArray_dynamic); + }, + $signature: 225 + }; + P._wrapToDart_closure1.prototype = { + call$1: function(o) { + return new P.JsObject(o); + }, + $signature: 227 + }; + P.JsObject.prototype = { + $index: function(_, property) { + if (typeof property != "string" && typeof property != "number") + throw H.wrapException(P.ArgumentError$("property is not a String or num")); + return P._convertToDart(this._js$_jsObject[property]); + }, + $indexSet: function(_, property, value) { + if (typeof property != "string" && typeof property != "number") + throw H.wrapException(P.ArgumentError$("property is not a String or num")); + this._js$_jsObject[property] = P._convertToJS(value); + }, + $eq: function(_, other) { + if (other == null) + return false; + return other instanceof P.JsObject && this._js$_jsObject === other._js$_jsObject; + }, + toString$0: function(_) { + var t1, exception; + try { + t1 = String(this._js$_jsObject); + return t1; + } catch (exception) { + H.unwrapException(exception); + t1 = this.super$Object$toString(0); + return t1; + } + }, + callMethod$2: function(method, args) { + var t2, + t1 = this._js$_jsObject; + if (args == null) + t2 = null; + else { + t2 = H._arrayInstanceType(args); + t2 = P.List_List$from(new H.MappedListIterable(args, t2._eval$1("@(1)")._as(P.js___convertToJS$closure()), t2._eval$1("MappedListIterable<1,@>")), true, type$.dynamic); + } + return P._convertToDart(t1[method].apply(t1, t2)); + }, + callMethod$1: function(method) { + return this.callMethod$2(method, null); + }, + get$hashCode: function(_) { + return 0; + } + }; + P.JsFunction.prototype = {}; + P.JsArray.prototype = { + _checkIndex$1: function(index) { + var _this = this, + t1 = index < 0 || index >= _this.get$length(_this); + if (t1) + throw H.wrapException(P.RangeError$range(index, 0, _this.get$length(_this), null, null)); + }, + $index: function(_, index) { + if (H._isInt(index)) + this._checkIndex$1(index); + return this.$ti._precomputed1._as(this.super$JsObject$$index(0, index)); + }, + $indexSet: function(_, index, value) { + if (H._isInt(index)) + this._checkIndex$1(index); + this.super$_JsArray_JsObject_ListMixin$$indexSet(0, index, value); + }, + get$length: function(_) { + var len = this._js$_jsObject.length; + if (typeof len === "number" && len >>> 0 === len) + return len; + throw H.wrapException(P.StateError$("Bad JsArray length")); + }, + set$length: function(_, $length) { + this.super$_JsArray_JsObject_ListMixin$$indexSet(0, "length", $length); + }, + add$1: function(_, value) { + this.callMethod$2("push", [this.$ti._precomputed1._as(value)]); + }, + addAll$1: function(_, iterable) { + this.$ti._eval$1("Iterable<1>")._as(iterable); + this.callMethod$2("push", iterable instanceof Array ? iterable : P.List_List$from(iterable, true, type$.dynamic)); + }, + insert$2: function(_, index, element) { + var t1, _this = this; + _this.$ti._precomputed1._as(element); + t1 = index < 0 || index >= _this.get$length(_this) + 1; + if (t1) + H.throwExpression(P.RangeError$range(index, 0, _this.get$length(_this), null, null)); + _this.callMethod$2("splice", [index, 0, element]); + }, + removeAt$1: function(_, index) { + this._checkIndex$1(index); + return this.$ti._precomputed1._as(J.$index$asx(this.callMethod$2("splice", [index, 1]), 0)); + }, + removeLast$0: function(_) { + var _this = this; + if (_this.get$length(_this) === 0) + throw H.wrapException(P.RangeError$(-1)); + return _this.$ti._precomputed1._as(_this.callMethod$1("pop")); + }, + removeRange$2: function(_, start, end) { + P.JsArray__checkRange(start, end, this.get$length(this)); + if (typeof end !== "number") + return end.$sub(); + if (typeof start !== "number") + return H.iae(start); + this.callMethod$2("splice", [start, end - start]); + }, + setRange$4: function(_, start, end, iterable, skipCount) { + var $length, args, _this = this; + H._asIntS(end); + _this.$ti._eval$1("Iterable<1>")._as(iterable); + P.JsArray__checkRange(start, end, _this.get$length(_this)); + if (typeof end !== "number") + return end.$sub(); + $length = end - start; + if ($length === 0) + return; + if (skipCount < 0) + throw H.wrapException(P.ArgumentError$(skipCount)); + args = [start, $length]; + C.JSArray_methods.addAll$1(args, J.skip$1$ax(iterable, skipCount).take$1(0, $length)); + _this.callMethod$2("splice", args); + }, + setRange$3: function($receiver, start, end, iterable) { + return this.setRange$4($receiver, start, end, iterable, 0); + }, + sort$1: function(_, compare) { + this.$ti._eval$1("int(1,1)?")._as(compare); + this.callMethod$2("sort", compare == null ? [] : [compare]); + }, + sort$0: function($receiver) { + return this.sort$1($receiver, null); + }, + $isEfficientLengthIterable: 1, + $isIterable: 1, + $isList: 1 + }; + P._JsArray_JsObject_ListMixin.prototype = { + $indexSet: function(_, property, value) { + return this.super$JsObject$$indexSet(0, property, value); + } + }; + P._convertDataTree__convert0.prototype = { + call$1: function(o) { + var convertedMap, t2, key, convertedList, + t1 = this._convertedObjects; + if (t1.containsKey$1(0, o)) + return t1.$index(0, o); + if (type$.Map_dynamic_dynamic._is(o)) { + convertedMap = {}; + t1.$indexSet(0, o, convertedMap); + for (t1 = J.getInterceptor$x(o), t2 = J.get$iterator$ax(t1.get$keys(o)); t2.moveNext$0();) { + key = t2.get$current(t2); + convertedMap[key] = this.call$1(t1.$index(o, key)); + } + return convertedMap; + } else if (type$.Iterable_dynamic._is(o)) { + convertedList = []; + t1.$indexSet(0, o, convertedList); + C.JSArray_methods.addAll$1(convertedList, J.map$1$1$ax(o, this, type$.dynamic)); + return convertedList; + } else + return o; + }, + $signature: 85 + }; + P.NullRejectionException.prototype = { + toString$0: function(_) { + return "Promise was rejected with a value of `" + (this.isUndefined ? "undefined" : "null") + "`."; + }, + $isException: 1 + }; + P.promiseToFuture_closure.prototype = { + call$1: function(r) { + return this.completer.complete$1(0, this.T._eval$1("0/?")._as(r)); + }, + $signature: 36 + }; + P.promiseToFuture_closure0.prototype = { + call$1: function(e) { + if (e == null) + return this.completer.completeError$1(new P.NullRejectionException(e === undefined)); + return this.completer.completeError$1(e); + }, + $signature: 36 + }; + P.Point.prototype = { + toString$0: function(_) { + return "Point(" + H.S(this.x) + ", " + H.S(this.y) + ")"; + }, + $eq: function(_, other) { + if (other == null) + return false; + return other instanceof P.Point && this.x == other.x && this.y == other.y; + }, + get$hashCode: function(_) { + var t1 = J.get$hashCode$(this.x), + t2 = J.get$hashCode$(this.y); + return H.SystemHash_finish(H.SystemHash_combine(H.SystemHash_combine(0, t1), t2)); + }, + $add: function(_, other) { + var t2, t3, t4, t5, + t1 = this.$ti; + t1._as(other); + t2 = this.x; + t3 = other.x; + if (typeof t2 !== "number") + return t2.$add(); + if (typeof t3 !== "number") + return H.iae(t3); + t4 = t1._precomputed1; + t3 = t4._as(t2 + t3); + t2 = this.y; + t5 = other.y; + if (typeof t2 !== "number") + return t2.$add(); + if (typeof t5 !== "number") + return H.iae(t5); + return new P.Point(t3, t4._as(t2 + t5), t1); + }, + $sub: function(_, other) { + var t2, t3, t4, t5, + t1 = this.$ti; + t1._as(other); + t2 = this.x; + t3 = other.x; + if (typeof t2 !== "number") + return t2.$sub(); + if (typeof t3 !== "number") + return H.iae(t3); + t4 = t1._precomputed1; + t3 = t4._as(t2 - t3); + t2 = this.y; + t5 = other.y; + if (typeof t2 !== "number") + return t2.$sub(); + if (typeof t5 !== "number") + return H.iae(t5); + return new P.Point(t3, t4._as(t2 - t5), t1); + }, + $mul: function(_, factor) { + var t2, t3, t4, + t1 = this.x; + if (typeof t1 !== "number") + return t1.$mul(); + t2 = this.$ti; + t3 = t2._precomputed1; + t1 = t3._as(t1 * factor); + t4 = this.y; + if (typeof t4 !== "number") + return t4.$mul(); + return new P.Point(t1, t3._as(t4 * factor), t2); + }, + get$magnitude: function() { + var t2, + t1 = this.x; + if (typeof t1 !== "number") + return t1.$mul(); + t2 = this.y; + if (typeof t2 !== "number") + return t2.$mul(); + return Math.sqrt(t1 * t1 + t2 * t2); + } + }; + P._RectangleBase.prototype = { + get$right: function(_) { + var t1 = this.left; + if (typeof t1 !== "number") + return t1.$add(); + return this.$ti._precomputed1._as(t1 + this.width); + }, + get$bottom: function(_) { + var t1 = this.top; + if (typeof t1 !== "number") + return t1.$add(); + return this.$ti._precomputed1._as(t1 + this.height); + }, + toString$0: function(_) { + var _this = this; + return "Rectangle (" + H.S(_this.left) + ", " + H.S(_this.top) + ") " + H.S(_this.width) + " x " + H.S(_this.height); + }, + $eq: function(_, other) { + var t1, t2, t3, t4, _this = this; + if (other == null) + return false; + if (type$.Rectangle_num._is(other)) { + t1 = _this.left; + t2 = J.getInterceptor$x(other); + if (t1 == t2.get$left(other)) { + t3 = _this.top; + if (t3 == t2.get$top(other)) { + if (typeof t1 !== "number") + return t1.$add(); + t4 = _this.$ti._precomputed1; + if (t4._as(t1 + _this.width) === t2.get$right(other)) { + if (typeof t3 !== "number") + return t3.$add(); + t1 = t4._as(t3 + _this.height) === t2.get$bottom(other); + } else + t1 = false; + } else + t1 = false; + } else + t1 = false; + } else + t1 = false; + return t1; + }, + get$hashCode: function(_) { + var t5, _this = this, + t1 = _this.left, + t2 = J.get$hashCode$(t1), + t3 = _this.top, + t4 = J.get$hashCode$(t3); + if (typeof t1 !== "number") + return t1.$add(); + t5 = _this.$ti._precomputed1; + t1 = C.JSNumber_methods.get$hashCode(t5._as(t1 + _this.width)); + if (typeof t3 !== "number") + return t3.$add(); + t3 = C.JSNumber_methods.get$hashCode(t5._as(t3 + _this.height)); + return H.SystemHash_finish(H.SystemHash_combine(H.SystemHash_combine(H.SystemHash_combine(H.SystemHash_combine(0, t2), t4), t1), t3)); + } + }; + P.Rectangle.prototype = { + get$left: function(receiver) { + return this.left; + }, + get$top: function(receiver) { + return this.top; + }, + get$width: function(receiver) { + return this.width; + }, + get$height: function(receiver) { + return this.height; + } + }; + P.AElement.prototype = { + get$target: function(receiver) { + return receiver.target; + } + }; + P.Angle.prototype = { + get$value: function(receiver) { + return receiver.value; + }, + set$value: function(receiver, value) { + receiver.value = value; + } + }; + P.CircleElement.prototype = {$isCircleElement: 1}; + P.DefsElement.prototype = {$isDefsElement: 1}; + P.FEGaussianBlurElement.prototype = {$isFEGaussianBlurElement: 1}; + P.FEMergeElement.prototype = {$isFEMergeElement: 1}; + P.FEMergeNodeElement.prototype = {$isFEMergeNodeElement: 1}; + P.FilterElement.prototype = {$isFilterElement: 1}; + P.GElement.prototype = {$isGElement: 1}; + P.GeometryElement.prototype = {}; + P.GraphicsElement.prototype = {$isGraphicsElement: 1}; + P.Length.prototype = { + get$value: function(receiver) { + return receiver.value; + }, + set$value: function(receiver, value) { + receiver.value = value; + }, + $isLength: 1 + }; + P.LengthList.prototype = { + get$length: function(receiver) { + return receiver.length; + }, + $index: function(receiver, index) { + H._asIntS(index); + if (index >>> 0 !== index || index >= receiver.length) + throw H.wrapException(P.IndexError$(index, receiver, null, null, null)); + return receiver.getItem(index); + }, + $indexSet: function(receiver, index, value) { + H._asIntS(index); + type$.Length._as(value); + throw H.wrapException(P.UnsupportedError$("Cannot assign element of immutable List.")); + }, + set$length: function(receiver, value) { + throw H.wrapException(P.UnsupportedError$("Cannot resize immutable List.")); + }, + get$first: function(receiver) { + if (receiver.length > 0) + return receiver[0]; + throw H.wrapException(P.StateError$("No elements")); + }, + get$last: function(receiver) { + var len = receiver.length; + if (len > 0) + return receiver[len - 1]; + throw H.wrapException(P.StateError$("No elements")); + }, + get$single: function(receiver) { + var len = receiver.length; + if (len === 1) + return receiver[0]; + if (len === 0) + throw H.wrapException(P.StateError$("No elements")); + throw H.wrapException(P.StateError$("More than one element")); + }, + elementAt$1: function(receiver, index) { + return this.$index(receiver, index); + }, + clear$0: function(receiver) { + return receiver.clear(); + }, + $isEfficientLengthIterable: 1, + $isIterable: 1, + $isList: 1 + }; + P.Number.prototype = { + get$value: function(receiver) { + return receiver.value; + }, + set$value: function(receiver, value) { + receiver.value = value; + }, + $isNumber: 1 + }; + P.NumberList.prototype = { + get$length: function(receiver) { + return receiver.length; + }, + $index: function(receiver, index) { + H._asIntS(index); + if (index >>> 0 !== index || index >= receiver.length) + throw H.wrapException(P.IndexError$(index, receiver, null, null, null)); + return receiver.getItem(index); + }, + $indexSet: function(receiver, index, value) { + H._asIntS(index); + type$.Number._as(value); + throw H.wrapException(P.UnsupportedError$("Cannot assign element of immutable List.")); + }, + set$length: function(receiver, value) { + throw H.wrapException(P.UnsupportedError$("Cannot resize immutable List.")); + }, + get$first: function(receiver) { + if (receiver.length > 0) + return receiver[0]; + throw H.wrapException(P.StateError$("No elements")); + }, + get$last: function(receiver) { + var len = receiver.length; + if (len > 0) + return receiver[len - 1]; + throw H.wrapException(P.StateError$("No elements")); + }, + get$single: function(receiver) { + var len = receiver.length; + if (len === 1) + return receiver[0]; + if (len === 0) + throw H.wrapException(P.StateError$("No elements")); + throw H.wrapException(P.StateError$("More than one element")); + }, + elementAt$1: function(receiver, index) { + return this.$index(receiver, index); + }, + clear$0: function(receiver) { + return receiver.clear(); + }, + $isEfficientLengthIterable: 1, + $isIterable: 1, + $isList: 1 + }; + P.Point0.prototype = { + set$x: function(receiver, value) { + receiver.x = value; + }, + set$y: function(receiver, value) { + receiver.y = value; + }, + $isPoint0: 1 + }; + P.PointList.prototype = { + get$length: function(receiver) { + return receiver.length; + } + }; + P.PolygonElement.prototype = {$isPolygonElement: 1}; + P.RectElement.prototype = {$isRectElement: 1}; + P.StringList.prototype = { + get$length: function(receiver) { + return receiver.length; + }, + $index: function(receiver, index) { + H._asIntS(index); + if (index >>> 0 !== index || index >= receiver.length) + throw H.wrapException(P.IndexError$(index, receiver, null, null, null)); + return receiver.getItem(index); + }, + $indexSet: function(receiver, index, value) { + H._asIntS(index); + H._asStringS(value); + throw H.wrapException(P.UnsupportedError$("Cannot assign element of immutable List.")); + }, + set$length: function(receiver, value) { + throw H.wrapException(P.UnsupportedError$("Cannot resize immutable List.")); + }, + get$first: function(receiver) { + if (receiver.length > 0) + return receiver[0]; + throw H.wrapException(P.StateError$("No elements")); + }, + get$last: function(receiver) { + var len = receiver.length; + if (len > 0) + return receiver[len - 1]; + throw H.wrapException(P.StateError$("No elements")); + }, + get$single: function(receiver) { + var len = receiver.length; + if (len === 1) + return receiver[0]; + if (len === 0) + throw H.wrapException(P.StateError$("No elements")); + throw H.wrapException(P.StateError$("More than one element")); + }, + elementAt$1: function(receiver, index) { + return this.$index(receiver, index); + }, + clear$0: function(receiver) { + return receiver.clear(); + }, + $isEfficientLengthIterable: 1, + $isIterable: 1, + $isList: 1 + }; + P.AttributeClassSet.prototype = { + readClasses$0: function() { + var t1, t2, _i, trimmed, + classname = this._svg$_element.getAttribute("class"), + s = P.LinkedHashSet_LinkedHashSet(type$.String); + if (classname == null) + return s; + for (t1 = classname.split(" "), t2 = t1.length, _i = 0; _i < t2; ++_i) { + trimmed = J.trim$0$s(t1[_i]); + if (trimmed.length !== 0) + s.add$1(0, trimmed); + } + return s; + }, + writeClasses$1: function(s) { + this._svg$_element.setAttribute("class", s.join$1(0, " ")); + } + }; + P.SvgElement.prototype = { + get$classes: function(receiver) { + return new P.AttributeClassSet(receiver); + }, + set$children: function(receiver, value) { + type$.List_Element._as(value); + this._clearChildren$0(receiver); + new P.FilteredElementList(receiver, new W._ChildNodeListLazy(receiver)).addAll$1(0, value); + }, + get$innerHtml: function(receiver) { + var container = document.createElement("div"), + cloned = type$.SvgElement._as(this.clone$1(receiver, true)); + cloned.toString; + W._ChildrenElementList__addAll(container, type$.Iterable_Element._as(new P.FilteredElementList(cloned, new W._ChildNodeListLazy(cloned)))); + return container.innerHTML; + }, + click$0: function(receiver) { + throw H.wrapException(P.UnsupportedError$("Cannot invoke click SVG.")); + }, + get$onClick: function(receiver) { + return new W._ElementEventStreamImpl(receiver, "click", false, type$._ElementEventStreamImpl_legacy_MouseEvent); + }, + get$onMouseDown: function(receiver) { + return new W._ElementEventStreamImpl(receiver, "mousedown", false, type$._ElementEventStreamImpl_legacy_MouseEvent); + }, + get$onTouchStart: function(receiver) { + return new W._ElementEventStreamImpl(receiver, "touchstart", false, type$._ElementEventStreamImpl_legacy_TouchEvent); + }, + $isSvgElement: 1 + }; + P.SvgSvgElement.prototype = {$isSvgSvgElement: 1}; + P.TextContentElement.prototype = {$isTextContentElement: 1}; + P.TextElement.prototype = {$isTextElement: 1}; + P.TextPathElement.prototype = {$isTextPathElement: 1}; + P.TextPositioningElement.prototype = {}; + P.Transform.prototype = {$isTransform: 1}; + P.TransformList.prototype = { + get$length: function(receiver) { + return receiver.length; + }, + $index: function(receiver, index) { + H._asIntS(index); + if (index >>> 0 !== index || index >= receiver.length) + throw H.wrapException(P.IndexError$(index, receiver, null, null, null)); + return receiver.getItem(index); + }, + $indexSet: function(receiver, index, value) { + H._asIntS(index); + type$.Transform._as(value); + throw H.wrapException(P.UnsupportedError$("Cannot assign element of immutable List.")); + }, + set$length: function(receiver, value) { + throw H.wrapException(P.UnsupportedError$("Cannot resize immutable List.")); + }, + get$first: function(receiver) { + if (receiver.length > 0) + return receiver[0]; + throw H.wrapException(P.StateError$("No elements")); + }, + get$last: function(receiver) { + var len = receiver.length; + if (len > 0) + return receiver[len - 1]; + throw H.wrapException(P.StateError$("No elements")); + }, + get$single: function(receiver) { + var len = receiver.length; + if (len === 1) + return receiver[0]; + if (len === 0) + throw H.wrapException(P.StateError$("No elements")); + throw H.wrapException(P.StateError$("More than one element")); + }, + elementAt$1: function(receiver, index) { + return this.$index(receiver, index); + }, + clear$0: function(receiver) { + return receiver.clear(); + }, + $isEfficientLengthIterable: 1, + $isIterable: 1, + $isList: 1 + }; + P._LengthList_Interceptor_ListMixin.prototype = {}; + P._LengthList_Interceptor_ListMixin_ImmutableListMixin.prototype = {}; + P._NumberList_Interceptor_ListMixin.prototype = {}; + P._NumberList_Interceptor_ListMixin_ImmutableListMixin.prototype = {}; + P._StringList_Interceptor_ListMixin.prototype = {}; + P._StringList_Interceptor_ListMixin_ImmutableListMixin.prototype = {}; + P._TransformList_Interceptor_ListMixin.prototype = {}; + P._TransformList_Interceptor_ListMixin_ImmutableListMixin.prototype = {}; + P.Endian.prototype = {}; + P.UnmodifiableByteBufferView.prototype = { + asUint8List$2: function(_, offsetInBytes, $length) { + return new P.UnmodifiableUint8ListView(H.NativeUint8List_NativeUint8List$view(this._typed_data$_data, offsetInBytes, $length)); + }, + asByteData$2: function(_, offsetInBytes, $length) { + return new P.UnmodifiableByteDataView(H.NativeByteData_NativeByteData$view(this._typed_data$_data, offsetInBytes, $length)); + }, + $isByteBuffer: 1 + }; + P.UnmodifiableByteDataView.prototype = { + getUint32$2: function(_, byteOffset, endian) { + return C.NativeByteData_methods._getUint32$2(this._typed_data$_data, byteOffset, C.C_Endian === endian); + }, + setUint32$3: function(_, byteOffset, value, endian) { + return this._unsupported$0(); + }, + get$offsetInBytes: function(_) { + return this._typed_data$_data.byteOffset; + }, + get$lengthInBytes: function(_) { + return this._typed_data$_data.byteLength; + }, + get$buffer: function(_) { + return new P.UnmodifiableByteBufferView(this._typed_data$_data.buffer); + }, + _unsupported$0: function() { + throw H.wrapException(P.UnsupportedError$("An UnmodifiableByteDataView may not be modified")); + }, + $isTypedData: 1, + $isByteData: 1 + }; + P._UnmodifiableListMixin.prototype = { + get$length: function(_) { + return this.get$_typed_data$_list().length; + }, + $index: function(_, index) { + H._asIntS(index); + return J.$index$asx(this.get$_typed_data$_list(), index); + }, + get$offsetInBytes: function(_) { + return H._instanceType(this)._eval$1("_UnmodifiableListMixin.2")._as(this.get$_typed_data$_list()).byteOffset; + }, + get$lengthInBytes: function(_) { + return H._instanceType(this)._eval$1("_UnmodifiableListMixin.2")._as(this.get$_typed_data$_list()).byteLength; + }, + get$buffer: function(_) { + return new P.UnmodifiableByteBufferView(H._instanceType(this)._eval$1("_UnmodifiableListMixin.2")._as(this.get$_typed_data$_list()).buffer); + }, + sublist$2: function(_, start, end) { + var endIndex, sublistLength, result; + end.toString; + endIndex = P.RangeError_checkValidRange(start, end, this.get$_typed_data$_list().length); + if (typeof endIndex !== "number") + return endIndex.$sub(); + sublistLength = endIndex - start; + result = this._createList$1(sublistLength); + J.setRange$4$ax(result, 0, sublistLength, this.get$_typed_data$_list(), start); + return result; + }, + sublist$1: function($receiver, start) { + return this.sublist$2($receiver, start, null); + } + }; + P.UnmodifiableUint8ListView.prototype = { + _createList$1: function($length) { + return new Uint8Array($length); + }, + $isTypedData: 1, + $isUint8List: 1, + get$_typed_data$_list: function() { + return this._typed_data$_list; + } + }; + P.UnmodifiableInt32ListView.prototype = { + _createList$1: function($length) { + return new Int32Array($length); + }, + $isTypedData: 1, + $isInt32List: 1, + get$_typed_data$_list: function() { + return this._typed_data$_list; + } + }; + P._UnmodifiableInt32ListView_UnmodifiableListBase__UnmodifiableListMixin.prototype = {}; + P._UnmodifiableUint8ListView_UnmodifiableListBase__UnmodifiableListMixin.prototype = {}; + P.AudioBuffer.prototype = { + get$length: function(receiver) { + return receiver.length; + } + }; + P.AudioNode.prototype = {}; + P.AudioParam.prototype = { + get$value: function(receiver) { + return receiver.value; + }, + set$value: function(receiver, value) { + receiver.value = value; + } + }; + P.AudioParamMap.prototype = { + containsKey$1: function(receiver, key) { + return P.convertNativeToDart_Dictionary(receiver.get(H._asStringS(key))) != null; + }, + $index: function(receiver, key) { + return P.convertNativeToDart_Dictionary(receiver.get(H._asStringS(key))); + }, + forEach$1: function(receiver, f) { + var entries, entry; + type$.void_Function_String_dynamic._as(f); + entries = receiver.entries(); + for (; true;) { + entry = entries.next(); + if (entry.done) + return; + f.call$2(entry.value[0], P.convertNativeToDart_Dictionary(entry.value[1])); + } + }, + get$keys: function(receiver) { + var keys = H.setRuntimeTypeInfo([], type$.JSArray_String); + this.forEach$1(receiver, new P.AudioParamMap_keys_closure(keys)); + return keys; + }, + get$values: function(receiver) { + var values = H.setRuntimeTypeInfo([], type$.JSArray_Map_dynamic_dynamic); + this.forEach$1(receiver, new P.AudioParamMap_values_closure(values)); + return values; + }, + get$length: function(receiver) { + return receiver.size; + }, + get$isEmpty: function(receiver) { + return receiver.size === 0; + }, + get$isNotEmpty: function(receiver) { + return receiver.size !== 0; + }, + $indexSet: function(receiver, key, value) { + H._asStringS(key); + throw H.wrapException(P.UnsupportedError$("Not supported")); + }, + remove$1: function(receiver, key) { + throw H.wrapException(P.UnsupportedError$("Not supported")); + }, + $isMap: 1 + }; + P.AudioParamMap_keys_closure.prototype = { + call$2: function(k, v) { + return C.JSArray_methods.add$1(this.keys, k); + }, + $signature: 31 + }; + P.AudioParamMap_values_closure.prototype = { + call$2: function(k, v) { + return C.JSArray_methods.add$1(this.values, v); + }, + $signature: 31 + }; + P.AudioScheduledSourceNode.prototype = {}; + P.AudioTrackList.prototype = { + get$length: function(receiver) { + return receiver.length; + } + }; + P.BaseAudioContext.prototype = {}; + P.ConstantSourceNode.prototype = { + get$offset: function(receiver) { + return receiver.offset; + } + }; + P.OfflineAudioContext.prototype = { + get$length: function(receiver) { + return receiver.length; + } + }; + P._AudioParamMap_Interceptor_MapMixin.prototype = {}; + P.SqlError.prototype = { + get$message: function(receiver) { + return receiver.message; + } + }; + P.SqlResultSetRowList.prototype = { + get$length: function(receiver) { + return receiver.length; + }, + $index: function(receiver, index) { + var t1; + H._asIntS(index); + if (index >>> 0 !== index || index >= receiver.length) + throw H.wrapException(P.IndexError$(index, receiver, null, null, null)); + t1 = P.convertNativeToDart_Dictionary(receiver.item(index)); + t1.toString; + return t1; + }, + $indexSet: function(receiver, index, value) { + H._asIntS(index); + type$.Map_dynamic_dynamic._as(value); + throw H.wrapException(P.UnsupportedError$("Cannot assign element of immutable List.")); + }, + set$length: function(receiver, value) { + throw H.wrapException(P.UnsupportedError$("Cannot resize immutable List.")); + }, + get$first: function(receiver) { + if (receiver.length > 0) + return receiver[0]; + throw H.wrapException(P.StateError$("No elements")); + }, + get$last: function(receiver) { + var len = receiver.length; + if (len > 0) + return receiver[len - 1]; + throw H.wrapException(P.StateError$("No elements")); + }, + get$single: function(receiver) { + var len = receiver.length; + if (len === 1) + return receiver[0]; + if (len === 0) + throw H.wrapException(P.StateError$("No elements")); + throw H.wrapException(P.StateError$("More than one element")); + }, + elementAt$1: function(receiver, index) { + return this.$index(receiver, index); + }, + $isEfficientLengthIterable: 1, + $isIterable: 1, + $isList: 1 + }; + P._SqlResultSetRowList_Interceptor_ListMixin.prototype = {}; + P._SqlResultSetRowList_Interceptor_ListMixin_ImmutableListMixin.prototype = {}; + D.Archive.prototype = { + addFile$1: function(_, file) { + var t2, + t1 = this._fileMap, + index = t1.$index(0, file.name); + if (index != null) { + C.JSArray_methods.$indexSet(this.files, index, file); + return; + } + t2 = this.files; + C.JSArray_methods.add$1(t2, file); + t1.$indexSet(0, file.name, t2.length - 1); + }, + get$length: function(_) { + return this.files.length; + }, + $index: function(_, index) { + return C.JSArray_methods.$index(this.files, H._asIntS(index)); + }, + findFile$1: function($name) { + var t1, + index = this._fileMap.$index(0, $name); + if (index != null) { + t1 = this.files; + if (index >>> 0 !== index || index >= t1.length) + return H.ioore(t1, index); + t1 = t1[index]; + } else + t1 = null; + return t1; + }, + get$first: function(_) { + return C.JSArray_methods.get$first(this.files); + }, + get$last: function(_) { + return C.JSArray_methods.get$last(this.files); + }, + get$isEmpty: function(_) { + return this.files.length === 0; + }, + get$isNotEmpty: function(_) { + return this.files.length !== 0; + }, + get$iterator: function(_) { + var t1 = this.files; + return new J.ArrayIterator(t1, t1.length, H._arrayInstanceType(t1)._eval$1("ArrayIterator<1>")); + } + }; + B.ArchiveFile.prototype = { + ArchiveFile$4: function($name, size, $content, _compressionType) { + var t2, _this = this, + t1 = _this.name; + t1.toString; + _this.name = H.stringReplaceAllUnchecked(t1, "\\", "/"); + t1 = type$.Uint8List; + if (t1._is($content)) { + _this._archive_file$_content = $content; + _this._rawContent = T.InputStream$($content, 0, null, 0); + t1 = _this.size; + if (typeof t1 !== "number") + return t1.$le(); + if (t1 <= 0) + _this.size = J.get$length$asx($content); + } else if (type$.TypedData._is($content)) { + t2 = J.asUint8List$2$x(J.get$buffer$x($content), 0, null); + _this._archive_file$_content = t2; + _this._rawContent = T.InputStream$(t2, 0, null, 0); + t2 = _this.size; + if (typeof t2 !== "number") + return t2.$le(); + if (t2 <= 0) + _this.size = J.get$length$asx(t1._as(_this._archive_file$_content)); + } else if (type$.List_int._is($content)) { + _this._archive_file$_content = $content; + _this._rawContent = T.InputStream$($content, 0, null, 0); + t1 = _this.size; + if (typeof t1 !== "number") + return t1.$le(); + if (t1 <= 0) + _this.size = J.get$length$asx($content); + } else if ($content instanceof X.FileContent) + _this._archive_file$_content = $content; + }, + get$content: function(_) { + var _this = this, + t1 = _this._archive_file$_content; + if ((t1 instanceof X.FileContent ? _this._archive_file$_content = t1.get$content(t1) : t1) == null) + _this.decompress$0(); + return _this._archive_file$_content; + }, + decompress$0: function() { + var t1, t2, t3, t4, _this = this; + if (_this._archive_file$_content == null && _this._rawContent != null) { + if (_this._compressionType === 8) { + t1 = _this._rawContent; + t1 = t1.toUint8List$0(); + t2 = Y.HuffmanTable$(C.List_2Bc); + t3 = Y.HuffmanTable$(C.List_X3d1); + t1 = T.InputStream$(t1, 0, null, 0); + t4 = Q.OutputStream$(null); + t3 = new S.Inflate(t1, t4, t2, t3); + t3.inputSet = true; + t3._inflate$0(); + _this._archive_file$_content = type$.List_int._as(C.NativeByteBuffer_methods.asUint8List$2(t4._output_stream$_buffer.buffer, 0, t4.length)); + } else { + t1 = _this._rawContent; + _this._archive_file$_content = t1.toUint8List$0(); + } + _this._compressionType = 0; + } + }, + toString$0: function(_) { + return this.name; + } + }; + A.Bz2BitReader.prototype = { + readBits$1: function(numBits) { + var t1, value, t2, t3, t4, t5, _this = this; + if (numBits === 0) + return 0; + if (_this._bitPos === 0) { + _this._bitPos = 8; + _this._bz2_bit_reader$_bitBuffer = _this.input.readByte$0(); + } + for (t1 = _this.input, value = 0; t2 = _this._bitPos, numBits > t2;) { + t3 = C.JSInt_methods.$shl(value, t2); + t4 = _this._bz2_bit_reader$_bitBuffer; + if (t2 < 0 || t2 >= 9) + return H.ioore(C.List_knt, t2); + t5 = C.List_knt[t2]; + if (typeof t4 !== "number") + return t4.$and(); + value = t3 + (t4 & t5); + numBits -= t2; + _this._bitPos = 8; + _this._bz2_bit_reader$_bitBuffer = J.$index$asx(t1.buffer, t1.offset++); + } + if (numBits > 0) { + if (t2 === 0) { + _this._bitPos = 8; + _this._bz2_bit_reader$_bitBuffer = t1.readByte$0(); + } + t1 = C.JSInt_methods.$shl(value, numBits); + t2 = _this._bz2_bit_reader$_bitBuffer; + t3 = _this._bitPos - numBits; + if (typeof t2 !== "number") + return t2.$shr(); + t2 = C.JSInt_methods.$shr(t2, t3); + if (numBits >= 9) + return H.ioore(C.List_knt, numBits); + value = t1 + (t2 & C.List_knt[numBits]); + _this._bitPos = t3; + } + return value; + } + }; + L.BZip2Decoder.prototype = { + decodeStream$2: function(input, output) { + var t1, combinedCrc, type, blockCrc, _this = this, + br = new A.Bz2BitReader(input); + _this._gMinlen = _this._gSel = _this._groupNo = _this._groupPos = 0; + if (br.readBits$1(8) !== 66 || br.readBits$1(8) !== 90 || br.readBits$1(8) !== 104) + throw H.wrapException(R.ArchiveException$("Invalid Signature")); + _this.__BZip2Decoder__blockSize100k = br.readBits$1(8) - 48; + t1 = _this.get$_blockSize100k(); + if (typeof t1 !== "number") + return t1.$lt(); + if (t1 >= 0) { + t1 = _this.get$_blockSize100k(); + if (typeof t1 !== "number") + return t1.$gt(); + t1 = t1 > 9; + } else + t1 = true; + if (t1) + throw H.wrapException(R.ArchiveException$("Invalid BlockSize")); + t1 = _this.get$_blockSize100k(); + if (typeof t1 !== "number") + return t1.$mul(); + _this.__BZip2Decoder__tt = new Uint32Array(t1 * 100000); + for (combinedCrc = 0; true;) { + type = _this._readBlockType$1(br); + if (type === 0) { + br.readBits$1(8); + br.readBits$1(8); + br.readBits$1(8); + br.readBits$1(8); + blockCrc = _this._readCompressed$2(br, output); + combinedCrc = (combinedCrc << 1 | combinedCrc >>> 31) ^ blockCrc ^ 4294967295; + } else if (type === 2) { + br.readBits$1(8); + br.readBits$1(8); + br.readBits$1(8); + br.readBits$1(8); + return; + } + } + }, + _readBlockType$1: function(br) { + var eos, compressed, i, b; + for (eos = true, compressed = true, i = 0; i < 6; ++i) { + b = br.readBits$1(8); + if (b !== C.List_ww8[i]) + compressed = false; + if (b !== C.List_ww80[i]) + eos = false; + if (!eos && !compressed) + throw H.wrapException(R.ArchiveException$("Invalid Block Signature")); + } + return compressed ? 0 : 2; + }, + _readCompressed$2: function(br, output) { + var i, t1, k, j, alphaSize, numGroups, pos, v, tmp, v0, t, c, t2, t3, minLen, maxLen, t4, eob, nblockMAX, kk, ii, jj, nextSym, nblock, es, $N, uc, nn, pp, z, lno, off, pp0, tPos, tPos0, k0, rNToGo, rTPos, sSaveNBlockPP, blockCrc, cStateOutLen, cStateOutCh, cNBlockUsed, k1, k00, cK0, cK00, _this = this, + _s8_ = "_inUse16", + _s10_ = "Data error", + _s13_ = "_numSelectors", + _s12_ = "_selectorMtf", + _s4_ = "_len", _s5_ = "_mtfa", + _s8_0 = "_mtfbase", + _s11_ = "_seqToUnseq", + _s8_1 = "_unzftab", + _s3_ = "_tt", _s6_ = "_cftab", _4294967295 = 4294967295, + _s10_0 = "Data Error", + blockRandomized = br.readBits$1(1), + origPtr = ((br.readBits$1(8) << 8 | br.readBits$1(8)) << 8 | br.readBits$1(8)) >>> 0; + _this.__BZip2Decoder__inUse16 = new Uint8Array(16); + for (i = 0; i < 16; ++i) { + t1 = _this.__BZip2Decoder__inUse16; + if (t1 === $) + t1 = H.throwExpression(H.LateError$fieldNI(_s8_)); + J.$indexSet$ax(t1, i, br.readBits$1(1)); + } + _this.__BZip2Decoder__inUse = new Uint8Array(256); + for (i = 0, k = 0; i < 16; ++i, k += 16) { + t1 = _this.__BZip2Decoder__inUse16; + if (J.$index$asx(t1 === $ ? H.throwExpression(H.LateError$fieldNI(_s8_)) : t1, i) !== 0) + for (j = 0; j < 16; ++j) { + t1 = _this.__BZip2Decoder__inUse; + if (t1 === $) + t1 = H.throwExpression(H.LateError$fieldNI("_inUse")); + J.$indexSet$ax(t1, k + j, br.readBits$1(1)); + } + } + _this._makeMaps$0(); + t1 = _this._numInUse; + if (t1 === 0) + throw H.wrapException(R.ArchiveException$(_s10_)); + alphaSize = t1 + 2; + numGroups = br.readBits$1(3); + if (numGroups < 2 || numGroups > 6) + throw H.wrapException(R.ArchiveException$(_s10_)); + _this.__BZip2Decoder__numSelectors = br.readBits$1(15); + t1 = _this.get$_numSelectors(); + if (typeof t1 !== "number") + return t1.$lt(); + if (t1 < 1) + throw H.wrapException(R.ArchiveException$(_s10_)); + _this.__BZip2Decoder__selectorMtf = new Uint8Array(18002); + _this.__BZip2Decoder__selector = new Uint8Array(18002); + i = 0; + while (true) { + t1 = _this.__BZip2Decoder__numSelectors; + if (t1 === $) + t1 = H.throwExpression(H.LateError$fieldNI(_s13_)); + if (typeof t1 !== "number") + return H.iae(t1); + if (!(i < t1)) + break; + for (j = 0; true;) { + if (br.readBits$1(1) === 0) + break; + ++j; + if (j >= numGroups) + throw H.wrapException(R.ArchiveException$(_s10_)); + } + t1 = _this.__BZip2Decoder__selectorMtf; + J.$indexSet$ax(t1 === $ ? H.throwExpression(H.LateError$fieldNI(_s12_)) : t1, i, j); + ++i; + } + pos = new Uint8Array(6); + for (i = 0; i < numGroups; ++i) { + if (i >= 6) + return H.ioore(pos, i); + pos[i] = i; + } + i = 0; + while (true) { + t1 = _this.__BZip2Decoder__numSelectors; + if (t1 === $) + t1 = H.throwExpression(H.LateError$fieldNI(_s13_)); + if (typeof t1 !== "number") + return H.iae(t1); + if (!(i < t1)) + break; + t1 = _this.__BZip2Decoder__selectorMtf; + v = J.$index$asx(t1 === $ ? H.throwExpression(H.LateError$fieldNI(_s12_)) : t1, i); + if (v < 0 || v >= 6) + return H.ioore(pos, v); + tmp = pos[v]; + for (; v > 0; v = v0) { + v0 = v - 1; + pos[v] = pos[v0]; + } + pos[0] = tmp; + t1 = _this.__BZip2Decoder__selector; + J.$indexSet$ax(t1 === $ ? H.throwExpression(H.LateError$fieldNI("_selector")) : t1, i, tmp); + ++i; + } + _this.set$__BZip2Decoder__len(type$.List_Uint8List._as(P.List_List$filled(6, $.$get$BZip2_emptyUint8List(), false, type$.Uint8List))); + for (t = 0; t < numGroups; ++t) { + t1 = _this.__BZip2Decoder__len; + if (t1 === $) + t1 = H.throwExpression(H.LateError$fieldNI(_s4_)); + J.$indexSet$ax(t1, t, new Uint8Array(258)); + c = br.readBits$1(5); + for (i = 0; i < alphaSize; ++i) { + for (; true;) { + if (c < 1 || c > 20) + throw H.wrapException(R.ArchiveException$(_s10_)); + if (br.readBits$1(1) === 0) + break; + c = br.readBits$1(1) === 0 ? c + 1 : c - 1; + } + t1 = _this.__BZip2Decoder__len; + J.$indexSet$ax(J.$index$asx(t1 === $ ? H.throwExpression(H.LateError$fieldNI(_s4_)) : t1, t), i, c); + } + } + t1 = $.$get$BZip2_emptyInt32List(); + t2 = type$.Int32List; + t3 = type$.List_Int32List; + _this.set$__BZip2Decoder__limit(t3._as(P.List_List$filled(6, t1, false, t2))); + _this.set$__BZip2Decoder__base(t3._as(P.List_List$filled(6, t1, false, t2))); + _this.set$__BZip2Decoder__perm(t3._as(P.List_List$filled(6, t1, false, t2))); + _this.__BZip2Decoder__minLens = new Int32Array(6); + for (t = 0; t < numGroups; ++t) { + t1 = _this.__BZip2Decoder__limit; + if (t1 === $) + t1 = H.throwExpression(H.LateError$fieldNI("_limit")); + J.$indexSet$ax(t1, t, new Int32Array(258)); + t1 = _this.__BZip2Decoder__base; + if (t1 === $) + t1 = H.throwExpression(H.LateError$fieldNI("_base")); + J.$indexSet$ax(t1, t, new Int32Array(258)); + t1 = _this.__BZip2Decoder__perm; + if (t1 === $) + t1 = H.throwExpression(H.LateError$fieldNI("_perm")); + J.$indexSet$ax(t1, t, new Int32Array(258)); + for (minLen = 32, maxLen = 0, i = 0; i < alphaSize; ++i) { + t1 = _this.__BZip2Decoder__len; + if (J.$index$asx(J.$index$asx(t1 === $ ? H.throwExpression(H.LateError$fieldNI(_s4_)) : t1, t), i) > maxLen) { + t1 = _this.__BZip2Decoder__len; + maxLen = J.$index$asx(J.$index$asx(t1 === $ ? H.throwExpression(H.LateError$fieldNI(_s4_)) : t1, t), i); + } + t1 = _this.__BZip2Decoder__len; + if (J.$index$asx(J.$index$asx(t1 === $ ? H.throwExpression(H.LateError$fieldNI(_s4_)) : t1, t), i) < minLen) { + t1 = _this.__BZip2Decoder__len; + minLen = J.$index$asx(J.$index$asx(t1 === $ ? H.throwExpression(H.LateError$fieldNI(_s4_)) : t1, t), i); + } + } + t1 = _this.__BZip2Decoder__limit; + t1 = J.$index$asx(t1 === $ ? H.throwExpression(H.LateError$fieldNI("_limit")) : t1, t); + t2 = _this.__BZip2Decoder__base; + t2 = J.$index$asx(t2 === $ ? H.throwExpression(H.LateError$fieldNI("_base")) : t2, t); + t3 = _this.__BZip2Decoder__perm; + t3 = J.$index$asx(t3 === $ ? H.throwExpression(H.LateError$fieldNI("_perm")) : t3, t); + t4 = _this.__BZip2Decoder__len; + _this._hbCreateDecodeTables$7(t1, t2, t3, J.$index$asx(t4 === $ ? H.throwExpression(H.LateError$fieldNI(_s4_)) : t4, t), minLen, maxLen, alphaSize); + t1 = _this.__BZip2Decoder__minLens; + J.$indexSet$ax(t1 === $ ? H.throwExpression(H.LateError$fieldNI("_minLens")) : t1, t, minLen); + } + eob = _this._numInUse + 1; + t1 = _this.get$_blockSize100k(); + if (typeof t1 !== "number") + return H.iae(t1); + nblockMAX = 100000 * t1; + _this.__BZip2Decoder__unzftab = new Int32Array(256); + _this.__BZip2Decoder__mtfa = new Uint8Array(4096); + _this.__BZip2Decoder__mtfbase = new Int32Array(16); + for (kk = 4095, ii = 15; ii >= 0; --ii) { + for (t1 = ii * 16, jj = 15; jj >= 0; --jj) { + t2 = _this.__BZip2Decoder__mtfa; + if (t2 === $) + t2 = H.throwExpression(H.LateError$fieldNI(_s5_)); + J.$indexSet$ax(t2, kk, t1 + jj); + --kk; + } + t1 = _this.__BZip2Decoder__mtfbase; + if (t1 === $) + t1 = H.throwExpression(H.LateError$fieldNI(_s8_0)); + J.$indexSet$ax(t1, ii, kk + 1); + } + _this._groupPos = 0; + _this._groupNo = -1; + nextSym = _this._getMtfVal$1(br); + for (nblock = 0; true;) { + if (nextSym === eob) + break; + if (nextSym === 0 || nextSym === 1) { + es = -1; + $N = 1; + do { + if ($N >= 2097152) + throw H.wrapException(R.ArchiveException$(_s10_)); + if (nextSym === 0) + es += $N; + else if (nextSym === 1) + es += 2 * $N; + $N *= 2; + nextSym = _this._getMtfVal$1(br); + } while (nextSym === 0 || nextSym === 1); + ++es; + t1 = _this.__BZip2Decoder__seqToUnseq; + if (t1 === $) + t1 = H.throwExpression(H.LateError$fieldNI(_s11_)); + t2 = _this.__BZip2Decoder__mtfa; + if (t2 === $) + t2 = H.throwExpression(H.LateError$fieldNI(_s5_)); + t3 = _this.__BZip2Decoder__mtfbase; + uc = J.$index$asx(t1, J.$index$asx(t2, J.$index$asx(t3 === $ ? H.throwExpression(H.LateError$fieldNI(_s8_0)) : t3, 0))); + t1 = _this.__BZip2Decoder__unzftab; + if (t1 === $) + t1 = H.throwExpression(H.LateError$fieldNI(_s8_1)); + t2 = J.getInterceptor$asx(t1); + t2.$indexSet(t1, uc, t2.$index(t1, uc) + es); + for (; es > 0;) { + if (nblock >= nblockMAX) + throw H.wrapException(R.ArchiveException$(_s10_)); + t1 = _this.__BZip2Decoder__tt; + if (t1 === $) + t1 = H.throwExpression(H.LateError$fieldNI(_s3_)); + if (nblock < 0 || nblock >= t1.length) + return H.ioore(t1, nblock); + t1[nblock] = uc; + ++nblock; + --es; + } + continue; + } else { + if (nblock >= nblockMAX) + throw H.wrapException(R.ArchiveException$(_s10_)); + nn = nextSym - 1; + t1 = _this.__BZip2Decoder__mtfbase; + if (nn < 16) { + pp = J.$index$asx(t1 === $ ? H.throwExpression(H.LateError$fieldNI(_s8_0)) : t1, 0); + t1 = _this.__BZip2Decoder__mtfa; + if (t1 === $) + t1 = H.throwExpression(H.LateError$fieldNI(_s5_)); + uc = J.$index$asx(t1, pp + nn); + for (; nn > 3;) { + z = pp + nn; + t1 = _this.__BZip2Decoder__mtfa; + t2 = t1 === $ ? H.throwExpression(H.LateError$fieldNI(_s5_)) : t1; + t3 = z - 1; + J.$indexSet$ax(t2, z, J.$index$asx(t1, t3)); + t1 = _this.__BZip2Decoder__mtfa; + t2 = t1 === $ ? H.throwExpression(H.LateError$fieldNI(_s5_)) : t1; + t4 = z - 2; + J.$indexSet$ax(t2, t3, J.$index$asx(t1, t4)); + t1 = _this.__BZip2Decoder__mtfa; + t2 = t1 === $ ? H.throwExpression(H.LateError$fieldNI(_s5_)) : t1; + t3 = z - 3; + J.$indexSet$ax(t2, t4, J.$index$asx(t1, t3)); + t1 = _this.__BZip2Decoder__mtfa; + t2 = t1 === $ ? H.throwExpression(H.LateError$fieldNI(_s5_)) : t1; + J.$indexSet$ax(t2, t3, J.$index$asx(t1, z - 4)); + nn -= 4; + } + for (; nn > 0;) { + t1 = _this.__BZip2Decoder__mtfa; + t2 = t1 === $ ? H.throwExpression(H.LateError$fieldNI(_s5_)) : t1; + t3 = pp + nn; + J.$indexSet$ax(t2, t3, J.$index$asx(t1, t3 - 1)); + --nn; + } + t1 = _this.__BZip2Decoder__mtfa; + J.$indexSet$ax(t1 === $ ? H.throwExpression(H.LateError$fieldNI(_s5_)) : t1, pp, uc); + } else { + lno = C.JSInt_methods._tdivFast$1(nn, 16); + off = C.JSInt_methods.$mod(nn, 16); + pp = J.$index$asx(t1 === $ ? H.throwExpression(H.LateError$fieldNI(_s8_0)) : t1, lno) + off; + t1 = _this.__BZip2Decoder__mtfa; + uc = J.$index$asx(t1 === $ ? H.throwExpression(H.LateError$fieldNI(_s5_)) : t1, pp); + while (true) { + t1 = _this.__BZip2Decoder__mtfbase; + if (!(pp > J.$index$asx(t1 === $ ? H.throwExpression(H.LateError$fieldNI(_s8_0)) : t1, lno))) + break; + t1 = _this.__BZip2Decoder__mtfa; + t2 = t1 === $ ? H.throwExpression(H.LateError$fieldNI(_s5_)) : t1; + pp0 = pp - 1; + J.$indexSet$ax(t2, pp, J.$index$asx(t1, pp0)); + pp = pp0; + } + t1 = _this.__BZip2Decoder__mtfbase; + if (t1 === $) + t1 = H.throwExpression(H.LateError$fieldNI(_s8_0)); + t2 = J.getInterceptor$asx(t1); + t2.$indexSet(t1, lno, t2.$index(t1, lno) + 1); + for (; lno > 0;) { + t1 = _this.__BZip2Decoder__mtfbase; + if (t1 === $) + t1 = H.throwExpression(H.LateError$fieldNI(_s8_0)); + t2 = J.getInterceptor$asx(t1); + t2.$indexSet(t1, lno, t2.$index(t1, lno) - 1); + t1 = _this.__BZip2Decoder__mtfa; + if (t1 === $) + t1 = H.throwExpression(H.LateError$fieldNI(_s5_)); + t2 = _this.__BZip2Decoder__mtfbase; + t2 = J.$index$asx(t2 === $ ? H.throwExpression(H.LateError$fieldNI(_s8_0)) : t2, lno); + t3 = _this.__BZip2Decoder__mtfa; + if (t3 === $) + t3 = H.throwExpression(H.LateError$fieldNI(_s5_)); + t4 = _this.__BZip2Decoder__mtfbase; + if (t4 === $) + t4 = H.throwExpression(H.LateError$fieldNI(_s8_0)); + --lno; + J.$indexSet$ax(t1, t2, J.$index$asx(t3, J.$index$asx(t4, lno) + 16 - 1)); + } + t1 = _this.__BZip2Decoder__mtfbase; + if (t1 === $) + t1 = H.throwExpression(H.LateError$fieldNI(_s8_0)); + t2 = J.getInterceptor$asx(t1); + t2.$indexSet(t1, 0, t2.$index(t1, 0) - 1); + t1 = _this.__BZip2Decoder__mtfa; + if (t1 === $) + t1 = H.throwExpression(H.LateError$fieldNI(_s5_)); + t2 = _this.__BZip2Decoder__mtfbase; + J.$indexSet$ax(t1, J.$index$asx(t2 === $ ? H.throwExpression(H.LateError$fieldNI(_s8_0)) : t2, 0), uc); + t1 = _this.__BZip2Decoder__mtfbase; + if (J.$index$asx(t1 === $ ? H.throwExpression(H.LateError$fieldNI(_s8_0)) : t1, 0) === 0) + for (kk = 4095, ii = 15; ii >= 0; --ii) { + for (jj = 15; jj >= 0; --jj) { + t1 = _this.__BZip2Decoder__mtfa; + t2 = t1 === $ ? H.throwExpression(H.LateError$fieldNI(_s5_)) : t1; + t3 = _this.__BZip2Decoder__mtfbase; + J.$indexSet$ax(t2, kk, J.$index$asx(t1, J.$index$asx(t3 === $ ? H.throwExpression(H.LateError$fieldNI(_s8_0)) : t3, ii) + jj)); + --kk; + } + t1 = _this.__BZip2Decoder__mtfbase; + if (t1 === $) + t1 = H.throwExpression(H.LateError$fieldNI(_s8_0)); + J.$indexSet$ax(t1, ii, kk + 1); + } + } + t1 = _this.__BZip2Decoder__unzftab; + if (t1 === $) + t1 = H.throwExpression(H.LateError$fieldNI(_s8_1)); + t2 = _this.__BZip2Decoder__seqToUnseq; + t2 = J.$index$asx(t2 === $ ? H.throwExpression(H.LateError$fieldNI(_s11_)) : t2, uc); + t3 = J.getInterceptor$asx(t1); + t3.$indexSet(t1, t2, t3.$index(t1, t2) + 1); + t2 = _this.__BZip2Decoder__tt; + t1 = t2 === $ ? H.throwExpression(H.LateError$fieldNI(_s3_)) : t2; + t2 = _this.__BZip2Decoder__seqToUnseq; + t2 = J.$index$asx(t2 === $ ? H.throwExpression(H.LateError$fieldNI(_s11_)) : t2, uc); + if (nblock < 0 || nblock >= t1.length) + return H.ioore(t1, nblock); + t1[nblock] = t2; + ++nblock; + nextSym = _this._getMtfVal$1(br); + continue; + } + } + if (origPtr >= nblock) + throw H.wrapException(R.ArchiveException$(_s10_)); + for (i = 0; i <= 255; ++i) { + t1 = _this.__BZip2Decoder__unzftab; + if (J.$index$asx(t1 === $ ? H.throwExpression(H.LateError$fieldNI(_s8_1)) : t1, i) >= 0) { + t1 = _this.__BZip2Decoder__unzftab; + t1 = J.$index$asx(t1 === $ ? H.throwExpression(H.LateError$fieldNI(_s8_1)) : t1, i) > nblock; + } else + t1 = true; + if (t1) + throw H.wrapException(R.ArchiveException$(_s10_)); + } + _this.__BZip2Decoder__cftab = new Int32Array(257); + J.$indexSet$ax(_this.get$_cftab(), 0, 0); + for (i = 1; i <= 256; ++i) { + t1 = _this.__BZip2Decoder__cftab; + if (t1 === $) + t1 = H.throwExpression(H.LateError$fieldNI(_s6_)); + t2 = _this.__BZip2Decoder__unzftab; + if (t2 === $) + t2 = H.throwExpression(H.LateError$fieldNI(_s8_1)); + J.$indexSet$ax(t1, i, J.$index$asx(t2, i - 1)); + } + for (i = 1; i <= 256; ++i) { + t1 = _this.__BZip2Decoder__cftab; + if (t1 === $) + t1 = H.throwExpression(H.LateError$fieldNI(_s6_)); + t2 = J.getInterceptor$asx(t1); + t3 = t2.$index(t1, i); + t4 = _this.__BZip2Decoder__cftab; + if (t4 === $) + t4 = H.throwExpression(H.LateError$fieldNI(_s6_)); + t2.$indexSet(t1, i, t3 + J.$index$asx(t4, i - 1)); + } + for (i = 0; i <= 256; ++i) { + t1 = _this.__BZip2Decoder__cftab; + if (J.$index$asx(t1 === $ ? H.throwExpression(H.LateError$fieldNI(_s6_)) : t1, i) >= 0) { + t1 = _this.__BZip2Decoder__cftab; + t1 = J.$index$asx(t1 === $ ? H.throwExpression(H.LateError$fieldNI(_s6_)) : t1, i) > nblock; + } else + t1 = true; + if (t1) + throw H.wrapException(R.ArchiveException$(_s10_)); + } + for (i = 1; i <= 256; ++i) { + t1 = _this.__BZip2Decoder__cftab; + if (t1 === $) + t1 = H.throwExpression(H.LateError$fieldNI(_s6_)); + t1 = J.$index$asx(t1, i - 1); + t2 = _this.__BZip2Decoder__cftab; + if (t1 > J.$index$asx(t2 === $ ? H.throwExpression(H.LateError$fieldNI(_s6_)) : t2, i)) + throw H.wrapException(R.ArchiveException$(_s10_)); + } + for (i = 0; i < nblock; ++i) { + t1 = _this.__BZip2Decoder__tt; + t2 = t1 === $ ? H.throwExpression(H.LateError$fieldNI(_s3_)) : t1; + if (i >= t2.length) + return H.ioore(t2, i); + uc = t2[i] & 255; + t2 = _this.__BZip2Decoder__cftab; + t2 = J.$index$asx(t2 === $ ? H.throwExpression(H.LateError$fieldNI(_s6_)) : t2, uc); + if (t2 < 0 || t2 >= t1.length) + return H.ioore(t1, t2); + t1[t2] = (t1[t2] | i << 8) >>> 0; + t2 = _this.__BZip2Decoder__cftab; + t1 = t2 === $ ? H.throwExpression(H.LateError$fieldNI(_s6_)) : t2; + t2 = J.getInterceptor$asx(t1); + t2.$indexSet(t1, uc, t2.$index(t1, uc) + 1); + } + t1 = _this.get$_tt(); + if (origPtr >= t1.length) + return H.ioore(t1, origPtr); + tPos = t1[origPtr] >>> 8; + t1 = blockRandomized !== 0; + if (t1) { + t2 = _this.get$_blockSize100k(); + if (typeof t2 !== "number") + return H.iae(t2); + if (tPos >= 100000 * t2) + throw H.wrapException(R.ArchiveException$(_s10_)); + t2 = _this.get$_tt(); + if (tPos >= t2.length) + return H.ioore(t2, tPos); + tPos = t2[tPos]; + tPos0 = tPos >>> 8; + k0 = tPos & 255 ^ 0; + tPos = tPos0; + rNToGo = 618; + rTPos = 1; + } else { + t2 = _this.get$_blockSize100k(); + if (typeof t2 !== "number") + return H.iae(t2); + if (tPos >= 100000 * t2) + return _4294967295; + t2 = _this.get$_tt(); + if (tPos >= t2.length) + return H.ioore(t2, tPos); + tPos = t2[tPos]; + k0 = tPos & 255; + tPos = tPos >>> 8; + rNToGo = 0; + rTPos = 0; + } + sSaveNBlockPP = nblock + 1; + if (t1) + for (blockCrc = _4294967295, cStateOutLen = 0, cStateOutCh = 0, cNBlockUsed = 1; true; cStateOutCh = k0, k0 = k00) { + for (t1 = cStateOutCh & 255; true;) { + if (cStateOutLen === 0) + break; + output.writeByte$1(cStateOutCh); + t2 = blockCrc >>> 24 & 255 ^ t1; + if (t2 >= 256) + return H.ioore(C.List_E4S, t2); + blockCrc = (blockCrc << 8 ^ C.List_E4S[t2]) >>> 0; + --cStateOutLen; + } + if (cNBlockUsed === sSaveNBlockPP) + return blockCrc; + if (cNBlockUsed > sSaveNBlockPP) + throw H.wrapException(R.ArchiveException$("Data error.")); + t1 = _this.__BZip2Decoder__tt; + t2 = t1 === $ ? H.throwExpression(H.LateError$fieldNI(_s3_)) : t1; + if (tPos < 0 || tPos >= t2.length) + return H.ioore(t2, tPos); + tPos = t2[tPos]; + tPos0 = tPos >>> 8; + if (rNToGo === 0) { + if (rTPos >= 512) + return H.ioore(C.List_Ewu, rTPos); + rNToGo = C.List_Ewu[rTPos]; + ++rTPos; + if (rTPos === 512) + rTPos = 0; + } + --rNToGo; + t2 = rNToGo === 1 ? 1 : 0; + k1 = tPos & 255 ^ t2; + ++cNBlockUsed; + if (cNBlockUsed === sSaveNBlockPP) { + k00 = k0; + tPos = tPos0; + cStateOutLen = 1; + continue; + } + if (k1 !== k0) { + k00 = k1; + tPos = tPos0; + cStateOutLen = 1; + continue; + } + if (tPos0 >= t1.length) + return H.ioore(t1, tPos0); + tPos = t1[tPos0]; + tPos0 = tPos >>> 8; + if (rNToGo === 0) { + if (rTPos >= 512) + return H.ioore(C.List_Ewu, rTPos); + rNToGo = C.List_Ewu[rTPos]; + ++rTPos; + if (rTPos === 512) + rTPos = 0; + } + t2 = rNToGo === 1 ? 1 : 0; + k1 = tPos & 255 ^ t2; + ++cNBlockUsed; + if (cNBlockUsed === sSaveNBlockPP) { + k00 = k0; + tPos = tPos0; + cStateOutLen = 2; + continue; + } + if (k1 !== k0) { + k00 = k1; + tPos = tPos0; + cStateOutLen = 2; + continue; + } + if (tPos0 >= t1.length) + return H.ioore(t1, tPos0); + tPos = t1[tPos0]; + tPos0 = tPos >>> 8; + if (rNToGo === 0) { + if (rTPos >= 512) + return H.ioore(C.List_Ewu, rTPos); + rNToGo = C.List_Ewu[rTPos]; + ++rTPos; + if (rTPos === 512) + rTPos = 0; + } + t2 = rNToGo === 1 ? 1 : 0; + k1 = tPos & 255 ^ t2; + ++cNBlockUsed; + if (cNBlockUsed === sSaveNBlockPP) { + k00 = k0; + tPos = tPos0; + cStateOutLen = 3; + continue; + } + if (k1 !== k0) { + k00 = k1; + tPos = tPos0; + cStateOutLen = 3; + continue; + } + if (tPos0 >= t1.length) + return H.ioore(t1, tPos0); + tPos = t1[tPos0]; + tPos0 = tPos >>> 8; + if (rNToGo === 0) { + if (rTPos >= 512) + return H.ioore(C.List_Ewu, rTPos); + rNToGo = C.List_Ewu[rTPos]; + ++rTPos; + if (rTPos === 512) + rTPos = 0; + } + t2 = rNToGo === 1 ? 1 : 0; + cStateOutLen = (tPos & 255 ^ t2) + 4; + if (tPos0 >= t1.length) + return H.ioore(t1, tPos0); + tPos = t1[tPos0]; + tPos0 = tPos >>> 8; + if (rNToGo === 0) { + if (rTPos >= 512) + return H.ioore(C.List_Ewu, rTPos); + rNToGo = C.List_Ewu[rTPos]; + ++rTPos; + if (rTPos === 512) + rTPos = 0; + } + t1 = rNToGo === 1 ? 1 : 0; + k00 = tPos & 255 ^ t1; + cNBlockUsed = cNBlockUsed + 1 + 1; + tPos = tPos0; + } + else + for (cK0 = k0, blockCrc = _4294967295, cStateOutLen = 0, cStateOutCh = 0, cNBlockUsed = 1; true; cStateOutCh = cK0, cK0 = cK00) { + if (cStateOutLen > 0) { + for (t1 = cStateOutCh & 255; true;) { + if (cStateOutLen === 1) + break; + output.writeByte$1(cStateOutCh); + t2 = blockCrc >>> 24 & 255 ^ t1; + if (t2 >= 256) + return H.ioore(C.List_E4S, t2); + blockCrc = blockCrc << 8 ^ C.List_E4S[t2]; + --cStateOutLen; + } + output.writeByte$1(cStateOutCh); + t1 = blockCrc >>> 24 & 255 ^ t1; + if (t1 >= 256) + return H.ioore(C.List_E4S, t1); + blockCrc = (blockCrc << 8 ^ C.List_E4S[t1]) >>> 0; + } + if (cNBlockUsed > sSaveNBlockPP) + throw H.wrapException(R.ArchiveException$(_s10_)); + if (cNBlockUsed === sSaveNBlockPP) + return blockCrc; + t1 = _this.__BZip2Decoder__blockSize100k; + t2 = t1 === $ ? H.throwExpression(H.LateError$fieldNI("_blockSize100k")) : t1; + if (typeof t2 !== "number") + return H.iae(t2); + if (tPos >= 100000 * t2) + throw H.wrapException(R.ArchiveException$(_s10_0)); + t2 = _this.__BZip2Decoder__tt; + t3 = t2 === $ ? H.throwExpression(H.LateError$fieldNI(_s3_)) : t2; + if (tPos < 0 || tPos >= t3.length) + return H.ioore(t3, tPos); + tPos = t3[tPos]; + k1 = tPos & 255; + tPos = tPos >>> 8; + ++cNBlockUsed; + if (k1 !== cK0) { + output.writeByte$1(cK0); + t1 = blockCrc >>> 24 & 255 ^ cK0 & 255; + if (t1 >= 256) + return H.ioore(C.List_E4S, t1); + blockCrc = (blockCrc << 8 ^ C.List_E4S[t1]) >>> 0; + cK00 = k1; + cStateOutLen = 0; + continue; + } + if (cNBlockUsed === sSaveNBlockPP) { + output.writeByte$1(cK0); + t1 = blockCrc >>> 24 & 255 ^ cK0 & 255; + if (t1 >= 256) + return H.ioore(C.List_E4S, t1); + blockCrc = (blockCrc << 8 ^ C.List_E4S[t1]) >>> 0; + cK00 = cK0; + cStateOutLen = 0; + continue; + } + if (typeof t1 !== "number") + return H.iae(t1); + if (tPos >= 100000 * t1) + throw H.wrapException(R.ArchiveException$(_s10_0)); + if (tPos >= t2.length) + return H.ioore(t2, tPos); + tPos = t2[tPos]; + k1 = tPos & 255; + tPos = tPos >>> 8; + ++cNBlockUsed; + if (cNBlockUsed === sSaveNBlockPP) { + cK00 = cK0; + cStateOutLen = 2; + continue; + } + if (k1 !== cK0) { + cK00 = k1; + cStateOutLen = 2; + continue; + } + if (typeof t1 !== "number") + return H.iae(t1); + if (tPos >= 100000 * t1) + throw H.wrapException(R.ArchiveException$(_s10_0)); + if (tPos >= t2.length) + return H.ioore(t2, tPos); + tPos = t2[tPos]; + k1 = tPos & 255; + tPos = tPos >>> 8; + ++cNBlockUsed; + if (cNBlockUsed === sSaveNBlockPP) { + cK00 = cK0; + cStateOutLen = 3; + continue; + } + if (k1 !== cK0) { + cK00 = k1; + cStateOutLen = 3; + continue; + } + if (typeof t1 !== "number") + return H.iae(t1); + if (tPos >= 100000 * t1) + throw H.wrapException(R.ArchiveException$(_s10_0)); + if (tPos >= t2.length) + return H.ioore(t2, tPos); + tPos = t2[tPos]; + tPos0 = tPos >>> 8; + cStateOutLen = (tPos & 255) + 4; + if (typeof t1 !== "number") + return H.iae(t1); + if (tPos0 >= 100000 * t1) + throw H.wrapException(R.ArchiveException$(_s10_0)); + if (tPos0 >= t2.length) + return H.ioore(t2, tPos0); + tPos = t2[tPos0]; + cK00 = tPos & 255; + tPos = tPos >>> 8; + cNBlockUsed = cNBlockUsed + 1 + 1; + } + return blockCrc; + }, + _getMtfVal$1: function(br) { + var t1, t2, zn, zvec, _this = this, + _s10_ = "Data error"; + if (_this._groupPos === 0) { + t1 = ++_this._groupNo; + t2 = _this.get$_numSelectors(); + if (typeof t2 !== "number") + return H.iae(t2); + if (t1 >= t2) + throw H.wrapException(R.ArchiveException$(_s10_)); + _this._groupPos = 50; + _this._gSel = J.$index$asx(_this.get$_selector(_this), _this._groupNo); + _this._gMinlen = J.$index$asx(_this.get$_minLens(), _this._gSel); + t1 = type$.Int32List; + _this.__BZip2Decoder__gLimit = t1._as(J.$index$asx(_this.get$_limit(), _this._gSel)); + _this.__BZip2Decoder__gPerm = t1._as(J.$index$asx(_this.get$_perm(), _this._gSel)); + _this.__BZip2Decoder__gBase = t1._as(J.$index$asx(_this.get$_bzip2_decoder$_base(), _this._gSel)); + } + --_this._groupPos; + zn = _this._gMinlen; + zvec = br.readBits$1(zn); + for (; true;) { + if (zn > 20) + throw H.wrapException(R.ArchiveException$(_s10_)); + t1 = _this.__BZip2Decoder__gLimit; + if (zvec <= J.$index$asx(t1 === $ ? H.throwExpression(H.LateError$fieldNI("_gLimit")) : t1, zn)) + break; + ++zn; + zvec = (zvec << 1 | br.readBits$1(1)) >>> 0; + } + if (zvec - J.$index$asx(_this.get$_gBase(), zn) < 0 || zvec - J.$index$asx(_this.get$_gBase(), zn) >= 258) + throw H.wrapException(R.ArchiveException$(_s10_)); + t1 = _this.__BZip2Decoder__gPerm; + if (t1 === $) + t1 = H.throwExpression(H.LateError$fieldNI("_gPerm")); + return J.$index$asx(t1, zvec - J.$index$asx(_this.get$_gBase(), zn)); + }, + _hbCreateDecodeTables$7: function(limit, base, perm, $length, minLen, maxLen, alphaSize) { + var t1, t2, i, pp, j, t3, vec, i0; + for (t1 = J.getInterceptor$asx($length), t2 = J.getInterceptor$ax(perm), i = minLen, pp = 0; i <= maxLen; ++i) + for (j = 0; j < alphaSize; ++j) + if (t1.$index($length, j) === i) { + t2.$indexSet(perm, pp, j); + ++pp; + } + for (t2 = J.getInterceptor$asx(base), i = 0; i < 23; ++i) + t2.$indexSet(base, i, 0); + for (i = 0; i < alphaSize; ++i) { + t3 = t1.$index($length, i) + 1; + t2.$indexSet(base, t3, t2.$index(base, t3) + 1); + } + for (i = 1; i < 23; ++i) + t2.$indexSet(base, i, t2.$index(base, i) + t2.$index(base, i - 1)); + for (t1 = J.getInterceptor$asx(limit), i = 0; i < 23; ++i) + t1.$indexSet(limit, i, 0); + for (i = minLen, vec = 0; i <= maxLen; i = i0) { + i0 = i + 1; + vec += t2.$index(base, i0) - t2.$index(base, i); + t1.$indexSet(limit, i, vec - 1); + vec = vec << 1 >>> 0; + } + for (i = minLen + 1; i <= maxLen; ++i) + t2.$indexSet(base, i, (t1.$index(limit, i - 1) + 1 << 1 >>> 0) - t2.$index(base, i)); + }, + _makeMaps$0: function() { + var i, t1, _this = this; + _this._numInUse = 0; + _this.__BZip2Decoder__seqToUnseq = new Uint8Array(256); + for (i = 0; i < 256; ++i) { + t1 = _this.__BZip2Decoder__inUse; + if (J.$index$asx(t1 === $ ? H.throwExpression(H.LateError$fieldNI("_inUse")) : t1, i) !== 0) { + t1 = _this.__BZip2Decoder__seqToUnseq; + if (t1 === $) + t1 = H.throwExpression(H.LateError$fieldNI("_seqToUnseq")); + J.$indexSet$ax(t1, _this._numInUse++, i); + } + } + }, + get$_blockSize100k: function() { + var t1 = this.__BZip2Decoder__blockSize100k; + return t1 === $ ? H.throwExpression(H.LateError$fieldNI("_blockSize100k")) : t1; + }, + get$_tt: function() { + var t1 = this.__BZip2Decoder__tt; + return t1 === $ ? H.throwExpression(H.LateError$fieldNI("_tt")) : t1; + }, + get$_selector: function(_) { + var t1 = this.__BZip2Decoder__selector; + return t1 === $ ? H.throwExpression(H.LateError$fieldNI("_selector")) : t1; + }, + get$_limit: function() { + var t1 = this.__BZip2Decoder__limit; + return t1 === $ ? H.throwExpression(H.LateError$fieldNI("_limit")) : t1; + }, + get$_bzip2_decoder$_base: function() { + var t1 = this.__BZip2Decoder__base; + return t1 === $ ? H.throwExpression(H.LateError$fieldNI("_base")) : t1; + }, + get$_perm: function() { + var t1 = this.__BZip2Decoder__perm; + return t1 === $ ? H.throwExpression(H.LateError$fieldNI("_perm")) : t1; + }, + get$_minLens: function() { + var t1 = this.__BZip2Decoder__minLens; + return t1 === $ ? H.throwExpression(H.LateError$fieldNI("_minLens")) : t1; + }, + get$_numSelectors: function() { + var t1 = this.__BZip2Decoder__numSelectors; + return t1 === $ ? H.throwExpression(H.LateError$fieldNI("_numSelectors")) : t1; + }, + get$_gBase: function() { + var t1 = this.__BZip2Decoder__gBase; + return t1 === $ ? H.throwExpression(H.LateError$fieldNI("_gBase")) : t1; + }, + get$_cftab: function() { + var t1 = this.__BZip2Decoder__cftab; + return t1 === $ ? H.throwExpression(H.LateError$fieldNI("_cftab")) : t1; + }, + set$__BZip2Decoder__limit: function(__BZip2Decoder__limit) { + this.__BZip2Decoder__limit = type$.nullable_List_Int32List._as(__BZip2Decoder__limit); + }, + set$__BZip2Decoder__base: function(__BZip2Decoder__base) { + this.__BZip2Decoder__base = type$.nullable_List_Int32List._as(__BZip2Decoder__base); + }, + set$__BZip2Decoder__perm: function(__BZip2Decoder__perm) { + this.__BZip2Decoder__perm = type$.nullable_List_Int32List._as(__BZip2Decoder__perm); + }, + set$__BZip2Decoder__len: function(__BZip2Decoder__len) { + this.__BZip2Decoder__len = type$.nullable_List_Uint8List._as(__BZip2Decoder__len); + } + }; + X.FileContent.prototype = {}; + O.AesDecrypt.prototype = { + decryptData$3: function(buff, start, len) { + var t1, t2, t3, t4, j, j0, loopCount, t5, t6, t7, k, _this = this; + for (t1 = start + len, t2 = J.getInterceptor$asx(buff), t3 = _this.counterBlock, t4 = _this.iv, j = start; j < t1; j = j0) { + j0 = j + 16; + loopCount = j0 <= t1 ? 16 : t1 - j; + _this.mac._digest.update$3(0, buff, j, loopCount); + O.AesCipherUtil_prepareBuffAESIVBytes(t4, _this.nonce); + t5 = _this.aesEngine; + t6 = t5._WorkingKey; + if (t6 == null) + H.throwExpression(P.StateError$("AES engine not initialised")); + t7 = t4.byteLength; + if (typeof t7 !== "number") + return H.iae(t7); + if (16 > t7) + H.throwExpression(P.ArgumentError$("Input buffer too short")); + t7 = t3.byteLength; + if (typeof t7 !== "number") + return H.iae(t7); + if (16 > t7) + H.throwExpression(P.ArgumentError$("Output buffer too short")); + if (t5._forEncryption) + t5._encryptBlock$5(t4, 0, t3, 0, t6); + else + t5._decryptBlock$5(t4, 0, t3, 0, t6); + for (k = 0; k < loopCount; ++k) { + t5 = j + k; + t6 = t2.$index(buff, t5); + if (k >= 16) + return H.ioore(t3, k); + t2.$indexSet(buff, t5, (t6 ^ t3[k]) >>> 0); + } + ++_this.nonce; + } + return len; + } + }; + R.ArchiveException.prototype = {}; + T.InputStreamBase.prototype = {}; + T.InputStream.prototype = { + get$length: function(_) { + var _this = this, + t1 = _this.get$_input_stream$_length(_this), + t2 = _this.offset; + if (typeof t1 !== "number") + return t1.$sub(); + return t1 - (t2 - _this.start); + }, + get$isEOS: function() { + var _this = this, + t1 = _this.offset, + t2 = _this.get$_input_stream$_length(_this); + if (typeof t2 !== "number") + return H.iae(t2); + return t1 >= _this.start + t2; + }, + rewind$1: function($length) { + var t1 = this.offset -= $length; + if (t1 < 0) + this.offset = 0; + }, + $index: function(_, index) { + var t1, t2; + H._asIntS(index); + t1 = this.buffer; + t2 = this.offset; + if (typeof index !== "number") + return H.iae(index); + return J.$index$asx(t1, t2 + index); + }, + subset$2: function(position, $length) { + var t1, _this = this; + position = position == null ? _this.offset : position + _this.start; + if ($length == null || $length < 0) { + t1 = _this.get$_input_stream$_length(_this); + if (typeof t1 !== "number") + return t1.$sub(); + $length = t1 - (position - _this.start); + } + return T.InputStream$(_this.buffer, _this.byteOrder, $length, position); + }, + readByte$0: function() { + return J.$index$asx(this.buffer, this.offset++); + }, + readBytes$1: function(count) { + var _this = this, + bytes = _this.subset$2(_this.offset - _this.start, count); + _this.offset = _this.offset + bytes.get$length(bytes); + return bytes; + }, + readString$2$size$utf8: function(size, utf8) { + var str, exception, t1, + bytes = this.readBytes$1(size).toUint8List$0(); + try { + str = utf8 ? new P.Utf8Decoder(false).convert$1(bytes) : P.String_String$fromCharCodes(bytes, 0, null); + return str; + } catch (exception) { + H.unwrapException(exception); + t1 = P.String_String$fromCharCodes(bytes, 0, null); + return t1; + } + }, + readString$1$size: function(size) { + return this.readString$2$size$utf8(size, true); + }, + readUint16$0: function() { + var b1, b2, _this = this, + t1 = J.$index$asx(_this.buffer, _this.offset++); + if (typeof t1 !== "number") + return t1.$and(); + b1 = t1 & 255; + t1 = J.$index$asx(_this.buffer, _this.offset++); + if (typeof t1 !== "number") + return t1.$and(); + b2 = t1 & 255; + if (_this.byteOrder === 1) + return b1 << 8 | b2; + return b2 << 8 | b1; + }, + readUint32$0: function() { + var b1, b2, b3, b4, _this = this, + t1 = J.$index$asx(_this.buffer, _this.offset++); + if (typeof t1 !== "number") + return t1.$and(); + b1 = t1 & 255; + t1 = J.$index$asx(_this.buffer, _this.offset++); + if (typeof t1 !== "number") + return t1.$and(); + b2 = t1 & 255; + t1 = J.$index$asx(_this.buffer, _this.offset++); + if (typeof t1 !== "number") + return t1.$and(); + b3 = t1 & 255; + t1 = J.$index$asx(_this.buffer, _this.offset++); + if (typeof t1 !== "number") + return t1.$and(); + b4 = t1 & 255; + if (_this.byteOrder === 1) + return (b1 << 24 | b2 << 16 | b3 << 8 | b4) >>> 0; + return (b4 << 24 | b3 << 16 | b2 << 8 | b1) >>> 0; + }, + readUint64$0: function() { + var b1, b2, b3, b4, b5, b6, b7, b8, _this = this, + t1 = J.$index$asx(_this.buffer, _this.offset++); + if (typeof t1 !== "number") + return t1.$and(); + b1 = t1 & 255; + t1 = J.$index$asx(_this.buffer, _this.offset++); + if (typeof t1 !== "number") + return t1.$and(); + b2 = t1 & 255; + t1 = J.$index$asx(_this.buffer, _this.offset++); + if (typeof t1 !== "number") + return t1.$and(); + b3 = t1 & 255; + t1 = J.$index$asx(_this.buffer, _this.offset++); + if (typeof t1 !== "number") + return t1.$and(); + b4 = t1 & 255; + t1 = J.$index$asx(_this.buffer, _this.offset++); + if (typeof t1 !== "number") + return t1.$and(); + b5 = t1 & 255; + t1 = J.$index$asx(_this.buffer, _this.offset++); + if (typeof t1 !== "number") + return t1.$and(); + b6 = t1 & 255; + t1 = J.$index$asx(_this.buffer, _this.offset++); + if (typeof t1 !== "number") + return t1.$and(); + b7 = t1 & 255; + t1 = J.$index$asx(_this.buffer, _this.offset++); + if (typeof t1 !== "number") + return t1.$and(); + b8 = t1 & 255; + if (_this.byteOrder === 1) + return (C.JSInt_methods._shlPositive$1(b1, 56) | C.JSInt_methods._shlPositive$1(b2, 48) | C.JSInt_methods._shlPositive$1(b3, 40) | C.JSInt_methods._shlPositive$1(b4, 32) | b5 << 24 | b6 << 16 | b7 << 8 | b8) >>> 0; + return (C.JSInt_methods._shlPositive$1(b8, 56) | C.JSInt_methods._shlPositive$1(b7, 48) | C.JSInt_methods._shlPositive$1(b6, 40) | C.JSInt_methods._shlPositive$1(b5, 32) | b4 << 24 | b3 << 16 | b2 << 8 | b1) >>> 0; + }, + toUint8List$1: function(bytes) { + var t2, t3, end, _this = this, + len = _this.get$length(_this), + t1 = _this.buffer; + if (type$.Uint8List._is(t1)) { + t2 = J.getInterceptor$asx(t1); + if (_this.offset + len > t2.get$length(t1)) + len = t2.get$length(t1) - _this.offset; + t3 = t2.get$buffer(t1); + t1 = t2.get$offsetInBytes(t1); + t2 = _this.offset; + if (typeof t1 !== "number") + return t1.$add(); + return J.asUint8List$2$x(t3, t1 + t2, len); + } + end = _this.offset + len; + t1 = J.get$length$asx(t1); + if (typeof t1 !== "number") + return H.iae(t1); + if (end > t1) + end = J.get$length$asx(_this.buffer); + return new Uint8Array(H._ensureNativeList(J.sublist$2$ax(_this.buffer, _this.offset, end))); + }, + toUint8List$0: function() { + return this.toUint8List$1(null); + }, + get$_input_stream$_length: function(_) { + var t1 = this.__InputStream__length; + return t1 === $ ? H.throwExpression(H.LateError$fieldNI("_length")) : t1; + }, + get$offset: function(receiver) { + return this.offset; + } + }; + Q.OutputStreamBase.prototype = {}; + Q.OutputStream.prototype = { + writeByte$1: function(value) { + var t1, t2, _this = this; + if (_this.length === _this._output_stream$_buffer.length) + _this._expandBuffer$0(); + t1 = _this._output_stream$_buffer; + t2 = _this.length++; + if (t2 < 0 || t2 >= t1.length) + return H.ioore(t1, t2); + t1[t2] = value & 255; + }, + writeBytes$2: function(bytes, len) { + var t1, t2, t3, t4, _this = this; + type$.List_int._as(bytes); + if (len == null) + len = J.get$length$asx(bytes); + if (typeof len !== "number") + return H.iae(len); + for (; t1 = _this.length, t2 = t1 + len, t3 = _this._output_stream$_buffer, t4 = t3.length, t2 > t4;) + _this._expandBuffer$1(t2 - t4); + C.NativeUint8List_methods.setRange$3(t3, t1, t2, bytes); + _this.length += len; + }, + writeBytes$1: function(bytes) { + return this.writeBytes$2(bytes, null); + }, + writeInputStream$1: function(stream) { + var t2, t3, t4, t5, t6, t7, _this = this, + t1 = stream.start; + while (true) { + t2 = _this.length; + t3 = stream.__InputStream__length; + t4 = t3 === $ ? H.throwExpression(H.LateError$fieldNI("_length")) : t3; + t5 = stream.offset - t1; + if (typeof t4 !== "number") + return t4.$sub(); + t6 = _this._output_stream$_buffer; + t7 = t6.length; + if (!(t2 + (t4 - t5) > t7)) + break; + if (typeof t3 !== "number") + return t3.$sub(); + _this._expandBuffer$1(t2 + (t3 - t5) - t7); + } + C.NativeUint8List_methods.setRange$4(t6, t2, t2 + stream.get$length(stream), stream.buffer, stream.offset); + _this.length = _this.length + stream.get$length(stream); + }, + writeUint16$1: function(value) { + if (typeof value !== "number") + return value.$and(); + this.writeByte$1(value & 255); + this.writeByte$1(C.JSInt_methods._shrOtherPositive$1(value, 8) & 255); + }, + writeUint32$1: function(value) { + var _this = this; + if (typeof value !== "number") + return value.$and(); + _this.writeByte$1(value & 255); + _this.writeByte$1(C.JSInt_methods._shrOtherPositive$1(value, 8) & 255); + _this.writeByte$1(C.JSInt_methods._shrOtherPositive$1(value, 16) & 255); + _this.writeByte$1(C.JSInt_methods._shrOtherPositive$1(value, 24) & 255); + }, + writeUint64$1: function(value) { + var topBit, _this = this; + if (typeof value !== "number") + return value.$and(); + if ((value & 9223372036854776e3) >>> 0 !== 0) { + value = (value ^ 9223372036854776e3) >>> 0; + topBit = 128; + } else + topBit = 0; + _this.writeByte$1(value & 255); + _this.writeByte$1(C.JSInt_methods._shrOtherPositive$1(value, 8) & 255); + _this.writeByte$1(C.JSInt_methods._shrOtherPositive$1(value, 16) & 255); + _this.writeByte$1(C.JSInt_methods._shrOtherPositive$1(value, 24) & 255); + _this.writeByte$1(C.JSInt_methods._shrOtherPositive$1(value, 32) & 255); + _this.writeByte$1(C.JSInt_methods._shrOtherPositive$1(value, 40) & 255); + _this.writeByte$1(C.JSInt_methods._shrOtherPositive$1(value, 48) & 255); + _this.writeByte$1(topBit | C.JSInt_methods._shrOtherPositive$1(value, 56) & 255); + }, + subset$2: function(start, end) { + var _this = this; + if (start < 0) + start = _this.length + start; + if (end == null) + end = _this.length; + else if (end < 0) + end = _this.length + end; + return C.NativeByteBuffer_methods.asUint8List$2(_this._output_stream$_buffer.buffer, start, end - start); + }, + subset$1: function(start) { + return this.subset$2(start, null); + }, + _expandBuffer$1: function(required) { + var blockSize = required != null ? required > 32768 ? required : 32768 : 32768, + t1 = this._output_stream$_buffer, + t2 = t1.length, + newBuffer = new Uint8Array((t2 + blockSize) * 2); + C.NativeUint8List_methods.setRange$3(newBuffer, 0, t2, t1); + this._output_stream$_buffer = newBuffer; + }, + _expandBuffer$0: function() { + return this._expandBuffer$1(null); + }, + get$length: function(receiver) { + return this.length; + } + }; + E.ZipDirectory.prototype = { + get$centralDirectorySize: function() { + var t1 = this.__ZipDirectory_centralDirectorySize; + return t1 === $ ? H.throwExpression(H.LateError$fieldNI("centralDirectorySize")) : t1; + }, + get$centralDirectoryOffset: function() { + var t1 = this.__ZipDirectory_centralDirectoryOffset; + return t1 === $ ? H.throwExpression(H.LateError$fieldNI("centralDirectoryOffset")) : t1; + }, + ZipDirectory$read$2$password: function(input, password) { + var len, dirContent, t2, t3, t4, t5, _this = this, + t1 = _this._findEocdrSignature$1(input); + _this.filePosition = t1; + input.offset = input.start + t1; + input.readUint32$0(); + _this.numberOfThisDisk = input.readUint16$0(); + input.readUint16$0(); + _this.totalCentralDirectoryEntriesOnThisDisk = input.readUint16$0(); + input.readUint16$0(); + _this.__ZipDirectory_centralDirectorySize = input.readUint32$0(); + _this.__ZipDirectory_centralDirectoryOffset = input.readUint32$0(); + len = input.readUint16$0(); + if (len > 0) + input.readString$2$size$utf8(len, false); + if (_this.get$centralDirectoryOffset() === 4294967295 || _this.get$centralDirectorySize() === 4294967295 || _this.totalCentralDirectoryEntriesOnThisDisk === 65535 || _this.numberOfThisDisk === 65535) + _this._readZip64Data$1(input); + dirContent = input.subset$2(_this.get$centralDirectoryOffset(), _this.get$centralDirectorySize()); + t1 = dirContent.start; + t2 = _this.fileHeaders; + t3 = type$.JSArray_int; + while (true) { + t4 = dirContent.offset; + t5 = dirContent.__InputStream__length; + if (t5 === $) + t5 = H.throwExpression(H.LateError$fieldNI("_length")); + if (typeof t5 !== "number") + return H.iae(t5); + if (!(t4 < t1 + t5)) + break; + if (dirContent.readUint32$0() !== 33639248) + break; + t4 = new X.ZipFileHeader(H.setRuntimeTypeInfo([], t3)); + t4.ZipFileHeader$3(dirContent, input, password); + C.JSArray_methods.add$1(t2, t4); + } + }, + _readZip64Data$1: function(input) { + var zip64, zip64DirOffset, zip64DiskNumber, zip64NumEntriesOnDisk, dirSize, dirOffset, _this = this, + t1 = input.start, + ip = input.offset - t1, + locPos = _this.filePosition - 20; + if (locPos < 0) + return; + zip64 = input.subset$2(locPos, 20); + if (zip64.readUint32$0() !== 117853008) { + input.offset = t1 + ip; + return; + } + zip64.readUint32$0(); + zip64DirOffset = zip64.readUint64$0(); + zip64.readUint32$0(); + input.offset = t1 + zip64DirOffset; + if (input.readUint32$0() !== 101075792) { + input.offset = t1 + ip; + return; + } + input.readUint64$0(); + input.readUint16$0(); + input.readUint16$0(); + zip64DiskNumber = input.readUint32$0(); + input.readUint32$0(); + zip64NumEntriesOnDisk = input.readUint64$0(); + input.readUint64$0(); + dirSize = input.readUint64$0(); + dirOffset = input.readUint64$0(); + _this.numberOfThisDisk = zip64DiskNumber; + _this.totalCentralDirectoryEntriesOnThisDisk = zip64NumEntriesOnDisk; + _this.__ZipDirectory_centralDirectorySize = dirSize; + _this.__ZipDirectory_centralDirectoryOffset = dirOffset; + input.offset = t1 + ip; + }, + _findEocdrSignature$1: function(input) { + var ip, + t1 = input.offset, + t2 = input.start; + for (ip = input.get$length(input) - 5; ip >= 0; --ip) { + input.offset = t2 + ip; + if (input.readUint32$0() === 101010256) { + input.offset = t2 + (t1 - t2); + return ip; + } + } + throw H.wrapException(R.ArchiveException$("Could not find End of Central Directory Record")); + } + }; + Q.AesHeader.prototype = {}; + Q.ZipFile.prototype = { + ZipFile$3: function(input, header, password) { + var fnLen, exLen, extra, t2, t3, id, size, bytes, t4, compressionMethod, sigOrCrc, _this = this, + t1 = input.readUint32$0(); + _this.signature = t1; + if (t1 !== 67324752) + throw H.wrapException(R.ArchiveException$("Invalid Zip Signature")); + input.readUint16$0(); + _this.flags = input.readUint16$0(); + _this.compressionMethod = input.readUint16$0(); + _this.lastModFileTime = input.readUint16$0(); + _this.lastModFileDate = input.readUint16$0(); + _this.crc32 = input.readUint32$0(); + input.readUint32$0(); + _this.uncompressedSize = input.readUint32$0(); + fnLen = input.readUint16$0(); + exLen = input.readUint16$0(); + _this.filename = input.readString$1$size(fnLen); + _this.set$extraField(input.readBytes$1(exLen).toUint8List$0()); + _this._encryptionType = (_this.flags & 1) !== 0 ? 1 : 0; + _this._password = password; + t1 = _this.header.compressedSize; + t1.toString; + _this.__ZipFile__rawContent = input.readBytes$1(t1); + if (_this._encryptionType !== 0 && exLen > 2) { + extra = T.InputStream$(_this.extraField, 0, null, 0); + t1 = extra.start; + while (true) { + t2 = extra.offset; + t3 = extra.__InputStream__length; + if (t3 === $) + t3 = H.throwExpression(H.LateError$fieldNI("_length")); + if (typeof t3 !== "number") + return H.iae(t3); + if (!(t2 < t1 + t3)) + break; + id = extra.readUint16$0(); + size = extra.readUint16$0(); + bytes = extra.subset$2(extra.offset - t1, size); + t2 = extra.offset; + t3 = bytes.__InputStream__length; + if (t3 === $) + t3 = H.throwExpression(H.LateError$fieldNI("_length")); + t4 = bytes.offset; + if (typeof t3 !== "number") + return t3.$sub(); + extra.offset = t2 + (t3 - (t4 - bytes.start)); + if (id === 39169) { + bytes.readUint16$0(); + bytes.readString$1$size(2); + t2 = J.$index$asx(bytes.buffer, bytes.offset++); + compressionMethod = bytes.readUint16$0(); + _this._encryptionType = 2; + _this._aesHeader = new Q.AesHeader(t2, compressionMethod); + _this.compressionMethod = compressionMethod; + } + } + } + if ((_this.flags & 8) !== 0) { + sigOrCrc = input.readUint32$0(); + if (sigOrCrc === 134695760) + _this.crc32 = input.readUint32$0(); + else + _this.crc32 = sigOrCrc; + input.readUint32$0(); + _this.uncompressedSize = input.readUint32$0(); + } + t1 = _this.header; + t1 = t1 == null ? null : t1.filename; + _this.filename = t1 == null ? _this.filename : t1; + }, + get$content: function(_) { + var t1, t2, salt, keySize, verify, bytes, deriveKey, keyData, aesDecrypt, t3, t4, t5, mac, output, _this = this; + if (_this._zip_file$_content == null) { + if (_this._encryptionType !== 0) { + t1 = _this.get$_zip_file$_rawContent(); + if (t1.get$length(t1) <= 0) { + _this.set$_zip_file$_content(0, _this.get$_zip_file$_rawContent().toUint8List$0()); + _this._encryptionType = 0; + } else { + t1 = _this._encryptionType; + if (t1 === 1) + _this.__ZipFile__rawContent = _this._decodeZipCrypto$1(_this.get$_zip_file$_rawContent()); + else if (t1 === 2) { + t1 = _this.get$_zip_file$_rawContent(); + t2 = _this._aesHeader.encryptionStrength; + if (t2 === 1) { + salt = t1.readBytes$1(8).toUint8List$0(); + keySize = 16; + } else if (t2 === 2) { + salt = t1.readBytes$1(12).toUint8List$0(); + keySize = 24; + } else { + salt = t1.readBytes$1(16).toUint8List$0(); + keySize = 32; + } + verify = t1.readBytes$1(2).toUint8List$0(); + bytes = t1.readBytes$1(t1.get$length(t1) - 10).toUint8List$0(); + t1 = _this._password; + t1.toString; + deriveKey = Q.ZipFile__deriveKey(t1, salt, keySize); + keyData = new Uint8Array(H._ensureNativeList(C.NativeUint8List_methods.sublist$2(deriveKey, 0, keySize))); + t1 = keySize * 2; + if (!O.Uint8ListEquality_equals(C.NativeUint8List_methods.sublist$2(deriveKey, t1, t1 + 2), verify)) + H.throwExpression(P.Exception_Exception("password error")); + t1 = new Uint8Array(16); + aesDecrypt = new O.AesDecrypt(t1, new Uint8Array(16), keyData, keySize); + t1 = type$.int; + t2 = J.JSArray_JSArray$fixed(0, t1); + t3 = type$.JSArray_int; + t4 = H.setRuntimeTypeInfo([99, 124, 119, 123, 242, 107, 111, 197, 48, 1, 103, 43, 254, 215, 171, 118, 202, 130, 201, 125, 250, 89, 71, 240, 173, 212, 162, 175, 156, 164, 114, 192, 183, 253, 147, 38, 54, 63, 247, 204, 52, 165, 229, 241, 113, 216, 49, 21, 4, 199, 35, 195, 24, 150, 5, 154, 7, 18, 128, 226, 235, 39, 178, 117, 9, 131, 44, 26, 27, 110, 90, 160, 82, 59, 214, 179, 41, 227, 47, 132, 83, 209, 0, 237, 32, 252, 177, 91, 106, 203, 190, 57, 74, 76, 88, 207, 208, 239, 170, 251, 67, 77, 51, 133, 69, 249, 2, 127, 80, 60, 159, 168, 81, 163, 64, 143, 146, 157, 56, 245, 188, 182, 218, 33, 16, 255, 243, 210, 205, 12, 19, 236, 95, 151, 68, 23, 196, 167, 126, 61, 100, 93, 25, 115, 96, 129, 79, 220, 34, 42, 144, 136, 70, 238, 184, 20, 222, 94, 11, 219, 224, 50, 58, 10, 73, 6, 36, 92, 194, 211, 172, 98, 145, 149, 228, 121, 231, 200, 55, 109, 141, 213, 78, 169, 108, 86, 244, 234, 101, 122, 174, 8, 186, 120, 37, 46, 28, 166, 180, 198, 232, 221, 116, 31, 75, 189, 139, 138, 112, 62, 181, 102, 72, 3, 246, 14, 97, 53, 87, 185, 134, 193, 29, 158, 225, 248, 152, 17, 105, 217, 142, 148, 155, 30, 135, 233, 206, 85, 40, 223, 140, 161, 137, 13, 191, 230, 66, 104, 65, 153, 45, 15, 176, 84, 187, 22], t3); + t5 = H.setRuntimeTypeInfo([82, 9, 106, 213, 48, 54, 165, 56, 191, 64, 163, 158, 129, 243, 215, 251, 124, 227, 57, 130, 155, 47, 255, 135, 52, 142, 67, 68, 196, 222, 233, 203, 84, 123, 148, 50, 166, 194, 35, 61, 238, 76, 149, 11, 66, 250, 195, 78, 8, 46, 161, 102, 40, 217, 36, 178, 118, 91, 162, 73, 109, 139, 209, 37, 114, 248, 246, 100, 134, 104, 152, 22, 212, 164, 92, 204, 93, 101, 182, 146, 108, 112, 72, 80, 253, 237, 185, 218, 94, 21, 70, 87, 167, 141, 157, 132, 144, 216, 171, 0, 140, 188, 211, 10, 247, 228, 88, 5, 184, 179, 69, 6, 208, 44, 30, 143, 202, 63, 15, 2, 193, 175, 189, 3, 1, 19, 138, 107, 58, 145, 17, 65, 79, 103, 220, 234, 151, 242, 207, 206, 240, 180, 230, 115, 150, 172, 116, 34, 231, 173, 53, 133, 226, 249, 55, 232, 28, 117, 223, 110, 71, 241, 26, 113, 29, 41, 197, 137, 111, 183, 98, 14, 170, 24, 190, 27, 252, 86, 62, 75, 198, 210, 121, 32, 154, 219, 192, 254, 120, 205, 90, 244, 31, 221, 168, 51, 136, 7, 199, 49, 177, 18, 16, 89, 39, 128, 236, 95, 96, 81, 127, 169, 25, 181, 74, 13, 45, 229, 122, 159, 147, 201, 156, 239, 160, 224, 59, 77, 174, 42, 245, 176, 200, 235, 187, 60, 131, 83, 153, 97, 23, 43, 4, 126, 186, 119, 214, 38, 225, 105, 20, 99, 85, 33, 12, 125], t3); + t3 = aesDecrypt.aesEngine = new F.AESEngine(t2, t4, t5, H.setRuntimeTypeInfo([1, 2, 4, 8, 16, 32, 64, 128, 27, 54, 108, 216, 171, 77, 154, 47, 94, 188, 99, 198, 151, 53, 106, 212, 179, 125, 250, 239, 197, 145], t3), H.setRuntimeTypeInfo([2774754246, 2222750968, 2574743534, 2373680118, 234025727, 3177933782, 2976870366, 1422247313, 1345335392, 50397442, 2842126286, 2099981142, 436141799, 1658312629, 3870010189, 2591454956, 1170918031, 2642575903, 1086966153, 2273148410, 368769775, 3948501426, 3376891790, 200339707, 3970805057, 1742001331, 4255294047, 3937382213, 3214711843, 4154762323, 2524082916, 1539358875, 3266819957, 486407649, 2928907069, 1780885068, 1513502316, 1094664062, 49805301, 1338821763, 1546925160, 4104496465, 887481809, 150073849, 2473685474, 1943591083, 1395732834, 1058346282, 201589768, 1388824469, 1696801606, 1589887901, 672667696, 2711000631, 251987210, 3046808111, 151455502, 907153956, 2608889883, 1038279391, 652995533, 1764173646, 3451040383, 2675275242, 453576978, 2659418909, 1949051992, 773462580, 756751158, 2993581788, 3998898868, 4221608027, 4132590244, 1295727478, 1641469623, 3467883389, 2066295122, 1055122397, 1898917726, 2542044179, 4115878822, 1758581177, 0, 753790401, 1612718144, 536673507, 3367088505, 3982187446, 3194645204, 1187761037, 3653156455, 1262041458, 3729410708, 3561770136, 3898103984, 1255133061, 1808847035, 720367557, 3853167183, 385612781, 3309519750, 3612167578, 1429418854, 2491778321, 3477423498, 284817897, 100794884, 2172616702, 4031795360, 1144798328, 3131023141, 3819481163, 4082192802, 4272137053, 3225436288, 2324664069, 2912064063, 3164445985, 1211644016, 83228145, 3753688163, 3249976951, 1977277103, 1663115586, 806359072, 452984805, 250868733, 1842533055, 1288555905, 336333848, 890442534, 804056259, 3781124030, 2727843637, 3427026056, 957814574, 1472513171, 4071073621, 2189328124, 1195195770, 2892260552, 3881655738, 723065138, 2507371494, 2690670784, 2558624025, 3511635870, 2145180835, 1713513028, 2116692564, 2878378043, 2206763019, 3393603212, 703524551, 3552098411, 1007948840, 2044649127, 3797835452, 487262998, 1994120109, 1004593371, 1446130276, 1312438900, 503974420, 3679013266, 168166924, 1814307912, 3831258296, 1573044895, 1859376061, 4021070915, 2791465668, 2828112185, 2761266481, 937747667, 2339994098, 854058965, 1137232011, 1496790894, 3077402074, 2358086913, 1691735473, 3528347292, 3769215305, 3027004632, 4199962284, 133494003, 636152527, 2942657994, 2390391540, 3920539207, 403179536, 3585784431, 2289596656, 1864705354, 1915629148, 605822008, 4054230615, 3350508659, 1371981463, 602466507, 2094914977, 2624877800, 555687742, 3712699286, 3703422305, 2257292045, 2240449039, 2423288032, 1111375484, 3300242801, 2858837708, 3628615824, 84083462, 32962295, 302911004, 2741068226, 1597322602, 4183250862, 3501832553, 2441512471, 1489093017, 656219450, 3114180135, 954327513, 335083755, 3013122091, 856756514, 3144247762, 1893325225, 2307821063, 2811532339, 3063651117, 572399164, 2458355477, 552200649, 1238290055, 4283782570, 2015897680, 2061492133, 2408352771, 4171342169, 2156497161, 386731290, 3669999461, 837215959, 3326231172, 3093850320, 3275833730, 2962856233, 1999449434, 286199582, 3417354363, 4233385128, 3602627437, 974525996], t3), H.setRuntimeTypeInfo([1353184337, 1399144830, 3282310938, 2522752826, 3412831035, 4047871263, 2874735276, 2466505547, 1442459680, 4134368941, 2440481928, 625738485, 4242007375, 3620416197, 2151953702, 2409849525, 1230680542, 1729870373, 2551114309, 3787521629, 41234371, 317738113, 2744600205, 3338261355, 3881799427, 2510066197, 3950669247, 3663286933, 763608788, 3542185048, 694804553, 1154009486, 1787413109, 2021232372, 1799248025, 3715217703, 3058688446, 397248752, 1722556617, 3023752829, 407560035, 2184256229, 1613975959, 1165972322, 3765920945, 2226023355, 480281086, 2485848313, 1483229296, 436028815, 2272059028, 3086515026, 601060267, 3791801202, 1468997603, 715871590, 120122290, 63092015, 2591802758, 2768779219, 4068943920, 2997206819, 3127509762, 1552029421, 723308426, 2461301159, 4042393587, 2715969870, 3455375973, 3586000134, 526529745, 2331944644, 2639474228, 2689987490, 853641733, 1978398372, 971801355, 2867814464, 111112542, 1360031421, 4186579262, 1023860118, 2919579357, 1186850381, 3045938321, 90031217, 1876166148, 4279586912, 620468249, 2548678102, 3426959497, 2006899047, 3175278768, 2290845959, 945494503, 3689859193, 1191869601, 3910091388, 3374220536, 0, 2206629897, 1223502642, 2893025566, 1316117100, 4227796733, 1446544655, 517320253, 658058550, 1691946762, 564550760, 3511966619, 976107044, 2976320012, 266819475, 3533106868, 2660342555, 1338359936, 2720062561, 1766553434, 370807324, 179999714, 3844776128, 1138762300, 488053522, 185403662, 2915535858, 3114841645, 3366526484, 2233069911, 1275557295, 3151862254, 4250959779, 2670068215, 3170202204, 3309004356, 880737115, 1982415755, 3703972811, 1761406390, 1676797112, 3403428311, 277177154, 1076008723, 538035844, 2099530373, 4164795346, 288553390, 1839278535, 1261411869, 4080055004, 3964831245, 3504587127, 1813426987, 2579067049, 4199060497, 577038663, 3297574056, 440397984, 3626794326, 4019204898, 3343796615, 3251714265, 4272081548, 906744984, 3481400742, 685669029, 646887386, 2764025151, 3835509292, 227702864, 2613862250, 1648787028, 3256061430, 3904428176, 1593260334, 4121936770, 3196083615, 2090061929, 2838353263, 3004310991, 999926984, 2809993232, 1852021992, 2075868123, 158869197, 4095236462, 28809964, 2828685187, 1701746150, 2129067946, 147831841, 3873969647, 3650873274, 3459673930, 3557400554, 3598495785, 2947720241, 824393514, 815048134, 3227951669, 935087732, 2798289660, 2966458592, 366520115, 1251476721, 4158319681, 240176511, 804688151, 2379631990, 1303441219, 1414376140, 3741619940, 3820343710, 461924940, 3089050817, 2136040774, 82468509, 1563790337, 1937016826, 776014843, 1511876531, 1389550482, 861278441, 323475053, 2355222426, 2047648055, 2383738969, 2302415851, 3995576782, 902390199, 3991215329, 1018251130, 1507840668, 1064563285, 2043548696, 3208103795, 3939366739, 1537932639, 342834655, 2262516856, 2180231114, 1053059257, 741614648, 1598071746, 1925389590, 203809468, 2336832552, 1100287487, 1895934009, 3736275976, 2632234200, 2428589668, 1636092795, 1890988757, 1952214088, 1113045200], t3)); + t3._forEncryption = true; + t3.set$_WorkingKey(t3.generateWorkingKey$2(true, new U.KeyParameter(keyData))); + if (t3._forEncryption) + t3.set$_s(P.List_List$from(t4, true, t1)); + else + t3.set$_s(P.List_List$from(t5, true, t1)); + mac = A.HMac$(A.SHA1Digest$(), 64); + mac.init$1(0, new U.KeyParameter(keyData)); + aesDecrypt.mac = mac; + aesDecrypt.decryptData$3(bytes, 0, J.get$length$asx(bytes)); + _this.__ZipFile__rawContent = T.InputStream$(bytes, 0, null, 0); + } + _this._encryptionType = 0; + } + } + t1 = _this.compressionMethod; + if (t1 === 8) { + t1 = _this.get$_zip_file$_rawContent(); + t2 = _this.uncompressedSize; + t3 = Y.HuffmanTable$(C.List_2Bc); + t4 = Y.HuffmanTable$(C.List_X3d1); + t2 = Q.OutputStream$(t2); + t4 = new S.Inflate(t1, t2, t3, t4); + t4.inputSet = true; + t4._inflate$0(); + _this.set$_zip_file$_content(0, type$.List_int._as(C.NativeByteBuffer_methods.asUint8List$2(t2._output_stream$_buffer.buffer, 0, t2.length))); + _this.compressionMethod = 0; + } else if (t1 === 12) { + output = Q.OutputStream$(32768); + new L.BZip2Decoder().decodeStream$2(_this.get$_zip_file$_rawContent(), output); + _this.set$_zip_file$_content(0, C.NativeByteBuffer_methods.asUint8List$2(output._output_stream$_buffer.buffer, 0, output.length)); + _this.compressionMethod = 0; + } else if (t1 === 0) + _this.set$_zip_file$_content(0, _this.get$_zip_file$_rawContent().toUint8List$0()); + else + throw H.wrapException(R.ArchiveException$("Unsupported zip compression method " + t1)); + } + t1 = _this._zip_file$_content; + t1.toString; + return t1; + }, + toString$0: function(_) { + return this.filename; + }, + _updateKeys$1: function(c) { + var t1 = this._zip_file$_keys; + C.JSArray_methods.$indexSet(t1, 0, X.CRC32(t1[0], c)); + C.JSArray_methods.$indexSet(t1, 1, t1[1] + (t1[0] & 255)); + C.JSArray_methods.$indexSet(t1, 1, t1[1] * 134775813 + 1); + C.JSArray_methods.$indexSet(t1, 2, X.CRC32(t1[2], t1[1] >>> 24)); + }, + _decryptByte$0: function() { + var temp = this._zip_file$_keys[2] & 65535 | 2; + return temp * (temp ^ 1) >>> 8 & 255; + }, + _decodeZipCrypto$1: function(input) { + var i, t1, t2, bytes, temp, _this = this; + for (i = 0; i < 12; ++i) { + t1 = _this.__ZipFile__rawContent; + if (t1 === $) + t1 = H.throwExpression(H.LateError$fieldNI("_rawContent")); + t1 = J.$index$asx(t1.buffer, t1.offset++); + t2 = _this._decryptByte$0(); + if (typeof t1 !== "number") + return t1.$xor(); + _this._updateKeys$1((t1 ^ t2) >>> 0); + } + bytes = _this.get$_zip_file$_rawContent().toUint8List$0(); + for (t1 = J.getInterceptor$asx(bytes), i = 0; i < t1.get$length(bytes); ++i) { + temp = (t1.$index(bytes, i) ^ _this._decryptByte$0()) >>> 0; + _this._updateKeys$1(temp); + t1.$indexSet(bytes, i, temp); + } + return T.InputStream$(bytes, 0, null, 0); + }, + get$_zip_file$_rawContent: function() { + var t1 = this.__ZipFile__rawContent; + return t1 === $ ? H.throwExpression(H.LateError$fieldNI("_rawContent")) : t1; + }, + set$extraField: function(extraField) { + this.extraField = type$.List_int._as(extraField); + }, + set$_zip_file$_content: function(_, _content) { + this._zip_file$_content = type$.nullable_List_int._as(_content); + } + }; + X.ZipFileHeader.prototype = { + ZipFileHeader$3: function(input, bytes, password) { + var fnameLen, extraLen, commentLen, extra, t1, t2, t3, id, size, bytes0, t4, _this = this; + _this.versionMadeBy = input.readUint16$0(); + input.readUint16$0(); + input.readUint16$0(); + input.readUint16$0(); + input.readUint16$0(); + input.readUint16$0(); + input.readUint32$0(); + _this.compressedSize = input.readUint32$0(); + _this.uncompressedSize = input.readUint32$0(); + fnameLen = input.readUint16$0(); + extraLen = input.readUint16$0(); + commentLen = input.readUint16$0(); + _this.diskNumberStart = input.readUint16$0(); + input.readUint16$0(); + _this.externalFileAttributes = input.readUint32$0(); + _this.localHeaderOffset = input.readUint32$0(); + if (fnameLen > 0) + _this.filename = input.readString$1$size(fnameLen); + if (extraLen > 0) { + extra = input.readBytes$1(extraLen); + _this.set$extraField(extra.toUint8List$0()); + extra.rewind$1(extraLen); + t1 = extra.start; + while (true) { + t2 = extra.offset; + t3 = extra.__InputStream__length; + if (t3 === $) + t3 = H.throwExpression(H.LateError$fieldNI("_length")); + if (typeof t3 !== "number") + return H.iae(t3); + if (!(t2 < t1 + t3)) + break; + id = extra.readUint16$0(); + size = extra.readUint16$0(); + bytes0 = extra.subset$2(extra.offset - t1, size); + t2 = extra.offset; + t3 = bytes0.__InputStream__length; + if (t3 === $) + t3 = H.throwExpression(H.LateError$fieldNI("_length")); + t4 = bytes0.offset; + if (typeof t3 !== "number") + return t3.$sub(); + extra.offset = t2 + (t3 - (t4 - bytes0.start)); + if (id === 1) { + if (size >= 8 && _this.uncompressedSize === 4294967295) { + _this.uncompressedSize = bytes0.readUint64$0(); + size -= 8; + } + if (size >= 8 && _this.compressedSize === 4294967295) { + _this.compressedSize = bytes0.readUint64$0(); + size -= 8; + } + if (size >= 8 && _this.localHeaderOffset === 4294967295) { + _this.localHeaderOffset = bytes0.readUint64$0(); + size -= 8; + } + if (size >= 4 && _this.diskNumberStart === 65535) + _this.diskNumberStart = bytes0.readUint32$0(); + } + } + } + if (commentLen > 0) + input.readString$1$size(commentLen); + t1 = _this.localHeaderOffset; + t1.toString; + bytes.offset = bytes.start + t1; + t1 = type$.JSArray_int; + t1 = new Q.ZipFile(H.setRuntimeTypeInfo([], t1), _this, H.setRuntimeTypeInfo([0, 0, 0], t1)); + t1.ZipFile$3(bytes, _this, password); + _this.file = t1; + }, + toString$0: function(_) { + return this.filename; + }, + set$extraField: function(extraField) { + this.extraField = type$.List_int._as(extraField); + } + }; + Q.ZipDecoder.prototype = { + decodeBuffer$3$password$verify: function(input, password, verify) { + var archive, t2, t3, _i, zfh, t4, t5, t6, computedCrc, t7, t8, t9, file, + t1 = new E.ZipDirectory(H.setRuntimeTypeInfo([], type$.JSArray_ZipFileHeader)); + t1.ZipDirectory$read$2$password(input, password); + this.__ZipDecoder_directory = t1; + archive = new D.Archive(H.setRuntimeTypeInfo([], type$.JSArray_ArchiveFile), P.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.int)); + t1 = this.__ZipDecoder_directory; + t1 = (t1 === $ ? H.throwExpression(H.LateError$fieldNI("directory")) : t1).fileHeaders; + t2 = t1.length; + t3 = type$.List_int; + _i = 0; + for (; _i < t1.length; t1.length === t2 || (0, H.throwConcurrentModificationError)(t1), ++_i) { + zfh = t1[_i]; + t4 = zfh.file; + t4.toString; + t5 = zfh.externalFileAttributes; + t5.toString; + t6 = t4.compressionMethod; + computedCrc = X.getCrc32(t4.get$content(t4), 0); + if (computedCrc !== t4.crc32) + throw H.wrapException(R.ArchiveException$("Invalid CRC for file in archive.")); + t7 = t4.filename; + t8 = t4.uncompressedSize; + t8.toString; + t9 = t4.compressionMethod; + file = new B.ArchiveFile(t7, t8, C.JSInt_methods._tdivFast$1(Date.now(), 1000), t9); + file.ArchiveFile$4(t7, t8, t4, t9); + t5 = t5 >>> 16; + file.mode = t5; + if (zfh.versionMadeBy >>> 8 === 3) { + file.isFile = false; + switch (t5 & 61440) { + case 32768: + case 0: + file.isFile = true; + break; + case 40960: + t5 = file._archive_file$_content; + if ((t5 instanceof X.FileContent ? file._archive_file$_content = t5.get$content(t5) : t5) == null) + file.decompress$0(); + t5 = t3._as(t3._as(file._archive_file$_content)); + C.Utf8Decoder_false.convert$1(t5); + break; + } + } else + file.isFile = !J.endsWith$1$s(file.name, "/"); + file.crc32 = t4.crc32; + file.compress = t6 !== 0; + file.lastModTime = (t4.lastModFileDate << 16 | t4.lastModFileTime) >>> 0; + archive.addFile$1(0, file); + } + return archive; + } + }; + K._ZipFileData.prototype = {}; + K._ZipEncoderData.prototype = {}; + K.ZipEncoder.prototype = { + get$_zip_encoder$_data: function() { + var t1 = this.__ZipEncoder__data; + return t1 === $ ? H.throwExpression(H.LateError$fieldNI("_data")) : t1; + }, + encode$1: function(archive) { + var t2, t3, t4, t5, _i, file, fileData, t6, lastModMS, lastModTime, compressedData, crc32, bytes, level, t7, t8, t9, t10, t11, t12, t13, encodedFilename, dataLen, filename, compressedSize, needsZip64, compressionMethod, lastModFileTime, lastModFileDate, uncompressedSize, out, extra, _this = this, _null = null, _s5_ = "_data", _4294967295 = 4294967295, + output = Q.OutputStream$(32768), + t1 = new K._ZipEncoderData(1, H.setRuntimeTypeInfo([], type$.JSArray__ZipFileData)); + t1.___ZipEncoderData_time = K._getTime(_null); + t1.___ZipEncoderData_date = K._getDate(_null); + _this.__ZipEncoder__data = t1; + _this._output = output; + for (t1 = archive.files, t2 = t1.length, t3 = type$.Utf8Codec._eval$1("Codec.S"), t4 = type$.JSArray_int, t5 = type$.List_int, _i = 0; _i < t1.length; t1.length === t2 || (0, H.throwConcurrentModificationError)(t1), ++_i) { + file = t1[_i]; + fileData = new K._ZipFileData(); + t6 = _this.__ZipEncoder__data; + C.JSArray_methods.add$1((t6 === $ ? H.throwExpression(H.LateError$fieldNI(_s5_)) : t6).files, fileData); + lastModMS = file.lastModTime * 1000; + lastModTime = new P.DateTime(lastModMS, false); + lastModTime.DateTime$_withValue$2$isUtc(lastModMS, false); + fileData.___ZipFileData_name = file.name; + t6 = _this.__ZipEncoder__data; + t6 = (t6 === $ ? H.throwExpression(H.LateError$fieldNI(_s5_)) : t6).___ZipEncoderData_time; + if (t6 === $) + t6 = H.throwExpression(H.LateError$fieldNI("time")); + if (t6 == null) { + t6 = K._getTime(lastModTime); + t6.toString; + } + fileData.time = t6; + t6 = _this.__ZipEncoder__data; + t6 = (t6 === $ ? H.throwExpression(H.LateError$fieldNI(_s5_)) : t6).___ZipEncoderData_date; + if (t6 === $) + t6 = H.throwExpression(H.LateError$fieldNI("date")); + if (t6 == null) { + t6 = K._getDate(lastModTime); + t6.toString; + } + fileData.date = t6; + fileData.mode = file.mode; + if (!file.compress) { + if (file._compressionType !== 0) + file.decompress$0(); + t6 = file._archive_file$_content; + if ((t6 instanceof X.FileContent ? file._archive_file$_content = t6.get$content(t6) : t6) == null) + file.decompress$0(); + t6 = file._archive_file$_content; + if ((t6 instanceof X.FileContent ? file._archive_file$_content = t6.get$content(t6) : t6) == null) + file.decompress$0(); + compressedData = T.InputStream$(file._archive_file$_content, 0, _null, 0); + crc32 = file.crc32; + crc32 = crc32 != null ? crc32 : _this.getFileCrc32$1(file); + } else { + t6 = file._compressionType; + if (t6 !== 0 && t6 === 8) { + compressedData = file._rawContent; + crc32 = file.crc32; + crc32 = crc32 != null ? crc32 : _this.getFileCrc32$1(file); + } else if (file.isFile) { + crc32 = _this.getFileCrc32$1(file); + t6 = file._archive_file$_content; + if ((t6 instanceof X.FileContent ? file._archive_file$_content = t6.get$content(t6) : t6) == null) + file.decompress$0(); + bytes = file._archive_file$_content; + t5._as(bytes); + t6 = _this.__ZipEncoder__data; + level = (t6 === $ ? H.throwExpression(H.LateError$fieldNI(_s5_)) : t6).level; + t6 = new T._HuffmanTree(); + t7 = new T._HuffmanTree(); + t8 = new T._HuffmanTree(); + t9 = new Uint16Array(16); + t10 = new Uint32Array(573); + t11 = new Uint8Array(573); + t12 = T.InputStream$(bytes, 0, _null, 0); + t13 = new Q.OutputStream(new Uint8Array(32768)); + t11 = new T.Deflate(t12, t13, t6, t7, t8, t9, t10, t11); + if (level === -1) + level = 6; + if (level <= 9) + t9 = false; + else + t9 = true; + if (t9) + H.throwExpression(R.ArchiveException$("Invalid Deflate parameter")); + $.Deflate____config = t11._getConfig$1(level); + t9 = t11.__Deflate__dynamicLengthTree = new Uint16Array(1146); + t10 = t11.__Deflate__dynamicDistTree = new Uint16Array(122); + t12 = t11.__Deflate__bitLengthTree = new Uint16Array(78); + t11.__Deflate__windowBits = 15; + t11.__Deflate__windowSize = 32768; + t11.__Deflate__windowMask = 32768 - 1; + t11.__Deflate__hashBits = 15; + t11.__Deflate__hashSize = 32768; + t11.__Deflate__hashMask = 32768 - 1; + t11.__Deflate__hashShift = 5; + t11.__Deflate__window = new Uint8Array(32768 * 2); + t11.__Deflate__prev = new Uint16Array(32768); + t11.__Deflate__head = new Uint16Array(32768); + t11.__Deflate__litBufferSize = 16384; + t11.__Deflate__pendingBuffer = new Uint8Array(65536); + t11.__Deflate__pendingBufferSize = 65536; + t11.__Deflate__dbuf = 16384; + t11.__Deflate__lbuf = 49152; + t11.__Deflate__level = level; + t11.__Deflate__pendingOut = t11.__Deflate__pending = t11.__Deflate__strategy = 0; + t11._status = 113; + t11.crc32 = 0; + t6.___HuffmanTree_dynamicTree = t9 === $ ? H.throwExpression(H.LateError$fieldNI("_dynamicLengthTree")) : t9; + t6.___HuffmanTree_staticDesc = $.$get$_StaticTree_staticLDesc(); + t7.___HuffmanTree_dynamicTree = t10 === $ ? H.throwExpression(H.LateError$fieldNI("_dynamicDistTree")) : t10; + t7.___HuffmanTree_staticDesc = $.$get$_StaticTree_staticDDesc(); + t8.___HuffmanTree_dynamicTree = t12 === $ ? H.throwExpression(H.LateError$fieldNI("_bitLengthTree")) : t12; + t8.___HuffmanTree_staticDesc = $.$get$_StaticTree_staticBlDesc(); + t11.__Deflate__numValidBits = t11.__Deflate__bitBuffer = 0; + t11.__Deflate__lastEOBLen = 8; + t11._initBlock$0(); + t11._lmInit$0(); + t11._deflate$1(4); + t11._flushPending$0(); + compressedData = T.InputStream$(t5._as(C.NativeByteBuffer_methods.asUint8List$2(t13._output_stream$_buffer.buffer, 0, t13.length)), 0, _null, 0); + } else { + compressedData = _null; + crc32 = 0; + } + } + t6 = t3._as(file.name); + encodedFilename = C.C_Utf8Codec.get$encoder().convert$1(t6); + if (compressedData == null) + dataLen = _null; + else { + t6 = compressedData.__InputStream__length; + if (t6 === $) + t6 = H.throwExpression(H.LateError$fieldNI("_length")); + t7 = compressedData.offset; + t8 = compressedData.start; + if (typeof t6 !== "number") + return t6.$sub(); + t8 = t6 - (t7 - t8); + dataLen = t8; + } + if (dataLen == null) + dataLen = 0; + t6 = _this.__ZipEncoder__data; + t7 = t6 === $ ? H.throwExpression(H.LateError$fieldNI(_s5_)) : t6; + t8 = encodedFilename.length; + t7.localFileSize = t7.localFileSize + (30 + t8 + dataLen); + t7 = t6.centralDirectorySize; + t6.centralDirectorySize = t7 + (46 + t8); + fileData.crc32 = crc32; + fileData.compressedSize = dataLen; + fileData.compressedData = compressedData; + fileData.uncompressedSize = file.size; + fileData.compress = file.compress; + fileData.comment = null; + t6 = _this._output; + fileData.position = t6.length; + filename = fileData.___ZipFileData_name; + if (filename === $) + filename = H.throwExpression(H.LateError$fieldNI("name")); + t6.writeUint32$1(67324752); + compressedSize = fileData.compressedSize; + if (compressedSize <= 4294967295) { + t7 = fileData.uncompressedSize; + if (typeof t7 !== "number") + return t7.$gt(); + needsZip64 = t7 > 4294967295; + } else + needsZip64 = true; + compressionMethod = fileData.compress ? 8 : 0; + lastModFileTime = fileData.time; + lastModFileDate = fileData.date; + crc32 = fileData.crc32; + if (needsZip64) + compressedSize = _4294967295; + uncompressedSize = needsZip64 ? _4294967295 : fileData.uncompressedSize; + if (needsZip64) { + out = new Q.OutputStream(new Uint8Array(32768)); + out.writeByte$1(1); + out.writeByte$1(0); + out.writeByte$1(16); + out.writeByte$1(0); + out.writeUint64$1(fileData.uncompressedSize); + out.writeUint64$1(fileData.compressedSize); + extra = C.NativeByteBuffer_methods.asUint8List$2(out._output_stream$_buffer.buffer, 0, out.length); + } else + extra = H.setRuntimeTypeInfo([], t4); + compressedData = fileData.compressedData; + t3._as(filename); + encodedFilename = C.C_Utf8Codec.get$encoder().convert$1(filename); + t6.writeUint16$1(20); + t6.writeUint16$1(2048); + t6.writeUint16$1(compressionMethod); + t6.writeUint16$1(lastModFileTime); + t6.writeUint16$1(lastModFileDate); + t6.writeUint32$1(crc32); + t6.writeUint32$1(compressedSize); + t6.writeUint32$1(uncompressedSize); + t6.writeUint16$1(encodedFilename.length); + t6.writeUint16$1(extra.length); + t6.writeBytes$1(encodedFilename); + t6.writeBytes$1(extra); + if (compressedData != null) + t6.writeInputStream$1(compressedData); + fileData.compressedData = null; + } + t1 = archive.comment; + t2 = _this.get$_zip_encoder$_data().files; + t3 = _this._output; + t3.toString; + _this._writeCentralDirectory$3(t2, t1, t3); + t1 = C.NativeByteBuffer_methods.asUint8List$2(output._output_stream$_buffer.buffer, 0, output.length); + return t1; + }, + getFileCrc32$1: function(file) { + if (file.get$content(file) == null) + return 0; + file.get$content(file); + return X.getCrc32(type$.List_int._as(file.get$content(file)), 0); + }, + _writeCentralDirectory$3: function(files, comment, output) { + var t1, encodedComment, centralDirPosition, t2, t3, zipNeedsZip64, _i, t4, fileData, needsZip64, compressionMethod, lastModifiedFileTime, lastModifiedFileDate, crc32, compressedSize, uncompressedSize, localHeaderOffset, out, extraField, fileComment, t5, encodedFilename, encodedFileComment, centralDirectorySize, _4294967295 = 4294967295; + type$.List__ZipFileData._as(files); + t1 = type$.Utf8Codec._eval$1("Codec.S"); + t1._as(""); + encodedComment = C.C_Utf8Codec.get$encoder().convert$1(""); + centralDirPosition = output.length; + for (t2 = files.length, t3 = type$.JSArray_int, zipNeedsZip64 = false, _i = 0; t4 = files.length, _i < t4; files.length === t2 || (0, H.throwConcurrentModificationError)(files), ++_i) { + fileData = files[_i]; + if (fileData.compressedSize <= 4294967295) { + t4 = fileData.uncompressedSize; + if (typeof t4 !== "number") + return t4.$gt(); + needsZip64 = t4 > 4294967295 || fileData.position > 4294967295; + } else + needsZip64 = true; + zipNeedsZip64 = C.JSBool_methods.$or(zipNeedsZip64, needsZip64); + compressionMethod = fileData.compress ? 8 : 0; + lastModifiedFileTime = fileData.time; + lastModifiedFileDate = fileData.date; + crc32 = fileData.crc32; + compressedSize = needsZip64 ? _4294967295 : fileData.compressedSize; + uncompressedSize = needsZip64 ? _4294967295 : fileData.uncompressedSize; + t4 = fileData.mode; + localHeaderOffset = needsZip64 ? _4294967295 : fileData.position; + if (needsZip64) { + out = new Q.OutputStream(new Uint8Array(32768)); + out.writeByte$1(1); + out.writeByte$1(0); + out.writeByte$1(24); + out.writeByte$1(0); + out.writeUint64$1(fileData.uncompressedSize); + out.writeUint64$1(fileData.compressedSize); + out.writeUint64$1(fileData.position); + extraField = C.NativeByteBuffer_methods.asUint8List$2(out._output_stream$_buffer.buffer, 0, out.length); + } else + extraField = H.setRuntimeTypeInfo([], t3); + fileComment = fileData.comment; + if (fileComment == null) + fileComment = ""; + t5 = fileData.___ZipFileData_name; + t5 = t1._as(t5 === $ ? H.throwExpression(H.LateError$fieldNI("name")) : t5); + encodedFilename = C.C_Utf8Codec.get$encoder().convert$1(t5); + t1._as(fileComment); + encodedFileComment = C.C_Utf8Codec.get$encoder().convert$1(fileComment); + output.writeUint32$1(33639248); + output.writeUint16$1(20); + output.writeUint16$1(20); + output.writeUint16$1(2048); + output.writeUint16$1(compressionMethod); + output.writeUint16$1(lastModifiedFileTime); + output.writeUint16$1(lastModifiedFileDate); + output.writeUint32$1(crc32); + output.writeUint32$1(compressedSize); + output.writeUint32$1(uncompressedSize); + output.writeUint16$1(encodedFilename.length); + output.writeUint16$1(extraField.length); + output.writeUint16$1(encodedFileComment.length); + output.writeUint16$1(0); + output.writeUint16$1(0); + output.writeUint32$1(t4 << 16 >>> 0); + output.writeUint32$1(localHeaderOffset); + output.writeBytes$1(encodedFilename); + output.writeBytes$1(extraField); + output.writeBytes$1(encodedFileComment); + } + t1 = output.length; + centralDirectorySize = t1 - centralDirPosition; + if (!zipNeedsZip64) + if (t4 <= 65535) { + t2 = centralDirectorySize > 4294967295 || centralDirPosition > 4294967295; + needsZip64 = t2; + } else + needsZip64 = true; + else + needsZip64 = true; + if (needsZip64) { + output.writeUint32$1(101075792); + output.writeUint64$1(44); + output.writeUint16$1(45); + output.writeUint16$1(45); + output.writeUint32$1(0); + output.writeUint32$1(0); + output.writeUint64$1(t4); + output.writeUint64$1(t4); + output.writeUint64$1(centralDirectorySize); + output.writeUint64$1(centralDirPosition); + output.writeUint32$1(117853008); + output.writeUint32$1(0); + output.writeUint64$1(t1); + output.writeUint32$1(1); + } + output.writeUint32$1(101010256); + output.writeUint16$1(0); + output.writeUint16$1(needsZip64 ? 65535 : 0); + output.writeUint16$1(needsZip64 ? 65535 : t4); + output.writeUint16$1(needsZip64 ? 65535 : t4); + output.writeUint32$1(needsZip64 ? _4294967295 : centralDirectorySize); + output.writeUint32$1(needsZip64 ? _4294967295 : centralDirPosition); + output.writeUint16$1(encodedComment.length); + output.writeBytes$1(encodedComment); + } + }; + T.Deflate.prototype = { + _deflate$1: function(flush) { + var t1, bstate, t2, i, _this = this; + if (flush > 4 || false) + throw H.wrapException(R.ArchiveException$("Invalid Deflate Parameter")); + if (_this.get$_deflate$_pending() !== 0) + _this._flushPending$0(); + if (_this._deflate$_input.get$isEOS()) + if (_this.get$_lookAhead() === 0) + t1 = flush !== 0 && _this._status !== 666; + else + t1 = true; + else + t1 = true; + if (t1) { + t1 = $.Deflate____config; + switch ((t1 === $ ? H.throwExpression(H.LateError$fieldNI("_config")) : t1).$function) { + case 0: + bstate = _this._deflateStored$1(flush); + break; + case 1: + bstate = _this._deflateFast$1(flush); + break; + case 2: + bstate = _this._deflateSlow$1(flush); + break; + default: + bstate = -1; + break; + } + t1 = bstate === 2; + if (t1 || bstate === 3) + _this._status = 666; + if (bstate === 0 || t1) + return 0; + if (bstate === 1) { + if (flush === 1) { + _this._sendBits$2(2, 3); + _this._sendCode$2(256, C.List_Xg4); + _this.biFlush$0(); + t1 = _this.__Deflate__lastEOBLen; + if (t1 === $) + t1 = H.throwExpression(H.LateError$fieldNI("_lastEOBLen")); + if (typeof t1 !== "number") + return H.iae(t1); + t2 = _this.get$_numValidBits(); + if (typeof t2 !== "number") + return H.iae(t2); + if (1 + t1 + 10 - t2 < 9) { + _this._sendBits$2(2, 3); + _this._sendCode$2(256, C.List_Xg4); + _this.biFlush$0(); + } + _this.__Deflate__lastEOBLen = 7; + } else { + _this._trStoredBlock$3(0, 0, false); + if (flush === 3) { + i = 0; + while (true) { + t1 = _this.__Deflate__hashSize; + if (t1 === $) + t1 = H.throwExpression(H.LateError$fieldNI("_hashSize")); + if (typeof t1 !== "number") + return H.iae(t1); + if (!(i < t1)) + break; + t1 = _this.__Deflate__head; + if (t1 === $) + t1 = H.throwExpression(H.LateError$fieldNI("_head")); + if (i >= t1.length) + return H.ioore(t1, i); + t1[i] = 0; + ++i; + } + } + } + _this._flushPending$0(); + } + } + if (flush !== 4) + return 0; + return 1; + }, + _lmInit$0: function() { + var t2, i, _this = this, + t1 = _this.get$_windowSize(); + if (typeof t1 !== "number") + return H.iae(t1); + _this.__Deflate__actualWindowSize = 2 * t1; + t1 = _this.get$_deflate$_head(_this); + t2 = _this.get$_hashSize(); + if (typeof t2 !== "number") + return t2.$sub(); + --t2; + if (t2 < 0 || t2 >= t1.length) + return H.ioore(t1, t2); + t1[t2] = 0; + i = 0; + while (true) { + t1 = _this.__Deflate__hashSize; + if (t1 === $) + t1 = H.throwExpression(H.LateError$fieldNI("_hashSize")); + if (typeof t1 !== "number") + return t1.$sub(); + if (!(i < t1 - 1)) + break; + t1 = _this.__Deflate__head; + if (t1 === $) + t1 = H.throwExpression(H.LateError$fieldNI("_head")); + if (i >= t1.length) + return H.ioore(t1, i); + t1[i] = 0; + ++i; + } + _this.__Deflate__lookAhead = _this.__Deflate__blockStart = _this.__Deflate__strStart = 0; + _this.__Deflate__matchLength = _this.__Deflate__prevLength = 2; + _this.__Deflate__insertHash = _this.__Deflate__matchAvailable = 0; + }, + _initBlock$0: function() { + var i, t1, t2, _this = this; + for (i = 0; i < 286; ++i) { + t1 = _this.__Deflate__dynamicLengthTree; + if (t1 === $) + t1 = H.throwExpression(H.LateError$fieldNI("_dynamicLengthTree")); + t2 = i * 2; + if (t2 >= t1.length) + return H.ioore(t1, t2); + t1[t2] = 0; + } + for (i = 0; i < 30; ++i) { + t1 = _this.__Deflate__dynamicDistTree; + if (t1 === $) + t1 = H.throwExpression(H.LateError$fieldNI("_dynamicDistTree")); + t2 = i * 2; + if (t2 >= t1.length) + return H.ioore(t1, t2); + t1[t2] = 0; + } + for (i = 0; i < 19; ++i) { + t1 = _this.__Deflate__bitLengthTree; + if (t1 === $) + t1 = H.throwExpression(H.LateError$fieldNI("_bitLengthTree")); + t2 = i * 2; + if (t2 >= t1.length) + return H.ioore(t1, t2); + t1[t2] = 0; + } + t1 = _this.get$_dynamicLengthTree(); + if (512 >= t1.length) + return H.ioore(t1, 512); + t1[512] = 1; + _this.__Deflate__lastLit = _this.__Deflate__matches = _this.__Deflate__optimalLen = _this.__Deflate__staticLen = 0; + }, + _pqdownheap$2: function(tree, k) { + var v, j, t2, t3, t4, j0, + t1 = this._heap; + if (k < 0 || k >= 573) + return H.ioore(t1, k); + v = t1[k]; + j = k << 1 >>> 0; + t2 = this._depth; + while (true) { + t3 = this.__Deflate__heapLen; + t4 = t3 === $ ? H.throwExpression(H.LateError$fieldNI("_heapLen")) : t3; + if (typeof t4 !== "number") + return H.iae(t4); + if (!(j <= t4)) + break; + if (typeof t3 !== "number") + return H.iae(t3); + if (j < t3) { + t3 = j + 1; + if (t3 < 0 || t3 >= 573) + return H.ioore(t1, t3); + t3 = t1[t3]; + if (j < 0 || j >= 573) + return H.ioore(t1, j); + t3 = T.Deflate__smaller(tree, t3, t1[j], t2); + } else + t3 = false; + if (t3) + ++j; + if (j < 0 || j >= 573) + return H.ioore(t1, j); + if (T.Deflate__smaller(tree, v, t1[j], t2)) + break; + t3 = t1[j]; + if (k < 0 || k >= 573) + return H.ioore(t1, k); + t1[k] = t3; + j0 = j << 1 >>> 0; + k = j; + j = j0; + } + if (k < 0 || k >= 573) + return H.ioore(t1, k); + t1[k] = v; + }, + _scanTree$2: function(tree, maxCode) { + var nextLen, maxCount, minCount, t2, n, prevLen, count, nextLen0, t3, t4, _this = this, + _s14_ = "_bitLengthTree", + t1 = tree.length; + if (1 >= t1) + return H.ioore(tree, 1); + nextLen = tree[1]; + if (nextLen === 0) { + maxCount = 138; + minCount = 3; + } else { + maxCount = 7; + minCount = 4; + } + if (typeof maxCode !== "number") + return maxCode.$add(); + t2 = (maxCode + 1) * 2 + 1; + if (t2 < 0 || t2 >= t1) + return H.ioore(tree, t2); + tree[t2] = 65535; + for (n = 0, prevLen = -1, count = 0; n <= maxCode; nextLen = nextLen0) { + ++n; + t2 = n * 2 + 1; + if (t2 >= t1) + return H.ioore(tree, t2); + nextLen0 = tree[t2]; + ++count; + if (count < maxCount && nextLen === nextLen0) + continue; + else if (count < minCount) { + t2 = _this.__Deflate__bitLengthTree; + t3 = t2 === $ ? H.throwExpression(H.LateError$fieldNI(_s14_)) : t2; + t4 = nextLen * 2; + if (t4 >= t2.length) + return H.ioore(t2, t4); + t2 = t2[t4]; + if (t4 >= t3.length) + return H.ioore(t3, t4); + t3[t4] = t2 + count; + } else if (nextLen !== 0) { + if (nextLen !== prevLen) { + t2 = _this.__Deflate__bitLengthTree; + if (t2 === $) + t2 = H.throwExpression(H.LateError$fieldNI(_s14_)); + t3 = nextLen * 2; + if (t3 >= t2.length) + return H.ioore(t2, t3); + t2[t3] = t2[t3] + 1; + } + t2 = _this.__Deflate__bitLengthTree; + if (t2 === $) + t2 = H.throwExpression(H.LateError$fieldNI(_s14_)); + if (32 >= t2.length) + return H.ioore(t2, 32); + t2[32] = t2[32] + 1; + } else { + t2 = _this.__Deflate__bitLengthTree; + if (count <= 10) { + if (t2 === $) + t2 = H.throwExpression(H.LateError$fieldNI(_s14_)); + if (34 >= t2.length) + return H.ioore(t2, 34); + t2[34] = t2[34] + 1; + } else { + if (t2 === $) + t2 = H.throwExpression(H.LateError$fieldNI(_s14_)); + if (36 >= t2.length) + return H.ioore(t2, 36); + t2[36] = t2[36] + 1; + } + } + if (nextLen0 === 0) { + maxCount = 138; + minCount = 3; + } else if (nextLen === nextLen0) { + maxCount = 6; + minCount = 3; + } else { + maxCount = 7; + minCount = 4; + } + prevLen = nextLen; + count = 0; + } + }, + _buildBitLengthTree$0: function() { + var maxBLIndex, t1, t2, _this = this; + _this._scanTree$2(_this.get$_dynamicLengthTree(), _this._lDesc.get$maxCode()); + _this._scanTree$2(_this.get$_dynamicDistTree(), _this._dDesc.get$maxCode()); + _this._blDesc._buildTree$1(_this); + for (maxBLIndex = 18; maxBLIndex >= 3; --maxBLIndex) { + t1 = _this.__Deflate__bitLengthTree; + if (t1 === $) + t1 = H.throwExpression(H.LateError$fieldNI("_bitLengthTree")); + t2 = C.List_uSC[maxBLIndex] * 2 + 1; + if (t2 >= t1.length) + return H.ioore(t1, t2); + if (t1[t2] !== 0) + break; + } + t1 = _this.get$_optimalLen(); + if (typeof t1 !== "number") + return t1.$add(); + _this.__Deflate__optimalLen = t1 + (3 * (maxBLIndex + 1) + 5 + 5 + 4); + return maxBLIndex; + }, + _sendAllTrees$3: function(lcodes, dcodes, blcodes) { + var t1, rank, t2, t3, _this = this; + _this._sendBits$2(lcodes - 257, 5); + t1 = dcodes - 1; + _this._sendBits$2(t1, 5); + _this._sendBits$2(blcodes - 4, 4); + for (rank = 0; rank < blcodes; ++rank) { + t2 = _this.__Deflate__bitLengthTree; + if (t2 === $) + t2 = H.throwExpression(H.LateError$fieldNI("_bitLengthTree")); + if (rank >= 19) + return H.ioore(C.List_uSC, rank); + t3 = C.List_uSC[rank] * 2 + 1; + if (t3 >= t2.length) + return H.ioore(t2, t3); + _this._sendBits$2(t2[t3], 3); + } + _this._sendTree$2(_this.get$_dynamicLengthTree(), lcodes - 1); + _this._sendTree$2(_this.get$_dynamicDistTree(), t1); + }, + _sendTree$2: function(tree, maxCode) { + var nextLen, maxCount, minCount, t2, n, prevLen, count, t3, nextLen0, t4, t5, t6, t7, _this = this, + _s14_ = "_bitLengthTree", + t1 = tree.length; + if (1 >= t1) + return H.ioore(tree, 1); + nextLen = tree[1]; + if (nextLen === 0) { + maxCount = 138; + minCount = 3; + } else { + maxCount = 7; + minCount = 4; + } + for (t2 = type$.List_int, n = 0, prevLen = -1, count = 0; n <= maxCode; nextLen = nextLen0) { + ++n; + t3 = n * 2 + 1; + if (t3 >= t1) + return H.ioore(tree, t3); + nextLen0 = tree[t3]; + ++count; + if (count < maxCount && nextLen === nextLen0) + continue; + else if (count < minCount) { + t3 = nextLen * 2; + t4 = t3 + 1; + do { + t5 = _this.__Deflate__bitLengthTree; + t5 = t2._as(t5 === $ ? H.throwExpression(H.LateError$fieldNI(_s14_)) : t5); + t6 = t5.length; + if (t3 >= t6) + return H.ioore(t5, t3); + t7 = t5[t3]; + if (t4 >= t6) + return H.ioore(t5, t4); + _this._sendBits$2(t7 & 65535, t5[t4] & 65535); + } while (--count, count !== 0); + } else if (nextLen !== 0) { + if (nextLen !== prevLen) { + t3 = _this.__Deflate__bitLengthTree; + t3 = t2._as(t3 === $ ? H.throwExpression(H.LateError$fieldNI(_s14_)) : t3); + t4 = nextLen * 2; + t5 = t3.length; + if (t4 >= t5) + return H.ioore(t3, t4); + t6 = t3[t4]; + ++t4; + if (t4 >= t5) + return H.ioore(t3, t4); + _this._sendBits$2(t6 & 65535, t3[t4] & 65535); + --count; + } + t3 = _this.__Deflate__bitLengthTree; + t3 = t2._as(t3 === $ ? H.throwExpression(H.LateError$fieldNI(_s14_)) : t3); + t4 = t3.length; + if (32 >= t4) + return H.ioore(t3, 32); + t5 = t3[32]; + if (33 >= t4) + return H.ioore(t3, 33); + _this._sendBits$2(t5 & 65535, t3[33] & 65535); + _this._sendBits$2(count - 3, 2); + } else { + t3 = _this.__Deflate__bitLengthTree; + if (count <= 10) { + t3 = t2._as(t3 === $ ? H.throwExpression(H.LateError$fieldNI(_s14_)) : t3); + t4 = t3.length; + if (34 >= t4) + return H.ioore(t3, 34); + t5 = t3[34]; + if (35 >= t4) + return H.ioore(t3, 35); + _this._sendBits$2(t5 & 65535, t3[35] & 65535); + _this._sendBits$2(count - 3, 3); + } else { + t3 = t2._as(t3 === $ ? H.throwExpression(H.LateError$fieldNI(_s14_)) : t3); + t4 = t3.length; + if (36 >= t4) + return H.ioore(t3, 36); + t5 = t3[36]; + if (37 >= t4) + return H.ioore(t3, 37); + _this._sendBits$2(t5 & 65535, t3[37] & 65535); + _this._sendBits$2(count - 11, 7); + } + } + if (nextLen0 === 0) { + maxCount = 138; + minCount = 3; + } else if (nextLen === nextLen0) { + maxCount = 6; + minCount = 3; + } else { + maxCount = 7; + minCount = 4; + } + prevLen = nextLen; + count = 0; + } + }, + _putBytes$3: function(p, start, len) { + var t1, t2, t3, _this = this; + if (len === 0) + return; + t1 = _this.get$_pendingBuffer(); + t2 = _this.get$_deflate$_pending(); + t3 = _this.get$_deflate$_pending(); + if (typeof t3 !== "number") + return t3.$add(); + J.setRange$4$ax(t1, t2, t3 + len, p, start); + t3 = _this.get$_deflate$_pending(); + if (typeof t3 !== "number") + return t3.$add(); + _this.__Deflate__pending = t3 + len; + }, + _putByte$1: function(c) { + var t1 = this.get$_pendingBuffer(), + t2 = this.get$_deflate$_pending(); + if (typeof t2 !== "number") + return t2.$add(); + this.__Deflate__pending = t2 + 1; + J.$indexSet$ax(t1, t2, c); + }, + _sendCode$2: function(c, tree) { + var t1, t2, t3; + type$.List_int._as(tree); + t1 = c * 2; + t2 = tree.length; + if (t1 >= t2) + return H.ioore(tree, t1); + t3 = tree[t1]; + if (typeof t3 !== "number") + return t3.$and(); + ++t1; + if (t1 >= t2) + return H.ioore(tree, t1); + t1 = tree[t1]; + if (typeof t1 !== "number") + return t1.$and(); + this._sendBits$2(t3 & 65535, t1 & 65535); + }, + _sendBits$2: function(valueRenamed, $length) { + var t2, _this = this, + t1 = _this.get$_numValidBits(); + if (typeof t1 !== "number") + return t1.$gt(); + if (t1 > 16 - $length) { + t1 = _this.get$_bitBuffer(); + t2 = _this.get$_numValidBits(); + if (typeof t2 !== "number") + return H.iae(t2); + t2 = C.JSInt_methods.$shl(valueRenamed, t2); + if (typeof t1 !== "number") + return t1.$or(); + _this.__Deflate__bitBuffer = (t1 | t2 & 65535) >>> 0; + t2 = _this.get$_bitBuffer(); + _this._putByte$1(t2); + _this._putByte$1(T._rshift(t2, 8)); + t2 = _this.get$_numValidBits(); + if (typeof t2 !== "number") + return H.iae(t2); + _this.__Deflate__bitBuffer = T._rshift(valueRenamed, 16 - t2); + t2 = _this.get$_numValidBits(); + if (typeof t2 !== "number") + return t2.$add(); + _this.__Deflate__numValidBits = t2 + ($length - 16); + } else { + t1 = _this.get$_bitBuffer(); + t2 = _this.get$_numValidBits(); + if (typeof t2 !== "number") + return H.iae(t2); + t2 = C.JSInt_methods.$shl(valueRenamed, t2); + if (typeof t1 !== "number") + return t1.$or(); + _this.__Deflate__bitBuffer = (t1 | t2 & 65535) >>> 0; + t2 = _this.get$_numValidBits(); + if (typeof t2 !== "number") + return t2.$add(); + _this.__Deflate__numValidBits = t2 + $length; + } + }, + _trTally$2: function(dist, lc) { + var outLength, dcode, t4, _this = this, + t1 = _this.get$_pendingBuffer(), + t2 = _this.get$_dbuf(), + t3 = _this.get$_lastLit(); + if (typeof t3 !== "number") + return t3.$mul(); + if (typeof t2 !== "number") + return t2.$add(); + J.$indexSet$ax(t1, t2 + t3 * 2, T._rshift(dist, 8)); + t3 = _this.get$_pendingBuffer(); + t2 = _this.get$_dbuf(); + t1 = _this.get$_lastLit(); + if (typeof t1 !== "number") + return t1.$mul(); + if (typeof t2 !== "number") + return t2.$add(); + J.$indexSet$ax(t3, t2 + t1 * 2 + 1, dist); + t1 = _this.get$_pendingBuffer(); + t2 = _this.get$_lbuf(); + t3 = _this.get$_lastLit(); + if (typeof t2 !== "number") + return t2.$add(); + if (typeof t3 !== "number") + return H.iae(t3); + J.$indexSet$ax(t1, t2 + t3, lc); + t3 = _this.get$_lastLit(); + if (typeof t3 !== "number") + return t3.$add(); + _this.__Deflate__lastLit = t3 + 1; + if (dist === 0) { + t1 = _this.get$_dynamicLengthTree(); + t2 = lc * 2; + if (t2 < 0 || t2 >= t1.length) + return H.ioore(t1, t2); + t1[t2] = t1[t2] + 1; + } else { + t1 = _this.get$_matches(); + if (typeof t1 !== "number") + return t1.$add(); + _this.__Deflate__matches = t1 + 1; + t1 = _this.get$_dynamicLengthTree(); + if (lc < 0 || lc >= 256) + return H.ioore(C.List_NUU, lc); + t2 = (C.List_NUU[lc] + 256 + 1) * 2; + if (t2 >= t1.length) + return H.ioore(t1, t2); + t1[t2] = t1[t2] + 1; + t2 = _this.get$_dynamicDistTree(); + t1 = T._HuffmanTree__dCode(dist - 1) * 2; + if (t1 >= t2.length) + return H.ioore(t2, t1); + t2[t1] = t2[t1] + 1; + } + t1 = _this.get$_lastLit(); + if (typeof t1 !== "number") + return t1.$and(); + if ((t1 & 8191) === 0) { + t1 = _this.get$_deflate$_level(); + if (typeof t1 !== "number") + return t1.$gt(); + t1 = t1 > 2; + } else + t1 = false; + if (t1) { + t1 = _this.get$_lastLit(); + if (typeof t1 !== "number") + return t1.$mul(); + outLength = t1 * 8; + t1 = _this.get$_strStart(); + t2 = _this.get$_blockStart(); + if (typeof t1 !== "number") + return t1.$sub(); + if (typeof t2 !== "number") + return H.iae(t2); + for (dcode = 0; dcode < 30; ++dcode) { + t3 = _this.__Deflate__dynamicDistTree; + if (t3 === $) + t3 = H.throwExpression(H.LateError$fieldNI("_dynamicDistTree")); + t4 = dcode * 2; + if (t4 >= t3.length) + return H.ioore(t3, t4); + outLength += t3[t4] * (5 + C.List_X3d[dcode]); + } + outLength = T._rshift(outLength, 3); + t3 = _this.get$_matches(); + t4 = _this.get$_lastLit(); + if (typeof t4 !== "number") + return t4.$div(); + if (typeof t3 !== "number") + return t3.$lt(); + if (t3 < t4 / 2 && outLength < (t1 - t2) / 2) + return true; + } + t1 = _this.get$_lastLit(); + t2 = _this.get$_litBufferSize(); + if (typeof t2 !== "number") + return t2.$sub(); + return t1 === t2 - 1; + }, + _compressBlock$2: function(ltree, dtree) { + var lx, code, extra, t2, t3, t4, dist, lc, _this = this, + t1 = type$.List_int; + t1._as(ltree); + t1._as(dtree); + if (_this.get$_lastLit() !== 0) { + lx = 0; + code = null; + extra = null; + do { + t1 = _this.get$_pendingBuffer(); + t2 = _this.get$_dbuf(); + t3 = lx * 2; + if (typeof t2 !== "number") + return t2.$add(); + t2 = J.$index$asx(t1, t2 + t3); + t1 = _this.get$_pendingBuffer(); + t4 = _this.get$_dbuf(); + if (typeof t4 !== "number") + return t4.$add(); + dist = t2 << 8 & 65280 | J.$index$asx(t1, t4 + t3 + 1) & 255; + t3 = _this.get$_pendingBuffer(); + t4 = _this.get$_lbuf(); + if (typeof t4 !== "number") + return t4.$add(); + lc = J.$index$asx(t3, t4 + lx) & 255; + ++lx; + if (dist === 0) + _this._sendCode$2(lc, ltree); + else { + code = C.List_NUU[lc]; + _this._sendCode$2(code + 256 + 1, ltree); + if (code >= 29) + return H.ioore(C.List_qQn, code); + extra = C.List_qQn[code]; + if (extra !== 0) + _this._sendBits$2(lc - C.List_qQn0[code], extra); + --dist; + code = T._HuffmanTree__dCode(dist); + _this._sendCode$2(code, dtree); + if (code >= 30) + return H.ioore(C.List_X3d, code); + extra = C.List_X3d[code]; + if (extra !== 0) + _this._sendBits$2(dist - C.List_X3d0[code], extra); + } + t1 = _this.get$_lastLit(); + if (typeof t1 !== "number") + return H.iae(t1); + } while (lx < t1); + } + _this._sendCode$2(256, ltree); + if (513 >= ltree.length) + return H.ioore(ltree, 513); + _this.__Deflate__lastEOBLen = H._asIntS(ltree[513]); + }, + setDataType$0: function() { + var n, binFreq, t1, t2, asciiFreq, _this = this, + _s18_ = "_dynamicLengthTree"; + for (n = 0, binFreq = 0; n < 7;) { + t1 = _this.__Deflate__dynamicLengthTree; + if (t1 === $) + t1 = H.throwExpression(H.LateError$fieldNI(_s18_)); + t2 = n * 2; + if (t2 >= t1.length) + return H.ioore(t1, t2); + binFreq += t1[t2]; + ++n; + } + for (asciiFreq = 0; n < 128;) { + t1 = _this.__Deflate__dynamicLengthTree; + if (t1 === $) + t1 = H.throwExpression(H.LateError$fieldNI(_s18_)); + t2 = n * 2; + if (t2 >= t1.length) + return H.ioore(t1, t2); + asciiFreq += t1[t2]; + ++n; + } + for (; n < 256;) { + t1 = _this.__Deflate__dynamicLengthTree; + if (t1 === $) + t1 = H.throwExpression(H.LateError$fieldNI(_s18_)); + t2 = n * 2; + if (t2 >= t1.length) + return H.ioore(t1, t2); + binFreq += t1[t2]; + ++n; + } + _this._dataType = binFreq > T._rshift(asciiFreq, 2) ? 0 : 1; + }, + biFlush$0: function() { + var t1, _this = this; + if (_this.get$_numValidBits() === 16) { + t1 = _this.get$_bitBuffer(); + _this._putByte$1(t1); + _this._putByte$1(T._rshift(t1, 8)); + _this.__Deflate__numValidBits = _this.__Deflate__bitBuffer = 0; + } else { + t1 = _this.get$_numValidBits(); + if (typeof t1 !== "number") + return t1.$ge(); + if (t1 >= 8) { + _this._putByte$1(_this.get$_bitBuffer()); + _this.__Deflate__bitBuffer = T._rshift(_this.get$_bitBuffer(), 8); + t1 = _this.get$_numValidBits(); + if (typeof t1 !== "number") + return t1.$sub(); + _this.__Deflate__numValidBits = t1 - 8; + } + } + }, + _biWindup$0: function() { + var _this = this, + t1 = _this.get$_numValidBits(); + if (typeof t1 !== "number") + return t1.$gt(); + if (t1 > 8) { + t1 = _this.get$_bitBuffer(); + _this._putByte$1(t1); + _this._putByte$1(T._rshift(t1, 8)); + } else { + t1 = _this.get$_numValidBits(); + if (typeof t1 !== "number") + return t1.$gt(); + if (t1 > 0) + _this._putByte$1(_this.get$_bitBuffer()); + } + _this.__Deflate__numValidBits = _this.__Deflate__bitBuffer = 0; + }, + _flushBlockOnly$1: function(eof) { + var t2, t3, maxBlIndex, optLenb, staticLenb, _this = this, + t1 = _this.get$_blockStart(); + if (typeof t1 !== "number") + return t1.$ge(); + t1 = t1 >= 0 ? _this.get$_blockStart() : -1; + t2 = _this.get$_strStart(); + t3 = _this.get$_blockStart(); + if (typeof t2 !== "number") + return t2.$sub(); + if (typeof t3 !== "number") + return H.iae(t3); + t3 = t2 - t3; + t2 = _this.get$_deflate$_level(); + if (typeof t2 !== "number") + return t2.$gt(); + if (t2 > 0) { + if (_this._dataType === 2) + _this.setDataType$0(); + _this._lDesc._buildTree$1(_this); + _this._dDesc._buildTree$1(_this); + maxBlIndex = _this._buildBitLengthTree$0(); + t2 = _this.get$_optimalLen(); + if (typeof t2 !== "number") + return t2.$add(); + optLenb = T._rshift(t2 + 3 + 7, 3); + t2 = _this.get$_staticLen(); + if (typeof t2 !== "number") + return t2.$add(); + staticLenb = T._rshift(t2 + 3 + 7, 3); + if (staticLenb <= optLenb) + optLenb = staticLenb; + } else { + staticLenb = t3 + 5; + optLenb = staticLenb; + maxBlIndex = 0; + } + if (t3 + 4 <= optLenb && t1 !== -1) + _this._trStoredBlock$3(t1, t3, eof); + else if (staticLenb === optLenb) { + _this._sendBits$2(2 + (eof ? 1 : 0), 3); + _this._compressBlock$2(C.List_Xg4, C.List_iYO); + } else { + _this._sendBits$2(4 + (eof ? 1 : 0), 3); + t1 = _this._lDesc.get$maxCode(); + if (typeof t1 !== "number") + return t1.$add(); + t2 = _this._dDesc.get$maxCode(); + if (typeof t2 !== "number") + return t2.$add(); + _this._sendAllTrees$3(t1 + 1, t2 + 1, maxBlIndex + 1); + _this._compressBlock$2(_this.get$_dynamicLengthTree(), _this.get$_dynamicDistTree()); + } + _this._initBlock$0(); + if (eof) + _this._biWindup$0(); + _this.__Deflate__blockStart = _this.get$_strStart(); + _this._flushPending$0(); + }, + _deflateStored$1: function(flush) { + var maxBlockSize, t2, t3, maxStart, t4, _this = this, + _s10_ = "_lookAhead", + _s9_ = "_strStart", + _s11_ = "_blockStart", + t1 = _this.get$_pendingBufferSize(); + if (typeof t1 !== "number") + return t1.$sub(); + if (65535 > t1 - 5) { + t1 = _this.get$_pendingBufferSize(); + if (typeof t1 !== "number") + return t1.$sub(); + maxBlockSize = t1 - 5; + } else + maxBlockSize = 65535; + for (t1 = flush === 0; true;) { + t2 = _this.__Deflate__lookAhead; + t3 = t2 === $ ? H.throwExpression(H.LateError$fieldNI(_s10_)) : t2; + if (typeof t3 !== "number") + return t3.$le(); + if (t3 <= 1) { + _this._fillWindow$0(); + t2 = _this.__Deflate__lookAhead; + if ((t2 === $ ? H.throwExpression(H.LateError$fieldNI(_s10_)) : t2) === 0 && t1) + return 0; + if (t2 === 0) + break; + } + t3 = _this.__Deflate__strStart; + if (t3 === $) + t3 = H.throwExpression(H.LateError$fieldNI(_s9_)); + if (t2 === $) + t2 = H.throwExpression(H.LateError$fieldNI(_s10_)); + if (typeof t3 !== "number") + return t3.$add(); + if (typeof t2 !== "number") + return H.iae(t2); + t2 = _this.__Deflate__strStart = t3 + t2; + _this.__Deflate__lookAhead = 0; + t3 = _this.__Deflate__blockStart; + if (t3 === $) + t3 = H.throwExpression(H.LateError$fieldNI(_s11_)); + if (typeof t3 !== "number") + return t3.$add(); + maxStart = t3 + maxBlockSize; + if ((t2 === $ ? H.throwExpression(H.LateError$fieldNI(_s9_)) : t2) >= maxStart) { + _this.__Deflate__lookAhead = t2 - maxStart; + _this.__Deflate__strStart = maxStart; + _this._flushBlockOnly$1(false); + } + t2 = _this.__Deflate__strStart; + if (t2 === $) + t2 = H.throwExpression(H.LateError$fieldNI(_s9_)); + t3 = _this.__Deflate__blockStart; + if (t3 === $) + t3 = H.throwExpression(H.LateError$fieldNI(_s11_)); + if (typeof t2 !== "number") + return t2.$sub(); + if (typeof t3 !== "number") + return H.iae(t3); + t4 = _this.__Deflate__windowSize; + if (t4 === $) + t4 = H.throwExpression(H.LateError$fieldNI("_windowSize")); + if (typeof t4 !== "number") + return t4.$sub(); + if (t2 - t3 >= t4 - 262) + _this._flushBlockOnly$1(false); + } + t1 = flush === 4; + _this._flushBlockOnly$1(t1); + return t1 ? 3 : 1; + }, + _trStoredBlock$3: function(buf, storedLen, eof) { + var t1, _this = this; + _this._sendBits$2(eof ? 1 : 0, 3); + _this._biWindup$0(); + _this.__Deflate__lastEOBLen = 8; + _this._putByte$1(storedLen); + _this._putByte$1(T._rshift(storedLen, 8)); + t1 = (~storedLen >>> 0) + 65536 & 65535; + _this._putByte$1(t1); + _this._putByte$1(T._rshift(t1, 8)); + _this._putBytes$3(_this.get$_deflate$_window(), buf, storedLen); + }, + _fillWindow$0: function() { + var t2, t3, t4, more, n, p, m, _this = this, + t1 = _this._deflate$_input; + do { + t2 = _this.__Deflate__actualWindowSize; + if (t2 === $) + t2 = H.throwExpression(H.LateError$fieldNI("_actualWindowSize")); + t3 = _this.get$_lookAhead(); + if (typeof t2 !== "number") + return t2.$sub(); + if (typeof t3 !== "number") + return H.iae(t3); + t4 = _this.get$_strStart(); + if (typeof t4 !== "number") + return H.iae(t4); + more = t2 - t3 - t4; + if (more === 0 && _this.get$_strStart() === 0 && _this.get$_lookAhead() === 0) + more = _this.get$_windowSize(); + else { + t2 = _this.get$_strStart(); + t3 = _this.get$_windowSize(); + t4 = _this.get$_windowSize(); + if (typeof t3 !== "number") + return t3.$add(); + if (typeof t4 !== "number") + return H.iae(t4); + if (typeof t2 !== "number") + return t2.$ge(); + if (t2 >= t3 + t4 - 262) { + J.setRange$4$ax(_this.get$_deflate$_window(), 0, _this.get$_windowSize(), _this.get$_deflate$_window(), _this.get$_windowSize()); + t2 = _this._matchStart; + t3 = _this.get$_windowSize(); + if (typeof t3 !== "number") + return H.iae(t3); + _this._matchStart = t2 - t3; + t3 = _this.get$_strStart(); + t2 = _this.get$_windowSize(); + if (typeof t3 !== "number") + return t3.$sub(); + if (typeof t2 !== "number") + return H.iae(t2); + _this.__Deflate__strStart = t3 - t2; + t2 = _this.get$_blockStart(); + t3 = _this.get$_windowSize(); + if (typeof t2 !== "number") + return t2.$sub(); + if (typeof t3 !== "number") + return H.iae(t3); + _this.__Deflate__blockStart = t2 - t3; + n = _this.get$_hashSize(); + p = n; + do { + t2 = _this.get$_deflate$_head(_this); + if (typeof p !== "number") + return p.$sub(); + --p; + if (p < 0 || p >= t2.length) + return H.ioore(t2, p); + m = t2[p] & 65535; + t2 = _this.get$_deflate$_head(_this); + t3 = _this.get$_windowSize(); + if (typeof t3 !== "number") + return H.iae(t3); + if (m >= t3) { + t3 = _this.get$_windowSize(); + if (typeof t3 !== "number") + return H.iae(t3); + t3 = m - t3; + } else + t3 = 0; + if (p >= t2.length) + return H.ioore(t2, p); + t2[p] = t3; + if (typeof n !== "number") + return n.$sub(); + --n; + } while (n !== 0); + n = _this.get$_windowSize(); + p = n; + do { + t2 = _this.get$_prev(); + if (typeof p !== "number") + return p.$sub(); + --p; + if (p < 0 || p >= t2.length) + return H.ioore(t2, p); + m = t2[p] & 65535; + t2 = _this.get$_prev(); + t3 = _this.get$_windowSize(); + if (typeof t3 !== "number") + return H.iae(t3); + if (m >= t3) { + t3 = _this.get$_windowSize(); + if (typeof t3 !== "number") + return H.iae(t3); + t3 = m - t3; + } else + t3 = 0; + if (p >= t2.length) + return H.ioore(t2, p); + t2[p] = t3; + if (typeof n !== "number") + return n.$sub(); + --n; + } while (n !== 0); + t2 = _this.get$_windowSize(); + if (typeof t2 !== "number") + return H.iae(t2); + more += t2; + } + } + if (t1.get$isEOS()) + return; + t2 = _this.get$_deflate$_window(); + t3 = _this.get$_strStart(); + t4 = _this.get$_lookAhead(); + if (typeof t3 !== "number") + return t3.$add(); + if (typeof t4 !== "number") + return H.iae(t4); + n = _this._readBuf$3(t2, t3 + t4, more); + t4 = _this.get$_lookAhead(); + if (typeof t4 !== "number") + return t4.$add(); + _this.__Deflate__lookAhead = t4 + n; + t2 = _this.get$_lookAhead(); + if (typeof t2 !== "number") + return t2.$ge(); + if (t2 >= 3) { + _this.__Deflate__insertHash = J.$index$asx(_this.get$_deflate$_window(), _this.get$_strStart()) & 255; + t2 = _this.get$_insertHash(); + t3 = _this.get$_hashShift(); + if (typeof t2 !== "number") + return t2.$shl(); + if (typeof t3 !== "number") + return H.iae(t3); + t3 = C.JSInt_methods.$shl(t2, t3); + t2 = _this.get$_deflate$_window(); + t4 = _this.get$_strStart(); + if (typeof t4 !== "number") + return t4.$add(); + t4 = J.$index$asx(t2, t4 + 1); + t2 = _this.get$_hashMask(); + if (typeof t2 !== "number") + return H.iae(t2); + _this.__Deflate__insertHash = ((t3 ^ t4 & 255) & t2) >>> 0; + } + t2 = _this.get$_lookAhead(); + if (typeof t2 !== "number") + return t2.$lt(); + } while (t2 < 262 && !t1.get$isEOS()); + }, + _deflateFast$1: function(flush) { + var t1, hashHead, t2, t3, t4, t5, bflush, _this = this, + _s10_ = "_lookAhead", + _s11_ = "_insertHash", + _s10_0 = "_hashShift", + _s7_ = "_window", + _s9_ = "_strStart", + _s9_0 = "_hashMask", + _s5_ = "_head", + _s11_0 = "_windowMask", + _s12_ = "_matchLength"; + for (t1 = flush === 0, hashHead = 0; true;) { + t2 = _this.__Deflate__lookAhead; + t3 = t2 === $ ? H.throwExpression(H.LateError$fieldNI(_s10_)) : t2; + if (typeof t3 !== "number") + return t3.$lt(); + if (t3 < 262) { + _this._fillWindow$0(); + t2 = _this.__Deflate__lookAhead; + t3 = t2 === $ ? H.throwExpression(H.LateError$fieldNI(_s10_)) : t2; + if (typeof t3 !== "number") + return t3.$lt(); + if (t3 < 262 && t1) + return 0; + if (t2 === 0) + break; + } + if (t2 === $) + t2 = H.throwExpression(H.LateError$fieldNI(_s10_)); + if (typeof t2 !== "number") + return t2.$ge(); + if (t2 >= 3) { + t2 = _this.__Deflate__insertHash; + if (t2 === $) + t2 = H.throwExpression(H.LateError$fieldNI(_s11_)); + t3 = _this.__Deflate__hashShift; + if (t3 === $) + t3 = H.throwExpression(H.LateError$fieldNI(_s10_0)); + if (typeof t2 !== "number") + return t2.$shl(); + if (typeof t3 !== "number") + return H.iae(t3); + t3 = C.JSInt_methods.$shl(t2, t3); + t2 = _this.__Deflate__window; + if (t2 === $) + t2 = H.throwExpression(H.LateError$fieldNI(_s7_)); + t4 = _this.__Deflate__strStart; + if (t4 === $) + t4 = H.throwExpression(H.LateError$fieldNI(_s9_)); + if (typeof t4 !== "number") + return t4.$add(); + t4 = J.$index$asx(t2, t4 + 2); + t2 = _this.__Deflate__hashMask; + if (t2 === $) + t2 = H.throwExpression(H.LateError$fieldNI(_s9_0)); + if (typeof t2 !== "number") + return H.iae(t2); + t2 = _this.__Deflate__insertHash = ((t3 ^ t4 & 255) & t2) >>> 0; + t4 = _this.__Deflate__head; + t3 = t4 === $ ? H.throwExpression(H.LateError$fieldNI(_s5_)) : t4; + if (t2 === $) + t2 = H.throwExpression(H.LateError$fieldNI(_s11_)); + if (t2 < 0 || t2 >= t3.length) + return H.ioore(t3, t2); + hashHead = t3[t2] & 65535; + t2 = _this.__Deflate__prev; + if (t2 === $) + t2 = H.throwExpression(H.LateError$fieldNI("_prev")); + t3 = _this.__Deflate__strStart; + if (t3 === $) + t3 = H.throwExpression(H.LateError$fieldNI(_s9_)); + t4 = _this.__Deflate__windowMask; + if (t4 === $) + t4 = H.throwExpression(H.LateError$fieldNI(_s11_0)); + if (typeof t3 !== "number") + return t3.$and(); + if (typeof t4 !== "number") + return H.iae(t4); + t4 = (t3 & t4) >>> 0; + t3 = _this.__Deflate__head; + if (t3 === $) + t3 = H.throwExpression(H.LateError$fieldNI(_s5_)); + t5 = _this.__Deflate__insertHash; + if (t5 === $) + t5 = H.throwExpression(H.LateError$fieldNI(_s11_)); + t5 = (t3 && C.NativeUint16List_methods).$index(t3, t5); + if (t4 < 0 || t4 >= t2.length) + return H.ioore(t2, t4); + t2[t4] = t5; + t5 = _this.__Deflate__head; + t2 = t5 === $ ? H.throwExpression(H.LateError$fieldNI(_s5_)) : t5; + t3 = _this.__Deflate__insertHash; + if (t3 === $) + t3 = H.throwExpression(H.LateError$fieldNI(_s11_)); + t4 = _this.__Deflate__strStart; + if (t4 === $) + t4 = H.throwExpression(H.LateError$fieldNI(_s9_)); + (t2 && C.NativeUint16List_methods).$indexSet(t2, t3, t4); + } + if (hashHead !== 0) { + t2 = _this.__Deflate__strStart; + if (t2 === $) + t2 = H.throwExpression(H.LateError$fieldNI(_s9_)); + if (typeof t2 !== "number") + return t2.$sub(); + t3 = _this.__Deflate__windowSize; + if (t3 === $) + t3 = H.throwExpression(H.LateError$fieldNI("_windowSize")); + if (typeof t3 !== "number") + return t3.$sub(); + t3 = (t2 - hashHead & 65535) <= t3 - 262; + t2 = t3; + } else + t2 = false; + if (t2) { + t2 = _this.__Deflate__strategy; + if ((t2 === $ ? H.throwExpression(H.LateError$fieldNI("_strategy")) : t2) !== 2) + _this.__Deflate__matchLength = _this._longestMatch$1(hashHead); + } + t2 = _this.__Deflate__matchLength; + t3 = t2 === $ ? H.throwExpression(H.LateError$fieldNI(_s12_)) : t2; + if (typeof t3 !== "number") + return t3.$ge(); + if (t3 >= 3) { + t3 = _this.__Deflate__strStart; + if (t3 === $) + t3 = H.throwExpression(H.LateError$fieldNI(_s9_)); + t4 = _this._matchStart; + if (typeof t3 !== "number") + return t3.$sub(); + if (typeof t2 !== "number") + return t2.$sub(); + bflush = _this._trTally$2(t3 - t4, t2 - 3); + t2 = _this.__Deflate__lookAhead; + if (t2 === $) + t2 = H.throwExpression(H.LateError$fieldNI(_s10_)); + t3 = _this.__Deflate__matchLength; + t4 = t3 === $ ? H.throwExpression(H.LateError$fieldNI(_s12_)) : t3; + if (typeof t2 !== "number") + return t2.$sub(); + if (typeof t4 !== "number") + return H.iae(t4); + t4 = _this.__Deflate__lookAhead = t2 - t4; + t2 = $.Deflate____config; + t2 = (t2 === $ ? H.throwExpression(H.LateError$fieldNI("_config")) : t2).maxLazy; + if (typeof t3 !== "number") + return t3.$le(); + if (t3 <= t2) + t2 = (t4 === $ ? H.throwExpression(H.LateError$fieldNI(_s10_)) : t4) >= 3; + else + t2 = false; + if (t2) { + if (typeof t3 !== "number") + return t3.$sub(); + _this.__Deflate__matchLength = t3 - 1; + do { + t2 = _this.__Deflate__strStart; + if (t2 === $) + t2 = H.throwExpression(H.LateError$fieldNI(_s9_)); + if (typeof t2 !== "number") + return t2.$add(); + t2 = _this.__Deflate__strStart = t2 + 1; + t3 = _this.__Deflate__insertHash; + if (t3 === $) + t3 = H.throwExpression(H.LateError$fieldNI(_s11_)); + t4 = _this.__Deflate__hashShift; + if (t4 === $) + t4 = H.throwExpression(H.LateError$fieldNI(_s10_0)); + if (typeof t3 !== "number") + return t3.$shl(); + if (typeof t4 !== "number") + return H.iae(t4); + t4 = C.JSInt_methods.$shl(t3, t4); + t3 = _this.__Deflate__window; + if (t3 === $) + t3 = H.throwExpression(H.LateError$fieldNI(_s7_)); + t2 = J.$index$asx(t3, (t2 === $ ? H.throwExpression(H.LateError$fieldNI(_s9_)) : t2) + 2); + t3 = _this.__Deflate__hashMask; + if (t3 === $) + t3 = H.throwExpression(H.LateError$fieldNI(_s9_0)); + if (typeof t3 !== "number") + return H.iae(t3); + t3 = _this.__Deflate__insertHash = ((t4 ^ t2 & 255) & t3) >>> 0; + t2 = _this.__Deflate__head; + if (t2 === $) + t2 = H.throwExpression(H.LateError$fieldNI(_s5_)); + if (t3 === $) + t3 = H.throwExpression(H.LateError$fieldNI(_s11_)); + if (t3 < 0 || t3 >= t2.length) + return H.ioore(t2, t3); + hashHead = t2[t3] & 65535; + t3 = _this.__Deflate__prev; + t2 = t3 === $ ? H.throwExpression(H.LateError$fieldNI("_prev")) : t3; + t3 = _this.__Deflate__strStart; + if (t3 === $) + t3 = H.throwExpression(H.LateError$fieldNI(_s9_)); + t4 = _this.__Deflate__windowMask; + if (t4 === $) + t4 = H.throwExpression(H.LateError$fieldNI(_s11_0)); + if (typeof t3 !== "number") + return t3.$and(); + if (typeof t4 !== "number") + return H.iae(t4); + t4 = (t3 & t4) >>> 0; + t3 = _this.__Deflate__head; + if (t3 === $) + t3 = H.throwExpression(H.LateError$fieldNI(_s5_)); + t5 = _this.__Deflate__insertHash; + if (t5 === $) + t5 = H.throwExpression(H.LateError$fieldNI(_s11_)); + t5 = (t3 && C.NativeUint16List_methods).$index(t3, t5); + if (t4 < 0 || t4 >= t2.length) + return H.ioore(t2, t4); + t2[t4] = t5; + t5 = _this.__Deflate__head; + t2 = t5 === $ ? H.throwExpression(H.LateError$fieldNI(_s5_)) : t5; + t3 = _this.__Deflate__insertHash; + if (t3 === $) + t3 = H.throwExpression(H.LateError$fieldNI(_s11_)); + t4 = _this.__Deflate__strStart; + if (t4 === $) + t4 = H.throwExpression(H.LateError$fieldNI(_s9_)); + (t2 && C.NativeUint16List_methods).$indexSet(t2, t3, t4); + t2 = _this.__Deflate__matchLength; + if (t2 === $) + t2 = H.throwExpression(H.LateError$fieldNI(_s12_)); + if (typeof t2 !== "number") + return t2.$sub(); + --t2; + _this.__Deflate__matchLength = t2; + } while (t2 !== 0); + t2 = _this.__Deflate__strStart; + if (t2 === $) + t2 = H.throwExpression(H.LateError$fieldNI(_s9_)); + if (typeof t2 !== "number") + return t2.$add(); + _this.__Deflate__strStart = t2 + 1; + } else { + t2 = _this.__Deflate__strStart; + if (t2 === $) + t2 = H.throwExpression(H.LateError$fieldNI(_s9_)); + if (typeof t2 !== "number") + return t2.$add(); + if (typeof t3 !== "number") + return H.iae(t3); + t2 = _this.__Deflate__strStart = t2 + t3; + _this.__Deflate__matchLength = 0; + t3 = _this.__Deflate__window; + if (t3 === $) + t3 = H.throwExpression(H.LateError$fieldNI(_s7_)); + t2 = _this.__Deflate__insertHash = J.$index$asx(t3, t2 === $ ? H.throwExpression(H.LateError$fieldNI(_s9_)) : t2) & 255; + if (t2 === $) + t2 = H.throwExpression(H.LateError$fieldNI(_s11_)); + t3 = _this.__Deflate__hashShift; + if (t3 === $) + t3 = H.throwExpression(H.LateError$fieldNI(_s10_0)); + if (typeof t3 !== "number") + return H.iae(t3); + t3 = C.JSInt_methods.$shl(t2, t3); + t2 = _this.__Deflate__window; + if (t2 === $) + t2 = H.throwExpression(H.LateError$fieldNI(_s7_)); + t4 = _this.__Deflate__strStart; + if (t4 === $) + t4 = H.throwExpression(H.LateError$fieldNI(_s9_)); + if (typeof t4 !== "number") + return t4.$add(); + t4 = J.$index$asx(t2, t4 + 1); + t2 = _this.__Deflate__hashMask; + if (t2 === $) + t2 = H.throwExpression(H.LateError$fieldNI(_s9_0)); + if (typeof t2 !== "number") + return H.iae(t2); + _this.__Deflate__insertHash = ((t3 ^ t4 & 255) & t2) >>> 0; + } + } else { + t2 = _this.__Deflate__window; + if (t2 === $) + t2 = H.throwExpression(H.LateError$fieldNI(_s7_)); + t3 = _this.__Deflate__strStart; + bflush = _this._trTally$2(0, J.$index$asx(t2, t3 === $ ? H.throwExpression(H.LateError$fieldNI(_s9_)) : t3) & 255); + t2 = _this.__Deflate__lookAhead; + if (t2 === $) + t2 = H.throwExpression(H.LateError$fieldNI(_s10_)); + if (typeof t2 !== "number") + return t2.$sub(); + _this.__Deflate__lookAhead = t2 - 1; + t2 = _this.__Deflate__strStart; + if (t2 === $) + t2 = H.throwExpression(H.LateError$fieldNI(_s9_)); + if (typeof t2 !== "number") + return t2.$add(); + _this.__Deflate__strStart = t2 + 1; + } + if (bflush) + _this._flushBlockOnly$1(false); + } + t1 = flush === 4; + _this._flushBlockOnly$1(t1); + return t1 ? 3 : 1; + }, + _deflateSlow$1: function(flush) { + var t1, hashHead, bflush, t2, t3, t4, t5, maxInsert, _this = this, + _s10_ = "_lookAhead", + _s11_ = "_insertHash", + _s10_0 = "_hashShift", + _s7_ = "_window", + _s9_ = "_strStart", + _s9_0 = "_hashMask", + _s5_ = "_head", + _s11_0 = "_windowMask", + _s12_ = "_matchLength", + _s11_1 = "_prevLength", + _s9_1 = "_strategy"; + for (t1 = flush === 0, hashHead = 0, bflush = null; true;) { + t2 = _this.__Deflate__lookAhead; + t3 = t2 === $ ? H.throwExpression(H.LateError$fieldNI(_s10_)) : t2; + if (typeof t3 !== "number") + return t3.$lt(); + if (t3 < 262) { + _this._fillWindow$0(); + t2 = _this.__Deflate__lookAhead; + t3 = t2 === $ ? H.throwExpression(H.LateError$fieldNI(_s10_)) : t2; + if (typeof t3 !== "number") + return t3.$lt(); + if (t3 < 262 && t1) + return 0; + if (t2 === 0) + break; + } + if (t2 === $) + t2 = H.throwExpression(H.LateError$fieldNI(_s10_)); + if (typeof t2 !== "number") + return t2.$ge(); + if (t2 >= 3) { + t2 = _this.__Deflate__insertHash; + if (t2 === $) + t2 = H.throwExpression(H.LateError$fieldNI(_s11_)); + t3 = _this.__Deflate__hashShift; + if (t3 === $) + t3 = H.throwExpression(H.LateError$fieldNI(_s10_0)); + if (typeof t2 !== "number") + return t2.$shl(); + if (typeof t3 !== "number") + return H.iae(t3); + t3 = C.JSInt_methods.$shl(t2, t3); + t2 = _this.__Deflate__window; + if (t2 === $) + t2 = H.throwExpression(H.LateError$fieldNI(_s7_)); + t4 = _this.__Deflate__strStart; + if (t4 === $) + t4 = H.throwExpression(H.LateError$fieldNI(_s9_)); + if (typeof t4 !== "number") + return t4.$add(); + t4 = J.$index$asx(t2, t4 + 2); + t2 = _this.__Deflate__hashMask; + if (t2 === $) + t2 = H.throwExpression(H.LateError$fieldNI(_s9_0)); + if (typeof t2 !== "number") + return H.iae(t2); + t2 = _this.__Deflate__insertHash = ((t3 ^ t4 & 255) & t2) >>> 0; + t4 = _this.__Deflate__head; + t3 = t4 === $ ? H.throwExpression(H.LateError$fieldNI(_s5_)) : t4; + if (t2 === $) + t2 = H.throwExpression(H.LateError$fieldNI(_s11_)); + if (t2 < 0 || t2 >= t3.length) + return H.ioore(t3, t2); + hashHead = t3[t2] & 65535; + t2 = _this.__Deflate__prev; + if (t2 === $) + t2 = H.throwExpression(H.LateError$fieldNI("_prev")); + t3 = _this.__Deflate__strStart; + if (t3 === $) + t3 = H.throwExpression(H.LateError$fieldNI(_s9_)); + t4 = _this.__Deflate__windowMask; + if (t4 === $) + t4 = H.throwExpression(H.LateError$fieldNI(_s11_0)); + if (typeof t3 !== "number") + return t3.$and(); + if (typeof t4 !== "number") + return H.iae(t4); + t4 = (t3 & t4) >>> 0; + t3 = _this.__Deflate__head; + if (t3 === $) + t3 = H.throwExpression(H.LateError$fieldNI(_s5_)); + t5 = _this.__Deflate__insertHash; + if (t5 === $) + t5 = H.throwExpression(H.LateError$fieldNI(_s11_)); + t5 = (t3 && C.NativeUint16List_methods).$index(t3, t5); + if (t4 < 0 || t4 >= t2.length) + return H.ioore(t2, t4); + t2[t4] = t5; + t5 = _this.__Deflate__head; + t2 = t5 === $ ? H.throwExpression(H.LateError$fieldNI(_s5_)) : t5; + t3 = _this.__Deflate__insertHash; + if (t3 === $) + t3 = H.throwExpression(H.LateError$fieldNI(_s11_)); + t4 = _this.__Deflate__strStart; + if (t4 === $) + t4 = H.throwExpression(H.LateError$fieldNI(_s9_)); + (t2 && C.NativeUint16List_methods).$indexSet(t2, t3, t4); + } + t2 = _this.__Deflate__matchLength; + if (t2 === $) + t2 = H.throwExpression(H.LateError$fieldNI(_s12_)); + _this.__Deflate__prevLength = t2; + _this.__Deflate__prevMatch = _this._matchStart; + _this.__Deflate__matchLength = 2; + if (hashHead !== 0) { + if (t2 === $) + t2 = H.throwExpression(H.LateError$fieldNI(_s11_1)); + t3 = $.Deflate____config; + t3 = (t3 === $ ? H.throwExpression(H.LateError$fieldNI("_config")) : t3).maxLazy; + if (typeof t2 !== "number") + return t2.$lt(); + if (t2 < t3) { + t2 = _this.__Deflate__strStart; + if (t2 === $) + t2 = H.throwExpression(H.LateError$fieldNI(_s9_)); + if (typeof t2 !== "number") + return t2.$sub(); + t3 = _this.__Deflate__windowSize; + if (t3 === $) + t3 = H.throwExpression(H.LateError$fieldNI("_windowSize")); + if (typeof t3 !== "number") + return t3.$sub(); + t3 = (t2 - hashHead & 65535) <= t3 - 262; + t2 = t3; + } else + t2 = false; + } else + t2 = false; + if (t2) { + t2 = _this.__Deflate__strategy; + if ((t2 === $ ? H.throwExpression(H.LateError$fieldNI(_s9_1)) : t2) !== 2) { + t2 = _this._longestMatch$1(hashHead); + _this.__Deflate__matchLength = t2; + } else + t2 = 2; + t3 = t2 === $ ? H.throwExpression(H.LateError$fieldNI(_s12_)) : t2; + if (typeof t3 !== "number") + return t3.$le(); + if (t3 <= 5) { + t3 = _this.__Deflate__strategy; + if ((t3 === $ ? H.throwExpression(H.LateError$fieldNI(_s9_1)) : t3) !== 1) + if (t2 === 3) { + t3 = _this.__Deflate__strStart; + if (t3 === $) + t3 = H.throwExpression(H.LateError$fieldNI(_s9_)); + t4 = _this._matchStart; + if (typeof t3 !== "number") + return t3.$sub(); + t4 = t3 - t4 > 4096; + t3 = t4; + } else + t3 = false; + else + t3 = true; + } else + t3 = false; + if (t3) { + _this.__Deflate__matchLength = 2; + t2 = 2; + } + } else + t2 = 2; + t3 = _this.__Deflate__prevLength; + t4 = t3 === $ ? H.throwExpression(H.LateError$fieldNI(_s11_1)) : t3; + if (typeof t4 !== "number") + return t4.$ge(); + if (t4 >= 3) { + if (t2 === $) + t2 = H.throwExpression(H.LateError$fieldNI(_s12_)); + if (typeof t2 !== "number") + return t2.$le(); + if (typeof t3 !== "number") + return H.iae(t3); + t2 = t2 <= t3; + } else + t2 = false; + if (t2) { + t2 = _this.__Deflate__strStart; + t4 = t2 === $ ? H.throwExpression(H.LateError$fieldNI(_s9_)) : t2; + t5 = _this.__Deflate__lookAhead; + if (t5 === $) + t5 = H.throwExpression(H.LateError$fieldNI(_s10_)); + if (typeof t4 !== "number") + return t4.$add(); + if (typeof t5 !== "number") + return H.iae(t5); + maxInsert = t4 + t5 - 3; + if (typeof t2 !== "number") + return t2.$sub(); + t4 = _this.__Deflate__prevMatch; + if (t4 === $) + t4 = H.throwExpression(H.LateError$fieldNI("_prevMatch")); + if (typeof t4 !== "number") + return H.iae(t4); + if (typeof t3 !== "number") + return t3.$sub(); + bflush = _this._trTally$2(t2 - 1 - t4, t3 - 3); + t2 = _this.__Deflate__lookAhead; + if (t2 === $) + t2 = H.throwExpression(H.LateError$fieldNI(_s10_)); + t3 = _this.__Deflate__prevLength; + t4 = t3 === $ ? H.throwExpression(H.LateError$fieldNI(_s11_1)) : t3; + if (typeof t4 !== "number") + return t4.$sub(); + if (typeof t2 !== "number") + return t2.$sub(); + _this.__Deflate__lookAhead = t2 - (t4 - 1); + if (typeof t3 !== "number") + return t3.$sub(); + _this.__Deflate__prevLength = t3 - 2; + do { + t2 = _this.__Deflate__strStart; + if (t2 === $) + t2 = H.throwExpression(H.LateError$fieldNI(_s9_)); + if (typeof t2 !== "number") + return t2.$add(); + t2 = _this.__Deflate__strStart = t2 + 1; + if (t2 <= maxInsert) { + t3 = _this.__Deflate__insertHash; + if (t3 === $) + t3 = H.throwExpression(H.LateError$fieldNI(_s11_)); + t4 = _this.__Deflate__hashShift; + if (t4 === $) + t4 = H.throwExpression(H.LateError$fieldNI(_s10_0)); + if (typeof t3 !== "number") + return t3.$shl(); + if (typeof t4 !== "number") + return H.iae(t4); + t4 = C.JSInt_methods.$shl(t3, t4); + t3 = _this.__Deflate__window; + if (t3 === $) + t3 = H.throwExpression(H.LateError$fieldNI(_s7_)); + t2 = J.$index$asx(t3, (t2 === $ ? H.throwExpression(H.LateError$fieldNI(_s9_)) : t2) + 2); + t3 = _this.__Deflate__hashMask; + if (t3 === $) + t3 = H.throwExpression(H.LateError$fieldNI(_s9_0)); + if (typeof t3 !== "number") + return H.iae(t3); + t3 = _this.__Deflate__insertHash = ((t4 ^ t2 & 255) & t3) >>> 0; + t2 = _this.__Deflate__head; + if (t2 === $) + t2 = H.throwExpression(H.LateError$fieldNI(_s5_)); + if (t3 === $) + t3 = H.throwExpression(H.LateError$fieldNI(_s11_)); + if (t3 < 0 || t3 >= t2.length) + return H.ioore(t2, t3); + hashHead = t2[t3] & 65535; + t3 = _this.__Deflate__prev; + t2 = t3 === $ ? H.throwExpression(H.LateError$fieldNI("_prev")) : t3; + t3 = _this.__Deflate__strStart; + if (t3 === $) + t3 = H.throwExpression(H.LateError$fieldNI(_s9_)); + t4 = _this.__Deflate__windowMask; + if (t4 === $) + t4 = H.throwExpression(H.LateError$fieldNI(_s11_0)); + if (typeof t3 !== "number") + return t3.$and(); + if (typeof t4 !== "number") + return H.iae(t4); + t4 = (t3 & t4) >>> 0; + t3 = _this.__Deflate__head; + if (t3 === $) + t3 = H.throwExpression(H.LateError$fieldNI(_s5_)); + t5 = _this.__Deflate__insertHash; + if (t5 === $) + t5 = H.throwExpression(H.LateError$fieldNI(_s11_)); + t5 = (t3 && C.NativeUint16List_methods).$index(t3, t5); + if (t4 < 0 || t4 >= t2.length) + return H.ioore(t2, t4); + t2[t4] = t5; + t5 = _this.__Deflate__head; + t2 = t5 === $ ? H.throwExpression(H.LateError$fieldNI(_s5_)) : t5; + t3 = _this.__Deflate__insertHash; + if (t3 === $) + t3 = H.throwExpression(H.LateError$fieldNI(_s11_)); + t4 = _this.__Deflate__strStart; + if (t4 === $) + t4 = H.throwExpression(H.LateError$fieldNI(_s9_)); + (t2 && C.NativeUint16List_methods).$indexSet(t2, t3, t4); + } + t2 = _this.__Deflate__prevLength; + if (t2 === $) + t2 = H.throwExpression(H.LateError$fieldNI(_s11_1)); + if (typeof t2 !== "number") + return t2.$sub(); + --t2; + _this.__Deflate__prevLength = t2; + } while (t2 !== 0); + _this.__Deflate__matchAvailable = 0; + _this.__Deflate__matchLength = 2; + t2 = _this.__Deflate__strStart; + if (t2 === $) + t2 = H.throwExpression(H.LateError$fieldNI(_s9_)); + if (typeof t2 !== "number") + return t2.$add(); + _this.__Deflate__strStart = t2 + 1; + if (bflush) + _this._flushBlockOnly$1(false); + } else { + t2 = _this.__Deflate__matchAvailable; + if ((t2 === $ ? H.throwExpression(H.LateError$fieldNI("_matchAvailable")) : t2) !== 0) { + t2 = _this.__Deflate__window; + if (t2 === $) + t2 = H.throwExpression(H.LateError$fieldNI(_s7_)); + t3 = _this.__Deflate__strStart; + if (t3 === $) + t3 = H.throwExpression(H.LateError$fieldNI(_s9_)); + if (typeof t3 !== "number") + return t3.$sub(); + bflush = _this._trTally$2(0, J.$index$asx(t2, t3 - 1) & 255); + if (bflush) + _this._flushBlockOnly$1(false); + t2 = _this.__Deflate__strStart; + if (t2 === $) + t2 = H.throwExpression(H.LateError$fieldNI(_s9_)); + if (typeof t2 !== "number") + return t2.$add(); + _this.__Deflate__strStart = t2 + 1; + t2 = _this.__Deflate__lookAhead; + if (t2 === $) + t2 = H.throwExpression(H.LateError$fieldNI(_s10_)); + if (typeof t2 !== "number") + return t2.$sub(); + _this.__Deflate__lookAhead = t2 - 1; + } else { + _this.__Deflate__matchAvailable = 1; + t2 = _this.__Deflate__strStart; + if (t2 === $) + t2 = H.throwExpression(H.LateError$fieldNI(_s9_)); + if (typeof t2 !== "number") + return t2.$add(); + _this.__Deflate__strStart = t2 + 1; + t2 = _this.__Deflate__lookAhead; + if (t2 === $) + t2 = H.throwExpression(H.LateError$fieldNI(_s10_)); + if (typeof t2 !== "number") + return t2.$sub(); + _this.__Deflate__lookAhead = t2 - 1; + } + } + } + if (_this.get$_matchAvailable() !== 0) { + t1 = _this.get$_deflate$_window(); + t2 = _this.get$_strStart(); + if (typeof t2 !== "number") + return t2.$sub(); + _this._trTally$2(0, J.$index$asx(t1, t2 - 1) & 255); + _this.__Deflate__matchAvailable = 0; + } + t1 = flush === 4; + _this._flushBlockOnly$1(t1); + return t1 ? 3 : 1; + }, + _longestMatch$1: function(curMatch) { + var t2, limit, niceMatch, wmask, strend, scanEnd1, scanEnd, scan0, len, match, _this = this, + _s7_ = "_config", + t1 = $.Deflate____config, + chainLength = (t1 === $ ? H.throwExpression(H.LateError$fieldNI(_s7_)) : t1).maxChain, + scan = _this.get$_strStart(), + bestLen = _this.get$_prevLength(); + t1 = _this.get$_strStart(); + t2 = _this.get$_windowSize(); + if (typeof t2 !== "number") + return t2.$sub(); + if (typeof t1 !== "number") + return t1.$gt(); + if (t1 > t2 - 262) { + t1 = _this.get$_strStart(); + t2 = _this.get$_windowSize(); + if (typeof t2 !== "number") + return t2.$sub(); + if (typeof t1 !== "number") + return t1.$sub(); + limit = t1 - (t2 - 262); + } else + limit = 0; + t1 = $.Deflate____config; + niceMatch = (t1 === $ ? H.throwExpression(H.LateError$fieldNI(_s7_)) : t1).niceLength; + wmask = _this.get$_windowMask(); + t1 = _this.get$_strStart(); + if (typeof t1 !== "number") + return t1.$add(); + strend = t1 + 258; + t1 = _this.get$_deflate$_window(); + if (typeof scan !== "number") + return scan.$add(); + if (typeof bestLen !== "number") + return H.iae(bestLen); + t2 = scan + bestLen; + scanEnd1 = J.$index$asx(t1, t2 - 1); + scanEnd = J.$index$asx(_this.get$_deflate$_window(), t2); + t1 = _this.get$_prevLength(); + t2 = $.Deflate____config; + t2 = (t2 === $ ? H.throwExpression(H.LateError$fieldNI(_s7_)) : t2).goodLength; + if (typeof t1 !== "number") + return t1.$ge(); + if (t1 >= t2) + chainLength = chainLength >>> 2; + t1 = _this.get$_lookAhead(); + if (typeof t1 !== "number") + return H.iae(t1); + if (niceMatch > t1) + niceMatch = _this.get$_lookAhead(); + scan0 = strend - 258; + len = null; + do { + c$0: { + t1 = curMatch + bestLen; + if (J.$index$asx(_this.get$_deflate$_window(), t1) === scanEnd) + if (J.$index$asx(_this.get$_deflate$_window(), t1 - 1) === scanEnd1) + if (J.$index$asx(_this.get$_deflate$_window(), curMatch) === J.$index$asx(_this.get$_deflate$_window(), scan)) { + match = curMatch + 1; + t1 = J.$index$asx(_this.get$_deflate$_window(), match) !== J.$index$asx(_this.get$_deflate$_window(), scan + 1); + } else { + match = curMatch; + t1 = true; + } + else { + match = curMatch; + t1 = true; + } + else { + match = curMatch; + t1 = true; + } + if (t1) + break c$0; + scan += 2; + ++match; + do { + ++scan; + ++match; + if (J.$index$asx(_this.get$_deflate$_window(), scan) === J.$index$asx(_this.get$_deflate$_window(), match)) { + ++scan; + ++match; + if (J.$index$asx(_this.get$_deflate$_window(), scan) === J.$index$asx(_this.get$_deflate$_window(), match)) { + ++scan; + ++match; + if (J.$index$asx(_this.get$_deflate$_window(), scan) === J.$index$asx(_this.get$_deflate$_window(), match)) { + ++scan; + ++match; + if (J.$index$asx(_this.get$_deflate$_window(), scan) === J.$index$asx(_this.get$_deflate$_window(), match)) { + ++scan; + ++match; + if (J.$index$asx(_this.get$_deflate$_window(), scan) === J.$index$asx(_this.get$_deflate$_window(), match)) { + ++scan; + ++match; + if (J.$index$asx(_this.get$_deflate$_window(), scan) === J.$index$asx(_this.get$_deflate$_window(), match)) { + ++scan; + ++match; + if (J.$index$asx(_this.get$_deflate$_window(), scan) === J.$index$asx(_this.get$_deflate$_window(), match)) { + ++scan; + ++match; + t1 = J.$index$asx(_this.get$_deflate$_window(), scan) === J.$index$asx(_this.get$_deflate$_window(), match) && scan < strend; + } else + t1 = false; + } else + t1 = false; + } else + t1 = false; + } else + t1 = false; + } else + t1 = false; + } else + t1 = false; + } else + t1 = false; + } while (t1); + len = 258 - (strend - scan); + if (len > bestLen) { + _this._matchStart = curMatch; + if (typeof niceMatch !== "number") + return H.iae(niceMatch); + if (len >= niceMatch) { + bestLen = len; + break; + } + t1 = scan0 + len; + scanEnd1 = J.$index$asx(_this.get$_deflate$_window(), t1 - 1); + scanEnd = J.$index$asx(_this.get$_deflate$_window(), t1); + bestLen = len; + } + scan = scan0; + } + t1 = _this.get$_prev(); + if (typeof wmask !== "number") + return H.iae(wmask); + t2 = curMatch & wmask; + if (t2 < 0 || t2 >= t1.length) + return H.ioore(t1, t2); + curMatch = t1[t2] & 65535; + if (curMatch > limit) { + --chainLength; + t1 = chainLength !== 0; + } else + t1 = false; + } while (t1); + t1 = _this.get$_lookAhead(); + if (typeof t1 !== "number") + return H.iae(t1); + if (bestLen <= t1) + return bestLen; + return _this.get$_lookAhead(); + }, + _readBuf$3: function(buf, start, size) { + var data, len, bytes, t1, _this = this; + if (size === 0 || _this._deflate$_input.get$isEOS()) + return 0; + data = _this._deflate$_input.readBytes$1(size); + len = data.get$length(data); + if (len === 0) + return 0; + bytes = data.toUint8List$0(); + t1 = J.getInterceptor$asx(bytes); + if (len > t1.get$length(bytes)) + len = t1.get$length(bytes); + J.setRange$3$ax(buf, start, start + len, bytes); + _this.total += len; + _this.crc32 = X.getCrc32(bytes, _this.crc32); + return len; + }, + _flushPending$0: function() { + var t1, _this = this, + len = _this.get$_deflate$_pending(); + _this._deflate$_output.writeBytes$2(_this.get$_pendingBuffer(), len); + t1 = _this.__Deflate__pendingOut; + if (t1 === $) + t1 = H.throwExpression(H.LateError$fieldNI("_pendingOut")); + if (typeof t1 !== "number") + return t1.$add(); + if (typeof len !== "number") + return H.iae(len); + _this.__Deflate__pendingOut = t1 + len; + t1 = _this.get$_deflate$_pending(); + if (typeof t1 !== "number") + return t1.$sub(); + _this.__Deflate__pending = t1 - len; + if (_this.get$_deflate$_pending() === 0) + _this.__Deflate__pendingOut = 0; + }, + _getConfig$1: function(level) { + switch (level) { + case 0: + return new T._DeflaterConfig(0, 0, 0, 0, 0); + case 1: + return new T._DeflaterConfig(4, 4, 8, 4, 1); + case 2: + return new T._DeflaterConfig(4, 5, 16, 8, 1); + case 3: + return new T._DeflaterConfig(4, 6, 32, 32, 1); + case 4: + return new T._DeflaterConfig(4, 4, 16, 16, 2); + case 5: + return new T._DeflaterConfig(8, 16, 32, 32, 2); + case 6: + return new T._DeflaterConfig(8, 16, 128, 128, 2); + case 7: + return new T._DeflaterConfig(8, 32, 128, 256, 2); + case 8: + return new T._DeflaterConfig(32, 128, 258, 1024, 2); + case 9: + return new T._DeflaterConfig(32, 258, 258, 4096, 2); + } + throw H.wrapException(R.ArchiveException$("Invalid Deflate parameter")); + }, + get$_pendingBuffer: function() { + var t1 = this.__Deflate__pendingBuffer; + return t1 === $ ? H.throwExpression(H.LateError$fieldNI("_pendingBuffer")) : t1; + }, + get$_pendingBufferSize: function() { + var t1 = this.__Deflate__pendingBufferSize; + return t1 === $ ? H.throwExpression(H.LateError$fieldNI("_pendingBufferSize")) : t1; + }, + get$_deflate$_pending: function() { + var t1 = this.__Deflate__pending; + return t1 === $ ? H.throwExpression(H.LateError$fieldNI("_pending")) : t1; + }, + get$_windowSize: function() { + var t1 = this.__Deflate__windowSize; + return t1 === $ ? H.throwExpression(H.LateError$fieldNI("_windowSize")) : t1; + }, + get$_windowMask: function() { + var t1 = this.__Deflate__windowMask; + return t1 === $ ? H.throwExpression(H.LateError$fieldNI("_windowMask")) : t1; + }, + get$_deflate$_window: function() { + var t1 = this.__Deflate__window; + return t1 === $ ? H.throwExpression(H.LateError$fieldNI("_window")) : t1; + }, + get$_prev: function() { + var t1 = this.__Deflate__prev; + return t1 === $ ? H.throwExpression(H.LateError$fieldNI("_prev")) : t1; + }, + get$_deflate$_head: function(_) { + var t1 = this.__Deflate__head; + return t1 === $ ? H.throwExpression(H.LateError$fieldNI("_head")) : t1; + }, + get$_insertHash: function() { + var t1 = this.__Deflate__insertHash; + return t1 === $ ? H.throwExpression(H.LateError$fieldNI("_insertHash")) : t1; + }, + get$_hashSize: function() { + var t1 = this.__Deflate__hashSize; + return t1 === $ ? H.throwExpression(H.LateError$fieldNI("_hashSize")) : t1; + }, + get$_hashMask: function() { + var t1 = this.__Deflate__hashMask; + return t1 === $ ? H.throwExpression(H.LateError$fieldNI("_hashMask")) : t1; + }, + get$_hashShift: function() { + var t1 = this.__Deflate__hashShift; + return t1 === $ ? H.throwExpression(H.LateError$fieldNI("_hashShift")) : t1; + }, + get$_blockStart: function() { + var t1 = this.__Deflate__blockStart; + return t1 === $ ? H.throwExpression(H.LateError$fieldNI("_blockStart")) : t1; + }, + get$_matchAvailable: function() { + var t1 = this.__Deflate__matchAvailable; + return t1 === $ ? H.throwExpression(H.LateError$fieldNI("_matchAvailable")) : t1; + }, + get$_strStart: function() { + var t1 = this.__Deflate__strStart; + return t1 === $ ? H.throwExpression(H.LateError$fieldNI("_strStart")) : t1; + }, + get$_lookAhead: function() { + var t1 = this.__Deflate__lookAhead; + return t1 === $ ? H.throwExpression(H.LateError$fieldNI("_lookAhead")) : t1; + }, + get$_prevLength: function() { + var t1 = this.__Deflate__prevLength; + return t1 === $ ? H.throwExpression(H.LateError$fieldNI("_prevLength")) : t1; + }, + get$_deflate$_level: function() { + var t1 = this.__Deflate__level; + return t1 === $ ? H.throwExpression(H.LateError$fieldNI("_level")) : t1; + }, + get$_dynamicLengthTree: function() { + var t1 = this.__Deflate__dynamicLengthTree; + return t1 === $ ? H.throwExpression(H.LateError$fieldNI("_dynamicLengthTree")) : t1; + }, + get$_dynamicDistTree: function() { + var t1 = this.__Deflate__dynamicDistTree; + return t1 === $ ? H.throwExpression(H.LateError$fieldNI("_dynamicDistTree")) : t1; + }, + get$_heapLen: function() { + var t1 = this.__Deflate__heapLen; + return t1 === $ ? H.throwExpression(H.LateError$fieldNI("_heapLen")) : t1; + }, + get$_heapMax: function() { + var t1 = this.__Deflate__heapMax; + return t1 === $ ? H.throwExpression(H.LateError$fieldNI("_heapMax")) : t1; + }, + get$_lbuf: function() { + var t1 = this.__Deflate__lbuf; + return t1 === $ ? H.throwExpression(H.LateError$fieldNI("_lbuf")) : t1; + }, + get$_litBufferSize: function() { + var t1 = this.__Deflate__litBufferSize; + return t1 === $ ? H.throwExpression(H.LateError$fieldNI("_litBufferSize")) : t1; + }, + get$_lastLit: function() { + var t1 = this.__Deflate__lastLit; + return t1 === $ ? H.throwExpression(H.LateError$fieldNI("_lastLit")) : t1; + }, + get$_dbuf: function() { + var t1 = this.__Deflate__dbuf; + return t1 === $ ? H.throwExpression(H.LateError$fieldNI("_dbuf")) : t1; + }, + get$_optimalLen: function() { + var t1 = this.__Deflate__optimalLen; + return t1 === $ ? H.throwExpression(H.LateError$fieldNI("_optimalLen")) : t1; + }, + get$_staticLen: function() { + var t1 = this.__Deflate__staticLen; + return t1 === $ ? H.throwExpression(H.LateError$fieldNI("_staticLen")) : t1; + }, + get$_matches: function() { + var t1 = this.__Deflate__matches; + return t1 === $ ? H.throwExpression(H.LateError$fieldNI("_matches")) : t1; + }, + get$_bitBuffer: function() { + var t1 = this.__Deflate__bitBuffer; + return t1 === $ ? H.throwExpression(H.LateError$fieldNI("_bitBuffer")) : t1; + }, + get$_numValidBits: function() { + var t1 = this.__Deflate__numValidBits; + return t1 === $ ? H.throwExpression(H.LateError$fieldNI("_numValidBits")) : t1; + } + }; + T._DeflaterConfig.prototype = {}; + T._HuffmanTree.prototype = { + get$dynamicTree: function() { + var t1 = this.___HuffmanTree_dynamicTree; + return t1 === $ ? H.throwExpression(H.LateError$fieldNI("dynamicTree")) : t1; + }, + get$maxCode: function() { + var t1 = this.___HuffmanTree_maxCode; + return t1 === $ ? H.throwExpression(H.LateError$fieldNI("maxCode")) : t1; + }, + get$staticDesc: function() { + var t1 = this.___HuffmanTree_staticDesc; + return t1 === $ ? H.throwExpression(H.LateError$fieldNI("staticDesc")) : t1; + }, + _genBitlen$1: function(s) { + var t1, bits, t2, t3, t4, h, t5, xbits, f, overflow, n, t6, t7, t8, bits0, m, _this = this, + _s11_ = "_optimalLen", + tree = _this.get$dynamicTree(), + stree = _this.get$staticDesc().staticTree, + extra = _this.get$staticDesc().extraBits, + baseRenamed = _this.get$staticDesc().extraBase, + maxLength = _this.get$staticDesc().maxLength; + for (t1 = s._bitLengthCount, bits = 0; bits <= 15; ++bits) + t1[bits] = 0; + t2 = s._heap; + t3 = C.NativeUint32List_methods.$index(t2, s.get$_heapMax()) * 2 + 1; + t4 = tree.length; + if (t3 < 0 || t3 >= t4) + return H.ioore(tree, t3); + tree[t3] = 0; + t3 = s.get$_heapMax(); + if (typeof t3 !== "number") + return t3.$add(); + h = t3 + 1; + t3 = stree != null; + t5 = extra.length; + xbits = null; + f = null; + overflow = 0; + for (; h < 573; ++h) { + if (h < 0) + return H.ioore(t2, h); + n = t2[h]; + t6 = n * 2; + t7 = t6 + 1; + if (t7 < 0 || t7 >= t4) + return H.ioore(tree, t7); + t8 = tree[t7] * 2 + 1; + if (t8 >= t4) + return H.ioore(tree, t8); + bits = tree[t8] + 1; + if (bits > maxLength) { + ++overflow; + bits = maxLength; + } + tree[t7] = bits; + t8 = _this.___HuffmanTree_maxCode; + if (t8 === $) + t8 = H.throwExpression(H.LateError$fieldNI("maxCode")); + if (typeof t8 !== "number") + return H.iae(t8); + if (n > t8) + continue; + if (bits >= 16) + return H.ioore(t1, bits); + t1[bits] = t1[bits] + 1; + if (n >= baseRenamed) { + t8 = n - baseRenamed; + if (t8 < 0 || t8 >= t5) + return H.ioore(extra, t8); + xbits = extra[t8]; + } else + xbits = 0; + if (t6 < 0 || t6 >= t4) + return H.ioore(tree, t6); + f = tree[t6]; + t6 = s.__Deflate__optimalLen; + if (t6 === $) + t6 = H.throwExpression(H.LateError$fieldNI(_s11_)); + if (typeof t6 !== "number") + return t6.$add(); + s.__Deflate__optimalLen = t6 + f * (bits + xbits); + if (t3) { + t6 = s.__Deflate__staticLen; + if (t6 === $) + t6 = H.throwExpression(H.LateError$fieldNI("_staticLen")); + if (t7 >= stree.length) + return H.ioore(stree, t7); + t7 = stree[t7]; + if (typeof t6 !== "number") + return t6.$add(); + s.__Deflate__staticLen = t6 + f * (t7 + xbits); + } + } + if (overflow === 0) + return; + bits = maxLength - 1; + do { + bits0 = bits; + while (true) { + if (bits0 < 0 || bits0 >= 16) + return H.ioore(t1, bits0); + t3 = t1[bits0]; + if (!(t3 === 0)) + break; + --bits0; + } + t1[bits0] = t3 - 1; + t3 = bits0 + 1; + if (t3 >= 16) + return H.ioore(t1, t3); + t1[t3] = t1[t3] + 2; + if (maxLength >= 16) + return H.ioore(t1, maxLength); + t1[maxLength] = t1[maxLength] - 1; + overflow -= 2; + } while (overflow > 0); + for (bits = maxLength, m = null; bits !== 0; --bits) { + if (bits < 0) + return H.ioore(t1, bits); + n = t1[bits]; + for (; n !== 0;) { + --h; + if (h < 0 || h >= 573) + return H.ioore(t2, h); + m = t2[h]; + t3 = _this.___HuffmanTree_maxCode; + if (t3 === $) + t3 = H.throwExpression(H.LateError$fieldNI("maxCode")); + if (typeof t3 !== "number") + return H.iae(t3); + if (m > t3) + continue; + t3 = m * 2; + t5 = t3 + 1; + if (t5 < 0 || t5 >= t4) + return H.ioore(tree, t5); + t6 = tree[t5]; + if (t6 !== bits) { + t7 = s.__Deflate__optimalLen; + if (t7 === $) + t7 = H.throwExpression(H.LateError$fieldNI(_s11_)); + if (t3 < 0 || t3 >= t4) + return H.ioore(tree, t3); + t3 = tree[t3]; + if (typeof t7 !== "number") + return t7.$add(); + s.__Deflate__optimalLen = t7 + (bits - t6) * t3; + tree[t5] = bits; + } + --n; + } + } + }, + _buildTree$1: function(s) { + var t1, t2, n, maxCode, t3, t4, t5, node, m, t6, t7, t8, node0, _this = this, + _s8_ = "_heapLen", + tree = _this.get$dynamicTree(), + stree = _this.get$staticDesc().staticTree, + elems = _this.get$staticDesc().numElements; + s.__Deflate__heapLen = 0; + s.__Deflate__heapMax = 573; + for (t1 = s._depth, t2 = s._heap, n = 0, maxCode = -1; n < elems; ++n) { + t3 = n * 2; + t4 = tree.length; + if (t3 >= t4) + return H.ioore(tree, t3); + if (tree[t3] !== 0) { + t3 = s.__Deflate__heapLen; + if (t3 === $) + t3 = H.throwExpression(H.LateError$fieldNI(_s8_)); + if (typeof t3 !== "number") + return t3.$add(); + ++t3; + s.__Deflate__heapLen = t3; + if (t3 < 0 || t3 >= 573) + return H.ioore(t2, t3); + t2[t3] = n; + if (n >= 573) + return H.ioore(t1, n); + t1[n] = 0; + maxCode = n; + } else { + ++t3; + if (t3 >= t4) + return H.ioore(tree, t3); + tree[t3] = 0; + } + } + t3 = stree != null; + while (true) { + t4 = s.__Deflate__heapLen; + t5 = t4 === $ ? H.throwExpression(H.LateError$fieldNI(_s8_)) : t4; + if (typeof t5 !== "number") + return t5.$lt(); + if (!(t5 < 2)) + break; + if (typeof t4 !== "number") + return t4.$add(); + ++t4; + s.__Deflate__heapLen = t4; + if (maxCode < 2) { + ++maxCode; + node = maxCode; + } else + node = 0; + if (t4 < 0 || t4 >= 573) + return H.ioore(t2, t4); + t2[t4] = node; + t4 = node * 2; + if (t4 < 0 || t4 >= tree.length) + return H.ioore(tree, t4); + tree[t4] = 1; + t1[node] = 0; + t5 = s.__Deflate__optimalLen; + if (t5 === $) + t5 = H.throwExpression(H.LateError$fieldNI("_optimalLen")); + if (typeof t5 !== "number") + return t5.$sub(); + s.__Deflate__optimalLen = t5 - 1; + if (t3) { + t5 = s.__Deflate__staticLen; + if (t5 === $) + t5 = H.throwExpression(H.LateError$fieldNI("_staticLen")); + ++t4; + if (t4 >= stree.length) + return H.ioore(stree, t4); + t4 = stree[t4]; + if (typeof t5 !== "number") + return t5.$sub(); + s.__Deflate__staticLen = t5 - t4; + } + } + _this.___HuffmanTree_maxCode = maxCode; + t3 = s.get$_heapLen(); + if (typeof t3 !== "number") + return t3.$tdiv(); + n = C.JSInt_methods._tdivFast$1(t3, 2); + for (; n >= 1; --n) + s._pqdownheap$2(tree, n); + node = elems; + do { + n = t2[1]; + t3 = s.get$_heapLen(); + if (typeof t3 !== "number") + return t3.$sub(); + s.__Deflate__heapLen = t3 - 1; + if (t3 < 0 || t3 >= 573) + return H.ioore(t2, t3); + t2[1] = t2[t3]; + s._pqdownheap$2(tree, 1); + m = t2[1]; + t3 = s.get$_heapMax(); + if (typeof t3 !== "number") + return t3.$sub(); + --t3; + s.__Deflate__heapMax = t3; + if (t3 < 0 || t3 >= 573) + return H.ioore(t2, t3); + t2[t3] = n; + t3 = s.get$_heapMax(); + if (typeof t3 !== "number") + return t3.$sub(); + --t3; + s.__Deflate__heapMax = t3; + if (t3 < 0 || t3 >= 573) + return H.ioore(t2, t3); + t2[t3] = m; + t3 = node * 2; + t4 = n * 2; + t5 = tree.length; + if (t4 < 0 || t4 >= t5) + return H.ioore(tree, t4); + t6 = tree[t4]; + t7 = m * 2; + if (t7 < 0 || t7 >= t5) + return H.ioore(tree, t7); + t8 = tree[t7]; + if (t3 >= t5) + return H.ioore(tree, t3); + tree[t3] = t6 + t8; + if (n < 0 || n >= 573) + return H.ioore(t1, n); + t8 = t1[n]; + if (m < 0 || m >= 573) + return H.ioore(t1, m); + t6 = t1[m]; + t3 = t8 > t6 ? t8 : t6; + if (node >= 573) + return H.ioore(t1, node); + t1[node] = t3 + 1; + ++t4; + ++t7; + if (t7 >= t5) + return H.ioore(tree, t7); + tree[t7] = node; + if (t4 >= t5) + return H.ioore(tree, t4); + tree[t4] = node; + node0 = node + 1; + t2[1] = node; + s._pqdownheap$2(tree, 1); + t3 = s.get$_heapLen(); + if (typeof t3 !== "number") + return t3.$ge(); + if (t3 >= 2) { + node = node0; + continue; + } else + break; + } while (true); + t1 = s.get$_heapMax(); + if (typeof t1 !== "number") + return t1.$sub(); + --t1; + s.__Deflate__heapMax = t1; + t3 = t2[1]; + if (t1 < 0 || t1 >= 573) + return H.ioore(t2, t1); + t2[t1] = t3; + _this._genBitlen$1(s); + T._HuffmanTree__genCodes(tree, maxCode, s._bitLengthCount); + } + }; + T._StaticTree.prototype = {}; + Y.HuffmanTable.prototype = { + get$table: function() { + var t1 = this.__HuffmanTable_table; + return t1 === $ ? H.throwExpression(H.LateError$fieldNI("table")) : t1; + }, + HuffmanTable$1: function(lengths) { + var i, t2, t3, size, bitLength, code, skip, rtemp, reversed, j, t4, _this = this, + t1 = J.getInterceptor$asx(lengths), + listSize = t1.get$length(lengths); + for (i = 0; i < listSize; ++i) { + t2 = t1.$index(lengths, i); + t3 = _this.maxCodeLength; + if (typeof t2 !== "number") + return t2.$gt(); + if (typeof t3 !== "number") + return H.iae(t3); + if (t2 > t3) + _this.set$maxCodeLength(t1.$index(lengths, i)); + t2 = t1.$index(lengths, i); + t3 = _this.minCodeLength; + if (typeof t2 !== "number") + return t2.$lt(); + if (typeof t3 !== "number") + return H.iae(t3); + if (t2 < t3) + _this.set$minCodeLength(t1.$index(lengths, i)); + } + t2 = _this.maxCodeLength; + if (typeof t2 !== "number") + return H.iae(t2); + size = C.JSInt_methods.$shl(1, t2); + _this.__HuffmanTable_table = new Uint32Array(size); + bitLength = 1; + code = 0; + skip = 2; + while (true) { + t2 = _this.maxCodeLength; + if (typeof t2 !== "number") + return H.iae(t2); + if (!(bitLength <= t2)) + break; + for (t2 = bitLength << 16, i = 0; i < listSize; ++i) + if (J.$eq$(t1.$index(lengths, i), bitLength)) { + for (rtemp = code, reversed = 0, j = 0; j < bitLength; ++j) { + reversed = (reversed << 1 | rtemp & 1) >>> 0; + rtemp = rtemp >>> 1; + } + for (t3 = (t2 | i) >>> 0, j = reversed; j < size; j += skip) { + t4 = _this.__HuffmanTable_table; + if (t4 === $) + t4 = H.throwExpression(H.LateError$fieldNI("table")); + if (j < 0 || j >= t4.length) + return H.ioore(t4, j); + t4[j] = t3; + } + ++code; + } + ++bitLength; + code = code << 1 >>> 0; + skip = skip << 1 >>> 0; + } + }, + set$maxCodeLength: function(maxCodeLength) { + this.maxCodeLength = H._asIntS(maxCodeLength); + }, + set$minCodeLength: function(minCodeLength) { + this.minCodeLength = H._asIntS(minCodeLength); + } + }; + S.Inflate.prototype = { + get$input: function() { + var t1 = this.__Inflate_input; + return t1 === $ ? H.throwExpression(H.LateError$fieldNI("input")) : t1; + }, + _inflate$0: function() { + var t1, t2, t3, _this = this; + _this._bitBufferLen = _this._inflate$_bitBuffer = 0; + if (!_this.inputSet) + return; + while (true) { + t1 = _this.__Inflate_input; + if (t1 === $) + t1 = H.throwExpression(H.LateError$fieldNI("input")); + t2 = t1.offset; + t3 = t1.start; + t1 = t1.__InputStream__length; + if (t1 === $) + t1 = H.throwExpression(H.LateError$fieldNI("_length")); + if (typeof t1 !== "number") + return H.iae(t1); + if (!(t2 < t3 + t1)) + break; + if (!_this._parseBlock$0()) + break; + } + }, + _parseBlock$0: function() { + var blockHeader, _this = this; + if (_this.get$input().get$isEOS()) + return false; + blockHeader = _this._readBits$1(3); + switch (C.JSInt_methods._shrOtherPositive$1(blockHeader, 1)) { + case 0: + if (_this._parseUncompressedBlock$0() === -1) + return false; + break; + case 1: + if (_this._decodeHuffman$2(_this._fixedLiteralLengthTable, _this._fixedDistanceTable) === -1) + return false; + break; + case 2: + if (_this._parseDynamicHuffmanBlock$0() === -1) + return false; + break; + default: + return false; + } + return (blockHeader & 1) === 0; + }, + _readBits$1: function($length) { + var t1, t2, t3, t4, _this = this; + if ($length === 0) + return 0; + for (; t1 = _this._bitBufferLen, t1 < $length;) { + t1 = _this.__Inflate_input; + t2 = t1 === $ ? H.throwExpression(H.LateError$fieldNI("input")) : t1; + t3 = t2.offset; + t4 = t2.start; + t2 = t2.__InputStream__length; + if (t2 === $) + t2 = H.throwExpression(H.LateError$fieldNI("_length")); + if (typeof t2 !== "number") + return H.iae(t2); + if (t3 >= t4 + t2) + return -1; + t1 = J.$index$asx(t1.buffer, t1.offset++); + t2 = _this._inflate$_bitBuffer; + t3 = _this._bitBufferLen; + if (typeof t1 !== "number") + return t1.$shl(); + _this._inflate$_bitBuffer = (t2 | C.JSInt_methods.$shl(t1, t3)) >>> 0; + _this._bitBufferLen = t3 + 8; + } + t2 = _this._inflate$_bitBuffer; + t3 = C.JSInt_methods._shlPositive$1(1, $length); + _this._inflate$_bitBuffer = C.JSInt_methods._shrBothPositive$1(t2, $length); + _this._bitBufferLen = t1 - $length; + return (t2 & t3 - 1) >>> 0; + }, + _readCodeByTable$1: function(table) { + var t1, t2, t3, t4, codeWithLength, codeLength, _this = this, + codeTable = table.get$table(), + maxCodeLength = table.maxCodeLength; + if (typeof maxCodeLength !== "number") + return H.iae(maxCodeLength); + for (; t1 = _this._bitBufferLen, t1 < maxCodeLength;) { + t1 = _this.__Inflate_input; + t2 = t1 === $ ? H.throwExpression(H.LateError$fieldNI("input")) : t1; + t3 = t2.offset; + t4 = t2.start; + t2 = t2.__InputStream__length; + if (t2 === $) + t2 = H.throwExpression(H.LateError$fieldNI("_length")); + if (typeof t2 !== "number") + return H.iae(t2); + if (t3 >= t4 + t2) + return -1; + t1 = J.$index$asx(t1.buffer, t1.offset++); + t2 = _this._inflate$_bitBuffer; + t3 = _this._bitBufferLen; + if (typeof t1 !== "number") + return t1.$shl(); + _this._inflate$_bitBuffer = (t2 | C.JSInt_methods.$shl(t1, t3)) >>> 0; + _this._bitBufferLen = t3 + 8; + } + t2 = _this._inflate$_bitBuffer; + t3 = (t2 & C.JSInt_methods.$shl(1, maxCodeLength) - 1) >>> 0; + if (t3 >= codeTable.length) + return H.ioore(codeTable, t3); + codeWithLength = codeTable[t3]; + codeLength = codeWithLength >>> 16; + _this._inflate$_bitBuffer = C.JSInt_methods._shrBothPositive$1(t2, codeLength); + _this._bitBufferLen = t1 - codeLength; + return codeWithLength & 65535; + }, + _parseUncompressedBlock$0: function() { + var len, t1, _this = this; + _this._bitBufferLen = _this._inflate$_bitBuffer = 0; + len = _this._readBits$1(16); + t1 = _this._readBits$1(16); + if (len !== 0 && len !== (t1 ^ 65535) >>> 0) + return -1; + t1 = _this.get$input(); + if (len > t1.get$length(t1)) + return -1; + _this.output.writeInputStream$1(_this.get$input().readBytes$1(len)); + return 0; + }, + _parseDynamicHuffmanBlock$0: function() { + var numDistanceCodes, numCodeLengths, codeLengths, i, len, t1, codeLengthsTable, litLenDistLengths, litlenLengths, distLengths, _this = this, + numLitLengthCodes = _this._readBits$1(5); + if (numLitLengthCodes === -1) + return -1; + numLitLengthCodes += 257; + if (numLitLengthCodes > 288) + return -1; + numDistanceCodes = _this._readBits$1(5); + if (numDistanceCodes === -1) + return -1; + ++numDistanceCodes; + if (numDistanceCodes > 32) + return -1; + numCodeLengths = _this._readBits$1(4); + if (numCodeLengths === -1) + return -1; + numCodeLengths += 4; + if (numCodeLengths > 19) + return -1; + codeLengths = new Uint8Array(19); + for (i = 0; i < numCodeLengths; ++i) { + len = _this._readBits$1(3); + if (len === -1) + return -1; + t1 = C.List_uSC[i]; + if (t1 >= 19) + return H.ioore(codeLengths, t1); + codeLengths[t1] = len; + } + codeLengthsTable = Y.HuffmanTable$(codeLengths); + t1 = numLitLengthCodes + numDistanceCodes; + litLenDistLengths = new Uint8Array(t1); + litlenLengths = C.NativeByteBuffer_methods.asUint8List$2(litLenDistLengths.buffer, 0, numLitLengthCodes); + distLengths = C.NativeByteBuffer_methods.asUint8List$2(litLenDistLengths.buffer, numLitLengthCodes, numDistanceCodes); + if (_this._decode$3(t1, codeLengthsTable, litLenDistLengths) === -1) + return -1; + return _this._decodeHuffman$2(Y.HuffmanTable$(litlenLengths), Y.HuffmanTable$(distLengths)); + }, + _decodeHuffman$2: function(litlen, dist) { + var t1, code, ti, codeLength, distCode, distance, t2, _this = this; + for (t1 = _this.output; true;) { + code = _this._readCodeByTable$1(litlen); + if (code < 0 || code > 285) + return -1; + if (code === 256) + break; + if (code < 256) { + t1.writeByte$1(code & 255); + continue; + } + ti = code - 257; + if (ti < 0 || ti >= 29) + return H.ioore(C.List_qQn1, ti); + codeLength = C.List_qQn1[ti] + _this._readBits$1(C.List_eea[ti]); + distCode = _this._readCodeByTable$1(dist); + if (distCode < 0 || distCode > 29) + return -1; + if (distCode < 0 || distCode >= 30) + return H.ioore(C.List_i3t, distCode); + distance = C.List_i3t[distCode] + _this._readBits$1(C.List_X3d[distCode]); + for (t2 = -distance; codeLength > distance;) { + t1.writeBytes$1(t1.subset$1(t2)); + codeLength -= distance; + } + if (codeLength === distance) + t1.writeBytes$1(t1.subset$1(t2)); + else + t1.writeBytes$1(t1.subset$2(t2, codeLength - distance)); + } + for (; t1 = _this._bitBufferLen, t1 >= 8;) { + _this._bitBufferLen = t1 - 8; + t1 = _this.__Inflate_input; + if (t1 === $) + t1 = H.throwExpression(H.LateError$fieldNI("input")); + if (--t1.offset < 0) + t1.offset = 0; + } + return 0; + }, + _decode$3: function(num, table, codeLengths) { + var t1, prev, i, code, repeat, repeat0, i0, _this = this; + type$.List_int._as(codeLengths); + for (t1 = codeLengths.length, prev = 0, i = 0; i < num;) { + code = _this._readCodeByTable$1(table); + if (code === -1) + return -1; + switch (code) { + case 16: + repeat = _this._readBits$1(2); + if (repeat === -1) + return -1; + repeat += 3; + for (; repeat0 = repeat - 1, repeat > 0; repeat = repeat0, i = i0) { + i0 = i + 1; + if (i < 0 || i >= t1) + return H.ioore(codeLengths, i); + codeLengths[i] = prev; + } + break; + case 17: + repeat = _this._readBits$1(3); + if (repeat === -1) + return -1; + repeat += 3; + for (; repeat0 = repeat - 1, repeat > 0; repeat = repeat0, i = i0) { + i0 = i + 1; + if (i < 0 || i >= t1) + return H.ioore(codeLengths, i); + codeLengths[i] = 0; + } + prev = 0; + break; + case 18: + repeat = _this._readBits$1(7); + if (repeat === -1) + return -1; + repeat += 11; + for (; repeat0 = repeat - 1, repeat > 0; repeat = repeat0, i = i0) { + i0 = i + 1; + if (i < 0 || i >= t1) + return H.ioore(codeLengths, i); + codeLengths[i] = 0; + } + prev = 0; + break; + default: + if (code < 0 || code > 15) + return -1; + i0 = i + 1; + if (i < 0 || i >= t1) + return H.ioore(codeLengths, i); + codeLengths[i] = code; + i = i0; + prev = code; + break; + } + } + return 0; + } + }; + Q.CopyOnWriteList.prototype = { + get$length: function(_) { + return J.get$length$asx(this._copy_on_write_list$_list); + }, + $index: function(_, index) { + H._asIntS(index); + return J.$index$asx(this._copy_on_write_list$_list, index); + }, + $add: function(_, other) { + this.$ti._eval$1("List<1>")._as(other); + return J.$add$ansx(this._copy_on_write_list$_list, other); + }, + any$1: function(_, test) { + this.$ti._eval$1("bool(1)")._as(test); + return J.any$1$ax(this._copy_on_write_list$_list, test); + }, + cast$1$0: function(_, $T) { + return new Q.CopyOnWriteList(this._growable, J.cast$1$0$ax(this._copy_on_write_list$_list, $T), $T._eval$1("CopyOnWriteList<0>")); + }, + contains$1: function(_, element) { + return J.contains$1$asx(this._copy_on_write_list$_list, element); + }, + elementAt$1: function(_, index) { + return J.elementAt$1$ax(this._copy_on_write_list$_list, index); + }, + every$1: function(_, test) { + this.$ti._eval$1("bool(1)")._as(test); + return J.every$1$ax(this._copy_on_write_list$_list, test); + }, + expand$1$1: function(_, f, $T) { + this.$ti._bind$1($T)._eval$1("Iterable<1>(2)")._as(f); + return J.expand$1$1$ax(this._copy_on_write_list$_list, f, $T); + }, + get$first: function(_) { + return J.get$first$ax(this._copy_on_write_list$_list); + }, + firstWhere$2$orElse: function(_, test, orElse) { + var t1 = this.$ti; + t1._eval$1("bool(1)")._as(test); + t1._eval$1("1()?")._as(orElse); + return J.firstWhere$2$orElse$ax(this._copy_on_write_list$_list, test, orElse); + }, + fold$1$2: function(_, initialValue, combine, $T) { + $T._as(initialValue); + this.$ti._bind$1($T)._eval$1("1(1,2)")._as(combine); + return J.fold$1$2$ax(this._copy_on_write_list$_list, initialValue, combine, $T); + }, + forEach$1: function(_, f) { + this.$ti._eval$1("~(1)")._as(f); + return J.forEach$1$ax(this._copy_on_write_list$_list, f); + }, + getRange$2: function(_, start, end) { + return J.getRange$2$ax(this._copy_on_write_list$_list, start, end); + }, + indexOf$2: function(_, element, start) { + this.$ti._precomputed1._as(element); + return J.indexOf$2$asx(this._copy_on_write_list$_list, element, start); + }, + get$isEmpty: function(_) { + return J.get$isEmpty$asx(this._copy_on_write_list$_list); + }, + get$isNotEmpty: function(_) { + return J.get$isNotEmpty$asx(this._copy_on_write_list$_list); + }, + get$iterator: function(_) { + return J.get$iterator$ax(this._copy_on_write_list$_list); + }, + join$1: function(_, separator) { + return J.join$1$ax(this._copy_on_write_list$_list, separator); + }, + get$last: function(_) { + return J.get$last$ax(this._copy_on_write_list$_list); + }, + map$1$1: function(_, f, $T) { + this.$ti._bind$1($T)._eval$1("1(2)")._as(f); + return J.map$1$1$ax(this._copy_on_write_list$_list, f, $T); + }, + map$1: function($receiver, f) { + return this.map$1$1($receiver, f, type$.dynamic); + }, + get$reversed: function(_) { + return J.get$reversed$ax(this._copy_on_write_list$_list); + }, + get$single: function(_) { + return J.get$single$ax(this._copy_on_write_list$_list); + }, + skip$1: function(_, count) { + return J.skip$1$ax(this._copy_on_write_list$_list, count); + }, + sublist$2: function(_, start, end) { + return J.sublist$2$ax(this._copy_on_write_list$_list, start, end); + }, + sublist$1: function($receiver, start) { + return this.sublist$2($receiver, start, null); + }, + take$1: function(_, count) { + return J.take$1$ax(this._copy_on_write_list$_list, count); + }, + toList$1$growable: function(_, growable) { + return J.toList$1$growable$ax(this._copy_on_write_list$_list, growable); + }, + toList$0: function($receiver) { + return this.toList$1$growable($receiver, true); + }, + toSet$0: function(_) { + return J.toSet$0$ax(this._copy_on_write_list$_list); + }, + where$1: function(_, test) { + this.$ti._eval$1("bool(1)")._as(test); + return J.where$1$ax(this._copy_on_write_list$_list, test); + }, + $indexSet: function(_, index, element) { + H._asIntS(index); + this.$ti._precomputed1._as(element); + this._copy_on_write_list$_maybeCopyBeforeWrite$0(); + J.$indexSet$ax(this._copy_on_write_list$_list, index, element); + }, + add$1: function(_, value) { + this.$ti._precomputed1._as(value); + this._copy_on_write_list$_maybeCopyBeforeWrite$0(); + J.add$1$ax(this._copy_on_write_list$_list, value); + }, + addAll$1: function(_, iterable) { + this.$ti._eval$1("Iterable<1>")._as(iterable); + this._copy_on_write_list$_maybeCopyBeforeWrite$0(); + J.addAll$1$ax(this._copy_on_write_list$_list, iterable); + }, + sort$1: function(_, compare) { + this.$ti._eval$1("int(1,1)?")._as(compare); + this._copy_on_write_list$_maybeCopyBeforeWrite$0(); + J.sort$1$ax(this._copy_on_write_list$_list, compare); + }, + sort$0: function($receiver) { + return this.sort$1($receiver, null); + }, + clear$0: function(_) { + this._copy_on_write_list$_maybeCopyBeforeWrite$0(); + J.clear$0$ax(this._copy_on_write_list$_list); + }, + insert$2: function(_, index, element) { + this.$ti._precomputed1._as(element); + this._copy_on_write_list$_maybeCopyBeforeWrite$0(); + J.insert$2$ax(this._copy_on_write_list$_list, index, element); + }, + insertAll$2: function(_, index, iterable) { + this.$ti._eval$1("Iterable<1>")._as(iterable); + this._copy_on_write_list$_maybeCopyBeforeWrite$0(); + J.insertAll$2$ax(this._copy_on_write_list$_list, index, iterable); + }, + remove$1: function(_, value) { + this._copy_on_write_list$_maybeCopyBeforeWrite$0(); + return J.remove$1$ax(this._copy_on_write_list$_list, value); + }, + removeAt$1: function(_, index) { + this._copy_on_write_list$_maybeCopyBeforeWrite$0(); + return J.removeAt$1$ax(this._copy_on_write_list$_list, index); + }, + removeLast$0: function(_) { + this._copy_on_write_list$_maybeCopyBeforeWrite$0(); + return J.removeLast$0$ax(this._copy_on_write_list$_list); + }, + removeWhere$1: function(_, test) { + this.$ti._eval$1("bool(1)")._as(test); + this._copy_on_write_list$_maybeCopyBeforeWrite$0(); + J.removeWhere$1$ax(this._copy_on_write_list$_list, test); + }, + setRange$4: function(_, start, end, iterable, skipCount) { + H._asIntS(end); + this.$ti._eval$1("Iterable<1>")._as(iterable); + this._copy_on_write_list$_maybeCopyBeforeWrite$0(); + J.setRange$4$ax(this._copy_on_write_list$_list, start, end, iterable, skipCount); + }, + setRange$3: function($receiver, start, end, iterable) { + return this.setRange$4($receiver, start, end, iterable, 0); + }, + removeRange$2: function(_, start, end) { + this._copy_on_write_list$_maybeCopyBeforeWrite$0(); + J.removeRange$2$ax(this._copy_on_write_list$_list, start, end); + }, + toString$0: function(_) { + return J.toString$0$(this._copy_on_write_list$_list); + }, + _copy_on_write_list$_maybeCopyBeforeWrite$0: function() { + var _this = this; + if (!_this._copy_on_write_list$_copyBeforeWrite) + return; + _this._copy_on_write_list$_copyBeforeWrite = false; + _this.set$_copy_on_write_list$_list(P.List_List$from(_this._copy_on_write_list$_list, _this._growable, _this.$ti._precomputed1)); + }, + set$_copy_on_write_list$_list: function(_list) { + this._copy_on_write_list$_list = this.$ti._eval$1("List<1>")._as(_list); + }, + $isEfficientLengthIterable: 1, + $isIterable: 1, + $isList: 1 + }; + S.CopyOnWriteMap.prototype = { + $index: function(_, key) { + return J.$index$asx(this._copy_on_write_map$_map, key); + }, + cast$2$0: function(_, K2, V2) { + return new S.CopyOnWriteMap(null, J.cast$2$0$ax(this._copy_on_write_map$_map, K2, V2), K2._eval$1("@<0>")._bind$1(V2)._eval$1("CopyOnWriteMap<1,2>")); + }, + containsKey$1: function(_, key) { + return J.containsKey$1$x(this._copy_on_write_map$_map, key); + }, + get$entries: function(_) { + return J.get$entries$x(this._copy_on_write_map$_map); + }, + forEach$1: function(_, f) { + this.$ti._eval$1("~(1,2)")._as(f); + return J.forEach$1$ax(this._copy_on_write_map$_map, f); + }, + get$isEmpty: function(_) { + return J.get$isEmpty$asx(this._copy_on_write_map$_map); + }, + get$isNotEmpty: function(_) { + return J.get$isNotEmpty$asx(this._copy_on_write_map$_map); + }, + get$keys: function(_) { + return J.get$keys$x(this._copy_on_write_map$_map); + }, + get$length: function(_) { + return J.get$length$asx(this._copy_on_write_map$_map); + }, + map$2$1: function(_, f, K2, V2) { + this.$ti._bind$1(K2)._bind$1(V2)._eval$1("MapEntry<1,2>(3,4)")._as(f); + return J.map$2$1$ax(this._copy_on_write_map$_map, f, K2, V2); + }, + map$1: function($receiver, f) { + return this.map$2$1($receiver, f, type$.dynamic, type$.dynamic); + }, + get$values: function(_) { + return J.get$values$x(this._copy_on_write_map$_map); + }, + $indexSet: function(_, key, value) { + var t1 = this.$ti; + t1._precomputed1._as(key); + t1._rest[1]._as(value); + this._maybeCopyBeforeWrite$0(); + J.$indexSet$ax(this._copy_on_write_map$_map, key, value); + }, + remove$1: function(_, key) { + this._maybeCopyBeforeWrite$0(); + return J.remove$1$ax(this._copy_on_write_map$_map, key); + }, + removeWhere$1: function(_, test) { + this.$ti._eval$1("bool(1,2)")._as(test); + this._maybeCopyBeforeWrite$0(); + J.removeWhere$1$ax(this._copy_on_write_map$_map, test); + }, + toString$0: function(_) { + return J.toString$0$(this._copy_on_write_map$_map); + }, + _maybeCopyBeforeWrite$0: function() { + var t1, _this = this; + if (!_this._copyBeforeWrite) + return; + _this._copyBeforeWrite = false; + t1 = _this.$ti; + t1 = P.LinkedHashMap_LinkedHashMap$from(_this._copy_on_write_map$_map, t1._precomputed1, t1._rest[1]); + _this.set$_copy_on_write_map$_map(t1); + }, + set$_copy_on_write_map$_map: function(_map) { + this._copy_on_write_map$_map = this.$ti._eval$1("Map<1,2>")._as(_map); + }, + $isMap: 1 + }; + A.CopyOnWriteSet.prototype = { + get$length: function(_) { + var t1 = this._copy_on_write_set$_set; + return t1.get$length(t1); + }, + intersection$1: function(_, other) { + return this._copy_on_write_set$_set.intersection$1(0, other); + }, + union$1: function(other) { + this.$ti._eval$1("Set<1>")._as(other); + return this._copy_on_write_set$_set.union$1(other); + }, + difference$1: function(other) { + return this._copy_on_write_set$_set.difference$1(other); + }, + containsAll$1: function(other) { + return this._copy_on_write_set$_set.containsAll$1(other); + }, + cast$1$0: function(_, $T) { + return new A.CopyOnWriteSet(null, this._copy_on_write_set$_set.cast$1$0(0, $T), $T._eval$1("CopyOnWriteSet<0>")); + }, + contains$1: function(_, element) { + return this._copy_on_write_set$_set.contains$1(0, element); + }, + elementAt$1: function(_, index) { + return this._copy_on_write_set$_set.elementAt$1(0, index); + }, + every$1: function(_, test) { + this.$ti._eval$1("bool(1)")._as(test); + return this._copy_on_write_set$_set.every$1(0, test); + }, + expand$1$1: function(_, f, $T) { + this.$ti._bind$1($T)._eval$1("Iterable<1>(2)")._as(f); + return this._copy_on_write_set$_set.expand$1$1(0, f, $T); + }, + get$first: function(_) { + var t1 = this._copy_on_write_set$_set; + return t1.get$first(t1); + }, + forEach$1: function(_, f) { + this.$ti._eval$1("~(1)")._as(f); + return this._copy_on_write_set$_set.forEach$1(0, f); + }, + get$isEmpty: function(_) { + var t1 = this._copy_on_write_set$_set; + return t1.get$isEmpty(t1); + }, + get$isNotEmpty: function(_) { + var t1 = this._copy_on_write_set$_set; + return t1.get$isNotEmpty(t1); + }, + get$iterator: function(_) { + var t1 = this._copy_on_write_set$_set; + return t1.get$iterator(t1); + }, + join$1: function(_, separator) { + return this._copy_on_write_set$_set.join$1(0, separator); + }, + get$last: function(_) { + var t1 = this._copy_on_write_set$_set; + return t1.get$last(t1); + }, + map$1$1: function(_, f, $T) { + this.$ti._bind$1($T)._eval$1("1(2)")._as(f); + return this._copy_on_write_set$_set.map$1$1(0, f, $T); + }, + map$1: function($receiver, f) { + return this.map$1$1($receiver, f, type$.dynamic); + }, + get$single: function(_) { + var t1 = this._copy_on_write_set$_set; + return t1.get$single(t1); + }, + skip$1: function(_, count) { + return this._copy_on_write_set$_set.skip$1(0, count); + }, + take$1: function(_, count) { + return this._copy_on_write_set$_set.take$1(0, count); + }, + toList$1$growable: function(_, growable) { + return this._copy_on_write_set$_set.toList$1$growable(0, growable); + }, + toList$0: function($receiver) { + return this.toList$1$growable($receiver, true); + }, + toSet$0: function(_) { + return this._copy_on_write_set$_set.toSet$0(0); + }, + where$1: function(_, test) { + this.$ti._eval$1("bool(1)")._as(test); + return this._copy_on_write_set$_set.where$1(0, test); + }, + add$1: function(_, value) { + this.$ti._precomputed1._as(value); + this._copy_on_write_set$_maybeCopyBeforeWrite$0(); + return this._copy_on_write_set$_set.add$1(0, value); + }, + addAll$1: function(_, iterable) { + this.$ti._eval$1("Iterable<1>")._as(iterable); + this._copy_on_write_set$_maybeCopyBeforeWrite$0(); + this._copy_on_write_set$_set.addAll$1(0, iterable); + }, + clear$0: function(_) { + this._copy_on_write_set$_maybeCopyBeforeWrite$0(); + this._copy_on_write_set$_set.clear$0(0); + }, + remove$1: function(_, value) { + this._copy_on_write_set$_maybeCopyBeforeWrite$0(); + return this._copy_on_write_set$_set.remove$1(0, value); + }, + removeWhere$1: function(_, test) { + this.$ti._eval$1("bool(1)")._as(test); + this._copy_on_write_set$_maybeCopyBeforeWrite$0(); + this._copy_on_write_set$_set.removeWhere$1(0, test); + }, + removeAll$1: function(elements) { + this._copy_on_write_set$_maybeCopyBeforeWrite$0(); + this._copy_on_write_set$_set.removeAll$1(elements); + }, + toString$0: function(_) { + return J.toString$0$(this._copy_on_write_set$_set); + }, + _copy_on_write_set$_maybeCopyBeforeWrite$0: function() { + var t1, _this = this; + if (!_this._copy_on_write_set$_copyBeforeWrite) + return; + _this._copy_on_write_set$_copyBeforeWrite = false; + t1 = P.LinkedHashSet_LinkedHashSet$from(_this._copy_on_write_set$_set, _this.$ti._precomputed1); + _this.set$_copy_on_write_set$_set(t1); + }, + set$_copy_on_write_set$_set: function(_set) { + this._copy_on_write_set$_set = this.$ti._eval$1("Set<1>")._as(_set); + }, + $isEfficientLengthIterable: 1, + $isIterable: 1, + $isSet: 1 + }; + A.hashObjects_closure.prototype = { + call$2: function(h, i) { + return A._combine(H._asIntS(h), J.get$hashCode$(i)); + }, + $signature: 230 + }; + D.BuiltList.prototype = { + rebuild$1: function(updates) { + var t1 = this.$ti; + t1._eval$1("@(ListBuilder<1>)")._as(updates); + t1 = D.ListBuilder_ListBuilder(this, t1._precomputed1); + t1.$ti._eval$1("@(ListBuilder<1>)")._as(updates).call$1(t1); + return t1.build$0(); + }, + get$hashCode: function(_) { + var t1 = this._list$_hashCode; + return t1 == null ? this._list$_hashCode = A.hashObjects(this._list) : t1; + }, + $eq: function(_, other) { + var t1, t2, t3, t4, i, _this = this; + if (other == null) + return false; + if (other === _this) + return true; + if (!(other instanceof D.BuiltList)) + return false; + t1 = other._list; + t2 = J.getInterceptor$asx(t1); + t3 = _this._list; + t4 = J.getInterceptor$asx(t3); + if (t2.get$length(t1) != t4.get$length(t3)) + return false; + if (other.get$hashCode(other) != _this.get$hashCode(_this)) + return false; + for (i = 0; i !== t4.get$length(t3); ++i) + if (!J.$eq$(t2.$index(t1, i), t4.$index(t3, i))) + return false; + return true; + }, + toString$0: function(_) { + return J.toString$0$(this._list); + }, + $index: function(_, index) { + return J.$index$asx(this._list, H._asIntS(index)); + }, + get$length: function(_) { + return J.get$length$asx(this._list); + }, + get$iterator: function(_) { + return J.get$iterator$ax(this._list); + }, + map$1$1: function(_, f, $T) { + return J.map$1$1$ax(this._list, this.$ti._bind$1($T)._eval$1("1(2)")._as(f), $T); + }, + map$1: function($receiver, f) { + return this.map$1$1($receiver, f, type$.dynamic); + }, + where$1: function(_, test) { + return J.where$1$ax(this._list, this.$ti._eval$1("bool(1)")._as(test)); + }, + expand$1$1: function(_, f, $T) { + return J.expand$1$1$ax(this._list, this.$ti._bind$1($T)._eval$1("Iterable<1>(2)")._as(f), $T); + }, + contains$1: function(_, element) { + return J.contains$1$asx(this._list, element); + }, + forEach$1: function(_, f) { + return J.forEach$1$ax(this._list, this.$ti._eval$1("~(1)")._as(f)); + }, + every$1: function(_, test) { + return J.every$1$ax(this._list, this.$ti._eval$1("bool(1)")._as(test)); + }, + join$1: function(_, separator) { + return J.join$1$ax(this._list, separator); + }, + toList$1$growable: function(_, growable) { + return new Q.CopyOnWriteList(growable, this._list, this.$ti._eval$1("CopyOnWriteList<1>")); + }, + toList$0: function($receiver) { + return this.toList$1$growable($receiver, true); + }, + toSet$0: function(_) { + return J.toSet$0$ax(this._list); + }, + get$isEmpty: function(_) { + return J.get$isEmpty$asx(this._list); + }, + get$isNotEmpty: function(_) { + return J.get$isNotEmpty$asx(this._list); + }, + take$1: function(_, n) { + return J.take$1$ax(this._list, n); + }, + skip$1: function(_, n) { + return J.skip$1$ax(this._list, n); + }, + get$first: function(_) { + return J.get$first$ax(this._list); + }, + get$last: function(_) { + return J.get$last$ax(this._list); + }, + get$single: function(_) { + return J.get$single$ax(this._list); + }, + elementAt$1: function(_, index) { + return J.elementAt$1$ax(this._list, index); + }, + cast$1$0: function(_, $T) { + return H.CastIterable_CastIterable(this._list, this.$ti._precomputed1, $T); + }, + $isIterable: 1, + $isBuiltIterable: 1 + }; + D._BuiltList.prototype = { + _maybeCheckForNull$0: function() { + if (!(!$.$get$isSoundMode() && !this.$ti._precomputed1._is(null))) + return; + for (var t1 = J.get$iterator$ax(this._list); t1.moveNext$0();) + if (t1.get$current(t1) == null) + throw H.wrapException(P.ArgumentError$("iterable contained invalid element: null")); + } + }; + D.ListBuilder.prototype = { + get$_list: function() { + var t1 = this.__ListBuilder__list; + return t1 === $ ? H.throwExpression(H.LateError$fieldNI("_list")) : t1; + }, + build$0: function() { + var t1, t2, t3, _this = this; + if (_this._listOwner == null) { + t1 = _this.get$_list(); + t2 = _this.$ti; + t3 = t2._eval$1("_BuiltList<1>"); + t3 = t3._as(new D._BuiltList(t1, t3)); + _this.set$__ListBuilder__list(t2._eval$1("List<1>")._as(t1)); + _this.set$_listOwner(t3); + } + t1 = _this._listOwner; + t1.toString; + return t1; + }, + replace$1: function(_, iterable) { + var _this = this, + t1 = _this.$ti, + t2 = t1._eval$1("_BuiltList<1>"), + t3 = t1._eval$1("List<1>"); + if (t2._is(iterable)) { + t2._as(iterable); + _this.set$__ListBuilder__list(t3._as(iterable._list)); + _this.set$_listOwner(iterable); + } else { + _this.set$__ListBuilder__list(t3._as(P.List_List$from(iterable, true, t1._precomputed1))); + _this.set$_listOwner(null); + } + }, + $index: function(_, index) { + H._asIntS(index); + return J.$index$asx(this.get$_list(), index); + }, + $indexSet: function(_, index, element) { + var t1; + H._asIntS(index); + t1 = this.$ti._precomputed1; + t1._as(element); + if (!$.$get$isSoundMode() && !t1._is(null)) + if (element == null) + H.throwExpression(P.ArgumentError$("null element")); + J.$indexSet$ax(this.get$_safeList(), index, element); + }, + get$length: function(_) { + return J.get$length$asx(this.get$_list()); + }, + add$1: function(_, value) { + var t1 = this.$ti._precomputed1; + t1._as(value); + if (!$.$get$isSoundMode() && !t1._is(null)) + if (value == null) + H.throwExpression(P.ArgumentError$("null element")); + J.add$1$ax(this.get$_safeList(), value); + }, + addAll$1: function(_, iterable) { + var safeList, lengthBefore, i, t2, exception, + t1 = this.$ti; + t1._eval$1("Iterable<1>")._as(iterable); + safeList = this.get$_safeList(); + lengthBefore = J.get$length$asx(safeList); + J.addAll$1$ax(safeList, iterable); + if (!(!$.$get$isSoundMode() && !t1._precomputed1._is(null))) + return; + try { + i = lengthBefore; + t1 = t1._precomputed1; + while (!J.$eq$(i, J.get$length$asx(safeList))) { + if (t1._as(J.$index$asx(safeList, i)) == null) + H.throwExpression(P.ArgumentError$("null element")); + t2 = i; + if (typeof t2 !== "number") + return t2.$add(); + i = t2 + 1; + } + } catch (exception) { + H.unwrapException(exception); + J.removeRange$2$ax(safeList, lengthBefore, J.get$length$asx(safeList)); + throw exception; + } + }, + setRange$4: function(_, start, end, iterable, skipCount) { + var t1; + H._asIntS(end); + t1 = this.$ti; + iterable = E.evaluateIterable(t1._eval$1("Iterable<1>")._as(iterable), t1._precomputed1); + this._list$_maybeCheckElements$1(iterable); + J.setRange$4$ax(this.get$_safeList(), start, end, iterable, skipCount); + }, + setRange$3: function($receiver, start, end, iterable) { + return this.setRange$4($receiver, start, end, iterable, 0); + }, + map$1: function(_, f) { + var result, _this = this, + t1 = _this.$ti; + t1._eval$1("1(1)")._as(f); + result = J.map$1$1$ax(_this.get$_list(), f, t1._precomputed1).toList$1$growable(0, true); + _this._list$_maybeCheckElements$1(result); + _this.set$__ListBuilder__list(t1._eval$1("List<1>")._as(result)); + _this.set$_listOwner(null); + }, + get$_safeList: function() { + var t1, _this = this; + if (_this._listOwner != null) { + t1 = _this.$ti; + _this.set$__ListBuilder__list(t1._eval$1("List<1>")._as(P.List_List$from(_this.get$_list(), true, t1._precomputed1))); + _this.set$_listOwner(null); + } + return _this.get$_list(); + }, + _list$_maybeCheckElements$1: function(elements) { + var t2, + t1 = this.$ti; + t1._eval$1("Iterable<1>")._as(elements); + if (!(!$.$get$isSoundMode() && !t1._precomputed1._is(null))) + return; + for (t2 = J.get$iterator$ax(elements), t1 = t1._precomputed1; t2.moveNext$0();) + if (t1._as(t2.get$current(t2)) == null) + H.throwExpression(P.ArgumentError$("null element")); + }, + set$__ListBuilder__list: function(__ListBuilder__list) { + this.__ListBuilder__list = this.$ti._eval$1("List<1>?")._as(__ListBuilder__list); + }, + set$_listOwner: function(_listOwner) { + this._listOwner = this.$ti._eval$1("_BuiltList<1>?")._as(_listOwner); + } + }; + R.BuiltListMultimap.prototype = { + get$hashCode: function(_) { + var _this = this, + t1 = _this._list_multimap$_hashCode; + if (t1 == null) { + t1 = J.map$1$1$ax(J.get$keys$x(_this._list_multimap$_map), new R.BuiltListMultimap_hashCode_closure(_this), type$.int).toList$1$growable(0, false); + C.JSArray_methods.sort$0(t1); + t1 = _this._list_multimap$_hashCode = A.hashObjects(t1); + } + return t1; + }, + $eq: function(_, other) { + var t1, t2, t3, t4, t5, t6, t7, key, result, t8, _this = this; + if (other == null) + return false; + if (other === _this) + return true; + if (!(other instanceof R.BuiltListMultimap)) + return false; + t1 = other._list_multimap$_map; + t2 = J.getInterceptor$asx(t1); + t3 = _this._list_multimap$_map; + t4 = J.getInterceptor$asx(t3); + if (t2.get$length(t1) != t4.get$length(t3)) + return false; + if (other.get$hashCode(other) != _this.get$hashCode(_this)) + return false; + for (t5 = J.get$iterator$ax(_this.get$keys(_this)), t6 = other._emptyList, t7 = _this._emptyList; t5.moveNext$0();) { + key = t5.get$current(t5); + result = t2.$index(t1, key); + t8 = result == null ? t6 : result; + result = t4.$index(t3, key); + if (!t8.$eq(0, result == null ? t7 : result)) + return false; + } + return true; + }, + toString$0: function(_) { + return J.toString$0$(this._list_multimap$_map); + }, + $index: function(_, key) { + var result = J.$index$asx(this._list_multimap$_map, key); + return result == null ? this._emptyList : result; + }, + containsKey$1: function(_, key) { + return J.containsKey$1$x(this._list_multimap$_map, key); + }, + get$keys: function(_) { + var t1, _this = this; + if (_this._list_multimap$_keys == null) + _this.set$_list_multimap$_keys(J.get$keys$x(_this._list_multimap$_map)); + t1 = _this._list_multimap$_keys; + t1.toString; + return t1; + }, + get$length: function(_) { + return J.get$length$asx(this._list_multimap$_map); + }, + set$_list_multimap$_keys: function(_keys) { + this._list_multimap$_keys = this.$ti._eval$1("Iterable<1>?")._as(_keys); + } + }; + R.BuiltListMultimap_BuiltListMultimap_closure.prototype = { + call$1: function(k) { + return this.multimap.$index(0, k); + }, + $signature: 14 + }; + R.BuiltListMultimap_hashCode_closure.prototype = { + call$1: function(key) { + var t2, + t1 = this.$this; + t1.$ti._precomputed1._as(key); + t2 = J.get$hashCode$(key); + t1 = J.get$hashCode$(J.$index$asx(t1._list_multimap$_map, key)); + return A._finish(A._combine(A._combine(0, J.get$hashCode$(t2)), J.get$hashCode$(t1))); + }, + $signature: function() { + return this.$this.$ti._eval$1("int(1)"); + } + }; + R._BuiltListMultimap.prototype = { + _BuiltListMultimap$copy$2: function(keys, lookup, $K, $V) { + var t1, t2, t3, t4, key; + for (t1 = J.get$iterator$ax(keys), t2 = this._list_multimap$_map, t3 = type$.Iterable_dynamic, t4 = J.getInterceptor$ax(t2); t1.moveNext$0();) { + key = t1.get$current(t1); + if ($K._is(key)) + t4.$indexSet(t2, key, D.BuiltList_BuiltList$from(t3._as(lookup.call$1(key)), $V)); + else + throw H.wrapException(P.ArgumentError$("map contained invalid key: " + H.S(key))); + } + } + }; + R.ListMultimapBuilder.prototype = { + get$_list_multimap$_builtMap: function() { + var t1 = this.__ListMultimapBuilder__builtMap; + return t1 === $ ? H.throwExpression(H.LateError$fieldNI("_builtMap")) : t1; + }, + get$_list_multimap$_builderMap: function() { + var t1 = this.__ListMultimapBuilder__builderMap; + return t1 === $ ? H.throwExpression(H.LateError$fieldNI("_builderMap")) : t1; + }, + build$0: function() { + var t1, key, t2, t3, t4, t5, builtList, _this = this, + _s9_ = "_builtMap"; + if (_this._list_multimap$_builtMapOwner == null) { + for (t1 = J.get$iterator$ax(J.get$keys$x(_this.get$_list_multimap$_builderMap())); t1.moveNext$0();) { + key = t1.get$current(t1); + t2 = _this.__ListMultimapBuilder__builderMap; + t2 = J.$index$asx(t2 === $ ? H.throwExpression(H.LateError$fieldNI("_builderMap")) : t2, key); + if (t2._listOwner == null) { + t3 = t2.__ListBuilder__list; + if (t3 === $) + t3 = H.throwExpression(H.LateError$fieldNI("_list")); + t4 = H.instanceType(t2); + t5 = t4._eval$1("_BuiltList<1>"); + t5 = t5._as(new D._BuiltList(t3, t5)); + t2.set$__ListBuilder__list(t4._eval$1("List<1>")._as(t3)); + t2.set$_listOwner(t5); + } + builtList = t2._listOwner; + t2 = J.get$isEmpty$asx(builtList._list); + t3 = _this.__ListMultimapBuilder__builtMap; + if (t2) + J.remove$1$ax(t3 === $ ? H.throwExpression(H.LateError$fieldNI(_s9_)) : t3, key); + else + J.$indexSet$ax(t3 === $ ? H.throwExpression(H.LateError$fieldNI(_s9_)) : t3, key, builtList); + } + t1 = _this.$ti; + t2 = t1._rest[1]; + _this.set$_list_multimap$_builtMapOwner(new R._BuiltListMultimap(_this.get$_list_multimap$_builtMap(), D.BuiltList_BuiltList$from(C.List_empty, t2), t1._eval$1("@<1>")._bind$1(t2)._eval$1("_BuiltListMultimap<1,2>"))); + } + t1 = _this._list_multimap$_builtMapOwner; + t1.toString; + return t1; + }, + replace$1: function(_, multimap) { + this._list_multimap$_setWithCopyAndCheck$2(multimap.get$keys(multimap), new R.ListMultimapBuilder_replace_closure(multimap)); + }, + $index: function(_, key) { + var t1; + this._makeWriteableCopy$0(); + t1 = this.$ti; + return t1._precomputed1._is(key) ? this._list_multimap$_getValuesBuilder$1(key) : D.ListBuilder_ListBuilder(C.List_empty, t1._rest[1]); + }, + _list_multimap$_getValuesBuilder$1: function(key) { + var result, builtValues, _this = this, + t1 = _this.$ti; + t1._precomputed1._as(key); + result = J.$index$asx(_this.get$_list_multimap$_builderMap(), key); + if (result == null) { + builtValues = J.$index$asx(_this.get$_list_multimap$_builtMap(), key); + result = builtValues == null ? D.ListBuilder_ListBuilder(C.List_empty, t1._rest[1]) : D.ListBuilder_ListBuilder(builtValues, builtValues.$ti._precomputed1); + J.$indexSet$ax(_this.get$_list_multimap$_builderMap(), key, result); + } + return result; + }, + _makeWriteableCopy$0: function() { + var t1, _this = this; + if (_this._list_multimap$_builtMapOwner != null) { + t1 = _this.$ti; + _this.set$__ListMultimapBuilder__builtMap(t1._eval$1("Map<1,BuiltList<2>>")._as(P.LinkedHashMap_LinkedHashMap$from(_this.get$_list_multimap$_builtMap(), t1._precomputed1, t1._eval$1("BuiltList<2>")))); + _this.set$_list_multimap$_builtMapOwner(null); + } + }, + _list_multimap$_setWithCopyAndCheck$2: function(keys, lookup) { + var t1, t2, t3, t4, t5, t6, key, t7, value, t8, t9, t10, t11, _this = this; + _this.set$_list_multimap$_builtMapOwner(null); + t1 = _this.$ti; + t2 = t1._precomputed1; + t3 = t1._eval$1("BuiltList<2>"); + t4 = t1._eval$1("Map<1,BuiltList<2>>"); + _this.set$__ListMultimapBuilder__builtMap(t4._as(P.LinkedHashMap_LinkedHashMap$_empty(t2, t3))); + _this.set$__ListMultimapBuilder__builderMap(t1._eval$1("Map<1,ListBuilder<2>>")._as(P.LinkedHashMap_LinkedHashMap$_empty(t2, t1._eval$1("ListBuilder<2>")))); + for (t5 = J.get$iterator$ax(keys), t6 = type$.Iterable_dynamic, t1 = t1._rest[1]; t5.moveNext$0();) { + key = t5.get$current(t5); + if (t2._is(key)) + for (t7 = J.get$iterator$ax(t6._as(lookup.call$1(key))); t7.moveNext$0();) { + value = t7.get$current(t7); + if (t1._is(value)) { + t2._as(key); + t1._as(value); + if (_this._list_multimap$_builtMapOwner != null) { + t8 = _this.__ListMultimapBuilder__builtMap; + _this.set$__ListMultimapBuilder__builtMap(t4._as(P.LinkedHashMap_LinkedHashMap$from(t8 === $ ? H.throwExpression(H.LateError$fieldNI("_builtMap")) : t8, t2, t3))); + _this.set$_list_multimap$_builtMapOwner(null); + } + _this._list_multimap$_checkKey$1(key); + _this._list_multimap$_checkValue$1(value); + t8 = _this._list_multimap$_getValuesBuilder$1(key); + t9 = t8.$ti; + t10 = t9._precomputed1; + t10._as(value); + if (!$.$get$isSoundMode() && !t10._is(null)) + if (value == null) + H.throwExpression(P.ArgumentError$("null element")); + if (t8._listOwner != null) { + t11 = t8.__ListBuilder__list; + t8.set$__ListBuilder__list(t9._eval$1("List<1>")._as(P.List_List$from(t11 === $ ? H.throwExpression(H.LateError$fieldNI("_list")) : t11, true, t10))); + t8.set$_listOwner(null); + } + t8 = t8.__ListBuilder__list; + J.add$1$ax(t8 === $ ? H.throwExpression(H.LateError$fieldNI("_list")) : t8, value); + } else + throw H.wrapException(P.ArgumentError$("map contained invalid value: " + H.S(value) + ", for key " + H.S(key))); + } + else + throw H.wrapException(P.ArgumentError$("map contained invalid key: " + H.S(key))); + } + }, + _list_multimap$_checkKey$1: function(key) { + var t1 = this.$ti._precomputed1; + t1._as(key); + if ($.$get$isSoundMode()) + return; + if (t1._is(null)) + return; + if (key == null) + throw H.wrapException(P.ArgumentError$("null key")); + }, + _list_multimap$_checkValue$1: function(value) { + var t1 = this.$ti._rest[1]; + t1._as(value); + if ($.$get$isSoundMode()) + return; + if (t1._is(null)) + return; + if (value == null) + throw H.wrapException(P.ArgumentError$("null value")); + }, + set$__ListMultimapBuilder__builtMap: function(__ListMultimapBuilder__builtMap) { + this.__ListMultimapBuilder__builtMap = this.$ti._eval$1("Map<1,BuiltList<2>>?")._as(__ListMultimapBuilder__builtMap); + }, + set$_list_multimap$_builtMapOwner: function(_builtMapOwner) { + this._list_multimap$_builtMapOwner = this.$ti._eval$1("_BuiltListMultimap<1,2>?")._as(_builtMapOwner); + }, + set$__ListMultimapBuilder__builderMap: function(__ListMultimapBuilder__builderMap) { + this.__ListMultimapBuilder__builderMap = this.$ti._eval$1("Map<1,ListBuilder<2>>?")._as(__ListMultimapBuilder__builderMap); + } + }; + R.ListMultimapBuilder_replace_closure.prototype = { + call$1: function(k) { + return this.multimap.$index(0, k); + }, + $signature: 14 + }; + A.BuiltMap.prototype = { + rebuild$1: function(updates) { + var t2, + t1 = this.$ti; + t1._eval$1("@(MapBuilder<1,2>)")._as(updates); + t1._eval$1("_BuiltMap<1,2>")._as(this); + t1 = t1._eval$1("@<1>")._bind$1(t1._rest[1]); + t2 = new A.MapBuilder(this._mapFactory, this._map$_map, this, t1._eval$1("MapBuilder<1,2>")); + t1._eval$1("@(MapBuilder<1,2>)")._as(updates).call$1(t2); + return t2.build$0(); + }, + get$hashCode: function(_) { + var _this = this, + t1 = _this._hashCode; + if (t1 == null) { + t1 = J.map$1$1$ax(J.get$keys$x(_this._map$_map), new A.BuiltMap_hashCode_closure(_this), type$.int).toList$1$growable(0, false); + C.JSArray_methods.sort$0(t1); + t1 = _this._hashCode = A.hashObjects(t1); + } + return t1; + }, + $eq: function(_, other) { + var t1, t2, t3, t4, t5, key, _this = this; + if (other == null) + return false; + if (other === _this) + return true; + if (!(other instanceof A.BuiltMap)) + return false; + t1 = other._map$_map; + t2 = J.getInterceptor$asx(t1); + t3 = _this._map$_map; + t4 = J.getInterceptor$asx(t3); + if (t2.get$length(t1) != t4.get$length(t3)) + return false; + if (other.get$hashCode(other) != _this.get$hashCode(_this)) + return false; + for (t5 = J.get$iterator$ax(_this.get$keys(_this)); t5.moveNext$0();) { + key = t5.get$current(t5); + if (!J.$eq$(t2.$index(t1, key), t4.$index(t3, key))) + return false; + } + return true; + }, + toString$0: function(_) { + return J.toString$0$(this._map$_map); + }, + $index: function(_, key) { + return J.$index$asx(this._map$_map, key); + }, + containsKey$1: function(_, key) { + return J.containsKey$1$x(this._map$_map, key); + }, + get$keys: function(_) { + var t1, _this = this; + if (_this._keys == null) + _this.set$_keys(J.get$keys$x(_this._map$_map)); + t1 = _this._keys; + t1.toString; + return t1; + }, + get$length: function(_) { + return J.get$length$asx(this._map$_map); + }, + get$values: function(_) { + var t1, _this = this; + if (_this._values == null) + _this.set$_values(J.get$values$x(_this._map$_map)); + t1 = _this._values; + t1.toString; + return t1; + }, + map$2$1: function(_, f, K2, V2) { + return new A._BuiltMap(null, J.map$2$1$ax(this._map$_map, this.$ti._bind$1(K2)._bind$1(V2)._eval$1("MapEntry<1,2>(3,4)")._as(f), K2, V2), K2._eval$1("@<0>")._bind$1(V2)._eval$1("_BuiltMap<1,2>")); + }, + map$1: function($receiver, f) { + return this.map$2$1($receiver, f, type$.dynamic, type$.dynamic); + }, + set$_keys: function(_keys) { + this._keys = this.$ti._eval$1("Iterable<1>?")._as(_keys); + }, + set$_values: function(_values) { + this._values = this.$ti._eval$1("Iterable<2>?")._as(_values); + } + }; + A.BuiltMap_BuiltMap_closure.prototype = { + call$1: function(k) { + return this.map.$index(0, k); + }, + $signature: 14 + }; + A.BuiltMap_BuiltMap$from_closure.prototype = { + call$1: function(k) { + return J.$index$asx(this.map._copy_on_write_map$_map, k); + }, + $signature: 14 + }; + A.BuiltMap_BuiltMap$of_closure.prototype = { + call$1: function(k) { + return J.$index$asx(this.map, this.K._as(k)); + }, + $signature: function() { + return this.V._eval$1("@<0>")._bind$1(this.K)._eval$1("1(2)"); + } + }; + A.BuiltMap_hashCode_closure.prototype = { + call$1: function(key) { + var t2, + t1 = this.$this; + t1.$ti._precomputed1._as(key); + t2 = J.get$hashCode$(key); + t1 = J.get$hashCode$(J.$index$asx(t1._map$_map, key)); + return A._finish(A._combine(A._combine(0, J.get$hashCode$(t2)), J.get$hashCode$(t1))); + }, + $signature: function() { + return this.$this.$ti._eval$1("int(1)"); + } + }; + A._BuiltMap.prototype = { + _BuiltMap$copyAndCheckTypes$2: function(keys, lookup, $K, $V) { + var t1, t2, t3, key, value; + for (t1 = J.get$iterator$ax(keys), t2 = this._map$_map, t3 = J.getInterceptor$ax(t2); t1.moveNext$0();) { + key = t1.get$current(t1); + if ($K._is(key)) { + value = lookup.call$1(key); + if ($V._is(value)) + t3.$indexSet(t2, key, value); + else + throw H.wrapException(P.ArgumentError$("map contained invalid value: " + H.S(value))); + } else + throw H.wrapException(P.ArgumentError$("map contained invalid key: " + H.S(key))); + } + }, + _BuiltMap$copyAndCheckForNull$2: function(keys, lookup, $K, $V) { + var t2, t3, key, value, + t1 = !$.$get$isSoundMode(), + checkKeys = t1 && !$K._is(null), + checkValues = t1 && !$V._is(null); + for (t1 = J.get$iterator$ax(keys), t2 = this._map$_map, t3 = J.getInterceptor$ax(t2); t1.moveNext$0();) { + key = t1.get$current(t1); + if (checkKeys && key == null) + throw H.wrapException(P.ArgumentError$("map contained invalid key: null")); + value = lookup.call$1(key); + if (checkValues && value == null) + throw H.wrapException(P.ArgumentError$("map contained invalid value: null")); + t3.$indexSet(t2, key, value); + } + } + }; + A.MapBuilder.prototype = { + get$_map$_map: function() { + var t1 = this.__MapBuilder__map; + return t1 === $ ? H.throwExpression(H.LateError$fieldNI("_map")) : t1; + }, + build$0: function() { + var t1, _this = this; + if (_this._mapOwner == null) { + t1 = _this.$ti; + _this.set$_mapOwner(new A._BuiltMap(_this._mapFactory, _this.get$_map$_map(), t1._eval$1("@<1>")._bind$1(t1._rest[1])._eval$1("_BuiltMap<1,2>"))); + } + t1 = _this._mapOwner; + t1.toString; + return t1; + }, + replace$1: function(_, map) { + var replacement, _this = this, + t1 = _this.$ti, + t2 = t1._eval$1("_BuiltMap<1,2>"); + if (t2._is(map) && true) { + t2._as(map); + _this.set$_mapOwner(map); + _this.set$__MapBuilder__map(t1._eval$1("Map<1,2>")._as(map._map$_map)); + } else if (map instanceof A.BuiltMap) { + replacement = _this._createMap$0(); + t2 = map.$ti._eval$1("~(1,2)")._as(new A.MapBuilder_replace_closure(_this, replacement)); + J.forEach$1$ax(map._map$_map, t2); + t1._eval$1("Map<1,2>")._as(replacement); + _this.set$_mapOwner(null); + _this.set$__MapBuilder__map(replacement); + } else if (type$.Map_dynamic_dynamic._is(map)) { + replacement = _this._createMap$0(); + J.forEach$1$ax(map, new A.MapBuilder_replace_closure0(_this, replacement)); + t1._eval$1("Map<1,2>")._as(replacement); + _this.set$_mapOwner(null); + _this.set$__MapBuilder__map(replacement); + } else + throw H.wrapException(P.ArgumentError$("expected Map or BuiltMap, got " + J.get$runtimeType$(map).toString$0(0))); + }, + $index: function(_, key) { + return J.$index$asx(this.get$_map$_map(), key); + }, + $indexSet: function(_, key, value) { + var _this = this, + t1 = _this.$ti; + t1._precomputed1._as(key); + t1._rest[1]._as(value); + _this._checkKey$1(key); + _this._checkValue$1(value); + J.$indexSet$ax(_this.get$_safeMap(), key, value); + }, + get$length: function(_) { + return J.get$length$asx(this.get$_map$_map()); + }, + get$_safeMap: function() { + var t1, _this = this; + if (_this._mapOwner != null) { + t1 = _this._createMap$0(); + t1.addAll$1(0, _this.get$_map$_map()); + _this.set$__MapBuilder__map(_this.$ti._eval$1("Map<1,2>")._as(t1)); + _this.set$_mapOwner(null); + } + return _this.get$_map$_map(); + }, + _createMap$0: function() { + var t1 = this.$ti; + return P.LinkedHashMap_LinkedHashMap$_empty(t1._precomputed1, t1._rest[1]); + }, + _checkKey$1: function(key) { + var t1 = this.$ti._precomputed1; + t1._as(key); + if ($.$get$isSoundMode()) + return; + if (t1._is(null)) + return; + if (key == null) + throw H.wrapException(P.ArgumentError$("null key")); + }, + _checkValue$1: function(value) { + var t1 = this.$ti._rest[1]; + t1._as(value); + if ($.$get$isSoundMode()) + return; + if (t1._is(null)) + return; + if (value == null) + throw H.wrapException(P.ArgumentError$("null value")); + }, + set$__MapBuilder__map: function(__MapBuilder__map) { + this.__MapBuilder__map = this.$ti._eval$1("Map<1,2>?")._as(__MapBuilder__map); + }, + set$_mapOwner: function(_mapOwner) { + this._mapOwner = this.$ti._eval$1("_BuiltMap<1,2>?")._as(_mapOwner); + } + }; + A.MapBuilder_replace_closure.prototype = { + call$2: function(key, value) { + var t1 = this.$this.$ti; + this.replacement.$indexSet(0, t1._precomputed1._as(key), t1._rest[1]._as(value)); + }, + $signature: 45 + }; + A.MapBuilder_replace_closure0.prototype = { + call$2: function(key, value) { + var t1 = this.$this.$ti; + this.replacement.$indexSet(0, t1._precomputed1._as(key), t1._rest[1]._as(value)); + }, + $signature: 45 + }; + X.BuiltSet.prototype = { + rebuild$1: function(updates) { + var t1 = this.$ti; + t1._eval$1("@(SetBuilder<1>)")._as(updates); + t1._eval$1("_BuiltSet<1>")._as(this); + t1 = new X.SetBuilder(this._setFactory, this._set, this, t1._eval$1("SetBuilder<1>")); + updates.call$1(t1); + return t1.build$0(); + }, + get$hashCode: function(_) { + var _this = this, + t1 = _this._set$_hashCode; + if (t1 == null) { + t1 = _this._set.map$1$1(0, new X.BuiltSet_hashCode_closure(_this), type$.int); + t1 = P.List_List$of(t1, false, H._instanceType(t1)._eval$1("Iterable.E")); + C.JSArray_methods.sort$0(t1); + t1 = _this._set$_hashCode = A.hashObjects(t1); + } + return t1; + }, + $eq: function(_, other) { + var t1, t2, _this = this; + if (other == null) + return false; + if (other === _this) + return true; + if (!(other instanceof X.BuiltSet)) + return false; + t1 = other._set; + t2 = _this._set; + if (t1.get$length(t1) != t2.get$length(t2)) + return false; + if (other.get$hashCode(other) != _this.get$hashCode(_this)) + return false; + return t2.containsAll$1(other); + }, + toString$0: function(_) { + return J.toString$0$(this._set); + }, + get$length: function(_) { + var t1 = this._set; + return t1.get$length(t1); + }, + union$1: function(other) { + var t1 = this.$ti; + return new X._BuiltSet(this._setFactory, this._set.union$1(t1._eval$1("BuiltSet<1>")._as(other)._set), t1._eval$1("_BuiltSet<1>")); + }, + get$iterator: function(_) { + var t1 = this._set; + return t1.get$iterator(t1); + }, + cast$1$0: function(_, $T) { + return H.CastIterable_CastIterable(this._set, this.$ti._precomputed1, $T); + }, + map$1$1: function(_, f, $T) { + return this._set.map$1$1(0, this.$ti._bind$1($T)._eval$1("1(2)")._as(f), $T); + }, + map$1: function($receiver, f) { + return this.map$1$1($receiver, f, type$.dynamic); + }, + where$1: function(_, test) { + return this._set.where$1(0, this.$ti._eval$1("bool(1)")._as(test)); + }, + expand$1$1: function(_, f, $T) { + return this._set.expand$1$1(0, this.$ti._bind$1($T)._eval$1("Iterable<1>(2)")._as(f), $T); + }, + contains$1: function(_, element) { + return this._set.contains$1(0, element); + }, + forEach$1: function(_, f) { + return this._set.forEach$1(0, this.$ti._eval$1("~(1)")._as(f)); + }, + every$1: function(_, test) { + return this._set.every$1(0, this.$ti._eval$1("bool(1)")._as(test)); + }, + join$1: function(_, separator) { + return this._set.join$1(0, separator); + }, + toSet$0: function(_) { + return new A.CopyOnWriteSet(this._setFactory, this._set, this.$ti._eval$1("CopyOnWriteSet<1>")); + }, + toList$1$growable: function(_, growable) { + return this._set.toList$1$growable(0, growable); + }, + toList$0: function($receiver) { + return this.toList$1$growable($receiver, true); + }, + get$isEmpty: function(_) { + var t1 = this._set; + return t1.get$isEmpty(t1); + }, + get$isNotEmpty: function(_) { + var t1 = this._set; + return t1.get$isNotEmpty(t1); + }, + take$1: function(_, n) { + return this._set.take$1(0, n); + }, + skip$1: function(_, n) { + return this._set.skip$1(0, n); + }, + get$first: function(_) { + var t1 = this._set; + return t1.get$first(t1); + }, + get$last: function(_) { + var t1 = this._set; + return t1.get$last(t1); + }, + get$single: function(_) { + var t1 = this._set; + return t1.get$single(t1); + }, + elementAt$1: function(_, index) { + return this._set.elementAt$1(0, index); + }, + $isIterable: 1, + $isBuiltIterable: 1 + }; + X.BuiltSet_hashCode_closure.prototype = { + call$1: function(e) { + return J.get$hashCode$(this.$this.$ti._precomputed1._as(e)); + }, + $signature: function() { + return this.$this.$ti._eval$1("int(1)"); + } + }; + X._BuiltSet.prototype = { + _set$_maybeCheckForNull$0: function() { + if (!(!$.$get$isSoundMode() && !this.$ti._precomputed1._is(null))) + return; + for (var t1 = this._set, t1 = t1.get$iterator(t1); t1.moveNext$0();) + if (t1.get$current(t1) == null) + throw H.wrapException(P.ArgumentError$("iterable contained invalid element: null")); + } + }; + X.SetBuilder.prototype = { + get$_set: function() { + var t1 = this.__SetBuilder__set; + return t1 === $ ? H.throwExpression(H.LateError$fieldNI("_set")) : t1; + }, + build$0: function() { + var t1, _this = this; + if (_this._setOwner == null) + _this.set$_setOwner(new X._BuiltSet(_this._setFactory, _this.get$_set(), _this.$ti._eval$1("_BuiltSet<1>"))); + t1 = _this._setOwner; + t1.toString; + return t1; + }, + replace$1: function(_, iterable) { + var set, t3, element, _this = this, + t1 = _this.$ti, + t2 = t1._eval$1("_BuiltSet<1>"); + if (t2._is(iterable) && true) { + t2._as(iterable); + _this.set$__SetBuilder__set(t1._eval$1("Set<1>")._as(iterable._set)); + _this.set$_setOwner(iterable); + } else { + set = _this._createSet$0(); + for (t2 = J.get$iterator$ax(iterable), t3 = t1._precomputed1; t2.moveNext$0();) { + element = t2.get$current(t2); + if (t3._is(element)) + set.add$1(0, element); + else + throw H.wrapException(P.ArgumentError$("iterable contained invalid element: " + H.S(element))); + } + t1._eval$1("Set<1>")._as(set); + _this.set$_setOwner(null); + _this.set$__SetBuilder__set(set); + } + }, + get$length: function(_) { + var t1 = this.get$_set(); + return t1.get$length(t1); + }, + add$1: function(_, value) { + var t1 = this.$ti._precomputed1; + t1._as(value); + if (!$.$get$isSoundMode() && !t1._is(null)) + if (value == null) + H.throwExpression(P.ArgumentError$("null element")); + return this.get$_safeSet().add$1(0, value); + }, + addAll$1: function(_, iterable) { + var t1 = this.$ti; + iterable = E.evaluateIterable(t1._eval$1("Iterable<1>")._as(iterable), t1._precomputed1); + this._maybeCheckElements$1(iterable); + this.get$_safeSet().addAll$1(0, iterable); + }, + map$1: function(_, f) { + var result, _this = this, + t1 = _this.$ti; + t1._eval$1("1(1)")._as(f); + result = _this._createSet$0(); + result.addAll$1(0, _this.get$_set().map$1$1(0, f, t1._precomputed1)); + _this._maybeCheckElements$1(result); + t1._eval$1("Set<1>")._as(result); + _this.set$_setOwner(null); + _this.set$__SetBuilder__set(result); + }, + get$_safeSet: function() { + var t1, _this = this; + if (_this._setOwner != null) { + t1 = _this._createSet$0(); + t1.addAll$1(0, _this.get$_set()); + _this.set$__SetBuilder__set(_this.$ti._eval$1("Set<1>")._as(t1)); + _this.set$_setOwner(null); + } + return _this.get$_set(); + }, + _createSet$0: function() { + return P.LinkedHashSet_LinkedHashSet$_empty(this.$ti._precomputed1); + }, + _maybeCheckElements$1: function(elements) { + var t2, + t1 = this.$ti; + t1._eval$1("Iterable<1>")._as(elements); + if (!(!$.$get$isSoundMode() && !t1._precomputed1._is(null))) + return; + for (t2 = J.get$iterator$ax(elements), t1 = t1._precomputed1; t2.moveNext$0();) + if (t1._as(t2.get$current(t2)) == null) + H.throwExpression(P.ArgumentError$("null element")); + }, + set$__SetBuilder__set: function(__SetBuilder__set) { + this.__SetBuilder__set = this.$ti._eval$1("Set<1>?")._as(__SetBuilder__set); + }, + set$_setOwner: function(_setOwner) { + this._setOwner = this.$ti._eval$1("_BuiltSet<1>?")._as(_setOwner); + } + }; + M.BuiltSetMultimap.prototype = { + get$hashCode: function(_) { + var _this = this, + t1 = _this._set_multimap$_hashCode; + if (t1 == null) { + t1 = J.map$1$1$ax(J.get$keys$x(_this._set_multimap$_map), new M.BuiltSetMultimap_hashCode_closure(_this), type$.int).toList$1$growable(0, false); + C.JSArray_methods.sort$0(t1); + t1 = _this._set_multimap$_hashCode = A.hashObjects(t1); + } + return t1; + }, + $eq: function(_, other) { + var t1, t2, t3, t4, t5, t6, t7, key, result, t8, _this = this; + if (other == null) + return false; + if (other === _this) + return true; + if (!(other instanceof M.BuiltSetMultimap)) + return false; + t1 = other._set_multimap$_map; + t2 = J.getInterceptor$asx(t1); + t3 = _this._set_multimap$_map; + t4 = J.getInterceptor$asx(t3); + if (t2.get$length(t1) != t4.get$length(t3)) + return false; + if (other.get$hashCode(other) != _this.get$hashCode(_this)) + return false; + for (t5 = J.get$iterator$ax(_this.get$keys(_this)), t6 = other._emptySet, t7 = _this._emptySet; t5.moveNext$0();) { + key = t5.get$current(t5); + result = t2.$index(t1, key); + t8 = result == null ? t6 : result; + result = t4.$index(t3, key); + if (!t8.$eq(0, result == null ? t7 : result)) + return false; + } + return true; + }, + toString$0: function(_) { + return J.toString$0$(this._set_multimap$_map); + }, + $index: function(_, key) { + var result = J.$index$asx(this._set_multimap$_map, key); + return result == null ? this._emptySet : result; + }, + containsKey$1: function(_, key) { + return J.containsKey$1$x(this._set_multimap$_map, key); + }, + get$keys: function(_) { + var t1, _this = this; + if (_this._set_multimap$_keys == null) + _this.set$_set_multimap$_keys(J.get$keys$x(_this._set_multimap$_map)); + t1 = _this._set_multimap$_keys; + t1.toString; + return t1; + }, + get$length: function(_) { + return J.get$length$asx(this._set_multimap$_map); + }, + set$_set_multimap$_keys: function(_keys) { + this._set_multimap$_keys = this.$ti._eval$1("Iterable<1>?")._as(_keys); + } + }; + M.BuiltSetMultimap_hashCode_closure.prototype = { + call$1: function(key) { + var t2, + t1 = this.$this; + t1.$ti._precomputed1._as(key); + t2 = J.get$hashCode$(key); + t1 = J.get$hashCode$(J.$index$asx(t1._set_multimap$_map, key)); + return A._finish(A._combine(A._combine(0, J.get$hashCode$(t2)), J.get$hashCode$(t1))); + }, + $signature: function() { + return this.$this.$ti._eval$1("int(1)"); + } + }; + M._BuiltSetMultimap.prototype = {}; + M.SetMultimapBuilder.prototype = { + get$_builtMap: function() { + var t1 = this.__SetMultimapBuilder__builtMap; + return t1 === $ ? H.throwExpression(H.LateError$fieldNI("_builtMap")) : t1; + }, + get$_builderMap: function() { + var t1 = this.__SetMultimapBuilder__builderMap; + return t1 === $ ? H.throwExpression(H.LateError$fieldNI("_builderMap")) : t1; + }, + build$0: function() { + var t1, key, t2, t3, t4, builtSet, _this = this, + _s9_ = "_builtMap"; + if (_this._builtMapOwner == null) { + for (t1 = J.get$iterator$ax(J.get$keys$x(_this.get$_builderMap())); t1.moveNext$0();) { + key = t1.get$current(t1); + t2 = _this.__SetMultimapBuilder__builderMap; + t2 = J.$index$asx(t2 === $ ? H.throwExpression(H.LateError$fieldNI("_builderMap")) : t2, key); + if (t2._setOwner == null) { + t3 = t2._setFactory; + t4 = t2.__SetBuilder__set; + if (t4 === $) + t4 = H.throwExpression(H.LateError$fieldNI("_set")); + t2.set$_setOwner(new X._BuiltSet(t3, t4, H.instanceType(t2)._eval$1("_BuiltSet<1>"))); + } + builtSet = t2._setOwner; + t2 = builtSet._set; + t2 = t2.get$isEmpty(t2); + t3 = _this.__SetMultimapBuilder__builtMap; + if (t2) + J.remove$1$ax(t3 === $ ? H.throwExpression(H.LateError$fieldNI(_s9_)) : t3, key); + else + J.$indexSet$ax(t3 === $ ? H.throwExpression(H.LateError$fieldNI(_s9_)) : t3, key, builtSet); + } + t1 = _this.$ti; + t2 = t1._rest[1]; + _this.set$_builtMapOwner(new M._BuiltSetMultimap(_this.get$_builtMap(), X.BuiltSet_BuiltSet$from(C.List_empty, t2), t1._eval$1("@<1>")._bind$1(t2)._eval$1("_BuiltSetMultimap<1,2>"))); + } + t1 = _this._builtMapOwner; + t1.toString; + return t1; + }, + replace$1: function(_, multimap) { + this._setWithCopyAndCheck$2(multimap.get$keys(multimap), new M.SetMultimapBuilder_replace_closure(multimap)); + }, + _getValuesBuilder$1: function(key) { + var result, builtValues, _this = this, + t1 = _this.$ti; + t1._precomputed1._as(key); + result = J.$index$asx(_this.get$_builderMap(), key); + if (result == null) { + builtValues = J.$index$asx(_this.get$_builtMap(), key); + if (builtValues == null) + result = X.SetBuilder_SetBuilder(C.List_empty, t1._rest[1]); + else { + t1 = builtValues.$ti; + t1._eval$1("_BuiltSet<1>")._as(builtValues); + result = new X.SetBuilder(builtValues._setFactory, builtValues._set, builtValues, t1._eval$1("SetBuilder<1>")); + } + J.$indexSet$ax(_this.get$_builderMap(), key, result); + } + return result; + }, + _setWithCopyAndCheck$2: function(keys, lookup) { + var t1, t2, t3, t4, t5, t6, key, t7, value, t8, t9, _this = this; + _this.set$_builtMapOwner(null); + t1 = _this.$ti; + t2 = t1._precomputed1; + t3 = t1._eval$1("BuiltSet<2>"); + t4 = t1._eval$1("Map<1,BuiltSet<2>>"); + _this.set$__SetMultimapBuilder__builtMap(t4._as(P.LinkedHashMap_LinkedHashMap$_empty(t2, t3))); + _this.set$__SetMultimapBuilder__builderMap(t1._eval$1("Map<1,SetBuilder<2>>")._as(P.LinkedHashMap_LinkedHashMap$_empty(t2, t1._eval$1("SetBuilder<2>")))); + for (t5 = J.get$iterator$ax(keys), t6 = type$.Iterable_dynamic, t1 = t1._rest[1]; t5.moveNext$0();) { + key = t5.get$current(t5); + if (t2._is(key)) + for (t7 = J.get$iterator$ax(t6._as(lookup.call$1(key))); t7.moveNext$0();) { + value = t7.get$current(t7); + if (t1._is(value)) { + t2._as(key); + t1._as(value); + if (_this._builtMapOwner != null) { + t8 = _this.__SetMultimapBuilder__builtMap; + _this.set$__SetMultimapBuilder__builtMap(t4._as(P.LinkedHashMap_LinkedHashMap$from(t8 === $ ? H.throwExpression(H.LateError$fieldNI("_builtMap")) : t8, t2, t3))); + _this.set$_builtMapOwner(null); + } + _this._set_multimap$_checkKey$1(key); + _this._set_multimap$_checkValue$1(value); + t8 = _this._getValuesBuilder$1(key); + t9 = t8.$ti._precomputed1; + t9._as(value); + if (!$.$get$isSoundMode() && !t9._is(null)) + if (value == null) + H.throwExpression(P.ArgumentError$("null element")); + t8.get$_safeSet().add$1(0, value); + } else + throw H.wrapException(P.ArgumentError$("map contained invalid value: " + H.S(value) + ", for key " + H.S(key))); + } + else + throw H.wrapException(P.ArgumentError$("map contained invalid key: " + H.S(key))); + } + }, + _set_multimap$_checkKey$1: function(key) { + var t1 = this.$ti._precomputed1; + t1._as(key); + if ($.$get$isSoundMode()) + return; + if (t1._is(null)) + return; + if (key == null) + throw H.wrapException(P.ArgumentError$("invalid key: " + H.S(key))); + }, + _set_multimap$_checkValue$1: function(value) { + var t1 = this.$ti._rest[1]; + t1._as(value); + if ($.$get$isSoundMode()) + return; + if (t1._is(null)) + return; + if (value == null) + throw H.wrapException(P.ArgumentError$("invalid value: " + H.S(value))); + }, + set$__SetMultimapBuilder__builtMap: function(__SetMultimapBuilder__builtMap) { + this.__SetMultimapBuilder__builtMap = this.$ti._eval$1("Map<1,BuiltSet<2>>?")._as(__SetMultimapBuilder__builtMap); + }, + set$_builtMapOwner: function(_builtMapOwner) { + this._builtMapOwner = this.$ti._eval$1("_BuiltSetMultimap<1,2>?")._as(_builtMapOwner); + }, + set$__SetMultimapBuilder__builderMap: function(__SetMultimapBuilder__builderMap) { + this.__SetMultimapBuilder__builderMap = this.$ti._eval$1("Map<1,SetBuilder<2>>?")._as(__SetMultimapBuilder__builderMap); + } + }; + M.SetMultimapBuilder_replace_closure.prototype = { + call$1: function(k) { + return this.multimap.$index(0, k); + }, + $signature: 14 + }; + Y.EnumClass.prototype = { + toString$0: function(_) { + return this.name; + } + }; + Y.newBuiltValueToStringHelper_closure.prototype = { + call$1: function(className) { + var t1 = new P.StringBuffer(""), + t2 = t1._contents += H.S(H._asStringS(className)); + t1._contents = t2 + " {\n"; + $._indentingBuiltValueToStringHelperIndent = $._indentingBuiltValueToStringHelperIndent + 2; + return new Y.IndentingBuiltValueToStringHelper(t1); + }, + $signature: 237 + }; + Y.IndentingBuiltValueToStringHelper.prototype = { + add$2: function(_, field, value) { + var t1, t2; + if (value != null) { + t1 = this._result; + t1.toString; + t2 = t1._contents += C.JSString_methods.$mul(" ", $._indentingBuiltValueToStringHelperIndent); + t2 += field; + t1._contents = t2; + t1._contents = t2 + "="; + t2 = t1._contents += H.S(value); + t1._contents = t2 + ",\n"; + } + }, + toString$0: function(_) { + var t2, stringResult, + t1 = $._indentingBuiltValueToStringHelperIndent - 2; + $._indentingBuiltValueToStringHelperIndent = t1; + t2 = this._result; + t2.toString; + t1 = t2._contents += C.JSString_methods.$mul(" ", t1); + t2._contents = t1 + "}"; + stringResult = J.toString$0$(this._result); + this._result = null; + return stringResult; + } + }; + Y.BuiltValueNullFieldError.prototype = { + toString$0: function(_) { + return 'Tried to construct class "' + this.type + '" with null for non-nullable field "' + this.field + '".'; + } + }; + Y.BuiltValueNestedFieldError.prototype = { + toString$0: function(_) { + return 'Tried to build class "' + this.type + '" but nested builder for field "' + H.S(this.field) + '" threw: ' + H.S(this.error); + } + }; + A.JsonObject.prototype = { + toString$0: function(_) { + return J.toString$0$(this.get$value(this)); + } + }; + A.BoolJsonObject.prototype = { + $eq: function(_, other) { + if (other == null) + return false; + if (other === this) + return true; + if (!(other instanceof A.BoolJsonObject)) + return false; + return this.value === other.value; + }, + get$hashCode: function(_) { + return C.JSBool_methods.get$hashCode(this.value); + }, + get$value: function(receiver) { + return this.value; + } + }; + A.ListJsonObject.prototype = { + $eq: function(_, other) { + if (other == null) + return false; + if (other === this) + return true; + if (!(other instanceof A.ListJsonObject)) + return false; + return C.C_DeepCollectionEquality.equals$2(this.value, other.value); + }, + get$hashCode: function(_) { + return C.C_DeepCollectionEquality.hash$1(0, this.value); + }, + get$value: function(receiver) { + return this.value; + } + }; + A.MapJsonObject.prototype = { + $eq: function(_, other) { + if (other == null) + return false; + if (other === this) + return true; + if (!(other instanceof A.MapJsonObject)) + return false; + return C.C_DeepCollectionEquality.equals$2(this.value, other.value); + }, + get$hashCode: function(_) { + return C.C_DeepCollectionEquality.hash$1(0, this.value); + }, + get$value: function(receiver) { + return this.value; + } + }; + A.NumJsonObject.prototype = { + $eq: function(_, other) { + if (other == null) + return false; + if (other === this) + return true; + if (!(other instanceof A.NumJsonObject)) + return false; + return this.value === other.value; + }, + get$hashCode: function(_) { + return C.JSNumber_methods.get$hashCode(this.value); + }, + get$value: function(receiver) { + return this.value; + } + }; + A.StringJsonObject.prototype = { + $eq: function(_, other) { + if (other == null) + return false; + if (other === this) + return true; + if (!(other instanceof A.StringJsonObject)) + return false; + return this.value === other.value; + }, + get$hashCode: function(_) { + return C.JSString_methods.get$hashCode(this.value); + }, + get$value: function(receiver) { + return this.value; + } + }; + U.Serializers_Serializers_closure.prototype = { + call$0: function() { + return D.ListBuilder_ListBuilder(C.List_empty, type$.Object); + }, + "call*": "call$0", + $requiredArgCount: 0, + $signature: 239 + }; + U.Serializers_Serializers_closure0.prototype = { + call$0: function() { + var t1 = type$.Object; + return R.ListMultimapBuilder_ListMultimapBuilder(t1, t1); + }, + "call*": "call$0", + $requiredArgCount: 0, + $signature: 242 + }; + U.Serializers_Serializers_closure1.prototype = { + call$0: function() { + var t1 = type$.Object; + return A.MapBuilder_MapBuilder(C.Map_empty, t1, t1); + }, + "call*": "call$0", + $requiredArgCount: 0, + $signature: 244 + }; + U.Serializers_Serializers_closure2.prototype = { + call$0: function() { + return X.SetBuilder_SetBuilder(C.List_empty, type$.Object); + }, + "call*": "call$0", + $requiredArgCount: 0, + $signature: 245 + }; + U.Serializers_Serializers_closure3.prototype = { + call$0: function() { + var t1 = type$.Object; + return M.SetMultimapBuilder_SetMultimapBuilder(t1, t1); + }, + "call*": "call$0", + $requiredArgCount: 0, + $signature: 247 + }; + U.FullType.prototype = { + $eq: function(_, other) { + var t1, t2, t3, t4, i, t5, _this = this; + if (other == null) + return false; + if (other === _this) + return true; + if (!(other instanceof U.FullType)) + return false; + if (_this.root != other.root) + return false; + if (_this.nullable !== other.nullable) + return false; + t1 = _this.parameters; + t2 = t1.length; + t3 = other.parameters; + t4 = t3.length; + if (t2 !== t4) + return false; + for (i = 0; i !== t2; ++i) { + if (i >= t2) + return H.ioore(t1, i); + t5 = t1[i]; + if (i >= t4) + return H.ioore(t3, i); + if (!t5.$eq(0, t3[i])) + return false; + } + return true; + }, + get$hashCode: function(_) { + var t1 = A.hashObjects(this.parameters); + t1 = A._finish(A._combine(A._combine(0, J.get$hashCode$(this.root)), C.JSInt_methods.get$hashCode(t1))); + return t1 ^ (this.nullable ? 1768878041 : 0); + }, + toString$0: function(_) { + var t2, + t1 = this.root; + if (t1 == null) + t1 = "unspecified"; + else { + t2 = this.parameters; + t1 = t2.length === 0 ? U.FullType__getRawName(t1) : U.FullType__getRawName(t1) + "<" + C.JSArray_methods.join$1(t2, ", ") + ">"; + t1 += this.nullable ? "?" : ""; + } + return t1; + } + }; + U.DeserializationError.prototype = { + toString$0: function(_) { + return "Deserializing to '" + this.type.toString$0(0) + "' failed due to: " + this.error.toString$0(0); + } + }; + O.BigIntSerializer.prototype = { + serialize$3$specifiedType: function(serializers, bigInt, specifiedType) { + return type$.BigInt._as(bigInt).toString$0(0); + }, + serialize$2: function(serializers, bigInt) { + return this.serialize$3$specifiedType(serializers, bigInt, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + var result; + H._asStringS(serialized); + result = P._BigIntImpl__tryParse(serialized, null); + if (result == null) + H.throwExpression(P.FormatException$("Could not parse BigInt", serialized, null)); + return result; + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isPrimitiveSerializer: 1, + get$types: function(receiver) { + return this.types; + }, + get$wireName: function() { + return "BigInt"; + } + }; + R.BoolSerializer.prototype = { + serialize$3$specifiedType: function(serializers, boolean, specifiedType) { + return H._asBoolS(boolean); + }, + serialize$2: function(serializers, boolean) { + return this.serialize$3$specifiedType(serializers, boolean, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + return H._asBoolS(serialized); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isPrimitiveSerializer: 1, + get$types: function(receiver) { + return this.types; + }, + get$wireName: function() { + return "bool"; + } + }; + Y.BuiltJsonSerializers.prototype = { + serialize$2$specifiedType: function(object, specifiedType) { + var t1, t2, t3, t4, result; + for (t1 = this.serializerPlugins._list, t2 = J.getInterceptor$ax(t1), t3 = t2.get$iterator(t1), t4 = specifiedType.root; t3.moveNext$0();) { + t3.get$current(t3).toString; + if ($.$get$StandardJsonPlugin__unsupportedTypes()._set.contains$1(0, t4)) + H.throwExpression(P.ArgumentError$("Standard JSON cannot serialize type " + H.S(t4) + ".")); + } + result = this._serialize$2(object, specifiedType); + for (t1 = t2.get$iterator(t1); t1.moveNext$0();) + result = t1.get$current(t1).afterSerialize$2(result, specifiedType); + return result; + }, + serialize$1: function(object) { + return this.serialize$2$specifiedType(object, C.FullType_null_List_empty_false); + }, + _serialize$2: function(object, specifiedType) { + var serializer, result, _this = this, + _s62_ = string$.serial, + t1 = specifiedType.root; + if (t1 == null) { + t1 = J.getInterceptor$(object); + serializer = _this.serializerForType$1(t1.get$runtimeType(object)); + if (serializer == null) + throw H.wrapException(P.StateError$(Y._noSerializerMessageFor(t1.get$runtimeType(object).toString$0(0)))); + if (type$.StructuredSerializer_dynamic._is(serializer)) { + result = [serializer.get$wireName()]; + C.JSArray_methods.addAll$1(result, serializer.serialize$2(_this, object)); + return result; + } else if (type$.PrimitiveSerializer_dynamic._is(serializer)) + return object == null ? [serializer.get$wireName(), null] : H.setRuntimeTypeInfo([serializer.get$wireName(), serializer.serialize$2(_this, object)], type$.JSArray_Object); + else + throw H.wrapException(P.StateError$(_s62_)); + } else { + serializer = _this.serializerForType$1(t1); + if (serializer == null) + return _this.serialize$1(object); + if (type$.StructuredSerializer_dynamic._is(serializer)) + return object == null ? null : J.toList$0$ax(serializer.serialize$3$specifiedType(_this, object, specifiedType)); + else if (type$.PrimitiveSerializer_dynamic._is(serializer)) + return object == null ? null : serializer.serialize$3$specifiedType(_this, object, specifiedType); + else + throw H.wrapException(P.StateError$(_s62_)); + } + }, + deserialize$2$specifiedType: function(object, specifiedType) { + var t1, t2, t3, transformedObject, result; + for (t1 = this.serializerPlugins._list, t2 = J.getInterceptor$ax(t1), t3 = t2.get$iterator(t1), transformedObject = object; t3.moveNext$0();) + transformedObject = t3.get$current(t3).beforeDeserialize$2(transformedObject, specifiedType); + result = this._deserialize$3(object, transformedObject, specifiedType); + for (t1 = t2.get$iterator(t1); t1.moveNext$0();) + t1.get$current(t1).toString; + return result; + }, + deserialize$1: function(object) { + return this.deserialize$2$specifiedType(object, C.FullType_null_List_empty_false); + }, + _deserialize$3: function(objectBeforePlugins, object, specifiedType) { + var serializer, error, primitive, error0, serializer0, error1, error2, wireName, exception, _this = this, + _s62_ = string$.serial, + t1 = specifiedType.root; + if (t1 == null) { + type$.List_nullable_Object._as(object); + t1 = J.getInterceptor$ax(object); + wireName = H._asStringS(t1.get$first(object)); + serializer = J.$index$asx(_this._wireNameToSerializer._map$_map, wireName); + if (serializer == null) + throw H.wrapException(P.StateError$(Y._noSerializerMessageFor(wireName))); + if (type$.StructuredSerializer_dynamic._is(serializer)) + try { + t1 = serializer.deserialize$2(_this, t1.sublist$1(object, 1)); + return t1; + } catch (exception) { + t1 = H.unwrapException(exception); + if (type$.Error._is(t1)) { + error = t1; + throw H.wrapException(U.DeserializationError_DeserializationError(object, specifiedType, error)); + } else + throw exception; + } + else if (type$.PrimitiveSerializer_dynamic._is(serializer)) + try { + primitive = t1.$index(object, 1); + t1 = primitive == null ? null : serializer.deserialize$2(_this, primitive); + return t1; + } catch (exception) { + t1 = H.unwrapException(exception); + if (type$.Error._is(t1)) { + error0 = t1; + throw H.wrapException(U.DeserializationError_DeserializationError(object, specifiedType, error0)); + } else + throw exception; + } + else + throw H.wrapException(P.StateError$(_s62_)); + } else { + serializer0 = _this.serializerForType$1(t1); + if (serializer0 == null) + if (type$.List_dynamic._is(object) && typeof J.get$first$ax(object) == "string") + return _this.deserialize$1(objectBeforePlugins); + else + throw H.wrapException(P.StateError$(Y._noSerializerMessageFor(t1.toString$0(0)))); + if (type$.StructuredSerializer_dynamic._is(serializer0)) + try { + t1 = object == null ? null : serializer0.deserialize$3$specifiedType(_this, type$.Iterable_nullable_Object._as(object), specifiedType); + return t1; + } catch (exception) { + t1 = H.unwrapException(exception); + if (type$.Error._is(t1)) { + error1 = t1; + throw H.wrapException(U.DeserializationError_DeserializationError(object, specifiedType, error1)); + } else + throw exception; + } + else if (type$.PrimitiveSerializer_dynamic._is(serializer0)) + try { + t1 = object == null ? null : serializer0.deserialize$3$specifiedType(_this, object, specifiedType); + return t1; + } catch (exception) { + t1 = H.unwrapException(exception); + if (type$.Error._is(t1)) { + error2 = t1; + throw H.wrapException(U.DeserializationError_DeserializationError(object, specifiedType, error2)); + } else + throw exception; + } + else + throw H.wrapException(P.StateError$(_s62_)); + } + }, + serializerForType$1: function(type) { + var t1 = J.$index$asx(this._typeToSerializer._map$_map, type); + if (t1 == null) { + t1 = Y._getRawName(type); + t1 = J.$index$asx(this._typeNameToSerializer._map$_map, t1); + } + return t1; + }, + newBuilder$1: function(fullType) { + var builderFactory = J.$index$asx(this.builderFactories._map$_map, fullType); + if (builderFactory == null) { + this._throwMissingBuilderFactory$1(fullType); + H.ReachabilityError$(string$.x60null_); + } + return builderFactory.call$0(); + }, + expectBuilder$1: function(fullType) { + if (!J.containsKey$1$x(this.builderFactories._map$_map, fullType)) { + this._throwMissingBuilderFactory$1(fullType); + H.ReachabilityError$(string$.x60null_); + } + }, + _throwMissingBuilderFactory$1: function(fullType) { + throw H.wrapException(P.StateError$("No builder factory for " + fullType.toString$0(0) + ". Fix by adding one, see SerializersBuilder.addBuilderFactory.")); + }, + toBuilder$0: function() { + var t2, t3, t4, t5, t6, t7, t8, t9, _this = this, + t1 = _this._typeToSerializer; + t1.toString; + t2 = t1.$ti; + t2._eval$1("_BuiltMap<1,2>")._as(t1); + t3 = _this._wireNameToSerializer; + t3.toString; + t4 = t3.$ti; + t4._eval$1("_BuiltMap<1,2>")._as(t3); + t5 = _this._typeNameToSerializer; + t5.toString; + t6 = t5.$ti; + t6._eval$1("_BuiltMap<1,2>")._as(t5); + t7 = _this.builderFactories; + t7.toString; + t8 = t7.$ti; + t8._eval$1("_BuiltMap<1,2>")._as(t7); + t9 = _this.serializerPlugins; + t9.toString; + return new Y.BuiltJsonSerializersBuilder(new A.MapBuilder(t1._mapFactory, t1._map$_map, t1, t2._eval$1("@<1>")._bind$1(t2._rest[1])._eval$1("MapBuilder<1,2>")), new A.MapBuilder(t3._mapFactory, t3._map$_map, t3, t4._eval$1("@<1>")._bind$1(t4._rest[1])._eval$1("MapBuilder<1,2>")), new A.MapBuilder(t5._mapFactory, t5._map$_map, t5, t6._eval$1("@<1>")._bind$1(t6._rest[1])._eval$1("MapBuilder<1,2>")), new A.MapBuilder(t7._mapFactory, t7._map$_map, t7, t8._eval$1("@<1>")._bind$1(t8._rest[1])._eval$1("MapBuilder<1,2>")), D.ListBuilder_ListBuilder(t9, t9.$ti._precomputed1)); + }, + $isSerializers: 1 + }; + Y.BuiltJsonSerializersBuilder.prototype = { + add$1: function(_, serializer) { + var t1, t2, t3, t4, t5, t6, $name, genericsStart, t7; + type$.Serializer_dynamic._as(serializer); + if (!type$.StructuredSerializer_dynamic._is(serializer) && !type$.PrimitiveSerializer_dynamic._is(serializer)) + throw H.wrapException(P.ArgumentError$(string$.serial)); + this._wireNameToSerializer.$indexSet(0, serializer.get$wireName(), serializer); + for (t1 = J.get$iterator$ax(serializer.get$types(serializer)), t2 = this._typeToSerializer, t3 = t2.$ti, t4 = t3._precomputed1, t3 = t3._rest[1], t5 = this._typeNameToSerializer; t1.moveNext$0();) { + t6 = t1.get$current(t1); + t4._as(t6); + t3._as(serializer); + t2._checkKey$1(t6); + t2._checkValue$1(serializer); + J.$indexSet$ax(t2.get$_safeMap(), t6, serializer); + $name = J.toString$0$(t6); + genericsStart = J.indexOf$1$asx($name, "<"); + t6 = genericsStart === -1 ? $name : C.JSString_methods.substring$2($name, 0, genericsStart); + t7 = t5.$ti; + t7._precomputed1._as(t6); + t7._rest[1]._as(serializer); + t5._checkKey$1(t6); + t5._checkValue$1(serializer); + J.$indexSet$ax(t5.get$_safeMap(), t6, serializer); + } + }, + addBuilderFactory$2: function(types, $function) { + var t2, t3, + t1 = this._builderFactories; + t1.$indexSet(0, types, $function); + t2 = types.root; + t3 = types.parameters; + t1.$indexSet(0, !types.nullable ? new U.FullType(t2, t3, true) : new U.FullType(t2, t3, false), $function); + }, + build$0: function() { + var _this = this; + return new Y.BuiltJsonSerializers(_this._typeToSerializer.build$0(), _this._wireNameToSerializer.build$0(), _this._typeNameToSerializer.build$0(), _this._builderFactories.build$0(), _this._plugins.build$0()); + } + }; + R.BuiltListMultimapSerializer.prototype = { + serialize$3$specifiedType: function(serializers, builtListMultimap, specifiedType) { + var t1, t2, t3, keyType, valueType, result, t4, t5, key, result0, t6; + type$.BuiltListMultimap_dynamic_dynamic._as(builtListMultimap); + if (!(specifiedType.root == null || specifiedType.parameters.length === 0)) + serializers.expectBuilder$1(specifiedType); + t1 = specifiedType.parameters; + t2 = t1.length; + t3 = t2 === 0; + if (t3) + keyType = C.FullType_null_List_empty_false; + else { + if (0 >= t2) + return H.ioore(t1, 0); + keyType = t1[0]; + } + if (t3) + valueType = C.FullType_null_List_empty_false; + else { + if (1 >= t2) + return H.ioore(t1, 1); + valueType = t1[1]; + } + result = []; + for (t1 = J.get$iterator$ax(builtListMultimap.get$keys(builtListMultimap)), t2 = type$.nullable_Object, t3 = builtListMultimap._list_multimap$_map, t4 = J.getInterceptor$asx(t3), t5 = builtListMultimap._emptyList; t1.moveNext$0();) { + key = t1.get$current(t1); + result.push(serializers.serialize$2$specifiedType(key, keyType)); + result0 = t4.$index(t3, key); + t6 = result0 == null ? t5 : result0; + result.push(J.map$1$1$ax(t6._list, t6.$ti._eval$1("Object?(1)")._as(new R.BuiltListMultimapSerializer_serialize_closure(serializers, valueType)), t2).toList$0(0)); + } + return result; + }, + serialize$2: function(serializers, builtListMultimap) { + return this.serialize$3$specifiedType(serializers, builtListMultimap, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + var isUnderspecified, t2, t3, t4, keyType, valueType, result, i, key, values, value, t5, t6, t7, t8, + t1 = type$.Iterable_nullable_Object; + t1._as(serialized); + isUnderspecified = specifiedType.root == null || specifiedType.parameters.length === 0; + t2 = specifiedType.parameters; + t3 = t2.length; + t4 = t3 === 0; + if (t4) + keyType = C.FullType_null_List_empty_false; + else { + if (0 >= t3) + return H.ioore(t2, 0); + keyType = t2[0]; + } + if (t4) + valueType = C.FullType_null_List_empty_false; + else { + if (1 >= t3) + return H.ioore(t2, 1); + valueType = t2[1]; + } + if (isUnderspecified) { + t2 = type$.Object; + result = R.ListMultimapBuilder_ListMultimapBuilder(t2, t2); + } else + result = type$.ListMultimapBuilder_dynamic_dynamic._as(serializers.newBuilder$1(specifiedType)); + t2 = J.getInterceptor$asx(serialized); + t3 = t2.get$length(serialized); + if (typeof t3 !== "number") + return t3.$mod(); + if (C.JSInt_methods.$mod(t3, 2) === 1) + throw H.wrapException(P.ArgumentError$("odd length")); + for (t3 = type$.nullable_Object, i = 0; i !== t2.get$length(serialized); i += 2) { + key = serializers.deserialize$2$specifiedType(t2.elementAt$1(serialized, i), keyType); + values = J.map$1$1$ax(t1._as(t2.elementAt$1(serialized, i + 1)), new R.BuiltListMultimapSerializer_deserialize_closure(serializers, valueType), t3); + for (t4 = values.get$iterator(values); t4.moveNext$0();) { + value = t4.get$current(t4); + result.toString; + t5 = result.$ti; + t6 = t5._precomputed1; + t6._as(key); + t5._rest[1]._as(value); + if (result._list_multimap$_builtMapOwner != null) { + t7 = result.__ListMultimapBuilder__builtMap; + if (t7 === $) + t7 = H.throwExpression(H.LateError$fieldNI("_builtMap")); + result.set$__ListMultimapBuilder__builtMap(t5._eval$1("Map<1,BuiltList<2>>")._as(P.LinkedHashMap_LinkedHashMap$from(t7, t6, t5._eval$1("BuiltList<2>")))); + result.set$_list_multimap$_builtMapOwner(null); + } + result._list_multimap$_checkKey$1(key); + result._list_multimap$_checkValue$1(value); + t5 = result._list_multimap$_getValuesBuilder$1(key); + t6 = t5.$ti; + t7 = t6._precomputed1; + t7._as(value); + if (!$.$get$isSoundMode() && !t7._is(null)) + if (value == null) + H.throwExpression(P.ArgumentError$("null element")); + if (t5._listOwner != null) { + t8 = t5.__ListBuilder__list; + t5.set$__ListBuilder__list(t6._eval$1("List<1>")._as(P.List_List$from(t8 === $ ? H.throwExpression(H.LateError$fieldNI("_list")) : t8, true, t7))); + t5.set$_listOwner(null); + } + t5 = t5.__ListBuilder__list; + J.add$1$ax(t5 === $ ? H.throwExpression(H.LateError$fieldNI("_list")) : t5, value); + } + } + return result.build$0(); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function(receiver) { + return this.types; + }, + get$wireName: function() { + return "listMultimap"; + } + }; + R.BuiltListMultimapSerializer_serialize_closure.prototype = { + call$1: function(value) { + return this.serializers.serialize$2$specifiedType(value, this.valueType); + }, + $signature: 33 + }; + R.BuiltListMultimapSerializer_deserialize_closure.prototype = { + call$1: function(value) { + return this.serializers.deserialize$2$specifiedType(value, this.valueType); + }, + $signature: 85 + }; + K.BuiltListSerializer.prototype = { + serialize$3$specifiedType: function(serializers, builtList, specifiedType) { + var t1, t2, elementType; + type$.BuiltList_dynamic._as(builtList); + if (!(specifiedType.root == null || specifiedType.parameters.length === 0)) + serializers.expectBuilder$1(specifiedType); + t1 = specifiedType.parameters; + t2 = t1.length; + if (t2 === 0) + elementType = C.FullType_null_List_empty_false; + else { + if (0 >= t2) + return H.ioore(t1, 0); + elementType = t1[0]; + } + builtList.toString; + return J.map$1$1$ax(builtList._list, builtList.$ti._eval$1("Object?(1)")._as(new K.BuiltListSerializer_serialize_closure(serializers, elementType)), type$.nullable_Object); + }, + serialize$2: function(serializers, builtList) { + return this.serialize$3$specifiedType(serializers, builtList, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + var isUnderspecified, t1, t2, elementType, result; + type$.Iterable_dynamic._as(serialized); + isUnderspecified = specifiedType.root == null || specifiedType.parameters.length === 0; + t1 = specifiedType.parameters; + t2 = t1.length; + if (t2 === 0) + elementType = C.FullType_null_List_empty_false; + else { + if (0 >= t2) + return H.ioore(t1, 0); + elementType = t1[0]; + } + result = isUnderspecified ? D.ListBuilder_ListBuilder(C.List_empty, type$.Object) : type$.ListBuilder_dynamic._as(serializers.newBuilder$1(specifiedType)); + result.replace$1(0, J.map$1$1$ax(serialized, new K.BuiltListSerializer_deserialize_closure(serializers, elementType), type$.dynamic)); + return result.build$0(); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function(receiver) { + return this.types; + }, + get$wireName: function() { + return "list"; + } + }; + K.BuiltListSerializer_serialize_closure.prototype = { + call$1: function(item) { + return this.serializers.serialize$2$specifiedType(item, this.elementType); + }, + $signature: 33 + }; + K.BuiltListSerializer_deserialize_closure.prototype = { + call$1: function(item) { + return this.serializers.deserialize$2$specifiedType(item, this.elementType); + }, + $signature: 33 + }; + K.BuiltMapSerializer.prototype = { + serialize$3$specifiedType: function(serializers, builtMap, specifiedType) { + var t1, t2, t3, keyType, valueType, result, key; + type$.BuiltMap_dynamic_dynamic._as(builtMap); + if (!(specifiedType.root == null || specifiedType.parameters.length === 0)) + serializers.expectBuilder$1(specifiedType); + t1 = specifiedType.parameters; + t2 = t1.length; + t3 = t2 === 0; + if (t3) + keyType = C.FullType_null_List_empty_false; + else { + if (0 >= t2) + return H.ioore(t1, 0); + keyType = t1[0]; + } + if (t3) + valueType = C.FullType_null_List_empty_false; + else { + if (1 >= t2) + return H.ioore(t1, 1); + valueType = t1[1]; + } + result = []; + for (t1 = J.get$iterator$ax(builtMap.get$keys(builtMap)), t2 = builtMap._map$_map, t3 = J.getInterceptor$asx(t2); t1.moveNext$0();) { + key = t1.get$current(t1); + result.push(serializers.serialize$2$specifiedType(key, keyType)); + result.push(serializers.serialize$2$specifiedType(t3.$index(t2, key), valueType)); + } + return result; + }, + serialize$2: function(serializers, builtMap) { + return this.serialize$3$specifiedType(serializers, builtMap, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + var isUnderspecified, t1, t2, t3, keyType, valueType, result, i, key, value; + type$.Iterable_dynamic._as(serialized); + isUnderspecified = specifiedType.root == null || specifiedType.parameters.length === 0; + t1 = specifiedType.parameters; + t2 = t1.length; + t3 = t2 === 0; + if (t3) + keyType = C.FullType_null_List_empty_false; + else { + if (0 >= t2) + return H.ioore(t1, 0); + keyType = t1[0]; + } + if (t3) + valueType = C.FullType_null_List_empty_false; + else { + if (1 >= t2) + return H.ioore(t1, 1); + valueType = t1[1]; + } + if (isUnderspecified) { + t1 = type$.Object; + result = A.MapBuilder_MapBuilder(C.Map_empty, t1, t1); + } else + result = type$.MapBuilder_dynamic_dynamic._as(serializers.newBuilder$1(specifiedType)); + t1 = J.getInterceptor$asx(serialized); + t2 = t1.get$length(serialized); + if (typeof t2 !== "number") + return t2.$mod(); + if (C.JSInt_methods.$mod(t2, 2) === 1) + throw H.wrapException(P.ArgumentError$("odd length")); + for (i = 0; i !== t1.get$length(serialized); i += 2) { + key = serializers.deserialize$2$specifiedType(t1.elementAt$1(serialized, i), keyType); + value = serializers.deserialize$2$specifiedType(t1.elementAt$1(serialized, i + 1), valueType); + result.toString; + t2 = result.$ti; + t2._precomputed1._as(key); + t2._rest[1]._as(value); + result._checkKey$1(key); + result._checkValue$1(value); + J.$indexSet$ax(result.get$_safeMap(), key, value); + } + return result.build$0(); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function(receiver) { + return this.types; + }, + get$wireName: function() { + return "map"; + } + }; + R.BuiltSetMultimapSerializer.prototype = { + serialize$3$specifiedType: function(serializers, builtSetMultimap, specifiedType) { + var t1, t2, t3, keyType, valueType, result, t4, t5, key, result0, t6; + type$.BuiltSetMultimap_dynamic_dynamic._as(builtSetMultimap); + if (!(specifiedType.root == null || specifiedType.parameters.length === 0)) + serializers.expectBuilder$1(specifiedType); + t1 = specifiedType.parameters; + t2 = t1.length; + t3 = t2 === 0; + if (t3) + keyType = C.FullType_null_List_empty_false; + else { + if (0 >= t2) + return H.ioore(t1, 0); + keyType = t1[0]; + } + if (t3) + valueType = C.FullType_null_List_empty_false; + else { + if (1 >= t2) + return H.ioore(t1, 1); + valueType = t1[1]; + } + result = []; + for (t1 = J.get$iterator$ax(builtSetMultimap.get$keys(builtSetMultimap)), t2 = type$.nullable_Object, t3 = builtSetMultimap._set_multimap$_map, t4 = J.getInterceptor$asx(t3), t5 = builtSetMultimap._emptySet; t1.moveNext$0();) { + key = t1.get$current(t1); + result.push(serializers.serialize$2$specifiedType(key, keyType)); + result0 = t4.$index(t3, key); + t6 = result0 == null ? t5 : result0; + t6 = t6._set.map$1$1(0, t6.$ti._eval$1("Object?(1)")._as(new R.BuiltSetMultimapSerializer_serialize_closure(serializers, valueType)), t2); + result.push(P.List_List$of(t6, true, H._instanceType(t6)._eval$1("Iterable.E"))); + } + return result; + }, + serialize$2: function(serializers, builtSetMultimap) { + return this.serialize$3$specifiedType(serializers, builtSetMultimap, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + var isUnderspecified, t2, t3, t4, keyType, valueType, result, i, key, value, t5, t6, + t1 = type$.Iterable_dynamic; + t1._as(serialized); + isUnderspecified = specifiedType.root == null || specifiedType.parameters.length === 0; + t2 = specifiedType.parameters; + t3 = t2.length; + t4 = t3 === 0; + if (t4) + keyType = C.FullType_null_List_empty_false; + else { + if (0 >= t3) + return H.ioore(t2, 0); + keyType = t2[0]; + } + if (t4) + valueType = C.FullType_null_List_empty_false; + else { + if (1 >= t3) + return H.ioore(t2, 1); + valueType = t2[1]; + } + if (isUnderspecified) { + t2 = type$.Object; + result = M.SetMultimapBuilder_SetMultimapBuilder(t2, t2); + } else + result = type$.SetMultimapBuilder_dynamic_dynamic._as(serializers.newBuilder$1(specifiedType)); + t2 = J.getInterceptor$asx(serialized); + t3 = t2.get$length(serialized); + if (typeof t3 !== "number") + return t3.$mod(); + if (C.JSInt_methods.$mod(t3, 2) === 1) + throw H.wrapException(P.ArgumentError$("odd length")); + for (i = 0; i !== t2.get$length(serialized); i += 2) { + key = serializers.deserialize$2$specifiedType(t2.elementAt$1(serialized, i), keyType); + for (t3 = J.get$iterator$ax(t1._as(J.map$1$ax(t2.elementAt$1(serialized, i + 1), new R.BuiltSetMultimapSerializer_deserialize_closure(serializers, valueType)))); t3.moveNext$0();) { + value = t3.get$current(t3); + result.toString; + t4 = result.$ti; + t5 = t4._precomputed1; + t5._as(key); + t4._rest[1]._as(value); + if (result._builtMapOwner != null) { + t6 = result.__SetMultimapBuilder__builtMap; + if (t6 === $) + t6 = H.throwExpression(H.LateError$fieldNI("_builtMap")); + result.set$__SetMultimapBuilder__builtMap(t4._eval$1("Map<1,BuiltSet<2>>")._as(P.LinkedHashMap_LinkedHashMap$from(t6, t5, t4._eval$1("BuiltSet<2>")))); + result.set$_builtMapOwner(null); + } + result._set_multimap$_checkKey$1(key); + result._set_multimap$_checkValue$1(value); + t4 = result._getValuesBuilder$1(key); + t5 = t4.$ti._precomputed1; + t5._as(value); + if (!$.$get$isSoundMode() && !t5._is(null)) + if (value == null) + H.throwExpression(P.ArgumentError$("null element")); + t4.get$_safeSet().add$1(0, value); + } + } + return result.build$0(); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function(receiver) { + return this.types; + }, + get$wireName: function() { + return "setMultimap"; + } + }; + R.BuiltSetMultimapSerializer_serialize_closure.prototype = { + call$1: function(value) { + return this.serializers.serialize$2$specifiedType(value, this.valueType); + }, + $signature: 33 + }; + R.BuiltSetMultimapSerializer_deserialize_closure.prototype = { + call$1: function(value) { + return this.serializers.deserialize$2$specifiedType(value, this.valueType); + }, + $signature: 33 + }; + O.BuiltSetSerializer.prototype = { + serialize$3$specifiedType: function(serializers, builtSet, specifiedType) { + var t1, t2, elementType; + type$.BuiltSet_dynamic._as(builtSet); + if (!(specifiedType.root == null || specifiedType.parameters.length === 0)) + serializers.expectBuilder$1(specifiedType); + t1 = specifiedType.parameters; + t2 = t1.length; + if (t2 === 0) + elementType = C.FullType_null_List_empty_false; + else { + if (0 >= t2) + return H.ioore(t1, 0); + elementType = t1[0]; + } + builtSet.toString; + return builtSet._set.map$1$1(0, builtSet.$ti._eval$1("Object?(1)")._as(new O.BuiltSetSerializer_serialize_closure(serializers, elementType)), type$.nullable_Object); + }, + serialize$2: function(serializers, builtSet) { + return this.serialize$3$specifiedType(serializers, builtSet, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + var isUnderspecified, t1, t2, elementType, result; + type$.Iterable_dynamic._as(serialized); + isUnderspecified = specifiedType.root == null || specifiedType.parameters.length === 0; + t1 = specifiedType.parameters; + t2 = t1.length; + if (t2 === 0) + elementType = C.FullType_null_List_empty_false; + else { + if (0 >= t2) + return H.ioore(t1, 0); + elementType = t1[0]; + } + result = isUnderspecified ? X.SetBuilder_SetBuilder(C.List_empty, type$.Object) : type$.SetBuilder_dynamic._as(serializers.newBuilder$1(specifiedType)); + result.replace$1(0, J.map$1$1$ax(serialized, new O.BuiltSetSerializer_deserialize_closure(serializers, elementType), type$.dynamic)); + return result.build$0(); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function(receiver) { + return this.types; + }, + get$wireName: function() { + return "set"; + } + }; + O.BuiltSetSerializer_serialize_closure.prototype = { + call$1: function(item) { + return this.serializers.serialize$2$specifiedType(item, this.elementType); + }, + $signature: 33 + }; + O.BuiltSetSerializer_deserialize_closure.prototype = { + call$1: function(item) { + return this.serializers.deserialize$2$specifiedType(item, this.elementType); + }, + $signature: 33 + }; + Z.DateTimeSerializer.prototype = { + serialize$3$specifiedType: function(serializers, dateTime, specifiedType) { + type$.DateTime._as(dateTime); + if (!dateTime.isUtc) + throw H.wrapException(P.ArgumentError$value(dateTime, "dateTime", "Must be in utc for serialization.")); + return 1000 * dateTime._value; + }, + serialize$2: function(serializers, dateTime) { + return this.serialize$3$specifiedType(serializers, dateTime, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + var t2, + t1 = C.JSNumber_methods.round$0(H._asIntS(serialized) / 1000); + if (Math.abs(t1) <= 864e13) + t2 = false; + else + t2 = true; + if (t2) + H.throwExpression(P.ArgumentError$("DateTime is outside valid range: " + t1)); + H.checkNotNullable(true, "isUtc", type$.bool); + return new P.DateTime(t1, true); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isPrimitiveSerializer: 1, + get$types: function(receiver) { + return this.types; + }, + get$wireName: function() { + return "DateTime"; + } + }; + D.DoubleSerializer.prototype = { + serialize$3$specifiedType: function(serializers, aDouble, specifiedType) { + H._asDoubleS(aDouble); + if (isNaN(aDouble)) + return "NaN"; + else if (aDouble == 1 / 0 || aDouble == -1 / 0) + return C.JSNumber_methods.get$isNegative(aDouble) ? "-INF" : "INF"; + else + return aDouble; + }, + serialize$2: function(serializers, aDouble) { + return this.serialize$3$specifiedType(serializers, aDouble, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + var t1 = J.getInterceptor$(serialized); + if (t1.$eq(serialized, "NaN")) + return 0 / 0; + else if (t1.$eq(serialized, "-INF")) + return -1 / 0; + else if (t1.$eq(serialized, "INF")) + return 1 / 0; + else + return H._asNumS(serialized); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isPrimitiveSerializer: 1, + get$types: function(receiver) { + return this.types; + }, + get$wireName: function() { + return "double"; + } + }; + K.DurationSerializer.prototype = { + serialize$3$specifiedType: function(serializers, duration, specifiedType) { + return type$.Duration._as(duration)._duration; + }, + serialize$2: function(serializers, duration) { + return this.serialize$3$specifiedType(serializers, duration, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + return P.Duration$(H._asIntS(serialized), 0, 0); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isPrimitiveSerializer: 1, + get$types: function(receiver) { + return this.types; + }, + get$wireName: function() { + return "Duration"; + } + }; + T.Int32Serializer.prototype = { + serialize$3$specifiedType: function(serializers, int32, specifiedType) { + return type$.Int32._as(int32)._i; + }, + serialize$2: function(serializers, int32) { + return this.serialize$3$specifiedType(serializers, int32, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + H._asIntS(serialized); + return new V.Int32((serialized & 2147483647) - ((serialized & 2147483648) >>> 0)); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isPrimitiveSerializer: 1, + get$types: function(receiver) { + return this.types; + }, + get$wireName: function() { + return "Int32"; + } + }; + Q.Int64Serializer.prototype = { + serialize$3$specifiedType: function(serializers, int64, specifiedType) { + return type$.Int64._as(int64)._toRadixString$1(10); + }, + serialize$2: function(serializers, int64) { + return this.serialize$3$specifiedType(serializers, int64, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + return V.Int64__parseRadix(H._asStringS(serialized), 10); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isPrimitiveSerializer: 1, + get$types: function(receiver) { + return this.types; + }, + get$wireName: function() { + return "Int64"; + } + }; + B.IntSerializer.prototype = { + serialize$3$specifiedType: function(serializers, integer, specifiedType) { + return H._asIntS(integer); + }, + serialize$2: function(serializers, integer) { + return this.serialize$3$specifiedType(serializers, integer, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + return H._asIntS(serialized); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isPrimitiveSerializer: 1, + get$types: function(receiver) { + return this.types; + }, + get$wireName: function() { + return "int"; + } + }; + O.JsonObjectSerializer.prototype = { + serialize$3$specifiedType: function(serializers, jsonObject, specifiedType) { + type$.JsonObject._as(jsonObject); + return jsonObject.get$value(jsonObject); + }, + serialize$2: function(serializers, jsonObject) { + return this.serialize$3$specifiedType(serializers, jsonObject, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + return A.JsonObject_JsonObject(serialized); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isPrimitiveSerializer: 1, + get$types: function(receiver) { + return this.types; + }, + get$wireName: function() { + return "JsonObject"; + } + }; + S.NullSerializer.prototype = { + serialize$3$specifiedType: function(serializers, value, specifiedType) { + type$.Null._as(value); + throw H.wrapException(P.UnimplementedError$(null)); + }, + serialize$2: function(serializers, value) { + return this.serialize$3$specifiedType(serializers, value, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + throw H.wrapException(P.UnimplementedError$(null)); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isPrimitiveSerializer: 1, + get$types: function(receiver) { + return this.types; + }, + get$wireName: function() { + return "Null"; + } + }; + K.NumSerializer.prototype = { + serialize$3$specifiedType: function(serializers, number, specifiedType) { + H._asNumS(number); + if (isNaN(number)) + return "NaN"; + else if (number == 1 / 0 || number == -1 / 0) + return C.JSNumber_methods.get$isNegative(number) ? "-INF" : "INF"; + else + return number; + }, + serialize$2: function(serializers, number) { + return this.serialize$3$specifiedType(serializers, number, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + var t1 = J.getInterceptor$(serialized); + if (t1.$eq(serialized, "NaN")) + return 0 / 0; + else if (t1.$eq(serialized, "-INF")) + return -1 / 0; + else if (t1.$eq(serialized, "INF")) + return 1 / 0; + else + return H._asNumS(serialized); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isPrimitiveSerializer: 1, + get$types: function(receiver) { + return this.types; + }, + get$wireName: function() { + return "num"; + } + }; + K.RegExpSerializer.prototype = { + serialize$3$specifiedType: function(serializers, value, specifiedType) { + return type$.RegExp._as(value).pattern; + }, + serialize$2: function(serializers, value) { + return this.serialize$3$specifiedType(serializers, value, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + return P.RegExp_RegExp(H._asStringS(serialized), true); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isPrimitiveSerializer: 1, + get$types: function(receiver) { + return this.types; + }, + get$wireName: function() { + return "RegExp"; + } + }; + M.StringSerializer.prototype = { + serialize$3$specifiedType: function(serializers, string, specifiedType) { + return H._asStringS(string); + }, + serialize$2: function(serializers, string) { + return this.serialize$3$specifiedType(serializers, string, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + return H._asStringS(serialized); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isPrimitiveSerializer: 1, + get$types: function(receiver) { + return this.types; + }, + get$wireName: function() { + return "String"; + } + }; + U.Uint8ListSerializer.prototype = { + serialize$3$specifiedType: function(serializers, uint8list, specifiedType) { + uint8list = type$.Base64Codec._eval$1("Codec.S")._as(type$.Uint8List._as(uint8list)); + return C.C_Base64Codec.get$encoder().convert$1(uint8list); + }, + serialize$2: function(serializers, uint8list) { + return this.serialize$3$specifiedType(serializers, uint8list, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + return C.C_Base64Decoder.convert$1(H._asStringS(serialized)); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + get$types: function(_) { + return D.BuiltList_BuiltList$from([C.Type_Uint8List_WLA], type$.Type); + }, + $isSerializer: 1, + $isPrimitiveSerializer: 1, + get$wireName: function() { + return "UInt8List"; + } + }; + O.UriSerializer.prototype = { + serialize$3$specifiedType: function(serializers, uri, specifiedType) { + return type$.Uri._as(uri).toString$0(0); + }, + serialize$2: function(serializers, uri) { + return this.serialize$3$specifiedType(serializers, uri, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + return P.Uri_parse(H._asStringS(serialized)); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isPrimitiveSerializer: 1, + get$types: function(receiver) { + return this.types; + }, + get$wireName: function() { + return "Uri"; + } + }; + T.StandardJsonPlugin.prototype = { + afterSerialize$2: function(object, specifiedType) { + var t1; + if (type$.List_dynamic._is(object)) { + t1 = specifiedType.root; + t1 = t1 !== C.Type_BuiltList_iTR && t1 !== C.Type_BuiltSet_fcN && t1 !== C.Type_JsonObject_gyf; + } else + t1 = false; + if (t1) + if (specifiedType.root == null) + return this._toMapWithDiscriminator$1(object); + else + return this._toMap$2(object, this._needsEncodedKeys$1(specifiedType)); + else + return object; + }, + beforeDeserialize$2: function(object, specifiedType) { + var t1; + if (type$.Map_dynamic_dynamic._is(object) && specifiedType.root !== C.Type_JsonObject_gyf) { + t1 = specifiedType.root; + if (t1 == null) + return this._toListUsingDiscriminator$1(object); + else + return this._toList$3$keepNulls(object, this._needsEncodedKeys$1(specifiedType), t1 === C.Type_BuiltMap_qd4); + } else + return object; + }, + _needsEncodedKeys$1: function(specifiedType) { + var t1; + if (specifiedType.root === C.Type_BuiltMap_qd4) { + t1 = specifiedType.parameters; + if (0 >= t1.length) + return H.ioore(t1, 0); + t1 = t1[0].root !== C.Type_String_k8F; + } else + t1 = false; + return t1; + }, + _toMap$2: function(list, needsEncodedKeys) { + var t2, key, value, + result = P.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.nullable_Object), + t1 = J.getInterceptor$asx(list), + i = 0; + while (true) { + t2 = t1.get$length(list); + if (typeof t2 !== "number") + return t2.$tdiv(); + if (!(i !== C.JSInt_methods._tdivFast$1(t2, 2))) + break; + t2 = i * 2; + key = t1.$index(list, t2); + value = t1.$index(list, t2 + 1); + result.$indexSet(0, needsEncodedKeys ? C.C_JsonCodec.encode$1(key) : H._asStringS(key), value); + ++i; + } + return result; + }, + _toMapWithDiscriminator$1: function(list) { + var needToEncodeKeys, i, result, t3, key, + t1 = J.getInterceptor$asx(list), + type = t1.$index(list, 0), + t2 = J.getInterceptor$(type); + if (t2.$eq(type, "list")) + return P.LinkedHashMap_LinkedHashMap$_literal(["$", type, "", t1.sublist$1(list, 1)], type$.String, type$.Object); + if (t1.get$length(list) === 2) + return P.LinkedHashMap_LinkedHashMap$_literal(["$", type, "", t1.$index(list, 1)], type$.String, type$.nullable_Object); + if (t2.$eq(type, "map")) { + i = 0; + while (true) { + t2 = t1.get$length(list); + if (typeof t2 !== "number") + return t2.$sub(); + if (!(i !== C.JSInt_methods._tdivFast$1(t2 - 1, 2))) { + needToEncodeKeys = false; + break; + } + if (typeof t1.$index(list, i * 2 + 1) != "string") { + type = "encoded_map"; + needToEncodeKeys = true; + break; + } + ++i; + } + } else + needToEncodeKeys = false; + result = P.LinkedHashMap_LinkedHashMap$_literal(["$", type], type$.String, type$.Object); + i = 0; + while (true) { + t2 = t1.get$length(list); + if (typeof t2 !== "number") + return t2.$sub(); + if (!(i !== C.JSInt_methods._tdivFast$1(t2 - 1, 2))) + break; + t2 = i * 2; + t3 = t2 + 1; + key = needToEncodeKeys ? C.C_JsonCodec.encode$1(t1.$index(list, t3)) : H._asStringS(t1.$index(list, t3)); + result.$indexSet(0, key, t1.$index(list, t2 + 2)); + ++i; + } + return result; + }, + _toList$3$keepNulls: function(map, hasEncodedKeys, keepNulls) { + var nullValueCount, t2, t3, result, t1 = {}; + if (keepNulls) + nullValueCount = 0; + else { + t2 = J.where$1$ax(J.get$values$x(map), new T.StandardJsonPlugin__toList_closure()); + nullValueCount = t2.get$length(t2); + } + t2 = J.getInterceptor$asx(map); + t3 = t2.get$length(map); + if (typeof t3 !== "number") + return t3.$sub(); + result = P.List_List$filled((t3 - nullValueCount) * 2, 0, false, type$.nullable_Object); + t1.i = 0; + t2.forEach$1(map, new T.StandardJsonPlugin__toList_closure0(t1, this, keepNulls, result, hasEncodedKeys)); + return result; + }, + _toListUsingDiscriminator$1: function(map) { + var t3, result, needToDecodeKeys, nullValueCount, t1 = {}, + t2 = J.getInterceptor$asx(map), + type = t2.$index(map, "$"); + if (type == null) + throw H.wrapException(P.ArgumentError$("Unknown type on deserialization. Need either specifiedType or discriminator field.")); + t3 = J.getInterceptor$(type); + if (t3.$eq(type, "list")) { + t1 = [type]; + C.JSArray_methods.addAll$1(t1, type$.Iterable_dynamic._as(t2.$index(map, ""))); + return t1; + } + if (t2.containsKey$1(map, "")) { + result = P.List_List$filled(2, 0, false, type$.nullable_Object); + C.JSArray_methods.$indexSet(result, 0, type); + C.JSArray_methods.$indexSet(result, 1, t2.$index(map, "")); + return result; + } + needToDecodeKeys = t3.$eq(type, "encoded_map"); + if (needToDecodeKeys) + type = "map"; + t3 = J.where$1$ax(t2.get$values(map), new T.StandardJsonPlugin__toListUsingDiscriminator_closure()); + nullValueCount = t3.get$length(t3); + t3 = t2.get$length(map); + if (typeof t3 !== "number") + return t3.$sub(); + result = P.List_List$filled((t3 - nullValueCount) * 2 - 1, 0, false, type$.Object); + C.JSArray_methods.$indexSet(result, 0, type); + t1.i = 1; + t2.forEach$1(map, new T.StandardJsonPlugin__toListUsingDiscriminator_closure0(t1, this, result, needToDecodeKeys)); + return result; + }, + $isSerializerPlugin: 1 + }; + T.StandardJsonPlugin__toList_closure.prototype = { + call$1: function(value) { + return value == null; + }, + $signature: 69 + }; + T.StandardJsonPlugin__toList_closure0.prototype = { + call$2: function(key, value) { + var t1, t2, t3, _this = this; + if (!_this.keepNulls && value == null) + return; + t1 = _this.result; + t2 = _this._box_0; + t3 = t2.i; + C.JSArray_methods.$indexSet(t1, t3, _this.hasEncodedKeys ? C.C_JsonCodec.decode$1(0, H._asStringS(key)) : key); + C.JSArray_methods.$indexSet(t1, t2.i + 1, value); + t2.i += 2; + }, + $signature: 45 + }; + T.StandardJsonPlugin__toListUsingDiscriminator_closure.prototype = { + call$1: function(value) { + return value == null; + }, + $signature: 69 + }; + T.StandardJsonPlugin__toListUsingDiscriminator_closure0.prototype = { + call$2: function(key, value) { + var t1, t2, t3; + if (J.$eq$(key, "$")) + return; + if (value == null) + return; + t1 = this.result; + t2 = this._box_0; + t3 = t2.i; + C.JSArray_methods.$indexSet(t1, t3, this.needToDecodeKeys ? C.C_JsonCodec.decode$1(0, H._asStringS(key)) : key); + C.JSArray_methods.$indexSet(t1, t2.i + 1, value); + t2.i += 2; + }, + $signature: 45 + }; + M.CanonicalizedMap.prototype = { + $index: function(_, key) { + var pair, _this = this; + if (!_this._isValidKey$1(key)) + return null; + pair = _this._base.$index(0, _this._canonicalize.call$1(_this.$ti._eval$1("CanonicalizedMap.K")._as(key))); + return pair == null ? null : pair.value; + }, + $indexSet: function(_, key, value) { + var t2, _this = this, + t1 = _this.$ti; + t1._eval$1("CanonicalizedMap.K")._as(key); + t2 = t1._eval$1("CanonicalizedMap.V"); + t2._as(value); + if (!_this._isValidKey$1(key)) + return; + _this._base.$indexSet(0, _this._canonicalize.call$1(key), new P.MapEntry(key, value, t1._eval$1("@")._bind$1(t2)._eval$1("MapEntry<1,2>"))); + }, + addAll$1: function(_, other) { + this.$ti._eval$1("Map")._as(other).forEach$1(0, new M.CanonicalizedMap_addAll_closure(this)); + }, + cast$2$0: function(_, K2, V2) { + var t1 = this._base; + return t1.cast$2$0(t1, K2, V2); + }, + containsKey$1: function(_, key) { + var _this = this; + if (!_this._isValidKey$1(key)) + return false; + return _this._base.containsKey$1(0, _this._canonicalize.call$1(_this.$ti._eval$1("CanonicalizedMap.K")._as(key))); + }, + get$entries: function(_) { + var t1 = this._base; + return t1.get$entries(t1).map$1$1(0, new M.CanonicalizedMap_entries_closure(this), this.$ti._eval$1("MapEntry")); + }, + forEach$1: function(_, f) { + this._base.forEach$1(0, new M.CanonicalizedMap_forEach_closure(this, this.$ti._eval$1("~(CanonicalizedMap.K,CanonicalizedMap.V)")._as(f))); + }, + get$isEmpty: function(_) { + var t1 = this._base; + return t1.get$isEmpty(t1); + }, + get$isNotEmpty: function(_) { + var t1 = this._base; + return t1.get$isNotEmpty(t1); + }, + get$keys: function(_) { + var t2, t3, + t1 = this._base; + t1 = t1.get$values(t1); + t2 = this.$ti._eval$1("CanonicalizedMap.K"); + t3 = H._instanceType(t1); + return H.MappedIterable_MappedIterable(t1, t3._bind$1(t2)._eval$1("1(Iterable.E)")._as(new M.CanonicalizedMap_keys_closure(this)), t3._eval$1("Iterable.E"), t2); + }, + get$length: function(_) { + var t1 = this._base; + return t1.get$length(t1); + }, + map$2$1: function(_, transform, K2, V2) { + var t1 = this._base; + return t1.map$2$1(t1, new M.CanonicalizedMap_map_closure(this, this.$ti._bind$1(K2)._bind$1(V2)._eval$1("MapEntry<1,2>(CanonicalizedMap.K,CanonicalizedMap.V)")._as(transform), K2, V2), K2, V2); + }, + map$1: function($receiver, transform) { + return this.map$2$1($receiver, transform, type$.dynamic, type$.dynamic); + }, + remove$1: function(_, key) { + var pair, _this = this; + if (!_this._isValidKey$1(key)) + return null; + pair = _this._base.remove$1(0, _this._canonicalize.call$1(_this.$ti._eval$1("CanonicalizedMap.K")._as(key))); + return pair == null ? null : pair.value; + }, + removeWhere$1: function(_, test) { + var t1 = this._base; + return t1.removeWhere$1(t1, new M.CanonicalizedMap_removeWhere_closure(this, this.$ti._eval$1("bool(CanonicalizedMap.K,CanonicalizedMap.V)")._as(test))); + }, + get$values: function(_) { + var t2, t3, + t1 = this._base; + t1 = t1.get$values(t1); + t2 = this.$ti._eval$1("CanonicalizedMap.V"); + t3 = H._instanceType(t1); + return H.MappedIterable_MappedIterable(t1, t3._bind$1(t2)._eval$1("1(Iterable.E)")._as(new M.CanonicalizedMap_values_closure(this)), t3._eval$1("Iterable.E"), t2); + }, + toString$0: function(_) { + return P.MapBase_mapToString(this); + }, + _isValidKey$1: function(key) { + var t1; + if (this.$ti._eval$1("CanonicalizedMap.K")._is(key)) + t1 = H.boolConversionCheck(this._isValidKeyFn.call$1(key)); + else + t1 = false; + return t1; + }, + $isMap: 1 + }; + M.CanonicalizedMap_addAll_closure.prototype = { + call$2: function(key, value) { + var t1 = this.$this, + t2 = t1.$ti; + t2._eval$1("CanonicalizedMap.K")._as(key); + t2._eval$1("CanonicalizedMap.V")._as(value); + t1.$indexSet(0, key, value); + return value; + }, + $signature: function() { + return this.$this.$ti._eval$1("~(CanonicalizedMap.K,CanonicalizedMap.V)"); + } + }; + M.CanonicalizedMap_entries_closure.prototype = { + call$1: function(e) { + var t1 = this.$this.$ti, + t2 = t1._eval$1("MapEntry>")._as(e).value; + return new P.MapEntry(t2.key, t2.value, t1._eval$1("@")._bind$1(t1._eval$1("CanonicalizedMap.V"))._eval$1("MapEntry<1,2>")); + }, + $signature: function() { + return this.$this.$ti._eval$1("MapEntry(MapEntry>)"); + } + }; + M.CanonicalizedMap_forEach_closure.prototype = { + call$2: function(key, pair) { + var t1 = this.$this.$ti; + t1._eval$1("CanonicalizedMap.C")._as(key); + t1._eval$1("MapEntry")._as(pair); + return this.f.call$2(pair.key, pair.value); + }, + $signature: function() { + return this.$this.$ti._eval$1("~(CanonicalizedMap.C,MapEntry)"); + } + }; + M.CanonicalizedMap_keys_closure.prototype = { + call$1: function(pair) { + return this.$this.$ti._eval$1("MapEntry")._as(pair).key; + }, + $signature: function() { + return this.$this.$ti._eval$1("CanonicalizedMap.K(MapEntry)"); + } + }; + M.CanonicalizedMap_map_closure.prototype = { + call$2: function(_, pair) { + var t1 = this.$this.$ti; + t1._eval$1("CanonicalizedMap.C")._as(_); + t1._eval$1("MapEntry")._as(pair); + return this.transform.call$2(pair.key, pair.value); + }, + $signature: function() { + return this.$this.$ti._bind$1(this.K2)._bind$1(this.V2)._eval$1("MapEntry<1,2>(CanonicalizedMap.C,MapEntry)"); + } + }; + M.CanonicalizedMap_removeWhere_closure.prototype = { + call$2: function(_, pair) { + var t1 = this.$this.$ti; + t1._eval$1("CanonicalizedMap.C")._as(_); + t1._eval$1("MapEntry")._as(pair); + return this.test.call$2(pair.key, pair.value); + }, + $signature: function() { + return this.$this.$ti._eval$1("bool(CanonicalizedMap.C,MapEntry)"); + } + }; + M.CanonicalizedMap_values_closure.prototype = { + call$1: function(pair) { + return this.$this.$ti._eval$1("MapEntry")._as(pair).value; + }, + $signature: function() { + return this.$this.$ti._eval$1("CanonicalizedMap.V(MapEntry)"); + } + }; + U.DefaultEquality.prototype = { + equals$2: function(e1, e2) { + return J.$eq$(e1, e2); + }, + hash$1: function(_, e) { + return J.get$hashCode$(e); + }, + isValidKey$1: function(o) { + return true; + }, + $isEquality: 1 + }; + U.IterableEquality.prototype = { + equals$2: function(elements1, elements2) { + var it1, it2, hasNext, + t1 = this.$ti._eval$1("Iterable<1>?"); + t1._as(elements1); + t1._as(elements2); + if (elements1 === elements2) + return true; + it1 = J.get$iterator$ax(elements1); + it2 = J.get$iterator$ax(elements2); + for (t1 = this._elementEquality; true;) { + hasNext = it1.moveNext$0(); + if (hasNext !== it2.moveNext$0()) + return false; + if (!hasNext) + return true; + if (!t1.equals$2(it1.get$current(it1), it2.get$current(it2))) + return false; + } + }, + hash$1: function(_, elements) { + var t1, t2, hash, c; + this.$ti._eval$1("Iterable<1>?")._as(elements); + for (t1 = J.get$iterator$ax(elements), t2 = this._elementEquality, hash = 0; t1.moveNext$0();) { + c = t2.hash$1(0, t1.get$current(t1)); + if (typeof c !== "number") + return H.iae(c); + hash = hash + c & 2147483647; + hash = hash + (hash << 10 >>> 0) & 2147483647; + hash ^= hash >>> 6; + } + hash = hash + (hash << 3 >>> 0) & 2147483647; + hash ^= hash >>> 11; + return hash + (hash << 15 >>> 0) & 2147483647; + }, + $isEquality: 1 + }; + U.ListEquality.prototype = { + equals$2: function(list1, list2) { + var $length, t2, t3, i, + t1 = this.$ti._eval$1("List<1>?"); + t1._as(list1); + t1._as(list2); + if (list1 == null ? list2 == null : list1 === list2) + return true; + if (list1 == null || list2 == null) + return false; + t1 = J.getInterceptor$asx(list1); + $length = t1.get$length(list1); + t2 = J.getInterceptor$asx(list2); + if ($length != t2.get$length(list2)) + return false; + if (typeof $length !== "number") + return H.iae($length); + t3 = this._elementEquality; + i = 0; + for (; i < $length; ++i) + if (!t3.equals$2(t1.$index(list1, i), t2.$index(list2, i))) + return false; + return true; + }, + hash$1: function(_, list) { + var t1, t2, hash, i, t3, c; + this.$ti._eval$1("List<1>?")._as(list); + t1 = J.getInterceptor$asx(list); + t2 = this._elementEquality; + hash = 0; + i = 0; + while (true) { + t3 = t1.get$length(list); + if (typeof t3 !== "number") + return H.iae(t3); + if (!(i < t3)) + break; + c = t2.hash$1(0, t1.$index(list, i)); + if (typeof c !== "number") + return H.iae(c); + hash = hash + c & 2147483647; + hash = hash + (hash << 10 >>> 0) & 2147483647; + hash ^= hash >>> 6; + ++i; + } + hash = hash + (hash << 3 >>> 0) & 2147483647; + hash ^= hash >>> 11; + return hash + (hash << 15 >>> 0) & 2147483647; + }, + $isEquality: 1 + }; + U._UnorderedEquality.prototype = { + equals$2: function(elements1, elements2) { + var counts, $length, e, count, + t1 = H._instanceType(this), + t2 = t1._eval$1("_UnorderedEquality.T?"); + t2._as(elements1); + t2._as(elements2); + if (elements1 === elements2) + return true; + t2 = this._elementEquality; + counts = P.HashMap_HashMap(t2.get$equals(), t2.get$hash(t2), t2.get$isValidKey(), t1._eval$1("_UnorderedEquality.E"), type$.int); + for (t1 = J.get$iterator$ax(elements1), $length = 0; t1.moveNext$0();) { + e = t1.get$current(t1); + count = counts.$index(0, e); + counts.$indexSet(0, e, (count == null ? 0 : count) + 1); + ++$length; + } + for (t1 = J.get$iterator$ax(elements2); t1.moveNext$0();) { + e = t1.get$current(t1); + count = counts.$index(0, e); + if (count == null || count === 0) + return false; + if (typeof count !== "number") + return count.$sub(); + counts.$indexSet(0, e, count - 1); + --$length; + } + return $length === 0; + }, + hash$1: function(_, elements) { + var t1, t2, hash, c; + H._instanceType(this)._eval$1("_UnorderedEquality.T?")._as(elements); + for (t1 = J.get$iterator$ax(elements), t2 = this._elementEquality, hash = 0; t1.moveNext$0();) { + c = t2.hash$1(0, t1.get$current(t1)); + if (typeof c !== "number") + return H.iae(c); + hash = hash + c & 2147483647; + } + hash = hash + (hash << 3 >>> 0) & 2147483647; + hash ^= hash >>> 11; + return hash + (hash << 15 >>> 0) & 2147483647; + }, + $isEquality: 1 + }; + U.SetEquality.prototype = {}; + U._MapEntry.prototype = { + get$hashCode: function(_) { + var t1 = this.equality, + t2 = t1._keyEquality.hash$1(0, this.key); + if (typeof t2 !== "number") + return H.iae(t2); + t1 = t1._valueEquality.hash$1(0, this.value); + if (typeof t1 !== "number") + return H.iae(t1); + return 3 * t2 + 7 * t1 & 2147483647; + }, + $eq: function(_, other) { + var t1; + if (other == null) + return false; + if (other instanceof U._MapEntry) { + t1 = this.equality; + t1 = t1._keyEquality.equals$2(this.key, other.key) && t1._valueEquality.equals$2(this.value, other.value); + } else + t1 = false; + return t1; + }, + get$value: function(receiver) { + return this.value; + } + }; + U.MapEquality.prototype = { + equals$2: function(map1, map2) { + var t2, equalElementCounts, t3, key, entry, count, + t1 = this.$ti._eval$1("Map<1,2>?"); + t1._as(map1); + t1._as(map2); + if (map1 === map2) + return true; + if (map1 == null || false) + return false; + t1 = J.getInterceptor$asx(map1); + t2 = J.getInterceptor$asx(map2); + if (t1.get$length(map1) != t2.get$length(map2)) + return false; + equalElementCounts = P.HashMap_HashMap(null, null, null, type$._MapEntry, type$.int); + for (t3 = J.get$iterator$ax(t1.get$keys(map1)); t3.moveNext$0();) { + key = t3.get$current(t3); + entry = new U._MapEntry(this, key, t1.$index(map1, key)); + count = equalElementCounts.$index(0, entry); + equalElementCounts.$indexSet(0, entry, (count == null ? 0 : count) + 1); + } + for (t1 = J.get$iterator$ax(t2.get$keys(map2)); t1.moveNext$0();) { + key = t1.get$current(t1); + entry = new U._MapEntry(this, key, t2.$index(map2, key)); + count = equalElementCounts.$index(0, entry); + if (count == null || count === 0) + return false; + if (typeof count !== "number") + return count.$sub(); + equalElementCounts.$indexSet(0, entry, count - 1); + } + return true; + }, + hash$1: function(_, map) { + var t1, t2, t3, t4, hash, key, keyHash, valueHash; + this.$ti._eval$1("Map<1,2>?")._as(map); + for (t1 = J.getInterceptor$x(map), t2 = J.get$iterator$ax(t1.get$keys(map)), t3 = this._keyEquality, t4 = this._valueEquality, hash = 0; t2.moveNext$0();) { + key = t2.get$current(t2); + keyHash = t3.hash$1(0, key); + valueHash = t4.hash$1(0, t1.$index(map, key)); + if (typeof keyHash !== "number") + return H.iae(keyHash); + if (typeof valueHash !== "number") + return H.iae(valueHash); + hash = hash + 3 * keyHash + 7 * valueHash & 2147483647; + } + hash = hash + (hash << 3 >>> 0) & 2147483647; + hash ^= hash >>> 11; + return hash + (hash << 15 >>> 0) & 2147483647; + }, + $isEquality: 1 + }; + U.DeepCollectionEquality.prototype = { + equals$2: function(e1, e2) { + var _this = this, + t1 = type$.Set_dynamic; + if (t1._is(e1)) + return t1._is(e2) && new U.SetEquality(_this, type$.SetEquality_dynamic).equals$2(e1, e2); + t1 = type$.Map_dynamic_dynamic; + if (t1._is(e1)) + return t1._is(e2) && new U.MapEquality(_this, _this, type$.MapEquality_dynamic_dynamic).equals$2(e1, e2); + t1 = type$.List_dynamic; + if (t1._is(e1)) + return t1._is(e2) && new U.ListEquality(_this, type$.ListEquality_dynamic).equals$2(e1, e2); + t1 = type$.Iterable_dynamic; + if (t1._is(e1)) + return t1._is(e2) && H.boolConversionCheck(new U.IterableEquality(_this, type$.IterableEquality_dynamic).equals$2(e1, e2)); + return J.$eq$(e1, e2); + }, + hash$1: function(_, o) { + var _this = this; + if (type$.Set_dynamic._is(o)) + return new U.SetEquality(_this, type$.SetEquality_dynamic).hash$1(0, o); + if (type$.Map_dynamic_dynamic._is(o)) + return new U.MapEquality(_this, _this, type$.MapEquality_dynamic_dynamic).hash$1(0, o); + if (type$.List_dynamic._is(o)) + return new U.ListEquality(_this, type$.ListEquality_dynamic).hash$1(0, o); + if (type$.Iterable_dynamic._is(o)) + return new U.IterableEquality(_this, type$.IterableEquality_dynamic).hash$1(0, o); + return J.get$hashCode$(o); + }, + isValidKey$1: function(o) { + !type$.Iterable_dynamic._is(o); + return true; + }, + $isEquality: 1 + }; + M._DelegatingIterableBase.prototype = { + any$1: function(_, test) { + return C.JSArray_methods.any$1(this._wrappers$_base, this.$ti._eval$1("bool(1)")._as(test)); + }, + cast$1$0: function(_, $T) { + var t1 = this._wrappers$_base; + return new H.CastList(t1, H._arrayInstanceType(t1)._eval$1("@<1>")._bind$1($T)._eval$1("CastList<1,2>")); + }, + contains$1: function(_, element) { + return C.JSArray_methods.contains$1(this._wrappers$_base, element); + }, + elementAt$1: function(_, index) { + return C.JSArray_methods.$index(this._wrappers$_base, index); + }, + every$1: function(_, test) { + return C.JSArray_methods.every$1(this._wrappers$_base, this.$ti._eval$1("bool(1)")._as(test)); + }, + expand$1$1: function(_, f, $T) { + var t1 = this._wrappers$_base, + t2 = H._arrayInstanceType(t1); + return new H.ExpandIterable(t1, t2._bind$1($T)._eval$1("Iterable<1>(2)")._as(this.$ti._bind$1($T)._eval$1("Iterable<1>(2)")._as(f)), t2._eval$1("@<1>")._bind$1($T)._eval$1("ExpandIterable<1,2>")); + }, + get$first: function(_) { + return C.JSArray_methods.get$first(this._wrappers$_base); + }, + firstWhere$2$orElse: function(_, test, orElse) { + var t1 = this.$ti; + return C.JSArray_methods.firstWhere$2$orElse(this._wrappers$_base, t1._eval$1("bool(1)")._as(test), t1._eval$1("1()?")._as(orElse)); + }, + fold$1$2: function(_, initialValue, combine, $T) { + return C.JSArray_methods.fold$1$2(this._wrappers$_base, $T._as(initialValue), this.$ti._bind$1($T)._eval$1("1(1,2)")._as(combine), $T); + }, + forEach$1: function(_, f) { + return C.JSArray_methods.forEach$1(this._wrappers$_base, this.$ti._eval$1("~(1)")._as(f)); + }, + get$isEmpty: function(_) { + return this._wrappers$_base.length === 0; + }, + get$isNotEmpty: function(_) { + return this._wrappers$_base.length !== 0; + }, + get$iterator: function(_) { + var t1 = this._wrappers$_base; + return new J.ArrayIterator(t1, t1.length, H._arrayInstanceType(t1)._eval$1("ArrayIterator<1>")); + }, + join$1: function(_, separator) { + return C.JSArray_methods.join$1(this._wrappers$_base, separator); + }, + get$last: function(_) { + return C.JSArray_methods.get$last(this._wrappers$_base); + }, + get$length: function(_) { + return this._wrappers$_base.length; + }, + map$1$1: function(_, f, $T) { + var t1 = this._wrappers$_base, + t2 = H._arrayInstanceType(t1); + return new H.MappedListIterable(t1, t2._bind$1($T)._eval$1("1(2)")._as(this.$ti._bind$1($T)._eval$1("1(2)")._as(f)), t2._eval$1("@<1>")._bind$1($T)._eval$1("MappedListIterable<1,2>")); + }, + map$1: function($receiver, f) { + return this.map$1$1($receiver, f, type$.dynamic); + }, + get$single: function(_) { + return C.JSArray_methods.get$single(this._wrappers$_base); + }, + skip$1: function(_, n) { + var t1 = this._wrappers$_base; + return H.SubListIterable$(t1, n, null, H._arrayInstanceType(t1)._precomputed1); + }, + take$1: function(_, n) { + var t1 = this._wrappers$_base; + return H.SubListIterable$(t1, 0, H.checkNotNullable(n, "count", type$.int), H._arrayInstanceType(t1)._precomputed1); + }, + toList$1$growable: function(_, growable) { + var t1 = this._wrappers$_base, + t2 = H._arrayInstanceType(t1); + return growable ? H.setRuntimeTypeInfo(t1.slice(0), t2) : J.JSArray_JSArray$markFixed(t1.slice(0), t2._precomputed1); + }, + toList$0: function($receiver) { + return this.toList$1$growable($receiver, true); + }, + toSet$0: function(_) { + var t1 = this._wrappers$_base; + return P.LinkedHashSet_LinkedHashSet$from(t1, H._arrayInstanceType(t1)._precomputed1); + }, + where$1: function(_, test) { + var t1 = this._wrappers$_base, + t2 = H._arrayInstanceType(t1); + return new H.WhereIterable(t1, t2._eval$1("bool(1)")._as(this.$ti._eval$1("bool(1)")._as(test)), t2._eval$1("WhereIterable<1>")); + }, + whereType$1$0: function(_, $T) { + return new H.WhereTypeIterable(this._wrappers$_base, $T._eval$1("WhereTypeIterable<0>")); + }, + toString$0: function(_) { + return P.IterableBase_iterableToFullString(this._wrappers$_base, "[", "]"); + }, + $isIterable: 1 + }; + M.DelegatingList.prototype = { + $index: function(_, index) { + return C.JSArray_methods.$index(this._wrappers$_base, H._asIntS(index)); + }, + $indexSet: function(_, index, value) { + C.JSArray_methods.$indexSet(this._wrappers$_base, H._asIntS(index), this.$ti._precomputed1._as(value)); + }, + $add: function(_, other) { + return C.JSArray_methods.$add(this._wrappers$_base, this.$ti._eval$1("List<1>")._as(other)); + }, + add$1: function(_, value) { + C.JSArray_methods.add$1(this._wrappers$_base, this.$ti._precomputed1._as(value)); + }, + addAll$1: function(_, iterable) { + C.JSArray_methods.addAll$1(this._wrappers$_base, this.$ti._eval$1("Iterable<1>")._as(iterable)); + }, + cast$1$0: function(_, $T) { + var t1 = this._wrappers$_base; + return new H.CastList(t1, H._arrayInstanceType(t1)._eval$1("@<1>")._bind$1($T)._eval$1("CastList<1,2>")); + }, + clear$0: function(_) { + C.JSArray_methods.set$length(this._wrappers$_base, 0); + }, + getRange$2: function(_, start, end) { + var t1 = this._wrappers$_base; + P.RangeError_checkValidRange(start, end, t1.length); + return H.SubListIterable$(t1, start, end, H._arrayInstanceType(t1)._precomputed1); + }, + indexOf$2: function(_, element, start) { + return C.JSArray_methods.indexOf$2(this._wrappers$_base, this.$ti._precomputed1._as(element), start); + }, + insert$2: function(_, index, element) { + C.JSArray_methods.insert$2(this._wrappers$_base, index, this.$ti._precomputed1._as(element)); + }, + insertAll$2: function(_, index, iterable) { + C.JSArray_methods.insertAll$2(this._wrappers$_base, index, this.$ti._eval$1("Iterable<1>")._as(iterable)); + }, + remove$1: function(_, value) { + return C.JSArray_methods.remove$1(this._wrappers$_base, value); + }, + removeAt$1: function(_, index) { + return C.JSArray_methods.removeAt$1(this._wrappers$_base, index); + }, + removeLast$0: function(_) { + var t1 = this._wrappers$_base; + if (0 >= t1.length) + return H.ioore(t1, -1); + return t1.pop(); + }, + removeRange$2: function(_, start, end) { + C.JSArray_methods.removeRange$2(this._wrappers$_base, start, end); + }, + removeWhere$1: function(_, test) { + var t1 = this._wrappers$_base; + test = H._arrayInstanceType(t1)._eval$1("bool(1)")._as(this.$ti._eval$1("bool(1)")._as(test)); + if (!!t1.fixed$length) + H.throwExpression(P.UnsupportedError$("removeWhere")); + C.JSArray_methods._removeWhere$2(t1, test, true); + }, + replaceRange$3: function(_, start, end, iterable) { + C.JSArray_methods.replaceRange$3(this._wrappers$_base, start, end, this.$ti._eval$1("Iterable<1>")._as(iterable)); + }, + get$reversed: function(_) { + var t1 = this._wrappers$_base; + return new H.ReversedListIterable(t1, H._arrayInstanceType(t1)._eval$1("ReversedListIterable<1>")); + }, + setRange$4: function(_, start, end, iterable, skipCount) { + C.JSArray_methods.setRange$4(this._wrappers$_base, start, H._asIntS(end), this.$ti._eval$1("Iterable<1>")._as(iterable), skipCount); + }, + setRange$3: function($receiver, start, end, iterable) { + return this.setRange$4($receiver, start, end, iterable, 0); + }, + sort$1: function(_, compare) { + C.JSArray_methods.sort$1(this._wrappers$_base, this.$ti._eval$1("int(1,1)?")._as(compare)); + }, + sort$0: function($receiver) { + return this.sort$1($receiver, null); + }, + sublist$2: function(_, start, end) { + return C.JSArray_methods.sublist$2(this._wrappers$_base, start, end); + }, + sublist$1: function($receiver, start) { + return this.sublist$2($receiver, start, null); + }, + $isEfficientLengthIterable: 1, + $isList: 1 + }; + S.Color.prototype = { + get$hashCode: function(_) { + return 65536 * J.toInt$0$n(this.r) + 256 * J.toInt$0$n(this.g) + J.toInt$0$n(this.b); + }, + $eq: function(_, other) { + if (other == null) + return false; + return other instanceof S.Color && this.get$hashCode(this) === other.get$hashCode(other); + }, + $index: function(_, key) { + var thisAsMap, t1, _this = this; + H._asStringS(key); + thisAsMap = P.LinkedHashMap_LinkedHashMap$_literal(["r", _this.r, "g", _this.g, "b", _this.b], type$.String, type$.num); + if (!thisAsMap.containsKey$1(0, key)) + throw H.wrapException(P.ArgumentError$("`" + H.S(key) + "` is not a valid key for a " + H.getRuntimeType(_this).toString$0(0))); + t1 = thisAsMap.$index(0, key); + t1.toString; + return t1; + } + }; + S.HexColor.prototype = { + get$rHex: function() { + return C.JSString_methods.padLeft$2(C.JSInt_methods.toRadixString$1(J.toInt$0$n(this.r), 16), 2, "0"); + }, + get$gHex: function() { + return C.JSString_methods.padLeft$2(C.JSInt_methods.toRadixString$1(J.toInt$0$n(this.g), 16), 2, "0"); + }, + get$bHex: function() { + return C.JSString_methods.padLeft$2(C.JSInt_methods.toRadixString$1(J.toInt$0$n(this.b), 16), 2, "0"); + }, + toHexColor$0: function() { + return this; + }, + toString$0: function(_) { + return this.get$rHex() + this.get$gHex() + this.get$bHex(); + } + }; + S.RgbColor.prototype = { + toHexColor$0: function() { + return new S.HexColor(this.r, this.g, this.b); + }, + toString$0: function(_) { + return "r: " + H.S(this.r) + ", g: " + H.S(this.g) + ", b: " + H.S(this.b); + } + }; + Z.Draggable.prototype = { + get$onDragStart: function(_) { + var t1, _this = this; + if (_this._onDragStart == null) + _this.set$_onDragStart(P.StreamController_StreamController$broadcast(new Z.Draggable_onDragStart_closure(_this), true, type$.DraggableEvent)); + t1 = _this._onDragStart; + t1.toString; + return new P._BroadcastStream(t1, H._instanceType(t1)._eval$1("_BroadcastStream<1>")); + }, + get$onDrag: function(_) { + var t1, _this = this; + if (_this._onDrag == null) + _this.set$_onDrag(P.StreamController_StreamController$broadcast(new Z.Draggable_onDrag_closure(_this), true, type$.DraggableEvent)); + t1 = _this._onDrag; + t1.toString; + return new P._BroadcastStream(t1, H._instanceType(t1)._eval$1("_BroadcastStream<1>")); + }, + get$onDragEnd: function(_) { + var t1, _this = this; + if (_this._onDragEnd == null) + _this.set$_onDragEnd(P.StreamController_StreamController$broadcast(new Z.Draggable_onDragEnd_closure(_this), true, type$.DraggableEvent)); + t1 = _this._onDragEnd; + t1.toString; + return new P._BroadcastStream(t1, H._instanceType(t1)._eval$1("_BroadcastStream<1>")); + }, + get$_dnd$_elements: function() { + var t1 = this.__Draggable__elements; + return t1 === $ ? H.throwExpression(H.LateError$fieldNI("_elements")) : t1; + }, + _handleDragEnd$3$cancelled: function($event, target, cancelled) { + var t2, _this = this, + t1 = $._currentDrag; + if (t1 != null && t1.started) { + if (!cancelled && target != null) + Z._DragEventDispatcher_dispatchDrop(_this, target); + t1 = _this._onDragEnd; + if (t1 != null) { + t2 = $._currentDrag; + t2.toString; + t1.add$1(0, Z.DraggableEvent$_($event, t2, cancelled)); + } + if ($event != null) + J.preventDefault$0$x($event); + if (type$.MouseEvent._is($event)) + _this._suppressClickEvent$1($._currentDrag.element); + J.get$classes$x($._currentDrag.element).remove$1(0, "dnd-dragging"); + document.body.classList.remove("dnd-drag-occurring"); + } + _this._resetCurrentDrag$0(); + }, + _handleDragEnd$2: function($event, target) { + return this._handleDragEnd$3$cancelled($event, target, false); + }, + _suppressClickEvent$1: function(element) { + var t1 = J.get$onClick$x(element), + t2 = t1.$ti, + t3 = t2._eval$1("~(1)?")._as(new Z.Draggable__suppressClickEvent_closure()); + type$.nullable_void_Function._as(null); + P.Future_Future(new Z.Draggable__suppressClickEvent_closure0(W._EventStreamSubscription$(t1._html$_target, t1._eventType, t3, false, t2._precomputed1)), type$.Null); + }, + destroy$0: function() { + this._resetCurrentDrag$0(); + var t1 = this._eventManagers; + C.JSArray_methods.forEach$1(t1, new Z.Draggable_destroy_closure()); + C.JSArray_methods.set$length(t1, 0); + }, + _resetCurrentDrag$0: function() { + C.JSArray_methods.forEach$1(this._eventManagers, new Z.Draggable__resetCurrentDrag_closure()); + Z._DragEventDispatcher_reset(); + $._currentDrag = null; + }, + _clearTextSelections$0: function() { + var activeElement, exception, + t1 = window.getSelection(); + if (t1 != null) + t1.removeAllRanges(); + try { + activeElement = document.activeElement; + if (type$.TextAreaElement._is(activeElement)) + J.setSelectionRange$2$x(activeElement, 0, 0); + else if (type$.InputElement._is(activeElement)) + J.setSelectionRange$2$x(activeElement, 0, 0); + } catch (exception) { + H.unwrapException(exception); + } + }, + set$_onDragStart: function(_onDragStart) { + this._onDragStart = type$.nullable_StreamController_DraggableEvent._as(_onDragStart); + }, + set$_onDrag: function(_onDrag) { + this._onDrag = type$.nullable_StreamController_DraggableEvent._as(_onDrag); + }, + set$_onDragEnd: function(_onDragEnd) { + this._onDragEnd = type$.nullable_StreamController_DraggableEvent._as(_onDragEnd); + }, + set$__Draggable__elements: function(__Draggable__elements) { + this.__Draggable__elements = type$.nullable_List_Element._as(__Draggable__elements); + } + }; + Z.Draggable_onDragStart_closure.prototype = { + call$0: function() { + this.$this.set$_onDragStart(null); + return null; + }, + $signature: 0 + }; + Z.Draggable_onDrag_closure.prototype = { + call$0: function() { + this.$this.set$_onDrag(null); + return null; + }, + $signature: 0 + }; + Z.Draggable_onDragEnd_closure.prototype = { + call$0: function() { + this.$this.set$_onDragEnd(null); + return null; + }, + $signature: 0 + }; + Z.Draggable__suppressClickEvent_closure.prototype = { + call$1: function($event) { + type$.MouseEvent._as($event); + $event.stopPropagation(); + $event.preventDefault(); + }, + $signature: 77 + }; + Z.Draggable__suppressClickEvent_closure0.prototype = { + call$0: function() { + this.clickPreventer.cancel$0(0); + }, + $signature: 12 + }; + Z.Draggable_destroy_closure.prototype = { + call$1: function(m) { + return type$._EventManager._as(m).destroy$0(); + }, + $signature: 161 + }; + Z.Draggable__resetCurrentDrag_closure.prototype = { + call$1: function(m) { + return type$._EventManager._as(m).reset$0(0); + }, + $signature: 161 + }; + Z.DraggableEvent.prototype = {}; + Z._DragInfo.prototype = { + get$_dnd$_position: function(_) { + var t1 = this.___DragInfo__position; + return t1 === $ ? H.throwExpression(H.LateError$fieldNI("_position")) : t1; + }, + _constrainAxis$1: function(pos) { + type$.Point_num._as(pos); + return pos; + }, + set$___DragInfo__position: function(___DragInfo__position) { + this.___DragInfo__position = type$.nullable_Point_num._as(___DragInfo__position); + } + }; + Z._EventManager.prototype = { + _EventManager$1: function(drg) { + this.installStart$0(); + J.forEach$1$ax(this.drg.get$_dnd$_elements(), new Z._EventManager_closure()); + }, + installEscAndBlur$0: function() { + var t1 = this.dragSubs, + t2 = window, + t3 = type$.nullable_void_Function_legacy_KeyboardEvent._as(new Z._EventManager_installEscAndBlur_closure(this)); + type$.nullable_void_Function._as(null); + C.JSArray_methods.add$1(t1, W._EventStreamSubscription$(t2, "keydown", t3, false, type$.legacy_KeyboardEvent)); + C.JSArray_methods.add$1(t1, W._EventStreamSubscription$(window, "blur", type$.nullable_void_Function_legacy_Event._as(new Z._EventManager_installEscAndBlur_closure0(this)), false, type$.legacy_Event)); + }, + handleStart$2: function($event, position) { + var t2, _this = this, + t1 = type$.Point_num; + t1._as(position); + t2 = new Z._DragInfo(type$.Element._as(W._convertNativeToDart_EventTarget($event.currentTarget)), position, null, false, false); + t2.set$___DragInfo__position(t1._as(position)); + $._currentDrag = t2; + _this.installMove$0(); + _this.installEnd$0(); + _this.installCancel$0(); + _this.installEscAndBlur$0(); + }, + handleMove$3: function($event, position, clientPosition) { + var t2, t3, t4, dx, dy, realTarget, + t1 = type$.Point_num; + t1._as(position); + t1._as(clientPosition); + t2 = $._currentDrag; + t2.set$___DragInfo__position(t1._as(t2._constrainAxis$1(position))); + t1 = $._currentDrag; + if (!t1.started) { + t2 = t1.startPosition; + t1 = t2.$ti._as(t1.get$_dnd$_position(t1)); + t3 = t2.x; + t4 = t1.x; + if (typeof t3 !== "number") + return t3.$sub(); + if (typeof t4 !== "number") + return H.iae(t4); + dx = t3 - t4; + t2 = t2.y; + t1 = t1.y; + if (typeof t2 !== "number") + return t2.$sub(); + if (typeof t1 !== "number") + return H.iae(t1); + dy = t2 - t1; + if (Math.sqrt(dx * dx + dy * dy) >= 4) { + t1 = this.drg; + t2 = $._currentDrag; + t2.started = true; + t3 = t1._onDragStart; + if (t3 != null) + t3.add$1(0, Z.DraggableEvent$_($event, t2, false)); + J.get$classes$x($._currentDrag.element).add$1(0, "dnd-dragging"); + document.body.classList.add("dnd-drag-occurring"); + t1._clearTextSelections$0(); + } + } else { + realTarget = this._getRealTarget$1(clientPosition); + t1 = this.drg; + Z._DragEventDispatcher_dispatchEnterOverLeave(t1, realTarget); + t1 = t1._onDrag; + if (t1 != null) { + t2 = $._currentDrag; + t2.toString; + t1.add$1(0, Z.DraggableEvent$_($event, t2, false)); + } + } + }, + handleEnd$4: function($event, target, position, clientPosition) { + var t2, + t1 = type$.nullable_Point_num; + t1._as(position); + t1._as(clientPosition); + if (position != null && $._currentDrag != null) { + t1 = $._currentDrag; + t1.toString; + t2 = type$.Point_num; + t1.set$___DragInfo__position(t2._as(t1._constrainAxis$1(t2._as(position)))); + } + if (clientPosition != null) + this.drg._handleDragEnd$2($event, this._getRealTarget$2$target(clientPosition, target)); + }, + reset$0: function(_) { + var t1 = this.dragSubs; + C.JSArray_methods.forEach$1(t1, new Z._EventManager_reset_closure()); + C.JSArray_methods.set$length(t1, 0); + }, + destroy$0: function() { + this.reset$0(0); + var t1 = this.startSubs; + C.JSArray_methods.forEach$1(t1, new Z._EventManager_destroy_closure()); + C.JSArray_methods.set$length(t1, 0); + J.forEach$1$ax(this.drg.get$_dnd$_elements(), new Z._EventManager_destroy_closure0()); + }, + _getRealTargetFromPoint$1: function(clientPosition) { + var t1, t2; + type$.Point_num._as(clientPosition); + t1 = document; + t2 = t1.elementFromPoint(J.round$0$n(clientPosition.x), J.round$0$n(clientPosition.y)); + if (t2 == null) { + t1 = t1.body; + t1.toString; + } else + t1 = t2; + return t1; + }, + _getRealTarget$2$target: function(clientPosition, target) { + type$.Point_num._as(clientPosition); + if (target == null || !type$.Element._is(target)) + target = this._getRealTargetFromPoint$1(clientPosition); + return this._recursiveShadowDomTarget$2(clientPosition, target); + }, + _getRealTarget$1: function(clientPosition) { + return this._getRealTarget$2$target(clientPosition, null); + }, + _recursiveShadowDomTarget$2: function(clientPosition, target) { + var t1, newTarget; + type$.Point_num._as(clientPosition); + if (type$.Element._is(target)) + if ((target.shadowRoot || target.webkitShadowRoot) != null) + t1 = H.boolConversionCheck(target.hasAttribute("dnd-retarget")); + else + t1 = false; + else + t1 = false; + if (t1) { + t1 = target.shadowRoot || target.webkitShadowRoot; + t1.toString; + newTarget = t1.elementFromPoint(J.round$0$n(clientPosition.x), J.round$0$n(clientPosition.y)); + if (newTarget != null) + target = this._recursiveShadowDomTarget$2(clientPosition, newTarget); + } + return target; + }, + _isValidDragStartTarget$1: function(target) { + if (type$.Element._is(target) && J.matchesWithAncestors$1$x(target, "input, textarea, button, select, option")) + return false; + return true; + } + }; + Z._EventManager_closure.prototype = { + call$1: function(el) { + var t1 = type$.Element._as(el).style; + t1.toString; + C.CssStyleDeclaration_methods._setPropertyHelper$3(t1, C.CssStyleDeclaration_methods._browserPropertyName$1(t1, "touch-action"), "none", ""); + return "none"; + }, + $signature: 59 + }; + Z._EventManager_installEscAndBlur_closure.prototype = { + call$1: function(keyboardEvent) { + type$.KeyboardEvent._as(keyboardEvent); + if (J.get$keyCode$x(keyboardEvent) === 27) + this.$this.drg._handleDragEnd$3$cancelled(keyboardEvent, null, true); + }, + $signature: 258 + }; + Z._EventManager_installEscAndBlur_closure0.prototype = { + call$1: function($event) { + this.$this.drg._handleDragEnd$3$cancelled($event, null, true); + }, + $signature: 42 + }; + Z._EventManager_reset_closure.prototype = { + call$1: function(sub) { + return type$.StreamSubscription_dynamic._as(sub).cancel$0(0); + }, + $signature: 159 + }; + Z._EventManager_destroy_closure.prototype = { + call$1: function(sub) { + return type$.StreamSubscription_dynamic._as(sub).cancel$0(0); + }, + $signature: 159 + }; + Z._EventManager_destroy_closure0.prototype = { + call$1: function(el) { + var t1 = type$.Element._as(el).style; + t1.toString; + C.CssStyleDeclaration_methods._setPropertyHelper$3(t1, C.CssStyleDeclaration_methods._browserPropertyName$1(t1, "touch-action"), "", ""); + return ""; + }, + $signature: 59 + }; + Z._TouchManager.prototype = { + installStart$0: function() { + J.forEach$1$ax(this.drg.get$_dnd$_elements(), new Z._TouchManager_installStart_closure(this)); + }, + installMove$0: function() { + var t1 = document, + t2 = type$.nullable_void_Function_legacy_TouchEvent._as(new Z._TouchManager_installMove_closure(this)); + type$.nullable_void_Function._as(null); + C.JSArray_methods.add$1(this.dragSubs, W._EventStreamSubscription$(t1, "touchmove", t2, false, type$.legacy_TouchEvent)); + }, + installEnd$0: function() { + var t1 = document, + t2 = type$.nullable_void_Function_legacy_TouchEvent._as(new Z._TouchManager_installEnd_closure(this)); + type$.nullable_void_Function._as(null); + C.JSArray_methods.add$1(this.dragSubs, W._EventStreamSubscription$(t1, "touchend", t2, false, type$.legacy_TouchEvent)); + }, + installCancel$0: function() { + var t1 = document, + t2 = type$.nullable_void_Function_legacy_TouchEvent._as(new Z._TouchManager_installCancel_closure(this)); + type$.nullable_void_Function._as(null); + C.JSArray_methods.add$1(this.dragSubs, W._EventStreamSubscription$(t1, "touchcancel", t2, false, type$.legacy_TouchEvent)); + }, + isScrolling$1: function(currentPosition) { + type$.Point_num._as(currentPosition).$sub(0, $._currentDrag.startPosition); + return false; + } + }; + Z._TouchManager_installStart_closure.prototype = { + call$1: function(el) { + var t1 = this.$this, + t2 = J.get$onTouchStart$x(type$.Element._as(el)), + t3 = t2.$ti, + t4 = t3._eval$1("~(1)?")._as(new Z._TouchManager_installStart__closure(t1)); + type$.nullable_void_Function._as(null); + C.JSArray_methods.add$1(t1.startSubs, W._EventStreamSubscription$(t2._html$_target, t2._eventType, t4, false, t3._precomputed1)); + }, + $signature: 59 + }; + Z._TouchManager_installStart__closure.prototype = { + call$1: function($event) { + var t1, t2; + type$.TouchEvent._as($event); + if ($._currentDrag != null) + return; + t1 = $event.touches; + t2 = t1 != null; + if (t2 && t1.length > 1) + return; + if (t2) { + if (0 >= t1.length) + return H.ioore(t1, 0); + t1 = W._convertNativeToDart_EventTarget(t1[0].target); + t1.toString; + t1 = !this.$this._isValidDragStartTarget$1(t1); + } else + t1 = false; + if (t1) + return; + t1 = $event.touches; + if (t1 != null) { + if (0 >= t1.length) + return H.ioore(t1, 0); + t1 = t1[0]; + this.$this.handleStart$2($event, new P.Point(C.JSNumber_methods.round$0(t1.pageX), C.JSNumber_methods.round$0(t1.pageY), type$.Point_num)); + } + }, + $signature: 72 + }; + Z._TouchManager_installMove_closure.prototype = { + call$1: function($event) { + var t1, t2, _this = this; + type$.TouchEvent._as($event); + t1 = $event.touches; + if (t1 != null && t1.length > 1) { + _this.$this.drg._handleDragEnd$3$cancelled($event, null, true); + return; + } + t1 = $event.changedTouches; + if (t1 != null) { + if (!$._currentDrag.started) { + if (0 >= t1.length) + return H.ioore(t1, 0); + t1 = t1[0]; + t1 = _this.$this.isScrolling$1(new P.Point(C.JSNumber_methods.round$0(t1.pageX), C.JSNumber_methods.round$0(t1.pageY), type$.Point_num)); + } else + t1 = false; + if (t1) { + _this.$this.drg._handleDragEnd$3$cancelled($event, null, true); + return; + } + t1 = $event.changedTouches; + if (0 >= t1.length) + return H.ioore(t1, 0); + t1 = t1[0]; + t2 = type$.Point_num; + _this.$this.handleMove$3($event, new P.Point(C.JSNumber_methods.round$0(t1.pageX), C.JSNumber_methods.round$0(t1.pageY), t2), new P.Point(C.JSNumber_methods.round$0(t1.clientX), C.JSNumber_methods.round$0(t1.clientY), t2)); + } + $event.preventDefault(); + }, + $signature: 72 + }; + Z._TouchManager_installEnd_closure.prototype = { + call$1: function($event) { + var t1, t2, t3; + type$.TouchEvent._as($event); + t1 = $event.changedTouches; + t2 = t1 == null; + if (t2) + t3 = null; + else { + if (0 >= t1.length) + return H.ioore(t1, 0); + t3 = t1[0]; + t3 = new P.Point(C.JSNumber_methods.round$0(t3.pageX), C.JSNumber_methods.round$0(t3.pageY), type$.Point_num); + } + if (t2) + t1 = null; + else { + if (0 >= t1.length) + return H.ioore(t1, 0); + t1 = t1[0]; + t1 = new P.Point(C.JSNumber_methods.round$0(t1.clientX), C.JSNumber_methods.round$0(t1.clientY), type$.Point_num); + } + this.$this.handleEnd$4($event, null, t3, t1); + }, + $signature: 72 + }; + Z._TouchManager_installCancel_closure.prototype = { + call$1: function($event) { + this.$this.drg._handleDragEnd$3$cancelled(type$.TouchEvent._as($event), null, true); + }, + $signature: 72 + }; + Z._MouseManager.prototype = { + installStart$0: function() { + J.forEach$1$ax(this.drg.get$_dnd$_elements(), new Z._MouseManager_installStart_closure(this)); + }, + installMove$0: function() { + var t1 = document, + t2 = type$.nullable_void_Function_legacy_MouseEvent._as(new Z._MouseManager_installMove_closure(this)); + type$.nullable_void_Function._as(null); + C.JSArray_methods.add$1(this.dragSubs, W._EventStreamSubscription$(t1, "mousemove", t2, false, type$.legacy_MouseEvent)); + }, + installEnd$0: function() { + var t1 = document, + t2 = type$.nullable_void_Function_legacy_MouseEvent._as(new Z._MouseManager_installEnd_closure(this)); + type$.nullable_void_Function._as(null); + C.JSArray_methods.add$1(this.dragSubs, W._EventStreamSubscription$(t1, "mouseup", t2, false, type$.legacy_MouseEvent)); + }, + installCancel$0: function() { + } + }; + Z._MouseManager_installStart_closure.prototype = { + call$1: function(el) { + var t1 = this.$this, + t2 = J.get$onMouseDown$x(type$.Element._as(el)), + t3 = t2.$ti, + t4 = t3._eval$1("~(1)?")._as(new Z._MouseManager_installStart__closure(t1)); + type$.nullable_void_Function._as(null); + C.JSArray_methods.add$1(t1.startSubs, W._EventStreamSubscription$(t2._html$_target, t2._eventType, t4, false, t3._precomputed1)); + }, + $signature: 59 + }; + Z._MouseManager_installStart__closure.prototype = { + call$1: function($event) { + var t1, target, t2; + type$.MouseEvent._as($event); + if ($._currentDrag != null) + return; + if ($event.button !== 0) + return; + t1 = $event.target; + if (W._convertNativeToDart_EventTarget(t1) != null) { + t1 = W._convertNativeToDart_EventTarget(t1); + t1.toString; + t1 = !this.$this._isValidDragStartTarget$1(t1); + } else + t1 = false; + if (t1) + return; + target = W._convertNativeToDart_EventTarget($event.target); + if (!(type$.SelectElement._is(target) || type$.InputElement._is(target) || type$.TextAreaElement._is(target) || type$.ButtonElement._is(target) || type$.OptionElement._is(target))) + $event.preventDefault(); + t1 = $event.pageX; + t1.toString; + t2 = $event.pageY; + t2.toString; + this.$this.handleStart$2($event, new P.Point(t1, t2, type$.Point_num)); + }, + $signature: 77 + }; + Z._MouseManager_installMove_closure.prototype = { + call$1: function($event) { + var t1, t2, t3; + type$.MouseEvent._as($event); + t1 = $event.pageX; + t1.toString; + t2 = $event.pageY; + t2.toString; + t3 = type$.Point_num; + this.$this.handleMove$3($event, new P.Point(t1, t2, t3), new P.Point($event.clientX, $event.clientY, t3)); + }, + $signature: 77 + }; + Z._MouseManager_installEnd_closure.prototype = { + call$1: function($event) { + var t1, t2, t3, t4; + type$.MouseEvent._as($event); + t1 = W._convertNativeToDart_EventTarget($event.target); + t2 = $event.pageX; + t2.toString; + t3 = $event.pageY; + t3.toString; + t4 = type$.Point_num; + this.$this.handleEnd$4($event, t1, new P.Point(t2, t3, t4), new P.Point($event.clientX, $event.clientY, t4)); + }, + $signature: 77 + }; + Z._PointerManager.prototype = { + installStart$0: function() { + J.forEach$1$ax(this.drg.get$_dnd$_elements(), new Z._PointerManager_installStart_closure(this)); + }, + installMove$0: function() { + var t1 = document, + t2 = type$.nullable_void_Function_Event._as(new Z._PointerManager_installMove_closure(this)); + type$.nullable_void_Function._as(null); + C.JSArray_methods.add$1(this.dragSubs, W._EventStreamSubscription$(t1, "pointermove", t2, false, type$.Event)); + }, + installEnd$0: function() { + var t1 = document, + t2 = type$.nullable_void_Function_Event._as(new Z._PointerManager_installEnd_closure(this)); + type$.nullable_void_Function._as(null); + C.JSArray_methods.add$1(this.dragSubs, W._EventStreamSubscription$(t1, "pointerup", t2, false, type$.Event)); + }, + installCancel$0: function() { + var t1 = document, + t2 = type$.nullable_void_Function_Event._as(new Z._PointerManager_installCancel_closure(this)); + type$.nullable_void_Function._as(null); + C.JSArray_methods.add$1(this.dragSubs, W._EventStreamSubscription$(t1, "pointercancel", t2, false, type$.Event)); + } + }; + Z._PointerManager_installStart_closure.prototype = { + call$1: function(el) { + var t1, t2, t3, t4; + type$.Element._as(el); + t1 = this.$this; + el.toString; + t2 = new W.ElementEvents(el).$index(0, "pointerdown"); + t3 = t2.$ti; + t4 = t3._eval$1("~(1)?")._as(new Z._PointerManager_installStart__closure(t1)); + type$.nullable_void_Function._as(null); + C.JSArray_methods.add$1(t1.startSubs, W._EventStreamSubscription$(t2._html$_target, t2._eventType, t4, false, t3._precomputed1)); + }, + $signature: 59 + }; + Z._PointerManager_installStart__closure.prototype = { + call$1: function(e) { + var t1, target, t2; + type$.PointerEvent._as(e); + if ($._currentDrag != null) + return; + if (e.button !== 0) + return; + t1 = e.target; + if (W._convertNativeToDart_EventTarget(t1) != null) { + t1 = W._convertNativeToDart_EventTarget(t1); + t1.toString; + t1 = !this.$this._isValidDragStartTarget$1(t1); + } else + t1 = false; + if (t1) + return; + target = W._convertNativeToDart_EventTarget(e.target); + if (!(type$.SelectElement._is(target) || type$.InputElement._is(target) || type$.TextAreaElement._is(target) || type$.ButtonElement._is(target) || type$.OptionElement._is(target))) + e.preventDefault(); + t1 = e.pageX; + t1.toString; + t2 = e.pageY; + t2.toString; + this.$this.handleStart$2(e, new P.Point(t1, t2, type$.Point_num)); + }, + $signature: 42 + }; + Z._PointerManager_installMove_closure.prototype = { + call$1: function(e) { + var t1, t2, t3; + type$.PointerEvent._as(e); + t1 = e.pageX; + t1.toString; + t2 = e.pageY; + t2.toString; + t3 = type$.Point_num; + this.$this.handleMove$3(e, new P.Point(t1, t2, t3), new P.Point(e.clientX, e.clientY, t3)); + }, + $signature: 42 + }; + Z._PointerManager_installEnd_closure.prototype = { + call$1: function(e) { + var t1, t2, t3; + type$.PointerEvent._as(e); + t1 = e.pageX; + t1.toString; + t2 = e.pageY; + t2.toString; + t3 = type$.Point_num; + this.$this.handleEnd$4(e, null, new P.Point(t1, t2, t3), new P.Point(e.clientX, e.clientY, t3)); + }, + $signature: 42 + }; + Z._PointerManager_installCancel_closure.prototype = { + call$1: function($event) { + this.$this.drg._handleDragEnd$3$cancelled($event, null, true); + }, + $signature: 42 + }; + V.Int32.prototype = { + _toInt$1: function(val) { + if (val instanceof V.Int32) + return val._i; + else if (H._isInt(val)) + return val; + throw H.wrapException(P.ArgumentError$(val)); + }, + $sub: function(_, other) { + var t1; + if (other instanceof V.Int64) + return V.Int64_Int64(this._i).$sub(0, other); + t1 = this._i - this._toInt$1(other); + return new V.Int32((t1 & 2147483647) - ((t1 & 2147483648) >>> 0)); + }, + $eq: function(_, other) { + if (other == null) + return false; + if (other instanceof V.Int32) + return this._i === other._i; + else if (other instanceof V.Int64) + return V.Int64_Int64(this._i).$eq(0, other); + else if (H._isInt(other)) + return this._i === other; + return false; + }, + compareTo$1: function(_, other) { + if (other instanceof V.Int64) + return V.Int64_Int64(this._i)._compareTo$1(other); + return C.JSInt_methods.compareTo$1(this._i, this._toInt$1(other)); + }, + get$hashCode: function(_) { + return this._i; + }, + toString$0: function(_) { + return C.JSInt_methods.toString$0(this._i); + }, + $isComparable: 1 + }; + V.Int64.prototype = { + $sub: function(_, other) { + var o = V.Int64__promote(other); + return V.Int64__sub(this._l, this._m, this._fixnum$_h, o._l, o._m, o._fixnum$_h); + }, + $eq: function(_, other) { + var o, _this = this; + if (other == null) + return false; + if (other instanceof V.Int64) + o = other; + else if (H._isInt(other)) { + if (_this._fixnum$_h === 0 && _this._m === 0) + return _this._l === other; + if ((other & 4194303) === other) + return false; + o = V.Int64_Int64(other); + } else + o = other instanceof V.Int32 ? V.Int64_Int64(other._i) : null; + if (o != null) + return _this._l === o._l && _this._m === o._m && _this._fixnum$_h === o._fixnum$_h; + return false; + }, + compareTo$1: function(_, other) { + return this._compareTo$1(other); + }, + _compareTo$1: function(other) { + var o = V.Int64__promote(other), + t1 = this._fixnum$_h, + signa = t1 >>> 19, + t2 = o._fixnum$_h; + if (signa !== t2 >>> 19) + return signa === 0 ? 1 : -1; + if (t1 > t2) + return 1; + else if (t1 < t2) + return -1; + t1 = this._m; + t2 = o._m; + if (t1 > t2) + return 1; + else if (t1 < t2) + return -1; + t1 = this._l; + t2 = o._l; + if (t1 > t2) + return 1; + else if (t1 < t2) + return -1; + return 0; + }, + get$hashCode: function(_) { + var t1 = this._m; + return (((t1 & 1023) << 22 | this._l) ^ (this._fixnum$_h << 12 | t1 >>> 10 & 4095)) >>> 0; + }, + toString$0: function(_) { + var d00, d10, sign, + d0 = this._l, + d1 = this._m, + d2 = this._fixnum$_h; + if ((d2 & 524288) !== 0) { + d0 = 0 - d0; + d00 = d0 & 4194303; + d1 = 0 - d1 - (C.JSInt_methods._shrOtherPositive$1(d0, 22) & 1); + d10 = d1 & 4194303; + d2 = 0 - d2 - (C.JSInt_methods._shrOtherPositive$1(d1, 22) & 1) & 1048575; + d1 = d10; + d0 = d00; + sign = "-"; + } else + sign = ""; + return V.Int64__toRadixStringUnsigned(10, d0, d1, d2, sign); + }, + _toRadixString$1: function(radix) { + var d00, d10, sign, + d0 = this._l, + d1 = this._m, + d2 = this._fixnum$_h; + if ((d2 & 524288) !== 0) { + d0 = 0 - d0; + d00 = d0 & 4194303; + d1 = 0 - d1 - (C.JSInt_methods._shrOtherPositive$1(d0, 22) & 1); + d10 = d1 & 4194303; + d2 = 0 - d2 - (C.JSInt_methods._shrOtherPositive$1(d1, 22) & 1) & 1048575; + d1 = d10; + d0 = d00; + sign = "-"; + } else + sign = ""; + return V.Int64__toRadixStringUnsigned(radix, d0, d1, d2, sign); + }, + $isComparable: 1 + }; + G.post_closure.prototype = { + call$1: function(client) { + var _this = this; + return client._sendUnstreamed$5("POST", _this.url, type$.legacy_Map_of_legacy_String_and_legacy_String._as(_this.headers), _this.body, _this.encoding); + }, + $signature: 263 + }; + E.BaseClient.prototype = { + _sendUnstreamed$5: function(method, url, headers, body, encoding) { + return this._sendUnstreamed$body$BaseClient(method, url, type$.legacy_Map_of_legacy_String_and_legacy_String._as(headers), body, encoding); + }, + _sendUnstreamed$body$BaseClient: function(method, url, headers, body, encoding) { + var $async$goto = 0, + $async$completer = P._makeAsyncAwaitCompleter(type$.legacy_Response), + $async$returnValue, $async$self = this, t1, request, $async$temp1; + var $async$_sendUnstreamed$5 = P._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { + if ($async$errorCode === 1) + return P._asyncRethrow($async$result, $async$completer); + while (true) + switch ($async$goto) { + case 0: + // Function start + t1 = P.Uri_parse(url); + request = O.Request$(method, t1); + request.headers.addAll$1(0, headers); + if (body != null) + request.set$body(0, body); + $async$temp1 = U; + $async$goto = 3; + return P._asyncAwait($async$self.send$1(0, request), $async$_sendUnstreamed$5); + case 3: + // returning from await. + $async$returnValue = $async$temp1.Response_fromStream($async$result); + // goto return + $async$goto = 1; + break; + case 1: + // return + return P._asyncReturn($async$returnValue, $async$completer); + } + }); + return P._asyncStartSync($async$_sendUnstreamed$5, $async$completer); + }, + $isClient0: 1 + }; + G.BaseRequest.prototype = { + finalize$0: function() { + if (this._finalized) + throw H.wrapException(P.StateError$("Can't finalize a finalized Request.")); + this._finalized = true; + return null; + }, + toString$0: function(_) { + return this.method + " " + this.url.toString$0(0); + } + }; + G.BaseRequest_closure.prototype = { + call$2: function(key1, key2) { + H._asStringS(key1); + H._asStringS(key2); + return key1.toLowerCase() === key2.toLowerCase(); + }, + "call*": "call$2", + $requiredArgCount: 2, + $signature: 264 + }; + G.BaseRequest_closure0.prototype = { + call$1: function(key) { + return C.JSString_methods.get$hashCode(H._asStringS(key).toLowerCase()); + }, + $signature: 265 + }; + T.BaseResponse.prototype = { + BaseResponse$7$contentLength$headers$isRedirect$persistentConnection$reasonPhrase$request: function(statusCode, contentLength, headers, isRedirect, persistentConnection, reasonPhrase, request) { + var t1 = this.statusCode; + if (typeof t1 !== "number") + return t1.$lt(); + if (t1 < 100) + throw H.wrapException(P.ArgumentError$("Invalid status code " + t1 + ".")); + } + }; + O.BrowserClient.prototype = { + send$1: function(_, request) { + var $async$goto = 0, + $async$completer = P._makeAsyncAwaitCompleter(type$.legacy_StreamedResponse), + $async$returnValue, $async$handler = 2, $async$currentError, $async$next = [], $async$self = this, xhr, completer, bytes, t1, t2, t3, t4, t5; + var $async$send$1 = P._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { + if ($async$errorCode === 1) { + $async$currentError = $async$result; + $async$goto = $async$handler; + } + while (true) + switch ($async$goto) { + case 0: + // Function start + request.super$BaseRequest$finalize(); + $async$goto = 3; + return P._asyncAwait(new Z.ByteStream(P.Stream_Stream$fromIterable(H.setRuntimeTypeInfo([request._bodyBytes], type$.JSArray_legacy_List_legacy_int), type$.legacy_List_legacy_int)).toBytes$0(), $async$send$1); + case 3: + // returning from await. + bytes = $async$result; + xhr = new XMLHttpRequest(); + t1 = $async$self._xhrs; + t1.add$1(0, xhr); + t2 = xhr; + t3 = J.getInterceptor$x(t2); + t3.open$3$async(t2, request.method, request.url.toString$0(0), true); + t2.responseType = "blob"; + t3.set$withCredentials(t2, false); + request.headers.forEach$1(0, J.get$setRequestHeader$x(xhr)); + completer = new P._AsyncCompleter(new P._Future($.Zone__current, type$._Future_legacy_StreamedResponse), type$._AsyncCompleter_legacy_StreamedResponse); + t2 = type$.nullable_EventTarget; + t3 = type$._EventStream_legacy_ProgressEvent; + t4 = new W._EventStream(t2._as(xhr), "load", false, t3); + t5 = type$.void; + t4.get$first(t4).then$1$1(0, new O.BrowserClient_send_closure(xhr, completer, request), t5); + t3 = new W._EventStream(t2._as(xhr), "error", false, t3); + t3.get$first(t3).then$1$1(0, new O.BrowserClient_send_closure0(completer, request), t5); + J.send$1$x(xhr, bytes); + $async$handler = 4; + $async$goto = 7; + return P._asyncAwait(completer.future, $async$send$1); + case 7: + // returning from await. + t2 = $async$result; + $async$returnValue = t2; + $async$next = [1]; + // goto finally + $async$goto = 5; + break; + $async$next.push(6); + // goto finally + $async$goto = 5; + break; + case 4: + // uncaught + $async$next = [2]; + case 5: + // finally + $async$handler = 2; + t1.remove$1(0, xhr); + // goto the next finally handler + $async$goto = $async$next.pop(); + break; + case 6: + // after finally + case 1: + // return + return P._asyncReturn($async$returnValue, $async$completer); + case 2: + // rethrow + return P._asyncRethrow($async$currentError, $async$completer); + } + }); + return P._asyncStartSync($async$send$1, $async$completer); + }, + close$0: function(_) { + var t1; + for (t1 = this._xhrs, t1 = P._LinkedHashSetIterator$(t1, t1._collection$_modifications, H._instanceType(t1)._precomputed1); t1.moveNext$0();) + t1._collection$_current.abort(); + } + }; + O.BrowserClient_send_closure.prototype = { + call$1: function(_) { + var t1, blob, reader, t2, t3, t4, t5, t6; + type$.legacy_ProgressEvent._as(_); + t1 = this.xhr; + blob = type$.legacy_Blob._as(W._convertNativeToDart_XHR_Response(t1.response)); + if (blob == null) + blob = W.Blob_Blob([], null); + reader = new FileReader(); + t2 = type$._EventStream_legacy_ProgressEvent; + t3 = new W._EventStream(reader, "load", false, t2); + t4 = this.completer; + t5 = this.request; + t6 = type$.Null; + t3.get$first(t3).then$1$1(0, new O.BrowserClient_send__closure(reader, t4, t1, t5), t6); + t2 = new W._EventStream(reader, "error", false, t2); + t2.get$first(t2).then$1$1(0, new O.BrowserClient_send__closure0(t4, t5), t6); + reader.readAsArrayBuffer(blob); + }, + $signature: 78 + }; + O.BrowserClient_send__closure.prototype = { + call$1: function(_) { + var body, t1, t2, t3, t4, t5, t6, _this = this; + type$.legacy_ProgressEvent._as(_); + body = type$.legacy_Uint8List._as(C.FileReader_methods.get$result(_this.reader)); + t1 = P.Stream_Stream$fromIterable(H.setRuntimeTypeInfo([body], type$.JSArray_legacy_List_legacy_int), type$.legacy_List_legacy_int); + t2 = _this.xhr; + t3 = t2.status; + t4 = J.get$length$asx(body); + t5 = _this.request; + t6 = C.HttpRequest_methods.get$responseHeaders(t2); + t2 = t2.statusText; + t1 = new X.StreamedResponse(B.toByteStream(new Z.ByteStream(t1)), t5, t3, t2, t4, t6, false, true); + t1.BaseResponse$7$contentLength$headers$isRedirect$persistentConnection$reasonPhrase$request(t3, t4, t6, false, true, t2, t5); + _this.completer.complete$1(0, t1); + }, + $signature: 78 + }; + O.BrowserClient_send__closure0.prototype = { + call$1: function(error) { + this.completer.completeError$2(new E.ClientException(J.toString$0$(type$.legacy_ProgressEvent._as(error))), P.StackTrace_current()); + }, + $signature: 78 + }; + O.BrowserClient_send_closure0.prototype = { + call$1: function(_) { + type$.legacy_ProgressEvent._as(_); + this.completer.completeError$2(new E.ClientException("XMLHttpRequest error."), P.StackTrace_current()); + }, + $signature: 78 + }; + Z.ByteStream.prototype = { + toBytes$0: function() { + var t1 = new P._Future($.Zone__current, type$._Future_legacy_Uint8List), + completer = new P._AsyncCompleter(t1, type$._AsyncCompleter_legacy_Uint8List), + sink = new P._ByteCallbackSink(new Z.ByteStream_toBytes_closure(completer), new Uint8Array(1024)); + this.listen$4$cancelOnError$onDone$onError(sink.get$add(sink), true, sink.get$close(sink), completer.get$completeError()); + return t1; + } + }; + Z.ByteStream_toBytes_closure.prototype = { + call$1: function(bytes) { + return this.completer.complete$1(0, new Uint8Array(H._ensureNativeList(type$.legacy_List_legacy_int._as(bytes)))); + }, + $signature: 158 + }; + E.ClientException.prototype = { + toString$0: function(_) { + return this.message; + }, + $isException: 1, + get$message: function(receiver) { + return this.message; + } + }; + O.Request.prototype = { + get$encoding: function(_) { + var t1, t2, _this = this; + if (_this.get$_contentType() == null || !J.containsKey$1$x(_this.get$_contentType().parameters._collection$_map, "charset")) + return _this._defaultEncoding; + t1 = J.$index$asx(_this.get$_contentType().parameters._collection$_map, "charset"); + t2 = P.Encoding_getByName(t1); + return t2 == null ? H.throwExpression(P.FormatException$('Unsupported encoding "' + H.S(t1) + '".', null, null)) : t2; + }, + set$body: function(_, value) { + var contentType, t2, _this = this, + _s12_ = "content-type", + t1 = type$.legacy_List_legacy_int._as(_this.get$encoding(_this).encode$1(value)); + _this._checkFinalized$0(); + _this._bodyBytes = B.toUint8List(t1); + contentType = _this.get$_contentType(); + if (contentType == null) { + t1 = _this.get$encoding(_this); + t2 = type$.legacy_String; + _this.headers.$indexSet(0, _s12_, R.MediaType$("text", "plain", P.LinkedHashMap_LinkedHashMap$_literal(["charset", t1.get$name(t1)], t2, t2)).toString$0(0)); + } else if (!J.containsKey$1$x(contentType.parameters._collection$_map, "charset")) { + t1 = _this.get$encoding(_this); + t2 = type$.legacy_String; + _this.headers.$indexSet(0, _s12_, contentType.change$1$parameters(P.LinkedHashMap_LinkedHashMap$_literal(["charset", t1.get$name(t1)], t2, t2)).toString$0(0)); + } + }, + get$_contentType: function() { + var contentType = this.headers.$index(0, "content-type"); + if (contentType == null) + return null; + return R.MediaType_MediaType$parse(contentType); + }, + _checkFinalized$0: function() { + if (!this._finalized) + return; + throw H.wrapException(P.StateError$("Can't modify a finalized Request.")); + } + }; + U.Response.prototype = {}; + X.StreamedResponse.prototype = {}; + Z.CaseInsensitiveMap.prototype = {}; + Z.CaseInsensitiveMap$from_closure.prototype = { + call$1: function(key) { + return H._asStringS(key).toLowerCase(); + }, + $signature: 27 + }; + Z.CaseInsensitiveMap$from_closure0.prototype = { + call$1: function(key) { + return H._asStringS(key) != null; + }, + $signature: 48 + }; + R.MediaType.prototype = { + change$1$parameters: function(parameters) { + var t1, parameters0; + type$.legacy_Map_of_legacy_String_and_legacy_String._as(parameters); + t1 = type$.legacy_String; + parameters0 = P.LinkedHashMap_LinkedHashMap$from(this.parameters, t1, t1); + parameters0.addAll$1(0, parameters); + return R.MediaType$(this.type, this.subtype, parameters0); + }, + toString$0: function(_) { + var buffer = new P.StringBuffer(""), + t1 = this.type; + buffer._contents = t1; + t1 += "/"; + buffer._contents = t1; + buffer._contents = t1 + this.subtype; + t1 = this.parameters; + J.forEach$1$ax(t1._collection$_map, t1.$ti._eval$1("~(1,2)")._as(new R.MediaType_toString_closure(buffer))); + t1 = buffer._contents; + return t1.charCodeAt(0) == 0 ? t1 : t1; + } + }; + R.MediaType_MediaType$parse_closure.prototype = { + call$0: function() { + var t3, type, subtype, t4, parameters, t5, success, attribute, value, + t1 = this.mediaType, + scanner = new X.StringScanner(null, t1), + t2 = $.$get$whitespace(); + scanner.scan$1(t2); + t3 = $.$get$token(); + scanner.expect$1(t3); + type = scanner.get$lastMatch().$index(0, 0); + scanner.expect$1("/"); + scanner.expect$1(t3); + subtype = scanner.get$lastMatch().$index(0, 0); + scanner.scan$1(t2); + t4 = type$.legacy_String; + parameters = P.LinkedHashMap_LinkedHashMap$_empty(t4, t4); + while (true) { + t4 = scanner._lastMatch = C.JSString_methods.matchAsPrefix$2(";", t1, scanner._string_scanner$_position); + t5 = scanner._lastMatchPosition = scanner._string_scanner$_position; + success = t4 != null; + t4 = success ? scanner._lastMatchPosition = scanner._string_scanner$_position = t4.get$end(t4) : t5; + if (!success) + break; + t4 = scanner._lastMatch = t2.matchAsPrefix$2(0, t1, t4); + scanner._lastMatchPosition = scanner._string_scanner$_position; + if (t4 != null) + scanner._lastMatchPosition = scanner._string_scanner$_position = t4.get$end(t4); + scanner.expect$1(t3); + if (scanner._string_scanner$_position !== scanner._lastMatchPosition) + scanner._lastMatch = null; + attribute = scanner._lastMatch.$index(0, 0); + scanner.expect$1("="); + t4 = scanner._lastMatch = t3.matchAsPrefix$2(0, t1, scanner._string_scanner$_position); + t5 = scanner._lastMatchPosition = scanner._string_scanner$_position; + success = t4 != null; + if (success) { + t4 = scanner._lastMatchPosition = scanner._string_scanner$_position = t4.get$end(t4); + t5 = t4; + } else + t4 = t5; + if (success) { + if (t4 !== t5) + scanner._lastMatch = null; + value = scanner._lastMatch.$index(0, 0); + } else + value = N.expectQuotedString(scanner); + t4 = scanner._lastMatch = t2.matchAsPrefix$2(0, t1, scanner._string_scanner$_position); + scanner._lastMatchPosition = scanner._string_scanner$_position; + if (t4 != null) + scanner._lastMatchPosition = scanner._string_scanner$_position = t4.get$end(t4); + parameters.$indexSet(0, attribute, value); + } + scanner.expectDone$0(); + return R.MediaType$(type, subtype, parameters); + }, + $signature: 271 + }; + R.MediaType_toString_closure.prototype = { + call$2: function(attribute, value) { + var t1, t2; + H._asStringS(attribute); + H._asStringS(value); + t1 = this.buffer; + t1._contents += "; " + H.S(attribute) + "="; + t2 = $.$get$nonToken()._nativeRegExp; + if (typeof value != "string") + H.throwExpression(H.argumentErrorValue(value)); + if (t2.test(value)) { + t1._contents += '"'; + t2 = $.$get$_escapedChar(); + value.toString; + t2 = t1._contents += C.JSString_methods.splitMapJoin$2$onMatch(value, t2, type$.String_Function_Match._as(new R.MediaType_toString__closure())); + t1._contents = t2 + '"'; + } else + t1._contents += H.S(value); + }, + $signature: 272 + }; + R.MediaType_toString__closure.prototype = { + call$1: function(match) { + return "\\" + H.S(match.$index(0, 0)); + }, + $signature: 182 + }; + N.expectQuotedString_closure.prototype = { + call$1: function(match) { + return match.$index(0, 1); + }, + $signature: 182 + }; + Y.Level.prototype = { + $eq: function(_, other) { + if (other == null) + return false; + return other instanceof Y.Level && this.value === other.value; + }, + compareTo$1: function(_, other) { + return this.value - type$.Level._as(other).value; + }, + get$hashCode: function(_) { + return this.value; + }, + toString$0: function(_) { + return this.name; + }, + $isComparable: 1, + get$value: function(receiver) { + return this.value; + } + }; + L.LogRecord.prototype = { + toString$0: function(_) { + return "[" + this.level.name + "] " + this.loggerName + ": " + H.S(this.message); + }, + get$message: function(receiver) { + return this.message; + }, + get$stackTrace: function() { + return this.stackTrace; + } + }; + F.Logger.prototype = { + get$fullName: function() { + var t1 = this.parent, + t2 = t1 == null ? null : t1.name.length !== 0, + t3 = this.name; + return t2 === true ? t1.get$fullName() + "." + t3 : t3; + }, + get$level: function(_) { + var t1, effectiveLevel; + if (this.parent == null) { + t1 = this._level; + t1.toString; + effectiveLevel = t1; + } else { + t1 = $.$get$Logger_root(); + t1 = t1._level; + t1.toString; + effectiveLevel = t1; + } + return effectiveLevel; + }, + log$4: function(logLevel, message, error, stackTrace) { + var msg, record, _this = this, + t1 = logLevel.value; + if (t1 >= _this.get$level(_this).value) { + if (type$.Function._is(message)) + message = type$.nullable_Object_Function._as(message).call$0(); + msg = typeof message == "string" ? message : J.toString$0$(message); + if (stackTrace == null && t1 >= 2000) { + stackTrace = P.StackTrace_current(); + if (error == null) + error = "autogenerated stack trace for " + logLevel.toString$0(0) + " " + H.S(msg); + } + t1 = _this.get$fullName(); + Date.now(); + $.LogRecord__nextNumber = $.LogRecord__nextNumber + 1; + record = new L.LogRecord(logLevel, msg, t1, error, stackTrace); + if (_this.parent == null) + _this._publish$1(record); + else + $.$get$Logger_root()._publish$1(record); + } + }, + _publish$1: function(record) { + var t1 = this._controller; + return t1 == null ? null : t1.add$1(0, record); + } + }; + F.Logger_Logger_closure.prototype = { + call$0: function() { + var dot, $parent, t1, + thisName = this.name; + if (C.JSString_methods.startsWith$1(thisName, ".")) + H.throwExpression(P.ArgumentError$("name shouldn't start with a '.'")); + dot = C.JSString_methods.lastIndexOf$1(thisName, "."); + if (dot === -1) + $parent = thisName !== "" ? F.Logger_Logger("") : null; + else { + $parent = F.Logger_Logger(C.JSString_methods.substring$2(thisName, 0, dot)); + thisName = C.JSString_methods.substring$1(thisName, dot + 1); + } + t1 = P.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.Logger); + t1 = new F.Logger(thisName, $parent, t1, new P.UnmodifiableMapView(t1, type$.UnmodifiableMapView_String_Logger)); + if ($parent == null) + t1._level = C.Level_INFO_800; + else + $parent._children.$indexSet(0, thisName, t1); + return t1; + }, + $signature: 274 + }; + A.DomProps.prototype = { + get$$$isClassGenerated: function() { + return true; + }, + set$componentFactory: function(componentFactory) { + this.DomProps_componentFactory = type$.legacy_ReactComponentFactoryProxy._as(componentFactory); + }, + get$componentFactory: function() { + return this.DomProps_componentFactory; + }, + get$props: function(receiver) { + return this.props; + } + }; + A.SvgProps.prototype = { + get$$$isClassGenerated: function() { + return true; + }, + set$componentFactory: function(componentFactory) { + this.SvgProps_componentFactory = type$.legacy_ReactComponentFactoryProxy._as(componentFactory); + }, + $isDomProps: 1, + get$componentFactory: function() { + return this.SvgProps_componentFactory; + }, + get$props: function(receiver) { + return this.props; + } + }; + A._DomProps_UiProps_DomPropsMixin.prototype = {}; + A._SvgProps_UiProps_DomPropsMixin.prototype = {}; + A._SvgProps_UiProps_DomPropsMixin_SvgPropsMixin.prototype = {}; + Z.ErrorBoundaryProps.prototype = { + set$identicalErrorFrequencyTolerance: function(identicalErrorFrequencyTolerance) { + this.ErrorBoundaryProps_identicalErrorFrequencyTolerance = type$.legacy_Duration._as(identicalErrorFrequencyTolerance); + }, + set$loggerName: function(loggerName) { + this.ErrorBoundaryProps_loggerName = H._asStringS(loggerName); + }, + set$shouldLogErrors: function(shouldLogErrors) { + this.ErrorBoundaryProps_shouldLogErrors = H._asBoolS(shouldLogErrors); + }, + $isMap: 1, + $isUiProps0: 1, + $isUiProps: 1 + }; + Z.ErrorBoundaryState.prototype = { + set$hasError: function(hasError) { + this.ErrorBoundaryState_hasError = H._asBoolS(hasError); + }, + set$showFallbackUIOnError: function(showFallbackUIOnError) { + this.ErrorBoundaryState_showFallbackUIOnError = H._asBoolS(showFallbackUIOnError); + }, + $isMap: 1 + }; + Z.ErrorBoundaryComponent.prototype = { + get$consumedProps: function() { + return H.setRuntimeTypeInfo([], type$.JSArray_legacy_ConsumedProps); + }, + get$defaultProps: function(_) { + var t1 = this.typedPropsFactoryJs$1(new L.JsBackedMap({})); + t1.set$identicalErrorFrequencyTolerance(P.Duration$(0, 0, 5)); + t1.set$loggerName("over_react.ErrorBoundary"); + t1.set$shouldLogErrors(true); + return t1; + }, + get$initialState: function() { + var t1 = this.typedStateFactoryJs$1(new L.JsBackedMap({})); + t1.set$hasError(false); + t1.set$showFallbackUIOnError(true); + return t1; + }, + getDerivedStateFromError$1: function(error) { + var t1 = this.typedStateFactoryJs$1(new L.JsBackedMap({})); + t1.set$hasError(true); + t1.set$showFallbackUIOnError(true); + return t1; + }, + componentDidCatch$2: function(error, info) { + var _this = this; + if (_this._error_boundary$_cachedTypedProps.get$onComponentDidCatch() != null) + _this._error_boundary$_cachedTypedProps.onComponentDidCatch$2(error, info); + _this._error_boundary$_logErrorCaughtByErrorBoundary$2(error, info); + if (_this._error_boundary$_cachedTypedProps.get$onComponentIsUnrecoverable() != null) + _this._error_boundary$_cachedTypedProps.onComponentIsUnrecoverable$2(error, info); + }, + render$0: function(_) { + var t1, t2; + if (H.boolConversionCheck(this._error_boundary$_cachedTypedState.get$hasError())) { + t1 = A.DomProps$($.$get$div(), null); + t1.set$key(0, "ohnoes"); + t1.addTestId$1(string$.ErrorB_); + return t1.call$0(); + } + t1 = $.$get$RecoverableErrorBoundary().call$0(); + t1.addTestId$1("RecoverableErrorBoundary"); + t1.modifyProps$1(this.get$addUnconsumedProps()); + t2 = this._error_boundary$_cachedTypedProps; + return t1.call$1(t2.get$children(t2)); + }, + componentDidUpdate$3: function(prevProps, prevState, snapshot) { + var t1, childThatCausedError, _this = this; + if (H.boolConversionCheck(_this._error_boundary$_cachedTypedState.get$hasError())) { + t1 = Z._$$ErrorBoundaryProps__$$ErrorBoundaryProps(prevProps); + childThatCausedError = J.get$single$ax(t1.get$children(t1)); + t1 = _this._error_boundary$_cachedTypedProps; + if (!J.$eq$(childThatCausedError, J.get$single$ax(t1.get$children(t1)))) + _this.setState$1(0, _this.get$initialState()); + } + }, + get$_error_boundary$_loggerName: function() { + if (this._error_boundary$_cachedTypedProps.get$logger() != null) + return this._error_boundary$_cachedTypedProps.get$logger().name; + var t1 = this._error_boundary$_cachedTypedProps.get$loggerName(); + return t1 == null ? "over_react.ErrorBoundary" : t1; + }, + _error_boundary$_logErrorCaughtByErrorBoundary$2: function(error, info) { + var t1, message, t2; + if (!H.boolConversionCheck(this._error_boundary$_cachedTypedProps.get$shouldLogErrors())) + return; + t1 = J.getInterceptor$x(info); + message = string$.An_unr + H.S(t1.get$componentStack(info)); + t2 = this._error_boundary$_cachedTypedProps.get$logger(); + if (t2 == null) + t2 = F.Logger_Logger(this.get$_error_boundary$_loggerName()); + t1 = t1.get$dartStackTrace(info); + t2.toString; + t2.log$4(C.Level_SEVERE_1000, message, error, type$.nullable_StackTrace._as(t1)); + } + }; + Z.$ErrorBoundaryComponentFactory_closure.prototype = { + call$0: function() { + return new Z._$ErrorBoundaryComponent(null); + }, + "call*": "call$0", + $requiredArgCount: 0, + $signature: 275 + }; + Z._$$ErrorBoundaryProps.prototype = { + get$$$isClassGenerated: function() { + return true; + }, + get$componentFactory: function() { + var t1 = this.componentFactory; + return t1 == null ? $.$get$$ErrorBoundaryComponentFactory() : t1; + } + }; + Z._$$ErrorBoundaryProps$PlainMap.prototype = { + get$props: function(_) { + return this._error_boundary$_props; + } + }; + Z._$$ErrorBoundaryProps$JsMap.prototype = { + get$props: function(_) { + return this._error_boundary$_props; + } + }; + Z._$$ErrorBoundaryState.prototype = { + get$$$isClassGenerated: function() { + return true; + } + }; + Z._$$ErrorBoundaryState$JsMap.prototype = { + get$state: function(_) { + return this._error_boundary$_state; + } + }; + Z._$ErrorBoundaryComponent.prototype = { + get$props: function(_) { + return this._error_boundary$_cachedTypedProps; + }, + set$props: function(_, value) { + this.props = value; + this._error_boundary$_cachedTypedProps = Z._$$ErrorBoundaryProps$JsMap$(R.getBackingMap(value)); + }, + typedPropsFactoryJs$1: function(backingMap) { + return Z._$$ErrorBoundaryProps$JsMap$(backingMap); + }, + set$state: function(_, value) { + this.state = value; + this._error_boundary$_cachedTypedState = Z._$$ErrorBoundaryState$JsMap$(value); + }, + typedStateFactoryJs$1: function(backingMap) { + var t1 = new Z._$$ErrorBoundaryState$JsMap(new L.JsBackedMap({}), null, null); + t1.get$$$isClassGenerated(); + t1._error_boundary$_state = backingMap; + return t1; + }, + get$displayName: function(_) { + return "ErrorBoundary"; + }, + get$$$defaultConsumedProps: function() { + return C.Map_EU4AN.get$values(C.Map_EU4AN); + } + }; + Z.$ErrorBoundaryProps.prototype = { + get$onComponentDidCatch: function() { + var t1 = J.$index$asx(this.get$props(this), "ErrorBoundaryProps.onComponentDidCatch"); + if (t1 == null) + t1 = null; + return type$.legacy_dynamic_Function_2_dynamic_and_legacy_ReactErrorInfo._as(t1); + }, + get$onComponentIsUnrecoverable: function() { + var t1 = J.$index$asx(this.get$props(this), string$.ErrorBPo); + if (t1 == null) + t1 = null; + return type$.legacy_dynamic_Function_2_dynamic_and_legacy_ReactErrorInfo._as(t1); + }, + get$fallbackUIRenderer: function() { + var t1 = J.$index$asx(this.get$props(this), "ErrorBoundaryProps.fallbackUIRenderer"); + if (t1 == null) + t1 = null; + return type$.legacy_legacy_ReactElement_Function_2_dynamic_and_legacy_ReactErrorInfo._as(t1); + }, + set$identicalErrorFrequencyTolerance: function(value) { + J.$indexSet$ax(this.get$props(this), string$.ErrorBPi, value); + }, + get$loggerName: function() { + var t1 = J.$index$asx(this.get$props(this), "ErrorBoundaryProps.loggerName"); + return H._asStringS(t1 == null ? null : t1); + }, + set$loggerName: function(value) { + J.$indexSet$ax(this.get$props(this), "ErrorBoundaryProps.loggerName", value); + }, + get$shouldLogErrors: function() { + var t1 = J.$index$asx(this.get$props(this), "ErrorBoundaryProps.shouldLogErrors"); + return H._asBoolS(t1 == null ? null : t1); + }, + set$shouldLogErrors: function(value) { + J.$indexSet$ax(this.get$props(this), "ErrorBoundaryProps.shouldLogErrors", true); + }, + get$logger: function() { + var t1 = J.$index$asx(this.get$props(this), "ErrorBoundaryProps.logger"); + if (t1 == null) + t1 = null; + return type$.legacy_Logger._as(t1); + }, + onComponentDidCatch$2: function(arg0, arg1) { + return this.get$onComponentDidCatch().call$2(arg0, arg1); + }, + onComponentIsUnrecoverable$2: function(arg0, arg1) { + return this.get$onComponentIsUnrecoverable().call$2(arg0, arg1); + } + }; + Z.$ErrorBoundaryState.prototype = { + get$hasError: function() { + var t1 = F.DartValueWrapper_unwrapIfNeeded(this.get$state(this).jsObject["ErrorBoundaryState.hasError"]); + return H._asBoolS(t1 == null ? null : t1); + }, + set$hasError: function(value) { + this.get$state(this).jsObject["ErrorBoundaryState.hasError"] = F.DartValueWrapper_wrapIfNeeded(value); + }, + set$showFallbackUIOnError: function(value) { + this.get$state(this).jsObject["ErrorBoundaryState.showFallbackUIOnError"] = F.DartValueWrapper_wrapIfNeeded(value); + } + }; + Z._ErrorBoundaryComponent_UiStatefulComponent2_ErrorBoundaryApi.prototype = {}; + Z.__$$ErrorBoundaryProps_UiProps_ErrorBoundaryProps.prototype = { + set$identicalErrorFrequencyTolerance: function(identicalErrorFrequencyTolerance) { + this.ErrorBoundaryProps_identicalErrorFrequencyTolerance = type$.legacy_Duration._as(identicalErrorFrequencyTolerance); + }, + set$loggerName: function(loggerName) { + this.ErrorBoundaryProps_loggerName = H._asStringS(loggerName); + }, + set$shouldLogErrors: function(shouldLogErrors) { + this.ErrorBoundaryProps_shouldLogErrors = H._asBoolS(shouldLogErrors); + } + }; + Z.__$$ErrorBoundaryProps_UiProps_ErrorBoundaryProps_$ErrorBoundaryProps.prototype = {}; + Z.__$$ErrorBoundaryState_UiState_ErrorBoundaryState.prototype = { + set$hasError: function(hasError) { + this.ErrorBoundaryState_hasError = H._asBoolS(hasError); + }, + set$showFallbackUIOnError: function(showFallbackUIOnError) { + this.ErrorBoundaryState_showFallbackUIOnError = H._asBoolS(showFallbackUIOnError); + } + }; + Z.__$$ErrorBoundaryState_UiState_ErrorBoundaryState_$ErrorBoundaryState.prototype = {}; + O.ErrorBoundaryApi.prototype = {}; + E.RecoverableErrorBoundaryComponent.prototype = { + get$defaultProps: function(_) { + var t1 = this.typedPropsFactoryJs$1(new L.JsBackedMap({})); + t1.set$identicalErrorFrequencyTolerance(P.Duration$(0, 0, 5)); + t1.set$loggerName("over_react.ErrorBoundary"); + t1.set$shouldLogErrors(true); + return t1; + }, + get$initialState: function() { + var t1 = this.typedStateFactoryJs$1(new L.JsBackedMap({})); + t1.set$hasError(false); + t1.set$showFallbackUIOnError(this._error_boundary_recoverable$_cachedTypedProps.get$fallbackUIRenderer() != null); + return t1; + }, + getDerivedStateFromError$1: function(error) { + var t1 = this.typedStateFactoryJs$1(new L.JsBackedMap({})); + t1.set$hasError(true); + return t1; + }, + componentDidCatch$2: function(error, info) { + if (this._error_boundary_recoverable$_cachedTypedProps.get$onComponentDidCatch() != null) + this._error_boundary_recoverable$_cachedTypedProps.onComponentDidCatch$2(error, info); + this._handleErrorInComponentTree$2(error, info); + }, + componentDidUpdate$3: function(prevProps, prevState, snapshot) { + var t1, childThatCausedError, _this = this; + if (H.boolConversionCheck(_this._error_boundary_recoverable$_cachedTypedState.get$hasError())) { + t1 = E._$$RecoverableErrorBoundaryProps__$$RecoverableErrorBoundaryProps(prevProps); + childThatCausedError = J.get$single$ax(t1.get$children(t1)); + t1 = _this._error_boundary_recoverable$_cachedTypedProps; + if (!J.$eq$(childThatCausedError, J.get$single$ax(t1.get$children(t1)))) { + _this._resetInternalErrorTracking$0(); + t1 = _this.typedStateFactoryJs$1(new L.JsBackedMap({})); + t1.set$hasError(false); + t1.set$showFallbackUIOnError(_this._error_boundary_recoverable$_cachedTypedProps.get$fallbackUIRenderer() != null); + _this.setState$1(0, t1); + } + } + }, + render$0: function(_) { + var t1, t2, t3, _this = this; + if (H.boolConversionCheck(_this._error_boundary_recoverable$_cachedTypedState.get$hasError())) { + t1 = _this._error_boundary_recoverable$_cachedTypedState; + t1 = F.DartValueWrapper_unwrapIfNeeded(t1.get$state(t1).jsObject["ErrorBoundaryState.showFallbackUIOnError"]); + t1 = H.boolConversionCheck(H._asBoolS(t1 == null ? null : t1)); + } else + t1 = false; + if (t1) { + t1 = _this._error_boundary_recoverable$_cachedTypedProps.get$fallbackUIRenderer(); + if (t1 == null) + t1 = _this.get$_renderStringDomAfterUnrecoverableErrors(); + t2 = _this._errorLog; + t2 = t2.length !== 0 ? C.JSArray_methods.get$last(t2) : null; + t3 = _this._callStackLog; + return t1.call$2(t2, t3.length !== 0 ? C.JSArray_methods.get$last(t3) : null); + } + t1 = _this._error_boundary_recoverable$_cachedTypedProps; + return t1.get$children(t1); + }, + _handleErrorInComponentTree$2: function(error, info) { + var errorString, sameErrorWasThrownTwiceConsecutively, t2, i, t3, exception, _this = this, + t1 = J.getInterceptor$(error); + if (_this._error_boundary_recoverable$_cachedTypedProps.get$fallbackUIRenderer() != null) { + C.JSArray_methods.add$1(_this._errorLog, t1.toString$0(error)); + C.JSArray_methods.add$1(_this._callStackLog, info); + _this._logErrorCaughtByErrorBoundary$2(error, info); + return; + } else { + errorString = t1.toString$0(error); + t2 = J.getInterceptor$x(info); + i = 0; + while (true) { + t3 = _this._errorLog; + if (!(i < t3.length)) { + sameErrorWasThrownTwiceConsecutively = false; + break; + } + if (t3[i] == errorString) { + t3 = _this._callStackLog; + if (i >= t3.length) + return H.ioore(t3, i); + t3 = J.$eq$(J.get$componentStack$x(t3[i]), t2.get$componentStack(info)); + } else + t3 = false; + if (t3) { + sameErrorWasThrownTwiceConsecutively = true; + break; + } + ++i; + } + if (sameErrorWasThrownTwiceConsecutively) { + try { + t1 = type$.legacy_Element._as($.$get$findDOMNode().call$1(_this)); + _this._domAtTimeOfError = t1 == null ? null : J.get$innerHtml$x(t1); + } catch (exception) { + H.unwrapException(exception); + } + if (_this._error_boundary_recoverable$_cachedTypedProps.get$onComponentIsUnrecoverable() != null) + _this._error_boundary_recoverable$_cachedTypedProps.onComponentIsUnrecoverable$2(error, info); + _this._logErrorCaughtByErrorBoundary$3$isRecoverable(error, info, false); + } else { + C.JSArray_methods.add$1(_this._errorLog, t1.toString$0(error)); + C.JSArray_methods.add$1(_this._callStackLog, info); + _this._logErrorCaughtByErrorBoundary$2(error, info); + } + t1 = _this.typedStateFactoryJs$1(new L.JsBackedMap({})); + t1.set$hasError(true); + t1.set$showFallbackUIOnError(sameErrorWasThrownTwiceConsecutively); + _this.setState$1(0, t1); + _this._startIdenticalErrorTimer$0(); + } + }, + _renderStringDomAfterUnrecoverableErrors$2: function(_, __) { + var t2, t3, + t1 = A.DomProps$($.$get$div(), null); + t1.set$key(0, "ohnoes"); + t1.addTestId$1(string$.ErrorB_); + t2 = this._domAtTimeOfError; + if (t2 == null) + t2 = ""; + t3 = type$.legacy_String; + t3 = P.LinkedHashMap_LinkedHashMap$_literal(["__html", t2], t3, t3); + t2 = H._instanceType(t1); + t2._eval$1("MapViewMixin.K*")._as("dangerouslySetInnerHTML"); + t2._eval$1("MapViewMixin.V*")._as(t3); + J.$indexSet$ax(t1.get$_component_base$_map(), "dangerouslySetInnerHTML", t3); + return t1.call$0(); + }, + _startIdenticalErrorTimer$0: function() { + var t1, t2, t3, timer, _this = this; + if (_this._identicalErrorTimer != null) + return; + t1 = _this._error_boundary_recoverable$_cachedTypedProps; + t1 = t1.get$props(t1).$index(0, string$.ErrorBPi); + if (t1 == null) + t1 = null; + type$.legacy_Duration._as(t1); + t2 = type$.legacy_void_Function._as(_this.get$_resetInternalErrorTracking()); + t3 = _this.DisposableManagerProxy__disposableProxy; + if (t3 == null) + t3 = _this.DisposableManagerProxy__disposableProxy = new L.Disposable(P.HashSet_HashSet(type$.legacy_Future_dynamic), new P._AsyncCompleter(new P._Future($.Zone__current, type$._Future_Null), type$._AsyncCompleter_Null), P.HashSet_HashSet(type$.legacy__Disposable), C.DisposableState_0); + if (t1 == null) + H.throwExpression(P.ArgumentError$notNull("duration")); + if (t3._disposable$_state === C.DisposableState_2) + H.throwExpression(P.StateError$("Disposable.getManagedTimer not allowed, object is disposing")); + if (t3._didDispose.future._async$_state !== 0) + H.throwExpression(P.StateError$("Disposable.getManagedTimer not allowed, object is already disposed")); + timer = L._ObservableTimer$(t1, t2); + t3._addObservableTimerDisposable$1(timer); + _this._identicalErrorTimer = timer; + }, + _resetInternalErrorTracking$0: function() { + var t1, _this = this; + _this._domAtTimeOfError = null; + _this.set$_errorLog(H.setRuntimeTypeInfo([], type$.JSArray_legacy_String)); + _this.set$_callStackLog(H.setRuntimeTypeInfo([], type$.JSArray_legacy_ReactErrorInfo)); + t1 = _this._identicalErrorTimer; + if (t1 != null) { + t1._timer.cancel$0(0); + t1._disposable$_complete$0(); + } + _this._identicalErrorTimer = null; + }, + get$_loggerName: function() { + if (this._error_boundary_recoverable$_cachedTypedProps.get$logger() != null) + return this._error_boundary_recoverable$_cachedTypedProps.get$logger().name; + var t1 = this._error_boundary_recoverable$_cachedTypedProps.get$loggerName(); + return t1 == null ? "over_react.ErrorBoundary" : t1; + }, + _logErrorCaughtByErrorBoundary$3$isRecoverable: function(error, info, isRecoverable) { + var t1, message, t2; + if (!H.boolConversionCheck(this._error_boundary_recoverable$_cachedTypedProps.get$shouldLogErrors())) + return; + t1 = J.getInterceptor$x(info); + message = isRecoverable ? "An error was caught by an ErrorBoundary: \nInfo: " + H.S(t1.get$componentStack(info)) : string$.An_unr + H.S(t1.get$componentStack(info)); + t2 = this._error_boundary_recoverable$_cachedTypedProps.get$logger(); + if (t2 == null) + t2 = F.Logger_Logger(this.get$_loggerName()); + t1 = t1.get$dartStackTrace(info); + t2.toString; + t2.log$4(C.Level_SEVERE_1000, message, error, type$.nullable_StackTrace._as(t1)); + }, + _logErrorCaughtByErrorBoundary$2: function(error, info) { + return this._logErrorCaughtByErrorBoundary$3$isRecoverable(error, info, true); + }, + set$_errorLog: function(_errorLog) { + this._errorLog = type$.legacy_List_legacy_String._as(_errorLog); + }, + set$_callStackLog: function(_callStackLog) { + this._callStackLog = type$.legacy_List_legacy_ReactErrorInfo._as(_callStackLog); + } + }; + E.$RecoverableErrorBoundaryComponentFactory_closure.prototype = { + call$0: function() { + return new E._$RecoverableErrorBoundaryComponent(H.setRuntimeTypeInfo([], type$.JSArray_legacy_String), H.setRuntimeTypeInfo([], type$.JSArray_legacy_ReactErrorInfo), null); + }, + "call*": "call$0", + $requiredArgCount: 0, + $signature: 279 + }; + E._$$RecoverableErrorBoundaryProps.prototype = { + get$$$isClassGenerated: function() { + return true; + }, + get$componentFactory: function() { + var t1 = this.componentFactory; + return t1 == null ? $.$get$$RecoverableErrorBoundaryComponentFactory() : t1; + }, + $isRecoverableErrorBoundaryProps: 1 + }; + E._$$RecoverableErrorBoundaryProps$PlainMap.prototype = { + get$props: function(_) { + return this._error_boundary_recoverable$_props; + } + }; + E._$$RecoverableErrorBoundaryProps$JsMap.prototype = { + get$props: function(_) { + return this._error_boundary_recoverable$_props; + } + }; + E._$$RecoverableErrorBoundaryState.prototype = { + get$$$isClassGenerated: function() { + return true; + } + }; + E._$$RecoverableErrorBoundaryState$JsMap.prototype = { + get$state: function(_) { + return this._error_boundary_recoverable$_state; + } + }; + E._$RecoverableErrorBoundaryComponent.prototype = { + get$props: function(_) { + return this._error_boundary_recoverable$_cachedTypedProps; + }, + set$props: function(_, value) { + this.props = value; + this._error_boundary_recoverable$_cachedTypedProps = E._$$RecoverableErrorBoundaryProps$JsMap$(R.getBackingMap(value)); + }, + typedPropsFactoryJs$1: function(backingMap) { + return E._$$RecoverableErrorBoundaryProps$JsMap$(backingMap); + }, + set$state: function(_, value) { + this.state = value; + this._error_boundary_recoverable$_cachedTypedState = E._$$RecoverableErrorBoundaryState$JsMap$(value); + }, + typedStateFactoryJs$1: function(backingMap) { + var t1 = new E._$$RecoverableErrorBoundaryState$JsMap(new L.JsBackedMap({}), null, null); + t1.get$$$isClassGenerated(); + t1._error_boundary_recoverable$_state = backingMap; + return t1; + }, + get$displayName: function(_) { + return "RecoverableErrorBoundary"; + }, + get$$$defaultConsumedProps: function() { + return C.Map_EU4AN.get$values(C.Map_EU4AN); + } + }; + E._RecoverableErrorBoundaryComponent_UiStatefulComponent2_ErrorBoundaryApi.prototype = {}; + E.__$$RecoverableErrorBoundaryProps_UiProps_ErrorBoundaryProps.prototype = { + set$identicalErrorFrequencyTolerance: function(identicalErrorFrequencyTolerance) { + this.ErrorBoundaryProps_identicalErrorFrequencyTolerance = type$.legacy_Duration._as(identicalErrorFrequencyTolerance); + }, + set$loggerName: function(loggerName) { + this.ErrorBoundaryProps_loggerName = H._asStringS(loggerName); + }, + set$shouldLogErrors: function(shouldLogErrors) { + this.ErrorBoundaryProps_shouldLogErrors = H._asBoolS(shouldLogErrors); + } + }; + E.__$$RecoverableErrorBoundaryProps_UiProps_ErrorBoundaryProps_$ErrorBoundaryProps.prototype = {}; + E.__$$RecoverableErrorBoundaryState_UiState_ErrorBoundaryState.prototype = { + set$hasError: function(hasError) { + this.ErrorBoundaryState_hasError = H._asBoolS(hasError); + }, + set$showFallbackUIOnError: function(showFallbackUIOnError) { + this.ErrorBoundaryState_showFallbackUIOnError = H._asBoolS(showFallbackUIOnError); + } + }; + E.__$$RecoverableErrorBoundaryState_UiState_ErrorBoundaryState_$ErrorBoundaryState.prototype = {}; + Q.ReactPropsMixin.prototype = { + get$children: function(_) { + var _this = this, + _s8_ = "children", + value = J.$index$asx(_this.get$props(_this), _s8_); + if (value == null) + value = null; + if (type$.legacy_List_dynamic._is(value)) + return value; + if (value == null) + return J.containsKey$1$x(_this.get$props(_this), _s8_) ? C.List_empty : null; + return [value]; + }, + set$key: function(_, value) { + var t1 = this.get$props(this); + J.$indexSet$ax(t1, "key", value == null ? null : J.toString$0$(value)); + }, + set$ref: function(_, value) { + J.$indexSet$ax(this.get$props(this), "ref", value); + } + }; + Q.DomPropsMixin.prototype = { + get$checked: function(_) { + var t1 = F.DartValueWrapper_unwrapIfNeeded(this.get$props(this).jsObject.checked); + return H._asBoolS(t1 == null ? null : t1); + }, + set$checked: function(_, value) { + this.get$props(this).jsObject.checked = F.DartValueWrapper_wrapIfNeeded(value); + }, + set$disabled: function(_, value) { + this.get$props(this).jsObject.disabled = F.DartValueWrapper_wrapIfNeeded(value); + }, + set$_raw$DomProps$style: function(value) { + this.get$props(this).jsObject.style = F.DartValueWrapper_wrapIfNeeded(value); + }, + set$className: function(_, value) { + this.get$props(this).jsObject.className = F.DartValueWrapper_wrapIfNeeded(value); + }, + set$id: function(_, value) { + this.get$props(this).jsObject.id = F.DartValueWrapper_wrapIfNeeded(value); + }, + set$title: function(_, value) { + this.get$props(this).jsObject.title = F.DartValueWrapper_wrapIfNeeded(value); + }, + set$height: function(_, value) { + this.get$props(this).jsObject.height = F.DartValueWrapper_wrapIfNeeded(value); + }, + set$pattern: function(_, value) { + this.get$props(this).jsObject.pattern = F.DartValueWrapper_wrapIfNeeded(value); + }, + set$src: function(_, value) { + this.get$props(this).jsObject.src = F.DartValueWrapper_wrapIfNeeded(value); + }, + set$step: function(_, value) { + this.get$props(this).jsObject.step = F.DartValueWrapper_wrapIfNeeded(value); + }, + get$target: function(_) { + var t1 = F.DartValueWrapper_unwrapIfNeeded(this.get$props(this).jsObject.target); + return t1 == null ? null : t1; + }, + set$type: function(_, value) { + this.get$props(this).jsObject.type = F.DartValueWrapper_wrapIfNeeded(value); + }, + get$value: function(_) { + var t1 = F.DartValueWrapper_unwrapIfNeeded(this.get$props(this).jsObject.value); + return t1 == null ? null : t1; + }, + set$value: function(_, value) { + this.get$props(this).jsObject.value = F.DartValueWrapper_wrapIfNeeded(value); + }, + set$width: function(_, value) { + this.get$props(this).jsObject.width = F.DartValueWrapper_wrapIfNeeded(value); + }, + set$onChange: function(_, value) { + type$.legacy_dynamic_Function_legacy_SyntheticFormEvent._as(value); + this.get$props(this).jsObject.onChange = F.DartValueWrapper_wrapIfNeeded(value); + }, + set$onSubmit: function(_, value) { + type$.legacy_dynamic_Function_legacy_SyntheticFormEvent._as(value); + this.get$props(this).jsObject.onSubmit = F.DartValueWrapper_wrapIfNeeded(value); + }, + set$onClick: function(_, value) { + type$.legacy_dynamic_Function_legacy_SyntheticMouseEvent._as(value); + this.get$props(this).jsObject.onClick = F.DartValueWrapper_wrapIfNeeded(value); + }, + set$onMouseEnter: function(_, value) { + type$.legacy_dynamic_Function_legacy_SyntheticMouseEvent._as(value); + this.get$props(this).jsObject.onMouseEnter = F.DartValueWrapper_wrapIfNeeded(value); + }, + set$onMouseLeave: function(_, value) { + type$.legacy_dynamic_Function_legacy_SyntheticMouseEvent._as(value); + this.get$props(this).jsObject.onMouseLeave = F.DartValueWrapper_wrapIfNeeded(value); + }, + set$onMouseMove: function(_, value) { + type$.legacy_dynamic_Function_legacy_SyntheticMouseEvent._as(value); + this.get$props(this).jsObject.onMouseMove = F.DartValueWrapper_wrapIfNeeded(value); + }, + set$onMouseUp: function(_, value) { + type$.legacy_dynamic_Function_legacy_SyntheticMouseEvent._as(value); + this.get$props(this).jsObject.onMouseUp = F.DartValueWrapper_wrapIfNeeded(value); + }, + set$onPointerDown: function(value) { + type$.legacy_dynamic_Function_legacy_SyntheticPointerEvent._as(value); + this.get$props(this).jsObject.onPointerDown = F.DartValueWrapper_wrapIfNeeded(value); + }, + set$onPointerUp: function(value) { + type$.legacy_dynamic_Function_legacy_SyntheticPointerEvent._as(value); + this.get$props(this).jsObject.onPointerUp = F.DartValueWrapper_wrapIfNeeded(value); + } + }; + Q.SvgPropsMixin.prototype = { + set$cx: function(_, value) { + this.props.jsObject.cx = F.DartValueWrapper_wrapIfNeeded(value); + }, + set$cy: function(_, value) { + this.props.jsObject.cy = F.DartValueWrapper_wrapIfNeeded(value); + }, + set$d: function(_, value) { + this.props.jsObject.d = F.DartValueWrapper_wrapIfNeeded(value); + }, + set$dominantBaseline: function(value) { + this.props.jsObject.dominantBaseline = F.DartValueWrapper_wrapIfNeeded(value); + }, + set$dy: function(_, value) { + this.props.jsObject.dy = F.DartValueWrapper_wrapIfNeeded(value); + }, + set$fill: function(_, value) { + this.props.jsObject.fill = F.DartValueWrapper_wrapIfNeeded(value); + }, + set$fontSize: function(_, value) { + this.props.jsObject.fontSize = F.DartValueWrapper_wrapIfNeeded(value); + }, + get$offset: function(_) { + var t1 = F.DartValueWrapper_unwrapIfNeeded(this.props.jsObject.offset); + return t1 == null ? null : t1; + }, + set$points: function(_, value) { + this.props.jsObject.points = F.DartValueWrapper_wrapIfNeeded(value); + }, + set$r: function(_, value) { + this.props.jsObject.r = F.DartValueWrapper_wrapIfNeeded(value); + }, + set$startOffset: function(_, value) { + this.props.jsObject.startOffset = F.DartValueWrapper_wrapIfNeeded(value); + }, + set$stroke: function(_, value) { + this.props.jsObject.stroke = F.DartValueWrapper_wrapIfNeeded(value); + }, + set$strokeWidth: function(value) { + this.props.jsObject.strokeWidth = F.DartValueWrapper_wrapIfNeeded(value); + }, + set$textAnchor: function(value) { + this.props.jsObject.textAnchor = F.DartValueWrapper_wrapIfNeeded(value); + }, + set$transform: function(_, value) { + this.props.jsObject.transform = F.DartValueWrapper_wrapIfNeeded(value); + }, + set$x: function(_, value) { + this.props.jsObject.x = F.DartValueWrapper_wrapIfNeeded(value); + }, + set$x1: function(_, value) { + this.props.jsObject.x1 = F.DartValueWrapper_wrapIfNeeded(value); + }, + set$x2: function(_, value) { + this.props.jsObject.x2 = F.DartValueWrapper_wrapIfNeeded(value); + }, + set$xlinkHref: function(value) { + this.props.jsObject.xlinkHref = F.DartValueWrapper_wrapIfNeeded(value); + }, + set$y1: function(_, value) { + this.props.jsObject.y1 = F.DartValueWrapper_wrapIfNeeded(value); + }, + set$y2: function(_, value) { + this.props.jsObject.y2 = F.DartValueWrapper_wrapIfNeeded(value); + }, + set$y: function(_, value) { + this.props.jsObject.y = F.DartValueWrapper_wrapIfNeeded(value); + } + }; + Q.UbiquitousDomPropsMixin.prototype = { + set$id: function(_, value) { + J.$indexSet$ax(this.get$props(this), "id", value); + }, + set$title: function(_, value) { + J.$indexSet$ax(this.get$props(this), "title", value); + }, + set$onChange: function(_, value) { + type$.legacy_dynamic_Function_legacy_SyntheticFormEvent._as(value); + J.$indexSet$ax(this.get$props(this), "onChange", value); + }, + set$onSubmit: function(_, value) { + type$.legacy_dynamic_Function_legacy_SyntheticFormEvent._as(value); + J.$indexSet$ax(this.get$props(this), "onSubmit", value); + }, + set$onClick: function(_, value) { + type$.legacy_dynamic_Function_legacy_SyntheticMouseEvent._as(value); + J.$indexSet$ax(this.get$props(this), "onClick", value); + }, + set$onMouseEnter: function(_, value) { + type$.legacy_dynamic_Function_legacy_SyntheticMouseEvent._as(value); + J.$indexSet$ax(this.get$props(this), "onMouseEnter", value); + }, + set$onMouseLeave: function(_, value) { + type$.legacy_dynamic_Function_legacy_SyntheticMouseEvent._as(value); + J.$indexSet$ax(this.get$props(this), "onMouseLeave", value); + }, + set$onMouseMove: function(_, value) { + type$.legacy_dynamic_Function_legacy_SyntheticMouseEvent._as(value); + J.$indexSet$ax(this.get$props(this), "onMouseMove", value); + }, + set$onMouseUp: function(_, value) { + type$.legacy_dynamic_Function_legacy_SyntheticMouseEvent._as(value); + J.$indexSet$ax(this.get$props(this), "onMouseUp", value); + }, + set$onPointerDown: function(value) { + type$.legacy_dynamic_Function_legacy_SyntheticPointerEvent._as(value); + J.$indexSet$ax(this.get$props(this), "onPointerDown", value); + }, + set$onPointerUp: function(value) { + type$.legacy_dynamic_Function_legacy_SyntheticPointerEvent._as(value); + J.$indexSet$ax(this.get$props(this), "onPointerUp", value); + } + }; + B.GeneratedClass.prototype = {}; + B.UiProps0.prototype = { + get$props: function(_) { + return H.throwExpression(B.UngeneratedError$(C.Symbol_props, null)); + } + }; + B.UiState.prototype = { + get$state: function(_) { + return H.throwExpression(B.UngeneratedError$(C.Symbol_state, null)); + } + }; + B.UngeneratedError.prototype = { + toString$0: function(_) { + return "UngeneratedError: " + C.JSString_methods.trimRight$0(this.message) + ".\n\nEnsure that you're running a build via build_runner."; + }, + get$message: function(receiver) { + return this.message; + } + }; + B._UiProps_UiProps_GeneratedClass.prototype = {}; + B._UiState_UiState_GeneratedClass.prototype = {}; + S.UiState0.prototype = {$isMap: 1}; + S.UiProps.prototype = { + modifyProps$1: function(modifier) { + type$.legacy_dynamic_Function_legacy_Map_dynamic_dynamic._as(modifier); + modifier.call$1(this); + }, + addTestId$1: function(value) { + var _this = this, + _s12_ = "data-test-id"; + return; + if (H._asStringS(J.$index$asx(_this.get$props(_this), _s12_)) == null) + J.$indexSet$ax(_this.get$props(_this), _s12_, value); + else + J.$indexSet$ax(_this.get$props(_this), _s12_, J.$add$ansx(H._asStringS(J.$index$asx(_this.get$props(_this), _s12_)), " " + value)); + }, + call$10: function(c1, c2, c3, c4, c5, c6, c7, c8, c9, c10) { + var childArguments, t1, t2, t3; + if (c1 === C.C_NotSpecified) + childArguments = C.List_empty; + else if (c2 === C.C_NotSpecified) + childArguments = [c1]; + else if (c3 === C.C_NotSpecified) + childArguments = [c1, c2]; + else if (c4 === C.C_NotSpecified) + childArguments = [c1, c2, c3]; + else if (c5 === C.C_NotSpecified) + childArguments = [c1, c2, c3, c4]; + else if (c6 === C.C_NotSpecified) + childArguments = [c1, c2, c3, c4, c5]; + else if (c7 === C.C_NotSpecified) + childArguments = [c1, c2, c3, c4, c5, c6]; + else { + t1 = [c1, c2, c3, c4, c5, c6, c7, c8, c9, c10, C.C_NotSpecified, C.C_NotSpecified, C.C_NotSpecified, C.C_NotSpecified, C.C_NotSpecified, C.C_NotSpecified, C.C_NotSpecified, C.C_NotSpecified, C.C_NotSpecified, C.C_NotSpecified, C.C_NotSpecified, C.C_NotSpecified, C.C_NotSpecified, C.C_NotSpecified, C.C_NotSpecified, C.C_NotSpecified, C.C_NotSpecified, C.C_NotSpecified, C.C_NotSpecified, C.C_NotSpecified, C.C_NotSpecified, C.C_NotSpecified, C.C_NotSpecified, C.C_NotSpecified, C.C_NotSpecified, C.C_NotSpecified, C.C_NotSpecified, C.C_NotSpecified, C.C_NotSpecified, C.C_NotSpecified]; + t2 = H._arrayInstanceType(t1); + t3 = t2._eval$1("TakeWhileIterable<1>"); + childArguments = P.List_List$of(new H.TakeWhileIterable(t1, t2._eval$1("bool(1)")._as(new S.UiProps_call_closure()), t3), true, t3._eval$1("Iterable.E")); + } + return this.get$componentFactory().build$2(this.get$props(this), childArguments); + }, + call$1: function(c1) { + return this.call$10(c1, C.C_NotSpecified, C.C_NotSpecified, C.C_NotSpecified, C.C_NotSpecified, C.C_NotSpecified, C.C_NotSpecified, C.C_NotSpecified, C.C_NotSpecified, C.C_NotSpecified); + }, + call$2: function(c1, c2) { + return this.call$10(c1, c2, C.C_NotSpecified, C.C_NotSpecified, C.C_NotSpecified, C.C_NotSpecified, C.C_NotSpecified, C.C_NotSpecified, C.C_NotSpecified, C.C_NotSpecified); + }, + call$0: function() { + return this.call$10(C.C_NotSpecified, C.C_NotSpecified, C.C_NotSpecified, C.C_NotSpecified, C.C_NotSpecified, C.C_NotSpecified, C.C_NotSpecified, C.C_NotSpecified, C.C_NotSpecified, C.C_NotSpecified); + }, + call$3: function(c1, c2, c3) { + return this.call$10(c1, c2, c3, C.C_NotSpecified, C.C_NotSpecified, C.C_NotSpecified, C.C_NotSpecified, C.C_NotSpecified, C.C_NotSpecified, C.C_NotSpecified); + }, + call$4: function(c1, c2, c3, c4) { + return this.call$10(c1, c2, c3, c4, C.C_NotSpecified, C.C_NotSpecified, C.C_NotSpecified, C.C_NotSpecified, C.C_NotSpecified, C.C_NotSpecified); + }, + call$8: function(c1, c2, c3, c4, c5, c6, c7, c8) { + return this.call$10(c1, c2, c3, c4, c5, c6, c7, c8, C.C_NotSpecified, C.C_NotSpecified); + }, + call$7: function(c1, c2, c3, c4, c5, c6, c7) { + return this.call$10(c1, c2, c3, c4, c5, c6, c7, C.C_NotSpecified, C.C_NotSpecified, C.C_NotSpecified); + }, + set$componentFactory: function(componentFactory) { + this.componentFactory = type$.legacy_ReactComponentFactoryProxy._as(componentFactory); + }, + get$componentFactory: function() { + return this.componentFactory; + } + }; + S.UiProps_call_closure.prototype = { + call$1: function(child) { + return child !== C.C_NotSpecified; + }, + $signature: 57 + }; + S.PropsMapViewMixin.prototype = { + get$_component_base$_map: function() { + return this.get$props(this); + }, + toString$0: function(_) { + return H.getRuntimeType(this).toString$0(0) + ": " + H.S(M._prettyObj(this.get$props(this))); + } + }; + S.StateMapViewMixin.prototype = { + get$_component_base$_map: function() { + return this.get$state(this); + }, + toString$0: function(_) { + return H.getRuntimeType(this).toString$0(0) + ": " + H.S(M._prettyObj(this.get$state(this))); + } + }; + S.MapViewMixin.prototype = { + map$2$1: function(_, f, K2, V2) { + H._instanceType(this)._bind$1(K2)._bind$1(V2)._eval$1("MapEntry<1*,2*>*(MapViewMixin.K*,MapViewMixin.V*)*")._as(f); + return J.map$2$1$ax(this.get$_component_base$_map(), f, K2._eval$1("0*"), V2._eval$1("0*")); + }, + map$1: function($receiver, f) { + return this.map$2$1($receiver, f, type$.dynamic, type$.dynamic); + }, + get$entries: function(_) { + return J.get$entries$x(this.get$_component_base$_map()); + }, + removeWhere$1: function(_, predicate) { + H._instanceType(this)._eval$1("bool*(MapViewMixin.K*,MapViewMixin.V*)*")._as(predicate); + return J.removeWhere$1$ax(this.get$_component_base$_map(), predicate); + }, + cast$2$0: function(_, RK, RV) { + return J.cast$2$0$ax(this.get$_component_base$_map(), RK._eval$1("0*"), RV._eval$1("0*")); + }, + $index: function(_, key) { + return J.$index$asx(this.get$_component_base$_map(), key); + }, + $indexSet: function(_, key, value) { + var t1 = H._instanceType(this); + t1._eval$1("MapViewMixin.K*")._as(key); + t1._eval$1("MapViewMixin.V*")._as(value); + J.$indexSet$ax(this.get$_component_base$_map(), key, value); + }, + containsKey$1: function(_, key) { + return J.containsKey$1$x(this.get$_component_base$_map(), key); + }, + forEach$1: function(_, action) { + H._instanceType(this)._eval$1("~(MapViewMixin.K*,MapViewMixin.V*)*")._as(action); + J.forEach$1$ax(this.get$_component_base$_map(), action); + }, + get$isEmpty: function(_) { + return J.get$isEmpty$asx(this.get$_component_base$_map()); + }, + get$isNotEmpty: function(_) { + return J.get$isNotEmpty$asx(this.get$_component_base$_map()); + }, + get$length: function(_) { + return J.get$length$asx(this.get$_component_base$_map()); + }, + get$keys: function(_) { + return J.get$keys$x(this.get$_component_base$_map()); + }, + remove$1: function(_, key) { + return J.remove$1$ax(this.get$_component_base$_map(), key); + }, + get$values: function(_) { + return J.get$values$x(this.get$_component_base$_map()); + } + }; + S.PropDescriptor.prototype = {}; + S.PropsMeta.prototype = { + toString$0: function(_) { + return "PropsMeta:" + H.S(this.keys); + }, + $isConsumedProps: 1, + get$keys: function(receiver) { + return this.keys; + } + }; + S._AccessorMetaCollection.prototype = { + forMixin$1: function(mixinType) { + var meta = this._metaByMixin.$index(0, type$.legacy_Type._as(mixinType)); + return meta == null ? C.PropsMeta_List_empty_List_empty : meta; + }, + get$keys: function(_) { + var t1 = this._metaByMixin; + t1 = J.expand$1$1$ax(t1.get$values(t1), new S._AccessorMetaCollection_keys_closure(this), type$.legacy_String); + return P.List_List$of(t1, true, t1.$ti._eval$1("Iterable.E")); + } + }; + S._AccessorMetaCollection_keys_closure.prototype = { + call$1: function(meta) { + return J.get$keys$x(H._instanceType(this.$this)._eval$1("_AccessorMetaCollection.U*")._as(meta)); + }, + $signature: function() { + return H._instanceType(this.$this)._eval$1("List*(_AccessorMetaCollection.U*)"); + } + }; + S.PropsMetaCollection.prototype = {$isConsumedProps: 1, $isPropsMeta: 1}; + S._UiProps_MapBase_MapViewMixin.prototype = {}; + S._UiProps_MapBase_MapViewMixin_PropsMapViewMixin.prototype = {}; + S._UiProps_MapBase_MapViewMixin_PropsMapViewMixin_ReactPropsMixin.prototype = {}; + S._UiProps_MapBase_MapViewMixin_PropsMapViewMixin_ReactPropsMixin_UbiquitousDomPropsMixin.prototype = {}; + S._UiProps_MapBase_MapViewMixin_PropsMapViewMixin_ReactPropsMixin_UbiquitousDomPropsMixin_CssClassPropsMixin.prototype = {}; + S._UiState_Object_MapViewMixin.prototype = {}; + S._UiState_Object_MapViewMixin_StateMapViewMixin.prototype = {}; + Z.UiComponent2.prototype = { + get$props: function(_) { + throw H.wrapException(B.UngeneratedError$(C.Symbol_props, string$.x0ax0aThis)); + }, + get$$$defaultConsumedProps: function() { + return H.throwExpression(B.UngeneratedError$(C.Symbol_$defaultConsumedProps, null)); + }, + get$consumedProps: function() { + return this.get$$$defaultConsumedProps(); + }, + addUnconsumedProps$1: function(props) { + var consumedPropKeys = J.map$1$1$ax(this.get$consumedProps(), new Z.UiComponent2_addUnconsumedProps_closure(), type$.legacy_List_legacy_String); + R.forwardUnconsumedProps(this.get$props(this), consumedPropKeys, props); + } + }; + Z.UiComponent2_addUnconsumedProps_closure.prototype = { + call$1: function(consumedProps) { + type$.legacy_ConsumedProps._as(consumedProps); + return consumedProps.get$keys(consumedProps); + }, + $signature: 284 + }; + Z.UiStatefulComponent2.prototype = {}; + Z.UiStatefulMixin2.prototype = { + get$state: function(_) { + throw H.wrapException(B.UngeneratedError$(C.Symbol_state, string$.x0ax0aThis)); + } + }; + Z.UiComponent2BridgeImpl.prototype = {}; + Z._UiComponent2_Component2_DisposableManagerProxy.prototype = { + componentWillUnmount$0: function() { + this.super$Component2$componentWillUnmount(); + var t1 = this.DisposableManagerProxy__disposableProxy; + if (t1 != null) + t1.dispose$0(); + } + }; + Z._UiComponent2_Component2_DisposableManagerProxy_GeneratedClass.prototype = {}; + Z._UiStatefulComponent2_UiComponent2_UiStatefulMixin2.prototype = {}; + B.ComponentTypeMeta.prototype = {}; + Z.DisposableManagerProxy.prototype = {}; + M.NotSpecified.prototype = {}; + Y._ReduxDevToolsExtensionConnection.prototype = {}; + X.$ConnectPropsMixin.prototype = {}; + X.connect_closure.prototype = { + call$1: function(x) { + return x == null; + }, + $signature: 57 + }; + X.connect_closure0.prototype = { + call$1: function(x) { + return x == null; + }, + $signature: 57 + }; + X.connect_wrapWithConnect.prototype = { + call$1: function(factory) { + var dartComponentFactory, dartComponentClass, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, connectOptions, t15, hoc, _this = this, + t1 = _this.TProps; + t1._eval$1("0*([Map<@,@>*])*")._as(factory); + dartComponentFactory = factory.call$0().get$componentFactory(); + dartComponentClass = dartComponentFactory.get$type(dartComponentFactory); + B.enforceMinimumComponentVersionFor(dartComponentFactory); + t2 = new X.connect_wrapWithConnect_jsMapFromProps(); + t3 = new X.connect_wrapWithConnect_jsPropsToTProps(factory, t1); + t4 = new X.connect_wrapWithConnect_allowInteropWithArgCount(); + t5 = _this.mapStateToProps; + t6 = _this.TReduxState; + t7 = _this.mapStateToPropsWithOwnProps; + t8 = _this.makeMapStateToProps; + t9 = _this.makeMapStateToPropsWithOwnProps; + t10 = _this.mapDispatchToProps; + t11 = _this.mapDispatchToPropsWithOwnProps; + t12 = _this.makeMapDispatchToProps; + t13 = _this.makeMapDispatchToPropsWithOwnProps; + t14 = _this.context; + t14 = t14 == null ? null : t14.reactDartContext._jsThis; + if (t14 == null) + t14 = self.ReactRedux.ReactReduxContext; + connectOptions = {forwardRef: _this.forwardRef, pure: _this.pure, context: t14}; + t14 = type$.legacy_legacy_bool_Function_2_legacy_JsMap_and_legacy_JsMap; + t15 = J.getInterceptor$x(connectOptions); + t15.set$areOwnPropsEqual(connectOptions, P.allowInterop(new X.connect_wrapWithConnect_handleAreOwnPropsEqual(_this.areOwnPropsEqual, t3), t14)); + t15.set$areStatePropsEqual(connectOptions, P.allowInterop(new X.connect_wrapWithConnect_handleAreStatePropsEqual(_this.areStatePropsEqual, t3), t14)); + t15.set$areMergedPropsEqual(connectOptions, P.allowInterop(new X.connect_wrapWithConnect_handleAreMergedPropsEqual(_this.areMergedPropsEqual, t3), t14)); + t5 = new X.connect_wrapWithConnect_interopMapStateToPropsHandler(t5, t4, new X.connect_wrapWithConnect_handleMapStateToProps(t2, t5, t6), t7, new X.connect_wrapWithConnect_handleMapStateToPropsWithOwnProps(t2, t7, t3, t6), t8, new X.connect_wrapWithConnect_handleMakeMapStateToProps(t8, t3, t2, t4, t6), t9, new X.connect_wrapWithConnect_handleMakeMapStateToPropsWithOwnProps(t9, t3, t2, t4, t6)).call$0(); + t4 = new X.connect_wrapWithConnect_interopMapDispatchToPropsHandler(t10, t4, new X.connect_wrapWithConnect_handleMapDispatchToProps(t2, t10), t11, new X.connect_wrapWithConnect_handleMapDispatchToPropsWithOwnProps(t2, t11, t3), t12, new X.connect_wrapWithConnect_handleMakeMapDispatchToProps(t12, t3, t2, t4), t13, new X.connect_wrapWithConnect_handleMakeMapDispatchToPropsWithOwnProps(t13, t3, t2, t4)).call$0(); + hoc = X._jsConnect(t5, t4, null, connectOptions).call$1(type$.legacy_ReactClass._as(dartComponentClass)); + t2 = J.get$defaultProps$x(hoc); + self.Object.assign({}, t2); + dartComponentFactory.get$type(dartComponentFactory); + hoc._componentTypeMeta = new B.ComponentTypeMeta(false); + return new X.connect_wrapWithConnect_connectedFactory(factory, new A.ReactDartComponentFactoryProxy2(hoc, type$.ReactDartComponentFactoryProxy2_legacy_Component2), t1); + }, + $signature: function() { + return this.TProps._eval$1("0*([Map<@,@>*])*(0*([Map<@,@>*])*)"); + } + }; + X.connect_wrapWithConnect_jsMapFromProps.prototype = { + call$1: function(props) { + return L.jsBackingMapOrJsCopy(props instanceof S.UiProps ? props.get$props(props) : props); + }, + $signature: 285 + }; + X.connect_wrapWithConnect_jsPropsToTProps.prototype = { + call$1: function(jsProps) { + return this.factory.call$1(new L.JsBackedMap(jsProps)); + }, + $signature: function() { + return this.TProps._eval$1("0*(JsMap*)"); + } + }; + X.connect_wrapWithConnect_allowInteropWithArgCount.prototype = { + call$1$2: function(dartFunction, count, $T) { + var t1, interopFunction; + H.checkTypeBound($T, type$.legacy_Function, "T", "call"); + t1 = $T._eval$1("0*"); + interopFunction = P.allowInterop(t1._as(dartFunction), t1); + t1 = window.Object; + t1.defineProperty.apply(t1, H.setRuntimeTypeInfo([interopFunction, "length", P.jsify(P.LinkedHashMap_LinkedHashMap$_literal(["value", count], type$.legacy_String, type$.legacy_int))], type$.JSArray_legacy_Object)); + return interopFunction; + }, + call$2: function(dartFunction, count) { + return this.call$1$2(dartFunction, count, type$.legacy_Function); + }, + $signature: 286 + }; + X.connect_wrapWithConnect_handleMapStateToProps.prototype = { + call$1: function(jsState) { + return this.jsMapFromProps.call$1(this.mapStateToProps.call$1(G.DartValueWrapper_unwrapIfNeeded0(jsState, this.TReduxState._eval$1("0*")))); + }, + $signature: 150 + }; + X.connect_wrapWithConnect_handleMapStateToPropsWithOwnProps.prototype = { + call$2: function(jsState, jsOwnProps) { + var _this = this; + type$.legacy_JsMap._as(jsOwnProps); + return _this.jsMapFromProps.call$1(_this.mapStateToPropsWithOwnProps.call$2(G.DartValueWrapper_unwrapIfNeeded0(jsState, _this.TReduxState._eval$1("0*")), _this.jsPropsToTProps.call$1(jsOwnProps))); + }, + "call*": "call$2", + $requiredArgCount: 2, + $signature: 149 + }; + X.connect_wrapWithConnect_handleMakeMapStateToProps.prototype = { + call$2: function(initialJsState, initialJsOwnProps) { + var t1, _this = this; + type$.legacy_JsMap._as(initialJsOwnProps); + t1 = _this.TReduxState; + return _this.allowInteropWithArgCount.call$1$2(new X.connect_wrapWithConnect_handleMakeMapStateToProps_handleMakeMapStateToPropsFactory(_this.jsMapFromProps, _this.makeMapStateToProps.call$2(G.DartValueWrapper_unwrapIfNeeded0(initialJsState, t1._eval$1("0*")), _this.jsPropsToTProps.call$1(initialJsOwnProps)), t1), 1, type$.legacy_legacy_JsMap_Function_legacy_Object); + }, + "call*": "call$2", + $requiredArgCount: 2, + $signature: 291 + }; + X.connect_wrapWithConnect_handleMakeMapStateToProps_handleMakeMapStateToPropsFactory.prototype = { + call$1: function(jsState) { + return this.jsMapFromProps.call$1(this.mapToFactory.call$1(G.DartValueWrapper_unwrapIfNeeded0(jsState, this.TReduxState._eval$1("0*")))); + }, + $signature: 150 + }; + X.connect_wrapWithConnect_handleMakeMapStateToPropsWithOwnProps.prototype = { + call$2: function(initialJsState, initialJsOwnProps) { + var t1, t2, _this = this; + type$.legacy_JsMap._as(initialJsOwnProps); + t1 = _this.TReduxState; + t2 = _this.jsPropsToTProps; + return _this.allowInteropWithArgCount.call$1$2(new X.connect_wrapWithConnect_handleMakeMapStateToPropsWithOwnProps_handleMakeMapStateToPropsWithOwnPropsFactory(_this.jsMapFromProps, _this.makeMapStateToPropsWithOwnProps.call$2(G.DartValueWrapper_unwrapIfNeeded0(initialJsState, t1._eval$1("0*")), t2.call$1(initialJsOwnProps)), t2, t1), 2, type$.legacy_legacy_JsMap_Function_2_legacy_Object_and_legacy_JsMap); + }, + "call*": "call$2", + $requiredArgCount: 2, + $signature: 292 + }; + X.connect_wrapWithConnect_handleMakeMapStateToPropsWithOwnProps_handleMakeMapStateToPropsWithOwnPropsFactory.prototype = { + call$2: function(jsState, jsOwnProps) { + var _this = this; + type$.legacy_JsMap._as(jsOwnProps); + return _this.jsMapFromProps.call$1(_this.mapToFactory.call$2(G.DartValueWrapper_unwrapIfNeeded0(jsState, _this.TReduxState._eval$1("0*")), _this.jsPropsToTProps.call$1(jsOwnProps))); + }, + "call*": "call$2", + $requiredArgCount: 2, + $signature: 149 + }; + X.connect_wrapWithConnect_handleMapDispatchToProps.prototype = { + call$1: function(dispatch) { + return this.jsMapFromProps.call$1(this.mapDispatchToProps.call$1(type$.legacy_dynamic_Function_dynamic._as(dispatch))); + }, + $signature: 148 + }; + X.connect_wrapWithConnect_handleMapDispatchToPropsWithOwnProps.prototype = { + call$2: function(dispatch, jsOwnProps) { + return this.jsMapFromProps.call$1(this.mapDispatchToPropsWithOwnProps.call$2(type$.legacy_dynamic_Function_dynamic._as(dispatch), this.jsPropsToTProps.call$1(type$.legacy_JsMap._as(jsOwnProps)))); + }, + "call*": "call$2", + $requiredArgCount: 2, + $signature: 147 + }; + X.connect_wrapWithConnect_handleMakeMapDispatchToProps.prototype = { + call$2: function(dispatch, initialJsOwnProps) { + var _this = this; + return _this.allowInteropWithArgCount.call$1$2(new X.connect_wrapWithConnect_handleMakeMapDispatchToProps_handleMakeMapDispatchToPropsFactory(_this.jsMapFromProps, _this.makeMapDispatchToProps.call$2(type$.legacy_dynamic_Function_dynamic._as(dispatch), _this.jsPropsToTProps.call$1(type$.legacy_JsMap._as(initialJsOwnProps)))), 1, type$.legacy_legacy_JsMap_Function_legacy_dynamic_Function_dynamic); + }, + "call*": "call$2", + $requiredArgCount: 2, + $signature: 297 + }; + X.connect_wrapWithConnect_handleMakeMapDispatchToProps_handleMakeMapDispatchToPropsFactory.prototype = { + call$1: function(dispatch) { + return this.jsMapFromProps.call$1(this.mapToFactory.call$1(type$.legacy_dynamic_Function_dynamic._as(dispatch))); + }, + $signature: 148 + }; + X.connect_wrapWithConnect_handleMakeMapDispatchToPropsWithOwnProps.prototype = { + call$2: function(dispatch, initialJsOwnProps) { + var _this = this, + t1 = _this.jsPropsToTProps; + return _this.allowInteropWithArgCount.call$1$2(new X.connect_wrapWithConnect_handleMakeMapDispatchToPropsWithOwnProps_handleMakeMapDispatchToPropsWithOwnPropsFactory(_this.jsMapFromProps, _this.makeMapDispatchToPropsWithOwnProps.call$2(type$.legacy_dynamic_Function_dynamic._as(dispatch), t1.call$1(type$.legacy_JsMap._as(initialJsOwnProps))), t1), 2, type$.legacy_legacy_JsMap_Function_2_legacy_dynamic_Function_dynamic_and_legacy_JsMap); + }, + "call*": "call$2", + $requiredArgCount: 2, + $signature: 298 + }; + X.connect_wrapWithConnect_handleMakeMapDispatchToPropsWithOwnProps_handleMakeMapDispatchToPropsWithOwnPropsFactory.prototype = { + call$2: function(dispatch, jsOwnProps) { + return this.jsMapFromProps.call$1(this.mapToFactory.call$2(type$.legacy_dynamic_Function_dynamic._as(dispatch), this.jsPropsToTProps.call$1(type$.legacy_JsMap._as(jsOwnProps)))); + }, + "call*": "call$2", + $requiredArgCount: 2, + $signature: 147 + }; + X.connect_wrapWithConnect_handleAreOwnPropsEqual.prototype = { + call$2: function(jsNext, jsPrev) { + var t1 = type$.legacy_JsMap; + t1._as(jsNext); + t1._as(jsPrev); + t1 = this.jsPropsToTProps; + return this.areOwnPropsEqual.call$2(t1.call$1(jsNext), t1.call$1(jsPrev)); + }, + "call*": "call$2", + $requiredArgCount: 2, + $signature: 89 + }; + X.connect_wrapWithConnect_handleAreStatePropsEqual.prototype = { + call$2: function(jsNext, jsPrev) { + var t1 = type$.legacy_JsMap; + t1._as(jsNext); + t1._as(jsPrev); + t1 = this.jsPropsToTProps; + return this.areStatePropsEqual.call$2(t1.call$1(jsNext), t1.call$1(jsPrev)); + }, + "call*": "call$2", + $requiredArgCount: 2, + $signature: 89 + }; + X.connect_wrapWithConnect_handleAreMergedPropsEqual.prototype = { + call$2: function(jsNext, jsPrev) { + var t1 = type$.legacy_JsMap; + t1._as(jsNext); + t1._as(jsPrev); + t1 = this.jsPropsToTProps; + return this.areMergedPropsEqual.call$2(t1.call$1(jsNext), t1.call$1(jsPrev)); + }, + "call*": "call$2", + $requiredArgCount: 2, + $signature: 89 + }; + X.connect_wrapWithConnect_interopMapStateToPropsHandler.prototype = { + call$0: function() { + var _this = this; + if (_this.mapStateToProps != null) + return _this.allowInteropWithArgCount.call$1$2(_this.handleMapStateToProps, 1, type$.legacy_Function); + if (_this.mapStateToPropsWithOwnProps != null) + return _this.allowInteropWithArgCount.call$1$2(_this.handleMapStateToPropsWithOwnProps, 2, type$.legacy_Function); + return null; + }, + $signature: 146 + }; + X.connect_wrapWithConnect_interopMapDispatchToPropsHandler.prototype = { + call$0: function() { + return null; + }, + $signature: 146 + }; + X.connect_wrapWithConnect_connectedFactory.prototype = { + call$1: function(props) { + var t1 = this.factory.call$1(type$.legacy_Map_dynamic_dynamic._as(props)); + t1.set$componentFactory(this.hocFactoryProxy); + return t1; + }, + call$0: function() { + return this.call$1(null); + }, + "call*": "call$1", + $requiredArgCount: 0, + $defaultValues: function() { + return [null]; + }, + $signature: function() { + return this.TProps._eval$1("0*([Map<@,@>*])"); + } + }; + X.JsReactRedux.prototype = {}; + X.ReduxProviderProps.prototype = { + get$componentFactory: function() { + var t1 = self.ReactRedux.Provider; + if (t1 == null) + H.throwExpression(P.ArgumentError$(string$.x60jsCla)); + return new X.ReactJsReactReduxComponentFactoryProxy(t1, false, true, t1); + }, + get$$$isClassGenerated: function() { + return true; + }, + set$store: function(_, v) { + this.props.jsObject.store = F.DartValueWrapper_wrapIfNeeded(v); + }, + set$context: function(_, v) { + this.props.jsObject.context = F.DartValueWrapper_wrapIfNeeded(v); + }, + get$props: function(receiver) { + return this.props; + } + }; + X.ReduxProvider_closure.prototype = { + call$1: function(map) { + var t1 = {}; + t1 = new X.ReduxProviderProps(new L.JsBackedMap(t1), null, null); + t1.get$$$isClassGenerated(); + return t1; + }, + call$0: function() { + return this.call$1(null); + }, + $signature: 304 + }; + X.ReactJsReactReduxComponentFactoryProxy.prototype = { + build$2: function(props, childrenArgs) { + var propsForJs = L.JsBackedMap_JsBackedMap$from(props), + t1 = propsForJs.jsObject; + if (F.DartValueWrapper_unwrapIfNeeded(t1.store) != null) + t1.store = F.DartValueWrapper_wrapIfNeeded(X._reduxifyStore(type$.legacy_Store_dynamic._as(F.DartValueWrapper_unwrapIfNeeded(t1.store)))); + if (F.DartValueWrapper_unwrapIfNeeded(t1.context) != null) + t1.context = F.DartValueWrapper_wrapIfNeeded(F.DartValueWrapper_unwrapIfNeeded(t1.context).get$jsThis()); + return this.super$ReactJsContextComponentFactoryProxy$build(propsForJs, childrenArgs); + } + }; + X._reduxifyStore_closure.prototype = { + call$0: function() { + var t1 = this.store; + return G.DartValueWrapper_wrapIfNeeded0(t1.get$state(t1)); + }, + "call*": "call$0", + $requiredArgCount: 0, + $signature: 305 + }; + X._reduxifyStore_closure0.prototype = { + call$1: function(cb) { + var t2, + t1 = type$.legacy_Function; + t1._as(cb); + t2 = this.store; + t2 = t2.get$onChange(t2).listen$1(new X._reduxifyStore__closure(cb)); + return P.allowInterop(t2.get$cancel(t2), t1); + }, + $signature: 306 + }; + X._reduxifyStore__closure.prototype = { + call$1: function(_) { + this.cb.call$0(); + }, + $signature: 32 + }; + X._reduxifyStore_closure1.prototype = { + call$1: function(action) { + this.store.dispatch$1(action); + }, + $signature: 32 + }; + X.JsReactReduxStore.prototype = {}; + X.JsConnectOptions.prototype = {}; + X.ConnectPropsMixin.prototype = { + get$dispatch: function() { + var t1 = J.$index$asx(this.get$props(this), "dispatch"); + if (t1 == null) + t1 = null; + return type$.legacy_dynamic_Function_dynamic._as(t1); + }, + dispatch$1: function(arg0) { + return this.get$dispatch().call$1(arg0); + } + }; + S.CssClassPropsMixin.prototype = { + set$className: function(_, value) { + J.$indexSet$ax(this.get$props(this), "className", value); + } + }; + M.Context2.prototype = { + get$jsThis: function() { + return this.reactDartContext._jsThis; + } + }; + G.DartValueWrapper0.prototype = { + get$value: function(receiver) { + return this.value; + } + }; + M._indentString_closure.prototype = { + call$1: function(line) { + return C.JSString_methods.trimRight$0(C.JSString_methods.$add(" ", H._asStringS(line))); + }, + $signature: 27 + }; + M._prettyObj_closure.prototype = { + call$1: function(items) { + return J.contains$1$asx(H._asStringS(items), "\n"); + }, + $signature: 48 + }; + M._prettyObj_closure0.prototype = { + call$1: function(key) { + var t1, index, namespace, subkey; + if (typeof key == "string" && C.JSString_methods.contains$1(key, ".")) { + t1 = J.getInterceptor$asx(key); + index = t1.indexOf$1(key, "."); + namespace = t1.substring$2(key, 0, index); + subkey = t1.substring$1(key, index); + t1 = this.namespacedKeys; + if (t1.$index(0, namespace) == null) + t1.$indexSet(0, namespace, H.setRuntimeTypeInfo([], type$.JSArray_legacy_String)); + t1 = t1.$index(0, namespace); + (t1 && C.JSArray_methods).add$1(t1, subkey); + } else + C.JSArray_methods.add$1(this.otherKeys, key); + }, + $signature: 32 + }; + M._prettyObj_closure1.prototype = { + call$1: function(namespace) { + var subkeys, t1, t2, t3; + H._asStringS(namespace); + subkeys = this.namespacedKeys.$index(0, namespace); + t1 = H.S(namespace) + "\u2026\n"; + subkeys.toString; + t2 = H._arrayInstanceType(subkeys); + t3 = t2._eval$1("MappedListIterable<1,String*>"); + return t1 + M._indentString(new H.MappedListIterable(new H.MappedListIterable(subkeys, t2._eval$1("String*(1)")._as(new M._prettyObj_closure_renderSubKey(namespace, this.obj)), t3), t3._eval$1("String*(ListIterable.E)")._as(new M._prettyObj__closure()), t3._eval$1("MappedListIterable")).join$0(0)); + }, + $signature: 27 + }; + M._prettyObj_closure_renderSubKey.prototype = { + call$1: function(subkey) { + var value; + H._asStringS(subkey); + value = J.$index$asx(this.obj, H.S(this.namespace) + H.S(subkey)); + return C.JSString_methods.$add(H.S(subkey) + ": ", M._prettyObj(value)); + }, + $signature: 27 + }; + M._prettyObj__closure.prototype = { + call$1: function(pair) { + return J.$add$ansx(H._asStringS(pair), ",\n"); + }, + $signature: 27 + }; + M._prettyObj_closure2.prototype = { + call$1: function(key) { + return C.JSString_methods.$add(H.S(key) + ": ", M._prettyObj(J.$index$asx(this.obj, key))) + ","; + }, + $signature: 310 + }; + M._prettyObj_closure3.prototype = { + call$1: function(pair) { + return J.contains$1$asx(H._asStringS(pair), "\n"); + }, + $signature: 48 + }; + M.Context0.prototype = { + absolute$1: function(_, part1) { + var t2, parts, + t1 = type$.JSArray_nullable_String; + M._validateArgList("absolute", H.setRuntimeTypeInfo([part1, null, null, null, null, null, null, null, null, null, null, null, null, null, null], t1)); + t2 = this.style; + t2 = t2.rootLength$1(part1) > 0 && !t2.isRootRelative$1(part1); + if (t2) + return part1; + t2 = D.current(); + parts = H.setRuntimeTypeInfo([t2, part1, null, null, null, null, null, null, null, null, null, null, null, null, null, null], t1); + M._validateArgList("join", parts); + return this.joinAll$1(new H.WhereTypeIterable(parts, type$.WhereTypeIterable_String)); + }, + joinAll$1: function(parts) { + var t1, t2, t3, needsSeparator, isAbsoluteAndNotRootRelative, t4, t5, parsed, path, t6; + type$.Iterable_String._as(parts); + for (t1 = parts.$ti, t2 = t1._eval$1("bool(Iterable.E)")._as(new M.Context_joinAll_closure()), t3 = parts.get$iterator(parts), t1 = new H.WhereIterator(t3, t2, t1._eval$1("WhereIterator")), t2 = this.style, needsSeparator = false, isAbsoluteAndNotRootRelative = false, t4 = ""; t1.moveNext$0();) { + t5 = t3.get$current(t3); + if (t2.isRootRelative$1(t5) && isAbsoluteAndNotRootRelative) { + parsed = X.ParsedPath_ParsedPath$parse(t5, t2); + path = t4.charCodeAt(0) == 0 ? t4 : t4; + t4 = C.JSString_methods.substring$2(path, 0, t2.rootLength$2$withDrive(path, true)); + parsed.root = t4; + if (t2.needsSeparator$1(t4)) + C.JSArray_methods.$indexSet(parsed.separators, 0, t2.get$separator()); + t4 = parsed.toString$0(0); + } else if (t2.rootLength$1(t5) > 0) { + isAbsoluteAndNotRootRelative = !t2.isRootRelative$1(t5); + t4 = H.S(t5); + } else { + t6 = t5.length; + if (t6 !== 0) { + if (0 >= t6) + return H.ioore(t5, 0); + t6 = t2.containsSeparator$1(t5[0]); + } else + t6 = false; + if (!t6) + if (needsSeparator) + t4 += t2.get$separator(); + t4 += t5; + } + needsSeparator = t2.needsSeparator$1(t5); + } + return t4.charCodeAt(0) == 0 ? t4 : t4; + }, + split$1: function(_, path) { + var parsed = X.ParsedPath_ParsedPath$parse(path, this.style), + t1 = parsed.parts, + t2 = H._arrayInstanceType(t1), + t3 = t2._eval$1("WhereIterable<1>"); + parsed.set$parts(P.List_List$of(new H.WhereIterable(t1, t2._eval$1("bool(1)")._as(new M.Context_split_closure()), t3), true, t3._eval$1("Iterable.E"))); + t1 = parsed.root; + if (t1 != null) + C.JSArray_methods.insert$2(parsed.parts, 0, t1); + return parsed.parts; + }, + normalize$1: function(_, path) { + var parsed; + if (!this._needsNormalization$1(path)) + return path; + parsed = X.ParsedPath_ParsedPath$parse(path, this.style); + parsed.normalize$0(0); + return parsed.toString$0(0); + }, + _needsNormalization$1: function(path) { + var t1, root, i, start, previous, t2, t3, previousPrevious, codeUnit, t4; + path.toString; + t1 = this.style; + root = t1.rootLength$1(path); + if (root !== 0) { + if (t1 === $.$get$Style_windows()) + for (i = 0; i < root; ++i) + if (C.JSString_methods._codeUnitAt$1(path, i) === 47) + return true; + start = root; + previous = 47; + } else { + start = 0; + previous = null; + } + for (t2 = new H.CodeUnits(path).__internal$_string, t3 = t2.length, i = start, previousPrevious = null; i < t3; ++i, previousPrevious = previous, previous = codeUnit) { + codeUnit = C.JSString_methods.codeUnitAt$1(t2, i); + if (t1.isSeparator$1(codeUnit)) { + if (t1 === $.$get$Style_windows() && codeUnit === 47) + return true; + if (previous != null && t1.isSeparator$1(previous)) + return true; + if (previous === 46) + t4 = previousPrevious == null || previousPrevious === 46 || t1.isSeparator$1(previousPrevious); + else + t4 = false; + if (t4) + return true; + } + } + if (previous == null) + return true; + if (t1.isSeparator$1(previous)) + return true; + if (previous === 46) + t1 = previousPrevious == null || t1.isSeparator$1(previousPrevious) || previousPrevious === 46; + else + t1 = false; + if (t1) + return true; + return false; + }, + relative$1: function(path) { + var from, fromParsed, pathParsed, t3, t4, t5, _this = this, + _s26_ = 'Unable to find a path to "', + t1 = _this.style, + t2 = t1.rootLength$1(path); + if (t2 <= 0) + return _this.normalize$1(0, path); + from = D.current(); + if (t1.rootLength$1(from) <= 0 && t1.rootLength$1(path) > 0) + return _this.normalize$1(0, path); + if (t1.rootLength$1(path) <= 0 || t1.isRootRelative$1(path)) + path = _this.absolute$1(0, path); + if (t1.rootLength$1(path) <= 0 && t1.rootLength$1(from) > 0) + throw H.wrapException(X.PathException$(_s26_ + H.S(path) + '" from "' + H.S(from) + '".')); + fromParsed = X.ParsedPath_ParsedPath$parse(from, t1); + fromParsed.normalize$0(0); + pathParsed = X.ParsedPath_ParsedPath$parse(path, t1); + pathParsed.normalize$0(0); + t2 = fromParsed.parts; + t3 = t2.length; + if (t3 !== 0) { + if (0 >= t3) + return H.ioore(t2, 0); + t2 = J.$eq$(t2[0], "."); + } else + t2 = false; + if (t2) + return pathParsed.toString$0(0); + t2 = fromParsed.root; + t3 = pathParsed.root; + if (t2 != t3) + t2 = t2 == null || t3 == null || !t1.pathsEqual$2(t2, t3); + else + t2 = false; + if (t2) + return pathParsed.toString$0(0); + while (true) { + t2 = fromParsed.parts; + t3 = t2.length; + if (t3 !== 0) { + t4 = pathParsed.parts; + t5 = t4.length; + if (t5 !== 0) { + if (0 >= t3) + return H.ioore(t2, 0); + t2 = t2[0]; + if (0 >= t5) + return H.ioore(t4, 0); + t4 = t1.pathsEqual$2(t2, t4[0]); + t2 = t4; + } else + t2 = false; + } else + t2 = false; + if (!t2) + break; + C.JSArray_methods.removeAt$1(fromParsed.parts, 0); + C.JSArray_methods.removeAt$1(fromParsed.separators, 1); + C.JSArray_methods.removeAt$1(pathParsed.parts, 0); + C.JSArray_methods.removeAt$1(pathParsed.separators, 1); + } + t2 = fromParsed.parts; + t3 = t2.length; + if (t3 !== 0) { + if (0 >= t3) + return H.ioore(t2, 0); + t2 = J.$eq$(t2[0], ".."); + } else + t2 = false; + if (t2) + throw H.wrapException(X.PathException$(_s26_ + H.S(path) + '" from "' + H.S(from) + '".')); + t2 = type$.String; + C.JSArray_methods.insertAll$2(pathParsed.parts, 0, P.List_List$filled(fromParsed.parts.length, "..", false, t2)); + C.JSArray_methods.$indexSet(pathParsed.separators, 0, ""); + C.JSArray_methods.insertAll$2(pathParsed.separators, 1, P.List_List$filled(fromParsed.parts.length, t1.get$separator(), false, t2)); + t1 = pathParsed.parts; + t2 = t1.length; + if (t2 === 0) + return "."; + if (t2 > 1 && J.$eq$(C.JSArray_methods.get$last(t1), ".")) { + C.JSArray_methods.removeLast$0(pathParsed.parts); + t1 = pathParsed.separators; + if (0 >= t1.length) + return H.ioore(t1, -1); + t1.pop(); + if (0 >= t1.length) + return H.ioore(t1, -1); + t1.pop(); + C.JSArray_methods.add$1(t1, ""); + } + pathParsed.root = ""; + pathParsed.removeTrailingSeparators$0(); + return pathParsed.toString$0(0); + }, + withoutExtension$1: function(path) { + var i, t1, + parsed = X.ParsedPath_ParsedPath$parse(path, this.style); + for (i = parsed.parts.length - 1; i >= 0; --i) { + t1 = parsed.parts; + if (i >= t1.length) + return H.ioore(t1, i); + t1 = t1[i]; + t1.toString; + if (J.get$length$asx(t1) !== 0) { + C.JSArray_methods.$indexSet(parsed.parts, i, parsed._splitExtension$0()[0]); + break; + } + } + return parsed.toString$0(0); + }, + prettyUri$1: function(uri) { + var path, rel, _this = this, + typedUri = M._parseUri(uri); + if (typedUri.get$scheme() === "file" && _this.style == $.$get$Style_url()) + return typedUri.toString$0(0); + else if (typedUri.get$scheme() !== "file" && typedUri.get$scheme() !== "" && _this.style != $.$get$Style_url()) + return typedUri.toString$0(0); + path = _this.normalize$1(0, _this.style.pathFromUri$1(M._parseUri(typedUri))); + rel = _this.relative$1(path); + return _this.split$1(0, rel).length > _this.split$1(0, path).length ? path : rel; + } + }; + M.Context_joinAll_closure.prototype = { + call$1: function(part) { + return H._asStringS(part) !== ""; + }, + $signature: 61 + }; + M.Context_split_closure.prototype = { + call$1: function(part) { + return H._asStringS(part).length !== 0; + }, + $signature: 61 + }; + M._validateArgList_closure.prototype = { + call$1: function(arg) { + H._asStringQ(arg); + return arg == null ? "null" : '"' + arg + '"'; + }, + $signature: 311 + }; + B.InternalStyle.prototype = { + getRoot$1: function(path) { + var t1, + $length = this.rootLength$1(path); + if ($length > 0) + return J.substring$2$s(path, 0, $length); + if (this.isRootRelative$1(path)) { + if (0 >= path.length) + return H.ioore(path, 0); + t1 = path[0]; + } else + t1 = null; + return t1; + }, + pathsEqual$2: function(path1, path2) { + return path1 == path2; + } + }; + X.ParsedPath.prototype = { + get$basename: function() { + var _this = this, + t1 = type$.String, + copy = new X.ParsedPath(_this.style, _this.root, _this.isRootRelative, P.List_List$from(_this.parts, true, t1), P.List_List$from(_this.separators, true, t1)); + copy.removeTrailingSeparators$0(); + t1 = copy.parts; + if (t1.length === 0) { + t1 = _this.root; + return t1 == null ? "" : t1; + } + return C.JSArray_methods.get$last(t1); + }, + removeTrailingSeparators$0: function() { + var t1, t2, _this = this; + while (true) { + t1 = _this.parts; + if (!(t1.length !== 0 && J.$eq$(C.JSArray_methods.get$last(t1), ""))) + break; + C.JSArray_methods.removeLast$0(_this.parts); + t1 = _this.separators; + if (0 >= t1.length) + return H.ioore(t1, -1); + t1.pop(); + } + t1 = _this.separators; + t2 = t1.length; + if (t2 !== 0) + C.JSArray_methods.$indexSet(t1, t2 - 1, ""); + }, + normalize$0: function(_) { + var t1, t2, leadingDoubles, _i, part, t3, _this = this, + newParts = H.setRuntimeTypeInfo([], type$.JSArray_String); + for (t1 = _this.parts, t2 = t1.length, leadingDoubles = 0, _i = 0; _i < t1.length; t1.length === t2 || (0, H.throwConcurrentModificationError)(t1), ++_i) { + part = t1[_i]; + t3 = J.getInterceptor$(part); + if (!(t3.$eq(part, ".") || t3.$eq(part, ""))) + if (t3.$eq(part, "..")) { + t3 = newParts.length; + if (t3 !== 0) { + if (0 >= t3) + return H.ioore(newParts, -1); + newParts.pop(); + } else + ++leadingDoubles; + } else + C.JSArray_methods.add$1(newParts, part); + } + if (_this.root == null) + C.JSArray_methods.insertAll$2(newParts, 0, P.List_List$filled(leadingDoubles, "..", false, type$.String)); + if (newParts.length === 0 && _this.root == null) + C.JSArray_methods.add$1(newParts, "."); + _this.set$parts(newParts); + t1 = _this.style; + _this.set$separators(P.List_List$filled(newParts.length + 1, t1.get$separator(), true, type$.String)); + t2 = _this.root; + if (t2 == null || newParts.length === 0 || !t1.needsSeparator$1(t2)) + C.JSArray_methods.$indexSet(_this.separators, 0, ""); + t2 = _this.root; + if (t2 != null && t1 === $.$get$Style_windows()) { + t2.toString; + _this.root = H.stringReplaceAllUnchecked(t2, "/", "\\"); + } + _this.removeTrailingSeparators$0(); + }, + toString$0: function(_) { + var i, t2, _this = this, + t1 = _this.root; + t1 = t1 != null ? t1 : ""; + for (i = 0; i < _this.parts.length; ++i) { + t2 = _this.separators; + if (i >= t2.length) + return H.ioore(t2, i); + t2 = t1 + H.S(t2[i]); + t1 = _this.parts; + if (i >= t1.length) + return H.ioore(t1, i); + t1 = t2 + H.S(t1[i]); + } + t1 += H.S(C.JSArray_methods.get$last(_this.separators)); + return t1.charCodeAt(0) == 0 ? t1 : t1; + }, + _kthLastIndexOf$3: function(path, character, k) { + var index, count, leftMostIndexedCharacter; + for (index = path.length - 1, count = 0, leftMostIndexedCharacter = 0; index >= 0; --index) + if (path[index] === character) { + ++count; + if (count === k) + return index; + leftMostIndexedCharacter = index; + } + return leftMostIndexedCharacter; + }, + _splitExtension$1: function(level) { + var t1, file, lastDot; + if (level <= 0) + throw H.wrapException(P.RangeError$value(level, "level", "level's value must be greater than 0")); + t1 = this.parts; + t1 = new H.CastList(t1, H._arrayInstanceType(t1)._eval$1("CastList<1,String?>")); + file = t1.lastWhere$2$orElse(t1, new X.ParsedPath__splitExtension_closure(), new X.ParsedPath__splitExtension_closure0()); + if (file == null) + return H.setRuntimeTypeInfo(["", ""], type$.JSArray_String); + if (file === "..") + return H.setRuntimeTypeInfo(["..", ""], type$.JSArray_String); + lastDot = this._kthLastIndexOf$3(file, ".", level); + if (lastDot <= 0) + return H.setRuntimeTypeInfo([file, ""], type$.JSArray_String); + return H.setRuntimeTypeInfo([C.JSString_methods.substring$2(file, 0, lastDot), C.JSString_methods.substring$1(file, lastDot)], type$.JSArray_String); + }, + _splitExtension$0: function() { + return this._splitExtension$1(1); + }, + set$parts: function(parts) { + this.parts = type$.List_String._as(parts); + }, + set$separators: function(separators) { + this.separators = type$.List_String._as(separators); + } + }; + X.ParsedPath__splitExtension_closure.prototype = { + call$1: function(p) { + return H._asStringQ(p) !== ""; + }, + $signature: 312 + }; + X.ParsedPath__splitExtension_closure0.prototype = { + call$0: function() { + return null; + }, + $signature: 12 + }; + X.PathException.prototype = { + toString$0: function(_) { + return "PathException: " + this.message; + }, + $isException: 1, + get$message: function(receiver) { + return this.message; + } + }; + O.Style.prototype = { + toString$0: function(_) { + return this.get$name(this); + } + }; + E.PosixStyle.prototype = { + containsSeparator$1: function(path) { + return C.JSString_methods.contains$1(path, "/"); + }, + isSeparator$1: function(codeUnit) { + return codeUnit === 47; + }, + needsSeparator$1: function(path) { + var t1 = path.length; + return t1 !== 0 && C.JSString_methods.codeUnitAt$1(path, t1 - 1) !== 47; + }, + rootLength$2$withDrive: function(path, withDrive) { + if (path.length !== 0 && C.JSString_methods._codeUnitAt$1(path, 0) === 47) + return 1; + return 0; + }, + rootLength$1: function(path) { + return this.rootLength$2$withDrive(path, false); + }, + isRootRelative$1: function(path) { + return false; + }, + pathFromUri$1: function(uri) { + var t1; + if (uri.get$scheme() === "" || uri.get$scheme() === "file") { + t1 = uri.get$path(uri); + return P._Uri__uriDecode(t1, 0, t1.length, C.C_Utf8Codec, false); + } + throw H.wrapException(P.ArgumentError$("Uri " + uri.toString$0(0) + " must have scheme 'file:'.")); + }, + get$name: function() { + return "posix"; + }, + get$separator: function() { + return "/"; + } + }; + F.UrlStyle.prototype = { + containsSeparator$1: function(path) { + return C.JSString_methods.contains$1(path, "/"); + }, + isSeparator$1: function(codeUnit) { + return codeUnit === 47; + }, + needsSeparator$1: function(path) { + var t1 = path.length; + if (t1 === 0) + return false; + if (C.JSString_methods.codeUnitAt$1(path, t1 - 1) !== 47) + return true; + return C.JSString_methods.endsWith$1(path, "://") && this.rootLength$1(path) === t1; + }, + rootLength$2$withDrive: function(path, withDrive) { + var i, codeUnit, index, t2, + t1 = path.length; + if (t1 === 0) + return 0; + if (C.JSString_methods._codeUnitAt$1(path, 0) === 47) + return 1; + for (i = 0; i < t1; ++i) { + codeUnit = C.JSString_methods._codeUnitAt$1(path, i); + if (codeUnit === 47) + return 0; + if (codeUnit === 58) { + if (i === 0) + return 0; + index = C.JSString_methods.indexOf$2(path, "/", C.JSString_methods.startsWith$2(path, "//", i + 1) ? i + 3 : i); + if (index <= 0) + return t1; + if (!withDrive || t1 < index + 3) + return index; + if (!C.JSString_methods.startsWith$1(path, "file://")) + return index; + if (!B.isDriveLetter(path, index + 1)) + return index; + t2 = index + 3; + return t1 === t2 ? t2 : index + 4; + } + } + return 0; + }, + rootLength$1: function(path) { + return this.rootLength$2$withDrive(path, false); + }, + isRootRelative$1: function(path) { + return path.length !== 0 && C.JSString_methods._codeUnitAt$1(path, 0) === 47; + }, + pathFromUri$1: function(uri) { + return uri.toString$0(0); + }, + get$name: function() { + return "url"; + }, + get$separator: function() { + return "/"; + } + }; + L.WindowsStyle.prototype = { + containsSeparator$1: function(path) { + return C.JSString_methods.contains$1(path, "/"); + }, + isSeparator$1: function(codeUnit) { + return codeUnit === 47 || codeUnit === 92; + }, + needsSeparator$1: function(path) { + var t1 = path.length; + if (t1 === 0) + return false; + t1 = C.JSString_methods.codeUnitAt$1(path, t1 - 1); + return !(t1 === 47 || t1 === 92); + }, + rootLength$2$withDrive: function(path, withDrive) { + var t2, index, + t1 = path.length; + if (t1 === 0) + return 0; + t2 = C.JSString_methods._codeUnitAt$1(path, 0); + if (t2 === 47) + return 1; + if (t2 === 92) { + if (t1 < 2 || C.JSString_methods._codeUnitAt$1(path, 1) !== 92) + return 1; + index = C.JSString_methods.indexOf$2(path, "\\", 2); + if (index > 0) { + index = C.JSString_methods.indexOf$2(path, "\\", index + 1); + if (index > 0) + return index; + } + return t1; + } + if (t1 < 3) + return 0; + if (!B.isAlphabetic(t2)) + return 0; + if (C.JSString_methods._codeUnitAt$1(path, 1) !== 58) + return 0; + t1 = C.JSString_methods._codeUnitAt$1(path, 2); + if (!(t1 === 47 || t1 === 92)) + return 0; + return 3; + }, + rootLength$1: function(path) { + return this.rootLength$2$withDrive(path, false); + }, + isRootRelative$1: function(path) { + return this.rootLength$1(path) === 1; + }, + pathFromUri$1: function(uri) { + var path, t1; + if (uri.get$scheme() !== "" && uri.get$scheme() !== "file") + throw H.wrapException(P.ArgumentError$("Uri " + uri.toString$0(0) + " must have scheme 'file:'.")); + path = uri.get$path(uri); + if (uri.get$host(uri) === "") { + if (path.length >= 3 && C.JSString_methods.startsWith$1(path, "/") && B.isDriveLetter(path, 1)) + path = C.JSString_methods.replaceFirst$2(path, "/", ""); + } else + path = "\\\\" + uri.get$host(uri) + path; + t1 = H.stringReplaceAllUnchecked(path, "/", "\\"); + return P._Uri__uriDecode(t1, 0, t1.length, C.C_Utf8Codec, false); + }, + codeUnitsEqual$2: function(codeUnit1, codeUnit2) { + var upperCase1; + if (codeUnit1 === codeUnit2) + return true; + if (codeUnit1 === 47) + return codeUnit2 === 92; + if (codeUnit1 === 92) + return codeUnit2 === 47; + if ((codeUnit1 ^ codeUnit2) !== 32) + return false; + upperCase1 = codeUnit1 | 32; + return upperCase1 >= 97 && upperCase1 <= 122; + }, + pathsEqual$2: function(path1, path2) { + var t1, t2, i; + if (path1 == path2) + return true; + t1 = path1.length; + if (t1 !== path2.length) + return false; + for (t2 = J.getInterceptor$s(path2), i = 0; i < t1; ++i) + if (!this.codeUnitsEqual$2(C.JSString_methods._codeUnitAt$1(path1, i), t2._codeUnitAt$1(path2, i))) + return false; + return true; + }, + get$name: function() { + return "windows"; + }, + get$separator: function() { + return "\\"; + } + }; + M.Context1.prototype = { + toString$0: function(_) { + return "Context[" + L.Token_positionString(this.buffer, this.position) + "]"; + } + }; + B.Failure.prototype = { + get$isFailure: function() { + return true; + }, + get$value: function(_) { + return H.throwExpression(new E.ParserException(this)); + }, + map$1: function(_, callback) { + var _this = this; + _this.$ti._eval$1("@(1)")._as(callback); + return new B.Failure(_this.message, _this.buffer, _this.position, type$.Failure_dynamic); + }, + toString$0: function(_) { + return "Failure[" + L.Token_positionString(this.buffer, this.position) + "]: " + this.message; + }, + get$message: function(receiver) { + return this.message; + } + }; + E.Result.prototype = { + get$isSuccess: function() { + return false; + }, + get$isFailure: function() { + return false; + } + }; + D.Success.prototype = { + get$isSuccess: function() { + return true; + }, + get$message: function(_) { + return H.throwExpression(P.UnsupportedError$("Successful parse results do not have a message.")); + }, + map$1: function(_, callback) { + var _this = this, + t1 = _this.$ti._eval$1("@(1)")._as(callback).call$1(_this.value); + return new D.Success(t1, _this.buffer, _this.position, type$.Success_dynamic); + }, + toString$0: function(_) { + return "Success[" + L.Token_positionString(this.buffer, this.position) + "]: " + H.S(this.value); + }, + get$value: function(receiver) { + return this.value; + } + }; + E.ParserException.prototype = { + get$message: function(_) { + return this.failure.message; + }, + get$offset: function(_) { + return this.failure.position; + }, + get$source: function(_) { + return this.failure.buffer; + }, + toString$0: function(_) { + var t1 = this.failure; + return t1.message + " at " + L.Token_positionString(t1.buffer, t1.position); + }, + $isException: 1, + $isFormatException: 1 + }; + G.Parser.prototype = { + fastParseOn$2: function(buffer, position) { + var result = this.parseOn$1(new M.Context1(buffer, position)); + return result.get$isSuccess() ? result.position : -1; + }, + get$children: function(_) { + return C.List_empty4; + }, + replace$2: function(_, source, target) { + } + }; + L.Token.prototype = { + get$length: function(_) { + return this.stop - this.start; + }, + map$1: function(_, mapper) { + var _this = this; + return new L.Token(_this.$ti._eval$1("@(1)")._as(mapper).call$1(_this.value), _this.buffer, _this.start, _this.stop, type$.Token_dynamic); + }, + toString$0: function(_) { + return "Token[" + L.Token_positionString(this.buffer, this.start) + "]: " + H.S(this.value); + }, + $eq: function(_, other) { + if (other == null) + return false; + return other instanceof L.Token && J.$eq$(this.value, other.value) && this.start === other.start && this.stop === other.stop; + }, + get$hashCode: function(_) { + var t1 = J.get$hashCode$(this.value), + t2 = C.JSInt_methods.get$hashCode(this.start); + if (typeof t1 !== "number") + return t1.$add(); + return t1 + t2 + C.JSInt_methods.get$hashCode(this.stop); + }, + get$value: function(receiver) { + return this.value; + } + }; + V.GrammarDefinition.prototype = { + build$1$0: function($T) { + var t1 = B.resolve($T._eval$1("Parser<0>")._as(new T.CastParser(new R.PickParser(0, new Q.SequenceParser(P.List_List$of(H.setRuntimeTypeInfo([new F.ReferenceParser(this.get$document(this), C.List_empty, type$.ReferenceParser_dynamic), new U.EndOfInputParser("Expected end of input")], type$.JSArray_Parser_void), false, type$.Parser_void), type$.SequenceParser_void), type$.PickParser_void), type$.CastParser_void_dynamic)), $T); + return t1; + } + }; + F.ReferenceParser.prototype = { + parseOn$1: function(context) { + return H.throwExpression(P.UnsupportedError$("References cannot be parsed.")); + }, + fastParseOn$2: function(buffer, position) { + return H.throwExpression(P.UnsupportedError$("References cannot be parsed.")); + }, + $eq: function(_, other) { + var t1; + if (other == null) + return false; + if (other instanceof F.ReferenceParser) { + if (!J.$eq$(this.$function, other.$function) || false) + return false; + for (t1 = this.$arguments; false;) { + if (0 >= 0) + return H.ioore(t1, 0); + return false; + } + return true; + } + return false; + }, + get$hashCode: function(_) { + return J.get$hashCode$(this.$function); + }, + $isResolvableParser: 1 + }; + T.CastParser.prototype = { + parseOn$1: function(context) { + var t4, + result = this.delegate.parseOn$1(context), + t1 = result.get$isSuccess(), + t2 = this.$ti, + t3 = result.buffer; + if (t1) { + t1 = t2._rest[1]; + t1 = t1._as(t1._as(result.get$value(result))); + t4 = result.position; + return new D.Success(t1, t3, t4, t2._eval$1("Success<2>")); + } else { + t1 = result.get$message(result); + t4 = result.position; + return new B.Failure(t1, t3, t4, t2._eval$1("Failure<2>")); + } + }, + fastParseOn$2: function(buffer, position) { + return this.delegate.fastParseOn$2(buffer, position); + } + }; + K.FlattenParser.prototype = { + parseOn$1: function(context) { + var output, + t1 = context.buffer, + t2 = context.position, + position = this.delegate.fastParseOn$2(t1, t2); + if (typeof position !== "number") + return position.$lt(); + if (position < 0) + return new B.Failure(this.message, t1, t2, type$.Failure_String); + output = C.JSString_methods.substring$2(t1, t2, position); + return new D.Success(output, t1, position, type$.Success_String); + }, + fastParseOn$2: function(buffer, position) { + return this.delegate.fastParseOn$2(buffer, position); + }, + get$message: function(receiver) { + return this.message; + } + }; + A.MapParser.prototype = { + parseOn$1: function(context) { + var t4, + result = this.delegate.parseOn$1(context), + t1 = result.get$isSuccess(), + t2 = this.$ti, + t3 = result.buffer; + if (t1) { + t1 = t2._rest[1]._as(this.callback.call$1(result.get$value(result))); + t4 = result.position; + return new D.Success(t1, t3, t4, t2._eval$1("Success<2>")); + } else { + t1 = result.get$message(result); + t4 = result.position; + return new B.Failure(t1, t3, t4, t2._eval$1("Failure<2>")); + } + }, + fastParseOn$2: function(buffer, position) { + return this.hasSideEffects ? this.super$Parser$fastParseOn(buffer, position) : this.delegate.fastParseOn$2(buffer, position); + } + }; + R.PickParser.prototype = { + parseOn$1: function(context) { + var value, t1, t2, t3, t4, _this = this, + result = _this.delegate.parseOn$1(context); + if (result.get$isSuccess()) { + value = result.get$value(result); + t1 = _this.$ti; + t2 = t1._precomputed1._as(J.$index$asx(value, _this.index)); + t3 = result.buffer; + t4 = result.position; + return new D.Success(t2, t3, t4, t1._eval$1("Success<1>")); + } else { + t1 = result.get$message(result); + t2 = result.buffer; + t3 = result.position; + return new B.Failure(t1, t2, t3, _this.$ti._eval$1("Failure<1>")); + } + }, + fastParseOn$2: function(buffer, position) { + return this.delegate.fastParseOn$2(buffer, position); + } + }; + L.TokenParser.prototype = { + parseOn$1: function(context) { + var t4, t5, + result = this.delegate.parseOn$1(context), + t1 = result.get$isSuccess(), + t2 = this.$ti, + t3 = result.buffer; + if (t1) { + t1 = result.get$value(result); + t4 = result.position; + t5 = t2._eval$1("Token<1>"); + t5 = t5._as(new L.Token(t1, context.buffer, context.position, t4, t5)); + return new D.Success(t5, t3, t4, t2._eval$1("Success>")); + } else { + t1 = result.get$message(result); + t4 = result.position; + return new B.Failure(t1, t3, t4, t2._eval$1("Failure>")); + } + }, + fastParseOn$2: function(buffer, position) { + return this.delegate.fastParseOn$2(buffer, position); + } + }; + G.SingleCharPredicate.prototype = { + test$1: function(value) { + return this.value === value; + }, + get$value: function(receiver) { + return this.value; + } + }; + L.ConstantCharPredicate.prototype = { + test$1: function(value) { + return this.constant; + } + }; + U.LookupCharPredicate.prototype = { + LookupCharPredicate$1: function(ranges) { + var t1, t2, t3, t4, _i, range, t5, index, t6; + for (t1 = ranges.length, t2 = this.start, t3 = this.bits, t4 = t3.length, _i = 0; _i < t1; ++_i) { + range = ranges[_i]; + t5 = range.start; + if (typeof t5 !== "number") + return t5.$sub(); + if (typeof t2 !== "number") + return H.iae(t2); + index = t5 - t2; + t5 = range.stop; + if (typeof t5 !== "number") + return t5.$sub(); + t5 -= t2; + for (; index <= t5; ++index) { + t6 = C.JSInt_methods._shrOtherPositive$1(index, 5); + if (t6 >= t4) + return H.ioore(t3, t6); + t3[t6] = (t3[t6] | C.List_MmH[index & 31]) >>> 0; + } + } + }, + test$1: function(value) { + var t2, t3, + t1 = this.start; + if (typeof t1 !== "number") + return t1.$le(); + if (t1 <= value) { + t2 = this.stop; + if (typeof t2 !== "number") + return H.iae(t2); + if (value <= t2) { + t1 = value - t1; + t2 = this.bits; + t3 = C.JSInt_methods._shrOtherPositive$1(t1, 5); + if (t3 >= t2.length) + return H.ioore(t2, t3); + t1 = (t2[t3] & C.List_MmH[t1 & 31]) >>> 0 !== 0; + } else + t1 = false; + } else + t1 = false; + return t1; + }, + $isCharacterPredicate: 1 + }; + A.NotCharacterPredicate.prototype = { + test$1: function(value) { + return !this.predicate.test$1(value); + } + }; + S.optimizedRanges_closure.prototype = { + call$2: function(first, second) { + var t2, + t1 = type$.RangeCharPredicate; + t1._as(first); + t1._as(second); + t1 = first.start; + t2 = second.start; + if (t1 != t2) { + if (typeof t1 !== "number") + return t1.$sub(); + if (typeof t2 !== "number") + return H.iae(t2); + t1 -= t2; + } else { + t1 = first.stop; + t2 = second.stop; + if (typeof t1 !== "number") + return t1.$sub(); + if (typeof t2 !== "number") + return H.iae(t2); + t2 = t1 - t2; + t1 = t2; + } + return t1; + }, + $signature: 313 + }; + S.optimizedRanges_closure0.prototype = { + call$2: function(current, range) { + var t1, t2; + H._asIntS(current); + type$.RangeCharPredicate._as(range); + t1 = range.stop; + t2 = range.start; + if (typeof t1 !== "number") + return t1.$sub(); + if (typeof t2 !== "number") + return H.iae(t2); + if (typeof current !== "number") + return current.$add(); + return current + (t1 - t2 + 1); + }, + $signature: 314 + }; + G.CharacterParser.prototype = { + parseOn$1: function(context) { + var buffer = context.buffer, + position = context.position, + t1 = buffer.length; + if (position < t1 && this.predicate.test$1(C.JSString_methods.codeUnitAt$1(buffer, position))) { + if (position < 0 || position >= t1) + return H.ioore(buffer, position); + t1 = buffer[position]; + return new D.Success(t1, buffer, position + 1, type$.Success_String); + } + return new B.Failure(this.message, buffer, position, type$.Failure_String); + }, + fastParseOn$2: function(buffer, position) { + return position < buffer.length && this.predicate.test$1(C.JSString_methods.codeUnitAt$1(buffer, position)) ? position + 1 : -1; + }, + toString$0: function(_) { + return this.super$Object$toString(0) + "[" + this.message + "]"; + }, + get$message: function(receiver) { + return this.message; + } + }; + E._single_closure.prototype = { + call$1: function(element) { + H._asStringS(element); + return G.RangeCharPredicate$(X.toCharCode(element), X.toCharCode(element)); + }, + $signature: 315 + }; + E._range_closure.prototype = { + call$1: function(elements) { + var t1; + type$.List_dynamic._as(elements); + t1 = J.getInterceptor$asx(elements); + return G.RangeCharPredicate$(X.toCharCode(t1.$index(elements, 0)), X.toCharCode(t1.$index(elements, 2))); + }, + $signature: 316 + }; + E._sequence_closure.prototype = { + call$1: function(predicates) { + return S.optimizedRanges(J.cast$1$0$ax(type$.List_dynamic._as(predicates), type$.RangeCharPredicate)); + }, + $signature: 145 + }; + E._pattern_closure.prototype = { + call$1: function(predicates) { + var t1; + type$.List_dynamic._as(predicates); + t1 = J.getInterceptor$asx(predicates); + t1 = t1.$index(predicates, 0) == null ? t1.$index(predicates, 1) : new A.NotCharacterPredicate(type$.CharacterPredicate._as(t1.$index(predicates, 1))); + return type$.CharacterPredicate._as(t1); + }, + $signature: 145 + }; + Z.CharacterPredicate.prototype = {}; + G.RangeCharPredicate.prototype = { + test$1: function(value) { + var t1 = this.start; + if (typeof t1 !== "number") + return t1.$le(); + if (t1 <= value) { + t1 = this.stop; + if (typeof t1 !== "number") + return H.iae(t1); + t1 = value <= t1; + } else + t1 = false; + return t1; + }, + $isCharacterPredicate: 1 + }; + Z.WhitespaceCharPredicate.prototype = { + test$1: function(value) { + if (value < 256) + switch (value) { + case 9: + case 10: + case 11: + case 12: + case 13: + case 32: + case 133: + case 160: + return true; + default: + return false; + } + else + switch (value) { + case 5760: + case 8192: + case 8193: + case 8194: + case 8195: + case 8196: + case 8197: + case 8198: + case 8199: + case 8200: + case 8201: + case 8202: + case 8232: + case 8233: + case 8239: + case 8287: + case 12288: + case 65279: + return true; + default: + return false; + } + }, + $isCharacterPredicate: 1 + }; + O.ChoiceParser.prototype = { + parseOn$1: function(context) { + var t1, t2, t3, t4, failure, i, result; + for (t1 = this.children, t2 = t1.length, t3 = this.failureJoiner, t4 = this.$ti._eval$1("Failure<1>"), failure = null, i = 0; i < t2; ++i) { + result = t1[i].parseOn$1(context); + if (t4._is(result)) + failure = failure == null ? result : t3.call$2(failure, result); + else + return result; + } + failure.toString; + return failure; + }, + fastParseOn$2: function(buffer, position) { + var t1, t2, result, i; + for (t1 = this.children, t2 = t1.length, result = -1, i = 0; i < t2; ++i) { + result = t1[i].fastParseOn$2(buffer, position); + if (typeof result !== "number") + return result.$ge(); + if (result >= 0) + return result; + } + return result; + } + }; + Z.DelegateParser.prototype = { + get$children: function(_) { + return H.setRuntimeTypeInfo([this.delegate], type$.JSArray_Parser_dynamic); + }, + replace$2: function(_, source, target) { + var _this = this; + _this.super$Parser$replace(0, source, target); + if (J.$eq$(_this.delegate, source)) + _this.set$delegate(H._instanceType(_this)._eval$1("Parser")._as(target)); + }, + set$delegate: function(delegate) { + this.delegate = H._instanceType(this)._eval$1("Parser")._as(delegate); + } + }; + D.ListParser.prototype = { + replace$2: function(_, source, target) { + var t1, t2, t3, i; + this.super$Parser$replace(0, source, target); + for (t1 = this.children, t2 = t1.length, t3 = H._instanceType(this)._eval$1("Parser"), i = 0; i < t2; ++i) + if (J.$eq$(t1[i], source)) + C.JSArray_methods.$indexSet(t1, i, t3._as(target)); + }, + get$children: function(receiver) { + return this.children; + } + }; + M.OptionalParser.prototype = { + parseOn$1: function(context) { + var t1, t2, + result = this.delegate.parseOn$1(context); + if (result.get$isSuccess()) + return result; + else { + t1 = this.$ti; + t2 = t1._precomputed1._as(this.otherwise); + return new D.Success(t2, context.buffer, context.position, t1._eval$1("Success<1>")); + } + }, + fastParseOn$2: function(buffer, position) { + var t1, + result = this.delegate.fastParseOn$2(buffer, position); + if (typeof result !== "number") + return result.$lt(); + if (result < 0) + t1 = position; + else + t1 = result; + return t1; + } + }; + Q.SequenceParser.prototype = { + parseOn$1: function(context) { + var t2, t3, current, i, result, t4, + t1 = this.$ti, + elements = H.setRuntimeTypeInfo([], t1._eval$1("JSArray<1>")); + for (t2 = this.children, t3 = t2.length, current = context, i = 0; i < t3; ++i, current = result) { + result = t2[i].parseOn$1(current); + if (result.get$isFailure()) { + t2 = result.get$message(result); + t3 = result.buffer; + t4 = result.position; + return new B.Failure(t2, t3, t4, t1._eval$1("Failure>")); + } + C.JSArray_methods.add$1(elements, result.get$value(result)); + } + t1._eval$1("List<1>")._as(elements); + return new D.Success(elements, current.buffer, current.position, t1._eval$1("Success>")); + }, + fastParseOn$2: function(buffer, position) { + var t1, t2, i; + for (t1 = this.children, t2 = t1.length, i = 0; i < t2; ++i) { + position = t1[i].fastParseOn$2(buffer, position); + if (typeof position !== "number") + return position.$lt(); + if (position < 0) + return position; + } + return position; + } + }; + U.EndOfInputParser.prototype = { + parseOn$1: function(context) { + var t1 = context.position, + t2 = context.buffer; + if (t1 < t2.length) + t1 = new B.Failure(this.message, t2, t1, type$.Failure_void); + else + t1 = new D.Success(null, t2, t1, type$.Success_void); + return t1; + }, + fastParseOn$2: function(buffer, position) { + return position < buffer.length ? -1 : position; + }, + toString$0: function(_) { + return this.super$Object$toString(0) + "[" + this.message + "]"; + }, + get$message: function(receiver) { + return this.message; + } + }; + E.EpsilonParser.prototype = { + parseOn$1: function(context) { + var t1 = this.$ti, + t2 = t1._precomputed1._as(this.result); + return new D.Success(t2, context.buffer, context.position, t1._eval$1("Success<1>")); + }, + fastParseOn$2: function(buffer, position) { + return position; + } + }; + V.AnyParser.prototype = { + parseOn$1: function(context) { + var buffer = context.buffer, + position = context.position, + t1 = buffer.length; + if (position < t1) { + if (position < 0) + return H.ioore(buffer, position); + t1 = buffer[position]; + t1 = new D.Success(t1, buffer, position + 1, type$.Success_String); + } else + t1 = new B.Failure(this.message, buffer, position, type$.Failure_String); + return t1; + }, + fastParseOn$2: function(buffer, position) { + return position < buffer.length ? position + 1 : -1; + }, + get$message: function(receiver) { + return this.message; + } + }; + Z.PredicateParser.prototype = { + parseOn$1: function(context) { + var result, + start = context.position, + $stop = start + this.length, + t1 = context.buffer; + if ($stop <= t1.length) { + result = C.JSString_methods.substring$2(t1, start, $stop); + if (H.boolConversionCheck(this.predicate.call$1(result))) + return new D.Success(result, t1, $stop, type$.Success_String); + } + return new B.Failure(this.message, t1, start, type$.Failure_String); + }, + fastParseOn$2: function(buffer, position) { + var $stop = position + this.length; + return $stop <= buffer.length && H.boolConversionCheck(this.predicate.call$1(C.JSString_methods.substring$2(buffer, position, $stop))) ? $stop : -1; + }, + toString$0: function(_) { + return this.super$Object$toString(0) + "[" + this.message + "]"; + }, + get$length: function(receiver) { + return this.length; + }, + get$message: function(receiver) { + return this.message; + } + }; + D.string_closure.prototype = { + call$1: function(each) { + return this.element === each; + }, + $signature: 61 + }; + U.LazyRepeatingParser.prototype = { + parseOn$1: function(context) { + var t2, current, result, t3, t4, limiter, _this = this, + t1 = _this.$ti, + elements = H.setRuntimeTypeInfo([], t1._eval$1("JSArray<1>")); + for (t2 = _this.min, current = context; elements.length < t2; current = result) { + result = _this.delegate.parseOn$1(current); + if (result.get$isFailure()) { + t2 = result.get$message(result); + t3 = result.buffer; + t4 = result.position; + return new B.Failure(t2, t3, t4, t1._eval$1("Failure>")); + } + C.JSArray_methods.add$1(elements, result.get$value(result)); + } + for (t2 = _this.max; true; current = result) { + limiter = _this.limit.parseOn$1(current); + if (limiter.get$isSuccess()) { + t1._eval$1("List<1>")._as(elements); + return new D.Success(elements, current.buffer, current.position, t1._eval$1("Success>")); + } else { + if (elements.length >= t2) { + t2 = limiter.get$message(limiter); + t3 = limiter.buffer; + t4 = limiter.position; + return new B.Failure(t2, t3, t4, t1._eval$1("Failure>")); + } + result = _this.delegate.parseOn$1(current); + if (result.get$isFailure()) { + t2 = limiter.get$message(limiter); + t3 = limiter.buffer; + t4 = limiter.position; + return new B.Failure(t2, t3, t4, t1._eval$1("Failure>")); + } + C.JSArray_methods.add$1(elements, result.get$value(result)); + } + } + }, + fastParseOn$2: function(buffer, position) { + var t1, current, count, result, limiter, _this = this; + for (t1 = _this.min, current = position, count = 0; count < t1; current = result) { + result = _this.delegate.fastParseOn$2(buffer, current); + if (typeof result !== "number") + return result.$lt(); + if (result < 0) + return -1; + ++count; + } + for (t1 = _this.max; true; current = result) { + limiter = _this.limit.fastParseOn$2(buffer, current); + if (typeof limiter !== "number") + return limiter.$ge(); + if (limiter >= 0) + return current; + else { + if (count >= t1) + return -1; + result = _this.delegate.fastParseOn$2(buffer, current); + if (typeof result !== "number") + return result.$lt(); + if (result < 0) + return -1; + ++count; + } + } + } + }; + G.LimitedRepeatingParser.prototype = { + get$children: function(_) { + return H.setRuntimeTypeInfo([this.delegate, this.limit], type$.JSArray_Parser_dynamic); + }, + replace$2: function(_, source, target) { + this.super$DelegateParser$replace(0, source, target); + if (J.$eq$(this.limit, source)) + this.limit = target; + } + }; + Z.PossessiveRepeatingParser.prototype = { + parseOn$1: function(context) { + var t2, current, result, t3, t4, _this = this, + t1 = _this.$ti, + elements = H.setRuntimeTypeInfo([], t1._eval$1("JSArray<1>")); + for (t2 = _this.min, current = context; elements.length < t2; current = result) { + result = _this.delegate.parseOn$1(current); + if (result.get$isFailure()) { + t2 = result.get$message(result); + t3 = result.buffer; + t4 = result.position; + return new B.Failure(t2, t3, t4, t1._eval$1("Failure>")); + } + C.JSArray_methods.add$1(elements, result.get$value(result)); + } + for (t2 = _this.max; elements.length < t2; current = result) { + result = _this.delegate.parseOn$1(current); + if (result.get$isFailure()) { + t1._eval$1("List<1>")._as(elements); + return new D.Success(elements, current.buffer, current.position, t1._eval$1("Success>")); + } + C.JSArray_methods.add$1(elements, result.get$value(result)); + } + t1._eval$1("List<1>")._as(elements); + return new D.Success(elements, current.buffer, current.position, t1._eval$1("Success>")); + }, + fastParseOn$2: function(buffer, position) { + var t1, current, count, result, _this = this; + for (t1 = _this.min, current = position, count = 0; count < t1; current = result) { + result = _this.delegate.fastParseOn$2(buffer, current); + if (typeof result !== "number") + return result.$lt(); + if (result < 0) + return -1; + ++count; + } + for (t1 = _this.max; count < t1; current = result) { + result = _this.delegate.fastParseOn$2(buffer, current); + if (typeof result !== "number") + return result.$lt(); + if (result < 0) + return current; + ++count; + } + return current; + } + }; + N.RepeatingParser.prototype = { + RepeatingParser$3: function(parser, min, max, $R) { + var t1 = this.min, + t2 = this.max; + if (t2 < t1) + throw H.wrapException(P.ArgumentError$("Maximum repetitions must be larger than " + t1 + ", but got " + t2 + ".")); + }, + toString$0: function(_) { + var t1 = this.super$Object$toString(0) + "[" + this.min + "..", + t2 = this.max; + return t1 + H.S(t2 === 9007199254740991 ? "*" : t2) + "]"; + } + }; + X.SeparatedBy_separatedBy_closure.prototype = { + call$1: function(list) { + var t1, result, t2, tuple, t3; + type$.List_dynamic._as(list); + t1 = this.R; + result = H.setRuntimeTypeInfo([], t1._eval$1("JSArray<0>")); + t2 = J.getInterceptor$asx(list); + C.JSArray_methods.add$1(result, t1._as(t2.$index(list, 0))); + for (t2 = J.get$iterator$ax(type$.Iterable_dynamic._as(t2.$index(list, 1))); t2.moveNext$0();) { + tuple = t2.get$current(t2); + t3 = J.getInterceptor$asx(tuple); + C.JSArray_methods.add$1(result, t1._as(t3.$index(tuple, 0))); + C.JSArray_methods.add$1(result, t1._as(t3.$index(tuple, 1))); + } + return result; + }, + $signature: function() { + return this.R._eval$1("List<0>(List<@>)"); + } + }; + L.Browser.prototype = { + get$isFirefox: function() { + return this === $.$get$firefox(); + } + }; + L.Browser_getCurrentBrowser_closure.prototype = { + call$1: function(browser) { + var t1; + type$.legacy_Browser._as(browser); + t1 = $.Browser_navigator; + return H._asBoolS(browser._browser$_matchesNavigator.call$1(t1)); + }, + $signature: 324 + }; + L.Browser_getCurrentBrowser_closure0.prototype = { + call$0: function() { + return $.$get$Browser_UnknownBrowser(); + }, + $signature: 329 + }; + L._Chrome.prototype = {}; + L._Firefox.prototype = {}; + L._Safari.prototype = {}; + L._WKWebView.prototype = {}; + L._InternetExplorer.prototype = {}; + G._HtmlNavigator.prototype = {$isNavigatorProvider: 1}; + N.OperatingSystem.prototype = {}; + N.OperatingSystem_getCurrentOperatingSystem_closure.prototype = { + call$1: function(system) { + var t1; + type$.legacy_OperatingSystem._as(system); + t1 = $.OperatingSystem_navigator; + return H._asBoolS(system._matchesNavigator.call$1(t1)); + }, + $signature: 333 + }; + N.OperatingSystem_getCurrentOperatingSystem_closure0.prototype = { + call$0: function() { + return $.$get$OperatingSystem_UnknownOS(); + }, + $signature: 335 + }; + N.linux_closure.prototype = { + call$1: function($navigator) { + type$.legacy_NavigatorProvider._as($navigator).toString; + return J.contains$1$asx(window.navigator.appVersion, "Linux"); + }, + $signature: 28 + }; + N.mac_closure.prototype = { + call$1: function($navigator) { + type$.legacy_NavigatorProvider._as($navigator).toString; + return J.contains$1$asx(window.navigator.appVersion, "Mac"); + }, + $signature: 28 + }; + N.unix_closure.prototype = { + call$1: function($navigator) { + type$.legacy_NavigatorProvider._as($navigator).toString; + return J.contains$1$asx(window.navigator.appVersion, "X11"); + }, + $signature: 28 + }; + N.windows_closure.prototype = { + call$1: function($navigator) { + type$.legacy_NavigatorProvider._as($navigator).toString; + return J.contains$1$asx(window.navigator.appVersion, "Win"); + }, + $signature: 28 + }; + U.CipherParameters.prototype = {}; + U.KeyParameter.prototype = { + get$key: function(_) { + var t1 = this.__KeyParameter_key; + return t1 === $ ? H.throwExpression(H.LateError$fieldNI("key")) : t1; + } + }; + F.AESEngine.prototype = { + _subWord$1: function(x) { + var t1 = this._S; + return (t1[x & 255] & 255 | (t1[x >>> 8 & 255] & 255) << 8 | (t1[x >>> 16 & 255] & 255) << 16 | t1[x >>> 24 & 255] << 24) >>> 0; + }, + generateWorkingKey$2: function(forEncryption, params) { + var KC, t1, _length, $W, i, col0, t2, col1, col2, col3, t3, col4, col5, rcon, rcon0, col6, col7, _this = this, + key = params.get$key(params), + keyLen = J.get$length$asx(key); + if (keyLen < 16 || keyLen > 32 || (keyLen & 7) !== 0) + throw H.wrapException(P.ArgumentError$("Key length not 128/192/256 bits.")); + KC = keyLen >>> 2; + t1 = KC + 6; + _this._ROUNDS = t1; + _length = t1 + 1; + $W = J.JSArray_JSArray$allocateGrowable(_length, type$.List_int); + for (t1 = type$.int, i = 0; i < _length; ++i) + $W[i] = P.List_List$filled(4, 0, false, t1); + switch (KC) { + case 4: + col0 = G.unpack32(key, 0, C.C_Endian); + t1 = $W.length; + if (0 >= t1) + return H.ioore($W, 0); + t2 = $W[0]; + C.JSArray_methods.$indexSet(t2, 0, col0); + col1 = G.unpack32(key, 4, C.C_Endian); + C.JSArray_methods.$indexSet(t2, 1, col1); + col2 = G.unpack32(key, 8, C.C_Endian); + C.JSArray_methods.$indexSet(t2, 2, col2); + col3 = G.unpack32(key, 12, C.C_Endian); + C.JSArray_methods.$indexSet(t2, 3, col3); + for (t2 = _this._rcon, i = 1; i <= 10; ++i) { + col0 = (col0 ^ _this._subWord$1((col3 >>> 8 | (col3 & $._MASK32_HI_BITS[24]) << 24) >>> 0) ^ t2[i - 1]) >>> 0; + if (i >= t1) + return H.ioore($W, i); + t3 = $W[i]; + C.JSArray_methods.$indexSet(t3, 0, col0); + col1 = (col1 ^ col0) >>> 0; + C.JSArray_methods.$indexSet(t3, 1, col1); + col2 = (col2 ^ col1) >>> 0; + C.JSArray_methods.$indexSet(t3, 2, col2); + col3 = (col3 ^ col2) >>> 0; + C.JSArray_methods.$indexSet(t3, 3, col3); + } + break; + case 6: + col0 = G.unpack32(key, 0, C.C_Endian); + t1 = $W.length; + if (0 >= t1) + return H.ioore($W, 0); + t2 = $W[0]; + C.JSArray_methods.$indexSet(t2, 0, col0); + col1 = G.unpack32(key, 4, C.C_Endian); + C.JSArray_methods.$indexSet(t2, 1, col1); + col2 = G.unpack32(key, 8, C.C_Endian); + C.JSArray_methods.$indexSet(t2, 2, col2); + col3 = G.unpack32(key, 12, C.C_Endian); + C.JSArray_methods.$indexSet(t2, 3, col3); + col4 = G.unpack32(key, 16, C.C_Endian); + col5 = G.unpack32(key, 20, C.C_Endian); + for (i = 1, rcon = 1; true;) { + if (i >= t1) + return H.ioore($W, i); + t2 = $W[i]; + C.JSArray_methods.$indexSet(t2, 0, col4); + C.JSArray_methods.$indexSet(t2, 1, col5); + rcon0 = rcon << 1; + col0 = (col0 ^ _this._subWord$1((col5 >>> 8 | (col5 & $._MASK32_HI_BITS[24]) << 24) >>> 0) ^ rcon) >>> 0; + C.JSArray_methods.$indexSet(t2, 2, col0); + col1 = (col1 ^ col0) >>> 0; + C.JSArray_methods.$indexSet(t2, 3, col1); + col2 = (col2 ^ col1) >>> 0; + t2 = i + 1; + if (t2 >= t1) + return H.ioore($W, t2); + t2 = $W[t2]; + C.JSArray_methods.$indexSet(t2, 0, col2); + col3 = (col3 ^ col2) >>> 0; + C.JSArray_methods.$indexSet(t2, 1, col3); + col4 = (col4 ^ col3) >>> 0; + C.JSArray_methods.$indexSet(t2, 2, col4); + col5 = (col5 ^ col4) >>> 0; + C.JSArray_methods.$indexSet(t2, 3, col5); + rcon = rcon0 << 1; + col0 = (col0 ^ _this._subWord$1((col5 >>> 8 | (col5 & $._MASK32_HI_BITS[24]) << 24) >>> 0) ^ rcon0) >>> 0; + t2 = i + 2; + if (t2 >= t1) + return H.ioore($W, t2); + t2 = $W[t2]; + C.JSArray_methods.$indexSet(t2, 0, col0); + col1 = (col1 ^ col0) >>> 0; + C.JSArray_methods.$indexSet(t2, 1, col1); + col2 = (col2 ^ col1) >>> 0; + C.JSArray_methods.$indexSet(t2, 2, col2); + col3 = (col3 ^ col2) >>> 0; + C.JSArray_methods.$indexSet(t2, 3, col3); + i += 3; + if (i >= 13) + break; + col4 = (col4 ^ col3) >>> 0; + col5 = (col5 ^ col4) >>> 0; + } + break; + case 8: + col0 = G.unpack32(key, 0, C.C_Endian); + t1 = $W.length; + if (0 >= t1) + return H.ioore($W, 0); + t2 = $W[0]; + C.JSArray_methods.$indexSet(t2, 0, col0); + col1 = G.unpack32(key, 4, C.C_Endian); + C.JSArray_methods.$indexSet(t2, 1, col1); + col2 = G.unpack32(key, 8, C.C_Endian); + C.JSArray_methods.$indexSet(t2, 2, col2); + col3 = G.unpack32(key, 12, C.C_Endian); + C.JSArray_methods.$indexSet(t2, 3, col3); + col4 = G.unpack32(key, 16, C.C_Endian); + if (1 >= t1) + return H.ioore($W, 1); + t2 = $W[1]; + C.JSArray_methods.$indexSet(t2, 0, col4); + col5 = G.unpack32(key, 20, C.C_Endian); + C.JSArray_methods.$indexSet(t2, 1, col5); + col6 = G.unpack32(key, 24, C.C_Endian); + C.JSArray_methods.$indexSet(t2, 2, col6); + col7 = G.unpack32(key, 28, C.C_Endian); + C.JSArray_methods.$indexSet(t2, 3, col7); + for (i = 2, rcon = 1; true; rcon = rcon0) { + rcon0 = rcon << 1; + col0 = (col0 ^ _this._subWord$1((col7 >>> 8 | (col7 & $._MASK32_HI_BITS[24]) << 24) >>> 0) ^ rcon) >>> 0; + if (i >= t1) + return H.ioore($W, i); + t2 = $W[i]; + C.JSArray_methods.$indexSet(t2, 0, col0); + col1 = (col1 ^ col0) >>> 0; + C.JSArray_methods.$indexSet(t2, 1, col1); + col2 = (col2 ^ col1) >>> 0; + C.JSArray_methods.$indexSet(t2, 2, col2); + col3 = (col3 ^ col2) >>> 0; + C.JSArray_methods.$indexSet(t2, 3, col3); + ++i; + if (i >= 15) + break; + col4 = (col4 ^ _this._subWord$1(col3)) >>> 0; + if (i >= t1) + return H.ioore($W, i); + t2 = $W[i]; + C.JSArray_methods.$indexSet(t2, 0, col4); + col5 = (col5 ^ col4) >>> 0; + C.JSArray_methods.$indexSet(t2, 1, col5); + col6 = (col6 ^ col5) >>> 0; + C.JSArray_methods.$indexSet(t2, 2, col6); + col7 = (col7 ^ col6) >>> 0; + C.JSArray_methods.$indexSet(t2, 3, col7); + ++i; + } + break; + default: + throw H.wrapException(P.StateError$("Should never get here")); + } + return $W; + }, + _encryptBlock$5: function(input, inOff, out, outOff, KW) { + var t2, t00, t10, t20, r3, t3, t4, r, t5, t6, t7, t8, t9, t11, t12, t13, t14, t15, t16, r0, r1, r2, r30, t17, t18, t19, t21, _this = this, + C0 = G.unpack32(input, inOff, C.C_Endian), + C1 = G.unpack32(input, inOff + 4, C.C_Endian), + C2 = G.unpack32(input, inOff + 8, C.C_Endian), + C3 = G.unpack32(input, inOff + 12, C.C_Endian), + t1 = KW.length; + if (0 >= t1) + return H.ioore(KW, 0); + t2 = KW[0]; + t00 = C0 ^ t2[0]; + t10 = C1 ^ t2[1]; + t20 = C2 ^ t2[2]; + r3 = C3 ^ t2[3]; + for (t2 = _this._ROUNDS - 1, t3 = _this._T0, t4 = t3.length, r = 1; r < t2;) { + t5 = t00 & 255; + if (t5 >= t4) + return H.ioore(t3, t5); + t5 = t3[t5]; + t6 = t10 >>> 8 & 255; + if (t6 >= t4) + return H.ioore(t3, t6); + t6 = H._asIntS(t3[t6]); + if (typeof t6 !== "number") + return t6.$shr(); + t7 = C.JSInt_methods._shrOtherPositive$1(t6, 24); + t8 = $._MASK32_HI_BITS[8]; + if (typeof t5 !== "number") + return t5.$xor(); + t9 = t20 >>> 16 & 255; + if (t9 >= t4) + return H.ioore(t3, t9); + t9 = H._asIntS(t3[t9]); + if (typeof t9 !== "number") + return t9.$shr(); + t11 = C.JSInt_methods._shrOtherPositive$1(t9, 16); + t12 = $._MASK32_HI_BITS[16]; + t13 = r3 >>> 24 & 255; + if (t13 >= t4) + return H.ioore(t3, t13); + t13 = H._asIntS(t3[t13]); + if (typeof t13 !== "number") + return t13.$shr(); + t14 = C.JSInt_methods._shrOtherPositive$1(t13, 8); + t15 = $._MASK32_HI_BITS[24]; + if (r >= t1) + return H.ioore(KW, r); + t16 = KW[r]; + r0 = t5 ^ (t7 | (t6 & t8) << 8) ^ (t11 | (t9 & t12) << 16) ^ (t14 | (t13 & t15) << 24) ^ t16[0]; + t13 = t10 & 255; + if (t13 >= t4) + return H.ioore(t3, t13); + t13 = t3[t13]; + t14 = t20 >>> 8 & 255; + if (t14 >= t4) + return H.ioore(t3, t14); + t14 = H._asIntS(t3[t14]); + if (typeof t14 !== "number") + return t14.$shr(); + t9 = C.JSInt_methods._shrOtherPositive$1(t14, 24); + if (typeof t13 !== "number") + return t13.$xor(); + t11 = r3 >>> 16 & 255; + if (t11 >= t4) + return H.ioore(t3, t11); + t11 = H._asIntS(t3[t11]); + if (typeof t11 !== "number") + return t11.$shr(); + t6 = C.JSInt_methods._shrOtherPositive$1(t11, 16); + t7 = t00 >>> 24 & 255; + if (t7 >= t4) + return H.ioore(t3, t7); + t7 = H._asIntS(t3[t7]); + if (typeof t7 !== "number") + return t7.$shr(); + r1 = t13 ^ (t9 | (t14 & t8) << 8) ^ (t6 | (t11 & t12) << 16) ^ (C.JSInt_methods._shrOtherPositive$1(t7, 8) | (t7 & t15) << 24) ^ t16[1]; + t7 = t20 & 255; + if (t7 >= t4) + return H.ioore(t3, t7); + t7 = t3[t7]; + t11 = r3 >>> 8 & 255; + if (t11 >= t4) + return H.ioore(t3, t11); + t11 = H._asIntS(t3[t11]); + if (typeof t11 !== "number") + return t11.$shr(); + t6 = C.JSInt_methods._shrOtherPositive$1(t11, 24); + if (typeof t7 !== "number") + return t7.$xor(); + t14 = t00 >>> 16 & 255; + if (t14 >= t4) + return H.ioore(t3, t14); + t14 = H._asIntS(t3[t14]); + if (typeof t14 !== "number") + return t14.$shr(); + t9 = C.JSInt_methods._shrOtherPositive$1(t14, 16); + t13 = t10 >>> 24 & 255; + if (t13 >= t4) + return H.ioore(t3, t13); + t13 = H._asIntS(t3[t13]); + if (typeof t13 !== "number") + return t13.$shr(); + r2 = t7 ^ (t6 | (t11 & t8) << 8) ^ (t9 | (t14 & t12) << 16) ^ (C.JSInt_methods._shrOtherPositive$1(t13, 8) | (t13 & t15) << 24) ^ t16[2]; + t13 = r3 & 255; + if (t13 >= t4) + return H.ioore(t3, t13); + t13 = t3[t13]; + t00 = t00 >>> 8 & 255; + if (t00 >= t4) + return H.ioore(t3, t00); + t00 = H._asIntS(t3[t00]); + if (typeof t00 !== "number") + return t00.$shr(); + t14 = C.JSInt_methods._shrOtherPositive$1(t00, 24); + if (typeof t13 !== "number") + return t13.$xor(); + t10 = t10 >>> 16 & 255; + if (t10 >= t4) + return H.ioore(t3, t10); + t10 = H._asIntS(t3[t10]); + if (typeof t10 !== "number") + return t10.$shr(); + t9 = C.JSInt_methods._shrOtherPositive$1(t10, 16); + t20 = t20 >>> 24 & 255; + if (t20 >= t4) + return H.ioore(t3, t20); + t20 = H._asIntS(t3[t20]); + if (typeof t20 !== "number") + return t20.$shr(); + ++r; + r3 = t13 ^ (t14 | (t00 & t8) << 8) ^ (t9 | (t10 & t12) << 16) ^ (C.JSInt_methods._shrOtherPositive$1(t20, 8) | (t20 & t15) << 24) ^ t16[3]; + t16 = r0 & 255; + if (t16 >= t4) + return H.ioore(t3, t16); + t16 = t3[t16]; + t20 = r1 >>> 8 & 255; + if (t20 >= t4) + return H.ioore(t3, t20); + t20 = H._asIntS(t3[t20]); + if (typeof t20 !== "number") + return t20.$shr(); + t10 = C.JSInt_methods._shrOtherPositive$1(t20, 24); + if (typeof t16 !== "number") + return t16.$xor(); + t9 = r2 >>> 16 & 255; + if (t9 >= t4) + return H.ioore(t3, t9); + t9 = H._asIntS(t3[t9]); + if (typeof t9 !== "number") + return t9.$shr(); + t00 = C.JSInt_methods._shrOtherPositive$1(t9, 16); + t14 = r3 >>> 24 & 255; + if (t14 >= t4) + return H.ioore(t3, t14); + t14 = H._asIntS(t3[t14]); + if (typeof t14 !== "number") + return t14.$shr(); + t13 = C.JSInt_methods._shrOtherPositive$1(t14, 8); + if (r >= t1) + return H.ioore(KW, r); + t11 = KW[r]; + t00 = t16 ^ (t10 | (t20 & t8) << 8) ^ (t00 | (t9 & t12) << 16) ^ (t13 | (t14 & t15) << 24) ^ t11[0]; + t14 = r1 & 255; + if (t14 >= t4) + return H.ioore(t3, t14); + t14 = t3[t14]; + t13 = r2 >>> 8 & 255; + if (t13 >= t4) + return H.ioore(t3, t13); + t13 = H._asIntS(t3[t13]); + if (typeof t13 !== "number") + return t13.$shr(); + t9 = C.JSInt_methods._shrOtherPositive$1(t13, 24); + if (typeof t14 !== "number") + return t14.$xor(); + t20 = r3 >>> 16 & 255; + if (t20 >= t4) + return H.ioore(t3, t20); + t20 = H._asIntS(t3[t20]); + if (typeof t20 !== "number") + return t20.$shr(); + t10 = C.JSInt_methods._shrOtherPositive$1(t20, 16); + t16 = r0 >>> 24 & 255; + if (t16 >= t4) + return H.ioore(t3, t16); + t16 = H._asIntS(t3[t16]); + if (typeof t16 !== "number") + return t16.$shr(); + t10 = t14 ^ (t9 | (t13 & t8) << 8) ^ (t10 | (t20 & t12) << 16) ^ (C.JSInt_methods._shrOtherPositive$1(t16, 8) | (t16 & t15) << 24) ^ t11[1]; + t16 = r2 & 255; + if (t16 >= t4) + return H.ioore(t3, t16); + t16 = t3[t16]; + t20 = r3 >>> 8 & 255; + if (t20 >= t4) + return H.ioore(t3, t20); + t20 = H._asIntS(t3[t20]); + if (typeof t20 !== "number") + return t20.$shr(); + t13 = C.JSInt_methods._shrOtherPositive$1(t20, 24); + if (typeof t16 !== "number") + return t16.$xor(); + t9 = r0 >>> 16 & 255; + if (t9 >= t4) + return H.ioore(t3, t9); + t9 = H._asIntS(t3[t9]); + if (typeof t9 !== "number") + return t9.$shr(); + t14 = C.JSInt_methods._shrOtherPositive$1(t9, 16); + t6 = r1 >>> 24 & 255; + if (t6 >= t4) + return H.ioore(t3, t6); + t6 = H._asIntS(t3[t6]); + if (typeof t6 !== "number") + return t6.$shr(); + t20 = t16 ^ (t13 | (t20 & t8) << 8) ^ (t14 | (t9 & t12) << 16) ^ (C.JSInt_methods._shrOtherPositive$1(t6, 8) | (t6 & t15) << 24) ^ t11[2]; + t6 = r3 & 255; + if (t6 >= t4) + return H.ioore(t3, t6); + t6 = t3[t6]; + t9 = r0 >>> 8 & 255; + if (t9 >= t4) + return H.ioore(t3, t9); + t9 = H._asIntS(t3[t9]); + if (typeof t9 !== "number") + return t9.$shr(); + t14 = C.JSInt_methods._shrOtherPositive$1(t9, 24); + if (typeof t6 !== "number") + return t6.$xor(); + t13 = r1 >>> 16 & 255; + if (t13 >= t4) + return H.ioore(t3, t13); + t13 = H._asIntS(t3[t13]); + if (typeof t13 !== "number") + return t13.$shr(); + t16 = C.JSInt_methods._shrOtherPositive$1(t13, 16); + t7 = r2 >>> 24 & 255; + if (t7 >= t4) + return H.ioore(t3, t7); + t7 = H._asIntS(t3[t7]); + if (typeof t7 !== "number") + return t7.$shr(); + ++r; + r3 = t6 ^ (t14 | (t9 & t8) << 8) ^ (t16 | (t13 & t12) << 16) ^ (C.JSInt_methods._shrOtherPositive$1(t7, 8) | (t7 & t15) << 24) ^ t11[3]; + } + t1 = t00 & 255; + if (t1 >= t4) + return H.ioore(t3, t1); + t1 = t3[t1]; + t2 = t10 >>> 8 & 255; + if (t2 >= t4) + return H.ioore(t3, t2); + t2 = G.rotr32(H._asIntS(t3[t2]), 24); + if (typeof t1 !== "number") + return t1.$xor(); + t4 = t20 >>> 16 & 255; + if (t4 >= t3.length) + return H.ioore(t3, t4); + t4 = G.rotr32(H._asIntS(t3[t4]), 16); + t5 = r3 >>> 24 & 255; + if (t5 >= t3.length) + return H.ioore(t3, t5); + t5 = G.rotr32(H._asIntS(t3[t5]), 8); + if (r >= KW.length) + return H.ioore(KW, r); + r0 = t1 ^ t2 ^ t4 ^ t5 ^ KW[r][0]; + t5 = t10 & 255; + t4 = t3.length; + if (t5 >= t4) + return H.ioore(t3, t5); + t5 = t3[t5]; + t2 = t20 >>> 8 & 255; + if (t2 >= t4) + return H.ioore(t3, t2); + t2 = G.rotr32(H._asIntS(t3[t2]), 24); + if (typeof t5 !== "number") + return t5.$xor(); + t4 = r3 >>> 16 & 255; + if (t4 >= t3.length) + return H.ioore(t3, t4); + t4 = G.rotr32(H._asIntS(t3[t4]), 16); + t1 = t00 >>> 24 & 255; + if (t1 >= t3.length) + return H.ioore(t3, t1); + t1 = G.rotr32(H._asIntS(t3[t1]), 8); + if (r >= KW.length) + return H.ioore(KW, r); + r1 = t5 ^ t2 ^ t4 ^ t1 ^ KW[r][1]; + t1 = t20 & 255; + t4 = t3.length; + if (t1 >= t4) + return H.ioore(t3, t1); + t1 = t3[t1]; + t2 = r3 >>> 8 & 255; + if (t2 >= t4) + return H.ioore(t3, t2); + t2 = G.rotr32(H._asIntS(t3[t2]), 24); + if (typeof t1 !== "number") + return t1.$xor(); + t4 = t00 >>> 16 & 255; + if (t4 >= t3.length) + return H.ioore(t3, t4); + t4 = G.rotr32(H._asIntS(t3[t4]), 16); + t5 = t10 >>> 24 & 255; + if (t5 >= t3.length) + return H.ioore(t3, t5); + t5 = G.rotr32(H._asIntS(t3[t5]), 8); + if (r >= KW.length) + return H.ioore(KW, r); + r2 = t1 ^ t2 ^ t4 ^ t5 ^ KW[r][2]; + t5 = r3 & 255; + t4 = t3.length; + if (t5 >= t4) + return H.ioore(t3, t5); + t5 = t3[t5]; + t00 = t00 >>> 8 & 255; + if (t00 >= t4) + return H.ioore(t3, t00); + t00 = G.rotr32(H._asIntS(t3[t00]), 24); + if (typeof t5 !== "number") + return t5.$xor(); + t10 = t10 >>> 16 & 255; + if (t10 >= t3.length) + return H.ioore(t3, t10); + t10 = G.rotr32(H._asIntS(t3[t10]), 16); + t20 = t20 >>> 24 & 255; + if (t20 >= t3.length) + return H.ioore(t3, t20); + t20 = G.rotr32(H._asIntS(t3[t20]), 8); + r3 = r + 1; + t3 = KW.length; + if (r >= t3) + return H.ioore(KW, r); + r30 = t5 ^ t00 ^ t10 ^ t20 ^ KW[r][3]; + t20 = _this._S; + t10 = t20[r0 & 255]; + t00 = t20[r1 >>> 8 & 255]; + t5 = _this._s; + t4 = r2 >>> 16 & 255; + t2 = t5.length; + if (t4 >= t2) + return H.ioore(t5, t4); + t4 = t5[t4]; + if (typeof t4 !== "number") + return t4.$and(); + t1 = r30 >>> 24 & 255; + if (t1 >= t2) + return H.ioore(t5, t1); + t1 = t5[t1]; + if (typeof t1 !== "number") + return t1.$shl(); + if (r3 >= t3) + return H.ioore(KW, r3); + t3 = KW[r3]; + t6 = t3[0]; + t7 = r1 & 255; + if (t7 >= t2) + return H.ioore(t5, t7); + t7 = t5[t7]; + if (typeof t7 !== "number") + return t7.$and(); + t8 = t20[r2 >>> 8 & 255]; + t9 = t20[r30 >>> 16 & 255]; + t11 = r0 >>> 24 & 255; + if (t11 >= t2) + return H.ioore(t5, t11); + t11 = t5[t11]; + if (typeof t11 !== "number") + return t11.$shl(); + t12 = t3[1]; + t13 = r2 & 255; + if (t13 >= t2) + return H.ioore(t5, t13); + t13 = t5[t13]; + if (typeof t13 !== "number") + return t13.$and(); + t14 = t20[r30 >>> 8 & 255]; + t15 = t20[r0 >>> 16 & 255]; + t16 = t20[r1 >>> 24 & 255]; + t17 = t3[2]; + t18 = r30 & 255; + if (t18 >= t2) + return H.ioore(t5, t18); + t18 = t5[t18]; + if (typeof t18 !== "number") + return t18.$and(); + t19 = r0 >>> 8 & 255; + if (t19 >= t2) + return H.ioore(t5, t19); + t19 = t5[t19]; + if (typeof t19 !== "number") + return t19.$and(); + t21 = r1 >>> 16 & 255; + if (t21 >= t2) + return H.ioore(t5, t21); + t21 = t5[t21]; + if (typeof t21 !== "number") + return t21.$and(); + t20 = t20[r2 >>> 24 & 255]; + t3 = t3[3]; + G.pack32((t10 & 255 ^ (t00 & 255) << 8 ^ (t4 & 255) << 16 ^ t1 << 24 ^ t6) >>> 0, out, outOff, C.C_Endian); + G.pack32((t7 & 255 ^ (t8 & 255) << 8 ^ (t9 & 255) << 16 ^ t11 << 24 ^ t12) >>> 0, out, outOff + 4, C.C_Endian); + G.pack32((t13 & 255 ^ (t14 & 255) << 8 ^ (t15 & 255) << 16 ^ t16 << 24 ^ t17) >>> 0, out, outOff + 8, C.C_Endian); + G.pack32((t18 & 255 ^ (t19 & 255) << 8 ^ (t21 & 255) << 16 ^ t20 << 24 ^ t3) >>> 0, out, outOff + 12, C.C_Endian); + }, + _decryptBlock$5: function(input, inOff, out, outOff, KW) { + var t3, t00, t10, t20, r, r3, t4, t5, t6, t7, t8, t9, t11, t12, t13, t14, t15, r0, r1, r2, t16, t17, t18, t19, t21, _this = this, + C0 = G.unpack32(input, inOff, C.C_Endian), + C1 = G.unpack32(input, inOff + 4, C.C_Endian), + C2 = G.unpack32(input, inOff + 8, C.C_Endian), + C3 = G.unpack32(input, inOff + 12, C.C_Endian), + t1 = _this._ROUNDS, + t2 = KW.length; + if (t1 >= t2) + return H.ioore(KW, t1); + t3 = KW[t1]; + t00 = C0 ^ t3[0]; + t10 = C1 ^ t3[1]; + t20 = C2 ^ t3[2]; + r = t1 - 1; + r3 = C3 ^ t3[3]; + for (t1 = _this._Tinv0, t3 = t1.length; r > 1;) { + t4 = t00 & 255; + if (t4 >= t3) + return H.ioore(t1, t4); + t4 = t1[t4]; + t5 = r3 >>> 8 & 255; + if (t5 >= t3) + return H.ioore(t1, t5); + t5 = H._asIntS(t1[t5]); + if (typeof t5 !== "number") + return t5.$shr(); + t6 = C.JSInt_methods._shrOtherPositive$1(t5, 24); + t7 = $._MASK32_HI_BITS[8]; + if (typeof t4 !== "number") + return t4.$xor(); + t8 = t20 >>> 16 & 255; + if (t8 >= t3) + return H.ioore(t1, t8); + t8 = H._asIntS(t1[t8]); + if (typeof t8 !== "number") + return t8.$shr(); + t9 = C.JSInt_methods._shrOtherPositive$1(t8, 16); + t11 = $._MASK32_HI_BITS[16]; + t12 = t10 >>> 24 & 255; + if (t12 >= t3) + return H.ioore(t1, t12); + t12 = H._asIntS(t1[t12]); + if (typeof t12 !== "number") + return t12.$shr(); + t13 = C.JSInt_methods._shrOtherPositive$1(t12, 8); + t14 = $._MASK32_HI_BITS[24]; + if (r >= t2) + return H.ioore(KW, r); + t15 = KW[r]; + r0 = t4 ^ (t6 | (t5 & t7) << 8) ^ (t9 | (t8 & t11) << 16) ^ (t13 | (t12 & t14) << 24) ^ t15[0]; + t12 = t10 & 255; + if (t12 >= t3) + return H.ioore(t1, t12); + t12 = t1[t12]; + t13 = t00 >>> 8 & 255; + if (t13 >= t3) + return H.ioore(t1, t13); + t13 = H._asIntS(t1[t13]); + if (typeof t13 !== "number") + return t13.$shr(); + t8 = C.JSInt_methods._shrOtherPositive$1(t13, 24); + if (typeof t12 !== "number") + return t12.$xor(); + t9 = r3 >>> 16 & 255; + if (t9 >= t3) + return H.ioore(t1, t9); + t9 = H._asIntS(t1[t9]); + if (typeof t9 !== "number") + return t9.$shr(); + t5 = C.JSInt_methods._shrOtherPositive$1(t9, 16); + t6 = t20 >>> 24 & 255; + if (t6 >= t3) + return H.ioore(t1, t6); + t6 = H._asIntS(t1[t6]); + if (typeof t6 !== "number") + return t6.$shr(); + r1 = t12 ^ (t8 | (t13 & t7) << 8) ^ (t5 | (t9 & t11) << 16) ^ (C.JSInt_methods._shrOtherPositive$1(t6, 8) | (t6 & t14) << 24) ^ t15[1]; + t6 = t20 & 255; + if (t6 >= t3) + return H.ioore(t1, t6); + t6 = t1[t6]; + t9 = t10 >>> 8 & 255; + if (t9 >= t3) + return H.ioore(t1, t9); + t9 = H._asIntS(t1[t9]); + if (typeof t9 !== "number") + return t9.$shr(); + t5 = C.JSInt_methods._shrOtherPositive$1(t9, 24); + if (typeof t6 !== "number") + return t6.$xor(); + t13 = t00 >>> 16 & 255; + if (t13 >= t3) + return H.ioore(t1, t13); + t13 = H._asIntS(t1[t13]); + if (typeof t13 !== "number") + return t13.$shr(); + t8 = C.JSInt_methods._shrOtherPositive$1(t13, 16); + t12 = r3 >>> 24 & 255; + if (t12 >= t3) + return H.ioore(t1, t12); + t12 = H._asIntS(t1[t12]); + if (typeof t12 !== "number") + return t12.$shr(); + r2 = t6 ^ (t5 | (t9 & t7) << 8) ^ (t8 | (t13 & t11) << 16) ^ (C.JSInt_methods._shrOtherPositive$1(t12, 8) | (t12 & t14) << 24) ^ t15[2]; + t12 = r3 & 255; + if (t12 >= t3) + return H.ioore(t1, t12); + t12 = t1[t12]; + t20 = t20 >>> 8 & 255; + if (t20 >= t3) + return H.ioore(t1, t20); + t20 = H._asIntS(t1[t20]); + if (typeof t20 !== "number") + return t20.$shr(); + t13 = C.JSInt_methods._shrOtherPositive$1(t20, 24); + if (typeof t12 !== "number") + return t12.$xor(); + t10 = t10 >>> 16 & 255; + if (t10 >= t3) + return H.ioore(t1, t10); + t10 = H._asIntS(t1[t10]); + if (typeof t10 !== "number") + return t10.$shr(); + t8 = C.JSInt_methods._shrOtherPositive$1(t10, 16); + t00 = t00 >>> 24 & 255; + if (t00 >= t3) + return H.ioore(t1, t00); + t00 = H._asIntS(t1[t00]); + if (typeof t00 !== "number") + return t00.$shr(); + --r; + r3 = t12 ^ (t13 | (t20 & t7) << 8) ^ (t8 | (t10 & t11) << 16) ^ (C.JSInt_methods._shrOtherPositive$1(t00, 8) | (t00 & t14) << 24) ^ t15[3]; + t15 = r0 & 255; + if (t15 >= t3) + return H.ioore(t1, t15); + t15 = t1[t15]; + t00 = r3 >>> 8 & 255; + if (t00 >= t3) + return H.ioore(t1, t00); + t00 = H._asIntS(t1[t00]); + if (typeof t00 !== "number") + return t00.$shr(); + t10 = C.JSInt_methods._shrOtherPositive$1(t00, 24); + if (typeof t15 !== "number") + return t15.$xor(); + t8 = r2 >>> 16 & 255; + if (t8 >= t3) + return H.ioore(t1, t8); + t8 = H._asIntS(t1[t8]); + if (typeof t8 !== "number") + return t8.$shr(); + t20 = C.JSInt_methods._shrOtherPositive$1(t8, 16); + t13 = r1 >>> 24 & 255; + if (t13 >= t3) + return H.ioore(t1, t13); + t13 = H._asIntS(t1[t13]); + if (typeof t13 !== "number") + return t13.$shr(); + t12 = C.JSInt_methods._shrOtherPositive$1(t13, 8); + if (r >= t2) + return H.ioore(KW, r); + t9 = KW[r]; + t00 = t15 ^ (t10 | (t00 & t7) << 8) ^ (t20 | (t8 & t11) << 16) ^ (t12 | (t13 & t14) << 24) ^ t9[0]; + t13 = r1 & 255; + if (t13 >= t3) + return H.ioore(t1, t13); + t13 = t1[t13]; + t12 = r0 >>> 8 & 255; + if (t12 >= t3) + return H.ioore(t1, t12); + t12 = H._asIntS(t1[t12]); + if (typeof t12 !== "number") + return t12.$shr(); + t8 = C.JSInt_methods._shrOtherPositive$1(t12, 24); + if (typeof t13 !== "number") + return t13.$xor(); + t20 = r3 >>> 16 & 255; + if (t20 >= t3) + return H.ioore(t1, t20); + t20 = H._asIntS(t1[t20]); + if (typeof t20 !== "number") + return t20.$shr(); + t10 = C.JSInt_methods._shrOtherPositive$1(t20, 16); + t15 = r2 >>> 24 & 255; + if (t15 >= t3) + return H.ioore(t1, t15); + t15 = H._asIntS(t1[t15]); + if (typeof t15 !== "number") + return t15.$shr(); + t10 = t13 ^ (t8 | (t12 & t7) << 8) ^ (t10 | (t20 & t11) << 16) ^ (C.JSInt_methods._shrOtherPositive$1(t15, 8) | (t15 & t14) << 24) ^ t9[1]; + t15 = r2 & 255; + if (t15 >= t3) + return H.ioore(t1, t15); + t15 = t1[t15]; + t20 = r1 >>> 8 & 255; + if (t20 >= t3) + return H.ioore(t1, t20); + t20 = H._asIntS(t1[t20]); + if (typeof t20 !== "number") + return t20.$shr(); + t12 = C.JSInt_methods._shrOtherPositive$1(t20, 24); + if (typeof t15 !== "number") + return t15.$xor(); + t8 = r0 >>> 16 & 255; + if (t8 >= t3) + return H.ioore(t1, t8); + t8 = H._asIntS(t1[t8]); + if (typeof t8 !== "number") + return t8.$shr(); + t13 = C.JSInt_methods._shrOtherPositive$1(t8, 16); + t5 = r3 >>> 24 & 255; + if (t5 >= t3) + return H.ioore(t1, t5); + t5 = H._asIntS(t1[t5]); + if (typeof t5 !== "number") + return t5.$shr(); + t20 = t15 ^ (t12 | (t20 & t7) << 8) ^ (t13 | (t8 & t11) << 16) ^ (C.JSInt_methods._shrOtherPositive$1(t5, 8) | (t5 & t14) << 24) ^ t9[2]; + t5 = r3 & 255; + if (t5 >= t3) + return H.ioore(t1, t5); + t5 = t1[t5]; + t8 = r2 >>> 8 & 255; + if (t8 >= t3) + return H.ioore(t1, t8); + t8 = H._asIntS(t1[t8]); + if (typeof t8 !== "number") + return t8.$shr(); + t13 = C.JSInt_methods._shrOtherPositive$1(t8, 24); + if (typeof t5 !== "number") + return t5.$xor(); + t12 = r1 >>> 16 & 255; + if (t12 >= t3) + return H.ioore(t1, t12); + t12 = H._asIntS(t1[t12]); + if (typeof t12 !== "number") + return t12.$shr(); + t15 = C.JSInt_methods._shrOtherPositive$1(t12, 16); + t6 = r0 >>> 24 & 255; + if (t6 >= t3) + return H.ioore(t1, t6); + t6 = H._asIntS(t1[t6]); + if (typeof t6 !== "number") + return t6.$shr(); + --r; + r3 = t5 ^ (t13 | (t8 & t7) << 8) ^ (t15 | (t12 & t11) << 16) ^ (C.JSInt_methods._shrOtherPositive$1(t6, 8) | (t6 & t14) << 24) ^ t9[3]; + } + t2 = t00 & 255; + if (t2 >= t3) + return H.ioore(t1, t2); + t2 = t1[t2]; + t4 = r3 >>> 8 & 255; + if (t4 >= t3) + return H.ioore(t1, t4); + t4 = G.rotr32(H._asIntS(t1[t4]), 24); + if (typeof t2 !== "number") + return t2.$xor(); + t3 = t20 >>> 16 & 255; + if (t3 >= t1.length) + return H.ioore(t1, t3); + t3 = G.rotr32(H._asIntS(t1[t3]), 16); + t5 = t10 >>> 24 & 255; + if (t5 >= t1.length) + return H.ioore(t1, t5); + t5 = G.rotr32(H._asIntS(t1[t5]), 8); + if (r < 0 || r >= KW.length) + return H.ioore(KW, r); + r0 = t2 ^ t4 ^ t3 ^ t5 ^ KW[r][0]; + t5 = t10 & 255; + t3 = t1.length; + if (t5 >= t3) + return H.ioore(t1, t5); + t5 = t1[t5]; + t4 = t00 >>> 8 & 255; + if (t4 >= t3) + return H.ioore(t1, t4); + t4 = G.rotr32(H._asIntS(t1[t4]), 24); + if (typeof t5 !== "number") + return t5.$xor(); + t3 = r3 >>> 16 & 255; + if (t3 >= t1.length) + return H.ioore(t1, t3); + t3 = G.rotr32(H._asIntS(t1[t3]), 16); + t2 = t20 >>> 24 & 255; + if (t2 >= t1.length) + return H.ioore(t1, t2); + t2 = G.rotr32(H._asIntS(t1[t2]), 8); + if (r >= KW.length) + return H.ioore(KW, r); + r1 = t5 ^ t4 ^ t3 ^ t2 ^ KW[r][1]; + t2 = t20 & 255; + t3 = t1.length; + if (t2 >= t3) + return H.ioore(t1, t2); + t2 = t1[t2]; + t4 = t10 >>> 8 & 255; + if (t4 >= t3) + return H.ioore(t1, t4); + t4 = G.rotr32(H._asIntS(t1[t4]), 24); + if (typeof t2 !== "number") + return t2.$xor(); + t3 = t00 >>> 16 & 255; + if (t3 >= t1.length) + return H.ioore(t1, t3); + t3 = G.rotr32(H._asIntS(t1[t3]), 16); + t5 = r3 >>> 24 & 255; + if (t5 >= t1.length) + return H.ioore(t1, t5); + t5 = G.rotr32(H._asIntS(t1[t5]), 8); + if (r >= KW.length) + return H.ioore(KW, r); + r2 = t2 ^ t4 ^ t3 ^ t5 ^ KW[r][2]; + t5 = r3 & 255; + t3 = t1.length; + if (t5 >= t3) + return H.ioore(t1, t5); + t5 = t1[t5]; + t20 = t20 >>> 8 & 255; + if (t20 >= t3) + return H.ioore(t1, t20); + t20 = G.rotr32(H._asIntS(t1[t20]), 24); + if (typeof t5 !== "number") + return t5.$xor(); + t10 = t10 >>> 16 & 255; + if (t10 >= t1.length) + return H.ioore(t1, t10); + t10 = G.rotr32(H._asIntS(t1[t10]), 16); + t00 = t00 >>> 24 & 255; + if (t00 >= t1.length) + return H.ioore(t1, t00); + t00 = G.rotr32(H._asIntS(t1[t00]), 8); + t1 = KW.length; + if (r >= t1) + return H.ioore(KW, r); + r3 = t5 ^ t20 ^ t10 ^ t00 ^ KW[r][3]; + t00 = _this._Si; + t10 = t00[r0 & 255]; + t20 = _this._s; + t5 = r3 >>> 8 & 255; + t3 = t20.length; + if (t5 >= t3) + return H.ioore(t20, t5); + t5 = t20[t5]; + if (typeof t5 !== "number") + return t5.$and(); + t4 = r2 >>> 16 & 255; + if (t4 >= t3) + return H.ioore(t20, t4); + t4 = t20[t4]; + if (typeof t4 !== "number") + return t4.$and(); + t2 = t00[r1 >>> 24 & 255]; + if (0 >= t1) + return H.ioore(KW, 0); + t1 = KW[0]; + t6 = t1[0]; + t7 = r1 & 255; + if (t7 >= t3) + return H.ioore(t20, t7); + t7 = t20[t7]; + if (typeof t7 !== "number") + return t7.$and(); + t8 = r0 >>> 8 & 255; + if (t8 >= t3) + return H.ioore(t20, t8); + t8 = t20[t8]; + if (typeof t8 !== "number") + return t8.$and(); + t9 = t00[r3 >>> 16 & 255]; + t11 = r2 >>> 24 & 255; + if (t11 >= t3) + return H.ioore(t20, t11); + t11 = t20[t11]; + if (typeof t11 !== "number") + return t11.$shl(); + t12 = t1[1]; + t13 = r2 & 255; + if (t13 >= t3) + return H.ioore(t20, t13); + t13 = t20[t13]; + if (typeof t13 !== "number") + return t13.$and(); + t14 = t00[r1 >>> 8 & 255]; + t15 = t00[r0 >>> 16 & 255]; + t16 = r3 >>> 24 & 255; + if (t16 >= t3) + return H.ioore(t20, t16); + t16 = t20[t16]; + if (typeof t16 !== "number") + return t16.$shl(); + t17 = t1[2]; + t00 = t00[r3 & 255]; + t18 = r2 >>> 8 & 255; + if (t18 >= t3) + return H.ioore(t20, t18); + t18 = t20[t18]; + if (typeof t18 !== "number") + return t18.$and(); + t19 = r1 >>> 16 & 255; + if (t19 >= t3) + return H.ioore(t20, t19); + t19 = t20[t19]; + if (typeof t19 !== "number") + return t19.$and(); + t21 = r0 >>> 24 & 255; + if (t21 >= t3) + return H.ioore(t20, t21); + t21 = t20[t21]; + if (typeof t21 !== "number") + return t21.$shl(); + t1 = t1[3]; + G.pack32((t10 & 255 ^ (t5 & 255) << 8 ^ (t4 & 255) << 16 ^ t2 << 24 ^ t6) >>> 0, out, outOff, C.C_Endian); + G.pack32((t7 & 255 ^ (t8 & 255) << 8 ^ (t9 & 255) << 16 ^ t11 << 24 ^ t12) >>> 0, out, outOff + 4, C.C_Endian); + G.pack32((t13 & 255 ^ (t14 & 255) << 8 ^ (t15 & 255) << 16 ^ t16 << 24 ^ t17) >>> 0, out, outOff + 8, C.C_Endian); + G.pack32((t00 & 255 ^ (t18 & 255) << 8 ^ (t19 & 255) << 16 ^ t21 << 24 ^ t1) >>> 0, out, outOff + 12, C.C_Endian); + }, + set$_WorkingKey: function(_WorkingKey) { + this._WorkingKey = type$.nullable_List_List_int._as(_WorkingKey); + }, + set$_s: function(_s) { + this._s = type$.List_int._as(_s); + } + }; + A.SHA1Digest.prototype = { + processBlock$0: function() { + var t1, t2, i, t3, t4, t5, t6, t, $A, $B, $C, $D, $E, A0, idx, j, idx0; + for (t1 = this.buffer, t2 = t1.length, i = 16; i < 80; ++i) { + t3 = i - 3; + if (t3 >= t2) + return H.ioore(t1, t3); + t3 = t1[t3]; + t4 = i - 8; + if (t4 >= t2) + return H.ioore(t1, t4); + t4 = t1[t4]; + if (typeof t3 !== "number") + return t3.$xor(); + if (typeof t4 !== "number") + return H.iae(t4); + t5 = i - 14; + if (t5 >= t2) + return H.ioore(t1, t5); + t5 = t1[t5]; + if (typeof t5 !== "number") + return H.iae(t5); + t6 = i - 16; + if (t6 >= t2) + return H.ioore(t1, t6); + t6 = t1[t6]; + if (typeof t6 !== "number") + return H.iae(t6); + t = t3 ^ t4 ^ t5 ^ t6; + C.JSArray_methods.$indexSet(t1, i, ((t & $._MASK32_HI_BITS[1]) << 1 | t >>> 31) >>> 0); + } + t3 = this.state; + t4 = t3.length; + if (0 >= t4) + return H.ioore(t3, 0); + $A = t3[0]; + if (1 >= t4) + return H.ioore(t3, 1); + $B = t3[1]; + if (2 >= t4) + return H.ioore(t3, 2); + $C = t3[2]; + if (3 >= t4) + return H.ioore(t3, 3); + $D = t3[3]; + if (4 >= t4) + return H.ioore(t3, 4); + $E = t3[4]; + for (A0 = $A, idx = 0, j = 0; j < 4; ++j, idx = idx0) { + t4 = $._MASK32_HI_BITS[5]; + idx0 = idx + 1; + if (idx >= t2) + return H.ioore(t1, idx); + t5 = t1[idx]; + if (typeof t5 !== "number") + return H.iae(t5); + $E = $E + (((A0 & t4) << 5 | A0 >>> 27) >>> 0) + (($B & $C | ~$B & $D) >>> 0) + t5 + 1518500249 >>> 0; + t5 = $._MASK32_HI_BITS[30]; + $B = (($B & t5) << 30 | $B >>> 2) >>> 0; + idx = idx0 + 1; + if (idx0 >= t2) + return H.ioore(t1, idx0); + t6 = t1[idx0]; + if (typeof t6 !== "number") + return H.iae(t6); + $D = $D + ((($E & t4) << 5 | $E >>> 27) >>> 0) + ((A0 & $B | ~A0 & $C) >>> 0) + t6 + 1518500249 >>> 0; + A0 = ((A0 & t5) << 30 | A0 >>> 2) >>> 0; + idx0 = idx + 1; + if (idx >= t2) + return H.ioore(t1, idx); + t6 = t1[idx]; + if (typeof t6 !== "number") + return H.iae(t6); + $C = $C + ((($D & t4) << 5 | $D >>> 27) >>> 0) + (($E & A0 | ~$E & $B) >>> 0) + t6 + 1518500249 >>> 0; + $E = (($E & t5) << 30 | $E >>> 2) >>> 0; + idx = idx0 + 1; + if (idx0 >= t2) + return H.ioore(t1, idx0); + t6 = t1[idx0]; + if (typeof t6 !== "number") + return H.iae(t6); + $B = $B + ((($C & t4) << 5 | $C >>> 27) >>> 0) + (($D & $E | ~$D & A0) >>> 0) + t6 + 1518500249 >>> 0; + $D = (($D & t5) << 30 | $D >>> 2) >>> 0; + idx0 = idx + 1; + if (idx >= t2) + return H.ioore(t1, idx); + t6 = t1[idx]; + if (typeof t6 !== "number") + return H.iae(t6); + A0 = A0 + ((($B & t4) << 5 | $B >>> 27) >>> 0) + (($C & $D | ~$C & $E) >>> 0) + t6 + 1518500249 >>> 0; + $C = (($C & t5) << 30 | $C >>> 2) >>> 0; + } + for (j = 0; j < 4; ++j, idx = idx0) { + t4 = $._MASK32_HI_BITS[5]; + idx0 = idx + 1; + if (idx >= t2) + return H.ioore(t1, idx); + t5 = t1[idx]; + if (typeof t5 !== "number") + return H.iae(t5); + $E = $E + (((A0 & t4) << 5 | A0 >>> 27) >>> 0) + (($B ^ $C ^ $D) >>> 0) + t5 + 1859775393 >>> 0; + t5 = $._MASK32_HI_BITS[30]; + $B = (($B & t5) << 30 | $B >>> 2) >>> 0; + idx = idx0 + 1; + if (idx0 >= t2) + return H.ioore(t1, idx0); + t6 = t1[idx0]; + if (typeof t6 !== "number") + return H.iae(t6); + $D = $D + ((($E & t4) << 5 | $E >>> 27) >>> 0) + ((A0 ^ $B ^ $C) >>> 0) + t6 + 1859775393 >>> 0; + A0 = ((A0 & t5) << 30 | A0 >>> 2) >>> 0; + idx0 = idx + 1; + if (idx >= t2) + return H.ioore(t1, idx); + t6 = t1[idx]; + if (typeof t6 !== "number") + return H.iae(t6); + $C = $C + ((($D & t4) << 5 | $D >>> 27) >>> 0) + (($E ^ A0 ^ $B) >>> 0) + t6 + 1859775393 >>> 0; + $E = (($E & t5) << 30 | $E >>> 2) >>> 0; + idx = idx0 + 1; + if (idx0 >= t2) + return H.ioore(t1, idx0); + t6 = t1[idx0]; + if (typeof t6 !== "number") + return H.iae(t6); + $B = $B + ((($C & t4) << 5 | $C >>> 27) >>> 0) + (($D ^ $E ^ A0) >>> 0) + t6 + 1859775393 >>> 0; + $D = (($D & t5) << 30 | $D >>> 2) >>> 0; + idx0 = idx + 1; + if (idx >= t2) + return H.ioore(t1, idx); + t6 = t1[idx]; + if (typeof t6 !== "number") + return H.iae(t6); + A0 = A0 + ((($B & t4) << 5 | $B >>> 27) >>> 0) + (($C ^ $D ^ $E) >>> 0) + t6 + 1859775393 >>> 0; + $C = (($C & t5) << 30 | $C >>> 2) >>> 0; + } + for (j = 0; j < 4; ++j, idx = idx0) { + t4 = $._MASK32_HI_BITS[5]; + idx0 = idx + 1; + if (idx >= t2) + return H.ioore(t1, idx); + t5 = t1[idx]; + if (typeof t5 !== "number") + return H.iae(t5); + $E = $E + (((A0 & t4) << 5 | A0 >>> 27) >>> 0) + (($B & $C | $B & $D | $C & $D) >>> 0) + t5 + 2400959708 >>> 0; + t5 = $._MASK32_HI_BITS[30]; + $B = (($B & t5) << 30 | $B >>> 2) >>> 0; + idx = idx0 + 1; + if (idx0 >= t2) + return H.ioore(t1, idx0); + t6 = t1[idx0]; + if (typeof t6 !== "number") + return H.iae(t6); + $D = $D + ((($E & t4) << 5 | $E >>> 27) >>> 0) + ((A0 & $B | A0 & $C | $B & $C) >>> 0) + t6 + 2400959708 >>> 0; + A0 = ((A0 & t5) << 30 | A0 >>> 2) >>> 0; + idx0 = idx + 1; + if (idx >= t2) + return H.ioore(t1, idx); + t6 = t1[idx]; + if (typeof t6 !== "number") + return H.iae(t6); + $C = $C + ((($D & t4) << 5 | $D >>> 27) >>> 0) + (($E & A0 | $E & $B | A0 & $B) >>> 0) + t6 + 2400959708 >>> 0; + $E = (($E & t5) << 30 | $E >>> 2) >>> 0; + idx = idx0 + 1; + if (idx0 >= t2) + return H.ioore(t1, idx0); + t6 = t1[idx0]; + if (typeof t6 !== "number") + return H.iae(t6); + $B = $B + ((($C & t4) << 5 | $C >>> 27) >>> 0) + (($D & $E | $D & A0 | $E & A0) >>> 0) + t6 + 2400959708 >>> 0; + $D = (($D & t5) << 30 | $D >>> 2) >>> 0; + idx0 = idx + 1; + if (idx >= t2) + return H.ioore(t1, idx); + t6 = t1[idx]; + if (typeof t6 !== "number") + return H.iae(t6); + A0 = A0 + ((($B & t4) << 5 | $B >>> 27) >>> 0) + (($C & $D | $C & $E | $D & $E) >>> 0) + t6 + 2400959708 >>> 0; + $C = (($C & t5) << 30 | $C >>> 2) >>> 0; + } + for (j = 0; j < 4; ++j, idx = idx0) { + t4 = $._MASK32_HI_BITS[5]; + idx0 = idx + 1; + if (idx >= t2) + return H.ioore(t1, idx); + t5 = t1[idx]; + if (typeof t5 !== "number") + return H.iae(t5); + $E = $E + (((A0 & t4) << 5 | A0 >>> 27) >>> 0) + (($B ^ $C ^ $D) >>> 0) + t5 + 3395469782 >>> 0; + t5 = $._MASK32_HI_BITS[30]; + $B = (($B & t5) << 30 | $B >>> 2) >>> 0; + idx = idx0 + 1; + if (idx0 >= t2) + return H.ioore(t1, idx0); + t6 = t1[idx0]; + if (typeof t6 !== "number") + return H.iae(t6); + $D = $D + ((($E & t4) << 5 | $E >>> 27) >>> 0) + ((A0 ^ $B ^ $C) >>> 0) + t6 + 3395469782 >>> 0; + A0 = ((A0 & t5) << 30 | A0 >>> 2) >>> 0; + idx0 = idx + 1; + if (idx >= t2) + return H.ioore(t1, idx); + t6 = t1[idx]; + if (typeof t6 !== "number") + return H.iae(t6); + $C = $C + ((($D & t4) << 5 | $D >>> 27) >>> 0) + (($E ^ A0 ^ $B) >>> 0) + t6 + 3395469782 >>> 0; + $E = (($E & t5) << 30 | $E >>> 2) >>> 0; + idx = idx0 + 1; + if (idx0 >= t2) + return H.ioore(t1, idx0); + t6 = t1[idx0]; + if (typeof t6 !== "number") + return H.iae(t6); + $B = $B + ((($C & t4) << 5 | $C >>> 27) >>> 0) + (($D ^ $E ^ A0) >>> 0) + t6 + 3395469782 >>> 0; + $D = (($D & t5) << 30 | $D >>> 2) >>> 0; + idx0 = idx + 1; + if (idx >= t2) + return H.ioore(t1, idx); + t6 = t1[idx]; + if (typeof t6 !== "number") + return H.iae(t6); + A0 = A0 + ((($B & t4) << 5 | $B >>> 27) >>> 0) + (($C ^ $D ^ $E) >>> 0) + t6 + 3395469782 >>> 0; + $C = (($C & t5) << 30 | $C >>> 2) >>> 0; + } + C.JSArray_methods.$indexSet(t3, 0, $A + A0 >>> 0); + C.JSArray_methods.$indexSet(t3, 1, t3[1] + $B >>> 0); + C.JSArray_methods.$indexSet(t3, 2, t3[2] + $C >>> 0); + C.JSArray_methods.$indexSet(t3, 3, t3[3] + $D >>> 0); + C.JSArray_methods.$indexSet(t3, 4, t3[4] + $E >>> 0); + } + }; + N.Pbkdf2Parameters.prototype = {}; + D.PBKDF2KeyDerivator.prototype = { + get$_params: function() { + var t1 = this.__PBKDF2KeyDerivator__params; + return t1 === $ ? H.throwExpression(H.LateError$fieldNI("_params")) : t1; + }, + get$_pbkdf2$_state: function() { + var t1 = this.__PBKDF2KeyDerivator__state; + return t1 === $ ? H.throwExpression(H.LateError$fieldNI("_state")) : t1; + }, + deriveKey$4: function(inp, inpOff, out, outOff) { + var l, iBuf, outBytes, outPos, i, pos, t2, _this = this, + dkLen = _this.get$_params().desiredKeyLength, + t1 = _this._mac, + hLen = t1.get$_digestSize(); + if (typeof hLen !== "number") + return H.iae(hLen); + l = C.JSInt_methods.$tdiv(dkLen + hLen - 1, hLen); + iBuf = new Uint8Array(4); + outBytes = new Uint8Array(l * hLen); + t1.init$1(0, new U.KeyParameter(C.NativeUint8List_methods.sublist$1(inp, inpOff))); + for (outPos = 0, i = 1; i <= l; ++i) { + for (pos = 3; true; --pos) { + if (pos < 0) + return H.ioore(iBuf, pos); + iBuf[pos] = iBuf[pos] + 1; + if (iBuf[pos] !== 0) + break; + } + t1 = _this.__PBKDF2KeyDerivator__params; + t2 = (t1 === $ ? H.throwExpression(H.LateError$fieldNI("_params")) : t1).salt; + _this._pbkdf2$_f$5(t2, t1.iterationCount, iBuf, outBytes, outPos); + outPos += hLen; + } + C.NativeUint8List_methods.setRange$3(out, outOff, outOff + dkLen, outBytes); + return _this.get$_params().desiredKeyLength; + }, + _pbkdf2$_f$5: function($S, c, iBuf, out, outOff) { + var t1, t2, t3, count, t4, t5, j, t6, _this = this, _s6_ = "_state"; + if (c <= 0) + throw H.wrapException(P.ArgumentError$("Iteration count must be at least 1.")); + t1 = _this._mac; + t2 = t1._digest; + t2.update$3(0, $S, 0, J.get$length$asx($S)); + t2.update$3(0, iBuf, 0, 4); + t1.doFinal$2(_this.get$_pbkdf2$_state(), 0); + C.NativeUint8List_methods.setRange$3(out, outOff, outOff + J.get$length$asx(_this.get$_pbkdf2$_state()), _this.get$_pbkdf2$_state()); + for (t3 = out.length, count = 1; count < c; ++count) { + t4 = _this.__PBKDF2KeyDerivator__state; + t5 = t4 === $ ? H.throwExpression(H.LateError$fieldNI(_s6_)) : t4; + t2.update$3(0, t5, 0, J.get$length$asx(t4)); + t4 = _this.__PBKDF2KeyDerivator__state; + t1.doFinal$2(t4 === $ ? H.throwExpression(H.LateError$fieldNI(_s6_)) : t4, 0); + j = 0; + while (true) { + t4 = _this.__PBKDF2KeyDerivator__state; + if (!(j !== J.get$length$asx(t4 === $ ? H.throwExpression(H.LateError$fieldNI(_s6_)) : t4))) + break; + t4 = outOff + j; + if (t4 < 0 || t4 >= t3) + return H.ioore(out, t4); + t5 = out[t4]; + t6 = _this.__PBKDF2KeyDerivator__state; + out[t4] = (t5 ^ J.$index$asx(t6 === $ ? H.throwExpression(H.LateError$fieldNI(_s6_)) : t6, j)) >>> 0; + ++j; + } + } + } + }; + A.HMac.prototype = { + get$_digestSize: function() { + var t1 = this.__HMac__digestSize; + return t1 === $ ? H.throwExpression(H.LateError$fieldNI("_digestSize")) : t1; + }, + get$_blockLength: function() { + var t1 = this.__HMac__blockLength; + return t1 === $ ? H.throwExpression(H.LateError$fieldNI("_blockLength")) : t1; + }, + get$_inputPad: function() { + var t1 = this.__HMac__inputPad; + return t1 === $ ? H.throwExpression(H.LateError$fieldNI("_inputPad")) : t1; + }, + get$_outputBuf: function() { + var t1 = this.__HMac__outputBuf; + return t1 === $ ? H.throwExpression(H.LateError$fieldNI("_outputBuf")) : t1; + }, + init$1: function(_, params) { + var key, keyLength, t2, _this = this, + t1 = _this._digest; + t1.reset$0(0); + key = params.get$key(params); + keyLength = J.get$length$asx(key); + t2 = _this.get$_blockLength(); + if (typeof t2 !== "number") + return H.iae(t2); + if (keyLength > t2) { + t1.update$3(0, key, 0, keyLength); + t1.doFinal$2(_this.get$_inputPad(), 0); + keyLength = _this.get$_digestSize(); + } else + J.setRange$3$ax(_this.get$_inputPad(), 0, keyLength, key); + J.fillRange$3$ax(_this.get$_inputPad(), keyLength, J.get$length$asx(_this.get$_inputPad()), 0); + J.setRange$3$ax(_this.get$_outputBuf(), 0, _this.get$_blockLength(), _this.get$_inputPad()); + _this._xorPad$3(_this.get$_inputPad(), _this.get$_blockLength(), 54); + _this._xorPad$3(_this.get$_outputBuf(), _this.get$_blockLength(), 92); + t1.update$3(0, _this.get$_inputPad(), 0, J.get$length$asx(_this.get$_inputPad())); + }, + doFinal$2: function(out, outOff) { + var len, _this = this, + t1 = _this._digest; + t1.doFinal$2(_this.get$_outputBuf(), _this.get$_blockLength()); + t1.update$3(0, _this.get$_outputBuf(), 0, J.get$length$asx(_this.get$_outputBuf())); + len = t1.doFinal$2(out, outOff); + J.fillRange$3$ax(_this.get$_outputBuf(), _this.get$_blockLength(), J.get$length$asx(_this.get$_outputBuf()), 0); + t1.update$3(0, _this.get$_inputPad(), 0, J.get$length$asx(_this.get$_inputPad())); + return len; + }, + _xorPad$3: function(pad, len, n) { + var t1, i; + if (typeof len !== "number") + return H.iae(len); + t1 = J.getInterceptor$asx(pad); + i = 0; + for (; i < len; ++i) + t1.$indexSet(pad, i, (t1.$index(pad, i) ^ n) >>> 0); + } + }; + G.BaseBlockCipher.prototype = {}; + T.BaseDigest.prototype = {$isDigest: 1}; + N.BaseKeyDerivator.prototype = {}; + O.BaseMac.prototype = {$isMac: 1}; + G.MD4FamilyDigest.prototype = { + get$_wordBufferOffset: function() { + var t1 = this.__MD4FamilyDigest__wordBufferOffset; + return t1 === $ ? H.throwExpression(H.LateError$fieldNI("_wordBufferOffset")) : t1; + }, + get$bufferOffset: function() { + var t1 = this.__MD4FamilyDigest_bufferOffset; + return t1 === $ ? H.throwExpression(H.LateError$fieldNI("bufferOffset")) : t1; + }, + reset$0: function(_) { + var t1, _this = this; + _this._byteCount.$set$1(0, 0); + _this.__MD4FamilyDigest__wordBufferOffset = 0; + C.NativeUint8List_methods.fillRange$3(_this._wordBuffer, 0, 4, 0); + _this.__MD4FamilyDigest_bufferOffset = 0; + t1 = _this.buffer; + C.JSArray_methods.fillRange$3(t1, 0, t1.length, 0); + t1 = _this.state; + C.JSArray_methods.$indexSet(t1, 0, 1732584193); + C.JSArray_methods.$indexSet(t1, 1, 4023233417); + C.JSArray_methods.$indexSet(t1, 2, 2562383102); + C.JSArray_methods.$indexSet(t1, 3, 271733878); + C.JSArray_methods.$indexSet(t1, 4, 3285377520); + }, + updateByte$1: function(inp) { + var _this = this, + t1 = _this._wordBuffer, + t2 = _this.get$_wordBufferOffset(); + if (typeof t2 !== "number") + return t2.$add(); + _this.__MD4FamilyDigest__wordBufferOffset = t2 + 1; + if (t2 < 0 || t2 >= 4) + return H.ioore(t1, t2); + t1[t2] = inp & 255; + if (_this.get$_wordBufferOffset() === 4) { + _this._processWord$2(t1, 0); + _this.__MD4FamilyDigest__wordBufferOffset = 0; + } + _this._byteCount.sum$1(1); + }, + update$3: function(_, inp, inpOff, len) { + var nbytes = this._processUntilNextWord$3(inp, inpOff, len); + inpOff += nbytes; + len -= nbytes; + nbytes = this._processWholeWords$3(inp, inpOff, len); + this._processBytes$3(inp, inpOff + nbytes, len - nbytes); + }, + doFinal$2: function(out, outOff) { + var t1, t2, _this = this, + bitLength = G.Register64$(_this._byteCount); + bitLength.__Register64__hi32 = G.shiftl32(bitLength.get$_hi32(), 3); + t1 = bitLength.get$_hi32(); + t2 = bitLength.get$_lo32(); + if (typeof t2 !== "number") + return t2.$shr(); + t2 = C.JSInt_methods._shrOtherPositive$1(t2, 29); + if (typeof t1 !== "number") + return t1.$or(); + bitLength.__Register64__hi32 = (t1 | t2) >>> 0; + bitLength.__Register64__lo32 = G.shiftl32(bitLength.get$_lo32(), 3); + _this._processPadding$0(); + t1 = _this.get$bufferOffset(); + if (typeof t1 !== "number") + return t1.$gt(); + if (t1 > 14) + _this._doProcessBlock$0(); + t1 = _this._endian; + switch (t1) { + case C.C_Endian: + t1 = _this.buffer; + C.JSArray_methods.$indexSet(t1, 14, bitLength.get$_lo32()); + C.JSArray_methods.$indexSet(t1, 15, bitLength.get$_hi32()); + break; + case C.C_Endian0: + t1 = _this.buffer; + C.JSArray_methods.$indexSet(t1, 14, bitLength.get$_hi32()); + C.JSArray_methods.$indexSet(t1, 15, bitLength.get$_lo32()); + break; + default: + H.throwExpression(P.StateError$("Invalid endianness: " + t1.toString$0(0))); + } + _this._doProcessBlock$0(); + _this._packState$2(out, outOff); + _this.reset$0(0); + return 20; + }, + _processWord$2: function(inp, inpOff) { + var _this = this, + t1 = _this.get$bufferOffset(); + if (typeof t1 !== "number") + return t1.$add(); + _this.__MD4FamilyDigest_bufferOffset = t1 + 1; + C.JSArray_methods.$indexSet(_this.buffer, t1, G.unpack32(inp, inpOff, _this._endian)); + if (_this.get$bufferOffset() === 16) + _this._doProcessBlock$0(); + }, + _doProcessBlock$0: function() { + this.processBlock$0(); + this.__MD4FamilyDigest_bufferOffset = 0; + C.JSArray_methods.fillRange$3(this.buffer, 0, 16, 0); + }, + _processBytes$3: function(inp, inpOff, len) { + var t1; + for (t1 = J.getInterceptor$asx(inp); len > 0;) { + this.updateByte$1(t1.$index(inp, inpOff)); + ++inpOff; + --len; + } + }, + _processWholeWords$3: function(inp, inpOff, len) { + var t1, processed; + for (t1 = this._byteCount, processed = 0; len > 4;) { + this._processWord$2(inp, inpOff); + inpOff += 4; + len -= 4; + t1.sum$1(4); + processed += 4; + } + return processed; + }, + _processUntilNextWord$3: function(inp, inpOff, len) { + var t2, + t1 = J.getInterceptor$asx(inp), + processed = 0; + while (true) { + t2 = this.__MD4FamilyDigest__wordBufferOffset; + if (!((t2 === $ ? H.throwExpression(H.LateError$fieldNI("_wordBufferOffset")) : t2) !== 0 && len > 0)) + break; + this.updateByte$1(t1.$index(inp, inpOff)); + ++inpOff; + --len; + ++processed; + } + return processed; + }, + _processPadding$0: function() { + this.updateByte$1(128); + while (true) { + var t1 = this.__MD4FamilyDigest__wordBufferOffset; + if (!((t1 === $ ? H.throwExpression(H.LateError$fieldNI("_wordBufferOffset")) : t1) !== 0)) + break; + this.updateByte$1(0); + } + }, + _packState$2: function(out, outOff) { + var t1, t2, t3, t4, t5, i, t6, out0; + for (t1 = this._packedStateSize, t2 = J.getInterceptor$x(out), t3 = this.state, t4 = t3.length, t5 = this._endian, i = 0; i < t1; ++i) { + if (i >= t4) + return H.ioore(t3, i); + t6 = t3[i]; + if (typeof outOff !== "number") + return outOff.$add(); + out0 = J.asByteData$2$x(t2.get$buffer(out), t2.get$offsetInBytes(out), t2.get$length(out)); + J.setUint32$3$x(out0, outOff + i * 4, t6, t5); + } + } + }; + S.NodeCrypto.prototype = {}; + G.Register64.prototype = { + get$_hi32: function() { + var t1 = this.__Register64__hi32; + return t1 === $ ? H.throwExpression(H.LateError$fieldNI("_hi32")) : t1; + }, + get$_lo32: function() { + var t1 = this.__Register64__lo32; + return t1 === $ ? H.throwExpression(H.LateError$fieldNI("_lo32")) : t1; + }, + $eq: function(_, y) { + if (y == null) + return false; + return y instanceof G.Register64 && this.get$_hi32() == y.get$_hi32() && this.get$_lo32() == y.get$_lo32(); + }, + $set$2: function(_, hiOrLo32OrY, lo32) { + var _this = this; + if (hiOrLo32OrY instanceof G.Register64) { + _this.__Register64__hi32 = hiOrLo32OrY.get$_hi32(); + _this.__Register64__lo32 = hiOrLo32OrY.get$_lo32(); + } else { + _this.__Register64__hi32 = 0; + _this.__Register64__lo32 = H._asIntS(hiOrLo32OrY); + } + }, + $set$1: function($receiver, hiOrLo32OrY) { + return this.$set$2($receiver, hiOrLo32OrY, null); + }, + sum$1: function(y) { + var slo32, _this = this, + t1 = _this.get$_lo32(); + if (typeof t1 !== "number") + return t1.$add(); + slo32 = t1 + y; + _this.__Register64__lo32 = slo32 >>> 0; + if (slo32 !== _this.get$_lo32()) { + t1 = _this.get$_hi32(); + if (typeof t1 !== "number") + return t1.$add(); + _this.__Register64__hi32 = t1 + 1; + t1 = _this.get$_hi32(); + if (typeof t1 !== "number") + return t1.$and(); + _this.__Register64__hi32 = t1 >>> 0; + } + }, + toString$0: function(_) { + var t1, _this = this, + sb = new P.StringBuffer(""); + _this._padWrite$2(sb, _this.get$_hi32()); + _this._padWrite$2(sb, _this.get$_lo32()); + t1 = sb._contents; + return t1.charCodeAt(0) == 0 ? t1 : t1; + }, + _padWrite$2: function(sb, value) { + var i, + str = J.toRadixString$1$n(value, 16); + for (i = 8 - str.length; i > 0; --i) + sb._contents += "0"; + sb._contents += str; + }, + get$hashCode: function(_) { + return P.Object.prototype.get$hashCode.call(this, this); + } + }; + A.hashObjects_closure0.prototype = { + call$2: function(h, i) { + return A._combine0(H._asIntS(h), J.get$hashCode$(i)); + }, + $signature: 352 + }; + S.zip_closure.prototype = { + call$1: function(e) { + return J.get$iterator$ax(this.T._eval$1("Iterable<0*>*")._as(e)); + }, + $signature: function() { + return this.T._eval$1("Iterator<0*>*(Iterable<0*>*)"); + } + }; + S.zip_closure0.prototype = { + call$1: function(e) { + return this.T._eval$1("Iterator<0*>*")._as(e).moveNext$0(); + }, + $signature: function() { + return this.T._eval$1("bool*(Iterator<0*>*)"); + } + }; + S.zip_closure1.prototype = { + call$1: function(e) { + this.T._eval$1("Iterator<0*>*")._as(e); + return e.get$current(e); + }, + $signature: function() { + return this.T._eval$1("0*(Iterator<0*>*)"); + } + }; + V.Component2.prototype = { + get$contextType: function() { + return null; + }, + get$defaultProps: function(_) { + return C.Map_empty; + }, + get$initialState: function() { + return C.Map_empty; + }, + get$displayName: function(_) { + return null; + }, + setState$1: function(_, newState) { + $.$get$Component2Bridge_bridgeForComponent().$index(0, this).setState$3(0, this, newState, null); + }, + componentDidMount$0: function() { + }, + getDerivedStateFromProps$2: function(nextProps, prevState) { + return null; + }, + shouldComponentUpdate$2: function(nextProps, nextState) { + return true; + }, + componentDidUpdate$3: function(prevProps, prevState, snapshot) { + }, + componentWillUnmount$0: function() { + }, + componentDidCatch$2: function(error, info) { + }, + getDerivedStateFromError$1: function(error) { + return null; + }, + set$props: function(_, props) { + this.props = type$.legacy_Map_dynamic_dynamic._as(props); + }, + set$state: function(_, state) { + this.state = type$.legacy_Map_dynamic_dynamic._as(state); + }, + $isComponent: 1, + get$props: function(receiver) { + return this.props; + }, + get$state: function(receiver) { + return this.state; + }, + get$jsThis: function() { + return this.jsThis; + } + }; + V.ReactComponentFactoryProxy.prototype = { + call$18: function(props, c1, c2, c3, c4, c5, c6, c7, c8, c9, c10, c11, c12, c13, c14, c15, c16, c17) { + var childArguments, t1, t2, t3; + type$.legacy_Map_dynamic_dynamic._as(props); + if (c1 === C.C_NotSpecified0) + childArguments = C.List_empty; + else if (c2 === C.C_NotSpecified0) + childArguments = [c1]; + else if (c3 === C.C_NotSpecified0) + childArguments = [c1, c2]; + else if (c4 === C.C_NotSpecified0) + childArguments = [c1, c2, c3]; + else if (c5 === C.C_NotSpecified0) + childArguments = [c1, c2, c3, c4]; + else if (c6 === C.C_NotSpecified0) + childArguments = [c1, c2, c3, c4, c5]; + else if (c7 === C.C_NotSpecified0) + childArguments = [c1, c2, c3, c4, c5, c6]; + else { + t1 = [c1, c2, c3, c4, c5, c6, c7, c8, c9, c10, c11, c12, c13, c14, c15, c16, c17, C.C_NotSpecified0, C.C_NotSpecified0, C.C_NotSpecified0, C.C_NotSpecified0, C.C_NotSpecified0, C.C_NotSpecified0, C.C_NotSpecified0, C.C_NotSpecified0, C.C_NotSpecified0, C.C_NotSpecified0, C.C_NotSpecified0, C.C_NotSpecified0, C.C_NotSpecified0, C.C_NotSpecified0, C.C_NotSpecified0, C.C_NotSpecified0, C.C_NotSpecified0, C.C_NotSpecified0, C.C_NotSpecified0, C.C_NotSpecified0, C.C_NotSpecified0, C.C_NotSpecified0, C.C_NotSpecified0]; + t2 = H._arrayInstanceType(t1); + t3 = t2._eval$1("TakeWhileIterable<1>"); + childArguments = P.List_List$of(new H.TakeWhileIterable(t1, t2._eval$1("bool(1)")._as(new V.ReactComponentFactoryProxy_call_closure()), t3), true, t3._eval$1("Iterable.E")); + } + return this.build$2(props, childArguments); + }, + call$1: function(props) { + return this.call$18(props, C.C_NotSpecified0, C.C_NotSpecified0, C.C_NotSpecified0, C.C_NotSpecified0, C.C_NotSpecified0, C.C_NotSpecified0, C.C_NotSpecified0, C.C_NotSpecified0, C.C_NotSpecified0, C.C_NotSpecified0, C.C_NotSpecified0, C.C_NotSpecified0, C.C_NotSpecified0, C.C_NotSpecified0, C.C_NotSpecified0, C.C_NotSpecified0, C.C_NotSpecified0); + }, + call$2: function(props, c1) { + return this.call$18(props, c1, C.C_NotSpecified0, C.C_NotSpecified0, C.C_NotSpecified0, C.C_NotSpecified0, C.C_NotSpecified0, C.C_NotSpecified0, C.C_NotSpecified0, C.C_NotSpecified0, C.C_NotSpecified0, C.C_NotSpecified0, C.C_NotSpecified0, C.C_NotSpecified0, C.C_NotSpecified0, C.C_NotSpecified0, C.C_NotSpecified0, C.C_NotSpecified0); + }, + call$3: function(props, c1, c2) { + return this.call$18(props, c1, c2, C.C_NotSpecified0, C.C_NotSpecified0, C.C_NotSpecified0, C.C_NotSpecified0, C.C_NotSpecified0, C.C_NotSpecified0, C.C_NotSpecified0, C.C_NotSpecified0, C.C_NotSpecified0, C.C_NotSpecified0, C.C_NotSpecified0, C.C_NotSpecified0, C.C_NotSpecified0, C.C_NotSpecified0, C.C_NotSpecified0); + }, + call$4: function(props, c1, c2, c3) { + return this.call$18(props, c1, c2, c3, C.C_NotSpecified0, C.C_NotSpecified0, C.C_NotSpecified0, C.C_NotSpecified0, C.C_NotSpecified0, C.C_NotSpecified0, C.C_NotSpecified0, C.C_NotSpecified0, C.C_NotSpecified0, C.C_NotSpecified0, C.C_NotSpecified0, C.C_NotSpecified0, C.C_NotSpecified0, C.C_NotSpecified0); + }, + call$8: function(props, c1, c2, c3, c4, c5, c6, c7) { + return this.call$18(props, c1, c2, c3, c4, c5, c6, c7, C.C_NotSpecified0, C.C_NotSpecified0, C.C_NotSpecified0, C.C_NotSpecified0, C.C_NotSpecified0, C.C_NotSpecified0, C.C_NotSpecified0, C.C_NotSpecified0, C.C_NotSpecified0, C.C_NotSpecified0); + }, + call$7: function(props, c1, c2, c3, c4, c5, c6) { + return this.call$18(props, c1, c2, c3, c4, c5, c6, C.C_NotSpecified0, C.C_NotSpecified0, C.C_NotSpecified0, C.C_NotSpecified0, C.C_NotSpecified0, C.C_NotSpecified0, C.C_NotSpecified0, C.C_NotSpecified0, C.C_NotSpecified0, C.C_NotSpecified0, C.C_NotSpecified0); + }, + call$12: function(props, c1, c2, c3, c4, c5, c6, c7, c8, c9, c10, c11) { + return this.call$18(props, c1, c2, c3, c4, c5, c6, c7, c8, c9, c10, c11, C.C_NotSpecified0, C.C_NotSpecified0, C.C_NotSpecified0, C.C_NotSpecified0, C.C_NotSpecified0, C.C_NotSpecified0); + }, + call$16: function(props, c1, c2, c3, c4, c5, c6, c7, c8, c9, c10, c11, c12, c13, c14, c15) { + return this.call$18(props, c1, c2, c3, c4, c5, c6, c7, c8, c9, c10, c11, c12, c13, c14, c15, C.C_NotSpecified0, C.C_NotSpecified0); + }, + call$10: function(props, c1, c2, c3, c4, c5, c6, c7, c8, c9) { + return this.call$18(props, c1, c2, c3, c4, c5, c6, c7, c8, c9, C.C_NotSpecified0, C.C_NotSpecified0, C.C_NotSpecified0, C.C_NotSpecified0, C.C_NotSpecified0, C.C_NotSpecified0, C.C_NotSpecified0, C.C_NotSpecified0); + }, + call$15: function(props, c1, c2, c3, c4, c5, c6, c7, c8, c9, c10, c11, c12, c13, c14) { + return this.call$18(props, c1, c2, c3, c4, c5, c6, c7, c8, c9, c10, c11, c12, c13, c14, C.C_NotSpecified0, C.C_NotSpecified0, C.C_NotSpecified0); + } + }; + V.ReactComponentFactoryProxy_call_closure.prototype = { + call$1: function(child) { + return child !== C.C_NotSpecified0; + }, + $signature: 57 + }; + V.NotSpecified0.prototype = {}; + V.registerComponent2_closure.prototype = { + call$0: function() { + return A.component_registration__registerComponent2$closure(); + }, + $signature: 353 + }; + V.a_closure.prototype = { + call$0: function() { + var t1 = new A.ReactDomComponentFactoryProxy("a"); + if (H.boolConversionCheck($.$get$isBugPresent())) + Z.patchName(t1); + return t1; + }, + $signature: 8 + }; + V.br_closure.prototype = { + call$0: function() { + var t1 = new A.ReactDomComponentFactoryProxy("br"); + if (H.boolConversionCheck($.$get$isBugPresent())) + Z.patchName(t1); + return t1; + }, + $signature: 8 + }; + V.button_closure.prototype = { + call$0: function() { + var t1 = new A.ReactDomComponentFactoryProxy("button"); + if (H.boolConversionCheck($.$get$isBugPresent())) + Z.patchName(t1); + return t1; + }, + $signature: 8 + }; + V.div_closure.prototype = { + call$0: function() { + var t1 = new A.ReactDomComponentFactoryProxy("div"); + if (H.boolConversionCheck($.$get$isBugPresent())) + Z.patchName(t1); + return t1; + }, + $signature: 8 + }; + V.form_closure.prototype = { + call$0: function() { + var t1 = new A.ReactDomComponentFactoryProxy("form"); + if (H.boolConversionCheck($.$get$isBugPresent())) + Z.patchName(t1); + return t1; + }, + $signature: 8 + }; + V.img_closure.prototype = { + call$0: function() { + var t1 = new A.ReactDomComponentFactoryProxy("img"); + if (H.boolConversionCheck($.$get$isBugPresent())) + Z.patchName(t1); + return t1; + }, + $signature: 8 + }; + V.input_closure.prototype = { + call$0: function() { + var t1 = new A.ReactDomComponentFactoryProxy("input"); + if (H.boolConversionCheck($.$get$isBugPresent())) + Z.patchName(t1); + return t1; + }, + $signature: 8 + }; + V.label_closure.prototype = { + call$0: function() { + var t1 = new A.ReactDomComponentFactoryProxy("label"); + if (H.boolConversionCheck($.$get$isBugPresent())) + Z.patchName(t1); + return t1; + }, + $signature: 8 + }; + V.li_closure.prototype = { + call$0: function() { + var t1 = new A.ReactDomComponentFactoryProxy("li"); + if (H.boolConversionCheck($.$get$isBugPresent())) + Z.patchName(t1); + return t1; + }, + $signature: 8 + }; + V.option_closure.prototype = { + call$0: function() { + var t1 = new A.ReactDomComponentFactoryProxy("option"); + if (H.boolConversionCheck($.$get$isBugPresent())) + Z.patchName(t1); + return t1; + }, + $signature: 8 + }; + V.p_closure.prototype = { + call$0: function() { + var t1 = new A.ReactDomComponentFactoryProxy("p"); + if (H.boolConversionCheck($.$get$isBugPresent())) + Z.patchName(t1); + return t1; + }, + $signature: 8 + }; + V.select_closure.prototype = { + call$0: function() { + var t1 = new A.ReactDomComponentFactoryProxy("select"); + if (H.boolConversionCheck($.$get$isBugPresent())) + Z.patchName(t1); + return t1; + }, + $signature: 8 + }; + V.span_closure.prototype = { + call$0: function() { + var t1 = new A.ReactDomComponentFactoryProxy("span"); + if (H.boolConversionCheck($.$get$isBugPresent())) + Z.patchName(t1); + return t1; + }, + $signature: 8 + }; + V.textarea_closure.prototype = { + call$0: function() { + var t1 = new A.ReactDomComponentFactoryProxy("textarea"); + if (H.boolConversionCheck($.$get$isBugPresent())) + Z.patchName(t1); + return t1; + }, + $signature: 8 + }; + V.title_closure.prototype = { + call$0: function() { + var t1 = new A.ReactDomComponentFactoryProxy("title"); + if (H.boolConversionCheck($.$get$isBugPresent())) + Z.patchName(t1); + return t1; + }, + $signature: 8 + }; + V.ul_closure.prototype = { + call$0: function() { + var t1 = new A.ReactDomComponentFactoryProxy("ul"); + if (H.boolConversionCheck($.$get$isBugPresent())) + Z.patchName(t1); + return t1; + }, + $signature: 8 + }; + V.circle_closure.prototype = { + call$0: function() { + var t1 = new A.ReactDomComponentFactoryProxy("circle"); + if (H.boolConversionCheck($.$get$isBugPresent())) + Z.patchName(t1); + return t1; + }, + $signature: 8 + }; + V.g_closure.prototype = { + call$0: function() { + var t1 = new A.ReactDomComponentFactoryProxy("g"); + if (H.boolConversionCheck($.$get$isBugPresent())) + Z.patchName(t1); + return t1; + }, + $signature: 8 + }; + V.image_closure.prototype = { + call$0: function() { + var t1 = new A.ReactDomComponentFactoryProxy("image"); + if (H.boolConversionCheck($.$get$isBugPresent())) + Z.patchName(t1); + return t1; + }, + $signature: 8 + }; + V.line_closure.prototype = { + call$0: function() { + var t1 = new A.ReactDomComponentFactoryProxy("line"); + if (H.boolConversionCheck($.$get$isBugPresent())) + Z.patchName(t1); + return t1; + }, + $signature: 8 + }; + V.path_closure.prototype = { + call$0: function() { + var t1 = new A.ReactDomComponentFactoryProxy("path"); + if (H.boolConversionCheck($.$get$isBugPresent())) + Z.patchName(t1); + return t1; + }, + $signature: 8 + }; + V.polygon_closure.prototype = { + call$0: function() { + var t1 = new A.ReactDomComponentFactoryProxy("polygon"); + if (H.boolConversionCheck($.$get$isBugPresent())) + Z.patchName(t1); + return t1; + }, + $signature: 8 + }; + V.polyline_closure.prototype = { + call$0: function() { + var t1 = new A.ReactDomComponentFactoryProxy("polyline"); + if (H.boolConversionCheck($.$get$isBugPresent())) + Z.patchName(t1); + return t1; + }, + $signature: 8 + }; + V.rect_closure.prototype = { + call$0: function() { + var t1 = new A.ReactDomComponentFactoryProxy("rect"); + if (H.boolConversionCheck($.$get$isBugPresent())) + Z.patchName(t1); + return t1; + }, + $signature: 8 + }; + V.text_closure.prototype = { + call$0: function() { + var t1 = new A.ReactDomComponentFactoryProxy("text"); + if (H.boolConversionCheck($.$get$isBugPresent())) + Z.patchName(t1); + return t1; + }, + $signature: 8 + }; + V.textPath_closure.prototype = { + call$0: function() { + var t1 = new A.ReactDomComponentFactoryProxy("textPath"); + if (H.boolConversionCheck($.$get$isBugPresent())) + Z.patchName(t1); + return t1; + }, + $signature: 8 + }; + A.Component2Bridge.prototype = {}; + A.Component2BridgeImpl.prototype = { + setState$3: function(_, component, newState, callback) { + var firstArg; + type$.legacy_dynamic_Function._as(callback); + firstArg = L.jsBackingMapOrJsCopy(newState); + J.setState$1$x(component.jsThis, firstArg); + } + }; + A.JsBackedMapComponentFactoryMixin.prototype = { + build$2: function(props, childrenArgs) { + var children = E.generateChildren(childrenArgs, true); + return self.React.createElement(this.reactClass, E.generateJsProps(props, C.List_empty0, true, false), children); + } + }; + A.ReactDartComponentFactoryProxy2.prototype = { + get$type: function(_) { + return this.reactClass; + } + }; + A.ReactJsContextComponentFactoryProxy.prototype = { + build$2: function(props, childrenArgs) { + var propsForJs, t1, t2, jsContextHolder, + children = E.generateChildren(childrenArgs, false); + if (this.isConsumer) + children = type$.legacy_Function._is(children) ? P.allowInterop(new A.ReactJsContextComponentFactoryProxy_build_closure(children), type$.legacy_dynamic_Function_dynamic) : children; + propsForJs = L.JsBackedMap_JsBackedMap$from(props); + if (this.isProvider) { + t1 = propsForJs.jsObject; + t2 = F.DartValueWrapper_unwrapIfNeeded(t1.value); + jsContextHolder = {}; + jsContextHolder[self._reactDartContextSymbol] = F.DartValueWrapper_wrapIfNeeded(t2); + t1.value = F.DartValueWrapper_wrapIfNeeded(jsContextHolder); + } + return self.React.createElement(this.ReactJsContextComponentFactoryProxy_type, propsForJs.jsObject, children); + }, + get$type: function(receiver) { + return this.ReactJsContextComponentFactoryProxy_type; + } + }; + A.ReactJsContextComponentFactoryProxy_build_closure.prototype = { + call$1: function(args) { + return this.contextCallback.call$1(M.ContextHelpers_unjsifyNewContext(args)); + }, + $signature: 14 + }; + A.ReactJsComponentFactoryProxy.prototype = { + build$2: function(props, childrenArgs) { + var children = E.generateChildren(childrenArgs, false), + convertedProps = E.generateJsProps(props, C.List_empty0, false, true); + return self.React.createElement(this.get$type(this), convertedProps, children); + }, + get$type: function(receiver) { + return this.type; + } + }; + A.ReactDomComponentFactoryProxy.prototype = { + get$type: function(_) { + return this.name; + }, + build$2: function(props, childrenArgs) { + var children = E.generateChildren(childrenArgs, false); + return self.React.createElement(this.name, E.generateJsProps(props, C.List_empty0, false, true), children); + } + }; + A._ReactDartComponentFactoryProxy2_ReactComponentFactoryProxy_JsBackedMapComponentFactoryMixin.prototype = {}; + L.JsBackedMap.prototype = { + get$_js_backed_map$_values: function() { + return J.map$1$1$ax(self.Object.keys(this.jsObject), new L.JsBackedMap__values_closure(this), type$.dynamic).toList$0(0); + }, + $index: function(_, key) { + return F.DartValueWrapper_unwrapIfNeeded(this.jsObject[key]); + }, + $indexSet: function(_, key, value) { + this.jsObject[key] = F.DartValueWrapper_wrapIfNeeded(value); + }, + get$keys: function(_) { + return self.Object.keys(this.jsObject); + }, + remove$1: function(_, key) { + var t1 = this.jsObject, + value = F.DartValueWrapper_unwrapIfNeeded(t1[key]); + self.Reflect.deleteProperty(t1, key); + return value; + }, + addAll$1: function(_, other) { + if (other instanceof L.JsBackedMap) + self.Object.assign(this.jsObject, other.jsObject); + else + this.super$MapMixin$addAll(this, other); + }, + containsKey$1: function(_, key) { + return key in this.jsObject; + }, + get$values: function(_) { + return this.get$_js_backed_map$_values(); + }, + $eq: function(_, other) { + var t1, t2; + if (other == null) + return false; + if (other instanceof L.JsBackedMap) { + t1 = other.jsObject; + t2 = this.jsObject; + t2 = t1 == null ? t2 == null : t1 === t2; + t1 = t2; + } else + t1 = false; + return t1; + }, + get$hashCode: function(_) { + var t1, exception; + try { + t1 = J.get$hashCode$(this.jsObject); + return t1; + } catch (exception) { + H.unwrapException(exception); + } + return 0; + } + }; + L.JsBackedMap__values_closure.prototype = { + call$1: function(key) { + return F.DartValueWrapper_unwrapIfNeeded(this.$this.jsObject[key]); + }, + $signature: 14 + }; + L.JsMap.prototype = {}; + L._Object.prototype = {}; + L._Reflect.prototype = {}; + R._convertDataTree__convert.prototype = { + call$1: function(o) { + var convertedMap, t2, key, convertedList, convertedFunction, + t1 = this._convertedObjects; + if (t1.containsKey$1(0, o)) + return t1.$index(0, o); + if (type$.legacy_Map_dynamic_dynamic._is(o)) { + convertedMap = {}; + t1.$indexSet(0, o, convertedMap); + for (t1 = J.getInterceptor$x(o), t2 = J.get$iterator$ax(t1.get$keys(o)); t2.moveNext$0();) { + key = t2.get$current(t2); + convertedMap[key] = this.call$1(t1.$index(o, key)); + } + return convertedMap; + } else if (type$.legacy_Iterable_dynamic._is(o)) { + convertedList = []; + t1.$indexSet(0, o, convertedList); + C.JSArray_methods.addAll$1(convertedList, J.map$1$1$ax(o, this, type$.dynamic)); + return convertedList; + } else { + t2 = type$.legacy_Function; + if (t2._is(o)) { + convertedFunction = P.allowInterop(o, t2); + t1.$indexSet(0, o, convertedFunction); + return convertedFunction; + } else + return o; + } + }, + $signature: 14 + }; + K.React.prototype = {}; + K.Ref.prototype = { + get$current: function(_) { + var dartCurrent, + jsCurrent = J.get$current$x(this.jsRef); + if (!type$.legacy_Element._is(jsCurrent) && type$.legacy_ReactComponent._is(jsCurrent)) { + dartCurrent = J.get$dartComponent$x(jsCurrent); + if (dartCurrent != null) + return this.$ti._eval$1("1*")._as(dartCurrent); + } + return this.$ti._eval$1("1*")._as(jsCurrent); + } + }; + K.JsRef.prototype = {}; + K.ReactDomServer.prototype = {}; + K.PropTypes.prototype = {}; + K.ReactClass.prototype = {}; + K.ReactClassConfig.prototype = {}; + K.ReactElementStore.prototype = {}; + K.ReactElement.prototype = {}; + K.ReactPortal.prototype = {}; + K.ReactComponent.prototype = {}; + K.InteropContextValue.prototype = {}; + K.ReactContext.prototype = {}; + K.InteropProps.prototype = {}; + K.JsError.prototype = {}; + K.ReactDartInteropStatics.prototype = {}; + K.ComponentStatics2.prototype = { + get$componentFactory: function() { + return this.componentFactory; + } + }; + K.JsComponentConfig.prototype = {}; + K.JsComponentConfig2.prototype = {}; + K.ReactErrorInfo.prototype = {}; + R.render_closure.prototype = { + call$0: function() { + return K.react_interop_ReactDom_render$closure(); + }, + $signature: 360 + }; + R.findDOMNode_closure.prototype = { + call$0: function() { + return R.react_dom___findDomNode$closure(); + }, + $signature: 373 + }; + M.Context.prototype = { + get$jsThis: function() { + return this._jsThis; + } + }; + M.createContext_jsifyCalculateChangedBitsArgs.prototype = { + call$2: function(currentValue, nextValue) { + var t1 = this.TValue._eval$1("0*"); + return this.calculateChangedBits.call$2(t1._as(M.ContextHelpers_unjsifyNewContext(currentValue)), t1._as(M.ContextHelpers_unjsifyNewContext(nextValue))); + }, + "call*": "call$2", + $requiredArgCount: 2, + $signature: 375 + }; + Z._NsmEmulatedFunctionWithNameProperty.prototype = { + call$0: function() { + return null; + }, + noSuchMethod$1: function(_, i) { + type$.legacy_Invocation._as(i); + } + }; + Z.isBugPresent_closure.prototype = { + call$0: function() { + var exception, t1, + testObject = new Z._NsmEmulatedFunctionWithNameProperty(); + try { + testObject._ddc_emulated_function_name_bug$_name = "test value"; + } catch (exception) { + H.unwrapException(exception); + return true; + } + try { + t1 = testObject._ddc_emulated_function_name_bug$_name; + return t1 !== "test value"; + } catch (exception) { + H.unwrapException(exception); + return true; + } + }, + $signature: 144 + }; + Z._PropertyDescriptor.prototype = {}; + O.JsPropertyDescriptor.prototype = {}; + O.Promise.prototype = {}; + K.ReactDOM.prototype = {}; + Q.ReactDartInteropStatics2_initComponent_closure.prototype = { + call$0: function() { + var t1 = this.componentStatics, + component = t1.componentFactory.call$0(), + t2 = component.jsThis = this.jsThis, + t3 = J.getInterceptor$x(t2); + J.set$props$x(component, new L.JsBackedMap(t3.get$props(t2))); + M.ContextHelpers_unjsifyNewContext(t3.get$context(t2)); + t3.set$state(t2, L.jsBackingMapOrJsCopy(component.get$initialState())); + component.set$state(0, new L.JsBackedMap(t3.get$state(t2))); + $.$get$Component2Bridge_bridgeForComponent().$indexSet(0, component, t1.bridgeFactory.call$1(component)); + return component; + }, + $signature: 379 + }; + Q.ReactDartInteropStatics2_handleComponentDidMount_closure.prototype = { + call$0: function() { + this.component.componentDidMount$0(); + }, + $signature: 12 + }; + Q.ReactDartInteropStatics2_handleShouldComponentUpdate_closure.prototype = { + call$0: function() { + var t1 = this.component, + t2 = this.jsNextProps, + t3 = this.jsNextState, + value = t1.shouldComponentUpdate$2(new L.JsBackedMap(t2), new L.JsBackedMap(t3)); + if (!value) + Q.ReactDartInteropStatics2__updatePropsAndStateWithJs(t1, t2, t3); + return value; + }, + $signature: 144 + }; + Q.ReactDartInteropStatics2_handleGetDerivedStateFromProps_closure.prototype = { + call$0: function() { + var derivedState = this.componentStatics.instanceForStaticMethods.getDerivedStateFromProps$2(new L.JsBackedMap(this.jsNextProps), new L.JsBackedMap(this.jsPrevState)); + if (derivedState != null) + return L.jsBackingMapOrJsCopy(derivedState); + return null; + }, + $signature: 143 + }; + Q.ReactDartInteropStatics2_handleGetSnapshotBeforeUpdate_closure.prototype = { + call$0: function() { + this.component.toString; + return null; + }, + $signature: 1 + }; + Q.ReactDartInteropStatics2_handleComponentDidUpdate_closure.prototype = { + call$0: function() { + var _this = this; + _this.component.componentDidUpdate$3(new L.JsBackedMap(_this.jsPrevProps), new L.JsBackedMap(_this.jsPrevState), _this.snapshot); + }, + $signature: 12 + }; + Q.ReactDartInteropStatics2_handleComponentWillUnmount_closure.prototype = { + call$0: function() { + this.component.componentWillUnmount$0(); + }, + $signature: 12 + }; + Q.ReactDartInteropStatics2_handleComponentDidCatch_closure.prototype = { + call$0: function() { + var e, stack, exception, t1; + try { + self._throwErrorFromJS(this.error); + } catch (exception) { + e = H.unwrapException(exception); + stack = H.getTraceFromException(exception); + t1 = this.info; + J.set$dartStackTrace$x(t1, stack); + this.component.componentDidCatch$2(e, t1); + } + }, + $signature: 12 + }; + Q.ReactDartInteropStatics2_handleGetDerivedStateFromError_closure.prototype = { + call$0: function() { + var e, result, exception; + try { + self._throwErrorFromJS(this.error); + } catch (exception) { + e = H.unwrapException(exception); + result = this.componentStatics.instanceForStaticMethods.getDerivedStateFromError$1(e); + if (result != null) + return L.jsBackingMapOrJsCopy(result); + return null; + } + }, + $signature: 143 + }; + Q.ReactDartInteropStatics2_handleRender_closure.prototype = { + call$0: function() { + var _this = this, + t1 = _this.component; + Q.ReactDartInteropStatics2__updatePropsAndStateWithJs(t1, _this.jsProps, _this.jsState); + M.ContextHelpers_unjsifyNewContext(_this.jsContext); + return t1.render$0(0); + }, + $signature: 1 + }; + E.convertRefValue2_closure.prototype = { + call$1: function(instance) { + if (type$.legacy_ReactComponent._is(instance) && J.get$dartComponent$x(instance) != null) + return this.ref.call$1(J.get$dartComponent$x(instance)); + return this.ref.call$1(instance); + }, + $signature: 14 + }; + F.DartValueWrapper.prototype = { + get$value: function(receiver) { + return this.value; + } + }; + Q.SyntheticEvent.prototype = {}; + Q.SyntheticClipboardEvent.prototype = {}; + Q.SyntheticKeyboardEvent.prototype = {}; + Q.SyntheticCompositionEvent.prototype = {}; + Q.SyntheticFocusEvent.prototype = {}; + Q.SyntheticFormEvent.prototype = {}; + Q.NonNativeDataTransfer.prototype = {}; + Q.SyntheticMouseEvent.prototype = {}; + Q.SyntheticPointerEvent.prototype = {}; + Q.SyntheticTouchEvent.prototype = {}; + Q.SyntheticTransitionEvent.prototype = {}; + Q.SyntheticAnimationEvent.prototype = {}; + Q.SyntheticUIEvent.prototype = {}; + Q.SyntheticWheelEvent.prototype = {}; + X.Store.prototype = { + get$state: function(_) { + return this._state; + }, + get$onChange: function(_) { + var t1 = this._changeController; + return new P._BroadcastStream(t1, H._instanceType(t1)._eval$1("_BroadcastStream<1>")); + }, + _createReduceAndNotify$1: function(distinct) { + return new X.Store__createReduceAndNotify_closure(this, false); + }, + _createDispatchers$2: function(middleware, reduceAndNotify) { + var dispatchers, t1, t2; + this.$ti._eval$1("List<@(Store<1*>*,@,@(@)*)*>*")._as(middleware); + type$.legacy_dynamic_Function_dynamic._as(reduceAndNotify); + dispatchers = H.setRuntimeTypeInfo([], type$.JSArray_of_legacy_dynamic_Function_dynamic); + C.JSArray_methods.add$1(dispatchers, reduceAndNotify); + middleware.toString; + t1 = H._arrayInstanceType(middleware)._eval$1("ReversedListIterable<1>"); + t2 = new H.ReversedListIterable(middleware, t1); + t1 = new H.ListIterator(t2, t2.get$length(t2), t1._eval$1("ListIterator")); + for (; t1.moveNext$0();) + C.JSArray_methods.add$1(dispatchers, new X.Store__createDispatchers_closure(this, t1.__internal$_current, C.JSArray_methods.get$last(dispatchers))); + t1 = type$.ReversedListIterable_of_legacy_dynamic_Function_dynamic; + return P.List_List$of(new H.ReversedListIterable(dispatchers, t1), true, t1._eval$1("ListIterable.E")); + }, + dispatch$1: function(action) { + var t1 = this._dispatchers; + if (0 >= t1.length) + return H.ioore(t1, 0); + return t1[0].call$1(action); + }, + set$_state: function(_state) { + this._state = this.$ti._eval$1("1*")._as(_state); + }, + set$_dispatchers: function(_dispatchers) { + this._dispatchers = type$.legacy_List_of_legacy_dynamic_Function_dynamic._as(_dispatchers); + } + }; + X.Store__createReduceAndNotify_closure.prototype = { + call$1: function(action) { + var t1 = this.$this, + t2 = t1._state, + state = t1.reducer.call$2(t2, action); + t1.set$_state(state); + t1._changeController.add$1(0, state); + }, + $signature: 32 + }; + X.Store__createDispatchers_closure.prototype = { + call$1: function(action) { + return this.nextMiddleware.call$3(this.$this, action, this.next); + }, + $signature: 14 + }; + B.TypedReducer.prototype = { + call$2: function(state, action) { + var t1 = this.$ti; + t1._eval$1("1*")._as(state); + if (t1._eval$1("2*")._is(action)) + return this.reducer.call$2(state, action); + return state; + } + }; + B.combineReducers_closure.prototype = { + call$2: function(state, action) { + var t1, t2, _i; + this.State._eval$1("0*")._as(state); + for (t1 = this.reducers, t2 = t1.length, _i = 0; _i < t1.length; t1.length === t2 || (0, H.throwConcurrentModificationError)(t1), ++_i) + state = t1[_i].call$2(state, action); + return state; + }, + "call*": "call$2", + $requiredArgCount: 2, + $signature: function() { + return this.State._eval$1("0*(0*,@)"); + } + }; + U.DesignChangingAction.prototype = {$isAction: 1, $isSvgPngCacheInvalidatingAction: 1}; + U.UndoableAction.prototype = {$isAction: 1, $isDesignChangingAction: 1, $isSvgPngCacheInvalidatingAction: 1}; + U.SkipUndo.prototype = {$isAction: 1}; + U.SkipUndo_SkipUndo_closure.prototype = { + call$1: function(b) { + b.get$_$this()._undoable_action = this.undoable_action; + return b; + }, + $signature: 388 + }; + U.Undo.prototype = {$isAction: 1, $isSvgPngCacheInvalidatingAction: 1}; + U.Undo_Undo_closure.prototype = { + call$1: function(b) { + b.get$_$this()._num_undos = this.num_undos; + return b; + }, + $signature: 390 + }; + U.Redo.prototype = {$isAction: 1, $isSvgPngCacheInvalidatingAction: 1}; + U.Redo_Redo_closure.prototype = { + call$1: function(b) { + b.get$_$this()._num_redos = this.num_redos; + return b; + }, + $signature: 403 + }; + U.UndoRedoClear.prototype = {$isAction: 1}; + U.BatchAction.prototype = { + toJson$0: function() { + var t1 = this.actions; + return P.LinkedHashMap_LinkedHashMap$_literal(["actions", new Q.CopyOnWriteList(true, t1._list, H._instanceType(t1)._eval$1("CopyOnWriteList<1>"))], type$.legacy_String, type$.legacy_List_legacy_UndoableAction); + }, + short_description$0: function() { + return this.short_description_value; + }, + $isAction: 1, + $isDesignChangingAction: 1, + $isSvgPngCacheInvalidatingAction: 1 + }; + U.BatchAction_BatchAction_closure.prototype = { + call$1: function(b) { + b.get$actions(b).replace$1(0, this.actions); + b.get$_$this()._short_description_value = this.short_description_value; + return b; + }, + $signature: 404 + }; + U.ThrottledActionFast.prototype = {$isAction: 1, $isFastAction: 1, $isThrottledAction: 1}; + U.ThrottledActionFast_ThrottledActionFast_closure.prototype = { + call$1: function(b) { + b.get$_$this()._action = this.action; + b.get$_$this()._interval_sec = this.interval_sec; + return b; + }, + $signature: 405 + }; + U.ThrottledActionNonFast.prototype = {$isAction: 1, $isThrottledAction: 1}; + U.ThrottledActionNonFast_ThrottledActionNonFast_closure.prototype = { + call$1: function(b) { + b.get$_$this()._action = this.action; + b.get$_$this()._interval_sec = this.interval_sec; + return b; + }, + $signature: 406 + }; + U.LocalStorageDesignChoiceSet.prototype = {$isAction: 1}; + U.ResetLocalStorage.prototype = {$isAction: 1}; + U.ClearHelixSelectionWhenLoadingNewDesignSet.prototype = {$isAction: 1}; + U.EditModeToggle.prototype = {$isAction: 1}; + U.EditModeToggle_EditModeToggle_closure.prototype = { + call$1: function(b) { + b.get$_$this()._mode = this.mode; + return b; + }, + $signature: 408 + }; + U.EditModesSet.prototype = {$isAction: 1}; + U.SelectModeToggle.prototype = {$isAction: 1}; + U.SelectModeToggle_SelectModeToggle_closure.prototype = { + call$1: function(b) { + b.get$_$this()._select_mode_choice = this.select_mode_choice; + return b; + }, + $signature: 412 + }; + U.SelectModesAdd.prototype = {$isAction: 1}; + U.SelectModesSet.prototype = {$isAction: 1}; + U.StrandNameSet.prototype = { + short_description$0: function() { + return "set strand name"; + }, + $isAction: 1, + $isDesignChangingAction: 1, + $isSvgPngCacheInvalidatingAction: 1, + $isSingleStrandAction: 1 + }; + U.StrandLabelSet.prototype = { + short_description$0: function() { + return "set strand label"; + }, + $isAction: 1, + $isDesignChangingAction: 1, + $isSvgPngCacheInvalidatingAction: 1, + $isSingleStrandAction: 1 + }; + U.SubstrandNameSet.prototype = { + get$strand_part: function() { + return this.substrand; + }, + short_description$0: function() { + return "set " + this.substrand.type_description$0() + " name"; + }, + $isAction: 1, + $isDesignChangingAction: 1, + $isSvgPngCacheInvalidatingAction: 1, + $isStrandPartAction: 1 + }; + U.SubstrandLabelSet.prototype = { + get$strand_part: function() { + return this.substrand; + }, + short_description$0: function() { + return "set " + this.substrand.type_description$0() + " label"; + }, + $isAction: 1, + $isDesignChangingAction: 1, + $isSvgPngCacheInvalidatingAction: 1, + $isStrandPartAction: 1 + }; + U.SetAppUIStateStorable.prototype = {$isAction: 1}; + U.SetAppUIStateStorable_SetAppUIStateStorable_closure.prototype = { + call$1: function(b) { + var t2, + t1 = this.storables; + t1.toString; + t2 = new B.AppUIStateStorablesBuilder(); + B.AppUIStateStorables__initializeBuilder(t2); + t2._app_ui_state_storables$_$v = t1; + b.get$_$this()._actions$_storables = t2; + return b; + }, + $signature: 414 + }; + U.ShowDNASet.prototype = {$isAction: 1}; + U.ShowDNASet_ShowDNASet_closure.prototype = { + call$1: function(b) { + b.get$_$this()._show = this.show; + return b; + }, + $signature: 415 + }; + U.ShowDomainNamesSet.prototype = {$isAction: 1}; + U.ShowDomainNamesSet_ShowDomainNamesSet_closure.prototype = { + call$1: function(b) { + b.get$_$this()._show = this.show; + return b; + }, + $signature: 420 + }; + U.ShowStrandNamesSet.prototype = {$isAction: 1}; + U.ShowStrandNamesSet_ShowStrandNamesSet_closure.prototype = { + call$1: function(b) { + b.get$_$this()._show = this.show; + return b; + }, + $signature: 427 + }; + U.ShowStrandLabelsSet.prototype = {$isAction: 1}; + U.ShowStrandLabelsSet_ShowStrandLabelsSet_closure.prototype = { + call$1: function(b) { + b.get$_$this()._show = this.show; + return b; + }, + $signature: 442 + }; + U.ShowDomainLabelsSet.prototype = {$isAction: 1}; + U.ShowDomainLabelsSet_ShowDomainLabelsSet_closure.prototype = { + call$1: function(b) { + b.get$_$this()._show = this.show; + return b; + }, + $signature: 443 + }; + U.ShowModificationsSet.prototype = {$isAction: 1}; + U.ShowModificationsSet_ShowModificationsSet_closure.prototype = { + call$1: function(b) { + b.get$_$this()._show = this.show; + return b; + }, + $signature: 444 + }; + U.DomainNameFontSizeSet.prototype = {$isAction: 1}; + U.DomainLabelFontSizeSet.prototype = {$isAction: 1}; + U.StrandNameFontSizeSet.prototype = {$isAction: 1}; + U.StrandLabelFontSizeSet.prototype = {$isAction: 1}; + U.ModificationFontSizeSet.prototype = {$isAction: 1}; + U.ModificationFontSizeSet_ModificationFontSizeSet_closure.prototype = { + call$1: function(b) { + b.get$_$this()._font_size = this.font_size; + return b; + }, + $signature: 451 + }; + U.MajorTickOffsetFontSizeSet.prototype = {$isAction: 1}; + U.MajorTickOffsetFontSizeSet_MajorTickOffsetFontSizeSet_closure.prototype = { + call$1: function(b) { + b.get$_$this()._font_size = this.font_size; + return b; + }, + $signature: 453 + }; + U.MajorTickWidthFontSizeSet.prototype = {$isAction: 1}; + U.MajorTickWidthFontSizeSet_MajorTickWidthFontSizeSet_closure.prototype = { + call$1: function(b) { + b.get$_$this()._font_size = this.font_size; + return b; + }, + $signature: 454 + }; + U.SetModificationDisplayConnector.prototype = {$isAction: 1}; + U.SetModificationDisplayConnector_SetModificationDisplayConnector_closure.prototype = { + call$1: function(b) { + b.get$_$this()._show = this.show; + return b; + }, + $signature: 455 + }; + U.ShowMismatchesSet.prototype = {$isAction: 1}; + U.ShowMismatchesSet_ShowMismatchesSet_closure.prototype = { + call$1: function(b) { + b.get$_$this()._show = this.show; + return b; + }, + $signature: 183 + }; + U.ShowDomainNameMismatchesSet.prototype = {$isAction: 1}; + U.ShowDomainNameMismatchesSet_ShowDomainNameMismatchesSet_closure.prototype = { + call$1: function(b) { + b.get$_$this()._actions$_show_domain_name_mismatches = this.show_domain_name_mismatches; + return b; + }, + $signature: 457 + }; + U.ShowUnpairedInsertionDeletionsSet.prototype = {$isAction: 1}; + U.ShowUnpairedInsertionDeletionsSet_ShowUnpairedInsertionDeletionsSet_closure.prototype = { + call$1: function(b) { + b.get$_$this()._actions$_show_unpaired_insertion_deletions = this.show_unpaired_insertion_deletions; + return b; + }, + $signature: 473 + }; + U.OxviewShowSet.prototype = {$isAction: 1}; + U.OxviewShowSet_OxviewShowSet_closure.prototype = { + call$1: function(b) { + b.get$_$this()._show = this.show; + return b; + }, + $signature: 475 + }; + U.SetDisplayBaseOffsetsOfMajorTicksOnlyFirstHelix.prototype = {$isAction: 1}; + U.SetDisplayBaseOffsetsOfMajorTicksOnlyFirstHelix_SetDisplayBaseOffsetsOfMajorTicksOnlyFirstHelix_closure.prototype = { + call$1: function(b) { + b.get$_$this()._show = this.show; + return b; + }, + $signature: 479 + }; + U.DisplayMajorTicksOffsetsSet.prototype = {$isAction: 1}; + U.DisplayMajorTicksOffsetsSet_DisplayMajorTicksOffsetsSet_closure.prototype = { + call$1: function(b) { + b.get$_$this()._show = this.show; + return b; + }, + $signature: 483 + }; + U.SetDisplayMajorTickWidthsAllHelices.prototype = {$isAction: 1}; + U.SetDisplayMajorTickWidthsAllHelices_SetDisplayMajorTickWidthsAllHelices_closure.prototype = { + call$1: function(b) { + b.get$_$this()._show = this.show; + return b; + }, + $signature: 510 + }; + U.SetDisplayMajorTickWidths.prototype = {$isAction: 1}; + U.SetDisplayMajorTickWidths_SetDisplayMajorTickWidths_closure.prototype = { + call$1: function(b) { + b.get$_$this()._show = this.show; + return b; + }, + $signature: 511 + }; + U.SetOnlyDisplaySelectedHelices.prototype = {$isAction: 1, $isSvgPngCacheInvalidatingAction: 1}; + U.SetOnlyDisplaySelectedHelices_SetOnlyDisplaySelectedHelices_closure.prototype = { + call$1: function(b) { + b.get$_$this()._actions$_only_display_selected_helices = this.only_display_selected_helices; + return b; + }, + $signature: 514 + }; + U.InvertYSet.prototype = {$isAction: 1, $isSvgPngCacheInvalidatingAction: 1}; + U.DynamicHelixUpdateSet.prototype = {$isAction: 1, $isSvgPngCacheInvalidatingAction: 1}; + U.WarnOnExitIfUnsavedSet.prototype = {$isAction: 1}; + U.LoadingDialogShow.prototype = {$isAction: 1}; + U.LoadingDialogHide.prototype = {$isAction: 1}; + U.CopySelectedStandsToClipboardImage.prototype = {$isAction: 1}; + U.SaveDNAFile.prototype = {$isAction: 1}; + U.LoadDNAFile.prototype = {$isAction: 1, $isSvgPngCacheInvalidatingAction: 1}; + U.LoadDNAFile_LoadDNAFile_closure.prototype = { + call$1: function(b) { + var _this = this; + b.get$_$this()._content = _this.content; + b.get$_$this()._filename = _this.filename; + b.get$_$this()._write_local_storage = _this.write_local_storage; + b.get$_$this()._unit_testing = _this.unit_testing; + b.get$_$this()._dna_file_type = _this.dna_file_type; + return b; + }, + $signature: 516 + }; + U.PrepareToLoadDNAFile.prototype = {$isAction: 1, $isSvgPngCacheInvalidatingAction: 1}; + U.PrepareToLoadDNAFile_PrepareToLoadDNAFile_closure.prototype = { + call$1: function(b) { + var _this = this; + b.get$_$this()._content = _this.content; + b.get$_$this()._filename = _this.filename; + b.get$_$this()._write_local_storage = _this.write_local_storage; + b.get$_$this()._unit_testing = _this.unit_testing; + b.get$_$this()._dna_file_type = _this.dna_file_type; + return b; + }, + $signature: 524 + }; + U.NewDesignSet.prototype = { + short_description$0: function() { + return this.short_description_value; + }, + $isAction: 1, + $isDesignChangingAction: 1, + $isSvgPngCacheInvalidatingAction: 1 + }; + U.NewDesignSet_NewDesignSet_closure.prototype = { + call$1: function(b) { + var t1 = b.get$design(), + t2 = this.design; + if (t2 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + t1._design0$_$v = t2; + b.get$_$this()._short_description_value = this.short_description_value; + return b; + }, + $signature: 545 + }; + U.ExportCadnanoFile.prototype = {$isAction: 1}; + U.ExportCodenanoFile.prototype = {$isAction: 1}; + U.ShowMouseoverDataSet.prototype = {$isAction: 1}; + U.ShowMouseoverDataSet_ShowMouseoverDataSet_closure.prototype = { + call$1: function(b) { + b.get$_$this()._show = this.show; + return b; + }, + $signature: 552 + }; + U.MouseoverDataClear.prototype = {$isAction: 1}; + U.MouseoverDataUpdate.prototype = {$isAction: 1}; + U.HelixRollSet.prototype = { + short_description$0: function() { + return "set helix roll"; + }, + $isAction: 1, + $isDesignChangingAction: 1, + $isSvgPngCacheInvalidatingAction: 1, + $isHelixIndividualAction: 1 + }; + U.HelixRollSetAtOther.prototype = { + short_description$0: function() { + return "set helix roll at other"; + }, + $isAction: 1, + $isDesignChangingAction: 1, + $isSvgPngCacheInvalidatingAction: 1 + }; + U.HelixRollSetAtOther_HelixRollSetAtOther_closure.prototype = { + call$1: function(b) { + var _this = this; + b.get$_$this()._actions$_helix_idx = _this.helix_idx; + b.get$_$this()._helix_other_idx = _this.helix_other_idx; + b.get$_$this()._actions$_forward = _this.forward; + b.get$_$this()._anchor = _this.anchor; + return b; + }, + $signature: 553 + }; + U.RelaxHelixRolls.prototype = { + short_description$0: function() { + return "set helix rolls to unstrain crossovers"; + }, + $isAction: 1, + $isDesignChangingAction: 1, + $isSvgPngCacheInvalidatingAction: 1 + }; + U.ErrorMessageSet.prototype = {$isAction: 1}; + U.ErrorMessageSet_ErrorMessageSet_closure.prototype = { + call$1: function(b) { + b.get$_$this()._actions$_error_message = this.error_message; + return b; + }, + $signature: 554 + }; + U.SelectionBoxCreate.prototype = {$isAction: 1}; + U.SelectionBoxCreate_SelectionBoxCreate_closure.prototype = { + call$1: function(b) { + var t1 = type$.legacy_Point_legacy_num._as(this.point); + b.get$_$this().set$_point(t1); + b.get$_$this()._actions$_toggle = this.toggle; + b.get$_$this()._actions$_is_main = this.is_main; + return b; + }, + $signature: 559 + }; + U.SelectionBoxSizeChange.prototype = {$isAction: 1, $isFastAction: 1}; + U.SelectionBoxSizeChange_SelectionBoxSizeChange_closure.prototype = { + call$1: function(b) { + var t1 = type$.legacy_Point_legacy_num._as(this.point); + b.get$_$this().set$_point(t1); + b.get$_$this()._actions$_is_main = this.is_main; + return b; + }, + $signature: 560 + }; + U.SelectionBoxRemove.prototype = {$isAction: 1}; + U.SelectionBoxRemove_SelectionBoxRemove_closure.prototype = { + call$1: function(b) { + b.get$_$this()._actions$_is_main = this.is_main; + return b; + }, + $signature: 561 + }; + U.SelectionRopeCreate.prototype = {$isAction: 1}; + U.SelectionRopeMouseMove.prototype = {$isAction: 1, $isFastAction: 1}; + U.SelectionRopeAddPoint.prototype = {$isAction: 1}; + U.SelectionRopeRemove.prototype = {$isAction: 1}; + U.MouseGridPositionSideUpdate.prototype = {$isAction: 1}; + U.MouseGridPositionSideUpdate_MouseGridPositionSideUpdate_closure.prototype = { + call$1: function(b) { + var t1 = b.get$grid_position(); + t1._grid_position$_$v = this.grid_position; + return b; + }, + $signature: 562 + }; + U.MouseGridPositionSideClear.prototype = {$isAction: 1}; + U.MouseGridPositionSideClear_MouseGridPositionSideClear_closure.prototype = { + call$1: function(b) { + return b; + }, + $signature: 566 + }; + U.MousePositionSideUpdate.prototype = {$isAction: 1}; + U.MousePositionSideClear.prototype = {$isAction: 1}; + U.GeometrySet.prototype = { + short_description$0: function() { + return "set geometric parameters"; + }, + $isAction: 1, + $isDesignChangingAction: 1, + $isSvgPngCacheInvalidatingAction: 1 + }; + U.SelectionBoxIntersectionRuleSet.prototype = {$isAction: 1}; + U.Select.prototype = {$isAction: 1}; + U.Select_Select_closure.prototype = { + call$1: function(b) { + b.get$_$this()._selectable = this.selectable; + b.get$_$this()._actions$_toggle = this.toggle; + b.get$_$this()._only = this.only; + return b; + }, + $signature: 567 + }; + U.SelectionsClear.prototype = {$isAction: 1}; + U.SelectionsClear_SelectionsClear_closure.prototype = { + call$1: function(b) { + return b; + }, + $signature: 568 + }; + U.SelectionsAdjustMainView.prototype = {$isAction: 1}; + U.SelectOrToggleItems.prototype = {$isAction: 1}; + U.SelectAll.prototype = {$isAction: 1}; + U.SelectAllSelectable.prototype = {$isAction: 1}; + U.SelectAllSelectable_SelectAllSelectable_closure.prototype = { + call$1: function(b) { + b.get$_$this()._current_helix_group_only = this.current_helix_group_only; + return b; + }, + $signature: 569 + }; + U.SelectAllWithSameAsSelected.prototype = {$isAction: 1}; + U.DeleteAllSelected.prototype = { + short_description$0: function() { + return "remove all selected items"; + }, + $isAction: 1, + $isDesignChangingAction: 1, + $isSvgPngCacheInvalidatingAction: 1 + }; + U.DeleteAllSelected_DeleteAllSelected_closure.prototype = { + call$1: function(b) { + return b; + }, + $signature: 580 + }; + U.HelixAdd.prototype = { + short_description$0: function() { + return "create helix"; + }, + $isAction: 1, + $isDesignChangingAction: 1, + $isSvgPngCacheInvalidatingAction: 1 + }; + U.HelixAdd_HelixAdd_closure.prototype = { + call$1: function(b) { + var t2, + t1 = this.grid_position; + if (t1 == null) + t1 = null; + else { + t2 = new D.GridPositionBuilder(); + t2._grid_position$_$v = t1; + t1 = t2; + } + b.get$_$this()._actions$_grid_position = t1; + t1 = this.position; + if (t1 == null) + t1 = null; + else { + t2 = new X.Position3DBuilder(); + t2._position3d$_$v = t1; + t1 = t2; + } + b.get$_$this()._actions$_position = t1; + return b; + }, + $signature: 588 + }; + U.HelixRemove.prototype = { + short_description$0: function() { + return "delete helix"; + }, + $isAction: 1, + $isDesignChangingAction: 1, + $isSvgPngCacheInvalidatingAction: 1 + }; + U.HelixRemove_HelixRemove_closure.prototype = { + call$1: function(b) { + b.get$_$this()._actions$_helix_idx = this.helix_idx; + return b; + }, + $signature: 590 + }; + U.HelixRemoveAllSelected.prototype = { + short_description$0: function() { + return "delete all selected helices"; + }, + $isAction: 1, + $isDesignChangingAction: 1, + $isSvgPngCacheInvalidatingAction: 1 + }; + U.HelixSelect.prototype = {$isAction: 1, $isHelixSelectSvgPngCacheInvalidatingAction: 1}; + U.HelixSelect_HelixSelect_closure.prototype = { + call$1: function(b) { + b.get$_$this()._actions$_helix_idx = this.helix_idx; + b.get$_$this()._actions$_toggle = this.toggle; + return b; + }, + $signature: 591 + }; + U.HelixSelectionsClear.prototype = {$isAction: 1, $isHelixSelectSvgPngCacheInvalidatingAction: 1}; + U.HelixSelectionsClear_HelixSelectionsClear_closure.prototype = { + call$1: function(b) { + return b; + }, + $signature: 652 + }; + U.HelixSelectionsAdjust.prototype = {$isAction: 1, $isHelixSelectSvgPngCacheInvalidatingAction: 1}; + U.HelixSelectionsAdjust_HelixSelectionsAdjust_closure.prototype = { + call$1: function(b) { + var t1, t2; + b.get$_$this()._actions$_toggle = this.toggle; + t1 = b.get$selection_box(); + t2 = this.selection_box; + if (t2 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + t1._selection_box$_$v = t2; + return b; + }, + $signature: 671 + }; + U.HelixMajorTickDistanceChange.prototype = { + short_description$0: function() { + return "change helix major tick distance"; + }, + $isAction: 1, + $isDesignChangingAction: 1, + $isSvgPngCacheInvalidatingAction: 1, + $isHelixIndividualAction: 1 + }; + U.HelixMajorTickDistanceChangeAll.prototype = { + short_description$0: function() { + return "change all helix major tick distance"; + }, + $isAction: 1, + $isDesignChangingAction: 1, + $isSvgPngCacheInvalidatingAction: 1 + }; + U.HelixMajorTickStartChange.prototype = { + short_description$0: function() { + return "change helix major tick start"; + }, + $isAction: 1, + $isDesignChangingAction: 1, + $isSvgPngCacheInvalidatingAction: 1, + $isHelixIndividualAction: 1 + }; + U.HelixMajorTickStartChangeAll.prototype = { + short_description$0: function() { + return "change all helix major tick start"; + }, + $isAction: 1, + $isDesignChangingAction: 1, + $isSvgPngCacheInvalidatingAction: 1 + }; + U.HelixMajorTicksChange.prototype = { + short_description$0: function() { + return "change helix major ticks"; + }, + $isAction: 1, + $isDesignChangingAction: 1, + $isSvgPngCacheInvalidatingAction: 1, + $isHelixIndividualAction: 1 + }; + U.HelixMajorTicksChangeAll.prototype = { + short_description$0: function() { + return "change all helix major ticks"; + }, + $isAction: 1, + $isDesignChangingAction: 1, + $isSvgPngCacheInvalidatingAction: 1 + }; + U.HelixMajorTickPeriodicDistancesChange.prototype = { + short_description$0: function() { + return "change helix major tick periodic distances"; + }, + $isAction: 1, + $isDesignChangingAction: 1, + $isSvgPngCacheInvalidatingAction: 1, + $isHelixIndividualAction: 1 + }; + U.HelixMajorTickPeriodicDistancesChangeAll.prototype = { + short_description$0: function() { + return "change all helix major tick periodic distances"; + }, + $isAction: 1, + $isDesignChangingAction: 1, + $isSvgPngCacheInvalidatingAction: 1 + }; + U.HelixIdxsChange.prototype = { + short_description$0: function() { + return "set helix idx"; + }, + $isAction: 1, + $isDesignChangingAction: 1, + $isSvgPngCacheInvalidatingAction: 1 + }; + U.HelixIdxsChange_HelixIdxsChange_closure.prototype = { + call$1: function(b) { + b.get$idx_replacements().replace$1(0, this.idx_replacements); + return b; + }, + $signature: 828 + }; + U.HelixOffsetChange.prototype = { + short_description$0: function() { + return "change helix offset"; + }, + $isAction: 1, + $isDesignChangingAction: 1, + $isSvgPngCacheInvalidatingAction: 1, + $isHelixIndividualAction: 1 + }; + U.HelixMinOffsetSetByDomains.prototype = { + short_description$0: function() { + return "set helix min offset"; + }, + $isAction: 1, + $isDesignChangingAction: 1, + $isSvgPngCacheInvalidatingAction: 1, + $isHelixIndividualAction: 1 + }; + U.HelixMaxOffsetSetByDomains.prototype = { + short_description$0: function() { + return "set helix min offset"; + }, + $isAction: 1, + $isDesignChangingAction: 1, + $isSvgPngCacheInvalidatingAction: 1, + $isHelixIndividualAction: 1 + }; + U.HelixMinOffsetSetByDomainsAll.prototype = { + short_description$0: function() { + return "set helix min offset"; + }, + $isAction: 1, + $isDesignChangingAction: 1, + $isSvgPngCacheInvalidatingAction: 1 + }; + U.HelixMaxOffsetSetByDomainsAll.prototype = { + short_description$0: function() { + return "set helix max offset"; + }, + $isAction: 1, + $isDesignChangingAction: 1, + $isSvgPngCacheInvalidatingAction: 1 + }; + U.HelixMaxOffsetSetByDomainsAllSameMax.prototype = { + short_description$0: function() { + return "set helix max offset"; + }, + $isAction: 1, + $isDesignChangingAction: 1, + $isSvgPngCacheInvalidatingAction: 1 + }; + U.HelixOffsetChangeAll.prototype = { + short_description$0: function() { + return "change all helix offsets"; + }, + $isAction: 1, + $isDesignChangingAction: 1, + $isSvgPngCacheInvalidatingAction: 1 + }; + U.ShowMouseoverRectSet.prototype = {$isAction: 1}; + U.ShowMouseoverRectToggle.prototype = {$isAction: 1}; + U.ExportDNA.prototype = {$isAction: 1}; + U.ExportDNA_ExportDNA_closure.prototype = { + call$1: function(b) { + var _this = this; + b.get$_$this()._include_scaffold = _this.include_scaffold; + b.get$_$this()._include_only_selected_strands = _this.include_only_selected_strands; + b.get$_$this()._exclude_selected_strands = _this.exclude_selected_strands; + b.get$_$this()._export_dna_format = _this.export_dna_format; + b.get$_$this()._delimiter = _this.delimiter; + b.get$_$this()._domain_delimiter = _this.domain_delimiter; + b.get$_$this()._strand_order = _this.strand_order; + b.get$_$this()._column_major_strand = _this.column_major_strand; + b.get$_$this()._column_major_plate = _this.column_major_plate; + return b; + }, + $signature: 887 + }; + U.ExportCanDoDNA.prototype = {$isAction: 1}; + U.ExportCanDoDNA_ExportCanDoDNA_closure.prototype = { + call$1: function(b) { + return b; + }, + $signature: 901 + }; + U.ExportSvgType.prototype = { + toString$0: function(_) { + return this._actions$_name; + } + }; + U.ExportSvg.prototype = {$isAction: 1}; + U.ExportSvgTextSeparatelySet.prototype = {$isAction: 1}; + U.ExportSvgTextSeparatelySet_ExportSvgTextSeparatelySet_closure.prototype = { + call$1: function(b) { + b.get$_$this()._actions$_export_svg_text_separately = this.export_svg_text_separately; + return b; + }, + $signature: 184 + }; + U.ExtensionDisplayLengthAngleSet.prototype = { + get$strand_part: function() { + return this.ext; + }, + short_description$0: function() { + return "change extension display length/angle"; + }, + $isAction: 1, + $isDesignChangingAction: 1, + $isSvgPngCacheInvalidatingAction: 1, + $isStrandPartAction: 1 + }; + U.ExtensionDisplayLengthAngleSet_ExtensionDisplayLengthAngleSet_closure.prototype = { + call$1: function(b) { + var t1 = b.get$ext(), + t2 = this.ext; + if (t2 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + t1._extension$_$v = t2; + b.get$_$this()._actions$_display_length = this.display_length; + b.get$_$this()._actions$_display_angle = this.display_angle; + return b; + }, + $signature: 185 + }; + U.ExtensionAdd.prototype = { + short_description$0: function() { + return "add extension to strand"; + }, + $isAction: 1, + $isDesignChangingAction: 1, + $isSvgPngCacheInvalidatingAction: 1, + $isSingleStrandAction: 1 + }; + U.ExtensionAdd_ExtensionAdd_closure.prototype = { + call$1: function(b) { + var t1 = b.get$strand(), + t2 = this.strand; + if (t2 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + t1._strand$_$v = t2; + b.get$_$this()._actions$_is_5p = this.is_5p; + b.get$_$this()._actions$_num_bases = this.num_bases; + return b; + }, + $signature: 186 + }; + U.ExtensionNumBasesChange.prototype = { + get$strand_part: function() { + return this.ext; + }, + short_description$0: function() { + return "change extension number of bases"; + }, + $isAction: 1, + $isDesignChangingAction: 1, + $isSvgPngCacheInvalidatingAction: 1, + $isStrandPartAction: 1 + }; + U.ExtensionNumBasesChange_ExtensionNumBasesChange_closure.prototype = { + call$1: function(b) { + var t1 = b.get$ext(), + t2 = this.ext; + if (t2 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + t1._extension$_$v = t2; + b.get$_$this()._actions$_num_bases = this.num_bases; + return b; + }, + $signature: 187 + }; + U.ExtensionsNumBasesChange.prototype = { + short_description$0: function() { + return "change extensions number of bases"; + }, + $isAction: 1, + $isDesignChangingAction: 1, + $isSvgPngCacheInvalidatingAction: 1 + }; + U.ExtensionsNumBasesChange_ExtensionsNumBasesChange_closure.prototype = { + call$1: function(b) { + b.get$extensions(b).replace$1(0, this.extensions); + b.get$_$this()._actions$_num_bases = this.num_bases; + return b; + }, + $signature: 188 + }; + U.LoopoutLengthChange.prototype = { + get$strand_part: function() { + return this.loopout; + }, + short_description$0: function() { + return "change loopout length"; + }, + $isAction: 1, + $isDesignChangingAction: 1, + $isSvgPngCacheInvalidatingAction: 1, + $isStrandPartAction: 1 + }; + U.LoopoutLengthChange_LoopoutLengthChange_closure.prototype = { + call$1: function(b) { + var t1 = b.get$loopout(), + t2 = this.loopout; + if (t2 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + t1._loopout$_$v = t2; + b.get$_$this()._actions$_num_bases = this.num_bases; + return b; + }, + $signature: 189 + }; + U.LoopoutsLengthChange.prototype = { + short_description$0: function() { + return "change loopouts length"; + }, + $isAction: 1, + $isDesignChangingAction: 1, + $isSvgPngCacheInvalidatingAction: 1 + }; + U.LoopoutsLengthChange_LoopoutsLengthChange_closure.prototype = { + call$1: function(b) { + b.get$loopouts().replace$1(0, this.loopouts); + b.get$_$this()._actions$_length = this.length; + return b; + }, + $signature: 190 + }; + U.ConvertCrossoverToLoopout.prototype = { + get$strand_part: function() { + return this.crossover; + }, + short_description$0: function() { + return "convert crossover to loopout"; + }, + $isAction: 1, + $isDesignChangingAction: 1, + $isSvgPngCacheInvalidatingAction: 1, + $isStrandPartAction: 1 + }; + U.ConvertCrossoverToLoopout_ConvertCrossoverToLoopout_closure.prototype = { + call$1: function(b) { + var t1 = b.get$crossover(), + t2 = this.crossover; + if (t2 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + t1._crossover$_$v = t2; + b.get$_$this()._actions$_length = this.length; + b.get$_$this()._actions$_dna_sequence = this.dna_sequence; + return b; + }, + $signature: 191 + }; + U.ConvertCrossoversToLoopouts.prototype = { + short_description$0: function() { + return "convert crossovers to loopouts"; + }, + $isAction: 1, + $isDesignChangingAction: 1, + $isSvgPngCacheInvalidatingAction: 1 + }; + U.ConvertCrossoversToLoopouts_ConvertCrossoversToLoopouts_closure.prototype = { + call$1: function(b) { + b.get$crossovers().replace$1(0, this.crossovers); + b.get$_$this()._actions$_length = this.length; + return b; + }, + $signature: 192 + }; + U.Nick.prototype = { + short_description$0: function() { + return "nick"; + }, + $isAction: 1, + $isDesignChangingAction: 1, + $isSvgPngCacheInvalidatingAction: 1 + }; + U.Ligate.prototype = { + short_description$0: function() { + return "ligate"; + }, + $isAction: 1, + $isDesignChangingAction: 1, + $isSvgPngCacheInvalidatingAction: 1 + }; + U.JoinStrandsByCrossover.prototype = { + short_description$0: function() { + return "add crossover"; + }, + $isAction: 1, + $isDesignChangingAction: 1, + $isSvgPngCacheInvalidatingAction: 1 + }; + U.MoveLinker.prototype = { + short_description$0: function() { + var linker_description, + l = this.potential_crossover.linker; + if (l instanceof T.Crossover) + linker_description = "crossover"; + else { + if (!(l instanceof G.Loopout)) + throw H.wrapException(P.AssertionError$(H.S(l) + " is not crossover nor looput")); + linker_description = "loopout"; + } + return "move " + linker_description; + }, + $isAction: 1, + $isDesignChangingAction: 1, + $isSvgPngCacheInvalidatingAction: 1 + }; + U.JoinStrandsByMultipleCrossovers.prototype = { + short_description$0: function() { + return "join strands by multiple crossovers"; + }, + $isAction: 1, + $isDesignChangingAction: 1, + $isSvgPngCacheInvalidatingAction: 1 + }; + U.StrandsReflect.prototype = {$isAction: 1}; + U.ReplaceStrands.prototype = { + short_description$0: function() { + return "replace strands"; + }, + $isAction: 1, + $isDesignChangingAction: 1, + $isSvgPngCacheInvalidatingAction: 1 + }; + U.StrandCreateStart.prototype = {$isAction: 1}; + U.StrandCreateAdjustOffset.prototype = {$isAction: 1}; + U.StrandCreateStop.prototype = {$isAction: 1}; + U.StrandCreateCommit.prototype = { + short_description$0: function() { + return "create strand"; + }, + $isAction: 1, + $isDesignChangingAction: 1, + $isSvgPngCacheInvalidatingAction: 1 + }; + U.PotentialCrossoverCreate.prototype = {$isAction: 1}; + U.PotentialCrossoverMove.prototype = {$isAction: 1, $isFastAction: 1}; + U.PotentialCrossoverRemove.prototype = {$isAction: 1}; + U.ManualPasteInitiate.prototype = {$isAction: 1}; + U.ManualPasteInitiate_ManualPasteInitiate_closure.prototype = { + call$1: function(b) { + b.get$_$this()._clipboard_content = this.clipboard_content; + b.get$_$this()._in_browser = this.in_browser; + return b; + }, + $signature: 193 + }; + U.AutoPasteInitiate.prototype = {$isAction: 1}; + U.AutoPasteInitiate_AutoPasteInitiate_closure.prototype = { + call$1: function(b) { + b.get$_$this()._clipboard_content = this.clipboard_content; + b.get$_$this()._in_browser = this.in_browser; + return b; + }, + $signature: 194 + }; + U.CopySelectedStrands.prototype = {$isAction: 1}; + U.StrandsMoveStart.prototype = {$isAction: 1}; + U.StrandsMoveStartSelectedStrands.prototype = {$isAction: 1}; + U.StrandsMoveStop.prototype = {$isAction: 1}; + U.StrandsMoveAdjustAddress.prototype = {$isAction: 1}; + U.StrandsMoveCommit.prototype = { + short_description$0: function() { + return "move strands"; + }, + $isAction: 1, + $isDesignChangingAction: 1, + $isSvgPngCacheInvalidatingAction: 1 + }; + U.DomainsMoveStartSelectedDomains.prototype = {$isAction: 1}; + U.DomainsMoveStop.prototype = {$isAction: 1}; + U.DomainsMoveAdjustAddress.prototype = {$isAction: 1}; + U.DomainsMoveCommit.prototype = { + short_description$0: function() { + return "move domains"; + }, + $isAction: 1, + $isDesignChangingAction: 1, + $isSvgPngCacheInvalidatingAction: 1 + }; + U.DNAEndsMoveStart.prototype = {$isAction: 1}; + U.DNAEndsMoveSetSelectedEnds.prototype = {$isAction: 1}; + U.DNAEndsMoveAdjustOffset.prototype = {$isAction: 1, $isFastAction: 1}; + U.DNAEndsMoveStop.prototype = {$isAction: 1}; + U.DNAEndsMoveCommit.prototype = { + short_description$0: function() { + return "move DNA ends"; + }, + $isAction: 1, + $isDesignChangingAction: 1, + $isSvgPngCacheInvalidatingAction: 1 + }; + U.DNAExtensionsMoveStart.prototype = {$isAction: 1}; + U.DNAExtensionsMoveSetSelectedExtensionEnds.prototype = {$isAction: 1}; + U.DNAExtensionsMoveAdjustPosition.prototype = {$isAction: 1, $isFastAction: 1}; + U.DNAExtensionsMoveStop.prototype = {$isAction: 1}; + U.DNAExtensionsMoveCommit.prototype = { + short_description$0: function() { + return "move DNA extensions"; + }, + $isAction: 1, + $isDesignChangingAction: 1, + $isSvgPngCacheInvalidatingAction: 1 + }; + U.HelixGroupMoveStart.prototype = {$isAction: 1}; + U.HelixGroupMoveCreate.prototype = {$isAction: 1}; + U.HelixGroupMoveAdjustTranslation.prototype = {$isAction: 1, $isFastAction: 1}; + U.HelixGroupMoveStop.prototype = {$isAction: 1}; + U.HelixGroupMoveCommit.prototype = { + short_description$0: function() { + return "move helix group"; + }, + $isAction: 1, + $isDesignChangingAction: 1, + $isSvgPngCacheInvalidatingAction: 1 + }; + U.AssignDNA.prototype = { + short_description$0: function() { + return "assign DNA sequence"; + }, + $isAction: 1, + $isDesignChangingAction: 1, + $isSvgPngCacheInvalidatingAction: 1 + }; + U.AssignDNAComplementFromBoundStrands.prototype = { + short_description$0: function() { + return "add DNA complement from bound strands"; + }, + $isAction: 1, + $isDesignChangingAction: 1, + $isSvgPngCacheInvalidatingAction: 1 + }; + U.AssignDNAComplementFromBoundStrands_AssignDNAComplementFromBoundStrands_closure.prototype = { + call$1: function(b) { + b.get$strands().replace$1(0, this.strands); + return b; + }, + $signature: 195 + }; + U.AssignDomainNameComplementFromBoundStrands.prototype = { + short_description$0: function() { + return string$.assign; + }, + $isAction: 1, + $isDesignChangingAction: 1, + $isSvgPngCacheInvalidatingAction: 1 + }; + U.AssignDomainNameComplementFromBoundStrands_AssignDomainNameComplementFromBoundStrands_closure.prototype = { + call$1: function(b) { + b.get$strands().replace$1(0, this.strands); + return b; + }, + $signature: 196 + }; + U.AssignDomainNameComplementFromBoundDomains.prototype = { + short_description$0: function() { + return "assign domain name complement from bound domains"; + }, + $isAction: 1, + $isDesignChangingAction: 1, + $isSvgPngCacheInvalidatingAction: 1 + }; + U.AssignDomainNameComplementFromBoundDomains_AssignDomainNameComplementFromBoundDomains_closure.prototype = { + call$1: function(b) { + b.get$domains().replace$1(0, this.domains); + return b; + }, + $signature: 197 + }; + U.RemoveDNA.prototype = { + short_description$0: function() { + return "remove DNA sequence"; + }, + $isAction: 1, + $isDesignChangingAction: 1, + $isSvgPngCacheInvalidatingAction: 1, + $isSingleStrandAction: 1 + }; + U.InsertionAdd.prototype = { + get$strand_part: function() { + return this.domain; + }, + clone_for_other_domain$1: function(domain) { + var t1 = type$.legacy_void_Function_legacy_InsertionAddBuilder._as(new U.InsertionAdd_clone_for_other_domain_closure(domain)), + t2 = new U.InsertionAddBuilder(); + t2._$v = this; + t1.call$1(t2); + return t2.build$0(); + }, + short_description$0: function() { + return "add insertion"; + }, + $isAction: 1, + $isDesignChangingAction: 1, + $isSvgPngCacheInvalidatingAction: 1, + $isStrandPartAction: 1, + $isInsertionOrDeletionAction: 1 + }; + U.InsertionAdd_clone_for_other_domain_closure.prototype = { + call$1: function(b) { + var t1 = b.get$domain(b), + t2 = this.domain; + if (t2 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + t1._domain$_$v = t2; + return b; + }, + $signature: 198 + }; + U.InsertionLengthChange.prototype = { + get$offset: function(_) { + return this.insertion.offset; + }, + get$strand_part: function() { + return this.domain; + }, + clone_for_other_domain$1: function(other_domain) { + var t2, + t1 = other_domain.insertions; + t1.toString; + t2 = t1.$ti; + return U.InsertionLengthChange_InsertionLengthChange(other_domain, J.firstWhere$2$orElse$ax(t1._list, t2._eval$1("bool(1)")._as(new U.InsertionLengthChange_clone_for_other_domain_closure(this)), t2._eval$1("1()?")._as(null)), this.length); + }, + short_description$0: function() { + return "change insertion length"; + }, + $isAction: 1, + $isDesignChangingAction: 1, + $isSvgPngCacheInvalidatingAction: 1, + $isStrandPartAction: 1, + $isInsertionOrDeletionAction: 1 + }; + U.InsertionLengthChange_clone_for_other_domain_closure.prototype = { + call$1: function(i) { + return type$.legacy_Insertion._as(i).offset === this.$this.insertion.offset; + }, + $signature: 29 + }; + U.InsertionLengthChange_InsertionLengthChange_closure.prototype = { + call$1: function(b) { + var t1 = b.get$domain(b), + t2 = this.domain; + if (t2 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + t1._domain$_$v = t2; + t1 = b.get$insertion(); + t2 = this.insertion; + if (t2 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + t1._domain$_$v = t2; + b.get$_$this()._actions$_length = this.length; + b.get$_$this()._all_helices = false; + return b; + }, + $signature: 200 + }; + U.InsertionsLengthChange.prototype = { + short_description$0: function() { + return "change insertions length"; + }, + $isAction: 1, + $isDesignChangingAction: 1, + $isSvgPngCacheInvalidatingAction: 1 + }; + U.InsertionsLengthChange_InsertionsLengthChange_closure.prototype = { + call$1: function(b) { + b.get$insertions().replace$1(0, this.insertions); + b.get$domains().replace$1(0, this.domains); + b.get$_$this()._actions$_length = this.length; + b.get$_$this()._all_helices = false; + return b; + }, + $signature: 201 + }; + U.DeletionAdd.prototype = { + get$strand_part: function() { + return this.domain; + }, + clone_for_other_domain$1: function(domain) { + var t1 = type$.legacy_void_Function_legacy_DeletionAddBuilder._as(new U.DeletionAdd_clone_for_other_domain_closure(domain)), + t2 = new U.DeletionAddBuilder(); + t2._$v = this; + t1.call$1(t2); + return t2.build$0(); + }, + short_description$0: function() { + return "add deletion"; + }, + $isAction: 1, + $isDesignChangingAction: 1, + $isSvgPngCacheInvalidatingAction: 1, + $isStrandPartAction: 1, + $isInsertionOrDeletionAction: 1 + }; + U.DeletionAdd_clone_for_other_domain_closure.prototype = { + call$1: function(b) { + var t1 = b.get$domain(b), + t2 = this.domain; + if (t2 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + t1._domain$_$v = t2; + return b; + }, + $signature: 202 + }; + U.InsertionRemove.prototype = { + get$offset: function(_) { + return this.insertion.offset; + }, + get$strand_part: function() { + return this.domain; + }, + clone_for_other_domain$1: function(other_domain) { + var t2, + t1 = other_domain.insertions; + t1.toString; + t2 = t1.$ti; + return U.InsertionRemove_InsertionRemove(other_domain, J.firstWhere$2$orElse$ax(t1._list, t2._eval$1("bool(1)")._as(new U.InsertionRemove_clone_for_other_domain_closure(this)), t2._eval$1("1()?")._as(null))); + }, + short_description$0: function() { + return "remove insertion"; + }, + $isAction: 1, + $isDesignChangingAction: 1, + $isSvgPngCacheInvalidatingAction: 1, + $isStrandPartAction: 1, + $isInsertionOrDeletionAction: 1 + }; + U.InsertionRemove_clone_for_other_domain_closure.prototype = { + call$1: function(i) { + return type$.legacy_Insertion._as(i).offset === this.$this.insertion.offset; + }, + $signature: 29 + }; + U.InsertionRemove_InsertionRemove_closure.prototype = { + call$1: function(b) { + var t1 = b.get$domain(b), + t2 = this.domain; + if (t2 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + t1._domain$_$v = t2; + t1 = b.get$insertion(); + t2 = this.insertion; + if (t2 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + t1._domain$_$v = t2; + b.get$_$this()._all_helices = false; + return b; + }, + $signature: 203 + }; + U.DeletionRemove.prototype = { + get$strand_part: function() { + return this.domain; + }, + clone_for_other_domain$1: function(other_domain) { + return U.DeletionRemove_DeletionRemove(other_domain, this.offset); + }, + short_description$0: function() { + return "remove deletion"; + }, + $isAction: 1, + $isDesignChangingAction: 1, + $isSvgPngCacheInvalidatingAction: 1, + $isStrandPartAction: 1, + $isInsertionOrDeletionAction: 1 + }; + U.DeletionRemove_DeletionRemove_closure.prototype = { + call$1: function(b) { + var t1 = b.get$domain(b), + t2 = this.domain; + if (t2 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + t1._domain$_$v = t2; + b.get$_$this()._actions$_offset = this.offset; + b.get$_$this()._all_helices = false; + return b; + }, + $signature: 204 + }; + U.ScalePurificationVendorFieldsAssign.prototype = { + short_description$0: function() { + return "assign scale purification vendor fields"; + }, + $isAction: 1, + $isDesignChangingAction: 1, + $isSvgPngCacheInvalidatingAction: 1, + $isSingleStrandAction: 1 + }; + U.PlateWellVendorFieldsAssign.prototype = { + short_description$0: function() { + return "assign plate well vendor fields"; + }, + $isAction: 1, + $isDesignChangingAction: 1, + $isSvgPngCacheInvalidatingAction: 1, + $isSingleStrandAction: 1 + }; + U.PlateWellVendorFieldsRemove.prototype = { + short_description$0: function() { + return "remove plate well vendor fields"; + }, + $isAction: 1, + $isDesignChangingAction: 1, + $isSvgPngCacheInvalidatingAction: 1, + $isSingleStrandAction: 1 + }; + U.VendorFieldsRemove.prototype = { + short_description$0: function() { + return "remove vendor fields"; + }, + $isAction: 1, + $isDesignChangingAction: 1, + $isSvgPngCacheInvalidatingAction: 1, + $isSingleStrandAction: 1 + }; + U.ModificationAdd.prototype = { + short_description$0: function() { + return "add modification"; + }, + $isAction: 1, + $isDesignChangingAction: 1, + $isSvgPngCacheInvalidatingAction: 1, + $isSingleStrandAction: 1 + }; + U.ModificationRemove.prototype = { + short_description$0: function() { + return "remove modification"; + }, + $isAction: 1, + $isDesignChangingAction: 1, + $isSvgPngCacheInvalidatingAction: 1, + $isSingleStrandAction: 1 + }; + U.ModificationConnectorLengthSet.prototype = {$isAction: 1}; + U.ModificationEdit.prototype = { + short_description$0: function() { + return "edit modification"; + }, + $isAction: 1, + $isDesignChangingAction: 1, + $isSvgPngCacheInvalidatingAction: 1, + $isSingleStrandAction: 1 + }; + U.Modifications5PrimeEdit.prototype = { + short_description$0: function() { + return "edit 5' modifications"; + }, + $isAction: 1, + $isDesignChangingAction: 1, + $isSvgPngCacheInvalidatingAction: 1 + }; + U.Modifications5PrimeEdit_Modifications5PrimeEdit_closure.prototype = { + call$1: function(b) { + var t1; + b.get$modifications().replace$1(0, this.modifications); + t1 = b.get$new_modification(); + t1._modification$_$v = this.new_modification; + return b; + }, + $signature: 205 + }; + U.Modifications3PrimeEdit.prototype = { + short_description$0: function() { + return "edit 3' modifications"; + }, + $isAction: 1, + $isDesignChangingAction: 1, + $isSvgPngCacheInvalidatingAction: 1 + }; + U.Modifications3PrimeEdit_Modifications3PrimeEdit_closure.prototype = { + call$1: function(b) { + var t1; + b.get$modifications().replace$1(0, this.modifications); + t1 = b.get$new_modification(); + t1._modification$_$v = this.new_modification; + return b; + }, + $signature: 206 + }; + U.ModificationsInternalEdit.prototype = { + short_description$0: function() { + return "edit internal modifications"; + }, + $isAction: 1, + $isDesignChangingAction: 1, + $isSvgPngCacheInvalidatingAction: 1 + }; + U.ModificationsInternalEdit_ModificationsInternalEdit_closure.prototype = { + call$1: function(b) { + var t1; + b.get$modifications().replace$1(0, this.modifications); + t1 = b.get$new_modification(); + t1._modification$_$v = this.new_modification; + return b; + }, + $signature: 207 + }; + U.GridChange.prototype = { + short_description$0: function() { + return "change grid"; + }, + $isAction: 1, + $isDesignChangingAction: 1, + $isSvgPngCacheInvalidatingAction: 1 + }; + U.GroupDisplayedChange.prototype = {$isAction: 1}; + U.GroupAdd.prototype = { + short_description$0: function() { + return "create new helix group"; + }, + $isAction: 1, + $isDesignChangingAction: 1, + $isSvgPngCacheInvalidatingAction: 1 + }; + U.GroupRemove.prototype = { + short_description$0: function() { + return "remove group"; + }, + $isAction: 1, + $isDesignChangingAction: 1, + $isSvgPngCacheInvalidatingAction: 1 + }; + U.GroupChange.prototype = { + short_description$0: function() { + return "adjust helix group"; + }, + $isAction: 1, + $isDesignChangingAction: 1, + $isSvgPngCacheInvalidatingAction: 1 + }; + U.MoveHelicesToGroup.prototype = { + short_description$0: function() { + return "move helices to group"; + }, + $isAction: 1, + $isDesignChangingAction: 1, + $isSvgPngCacheInvalidatingAction: 1 + }; + U.DialogShow.prototype = {$isAction: 1}; + U.DialogHide.prototype = {$isAction: 1}; + U.ContextMenuShow.prototype = {$isAction: 1}; + U.ContextMenuHide.prototype = {$isAction: 1}; + U.StrandOrSubstrandColorPickerShow.prototype = {$isAction: 1}; + U.StrandOrSubstrandColorPickerHide.prototype = {$isAction: 1}; + U.StrandOrSubstrandColorPickerHide_StrandOrSubstrandColorPickerHide_closure.prototype = { + call$1: function(b) { + return b; + }, + $signature: 208 + }; + U.ScaffoldSet.prototype = { + short_description$0: function() { + return "set scaffold"; + }, + $isAction: 1, + $isDesignChangingAction: 1, + $isSvgPngCacheInvalidatingAction: 1, + $isSingleStrandAction: 1 + }; + U.StrandOrSubstrandColorSet.prototype = { + short_description$0: function() { + return "set strand or substrand color"; + }, + $isAction: 1, + $isDesignChangingAction: 1, + $isSvgPngCacheInvalidatingAction: 1, + $isSingleStrandAction: 1 + }; + U.StrandPasteKeepColorSet.prototype = {$isAction: 1}; + U.ExampleDesignsLoad.prototype = {$isAction: 1}; + U.BasePairTypeSet.prototype = {$isAction: 1}; + U.HelixPositionSet.prototype = { + short_description$0: function() { + return "set helix position"; + }, + $isAction: 1, + $isDesignChangingAction: 1, + $isSvgPngCacheInvalidatingAction: 1, + $isHelixIndividualAction: 1 + }; + U.HelixGridPositionSet.prototype = { + get$helix_idx: function() { + return this.helix.idx; + }, + short_description$0: function() { + return "set helix grid position"; + }, + $isAction: 1, + $isDesignChangingAction: 1, + $isSvgPngCacheInvalidatingAction: 1, + $isHelixIndividualAction: 1 + }; + U.HelicesPositionsSetBasedOnCrossovers.prototype = {}; + U.InlineInsertionsDeletions.prototype = { + short_description$0: function() { + return "inline insertions/deletions"; + }, + $isAction: 1, + $isDesignChangingAction: 1, + $isSvgPngCacheInvalidatingAction: 1 + }; + U.DefaultCrossoverTypeForSettingHelixRollsSet.prototype = {$isAction: 1}; + U.AutofitSet.prototype = {$isAction: 1}; + U.ShowHelixCirclesMainViewSet.prototype = {$isAction: 1}; + U.ShowHelixComponentsMainViewSet.prototype = {$isAction: 1}; + U.ShowEditMenuToggle.prototype = {$isAction: 1}; + U.ShowGridCoordinatesSideViewSet.prototype = {$isAction: 1}; + U.ShowAxisArrowsSet.prototype = {$isAction: 1}; + U.ShowLoopoutExtensionLengthSet.prototype = {}; + U.LoadDnaSequenceImageUri.prototype = {$isAction: 1}; + U.LoadDnaSequenceImageUri_LoadDnaSequenceImageUri_closure.prototype = { + call$1: function(b) { + b.get$_$this()._uri = this.uri; + b.get$_$this()._actions$_dna_sequence_png_horizontal_offset = this.dna_sequence_png_horizontal_offset; + b.get$_$this()._actions$_dna_sequence_png_vertical_offset = this.dna_sequence_png_vertical_offset; + return b; + }, + $signature: 209 + }; + U.SetIsZoomAboveThreshold.prototype = {$isAction: 1}; + U.SetIsZoomAboveThreshold_SetIsZoomAboveThreshold_closure.prototype = { + call$1: function(b) { + b.get$_$this()._actions$_is_zoom_above_threshold = this.is_zoom_above_threshold; + return b; + }, + $signature: 210 + }; + U.SetExportSvgActionDelayedForPngCache.prototype = {$isAction: 1}; + U.SetExportSvgActionDelayedForPngCache_SetExportSvgActionDelayedForPngCache_closure.prototype = { + call$1: function(b) { + b.get$_$this()._actions$_export_svg_action_delayed_for_png_cache = this.export_svg_action_delayed_for_png_cache; + return b; + }, + $signature: 211 + }; + U.ShowBasePairLinesSet.prototype = {$isAction: 1}; + U.ShowBasePairLinesWithMismatchesSet.prototype = {$isAction: 1}; + U.ShowSliceBarSet.prototype = {$isAction: 1}; + U.ShowSliceBarSet_ShowSliceBarSet_closure.prototype = { + call$1: function(b) { + b.get$_$this()._show = this.show; + return b; + }, + $signature: 212 + }; + U.SliceBarOffsetSet.prototype = {$isAction: 1}; + U.SliceBarOffsetSet_SliceBarOffsetSet_closure.prototype = { + call$1: function(b) { + b.get$_$this()._actions$_offset = this.offset; + return b; + }, + $signature: 213 + }; + U.DisablePngCachingDnaSequencesSet.prototype = {$isAction: 1}; + U.DisablePngCachingDnaSequencesSet_DisablePngCachingDnaSequencesSet_closure.prototype = { + call$1: function(b) { + b.get$_$this()._actions$_disable_png_caching_dna_sequences = this.disable_png_caching_dna_sequences; + return b; + }, + $signature: 214 + }; + U.RetainStrandColorOnSelectionSet.prototype = {$isAction: 1}; + U.RetainStrandColorOnSelectionSet_RetainStrandColorOnSelectionSet_closure.prototype = { + call$1: function(b) { + b.get$_$this()._actions$_retain_strand_color_on_selection = this.retain_strand_color_on_selection; + return b; + }, + $signature: 215 + }; + U.DisplayReverseDNARightSideUpSet.prototype = {$isAction: 1}; + U.DisplayReverseDNARightSideUpSet_DisplayReverseDNARightSideUpSet_closure.prototype = { + call$1: function(b) { + b.get$_$this()._actions$_display_reverse_DNA_right_side_up = this.display_reverse_DNA_right_side_up; + return b; + }, + $signature: 216 + }; + U.SliceBarMoveStart.prototype = {$isAction: 1}; + U.SliceBarMoveStop.prototype = {$isAction: 1}; + U.Autostaple.prototype = {$isAction: 1}; + U.Autobreak.prototype = {$isAction: 1}; + U.Autobreak_Autobreak_closure.prototype = { + call$1: function(b) { + var _this = this; + b.get$_$this()._target_length = _this.target_length; + b.get$_$this()._min_length = _this.min_length; + b.get$_$this()._max_length = _this.max_length; + b.get$_$this()._min_distance_to_xover = _this.min_distance_to_xover; + return b; + }, + $signature: 217 + }; + U.ZoomSpeedSet.prototype = {$isAction: 1}; + U.OxdnaExport.prototype = {$isAction: 1}; + U.OxdnaExport_OxdnaExport_closure.prototype = { + call$1: function(b) { + b.get$_$this()._selected_strands_only = this.selected_strands_only; + return b; + }, + $signature: 218 + }; + U.OxviewExport.prototype = {$isAction: 1}; + U.OxviewExport_OxviewExport_closure.prototype = { + call$1: function(b) { + b.get$_$this()._selected_strands_only = this.selected_strands_only; + return b; + }, + $signature: 219 + }; + U.OxExportOnlySelectedStrandsSet.prototype = {$isAction: 1}; + U._$UndoSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + return H.setRuntimeTypeInfo(["num_undos", serializers.serialize$2$specifiedType(type$.legacy_Undo._as(object).num_undos, C.FullType_kjq)], type$.JSArray_legacy_Object); + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + var key, value, t1, $$v, + result = new U.UndoBuilder(), + iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + for (; iterator.moveNext$0();) { + key = H._asStringS(iterator.get$current(iterator)); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (key) { + case "num_undos": + t1 = H._asIntS(serializers.deserialize$2$specifiedType(value, C.FullType_kjq)); + $$v = result._$v; + if ($$v != null) { + result._num_undos = $$v.num_undos; + result._$v = null; + } + result._num_undos = t1; + break; + } + } + return result.build$0(); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_ab8; + }, + get$wireName: function() { + return "Undo"; + } + }; + U._$RedoSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + return H.setRuntimeTypeInfo(["num_redos", serializers.serialize$2$specifiedType(type$.legacy_Redo._as(object).num_redos, C.FullType_kjq)], type$.JSArray_legacy_Object); + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + var key, value, t1, $$v, + result = new U.RedoBuilder(), + iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + for (; iterator.moveNext$0();) { + key = H._asStringS(iterator.get$current(iterator)); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (key) { + case "num_redos": + t1 = H._asIntS(serializers.deserialize$2$specifiedType(value, C.FullType_kjq)); + $$v = result._$v; + if ($$v != null) { + result._num_redos = $$v.num_redos; + result._$v = null; + } + result._num_redos = t1; + break; + } + } + return result.build$0(); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_Isn; + }, + get$wireName: function() { + return "Redo"; + } + }; + U._$UndoRedoClearSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + type$.legacy_UndoRedoClear._as(object); + return H.setRuntimeTypeInfo([], type$.JSArray_legacy_Object); + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + type$.legacy_Iterable_legacy_Object._as(serialized); + return new U._$UndoRedoClear(); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_O5Z; + }, + get$wireName: function() { + return "UndoRedoClear"; + } + }; + U._$BatchActionSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + type$.legacy_BatchAction._as(object); + return H.setRuntimeTypeInfo(["actions", serializers.serialize$2$specifiedType(object.actions, C.FullType_YGD), "short_description_value", serializers.serialize$2$specifiedType(object.short_description_value, C.FullType_h8g)], type$.JSArray_legacy_Object); + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + var t1, t2, t3, t4, key, value, t5, t6, t7, t8, t9, + result = new U.BatchActionBuilder(), + iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + for (t1 = type$.legacy_BuiltList_legacy_Object, t2 = type$.legacy_UndoableAction, t3 = type$.List_legacy_UndoableAction, t4 = type$.ListBuilder_legacy_UndoableAction; iterator.moveNext$0();) { + key = H._asStringS(iterator.get$current(iterator)); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (key) { + case "actions": + t5 = result.get$_$this(); + t6 = t5._actions; + if (t6 == null) { + t6 = new D.ListBuilder(t4); + t6.set$__ListBuilder__list(t3._as(P.List_List$from(C.List_empty, true, t2))); + t6.set$_listOwner(null); + t5.set$_actions(t6); + t5 = t6; + } else + t5 = t6; + t6 = t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_YGD)); + t7 = t5.$ti; + t8 = t7._eval$1("_BuiltList<1>"); + t9 = t7._eval$1("List<1>"); + if (t8._is(t6)) { + t8._as(t6); + t5.set$__ListBuilder__list(t9._as(t6._list)); + t5.set$_listOwner(t6); + } else { + t5.set$__ListBuilder__list(t9._as(P.List_List$from(t6, true, t7._precomputed1))); + t5.set$_listOwner(null); + } + break; + case "short_description_value": + t5 = H._asStringS(serializers.deserialize$2$specifiedType(value, C.FullType_h8g)); + result.get$_$this()._short_description_value = t5; + break; + } + } + return result.build$0(); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_AuK; + }, + get$wireName: function() { + return "BatchAction"; + } + }; + U._$ThrottledActionFastSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + type$.legacy_ThrottledActionFast._as(object); + return H.setRuntimeTypeInfo(["action", serializers.serialize$2$specifiedType(object.action, C.FullType_3lI), "interval_sec", serializers.serialize$2$specifiedType(object.interval_sec, C.FullType_2ru)], type$.JSArray_legacy_Object); + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + var t1, key, value, t2, $$v, + result = new U.ThrottledActionFastBuilder(), + iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + for (t1 = type$.legacy_Action; iterator.moveNext$0();) { + key = H._asStringS(iterator.get$current(iterator)); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (key) { + case "action": + t2 = t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_3lI)); + $$v = result._$v; + if ($$v != null) { + result._action = $$v.action; + result._interval_sec = $$v.interval_sec; + result._$v = null; + } + result._action = t2; + break; + case "interval_sec": + t2 = H._asNumS(serializers.deserialize$2$specifiedType(value, C.FullType_2ru)); + $$v = result._$v; + if ($$v != null) { + result._action = $$v.action; + result._interval_sec = $$v.interval_sec; + result._$v = null; + } + result._interval_sec = t2; + break; + } + } + return result.build$0(); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_YLN; + }, + get$wireName: function() { + return "ThrottledActionFast"; + } + }; + U._$ThrottledActionNonFastSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + type$.legacy_ThrottledActionNonFast._as(object); + return H.setRuntimeTypeInfo(["action", serializers.serialize$2$specifiedType(object.action, C.FullType_3lI), "interval_sec", serializers.serialize$2$specifiedType(object.interval_sec, C.FullType_2ru)], type$.JSArray_legacy_Object); + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + var t1, key, value, t2, $$v, + result = new U.ThrottledActionNonFastBuilder(), + iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + for (t1 = type$.legacy_Action; iterator.moveNext$0();) { + key = H._asStringS(iterator.get$current(iterator)); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (key) { + case "action": + t2 = t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_3lI)); + $$v = result._$v; + if ($$v != null) { + result._action = $$v.action; + result._interval_sec = $$v.interval_sec; + result._$v = null; + } + result._action = t2; + break; + case "interval_sec": + t2 = H._asNumS(serializers.deserialize$2$specifiedType(value, C.FullType_2ru)); + $$v = result._$v; + if ($$v != null) { + result._action = $$v.action; + result._interval_sec = $$v.interval_sec; + result._$v = null; + } + result._interval_sec = t2; + break; + } + } + return result.build$0(); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_yJg; + }, + get$wireName: function() { + return "ThrottledActionNonFast"; + } + }; + U._$LocalStorageDesignChoiceSetSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + return H.setRuntimeTypeInfo(["choice", serializers.serialize$2$specifiedType(type$.legacy_LocalStorageDesignChoiceSet._as(object).choice, C.FullType_UeR)], type$.JSArray_legacy_Object); + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + var t1, key, value, $$v, t2, t3, + result = new U.LocalStorageDesignChoiceSetBuilder(), + iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + for (t1 = type$.legacy_LocalStorageDesignChoice; iterator.moveNext$0();) { + key = H._asStringS(iterator.get$current(iterator)); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (key) { + case "choice": + $$v = result._$v; + if ($$v != null) { + t2 = $$v.choice; + t3 = new Y.LocalStorageDesignChoiceBuilder(); + t3._local_storage_design_choice$_$v = t2; + result._choice = t3; + result._$v = null; + } + t2 = result._choice; + if (t2 == null) + t2 = result._choice = new Y.LocalStorageDesignChoiceBuilder(); + t3 = t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_UeR)); + if (t3 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + t2._local_storage_design_choice$_$v = t3; + break; + } + } + return result.build$0(); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_cKo; + }, + get$wireName: function() { + return "LocalStorageDesignChoiceSet"; + } + }; + U._$ResetLocalStorageSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + type$.legacy_ResetLocalStorage._as(object); + return H.setRuntimeTypeInfo([], type$.JSArray_legacy_Object); + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + type$.legacy_Iterable_legacy_Object._as(serialized); + return new U._$ResetLocalStorage(); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_Zuu; + }, + get$wireName: function() { + return "ResetLocalStorage"; + } + }; + U._$ClearHelixSelectionWhenLoadingNewDesignSetSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + return H.setRuntimeTypeInfo(["clear", serializers.serialize$2$specifiedType(type$.legacy_ClearHelixSelectionWhenLoadingNewDesignSet._as(object).clear, C.FullType_MtR)], type$.JSArray_legacy_Object); + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + var key, value, t1, $$v, _$result, + result = new U.ClearHelixSelectionWhenLoadingNewDesignSetBuilder(), + iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + for (; iterator.moveNext$0();) { + key = H._asStringS(iterator.get$current(iterator)); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (key) { + case "clear": + t1 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); + $$v = result._$v; + if ($$v != null) { + result._clear = $$v.clear; + result._$v = null; + } + result._clear = t1; + break; + } + } + _$result = result._$v; + if (_$result == null) { + t1 = result.get$_$this()._clear; + if (t1 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(string$.ClearH, "clear")); + _$result = U._$ClearHelixSelectionWhenLoadingNewDesignSet$_(t1); + } + return result._$v = _$result; + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_U05; + }, + get$wireName: function() { + return string$.ClearH; + } + }; + U._$EditModeToggleSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + return H.setRuntimeTypeInfo(["mode", serializers.serialize$2$specifiedType(type$.legacy_EditModeToggle._as(object).mode, C.FullType_eX4)], type$.JSArray_legacy_Object); + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + var t1, key, value, t2, $$v, + result = new U.EditModeToggleBuilder(), + iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + for (t1 = type$.legacy_EditModeChoice; iterator.moveNext$0();) { + key = H._asStringS(iterator.get$current(iterator)); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (key) { + case "mode": + t2 = t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_eX4)); + $$v = result._$v; + if ($$v != null) { + result._mode = $$v.mode; + result._$v = null; + } + result._mode = t2; + break; + } + } + return result.build$0(); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_q7D; + }, + get$wireName: function() { + return "EditModeToggle"; + } + }; + U._$EditModesSetSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + return H.setRuntimeTypeInfo(["edit_modes", serializers.serialize$2$specifiedType(type$.legacy_EditModesSet._as(object).edit_modes, C.FullType_kiE)], type$.JSArray_legacy_Object); + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + var t1, t2, key, value, $$v, t3, t4, + result = new U.EditModesSetBuilder(), + iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + for (t1 = type$.legacy_BuiltSet_legacy_Object, t2 = type$.SetBuilder_legacy_EditModeChoice; iterator.moveNext$0();) { + key = H._asStringS(iterator.get$current(iterator)); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (key) { + case "edit_modes": + $$v = result._$v; + if ($$v != null) { + t3 = $$v.edit_modes; + t3.toString; + t4 = t3.$ti; + t4._eval$1("_BuiltSet<1>")._as(t3); + result.set$_actions$_edit_modes(new X.SetBuilder(t3._setFactory, t3._set, t3, t4._eval$1("SetBuilder<1>"))); + result._$v = null; + } + t3 = result._actions$_edit_modes; + if (t3 == null) { + t3 = new X.SetBuilder(null, $, null, t2); + t3.replace$1(0, C.List_empty); + result.set$_actions$_edit_modes(t3); + } + t3.replace$1(0, t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_kiE))); + break; + } + } + return result.build$0(); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_sI7; + }, + get$wireName: function() { + return "EditModesSet"; + } + }; + U._$SelectModeToggleSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + return H.setRuntimeTypeInfo(["select_mode_choice", serializers.serialize$2$specifiedType(type$.legacy_SelectModeToggle._as(object).select_mode_choice, C.FullType_gg40)], type$.JSArray_legacy_Object); + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + var t1, key, value, t2, $$v, + result = new U.SelectModeToggleBuilder(), + iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + for (t1 = type$.legacy_SelectModeChoice; iterator.moveNext$0();) { + key = H._asStringS(iterator.get$current(iterator)); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (key) { + case "select_mode_choice": + t2 = t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_gg40)); + $$v = result._$v; + if ($$v != null) { + result._select_mode_choice = $$v.select_mode_choice; + result._$v = null; + } + result._select_mode_choice = t2; + break; + } + } + return result.build$0(); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_ifn; + }, + get$wireName: function() { + return "SelectModeToggle"; + } + }; + U._$SelectModesAddSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + return H.setRuntimeTypeInfo(["modes", serializers.serialize$2$specifiedType(type$.legacy_SelectModesAdd._as(object).modes, C.FullType_AgZ)], type$.JSArray_legacy_Object); + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + var t1, t2, t3, t4, key, value, $$v, t5, t6, t7, t8, t9, + result = new U.SelectModesAddBuilder(), + iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + for (t1 = type$.legacy_BuiltList_legacy_Object, t2 = type$.legacy_SelectModeChoice, t3 = type$.List_legacy_SelectModeChoice, t4 = type$.ListBuilder_legacy_SelectModeChoice; iterator.moveNext$0();) { + key = H._asStringS(iterator.get$current(iterator)); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (key) { + case "modes": + $$v = result._$v; + if ($$v != null) { + t5 = $$v.modes; + t5.toString; + t6 = t5.$ti; + t7 = new D.ListBuilder(t6._eval$1("ListBuilder<1>")); + t8 = t6._eval$1("_BuiltList<1>"); + t9 = t6._eval$1("List<1>"); + if (t8._is(t5)) { + t8._as(t5); + t7.set$__ListBuilder__list(t9._as(t5._list)); + t7.set$_listOwner(t5); + } else { + t7.set$__ListBuilder__list(t9._as(P.List_List$from(t5, true, t6._precomputed1))); + t7.set$_listOwner(null); + } + result.set$_actions$_modes(t7); + result._$v = null; + } + t5 = result._actions$_modes; + if (t5 == null) { + t5 = new D.ListBuilder(t4); + t5.set$__ListBuilder__list(t3._as(P.List_List$from(C.List_empty, true, t2))); + t5.set$_listOwner(null); + result.set$_actions$_modes(t5); + } + t6 = t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_AgZ)); + t7 = t5.$ti; + t8 = t7._eval$1("_BuiltList<1>"); + t9 = t7._eval$1("List<1>"); + if (t8._is(t6)) { + t8._as(t6); + t5.set$__ListBuilder__list(t9._as(t6._list)); + t5.set$_listOwner(t6); + } else { + t5.set$__ListBuilder__list(t9._as(P.List_List$from(t6, true, t7._precomputed1))); + t5.set$_listOwner(null); + } + break; + } + } + return result.build$0(); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_ivT; + }, + get$wireName: function() { + return "SelectModesAdd"; + } + }; + U._$SelectModesSetSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + return H.setRuntimeTypeInfo(["select_mode_choices", serializers.serialize$2$specifiedType(type$.legacy_SelectModesSet._as(object).select_mode_choices, C.FullType_2aQ)], type$.JSArray_legacy_Object); + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + var t1, t2, key, value, $$v, t3, t4, + result = new U.SelectModesSetBuilder(), + iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + for (t1 = type$.legacy_BuiltSet_legacy_Object, t2 = type$.SetBuilder_legacy_SelectModeChoice; iterator.moveNext$0();) { + key = H._asStringS(iterator.get$current(iterator)); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (key) { + case "select_mode_choices": + $$v = result._$v; + if ($$v != null) { + t3 = $$v.select_mode_choices; + t3.toString; + t4 = t3.$ti; + t4._eval$1("_BuiltSet<1>")._as(t3); + result.set$_select_mode_choices(new X.SetBuilder(t3._setFactory, t3._set, t3, t4._eval$1("SetBuilder<1>"))); + result._$v = null; + } + t3 = result._select_mode_choices; + if (t3 == null) { + t3 = new X.SetBuilder(null, $, null, t2); + t3.replace$1(0, C.List_empty); + result.set$_select_mode_choices(t3); + } + t3.replace$1(0, t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_2aQ))); + break; + } + } + return result.build$0(); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_gsm0; + }, + get$wireName: function() { + return "SelectModesSet"; + } + }; + U._$StrandNameSetSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + var result, value; + type$.legacy_StrandNameSet._as(object); + result = H.setRuntimeTypeInfo(["strand", serializers.serialize$2$specifiedType(object.strand, C.FullType_w0x)], type$.JSArray_legacy_Object); + value = object.name; + if (value != null) { + C.JSArray_methods.add$1(result, "name"); + C.JSArray_methods.add$1(result, serializers.serialize$2$specifiedType(value, C.FullType_h8g)); + } + return result; + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + var t1, key, value, t2, t3, + result = new U.StrandNameSetBuilder(), + iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + for (t1 = type$.legacy_Strand; iterator.moveNext$0();) { + key = H._asStringS(iterator.get$current(iterator)); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (key) { + case "name": + t2 = H._asStringS(serializers.deserialize$2$specifiedType(value, C.FullType_h8g)); + result.get$_$this()._actions$_name = t2; + break; + case "strand": + t2 = result.get$_$this(); + t3 = t2._strand; + t2 = t3 == null ? t2._strand = new E.StrandBuilder() : t3; + t3 = t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_w0x)); + if (t3 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + t2._strand$_$v = t3; + break; + } + } + return result.build$0(); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_ZYL; + }, + get$wireName: function() { + return "StrandNameSet"; + } + }; + U._$StrandLabelSetSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + var result, value; + type$.legacy_StrandLabelSet._as(object); + result = H.setRuntimeTypeInfo(["strand", serializers.serialize$2$specifiedType(object.strand, C.FullType_w0x)], type$.JSArray_legacy_Object); + value = object.label; + if (value != null) { + C.JSArray_methods.add$1(result, "label"); + C.JSArray_methods.add$1(result, serializers.serialize$2$specifiedType(value, C.FullType_h8g)); + } + return result; + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + var t1, key, value, t2, t3, + result = new U.StrandLabelSetBuilder(), + iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + for (t1 = type$.legacy_Strand; iterator.moveNext$0();) { + key = H._asStringS(iterator.get$current(iterator)); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (key) { + case "label": + t2 = H._asStringS(serializers.deserialize$2$specifiedType(value, C.FullType_h8g)); + result.get$_$this()._actions$_label = t2; + break; + case "strand": + t2 = result.get$_$this(); + t3 = t2._strand; + t2 = t3 == null ? t2._strand = new E.StrandBuilder() : t3; + t3 = t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_w0x)); + if (t3 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + t2._strand$_$v = t3; + break; + } + } + return result.build$0(); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_69P; + }, + get$wireName: function() { + return "StrandLabelSet"; + } + }; + U._$SubstrandNameSetSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + var result, value; + type$.legacy_SubstrandNameSet._as(object); + result = H.setRuntimeTypeInfo(["substrand", serializers.serialize$2$specifiedType(object.substrand, C.FullType_S4t)], type$.JSArray_legacy_Object); + value = object.name; + if (value != null) { + C.JSArray_methods.add$1(result, "name"); + C.JSArray_methods.add$1(result, serializers.serialize$2$specifiedType(value, C.FullType_h8g)); + } + return result; + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + var t1, key, value, t2, $$v, _$result, + result = new U.SubstrandNameSetBuilder(), + iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + for (t1 = type$.legacy_Substrand; iterator.moveNext$0();) { + key = H._asStringS(iterator.get$current(iterator)); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (key) { + case "name": + t2 = H._asStringS(serializers.deserialize$2$specifiedType(value, C.FullType_h8g)); + $$v = result._$v; + if ($$v != null) { + result._actions$_name = $$v.name; + result._substrand = $$v.substrand; + result._$v = null; + } + result._actions$_name = t2; + break; + case "substrand": + t2 = t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_S4t)); + $$v = result._$v; + if ($$v != null) { + result._actions$_name = $$v.name; + result._substrand = $$v.substrand; + result._$v = null; + } + result._substrand = t2; + break; + } + } + _$result = result._$v; + if (_$result == null) { + t1 = result.get$_$this()._actions$_name; + t2 = result.get$_$this()._substrand; + if (t2 == null) + H.throwExpression(Y.BuiltValueNullFieldError$("SubstrandNameSet", "substrand")); + _$result = U._$SubstrandNameSet$_(t1, t2); + } + return result._$v = _$result; + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_Ol2; + }, + get$wireName: function() { + return "SubstrandNameSet"; + } + }; + U._$SubstrandLabelSetSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + var result, value; + type$.legacy_SubstrandLabelSet._as(object); + result = H.setRuntimeTypeInfo(["substrand", serializers.serialize$2$specifiedType(object.substrand, C.FullType_S4t)], type$.JSArray_legacy_Object); + value = object.label; + if (value != null) { + C.JSArray_methods.add$1(result, "label"); + C.JSArray_methods.add$1(result, serializers.serialize$2$specifiedType(value, C.FullType_h8g)); + } + return result; + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + var t1, key, value, t2, $$v, _$result, + result = new U.SubstrandLabelSetBuilder(), + iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + for (t1 = type$.legacy_Substrand; iterator.moveNext$0();) { + key = H._asStringS(iterator.get$current(iterator)); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (key) { + case "label": + t2 = H._asStringS(serializers.deserialize$2$specifiedType(value, C.FullType_h8g)); + $$v = result._$v; + if ($$v != null) { + result._actions$_label = $$v.label; + result._substrand = $$v.substrand; + result._$v = null; + } + result._actions$_label = t2; + break; + case "substrand": + t2 = t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_S4t)); + $$v = result._$v; + if ($$v != null) { + result._actions$_label = $$v.label; + result._substrand = $$v.substrand; + result._$v = null; + } + result._substrand = t2; + break; + } + } + _$result = result._$v; + if (_$result == null) { + t1 = result.get$_$this()._actions$_label; + t2 = result.get$_$this()._substrand; + if (t2 == null) + H.throwExpression(Y.BuiltValueNullFieldError$("SubstrandLabelSet", "substrand")); + _$result = U._$SubstrandLabelSet$_(t1, t2); + } + return result._$v = _$result; + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_ucM; + }, + get$wireName: function() { + return "SubstrandLabelSet"; + } + }; + U._$SetAppUIStateStorableSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + return H.setRuntimeTypeInfo(["storables", serializers.serialize$2$specifiedType(type$.legacy_SetAppUIStateStorable._as(object).storables, C.FullType_wEo)], type$.JSArray_legacy_Object); + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + var t1, key, value, $$v, t2, t3, + result = new U.SetAppUIStateStorableBuilder(), + iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + for (t1 = type$.legacy_AppUIStateStorables; iterator.moveNext$0();) { + key = H._asStringS(iterator.get$current(iterator)); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (key) { + case "storables": + $$v = result._$v; + if ($$v != null) { + t2 = $$v.storables; + t2.toString; + t3 = new B.AppUIStateStorablesBuilder(); + B.AppUIStateStorables__initializeBuilder(t3); + t3._app_ui_state_storables$_$v = t2; + result._actions$_storables = t3; + result._$v = null; + } + t2 = result._actions$_storables; + if (t2 == null) { + t2 = new B.AppUIStateStorablesBuilder(); + B.AppUIStateStorables__initializeBuilder(t2); + result._actions$_storables = t2; + } + t3 = t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_wEo)); + if (t3 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + t2._app_ui_state_storables$_$v = t3; + break; + } + } + return result.build$0(); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_mOq; + }, + get$wireName: function() { + return "SetAppUIStateStorable"; + } + }; + U._$ShowDNASetSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + return H.setRuntimeTypeInfo(["show", serializers.serialize$2$specifiedType(type$.legacy_ShowDNASet._as(object).show, C.FullType_MtR)], type$.JSArray_legacy_Object); + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + var key, value, t1, $$v, + result = new U.ShowDNASetBuilder(), + iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + for (; iterator.moveNext$0();) { + key = H._asStringS(iterator.get$current(iterator)); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (key) { + case "show": + t1 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); + $$v = result._$v; + if ($$v != null) { + result._show = $$v.show; + result._$v = null; + } + result._show = t1; + break; + } + } + return result.build$0(); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_Yap; + }, + get$wireName: function() { + return "ShowDNASet"; + } + }; + U._$ShowDomainNamesSetSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + return H.setRuntimeTypeInfo(["show", serializers.serialize$2$specifiedType(type$.legacy_ShowDomainNamesSet._as(object).show, C.FullType_MtR)], type$.JSArray_legacy_Object); + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + var key, value, t1, $$v, + result = new U.ShowDomainNamesSetBuilder(), + iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + for (; iterator.moveNext$0();) { + key = H._asStringS(iterator.get$current(iterator)); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (key) { + case "show": + t1 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); + $$v = result._$v; + if ($$v != null) { + result._show = $$v.show; + result._$v = null; + } + result._show = t1; + break; + } + } + return result.build$0(); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_Au4; + }, + get$wireName: function() { + return "ShowDomainNamesSet"; + } + }; + U._$ShowStrandNamesSetSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + return H.setRuntimeTypeInfo(["show", serializers.serialize$2$specifiedType(type$.legacy_ShowStrandNamesSet._as(object).show, C.FullType_MtR)], type$.JSArray_legacy_Object); + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + var key, value, t1, $$v, + result = new U.ShowStrandNamesSetBuilder(), + iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + for (; iterator.moveNext$0();) { + key = H._asStringS(iterator.get$current(iterator)); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (key) { + case "show": + t1 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); + $$v = result._$v; + if ($$v != null) { + result._show = $$v.show; + result._$v = null; + } + result._show = t1; + break; + } + } + return result.build$0(); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_dmq; + }, + get$wireName: function() { + return "ShowStrandNamesSet"; + } + }; + U._$ShowStrandLabelsSetSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + return H.setRuntimeTypeInfo(["show", serializers.serialize$2$specifiedType(type$.legacy_ShowStrandLabelsSet._as(object).show, C.FullType_MtR)], type$.JSArray_legacy_Object); + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + var key, value, t1, $$v, + result = new U.ShowStrandLabelsSetBuilder(), + iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + for (; iterator.moveNext$0();) { + key = H._asStringS(iterator.get$current(iterator)); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (key) { + case "show": + t1 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); + $$v = result._$v; + if ($$v != null) { + result._show = $$v.show; + result._$v = null; + } + result._show = t1; + break; + } + } + return result.build$0(); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_Nw8; + }, + get$wireName: function() { + return "ShowStrandLabelsSet"; + } + }; + U._$ShowDomainLabelsSetSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + return H.setRuntimeTypeInfo(["show", serializers.serialize$2$specifiedType(type$.legacy_ShowDomainLabelsSet._as(object).show, C.FullType_MtR)], type$.JSArray_legacy_Object); + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + var key, value, t1, $$v, + result = new U.ShowDomainLabelsSetBuilder(), + iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + for (; iterator.moveNext$0();) { + key = H._asStringS(iterator.get$current(iterator)); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (key) { + case "show": + t1 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); + $$v = result._$v; + if ($$v != null) { + result._show = $$v.show; + result._$v = null; + } + result._show = t1; + break; + } + } + return result.build$0(); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_xTV; + }, + get$wireName: function() { + return "ShowDomainLabelsSet"; + } + }; + U._$ShowModificationsSetSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + return H.setRuntimeTypeInfo(["show", serializers.serialize$2$specifiedType(type$.legacy_ShowModificationsSet._as(object).show, C.FullType_MtR)], type$.JSArray_legacy_Object); + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + var key, value, t1, $$v, + result = new U.ShowModificationsSetBuilder(), + iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + for (; iterator.moveNext$0();) { + key = H._asStringS(iterator.get$current(iterator)); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (key) { + case "show": + t1 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); + $$v = result._$v; + if ($$v != null) { + result._show = $$v.show; + result._$v = null; + } + result._show = t1; + break; + } + } + return result.build$0(); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_urY; + }, + get$wireName: function() { + return "ShowModificationsSet"; + } + }; + U._$DomainNameFontSizeSetSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + return H.setRuntimeTypeInfo(["font_size", serializers.serialize$2$specifiedType(type$.legacy_DomainNameFontSizeSet._as(object).font_size, C.FullType_2ru)], type$.JSArray_legacy_Object); + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + var key, value, t1, $$v, _$result, + result = new U.DomainNameFontSizeSetBuilder(), + iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + for (; iterator.moveNext$0();) { + key = H._asStringS(iterator.get$current(iterator)); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (key) { + case "font_size": + t1 = H._asNumS(serializers.deserialize$2$specifiedType(value, C.FullType_2ru)); + $$v = result._$v; + if ($$v != null) { + result._font_size = $$v.font_size; + result._$v = null; + } + result._font_size = t1; + break; + } + } + _$result = result._$v; + if (_$result == null) { + t1 = result.get$_$this()._font_size; + if (t1 == null) + H.throwExpression(Y.BuiltValueNullFieldError$("DomainNameFontSizeSet", "font_size")); + _$result = U._$DomainNameFontSizeSet$_(t1); + } + return result._$v = _$result; + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_cIf; + }, + get$wireName: function() { + return "DomainNameFontSizeSet"; + } + }; + U._$DomainLabelFontSizeSetSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + return H.setRuntimeTypeInfo(["font_size", serializers.serialize$2$specifiedType(type$.legacy_DomainLabelFontSizeSet._as(object).font_size, C.FullType_2ru)], type$.JSArray_legacy_Object); + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + var key, value, t1, $$v, _$result, + result = new U.DomainLabelFontSizeSetBuilder(), + iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + for (; iterator.moveNext$0();) { + key = H._asStringS(iterator.get$current(iterator)); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (key) { + case "font_size": + t1 = H._asNumS(serializers.deserialize$2$specifiedType(value, C.FullType_2ru)); + $$v = result._$v; + if ($$v != null) { + result._font_size = $$v.font_size; + result._$v = null; + } + result._font_size = t1; + break; + } + } + _$result = result._$v; + if (_$result == null) { + t1 = result.get$_$this()._font_size; + if (t1 == null) + H.throwExpression(Y.BuiltValueNullFieldError$("DomainLabelFontSizeSet", "font_size")); + _$result = U._$DomainLabelFontSizeSet$_(t1); + } + return result._$v = _$result; + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_M8C; + }, + get$wireName: function() { + return "DomainLabelFontSizeSet"; + } + }; + U._$StrandNameFontSizeSetSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + return H.setRuntimeTypeInfo(["font_size", serializers.serialize$2$specifiedType(type$.legacy_StrandNameFontSizeSet._as(object).font_size, C.FullType_2ru)], type$.JSArray_legacy_Object); + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + var key, value, t1, $$v, _$result, + result = new U.StrandNameFontSizeSetBuilder(), + iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + for (; iterator.moveNext$0();) { + key = H._asStringS(iterator.get$current(iterator)); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (key) { + case "font_size": + t1 = H._asNumS(serializers.deserialize$2$specifiedType(value, C.FullType_2ru)); + $$v = result._$v; + if ($$v != null) { + result._font_size = $$v.font_size; + result._$v = null; + } + result._font_size = t1; + break; + } + } + _$result = result._$v; + if (_$result == null) { + t1 = result.get$_$this()._font_size; + if (t1 == null) + H.throwExpression(Y.BuiltValueNullFieldError$("StrandNameFontSizeSet", "font_size")); + _$result = U._$StrandNameFontSizeSet$_(t1); + } + return result._$v = _$result; + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_V0W; + }, + get$wireName: function() { + return "StrandNameFontSizeSet"; + } + }; + U._$StrandLabelFontSizeSetSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + return H.setRuntimeTypeInfo(["font_size", serializers.serialize$2$specifiedType(type$.legacy_StrandLabelFontSizeSet._as(object).font_size, C.FullType_2ru)], type$.JSArray_legacy_Object); + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + var key, value, t1, $$v, _$result, + result = new U.StrandLabelFontSizeSetBuilder(), + iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + for (; iterator.moveNext$0();) { + key = H._asStringS(iterator.get$current(iterator)); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (key) { + case "font_size": + t1 = H._asNumS(serializers.deserialize$2$specifiedType(value, C.FullType_2ru)); + $$v = result._$v; + if ($$v != null) { + result._font_size = $$v.font_size; + result._$v = null; + } + result._font_size = t1; + break; + } + } + _$result = result._$v; + if (_$result == null) { + t1 = result.get$_$this()._font_size; + if (t1 == null) + H.throwExpression(Y.BuiltValueNullFieldError$("StrandLabelFontSizeSet", "font_size")); + _$result = U._$StrandLabelFontSizeSet$_(t1); + } + return result._$v = _$result; + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_oyn; + }, + get$wireName: function() { + return "StrandLabelFontSizeSet"; + } + }; + U._$ModificationFontSizeSetSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + return H.setRuntimeTypeInfo(["font_size", serializers.serialize$2$specifiedType(type$.legacy_ModificationFontSizeSet._as(object).font_size, C.FullType_2ru)], type$.JSArray_legacy_Object); + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + var key, value, t1, $$v, + result = new U.ModificationFontSizeSetBuilder(), + iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + for (; iterator.moveNext$0();) { + key = H._asStringS(iterator.get$current(iterator)); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (key) { + case "font_size": + t1 = H._asNumS(serializers.deserialize$2$specifiedType(value, C.FullType_2ru)); + $$v = result._$v; + if ($$v != null) { + result._font_size = $$v.font_size; + result._$v = null; + } + result._font_size = t1; + break; + } + } + return result.build$0(); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_wbQ; + }, + get$wireName: function() { + return "ModificationFontSizeSet"; + } + }; + U._$MajorTickOffsetFontSizeSetSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + return H.setRuntimeTypeInfo(["font_size", serializers.serialize$2$specifiedType(type$.legacy_MajorTickOffsetFontSizeSet._as(object).font_size, C.FullType_2ru)], type$.JSArray_legacy_Object); + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + var key, value, t1, $$v, + result = new U.MajorTickOffsetFontSizeSetBuilder(), + iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + for (; iterator.moveNext$0();) { + key = H._asStringS(iterator.get$current(iterator)); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (key) { + case "font_size": + t1 = H._asNumS(serializers.deserialize$2$specifiedType(value, C.FullType_2ru)); + $$v = result._$v; + if ($$v != null) { + result._font_size = $$v.font_size; + result._$v = null; + } + result._font_size = t1; + break; + } + } + return result.build$0(); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_AW6; + }, + get$wireName: function() { + return "MajorTickOffsetFontSizeSet"; + } + }; + U._$MajorTickWidthFontSizeSetSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + return H.setRuntimeTypeInfo(["font_size", serializers.serialize$2$specifiedType(type$.legacy_MajorTickWidthFontSizeSet._as(object).font_size, C.FullType_2ru)], type$.JSArray_legacy_Object); + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + var key, value, t1, $$v, + result = new U.MajorTickWidthFontSizeSetBuilder(), + iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + for (; iterator.moveNext$0();) { + key = H._asStringS(iterator.get$current(iterator)); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (key) { + case "font_size": + t1 = H._asNumS(serializers.deserialize$2$specifiedType(value, C.FullType_2ru)); + $$v = result._$v; + if ($$v != null) { + result._font_size = $$v.font_size; + result._$v = null; + } + result._font_size = t1; + break; + } + } + return result.build$0(); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_u9T; + }, + get$wireName: function() { + return "MajorTickWidthFontSizeSet"; + } + }; + U._$SetModificationDisplayConnectorSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + return H.setRuntimeTypeInfo(["show", serializers.serialize$2$specifiedType(type$.legacy_SetModificationDisplayConnector._as(object).show, C.FullType_MtR)], type$.JSArray_legacy_Object); + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + var key, value, t1, $$v, + result = new U.SetModificationDisplayConnectorBuilder(), + iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + for (; iterator.moveNext$0();) { + key = H._asStringS(iterator.get$current(iterator)); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (key) { + case "show": + t1 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); + $$v = result._$v; + if ($$v != null) { + result._show = $$v.show; + result._$v = null; + } + result._show = t1; + break; + } + } + return result.build$0(); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_e1J; + }, + get$wireName: function() { + return "SetModificationDisplayConnector"; + } + }; + U._$ShowMismatchesSetSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + return H.setRuntimeTypeInfo(["show", serializers.serialize$2$specifiedType(type$.legacy_ShowMismatchesSet._as(object).show, C.FullType_MtR)], type$.JSArray_legacy_Object); + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + var key, value, t1, $$v, + result = new U.ShowMismatchesSetBuilder(), + iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + for (; iterator.moveNext$0();) { + key = H._asStringS(iterator.get$current(iterator)); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (key) { + case "show": + t1 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); + $$v = result._$v; + if ($$v != null) { + result._show = $$v.show; + result._$v = null; + } + result._show = t1; + break; + } + } + return result.build$0(); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_P2J; + }, + get$wireName: function() { + return "ShowMismatchesSet"; + } + }; + U._$ShowDomainNameMismatchesSetSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + return H.setRuntimeTypeInfo(["show_domain_name_mismatches", serializers.serialize$2$specifiedType(type$.legacy_ShowDomainNameMismatchesSet._as(object).show_domain_name_mismatches, C.FullType_MtR)], type$.JSArray_legacy_Object); + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + var key, value, t1, $$v, + result = new U.ShowDomainNameMismatchesSetBuilder(), + iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + for (; iterator.moveNext$0();) { + key = H._asStringS(iterator.get$current(iterator)); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (key) { + case "show_domain_name_mismatches": + t1 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); + $$v = result._$v; + if ($$v != null) { + result._actions$_show_domain_name_mismatches = $$v.show_domain_name_mismatches; + result._$v = null; + } + result._actions$_show_domain_name_mismatches = t1; + break; + } + } + return result.build$0(); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_aZ8; + }, + get$wireName: function() { + return "ShowDomainNameMismatchesSet"; + } + }; + U._$ShowUnpairedInsertionDeletionsSetSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + return H.setRuntimeTypeInfo(["show_unpaired_insertion_deletions", serializers.serialize$2$specifiedType(type$.legacy_ShowUnpairedInsertionDeletionsSet._as(object).show_unpaired_insertion_deletions, C.FullType_MtR)], type$.JSArray_legacy_Object); + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + var key, value, t1, $$v, + result = new U.ShowUnpairedInsertionDeletionsSetBuilder(), + iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + for (; iterator.moveNext$0();) { + key = H._asStringS(iterator.get$current(iterator)); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (key) { + case "show_unpaired_insertion_deletions": + t1 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); + $$v = result._$v; + if ($$v != null) { + result._actions$_show_unpaired_insertion_deletions = $$v.show_unpaired_insertion_deletions; + result._$v = null; + } + result._actions$_show_unpaired_insertion_deletions = t1; + break; + } + } + return result.build$0(); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_7Re; + }, + get$wireName: function() { + return "ShowUnpairedInsertionDeletionsSet"; + } + }; + U._$OxviewShowSetSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + return H.setRuntimeTypeInfo(["show", serializers.serialize$2$specifiedType(type$.legacy_OxviewShowSet._as(object).show, C.FullType_MtR)], type$.JSArray_legacy_Object); + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + var key, value, t1, $$v, + result = new U.OxviewShowSetBuilder(), + iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + for (; iterator.moveNext$0();) { + key = H._asStringS(iterator.get$current(iterator)); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (key) { + case "show": + t1 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); + $$v = result._$v; + if ($$v != null) { + result._show = $$v.show; + result._$v = null; + } + result._show = t1; + break; + } + } + return result.build$0(); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_W7l; + }, + get$wireName: function() { + return "OxviewShowSet"; + } + }; + U._$SetDisplayBaseOffsetsOfMajorTicksOnlyFirstHelixSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + return H.setRuntimeTypeInfo(["show", serializers.serialize$2$specifiedType(type$.legacy_SetDisplayBaseOffsetsOfMajorTicksOnlyFirstHelix._as(object).show, C.FullType_MtR)], type$.JSArray_legacy_Object); + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + var key, value, t1, $$v, + result = new U.SetDisplayBaseOffsetsOfMajorTicksOnlyFirstHelixBuilder(), + iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + for (; iterator.moveNext$0();) { + key = H._asStringS(iterator.get$current(iterator)); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (key) { + case "show": + t1 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); + $$v = result._$v; + if ($$v != null) { + result._show = $$v.show; + result._$v = null; + } + result._show = t1; + break; + } + } + return result.build$0(); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_kzZ; + }, + get$wireName: function() { + return string$.SetDis; + } + }; + U._$DisplayMajorTicksOffsetsSetSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + return H.setRuntimeTypeInfo(["show", serializers.serialize$2$specifiedType(type$.legacy_DisplayMajorTicksOffsetsSet._as(object).show, C.FullType_MtR)], type$.JSArray_legacy_Object); + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + var key, value, t1, $$v, + result = new U.DisplayMajorTicksOffsetsSetBuilder(), + iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + for (; iterator.moveNext$0();) { + key = H._asStringS(iterator.get$current(iterator)); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (key) { + case "show": + t1 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); + $$v = result._$v; + if ($$v != null) { + result._show = $$v.show; + result._$v = null; + } + result._show = t1; + break; + } + } + return result.build$0(); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_TfG; + }, + get$wireName: function() { + return "DisplayMajorTicksOffsetsSet"; + } + }; + U._$SetDisplayMajorTickWidthsAllHelicesSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + return H.setRuntimeTypeInfo(["show", serializers.serialize$2$specifiedType(type$.legacy_SetDisplayMajorTickWidthsAllHelices._as(object).show, C.FullType_MtR)], type$.JSArray_legacy_Object); + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + var key, value, t1, $$v, + result = new U.SetDisplayMajorTickWidthsAllHelicesBuilder(), + iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + for (; iterator.moveNext$0();) { + key = H._asStringS(iterator.get$current(iterator)); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (key) { + case "show": + t1 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); + $$v = result._$v; + if ($$v != null) { + result._show = $$v.show; + result._$v = null; + } + result._show = t1; + break; + } + } + return result.build$0(); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_gJ1; + }, + get$wireName: function() { + return "SetDisplayMajorTickWidthsAllHelices"; + } + }; + U._$SetDisplayMajorTickWidthsSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + return H.setRuntimeTypeInfo(["show", serializers.serialize$2$specifiedType(type$.legacy_SetDisplayMajorTickWidths._as(object).show, C.FullType_MtR)], type$.JSArray_legacy_Object); + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + var key, value, t1, $$v, + result = new U.SetDisplayMajorTickWidthsBuilder(), + iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + for (; iterator.moveNext$0();) { + key = H._asStringS(iterator.get$current(iterator)); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (key) { + case "show": + t1 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); + $$v = result._$v; + if ($$v != null) { + result._show = $$v.show; + result._$v = null; + } + result._show = t1; + break; + } + } + return result.build$0(); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_U7q; + }, + get$wireName: function() { + return "SetDisplayMajorTickWidths"; + } + }; + U._$SetOnlyDisplaySelectedHelicesSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + return H.setRuntimeTypeInfo(["only_display_selected_helices", serializers.serialize$2$specifiedType(type$.legacy_SetOnlyDisplaySelectedHelices._as(object).only_display_selected_helices, C.FullType_MtR)], type$.JSArray_legacy_Object); + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + var key, value, t1, $$v, + result = new U.SetOnlyDisplaySelectedHelicesBuilder(), + iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + for (; iterator.moveNext$0();) { + key = H._asStringS(iterator.get$current(iterator)); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (key) { + case "only_display_selected_helices": + t1 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); + $$v = result._$v; + if ($$v != null) { + result._actions$_only_display_selected_helices = $$v.only_display_selected_helices; + result._$v = null; + } + result._actions$_only_display_selected_helices = t1; + break; + } + } + return result.build$0(); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_HFe; + }, + get$wireName: function() { + return "SetOnlyDisplaySelectedHelices"; + } + }; + U._$InvertYSetSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + return H.setRuntimeTypeInfo(["invert_y", serializers.serialize$2$specifiedType(type$.legacy_InvertYSet._as(object).invert_y, C.FullType_MtR)], type$.JSArray_legacy_Object); + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + var key, value, t1, $$v, _$result, + result = new U.InvertYSetBuilder(), + iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + for (; iterator.moveNext$0();) { + key = H._asStringS(iterator.get$current(iterator)); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (key) { + case "invert_y": + t1 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); + $$v = result._$v; + if ($$v != null) { + result._actions$_invert_y = $$v.invert_y; + result._$v = null; + } + result._actions$_invert_y = t1; + break; + } + } + _$result = result._$v; + if (_$result == null) { + t1 = result.get$_$this()._actions$_invert_y; + if (t1 == null) + H.throwExpression(Y.BuiltValueNullFieldError$("InvertYSet", "invert_y")); + _$result = U._$InvertYSet$_(t1); + } + return result._$v = _$result; + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_Db0; + }, + get$wireName: function() { + return "InvertYSet"; + } + }; + U._$DynamicHelixUpdateSetSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + return H.setRuntimeTypeInfo(["dynamically_update_helices", serializers.serialize$2$specifiedType(type$.legacy_DynamicHelixUpdateSet._as(object).dynamically_update_helices, C.FullType_MtR)], type$.JSArray_legacy_Object); + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + var key, value, t1, $$v, _$result, + _s26_ = "dynamically_update_helices", + result = new U.DynamicHelixUpdateSetBuilder(), + iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + for (; iterator.moveNext$0();) { + key = H._asStringS(iterator.get$current(iterator)); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (key) { + case "dynamically_update_helices": + t1 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); + $$v = result._$v; + if ($$v != null) { + result._actions$_dynamically_update_helices = $$v.dynamically_update_helices; + result._$v = null; + } + result._actions$_dynamically_update_helices = t1; + break; + } + } + _$result = result._$v; + if (_$result == null) { + t1 = result.get$_$this()._actions$_dynamically_update_helices; + if (t1 == null) + H.throwExpression(Y.BuiltValueNullFieldError$("DynamicHelixUpdateSet", _s26_)); + _$result = U._$DynamicHelixUpdateSet$_(t1); + } + return result._$v = _$result; + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_bD1; + }, + get$wireName: function() { + return "DynamicHelixUpdateSet"; + } + }; + U._$WarnOnExitIfUnsavedSetSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + return H.setRuntimeTypeInfo(["warn", serializers.serialize$2$specifiedType(type$.legacy_WarnOnExitIfUnsavedSet._as(object).warn, C.FullType_MtR)], type$.JSArray_legacy_Object); + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + var key, value, t1, $$v, _$result, + result = new U.WarnOnExitIfUnsavedSetBuilder(), + iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + for (; iterator.moveNext$0();) { + key = H._asStringS(iterator.get$current(iterator)); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (key) { + case "warn": + t1 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); + $$v = result._$v; + if ($$v != null) { + result._warn = $$v.warn; + result._$v = null; + } + result._warn = t1; + break; + } + } + _$result = result._$v; + if (_$result == null) { + t1 = result.get$_$this()._warn; + if (t1 == null) + H.throwExpression(Y.BuiltValueNullFieldError$("WarnOnExitIfUnsavedSet", "warn")); + _$result = U._$WarnOnExitIfUnsavedSet$_(t1); + } + return result._$v = _$result; + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_SQp; + }, + get$wireName: function() { + return "WarnOnExitIfUnsavedSet"; + } + }; + U._$LoadingDialogShowSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + type$.legacy_LoadingDialogShow._as(object); + return H.setRuntimeTypeInfo([], type$.JSArray_legacy_Object); + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + type$.legacy_Iterable_legacy_Object._as(serialized); + return new U._$LoadingDialogShow(); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_t3J; + }, + get$wireName: function() { + return "LoadingDialogShow"; + } + }; + U._$LoadingDialogHideSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + type$.legacy_LoadingDialogHide._as(object); + return H.setRuntimeTypeInfo([], type$.JSArray_legacy_Object); + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + type$.legacy_Iterable_legacy_Object._as(serialized); + return new U._$LoadingDialogHide(); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_wEo; + }, + get$wireName: function() { + return "LoadingDialogHide"; + } + }; + U._$CopySelectedStandsToClipboardImageSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + type$.legacy_CopySelectedStandsToClipboardImage._as(object); + return H.setRuntimeTypeInfo([], type$.JSArray_legacy_Object); + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + type$.legacy_Iterable_legacy_Object._as(serialized); + return new U.CopySelectedStandsToClipboardImageBuilder().build$0(); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_IIj; + }, + get$wireName: function() { + return "CopySelectedStandsToClipboardImage"; + } + }; + U._$SaveDNAFileSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + type$.legacy_SaveDNAFile._as(object); + return H.setRuntimeTypeInfo([], type$.JSArray_legacy_Object); + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + type$.legacy_Iterable_legacy_Object._as(serialized); + return new U.SaveDNAFileBuilder().build$0(); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_dDf; + }, + get$wireName: function() { + return "SaveDNAFile"; + } + }; + U._$LoadDNAFileSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + var result, value; + type$.legacy_LoadDNAFile._as(object); + result = H.setRuntimeTypeInfo(["content", serializers.serialize$2$specifiedType(object.content, C.FullType_h8g), "write_local_storage", serializers.serialize$2$specifiedType(object.write_local_storage, C.FullType_MtR), "unit_testing", serializers.serialize$2$specifiedType(object.unit_testing, C.FullType_MtR), "dna_file_type", serializers.serialize$2$specifiedType(object.dna_file_type, C.FullType_8L0)], type$.JSArray_legacy_Object); + value = object.filename; + if (value != null) { + C.JSArray_methods.add$1(result, "filename"); + C.JSArray_methods.add$1(result, serializers.serialize$2$specifiedType(value, C.FullType_h8g)); + } + return result; + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + var t1, key, value, t2, + result = new U.LoadDNAFileBuilder(), + iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + for (t1 = type$.legacy_DNAFileType; iterator.moveNext$0();) { + key = H._asStringS(iterator.get$current(iterator)); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (key) { + case "content": + t2 = H._asStringS(serializers.deserialize$2$specifiedType(value, C.FullType_h8g)); + result.get$_$this()._content = t2; + break; + case "write_local_storage": + t2 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); + result.get$_$this()._write_local_storage = t2; + break; + case "unit_testing": + t2 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); + result.get$_$this()._unit_testing = t2; + break; + case "dna_file_type": + t2 = t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_8L0)); + result.get$_$this()._dna_file_type = t2; + break; + case "filename": + t2 = H._asStringS(serializers.deserialize$2$specifiedType(value, C.FullType_h8g)); + result.get$_$this()._filename = t2; + break; + } + } + return result.build$0(); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_MIe; + }, + get$wireName: function() { + return "LoadDNAFile"; + } + }; + U._$PrepareToLoadDNAFileSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + var result, value; + type$.legacy_PrepareToLoadDNAFile._as(object); + result = H.setRuntimeTypeInfo(["content", serializers.serialize$2$specifiedType(object.content, C.FullType_h8g), "write_local_storage", serializers.serialize$2$specifiedType(object.write_local_storage, C.FullType_MtR), "unit_testing", serializers.serialize$2$specifiedType(object.unit_testing, C.FullType_MtR), "dna_file_type", serializers.serialize$2$specifiedType(object.dna_file_type, C.FullType_8L0)], type$.JSArray_legacy_Object); + value = object.filename; + if (value != null) { + C.JSArray_methods.add$1(result, "filename"); + C.JSArray_methods.add$1(result, serializers.serialize$2$specifiedType(value, C.FullType_h8g)); + } + return result; + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + var t1, key, value, t2, + result = new U.PrepareToLoadDNAFileBuilder(), + iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + for (t1 = type$.legacy_DNAFileType; iterator.moveNext$0();) { + key = H._asStringS(iterator.get$current(iterator)); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (key) { + case "content": + t2 = H._asStringS(serializers.deserialize$2$specifiedType(value, C.FullType_h8g)); + result.get$_$this()._content = t2; + break; + case "write_local_storage": + t2 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); + result.get$_$this()._write_local_storage = t2; + break; + case "unit_testing": + t2 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); + result.get$_$this()._unit_testing = t2; + break; + case "dna_file_type": + t2 = t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_8L0)); + result.get$_$this()._dna_file_type = t2; + break; + case "filename": + t2 = H._asStringS(serializers.deserialize$2$specifiedType(value, C.FullType_h8g)); + result.get$_$this()._filename = t2; + break; + } + } + return result.build$0(); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_nFv; + }, + get$wireName: function() { + return "PrepareToLoadDNAFile"; + } + }; + U._$NewDesignSetSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + type$.legacy_NewDesignSet._as(object); + return H.setRuntimeTypeInfo(["design", serializers.serialize$2$specifiedType(object.design, C.FullType_WnR), "short_description_value", serializers.serialize$2$specifiedType(object.short_description_value, C.FullType_h8g)], type$.JSArray_legacy_Object); + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + var t1, key, value, t2, t3, + result = new U.NewDesignSetBuilder(), + iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + for (t1 = type$.legacy_Design; iterator.moveNext$0();) { + key = H._asStringS(iterator.get$current(iterator)); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (key) { + case "design": + t2 = result.get$_$this(); + t3 = t2._actions$_design; + if (t3 == null) { + t3 = new N.DesignBuilder(); + N.Design__initializeBuilder(t3); + t2._actions$_design = t3; + t2 = t3; + } else + t2 = t3; + t3 = t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_WnR)); + if (t3 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + t2._design0$_$v = t3; + break; + case "short_description_value": + t2 = H._asStringS(serializers.deserialize$2$specifiedType(value, C.FullType_h8g)); + result.get$_$this()._short_description_value = t2; + break; + } + } + return result.build$0(); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_RyU; + }, + get$wireName: function() { + return "NewDesignSet"; + } + }; + U._$ExportCadnanoFileSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + return H.setRuntimeTypeInfo(["whitespace", serializers.serialize$2$specifiedType(type$.legacy_ExportCadnanoFile._as(object).whitespace, C.FullType_MtR)], type$.JSArray_legacy_Object); + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + var key, value, t1, $$v, _$result, + result = new U.ExportCadnanoFileBuilder(), + iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + for (; iterator.moveNext$0();) { + key = H._asStringS(iterator.get$current(iterator)); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (key) { + case "whitespace": + t1 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); + $$v = result._$v; + if ($$v != null) { + result._whitespace = $$v.whitespace; + result._$v = null; + } + result._whitespace = t1; + break; + } + } + _$result = result._$v; + if (_$result == null) { + t1 = result.get$_$this()._whitespace; + if (t1 == null) + H.throwExpression(Y.BuiltValueNullFieldError$("ExportCadnanoFile", "whitespace")); + _$result = U._$ExportCadnanoFile$_(t1); + } + return result._$v = _$result; + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_IGS; + }, + get$wireName: function() { + return "ExportCadnanoFile"; + } + }; + U._$ExportCodenanoFileSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + type$.legacy_ExportCodenanoFile._as(object); + return H.setRuntimeTypeInfo([], type$.JSArray_legacy_Object); + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + type$.legacy_Iterable_legacy_Object._as(serialized); + return new U._$ExportCodenanoFile(); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_avb; + }, + get$wireName: function() { + return "ExportCodenanoFile"; + } + }; + U._$ShowMouseoverDataSetSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + return H.setRuntimeTypeInfo(["show", serializers.serialize$2$specifiedType(type$.legacy_ShowMouseoverDataSet._as(object).show, C.FullType_MtR)], type$.JSArray_legacy_Object); + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + var key, value, t1, $$v, + result = new U.ShowMouseoverDataSetBuilder(), + iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + for (; iterator.moveNext$0();) { + key = H._asStringS(iterator.get$current(iterator)); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (key) { + case "show": + t1 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); + $$v = result._$v; + if ($$v != null) { + result._show = $$v.show; + result._$v = null; + } + result._show = t1; + break; + } + } + return result.build$0(); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_5HG; + }, + get$wireName: function() { + return "ShowMouseoverDataSet"; + } + }; + U._$MouseoverDataClearSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + type$.legacy_MouseoverDataClear._as(object); + return H.setRuntimeTypeInfo([], type$.JSArray_legacy_Object); + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + type$.legacy_Iterable_legacy_Object._as(serialized); + return new U.MouseoverDataClearBuilder().build$0(); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_07o; + }, + get$wireName: function() { + return "MouseoverDataClear"; + } + }; + U._$MouseoverDataUpdateSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + return H.setRuntimeTypeInfo(["mouseover_params", serializers.serialize$2$specifiedType(type$.legacy_MouseoverDataUpdate._as(object).mouseover_params, C.FullType_AFm)], type$.JSArray_legacy_Object); + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + var t1, t2, t3, t4, key, value, $$v, t5, t6, t7, t8, t9, + result = new U.MouseoverDataUpdateBuilder(), + iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + for (t1 = type$.legacy_BuiltList_legacy_Object, t2 = type$.legacy_MouseoverParams, t3 = type$.List_legacy_MouseoverParams, t4 = type$.ListBuilder_legacy_MouseoverParams; iterator.moveNext$0();) { + key = H._asStringS(iterator.get$current(iterator)); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (key) { + case "mouseover_params": + $$v = result._$v; + if ($$v != null) { + t5 = $$v.mouseover_params; + t5.toString; + t6 = t5.$ti; + t7 = new D.ListBuilder(t6._eval$1("ListBuilder<1>")); + t8 = t6._eval$1("_BuiltList<1>"); + t9 = t6._eval$1("List<1>"); + if (t8._is(t5)) { + t8._as(t5); + t7.set$__ListBuilder__list(t9._as(t5._list)); + t7.set$_listOwner(t5); + } else { + t7.set$__ListBuilder__list(t9._as(P.List_List$from(t5, true, t6._precomputed1))); + t7.set$_listOwner(null); + } + result.set$_mouseover_params(t7); + result._$v = null; + } + t5 = result._mouseover_params; + if (t5 == null) { + t5 = new D.ListBuilder(t4); + t5.set$__ListBuilder__list(t3._as(P.List_List$from(C.List_empty, true, t2))); + t5.set$_listOwner(null); + result.set$_mouseover_params(t5); + } + t6 = t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_AFm)); + t7 = t5.$ti; + t8 = t7._eval$1("_BuiltList<1>"); + t9 = t7._eval$1("List<1>"); + if (t8._is(t6)) { + t8._as(t6); + t5.set$__ListBuilder__list(t9._as(t6._list)); + t5.set$_listOwner(t6); + } else { + t5.set$__ListBuilder__list(t9._as(P.List_List$from(t6, true, t7._precomputed1))); + t5.set$_listOwner(null); + } + break; + } + } + return result.build$0(); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_GVa; + }, + get$wireName: function() { + return "MouseoverDataUpdate"; + } + }; + U._$HelixRollSetSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + type$.legacy_HelixRollSet._as(object); + return H.setRuntimeTypeInfo(["helix_idx", serializers.serialize$2$specifiedType(object.helix_idx, C.FullType_kjq), "roll", serializers.serialize$2$specifiedType(object.roll, C.FullType_MME)], type$.JSArray_legacy_Object); + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + var key, value, t1, $$v, _$result, t2, + _s12_ = "HelixRollSet", + result = new U.HelixRollSetBuilder(), + iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + for (; iterator.moveNext$0();) { + key = H._asStringS(iterator.get$current(iterator)); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (key) { + case "helix_idx": + t1 = H._asIntS(serializers.deserialize$2$specifiedType(value, C.FullType_kjq)); + $$v = result._$v; + if ($$v != null) { + result._actions$_helix_idx = $$v.helix_idx; + result._actions$_roll = $$v.roll; + result._$v = null; + } + result._actions$_helix_idx = t1; + break; + case "roll": + t1 = H._asDoubleS(serializers.deserialize$2$specifiedType(value, C.FullType_MME)); + $$v = result._$v; + if ($$v != null) { + result._actions$_helix_idx = $$v.helix_idx; + result._actions$_roll = $$v.roll; + result._$v = null; + } + result._actions$_roll = t1; + break; + } + } + _$result = result._$v; + if (_$result == null) { + t1 = result.get$_$this()._actions$_helix_idx; + if (t1 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s12_, "helix_idx")); + t2 = result.get$_$this()._actions$_roll; + if (t2 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s12_, "roll")); + _$result = U._$HelixRollSet$_(t1, t2); + } + return result._$v = _$result; + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_4QF; + }, + get$wireName: function() { + return "HelixRollSet"; + } + }; + U._$HelixRollSetAtOtherSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + type$.legacy_HelixRollSetAtOther._as(object); + return H.setRuntimeTypeInfo(["helix_idx", serializers.serialize$2$specifiedType(object.helix_idx, C.FullType_kjq), "helix_other_idx", serializers.serialize$2$specifiedType(object.helix_other_idx, C.FullType_kjq), "forward", serializers.serialize$2$specifiedType(object.forward, C.FullType_MtR), "anchor", serializers.serialize$2$specifiedType(object.anchor, C.FullType_kjq)], type$.JSArray_legacy_Object); + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + var key, value, t1, + result = new U.HelixRollSetAtOtherBuilder(), + iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + for (; iterator.moveNext$0();) { + key = H._asStringS(iterator.get$current(iterator)); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (key) { + case "helix_idx": + t1 = H._asIntS(serializers.deserialize$2$specifiedType(value, C.FullType_kjq)); + result.get$_$this()._actions$_helix_idx = t1; + break; + case "helix_other_idx": + t1 = H._asIntS(serializers.deserialize$2$specifiedType(value, C.FullType_kjq)); + result.get$_$this()._helix_other_idx = t1; + break; + case "forward": + t1 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); + result.get$_$this()._actions$_forward = t1; + break; + case "anchor": + t1 = H._asIntS(serializers.deserialize$2$specifiedType(value, C.FullType_kjq)); + result.get$_$this()._anchor = t1; + break; + } + } + return result.build$0(); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_AyI1; + }, + get$wireName: function() { + return "HelixRollSetAtOther"; + } + }; + U._$RelaxHelixRollsSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + return H.setRuntimeTypeInfo(["only_selected", serializers.serialize$2$specifiedType(type$.legacy_RelaxHelixRolls._as(object).only_selected, C.FullType_MtR)], type$.JSArray_legacy_Object); + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + var key, value, t1, $$v, _$result, + result = new U.RelaxHelixRollsBuilder(), + iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + for (; iterator.moveNext$0();) { + key = H._asStringS(iterator.get$current(iterator)); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (key) { + case "only_selected": + t1 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); + $$v = result._$v; + if ($$v != null) { + result._only_selected = $$v.only_selected; + result._$v = null; + } + result._only_selected = t1; + break; + } + } + _$result = result._$v; + if (_$result == null) { + t1 = result.get$_$this()._only_selected; + if (t1 == null) + H.throwExpression(Y.BuiltValueNullFieldError$("RelaxHelixRolls", "only_selected")); + _$result = U._$RelaxHelixRolls$_(t1); + } + return result._$v = _$result; + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_IYw; + }, + get$wireName: function() { + return "RelaxHelixRolls"; + } + }; + U._$ErrorMessageSetSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + return H.setRuntimeTypeInfo(["error_message", serializers.serialize$2$specifiedType(type$.legacy_ErrorMessageSet._as(object).error_message, C.FullType_h8g)], type$.JSArray_legacy_Object); + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + var key, value, t1, $$v, + result = new U.ErrorMessageSetBuilder(), + iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + for (; iterator.moveNext$0();) { + key = H._asStringS(iterator.get$current(iterator)); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (key) { + case "error_message": + t1 = H._asStringS(serializers.deserialize$2$specifiedType(value, C.FullType_h8g)); + $$v = result._$v; + if ($$v != null) { + result._actions$_error_message = $$v.error_message; + result._$v = null; + } + result._actions$_error_message = t1; + break; + } + } + return result.build$0(); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_a3r; + }, + get$wireName: function() { + return "ErrorMessageSet"; + } + }; + U._$SelectionBoxCreateSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + type$.legacy_SelectionBoxCreate._as(object); + return H.setRuntimeTypeInfo(["point", serializers.serialize$2$specifiedType(object.point, C.FullType_8eb), "toggle", serializers.serialize$2$specifiedType(object.toggle, C.FullType_MtR), "is_main", serializers.serialize$2$specifiedType(object.is_main, C.FullType_MtR)], type$.JSArray_legacy_Object); + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + var t1, key, value, t2, + result = new U.SelectionBoxCreateBuilder(), + iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + for (t1 = type$.legacy_Point_legacy_num; iterator.moveNext$0();) { + key = H._asStringS(iterator.get$current(iterator)); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (key) { + case "point": + t2 = t1._as(t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_8eb))); + result.get$_$this().set$_point(t2); + break; + case "toggle": + t2 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); + result.get$_$this()._actions$_toggle = t2; + break; + case "is_main": + t2 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); + result.get$_$this()._actions$_is_main = t2; + break; + } + } + return result.build$0(); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_a0G; + }, + get$wireName: function() { + return "SelectionBoxCreate"; + } + }; + U._$SelectionBoxSizeChangeSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + type$.legacy_SelectionBoxSizeChange._as(object); + return H.setRuntimeTypeInfo(["point", serializers.serialize$2$specifiedType(object.point, C.FullType_8eb), "is_main", serializers.serialize$2$specifiedType(object.is_main, C.FullType_MtR)], type$.JSArray_legacy_Object); + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + var t1, key, value, t2, $$v, + result = new U.SelectionBoxSizeChangeBuilder(), + iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + for (t1 = type$.legacy_Point_legacy_num; iterator.moveNext$0();) { + key = H._asStringS(iterator.get$current(iterator)); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (key) { + case "point": + t2 = t1._as(t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_8eb))); + $$v = result._$v; + if ($$v != null) { + result.set$_point($$v.point); + result._actions$_is_main = $$v.is_main; + result._$v = null; + } + result.set$_point(t2); + break; + case "is_main": + t2 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); + $$v = result._$v; + if ($$v != null) { + result.set$_point($$v.point); + result._actions$_is_main = $$v.is_main; + result._$v = null; + } + result._actions$_is_main = t2; + break; + } + } + return result.build$0(); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_wEs; + }, + get$wireName: function() { + return "SelectionBoxSizeChange"; + } + }; + U._$SelectionBoxRemoveSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + return H.setRuntimeTypeInfo(["is_main", serializers.serialize$2$specifiedType(type$.legacy_SelectionBoxRemove._as(object).is_main, C.FullType_MtR)], type$.JSArray_legacy_Object); + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + var key, value, t1, $$v, + result = new U.SelectionBoxRemoveBuilder(), + iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + for (; iterator.moveNext$0();) { + key = H._asStringS(iterator.get$current(iterator)); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (key) { + case "is_main": + t1 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); + $$v = result._$v; + if ($$v != null) { + result._actions$_is_main = $$v.is_main; + result._$v = null; + } + result._actions$_is_main = t1; + break; + } + } + return result.build$0(); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_jYc; + }, + get$wireName: function() { + return "SelectionBoxRemove"; + } + }; + U._$SelectionRopeCreateSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + return H.setRuntimeTypeInfo(["toggle", serializers.serialize$2$specifiedType(type$.legacy_SelectionRopeCreate._as(object).toggle, C.FullType_MtR)], type$.JSArray_legacy_Object); + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + var key, value, t1, $$v, _$result, + result = new U.SelectionRopeCreateBuilder(), + iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + for (; iterator.moveNext$0();) { + key = H._asStringS(iterator.get$current(iterator)); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (key) { + case "toggle": + t1 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); + $$v = result._$v; + if ($$v != null) { + result._actions$_toggle = $$v.toggle; + result._$v = null; + } + result._actions$_toggle = t1; + break; + } + } + _$result = result._$v; + if (_$result == null) { + t1 = result.get$_$this()._actions$_toggle; + if (t1 == null) + H.throwExpression(Y.BuiltValueNullFieldError$("SelectionRopeCreate", "toggle")); + _$result = U._$SelectionRopeCreate$_(t1); + } + return result._$v = _$result; + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_WfA; + }, + get$wireName: function() { + return "SelectionRopeCreate"; + } + }; + U._$SelectionRopeMouseMoveSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + type$.legacy_SelectionRopeMouseMove._as(object); + return H.setRuntimeTypeInfo(["point", serializers.serialize$2$specifiedType(object.point, C.FullType_8eb), "is_main_view", serializers.serialize$2$specifiedType(object.is_main_view, C.FullType_MtR)], type$.JSArray_legacy_Object); + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + var t1, key, value, t2, $$v, _$result, + _s22_ = "SelectionRopeMouseMove", + result = new U.SelectionRopeMouseMoveBuilder(), + iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + for (t1 = type$.legacy_Point_legacy_num; iterator.moveNext$0();) { + key = H._asStringS(iterator.get$current(iterator)); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (key) { + case "point": + t2 = t1._as(t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_8eb))); + $$v = result._$v; + if ($$v != null) { + result.set$_point($$v.point); + result._is_main_view = $$v.is_main_view; + result._$v = null; + } + result.set$_point(t2); + break; + case "is_main_view": + t2 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); + $$v = result._$v; + if ($$v != null) { + result.set$_point($$v.point); + result._is_main_view = $$v.is_main_view; + result._$v = null; + } + result._is_main_view = t2; + break; + } + } + _$result = result._$v; + if (_$result == null) { + t1 = result.get$_$this()._point; + if (t1 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s22_, "point")); + t2 = result.get$_$this()._is_main_view; + if (t2 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s22_, "is_main_view")); + _$result = U._$SelectionRopeMouseMove$_(t2, t1); + } + return result._$v = _$result; + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_wEo1; + }, + get$wireName: function() { + return "SelectionRopeMouseMove"; + } + }; + U._$SelectionRopeAddPointSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + type$.legacy_SelectionRopeAddPoint._as(object); + return H.setRuntimeTypeInfo(["point", serializers.serialize$2$specifiedType(object.point, C.FullType_8eb), "is_main_view", serializers.serialize$2$specifiedType(object.is_main_view, C.FullType_MtR)], type$.JSArray_legacy_Object); + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + var t1, key, value, t2, $$v, _$result, + _s21_ = "SelectionRopeAddPoint", + result = new U.SelectionRopeAddPointBuilder(), + iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + for (t1 = type$.legacy_Point_legacy_num; iterator.moveNext$0();) { + key = H._asStringS(iterator.get$current(iterator)); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (key) { + case "point": + t2 = t1._as(t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_8eb))); + $$v = result._$v; + if ($$v != null) { + result.set$_point($$v.point); + result._is_main_view = $$v.is_main_view; + result._$v = null; + } + result.set$_point(t2); + break; + case "is_main_view": + t2 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); + $$v = result._$v; + if ($$v != null) { + result.set$_point($$v.point); + result._is_main_view = $$v.is_main_view; + result._$v = null; + } + result._is_main_view = t2; + break; + } + } + _$result = result._$v; + if (_$result == null) { + t1 = result.get$_$this()._point; + if (t1 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s21_, "point")); + t2 = result.get$_$this()._is_main_view; + if (t2 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s21_, "is_main_view")); + _$result = U._$SelectionRopeAddPoint$_(t2, t1); + } + return result._$v = _$result; + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_A2g; + }, + get$wireName: function() { + return "SelectionRopeAddPoint"; + } + }; + U._$SelectionRopeRemoveSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + type$.legacy_SelectionRopeRemove._as(object); + return H.setRuntimeTypeInfo([], type$.JSArray_legacy_Object); + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + type$.legacy_Iterable_legacy_Object._as(serialized); + return new U._$SelectionRopeRemove(); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_eDH; + }, + get$wireName: function() { + return "SelectionRopeRemove"; + } + }; + U._$MouseGridPositionSideUpdateSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + return H.setRuntimeTypeInfo(["grid_position", serializers.serialize$2$specifiedType(type$.legacy_MouseGridPositionSideUpdate._as(object).grid_position, C.FullType_q96)], type$.JSArray_legacy_Object); + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + var t1, key, value, $$v, t2, t3, + result = new U.MouseGridPositionSideUpdateBuilder(), + iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + for (t1 = type$.legacy_GridPosition; iterator.moveNext$0();) { + key = H._asStringS(iterator.get$current(iterator)); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (key) { + case "grid_position": + $$v = result._$v; + if ($$v != null) { + t2 = $$v.grid_position; + t3 = new D.GridPositionBuilder(); + t3._grid_position$_$v = t2; + result._actions$_grid_position = t3; + result._$v = null; + } + t2 = result._actions$_grid_position; + if (t2 == null) + t2 = result._actions$_grid_position = new D.GridPositionBuilder(); + t3 = t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_q96)); + if (t3 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + t2._grid_position$_$v = t3; + break; + } + } + return result.build$0(); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_u77; + }, + get$wireName: function() { + return "MouseGridPositionSideUpdate"; + } + }; + U._$MouseGridPositionSideClearSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + type$.legacy_MouseGridPositionSideClear._as(object); + return H.setRuntimeTypeInfo([], type$.JSArray_legacy_Object); + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + type$.legacy_Iterable_legacy_Object._as(serialized); + return new U.MouseGridPositionSideClearBuilder().build$0(); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_Dn0; + }, + get$wireName: function() { + return "MouseGridPositionSideClear"; + } + }; + U._$MousePositionSideUpdateSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + return H.setRuntimeTypeInfo(["svg_pos", serializers.serialize$2$specifiedType(type$.legacy_MousePositionSideUpdate._as(object).svg_pos, C.FullType_8eb)], type$.JSArray_legacy_Object); + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + var t1, key, value, t2, $$v, _$result, + result = new U.MousePositionSideUpdateBuilder(), + iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + for (t1 = type$.legacy_Point_legacy_num; iterator.moveNext$0();) { + key = H._asStringS(iterator.get$current(iterator)); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (key) { + case "svg_pos": + t2 = t1._as(t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_8eb))); + $$v = result._$v; + if ($$v != null) { + result.set$_svg_pos($$v.svg_pos); + result._$v = null; + } + result.set$_svg_pos(t2); + break; + } + } + _$result = result._$v; + if (_$result == null) { + t1 = result.get$_$this()._svg_pos; + if (t1 == null) + H.throwExpression(Y.BuiltValueNullFieldError$("MousePositionSideUpdate", "svg_pos")); + _$result = U._$MousePositionSideUpdate$_(t1); + } + return result._$v = _$result; + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_L2O; + }, + get$wireName: function() { + return "MousePositionSideUpdate"; + } + }; + U._$MousePositionSideClearSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + type$.legacy_MousePositionSideClear._as(object); + return H.setRuntimeTypeInfo([], type$.JSArray_legacy_Object); + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + type$.legacy_Iterable_legacy_Object._as(serialized); + return new U.MousePositionSideClearBuilder().build$0(); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_MCX; + }, + get$wireName: function() { + return "MousePositionSideClear"; + } + }; + U._$GeometrySetSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + return H.setRuntimeTypeInfo(["geometry", serializers.serialize$2$specifiedType(type$.legacy_GeometrySet._as(object).geometry, C.FullType_qNW)], type$.JSArray_legacy_Object); + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + var t1, key, value, $$v, t2, t3, + result = new U.GeometrySetBuilder(), + iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + for (t1 = type$.legacy_Geometry; iterator.moveNext$0();) { + key = H._asStringS(iterator.get$current(iterator)); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (key) { + case "geometry": + $$v = result._$v; + if ($$v != null) { + t2 = $$v.geometry; + t2.toString; + t3 = new N.GeometryBuilder(); + t3._geometry$_$v = t2; + result._actions$_geometry = t3; + result._$v = null; + } + t2 = result._actions$_geometry; + if (t2 == null) + t2 = result._actions$_geometry = new N.GeometryBuilder(); + t3 = t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_qNW)); + if (t3 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + t2._geometry$_$v = t3; + break; + } + } + return result.build$0(); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_olV; + }, + get$wireName: function() { + return "GeometrySet"; + } + }; + U._$SelectionBoxIntersectionRuleSetSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + return H.setRuntimeTypeInfo(["intersect", serializers.serialize$2$specifiedType(type$.legacy_SelectionBoxIntersectionRuleSet._as(object).intersect, C.FullType_MtR)], type$.JSArray_legacy_Object); + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + var key, value, t1, $$v, _$result, + result = new U.SelectionBoxIntersectionRuleSetBuilder(), + iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + for (; iterator.moveNext$0();) { + key = H._asStringS(iterator.get$current(iterator)); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (key) { + case "intersect": + t1 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); + $$v = result._$v; + if ($$v != null) { + result._intersect = $$v.intersect; + result._$v = null; + } + result._intersect = t1; + break; + } + } + _$result = result._$v; + if (_$result == null) { + t1 = result.get$_$this()._intersect; + if (t1 == null) + H.throwExpression(Y.BuiltValueNullFieldError$("SelectionBoxIntersectionRuleSet", "intersect")); + _$result = U._$SelectionBoxIntersectionRuleSet$_(t1); + } + return result._$v = _$result; + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_7Ah; + }, + get$wireName: function() { + return "SelectionBoxIntersectionRuleSet"; + } + }; + U._$SelectSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + type$.legacy_Select._as(object); + return H.setRuntimeTypeInfo(["selectable", serializers.serialize$2$specifiedType(object.selectable, C.FullType_kn0), "toggle", serializers.serialize$2$specifiedType(object.toggle, C.FullType_MtR), "only", serializers.serialize$2$specifiedType(object.only, C.FullType_MtR)], type$.JSArray_legacy_Object); + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + var t1, key, value, t2, + result = new U.SelectBuilder(), + iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + for (t1 = type$.legacy_Selectable; iterator.moveNext$0();) { + key = H._asStringS(iterator.get$current(iterator)); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (key) { + case "selectable": + t2 = t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_kn0)); + result.get$_$this()._selectable = t2; + break; + case "toggle": + t2 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); + result.get$_$this()._actions$_toggle = t2; + break; + case "only": + t2 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); + result.get$_$this()._only = t2; + break; + } + } + return result.build$0(); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_wEo0; + }, + get$wireName: function() { + return "Select"; + } + }; + U._$SelectionsClearSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + type$.legacy_SelectionsClear._as(object); + return H.setRuntimeTypeInfo([], type$.JSArray_legacy_Object); + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + type$.legacy_Iterable_legacy_Object._as(serialized); + return new U.SelectionsClearBuilder().build$0(); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_cQL; + }, + get$wireName: function() { + return "SelectionsClear"; + } + }; + U._$SelectionsAdjustMainViewSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + type$.legacy_SelectionsAdjustMainView._as(object); + return H.setRuntimeTypeInfo(["toggle", serializers.serialize$2$specifiedType(object.toggle, C.FullType_MtR), "box", serializers.serialize$2$specifiedType(object.box, C.FullType_MtR)], type$.JSArray_legacy_Object); + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + var key, value, t1, $$v, _$result, t2, + _s24_ = "SelectionsAdjustMainView", + result = new U.SelectionsAdjustMainViewBuilder(), + iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + for (; iterator.moveNext$0();) { + key = H._asStringS(iterator.get$current(iterator)); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (key) { + case "toggle": + t1 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); + $$v = result._$v; + if ($$v != null) { + result._actions$_toggle = $$v.toggle; + result._box = $$v.box; + result._$v = null; + } + result._actions$_toggle = t1; + break; + case "box": + t1 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); + $$v = result._$v; + if ($$v != null) { + result._actions$_toggle = $$v.toggle; + result._box = $$v.box; + result._$v = null; + } + result._box = t1; + break; + } + } + _$result = result._$v; + if (_$result == null) { + t1 = result.get$_$this()._actions$_toggle; + if (t1 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s24_, "toggle")); + t2 = result.get$_$this()._box; + if (t2 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s24_, "box")); + _$result = U._$SelectionsAdjustMainView$_(t2, t1); + } + return result._$v = _$result; + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_A9i; + }, + get$wireName: function() { + return "SelectionsAdjustMainView"; + } + }; + U._$SelectOrToggleItemsSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + type$.legacy_SelectOrToggleItems._as(object); + return H.setRuntimeTypeInfo(["items", serializers.serialize$2$specifiedType(object.items, C.FullType_ox4), "toggle", serializers.serialize$2$specifiedType(object.toggle, C.FullType_MtR)], type$.JSArray_legacy_Object); + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + var t1, t2, t3, t4, key, value, t5, t6, t7, t8, t9, + result = new U.SelectOrToggleItemsBuilder(), + iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + for (t1 = type$.legacy_BuiltList_legacy_Object, t2 = type$.legacy_Selectable, t3 = type$.List_legacy_Selectable, t4 = type$.ListBuilder_legacy_Selectable; iterator.moveNext$0();) { + key = H._asStringS(iterator.get$current(iterator)); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (key) { + case "items": + t5 = result.get$_$this(); + t6 = t5._actions$_items; + if (t6 == null) { + t6 = new D.ListBuilder(t4); + t6.set$__ListBuilder__list(t3._as(P.List_List$from(C.List_empty, true, t2))); + t6.set$_listOwner(null); + t5.set$_actions$_items(t6); + t5 = t6; + } else + t5 = t6; + t6 = t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_ox4)); + t7 = t5.$ti; + t8 = t7._eval$1("_BuiltList<1>"); + t9 = t7._eval$1("List<1>"); + if (t8._is(t6)) { + t8._as(t6); + t5.set$__ListBuilder__list(t9._as(t6._list)); + t5.set$_listOwner(t6); + } else { + t5.set$__ListBuilder__list(t9._as(P.List_List$from(t6, true, t7._precomputed1))); + t5.set$_listOwner(null); + } + break; + case "toggle": + t5 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); + result.get$_$this()._actions$_toggle = t5; + break; + } + } + return result.build$0(); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_ntz; + }, + get$wireName: function() { + return "SelectOrToggleItems"; + } + }; + U._$SelectAllSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + type$.legacy_SelectAll._as(object); + return H.setRuntimeTypeInfo(["selectables", serializers.serialize$2$specifiedType(object.selectables, C.FullType_ox4), "only", serializers.serialize$2$specifiedType(object.only, C.FullType_MtR)], type$.JSArray_legacy_Object); + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + var t1, t2, t3, t4, key, value, t5, t6, t7, t8, t9, + result = new U.SelectAllBuilder(), + iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + for (t1 = type$.legacy_BuiltList_legacy_Object, t2 = type$.legacy_Selectable, t3 = type$.List_legacy_Selectable, t4 = type$.ListBuilder_legacy_Selectable; iterator.moveNext$0();) { + key = H._asStringS(iterator.get$current(iterator)); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (key) { + case "selectables": + t5 = result.get$_$this(); + t6 = t5._selectables; + if (t6 == null) { + t6 = new D.ListBuilder(t4); + t6.set$__ListBuilder__list(t3._as(P.List_List$from(C.List_empty, true, t2))); + t6.set$_listOwner(null); + t5.set$_selectables(t6); + t5 = t6; + } else + t5 = t6; + t6 = t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_ox4)); + t7 = t5.$ti; + t8 = t7._eval$1("_BuiltList<1>"); + t9 = t7._eval$1("List<1>"); + if (t8._is(t6)) { + t8._as(t6); + t5.set$__ListBuilder__list(t9._as(t6._list)); + t5.set$_listOwner(t6); + } else { + t5.set$__ListBuilder__list(t9._as(P.List_List$from(t6, true, t7._precomputed1))); + t5.set$_listOwner(null); + } + break; + case "only": + t5 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); + result.get$_$this()._only = t5; + break; + } + } + return result.build$0(); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_00; + }, + get$wireName: function() { + return "SelectAll"; + } + }; + U._$SelectAllSelectableSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + return H.setRuntimeTypeInfo(["current_helix_group_only", serializers.serialize$2$specifiedType(type$.legacy_SelectAllSelectable._as(object).current_helix_group_only, C.FullType_MtR)], type$.JSArray_legacy_Object); + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + var key, value, t1, $$v, + result = new U.SelectAllSelectableBuilder(), + iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + for (; iterator.moveNext$0();) { + key = H._asStringS(iterator.get$current(iterator)); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (key) { + case "current_helix_group_only": + t1 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); + $$v = result._$v; + if ($$v != null) { + result._current_helix_group_only = $$v.current_helix_group_only; + result._$v = null; + } + result._current_helix_group_only = t1; + break; + } + } + return result.build$0(); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_9ED; + }, + get$wireName: function() { + return "SelectAllSelectable"; + } + }; + U._$SelectAllWithSameAsSelectedSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + type$.legacy_SelectAllWithSameAsSelected._as(object); + return H.setRuntimeTypeInfo(["templates", serializers.serialize$2$specifiedType(object.templates, C.FullType_ox4), "traits", serializers.serialize$2$specifiedType(object.traits, C.FullType_mPa), "exclude_scaffolds", serializers.serialize$2$specifiedType(object.exclude_scaffolds, C.FullType_MtR)], type$.JSArray_legacy_Object); + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + var t1, t2, t3, t4, t5, t6, t7, key, value, t8, t9, t10, t11, t12, _null = null, + result = new U.SelectAllWithSameAsSelectedBuilder(), + iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + for (t1 = type$.legacy_BuiltList_legacy_Object, t2 = type$.legacy_SelectableTrait, t3 = type$.List_legacy_SelectableTrait, t4 = type$.ListBuilder_legacy_SelectableTrait, t5 = type$.legacy_Selectable, t6 = type$.List_legacy_Selectable, t7 = type$.ListBuilder_legacy_Selectable; iterator.moveNext$0();) { + key = H._asStringS(iterator.get$current(iterator)); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (key) { + case "templates": + t8 = result.get$_$this(); + t9 = t8._templates; + if (t9 == null) { + t9 = new D.ListBuilder(t7); + t9.set$__ListBuilder__list(t6._as(P.List_List$from(C.List_empty, true, t5))); + t9.set$_listOwner(_null); + t8.set$_templates(t9); + t8 = t9; + } else + t8 = t9; + t9 = t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_ox4)); + t10 = t8.$ti; + t11 = t10._eval$1("_BuiltList<1>"); + t12 = t10._eval$1("List<1>"); + if (t11._is(t9)) { + t11._as(t9); + t8.set$__ListBuilder__list(t12._as(t9._list)); + t8.set$_listOwner(t9); + } else { + t8.set$__ListBuilder__list(t12._as(P.List_List$from(t9, true, t10._precomputed1))); + t8.set$_listOwner(_null); + } + break; + case "traits": + t8 = result.get$_$this(); + t9 = t8._traits; + if (t9 == null) { + t9 = new D.ListBuilder(t4); + t9.set$__ListBuilder__list(t3._as(P.List_List$from(C.List_empty, true, t2))); + t9.set$_listOwner(_null); + t8.set$_traits(t9); + t8 = t9; + } else + t8 = t9; + t9 = t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_mPa)); + t10 = t8.$ti; + t11 = t10._eval$1("_BuiltList<1>"); + t12 = t10._eval$1("List<1>"); + if (t11._is(t9)) { + t11._as(t9); + t8.set$__ListBuilder__list(t12._as(t9._list)); + t8.set$_listOwner(t9); + } else { + t8.set$__ListBuilder__list(t12._as(P.List_List$from(t9, true, t10._precomputed1))); + t8.set$_listOwner(_null); + } + break; + case "exclude_scaffolds": + t8 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); + result.get$_$this()._exclude_scaffolds = t8; + break; + } + } + return result.build$0(); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_C43; + }, + get$wireName: function() { + return "SelectAllWithSameAsSelected"; + } + }; + U._$DeleteAllSelectedSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + type$.legacy_DeleteAllSelected._as(object); + return H.setRuntimeTypeInfo([], type$.JSArray_legacy_Object); + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + type$.legacy_Iterable_legacy_Object._as(serialized); + return new U.DeleteAllSelectedBuilder().build$0(); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_D7h; + }, + get$wireName: function() { + return "DeleteAllSelected"; + } + }; + U._$HelixAddSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + var result, value; + type$.legacy_HelixAdd._as(object); + result = H.setRuntimeTypeInfo([], type$.JSArray_legacy_Object); + value = object.grid_position; + if (value != null) { + C.JSArray_methods.add$1(result, "grid_position"); + C.JSArray_methods.add$1(result, serializers.serialize$2$specifiedType(value, C.FullType_q96)); + } + value = object.position; + if (value != null) { + C.JSArray_methods.add$1(result, "position"); + C.JSArray_methods.add$1(result, serializers.serialize$2$specifiedType(value, C.FullType_cgM)); + } + return result; + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + var t1, t2, key, value, t3, t4, + result = new U.HelixAddBuilder(), + iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + for (t1 = type$.legacy_Position3D, t2 = type$.legacy_GridPosition; iterator.moveNext$0();) { + key = H._asStringS(iterator.get$current(iterator)); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (key) { + case "grid_position": + t3 = result.get$_$this(); + t4 = t3._actions$_grid_position; + t3 = t4 == null ? t3._actions$_grid_position = new D.GridPositionBuilder() : t4; + t4 = t2._as(serializers.deserialize$2$specifiedType(value, C.FullType_q96)); + if (t4 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + t3._grid_position$_$v = t4; + break; + case "position": + t3 = result.get$_$this(); + t4 = t3._actions$_position; + t3 = t4 == null ? t3._actions$_position = new X.Position3DBuilder() : t4; + t4 = t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_cgM)); + if (t4 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + t3._position3d$_$v = t4; + break; + } + } + return result.build$0(); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_xw8; + }, + get$wireName: function() { + return "HelixAdd"; + } + }; + U._$HelixRemoveSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + return H.setRuntimeTypeInfo(["helix_idx", serializers.serialize$2$specifiedType(type$.legacy_HelixRemove._as(object).helix_idx, C.FullType_kjq)], type$.JSArray_legacy_Object); + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + var key, value, t1, $$v, + result = new U.HelixRemoveBuilder(), + iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + for (; iterator.moveNext$0();) { + key = H._asStringS(iterator.get$current(iterator)); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (key) { + case "helix_idx": + t1 = H._asIntS(serializers.deserialize$2$specifiedType(value, C.FullType_kjq)); + $$v = result._$v; + if ($$v != null) { + result._actions$_helix_idx = $$v.helix_idx; + result._$v = null; + } + result._actions$_helix_idx = t1; + break; + } + } + return result.build$0(); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_Esr; + }, + get$wireName: function() { + return "HelixRemove"; + } + }; + U._$HelixRemoveAllSelectedSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + type$.legacy_HelixRemoveAllSelected._as(object); + return H.setRuntimeTypeInfo([], type$.JSArray_legacy_Object); + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + type$.legacy_Iterable_legacy_Object._as(serialized); + return new U.HelixRemoveAllSelectedBuilder().build$0(); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_aTx; + }, + get$wireName: function() { + return "HelixRemoveAllSelected"; + } + }; + U._$HelixSelectSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + type$.legacy_HelixSelect._as(object); + return H.setRuntimeTypeInfo(["helix_idx", serializers.serialize$2$specifiedType(object.helix_idx, C.FullType_kjq), "toggle", serializers.serialize$2$specifiedType(object.toggle, C.FullType_MtR)], type$.JSArray_legacy_Object); + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + var key, value, t1, $$v, + result = new U.HelixSelectBuilder(), + iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + for (; iterator.moveNext$0();) { + key = H._asStringS(iterator.get$current(iterator)); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (key) { + case "helix_idx": + t1 = H._asIntS(serializers.deserialize$2$specifiedType(value, C.FullType_kjq)); + $$v = result._$v; + if ($$v != null) { + result._actions$_helix_idx = $$v.helix_idx; + result._actions$_toggle = $$v.toggle; + result._$v = null; + } + result._actions$_helix_idx = t1; + break; + case "toggle": + t1 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); + $$v = result._$v; + if ($$v != null) { + result._actions$_helix_idx = $$v.helix_idx; + result._actions$_toggle = $$v.toggle; + result._$v = null; + } + result._actions$_toggle = t1; + break; + } + } + return result.build$0(); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_MQk; + }, + get$wireName: function() { + return "HelixSelect"; + } + }; + U._$HelixSelectionsClearSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + type$.legacy_HelixSelectionsClear._as(object); + return H.setRuntimeTypeInfo([], type$.JSArray_legacy_Object); + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + type$.legacy_Iterable_legacy_Object._as(serialized); + return new U.HelixSelectionsClearBuilder().build$0(); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_TfU; + }, + get$wireName: function() { + return "HelixSelectionsClear"; + } + }; + U._$HelixSelectionsAdjustSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + type$.legacy_HelixSelectionsAdjust._as(object); + return H.setRuntimeTypeInfo(["toggle", serializers.serialize$2$specifiedType(object.toggle, C.FullType_MtR), "selection_box", serializers.serialize$2$specifiedType(object.selection_box, C.FullType_vfJ)], type$.JSArray_legacy_Object); + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + var t1, key, value, t2, t3, + result = new U.HelixSelectionsAdjustBuilder(), + iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + for (t1 = type$.legacy_SelectionBox; iterator.moveNext$0();) { + key = H._asStringS(iterator.get$current(iterator)); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (key) { + case "toggle": + t2 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); + result.get$_$this()._actions$_toggle = t2; + break; + case "selection_box": + t2 = result.get$_$this(); + t3 = t2._selection_box; + t2 = t3 == null ? t2._selection_box = new E.SelectionBoxBuilder() : t3; + t3 = t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_vfJ)); + if (t3 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + t2._selection_box$_$v = t3; + break; + } + } + return result.build$0(); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_qr1; + }, + get$wireName: function() { + return "HelixSelectionsAdjust"; + } + }; + U._$HelixMajorTickDistanceChangeSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + type$.legacy_HelixMajorTickDistanceChange._as(object); + return H.setRuntimeTypeInfo(["helix_idx", serializers.serialize$2$specifiedType(object.helix_idx, C.FullType_kjq), "major_tick_distance", serializers.serialize$2$specifiedType(object.major_tick_distance, C.FullType_kjq)], type$.JSArray_legacy_Object); + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + var key, value, t1, $$v, _$result, t2, + _s19_ = "major_tick_distance", + _s28_ = "HelixMajorTickDistanceChange", + result = new U.HelixMajorTickDistanceChangeBuilder(), + iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + for (; iterator.moveNext$0();) { + key = H._asStringS(iterator.get$current(iterator)); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (key) { + case "helix_idx": + t1 = H._asIntS(serializers.deserialize$2$specifiedType(value, C.FullType_kjq)); + $$v = result._$v; + if ($$v != null) { + result._actions$_helix_idx = $$v.helix_idx; + result._major_tick_distance = $$v.major_tick_distance; + result._$v = null; + } + result._actions$_helix_idx = t1; + break; + case "major_tick_distance": + t1 = H._asIntS(serializers.deserialize$2$specifiedType(value, C.FullType_kjq)); + $$v = result._$v; + if ($$v != null) { + result._actions$_helix_idx = $$v.helix_idx; + result._major_tick_distance = $$v.major_tick_distance; + result._$v = null; + } + result._major_tick_distance = t1; + break; + } + } + _$result = result._$v; + if (_$result == null) { + t1 = result.get$_$this()._actions$_helix_idx; + if (t1 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s28_, "helix_idx")); + t2 = result.get$_$this()._major_tick_distance; + if (t2 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s28_, _s19_)); + _$result = U._$HelixMajorTickDistanceChange$_(t1, t2); + } + return result._$v = _$result; + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_yP5; + }, + get$wireName: function() { + return "HelixMajorTickDistanceChange"; + } + }; + U._$HelixMajorTickDistanceChangeAllSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + return H.setRuntimeTypeInfo(["major_tick_distance", serializers.serialize$2$specifiedType(type$.legacy_HelixMajorTickDistanceChangeAll._as(object).major_tick_distance, C.FullType_kjq)], type$.JSArray_legacy_Object); + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + var key, value, t1, $$v, _$result, + _s19_ = "major_tick_distance", + result = new U.HelixMajorTickDistanceChangeAllBuilder(), + iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + for (; iterator.moveNext$0();) { + key = H._asStringS(iterator.get$current(iterator)); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (key) { + case "major_tick_distance": + t1 = H._asIntS(serializers.deserialize$2$specifiedType(value, C.FullType_kjq)); + $$v = result._$v; + if ($$v != null) { + result._major_tick_distance = $$v.major_tick_distance; + result._$v = null; + } + result._major_tick_distance = t1; + break; + } + } + _$result = result._$v; + if (_$result == null) { + t1 = result.get$_$this()._major_tick_distance; + if (t1 == null) + H.throwExpression(Y.BuiltValueNullFieldError$("HelixMajorTickDistanceChangeAll", _s19_)); + _$result = U._$HelixMajorTickDistanceChangeAll$_(t1); + } + return result._$v = _$result; + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_Nws; + }, + get$wireName: function() { + return "HelixMajorTickDistanceChangeAll"; + } + }; + U._$HelixMajorTickStartChangeSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + type$.legacy_HelixMajorTickStartChange._as(object); + return H.setRuntimeTypeInfo(["helix_idx", serializers.serialize$2$specifiedType(object.helix_idx, C.FullType_kjq), "major_tick_start", serializers.serialize$2$specifiedType(object.major_tick_start, C.FullType_kjq)], type$.JSArray_legacy_Object); + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + var key, value, t1, $$v, _$result, t2, + _s16_ = "major_tick_start", + _s25_ = "HelixMajorTickStartChange", + result = new U.HelixMajorTickStartChangeBuilder(), + iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + for (; iterator.moveNext$0();) { + key = H._asStringS(iterator.get$current(iterator)); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (key) { + case "helix_idx": + t1 = H._asIntS(serializers.deserialize$2$specifiedType(value, C.FullType_kjq)); + $$v = result._$v; + if ($$v != null) { + result._actions$_helix_idx = $$v.helix_idx; + result._actions$_major_tick_start = $$v.major_tick_start; + result._$v = null; + } + result._actions$_helix_idx = t1; + break; + case "major_tick_start": + t1 = H._asIntS(serializers.deserialize$2$specifiedType(value, C.FullType_kjq)); + $$v = result._$v; + if ($$v != null) { + result._actions$_helix_idx = $$v.helix_idx; + result._actions$_major_tick_start = $$v.major_tick_start; + result._$v = null; + } + result._actions$_major_tick_start = t1; + break; + } + } + _$result = result._$v; + if (_$result == null) { + t1 = result.get$_$this()._actions$_helix_idx; + if (t1 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s25_, "helix_idx")); + t2 = result.get$_$this()._actions$_major_tick_start; + if (t2 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s25_, _s16_)); + _$result = U._$HelixMajorTickStartChange$_(t1, t2); + } + return result._$v = _$result; + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_ygQ; + }, + get$wireName: function() { + return "HelixMajorTickStartChange"; + } + }; + U._$HelixMajorTickStartChangeAllSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + return H.setRuntimeTypeInfo(["major_tick_start", serializers.serialize$2$specifiedType(type$.legacy_HelixMajorTickStartChangeAll._as(object).major_tick_start, C.FullType_kjq)], type$.JSArray_legacy_Object); + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + var key, value, t1, $$v, _$result, + _s16_ = "major_tick_start", + result = new U.HelixMajorTickStartChangeAllBuilder(), + iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + for (; iterator.moveNext$0();) { + key = H._asStringS(iterator.get$current(iterator)); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (key) { + case "major_tick_start": + t1 = H._asIntS(serializers.deserialize$2$specifiedType(value, C.FullType_kjq)); + $$v = result._$v; + if ($$v != null) { + result._actions$_major_tick_start = $$v.major_tick_start; + result._$v = null; + } + result._actions$_major_tick_start = t1; + break; + } + } + _$result = result._$v; + if (_$result == null) { + t1 = result.get$_$this()._actions$_major_tick_start; + if (t1 == null) + H.throwExpression(Y.BuiltValueNullFieldError$("HelixMajorTickStartChangeAll", _s16_)); + _$result = U._$HelixMajorTickStartChangeAll$_(t1); + } + return result._$v = _$result; + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_YNa; + }, + get$wireName: function() { + return "HelixMajorTickStartChangeAll"; + } + }; + U._$HelixMajorTicksChangeSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + type$.legacy_HelixMajorTicksChange._as(object); + return H.setRuntimeTypeInfo(["helix_idx", serializers.serialize$2$specifiedType(object.helix_idx, C.FullType_kjq), "major_ticks", serializers.serialize$2$specifiedType(object.major_ticks, C.FullType_4QF0)], type$.JSArray_legacy_Object); + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + var t1, t2, t3, t4, key, value, t5, t6, t7, t8, t9, + result = new U.HelixMajorTicksChangeBuilder(), + iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + for (t1 = type$.legacy_BuiltList_legacy_Object, t2 = type$.legacy_int, t3 = type$.List_legacy_int, t4 = type$.ListBuilder_legacy_int; iterator.moveNext$0();) { + key = H._asStringS(iterator.get$current(iterator)); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (key) { + case "helix_idx": + t5 = H._asIntS(serializers.deserialize$2$specifiedType(value, C.FullType_kjq)); + result.get$_$this()._actions$_helix_idx = t5; + break; + case "major_ticks": + t5 = result.get$_$this(); + t6 = t5._actions$_major_ticks; + if (t6 == null) { + t6 = new D.ListBuilder(t4); + t6.set$__ListBuilder__list(t3._as(P.List_List$from(C.List_empty, true, t2))); + t6.set$_listOwner(null); + t5.set$_actions$_major_ticks(t6); + t5 = t6; + } else + t5 = t6; + t6 = t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_4QF0)); + t7 = t5.$ti; + t8 = t7._eval$1("_BuiltList<1>"); + t9 = t7._eval$1("List<1>"); + if (t8._is(t6)) { + t8._as(t6); + t5.set$__ListBuilder__list(t9._as(t6._list)); + t5.set$_listOwner(t6); + } else { + t5.set$__ListBuilder__list(t9._as(P.List_List$from(t6, true, t7._precomputed1))); + t5.set$_listOwner(null); + } + break; + } + } + return result.build$0(); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_ciW; + }, + get$wireName: function() { + return "HelixMajorTicksChange"; + } + }; + U._$HelixMajorTicksChangeAllSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + return H.setRuntimeTypeInfo(["major_ticks", serializers.serialize$2$specifiedType(type$.legacy_HelixMajorTicksChangeAll._as(object).major_ticks, C.FullType_4QF0)], type$.JSArray_legacy_Object); + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + var t1, t2, t3, t4, key, value, $$v, t5, t6, t7, t8, t9, + result = new U.HelixMajorTicksChangeAllBuilder(), + iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + for (t1 = type$.legacy_BuiltList_legacy_Object, t2 = type$.legacy_int, t3 = type$.List_legacy_int, t4 = type$.ListBuilder_legacy_int; iterator.moveNext$0();) { + key = H._asStringS(iterator.get$current(iterator)); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (key) { + case "major_ticks": + $$v = result._$v; + if ($$v != null) { + t5 = $$v.major_ticks; + t5.toString; + t6 = t5.$ti; + t7 = new D.ListBuilder(t6._eval$1("ListBuilder<1>")); + t8 = t6._eval$1("_BuiltList<1>"); + t9 = t6._eval$1("List<1>"); + if (t8._is(t5)) { + t8._as(t5); + t7.set$__ListBuilder__list(t9._as(t5._list)); + t7.set$_listOwner(t5); + } else { + t7.set$__ListBuilder__list(t9._as(P.List_List$from(t5, true, t6._precomputed1))); + t7.set$_listOwner(null); + } + result.set$_actions$_major_ticks(t7); + result._$v = null; + } + t5 = result._actions$_major_ticks; + if (t5 == null) { + t5 = new D.ListBuilder(t4); + t5.set$__ListBuilder__list(t3._as(P.List_List$from(C.List_empty, true, t2))); + t5.set$_listOwner(null); + result.set$_actions$_major_ticks(t5); + } + t6 = t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_4QF0)); + t7 = t5.$ti; + t8 = t7._eval$1("_BuiltList<1>"); + t9 = t7._eval$1("List<1>"); + if (t8._is(t6)) { + t8._as(t6); + t5.set$__ListBuilder__list(t9._as(t6._list)); + t5.set$_listOwner(t6); + } else { + t5.set$__ListBuilder__list(t9._as(P.List_List$from(t6, true, t7._precomputed1))); + t5.set$_listOwner(null); + } + break; + } + } + return result.build$0(); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_GxI; + }, + get$wireName: function() { + return "HelixMajorTicksChangeAll"; + } + }; + U._$HelixMajorTickPeriodicDistancesChangeSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + type$.legacy_HelixMajorTickPeriodicDistancesChange._as(object); + return H.setRuntimeTypeInfo(["helix_idx", serializers.serialize$2$specifiedType(object.helix_idx, C.FullType_kjq), "major_tick_periodic_distances", serializers.serialize$2$specifiedType(object.major_tick_periodic_distances, C.FullType_4QF0)], type$.JSArray_legacy_Object); + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + var t1, t2, t3, t4, key, value, t5, t6, t7, t8, t9, + result = new U.HelixMajorTickPeriodicDistancesChangeBuilder(), + iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + for (t1 = type$.legacy_BuiltList_legacy_Object, t2 = type$.legacy_int, t3 = type$.List_legacy_int, t4 = type$.ListBuilder_legacy_int; iterator.moveNext$0();) { + key = H._asStringS(iterator.get$current(iterator)); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (key) { + case "helix_idx": + t5 = H._asIntS(serializers.deserialize$2$specifiedType(value, C.FullType_kjq)); + result.get$_$this()._actions$_helix_idx = t5; + break; + case "major_tick_periodic_distances": + t5 = result.get$_$this(); + t6 = t5._actions$_major_tick_periodic_distances; + if (t6 == null) { + t6 = new D.ListBuilder(t4); + t6.set$__ListBuilder__list(t3._as(P.List_List$from(C.List_empty, true, t2))); + t6.set$_listOwner(null); + t5.set$_actions$_major_tick_periodic_distances(t6); + t5 = t6; + } else + t5 = t6; + t6 = t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_4QF0)); + t7 = t5.$ti; + t8 = t7._eval$1("_BuiltList<1>"); + t9 = t7._eval$1("List<1>"); + if (t8._is(t6)) { + t8._as(t6); + t5.set$__ListBuilder__list(t9._as(t6._list)); + t5.set$_listOwner(t6); + } else { + t5.set$__ListBuilder__list(t9._as(P.List_List$from(t6, true, t7._precomputed1))); + t5.set$_listOwner(null); + } + break; + } + } + return result.build$0(); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_GQ1; + }, + get$wireName: function() { + return "HelixMajorTickPeriodicDistancesChange"; + } + }; + U._$HelixMajorTickPeriodicDistancesChangeAllSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + return H.setRuntimeTypeInfo(["major_tick_periodic_distances", serializers.serialize$2$specifiedType(type$.legacy_HelixMajorTickPeriodicDistancesChangeAll._as(object).major_tick_periodic_distances, C.FullType_4QF0)], type$.JSArray_legacy_Object); + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + var t1, t2, t3, t4, key, value, $$v, t5, t6, t7, t8, t9, + result = new U.HelixMajorTickPeriodicDistancesChangeAllBuilder(), + iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + for (t1 = type$.legacy_BuiltList_legacy_Object, t2 = type$.legacy_int, t3 = type$.List_legacy_int, t4 = type$.ListBuilder_legacy_int; iterator.moveNext$0();) { + key = H._asStringS(iterator.get$current(iterator)); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (key) { + case "major_tick_periodic_distances": + $$v = result._$v; + if ($$v != null) { + t5 = $$v.major_tick_periodic_distances; + t5.toString; + t6 = t5.$ti; + t7 = new D.ListBuilder(t6._eval$1("ListBuilder<1>")); + t8 = t6._eval$1("_BuiltList<1>"); + t9 = t6._eval$1("List<1>"); + if (t8._is(t5)) { + t8._as(t5); + t7.set$__ListBuilder__list(t9._as(t5._list)); + t7.set$_listOwner(t5); + } else { + t7.set$__ListBuilder__list(t9._as(P.List_List$from(t5, true, t6._precomputed1))); + t7.set$_listOwner(null); + } + result.set$_actions$_major_tick_periodic_distances(t7); + result._$v = null; + } + t5 = result._actions$_major_tick_periodic_distances; + if (t5 == null) { + t5 = new D.ListBuilder(t4); + t5.set$__ListBuilder__list(t3._as(P.List_List$from(C.List_empty, true, t2))); + t5.set$_listOwner(null); + result.set$_actions$_major_tick_periodic_distances(t5); + } + t6 = t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_4QF0)); + t7 = t5.$ti; + t8 = t7._eval$1("_BuiltList<1>"); + t9 = t7._eval$1("List<1>"); + if (t8._is(t6)) { + t8._as(t6); + t5.set$__ListBuilder__list(t9._as(t6._list)); + t5.set$_listOwner(t6); + } else { + t5.set$__ListBuilder__list(t9._as(P.List_List$from(t6, true, t7._precomputed1))); + t5.set$_listOwner(null); + } + break; + } + } + return result.build$0(); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_QVp; + }, + get$wireName: function() { + return "HelixMajorTickPeriodicDistancesChangeAll"; + } + }; + U._$HelixIdxsChangeSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + return H.setRuntimeTypeInfo(["idx_replacements", serializers.serialize$2$specifiedType(type$.legacy_HelixIdxsChange._as(object).idx_replacements, C.FullType_oyU)], type$.JSArray_legacy_Object); + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + var t1, key, value, $$v, t2, t3, + result = new U.HelixIdxsChangeBuilder(), + iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + for (t1 = type$.MapBuilder_of_legacy_int_and_legacy_int; iterator.moveNext$0();) { + key = H._asStringS(iterator.get$current(iterator)); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (key) { + case "idx_replacements": + $$v = result._$v; + if ($$v != null) { + t2 = $$v.idx_replacements; + t2.toString; + t3 = t2.$ti; + t3._eval$1("_BuiltMap<1,2>")._as(t2); + result.set$_idx_replacements(new A.MapBuilder(t2._mapFactory, t2._map$_map, t2, t3._eval$1("@<1>")._bind$1(t3._rest[1])._eval$1("MapBuilder<1,2>"))); + result._$v = null; + } + t2 = result._idx_replacements; + if (t2 == null) { + t2 = new A.MapBuilder(null, $, null, t1); + t2.replace$1(0, C.Map_empty); + result.set$_idx_replacements(t2); + } + t2.replace$1(0, serializers.deserialize$2$specifiedType(value, C.FullType_oyU)); + break; + } + } + return result.build$0(); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_CrS; + }, + get$wireName: function() { + return "HelixIdxsChange"; + } + }; + U._$HelixOffsetChangeSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + var result, value; + type$.legacy_HelixOffsetChange._as(object); + result = H.setRuntimeTypeInfo(["helix_idx", serializers.serialize$2$specifiedType(object.helix_idx, C.FullType_kjq)], type$.JSArray_legacy_Object); + value = object.min_offset; + if (value != null) { + C.JSArray_methods.add$1(result, "min_offset"); + C.JSArray_methods.add$1(result, serializers.serialize$2$specifiedType(value, C.FullType_kjq)); + } + value = object.max_offset; + if (value != null) { + C.JSArray_methods.add$1(result, "max_offset"); + C.JSArray_methods.add$1(result, serializers.serialize$2$specifiedType(value, C.FullType_kjq)); + } + return result; + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + var key, value, t1, _$result, t2, + result = new U.HelixOffsetChangeBuilder(), + iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + for (; iterator.moveNext$0();) { + key = H._asStringS(iterator.get$current(iterator)); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (key) { + case "helix_idx": + t1 = H._asIntS(serializers.deserialize$2$specifiedType(value, C.FullType_kjq)); + result.get$_$this()._actions$_helix_idx = t1; + break; + case "min_offset": + t1 = H._asIntS(serializers.deserialize$2$specifiedType(value, C.FullType_kjq)); + result.get$_$this()._actions$_min_offset = t1; + break; + case "max_offset": + t1 = H._asIntS(serializers.deserialize$2$specifiedType(value, C.FullType_kjq)); + result.get$_$this()._actions$_max_offset = t1; + break; + } + } + _$result = result._$v; + if (_$result == null) { + t1 = result.get$_$this()._actions$_helix_idx; + if (t1 == null) + H.throwExpression(Y.BuiltValueNullFieldError$("HelixOffsetChange", "helix_idx")); + t2 = result.get$_$this()._actions$_min_offset; + _$result = U._$HelixOffsetChange$_(t1, result.get$_$this()._actions$_max_offset, t2); + } + return result._$v = _$result; + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_EIw; + }, + get$wireName: function() { + return "HelixOffsetChange"; + } + }; + U._$HelixMinOffsetSetByDomainsSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + return H.setRuntimeTypeInfo(["helix_idx", serializers.serialize$2$specifiedType(type$.legacy_HelixMinOffsetSetByDomains._as(object).helix_idx, C.FullType_kjq)], type$.JSArray_legacy_Object); + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + var key, value, t1, $$v, _$result, + result = new U.HelixMinOffsetSetByDomainsBuilder(), + iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + for (; iterator.moveNext$0();) { + key = H._asStringS(iterator.get$current(iterator)); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (key) { + case "helix_idx": + t1 = H._asIntS(serializers.deserialize$2$specifiedType(value, C.FullType_kjq)); + $$v = result._$v; + if ($$v != null) { + result._actions$_helix_idx = $$v.helix_idx; + result._$v = null; + } + result._actions$_helix_idx = t1; + break; + } + } + _$result = result._$v; + if (_$result == null) { + t1 = result.get$_$this()._actions$_helix_idx; + if (t1 == null) + H.throwExpression(Y.BuiltValueNullFieldError$("HelixMinOffsetSetByDomains", "helix_idx")); + _$result = U._$HelixMinOffsetSetByDomains$_(t1); + } + return result._$v = _$result; + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_QG0; + }, + get$wireName: function() { + return "HelixMinOffsetSetByDomains"; + } + }; + U._$HelixMaxOffsetSetByDomainsSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + return H.setRuntimeTypeInfo(["helix_idx", serializers.serialize$2$specifiedType(type$.legacy_HelixMaxOffsetSetByDomains._as(object).helix_idx, C.FullType_kjq)], type$.JSArray_legacy_Object); + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + var key, value, t1, $$v, _$result, + result = new U.HelixMaxOffsetSetByDomainsBuilder(), + iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + for (; iterator.moveNext$0();) { + key = H._asStringS(iterator.get$current(iterator)); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (key) { + case "helix_idx": + t1 = H._asIntS(serializers.deserialize$2$specifiedType(value, C.FullType_kjq)); + $$v = result._$v; + if ($$v != null) { + result._actions$_helix_idx = $$v.helix_idx; + result._$v = null; + } + result._actions$_helix_idx = t1; + break; + } + } + _$result = result._$v; + if (_$result == null) { + t1 = result.get$_$this()._actions$_helix_idx; + if (t1 == null) + H.throwExpression(Y.BuiltValueNullFieldError$("HelixMaxOffsetSetByDomains", "helix_idx")); + _$result = U._$HelixMaxOffsetSetByDomains$_(t1); + } + return result._$v = _$result; + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_kmC0; + }, + get$wireName: function() { + return "HelixMaxOffsetSetByDomains"; + } + }; + U._$HelixMinOffsetSetByDomainsAllSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + type$.legacy_HelixMinOffsetSetByDomainsAll._as(object); + return H.setRuntimeTypeInfo([], type$.JSArray_legacy_Object); + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + type$.legacy_Iterable_legacy_Object._as(serialized); + return new U.HelixMinOffsetSetByDomainsAllBuilder().build$0(); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_q96; + }, + get$wireName: function() { + return "HelixMinOffsetSetByDomainsAll"; + } + }; + U._$HelixMaxOffsetSetByDomainsAllSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + type$.legacy_HelixMaxOffsetSetByDomainsAll._as(object); + return H.setRuntimeTypeInfo([], type$.JSArray_legacy_Object); + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + type$.legacy_Iterable_legacy_Object._as(serialized); + return new U.HelixMaxOffsetSetByDomainsAllBuilder().build$0(); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_2Vu; + }, + get$wireName: function() { + return "HelixMaxOffsetSetByDomainsAll"; + } + }; + U._$HelixMaxOffsetSetByDomainsAllSameMaxSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + type$.legacy_HelixMaxOffsetSetByDomainsAllSameMax._as(object); + return H.setRuntimeTypeInfo([], type$.JSArray_legacy_Object); + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + type$.legacy_Iterable_legacy_Object._as(serialized); + return new U.HelixMaxOffsetSetByDomainsAllSameMaxBuilder().build$0(); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_SRR; + }, + get$wireName: function() { + return "HelixMaxOffsetSetByDomainsAllSameMax"; + } + }; + U._$HelixOffsetChangeAllSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + var result, value; + type$.legacy_HelixOffsetChangeAll._as(object); + result = H.setRuntimeTypeInfo([], type$.JSArray_legacy_Object); + value = object.min_offset; + if (value != null) { + C.JSArray_methods.add$1(result, "min_offset"); + C.JSArray_methods.add$1(result, serializers.serialize$2$specifiedType(value, C.FullType_kjq)); + } + value = object.max_offset; + if (value != null) { + C.JSArray_methods.add$1(result, "max_offset"); + C.JSArray_methods.add$1(result, serializers.serialize$2$specifiedType(value, C.FullType_kjq)); + } + return result; + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + var key, value, t1, $$v, _$result, + result = new U.HelixOffsetChangeAllBuilder(), + iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + for (; iterator.moveNext$0();) { + key = H._asStringS(iterator.get$current(iterator)); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (key) { + case "min_offset": + t1 = H._asIntS(serializers.deserialize$2$specifiedType(value, C.FullType_kjq)); + $$v = result._$v; + if ($$v != null) { + result._actions$_min_offset = $$v.min_offset; + result._actions$_max_offset = $$v.max_offset; + result._$v = null; + } + result._actions$_min_offset = t1; + break; + case "max_offset": + t1 = H._asIntS(serializers.deserialize$2$specifiedType(value, C.FullType_kjq)); + $$v = result._$v; + if ($$v != null) { + result._actions$_min_offset = $$v.min_offset; + result._actions$_max_offset = $$v.max_offset; + result._$v = null; + } + result._actions$_max_offset = t1; + break; + } + } + _$result = result._$v; + if (_$result == null) + _$result = new U._$HelixOffsetChangeAll(result.get$_$this()._actions$_min_offset, result.get$_$this()._actions$_max_offset); + return result._$v = _$result; + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_P50; + }, + get$wireName: function() { + return "HelixOffsetChangeAll"; + } + }; + U._$ShowMouseoverRectSetSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + return H.setRuntimeTypeInfo(["show", serializers.serialize$2$specifiedType(type$.legacy_ShowMouseoverRectSet._as(object).show, C.FullType_MtR)], type$.JSArray_legacy_Object); + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + var key, value, t1, $$v, _$result, + result = new U.ShowMouseoverRectSetBuilder(), + iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + for (; iterator.moveNext$0();) { + key = H._asStringS(iterator.get$current(iterator)); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (key) { + case "show": + t1 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); + $$v = result._$v; + if ($$v != null) { + result._show = $$v.show; + result._$v = null; + } + result._show = t1; + break; + } + } + _$result = result._$v; + if (_$result == null) { + t1 = result.get$_$this()._show; + if (t1 == null) + H.throwExpression(Y.BuiltValueNullFieldError$("ShowMouseoverRectSet", "show")); + _$result = new U._$ShowMouseoverRectSet(t1); + } + return result._$v = _$result; + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_qKv; + }, + get$wireName: function() { + return "ShowMouseoverRectSet"; + } + }; + U._$ShowMouseoverRectToggleSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + type$.legacy_ShowMouseoverRectToggle._as(object); + return H.setRuntimeTypeInfo([], type$.JSArray_legacy_Object); + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + type$.legacy_Iterable_legacy_Object._as(serialized); + return new U._$ShowMouseoverRectToggle(); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_Wvz; + }, + get$wireName: function() { + return "ShowMouseoverRectToggle"; + } + }; + U._$ExportDNASerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + var result, value; + type$.legacy_ExportDNA._as(object); + result = H.setRuntimeTypeInfo(["include_scaffold", serializers.serialize$2$specifiedType(object.include_scaffold, C.FullType_MtR), "include_only_selected_strands", serializers.serialize$2$specifiedType(object.include_only_selected_strands, C.FullType_MtR), "exclude_selected_strands", serializers.serialize$2$specifiedType(object.exclude_selected_strands, C.FullType_MtR), "export_dna_format", serializers.serialize$2$specifiedType(object.export_dna_format, C.FullType_Otz), "column_major_strand", serializers.serialize$2$specifiedType(object.column_major_strand, C.FullType_MtR), "column_major_plate", serializers.serialize$2$specifiedType(object.column_major_plate, C.FullType_MtR), "delimiter", serializers.serialize$2$specifiedType(object.delimiter, C.FullType_h8g), "domain_delimiter", serializers.serialize$2$specifiedType(object.domain_delimiter, C.FullType_h8g)], type$.JSArray_legacy_Object); + value = object.strand_order; + if (value != null) { + C.JSArray_methods.add$1(result, "strand_order"); + C.JSArray_methods.add$1(result, serializers.serialize$2$specifiedType(value, C.FullType_kaS)); + } + return result; + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + var t1, t2, key, value, t3, + result = new U.ExportDNABuilder(), + iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + for (t1 = type$.legacy_StrandOrder, t2 = type$.legacy_ExportDNAFormat; iterator.moveNext$0();) { + key = H._asStringS(iterator.get$current(iterator)); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (key) { + case "include_scaffold": + t3 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); + result.get$_$this()._include_scaffold = t3; + break; + case "include_only_selected_strands": + t3 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); + result.get$_$this()._include_only_selected_strands = t3; + break; + case "exclude_selected_strands": + t3 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); + result.get$_$this()._exclude_selected_strands = t3; + break; + case "export_dna_format": + t3 = t2._as(serializers.deserialize$2$specifiedType(value, C.FullType_Otz)); + result.get$_$this()._export_dna_format = t3; + break; + case "strand_order": + t3 = t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_kaS)); + result.get$_$this()._strand_order = t3; + break; + case "column_major_strand": + t3 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); + result.get$_$this()._column_major_strand = t3; + break; + case "column_major_plate": + t3 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); + result.get$_$this()._column_major_plate = t3; + break; + case "delimiter": + t3 = H._asStringS(serializers.deserialize$2$specifiedType(value, C.FullType_h8g)); + result.get$_$this()._delimiter = t3; + break; + case "domain_delimiter": + t3 = H._asStringS(serializers.deserialize$2$specifiedType(value, C.FullType_h8g)); + result.get$_$this()._domain_delimiter = t3; + break; + } + } + return result.build$0(); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_EVy; + }, + get$wireName: function() { + return "ExportDNA"; + } + }; + U._$ExportSvgSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + return H.setRuntimeTypeInfo(["type", serializers.serialize$2$specifiedType(type$.legacy_ExportSvg._as(object).type, C.FullType_A0M)], type$.JSArray_legacy_Object); + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + var t1, key, value, t2, $$v, + result = new U.ExportSvgBuilder(), + iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + for (t1 = type$.legacy_ExportSvgType; iterator.moveNext$0();) { + key = H._asStringS(iterator.get$current(iterator)); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (key) { + case "type": + t2 = t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_A0M)); + $$v = result._$v; + if ($$v != null) { + result._type = $$v.type; + result._$v = null; + } + result._type = t2; + break; + } + } + return result.build$0(); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_oBb; + }, + get$wireName: function() { + return "ExportSvg"; + } + }; + U._$ExportSvgTextSeparatelySetSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + return H.setRuntimeTypeInfo(["export_svg_text_separately", serializers.serialize$2$specifiedType(type$.legacy_ExportSvgTextSeparatelySet._as(object).export_svg_text_separately, C.FullType_MtR)], type$.JSArray_legacy_Object); + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + var key, value, t1, $$v, + result = new U.ExportSvgTextSeparatelySetBuilder(), + iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + for (; iterator.moveNext$0();) { + key = H._asStringS(iterator.get$current(iterator)); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (key) { + case "export_svg_text_separately": + t1 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); + $$v = result._$v; + if ($$v != null) { + result._actions$_export_svg_text_separately = $$v.export_svg_text_separately; + result._$v = null; + } + result._actions$_export_svg_text_separately = t1; + break; + } + } + return result.build$0(); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_cIc; + }, + get$wireName: function() { + return "ExportSvgTextSeparatelySet"; + } + }; + U._$ExtensionDisplayLengthAngleSetSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + type$.legacy_ExtensionDisplayLengthAngleSet._as(object); + return H.setRuntimeTypeInfo(["ext", serializers.serialize$2$specifiedType(object.ext, C.FullType_gT2), "display_length", serializers.serialize$2$specifiedType(object.display_length, C.FullType_2ru), "display_angle", serializers.serialize$2$specifiedType(object.display_angle, C.FullType_2ru)], type$.JSArray_legacy_Object); + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + var t1, key, value, t2, t3, + result = new U.ExtensionDisplayLengthAngleSetBuilder(), + iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + for (t1 = type$.legacy_Extension; iterator.moveNext$0();) { + key = H._asStringS(iterator.get$current(iterator)); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (key) { + case "ext": + t2 = result.get$_$this(); + t3 = t2._ext; + t2 = t3 == null ? t2._ext = new S.ExtensionBuilder() : t3; + t3 = t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_gT2)); + if (t3 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + t2._extension$_$v = t3; + break; + case "display_length": + t2 = H._asNumS(serializers.deserialize$2$specifiedType(value, C.FullType_2ru)); + result.get$_$this()._actions$_display_length = t2; + break; + case "display_angle": + t2 = H._asNumS(serializers.deserialize$2$specifiedType(value, C.FullType_2ru)); + result.get$_$this()._actions$_display_angle = t2; + break; + } + } + return result.build$0(); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_0RG; + }, + get$wireName: function() { + return "ExtensionDisplayLengthAngleSet"; + } + }; + U._$ExtensionAddSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + type$.legacy_ExtensionAdd._as(object); + return H.setRuntimeTypeInfo(["strand", serializers.serialize$2$specifiedType(object.strand, C.FullType_w0x), "is_5p", serializers.serialize$2$specifiedType(object.is_5p, C.FullType_MtR), "num_bases", serializers.serialize$2$specifiedType(object.num_bases, C.FullType_kjq)], type$.JSArray_legacy_Object); + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + var t1, key, value, t2, t3, + result = new U.ExtensionAddBuilder(), + iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + for (t1 = type$.legacy_Strand; iterator.moveNext$0();) { + key = H._asStringS(iterator.get$current(iterator)); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (key) { + case "strand": + t2 = result.get$_$this(); + t3 = t2._strand; + t2 = t3 == null ? t2._strand = new E.StrandBuilder() : t3; + t3 = t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_w0x)); + if (t3 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + t2._strand$_$v = t3; + break; + case "is_5p": + t2 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); + result.get$_$this()._actions$_is_5p = t2; + break; + case "num_bases": + t2 = H._asIntS(serializers.deserialize$2$specifiedType(value, C.FullType_kjq)); + result.get$_$this()._actions$_num_bases = t2; + break; + } + } + return result.build$0(); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_tI7; + }, + get$wireName: function() { + return "ExtensionAdd"; + } + }; + U._$ExtensionNumBasesChangeSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + type$.legacy_ExtensionNumBasesChange._as(object); + return H.setRuntimeTypeInfo(["ext", serializers.serialize$2$specifiedType(object.ext, C.FullType_gT2), "num_bases", serializers.serialize$2$specifiedType(object.num_bases, C.FullType_kjq)], type$.JSArray_legacy_Object); + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + var t1, key, value, t2, t3, + result = new U.ExtensionNumBasesChangeBuilder(), + iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + for (t1 = type$.legacy_Extension; iterator.moveNext$0();) { + key = H._asStringS(iterator.get$current(iterator)); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (key) { + case "ext": + t2 = result.get$_$this(); + t3 = t2._ext; + t2 = t3 == null ? t2._ext = new S.ExtensionBuilder() : t3; + t3 = t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_gT2)); + if (t3 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + t2._extension$_$v = t3; + break; + case "num_bases": + t2 = H._asIntS(serializers.deserialize$2$specifiedType(value, C.FullType_kjq)); + result.get$_$this()._actions$_num_bases = t2; + break; + } + } + return result.build$0(); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_WjS; + }, + get$wireName: function() { + return "ExtensionNumBasesChange"; + } + }; + U._$ExtensionsNumBasesChangeSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + type$.legacy_ExtensionsNumBasesChange._as(object); + return H.setRuntimeTypeInfo(["extensions", serializers.serialize$2$specifiedType(object.extensions, C.FullType_gg4), "num_bases", serializers.serialize$2$specifiedType(object.num_bases, C.FullType_kjq)], type$.JSArray_legacy_Object); + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + var t1, t2, t3, t4, key, value, t5, t6, t7, t8, t9, + result = new U.ExtensionsNumBasesChangeBuilder(), + iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + for (t1 = type$.legacy_BuiltList_legacy_Object, t2 = type$.legacy_Extension, t3 = type$.List_legacy_Extension, t4 = type$.ListBuilder_legacy_Extension; iterator.moveNext$0();) { + key = H._asStringS(iterator.get$current(iterator)); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (key) { + case "extensions": + t5 = result.get$_$this(); + t6 = t5._extensions; + if (t6 == null) { + t6 = new D.ListBuilder(t4); + t6.set$__ListBuilder__list(t3._as(P.List_List$from(C.List_empty, true, t2))); + t6.set$_listOwner(null); + t5.set$_extensions(t6); + t5 = t6; + } else + t5 = t6; + t6 = t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_gg4)); + t7 = t5.$ti; + t8 = t7._eval$1("_BuiltList<1>"); + t9 = t7._eval$1("List<1>"); + if (t8._is(t6)) { + t8._as(t6); + t5.set$__ListBuilder__list(t9._as(t6._list)); + t5.set$_listOwner(t6); + } else { + t5.set$__ListBuilder__list(t9._as(P.List_List$from(t6, true, t7._precomputed1))); + t5.set$_listOwner(null); + } + break; + case "num_bases": + t5 = H._asIntS(serializers.deserialize$2$specifiedType(value, C.FullType_kjq)); + result.get$_$this()._actions$_num_bases = t5; + break; + } + } + return result.build$0(); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_mtF; + }, + get$wireName: function() { + return "ExtensionsNumBasesChange"; + } + }; + U._$LoopoutLengthChangeSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + type$.legacy_LoopoutLengthChange._as(object); + return H.setRuntimeTypeInfo(["loopout", serializers.serialize$2$specifiedType(object.loopout, C.FullType_Ttf), "num_bases", serializers.serialize$2$specifiedType(object.num_bases, C.FullType_kjq)], type$.JSArray_legacy_Object); + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + var t1, key, value, t2, t3, + result = new U.LoopoutLengthChangeBuilder(), + iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + for (t1 = type$.legacy_Loopout; iterator.moveNext$0();) { + key = H._asStringS(iterator.get$current(iterator)); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (key) { + case "loopout": + t2 = result.get$_$this(); + t3 = t2._loopout; + t2 = t3 == null ? t2._loopout = new G.LoopoutBuilder() : t3; + t3 = t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_Ttf)); + if (t3 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + t2._loopout$_$v = t3; + break; + case "num_bases": + t2 = H._asIntS(serializers.deserialize$2$specifiedType(value, C.FullType_kjq)); + result.get$_$this()._actions$_num_bases = t2; + break; + } + } + return result.build$0(); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_IFE; + }, + get$wireName: function() { + return "LoopoutLengthChange"; + } + }; + U._$LoopoutsLengthChangeSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + type$.legacy_LoopoutsLengthChange._as(object); + return H.setRuntimeTypeInfo(["loopouts", serializers.serialize$2$specifiedType(object.loopouts, C.FullType_H9I), "length", serializers.serialize$2$specifiedType(object.length, C.FullType_kjq)], type$.JSArray_legacy_Object); + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + var t1, t2, t3, t4, key, value, t5, t6, t7, t8, t9, + result = new U.LoopoutsLengthChangeBuilder(), + iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + for (t1 = type$.legacy_BuiltList_legacy_Object, t2 = type$.legacy_Loopout, t3 = type$.List_legacy_Loopout, t4 = type$.ListBuilder_legacy_Loopout; iterator.moveNext$0();) { + key = H._asStringS(iterator.get$current(iterator)); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (key) { + case "loopouts": + t5 = result.get$_$this(); + t6 = t5._loopouts; + if (t6 == null) { + t6 = new D.ListBuilder(t4); + t6.set$__ListBuilder__list(t3._as(P.List_List$from(C.List_empty, true, t2))); + t6.set$_listOwner(null); + t5.set$_loopouts(t6); + t5 = t6; + } else + t5 = t6; + t6 = t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_H9I)); + t7 = t5.$ti; + t8 = t7._eval$1("_BuiltList<1>"); + t9 = t7._eval$1("List<1>"); + if (t8._is(t6)) { + t8._as(t6); + t5.set$__ListBuilder__list(t9._as(t6._list)); + t5.set$_listOwner(t6); + } else { + t5.set$__ListBuilder__list(t9._as(P.List_List$from(t6, true, t7._precomputed1))); + t5.set$_listOwner(null); + } + break; + case "length": + t5 = H._asIntS(serializers.deserialize$2$specifiedType(value, C.FullType_kjq)); + result.get$_$this()._actions$_length = t5; + break; + } + } + return result.build$0(); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_kTd; + }, + get$wireName: function() { + return "LoopoutsLengthChange"; + } + }; + U._$ConvertCrossoverToLoopoutSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + var result, value; + type$.legacy_ConvertCrossoverToLoopout._as(object); + result = H.setRuntimeTypeInfo(["crossover", serializers.serialize$2$specifiedType(object.crossover, C.FullType_jPf), "length", serializers.serialize$2$specifiedType(object.length, C.FullType_kjq)], type$.JSArray_legacy_Object); + value = object.dna_sequence; + if (value != null) { + C.JSArray_methods.add$1(result, "dna_sequence"); + C.JSArray_methods.add$1(result, serializers.serialize$2$specifiedType(value, C.FullType_h8g)); + } + return result; + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + var t1, key, value, t2, t3, + result = new U.ConvertCrossoverToLoopoutBuilder(), + iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + for (t1 = type$.legacy_Crossover; iterator.moveNext$0();) { + key = H._asStringS(iterator.get$current(iterator)); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (key) { + case "crossover": + t2 = result.get$_$this(); + t3 = t2._crossover; + t2 = t3 == null ? t2._crossover = new T.CrossoverBuilder() : t3; + t3 = t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_jPf)); + if (t3 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + t2._crossover$_$v = t3; + break; + case "length": + t2 = H._asIntS(serializers.deserialize$2$specifiedType(value, C.FullType_kjq)); + result.get$_$this()._actions$_length = t2; + break; + case "dna_sequence": + t2 = H._asStringS(serializers.deserialize$2$specifiedType(value, C.FullType_h8g)); + result.get$_$this()._actions$_dna_sequence = t2; + break; + } + } + return result.build$0(); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_KeE; + }, + get$wireName: function() { + return "ConvertCrossoverToLoopout"; + } + }; + U._$ConvertCrossoversToLoopoutsSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + type$.legacy_ConvertCrossoversToLoopouts._as(object); + return H.setRuntimeTypeInfo(["crossovers", serializers.serialize$2$specifiedType(object.crossovers, C.FullType_EOY), "length", serializers.serialize$2$specifiedType(object.length, C.FullType_kjq)], type$.JSArray_legacy_Object); + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + var t1, t2, t3, t4, key, value, t5, t6, t7, t8, t9, + result = new U.ConvertCrossoversToLoopoutsBuilder(), + iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + for (t1 = type$.legacy_BuiltList_legacy_Object, t2 = type$.legacy_Crossover, t3 = type$.List_legacy_Crossover, t4 = type$.ListBuilder_legacy_Crossover; iterator.moveNext$0();) { + key = H._asStringS(iterator.get$current(iterator)); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (key) { + case "crossovers": + t5 = result.get$_$this(); + t6 = t5._crossovers; + if (t6 == null) { + t6 = new D.ListBuilder(t4); + t6.set$__ListBuilder__list(t3._as(P.List_List$from(C.List_empty, true, t2))); + t6.set$_listOwner(null); + t5.set$_crossovers(t6); + t5 = t6; + } else + t5 = t6; + t6 = t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_EOY)); + t7 = t5.$ti; + t8 = t7._eval$1("_BuiltList<1>"); + t9 = t7._eval$1("List<1>"); + if (t8._is(t6)) { + t8._as(t6); + t5.set$__ListBuilder__list(t9._as(t6._list)); + t5.set$_listOwner(t6); + } else { + t5.set$__ListBuilder__list(t9._as(P.List_List$from(t6, true, t7._precomputed1))); + t5.set$_listOwner(null); + } + break; + case "length": + t5 = H._asIntS(serializers.deserialize$2$specifiedType(value, C.FullType_kjq)); + result.get$_$this()._actions$_length = t5; + break; + } + } + return result.build$0(); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_SLS; + }, + get$wireName: function() { + return "ConvertCrossoversToLoopouts"; + } + }; + U._$NickSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + type$.legacy_Nick._as(object); + return H.setRuntimeTypeInfo(["domain", serializers.serialize$2$specifiedType(object.domain, C.FullType_fnc), "offset", serializers.serialize$2$specifiedType(object.offset, C.FullType_kjq)], type$.JSArray_legacy_Object); + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + var t1, key, value, t2, t3, + result = new U.NickBuilder(), + iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + for (t1 = type$.legacy_Domain; iterator.moveNext$0();) { + key = H._asStringS(iterator.get$current(iterator)); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (key) { + case "domain": + t2 = result.get$_$this(); + t3 = t2._actions$_domain; + t2 = t3 == null ? t2._actions$_domain = new G.DomainBuilder() : t3; + t3 = t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_fnc)); + if (t3 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + t2._domain$_$v = t3; + break; + case "offset": + t2 = H._asIntS(serializers.deserialize$2$specifiedType(value, C.FullType_kjq)); + result.get$_$this()._actions$_offset = t2; + break; + } + } + return result.build$0(); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_5sE; + }, + get$wireName: function() { + return "Nick"; + } + }; + U._$LigateSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + return H.setRuntimeTypeInfo(["dna_end", serializers.serialize$2$specifiedType(type$.legacy_Ligate._as(object).dna_end, C.FullType_QR4)], type$.JSArray_legacy_Object); + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + var t1, key, value, $$v, t2, t3, + result = new U.LigateBuilder(), + iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + for (t1 = type$.legacy_DNAEnd; iterator.moveNext$0();) { + key = H._asStringS(iterator.get$current(iterator)); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (key) { + case "dna_end": + $$v = result._$v; + if ($$v != null) { + t2 = $$v.dna_end; + t3 = new Z.DNAEndBuilder(); + t3._dna_end$_$v = t2; + result._actions$_dna_end = t3; + result._$v = null; + } + t2 = result._actions$_dna_end; + if (t2 == null) + t2 = result._actions$_dna_end = new Z.DNAEndBuilder(); + t3 = t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_QR4)); + if (t3 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + t2._dna_end$_$v = t3; + break; + } + } + return result.build$0(); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_7BT; + }, + get$wireName: function() { + return "Ligate"; + } + }; + U._$JoinStrandsByCrossoverSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + type$.legacy_JoinStrandsByCrossover._as(object); + return H.setRuntimeTypeInfo(["dna_end_first_click", serializers.serialize$2$specifiedType(object.dna_end_first_click, C.FullType_QR4), "dna_end_second_click", serializers.serialize$2$specifiedType(object.dna_end_second_click, C.FullType_QR4)], type$.JSArray_legacy_Object); + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + var t1, key, value, t2, t3, + result = new U.JoinStrandsByCrossoverBuilder(), + iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + for (t1 = type$.legacy_DNAEnd; iterator.moveNext$0();) { + key = H._asStringS(iterator.get$current(iterator)); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (key) { + case "dna_end_first_click": + t2 = result.get$_$this(); + t3 = t2._actions$_dna_end_first_click; + t2 = t3 == null ? t2._actions$_dna_end_first_click = new Z.DNAEndBuilder() : t3; + t3 = t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_QR4)); + if (t3 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + t2._dna_end$_$v = t3; + break; + case "dna_end_second_click": + t2 = result.get$_$this(); + t3 = t2._dna_end_second_click; + t2 = t3 == null ? t2._dna_end_second_click = new Z.DNAEndBuilder() : t3; + t3 = t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_QR4)); + if (t3 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + t2._dna_end$_$v = t3; + break; + } + } + return result.build$0(); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_mq4; + }, + get$wireName: function() { + return "JoinStrandsByCrossover"; + } + }; + U._$MoveLinkerSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + type$.legacy_MoveLinker._as(object); + return H.setRuntimeTypeInfo(["potential_crossover", serializers.serialize$2$specifiedType(object.potential_crossover, C.FullType_gkc), "dna_end_second_click", serializers.serialize$2$specifiedType(object.dna_end_second_click, C.FullType_QR4)], type$.JSArray_legacy_Object); + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + var t1, t2, key, value, t3, t4, + result = new U.MoveLinkerBuilder(), + iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + for (t1 = type$.legacy_DNAEnd, t2 = type$.legacy_PotentialCrossover; iterator.moveNext$0();) { + key = H._asStringS(iterator.get$current(iterator)); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (key) { + case "potential_crossover": + t3 = result.get$_$this(); + t4 = t3._potential_crossover; + t3 = t4 == null ? t3._potential_crossover = new S.PotentialCrossoverBuilder() : t4; + t4 = t2._as(serializers.deserialize$2$specifiedType(value, C.FullType_gkc)); + if (t4 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + t3._potential_crossover$_$v = t4; + break; + case "dna_end_second_click": + t3 = result.get$_$this(); + t4 = t3._dna_end_second_click; + t3 = t4 == null ? t3._dna_end_second_click = new Z.DNAEndBuilder() : t4; + t4 = t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_QR4)); + if (t4 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + t3._dna_end$_$v = t4; + break; + } + } + return result.build$0(); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_W34; + }, + get$wireName: function() { + return "MoveLinker"; + } + }; + U._$JoinStrandsByMultipleCrossoversSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + type$.legacy_JoinStrandsByMultipleCrossovers._as(object); + return H.setRuntimeTypeInfo([], type$.JSArray_legacy_Object); + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + type$.legacy_Iterable_legacy_Object._as(serialized); + return new U.JoinStrandsByMultipleCrossoversBuilder().build$0(); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_43h0; + }, + get$wireName: function() { + return "JoinStrandsByMultipleCrossovers"; + } + }; + U._$StrandsReflectSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + type$.legacy_StrandsReflect._as(object); + return H.setRuntimeTypeInfo(["strands", serializers.serialize$2$specifiedType(object.strands, C.FullType_2No), "horizontal", serializers.serialize$2$specifiedType(object.horizontal, C.FullType_MtR), "reverse_polarity", serializers.serialize$2$specifiedType(object.reverse_polarity, C.FullType_MtR)], type$.JSArray_legacy_Object); + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + var t1, t2, t3, t4, key, value, t5, t6, t7, t8, t9, + result = new U.StrandsReflectBuilder(), + iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + for (t1 = type$.legacy_BuiltList_legacy_Object, t2 = type$.legacy_Strand, t3 = type$.List_legacy_Strand, t4 = type$.ListBuilder_legacy_Strand; iterator.moveNext$0();) { + key = H._asStringS(iterator.get$current(iterator)); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (key) { + case "strands": + t5 = result.get$_$this(); + t6 = t5._actions$_strands; + if (t6 == null) { + t6 = new D.ListBuilder(t4); + t6.set$__ListBuilder__list(t3._as(P.List_List$from(C.List_empty, true, t2))); + t6.set$_listOwner(null); + t5.set$_actions$_strands(t6); + t5 = t6; + } else + t5 = t6; + t6 = t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_2No)); + t7 = t5.$ti; + t8 = t7._eval$1("_BuiltList<1>"); + t9 = t7._eval$1("List<1>"); + if (t8._is(t6)) { + t8._as(t6); + t5.set$__ListBuilder__list(t9._as(t6._list)); + t5.set$_listOwner(t6); + } else { + t5.set$__ListBuilder__list(t9._as(P.List_List$from(t6, true, t7._precomputed1))); + t5.set$_listOwner(null); + } + break; + case "horizontal": + t5 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); + result.get$_$this()._horizontal = t5; + break; + case "reverse_polarity": + t5 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); + result.get$_$this()._reverse_polarity = t5; + break; + } + } + return result.build$0(); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_wwi; + }, + get$wireName: function() { + return "StrandsReflect"; + } + }; + U._$ReplaceStrandsSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + return H.setRuntimeTypeInfo(["new_strands", serializers.serialize$2$specifiedType(type$.legacy_ReplaceStrands._as(object).new_strands, C.FullType_vpC)], type$.JSArray_legacy_Object); + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + var t1, key, value, $$v, t2, t3, + result = new U.ReplaceStrandsBuilder(), + iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + for (t1 = type$.MapBuilder_of_legacy_int_and_legacy_Strand; iterator.moveNext$0();) { + key = H._asStringS(iterator.get$current(iterator)); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (key) { + case "new_strands": + $$v = result._$v; + if ($$v != null) { + t2 = $$v.new_strands; + t2.toString; + t3 = t2.$ti; + t3._eval$1("_BuiltMap<1,2>")._as(t2); + result.set$_new_strands(new A.MapBuilder(t2._mapFactory, t2._map$_map, t2, t3._eval$1("@<1>")._bind$1(t3._rest[1])._eval$1("MapBuilder<1,2>"))); + result._$v = null; + } + t2 = result._new_strands; + if (t2 == null) { + t2 = new A.MapBuilder(null, $, null, t1); + t2.replace$1(0, C.Map_empty); + result.set$_new_strands(t2); + } + t2.replace$1(0, serializers.deserialize$2$specifiedType(value, C.FullType_vpC)); + break; + } + } + return result.build$0(); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_yS0; + }, + get$wireName: function() { + return "ReplaceStrands"; + } + }; + U._$StrandCreateStartSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + type$.legacy_StrandCreateStart._as(object); + return H.setRuntimeTypeInfo(["address", serializers.serialize$2$specifiedType(object.address, C.FullType_KlG), "color", serializers.serialize$2$specifiedType(object.color, C.FullType_uHx)], type$.JSArray_legacy_Object); + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + var t1, t2, key, value, t3, t4, + result = new U.StrandCreateStartBuilder(), + iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + for (t1 = type$.legacy_Color, t2 = type$.legacy_Address; iterator.moveNext$0();) { + key = H._asStringS(iterator.get$current(iterator)); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (key) { + case "address": + t3 = result.get$_$this(); + t4 = t3._actions$_address; + t3 = t4 == null ? t3._actions$_address = new Z.AddressBuilder() : t4; + t4 = t2._as(serializers.deserialize$2$specifiedType(value, C.FullType_KlG)); + if (t4 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + t3._address$_$v = t4; + break; + case "color": + t3 = t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_uHx)); + result.get$_$this()._actions$_color = t3; + break; + } + } + return result.build$0(); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_IbS; + }, + get$wireName: function() { + return "StrandCreateStart"; + } + }; + U._$StrandCreateAdjustOffsetSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + return H.setRuntimeTypeInfo(["offset", serializers.serialize$2$specifiedType(type$.legacy_StrandCreateAdjustOffset._as(object).offset, C.FullType_kjq)], type$.JSArray_legacy_Object); + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + var key, value, t1, $$v, _$result, + result = new U.StrandCreateAdjustOffsetBuilder(), + iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + for (; iterator.moveNext$0();) { + key = H._asStringS(iterator.get$current(iterator)); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (key) { + case "offset": + t1 = H._asIntS(serializers.deserialize$2$specifiedType(value, C.FullType_kjq)); + $$v = result._$v; + if ($$v != null) { + result._actions$_offset = $$v.offset; + result._$v = null; + } + result._actions$_offset = t1; + break; + } + } + _$result = result._$v; + if (_$result == null) { + t1 = result.get$_$this()._actions$_offset; + if (t1 == null) + H.throwExpression(Y.BuiltValueNullFieldError$("StrandCreateAdjustOffset", "offset")); + _$result = U._$StrandCreateAdjustOffset$_(t1); + } + return result._$v = _$result; + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_5Bm; + }, + get$wireName: function() { + return "StrandCreateAdjustOffset"; + } + }; + U._$StrandCreateStopSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + type$.legacy_StrandCreateStop._as(object); + return H.setRuntimeTypeInfo([], type$.JSArray_legacy_Object); + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + type$.legacy_Iterable_legacy_Object._as(serialized); + return new U.StrandCreateStopBuilder().build$0(); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_goM; + }, + get$wireName: function() { + return "StrandCreateStop"; + } + }; + U._$StrandCreateCommitSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + type$.legacy_StrandCreateCommit._as(object); + return H.setRuntimeTypeInfo(["helix_idx", serializers.serialize$2$specifiedType(object.helix_idx, C.FullType_kjq), "start", serializers.serialize$2$specifiedType(object.start, C.FullType_kjq), "end", serializers.serialize$2$specifiedType(object.end, C.FullType_kjq), "forward", serializers.serialize$2$specifiedType(object.forward, C.FullType_MtR), "color", serializers.serialize$2$specifiedType(object.color, C.FullType_uHx)], type$.JSArray_legacy_Object); + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + var t1, key, value, t2, _$result, t3, t4, t5, + _s18_ = "StrandCreateCommit", + result = new U.StrandCreateCommitBuilder(), + iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + for (t1 = type$.legacy_Color; iterator.moveNext$0();) { + key = H._asStringS(iterator.get$current(iterator)); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (key) { + case "helix_idx": + t2 = H._asIntS(serializers.deserialize$2$specifiedType(value, C.FullType_kjq)); + result.get$_$this()._actions$_helix_idx = t2; + break; + case "start": + t2 = H._asIntS(serializers.deserialize$2$specifiedType(value, C.FullType_kjq)); + result.get$_$this()._actions$_start = t2; + break; + case "end": + t2 = H._asIntS(serializers.deserialize$2$specifiedType(value, C.FullType_kjq)); + result.get$_$this()._actions$_end = t2; + break; + case "forward": + t2 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); + result.get$_$this()._actions$_forward = t2; + break; + case "color": + t2 = t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_uHx)); + result.get$_$this()._actions$_color = t2; + break; + } + } + _$result = result._$v; + if (_$result == null) { + t1 = result.get$_$this()._actions$_helix_idx; + if (t1 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s18_, "helix_idx")); + t2 = result.get$_$this()._actions$_start; + if (t2 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s18_, "start")); + t3 = result.get$_$this()._actions$_end; + if (t3 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s18_, "end")); + t4 = result.get$_$this()._actions$_forward; + if (t4 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s18_, "forward")); + t5 = result.get$_$this()._actions$_color; + if (t5 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s18_, "color")); + _$result = U._$StrandCreateCommit$_(t5, t3, t4, t1, t2); + } + return result._$v = _$result; + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_HYb; + }, + get$wireName: function() { + return "StrandCreateCommit"; + } + }; + U._$PotentialCrossoverCreateSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + return H.setRuntimeTypeInfo(["potential_crossover", serializers.serialize$2$specifiedType(type$.legacy_PotentialCrossoverCreate._as(object).potential_crossover, C.FullType_gkc)], type$.JSArray_legacy_Object); + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + var t1, key, value, $$v, t2, t3, + result = new U.PotentialCrossoverCreateBuilder(), + iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + for (t1 = type$.legacy_PotentialCrossover; iterator.moveNext$0();) { + key = H._asStringS(iterator.get$current(iterator)); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (key) { + case "potential_crossover": + $$v = result._$v; + if ($$v != null) { + t2 = $$v.potential_crossover; + t2.toString; + t3 = new S.PotentialCrossoverBuilder(); + t3._potential_crossover$_$v = t2; + result._potential_crossover = t3; + result._$v = null; + } + t2 = result._potential_crossover; + if (t2 == null) + t2 = result._potential_crossover = new S.PotentialCrossoverBuilder(); + t3 = t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_gkc)); + if (t3 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + t2._potential_crossover$_$v = t3; + break; + } + } + return result.build$0(); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_Uxx; + }, + get$wireName: function() { + return "PotentialCrossoverCreate"; + } + }; + U._$PotentialCrossoverMoveSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + return H.setRuntimeTypeInfo(["point", serializers.serialize$2$specifiedType(type$.legacy_PotentialCrossoverMove._as(object).point, C.FullType_8eb)], type$.JSArray_legacy_Object); + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + var t1, key, value, t2, $$v, _$result, + result = new U.PotentialCrossoverMoveBuilder(), + iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + for (t1 = type$.legacy_Point_legacy_num; iterator.moveNext$0();) { + key = H._asStringS(iterator.get$current(iterator)); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (key) { + case "point": + t2 = t1._as(t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_8eb))); + $$v = result._$v; + if ($$v != null) { + result.set$_point($$v.point); + result._$v = null; + } + result.set$_point(t2); + break; + } + } + _$result = result._$v; + if (_$result == null) { + t1 = result.get$_$this()._point; + if (t1 == null) + H.throwExpression(Y.BuiltValueNullFieldError$("PotentialCrossoverMove", "point")); + _$result = U._$PotentialCrossoverMove$_(t1); + } + return result._$v = _$result; + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_FIw; + }, + get$wireName: function() { + return "PotentialCrossoverMove"; + } + }; + U._$PotentialCrossoverRemoveSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + type$.legacy_PotentialCrossoverRemove._as(object); + return H.setRuntimeTypeInfo([], type$.JSArray_legacy_Object); + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + type$.legacy_Iterable_legacy_Object._as(serialized); + return new U.PotentialCrossoverRemoveBuilder().build$0(); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_rv4; + }, + get$wireName: function() { + return "PotentialCrossoverRemove"; + } + }; + U._$ManualPasteInitiateSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + type$.legacy_ManualPasteInitiate._as(object); + return H.setRuntimeTypeInfo(["clipboard_content", serializers.serialize$2$specifiedType(object.clipboard_content, C.FullType_h8g), "in_browser", serializers.serialize$2$specifiedType(object.in_browser, C.FullType_MtR)], type$.JSArray_legacy_Object); + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + var key, value, t1, $$v, + result = new U.ManualPasteInitiateBuilder(), + iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + for (; iterator.moveNext$0();) { + key = H._asStringS(iterator.get$current(iterator)); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (key) { + case "clipboard_content": + t1 = H._asStringS(serializers.deserialize$2$specifiedType(value, C.FullType_h8g)); + $$v = result._$v; + if ($$v != null) { + result._clipboard_content = $$v.clipboard_content; + result._in_browser = $$v.in_browser; + result._$v = null; + } + result._clipboard_content = t1; + break; + case "in_browser": + t1 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); + $$v = result._$v; + if ($$v != null) { + result._clipboard_content = $$v.clipboard_content; + result._in_browser = $$v.in_browser; + result._$v = null; + } + result._in_browser = t1; + break; + } + } + return result.build$0(); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_fXI; + }, + get$wireName: function() { + return "ManualPasteInitiate"; + } + }; + U._$AutoPasteInitiateSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + type$.legacy_AutoPasteInitiate._as(object); + return H.setRuntimeTypeInfo(["clipboard_content", serializers.serialize$2$specifiedType(object.clipboard_content, C.FullType_h8g), "in_browser", serializers.serialize$2$specifiedType(object.in_browser, C.FullType_MtR)], type$.JSArray_legacy_Object); + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + var key, value, t1, $$v, + result = new U.AutoPasteInitiateBuilder(), + iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + for (; iterator.moveNext$0();) { + key = H._asStringS(iterator.get$current(iterator)); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (key) { + case "clipboard_content": + t1 = H._asStringS(serializers.deserialize$2$specifiedType(value, C.FullType_h8g)); + $$v = result._$v; + if ($$v != null) { + result._clipboard_content = $$v.clipboard_content; + result._in_browser = $$v.in_browser; + result._$v = null; + } + result._clipboard_content = t1; + break; + case "in_browser": + t1 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); + $$v = result._$v; + if ($$v != null) { + result._clipboard_content = $$v.clipboard_content; + result._in_browser = $$v.in_browser; + result._$v = null; + } + result._in_browser = t1; + break; + } + } + return result.build$0(); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_1yH; + }, + get$wireName: function() { + return "AutoPasteInitiate"; + } + }; + U._$CopySelectedStrandsSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + type$.legacy_CopySelectedStrands._as(object); + return H.setRuntimeTypeInfo([], type$.JSArray_legacy_Object); + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + type$.legacy_Iterable_legacy_Object._as(serialized); + return new U.CopySelectedStrandsBuilder().build$0(); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_HJj; + }, + get$wireName: function() { + return "CopySelectedStrands"; + } + }; + U._$StrandsMoveStartSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + type$.legacy_StrandsMoveStart._as(object); + return H.setRuntimeTypeInfo(["strands", serializers.serialize$2$specifiedType(object.strands, C.FullType_2No), "address", serializers.serialize$2$specifiedType(object.address, C.FullType_KlG), "copy", serializers.serialize$2$specifiedType(object.copy, C.FullType_MtR), "original_helices_view_order_inverse", serializers.serialize$2$specifiedType(object.original_helices_view_order_inverse, C.FullType_oyU)], type$.JSArray_legacy_Object); + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + var t1, t2, t3, t4, t5, t6, key, value, t7, t8, t9, t10, t11, _null = null, + result = new U.StrandsMoveStartBuilder(), + iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + for (t1 = type$.MapBuilder_of_legacy_int_and_legacy_int, t2 = type$.legacy_Address, t3 = type$.legacy_BuiltList_legacy_Object, t4 = type$.legacy_Strand, t5 = type$.List_legacy_Strand, t6 = type$.ListBuilder_legacy_Strand; iterator.moveNext$0();) { + key = H._asStringS(iterator.get$current(iterator)); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (key) { + case "strands": + t7 = result.get$_$this(); + t8 = t7._actions$_strands; + if (t8 == null) { + t8 = new D.ListBuilder(t6); + t8.set$__ListBuilder__list(t5._as(P.List_List$from(C.List_empty, true, t4))); + t8.set$_listOwner(_null); + t7.set$_actions$_strands(t8); + t7 = t8; + } else + t7 = t8; + t8 = t3._as(serializers.deserialize$2$specifiedType(value, C.FullType_2No)); + t9 = t7.$ti; + t10 = t9._eval$1("_BuiltList<1>"); + t11 = t9._eval$1("List<1>"); + if (t10._is(t8)) { + t10._as(t8); + t7.set$__ListBuilder__list(t11._as(t8._list)); + t7.set$_listOwner(t8); + } else { + t7.set$__ListBuilder__list(t11._as(P.List_List$from(t8, true, t9._precomputed1))); + t7.set$_listOwner(_null); + } + break; + case "address": + t7 = result.get$_$this(); + t8 = t7._actions$_address; + t7 = t8 == null ? t7._actions$_address = new Z.AddressBuilder() : t8; + t8 = t2._as(serializers.deserialize$2$specifiedType(value, C.FullType_KlG)); + if (t8 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + t7._address$_$v = t8; + break; + case "copy": + t7 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); + result.get$_$this()._actions$_copy = t7; + break; + case "original_helices_view_order_inverse": + t7 = result.get$_$this(); + t8 = t7._actions$_original_helices_view_order_inverse; + if (t8 == null) { + t8 = new A.MapBuilder(_null, $, _null, t1); + t8.replace$1(0, C.Map_empty); + t7.set$_actions$_original_helices_view_order_inverse(t8); + t7 = t8; + } else + t7 = t8; + t7.replace$1(0, serializers.deserialize$2$specifiedType(value, C.FullType_oyU)); + break; + } + } + return result.build$0(); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_nz1; + }, + get$wireName: function() { + return "StrandsMoveStart"; + } + }; + U._$StrandsMoveStartSelectedStrandsSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + type$.legacy_StrandsMoveStartSelectedStrands._as(object); + return H.setRuntimeTypeInfo(["address", serializers.serialize$2$specifiedType(object.address, C.FullType_KlG), "copy", serializers.serialize$2$specifiedType(object.copy, C.FullType_MtR), "original_helices_view_order_inverse", serializers.serialize$2$specifiedType(object.original_helices_view_order_inverse, C.FullType_oyU)], type$.JSArray_legacy_Object); + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + var t1, t2, key, value, t3, t4, + result = new U.StrandsMoveStartSelectedStrandsBuilder(), + iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + for (t1 = type$.MapBuilder_of_legacy_int_and_legacy_int, t2 = type$.legacy_Address; iterator.moveNext$0();) { + key = H._asStringS(iterator.get$current(iterator)); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (key) { + case "address": + t3 = result.get$_$this(); + t4 = t3._actions$_address; + t3 = t4 == null ? t3._actions$_address = new Z.AddressBuilder() : t4; + t4 = t2._as(serializers.deserialize$2$specifiedType(value, C.FullType_KlG)); + if (t4 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + t3._address$_$v = t4; + break; + case "copy": + t3 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); + result.get$_$this()._actions$_copy = t3; + break; + case "original_helices_view_order_inverse": + t3 = result.get$_$this(); + t4 = t3._actions$_original_helices_view_order_inverse; + if (t4 == null) { + t4 = new A.MapBuilder(null, $, null, t1); + t4.replace$1(0, C.Map_empty); + t3.set$_actions$_original_helices_view_order_inverse(t4); + t3 = t4; + } else + t3 = t4; + t3.replace$1(0, serializers.deserialize$2$specifiedType(value, C.FullType_oyU)); + break; + } + } + return result.build$0(); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_aJC; + }, + get$wireName: function() { + return "StrandsMoveStartSelectedStrands"; + } + }; + U._$StrandsMoveStopSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + type$.legacy_StrandsMoveStop._as(object); + return H.setRuntimeTypeInfo([], type$.JSArray_legacy_Object); + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + type$.legacy_Iterable_legacy_Object._as(serialized); + return new U.StrandsMoveStopBuilder().build$0(); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_egL; + }, + get$wireName: function() { + return "StrandsMoveStop"; + } + }; + U._$StrandsMoveAdjustAddressSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + return H.setRuntimeTypeInfo(["address", serializers.serialize$2$specifiedType(type$.legacy_StrandsMoveAdjustAddress._as(object).address, C.FullType_KlG)], type$.JSArray_legacy_Object); + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + var t1, key, value, $$v, t2, t3, + result = new U.StrandsMoveAdjustAddressBuilder(), + iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + for (t1 = type$.legacy_Address; iterator.moveNext$0();) { + key = H._asStringS(iterator.get$current(iterator)); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (key) { + case "address": + $$v = result._$v; + if ($$v != null) { + t2 = $$v.address; + t3 = new Z.AddressBuilder(); + t3._address$_$v = t2; + result._actions$_address = t3; + result._$v = null; + } + t2 = result._actions$_address; + if (t2 == null) + t2 = result._actions$_address = new Z.AddressBuilder(); + t3 = t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_KlG)); + if (t3 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + t2._address$_$v = t3; + break; + } + } + return result.build$0(); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_G7M; + }, + get$wireName: function() { + return "StrandsMoveAdjustAddress"; + } + }; + U._$StrandsMoveCommitSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + type$.legacy_StrandsMoveCommit._as(object); + return H.setRuntimeTypeInfo(["strands_move", serializers.serialize$2$specifiedType(object.strands_move, C.FullType_VSS), "autopaste", serializers.serialize$2$specifiedType(object.autopaste, C.FullType_MtR)], type$.JSArray_legacy_Object); + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + var t1, key, value, t2, t3, + result = new U.StrandsMoveCommitBuilder(), + iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + for (t1 = type$.legacy_StrandsMove; iterator.moveNext$0();) { + key = H._asStringS(iterator.get$current(iterator)); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (key) { + case "strands_move": + t2 = result.get$_$this(); + t3 = t2._actions$_strands_move; + t2 = t3 == null ? t2._actions$_strands_move = new U.StrandsMoveBuilder() : t3; + t3 = t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_VSS)); + if (t3 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + t2._strands_move$_$v = t3; + break; + case "autopaste": + t2 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); + result.get$_$this()._autopaste = t2; + break; + } + } + return result.build$0(); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_YZn; + }, + get$wireName: function() { + return "StrandsMoveCommit"; + } + }; + U._$DomainsMoveStartSelectedDomainsSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + type$.legacy_DomainsMoveStartSelectedDomains._as(object); + return H.setRuntimeTypeInfo(["address", serializers.serialize$2$specifiedType(object.address, C.FullType_KlG), "original_helices_view_order_inverse", serializers.serialize$2$specifiedType(object.original_helices_view_order_inverse, C.FullType_oyU)], type$.JSArray_legacy_Object); + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + var t1, t2, key, value, t3, t4, + result = new U.DomainsMoveStartSelectedDomainsBuilder(), + iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + for (t1 = type$.MapBuilder_of_legacy_int_and_legacy_int, t2 = type$.legacy_Address; iterator.moveNext$0();) { + key = H._asStringS(iterator.get$current(iterator)); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (key) { + case "address": + t3 = result.get$_$this(); + t4 = t3._actions$_address; + t3 = t4 == null ? t3._actions$_address = new Z.AddressBuilder() : t4; + t4 = t2._as(serializers.deserialize$2$specifiedType(value, C.FullType_KlG)); + if (t4 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + t3._address$_$v = t4; + break; + case "original_helices_view_order_inverse": + t3 = result.get$_$this(); + t4 = t3._actions$_original_helices_view_order_inverse; + if (t4 == null) { + t4 = new A.MapBuilder(null, $, null, t1); + t4.replace$1(0, C.Map_empty); + t3.set$_actions$_original_helices_view_order_inverse(t4); + t3 = t4; + } else + t3 = t4; + t3.replace$1(0, serializers.deserialize$2$specifiedType(value, C.FullType_oyU)); + break; + } + } + return result.build$0(); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_wsf; + }, + get$wireName: function() { + return "DomainsMoveStartSelectedDomains"; + } + }; + U._$DomainsMoveStopSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + type$.legacy_DomainsMoveStop._as(object); + return H.setRuntimeTypeInfo([], type$.JSArray_legacy_Object); + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + type$.legacy_Iterable_legacy_Object._as(serialized); + return new U.DomainsMoveStopBuilder().build$0(); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_gDw; + }, + get$wireName: function() { + return "DomainsMoveStop"; + } + }; + U._$DomainsMoveAdjustAddressSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + return H.setRuntimeTypeInfo(["address", serializers.serialize$2$specifiedType(type$.legacy_DomainsMoveAdjustAddress._as(object).address, C.FullType_KlG)], type$.JSArray_legacy_Object); + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + var t1, key, value, $$v, t2, t3, + result = new U.DomainsMoveAdjustAddressBuilder(), + iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + for (t1 = type$.legacy_Address; iterator.moveNext$0();) { + key = H._asStringS(iterator.get$current(iterator)); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (key) { + case "address": + $$v = result._$v; + if ($$v != null) { + t2 = $$v.address; + t3 = new Z.AddressBuilder(); + t3._address$_$v = t2; + result._actions$_address = t3; + result._$v = null; + } + t2 = result._actions$_address; + if (t2 == null) + t2 = result._actions$_address = new Z.AddressBuilder(); + t3 = t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_KlG)); + if (t3 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + t2._address$_$v = t3; + break; + } + } + return result.build$0(); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_ssD; + }, + get$wireName: function() { + return "DomainsMoveAdjustAddress"; + } + }; + U._$DomainsMoveCommitSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + return H.setRuntimeTypeInfo(["domains_move", serializers.serialize$2$specifiedType(type$.legacy_DomainsMoveCommit._as(object).domains_move, C.FullType_KIf)], type$.JSArray_legacy_Object); + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + var t1, key, value, $$v, t2, t3, + result = new U.DomainsMoveCommitBuilder(), + iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + for (t1 = type$.legacy_DomainsMove; iterator.moveNext$0();) { + key = H._asStringS(iterator.get$current(iterator)); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (key) { + case "domains_move": + $$v = result._$v; + if ($$v != null) { + t2 = $$v.domains_move; + t2.toString; + t3 = new V.DomainsMoveBuilder(); + t3._domains_move$_$v = t2; + result._actions$_domains_move = t3; + result._$v = null; + } + t2 = result._actions$_domains_move; + if (t2 == null) + t2 = result._actions$_domains_move = new V.DomainsMoveBuilder(); + t3 = t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_KIf)); + if (t3 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + t2._domains_move$_$v = t3; + break; + } + } + return result.build$0(); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_0; + }, + get$wireName: function() { + return "DomainsMoveCommit"; + } + }; + U._$DNAEndsMoveStartSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + type$.legacy_DNAEndsMoveStart._as(object); + return H.setRuntimeTypeInfo(["offset", serializers.serialize$2$specifiedType(object.offset, C.FullType_kjq), "helix", serializers.serialize$2$specifiedType(object.helix, C.FullType_wEV)], type$.JSArray_legacy_Object); + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + var t1, key, value, t2, t3, + result = new U.DNAEndsMoveStartBuilder(), + iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + for (t1 = type$.legacy_Helix; iterator.moveNext$0();) { + key = H._asStringS(iterator.get$current(iterator)); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (key) { + case "offset": + t2 = H._asIntS(serializers.deserialize$2$specifiedType(value, C.FullType_kjq)); + result.get$_$this()._actions$_offset = t2; + break; + case "helix": + t2 = result.get$_$this(); + t3 = t2._actions$_helix; + if (t3 == null) { + t3 = new O.HelixBuilder(); + t3.get$_helix$_$this()._group = "default_group"; + t3.get$_helix$_$this()._min_offset = 0; + t3.get$_helix$_$this()._roll = 0; + t2._actions$_helix = t3; + t2 = t3; + } else + t2 = t3; + t3 = t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_wEV)); + if (t3 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + t2._helix$_$v = t3; + break; + } + } + return result.build$0(); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_ifL; + }, + get$wireName: function() { + return "DNAEndsMoveStart"; + } + }; + U._$DNAEndsMoveSetSelectedEndsSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + type$.legacy_DNAEndsMoveSetSelectedEnds._as(object); + return H.setRuntimeTypeInfo(["moves", serializers.serialize$2$specifiedType(object.moves, C.FullType_TgZ), "original_offset", serializers.serialize$2$specifiedType(object.original_offset, C.FullType_kjq), "helix", serializers.serialize$2$specifiedType(object.helix, C.FullType_wEV), "strands_affected", serializers.serialize$2$specifiedType(object.strands_affected, C.FullType_Y8O)], type$.JSArray_legacy_Object); + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + var t1, t2, t3, t4, t5, t6, t7, key, value, t8, t9, t10, t11, t12, _null = null, + result = new U.DNAEndsMoveSetSelectedEndsBuilder(), + iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + for (t1 = type$.legacy_BuiltSet_legacy_Object, t2 = type$.SetBuilder_legacy_Strand, t3 = type$.legacy_Helix, t4 = type$.legacy_BuiltList_legacy_Object, t5 = type$.legacy_DNAEndMove, t6 = type$.List_legacy_DNAEndMove, t7 = type$.ListBuilder_legacy_DNAEndMove; iterator.moveNext$0();) { + key = H._asStringS(iterator.get$current(iterator)); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (key) { + case "moves": + t8 = result.get$_$this(); + t9 = t8._actions$_moves; + if (t9 == null) { + t9 = new D.ListBuilder(t7); + t9.set$__ListBuilder__list(t6._as(P.List_List$from(C.List_empty, true, t5))); + t9.set$_listOwner(_null); + t8.set$_actions$_moves(t9); + t8 = t9; + } else + t8 = t9; + t9 = t4._as(serializers.deserialize$2$specifiedType(value, C.FullType_TgZ)); + t10 = t8.$ti; + t11 = t10._eval$1("_BuiltList<1>"); + t12 = t10._eval$1("List<1>"); + if (t11._is(t9)) { + t11._as(t9); + t8.set$__ListBuilder__list(t12._as(t9._list)); + t8.set$_listOwner(t9); + } else { + t8.set$__ListBuilder__list(t12._as(P.List_List$from(t9, true, t10._precomputed1))); + t8.set$_listOwner(_null); + } + break; + case "original_offset": + t8 = H._asIntS(serializers.deserialize$2$specifiedType(value, C.FullType_kjq)); + result.get$_$this()._actions$_original_offset = t8; + break; + case "helix": + t8 = result.get$_$this(); + t9 = t8._actions$_helix; + if (t9 == null) { + t9 = new O.HelixBuilder(); + t9.get$_helix$_$this()._group = "default_group"; + t9.get$_helix$_$this()._min_offset = 0; + t9.get$_helix$_$this()._roll = 0; + t8._actions$_helix = t9; + t8 = t9; + } else + t8 = t9; + t9 = t3._as(serializers.deserialize$2$specifiedType(value, C.FullType_wEV)); + if (t9 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + t8._helix$_$v = t9; + break; + case "strands_affected": + t8 = result.get$_$this(); + t9 = t8._strands_affected; + if (t9 == null) { + t9 = new X.SetBuilder(_null, $, _null, t2); + t9.replace$1(0, C.List_empty); + t8.set$_strands_affected(t9); + t8 = t9; + } else + t8 = t9; + t8.replace$1(0, t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_Y8O))); + break; + } + } + return result.build$0(); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_6Hc; + }, + get$wireName: function() { + return "DNAEndsMoveSetSelectedEnds"; + } + }; + U._$DNAEndsMoveAdjustOffsetSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + return H.setRuntimeTypeInfo(["offset", serializers.serialize$2$specifiedType(type$.legacy_DNAEndsMoveAdjustOffset._as(object).offset, C.FullType_kjq)], type$.JSArray_legacy_Object); + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + var key, value, t1, $$v, _$result, + result = new U.DNAEndsMoveAdjustOffsetBuilder(), + iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + for (; iterator.moveNext$0();) { + key = H._asStringS(iterator.get$current(iterator)); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (key) { + case "offset": + t1 = H._asIntS(serializers.deserialize$2$specifiedType(value, C.FullType_kjq)); + $$v = result._$v; + if ($$v != null) { + result._actions$_offset = $$v.offset; + result._$v = null; + } + result._actions$_offset = t1; + break; + } + } + _$result = result._$v; + if (_$result == null) { + t1 = result.get$_$this()._actions$_offset; + if (t1 == null) + H.throwExpression(Y.BuiltValueNullFieldError$("DNAEndsMoveAdjustOffset", "offset")); + _$result = U._$DNAEndsMoveAdjustOffset$_(t1); + } + return result._$v = _$result; + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_CZB; + }, + get$wireName: function() { + return "DNAEndsMoveAdjustOffset"; + } + }; + U._$DNAEndsMoveStopSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + type$.legacy_DNAEndsMoveStop._as(object); + return H.setRuntimeTypeInfo([], type$.JSArray_legacy_Object); + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + type$.legacy_Iterable_legacy_Object._as(serialized); + return new U._$DNAEndsMoveStop(); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_kmC; + }, + get$wireName: function() { + return "DNAEndsMoveStop"; + } + }; + U._$DNAEndsMoveCommitSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + return H.setRuntimeTypeInfo(["dna_ends_move", serializers.serialize$2$specifiedType(type$.legacy_DNAEndsMoveCommit._as(object).dna_ends_move, C.FullType_gg9)], type$.JSArray_legacy_Object); + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + var t1, key, value, $$v, t2, t3, + result = new U.DNAEndsMoveCommitBuilder(), + iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + for (t1 = type$.legacy_DNAEndsMove; iterator.moveNext$0();) { + key = H._asStringS(iterator.get$current(iterator)); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (key) { + case "dna_ends_move": + $$v = result._$v; + if ($$v != null) { + t2 = $$v.dna_ends_move; + t2.toString; + t3 = new B.DNAEndsMoveBuilder(); + t3._dna_ends_move$_$v = t2; + result._dna_ends_move = t3; + result._$v = null; + } + t2 = result._dna_ends_move; + if (t2 == null) + t2 = result._dna_ends_move = new B.DNAEndsMoveBuilder(); + t3 = t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_gg9)); + if (t3 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + t2._dna_ends_move$_$v = t3; + break; + } + } + return result.build$0(); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_9pj; + }, + get$wireName: function() { + return "DNAEndsMoveCommit"; + } + }; + U._$DNAExtensionsMoveStartSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + type$.legacy_DNAExtensionsMoveStart._as(object); + return H.setRuntimeTypeInfo(["start_point", serializers.serialize$2$specifiedType(object.start_point, C.FullType_8eb), "helix", serializers.serialize$2$specifiedType(object.helix, C.FullType_wEV)], type$.JSArray_legacy_Object); + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + var t1, t2, key, value, t3, t4, + result = new U.DNAExtensionsMoveStartBuilder(), + iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + for (t1 = type$.legacy_Helix, t2 = type$.legacy_Point_legacy_num; iterator.moveNext$0();) { + key = H._asStringS(iterator.get$current(iterator)); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (key) { + case "start_point": + t3 = t2._as(t2._as(serializers.deserialize$2$specifiedType(value, C.FullType_8eb))); + result.get$_$this().set$_actions$_start_point(t3); + break; + case "helix": + t3 = result.get$_$this(); + t4 = t3._actions$_helix; + if (t4 == null) { + t4 = new O.HelixBuilder(); + t4.get$_helix$_$this()._group = "default_group"; + t4.get$_helix$_$this()._min_offset = 0; + t4.get$_helix$_$this()._roll = 0; + t3._actions$_helix = t4; + t3 = t4; + } else + t3 = t4; + t4 = t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_wEV)); + if (t4 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + t3._helix$_$v = t4; + break; + } + } + return result.build$0(); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_SbI; + }, + get$wireName: function() { + return "DNAExtensionsMoveStart"; + } + }; + U._$DNAExtensionsMoveSetSelectedExtensionEndsSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + type$.legacy_DNAExtensionsMoveSetSelectedExtensionEnds._as(object); + return H.setRuntimeTypeInfo(["moves", serializers.serialize$2$specifiedType(object.moves, C.FullType_j5B), "original_point", serializers.serialize$2$specifiedType(object.original_point, C.FullType_8eb), "strands_affected", serializers.serialize$2$specifiedType(object.strands_affected, C.FullType_Y8O), "helix", serializers.serialize$2$specifiedType(object.helix, C.FullType_wEV)], type$.JSArray_legacy_Object); + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + var t1, t2, t3, t4, t5, t6, t7, t8, key, value, t9, t10, t11, t12, t13, _null = null, + result = new U.DNAExtensionsMoveSetSelectedExtensionEndsBuilder(), + iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + for (t1 = type$.legacy_Helix, t2 = type$.legacy_BuiltSet_legacy_Object, t3 = type$.SetBuilder_legacy_Strand, t4 = type$.legacy_Point_legacy_num, t5 = type$.legacy_BuiltList_legacy_Object, t6 = type$.legacy_DNAExtensionMove, t7 = type$.List_legacy_DNAExtensionMove, t8 = type$.ListBuilder_legacy_DNAExtensionMove; iterator.moveNext$0();) { + key = H._asStringS(iterator.get$current(iterator)); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (key) { + case "moves": + t9 = result.get$_$this(); + t10 = t9._actions$_moves; + if (t10 == null) { + t10 = new D.ListBuilder(t8); + t10.set$__ListBuilder__list(t7._as(P.List_List$from(C.List_empty, true, t6))); + t10.set$_listOwner(_null); + t9.set$_actions$_moves(t10); + t9 = t10; + } else + t9 = t10; + t10 = t5._as(serializers.deserialize$2$specifiedType(value, C.FullType_j5B)); + t11 = t9.$ti; + t12 = t11._eval$1("_BuiltList<1>"); + t13 = t11._eval$1("List<1>"); + if (t12._is(t10)) { + t12._as(t10); + t9.set$__ListBuilder__list(t13._as(t10._list)); + t9.set$_listOwner(t10); + } else { + t9.set$__ListBuilder__list(t13._as(P.List_List$from(t10, true, t11._precomputed1))); + t9.set$_listOwner(_null); + } + break; + case "original_point": + t9 = t4._as(t4._as(serializers.deserialize$2$specifiedType(value, C.FullType_8eb))); + result.get$_$this().set$_original_point(t9); + break; + case "strands_affected": + t9 = result.get$_$this(); + t10 = t9._strands_affected; + if (t10 == null) { + t10 = new X.SetBuilder(_null, $, _null, t3); + t10.replace$1(0, C.List_empty); + t9.set$_strands_affected(t10); + t9 = t10; + } else + t9 = t10; + t9.replace$1(0, t2._as(serializers.deserialize$2$specifiedType(value, C.FullType_Y8O))); + break; + case "helix": + t9 = result.get$_$this(); + t10 = t9._actions$_helix; + if (t10 == null) { + t10 = new O.HelixBuilder(); + t10.get$_helix$_$this()._group = "default_group"; + t10.get$_helix$_$this()._min_offset = 0; + t10.get$_helix$_$this()._roll = 0; + t9._actions$_helix = t10; + t9 = t10; + } else + t9 = t10; + t10 = t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_wEV)); + if (t10 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + t9._helix$_$v = t10; + break; + } + } + return result.build$0(); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_43h; + }, + get$wireName: function() { + return string$.DNAExt; + } + }; + U._$DNAExtensionsMoveAdjustPositionSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + return H.setRuntimeTypeInfo(["position", serializers.serialize$2$specifiedType(type$.legacy_DNAExtensionsMoveAdjustPosition._as(object).position, C.FullType_8eb)], type$.JSArray_legacy_Object); + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + var t1, key, value, t2, $$v, _$result, + result = new U.DNAExtensionsMoveAdjustPositionBuilder(), + iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + for (t1 = type$.legacy_Point_legacy_num; iterator.moveNext$0();) { + key = H._asStringS(iterator.get$current(iterator)); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (key) { + case "position": + t2 = t1._as(t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_8eb))); + $$v = result._$v; + if ($$v != null) { + result.set$_actions$_position(0, $$v.position); + result._$v = null; + } + result.set$_actions$_position(0, t2); + break; + } + } + _$result = result._$v; + if (_$result == null) { + t1 = result.get$_$this()._actions$_position; + if (t1 == null) + H.throwExpression(Y.BuiltValueNullFieldError$("DNAExtensionsMoveAdjustPosition", "position")); + _$result = U._$DNAExtensionsMoveAdjustPosition$_(t1); + } + return result._$v = _$result; + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_Mhf; + }, + get$wireName: function() { + return "DNAExtensionsMoveAdjustPosition"; + } + }; + U._$DNAExtensionsMoveStopSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + type$.legacy_DNAExtensionsMoveStop._as(object); + return H.setRuntimeTypeInfo([], type$.JSArray_legacy_Object); + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + type$.legacy_Iterable_legacy_Object._as(serialized); + return new U._$DNAExtensionsMoveStop(); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_etd; + }, + get$wireName: function() { + return "DNAExtensionsMoveStop"; + } + }; + U._$DNAExtensionsMoveCommitSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + return H.setRuntimeTypeInfo(["dna_extensions_move", serializers.serialize$2$specifiedType(type$.legacy_DNAExtensionsMoveCommit._as(object).dna_extensions_move, C.FullType_Ugm)], type$.JSArray_legacy_Object); + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + var t1, key, value, $$v, t2, t3, + result = new U.DNAExtensionsMoveCommitBuilder(), + iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + for (t1 = type$.legacy_DNAExtensionsMove; iterator.moveNext$0();) { + key = H._asStringS(iterator.get$current(iterator)); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (key) { + case "dna_extensions_move": + $$v = result._$v; + if ($$v != null) { + t2 = $$v.dna_extensions_move; + t2.toString; + t3 = new K.DNAExtensionsMoveBuilder(); + t3._dna_extensions_move$_$v = t2; + result._dna_extensions_move = t3; + result._$v = null; + } + t2 = result._dna_extensions_move; + if (t2 == null) + t2 = result._dna_extensions_move = new K.DNAExtensionsMoveBuilder(); + t3 = t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_Ugm)); + if (t3 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + t2._dna_extensions_move$_$v = t3; + break; + } + } + return result.build$0(); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_OPz; + }, + get$wireName: function() { + return "DNAExtensionsMoveCommit"; + } + }; + U._$HelixGroupMoveStartSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + return H.setRuntimeTypeInfo(["mouse_point", serializers.serialize$2$specifiedType(type$.legacy_HelixGroupMoveStart._as(object).mouse_point, C.FullType_8eb)], type$.JSArray_legacy_Object); + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + var t1, key, value, t2, $$v, _$result, + result = new U.HelixGroupMoveStartBuilder(), + iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + for (t1 = type$.legacy_Point_legacy_num; iterator.moveNext$0();) { + key = H._asStringS(iterator.get$current(iterator)); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (key) { + case "mouse_point": + t2 = t1._as(t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_8eb))); + $$v = result._$v; + if ($$v != null) { + result.set$_mouse_point($$v.mouse_point); + result._$v = null; + } + result.set$_mouse_point(t2); + break; + } + } + _$result = result._$v; + if (_$result == null) { + t1 = result.get$_$this()._mouse_point; + if (t1 == null) + H.throwExpression(Y.BuiltValueNullFieldError$("HelixGroupMoveStart", "mouse_point")); + _$result = U._$HelixGroupMoveStart$_(t1); + } + return result._$v = _$result; + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_hkU; + }, + get$wireName: function() { + return "HelixGroupMoveStart"; + } + }; + U._$HelixGroupMoveCreateSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + return H.setRuntimeTypeInfo(["helix_group_move", serializers.serialize$2$specifiedType(type$.legacy_HelixGroupMoveCreate._as(object).helix_group_move, C.FullType_oKF)], type$.JSArray_legacy_Object); + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + var t1, key, value, $$v, t2, t3, + result = new U.HelixGroupMoveCreateBuilder(), + iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + for (t1 = type$.legacy_HelixGroupMove; iterator.moveNext$0();) { + key = H._asStringS(iterator.get$current(iterator)); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (key) { + case "helix_group_move": + $$v = result._$v; + if ($$v != null) { + t2 = $$v.helix_group_move; + t2.toString; + t3 = new G.HelixGroupMoveBuilder(); + t3._helix_group_move$_$v = t2; + result._helix_group_move = t3; + result._$v = null; + } + t2 = result._helix_group_move; + if (t2 == null) + t2 = result._helix_group_move = new G.HelixGroupMoveBuilder(); + t3 = t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_oKF)); + if (t3 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + t2._helix_group_move$_$v = t3; + break; + } + } + return result.build$0(); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_1nx; + }, + get$wireName: function() { + return "HelixGroupMoveCreate"; + } + }; + U._$HelixGroupMoveAdjustTranslationSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + return H.setRuntimeTypeInfo(["mouse_point", serializers.serialize$2$specifiedType(type$.legacy_HelixGroupMoveAdjustTranslation._as(object).mouse_point, C.FullType_8eb)], type$.JSArray_legacy_Object); + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + var t1, key, value, t2, $$v, _$result, + result = new U.HelixGroupMoveAdjustTranslationBuilder(), + iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + for (t1 = type$.legacy_Point_legacy_num; iterator.moveNext$0();) { + key = H._asStringS(iterator.get$current(iterator)); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (key) { + case "mouse_point": + t2 = t1._as(t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_8eb))); + $$v = result._$v; + if ($$v != null) { + result.set$_mouse_point($$v.mouse_point); + result._$v = null; + } + result.set$_mouse_point(t2); + break; + } + } + _$result = result._$v; + if (_$result == null) { + t1 = result.get$_$this()._mouse_point; + if (t1 == null) + H.throwExpression(Y.BuiltValueNullFieldError$("HelixGroupMoveAdjustTranslation", "mouse_point")); + _$result = U._$HelixGroupMoveAdjustTranslation$_(t1); + } + return result._$v = _$result; + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_iHz; + }, + get$wireName: function() { + return "HelixGroupMoveAdjustTranslation"; + } + }; + U._$HelixGroupMoveStopSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + type$.legacy_HelixGroupMoveStop._as(object); + return H.setRuntimeTypeInfo([], type$.JSArray_legacy_Object); + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + type$.legacy_Iterable_legacy_Object._as(serialized); + return new U.HelixGroupMoveStopBuilder().build$0(); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_PcW; + }, + get$wireName: function() { + return "HelixGroupMoveStop"; + } + }; + U._$HelixGroupMoveCommitSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + return H.setRuntimeTypeInfo(["helix_group_move", serializers.serialize$2$specifiedType(type$.legacy_HelixGroupMoveCommit._as(object).helix_group_move, C.FullType_oKF)], type$.JSArray_legacy_Object); + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + var t1, key, value, $$v, t2, t3, + result = new U.HelixGroupMoveCommitBuilder(), + iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + for (t1 = type$.legacy_HelixGroupMove; iterator.moveNext$0();) { + key = H._asStringS(iterator.get$current(iterator)); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (key) { + case "helix_group_move": + $$v = result._$v; + if ($$v != null) { + t2 = $$v.helix_group_move; + t2.toString; + t3 = new G.HelixGroupMoveBuilder(); + t3._helix_group_move$_$v = t2; + result._helix_group_move = t3; + result._$v = null; + } + t2 = result._helix_group_move; + if (t2 == null) + t2 = result._helix_group_move = new G.HelixGroupMoveBuilder(); + t3 = t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_oKF)); + if (t3 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + t2._helix_group_move$_$v = t3; + break; + } + } + return result.build$0(); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_ziQ; + }, + get$wireName: function() { + return "HelixGroupMoveCommit"; + } + }; + U._$AssignDNASerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + type$.legacy_AssignDNA._as(object); + return H.setRuntimeTypeInfo(["strand", serializers.serialize$2$specifiedType(object.strand, C.FullType_w0x), "dna_assign_options", serializers.serialize$2$specifiedType(object.dna_assign_options, C.FullType_eRS)], type$.JSArray_legacy_Object); + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + var t1, t2, key, value, t3, t4, + result = new U.AssignDNABuilder(), + iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + for (t1 = type$.legacy_DNAAssignOptions, t2 = type$.legacy_Strand; iterator.moveNext$0();) { + key = H._asStringS(iterator.get$current(iterator)); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (key) { + case "strand": + t3 = result.get$_$this(); + t4 = t3._strand; + t3 = t4 == null ? t3._strand = new E.StrandBuilder() : t4; + t4 = t2._as(serializers.deserialize$2$specifiedType(value, C.FullType_w0x)); + if (t4 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + t3._strand$_$v = t4; + break; + case "dna_assign_options": + t3 = result.get$_$this(); + t4 = t3._actions$_dna_assign_options; + if (t4 == null) { + t4 = new X.DNAAssignOptionsBuilder(); + t4.get$_dna_assign_options$_$this()._dna_assign_options$_dna_sequence = null; + t4.get$_dna_assign_options$_$this()._use_predefined_dna_sequence = false; + t4.get$_dna_assign_options$_$this()._assign_complements = true; + t4.get$_dna_assign_options$_$this()._disable_change_sequence_bound_strand = true; + t4.get$_dna_assign_options$_$this()._m13_rotation = 5587; + t3._actions$_dna_assign_options = t4; + t3 = t4; + } else + t3 = t4; + t4 = t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_eRS)); + if (t4 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + t3._dna_assign_options$_$v = t4; + break; + } + } + return result.build$0(); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_fvk; + }, + get$wireName: function() { + return "AssignDNA"; + } + }; + U._$AssignDNAComplementFromBoundStrandsSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + return H.setRuntimeTypeInfo(["strands", serializers.serialize$2$specifiedType(type$.legacy_AssignDNAComplementFromBoundStrands._as(object).strands, C.FullType_2No)], type$.JSArray_legacy_Object); + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + var t1, t2, t3, t4, key, value, $$v, t5, t6, t7, t8, t9, + result = new U.AssignDNAComplementFromBoundStrandsBuilder(), + iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + for (t1 = type$.legacy_BuiltList_legacy_Object, t2 = type$.legacy_Strand, t3 = type$.List_legacy_Strand, t4 = type$.ListBuilder_legacy_Strand; iterator.moveNext$0();) { + key = H._asStringS(iterator.get$current(iterator)); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (key) { + case "strands": + $$v = result._$v; + if ($$v != null) { + t5 = $$v.strands; + t5.toString; + t6 = t5.$ti; + t7 = new D.ListBuilder(t6._eval$1("ListBuilder<1>")); + t8 = t6._eval$1("_BuiltList<1>"); + t9 = t6._eval$1("List<1>"); + if (t8._is(t5)) { + t8._as(t5); + t7.set$__ListBuilder__list(t9._as(t5._list)); + t7.set$_listOwner(t5); + } else { + t7.set$__ListBuilder__list(t9._as(P.List_List$from(t5, true, t6._precomputed1))); + t7.set$_listOwner(null); + } + result.set$_actions$_strands(t7); + result._$v = null; + } + t5 = result._actions$_strands; + if (t5 == null) { + t5 = new D.ListBuilder(t4); + t5.set$__ListBuilder__list(t3._as(P.List_List$from(C.List_empty, true, t2))); + t5.set$_listOwner(null); + result.set$_actions$_strands(t5); + } + t6 = t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_2No)); + t7 = t5.$ti; + t8 = t7._eval$1("_BuiltList<1>"); + t9 = t7._eval$1("List<1>"); + if (t8._is(t6)) { + t8._as(t6); + t5.set$__ListBuilder__list(t9._as(t6._list)); + t5.set$_listOwner(t6); + } else { + t5.set$__ListBuilder__list(t9._as(P.List_List$from(t6, true, t7._precomputed1))); + t5.set$_listOwner(null); + } + break; + } + } + return result.build$0(); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_1YD; + }, + get$wireName: function() { + return "AssignDNAComplementFromBoundStrands"; + } + }; + U._$AssignDomainNameComplementFromBoundStrandsSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + return H.setRuntimeTypeInfo(["strands", serializers.serialize$2$specifiedType(type$.legacy_AssignDomainNameComplementFromBoundStrands._as(object).strands, C.FullType_2No)], type$.JSArray_legacy_Object); + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + var t1, t2, t3, t4, key, value, $$v, t5, t6, t7, t8, t9, + result = new U.AssignDomainNameComplementFromBoundStrandsBuilder(), + iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + for (t1 = type$.legacy_BuiltList_legacy_Object, t2 = type$.legacy_Strand, t3 = type$.List_legacy_Strand, t4 = type$.ListBuilder_legacy_Strand; iterator.moveNext$0();) { + key = H._asStringS(iterator.get$current(iterator)); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (key) { + case "strands": + $$v = result._$v; + if ($$v != null) { + t5 = $$v.strands; + t5.toString; + t6 = t5.$ti; + t7 = new D.ListBuilder(t6._eval$1("ListBuilder<1>")); + t8 = t6._eval$1("_BuiltList<1>"); + t9 = t6._eval$1("List<1>"); + if (t8._is(t5)) { + t8._as(t5); + t7.set$__ListBuilder__list(t9._as(t5._list)); + t7.set$_listOwner(t5); + } else { + t7.set$__ListBuilder__list(t9._as(P.List_List$from(t5, true, t6._precomputed1))); + t7.set$_listOwner(null); + } + result.set$_actions$_strands(t7); + result._$v = null; + } + t5 = result._actions$_strands; + if (t5 == null) { + t5 = new D.ListBuilder(t4); + t5.set$__ListBuilder__list(t3._as(P.List_List$from(C.List_empty, true, t2))); + t5.set$_listOwner(null); + result.set$_actions$_strands(t5); + } + t6 = t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_2No)); + t7 = t5.$ti; + t8 = t7._eval$1("_BuiltList<1>"); + t9 = t7._eval$1("List<1>"); + if (t8._is(t6)) { + t8._as(t6); + t5.set$__ListBuilder__list(t9._as(t6._list)); + t5.set$_listOwner(t6); + } else { + t5.set$__ListBuilder__list(t9._as(P.List_List$from(t6, true, t7._precomputed1))); + t5.set$_listOwner(null); + } + break; + } + } + return result.build$0(); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_eZu; + }, + get$wireName: function() { + return string$.AssignS; + } + }; + U._$AssignDomainNameComplementFromBoundDomainsSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + return H.setRuntimeTypeInfo(["domains", serializers.serialize$2$specifiedType(type$.legacy_AssignDomainNameComplementFromBoundDomains._as(object).domains, C.FullType_dli)], type$.JSArray_legacy_Object); + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + var t1, t2, t3, t4, key, value, $$v, t5, t6, t7, t8, t9, + result = new U.AssignDomainNameComplementFromBoundDomainsBuilder(), + iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + for (t1 = type$.legacy_BuiltList_legacy_Object, t2 = type$.legacy_Domain, t3 = type$.List_legacy_Domain, t4 = type$.ListBuilder_legacy_Domain; iterator.moveNext$0();) { + key = H._asStringS(iterator.get$current(iterator)); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (key) { + case "domains": + $$v = result._$v; + if ($$v != null) { + t5 = $$v.domains; + t5.toString; + t6 = t5.$ti; + t7 = new D.ListBuilder(t6._eval$1("ListBuilder<1>")); + t8 = t6._eval$1("_BuiltList<1>"); + t9 = t6._eval$1("List<1>"); + if (t8._is(t5)) { + t8._as(t5); + t7.set$__ListBuilder__list(t9._as(t5._list)); + t7.set$_listOwner(t5); + } else { + t7.set$__ListBuilder__list(t9._as(P.List_List$from(t5, true, t6._precomputed1))); + t7.set$_listOwner(null); + } + result.set$_domains(t7); + result._$v = null; + } + t5 = result._domains; + if (t5 == null) { + t5 = new D.ListBuilder(t4); + t5.set$__ListBuilder__list(t3._as(P.List_List$from(C.List_empty, true, t2))); + t5.set$_listOwner(null); + result.set$_domains(t5); + } + t6 = t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_dli)); + t7 = t5.$ti; + t8 = t7._eval$1("_BuiltList<1>"); + t9 = t7._eval$1("List<1>"); + if (t8._is(t6)) { + t8._as(t6); + t5.set$__ListBuilder__list(t9._as(t6._list)); + t5.set$_listOwner(t6); + } else { + t5.set$__ListBuilder__list(t9._as(P.List_List$from(t6, true, t7._precomputed1))); + t5.set$_listOwner(null); + } + break; + } + } + return result.build$0(); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_gc6; + }, + get$wireName: function() { + return string$.AssignD; + } + }; + U._$RemoveDNASerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + type$.legacy_RemoveDNA._as(object); + return H.setRuntimeTypeInfo(["strand", serializers.serialize$2$specifiedType(object.strand, C.FullType_w0x), "remove_complements", serializers.serialize$2$specifiedType(object.remove_complements, C.FullType_MtR), "remove_all", serializers.serialize$2$specifiedType(object.remove_all, C.FullType_MtR)], type$.JSArray_legacy_Object); + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + var t1, key, value, t2, t3, + result = new U.RemoveDNABuilder(), + iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + for (t1 = type$.legacy_Strand; iterator.moveNext$0();) { + key = H._asStringS(iterator.get$current(iterator)); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (key) { + case "strand": + t2 = result.get$_$this(); + t3 = t2._strand; + t2 = t3 == null ? t2._strand = new E.StrandBuilder() : t3; + t3 = t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_w0x)); + if (t3 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + t2._strand$_$v = t3; + break; + case "remove_complements": + t2 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); + result.get$_$this()._remove_complements = t2; + break; + case "remove_all": + t2 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); + result.get$_$this()._remove_all = t2; + break; + } + } + return result.build$0(); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_URr; + }, + get$wireName: function() { + return "RemoveDNA"; + } + }; + U._$InsertionAddSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + type$.legacy_InsertionAdd._as(object); + return H.setRuntimeTypeInfo(["domain", serializers.serialize$2$specifiedType(object.domain, C.FullType_fnc), "offset", serializers.serialize$2$specifiedType(object.offset, C.FullType_kjq), "all_helices", serializers.serialize$2$specifiedType(object.all_helices, C.FullType_MtR)], type$.JSArray_legacy_Object); + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + var t1, key, value, t2, t3, + result = new U.InsertionAddBuilder(), + iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + for (t1 = type$.legacy_Domain; iterator.moveNext$0();) { + key = H._asStringS(iterator.get$current(iterator)); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (key) { + case "domain": + t2 = result.get$_$this(); + t3 = t2._actions$_domain; + t2 = t3 == null ? t2._actions$_domain = new G.DomainBuilder() : t3; + t3 = t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_fnc)); + if (t3 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + t2._domain$_$v = t3; + break; + case "offset": + t2 = H._asIntS(serializers.deserialize$2$specifiedType(value, C.FullType_kjq)); + result.get$_$this()._actions$_offset = t2; + break; + case "all_helices": + t2 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); + result.get$_$this()._all_helices = t2; + break; + } + } + return result.build$0(); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_oyU; + }, + get$wireName: function() { + return "InsertionAdd"; + } + }; + U._$InsertionLengthChangeSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + type$.legacy_InsertionLengthChange._as(object); + return H.setRuntimeTypeInfo(["domain", serializers.serialize$2$specifiedType(object.domain, C.FullType_fnc), "insertion", serializers.serialize$2$specifiedType(object.insertion, C.FullType_EKW), "length", serializers.serialize$2$specifiedType(object.length, C.FullType_kjq), "all_helices", serializers.serialize$2$specifiedType(object.all_helices, C.FullType_MtR)], type$.JSArray_legacy_Object); + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + var t1, t2, key, value, t3, t4, + result = new U.InsertionLengthChangeBuilder(), + iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + for (t1 = type$.legacy_Insertion, t2 = type$.legacy_Domain; iterator.moveNext$0();) { + key = H._asStringS(iterator.get$current(iterator)); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (key) { + case "domain": + t3 = result.get$_$this(); + t4 = t3._actions$_domain; + t3 = t4 == null ? t3._actions$_domain = new G.DomainBuilder() : t4; + t4 = t2._as(serializers.deserialize$2$specifiedType(value, C.FullType_fnc)); + if (t4 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + t3._domain$_$v = t4; + break; + case "insertion": + t3 = result.get$_$this(); + t4 = t3._insertion; + t3 = t4 == null ? t3._insertion = new G.InsertionBuilder() : t4; + t4 = t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_EKW)); + if (t4 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + t3._domain$_$v = t4; + break; + case "length": + t3 = H._asIntS(serializers.deserialize$2$specifiedType(value, C.FullType_kjq)); + result.get$_$this()._actions$_length = t3; + break; + case "all_helices": + t3 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); + result.get$_$this()._all_helices = t3; + break; + } + } + return result.build$0(); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_86y; + }, + get$wireName: function() { + return "InsertionLengthChange"; + } + }; + U._$InsertionsLengthChangeSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + type$.legacy_InsertionsLengthChange._as(object); + return H.setRuntimeTypeInfo(["insertions", serializers.serialize$2$specifiedType(object.insertions, C.FullType_i7r), "domains", serializers.serialize$2$specifiedType(object.domains, C.FullType_dli), "length", serializers.serialize$2$specifiedType(object.length, C.FullType_kjq), "all_helices", serializers.serialize$2$specifiedType(object.all_helices, C.FullType_MtR)], type$.JSArray_legacy_Object); + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + var t1, t2, t3, t4, t5, t6, t7, key, value, t8, t9, t10, t11, t12, _null = null, + result = new U.InsertionsLengthChangeBuilder(), + iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + for (t1 = type$.legacy_BuiltList_legacy_Object, t2 = type$.legacy_Domain, t3 = type$.List_legacy_Domain, t4 = type$.ListBuilder_legacy_Domain, t5 = type$.legacy_Insertion, t6 = type$.List_legacy_Insertion, t7 = type$.ListBuilder_legacy_Insertion; iterator.moveNext$0();) { + key = H._asStringS(iterator.get$current(iterator)); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (key) { + case "insertions": + t8 = result.get$_$this(); + t9 = t8._actions$_insertions; + if (t9 == null) { + t9 = new D.ListBuilder(t7); + t9.set$__ListBuilder__list(t6._as(P.List_List$from(C.List_empty, true, t5))); + t9.set$_listOwner(_null); + t8.set$_actions$_insertions(t9); + t8 = t9; + } else + t8 = t9; + t9 = t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_i7r)); + t10 = t8.$ti; + t11 = t10._eval$1("_BuiltList<1>"); + t12 = t10._eval$1("List<1>"); + if (t11._is(t9)) { + t11._as(t9); + t8.set$__ListBuilder__list(t12._as(t9._list)); + t8.set$_listOwner(t9); + } else { + t8.set$__ListBuilder__list(t12._as(P.List_List$from(t9, true, t10._precomputed1))); + t8.set$_listOwner(_null); + } + break; + case "domains": + t8 = result.get$_$this(); + t9 = t8._domains; + if (t9 == null) { + t9 = new D.ListBuilder(t4); + t9.set$__ListBuilder__list(t3._as(P.List_List$from(C.List_empty, true, t2))); + t9.set$_listOwner(_null); + t8.set$_domains(t9); + t8 = t9; + } else + t8 = t9; + t9 = t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_dli)); + t10 = t8.$ti; + t11 = t10._eval$1("_BuiltList<1>"); + t12 = t10._eval$1("List<1>"); + if (t11._is(t9)) { + t11._as(t9); + t8.set$__ListBuilder__list(t12._as(t9._list)); + t8.set$_listOwner(t9); + } else { + t8.set$__ListBuilder__list(t12._as(P.List_List$from(t9, true, t10._precomputed1))); + t8.set$_listOwner(_null); + } + break; + case "length": + t8 = H._asIntS(serializers.deserialize$2$specifiedType(value, C.FullType_kjq)); + result.get$_$this()._actions$_length = t8; + break; + case "all_helices": + t8 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); + result.get$_$this()._all_helices = t8; + break; + } + } + return result.build$0(); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_5uk; + }, + get$wireName: function() { + return "InsertionsLengthChange"; + } + }; + U._$DeletionAddSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + type$.legacy_DeletionAdd._as(object); + return H.setRuntimeTypeInfo(["domain", serializers.serialize$2$specifiedType(object.domain, C.FullType_fnc), "offset", serializers.serialize$2$specifiedType(object.offset, C.FullType_kjq), "all_helices", serializers.serialize$2$specifiedType(object.all_helices, C.FullType_MtR)], type$.JSArray_legacy_Object); + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + var t1, key, value, t2, t3, + result = new U.DeletionAddBuilder(), + iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + for (t1 = type$.legacy_Domain; iterator.moveNext$0();) { + key = H._asStringS(iterator.get$current(iterator)); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (key) { + case "domain": + t2 = result.get$_$this(); + t3 = t2._actions$_domain; + t2 = t3 == null ? t2._actions$_domain = new G.DomainBuilder() : t3; + t3 = t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_fnc)); + if (t3 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + t2._domain$_$v = t3; + break; + case "offset": + t2 = H._asIntS(serializers.deserialize$2$specifiedType(value, C.FullType_kjq)); + result.get$_$this()._actions$_offset = t2; + break; + case "all_helices": + t2 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); + result.get$_$this()._all_helices = t2; + break; + } + } + return result.build$0(); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_kjq; + }, + get$wireName: function() { + return "DeletionAdd"; + } + }; + U._$InsertionRemoveSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + type$.legacy_InsertionRemove._as(object); + return H.setRuntimeTypeInfo(["domain", serializers.serialize$2$specifiedType(object.domain, C.FullType_fnc), "insertion", serializers.serialize$2$specifiedType(object.insertion, C.FullType_EKW), "all_helices", serializers.serialize$2$specifiedType(object.all_helices, C.FullType_MtR)], type$.JSArray_legacy_Object); + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + var t1, t2, key, value, t3, t4, + result = new U.InsertionRemoveBuilder(), + iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + for (t1 = type$.legacy_Insertion, t2 = type$.legacy_Domain; iterator.moveNext$0();) { + key = H._asStringS(iterator.get$current(iterator)); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (key) { + case "domain": + t3 = result.get$_$this(); + t4 = t3._actions$_domain; + t3 = t4 == null ? t3._actions$_domain = new G.DomainBuilder() : t4; + t4 = t2._as(serializers.deserialize$2$specifiedType(value, C.FullType_fnc)); + if (t4 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + t3._domain$_$v = t4; + break; + case "insertion": + t3 = result.get$_$this(); + t4 = t3._insertion; + t3 = t4 == null ? t3._insertion = new G.InsertionBuilder() : t4; + t4 = t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_EKW)); + if (t4 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + t3._domain$_$v = t4; + break; + case "all_helices": + t3 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); + result.get$_$this()._all_helices = t3; + break; + } + } + return result.build$0(); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_yXb; + }, + get$wireName: function() { + return "InsertionRemove"; + } + }; + U._$DeletionRemoveSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + type$.legacy_DeletionRemove._as(object); + return H.setRuntimeTypeInfo(["domain", serializers.serialize$2$specifiedType(object.domain, C.FullType_fnc), "offset", serializers.serialize$2$specifiedType(object.offset, C.FullType_kjq), "all_helices", serializers.serialize$2$specifiedType(object.all_helices, C.FullType_MtR)], type$.JSArray_legacy_Object); + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + var t1, key, value, t2, t3, + result = new U.DeletionRemoveBuilder(), + iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + for (t1 = type$.legacy_Domain; iterator.moveNext$0();) { + key = H._asStringS(iterator.get$current(iterator)); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (key) { + case "domain": + t2 = result.get$_$this(); + t3 = t2._actions$_domain; + t2 = t3 == null ? t2._actions$_domain = new G.DomainBuilder() : t3; + t3 = t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_fnc)); + if (t3 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + t2._domain$_$v = t3; + break; + case "offset": + t2 = H._asIntS(serializers.deserialize$2$specifiedType(value, C.FullType_kjq)); + result.get$_$this()._actions$_offset = t2; + break; + case "all_helices": + t2 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); + result.get$_$this()._all_helices = t2; + break; + } + } + return result.build$0(); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_qNA0; + }, + get$wireName: function() { + return "DeletionRemove"; + } + }; + U._$ScalePurificationVendorFieldsAssignSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + type$.legacy_ScalePurificationVendorFieldsAssign._as(object); + return H.setRuntimeTypeInfo(["strand", serializers.serialize$2$specifiedType(object.strand, C.FullType_w0x), "vendor_fields", serializers.serialize$2$specifiedType(object.vendor_fields, C.FullType_Unx)], type$.JSArray_legacy_Object); + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + var t1, t2, key, value, t3, t4, + result = new U.ScalePurificationVendorFieldsAssignBuilder(), + iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + for (t1 = type$.legacy_VendorFields, t2 = type$.legacy_Strand; iterator.moveNext$0();) { + key = H._asStringS(iterator.get$current(iterator)); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (key) { + case "strand": + t3 = result.get$_$this(); + t4 = t3._strand; + t3 = t4 == null ? t3._strand = new E.StrandBuilder() : t4; + t4 = t2._as(serializers.deserialize$2$specifiedType(value, C.FullType_w0x)); + if (t4 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + t3._strand$_$v = t4; + break; + case "vendor_fields": + t3 = result.get$_$this(); + t4 = t3._actions$_vendor_fields; + t3 = t4 == null ? t3._actions$_vendor_fields = new T.VendorFieldsBuilder() : t4; + t4 = t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_Unx)); + if (t4 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + t3._vendor_fields$_$v = t4; + break; + } + } + return result.build$0(); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_AeS; + }, + get$wireName: function() { + return "ScalePurificationVendorFieldsAssign"; + } + }; + U._$PlateWellVendorFieldsAssignSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + type$.legacy_PlateWellVendorFieldsAssign._as(object); + return H.setRuntimeTypeInfo(["strand", serializers.serialize$2$specifiedType(object.strand, C.FullType_w0x), "vendor_fields", serializers.serialize$2$specifiedType(object.vendor_fields, C.FullType_Unx)], type$.JSArray_legacy_Object); + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + var t1, t2, key, value, t3, t4, + result = new U.PlateWellVendorFieldsAssignBuilder(), + iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + for (t1 = type$.legacy_VendorFields, t2 = type$.legacy_Strand; iterator.moveNext$0();) { + key = H._asStringS(iterator.get$current(iterator)); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (key) { + case "strand": + t3 = result.get$_$this(); + t4 = t3._strand; + t3 = t4 == null ? t3._strand = new E.StrandBuilder() : t4; + t4 = t2._as(serializers.deserialize$2$specifiedType(value, C.FullType_w0x)); + if (t4 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + t3._strand$_$v = t4; + break; + case "vendor_fields": + t3 = result.get$_$this(); + t4 = t3._actions$_vendor_fields; + t3 = t4 == null ? t3._actions$_vendor_fields = new T.VendorFieldsBuilder() : t4; + t4 = t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_Unx)); + if (t4 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + t3._vendor_fields$_$v = t4; + break; + } + } + return result.build$0(); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_gsm; + }, + get$wireName: function() { + return "PlateWellVendorFieldsAssign"; + } + }; + U._$PlateWellVendorFieldsRemoveSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + return H.setRuntimeTypeInfo(["strand", serializers.serialize$2$specifiedType(type$.legacy_PlateWellVendorFieldsRemove._as(object).strand, C.FullType_w0x)], type$.JSArray_legacy_Object); + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + var t1, key, value, $$v, t2, t3, + result = new U.PlateWellVendorFieldsRemoveBuilder(), + iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + for (t1 = type$.legacy_Strand; iterator.moveNext$0();) { + key = H._asStringS(iterator.get$current(iterator)); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (key) { + case "strand": + $$v = result._$v; + if ($$v != null) { + t2 = $$v.strand; + t2.toString; + t3 = new E.StrandBuilder(); + t3._strand$_$v = t2; + result._strand = t3; + result._$v = null; + } + t2 = result._strand; + if (t2 == null) + t2 = result._strand = new E.StrandBuilder(); + t3 = t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_w0x)); + if (t3 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + t2._strand$_$v = t3; + break; + } + } + return result.build$0(); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_nXg; + }, + get$wireName: function() { + return "PlateWellVendorFieldsRemove"; + } + }; + U._$VendorFieldsRemoveSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + return H.setRuntimeTypeInfo(["strand", serializers.serialize$2$specifiedType(type$.legacy_VendorFieldsRemove._as(object).strand, C.FullType_w0x)], type$.JSArray_legacy_Object); + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + var t1, key, value, $$v, t2, t3, + result = new U.VendorFieldsRemoveBuilder(), + iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + for (t1 = type$.legacy_Strand; iterator.moveNext$0();) { + key = H._asStringS(iterator.get$current(iterator)); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (key) { + case "strand": + $$v = result._$v; + if ($$v != null) { + t2 = $$v.strand; + t2.toString; + t3 = new E.StrandBuilder(); + t3._strand$_$v = t2; + result._strand = t3; + result._$v = null; + } + t2 = result._strand; + if (t2 == null) + t2 = result._strand = new E.StrandBuilder(); + t3 = t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_w0x)); + if (t3 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + t2._strand$_$v = t3; + break; + } + } + return result.build$0(); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_ezA; + }, + get$wireName: function() { + return "VendorFieldsRemove"; + } + }; + U._$ModificationAddSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + var result, value; + type$.legacy_ModificationAdd._as(object); + result = H.setRuntimeTypeInfo(["strand", serializers.serialize$2$specifiedType(object.strand, C.FullType_w0x), "modification", serializers.serialize$2$specifiedType(object.modification, C.FullType_IvI)], type$.JSArray_legacy_Object); + value = object.strand_dna_idx; + if (value != null) { + C.JSArray_methods.add$1(result, "strand_dna_idx"); + C.JSArray_methods.add$1(result, serializers.serialize$2$specifiedType(value, C.FullType_kjq)); + } + return result; + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + var t1, t2, key, value, t3, t4, + result = new U.ModificationAddBuilder(), + iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + for (t1 = type$.legacy_Modification, t2 = type$.legacy_Strand; iterator.moveNext$0();) { + key = H._asStringS(iterator.get$current(iterator)); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (key) { + case "strand": + t3 = result.get$_$this(); + t4 = t3._strand; + t3 = t4 == null ? t3._strand = new E.StrandBuilder() : t4; + t4 = t2._as(serializers.deserialize$2$specifiedType(value, C.FullType_w0x)); + if (t4 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + t3._strand$_$v = t4; + break; + case "modification": + t3 = t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_IvI)); + result.get$_$this()._modification = t3; + break; + case "strand_dna_idx": + t3 = H._asIntS(serializers.deserialize$2$specifiedType(value, C.FullType_kjq)); + result.get$_$this()._strand_dna_idx = t3; + break; + } + } + return result.build$0(); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_jDT; + }, + get$wireName: function() { + return "ModificationAdd"; + } + }; + U._$ModificationRemoveSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + var result, value; + type$.legacy_ModificationRemove._as(object); + result = H.setRuntimeTypeInfo(["strand", serializers.serialize$2$specifiedType(object.strand, C.FullType_w0x), "modification", serializers.serialize$2$specifiedType(object.modification, C.FullType_IvI)], type$.JSArray_legacy_Object); + value = object.strand_dna_idx; + if (value != null) { + C.JSArray_methods.add$1(result, "strand_dna_idx"); + C.JSArray_methods.add$1(result, serializers.serialize$2$specifiedType(value, C.FullType_kjq)); + } + return result; + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + var t1, t2, key, value, t3, t4, + result = new U.ModificationRemoveBuilder(), + iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + for (t1 = type$.legacy_Modification, t2 = type$.legacy_Strand; iterator.moveNext$0();) { + key = H._asStringS(iterator.get$current(iterator)); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (key) { + case "strand": + t3 = result.get$_$this(); + t4 = t3._strand; + t3 = t4 == null ? t3._strand = new E.StrandBuilder() : t4; + t4 = t2._as(serializers.deserialize$2$specifiedType(value, C.FullType_w0x)); + if (t4 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + t3._strand$_$v = t4; + break; + case "modification": + t3 = t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_IvI)); + result.get$_$this()._modification = t3; + break; + case "strand_dna_idx": + t3 = H._asIntS(serializers.deserialize$2$specifiedType(value, C.FullType_kjq)); + result.get$_$this()._strand_dna_idx = t3; + break; + } + } + return result.build$0(); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_zrt; + }, + get$wireName: function() { + return "ModificationRemove"; + } + }; + U._$ModificationConnectorLengthSetSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + type$.legacy_ModificationConnectorLengthSet._as(object); + return H.setRuntimeTypeInfo(["strand", serializers.serialize$2$specifiedType(object.strand, C.FullType_w0x), "modification", serializers.serialize$2$specifiedType(object.modification, C.FullType_IvI), "connector_length", serializers.serialize$2$specifiedType(object.connector_length, C.FullType_kjq)], type$.JSArray_legacy_Object); + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + var t1, t2, key, value, t3, t4, + result = new U.ModificationConnectorLengthSetBuilder(), + iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + for (t1 = type$.legacy_Modification, t2 = type$.legacy_Strand; iterator.moveNext$0();) { + key = H._asStringS(iterator.get$current(iterator)); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (key) { + case "strand": + t3 = result.get$_$this(); + t4 = t3._strand; + t3 = t4 == null ? t3._strand = new E.StrandBuilder() : t4; + t4 = t2._as(serializers.deserialize$2$specifiedType(value, C.FullType_w0x)); + if (t4 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + t3._strand$_$v = t4; + break; + case "modification": + t3 = t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_IvI)); + result.get$_$this()._modification = t3; + break; + case "connector_length": + t3 = H._asIntS(serializers.deserialize$2$specifiedType(value, C.FullType_kjq)); + result.get$_$this()._actions$_connector_length = t3; + break; + } + } + return result.build$0(); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_HVo; + }, + get$wireName: function() { + return "ModificationConnectorLengthSet"; + } + }; + U._$ModificationEditSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + var result, value; + type$.legacy_ModificationEdit._as(object); + result = H.setRuntimeTypeInfo(["strand", serializers.serialize$2$specifiedType(object.strand, C.FullType_w0x), "modification", serializers.serialize$2$specifiedType(object.modification, C.FullType_IvI)], type$.JSArray_legacy_Object); + value = object.strand_dna_idx; + if (value != null) { + C.JSArray_methods.add$1(result, "strand_dna_idx"); + C.JSArray_methods.add$1(result, serializers.serialize$2$specifiedType(value, C.FullType_kjq)); + } + return result; + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + var t1, t2, key, value, t3, t4, + result = new U.ModificationEditBuilder(), + iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + for (t1 = type$.legacy_Modification, t2 = type$.legacy_Strand; iterator.moveNext$0();) { + key = H._asStringS(iterator.get$current(iterator)); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (key) { + case "strand": + t3 = result.get$_$this(); + t4 = t3._strand; + t3 = t4 == null ? t3._strand = new E.StrandBuilder() : t4; + t4 = t2._as(serializers.deserialize$2$specifiedType(value, C.FullType_w0x)); + if (t4 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + t3._strand$_$v = t4; + break; + case "modification": + t3 = t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_IvI)); + result.get$_$this()._modification = t3; + break; + case "strand_dna_idx": + t3 = H._asIntS(serializers.deserialize$2$specifiedType(value, C.FullType_kjq)); + result.get$_$this()._strand_dna_idx = t3; + break; + } + } + return result.build$0(); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_bpf; + }, + get$wireName: function() { + return "ModificationEdit"; + } + }; + U._$Modifications5PrimeEditSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + type$.legacy_Modifications5PrimeEdit._as(object); + return H.setRuntimeTypeInfo(["modifications", serializers.serialize$2$specifiedType(object.modifications, C.FullType_SGU0), "new_modification", serializers.serialize$2$specifiedType(object.new_modification, C.FullType_Q1p)], type$.JSArray_legacy_Object); + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + var t1, t2, t3, t4, t5, key, value, t6, t7, t8, t9, t10, + result = new U.Modifications5PrimeEditBuilder(), + iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + for (t1 = type$.legacy_Modification5Prime, t2 = type$.legacy_BuiltList_legacy_Object, t3 = type$.legacy_SelectableModification5Prime, t4 = type$.List_legacy_SelectableModification5Prime, t5 = type$.ListBuilder_legacy_SelectableModification5Prime; iterator.moveNext$0();) { + key = H._asStringS(iterator.get$current(iterator)); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (key) { + case "modifications": + t6 = result.get$_$this(); + t7 = t6._actions$_modifications; + if (t7 == null) { + t7 = new D.ListBuilder(t5); + t7.set$__ListBuilder__list(t4._as(P.List_List$from(C.List_empty, true, t3))); + t7.set$_listOwner(null); + t6.set$_actions$_modifications(t7); + t6 = t7; + } else + t6 = t7; + t7 = t2._as(serializers.deserialize$2$specifiedType(value, C.FullType_SGU0)); + t8 = t6.$ti; + t9 = t8._eval$1("_BuiltList<1>"); + t10 = t8._eval$1("List<1>"); + if (t9._is(t7)) { + t9._as(t7); + t6.set$__ListBuilder__list(t10._as(t7._list)); + t6.set$_listOwner(t7); + } else { + t6.set$__ListBuilder__list(t10._as(P.List_List$from(t7, true, t8._precomputed1))); + t6.set$_listOwner(null); + } + break; + case "new_modification": + t6 = result.get$_$this(); + t7 = t6._new_modification; + t6 = t7 == null ? t6._new_modification = new Z.Modification5PrimeBuilder() : t7; + t7 = t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_Q1p)); + if (t7 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + t6._modification$_$v = t7; + break; + } + } + return result.build$0(); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_2Zi0; + }, + get$wireName: function() { + return "Modifications5PrimeEdit"; + } + }; + U._$Modifications3PrimeEditSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + type$.legacy_Modifications3PrimeEdit._as(object); + return H.setRuntimeTypeInfo(["modifications", serializers.serialize$2$specifiedType(object.modifications, C.FullType_SGU), "new_modification", serializers.serialize$2$specifiedType(object.new_modification, C.FullType_Q1p0)], type$.JSArray_legacy_Object); + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + var t1, t2, t3, t4, t5, key, value, t6, t7, t8, t9, t10, + result = new U.Modifications3PrimeEditBuilder(), + iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + for (t1 = type$.legacy_Modification3Prime, t2 = type$.legacy_BuiltList_legacy_Object, t3 = type$.legacy_SelectableModification3Prime, t4 = type$.List_legacy_SelectableModification3Prime, t5 = type$.ListBuilder_legacy_SelectableModification3Prime; iterator.moveNext$0();) { + key = H._asStringS(iterator.get$current(iterator)); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (key) { + case "modifications": + t6 = result.get$_$this(); + t7 = t6._actions$_modifications; + if (t7 == null) { + t7 = new D.ListBuilder(t5); + t7.set$__ListBuilder__list(t4._as(P.List_List$from(C.List_empty, true, t3))); + t7.set$_listOwner(null); + t6.set$_actions$_modifications(t7); + t6 = t7; + } else + t6 = t7; + t7 = t2._as(serializers.deserialize$2$specifiedType(value, C.FullType_SGU)); + t8 = t6.$ti; + t9 = t8._eval$1("_BuiltList<1>"); + t10 = t8._eval$1("List<1>"); + if (t9._is(t7)) { + t9._as(t7); + t6.set$__ListBuilder__list(t10._as(t7._list)); + t6.set$_listOwner(t7); + } else { + t6.set$__ListBuilder__list(t10._as(P.List_List$from(t7, true, t8._precomputed1))); + t6.set$_listOwner(null); + } + break; + case "new_modification": + t6 = result.get$_$this(); + t7 = t6._new_modification; + t6 = t7 == null ? t6._new_modification = new Z.Modification3PrimeBuilder() : t7; + t7 = t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_Q1p0)); + if (t7 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + t6._modification$_$v = t7; + break; + } + } + return result.build$0(); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_ECG; + }, + get$wireName: function() { + return "Modifications3PrimeEdit"; + } + }; + U._$ModificationsInternalEditSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + type$.legacy_ModificationsInternalEdit._as(object); + return H.setRuntimeTypeInfo(["modifications", serializers.serialize$2$specifiedType(object.modifications, C.FullType_Gat), "new_modification", serializers.serialize$2$specifiedType(object.new_modification, C.FullType_eR6)], type$.JSArray_legacy_Object); + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + var t1, t2, t3, t4, t5, key, value, t6, t7, t8, t9, t10, + result = new U.ModificationsInternalEditBuilder(), + iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + for (t1 = type$.legacy_ModificationInternal, t2 = type$.legacy_BuiltList_legacy_Object, t3 = type$.legacy_SelectableModificationInternal, t4 = type$.List_legacy_SelectableModificationInternal, t5 = type$.ListBuilder_legacy_SelectableModificationInternal; iterator.moveNext$0();) { + key = H._asStringS(iterator.get$current(iterator)); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (key) { + case "modifications": + t6 = result.get$_$this(); + t7 = t6._actions$_modifications; + if (t7 == null) { + t7 = new D.ListBuilder(t5); + t7.set$__ListBuilder__list(t4._as(P.List_List$from(C.List_empty, true, t3))); + t7.set$_listOwner(null); + t6.set$_actions$_modifications(t7); + t6 = t7; + } else + t6 = t7; + t7 = t2._as(serializers.deserialize$2$specifiedType(value, C.FullType_Gat)); + t8 = t6.$ti; + t9 = t8._eval$1("_BuiltList<1>"); + t10 = t8._eval$1("List<1>"); + if (t9._is(t7)) { + t9._as(t7); + t6.set$__ListBuilder__list(t10._as(t7._list)); + t6.set$_listOwner(t7); + } else { + t6.set$__ListBuilder__list(t10._as(P.List_List$from(t7, true, t8._precomputed1))); + t6.set$_listOwner(null); + } + break; + case "new_modification": + t6 = result.get$_$this(); + t7 = t6._new_modification; + t6 = t7 == null ? t6._new_modification = new Z.ModificationInternalBuilder() : t7; + t7 = t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_eR6)); + if (t7 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + t6._modification$_$v = t7; + break; + } + } + return result.build$0(); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_2BF; + }, + get$wireName: function() { + return "ModificationsInternalEdit"; + } + }; + U._$GridChangeSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + type$.legacy_GridChange._as(object); + return H.setRuntimeTypeInfo(["grid", serializers.serialize$2$specifiedType(object.grid, C.FullType_yXb), "group_name", serializers.serialize$2$specifiedType(object.group_name, C.FullType_h8g)], type$.JSArray_legacy_Object); + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + var t1, key, value, t2, $$v, _$result, + _s10_ = "GridChange", + result = new U.GridChangeBuilder(), + iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + for (t1 = type$.legacy_Grid; iterator.moveNext$0();) { + key = H._asStringS(iterator.get$current(iterator)); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (key) { + case "grid": + t2 = t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_yXb)); + $$v = result._$v; + if ($$v != null) { + result._actions$_grid = $$v.grid; + result._group_name = $$v.group_name; + result._$v = null; + } + result._actions$_grid = t2; + break; + case "group_name": + t2 = H._asStringS(serializers.deserialize$2$specifiedType(value, C.FullType_h8g)); + $$v = result._$v; + if ($$v != null) { + result._actions$_grid = $$v.grid; + result._group_name = $$v.group_name; + result._$v = null; + } + result._group_name = t2; + break; + } + } + _$result = result._$v; + if (_$result == null) { + t1 = result.get$_$this()._actions$_grid; + if (t1 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s10_, "grid")); + t2 = result.get$_$this()._group_name; + if (t2 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s10_, "group_name")); + _$result = U._$GridChange$_(t1, t2); + } + return result._$v = _$result; + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_nNZ; + }, + get$wireName: function() { + return "GridChange"; + } + }; + U._$GroupDisplayedChangeSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + return H.setRuntimeTypeInfo(["group_name", serializers.serialize$2$specifiedType(type$.legacy_GroupDisplayedChange._as(object).group_name, C.FullType_h8g)], type$.JSArray_legacy_Object); + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + var key, value, t1, $$v, _$result, + result = new U.GroupDisplayedChangeBuilder(), + iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + for (; iterator.moveNext$0();) { + key = H._asStringS(iterator.get$current(iterator)); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (key) { + case "group_name": + t1 = H._asStringS(serializers.deserialize$2$specifiedType(value, C.FullType_h8g)); + $$v = result._$v; + if ($$v != null) { + result._group_name = $$v.group_name; + result._$v = null; + } + result._group_name = t1; + break; + } + } + _$result = result._$v; + if (_$result == null) { + t1 = result.get$_$this()._group_name; + if (t1 == null) + H.throwExpression(Y.BuiltValueNullFieldError$("GroupDisplayedChange", "group_name")); + _$result = U._$GroupDisplayedChange$_(t1); + } + return result._$v = _$result; + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_j6U; + }, + get$wireName: function() { + return "GroupDisplayedChange"; + } + }; + U._$GroupAddSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + type$.legacy_GroupAdd._as(object); + return H.setRuntimeTypeInfo(["name", serializers.serialize$2$specifiedType(object.name, C.FullType_h8g), "group", serializers.serialize$2$specifiedType(object.group, C.FullType_yfz)], type$.JSArray_legacy_Object); + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + var t1, t2, t3, t4, t5, key, value, t6, t7, t8, t9, + result = new U.GroupAddBuilder(), + iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + for (t1 = type$.legacy_HelixGroup, t2 = type$.legacy_ListBuilder_legacy_int, t3 = type$.legacy_int, t4 = type$.List_legacy_int, t5 = type$.ListBuilder_legacy_int; iterator.moveNext$0();) { + key = H._asStringS(iterator.get$current(iterator)); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (key) { + case "name": + t6 = H._asStringS(serializers.deserialize$2$specifiedType(value, C.FullType_h8g)); + result.get$_$this()._actions$_name = t6; + break; + case "group": + t6 = result.get$_$this(); + t7 = t6._actions$_group; + if (t7 == null) { + t7 = new O.HelixGroupBuilder(); + t7.get$_group$_$this()._group$_grid = C.Grid_none; + t8 = $.$get$Position3D_origin(); + t8.toString; + t9 = new X.Position3DBuilder(); + t9._position3d$_$v = t8; + t7.get$_group$_$this()._group$_position = t9; + t7.get$_group$_$this()._pitch = 0; + t7.get$_group$_$this()._yaw = 0; + t7.get$_group$_$this()._group$_roll = 0; + t8 = new D.ListBuilder(t5); + t8.set$__ListBuilder__list(t4._as(P.List_List$from(C.List_empty, true, t3))); + t8.set$_listOwner(null); + t2._as(t8); + t7.get$_group$_$this().set$_group$_helices_view_order(t8); + t6._actions$_group = t7; + t6 = t7; + } else + t6 = t7; + t7 = t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_yfz)); + if (t7 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + t6._group$_$v = t7; + break; + } + } + return result.build$0(); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_kWG; + }, + get$wireName: function() { + return "GroupAdd"; + } + }; + U._$GroupRemoveSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + return H.setRuntimeTypeInfo(["name", serializers.serialize$2$specifiedType(type$.legacy_GroupRemove._as(object).name, C.FullType_h8g)], type$.JSArray_legacy_Object); + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + var key, value, t1, $$v, _$result, + result = new U.GroupRemoveBuilder(), + iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + for (; iterator.moveNext$0();) { + key = H._asStringS(iterator.get$current(iterator)); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (key) { + case "name": + t1 = H._asStringS(serializers.deserialize$2$specifiedType(value, C.FullType_h8g)); + $$v = result._$v; + if ($$v != null) { + result._actions$_name = $$v.name; + result._$v = null; + } + result._actions$_name = t1; + break; + } + } + _$result = result._$v; + if (_$result == null) { + t1 = result.get$_$this()._actions$_name; + if (t1 == null) + H.throwExpression(Y.BuiltValueNullFieldError$("GroupRemove", "name")); + _$result = U._$GroupRemove$_(t1); + } + return result._$v = _$result; + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_Mbm; + }, + get$wireName: function() { + return "GroupRemove"; + } + }; + U._$GroupChangeSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + type$.legacy_GroupChange._as(object); + return H.setRuntimeTypeInfo(["old_name", serializers.serialize$2$specifiedType(object.old_name, C.FullType_h8g), "new_name", serializers.serialize$2$specifiedType(object.new_name, C.FullType_h8g), "new_group", serializers.serialize$2$specifiedType(object.new_group, C.FullType_yfz)], type$.JSArray_legacy_Object); + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + var t1, t2, t3, t4, t5, key, value, t6, t7, t8, t9, + result = new U.GroupChangeBuilder(), + iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + for (t1 = type$.legacy_HelixGroup, t2 = type$.legacy_ListBuilder_legacy_int, t3 = type$.legacy_int, t4 = type$.List_legacy_int, t5 = type$.ListBuilder_legacy_int; iterator.moveNext$0();) { + key = H._asStringS(iterator.get$current(iterator)); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (key) { + case "old_name": + t6 = H._asStringS(serializers.deserialize$2$specifiedType(value, C.FullType_h8g)); + result.get$_$this()._old_name = t6; + break; + case "new_name": + t6 = H._asStringS(serializers.deserialize$2$specifiedType(value, C.FullType_h8g)); + result.get$_$this()._new_name = t6; + break; + case "new_group": + t6 = result.get$_$this(); + t7 = t6._new_group; + if (t7 == null) { + t7 = new O.HelixGroupBuilder(); + t7.get$_group$_$this()._group$_grid = C.Grid_none; + t8 = $.$get$Position3D_origin(); + t8.toString; + t9 = new X.Position3DBuilder(); + t9._position3d$_$v = t8; + t7.get$_group$_$this()._group$_position = t9; + t7.get$_group$_$this()._pitch = 0; + t7.get$_group$_$this()._yaw = 0; + t7.get$_group$_$this()._group$_roll = 0; + t8 = new D.ListBuilder(t5); + t8.set$__ListBuilder__list(t4._as(P.List_List$from(C.List_empty, true, t3))); + t8.set$_listOwner(null); + t2._as(t8); + t7.get$_group$_$this().set$_group$_helices_view_order(t8); + t6._new_group = t7; + t6 = t7; + } else + t6 = t7; + t7 = t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_yfz)); + if (t7 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + t6._group$_$v = t7; + break; + } + } + return result.build$0(); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_pUC; + }, + get$wireName: function() { + return "GroupChange"; + } + }; + U._$MoveHelicesToGroupSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + type$.legacy_MoveHelicesToGroup._as(object); + return H.setRuntimeTypeInfo(["helix_idxs", serializers.serialize$2$specifiedType(object.helix_idxs, C.FullType_4QF0), "group_name", serializers.serialize$2$specifiedType(object.group_name, C.FullType_h8g)], type$.JSArray_legacy_Object); + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + var t1, t2, t3, t4, key, value, t5, t6, t7, t8, t9, + result = new U.MoveHelicesToGroupBuilder(), + iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + for (t1 = type$.legacy_BuiltList_legacy_Object, t2 = type$.legacy_int, t3 = type$.List_legacy_int, t4 = type$.ListBuilder_legacy_int; iterator.moveNext$0();) { + key = H._asStringS(iterator.get$current(iterator)); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (key) { + case "helix_idxs": + t5 = result.get$_$this(); + t6 = t5._helix_idxs; + if (t6 == null) { + t6 = new D.ListBuilder(t4); + t6.set$__ListBuilder__list(t3._as(P.List_List$from(C.List_empty, true, t2))); + t6.set$_listOwner(null); + t5.set$_helix_idxs(t6); + t5 = t6; + } else + t5 = t6; + t6 = t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_4QF0)); + t7 = t5.$ti; + t8 = t7._eval$1("_BuiltList<1>"); + t9 = t7._eval$1("List<1>"); + if (t8._is(t6)) { + t8._as(t6); + t5.set$__ListBuilder__list(t9._as(t6._list)); + t5.set$_listOwner(t6); + } else { + t5.set$__ListBuilder__list(t9._as(P.List_List$from(t6, true, t7._precomputed1))); + t5.set$_listOwner(null); + } + break; + case "group_name": + t5 = H._asStringS(serializers.deserialize$2$specifiedType(value, C.FullType_h8g)); + result.get$_$this()._group_name = t5; + break; + } + } + return result.build$0(); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_G31; + }, + get$wireName: function() { + return "MoveHelicesToGroup"; + } + }; + U._$DialogShowSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + return H.setRuntimeTypeInfo(["dialog", serializers.serialize$2$specifiedType(type$.legacy_DialogShow._as(object).dialog, C.FullType_Azp)], type$.JSArray_legacy_Object); + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + var t1, key, value, $$v, t2, t3, + result = new U.DialogShowBuilder(), + iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + for (t1 = type$.legacy_Dialog; iterator.moveNext$0();) { + key = H._asStringS(iterator.get$current(iterator)); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (key) { + case "dialog": + $$v = result._$v; + if ($$v != null) { + t2 = $$v.dialog; + t2.toString; + t3 = new E.DialogBuilder(); + t3._dialog$_$v = t2; + result._actions$_dialog = t3; + result._$v = null; + } + t2 = result._actions$_dialog; + if (t2 == null) + t2 = result._actions$_dialog = new E.DialogBuilder(); + t3 = t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_Azp)); + if (t3 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + t2._dialog$_$v = t3; + break; + } + } + return result.build$0(); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_NO4; + }, + get$wireName: function() { + return "DialogShow"; + } + }; + U._$DialogHideSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + type$.legacy_DialogHide._as(object); + return H.setRuntimeTypeInfo([], type$.JSArray_legacy_Object); + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + type$.legacy_Iterable_legacy_Object._as(serialized); + return new U.DialogHideBuilder().build$0(); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_ro0; + }, + get$wireName: function() { + return "DialogHide"; + } + }; + U._$ContextMenuShowSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + return H.setRuntimeTypeInfo(["context_menu", serializers.serialize$2$specifiedType(type$.legacy_ContextMenuShow._as(object).context_menu, C.FullType_Z6u)], type$.JSArray_legacy_Object); + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + var t1, key, value, $$v, t2, t3, + result = new U.ContextMenuShowBuilder(), + iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + for (t1 = type$.legacy_ContextMenu; iterator.moveNext$0();) { + key = H._asStringS(iterator.get$current(iterator)); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (key) { + case "context_menu": + $$v = result._$v; + if ($$v != null) { + t2 = $$v.context_menu; + t2.toString; + t3 = new B.ContextMenuBuilder(); + t3._context_menu$_$v = t2; + result._actions$_context_menu = t3; + result._$v = null; + } + t2 = result._actions$_context_menu; + if (t2 == null) + t2 = result._actions$_context_menu = new B.ContextMenuBuilder(); + t3 = t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_Z6u)); + if (t3 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + t2._context_menu$_$v = t3; + break; + } + } + return result.build$0(); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_KdY; + }, + get$wireName: function() { + return "ContextMenuShow"; + } + }; + U._$ContextMenuHideSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + type$.legacy_ContextMenuHide._as(object); + return H.setRuntimeTypeInfo([], type$.JSArray_legacy_Object); + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + type$.legacy_Iterable_legacy_Object._as(serialized); + return new U.ContextMenuHideBuilder().build$0(); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_2jN; + }, + get$wireName: function() { + return "ContextMenuHide"; + } + }; + U._$StrandOrSubstrandColorPickerShowSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + var result, value; + type$.legacy_StrandOrSubstrandColorPickerShow._as(object); + result = H.setRuntimeTypeInfo(["strand", serializers.serialize$2$specifiedType(object.strand, C.FullType_w0x)], type$.JSArray_legacy_Object); + value = object.substrand; + if (value != null) { + C.JSArray_methods.add$1(result, "substrand"); + C.JSArray_methods.add$1(result, serializers.serialize$2$specifiedType(value, C.FullType_S4t)); + } + return result; + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + var t1, t2, key, value, t3, t4, + result = new U.StrandOrSubstrandColorPickerShowBuilder(), + iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + for (t1 = type$.legacy_Substrand, t2 = type$.legacy_Strand; iterator.moveNext$0();) { + key = H._asStringS(iterator.get$current(iterator)); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (key) { + case "strand": + t3 = result.get$_$this(); + t4 = t3._strand; + t3 = t4 == null ? t3._strand = new E.StrandBuilder() : t4; + t4 = t2._as(serializers.deserialize$2$specifiedType(value, C.FullType_w0x)); + if (t4 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + t3._strand$_$v = t4; + break; + case "substrand": + t3 = t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_S4t)); + result.get$_$this()._substrand = t3; + break; + } + } + return result.build$0(); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_ky0; + }, + get$wireName: function() { + return "StrandOrSubstrandColorPickerShow"; + } + }; + U._$StrandOrSubstrandColorPickerHideSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + type$.legacy_StrandOrSubstrandColorPickerHide._as(object); + return H.setRuntimeTypeInfo([], type$.JSArray_legacy_Object); + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + type$.legacy_Iterable_legacy_Object._as(serialized); + return new U.StrandOrSubstrandColorPickerHideBuilder().build$0(); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_MCv; + }, + get$wireName: function() { + return "StrandOrSubstrandColorPickerHide"; + } + }; + U._$ScaffoldSetSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + type$.legacy_ScaffoldSet._as(object); + return H.setRuntimeTypeInfo(["strand", serializers.serialize$2$specifiedType(object.strand, C.FullType_w0x), "is_scaffold", serializers.serialize$2$specifiedType(object.is_scaffold, C.FullType_MtR)], type$.JSArray_legacy_Object); + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + var t1, key, value, t2, t3, + result = new U.ScaffoldSetBuilder(), + iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + for (t1 = type$.legacy_Strand; iterator.moveNext$0();) { + key = H._asStringS(iterator.get$current(iterator)); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (key) { + case "strand": + t2 = result.get$_$this(); + t3 = t2._strand; + t2 = t3 == null ? t2._strand = new E.StrandBuilder() : t3; + t3 = t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_w0x)); + if (t3 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + t2._strand$_$v = t3; + break; + case "is_scaffold": + t2 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); + result.get$_$this()._actions$_is_scaffold = t2; + break; + } + } + return result.build$0(); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_cdS; + }, + get$wireName: function() { + return "ScaffoldSet"; + } + }; + U._$StrandOrSubstrandColorSetSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + var result, value; + type$.legacy_StrandOrSubstrandColorSet._as(object); + result = H.setRuntimeTypeInfo(["strand", serializers.serialize$2$specifiedType(object.strand, C.FullType_w0x)], type$.JSArray_legacy_Object); + value = object.substrand; + if (value != null) { + C.JSArray_methods.add$1(result, "substrand"); + C.JSArray_methods.add$1(result, serializers.serialize$2$specifiedType(value, C.FullType_S4t)); + } + value = object.color; + if (value != null) { + C.JSArray_methods.add$1(result, "color"); + C.JSArray_methods.add$1(result, serializers.serialize$2$specifiedType(value, C.FullType_uHx)); + } + return result; + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + var t1, t2, t3, key, value, t4, t5, + result = new U.StrandOrSubstrandColorSetBuilder(), + iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + for (t1 = type$.legacy_Color, t2 = type$.legacy_Substrand, t3 = type$.legacy_Strand; iterator.moveNext$0();) { + key = H._asStringS(iterator.get$current(iterator)); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (key) { + case "strand": + t4 = result.get$_$this(); + t5 = t4._strand; + t4 = t5 == null ? t4._strand = new E.StrandBuilder() : t5; + t5 = t3._as(serializers.deserialize$2$specifiedType(value, C.FullType_w0x)); + if (t5 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + t4._strand$_$v = t5; + break; + case "substrand": + t4 = t2._as(serializers.deserialize$2$specifiedType(value, C.FullType_S4t)); + result.get$_$this()._substrand = t4; + break; + case "color": + t4 = t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_uHx)); + result.get$_$this()._actions$_color = t4; + break; + } + } + return result.build$0(); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_m1u; + }, + get$wireName: function() { + return "StrandOrSubstrandColorSet"; + } + }; + U._$StrandPasteKeepColorSetSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + return H.setRuntimeTypeInfo(["keep", serializers.serialize$2$specifiedType(type$.legacy_StrandPasteKeepColorSet._as(object).keep, C.FullType_MtR)], type$.JSArray_legacy_Object); + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + var key, value, t1, $$v, _$result, + result = new U.StrandPasteKeepColorSetBuilder(), + iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + for (; iterator.moveNext$0();) { + key = H._asStringS(iterator.get$current(iterator)); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (key) { + case "keep": + t1 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); + $$v = result._$v; + if ($$v != null) { + result._keep = $$v.keep; + result._$v = null; + } + result._keep = t1; + break; + } + } + _$result = result._$v; + if (_$result == null) { + t1 = result.get$_$this()._keep; + if (t1 == null) + H.throwExpression(Y.BuiltValueNullFieldError$("StrandPasteKeepColorSet", "keep")); + _$result = U._$StrandPasteKeepColorSet$_(t1); + } + return result._$v = _$result; + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_NYu; + }, + get$wireName: function() { + return "StrandPasteKeepColorSet"; + } + }; + U._$ExampleDesignsLoadSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + return H.setRuntimeTypeInfo(["selected_idx", serializers.serialize$2$specifiedType(type$.legacy_ExampleDesignsLoad._as(object).selected_idx, C.FullType_kjq)], type$.JSArray_legacy_Object); + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + var key, value, t1, $$v, _$result, + result = new U.ExampleDesignsLoadBuilder(), + iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + for (; iterator.moveNext$0();) { + key = H._asStringS(iterator.get$current(iterator)); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (key) { + case "selected_idx": + t1 = H._asIntS(serializers.deserialize$2$specifiedType(value, C.FullType_kjq)); + $$v = result._$v; + if ($$v != null) { + result._actions$_selected_idx = $$v.selected_idx; + result._$v = null; + } + result._actions$_selected_idx = t1; + break; + } + } + _$result = result._$v; + if (_$result == null) { + t1 = result.get$_$this()._actions$_selected_idx; + if (t1 == null) + H.throwExpression(Y.BuiltValueNullFieldError$("ExampleDesignsLoad", "selected_idx")); + _$result = U._$ExampleDesignsLoad$_(t1); + } + return result._$v = _$result; + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_WMt; + }, + get$wireName: function() { + return "ExampleDesignsLoad"; + } + }; + U._$BasePairTypeSetSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + return H.setRuntimeTypeInfo(["selected_idx", serializers.serialize$2$specifiedType(type$.legacy_BasePairTypeSet._as(object).selected_idx, C.FullType_kjq)], type$.JSArray_legacy_Object); + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + var key, value, t1, $$v, _$result, + result = new U.BasePairTypeSetBuilder(), + iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + for (; iterator.moveNext$0();) { + key = H._asStringS(iterator.get$current(iterator)); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (key) { + case "selected_idx": + t1 = H._asIntS(serializers.deserialize$2$specifiedType(value, C.FullType_kjq)); + $$v = result._$v; + if ($$v != null) { + result._actions$_selected_idx = $$v.selected_idx; + result._$v = null; + } + result._actions$_selected_idx = t1; + break; + } + } + _$result = result._$v; + if (_$result == null) { + t1 = result.get$_$this()._actions$_selected_idx; + if (t1 == null) + H.throwExpression(Y.BuiltValueNullFieldError$("BasePairTypeSet", "selected_idx")); + _$result = U._$BasePairTypeSet$_(t1); + } + return result._$v = _$result; + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_sNW; + }, + get$wireName: function() { + return "BasePairTypeSet"; + } + }; + U._$HelixPositionSetSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + type$.legacy_HelixPositionSet._as(object); + return H.setRuntimeTypeInfo(["helix_idx", serializers.serialize$2$specifiedType(object.helix_idx, C.FullType_kjq), "position", serializers.serialize$2$specifiedType(object.position, C.FullType_cgM)], type$.JSArray_legacy_Object); + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + var t1, key, value, t2, t3, + result = new U.HelixPositionSetBuilder(), + iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + for (t1 = type$.legacy_Position3D; iterator.moveNext$0();) { + key = H._asStringS(iterator.get$current(iterator)); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (key) { + case "helix_idx": + t2 = H._asIntS(serializers.deserialize$2$specifiedType(value, C.FullType_kjq)); + result.get$_$this()._actions$_helix_idx = t2; + break; + case "position": + t2 = result.get$_$this(); + t3 = t2._actions$_position; + t2 = t3 == null ? t2._actions$_position = new X.Position3DBuilder() : t3; + t3 = t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_cgM)); + if (t3 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + t2._position3d$_$v = t3; + break; + } + } + return result.build$0(); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_9Aw; + }, + get$wireName: function() { + return "HelixPositionSet"; + } + }; + U._$HelixGridPositionSetSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + type$.legacy_HelixGridPositionSet._as(object); + return H.setRuntimeTypeInfo(["helix", serializers.serialize$2$specifiedType(object.helix, C.FullType_wEV), "grid_position", serializers.serialize$2$specifiedType(object.grid_position, C.FullType_q96)], type$.JSArray_legacy_Object); + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + var t1, t2, key, value, t3, t4, + result = new U.HelixGridPositionSetBuilder(), + iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + for (t1 = type$.legacy_GridPosition, t2 = type$.legacy_Helix; iterator.moveNext$0();) { + key = H._asStringS(iterator.get$current(iterator)); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (key) { + case "helix": + t3 = result.get$_$this(); + t4 = t3._actions$_helix; + if (t4 == null) { + t4 = new O.HelixBuilder(); + t4.get$_helix$_$this()._group = "default_group"; + t4.get$_helix$_$this()._min_offset = 0; + t4.get$_helix$_$this()._roll = 0; + t3._actions$_helix = t4; + t3 = t4; + } else + t3 = t4; + t4 = t2._as(serializers.deserialize$2$specifiedType(value, C.FullType_wEV)); + if (t4 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + t3._helix$_$v = t4; + break; + case "grid_position": + t3 = result.get$_$this(); + t4 = t3._actions$_grid_position; + t3 = t4 == null ? t3._actions$_grid_position = new D.GridPositionBuilder() : t4; + t4 = t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_q96)); + if (t4 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + t3._grid_position$_$v = t4; + break; + } + } + return result.build$0(); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_MUw; + }, + get$wireName: function() { + return "HelixGridPositionSet"; + } + }; + U._$HelicesPositionsSetBasedOnCrossoversSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + type$.legacy_HelicesPositionsSetBasedOnCrossovers._as(object); + return H.setRuntimeTypeInfo([], type$.JSArray_legacy_Object); + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + type$.legacy_Iterable_legacy_Object._as(serialized); + return new U.HelicesPositionsSetBasedOnCrossoversBuilder().build$0(); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_mio; + }, + get$wireName: function() { + return "HelicesPositionsSetBasedOnCrossovers"; + } + }; + U._$InlineInsertionsDeletionsSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + type$.legacy_InlineInsertionsDeletions._as(object); + return H.setRuntimeTypeInfo([], type$.JSArray_legacy_Object); + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + type$.legacy_Iterable_legacy_Object._as(serialized); + return new U.InlineInsertionsDeletionsBuilder().build$0(); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_07S; + }, + get$wireName: function() { + return "InlineInsertionsDeletions"; + } + }; + U._$DefaultCrossoverTypeForSettingHelixRollsSetSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + type$.legacy_DefaultCrossoverTypeForSettingHelixRollsSet._as(object); + return H.setRuntimeTypeInfo(["scaffold", serializers.serialize$2$specifiedType(object.scaffold, C.FullType_MtR), "staple", serializers.serialize$2$specifiedType(object.staple, C.FullType_MtR)], type$.JSArray_legacy_Object); + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + var key, value, t1, $$v, _$result, t2, + _s43_ = string$.Defaul, + result = new U.DefaultCrossoverTypeForSettingHelixRollsSetBuilder(), + iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + for (; iterator.moveNext$0();) { + key = H._asStringS(iterator.get$current(iterator)); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (key) { + case "scaffold": + t1 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); + $$v = result._$v; + if ($$v != null) { + result._scaffold = $$v.scaffold; + result._staple = $$v.staple; + result._$v = null; + } + result._scaffold = t1; + break; + case "staple": + t1 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); + $$v = result._$v; + if ($$v != null) { + result._scaffold = $$v.scaffold; + result._staple = $$v.staple; + result._$v = null; + } + result._staple = t1; + break; + } + } + _$result = result._$v; + if (_$result == null) { + t1 = result.get$_$this()._scaffold; + if (t1 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s43_, "scaffold")); + t2 = result.get$_$this()._staple; + if (t2 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s43_, "staple")); + _$result = U._$DefaultCrossoverTypeForSettingHelixRollsSet$_(t1, t2); + } + return result._$v = _$result; + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_oXN; + }, + get$wireName: function() { + return string$.Defaul; + } + }; + U._$AutofitSetSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + return H.setRuntimeTypeInfo(["autofit", serializers.serialize$2$specifiedType(type$.legacy_AutofitSet._as(object).autofit, C.FullType_MtR)], type$.JSArray_legacy_Object); + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + var key, value, t1, $$v, _$result, + result = new U.AutofitSetBuilder(), + iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + for (; iterator.moveNext$0();) { + key = H._asStringS(iterator.get$current(iterator)); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (key) { + case "autofit": + t1 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); + $$v = result._$v; + if ($$v != null) { + result._actions$_autofit = $$v.autofit; + result._$v = null; + } + result._actions$_autofit = t1; + break; + } + } + _$result = result._$v; + if (_$result == null) { + t1 = result.get$_$this()._actions$_autofit; + if (t1 == null) + H.throwExpression(Y.BuiltValueNullFieldError$("AutofitSet", "autofit")); + _$result = U._$AutofitSet$_(t1); + } + return result._$v = _$result; + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_V5x; + }, + get$wireName: function() { + return "AutofitSet"; + } + }; + U._$ShowHelixCirclesMainViewSetSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + return H.setRuntimeTypeInfo(["show_helix_circles_main_view", serializers.serialize$2$specifiedType(type$.legacy_ShowHelixCirclesMainViewSet._as(object).show_helix_circles_main_view, C.FullType_MtR)], type$.JSArray_legacy_Object); + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + var key, value, t1, $$v, _$result, + _s28_ = "show_helix_circles_main_view", + result = new U.ShowHelixCirclesMainViewSetBuilder(), + iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + for (; iterator.moveNext$0();) { + key = H._asStringS(iterator.get$current(iterator)); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (key) { + case "show_helix_circles_main_view": + t1 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); + $$v = result._$v; + if ($$v != null) { + result._actions$_show_helix_circles_main_view = $$v.show_helix_circles_main_view; + result._$v = null; + } + result._actions$_show_helix_circles_main_view = t1; + break; + } + } + _$result = result._$v; + if (_$result == null) { + t1 = result.get$_$this()._actions$_show_helix_circles_main_view; + if (t1 == null) + H.throwExpression(Y.BuiltValueNullFieldError$("ShowHelixCirclesMainViewSet", _s28_)); + _$result = U._$ShowHelixCirclesMainViewSet$_(t1); + } + return result._$v = _$result; + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_6iW; + }, + get$wireName: function() { + return "ShowHelixCirclesMainViewSet"; + } + }; + U._$ShowHelixComponentsMainViewSetSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + return H.setRuntimeTypeInfo(["show_helix_components", serializers.serialize$2$specifiedType(type$.legacy_ShowHelixComponentsMainViewSet._as(object).show_helix_components, C.FullType_MtR)], type$.JSArray_legacy_Object); + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + var key, value, t1, $$v, _$result, + _s21_ = "show_helix_components", + result = new U.ShowHelixComponentsMainViewSetBuilder(), + iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + for (; iterator.moveNext$0();) { + key = H._asStringS(iterator.get$current(iterator)); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (key) { + case "show_helix_components": + t1 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); + $$v = result._$v; + if ($$v != null) { + result._show_helix_components = $$v.show_helix_components; + result._$v = null; + } + result._show_helix_components = t1; + break; + } + } + _$result = result._$v; + if (_$result == null) { + t1 = result.get$_$this()._show_helix_components; + if (t1 == null) + H.throwExpression(Y.BuiltValueNullFieldError$("ShowHelixComponentsMainViewSet", _s21_)); + _$result = U._$ShowHelixComponentsMainViewSet$_(t1); + } + return result._$v = _$result; + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_ZGD; + }, + get$wireName: function() { + return "ShowHelixComponentsMainViewSet"; + } + }; + U._$ShowEditMenuToggleSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + type$.legacy_ShowEditMenuToggle._as(object); + return H.setRuntimeTypeInfo([], type$.JSArray_legacy_Object); + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + type$.legacy_Iterable_legacy_Object._as(serialized); + return new U._$ShowEditMenuToggle(); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_LJp; + }, + get$wireName: function() { + return "ShowEditMenuToggle"; + } + }; + U._$ShowGridCoordinatesSideViewSetSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + return H.setRuntimeTypeInfo(["show_grid_coordinates_side_view", serializers.serialize$2$specifiedType(type$.legacy_ShowGridCoordinatesSideViewSet._as(object).show_grid_coordinates_side_view, C.FullType_MtR)], type$.JSArray_legacy_Object); + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + var key, value, t1, $$v, _$result, + _s31_ = "show_grid_coordinates_side_view", + result = new U.ShowGridCoordinatesSideViewSetBuilder(), + iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + for (; iterator.moveNext$0();) { + key = H._asStringS(iterator.get$current(iterator)); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (key) { + case "show_grid_coordinates_side_view": + t1 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); + $$v = result._$v; + if ($$v != null) { + result._actions$_show_grid_coordinates_side_view = $$v.show_grid_coordinates_side_view; + result._$v = null; + } + result._actions$_show_grid_coordinates_side_view = t1; + break; + } + } + _$result = result._$v; + if (_$result == null) { + t1 = result.get$_$this()._actions$_show_grid_coordinates_side_view; + if (t1 == null) + H.throwExpression(Y.BuiltValueNullFieldError$("ShowGridCoordinatesSideViewSet", _s31_)); + _$result = U._$ShowGridCoordinatesSideViewSet$_(t1); + } + return result._$v = _$result; + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_Jik; + }, + get$wireName: function() { + return "ShowGridCoordinatesSideViewSet"; + } + }; + U._$ShowAxisArrowsSetSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + return H.setRuntimeTypeInfo(["show_helices_axis_arrows", serializers.serialize$2$specifiedType(type$.legacy_ShowAxisArrowsSet._as(object).show_helices_axis_arrows, C.FullType_MtR)], type$.JSArray_legacy_Object); + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + var key, value, t1, $$v, _$result, + _s24_ = "show_helices_axis_arrows", + result = new U.ShowAxisArrowsSetBuilder(), + iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + for (; iterator.moveNext$0();) { + key = H._asStringS(iterator.get$current(iterator)); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (key) { + case "show_helices_axis_arrows": + t1 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); + $$v = result._$v; + if ($$v != null) { + result._actions$_show_helices_axis_arrows = $$v.show_helices_axis_arrows; + result._$v = null; + } + result._actions$_show_helices_axis_arrows = t1; + break; + } + } + _$result = result._$v; + if (_$result == null) { + t1 = result.get$_$this()._actions$_show_helices_axis_arrows; + if (t1 == null) + H.throwExpression(Y.BuiltValueNullFieldError$("ShowAxisArrowsSet", _s24_)); + _$result = U._$ShowAxisArrowsSet$_(t1); + } + return result._$v = _$result; + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_AuK0; + }, + get$wireName: function() { + return "ShowAxisArrowsSet"; + } + }; + U._$ShowLoopoutExtensionLengthSetSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + return H.setRuntimeTypeInfo(["show_length", serializers.serialize$2$specifiedType(type$.legacy_ShowLoopoutExtensionLengthSet._as(object).show_length, C.FullType_MtR)], type$.JSArray_legacy_Object); + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + var key, value, t1, $$v, _$result, + result = new U.ShowLoopoutExtensionLengthSetBuilder(), + iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + for (; iterator.moveNext$0();) { + key = H._asStringS(iterator.get$current(iterator)); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (key) { + case "show_length": + t1 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); + $$v = result._$v; + if ($$v != null) { + result._show_length = $$v.show_length; + result._$v = null; + } + result._show_length = t1; + break; + } + } + _$result = result._$v; + if (_$result == null) { + t1 = result.get$_$this()._show_length; + if (t1 == null) + H.throwExpression(Y.BuiltValueNullFieldError$("ShowLoopoutExtensionLengthSet", "show_length")); + _$result = U._$ShowLoopoutExtensionLengthSet$_(t1); + } + return result._$v = _$result; + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_knt0; + }, + get$wireName: function() { + return "ShowLoopoutExtensionLengthSet"; + } + }; + U._$LoadDnaSequenceImageUriSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + var result, value; + type$.legacy_LoadDnaSequenceImageUri._as(object); + result = H.setRuntimeTypeInfo(["dna_sequence_png_horizontal_offset", serializers.serialize$2$specifiedType(object.dna_sequence_png_horizontal_offset, C.FullType_2ru), "dna_sequence_png_vertical_offset", serializers.serialize$2$specifiedType(object.dna_sequence_png_vertical_offset, C.FullType_2ru)], type$.JSArray_legacy_Object); + value = object.uri; + if (value != null) { + C.JSArray_methods.add$1(result, "uri"); + C.JSArray_methods.add$1(result, serializers.serialize$2$specifiedType(value, C.FullType_h8g)); + } + return result; + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + var key, value, t1, + result = new U.LoadDnaSequenceImageUriBuilder(), + iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + for (; iterator.moveNext$0();) { + key = H._asStringS(iterator.get$current(iterator)); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (key) { + case "uri": + t1 = H._asStringS(serializers.deserialize$2$specifiedType(value, C.FullType_h8g)); + result.get$_$this()._uri = t1; + break; + case "dna_sequence_png_horizontal_offset": + t1 = H._asNumS(serializers.deserialize$2$specifiedType(value, C.FullType_2ru)); + result.get$_$this()._actions$_dna_sequence_png_horizontal_offset = t1; + break; + case "dna_sequence_png_vertical_offset": + t1 = H._asNumS(serializers.deserialize$2$specifiedType(value, C.FullType_2ru)); + result.get$_$this()._actions$_dna_sequence_png_vertical_offset = t1; + break; + } + } + return result.build$0(); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_qbL; + }, + get$wireName: function() { + return "LoadDnaSequenceImageUri"; + } + }; + U._$SetIsZoomAboveThresholdSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + return H.setRuntimeTypeInfo(["is_zoom_above_threshold", serializers.serialize$2$specifiedType(type$.legacy_SetIsZoomAboveThreshold._as(object).is_zoom_above_threshold, C.FullType_MtR)], type$.JSArray_legacy_Object); + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + var key, value, t1, $$v, + result = new U.SetIsZoomAboveThresholdBuilder(), + iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + for (; iterator.moveNext$0();) { + key = H._asStringS(iterator.get$current(iterator)); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (key) { + case "is_zoom_above_threshold": + t1 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); + $$v = result._$v; + if ($$v != null) { + result._actions$_is_zoom_above_threshold = $$v.is_zoom_above_threshold; + result._$v = null; + } + result._actions$_is_zoom_above_threshold = t1; + break; + } + } + return result.build$0(); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_IO4; + }, + get$wireName: function() { + return "SetIsZoomAboveThreshold"; + } + }; + U._$SetExportSvgActionDelayedForPngCacheSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + var result, value; + type$.legacy_SetExportSvgActionDelayedForPngCache._as(object); + result = H.setRuntimeTypeInfo([], type$.JSArray_legacy_Object); + value = object.export_svg_action_delayed_for_png_cache; + if (value != null) { + C.JSArray_methods.add$1(result, "export_svg_action_delayed_for_png_cache"); + C.JSArray_methods.add$1(result, serializers.serialize$2$specifiedType(value, C.FullType_3lI)); + } + return result; + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + var t1, key, value, t2, $$v, + result = new U.SetExportSvgActionDelayedForPngCacheBuilder(), + iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + for (t1 = type$.legacy_Action; iterator.moveNext$0();) { + key = H._asStringS(iterator.get$current(iterator)); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (key) { + case "export_svg_action_delayed_for_png_cache": + t2 = t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_3lI)); + $$v = result._$v; + if ($$v != null) { + result._actions$_export_svg_action_delayed_for_png_cache = $$v.export_svg_action_delayed_for_png_cache; + result._$v = null; + } + result._actions$_export_svg_action_delayed_for_png_cache = t2; + break; + } + } + return result.build$0(); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_tqs; + }, + get$wireName: function() { + return "SetExportSvgActionDelayedForPngCache"; + } + }; + U._$ShowBasePairLinesSetSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + return H.setRuntimeTypeInfo(["show_base_pair_lines", serializers.serialize$2$specifiedType(type$.legacy_ShowBasePairLinesSet._as(object).show_base_pair_lines, C.FullType_MtR)], type$.JSArray_legacy_Object); + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + var key, value, t1, $$v, _$result, + _s20_ = "show_base_pair_lines", + result = new U.ShowBasePairLinesSetBuilder(), + iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + for (; iterator.moveNext$0();) { + key = H._asStringS(iterator.get$current(iterator)); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (key) { + case "show_base_pair_lines": + t1 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); + $$v = result._$v; + if ($$v != null) { + result._actions$_show_base_pair_lines = $$v.show_base_pair_lines; + result._$v = null; + } + result._actions$_show_base_pair_lines = t1; + break; + } + } + _$result = result._$v; + if (_$result == null) { + t1 = result.get$_$this()._actions$_show_base_pair_lines; + if (t1 == null) + H.throwExpression(Y.BuiltValueNullFieldError$("ShowBasePairLinesSet", _s20_)); + _$result = new U._$ShowBasePairLinesSet(t1); + } + return result._$v = _$result; + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_7YB; + }, + get$wireName: function() { + return "ShowBasePairLinesSet"; + } + }; + U._$ShowBasePairLinesWithMismatchesSetSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + return H.setRuntimeTypeInfo(["show_base_pair_lines_with_mismatches", serializers.serialize$2$specifiedType(type$.legacy_ShowBasePairLinesWithMismatchesSet._as(object).show_base_pair_lines_with_mismatches, C.FullType_MtR)], type$.JSArray_legacy_Object); + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + var key, value, t1, $$v, _$result, + _s36_ = "show_base_pair_lines_with_mismatches", + result = new U.ShowBasePairLinesWithMismatchesSetBuilder(), + iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + for (; iterator.moveNext$0();) { + key = H._asStringS(iterator.get$current(iterator)); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (key) { + case "show_base_pair_lines_with_mismatches": + t1 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); + $$v = result._$v; + if ($$v != null) { + result._actions$_show_base_pair_lines_with_mismatches = $$v.show_base_pair_lines_with_mismatches; + result._$v = null; + } + result._actions$_show_base_pair_lines_with_mismatches = t1; + break; + } + } + _$result = result._$v; + if (_$result == null) { + t1 = result.get$_$this()._actions$_show_base_pair_lines_with_mismatches; + if (t1 == null) + H.throwExpression(Y.BuiltValueNullFieldError$("ShowBasePairLinesWithMismatchesSet", _s36_)); + _$result = U._$ShowBasePairLinesWithMismatchesSet$_(t1); + } + return result._$v = _$result; + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_4QF0; + }, + get$wireName: function() { + return "ShowBasePairLinesWithMismatchesSet"; + } + }; + U._$ShowSliceBarSetSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + return H.setRuntimeTypeInfo(["show", serializers.serialize$2$specifiedType(type$.legacy_ShowSliceBarSet._as(object).show, C.FullType_MtR)], type$.JSArray_legacy_Object); + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + var key, value, t1, $$v, + result = new U.ShowSliceBarSetBuilder(), + iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + for (; iterator.moveNext$0();) { + key = H._asStringS(iterator.get$current(iterator)); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (key) { + case "show": + t1 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); + $$v = result._$v; + if ($$v != null) { + result._show = $$v.show; + result._$v = null; + } + result._show = t1; + break; + } + } + return result.build$0(); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_knt1; + }, + get$wireName: function() { + return "ShowSliceBarSet"; + } + }; + U._$SliceBarOffsetSetSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + var result, value; + type$.legacy_SliceBarOffsetSet._as(object); + result = H.setRuntimeTypeInfo([], type$.JSArray_legacy_Object); + value = object.offset; + if (value != null) { + C.JSArray_methods.add$1(result, "offset"); + C.JSArray_methods.add$1(result, serializers.serialize$2$specifiedType(value, C.FullType_kjq)); + } + return result; + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + var key, value, t1, $$v, + result = new U.SliceBarOffsetSetBuilder(), + iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + for (; iterator.moveNext$0();) { + key = H._asStringS(iterator.get$current(iterator)); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (key) { + case "offset": + t1 = H._asIntS(serializers.deserialize$2$specifiedType(value, C.FullType_kjq)); + $$v = result._$v; + if ($$v != null) { + result._actions$_offset = $$v.offset; + result._$v = null; + } + result._actions$_offset = t1; + break; + } + } + return result.build$0(); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_UgE; + }, + get$wireName: function() { + return "SliceBarOffsetSet"; + } + }; + U._$DisablePngCachingDnaSequencesSetSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + return H.setRuntimeTypeInfo(["disable_png_caching_dna_sequences", serializers.serialize$2$specifiedType(type$.legacy_DisablePngCachingDnaSequencesSet._as(object).disable_png_caching_dna_sequences, C.FullType_MtR)], type$.JSArray_legacy_Object); + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + var key, value, t1, $$v, + result = new U.DisablePngCachingDnaSequencesSetBuilder(), + iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + for (; iterator.moveNext$0();) { + key = H._asStringS(iterator.get$current(iterator)); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (key) { + case "disable_png_caching_dna_sequences": + t1 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); + $$v = result._$v; + if ($$v != null) { + result._actions$_disable_png_caching_dna_sequences = $$v.disable_png_caching_dna_sequences; + result._$v = null; + } + result._actions$_disable_png_caching_dna_sequences = t1; + break; + } + } + return result.build$0(); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_AiQ; + }, + get$wireName: function() { + return "DisablePngCachingDnaSequencesSet"; + } + }; + U._$RetainStrandColorOnSelectionSetSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + return H.setRuntimeTypeInfo(["retain_strand_color_on_selection", serializers.serialize$2$specifiedType(type$.legacy_RetainStrandColorOnSelectionSet._as(object).retain_strand_color_on_selection, C.FullType_MtR)], type$.JSArray_legacy_Object); + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + var key, value, t1, $$v, + result = new U.RetainStrandColorOnSelectionSetBuilder(), + iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + for (; iterator.moveNext$0();) { + key = H._asStringS(iterator.get$current(iterator)); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (key) { + case "retain_strand_color_on_selection": + t1 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); + $$v = result._$v; + if ($$v != null) { + result._actions$_retain_strand_color_on_selection = $$v.retain_strand_color_on_selection; + result._$v = null; + } + result._actions$_retain_strand_color_on_selection = t1; + break; + } + } + return result.build$0(); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_3Qm; + }, + get$wireName: function() { + return "RetainStrandColorOnSelectionSet"; + } + }; + U._$DisplayReverseDNARightSideUpSetSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + return H.setRuntimeTypeInfo(["display_reverse_DNA_right_side_up", serializers.serialize$2$specifiedType(type$.legacy_DisplayReverseDNARightSideUpSet._as(object).display_reverse_DNA_right_side_up, C.FullType_MtR)], type$.JSArray_legacy_Object); + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + var key, value, t1, $$v, + result = new U.DisplayReverseDNARightSideUpSetBuilder(), + iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + for (; iterator.moveNext$0();) { + key = H._asStringS(iterator.get$current(iterator)); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (key) { + case "display_reverse_DNA_right_side_up": + t1 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); + $$v = result._$v; + if ($$v != null) { + result._actions$_display_reverse_DNA_right_side_up = $$v.display_reverse_DNA_right_side_up; + result._$v = null; + } + result._actions$_display_reverse_DNA_right_side_up = t1; + break; + } + } + return result.build$0(); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_U050; + }, + get$wireName: function() { + return "DisplayReverseDNARightSideUpSet"; + } + }; + U._$SliceBarMoveStartSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + type$.legacy_SliceBarMoveStart._as(object); + return H.setRuntimeTypeInfo([], type$.JSArray_legacy_Object); + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + type$.legacy_Iterable_legacy_Object._as(serialized); + return new U.SliceBarMoveStartBuilder().build$0(); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_izV0; + }, + get$wireName: function() { + return "SliceBarMoveStart"; + } + }; + U._$SliceBarMoveStopSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + type$.legacy_SliceBarMoveStop._as(object); + return H.setRuntimeTypeInfo([], type$.JSArray_legacy_Object); + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + type$.legacy_Iterable_legacy_Object._as(serialized); + return new U.SliceBarMoveStopBuilder().build$0(); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_gaI; + }, + get$wireName: function() { + return "SliceBarMoveStop"; + } + }; + U._$AutostapleSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + type$.legacy_Autostaple._as(object); + return H.setRuntimeTypeInfo([], type$.JSArray_legacy_Object); + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + type$.legacy_Iterable_legacy_Object._as(serialized); + return new U.AutostapleBuilder().build$0(); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_i9o; + }, + get$wireName: function() { + return "Autostaple"; + } + }; + U._$AutobreakSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + type$.legacy_Autobreak._as(object); + return H.setRuntimeTypeInfo(["target_length", serializers.serialize$2$specifiedType(object.target_length, C.FullType_kjq), "min_length", serializers.serialize$2$specifiedType(object.min_length, C.FullType_kjq), "max_length", serializers.serialize$2$specifiedType(object.max_length, C.FullType_kjq), "min_distance_to_xover", serializers.serialize$2$specifiedType(object.min_distance_to_xover, C.FullType_kjq)], type$.JSArray_legacy_Object); + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + var key, value, t1, + result = new U.AutobreakBuilder(), + iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + for (; iterator.moveNext$0();) { + key = H._asStringS(iterator.get$current(iterator)); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (key) { + case "target_length": + t1 = H._asIntS(serializers.deserialize$2$specifiedType(value, C.FullType_kjq)); + result.get$_$this()._target_length = t1; + break; + case "min_length": + t1 = H._asIntS(serializers.deserialize$2$specifiedType(value, C.FullType_kjq)); + result.get$_$this()._min_length = t1; + break; + case "max_length": + t1 = H._asIntS(serializers.deserialize$2$specifiedType(value, C.FullType_kjq)); + result.get$_$this()._max_length = t1; + break; + case "min_distance_to_xover": + t1 = H._asIntS(serializers.deserialize$2$specifiedType(value, C.FullType_kjq)); + result.get$_$this()._min_distance_to_xover = t1; + break; + } + } + return result.build$0(); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_5Q6; + }, + get$wireName: function() { + return "Autobreak"; + } + }; + U._$ZoomSpeedSetSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + return H.setRuntimeTypeInfo(["speed", serializers.serialize$2$specifiedType(type$.legacy_ZoomSpeedSet._as(object).speed, C.FullType_2ru)], type$.JSArray_legacy_Object); + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + var key, value, t1, $$v, _$result, + result = new U.ZoomSpeedSetBuilder(), + iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + for (; iterator.moveNext$0();) { + key = H._asStringS(iterator.get$current(iterator)); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (key) { + case "speed": + t1 = H._asNumS(serializers.deserialize$2$specifiedType(value, C.FullType_2ru)); + $$v = result._$v; + if ($$v != null) { + result._speed = $$v.speed; + result._$v = null; + } + result._speed = t1; + break; + } + } + _$result = result._$v; + if (_$result == null) { + t1 = result.get$_$this()._speed; + if (t1 == null) + H.throwExpression(Y.BuiltValueNullFieldError$("ZoomSpeedSet", "speed")); + _$result = U._$ZoomSpeedSet$_(t1); + } + return result._$v = _$result; + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_joV; + }, + get$wireName: function() { + return "ZoomSpeedSet"; + } + }; + U._$OxdnaExportSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + return H.setRuntimeTypeInfo(["selected_strands_only", serializers.serialize$2$specifiedType(type$.legacy_OxdnaExport._as(object).selected_strands_only, C.FullType_MtR)], type$.JSArray_legacy_Object); + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + var key, value, t1, $$v, + result = new U.OxdnaExportBuilder(), + iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + for (; iterator.moveNext$0();) { + key = H._asStringS(iterator.get$current(iterator)); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (key) { + case "selected_strands_only": + t1 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); + $$v = result._$v; + if ($$v != null) { + result._selected_strands_only = $$v.selected_strands_only; + result._$v = null; + } + result._selected_strands_only = t1; + break; + } + } + return result.build$0(); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_kaS; + }, + get$wireName: function() { + return "OxdnaExport"; + } + }; + U._$OxviewExportSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + return H.setRuntimeTypeInfo(["selected_strands_only", serializers.serialize$2$specifiedType(type$.legacy_OxviewExport._as(object).selected_strands_only, C.FullType_MtR)], type$.JSArray_legacy_Object); + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + var key, value, t1, $$v, + result = new U.OxviewExportBuilder(), + iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + for (; iterator.moveNext$0();) { + key = H._asStringS(iterator.get$current(iterator)); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (key) { + case "selected_strands_only": + t1 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); + $$v = result._$v; + if ($$v != null) { + result._selected_strands_only = $$v.selected_strands_only; + result._$v = null; + } + result._selected_strands_only = t1; + break; + } + } + return result.build$0(); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_N9s; + }, + get$wireName: function() { + return "OxviewExport"; + } + }; + U._$OxExportOnlySelectedStrandsSetSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + return H.setRuntimeTypeInfo(["only_selected", serializers.serialize$2$specifiedType(type$.legacy_OxExportOnlySelectedStrandsSet._as(object).only_selected, C.FullType_MtR)], type$.JSArray_legacy_Object); + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + var key, value, t1, $$v, _$result, + result = new U.OxExportOnlySelectedStrandsSetBuilder(), + iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + for (; iterator.moveNext$0();) { + key = H._asStringS(iterator.get$current(iterator)); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (key) { + case "only_selected": + t1 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); + $$v = result._$v; + if ($$v != null) { + result._only_selected = $$v.only_selected; + result._$v = null; + } + result._only_selected = t1; + break; + } + } + _$result = result._$v; + if (_$result == null) { + t1 = result.get$_$this()._only_selected; + if (t1 == null) + H.throwExpression(Y.BuiltValueNullFieldError$("OxExportOnlySelectedStrandsSet", "only_selected")); + _$result = U._$OxExportOnlySelectedStrandsSet$_(t1); + } + return result._$v = _$result; + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_ggc; + }, + get$wireName: function() { + return "OxExportOnlySelectedStrandsSet"; + } + }; + U._$SkipUndo.prototype = { + $eq: function(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof U.SkipUndo && this.undoable_action.$eq(0, other.undoable_action); + }, + get$hashCode: function(_) { + var t1 = this.undoable_action; + return Y.$jf(Y.$jc(0, t1.get$hashCode(t1))); + }, + toString$0: function(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("SkipUndo"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "undoable_action", this.undoable_action); + return t2.toString$0(t1); + } + }; + U.SkipUndoBuilder.prototype = { + get$_$this: function() { + var _this = this, + $$v = _this._$v; + if ($$v != null) { + _this._undoable_action = $$v.undoable_action; + _this._$v = null; + } + return _this; + } + }; + U._$Undo.prototype = { + $eq: function(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof U.Undo && this.num_undos === other.num_undos; + }, + get$hashCode: function(_) { + return Y.$jf(Y.$jc(0, C.JSInt_methods.get$hashCode(this.num_undos))); + }, + toString$0: function(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("Undo"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "num_undos", this.num_undos); + return t2.toString$0(t1); + } + }; + U.UndoBuilder.prototype = { + get$_$this: function() { + var _this = this, + $$v = _this._$v; + if ($$v != null) { + _this._num_undos = $$v.num_undos; + _this._$v = null; + } + return _this; + }, + build$0: function() { + var t1, + _$result = this._$v; + if (_$result == null) { + t1 = this.get$_$this()._num_undos; + if (t1 == null) + H.throwExpression(Y.BuiltValueNullFieldError$("Undo", "num_undos")); + _$result = new U._$Undo(t1); + } + return this._$v = _$result; + } + }; + U._$Redo.prototype = { + $eq: function(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof U.Redo && this.num_redos === other.num_redos; + }, + get$hashCode: function(_) { + return Y.$jf(Y.$jc(0, C.JSInt_methods.get$hashCode(this.num_redos))); + }, + toString$0: function(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("Redo"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "num_redos", this.num_redos); + return t2.toString$0(t1); + } + }; + U.RedoBuilder.prototype = { + get$_$this: function() { + var _this = this, + $$v = _this._$v; + if ($$v != null) { + _this._num_redos = $$v.num_redos; + _this._$v = null; + } + return _this; + }, + build$0: function() { + var t1, + _$result = this._$v; + if (_$result == null) { + t1 = this.get$_$this()._num_redos; + if (t1 == null) + H.throwExpression(Y.BuiltValueNullFieldError$("Redo", "num_redos")); + _$result = new U._$Redo(t1); + } + return this._$v = _$result; + } + }; + U._$UndoRedoClear.prototype = { + $eq: function(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof U.UndoRedoClear; + }, + get$hashCode: function(_) { + return 505725110; + }, + toString$0: function(_) { + return J.toString$0$($.$get$newBuiltValueToStringHelper().call$1("UndoRedoClear")); + } + }; + U._$BatchAction.prototype = { + $eq: function(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof U.BatchAction && J.$eq$(this.actions, other.actions) && this.short_description_value === other.short_description_value; + }, + get$hashCode: function(_) { + return Y.$jf(Y.$jc(Y.$jc(0, J.get$hashCode$(this.actions)), C.JSString_methods.get$hashCode(this.short_description_value))); + }, + toString$0: function(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("BatchAction"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "actions", this.actions); + t2.add$2(t1, "short_description_value", this.short_description_value); + return t2.toString$0(t1); + } + }; + U.BatchActionBuilder.prototype = { + get$actions: function(_) { + var t1 = this.get$_$this(), + t2 = t1._actions; + if (t2 == null) { + t2 = D.ListBuilder_ListBuilder(C.List_empty, type$.legacy_UndoableAction); + t1.set$_actions(t2); + t1 = t2; + } else + t1 = t2; + return t1; + }, + get$_$this: function() { + var t1, _this = this, + $$v = _this._$v; + if ($$v != null) { + t1 = $$v.actions; + t1.toString; + _this.set$_actions(D.ListBuilder_ListBuilder(t1, t1.$ti._precomputed1)); + _this._short_description_value = $$v.short_description_value; + _this._$v = null; + } + return _this; + }, + build$0: function() { + var _$failedField, e, _$result0, t1, t2, exception, _this = this, + _s11_ = "BatchAction", + _$result = null; + try { + _$result0 = _this._$v; + if (_$result0 == null) { + t1 = _this.get$actions(_this).build$0(); + t2 = _this.get$_$this()._short_description_value; + if (t2 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s11_, "short_description_value")); + _$result0 = new U._$BatchAction(t1, t2); + if (t1 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s11_, "actions")); + } + _$result = _$result0; + } catch (exception) { + H.unwrapException(exception); + _$failedField = null; + try { + _$failedField = "actions"; + _this.get$actions(_this).build$0(); + } catch (exception) { + e = H.unwrapException(exception); + t1 = Y.BuiltValueNestedFieldError$(_s11_, _$failedField, J.toString$0$(e)); + throw H.wrapException(t1); + } + throw exception; + } + t1 = type$.legacy_BatchAction._as(_$result); + if (t1 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + _this._$v = t1; + return _$result; + }, + set$_actions: function(_actions) { + this._actions = type$.legacy_ListBuilder_legacy_UndoableAction._as(_actions); + } + }; + U._$ThrottledActionFast.prototype = { + $eq: function(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof U.ThrottledActionFast && this.action.$eq(0, other.action) && this.interval_sec === other.interval_sec; + }, + get$hashCode: function(_) { + var t1 = this.action; + return Y.$jf(Y.$jc(Y.$jc(0, t1.get$hashCode(t1)), C.JSNumber_methods.get$hashCode(this.interval_sec))); + }, + toString$0: function(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("ThrottledActionFast"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "action", this.action); + t2.add$2(t1, "interval_sec", this.interval_sec); + return t2.toString$0(t1); + }, + get$action: function(receiver) { + return this.action; + }, + get$interval_sec: function() { + return this.interval_sec; + } + }; + U.ThrottledActionFastBuilder.prototype = { + get$_$this: function() { + var _this = this, + $$v = _this._$v; + if ($$v != null) { + _this._action = $$v.action; + _this._interval_sec = $$v.interval_sec; + _this._$v = null; + } + return _this; + }, + build$0: function() { + var t1, t2, _this = this, + _s19_ = "ThrottledActionFast", + _$result = _this._$v; + if (_$result == null) { + t1 = _this.get$_$this()._action; + if (t1 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s19_, "action")); + t2 = _this.get$_$this()._interval_sec; + if (t2 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s19_, "interval_sec")); + _$result = new U._$ThrottledActionFast(t1, t2); + } + return _this._$v = _$result; + } + }; + U._$ThrottledActionNonFast.prototype = { + $eq: function(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof U.ThrottledActionNonFast && this.action.$eq(0, other.action) && this.interval_sec === other.interval_sec; + }, + get$hashCode: function(_) { + var t1 = this.action; + return Y.$jf(Y.$jc(Y.$jc(0, t1.get$hashCode(t1)), C.JSNumber_methods.get$hashCode(this.interval_sec))); + }, + toString$0: function(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("ThrottledActionNonFast"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "action", this.action); + t2.add$2(t1, "interval_sec", this.interval_sec); + return t2.toString$0(t1); + }, + get$action: function(receiver) { + return this.action; + }, + get$interval_sec: function() { + return this.interval_sec; + } + }; + U.ThrottledActionNonFastBuilder.prototype = { + get$_$this: function() { + var _this = this, + $$v = _this._$v; + if ($$v != null) { + _this._action = $$v.action; + _this._interval_sec = $$v.interval_sec; + _this._$v = null; + } + return _this; + }, + build$0: function() { + var t1, t2, _this = this, + _s22_ = "ThrottledActionNonFast", + _$result = _this._$v; + if (_$result == null) { + t1 = _this.get$_$this()._action; + if (t1 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s22_, "action")); + t2 = _this.get$_$this()._interval_sec; + if (t2 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s22_, "interval_sec")); + _$result = new U._$ThrottledActionNonFast(t1, t2); + } + return _this._$v = _$result; + } + }; + U._$LocalStorageDesignChoiceSet.prototype = { + $eq: function(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof U.LocalStorageDesignChoiceSet && this.choice.$eq(0, other.choice); + }, + get$hashCode: function(_) { + var t1 = this.choice; + return Y.$jf(Y.$jc(0, t1.get$hashCode(t1))); + }, + toString$0: function(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("LocalStorageDesignChoiceSet"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "choice", this.choice); + return t2.toString$0(t1); + } + }; + U.LocalStorageDesignChoiceSetBuilder.prototype = { + get$choice: function() { + var t1, t2, _this = this, + $$v = _this._$v; + if ($$v != null) { + t1 = $$v.choice; + t2 = new Y.LocalStorageDesignChoiceBuilder(); + t2._local_storage_design_choice$_$v = t1; + _this._choice = t2; + _this._$v = null; + } + t1 = _this._choice; + return t1 == null ? _this._choice = new Y.LocalStorageDesignChoiceBuilder() : t1; + }, + build$0: function() { + var _$failedField, e, _$result0, exception, t1, _this = this, _$result = null; + try { + _$result0 = _this._$v; + _$result = _$result0 == null ? U._$LocalStorageDesignChoiceSet$_(_this.get$choice().build$0()) : _$result0; + } catch (exception) { + H.unwrapException(exception); + _$failedField = null; + try { + _$failedField = "choice"; + _this.get$choice().build$0(); + } catch (exception) { + e = H.unwrapException(exception); + t1 = Y.BuiltValueNestedFieldError$("LocalStorageDesignChoiceSet", _$failedField, J.toString$0$(e)); + throw H.wrapException(t1); + } + throw exception; + } + t1 = type$.legacy_LocalStorageDesignChoiceSet._as(_$result); + if (t1 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + _this._$v = t1; + return _$result; + } + }; + U._$ResetLocalStorage.prototype = { + $eq: function(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof U.ResetLocalStorage; + }, + get$hashCode: function(_) { + return 939416752; + }, + toString$0: function(_) { + return J.toString$0$($.$get$newBuiltValueToStringHelper().call$1("ResetLocalStorage")); + } + }; + U._$ClearHelixSelectionWhenLoadingNewDesignSet.prototype = { + $eq: function(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof U.ClearHelixSelectionWhenLoadingNewDesignSet && this.clear === other.clear; + }, + get$hashCode: function(_) { + return Y.$jf(Y.$jc(0, C.JSBool_methods.get$hashCode(this.clear))); + }, + toString$0: function(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1(string$.ClearH), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "clear", this.clear); + return t2.toString$0(t1); + } + }; + U.ClearHelixSelectionWhenLoadingNewDesignSetBuilder.prototype = { + get$_$this: function() { + var _this = this, + $$v = _this._$v; + if ($$v != null) { + _this._clear = $$v.clear; + _this._$v = null; + } + return _this; + } + }; + U._$EditModeToggle.prototype = { + $eq: function(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof U.EditModeToggle && this.mode === other.mode; + }, + get$hashCode: function(_) { + return Y.$jf(Y.$jc(0, H.Primitives_objectHashCode(this.mode))); + }, + toString$0: function(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("EditModeToggle"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "mode", this.mode); + return t2.toString$0(t1); + } + }; + U.EditModeToggleBuilder.prototype = { + get$_$this: function() { + var _this = this, + $$v = _this._$v; + if ($$v != null) { + _this._mode = $$v.mode; + _this._$v = null; + } + return _this; + }, + build$0: function() { + var t1, + _$result = this._$v; + if (_$result == null) { + t1 = this.get$_$this()._mode; + if (t1 == null) + H.throwExpression(Y.BuiltValueNullFieldError$("EditModeToggle", "mode")); + _$result = new U._$EditModeToggle(t1); + } + return this._$v = _$result; + } + }; + U._$EditModesSet.prototype = { + $eq: function(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof U.EditModesSet && J.$eq$(this.edit_modes, other.edit_modes); + }, + get$hashCode: function(_) { + return Y.$jf(Y.$jc(0, J.get$hashCode$(this.edit_modes))); + }, + toString$0: function(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("EditModesSet"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "edit_modes", this.edit_modes); + return t2.toString$0(t1); + } + }; + U.EditModesSetBuilder.prototype = { + get$edit_modes: function() { + var t1, t2, _this = this, + $$v = _this._$v; + if ($$v != null) { + t1 = $$v.edit_modes; + t1.toString; + t2 = t1.$ti; + t2._eval$1("_BuiltSet<1>")._as(t1); + _this.set$_actions$_edit_modes(new X.SetBuilder(t1._setFactory, t1._set, t1, t2._eval$1("SetBuilder<1>"))); + _this._$v = null; + } + t1 = _this._actions$_edit_modes; + if (t1 == null) { + t1 = X.SetBuilder_SetBuilder(C.List_empty, type$.legacy_EditModeChoice); + _this.set$_actions$_edit_modes(t1); + } + return t1; + }, + build$0: function() { + var _$failedField, e, _$result0, t1, exception, _this = this, + _s12_ = "EditModesSet", + _$result = null; + try { + _$result0 = _this._$v; + if (_$result0 == null) { + t1 = _this.get$edit_modes().build$0(); + _$result0 = new U._$EditModesSet(t1); + if (t1 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s12_, "edit_modes")); + } + _$result = _$result0; + } catch (exception) { + H.unwrapException(exception); + _$failedField = null; + try { + _$failedField = "edit_modes"; + _this.get$edit_modes().build$0(); + } catch (exception) { + e = H.unwrapException(exception); + t1 = Y.BuiltValueNestedFieldError$(_s12_, _$failedField, J.toString$0$(e)); + throw H.wrapException(t1); + } + throw exception; + } + t1 = type$.legacy_EditModesSet._as(_$result); + if (t1 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + _this._$v = t1; + return _$result; + }, + set$_actions$_edit_modes: function(_edit_modes) { + this._actions$_edit_modes = type$.legacy_SetBuilder_legacy_EditModeChoice._as(_edit_modes); + } + }; + U._$SelectModeToggle.prototype = { + $eq: function(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof U.SelectModeToggle && this.select_mode_choice === other.select_mode_choice; + }, + get$hashCode: function(_) { + return Y.$jf(Y.$jc(0, H.Primitives_objectHashCode(this.select_mode_choice))); + }, + toString$0: function(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("SelectModeToggle"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "select_mode_choice", this.select_mode_choice); + return t2.toString$0(t1); + } + }; + U.SelectModeToggleBuilder.prototype = { + get$_$this: function() { + var _this = this, + $$v = _this._$v; + if ($$v != null) { + _this._select_mode_choice = $$v.select_mode_choice; + _this._$v = null; + } + return _this; + }, + build$0: function() { + var t1, + _$result = this._$v; + if (_$result == null) { + t1 = this.get$_$this()._select_mode_choice; + if (t1 == null) + H.throwExpression(Y.BuiltValueNullFieldError$("SelectModeToggle", "select_mode_choice")); + _$result = new U._$SelectModeToggle(t1); + } + return this._$v = _$result; + } + }; + U._$SelectModesAdd.prototype = { + $eq: function(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof U.SelectModesAdd && J.$eq$(this.modes, other.modes); + }, + get$hashCode: function(_) { + return Y.$jf(Y.$jc(0, J.get$hashCode$(this.modes))); + }, + toString$0: function(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("SelectModesAdd"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "modes", this.modes); + return t2.toString$0(t1); + } + }; + U.SelectModesAddBuilder.prototype = { + get$modes: function() { + var t1, _this = this, + $$v = _this._$v; + if ($$v != null) { + t1 = $$v.modes; + t1.toString; + _this.set$_actions$_modes(D.ListBuilder_ListBuilder(t1, t1.$ti._precomputed1)); + _this._$v = null; + } + t1 = _this._actions$_modes; + if (t1 == null) { + t1 = D.ListBuilder_ListBuilder(C.List_empty, type$.legacy_SelectModeChoice); + _this.set$_actions$_modes(t1); + } + return t1; + }, + build$0: function() { + var _$failedField, e, _$result0, exception, t1, _this = this, _$result = null; + try { + _$result0 = _this._$v; + _$result = _$result0 == null ? U._$SelectModesAdd$_(_this.get$modes().build$0()) : _$result0; + } catch (exception) { + H.unwrapException(exception); + _$failedField = null; + try { + _$failedField = "modes"; + _this.get$modes().build$0(); + } catch (exception) { + e = H.unwrapException(exception); + t1 = Y.BuiltValueNestedFieldError$("SelectModesAdd", _$failedField, J.toString$0$(e)); + throw H.wrapException(t1); + } + throw exception; + } + t1 = type$.legacy_SelectModesAdd._as(_$result); + if (t1 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + _this._$v = t1; + return _$result; + }, + set$_actions$_modes: function(_modes) { + this._actions$_modes = type$.legacy_ListBuilder_legacy_SelectModeChoice._as(_modes); + } + }; + U._$SelectModesSet.prototype = { + $eq: function(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof U.SelectModesSet && J.$eq$(this.select_mode_choices, other.select_mode_choices); + }, + get$hashCode: function(_) { + return Y.$jf(Y.$jc(0, J.get$hashCode$(this.select_mode_choices))); + }, + toString$0: function(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("SelectModesSet"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "select_mode_choices", this.select_mode_choices); + return t2.toString$0(t1); + } + }; + U.SelectModesSetBuilder.prototype = { + get$select_mode_choices: function() { + var t1, t2, _this = this, + $$v = _this._$v; + if ($$v != null) { + t1 = $$v.select_mode_choices; + t1.toString; + t2 = t1.$ti; + t2._eval$1("_BuiltSet<1>")._as(t1); + _this.set$_select_mode_choices(new X.SetBuilder(t1._setFactory, t1._set, t1, t2._eval$1("SetBuilder<1>"))); + _this._$v = null; + } + t1 = _this._select_mode_choices; + if (t1 == null) { + t1 = X.SetBuilder_SetBuilder(C.List_empty, type$.legacy_SelectModeChoice); + _this.set$_select_mode_choices(t1); + } + return t1; + }, + build$0: function() { + var _$failedField, e, _$result0, t1, exception, _this = this, + _s14_ = "SelectModesSet", + _s19_ = "select_mode_choices", + _$result = null; + try { + _$result0 = _this._$v; + if (_$result0 == null) { + t1 = _this.get$select_mode_choices().build$0(); + _$result0 = new U._$SelectModesSet(t1); + if (t1 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s14_, _s19_)); + } + _$result = _$result0; + } catch (exception) { + H.unwrapException(exception); + _$failedField = null; + try { + _$failedField = _s19_; + _this.get$select_mode_choices().build$0(); + } catch (exception) { + e = H.unwrapException(exception); + t1 = Y.BuiltValueNestedFieldError$(_s14_, _$failedField, J.toString$0$(e)); + throw H.wrapException(t1); + } + throw exception; + } + t1 = type$.legacy_SelectModesSet._as(_$result); + if (t1 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + _this._$v = t1; + return _$result; + }, + set$_select_mode_choices: function(_select_mode_choices) { + this._select_mode_choices = type$.legacy_SetBuilder_legacy_SelectModeChoice._as(_select_mode_choices); + } + }; + U._$StrandNameSet.prototype = { + $eq: function(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof U.StrandNameSet && this.name == other.name && J.$eq$(this.strand, other.strand); + }, + get$hashCode: function(_) { + var _this = this, + t1 = _this._actions$__hashCode; + return t1 == null ? _this._actions$__hashCode = Y.$jf(Y.$jc(Y.$jc(0, J.get$hashCode$(_this.name)), J.get$hashCode$(_this.strand))) : t1; + }, + toString$0: function(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("StrandNameSet"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "name", this.name); + t2.add$2(t1, "strand", this.strand); + return t2.toString$0(t1); + }, + get$strand: function() { + return this.strand; + } + }; + U.StrandNameSetBuilder.prototype = { + get$strand: function() { + var t1 = this.get$_$this(), + t2 = t1._strand; + return t2 == null ? t1._strand = new E.StrandBuilder() : t2; + }, + get$_$this: function() { + var t1, t2, _this = this, + $$v = _this._$v; + if ($$v != null) { + _this._actions$_name = $$v.name; + t1 = $$v.strand; + t1.toString; + t2 = new E.StrandBuilder(); + t2._strand$_$v = t1; + _this._strand = t2; + _this._$v = null; + } + return _this; + }, + build$0: function() { + var _$failedField, e, _$result0, exception, t1, _this = this, _$result = null; + try { + _$result0 = _this._$v; + _$result = _$result0 == null ? U._$StrandNameSet$_(_this.get$_$this()._actions$_name, _this.get$strand().build$0()) : _$result0; + } catch (exception) { + H.unwrapException(exception); + _$failedField = null; + try { + _$failedField = "strand"; + _this.get$strand().build$0(); + } catch (exception) { + e = H.unwrapException(exception); + t1 = Y.BuiltValueNestedFieldError$("StrandNameSet", _$failedField, J.toString$0$(e)); + throw H.wrapException(t1); + } + throw exception; + } + t1 = type$.legacy_StrandNameSet._as(_$result); + if (t1 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + _this._$v = t1; + return _$result; + } + }; + U._$StrandLabelSet.prototype = { + $eq: function(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof U.StrandLabelSet && this.label == other.label && J.$eq$(this.strand, other.strand); + }, + get$hashCode: function(_) { + var _this = this, + t1 = _this._actions$__hashCode; + return t1 == null ? _this._actions$__hashCode = Y.$jf(Y.$jc(Y.$jc(0, J.get$hashCode$(_this.label)), J.get$hashCode$(_this.strand))) : t1; + }, + toString$0: function(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("StrandLabelSet"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "label", this.label); + t2.add$2(t1, "strand", this.strand); + return t2.toString$0(t1); + }, + get$strand: function() { + return this.strand; + } + }; + U.StrandLabelSetBuilder.prototype = { + get$strand: function() { + var t1 = this.get$_$this(), + t2 = t1._strand; + return t2 == null ? t1._strand = new E.StrandBuilder() : t2; + }, + get$_$this: function() { + var t1, t2, _this = this, + $$v = _this._$v; + if ($$v != null) { + _this._actions$_label = $$v.label; + t1 = $$v.strand; + t1.toString; + t2 = new E.StrandBuilder(); + t2._strand$_$v = t1; + _this._strand = t2; + _this._$v = null; + } + return _this; + }, + build$0: function() { + var _$failedField, e, _$result0, exception, t1, _this = this, _$result = null; + try { + _$result0 = _this._$v; + _$result = _$result0 == null ? U._$StrandLabelSet$_(_this.get$_$this()._actions$_label, _this.get$strand().build$0()) : _$result0; + } catch (exception) { + H.unwrapException(exception); + _$failedField = null; + try { + _$failedField = "strand"; + _this.get$strand().build$0(); + } catch (exception) { + e = H.unwrapException(exception); + t1 = Y.BuiltValueNestedFieldError$("StrandLabelSet", _$failedField, J.toString$0$(e)); + throw H.wrapException(t1); + } + throw exception; + } + t1 = type$.legacy_StrandLabelSet._as(_$result); + if (t1 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + _this._$v = t1; + return _$result; + } + }; + U._$SubstrandNameSet.prototype = { + $eq: function(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof U.SubstrandNameSet && this.name == other.name && J.$eq$(this.substrand, other.substrand); + }, + get$hashCode: function(_) { + var _this = this, + t1 = _this._actions$__hashCode; + return t1 == null ? _this._actions$__hashCode = Y.$jf(Y.$jc(Y.$jc(0, J.get$hashCode$(_this.name)), J.get$hashCode$(_this.substrand))) : t1; + }, + toString$0: function(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("SubstrandNameSet"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "name", this.name); + t2.add$2(t1, "substrand", this.substrand); + return t2.toString$0(t1); + } + }; + U.SubstrandNameSetBuilder.prototype = { + get$_$this: function() { + var _this = this, + $$v = _this._$v; + if ($$v != null) { + _this._actions$_name = $$v.name; + _this._substrand = $$v.substrand; + _this._$v = null; + } + return _this; + } + }; + U._$SubstrandLabelSet.prototype = { + $eq: function(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof U.SubstrandLabelSet && this.label == other.label && J.$eq$(this.substrand, other.substrand); + }, + get$hashCode: function(_) { + var _this = this, + t1 = _this._actions$__hashCode; + return t1 == null ? _this._actions$__hashCode = Y.$jf(Y.$jc(Y.$jc(0, J.get$hashCode$(_this.label)), J.get$hashCode$(_this.substrand))) : t1; + }, + toString$0: function(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("SubstrandLabelSet"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "label", this.label); + t2.add$2(t1, "substrand", this.substrand); + return t2.toString$0(t1); + } + }; + U.SubstrandLabelSetBuilder.prototype = { + get$_$this: function() { + var _this = this, + $$v = _this._$v; + if ($$v != null) { + _this._actions$_label = $$v.label; + _this._substrand = $$v.substrand; + _this._$v = null; + } + return _this; + } + }; + U._$SetAppUIStateStorable.prototype = { + $eq: function(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof U.SetAppUIStateStorable && J.$eq$(this.storables, other.storables); + }, + get$hashCode: function(_) { + return Y.$jf(Y.$jc(0, J.get$hashCode$(this.storables))); + }, + toString$0: function(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("SetAppUIStateStorable"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "storables", this.storables); + return t2.toString$0(t1); + } + }; + U.SetAppUIStateStorableBuilder.prototype = { + get$storables: function() { + var t1 = this.get$_$this(), + t2 = t1._actions$_storables; + if (t2 == null) { + t2 = new B.AppUIStateStorablesBuilder(); + B.AppUIStateStorables__initializeBuilder(t2); + t1._actions$_storables = t2; + t1 = t2; + } else + t1 = t2; + return t1; + }, + get$_$this: function() { + var t1, t2, _this = this, + $$v = _this._$v; + if ($$v != null) { + t1 = $$v.storables; + t1.toString; + t2 = new B.AppUIStateStorablesBuilder(); + B.AppUIStateStorables__initializeBuilder(t2); + t2._app_ui_state_storables$_$v = t1; + _this._actions$_storables = t2; + _this._$v = null; + } + return _this; + }, + build$0: function() { + var _$failedField, e, _$result0, t1, exception, _this = this, + _s21_ = "SetAppUIStateStorable", + _$result = null; + try { + _$result0 = _this._$v; + if (_$result0 == null) { + t1 = _this.get$storables().build$0(); + _$result0 = new U._$SetAppUIStateStorable(t1); + if (t1 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s21_, "storables")); + } + _$result = _$result0; + } catch (exception) { + H.unwrapException(exception); + _$failedField = null; + try { + _$failedField = "storables"; + _this.get$storables().build$0(); + } catch (exception) { + e = H.unwrapException(exception); + t1 = Y.BuiltValueNestedFieldError$(_s21_, _$failedField, J.toString$0$(e)); + throw H.wrapException(t1); + } + throw exception; + } + t1 = type$.legacy_SetAppUIStateStorable._as(_$result); + if (t1 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + _this._$v = t1; + return _$result; + } + }; + U._$ShowDNASet.prototype = { + $eq: function(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof U.ShowDNASet && this.show === other.show; + }, + get$hashCode: function(_) { + return Y.$jf(Y.$jc(0, C.JSBool_methods.get$hashCode(this.show))); + }, + toString$0: function(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("ShowDNASet"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "show", this.show); + return t2.toString$0(t1); + } + }; + U.ShowDNASetBuilder.prototype = { + get$_$this: function() { + var _this = this, + $$v = _this._$v; + if ($$v != null) { + _this._show = $$v.show; + _this._$v = null; + } + return _this; + }, + build$0: function() { + var t1, + _$result = this._$v; + if (_$result == null) { + t1 = this.get$_$this()._show; + if (t1 == null) + H.throwExpression(Y.BuiltValueNullFieldError$("ShowDNASet", "show")); + _$result = new U._$ShowDNASet(t1); + } + return this._$v = _$result; + } + }; + U._$ShowDomainNamesSet.prototype = { + $eq: function(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof U.ShowDomainNamesSet && this.show === other.show; + }, + get$hashCode: function(_) { + return Y.$jf(Y.$jc(0, C.JSBool_methods.get$hashCode(this.show))); + }, + toString$0: function(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("ShowDomainNamesSet"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "show", this.show); + return t2.toString$0(t1); + } + }; + U.ShowDomainNamesSetBuilder.prototype = { + get$_$this: function() { + var _this = this, + $$v = _this._$v; + if ($$v != null) { + _this._show = $$v.show; + _this._$v = null; + } + return _this; + }, + build$0: function() { + var t1, + _$result = this._$v; + if (_$result == null) { + t1 = this.get$_$this()._show; + if (t1 == null) + H.throwExpression(Y.BuiltValueNullFieldError$("ShowDomainNamesSet", "show")); + _$result = new U._$ShowDomainNamesSet(t1); + } + return this._$v = _$result; + } + }; + U._$ShowStrandNamesSet.prototype = { + $eq: function(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof U.ShowStrandNamesSet && this.show === other.show; + }, + get$hashCode: function(_) { + return Y.$jf(Y.$jc(0, C.JSBool_methods.get$hashCode(this.show))); + }, + toString$0: function(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("ShowStrandNamesSet"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "show", this.show); + return t2.toString$0(t1); + } + }; + U.ShowStrandNamesSetBuilder.prototype = { + get$_$this: function() { + var _this = this, + $$v = _this._$v; + if ($$v != null) { + _this._show = $$v.show; + _this._$v = null; + } + return _this; + }, + build$0: function() { + var t1, + _$result = this._$v; + if (_$result == null) { + t1 = this.get$_$this()._show; + if (t1 == null) + H.throwExpression(Y.BuiltValueNullFieldError$("ShowStrandNamesSet", "show")); + _$result = new U._$ShowStrandNamesSet(t1); + } + return this._$v = _$result; + } + }; + U._$ShowStrandLabelsSet.prototype = { + $eq: function(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof U.ShowStrandLabelsSet && this.show === other.show; + }, + get$hashCode: function(_) { + return Y.$jf(Y.$jc(0, C.JSBool_methods.get$hashCode(this.show))); + }, + toString$0: function(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("ShowStrandLabelsSet"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "show", this.show); + return t2.toString$0(t1); + } + }; + U.ShowStrandLabelsSetBuilder.prototype = { + get$_$this: function() { + var _this = this, + $$v = _this._$v; + if ($$v != null) { + _this._show = $$v.show; + _this._$v = null; + } + return _this; + }, + build$0: function() { + var t1, + _$result = this._$v; + if (_$result == null) { + t1 = this.get$_$this()._show; + if (t1 == null) + H.throwExpression(Y.BuiltValueNullFieldError$("ShowStrandLabelsSet", "show")); + _$result = new U._$ShowStrandLabelsSet(t1); + } + return this._$v = _$result; + } + }; + U._$ShowDomainLabelsSet.prototype = { + $eq: function(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof U.ShowDomainLabelsSet && this.show === other.show; + }, + get$hashCode: function(_) { + return Y.$jf(Y.$jc(0, C.JSBool_methods.get$hashCode(this.show))); + }, + toString$0: function(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("ShowDomainLabelsSet"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "show", this.show); + return t2.toString$0(t1); + } + }; + U.ShowDomainLabelsSetBuilder.prototype = { + get$_$this: function() { + var _this = this, + $$v = _this._$v; + if ($$v != null) { + _this._show = $$v.show; + _this._$v = null; + } + return _this; + }, + build$0: function() { + var t1, + _$result = this._$v; + if (_$result == null) { + t1 = this.get$_$this()._show; + if (t1 == null) + H.throwExpression(Y.BuiltValueNullFieldError$("ShowDomainLabelsSet", "show")); + _$result = new U._$ShowDomainLabelsSet(t1); + } + return this._$v = _$result; + } + }; + U._$ShowModificationsSet.prototype = { + $eq: function(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof U.ShowModificationsSet && this.show === other.show; + }, + get$hashCode: function(_) { + return Y.$jf(Y.$jc(0, C.JSBool_methods.get$hashCode(this.show))); + }, + toString$0: function(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("ShowModificationsSet"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "show", this.show); + return t2.toString$0(t1); + } + }; + U.ShowModificationsSetBuilder.prototype = { + get$_$this: function() { + var _this = this, + $$v = _this._$v; + if ($$v != null) { + _this._show = $$v.show; + _this._$v = null; + } + return _this; + }, + build$0: function() { + var t1, + _$result = this._$v; + if (_$result == null) { + t1 = this.get$_$this()._show; + if (t1 == null) + H.throwExpression(Y.BuiltValueNullFieldError$("ShowModificationsSet", "show")); + _$result = new U._$ShowModificationsSet(t1); + } + return this._$v = _$result; + } + }; + U._$DomainNameFontSizeSet.prototype = { + $eq: function(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof U.DomainNameFontSizeSet && this.font_size == other.font_size; + }, + get$hashCode: function(_) { + return Y.$jf(Y.$jc(0, J.get$hashCode$(this.font_size))); + }, + toString$0: function(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("DomainNameFontSizeSet"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "font_size", this.font_size); + return t2.toString$0(t1); + } + }; + U.DomainNameFontSizeSetBuilder.prototype = { + get$_$this: function() { + var _this = this, + $$v = _this._$v; + if ($$v != null) { + _this._font_size = $$v.font_size; + _this._$v = null; + } + return _this; + } + }; + U._$DomainLabelFontSizeSet.prototype = { + $eq: function(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof U.DomainLabelFontSizeSet && this.font_size == other.font_size; + }, + get$hashCode: function(_) { + return Y.$jf(Y.$jc(0, J.get$hashCode$(this.font_size))); + }, + toString$0: function(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("DomainLabelFontSizeSet"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "font_size", this.font_size); + return t2.toString$0(t1); + } + }; + U.DomainLabelFontSizeSetBuilder.prototype = { + get$_$this: function() { + var _this = this, + $$v = _this._$v; + if ($$v != null) { + _this._font_size = $$v.font_size; + _this._$v = null; + } + return _this; + } + }; + U._$StrandNameFontSizeSet.prototype = { + $eq: function(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof U.StrandNameFontSizeSet && this.font_size == other.font_size; + }, + get$hashCode: function(_) { + return Y.$jf(Y.$jc(0, J.get$hashCode$(this.font_size))); + }, + toString$0: function(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("StrandNameFontSizeSet"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "font_size", this.font_size); + return t2.toString$0(t1); + } + }; + U.StrandNameFontSizeSetBuilder.prototype = { + get$_$this: function() { + var _this = this, + $$v = _this._$v; + if ($$v != null) { + _this._font_size = $$v.font_size; + _this._$v = null; + } + return _this; + } + }; + U._$StrandLabelFontSizeSet.prototype = { + $eq: function(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof U.StrandLabelFontSizeSet && this.font_size == other.font_size; + }, + get$hashCode: function(_) { + return Y.$jf(Y.$jc(0, J.get$hashCode$(this.font_size))); + }, + toString$0: function(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("StrandLabelFontSizeSet"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "font_size", this.font_size); + return t2.toString$0(t1); + } + }; + U.StrandLabelFontSizeSetBuilder.prototype = { + get$_$this: function() { + var _this = this, + $$v = _this._$v; + if ($$v != null) { + _this._font_size = $$v.font_size; + _this._$v = null; + } + return _this; + } + }; + U._$ModificationFontSizeSet.prototype = { + $eq: function(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof U.ModificationFontSizeSet && this.font_size === other.font_size; + }, + get$hashCode: function(_) { + return Y.$jf(Y.$jc(0, C.JSNumber_methods.get$hashCode(this.font_size))); + }, + toString$0: function(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("ModificationFontSizeSet"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "font_size", this.font_size); + return t2.toString$0(t1); + } + }; + U.ModificationFontSizeSetBuilder.prototype = { + get$_$this: function() { + var _this = this, + $$v = _this._$v; + if ($$v != null) { + _this._font_size = $$v.font_size; + _this._$v = null; + } + return _this; + }, + build$0: function() { + var t1, + _$result = this._$v; + if (_$result == null) { + t1 = this.get$_$this()._font_size; + if (t1 == null) + H.throwExpression(Y.BuiltValueNullFieldError$("ModificationFontSizeSet", "font_size")); + _$result = new U._$ModificationFontSizeSet(t1); + } + return this._$v = _$result; + } + }; + U._$MajorTickOffsetFontSizeSet.prototype = { + $eq: function(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof U.MajorTickOffsetFontSizeSet && this.font_size === other.font_size; + }, + get$hashCode: function(_) { + return Y.$jf(Y.$jc(0, C.JSNumber_methods.get$hashCode(this.font_size))); + }, + toString$0: function(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("MajorTickOffsetFontSizeSet"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "font_size", this.font_size); + return t2.toString$0(t1); + } + }; + U.MajorTickOffsetFontSizeSetBuilder.prototype = { + get$_$this: function() { + var _this = this, + $$v = _this._$v; + if ($$v != null) { + _this._font_size = $$v.font_size; + _this._$v = null; + } + return _this; + }, + build$0: function() { + var t1, + _$result = this._$v; + if (_$result == null) { + t1 = this.get$_$this()._font_size; + if (t1 == null) + H.throwExpression(Y.BuiltValueNullFieldError$("MajorTickOffsetFontSizeSet", "font_size")); + _$result = new U._$MajorTickOffsetFontSizeSet(t1); + } + return this._$v = _$result; + } + }; + U._$MajorTickWidthFontSizeSet.prototype = { + $eq: function(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof U.MajorTickWidthFontSizeSet && this.font_size === other.font_size; + }, + get$hashCode: function(_) { + return Y.$jf(Y.$jc(0, C.JSNumber_methods.get$hashCode(this.font_size))); + }, + toString$0: function(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("MajorTickWidthFontSizeSet"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "font_size", this.font_size); + return t2.toString$0(t1); + } + }; + U.MajorTickWidthFontSizeSetBuilder.prototype = { + get$_$this: function() { + var _this = this, + $$v = _this._$v; + if ($$v != null) { + _this._font_size = $$v.font_size; + _this._$v = null; + } + return _this; + }, + build$0: function() { + var t1, + _$result = this._$v; + if (_$result == null) { + t1 = this.get$_$this()._font_size; + if (t1 == null) + H.throwExpression(Y.BuiltValueNullFieldError$("MajorTickWidthFontSizeSet", "font_size")); + _$result = new U._$MajorTickWidthFontSizeSet(t1); + } + return this._$v = _$result; + } + }; + U._$SetModificationDisplayConnector.prototype = { + $eq: function(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof U.SetModificationDisplayConnector && this.show === other.show; + }, + get$hashCode: function(_) { + return Y.$jf(Y.$jc(0, C.JSBool_methods.get$hashCode(this.show))); + }, + toString$0: function(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("SetModificationDisplayConnector"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "show", this.show); + return t2.toString$0(t1); + } + }; + U.SetModificationDisplayConnectorBuilder.prototype = { + get$_$this: function() { + var _this = this, + $$v = _this._$v; + if ($$v != null) { + _this._show = $$v.show; + _this._$v = null; + } + return _this; + }, + build$0: function() { + var t1, + _$result = this._$v; + if (_$result == null) { + t1 = this.get$_$this()._show; + if (t1 == null) + H.throwExpression(Y.BuiltValueNullFieldError$("SetModificationDisplayConnector", "show")); + _$result = new U._$SetModificationDisplayConnector(t1); + } + return this._$v = _$result; + } + }; + U._$ShowMismatchesSet.prototype = { + $eq: function(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof U.ShowMismatchesSet && this.show === other.show; + }, + get$hashCode: function(_) { + return Y.$jf(Y.$jc(0, C.JSBool_methods.get$hashCode(this.show))); + }, + toString$0: function(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("ShowMismatchesSet"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "show", this.show); + return t2.toString$0(t1); + } + }; + U.ShowMismatchesSetBuilder.prototype = { + get$_$this: function() { + var _this = this, + $$v = _this._$v; + if ($$v != null) { + _this._show = $$v.show; + _this._$v = null; + } + return _this; + }, + build$0: function() { + var t1, + _$result = this._$v; + if (_$result == null) { + t1 = this.get$_$this()._show; + if (t1 == null) + H.throwExpression(Y.BuiltValueNullFieldError$("ShowMismatchesSet", "show")); + _$result = new U._$ShowMismatchesSet(t1); + } + return this._$v = _$result; + } + }; + U._$ShowDomainNameMismatchesSet.prototype = { + $eq: function(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof U.ShowDomainNameMismatchesSet && this.show_domain_name_mismatches === other.show_domain_name_mismatches; + }, + get$hashCode: function(_) { + return Y.$jf(Y.$jc(0, C.JSBool_methods.get$hashCode(this.show_domain_name_mismatches))); + }, + toString$0: function(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("ShowDomainNameMismatchesSet"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "show_domain_name_mismatches", this.show_domain_name_mismatches); + return t2.toString$0(t1); + } + }; + U.ShowDomainNameMismatchesSetBuilder.prototype = { + get$_$this: function() { + var _this = this, + $$v = _this._$v; + if ($$v != null) { + _this._actions$_show_domain_name_mismatches = $$v.show_domain_name_mismatches; + _this._$v = null; + } + return _this; + }, + build$0: function() { + var t1, + _$result = this._$v; + if (_$result == null) { + t1 = this.get$_$this()._actions$_show_domain_name_mismatches; + if (t1 == null) + H.throwExpression(Y.BuiltValueNullFieldError$("ShowDomainNameMismatchesSet", "show_domain_name_mismatches")); + _$result = new U._$ShowDomainNameMismatchesSet(t1); + } + return this._$v = _$result; + } + }; + U._$ShowUnpairedInsertionDeletionsSet.prototype = { + $eq: function(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof U.ShowUnpairedInsertionDeletionsSet && this.show_unpaired_insertion_deletions === other.show_unpaired_insertion_deletions; + }, + get$hashCode: function(_) { + return Y.$jf(Y.$jc(0, C.JSBool_methods.get$hashCode(this.show_unpaired_insertion_deletions))); + }, + toString$0: function(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("ShowUnpairedInsertionDeletionsSet"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "show_unpaired_insertion_deletions", this.show_unpaired_insertion_deletions); + return t2.toString$0(t1); + } + }; + U.ShowUnpairedInsertionDeletionsSetBuilder.prototype = { + get$_$this: function() { + var _this = this, + $$v = _this._$v; + if ($$v != null) { + _this._actions$_show_unpaired_insertion_deletions = $$v.show_unpaired_insertion_deletions; + _this._$v = null; + } + return _this; + }, + build$0: function() { + var t1, + _$result = this._$v; + if (_$result == null) { + t1 = this.get$_$this()._actions$_show_unpaired_insertion_deletions; + if (t1 == null) + H.throwExpression(Y.BuiltValueNullFieldError$("ShowUnpairedInsertionDeletionsSet", "show_unpaired_insertion_deletions")); + _$result = new U._$ShowUnpairedInsertionDeletionsSet(t1); + } + return this._$v = _$result; + } + }; + U._$OxviewShowSet.prototype = { + $eq: function(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof U.OxviewShowSet && this.show === other.show; + }, + get$hashCode: function(_) { + return Y.$jf(Y.$jc(0, C.JSBool_methods.get$hashCode(this.show))); + }, + toString$0: function(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("OxviewShowSet"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "show", this.show); + return t2.toString$0(t1); + } + }; + U.OxviewShowSetBuilder.prototype = { + get$_$this: function() { + var _this = this, + $$v = _this._$v; + if ($$v != null) { + _this._show = $$v.show; + _this._$v = null; + } + return _this; + }, + build$0: function() { + var t1, + _$result = this._$v; + if (_$result == null) { + t1 = this.get$_$this()._show; + if (t1 == null) + H.throwExpression(Y.BuiltValueNullFieldError$("OxviewShowSet", "show")); + _$result = new U._$OxviewShowSet(t1); + } + return this._$v = _$result; + } + }; + U._$SetDisplayBaseOffsetsOfMajorTicksOnlyFirstHelix.prototype = { + $eq: function(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof U.SetDisplayBaseOffsetsOfMajorTicksOnlyFirstHelix && this.show === other.show; + }, + get$hashCode: function(_) { + return Y.$jf(Y.$jc(0, C.JSBool_methods.get$hashCode(this.show))); + }, + toString$0: function(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1(string$.SetDis), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "show", this.show); + return t2.toString$0(t1); + } + }; + U.SetDisplayBaseOffsetsOfMajorTicksOnlyFirstHelixBuilder.prototype = { + get$_$this: function() { + var _this = this, + $$v = _this._$v; + if ($$v != null) { + _this._show = $$v.show; + _this._$v = null; + } + return _this; + }, + build$0: function() { + var t1, + _$result = this._$v; + if (_$result == null) { + t1 = this.get$_$this()._show; + if (t1 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(string$.SetDis, "show")); + _$result = new U._$SetDisplayBaseOffsetsOfMajorTicksOnlyFirstHelix(t1); + } + return this._$v = _$result; + } + }; + U._$DisplayMajorTicksOffsetsSet.prototype = { + $eq: function(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof U.DisplayMajorTicksOffsetsSet && this.show === other.show; + }, + get$hashCode: function(_) { + return Y.$jf(Y.$jc(0, C.JSBool_methods.get$hashCode(this.show))); + }, + toString$0: function(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("DisplayMajorTicksOffsetsSet"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "show", this.show); + return t2.toString$0(t1); + } + }; + U.DisplayMajorTicksOffsetsSetBuilder.prototype = { + get$_$this: function() { + var _this = this, + $$v = _this._$v; + if ($$v != null) { + _this._show = $$v.show; + _this._$v = null; + } + return _this; + }, + build$0: function() { + var t1, + _$result = this._$v; + if (_$result == null) { + t1 = this.get$_$this()._show; + if (t1 == null) + H.throwExpression(Y.BuiltValueNullFieldError$("DisplayMajorTicksOffsetsSet", "show")); + _$result = new U._$DisplayMajorTicksOffsetsSet(t1); + } + return this._$v = _$result; + } + }; + U._$SetDisplayMajorTickWidthsAllHelices.prototype = { + $eq: function(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof U.SetDisplayMajorTickWidthsAllHelices && this.show === other.show; + }, + get$hashCode: function(_) { + return Y.$jf(Y.$jc(0, C.JSBool_methods.get$hashCode(this.show))); + }, + toString$0: function(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("SetDisplayMajorTickWidthsAllHelices"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "show", this.show); + return t2.toString$0(t1); + } + }; + U.SetDisplayMajorTickWidthsAllHelicesBuilder.prototype = { + get$_$this: function() { + var _this = this, + $$v = _this._$v; + if ($$v != null) { + _this._show = $$v.show; + _this._$v = null; + } + return _this; + }, + build$0: function() { + var t1, + _$result = this._$v; + if (_$result == null) { + t1 = this.get$_$this()._show; + if (t1 == null) + H.throwExpression(Y.BuiltValueNullFieldError$("SetDisplayMajorTickWidthsAllHelices", "show")); + _$result = new U._$SetDisplayMajorTickWidthsAllHelices(t1); + } + return this._$v = _$result; + } + }; + U._$SetDisplayMajorTickWidths.prototype = { + $eq: function(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof U.SetDisplayMajorTickWidths && this.show === other.show; + }, + get$hashCode: function(_) { + return Y.$jf(Y.$jc(0, C.JSBool_methods.get$hashCode(this.show))); + }, + toString$0: function(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("SetDisplayMajorTickWidths"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "show", this.show); + return t2.toString$0(t1); + } + }; + U.SetDisplayMajorTickWidthsBuilder.prototype = { + get$_$this: function() { + var _this = this, + $$v = _this._$v; + if ($$v != null) { + _this._show = $$v.show; + _this._$v = null; + } + return _this; + }, + build$0: function() { + var t1, + _$result = this._$v; + if (_$result == null) { + t1 = this.get$_$this()._show; + if (t1 == null) + H.throwExpression(Y.BuiltValueNullFieldError$("SetDisplayMajorTickWidths", "show")); + _$result = new U._$SetDisplayMajorTickWidths(t1); + } + return this._$v = _$result; + } + }; + U._$SetOnlyDisplaySelectedHelices.prototype = { + $eq: function(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof U.SetOnlyDisplaySelectedHelices && this.only_display_selected_helices === other.only_display_selected_helices; + }, + get$hashCode: function(_) { + return Y.$jf(Y.$jc(0, C.JSBool_methods.get$hashCode(this.only_display_selected_helices))); + }, + toString$0: function(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("SetOnlyDisplaySelectedHelices"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "only_display_selected_helices", this.only_display_selected_helices); + return t2.toString$0(t1); + } + }; + U.SetOnlyDisplaySelectedHelicesBuilder.prototype = { + get$_$this: function() { + var _this = this, + $$v = _this._$v; + if ($$v != null) { + _this._actions$_only_display_selected_helices = $$v.only_display_selected_helices; + _this._$v = null; + } + return _this; + }, + build$0: function() { + var t1, + _$result = this._$v; + if (_$result == null) { + t1 = this.get$_$this()._actions$_only_display_selected_helices; + if (t1 == null) + H.throwExpression(Y.BuiltValueNullFieldError$("SetOnlyDisplaySelectedHelices", "only_display_selected_helices")); + _$result = new U._$SetOnlyDisplaySelectedHelices(t1); + } + return this._$v = _$result; + } + }; + U._$InvertYSet.prototype = { + $eq: function(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof U.InvertYSet && this.invert_y === other.invert_y; + }, + get$hashCode: function(_) { + return Y.$jf(Y.$jc(0, C.JSBool_methods.get$hashCode(this.invert_y))); + }, + toString$0: function(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("InvertYSet"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "invert_y", this.invert_y); + return t2.toString$0(t1); + } + }; + U.InvertYSetBuilder.prototype = { + get$_$this: function() { + var _this = this, + $$v = _this._$v; + if ($$v != null) { + _this._actions$_invert_y = $$v.invert_y; + _this._$v = null; + } + return _this; + } + }; + U._$DynamicHelixUpdateSet.prototype = { + $eq: function(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof U.DynamicHelixUpdateSet && this.dynamically_update_helices === other.dynamically_update_helices; + }, + get$hashCode: function(_) { + return Y.$jf(Y.$jc(0, C.JSBool_methods.get$hashCode(this.dynamically_update_helices))); + }, + toString$0: function(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("DynamicHelixUpdateSet"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "dynamically_update_helices", this.dynamically_update_helices); + return t2.toString$0(t1); + } + }; + U.DynamicHelixUpdateSetBuilder.prototype = { + get$_$this: function() { + var _this = this, + $$v = _this._$v; + if ($$v != null) { + _this._actions$_dynamically_update_helices = $$v.dynamically_update_helices; + _this._$v = null; + } + return _this; + } + }; + U._$WarnOnExitIfUnsavedSet.prototype = { + $eq: function(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof U.WarnOnExitIfUnsavedSet && this.warn === other.warn; + }, + get$hashCode: function(_) { + return Y.$jf(Y.$jc(0, C.JSBool_methods.get$hashCode(this.warn))); + }, + toString$0: function(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("WarnOnExitIfUnsavedSet"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "warn", this.warn); + return t2.toString$0(t1); + } + }; + U.WarnOnExitIfUnsavedSetBuilder.prototype = { + get$_$this: function() { + var _this = this, + $$v = _this._$v; + if ($$v != null) { + _this._warn = $$v.warn; + _this._$v = null; + } + return _this; + } + }; + U._$LoadingDialogShow.prototype = { + $eq: function(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof U.LoadingDialogShow; + }, + get$hashCode: function(_) { + return 952269547; + }, + toString$0: function(_) { + return J.toString$0$($.$get$newBuiltValueToStringHelper().call$1("LoadingDialogShow")); + } + }; + U._$LoadingDialogHide.prototype = { + $eq: function(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof U.LoadingDialogHide; + }, + get$hashCode: function(_) { + return 802315898; + }, + toString$0: function(_) { + return J.toString$0$($.$get$newBuiltValueToStringHelper().call$1("LoadingDialogHide")); + } + }; + U._$CopySelectedStandsToClipboardImage.prototype = { + $eq: function(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof U.CopySelectedStandsToClipboardImage; + }, + get$hashCode: function(_) { + return 747815956; + }, + toString$0: function(_) { + return J.toString$0$($.$get$newBuiltValueToStringHelper().call$1("CopySelectedStandsToClipboardImage")); + } + }; + U.CopySelectedStandsToClipboardImageBuilder.prototype = { + build$0: function() { + var _$result = this._$v; + if (_$result == null) + _$result = new U._$CopySelectedStandsToClipboardImage(); + return this._$v = _$result; + } + }; + U._$SaveDNAFile.prototype = { + $eq: function(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof U.SaveDNAFile; + }, + get$hashCode: function(_) { + return 802180151; + }, + toString$0: function(_) { + return J.toString$0$($.$get$newBuiltValueToStringHelper().call$1("SaveDNAFile")); + } + }; + U.SaveDNAFileBuilder.prototype = { + build$0: function() { + var _$result = this._$v; + if (_$result == null) + _$result = new U._$SaveDNAFile(); + return this._$v = _$result; + } + }; + U._$LoadDNAFile.prototype = { + $eq: function(_, other) { + var _this = this; + if (other == null) + return false; + if (other === _this) + return true; + return other instanceof U.LoadDNAFile && _this.content === other.content && _this.write_local_storage === other.write_local_storage && _this.unit_testing === other.unit_testing && _this.dna_file_type === other.dna_file_type && _this.filename == other.filename; + }, + get$hashCode: function(_) { + var _this = this; + return Y.$jf(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(0, C.JSString_methods.get$hashCode(_this.content)), C.JSBool_methods.get$hashCode(_this.write_local_storage)), C.JSBool_methods.get$hashCode(_this.unit_testing)), H.Primitives_objectHashCode(_this.dna_file_type)), J.get$hashCode$(_this.filename))); + }, + toString$0: function(_) { + var _this = this, + t1 = $.$get$newBuiltValueToStringHelper().call$1("LoadDNAFile"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "content", _this.content); + t2.add$2(t1, "write_local_storage", _this.write_local_storage); + t2.add$2(t1, "unit_testing", _this.unit_testing); + t2.add$2(t1, "dna_file_type", _this.dna_file_type); + t2.add$2(t1, "filename", _this.filename); + return t2.toString$0(t1); + } + }; + U.LoadDNAFileBuilder.prototype = { + get$_$this: function() { + var _this = this, + $$v = _this._$v; + if ($$v != null) { + _this._content = $$v.content; + _this._write_local_storage = $$v.write_local_storage; + _this._unit_testing = $$v.unit_testing; + _this._dna_file_type = $$v.dna_file_type; + _this._filename = $$v.filename; + _this._$v = null; + } + return _this; + }, + build$0: function() { + var t1, t2, t3, t4, _this = this, + _s11_ = "LoadDNAFile", + _$result = _this._$v; + if (_$result == null) { + t1 = _this.get$_$this()._content; + if (t1 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s11_, "content")); + t2 = _this.get$_$this()._write_local_storage; + if (t2 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s11_, "write_local_storage")); + t3 = _this.get$_$this()._unit_testing; + if (t3 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s11_, "unit_testing")); + t4 = _this.get$_$this()._dna_file_type; + if (t4 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s11_, "dna_file_type")); + _$result = new U._$LoadDNAFile(t1, t2, t3, t4, _this.get$_$this()._filename); + } + return _this._$v = _$result; + } + }; + U._$PrepareToLoadDNAFile.prototype = { + $eq: function(_, other) { + var _this = this; + if (other == null) + return false; + if (other === _this) + return true; + return other instanceof U.PrepareToLoadDNAFile && _this.content === other.content && _this.write_local_storage === other.write_local_storage && _this.unit_testing === other.unit_testing && _this.dna_file_type === other.dna_file_type && _this.filename == other.filename; + }, + get$hashCode: function(_) { + var _this = this; + return Y.$jf(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(0, C.JSString_methods.get$hashCode(_this.content)), C.JSBool_methods.get$hashCode(_this.write_local_storage)), C.JSBool_methods.get$hashCode(_this.unit_testing)), H.Primitives_objectHashCode(_this.dna_file_type)), J.get$hashCode$(_this.filename))); + }, + toString$0: function(_) { + var _this = this, + t1 = $.$get$newBuiltValueToStringHelper().call$1("PrepareToLoadDNAFile"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "content", _this.content); + t2.add$2(t1, "write_local_storage", _this.write_local_storage); + t2.add$2(t1, "unit_testing", _this.unit_testing); + t2.add$2(t1, "dna_file_type", _this.dna_file_type); + t2.add$2(t1, "filename", _this.filename); + return t2.toString$0(t1); + } + }; + U.PrepareToLoadDNAFileBuilder.prototype = { + get$_$this: function() { + var _this = this, + $$v = _this._$v; + if ($$v != null) { + _this._content = $$v.content; + _this._write_local_storage = $$v.write_local_storage; + _this._unit_testing = $$v.unit_testing; + _this._dna_file_type = $$v.dna_file_type; + _this._filename = $$v.filename; + _this._$v = null; + } + return _this; + }, + build$0: function() { + var t1, t2, t3, t4, _this = this, + _s20_ = "PrepareToLoadDNAFile", + _$result = _this._$v; + if (_$result == null) { + t1 = _this.get$_$this()._content; + if (t1 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s20_, "content")); + t2 = _this.get$_$this()._write_local_storage; + if (t2 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s20_, "write_local_storage")); + t3 = _this.get$_$this()._unit_testing; + if (t3 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s20_, "unit_testing")); + t4 = _this.get$_$this()._dna_file_type; + if (t4 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s20_, "dna_file_type")); + _$result = new U._$PrepareToLoadDNAFile(t1, t2, t3, t4, _this.get$_$this()._filename); + } + return _this._$v = _$result; + } + }; + U._$NewDesignSet.prototype = { + $eq: function(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof U.NewDesignSet && J.$eq$(this.design, other.design) && this.short_description_value === other.short_description_value; + }, + get$hashCode: function(_) { + return Y.$jf(Y.$jc(Y.$jc(0, J.get$hashCode$(this.design)), C.JSString_methods.get$hashCode(this.short_description_value))); + }, + toString$0: function(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("NewDesignSet"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "design", this.design); + t2.add$2(t1, "short_description_value", this.short_description_value); + return t2.toString$0(t1); + } + }; + U.NewDesignSetBuilder.prototype = { + get$design: function() { + var t1 = this.get$_$this(), + t2 = t1._actions$_design; + if (t2 == null) { + t2 = new N.DesignBuilder(); + N.Design__initializeBuilder(t2); + t1._actions$_design = t2; + t1 = t2; + } else + t1 = t2; + return t1; + }, + get$_$this: function() { + var t1, t2, _this = this, + $$v = _this._$v; + if ($$v != null) { + t1 = $$v.design; + t1.toString; + t2 = new N.DesignBuilder(); + N.Design__initializeBuilder(t2); + t2._design0$_$v = t1; + _this._actions$_design = t2; + _this._short_description_value = $$v.short_description_value; + _this._$v = null; + } + return _this; + }, + build$0: function() { + var _$failedField, e, _$result0, t1, t2, exception, _this = this, + _s12_ = "NewDesignSet", + _$result = null; + try { + _$result0 = _this._$v; + if (_$result0 == null) { + t1 = _this.get$design().build$0(); + t2 = _this.get$_$this()._short_description_value; + if (t2 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s12_, "short_description_value")); + _$result0 = new U._$NewDesignSet(t1, t2); + if (t1 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s12_, "design")); + } + _$result = _$result0; + } catch (exception) { + H.unwrapException(exception); + _$failedField = null; + try { + _$failedField = "design"; + _this.get$design().build$0(); + } catch (exception) { + e = H.unwrapException(exception); + t1 = Y.BuiltValueNestedFieldError$(_s12_, _$failedField, J.toString$0$(e)); + throw H.wrapException(t1); + } + throw exception; + } + t1 = type$.legacy_NewDesignSet._as(_$result); + if (t1 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + _this._$v = t1; + return _$result; + } + }; + U._$ExportCadnanoFile.prototype = { + $eq: function(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof U.ExportCadnanoFile && this.whitespace === other.whitespace; + }, + get$hashCode: function(_) { + var t1 = this._actions$__hashCode; + return t1 == null ? this._actions$__hashCode = Y.$jf(Y.$jc(0, C.JSBool_methods.get$hashCode(this.whitespace))) : t1; + }, + toString$0: function(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("ExportCadnanoFile"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "whitespace", this.whitespace); + return t2.toString$0(t1); + } + }; + U.ExportCadnanoFileBuilder.prototype = { + get$_$this: function() { + var _this = this, + $$v = _this._$v; + if ($$v != null) { + _this._whitespace = $$v.whitespace; + _this._$v = null; + } + return _this; + } + }; + U._$ExportCodenanoFile.prototype = { + $eq: function(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof U.ExportCodenanoFile; + }, + get$hashCode: function(_) { + return 632553768; + }, + toString$0: function(_) { + return J.toString$0$($.$get$newBuiltValueToStringHelper().call$1("ExportCodenanoFile")); + } + }; + U._$ShowMouseoverDataSet.prototype = { + $eq: function(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof U.ShowMouseoverDataSet && this.show === other.show; + }, + get$hashCode: function(_) { + return Y.$jf(Y.$jc(0, C.JSBool_methods.get$hashCode(this.show))); + }, + toString$0: function(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("ShowMouseoverDataSet"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "show", this.show); + return t2.toString$0(t1); + } + }; + U.ShowMouseoverDataSetBuilder.prototype = { + get$_$this: function() { + var _this = this, + $$v = _this._$v; + if ($$v != null) { + _this._show = $$v.show; + _this._$v = null; + } + return _this; + }, + build$0: function() { + var t1, + _$result = this._$v; + if (_$result == null) { + t1 = this.get$_$this()._show; + if (t1 == null) + H.throwExpression(Y.BuiltValueNullFieldError$("ShowMouseoverDataSet", "show")); + _$result = new U._$ShowMouseoverDataSet(t1); + } + return this._$v = _$result; + } + }; + U._$MouseoverDataClear.prototype = { + $eq: function(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof U.MouseoverDataClear; + }, + get$hashCode: function(_) { + return 193748472; + }, + toString$0: function(_) { + return J.toString$0$($.$get$newBuiltValueToStringHelper().call$1("MouseoverDataClear")); + } + }; + U.MouseoverDataClearBuilder.prototype = { + build$0: function() { + var _$result = this._$v; + if (_$result == null) + _$result = new U._$MouseoverDataClear(); + return this._$v = _$result; + } + }; + U._$MouseoverDataUpdate.prototype = { + $eq: function(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof U.MouseoverDataUpdate && J.$eq$(this.mouseover_params, other.mouseover_params); + }, + get$hashCode: function(_) { + return Y.$jf(Y.$jc(0, J.get$hashCode$(this.mouseover_params))); + }, + toString$0: function(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("MouseoverDataUpdate"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "mouseover_params", this.mouseover_params); + return t2.toString$0(t1); + } + }; + U.MouseoverDataUpdateBuilder.prototype = { + get$mouseover_params: function() { + var t1, _this = this, + $$v = _this._$v; + if ($$v != null) { + t1 = $$v.mouseover_params; + t1.toString; + _this.set$_mouseover_params(D.ListBuilder_ListBuilder(t1, t1.$ti._precomputed1)); + _this._$v = null; + } + t1 = _this._mouseover_params; + if (t1 == null) { + t1 = D.ListBuilder_ListBuilder(C.List_empty, type$.legacy_MouseoverParams); + _this.set$_mouseover_params(t1); + } + return t1; + }, + build$0: function() { + var _$failedField, e, _$result0, exception, t1, _this = this, _$result = null; + try { + _$result0 = _this._$v; + _$result = _$result0 == null ? U._$MouseoverDataUpdate$_(_this.get$mouseover_params().build$0()) : _$result0; + } catch (exception) { + H.unwrapException(exception); + _$failedField = null; + try { + _$failedField = "mouseover_params"; + _this.get$mouseover_params().build$0(); + } catch (exception) { + e = H.unwrapException(exception); + t1 = Y.BuiltValueNestedFieldError$("MouseoverDataUpdate", _$failedField, J.toString$0$(e)); + throw H.wrapException(t1); + } + throw exception; + } + t1 = type$.legacy_MouseoverDataUpdate._as(_$result); + if (t1 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + _this._$v = t1; + return _$result; + }, + set$_mouseover_params: function(_mouseover_params) { + this._mouseover_params = type$.legacy_ListBuilder_legacy_MouseoverParams._as(_mouseover_params); + } + }; + U._$HelixRollSet.prototype = { + $eq: function(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof U.HelixRollSet && this.helix_idx === other.helix_idx && this.roll === other.roll; + }, + get$hashCode: function(_) { + return Y.$jf(Y.$jc(Y.$jc(0, C.JSInt_methods.get$hashCode(this.helix_idx)), C.JSNumber_methods.get$hashCode(this.roll))); + }, + toString$0: function(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("HelixRollSet"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "helix_idx", this.helix_idx); + t2.add$2(t1, "roll", this.roll); + return t2.toString$0(t1); + }, + get$helix_idx: function() { + return this.helix_idx; + } + }; + U.HelixRollSetBuilder.prototype = { + get$_$this: function() { + var _this = this, + $$v = _this._$v; + if ($$v != null) { + _this._actions$_helix_idx = $$v.helix_idx; + _this._actions$_roll = $$v.roll; + _this._$v = null; + } + return _this; + } + }; + U._$HelixRollSetAtOther.prototype = { + $eq: function(_, other) { + var _this = this; + if (other == null) + return false; + if (other === _this) + return true; + return other instanceof U.HelixRollSetAtOther && _this.helix_idx === other.helix_idx && _this.helix_other_idx === other.helix_other_idx && _this.forward === other.forward && _this.anchor === other.anchor; + }, + get$hashCode: function(_) { + var _this = this; + return Y.$jf(Y.$jc(Y.$jc(Y.$jc(Y.$jc(0, C.JSInt_methods.get$hashCode(_this.helix_idx)), C.JSInt_methods.get$hashCode(_this.helix_other_idx)), C.JSBool_methods.get$hashCode(_this.forward)), C.JSInt_methods.get$hashCode(_this.anchor))); + }, + toString$0: function(_) { + var _this = this, + t1 = $.$get$newBuiltValueToStringHelper().call$1("HelixRollSetAtOther"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "helix_idx", _this.helix_idx); + t2.add$2(t1, "helix_other_idx", _this.helix_other_idx); + t2.add$2(t1, "forward", _this.forward); + t2.add$2(t1, "anchor", _this.anchor); + return t2.toString$0(t1); + } + }; + U.HelixRollSetAtOtherBuilder.prototype = { + get$_$this: function() { + var _this = this, + $$v = _this._$v; + if ($$v != null) { + _this._actions$_helix_idx = $$v.helix_idx; + _this._helix_other_idx = $$v.helix_other_idx; + _this._actions$_forward = $$v.forward; + _this._anchor = $$v.anchor; + _this._$v = null; + } + return _this; + }, + build$0: function() { + var t1, t2, t3, t4, _this = this, + _s19_ = "HelixRollSetAtOther", + _$result = _this._$v; + if (_$result == null) { + t1 = _this.get$_$this()._actions$_helix_idx; + if (t1 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s19_, "helix_idx")); + t2 = _this.get$_$this()._helix_other_idx; + if (t2 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s19_, "helix_other_idx")); + t3 = _this.get$_$this()._actions$_forward; + if (t3 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s19_, "forward")); + t4 = _this.get$_$this()._anchor; + if (t4 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s19_, "anchor")); + _$result = new U._$HelixRollSetAtOther(t1, t2, t3, t4); + } + return _this._$v = _$result; + } + }; + U._$RelaxHelixRolls.prototype = { + $eq: function(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof U.RelaxHelixRolls && this.only_selected === other.only_selected; + }, + get$hashCode: function(_) { + return Y.$jf(Y.$jc(0, C.JSBool_methods.get$hashCode(this.only_selected))); + }, + toString$0: function(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("RelaxHelixRolls"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "only_selected", this.only_selected); + return t2.toString$0(t1); + } + }; + U.RelaxHelixRollsBuilder.prototype = { + get$_$this: function() { + var _this = this, + $$v = _this._$v; + if ($$v != null) { + _this._only_selected = $$v.only_selected; + _this._$v = null; + } + return _this; + } + }; + U._$ErrorMessageSet.prototype = { + $eq: function(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof U.ErrorMessageSet && this.error_message === other.error_message; + }, + get$hashCode: function(_) { + return Y.$jf(Y.$jc(0, C.JSString_methods.get$hashCode(this.error_message))); + }, + toString$0: function(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("ErrorMessageSet"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "error_message", this.error_message); + return t2.toString$0(t1); + } + }; + U.ErrorMessageSetBuilder.prototype = { + get$_$this: function() { + var _this = this, + $$v = _this._$v; + if ($$v != null) { + _this._actions$_error_message = $$v.error_message; + _this._$v = null; + } + return _this; + }, + build$0: function() { + var t1, + _$result = this._$v; + if (_$result == null) { + t1 = this.get$_$this()._actions$_error_message; + if (t1 == null) + H.throwExpression(Y.BuiltValueNullFieldError$("ErrorMessageSet", "error_message")); + _$result = new U._$ErrorMessageSet(t1); + } + return this._$v = _$result; + } + }; + U._$SelectionBoxCreate.prototype = { + $eq: function(_, other) { + var _this = this; + if (other == null) + return false; + if (other === _this) + return true; + return other instanceof U.SelectionBoxCreate && _this.point.$eq(0, other.point) && _this.toggle === other.toggle && _this.is_main === other.is_main; + }, + get$hashCode: function(_) { + var t1 = this.point; + return Y.$jf(Y.$jc(Y.$jc(Y.$jc(0, H.SystemHash_hash2(J.get$hashCode$(t1.x), J.get$hashCode$(t1.y))), C.JSBool_methods.get$hashCode(this.toggle)), C.JSBool_methods.get$hashCode(this.is_main))); + }, + toString$0: function(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("SelectionBoxCreate"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "point", this.point); + t2.add$2(t1, "toggle", this.toggle); + t2.add$2(t1, "is_main", this.is_main); + return t2.toString$0(t1); + } + }; + U.SelectionBoxCreateBuilder.prototype = { + get$_$this: function() { + var _this = this, + $$v = _this._$v; + if ($$v != null) { + _this.set$_point($$v.point); + _this._actions$_toggle = $$v.toggle; + _this._actions$_is_main = $$v.is_main; + _this._$v = null; + } + return _this; + }, + build$0: function() { + var t1, t2, t3, _this = this, + _s18_ = "SelectionBoxCreate", + _$result = _this._$v; + if (_$result == null) { + t1 = _this.get$_$this()._point; + if (t1 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s18_, "point")); + t2 = _this.get$_$this()._actions$_toggle; + if (t2 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s18_, "toggle")); + t3 = _this.get$_$this()._actions$_is_main; + if (t3 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s18_, "is_main")); + _$result = new U._$SelectionBoxCreate(t1, t2, t3); + } + return _this._$v = _$result; + }, + set$_point: function(_point) { + this._point = type$.legacy_Point_legacy_num._as(_point); + } + }; + U._$SelectionBoxSizeChange.prototype = { + $eq: function(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof U.SelectionBoxSizeChange && this.point.$eq(0, other.point) && this.is_main === other.is_main; + }, + get$hashCode: function(_) { + var t1 = this.point; + return Y.$jf(Y.$jc(Y.$jc(0, H.SystemHash_hash2(J.get$hashCode$(t1.x), J.get$hashCode$(t1.y))), C.JSBool_methods.get$hashCode(this.is_main))); + }, + toString$0: function(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("SelectionBoxSizeChange"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "point", this.point); + t2.add$2(t1, "is_main", this.is_main); + return t2.toString$0(t1); + } + }; + U.SelectionBoxSizeChangeBuilder.prototype = { + get$_$this: function() { + var _this = this, + $$v = _this._$v; + if ($$v != null) { + _this.set$_point($$v.point); + _this._actions$_is_main = $$v.is_main; + _this._$v = null; + } + return _this; + }, + build$0: function() { + var t1, t2, _this = this, + _s22_ = "SelectionBoxSizeChange", + _$result = _this._$v; + if (_$result == null) { + t1 = _this.get$_$this()._point; + if (t1 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s22_, "point")); + t2 = _this.get$_$this()._actions$_is_main; + if (t2 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s22_, "is_main")); + _$result = new U._$SelectionBoxSizeChange(t1, t2); + } + return _this._$v = _$result; + }, + set$_point: function(_point) { + this._point = type$.legacy_Point_legacy_num._as(_point); + } + }; + U._$SelectionBoxRemove.prototype = { + $eq: function(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof U.SelectionBoxRemove && this.is_main === other.is_main; + }, + get$hashCode: function(_) { + return Y.$jf(Y.$jc(0, C.JSBool_methods.get$hashCode(this.is_main))); + }, + toString$0: function(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("SelectionBoxRemove"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "is_main", this.is_main); + return t2.toString$0(t1); + } + }; + U.SelectionBoxRemoveBuilder.prototype = { + get$_$this: function() { + var _this = this, + $$v = _this._$v; + if ($$v != null) { + _this._actions$_is_main = $$v.is_main; + _this._$v = null; + } + return _this; + }, + build$0: function() { + var t1, + _$result = this._$v; + if (_$result == null) { + t1 = this.get$_$this()._actions$_is_main; + if (t1 == null) + H.throwExpression(Y.BuiltValueNullFieldError$("SelectionBoxRemove", "is_main")); + _$result = new U._$SelectionBoxRemove(t1); + } + return this._$v = _$result; + } + }; + U._$SelectionRopeCreate.prototype = { + $eq: function(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof U.SelectionRopeCreate && this.toggle === other.toggle; + }, + get$hashCode: function(_) { + var t1 = this._actions$__hashCode; + return t1 == null ? this._actions$__hashCode = Y.$jf(Y.$jc(0, C.JSBool_methods.get$hashCode(this.toggle))) : t1; + }, + toString$0: function(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("SelectionRopeCreate"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "toggle", this.toggle); + return t2.toString$0(t1); + } + }; + U.SelectionRopeCreateBuilder.prototype = { + get$_$this: function() { + var _this = this, + $$v = _this._$v; + if ($$v != null) { + _this._actions$_toggle = $$v.toggle; + _this._$v = null; + } + return _this; + } + }; + U._$SelectionRopeMouseMove.prototype = { + $eq: function(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof U.SelectionRopeMouseMove && this.point.$eq(0, other.point) && this.is_main_view === other.is_main_view; + }, + get$hashCode: function(_) { + var _this = this, + t1 = _this._actions$__hashCode; + if (t1 == null) { + t1 = _this.point; + t1 = _this._actions$__hashCode = Y.$jf(Y.$jc(Y.$jc(0, H.SystemHash_hash2(J.get$hashCode$(t1.x), J.get$hashCode$(t1.y))), C.JSBool_methods.get$hashCode(_this.is_main_view))); + } + return t1; + }, + toString$0: function(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("SelectionRopeMouseMove"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "point", this.point); + t2.add$2(t1, "is_main_view", this.is_main_view); + return t2.toString$0(t1); + } + }; + U.SelectionRopeMouseMoveBuilder.prototype = { + get$_$this: function() { + var _this = this, + $$v = _this._$v; + if ($$v != null) { + _this.set$_point($$v.point); + _this._is_main_view = $$v.is_main_view; + _this._$v = null; + } + return _this; + }, + set$_point: function(_point) { + this._point = type$.legacy_Point_legacy_num._as(_point); + } + }; + U._$SelectionRopeAddPoint.prototype = { + $eq: function(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof U.SelectionRopeAddPoint && this.point.$eq(0, other.point) && this.is_main_view === other.is_main_view; + }, + get$hashCode: function(_) { + var _this = this, + t1 = _this._actions$__hashCode; + if (t1 == null) { + t1 = _this.point; + t1 = _this._actions$__hashCode = Y.$jf(Y.$jc(Y.$jc(0, H.SystemHash_hash2(J.get$hashCode$(t1.x), J.get$hashCode$(t1.y))), C.JSBool_methods.get$hashCode(_this.is_main_view))); + } + return t1; + }, + toString$0: function(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("SelectionRopeAddPoint"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "point", this.point); + t2.add$2(t1, "is_main_view", this.is_main_view); + return t2.toString$0(t1); + } + }; + U.SelectionRopeAddPointBuilder.prototype = { + get$_$this: function() { + var _this = this, + $$v = _this._$v; + if ($$v != null) { + _this.set$_point($$v.point); + _this._is_main_view = $$v.is_main_view; + _this._$v = null; + } + return _this; + }, + set$_point: function(_point) { + this._point = type$.legacy_Point_legacy_num._as(_point); + } + }; + U._$SelectionRopeRemove.prototype = { + $eq: function(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof U.SelectionRopeRemove; + }, + get$hashCode: function(_) { + return 271648066; + }, + toString$0: function(_) { + return J.toString$0$($.$get$newBuiltValueToStringHelper().call$1("SelectionRopeRemove")); + } + }; + U._$MouseGridPositionSideUpdate.prototype = { + $eq: function(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof U.MouseGridPositionSideUpdate && this.grid_position.$eq(0, other.grid_position); + }, + get$hashCode: function(_) { + var t1 = this.grid_position; + return Y.$jf(Y.$jc(0, t1.get$hashCode(t1))); + }, + toString$0: function(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("MouseGridPositionSideUpdate"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "grid_position", this.grid_position); + return t2.toString$0(t1); + } + }; + U.MouseGridPositionSideUpdateBuilder.prototype = { + get$grid_position: function() { + var t1, t2, _this = this, + $$v = _this._$v; + if ($$v != null) { + t1 = $$v.grid_position; + t2 = new D.GridPositionBuilder(); + t2._grid_position$_$v = t1; + _this._actions$_grid_position = t2; + _this._$v = null; + } + t1 = _this._actions$_grid_position; + return t1 == null ? _this._actions$_grid_position = new D.GridPositionBuilder() : t1; + }, + build$0: function() { + var _$failedField, e, _$result0, exception, t1, _this = this, _$result = null; + try { + _$result0 = _this._$v; + if (_$result0 == null) + _$result0 = new U._$MouseGridPositionSideUpdate(_this.get$grid_position().build$0()); + _$result = _$result0; + } catch (exception) { + H.unwrapException(exception); + _$failedField = null; + try { + _$failedField = "grid_position"; + _this.get$grid_position().build$0(); + } catch (exception) { + e = H.unwrapException(exception); + t1 = Y.BuiltValueNestedFieldError$("MouseGridPositionSideUpdate", _$failedField, J.toString$0$(e)); + throw H.wrapException(t1); + } + throw exception; + } + t1 = type$.legacy_MouseGridPositionSideUpdate._as(_$result); + if (t1 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + _this._$v = t1; + return _$result; + } + }; + U._$MouseGridPositionSideClear.prototype = { + $eq: function(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof U.MouseGridPositionSideClear; + }, + get$hashCode: function(_) { + return 436959071; + }, + toString$0: function(_) { + return J.toString$0$($.$get$newBuiltValueToStringHelper().call$1("MouseGridPositionSideClear")); + } + }; + U.MouseGridPositionSideClearBuilder.prototype = { + build$0: function() { + var _$result = this._$v; + if (_$result == null) + _$result = new U._$MouseGridPositionSideClear(); + return this._$v = _$result; + } + }; + U._$MousePositionSideUpdate.prototype = { + $eq: function(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof U.MousePositionSideUpdate && this.svg_pos.$eq(0, other.svg_pos); + }, + get$hashCode: function(_) { + var t1 = this.svg_pos; + return Y.$jf(Y.$jc(0, H.SystemHash_hash2(J.get$hashCode$(t1.x), J.get$hashCode$(t1.y)))); + }, + toString$0: function(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("MousePositionSideUpdate"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "svg_pos", this.svg_pos); + return t2.toString$0(t1); + } + }; + U.MousePositionSideUpdateBuilder.prototype = { + get$_$this: function() { + var _this = this, + $$v = _this._$v; + if ($$v != null) { + _this.set$_svg_pos($$v.svg_pos); + _this._$v = null; + } + return _this; + }, + set$_svg_pos: function(_svg_pos) { + this._svg_pos = type$.legacy_Point_legacy_num._as(_svg_pos); + } + }; + U._$MousePositionSideClear.prototype = { + $eq: function(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof U.MousePositionSideClear; + }, + get$hashCode: function(_) { + return 1008932832; + }, + toString$0: function(_) { + return J.toString$0$($.$get$newBuiltValueToStringHelper().call$1("MousePositionSideClear")); + } + }; + U.MousePositionSideClearBuilder.prototype = { + build$0: function() { + var _$result = this._$v; + if (_$result == null) + _$result = new U._$MousePositionSideClear(); + return this._$v = _$result; + } + }; + U._$GeometrySet.prototype = { + $eq: function(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof U.GeometrySet && J.$eq$(this.geometry, other.geometry); + }, + get$hashCode: function(_) { + return Y.$jf(Y.$jc(0, J.get$hashCode$(this.geometry))); + }, + toString$0: function(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("GeometrySet"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "geometry", this.geometry); + return t2.toString$0(t1); + } + }; + U.GeometrySetBuilder.prototype = { + get$geometry: function(_) { + var t1, t2, _this = this, + $$v = _this._$v; + if ($$v != null) { + t1 = $$v.geometry; + t1.toString; + t2 = new N.GeometryBuilder(); + t2._geometry$_$v = t1; + _this._actions$_geometry = t2; + _this._$v = null; + } + t1 = _this._actions$_geometry; + return t1 == null ? _this._actions$_geometry = new N.GeometryBuilder() : t1; + }, + build$0: function() { + var _$failedField, e, _$result0, exception, t1, _this = this, _$result = null; + try { + _$result0 = _this._$v; + _$result = _$result0 == null ? U._$GeometrySet$_(_this.get$geometry(_this).build$0()) : _$result0; + } catch (exception) { + H.unwrapException(exception); + _$failedField = null; + try { + _$failedField = "geometry"; + _this.get$geometry(_this).build$0(); + } catch (exception) { + e = H.unwrapException(exception); + t1 = Y.BuiltValueNestedFieldError$("GeometrySet", _$failedField, J.toString$0$(e)); + throw H.wrapException(t1); + } + throw exception; + } + t1 = type$.legacy_GeometrySet._as(_$result); + if (t1 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + _this._$v = t1; + return _$result; + } + }; + U._$SelectionBoxIntersectionRuleSet.prototype = { + $eq: function(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof U.SelectionBoxIntersectionRuleSet && this.intersect === other.intersect; + }, + get$hashCode: function(_) { + var t1 = this._actions$__hashCode; + return t1 == null ? this._actions$__hashCode = Y.$jf(Y.$jc(0, C.JSBool_methods.get$hashCode(this.intersect))) : t1; + }, + toString$0: function(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("SelectionBoxIntersectionRuleSet"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "intersect", this.intersect); + return t2.toString$0(t1); + } + }; + U.SelectionBoxIntersectionRuleSetBuilder.prototype = { + get$_$this: function() { + var _this = this, + $$v = _this._$v; + if ($$v != null) { + _this._intersect = $$v.intersect; + _this._$v = null; + } + return _this; + } + }; + U._$Select.prototype = { + $eq: function(_, other) { + var _this = this; + if (other == null) + return false; + if (other === _this) + return true; + return other instanceof U.Select && _this.selectable.$eq(0, other.selectable) && _this.toggle === other.toggle && _this.only === other.only; + }, + get$hashCode: function(_) { + var t1 = this.selectable; + return Y.$jf(Y.$jc(Y.$jc(Y.$jc(0, t1.get$hashCode(t1)), C.JSBool_methods.get$hashCode(this.toggle)), C.JSBool_methods.get$hashCode(this.only))); + }, + toString$0: function(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("Select"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "selectable", this.selectable); + t2.add$2(t1, "toggle", this.toggle); + t2.add$2(t1, "only", this.only); + return t2.toString$0(t1); + } + }; + U.SelectBuilder.prototype = { + get$_$this: function() { + var _this = this, + $$v = _this._$v; + if ($$v != null) { + _this._selectable = $$v.selectable; + _this._actions$_toggle = $$v.toggle; + _this._only = $$v.only; + _this._$v = null; + } + return _this; + }, + build$0: function() { + var t1, t2, t3, _this = this, _s6_ = "Select", + _$result = _this._$v; + if (_$result == null) { + t1 = _this.get$_$this()._selectable; + if (t1 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s6_, "selectable")); + t2 = _this.get$_$this()._actions$_toggle; + if (t2 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s6_, "toggle")); + t3 = _this.get$_$this()._only; + if (t3 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s6_, "only")); + _$result = new U._$Select(t1, t2, t3); + } + return _this._$v = _$result; + } + }; + U._$SelectionsClear.prototype = { + $eq: function(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof U.SelectionsClear; + }, + get$hashCode: function(_) { + return 647379793; + }, + toString$0: function(_) { + return J.toString$0$($.$get$newBuiltValueToStringHelper().call$1("SelectionsClear")); + } + }; + U.SelectionsClearBuilder.prototype = { + build$0: function() { + var _$result = this._$v; + if (_$result == null) + _$result = new U._$SelectionsClear(); + return this._$v = _$result; + } + }; + U._$SelectionsAdjustMainView.prototype = { + $eq: function(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof U.SelectionsAdjustMainView && this.toggle === other.toggle && this.box === other.box; + }, + get$hashCode: function(_) { + return Y.$jf(Y.$jc(Y.$jc(0, C.JSBool_methods.get$hashCode(this.toggle)), C.JSBool_methods.get$hashCode(this.box))); + }, + toString$0: function(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("SelectionsAdjustMainView"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "toggle", this.toggle); + t2.add$2(t1, "box", this.box); + return t2.toString$0(t1); + } + }; + U.SelectionsAdjustMainViewBuilder.prototype = { + get$_$this: function() { + var _this = this, + $$v = _this._$v; + if ($$v != null) { + _this._actions$_toggle = $$v.toggle; + _this._box = $$v.box; + _this._$v = null; + } + return _this; + } + }; + U._$SelectOrToggleItems.prototype = { + $eq: function(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof U.SelectOrToggleItems && J.$eq$(this.items, other.items) && this.toggle === other.toggle; + }, + get$hashCode: function(_) { + return Y.$jf(Y.$jc(Y.$jc(0, J.get$hashCode$(this.items)), C.JSBool_methods.get$hashCode(this.toggle))); + }, + toString$0: function(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("SelectOrToggleItems"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "items", this.items); + t2.add$2(t1, "toggle", this.toggle); + return t2.toString$0(t1); + } + }; + U.SelectOrToggleItemsBuilder.prototype = { + get$items: function(_) { + var t1 = this.get$_$this(), + t2 = t1._actions$_items; + if (t2 == null) { + t2 = D.ListBuilder_ListBuilder(C.List_empty, type$.legacy_Selectable); + t1.set$_actions$_items(t2); + t1 = t2; + } else + t1 = t2; + return t1; + }, + get$_$this: function() { + var t1, _this = this, + $$v = _this._$v; + if ($$v != null) { + t1 = $$v.items; + t1.toString; + _this.set$_actions$_items(D.ListBuilder_ListBuilder(t1, t1.$ti._precomputed1)); + _this._actions$_toggle = $$v.toggle; + _this._$v = null; + } + return _this; + }, + build$0: function() { + var _$failedField, e, _$result0, t1, t2, exception, _this = this, + _s19_ = "SelectOrToggleItems", + _$result = null; + try { + _$result0 = _this._$v; + if (_$result0 == null) { + t1 = _this.get$items(_this).build$0(); + t2 = _this.get$_$this()._actions$_toggle; + if (t2 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s19_, "toggle")); + _$result0 = U._$SelectOrToggleItems$_(t1, t2); + } + _$result = _$result0; + } catch (exception) { + H.unwrapException(exception); + _$failedField = null; + try { + _$failedField = "items"; + _this.get$items(_this).build$0(); + } catch (exception) { + e = H.unwrapException(exception); + t1 = Y.BuiltValueNestedFieldError$(_s19_, _$failedField, J.toString$0$(e)); + throw H.wrapException(t1); + } + throw exception; + } + t1 = type$.legacy_SelectOrToggleItems._as(_$result); + if (t1 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + _this._$v = t1; + return _$result; + }, + set$_actions$_items: function(_items) { + this._actions$_items = type$.legacy_ListBuilder_legacy_Selectable._as(_items); + } + }; + U._$SelectAll.prototype = { + $eq: function(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof U.SelectAll && J.$eq$(this.selectables, other.selectables) && this.only === other.only; + }, + get$hashCode: function(_) { + return Y.$jf(Y.$jc(Y.$jc(0, J.get$hashCode$(this.selectables)), C.JSBool_methods.get$hashCode(this.only))); + }, + toString$0: function(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("SelectAll"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "selectables", this.selectables); + t2.add$2(t1, "only", this.only); + return t2.toString$0(t1); + } + }; + U.SelectAllBuilder.prototype = { + get$selectables: function() { + var t1 = this.get$_$this(), + t2 = t1._selectables; + if (t2 == null) { + t2 = D.ListBuilder_ListBuilder(C.List_empty, type$.legacy_Selectable); + t1.set$_selectables(t2); + t1 = t2; + } else + t1 = t2; + return t1; + }, + get$_$this: function() { + var t1, _this = this, + $$v = _this._$v; + if ($$v != null) { + t1 = $$v.selectables; + t1.toString; + _this.set$_selectables(D.ListBuilder_ListBuilder(t1, t1.$ti._precomputed1)); + _this._only = $$v.only; + _this._$v = null; + } + return _this; + }, + build$0: function() { + var _$failedField, e, _$result0, t1, t2, exception, _this = this, + _s9_ = "SelectAll", + _$result = null; + try { + _$result0 = _this._$v; + if (_$result0 == null) { + t1 = _this.get$selectables().build$0(); + t2 = _this.get$_$this()._only; + if (t2 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s9_, "only")); + _$result0 = U._$SelectAll$_(t2, t1); + } + _$result = _$result0; + } catch (exception) { + H.unwrapException(exception); + _$failedField = null; + try { + _$failedField = "selectables"; + _this.get$selectables().build$0(); + } catch (exception) { + e = H.unwrapException(exception); + t1 = Y.BuiltValueNestedFieldError$(_s9_, _$failedField, J.toString$0$(e)); + throw H.wrapException(t1); + } + throw exception; + } + t1 = type$.legacy_SelectAll._as(_$result); + if (t1 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + _this._$v = t1; + return _$result; + }, + set$_selectables: function(_selectables) { + this._selectables = type$.legacy_ListBuilder_legacy_Selectable._as(_selectables); + } + }; + U._$SelectAllSelectable.prototype = { + $eq: function(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof U.SelectAllSelectable && this.current_helix_group_only === other.current_helix_group_only; + }, + get$hashCode: function(_) { + return Y.$jf(Y.$jc(0, C.JSBool_methods.get$hashCode(this.current_helix_group_only))); + }, + toString$0: function(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("SelectAllSelectable"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "current_helix_group_only", this.current_helix_group_only); + return t2.toString$0(t1); + } + }; + U.SelectAllSelectableBuilder.prototype = { + get$_$this: function() { + var _this = this, + $$v = _this._$v; + if ($$v != null) { + _this._current_helix_group_only = $$v.current_helix_group_only; + _this._$v = null; + } + return _this; + }, + build$0: function() { + var t1, + _$result = this._$v; + if (_$result == null) { + t1 = this.get$_$this()._current_helix_group_only; + if (t1 == null) + H.throwExpression(Y.BuiltValueNullFieldError$("SelectAllSelectable", "current_helix_group_only")); + _$result = new U._$SelectAllSelectable(t1); + } + return this._$v = _$result; + } + }; + U._$SelectAllWithSameAsSelected.prototype = { + $eq: function(_, other) { + var _this = this; + if (other == null) + return false; + if (other === _this) + return true; + return other instanceof U.SelectAllWithSameAsSelected && J.$eq$(_this.templates, other.templates) && J.$eq$(_this.traits, other.traits) && _this.exclude_scaffolds === other.exclude_scaffolds; + }, + get$hashCode: function(_) { + return Y.$jf(Y.$jc(Y.$jc(Y.$jc(0, J.get$hashCode$(this.templates)), J.get$hashCode$(this.traits)), C.JSBool_methods.get$hashCode(this.exclude_scaffolds))); + }, + toString$0: function(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("SelectAllWithSameAsSelected"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "templates", this.templates); + t2.add$2(t1, "traits", this.traits); + t2.add$2(t1, "exclude_scaffolds", this.exclude_scaffolds); + return t2.toString$0(t1); + } + }; + U.SelectAllWithSameAsSelectedBuilder.prototype = { + get$templates: function() { + var t1 = this.get$_$this(), + t2 = t1._templates; + if (t2 == null) { + t2 = D.ListBuilder_ListBuilder(C.List_empty, type$.legacy_Selectable); + t1.set$_templates(t2); + t1 = t2; + } else + t1 = t2; + return t1; + }, + get$traits: function() { + var t1 = this.get$_$this(), + t2 = t1._traits; + if (t2 == null) { + t2 = D.ListBuilder_ListBuilder(C.List_empty, type$.legacy_SelectableTrait); + t1.set$_traits(t2); + t1 = t2; + } else + t1 = t2; + return t1; + }, + get$_$this: function() { + var t1, _this = this, + $$v = _this._$v; + if ($$v != null) { + t1 = $$v.templates; + t1.toString; + _this.set$_templates(D.ListBuilder_ListBuilder(t1, t1.$ti._precomputed1)); + t1 = $$v.traits; + t1.toString; + _this.set$_traits(D.ListBuilder_ListBuilder(t1, t1.$ti._precomputed1)); + _this._exclude_scaffolds = $$v.exclude_scaffolds; + _this._$v = null; + } + return _this; + }, + build$0: function() { + var _$failedField, e, _$result0, t1, t2, t3, exception, _this = this, + _s27_ = "SelectAllWithSameAsSelected", + _$result = null; + try { + _$result0 = _this._$v; + if (_$result0 == null) { + t1 = _this.get$templates().build$0(); + t2 = _this.get$traits().build$0(); + t3 = _this.get$_$this()._exclude_scaffolds; + if (t3 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s27_, "exclude_scaffolds")); + _$result0 = U._$SelectAllWithSameAsSelected$_(t3, t1, t2); + } + _$result = _$result0; + } catch (exception) { + H.unwrapException(exception); + _$failedField = null; + try { + _$failedField = "templates"; + _this.get$templates().build$0(); + _$failedField = "traits"; + _this.get$traits().build$0(); + } catch (exception) { + e = H.unwrapException(exception); + t1 = Y.BuiltValueNestedFieldError$(_s27_, _$failedField, J.toString$0$(e)); + throw H.wrapException(t1); + } + throw exception; + } + t1 = type$.legacy_SelectAllWithSameAsSelected._as(_$result); + if (t1 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + _this._$v = t1; + return _$result; + }, + set$_templates: function(_templates) { + this._templates = type$.legacy_ListBuilder_legacy_Selectable._as(_templates); + }, + set$_traits: function(_traits) { + this._traits = type$.legacy_ListBuilder_legacy_SelectableTrait._as(_traits); + } + }; + U._$DeleteAllSelected.prototype = { + $eq: function(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof U.DeleteAllSelected; + }, + get$hashCode: function(_) { + return 637787722; + }, + toString$0: function(_) { + return J.toString$0$($.$get$newBuiltValueToStringHelper().call$1("DeleteAllSelected")); + } + }; + U.DeleteAllSelectedBuilder.prototype = { + build$0: function() { + var _$result = this._$v; + if (_$result == null) + _$result = new U._$DeleteAllSelected(); + return this._$v = _$result; + } + }; + U._$HelixAdd.prototype = { + $eq: function(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof U.HelixAdd && J.$eq$(this.grid_position, other.grid_position) && J.$eq$(this.position, other.position); + }, + get$hashCode: function(_) { + return Y.$jf(Y.$jc(Y.$jc(0, J.get$hashCode$(this.grid_position)), J.get$hashCode$(this.position))); + }, + toString$0: function(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("HelixAdd"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "grid_position", this.grid_position); + t2.add$2(t1, "position", this.position); + return t2.toString$0(t1); + } + }; + U.HelixAddBuilder.prototype = { + get$_$this: function() { + var t1, t2, _this = this, + $$v = _this._$v; + if ($$v != null) { + t1 = $$v.grid_position; + if (t1 == null) + t1 = null; + else { + t2 = new D.GridPositionBuilder(); + t2._grid_position$_$v = t1; + t1 = t2; + } + _this._actions$_grid_position = t1; + t1 = $$v.position; + if (t1 == null) + t1 = null; + else { + t2 = new X.Position3DBuilder(); + t2._position3d$_$v = t1; + t1 = t2; + } + _this._actions$_position = t1; + _this._$v = null; + } + return _this; + }, + build$0: function() { + var _$failedField, e, _$result0, t1, t2, exception, _this = this, _$result = null; + try { + _$result0 = _this._$v; + if (_$result0 == null) { + t1 = _this._actions$_grid_position; + t1 = t1 == null ? null : t1.build$0(); + t2 = _this._actions$_position; + _$result0 = new U._$HelixAdd(t1, t2 == null ? null : t2.build$0()); + } + _$result = _$result0; + } catch (exception) { + H.unwrapException(exception); + _$failedField = null; + try { + _$failedField = "grid_position"; + t1 = _this._actions$_grid_position; + if (t1 != null) + t1.build$0(); + _$failedField = "position"; + t1 = _this._actions$_position; + if (t1 != null) + t1.build$0(); + } catch (exception) { + e = H.unwrapException(exception); + t1 = Y.BuiltValueNestedFieldError$("HelixAdd", _$failedField, J.toString$0$(e)); + throw H.wrapException(t1); + } + throw exception; + } + t1 = type$.legacy_HelixAdd._as(_$result); + if (t1 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + _this._$v = t1; + return _$result; + } + }; + U._$HelixRemove.prototype = { + $eq: function(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof U.HelixRemove && this.helix_idx === other.helix_idx; + }, + get$hashCode: function(_) { + return Y.$jf(Y.$jc(0, C.JSInt_methods.get$hashCode(this.helix_idx))); + }, + toString$0: function(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("HelixRemove"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "helix_idx", this.helix_idx); + return t2.toString$0(t1); + } + }; + U.HelixRemoveBuilder.prototype = { + get$_$this: function() { + var _this = this, + $$v = _this._$v; + if ($$v != null) { + _this._actions$_helix_idx = $$v.helix_idx; + _this._$v = null; + } + return _this; + }, + build$0: function() { + var t1, + _$result = this._$v; + if (_$result == null) { + t1 = this.get$_$this()._actions$_helix_idx; + if (t1 == null) + H.throwExpression(Y.BuiltValueNullFieldError$("HelixRemove", "helix_idx")); + _$result = new U._$HelixRemove(t1); + } + return this._$v = _$result; + } + }; + U._$HelixRemoveAllSelected.prototype = { + $eq: function(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof U.HelixRemoveAllSelected; + }, + get$hashCode: function(_) { + return 62805209; + }, + toString$0: function(_) { + return J.toString$0$($.$get$newBuiltValueToStringHelper().call$1("HelixRemoveAllSelected")); + } + }; + U.HelixRemoveAllSelectedBuilder.prototype = { + build$0: function() { + var _$result = this._$v; + if (_$result == null) + _$result = new U._$HelixRemoveAllSelected(); + return this._$v = _$result; + } + }; + U._$HelixSelect.prototype = { + $eq: function(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof U.HelixSelect && this.helix_idx === other.helix_idx && this.toggle === other.toggle; + }, + get$hashCode: function(_) { + return Y.$jf(Y.$jc(Y.$jc(0, C.JSInt_methods.get$hashCode(this.helix_idx)), C.JSBool_methods.get$hashCode(this.toggle))); + }, + toString$0: function(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("HelixSelect"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "helix_idx", this.helix_idx); + t2.add$2(t1, "toggle", this.toggle); + return t2.toString$0(t1); + } + }; + U.HelixSelectBuilder.prototype = { + get$_$this: function() { + var _this = this, + $$v = _this._$v; + if ($$v != null) { + _this._actions$_helix_idx = $$v.helix_idx; + _this._actions$_toggle = $$v.toggle; + _this._$v = null; + } + return _this; + }, + build$0: function() { + var t1, t2, _this = this, + _s11_ = "HelixSelect", + _$result = _this._$v; + if (_$result == null) { + t1 = _this.get$_$this()._actions$_helix_idx; + if (t1 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s11_, "helix_idx")); + t2 = _this.get$_$this()._actions$_toggle; + if (t2 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s11_, "toggle")); + _$result = new U._$HelixSelect(t1, t2); + } + return _this._$v = _$result; + } + }; + U._$HelixSelectionsClear.prototype = { + $eq: function(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof U.HelixSelectionsClear; + }, + get$hashCode: function(_) { + return 705934614; + }, + toString$0: function(_) { + return J.toString$0$($.$get$newBuiltValueToStringHelper().call$1("HelixSelectionsClear")); + } + }; + U.HelixSelectionsClearBuilder.prototype = { + build$0: function() { + var _$result = this._$v; + if (_$result == null) + _$result = new U._$HelixSelectionsClear(); + return this._$v = _$result; + } + }; + U._$HelixSelectionsAdjust.prototype = { + $eq: function(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof U.HelixSelectionsAdjust && this.toggle === other.toggle && this.selection_box.$eq(0, other.selection_box); + }, + get$hashCode: function(_) { + var t1 = this.selection_box; + return Y.$jf(Y.$jc(Y.$jc(0, C.JSBool_methods.get$hashCode(this.toggle)), t1.get$hashCode(t1))); + }, + toString$0: function(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("HelixSelectionsAdjust"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "toggle", this.toggle); + t2.add$2(t1, "selection_box", this.selection_box); + return t2.toString$0(t1); + } + }; + U.HelixSelectionsAdjustBuilder.prototype = { + get$selection_box: function() { + var t1 = this.get$_$this(), + t2 = t1._selection_box; + return t2 == null ? t1._selection_box = new E.SelectionBoxBuilder() : t2; + }, + get$_$this: function() { + var t1, t2, _this = this, + $$v = _this._$v; + if ($$v != null) { + _this._actions$_toggle = $$v.toggle; + t1 = $$v.selection_box; + t2 = new E.SelectionBoxBuilder(); + t2._selection_box$_$v = t1; + _this._selection_box = t2; + _this._$v = null; + } + return _this; + }, + build$0: function() { + var _$failedField, e, _$result0, t1, exception, _this = this, + _s21_ = "HelixSelectionsAdjust", + _$result = null; + try { + _$result0 = _this._$v; + if (_$result0 == null) { + t1 = _this.get$_$this()._actions$_toggle; + if (t1 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s21_, "toggle")); + _$result0 = new U._$HelixSelectionsAdjust(t1, _this.get$selection_box().build$0()); + } + _$result = _$result0; + } catch (exception) { + H.unwrapException(exception); + _$failedField = null; + try { + _$failedField = "selection_box"; + _this.get$selection_box().build$0(); + } catch (exception) { + e = H.unwrapException(exception); + t1 = Y.BuiltValueNestedFieldError$(_s21_, _$failedField, J.toString$0$(e)); + throw H.wrapException(t1); + } + throw exception; + } + t1 = type$.legacy_HelixSelectionsAdjust._as(_$result); + if (t1 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + _this._$v = t1; + return _$result; + } + }; + U._$HelixMajorTickDistanceChange.prototype = { + $eq: function(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof U.HelixMajorTickDistanceChange && this.helix_idx == other.helix_idx && this.major_tick_distance == other.major_tick_distance; + }, + get$hashCode: function(_) { + return Y.$jf(Y.$jc(Y.$jc(0, J.get$hashCode$(this.helix_idx)), J.get$hashCode$(this.major_tick_distance))); + }, + toString$0: function(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("HelixMajorTickDistanceChange"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "helix_idx", this.helix_idx); + t2.add$2(t1, "major_tick_distance", this.major_tick_distance); + return t2.toString$0(t1); + }, + get$helix_idx: function() { + return this.helix_idx; + } + }; + U.HelixMajorTickDistanceChangeBuilder.prototype = { + get$_$this: function() { + var _this = this, + $$v = _this._$v; + if ($$v != null) { + _this._actions$_helix_idx = $$v.helix_idx; + _this._major_tick_distance = $$v.major_tick_distance; + _this._$v = null; + } + return _this; + } + }; + U._$HelixMajorTickDistanceChangeAll.prototype = { + $eq: function(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof U.HelixMajorTickDistanceChangeAll && this.major_tick_distance == other.major_tick_distance; + }, + get$hashCode: function(_) { + return Y.$jf(Y.$jc(0, J.get$hashCode$(this.major_tick_distance))); + }, + toString$0: function(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("HelixMajorTickDistanceChangeAll"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "major_tick_distance", this.major_tick_distance); + return t2.toString$0(t1); + } + }; + U.HelixMajorTickDistanceChangeAllBuilder.prototype = { + get$_$this: function() { + var _this = this, + $$v = _this._$v; + if ($$v != null) { + _this._major_tick_distance = $$v.major_tick_distance; + _this._$v = null; + } + return _this; + } + }; + U._$HelixMajorTickStartChange.prototype = { + $eq: function(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof U.HelixMajorTickStartChange && this.helix_idx == other.helix_idx && this.major_tick_start === other.major_tick_start; + }, + get$hashCode: function(_) { + return Y.$jf(Y.$jc(Y.$jc(0, J.get$hashCode$(this.helix_idx)), C.JSInt_methods.get$hashCode(this.major_tick_start))); + }, + toString$0: function(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("HelixMajorTickStartChange"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "helix_idx", this.helix_idx); + t2.add$2(t1, "major_tick_start", this.major_tick_start); + return t2.toString$0(t1); + }, + get$helix_idx: function() { + return this.helix_idx; + } + }; + U.HelixMajorTickStartChangeBuilder.prototype = { + get$_$this: function() { + var _this = this, + $$v = _this._$v; + if ($$v != null) { + _this._actions$_helix_idx = $$v.helix_idx; + _this._actions$_major_tick_start = $$v.major_tick_start; + _this._$v = null; + } + return _this; + } + }; + U._$HelixMajorTickStartChangeAll.prototype = { + $eq: function(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof U.HelixMajorTickStartChangeAll && this.major_tick_start === other.major_tick_start; + }, + get$hashCode: function(_) { + return Y.$jf(Y.$jc(0, C.JSInt_methods.get$hashCode(this.major_tick_start))); + }, + toString$0: function(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("HelixMajorTickStartChangeAll"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "major_tick_start", this.major_tick_start); + return t2.toString$0(t1); + } + }; + U.HelixMajorTickStartChangeAllBuilder.prototype = { + get$_$this: function() { + var _this = this, + $$v = _this._$v; + if ($$v != null) { + _this._actions$_major_tick_start = $$v.major_tick_start; + _this._$v = null; + } + return _this; + } + }; + U._$HelixMajorTicksChange.prototype = { + $eq: function(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof U.HelixMajorTicksChange && this.helix_idx == other.helix_idx && J.$eq$(this.major_ticks, other.major_ticks); + }, + get$hashCode: function(_) { + return Y.$jf(Y.$jc(Y.$jc(0, J.get$hashCode$(this.helix_idx)), J.get$hashCode$(this.major_ticks))); + }, + toString$0: function(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("HelixMajorTicksChange"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "helix_idx", this.helix_idx); + t2.add$2(t1, "major_ticks", this.major_ticks); + return t2.toString$0(t1); + }, + get$helix_idx: function() { + return this.helix_idx; + } + }; + U.HelixMajorTicksChangeBuilder.prototype = { + get$major_ticks: function() { + var t1 = this.get$_$this(), + t2 = t1._actions$_major_ticks; + if (t2 == null) { + t2 = D.ListBuilder_ListBuilder(C.List_empty, type$.legacy_int); + t1.set$_actions$_major_ticks(t2); + t1 = t2; + } else + t1 = t2; + return t1; + }, + get$_$this: function() { + var t1, _this = this, + $$v = _this._$v; + if ($$v != null) { + _this._actions$_helix_idx = $$v.helix_idx; + t1 = $$v.major_ticks; + t1.toString; + _this.set$_actions$_major_ticks(D.ListBuilder_ListBuilder(t1, t1.$ti._precomputed1)); + _this._$v = null; + } + return _this; + }, + build$0: function() { + var _$failedField, e, _$result0, t1, exception, _this = this, + _s21_ = "HelixMajorTicksChange", + _$result = null; + try { + _$result0 = _this._$v; + if (_$result0 == null) { + t1 = _this.get$_$this()._actions$_helix_idx; + if (t1 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s21_, "helix_idx")); + _$result0 = U._$HelixMajorTicksChange$_(t1, _this.get$major_ticks().build$0()); + } + _$result = _$result0; + } catch (exception) { + H.unwrapException(exception); + _$failedField = null; + try { + _$failedField = "major_ticks"; + _this.get$major_ticks().build$0(); + } catch (exception) { + e = H.unwrapException(exception); + t1 = Y.BuiltValueNestedFieldError$(_s21_, _$failedField, J.toString$0$(e)); + throw H.wrapException(t1); + } + throw exception; + } + t1 = type$.legacy_HelixMajorTicksChange._as(_$result); + if (t1 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + _this._$v = t1; + return _$result; + }, + set$_actions$_major_ticks: function(_major_ticks) { + this._actions$_major_ticks = type$.legacy_ListBuilder_legacy_int._as(_major_ticks); + } + }; + U._$HelixMajorTicksChangeAll.prototype = { + $eq: function(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof U.HelixMajorTicksChangeAll && J.$eq$(this.major_ticks, other.major_ticks); + }, + get$hashCode: function(_) { + return Y.$jf(Y.$jc(0, J.get$hashCode$(this.major_ticks))); + }, + toString$0: function(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("HelixMajorTicksChangeAll"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "major_ticks", this.major_ticks); + return t2.toString$0(t1); + } + }; + U.HelixMajorTicksChangeAllBuilder.prototype = { + get$major_ticks: function() { + var t1, _this = this, + $$v = _this._$v; + if ($$v != null) { + t1 = $$v.major_ticks; + t1.toString; + _this.set$_actions$_major_ticks(D.ListBuilder_ListBuilder(t1, t1.$ti._precomputed1)); + _this._$v = null; + } + t1 = _this._actions$_major_ticks; + if (t1 == null) { + t1 = D.ListBuilder_ListBuilder(C.List_empty, type$.legacy_int); + _this.set$_actions$_major_ticks(t1); + } + return t1; + }, + build$0: function() { + var _$failedField, e, _$result0, exception, t1, _this = this, _$result = null; + try { + _$result0 = _this._$v; + _$result = _$result0 == null ? U._$HelixMajorTicksChangeAll$_(_this.get$major_ticks().build$0()) : _$result0; + } catch (exception) { + H.unwrapException(exception); + _$failedField = null; + try { + _$failedField = "major_ticks"; + _this.get$major_ticks().build$0(); + } catch (exception) { + e = H.unwrapException(exception); + t1 = Y.BuiltValueNestedFieldError$("HelixMajorTicksChangeAll", _$failedField, J.toString$0$(e)); + throw H.wrapException(t1); + } + throw exception; + } + t1 = type$.legacy_HelixMajorTicksChangeAll._as(_$result); + if (t1 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + _this._$v = t1; + return _$result; + }, + set$_actions$_major_ticks: function(_major_ticks) { + this._actions$_major_ticks = type$.legacy_ListBuilder_legacy_int._as(_major_ticks); + } + }; + U._$HelixMajorTickPeriodicDistancesChange.prototype = { + $eq: function(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof U.HelixMajorTickPeriodicDistancesChange && this.helix_idx == other.helix_idx && J.$eq$(this.major_tick_periodic_distances, other.major_tick_periodic_distances); + }, + get$hashCode: function(_) { + return Y.$jf(Y.$jc(Y.$jc(0, J.get$hashCode$(this.helix_idx)), J.get$hashCode$(this.major_tick_periodic_distances))); + }, + toString$0: function(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("HelixMajorTickPeriodicDistancesChange"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "helix_idx", this.helix_idx); + t2.add$2(t1, "major_tick_periodic_distances", this.major_tick_periodic_distances); + return t2.toString$0(t1); + }, + get$helix_idx: function() { + return this.helix_idx; + } + }; + U.HelixMajorTickPeriodicDistancesChangeBuilder.prototype = { + get$major_tick_periodic_distances: function() { + var t1 = this.get$_$this(), + t2 = t1._actions$_major_tick_periodic_distances; + if (t2 == null) { + t2 = D.ListBuilder_ListBuilder(C.List_empty, type$.legacy_int); + t1.set$_actions$_major_tick_periodic_distances(t2); + t1 = t2; + } else + t1 = t2; + return t1; + }, + get$_$this: function() { + var t1, _this = this, + $$v = _this._$v; + if ($$v != null) { + _this._actions$_helix_idx = $$v.helix_idx; + t1 = $$v.major_tick_periodic_distances; + t1.toString; + _this.set$_actions$_major_tick_periodic_distances(D.ListBuilder_ListBuilder(t1, t1.$ti._precomputed1)); + _this._$v = null; + } + return _this; + }, + build$0: function() { + var _$failedField, e, _$result0, t1, exception, _this = this, + _s37_ = "HelixMajorTickPeriodicDistancesChange", + _$result = null; + try { + _$result0 = _this._$v; + if (_$result0 == null) { + t1 = _this.get$_$this()._actions$_helix_idx; + if (t1 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s37_, "helix_idx")); + _$result0 = U._$HelixMajorTickPeriodicDistancesChange$_(t1, _this.get$major_tick_periodic_distances().build$0()); + } + _$result = _$result0; + } catch (exception) { + H.unwrapException(exception); + _$failedField = null; + try { + _$failedField = "major_tick_periodic_distances"; + _this.get$major_tick_periodic_distances().build$0(); + } catch (exception) { + e = H.unwrapException(exception); + t1 = Y.BuiltValueNestedFieldError$(_s37_, _$failedField, J.toString$0$(e)); + throw H.wrapException(t1); + } + throw exception; + } + t1 = type$.legacy_HelixMajorTickPeriodicDistancesChange._as(_$result); + if (t1 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + _this._$v = t1; + return _$result; + }, + set$_actions$_major_tick_periodic_distances: function(_major_tick_periodic_distances) { + this._actions$_major_tick_periodic_distances = type$.legacy_ListBuilder_legacy_int._as(_major_tick_periodic_distances); + } + }; + U._$HelixMajorTickPeriodicDistancesChangeAll.prototype = { + $eq: function(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof U.HelixMajorTickPeriodicDistancesChangeAll && J.$eq$(this.major_tick_periodic_distances, other.major_tick_periodic_distances); + }, + get$hashCode: function(_) { + return Y.$jf(Y.$jc(0, J.get$hashCode$(this.major_tick_periodic_distances))); + }, + toString$0: function(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("HelixMajorTickPeriodicDistancesChangeAll"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "major_tick_periodic_distances", this.major_tick_periodic_distances); + return t2.toString$0(t1); + } + }; + U.HelixMajorTickPeriodicDistancesChangeAllBuilder.prototype = { + get$major_tick_periodic_distances: function() { + var t1, _this = this, + $$v = _this._$v; + if ($$v != null) { + t1 = $$v.major_tick_periodic_distances; + t1.toString; + _this.set$_actions$_major_tick_periodic_distances(D.ListBuilder_ListBuilder(t1, t1.$ti._precomputed1)); + _this._$v = null; + } + t1 = _this._actions$_major_tick_periodic_distances; + if (t1 == null) { + t1 = D.ListBuilder_ListBuilder(C.List_empty, type$.legacy_int); + _this.set$_actions$_major_tick_periodic_distances(t1); + } + return t1; + }, + build$0: function() { + var _$failedField, e, _$result0, exception, t1, _this = this, _$result = null; + try { + _$result0 = _this._$v; + _$result = _$result0 == null ? U._$HelixMajorTickPeriodicDistancesChangeAll$_(_this.get$major_tick_periodic_distances().build$0()) : _$result0; + } catch (exception) { + H.unwrapException(exception); + _$failedField = null; + try { + _$failedField = "major_tick_periodic_distances"; + _this.get$major_tick_periodic_distances().build$0(); + } catch (exception) { + e = H.unwrapException(exception); + t1 = Y.BuiltValueNestedFieldError$("HelixMajorTickPeriodicDistancesChangeAll", _$failedField, J.toString$0$(e)); + throw H.wrapException(t1); + } + throw exception; + } + t1 = type$.legacy_HelixMajorTickPeriodicDistancesChangeAll._as(_$result); + if (t1 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + _this._$v = t1; + return _$result; + }, + set$_actions$_major_tick_periodic_distances: function(_major_tick_periodic_distances) { + this._actions$_major_tick_periodic_distances = type$.legacy_ListBuilder_legacy_int._as(_major_tick_periodic_distances); + } + }; + U._$HelixIdxsChange.prototype = { + $eq: function(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof U.HelixIdxsChange && J.$eq$(this.idx_replacements, other.idx_replacements); + }, + get$hashCode: function(_) { + return Y.$jf(Y.$jc(0, J.get$hashCode$(this.idx_replacements))); + }, + toString$0: function(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("HelixIdxsChange"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "idx_replacements", this.idx_replacements); + return t2.toString$0(t1); + } + }; + U.HelixIdxsChangeBuilder.prototype = { + get$idx_replacements: function() { + var t1, t2, _this = this, + $$v = _this._$v; + if ($$v != null) { + t1 = $$v.idx_replacements; + t1.toString; + t2 = t1.$ti; + t2._eval$1("_BuiltMap<1,2>")._as(t1); + _this.set$_idx_replacements(new A.MapBuilder(t1._mapFactory, t1._map$_map, t1, t2._eval$1("@<1>")._bind$1(t2._rest[1])._eval$1("MapBuilder<1,2>"))); + _this._$v = null; + } + t1 = _this._idx_replacements; + if (t1 == null) { + t1 = type$.legacy_int; + t1 = A.MapBuilder_MapBuilder(C.Map_empty, t1, t1); + _this.set$_idx_replacements(t1); + } + return t1; + }, + build$0: function() { + var _$failedField, e, _$result0, t1, exception, _this = this, + _s15_ = "HelixIdxsChange", + _s16_ = "idx_replacements", + _$result = null; + try { + _$result0 = _this._$v; + if (_$result0 == null) { + t1 = _this.get$idx_replacements().build$0(); + _$result0 = new U._$HelixIdxsChange(t1); + if (t1 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s15_, _s16_)); + } + _$result = _$result0; + } catch (exception) { + H.unwrapException(exception); + _$failedField = null; + try { + _$failedField = _s16_; + _this.get$idx_replacements().build$0(); + } catch (exception) { + e = H.unwrapException(exception); + t1 = Y.BuiltValueNestedFieldError$(_s15_, _$failedField, J.toString$0$(e)); + throw H.wrapException(t1); + } + throw exception; + } + t1 = type$.legacy_HelixIdxsChange._as(_$result); + if (t1 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + _this._$v = t1; + return _$result; + }, + set$_idx_replacements: function(_idx_replacements) { + this._idx_replacements = type$.legacy_MapBuilder_of_legacy_int_and_legacy_int._as(_idx_replacements); + } + }; + U._$HelixOffsetChange.prototype = { + $eq: function(_, other) { + var _this = this; + if (other == null) + return false; + if (other === _this) + return true; + return other instanceof U.HelixOffsetChange && _this.helix_idx == other.helix_idx && _this.min_offset == other.min_offset && _this.max_offset == other.max_offset; + }, + get$hashCode: function(_) { + return Y.$jf(Y.$jc(Y.$jc(Y.$jc(0, J.get$hashCode$(this.helix_idx)), J.get$hashCode$(this.min_offset)), J.get$hashCode$(this.max_offset))); + }, + toString$0: function(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("HelixOffsetChange"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "helix_idx", this.helix_idx); + t2.add$2(t1, "min_offset", this.min_offset); + t2.add$2(t1, "max_offset", this.max_offset); + return t2.toString$0(t1); + }, + get$helix_idx: function() { + return this.helix_idx; + } + }; + U.HelixOffsetChangeBuilder.prototype = { + get$_$this: function() { + var _this = this, + $$v = _this._$v; + if ($$v != null) { + _this._actions$_helix_idx = $$v.helix_idx; + _this._actions$_min_offset = $$v.min_offset; + _this._actions$_max_offset = $$v.max_offset; + _this._$v = null; + } + return _this; + } + }; + U._$HelixMinOffsetSetByDomains.prototype = { + $eq: function(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof U.HelixMinOffsetSetByDomains && this.helix_idx === other.helix_idx; + }, + get$hashCode: function(_) { + return Y.$jf(Y.$jc(0, C.JSInt_methods.get$hashCode(this.helix_idx))); + }, + toString$0: function(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("HelixMinOffsetSetByDomains"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "helix_idx", this.helix_idx); + return t2.toString$0(t1); + }, + get$helix_idx: function() { + return this.helix_idx; + } + }; + U.HelixMinOffsetSetByDomainsBuilder.prototype = { + get$_$this: function() { + var _this = this, + $$v = _this._$v; + if ($$v != null) { + _this._actions$_helix_idx = $$v.helix_idx; + _this._$v = null; + } + return _this; + } + }; + U._$HelixMaxOffsetSetByDomains.prototype = { + $eq: function(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof U.HelixMaxOffsetSetByDomains && this.helix_idx === other.helix_idx; + }, + get$hashCode: function(_) { + return Y.$jf(Y.$jc(0, C.JSInt_methods.get$hashCode(this.helix_idx))); + }, + toString$0: function(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("HelixMaxOffsetSetByDomains"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "helix_idx", this.helix_idx); + return t2.toString$0(t1); + }, + get$helix_idx: function() { + return this.helix_idx; + } + }; + U.HelixMaxOffsetSetByDomainsBuilder.prototype = { + get$_$this: function() { + var _this = this, + $$v = _this._$v; + if ($$v != null) { + _this._actions$_helix_idx = $$v.helix_idx; + _this._$v = null; + } + return _this; + } + }; + U._$HelixMinOffsetSetByDomainsAll.prototype = { + $eq: function(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof U.HelixMinOffsetSetByDomainsAll; + }, + get$hashCode: function(_) { + return 161125460; + }, + toString$0: function(_) { + return J.toString$0$($.$get$newBuiltValueToStringHelper().call$1("HelixMinOffsetSetByDomainsAll")); + } + }; + U.HelixMinOffsetSetByDomainsAllBuilder.prototype = { + build$0: function() { + var _$result = this._$v; + if (_$result == null) + _$result = new U._$HelixMinOffsetSetByDomainsAll(); + return this._$v = _$result; + } + }; + U._$HelixMaxOffsetSetByDomainsAll.prototype = { + $eq: function(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof U.HelixMaxOffsetSetByDomainsAll; + }, + get$hashCode: function(_) { + return 920642029; + }, + toString$0: function(_) { + return J.toString$0$($.$get$newBuiltValueToStringHelper().call$1("HelixMaxOffsetSetByDomainsAll")); + } + }; + U.HelixMaxOffsetSetByDomainsAllBuilder.prototype = { + build$0: function() { + var _$result = this._$v; + if (_$result == null) + _$result = new U._$HelixMaxOffsetSetByDomainsAll(); + return this._$v = _$result; + } + }; + U._$HelixMaxOffsetSetByDomainsAllSameMax.prototype = { + $eq: function(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof U.HelixMaxOffsetSetByDomainsAllSameMax; + }, + get$hashCode: function(_) { + return 713464849; + }, + toString$0: function(_) { + return J.toString$0$($.$get$newBuiltValueToStringHelper().call$1("HelixMaxOffsetSetByDomainsAllSameMax")); + } + }; + U.HelixMaxOffsetSetByDomainsAllSameMaxBuilder.prototype = { + build$0: function() { + var _$result = this._$v; + if (_$result == null) + _$result = new U._$HelixMaxOffsetSetByDomainsAllSameMax(); + return this._$v = _$result; + } + }; + U._$HelixOffsetChangeAll.prototype = { + $eq: function(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof U.HelixOffsetChangeAll && this.min_offset == other.min_offset && this.max_offset == other.max_offset; + }, + get$hashCode: function(_) { + return Y.$jf(Y.$jc(Y.$jc(0, J.get$hashCode$(this.min_offset)), J.get$hashCode$(this.max_offset))); + }, + toString$0: function(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("HelixOffsetChangeAll"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "min_offset", this.min_offset); + t2.add$2(t1, "max_offset", this.max_offset); + return t2.toString$0(t1); + } + }; + U.HelixOffsetChangeAllBuilder.prototype = { + get$_$this: function() { + var _this = this, + $$v = _this._$v; + if ($$v != null) { + _this._actions$_min_offset = $$v.min_offset; + _this._actions$_max_offset = $$v.max_offset; + _this._$v = null; + } + return _this; + } + }; + U._$ShowMouseoverRectSet.prototype = { + $eq: function(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof U.ShowMouseoverRectSet && this.show === other.show; + }, + get$hashCode: function(_) { + return Y.$jf(Y.$jc(0, C.JSBool_methods.get$hashCode(this.show))); + }, + toString$0: function(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("ShowMouseoverRectSet"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "show", this.show); + return t2.toString$0(t1); + } + }; + U.ShowMouseoverRectSetBuilder.prototype = { + get$_$this: function() { + var _this = this, + $$v = _this._$v; + if ($$v != null) { + _this._show = $$v.show; + _this._$v = null; + } + return _this; + } + }; + U._$ShowMouseoverRectToggle.prototype = { + $eq: function(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof U.ShowMouseoverRectToggle; + }, + get$hashCode: function(_) { + return 950177715; + }, + toString$0: function(_) { + return J.toString$0$($.$get$newBuiltValueToStringHelper().call$1("ShowMouseoverRectToggle")); + } + }; + U._$ExportDNA.prototype = { + $eq: function(_, other) { + var _this = this; + if (other == null) + return false; + if (other === _this) + return true; + return other instanceof U.ExportDNA && _this.include_scaffold === other.include_scaffold && _this.include_only_selected_strands === other.include_only_selected_strands && _this.exclude_selected_strands === other.exclude_selected_strands && _this.export_dna_format === other.export_dna_format && _this.strand_order == other.strand_order && _this.column_major_strand === other.column_major_strand && _this.column_major_plate === other.column_major_plate && _this.delimiter === other.delimiter && _this.domain_delimiter === other.domain_delimiter; + }, + get$hashCode: function(_) { + var _this = this; + return Y.$jf(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(0, C.JSBool_methods.get$hashCode(_this.include_scaffold)), C.JSBool_methods.get$hashCode(_this.include_only_selected_strands)), C.JSBool_methods.get$hashCode(_this.exclude_selected_strands)), H.Primitives_objectHashCode(_this.export_dna_format)), J.get$hashCode$(_this.strand_order)), C.JSBool_methods.get$hashCode(_this.column_major_strand)), C.JSBool_methods.get$hashCode(_this.column_major_plate)), C.JSString_methods.get$hashCode(_this.delimiter)), C.JSString_methods.get$hashCode(_this.domain_delimiter))); + }, + toString$0: function(_) { + var _this = this, + t1 = $.$get$newBuiltValueToStringHelper().call$1("ExportDNA"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "include_scaffold", _this.include_scaffold); + t2.add$2(t1, "include_only_selected_strands", _this.include_only_selected_strands); + t2.add$2(t1, "exclude_selected_strands", _this.exclude_selected_strands); + t2.add$2(t1, "export_dna_format", _this.export_dna_format); + t2.add$2(t1, "strand_order", _this.strand_order); + t2.add$2(t1, "column_major_strand", _this.column_major_strand); + t2.add$2(t1, "column_major_plate", _this.column_major_plate); + t2.add$2(t1, "delimiter", _this.delimiter); + t2.add$2(t1, "domain_delimiter", _this.domain_delimiter); + return t2.toString$0(t1); + } + }; + U.ExportDNABuilder.prototype = { + get$_$this: function() { + var _this = this, + $$v = _this._$v; + if ($$v != null) { + _this._include_scaffold = $$v.include_scaffold; + _this._include_only_selected_strands = $$v.include_only_selected_strands; + _this._exclude_selected_strands = $$v.exclude_selected_strands; + _this._export_dna_format = $$v.export_dna_format; + _this._strand_order = $$v.strand_order; + _this._column_major_strand = $$v.column_major_strand; + _this._column_major_plate = $$v.column_major_plate; + _this._delimiter = $$v.delimiter; + _this._domain_delimiter = $$v.domain_delimiter; + _this._$v = null; + } + return _this; + }, + build$0: function() { + var t1, t2, t3, t4, t5, t6, t7, t8, t9, _this = this, + _s9_ = "ExportDNA", + _$result = _this._$v; + if (_$result == null) { + t1 = _this.get$_$this()._include_scaffold; + if (t1 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s9_, "include_scaffold")); + t2 = _this.get$_$this()._include_only_selected_strands; + if (t2 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s9_, "include_only_selected_strands")); + t3 = _this.get$_$this()._exclude_selected_strands; + if (t3 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s9_, "exclude_selected_strands")); + t4 = _this.get$_$this()._export_dna_format; + if (t4 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s9_, "export_dna_format")); + t5 = _this.get$_$this()._strand_order; + t6 = _this.get$_$this()._column_major_strand; + if (t6 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s9_, "column_major_strand")); + t7 = _this.get$_$this()._column_major_plate; + if (t7 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s9_, "column_major_plate")); + t8 = _this.get$_$this()._delimiter; + if (t8 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s9_, "delimiter")); + t9 = _this.get$_$this()._domain_delimiter; + if (t9 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s9_, "domain_delimiter")); + _$result = new U._$ExportDNA(t1, t2, t3, t4, t5, t6, t7, t8, t9); + } + return _this._$v = _$result; + } + }; + U._$ExportCanDoDNA.prototype = { + $eq: function(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof U.ExportCanDoDNA; + }, + get$hashCode: function(_) { + return 736579583; + }, + toString$0: function(_) { + return J.toString$0$($.$get$newBuiltValueToStringHelper().call$1("ExportCanDoDNA")); + } + }; + U.ExportCanDoDNABuilder.prototype = {}; + U._$ExportSvg.prototype = { + $eq: function(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof U.ExportSvg && this.type === other.type; + }, + get$hashCode: function(_) { + return Y.$jf(Y.$jc(0, H.Primitives_objectHashCode(this.type))); + }, + toString$0: function(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("ExportSvg"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "type", this.type); + return t2.toString$0(t1); + }, + get$type: function(receiver) { + return this.type; + } + }; + U.ExportSvgBuilder.prototype = { + get$_$this: function() { + var _this = this, + $$v = _this._$v; + if ($$v != null) { + _this._type = $$v.type; + _this._$v = null; + } + return _this; + }, + build$0: function() { + var t1, + _$result = this._$v; + if (_$result == null) { + t1 = this.get$_$this()._type; + if (t1 == null) + H.throwExpression(Y.BuiltValueNullFieldError$("ExportSvg", "type")); + _$result = U._$ExportSvg$_(t1); + } + return this._$v = _$result; + } + }; + U._$ExportSvgTextSeparatelySet.prototype = { + $eq: function(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof U.ExportSvgTextSeparatelySet && this.export_svg_text_separately === other.export_svg_text_separately; + }, + get$hashCode: function(_) { + return Y.$jf(Y.$jc(0, C.JSBool_methods.get$hashCode(this.export_svg_text_separately))); + }, + toString$0: function(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("ExportSvgTextSeparatelySet"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "export_svg_text_separately", this.export_svg_text_separately); + return t2.toString$0(t1); + } + }; + U.ExportSvgTextSeparatelySetBuilder.prototype = { + get$_$this: function() { + var _this = this, + $$v = _this._$v; + if ($$v != null) { + _this._actions$_export_svg_text_separately = $$v.export_svg_text_separately; + _this._$v = null; + } + return _this; + }, + build$0: function() { + var t1, + _$result = this._$v; + if (_$result == null) { + t1 = this.get$_$this()._actions$_export_svg_text_separately; + if (t1 == null) + H.throwExpression(Y.BuiltValueNullFieldError$("ExportSvgTextSeparatelySet", "export_svg_text_separately")); + _$result = new U._$ExportSvgTextSeparatelySet(t1); + } + return this._$v = _$result; + } + }; + U._$ExtensionDisplayLengthAngleSet.prototype = { + $eq: function(_, other) { + var _this = this; + if (other == null) + return false; + if (other === _this) + return true; + return other instanceof U.ExtensionDisplayLengthAngleSet && J.$eq$(_this.ext, other.ext) && _this.display_length === other.display_length && _this.display_angle === other.display_angle; + }, + get$hashCode: function(_) { + return Y.$jf(Y.$jc(Y.$jc(Y.$jc(0, J.get$hashCode$(this.ext)), C.JSNumber_methods.get$hashCode(this.display_length)), C.JSNumber_methods.get$hashCode(this.display_angle))); + }, + toString$0: function(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("ExtensionDisplayLengthAngleSet"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "ext", this.ext); + t2.add$2(t1, "display_length", this.display_length); + t2.add$2(t1, "display_angle", this.display_angle); + return t2.toString$0(t1); + } + }; + U.ExtensionDisplayLengthAngleSetBuilder.prototype = { + get$ext: function() { + var t1 = this.get$_$this(), + t2 = t1._ext; + return t2 == null ? t1._ext = new S.ExtensionBuilder() : t2; + }, + get$_$this: function() { + var t1, t2, _this = this, + $$v = _this._$v; + if ($$v != null) { + t1 = $$v.ext; + t1.toString; + t2 = new S.ExtensionBuilder(); + t2._extension$_$v = t1; + _this._ext = t2; + _this._actions$_display_length = $$v.display_length; + _this._actions$_display_angle = $$v.display_angle; + _this._$v = null; + } + return _this; + }, + build$0: function() { + var _$failedField, e, _$result0, t1, t2, t3, exception, _this = this, + _s30_ = "ExtensionDisplayLengthAngleSet", + _$result = null; + try { + _$result0 = _this._$v; + if (_$result0 == null) { + t1 = _this.get$ext().build$0(); + t2 = _this.get$_$this()._actions$_display_length; + if (t2 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s30_, "display_length")); + t3 = _this.get$_$this()._actions$_display_angle; + if (t3 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s30_, "display_angle")); + _$result0 = new U._$ExtensionDisplayLengthAngleSet(t1, t2, t3); + if (t1 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s30_, "ext")); + } + _$result = _$result0; + } catch (exception) { + H.unwrapException(exception); + _$failedField = null; + try { + _$failedField = "ext"; + _this.get$ext().build$0(); + } catch (exception) { + e = H.unwrapException(exception); + t1 = Y.BuiltValueNestedFieldError$(_s30_, _$failedField, J.toString$0$(e)); + throw H.wrapException(t1); + } + throw exception; + } + t1 = type$.legacy_ExtensionDisplayLengthAngleSet._as(_$result); + if (t1 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + _this._$v = t1; + return _$result; + } + }; + U._$ExtensionAdd.prototype = { + $eq: function(_, other) { + var _this = this; + if (other == null) + return false; + if (other === _this) + return true; + return other instanceof U.ExtensionAdd && J.$eq$(_this.strand, other.strand) && _this.is_5p === other.is_5p && _this.num_bases === other.num_bases; + }, + get$hashCode: function(_) { + return Y.$jf(Y.$jc(Y.$jc(Y.$jc(0, J.get$hashCode$(this.strand)), C.JSBool_methods.get$hashCode(this.is_5p)), C.JSInt_methods.get$hashCode(this.num_bases))); + }, + toString$0: function(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("ExtensionAdd"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "strand", this.strand); + t2.add$2(t1, "is_5p", this.is_5p); + t2.add$2(t1, "num_bases", this.num_bases); + return t2.toString$0(t1); + }, + get$strand: function() { + return this.strand; + } + }; + U.ExtensionAddBuilder.prototype = { + get$strand: function() { + var t1 = this.get$_$this(), + t2 = t1._strand; + return t2 == null ? t1._strand = new E.StrandBuilder() : t2; + }, + get$_$this: function() { + var t1, t2, _this = this, + $$v = _this._$v; + if ($$v != null) { + t1 = $$v.strand; + t1.toString; + t2 = new E.StrandBuilder(); + t2._strand$_$v = t1; + _this._strand = t2; + _this._actions$_is_5p = $$v.is_5p; + _this._actions$_num_bases = $$v.num_bases; + _this._$v = null; + } + return _this; + }, + build$0: function() { + var _$failedField, e, _$result0, t1, t2, t3, exception, _this = this, + _s12_ = "ExtensionAdd", + _$result = null; + try { + _$result0 = _this._$v; + if (_$result0 == null) { + t1 = _this.get$strand().build$0(); + t2 = _this.get$_$this()._actions$_is_5p; + if (t2 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s12_, "is_5p")); + t3 = _this.get$_$this()._actions$_num_bases; + if (t3 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s12_, "num_bases")); + _$result0 = new U._$ExtensionAdd(t1, t2, t3); + if (t1 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s12_, "strand")); + } + _$result = _$result0; + } catch (exception) { + H.unwrapException(exception); + _$failedField = null; + try { + _$failedField = "strand"; + _this.get$strand().build$0(); + } catch (exception) { + e = H.unwrapException(exception); + t1 = Y.BuiltValueNestedFieldError$(_s12_, _$failedField, J.toString$0$(e)); + throw H.wrapException(t1); + } + throw exception; + } + t1 = type$.legacy_ExtensionAdd._as(_$result); + if (t1 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + _this._$v = t1; + return _$result; + } + }; + U._$ExtensionNumBasesChange.prototype = { + $eq: function(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof U.ExtensionNumBasesChange && J.$eq$(this.ext, other.ext) && this.num_bases === other.num_bases; + }, + get$hashCode: function(_) { + return Y.$jf(Y.$jc(Y.$jc(0, J.get$hashCode$(this.ext)), C.JSInt_methods.get$hashCode(this.num_bases))); + }, + toString$0: function(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("ExtensionNumBasesChange"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "ext", this.ext); + t2.add$2(t1, "num_bases", this.num_bases); + return t2.toString$0(t1); + } + }; + U.ExtensionNumBasesChangeBuilder.prototype = { + get$ext: function() { + var t1 = this.get$_$this(), + t2 = t1._ext; + return t2 == null ? t1._ext = new S.ExtensionBuilder() : t2; + }, + get$_$this: function() { + var t1, t2, _this = this, + $$v = _this._$v; + if ($$v != null) { + t1 = $$v.ext; + t1.toString; + t2 = new S.ExtensionBuilder(); + t2._extension$_$v = t1; + _this._ext = t2; + _this._actions$_num_bases = $$v.num_bases; + _this._$v = null; + } + return _this; + }, + build$0: function() { + var _$failedField, e, _$result0, t1, t2, exception, _this = this, + _s23_ = "ExtensionNumBasesChange", + _$result = null; + try { + _$result0 = _this._$v; + if (_$result0 == null) { + t1 = _this.get$ext().build$0(); + t2 = _this.get$_$this()._actions$_num_bases; + if (t2 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s23_, "num_bases")); + _$result0 = new U._$ExtensionNumBasesChange(t1, t2); + if (t1 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s23_, "ext")); + } + _$result = _$result0; + } catch (exception) { + H.unwrapException(exception); + _$failedField = null; + try { + _$failedField = "ext"; + _this.get$ext().build$0(); + } catch (exception) { + e = H.unwrapException(exception); + t1 = Y.BuiltValueNestedFieldError$(_s23_, _$failedField, J.toString$0$(e)); + throw H.wrapException(t1); + } + throw exception; + } + t1 = type$.legacy_ExtensionNumBasesChange._as(_$result); + if (t1 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + _this._$v = t1; + return _$result; + } + }; + U._$ExtensionsNumBasesChange.prototype = { + $eq: function(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof U.ExtensionsNumBasesChange && J.$eq$(this.extensions, other.extensions) && this.num_bases === other.num_bases; + }, + get$hashCode: function(_) { + return Y.$jf(Y.$jc(Y.$jc(0, J.get$hashCode$(this.extensions)), C.JSInt_methods.get$hashCode(this.num_bases))); + }, + toString$0: function(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("ExtensionsNumBasesChange"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "extensions", this.extensions); + t2.add$2(t1, "num_bases", this.num_bases); + return t2.toString$0(t1); + } + }; + U.ExtensionsNumBasesChangeBuilder.prototype = { + get$extensions: function(_) { + var t1 = this.get$_$this(), + t2 = t1._extensions; + if (t2 == null) { + t2 = D.ListBuilder_ListBuilder(C.List_empty, type$.legacy_Extension); + t1.set$_extensions(t2); + t1 = t2; + } else + t1 = t2; + return t1; + }, + get$_$this: function() { + var t1, _this = this, + $$v = _this._$v; + if ($$v != null) { + t1 = $$v.extensions; + t1.toString; + _this.set$_extensions(D.ListBuilder_ListBuilder(t1, t1.$ti._precomputed1)); + _this._actions$_num_bases = $$v.num_bases; + _this._$v = null; + } + return _this; + }, + build$0: function() { + var _$failedField, e, _$result0, t1, t2, exception, _this = this, + _s24_ = "ExtensionsNumBasesChange", + _$result = null; + try { + _$result0 = _this._$v; + if (_$result0 == null) { + t1 = _this.get$extensions(_this).build$0(); + t2 = _this.get$_$this()._actions$_num_bases; + if (t2 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s24_, "num_bases")); + _$result0 = new U._$ExtensionsNumBasesChange(t1, t2); + if (t1 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s24_, "extensions")); + } + _$result = _$result0; + } catch (exception) { + H.unwrapException(exception); + _$failedField = null; + try { + _$failedField = "extensions"; + _this.get$extensions(_this).build$0(); + } catch (exception) { + e = H.unwrapException(exception); + t1 = Y.BuiltValueNestedFieldError$(_s24_, _$failedField, J.toString$0$(e)); + throw H.wrapException(t1); + } + throw exception; + } + t1 = type$.legacy_ExtensionsNumBasesChange._as(_$result); + if (t1 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + _this._$v = t1; + return _$result; + }, + set$_extensions: function(_extensions) { + this._extensions = type$.legacy_ListBuilder_legacy_Extension._as(_extensions); + } + }; + U._$LoopoutLengthChange.prototype = { + $eq: function(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof U.LoopoutLengthChange && J.$eq$(this.loopout, other.loopout) && this.num_bases === other.num_bases; + }, + get$hashCode: function(_) { + return Y.$jf(Y.$jc(Y.$jc(0, J.get$hashCode$(this.loopout)), C.JSInt_methods.get$hashCode(this.num_bases))); + }, + toString$0: function(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("LoopoutLengthChange"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "loopout", this.loopout); + t2.add$2(t1, "num_bases", this.num_bases); + return t2.toString$0(t1); + } + }; + U.LoopoutLengthChangeBuilder.prototype = { + get$loopout: function() { + var t1 = this.get$_$this(), + t2 = t1._loopout; + return t2 == null ? t1._loopout = new G.LoopoutBuilder() : t2; + }, + get$_$this: function() { + var t1, t2, _this = this, + $$v = _this._$v; + if ($$v != null) { + t1 = $$v.loopout; + t1.toString; + t2 = new G.LoopoutBuilder(); + t2._loopout$_$v = t1; + _this._loopout = t2; + _this._actions$_num_bases = $$v.num_bases; + _this._$v = null; + } + return _this; + }, + build$0: function() { + var _$failedField, e, _$result0, t1, t2, exception, _this = this, + _s19_ = "LoopoutLengthChange", + _$result = null; + try { + _$result0 = _this._$v; + if (_$result0 == null) { + t1 = _this.get$loopout().build$0(); + t2 = _this.get$_$this()._actions$_num_bases; + if (t2 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s19_, "num_bases")); + _$result0 = new U._$LoopoutLengthChange(t1, t2); + if (t1 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s19_, "loopout")); + } + _$result = _$result0; + } catch (exception) { + H.unwrapException(exception); + _$failedField = null; + try { + _$failedField = "loopout"; + _this.get$loopout().build$0(); + } catch (exception) { + e = H.unwrapException(exception); + t1 = Y.BuiltValueNestedFieldError$(_s19_, _$failedField, J.toString$0$(e)); + throw H.wrapException(t1); + } + throw exception; + } + t1 = type$.legacy_LoopoutLengthChange._as(_$result); + if (t1 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + _this._$v = t1; + return _$result; + } + }; + U._$LoopoutsLengthChange.prototype = { + $eq: function(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof U.LoopoutsLengthChange && J.$eq$(this.loopouts, other.loopouts) && this.length === other.length; + }, + get$hashCode: function(_) { + return Y.$jf(Y.$jc(Y.$jc(0, J.get$hashCode$(this.loopouts)), C.JSInt_methods.get$hashCode(this.length))); + }, + toString$0: function(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("LoopoutsLengthChange"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "loopouts", this.loopouts); + t2.add$2(t1, "length", this.length); + return t2.toString$0(t1); + }, + get$length: function(receiver) { + return this.length; + } + }; + U.LoopoutsLengthChangeBuilder.prototype = { + get$loopouts: function() { + var t1 = this.get$_$this(), + t2 = t1._loopouts; + if (t2 == null) { + t2 = D.ListBuilder_ListBuilder(C.List_empty, type$.legacy_Loopout); + t1.set$_loopouts(t2); + t1 = t2; + } else + t1 = t2; + return t1; + }, + get$length: function(_) { + return this.get$_$this()._actions$_length; + }, + get$_$this: function() { + var t1, _this = this, + $$v = _this._$v; + if ($$v != null) { + t1 = $$v.loopouts; + t1.toString; + _this.set$_loopouts(D.ListBuilder_ListBuilder(t1, t1.$ti._precomputed1)); + _this._actions$_length = $$v.length; + _this._$v = null; + } + return _this; + }, + build$0: function() { + var _$failedField, e, _$result0, t1, t2, exception, _this = this, + _s20_ = "LoopoutsLengthChange", + _$result = null; + try { + _$result0 = _this._$v; + if (_$result0 == null) { + t1 = _this.get$loopouts().build$0(); + t2 = _this.get$_$this()._actions$_length; + if (t2 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s20_, "length")); + _$result0 = new U._$LoopoutsLengthChange(t1, t2); + if (t1 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s20_, "loopouts")); + } + _$result = _$result0; + } catch (exception) { + H.unwrapException(exception); + _$failedField = null; + try { + _$failedField = "loopouts"; + _this.get$loopouts().build$0(); + } catch (exception) { + e = H.unwrapException(exception); + t1 = Y.BuiltValueNestedFieldError$(_s20_, _$failedField, J.toString$0$(e)); + throw H.wrapException(t1); + } + throw exception; + } + t1 = type$.legacy_LoopoutsLengthChange._as(_$result); + if (t1 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + _this._$v = t1; + return _$result; + }, + set$_loopouts: function(_loopouts) { + this._loopouts = type$.legacy_ListBuilder_legacy_Loopout._as(_loopouts); + } + }; + U._$ConvertCrossoverToLoopout.prototype = { + $eq: function(_, other) { + var _this = this; + if (other == null) + return false; + if (other === _this) + return true; + return other instanceof U.ConvertCrossoverToLoopout && _this.crossover.$eq(0, other.crossover) && _this.length === other.length && _this.dna_sequence == other.dna_sequence; + }, + get$hashCode: function(_) { + var t1 = this.crossover; + return Y.$jf(Y.$jc(Y.$jc(Y.$jc(0, t1.get$hashCode(t1)), C.JSInt_methods.get$hashCode(this.length)), J.get$hashCode$(this.dna_sequence))); + }, + toString$0: function(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("ConvertCrossoverToLoopout"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "crossover", this.crossover); + t2.add$2(t1, "length", this.length); + t2.add$2(t1, "dna_sequence", this.dna_sequence); + return t2.toString$0(t1); + }, + get$length: function(receiver) { + return this.length; + } + }; + U.ConvertCrossoverToLoopoutBuilder.prototype = { + get$crossover: function() { + var t1 = this.get$_$this(), + t2 = t1._crossover; + return t2 == null ? t1._crossover = new T.CrossoverBuilder() : t2; + }, + get$length: function(_) { + return this.get$_$this()._actions$_length; + }, + get$_$this: function() { + var t1, t2, _this = this, + $$v = _this._$v; + if ($$v != null) { + t1 = $$v.crossover; + t2 = new T.CrossoverBuilder(); + t2._crossover$_$v = t1; + _this._crossover = t2; + _this._actions$_length = $$v.length; + _this._actions$_dna_sequence = $$v.dna_sequence; + _this._$v = null; + } + return _this; + }, + build$0: function() { + var _$failedField, e, _$result0, t1, t2, exception, _this = this, + _s25_ = "ConvertCrossoverToLoopout", + _$result = null; + try { + _$result0 = _this._$v; + if (_$result0 == null) { + t1 = _this.get$crossover().build$0(); + t2 = _this.get$_$this()._actions$_length; + if (t2 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s25_, "length")); + _$result0 = new U._$ConvertCrossoverToLoopout(t1, t2, _this.get$_$this()._actions$_dna_sequence); + } + _$result = _$result0; + } catch (exception) { + H.unwrapException(exception); + _$failedField = null; + try { + _$failedField = "crossover"; + _this.get$crossover().build$0(); + } catch (exception) { + e = H.unwrapException(exception); + t1 = Y.BuiltValueNestedFieldError$(_s25_, _$failedField, J.toString$0$(e)); + throw H.wrapException(t1); + } + throw exception; + } + t1 = type$.legacy_ConvertCrossoverToLoopout._as(_$result); + if (t1 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + _this._$v = t1; + return _$result; + } + }; + U._$ConvertCrossoversToLoopouts.prototype = { + $eq: function(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof U.ConvertCrossoversToLoopouts && J.$eq$(this.crossovers, other.crossovers) && this.length === other.length; + }, + get$hashCode: function(_) { + return Y.$jf(Y.$jc(Y.$jc(0, J.get$hashCode$(this.crossovers)), C.JSInt_methods.get$hashCode(this.length))); + }, + toString$0: function(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("ConvertCrossoversToLoopouts"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "crossovers", this.crossovers); + t2.add$2(t1, "length", this.length); + return t2.toString$0(t1); + }, + get$length: function(receiver) { + return this.length; + } + }; + U.ConvertCrossoversToLoopoutsBuilder.prototype = { + get$crossovers: function() { + var t1 = this.get$_$this(), + t2 = t1._crossovers; + if (t2 == null) { + t2 = D.ListBuilder_ListBuilder(C.List_empty, type$.legacy_Crossover); + t1.set$_crossovers(t2); + t1 = t2; + } else + t1 = t2; + return t1; + }, + get$length: function(_) { + return this.get$_$this()._actions$_length; + }, + get$_$this: function() { + var t1, _this = this, + $$v = _this._$v; + if ($$v != null) { + t1 = $$v.crossovers; + t1.toString; + _this.set$_crossovers(D.ListBuilder_ListBuilder(t1, t1.$ti._precomputed1)); + _this._actions$_length = $$v.length; + _this._$v = null; + } + return _this; + }, + build$0: function() { + var _$failedField, e, _$result0, t1, t2, exception, _this = this, + _s27_ = "ConvertCrossoversToLoopouts", + _$result = null; + try { + _$result0 = _this._$v; + if (_$result0 == null) { + t1 = _this.get$crossovers().build$0(); + t2 = _this.get$_$this()._actions$_length; + if (t2 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s27_, "length")); + _$result0 = new U._$ConvertCrossoversToLoopouts(t1, t2); + if (t1 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s27_, "crossovers")); + } + _$result = _$result0; + } catch (exception) { + H.unwrapException(exception); + _$failedField = null; + try { + _$failedField = "crossovers"; + _this.get$crossovers().build$0(); + } catch (exception) { + e = H.unwrapException(exception); + t1 = Y.BuiltValueNestedFieldError$(_s27_, _$failedField, J.toString$0$(e)); + throw H.wrapException(t1); + } + throw exception; + } + t1 = type$.legacy_ConvertCrossoversToLoopouts._as(_$result); + if (t1 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + _this._$v = t1; + return _$result; + }, + set$_crossovers: function(_crossovers) { + this._crossovers = type$.legacy_ListBuilder_legacy_Crossover._as(_crossovers); + } + }; + U._$Nick.prototype = { + $eq: function(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof U.Nick && J.$eq$(this.domain, other.domain) && this.offset === other.offset; + }, + get$hashCode: function(_) { + return Y.$jf(Y.$jc(Y.$jc(0, J.get$hashCode$(this.domain)), C.JSInt_methods.get$hashCode(this.offset))); + }, + toString$0: function(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("Nick"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "domain", this.domain); + t2.add$2(t1, "offset", this.offset); + return t2.toString$0(t1); + }, + get$offset: function(receiver) { + return this.offset; + } + }; + U.NickBuilder.prototype = { + get$domain: function(_) { + var t1 = this.get$_$this(), + t2 = t1._actions$_domain; + return t2 == null ? t1._actions$_domain = new G.DomainBuilder() : t2; + }, + get$offset: function(_) { + return this.get$_$this()._actions$_offset; + }, + get$_$this: function() { + var t1, t2, _this = this, + $$v = _this._$v; + if ($$v != null) { + t1 = $$v.domain; + t1.toString; + t2 = new G.DomainBuilder(); + t2._domain$_$v = t1; + _this._actions$_domain = t2; + _this._actions$_offset = $$v.offset; + _this._$v = null; + } + return _this; + }, + build$0: function() { + var _$failedField, e, _$result0, t1, t2, exception, _this = this, _$result = null; + try { + _$result0 = _this._$v; + if (_$result0 == null) { + t1 = _this.get$domain(_this).build$0(); + t2 = _this.get$_$this()._actions$_offset; + if (t2 == null) + H.throwExpression(Y.BuiltValueNullFieldError$("Nick", "offset")); + _$result0 = U._$Nick$_(t1, t2); + } + _$result = _$result0; + } catch (exception) { + H.unwrapException(exception); + _$failedField = null; + try { + _$failedField = "domain"; + _this.get$domain(_this).build$0(); + } catch (exception) { + e = H.unwrapException(exception); + t1 = Y.BuiltValueNestedFieldError$("Nick", _$failedField, J.toString$0$(e)); + throw H.wrapException(t1); + } + throw exception; + } + t1 = type$.legacy_Nick._as(_$result); + if (t1 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + _this._$v = t1; + return _$result; + } + }; + U._$Ligate.prototype = { + $eq: function(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof U.Ligate && this.dna_end.$eq(0, other.dna_end); + }, + get$hashCode: function(_) { + var t1 = this.dna_end; + return Y.$jf(Y.$jc(0, t1.get$hashCode(t1))); + }, + toString$0: function(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("Ligate"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "dna_end", this.dna_end); + return t2.toString$0(t1); + } + }; + U.LigateBuilder.prototype = { + get$dna_end: function() { + var t1, t2, _this = this, + $$v = _this._$v; + if ($$v != null) { + t1 = $$v.dna_end; + t2 = new Z.DNAEndBuilder(); + t2._dna_end$_$v = t1; + _this._actions$_dna_end = t2; + _this._$v = null; + } + t1 = _this._actions$_dna_end; + return t1 == null ? _this._actions$_dna_end = new Z.DNAEndBuilder() : t1; + }, + build$0: function() { + var _$failedField, e, _$result0, exception, t1, _this = this, _$result = null; + try { + _$result0 = _this._$v; + _$result = _$result0 == null ? U._$Ligate$_(_this.get$dna_end().build$0()) : _$result0; + } catch (exception) { + H.unwrapException(exception); + _$failedField = null; + try { + _$failedField = "dna_end"; + _this.get$dna_end().build$0(); + } catch (exception) { + e = H.unwrapException(exception); + t1 = Y.BuiltValueNestedFieldError$("Ligate", _$failedField, J.toString$0$(e)); + throw H.wrapException(t1); + } + throw exception; + } + t1 = type$.legacy_Ligate._as(_$result); + if (t1 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + _this._$v = t1; + return _$result; + } + }; + U._$JoinStrandsByCrossover.prototype = { + $eq: function(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof U.JoinStrandsByCrossover && J.$eq$(this.dna_end_first_click, other.dna_end_first_click) && J.$eq$(this.dna_end_second_click, other.dna_end_second_click); + }, + get$hashCode: function(_) { + return Y.$jf(Y.$jc(Y.$jc(0, J.get$hashCode$(this.dna_end_first_click)), J.get$hashCode$(this.dna_end_second_click))); + }, + toString$0: function(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("JoinStrandsByCrossover"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "dna_end_first_click", this.dna_end_first_click); + t2.add$2(t1, "dna_end_second_click", this.dna_end_second_click); + return t2.toString$0(t1); + } + }; + U.JoinStrandsByCrossoverBuilder.prototype = { + get$dna_end_first_click: function() { + var t1 = this.get$_$this(), + t2 = t1._actions$_dna_end_first_click; + return t2 == null ? t1._actions$_dna_end_first_click = new Z.DNAEndBuilder() : t2; + }, + get$dna_end_second_click: function() { + var t1 = this.get$_$this(), + t2 = t1._dna_end_second_click; + return t2 == null ? t1._dna_end_second_click = new Z.DNAEndBuilder() : t2; + }, + get$_$this: function() { + var t1, t2, _this = this, + $$v = _this._$v; + if ($$v != null) { + t1 = $$v.dna_end_first_click; + t1.toString; + t2 = new Z.DNAEndBuilder(); + t2._dna_end$_$v = t1; + _this._actions$_dna_end_first_click = t2; + t1 = $$v.dna_end_second_click; + t1.toString; + t2 = new Z.DNAEndBuilder(); + t2._dna_end$_$v = t1; + _this._dna_end_second_click = t2; + _this._$v = null; + } + return _this; + }, + build$0: function() { + var _$failedField, e, _$result0, exception, t1, _this = this, _$result = null; + try { + _$result0 = _this._$v; + _$result = _$result0 == null ? U._$JoinStrandsByCrossover$_(_this.get$dna_end_first_click().build$0(), _this.get$dna_end_second_click().build$0()) : _$result0; + } catch (exception) { + H.unwrapException(exception); + _$failedField = null; + try { + _$failedField = "dna_end_first_click"; + _this.get$dna_end_first_click().build$0(); + _$failedField = "dna_end_second_click"; + _this.get$dna_end_second_click().build$0(); + } catch (exception) { + e = H.unwrapException(exception); + t1 = Y.BuiltValueNestedFieldError$("JoinStrandsByCrossover", _$failedField, J.toString$0$(e)); + throw H.wrapException(t1); + } + throw exception; + } + t1 = type$.legacy_JoinStrandsByCrossover._as(_$result); + if (t1 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + _this._$v = t1; + return _$result; + } + }; + U._$MoveLinker.prototype = { + $eq: function(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof U.MoveLinker && J.$eq$(this.potential_crossover, other.potential_crossover) && this.dna_end_second_click.$eq(0, other.dna_end_second_click); + }, + get$hashCode: function(_) { + var _this = this, + t1 = _this._actions$__hashCode; + if (t1 == null) { + t1 = _this.dna_end_second_click; + t1 = _this._actions$__hashCode = Y.$jf(Y.$jc(Y.$jc(0, J.get$hashCode$(_this.potential_crossover)), t1.get$hashCode(t1))); + } + return t1; + }, + toString$0: function(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("MoveLinker"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "potential_crossover", this.potential_crossover); + t2.add$2(t1, "dna_end_second_click", this.dna_end_second_click); + return t2.toString$0(t1); + } + }; + U.MoveLinkerBuilder.prototype = { + get$potential_crossover: function() { + var t1 = this.get$_$this(), + t2 = t1._potential_crossover; + return t2 == null ? t1._potential_crossover = new S.PotentialCrossoverBuilder() : t2; + }, + get$dna_end_second_click: function() { + var t1 = this.get$_$this(), + t2 = t1._dna_end_second_click; + return t2 == null ? t1._dna_end_second_click = new Z.DNAEndBuilder() : t2; + }, + get$_$this: function() { + var t1, t2, _this = this, + $$v = _this._$v; + if ($$v != null) { + t1 = $$v.potential_crossover; + t1.toString; + t2 = new S.PotentialCrossoverBuilder(); + t2._potential_crossover$_$v = t1; + _this._potential_crossover = t2; + t1 = $$v.dna_end_second_click; + t2 = new Z.DNAEndBuilder(); + t2._dna_end$_$v = t1; + _this._dna_end_second_click = t2; + _this._$v = null; + } + return _this; + }, + build$0: function() { + var _$failedField, e, _$result0, t1, exception, _this = this, _$result = null; + try { + _$result0 = _this._$v; + if (_$result0 == null) { + t1 = _this.get$potential_crossover().build$0(); + _$result0 = U._$MoveLinker$_(_this.get$dna_end_second_click().build$0(), t1); + } + _$result = _$result0; + } catch (exception) { + H.unwrapException(exception); + _$failedField = null; + try { + _$failedField = "potential_crossover"; + _this.get$potential_crossover().build$0(); + _$failedField = "dna_end_second_click"; + _this.get$dna_end_second_click().build$0(); + } catch (exception) { + e = H.unwrapException(exception); + t1 = Y.BuiltValueNestedFieldError$("MoveLinker", _$failedField, J.toString$0$(e)); + throw H.wrapException(t1); + } + throw exception; + } + t1 = type$.legacy_MoveLinker._as(_$result); + if (t1 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + _this._$v = t1; + return _$result; + } + }; + U._$JoinStrandsByMultipleCrossovers.prototype = { + $eq: function(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof U.JoinStrandsByMultipleCrossovers; + }, + get$hashCode: function(_) { + return 913553039; + }, + toString$0: function(_) { + return J.toString$0$($.$get$newBuiltValueToStringHelper().call$1("JoinStrandsByMultipleCrossovers")); + } + }; + U.JoinStrandsByMultipleCrossoversBuilder.prototype = { + build$0: function() { + var _$result = this._$v; + if (_$result == null) + _$result = new U._$JoinStrandsByMultipleCrossovers(); + return this._$v = _$result; + } + }; + U._$StrandsReflect.prototype = { + $eq: function(_, other) { + var _this = this; + if (other == null) + return false; + if (other === _this) + return true; + return other instanceof U.StrandsReflect && J.$eq$(_this.strands, other.strands) && _this.horizontal === other.horizontal && _this.reverse_polarity === other.reverse_polarity; + }, + get$hashCode: function(_) { + return Y.$jf(Y.$jc(Y.$jc(Y.$jc(0, J.get$hashCode$(this.strands)), C.JSBool_methods.get$hashCode(this.horizontal)), C.JSBool_methods.get$hashCode(this.reverse_polarity))); + }, + toString$0: function(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("StrandsReflect"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "strands", this.strands); + t2.add$2(t1, "horizontal", this.horizontal); + t2.add$2(t1, "reverse_polarity", this.reverse_polarity); + return t2.toString$0(t1); + } + }; + U.StrandsReflectBuilder.prototype = { + get$strands: function() { + var t1 = this.get$_$this(), + t2 = t1._actions$_strands; + if (t2 == null) { + t2 = D.ListBuilder_ListBuilder(C.List_empty, type$.legacy_Strand); + t1.set$_actions$_strands(t2); + t1 = t2; + } else + t1 = t2; + return t1; + }, + get$_$this: function() { + var t1, _this = this, + $$v = _this._$v; + if ($$v != null) { + t1 = $$v.strands; + t1.toString; + _this.set$_actions$_strands(D.ListBuilder_ListBuilder(t1, t1.$ti._precomputed1)); + _this._horizontal = $$v.horizontal; + _this._reverse_polarity = $$v.reverse_polarity; + _this._$v = null; + } + return _this; + }, + build$0: function() { + var _$failedField, e, _$result0, t1, t2, t3, exception, _this = this, + _s14_ = "StrandsReflect", + _$result = null; + try { + _$result0 = _this._$v; + if (_$result0 == null) { + t1 = _this.get$strands().build$0(); + t2 = _this.get$_$this()._horizontal; + if (t2 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s14_, "horizontal")); + t3 = _this.get$_$this()._reverse_polarity; + if (t3 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s14_, "reverse_polarity")); + _$result0 = U._$StrandsReflect$_(t2, t3, t1); + } + _$result = _$result0; + } catch (exception) { + H.unwrapException(exception); + _$failedField = null; + try { + _$failedField = "strands"; + _this.get$strands().build$0(); + } catch (exception) { + e = H.unwrapException(exception); + t1 = Y.BuiltValueNestedFieldError$(_s14_, _$failedField, J.toString$0$(e)); + throw H.wrapException(t1); + } + throw exception; + } + t1 = type$.legacy_StrandsReflect._as(_$result); + if (t1 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + _this._$v = t1; + return _$result; + }, + set$_actions$_strands: function(_strands) { + this._actions$_strands = type$.legacy_ListBuilder_legacy_Strand._as(_strands); + } + }; + U._$ReplaceStrands.prototype = { + $eq: function(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof U.ReplaceStrands && J.$eq$(this.new_strands, other.new_strands); + }, + get$hashCode: function(_) { + return Y.$jf(Y.$jc(0, J.get$hashCode$(this.new_strands))); + }, + toString$0: function(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("ReplaceStrands"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "new_strands", this.new_strands); + return t2.toString$0(t1); + } + }; + U.ReplaceStrandsBuilder.prototype = { + get$new_strands: function() { + var t1, t2, _this = this, + $$v = _this._$v; + if ($$v != null) { + t1 = $$v.new_strands; + t1.toString; + t2 = t1.$ti; + t2._eval$1("_BuiltMap<1,2>")._as(t1); + _this.set$_new_strands(new A.MapBuilder(t1._mapFactory, t1._map$_map, t1, t2._eval$1("@<1>")._bind$1(t2._rest[1])._eval$1("MapBuilder<1,2>"))); + _this._$v = null; + } + t1 = _this._new_strands; + if (t1 == null) { + t1 = A.MapBuilder_MapBuilder(C.Map_empty, type$.legacy_int, type$.legacy_Strand); + _this.set$_new_strands(t1); + } + return t1; + }, + build$0: function() { + var _$failedField, e, _$result0, exception, t1, _this = this, _$result = null; + try { + _$result0 = _this._$v; + _$result = _$result0 == null ? U._$ReplaceStrands$_(_this.get$new_strands().build$0()) : _$result0; + } catch (exception) { + H.unwrapException(exception); + _$failedField = null; + try { + _$failedField = "new_strands"; + _this.get$new_strands().build$0(); + } catch (exception) { + e = H.unwrapException(exception); + t1 = Y.BuiltValueNestedFieldError$("ReplaceStrands", _$failedField, J.toString$0$(e)); + throw H.wrapException(t1); + } + throw exception; + } + t1 = type$.legacy_ReplaceStrands._as(_$result); + if (t1 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + _this._$v = t1; + return _$result; + }, + set$_new_strands: function(_new_strands) { + this._new_strands = type$.legacy_MapBuilder_of_legacy_int_and_legacy_Strand._as(_new_strands); + } + }; + U._$StrandCreateStart.prototype = { + $eq: function(_, other) { + var t1, t2; + if (other == null) + return false; + if (other === this) + return true; + if (other instanceof U.StrandCreateStart) + if (this.address.$eq(0, other.address)) { + t1 = this.color; + t2 = other.color; + t1 = t1.get$hashCode(t1) === t2.get$hashCode(t2); + } else + t1 = false; + else + t1 = false; + return t1; + }, + get$hashCode: function(_) { + var t1 = this.address, + t2 = this.color; + return Y.$jf(Y.$jc(Y.$jc(0, t1.get$hashCode(t1)), t2.get$hashCode(t2))); + }, + toString$0: function(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("StrandCreateStart"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "address", this.address); + t2.add$2(t1, "color", this.color); + return t2.toString$0(t1); + } + }; + U.StrandCreateStartBuilder.prototype = { + get$address: function() { + var t1 = this.get$_$this(), + t2 = t1._actions$_address; + return t2 == null ? t1._actions$_address = new Z.AddressBuilder() : t2; + }, + get$_$this: function() { + var t1, t2, _this = this, + $$v = _this._$v; + if ($$v != null) { + t1 = $$v.address; + t2 = new Z.AddressBuilder(); + t2._address$_$v = t1; + _this._actions$_address = t2; + _this._actions$_color = $$v.color; + _this._$v = null; + } + return _this; + }, + build$0: function() { + var _$failedField, e, _$result0, t1, t2, exception, _this = this, + _s17_ = "StrandCreateStart", + _$result = null; + try { + _$result0 = _this._$v; + if (_$result0 == null) { + t1 = _this.get$address().build$0(); + t2 = _this.get$_$this()._actions$_color; + if (t2 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s17_, "color")); + _$result0 = U._$StrandCreateStart$_(t1, t2); + } + _$result = _$result0; + } catch (exception) { + H.unwrapException(exception); + _$failedField = null; + try { + _$failedField = "address"; + _this.get$address().build$0(); + } catch (exception) { + e = H.unwrapException(exception); + t1 = Y.BuiltValueNestedFieldError$(_s17_, _$failedField, J.toString$0$(e)); + throw H.wrapException(t1); + } + throw exception; + } + t1 = type$.legacy_StrandCreateStart._as(_$result); + if (t1 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + _this._$v = t1; + return _$result; + } + }; + U._$StrandCreateAdjustOffset.prototype = { + $eq: function(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof U.StrandCreateAdjustOffset && this.offset == other.offset; + }, + get$hashCode: function(_) { + return Y.$jf(Y.$jc(0, J.get$hashCode$(this.offset))); + }, + toString$0: function(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("StrandCreateAdjustOffset"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "offset", this.offset); + return t2.toString$0(t1); + }, + get$offset: function(receiver) { + return this.offset; + } + }; + U.StrandCreateAdjustOffsetBuilder.prototype = { + get$offset: function(_) { + return this.get$_$this()._actions$_offset; + }, + get$_$this: function() { + var _this = this, + $$v = _this._$v; + if ($$v != null) { + _this._actions$_offset = $$v.offset; + _this._$v = null; + } + return _this; + } + }; + U._$StrandCreateStop.prototype = { + $eq: function(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof U.StrandCreateStop; + }, + get$hashCode: function(_) { + return 562189073; + }, + toString$0: function(_) { + return J.toString$0$($.$get$newBuiltValueToStringHelper().call$1("StrandCreateStop")); + } + }; + U.StrandCreateStopBuilder.prototype = { + build$0: function() { + var _$result = this._$v; + if (_$result == null) + _$result = new U._$StrandCreateStop(); + return this._$v = _$result; + } + }; + U._$StrandCreateCommit.prototype = { + $eq: function(_, other) { + var t1, t2, _this = this; + if (other == null) + return false; + if (other === _this) + return true; + if (other instanceof U.StrandCreateCommit) + if (_this.helix_idx === other.helix_idx) + if (_this.start === other.start) + if (_this.end === other.end) + if (_this.forward === other.forward) { + t1 = _this.color; + t2 = other.color; + t1 = t1.get$hashCode(t1) === t2.get$hashCode(t2); + } else + t1 = false; + else + t1 = false; + else + t1 = false; + else + t1 = false; + else + t1 = false; + return t1; + }, + get$hashCode: function(_) { + var _this = this, + t1 = _this.color; + return Y.$jf(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(0, C.JSInt_methods.get$hashCode(_this.helix_idx)), C.JSInt_methods.get$hashCode(_this.start)), C.JSInt_methods.get$hashCode(_this.end)), C.JSBool_methods.get$hashCode(_this.forward)), t1.get$hashCode(t1))); + }, + toString$0: function(_) { + var _this = this, + t1 = $.$get$newBuiltValueToStringHelper().call$1("StrandCreateCommit"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "helix_idx", _this.helix_idx); + t2.add$2(t1, "start", _this.start); + t2.add$2(t1, "end", _this.end); + t2.add$2(t1, "forward", _this.forward); + t2.add$2(t1, "color", _this.color); + return t2.toString$0(t1); + } + }; + U.StrandCreateCommitBuilder.prototype = { + get$_$this: function() { + var _this = this, + $$v = _this._$v; + if ($$v != null) { + _this._actions$_helix_idx = $$v.helix_idx; + _this._actions$_start = $$v.start; + _this._actions$_end = $$v.end; + _this._actions$_forward = $$v.forward; + _this._actions$_color = $$v.color; + _this._$v = null; + } + return _this; + } + }; + U._$PotentialCrossoverCreate.prototype = { + $eq: function(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof U.PotentialCrossoverCreate && J.$eq$(this.potential_crossover, other.potential_crossover); + }, + get$hashCode: function(_) { + return Y.$jf(Y.$jc(0, J.get$hashCode$(this.potential_crossover))); + }, + toString$0: function(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("PotentialCrossoverCreate"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "potential_crossover", this.potential_crossover); + return t2.toString$0(t1); + } + }; + U.PotentialCrossoverCreateBuilder.prototype = { + get$potential_crossover: function() { + var t1, t2, _this = this, + $$v = _this._$v; + if ($$v != null) { + t1 = $$v.potential_crossover; + t1.toString; + t2 = new S.PotentialCrossoverBuilder(); + t2._potential_crossover$_$v = t1; + _this._potential_crossover = t2; + _this._$v = null; + } + t1 = _this._potential_crossover; + return t1 == null ? _this._potential_crossover = new S.PotentialCrossoverBuilder() : t1; + }, + build$0: function() { + var _$failedField, e, _$result0, exception, t1, _this = this, _$result = null; + try { + _$result0 = _this._$v; + _$result = _$result0 == null ? U._$PotentialCrossoverCreate$_(_this.get$potential_crossover().build$0()) : _$result0; + } catch (exception) { + H.unwrapException(exception); + _$failedField = null; + try { + _$failedField = "potential_crossover"; + _this.get$potential_crossover().build$0(); + } catch (exception) { + e = H.unwrapException(exception); + t1 = Y.BuiltValueNestedFieldError$("PotentialCrossoverCreate", _$failedField, J.toString$0$(e)); + throw H.wrapException(t1); + } + throw exception; + } + t1 = type$.legacy_PotentialCrossoverCreate._as(_$result); + if (t1 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + _this._$v = t1; + return _$result; + } + }; + U._$PotentialCrossoverMove.prototype = { + $eq: function(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof U.PotentialCrossoverMove && this.point.$eq(0, other.point); + }, + get$hashCode: function(_) { + var t1 = this.point; + return Y.$jf(Y.$jc(0, H.SystemHash_hash2(J.get$hashCode$(t1.x), J.get$hashCode$(t1.y)))); + }, + toString$0: function(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("PotentialCrossoverMove"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "point", this.point); + return t2.toString$0(t1); + } + }; + U.PotentialCrossoverMoveBuilder.prototype = { + get$_$this: function() { + var _this = this, + $$v = _this._$v; + if ($$v != null) { + _this.set$_point($$v.point); + _this._$v = null; + } + return _this; + }, + set$_point: function(_point) { + this._point = type$.legacy_Point_legacy_num._as(_point); + } + }; + U._$PotentialCrossoverRemove.prototype = { + $eq: function(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof U.PotentialCrossoverRemove; + }, + get$hashCode: function(_) { + return 588638045; + }, + toString$0: function(_) { + return J.toString$0$($.$get$newBuiltValueToStringHelper().call$1("PotentialCrossoverRemove")); + } + }; + U.PotentialCrossoverRemoveBuilder.prototype = { + build$0: function() { + var _$result = this._$v; + if (_$result == null) + _$result = new U._$PotentialCrossoverRemove(); + return this._$v = _$result; + } + }; + U._$ManualPasteInitiate.prototype = { + $eq: function(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof U.ManualPasteInitiate && this.clipboard_content === other.clipboard_content && this.in_browser === other.in_browser; + }, + get$hashCode: function(_) { + var _this = this, + t1 = _this._actions$__hashCode; + return t1 == null ? _this._actions$__hashCode = Y.$jf(Y.$jc(Y.$jc(0, C.JSString_methods.get$hashCode(_this.clipboard_content)), C.JSBool_methods.get$hashCode(_this.in_browser))) : t1; + }, + toString$0: function(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("ManualPasteInitiate"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "clipboard_content", this.clipboard_content); + t2.add$2(t1, "in_browser", this.in_browser); + return t2.toString$0(t1); + } + }; + U.ManualPasteInitiateBuilder.prototype = { + get$_$this: function() { + var _this = this, + $$v = _this._$v; + if ($$v != null) { + _this._clipboard_content = $$v.clipboard_content; + _this._in_browser = $$v.in_browser; + _this._$v = null; + } + return _this; + }, + build$0: function() { + var t1, t2, _this = this, + _s19_ = "ManualPasteInitiate", + _$result = _this._$v; + if (_$result == null) { + t1 = _this.get$_$this()._clipboard_content; + if (t1 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s19_, "clipboard_content")); + t2 = _this.get$_$this()._in_browser; + if (t2 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s19_, "in_browser")); + _$result = new U._$ManualPasteInitiate(t1, t2); + } + return _this._$v = _$result; + } + }; + U._$AutoPasteInitiate.prototype = { + $eq: function(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof U.AutoPasteInitiate && this.clipboard_content === other.clipboard_content && this.in_browser === other.in_browser; + }, + get$hashCode: function(_) { + var _this = this, + t1 = _this._actions$__hashCode; + return t1 == null ? _this._actions$__hashCode = Y.$jf(Y.$jc(Y.$jc(0, C.JSString_methods.get$hashCode(_this.clipboard_content)), C.JSBool_methods.get$hashCode(_this.in_browser))) : t1; + }, + toString$0: function(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("AutoPasteInitiate"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "clipboard_content", this.clipboard_content); + t2.add$2(t1, "in_browser", this.in_browser); + return t2.toString$0(t1); + } + }; + U.AutoPasteInitiateBuilder.prototype = { + get$_$this: function() { + var _this = this, + $$v = _this._$v; + if ($$v != null) { + _this._clipboard_content = $$v.clipboard_content; + _this._in_browser = $$v.in_browser; + _this._$v = null; + } + return _this; + }, + build$0: function() { + var t1, t2, _this = this, + _s17_ = "AutoPasteInitiate", + _$result = _this._$v; + if (_$result == null) { + t1 = _this.get$_$this()._clipboard_content; + if (t1 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s17_, "clipboard_content")); + t2 = _this.get$_$this()._in_browser; + if (t2 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s17_, "in_browser")); + _$result = new U._$AutoPasteInitiate(t1, t2); + } + return _this._$v = _$result; + } + }; + U._$CopySelectedStrands.prototype = { + $eq: function(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof U.CopySelectedStrands; + }, + get$hashCode: function(_) { + return 12466871; + }, + toString$0: function(_) { + return J.toString$0$($.$get$newBuiltValueToStringHelper().call$1("CopySelectedStrands")); + } + }; + U.CopySelectedStrandsBuilder.prototype = { + build$0: function() { + var _$result = this._$v; + if (_$result == null) + _$result = new U._$CopySelectedStrands(); + return this._$v = _$result; + } + }; + U._$StrandsMoveStart.prototype = { + $eq: function(_, other) { + var _this = this; + if (other == null) + return false; + if (other === _this) + return true; + return other instanceof U.StrandsMoveStart && J.$eq$(_this.strands, other.strands) && _this.address.$eq(0, other.address) && _this.copy === other.copy && J.$eq$(_this.original_helices_view_order_inverse, other.original_helices_view_order_inverse); + }, + get$hashCode: function(_) { + var _this = this, + t1 = _this.address; + return Y.$jf(Y.$jc(Y.$jc(Y.$jc(Y.$jc(0, J.get$hashCode$(_this.strands)), t1.get$hashCode(t1)), C.JSBool_methods.get$hashCode(_this.copy)), J.get$hashCode$(_this.original_helices_view_order_inverse))); + }, + toString$0: function(_) { + var _this = this, + t1 = $.$get$newBuiltValueToStringHelper().call$1("StrandsMoveStart"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "strands", _this.strands); + t2.add$2(t1, "address", _this.address); + t2.add$2(t1, "copy", _this.copy); + t2.add$2(t1, "original_helices_view_order_inverse", _this.original_helices_view_order_inverse); + return t2.toString$0(t1); + } + }; + U.StrandsMoveStartBuilder.prototype = { + get$strands: function() { + var t1 = this.get$_$this(), + t2 = t1._actions$_strands; + if (t2 == null) { + t2 = D.ListBuilder_ListBuilder(C.List_empty, type$.legacy_Strand); + t1.set$_actions$_strands(t2); + t1 = t2; + } else + t1 = t2; + return t1; + }, + get$address: function() { + var t1 = this.get$_$this(), + t2 = t1._actions$_address; + return t2 == null ? t1._actions$_address = new Z.AddressBuilder() : t2; + }, + get$original_helices_view_order_inverse: function() { + var t1 = this.get$_$this(), + t2 = t1._actions$_original_helices_view_order_inverse; + if (t2 == null) { + t2 = type$.legacy_int; + t2 = A.MapBuilder_MapBuilder(C.Map_empty, t2, t2); + t1.set$_actions$_original_helices_view_order_inverse(t2); + t1 = t2; + } else + t1 = t2; + return t1; + }, + get$_$this: function() { + var t1, t2, _this = this, + $$v = _this._$v; + if ($$v != null) { + t1 = $$v.strands; + t1.toString; + _this.set$_actions$_strands(D.ListBuilder_ListBuilder(t1, t1.$ti._precomputed1)); + t1 = $$v.address; + t2 = new Z.AddressBuilder(); + t2._address$_$v = t1; + _this._actions$_address = t2; + _this._actions$_copy = $$v.copy; + t1 = $$v.original_helices_view_order_inverse; + t1.toString; + t2 = t1.$ti; + t2._eval$1("_BuiltMap<1,2>")._as(t1); + _this.set$_actions$_original_helices_view_order_inverse(new A.MapBuilder(t1._mapFactory, t1._map$_map, t1, t2._eval$1("@<1>")._bind$1(t2._rest[1])._eval$1("MapBuilder<1,2>"))); + _this._$v = null; + } + return _this; + }, + build$0: function() { + var _$failedField, e, _$result0, t1, t2, t3, exception, _this = this, + _s16_ = "StrandsMoveStart", + _$result = null; + try { + _$result0 = _this._$v; + if (_$result0 == null) { + t1 = _this.get$strands().build$0(); + t2 = _this.get$address().build$0(); + t3 = _this.get$_$this()._actions$_copy; + if (t3 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s16_, "copy")); + _$result0 = U._$StrandsMoveStart$_(t2, t3, _this.get$original_helices_view_order_inverse().build$0(), t1); + } + _$result = _$result0; + } catch (exception) { + H.unwrapException(exception); + _$failedField = null; + try { + _$failedField = "strands"; + _this.get$strands().build$0(); + _$failedField = "address"; + _this.get$address().build$0(); + _$failedField = "original_helices_view_order_inverse"; + _this.get$original_helices_view_order_inverse().build$0(); + } catch (exception) { + e = H.unwrapException(exception); + t1 = Y.BuiltValueNestedFieldError$(_s16_, _$failedField, J.toString$0$(e)); + throw H.wrapException(t1); + } + throw exception; + } + t1 = type$.legacy_StrandsMoveStart._as(_$result); + if (t1 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + _this._$v = t1; + return _$result; + }, + set$_actions$_strands: function(_strands) { + this._actions$_strands = type$.legacy_ListBuilder_legacy_Strand._as(_strands); + }, + set$_actions$_original_helices_view_order_inverse: function(_original_helices_view_order_inverse) { + this._actions$_original_helices_view_order_inverse = type$.legacy_MapBuilder_of_legacy_int_and_legacy_int._as(_original_helices_view_order_inverse); + } + }; + U._$StrandsMoveStartSelectedStrands.prototype = { + $eq: function(_, other) { + var _this = this; + if (other == null) + return false; + if (other === _this) + return true; + return other instanceof U.StrandsMoveStartSelectedStrands && _this.address.$eq(0, other.address) && _this.copy === other.copy && J.$eq$(_this.original_helices_view_order_inverse, other.original_helices_view_order_inverse); + }, + get$hashCode: function(_) { + var t1 = this.address; + return Y.$jf(Y.$jc(Y.$jc(Y.$jc(0, t1.get$hashCode(t1)), C.JSBool_methods.get$hashCode(this.copy)), J.get$hashCode$(this.original_helices_view_order_inverse))); + }, + toString$0: function(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("StrandsMoveStartSelectedStrands"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "address", this.address); + t2.add$2(t1, "copy", this.copy); + t2.add$2(t1, "original_helices_view_order_inverse", this.original_helices_view_order_inverse); + return t2.toString$0(t1); + } + }; + U.StrandsMoveStartSelectedStrandsBuilder.prototype = { + get$address: function() { + var t1 = this.get$_$this(), + t2 = t1._actions$_address; + return t2 == null ? t1._actions$_address = new Z.AddressBuilder() : t2; + }, + get$original_helices_view_order_inverse: function() { + var t1 = this.get$_$this(), + t2 = t1._actions$_original_helices_view_order_inverse; + if (t2 == null) { + t2 = type$.legacy_int; + t2 = A.MapBuilder_MapBuilder(C.Map_empty, t2, t2); + t1.set$_actions$_original_helices_view_order_inverse(t2); + t1 = t2; + } else + t1 = t2; + return t1; + }, + get$_$this: function() { + var t1, t2, _this = this, + $$v = _this._$v; + if ($$v != null) { + t1 = $$v.address; + t2 = new Z.AddressBuilder(); + t2._address$_$v = t1; + _this._actions$_address = t2; + _this._actions$_copy = $$v.copy; + t1 = $$v.original_helices_view_order_inverse; + t1.toString; + t2 = t1.$ti; + t2._eval$1("_BuiltMap<1,2>")._as(t1); + _this.set$_actions$_original_helices_view_order_inverse(new A.MapBuilder(t1._mapFactory, t1._map$_map, t1, t2._eval$1("@<1>")._bind$1(t2._rest[1])._eval$1("MapBuilder<1,2>"))); + _this._$v = null; + } + return _this; + }, + build$0: function() { + var _$failedField, e, _$result0, t1, t2, exception, _this = this, + _s31_ = "StrandsMoveStartSelectedStrands", + _$result = null; + try { + _$result0 = _this._$v; + if (_$result0 == null) { + t1 = _this.get$address().build$0(); + t2 = _this.get$_$this()._actions$_copy; + if (t2 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s31_, "copy")); + _$result0 = U._$StrandsMoveStartSelectedStrands$_(t1, t2, _this.get$original_helices_view_order_inverse().build$0()); + } + _$result = _$result0; + } catch (exception) { + H.unwrapException(exception); + _$failedField = null; + try { + _$failedField = "address"; + _this.get$address().build$0(); + _$failedField = "original_helices_view_order_inverse"; + _this.get$original_helices_view_order_inverse().build$0(); + } catch (exception) { + e = H.unwrapException(exception); + t1 = Y.BuiltValueNestedFieldError$(_s31_, _$failedField, J.toString$0$(e)); + throw H.wrapException(t1); + } + throw exception; + } + t1 = type$.legacy_StrandsMoveStartSelectedStrands._as(_$result); + if (t1 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + _this._$v = t1; + return _$result; + }, + set$_actions$_original_helices_view_order_inverse: function(_original_helices_view_order_inverse) { + this._actions$_original_helices_view_order_inverse = type$.legacy_MapBuilder_of_legacy_int_and_legacy_int._as(_original_helices_view_order_inverse); + } + }; + U._$StrandsMoveStop.prototype = { + $eq: function(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof U.StrandsMoveStop; + }, + get$hashCode: function(_) { + return 852105731; + }, + toString$0: function(_) { + return J.toString$0$($.$get$newBuiltValueToStringHelper().call$1("StrandsMoveStop")); + } + }; + U.StrandsMoveStopBuilder.prototype = { + build$0: function() { + var _$result = this._$v; + if (_$result == null) + _$result = new U._$StrandsMoveStop(); + return this._$v = _$result; + } + }; + U._$StrandsMoveAdjustAddress.prototype = { + $eq: function(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof U.StrandsMoveAdjustAddress && this.address.$eq(0, other.address); + }, + get$hashCode: function(_) { + var t1 = this.address; + return Y.$jf(Y.$jc(0, t1.get$hashCode(t1))); + }, + toString$0: function(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("StrandsMoveAdjustAddress"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "address", this.address); + return t2.toString$0(t1); + } + }; + U.StrandsMoveAdjustAddressBuilder.prototype = { + get$address: function() { + var t1, t2, _this = this, + $$v = _this._$v; + if ($$v != null) { + t1 = $$v.address; + t2 = new Z.AddressBuilder(); + t2._address$_$v = t1; + _this._actions$_address = t2; + _this._$v = null; + } + t1 = _this._actions$_address; + return t1 == null ? _this._actions$_address = new Z.AddressBuilder() : t1; + }, + build$0: function() { + var _$failedField, e, _$result0, exception, t1, _this = this, _$result = null; + try { + _$result0 = _this._$v; + _$result = _$result0 == null ? U._$StrandsMoveAdjustAddress$_(_this.get$address().build$0()) : _$result0; + } catch (exception) { + H.unwrapException(exception); + _$failedField = null; + try { + _$failedField = "address"; + _this.get$address().build$0(); + } catch (exception) { + e = H.unwrapException(exception); + t1 = Y.BuiltValueNestedFieldError$("StrandsMoveAdjustAddress", _$failedField, J.toString$0$(e)); + throw H.wrapException(t1); + } + throw exception; + } + t1 = type$.legacy_StrandsMoveAdjustAddress._as(_$result); + if (t1 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + _this._$v = t1; + return _$result; + } + }; + U._$StrandsMoveCommit.prototype = { + $eq: function(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof U.StrandsMoveCommit && J.$eq$(this.strands_move, other.strands_move) && this.autopaste === other.autopaste; + }, + get$hashCode: function(_) { + return Y.$jf(Y.$jc(Y.$jc(0, J.get$hashCode$(this.strands_move)), C.JSBool_methods.get$hashCode(this.autopaste))); + }, + toString$0: function(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("StrandsMoveCommit"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "strands_move", this.strands_move); + t2.add$2(t1, "autopaste", this.autopaste); + return t2.toString$0(t1); + } + }; + U.StrandsMoveCommitBuilder.prototype = { + get$strands_move: function() { + var t1 = this.get$_$this(), + t2 = t1._actions$_strands_move; + return t2 == null ? t1._actions$_strands_move = new U.StrandsMoveBuilder() : t2; + }, + get$_$this: function() { + var t1, t2, _this = this, + $$v = _this._$v; + if ($$v != null) { + t1 = $$v.strands_move; + t1.toString; + t2 = new U.StrandsMoveBuilder(); + t2._strands_move$_$v = t1; + _this._actions$_strands_move = t2; + _this._autopaste = $$v.autopaste; + _this._$v = null; + } + return _this; + }, + build$0: function() { + var _$failedField, e, _$result0, t1, t2, exception, _this = this, + _s17_ = "StrandsMoveCommit", + _$result = null; + try { + _$result0 = _this._$v; + if (_$result0 == null) { + t1 = _this.get$strands_move().build$0(); + t2 = _this.get$_$this()._autopaste; + if (t2 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s17_, "autopaste")); + _$result0 = U._$StrandsMoveCommit$_(t2, t1); + } + _$result = _$result0; + } catch (exception) { + H.unwrapException(exception); + _$failedField = null; + try { + _$failedField = "strands_move"; + _this.get$strands_move().build$0(); + } catch (exception) { + e = H.unwrapException(exception); + t1 = Y.BuiltValueNestedFieldError$(_s17_, _$failedField, J.toString$0$(e)); + throw H.wrapException(t1); + } + throw exception; + } + t1 = type$.legacy_StrandsMoveCommit._as(_$result); + if (t1 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + _this._$v = t1; + return _$result; + } + }; + U._$DomainsMoveStartSelectedDomains.prototype = { + $eq: function(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof U.DomainsMoveStartSelectedDomains && this.address.$eq(0, other.address) && J.$eq$(this.original_helices_view_order_inverse, other.original_helices_view_order_inverse); + }, + get$hashCode: function(_) { + var t1 = this.address; + return Y.$jf(Y.$jc(Y.$jc(0, t1.get$hashCode(t1)), J.get$hashCode$(this.original_helices_view_order_inverse))); + }, + toString$0: function(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("DomainsMoveStartSelectedDomains"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "address", this.address); + t2.add$2(t1, "original_helices_view_order_inverse", this.original_helices_view_order_inverse); + return t2.toString$0(t1); + } + }; + U.DomainsMoveStartSelectedDomainsBuilder.prototype = { + get$address: function() { + var t1 = this.get$_$this(), + t2 = t1._actions$_address; + return t2 == null ? t1._actions$_address = new Z.AddressBuilder() : t2; + }, + get$original_helices_view_order_inverse: function() { + var t1 = this.get$_$this(), + t2 = t1._actions$_original_helices_view_order_inverse; + if (t2 == null) { + t2 = type$.legacy_int; + t2 = A.MapBuilder_MapBuilder(C.Map_empty, t2, t2); + t1.set$_actions$_original_helices_view_order_inverse(t2); + t1 = t2; + } else + t1 = t2; + return t1; + }, + get$_$this: function() { + var t1, t2, _this = this, + $$v = _this._$v; + if ($$v != null) { + t1 = $$v.address; + t2 = new Z.AddressBuilder(); + t2._address$_$v = t1; + _this._actions$_address = t2; + t1 = $$v.original_helices_view_order_inverse; + t1.toString; + t2 = t1.$ti; + t2._eval$1("_BuiltMap<1,2>")._as(t1); + _this.set$_actions$_original_helices_view_order_inverse(new A.MapBuilder(t1._mapFactory, t1._map$_map, t1, t2._eval$1("@<1>")._bind$1(t2._rest[1])._eval$1("MapBuilder<1,2>"))); + _this._$v = null; + } + return _this; + }, + build$0: function() { + var _$failedField, e, _$result0, exception, t1, _this = this, _$result = null; + try { + _$result0 = _this._$v; + _$result = _$result0 == null ? U._$DomainsMoveStartSelectedDomains$_(_this.get$address().build$0(), _this.get$original_helices_view_order_inverse().build$0()) : _$result0; + } catch (exception) { + H.unwrapException(exception); + _$failedField = null; + try { + _$failedField = "address"; + _this.get$address().build$0(); + _$failedField = "original_helices_view_order_inverse"; + _this.get$original_helices_view_order_inverse().build$0(); + } catch (exception) { + e = H.unwrapException(exception); + t1 = Y.BuiltValueNestedFieldError$("DomainsMoveStartSelectedDomains", _$failedField, J.toString$0$(e)); + throw H.wrapException(t1); + } + throw exception; + } + t1 = type$.legacy_DomainsMoveStartSelectedDomains._as(_$result); + if (t1 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + _this._$v = t1; + return _$result; + }, + set$_actions$_original_helices_view_order_inverse: function(_original_helices_view_order_inverse) { + this._actions$_original_helices_view_order_inverse = type$.legacy_MapBuilder_of_legacy_int_and_legacy_int._as(_original_helices_view_order_inverse); + } + }; + U._$DomainsMoveStop.prototype = { + $eq: function(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof U.DomainsMoveStop; + }, + get$hashCode: function(_) { + return 156712681; + }, + toString$0: function(_) { + return J.toString$0$($.$get$newBuiltValueToStringHelper().call$1("DomainsMoveStop")); + } + }; + U.DomainsMoveStopBuilder.prototype = { + build$0: function() { + var _$result = this._$v; + if (_$result == null) + _$result = new U._$DomainsMoveStop(); + return this._$v = _$result; + } + }; + U._$DomainsMoveAdjustAddress.prototype = { + $eq: function(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof U.DomainsMoveAdjustAddress && this.address.$eq(0, other.address); + }, + get$hashCode: function(_) { + var t1 = this.address; + return Y.$jf(Y.$jc(0, t1.get$hashCode(t1))); + }, + toString$0: function(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("DomainsMoveAdjustAddress"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "address", this.address); + return t2.toString$0(t1); + } + }; + U.DomainsMoveAdjustAddressBuilder.prototype = { + get$address: function() { + var t1, t2, _this = this, + $$v = _this._$v; + if ($$v != null) { + t1 = $$v.address; + t2 = new Z.AddressBuilder(); + t2._address$_$v = t1; + _this._actions$_address = t2; + _this._$v = null; + } + t1 = _this._actions$_address; + return t1 == null ? _this._actions$_address = new Z.AddressBuilder() : t1; + }, + build$0: function() { + var _$failedField, e, _$result0, exception, t1, _this = this, _$result = null; + try { + _$result0 = _this._$v; + _$result = _$result0 == null ? U._$DomainsMoveAdjustAddress$_(_this.get$address().build$0()) : _$result0; + } catch (exception) { + H.unwrapException(exception); + _$failedField = null; + try { + _$failedField = "address"; + _this.get$address().build$0(); + } catch (exception) { + e = H.unwrapException(exception); + t1 = Y.BuiltValueNestedFieldError$("DomainsMoveAdjustAddress", _$failedField, J.toString$0$(e)); + throw H.wrapException(t1); + } + throw exception; + } + t1 = type$.legacy_DomainsMoveAdjustAddress._as(_$result); + if (t1 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + _this._$v = t1; + return _$result; + } + }; + U._$DomainsMoveCommit.prototype = { + $eq: function(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof U.DomainsMoveCommit && J.$eq$(this.domains_move, other.domains_move); + }, + get$hashCode: function(_) { + return Y.$jf(Y.$jc(0, J.get$hashCode$(this.domains_move))); + }, + toString$0: function(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("DomainsMoveCommit"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "domains_move", this.domains_move); + return t2.toString$0(t1); + } + }; + U.DomainsMoveCommitBuilder.prototype = { + get$domains_move: function() { + var t1, t2, _this = this, + $$v = _this._$v; + if ($$v != null) { + t1 = $$v.domains_move; + t1.toString; + t2 = new V.DomainsMoveBuilder(); + t2._domains_move$_$v = t1; + _this._actions$_domains_move = t2; + _this._$v = null; + } + t1 = _this._actions$_domains_move; + return t1 == null ? _this._actions$_domains_move = new V.DomainsMoveBuilder() : t1; + }, + build$0: function() { + var _$failedField, e, _$result0, exception, t1, _this = this, _$result = null; + try { + _$result0 = _this._$v; + _$result = _$result0 == null ? U._$DomainsMoveCommit$_(_this.get$domains_move().build$0()) : _$result0; + } catch (exception) { + H.unwrapException(exception); + _$failedField = null; + try { + _$failedField = "domains_move"; + _this.get$domains_move().build$0(); + } catch (exception) { + e = H.unwrapException(exception); + t1 = Y.BuiltValueNestedFieldError$("DomainsMoveCommit", _$failedField, J.toString$0$(e)); + throw H.wrapException(t1); + } + throw exception; + } + t1 = type$.legacy_DomainsMoveCommit._as(_$result); + if (t1 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + _this._$v = t1; + return _$result; + } + }; + U._$DNAEndsMoveStart.prototype = { + $eq: function(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof U.DNAEndsMoveStart && this.offset == other.offset && J.$eq$(this.helix, other.helix); + }, + get$hashCode: function(_) { + return Y.$jf(Y.$jc(Y.$jc(0, J.get$hashCode$(this.offset)), J.get$hashCode$(this.helix))); + }, + toString$0: function(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("DNAEndsMoveStart"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "offset", this.offset); + t2.add$2(t1, "helix", this.helix); + return t2.toString$0(t1); + }, + get$offset: function(receiver) { + return this.offset; + } + }; + U.DNAEndsMoveStartBuilder.prototype = { + get$offset: function(_) { + return this.get$_$this()._actions$_offset; + }, + get$helix: function() { + var t1 = this.get$_$this(), + t2 = t1._actions$_helix; + if (t2 == null) { + t2 = new O.HelixBuilder(); + t2.get$_helix$_$this()._group = "default_group"; + t2.get$_helix$_$this()._min_offset = 0; + t2.get$_helix$_$this()._roll = 0; + t1._actions$_helix = t2; + t1 = t2; + } else + t1 = t2; + return t1; + }, + get$_$this: function() { + var t1, t2, _this = this, + $$v = _this._$v; + if ($$v != null) { + _this._actions$_offset = $$v.offset; + t1 = $$v.helix; + t1.toString; + t2 = new O.HelixBuilder(); + t2.get$_helix$_$this()._group = "default_group"; + t2.get$_helix$_$this()._min_offset = 0; + t2.get$_helix$_$this()._roll = 0; + t2._helix$_$v = t1; + _this._actions$_helix = t2; + _this._$v = null; + } + return _this; + }, + build$0: function() { + var _$failedField, e, _$result0, t1, exception, _this = this, + _s16_ = "DNAEndsMoveStart", + _$result = null; + try { + _$result0 = _this._$v; + if (_$result0 == null) { + t1 = _this.get$_$this()._actions$_offset; + if (t1 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s16_, "offset")); + _$result0 = U._$DNAEndsMoveStart$_(_this.get$helix().build$0(), t1); + } + _$result = _$result0; + } catch (exception) { + H.unwrapException(exception); + _$failedField = null; + try { + _$failedField = "helix"; + _this.get$helix().build$0(); + } catch (exception) { + e = H.unwrapException(exception); + t1 = Y.BuiltValueNestedFieldError$(_s16_, _$failedField, J.toString$0$(e)); + throw H.wrapException(t1); + } + throw exception; + } + t1 = type$.legacy_DNAEndsMoveStart._as(_$result); + if (t1 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + _this._$v = t1; + return _$result; + } + }; + U._$DNAEndsMoveSetSelectedEnds.prototype = { + $eq: function(_, other) { + var _this = this; + if (other == null) + return false; + if (other === _this) + return true; + return other instanceof U.DNAEndsMoveSetSelectedEnds && J.$eq$(_this.moves, other.moves) && _this.original_offset == other.original_offset && J.$eq$(_this.helix, other.helix) && J.$eq$(_this.strands_affected, other.strands_affected); + }, + get$hashCode: function(_) { + var _this = this; + return Y.$jf(Y.$jc(Y.$jc(Y.$jc(Y.$jc(0, J.get$hashCode$(_this.moves)), J.get$hashCode$(_this.original_offset)), J.get$hashCode$(_this.helix)), J.get$hashCode$(_this.strands_affected))); + }, + toString$0: function(_) { + var _this = this, + t1 = $.$get$newBuiltValueToStringHelper().call$1("DNAEndsMoveSetSelectedEnds"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "moves", _this.moves); + t2.add$2(t1, "original_offset", _this.original_offset); + t2.add$2(t1, "helix", _this.helix); + t2.add$2(t1, "strands_affected", _this.strands_affected); + return t2.toString$0(t1); + } + }; + U.DNAEndsMoveSetSelectedEndsBuilder.prototype = { + get$moves: function() { + var t1 = this.get$_$this(), + t2 = t1._actions$_moves; + if (t2 == null) { + t2 = D.ListBuilder_ListBuilder(C.List_empty, type$.legacy_DNAEndMove); + t1.set$_actions$_moves(t2); + t1 = t2; + } else + t1 = t2; + return t1; + }, + get$helix: function() { + var t1 = this.get$_$this(), + t2 = t1._actions$_helix; + if (t2 == null) { + t2 = new O.HelixBuilder(); + t2.get$_helix$_$this()._group = "default_group"; + t2.get$_helix$_$this()._min_offset = 0; + t2.get$_helix$_$this()._roll = 0; + t1._actions$_helix = t2; + t1 = t2; + } else + t1 = t2; + return t1; + }, + get$strands_affected: function() { + var t1 = this.get$_$this(), + t2 = t1._strands_affected; + if (t2 == null) { + t2 = X.SetBuilder_SetBuilder(C.List_empty, type$.legacy_Strand); + t1.set$_strands_affected(t2); + t1 = t2; + } else + t1 = t2; + return t1; + }, + get$_$this: function() { + var t1, t2, _this = this, + $$v = _this._$v; + if ($$v != null) { + t1 = $$v.moves; + t1.toString; + _this.set$_actions$_moves(D.ListBuilder_ListBuilder(t1, t1.$ti._precomputed1)); + _this._actions$_original_offset = $$v.original_offset; + t1 = $$v.helix; + t1.toString; + t2 = new O.HelixBuilder(); + t2.get$_helix$_$this()._group = "default_group"; + t2.get$_helix$_$this()._min_offset = 0; + t2.get$_helix$_$this()._roll = 0; + t2._helix$_$v = t1; + _this._actions$_helix = t2; + t1 = $$v.strands_affected; + t1.toString; + t2 = t1.$ti; + t2._eval$1("_BuiltSet<1>")._as(t1); + _this.set$_strands_affected(new X.SetBuilder(t1._setFactory, t1._set, t1, t2._eval$1("SetBuilder<1>"))); + _this._$v = null; + } + return _this; + }, + build$0: function() { + var _$failedField, e, _$result0, t1, t2, exception, _this = this, + _s26_ = "DNAEndsMoveSetSelectedEnds", + _$result = null; + try { + _$result0 = _this._$v; + if (_$result0 == null) { + t1 = _this.get$moves().build$0(); + t2 = _this.get$_$this()._actions$_original_offset; + if (t2 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s26_, "original_offset")); + _$result0 = U._$DNAEndsMoveSetSelectedEnds$_(_this.get$helix().build$0(), t1, t2, _this.get$strands_affected().build$0()); + } + _$result = _$result0; + } catch (exception) { + H.unwrapException(exception); + _$failedField = null; + try { + _$failedField = "moves"; + _this.get$moves().build$0(); + _$failedField = "helix"; + _this.get$helix().build$0(); + _$failedField = "strands_affected"; + _this.get$strands_affected().build$0(); + } catch (exception) { + e = H.unwrapException(exception); + t1 = Y.BuiltValueNestedFieldError$(_s26_, _$failedField, J.toString$0$(e)); + throw H.wrapException(t1); + } + throw exception; + } + t1 = type$.legacy_DNAEndsMoveSetSelectedEnds._as(_$result); + if (t1 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + _this._$v = t1; + return _$result; + }, + set$_actions$_moves: function(_moves) { + this._actions$_moves = type$.legacy_ListBuilder_legacy_DNAEndMove._as(_moves); + }, + set$_strands_affected: function(_strands_affected) { + this._strands_affected = type$.legacy_SetBuilder_legacy_Strand._as(_strands_affected); + } + }; + U._$DNAEndsMoveAdjustOffset.prototype = { + $eq: function(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof U.DNAEndsMoveAdjustOffset && this.offset == other.offset; + }, + get$hashCode: function(_) { + return Y.$jf(Y.$jc(0, J.get$hashCode$(this.offset))); + }, + toString$0: function(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("DNAEndsMoveAdjustOffset"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "offset", this.offset); + return t2.toString$0(t1); + }, + get$offset: function(receiver) { + return this.offset; + } + }; + U.DNAEndsMoveAdjustOffsetBuilder.prototype = { + get$offset: function(_) { + return this.get$_$this()._actions$_offset; + }, + get$_$this: function() { + var _this = this, + $$v = _this._$v; + if ($$v != null) { + _this._actions$_offset = $$v.offset; + _this._$v = null; + } + return _this; + } + }; + U._$DNAEndsMoveStop.prototype = { + $eq: function(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof U.DNAEndsMoveStop; + }, + get$hashCode: function(_) { + return 405840353; + }, + toString$0: function(_) { + return J.toString$0$($.$get$newBuiltValueToStringHelper().call$1("DNAEndsMoveStop")); + } + }; + U._$DNAEndsMoveCommit.prototype = { + $eq: function(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof U.DNAEndsMoveCommit && J.$eq$(this.dna_ends_move, other.dna_ends_move); + }, + get$hashCode: function(_) { + return Y.$jf(Y.$jc(0, J.get$hashCode$(this.dna_ends_move))); + }, + toString$0: function(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("DNAEndsMoveCommit"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "dna_ends_move", this.dna_ends_move); + return t2.toString$0(t1); + } + }; + U.DNAEndsMoveCommitBuilder.prototype = { + get$dna_ends_move: function() { + var t1, t2, _this = this, + $$v = _this._$v; + if ($$v != null) { + t1 = $$v.dna_ends_move; + t1.toString; + t2 = new B.DNAEndsMoveBuilder(); + t2._dna_ends_move$_$v = t1; + _this._dna_ends_move = t2; + _this._$v = null; + } + t1 = _this._dna_ends_move; + return t1 == null ? _this._dna_ends_move = new B.DNAEndsMoveBuilder() : t1; + }, + build$0: function() { + var _$failedField, e, _$result0, exception, t1, _this = this, _$result = null; + try { + _$result0 = _this._$v; + _$result = _$result0 == null ? U._$DNAEndsMoveCommit$_(_this.get$dna_ends_move().build$0()) : _$result0; + } catch (exception) { + H.unwrapException(exception); + _$failedField = null; + try { + _$failedField = "dna_ends_move"; + _this.get$dna_ends_move().build$0(); + } catch (exception) { + e = H.unwrapException(exception); + t1 = Y.BuiltValueNestedFieldError$("DNAEndsMoveCommit", _$failedField, J.toString$0$(e)); + throw H.wrapException(t1); + } + throw exception; + } + t1 = type$.legacy_DNAEndsMoveCommit._as(_$result); + if (t1 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + _this._$v = t1; + return _$result; + } + }; + U._$DNAExtensionsMoveStart.prototype = { + $eq: function(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof U.DNAExtensionsMoveStart && this.start_point.$eq(0, other.start_point) && J.$eq$(this.helix, other.helix); + }, + get$hashCode: function(_) { + var t1 = this.start_point; + return Y.$jf(Y.$jc(Y.$jc(0, H.SystemHash_hash2(J.get$hashCode$(t1.x), J.get$hashCode$(t1.y))), J.get$hashCode$(this.helix))); + }, + toString$0: function(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("DNAExtensionsMoveStart"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "start_point", this.start_point); + t2.add$2(t1, "helix", this.helix); + return t2.toString$0(t1); + } + }; + U.DNAExtensionsMoveStartBuilder.prototype = { + get$helix: function() { + var t1 = this.get$_$this(), + t2 = t1._actions$_helix; + if (t2 == null) { + t2 = new O.HelixBuilder(); + t2.get$_helix$_$this()._group = "default_group"; + t2.get$_helix$_$this()._min_offset = 0; + t2.get$_helix$_$this()._roll = 0; + t1._actions$_helix = t2; + t1 = t2; + } else + t1 = t2; + return t1; + }, + get$_$this: function() { + var t1, t2, _this = this, + $$v = _this._$v; + if ($$v != null) { + _this.set$_actions$_start_point($$v.start_point); + t1 = $$v.helix; + t1.toString; + t2 = new O.HelixBuilder(); + t2.get$_helix$_$this()._group = "default_group"; + t2.get$_helix$_$this()._min_offset = 0; + t2.get$_helix$_$this()._roll = 0; + t2._helix$_$v = t1; + _this._actions$_helix = t2; + _this._$v = null; + } + return _this; + }, + build$0: function() { + var _$failedField, e, _$result0, t1, exception, _this = this, + _s22_ = "DNAExtensionsMoveStart", + _$result = null; + try { + _$result0 = _this._$v; + if (_$result0 == null) { + t1 = _this.get$_$this()._actions$_start_point; + if (t1 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s22_, "start_point")); + _$result0 = U._$DNAExtensionsMoveStart$_(_this.get$helix().build$0(), t1); + } + _$result = _$result0; + } catch (exception) { + H.unwrapException(exception); + _$failedField = null; + try { + _$failedField = "helix"; + _this.get$helix().build$0(); + } catch (exception) { + e = H.unwrapException(exception); + t1 = Y.BuiltValueNestedFieldError$(_s22_, _$failedField, J.toString$0$(e)); + throw H.wrapException(t1); + } + throw exception; + } + t1 = type$.legacy_DNAExtensionsMoveStart._as(_$result); + if (t1 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + _this._$v = t1; + return _$result; + }, + set$_actions$_start_point: function(_start_point) { + this._actions$_start_point = type$.legacy_Point_legacy_num._as(_start_point); + } + }; + U._$DNAExtensionsMoveSetSelectedExtensionEnds.prototype = { + $eq: function(_, other) { + var _this = this; + if (other == null) + return false; + if (other === _this) + return true; + return other instanceof U.DNAExtensionsMoveSetSelectedExtensionEnds && J.$eq$(_this.moves, other.moves) && _this.original_point.$eq(0, other.original_point) && J.$eq$(_this.strands_affected, other.strands_affected) && J.$eq$(_this.helix, other.helix); + }, + get$hashCode: function(_) { + var _this = this, + t1 = _this.original_point; + return Y.$jf(Y.$jc(Y.$jc(Y.$jc(Y.$jc(0, J.get$hashCode$(_this.moves)), H.SystemHash_hash2(J.get$hashCode$(t1.x), J.get$hashCode$(t1.y))), J.get$hashCode$(_this.strands_affected)), J.get$hashCode$(_this.helix))); + }, + toString$0: function(_) { + var _this = this, + t1 = $.$get$newBuiltValueToStringHelper().call$1(string$.DNAExt), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "moves", _this.moves); + t2.add$2(t1, "original_point", _this.original_point); + t2.add$2(t1, "strands_affected", _this.strands_affected); + t2.add$2(t1, "helix", _this.helix); + return t2.toString$0(t1); + } + }; + U.DNAExtensionsMoveSetSelectedExtensionEndsBuilder.prototype = { + get$moves: function() { + var t1 = this.get$_$this(), + t2 = t1._actions$_moves; + if (t2 == null) { + t2 = D.ListBuilder_ListBuilder(C.List_empty, type$.legacy_DNAExtensionMove); + t1.set$_actions$_moves(t2); + t1 = t2; + } else + t1 = t2; + return t1; + }, + get$strands_affected: function() { + var t1 = this.get$_$this(), + t2 = t1._strands_affected; + if (t2 == null) { + t2 = X.SetBuilder_SetBuilder(C.List_empty, type$.legacy_Strand); + t1.set$_strands_affected(t2); + t1 = t2; + } else + t1 = t2; + return t1; + }, + get$helix: function() { + var t1 = this.get$_$this(), + t2 = t1._actions$_helix; + if (t2 == null) { + t2 = new O.HelixBuilder(); + t2.get$_helix$_$this()._group = "default_group"; + t2.get$_helix$_$this()._min_offset = 0; + t2.get$_helix$_$this()._roll = 0; + t1._actions$_helix = t2; + t1 = t2; + } else + t1 = t2; + return t1; + }, + get$_$this: function() { + var t1, t2, _this = this, + $$v = _this._$v; + if ($$v != null) { + t1 = $$v.moves; + t1.toString; + _this.set$_actions$_moves(D.ListBuilder_ListBuilder(t1, t1.$ti._precomputed1)); + _this.set$_original_point($$v.original_point); + t1 = $$v.strands_affected; + t1.toString; + t2 = t1.$ti; + t2._eval$1("_BuiltSet<1>")._as(t1); + _this.set$_strands_affected(new X.SetBuilder(t1._setFactory, t1._set, t1, t2._eval$1("SetBuilder<1>"))); + t2 = $$v.helix; + t2.toString; + t1 = new O.HelixBuilder(); + t1.get$_helix$_$this()._group = "default_group"; + t1.get$_helix$_$this()._min_offset = 0; + t1.get$_helix$_$this()._roll = 0; + t1._helix$_$v = t2; + _this._actions$_helix = t1; + _this._$v = null; + } + return _this; + }, + build$0: function() { + var _$failedField, e, _$result0, t1, t2, t3, exception, _this = this, + _s41_ = string$.DNAExt, + _$result = null; + try { + _$result0 = _this._$v; + if (_$result0 == null) { + t1 = _this.get$moves().build$0(); + t2 = _this.get$_$this()._original_point; + if (t2 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s41_, "original_point")); + t3 = _this.get$strands_affected().build$0(); + _$result0 = U._$DNAExtensionsMoveSetSelectedExtensionEnds$_(_this.get$helix().build$0(), t1, t2, t3); + } + _$result = _$result0; + } catch (exception) { + H.unwrapException(exception); + _$failedField = null; + try { + _$failedField = "moves"; + _this.get$moves().build$0(); + _$failedField = "strands_affected"; + _this.get$strands_affected().build$0(); + _$failedField = "helix"; + _this.get$helix().build$0(); + } catch (exception) { + e = H.unwrapException(exception); + t1 = Y.BuiltValueNestedFieldError$(_s41_, _$failedField, J.toString$0$(e)); + throw H.wrapException(t1); + } + throw exception; + } + t1 = type$.legacy_DNAExtensionsMoveSetSelectedExtensionEnds._as(_$result); + if (t1 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + _this._$v = t1; + return _$result; + }, + set$_actions$_moves: function(_moves) { + this._actions$_moves = type$.legacy_ListBuilder_legacy_DNAExtensionMove._as(_moves); + }, + set$_original_point: function(_original_point) { + this._original_point = type$.legacy_Point_legacy_num._as(_original_point); + }, + set$_strands_affected: function(_strands_affected) { + this._strands_affected = type$.legacy_SetBuilder_legacy_Strand._as(_strands_affected); + } + }; + U._$DNAExtensionsMoveAdjustPosition.prototype = { + $eq: function(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof U.DNAExtensionsMoveAdjustPosition && this.position.$eq(0, other.position); + }, + get$hashCode: function(_) { + var t1 = this.position; + return Y.$jf(Y.$jc(0, H.SystemHash_hash2(J.get$hashCode$(t1.x), J.get$hashCode$(t1.y)))); + }, + toString$0: function(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("DNAExtensionsMoveAdjustPosition"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "position", this.position); + return t2.toString$0(t1); + } + }; + U.DNAExtensionsMoveAdjustPositionBuilder.prototype = { + get$_$this: function() { + var _this = this, + $$v = _this._$v; + if ($$v != null) { + _this.set$_actions$_position(0, $$v.position); + _this._$v = null; + } + return _this; + }, + set$_actions$_position: function(_, _position) { + this._actions$_position = type$.legacy_Point_legacy_num._as(_position); + } + }; + U._$DNAExtensionsMoveStop.prototype = { + $eq: function(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof U.DNAExtensionsMoveStop; + }, + get$hashCode: function(_) { + return 595080581; + }, + toString$0: function(_) { + return J.toString$0$($.$get$newBuiltValueToStringHelper().call$1("DNAExtensionsMoveStop")); + } + }; + U._$DNAExtensionsMoveCommit.prototype = { + $eq: function(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof U.DNAExtensionsMoveCommit && J.$eq$(this.dna_extensions_move, other.dna_extensions_move); + }, + get$hashCode: function(_) { + return Y.$jf(Y.$jc(0, J.get$hashCode$(this.dna_extensions_move))); + }, + toString$0: function(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("DNAExtensionsMoveCommit"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "dna_extensions_move", this.dna_extensions_move); + return t2.toString$0(t1); + } + }; + U.DNAExtensionsMoveCommitBuilder.prototype = { + get$dna_extensions_move: function() { + var t1, t2, _this = this, + $$v = _this._$v; + if ($$v != null) { + t1 = $$v.dna_extensions_move; + t1.toString; + t2 = new K.DNAExtensionsMoveBuilder(); + t2._dna_extensions_move$_$v = t1; + _this._dna_extensions_move = t2; + _this._$v = null; + } + t1 = _this._dna_extensions_move; + return t1 == null ? _this._dna_extensions_move = new K.DNAExtensionsMoveBuilder() : t1; + }, + build$0: function() { + var _$failedField, e, _$result0, exception, t1, _this = this, _$result = null; + try { + _$result0 = _this._$v; + _$result = _$result0 == null ? U._$DNAExtensionsMoveCommit$_(_this.get$dna_extensions_move().build$0()) : _$result0; + } catch (exception) { + H.unwrapException(exception); + _$failedField = null; + try { + _$failedField = "dna_extensions_move"; + _this.get$dna_extensions_move().build$0(); + } catch (exception) { + e = H.unwrapException(exception); + t1 = Y.BuiltValueNestedFieldError$("DNAExtensionsMoveCommit", _$failedField, J.toString$0$(e)); + throw H.wrapException(t1); + } + throw exception; + } + t1 = type$.legacy_DNAExtensionsMoveCommit._as(_$result); + if (t1 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + _this._$v = t1; + return _$result; + } + }; + U._$HelixGroupMoveStart.prototype = { + $eq: function(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof U.HelixGroupMoveStart && this.mouse_point.$eq(0, other.mouse_point); + }, + get$hashCode: function(_) { + var t1 = this.mouse_point; + return Y.$jf(Y.$jc(0, H.SystemHash_hash2(J.get$hashCode$(t1.x), J.get$hashCode$(t1.y)))); + }, + toString$0: function(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("HelixGroupMoveStart"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "mouse_point", this.mouse_point); + return t2.toString$0(t1); + } + }; + U.HelixGroupMoveStartBuilder.prototype = { + get$_$this: function() { + var _this = this, + $$v = _this._$v; + if ($$v != null) { + _this.set$_mouse_point($$v.mouse_point); + _this._$v = null; + } + return _this; + }, + set$_mouse_point: function(_mouse_point) { + this._mouse_point = type$.legacy_Point_legacy_num._as(_mouse_point); + } + }; + U._$HelixGroupMoveCreate.prototype = { + $eq: function(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof U.HelixGroupMoveCreate && J.$eq$(this.helix_group_move, other.helix_group_move); + }, + get$hashCode: function(_) { + return Y.$jf(Y.$jc(0, J.get$hashCode$(this.helix_group_move))); + }, + toString$0: function(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("HelixGroupMoveCreate"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "helix_group_move", this.helix_group_move); + return t2.toString$0(t1); + } + }; + U.HelixGroupMoveCreateBuilder.prototype = { + get$helix_group_move: function() { + var t1, t2, _this = this, + $$v = _this._$v; + if ($$v != null) { + t1 = $$v.helix_group_move; + t1.toString; + t2 = new G.HelixGroupMoveBuilder(); + t2._helix_group_move$_$v = t1; + _this._helix_group_move = t2; + _this._$v = null; + } + t1 = _this._helix_group_move; + return t1 == null ? _this._helix_group_move = new G.HelixGroupMoveBuilder() : t1; + }, + build$0: function() { + var _$failedField, e, _$result0, exception, t1, _this = this, _$result = null; + try { + _$result0 = _this._$v; + _$result = _$result0 == null ? U._$HelixGroupMoveCreate$_(_this.get$helix_group_move().build$0()) : _$result0; + } catch (exception) { + H.unwrapException(exception); + _$failedField = null; + try { + _$failedField = "helix_group_move"; + _this.get$helix_group_move().build$0(); + } catch (exception) { + e = H.unwrapException(exception); + t1 = Y.BuiltValueNestedFieldError$("HelixGroupMoveCreate", _$failedField, J.toString$0$(e)); + throw H.wrapException(t1); + } + throw exception; + } + t1 = type$.legacy_HelixGroupMoveCreate._as(_$result); + if (t1 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + _this._$v = t1; + return _$result; + } + }; + U._$HelixGroupMoveAdjustTranslation.prototype = { + $eq: function(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof U.HelixGroupMoveAdjustTranslation && this.mouse_point.$eq(0, other.mouse_point); + }, + get$hashCode: function(_) { + var t1 = this.mouse_point; + return Y.$jf(Y.$jc(0, H.SystemHash_hash2(J.get$hashCode$(t1.x), J.get$hashCode$(t1.y)))); + }, + toString$0: function(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("HelixGroupMoveAdjustTranslation"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "mouse_point", this.mouse_point); + return t2.toString$0(t1); + } + }; + U.HelixGroupMoveAdjustTranslationBuilder.prototype = { + get$_$this: function() { + var _this = this, + $$v = _this._$v; + if ($$v != null) { + _this.set$_mouse_point($$v.mouse_point); + _this._$v = null; + } + return _this; + }, + set$_mouse_point: function(_mouse_point) { + this._mouse_point = type$.legacy_Point_legacy_num._as(_mouse_point); + } + }; + U._$HelixGroupMoveStop.prototype = { + $eq: function(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof U.HelixGroupMoveStop; + }, + get$hashCode: function(_) { + return 16916568; + }, + toString$0: function(_) { + return J.toString$0$($.$get$newBuiltValueToStringHelper().call$1("HelixGroupMoveStop")); + } + }; + U.HelixGroupMoveStopBuilder.prototype = { + build$0: function() { + var _$result = this._$v; + if (_$result == null) + _$result = new U._$HelixGroupMoveStop(); + return this._$v = _$result; + } + }; + U._$HelixGroupMoveCommit.prototype = { + $eq: function(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof U.HelixGroupMoveCommit && J.$eq$(this.helix_group_move, other.helix_group_move); + }, + get$hashCode: function(_) { + return Y.$jf(Y.$jc(0, J.get$hashCode$(this.helix_group_move))); + }, + toString$0: function(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("HelixGroupMoveCommit"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "helix_group_move", this.helix_group_move); + return t2.toString$0(t1); + } + }; + U.HelixGroupMoveCommitBuilder.prototype = { + get$helix_group_move: function() { + var t1, t2, _this = this, + $$v = _this._$v; + if ($$v != null) { + t1 = $$v.helix_group_move; + t1.toString; + t2 = new G.HelixGroupMoveBuilder(); + t2._helix_group_move$_$v = t1; + _this._helix_group_move = t2; + _this._$v = null; + } + t1 = _this._helix_group_move; + return t1 == null ? _this._helix_group_move = new G.HelixGroupMoveBuilder() : t1; + }, + build$0: function() { + var _$failedField, e, _$result0, exception, t1, _this = this, _$result = null; + try { + _$result0 = _this._$v; + _$result = _$result0 == null ? U._$HelixGroupMoveCommit$_(_this.get$helix_group_move().build$0()) : _$result0; + } catch (exception) { + H.unwrapException(exception); + _$failedField = null; + try { + _$failedField = "helix_group_move"; + _this.get$helix_group_move().build$0(); + } catch (exception) { + e = H.unwrapException(exception); + t1 = Y.BuiltValueNestedFieldError$("HelixGroupMoveCommit", _$failedField, J.toString$0$(e)); + throw H.wrapException(t1); + } + throw exception; + } + t1 = type$.legacy_HelixGroupMoveCommit._as(_$result); + if (t1 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + _this._$v = t1; + return _$result; + } + }; + U._$AssignDNA.prototype = { + $eq: function(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof U.AssignDNA && J.$eq$(this.strand, other.strand) && this.dna_assign_options.$eq(0, other.dna_assign_options); + }, + get$hashCode: function(_) { + var t1 = this.dna_assign_options; + return Y.$jf(Y.$jc(Y.$jc(0, J.get$hashCode$(this.strand)), t1.get$hashCode(t1))); + }, + toString$0: function(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("AssignDNA"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "strand", this.strand); + t2.add$2(t1, "dna_assign_options", this.dna_assign_options); + return t2.toString$0(t1); + } + }; + U.AssignDNABuilder.prototype = { + get$strand: function() { + var t1 = this.get$_$this(), + t2 = t1._strand; + return t2 == null ? t1._strand = new E.StrandBuilder() : t2; + }, + get$dna_assign_options: function() { + var t1 = this.get$_$this(), + t2 = t1._actions$_dna_assign_options; + if (t2 == null) { + t2 = new X.DNAAssignOptionsBuilder(); + X.DNAAssignOptions__initializeBuilder(t2); + t1._actions$_dna_assign_options = t2; + t1 = t2; + } else + t1 = t2; + return t1; + }, + get$_$this: function() { + var t1, t2, _this = this, + $$v = _this._$v; + if ($$v != null) { + t1 = $$v.strand; + t1.toString; + t2 = new E.StrandBuilder(); + t2._strand$_$v = t1; + _this._strand = t2; + t1 = $$v.dna_assign_options; + t2 = new X.DNAAssignOptionsBuilder(); + X.DNAAssignOptions__initializeBuilder(t2); + t2._dna_assign_options$_$v = t1; + _this._actions$_dna_assign_options = t2; + _this._$v = null; + } + return _this; + }, + build$0: function() { + var _$failedField, e, _$result0, t1, exception, _this = this, _$result = null; + try { + _$result0 = _this._$v; + if (_$result0 == null) { + t1 = _this.get$strand().build$0(); + _$result0 = U._$AssignDNA$_(_this.get$dna_assign_options().build$0(), t1); + } + _$result = _$result0; + } catch (exception) { + H.unwrapException(exception); + _$failedField = null; + try { + _$failedField = "strand"; + _this.get$strand().build$0(); + _$failedField = "dna_assign_options"; + _this.get$dna_assign_options().build$0(); + } catch (exception) { + e = H.unwrapException(exception); + t1 = Y.BuiltValueNestedFieldError$("AssignDNA", _$failedField, J.toString$0$(e)); + throw H.wrapException(t1); + } + throw exception; + } + t1 = type$.legacy_AssignDNA._as(_$result); + if (t1 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + _this._$v = t1; + return _$result; + } + }; + U._$AssignDNAComplementFromBoundStrands.prototype = { + $eq: function(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof U.AssignDNAComplementFromBoundStrands && J.$eq$(this.strands, other.strands); + }, + get$hashCode: function(_) { + var t1 = this._actions$__hashCode; + return t1 == null ? this._actions$__hashCode = Y.$jf(Y.$jc(0, J.get$hashCode$(this.strands))) : t1; + }, + toString$0: function(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("AssignDNAComplementFromBoundStrands"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "strands", this.strands); + return t2.toString$0(t1); + } + }; + U.AssignDNAComplementFromBoundStrandsBuilder.prototype = { + get$strands: function() { + var t1, _this = this, + $$v = _this._$v; + if ($$v != null) { + t1 = $$v.strands; + t1.toString; + _this.set$_actions$_strands(D.ListBuilder_ListBuilder(t1, t1.$ti._precomputed1)); + _this._$v = null; + } + t1 = _this._actions$_strands; + if (t1 == null) { + t1 = D.ListBuilder_ListBuilder(C.List_empty, type$.legacy_Strand); + _this.set$_actions$_strands(t1); + } + return t1; + }, + build$0: function() { + var _$failedField, e, _$result0, t1, exception, _this = this, + _s35_ = "AssignDNAComplementFromBoundStrands", + _$result = null; + try { + _$result0 = _this._$v; + if (_$result0 == null) { + t1 = _this.get$strands().build$0(); + _$result0 = new U._$AssignDNAComplementFromBoundStrands(t1); + if (t1 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s35_, "strands")); + } + _$result = _$result0; + } catch (exception) { + H.unwrapException(exception); + _$failedField = null; + try { + _$failedField = "strands"; + _this.get$strands().build$0(); + } catch (exception) { + e = H.unwrapException(exception); + t1 = Y.BuiltValueNestedFieldError$(_s35_, _$failedField, J.toString$0$(e)); + throw H.wrapException(t1); + } + throw exception; + } + t1 = type$.legacy_AssignDNAComplementFromBoundStrands._as(_$result); + if (t1 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + _this._$v = t1; + return _$result; + }, + set$_actions$_strands: function(_strands) { + this._actions$_strands = type$.legacy_ListBuilder_legacy_Strand._as(_strands); + } + }; + U._$AssignDomainNameComplementFromBoundStrands.prototype = { + $eq: function(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof U.AssignDomainNameComplementFromBoundStrands && J.$eq$(this.strands, other.strands); + }, + get$hashCode: function(_) { + var t1 = this._actions$__hashCode; + return t1 == null ? this._actions$__hashCode = Y.$jf(Y.$jc(0, J.get$hashCode$(this.strands))) : t1; + }, + toString$0: function(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1(string$.AssignS), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "strands", this.strands); + return t2.toString$0(t1); + } + }; + U.AssignDomainNameComplementFromBoundStrandsBuilder.prototype = { + get$strands: function() { + var t1, _this = this, + $$v = _this._$v; + if ($$v != null) { + t1 = $$v.strands; + t1.toString; + _this.set$_actions$_strands(D.ListBuilder_ListBuilder(t1, t1.$ti._precomputed1)); + _this._$v = null; + } + t1 = _this._actions$_strands; + if (t1 == null) { + t1 = D.ListBuilder_ListBuilder(C.List_empty, type$.legacy_Strand); + _this.set$_actions$_strands(t1); + } + return t1; + }, + build$0: function() { + var _$failedField, e, _$result0, t1, exception, _this = this, + _s42_ = string$.AssignS, + _$result = null; + try { + _$result0 = _this._$v; + if (_$result0 == null) { + t1 = _this.get$strands().build$0(); + _$result0 = new U._$AssignDomainNameComplementFromBoundStrands(t1); + if (t1 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s42_, "strands")); + } + _$result = _$result0; + } catch (exception) { + H.unwrapException(exception); + _$failedField = null; + try { + _$failedField = "strands"; + _this.get$strands().build$0(); + } catch (exception) { + e = H.unwrapException(exception); + t1 = Y.BuiltValueNestedFieldError$(_s42_, _$failedField, J.toString$0$(e)); + throw H.wrapException(t1); + } + throw exception; + } + t1 = type$.legacy_AssignDomainNameComplementFromBoundStrands._as(_$result); + if (t1 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + _this._$v = t1; + return _$result; + }, + set$_actions$_strands: function(_strands) { + this._actions$_strands = type$.legacy_ListBuilder_legacy_Strand._as(_strands); + } + }; + U._$AssignDomainNameComplementFromBoundDomains.prototype = { + $eq: function(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof U.AssignDomainNameComplementFromBoundDomains && J.$eq$(this.domains, other.domains); + }, + get$hashCode: function(_) { + var t1 = this._actions$__hashCode; + return t1 == null ? this._actions$__hashCode = Y.$jf(Y.$jc(0, J.get$hashCode$(this.domains))) : t1; + }, + toString$0: function(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1(string$.AssignD), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "domains", this.domains); + return t2.toString$0(t1); + } + }; + U.AssignDomainNameComplementFromBoundDomainsBuilder.prototype = { + get$domains: function() { + var t1, _this = this, + $$v = _this._$v; + if ($$v != null) { + t1 = $$v.domains; + t1.toString; + _this.set$_domains(D.ListBuilder_ListBuilder(t1, t1.$ti._precomputed1)); + _this._$v = null; + } + t1 = _this._domains; + if (t1 == null) { + t1 = D.ListBuilder_ListBuilder(C.List_empty, type$.legacy_Domain); + _this.set$_domains(t1); + } + return t1; + }, + build$0: function() { + var _$failedField, e, _$result0, t1, exception, _this = this, + _s42_ = string$.AssignD, + _$result = null; + try { + _$result0 = _this._$v; + if (_$result0 == null) { + t1 = _this.get$domains().build$0(); + _$result0 = new U._$AssignDomainNameComplementFromBoundDomains(t1); + if (t1 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s42_, "domains")); + } + _$result = _$result0; + } catch (exception) { + H.unwrapException(exception); + _$failedField = null; + try { + _$failedField = "domains"; + _this.get$domains().build$0(); + } catch (exception) { + e = H.unwrapException(exception); + t1 = Y.BuiltValueNestedFieldError$(_s42_, _$failedField, J.toString$0$(e)); + throw H.wrapException(t1); + } + throw exception; + } + t1 = type$.legacy_AssignDomainNameComplementFromBoundDomains._as(_$result); + if (t1 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + _this._$v = t1; + return _$result; + }, + set$_domains: function(_domains) { + this._domains = type$.legacy_ListBuilder_legacy_Domain._as(_domains); + } + }; + U._$RemoveDNA.prototype = { + $eq: function(_, other) { + var _this = this; + if (other == null) + return false; + if (other === _this) + return true; + return other instanceof U.RemoveDNA && J.$eq$(_this.strand, other.strand) && _this.remove_complements === other.remove_complements && _this.remove_all === other.remove_all; + }, + get$hashCode: function(_) { + return Y.$jf(Y.$jc(Y.$jc(Y.$jc(0, J.get$hashCode$(this.strand)), C.JSBool_methods.get$hashCode(this.remove_complements)), C.JSBool_methods.get$hashCode(this.remove_all))); + }, + toString$0: function(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("RemoveDNA"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "strand", this.strand); + t2.add$2(t1, "remove_complements", this.remove_complements); + t2.add$2(t1, "remove_all", this.remove_all); + return t2.toString$0(t1); + }, + get$strand: function() { + return this.strand; + } + }; + U.RemoveDNABuilder.prototype = { + get$strand: function() { + var t1 = this.get$_$this(), + t2 = t1._strand; + return t2 == null ? t1._strand = new E.StrandBuilder() : t2; + }, + get$_$this: function() { + var t1, t2, _this = this, + $$v = _this._$v; + if ($$v != null) { + t1 = $$v.strand; + t1.toString; + t2 = new E.StrandBuilder(); + t2._strand$_$v = t1; + _this._strand = t2; + _this._remove_complements = $$v.remove_complements; + _this._remove_all = $$v.remove_all; + _this._$v = null; + } + return _this; + }, + build$0: function() { + var _$failedField, e, _$result0, t1, t2, t3, exception, _this = this, + _s9_ = "RemoveDNA", + _$result = null; + try { + _$result0 = _this._$v; + if (_$result0 == null) { + t1 = _this.get$strand().build$0(); + t2 = _this.get$_$this()._remove_complements; + if (t2 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s9_, "remove_complements")); + t3 = _this.get$_$this()._remove_all; + if (t3 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s9_, "remove_all")); + _$result0 = U._$RemoveDNA$_(t3, t2, t1); + } + _$result = _$result0; + } catch (exception) { + H.unwrapException(exception); + _$failedField = null; + try { + _$failedField = "strand"; + _this.get$strand().build$0(); + } catch (exception) { + e = H.unwrapException(exception); + t1 = Y.BuiltValueNestedFieldError$(_s9_, _$failedField, J.toString$0$(e)); + throw H.wrapException(t1); + } + throw exception; + } + t1 = type$.legacy_RemoveDNA._as(_$result); + if (t1 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + _this._$v = t1; + return _$result; + } + }; + U._$InsertionAdd.prototype = { + $eq: function(_, other) { + var _this = this; + if (other == null) + return false; + if (other === _this) + return true; + return other instanceof U.InsertionAdd && J.$eq$(_this.domain, other.domain) && _this.offset === other.offset && _this.all_helices === other.all_helices; + }, + get$hashCode: function(_) { + return Y.$jf(Y.$jc(Y.$jc(Y.$jc(0, J.get$hashCode$(this.domain)), C.JSInt_methods.get$hashCode(this.offset)), C.JSBool_methods.get$hashCode(this.all_helices))); + }, + toString$0: function(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("InsertionAdd"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "domain", this.domain); + t2.add$2(t1, "offset", this.offset); + t2.add$2(t1, "all_helices", this.all_helices); + return t2.toString$0(t1); + }, + get$domain: function(receiver) { + return this.domain; + }, + get$offset: function(receiver) { + return this.offset; + }, + get$all_helices: function() { + return this.all_helices; + } + }; + U.InsertionAddBuilder.prototype = { + get$domain: function(_) { + var t1 = this.get$_$this(), + t2 = t1._actions$_domain; + return t2 == null ? t1._actions$_domain = new G.DomainBuilder() : t2; + }, + get$offset: function(_) { + return this.get$_$this()._actions$_offset; + }, + get$_$this: function() { + var t1, t2, _this = this, + $$v = _this._$v; + if ($$v != null) { + t1 = $$v.domain; + t1.toString; + t2 = new G.DomainBuilder(); + t2._domain$_$v = t1; + _this._actions$_domain = t2; + _this._actions$_offset = $$v.offset; + _this._all_helices = $$v.all_helices; + _this._$v = null; + } + return _this; + }, + build$0: function() { + var _$failedField, e, _$result0, t1, t2, t3, exception, _this = this, + _s12_ = "InsertionAdd", + _$result = null; + try { + _$result0 = _this._$v; + if (_$result0 == null) { + t1 = _this.get$domain(_this).build$0(); + t2 = _this.get$_$this()._actions$_offset; + if (t2 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s12_, "offset")); + t3 = _this.get$_$this()._all_helices; + if (t3 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s12_, "all_helices")); + _$result0 = U._$InsertionAdd$_(t3, t1, t2); + } + _$result = _$result0; + } catch (exception) { + H.unwrapException(exception); + _$failedField = null; + try { + _$failedField = "domain"; + _this.get$domain(_this).build$0(); + } catch (exception) { + e = H.unwrapException(exception); + t1 = Y.BuiltValueNestedFieldError$(_s12_, _$failedField, J.toString$0$(e)); + throw H.wrapException(t1); + } + throw exception; + } + t1 = type$.legacy_InsertionAdd._as(_$result); + if (t1 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + _this._$v = t1; + return _$result; + } + }; + U._$InsertionLengthChange.prototype = { + $eq: function(_, other) { + var _this = this; + if (other == null) + return false; + if (other === _this) + return true; + return other instanceof U.InsertionLengthChange && J.$eq$(_this.domain, other.domain) && _this.insertion.$eq(0, other.insertion) && _this.length === other.length && _this.all_helices === other.all_helices; + }, + get$hashCode: function(_) { + var _this = this, + t1 = _this.insertion; + return Y.$jf(Y.$jc(Y.$jc(Y.$jc(Y.$jc(0, J.get$hashCode$(_this.domain)), t1.get$hashCode(t1)), C.JSInt_methods.get$hashCode(_this.length)), C.JSBool_methods.get$hashCode(_this.all_helices))); + }, + toString$0: function(_) { + var _this = this, + t1 = $.$get$newBuiltValueToStringHelper().call$1("InsertionLengthChange"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "domain", _this.domain); + t2.add$2(t1, "insertion", _this.insertion); + t2.add$2(t1, "length", _this.length); + t2.add$2(t1, "all_helices", _this.all_helices); + return t2.toString$0(t1); + }, + get$domain: function(receiver) { + return this.domain; + }, + get$length: function(receiver) { + return this.length; + }, + get$all_helices: function() { + return this.all_helices; + } + }; + U.InsertionLengthChangeBuilder.prototype = { + get$domain: function(_) { + var t1 = this.get$_$this(), + t2 = t1._actions$_domain; + return t2 == null ? t1._actions$_domain = new G.DomainBuilder() : t2; + }, + get$insertion: function() { + var t1 = this.get$_$this(), + t2 = t1._insertion; + return t2 == null ? t1._insertion = new G.InsertionBuilder() : t2; + }, + get$length: function(_) { + return this.get$_$this()._actions$_length; + }, + get$_$this: function() { + var t1, t2, _this = this, + $$v = _this._$v; + if ($$v != null) { + t1 = $$v.domain; + t1.toString; + t2 = new G.DomainBuilder(); + t2._domain$_$v = t1; + _this._actions$_domain = t2; + t1 = $$v.insertion; + t2 = new G.InsertionBuilder(); + t2._domain$_$v = t1; + _this._insertion = t2; + _this._actions$_length = $$v.length; + _this._all_helices = $$v.all_helices; + _this._$v = null; + } + return _this; + }, + build$0: function() { + var _$failedField, e, _$result0, t1, t2, t3, t4, exception, _this = this, + _s21_ = "InsertionLengthChange", + _$result = null; + try { + _$result0 = _this._$v; + if (_$result0 == null) { + t1 = _this.get$domain(_this).build$0(); + t2 = _this.get$insertion().build$0(); + t3 = _this.get$_$this()._actions$_length; + if (t3 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s21_, "length")); + t4 = _this.get$_$this()._all_helices; + if (t4 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s21_, "all_helices")); + _$result0 = new U._$InsertionLengthChange(t1, t2, t3, t4); + if (t1 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s21_, "domain")); + } + _$result = _$result0; + } catch (exception) { + H.unwrapException(exception); + _$failedField = null; + try { + _$failedField = "domain"; + _this.get$domain(_this).build$0(); + _$failedField = "insertion"; + _this.get$insertion().build$0(); + } catch (exception) { + e = H.unwrapException(exception); + t1 = Y.BuiltValueNestedFieldError$(_s21_, _$failedField, J.toString$0$(e)); + throw H.wrapException(t1); + } + throw exception; + } + t1 = type$.legacy_InsertionLengthChange._as(_$result); + if (t1 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + _this._$v = t1; + return _$result; + } + }; + U._$InsertionsLengthChange.prototype = { + $eq: function(_, other) { + var _this = this; + if (other == null) + return false; + if (other === _this) + return true; + return other instanceof U.InsertionsLengthChange && J.$eq$(_this.insertions, other.insertions) && J.$eq$(_this.domains, other.domains) && _this.length === other.length && _this.all_helices === other.all_helices; + }, + get$hashCode: function(_) { + var _this = this; + return Y.$jf(Y.$jc(Y.$jc(Y.$jc(Y.$jc(0, J.get$hashCode$(_this.insertions)), J.get$hashCode$(_this.domains)), C.JSInt_methods.get$hashCode(_this.length)), C.JSBool_methods.get$hashCode(_this.all_helices))); + }, + toString$0: function(_) { + var _this = this, + t1 = $.$get$newBuiltValueToStringHelper().call$1("InsertionsLengthChange"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "insertions", _this.insertions); + t2.add$2(t1, "domains", _this.domains); + t2.add$2(t1, "length", _this.length); + t2.add$2(t1, "all_helices", _this.all_helices); + return t2.toString$0(t1); + }, + get$length: function(receiver) { + return this.length; + } + }; + U.InsertionsLengthChangeBuilder.prototype = { + get$insertions: function() { + var t1 = this.get$_$this(), + t2 = t1._actions$_insertions; + if (t2 == null) { + t2 = D.ListBuilder_ListBuilder(C.List_empty, type$.legacy_Insertion); + t1.set$_actions$_insertions(t2); + t1 = t2; + } else + t1 = t2; + return t1; + }, + get$domains: function() { + var t1 = this.get$_$this(), + t2 = t1._domains; + if (t2 == null) { + t2 = D.ListBuilder_ListBuilder(C.List_empty, type$.legacy_Domain); + t1.set$_domains(t2); + t1 = t2; + } else + t1 = t2; + return t1; + }, + get$length: function(_) { + return this.get$_$this()._actions$_length; + }, + get$_$this: function() { + var t1, _this = this, + $$v = _this._$v; + if ($$v != null) { + t1 = $$v.insertions; + t1.toString; + _this.set$_actions$_insertions(D.ListBuilder_ListBuilder(t1, t1.$ti._precomputed1)); + t1 = $$v.domains; + t1.toString; + _this.set$_domains(D.ListBuilder_ListBuilder(t1, t1.$ti._precomputed1)); + _this._actions$_length = $$v.length; + _this._all_helices = $$v.all_helices; + _this._$v = null; + } + return _this; + }, + build$0: function() { + var _$failedField, e, _$result0, t1, t2, t3, t4, exception, _this = this, + _s22_ = "InsertionsLengthChange", + _$result = null; + try { + _$result0 = _this._$v; + if (_$result0 == null) { + t1 = _this.get$insertions().build$0(); + t2 = _this.get$domains().build$0(); + t3 = _this.get$_$this()._actions$_length; + if (t3 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s22_, "length")); + t4 = _this.get$_$this()._all_helices; + if (t4 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s22_, "all_helices")); + _$result0 = new U._$InsertionsLengthChange(t1, t2, t3, t4); + if (t1 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s22_, "insertions")); + if (t2 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s22_, "domains")); + } + _$result = _$result0; + } catch (exception) { + H.unwrapException(exception); + _$failedField = null; + try { + _$failedField = "insertions"; + _this.get$insertions().build$0(); + _$failedField = "domains"; + _this.get$domains().build$0(); + } catch (exception) { + e = H.unwrapException(exception); + t1 = Y.BuiltValueNestedFieldError$(_s22_, _$failedField, J.toString$0$(e)); + throw H.wrapException(t1); + } + throw exception; + } + t1 = type$.legacy_InsertionsLengthChange._as(_$result); + if (t1 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + _this._$v = t1; + return _$result; + }, + set$_actions$_insertions: function(_insertions) { + this._actions$_insertions = type$.legacy_ListBuilder_legacy_Insertion._as(_insertions); + }, + set$_domains: function(_domains) { + this._domains = type$.legacy_ListBuilder_legacy_Domain._as(_domains); + } + }; + U._$DeletionAdd.prototype = { + $eq: function(_, other) { + var _this = this; + if (other == null) + return false; + if (other === _this) + return true; + return other instanceof U.DeletionAdd && J.$eq$(_this.domain, other.domain) && _this.offset === other.offset && _this.all_helices === other.all_helices; + }, + get$hashCode: function(_) { + return Y.$jf(Y.$jc(Y.$jc(Y.$jc(0, J.get$hashCode$(this.domain)), C.JSInt_methods.get$hashCode(this.offset)), C.JSBool_methods.get$hashCode(this.all_helices))); + }, + toString$0: function(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("DeletionAdd"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "domain", this.domain); + t2.add$2(t1, "offset", this.offset); + t2.add$2(t1, "all_helices", this.all_helices); + return t2.toString$0(t1); + }, + get$domain: function(receiver) { + return this.domain; + }, + get$offset: function(receiver) { + return this.offset; + }, + get$all_helices: function() { + return this.all_helices; + } + }; + U.DeletionAddBuilder.prototype = { + get$domain: function(_) { + var t1 = this.get$_$this(), + t2 = t1._actions$_domain; + return t2 == null ? t1._actions$_domain = new G.DomainBuilder() : t2; + }, + get$offset: function(_) { + return this.get$_$this()._actions$_offset; + }, + get$_$this: function() { + var t1, t2, _this = this, + $$v = _this._$v; + if ($$v != null) { + t1 = $$v.domain; + t1.toString; + t2 = new G.DomainBuilder(); + t2._domain$_$v = t1; + _this._actions$_domain = t2; + _this._actions$_offset = $$v.offset; + _this._all_helices = $$v.all_helices; + _this._$v = null; + } + return _this; + }, + build$0: function() { + var _$failedField, e, _$result0, t1, t2, t3, exception, _this = this, + _s11_ = "DeletionAdd", + _$result = null; + try { + _$result0 = _this._$v; + if (_$result0 == null) { + t1 = _this.get$domain(_this).build$0(); + t2 = _this.get$_$this()._actions$_offset; + if (t2 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s11_, "offset")); + t3 = _this.get$_$this()._all_helices; + if (t3 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s11_, "all_helices")); + _$result0 = U._$DeletionAdd$_(t3, t1, t2); + } + _$result = _$result0; + } catch (exception) { + H.unwrapException(exception); + _$failedField = null; + try { + _$failedField = "domain"; + _this.get$domain(_this).build$0(); + } catch (exception) { + e = H.unwrapException(exception); + t1 = Y.BuiltValueNestedFieldError$(_s11_, _$failedField, J.toString$0$(e)); + throw H.wrapException(t1); + } + throw exception; + } + t1 = type$.legacy_DeletionAdd._as(_$result); + if (t1 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + _this._$v = t1; + return _$result; + } + }; + U._$InsertionRemove.prototype = { + $eq: function(_, other) { + var _this = this; + if (other == null) + return false; + if (other === _this) + return true; + return other instanceof U.InsertionRemove && J.$eq$(_this.domain, other.domain) && _this.insertion.$eq(0, other.insertion) && _this.all_helices === other.all_helices; + }, + get$hashCode: function(_) { + var t1 = this.insertion; + return Y.$jf(Y.$jc(Y.$jc(Y.$jc(0, J.get$hashCode$(this.domain)), t1.get$hashCode(t1)), C.JSBool_methods.get$hashCode(this.all_helices))); + }, + toString$0: function(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("InsertionRemove"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "domain", this.domain); + t2.add$2(t1, "insertion", this.insertion); + t2.add$2(t1, "all_helices", this.all_helices); + return t2.toString$0(t1); + }, + get$domain: function(receiver) { + return this.domain; + }, + get$all_helices: function() { + return this.all_helices; + } + }; + U.InsertionRemoveBuilder.prototype = { + get$domain: function(_) { + var t1 = this.get$_$this(), + t2 = t1._actions$_domain; + return t2 == null ? t1._actions$_domain = new G.DomainBuilder() : t2; + }, + get$insertion: function() { + var t1 = this.get$_$this(), + t2 = t1._insertion; + return t2 == null ? t1._insertion = new G.InsertionBuilder() : t2; + }, + get$_$this: function() { + var t1, t2, _this = this, + $$v = _this._$v; + if ($$v != null) { + t1 = $$v.domain; + t1.toString; + t2 = new G.DomainBuilder(); + t2._domain$_$v = t1; + _this._actions$_domain = t2; + t1 = $$v.insertion; + t2 = new G.InsertionBuilder(); + t2._domain$_$v = t1; + _this._insertion = t2; + _this._all_helices = $$v.all_helices; + _this._$v = null; + } + return _this; + }, + build$0: function() { + var _$failedField, e, _$result0, t1, t2, t3, exception, _this = this, + _s15_ = "InsertionRemove", + _$result = null; + try { + _$result0 = _this._$v; + if (_$result0 == null) { + t1 = _this.get$domain(_this).build$0(); + t2 = _this.get$insertion().build$0(); + t3 = _this.get$_$this()._all_helices; + if (t3 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s15_, "all_helices")); + _$result0 = new U._$InsertionRemove(t1, t2, t3); + if (t1 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s15_, "domain")); + } + _$result = _$result0; + } catch (exception) { + H.unwrapException(exception); + _$failedField = null; + try { + _$failedField = "domain"; + _this.get$domain(_this).build$0(); + _$failedField = "insertion"; + _this.get$insertion().build$0(); + } catch (exception) { + e = H.unwrapException(exception); + t1 = Y.BuiltValueNestedFieldError$(_s15_, _$failedField, J.toString$0$(e)); + throw H.wrapException(t1); + } + throw exception; + } + t1 = type$.legacy_InsertionRemove._as(_$result); + if (t1 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + _this._$v = t1; + return _$result; + } + }; + U._$DeletionRemove.prototype = { + $eq: function(_, other) { + var _this = this; + if (other == null) + return false; + if (other === _this) + return true; + return other instanceof U.DeletionRemove && J.$eq$(_this.domain, other.domain) && _this.offset === other.offset && _this.all_helices === other.all_helices; + }, + get$hashCode: function(_) { + return Y.$jf(Y.$jc(Y.$jc(Y.$jc(0, J.get$hashCode$(this.domain)), C.JSInt_methods.get$hashCode(this.offset)), C.JSBool_methods.get$hashCode(this.all_helices))); + }, + toString$0: function(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("DeletionRemove"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "domain", this.domain); + t2.add$2(t1, "offset", this.offset); + t2.add$2(t1, "all_helices", this.all_helices); + return t2.toString$0(t1); + }, + get$domain: function(receiver) { + return this.domain; + }, + get$offset: function(receiver) { + return this.offset; + }, + get$all_helices: function() { + return this.all_helices; + } + }; + U.DeletionRemoveBuilder.prototype = { + get$domain: function(_) { + var t1 = this.get$_$this(), + t2 = t1._actions$_domain; + return t2 == null ? t1._actions$_domain = new G.DomainBuilder() : t2; + }, + get$offset: function(_) { + return this.get$_$this()._actions$_offset; + }, + get$_$this: function() { + var t1, t2, _this = this, + $$v = _this._$v; + if ($$v != null) { + t1 = $$v.domain; + t1.toString; + t2 = new G.DomainBuilder(); + t2._domain$_$v = t1; + _this._actions$_domain = t2; + _this._actions$_offset = $$v.offset; + _this._all_helices = $$v.all_helices; + _this._$v = null; + } + return _this; + }, + build$0: function() { + var _$failedField, e, _$result0, t1, t2, t3, exception, _this = this, + _s14_ = "DeletionRemove", + _$result = null; + try { + _$result0 = _this._$v; + if (_$result0 == null) { + t1 = _this.get$domain(_this).build$0(); + t2 = _this.get$_$this()._actions$_offset; + if (t2 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s14_, "offset")); + t3 = _this.get$_$this()._all_helices; + if (t3 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s14_, "all_helices")); + _$result0 = new U._$DeletionRemove(t1, t2, t3); + if (t1 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s14_, "domain")); + } + _$result = _$result0; + } catch (exception) { + H.unwrapException(exception); + _$failedField = null; + try { + _$failedField = "domain"; + _this.get$domain(_this).build$0(); + } catch (exception) { + e = H.unwrapException(exception); + t1 = Y.BuiltValueNestedFieldError$(_s14_, _$failedField, J.toString$0$(e)); + throw H.wrapException(t1); + } + throw exception; + } + t1 = type$.legacy_DeletionRemove._as(_$result); + if (t1 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + _this._$v = t1; + return _$result; + } + }; + U._$ScalePurificationVendorFieldsAssign.prototype = { + $eq: function(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof U.ScalePurificationVendorFieldsAssign && J.$eq$(this.strand, other.strand) && J.$eq$(this.vendor_fields, other.vendor_fields); + }, + get$hashCode: function(_) { + return Y.$jf(Y.$jc(Y.$jc(0, J.get$hashCode$(this.strand)), J.get$hashCode$(this.vendor_fields))); + }, + toString$0: function(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("ScalePurificationVendorFieldsAssign"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "strand", this.strand); + t2.add$2(t1, "vendor_fields", this.vendor_fields); + return t2.toString$0(t1); + }, + get$strand: function() { + return this.strand; + } + }; + U.ScalePurificationVendorFieldsAssignBuilder.prototype = { + get$strand: function() { + var t1 = this.get$_$this(), + t2 = t1._strand; + return t2 == null ? t1._strand = new E.StrandBuilder() : t2; + }, + get$vendor_fields: function() { + var t1 = this.get$_$this(), + t2 = t1._actions$_vendor_fields; + return t2 == null ? t1._actions$_vendor_fields = new T.VendorFieldsBuilder() : t2; + }, + get$_$this: function() { + var t1, t2, _this = this, + $$v = _this._$v; + if ($$v != null) { + t1 = $$v.strand; + t1.toString; + t2 = new E.StrandBuilder(); + t2._strand$_$v = t1; + _this._strand = t2; + t1 = $$v.vendor_fields; + t1.toString; + t2 = new T.VendorFieldsBuilder(); + t2._vendor_fields$_$v = t1; + _this._actions$_vendor_fields = t2; + _this._$v = null; + } + return _this; + }, + build$0: function() { + var _$failedField, e, _$result0, exception, t1, _this = this, _$result = null; + try { + _$result0 = _this._$v; + _$result = _$result0 == null ? U._$ScalePurificationVendorFieldsAssign$_(_this.get$strand().build$0(), _this.get$vendor_fields().build$0()) : _$result0; + } catch (exception) { + H.unwrapException(exception); + _$failedField = null; + try { + _$failedField = "strand"; + _this.get$strand().build$0(); + _$failedField = "vendor_fields"; + _this.get$vendor_fields().build$0(); + } catch (exception) { + e = H.unwrapException(exception); + t1 = Y.BuiltValueNestedFieldError$("ScalePurificationVendorFieldsAssign", _$failedField, J.toString$0$(e)); + throw H.wrapException(t1); + } + throw exception; + } + t1 = type$.legacy_ScalePurificationVendorFieldsAssign._as(_$result); + if (t1 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + _this._$v = t1; + return _$result; + } + }; + U._$PlateWellVendorFieldsAssign.prototype = { + $eq: function(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof U.PlateWellVendorFieldsAssign && J.$eq$(this.strand, other.strand) && J.$eq$(this.vendor_fields, other.vendor_fields); + }, + get$hashCode: function(_) { + return Y.$jf(Y.$jc(Y.$jc(0, J.get$hashCode$(this.strand)), J.get$hashCode$(this.vendor_fields))); + }, + toString$0: function(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("PlateWellVendorFieldsAssign"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "strand", this.strand); + t2.add$2(t1, "vendor_fields", this.vendor_fields); + return t2.toString$0(t1); + }, + get$strand: function() { + return this.strand; + } + }; + U.PlateWellVendorFieldsAssignBuilder.prototype = { + get$strand: function() { + var t1 = this.get$_$this(), + t2 = t1._strand; + return t2 == null ? t1._strand = new E.StrandBuilder() : t2; + }, + get$vendor_fields: function() { + var t1 = this.get$_$this(), + t2 = t1._actions$_vendor_fields; + return t2 == null ? t1._actions$_vendor_fields = new T.VendorFieldsBuilder() : t2; + }, + get$_$this: function() { + var t1, t2, _this = this, + $$v = _this._$v; + if ($$v != null) { + t1 = $$v.strand; + t1.toString; + t2 = new E.StrandBuilder(); + t2._strand$_$v = t1; + _this._strand = t2; + t1 = $$v.vendor_fields; + t1.toString; + t2 = new T.VendorFieldsBuilder(); + t2._vendor_fields$_$v = t1; + _this._actions$_vendor_fields = t2; + _this._$v = null; + } + return _this; + }, + build$0: function() { + var _$failedField, e, _$result0, exception, t1, _this = this, _$result = null; + try { + _$result0 = _this._$v; + _$result = _$result0 == null ? U._$PlateWellVendorFieldsAssign$_(_this.get$strand().build$0(), _this.get$vendor_fields().build$0()) : _$result0; + } catch (exception) { + H.unwrapException(exception); + _$failedField = null; + try { + _$failedField = "strand"; + _this.get$strand().build$0(); + _$failedField = "vendor_fields"; + _this.get$vendor_fields().build$0(); + } catch (exception) { + e = H.unwrapException(exception); + t1 = Y.BuiltValueNestedFieldError$("PlateWellVendorFieldsAssign", _$failedField, J.toString$0$(e)); + throw H.wrapException(t1); + } + throw exception; + } + t1 = type$.legacy_PlateWellVendorFieldsAssign._as(_$result); + if (t1 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + _this._$v = t1; + return _$result; + } + }; + U._$PlateWellVendorFieldsRemove.prototype = { + $eq: function(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof U.PlateWellVendorFieldsRemove && J.$eq$(this.strand, other.strand); + }, + get$hashCode: function(_) { + return Y.$jf(Y.$jc(0, J.get$hashCode$(this.strand))); + }, + toString$0: function(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("PlateWellVendorFieldsRemove"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "strand", this.strand); + return t2.toString$0(t1); + }, + get$strand: function() { + return this.strand; + } + }; + U.PlateWellVendorFieldsRemoveBuilder.prototype = { + get$strand: function() { + var t1, t2, _this = this, + $$v = _this._$v; + if ($$v != null) { + t1 = $$v.strand; + t1.toString; + t2 = new E.StrandBuilder(); + t2._strand$_$v = t1; + _this._strand = t2; + _this._$v = null; + } + t1 = _this._strand; + return t1 == null ? _this._strand = new E.StrandBuilder() : t1; + }, + build$0: function() { + var _$failedField, e, _$result0, exception, t1, _this = this, _$result = null; + try { + _$result0 = _this._$v; + _$result = _$result0 == null ? U._$PlateWellVendorFieldsRemove$_(_this.get$strand().build$0()) : _$result0; + } catch (exception) { + H.unwrapException(exception); + _$failedField = null; + try { + _$failedField = "strand"; + _this.get$strand().build$0(); + } catch (exception) { + e = H.unwrapException(exception); + t1 = Y.BuiltValueNestedFieldError$("PlateWellVendorFieldsRemove", _$failedField, J.toString$0$(e)); + throw H.wrapException(t1); + } + throw exception; + } + t1 = type$.legacy_PlateWellVendorFieldsRemove._as(_$result); + if (t1 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + _this._$v = t1; + return _$result; + } + }; + U._$VendorFieldsRemove.prototype = { + $eq: function(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof U.VendorFieldsRemove && J.$eq$(this.strand, other.strand); + }, + get$hashCode: function(_) { + return Y.$jf(Y.$jc(0, J.get$hashCode$(this.strand))); + }, + toString$0: function(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("VendorFieldsRemove"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "strand", this.strand); + return t2.toString$0(t1); + }, + get$strand: function() { + return this.strand; + } + }; + U.VendorFieldsRemoveBuilder.prototype = { + get$strand: function() { + var t1, t2, _this = this, + $$v = _this._$v; + if ($$v != null) { + t1 = $$v.strand; + t1.toString; + t2 = new E.StrandBuilder(); + t2._strand$_$v = t1; + _this._strand = t2; + _this._$v = null; + } + t1 = _this._strand; + return t1 == null ? _this._strand = new E.StrandBuilder() : t1; + }, + build$0: function() { + var _$failedField, e, _$result0, exception, t1, _this = this, _$result = null; + try { + _$result0 = _this._$v; + _$result = _$result0 == null ? U._$VendorFieldsRemove$_(_this.get$strand().build$0()) : _$result0; + } catch (exception) { + H.unwrapException(exception); + _$failedField = null; + try { + _$failedField = "strand"; + _this.get$strand().build$0(); + } catch (exception) { + e = H.unwrapException(exception); + t1 = Y.BuiltValueNestedFieldError$("VendorFieldsRemove", _$failedField, J.toString$0$(e)); + throw H.wrapException(t1); + } + throw exception; + } + t1 = type$.legacy_VendorFieldsRemove._as(_$result); + if (t1 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + _this._$v = t1; + return _$result; + } + }; + U._$ModificationAdd.prototype = { + $eq: function(_, other) { + var _this = this; + if (other == null) + return false; + if (other === _this) + return true; + return other instanceof U.ModificationAdd && J.$eq$(_this.strand, other.strand) && J.$eq$(_this.modification, other.modification) && _this.strand_dna_idx == other.strand_dna_idx; + }, + get$hashCode: function(_) { + return Y.$jf(Y.$jc(Y.$jc(Y.$jc(0, J.get$hashCode$(this.strand)), J.get$hashCode$(this.modification)), J.get$hashCode$(this.strand_dna_idx))); + }, + toString$0: function(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("ModificationAdd"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "strand", this.strand); + t2.add$2(t1, "modification", this.modification); + t2.add$2(t1, "strand_dna_idx", this.strand_dna_idx); + return t2.toString$0(t1); + }, + get$strand: function() { + return this.strand; + } + }; + U.ModificationAddBuilder.prototype = { + get$strand: function() { + var t1 = this.get$_$this(), + t2 = t1._strand; + return t2 == null ? t1._strand = new E.StrandBuilder() : t2; + }, + get$_$this: function() { + var t1, t2, _this = this, + $$v = _this._$v; + if ($$v != null) { + t1 = $$v.strand; + t1.toString; + t2 = new E.StrandBuilder(); + t2._strand$_$v = t1; + _this._strand = t2; + _this._modification = $$v.modification; + _this._strand_dna_idx = $$v.strand_dna_idx; + _this._$v = null; + } + return _this; + }, + build$0: function() { + var _$failedField, e, _$result0, t1, t2, exception, _this = this, + _s15_ = "ModificationAdd", + _$result = null; + try { + _$result0 = _this._$v; + if (_$result0 == null) { + t1 = _this.get$strand().build$0(); + t2 = _this.get$_$this()._modification; + if (t2 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s15_, "modification")); + _$result0 = U._$ModificationAdd$_(t2, t1, _this.get$_$this()._strand_dna_idx); + } + _$result = _$result0; + } catch (exception) { + H.unwrapException(exception); + _$failedField = null; + try { + _$failedField = "strand"; + _this.get$strand().build$0(); + } catch (exception) { + e = H.unwrapException(exception); + t1 = Y.BuiltValueNestedFieldError$(_s15_, _$failedField, J.toString$0$(e)); + throw H.wrapException(t1); + } + throw exception; + } + t1 = type$.legacy_ModificationAdd._as(_$result); + if (t1 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + _this._$v = t1; + return _$result; + } + }; + U._$ModificationRemove.prototype = { + $eq: function(_, other) { + var _this = this; + if (other == null) + return false; + if (other === _this) + return true; + return other instanceof U.ModificationRemove && J.$eq$(_this.strand, other.strand) && J.$eq$(_this.modification, other.modification) && _this.strand_dna_idx == other.strand_dna_idx; + }, + get$hashCode: function(_) { + return Y.$jf(Y.$jc(Y.$jc(Y.$jc(0, J.get$hashCode$(this.strand)), J.get$hashCode$(this.modification)), J.get$hashCode$(this.strand_dna_idx))); + }, + toString$0: function(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("ModificationRemove"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "strand", this.strand); + t2.add$2(t1, "modification", this.modification); + t2.add$2(t1, "strand_dna_idx", this.strand_dna_idx); + return t2.toString$0(t1); + }, + get$strand: function() { + return this.strand; + } + }; + U.ModificationRemoveBuilder.prototype = { + get$strand: function() { + var t1 = this.get$_$this(), + t2 = t1._strand; + return t2 == null ? t1._strand = new E.StrandBuilder() : t2; + }, + get$_$this: function() { + var t1, t2, _this = this, + $$v = _this._$v; + if ($$v != null) { + t1 = $$v.strand; + t1.toString; + t2 = new E.StrandBuilder(); + t2._strand$_$v = t1; + _this._strand = t2; + _this._modification = $$v.modification; + _this._strand_dna_idx = $$v.strand_dna_idx; + _this._$v = null; + } + return _this; + }, + build$0: function() { + var _$failedField, e, _$result0, t1, t2, exception, _this = this, + _s18_ = "ModificationRemove", + _$result = null; + try { + _$result0 = _this._$v; + if (_$result0 == null) { + t1 = _this.get$strand().build$0(); + t2 = _this.get$_$this()._modification; + if (t2 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s18_, "modification")); + _$result0 = U._$ModificationRemove$_(t2, t1, _this.get$_$this()._strand_dna_idx); + } + _$result = _$result0; + } catch (exception) { + H.unwrapException(exception); + _$failedField = null; + try { + _$failedField = "strand"; + _this.get$strand().build$0(); + } catch (exception) { + e = H.unwrapException(exception); + t1 = Y.BuiltValueNestedFieldError$(_s18_, _$failedField, J.toString$0$(e)); + throw H.wrapException(t1); + } + throw exception; + } + t1 = type$.legacy_ModificationRemove._as(_$result); + if (t1 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + _this._$v = t1; + return _$result; + } + }; + U._$ModificationConnectorLengthSet.prototype = { + $eq: function(_, other) { + var _this = this; + if (other == null) + return false; + if (other === _this) + return true; + return other instanceof U.ModificationConnectorLengthSet && J.$eq$(_this.strand, other.strand) && _this.modification.$eq(0, other.modification) && _this.connector_length === other.connector_length; + }, + get$hashCode: function(_) { + var _this = this, + t1 = _this._actions$__hashCode; + if (t1 == null) { + t1 = _this.modification; + t1 = _this._actions$__hashCode = Y.$jf(Y.$jc(Y.$jc(Y.$jc(0, J.get$hashCode$(_this.strand)), t1.get$hashCode(t1)), C.JSInt_methods.get$hashCode(_this.connector_length))); + } + return t1; + }, + toString$0: function(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("ModificationConnectorLengthSet"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "strand", this.strand); + t2.add$2(t1, "modification", this.modification); + t2.add$2(t1, "connector_length", this.connector_length); + return t2.toString$0(t1); + } + }; + U.ModificationConnectorLengthSetBuilder.prototype = { + get$strand: function() { + var t1 = this.get$_$this(), + t2 = t1._strand; + return t2 == null ? t1._strand = new E.StrandBuilder() : t2; + }, + get$_$this: function() { + var t1, t2, _this = this, + $$v = _this._$v; + if ($$v != null) { + t1 = $$v.strand; + t1.toString; + t2 = new E.StrandBuilder(); + t2._strand$_$v = t1; + _this._strand = t2; + _this._modification = $$v.modification; + _this._actions$_connector_length = $$v.connector_length; + _this._$v = null; + } + return _this; + }, + build$0: function() { + var _$failedField, e, _$result0, t1, t2, t3, exception, _this = this, + _s30_ = "ModificationConnectorLengthSet", + _$result = null; + try { + _$result0 = _this._$v; + if (_$result0 == null) { + t1 = _this.get$strand().build$0(); + t2 = _this.get$_$this()._modification; + if (t2 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s30_, "modification")); + t3 = _this.get$_$this()._actions$_connector_length; + if (t3 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s30_, "connector_length")); + _$result0 = new U._$ModificationConnectorLengthSet(t1, t2, t3); + if (t1 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s30_, "strand")); + } + _$result = _$result0; + } catch (exception) { + H.unwrapException(exception); + _$failedField = null; + try { + _$failedField = "strand"; + _this.get$strand().build$0(); + } catch (exception) { + e = H.unwrapException(exception); + t1 = Y.BuiltValueNestedFieldError$(_s30_, _$failedField, J.toString$0$(e)); + throw H.wrapException(t1); + } + throw exception; + } + t1 = type$.legacy_ModificationConnectorLengthSet._as(_$result); + if (t1 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + _this._$v = t1; + return _$result; + } + }; + U._$ModificationEdit.prototype = { + $eq: function(_, other) { + var _this = this; + if (other == null) + return false; + if (other === _this) + return true; + return other instanceof U.ModificationEdit && J.$eq$(_this.strand, other.strand) && J.$eq$(_this.modification, other.modification) && _this.strand_dna_idx == other.strand_dna_idx; + }, + get$hashCode: function(_) { + return Y.$jf(Y.$jc(Y.$jc(Y.$jc(0, J.get$hashCode$(this.strand)), J.get$hashCode$(this.modification)), J.get$hashCode$(this.strand_dna_idx))); + }, + toString$0: function(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("ModificationEdit"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "strand", this.strand); + t2.add$2(t1, "modification", this.modification); + t2.add$2(t1, "strand_dna_idx", this.strand_dna_idx); + return t2.toString$0(t1); + }, + get$strand: function() { + return this.strand; + } + }; + U.ModificationEditBuilder.prototype = { + get$strand: function() { + var t1 = this.get$_$this(), + t2 = t1._strand; + return t2 == null ? t1._strand = new E.StrandBuilder() : t2; + }, + get$_$this: function() { + var t1, t2, _this = this, + $$v = _this._$v; + if ($$v != null) { + t1 = $$v.strand; + t1.toString; + t2 = new E.StrandBuilder(); + t2._strand$_$v = t1; + _this._strand = t2; + _this._modification = $$v.modification; + _this._strand_dna_idx = $$v.strand_dna_idx; + _this._$v = null; + } + return _this; + }, + build$0: function() { + var _$failedField, e, _$result0, t1, t2, exception, _this = this, + _s16_ = "ModificationEdit", + _$result = null; + try { + _$result0 = _this._$v; + if (_$result0 == null) { + t1 = _this.get$strand().build$0(); + t2 = _this.get$_$this()._modification; + if (t2 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s16_, "modification")); + _$result0 = U._$ModificationEdit$_(t2, t1, _this.get$_$this()._strand_dna_idx); + } + _$result = _$result0; + } catch (exception) { + H.unwrapException(exception); + _$failedField = null; + try { + _$failedField = "strand"; + _this.get$strand().build$0(); + } catch (exception) { + e = H.unwrapException(exception); + t1 = Y.BuiltValueNestedFieldError$(_s16_, _$failedField, J.toString$0$(e)); + throw H.wrapException(t1); + } + throw exception; + } + t1 = type$.legacy_ModificationEdit._as(_$result); + if (t1 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + _this._$v = t1; + return _$result; + } + }; + U._$Modifications5PrimeEdit.prototype = { + $eq: function(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof U.Modifications5PrimeEdit && J.$eq$(this.modifications, other.modifications) && J.$eq$(this.new_modification, other.new_modification); + }, + get$hashCode: function(_) { + return Y.$jf(Y.$jc(Y.$jc(0, J.get$hashCode$(this.modifications)), J.get$hashCode$(this.new_modification))); + }, + toString$0: function(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("Modifications5PrimeEdit"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "modifications", this.modifications); + t2.add$2(t1, "new_modification", this.new_modification); + return t2.toString$0(t1); + } + }; + U.Modifications5PrimeEditBuilder.prototype = { + get$modifications: function() { + var t1 = this.get$_$this(), + t2 = t1._actions$_modifications; + if (t2 == null) { + t2 = D.ListBuilder_ListBuilder(C.List_empty, type$.legacy_SelectableModification5Prime); + t1.set$_actions$_modifications(t2); + t1 = t2; + } else + t1 = t2; + return t1; + }, + get$new_modification: function() { + var t1 = this.get$_$this(), + t2 = t1._new_modification; + return t2 == null ? t1._new_modification = new Z.Modification5PrimeBuilder() : t2; + }, + get$_$this: function() { + var t1, t2, _this = this, + $$v = _this._$v; + if ($$v != null) { + t1 = $$v.modifications; + t1.toString; + _this.set$_actions$_modifications(D.ListBuilder_ListBuilder(t1, t1.$ti._precomputed1)); + t1 = $$v.new_modification; + t1.toString; + t2 = new Z.Modification5PrimeBuilder(); + t2._modification$_$v = t1; + _this._new_modification = t2; + _this._$v = null; + } + return _this; + }, + build$0: function() { + var _$failedField, e, _$result0, t1, t2, exception, _this = this, + _s23_ = "Modifications5PrimeEdit", + _s16_ = "new_modification", + _$result = null; + try { + _$result0 = _this._$v; + if (_$result0 == null) { + t1 = _this.get$modifications().build$0(); + t2 = _this.get$new_modification().build$0(); + _$result0 = new U._$Modifications5PrimeEdit(t1, t2); + if (t1 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s23_, "modifications")); + if (t2 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s23_, _s16_)); + } + _$result = _$result0; + } catch (exception) { + H.unwrapException(exception); + _$failedField = null; + try { + _$failedField = "modifications"; + _this.get$modifications().build$0(); + _$failedField = _s16_; + _this.get$new_modification().build$0(); + } catch (exception) { + e = H.unwrapException(exception); + t1 = Y.BuiltValueNestedFieldError$(_s23_, _$failedField, J.toString$0$(e)); + throw H.wrapException(t1); + } + throw exception; + } + t1 = type$.legacy_Modifications5PrimeEdit._as(_$result); + if (t1 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + _this._$v = t1; + return _$result; + }, + set$_actions$_modifications: function(_modifications) { + this._actions$_modifications = type$.legacy_ListBuilder_legacy_SelectableModification5Prime._as(_modifications); + } + }; + U._$Modifications3PrimeEdit.prototype = { + $eq: function(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof U.Modifications3PrimeEdit && J.$eq$(this.modifications, other.modifications) && J.$eq$(this.new_modification, other.new_modification); + }, + get$hashCode: function(_) { + return Y.$jf(Y.$jc(Y.$jc(0, J.get$hashCode$(this.modifications)), J.get$hashCode$(this.new_modification))); + }, + toString$0: function(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("Modifications3PrimeEdit"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "modifications", this.modifications); + t2.add$2(t1, "new_modification", this.new_modification); + return t2.toString$0(t1); + } + }; + U.Modifications3PrimeEditBuilder.prototype = { + get$modifications: function() { + var t1 = this.get$_$this(), + t2 = t1._actions$_modifications; + if (t2 == null) { + t2 = D.ListBuilder_ListBuilder(C.List_empty, type$.legacy_SelectableModification3Prime); + t1.set$_actions$_modifications(t2); + t1 = t2; + } else + t1 = t2; + return t1; + }, + get$new_modification: function() { + var t1 = this.get$_$this(), + t2 = t1._new_modification; + return t2 == null ? t1._new_modification = new Z.Modification3PrimeBuilder() : t2; + }, + get$_$this: function() { + var t1, t2, _this = this, + $$v = _this._$v; + if ($$v != null) { + t1 = $$v.modifications; + t1.toString; + _this.set$_actions$_modifications(D.ListBuilder_ListBuilder(t1, t1.$ti._precomputed1)); + t1 = $$v.new_modification; + t1.toString; + t2 = new Z.Modification3PrimeBuilder(); + t2._modification$_$v = t1; + _this._new_modification = t2; + _this._$v = null; + } + return _this; + }, + build$0: function() { + var _$failedField, e, _$result0, t1, t2, exception, _this = this, + _s23_ = "Modifications3PrimeEdit", + _s16_ = "new_modification", + _$result = null; + try { + _$result0 = _this._$v; + if (_$result0 == null) { + t1 = _this.get$modifications().build$0(); + t2 = _this.get$new_modification().build$0(); + _$result0 = new U._$Modifications3PrimeEdit(t1, t2); + if (t1 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s23_, "modifications")); + if (t2 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s23_, _s16_)); + } + _$result = _$result0; + } catch (exception) { + H.unwrapException(exception); + _$failedField = null; + try { + _$failedField = "modifications"; + _this.get$modifications().build$0(); + _$failedField = _s16_; + _this.get$new_modification().build$0(); + } catch (exception) { + e = H.unwrapException(exception); + t1 = Y.BuiltValueNestedFieldError$(_s23_, _$failedField, J.toString$0$(e)); + throw H.wrapException(t1); + } + throw exception; + } + t1 = type$.legacy_Modifications3PrimeEdit._as(_$result); + if (t1 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + _this._$v = t1; + return _$result; + }, + set$_actions$_modifications: function(_modifications) { + this._actions$_modifications = type$.legacy_ListBuilder_legacy_SelectableModification3Prime._as(_modifications); + } + }; + U._$ModificationsInternalEdit.prototype = { + $eq: function(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof U.ModificationsInternalEdit && J.$eq$(this.modifications, other.modifications) && J.$eq$(this.new_modification, other.new_modification); + }, + get$hashCode: function(_) { + return Y.$jf(Y.$jc(Y.$jc(0, J.get$hashCode$(this.modifications)), J.get$hashCode$(this.new_modification))); + }, + toString$0: function(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("ModificationsInternalEdit"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "modifications", this.modifications); + t2.add$2(t1, "new_modification", this.new_modification); + return t2.toString$0(t1); + } + }; + U.ModificationsInternalEditBuilder.prototype = { + get$modifications: function() { + var t1 = this.get$_$this(), + t2 = t1._actions$_modifications; + if (t2 == null) { + t2 = D.ListBuilder_ListBuilder(C.List_empty, type$.legacy_SelectableModificationInternal); + t1.set$_actions$_modifications(t2); + t1 = t2; + } else + t1 = t2; + return t1; + }, + get$new_modification: function() { + var t1 = this.get$_$this(), + t2 = t1._new_modification; + return t2 == null ? t1._new_modification = new Z.ModificationInternalBuilder() : t2; + }, + get$_$this: function() { + var t1, t2, _this = this, + $$v = _this._$v; + if ($$v != null) { + t1 = $$v.modifications; + t1.toString; + _this.set$_actions$_modifications(D.ListBuilder_ListBuilder(t1, t1.$ti._precomputed1)); + t1 = $$v.new_modification; + t1.toString; + t2 = new Z.ModificationInternalBuilder(); + t2._modification$_$v = t1; + _this._new_modification = t2; + _this._$v = null; + } + return _this; + }, + build$0: function() { + var _$failedField, e, _$result0, t1, t2, exception, _this = this, + _s25_ = "ModificationsInternalEdit", + _s16_ = "new_modification", + _$result = null; + try { + _$result0 = _this._$v; + if (_$result0 == null) { + t1 = _this.get$modifications().build$0(); + t2 = _this.get$new_modification().build$0(); + _$result0 = new U._$ModificationsInternalEdit(t1, t2); + if (t1 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s25_, "modifications")); + if (t2 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s25_, _s16_)); + } + _$result = _$result0; + } catch (exception) { + H.unwrapException(exception); + _$failedField = null; + try { + _$failedField = "modifications"; + _this.get$modifications().build$0(); + _$failedField = _s16_; + _this.get$new_modification().build$0(); + } catch (exception) { + e = H.unwrapException(exception); + t1 = Y.BuiltValueNestedFieldError$(_s25_, _$failedField, J.toString$0$(e)); + throw H.wrapException(t1); + } + throw exception; + } + t1 = type$.legacy_ModificationsInternalEdit._as(_$result); + if (t1 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + _this._$v = t1; + return _$result; + }, + set$_actions$_modifications: function(_modifications) { + this._actions$_modifications = type$.legacy_ListBuilder_legacy_SelectableModificationInternal._as(_modifications); + } + }; + U._$GridChange.prototype = { + $eq: function(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof U.GridChange && this.grid == other.grid && this.group_name == other.group_name; + }, + get$hashCode: function(_) { + return Y.$jf(Y.$jc(Y.$jc(0, J.get$hashCode$(this.grid)), J.get$hashCode$(this.group_name))); + }, + toString$0: function(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("GridChange"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "grid", this.grid); + t2.add$2(t1, "group_name", this.group_name); + return t2.toString$0(t1); + } + }; + U.GridChangeBuilder.prototype = { + get$_$this: function() { + var _this = this, + $$v = _this._$v; + if ($$v != null) { + _this._actions$_grid = $$v.grid; + _this._group_name = $$v.group_name; + _this._$v = null; + } + return _this; + } + }; + U._$GroupDisplayedChange.prototype = { + $eq: function(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof U.GroupDisplayedChange && this.group_name == other.group_name; + }, + get$hashCode: function(_) { + return Y.$jf(Y.$jc(0, J.get$hashCode$(this.group_name))); + }, + toString$0: function(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("GroupDisplayedChange"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "group_name", this.group_name); + return t2.toString$0(t1); + } + }; + U.GroupDisplayedChangeBuilder.prototype = { + get$_$this: function() { + var _this = this, + $$v = _this._$v; + if ($$v != null) { + _this._group_name = $$v.group_name; + _this._$v = null; + } + return _this; + } + }; + U._$GroupAdd.prototype = { + $eq: function(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof U.GroupAdd && this.name === other.name && J.$eq$(this.group, other.group); + }, + get$hashCode: function(_) { + return Y.$jf(Y.$jc(Y.$jc(0, C.JSString_methods.get$hashCode(this.name)), J.get$hashCode$(this.group))); + }, + toString$0: function(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("GroupAdd"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "name", this.name); + t2.add$2(t1, "group", this.group); + return t2.toString$0(t1); + } + }; + U.GroupAddBuilder.prototype = { + get$group: function() { + var t1 = this.get$_$this(), + t2 = t1._actions$_group; + if (t2 == null) { + t2 = new O.HelixGroupBuilder(); + O.HelixGroup__initializeBuilder(t2); + t1._actions$_group = t2; + t1 = t2; + } else + t1 = t2; + return t1; + }, + get$_$this: function() { + var t1, t2, _this = this, + $$v = _this._$v; + if ($$v != null) { + _this._actions$_name = $$v.name; + t1 = $$v.group; + t1.toString; + t2 = new O.HelixGroupBuilder(); + O.HelixGroup__initializeBuilder(t2); + t2._group$_$v = t1; + _this._actions$_group = t2; + _this._$v = null; + } + return _this; + }, + build$0: function() { + var _$failedField, e, _$result0, t1, exception, _this = this, + _s8_ = "GroupAdd", + _$result = null; + try { + _$result0 = _this._$v; + if (_$result0 == null) { + t1 = _this.get$_$this()._actions$_name; + if (t1 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s8_, "name")); + _$result0 = U._$GroupAdd$_(_this.get$group().build$0(), t1); + } + _$result = _$result0; + } catch (exception) { + H.unwrapException(exception); + _$failedField = null; + try { + _$failedField = "group"; + _this.get$group().build$0(); + } catch (exception) { + e = H.unwrapException(exception); + t1 = Y.BuiltValueNestedFieldError$(_s8_, _$failedField, J.toString$0$(e)); + throw H.wrapException(t1); + } + throw exception; + } + t1 = type$.legacy_GroupAdd._as(_$result); + if (t1 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + _this._$v = t1; + return _$result; + } + }; + U._$GroupRemove.prototype = { + $eq: function(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof U.GroupRemove && this.name == other.name; + }, + get$hashCode: function(_) { + return Y.$jf(Y.$jc(0, J.get$hashCode$(this.name))); + }, + toString$0: function(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("GroupRemove"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "name", this.name); + return t2.toString$0(t1); + } + }; + U.GroupRemoveBuilder.prototype = { + get$_$this: function() { + var _this = this, + $$v = _this._$v; + if ($$v != null) { + _this._actions$_name = $$v.name; + _this._$v = null; + } + return _this; + } + }; + U._$GroupChange.prototype = { + $eq: function(_, other) { + var _this = this; + if (other == null) + return false; + if (other === _this) + return true; + return other instanceof U.GroupChange && _this.old_name == other.old_name && _this.new_name === other.new_name && J.$eq$(_this.new_group, other.new_group); + }, + get$hashCode: function(_) { + return Y.$jf(Y.$jc(Y.$jc(Y.$jc(0, J.get$hashCode$(this.old_name)), C.JSString_methods.get$hashCode(this.new_name)), J.get$hashCode$(this.new_group))); + }, + toString$0: function(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("GroupChange"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "old_name", this.old_name); + t2.add$2(t1, "new_name", this.new_name); + t2.add$2(t1, "new_group", this.new_group); + return t2.toString$0(t1); + } + }; + U.GroupChangeBuilder.prototype = { + get$new_group: function() { + var t1 = this.get$_$this(), + t2 = t1._new_group; + if (t2 == null) { + t2 = new O.HelixGroupBuilder(); + O.HelixGroup__initializeBuilder(t2); + t1._new_group = t2; + t1 = t2; + } else + t1 = t2; + return t1; + }, + get$_$this: function() { + var t1, t2, _this = this, + $$v = _this._$v; + if ($$v != null) { + _this._old_name = $$v.old_name; + _this._new_name = $$v.new_name; + t1 = $$v.new_group; + t1.toString; + t2 = new O.HelixGroupBuilder(); + O.HelixGroup__initializeBuilder(t2); + t2._group$_$v = t1; + _this._new_group = t2; + _this._$v = null; + } + return _this; + }, + build$0: function() { + var _$failedField, e, _$result0, t1, t2, exception, _this = this, + _s11_ = "GroupChange", + _$result = null; + try { + _$result0 = _this._$v; + if (_$result0 == null) { + t1 = _this.get$_$this()._old_name; + if (t1 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s11_, "old_name")); + t2 = _this.get$_$this()._new_name; + if (t2 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s11_, "new_name")); + _$result0 = U._$GroupChange$_(_this.get$new_group().build$0(), t2, t1); + } + _$result = _$result0; + } catch (exception) { + H.unwrapException(exception); + _$failedField = null; + try { + _$failedField = "new_group"; + _this.get$new_group().build$0(); + } catch (exception) { + e = H.unwrapException(exception); + t1 = Y.BuiltValueNestedFieldError$(_s11_, _$failedField, J.toString$0$(e)); + throw H.wrapException(t1); + } + throw exception; + } + t1 = type$.legacy_GroupChange._as(_$result); + if (t1 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + _this._$v = t1; + return _$result; + } + }; + U._$MoveHelicesToGroup.prototype = { + $eq: function(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof U.MoveHelicesToGroup && J.$eq$(this.helix_idxs, other.helix_idxs) && this.group_name == other.group_name; + }, + get$hashCode: function(_) { + var _this = this, + t1 = _this._actions$__hashCode; + return t1 == null ? _this._actions$__hashCode = Y.$jf(Y.$jc(Y.$jc(0, J.get$hashCode$(_this.helix_idxs)), J.get$hashCode$(_this.group_name))) : t1; + }, + toString$0: function(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("MoveHelicesToGroup"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "helix_idxs", this.helix_idxs); + t2.add$2(t1, "group_name", this.group_name); + return t2.toString$0(t1); + } + }; + U.MoveHelicesToGroupBuilder.prototype = { + get$helix_idxs: function() { + var t1 = this.get$_$this(), + t2 = t1._helix_idxs; + if (t2 == null) { + t2 = D.ListBuilder_ListBuilder(C.List_empty, type$.legacy_int); + t1.set$_helix_idxs(t2); + t1 = t2; + } else + t1 = t2; + return t1; + }, + get$_$this: function() { + var t1, _this = this, + $$v = _this._$v; + if ($$v != null) { + t1 = $$v.helix_idxs; + t1.toString; + _this.set$_helix_idxs(D.ListBuilder_ListBuilder(t1, t1.$ti._precomputed1)); + _this._group_name = $$v.group_name; + _this._$v = null; + } + return _this; + }, + build$0: function() { + var _$failedField, e, _$result0, t1, t2, exception, _this = this, + _s18_ = "MoveHelicesToGroup", + _$result = null; + try { + _$result0 = _this._$v; + if (_$result0 == null) { + t1 = _this.get$helix_idxs().build$0(); + t2 = _this.get$_$this()._group_name; + if (t2 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s18_, "group_name")); + _$result0 = U._$MoveHelicesToGroup$_(t2, t1); + } + _$result = _$result0; + } catch (exception) { + H.unwrapException(exception); + _$failedField = null; + try { + _$failedField = "helix_idxs"; + _this.get$helix_idxs().build$0(); + } catch (exception) { + e = H.unwrapException(exception); + t1 = Y.BuiltValueNestedFieldError$(_s18_, _$failedField, J.toString$0$(e)); + throw H.wrapException(t1); + } + throw exception; + } + t1 = type$.legacy_MoveHelicesToGroup._as(_$result); + if (t1 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + _this._$v = t1; + return _$result; + }, + set$_helix_idxs: function(_helix_idxs) { + this._helix_idxs = type$.legacy_ListBuilder_legacy_int._as(_helix_idxs); + } + }; + U._$DialogShow.prototype = { + $eq: function(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof U.DialogShow && J.$eq$(this.dialog, other.dialog); + }, + get$hashCode: function(_) { + return Y.$jf(Y.$jc(0, J.get$hashCode$(this.dialog))); + }, + toString$0: function(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("DialogShow"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "dialog", this.dialog); + return t2.toString$0(t1); + } + }; + U.DialogShowBuilder.prototype = { + get$dialog: function() { + var t1, t2, _this = this, + $$v = _this._$v; + if ($$v != null) { + t1 = $$v.dialog; + t1.toString; + t2 = new E.DialogBuilder(); + t2._dialog$_$v = t1; + _this._actions$_dialog = t2; + _this._$v = null; + } + t1 = _this._actions$_dialog; + return t1 == null ? _this._actions$_dialog = new E.DialogBuilder() : t1; + }, + build$0: function() { + var _$failedField, e, _$result0, exception, t1, _this = this, _$result = null; + try { + _$result0 = _this._$v; + _$result = _$result0 == null ? U._$DialogShow$_(_this.get$dialog().build$0()) : _$result0; + } catch (exception) { + H.unwrapException(exception); + _$failedField = null; + try { + _$failedField = "dialog"; + _this.get$dialog().build$0(); + } catch (exception) { + e = H.unwrapException(exception); + t1 = Y.BuiltValueNestedFieldError$("DialogShow", _$failedField, J.toString$0$(e)); + throw H.wrapException(t1); + } + throw exception; + } + t1 = type$.legacy_DialogShow._as(_$result); + if (t1 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + _this._$v = t1; + return _$result; + } + }; + U._$DialogHide.prototype = { + $eq: function(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof U.DialogHide; + }, + get$hashCode: function(_) { + return 68450832; + }, + toString$0: function(_) { + return J.toString$0$($.$get$newBuiltValueToStringHelper().call$1("DialogHide")); + } + }; + U.DialogHideBuilder.prototype = { + build$0: function() { + var _$result = this._$v; + if (_$result == null) + _$result = new U._$DialogHide(); + return this._$v = _$result; + } + }; + U._$ContextMenuShow.prototype = { + $eq: function(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof U.ContextMenuShow && J.$eq$(this.context_menu, other.context_menu); + }, + get$hashCode: function(_) { + return Y.$jf(Y.$jc(0, J.get$hashCode$(this.context_menu))); + }, + toString$0: function(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("ContextMenuShow"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "context_menu", this.context_menu); + return t2.toString$0(t1); + } + }; + U.ContextMenuShowBuilder.prototype = { + get$context_menu: function() { + var t1, t2, _this = this, + $$v = _this._$v; + if ($$v != null) { + t1 = $$v.context_menu; + t1.toString; + t2 = new B.ContextMenuBuilder(); + t2._context_menu$_$v = t1; + _this._actions$_context_menu = t2; + _this._$v = null; + } + t1 = _this._actions$_context_menu; + return t1 == null ? _this._actions$_context_menu = new B.ContextMenuBuilder() : t1; + }, + build$0: function() { + var _$failedField, e, _$result0, exception, t1, _this = this, _$result = null; + try { + _$result0 = _this._$v; + _$result = _$result0 == null ? U._$ContextMenuShow$_(_this.get$context_menu().build$0()) : _$result0; + } catch (exception) { + H.unwrapException(exception); + _$failedField = null; + try { + _$failedField = "context_menu"; + _this.get$context_menu().build$0(); + } catch (exception) { + e = H.unwrapException(exception); + t1 = Y.BuiltValueNestedFieldError$("ContextMenuShow", _$failedField, J.toString$0$(e)); + throw H.wrapException(t1); + } + throw exception; + } + t1 = type$.legacy_ContextMenuShow._as(_$result); + if (t1 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + _this._$v = t1; + return _$result; + } + }; + U._$ContextMenuHide.prototype = { + $eq: function(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof U.ContextMenuHide; + }, + get$hashCode: function(_) { + return 628270879; + }, + toString$0: function(_) { + return J.toString$0$($.$get$newBuiltValueToStringHelper().call$1("ContextMenuHide")); + } + }; + U.ContextMenuHideBuilder.prototype = { + build$0: function() { + var _$result = this._$v; + if (_$result == null) + _$result = new U._$ContextMenuHide(); + return this._$v = _$result; + } + }; + U._$StrandOrSubstrandColorPickerShow.prototype = { + $eq: function(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof U.StrandOrSubstrandColorPickerShow && J.$eq$(this.strand, other.strand) && J.$eq$(this.substrand, other.substrand); + }, + get$hashCode: function(_) { + return Y.$jf(Y.$jc(Y.$jc(0, J.get$hashCode$(this.strand)), J.get$hashCode$(this.substrand))); + }, + toString$0: function(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("StrandOrSubstrandColorPickerShow"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "strand", this.strand); + t2.add$2(t1, "substrand", this.substrand); + return t2.toString$0(t1); + } + }; + U.StrandOrSubstrandColorPickerShowBuilder.prototype = { + get$strand: function() { + var t1 = this.get$_$this(), + t2 = t1._strand; + return t2 == null ? t1._strand = new E.StrandBuilder() : t2; + }, + get$_$this: function() { + var t1, t2, _this = this, + $$v = _this._$v; + if ($$v != null) { + t1 = $$v.strand; + t1.toString; + t2 = new E.StrandBuilder(); + t2._strand$_$v = t1; + _this._strand = t2; + _this._substrand = $$v.substrand; + _this._$v = null; + } + return _this; + }, + build$0: function() { + var _$failedField, e, _$result0, exception, t1, _this = this, _$result = null; + try { + _$result0 = _this._$v; + _$result = _$result0 == null ? U._$StrandOrSubstrandColorPickerShow$_(_this.get$strand().build$0(), _this.get$_$this()._substrand) : _$result0; + } catch (exception) { + H.unwrapException(exception); + _$failedField = null; + try { + _$failedField = "strand"; + _this.get$strand().build$0(); + } catch (exception) { + e = H.unwrapException(exception); + t1 = Y.BuiltValueNestedFieldError$("StrandOrSubstrandColorPickerShow", _$failedField, J.toString$0$(e)); + throw H.wrapException(t1); + } + throw exception; + } + t1 = type$.legacy_StrandOrSubstrandColorPickerShow._as(_$result); + if (t1 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + _this._$v = t1; + return _$result; + } + }; + U._$StrandOrSubstrandColorPickerHide.prototype = { + $eq: function(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof U.StrandOrSubstrandColorPickerHide; + }, + get$hashCode: function(_) { + return 600404320; + }, + toString$0: function(_) { + return J.toString$0$($.$get$newBuiltValueToStringHelper().call$1("StrandOrSubstrandColorPickerHide")); + } + }; + U.StrandOrSubstrandColorPickerHideBuilder.prototype = { + build$0: function() { + var _$result = this._$v; + if (_$result == null) + _$result = new U._$StrandOrSubstrandColorPickerHide(); + return this._$v = _$result; + } + }; + U._$ScaffoldSet.prototype = { + $eq: function(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof U.ScaffoldSet && J.$eq$(this.strand, other.strand) && this.is_scaffold === other.is_scaffold; + }, + get$hashCode: function(_) { + return Y.$jf(Y.$jc(Y.$jc(0, J.get$hashCode$(this.strand)), C.JSBool_methods.get$hashCode(this.is_scaffold))); + }, + toString$0: function(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("ScaffoldSet"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "strand", this.strand); + t2.add$2(t1, "is_scaffold", this.is_scaffold); + return t2.toString$0(t1); + }, + get$strand: function() { + return this.strand; + } + }; + U.ScaffoldSetBuilder.prototype = { + get$strand: function() { + var t1 = this.get$_$this(), + t2 = t1._strand; + return t2 == null ? t1._strand = new E.StrandBuilder() : t2; + }, + get$_$this: function() { + var t1, t2, _this = this, + $$v = _this._$v; + if ($$v != null) { + t1 = $$v.strand; + t1.toString; + t2 = new E.StrandBuilder(); + t2._strand$_$v = t1; + _this._strand = t2; + _this._actions$_is_scaffold = $$v.is_scaffold; + _this._$v = null; + } + return _this; + }, + build$0: function() { + var _$failedField, e, _$result0, t1, t2, exception, _this = this, + _s11_ = "ScaffoldSet", + _$result = null; + try { + _$result0 = _this._$v; + if (_$result0 == null) { + t1 = _this.get$strand().build$0(); + t2 = _this.get$_$this()._actions$_is_scaffold; + if (t2 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s11_, "is_scaffold")); + _$result0 = U._$ScaffoldSet$_(t2, t1); + } + _$result = _$result0; + } catch (exception) { + H.unwrapException(exception); + _$failedField = null; + try { + _$failedField = "strand"; + _this.get$strand().build$0(); + } catch (exception) { + e = H.unwrapException(exception); + t1 = Y.BuiltValueNestedFieldError$(_s11_, _$failedField, J.toString$0$(e)); + throw H.wrapException(t1); + } + throw exception; + } + t1 = type$.legacy_ScaffoldSet._as(_$result); + if (t1 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + _this._$v = t1; + return _$result; + } + }; + U._$StrandOrSubstrandColorSet.prototype = { + $eq: function(_, other) { + var _this = this; + if (other == null) + return false; + if (other === _this) + return true; + return other instanceof U.StrandOrSubstrandColorSet && J.$eq$(_this.strand, other.strand) && J.$eq$(_this.substrand, other.substrand) && J.$eq$(_this.color, other.color); + }, + get$hashCode: function(_) { + return Y.$jf(Y.$jc(Y.$jc(Y.$jc(0, J.get$hashCode$(this.strand)), J.get$hashCode$(this.substrand)), J.get$hashCode$(this.color))); + }, + toString$0: function(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("StrandOrSubstrandColorSet"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "strand", this.strand); + t2.add$2(t1, "substrand", this.substrand); + t2.add$2(t1, "color", this.color); + return t2.toString$0(t1); + }, + get$strand: function() { + return this.strand; + } + }; + U.StrandOrSubstrandColorSetBuilder.prototype = { + get$strand: function() { + var t1 = this.get$_$this(), + t2 = t1._strand; + return t2 == null ? t1._strand = new E.StrandBuilder() : t2; + }, + get$_$this: function() { + var t1, t2, _this = this, + $$v = _this._$v; + if ($$v != null) { + t1 = $$v.strand; + t1.toString; + t2 = new E.StrandBuilder(); + t2._strand$_$v = t1; + _this._strand = t2; + _this._substrand = $$v.substrand; + _this._actions$_color = $$v.color; + _this._$v = null; + } + return _this; + }, + build$0: function() { + var _$failedField, e, _$result0, t1, t2, exception, _this = this, _$result = null; + try { + _$result0 = _this._$v; + if (_$result0 == null) { + t1 = _this.get$strand().build$0(); + t2 = _this.get$_$this()._substrand; + _$result0 = U._$StrandOrSubstrandColorSet$_(_this.get$_$this()._actions$_color, t1, t2); + } + _$result = _$result0; + } catch (exception) { + H.unwrapException(exception); + _$failedField = null; + try { + _$failedField = "strand"; + _this.get$strand().build$0(); + } catch (exception) { + e = H.unwrapException(exception); + t1 = Y.BuiltValueNestedFieldError$("StrandOrSubstrandColorSet", _$failedField, J.toString$0$(e)); + throw H.wrapException(t1); + } + throw exception; + } + t1 = type$.legacy_StrandOrSubstrandColorSet._as(_$result); + if (t1 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + _this._$v = t1; + return _$result; + } + }; + U._$StrandPasteKeepColorSet.prototype = { + $eq: function(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof U.StrandPasteKeepColorSet && this.keep === other.keep; + }, + get$hashCode: function(_) { + return Y.$jf(Y.$jc(0, C.JSBool_methods.get$hashCode(this.keep))); + }, + toString$0: function(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("StrandPasteKeepColorSet"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "keep", this.keep); + return t2.toString$0(t1); + } + }; + U.StrandPasteKeepColorSetBuilder.prototype = { + get$_$this: function() { + var _this = this, + $$v = _this._$v; + if ($$v != null) { + _this._keep = $$v.keep; + _this._$v = null; + } + return _this; + } + }; + U._$ExampleDesignsLoad.prototype = { + $eq: function(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof U.ExampleDesignsLoad && this.selected_idx === other.selected_idx; + }, + get$hashCode: function(_) { + return Y.$jf(Y.$jc(0, C.JSInt_methods.get$hashCode(this.selected_idx))); + }, + toString$0: function(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("ExampleDesignsLoad"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "selected_idx", this.selected_idx); + return t2.toString$0(t1); + } + }; + U.ExampleDesignsLoadBuilder.prototype = { + get$_$this: function() { + var _this = this, + $$v = _this._$v; + if ($$v != null) { + _this._actions$_selected_idx = $$v.selected_idx; + _this._$v = null; + } + return _this; + } + }; + U._$BasePairTypeSet.prototype = { + $eq: function(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof U.BasePairTypeSet && this.selected_idx === other.selected_idx; + }, + get$hashCode: function(_) { + return Y.$jf(Y.$jc(0, C.JSInt_methods.get$hashCode(this.selected_idx))); + }, + toString$0: function(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("BasePairTypeSet"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "selected_idx", this.selected_idx); + return t2.toString$0(t1); + } + }; + U.BasePairTypeSetBuilder.prototype = { + get$_$this: function() { + var _this = this, + $$v = _this._$v; + if ($$v != null) { + _this._actions$_selected_idx = $$v.selected_idx; + _this._$v = null; + } + return _this; + } + }; + U._$HelixPositionSet.prototype = { + $eq: function(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof U.HelixPositionSet && this.helix_idx === other.helix_idx && this.position.$eq(0, other.position); + }, + get$hashCode: function(_) { + var t1 = this.position; + return Y.$jf(Y.$jc(Y.$jc(0, C.JSInt_methods.get$hashCode(this.helix_idx)), t1.get$hashCode(t1))); + }, + toString$0: function(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("HelixPositionSet"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "helix_idx", this.helix_idx); + t2.add$2(t1, "position", this.position); + return t2.toString$0(t1); + }, + get$helix_idx: function() { + return this.helix_idx; + } + }; + U.HelixPositionSetBuilder.prototype = { + get$position: function(_) { + var t1 = this.get$_$this(), + t2 = t1._actions$_position; + return t2 == null ? t1._actions$_position = new X.Position3DBuilder() : t2; + }, + get$_$this: function() { + var t1, t2, _this = this, + $$v = _this._$v; + if ($$v != null) { + _this._actions$_helix_idx = $$v.helix_idx; + t1 = $$v.position; + t2 = new X.Position3DBuilder(); + t2._position3d$_$v = t1; + _this._actions$_position = t2; + _this._$v = null; + } + return _this; + }, + build$0: function() { + var _$failedField, e, _$result0, t1, exception, _this = this, + _s16_ = "HelixPositionSet", + _$result = null; + try { + _$result0 = _this._$v; + if (_$result0 == null) { + t1 = _this.get$_$this()._actions$_helix_idx; + if (t1 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s16_, "helix_idx")); + _$result0 = U._$HelixPositionSet$_(t1, _this.get$position(_this).build$0()); + } + _$result = _$result0; + } catch (exception) { + H.unwrapException(exception); + _$failedField = null; + try { + _$failedField = "position"; + _this.get$position(_this).build$0(); + } catch (exception) { + e = H.unwrapException(exception); + t1 = Y.BuiltValueNestedFieldError$(_s16_, _$failedField, J.toString$0$(e)); + throw H.wrapException(t1); + } + throw exception; + } + t1 = type$.legacy_HelixPositionSet._as(_$result); + if (t1 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + _this._$v = t1; + return _$result; + } + }; + U._$HelixGridPositionSet.prototype = { + $eq: function(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof U.HelixGridPositionSet && J.$eq$(this.helix, other.helix) && this.grid_position.$eq(0, other.grid_position); + }, + get$hashCode: function(_) { + var t1 = this.grid_position; + return Y.$jf(Y.$jc(Y.$jc(0, J.get$hashCode$(this.helix)), t1.get$hashCode(t1))); + }, + toString$0: function(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("HelixGridPositionSet"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "helix", this.helix); + t2.add$2(t1, "grid_position", this.grid_position); + return t2.toString$0(t1); + } + }; + U.HelixGridPositionSetBuilder.prototype = { + get$helix: function() { + var t1 = this.get$_$this(), + t2 = t1._actions$_helix; + if (t2 == null) { + t2 = new O.HelixBuilder(); + t2.get$_helix$_$this()._group = "default_group"; + t2.get$_helix$_$this()._min_offset = 0; + t2.get$_helix$_$this()._roll = 0; + t1._actions$_helix = t2; + t1 = t2; + } else + t1 = t2; + return t1; + }, + get$grid_position: function() { + var t1 = this.get$_$this(), + t2 = t1._actions$_grid_position; + return t2 == null ? t1._actions$_grid_position = new D.GridPositionBuilder() : t2; + }, + get$_$this: function() { + var t1, t2, _this = this, + $$v = _this._$v; + if ($$v != null) { + t1 = $$v.helix; + t1.toString; + t2 = new O.HelixBuilder(); + t2.get$_helix$_$this()._group = "default_group"; + t2.get$_helix$_$this()._min_offset = 0; + t2.get$_helix$_$this()._roll = 0; + t2._helix$_$v = t1; + _this._actions$_helix = t2; + t1 = $$v.grid_position; + t2 = new D.GridPositionBuilder(); + t2._grid_position$_$v = t1; + _this._actions$_grid_position = t2; + _this._$v = null; + } + return _this; + }, + build$0: function() { + var _$failedField, e, _$result0, t1, exception, _this = this, _$result = null; + try { + _$result0 = _this._$v; + if (_$result0 == null) { + t1 = _this.get$helix().build$0(); + _$result0 = U._$HelixGridPositionSet$_(_this.get$grid_position().build$0(), t1); + } + _$result = _$result0; + } catch (exception) { + H.unwrapException(exception); + _$failedField = null; + try { + _$failedField = "helix"; + _this.get$helix().build$0(); + _$failedField = "grid_position"; + _this.get$grid_position().build$0(); + } catch (exception) { + e = H.unwrapException(exception); + t1 = Y.BuiltValueNestedFieldError$("HelixGridPositionSet", _$failedField, J.toString$0$(e)); + throw H.wrapException(t1); + } + throw exception; + } + t1 = type$.legacy_HelixGridPositionSet._as(_$result); + if (t1 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + _this._$v = t1; + return _$result; + } + }; + U._$HelicesPositionsSetBasedOnCrossovers.prototype = { + $eq: function(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof U.HelicesPositionsSetBasedOnCrossovers; + }, + get$hashCode: function(_) { + return 1067021116; + }, + toString$0: function(_) { + return J.toString$0$($.$get$newBuiltValueToStringHelper().call$1("HelicesPositionsSetBasedOnCrossovers")); + } + }; + U.HelicesPositionsSetBasedOnCrossoversBuilder.prototype = { + build$0: function() { + var _$result = this._$v; + if (_$result == null) + _$result = new U._$HelicesPositionsSetBasedOnCrossovers(); + return this._$v = _$result; + } + }; + U._$InlineInsertionsDeletions.prototype = { + $eq: function(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof U.InlineInsertionsDeletions; + }, + get$hashCode: function(_) { + return 40574671; + }, + toString$0: function(_) { + return J.toString$0$($.$get$newBuiltValueToStringHelper().call$1("InlineInsertionsDeletions")); + } + }; + U.InlineInsertionsDeletionsBuilder.prototype = { + build$0: function() { + var _$result = this._$v; + if (_$result == null) + _$result = new U._$InlineInsertionsDeletions(); + return this._$v = _$result; + } + }; + U._$DefaultCrossoverTypeForSettingHelixRollsSet.prototype = { + $eq: function(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof U.DefaultCrossoverTypeForSettingHelixRollsSet && this.scaffold == other.scaffold && this.staple == other.staple; + }, + get$hashCode: function(_) { + return Y.$jf(Y.$jc(Y.$jc(0, J.get$hashCode$(this.scaffold)), J.get$hashCode$(this.staple))); + }, + toString$0: function(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1(string$.Defaul), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "scaffold", this.scaffold); + t2.add$2(t1, "staple", this.staple); + return t2.toString$0(t1); + } + }; + U.DefaultCrossoverTypeForSettingHelixRollsSetBuilder.prototype = { + get$_$this: function() { + var _this = this, + $$v = _this._$v; + if ($$v != null) { + _this._scaffold = $$v.scaffold; + _this._staple = $$v.staple; + _this._$v = null; + } + return _this; + } + }; + U._$AutofitSet.prototype = { + $eq: function(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof U.AutofitSet && this.autofit === other.autofit; + }, + get$hashCode: function(_) { + return Y.$jf(Y.$jc(0, C.JSBool_methods.get$hashCode(this.autofit))); + }, + toString$0: function(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("AutofitSet"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "autofit", this.autofit); + return t2.toString$0(t1); + } + }; + U.AutofitSetBuilder.prototype = { + get$_$this: function() { + var _this = this, + $$v = _this._$v; + if ($$v != null) { + _this._actions$_autofit = $$v.autofit; + _this._$v = null; + } + return _this; + } + }; + U._$ShowHelixCirclesMainViewSet.prototype = { + $eq: function(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof U.ShowHelixCirclesMainViewSet && this.show_helix_circles_main_view === other.show_helix_circles_main_view; + }, + get$hashCode: function(_) { + return Y.$jf(Y.$jc(0, C.JSBool_methods.get$hashCode(this.show_helix_circles_main_view))); + }, + toString$0: function(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("ShowHelixCirclesMainViewSet"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "show_helix_circles_main_view", this.show_helix_circles_main_view); + return t2.toString$0(t1); + } + }; + U.ShowHelixCirclesMainViewSetBuilder.prototype = { + get$_$this: function() { + var _this = this, + $$v = _this._$v; + if ($$v != null) { + _this._actions$_show_helix_circles_main_view = $$v.show_helix_circles_main_view; + _this._$v = null; + } + return _this; + } + }; + U._$ShowHelixComponentsMainViewSet.prototype = { + $eq: function(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof U.ShowHelixComponentsMainViewSet && this.show_helix_components === other.show_helix_components; + }, + get$hashCode: function(_) { + var t1 = this._actions$__hashCode; + return t1 == null ? this._actions$__hashCode = Y.$jf(Y.$jc(0, C.JSBool_methods.get$hashCode(this.show_helix_components))) : t1; + }, + toString$0: function(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("ShowHelixComponentsMainViewSet"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "show_helix_components", this.show_helix_components); + return t2.toString$0(t1); + } + }; + U.ShowHelixComponentsMainViewSetBuilder.prototype = { + get$_$this: function() { + var _this = this, + $$v = _this._$v; + if ($$v != null) { + _this._show_helix_components = $$v.show_helix_components; + _this._$v = null; + } + return _this; + } + }; + U._$ShowEditMenuToggle.prototype = { + $eq: function(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof U.ShowEditMenuToggle; + }, + get$hashCode: function(_) { + return 156767941; + }, + toString$0: function(_) { + return J.toString$0$($.$get$newBuiltValueToStringHelper().call$1("ShowEditMenuToggle")); + } + }; + U._$ShowGridCoordinatesSideViewSet.prototype = { + $eq: function(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof U.ShowGridCoordinatesSideViewSet && this.show_grid_coordinates_side_view === other.show_grid_coordinates_side_view; + }, + get$hashCode: function(_) { + return Y.$jf(Y.$jc(0, C.JSBool_methods.get$hashCode(this.show_grid_coordinates_side_view))); + }, + toString$0: function(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("ShowGridCoordinatesSideViewSet"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "show_grid_coordinates_side_view", this.show_grid_coordinates_side_view); + return t2.toString$0(t1); + } + }; + U.ShowGridCoordinatesSideViewSetBuilder.prototype = { + get$_$this: function() { + var _this = this, + $$v = _this._$v; + if ($$v != null) { + _this._actions$_show_grid_coordinates_side_view = $$v.show_grid_coordinates_side_view; + _this._$v = null; + } + return _this; + } + }; + U._$ShowAxisArrowsSet.prototype = { + $eq: function(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof U.ShowAxisArrowsSet && this.show_helices_axis_arrows === other.show_helices_axis_arrows; + }, + get$hashCode: function(_) { + return Y.$jf(Y.$jc(0, C.JSBool_methods.get$hashCode(this.show_helices_axis_arrows))); + }, + toString$0: function(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("ShowAxisArrowsSet"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "show_helices_axis_arrows", this.show_helices_axis_arrows); + return t2.toString$0(t1); + } + }; + U.ShowAxisArrowsSetBuilder.prototype = { + get$_$this: function() { + var _this = this, + $$v = _this._$v; + if ($$v != null) { + _this._actions$_show_helices_axis_arrows = $$v.show_helices_axis_arrows; + _this._$v = null; + } + return _this; + } + }; + U._$ShowLoopoutExtensionLengthSet.prototype = { + $eq: function(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof U.ShowLoopoutExtensionLengthSet && this.show_length === other.show_length; + }, + get$hashCode: function(_) { + return Y.$jf(Y.$jc(0, C.JSBool_methods.get$hashCode(this.show_length))); + }, + toString$0: function(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("ShowLoopoutExtensionLengthSet"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "show_length", this.show_length); + return t2.toString$0(t1); + } + }; + U.ShowLoopoutExtensionLengthSetBuilder.prototype = { + get$_$this: function() { + var _this = this, + $$v = _this._$v; + if ($$v != null) { + _this._show_length = $$v.show_length; + _this._$v = null; + } + return _this; + } + }; + U._$LoadDnaSequenceImageUri.prototype = { + $eq: function(_, other) { + var _this = this; + if (other == null) + return false; + if (other === _this) + return true; + return other instanceof U.LoadDnaSequenceImageUri && _this.uri == other.uri && _this.dna_sequence_png_horizontal_offset === other.dna_sequence_png_horizontal_offset && _this.dna_sequence_png_vertical_offset === other.dna_sequence_png_vertical_offset; + }, + get$hashCode: function(_) { + return Y.$jf(Y.$jc(Y.$jc(Y.$jc(0, J.get$hashCode$(this.uri)), C.JSNumber_methods.get$hashCode(this.dna_sequence_png_horizontal_offset)), C.JSNumber_methods.get$hashCode(this.dna_sequence_png_vertical_offset))); + }, + toString$0: function(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("LoadDnaSequenceImageUri"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "uri", this.uri); + t2.add$2(t1, "dna_sequence_png_horizontal_offset", this.dna_sequence_png_horizontal_offset); + t2.add$2(t1, "dna_sequence_png_vertical_offset", this.dna_sequence_png_vertical_offset); + return t2.toString$0(t1); + } + }; + U.LoadDnaSequenceImageUriBuilder.prototype = { + get$_$this: function() { + var _this = this, + $$v = _this._$v; + if ($$v != null) { + _this._uri = $$v.uri; + _this._actions$_dna_sequence_png_horizontal_offset = $$v.dna_sequence_png_horizontal_offset; + _this._actions$_dna_sequence_png_vertical_offset = $$v.dna_sequence_png_vertical_offset; + _this._$v = null; + } + return _this; + }, + build$0: function() { + var t1, t2, t3, _this = this, + _s23_ = "LoadDnaSequenceImageUri", + _$result = _this._$v; + if (_$result == null) { + t1 = _this.get$_$this()._uri; + t2 = _this.get$_$this()._actions$_dna_sequence_png_horizontal_offset; + if (t2 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s23_, "dna_sequence_png_horizontal_offset")); + t3 = _this.get$_$this()._actions$_dna_sequence_png_vertical_offset; + if (t3 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s23_, "dna_sequence_png_vertical_offset")); + _$result = new U._$LoadDnaSequenceImageUri(t1, t2, t3); + } + return _this._$v = _$result; + } + }; + U._$SetIsZoomAboveThreshold.prototype = { + $eq: function(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof U.SetIsZoomAboveThreshold && this.is_zoom_above_threshold === other.is_zoom_above_threshold; + }, + get$hashCode: function(_) { + return Y.$jf(Y.$jc(0, C.JSBool_methods.get$hashCode(this.is_zoom_above_threshold))); + }, + toString$0: function(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("SetIsZoomAboveThreshold"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "is_zoom_above_threshold", this.is_zoom_above_threshold); + return t2.toString$0(t1); + } + }; + U.SetIsZoomAboveThresholdBuilder.prototype = { + get$_$this: function() { + var _this = this, + $$v = _this._$v; + if ($$v != null) { + _this._actions$_is_zoom_above_threshold = $$v.is_zoom_above_threshold; + _this._$v = null; + } + return _this; + }, + build$0: function() { + var t1, + _$result = this._$v; + if (_$result == null) { + t1 = this.get$_$this()._actions$_is_zoom_above_threshold; + if (t1 == null) + H.throwExpression(Y.BuiltValueNullFieldError$("SetIsZoomAboveThreshold", "is_zoom_above_threshold")); + _$result = new U._$SetIsZoomAboveThreshold(t1); + } + return this._$v = _$result; + } + }; + U._$SetExportSvgActionDelayedForPngCache.prototype = { + $eq: function(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof U.SetExportSvgActionDelayedForPngCache && J.$eq$(this.export_svg_action_delayed_for_png_cache, other.export_svg_action_delayed_for_png_cache); + }, + get$hashCode: function(_) { + return Y.$jf(Y.$jc(0, J.get$hashCode$(this.export_svg_action_delayed_for_png_cache))); + }, + toString$0: function(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("SetExportSvgActionDelayedForPngCache"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "export_svg_action_delayed_for_png_cache", this.export_svg_action_delayed_for_png_cache); + return t2.toString$0(t1); + } + }; + U.SetExportSvgActionDelayedForPngCacheBuilder.prototype = { + get$_$this: function() { + var _this = this, + $$v = _this._$v; + if ($$v != null) { + _this._actions$_export_svg_action_delayed_for_png_cache = $$v.export_svg_action_delayed_for_png_cache; + _this._$v = null; + } + return _this; + }, + build$0: function() { + var _$result = this._$v; + if (_$result == null) + _$result = new U._$SetExportSvgActionDelayedForPngCache(this.get$_$this()._actions$_export_svg_action_delayed_for_png_cache); + return this._$v = _$result; + } + }; + U._$ShowBasePairLinesSet.prototype = { + $eq: function(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof U.ShowBasePairLinesSet && this.show_base_pair_lines === other.show_base_pair_lines; + }, + get$hashCode: function(_) { + var t1 = this._actions$__hashCode; + return t1 == null ? this._actions$__hashCode = Y.$jf(Y.$jc(0, C.JSBool_methods.get$hashCode(this.show_base_pair_lines))) : t1; + }, + toString$0: function(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("ShowBasePairLinesSet"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "show_base_pair_lines", this.show_base_pair_lines); + return t2.toString$0(t1); + } + }; + U.ShowBasePairLinesSetBuilder.prototype = { + get$_$this: function() { + var _this = this, + $$v = _this._$v; + if ($$v != null) { + _this._actions$_show_base_pair_lines = $$v.show_base_pair_lines; + _this._$v = null; + } + return _this; + } + }; + U._$ShowBasePairLinesWithMismatchesSet.prototype = { + $eq: function(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof U.ShowBasePairLinesWithMismatchesSet && this.show_base_pair_lines_with_mismatches === other.show_base_pair_lines_with_mismatches; + }, + get$hashCode: function(_) { + var t1 = this._actions$__hashCode; + return t1 == null ? this._actions$__hashCode = Y.$jf(Y.$jc(0, C.JSBool_methods.get$hashCode(this.show_base_pair_lines_with_mismatches))) : t1; + }, + toString$0: function(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("ShowBasePairLinesWithMismatchesSet"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "show_base_pair_lines_with_mismatches", this.show_base_pair_lines_with_mismatches); + return t2.toString$0(t1); + } + }; + U.ShowBasePairLinesWithMismatchesSetBuilder.prototype = { + get$_$this: function() { + var _this = this, + $$v = _this._$v; + if ($$v != null) { + _this._actions$_show_base_pair_lines_with_mismatches = $$v.show_base_pair_lines_with_mismatches; + _this._$v = null; + } + return _this; + } + }; + U._$ShowSliceBarSet.prototype = { + $eq: function(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof U.ShowSliceBarSet && this.show === other.show; + }, + get$hashCode: function(_) { + return Y.$jf(Y.$jc(0, C.JSBool_methods.get$hashCode(this.show))); + }, + toString$0: function(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("ShowSliceBarSet"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "show", this.show); + return t2.toString$0(t1); + } + }; + U.ShowSliceBarSetBuilder.prototype = { + get$_$this: function() { + var _this = this, + $$v = _this._$v; + if ($$v != null) { + _this._show = $$v.show; + _this._$v = null; + } + return _this; + }, + build$0: function() { + var t1, + _$result = this._$v; + if (_$result == null) { + t1 = this.get$_$this()._show; + if (t1 == null) + H.throwExpression(Y.BuiltValueNullFieldError$("ShowSliceBarSet", "show")); + _$result = new U._$ShowSliceBarSet(t1); + } + return this._$v = _$result; + } + }; + U._$SliceBarOffsetSet.prototype = { + $eq: function(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof U.SliceBarOffsetSet && this.offset == other.offset; + }, + get$hashCode: function(_) { + return Y.$jf(Y.$jc(0, J.get$hashCode$(this.offset))); + }, + toString$0: function(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("SliceBarOffsetSet"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "offset", this.offset); + return t2.toString$0(t1); + }, + get$offset: function(receiver) { + return this.offset; + } + }; + U.SliceBarOffsetSetBuilder.prototype = { + get$offset: function(_) { + return this.get$_$this()._actions$_offset; + }, + get$_$this: function() { + var _this = this, + $$v = _this._$v; + if ($$v != null) { + _this._actions$_offset = $$v.offset; + _this._$v = null; + } + return _this; + }, + build$0: function() { + var _$result = this._$v; + if (_$result == null) + _$result = new U._$SliceBarOffsetSet(this.get$_$this()._actions$_offset); + return this._$v = _$result; + } + }; + U._$DisablePngCachingDnaSequencesSet.prototype = { + $eq: function(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof U.DisablePngCachingDnaSequencesSet && this.disable_png_caching_dna_sequences === other.disable_png_caching_dna_sequences; + }, + get$hashCode: function(_) { + return Y.$jf(Y.$jc(0, C.JSBool_methods.get$hashCode(this.disable_png_caching_dna_sequences))); + }, + toString$0: function(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("DisablePngCachingDnaSequencesSet"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "disable_png_caching_dna_sequences", this.disable_png_caching_dna_sequences); + return t2.toString$0(t1); + } + }; + U.DisablePngCachingDnaSequencesSetBuilder.prototype = { + get$_$this: function() { + var _this = this, + $$v = _this._$v; + if ($$v != null) { + _this._actions$_disable_png_caching_dna_sequences = $$v.disable_png_caching_dna_sequences; + _this._$v = null; + } + return _this; + }, + build$0: function() { + var t1, + _$result = this._$v; + if (_$result == null) { + t1 = this.get$_$this()._actions$_disable_png_caching_dna_sequences; + if (t1 == null) + H.throwExpression(Y.BuiltValueNullFieldError$("DisablePngCachingDnaSequencesSet", "disable_png_caching_dna_sequences")); + _$result = new U._$DisablePngCachingDnaSequencesSet(t1); + } + return this._$v = _$result; + } + }; + U._$RetainStrandColorOnSelectionSet.prototype = { + $eq: function(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof U.RetainStrandColorOnSelectionSet && this.retain_strand_color_on_selection === other.retain_strand_color_on_selection; + }, + get$hashCode: function(_) { + return Y.$jf(Y.$jc(0, C.JSBool_methods.get$hashCode(this.retain_strand_color_on_selection))); + }, + toString$0: function(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("RetainStrandColorOnSelectionSet"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "retain_strand_color_on_selection", this.retain_strand_color_on_selection); + return t2.toString$0(t1); + } + }; + U.RetainStrandColorOnSelectionSetBuilder.prototype = { + get$_$this: function() { + var _this = this, + $$v = _this._$v; + if ($$v != null) { + _this._actions$_retain_strand_color_on_selection = $$v.retain_strand_color_on_selection; + _this._$v = null; + } + return _this; + }, + build$0: function() { + var t1, + _$result = this._$v; + if (_$result == null) { + t1 = this.get$_$this()._actions$_retain_strand_color_on_selection; + if (t1 == null) + H.throwExpression(Y.BuiltValueNullFieldError$("RetainStrandColorOnSelectionSet", "retain_strand_color_on_selection")); + _$result = new U._$RetainStrandColorOnSelectionSet(t1); + } + return this._$v = _$result; + } + }; + U._$DisplayReverseDNARightSideUpSet.prototype = { + $eq: function(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof U.DisplayReverseDNARightSideUpSet && this.display_reverse_DNA_right_side_up === other.display_reverse_DNA_right_side_up; + }, + get$hashCode: function(_) { + return Y.$jf(Y.$jc(0, C.JSBool_methods.get$hashCode(this.display_reverse_DNA_right_side_up))); + }, + toString$0: function(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("DisplayReverseDNARightSideUpSet"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "display_reverse_DNA_right_side_up", this.display_reverse_DNA_right_side_up); + return t2.toString$0(t1); + } + }; + U.DisplayReverseDNARightSideUpSetBuilder.prototype = { + get$_$this: function() { + var _this = this, + $$v = _this._$v; + if ($$v != null) { + _this._actions$_display_reverse_DNA_right_side_up = $$v.display_reverse_DNA_right_side_up; + _this._$v = null; + } + return _this; + }, + build$0: function() { + var t1, + _$result = this._$v; + if (_$result == null) { + t1 = this.get$_$this()._actions$_display_reverse_DNA_right_side_up; + if (t1 == null) + H.throwExpression(Y.BuiltValueNullFieldError$("DisplayReverseDNARightSideUpSet", "display_reverse_DNA_right_side_up")); + _$result = new U._$DisplayReverseDNARightSideUpSet(t1); + } + return this._$v = _$result; + } + }; + U._$SliceBarMoveStart.prototype = { + $eq: function(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof U.SliceBarMoveStart; + }, + get$hashCode: function(_) { + return 405947091; + }, + toString$0: function(_) { + return J.toString$0$($.$get$newBuiltValueToStringHelper().call$1("SliceBarMoveStart")); + } + }; + U.SliceBarMoveStartBuilder.prototype = { + build$0: function() { + var _$result = this._$v; + if (_$result == null) + _$result = new U._$SliceBarMoveStart(); + return this._$v = _$result; + } + }; + U._$SliceBarMoveStop.prototype = { + $eq: function(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof U.SliceBarMoveStop; + }, + get$hashCode: function(_) { + return 186948767; + }, + toString$0: function(_) { + return J.toString$0$($.$get$newBuiltValueToStringHelper().call$1("SliceBarMoveStop")); + } + }; + U.SliceBarMoveStopBuilder.prototype = { + build$0: function() { + var _$result = this._$v; + if (_$result == null) + _$result = new U._$SliceBarMoveStop(); + return this._$v = _$result; + } + }; + U._$Autostaple.prototype = { + $eq: function(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof U.Autostaple; + }, + get$hashCode: function(_) { + return 574995319; + }, + toString$0: function(_) { + return J.toString$0$($.$get$newBuiltValueToStringHelper().call$1("Autostaple")); + } + }; + U.AutostapleBuilder.prototype = { + build$0: function() { + var _$result = this._$v; + if (_$result == null) + _$result = new U._$Autostaple(); + return this._$v = _$result; + } + }; + U._$Autobreak.prototype = { + $eq: function(_, other) { + var _this = this; + if (other == null) + return false; + if (other === _this) + return true; + return other instanceof U.Autobreak && _this.target_length === other.target_length && _this.min_length === other.min_length && _this.max_length === other.max_length && _this.min_distance_to_xover === other.min_distance_to_xover; + }, + get$hashCode: function(_) { + var _this = this; + return Y.$jf(Y.$jc(Y.$jc(Y.$jc(Y.$jc(0, C.JSInt_methods.get$hashCode(_this.target_length)), C.JSInt_methods.get$hashCode(_this.min_length)), C.JSInt_methods.get$hashCode(_this.max_length)), C.JSInt_methods.get$hashCode(_this.min_distance_to_xover))); + }, + toString$0: function(_) { + var _this = this, + t1 = $.$get$newBuiltValueToStringHelper().call$1("Autobreak"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "target_length", _this.target_length); + t2.add$2(t1, "min_length", _this.min_length); + t2.add$2(t1, "max_length", _this.max_length); + t2.add$2(t1, "min_distance_to_xover", _this.min_distance_to_xover); + return t2.toString$0(t1); + } + }; + U.AutobreakBuilder.prototype = { + get$_$this: function() { + var _this = this, + $$v = _this._$v; + if ($$v != null) { + _this._target_length = $$v.target_length; + _this._min_length = $$v.min_length; + _this._max_length = $$v.max_length; + _this._min_distance_to_xover = $$v.min_distance_to_xover; + _this._$v = null; + } + return _this; + }, + build$0: function() { + var t1, t2, t3, t4, _this = this, + _s9_ = "Autobreak", + _$result = _this._$v; + if (_$result == null) { + t1 = _this.get$_$this()._target_length; + if (t1 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s9_, "target_length")); + t2 = _this.get$_$this()._min_length; + if (t2 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s9_, "min_length")); + t3 = _this.get$_$this()._max_length; + if (t3 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s9_, "max_length")); + t4 = _this.get$_$this()._min_distance_to_xover; + if (t4 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s9_, "min_distance_to_xover")); + _$result = new U._$Autobreak(t1, t2, t3, t4); + } + return _this._$v = _$result; + } + }; + U._$ZoomSpeedSet.prototype = { + $eq: function(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof U.ZoomSpeedSet && this.speed == other.speed; + }, + get$hashCode: function(_) { + var t1 = this._actions$__hashCode; + return t1 == null ? this._actions$__hashCode = Y.$jf(Y.$jc(0, J.get$hashCode$(this.speed))) : t1; + }, + toString$0: function(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("ZoomSpeedSet"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "speed", this.speed); + return t2.toString$0(t1); + } + }; + U.ZoomSpeedSetBuilder.prototype = { + get$_$this: function() { + var _this = this, + $$v = _this._$v; + if ($$v != null) { + _this._speed = $$v.speed; + _this._$v = null; + } + return _this; + } + }; + U._$OxdnaExport.prototype = { + $eq: function(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof U.OxdnaExport && this.selected_strands_only === other.selected_strands_only; + }, + get$hashCode: function(_) { + var t1 = this._actions$__hashCode; + return t1 == null ? this._actions$__hashCode = Y.$jf(Y.$jc(0, C.JSBool_methods.get$hashCode(this.selected_strands_only))) : t1; + }, + toString$0: function(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("OxdnaExport"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "selected_strands_only", this.selected_strands_only); + return t2.toString$0(t1); + }, + get$selected_strands_only: function() { + return this.selected_strands_only; + } + }; + U.OxdnaExportBuilder.prototype = { + get$_$this: function() { + var _this = this, + $$v = _this._$v; + if ($$v != null) { + _this._selected_strands_only = $$v.selected_strands_only; + _this._$v = null; + } + return _this; + }, + build$0: function() { + var t1, + _$result = this._$v; + if (_$result == null) { + t1 = this.get$_$this()._selected_strands_only; + if (t1 == null) + H.throwExpression(Y.BuiltValueNullFieldError$("OxdnaExport", "selected_strands_only")); + _$result = new U._$OxdnaExport(t1); + } + return this._$v = _$result; + } + }; + U._$OxviewExport.prototype = { + $eq: function(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof U.OxviewExport && this.selected_strands_only === other.selected_strands_only; + }, + get$hashCode: function(_) { + var t1 = this._actions$__hashCode; + return t1 == null ? this._actions$__hashCode = Y.$jf(Y.$jc(0, C.JSBool_methods.get$hashCode(this.selected_strands_only))) : t1; + }, + toString$0: function(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("OxviewExport"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "selected_strands_only", this.selected_strands_only); + return t2.toString$0(t1); + }, + get$selected_strands_only: function() { + return this.selected_strands_only; + } + }; + U.OxviewExportBuilder.prototype = { + get$_$this: function() { + var _this = this, + $$v = _this._$v; + if ($$v != null) { + _this._selected_strands_only = $$v.selected_strands_only; + _this._$v = null; + } + return _this; + }, + build$0: function() { + var t1, + _$result = this._$v; + if (_$result == null) { + t1 = this.get$_$this()._selected_strands_only; + if (t1 == null) + H.throwExpression(Y.BuiltValueNullFieldError$("OxviewExport", "selected_strands_only")); + _$result = new U._$OxviewExport(t1); + } + return this._$v = _$result; + } + }; + U._$OxExportOnlySelectedStrandsSet.prototype = { + $eq: function(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof U.OxExportOnlySelectedStrandsSet && this.only_selected === other.only_selected; + }, + get$hashCode: function(_) { + var t1 = this._actions$__hashCode; + return t1 == null ? this._actions$__hashCode = Y.$jf(Y.$jc(0, C.JSBool_methods.get$hashCode(this.only_selected))) : t1; + }, + toString$0: function(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("OxExportOnlySelectedStrandsSet"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "only_selected", this.only_selected); + return t2.toString$0(t1); + } + }; + U.OxExportOnlySelectedStrandsSetBuilder.prototype = { + get$_$this: function() { + var _this = this, + $$v = _this._$v; + if ($$v != null) { + _this._only_selected = $$v.only_selected; + _this._$v = null; + } + return _this; + } + }; + U._AssignDNA_Object_BuiltJsonSerializable.prototype = {}; + U._AssignDNA_Object_BuiltJsonSerializable_UndoableAction.prototype = {}; + U._AssignDNAComplementFromBoundStrands_Object_BuiltJsonSerializable.prototype = {}; + U._AssignDNAComplementFromBoundStrands_Object_BuiltJsonSerializable_UndoableAction.prototype = {}; + U._AssignDomainNameComplementFromBoundDomains_Object_BuiltJsonSerializable.prototype = {}; + U._AssignDomainNameComplementFromBoundDomains_Object_BuiltJsonSerializable_UndoableAction.prototype = {}; + U._AssignDomainNameComplementFromBoundStrands_Object_BuiltJsonSerializable.prototype = {}; + U._AssignDomainNameComplementFromBoundStrands_Object_BuiltJsonSerializable_UndoableAction.prototype = {}; + U._AutoPasteInitiate_Object_BuiltJsonSerializable.prototype = {}; + U._Autobreak_Object_BuiltJsonSerializable.prototype = {}; + U._AutofitSet_Object_BuiltJsonSerializable.prototype = {}; + U._Autostaple_Object_BuiltJsonSerializable.prototype = {}; + U._BasePairTypeSet_Object_BuiltJsonSerializable.prototype = {}; + U._BatchAction_Object_BuiltJsonSerializable.prototype = {}; + U._BatchAction_Object_BuiltJsonSerializable_UndoableAction.prototype = {}; + U._ClearHelixSelectionWhenLoadingNewDesignSet_Object_BuiltJsonSerializable.prototype = {}; + U._ContextMenuHide_Object_BuiltJsonSerializable.prototype = {}; + U._ContextMenuShow_Object_BuiltJsonSerializable.prototype = {}; + U._ConvertCrossoverToLoopout_Object_BuiltJsonSerializable.prototype = {}; + U._ConvertCrossoverToLoopout_Object_BuiltJsonSerializable_UndoableAction.prototype = {}; + U._ConvertCrossoversToLoopouts_Object_BuiltJsonSerializable.prototype = {}; + U._ConvertCrossoversToLoopouts_Object_BuiltJsonSerializable_UndoableAction.prototype = {}; + U._CopySelectedStandsToClipboardImage_Object_BuiltJsonSerializable.prototype = {}; + U._CopySelectedStrands_Object_BuiltJsonSerializable.prototype = {}; + U._DNAEndsMoveAdjustOffset_Object_BuiltJsonSerializable.prototype = {}; + U._DNAEndsMoveCommit_Object_BuiltJsonSerializable.prototype = {}; + U._DNAEndsMoveCommit_Object_BuiltJsonSerializable_UndoableAction.prototype = {}; + U._DNAEndsMoveSetSelectedEnds_Object_BuiltJsonSerializable.prototype = {}; + U._DNAEndsMoveStart_Object_BuiltJsonSerializable.prototype = {}; + U._DNAEndsMoveStop_Object_BuiltJsonSerializable.prototype = {}; + U._DNAExtensionsMoveAdjustPosition_Object_BuiltJsonSerializable.prototype = {}; + U._DNAExtensionsMoveCommit_Object_BuiltJsonSerializable.prototype = {}; + U._DNAExtensionsMoveCommit_Object_BuiltJsonSerializable_UndoableAction.prototype = {}; + U._DNAExtensionsMoveSetSelectedExtensionEnds_Object_BuiltJsonSerializable.prototype = {}; + U._DNAExtensionsMoveStart_Object_BuiltJsonSerializable.prototype = {}; + U._DNAExtensionsMoveStop_Object_BuiltJsonSerializable.prototype = {}; + U._DefaultCrossoverTypeForSettingHelixRollsSet_Object_BuiltJsonSerializable.prototype = {}; + U._DeleteAllSelected_Object_BuiltJsonSerializable.prototype = {}; + U._DeleteAllSelected_Object_BuiltJsonSerializable_UndoableAction.prototype = {}; + U._DeletionAdd_Object_BuiltJsonSerializable.prototype = {}; + U._DeletionAdd_Object_BuiltJsonSerializable_UndoableAction.prototype = {}; + U._DeletionRemove_Object_BuiltJsonSerializable.prototype = {}; + U._DeletionRemove_Object_BuiltJsonSerializable_UndoableAction.prototype = {}; + U._DialogHide_Object_BuiltJsonSerializable.prototype = {}; + U._DialogShow_Object_BuiltJsonSerializable.prototype = {}; + U._DisablePngCachingDnaSequencesSet_Object_BuiltJsonSerializable.prototype = {}; + U._DisplayMajorTicksOffsetsSet_Object_BuiltJsonSerializable.prototype = {}; + U._DisplayReverseDNARightSideUpSet_Object_BuiltJsonSerializable.prototype = {}; + U._DomainLabelFontSizeSet_Object_BuiltJsonSerializable.prototype = {}; + U._DomainNameFontSizeSet_Object_BuiltJsonSerializable.prototype = {}; + U._DomainsMoveAdjustAddress_Object_BuiltJsonSerializable.prototype = {}; + U._DomainsMoveCommit_Object_BuiltJsonSerializable.prototype = {}; + U._DomainsMoveCommit_Object_BuiltJsonSerializable_UndoableAction.prototype = {}; + U._DomainsMoveStartSelectedDomains_Object_BuiltJsonSerializable.prototype = {}; + U._DomainsMoveStop_Object_BuiltJsonSerializable.prototype = {}; + U._DynamicHelixUpdateSet_Object_BuiltJsonSerializable.prototype = {}; + U._EditModeToggle_Object_BuiltJsonSerializable.prototype = {}; + U._EditModesSet_Object_BuiltJsonSerializable.prototype = {}; + U._ErrorMessageSet_Object_BuiltJsonSerializable.prototype = {}; + U._ExampleDesignsLoad_Object_BuiltJsonSerializable.prototype = {}; + U._ExportCadnanoFile_Object_BuiltJsonSerializable.prototype = {}; + U._ExportCanDoDNA_Object_BuiltJsonSerializable.prototype = {}; + U._ExportCodenanoFile_Object_BuiltJsonSerializable.prototype = {}; + U._ExportDNA_Object_BuiltJsonSerializable.prototype = {}; + U._ExportSvg_Object_BuiltJsonSerializable.prototype = {}; + U._ExportSvgTextSeparatelySet_Object_BuiltJsonSerializable.prototype = {}; + U._ExtensionAdd_Object_BuiltJsonSerializable.prototype = {}; + U._ExtensionAdd_Object_BuiltJsonSerializable_UndoableAction.prototype = {}; + U._ExtensionDisplayLengthAngleSet_Object_BuiltJsonSerializable.prototype = {}; + U._ExtensionDisplayLengthAngleSet_Object_BuiltJsonSerializable_UndoableAction.prototype = {}; + U._ExtensionNumBasesChange_Object_BuiltJsonSerializable.prototype = {}; + U._ExtensionNumBasesChange_Object_BuiltJsonSerializable_UndoableAction.prototype = {}; + U._ExtensionsNumBasesChange_Object_BuiltJsonSerializable.prototype = {}; + U._ExtensionsNumBasesChange_Object_BuiltJsonSerializable_UndoableAction.prototype = {}; + U._GeometrySet_Object_BuiltJsonSerializable.prototype = {}; + U._GeometrySet_Object_BuiltJsonSerializable_UndoableAction.prototype = {}; + U._GridChange_Object_BuiltJsonSerializable.prototype = {}; + U._GridChange_Object_BuiltJsonSerializable_UndoableAction.prototype = {}; + U._GroupAdd_Object_BuiltJsonSerializable.prototype = {}; + U._GroupAdd_Object_BuiltJsonSerializable_UndoableAction.prototype = {}; + U._GroupChange_Object_BuiltJsonSerializable.prototype = {}; + U._GroupChange_Object_BuiltJsonSerializable_UndoableAction.prototype = {}; + U._GroupDisplayedChange_Object_BuiltJsonSerializable.prototype = {}; + U._GroupRemove_Object_BuiltJsonSerializable.prototype = {}; + U._GroupRemove_Object_BuiltJsonSerializable_UndoableAction.prototype = {}; + U._HelicesPositionsSetBasedOnCrossovers_Object_BuiltJsonSerializable.prototype = {}; + U._HelixAdd_Object_BuiltJsonSerializable.prototype = {}; + U._HelixAdd_Object_BuiltJsonSerializable_UndoableAction.prototype = {}; + U._HelixGridPositionSet_Object_BuiltJsonSerializable.prototype = {}; + U._HelixGridPositionSet_Object_BuiltJsonSerializable_UndoableAction.prototype = {}; + U._HelixGroupMoveAdjustTranslation_Object_BuiltJsonSerializable.prototype = {}; + U._HelixGroupMoveCommit_Object_BuiltJsonSerializable.prototype = {}; + U._HelixGroupMoveCommit_Object_BuiltJsonSerializable_UndoableAction.prototype = {}; + U._HelixGroupMoveCreate_Object_BuiltJsonSerializable.prototype = {}; + U._HelixGroupMoveStart_Object_BuiltJsonSerializable.prototype = {}; + U._HelixGroupMoveStop_Object_BuiltJsonSerializable.prototype = {}; + U._HelixIdxsChange_Object_BuiltJsonSerializable.prototype = {}; + U._HelixIdxsChange_Object_BuiltJsonSerializable_UndoableAction.prototype = {}; + U._HelixMajorTickDistanceChange_Object_BuiltJsonSerializable.prototype = {}; + U._HelixMajorTickDistanceChange_Object_BuiltJsonSerializable_UndoableAction.prototype = {}; + U._HelixMajorTickDistanceChangeAll_Object_BuiltJsonSerializable.prototype = {}; + U._HelixMajorTickDistanceChangeAll_Object_BuiltJsonSerializable_UndoableAction.prototype = {}; + U._HelixMajorTickPeriodicDistancesChange_Object_BuiltJsonSerializable.prototype = {}; + U._HelixMajorTickPeriodicDistancesChange_Object_BuiltJsonSerializable_UndoableAction.prototype = {}; + U._HelixMajorTickPeriodicDistancesChangeAll_Object_BuiltJsonSerializable.prototype = {}; + U._HelixMajorTickPeriodicDistancesChangeAll_Object_BuiltJsonSerializable_UndoableAction.prototype = {}; + U._HelixMajorTickStartChange_Object_BuiltJsonSerializable.prototype = {}; + U._HelixMajorTickStartChange_Object_BuiltJsonSerializable_UndoableAction.prototype = {}; + U._HelixMajorTickStartChangeAll_Object_BuiltJsonSerializable.prototype = {}; + U._HelixMajorTickStartChangeAll_Object_BuiltJsonSerializable_UndoableAction.prototype = {}; + U._HelixMajorTicksChange_Object_BuiltJsonSerializable.prototype = {}; + U._HelixMajorTicksChange_Object_BuiltJsonSerializable_UndoableAction.prototype = {}; + U._HelixMajorTicksChangeAll_Object_BuiltJsonSerializable.prototype = {}; + U._HelixMajorTicksChangeAll_Object_BuiltJsonSerializable_UndoableAction.prototype = {}; + U._HelixMaxOffsetSetByDomains_Object_BuiltJsonSerializable.prototype = {}; + U._HelixMaxOffsetSetByDomains_Object_BuiltJsonSerializable_UndoableAction.prototype = {}; + U._HelixMaxOffsetSetByDomainsAll_Object_BuiltJsonSerializable.prototype = {}; + U._HelixMaxOffsetSetByDomainsAll_Object_BuiltJsonSerializable_UndoableAction.prototype = {}; + U._HelixMaxOffsetSetByDomainsAllSameMax_Object_BuiltJsonSerializable.prototype = {}; + U._HelixMaxOffsetSetByDomainsAllSameMax_Object_BuiltJsonSerializable_UndoableAction.prototype = {}; + U._HelixMinOffsetSetByDomains_Object_BuiltJsonSerializable.prototype = {}; + U._HelixMinOffsetSetByDomains_Object_BuiltJsonSerializable_UndoableAction.prototype = {}; + U._HelixMinOffsetSetByDomainsAll_Object_BuiltJsonSerializable.prototype = {}; + U._HelixMinOffsetSetByDomainsAll_Object_BuiltJsonSerializable_UndoableAction.prototype = {}; + U._HelixOffsetChange_Object_BuiltJsonSerializable.prototype = {}; + U._HelixOffsetChange_Object_BuiltJsonSerializable_UndoableAction.prototype = {}; + U._HelixOffsetChangeAll_Object_BuiltJsonSerializable.prototype = {}; + U._HelixOffsetChangeAll_Object_BuiltJsonSerializable_UndoableAction.prototype = {}; + U._HelixPositionSet_Object_BuiltJsonSerializable.prototype = {}; + U._HelixPositionSet_Object_BuiltJsonSerializable_UndoableAction.prototype = {}; + U._HelixRemove_Object_BuiltJsonSerializable.prototype = {}; + U._HelixRemove_Object_BuiltJsonSerializable_UndoableAction.prototype = {}; + U._HelixRemoveAllSelected_Object_BuiltJsonSerializable.prototype = {}; + U._HelixRemoveAllSelected_Object_BuiltJsonSerializable_UndoableAction.prototype = {}; + U._HelixRollSet_Object_BuiltJsonSerializable.prototype = {}; + U._HelixRollSet_Object_BuiltJsonSerializable_UndoableAction.prototype = {}; + U._HelixRollSetAtOther_Object_BuiltJsonSerializable.prototype = {}; + U._HelixRollSetAtOther_Object_BuiltJsonSerializable_UndoableAction.prototype = {}; + U._HelixSelect_Object_BuiltJsonSerializable.prototype = {}; + U._HelixSelectionsAdjust_Object_BuiltJsonSerializable.prototype = {}; + U._HelixSelectionsClear_Object_BuiltJsonSerializable.prototype = {}; + U._InlineInsertionsDeletions_Object_BuiltJsonSerializable.prototype = {}; + U._InlineInsertionsDeletions_Object_BuiltJsonSerializable_UndoableAction.prototype = {}; + U._InsertionAdd_Object_BuiltJsonSerializable.prototype = {}; + U._InsertionAdd_Object_BuiltJsonSerializable_UndoableAction.prototype = {}; + U._InsertionLengthChange_Object_BuiltJsonSerializable.prototype = {}; + U._InsertionLengthChange_Object_BuiltJsonSerializable_UndoableAction.prototype = {}; + U._InsertionRemove_Object_BuiltJsonSerializable.prototype = {}; + U._InsertionRemove_Object_BuiltJsonSerializable_UndoableAction.prototype = {}; + U._InsertionsLengthChange_Object_BuiltJsonSerializable.prototype = {}; + U._InsertionsLengthChange_Object_BuiltJsonSerializable_UndoableAction.prototype = {}; + U._InvertYSet_Object_BuiltJsonSerializable.prototype = {}; + U._JoinStrandsByCrossover_Object_BuiltJsonSerializable.prototype = {}; + U._JoinStrandsByCrossover_Object_BuiltJsonSerializable_UndoableAction.prototype = {}; + U._JoinStrandsByMultipleCrossovers_Object_BuiltJsonSerializable.prototype = {}; + U._JoinStrandsByMultipleCrossovers_Object_BuiltJsonSerializable_UndoableAction.prototype = {}; + U._Ligate_Object_BuiltJsonSerializable.prototype = {}; + U._Ligate_Object_BuiltJsonSerializable_UndoableAction.prototype = {}; + U._LoadDNAFile_Object_BuiltJsonSerializable.prototype = {}; + U._LoadDNAFile_Object_BuiltJsonSerializable_DesignChangingAction.prototype = {}; + U._LoadDnaSequenceImageUri_Object_BuiltJsonSerializable.prototype = {}; + U._LoadingDialogHide_Object_BuiltJsonSerializable.prototype = {}; + U._LoadingDialogShow_Object_BuiltJsonSerializable.prototype = {}; + U._LocalStorageDesignChoiceSet_Object_BuiltJsonSerializable.prototype = {}; + U._LoopoutLengthChange_Object_BuiltJsonSerializable.prototype = {}; + U._LoopoutLengthChange_Object_BuiltJsonSerializable_UndoableAction.prototype = {}; + U._LoopoutsLengthChange_Object_BuiltJsonSerializable.prototype = {}; + U._LoopoutsLengthChange_Object_BuiltJsonSerializable_UndoableAction.prototype = {}; + U._MajorTickOffsetFontSizeSet_Object_BuiltJsonSerializable.prototype = {}; + U._MajorTickWidthFontSizeSet_Object_BuiltJsonSerializable.prototype = {}; + U._ManualPasteInitiate_Object_BuiltJsonSerializable.prototype = {}; + U._ModificationAdd_Object_BuiltJsonSerializable.prototype = {}; + U._ModificationAdd_Object_BuiltJsonSerializable_UndoableAction.prototype = {}; + U._ModificationConnectorLengthSet_Object_BuiltJsonSerializable.prototype = {}; + U._ModificationEdit_Object_BuiltJsonSerializable.prototype = {}; + U._ModificationEdit_Object_BuiltJsonSerializable_UndoableAction.prototype = {}; + U._ModificationFontSizeSet_Object_BuiltJsonSerializable.prototype = {}; + U._ModificationRemove_Object_BuiltJsonSerializable.prototype = {}; + U._ModificationRemove_Object_BuiltJsonSerializable_UndoableAction.prototype = {}; + U._Modifications3PrimeEdit_Object_BuiltJsonSerializable.prototype = {}; + U._Modifications3PrimeEdit_Object_BuiltJsonSerializable_UndoableAction.prototype = {}; + U._Modifications5PrimeEdit_Object_BuiltJsonSerializable.prototype = {}; + U._Modifications5PrimeEdit_Object_BuiltJsonSerializable_UndoableAction.prototype = {}; + U._ModificationsInternalEdit_Object_BuiltJsonSerializable.prototype = {}; + U._ModificationsInternalEdit_Object_BuiltJsonSerializable_UndoableAction.prototype = {}; + U._MouseGridPositionSideClear_Object_BuiltJsonSerializable.prototype = {}; + U._MouseGridPositionSideUpdate_Object_BuiltJsonSerializable.prototype = {}; + U._MousePositionSideClear_Object_BuiltJsonSerializable.prototype = {}; + U._MousePositionSideUpdate_Object_BuiltJsonSerializable.prototype = {}; + U._MouseoverDataClear_Object_BuiltJsonSerializable.prototype = {}; + U._MouseoverDataUpdate_Object_BuiltJsonSerializable.prototype = {}; + U._MoveHelicesToGroup_Object_BuiltJsonSerializable.prototype = {}; + U._MoveHelicesToGroup_Object_BuiltJsonSerializable_UndoableAction.prototype = {}; + U._MoveLinker_Object_BuiltJsonSerializable.prototype = {}; + U._MoveLinker_Object_BuiltJsonSerializable_UndoableAction.prototype = {}; + U._NewDesignSet_Object_BuiltJsonSerializable.prototype = {}; + U._NewDesignSet_Object_BuiltJsonSerializable_UndoableAction.prototype = {}; + U._Nick_Object_BuiltJsonSerializable.prototype = {}; + U._Nick_Object_BuiltJsonSerializable_UndoableAction.prototype = {}; + U._OxExportOnlySelectedStrandsSet_Object_BuiltJsonSerializable.prototype = {}; + U._OxdnaExport_Object_BuiltJsonSerializable.prototype = {}; + U._OxviewExport_Object_BuiltJsonSerializable.prototype = {}; + U._OxviewShowSet_Object_BuiltJsonSerializable.prototype = {}; + U._PlateWellVendorFieldsAssign_Object_BuiltJsonSerializable.prototype = {}; + U._PlateWellVendorFieldsAssign_Object_BuiltJsonSerializable_UndoableAction.prototype = {}; + U._PlateWellVendorFieldsRemove_Object_BuiltJsonSerializable.prototype = {}; + U._PlateWellVendorFieldsRemove_Object_BuiltJsonSerializable_UndoableAction.prototype = {}; + U._PotentialCrossoverCreate_Object_BuiltJsonSerializable.prototype = {}; + U._PotentialCrossoverMove_Object_BuiltJsonSerializable.prototype = {}; + U._PotentialCrossoverRemove_Object_BuiltJsonSerializable.prototype = {}; + U._PrepareToLoadDNAFile_Object_BuiltJsonSerializable.prototype = {}; + U._PrepareToLoadDNAFile_Object_BuiltJsonSerializable_DesignChangingAction.prototype = {}; + U._Redo_Object_BuiltJsonSerializable.prototype = {}; + U._Redo_Object_BuiltJsonSerializable_DesignChangingAction.prototype = {}; + U._RelaxHelixRolls_Object_BuiltJsonSerializable.prototype = {}; + U._RelaxHelixRolls_Object_BuiltJsonSerializable_UndoableAction.prototype = {}; + U._RemoveDNA_Object_BuiltJsonSerializable.prototype = {}; + U._RemoveDNA_Object_BuiltJsonSerializable_UndoableAction.prototype = {}; + U._ReplaceStrands_Object_BuiltJsonSerializable.prototype = {}; + U._ReplaceStrands_Object_BuiltJsonSerializable_UndoableAction.prototype = {}; + U._ResetLocalStorage_Object_BuiltJsonSerializable.prototype = {}; + U._RetainStrandColorOnSelectionSet_Object_BuiltJsonSerializable.prototype = {}; + U._SaveDNAFile_Object_BuiltJsonSerializable.prototype = {}; + U._ScaffoldSet_Object_BuiltJsonSerializable.prototype = {}; + U._ScaffoldSet_Object_BuiltJsonSerializable_UndoableAction.prototype = {}; + U._ScalePurificationVendorFieldsAssign_Object_BuiltJsonSerializable.prototype = {}; + U._ScalePurificationVendorFieldsAssign_Object_BuiltJsonSerializable_UndoableAction.prototype = {}; + U._Select_Object_BuiltJsonSerializable.prototype = {}; + U._SelectAll_Object_BuiltJsonSerializable.prototype = {}; + U._SelectAllSelectable_Object_BuiltJsonSerializable.prototype = {}; + U._SelectAllWithSameAsSelected_Object_BuiltJsonSerializable.prototype = {}; + U._SelectModeToggle_Object_BuiltJsonSerializable.prototype = {}; + U._SelectModesAdd_Object_BuiltJsonSerializable.prototype = {}; + U._SelectModesSet_Object_BuiltJsonSerializable.prototype = {}; + U._SelectOrToggleItems_Object_BuiltJsonSerializable.prototype = {}; + U._SelectionBoxCreate_Object_BuiltJsonSerializable.prototype = {}; + U._SelectionBoxIntersectionRuleSet_Object_BuiltJsonSerializable.prototype = {}; + U._SelectionBoxRemove_Object_BuiltJsonSerializable.prototype = {}; + U._SelectionBoxSizeChange_Object_BuiltJsonSerializable.prototype = {}; + U._SelectionRopeAddPoint_Object_BuiltJsonSerializable.prototype = {}; + U._SelectionRopeCreate_Object_BuiltJsonSerializable.prototype = {}; + U._SelectionRopeMouseMove_Object_BuiltJsonSerializable.prototype = {}; + U._SelectionRopeRemove_Object_BuiltJsonSerializable.prototype = {}; + U._SelectionsAdjustMainView_Object_BuiltJsonSerializable.prototype = {}; + U._SelectionsClear_Object_BuiltJsonSerializable.prototype = {}; + U._SetAppUIStateStorable_Object_BuiltJsonSerializable.prototype = {}; + U._SetDisplayBaseOffsetsOfMajorTicksOnlyFirstHelix_Object_BuiltJsonSerializable.prototype = {}; + U._SetDisplayMajorTickWidths_Object_BuiltJsonSerializable.prototype = {}; + U._SetDisplayMajorTickWidthsAllHelices_Object_BuiltJsonSerializable.prototype = {}; + U._SetExportSvgActionDelayedForPngCache_Object_BuiltJsonSerializable.prototype = {}; + U._SetIsZoomAboveThreshold_Object_BuiltJsonSerializable.prototype = {}; + U._SetModificationDisplayConnector_Object_BuiltJsonSerializable.prototype = {}; + U._SetOnlyDisplaySelectedHelices_Object_BuiltJsonSerializable.prototype = {}; + U._ShowAxisArrowsSet_Object_BuiltJsonSerializable.prototype = {}; + U._ShowBasePairLinesSet_Object_BuiltJsonSerializable.prototype = {}; + U._ShowBasePairLinesWithMismatchesSet_Object_BuiltJsonSerializable.prototype = {}; + U._ShowDNASet_Object_BuiltJsonSerializable.prototype = {}; + U._ShowDomainLabelsSet_Object_BuiltJsonSerializable.prototype = {}; + U._ShowDomainNameMismatchesSet_Object_BuiltJsonSerializable.prototype = {}; + U._ShowDomainNamesSet_Object_BuiltJsonSerializable.prototype = {}; + U._ShowEditMenuToggle_Object_BuiltJsonSerializable.prototype = {}; + U._ShowGridCoordinatesSideViewSet_Object_BuiltJsonSerializable.prototype = {}; + U._ShowHelixCirclesMainViewSet_Object_BuiltJsonSerializable.prototype = {}; + U._ShowHelixComponentsMainViewSet_Object_BuiltJsonSerializable.prototype = {}; + U._ShowLoopoutExtensionLengthSet_Object_BuiltJsonSerializable.prototype = {}; + U._ShowMismatchesSet_Object_BuiltJsonSerializable.prototype = {}; + U._ShowModificationsSet_Object_BuiltJsonSerializable.prototype = {}; + U._ShowMouseoverDataSet_Object_BuiltJsonSerializable.prototype = {}; + U._ShowMouseoverRectSet_Object_BuiltJsonSerializable.prototype = {}; + U._ShowMouseoverRectToggle_Object_BuiltJsonSerializable.prototype = {}; + U._ShowSliceBarSet_Object_BuiltJsonSerializable.prototype = {}; + U._ShowStrandLabelsSet_Object_BuiltJsonSerializable.prototype = {}; + U._ShowStrandNamesSet_Object_BuiltJsonSerializable.prototype = {}; + U._ShowUnpairedInsertionDeletionsSet_Object_BuiltJsonSerializable.prototype = {}; + U._SkipUndo_Object_BuiltJsonSerializable.prototype = {}; + U._SliceBarMoveStart_Object_BuiltJsonSerializable.prototype = {}; + U._SliceBarMoveStop_Object_BuiltJsonSerializable.prototype = {}; + U._SliceBarOffsetSet_Object_BuiltJsonSerializable.prototype = {}; + U._StrandCreateAdjustOffset_Object_BuiltJsonSerializable.prototype = {}; + U._StrandCreateCommit_Object_BuiltJsonSerializable.prototype = {}; + U._StrandCreateCommit_Object_BuiltJsonSerializable_UndoableAction.prototype = {}; + U._StrandCreateStart_Object_BuiltJsonSerializable.prototype = {}; + U._StrandCreateStop_Object_BuiltJsonSerializable.prototype = {}; + U._StrandLabelFontSizeSet_Object_BuiltJsonSerializable.prototype = {}; + U._StrandLabelSet_Object_BuiltJsonSerializable.prototype = {}; + U._StrandLabelSet_Object_BuiltJsonSerializable_UndoableAction.prototype = {}; + U._StrandNameFontSizeSet_Object_BuiltJsonSerializable.prototype = {}; + U._StrandNameSet_Object_BuiltJsonSerializable.prototype = {}; + U._StrandNameSet_Object_BuiltJsonSerializable_UndoableAction.prototype = {}; + U._StrandOrSubstrandColorPickerHide_Object_BuiltJsonSerializable.prototype = {}; + U._StrandOrSubstrandColorPickerShow_Object_BuiltJsonSerializable.prototype = {}; + U._StrandOrSubstrandColorSet_Object_BuiltJsonSerializable.prototype = {}; + U._StrandOrSubstrandColorSet_Object_BuiltJsonSerializable_UndoableAction.prototype = {}; + U._StrandPasteKeepColorSet_Object_BuiltJsonSerializable.prototype = {}; + U._StrandsMoveAdjustAddress_Object_BuiltJsonSerializable.prototype = {}; + U._StrandsMoveCommit_Object_BuiltJsonSerializable.prototype = {}; + U._StrandsMoveCommit_Object_BuiltJsonSerializable_UndoableAction.prototype = {}; + U._StrandsMoveStart_Object_BuiltJsonSerializable.prototype = {}; + U._StrandsMoveStartSelectedStrands_Object_BuiltJsonSerializable.prototype = {}; + U._StrandsMoveStop_Object_BuiltJsonSerializable.prototype = {}; + U._StrandsReflect_Object_BuiltJsonSerializable.prototype = {}; + U._SubstrandLabelSet_Object_BuiltJsonSerializable.prototype = {}; + U._SubstrandLabelSet_Object_BuiltJsonSerializable_UndoableAction.prototype = {}; + U._SubstrandNameSet_Object_BuiltJsonSerializable.prototype = {}; + U._SubstrandNameSet_Object_BuiltJsonSerializable_UndoableAction.prototype = {}; + U._ThrottledActionFast_Object_BuiltJsonSerializable.prototype = {}; + U._ThrottledActionNonFast_Object_BuiltJsonSerializable.prototype = {}; + U._Undo_Object_BuiltJsonSerializable.prototype = {}; + U._Undo_Object_BuiltJsonSerializable_DesignChangingAction.prototype = {}; + U._UndoRedoClear_Object_BuiltJsonSerializable.prototype = {}; + U._VendorFieldsRemove_Object_BuiltJsonSerializable.prototype = {}; + U._VendorFieldsRemove_Object_BuiltJsonSerializable_UndoableAction.prototype = {}; + U._WarnOnExitIfUnsavedSet_Object_BuiltJsonSerializable.prototype = {}; + U._ZoomSpeedSet_Object_BuiltJsonSerializable.prototype = {}; + G.App.prototype = { + start$0: function(_) { + var $async$goto = 0, + $async$completer = P._makeAsyncAwaitCompleter(type$.dynamic), + $async$self = this, t2, msg, state, app_root_element, t3, t4, t5, t6, t7, t8, t9, menu_design_separator, design_mode_separator, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19, side_main_separator, t20, t21, t22, t23, t24, t25, t26, t27, t28, drop_shadow, filter_element, defns, main_arrows, side_arrows, side_view_svg_viewport, main_view_svg_viewport, side_view_dummy_elt, main_view_dummy_elt, side_pane_width, main_pane_width, store, t1; + var $async$start$0 = P._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { + if ($async$errorCode === 1) + return P._asyncRethrow($async$result, $async$completer); + while (true) + switch ($async$goto) { + case 0: + // Function start + t1 = $._browser; + if (t1 == null) { + $.Browser_navigator = new G._HtmlNavigator(); + t1 = $._browser = L.Browser_getCurrentBrowser(); + } + t1.toString; + if (t1 !== $.$get$chrome()) + t2 = t1 === $.$get$firefox(); + else + t2 = true; + if (!t2) { + msg = "You appear to be using " + t1.name + ". scadnano does not currently support this browser. Please use Chrome or Firefox instead."; + C.Window_methods.alert$1(window, msg); + t1 = $._browser; + if (t1 == null) { + $.Browser_navigator = new G._HtmlNavigator(); + t1 = $._browser = L.Browser_getCurrentBrowser(); + } + P.print("current browser: " + t1.name); + } + state = $.$get$DEFAULT_AppState(); + P.print('SCADNANO_PROD = "true", so Redux Devtools disabled'); + $async$self.set$store(0, X.Store$(U.app_state_reducer__app_state_reducer$closure(), state, $.$get$all_middleware(), false, type$.legacy_AppState)); + $async$self.set$store_selection_rope(X.Store$($.$get$optimized_selection_rope_reducer(), null, H.setRuntimeTypeInfo([Z.throttle__throttle_middleware$closure()], type$.JSArray_of_legacy_dynamic_Function_3_legacy_Store_legacy_SelectionRope_and_dynamic_and_legacy_dynamic_Function_dynamic), false, type$.legacy_SelectionRope)); + $async$self.set$store_selection_box(X.Store$($.$get$optimized_selection_box_reducer(), null, H.setRuntimeTypeInfo([Z.throttle__throttle_middleware$closure()], type$.JSArray_of_legacy_dynamic_Function_3_legacy_Store_legacy_SelectionBox_and_dynamic_and_legacy_dynamic_Function_dynamic), false, type$.legacy_SelectionBox)); + $async$self.set$store_potential_crossover(X.Store$($.$get$optimized_potential_crossover_reducer(), null, H.setRuntimeTypeInfo([Z.throttle__throttle_middleware$closure()], type$.JSArray_of_legacy_dynamic_Function_3_legacy_Store_legacy_PotentialCrossover_and_dynamic_and_legacy_dynamic_Function_dynamic), false, type$.legacy_PotentialCrossover)); + $async$self.set$store_extensions_move(X.Store$($.$get$optimized_dna_extensions_move_reducer(), null, H.setRuntimeTypeInfo([Z.throttle__throttle_middleware$closure()], type$.JSArray_of_legacy_dynamic_Function_3_legacy_Store_legacy_DNAExtensionsMove_and_dynamic_and_legacy_dynamic_Function_dynamic), false, type$.legacy_DNAExtensionsMove)); + $async$self.set$store_dna_ends_move(X.Store$($.$get$optimized_dna_ends_move_reducer(), null, H.setRuntimeTypeInfo([Z.throttle__throttle_middleware$closure()], type$.JSArray_of_legacy_dynamic_Function_3_legacy_Store_legacy_DNAEndsMove_and_dynamic_and_legacy_dynamic_Function_dynamic), false, type$.legacy_DNAEndsMove)); + $async$self.set$store_helix_group_move(X.Store$($.$get$optimized_helix_group_move_reducer(), null, H.setRuntimeTypeInfo([Z.throttle__throttle_middleware$closure()], type$.JSArray_of_legacy_dynamic_Function_3_legacy_Store_legacy_HelixGroupMove_and_dynamic_and_legacy_dynamic_Function_dynamic), false, type$.legacy_HelixGroupMove)); + G.setup_undo_redo_keyboard_listeners(); + G.setup_save_open_dna_file_keyboard_listeners(); + G.copy_selected_strands_to_clipboard_image_keyboard_listeners(); + S.restore_all_local_storage($.app.store); + $async$self.setup_warning_before_unload$0(); + $async$self.setup_save_design_to_localStorage_before_unload$0(); + t1 = $async$self.store; + t1.get$state(t1); + window.dart_main_view_pointer_up = P.allowInterop(U.design__main_view_pointer_up$closure(), type$.legacy_Function); + t1 = document; + app_root_element = type$.legacy_DivElement._as(t1.querySelector("#top-container")); + t2 = t1.createElement("div"); + t3 = type$.legacy_String; + C.DivElement_methods.set$attributes(t2, P.LinkedHashMap_LinkedHashMap$_literal(["id", "modes-buttons"], t3, t3)); + t4 = t1.createElement("div"); + C.DivElement_methods.set$attributes(t4, P.LinkedHashMap_LinkedHashMap$_literal(["id", "menu"], t3, t3)); + t5 = t1.createElement("div"); + C.DivElement_methods.set$attributes(t5, P.LinkedHashMap_LinkedHashMap$_literal(["id", "nonmenu-panes-container"], t3, t3)); + t6 = t1.createElement("div"); + C.DivElement_methods.set$attributes(t6, P.LinkedHashMap_LinkedHashMap$_literal(["id", "design-pane"], t3, t3)); + t7 = t1.createElement("div"); + C.DivElement_methods.set$attributes(t7, P.LinkedHashMap_LinkedHashMap$_literal(["id", "design-and-modes-buttons-container", "class", "split"], t3, t3)); + t8 = t1.createElement("div"); + C.DivElement_methods.set$attributes(t8, P.LinkedHashMap_LinkedHashMap$_literal(["id", "design-oxview-separator", "class", "draggable-separator"], t3, t3)); + t9 = new Q.View(app_root_element, t2, t4, t5, t6, t7, t8); + Q.setup_file_drag_and_drop_listener(app_root_element); + app_root_element.appendChild(t4); + menu_design_separator = t1.createElement("div"); + C.DivElement_methods.set$attributes(menu_design_separator, P.LinkedHashMap_LinkedHashMap$_literal(["class", "fixed-horizontal-separator"], t3, t3)); + app_root_element.appendChild(menu_design_separator); + app_root_element.appendChild(t5); + t5.appendChild(t7); + t7.appendChild(t6); + design_mode_separator = t1.createElement("div"); + C.DivElement_methods.set$attributes(design_mode_separator, P.LinkedHashMap_LinkedHashMap$_literal(["class", "fixed-vertical-separator"], t3, t3)); + t7.appendChild(design_mode_separator); + t7.appendChild(t2); + t7 = t1.createElement("div"); + C.DivElement_methods.set$attributes(t7, P.LinkedHashMap_LinkedHashMap$_literal(["id", "design"], t3, t3)); + t10 = t1.createElement("div"); + C.DivElement_methods.set$attributes(t10, P.LinkedHashMap_LinkedHashMap$_literal(["id", "design-footer-separator", "class", "fixed-separator"], t3, t3)); + t11 = t1.createElement("div"); + C.DivElement_methods.set$attributes(t11, P.LinkedHashMap_LinkedHashMap$_literal(["id", "design-footer-mouse-over"], t3, t3)); + t12 = t1.createElement("div"); + C.DivElement_methods.set$attributes(t12, P.LinkedHashMap_LinkedHashMap$_literal(["id", "design-mode-buttons"], t3, t3)); + t13 = t1.createElement("div"); + C.DivElement_methods.set$attributes(t13, P.LinkedHashMap_LinkedHashMap$_literal(["id", "error-message-pane"], t3, t3)); + t14 = t1.createElement("div"); + C.DivElement_methods.set$attributes(t14, P.LinkedHashMap_LinkedHashMap$_literal(["id", "side-view-menu"], t3, t3)); + t15 = t1.createElement("div"); + C.DivElement_methods.set$attributes(t15, P.LinkedHashMap_LinkedHashMap$_literal(["id", "context-menu-container"], t3, t3)); + t16 = t1.createElement("div"); + C.DivElement_methods.set$attributes(t16, P.LinkedHashMap_LinkedHashMap$_literal(["class", "dialog-form-container"], t3, t3)); + t17 = t1.createElement("div"); + C.DivElement_methods.set$attributes(t17, P.LinkedHashMap_LinkedHashMap$_literal(["class", "dialog-loading-container"], t3, t3)); + t18 = t1.createElement("div"); + C.DivElement_methods.set$attributes(t18, P.LinkedHashMap_LinkedHashMap$_literal(["id", "strand-color-picker-container"], t3, t3)); + t19 = type$.Point_legacy_num; + t19 = new U.DesignViewComponent(t6, t7, t10, t11, t12, t13, t14, t15, t16, t17, t18, new P.Point(0, 0, t19), new P.Point(0, 0, t19), P.LinkedHashMap_LinkedHashMap$_literal([C.DraggableComponent_0, null, C.DraggableComponent_1, null], type$.legacy_DraggableComponent, type$.legacy_Draggable)); + t12 = t1.createElement("div"); + C.DivElement_methods.set$attributes(t12, P.LinkedHashMap_LinkedHashMap$_literal(["id", "side-pane", "class", "split"], t3, t3)); + t19.side_pane = t12; + side_main_separator = t1.createElement("div"); + C.DivElement_methods.set$attributes(side_main_separator, P.LinkedHashMap_LinkedHashMap$_literal(["id", "side-main-separator", "class", "draggable-separator"], t3, t3)); + t20 = t1.createElement("div"); + C.DivElement_methods.set$attributes(t20, P.LinkedHashMap_LinkedHashMap$_literal(["id", "main-pane", "class", "split"], t3, t3)); + t19.main_pane = t20; + t21 = P.SvgSvgElement_SvgSvgElement(); + C.SvgSvgElement_methods.set$attributes(t21, P.LinkedHashMap_LinkedHashMap$_literal(["id", "side-view-svg", "class", "panzoomable", "width", "100%", "height", "100%"], t3, t3)); + t19.side_view_svg = t21; + t22 = P.SvgSvgElement_SvgSvgElement(); + C.SvgSvgElement_methods.set$attributes(t22, P.LinkedHashMap_LinkedHashMap$_literal(["id", "main-view-svg", "class", "panzoomable", "width", "100%", "height", "100%"], t3, t3)); + t19.main_view_svg = t22; + t23 = type$.SvgElement; + t24 = type$.FEGaussianBlurElement._as(t23._as(C.HtmlDocument_methods.createElementNS$2(t1, "http://www.w3.org/2000/svg", "feGaussianBlur"))); + (t24 && C.FEGaussianBlurElement_methods).set$attributes(t24, P.LinkedHashMap_LinkedHashMap$_literal(["stdDeviation", "2.5"], t3, t3)); + t25 = type$.FEMergeElement._as(t23._as(C.HtmlDocument_methods.createElementNS$2(t1, "http://www.w3.org/2000/svg", "feMerge"))); + t26 = type$.FEMergeNodeElement; + t27 = t26._as(t23._as(C.HtmlDocument_methods.createElementNS$2(t1, "http://www.w3.org/2000/svg", "feMergeNode"))); + t26 = t26._as(t23._as(C.HtmlDocument_methods.createElementNS$2(t1, "http://www.w3.org/2000/svg", "feMergeNode"))); + (t26 && C.FEMergeNodeElement_methods).set$attributes(t26, P.LinkedHashMap_LinkedHashMap$_literal(["in", "SourceGraphic"], t3, t3)); + t28 = type$.JSArray_legacy_Element; + (t25 && C.FEMergeElement_methods).set$children(t25, H.setRuntimeTypeInfo([t27, t26], t28)); + drop_shadow = H.setRuntimeTypeInfo([t24, t25], type$.JSArray_legacy_SvgElement); + filter_element = type$.FilterElement._as(t23._as(C.HtmlDocument_methods.createElementNS$2(t1, "http://www.w3.org/2000/svg", "filter"))); + (filter_element && C.FilterElement_methods).set$children(filter_element, drop_shadow); + C.FilterElement_methods.set$attributes(filter_element, P.LinkedHashMap_LinkedHashMap$_literal(["id", "shadow", "x", "-100%", "y", "-100%", "width", "300%", "height", "300%"], t3, t3)); + defns = type$.DefsElement._as(t23._as(C.HtmlDocument_methods.createElementNS$2(t1, "http://www.w3.org/2000/svg", "defs"))); + (defns && C.DefsElement_methods).set$children(defns, H.setRuntimeTypeInfo([filter_element], t28)); + t22.appendChild(defns); + main_arrows = P.SvgSvgElement_SvgSvgElement(); + C.SvgSvgElement_methods.set$attributes(main_arrows, P.LinkedHashMap_LinkedHashMap$_literal(["id", "main-arrows", "width", "85px", "height", "85px"], t3, t3)); + side_arrows = P.SvgSvgElement_SvgSvgElement(); + C.SvgSvgElement_methods.set$attributes(side_arrows, P.LinkedHashMap_LinkedHashMap$_literal(["id", "side-arrows", "width", "85px", "height", "85px"], t3, t3)); + t28 = type$.GElement; + side_view_svg_viewport = t28._as(t23._as(C.HtmlDocument_methods.createElementNS$2(t1, "http://www.w3.org/2000/svg", "g"))); + (side_view_svg_viewport && C.GElement_methods).set$attributes(side_view_svg_viewport, P.LinkedHashMap_LinkedHashMap$_literal(["id", "side-view-svg-viewport"], t3, t3)); + main_view_svg_viewport = t28._as(t23._as(C.HtmlDocument_methods.createElementNS$2(t1, "http://www.w3.org/2000/svg", "g"))); + (main_view_svg_viewport && C.GElement_methods).set$attributes(main_view_svg_viewport, P.LinkedHashMap_LinkedHashMap$_literal(["id", "main-view-svg-viewport"], t3, t3)); + t21.appendChild(side_view_svg_viewport); + t22.appendChild(main_view_svg_viewport); + t28 = type$.CircleElement; + side_view_dummy_elt = t28._as(t23._as(C.HtmlDocument_methods.createElementNS$2(t1, "http://www.w3.org/2000/svg", "circle"))); + (side_view_dummy_elt && C.CircleElement_methods).set$attributes(side_view_dummy_elt, P.LinkedHashMap_LinkedHashMap$_literal(["id", "dummy-elt-side-view", "r", "100", "cx", "100", "cy", "50", "fill", "white"], t3, t3)); + main_view_dummy_elt = t28._as(t23._as(C.HtmlDocument_methods.createElementNS$2(t1, "http://www.w3.org/2000/svg", "circle"))); + (main_view_dummy_elt && C.CircleElement_methods).set$attributes(main_view_dummy_elt, P.LinkedHashMap_LinkedHashMap$_literal(["id", "dummy-elt-main-view", "r", "200", "cx", "100", "cy", "100", "fill", "white"], t3, t3)); + side_view_svg_viewport.appendChild(side_view_dummy_elt); + main_view_svg_viewport.appendChild(main_view_dummy_elt); + t6.appendChild(t7); + t6.appendChild(t15); + t6.appendChild(t16); + t6.appendChild(t17); + t6.appendChild(t18); + t6.appendChild(t10); + t6.appendChild(t11); + t7.appendChild(t12); + t7.appendChild(side_main_separator); + t7.appendChild(t20); + self.setup_splits(false); + C.DivElement_methods.set$attributes(t13, P.LinkedHashMap_LinkedHashMap$_literal(["class", "error-message"], t3, t3)); + t19.error_message_component = new L.ErrorMessageComponent(t13); + t12.appendChild(t14); + t12.appendChild(t21); + t12.appendChild(side_arrows); + t20.appendChild(t22); + t20.appendChild(main_arrows); + side_pane_width = window.localStorage.getItem("scadnano:side-pane-width"); + if (side_pane_width == null) + side_pane_width = "8%"; + main_pane_width = C.JSNumber_methods.toString$0(100 - P.num_parse(C.JSString_methods.substring$2(side_pane_width, 0, side_pane_width.length - 1))) + "%"; + t12.setAttribute("style", "width: " + side_pane_width); + t20.setAttribute("style", "width: " + main_pane_width); + t19.handle_keyboard_mouse_events$0(); + t9.design_view = t19; + t6 = new D.OxviewViewComponent(); + P.print("creating new OxviewViewComponent"); + t7 = t1.createElement("div"); + C.DivElement_methods.set$attributes(t7, P.LinkedHashMap_LinkedHashMap$_literal(["id", "oxview-pane", "class", "split"], t3, t3)); + t6.div = t7; + t1 = t1.createElement("iframe"); + C.IFrameElement_methods.set$attributes(t1, P.LinkedHashMap_LinkedHashMap$_literal(["height", "100%", "width", "100%", "src", string$.https_, "id", "oxview-frame"], t3, t3)); + t6.frame = t1; + t7.appendChild(t1); + t9.oxview_view = t6; + t5.appendChild(t8); + t5.appendChild(t6.div); + t9.update_showing_oxview$0(); + $async$self.view = t9; + t6 = $async$self.store; + t6 = t6.get$state(t6); + t9.update_showing_oxview$0(); + store = $.app.store; + t5 = $.$get$ErrorBoundary().call$0(); + t8 = $.$get$ReduxProvider().call$0(); + J.set$store$z(t8, store); + t8 = t5.call$1(t8.call$1($.$get$ConnectedMenu().call$0().call$0())); + $.$get$render().call$2(t8, t4); + t9.design_view.render$1(0, t6); + t6 = $.$get$ErrorBoundary().call$0(); + t9 = $.$get$ReduxProvider().call$0(); + J.set$store$z(t9, store); + t9 = t6.call$1(t9.call$1($.$get$ConnectedEditAndSelectModes().call$0().call$0())); + $.$get$render().call$2(t9, t2); + self.fit_and_center(); + t2 = $async$self.view.oxview_view.frame; + t9 = type$._ElementEventStreamImpl_legacy_Event; + t6 = t9._eval$1("~(1)?")._as(new G.App_start_closure($async$self)); + type$.nullable_void_Function._as(null); + W._EventStreamSubscription$(t2, "load", t6, false, t9._precomputed1); + t9 = $async$self.store; + self.set_zoom_speed(t9.get$state(t9).ui_state.storables.zoom_speed); + // implicit return + return P._asyncReturn(null, $async$completer); + } + }); + return P._asyncStartSync($async$start$0, $async$completer); + }, + disable_keyboard_shortcuts_while$1$1: function(f, $T) { + return this.disable_keyboard_shortcuts_while$body$App($T._eval$1("Future<0*>*()*")._as(f), $T, $T._eval$1("0*")); + }, + disable_keyboard_shortcuts_while$body$App: function(f, $T, $async$type) { + var $async$goto = 0, + $async$completer = P._makeAsyncAwaitCompleter($async$type), + $async$returnValue, $async$self = this, return_value; + var $async$disable_keyboard_shortcuts_while$1$1 = P._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { + if ($async$errorCode === 1) + return P._asyncRethrow($async$result, $async$completer); + while (true) + switch ($async$goto) { + case 0: + // Function start + $async$self.keyboard_shortcuts_enabled = false; + $async$goto = 3; + return P._asyncAwait(f.call$0(), $async$disable_keyboard_shortcuts_while$1$1); + case 3: + // returning from await. + return_value = $async$result; + $async$self.keyboard_shortcuts_enabled = true; + $async$returnValue = return_value; + // goto return + $async$goto = 1; + break; + case 1: + // return + return P._asyncReturn($async$returnValue, $async$completer); + } + }); + return P._asyncStartSync($async$disable_keyboard_shortcuts_while$1$1, $async$completer); + }, + dispatch$1: function(action) { + var underlying_action, t1, _this = this; + if (!type$.legacy_FastAction._is(action)) + _this.store.dispatch$1(action); + underlying_action = action instanceof U.ThrottledActionFast ? action.action : action; + if (underlying_action instanceof U.SelectionRopeCreate || underlying_action instanceof U.SelectionRopeMouseMove || underlying_action instanceof U.SelectionRopeAddPoint || underlying_action instanceof U.SelectionRopeRemove) { + t1 = _this.store_selection_rope._dispatchers; + if (0 >= t1.length) + return H.ioore(t1, 0); + t1[0].call$1(action); + } + if (underlying_action instanceof U.SelectionBoxCreate || underlying_action instanceof U.SelectionBoxSizeChange || underlying_action instanceof U.SelectionBoxRemove) { + t1 = _this.store_selection_box._dispatchers; + if (0 >= t1.length) + return H.ioore(t1, 0); + t1[0].call$1(action); + } + if (underlying_action instanceof U.PotentialCrossoverCreate || underlying_action instanceof U.PotentialCrossoverMove || underlying_action instanceof U.PotentialCrossoverRemove) { + t1 = _this.store_potential_crossover._dispatchers; + if (0 >= t1.length) + return H.ioore(t1, 0); + t1[0].call$1(action); + } + if (underlying_action instanceof U.DNAEndsMoveSetSelectedEnds || underlying_action instanceof U.DNAEndsMoveAdjustOffset || underlying_action instanceof U.DNAEndsMoveStop) { + t1 = _this.store_dna_ends_move._dispatchers; + if (0 >= t1.length) + return H.ioore(t1, 0); + t1[0].call$1(action); + } + if (underlying_action instanceof U.DNAExtensionsMoveSetSelectedExtensionEnds || underlying_action instanceof U.DNAExtensionsMoveAdjustPosition || underlying_action instanceof U.DNAExtensionsMoveStop) { + t1 = _this.store_extensions_move._dispatchers; + if (0 >= t1.length) + return H.ioore(t1, 0); + t1[0].call$1(action); + } + if (underlying_action instanceof U.HelixGroupMoveCreate || underlying_action instanceof U.HelixGroupMoveAdjustTranslation || underlying_action instanceof U.HelixGroupMoveStop) { + t1 = _this.store_helix_group_move._dispatchers; + if (0 >= t1.length) + return H.ioore(t1, 0); + t1[0].call$1(action); + } + }, + setup_warning_before_unload$0: function() { + C.C__BeforeUnloadEventStreamProvider.forTarget$1(window).listen$1(new G.App_setup_warning_before_unload_closure(this)); + }, + setup_save_design_to_localStorage_before_unload$0: function() { + C.C__BeforeUnloadEventStreamProvider.forTarget$1(window).listen$1(new G.App_setup_save_design_to_localStorage_before_unload_closure(this)); + }, + set$store: function(_, store) { + this.store = type$.legacy_Store_legacy_AppState._as(store); + }, + set$store_selection_rope: function(store_selection_rope) { + this.store_selection_rope = type$.legacy_Store_legacy_SelectionRope._as(store_selection_rope); + }, + set$store_selection_box: function(store_selection_box) { + this.store_selection_box = type$.legacy_Store_legacy_SelectionBox._as(store_selection_box); + }, + set$store_potential_crossover: function(store_potential_crossover) { + this.store_potential_crossover = type$.legacy_Store_legacy_PotentialCrossover._as(store_potential_crossover); + }, + set$store_extensions_move: function(store_extensions_move) { + this.store_extensions_move = type$.legacy_Store_legacy_DNAExtensionsMove._as(store_extensions_move); + }, + set$store_dna_ends_move: function(store_dna_ends_move) { + this.store_dna_ends_move = type$.legacy_Store_legacy_DNAEndsMove._as(store_dna_ends_move); + }, + set$store_helix_group_move: function(store_helix_group_move) { + this.store_helix_group_move = type$.legacy_Store_legacy_HelixGroupMove._as(store_helix_group_move); + } + }; + G.App_start_closure.prototype = { + call$1: function($event) { + var message_js_commands = P.LinkedHashMap_LinkedHashMap$_literal(["message", "iframe_drop", "files", H.setRuntimeTypeInfo([W.Blob_Blob(["camera.up.multiplyScalar(-1)"], E.blob_type_to_string(C.BlobType_0))], type$.JSArray_legacy_Blob), "ext", H.setRuntimeTypeInfo(["js"], type$.JSArray_legacy_String)], type$.legacy_String, type$.dynamic), + t1 = this.$this, + t2 = W._convertNativeToDart_Window(t1.view.oxview_view.frame.contentWindow); + if (t2 != null) + J.postMessage$2$x(t2, message_js_commands, string$.https_); + t2 = $.app.store; + N.update_oxview_view(t2.get$state(t2).design, t1.view.oxview_view.frame); + }, + $signature: 55 + }; + G.App_setup_warning_before_unload_closure.prototype = { + call$1: function($event) { + var t1, t2; + type$.legacy_Event._as($event); + t1 = this.$this; + t2 = t1.store; + if (t2.get$state(t2).ui_state.storables.warn_on_exit_if_unsaved) { + t1 = t1.store; + t1 = J.get$isNotEmpty$asx(t1.get$state(t1).undo_redo.undo_stack._list); + } else + t1 = false; + if (t1) + J.set$returnValue$x(type$.legacy_BeforeUnloadEvent._as($event), "You have unsaved work. Are you sure you want to leave?"); + }, + $signature: 55 + }; + G.App_setup_save_design_to_localStorage_before_unload_closure.prototype = { + call$1: function(_) { + var t1, t2; + type$.legacy_Event._as(_); + t1 = this.$this; + t2 = t1.store; + if (t2.get$state(t2).ui_state.storables.local_storage_design_choice.option !== C.LocalStorageDesignOption_on_exit) { + t2 = t1.store; + t2 = t2.get$state(t2).ui_state.storables.local_storage_design_choice.option === C.LocalStorageDesignOption_periodic; + } else + t2 = true; + if (t2) { + t1 = t1.store; + S.save(t1.get$state(t1), C.Storable_design); + } + }, + $signature: 55 + }; + G.setup_undo_redo_keyboard_listeners_closure.prototype = { + call$1: function($event) { + var t1, key, t2; + type$.legacy_KeyboardEvent._as($event); + t1 = J.getInterceptor$x($event); + key = t1.get$which($event); + if ((H.boolConversionCheck(t1.get$ctrlKey($event)) || H.boolConversionCheck(t1.get$metaKey($event))) && !H.boolConversionCheck(t1.get$shiftKey($event)) && key === 90 && !H.boolConversionCheck(t1.get$altKey($event))) { + t2 = $.app.store; + if (J.get$isNotEmpty$asx(t2.get$state(t2).undo_redo.undo_stack._list)) + $.app.dispatch$1(U.Undo_Undo(1)); + } + if ((H.boolConversionCheck(t1.get$ctrlKey($event)) || H.boolConversionCheck(t1.get$metaKey($event))) && H.boolConversionCheck(t1.get$shiftKey($event)) && key === 90 && !H.boolConversionCheck(t1.get$altKey($event))) { + t1 = $.app.store; + if (J.get$isNotEmpty$asx(t1.get$state(t1).undo_redo.redo_stack._list)) + $.app.dispatch$1(U.Redo_Redo(1)); + } + }, + $signature: 54 + }; + G.setup_save_open_dna_file_keyboard_listeners_closure.prototype = { + call$1: function($event) { + var t1, key; + type$.legacy_KeyboardEvent._as($event); + t1 = J.getInterceptor$x($event); + key = t1.get$which($event); + if ((H.boolConversionCheck(t1.get$ctrlKey($event)) || H.boolConversionCheck(t1.get$metaKey($event))) && !H.boolConversionCheck(t1.get$shiftKey($event)) && key === 83 && !H.boolConversionCheck(t1.get$altKey($event))) { + t1.preventDefault$0($event); + $.app.dispatch$1(U._$SaveDNAFile__$SaveDNAFile()); + } + if ((H.boolConversionCheck(t1.get$ctrlKey($event)) || H.boolConversionCheck(t1.get$metaKey($event))) && !H.boolConversionCheck(t1.get$shiftKey($event)) && key === 79 && !H.boolConversionCheck(t1.get$altKey($event))) { + t1.preventDefault$0($event); + J.click$0$x(document.getElementById("open-form-file")); + } + }, + $signature: 54 + }; + G.copy_selected_strands_to_clipboard_image_keyboard_listeners_closure.prototype = { + call$1: function($event) { + var t1, key; + type$.legacy_KeyboardEvent._as($event); + t1 = J.getInterceptor$x($event); + key = t1.get$which($event); + if ((H.boolConversionCheck(t1.get$ctrlKey($event)) || H.boolConversionCheck(t1.get$metaKey($event))) && !H.boolConversionCheck(t1.get$shiftKey($event)) && key === 73 && !H.boolConversionCheck(t1.get$altKey($event))) { + t1.preventDefault$0($event); + $.app.dispatch$1(U._$CopySelectedStandsToClipboardImage__$CopySelectedStandsToClipboardImage()); + } + }, + $signature: 54 + }; + A.strand_bounds_status.prototype = { + toString$0: function(_) { + return this._constants$_name; + } + }; + F.DNAFileType.prototype = {}; + F._$DNAFileTypeSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + return type$.legacy_DNAFileType._as(object).name; + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + return F._$valueOf2(H._asStringS(serialized)); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isPrimitiveSerializer: 1, + get$types: function() { + return C.List_Type_DNAFileType_bQh; + }, + get$wireName: function() { + return "DNAFileType"; + } + }; + E.DNASequencePredefined.prototype = { + get$sequence: function() { + var _this = this; + if (_this === C.DNASequencePredefined_M13p7249) + return $.$get$_m13_p7249(); + else if (_this === C.DNASequencePredefined_M13p7560) + return $.$get$_m13_p7560(); + else if (_this === C.DNASequencePredefined_M13p8064) + return $.$get$_m13_p8064(); + else if (_this === C.DNASequencePredefined_M13p8634) + return $.$get$_m13_p8634(); + else + throw H.wrapException(P.AssertionError$("should be unreachable")); + } + }; + E._$DNASequencePredefinedSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + return type$.legacy_DNASequencePredefined._as(object).name; + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + return E._$valueOf0(H._asStringS(serialized)); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isPrimitiveSerializer: 1, + get$types: function() { + return C.List_Type_DNASequencePredefined_1Sb; + }, + get$wireName: function() { + return "DNASequencePredefined"; + } + }; + N.BuiltMapValues_map_values_closure.prototype = { + call$2: function(key, value) { + var _this = this, + t1 = _this.K; + t1._eval$1("0*")._as(key); + return new P.MapEntry(key, _this.f.call$2(key, _this.Vin._eval$1("0*")._as(value)), t1._eval$1("@<0*>")._bind$1(_this.Vout._eval$1("0*"))._eval$1("MapEntry<1,2>")); + }, + $signature: function() { + return this.K._eval$1("@<0>")._bind$1(this.Vout)._bind$1(this.Vin)._eval$1("MapEntry<1*,2*>*(1*,3*)"); + } + }; + K.JSONSerializable.prototype = {}; + K.NoIndent.prototype = { + toString$0: function(_) { + return "NoIndent(\n " + H.S(this.value) + "\n)"; + }, + get$value: function(receiver) { + return this.value; + }, + set$value: function(receiver, val) { + return this.value = val; + } + }; + K.SuppressableIndentEncoder.prototype = { + convert$1: function(obj) { + var t1, t2, key, val, t3, + result = this.super$JsonEncoder$convert(obj); + for (t1 = this.replacer.replacement_map, t2 = t1.get$keys(t1), t2 = t2.get$iterator(t2); t2.moveNext$0();) { + key = t2.get$current(t2); + val = t1.$index(0, key); + val.toString; + val = H.stringReplaceAllUnchecked(val, '":', '": '); + val = H.stringReplaceAllUnchecked(val, ",", ", "); + t3 = '"@@' + H.S(key) + '@@"'; + result = H.stringReplaceFirstUnchecked(result, t3, val, 0); + } + return result; + }, + get$indent: function() { + return " "; + } + }; + K.Replacer.prototype = { + default_encode$1: function(obj) { + var t1, t2; + if (obj instanceof K.NoIndent) { + t1 = this.unique_id++; + t2 = this.encoder_no_indent; + this.replacement_map.$indexSet(0, t1, P._JsonStringStringifier_stringify(obj.value, t2._toEncodable, t2.indent)); + return "@@" + t1 + "@@"; + } else + return obj; + } + }; + Z.horizontal_reflection_of_strands_closure.prototype = { + call$1: function(b) { + var t1, _this = this; + b.get$_domain$_$this()._start = _this.reflected_end; + b.get$_domain$_$this()._end = _this.reflected_start; + t1 = _this.domain.forward; + t1 = _this.reverse_polarity ? t1 : !t1; + b.get$_domain$_$this()._domain$_forward = t1; + b.get$deletions().replace$1(0, _this.reflected_deletions); + b.get$insertions().replace$1(0, _this.reflected_insertions); + b.get$_domain$_$this()._is_first = _this.is_first; + b.get$_domain$_$this()._is_last = _this.is_last; + return b; + }, + $signature: 7 + }; + Z.horizontal_reflection_of_strands_closure0.prototype = { + call$1: function(b) { + b.get$substrands().replace$1(0, this._box_0.mirrored_substrands); + return b; + }, + $signature: 2 + }; + Z.reflect_insertions_closure.prototype = { + call$1: function(b) { + b.get$_domain$_$this()._domain$_offset = this.reflected_offset; + return b; + }, + $signature: 47 + }; + Z.reflect_insertions_closure0.prototype = { + call$2: function(i1, i2) { + var t1 = type$.legacy_Insertion; + t1._as(i1); + t1._as(i2); + return i1.offset - i2.offset; + }, + $signature: 140 + }; + Z.vertical_reflection_of_strands_closure.prototype = { + call$1: function(b) { + var t1, _this = this; + b.get$_domain$_$this()._domain$_helix = _this.reflected_helix_idx; + t1 = _this.domain.forward; + t1 = _this.reverse_polarity ? t1 : !t1; + b.get$_domain$_$this()._domain$_forward = t1; + b.get$_domain$_$this()._is_first = _this.is_first; + b.get$_domain$_$this()._is_last = _this.is_last; + return b; + }, + $signature: 7 + }; + Z.vertical_reflection_of_strands_closure0.prototype = { + call$1: function(b) { + b.get$substrands().replace$1(0, this._box_0.mirrored_substrands); + return b; + }, + $signature: 2 + }; + E.find_allowable_offset_closure.prototype = { + call$1: function(e) { + var t1, t2; + type$.legacy_DNAEnd._as(e); + t1 = e.is_start; + t2 = e.offset; + if (t1) + t1 = t2; + else { + if (typeof t2 !== "number") + return t2.$sub(); + t1 = t2 - 1; + } + return t1; + }, + $signature: 226 + }; + E.find_allowable_offset_closure0.prototype = { + call$1: function(ss) { + return type$.legacy_Domain._as(ss).forward === this.substrand.forward; + }, + $signature: 21 + }; + E.find_allowable_offset_closure1.prototype = { + call$1: function(o) { + var t1; + H._asIntS(o); + t1 = this.closest_unselected_offset; + if (this.highest) { + if (typeof o !== "number") + return o.$lt(); + if (typeof t1 !== "number") + return H.iae(t1); + t1 = o < t1; + } else { + if (typeof o !== "number") + return o.$gt(); + if (typeof t1 !== "number") + return H.iae(t1); + t1 = o > t1; + } + return t1; + }, + $signature: 23 + }; + A._save_file_codenano_closure.prototype = { + call$1: function(group) { + return type$.legacy_HelixGroup._as(group).grid; + }, + $signature: 229 + }; + F.export_dna_sequences_middleware_closure.prototype = { + call$1: function(strand) { + return type$.legacy_Strand._as(strand).is_scaffold; + }, + $signature: 15 + }; + F.export_dna_sequences_middleware_closure0.prototype = { + call$1: function(strand) { + return type$.legacy_Strand._as(strand).is_scaffold; + }, + $signature: 15 + }; + F.export_dna_sequences_middleware_closure1.prototype = { + call$1: function(response) { + var $content = type$.legacy_List_legacy_int._as(response); + E.save_file(this.filename, $content, null, this.blob_type); + }, + $signature: 231 + }; + F.export_dna_sequences_middleware_closure2.prototype = { + call$2: function(e, stackTrace) { + var msg, t1, cause = ""; + if (F.has_cause(e)) + cause = H._asStringS(e.get$cause()); + else if (F.has_message(e)) + cause = H._asStringS(J.get$message$x(e)); + msg = C.JSString_methods.$add(J.$add$ansx(cause, "\n\n"), J.toString$0$(stackTrace)); + t1 = this.store; + t1.dispatch$1(U.ErrorMessageSet_ErrorMessageSet(msg)); + $.app.view.design_view.render$1(0, t1.get$state(t1)); + }, + "call*": "call$2", + $requiredArgCount: 2, + $signature: 163 + }; + F.export_dna_closure.prototype = { + call$1: function(v) { + return J.toString$0$(type$.legacy_ExportDNAFormat._as(v)); + }, + $signature: 232 + }; + F.export_dna_closure0.prototype = { + call$1: function(v) { + return J.toString$0$(type$.legacy_StrandOrder._as(v)); + }, + $signature: 233 + }; + F.cando_compatible_csv_export_closure.prototype = { + call$1: function(match) { + var t1 = type$.legacy_RegExpMatch._as(match)._match; + if (0 >= t1.length) + return H.ioore(t1, 0); + return t1[0]; + }, + $signature: 234 + }; + V.get_svg_elements_of_base_pairs_closure.prototype = { + call$1: function(offset) { + H._asIntS(offset); + return document.getElementById("base_pair-" + H.S(this.helix) + "-" + H.S(offset)); + }, + $signature: 235 + }; + V.make_portable_closure.prototype = { + call$1: function(v) { + type$.legacy_TextContentElement._as(v); + return this.text_ele.parentNode.appendChild(v); + }, + $signature: 236 + }; + X.forbid_create_circular_strand_no_crossovers_middleware_closure.prototype = { + call$1: function(b) { + var t1 = b.get$_address$_$this()._offset; + if (typeof t1 !== "number") + return t1.$add(); + b.get$_address$_$this()._offset = t1 + this.delta; + return b; + }, + $signature: 70 + }; + B._get_helices_to_process_closure.prototype = { + call$2: function(h1, h2) { + var t2, + t1 = type$.legacy_Helix; + t1._as(h1); + t1._as(h2); + t1 = this.group; + t2 = J.$index$asx(t1.get$helices_view_order_inverse()._map$_map, h1.idx); + t1 = J.$index$asx(t1.get$helices_view_order_inverse()._map$_map, h2.idx); + if (typeof t2 !== "number") + return t2.$sub(); + if (typeof t1 !== "number") + return H.iae(t1); + return t2 - t1; + }, + "call*": "call$2", + $requiredArgCount: 2, + $signature: 238 + }; + B._first_crossover_addresses_between_helices_closure.prototype = { + call$1: function(address_crossover) { + return !type$.legacy_Tuple2_of_legacy_Address_and_legacy_Crossover._as(address_crossover).item2.is_scaffold; + }, + $signature: 139 + }; + B._first_crossover_addresses_between_helices_closure0.prototype = { + call$1: function(address_crossover) { + return type$.legacy_Tuple2_of_legacy_Address_and_legacy_Crossover._as(address_crossover).item2.is_scaffold; + }, + $signature: 139 + }; + B.RollXY.prototype = { + toString$0: function(_) { + return "RollZY(roll=" + H.S(this.roll) + ", x=" + H.S(this.x) + ", y=" + H.S(this.y) + ")"; + } + }; + B._calculate_rolls_and_positions_closure.prototype = { + call$1: function(b) { + b.get$_address$_$this()._address$_forward = true; + return b; + }, + $signature: 70 + }; + R.helix_idxs_change_middleware_closure.prototype = { + call$1: function(element) { + return J.get$length$asx(type$.legacy_MapEntry_of_legacy_int_and_legacy_List_legacy_int._as(element).value) !== 1; + }, + $signature: 240 + }; + R.helix_idxs_change_middleware_closure0.prototype = { + call$1: function(element) { + type$.legacy_MapEntry_of_legacy_int_and_legacy_List_legacy_int._as(element); + return J.join$1$ax(element.value, ", ") + " to " + J.toString$0$(element.key); + }, + $signature: 241 + }; + K.load_file_middleware_closure.prototype = { + call$0: function() { + var t1 = this.action; + return this.store.dispatch$1(U.LoadDNAFile_LoadDNAFile(t1.content, t1.dna_file_type, t1.filename, t1.unit_testing, t1.write_local_storage)); + }, + $signature: 1 + }; + S.Storable.prototype = {}; + N.OxdnaVector.prototype = { + dot$1: function(other) { + return this.x * other.x + this.y * other.y + this.z * other.z; + }, + cross$1: function(other) { + var t1 = this.y, + t2 = other.z, + t3 = this.z, + t4 = other.y, + t5 = other.x, + t6 = this.x; + return new N.OxdnaVector(t1 * t2 - t3 * t4, t3 * t5 - t6 * t2, t6 * t4 - t1 * t5); + }, + length$0: function(_) { + var t1 = this.x, + t2 = this.y, + t3 = this.z; + return Math.sqrt(t1 * t1 + t2 * t2 + t3 * t3); + }, + normalize$0: function(_) { + var _this = this, + len = _this.length$0(0); + return new N.OxdnaVector(_this.x / len, _this.y / len, _this.z / len); + }, + $add: function(_, other) { + return new N.OxdnaVector(this.x + other.x, this.y + other.y, this.z + other.z); + }, + $sub: function(_, other) { + type$.legacy_OxdnaVector._as(other); + return new N.OxdnaVector(this.x - other.x, this.y - other.y, this.z - other.z); + }, + $mul: function(_, scalar) { + return new N.OxdnaVector(this.x * scalar, this.y * scalar, this.z * scalar); + }, + $negate: function(_) { + return new N.OxdnaVector(-this.x, -this.y, -this.z); + }, + toString$0: function(_) { + return "(" + H.S(this.x) + ", " + H.S(this.y) + ", " + H.S(this.z) + ")"; + }, + rotate$2: function(_, angle, axis) { + var u = axis.normalize$0(0), + t1 = angle * 3.141592653589793 / 180, + c = Math.cos(t1), + s = Math.sin(t1), + u_cross_this = u.cross$1(this); + return u.$mul(0, this.dot$1(u)).$add(0, u_cross_this.$mul(0, c).cross$1(u)).$sub(0, u_cross_this.$mul(0, s)); + } + }; + N.OxdnaNucleotide.prototype = {}; + N.OxdnaStrand.prototype = { + set$nucleotides: function(nucleotides) { + this.nucleotides = type$.legacy_List_legacy_OxdnaNucleotide._as(nucleotides); + } + }; + N.OxdnaSystem.prototype = { + compute_bounding_box$0: function() { + var t1, t2, min_vec, max_vec, _i, t3, t4, _i0, nuc, t5, t6, t7, box, max_side; + for (t1 = this.strands, t2 = t1.length, min_vec = null, max_vec = null, _i = 0; _i < t2; ++_i) + for (t3 = t1[_i].nucleotides, t4 = t3.length, _i0 = 0; _i0 < t4; ++_i0) { + nuc = t3[_i0]; + if (min_vec == null) { + min_vec = nuc.center; + max_vec = min_vec; + } else { + t5 = nuc.center; + t6 = t5.x; + t7 = t5.y; + t5 = t5.z; + min_vec = new N.OxdnaVector(Math.min(min_vec.x, t6), Math.min(min_vec.y, t7), Math.min(min_vec.z, t5)); + max_vec = new N.OxdnaVector(Math.max(max_vec.x, t6), Math.max(max_vec.y, t7), Math.max(max_vec.z, t5)); + } + } + if (min_vec != null && max_vec != null) { + box = max_vec.$sub(0, min_vec).$add(0, new N.OxdnaVector(5, 5, 5)).$mul(0, 1.5); + max_side = Math.max(box.x, Math.max(box.y, box.z)); + return new N.OxdnaVector(max_side, max_side, max_side); + } else + return new N.OxdnaVector(1, 1, 1); + }, + oxdna_output$0: function() { + var t2, nuc_count, strand_count, _i, strand, t3, t4, nuc_index, _i0, nuc, n5, n3, n30, t5, t6, t7, t8, $top, + bbox = this.compute_bounding_box$0(), + t1 = type$.JSArray_legacy_String, + dat_list = H.setRuntimeTypeInfo(["t = 0", "b = " + H.S(bbox.x) + " " + H.S(bbox.y) + " " + H.S(bbox.z), "E = 0 0 0"], t1), + top_list = H.setRuntimeTypeInfo([], t1); + for (t1 = this.strands, t2 = t1.length, nuc_count = 0, strand_count = 0, _i = 0; _i < t1.length; t1.length === t2 || (0, H.throwConcurrentModificationError)(t1), ++_i) { + strand = t1[_i]; + ++strand_count; + for (t3 = strand.nucleotides, t4 = t3.length, nuc_index = 0, _i0 = 0; _i0 < t3.length; t3.length === t4 || (0, H.throwConcurrentModificationError)(t3), ++_i0, nuc_count = n3) { + nuc = t3[_i0]; + n5 = nuc_count - 1; + n3 = nuc_count + 1; + if (nuc_index === 0) + n5 = -1; + n30 = nuc_index === strand.nucleotides.length - 1 ? -1 : n3; + ++nuc_index; + C.JSArray_methods.add$1(top_list, "" + strand_count + " " + nuc.base + " " + n30 + " " + n5); + t5 = nuc.center; + t6 = nuc.normal; + t7 = -t6.x; + t8 = -t6.y; + t6 = -t6.z; + t6 = H.S(t5.x - t7 * 0.6) + " " + H.S(t5.y - t8 * 0.6) + " " + H.S(t5.z - t6 * 0.6) + " " + (H.S(t7) + " " + H.S(t8) + " " + H.S(t6) + " "); + t8 = nuc.forward; + t8 = t6 + (H.S(t8.x) + " " + H.S(t8.y) + " " + H.S(t8.z) + " "); + t6 = nuc.v; + t6 = t8 + (H.S(t6.x) + " " + H.S(t6.y) + " " + H.S(t6.z) + " "); + t8 = nuc.L; + C.JSArray_methods.add$1(dat_list, t6 + (H.S(t8.x) + " " + H.S(t8.y) + " " + H.S(t8.z))); + } + } + $top = C.JSArray_methods.join$1(top_list, "\n") + "\n"; + return new S.Tuple2(C.JSArray_methods.join$1(dat_list, "\n") + "\n", "" + nuc_count + " " + strand_count + "\n" + $top, type$.Tuple2_of_legacy_String_and_legacy_String); + } + }; + F.start_timer_periodic_design_save_local_storage_closure.prototype = { + call$1: function(timer) { + var t1; + type$.legacy_Timer._as(timer); + t1 = $.app.store; + S.save(t1.get$state(t1), C.Storable_design); + }, + $signature: 243 + }; + T._save_file_closure.prototype = { + call$0: function() { + return T.change_tab_title(false); + }, + $signature: 1 + }; + Q.Box.prototype = {}; + U.app_state_reducer_closure.prototype = { + call$1: function(m) { + var t3, + t1 = this._box_0, + design = t1.state.design, + t2 = t1.action; + if (design != null) { + design = U.design_composed_local_reducer(design, t2); + design = $.$get$design_whole_local_reducer().call$2(design, t2); + } + if (design == null) + t2 = null; + else { + t2 = new N.DesignBuilder(); + N.Design__initializeBuilder(t2); + t2._design0$_$v = design; + } + m.get$_app_state$_$this()._design = t2; + t2 = m.get$ui_state(); + t3 = K.ui_state_local_reducer(t1.state.ui_state, t1.action); + if (t3 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + t2._app_ui_state$_$v = t3; + t2 = H._asStringS(new B.TypedReducer(U.app_state_reducer__error_message_reducer$closure(), type$.TypedReducer_of_legacy_String_and_legacy_ErrorMessageSet).call$2(t1.state.error_message, t1.action)); + m.get$_app_state$_$this()._error_message = t2; + t1 = t1.state.editor_content; + m.get$_app_state$_$this()._editor_content = t1; + return m; + }, + $signature: 39 + }; + U.app_state_reducer_closure0.prototype = { + call$1: function(m) { + var t4, + t1 = this._box_0, + t2 = this.original_state, + t3 = U.design_global_reducer(t1.state.design, t2, t1.action); + if (t3 == null) + t3 = null; + else { + t4 = new N.DesignBuilder(); + N.Design__initializeBuilder(t4); + t4._design0$_$v = t3; + t3 = t4; + } + m.get$_app_state$_$this()._design = t3; + t3 = m.get$ui_state(); + t1 = K.ui_state_global_reducer(t1.state.ui_state, t2, t1.action); + if (t1 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + t3._app_ui_state$_$v = t1; + return m; + }, + $signature: 39 + }; + K.ui_state_local_reducer_closure.prototype = { + call$1: function(u) { + var _null = null, _s5_ = "other", + t1 = u.get$storables(), + t2 = this.ui_state, + t3 = this.action, + t4 = K.app_ui_state_storable_local_reducer(t2.storables, t3); + if (t4 == null) + H.throwExpression(P.ArgumentError$notNull(_s5_)); + t1._app_ui_state_storables$_$v = t4; + t1 = H._asBoolS($.$get$changed_since_last_save_reducer().call$2(t2.changed_since_last_save, t3)); + u.get$_app_ui_state$_$this()._changed_since_last_save = t1; + t1 = new B.TypedReducer(K.app_ui_state_reducer__last_mod_5p_modification_add_reducer$closure(), type$.TypedReducer_of_legacy_Modification5Prime_and_legacy_ModificationAdd).call$2(t2.last_mod_5p, t3); + if (t1 == null) + t1 = _null; + else { + t4 = new Z.Modification5PrimeBuilder(); + type$.legacy_Modification5Prime._as(t1); + t4._modification$_$v = t1; + t1 = t4; + } + u.get$_app_ui_state$_$this()._last_mod_5p = t1; + t1 = new B.TypedReducer(K.app_ui_state_reducer__last_mod_3p_modification_add_reducer$closure(), type$.TypedReducer_of_legacy_Modification3Prime_and_legacy_ModificationAdd).call$2(t2.last_mod_3p, t3); + if (t1 == null) + t1 = _null; + else { + t4 = new Z.Modification3PrimeBuilder(); + type$.legacy_Modification3Prime._as(t1); + t4._modification$_$v = t1; + t1 = t4; + } + u.get$_app_ui_state$_$this()._last_mod_3p = t1; + t1 = new B.TypedReducer(K.app_ui_state_reducer__last_mod_int_modification_add_reducer$closure(), type$.TypedReducer_of_legacy_ModificationInternal_and_legacy_ModificationAdd).call$2(t2.last_mod_int, t3); + if (t1 == null) + t1 = _null; + else { + t4 = new Z.ModificationInternalBuilder(); + type$.legacy_ModificationInternal._as(t1); + t4._modification$_$v = t1; + t1 = t4; + } + u.get$_app_ui_state$_$this()._last_mod_int = t1; + t1 = $.$get$optimized_selection_rope_reducer().call$2(t2.selection_rope, t3); + if (t1 == null) + t1 = _null; + else { + t4 = new F.SelectionRopeBuilder(); + type$.legacy_SelectionRope._as(t1); + t4._selection_rope$_$v = t1; + t1 = t4; + } + u.get$_app_ui_state$_$this()._selection_rope = t1; + t1 = H._asBoolS($.$get$drawing_potential_crossover_reducer().call$2(t2.potential_crossover_is_drawing, t3)); + u.get$_app_ui_state$_$this()._potential_crossover_is_drawing = t1; + t1 = H._asBoolS($.$get$moving_dna_ends_reducer().call$2(t2.dna_ends_are_moving, t3)); + u.get$_app_ui_state$_$this()._dna_ends_are_moving = t1; + t1 = H._asBoolS($.$get$slice_bar_is_moving_reducer().call$2(t2.slice_bar_is_moving, t3)); + u.get$_app_ui_state$_$this()._slice_bar_is_moving = t1; + t1 = H._asBoolS($.$get$helix_group_is_moving_reducer().call$2(t2.helix_group_is_moving, t3)); + u.get$_app_ui_state$_$this()._helix_group_is_moving = t1; + t1 = H._asBoolS($.$get$load_dialog_reducer().call$2(t2.load_dialog, t3)); + u.get$_app_ui_state$_$this()._load_dialog = t1; + t1 = $.$get$strands_move_local_reducer().call$2(t2.strands_move, t3); + if (t1 == null) + t1 = _null; + else { + t4 = new U.StrandsMoveBuilder(); + type$.legacy_StrandsMove._as(t1); + t4._strands_move$_$v = t1; + t1 = t4; + } + u.get$_app_ui_state$_$this()._strands_move = t1; + t1 = $.$get$domains_move_local_reducer().call$2(t2.domains_move, t3); + if (t1 == null) + t1 = _null; + else { + t4 = new V.DomainsMoveBuilder(); + type$.legacy_DomainsMove._as(t1); + t4._domains_move$_$v = t1; + t1 = t4; + } + u.get$_app_ui_state$_$this()._domains_move = t1; + t1 = $.$get$side_view_mouse_grid_pos_reducer().call$2(t2.side_view_grid_position_mouse_cursor, t3); + if (t1 == null) + t1 = _null; + else { + t4 = new D.GridPositionBuilder(); + type$.legacy_GridPosition._as(t1); + t4._grid_position$_$v = t1; + t1 = t4; + } + u.get$_app_ui_state$_$this()._side_view_grid_position_mouse_cursor = t1; + t1 = type$.legacy_Point_legacy_num._as($.$get$side_view_position_mouse_cursor_reducer().call$2(t2.side_view_position_mouse_cursor, t3)); + u.get$_app_ui_state$_$this().set$_side_view_position_mouse_cursor(t1); + t1 = $.$get$context_menu_reducer().call$2(t2.context_menu, t3); + if (t1 == null) + t1 = _null; + else { + t4 = new B.ContextMenuBuilder(); + type$.legacy_ContextMenu._as(t1); + t4._context_menu$_$v = t1; + t1 = t4; + } + u.get$_app_ui_state$_$this()._context_menu = t1; + t1 = $.$get$dialog_reducer().call$2(t2.dialog, t3); + if (t1 == null) + t1 = _null; + else { + t4 = new E.DialogBuilder(); + type$.legacy_Dialog._as(t1); + t4._dialog$_$v = t1; + t1 = t4; + } + u.get$_app_ui_state$_$this()._dialog = t1; + t1 = $.$get$color_picker_strand_reducer().call$2(t2.color_picker_strand, t3); + if (t1 == null) + t1 = _null; + else { + t4 = new E.StrandBuilder(); + type$.legacy_Strand._as(t1); + t4._strand$_$v = t1; + t1 = t4; + } + u.get$_app_ui_state$_$this()._color_picker_strand = t1; + t1 = type$.legacy_Substrand._as($.$get$color_picker_substrand_reducer().call$2(t2.color_picker_substrand, t3)); + u.get$_app_ui_state$_$this()._color_picker_substrand = t1; + t1 = K.helix_change_apply_to_all_reducer(t2.helix_change_apply_to_all, t3); + u.get$_app_ui_state$_$this()._helix_change_apply_to_all = t1; + t1 = u.get$example_designs(); + t4 = type$.legacy_ExampleDesigns._as(new B.TypedReducer(K.app_ui_state_reducer__example_designs_idx_set_reducer$closure(), type$.TypedReducer_of_legacy_ExampleDesigns_and_legacy_ExampleDesignsLoad).call$2(t2.example_designs, t3)); + if (t4 == null) + H.throwExpression(P.ArgumentError$notNull(_s5_)); + t1._example_designs$_$v = t4; + t1 = u.get$dna_assign_options(); + t4 = type$.legacy_DNAAssignOptions._as(new B.TypedReducer(K.app_ui_state_reducer__dna_assign_options_reducer$closure(), type$.TypedReducer_of_legacy_DNAAssignOptions_and_legacy_AssignDNA).call$2(t2.dna_assign_options, t3)); + if (t4 == null) + H.throwExpression(P.ArgumentError$notNull(_s5_)); + t1._dna_assign_options$_$v = t4; + u.get$mouseover_datas().replace$1(0, $.$get$mouseover_data_reducer().call$2(t2.mouseover_datas, t3)); + t1 = H._asStringS($.$get$dna_sequence_png_uri_reducer().call$2(t2.dna_sequence_png_uri, t3)); + u.get$_app_ui_state$_$this()._dna_sequence_png_uri = t1; + t1 = H._asNumS($.$get$dna_sequence_horizontal_offset_reducer().call$2(t2.dna_sequence_png_horizontal_offset, t3)); + u.get$_app_ui_state$_$this()._dna_sequence_png_horizontal_offset = t1; + t1 = H._asNumS($.$get$dna_sequence_vertical_offset_reducer().call$2(t2.dna_sequence_png_vertical_offset, t3)); + u.get$_app_ui_state$_$this()._dna_sequence_png_vertical_offset = t1; + t1 = $.$get$export_svg_action_delayed_for_png_cache_reducer().call$2(t2.export_svg_action_delayed_for_png_cache, t3); + if (t1 == null) + t1 = _null; + else { + t4 = new U.ExportSvgBuilder(); + type$.legacy_ExportSvg._as(t1); + t4._$v = t1; + t1 = t4; + } + u.get$_app_ui_state$_$this()._export_svg_action_delayed_for_png_cache = t1; + t3 = H._asBoolS($.$get$is_zoom_above_threshold_reducer().call$2(t2.is_zoom_above_threshold, t3)); + u.get$_app_ui_state$_$this()._is_zoom_above_threshold = t3; + return u; + }, + $signature: 51 + }; + K.example_designs_idx_set_reducer_closure.prototype = { + call$1: function(b) { + var t1 = this.action.selected_idx; + b.get$_example_designs$_$this()._selected_idx = t1; + return b; + }, + $signature: 246 + }; + K.app_ui_state_storable_global_reducer_closure.prototype = { + call$1: function(b) { + var t1 = this.state.design.groups; + t1 = H._asStringS(J.get$first$ax(t1.get$keys(t1))); + b.get$_app_ui_state_storables$_$this()._displayed_group_name = t1; + return b; + }, + $signature: 62 + }; + K.app_ui_state_storable_global_reducer_closure0.prototype = { + call$1: function(b) { + var t1 = this._box_0.slice_bar_offset; + b.get$_app_ui_state_storables$_$this()._slice_bar_offset = t1; + return b; + }, + $signature: 62 + }; + K.app_ui_state_storable_global_reducer_closure1.prototype = { + call$1: function(b) { + var t4, + t1 = this.storables, + t2 = this.state, + t3 = this.action; + b.get$side_selected_helix_idxs().replace$1(0, $.$get$side_selected_helices_global_reducer().call$3(t1.side_selected_helix_idxs, t2, t3)); + t4 = H._asStringS(new X.TypedGlobalReducer(K.app_ui_state_reducer__displayed_group_name_group_remove_reducer$closure(), type$.TypedGlobalReducer_of_legacy_String_and_legacy_AppState_and_legacy_GroupRemove).call$3(t1.displayed_group_name, t2, t3)); + b.get$_app_ui_state_storables$_$this()._displayed_group_name = t4; + t3 = H._asIntS($.$get$slice_bar_offset_global_reducer().call$3(t1.slice_bar_offset, t2, t3)); + b.get$_app_ui_state_storables$_$this()._slice_bar_offset = t3; + return b; + }, + $signature: 62 + }; + K.app_ui_state_storable_local_reducer_closure.prototype = { + call$1: function(b) { + var t3, t4, + t1 = this.storables, + t2 = this.action; + b.get$side_selected_helix_idxs().replace$1(0, $.$get$side_selected_helices_reducer().call$2(t1.side_selected_helix_idxs, t2)); + t3 = H._asStringS($.$get$displayed_group_name_reducer().call$2(t1.displayed_group_name, t2)); + b.get$_app_ui_state_storables$_$this()._displayed_group_name = t3; + t3 = b.get$select_mode_state(); + t4 = type$.legacy_SelectModeState._as($.$get$select_mode_state_reducer().call$2(t1.select_mode_state, t2)); + if (t4 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + t3._select_mode_state$_$v = t4; + b.get$edit_modes().replace$1(0, $.$get$edit_modes_reducer().call$2(t1.edit_modes, t2)); + t3 = H._asBoolS(new B.TypedReducer(K.app_ui_state_reducer__show_dna_reducer$closure(), type$.TypedReducer_of_legacy_bool_and_legacy_ShowDNASet).call$2(t1.show_dna, t2)); + b.get$_app_ui_state_storables$_$this()._show_dna = t3; + t3 = H._asBoolS(new B.TypedReducer(K.app_ui_state_reducer__show_strand_names_reducer$closure(), type$.TypedReducer_of_legacy_bool_and_legacy_ShowStrandNamesSet).call$2(t1.show_strand_names, t2)); + b.get$_app_ui_state_storables$_$this()._show_strand_names = t3; + t3 = H._asBoolS(new B.TypedReducer(K.app_ui_state_reducer__show_strand_labels_reducer$closure(), type$.TypedReducer_of_legacy_bool_and_legacy_ShowStrandLabelsSet).call$2(t1.show_strand_labels, t2)); + b.get$_app_ui_state_storables$_$this()._show_strand_labels = t3; + t3 = H._asNumS(new B.TypedReducer(K.app_ui_state_reducer__strand_name_font_size_reducer$closure(), type$.TypedReducer_of_legacy_num_and_legacy_StrandNameFontSizeSet).call$2(t1.strand_name_font_size, t2)); + b.get$_app_ui_state_storables$_$this()._strand_name_font_size = t3; + t3 = H._asNumS(new B.TypedReducer(K.app_ui_state_reducer__strand_label_font_size_reducer$closure(), type$.TypedReducer_of_legacy_num_and_legacy_StrandLabelFontSizeSet).call$2(t1.strand_label_font_size, t2)); + b.get$_app_ui_state_storables$_$this()._strand_label_font_size = t3; + t3 = H._asBoolS(new B.TypedReducer(K.app_ui_state_reducer__show_domain_names_reducer$closure(), type$.TypedReducer_of_legacy_bool_and_legacy_ShowDomainNamesSet).call$2(t1.show_domain_names, t2)); + b.get$_app_ui_state_storables$_$this()._show_domain_names = t3; + t3 = H._asNumS(new B.TypedReducer(K.app_ui_state_reducer__domain_name_font_size_reducer$closure(), type$.TypedReducer_of_legacy_num_and_legacy_DomainNameFontSizeSet).call$2(t1.domain_name_font_size, t2)); + b.get$_app_ui_state_storables$_$this()._domain_name_font_size = t3; + t3 = H._asBoolS(new B.TypedReducer(K.app_ui_state_reducer__show_domain_labels_reducer$closure(), type$.TypedReducer_of_legacy_bool_and_legacy_ShowDomainLabelsSet).call$2(t1.show_domain_labels, t2)); + b.get$_app_ui_state_storables$_$this()._show_domain_labels = t3; + t3 = H._asNumS(new B.TypedReducer(K.app_ui_state_reducer__domain_label_font_size_reducer$closure(), type$.TypedReducer_of_legacy_num_and_legacy_DomainLabelFontSizeSet).call$2(t1.domain_label_font_size, t2)); + b.get$_app_ui_state_storables$_$this()._domain_label_font_size = t3; + t3 = H._asBoolS(new B.TypedReducer(K.app_ui_state_reducer__show_modifications_reducer$closure(), type$.TypedReducer_of_legacy_bool_and_legacy_ShowModificationsSet).call$2(t1.show_modifications, t2)); + b.get$_app_ui_state_storables$_$this()._show_modifications = t3; + t3 = H._asBoolS(new B.TypedReducer(K.app_ui_state_reducer__modification_display_connector_reducer$closure(), type$.TypedReducer_of_legacy_bool_and_legacy_SetModificationDisplayConnector).call$2(t1.modification_display_connector, t2)); + b.get$_app_ui_state_storables$_$this()._modification_display_connector = t3; + t3 = H._asNumS(new B.TypedReducer(K.app_ui_state_reducer__modification_font_size_reducer$closure(), type$.TypedReducer_of_legacy_num_and_legacy_ModificationFontSizeSet).call$2(t1.modification_font_size, t2)); + b.get$_app_ui_state_storables$_$this()._modification_font_size = t3; + t3 = H._asNumS(new B.TypedReducer(K.app_ui_state_reducer__zoom_speed_reducer$closure(), type$.TypedReducer_of_legacy_num_and_legacy_ZoomSpeedSet).call$2(t1.zoom_speed, t2)); + b.get$_app_ui_state_storables$_$this()._zoom_speed = t3; + t3 = H._asNumS(new B.TypedReducer(K.app_ui_state_reducer__major_tick_offset_font_size_reducer$closure(), type$.TypedReducer_of_legacy_num_and_legacy_MajorTickOffsetFontSizeSet).call$2(t1.major_tick_offset_font_size, t2)); + b.get$_app_ui_state_storables$_$this()._major_tick_offset_font_size = t3; + t3 = H._asNumS(new B.TypedReducer(K.app_ui_state_reducer__major_tick_width_font_size_reducer$closure(), type$.TypedReducer_of_legacy_num_and_legacy_MajorTickWidthFontSizeSet).call$2(t1.major_tick_width_font_size, t2)); + b.get$_app_ui_state_storables$_$this()._major_tick_width_font_size = t3; + t3 = H._asBoolS(new B.TypedReducer(K.app_ui_state_reducer__show_mismatches_reducer$closure(), type$.TypedReducer_of_legacy_bool_and_legacy_ShowMismatchesSet).call$2(t1.show_mismatches, t2)); + b.get$_app_ui_state_storables$_$this()._show_mismatches = t3; + t3 = H._asBoolS(new B.TypedReducer(K.app_ui_state_reducer__show_domain_name_mismatches_reducer$closure(), type$.TypedReducer_of_legacy_bool_and_legacy_ShowDomainNameMismatchesSet).call$2(t1.show_domain_name_mismatches, t2)); + b.get$_app_ui_state_storables$_$this()._show_domain_name_mismatches = t3; + t3 = H._asBoolS(new B.TypedReducer(K.app_ui_state_reducer__show_unpaired_insertion_deletions_reducer$closure(), type$.TypedReducer_of_legacy_bool_and_legacy_ShowUnpairedInsertionDeletionsSet).call$2(t1.show_unpaired_insertion_deletions, t2)); + b.get$_app_ui_state_storables$_$this()._show_unpaired_insertion_deletions = t3; + t3 = H._asBoolS(new B.TypedReducer(K.app_ui_state_reducer__invert_y_reducer$closure(), type$.TypedReducer_of_legacy_bool_and_legacy_InvertYSet).call$2(t1.invert_y, t2)); + b.get$_app_ui_state_storables$_$this()._invert_y = t3; + t3 = H._asBoolS(new B.TypedReducer(K.app_ui_state_reducer__dynamic_helix_update_reducer$closure(), type$.TypedReducer_of_legacy_bool_and_legacy_DynamicHelixUpdateSet).call$2(t1.dynamically_update_helices, t2)); + b.get$_app_ui_state_storables$_$this()._dynamically_update_helices = t3; + t3 = H._asBoolS(new B.TypedReducer(K.app_ui_state_reducer__warn_on_exit_if_unsaved_reducer$closure(), type$.TypedReducer_of_legacy_bool_and_legacy_WarnOnExitIfUnsavedSet).call$2(t1.warn_on_exit_if_unsaved, t2)); + b.get$_app_ui_state_storables$_$this()._warn_on_exit_if_unsaved = t3; + t3 = H._asBoolS(new B.TypedReducer(K.app_ui_state_reducer__show_helix_circles_main_view_reducer$closure(), type$.TypedReducer_of_legacy_bool_and_legacy_ShowHelixCirclesMainViewSet).call$2(t1.show_helix_circles_main_view, t2)); + b.get$_app_ui_state_storables$_$this()._show_helix_circles_main_view = t3; + t3 = H._asBoolS(new B.TypedReducer(K.app_ui_state_reducer__show_helix_components_main_view_reducer$closure(), type$.TypedReducer_of_legacy_bool_and_legacy_ShowHelixComponentsMainViewSet).call$2(t1.show_helix_components_main_view, t2)); + b.get$_app_ui_state_storables$_$this()._show_helix_components_main_view = t3; + t3 = H._asBoolS(new B.TypedReducer(K.app_ui_state_reducer__show_edit_mode_menu_reducer$closure(), type$.TypedReducer_of_legacy_bool_and_legacy_ShowEditMenuToggle).call$2(t1.show_edit_mode_menu, t2)); + b.get$_app_ui_state_storables$_$this()._show_edit_mode_menu = t3; + t3 = H._asBoolS(new B.TypedReducer(K.app_ui_state_reducer__show_grid_coordinates_side_view_reducer$closure(), type$.TypedReducer_of_legacy_bool_and_legacy_ShowGridCoordinatesSideViewSet).call$2(t1.show_grid_coordinates_side_view, t2)); + b.get$_app_ui_state_storables$_$this()._show_grid_coordinates_side_view = t3; + t3 = H._asBoolS(new B.TypedReducer(K.app_ui_state_reducer__show_helices_axis_arrows_reducer$closure(), type$.TypedReducer_of_legacy_bool_and_legacy_ShowAxisArrowsSet).call$2(t1.show_helices_axis_arrows, t2)); + b.get$_app_ui_state_storables$_$this()._show_helices_axis_arrows = t3; + t3 = H._asBoolS(new B.TypedReducer(K.app_ui_state_reducer__show_loopout_extension_length_reducer$closure(), type$.TypedReducer_of_legacy_bool_and_legacy_ShowLoopoutExtensionLengthSet).call$2(t1.show_loopout_extension_length, t2)); + b.get$_app_ui_state_storables$_$this()._show_loopout_extension_length = t3; + t3 = H._asBoolS(new B.TypedReducer(K.app_ui_state_reducer__show_slice_bar_reducer$closure(), type$.TypedReducer_of_legacy_bool_and_legacy_ShowSliceBarSet).call$2(t1.show_slice_bar, t2)); + b.get$_app_ui_state_storables$_$this()._show_slice_bar = t3; + t3 = H._asIntS(new B.TypedReducer(K.app_ui_state_reducer__slice_bar_offset_set_reducer$closure(), type$.TypedReducer_of_legacy_int_and_legacy_SliceBarOffsetSet).call$2(t1.slice_bar_offset, t2)); + b.get$_app_ui_state_storables$_$this()._slice_bar_offset = t3; + t3 = H._asBoolS(new B.TypedReducer(K.app_ui_state_reducer__disable_png_caching_dna_sequences_reducer$closure(), type$.TypedReducer_of_legacy_bool_and_legacy_DisablePngCachingDnaSequencesSet).call$2(t1.disable_png_caching_dna_sequences, t2)); + b.get$_app_ui_state_storables$_$this()._disable_png_caching_dna_sequences = t3; + t3 = H._asBoolS(new B.TypedReducer(K.app_ui_state_reducer__retain_strand_color_on_selection_reducer$closure(), type$.TypedReducer_of_legacy_bool_and_legacy_RetainStrandColorOnSelectionSet).call$2(t1.retain_strand_color_on_selection, t2)); + b.get$_app_ui_state_storables$_$this()._retain_strand_color_on_selection = t3; + t3 = H._asBoolS(new B.TypedReducer(K.app_ui_state_reducer__display_reverse_DNA_right_side_up_reducer$closure(), type$.TypedReducer_of_legacy_bool_and_legacy_DisplayReverseDNARightSideUpSet).call$2(t1.display_reverse_DNA_right_side_up, t2)); + b.get$_app_ui_state_storables$_$this()._display_reverse_DNA_right_side_up = t3; + t3 = new B.TypedReducer(K.app_ui_state_reducer__local_storage_design_choice_reducer$closure(), type$.TypedReducer_of_legacy_LocalStorageDesignChoice_and_legacy_LocalStorageDesignChoiceSet).call$2(t1.local_storage_design_choice, t2); + t3.toString; + t4 = new Y.LocalStorageDesignChoiceBuilder(); + type$.legacy_LocalStorageDesignChoice._as(t3); + t4._local_storage_design_choice$_$v = t3; + b.get$_app_ui_state_storables$_$this()._local_storage_design_choice = t4; + t3 = H._asBoolS(new B.TypedReducer(K.app_ui_state_reducer__clear_helix_selection_when_loading_new_design_set_reducer$closure(), type$.TypedReducer_of_legacy_bool_and_legacy_ClearHelixSelectionWhenLoadingNewDesignSet).call$2(t1.clear_helix_selection_when_loading_new_design, t2)); + b.get$_app_ui_state_storables$_$this()._clear_helix_selection_when_loading_new_design = t3; + t3 = H._asBoolS(new B.TypedReducer(K.app_ui_state_reducer__strand_paste_keep_color_reducer$closure(), type$.TypedReducer_of_legacy_bool_and_legacy_StrandPasteKeepColorSet).call$2(t1.strand_paste_keep_color, t2)); + b.get$_app_ui_state_storables$_$this()._strand_paste_keep_color = t3; + t3 = H._asBoolS(new B.TypedReducer(K.app_ui_state_reducer__center_on_load_reducer$closure(), type$.TypedReducer_of_legacy_bool_and_legacy_AutofitSet).call$2(t1.autofit, t2)); + b.get$_app_ui_state_storables$_$this()._autofit = t3; + t3 = H._asBoolS(new B.TypedReducer(K.app_ui_state_reducer__show_oxview_reducer$closure(), type$.TypedReducer_of_legacy_bool_and_legacy_OxviewShowSet).call$2(t1.show_oxview, t2)); + b.get$_app_ui_state_storables$_$this()._show_oxview = t3; + t3 = H._asBoolS(new B.TypedReducer(K.app_ui_state_reducer__display_base_offsets_of_major_ticks_reducer$closure(), type$.TypedReducer_of_legacy_bool_and_legacy_DisplayMajorTicksOffsetsSet).call$2(t1.display_base_offsets_of_major_ticks, t2)); + b.get$_app_ui_state_storables$_$this()._display_base_offsets_of_major_ticks = t3; + t3 = H._asBoolS(new B.TypedReducer(K.app_ui_state_reducer__display_base_offsets_of_major_ticks_only_first_helix_reducer$closure(), type$.TypedReducer_of_legacy_bool_and_legacy_SetDisplayBaseOffsetsOfMajorTicksOnlyFirstHelix).call$2(t1.display_base_offsets_of_major_ticks_only_first_helix, t2)); + b.get$_app_ui_state_storables$_$this()._display_base_offsets_of_major_ticks_only_first_helix = t3; + t3 = H._asBoolS(new B.TypedReducer(K.app_ui_state_reducer__display_major_tick_widths_reducer$closure(), type$.TypedReducer_of_legacy_bool_and_legacy_SetDisplayMajorTickWidths).call$2(t1.display_major_tick_widths, t2)); + b.get$_app_ui_state_storables$_$this()._display_major_tick_widths = t3; + t3 = H._asBoolS(new B.TypedReducer(K.app_ui_state_reducer__display_major_tick_widths_all_helices_reducer$closure(), type$.TypedReducer_of_legacy_bool_and_legacy_SetDisplayMajorTickWidthsAllHelices).call$2(t1.display_major_tick_widths_all_helices, t2)); + b.get$_app_ui_state_storables$_$this()._display_major_tick_widths_all_helices = t3; + t3 = type$.legacy_BasePairDisplayType._as(new B.TypedReducer(K.app_ui_state_reducer__base_pair_type_idx_reducer$closure(), type$.TypedReducer_of_legacy_BasePairDisplayType_and_legacy_BasePairTypeSet).call$2(t1.base_pair_display_type, t2)); + b.get$_app_ui_state_storables$_$this()._base_pair_display_type = t3; + t3 = H._asBoolS(new B.TypedReducer(K.app_ui_state_reducer__show_base_pair_lines_reducer$closure(), type$.TypedReducer_of_legacy_bool_and_legacy_ShowBasePairLinesSet).call$2(t1.show_base_pair_lines, t2)); + b.get$_app_ui_state_storables$_$this()._show_base_pair_lines = t3; + t3 = H._asBoolS(new B.TypedReducer(K.app_ui_state_reducer__show_base_pair_lines_with_mismatches_reducer$closure(), type$.TypedReducer_of_legacy_bool_and_legacy_ShowBasePairLinesWithMismatchesSet).call$2(t1.show_base_pair_lines_with_mismatches, t2)); + b.get$_app_ui_state_storables$_$this()._show_base_pair_lines_with_mismatches = t3; + t3 = H._asBoolS(new B.TypedReducer(K.app_ui_state_reducer__export_svg_text_separately_reducer$closure(), type$.TypedReducer_of_legacy_bool_and_legacy_ExportSvgTextSeparatelySet).call$2(t1.export_svg_text_separately, t2)); + b.get$_app_ui_state_storables$_$this()._export_svg_text_separately = t3; + t3 = H._asBoolS(new B.TypedReducer(K.app_ui_state_reducer__ox_export_only_selected_strands_reducer$closure(), type$.TypedReducer_of_legacy_bool_and_legacy_OxExportOnlySelectedStrandsSet).call$2(t1.ox_export_only_selected_strands, t2)); + b.get$_app_ui_state_storables$_$this()._ox_export_only_selected_strands = t3; + t3 = H._asBoolS(new B.TypedReducer(K.app_ui_state_reducer__only_display_selected_helices_reducer$closure(), type$.TypedReducer_of_legacy_bool_and_legacy_SetOnlyDisplaySelectedHelices).call$2(t1.only_display_selected_helices, t2)); + b.get$_app_ui_state_storables$_$this()._only_display_selected_helices = t3; + t3 = type$.TypedReducer_of_legacy_bool_and_legacy_DefaultCrossoverTypeForSettingHelixRollsSet; + t4 = H._asBoolS(new B.TypedReducer(K.app_ui_state_reducer__default_crossover_type_scaffold_for_setting_helix_rolls_reducer$closure(), t3).call$2(t1.default_crossover_type_scaffold_for_setting_helix_rolls, t2)); + b.get$_app_ui_state_storables$_$this()._default_crossover_type_scaffold_for_setting_helix_rolls = t4; + t3 = H._asBoolS(new B.TypedReducer(K.app_ui_state_reducer__default_crossover_type_staple_for_setting_helix_rolls_reducer$closure(), t3).call$2(t1.default_crossover_type_staple_for_setting_helix_rolls, t2)); + b.get$_app_ui_state_storables$_$this()._default_crossover_type_staple_for_setting_helix_rolls = t3; + t3 = H._asBoolS(new B.TypedReducer(K.app_ui_state_reducer__show_mouseover_data_set_reducer$closure(), type$.TypedReducer_of_legacy_bool_and_legacy_ShowMouseoverDataSet).call$2(t1.show_mouseover_data, t2)); + b.get$_app_ui_state_storables$_$this()._show_mouseover_data = t3; + t2 = H._asBoolS(new B.TypedReducer(K.app_ui_state_reducer__selection_box_intersection_reducer$closure(), type$.TypedReducer_of_legacy_bool_and_legacy_SelectionBoxIntersectionRuleSet).call$2(t1.selection_box_intersection, t2)); + b.get$_app_ui_state_storables$_$this()._selection_box_intersection = t2; + return b; + }, + $signature: 62 + }; + K.ui_state_global_reducer_closure.prototype = { + call$1: function(u) { + var selectables_store, _null = null, + t1 = u.get$storables(), + t2 = this.ui_state, + t3 = this.state, + t4 = this.action, + t5 = K.app_ui_state_storable_global_reducer(t2.storables, t3, t4); + if (t5 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + t1._app_ui_state_storables$_$v = t5; + t1 = u.get$selectables_store(); + t5 = t2.selectables_store; + selectables_store = $.$get$selectables_store_local_reducer().call$2(t5, t4); + selectables_store = $.$get$selectables_store_global_reducer().call$3(selectables_store, t3, t4); + if (selectables_store == null) + H.throwExpression(P.ArgumentError$notNull("other")); + t1._selectable$_$v = selectables_store; + u.get$mouseover_datas().replace$1(0, $.$get$mouseover_datas_global_reducer().call$3(t2.mouseover_datas, t3, t4)); + t1 = $.$get$strands_move_global_reducer().call$3(t2.strands_move, t3, t4); + if (t1 == null) + t1 = _null; + else { + t5 = new U.StrandsMoveBuilder(); + type$.legacy_StrandsMove._as(t1); + t5._strands_move$_$v = t1; + t1 = t5; + } + u.get$_app_ui_state$_$this()._strands_move = t1; + t1 = $.$get$domains_move_global_reducer().call$3(t2.domains_move, t3, t4); + if (t1 == null) + t1 = _null; + else { + t5 = new V.DomainsMoveBuilder(); + type$.legacy_DomainsMove._as(t1); + t5._domains_move$_$v = t1; + t1 = t5; + } + u.get$_app_ui_state$_$this()._domains_move = t1; + t1 = $.$get$strand_creation_global_reducer().call$3(t2.strand_creation, t3, t4); + if (t1 == null) + t1 = _null; + else { + t5 = new U.StrandCreationBuilder(); + type$.legacy_StrandCreation._as(t1); + t5._strand_creation$_$v = t1; + t1 = t5; + } + u.get$_app_ui_state$_$this()._strand_creation = t1; + t1 = $.$get$copy_info_global_reducer().call$3(t2.copy_info, t3, t4); + if (t1 == null) + t1 = _null; + else { + t5 = new B.CopyInfoBuilder(); + type$.legacy_CopyInfo._as(t1); + t5._copy_info$_$v = t1; + t1 = t5; + } + u.get$_app_ui_state$_$this()._copy_info = t1; + t4 = K.original_helix_offsets_reducer(t2.original_helix_offsets, t3, t4); + t4.toString; + t3 = t4.$ti; + t3._eval$1("_BuiltMap<1,2>")._as(t4); + t3 = type$.legacy_MapBuilder_of_legacy_int_and_legacy_BuiltList_legacy_int._as(new A.MapBuilder(t4._mapFactory, t4._map$_map, t4, t3._eval$1("@<1>")._bind$1(t3._rest[1])._eval$1("MapBuilder<1,2>"))); + u.get$_app_ui_state$_$this().set$_original_helix_offsets(t3); + return u; + }, + $signature: 51 + }; + M.compute_domain_name_complements_closure.prototype = { + call$1: function(b) { + b.get$_domain$_$this()._domain$_name = this.domain_name_to; + return b; + }, + $signature: 7 + }; + M.compute_domain_name_complements_closure0.prototype = { + call$1: function(b) { + b.get$substrands().replace$1(0, this.substrands); + return b; + }, + $signature: 2 + }; + M.compute_domain_name_complements_for_bound_domains_closure.prototype = { + call$1: function(b) { + b.get$_domain$_$this()._domain$_name = this.domain_name_to; + return b; + }, + $signature: 7 + }; + M.compute_domain_name_complements_for_bound_domains_closure0.prototype = { + call$1: function(b) { + b.get$substrands().replace$1(0, this.substrands); + return b; + }, + $signature: 2 + }; + X.convert_crossover_to_loopout_reducer_closure.prototype = { + call$1: function(s) { + s.get$substrands().replace$1(0, this._box_0.substrands); + return s; + }, + $signature: 2 + }; + X.convert_crossovers_to_loopouts_reducer_closure.prototype = { + call$2: function(c1, c2) { + var t1 = type$.legacy_Crossover; + t1._as(c1); + t1._as(c2); + return c1.prev_domain_idx - c2.prev_domain_idx; + }, + "call*": "call$2", + $requiredArgCount: 2, + $signature: 248 + }; + X.convert_crossovers_to_loopouts_reducer_closure0.prototype = { + call$1: function(s) { + var t1 = type$.legacy_ListBuilder_legacy_Substrand._as(this.substrands_builder); + s.get$_strand$_$this().set$_substrands(t1); + return s; + }, + $signature: 2 + }; + X.loopouts_length_change_reducer_closure.prototype = { + call$2: function(c1, c2) { + var t1 = type$.legacy_Loopout; + t1._as(c1); + t1._as(c2); + return c1.prev_domain_idx - c2.prev_domain_idx; + }, + "call*": "call$2", + $requiredArgCount: 2, + $signature: 249 + }; + X.loopouts_length_change_reducer_closure0.prototype = { + call$1: function(l) { + l.get$_loopout$_$this()._loopout_num_bases = this.action.length; + return l; + }, + $signature: 24 + }; + X.loopouts_length_change_reducer_closure1.prototype = { + call$1: function(s) { + s.get$substrands().replace$1(0, this.substrands); + return s; + }, + $signature: 2 + }; + X.extensions_num_bases_change_reducer_closure.prototype = { + call$1: function(b) { + b.get$_extension$_$this()._num_bases = this.action.num_bases; + return b; + }, + $signature: 19 + }; + X.extensions_num_bases_change_reducer_closure0.prototype = { + call$1: function(s) { + s.get$substrands().replace$1(0, this.substrands); + return s; + }, + $signature: 2 + }; + X.loopout_length_change_reducer_closure.prototype = { + call$1: function(l) { + l.get$_loopout$_$this()._loopout_num_bases = this.action.num_bases; + return l; + }, + $signature: 24 + }; + X.loopout_length_change_reducer_closure0.prototype = { + call$1: function(s) { + var t1 = type$.legacy_ListBuilder_legacy_Substrand._as(this.substrands_builder); + s.get$_strand$_$this().set$_substrands(t1); + return s; + }, + $signature: 2 + }; + X.extension_num_bases_change_reducer_closure.prototype = { + call$1: function(l) { + l.get$_extension$_$this()._num_bases = this.action.num_bases; + return l; + }, + $signature: 19 + }; + X.extension_num_bases_change_reducer_closure0.prototype = { + call$1: function(s) { + var t1 = type$.legacy_ListBuilder_legacy_Substrand._as(this.substrands_builder); + s.get$_strand$_$this().set$_substrands(t1); + return s; + }, + $signature: 2 + }; + X.extension_display_length_angle_change_reducer_closure.prototype = { + call$1: function(b) { + var t1 = this.action; + b.get$_extension$_$this()._display_length = t1.display_length; + b.get$_extension$_$this()._display_angle = t1.display_angle; + return b; + }, + $signature: 19 + }; + X.extension_display_length_angle_change_reducer_closure0.prototype = { + call$1: function(s) { + var t1 = type$.legacy_ListBuilder_legacy_Substrand._as(this.substrands_builder); + s.get$_strand$_$this().set$_substrands(t1); + return s; + }, + $signature: 2 + }; + G.delete_all_reducer_closure.prototype = { + call$1: function(item) { + return type$.legacy_Selectable._as(item) instanceof E.Strand; + }, + $signature: 13 + }; + G.delete_all_reducer_closure0.prototype = { + call$1: function(item) { + return type$.legacy_Selectable._as(item) instanceof T.Crossover; + }, + $signature: 13 + }; + G.delete_all_reducer_closure1.prototype = { + call$1: function(item) { + return type$.legacy_Selectable._as(item) instanceof G.Loopout; + }, + $signature: 13 + }; + G.delete_all_reducer_closure2.prototype = { + call$1: function(item) { + return type$.legacy_Selectable._as(item) instanceof Z.DNAEnd; + }, + $signature: 13 + }; + G.delete_all_reducer_closure3.prototype = { + call$1: function(end) { + type$.legacy_Selectable._as(end); + return J.$index$asx(this.state.design.get$end_to_domain()._map$_map, end); + }, + $signature: 253 + }; + G.delete_all_reducer_closure4.prototype = { + call$1: function(item) { + return type$.legacy_Selectable._as(item) instanceof G.Domain; + }, + $signature: 13 + }; + G.delete_all_reducer_closure5.prototype = { + call$1: function(item) { + return type$.legacy_Selectable._as(item) instanceof E.SelectableDeletion; + }, + $signature: 13 + }; + G.delete_all_reducer_closure6.prototype = { + call$1: function(item) { + return type$.legacy_Selectable._as(item) instanceof E.SelectableInsertion; + }, + $signature: 13 + }; + G.delete_all_reducer_closure7.prototype = { + call$1: function(item) { + return type$.legacy_SelectableModification._is(type$.legacy_Selectable._as(item)); + }, + $signature: 13 + }; + G.delete_all_reducer_closure8.prototype = { + call$1: function(item) { + return type$.legacy_Selectable._as(item) instanceof S.Extension; + }, + $signature: 13 + }; + G._remove_strands_closure.prototype = { + call$1: function(b) { + var t1; + type$.legacy_ListBuilder_legacy_Strand._as(b); + t1 = b.$ti._eval$1("bool(1)")._as(new G._remove_strands__closure(this.strands_to_remove)); + J.removeWhere$1$ax(b.get$_safeList(), t1); + return b; + }, + $signature: 137 + }; + G._remove_strands__closure.prototype = { + call$1: function(strand) { + return this.strands_to_remove.contains$1(0, type$.legacy_Strand._as(strand)); + }, + $signature: 15 + }; + G.remove_linkers_from_strand_closure.prototype = { + call$2: function(l1, l2) { + var t1 = type$.legacy_Linker; + t1._as(l1); + t1._as(l2); + return C.JSInt_methods.compareTo$1(l1.get$prev_domain_idx(), l2.get$prev_domain_idx()); + }, + "call*": "call$2", + $requiredArgCount: 2, + $signature: 255 + }; + G.remove_linkers_from_strand_closure0.prototype = { + call$1: function(b) { + b.get$_strand$_$this()._circular = false; + return b; + }, + $signature: 2 + }; + G.create_new_strands_from_substrand_lists_closure.prototype = { + call$1: function(loopout) { + loopout.get$_loopout$_$this()._prev_domain_idx = this.i - 1; + return loopout; + }, + $signature: 24 + }; + G.create_new_strands_from_substrand_lists_closure0.prototype = { + call$1: function(s) { + s.get$_domain$_$this()._is_first = true; + return s; + }, + $signature: 7 + }; + G.create_new_strands_from_substrand_lists_closure1.prototype = { + call$1: function(s) { + s.get$_domain$_$this()._is_last = true; + return s; + }, + $signature: 7 + }; + G._remove_extension_from_strand_closure.prototype = { + call$1: function(b) { + b.get$substrands().replace$1(0, this.substrands); + return b; + }, + $signature: 2 + }; + G._remove_domains_from_strand_closure.prototype = { + call$1: function(b) { + b.get$_strand$_$this()._circular = false; + return b; + }, + $signature: 2 + }; + G.remove_deletions_and_insertions_closure.prototype = { + call$1: function(offset) { + return this.deletions_offsets_to_remove.contains$1(0, H._asIntS(offset)); + }, + $signature: 23 + }; + G.remove_deletions_and_insertions_closure0.prototype = { + call$1: function(insertion) { + return this.insertions_offsets_to_remove.contains$1(0, type$.legacy_Insertion._as(insertion).offset); + }, + $signature: 29 + }; + G.remove_deletions_and_insertions_closure1.prototype = { + call$1: function(b) { + b.get$deletions().replace$1(0, this.deletions_existing); + b.get$insertions().replace$1(0, this.insertions_existing); + return b; + }, + $signature: 7 + }; + G.remove_deletions_and_insertions_closure2.prototype = { + call$1: function(b) { + b.get$substrands().replace$1(0, this.substrands); + return b; + }, + $signature: 2 + }; + G.remove_modifications_closure.prototype = { + call$1: function(b) { + var t1 = this._box_0; + if (t1.remove_5p) + b.get$_strand$_$this()._modification_5p = null; + if (t1.remove_3p) + b.get$_strand$_$this()._modification_3p = null; + b.get$modifications_int().replace$1(0, this.mods_int); + }, + $signature: 68 + }; + U.design_composed_local_reducer_closure.prototype = { + call$1: function(d) { + var t1 = this.design, + t2 = this.action; + d.get$groups().replace$1(0, $.$get$groups_local_reducer().call$2(t1.groups, t2)); + d.get$helices().replace$1(0, $.$get$helices_local_reducer().call$2(t1.helices, t2)); + d.get$strands().replace$1(0, $.$get$strands_local_reducer().call$2(t1.strands, t2)); + return d; + }, + $signature: 20 + }; + U.design_composed_global_reducer_closure.prototype = { + call$1: function(d) { + var t1 = this.design, + t2 = this.state, + t3 = this.action; + d.get$groups().replace$1(0, $.$get$groups_global_reducer().call$3(t1.groups, t2, t3)); + d.get$helices().replace$1(0, $.$get$helices_global_reducer().call$3(t1.helices, t2, t3)); + d.get$strands().replace$1(0, $.$get$strands_global_reducer().call$3(t1.strands, t2, t3)); + return d; + }, + $signature: 20 + }; + U.design_geometry_set_reducer_closure.prototype = { + call$1: function(b) { + var t1 = b.get$geometry(b), + t2 = this.action.geometry; + if (t2 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + t1._geometry$_$v = t2; + return b; + }, + $signature: 9 + }; + U.design_geometry_set_reducer_closure0.prototype = { + call$1: function(b) { + var t1, t2; + b.get$helices().replace$1(0, this.new_helices); + t1 = b.get$geometry(b); + t2 = this.action.geometry; + if (t2 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + t1._geometry$_$v = t2; + return b; + }, + $signature: 20 + }; + Z.dna_ends_move_adjust_reducer_closure.prototype = { + call$1: function(b) { + var t1 = this.action.offset; + b.get$_dna_ends_move$_$this()._dna_ends_move$_current_offset = t1; + return b; + }, + $signature: 259 + }; + A.dna_extensions_move_adjust_reducer_closure.prototype = { + call$1: function(b) { + var t1 = type$.legacy_Point_legacy_num._as(this.action.position); + b.get$_dna_extensions_move$_$this().set$_dna_extensions_move$_current_point(t1); + return b; + }, + $signature: 260 + }; + Q.domains_move_start_selected_domains_reducer_closure.prototype = { + call$1: function(s) { + return type$.legacy_Selectable._as(s) instanceof G.Domain; + }, + $signature: 13 + }; + Q.domains_adjust_address_reducer_closure.prototype = { + call$1: function(b) { + var t1 = b.get$current_address(), + t2 = this.action.address; + t1._address$_$v = t2; + return b; + }, + $signature: 79 + }; + Q.domains_adjust_address_reducer_closure0.prototype = { + call$1: function(b) { + b.get$_domains_move$_$this()._allowable = this.allowable; + return b; + }, + $signature: 79 + }; + Q.is_allowable_closure3.prototype = { + call$1: function(dom) { + return this.delta_forward !== (type$.legacy_Domain._as(dom).forward === this.forward); + }, + $signature: 21 + }; + Q.is_allowable_closure4.prototype = { + call$1: function(dom) { + var t1; + type$.legacy_Domain._as(dom); + t1 = this.delta_offset; + return new P.Point(dom.start + t1, dom.end - 1 + t1, type$.Point_legacy_int); + }, + $signature: 67 + }; + Q.is_allowable_closure5.prototype = { + call$1: function(dom) { + return type$.legacy_Domain._as(dom).forward === this.forward; + }, + $signature: 21 + }; + Q.is_allowable_closure6.prototype = { + call$1: function(dom) { + type$.legacy_Domain._as(dom); + return new P.Point(dom.start, dom.end - 1, type$.Point_legacy_int); + }, + $signature: 67 + }; + Q.move_domain_closure.prototype = { + call$1: function(b) { + var t3, t4, t5, _this = this, + t1 = _this.set_first_last_false, + t2 = t1 ? false : b.get$_domain$_$this()._is_first; + b.get$_domain$_$this()._is_first = t2; + t1 = t1 ? false : b.get$_domain$_$this()._is_last; + b.get$_domain$_$this()._is_last = t1; + b.get$_domain$_$this()._domain$_helix = _this.new_helix_idx; + t1 = _this.domain; + b.get$_domain$_$this()._domain$_forward = _this.delta_forward !== t1.forward; + t2 = _this.delta_offset; + b.get$_domain$_$this()._start = t1.start + t2; + b.get$_domain$_$this()._end = t1.end + t2; + t3 = b.get$deletions(); + t4 = t1.deletions; + t5 = type$.dynamic; + t4.toString; + t3.replace$1(0, J.map$1$1$ax(t4._list, t4.$ti._eval$1("@(1)")._as(new Q.move_domain__closure(t2)), t5)); + t4 = b.get$insertions(); + t1 = t1.insertions; + t1.toString; + t4.replace$1(0, J.map$1$1$ax(t1._list, t1.$ti._eval$1("@(1)")._as(new Q.move_domain__closure0(t2)), t5)); + return b; + }, + $signature: 7 + }; + Q.move_domain__closure.prototype = { + call$1: function(d) { + H._asIntS(d); + if (typeof d !== "number") + return d.$add(); + return d + this.delta_offset; + }, + $signature: 135 + }; + Q.move_domain__closure0.prototype = { + call$1: function(i) { + type$.legacy_Insertion._as(i); + return i.rebuild$1(new Q.move_domain___closure(i, this.delta_offset)); + }, + $signature: 109 + }; + Q.move_domain___closure.prototype = { + call$1: function(ib) { + var t1 = this.i.offset; + ib.get$_domain$_$this()._domain$_offset = t1 + this.delta_offset; + return ib; + }, + $signature: 47 + }; + B.toggle_edit_mode_reducer_closure.prototype = { + call$1: function(m) { + type$.legacy_SetBuilder_legacy_EditModeChoice._as(m); + m.get$_safeSet().remove$1(0, this.mode); + return m; + }, + $signature: 132 + }; + B.toggle_edit_mode_reducer_closure0.prototype = { + call$1: function(m) { + var t1, t2; + type$.legacy_SetBuilder_legacy_EditModeChoice._as(m); + t1 = m.$ti._precomputed1; + t2 = t1._as(this.mode); + !$.$get$isSoundMode() && !t1._is(null); + m.get$_safeSet().add$1(0, t2); + t1 = t2.get$excluded_modes(); + m.get$_safeSet().removeAll$1(t1); + return m; + }, + $signature: 132 + }; + O.grid_change_reducer_closure.prototype = { + call$2: function($name, group) { + var t1; + H._asStringS($name); + type$.legacy_HelixGroup._as(group); + t1 = this.action; + return $name == t1.group_name ? group.rebuild$1(new O.grid_change_reducer__closure(t1)) : group; + }, + $signature: 266 + }; + O.grid_change_reducer__closure.prototype = { + call$1: function(b) { + b.get$_group$_$this()._group$_grid = this.action.grid; + return b; + }, + $signature: 26 + }; + O.group_add_reducer_closure.prototype = { + call$1: function(b) { + var t1 = this.action; + type$.legacy_MapBuilder_of_legacy_String_and_legacy_HelixGroup._as(b).$indexSet(0, t1.name, t1.group); + }, + $signature: 83 + }; + O.group_remove_reducer_closure.prototype = { + call$1: function(b) { + var t1; + type$.legacy_MapBuilder_of_legacy_String_and_legacy_HelixGroup._as(b); + t1 = this.action.name; + J.remove$1$ax(b.get$_safeMap(), t1); + }, + $signature: 83 + }; + O.group_change_reducer_closure.prototype = { + call$1: function(b) { + var t1, t2, t3; + type$.legacy_MapBuilder_of_legacy_String_and_legacy_HelixGroup._as(b); + t1 = this.action; + t2 = t1.old_name; + t3 = t1.new_name; + if (t2 !== t3) + J.remove$1$ax(b.get$_safeMap(), t2); + b.$indexSet(0, t3, t1.new_group); + }, + $signature: 83 + }; + O.move_helices_to_group_groups_reducer_closure.prototype = { + call$1: function(b) { + b.get$helices_view_order().replace$1(0, this.new_from_helices_group_order); + return b; + }, + $signature: 26 + }; + O.move_helices_to_group_groups_reducer_closure0.prototype = { + call$1: function(b) { + b.get$helices_view_order().replace$1(0, this.new_helices_view_order); + return b; + }, + $signature: 26 + }; + V.helix_idx_change_reducer_closure.prototype = { + call$2: function(key, _) { + H._asIntS(key); + type$.legacy_Helix._as(_); + return J.containsKey$1$x(this.action.idx_replacements._map$_map, key); + }, + $signature: 73 + }; + V.helix_idx_change_reducer_closure0.prototype = { + call$1: function(b) { + b.get$_helix$_$this()._idx = this.new_idx; + return b; + }, + $signature: 9 + }; + V.helix_idx_change_reducer_closure1.prototype = { + call$1: function(b) { + b.get$_domain$_$this()._domain$_helix = this.new_idx; + return b; + }, + $signature: 7 + }; + V.helix_idx_change_reducer_closure2.prototype = { + call$1: function(b) { + b.get$substrands().replace$1(0, this.substrands); + return b; + }, + $signature: 2 + }; + V.helix_idx_change_reducer_closure3.prototype = { + call$1: function(b) { + b.get$groups().replace$1(0, this.new_groups); + b.get$helices().replace$1(0, this.helices); + b.get$strands().replace$1(0, this.strands); + return b; + }, + $signature: 20 + }; + V.change_groups_closure.prototype = { + call$1: function(b) { + b.get$helices_view_order().replace$1(0, this.helices_view_order_new); + return b; + }, + $signature: 26 + }; + V._change_offset_one_helix_closure.prototype = { + call$1: function(b) { + var _this = this, + t1 = _this.min_offset; + if (t1 == null) + t1 = _this.helix.min_offset; + b.get$_helix$_$this()._min_offset = t1; + t1 = _this.max_offset; + if (t1 == null) + t1 = _this.helix.max_offset; + b.get$_helix$_$this()._max_offset = t1; + return b; + }, + $signature: 9 + }; + V.helix_offset_change_all_with_moving_strands_reducer_closure.prototype = { + call$1: function(b) { + var t1 = b.get$current_address(), + t2 = this.action.address; + t1._address$_$v = t2; + return b; + }, + $signature: 35 + }; + V.helix_offset_change_all_with_moving_strands_reducer_map_func.prototype = { + call$2: function(idx, helix) { + H._asIntS(idx); + return V._change_offset_one_helix(type$.legacy_Helix._as(helix), this.offsets.$index(0, idx), null); + }, + $signature: 34 + }; + V.helix_offset_change_all_with_moving_strands_reducer_map_func0.prototype = { + call$2: function(idx, helix) { + H._asIntS(idx); + return V._change_offset_one_helix(type$.legacy_Helix._as(helix), null, this.offsets.$index(0, idx)); + }, + $signature: 34 + }; + V.helix_offset_change_all_while_creating_strand_reducer_closure.prototype = { + call$1: function(b) { + b.get$_helix$_$this()._min_offset = this.action.offset; + return b; + }, + $signature: 9 + }; + V.helix_offset_change_all_while_creating_strand_reducer_closure0.prototype = { + call$1: function(b) { + var t1 = this.action.offset; + if (typeof t1 !== "number") + return t1.$add(); + b.get$_helix$_$this()._max_offset = t1 + 1; + return b; + }, + $signature: 9 + }; + V.helix_offset_change_all_while_creating_strand_reducer_closure1.prototype = { + call$1: function(b) { + b.get$_helix$_$this()._min_offset = this.action.offset; + return b; + }, + $signature: 9 + }; + V.helix_offset_change_all_while_creating_strand_reducer_closure2.prototype = { + call$1: function(b) { + var t1 = this.action.offset; + if (typeof t1 !== "number") + return t1.$add(); + return b.get$_helix$_$this()._max_offset = t1 + 1; + }, + $signature: 56 + }; + V.first_replace_strands_reducer_closure.prototype = { + call$1: function(b) { + var t1 = this.min_offsets.$index(0, this.helix_idx); + b.get$_helix$_$this()._min_offset = t1; + return b; + }, + $signature: 9 + }; + V.first_replace_strands_reducer_closure0.prototype = { + call$1: function(b) { + var t1 = this.max_offsets.$index(0, this.helix_idx); + b.get$_helix$_$this()._max_offset = t1; + return b; + }, + $signature: 9 + }; + V.reset_helices_offsets_closure.prototype = { + call$1: function(b) { + var t1 = H._asIntS(J.$index$asx(J.$index$asx(this.original_helix_offsets._map$_map, this.idx)._list, 0)); + return b.get$_helix$_$this()._min_offset = t1; + }, + $signature: 56 + }; + V.reset_helices_offsets_closure0.prototype = { + call$1: function(b) { + var t1 = H._asIntS(J.$index$asx(J.$index$asx(this.original_helix_offsets._map$_map, this.idx)._list, 1)); + return b.get$_helix$_$this()._max_offset = t1; + }, + $signature: 56 + }; + V.helix_offset_change_all_reducer_map_func.prototype = { + call$2: function(_, helix) { + var t1 = this.action; + return V._change_offset_one_helix(type$.legacy_Helix._as(helix), t1.min_offset, t1.max_offset); + }, + $signature: 88 + }; + V._min_offset_set_by_domains_one_helix_closure.prototype = { + call$1: function(b) { + b.get$_helix$_$this()._min_offset = this.min_offset; + return b; + }, + $signature: 9 + }; + V._max_offset_set_by_domains_one_helix_closure.prototype = { + call$1: function(b) { + b.get$_helix$_$this()._max_offset = this.max_offset; + return b; + }, + $signature: 9 + }; + V.helix_min_offset_set_by_domains_all_reducer_map_func.prototype = { + call$2: function(_, helix) { + return V._min_offset_set_by_domains_one_helix(type$.legacy_Helix._as(helix), this.state.design); + }, + $signature: 88 + }; + V.helix_max_offset_set_by_domains_all_reducer_map_func.prototype = { + call$2: function(_, helix) { + return V._max_offset_set_by_domains_one_helix(type$.legacy_Helix._as(helix), this.state.design); + }, + $signature: 88 + }; + V.helix_max_offset_set_by_domains_all_same_max_reducer_closure.prototype = { + call$2: function(_, helix) { + H._asIntS(_); + return type$.legacy_Helix._as(helix).rebuild$1(new V.helix_max_offset_set_by_domains_all_same_max_reducer__closure(this._box_0)); + }, + $signature: 34 + }; + V.helix_max_offset_set_by_domains_all_same_max_reducer__closure.prototype = { + call$1: function(b) { + var t1 = this._box_0.max_offset; + b.get$_helix$_$this()._max_offset = t1; + return b; + }, + $signature: 9 + }; + V.helix_major_tick_distance_change_all_reducer_closure.prototype = { + call$2: function(_, helix) { + H._asIntS(_); + return V._change_major_tick_distance_one_helix(type$.legacy_Helix._as(helix), this.action.major_tick_distance); + }, + $signature: 34 + }; + V.helix_major_ticks_change_all_reducer_closure.prototype = { + call$2: function(_, helix) { + H._asIntS(_); + return V._change_major_ticks_one_helix(type$.legacy_Helix._as(helix), this.action.major_ticks); + }, + $signature: 34 + }; + V.helix_major_tick_start_change_all_reducer_closure.prototype = { + call$2: function(_, helix) { + H._asIntS(_); + return V._change_major_tick_start_one_helix(type$.legacy_Helix._as(helix), this.action.major_tick_start); + }, + $signature: 34 + }; + V.helix_major_tick_periodic_distances_change_all_reducer_closure.prototype = { + call$2: function(_, helix) { + H._asIntS(_); + return V._change_major_tick_periodic_distances_one_helix(type$.legacy_Helix._as(helix), this.action.major_tick_periodic_distances); + }, + $signature: 34 + }; + V._change_major_tick_distance_one_helix_closure.prototype = { + call$1: function(b) { + b.get$major_tick_periodic_distances().replace$1(0, [this.major_tick_distance]); + type$.legacy_ListBuilder_legacy_int._as(null); + b.get$_helix$_$this().set$_major_ticks(null); + return b; + }, + $signature: 9 + }; + V._change_major_tick_start_one_helix_closure.prototype = { + call$1: function(b) { + b.get$_helix$_$this()._major_tick_start = this.major_tick_start; + return b; + }, + $signature: 9 + }; + V._change_major_tick_periodic_distances_one_helix_closure.prototype = { + call$1: function(b) { + b.get$major_tick_periodic_distances().replace$1(0, this.major_tick_periodic_distances); + type$.legacy_ListBuilder_legacy_int._as(null); + b.get$_helix$_$this().set$_major_ticks(null); + return b; + }, + $signature: 9 + }; + V._change_major_ticks_one_helix_closure.prototype = { + call$1: function(b) { + b.get$major_ticks().replace$1(0, this.major_ticks); + b.get$major_tick_periodic_distances().replace$1(0, []); + return b; + }, + $signature: 9 + }; + V.helix_roll_set_reducer_closure.prototype = { + call$1: function(h) { + var t1 = this.action.roll; + h.get$_helix$_$this()._roll = t1; + return h; + }, + $signature: 9 + }; + V.helix_roll_set_at_other_reducer_closure.prototype = { + call$1: function(h) { + h.get$_helix$_$this()._roll = this.new_roll; + return h; + }, + $signature: 9 + }; + V.helix_add_design_reducer_closure.prototype = { + call$1: function(b) { + b.get$helices_view_order().replace$1(0, this.new_helices_view_order); + return b; + }, + $signature: 26 + }; + V.helix_add_design_reducer_closure0.prototype = { + call$1: function(d) { + d.get$helices().replace$1(0, this.new_helices); + d.get$groups().replace$1(0, this.new_groups); + return d; + }, + $signature: 20 + }; + V.helix_remove_design_global_reducer_closure.prototype = { + call$1: function(b) { + b.get$helices_view_order().replace$1(0, this.new_helices_view_order); + return b; + }, + $signature: 26 + }; + V.helix_remove_design_global_reducer_closure0.prototype = { + call$1: function(d) { + d.get$helices().replace$1(0, this.new_helices); + d.get$groups().replace$1(0, this.new_groups); + d.get$strands().replace$1(0, this.strands_with_substrands_removed); + return d; + }, + $signature: 20 + }; + V.helix_remove_all_selected_design_global_reducer_closure.prototype = { + call$1: function(b) { + b.get$helices_view_order().replace$1(0, this.new_helices_view_order); + return b; + }, + $signature: 26 + }; + V.helix_remove_all_selected_design_global_reducer_closure0.prototype = { + call$1: function(d) { + d.get$helices().replace$1(0, this.new_helices); + d.get$groups().replace$1(0, this.new_groups); + d.get$strands().replace$1(0, this.strands_with_substrands_removed); + return d; + }, + $signature: 20 + }; + V.remove_helix_assuming_no_domains_closure.prototype = { + call$1: function(b) { + type$.legacy_MapBuilder_of_legacy_int_and_legacy_Helix._as(b); + J.remove$1$ax(b.get$_safeMap(), this.action.helix_idx); + return b; + }, + $signature: 128 + }; + V.remove_helices_assuming_no_domains_closure.prototype = { + call$1: function(b) { + var t1; + type$.legacy_MapBuilder_of_legacy_int_and_legacy_Helix._as(b); + t1 = b.$ti._eval$1("bool(1,2)")._as(new V.remove_helices_assuming_no_domains__closure(this.helix_idxs)); + J.removeWhere$1$ax(b.get$_safeMap(), t1); + return b; + }, + $signature: 128 + }; + V.remove_helices_assuming_no_domains__closure.prototype = { + call$2: function(idx, _) { + H._asIntS(idx); + type$.legacy_Helix._as(_); + return this.helix_idxs._set.contains$1(0, idx); + }, + $signature: 73 + }; + V.helix_group_change_reducer_closure.prototype = { + call$2: function(idx, helix) { + var t1; + H._asIntS(idx); + type$.legacy_Helix._as(helix); + t1 = this.action; + return helix.group === t1.old_name ? helix.rebuild$1(new V.helix_group_change_reducer__closure(t1)) : helix; + }, + $signature: 34 + }; + V.helix_group_change_reducer__closure.prototype = { + call$1: function(b) { + b.get$_helix$_$this()._group = this.action.new_name; + return b; + }, + $signature: 9 + }; + V.helix_individual_grid_position_set_reducer_closure.prototype = { + call$1: function(b) { + var t1; + b.get$_helix$_$this()._position_ = null; + t1 = b.get$grid_position(); + t1._grid_position$_$v = this.action.grid_position; + return b; + }, + $signature: 9 + }; + V.helix_individual_position_set_reducer_closure.prototype = { + call$1: function(b) { + var t1 = b.get$position_(); + t1._position3d$_$v = this.action.position; + b.get$_helix$_$this()._grid_position = null; + return b; + }, + $signature: 9 + }; + V.move_helices_to_group_helices_reducer_closure.prototype = { + call$1: function(b) { + b.get$_helix$_$this()._group = this.action.group_name; + return b; + }, + $signature: 9 + }; + Z.helix_group_move_adjust_translation_reducer_closure.prototype = { + call$1: function(b) { + var t1 = type$.legacy_Point_legacy_num._as(this.action.mouse_point); + b.get$_helix_group_move$_$this().set$_current_mouse_point(t1); + return b; + }, + $signature: 120 + }; + Z.helix_group_move_commit_global_reducer_closure.prototype = { + call$1: function(b) { + var t1 = b.get$position(b), + t2 = this.helix_group_move.get$current_position(); + t1._position3d$_$v = t2; + return b; + }, + $signature: 26 + }; + Z.helix_group_move_commit_global_reducer_closure0.prototype = { + call$1: function(b) { + b.get$groups().replace$1(0, this.new_groups); + return b; + }, + $signature: 20 + }; + R.inline_insertions_deletions_reducer_closure.prototype = { + call$1: function(s) { + var t1; + type$.legacy_Strand._as(s); + s.toString; + t1 = new E.StrandBuilder(); + t1._strand$_$v = s; + return t1; + }, + $signature: 276 + }; + R.inline_insertions_deletions_reducer_closure0.prototype = { + call$1: function(b) { + return type$.legacy_StrandBuilder._as(b).build$0(); + }, + $signature: 277 + }; + R.inline_insertions_deletions_reducer_closure1.prototype = { + call$1: function(b) { + b.get$helices().replace$1(0, this.helices_new); + b.get$strands().replace$1(0, this.strands); + return b; + }, + $signature: 20 + }; + R._inline_deletions_insertions_on_helix_closure.prototype = { + call$2: function(a, b) { + H._asIntS(a); + H._asIntS(b); + if (typeof a !== "number") + return a.$add(); + if (typeof b !== "number") + return H.iae(b); + return a + b; + }, + $signature: 91 + }; + R._inline_deletions_insertions_on_helix_closure0.prototype = { + call$1: function(b) { + var t1 = b.get$_helix$_$this()._max_offset; + if (typeof t1 !== "number") + return t1.$add(); + return b.get$_helix$_$this()._max_offset = t1 + this.delta_length; + }, + $signature: 56 + }; + R._inline_deletions_insertions_on_helix_closure1.prototype = { + call$1: function(b) { + b.get$major_ticks().replace$1(0, this.major_ticks); + return b; + }, + $signature: 9 + }; + R._inline_deletions_insertions_on_helix_closure2.prototype = { + call$1: function(ss) { + return type$.legacy_Domain._as(ss).forward; + }, + $signature: 21 + }; + R._inline_deletions_insertions_on_helix_closure3.prototype = { + call$1: function(ss) { + return !type$.legacy_Domain._as(ss).forward; + }, + $signature: 21 + }; + R._inline_deletions_insertions_on_helix_closure4.prototype = { + call$2: function(ss1, ss2) { + var t1 = type$.legacy_Domain; + t1._as(ss1); + t1._as(ss2); + return ss1.start - ss2.start; + }, + "call*": "call$2", + $requiredArgCount: 2, + $signature: 64 + }; + R._inline_deletions_insertions_on_helix_closure5.prototype = { + call$1: function(b) { + b.get$_domain$_$this()._start = this.new_start; + b.get$_domain$_$this()._end = this.new_end; + b.get$insertions().replace$1(0, []); + b.get$deletions().replace$1(0, []); + return b; + }, + $signature: 7 + }; + D.insertion_deletion_reducer_closure.prototype = { + call$1: function(b) { + b.get$substrands().replace$1(0, this.substrands); + return b; + }, + $signature: 2 + }; + D.insertion_add_reducer_closure.prototype = { + call$2: function(i1, i2) { + var t1 = type$.legacy_Insertion; + t1._as(i1); + t1._as(i2); + return i1.offset - i2.offset; + }, + "call*": "call$2", + $requiredArgCount: 2, + $signature: 140 + }; + D.insertion_add_reducer_closure0.prototype = { + call$1: function(b) { + b.get$insertions().replace$1(0, this.insertions); + return b; + }, + $signature: 7 + }; + D.insertion_remove_reducer_closure.prototype = { + call$1: function(b) { + b.get$insertions().replace$1(0, this.insertions); + return b; + }, + $signature: 7 + }; + D.deletion_add_reducer_closure.prototype = { + call$1: function(b) { + b.get$deletions().replace$1(0, this.deletions); + return b; + }, + $signature: 7 + }; + D.deletion_remove_reducer_closure.prototype = { + call$1: function(b) { + b.get$deletions().replace$1(0, this.deletions); + return b; + }, + $signature: 7 + }; + D.insertion_length_change_reducer_closure.prototype = { + call$1: function(i) { + i.get$_domain$_$this()._domain$_length = this.action.length; + return i; + }, + $signature: 47 + }; + D.insertion_length_change_reducer_closure0.prototype = { + call$1: function(b) { + b.get$insertions().replace$1(0, this.insertions); + return b; + }, + $signature: 7 + }; + D.insertions_length_change_reducer_closure.prototype = { + call$1: function(b) { + var t1 = this.action.length; + b.get$_domain$_$this()._domain$_length = t1; + return b; + }, + $signature: 47 + }; + D.insertions_length_change_reducer_closure0.prototype = { + call$1: function(b) { + b.get$insertions().replace$1(0, this.existing_insertions); + return b; + }, + $signature: 7 + }; + D.insertions_length_change_reducer_closure1.prototype = { + call$1: function(s) { + s.get$substrands().replace$1(0, this.substrands); + return s; + }, + $signature: 2 + }; + S.load_dna_file_reducer_closure.prototype = { + call$1: function(m) { + var t1 = m.get$undo_redo(), + t2 = T.UndoRedo_UndoRedo(); + if (t2 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + t1._undo_redo$_$v = t2; + m.get$_app_state$_$this()._design = null; + m.get$ui_state().get$_app_ui_state$_$this()._changed_since_last_save = false; + t1 = this._box_0.error_message; + m.get$_app_state$_$this()._error_message = t1; + return m; + }, + $signature: 39 + }; + S.load_dna_file_reducer_closure0.prototype = { + call$1: function(s) { + var t1; + type$.legacy_SetBuilder_legacy_int._as(s); + t1 = s.$ti._eval$1("bool(1)")._as(new S.load_dna_file_reducer__closure0(this._box_0)); + s.get$_safeSet().removeWhere$1(0, t1); + return null; + }, + $signature: 280 + }; + S.load_dna_file_reducer__closure0.prototype = { + call$1: function(idx) { + var t1; + H._asIntS(idx); + t1 = J.get$length$asx(this._box_0.design_new.helices._map$_map); + if (typeof idx !== "number") + return idx.$ge(); + if (typeof t1 !== "number") + return H.iae(t1); + return idx >= t1; + }, + $signature: 23 + }; + S.load_dna_file_reducer_closure1.prototype = { + call$1: function(b) { + var t1 = this._box_0.design_new.groups; + t1 = H._asStringS(J.get$first$ax(t1.get$keys(t1))); + b.get$_app_ui_state_storables$_$this()._displayed_group_name = t1; + return b; + }, + $signature: 62 + }; + S.load_dna_file_reducer_closure2.prototype = { + call$1: function(m) { + var t3, + t1 = m.get$undo_redo(), + t2 = T.UndoRedo_UndoRedo(); + if (t2 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + t1._undo_redo$_$v = t2; + t1 = this._box_0; + t2 = t1.design_new; + t2.toString; + t3 = new N.DesignBuilder(); + N.Design__initializeBuilder(t3); + t3._design0$_$v = t2; + m.get$_app_state$_$this()._design = t3; + t2 = m.get$ui_state(); + type$.legacy_void_Function_legacy_AppUIStateBuilder._as(new S.load_dna_file_reducer__closure(t1, this.new_selectables_store, this.new_filename)).call$1(t2); + m.get$_app_state$_$this()._error_message = ""; + return m; + }, + $signature: 39 + }; + S.load_dna_file_reducer__closure.prototype = { + call$1: function(u) { + var t1 = u.get$storables(), + t2 = this._box_0, + t3 = t2.storables; + if (t3 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + t1._app_ui_state_storables$_$v = t3; + t1 = u.get$selectables_store(); + t3 = this.new_selectables_store; + if (t3 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + t1._selectable$_$v = t3; + u.get$_app_ui_state$_$this()._changed_since_last_save = false; + u.get$storables().get$_app_ui_state_storables$_$this()._loaded_filename = this.new_filename; + u.get$storables().get$side_selected_helix_idxs().replace$1(0, t2.side_selected_helix_idxs); + return u; + }, + $signature: 51 + }; + U._update_mouseover_datas_with_helix_rotation_closure.prototype = { + call$1: function(h) { + h.get$_helix$_$this()._roll = this.new_roll; + return h; + }, + $signature: 9 + }; + U._update_mouseover_datas_with_helix_rotation_closure0.prototype = { + call$1: function(m) { + var t1 = m.get$helix(), + t2 = this.new_helix; + if (t2 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + t1._helix$_$v = t2; + return m; + }, + $signature: 119 + }; + F.nick_reducer_closure.prototype = { + call$1: function(d) { + H._asIntS(d); + if (typeof d !== "number") + return d.$lt(); + return d < this.nick_offset; + }, + $signature: 23 + }; + F.nick_reducer_closure0.prototype = { + call$1: function(i) { + return type$.legacy_Insertion._as(i).offset < this.nick_offset; + }, + $signature: 29 + }; + F.nick_reducer_closure1.prototype = { + call$1: function(d) { + H._asIntS(d); + if (typeof d !== "number") + return d.$ge(); + return d >= this.nick_offset; + }, + $signature: 23 + }; + F.nick_reducer_closure2.prototype = { + call$1: function(i) { + return type$.legacy_Insertion._as(i).offset >= this.nick_offset; + }, + $signature: 29 + }; + F.nick_reducer_closure3.prototype = { + call$1: function(b) { + var t1; + b.get$_domain$_$this()._is_last = true; + t1 = J.get$isEmpty$asx(this.substrands_before._copy_on_write_list$_list); + b.get$_domain$_$this()._is_first = t1; + return b; + }, + $signature: 7 + }; + F.nick_reducer_closure4.prototype = { + call$1: function(b) { + var t1; + b.get$_domain$_$this()._is_first = true; + t1 = J.get$isEmpty$asx(this.substrands_after._copy_on_write_list$_list); + b.get$_domain$_$this()._is_last = t1; + return b; + }, + $signature: 7 + }; + F.nick_reducer_closure5.prototype = { + call$2: function(l1, l2) { + H._asIntS(l1); + H._asIntS(l2); + if (typeof l1 !== "number") + return l1.$add(); + if (typeof l2 !== "number") + return H.iae(l2); + return l1 + l2; + }, + $signature: 91 + }; + F.nick_reducer_closure6.prototype = { + call$2: function(a, b) { + H._asIntS(a); + H._asIntS(b); + if (typeof a !== "number") + return a.$add(); + if (typeof b !== "number") + return H.iae(b); + return a + b; + }, + $signature: 91 + }; + F.nick_reducer_closure7.prototype = { + call$2: function(idx, mod) { + var t1, _this = this; + H._asIntS(idx); + type$.legacy_ModificationInternal._as(mod); + t1 = J.get$length$asx(_this.substrands_before._copy_on_write_list$_list); + if (typeof t1 !== "number") + return t1.$sub(); + if (_this.i >= t1 - 1) { + t1 = _this.dna_length_strand_5p; + if (typeof idx !== "number") + return idx.$lt(); + if (typeof t1 !== "number") + return H.iae(t1); + t1 = idx < t1; + } else + t1 = true; + if (t1) + _this.modifications_int_strand_5p.$indexSet(0, idx, mod); + }, + $signature: 117 + }; + F.nick_reducer_closure8.prototype = { + call$1: function(b) { + b.get$substrands().replace$1(0, this.substrands); + b.get$_strand$_$this()._circular = false; + return b; + }, + $signature: 2 + }; + F.nick_reducer_closure9.prototype = { + call$2: function(idx, mod) { + var t1, _this = this; + H._asIntS(idx); + type$.legacy_ModificationInternal._as(mod); + t1 = J.get$length$asx(_this.substrands_before._copy_on_write_list$_list); + if (typeof t1 !== "number") + return H.iae(t1); + if (_this.i <= t1) { + t1 = _this.dna_length_strand_5p; + if (typeof idx !== "number") + return idx.$ge(); + if (typeof t1 !== "number") + return H.iae(t1); + t1 = idx >= t1; + } else + t1 = true; + if (t1) { + t1 = _this.dna_length_strand_5p; + if (typeof idx !== "number") + return idx.$sub(); + if (typeof t1 !== "number") + return H.iae(t1); + _this.modifications_int_strand_3p.$indexSet(0, idx - t1, mod); + } + }, + $signature: 117 + }; + F.ligate_reducer_closure.prototype = { + call$1: function(b) { + b.get$substrands().replace$1(0, this._box_0.substrands); + b.get$_strand$_$this()._circular = true; + return b; + }, + $signature: 2 + }; + F.find_end_pairs_to_connect_in_group_closure.prototype = { + call$2: function(end1, end2) { + var domain1, domain2, helix1, helix2, t2, helix1_order, helix2_order, t3, + t1 = type$.legacy_DNAEnd; + t1._as(end1); + t1._as(end2); + t1 = this.domains_by_end; + domain1 = t1.$index(0, end1); + domain2 = t1.$index(0, end2); + helix1 = domain1.helix; + helix2 = domain2.helix; + t1 = this.helices_view_order_inverse._map$_map; + t2 = J.getInterceptor$asx(t1); + helix1_order = t2.$index(t1, helix1); + helix2_order = t2.$index(t1, helix2); + if (helix1_order != helix2_order) { + if (typeof helix1_order !== "number") + return helix1_order.$sub(); + if (typeof helix2_order !== "number") + return H.iae(helix2_order); + return helix1_order - helix2_order; + } + t1 = domain1.forward; + if (t1 !== domain2.forward) + return t1 ? -1 : 1; + t1 = end1.is_start; + t2 = end1.offset; + if (t1) + t1 = t2; + else { + if (typeof t2 !== "number") + return t2.$sub(); + t1 = t2 - 1; + } + t2 = end2.is_start; + t3 = end2.offset; + if (t2) + t2 = t3; + else { + if (typeof t3 !== "number") + return t3.$sub(); + t2 = t3 - 1; + } + if (typeof t1 !== "number") + return t1.$sub(); + if (typeof t2 !== "number") + return H.iae(t2); + return t1 - t2; + }, + "call*": "call$2", + $requiredArgCount: 2, + $signature: 283 + }; + F._join_strands_with_crossover_closure.prototype = { + call$1: function(b) { + b.get$_strand$_$this()._circular = true; + return b; + }, + $signature: 2 + }; + F._join_strands_with_crossover_closure0.prototype = { + call$1: function(b) { + b.get$_domain$_$this()._is_last = false; + return b; + }, + $signature: 7 + }; + F._join_strands_with_crossover_closure1.prototype = { + call$1: function(b) { + var t1; + b.get$_domain$_$this()._is_first = false; + t1 = this.strand_5p; + t1 = t1.get$id(t1); + b.get$_domain$_$this()._domain$_strand_id = t1; + return b; + }, + $signature: 7 + }; + F.potential_crossover_move_reducer_closure.prototype = { + call$1: function(p) { + var t1 = type$.legacy_Point_legacy_num._as(this.action.point); + p.get$_potential_crossover$_$this().set$_potential_crossover$_current_point(t1); + return p; + }, + $signature: 116 + }; + D.select_all_selectables_reducer_closure.prototype = { + call$1: function(domain) { + return !type$.legacy_Domain._as(domain).is_first; + }, + $signature: 21 + }; + D.select_all_selectables_reducer_closure0.prototype = { + call$1: function(domain) { + type$.legacy_Domain._as(domain); + return domain.forward ? domain.get$dnaend_start() : domain.get$dnaend_end(); + }, + $signature: 114 + }; + D.select_all_selectables_reducer_closure1.prototype = { + call$1: function(domain) { + return !type$.legacy_Domain._as(domain).is_last; + }, + $signature: 21 + }; + D.select_all_selectables_reducer_closure2.prototype = { + call$1: function(domain) { + type$.legacy_Domain._as(domain); + return domain.forward ? domain.get$dnaend_end() : domain.get$dnaend_start(); + }, + $signature: 114 + }; + D.select_all_with_same_reducer_closure.prototype = { + call$1: function(b) { + b.get$selected_items().replace$1(0, this.selected_strands); + return b; + }, + $signature: 46 + }; + D.helix_selections_adjust_reducer_closure.prototype = { + call$1: function(helix) { + var t1, position3d, t2, svg_pos, t3, t4, t5, width; + type$.legacy_Helix._as(helix); + t1 = this.state.ui_state.storables.invert_y; + position3d = helix.get$position3d(); + t2 = helix.geometry; + svg_pos = E.position3d_to_side_view_svg(position3d, t1, t2); + t1 = svg_pos.x; + t3 = t2.get$helix_radius_svg(); + if (typeof t1 !== "number") + return t1.$sub(); + t4 = svg_pos.y; + t5 = t2.get$helix_radius_svg(); + if (typeof t4 !== "number") + return t4.$sub(); + width = t2.get$helix_radius_svg() * 2; + return Q.Box$(t1 - t3, t4 - t5, width, width); + }, + $signature: 287 + }; + D.helix_selections_adjust_reducer_closure0.prototype = { + call$1: function(helix) { + return type$.legacy_Helix._as(helix).idx; + }, + $signature: 98 + }; + D.helix_select_reducer_closure.prototype = { + call$1: function(h) { + var t1, t2; + type$.legacy_SetBuilder_legacy_int._as(h); + t1 = h.$ti._precomputed1; + t2 = t1._as(this.idx); + !$.$get$isSoundMode() && !t1._is(null); + return h.get$_safeSet().add$1(0, t2); + }, + $signature: 113 + }; + D.helix_select_reducer_closure0.prototype = { + call$1: function(h) { + return type$.legacy_SetBuilder_legacy_int._as(h).get$_safeSet().remove$1(0, this.idx); + }, + $signature: 113 + }; + D.helix_remove_selected_reducer_closure.prototype = { + call$1: function(b) { + var t1; + type$.legacy_SetBuilder_legacy_int._as(b); + t1 = this.action.helix_idx; + b.get$_safeSet().remove$1(0, t1); + return b; + }, + $signature: 290 + }; + D.selection_box_size_changed_reducer_closure.prototype = { + call$1: function(s) { + var t1 = type$.legacy_Point_legacy_num._as(this.action.point); + s.get$_selection_box$_$this().set$_selection_box$_current(t1); + return s; + }, + $signature: 112 + }; + D.selection_rope_mouse_move_reducer_closure.prototype = { + call$1: function(b) { + var t1 = this.action.is_main_view; + b.get$_selection_rope$_$this()._is_main = t1; + return b; + }, + $signature: 53 + }; + D.selection_rope_mouse_move_reducer_closure0.prototype = { + call$1: function(b) { + var t1 = type$.legacy_Point_legacy_num._as(this.action.point); + b.get$_selection_rope$_$this().set$_current_point(t1); + return b; + }, + $signature: 53 + }; + D.selection_rope_add_point_reducer_closure.prototype = { + call$1: function(b) { + var t1 = this.action.is_main_view; + b.get$_selection_rope$_$this()._is_main = t1; + return b; + }, + $signature: 53 + }; + D.selection_rope_add_point_reducer_closure0.prototype = { + call$1: function(b) { + b.get$points(b).replace$1(0, this.points); + return b; + }, + $signature: 53 + }; + M.strand_create_adjust_offset_reducer_closure.prototype = { + call$1: function(b) { + b.get$_strand_creation$_$this()._current_offset = this.action.offset; + return b; + }, + $signature: 102 + }; + M.strand_create_adjust_offset_reducer_closure0.prototype = { + call$1: function(b) { + b.get$_strand_creation$_$this()._current_offset = this.action.offset; + return b; + }, + $signature: 102 + }; + X.parse_strands_and_helices_view_order_from_clipboard_closure.prototype = { + call$1: function(m) { + var t5, + t1 = this.mods, + t2 = this.strand_json, + t3 = J.getInterceptor$asx(t2), + t4 = type$.legacy_Modification5Prime._as(t1.$index(0, t3.$index(t2, "5prime_modification"))); + if (t4 == null) + t4 = null; + else { + t5 = new Z.Modification5PrimeBuilder(); + t5._modification$_$v = t4; + t4 = t5; + } + m.get$_strand$_$this()._modification_5p = t4; + t2 = type$.legacy_Modification3Prime._as(t1.$index(0, t3.$index(t2, "3prime_modification"))); + if (t2 == null) + t1 = null; + else { + t1 = new Z.Modification3PrimeBuilder(); + t1._modification$_$v = t2; + } + m.get$_strand$_$this()._modification_3p = t1; + m.get$modifications_int().replace$1(0, this.modifications_int); + return m; + }, + $signature: 2 + }; + X.compute_default_next_address_closure.prototype = { + call$1: function(b) { + b.get$_address$_$this()._helix_idx = this.next_helix_idx; + return b; + }, + $signature: 70 + }; + X.compute_default_next_address_closure0.prototype = { + call$1: function(b) { + var t1 = b.get$current_address(); + t1._address$_$v = this.next_address; + return b; + }, + $signature: 35 + }; + X.compute_default_next_address_closure1.prototype = { + call$1: function(b) { + var t1 = this._box_0.offset; + b.get$_address$_$this()._offset = t1; + return b; + }, + $signature: 70 + }; + X.compute_default_next_address_closure2.prototype = { + call$1: function(b) { + var t1 = b.get$current_address(); + t1._address$_$v = this.next_address; + return b; + }, + $signature: 35 + }; + X.manual_paste_copy_info_reducer_closure.prototype = { + call$1: function(b) { + var t1 = new Z.AddressDifferenceBuilder(); + t1._address$_$v = this.translation; + b.get$_copy_info$_$this()._translation = t1; + return b; + }, + $signature: 103 + }; + X.manual_paste_copy_info_reducer_closure0.prototype = { + call$1: function(b) { + var t1 = b.get$prev_paste_address(); + t1._address$_$v = this.current_address; + return b; + }, + $signature: 103 + }; + D.strands_move_start_selected_strands_reducer_closure.prototype = { + call$1: function(s) { + return type$.legacy_Selectable._as(s) instanceof E.Strand; + }, + $signature: 13 + }; + D.strands_adjust_address_reducer_closure.prototype = { + call$1: function(b) { + var t1 = b.get$current_address(), + t2 = this.action.address; + t1._address$_$v = t2; + return b; + }, + $signature: 35 + }; + D.strands_adjust_address_reducer_closure0.prototype = { + call$1: function(b) { + b.get$_strands_move$_$this()._strands_move$_allowable = this.allowable; + return b; + }, + $signature: 35 + }; + D.is_allowable_closure.prototype = { + call$1: function(dom) { + return this.delta_forward !== (type$.legacy_Domain._as(dom).forward === this.forward); + }, + $signature: 21 + }; + D.is_allowable_closure0.prototype = { + call$1: function(dom) { + var t1; + type$.legacy_Domain._as(dom); + t1 = this.delta_offset; + return new P.Point(dom.start + t1, dom.end - 1 + t1, type$.Point_legacy_int); + }, + $signature: 67 + }; + D.is_allowable_closure1.prototype = { + call$1: function(dom) { + return type$.legacy_Domain._as(dom).forward === this.forward; + }, + $signature: 21 + }; + D.is_allowable_closure2.prototype = { + call$1: function(dom) { + type$.legacy_Domain._as(dom); + return new P.Point(dom.start, dom.end - 1, type$.Point_legacy_int); + }, + $signature: 67 + }; + E.substrand_name_set_reducer_closure.prototype = { + call$1: function(b) { + b.get$_domain$_$this()._domain$_name = this.action.name; + return b; + }, + $signature: 7 + }; + E.substrand_name_set_reducer_closure0.prototype = { + call$1: function(b) { + b.get$_loopout$_$this()._loopout$_name = this.action.name; + return b; + }, + $signature: 24 + }; + E.substrand_name_set_reducer_closure1.prototype = { + call$1: function(b) { + b.get$_extension$_$this()._extension$_name = this.action.name; + return b; + }, + $signature: 19 + }; + E.substrand_name_set_reducer_closure2.prototype = { + call$1: function(s) { + s.get$substrands().replace$1(0, this.substrands); + return s; + }, + $signature: 2 + }; + E.substrand_label_set_reducer_closure.prototype = { + call$1: function(b) { + b.get$_domain$_$this()._domain$_label = this.action.label; + return b; + }, + $signature: 7 + }; + E.substrand_label_set_reducer_closure0.prototype = { + call$1: function(b) { + b.get$_loopout$_$this()._loopout$_label = this.action.label; + return b; + }, + $signature: 24 + }; + E.substrand_label_set_reducer_closure1.prototype = { + call$1: function(b) { + b.get$_extension$_$this()._extension$_label = this.action.label; + return b; + }, + $signature: 19 + }; + E.substrand_label_set_reducer_closure2.prototype = { + call$1: function(s) { + s.get$substrands().replace$1(0, this.substrands); + return s; + }, + $signature: 2 + }; + E.one_strand_strands_move_copy_commit_reducer_closure.prototype = { + call$1: function(b) { + var t1 = $.$get$color_cycler().next$0(0); + b.get$_strand$_$this()._strand$_color = t1; + return b; + }, + $signature: 2 + }; + E.move_strand_closure.prototype = { + call$1: function(b) { + var t2, t3, t4, t5, _this = this, + t1 = _this.i; + b.get$_domain$_$this()._is_first = t1 === 0; + t2 = J.get$length$asx(_this._box_1.substrands); + if (typeof t2 !== "number") + return t2.$sub(); + b.get$_domain$_$this()._is_last = t1 === t2 - 1; + t2 = _this._box_0.new_helix_idx; + b.get$_domain$_$this()._domain$_helix = t2; + t2 = _this.substrand; + b.get$_domain$_$this()._domain$_forward = _this.delta_forward !== t2.forward; + t1 = _this.delta_offset; + if (typeof t1 !== "number") + return H.iae(t1); + b.get$_domain$_$this()._start = t2.start + t1; + b.get$_domain$_$this()._end = t2.end + t1; + t3 = b.get$deletions(); + t4 = t2.deletions; + t5 = type$.dynamic; + t4.toString; + t3.replace$1(0, J.map$1$1$ax(t4._list, t4.$ti._eval$1("@(1)")._as(new E.move_strand__closure(t1)), t5)); + t4 = b.get$insertions(); + t2 = t2.insertions; + t2.toString; + t4.replace$1(0, J.map$1$1$ax(t2._list, t2.$ti._eval$1("@(1)")._as(new E.move_strand__closure0(t1)), t5)); + return b; + }, + $signature: 7 + }; + E.move_strand__closure.prototype = { + call$1: function(d) { + var t1; + H._asIntS(d); + t1 = this.delta_offset; + if (typeof d !== "number") + return d.$add(); + if (typeof t1 !== "number") + return H.iae(t1); + return d + t1; + }, + $signature: 135 + }; + E.move_strand__closure0.prototype = { + call$1: function(i) { + type$.legacy_Insertion._as(i); + return i.rebuild$1(new E.move_strand___closure(i, this.delta_offset)); + }, + $signature: 109 + }; + E.move_strand___closure.prototype = { + call$1: function(ib) { + var t1 = this.i.offset, + t2 = this.delta_offset; + if (typeof t2 !== "number") + return H.iae(t2); + ib.get$_domain$_$this()._domain$_offset = t1 + t2; + return ib; + }, + $signature: 47 + }; + E.move_strand_closure0.prototype = { + call$1: function(b) { + b.get$substrands().replace$1(0, this._box_1.substrands); + return b; + }, + $signature: 2 + }; + E.one_strand_domains_move_commit_reducer_closure.prototype = { + call$1: function(b) { + b.get$substrands().replace$1(0, this.substrands); + return b; + }, + $signature: 2 + }; + E.strands_dna_ends_move_commit_reducer_closure.prototype = { + call$1: function(i) { + return type$.legacy_Insertion._as(i).offset === this.offset; + }, + $signature: 29 + }; + E.strands_dna_extensions_move_commit_reducer_closure.prototype = { + call$1: function(b) { + var t1 = this.length_and_angle, + t2 = H._asDoubleS(t1.item1); + b.get$_extension$_$this()._display_length = t2; + t1 = H._asDoubleS(t1.item2); + b.get$_extension$_$this()._display_angle = t1; + return b; + }, + $signature: 19 + }; + E.strands_dna_extensions_move_commit_reducer_closure0.prototype = { + call$1: function(s) { + var t1 = type$.legacy_ListBuilder_legacy_Substrand._as(this.substrands_builder); + s.get$_strand$_$this().set$_substrands(t1); + return s; + }, + $signature: 2 + }; + E.InsertionDeletionRecord.prototype = { + toString$0: function(_) { + return "InsertionDeletionRecord(offset=" + H.S(this.offset) + ", strand_idx=" + this.strand_idx + ", substrand_idx=" + this.substrand_idx + ")"; + }, + get$offset: function(receiver) { + return this.offset; + } + }; + E.single_strand_dna_ends_commit_stop_reducer_closure.prototype = { + call$1: function(d) { + return !C.JSArray_methods.contains$1(this.remaining_deletions, H._asIntS(d)); + }, + $signature: 23 + }; + E.single_strand_dna_ends_commit_stop_reducer_closure0.prototype = { + call$1: function(i) { + return !C.JSArray_methods.contains$1(this.remaining_insertions, type$.legacy_Insertion._as(i)); + }, + $signature: 29 + }; + E.single_strand_dna_ends_commit_stop_reducer_closure1.prototype = { + call$1: function(i) { + return type$.legacy_Insertion._as(i).offset; + }, + $signature: 295 + }; + E.single_strand_dna_ends_commit_stop_reducer_closure2.prototype = { + call$1: function(b) { + var t1 = this.new_offset; + if (J.$eq$(this.dnaend, this.substrand.get$dnaend_start())) + b.get$_domain$_$this()._start = t1; + else { + if (typeof t1 !== "number") + return t1.$add(); + b.get$_domain$_$this()._end = t1 + 1; + } + return b; + }, + $signature: 7 + }; + E.single_strand_dna_ends_commit_stop_reducer_closure3.prototype = { + call$1: function(b) { + b.get$deletions().replace$1(0, this.remaining_deletions); + b.get$insertions().replace$1(0, this.remaining_insertions); + return b; + }, + $signature: 7 + }; + E.single_strand_dna_ends_commit_stop_reducer_closure4.prototype = { + call$1: function(b) { + b.get$substrands().replace$1(0, this.substrands); + return b; + }, + $signature: 2 + }; + E.get_remaining_deletions_closure.prototype = { + call$1: function(d) { + var t1; + H._asIntS(d); + t1 = this.new_offset; + if (this.substrand.get$dnaend_start().$eq(0, this.dnaend)) { + if (typeof t1 !== "number") + return t1.$lt(); + if (typeof d !== "number") + return H.iae(d); + t1 = t1 < d; + } else { + if (typeof t1 !== "number") + return t1.$gt(); + if (typeof d !== "number") + return H.iae(d); + t1 = t1 > d; + } + return t1; + }, + $signature: 23 + }; + E.get_remaining_insertions_closure.prototype = { + call$1: function(i) { + var t1, t2; + type$.legacy_Insertion._as(i); + t1 = this.new_offset; + if (this.substrand.get$dnaend_start().$eq(0, this.dnaend)) { + t2 = i.offset; + if (typeof t1 !== "number") + return t1.$lt(); + t2 = t1 < t2; + t1 = t2; + } else { + t2 = i.offset; + if (typeof t1 !== "number") + return t1.$gt(); + t2 = t1 > t2; + t1 = t2; + } + return t1; + }, + $signature: 29 + }; + E.strand_create_closure.prototype = { + call$1: function(s) { + var t1, t2; + type$.legacy_ListBuilder_legacy_Strand._as(s); + t1 = s.$ti._precomputed1; + t2 = t1._as(this.strand); + if (!$.$get$isSoundMode() && !t1._is(null)) + if (t2 == null) + H.throwExpression(P.ArgumentError$("null element")); + J.add$1$ax(s.get$_safeList(), t2); + return s; + }, + $signature: 137 + }; + E.vendor_fields_remove_reducer_closure.prototype = { + call$1: function(m) { + return m.get$_strand$_$this()._vendor_fields = null; + }, + $signature: 68 + }; + E.plate_well_vendor_fields_remove_reducer_closure.prototype = { + call$1: function(m) { + var t1 = m.get$vendor_fields(); + t1.get$_vendor_fields$_$this()._plate = null; + t1.get$_vendor_fields$_$this()._well = null; + return t1; + }, + $signature: 296 + }; + E.plate_well_vendor_fields_assign_reducer_closure.prototype = { + call$1: function(m) { + var t1 = m.get$vendor_fields(), + t2 = this.action.vendor_fields; + if (t2 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + t1._vendor_fields$_$v = t2; + return null; + }, + $signature: 38 + }; + E.scale_purification_vendor_fields_assign_reducer_closure.prototype = { + call$1: function(m) { + var t1 = m.get$vendor_fields(), + t2 = this.action.vendor_fields; + if (t2 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + t1._vendor_fields$_$v = t2; + return null; + }, + $signature: 38 + }; + E.strand_name_set_reducer_closure.prototype = { + call$1: function(b) { + var t1 = this.action.name; + b.get$_strand$_$this()._strand$_name = t1; + return b; + }, + $signature: 2 + }; + E.strand_label_set_reducer_closure.prototype = { + call$1: function(b) { + var t1 = this.action.label; + b.get$_strand$_$this()._label = t1; + return b; + }, + $signature: 2 + }; + E.extension_add_reducer_closure.prototype = { + call$1: function(b) { + b.get$substrands().replace$1(0, this.substrands); + return b; + }, + $signature: 2 + }; + E.modification_add_reducer_closure.prototype = { + call$1: function(m) { + var t1 = m.get$modifications_int(), + t2 = this.action, + t3 = type$.legacy_ModificationInternal._as(t2.modification); + t1.$indexSet(0, t2.strand_dna_idx, t3); + return t3; + }, + $signature: 111 + }; + E.modification_add_reducer_closure0.prototype = { + call$1: function(m) { + var t1 = m.get$modification_3p(), + t2 = type$.legacy_Modification3Prime._as(this.action.modification); + if (t2 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + t1._modification$_$v = t2; + return null; + }, + $signature: 38 + }; + E.modification_add_reducer_closure1.prototype = { + call$1: function(m) { + var t1 = m.get$modification_5p(), + t2 = type$.legacy_Modification5Prime._as(this.action.modification); + if (t2 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + t1._modification$_$v = t2; + return null; + }, + $signature: 38 + }; + E.modification_remove_reducer_closure.prototype = { + call$1: function(m) { + return J.remove$1$ax(m.get$modifications_int().get$_safeMap(), this.action.strand_dna_idx); + }, + $signature: 299 + }; + E.modification_remove_reducer_closure0.prototype = { + call$1: function(m) { + return m.get$_strand$_$this()._modification_3p = null; + }, + $signature: 68 + }; + E.modification_remove_reducer_closure1.prototype = { + call$1: function(m) { + return m.get$_strand$_$this()._modification_5p = null; + }, + $signature: 68 + }; + E.modification_edit_reducer_closure.prototype = { + call$1: function(m) { + var t1 = m.get$modifications_int(), + t2 = this.action, + t3 = type$.legacy_ModificationInternal._as(t2.modification); + t1.$indexSet(0, t2.strand_dna_idx, t3); + return t3; + }, + $signature: 111 + }; + E.modification_edit_reducer_closure0.prototype = { + call$1: function(m) { + var t1 = m.get$modification_3p(), + t2 = type$.legacy_Modification3Prime._as(this.action.modification); + if (t2 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + t1._modification$_$v = t2; + return null; + }, + $signature: 38 + }; + E.modification_edit_reducer_closure1.prototype = { + call$1: function(m) { + var t1 = m.get$modification_5p(), + t2 = type$.legacy_Modification5Prime._as(this.action.modification); + if (t2 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + t1._modification$_$v = t2; + return null; + }, + $signature: 38 + }; + E.scaffold_set_reducer_closure.prototype = { + call$1: function(b) { + b.get$_strand$_$this()._is_scaffold = this.action.is_scaffold; + b.get$_strand$_$this()._strand$_color = this.new_color; + return b; + }, + $signature: 2 + }; + E.strand_or_substrand_color_set_reducer_closure.prototype = { + call$1: function(b) { + b.get$_strand$_$this()._strand$_color = this.action.color; + return b; + }, + $signature: 2 + }; + E.strand_or_substrand_color_set_reducer_closure0.prototype = { + call$1: function(b) { + b.get$_domain$_$this()._domain$_color = this.action.color; + return b; + }, + $signature: 7 + }; + E.strand_or_substrand_color_set_reducer_closure1.prototype = { + call$1: function(b) { + b.get$_loopout$_$this()._loopout$_color = this.action.color; + return b; + }, + $signature: 24 + }; + E.strand_or_substrand_color_set_reducer_closure2.prototype = { + call$1: function(b) { + b.get$_extension$_$this()._extension$_color = this.action.color; + return b; + }, + $signature: 19 + }; + E.strand_or_substrand_color_set_reducer_closure3.prototype = { + call$1: function(s) { + s.get$substrands().replace$1(0, this.substrands); + return s; + }, + $signature: 2 + }; + E.modifications_5p_edit_reducer_closure.prototype = { + call$1: function(b) { + var t1 = b.get$modification_5p(), + t2 = this.action.new_modification; + if (t2 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + t1._modification$_$v = t2; + return b; + }, + $signature: 2 + }; + E.modifications_3p_edit_reducer_closure.prototype = { + call$1: function(b) { + var t1 = b.get$modification_3p(), + t2 = this.action.new_modification; + if (t2 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + t1._modification$_$v = t2; + return b; + }, + $signature: 2 + }; + E.modifications_int_edit_reducer_closure.prototype = { + call$1: function(b) { + return b.get$modifications_int().replace$1(0, this.mods_int); + }, + $signature: 38 + }; + S.create_new_state_with_new_design_and_undo_redo_closure.prototype = { + call$1: function(m) { + var _this = this, _s5_ = "other", + t1 = m.get$ui_state(), + t2 = _this.old_state, + t3 = t2.ui_state.rebuild$1(new S.create_new_state_with_new_design_and_undo_redo__closure(_this.changed_since_last_save)); + if (t3 == null) + H.throwExpression(P.ArgumentError$notNull(_s5_)); + t1._app_ui_state$_$v = t3; + t1 = m.get$design(); + t3 = _this.new_design; + if (t3 == null) + H.throwExpression(P.ArgumentError$notNull(_s5_)); + t1._design0$_$v = t3; + t1 = m.get$undo_redo(); + t2 = t2.undo_redo.rebuild$1(new S.create_new_state_with_new_design_and_undo_redo__closure0(_this.new_undo_stack, _this.new_redo_stack)); + if (t2 == null) + H.throwExpression(P.ArgumentError$notNull(_s5_)); + t1._undo_redo$_$v = t2; + return m; + }, + $signature: 39 + }; + S.create_new_state_with_new_design_and_undo_redo__closure.prototype = { + call$1: function(u) { + u.get$_app_ui_state$_$this()._changed_since_last_save = this.changed_since_last_save; + return u; + }, + $signature: 51 + }; + S.create_new_state_with_new_design_and_undo_redo__closure0.prototype = { + call$1: function(u) { + var t1 = type$.legacy_ListBuilder_legacy_UndoRedoItem, + t2 = t1._as(this.new_undo_stack); + u.get$_undo_redo$_$this().set$_undo_stack(t2); + t1 = t1._as(this.new_redo_stack); + u.get$_undo_redo$_$this().set$_redo_stack(t1); + return u; + }, + $signature: 75 + }; + S.redo_reducer_closure.prototype = { + call$1: function(m) { + var _this = this, _s5_ = "other", + t1 = m.get$ui_state(), + t2 = _this.state.ui_state.rebuild$1(new S.redo_reducer__closure(_this.changed_since_last_save)); + if (t2 == null) + H.throwExpression(P.ArgumentError$notNull(_s5_)); + t1._app_ui_state$_$v = t2; + t1 = m.get$design(); + t2 = _this._box_0.new_design; + if (t2 == null) + H.throwExpression(P.ArgumentError$notNull(_s5_)); + t1._design0$_$v = t2; + t1 = m.get$undo_redo(); + t2 = _this.undo_redo.rebuild$1(new S.redo_reducer__closure0(_this.undo_stack, _this.redo_stack)); + if (t2 == null) + H.throwExpression(P.ArgumentError$notNull(_s5_)); + t1._undo_redo$_$v = t2; + return m; + }, + $signature: 39 + }; + S.redo_reducer__closure.prototype = { + call$1: function(u) { + u.get$_app_ui_state$_$this()._changed_since_last_save = this.changed_since_last_save; + return u; + }, + $signature: 51 + }; + S.redo_reducer__closure0.prototype = { + call$1: function(u) { + var t1 = type$.legacy_ListBuilder_legacy_UndoRedoItem, + t2 = t1._as(this.undo_stack); + u.get$_undo_redo$_$this().set$_undo_stack(t2); + t1 = t1._as(this.redo_stack); + u.get$_undo_redo$_$this().set$_redo_stack(t1); + return u; + }, + $signature: 75 + }; + S.undo_redo_clear_reducer_closure.prototype = { + call$1: function(m) { + var t1 = m.get$undo_redo(), + t2 = T.UndoRedo_UndoRedo(); + if (t2 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + t1._undo_redo$_$v = t2; + return m; + }, + $signature: 39 + }; + S.undoable_action_typed_reducer_closure.prototype = { + call$1: function(m) { + var t1 = m.get$undo_redo(), + t2 = this.state; + t2 = t2.undo_redo.rebuild$1(new S.undoable_action_typed_reducer__closure(this.action, t2)); + if (t2 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + t1._undo_redo$_$v = t2; + return m; + }, + $signature: 39 + }; + S.undoable_action_typed_reducer__closure.prototype = { + call$1: function(u) { + var t1 = u.get$undo_stack(), + t2 = t1.$ti._precomputed1, + t3 = t2._as(T.UndoRedoItem_UndoRedoItem(this.action.short_description$0(), this.state.design)); + if (!$.$get$isSoundMode() && !t2._is(null)) + if (t3 == null) + H.throwExpression(P.ArgumentError$("null element")); + J.add$1$ax(t1.get$_safeList(), t3); + J.clear$0$ax(u.get$redo_stack().get$_safeList()); + return u; + }, + $signature: 75 + }; + X.TypedGlobalReducer.prototype = { + call$3: function(local_state, global_state, action) { + var t1 = this.$ti; + t1._eval$1("1*")._as(local_state); + t1._eval$1("2*")._as(global_state); + if (t1._eval$1("3*")._is(action)) + return this.reducer.call$3(local_state, global_state, action); + return local_state; + } + }; + X.combineGlobalReducers_closure.prototype = { + call$3: function(local_state, global_state, action) { + var t1, t2, _i; + this.LocalState._eval$1("0*")._as(local_state); + this.GlobalState._eval$1("0*")._as(global_state); + for (t1 = this.reducers, t2 = t1.length, _i = 0; _i < t1.length; t1.length === t2 || (0, H.throwConcurrentModificationError)(t1), ++_i) + local_state = t1[_i].call$3(local_state, global_state, action); + return local_state; + }, + $signature: function() { + return this.LocalState._eval$1("@<0>")._bind$1(this.GlobalState)._eval$1("1*(1*,2*,@)"); + } + }; + K.standard_serializers_closure.prototype = { + call$0: function() { + return A.MapBuilder_MapBuilder(C.Map_empty, type$.legacy_int, type$.legacy_BuiltList_legacy_String); + }, + "call*": "call$0", + $requiredArgCount: 0, + $signature: 301 + }; + K.BuiltJsonSerializable.prototype = { + toJson$0: function() { + return $.$get$standard_serializers().serialize$1(this); + } + }; + K.PointSerializer.prototype = { + serialize$3$specifiedType: function(serializers, point, specifiedType) { + var t1; + this.$ti._eval$1("Point<1*>*")._as(point); + t1 = type$.legacy_String; + return P.LinkedHashMap_LinkedHashMap$_literal(["x", J.toString$0$(point.x), "y", J.toString$0$(point.y)], t1, t1); + }, + serialize$2: function(serializers, point) { + return this.serialize$3$specifiedType(serializers, point, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + var t1, t2, t3; + type$.legacy_Map_dynamic_dynamic._as(serialized); + t1 = J.getInterceptor$asx(serialized); + t2 = this.$ti; + t3 = t2._eval$1("1*"); + return new P.Point(t3._as(P.num_parse(H._asStringS(t1.$index(serialized, "x")))), t3._as(P.num_parse(H._asStringS(t1.$index(serialized, "y")))), t2._eval$1("Point<1*>")); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isPrimitiveSerializer: 1, + get$types: function(receiver) { + return this.types; + }, + get$wireName: function() { + return "Point"; + } + }; + K.ColorSerializer.prototype = { + serialize$3$specifiedType: function(serializers, color, specifiedType) { + var t1 = type$.legacy_Color._as(color).toHexColor$0(); + return "#" + t1.get$rHex() + t1.get$gHex() + t1.get$bHex(); + }, + serialize$2: function(serializers, color) { + return this.serialize$3$specifiedType(serializers, color, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + return S.HexColor_HexColor(H._asStringS(serialized)); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isPrimitiveSerializer: 1, + get$types: function(receiver) { + return this.types; + }, + get$wireName: function() { + return "Color"; + } + }; + K._$serializers_closure.prototype = { + call$0: function() { + return D.ListBuilder_ListBuilder(C.List_empty, type$.legacy_ContextMenuItem); + }, + "call*": "call$0", + $requiredArgCount: 0, + $signature: 110 + }; + K._$serializers_closure0.prototype = { + call$0: function() { + return D.ListBuilder_ListBuilder(C.List_empty, type$.legacy_ContextMenuItem); + }, + "call*": "call$0", + $requiredArgCount: 0, + $signature: 110 + }; + K._$serializers_closure1.prototype = { + call$0: function() { + return D.ListBuilder_ListBuilder(C.List_empty, type$.legacy_Crossover); + }, + "call*": "call$0", + $requiredArgCount: 0, + $signature: 303 + }; + K._$serializers_closure2.prototype = { + call$0: function() { + return D.ListBuilder_ListBuilder(C.List_empty, type$.legacy_DNAEndMove); + }, + "call*": "call$0", + $requiredArgCount: 0, + $signature: 157 + }; + K._$serializers_closure3.prototype = { + call$0: function() { + return D.ListBuilder_ListBuilder(C.List_empty, type$.legacy_DNAEndMove); + }, + "call*": "call$0", + $requiredArgCount: 0, + $signature: 157 + }; + K._$serializers_closure4.prototype = { + call$0: function() { + return X.SetBuilder_SetBuilder(C.List_empty, type$.legacy_Strand); + }, + "call*": "call$0", + $requiredArgCount: 0, + $signature: 133 + }; + K._$serializers_closure5.prototype = { + call$0: function() { + return D.ListBuilder_ListBuilder(C.List_empty, type$.legacy_DNAExtensionMove); + }, + "call*": "call$0", + $requiredArgCount: 0, + $signature: 141 + }; + K._$serializers_closure6.prototype = { + call$0: function() { + return D.ListBuilder_ListBuilder(C.List_empty, type$.legacy_DNAExtensionMove); + }, + "call*": "call$0", + $requiredArgCount: 0, + $signature: 141 + }; + K._$serializers_closure7.prototype = { + call$0: function() { + return X.SetBuilder_SetBuilder(C.List_empty, type$.legacy_Strand); + }, + "call*": "call$0", + $requiredArgCount: 0, + $signature: 133 + }; + K._$serializers_closure8.prototype = { + call$0: function() { + return D.ListBuilder_ListBuilder(C.List_empty, type$.legacy_DialogItem); + }, + "call*": "call$0", + $requiredArgCount: 0, + $signature: 307 + }; + K._$serializers_closure9.prototype = { + call$0: function() { + return D.ListBuilder_ListBuilder(C.List_empty, type$.legacy_BuiltList_legacy_int); + }, + "call*": "call$0", + $requiredArgCount: 0, + $signature: 308 + }; + K._$serializers_closure10.prototype = { + call$0: function() { + return A.MapBuilder_MapBuilder(C.Map_empty, type$.legacy_int, type$.legacy_BuiltMap_of_legacy_int_and_legacy_BuiltList_legacy_String); + }, + "call*": "call$0", + $requiredArgCount: 0, + $signature: 309 + }; + K._$serializers_closure11.prototype = { + call$0: function() { + return A.MapBuilder_MapBuilder(C.Map_empty, type$.legacy_int, type$.legacy_BuiltList_legacy_int); + }, + "call*": "call$0", + $requiredArgCount: 0, + $signature: 105 + }; + K._$serializers_closure12.prototype = { + call$0: function() { + return A.MapBuilder_MapBuilder(C.Map_empty, type$.legacy_int, type$.legacy_BuiltList_legacy_int); + }, + "call*": "call$0", + $requiredArgCount: 0, + $signature: 105 + }; + K._$serializers_closure13.prototype = { + call$0: function() { + return D.ListBuilder_ListBuilder(C.List_empty, type$.legacy_int); + }, + "call*": "call$0", + $requiredArgCount: 0, + $signature: 22 + }; + K._$serializers_closure14.prototype = { + call$0: function() { + return D.ListBuilder_ListBuilder(C.List_empty, type$.legacy_Domain); + }, + "call*": "call$0", + $requiredArgCount: 0, + $signature: 71 + }; + K._$serializers_closure15.prototype = { + call$0: function() { + return D.ListBuilder_ListBuilder(C.List_empty, type$.legacy_Domain); + }, + "call*": "call$0", + $requiredArgCount: 0, + $signature: 71 + }; + K._$serializers_closure16.prototype = { + call$0: function() { + return D.ListBuilder_ListBuilder(C.List_empty, type$.legacy_Domain); + }, + "call*": "call$0", + $requiredArgCount: 0, + $signature: 71 + }; + K._$serializers_closure17.prototype = { + call$0: function() { + return A.MapBuilder_MapBuilder(C.Map_empty, type$.legacy_int, type$.legacy_Helix); + }, + "call*": "call$0", + $requiredArgCount: 0, + $signature: 96 + }; + K._$serializers_closure18.prototype = { + call$0: function() { + return A.MapBuilder_MapBuilder(C.Map_empty, type$.legacy_String, type$.legacy_HelixGroup); + }, + "call*": "call$0", + $requiredArgCount: 0, + $signature: 115 + }; + K._$serializers_closure19.prototype = { + call$0: function() { + return D.ListBuilder_ListBuilder(C.List_empty, type$.legacy_Strand); + }, + "call*": "call$0", + $requiredArgCount: 0, + $signature: 37 + }; + K._$serializers_closure20.prototype = { + call$0: function() { + var t1 = type$.legacy_int; + return A.MapBuilder_MapBuilder(C.Map_empty, t1, t1); + }, + "call*": "call$0", + $requiredArgCount: 0, + $signature: 44 + }; + K._$serializers_closure21.prototype = { + call$0: function() { + return D.ListBuilder_ListBuilder(C.List_empty, type$.legacy_Extension); + }, + "call*": "call$0", + $requiredArgCount: 0, + $signature: 317 + }; + K._$serializers_closure22.prototype = { + call$0: function() { + return D.ListBuilder_ListBuilder(C.List_empty, type$.legacy_Insertion); + }, + "call*": "call$0", + $requiredArgCount: 0, + $signature: 118 + }; + K._$serializers_closure23.prototype = { + call$0: function() { + return D.ListBuilder_ListBuilder(C.List_empty, type$.legacy_Domain); + }, + "call*": "call$0", + $requiredArgCount: 0, + $signature: 71 + }; + K._$serializers_closure24.prototype = { + call$0: function() { + return D.ListBuilder_ListBuilder(C.List_empty, type$.legacy_Loopout); + }, + "call*": "call$0", + $requiredArgCount: 0, + $signature: 319 + }; + K._$serializers_closure25.prototype = { + call$0: function() { + return D.ListBuilder_ListBuilder(C.List_empty, type$.legacy_MouseoverData); + }, + "call*": "call$0", + $requiredArgCount: 0, + $signature: 320 + }; + K._$serializers_closure26.prototype = { + call$0: function() { + return A.MapBuilder_MapBuilder(C.Map_empty, type$.legacy_int, type$.legacy_BuiltList_legacy_int); + }, + "call*": "call$0", + $requiredArgCount: 0, + $signature: 105 + }; + K._$serializers_closure27.prototype = { + call$0: function() { + return D.ListBuilder_ListBuilder(C.List_empty, type$.legacy_MouseoverParams); + }, + "call*": "call$0", + $requiredArgCount: 0, + $signature: 321 + }; + K._$serializers_closure28.prototype = { + call$0: function() { + return D.ListBuilder_ListBuilder(C.List_empty, type$.legacy_Point_legacy_num); + }, + "call*": "call$0", + $requiredArgCount: 0, + $signature: 322 + }; + K._$serializers_closure29.prototype = { + call$0: function() { + return D.ListBuilder_ListBuilder(C.List_empty, type$.legacy_SelectModeChoice); + }, + "call*": "call$0", + $requiredArgCount: 0, + $signature: 323 + }; + K._$serializers_closure30.prototype = { + call$0: function() { + return D.ListBuilder_ListBuilder(C.List_empty, type$.legacy_Selectable); + }, + "call*": "call$0", + $requiredArgCount: 0, + $signature: 93 + }; + K._$serializers_closure31.prototype = { + call$0: function() { + return D.ListBuilder_ListBuilder(C.List_empty, type$.legacy_Selectable); + }, + "call*": "call$0", + $requiredArgCount: 0, + $signature: 93 + }; + K._$serializers_closure32.prototype = { + call$0: function() { + return D.ListBuilder_ListBuilder(C.List_empty, type$.legacy_Selectable); + }, + "call*": "call$0", + $requiredArgCount: 0, + $signature: 93 + }; + K._$serializers_closure33.prototype = { + call$0: function() { + return D.ListBuilder_ListBuilder(C.List_empty, type$.legacy_SelectableTrait); + }, + "call*": "call$0", + $requiredArgCount: 0, + $signature: 325 + }; + K._$serializers_closure34.prototype = { + call$0: function() { + return D.ListBuilder_ListBuilder(C.List_empty, type$.legacy_SelectableModification3Prime); + }, + "call*": "call$0", + $requiredArgCount: 0, + $signature: 326 + }; + K._$serializers_closure35.prototype = { + call$0: function() { + return D.ListBuilder_ListBuilder(C.List_empty, type$.legacy_SelectableModification5Prime); + }, + "call*": "call$0", + $requiredArgCount: 0, + $signature: 327 + }; + K._$serializers_closure36.prototype = { + call$0: function() { + return D.ListBuilder_ListBuilder(C.List_empty, type$.legacy_SelectableModificationInternal); + }, + "call*": "call$0", + $requiredArgCount: 0, + $signature: 328 + }; + K._$serializers_closure37.prototype = { + call$0: function() { + return D.ListBuilder_ListBuilder(C.List_empty, type$.legacy_Strand); + }, + "call*": "call$0", + $requiredArgCount: 0, + $signature: 37 + }; + K._$serializers_closure38.prototype = { + call$0: function() { + return D.ListBuilder_ListBuilder(C.List_empty, type$.legacy_Strand); + }, + "call*": "call$0", + $requiredArgCount: 0, + $signature: 37 + }; + K._$serializers_closure39.prototype = { + call$0: function() { + return D.ListBuilder_ListBuilder(C.List_empty, type$.legacy_Strand); + }, + "call*": "call$0", + $requiredArgCount: 0, + $signature: 37 + }; + K._$serializers_closure40.prototype = { + call$0: function() { + return D.ListBuilder_ListBuilder(C.List_empty, type$.legacy_Strand); + }, + "call*": "call$0", + $requiredArgCount: 0, + $signature: 37 + }; + K._$serializers_closure41.prototype = { + call$0: function() { + return D.ListBuilder_ListBuilder(C.List_empty, type$.legacy_Strand); + }, + "call*": "call$0", + $requiredArgCount: 0, + $signature: 37 + }; + K._$serializers_closure42.prototype = { + call$0: function() { + return A.MapBuilder_MapBuilder(C.Map_empty, type$.legacy_int, type$.legacy_Helix); + }, + "call*": "call$0", + $requiredArgCount: 0, + $signature: 96 + }; + K._$serializers_closure43.prototype = { + call$0: function() { + return A.MapBuilder_MapBuilder(C.Map_empty, type$.legacy_String, type$.legacy_HelixGroup); + }, + "call*": "call$0", + $requiredArgCount: 0, + $signature: 115 + }; + K._$serializers_closure44.prototype = { + call$0: function() { + var t1 = type$.legacy_int; + return A.MapBuilder_MapBuilder(C.Map_empty, t1, t1); + }, + "call*": "call$0", + $requiredArgCount: 0, + $signature: 44 + }; + K._$serializers_closure45.prototype = { + call$0: function() { + return D.ListBuilder_ListBuilder(C.List_empty, type$.legacy_Strand); + }, + "call*": "call$0", + $requiredArgCount: 0, + $signature: 37 + }; + K._$serializers_closure46.prototype = { + call$0: function() { + return D.ListBuilder_ListBuilder(C.List_empty, type$.legacy_int); + }, + "call*": "call$0", + $requiredArgCount: 0, + $signature: 22 + }; + K._$serializers_closure47.prototype = { + call$0: function() { + var t1 = type$.legacy_int; + return A.MapBuilder_MapBuilder(C.Map_empty, t1, t1); + }, + "call*": "call$0", + $requiredArgCount: 0, + $signature: 44 + }; + K._$serializers_closure48.prototype = { + call$0: function() { + return D.ListBuilder_ListBuilder(C.List_empty, type$.legacy_Strand); + }, + "call*": "call$0", + $requiredArgCount: 0, + $signature: 37 + }; + K._$serializers_closure49.prototype = { + call$0: function() { + var t1 = type$.legacy_int; + return A.MapBuilder_MapBuilder(C.Map_empty, t1, t1); + }, + "call*": "call$0", + $requiredArgCount: 0, + $signature: 44 + }; + K._$serializers_closure50.prototype = { + call$0: function() { + return D.ListBuilder_ListBuilder(C.List_empty, type$.legacy_String); + }, + "call*": "call$0", + $requiredArgCount: 0, + $signature: 90 + }; + K._$serializers_closure51.prototype = { + call$0: function() { + return D.ListBuilder_ListBuilder(C.List_empty, type$.legacy_String); + }, + "call*": "call$0", + $requiredArgCount: 0, + $signature: 90 + }; + K._$serializers_closure52.prototype = { + call$0: function() { + return D.ListBuilder_ListBuilder(C.List_empty, type$.legacy_String); + }, + "call*": "call$0", + $requiredArgCount: 0, + $signature: 90 + }; + K._$serializers_closure53.prototype = { + call$0: function() { + return D.ListBuilder_ListBuilder(C.List_empty, type$.legacy_Substrand); + }, + "call*": "call$0", + $requiredArgCount: 0, + $signature: 330 + }; + K._$serializers_closure54.prototype = { + call$0: function() { + return A.MapBuilder_MapBuilder(C.Map_empty, type$.legacy_int, type$.legacy_ModificationInternal); + }, + "call*": "call$0", + $requiredArgCount: 0, + $signature: 331 + }; + K._$serializers_closure55.prototype = { + call$0: function() { + return D.ListBuilder_ListBuilder(C.List_empty, type$.legacy_UndoableAction); + }, + "call*": "call$0", + $requiredArgCount: 0, + $signature: 332 + }; + K._$serializers_closure56.prototype = { + call$0: function() { + return D.ListBuilder_ListBuilder(C.List_empty, type$.legacy_int); + }, + "call*": "call$0", + $requiredArgCount: 0, + $signature: 22 + }; + K._$serializers_closure57.prototype = { + call$0: function() { + return D.ListBuilder_ListBuilder(C.List_empty, type$.legacy_int); + }, + "call*": "call$0", + $requiredArgCount: 0, + $signature: 22 + }; + K._$serializers_closure58.prototype = { + call$0: function() { + return D.ListBuilder_ListBuilder(C.List_empty, type$.legacy_int); + }, + "call*": "call$0", + $requiredArgCount: 0, + $signature: 22 + }; + K._$serializers_closure59.prototype = { + call$0: function() { + return D.ListBuilder_ListBuilder(C.List_empty, type$.legacy_int); + }, + "call*": "call$0", + $requiredArgCount: 0, + $signature: 22 + }; + K._$serializers_closure60.prototype = { + call$0: function() { + return D.ListBuilder_ListBuilder(C.List_empty, type$.legacy_int); + }, + "call*": "call$0", + $requiredArgCount: 0, + $signature: 22 + }; + K._$serializers_closure61.prototype = { + call$0: function() { + return D.ListBuilder_ListBuilder(C.List_empty, type$.legacy_int); + }, + "call*": "call$0", + $requiredArgCount: 0, + $signature: 22 + }; + K._$serializers_closure62.prototype = { + call$0: function() { + return D.ListBuilder_ListBuilder(C.List_empty, type$.legacy_int); + }, + "call*": "call$0", + $requiredArgCount: 0, + $signature: 22 + }; + K._$serializers_closure63.prototype = { + call$0: function() { + return D.ListBuilder_ListBuilder(C.List_empty, type$.legacy_Insertion); + }, + "call*": "call$0", + $requiredArgCount: 0, + $signature: 118 + }; + K._$serializers_closure64.prototype = { + call$0: function() { + return D.ListBuilder_ListBuilder(C.List_empty, type$.legacy_int); + }, + "call*": "call$0", + $requiredArgCount: 0, + $signature: 22 + }; + K._$serializers_closure65.prototype = { + call$0: function() { + return D.ListBuilder_ListBuilder(C.List_empty, type$.legacy_int); + }, + "call*": "call$0", + $requiredArgCount: 0, + $signature: 22 + }; + K._$serializers_closure66.prototype = { + call$0: function() { + return A.MapBuilder_MapBuilder(C.Map_empty, type$.legacy_String, type$.legacy_Object); + }, + "call*": "call$0", + $requiredArgCount: 0, + $signature: 108 + }; + K._$serializers_closure67.prototype = { + call$0: function() { + return A.MapBuilder_MapBuilder(C.Map_empty, type$.legacy_String, type$.legacy_Object); + }, + "call*": "call$0", + $requiredArgCount: 0, + $signature: 108 + }; + K._$serializers_closure68.prototype = { + call$0: function() { + return A.MapBuilder_MapBuilder(C.Map_empty, type$.legacy_int, type$.legacy_Helix); + }, + "call*": "call$0", + $requiredArgCount: 0, + $signature: 96 + }; + K._$serializers_closure69.prototype = { + call$0: function() { + return A.MapBuilder_MapBuilder(C.Map_empty, type$.legacy_int, type$.legacy_Strand); + }, + "call*": "call$0", + $requiredArgCount: 0, + $signature: 334 + }; + K._$serializers_closure70.prototype = { + call$0: function() { + var t1 = type$.legacy_int; + return A.MapBuilder_MapBuilder(C.Map_empty, t1, t1); + }, + "call*": "call$0", + $requiredArgCount: 0, + $signature: 44 + }; + K._$serializers_closure71.prototype = { + call$0: function() { + var t1 = type$.legacy_int; + return A.MapBuilder_MapBuilder(C.Map_empty, t1, t1); + }, + "call*": "call$0", + $requiredArgCount: 0, + $signature: 44 + }; + K._$serializers_closure72.prototype = { + call$0: function() { + var t1 = type$.legacy_int; + return A.MapBuilder_MapBuilder(C.Map_empty, t1, t1); + }, + "call*": "call$0", + $requiredArgCount: 0, + $signature: 44 + }; + K._$serializers_closure73.prototype = { + call$0: function() { + return X.SetBuilder_SetBuilder(C.List_empty, type$.legacy_EditModeChoice); + }, + "call*": "call$0", + $requiredArgCount: 0, + $signature: 122 + }; + K._$serializers_closure74.prototype = { + call$0: function() { + return X.SetBuilder_SetBuilder(C.List_empty, type$.legacy_EditModeChoice); + }, + "call*": "call$0", + $requiredArgCount: 0, + $signature: 122 + }; + K._$serializers_closure75.prototype = { + call$0: function() { + return X.SetBuilder_SetBuilder(C.List_empty, type$.legacy_int); + }, + "call*": "call$0", + $requiredArgCount: 0, + $signature: 336 + }; + K._$serializers_closure76.prototype = { + call$0: function() { + return X.SetBuilder_SetBuilder(C.List_empty, type$.legacy_SelectModeChoice); + }, + "call*": "call$0", + $requiredArgCount: 0, + $signature: 123 + }; + K._$serializers_closure77.prototype = { + call$0: function() { + return X.SetBuilder_SetBuilder(C.List_empty, type$.legacy_SelectModeChoice); + }, + "call*": "call$0", + $requiredArgCount: 0, + $signature: 123 + }; + K._$serializers_closure78.prototype = { + call$0: function() { + return X.SetBuilder_SetBuilder(C.List_empty, type$.legacy_Selectable); + }, + "call*": "call$0", + $requiredArgCount: 0, + $signature: 338 + }; + K._$serializers_closure79.prototype = { + call$0: function() { + return X.SetBuilder_SetBuilder(C.List_empty, type$.legacy_String); + }, + "call*": "call$0", + $requiredArgCount: 0, + $signature: 339 + }; + K._$serializers_closure80.prototype = { + call$0: function() { + return A.MapBuilder_MapBuilder(C.Map_empty, type$.legacy_String, type$.legacy_Object); + }, + "call*": "call$0", + $requiredArgCount: 0, + $signature: 108 + }; + Z.Address.prototype = { + toString$0: function(_) { + var t1 = "H" + H.S(this.helix_idx) + "-"; + return t1 + (H.boolConversionCheck(this.forward) ? "F" : "R") + "-" + H.S(this.offset); + }, + sum$3: function(diff, helices_view_order, helices_view_order_inverse) { + var order_this, t1, order_sum, t2, t3, helix_idx_sum, max_helix_idx, forward_sum; + type$.legacy_BuiltList_legacy_int._as(helices_view_order); + order_this = J.$index$asx(type$.legacy_BuiltMap_of_legacy_int_and_legacy_int._as(helices_view_order_inverse)._map$_map, this.helix_idx); + t1 = diff.helix_idx_delta; + if (typeof order_this !== "number") + return order_this.$add(); + order_sum = order_this + t1; + t1 = helices_view_order._list; + t2 = J.getInterceptor$asx(t1); + t3 = t2.get$length(t1); + if (typeof t3 !== "number") + return H.iae(t3); + if (order_sum < t3) + helix_idx_sum = t2.$index(t1, order_sum); + else { + max_helix_idx = N.MinMaxOfIterable_get_max(helices_view_order, type$.legacy_int); + if (typeof max_helix_idx !== "number") + return max_helix_idx.$add(); + t1 = t2.get$length(t1); + if (typeof t1 !== "number") + return H.iae(t1); + helix_idx_sum = max_helix_idx + order_sum - t1 + 1; + } + t1 = this.offset; + t2 = diff.offset_delta; + if (typeof t1 !== "number") + return t1.$add(); + forward_sum = this.forward; + if (diff.forward_delta) + forward_sum = !H.boolConversionCheck(forward_sum); + return Z._$Address$_(forward_sum, helix_idx_sum, t1 + t2); + }, + difference$2: function(other, helices_view_order_inverse) { + var t1 = type$.legacy_BuiltMap_of_legacy_int_and_legacy_int._as(helices_view_order_inverse)._map$_map, + t2 = J.getInterceptor$asx(t1), + order_this = t2.$index(t1, this.helix_idx), + order_other = t2.$index(t1, other.helix_idx); + if (typeof order_this !== "number") + return order_this.$sub(); + if (typeof order_other !== "number") + return H.iae(order_other); + t1 = this.offset; + t2 = other.offset; + if (typeof t1 !== "number") + return t1.$sub(); + if (typeof t2 !== "number") + return H.iae(t2); + return Z._$AddressDifference$_(this.forward != other.forward, order_this - order_other, t1 - t2); + } + }; + Z.AddressDifference.prototype = { + toString$0: function(_) { + var t1 = "diff-H" + this.helix_idx_delta + "-"; + return t1 + (this.forward_delta ? "F" : "R") + "-" + this.offset_delta; + } + }; + Z._$AddressSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + type$.legacy_Address._as(object); + return H.setRuntimeTypeInfo(["helix_idx", serializers.serialize$2$specifiedType(object.helix_idx, C.FullType_kjq), "offset", serializers.serialize$2$specifiedType(object.offset, C.FullType_kjq), "forward", serializers.serialize$2$specifiedType(object.forward, C.FullType_MtR)], type$.JSArray_legacy_Object); + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + var key, value, t1, + result = new Z.AddressBuilder(), + iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + for (; iterator.moveNext$0();) { + key = H._asStringS(iterator.get$current(iterator)); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (key) { + case "helix_idx": + t1 = H._asIntS(serializers.deserialize$2$specifiedType(value, C.FullType_kjq)); + result.get$_address$_$this()._helix_idx = t1; + break; + case "offset": + t1 = H._asIntS(serializers.deserialize$2$specifiedType(value, C.FullType_kjq)); + result.get$_address$_$this()._offset = t1; + break; + case "forward": + t1 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); + result.get$_address$_$this()._address$_forward = t1; + break; + } + } + return result.build$0(); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_liY; + }, + get$wireName: function() { + return "Address"; + } + }; + Z._$AddressDifferenceSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + type$.legacy_AddressDifference._as(object); + return H.setRuntimeTypeInfo(["helix_idx_delta", serializers.serialize$2$specifiedType(object.helix_idx_delta, C.FullType_kjq), "offset_delta", serializers.serialize$2$specifiedType(object.offset_delta, C.FullType_kjq), "forward_delta", serializers.serialize$2$specifiedType(object.forward_delta, C.FullType_MtR)], type$.JSArray_legacy_Object); + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + var key, value, t1, + result = new Z.AddressDifferenceBuilder(), + iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + for (; iterator.moveNext$0();) { + key = H._asStringS(iterator.get$current(iterator)); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (key) { + case "helix_idx_delta": + t1 = H._asIntS(serializers.deserialize$2$specifiedType(value, C.FullType_kjq)); + result.get$_address$_$this()._helix_idx_delta = t1; + break; + case "offset_delta": + t1 = H._asIntS(serializers.deserialize$2$specifiedType(value, C.FullType_kjq)); + result.get$_address$_$this()._offset_delta = t1; + break; + case "forward_delta": + t1 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); + result.get$_address$_$this()._forward_delta = t1; + break; + } + } + return result.build$0(); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_xTK; + }, + get$wireName: function() { + return "AddressDifference"; + } + }; + Z._$Address.prototype = { + rebuild$1: function(updates) { + var t1; + type$.legacy_void_Function_legacy_AddressBuilder._as(updates); + t1 = new Z.AddressBuilder(); + t1._address$_$v = this; + updates.call$1(t1); + return t1.build$0(); + }, + $eq: function(_, other) { + var _this = this; + if (other == null) + return false; + if (other === _this) + return true; + return other instanceof Z.Address && _this.helix_idx == other.helix_idx && _this.offset == other.offset && _this.forward == other.forward; + }, + get$hashCode: function(_) { + return Y.$jf(Y.$jc(Y.$jc(Y.$jc(0, J.get$hashCode$(this.helix_idx)), J.get$hashCode$(this.offset)), J.get$hashCode$(this.forward))); + }, + get$offset: function(receiver) { + return this.offset; + } + }; + Z.AddressBuilder.prototype = { + get$offset: function(_) { + return this.get$_address$_$this()._offset; + }, + get$_address$_$this: function() { + var _this = this, + $$v = _this._address$_$v; + if ($$v != null) { + _this._helix_idx = $$v.helix_idx; + _this._offset = $$v.offset; + _this._address$_forward = $$v.forward; + _this._address$_$v = null; + } + return _this; + }, + build$0: function() { + var t1, t2, t3, _this = this, + _s7_ = "Address", + _$result = _this._address$_$v; + if (_$result == null) { + t1 = _this.get$_address$_$this()._helix_idx; + if (t1 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s7_, "helix_idx")); + t2 = _this.get$_address$_$this()._offset; + if (t2 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s7_, "offset")); + t3 = _this.get$_address$_$this()._address$_forward; + if (t3 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s7_, "forward")); + _$result = Z._$Address$_(t3, t1, t2); + } + return _this._address$_$v = _$result; + } + }; + Z._$AddressDifference.prototype = { + $eq: function(_, other) { + var _this = this; + if (other == null) + return false; + if (other === _this) + return true; + return other instanceof Z.AddressDifference && _this.helix_idx_delta === other.helix_idx_delta && _this.offset_delta === other.offset_delta && _this.forward_delta === other.forward_delta; + }, + get$hashCode: function(_) { + return Y.$jf(Y.$jc(Y.$jc(Y.$jc(0, C.JSInt_methods.get$hashCode(this.helix_idx_delta)), C.JSInt_methods.get$hashCode(this.offset_delta)), C.JSBool_methods.get$hashCode(this.forward_delta))); + } + }; + Z.AddressDifferenceBuilder.prototype = { + get$_address$_$this: function() { + var _this = this, + $$v = _this._address$_$v; + if ($$v != null) { + _this._helix_idx_delta = $$v.helix_idx_delta; + _this._offset_delta = $$v.offset_delta; + _this._forward_delta = $$v.forward_delta; + _this._address$_$v = null; + } + return _this; + }, + build$0: function() { + var t1, t2, t3, _this = this, + _s17_ = "AddressDifference", + _$result = _this._address$_$v; + if (_$result == null) { + t1 = _this.get$_address$_$this()._helix_idx_delta; + if (t1 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s17_, "helix_idx_delta")); + t2 = _this.get$_address$_$this()._offset_delta; + if (t2 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s17_, "offset_delta")); + t3 = _this.get$_address$_$this()._forward_delta; + if (t3 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s17_, "forward_delta")); + _$result = Z._$AddressDifference$_(t3, t1, t2); + } + return _this._address$_$v = _$result; + } + }; + Z._Address_Object_BuiltJsonSerializable.prototype = {}; + Z._AddressDifference_Object_BuiltJsonSerializable.prototype = {}; + T.AppState.prototype = { + get$helix_idx_to_svg_position_map: function() { + var t2, + t1 = this.ui_state.storables, + helix_idxs_to_calculate = t1.side_selected_helix_idxs; + if (!t1.only_display_selected_helices) + helix_idxs_to_calculate = null; + t2 = this.design; + return A.BuiltMap_BuiltMap$of(E.helices_assign_svg(t2.geometry, t1.invert_y, t2.helices, t2.groups, helix_idxs_to_calculate), type$.legacy_int, type$.legacy_Point_legacy_num); + }, + toJson$0: function() { + var _this = this, + map = P.LinkedHashMap_LinkedHashMap$_empty(type$.legacy_String, type$.dynamic), + t1 = _this.design; + map.$indexSet(0, "design", t1 == null ? null : t1.to_json_serializable$1$suppress_indent(false)); + t1 = _this.ui_state; + t1.toString; + map.$indexSet(0, "ui_state", $.$get$standard_serializers().serialize$1(t1)); + map.$indexSet(0, "error_message", _this.error_message); + map.$indexSet(0, "editor_content", _this.editor_content); + return map; + }, + get$has_error: function() { + return this.error_message.length > 0; + } + }; + T._$AppState.prototype = { + get$helix_idx_to_svg_position_map: function() { + var t1 = this.__helix_idx_to_svg_position_map; + if (t1 == null) { + t1 = T.AppState.prototype.get$helix_idx_to_svg_position_map.call(this); + this.set$__helix_idx_to_svg_position_map(t1); + } + return t1; + }, + get$has_error: function() { + var t1 = this.__has_error; + return t1 == null ? this.__has_error = T.AppState.prototype.get$has_error.call(this) : t1; + }, + rebuild$1: function(updates) { + var t1; + type$.legacy_void_Function_legacy_AppStateBuilder._as(updates); + t1 = new T.AppStateBuilder(); + T.AppState__initializeBuilder(t1); + t1._app_state$_$v = this; + updates.call$1(t1); + return t1.build$0(); + }, + $eq: function(_, other) { + var _this = this; + if (other == null) + return false; + if (other === _this) + return true; + return other instanceof T.AppState && J.$eq$(_this.design, other.design) && J.$eq$(_this.ui_state, other.ui_state) && J.$eq$(_this.undo_redo, other.undo_redo) && _this.error_message === other.error_message && _this.editor_content === other.editor_content; + }, + get$hashCode: function(_) { + var _this = this, + t1 = _this._app_state$__hashCode; + return t1 == null ? _this._app_state$__hashCode = Y.$jf(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(0, J.get$hashCode$(_this.design)), J.get$hashCode$(_this.ui_state)), J.get$hashCode$(_this.undo_redo)), C.JSString_methods.get$hashCode(_this.error_message)), C.JSString_methods.get$hashCode(_this.editor_content))) : t1; + }, + toString$0: function(_) { + var _this = this, + t1 = $.$get$newBuiltValueToStringHelper().call$1("AppState"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "design", _this.design); + t2.add$2(t1, "ui_state", _this.ui_state); + t2.add$2(t1, "undo_redo", _this.undo_redo); + t2.add$2(t1, "error_message", _this.error_message); + t2.add$2(t1, "editor_content", _this.editor_content); + return t2.toString$0(t1); + }, + set$__helix_idx_to_svg_position_map: function(__helix_idx_to_svg_position_map) { + this.__helix_idx_to_svg_position_map = type$.legacy_BuiltMap_of_legacy_int_and_legacy_Point_legacy_num._as(__helix_idx_to_svg_position_map); + } + }; + T.AppStateBuilder.prototype = { + get$design: function() { + var t1 = this.get$_app_state$_$this(), + t2 = t1._design; + if (t2 == null) { + t2 = new N.DesignBuilder(); + N.Design__initializeBuilder(t2); + t1._design = t2; + t1 = t2; + } else + t1 = t2; + return t1; + }, + get$ui_state: function() { + var t1 = this.get$_app_state$_$this(), + t2 = t1._ui_state; + if (t2 == null) { + t2 = new Q.AppUIStateBuilder(); + Q.AppUIState__initializeBuilder(t2); + t1._ui_state = t2; + t1 = t2; + } else + t1 = t2; + return t1; + }, + get$undo_redo: function() { + var t3, t4, t5, + t1 = this.get$_app_state$_$this(), + t2 = t1._undo_redo; + if (t2 == null) { + t2 = new T.UndoRedoBuilder(); + t3 = type$.legacy_UndoRedoItem; + t4 = type$.legacy_ListBuilder_legacy_UndoRedoItem; + t5 = t4._as(D.ListBuilder_ListBuilder(C.List_empty, t3)); + t2.get$_undo_redo$_$this().set$_undo_stack(t5); + t3 = t4._as(D.ListBuilder_ListBuilder(C.List_empty, t3)); + t2.get$_undo_redo$_$this().set$_redo_stack(t3); + t1._undo_redo = t2; + t1 = t2; + } else + t1 = t2; + return t1; + }, + get$_app_state$_$this: function() { + var t1, t2, t3, t4, t5, _this = this, + $$v = _this._app_state$_$v; + if ($$v != null) { + t1 = $$v.design; + if (t1 == null) + t1 = null; + else { + t2 = new N.DesignBuilder(); + N.Design__initializeBuilder(t2); + t2._design0$_$v = t1; + t1 = t2; + } + _this._design = t1; + t1 = $$v.ui_state; + t1.toString; + t2 = new Q.AppUIStateBuilder(); + Q.AppUIState__initializeBuilder(t2); + t2._app_ui_state$_$v = t1; + _this._ui_state = t2; + t1 = $$v.undo_redo; + t1.toString; + t2 = new T.UndoRedoBuilder(); + t3 = type$.legacy_UndoRedoItem; + t4 = type$.legacy_ListBuilder_legacy_UndoRedoItem; + t5 = t4._as(D.ListBuilder_ListBuilder(C.List_empty, t3)); + t2.get$_undo_redo$_$this().set$_undo_stack(t5); + t3 = t4._as(D.ListBuilder_ListBuilder(C.List_empty, t3)); + t2.get$_undo_redo$_$this().set$_redo_stack(t3); + t2._undo_redo$_$v = t1; + _this._undo_redo = t2; + _this._error_message = $$v.error_message; + _this._editor_content = $$v.editor_content; + _this._app_state$_$v = null; + } + return _this; + }, + build$0: function() { + var _$failedField, e, _$result0, t1, t2, t3, t4, t5, exception, _this = this, + _s8_ = "AppState", + _$result = null; + try { + _$result0 = _this._app_state$_$v; + if (_$result0 == null) { + t1 = _this._design; + t1 = t1 == null ? null : t1.build$0(); + t2 = _this.get$ui_state().build$0(); + t3 = _this.get$undo_redo().build$0(); + t4 = _this.get$_app_state$_$this()._error_message; + if (t4 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s8_, "error_message")); + t5 = _this.get$_app_state$_$this()._editor_content; + if (t5 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s8_, "editor_content")); + _$result0 = new T._$AppState(t1, t2, t3, t4, t5); + if (t2 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s8_, "ui_state")); + if (t3 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s8_, "undo_redo")); + } + _$result = _$result0; + } catch (exception) { + H.unwrapException(exception); + _$failedField = null; + try { + _$failedField = "design"; + t1 = _this._design; + if (t1 != null) + t1.build$0(); + _$failedField = "ui_state"; + _this.get$ui_state().build$0(); + _$failedField = "undo_redo"; + _this.get$undo_redo().build$0(); + } catch (exception) { + e = H.unwrapException(exception); + t1 = Y.BuiltValueNestedFieldError$(_s8_, _$failedField, J.toString$0$(e)); + throw H.wrapException(t1); + } + throw exception; + } + t1 = type$.legacy_AppState._as(_$result); + if (t1 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + _this._app_state$_$v = t1; + return _$result; + } + }; + Q.AppUIState.prototype = {}; + Q._$AppUIStateSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + var result, value; + type$.legacy_AppUIState._as(object); + result = H.setRuntimeTypeInfo(["selectables_store", serializers.serialize$2$specifiedType(object.selectables_store, C.FullType_y5f), "potential_crossover_is_drawing", serializers.serialize$2$specifiedType(object.potential_crossover_is_drawing, C.FullType_MtR), "dna_ends_are_moving", serializers.serialize$2$specifiedType(object.dna_ends_are_moving, C.FullType_MtR), "helix_group_is_moving", serializers.serialize$2$specifiedType(object.helix_group_is_moving, C.FullType_MtR), "load_dialog", serializers.serialize$2$specifiedType(object.load_dialog, C.FullType_MtR), "slice_bar_is_moving", serializers.serialize$2$specifiedType(object.slice_bar_is_moving, C.FullType_MtR), "selection_box_displayed_main", serializers.serialize$2$specifiedType(object.selection_box_displayed_main, C.FullType_MtR), "selection_box_displayed_side", serializers.serialize$2$specifiedType(object.selection_box_displayed_side, C.FullType_MtR), "dna_assign_options", serializers.serialize$2$specifiedType(object.dna_assign_options, C.FullType_eRS), "helix_change_apply_to_all", serializers.serialize$2$specifiedType(object.helix_change_apply_to_all, C.FullType_MtR), "mouseover_datas", serializers.serialize$2$specifiedType(object.mouseover_datas, C.FullType_yLX), "example_designs", serializers.serialize$2$specifiedType(object.example_designs, C.FullType_Auo), "changed_since_last_save", serializers.serialize$2$specifiedType(object.changed_since_last_save, C.FullType_MtR), "dna_sequence_png_horizontal_offset", serializers.serialize$2$specifiedType(object.dna_sequence_png_horizontal_offset, C.FullType_2ru), "dna_sequence_png_vertical_offset", serializers.serialize$2$specifiedType(object.dna_sequence_png_vertical_offset, C.FullType_2ru), "is_zoom_above_threshold", serializers.serialize$2$specifiedType(object.is_zoom_above_threshold, C.FullType_MtR), "storables", serializers.serialize$2$specifiedType(object.storables, C.FullType_wEo), "original_helix_offsets", serializers.serialize$2$specifiedType(object.original_helix_offsets, C.FullType_i3t)], type$.JSArray_legacy_Object); + value = object.strands_move; + if (value != null) { + C.JSArray_methods.add$1(result, "strands_move"); + C.JSArray_methods.add$1(result, serializers.serialize$2$specifiedType(value, C.FullType_VSS)); + } + value = object.domains_move; + if (value != null) { + C.JSArray_methods.add$1(result, "domains_move"); + C.JSArray_methods.add$1(result, serializers.serialize$2$specifiedType(value, C.FullType_KIf)); + } + value = object.copy_info; + if (value != null) { + C.JSArray_methods.add$1(result, "copy_info"); + C.JSArray_methods.add$1(result, serializers.serialize$2$specifiedType(value, C.FullType_miO)); + } + value = object.selection_rope; + if (value != null) { + C.JSArray_methods.add$1(result, "selection_rope"); + C.JSArray_methods.add$1(result, serializers.serialize$2$specifiedType(value, C.FullType_H1G)); + } + value = object.last_mod_5p; + if (value != null) { + C.JSArray_methods.add$1(result, "last_mod_5p"); + C.JSArray_methods.add$1(result, serializers.serialize$2$specifiedType(value, C.FullType_Q1p)); + } + value = object.last_mod_3p; + if (value != null) { + C.JSArray_methods.add$1(result, "last_mod_3p"); + C.JSArray_methods.add$1(result, serializers.serialize$2$specifiedType(value, C.FullType_Q1p0)); + } + value = object.last_mod_int; + if (value != null) { + C.JSArray_methods.add$1(result, "last_mod_int"); + C.JSArray_methods.add$1(result, serializers.serialize$2$specifiedType(value, C.FullType_eR6)); + } + value = object.dialog; + if (value != null) { + C.JSArray_methods.add$1(result, "dialog"); + C.JSArray_methods.add$1(result, serializers.serialize$2$specifiedType(value, C.FullType_Azp)); + } + value = object.color_picker_strand; + if (value != null) { + C.JSArray_methods.add$1(result, "color_picker_strand"); + C.JSArray_methods.add$1(result, serializers.serialize$2$specifiedType(value, C.FullType_w0x)); + } + value = object.color_picker_substrand; + if (value != null) { + C.JSArray_methods.add$1(result, "color_picker_substrand"); + C.JSArray_methods.add$1(result, serializers.serialize$2$specifiedType(value, C.FullType_S4t)); + } + value = object.strand_creation; + if (value != null) { + C.JSArray_methods.add$1(result, "strand_creation"); + C.JSArray_methods.add$1(result, serializers.serialize$2$specifiedType(value, C.FullType_O92)); + } + value = object.side_view_grid_position_mouse_cursor; + if (value != null) { + C.JSArray_methods.add$1(result, "side_view_grid_position_mouse_cursor"); + C.JSArray_methods.add$1(result, serializers.serialize$2$specifiedType(value, C.FullType_q96)); + } + value = object.side_view_position_mouse_cursor; + if (value != null) { + C.JSArray_methods.add$1(result, "side_view_position_mouse_cursor"); + C.JSArray_methods.add$1(result, serializers.serialize$2$specifiedType(value, C.FullType_8eb)); + } + value = object.context_menu; + if (value != null) { + C.JSArray_methods.add$1(result, "context_menu"); + C.JSArray_methods.add$1(result, serializers.serialize$2$specifiedType(value, C.FullType_Z6u)); + } + value = object.dna_sequence_png_uri; + if (value != null) { + C.JSArray_methods.add$1(result, "dna_sequence_png_uri"); + C.JSArray_methods.add$1(result, serializers.serialize$2$specifiedType(value, C.FullType_h8g)); + } + value = object.export_svg_action_delayed_for_png_cache; + if (value != null) { + C.JSArray_methods.add$1(result, "export_svg_action_delayed_for_png_cache"); + C.JSArray_methods.add$1(result, serializers.serialize$2$specifiedType(value, C.FullType_AqW)); + } + return result; + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + var result, iterator, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19, t20, t21, t22, t23, t24, t25, t26, t27, t28, t29, t30, key, value, t31, t32, t33, t34, t35, _null = null, _s5_ = "other"; + type$.legacy_Iterable_legacy_Object._as(serialized); + result = new Q.AppUIStateBuilder(); + Q.AppUIState__initializeBuilder(result); + iterator = J.get$iterator$ax(serialized); + for (t1 = type$.MapBuilder_of_legacy_int_and_legacy_BuiltList_legacy_int, t2 = type$.legacy_AppUIStateStorables, t3 = type$.legacy_ExportSvg, t4 = type$.legacy_ContextMenu, t5 = type$.legacy_Point_legacy_num, t6 = type$.legacy_GridPosition, t7 = type$.legacy_StrandCreation, t8 = type$.legacy_Substrand, t9 = type$.legacy_Strand, t10 = type$.legacy_Dialog, t11 = type$.legacy_ExampleDesigns, t12 = type$.legacy_ListBuilder_legacy_String, t13 = type$.legacy_String, t14 = type$.List_legacy_String, t15 = type$.ListBuilder_legacy_String, t16 = type$.legacy_BuiltList_legacy_Object, t17 = type$.legacy_MouseoverData, t18 = type$.List_legacy_MouseoverData, t19 = type$.ListBuilder_legacy_MouseoverData, t20 = type$.legacy_ModificationInternal, t21 = type$.legacy_Modification3Prime, t22 = type$.legacy_Modification5Prime, t23 = type$.legacy_SelectionRope, t24 = type$.legacy_DNAAssignOptions, t25 = type$.legacy_CopyInfo, t26 = type$.legacy_DomainsMove, t27 = type$.legacy_StrandsMove, t28 = type$.legacy_SelectablesStore, t29 = type$.SetBuilder_legacy_Selectable, t30 = type$.legacy_SetBuilder_legacy_Selectable; iterator.moveNext$0();) { + key = H._asStringS(iterator.get$current(iterator)); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (key) { + case "selectables_store": + t31 = result.get$_app_ui_state$_$this(); + t32 = t31._selectables_store; + if (t32 == null) { + t32 = new E.SelectablesStoreBuilder(); + t33 = new X.SetBuilder(_null, $, _null, t29); + t33.replace$1(0, []); + t30._as(t33); + t32.set$_selected_items(t33); + t31._selectables_store = t32; + t31 = t32; + } else + t31 = t32; + t32 = t28._as(serializers.deserialize$2$specifiedType(value, C.FullType_y5f)); + if (t32 == null) + H.throwExpression(P.ArgumentError$notNull(_s5_)); + t31._selectable$_$v = t32; + break; + case "strands_move": + t31 = result.get$_app_ui_state$_$this(); + t32 = t31._strands_move; + t31 = t32 == null ? t31._strands_move = new U.StrandsMoveBuilder() : t32; + t32 = t27._as(serializers.deserialize$2$specifiedType(value, C.FullType_VSS)); + if (t32 == null) + H.throwExpression(P.ArgumentError$notNull(_s5_)); + t31._strands_move$_$v = t32; + break; + case "domains_move": + t31 = result.get$_app_ui_state$_$this(); + t32 = t31._domains_move; + t31 = t32 == null ? t31._domains_move = new V.DomainsMoveBuilder() : t32; + t32 = t26._as(serializers.deserialize$2$specifiedType(value, C.FullType_KIf)); + if (t32 == null) + H.throwExpression(P.ArgumentError$notNull(_s5_)); + t31._domains_move$_$v = t32; + break; + case "copy_info": + t31 = result.get$_app_ui_state$_$this(); + t32 = t31._copy_info; + t31 = t32 == null ? t31._copy_info = new B.CopyInfoBuilder() : t32; + t32 = t25._as(serializers.deserialize$2$specifiedType(value, C.FullType_miO)); + if (t32 == null) + H.throwExpression(P.ArgumentError$notNull(_s5_)); + t31._copy_info$_$v = t32; + break; + case "potential_crossover_is_drawing": + t31 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); + result.get$_app_ui_state$_$this()._potential_crossover_is_drawing = t31; + break; + case "dna_ends_are_moving": + t31 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); + result.get$_app_ui_state$_$this()._dna_ends_are_moving = t31; + break; + case "helix_group_is_moving": + t31 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); + result.get$_app_ui_state$_$this()._helix_group_is_moving = t31; + break; + case "load_dialog": + t31 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); + result.get$_app_ui_state$_$this()._load_dialog = t31; + break; + case "slice_bar_is_moving": + t31 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); + result.get$_app_ui_state$_$this()._slice_bar_is_moving = t31; + break; + case "selection_box_displayed_main": + t31 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); + result.get$_app_ui_state$_$this()._selection_box_displayed_main = t31; + break; + case "selection_box_displayed_side": + t31 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); + result.get$_app_ui_state$_$this()._selection_box_displayed_side = t31; + break; + case "dna_assign_options": + t31 = result.get$_app_ui_state$_$this(); + t32 = t31._dna_assign_options; + if (t32 == null) { + t32 = new X.DNAAssignOptionsBuilder(); + t32.get$_dna_assign_options$_$this()._dna_assign_options$_dna_sequence = null; + t32.get$_dna_assign_options$_$this()._use_predefined_dna_sequence = false; + t32.get$_dna_assign_options$_$this()._assign_complements = true; + t32.get$_dna_assign_options$_$this()._disable_change_sequence_bound_strand = true; + t32.get$_dna_assign_options$_$this()._m13_rotation = 5587; + t31._dna_assign_options = t32; + t31 = t32; + } else + t31 = t32; + t32 = t24._as(serializers.deserialize$2$specifiedType(value, C.FullType_eRS)); + if (t32 == null) + H.throwExpression(P.ArgumentError$notNull(_s5_)); + t31._dna_assign_options$_$v = t32; + break; + case "helix_change_apply_to_all": + t31 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); + result.get$_app_ui_state$_$this()._helix_change_apply_to_all = t31; + break; + case "selection_rope": + t31 = result.get$_app_ui_state$_$this(); + t32 = t31._selection_rope; + t31 = t32 == null ? t31._selection_rope = new F.SelectionRopeBuilder() : t32; + t32 = t23._as(serializers.deserialize$2$specifiedType(value, C.FullType_H1G)); + if (t32 == null) + H.throwExpression(P.ArgumentError$notNull(_s5_)); + t31._selection_rope$_$v = t32; + break; + case "last_mod_5p": + t31 = result.get$_app_ui_state$_$this(); + t32 = t31._last_mod_5p; + t31 = t32 == null ? t31._last_mod_5p = new Z.Modification5PrimeBuilder() : t32; + t32 = t22._as(serializers.deserialize$2$specifiedType(value, C.FullType_Q1p)); + if (t32 == null) + H.throwExpression(P.ArgumentError$notNull(_s5_)); + t31._modification$_$v = t32; + break; + case "last_mod_3p": + t31 = result.get$_app_ui_state$_$this(); + t32 = t31._last_mod_3p; + t31 = t32 == null ? t31._last_mod_3p = new Z.Modification3PrimeBuilder() : t32; + t32 = t21._as(serializers.deserialize$2$specifiedType(value, C.FullType_Q1p0)); + if (t32 == null) + H.throwExpression(P.ArgumentError$notNull(_s5_)); + t31._modification$_$v = t32; + break; + case "last_mod_int": + t31 = result.get$_app_ui_state$_$this(); + t32 = t31._last_mod_int; + t31 = t32 == null ? t31._last_mod_int = new Z.ModificationInternalBuilder() : t32; + t32 = t20._as(serializers.deserialize$2$specifiedType(value, C.FullType_eR6)); + if (t32 == null) + H.throwExpression(P.ArgumentError$notNull(_s5_)); + t31._modification$_$v = t32; + break; + case "mouseover_datas": + t31 = result.get$_app_ui_state$_$this(); + t32 = t31._mouseover_datas; + if (t32 == null) { + t32 = new D.ListBuilder(t19); + t32.set$__ListBuilder__list(t18._as(P.List_List$from(C.List_empty, true, t17))); + t32.set$_listOwner(_null); + t31.set$_mouseover_datas(t32); + t31 = t32; + } else + t31 = t32; + t32 = t16._as(serializers.deserialize$2$specifiedType(value, C.FullType_yLX)); + t33 = t31.$ti; + t34 = t33._eval$1("_BuiltList<1>"); + t35 = t33._eval$1("List<1>"); + if (t34._is(t32)) { + t34._as(t32); + t31.set$__ListBuilder__list(t35._as(t32._list)); + t31.set$_listOwner(t32); + } else { + t31.set$__ListBuilder__list(t35._as(P.List_List$from(t32, true, t33._precomputed1))); + t31.set$_listOwner(_null); + } + break; + case "example_designs": + t31 = result.get$_app_ui_state$_$this(); + t32 = t31._example_designs; + if (t32 == null) { + t32 = new K.ExampleDesignsBuilder(); + t32.get$_example_designs$_$this()._directory = "examples/output_designs"; + t33 = new D.ListBuilder(t15); + t33.set$__ListBuilder__list(t14._as(P.List_List$from(["empty", string$.x32_stap, "6_helix_origami_rectangle", "6_helix_bundle_honeycomb", "16_helix_origami_rectangle_no_twist", "16_helix_origami_rectangle", "16_helix_origami_rectangle_idt", "very_large_origami"], true, t13))); + t33.set$_listOwner(_null); + t12._as(t33); + t32.get$_example_designs$_$this().set$_filenames(t33); + t32.get$_example_designs$_$this()._selected_idx = -1; + t31._example_designs = t32; + t31 = t32; + } else + t31 = t32; + t32 = t11._as(serializers.deserialize$2$specifiedType(value, C.FullType_Auo)); + if (t32 == null) + H.throwExpression(P.ArgumentError$notNull(_s5_)); + t31._example_designs$_$v = t32; + break; + case "dialog": + t31 = result.get$_app_ui_state$_$this(); + t32 = t31._dialog; + t31 = t32 == null ? t31._dialog = new E.DialogBuilder() : t32; + t32 = t10._as(serializers.deserialize$2$specifiedType(value, C.FullType_Azp)); + if (t32 == null) + H.throwExpression(P.ArgumentError$notNull(_s5_)); + t31._dialog$_$v = t32; + break; + case "color_picker_strand": + t31 = result.get$_app_ui_state$_$this(); + t32 = t31._color_picker_strand; + t31 = t32 == null ? t31._color_picker_strand = new E.StrandBuilder() : t32; + t32 = t9._as(serializers.deserialize$2$specifiedType(value, C.FullType_w0x)); + if (t32 == null) + H.throwExpression(P.ArgumentError$notNull(_s5_)); + t31._strand$_$v = t32; + break; + case "color_picker_substrand": + t31 = t8._as(serializers.deserialize$2$specifiedType(value, C.FullType_S4t)); + result.get$_app_ui_state$_$this()._color_picker_substrand = t31; + break; + case "strand_creation": + t31 = result.get$_app_ui_state$_$this(); + t32 = t31._strand_creation; + t31 = t32 == null ? t31._strand_creation = new U.StrandCreationBuilder() : t32; + t32 = t7._as(serializers.deserialize$2$specifiedType(value, C.FullType_O92)); + if (t32 == null) + H.throwExpression(P.ArgumentError$notNull(_s5_)); + t31._strand_creation$_$v = t32; + break; + case "side_view_grid_position_mouse_cursor": + t31 = result.get$_app_ui_state$_$this(); + t32 = t31._side_view_grid_position_mouse_cursor; + t31 = t32 == null ? t31._side_view_grid_position_mouse_cursor = new D.GridPositionBuilder() : t32; + t32 = t6._as(serializers.deserialize$2$specifiedType(value, C.FullType_q96)); + if (t32 == null) + H.throwExpression(P.ArgumentError$notNull(_s5_)); + t31._grid_position$_$v = t32; + break; + case "side_view_position_mouse_cursor": + t31 = t5._as(t5._as(serializers.deserialize$2$specifiedType(value, C.FullType_8eb))); + result.get$_app_ui_state$_$this().set$_side_view_position_mouse_cursor(t31); + break; + case "context_menu": + t31 = result.get$_app_ui_state$_$this(); + t32 = t31._context_menu; + t31 = t32 == null ? t31._context_menu = new B.ContextMenuBuilder() : t32; + t32 = t4._as(serializers.deserialize$2$specifiedType(value, C.FullType_Z6u)); + if (t32 == null) + H.throwExpression(P.ArgumentError$notNull(_s5_)); + t31._context_menu$_$v = t32; + break; + case "changed_since_last_save": + t31 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); + result.get$_app_ui_state$_$this()._changed_since_last_save = t31; + break; + case "dna_sequence_png_uri": + t31 = H._asStringS(serializers.deserialize$2$specifiedType(value, C.FullType_h8g)); + result.get$_app_ui_state$_$this()._dna_sequence_png_uri = t31; + break; + case "dna_sequence_png_horizontal_offset": + t31 = H._asNumS(serializers.deserialize$2$specifiedType(value, C.FullType_2ru)); + result.get$_app_ui_state$_$this()._dna_sequence_png_horizontal_offset = t31; + break; + case "dna_sequence_png_vertical_offset": + t31 = H._asNumS(serializers.deserialize$2$specifiedType(value, C.FullType_2ru)); + result.get$_app_ui_state$_$this()._dna_sequence_png_vertical_offset = t31; + break; + case "export_svg_action_delayed_for_png_cache": + t31 = result.get$_app_ui_state$_$this(); + t32 = t31._export_svg_action_delayed_for_png_cache; + t31 = t32 == null ? t31._export_svg_action_delayed_for_png_cache = new U.ExportSvgBuilder() : t32; + t32 = t3._as(serializers.deserialize$2$specifiedType(value, C.FullType_AqW)); + if (t32 == null) + H.throwExpression(P.ArgumentError$notNull(_s5_)); + t31._$v = t32; + break; + case "is_zoom_above_threshold": + t31 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); + result.get$_app_ui_state$_$this()._is_zoom_above_threshold = t31; + break; + case "storables": + t31 = result.get$_app_ui_state$_$this(); + t32 = t31._storables; + if (t32 == null) { + t32 = new B.AppUIStateStorablesBuilder(); + B.AppUIStateStorables__initializeBuilder(t32); + t31._storables = t32; + t31 = t32; + } else + t31 = t32; + t32 = t2._as(serializers.deserialize$2$specifiedType(value, C.FullType_wEo)); + if (t32 == null) + H.throwExpression(P.ArgumentError$notNull(_s5_)); + t31._app_ui_state_storables$_$v = t32; + break; + case "original_helix_offsets": + t31 = result.get$_app_ui_state$_$this(); + t32 = t31._original_helix_offsets; + if (t32 == null) { + t32 = new A.MapBuilder(_null, $, _null, t1); + t32.replace$1(0, C.Map_empty); + t31.set$_original_helix_offsets(t32); + t31 = t32; + } else + t31 = t32; + t31.replace$1(0, serializers.deserialize$2$specifiedType(value, C.FullType_i3t)); + break; + } + } + return result.build$0(); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_cMx; + }, + get$wireName: function() { + return "AppUIState"; + } + }; + Q._$AppUIState.prototype = { + rebuild$1: function(updates) { + var t1; + type$.legacy_void_Function_legacy_AppUIStateBuilder._as(updates); + t1 = new Q.AppUIStateBuilder(); + Q.AppUIState__initializeBuilder(t1); + t1._app_ui_state$_$v = this; + updates.call$1(t1); + return t1.build$0(); + }, + $eq: function(_, other) { + var _this = this; + if (other == null) + return false; + if (other === _this) + return true; + return other instanceof Q.AppUIState && J.$eq$(_this.selectables_store, other.selectables_store) && J.$eq$(_this.strands_move, other.strands_move) && J.$eq$(_this.domains_move, other.domains_move) && J.$eq$(_this.copy_info, other.copy_info) && _this.potential_crossover_is_drawing === other.potential_crossover_is_drawing && _this.dna_ends_are_moving === other.dna_ends_are_moving && _this.helix_group_is_moving === other.helix_group_is_moving && _this.load_dialog === other.load_dialog && _this.slice_bar_is_moving === other.slice_bar_is_moving && _this.selection_box_displayed_main === other.selection_box_displayed_main && _this.selection_box_displayed_side === other.selection_box_displayed_side && _this.dna_assign_options.$eq(0, other.dna_assign_options) && _this.helix_change_apply_to_all === other.helix_change_apply_to_all && J.$eq$(_this.selection_rope, other.selection_rope) && J.$eq$(_this.last_mod_5p, other.last_mod_5p) && J.$eq$(_this.last_mod_3p, other.last_mod_3p) && J.$eq$(_this.last_mod_int, other.last_mod_int) && J.$eq$(_this.mouseover_datas, other.mouseover_datas) && J.$eq$(_this.example_designs, other.example_designs) && J.$eq$(_this.dialog, other.dialog) && J.$eq$(_this.color_picker_strand, other.color_picker_strand) && J.$eq$(_this.color_picker_substrand, other.color_picker_substrand) && J.$eq$(_this.strand_creation, other.strand_creation) && J.$eq$(_this.side_view_grid_position_mouse_cursor, other.side_view_grid_position_mouse_cursor) && J.$eq$(_this.side_view_position_mouse_cursor, other.side_view_position_mouse_cursor) && J.$eq$(_this.context_menu, other.context_menu) && _this.changed_since_last_save === other.changed_since_last_save && _this.dna_sequence_png_uri == other.dna_sequence_png_uri && _this.dna_sequence_png_horizontal_offset === other.dna_sequence_png_horizontal_offset && _this.dna_sequence_png_vertical_offset === other.dna_sequence_png_vertical_offset && J.$eq$(_this.export_svg_action_delayed_for_png_cache, other.export_svg_action_delayed_for_png_cache) && _this.is_zoom_above_threshold === other.is_zoom_above_threshold && J.$eq$(_this.storables, other.storables) && J.$eq$(_this.original_helix_offsets, other.original_helix_offsets); + }, + get$hashCode: function(_) { + var _this = this, + t1 = _this.__hashCode; + if (t1 == null) { + t1 = _this.dna_assign_options; + t1 = _this.__hashCode = Y.$jf(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(0, J.get$hashCode$(_this.selectables_store)), J.get$hashCode$(_this.strands_move)), J.get$hashCode$(_this.domains_move)), J.get$hashCode$(_this.copy_info)), C.JSBool_methods.get$hashCode(_this.potential_crossover_is_drawing)), C.JSBool_methods.get$hashCode(_this.dna_ends_are_moving)), C.JSBool_methods.get$hashCode(_this.helix_group_is_moving)), C.JSBool_methods.get$hashCode(_this.load_dialog)), C.JSBool_methods.get$hashCode(_this.slice_bar_is_moving)), C.JSBool_methods.get$hashCode(_this.selection_box_displayed_main)), C.JSBool_methods.get$hashCode(_this.selection_box_displayed_side)), t1.get$hashCode(t1)), C.JSBool_methods.get$hashCode(_this.helix_change_apply_to_all)), J.get$hashCode$(_this.selection_rope)), J.get$hashCode$(_this.last_mod_5p)), J.get$hashCode$(_this.last_mod_3p)), J.get$hashCode$(_this.last_mod_int)), J.get$hashCode$(_this.mouseover_datas)), J.get$hashCode$(_this.example_designs)), J.get$hashCode$(_this.dialog)), J.get$hashCode$(_this.color_picker_strand)), J.get$hashCode$(_this.color_picker_substrand)), J.get$hashCode$(_this.strand_creation)), J.get$hashCode$(_this.side_view_grid_position_mouse_cursor)), J.get$hashCode$(_this.side_view_position_mouse_cursor)), J.get$hashCode$(_this.context_menu)), C.JSBool_methods.get$hashCode(_this.changed_since_last_save)), J.get$hashCode$(_this.dna_sequence_png_uri)), C.JSNumber_methods.get$hashCode(_this.dna_sequence_png_horizontal_offset)), C.JSNumber_methods.get$hashCode(_this.dna_sequence_png_vertical_offset)), J.get$hashCode$(_this.export_svg_action_delayed_for_png_cache)), C.JSBool_methods.get$hashCode(_this.is_zoom_above_threshold)), J.get$hashCode$(_this.storables)), J.get$hashCode$(_this.original_helix_offsets))); + } + return t1; + }, + toString$0: function(_) { + var _this = this, + t1 = $.$get$newBuiltValueToStringHelper().call$1("AppUIState"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "selectables_store", _this.selectables_store); + t2.add$2(t1, "strands_move", _this.strands_move); + t2.add$2(t1, "domains_move", _this.domains_move); + t2.add$2(t1, "copy_info", _this.copy_info); + t2.add$2(t1, "potential_crossover_is_drawing", _this.potential_crossover_is_drawing); + t2.add$2(t1, "dna_ends_are_moving", _this.dna_ends_are_moving); + t2.add$2(t1, "helix_group_is_moving", _this.helix_group_is_moving); + t2.add$2(t1, "load_dialog", _this.load_dialog); + t2.add$2(t1, "slice_bar_is_moving", _this.slice_bar_is_moving); + t2.add$2(t1, "selection_box_displayed_main", _this.selection_box_displayed_main); + t2.add$2(t1, "selection_box_displayed_side", _this.selection_box_displayed_side); + t2.add$2(t1, "dna_assign_options", _this.dna_assign_options); + t2.add$2(t1, "helix_change_apply_to_all", _this.helix_change_apply_to_all); + t2.add$2(t1, "selection_rope", _this.selection_rope); + t2.add$2(t1, "last_mod_5p", _this.last_mod_5p); + t2.add$2(t1, "last_mod_3p", _this.last_mod_3p); + t2.add$2(t1, "last_mod_int", _this.last_mod_int); + t2.add$2(t1, "mouseover_datas", _this.mouseover_datas); + t2.add$2(t1, "example_designs", _this.example_designs); + t2.add$2(t1, "dialog", _this.dialog); + t2.add$2(t1, "color_picker_strand", _this.color_picker_strand); + t2.add$2(t1, "color_picker_substrand", _this.color_picker_substrand); + t2.add$2(t1, "strand_creation", _this.strand_creation); + t2.add$2(t1, "side_view_grid_position_mouse_cursor", _this.side_view_grid_position_mouse_cursor); + t2.add$2(t1, "side_view_position_mouse_cursor", _this.side_view_position_mouse_cursor); + t2.add$2(t1, "context_menu", _this.context_menu); + t2.add$2(t1, "changed_since_last_save", _this.changed_since_last_save); + t2.add$2(t1, "dna_sequence_png_uri", _this.dna_sequence_png_uri); + t2.add$2(t1, "dna_sequence_png_horizontal_offset", _this.dna_sequence_png_horizontal_offset); + t2.add$2(t1, "dna_sequence_png_vertical_offset", _this.dna_sequence_png_vertical_offset); + t2.add$2(t1, "export_svg_action_delayed_for_png_cache", _this.export_svg_action_delayed_for_png_cache); + t2.add$2(t1, "is_zoom_above_threshold", _this.is_zoom_above_threshold); + t2.add$2(t1, "storables", _this.storables); + t2.add$2(t1, "original_helix_offsets", _this.original_helix_offsets); + return t2.toString$0(t1); + } + }; + Q.AppUIStateBuilder.prototype = { + get$selectables_store: function() { + var t3, + t1 = this.get$_app_ui_state$_$this(), + t2 = t1._selectables_store; + if (t2 == null) { + t2 = new E.SelectablesStoreBuilder(); + t3 = type$.legacy_SetBuilder_legacy_Selectable._as(X.SetBuilder_SetBuilder([], type$.legacy_Selectable)); + t2.get$_selectable$_$this().set$_selected_items(t3); + t1._selectables_store = t2; + t1 = t2; + } else + t1 = t2; + return t1; + }, + get$dna_assign_options: function() { + var t1 = this.get$_app_ui_state$_$this(), + t2 = t1._dna_assign_options; + if (t2 == null) { + t2 = new X.DNAAssignOptionsBuilder(); + X.DNAAssignOptions__initializeBuilder(t2); + t1._dna_assign_options = t2; + t1 = t2; + } else + t1 = t2; + return t1; + }, + get$mouseover_datas: function() { + var t1 = this.get$_app_ui_state$_$this(), + t2 = t1._mouseover_datas; + if (t2 == null) { + t2 = D.ListBuilder_ListBuilder(C.List_empty, type$.legacy_MouseoverData); + t1.set$_mouseover_datas(t2); + t1 = t2; + } else + t1 = t2; + return t1; + }, + get$example_designs: function() { + var t1 = this.get$_app_ui_state$_$this(), + t2 = t1._example_designs; + if (t2 == null) { + t2 = new K.ExampleDesignsBuilder(); + K.ExampleDesigns__initializeBuilder(t2); + t1._example_designs = t2; + t1 = t2; + } else + t1 = t2; + return t1; + }, + get$storables: function() { + var t1 = this.get$_app_ui_state$_$this(), + t2 = t1._storables; + if (t2 == null) { + t2 = new B.AppUIStateStorablesBuilder(); + B.AppUIStateStorables__initializeBuilder(t2); + t1._storables = t2; + t1 = t2; + } else + t1 = t2; + return t1; + }, + get$original_helix_offsets: function() { + var t1 = this.get$_app_ui_state$_$this(), + t2 = t1._original_helix_offsets; + if (t2 == null) { + t2 = A.MapBuilder_MapBuilder(C.Map_empty, type$.legacy_int, type$.legacy_BuiltList_legacy_int); + t1.set$_original_helix_offsets(t2); + t1 = t2; + } else + t1 = t2; + return t1; + }, + get$_app_ui_state$_$this: function() { + var t1, t2, t3, _this = this, _null = null, + $$v = _this._app_ui_state$_$v; + if ($$v != null) { + t1 = $$v.selectables_store; + t1.toString; + t2 = new E.SelectablesStoreBuilder(); + t3 = type$.legacy_SetBuilder_legacy_Selectable._as(X.SetBuilder_SetBuilder([], type$.legacy_Selectable)); + t2.get$_selectable$_$this().set$_selected_items(t3); + t2._selectable$_$v = t1; + _this._selectables_store = t2; + t1 = $$v.strands_move; + if (t1 == null) + t1 = _null; + else { + t2 = new U.StrandsMoveBuilder(); + t2._strands_move$_$v = t1; + t1 = t2; + } + _this._strands_move = t1; + t1 = $$v.domains_move; + if (t1 == null) + t1 = _null; + else { + t2 = new V.DomainsMoveBuilder(); + t2._domains_move$_$v = t1; + t1 = t2; + } + _this._domains_move = t1; + t1 = $$v.copy_info; + if (t1 == null) + t1 = _null; + else { + t2 = new B.CopyInfoBuilder(); + t2._copy_info$_$v = t1; + t1 = t2; + } + _this._copy_info = t1; + _this._potential_crossover_is_drawing = $$v.potential_crossover_is_drawing; + _this._dna_ends_are_moving = $$v.dna_ends_are_moving; + _this._helix_group_is_moving = $$v.helix_group_is_moving; + _this._load_dialog = $$v.load_dialog; + _this._slice_bar_is_moving = $$v.slice_bar_is_moving; + _this._selection_box_displayed_main = $$v.selection_box_displayed_main; + _this._selection_box_displayed_side = $$v.selection_box_displayed_side; + t1 = $$v.dna_assign_options; + t2 = new X.DNAAssignOptionsBuilder(); + X.DNAAssignOptions__initializeBuilder(t2); + t2._dna_assign_options$_$v = t1; + _this._dna_assign_options = t2; + _this._helix_change_apply_to_all = $$v.helix_change_apply_to_all; + t1 = $$v.selection_rope; + if (t1 == null) + t1 = _null; + else { + t2 = new F.SelectionRopeBuilder(); + t2._selection_rope$_$v = t1; + t1 = t2; + } + _this._selection_rope = t1; + t1 = $$v.last_mod_5p; + if (t1 == null) + t1 = _null; + else { + t2 = new Z.Modification5PrimeBuilder(); + t2._modification$_$v = t1; + t1 = t2; + } + _this._last_mod_5p = t1; + t1 = $$v.last_mod_3p; + if (t1 == null) + t1 = _null; + else { + t2 = new Z.Modification3PrimeBuilder(); + t2._modification$_$v = t1; + t1 = t2; + } + _this._last_mod_3p = t1; + t1 = $$v.last_mod_int; + if (t1 == null) + t1 = _null; + else { + t2 = new Z.ModificationInternalBuilder(); + t2._modification$_$v = t1; + t1 = t2; + } + _this._last_mod_int = t1; + t1 = $$v.mouseover_datas; + t1.toString; + _this.set$_mouseover_datas(D.ListBuilder_ListBuilder(t1, t1.$ti._precomputed1)); + t1 = $$v.example_designs; + t1.toString; + t2 = new K.ExampleDesignsBuilder(); + K.ExampleDesigns__initializeBuilder(t2); + t2._example_designs$_$v = t1; + _this._example_designs = t2; + t1 = $$v.dialog; + if (t1 == null) + t1 = _null; + else { + t2 = new E.DialogBuilder(); + t2._dialog$_$v = t1; + t1 = t2; + } + _this._dialog = t1; + t1 = $$v.color_picker_strand; + if (t1 == null) + t1 = _null; + else { + t2 = new E.StrandBuilder(); + t2._strand$_$v = t1; + t1 = t2; + } + _this._color_picker_strand = t1; + _this._color_picker_substrand = $$v.color_picker_substrand; + t1 = $$v.strand_creation; + if (t1 == null) + t1 = _null; + else { + t2 = new U.StrandCreationBuilder(); + t2._strand_creation$_$v = t1; + t1 = t2; + } + _this._strand_creation = t1; + t1 = $$v.side_view_grid_position_mouse_cursor; + if (t1 == null) + t1 = _null; + else { + t2 = new D.GridPositionBuilder(); + t2._grid_position$_$v = t1; + t1 = t2; + } + _this._side_view_grid_position_mouse_cursor = t1; + _this.set$_side_view_position_mouse_cursor($$v.side_view_position_mouse_cursor); + t1 = $$v.context_menu; + if (t1 == null) + t1 = _null; + else { + t2 = new B.ContextMenuBuilder(); + t2._context_menu$_$v = t1; + t1 = t2; + } + _this._context_menu = t1; + _this._changed_since_last_save = $$v.changed_since_last_save; + _this._dna_sequence_png_uri = $$v.dna_sequence_png_uri; + _this._dna_sequence_png_horizontal_offset = $$v.dna_sequence_png_horizontal_offset; + _this._dna_sequence_png_vertical_offset = $$v.dna_sequence_png_vertical_offset; + t1 = $$v.export_svg_action_delayed_for_png_cache; + if (t1 == null) + t1 = _null; + else { + t2 = new U.ExportSvgBuilder(); + t2._$v = t1; + t1 = t2; + } + _this._export_svg_action_delayed_for_png_cache = t1; + _this._is_zoom_above_threshold = $$v.is_zoom_above_threshold; + t1 = $$v.storables; + t1.toString; + t2 = new B.AppUIStateStorablesBuilder(); + B.AppUIStateStorables__initializeBuilder(t2); + t2._app_ui_state_storables$_$v = t1; + _this._storables = t2; + t1 = $$v.original_helix_offsets; + t1.toString; + t2 = t1.$ti; + t2._eval$1("_BuiltMap<1,2>")._as(t1); + _this.set$_original_helix_offsets(new A.MapBuilder(t1._mapFactory, t1._map$_map, t1, t2._eval$1("@<1>")._bind$1(t2._rest[1])._eval$1("MapBuilder<1,2>"))); + _this._app_ui_state$_$v = null; + } + return _this; + }, + build$0: function() { + var _$failedField, e, _$result0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19, t20, t21, t22, t23, t24, t25, t26, t27, t28, t29, t30, t31, t32, t33, t34, exception, _this = this, _null = null, + _s10_ = "AppUIState", + _s17_ = "selectables_store", + _s22_ = "original_helix_offsets", + _$result = null; + try { + _$result0 = _this._app_ui_state$_$v; + if (_$result0 == null) { + t1 = _this.get$selectables_store().build$0(); + t2 = _this._strands_move; + t2 = t2 == null ? _null : t2.build$0(); + t3 = _this._domains_move; + t3 = t3 == null ? _null : t3.build$0(); + t4 = _this._copy_info; + t4 = t4 == null ? _null : t4.build$0(); + t5 = _this.get$_app_ui_state$_$this()._potential_crossover_is_drawing; + if (t5 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s10_, "potential_crossover_is_drawing")); + t6 = _this.get$_app_ui_state$_$this()._dna_ends_are_moving; + if (t6 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s10_, "dna_ends_are_moving")); + t7 = _this.get$_app_ui_state$_$this()._helix_group_is_moving; + if (t7 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s10_, "helix_group_is_moving")); + t8 = _this.get$_app_ui_state$_$this()._load_dialog; + if (t8 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s10_, "load_dialog")); + t9 = _this.get$_app_ui_state$_$this()._slice_bar_is_moving; + if (t9 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s10_, "slice_bar_is_moving")); + t10 = _this.get$_app_ui_state$_$this()._selection_box_displayed_main; + if (t10 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s10_, "selection_box_displayed_main")); + t11 = _this.get$_app_ui_state$_$this()._selection_box_displayed_side; + if (t11 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s10_, "selection_box_displayed_side")); + t12 = _this.get$dna_assign_options().build$0(); + t13 = _this.get$_app_ui_state$_$this()._helix_change_apply_to_all; + if (t13 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s10_, "helix_change_apply_to_all")); + t14 = _this._selection_rope; + t14 = t14 == null ? _null : t14.build$0(); + t15 = _this._last_mod_5p; + t15 = t15 == null ? _null : t15.build$0(); + t16 = _this._last_mod_3p; + t16 = t16 == null ? _null : t16.build$0(); + t17 = _this._last_mod_int; + t17 = t17 == null ? _null : t17.build$0(); + t18 = _this.get$mouseover_datas().build$0(); + t19 = _this.get$example_designs().build$0(); + t20 = _this._dialog; + t20 = t20 == null ? _null : t20.build$0(); + t21 = _this._color_picker_strand; + t21 = t21 == null ? _null : t21.build$0(); + t22 = _this.get$_app_ui_state$_$this()._color_picker_substrand; + t23 = _this._strand_creation; + t23 = t23 == null ? _null : t23.build$0(); + t24 = _this._side_view_grid_position_mouse_cursor; + t24 = t24 == null ? _null : t24.build$0(); + t25 = _this.get$_app_ui_state$_$this()._side_view_position_mouse_cursor; + t26 = _this._context_menu; + t26 = t26 == null ? _null : t26.build$0(); + t27 = _this.get$_app_ui_state$_$this()._changed_since_last_save; + if (t27 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s10_, "changed_since_last_save")); + t28 = _this.get$_app_ui_state$_$this()._dna_sequence_png_uri; + t29 = _this.get$_app_ui_state$_$this()._dna_sequence_png_horizontal_offset; + if (t29 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s10_, "dna_sequence_png_horizontal_offset")); + t30 = _this.get$_app_ui_state$_$this()._dna_sequence_png_vertical_offset; + if (t30 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s10_, "dna_sequence_png_vertical_offset")); + t31 = _this._export_svg_action_delayed_for_png_cache; + t31 = t31 == null ? _null : t31.build$0(); + t32 = _this.get$_app_ui_state$_$this()._is_zoom_above_threshold; + if (t32 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s10_, "is_zoom_above_threshold")); + t33 = _this.get$storables().build$0(); + t34 = _this.get$original_helix_offsets().build$0(); + _$result0 = new Q._$AppUIState(t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19, t20, t21, t22, t23, t24, t25, t26, t27, t28, t29, t30, t31, t32, t33, t34); + if (t1 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s10_, _s17_)); + if (t18 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s10_, "mouseover_datas")); + if (t19 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s10_, "example_designs")); + if (t33 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s10_, "storables")); + if (t34 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s10_, _s22_)); + } + _$result = _$result0; + } catch (exception) { + H.unwrapException(exception); + _$failedField = null; + try { + _$failedField = _s17_; + _this.get$selectables_store().build$0(); + _$failedField = "strands_move"; + t1 = _this._strands_move; + if (t1 != null) + t1.build$0(); + _$failedField = "domains_move"; + t1 = _this._domains_move; + if (t1 != null) + t1.build$0(); + _$failedField = "copy_info"; + t1 = _this._copy_info; + if (t1 != null) + t1.build$0(); + _$failedField = "dna_assign_options"; + _this.get$dna_assign_options().build$0(); + _$failedField = "selection_rope"; + t1 = _this._selection_rope; + if (t1 != null) + t1.build$0(); + _$failedField = "last_mod_5p"; + t1 = _this._last_mod_5p; + if (t1 != null) + t1.build$0(); + _$failedField = "last_mod_3p"; + t1 = _this._last_mod_3p; + if (t1 != null) + t1.build$0(); + _$failedField = "last_mod_int"; + t1 = _this._last_mod_int; + if (t1 != null) + t1.build$0(); + _$failedField = "mouseover_datas"; + _this.get$mouseover_datas().build$0(); + _$failedField = "example_designs"; + _this.get$example_designs().build$0(); + _$failedField = "dialog"; + t1 = _this._dialog; + if (t1 != null) + t1.build$0(); + _$failedField = "color_picker_strand"; + t1 = _this._color_picker_strand; + if (t1 != null) + t1.build$0(); + _$failedField = "strand_creation"; + t1 = _this._strand_creation; + if (t1 != null) + t1.build$0(); + _$failedField = "side_view_grid_position_mouse_cursor"; + t1 = _this._side_view_grid_position_mouse_cursor; + if (t1 != null) + t1.build$0(); + _$failedField = "context_menu"; + t1 = _this._context_menu; + if (t1 != null) + t1.build$0(); + _$failedField = "export_svg_action_delayed_for_png_cache"; + t1 = _this._export_svg_action_delayed_for_png_cache; + if (t1 != null) + t1.build$0(); + _$failedField = "storables"; + _this.get$storables().build$0(); + _$failedField = _s22_; + _this.get$original_helix_offsets().build$0(); + } catch (exception) { + e = H.unwrapException(exception); + t1 = Y.BuiltValueNestedFieldError$(_s10_, _$failedField, J.toString$0$(e)); + throw H.wrapException(t1); + } + throw exception; + } + t1 = type$.legacy_AppUIState._as(_$result); + if (t1 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + _this._app_ui_state$_$v = t1; + return _$result; + }, + set$_mouseover_datas: function(_mouseover_datas) { + this._mouseover_datas = type$.legacy_ListBuilder_legacy_MouseoverData._as(_mouseover_datas); + }, + set$_side_view_position_mouse_cursor: function(_side_view_position_mouse_cursor) { + this._side_view_position_mouse_cursor = type$.legacy_Point_legacy_num._as(_side_view_position_mouse_cursor); + }, + set$_original_helix_offsets: function(_original_helix_offsets) { + this._original_helix_offsets = type$.legacy_MapBuilder_of_legacy_int_and_legacy_BuiltList_legacy_int._as(_original_helix_offsets); + } + }; + Q._AppUIState_Object_BuiltJsonSerializable.prototype = {}; + B.AppUIStateStorables.prototype = {}; + B._$AppUIStateStorablesSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + var result, value; + type$.legacy_AppUIStateStorables._as(object); + result = H.setRuntimeTypeInfo(["select_mode_state", serializers.serialize$2$specifiedType(object.select_mode_state, C.FullType_6ha), "edit_modes", serializers.serialize$2$specifiedType(object.edit_modes, C.FullType_kiE), "side_selected_helix_idxs", serializers.serialize$2$specifiedType(object.side_selected_helix_idxs, C.FullType_MQk), "autofit", serializers.serialize$2$specifiedType(object.autofit, C.FullType_MtR), "show_dna", serializers.serialize$2$specifiedType(object.show_dna, C.FullType_MtR), "show_strand_names", serializers.serialize$2$specifiedType(object.show_strand_names, C.FullType_MtR), "show_strand_labels", serializers.serialize$2$specifiedType(object.show_strand_labels, C.FullType_MtR), "show_domain_names", serializers.serialize$2$specifiedType(object.show_domain_names, C.FullType_MtR), "show_domain_labels", serializers.serialize$2$specifiedType(object.show_domain_labels, C.FullType_MtR), "base_pair_display_type", serializers.serialize$2$specifiedType(object.base_pair_display_type, C.FullType_K2v), "show_base_pair_lines", serializers.serialize$2$specifiedType(object.show_base_pair_lines, C.FullType_MtR), "show_base_pair_lines_with_mismatches", serializers.serialize$2$specifiedType(object.show_base_pair_lines_with_mismatches, C.FullType_MtR), "strand_name_font_size", serializers.serialize$2$specifiedType(object.strand_name_font_size, C.FullType_2ru), "strand_label_font_size", serializers.serialize$2$specifiedType(object.strand_label_font_size, C.FullType_2ru), "domain_name_font_size", serializers.serialize$2$specifiedType(object.domain_name_font_size, C.FullType_2ru), "domain_label_font_size", serializers.serialize$2$specifiedType(object.domain_label_font_size, C.FullType_2ru), "show_modifications", serializers.serialize$2$specifiedType(object.show_modifications, C.FullType_MtR), "show_mismatches", serializers.serialize$2$specifiedType(object.show_mismatches, C.FullType_MtR), "show_domain_name_mismatches", serializers.serialize$2$specifiedType(object.show_domain_name_mismatches, C.FullType_MtR), "show_unpaired_insertion_deletions", serializers.serialize$2$specifiedType(object.show_unpaired_insertion_deletions, C.FullType_MtR), "show_oxview", serializers.serialize$2$specifiedType(object.show_oxview, C.FullType_MtR), "show_slice_bar", serializers.serialize$2$specifiedType(object.show_slice_bar, C.FullType_MtR), "show_mouseover_data", serializers.serialize$2$specifiedType(object.show_mouseover_data, C.FullType_MtR), "only_display_selected_helices", serializers.serialize$2$specifiedType(object.only_display_selected_helices, C.FullType_MtR), "modification_font_size", serializers.serialize$2$specifiedType(object.modification_font_size, C.FullType_2ru), "major_tick_offset_font_size", serializers.serialize$2$specifiedType(object.major_tick_offset_font_size, C.FullType_2ru), "major_tick_width_font_size", serializers.serialize$2$specifiedType(object.major_tick_width_font_size, C.FullType_2ru), "zoom_speed", serializers.serialize$2$specifiedType(object.zoom_speed, C.FullType_2ru), "modification_display_connector", serializers.serialize$2$specifiedType(object.modification_display_connector, C.FullType_MtR), "strand_paste_keep_color", serializers.serialize$2$specifiedType(object.strand_paste_keep_color, C.FullType_MtR), "display_base_offsets_of_major_ticks", serializers.serialize$2$specifiedType(object.display_base_offsets_of_major_ticks, C.FullType_MtR), string$.displa, serializers.serialize$2$specifiedType(object.display_base_offsets_of_major_ticks_only_first_helix, C.FullType_MtR), "display_major_tick_widths", serializers.serialize$2$specifiedType(object.display_major_tick_widths, C.FullType_MtR), "display_major_tick_widths_all_helices", serializers.serialize$2$specifiedType(object.display_major_tick_widths_all_helices, C.FullType_MtR), "loaded_filename", serializers.serialize$2$specifiedType(object.loaded_filename, C.FullType_h8g), "loaded_script_filename", serializers.serialize$2$specifiedType(object.loaded_script_filename, C.FullType_h8g), "invert_y", serializers.serialize$2$specifiedType(object.invert_y, C.FullType_MtR), "dynamically_update_helices", serializers.serialize$2$specifiedType(object.dynamically_update_helices, C.FullType_MtR), "warn_on_exit_if_unsaved", serializers.serialize$2$specifiedType(object.warn_on_exit_if_unsaved, C.FullType_MtR), "show_helix_circles_main_view", serializers.serialize$2$specifiedType(object.show_helix_circles_main_view, C.FullType_MtR), "show_helix_components_main_view", serializers.serialize$2$specifiedType(object.show_helix_components_main_view, C.FullType_MtR), "show_edit_mode_menu", serializers.serialize$2$specifiedType(object.show_edit_mode_menu, C.FullType_MtR), "show_grid_coordinates_side_view", serializers.serialize$2$specifiedType(object.show_grid_coordinates_side_view, C.FullType_MtR), "show_helices_axis_arrows", serializers.serialize$2$specifiedType(object.show_helices_axis_arrows, C.FullType_MtR), "show_loopout_extension_length", serializers.serialize$2$specifiedType(object.show_loopout_extension_length, C.FullType_MtR), string$.defaulc, serializers.serialize$2$specifiedType(object.default_crossover_type_scaffold_for_setting_helix_rolls, C.FullType_MtR), string$.default, serializers.serialize$2$specifiedType(object.default_crossover_type_staple_for_setting_helix_rolls, C.FullType_MtR), "local_storage_design_choice", serializers.serialize$2$specifiedType(object.local_storage_design_choice, C.FullType_UeR), string$.clear_, serializers.serialize$2$specifiedType(object.clear_helix_selection_when_loading_new_design, C.FullType_MtR), "displayed_group_name", serializers.serialize$2$specifiedType(object.displayed_group_name, C.FullType_h8g), "disable_png_caching_dna_sequences", serializers.serialize$2$specifiedType(object.disable_png_caching_dna_sequences, C.FullType_MtR), "retain_strand_color_on_selection", serializers.serialize$2$specifiedType(object.retain_strand_color_on_selection, C.FullType_MtR), "display_reverse_DNA_right_side_up", serializers.serialize$2$specifiedType(object.display_reverse_DNA_right_side_up, C.FullType_MtR), "selection_box_intersection", serializers.serialize$2$specifiedType(object.selection_box_intersection, C.FullType_MtR), "export_svg_text_separately", serializers.serialize$2$specifiedType(object.export_svg_text_separately, C.FullType_MtR), "ox_export_only_selected_strands", serializers.serialize$2$specifiedType(object.ox_export_only_selected_strands, C.FullType_MtR)], type$.JSArray_legacy_Object); + value = object.slice_bar_offset; + if (value != null) { + C.JSArray_methods.add$1(result, "slice_bar_offset"); + C.JSArray_methods.add$1(result, serializers.serialize$2$specifiedType(value, C.FullType_kjq)); + } + return result; + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + var result, iterator, t1, t2, t3, t4, t5, t6, t7, t8, key, value, t9, t10, t11, _null = null; + type$.legacy_Iterable_legacy_Object._as(serialized); + result = new B.AppUIStateStorablesBuilder(); + B.AppUIStateStorables__initializeBuilder(result); + iterator = J.get$iterator$ax(serialized); + for (t1 = type$.legacy_LocalStorageDesignChoice, t2 = type$.legacy_BasePairDisplayType, t3 = type$.legacy_BuiltSet_legacy_Object, t4 = type$.SetBuilder_legacy_int, t5 = type$.SetBuilder_legacy_EditModeChoice, t6 = type$.legacy_SelectModeState, t7 = type$.SetBuilder_legacy_SelectModeChoice, t8 = type$.legacy_SetBuilder_legacy_SelectModeChoice; iterator.moveNext$0();) { + key = H._asStringS(iterator.get$current(iterator)); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (key) { + case "select_mode_state": + t9 = result.get$_app_ui_state_storables$_$this(); + t10 = t9._select_mode_state; + if (t10 == null) { + t10 = new N.SelectModeStateBuilder(); + t11 = new X.SetBuilder(_null, $, _null, t7); + t11.replace$1(0, [C.SelectModeChoice_strand, C.SelectModeChoice_staple, C.SelectModeChoice_scaffold]); + t8._as(t11); + t10.set$_modes(t11); + t9._select_mode_state = t10; + t9 = t10; + } else + t9 = t10; + t10 = t6._as(serializers.deserialize$2$specifiedType(value, C.FullType_6ha)); + if (t10 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + t9._select_mode_state$_$v = t10; + break; + case "edit_modes": + t9 = result.get$_app_ui_state_storables$_$this(); + t10 = t9._edit_modes; + if (t10 == null) { + t10 = new X.SetBuilder(_null, $, _null, t5); + t10.replace$1(0, C.List_empty); + t9.set$_edit_modes(t10); + t9 = t10; + } else + t9 = t10; + t9.replace$1(0, t3._as(serializers.deserialize$2$specifiedType(value, C.FullType_kiE))); + break; + case "side_selected_helix_idxs": + t9 = result.get$_app_ui_state_storables$_$this(); + t10 = t9._side_selected_helix_idxs; + if (t10 == null) { + t10 = new X.SetBuilder(_null, $, _null, t4); + t10.replace$1(0, C.List_empty); + t9.set$_side_selected_helix_idxs(t10); + t9 = t10; + } else + t9 = t10; + t9.replace$1(0, t3._as(serializers.deserialize$2$specifiedType(value, C.FullType_MQk))); + break; + case "autofit": + t9 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); + result.get$_app_ui_state_storables$_$this()._autofit = t9; + break; + case "show_dna": + t9 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); + result.get$_app_ui_state_storables$_$this()._show_dna = t9; + break; + case "show_strand_names": + t9 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); + result.get$_app_ui_state_storables$_$this()._show_strand_names = t9; + break; + case "show_strand_labels": + t9 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); + result.get$_app_ui_state_storables$_$this()._show_strand_labels = t9; + break; + case "show_domain_names": + t9 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); + result.get$_app_ui_state_storables$_$this()._show_domain_names = t9; + break; + case "show_domain_labels": + t9 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); + result.get$_app_ui_state_storables$_$this()._show_domain_labels = t9; + break; + case "base_pair_display_type": + t9 = t2._as(serializers.deserialize$2$specifiedType(value, C.FullType_K2v)); + result.get$_app_ui_state_storables$_$this()._base_pair_display_type = t9; + break; + case "show_base_pair_lines": + t9 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); + result.get$_app_ui_state_storables$_$this()._show_base_pair_lines = t9; + break; + case "show_base_pair_lines_with_mismatches": + t9 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); + result.get$_app_ui_state_storables$_$this()._show_base_pair_lines_with_mismatches = t9; + break; + case "strand_name_font_size": + t9 = H._asNumS(serializers.deserialize$2$specifiedType(value, C.FullType_2ru)); + result.get$_app_ui_state_storables$_$this()._strand_name_font_size = t9; + break; + case "strand_label_font_size": + t9 = H._asNumS(serializers.deserialize$2$specifiedType(value, C.FullType_2ru)); + result.get$_app_ui_state_storables$_$this()._strand_label_font_size = t9; + break; + case "domain_name_font_size": + t9 = H._asNumS(serializers.deserialize$2$specifiedType(value, C.FullType_2ru)); + result.get$_app_ui_state_storables$_$this()._domain_name_font_size = t9; + break; + case "domain_label_font_size": + t9 = H._asNumS(serializers.deserialize$2$specifiedType(value, C.FullType_2ru)); + result.get$_app_ui_state_storables$_$this()._domain_label_font_size = t9; + break; + case "show_modifications": + t9 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); + result.get$_app_ui_state_storables$_$this()._show_modifications = t9; + break; + case "show_mismatches": + t9 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); + result.get$_app_ui_state_storables$_$this()._show_mismatches = t9; + break; + case "show_domain_name_mismatches": + t9 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); + result.get$_app_ui_state_storables$_$this()._show_domain_name_mismatches = t9; + break; + case "show_unpaired_insertion_deletions": + t9 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); + result.get$_app_ui_state_storables$_$this()._show_unpaired_insertion_deletions = t9; + break; + case "show_oxview": + t9 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); + result.get$_app_ui_state_storables$_$this()._show_oxview = t9; + break; + case "show_slice_bar": + t9 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); + result.get$_app_ui_state_storables$_$this()._show_slice_bar = t9; + break; + case "show_mouseover_data": + t9 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); + result.get$_app_ui_state_storables$_$this()._show_mouseover_data = t9; + break; + case "only_display_selected_helices": + t9 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); + result.get$_app_ui_state_storables$_$this()._only_display_selected_helices = t9; + break; + case "modification_font_size": + t9 = H._asNumS(serializers.deserialize$2$specifiedType(value, C.FullType_2ru)); + result.get$_app_ui_state_storables$_$this()._modification_font_size = t9; + break; + case "major_tick_offset_font_size": + t9 = H._asNumS(serializers.deserialize$2$specifiedType(value, C.FullType_2ru)); + result.get$_app_ui_state_storables$_$this()._major_tick_offset_font_size = t9; + break; + case "major_tick_width_font_size": + t9 = H._asNumS(serializers.deserialize$2$specifiedType(value, C.FullType_2ru)); + result.get$_app_ui_state_storables$_$this()._major_tick_width_font_size = t9; + break; + case "zoom_speed": + t9 = H._asNumS(serializers.deserialize$2$specifiedType(value, C.FullType_2ru)); + result.get$_app_ui_state_storables$_$this()._zoom_speed = t9; + break; + case "modification_display_connector": + t9 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); + result.get$_app_ui_state_storables$_$this()._modification_display_connector = t9; + break; + case "strand_paste_keep_color": + t9 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); + result.get$_app_ui_state_storables$_$this()._strand_paste_keep_color = t9; + break; + case "display_base_offsets_of_major_ticks": + t9 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); + result.get$_app_ui_state_storables$_$this()._display_base_offsets_of_major_ticks = t9; + break; + case string$.displa: + t9 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); + result.get$_app_ui_state_storables$_$this()._display_base_offsets_of_major_ticks_only_first_helix = t9; + break; + case "display_major_tick_widths": + t9 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); + result.get$_app_ui_state_storables$_$this()._display_major_tick_widths = t9; + break; + case "display_major_tick_widths_all_helices": + t9 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); + result.get$_app_ui_state_storables$_$this()._display_major_tick_widths_all_helices = t9; + break; + case "loaded_filename": + t9 = H._asStringS(serializers.deserialize$2$specifiedType(value, C.FullType_h8g)); + result.get$_app_ui_state_storables$_$this()._loaded_filename = t9; + break; + case "loaded_script_filename": + t9 = H._asStringS(serializers.deserialize$2$specifiedType(value, C.FullType_h8g)); + result.get$_app_ui_state_storables$_$this()._loaded_script_filename = t9; + break; + case "invert_y": + t9 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); + result.get$_app_ui_state_storables$_$this()._invert_y = t9; + break; + case "dynamically_update_helices": + t9 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); + result.get$_app_ui_state_storables$_$this()._dynamically_update_helices = t9; + break; + case "warn_on_exit_if_unsaved": + t9 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); + result.get$_app_ui_state_storables$_$this()._warn_on_exit_if_unsaved = t9; + break; + case "show_helix_circles_main_view": + t9 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); + result.get$_app_ui_state_storables$_$this()._show_helix_circles_main_view = t9; + break; + case "show_helix_components_main_view": + t9 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); + result.get$_app_ui_state_storables$_$this()._show_helix_components_main_view = t9; + break; + case "show_edit_mode_menu": + t9 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); + result.get$_app_ui_state_storables$_$this()._show_edit_mode_menu = t9; + break; + case "show_grid_coordinates_side_view": + t9 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); + result.get$_app_ui_state_storables$_$this()._show_grid_coordinates_side_view = t9; + break; + case "show_helices_axis_arrows": + t9 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); + result.get$_app_ui_state_storables$_$this()._show_helices_axis_arrows = t9; + break; + case "show_loopout_extension_length": + t9 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); + result.get$_app_ui_state_storables$_$this()._show_loopout_extension_length = t9; + break; + case string$.defaulc: + t9 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); + result.get$_app_ui_state_storables$_$this()._default_crossover_type_scaffold_for_setting_helix_rolls = t9; + break; + case string$.default: + t9 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); + result.get$_app_ui_state_storables$_$this()._default_crossover_type_staple_for_setting_helix_rolls = t9; + break; + case "local_storage_design_choice": + t9 = result.get$_app_ui_state_storables$_$this(); + t10 = t9._local_storage_design_choice; + t9 = t10 == null ? t9._local_storage_design_choice = new Y.LocalStorageDesignChoiceBuilder() : t10; + t10 = t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_UeR)); + if (t10 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + t9._local_storage_design_choice$_$v = t10; + break; + case string$.clear_: + t9 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); + result.get$_app_ui_state_storables$_$this()._clear_helix_selection_when_loading_new_design = t9; + break; + case "displayed_group_name": + t9 = H._asStringS(serializers.deserialize$2$specifiedType(value, C.FullType_h8g)); + result.get$_app_ui_state_storables$_$this()._displayed_group_name = t9; + break; + case "slice_bar_offset": + t9 = H._asIntS(serializers.deserialize$2$specifiedType(value, C.FullType_kjq)); + result.get$_app_ui_state_storables$_$this()._slice_bar_offset = t9; + break; + case "disable_png_caching_dna_sequences": + t9 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); + result.get$_app_ui_state_storables$_$this()._disable_png_caching_dna_sequences = t9; + break; + case "retain_strand_color_on_selection": + t9 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); + result.get$_app_ui_state_storables$_$this()._retain_strand_color_on_selection = t9; + break; + case "display_reverse_DNA_right_side_up": + t9 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); + result.get$_app_ui_state_storables$_$this()._display_reverse_DNA_right_side_up = t9; + break; + case "selection_box_intersection": + t9 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); + result.get$_app_ui_state_storables$_$this()._selection_box_intersection = t9; + break; + case "export_svg_text_separately": + t9 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); + result.get$_app_ui_state_storables$_$this()._export_svg_text_separately = t9; + break; + case "ox_export_only_selected_strands": + t9 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); + result.get$_app_ui_state_storables$_$this()._ox_export_only_selected_strands = t9; + break; + } + } + return result.build$0(); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_s9c; + }, + get$wireName: function() { + return "AppUIStateStorables"; + } + }; + B._$AppUIStateStorables.prototype = { + rebuild$1: function(updates) { + var t1; + type$.legacy_void_Function_legacy_AppUIStateStorablesBuilder._as(updates); + t1 = new B.AppUIStateStorablesBuilder(); + B.AppUIStateStorables__initializeBuilder(t1); + t1._app_ui_state_storables$_$v = this; + updates.call$1(t1); + return t1.build$0(); + }, + $eq: function(_, other) { + var _this = this; + if (other == null) + return false; + if (other === _this) + return true; + return other instanceof B.AppUIStateStorables && J.$eq$(_this.select_mode_state, other.select_mode_state) && J.$eq$(_this.edit_modes, other.edit_modes) && J.$eq$(_this.side_selected_helix_idxs, other.side_selected_helix_idxs) && _this.autofit === other.autofit && _this.show_dna === other.show_dna && _this.show_strand_names === other.show_strand_names && _this.show_strand_labels === other.show_strand_labels && _this.show_domain_names === other.show_domain_names && _this.show_domain_labels === other.show_domain_labels && _this.base_pair_display_type === other.base_pair_display_type && _this.show_base_pair_lines === other.show_base_pair_lines && _this.show_base_pair_lines_with_mismatches === other.show_base_pair_lines_with_mismatches && _this.strand_name_font_size === other.strand_name_font_size && _this.strand_label_font_size === other.strand_label_font_size && _this.domain_name_font_size === other.domain_name_font_size && _this.domain_label_font_size === other.domain_label_font_size && _this.show_modifications === other.show_modifications && _this.show_mismatches === other.show_mismatches && _this.show_domain_name_mismatches === other.show_domain_name_mismatches && _this.show_unpaired_insertion_deletions === other.show_unpaired_insertion_deletions && _this.show_oxview === other.show_oxview && _this.show_slice_bar === other.show_slice_bar && _this.show_mouseover_data === other.show_mouseover_data && _this.only_display_selected_helices === other.only_display_selected_helices && _this.modification_font_size === other.modification_font_size && _this.major_tick_offset_font_size === other.major_tick_offset_font_size && _this.major_tick_width_font_size === other.major_tick_width_font_size && _this.zoom_speed === other.zoom_speed && _this.modification_display_connector === other.modification_display_connector && _this.strand_paste_keep_color === other.strand_paste_keep_color && _this.display_base_offsets_of_major_ticks === other.display_base_offsets_of_major_ticks && _this.display_base_offsets_of_major_ticks_only_first_helix === other.display_base_offsets_of_major_ticks_only_first_helix && _this.display_major_tick_widths === other.display_major_tick_widths && _this.display_major_tick_widths_all_helices === other.display_major_tick_widths_all_helices && _this.loaded_filename === other.loaded_filename && _this.loaded_script_filename === other.loaded_script_filename && _this.invert_y === other.invert_y && _this.dynamically_update_helices === other.dynamically_update_helices && _this.warn_on_exit_if_unsaved === other.warn_on_exit_if_unsaved && _this.show_helix_circles_main_view === other.show_helix_circles_main_view && _this.show_helix_components_main_view === other.show_helix_components_main_view && _this.show_edit_mode_menu === other.show_edit_mode_menu && _this.show_grid_coordinates_side_view === other.show_grid_coordinates_side_view && _this.show_helices_axis_arrows === other.show_helices_axis_arrows && _this.show_loopout_extension_length === other.show_loopout_extension_length && _this.default_crossover_type_scaffold_for_setting_helix_rolls === other.default_crossover_type_scaffold_for_setting_helix_rolls && _this.default_crossover_type_staple_for_setting_helix_rolls === other.default_crossover_type_staple_for_setting_helix_rolls && _this.local_storage_design_choice.$eq(0, other.local_storage_design_choice) && _this.clear_helix_selection_when_loading_new_design === other.clear_helix_selection_when_loading_new_design && _this.displayed_group_name === other.displayed_group_name && _this.slice_bar_offset == other.slice_bar_offset && _this.disable_png_caching_dna_sequences === other.disable_png_caching_dna_sequences && _this.retain_strand_color_on_selection === other.retain_strand_color_on_selection && _this.display_reverse_DNA_right_side_up === other.display_reverse_DNA_right_side_up && _this.selection_box_intersection === other.selection_box_intersection && _this.export_svg_text_separately === other.export_svg_text_separately && _this.ox_export_only_selected_strands === other.ox_export_only_selected_strands; + }, + get$hashCode: function(_) { + var _this = this, + t1 = _this._app_ui_state_storables$__hashCode; + if (t1 == null) { + t1 = _this.local_storage_design_choice; + t1 = _this._app_ui_state_storables$__hashCode = Y.$jf(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(0, J.get$hashCode$(_this.select_mode_state)), J.get$hashCode$(_this.edit_modes)), J.get$hashCode$(_this.side_selected_helix_idxs)), C.JSBool_methods.get$hashCode(_this.autofit)), C.JSBool_methods.get$hashCode(_this.show_dna)), C.JSBool_methods.get$hashCode(_this.show_strand_names)), C.JSBool_methods.get$hashCode(_this.show_strand_labels)), C.JSBool_methods.get$hashCode(_this.show_domain_names)), C.JSBool_methods.get$hashCode(_this.show_domain_labels)), H.Primitives_objectHashCode(_this.base_pair_display_type)), C.JSBool_methods.get$hashCode(_this.show_base_pair_lines)), C.JSBool_methods.get$hashCode(_this.show_base_pair_lines_with_mismatches)), C.JSNumber_methods.get$hashCode(_this.strand_name_font_size)), C.JSNumber_methods.get$hashCode(_this.strand_label_font_size)), C.JSNumber_methods.get$hashCode(_this.domain_name_font_size)), C.JSNumber_methods.get$hashCode(_this.domain_label_font_size)), C.JSBool_methods.get$hashCode(_this.show_modifications)), C.JSBool_methods.get$hashCode(_this.show_mismatches)), C.JSBool_methods.get$hashCode(_this.show_domain_name_mismatches)), C.JSBool_methods.get$hashCode(_this.show_unpaired_insertion_deletions)), C.JSBool_methods.get$hashCode(_this.show_oxview)), C.JSBool_methods.get$hashCode(_this.show_slice_bar)), C.JSBool_methods.get$hashCode(_this.show_mouseover_data)), C.JSBool_methods.get$hashCode(_this.only_display_selected_helices)), C.JSNumber_methods.get$hashCode(_this.modification_font_size)), C.JSNumber_methods.get$hashCode(_this.major_tick_offset_font_size)), C.JSNumber_methods.get$hashCode(_this.major_tick_width_font_size)), C.JSNumber_methods.get$hashCode(_this.zoom_speed)), C.JSBool_methods.get$hashCode(_this.modification_display_connector)), C.JSBool_methods.get$hashCode(_this.strand_paste_keep_color)), C.JSBool_methods.get$hashCode(_this.display_base_offsets_of_major_ticks)), C.JSBool_methods.get$hashCode(_this.display_base_offsets_of_major_ticks_only_first_helix)), C.JSBool_methods.get$hashCode(_this.display_major_tick_widths)), C.JSBool_methods.get$hashCode(_this.display_major_tick_widths_all_helices)), C.JSString_methods.get$hashCode(_this.loaded_filename)), C.JSString_methods.get$hashCode(_this.loaded_script_filename)), C.JSBool_methods.get$hashCode(_this.invert_y)), C.JSBool_methods.get$hashCode(_this.dynamically_update_helices)), C.JSBool_methods.get$hashCode(_this.warn_on_exit_if_unsaved)), C.JSBool_methods.get$hashCode(_this.show_helix_circles_main_view)), C.JSBool_methods.get$hashCode(_this.show_helix_components_main_view)), C.JSBool_methods.get$hashCode(_this.show_edit_mode_menu)), C.JSBool_methods.get$hashCode(_this.show_grid_coordinates_side_view)), C.JSBool_methods.get$hashCode(_this.show_helices_axis_arrows)), C.JSBool_methods.get$hashCode(_this.show_loopout_extension_length)), C.JSBool_methods.get$hashCode(_this.default_crossover_type_scaffold_for_setting_helix_rolls)), C.JSBool_methods.get$hashCode(_this.default_crossover_type_staple_for_setting_helix_rolls)), t1.get$hashCode(t1)), C.JSBool_methods.get$hashCode(_this.clear_helix_selection_when_loading_new_design)), C.JSString_methods.get$hashCode(_this.displayed_group_name)), J.get$hashCode$(_this.slice_bar_offset)), C.JSBool_methods.get$hashCode(_this.disable_png_caching_dna_sequences)), C.JSBool_methods.get$hashCode(_this.retain_strand_color_on_selection)), C.JSBool_methods.get$hashCode(_this.display_reverse_DNA_right_side_up)), C.JSBool_methods.get$hashCode(_this.selection_box_intersection)), C.JSBool_methods.get$hashCode(_this.export_svg_text_separately)), C.JSBool_methods.get$hashCode(_this.ox_export_only_selected_strands))); + } + return t1; + }, + toString$0: function(_) { + var _this = this, + t1 = $.$get$newBuiltValueToStringHelper().call$1("AppUIStateStorables"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "select_mode_state", _this.select_mode_state); + t2.add$2(t1, "edit_modes", _this.edit_modes); + t2.add$2(t1, "side_selected_helix_idxs", _this.side_selected_helix_idxs); + t2.add$2(t1, "autofit", _this.autofit); + t2.add$2(t1, "show_dna", _this.show_dna); + t2.add$2(t1, "show_strand_names", _this.show_strand_names); + t2.add$2(t1, "show_strand_labels", _this.show_strand_labels); + t2.add$2(t1, "show_domain_names", _this.show_domain_names); + t2.add$2(t1, "show_domain_labels", _this.show_domain_labels); + t2.add$2(t1, "base_pair_display_type", _this.base_pair_display_type); + t2.add$2(t1, "show_base_pair_lines", _this.show_base_pair_lines); + t2.add$2(t1, "show_base_pair_lines_with_mismatches", _this.show_base_pair_lines_with_mismatches); + t2.add$2(t1, "strand_name_font_size", _this.strand_name_font_size); + t2.add$2(t1, "strand_label_font_size", _this.strand_label_font_size); + t2.add$2(t1, "domain_name_font_size", _this.domain_name_font_size); + t2.add$2(t1, "domain_label_font_size", _this.domain_label_font_size); + t2.add$2(t1, "show_modifications", _this.show_modifications); + t2.add$2(t1, "show_mismatches", _this.show_mismatches); + t2.add$2(t1, "show_domain_name_mismatches", _this.show_domain_name_mismatches); + t2.add$2(t1, "show_unpaired_insertion_deletions", _this.show_unpaired_insertion_deletions); + t2.add$2(t1, "show_oxview", _this.show_oxview); + t2.add$2(t1, "show_slice_bar", _this.show_slice_bar); + t2.add$2(t1, "show_mouseover_data", _this.show_mouseover_data); + t2.add$2(t1, "only_display_selected_helices", _this.only_display_selected_helices); + t2.add$2(t1, "modification_font_size", _this.modification_font_size); + t2.add$2(t1, "major_tick_offset_font_size", _this.major_tick_offset_font_size); + t2.add$2(t1, "major_tick_width_font_size", _this.major_tick_width_font_size); + t2.add$2(t1, "zoom_speed", _this.zoom_speed); + t2.add$2(t1, "modification_display_connector", _this.modification_display_connector); + t2.add$2(t1, "strand_paste_keep_color", _this.strand_paste_keep_color); + t2.add$2(t1, "display_base_offsets_of_major_ticks", _this.display_base_offsets_of_major_ticks); + t2.add$2(t1, string$.displa, _this.display_base_offsets_of_major_ticks_only_first_helix); + t2.add$2(t1, "display_major_tick_widths", _this.display_major_tick_widths); + t2.add$2(t1, "display_major_tick_widths_all_helices", _this.display_major_tick_widths_all_helices); + t2.add$2(t1, "loaded_filename", _this.loaded_filename); + t2.add$2(t1, "loaded_script_filename", _this.loaded_script_filename); + t2.add$2(t1, "invert_y", _this.invert_y); + t2.add$2(t1, "dynamically_update_helices", _this.dynamically_update_helices); + t2.add$2(t1, "warn_on_exit_if_unsaved", _this.warn_on_exit_if_unsaved); + t2.add$2(t1, "show_helix_circles_main_view", _this.show_helix_circles_main_view); + t2.add$2(t1, "show_helix_components_main_view", _this.show_helix_components_main_view); + t2.add$2(t1, "show_edit_mode_menu", _this.show_edit_mode_menu); + t2.add$2(t1, "show_grid_coordinates_side_view", _this.show_grid_coordinates_side_view); + t2.add$2(t1, "show_helices_axis_arrows", _this.show_helices_axis_arrows); + t2.add$2(t1, "show_loopout_extension_length", _this.show_loopout_extension_length); + t2.add$2(t1, string$.defaulc, _this.default_crossover_type_scaffold_for_setting_helix_rolls); + t2.add$2(t1, string$.default, _this.default_crossover_type_staple_for_setting_helix_rolls); + t2.add$2(t1, "local_storage_design_choice", _this.local_storage_design_choice); + t2.add$2(t1, string$.clear_, _this.clear_helix_selection_when_loading_new_design); + t2.add$2(t1, "displayed_group_name", _this.displayed_group_name); + t2.add$2(t1, "slice_bar_offset", _this.slice_bar_offset); + t2.add$2(t1, "disable_png_caching_dna_sequences", _this.disable_png_caching_dna_sequences); + t2.add$2(t1, "retain_strand_color_on_selection", _this.retain_strand_color_on_selection); + t2.add$2(t1, "display_reverse_DNA_right_side_up", _this.display_reverse_DNA_right_side_up); + t2.add$2(t1, "selection_box_intersection", _this.selection_box_intersection); + t2.add$2(t1, "export_svg_text_separately", _this.export_svg_text_separately); + t2.add$2(t1, "ox_export_only_selected_strands", _this.ox_export_only_selected_strands); + return t2.toString$0(t1); + } + }; + B.AppUIStateStorablesBuilder.prototype = { + get$select_mode_state: function() { + var t3, + t1 = this.get$_app_ui_state_storables$_$this(), + t2 = t1._select_mode_state; + if (t2 == null) { + t2 = new N.SelectModeStateBuilder(); + t3 = type$.legacy_SetBuilder_legacy_SelectModeChoice._as(X.SetBuilder_SetBuilder([C.SelectModeChoice_strand, C.SelectModeChoice_staple, C.SelectModeChoice_scaffold], type$.legacy_SelectModeChoice)); + t2.get$_select_mode_state$_$this().set$_modes(t3); + t1._select_mode_state = t2; + t1 = t2; + } else + t1 = t2; + return t1; + }, + get$edit_modes: function() { + var t1 = this.get$_app_ui_state_storables$_$this(), + t2 = t1._edit_modes; + if (t2 == null) { + t2 = X.SetBuilder_SetBuilder(C.List_empty, type$.legacy_EditModeChoice); + t1.set$_edit_modes(t2); + t1 = t2; + } else + t1 = t2; + return t1; + }, + get$side_selected_helix_idxs: function() { + var t1 = this.get$_app_ui_state_storables$_$this(), + t2 = t1._side_selected_helix_idxs; + if (t2 == null) { + t2 = X.SetBuilder_SetBuilder(C.List_empty, type$.legacy_int); + t1.set$_side_selected_helix_idxs(t2); + t1 = t2; + } else + t1 = t2; + return t1; + }, + get$local_storage_design_choice: function() { + var t1 = this.get$_app_ui_state_storables$_$this(), + t2 = t1._local_storage_design_choice; + return t2 == null ? t1._local_storage_design_choice = new Y.LocalStorageDesignChoiceBuilder() : t2; + }, + get$_app_ui_state_storables$_$this: function() { + var t1, t2, t3, _this = this, + $$v = _this._app_ui_state_storables$_$v; + if ($$v != null) { + t1 = $$v.select_mode_state; + t1.toString; + t2 = new N.SelectModeStateBuilder(); + t3 = type$.legacy_SetBuilder_legacy_SelectModeChoice._as(X.SetBuilder_SetBuilder([C.SelectModeChoice_strand, C.SelectModeChoice_staple, C.SelectModeChoice_scaffold], type$.legacy_SelectModeChoice)); + t2.get$_select_mode_state$_$this().set$_modes(t3); + t2._select_mode_state$_$v = t1; + _this._select_mode_state = t2; + t1 = $$v.edit_modes; + t1.toString; + t2 = t1.$ti; + t2._eval$1("_BuiltSet<1>")._as(t1); + _this.set$_edit_modes(new X.SetBuilder(t1._setFactory, t1._set, t1, t2._eval$1("SetBuilder<1>"))); + t2 = $$v.side_selected_helix_idxs; + t2.toString; + t1 = t2.$ti; + t1._eval$1("_BuiltSet<1>")._as(t2); + _this.set$_side_selected_helix_idxs(new X.SetBuilder(t2._setFactory, t2._set, t2, t1._eval$1("SetBuilder<1>"))); + _this._autofit = $$v.autofit; + _this._show_dna = $$v.show_dna; + _this._show_strand_names = $$v.show_strand_names; + _this._show_strand_labels = $$v.show_strand_labels; + _this._show_domain_names = $$v.show_domain_names; + _this._show_domain_labels = $$v.show_domain_labels; + _this._base_pair_display_type = $$v.base_pair_display_type; + _this._show_base_pair_lines = $$v.show_base_pair_lines; + _this._show_base_pair_lines_with_mismatches = $$v.show_base_pair_lines_with_mismatches; + _this._strand_name_font_size = $$v.strand_name_font_size; + _this._strand_label_font_size = $$v.strand_label_font_size; + _this._domain_name_font_size = $$v.domain_name_font_size; + _this._domain_label_font_size = $$v.domain_label_font_size; + _this._show_modifications = $$v.show_modifications; + _this._show_mismatches = $$v.show_mismatches; + _this._show_domain_name_mismatches = $$v.show_domain_name_mismatches; + _this._show_unpaired_insertion_deletions = $$v.show_unpaired_insertion_deletions; + _this._show_oxview = $$v.show_oxview; + _this._show_slice_bar = $$v.show_slice_bar; + _this._show_mouseover_data = $$v.show_mouseover_data; + _this._only_display_selected_helices = $$v.only_display_selected_helices; + _this._modification_font_size = $$v.modification_font_size; + _this._major_tick_offset_font_size = $$v.major_tick_offset_font_size; + _this._major_tick_width_font_size = $$v.major_tick_width_font_size; + _this._zoom_speed = $$v.zoom_speed; + _this._modification_display_connector = $$v.modification_display_connector; + _this._strand_paste_keep_color = $$v.strand_paste_keep_color; + _this._display_base_offsets_of_major_ticks = $$v.display_base_offsets_of_major_ticks; + _this._display_base_offsets_of_major_ticks_only_first_helix = $$v.display_base_offsets_of_major_ticks_only_first_helix; + _this._display_major_tick_widths = $$v.display_major_tick_widths; + _this._display_major_tick_widths_all_helices = $$v.display_major_tick_widths_all_helices; + _this._loaded_filename = $$v.loaded_filename; + _this._loaded_script_filename = $$v.loaded_script_filename; + _this._invert_y = $$v.invert_y; + _this._dynamically_update_helices = $$v.dynamically_update_helices; + _this._warn_on_exit_if_unsaved = $$v.warn_on_exit_if_unsaved; + _this._show_helix_circles_main_view = $$v.show_helix_circles_main_view; + _this._show_helix_components_main_view = $$v.show_helix_components_main_view; + _this._show_edit_mode_menu = $$v.show_edit_mode_menu; + _this._show_grid_coordinates_side_view = $$v.show_grid_coordinates_side_view; + _this._show_helices_axis_arrows = $$v.show_helices_axis_arrows; + _this._show_loopout_extension_length = $$v.show_loopout_extension_length; + _this._default_crossover_type_scaffold_for_setting_helix_rolls = $$v.default_crossover_type_scaffold_for_setting_helix_rolls; + _this._default_crossover_type_staple_for_setting_helix_rolls = $$v.default_crossover_type_staple_for_setting_helix_rolls; + t1 = $$v.local_storage_design_choice; + t2 = new Y.LocalStorageDesignChoiceBuilder(); + t2._local_storage_design_choice$_$v = t1; + _this._local_storage_design_choice = t2; + _this._clear_helix_selection_when_loading_new_design = $$v.clear_helix_selection_when_loading_new_design; + _this._displayed_group_name = $$v.displayed_group_name; + _this._slice_bar_offset = $$v.slice_bar_offset; + _this._disable_png_caching_dna_sequences = $$v.disable_png_caching_dna_sequences; + _this._retain_strand_color_on_selection = $$v.retain_strand_color_on_selection; + _this._display_reverse_DNA_right_side_up = $$v.display_reverse_DNA_right_side_up; + _this._selection_box_intersection = $$v.selection_box_intersection; + _this._export_svg_text_separately = $$v.export_svg_text_separately; + _this._ox_export_only_selected_strands = $$v.ox_export_only_selected_strands; + _this._app_ui_state_storables$_$v = null; + } + return _this; + }, + build$0: function() { + var _$failedField, e, _$result0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19, t20, t21, t22, t23, t24, t25, t26, t27, t28, t29, t30, t31, t32, t33, t34, t35, t36, t37, t38, t39, t40, t41, t42, t43, t44, t45, t46, t47, t48, t49, t50, t51, t52, t53, t54, t55, t56, t57, exception, _this = this, + _s19_ = "AppUIStateStorables", + _s17_ = "select_mode_state", + _s24_ = "side_selected_helix_idxs", + _$result = null; + try { + _$result0 = _this._app_ui_state_storables$_$v; + if (_$result0 == null) { + t1 = _this.get$select_mode_state().build$0(); + t2 = _this.get$edit_modes().build$0(); + t3 = _this.get$side_selected_helix_idxs().build$0(); + t4 = _this.get$_app_ui_state_storables$_$this()._autofit; + if (t4 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s19_, "autofit")); + t5 = _this.get$_app_ui_state_storables$_$this()._show_dna; + if (t5 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s19_, "show_dna")); + t6 = _this.get$_app_ui_state_storables$_$this()._show_strand_names; + if (t6 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s19_, "show_strand_names")); + t7 = _this.get$_app_ui_state_storables$_$this()._show_strand_labels; + if (t7 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s19_, "show_strand_labels")); + t8 = _this.get$_app_ui_state_storables$_$this()._show_domain_names; + if (t8 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s19_, "show_domain_names")); + t9 = _this.get$_app_ui_state_storables$_$this()._show_domain_labels; + if (t9 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s19_, "show_domain_labels")); + t10 = _this.get$_app_ui_state_storables$_$this()._base_pair_display_type; + if (t10 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s19_, "base_pair_display_type")); + t11 = _this.get$_app_ui_state_storables$_$this()._show_base_pair_lines; + if (t11 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s19_, "show_base_pair_lines")); + t12 = _this.get$_app_ui_state_storables$_$this()._show_base_pair_lines_with_mismatches; + if (t12 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s19_, "show_base_pair_lines_with_mismatches")); + t13 = _this.get$_app_ui_state_storables$_$this()._strand_name_font_size; + if (t13 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s19_, "strand_name_font_size")); + t14 = _this.get$_app_ui_state_storables$_$this()._strand_label_font_size; + if (t14 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s19_, "strand_label_font_size")); + t15 = _this.get$_app_ui_state_storables$_$this()._domain_name_font_size; + if (t15 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s19_, "domain_name_font_size")); + t16 = _this.get$_app_ui_state_storables$_$this()._domain_label_font_size; + if (t16 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s19_, "domain_label_font_size")); + t17 = _this.get$_app_ui_state_storables$_$this()._show_modifications; + if (t17 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s19_, "show_modifications")); + t18 = _this.get$_app_ui_state_storables$_$this()._show_mismatches; + if (t18 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s19_, "show_mismatches")); + t19 = _this.get$_app_ui_state_storables$_$this()._show_domain_name_mismatches; + if (t19 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s19_, "show_domain_name_mismatches")); + t20 = _this.get$_app_ui_state_storables$_$this()._show_unpaired_insertion_deletions; + if (t20 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s19_, "show_unpaired_insertion_deletions")); + t21 = _this.get$_app_ui_state_storables$_$this()._show_oxview; + if (t21 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s19_, "show_oxview")); + t22 = _this.get$_app_ui_state_storables$_$this()._show_slice_bar; + if (t22 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s19_, "show_slice_bar")); + t23 = _this.get$_app_ui_state_storables$_$this()._show_mouseover_data; + if (t23 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s19_, "show_mouseover_data")); + t24 = _this.get$_app_ui_state_storables$_$this()._only_display_selected_helices; + if (t24 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s19_, "only_display_selected_helices")); + t25 = _this.get$_app_ui_state_storables$_$this()._modification_font_size; + if (t25 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s19_, "modification_font_size")); + t26 = _this.get$_app_ui_state_storables$_$this()._major_tick_offset_font_size; + if (t26 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s19_, "major_tick_offset_font_size")); + t27 = _this.get$_app_ui_state_storables$_$this()._major_tick_width_font_size; + if (t27 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s19_, "major_tick_width_font_size")); + t28 = _this.get$_app_ui_state_storables$_$this()._zoom_speed; + if (t28 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s19_, "zoom_speed")); + t29 = _this.get$_app_ui_state_storables$_$this()._modification_display_connector; + if (t29 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s19_, "modification_display_connector")); + t30 = _this.get$_app_ui_state_storables$_$this()._strand_paste_keep_color; + if (t30 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s19_, "strand_paste_keep_color")); + t31 = _this.get$_app_ui_state_storables$_$this()._display_base_offsets_of_major_ticks; + if (t31 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s19_, "display_base_offsets_of_major_ticks")); + t32 = _this.get$_app_ui_state_storables$_$this()._display_base_offsets_of_major_ticks_only_first_helix; + if (t32 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s19_, string$.displa)); + t33 = _this.get$_app_ui_state_storables$_$this()._display_major_tick_widths; + if (t33 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s19_, "display_major_tick_widths")); + t34 = _this.get$_app_ui_state_storables$_$this()._display_major_tick_widths_all_helices; + if (t34 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s19_, "display_major_tick_widths_all_helices")); + t35 = _this.get$_app_ui_state_storables$_$this()._loaded_filename; + if (t35 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s19_, "loaded_filename")); + t36 = _this.get$_app_ui_state_storables$_$this()._loaded_script_filename; + if (t36 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s19_, "loaded_script_filename")); + t37 = _this.get$_app_ui_state_storables$_$this()._invert_y; + if (t37 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s19_, "invert_y")); + t38 = _this.get$_app_ui_state_storables$_$this()._dynamically_update_helices; + if (t38 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s19_, "dynamically_update_helices")); + t39 = _this.get$_app_ui_state_storables$_$this()._warn_on_exit_if_unsaved; + if (t39 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s19_, "warn_on_exit_if_unsaved")); + t40 = _this.get$_app_ui_state_storables$_$this()._show_helix_circles_main_view; + if (t40 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s19_, "show_helix_circles_main_view")); + t41 = _this.get$_app_ui_state_storables$_$this()._show_helix_components_main_view; + if (t41 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s19_, "show_helix_components_main_view")); + t42 = _this.get$_app_ui_state_storables$_$this()._show_edit_mode_menu; + if (t42 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s19_, "show_edit_mode_menu")); + t43 = _this.get$_app_ui_state_storables$_$this()._show_grid_coordinates_side_view; + if (t43 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s19_, "show_grid_coordinates_side_view")); + t44 = _this.get$_app_ui_state_storables$_$this()._show_helices_axis_arrows; + if (t44 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s19_, "show_helices_axis_arrows")); + t45 = _this.get$_app_ui_state_storables$_$this()._show_loopout_extension_length; + if (t45 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s19_, "show_loopout_extension_length")); + t46 = _this.get$_app_ui_state_storables$_$this()._default_crossover_type_scaffold_for_setting_helix_rolls; + if (t46 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s19_, string$.defaulc)); + t47 = _this.get$_app_ui_state_storables$_$this()._default_crossover_type_staple_for_setting_helix_rolls; + if (t47 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s19_, string$.default)); + t48 = _this.get$local_storage_design_choice().build$0(); + t49 = _this.get$_app_ui_state_storables$_$this()._clear_helix_selection_when_loading_new_design; + if (t49 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s19_, string$.clear_)); + t50 = _this.get$_app_ui_state_storables$_$this()._displayed_group_name; + if (t50 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s19_, "displayed_group_name")); + t51 = _this.get$_app_ui_state_storables$_$this()._slice_bar_offset; + t52 = _this.get$_app_ui_state_storables$_$this()._disable_png_caching_dna_sequences; + if (t52 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s19_, "disable_png_caching_dna_sequences")); + t53 = _this.get$_app_ui_state_storables$_$this()._retain_strand_color_on_selection; + if (t53 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s19_, "retain_strand_color_on_selection")); + t54 = _this.get$_app_ui_state_storables$_$this()._display_reverse_DNA_right_side_up; + if (t54 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s19_, "display_reverse_DNA_right_side_up")); + t55 = _this.get$_app_ui_state_storables$_$this()._selection_box_intersection; + if (t55 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s19_, "selection_box_intersection")); + t56 = _this.get$_app_ui_state_storables$_$this()._export_svg_text_separately; + if (t56 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s19_, "export_svg_text_separately")); + t57 = _this.get$_app_ui_state_storables$_$this()._ox_export_only_selected_strands; + if (t57 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s19_, "ox_export_only_selected_strands")); + _$result0 = new B._$AppUIStateStorables(t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19, t20, t21, t22, t23, t24, t25, t26, t27, t28, t29, t30, t31, t32, t33, t34, t35, t36, t37, t38, t39, t40, t41, t42, t43, t44, t45, t46, t47, t48, t49, t50, t51, t52, t53, t54, t55, t56, t57); + if (t1 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s19_, _s17_)); + if (t2 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s19_, "edit_modes")); + if (t3 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s19_, _s24_)); + } + _$result = _$result0; + } catch (exception) { + H.unwrapException(exception); + _$failedField = null; + try { + _$failedField = _s17_; + _this.get$select_mode_state().build$0(); + _$failedField = "edit_modes"; + _this.get$edit_modes().build$0(); + _$failedField = _s24_; + _this.get$side_selected_helix_idxs().build$0(); + _$failedField = "local_storage_design_choice"; + _this.get$local_storage_design_choice().build$0(); + } catch (exception) { + e = H.unwrapException(exception); + t1 = Y.BuiltValueNestedFieldError$(_s19_, _$failedField, J.toString$0$(e)); + throw H.wrapException(t1); + } + throw exception; + } + t1 = type$.legacy_AppUIStateStorables._as(_$result); + if (t1 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + _this._app_ui_state_storables$_$v = t1; + return _$result; + }, + set$_edit_modes: function(_edit_modes) { + this._edit_modes = type$.legacy_SetBuilder_legacy_EditModeChoice._as(_edit_modes); + }, + set$_side_selected_helix_idxs: function(_side_selected_helix_idxs) { + this._side_selected_helix_idxs = type$.legacy_SetBuilder_legacy_int._as(_side_selected_helix_idxs); + } + }; + B._AppUIStateStorables_Object_BuiltJsonSerializable.prototype = {}; + L.BasePairDisplayType.prototype = { + toIndex$0: function() { + switch (this) { + case C.BasePairDisplayType_none: + return 0; + case C.BasePairDisplayType_lines: + return 1; + case C.BasePairDisplayType_rectangle: + return 2; + } + return 0; + }, + display_name$0: function() { + switch (this) { + case C.BasePairDisplayType_none: + return "none"; + case C.BasePairDisplayType_lines: + return "lines"; + case C.BasePairDisplayType_rectangle: + return "rectangle"; + } + return this.super$EnumClass$toString(0); + }, + toString$0: function(_) { + return this.display_name$0(); + } + }; + L._$BasePairDisplayTypeSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + return type$.legacy_BasePairDisplayType._as(object).name; + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + return L._$valueOf1(H._asStringS(serialized)); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isPrimitiveSerializer: 1, + get$types: function() { + return C.List_Type_BasePairDisplayType_hjk; + }, + get$wireName: function() { + return "BasePairDisplayType"; + } + }; + T.BrowserClipboard.prototype = { + read$0: function(_) { + var $async$goto = 0, + $async$completer = P._makeAsyncAwaitCompleter(type$.legacy_String), + $async$returnValue, $async$handler = 2, $async$currentError, $async$next = [], text, msg, msg0, e, msg1, exception, t1, $async$exception; + var $async$read$0 = P._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { + if ($async$errorCode === 1) { + $async$currentError = $async$result; + $async$goto = $async$handler; + } + while (true) + switch ($async$goto) { + case 0: + // Function start + $async$handler = 4; + $async$goto = 7; + return P._asyncAwait(P.promiseToFuture(window.navigator.clipboard.readText(), type$.String), $async$read$0); + case 7: + // returning from await. + text = $async$result; + $async$returnValue = text; + // goto return + $async$goto = 1; + break; + $async$handler = 2; + // goto after finally + $async$goto = 6; + break; + case 4: + // catch + $async$handler = 3; + $async$exception = $async$currentError; + t1 = H.unwrapException($async$exception); + if (type$.legacy_NoSuchMethodError._is(t1)) { + t1 = $._browser; + if (t1 == null) { + $.Browser_navigator = new G._HtmlNavigator(); + t1 = $._browser = L.Browser_getCurrentBrowser(); + } + t1.toString; + if (t1 === $.$get$firefox()) { + msg = 'It looks like you are using Firefox and want to paste from the clipboard.\nUnfortunately you need to make a change to permissions before that will be possible.\n 1. Open a new tab and enter about:config in the address bar.\n 2. Click "Accept the Risk and Continue".\n 3. Search dom.events.testing.asyncClipboard and set it to true.\n 4. Refresh the scadnano tab. \nThen you will be able to paste from the clipboard.\n'; + C.Window_methods.alert$1(window, msg); + } else { + msg0 = "Unable to paste; unknown reason."; + C.Window_methods.alert$1(window, msg0); + } + $async$returnValue = ""; + // goto return + $async$goto = 1; + break; + } else { + e = t1; + msg1 = "error: " + H.S(e); + C.Window_methods.alert$1(window, "Unable to paste. Reason:\n" + H.S(msg1)); + $async$returnValue = ""; + // goto return + $async$goto = 1; + break; + } + // goto after finally + $async$goto = 6; + break; + case 3: + // uncaught + // goto rethrow + $async$goto = 2; + break; + case 6: + // after finally + case 1: + // return + return P._asyncReturn($async$returnValue, $async$completer); + case 2: + // rethrow + return P._asyncRethrow($async$currentError, $async$completer); + } + }); + return P._asyncStartSync($async$read$0, $async$completer); + } + }; + B.ContextMenu.prototype = {}; + B.ContextMenuItem.prototype = {}; + B.ContextMenuItem_ContextMenuItem_closure.prototype = { + call$1: function(b) { + var t1, _this = this; + b.get$_context_menu$_$this()._context_menu$_title = _this.title; + t1 = type$.legacy_void_Function._as(_this.on_click); + b.get$_context_menu$_$this().set$_on_click(t1); + b.get$_context_menu$_$this()._context_menu$_tooltip = _this.tooltip; + t1 = _this.nested; + t1 = t1 == null ? null : D.ListBuilder_ListBuilder(t1, t1.$ti._precomputed1); + type$.legacy_ListBuilder_legacy_ContextMenuItem._as(t1); + b.get$_context_menu$_$this().set$_nested(t1); + b.get$_context_menu$_$this()._disabled = _this.disabled; + return b; + }, + $signature: 340 + }; + B._$ContextMenuSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + type$.legacy_ContextMenu._as(object); + return H.setRuntimeTypeInfo(["items", serializers.serialize$2$specifiedType(object.items, C.FullType_91n), "position", serializers.serialize$2$specifiedType(object.position, C.FullType_8eb)], type$.JSArray_legacy_Object); + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + var t1, t2, t3, t4, t5, key, value, t6, t7, t8, t9, t10, + result = new B.ContextMenuBuilder(), + iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + for (t1 = type$.legacy_Point_legacy_num, t2 = type$.legacy_BuiltList_legacy_Object, t3 = type$.legacy_ContextMenuItem, t4 = type$.List_legacy_ContextMenuItem, t5 = type$.ListBuilder_legacy_ContextMenuItem; iterator.moveNext$0();) { + key = H._asStringS(iterator.get$current(iterator)); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (key) { + case "items": + t6 = result.get$_context_menu$_$this(); + t7 = t6._items; + if (t7 == null) { + t7 = new D.ListBuilder(t5); + t7.set$__ListBuilder__list(t4._as(P.List_List$from(C.List_empty, true, t3))); + t7.set$_listOwner(null); + t6.set$_items(t7); + t6 = t7; + } else + t6 = t7; + t7 = t2._as(serializers.deserialize$2$specifiedType(value, C.FullType_91n)); + t8 = t6.$ti; + t9 = t8._eval$1("_BuiltList<1>"); + t10 = t8._eval$1("List<1>"); + if (t9._is(t7)) { + t9._as(t7); + t6.set$__ListBuilder__list(t10._as(t7._list)); + t6.set$_listOwner(t7); + } else { + t6.set$__ListBuilder__list(t10._as(P.List_List$from(t7, true, t8._precomputed1))); + t6.set$_listOwner(null); + } + break; + case "position": + t6 = t1._as(t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_8eb))); + result.get$_context_menu$_$this().set$_context_menu$_position(0, t6); + break; + } + } + return result.build$0(); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_IAF; + }, + get$wireName: function() { + return "ContextMenu"; + } + }; + B._$ContextMenuItemSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + var result, value; + type$.legacy_ContextMenuItem._as(object); + result = H.setRuntimeTypeInfo(["title", serializers.serialize$2$specifiedType(object.title, C.FullType_h8g), "disabled", serializers.serialize$2$specifiedType(object.disabled, C.FullType_MtR)], type$.JSArray_legacy_Object); + value = object.tooltip; + if (value != null) { + C.JSArray_methods.add$1(result, "tooltip"); + C.JSArray_methods.add$1(result, serializers.serialize$2$specifiedType(value, C.FullType_h8g)); + } + value = object.nested; + if (value != null) { + C.JSArray_methods.add$1(result, "nested"); + C.JSArray_methods.add$1(result, serializers.serialize$2$specifiedType(value, C.FullType_91n)); + } + return result; + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + var t1, t2, t3, t4, key, value, t5, t6, t7, t8, t9, + result = new B.ContextMenuItemBuilder(), + iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + for (t1 = type$.legacy_BuiltList_legacy_Object, t2 = type$.legacy_ContextMenuItem, t3 = type$.List_legacy_ContextMenuItem, t4 = type$.ListBuilder_legacy_ContextMenuItem; iterator.moveNext$0();) { + key = H._asStringS(iterator.get$current(iterator)); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (key) { + case "title": + t5 = H._asStringS(serializers.deserialize$2$specifiedType(value, C.FullType_h8g)); + result.get$_context_menu$_$this()._context_menu$_title = t5; + break; + case "tooltip": + t5 = H._asStringS(serializers.deserialize$2$specifiedType(value, C.FullType_h8g)); + result.get$_context_menu$_$this()._context_menu$_tooltip = t5; + break; + case "nested": + t5 = result.get$_context_menu$_$this(); + t6 = t5._nested; + if (t6 == null) { + t6 = new D.ListBuilder(t4); + t6.set$__ListBuilder__list(t3._as(P.List_List$from(C.List_empty, true, t2))); + t6.set$_listOwner(null); + t5.set$_nested(t6); + t5 = t6; + } else + t5 = t6; + t6 = t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_91n)); + t7 = t5.$ti; + t8 = t7._eval$1("_BuiltList<1>"); + t9 = t7._eval$1("List<1>"); + if (t8._is(t6)) { + t8._as(t6); + t5.set$__ListBuilder__list(t9._as(t6._list)); + t5.set$_listOwner(t6); + } else { + t5.set$__ListBuilder__list(t9._as(P.List_List$from(t6, true, t7._precomputed1))); + t5.set$_listOwner(null); + } + break; + case "disabled": + t5 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); + result.get$_context_menu$_$this()._disabled = t5; + break; + } + } + return result.build$0(); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_pU4; + }, + get$wireName: function() { + return "ContextMenuItem"; + } + }; + B._$ContextMenu.prototype = { + $eq: function(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof B.ContextMenu && J.$eq$(this.items, other.items) && this.position.$eq(0, other.position); + }, + get$hashCode: function(_) { + var _this = this, + t1 = _this._context_menu$__hashCode; + if (t1 == null) { + t1 = _this.position; + t1 = _this._context_menu$__hashCode = Y.$jf(Y.$jc(Y.$jc(0, J.get$hashCode$(_this.items)), H.SystemHash_hash2(J.get$hashCode$(t1.x), J.get$hashCode$(t1.y)))); + } + return t1; + }, + toString$0: function(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("ContextMenu"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "items", this.items); + t2.add$2(t1, "position", this.position); + return t2.toString$0(t1); + } + }; + B.ContextMenuBuilder.prototype = { + get$items: function(_) { + var t1 = this.get$_context_menu$_$this(), + t2 = t1._items; + if (t2 == null) { + t2 = D.ListBuilder_ListBuilder(C.List_empty, type$.legacy_ContextMenuItem); + t1.set$_items(t2); + t1 = t2; + } else + t1 = t2; + return t1; + }, + get$_context_menu$_$this: function() { + var t1, _this = this, + $$v = _this._context_menu$_$v; + if ($$v != null) { + t1 = $$v.items; + t1.toString; + _this.set$_items(D.ListBuilder_ListBuilder(t1, t1.$ti._precomputed1)); + _this.set$_context_menu$_position(0, $$v.position); + _this._context_menu$_$v = null; + } + return _this; + }, + build$0: function() { + var _$failedField, e, _$result0, t1, t2, exception, _this = this, + _s11_ = "ContextMenu", + _$result = null; + try { + _$result0 = _this._context_menu$_$v; + if (_$result0 == null) { + t1 = _this.get$items(_this).build$0(); + t2 = _this.get$_context_menu$_$this()._context_menu$_position; + if (t2 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s11_, "position")); + _$result0 = B._$ContextMenu$_(t1, t2); + } + _$result = _$result0; + } catch (exception) { + H.unwrapException(exception); + _$failedField = null; + try { + _$failedField = "items"; + _this.get$items(_this).build$0(); + } catch (exception) { + e = H.unwrapException(exception); + t1 = Y.BuiltValueNestedFieldError$(_s11_, _$failedField, J.toString$0$(e)); + throw H.wrapException(t1); + } + throw exception; + } + t1 = type$.legacy_ContextMenu._as(_$result); + if (t1 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + _this._context_menu$_$v = t1; + return _$result; + }, + set$_items: function(_items) { + this._items = type$.legacy_ListBuilder_legacy_ContextMenuItem._as(_items); + }, + set$_context_menu$_position: function(_, _position) { + this._context_menu$_position = type$.legacy_Point_legacy_num._as(_position); + } + }; + B._$ContextMenuItem.prototype = { + $eq: function(_, other) { + var _this = this; + if (other == null) + return false; + if (other === _this) + return true; + return other instanceof B.ContextMenuItem && _this.title === other.title && _this.tooltip == other.tooltip && J.$eq$(_this.nested, other.nested) && _this.disabled === other.disabled; + }, + get$hashCode: function(_) { + var _this = this, + t1 = _this._context_menu$__hashCode; + return t1 == null ? _this._context_menu$__hashCode = Y.$jf(Y.$jc(Y.$jc(Y.$jc(Y.$jc(0, C.JSString_methods.get$hashCode(_this.title)), J.get$hashCode$(_this.tooltip)), J.get$hashCode$(_this.nested)), C.JSBool_methods.get$hashCode(_this.disabled))) : t1; + }, + toString$0: function(_) { + var _this = this, + t1 = $.$get$newBuiltValueToStringHelper().call$1("ContextMenuItem"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "title", _this.title); + t2.add$2(t1, "on_click", _this.on_click); + t2.add$2(t1, "tooltip", _this.tooltip); + t2.add$2(t1, "nested", _this.nested); + t2.add$2(t1, "disabled", _this.disabled); + return t2.toString$0(t1); + } + }; + B.ContextMenuItemBuilder.prototype = { + get$_context_menu$_$this: function() { + var t1, _this = this, + $$v = _this._context_menu$_$v; + if ($$v != null) { + _this._context_menu$_title = $$v.title; + _this.set$_on_click($$v.on_click); + _this._context_menu$_tooltip = $$v.tooltip; + t1 = $$v.nested; + _this.set$_nested(t1 == null ? null : D.ListBuilder_ListBuilder(t1, t1.$ti._precomputed1)); + _this._disabled = $$v.disabled; + _this._context_menu$_$v = null; + } + return _this; + }, + build$0: function() { + var _$failedField, e, _$result0, t1, t2, t3, t4, t5, exception, _this = this, + _s15_ = "ContextMenuItem", + _$result = null; + try { + _$result0 = _this._context_menu$_$v; + if (_$result0 == null) { + t1 = _this.get$_context_menu$_$this()._context_menu$_title; + if (t1 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s15_, "title")); + t2 = _this.get$_context_menu$_$this()._on_click; + t3 = _this.get$_context_menu$_$this()._context_menu$_tooltip; + t4 = _this._nested; + t4 = t4 == null ? null : t4.build$0(); + t5 = _this.get$_context_menu$_$this()._disabled; + if (t5 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s15_, "disabled")); + _$result0 = new B._$ContextMenuItem(t1, t2, t3, t4, t5); + } + _$result = _$result0; + } catch (exception) { + H.unwrapException(exception); + _$failedField = null; + try { + _$failedField = "nested"; + t1 = _this._nested; + if (t1 != null) + t1.build$0(); + } catch (exception) { + e = H.unwrapException(exception); + t1 = Y.BuiltValueNestedFieldError$(_s15_, _$failedField, J.toString$0$(e)); + throw H.wrapException(t1); + } + throw exception; + } + t1 = type$.legacy_ContextMenuItem._as(_$result); + if (t1 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + _this._context_menu$_$v = t1; + return _$result; + }, + set$_on_click: function(_on_click) { + this._on_click = type$.legacy_void_Function._as(_on_click); + }, + set$_nested: function(_nested) { + this._nested = type$.legacy_ListBuilder_legacy_ContextMenuItem._as(_nested); + } + }; + B._ContextMenu_Object_BuiltJsonSerializable.prototype = {}; + B._ContextMenuItem_Object_BuiltJsonSerializable.prototype = {}; + B.CopyInfo.prototype = { + create_strands_move$2$start_at_copied: function(state, start_at_copied) { + var _this = this, + design = state.design, + t1 = design.strands, + t2 = design.helices, + strands_move = U.StrandsMove_StrandsMove(t1, true, design.groups, t2, state.ui_state.storables.strand_paste_keep_color, _this.copied_address, _this.helices_view_order_inverse, _this.strands); + t1 = _this.translation != null; + if (t1 && _this.prev_paste_address != null && !start_at_copied) + strands_move = strands_move.rebuild$1(new B.CopyInfo_create_strands_move_closure(_this)); + else if (t1 && !start_at_copied) + strands_move = strands_move.rebuild$1(new B.CopyInfo_create_strands_move_closure0(_this)); + return strands_move; + } + }; + B.CopyInfo_CopyInfo_closure.prototype = { + call$1: function(b) { + var t1, t2, _this = this; + b.get$strands().replace$1(0, _this.strands); + t1 = b.get$copied_address(); + t1._address$_$v = _this.copied_address; + t1 = _this.translation; + if (t1 == null) + t1 = null; + else { + t2 = new Z.AddressDifferenceBuilder(); + t2._address$_$v = t1; + t1 = t2; + } + b.get$_copy_info$_$this()._translation = t1; + b.get$helices_view_order().replace$1(0, _this.helices_view_order); + b.get$helices_view_order_inverse().replace$1(0, _this.helices_view_order_inverse); + return b; + }, + $signature: 103 + }; + B.CopyInfo_create_strands_move_closure.prototype = { + call$1: function(b) { + var t1 = b.get$current_address(), + t2 = this.$this, + t3 = t2.translation; + t2 = t3 == null || t2.prev_paste_address == null ? null : t2.prev_paste_address.sum$3(t3, t2.helices_view_order, t2.helices_view_order_inverse); + if (t2 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + t1._address$_$v = t2; + return b; + }, + $signature: 35 + }; + B.CopyInfo_create_strands_move_closure0.prototype = { + call$1: function(b) { + var t1 = b.get$current_address(), + t2 = this.$this, + t3 = t2.translation; + t2 = t3 == null ? null : t2.copied_address.sum$3(t3, t2.helices_view_order, t2.helices_view_order_inverse); + if (t2 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + t1._address$_$v = t2; + return b; + }, + $signature: 35 + }; + B._$CopyInfoSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + var result, value; + type$.legacy_CopyInfo._as(object); + result = H.setRuntimeTypeInfo(["strands", serializers.serialize$2$specifiedType(object.strands, C.FullType_2No), "copied_address", serializers.serialize$2$specifiedType(object.copied_address, C.FullType_KlG), "helices_view_order", serializers.serialize$2$specifiedType(object.helices_view_order, C.FullType_4QF0), "helices_view_order_inverse", serializers.serialize$2$specifiedType(object.helices_view_order_inverse, C.FullType_oyU)], type$.JSArray_legacy_Object); + value = object.prev_paste_address; + if (value != null) { + C.JSArray_methods.add$1(result, "prev_paste_address"); + C.JSArray_methods.add$1(result, serializers.serialize$2$specifiedType(value, C.FullType_KlG)); + } + value = object.translation; + if (value != null) { + C.JSArray_methods.add$1(result, "translation"); + C.JSArray_methods.add$1(result, serializers.serialize$2$specifiedType(value, C.FullType_KlG0)); + } + return result; + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + var t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, key, value, t11, t12, t13, t14, t15, _null = null, _s5_ = "other", + result = new B.CopyInfoBuilder(), + iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + for (t1 = type$.MapBuilder_of_legacy_int_and_legacy_int, t2 = type$.legacy_BuiltList_legacy_Object, t3 = type$.legacy_int, t4 = type$.List_legacy_int, t5 = type$.ListBuilder_legacy_int, t6 = type$.legacy_AddressDifference, t7 = type$.legacy_Address, t8 = type$.legacy_Strand, t9 = type$.List_legacy_Strand, t10 = type$.ListBuilder_legacy_Strand; iterator.moveNext$0();) { + key = H._asStringS(iterator.get$current(iterator)); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (key) { + case "strands": + t11 = result.get$_copy_info$_$this(); + t12 = t11._copy_info$_strands; + if (t12 == null) { + t12 = new D.ListBuilder(t10); + t12.set$__ListBuilder__list(t9._as(P.List_List$from(C.List_empty, true, t8))); + t12.set$_listOwner(_null); + t11.set$_copy_info$_strands(t12); + t11 = t12; + } else + t11 = t12; + t12 = t2._as(serializers.deserialize$2$specifiedType(value, C.FullType_2No)); + t13 = t11.$ti; + t14 = t13._eval$1("_BuiltList<1>"); + t15 = t13._eval$1("List<1>"); + if (t14._is(t12)) { + t14._as(t12); + t11.set$__ListBuilder__list(t15._as(t12._list)); + t11.set$_listOwner(t12); + } else { + t11.set$__ListBuilder__list(t15._as(P.List_List$from(t12, true, t13._precomputed1))); + t11.set$_listOwner(_null); + } + break; + case "copied_address": + t11 = result.get$_copy_info$_$this(); + t12 = t11._copied_address; + t11 = t12 == null ? t11._copied_address = new Z.AddressBuilder() : t12; + t12 = t7._as(serializers.deserialize$2$specifiedType(value, C.FullType_KlG)); + if (t12 == null) + H.throwExpression(P.ArgumentError$notNull(_s5_)); + t11._address$_$v = t12; + break; + case "prev_paste_address": + t11 = result.get$_copy_info$_$this(); + t12 = t11._prev_paste_address; + t11 = t12 == null ? t11._prev_paste_address = new Z.AddressBuilder() : t12; + t12 = t7._as(serializers.deserialize$2$specifiedType(value, C.FullType_KlG)); + if (t12 == null) + H.throwExpression(P.ArgumentError$notNull(_s5_)); + t11._address$_$v = t12; + break; + case "translation": + t11 = result.get$_copy_info$_$this(); + t12 = t11._translation; + t11 = t12 == null ? t11._translation = new Z.AddressDifferenceBuilder() : t12; + t12 = t6._as(serializers.deserialize$2$specifiedType(value, C.FullType_KlG0)); + if (t12 == null) + H.throwExpression(P.ArgumentError$notNull(_s5_)); + t11._address$_$v = t12; + break; + case "helices_view_order": + t11 = result.get$_copy_info$_$this(); + t12 = t11._helices_view_order; + if (t12 == null) { + t12 = new D.ListBuilder(t5); + t12.set$__ListBuilder__list(t4._as(P.List_List$from(C.List_empty, true, t3))); + t12.set$_listOwner(_null); + t11.set$_helices_view_order(t12); + t11 = t12; + } else + t11 = t12; + t12 = t2._as(serializers.deserialize$2$specifiedType(value, C.FullType_4QF0)); + t13 = t11.$ti; + t14 = t13._eval$1("_BuiltList<1>"); + t15 = t13._eval$1("List<1>"); + if (t14._is(t12)) { + t14._as(t12); + t11.set$__ListBuilder__list(t15._as(t12._list)); + t11.set$_listOwner(t12); + } else { + t11.set$__ListBuilder__list(t15._as(P.List_List$from(t12, true, t13._precomputed1))); + t11.set$_listOwner(_null); + } + break; + case "helices_view_order_inverse": + t11 = result.get$_copy_info$_$this(); + t12 = t11._helices_view_order_inverse; + if (t12 == null) { + t12 = new A.MapBuilder(_null, $, _null, t1); + t12.replace$1(0, C.Map_empty); + t11.set$_helices_view_order_inverse(t12); + t11 = t12; + } else + t11 = t12; + t11.replace$1(0, serializers.deserialize$2$specifiedType(value, C.FullType_oyU)); + break; + } + } + return result.build$0(); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_LU9; + }, + get$wireName: function() { + return "CopyInfo"; + } + }; + B._$CopyInfo.prototype = { + rebuild$1: function(updates) { + var t1; + type$.legacy_void_Function_legacy_CopyInfoBuilder._as(updates); + t1 = new B.CopyInfoBuilder(); + t1._copy_info$_$v = this; + updates.call$1(t1); + return t1.build$0(); + }, + $eq: function(_, other) { + var _this = this; + if (other == null) + return false; + if (other === _this) + return true; + return other instanceof B.CopyInfo && J.$eq$(_this.strands, other.strands) && _this.copied_address.$eq(0, other.copied_address) && J.$eq$(_this.prev_paste_address, other.prev_paste_address) && J.$eq$(_this.translation, other.translation) && J.$eq$(_this.helices_view_order, other.helices_view_order) && J.$eq$(_this.helices_view_order_inverse, other.helices_view_order_inverse); + }, + get$hashCode: function(_) { + var _this = this, + t1 = _this._copy_info$__hashCode; + if (t1 == null) { + t1 = _this.copied_address; + t1 = _this._copy_info$__hashCode = Y.$jf(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(0, J.get$hashCode$(_this.strands)), t1.get$hashCode(t1)), J.get$hashCode$(_this.prev_paste_address)), J.get$hashCode$(_this.translation)), J.get$hashCode$(_this.helices_view_order)), J.get$hashCode$(_this.helices_view_order_inverse))); + } + return t1; + }, + toString$0: function(_) { + var _this = this, + t1 = $.$get$newBuiltValueToStringHelper().call$1("CopyInfo"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "strands", _this.strands); + t2.add$2(t1, "copied_address", _this.copied_address); + t2.add$2(t1, "prev_paste_address", _this.prev_paste_address); + t2.add$2(t1, "translation", _this.translation); + t2.add$2(t1, "helices_view_order", _this.helices_view_order); + t2.add$2(t1, "helices_view_order_inverse", _this.helices_view_order_inverse); + return t2.toString$0(t1); + } + }; + B.CopyInfoBuilder.prototype = { + get$strands: function() { + var t1 = this.get$_copy_info$_$this(), + t2 = t1._copy_info$_strands; + if (t2 == null) { + t2 = D.ListBuilder_ListBuilder(C.List_empty, type$.legacy_Strand); + t1.set$_copy_info$_strands(t2); + t1 = t2; + } else + t1 = t2; + return t1; + }, + get$copied_address: function() { + var t1 = this.get$_copy_info$_$this(), + t2 = t1._copied_address; + return t2 == null ? t1._copied_address = new Z.AddressBuilder() : t2; + }, + get$prev_paste_address: function() { + var t1 = this.get$_copy_info$_$this(), + t2 = t1._prev_paste_address; + return t2 == null ? t1._prev_paste_address = new Z.AddressBuilder() : t2; + }, + get$helices_view_order: function() { + var t1 = this.get$_copy_info$_$this(), + t2 = t1._helices_view_order; + if (t2 == null) { + t2 = D.ListBuilder_ListBuilder(C.List_empty, type$.legacy_int); + t1.set$_helices_view_order(t2); + t1 = t2; + } else + t1 = t2; + return t1; + }, + get$helices_view_order_inverse: function() { + var t1 = this.get$_copy_info$_$this(), + t2 = t1._helices_view_order_inverse; + if (t2 == null) { + t2 = type$.legacy_int; + t2 = A.MapBuilder_MapBuilder(C.Map_empty, t2, t2); + t1.set$_helices_view_order_inverse(t2); + t1 = t2; + } else + t1 = t2; + return t1; + }, + get$_copy_info$_$this: function() { + var t1, t2, _this = this, + $$v = _this._copy_info$_$v; + if ($$v != null) { + t1 = $$v.strands; + t1.toString; + _this.set$_copy_info$_strands(D.ListBuilder_ListBuilder(t1, t1.$ti._precomputed1)); + t1 = $$v.copied_address; + t2 = new Z.AddressBuilder(); + t2._address$_$v = t1; + _this._copied_address = t2; + t1 = $$v.prev_paste_address; + if (t1 == null) + t1 = null; + else { + t2 = new Z.AddressBuilder(); + t2._address$_$v = t1; + t1 = t2; + } + _this._prev_paste_address = t1; + t1 = $$v.translation; + if (t1 == null) + t1 = null; + else { + t2 = new Z.AddressDifferenceBuilder(); + t2._address$_$v = t1; + t1 = t2; + } + _this._translation = t1; + t1 = $$v.helices_view_order; + t1.toString; + _this.set$_helices_view_order(D.ListBuilder_ListBuilder(t1, t1.$ti._precomputed1)); + t1 = $$v.helices_view_order_inverse; + t1.toString; + t2 = t1.$ti; + t2._eval$1("_BuiltMap<1,2>")._as(t1); + _this.set$_helices_view_order_inverse(new A.MapBuilder(t1._mapFactory, t1._map$_map, t1, t2._eval$1("@<1>")._bind$1(t2._rest[1])._eval$1("MapBuilder<1,2>"))); + _this._copy_info$_$v = null; + } + return _this; + }, + build$0: function() { + var _$failedField, e, _$result0, t1, t2, t3, t4, t5, t6, exception, _this = this, + _s8_ = "CopyInfo", + _s18_ = "helices_view_order", + _s26_ = "helices_view_order_inverse", + _$result = null; + try { + _$result0 = _this._copy_info$_$v; + if (_$result0 == null) { + t1 = _this.get$strands().build$0(); + t2 = _this.get$copied_address().build$0(); + t3 = _this._prev_paste_address; + t3 = t3 == null ? null : t3.build$0(); + t4 = _this._translation; + t4 = t4 == null ? null : t4.build$0(); + t5 = _this.get$helices_view_order().build$0(); + t6 = _this.get$helices_view_order_inverse().build$0(); + _$result0 = new B._$CopyInfo(t1, t2, t3, t4, t5, t6); + if (t1 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s8_, "strands")); + if (t5 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s8_, _s18_)); + if (t6 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s8_, _s26_)); + } + _$result = _$result0; + } catch (exception) { + H.unwrapException(exception); + _$failedField = null; + try { + _$failedField = "strands"; + _this.get$strands().build$0(); + _$failedField = "copied_address"; + _this.get$copied_address().build$0(); + _$failedField = "prev_paste_address"; + t1 = _this._prev_paste_address; + if (t1 != null) + t1.build$0(); + _$failedField = "translation"; + t1 = _this._translation; + if (t1 != null) + t1.build$0(); + _$failedField = _s18_; + _this.get$helices_view_order().build$0(); + _$failedField = _s26_; + _this.get$helices_view_order_inverse().build$0(); + } catch (exception) { + e = H.unwrapException(exception); + t1 = Y.BuiltValueNestedFieldError$(_s8_, _$failedField, J.toString$0$(e)); + throw H.wrapException(t1); + } + throw exception; + } + t1 = type$.legacy_CopyInfo._as(_$result); + if (t1 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + _this._copy_info$_$v = t1; + return _$result; + }, + set$_copy_info$_strands: function(_strands) { + this._copy_info$_strands = type$.legacy_ListBuilder_legacy_Strand._as(_strands); + }, + set$_helices_view_order: function(_helices_view_order) { + this._helices_view_order = type$.legacy_ListBuilder_legacy_int._as(_helices_view_order); + }, + set$_helices_view_order_inverse: function(_helices_view_order_inverse) { + this._helices_view_order_inverse = type$.legacy_MapBuilder_of_legacy_int_and_legacy_int._as(_helices_view_order_inverse); + } + }; + B._CopyInfo_Object_BuiltJsonSerializable.prototype = {}; + T.Crossover.prototype = { + get$select_mode: function() { + return C.SelectModeChoice_crossover; + }, + get$id: function(_) { + return "crossover-" + this.prev_domain_idx + "-" + this.next_domain_idx + "-" + H.S(this.strand_id); + }, + $isLinker: 1, + $isSelectable: 1 + }; + T.Crossover_Crossover_closure.prototype = { + call$1: function(b) { + var _this = this; + b.get$_crossover$_$this()._crossover$_prev_domain_idx = _this.prev_domain_idx; + b.get$_crossover$_$this()._next_domain_idx = _this.next_domain_idx; + b.get$_crossover$_$this()._crossover$_strand_id = _this.strand_id; + b.get$_crossover$_$this()._crossover$_is_scaffold = _this.is_scaffold; + return b; + }, + $signature: 341 + }; + T._$CrossoverSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + var result, value; + type$.legacy_Crossover._as(object); + result = H.setRuntimeTypeInfo(["prev_domain_idx", serializers.serialize$2$specifiedType(object.prev_domain_idx, C.FullType_kjq), "next_domain_idx", serializers.serialize$2$specifiedType(object.next_domain_idx, C.FullType_kjq), "is_scaffold", serializers.serialize$2$specifiedType(object.is_scaffold, C.FullType_MtR)], type$.JSArray_legacy_Object); + value = object.strand_id; + if (value != null) { + C.JSArray_methods.add$1(result, "strand_id"); + C.JSArray_methods.add$1(result, serializers.serialize$2$specifiedType(value, C.FullType_h8g)); + } + return result; + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + var key, value, t1, + result = new T.CrossoverBuilder(), + iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + for (; iterator.moveNext$0();) { + key = H._asStringS(iterator.get$current(iterator)); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (key) { + case "prev_domain_idx": + t1 = H._asIntS(serializers.deserialize$2$specifiedType(value, C.FullType_kjq)); + result.get$_crossover$_$this()._crossover$_prev_domain_idx = t1; + break; + case "next_domain_idx": + t1 = H._asIntS(serializers.deserialize$2$specifiedType(value, C.FullType_kjq)); + result.get$_crossover$_$this()._next_domain_idx = t1; + break; + case "is_scaffold": + t1 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); + result.get$_crossover$_$this()._crossover$_is_scaffold = t1; + break; + case "strand_id": + t1 = H._asStringS(serializers.deserialize$2$specifiedType(value, C.FullType_h8g)); + result.get$_crossover$_$this()._crossover$_strand_id = t1; + break; + } + } + return result.build$0(); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_go8; + }, + get$wireName: function() { + return "Crossover"; + } + }; + T._$Crossover.prototype = { + get$select_mode: function() { + var t1 = this._crossover$__select_mode; + return t1 == null ? this._crossover$__select_mode = T.Crossover.prototype.get$select_mode.call(this) : t1; + }, + get$id: function(_) { + var _this = this, + t1 = _this._crossover$__id; + return t1 == null ? _this._crossover$__id = T.Crossover.prototype.get$id.call(_this, _this) : t1; + }, + $eq: function(_, other) { + var _this = this; + if (other == null) + return false; + if (other === _this) + return true; + return other instanceof T.Crossover && _this.prev_domain_idx === other.prev_domain_idx && _this.next_domain_idx === other.next_domain_idx && _this.is_scaffold === other.is_scaffold && _this.strand_id == other.strand_id; + }, + get$hashCode: function(_) { + var _this = this, + t1 = _this._crossover$__hashCode; + return t1 == null ? _this._crossover$__hashCode = Y.$jf(Y.$jc(Y.$jc(Y.$jc(Y.$jc(0, C.JSInt_methods.get$hashCode(_this.prev_domain_idx)), C.JSInt_methods.get$hashCode(_this.next_domain_idx)), C.JSBool_methods.get$hashCode(_this.is_scaffold)), J.get$hashCode$(_this.strand_id))) : t1; + }, + toString$0: function(_) { + var _this = this, + t1 = $.$get$newBuiltValueToStringHelper().call$1("Crossover"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "prev_domain_idx", _this.prev_domain_idx); + t2.add$2(t1, "next_domain_idx", _this.next_domain_idx); + t2.add$2(t1, "is_scaffold", _this.is_scaffold); + t2.add$2(t1, "strand_id", _this.strand_id); + return t2.toString$0(t1); + }, + get$prev_domain_idx: function() { + return this.prev_domain_idx; + }, + get$next_domain_idx: function() { + return this.next_domain_idx; + }, + get$is_scaffold: function() { + return this.is_scaffold; + }, + get$strand_id: function() { + return this.strand_id; + } + }; + T.CrossoverBuilder.prototype = { + get$_crossover$_$this: function() { + var _this = this, + $$v = _this._crossover$_$v; + if ($$v != null) { + _this._crossover$_prev_domain_idx = $$v.prev_domain_idx; + _this._next_domain_idx = $$v.next_domain_idx; + _this._crossover$_is_scaffold = $$v.is_scaffold; + _this._crossover$_strand_id = $$v.strand_id; + _this._crossover$_$v = null; + } + return _this; + }, + build$0: function() { + var t1, t2, t3, _this = this, + _s9_ = "Crossover", + _$result = _this._crossover$_$v; + if (_$result == null) { + t1 = _this.get$_crossover$_$this()._crossover$_prev_domain_idx; + if (t1 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s9_, "prev_domain_idx")); + t2 = _this.get$_crossover$_$this()._next_domain_idx; + if (t2 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s9_, "next_domain_idx")); + t3 = _this.get$_crossover$_$this()._crossover$_is_scaffold; + if (t3 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s9_, "is_scaffold")); + _$result = new T._$Crossover(t1, t2, t3, _this.get$_crossover$_$this()._crossover$_strand_id); + } + return _this._crossover$_$v = _$result; + } + }; + T._Crossover_Object_SelectableMixin.prototype = {}; + T._Crossover_Object_SelectableMixin_BuiltJsonSerializable.prototype = {}; + N.Design.prototype = { + helices_in_group$1: function(group_name) { + var t1 = this.helices, + t2 = t1._map$_map, + t3 = H._instanceType(t1); + t3 = new S.CopyOnWriteMap(t1._mapFactory, t2, t3._eval$1("@<1>")._bind$1(t3._rest[1])._eval$1("CopyOnWriteMap<1,2>")); + t3.removeWhere$1(0, new N.Design_helices_in_group_closure(group_name)); + return A.BuiltMap_BuiltMap$from(t3, type$.legacy_int, type$.legacy_Helix); + }, + get$is_origami: function() { + for (var t1 = J.get$iterator$ax(this.strands._list); t1.moveNext$0();) + if (t1.get$current(t1).is_scaffold) + return true; + return false; + }, + group_names_of_strands$1: function(selected_strands) { + var t2, t3, t4, groups_of_selected_strands, t5, t6, + t1 = P.LinkedHashSet_LinkedHashSet$_empty(type$.legacy_int); + for (t2 = J.get$iterator$ax(type$.legacy_Iterable_legacy_Strand._as(selected_strands)); t2.moveNext$0();) { + t3 = t2.get$current(t2); + t4 = t3.__domains; + if (t4 == null) { + t4 = E.Strand.prototype.get$domains.call(t3); + t3.set$__domains(t4); + t3 = t4; + } else + t3 = t4; + t3 = J.get$iterator$ax(t3._list); + for (; t3.moveNext$0();) + t1.add$1(0, t3.get$current(t3).helix); + } + t2 = type$.legacy_String; + groups_of_selected_strands = P.LinkedHashSet_LinkedHashSet$_empty(t2); + for (t1 = P._LinkedHashSetIterator$(t1, t1._collection$_modifications, t1.$ti._precomputed1), t3 = this.helices; t1.moveNext$0();) { + t4 = t1._collection$_current; + t5 = t3._map$_map; + t6 = J.getInterceptor$asx(t5); + if (t6.$index(t5, t4) == null) + return null; + groups_of_selected_strands.add$1(0, t6.$index(t5, t4).group); + } + return X._BuiltSet$of(groups_of_selected_strands, t2); + }, + get$color_of_domain: function() { + var t3, t4, t5, + t1 = type$.legacy_Domain, + t2 = type$.legacy_Color, + map = P.LinkedHashMap_LinkedHashMap$_empty(t1, t2); + for (t3 = J.get$iterator$ax(this.strands._list); t3.moveNext$0();) { + t4 = t3.get$current(t3); + t5 = t4.__domains; + if (t5 == null) { + t5 = E.Strand.prototype.get$domains.call(t4); + t4.set$__domains(t5); + } + t5 = J.get$iterator$ax(t5._list); + t4 = t4.color; + for (; t5.moveNext$0();) + map.$indexSet(0, t5.get$current(t5), t4); + } + return A.BuiltMap_BuiltMap$of(map, t1, t2); + }, + group_of_helix_idx$1: function(helix_idx) { + var t1 = J.$index$asx(this.helices._map$_map, helix_idx).group; + return J.$index$asx(this.groups._map$_map, t1); + }, + group_name_of_strand$1: function(strand) { + var t1 = strand.get$first_domain().helix, + t2 = this.helices._map$_map, + t3 = J.getInterceptor$asx(t2), + first_group_name = t3.$index(t2, t1).group; + for (t1 = J.get$iterator$ax(strand.get$domains()._list); t1.moveNext$0();) + if (first_group_name !== t3.$index(t2, t1.get$current(t1).helix).group) + return null; + return first_group_name; + }, + group_names_of_domains$1: function(domains) { + var t2, t3, t4, t5, + t1 = P.LinkedHashSet_LinkedHashSet$_empty(type$.legacy_int); + for (t2 = J.get$iterator$ax(type$.legacy_Iterable_legacy_Domain._as(domains)._list); t2.moveNext$0();) + t1.add$1(0, t2.get$current(t2).helix); + t2 = type$.legacy_String; + t3 = P.LinkedHashSet_LinkedHashSet$_empty(t2); + for (t1 = P._LinkedHashSetIterator$(t1, t1._collection$_modifications, t1.$ti._precomputed1), t4 = this.helices; t1.moveNext$0();) { + t5 = t1._collection$_current; + t3.add$1(0, J.$index$asx(t4._map$_map, t5).group); + } + return X._BuiltSet$of(t3, t2); + }, + group_names_of_ends$1: function(ends) { + var t2, t3, t4, t5, substrand, helix_idx, _this = this, + t1 = type$.legacy_String, + names = P.LinkedHashSet_LinkedHashSet$_empty(t1); + for (t2 = J.get$iterator$ax(type$.legacy_Iterable_legacy_DNAEnd._as(ends)._list), t3 = _this.helices; t2.moveNext$0();) { + t4 = t2.get$current(t2); + t5 = _this.__end_to_domain; + if (t5 == null) { + t5 = N.Design.prototype.get$end_to_domain.call(_this); + _this.set$__end_to_domain(t5); + } + substrand = J.$index$asx(t5._map$_map, t4); + if (substrand == null) { + t5 = _this.__end_to_extension; + if (t5 == null) { + t5 = N.Design.prototype.get$end_to_extension.call(_this); + _this.set$__end_to_extension(t5); + } + substrand = J.$index$asx(t5._map$_map, t4).adjacent_domain; + } + helix_idx = substrand.helix; + names.add$1(0, J.$index$asx(t3._map$_map, helix_idx).group); + } + return X._BuiltSet$of(names, t1); + }, + get$address_crossover_pairs_by_helix_idx: function() { + var t2, t3, t4, t5, t6, t7, t8, t9, t10, is_prev, _i, dom, address_crossover_pair_list, offset, start_crossover_pair_list, + t1 = type$.legacy_int, + address_crossover_pairs = P.LinkedHashMap_LinkedHashMap$_empty(t1, type$.legacy_List_legacy_Tuple2_of_legacy_Address_and_legacy_Crossover); + for (t2 = this.helices, t2 = J.get$iterator$ax(t2.get$keys(t2)), t3 = type$.JSArray_legacy_Tuple2_of_legacy_Address_and_legacy_Crossover; t2.moveNext$0();) + address_crossover_pairs.$indexSet(0, t2.get$current(t2), H.setRuntimeTypeInfo([], t3)); + for (t2 = J.get$iterator$ax(this.strands._list), t3 = type$.Tuple2_of_legacy_Address_and_legacy_Crossover, t4 = type$.legacy_Domain; t2.moveNext$0();) { + t5 = t2.get$current(t2); + t6 = t5.__crossovers; + if (t6 == null) { + t6 = E.Strand.prototype.get$crossovers.call(t5); + t5.set$__crossovers(t6); + } + t6 = J.get$iterator$ax(t6._list); + t5 = t5.substrands; + for (; t6.moveNext$0();) { + t7 = t6.get$current(t6); + t8 = t7.prev_domain_idx; + t9 = t5._list; + t10 = J.getInterceptor$asx(t9); + for (t8 = [t4._as(t10.$index(t9, t8)), t4._as(t10.$index(t9, t7.next_domain_idx))], is_prev = true, _i = 0; _i < 2; ++_i, is_prev = false) { + dom = t8[_i]; + t9 = dom.helix; + address_crossover_pair_list = address_crossover_pairs.$index(0, t9); + if (!(is_prev && dom.forward)) + t10 = !is_prev && !dom.forward; + else + t10 = true; + offset = t10 ? dom.end - 1 : dom.start; + t10 = dom.forward; + (address_crossover_pair_list && C.JSArray_methods).add$1(address_crossover_pair_list, new S.Tuple2(new Z._$Address(t9, offset, t10), t7, t3)); + } + } + } + for (t2 = address_crossover_pairs.get$keys(address_crossover_pairs), t2 = t2.get$iterator(t2); t2.moveNext$0();) { + start_crossover_pair_list = address_crossover_pairs.$index(0, t2.get$current(t2)); + start_crossover_pair_list.toString; + t3 = H._arrayInstanceType(start_crossover_pair_list); + t4 = t3._eval$1("int(1,1)?")._as(new N.Design_address_crossover_pairs_by_helix_idx_closure()); + if (!!start_crossover_pair_list.immutable$list) + H.throwExpression(P.UnsupportedError$("sort")); + t3 = t3._precomputed1; + t5 = start_crossover_pair_list.length - 1; + if (t5 - 0 <= 32) + H.Sort__insertionSort(start_crossover_pair_list, 0, t5, t4, t3); + else + H.Sort__dualPivotQuicksort(start_crossover_pair_list, 0, t5, t4, t3); + } + t2 = type$.legacy_BuiltList_legacy_Tuple2_of_legacy_Address_and_legacy_Crossover; + t3 = P.LinkedHashMap_LinkedHashMap$_empty(t1, t2); + for (t4 = address_crossover_pairs.get$keys(address_crossover_pairs), t4 = t4.get$iterator(t4), t5 = type$.legacy_Tuple2_of_legacy_Address_and_legacy_Crossover; t4.moveNext$0();) { + t6 = t4.get$current(t4); + t3.$indexSet(0, t6, D.BuiltList_BuiltList$of(address_crossover_pairs.$index(0, t6), t5)); + } + return A.BuiltMap_BuiltMap$of(t3, t1, t2); + }, + get$strands_by_id: function() { + var t1, t2, t3, t4, t5, + builder = A.MapBuilder_MapBuilder(C.Map_empty, type$.legacy_String, type$.legacy_Strand); + for (t1 = J.get$iterator$ax(this.strands._list), t2 = builder.$ti, t3 = t2._precomputed1, t2 = t2._rest[1]; t1.moveNext$0();) { + t4 = t1.get$current(t1); + t5 = t4.__id; + t5 = t3._as(t5 == null ? t4.__id = E.Strand.prototype.get$id.call(t4, t4) : t5); + t2._as(t4); + builder._checkKey$1(t5); + builder._checkValue$1(t4); + J.$indexSet$ax(builder.get$_safeMap(), t5, t4); + } + return builder.build$0(); + }, + get$domains_by_id: function() { + var t1, t2, t3, t4, t5, t6, + builder = A.MapBuilder_MapBuilder(C.Map_empty, type$.legacy_String, type$.legacy_Domain); + for (t1 = J.get$iterator$ax(this.strands._list), t2 = builder.$ti, t3 = t2._precomputed1, t2 = t2._rest[1]; t1.moveNext$0();) { + t4 = t1.get$current(t1); + t5 = t4.__domains; + if (t5 == null) { + t5 = E.Strand.prototype.get$domains.call(t4); + t4.set$__domains(t5); + t4 = t5; + } else + t4 = t5; + t4 = J.get$iterator$ax(t4._list); + for (; t4.moveNext$0();) { + t5 = t4.get$current(t4); + t6 = t5._domain$__id; + t6 = t3._as(t6 == null ? t5._domain$__id = G.Domain.prototype.get$id.call(t5, t5) : t6); + t2._as(t5); + builder._checkKey$1(t6); + builder._checkValue$1(t5); + J.$indexSet$ax(builder.get$_safeMap(), t6, t5); + } + } + return builder.build$0(); + }, + get$loopouts_by_id: function() { + var t1, t2, t3, t4, t5, t6, + builder = A.MapBuilder_MapBuilder(C.Map_empty, type$.legacy_String, type$.legacy_Loopout); + for (t1 = J.get$iterator$ax(this.strands._list), t2 = builder.$ti, t3 = t2._precomputed1, t2 = t2._rest[1]; t1.moveNext$0();) { + t4 = t1.get$current(t1); + t5 = t4.__loopouts; + if (t5 == null) { + t5 = E.Strand.prototype.get$loopouts.call(t4); + t4.set$__loopouts(t5); + t4 = t5; + } else + t4 = t5; + t4 = J.get$iterator$ax(t4._list); + for (; t4.moveNext$0();) { + t5 = t4.get$current(t4); + t6 = t5._loopout$__id; + t6 = t3._as(t6 == null ? t5._loopout$__id = G.Loopout.prototype.get$id.call(t5, t5) : t6); + t2._as(t5); + builder._checkKey$1(t6); + builder._checkValue$1(t5); + J.$indexSet$ax(builder.get$_safeMap(), t6, t5); + } + } + return builder.build$0(); + }, + get$extensions_by_id: function() { + var t1, t2, t3, t4, t5, t6, + builder = A.MapBuilder_MapBuilder(C.Map_empty, type$.legacy_String, type$.legacy_Extension); + for (t1 = J.get$iterator$ax(this.strands._list), t2 = builder.$ti, t3 = t2._precomputed1, t2 = t2._rest[1]; t1.moveNext$0();) { + t4 = t1.get$current(t1); + t5 = t4.__extensions; + if (t5 == null) { + t5 = E.Strand.prototype.get$extensions.call(t4, t4); + t4.set$__extensions(t5); + t4 = t5; + } else + t4 = t5; + t4 = J.get$iterator$ax(t4._list); + for (; t4.moveNext$0();) { + t5 = t4.get$current(t4); + t6 = t5._extension$__id; + t6 = t3._as(t6 == null ? t5._extension$__id = S.Extension.prototype.get$id.call(t5, t5) : t6); + t2._as(t5); + builder._checkKey$1(t6); + builder._checkValue$1(t5); + J.$indexSet$ax(builder.get$_safeMap(), t6, t5); + } + } + return builder.build$0(); + }, + get$crossovers_by_id: function() { + var t1, t2, t3, t4, t5, t6, + builder = A.MapBuilder_MapBuilder(C.Map_empty, type$.legacy_String, type$.legacy_Crossover); + for (t1 = J.get$iterator$ax(this.strands._list), t2 = builder.$ti, t3 = t2._precomputed1, t2 = t2._rest[1]; t1.moveNext$0();) { + t4 = t1.get$current(t1); + t5 = t4.__crossovers; + if (t5 == null) { + t5 = E.Strand.prototype.get$crossovers.call(t4); + t4.set$__crossovers(t5); + t4 = t5; + } else + t4 = t5; + t4 = J.get$iterator$ax(t4._list); + for (; t4.moveNext$0();) { + t5 = t4.get$current(t4); + t6 = t5._crossover$__id; + t6 = t3._as(t6 == null ? t5._crossover$__id = T.Crossover.prototype.get$id.call(t5, t5) : t6); + t2._as(t5); + builder._checkKey$1(t6); + builder._checkValue$1(t5); + J.$indexSet$ax(builder.get$_safeMap(), t6, t5); + } + } + return builder.build$0(); + }, + get$deletions_by_id: function() { + var t1, t2, t3, t4, t5, t6, t7, + builder = A.MapBuilder_MapBuilder(C.Map_empty, type$.legacy_String, type$.legacy_SelectableDeletion); + for (t1 = J.get$iterator$ax(this.strands._list), t2 = builder.$ti, t3 = t2._precomputed1, t2 = t2._rest[1]; t1.moveNext$0();) { + t4 = t1.get$current(t1); + t5 = t4.__domains; + if (t5 == null) { + t5 = E.Strand.prototype.get$domains.call(t4); + t4.set$__domains(t5); + t4 = t5; + } else + t4 = t5; + t4 = J.get$iterator$ax(t4._list); + for (; t4.moveNext$0();) { + t5 = t4.get$current(t4); + t6 = t5._domain$__selectable_deletions; + if (t6 == null) { + t6 = G.Domain.prototype.get$selectable_deletions.call(t5); + t5.set$_domain$__selectable_deletions(t6); + t5 = t6; + } else + t5 = t6; + t5 = J.get$iterator$ax(t5._list); + for (; t5.moveNext$0();) { + t6 = t5.get$current(t5); + t7 = t6._selectable$__id; + t7 = t3._as(t7 == null ? t6._selectable$__id = E.SelectableDeletion.prototype.get$id.call(t6, t6) : t7); + t2._as(t6); + builder._checkKey$1(t7); + builder._checkValue$1(t6); + J.$indexSet$ax(builder.get$_safeMap(), t7, t6); + } + } + } + return builder.build$0(); + }, + get$insertions_by_id: function() { + var t1, t2, t3, t4, t5, t6, t7, + builder = A.MapBuilder_MapBuilder(C.Map_empty, type$.legacy_String, type$.legacy_SelectableInsertion); + for (t1 = J.get$iterator$ax(this.strands._list), t2 = builder.$ti, t3 = t2._precomputed1, t2 = t2._rest[1]; t1.moveNext$0();) { + t4 = t1.get$current(t1); + t5 = t4.__domains; + if (t5 == null) { + t5 = E.Strand.prototype.get$domains.call(t4); + t4.set$__domains(t5); + t4 = t5; + } else + t4 = t5; + t4 = J.get$iterator$ax(t4._list); + for (; t4.moveNext$0();) { + t5 = t4.get$current(t4); + t6 = t5._domain$__selectable_insertions; + if (t6 == null) { + t6 = G.Domain.prototype.get$selectable_insertions.call(t5); + t5.set$_domain$__selectable_insertions(t6); + t5 = t6; + } else + t5 = t6; + t5 = J.get$iterator$ax(t5._list); + for (; t5.moveNext$0();) { + t6 = t5.get$current(t5); + t7 = t6._selectable$__id; + t7 = t3._as(t7 == null ? t6._selectable$__id = E.SelectableInsertion.prototype.get$id.call(t6, t6) : t7); + t2._as(t6); + builder._checkKey$1(t7); + builder._checkValue$1(t6); + J.$indexSet$ax(builder.get$_safeMap(), t7, t6); + } + } + } + return builder.build$0(); + }, + get$modifications_by_id: function() { + var t2, t3, t4, t5, t6, t7, + t1 = type$.legacy_SelectableModification, + builder = A.MapBuilder_MapBuilder(C.Map_empty, type$.legacy_String, t1); + for (t2 = J.get$iterator$ax(this.strands._list), t3 = builder.$ti, t4 = t3._precomputed1, t3 = t3._rest[1]; t2.moveNext$0();) { + t5 = t2.get$current(t2); + t6 = t5.__selectable_modifications; + if (t6 == null) { + t6 = E.Strand.prototype.get$selectable_modifications.call(t5); + t5.set$__selectable_modifications(t6); + t5 = t6; + } else + t5 = t6; + t5 = J.get$iterator$ax(t5._list); + for (; t5.moveNext$0();) { + t6 = t5.get$current(t5); + t7 = t6.get$id(t6); + t1._as(t6); + t4._as(t7); + t3._as(t6); + builder._checkKey$1(t7); + builder._checkValue$1(t6); + J.$indexSet$ax(builder.get$_safeMap(), t7, t6); + } + } + return builder.build$0(); + }, + get$ends_by_id: function() { + var t1, t2, t3, t4, t5, t6, t7, t8, + builder = A.MapBuilder_MapBuilder(C.Map_empty, type$.legacy_String, type$.legacy_DNAEnd); + for (t1 = J.get$iterator$ax(this.strands._list), t2 = builder.$ti, t3 = t2._precomputed1, t2 = t2._rest[1]; t1.moveNext$0();) { + t4 = t1.get$current(t1); + t5 = t4.__domains; + if (t5 == null) { + t5 = E.Strand.prototype.get$domains.call(t4); + t4.set$__domains(t5); + } + t5 = J.get$iterator$ax(t5._list); + for (; t5.moveNext$0();) { + t6 = t5.get$current(t5); + t7 = t6.__dnaend_start; + if (t7 == null) + t7 = t6.__dnaend_start = G.Domain.prototype.get$dnaend_start.call(t6); + t8 = t7._dna_end$__id; + t7 = t8 == null ? t7._dna_end$__id = Z.DNAEnd.prototype.get$id.call(t7, t7) : t8; + t8 = t6.__dnaend_start; + if (t8 == null) + t8 = t6.__dnaend_start = G.Domain.prototype.get$dnaend_start.call(t6); + t3._as(t7); + t2._as(t8); + builder._checkKey$1(t7); + builder._checkValue$1(t8); + J.$indexSet$ax(builder.get$_safeMap(), t7, t8); + t8 = t6.__dnaend_end; + t7 = t8 == null ? t6.__dnaend_end = G.Domain.prototype.get$dnaend_end.call(t6) : t8; + t8 = t7._dna_end$__id; + t7 = t8 == null ? t7._dna_end$__id = Z.DNAEnd.prototype.get$id.call(t7, t7) : t8; + t8 = t6.__dnaend_end; + t6 = t8 == null ? t6.__dnaend_end = G.Domain.prototype.get$dnaend_end.call(t6) : t8; + t3._as(t7); + t2._as(t6); + builder._checkKey$1(t7); + builder._checkValue$1(t6); + J.$indexSet$ax(builder.get$_safeMap(), t7, t6); + } + t5 = t4.__extensions; + if (t5 == null) { + t5 = E.Strand.prototype.get$extensions.call(t4, t4); + t4.set$__extensions(t5); + t4 = t5; + } else + t4 = t5; + t4 = J.get$iterator$ax(t4._list); + for (; t4.moveNext$0();) { + t5 = t4.get$current(t4); + t6 = t5.__dnaend_free; + if (t6 == null) + t6 = t5.__dnaend_free = S.Extension.prototype.get$dnaend_free.call(t5); + t7 = t6._dna_end$__id; + t6 = t7 == null ? t6._dna_end$__id = Z.DNAEnd.prototype.get$id.call(t6, t6) : t7; + t7 = t5.__dnaend_free; + t5 = t7 == null ? t5.__dnaend_free = S.Extension.prototype.get$dnaend_free.call(t5) : t7; + t3._as(t6); + t2._as(t5); + builder._checkKey$1(t6); + builder._checkValue$1(t5); + J.$indexSet$ax(builder.get$_safeMap(), t6, t5); + } + } + return builder.build$0(); + }, + get$selectable_by_id: function() { + var t5, t6, t7, t8, t9, t10, t11, _i, map_small, _this = this, + t1 = type$.legacy_String, + t2 = type$.legacy_Selectable, + map = P.LinkedHashMap_LinkedHashMap$_empty(t1, t2), + t3 = _this.get$strands_by_id(), + t4 = _this.__loopouts_by_id; + if (t4 == null) { + t4 = N.Design.prototype.get$loopouts_by_id.call(_this); + _this.set$__loopouts_by_id(t4); + } + t5 = _this.get$extensions_by_id(); + t6 = _this.__crossovers_by_id; + if (t6 == null) { + t6 = N.Design.prototype.get$crossovers_by_id.call(_this); + _this.set$__crossovers_by_id(t6); + } + t7 = _this.__ends_by_id; + if (t7 == null) { + t7 = N.Design.prototype.get$ends_by_id.call(_this); + _this.set$__ends_by_id(t7); + } + t8 = _this.get$domains_by_id(); + t9 = _this.__deletions_by_id; + if (t9 == null) { + t9 = N.Design.prototype.get$deletions_by_id.call(_this); + _this.set$__deletions_by_id(t9); + } + t10 = _this.__insertions_by_id; + if (t10 == null) { + t10 = N.Design.prototype.get$insertions_by_id.call(_this); + _this.set$__insertions_by_id(t10); + } + t11 = _this.__modifications_by_id; + if (t11 == null) { + t11 = N.Design.prototype.get$modifications_by_id.call(_this); + _this.set$__modifications_by_id(t11); + } + t11 = [t3, t4, t5, t6, t7, t8, t9, t10, t11]; + _i = 0; + for (; _i < 9; ++_i) { + map_small = t11[_i]; + if (map_small._keys == null) + map_small.set$_keys(J.get$keys$x(map_small._map$_map)); + t3 = map_small._keys; + t3.toString; + t3 = J.get$iterator$ax(t3); + t4 = map_small._map$_map; + t5 = J.getInterceptor$asx(t4); + for (; t3.moveNext$0();) { + t6 = t3.get$current(t3); + map.$indexSet(0, t6, t5.$index(t4, t6)); + } + } + return A.BuiltMap_BuiltMap$of(map, t1, t2); + }, + get$strands_overlapping: function() { + var t6, strand1, j, strand2, + t1 = type$.legacy_Strand, + map = P.LinkedHashMap_LinkedHashMap$_empty(t1, type$.legacy_List_legacy_Strand), + t2 = type$.legacy_BuiltList_legacy_Strand, + map_builtlist = P.LinkedHashMap_LinkedHashMap$_empty(t1, t2), + t3 = this.strands._list, + t4 = J.getInterceptor$asx(t3), + t5 = type$.JSArray_legacy_Strand, + i = 0; + while (true) { + t6 = t4.get$length(t3); + if (typeof t6 !== "number") + return H.iae(t6); + if (!(i < t6)) + break; + strand1 = t4.$index(t3, i); + map.$indexSet(0, strand1, H.setRuntimeTypeInfo([], t5)); + j = 0; + while (true) { + t6 = t4.get$length(t3); + if (typeof t6 !== "number") + return H.iae(t6); + if (!(j < t6)) + break; + strand2 = t4.$index(t3, j); + if (strand1.overlaps$1(strand2)) { + t6 = map.$index(0, strand1); + (t6 && C.JSArray_methods).add$1(t6, strand2); + } + ++j; + } + map_builtlist.$indexSet(0, strand1, D.BuiltList_BuiltList$of(map.$index(0, strand1), t1)); + ++i; + } + return A.BuiltMap_BuiltMap$of(map_builtlist, t1, t2); + }, + get$domain_mismatches_map: function() { + var t2, t3, t4, t5, t6, t7, domain_mismatches_builtmap_builder, + t1 = type$.legacy_Domain, + domain_mismatches_map_builder = A.MapBuilder_MapBuilder(C.Map_empty, t1, type$.legacy_ListBuilder_legacy_Mismatch); + for (t2 = J.get$iterator$ax(this.strands._list), t3 = domain_mismatches_map_builder.$ti, t4 = t3._precomputed1, t3 = t3._rest[1]; t2.moveNext$0();) { + t5 = t2.get$current(t2); + t6 = t5.__dna_sequence; + if ((t6 == null ? t5.__dna_sequence = E.Strand.prototype.get$dna_sequence.call(t5) : t6) != null) { + t6 = t5.__domains; + if (t6 == null) { + t6 = E.Strand.prototype.get$domains.call(t5); + t5.set$__domains(t6); + t5 = t6; + } else + t5 = t6; + t5 = J.get$iterator$ax(t5._list); + for (; t5.moveNext$0();) { + t6 = t5.get$current(t5); + t7 = this._find_mismatches_on_substrand$1(t6); + t4._as(t6); + t3._as(t7); + domain_mismatches_map_builder._checkKey$1(t6); + domain_mismatches_map_builder._checkValue$1(t7); + J.$indexSet$ax(domain_mismatches_map_builder.get$_safeMap(), t6, t7); + } + } + } + domain_mismatches_builtmap_builder = A.MapBuilder_MapBuilder(C.Map_empty, t1, type$.legacy_BuiltList_legacy_Mismatch); + t1 = domain_mismatches_map_builder.build$0(); + t1.toString; + J.forEach$1$ax(t1._map$_map, t1.$ti._eval$1("~(1,2)")._as(new N.Design_domain_mismatches_map_closure(domain_mismatches_builtmap_builder))); + return domain_mismatches_builtmap_builder.build$0(); + }, + get$unpaired_insertion_deletion_map: function() { + var t1, t2, t3, unpaired_insertion_deletion_half_built_map, + unpaired_insertion_deletion_map_builder = new H.JsLinkedHashMap(type$.JsLinkedHashMap_of_legacy_Domain_and_legacy_List_legacy_Address); + for (t1 = J.get$iterator$ax(this.strands._list); t1.moveNext$0();) { + t2 = t1.get$current(t1); + t3 = t2.__domains; + if (t3 == null) { + t3 = E.Strand.prototype.get$domains.call(t2); + t2.set$__domains(t3); + t2 = t3; + } else + t2 = t3; + t2 = J.get$iterator$ax(t2._list); + for (; t2.moveNext$0();) { + t3 = t2.get$current(t2); + unpaired_insertion_deletion_map_builder.$indexSet(0, t3, this.find_unpaired_insertion_deletions_on_domain$2(t3, false)); + } + } + unpaired_insertion_deletion_half_built_map = new H.JsLinkedHashMap(type$.JsLinkedHashMap_of_legacy_Domain_and_legacy_BuiltList_legacy_Address); + unpaired_insertion_deletion_map_builder.forEach$1(0, new N.Design_unpaired_insertion_deletion_map_closure(unpaired_insertion_deletion_half_built_map)); + return A.BuiltMap_BuiltMap$of(unpaired_insertion_deletion_half_built_map, type$.legacy_Domain, type$.legacy_BuiltList_legacy_Address); + }, + get$end_to_domain: function() { + var t1, t2, t3, t4, t5, t6, t7, + end_to_substrand_builder = A.MapBuilder_MapBuilder(C.Map_empty, type$.legacy_DNAEnd, type$.legacy_Domain); + for (t1 = J.get$iterator$ax(this.strands._list), t2 = end_to_substrand_builder.$ti, t3 = t2._precomputed1, t2 = t2._rest[1]; t1.moveNext$0();) { + t4 = t1.get$current(t1); + t5 = t4.__domains; + if (t5 == null) { + t5 = E.Strand.prototype.get$domains.call(t4); + t4.set$__domains(t5); + t4 = t5; + } else + t4 = t5; + t4 = J.get$iterator$ax(t4._list); + for (; t4.moveNext$0();) { + t5 = t4.get$current(t4); + t6 = t5.forward; + if (t6) { + t7 = t5.__dnaend_end; + if (t7 == null) { + t7 = G.Domain.prototype.get$dnaend_end.call(t5); + t5.__dnaend_end = t7; + } + } else { + t7 = t5.__dnaend_start; + if (t7 == null) { + t7 = G.Domain.prototype.get$dnaend_start.call(t5); + t5.__dnaend_start = t7; + } + } + t3._as(t7); + t2._as(t5); + end_to_substrand_builder._checkKey$1(t7); + end_to_substrand_builder._checkValue$1(t5); + J.$indexSet$ax(end_to_substrand_builder.get$_safeMap(), t7, t5); + if (t6) { + t6 = t5.__dnaend_start; + if (t6 == null) { + t6 = G.Domain.prototype.get$dnaend_start.call(t5); + t5.__dnaend_start = t6; + } + } else { + t6 = t5.__dnaend_end; + if (t6 == null) { + t6 = G.Domain.prototype.get$dnaend_end.call(t5); + t5.__dnaend_end = t6; + } + } + t3._as(t6); + end_to_substrand_builder._checkKey$1(t6); + end_to_substrand_builder._checkValue$1(t5); + J.$indexSet$ax(end_to_substrand_builder.get$_safeMap(), t6, t5); + } + } + return end_to_substrand_builder.build$0(); + }, + get$end_to_extension: function() { + var t1, t2, t3, t4, t5, t6, + end_to_extension_builder = A.MapBuilder_MapBuilder(C.Map_empty, type$.legacy_DNAEnd, type$.legacy_Extension); + for (t1 = J.get$iterator$ax(this.strands._list), t2 = end_to_extension_builder.$ti, t3 = t2._precomputed1, t2 = t2._rest[1]; t1.moveNext$0();) { + t4 = t1.get$current(t1); + t5 = t4.__extensions; + if (t5 == null) { + t5 = E.Strand.prototype.get$extensions.call(t4, t4); + t4.set$__extensions(t5); + t4 = t5; + } else + t4 = t5; + t4 = J.get$iterator$ax(t4._list); + for (; t4.moveNext$0();) { + t5 = t4.get$current(t4); + t6 = t5.__dnaend_free; + t6 = t3._as(t6 == null ? t5.__dnaend_free = S.Extension.prototype.get$dnaend_free.call(t5) : t6); + t2._as(t5); + end_to_extension_builder._checkKey$1(t6); + end_to_extension_builder._checkValue$1(t5); + J.$indexSet$ax(end_to_extension_builder.get$_safeMap(), t6, t5); + } + } + return end_to_extension_builder.build$0(); + }, + get$substrand_to_strand: function() { + var t1, t2, t3, t4, t5, t6, + substrand_to_strand_builder = A.MapBuilder_MapBuilder(C.Map_empty, type$.legacy_Substrand, type$.legacy_Strand); + for (t1 = J.get$iterator$ax(this.strands._list), t2 = substrand_to_strand_builder.$ti, t3 = t2._precomputed1, t2 = t2._rest[1]; t1.moveNext$0();) { + t4 = t1.get$current(t1); + for (t5 = J.get$iterator$ax(t4.substrands._list); t5.moveNext$0();) { + t6 = t3._as(t5.get$current(t5)); + t2._as(t4); + substrand_to_strand_builder._checkKey$1(t6); + substrand_to_strand_builder._checkValue$1(t4); + J.$indexSet$ax(substrand_to_strand_builder.get$_safeMap(), t6, t4); + } + } + return substrand_to_strand_builder.build$0(); + }, + get$strand_to_index: function() { + var t1, idx, idx0, + strand_to_index = new H.JsLinkedHashMap(type$.JsLinkedHashMap_of_legacy_Strand_and_legacy_int); + for (t1 = J.get$iterator$ax(this.strands._list), idx = 0; t1.moveNext$0(); idx = idx0) { + idx0 = idx + 1; + strand_to_index.$indexSet(0, t1.get$current(t1), idx); + } + return A.BuiltMap_BuiltMap$of(strand_to_index, type$.legacy_Strand, type$.legacy_int); + }, + get$crossover_to_strand: function() { + var t1, t2, t3, + crossover_to_strand_builder = new H.JsLinkedHashMap(type$.JsLinkedHashMap_of_legacy_Crossover_and_legacy_Strand); + for (t1 = J.get$iterator$ax(this.strands._list); t1.moveNext$0();) { + t2 = t1.get$current(t1); + t3 = t2.__crossovers; + if (t3 == null) { + t3 = E.Strand.prototype.get$crossovers.call(t2); + t2.set$__crossovers(t3); + } + t3 = J.get$iterator$ax(t3._list); + for (; t3.moveNext$0();) + crossover_to_strand_builder.$indexSet(0, t3.get$current(t3), t2); + } + return A.BuiltMap_BuiltMap$of(crossover_to_strand_builder, type$.legacy_Crossover, type$.legacy_Strand); + }, + get$linker_to_strand: function() { + var t1, t2, t3, + linker_to_strand_builder = new H.JsLinkedHashMap(type$.JsLinkedHashMap_of_legacy_Linker_and_legacy_Strand); + for (t1 = J.get$iterator$ax(this.strands._list); t1.moveNext$0();) { + t2 = t1.get$current(t1); + t3 = t2.__linkers; + if (t3 == null) { + t3 = E.Strand.prototype.get$linkers.call(t2); + t2.set$__linkers(t3); + } + t3 = J.get$iterator$ax(t3._list); + for (; t3.moveNext$0();) + linker_to_strand_builder.$indexSet(0, t3.get$current(t3), t2); + } + return A.BuiltMap_BuiltMap$of(linker_to_strand_builder, type$.legacy_Linker, type$.legacy_Strand); + }, + get$helix_idxs: function() { + var t1 = this.helices; + return D.BuiltList_BuiltList$of(t1.get$keys(t1), type$.legacy_int); + }, + get$helix_idx_to_domains: function() { + return N.construct_helix_idx_to_domains_map(this.strands, this.get$helix_idxs()); + }, + get$address_to_end: function() { + var t1, t2, t3, t4, t5, _i, end, t6, + map = new H.JsLinkedHashMap(type$.JsLinkedHashMap_of_legacy_Address_and_legacy_DNAEnd); + for (t1 = J.get$iterator$ax(this.strands._list); t1.moveNext$0();) { + t2 = t1.get$current(t1); + t3 = t2.__domains; + if (t3 == null) { + t3 = E.Strand.prototype.get$domains.call(t2); + t2.set$__domains(t3); + t2 = t3; + } else + t2 = t3; + t2 = J.get$iterator$ax(t2._list); + for (; t2.moveNext$0();) { + t3 = t2.get$current(t2); + t4 = t3.__dnaend_start; + if (t4 == null) + t4 = t3.__dnaend_start = G.Domain.prototype.get$dnaend_start.call(t3); + t5 = t3.__dnaend_end; + t4 = [t4, t5 == null ? t3.__dnaend_end = G.Domain.prototype.get$dnaend_end.call(t3) : t5]; + t5 = t3.forward; + t3 = t3.helix; + _i = 0; + for (; _i < 2; ++_i) { + end = t4[_i]; + t6 = end.offset; + if (!end.is_start) { + if (typeof t6 !== "number") + return t6.$sub(); + --t6; + } + if (t6 == null) + H.throwExpression(Y.BuiltValueNullFieldError$("Address", "offset")); + map.$indexSet(0, new Z._$Address(t3, t6, t5), end); + } + } + } + return A.BuiltMap_BuiltMap$of(map, type$.legacy_Address, type$.legacy_DNAEnd); + }, + get$end_to_address: function() { + var t1, t2, t3, t4, t5, _i, end, t6, + map = new H.JsLinkedHashMap(type$.JsLinkedHashMap_of_legacy_DNAEnd_and_legacy_Address); + for (t1 = J.get$iterator$ax(this.strands._list); t1.moveNext$0();) { + t2 = t1.get$current(t1); + t3 = t2.__domains; + if (t3 == null) { + t3 = E.Strand.prototype.get$domains.call(t2); + t2.set$__domains(t3); + t2 = t3; + } else + t2 = t3; + t2 = J.get$iterator$ax(t2._list); + for (; t2.moveNext$0();) { + t3 = t2.get$current(t2); + t4 = t3.__dnaend_start; + if (t4 == null) + t4 = t3.__dnaend_start = G.Domain.prototype.get$dnaend_start.call(t3); + t5 = t3.__dnaend_end; + t4 = [t4, t5 == null ? t3.__dnaend_end = G.Domain.prototype.get$dnaend_end.call(t3) : t5]; + t5 = t3.forward; + t3 = t3.helix; + _i = 0; + for (; _i < 2; ++_i) { + end = t4[_i]; + t6 = end.offset; + if (!end.is_start) { + if (typeof t6 !== "number") + return t6.$sub(); + --t6; + } + if (t6 == null) + H.throwExpression(Y.BuiltValueNullFieldError$("Address", "offset")); + map.$indexSet(0, end, new Z._$Address(t3, t6, t5)); + } + } + } + return A.BuiltMap_BuiltMap$of(map, type$.legacy_DNAEnd, type$.legacy_Address); + }, + get$address_5p_to_strand: function() { + var t1, t2, ss, t3, t4, t5, t6, + map = new H.JsLinkedHashMap(type$.JsLinkedHashMap_of_legacy_Address_and_legacy_Strand); + for (t1 = J.get$iterator$ax(this.strands._list); t1.moveNext$0();) { + t2 = t1.get$current(t1); + ss = t2.__first_domain; + if (ss == null) + ss = t2.__first_domain = E.Strand.prototype.get$first_domain.call(t2); + t3 = ss.helix; + t4 = ss.forward; + if (t4) { + t5 = ss.__dnaend_start; + if (t5 == null) { + t5 = G.Domain.prototype.get$dnaend_start.call(ss); + ss.__dnaend_start = t5; + } + } else { + t5 = ss.__dnaend_end; + if (t5 == null) { + t5 = G.Domain.prototype.get$dnaend_end.call(ss); + ss.__dnaend_end = t5; + } + } + t6 = t5.offset; + if (t5.is_start) + t5 = t6; + else { + if (typeof t6 !== "number") + return t6.$sub(); + t5 = t6 - 1; + } + if (t5 == null) + H.throwExpression(Y.BuiltValueNullFieldError$("Address", "offset")); + map.$indexSet(0, new Z._$Address(t3, t5, t4), t2); + } + return A.BuiltMap_BuiltMap$of(map, type$.legacy_Address, type$.legacy_Strand); + }, + get$address_3p_to_strand: function() { + var t1, t2, ss, t3, t4, t5, t6, + map = new H.JsLinkedHashMap(type$.JsLinkedHashMap_of_legacy_Address_and_legacy_Strand); + for (t1 = J.get$iterator$ax(this.strands._list); t1.moveNext$0();) { + t2 = t1.get$current(t1); + ss = t2.__last_domain; + if (ss == null) + ss = t2.__last_domain = E.Strand.prototype.get$last_domain.call(t2); + t3 = ss.helix; + t4 = ss.forward; + if (t4) { + t5 = ss.__dnaend_end; + if (t5 == null) { + t5 = G.Domain.prototype.get$dnaend_end.call(ss); + ss.__dnaend_end = t5; + } + } else { + t5 = ss.__dnaend_start; + if (t5 == null) { + t5 = G.Domain.prototype.get$dnaend_start.call(ss); + ss.__dnaend_start = t5; + } + } + t6 = t5.offset; + if (t5.is_start) + t5 = t6; + else { + if (typeof t6 !== "number") + return t6.$sub(); + t5 = t6 - 1; + } + if (t5 == null) + H.throwExpression(Y.BuiltValueNullFieldError$("Address", "offset")); + map.$indexSet(0, new Z._$Address(t3, t5, t4), t2); + } + return A.BuiltMap_BuiltMap$of(map, type$.legacy_Address, type$.legacy_Strand); + }, + get$address_5p_to_domain: function() { + var t1, t2, t3, t4, t5, t6, + map = new H.JsLinkedHashMap(type$.JsLinkedHashMap_of_legacy_Address_and_legacy_Domain); + for (t1 = this.get$domains_by_id(), t1 = J.get$iterator$ax(t1.get$values(t1)); t1.moveNext$0();) { + t2 = t1.get$current(t1); + t3 = t2.helix; + t4 = t2.forward; + if (t4) { + t5 = t2.__dnaend_start; + if (t5 == null) { + t5 = G.Domain.prototype.get$dnaend_start.call(t2); + t2.__dnaend_start = t5; + } + } else { + t5 = t2.__dnaend_end; + if (t5 == null) { + t5 = G.Domain.prototype.get$dnaend_end.call(t2); + t2.__dnaend_end = t5; + } + } + t6 = t5.offset; + if (t5.is_start) + t5 = t6; + else { + if (typeof t6 !== "number") + return t6.$sub(); + t5 = t6 - 1; + } + if (t5 == null) + H.throwExpression(Y.BuiltValueNullFieldError$("Address", "offset")); + map.$indexSet(0, new Z._$Address(t3, t5, t4), t2); + } + return A.BuiltMap_BuiltMap$of(map, type$.legacy_Address, type$.legacy_Domain); + }, + get$address_3p_to_domain: function() { + var t1, t2, t3, t4, t5, t6, + map = new H.JsLinkedHashMap(type$.JsLinkedHashMap_of_legacy_Address_and_legacy_Domain); + for (t1 = this.get$domains_by_id(), t1 = J.get$iterator$ax(t1.get$values(t1)); t1.moveNext$0();) { + t2 = t1.get$current(t1); + t3 = t2.helix; + t4 = t2.forward; + if (t4) { + t5 = t2.__dnaend_end; + if (t5 == null) { + t5 = G.Domain.prototype.get$dnaend_end.call(t2); + t2.__dnaend_end = t5; + } + } else { + t5 = t2.__dnaend_start; + if (t5 == null) { + t5 = G.Domain.prototype.get$dnaend_start.call(t2); + t2.__dnaend_start = t5; + } + } + t6 = t5.offset; + if (t5.is_start) + t5 = t6; + else { + if (typeof t6 !== "number") + return t6.$sub(); + t5 = t6 - 1; + } + if (t5 == null) + H.throwExpression(Y.BuiltValueNullFieldError$("Address", "offset")); + map.$indexSet(0, new Z._$Address(t3, t5, t4), t2); + } + return A.BuiltMap_BuiltMap$of(map, type$.legacy_Address, type$.legacy_Domain); + }, + get$potential_vertical_crossovers: function() { + var t1, t2, ss, helix_idx, forward_top, t3, offset, forward_top0, t4, t5, _i, address_3p, t6, strand_3p, helix_idx_top, dna_end_top, substrand_bot, dna_end_bot, substrand_top, forward_top1, helix_idx_bot, _this = this, _null = null, + crossovers = H.setRuntimeTypeInfo([], type$.JSArray_legacy_PotentialVerticalCrossover); + for (t1 = J.get$iterator$ax(_this.strands._list); t1.moveNext$0();) { + t2 = t1.get$current(t1); + ss = t2.__first_domain; + if (ss == null) { + ss = E.Strand.prototype.get$first_domain.call(t2); + t2.__first_domain = ss; + } + helix_idx = ss.helix; + forward_top = ss.forward; + if (forward_top) { + t3 = ss.__dnaend_start; + if (t3 == null) { + t3 = G.Domain.prototype.get$dnaend_start.call(ss); + ss.__dnaend_start = t3; + } + } else { + t3 = ss.__dnaend_end; + if (t3 == null) { + t3 = G.Domain.prototype.get$dnaend_end.call(ss); + ss.__dnaend_end = t3; + } + } + offset = t3.offset; + if (!t3.is_start) { + if (typeof offset !== "number") + return offset.$sub(); + --offset; + } + if (offset == null) + H.throwExpression(Y.BuiltValueNullFieldError$("Address", "offset")); + forward_top0 = !forward_top; + t3 = helix_idx + 1; + t4 = [new Z._$Address(helix_idx - 1, offset, forward_top0), new Z._$Address(t3, offset, forward_top0)]; + t5 = t2.color; + _i = 0; + for (; _i < 2; ++_i) { + address_3p = t4[_i]; + t6 = _this.__address_3p_to_strand; + if (t6 == null) { + t6 = N.Design.prototype.get$address_3p_to_strand.call(_this); + _this.set$__address_3p_to_strand(t6); + } + if (t6._keys == null) + t6.set$_keys(J.get$keys$x(t6._map$_map)); + t6 = t6._keys; + t6.toString; + if (J.contains$1$asx(t6, address_3p)) { + t6 = _this.__address_3p_to_strand; + if (t6 == null) { + t6 = N.Design.prototype.get$address_3p_to_strand.call(_this); + _this.set$__address_3p_to_strand(t6); + } + strand_3p = J.$index$asx(t6._map$_map, address_3p); + if (!t2.$eq(0, strand_3p)) { + helix_idx_top = address_3p.helix_idx; + if (t3 === helix_idx_top) { + if (forward_top) { + t6 = ss.__dnaend_start; + if (t6 == null) { + t6 = G.Domain.prototype.get$dnaend_start.call(ss); + ss.__dnaend_start = t6; + dna_end_top = t6; + } else + dna_end_top = t6; + } else { + t6 = ss.__dnaend_end; + if (t6 == null) { + t6 = G.Domain.prototype.get$dnaend_end.call(ss); + ss.__dnaend_end = t6; + dna_end_top = t6; + } else + dna_end_top = t6; + } + substrand_bot = strand_3p.__last_domain; + if (substrand_bot == null) { + substrand_bot = E.Strand.prototype.get$last_domain.call(strand_3p); + strand_3p.__last_domain = substrand_bot; + } + if (substrand_bot.forward) { + t6 = substrand_bot.__dnaend_end; + if (t6 == null) { + t6 = G.Domain.prototype.get$dnaend_end.call(substrand_bot); + substrand_bot.__dnaend_end = t6; + dna_end_bot = t6; + } else + dna_end_bot = t6; + } else { + t6 = substrand_bot.__dnaend_start; + if (t6 == null) { + t6 = G.Domain.prototype.get$dnaend_start.call(substrand_bot); + substrand_bot.__dnaend_start = t6; + dna_end_bot = t6; + } else + dna_end_bot = t6; + } + substrand_top = ss; + forward_top1 = forward_top; + helix_idx_bot = helix_idx_top; + helix_idx_top = helix_idx; + } else { + substrand_top = strand_3p.__last_domain; + if (substrand_top == null) { + substrand_top = E.Strand.prototype.get$last_domain.call(strand_3p); + strand_3p.__last_domain = substrand_top; + } + if (substrand_top.forward) { + t6 = substrand_top.__dnaend_end; + if (t6 == null) { + t6 = G.Domain.prototype.get$dnaend_end.call(substrand_top); + substrand_top.__dnaend_end = t6; + dna_end_top = t6; + } else + dna_end_top = t6; + } else { + t6 = substrand_top.__dnaend_start; + if (t6 == null) { + t6 = G.Domain.prototype.get$dnaend_start.call(substrand_top); + substrand_top.__dnaend_start = t6; + dna_end_top = t6; + } else + dna_end_top = t6; + } + if (forward_top) { + t6 = ss.__dnaend_start; + if (t6 == null) { + t6 = G.Domain.prototype.get$dnaend_start.call(ss); + ss.__dnaend_start = t6; + dna_end_bot = t6; + } else + dna_end_bot = t6; + } else { + t6 = ss.__dnaend_end; + if (t6 == null) { + t6 = G.Domain.prototype.get$dnaend_end.call(ss); + ss.__dnaend_end = t6; + dna_end_bot = t6; + } else + dna_end_bot = t6; + } + substrand_bot = ss; + forward_top1 = forward_top0; + helix_idx_bot = helix_idx; + } + } else { + dna_end_bot = _null; + dna_end_top = dna_end_bot; + substrand_bot = dna_end_top; + substrand_top = substrand_bot; + forward_top1 = substrand_top; + helix_idx_bot = forward_top1; + helix_idx_top = helix_idx_bot; + } + } else { + dna_end_bot = _null; + dna_end_top = dna_end_bot; + substrand_bot = dna_end_top; + substrand_top = substrand_bot; + forward_top1 = substrand_top; + helix_idx_bot = forward_top1; + helix_idx_top = helix_idx_bot; + } + if (helix_idx_top != null) { + t6 = t5.toHexColor$0(); + C.JSArray_methods.add$1(crossovers, Z._$PotentialVerticalCrossover$_("#" + C.JSString_methods.padLeft$2(C.JSInt_methods.toRadixString$1(J.toInt$0$n(t6.r), 16), 2, "0") + C.JSString_methods.padLeft$2(C.JSInt_methods.toRadixString$1(J.toInt$0$n(t6.g), 16), 2, "0") + C.JSString_methods.padLeft$2(C.JSInt_methods.toRadixString$1(J.toInt$0$n(t6.b), 16), 2, "0"), dna_end_bot, dna_end_top, substrand_bot, substrand_top, forward_top1, helix_idx_bot, helix_idx_top, offset)); + } + } + } + return D._BuiltList$of(crossovers, type$.legacy_PotentialVerticalCrossover); + }, + get$max_offset: function() { + var t1 = this.helices; + return A.IterableIntegerExtension_get_max(J.map$1$1$ax(t1.get$values(t1), new N.Design_max_offset_closure(), type$.legacy_int)); + }, + get$min_offset: function() { + var t1 = this.helices; + return A.IterableIntegerExtension_get_min(J.map$1$1$ax(t1.get$values(t1), new N.Design_min_offset_closure(), type$.legacy_int)); + }, + add_strands$1: function(new_strands) { + var t1, _i, strand, t2, t3, t4, _this = this; + type$.legacy_Iterable_legacy_Strand._as(new_strands); + for (t1 = new_strands.length, _i = 0; _i < new_strands.length; new_strands.length === t1 || (0, H.throwConcurrentModificationError)(new_strands), ++_i) { + strand = new_strands[_i]; + t2 = strand.__domains; + if (t2 == null) { + t2 = E.Strand.prototype.get$domains.call(strand); + strand.set$__domains(t2); + } + t2 = J.get$iterator$ax(t2._list); + for (; t2.moveNext$0();) { + t3 = t2.get$current(t2); + t4 = _this.__helix_idxs; + if (t4 == null) { + t4 = N.Design.prototype.get$helix_idxs.call(_this); + _this.set$__helix_idxs(t4); + } + t3 = t3.helix; + if (!J.contains$1$asx(t4._list, t3)) + throw H.wrapException(N.IllegalDesignError$("Strand includes a domain on non-existent helix: " + t3)); + } + } + return _this.rebuild$1(new N.Design_add_strands_closure(new_strands)); + }, + remove_strands$1: function(strands_to_remove) { + return this.rebuild$1(new N.Design_remove_strands_closure(J.toSet$0$ax(type$.legacy_Iterable_legacy_Strand._as(strands_to_remove)._copy_on_write_list$_list))); + }, + has_default_groups$0: function() { + var t1 = this.groups._map$_map, + t2 = J.getInterceptor$asx(t1); + return t2.get$length(t1) === 1 && t2.containsKey$1(t1, "default_group"); + }, + default_group$0: function() { + if (!this.has_default_groups$0()) + throw H.wrapException(P.ArgumentError$("cannot access Design.helices_view_order when groups are used. Access group.helices_view_order for each group instead.")); + var t1 = this.groups; + if (t1 == null) + throw H.wrapException(P.AssertionError$("Design.groups should not be None by this point")); + return C.JSArray_methods.get$first(P.List_List$from(t1.get$values(t1), true, type$.legacy_HelixGroup)); + }, + get$grid: function(_) { + return this.default_group$0().grid; + }, + to_json_serializable$1$suppress_indent: function(suppress_indent) { + var t6, t7, t8, t9, json_map0, group_map, group, t10, t11, pos, helices_view_order_to_write, use_no_indent, gp, t12, distances, t13, ticks, helix_json, default_max_end, helices_view_order, order, _i, mod_type, mods_map, _this = this, + _s8_ = "position", + _s18_ = "helices_view_order", + t1 = type$.legacy_String, + t2 = type$.dynamic, + json_map = P.LinkedHashMap_LinkedHashMap$_literal(["version", "0.19.4"], t1, t2), + t3 = _this.unused_fields, + t4 = t3._map$_map, + t5 = H._instanceType(t3); + json_map.addAll$1(0, new S.CopyOnWriteMap(t3._mapFactory, t4, t5._eval$1("@<1>")._bind$1(t5._rest[1])._eval$1("CopyOnWriteMap<1,2>"))); + if (_this.has_default_groups$0()) + json_map.$indexSet(0, "grid", _this.default_group$0().grid.name); + t3 = _this.geometry; + t4 = t3.rise_per_base_pair; + t5 = t3.helix_radius; + t6 = t3.inter_helix_gap; + t7 = t3.bases_per_turn; + t8 = t3.minor_groove_angle; + t9 = type$.JSArray_legacy_double; + if (!E.are_all_close(H.setRuntimeTypeInfo([t4, t5, t6, t7, t8], t9), H.setRuntimeTypeInfo([0.332, 1, 1, 10.5, 150], t9))) { + json_map0 = new H.JsLinkedHashMap(type$.JsLinkedHashMap_of_legacy_String_and_dynamic); + if (!(Math.abs(t4 - 0.332) < 1e-9)) + json_map0.$indexSet(0, "rise_per_base_pair", t4); + if (!(Math.abs(t5 - 1) < 1e-9)) + json_map0.$indexSet(0, "helix_radius", t5); + if (!(Math.abs(t6 - 1) < 1e-9)) + json_map0.$indexSet(0, "inter_helix_gap", t6); + if (!(Math.abs(t7 - 10.5) < 1e-9)) + json_map0.$indexSet(0, "bases_per_turn", t7); + if (!(Math.abs(t8 - 150) < 1e-9)) + json_map0.$indexSet(0, "minor_groove_angle", t8); + t3 = t3.unused_fields; + t4 = t3._map$_map; + t5 = H._instanceType(t3); + json_map0.addAll$1(0, new S.CopyOnWriteMap(t3._mapFactory, t4, t5._eval$1("@<1>")._bind$1(t5._rest[1])._eval$1("CopyOnWriteMap<1,2>"))); + json_map.$indexSet(0, "geometry", json_map0); + } + if (!_this.has_default_groups$0()) { + group_map = P.LinkedHashMap_LinkedHashMap$_empty(t1, t2); + for (t3 = _this.groups, t4 = J.get$iterator$ax(t3.get$keys(t3)), t5 = type$.legacy_BuiltList_legacy_int, t6 = type$.legacy_Iterable_legacy_int, t7 = type$.legacy_num, t3 = t3._map$_map, t8 = J.getInterceptor$asx(t3); t4.moveNext$0();) { + t9 = t4.get$current(t4); + group = t8.$index(t3, t9); + t10 = _this.__helix_idxs_in_group; + if (t10 == null) { + t10 = N.Design.prototype.get$helix_idxs_in_group.call(_this); + _this.set$__helix_idxs_in_group(t10); + } + t10 = J.$index$asx(t10._map$_map, t9); + group.toString; + t6._as(t10); + json_map0 = P.LinkedHashMap_LinkedHashMap$_empty(t1, t2); + t11 = group.position; + pos = P.LinkedHashMap_LinkedHashMap$_literal(["x", t11.x, "y", t11.y, "z", t11.z], t1, t7); + json_map0.$indexSet(0, _s8_, suppress_indent ? new K.NoIndent(pos) : pos); + t11 = group.pitch; + if (!(Math.abs(t11 - 0) < 1e-9)) + json_map0.$indexSet(0, "pitch", t11); + t11 = group.roll; + if (!(Math.abs(t11 - 0) < 1e-9)) + json_map0.$indexSet(0, "roll", t11); + t11 = group.yaw; + if (!(Math.abs(t11 - 0) < 1e-9)) + json_map0.$indexSet(0, "yaw", t11); + json_map0.$indexSet(0, "grid", group.grid.name); + if (!H.boolConversionCheck(E.helices_view_order_is_default(t5._as(t10), group))) { + t10 = group.helices_view_order; + helices_view_order_to_write = new Q.CopyOnWriteList(true, t10._list, H._instanceType(t10)._eval$1("CopyOnWriteList<1>")); + json_map0.$indexSet(0, _s18_, suppress_indent ? new K.NoIndent(helices_view_order_to_write) : helices_view_order_to_write); + } + group_map.$indexSet(0, t9, json_map0); + } + json_map.$indexSet(0, "groups", group_map); + } + t3 = type$.legacy_int; + t4 = P.LinkedHashMap_LinkedHashMap$_empty(t3, t2); + for (t5 = _this.helices, t6 = J.get$iterator$ax(t5.get$values(t5)), t7 = type$.JSArray_legacy_int, t8 = type$.legacy_num; t6.moveNext$0();) { + t9 = t6.get$current(t6); + t10 = t9.idx; + json_map0 = P.LinkedHashMap_LinkedHashMap$_empty(t1, t2); + t11 = t9.__has_default_major_ticks; + if (t11 == null ? t9.__has_default_major_ticks = O.Helix.prototype.get$has_default_major_ticks.call(t9) : t11) { + t11 = t9.__has_position; + use_no_indent = !(t11 == null ? t9.__has_position = O.Helix.prototype.get$has_position.call(t9) : t11); + } else + use_no_indent = false; + t11 = t9.__has_default_roll; + if (!(t11 == null ? t9.__has_default_roll = O.Helix.prototype.get$has_default_roll.call(t9) : t11)) { + t11 = t9.roll; + json_map0.$indexSet(0, "roll", Math.abs(t11 - C.JSNumber_methods.roundToDouble$0(t11)) < 1e-9 ? C.JSNumber_methods.round$0(t11) : t11); + } + t11 = t9.__has_grid_position; + if (t11 == null ? t9.__has_grid_position = O.Helix.prototype.get$has_grid_position.call(t9) : t11) { + t11 = t9.grid_position; + gp = H.setRuntimeTypeInfo([t11.h, t11.v], t7); + json_map0.$indexSet(0, "grid_position", suppress_indent && !use_no_indent ? new K.NoIndent(gp) : gp); + } + t11 = t9.__has_position; + if (t11 == null ? t9.__has_position = O.Helix.prototype.get$has_position.call(t9) : t11) { + t11 = t9.position_; + if (t11 == null) + t11 = E.grid_position_to_position3d(t9.grid_position, t9.grid, t9.geometry); + pos = P.LinkedHashMap_LinkedHashMap$_literal(["x", t11.x, "y", t11.y, "z", t11.z], t1, t8); + json_map0.$indexSet(0, _s8_, suppress_indent && !use_no_indent ? new K.NoIndent(pos) : pos); + } + t11 = t9.__has_default_major_tick_distance; + if (!(t11 == null ? t9.__has_default_major_tick_distance = O.Helix.prototype.get$has_default_major_tick_distance.call(t9) : t11)) { + t11 = t9.major_tick_periodic_distances._list; + t12 = J.getInterceptor$asx(t11); + json_map0.$indexSet(0, "major_tick_distance", t12.get$length(t11) !== 1 ? null : t12.get$first(t11)); + } + t11 = t9.__has_default_major_tick_start; + if (!(t11 == null ? t9.__has_default_major_tick_start = O.Helix.prototype.get$has_default_major_tick_start.call(t9) : t11)) + json_map0.$indexSet(0, "major_tick_start", t9.major_tick_start); + t11 = t9.__has_default_group; + if (!(t11 == null ? t9.__has_default_group = O.Helix.prototype.get$has_default_group.call(t9) : t11)) + json_map0.$indexSet(0, "group", t9.group); + t11 = t9.__has_major_tick_periodic_distances; + if (t11 == null ? t9.__has_major_tick_periodic_distances = O.Helix.prototype.get$has_major_tick_periodic_distances.call(t9) : t11) { + t11 = t9.major_tick_periodic_distances; + distances = new Q.CopyOnWriteList(true, t11._list, H._instanceType(t11)._eval$1("CopyOnWriteList<1>")); + json_map0.$indexSet(0, "major_tick_periodic_distances", suppress_indent && !use_no_indent ? new K.NoIndent(distances) : distances); + } + t11 = t9.unused_fields; + t12 = t11._map$_map; + t13 = H._instanceType(t11); + json_map0.addAll$1(0, new S.CopyOnWriteMap(t11._mapFactory, t12, t13._eval$1("@<1>")._bind$1(t13._rest[1])._eval$1("CopyOnWriteMap<1,2>"))); + t11 = t9.__has_default_major_ticks; + if (!(t11 == null ? t9.__has_default_major_ticks = O.Helix.prototype.get$has_default_major_ticks.call(t9) : t11)) { + t9 = t9.major_ticks; + ticks = new Q.CopyOnWriteList(true, t9._list, H._instanceType(t9)._eval$1("CopyOnWriteList<1>")); + json_map0.$indexSet(0, "major_ticks", suppress_indent && !use_no_indent ? new K.NoIndent(ticks) : ticks); + } + json_map0.$indexSet(0, "idx", t10); + t4.$indexSet(0, t10, suppress_indent && use_no_indent ? new K.NoIndent(json_map0) : json_map0); + } + t6 = t4.get$values(t4); + t7 = H._instanceType(t6); + _this._remove_helix_idxs_if_default$1(P.List_List$from(H.MappedIterable_MappedIterable(t6, t7._eval$1("@(Iterable.E)")._as(E.util__unwrap_from_noindent$closure()), t7._eval$1("Iterable.E"), t2), true, type$.legacy_Map_of_legacy_String_and_dynamic)); + for (t5 = J.get$iterator$ax(t5.get$values(t5)), t6 = _this.strands; t5.moveNext$0();) { + t7 = t5.get$current(t5); + helix_json = t4.$index(0, t7.idx); + if (helix_json instanceof K.NoIndent) + helix_json = helix_json.value; + default_max_end = N.calculate_default_max_offset(t6); + t8 = t7.max_offset; + if (t8 !== default_max_end) + J.$indexSet$ax(helix_json, "max_offset", t8); + if (_this.has_nondefault_min_offset$1(t7)) + J.$indexSet$ax(helix_json, "min_offset", t7.min_offset); + } + t4 = t4.get$values(t4); + json_map.$indexSet(0, "helices", P.List_List$of(t4, true, H._instanceType(t4)._eval$1("Iterable.E"))); + if (_this.has_default_groups$0()) { + helices_view_order = _this.default_group$0().helices_view_order; + if (!E.is_increasing(helices_view_order, t3)) { + order = new Q.CopyOnWriteList(true, helices_view_order._list, H._instanceType(helices_view_order)._eval$1("CopyOnWriteList<1>")); + json_map.$indexSet(0, _s18_, suppress_indent ? new K.NoIndent(order) : order); + } + } + for (t3 = [C.ModificationType_five_prime, C.ModificationType_three_prime, C.ModificationType_internal], _i = 0; _i < 3; ++_i) { + mod_type = t3[_i]; + t4 = _this._all_modifications$1(mod_type)._set; + t5 = t4.get$length(t4); + if (typeof t5 !== "number") + return t5.$gt(); + if (t5 > 0) { + mods_map = P.LinkedHashMap_LinkedHashMap$_empty(t1, t2); + for (t4 = t4.get$iterator(t4); t4.moveNext$0();) { + t5 = t4.get$current(t4); + if (!mods_map.containsKey$1(0, t5.get$vendor_code())) + mods_map.$indexSet(0, t5.get$vendor_code(), t5.to_json_serializable$1$suppress_indent(suppress_indent)); + } + json_map.$indexSet(0, mod_type.get$key(mod_type), mods_map); + } + } + t1 = H.setRuntimeTypeInfo([], type$.JSArray_legacy_Map_of_legacy_String_and_dynamic); + for (t2 = J.get$iterator$ax(t6._list); t2.moveNext$0();) + t1.push(t2.get$current(t2).to_json_serializable$1$suppress_indent(suppress_indent)); + json_map.$indexSet(0, "strands", t1); + return json_map; + }, + to_json_serializable$0: function() { + return this.to_json_serializable$1$suppress_indent(false); + }, + _all_modifications$1: function(mod_type) { + var t1, t2, t3, t4, t5, t6, mods_5p, t7, mods_3p, mods_int, _this = this; + if (mod_type == null) { + t1 = type$.dynamic; + t2 = P.LinkedHashSet_LinkedHashSet$_empty(t1); + for (t3 = _this.strands._list, t4 = J.getInterceptor$ax(t3), t5 = t4.get$iterator(t3); t5.moveNext$0();) { + t6 = t5.get$current(t5).modification_5p; + if (t6 != null) + t2.add$1(0, t6); + } + t5 = type$.legacy_Modification; + mods_5p = X.BuiltSet_BuiltSet$from(t2, t5); + t2 = P.LinkedHashSet_LinkedHashSet$_empty(t1); + for (t6 = t4.get$iterator(t3); t6.moveNext$0();) { + t7 = t6.get$current(t6).modification_3p; + if (t7 != null) + t2.add$1(0, t7); + } + mods_3p = X.BuiltSet_BuiltSet$from(t2, t5); + t1 = P.LinkedHashSet_LinkedHashSet$_empty(t1); + for (t2 = t4.get$iterator(t3); t2.moveNext$0();) { + t3 = t2.get$current(t2).modifications_int; + if (t3._values == null) + t3.set$_values(J.get$values$x(t3._map$_map)); + t3 = t3._values; + t3.toString; + t3 = J.get$iterator$ax(t3); + for (; t3.moveNext$0();) + t1.add$1(0, t3.get$current(t3)); + } + mods_int = X.BuiltSet_BuiltSet$from(t1, t5); + return mods_5p.union$1(mods_3p).union$1(mods_int); + } else if (mod_type === C.ModificationType_five_prime) { + t1 = P.LinkedHashSet_LinkedHashSet$_empty(type$.dynamic); + for (t2 = J.get$iterator$ax(_this.strands._list); t2.moveNext$0();) { + t3 = t2.get$current(t2).modification_5p; + if (t3 != null) + t1.add$1(0, t3); + } + return X.BuiltSet_BuiltSet$from(t1, type$.legacy_Modification); + } else if (mod_type === C.ModificationType_three_prime) { + t1 = P.LinkedHashSet_LinkedHashSet$_empty(type$.dynamic); + for (t2 = J.get$iterator$ax(_this.strands._list); t2.moveNext$0();) { + t3 = t2.get$current(t2).modification_3p; + if (t3 != null) + t1.add$1(0, t3); + } + return X.BuiltSet_BuiltSet$from(t1, type$.legacy_Modification); + } else if (mod_type === C.ModificationType_internal) { + t1 = P.LinkedHashSet_LinkedHashSet$_empty(type$.dynamic); + for (t2 = J.get$iterator$ax(_this.strands._list); t2.moveNext$0();) { + t3 = t2.get$current(t2).modifications_int; + if (t3._values == null) + t3.set$_values(J.get$values$x(t3._map$_map)); + t3 = t3._values; + t3.toString; + t3 = J.get$iterator$ax(t3); + for (; t3.moveNext$0();) + t1.add$1(0, t3.get$current(t3)); + } + return X.BuiltSet_BuiltSet$from(t1, type$.legacy_Modification); + } else + throw H.wrapException(P.AssertionError$("unrecognized ModificationType: " + mod_type.toString$0(0))); + }, + has_nondefault_min_offset$1: function(helix) { + var starts = J.map$1$1$ax(this.domains_on_helix$1(helix.idx), new N.Design_has_nondefault_min_offset_closure(), type$.legacy_int), + min_start = starts.get$isEmpty(starts) ? null : A.IterableIntegerExtension_get_min(starts), + t1 = min_start == null || min_start >= 0, + t2 = helix.min_offset; + if (t1) + return t2 !== 0; + else + return t2 !== min_start; + }, + _check_helix_offsets$0: function() { + var t1, t2, t3; + for (t1 = this.helices, t1 = J.get$iterator$ax(t1.get$values(t1)); t1.moveNext$0();) { + t2 = t1.get$current(t1); + t3 = t2.min_offset >= t2.max_offset; + if (t3) + throw H.wrapException(N.IllegalDesignError$("for helix " + t2.idx + ", helix.min_offset = " + t2.min_offset + " must be strictly less than helix.max_offset = " + t2.max_offset)); + } + }, + _check_strands_reference_helices_legally$0: function() { + var t1, t2; + for (t1 = J.get$iterator$ax(this.strands._list); t1.moveNext$0();) { + t2 = t1.get$current(t1); + this._check_strand_references_legal_helices$1(t2); + this._check_strand_has_legal_offsets_in_helices$1(t2); + } + }, + _check_strand_references_legal_helices$1: function(strand) { + var t1, t2, t3, t4, t5, t6; + for (t1 = J.get$iterator$ax(strand.get$domains()._list), t2 = this.helices; t1.moveNext$0();) { + t3 = t1.get$current(t1); + t4 = t3.helix; + t5 = t2._map$_map; + t6 = J.getInterceptor$x(t5); + if (!t6.containsKey$1(t5, t4)) { + t1 = "domain " + t3.toString$0(0) + " refers to nonexistent Helix index " + t4 + "; here is the list of valid helices: "; + if (t2._keys == null) + t2.set$_keys(t6.get$keys(t5)); + t3 = t2._keys; + t3.toString; + throw H.wrapException(N.StrandError$(strand, t1 + J.join$1$ax(t3, ", "))); + } + } + }, + _check_strand_has_legal_offsets_in_helices$1: function(strand) { + var t1, t2, t3, t4, helix, t5, t6; + for (t1 = J.get$iterator$ax(strand.get$domains()._list), t2 = this.helices; t1.moveNext$0();) { + t3 = t1.get$current(t1); + t4 = t3.helix; + helix = J.$index$asx(t2._map$_map, t4); + t5 = t3.start; + t6 = helix.min_offset; + if (t5 < t6) + throw H.wrapException(N.StrandError$(strand, "domain " + t3.toString$0(0) + " has start offset " + t5 + ", beyond the beginning of Helix " + t4 + " that has min_offset = " + t6)); + t5 = t3.end; + t6 = helix.max_offset; + if (t5 > t6) + throw H.wrapException(N.StrandError$(strand, "domain " + t3.toString$0(0) + " has end offset " + t5 + ", beyond the end of Helix " + t4 + " that has max_offset = " + t6)); + } + }, + _check_loopouts_not_consecutive_or_singletons_or_zero_length$0: function() { + var t1, t2, t3; + for (t1 = J.get$iterator$ax(this.strands._list); t1.moveNext$0();) { + t2 = t1.get$current(t1); + if (J.get$length$asx(t2.substrands._list) === 1) { + t3 = t2.__first_domain; + if (t3 == null) + t3 = t2.__first_domain = E.Strand.prototype.get$first_domain.call(t2); + t3.toString; + } + t2.check_two_consecutive_loopouts$0(); + t2.check_loopouts_length$0(); + } + }, + check_strands_overlap_legally$0: function() { + var t1, t2, t3, t4, t5, t6, t7, domains, t8, offsets_data, t9, current_domains, _i, data, offset, domain0, domain1, domain2, + err_msg = new N.Design_check_strands_overlap_legally_err_msg(); + for (t1 = this.helices, t1 = J.get$iterator$ax(t1.get$keys(t1)), t2 = type$.JSArray_legacy_Domain, t3 = type$.legacy_Tuple3_of_legacy_int_and_legacy_bool_and_legacy_Domain, t4 = type$.nullable_int_Function_2_legacy_Tuple3_of_legacy_int_and_legacy_bool_and_legacy_Domain_and_legacy_$1, t5 = type$.Tuple3_of_legacy_int_and_legacy_bool_and_legacy_Domain, t6 = type$.JSArray_legacy_Tuple3_of_legacy_int_and_legacy_bool_and_legacy_Domain; t1.moveNext$0();) { + t7 = t1.get$current(t1); + domains = this.domains_on_helix$1(t7); + t8 = J.getInterceptor$asx(domains); + if (t8.get$length(domains) === 0) + continue; + offsets_data = H.setRuntimeTypeInfo([], t6); + for (t8 = t8.get$iterator(domains); t8.moveNext$0();) { + t9 = t8.get$current(t8); + C.JSArray_methods.add$1(offsets_data, new S.Tuple3(t9.start, true, t9, t5)); + C.JSArray_methods.add$1(offsets_data, new S.Tuple3(t9.end, false, t9, t5)); + } + t8 = t4._as(new N.Design_check_strands_overlap_legally_closure()); + if (!!offsets_data.immutable$list) + H.throwExpression(P.UnsupportedError$("sort")); + t9 = offsets_data.length - 1; + if (t9 - 0 <= 32) + H.Sort__insertionSort(offsets_data, 0, t9, t8, t3); + else + H.Sort__dualPivotQuicksort(offsets_data, 0, t9, t8, t3); + current_domains = H.setRuntimeTypeInfo([], t2); + for (t8 = offsets_data.length, _i = 0; _i < offsets_data.length; offsets_data.length === t8 || (0, H.throwConcurrentModificationError)(offsets_data), ++_i) { + data = offsets_data[_i]; + offset = data.item1; + if (H.boolConversionCheck(data.item2)) { + if (current_domains.length >= 2) { + t9 = current_domains[1]; + if (typeof offset !== "number") + return offset.$ge(); + if (offset >= t9.end) + C.JSArray_methods.removeAt$1(current_domains, 1); + } + if (current_domains.length >= 1) { + t9 = current_domains[0]; + if (typeof offset !== "number") + return offset.$ge(); + if (offset >= t9.end) + C.JSArray_methods.removeAt$1(current_domains, 0); + } + C.JSArray_methods.add$1(current_domains, data.item3); + t9 = current_domains.length; + if (t9 < 2) + continue; + domain0 = current_domains[0]; + domain1 = current_domains[1]; + if (t9 > 2) { + domain2 = current_domains[2]; + t1 = domain0.forward; + t2 = domain1.forward; + if (t1 === t2) + throw H.wrapException(N.IllegalDesignError$(err_msg.call$3(domain0, domain1, t7))); + t3 = domain2.forward; + if (t1 === t3) + throw H.wrapException(N.IllegalDesignError$(err_msg.call$3(domain0, domain2, t7))); + if (t2 === t3) + throw H.wrapException(N.IllegalDesignError$(err_msg.call$3(domain1, domain2, t7))); + throw H.wrapException(P.AssertionError$("since current_domains = " + H.S(current_domains) + " has at least three domains, I expected to find a pair of illegally overlapping domains")); + } else if (domain0.forward === domain1.forward) + throw H.wrapException(N.IllegalDesignError$(err_msg.call$3(domain0, domain1, t7))); + } + } + } + }, + get$helix_idxs_in_group: function() { + var t3, t4, t5, t6, t7, t8, t9, + t1 = type$.legacy_String, + t2 = P.LinkedHashMap_LinkedHashMap$_empty(t1, type$.legacy_List_legacy_int); + for (t3 = this.groups, t3 = J.get$iterator$ax(t3.get$keys(t3)), t4 = type$.JSArray_legacy_int; t3.moveNext$0();) + t2.$indexSet(0, t3.get$current(t3), H.setRuntimeTypeInfo([], t4)); + for (t3 = this.helices, t4 = J.get$iterator$ax(t3.get$keys(t3)); t4.moveNext$0();) { + t5 = t4.get$current(t4); + t6 = t2.$index(0, J.$index$asx(t3._map$_map, t5).group); + (t6 && C.JSArray_methods).add$1(t6, t5); + } + t3 = type$.legacy_BuiltList_legacy_int; + t4 = P.LinkedHashMap_LinkedHashMap$_empty(t1, t3); + for (t5 = t2.get$keys(t2), t5 = t5.get$iterator(t5), t6 = type$.legacy_int, t7 = type$._BuiltList_legacy_int; t5.moveNext$0();) { + t8 = t5.get$current(t5); + t9 = new D._BuiltList(P.List_List$from(t2.$index(0, t8), false, t6), t7); + t9._maybeCheckForNull$0(); + t4.$indexSet(0, t8, t9); + } + return A.BuiltMap_BuiltMap$of(t4, t1, t3); + }, + _check_grid_positions_disjoint$0: function() { + var t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, i, idx1, gp1, j, j0, idx2, _this = this; + for (t1 = _this.groups, t2 = J.get$iterator$ax(t1.get$keys(t1)), t3 = _this.helices, t4 = type$.legacy_int, t5 = type$.legacy_GridPosition; t2.moveNext$0();) { + t6 = t2.get$current(t2); + if (J.$index$asx(t1._map$_map, t6).grid === C.Grid_none) + continue; + t7 = _this.__helix_idxs_in_group; + if (t7 == null) { + t7 = N.Design.prototype.get$helix_idxs_in_group.call(_this); + _this.set$__helix_idxs_in_group(t7); + } + t8 = P.LinkedHashMap_LinkedHashMap$_empty(t4, t5); + for (t7 = J.$index$asx(t7._map$_map, t6)._list, t9 = J.getInterceptor$ax(t7), t10 = t9.get$iterator(t7); t10.moveNext$0();) { + t11 = t10.get$current(t10); + t8.$indexSet(0, t11, J.$index$asx(t3._map$_map, t11).grid_position); + } + for (i = 0; i < t8.get$length(t8) - 1; i = j) { + idx1 = t9.$index(t7, i); + gp1 = t8.$index(0, idx1); + j = i + 1; + t10 = J.getInterceptor$(gp1); + j0 = j; + while (true) { + t11 = t9.get$length(t7); + if (typeof t11 !== "number") + return H.iae(t11); + if (!(j0 < t11)) + break; + idx2 = t9.$index(t7, j0); + if (t10.$eq(gp1, t8.$index(0, idx2))) + throw H.wrapException(N.IllegalDesignError$("cannot use the same grid_position twice in the same group, but helices " + H.S(idx1) + " and " + H.S(idx2) + " both have grid_position " + H.S(gp1) + " and are both in group " + H.S(t6))); + ++j0; + } + } + } + }, + find_unpaired_insertion_deletions_on_domain$2: function(domain, include_other_domain) { + var offset, t1, t2, t3, t4, other_dom, t5, t6, length_insertion_substrand, + unpaireds = H.setRuntimeTypeInfo([], type$.JSArray_legacy_Address); + for (offset = domain.start, t1 = domain.end, t2 = domain.deletions, t3 = domain.helix, t4 = domain.forward; offset < t1; ++offset) { + other_dom = this.other_domain_at_offset$2(domain, offset); + if (other_dom == null) + continue; + t5 = t2._list; + t6 = J.getInterceptor$asx(t5); + if (t6.contains$1(t5, offset) && !J.contains$1$asx(other_dom.deletions._list, offset)) { + C.JSArray_methods.add$1(unpaireds, new Z._$Address(t3, offset, t4)); + continue; + } else if (include_other_domain && J.contains$1$asx(other_dom.deletions._list, offset) && !t6.contains$1(t5, offset)) { + t5 = other_dom.helix; + t6 = other_dom.forward; + C.JSArray_methods.add$1(unpaireds, new Z._$Address(t5, offset, t6)); + continue; + } + t5 = domain.__insertion_offset_to_length; + if (t5 == null) { + t5 = G.Domain.prototype.get$insertion_offset_to_length.call(domain); + domain.set$__insertion_offset_to_length(t5); + } + length_insertion_substrand = J.$index$asx(t5._map$_map, offset); + t5 = other_dom.__insertion_offset_to_length; + if (t5 == null) { + t5 = G.Domain.prototype.get$insertion_offset_to_length.call(other_dom); + other_dom.set$__insertion_offset_to_length(t5); + } + if (length_insertion_substrand != J.$index$asx(t5._map$_map, offset)) { + t5 = other_dom.helix; + t6 = other_dom.forward; + C.JSArray_methods.add$1(unpaireds, new Z._$Address(t5, offset, t6)); + continue; + } + } + return unpaireds; + }, + _find_mismatches_on_substrand$1: function(substrand) { + var offset, t1, t2, t3, t4, t5, t6, other_ss, seq, other_seq, dna_idx, t7, t8, length_insertion_substrand, idx_other, t9, idx, t10, within_insertion, t11, _s5_ = "_list", + mismatches = D.ListBuilder_ListBuilder(C.List_empty, type$.legacy_Mismatch); + for (offset = substrand.start, t1 = substrand.end, t2 = mismatches.$ti, t3 = t2._precomputed1, t4 = substrand.forward, t5 = !t3._is(null), t2 = t2._eval$1("List<1>"), t6 = substrand.deletions; offset < t1; ++offset) { + if (J.contains$1$asx(t6._list, offset)) + continue; + other_ss = this.other_domain_at_offset$2(substrand, offset); + if (other_ss == null || other_ss.dna_sequence == null) + continue; + seq = substrand.dna_sequence_in$2(offset, offset); + other_seq = other_ss.dna_sequence_in$2(offset, offset); + if (J.contains$1$asx(other_ss.deletions._list, offset)) { + dna_idx = substrand.substrand_offset_to_substrand_dna_idx$2(offset, t4); + t7 = t3._as(new N.Mismatch(dna_idx, offset, seq.length === 1 ? -1 : 0)); + !$.$get$isSoundMode() && t5; + if (mismatches._listOwner != null) { + t8 = mismatches.__ListBuilder__list; + mismatches.set$__ListBuilder__list(t2._as(P.List_List$from(t8 === $ ? H.throwExpression(H.LateError$fieldNI(_s5_)) : t8, true, t3))); + mismatches.set$_listOwner(null); + } + t8 = mismatches.__ListBuilder__list; + J.add$1$ax(t8 === $ ? H.throwExpression(H.LateError$fieldNI(_s5_)) : t8, t7); + continue; + } + t7 = substrand.__insertion_offset_to_length; + if (t7 == null) { + t7 = G.Domain.prototype.get$insertion_offset_to_length.call(substrand); + substrand.set$__insertion_offset_to_length(t7); + } + length_insertion_substrand = J.$index$asx(t7._map$_map, offset); + t7 = other_ss.__insertion_offset_to_length; + if (t7 == null) { + t7 = G.Domain.prototype.get$insertion_offset_to_length.call(other_ss); + other_ss.set$__insertion_offset_to_length(t7); + } + if (length_insertion_substrand != J.$index$asx(t7._map$_map, offset)) { + dna_idx = substrand.substrand_offset_to_substrand_dna_idx$2(offset, t4); + t7 = t3._as(new N.Mismatch(dna_idx, offset, seq.length === 1 ? -1 : 0)); + !$.$get$isSoundMode() && t5; + if (mismatches._listOwner != null) { + t8 = mismatches.__ListBuilder__list; + mismatches.set$__ListBuilder__list(t2._as(P.List_List$from(t8 === $ ? H.throwExpression(H.LateError$fieldNI(_s5_)) : t8, true, t3))); + mismatches.set$_listOwner(null); + } + t8 = mismatches.__ListBuilder__list; + J.add$1$ax(t8 === $ ? H.throwExpression(H.LateError$fieldNI(_s5_)) : t8, t7); + continue; + } + for (t7 = seq.length, idx_other = t7 - 1, t8 = J.getInterceptor$s(other_seq), t9 = t7 === 1, idx = 0; idx < t7; ++idx, --idx_other) + if (C.JSString_methods._codeUnitAt$1(seq, idx) !== N._wc(t8.codeUnitAt$1(other_seq, idx_other))) { + t10 = substrand.substrand_offset_to_substrand_dna_idx$2(offset, t4); + within_insertion = t9 ? -1 : idx; + t10 = t3._as(new N.Mismatch(t10 + idx, offset, within_insertion)); + !$.$get$isSoundMode() && t5; + if (mismatches._listOwner != null) { + t11 = mismatches.__ListBuilder__list; + mismatches.set$__ListBuilder__list(t2._as(P.List_List$from(t11 === $ ? H.throwExpression(H.LateError$fieldNI(_s5_)) : t11, true, t3))); + mismatches.set$_listOwner(null); + } + t11 = mismatches.__ListBuilder__list; + J.add$1$ax(t11 === $ ? H.throwExpression(H.LateError$fieldNI(_s5_)) : t11, t10); + } + } + return mismatches; + }, + other_domain_at_offset$2: function(domain, offset) { + var t1, _i, other_domain, + other_domains = this._other_domains_overlapping$1(domain); + for (t1 = other_domains.length, _i = 0; _i < t1; ++_i) { + other_domain = other_domains[_i]; + if (other_domain.start <= offset && offset < other_domain.end) + return other_domain; + } + return null; + }, + domains_on_helix$2$forward: function(helix_idx, $forward) { + var domains, + t1 = J.$index$asx(this.get$helix_idx_to_domains()._map$_map, helix_idx), + t2 = t1._list; + t1 = H.instanceType(t1); + domains = new Q.CopyOnWriteList(true, t2, t1._eval$1("CopyOnWriteList<1>")); + if ($forward != null) { + t1 = J.where$1$ax(t2, t1._eval$1("bool(1)")._as(new N.Design_domains_on_helix_closure($forward))); + domains = P.List_List$of(t1, true, t1.$ti._eval$1("Iterable.E")); + } + return domains; + }, + domains_on_helix$1: function(helix_idx) { + return this.domains_on_helix$2$forward(helix_idx, null); + }, + domains_on_helix_overlapping$2$forward: function(domain, $forward) { + var domains = this.domains_on_helix$2$forward(domain.helix, $forward); + J.removeWhere$1$ax(domains, new N.Design_domains_on_helix_overlapping_closure(domain)); + return domains; + }, + domains_on_helix_overlapping$1: function(domain) { + return this.domains_on_helix_overlapping$2$forward(domain, null); + }, + domains_on_helices$1: function(helix_idxs) { + var list_builder, t1; + type$.legacy_Iterable_legacy_int._as(helix_idxs); + list_builder = D.ListBuilder_ListBuilder(C.List_empty, type$.legacy_Domain); + for (t1 = helix_idxs._set, t1 = t1.get$iterator(t1); t1.moveNext$0();) + list_builder.addAll$1(0, this.domains_on_helix$1(t1.get$current(t1))); + return list_builder.build$0(); + }, + get$domain_name_mismatches: function() { + var t3, t4, t5, forward_domains, t6, _i, forward_domain, t7, t8, t9, + _s18_ = "DomainNameMismatch", + t1 = type$.legacy_int, + t2 = P.LinkedHashMap_LinkedHashMap$_empty(t1, type$.legacy_List_legacy_DomainNameMismatch); + for (t3 = this.helices, t4 = J.get$iterator$ax(t3.get$keys(t3)), t5 = type$.JSArray_legacy_DomainNameMismatch; t4.moveNext$0();) + t2.$indexSet(0, t4.get$current(t4), H.setRuntimeTypeInfo([], t5)); + for (t3 = J.get$iterator$ax(t3.get$keys(t3)); t3.moveNext$0();) { + t4 = t3.get$current(t3); + forward_domains = J.toList$0$ax(this.domains_on_helix$2$forward(t4, true)); + t5 = H._arrayInstanceType(forward_domains)._eval$1("bool(1)")._as(new N.Design_domain_name_mismatches_closure()); + if (!!forward_domains.fixed$length) + H.throwExpression(P.UnsupportedError$("removeWhere")); + C.JSArray_methods._removeWhere$2(forward_domains, t5, true); + for (t5 = forward_domains.length, t6 = t4 == null, _i = 0; _i < forward_domains.length; forward_domains.length === t5 || (0, H.throwConcurrentModificationError)(forward_domains), ++_i) { + forward_domain = forward_domains[_i]; + for (t7 = J.get$iterator$ax(this.domains_on_helix_overlapping$2$forward(forward_domain, false)); t7.moveNext$0();) { + t8 = t7.get$current(t7); + t9 = t8 == null; + if (!t9 && t8.name != null) + if (N.Design_domains_mismatch(forward_domain, t8)) { + if (t6) + H.throwExpression(Y.BuiltValueNullFieldError$(_s18_, "helix_idx")); + if (forward_domain == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s18_, "forward_domain")); + if (t9) + H.throwExpression(Y.BuiltValueNullFieldError$(_s18_, "reverse_domain")); + t9 = t2.$index(0, t4); + (t9 && C.JSArray_methods).add$1(t9, new B._$DomainNameMismatch(t4, forward_domain, t8)); + } + } + } + } + t3 = type$.legacy_BuiltList_legacy_DomainNameMismatch; + t4 = P.LinkedHashMap_LinkedHashMap$_empty(t1, t3); + for (t5 = t2.get$keys(t2), t5 = t5.get$iterator(t5), t6 = type$.legacy_DomainNameMismatch, t7 = type$._BuiltList_legacy_DomainNameMismatch; t5.moveNext$0();) { + t8 = t5.get$current(t5); + t9 = new D._BuiltList(P.List_List$from(t2.$index(0, t8), false, t6), t7); + t9._maybeCheckForNull$0(); + t4.$indexSet(0, t8, t9); + } + return A.BuiltMap_BuiltMap$of(t4, t1, t3); + }, + get$all_domains: function() { + var t2, t3, t4, + t1 = H.setRuntimeTypeInfo([], type$.JSArray_legacy_Domain); + for (t2 = J.get$iterator$ax(this.strands._list); t2.moveNext$0();) { + t3 = t2.get$current(t2); + t4 = t3.__domains; + if (t4 == null) { + t4 = E.Strand.prototype.get$domains.call(t3); + t3.set$__domains(t4); + t3 = t4; + } else + t3 = t4; + t3 = J.get$iterator$ax(t3._list); + for (; t3.moveNext$0();) + t1.push(t3.get$current(t3)); + } + return D._BuiltList$of(t1, type$.legacy_Domain); + }, + domains_on_helix_at$2: function(helix_idx, offset) { + var t2, t3, t4, + t1 = P.LinkedHashSet_LinkedHashSet$_empty(type$.dynamic); + for (t2 = J.get$iterator$ax(J.$index$asx(this.get$helix_idx_to_domains()._map$_map, helix_idx)._list); t2.moveNext$0();) { + t3 = t2.get$current(t2); + t4 = t3.start; + if (typeof offset !== "number") + return H.iae(offset); + if (t4 <= offset && offset < t3.end) + t1.add$1(0, t3); + } + return X.SetBuilder_SetBuilder(t1, type$.legacy_Domain).build$0(); + }, + domains_on_helix_at_offset_internal$2: function(helix_idx, offset) { + var t2, t3, t4, + t1 = P.LinkedHashSet_LinkedHashSet$_empty(type$.dynamic); + for (t2 = J.get$iterator$ax(J.$index$asx(this.get$helix_idx_to_domains()._map$_map, helix_idx)._list); t2.moveNext$0();) { + t3 = t2.get$current(t2); + t4 = t3.start; + if (typeof offset !== "number") + return H.iae(offset); + if (t4 <= offset && offset < t3.end && offset !== t4 && offset !== t3.end - 1) + t1.add$1(0, t3); + } + return X.SetBuilder_SetBuilder(t1, type$.legacy_Domain).build$0(); + }, + domain_on_helix_at$2: function(address, strand_creation) { + var t1, t2, t3, t4, t5; + for (t1 = J.get$iterator$ax(J.$index$asx(this.get$helix_idx_to_domains()._map$_map, address.helix_idx)._list), t2 = address.offset, t3 = address.forward; t1.moveNext$0();) { + t4 = t1.get$current(t1); + t5 = t4.start; + if (typeof t2 !== "number") + return H.iae(t2); + if (t5 <= t2 && t2 < t4.end && t4.forward === t3) + return t4; + } + return null; + }, + domain_on_helix_at$1: function(address) { + return this.domain_on_helix_at$2(address, null); + }, + _other_domains_overlapping$1: function(domain) { + var t2, t3, t4, + ret = H.setRuntimeTypeInfo([], type$.JSArray_legacy_Domain), + t1 = domain.helix, + helix = J.$index$asx(this.helices._map$_map, t1); + for (t2 = J.get$iterator$ax(J.$index$asx(this.get$helix_idx_to_domains()._map$_map, helix.idx)._list), t3 = domain.forward; t2.moveNext$0();) { + t4 = t2.get$current(t2); + if (t1 === t4.helix && t3 === !t4.forward && domain.compute_overlap$1(t4) != null) + C.JSArray_methods.add$1(ret, t4); + } + return ret; + }, + helix_num_bases_between$3: function(helix, start, end) { + var t0, substrands_intersecting, t1, t2, deletions_intersecting, insertions_intersecting, _i, ss, t3, t4, total_insertion_length; + if (start > end) { + t0 = end; + end = start; + start = t0; + } + substrands_intersecting = H.setRuntimeTypeInfo([], type$.JSArray_legacy_Domain); + for (t1 = J.get$iterator$ax(J.$index$asx(this.get$helix_idx_to_domains()._map$_map, helix.idx)._list); t1.moveNext$0();) { + t2 = t1.get$current(t1); + if (start < t2.end && t2.start <= end) + C.JSArray_methods.add$1(substrands_intersecting, t2); + } + deletions_intersecting = P.LinkedHashSet_LinkedHashSet$_empty(type$.legacy_int); + insertions_intersecting = P.LinkedHashSet_LinkedHashSet$_empty(type$.legacy_Insertion); + for (t1 = substrands_intersecting.length, _i = 0; _i < substrands_intersecting.length; substrands_intersecting.length === t1 || (0, H.throwConcurrentModificationError)(substrands_intersecting), ++_i) { + ss = substrands_intersecting[_i]; + for (t2 = J.get$iterator$ax(ss.deletions._list); t2.moveNext$0();) { + t3 = t2.get$current(t2); + if (typeof t3 !== "number") + return H.iae(t3); + if (start <= t3 && t3 <= end) + deletions_intersecting.add$1(0, t3); + } + for (t2 = J.get$iterator$ax(ss.insertions._list); t2.moveNext$0();) { + t3 = t2.get$current(t2); + t4 = t3.offset; + if (start <= t4 && t4 <= end) + insertions_intersecting.add$1(0, t3); + } + } + for (t1 = P._LinkedHashSetIterator$(insertions_intersecting, insertions_intersecting._collection$_modifications, insertions_intersecting.$ti._precomputed1), total_insertion_length = 0; t1.moveNext$0();) + total_insertion_length += t1._collection$_current.length; + return end - start + 1 - deletions_intersecting._collection$_length + total_insertion_length; + }, + helix_rotation_at$2: function(address, roll) { + var t1 = address.helix_idx, + helix = J.$index$asx(this.helices._map$_map, t1), + offset = address.offset, + rotation = this.helix_rotation_forward$3(helix.idx, offset, roll); + return !H.boolConversionCheck(address.forward) ? C.JSNumber_methods.$mod(rotation + 150, 360) : rotation; + }, + helix_rotation_at$1: function(address) { + return this.helix_rotation_at$2(address, null); + }, + helix_rotation_forward$3: function(helix_idx, offset, roll) { + var t1, num_bases, + helix = J.$index$asx(this.helices._map$_map, helix_idx); + if (roll == null) + roll = helix.roll; + t1 = helix.min_offset; + if (typeof offset !== "number") + return H.iae(offset); + if (t1 < offset) + num_bases = this.helix_num_bases_between$3(helix, t1, offset - 1); + else + num_bases = t1 > offset ? -this.helix_num_bases_between$3(helix, offset + 1, t1) : 0; + return C.JSNumber_methods.$mod(roll + 360 * num_bases / 10.5, 360); + }, + helix_rotation_forward$2: function(helix_idx, offset) { + return this.helix_rotation_forward$3(helix_idx, offset, null); + }, + max_offset_of_strands_at$1: function(helix_idx) { + var t1 = J.$index$asx(this.get$helix_idx_to_domains()._map$_map, helix_idx)._list, + t2 = J.getInterceptor$asx(t1), + max_offset = t2.get$isEmpty(t1) ? 0 : t2.get$first(t1).end; + for (t1 = t2.get$iterator(t1); t1.moveNext$0();) + max_offset = Math.max(max_offset, t1.get$current(t1).end); + return max_offset; + }, + min_offset_of_strands_at$1: function(helix_idx) { + var t1 = J.$index$asx(this.get$helix_idx_to_domains()._map$_map, helix_idx)._list, + t2 = J.getInterceptor$asx(t1), + min_offset = t2.get$isEmpty(t1) ? 0 : t2.get$first(t1).start; + for (t1 = t2.get$iterator(t1); t1.moveNext$0();) + min_offset = Math.min(min_offset, t1.get$current(t1).start); + return min_offset; + }, + get$has_insertions_or_deletions: function() { + var t1, t2, t3; + for (t1 = J.get$iterator$ax(this.strands._list); t1.moveNext$0();) { + t2 = t1.get$current(t1); + t3 = t2.__domains; + if (t3 == null) { + t3 = E.Strand.prototype.get$domains.call(t2); + t2.set$__domains(t3); + t2 = t3; + } else + t2 = t3; + t2 = J.get$iterator$ax(t2._list); + for (; t2.moveNext$0();) { + t3 = t2.get$current(t2); + if (J.get$isNotEmpty$asx(t3.deletions._list) || J.get$isNotEmpty$asx(t3.insertions._list)) + return true; + } + } + return false; + }, + _remove_helix_idxs_if_default$1: function(helix_jsons) { + var use_default, expected_idx, t1, _i; + type$.legacy_List_legacy_Map_of_legacy_String_and_dynamic._as(helix_jsons); + expected_idx = 0; + while (true) { + if (!(expected_idx < helix_jsons.length)) { + use_default = true; + break; + } + if (H._asIntS(J.$index$asx(helix_jsons[expected_idx], "idx")) !== expected_idx) { + use_default = false; + break; + } + ++expected_idx; + } + if (use_default) + for (t1 = helix_jsons.length, _i = 0; _i < helix_jsons.length; helix_jsons.length === t1 || (0, H.throwConcurrentModificationError)(helix_jsons), ++_i) + J.remove$1$ax(helix_jsons[_i], "idx"); + }, + _ensure_helix_groups_exist$0: function() { + var t1, t2, t3, t4; + for (t1 = this.helices, t1 = J.get$iterator$ax(t1.get$values(t1)), t2 = this.groups; t1.moveNext$0();) { + t3 = t1.get$current(t1); + t4 = t3.group; + if (!J.containsKey$1$x(t2._map$_map, t4)) + throw H.wrapException(N.IllegalDesignError$("helix " + t3.idx + " has group " + t4 + ", which does not exist in the design. The valid groups are " + J.join$1$ax(t2.get$keys(t2), ", "))); + } + }, + base_pairs_with_domain_strand$3: function(allow_mismatches, allow_unassigned_dna, selected_strands) { + var base_pairs_with_domain_strand, t1, t2, t3, selected_domains, t4, t5, t6, t7, t8, offsets_and_domain_strand, overlapping_domains, t9, _i, domain_pair, dom1, dom2, start_and_end, start, end, t10, offset, base1, base2, t11, t12, _this = this; + type$.legacy_BuiltSet_legacy_Strand._as(selected_strands); + base_pairs_with_domain_strand = new H.JsLinkedHashMap(type$.JsLinkedHashMap_of_legacy_int_and_legacy_BuiltList_legacy_Tuple5_of_legacy_int_and_legacy_Domain_and_legacy_Domain_and_legacy_Strand_and_legacy_Strand); + t1 = selected_strands._set.map$1$1(0, selected_strands.$ti._eval$1("BuiltList*(1)")._as(new N.Design_base_pairs_with_domain_strand_closure()), type$.legacy_BuiltList_legacy_Substrand); + t2 = H._instanceType(t1); + t3 = t2._eval$1("ExpandIterable"); + selected_domains = X.BuiltSet_BuiltSet$of(new H.MappedIterable(new H.WhereIterable(new H.ExpandIterable(t1, t2._eval$1("Iterable(Iterable.E)")._as(new N.Design_base_pairs_with_domain_strand_closure0()), t3), t3._eval$1("bool(Iterable.E)")._as(new N.Design_base_pairs_with_domain_strand_closure1()), t3._eval$1("WhereIterable")), t3._eval$1("Domain*(Iterable.E)")._as(new N.Design_base_pairs_with_domain_strand_closure2()), t3._eval$1("MappedIterable")), type$.legacy_Domain); + for (t1 = _this.helices, t1 = J.get$iterator$ax(t1.get$keys(t1)), t2 = !allow_mismatches, t3 = type$.Tuple5_of_legacy_int_and_legacy_Domain_and_legacy_Domain_and_legacy_Strand_and_legacy_Strand, t4 = selected_domains._set, t5 = type$.JSArray_legacy_Tuple5_of_legacy_int_and_legacy_Domain_and_legacy_Domain_and_legacy_Strand_and_legacy_Strand, t6 = type$.legacy_Tuple5_of_legacy_int_and_legacy_Domain_and_legacy_Domain_and_legacy_Strand_and_legacy_Strand, t7 = type$._BuiltList_legacy_Tuple5_of_legacy_int_and_legacy_Domain_and_legacy_Domain_and_legacy_Strand_and_legacy_Strand; t1.moveNext$0();) { + t8 = t1.get$current(t1); + offsets_and_domain_strand = H.setRuntimeTypeInfo([], t5); + overlapping_domains = _this.find_overlapping_domains_on_helix$1(t8); + for (t9 = overlapping_domains.length, _i = 0; _i < overlapping_domains.length; overlapping_domains.length === t9 || (0, H.throwConcurrentModificationError)(overlapping_domains), ++_i) { + domain_pair = overlapping_domains[_i]; + dom1 = domain_pair.item1; + dom2 = domain_pair.item2; + if (!t4.contains$1(0, dom1) || !t4.contains$1(0, dom2)) + continue; + start_and_end = dom1.compute_overlap$1(dom2); + start = start_and_end.item1; + end = start_and_end.item2; + t10 = dom1.deletions; + offset = start; + while (true) { + if (typeof offset !== "number") + return offset.$lt(); + if (typeof end !== "number") + return H.iae(end); + if (!(offset < end)) + break; + c$1: { + if (J.contains$1$asx(t10._list, offset) || J.contains$1$asx(dom2.deletions._list, offset)) + break c$1; + base1 = dom1.dna_sequence_in$2(offset, offset); + base2 = dom2.dna_sequence_in$2(offset, offset); + if (t2) { + t11 = base1 === "?" || base2 === "?"; + t11 = t11 || E.reverse_complementary(base1, base2, true, true); + } else + t11 = true; + if (t11) { + t11 = _this.__substrand_to_strand; + if (t11 == null) { + t11 = N.Design.prototype.get$substrand_to_strand.call(_this); + _this.set$__substrand_to_strand(t11); + } + t11 = J.$index$asx(t11._map$_map, dom1); + t12 = _this.__substrand_to_strand; + if (t12 == null) { + t12 = N.Design.prototype.get$substrand_to_strand.call(_this); + _this.set$__substrand_to_strand(t12); + } + C.JSArray_methods.add$1(offsets_and_domain_strand, new S.Tuple5(offset, dom1, dom2, t11, J.$index$asx(t12._map$_map, dom2), t3)); + } + } + ++offset; + } + } + if (offsets_and_domain_strand.length !== 0) { + t9 = new D._BuiltList(P.List_List$from(offsets_and_domain_strand, false, t6), t7); + t9._maybeCheckForNull$0(); + base_pairs_with_domain_strand.$indexSet(0, t8, t9); + } + } + return A.BuiltMap_BuiltMap$of(base_pairs_with_domain_strand, type$.legacy_int, type$.legacy_BuiltList_legacy_Tuple5_of_legacy_int_and_legacy_Domain_and_legacy_Domain_and_legacy_Strand_and_legacy_Strand); + }, + _base_pairs$2: function(allow_mismatches, selected_strands) { + var t1, t2, t3, t4, t5, t6, t7, + base_pairs_with_domain_strand = this.base_pairs_with_domain_strand$3(allow_mismatches, true, type$.legacy_BuiltSet_legacy_Strand._as(selected_strands)), + base_pairs = new H.JsLinkedHashMap(type$.JsLinkedHashMap_of_legacy_int_and_legacy_BuiltList_legacy_int); + for (t1 = J.get$iterator$ax(base_pairs_with_domain_strand.get$keys(base_pairs_with_domain_strand)), t2 = base_pairs_with_domain_strand._map$_map, t3 = J.getInterceptor$asx(t2), t4 = type$.legacy_int, t5 = type$._BuiltList_legacy_int; t1.moveNext$0();) { + t6 = t1.get$current(t1); + t7 = t3.$index(t2, t6); + t7.toString; + t7 = new D._BuiltList(P.List_List$from(J.map$1$1$ax(t7._list, H.instanceType(t7)._eval$1("int*(1)")._as(new N.Design__base_pairs_closure()), t4).toList$0(0), false, t4), t5); + t7._maybeCheckForNull$0(); + base_pairs.$indexSet(0, t6, t7); + } + return A.BuiltMap_BuiltMap$of(base_pairs, t4, type$.legacy_BuiltList_legacy_int); + }, + find_overlapping_domains_on_helix$1: function(helix_idx) { + var t2, reverse_domains, overlapping_domains, t3, t4, t5, reverse_domain, t6, t7, t8, + forward_domains = this.domains_on_helix$2$forward(helix_idx, true), + reverse_domains_list = this.domains_on_helix$2$forward(helix_idx, false), + t1 = J.getInterceptor$ax(forward_domains); + t1.sort$1(forward_domains, new N.Design_find_overlapping_domains_on_helix_closure()); + t2 = J.getInterceptor$ax(reverse_domains_list); + t2.sort$1(reverse_domains_list, new N.Design_find_overlapping_domains_on_helix_closure0()); + if (t1.get$isEmpty(forward_domains) || t2.get$isEmpty(reverse_domains_list)) + return H.setRuntimeTypeInfo([], type$.JSArray_legacy_Tuple2_of_legacy_Domain_and_legacy_Domain); + reverse_domains = P.ListQueue_ListQueue$from(reverse_domains_list, type$.legacy_Domain); + overlapping_domains = H.setRuntimeTypeInfo([], type$.JSArray_legacy_Tuple2_of_legacy_Domain_and_legacy_Domain); + for (t1 = t1.get$iterator(forward_domains), t2 = type$.Tuple2_of_legacy_Domain_and_legacy_Domain; t1.moveNext$0();) { + t3 = t1.get$current(t1); + t4 = reverse_domains._head; + if (t4 === reverse_domains._tail) + H.throwExpression(H.IterableElementError_noElement()); + t5 = reverse_domains._table; + if (t4 >= t5.length) + return H.ioore(t5, t4); + reverse_domain = t5[t4]; + while (true) { + if (!(reverse_domain.end <= t3.start && !reverse_domains.get$isEmpty(reverse_domains))) + break; + reverse_domains.removeFirst$0(); + if (!reverse_domains.get$isEmpty(reverse_domains)) { + t4 = reverse_domains._head; + if (t4 === reverse_domains._tail) + H.throwExpression(H.IterableElementError_noElement()); + t5 = reverse_domains._table; + if (t4 >= t5.length) + return H.ioore(t5, t4); + reverse_domain = t5[t4]; + } else + return overlapping_domains; + } + t4 = t3.end; + t5 = t3.helix; + t6 = t3.forward; + while (true) { + if (!(t5 === reverse_domain.helix && t6 === !reverse_domain.forward && t3.compute_overlap$1(reverse_domain) != null)) + break; + C.JSArray_methods.add$1(overlapping_domains, new S.Tuple2(t3, reverse_domain, t2)); + if (reverse_domain.end <= t4) { + reverse_domains.removeFirst$0(); + if (!reverse_domains.get$isEmpty(reverse_domains)) { + t7 = reverse_domains._head; + if (t7 === reverse_domains._tail) + H.throwExpression(H.IterableElementError_noElement()); + t8 = reverse_domains._table; + if (t7 >= t8.length) + return H.ioore(t8, t7); + reverse_domain = t8[t7]; + } else + return overlapping_domains; + } else + break; + } + } + return overlapping_domains; + }, + idx_on_strand$1: function(address) { + var t1, strand_idx, t2, + domain = this.domain_on_helix_at$1(address); + if (domain == null) + throw H.wrapException(P.ArgumentError$("no strand in Design at address " + address.toString$0(0))); + for (t1 = J.get$iterator$ax(J.$index$asx(this.get$substrand_to_strand()._map$_map, domain).substrands._list), strand_idx = 0; t1.moveNext$0();) { + t2 = t1.get$current(t1); + if (domain.$eq(0, t2)) { + strand_idx += domain.substrand_offset_to_substrand_dna_idx$2(address.offset, address.forward); + break; + } else + strand_idx += t2.dna_length$0(); + } + return strand_idx; + }, + get$helix_to_crossover_addresses: function() { + var t3, t4, t5, t6, t7, strand, domains_on_strand, t8, num_domains, domain_idx, t9, t10, t11, domain_idx_in_substrands, offset, other_helix_idx, t12, _this = this, + t1 = type$.legacy_int, + t2 = P.LinkedHashMap_LinkedHashMap$_empty(t1, type$.legacy_List_legacy_Address); + for (t3 = J.get$iterator$ax(_this.get$helix_idxs()._list), t4 = type$.JSArray_legacy_Address; t3.moveNext$0();) + t2.$indexSet(0, t3.get$current(t3), H.setRuntimeTypeInfo([], t4)); + for (t3 = J.get$iterator$ax(_this.get$helix_idxs()._list); t3.moveNext$0();) { + t4 = t3.get$current(t3); + for (t5 = J.get$iterator$ax(_this.domains_on_helix$1(t4)); t5.moveNext$0();) { + t6 = t5.get$current(t5); + t7 = _this.__substrand_to_strand; + if (t7 == null) { + t7 = N.Design.prototype.get$substrand_to_strand.call(_this); + _this.set$__substrand_to_strand(t7); + } + strand = J.$index$asx(t7._map$_map, t6); + domains_on_strand = strand.__domains; + if (domains_on_strand == null) { + domains_on_strand = E.Strand.prototype.get$domains.call(strand); + strand.set$__domains(domains_on_strand); + } + t7 = domains_on_strand._list; + t8 = J.getInterceptor$asx(t7); + num_domains = t8.get$length(t7); + domain_idx = t8.indexOf$2(t7, domains_on_strand.$ti._precomputed1._as(t6), 0); + t9 = strand.substrands; + t9.toString; + t10 = t9._list; + t11 = J.getInterceptor$asx(t10); + domain_idx_in_substrands = t11.indexOf$2(t10, t9.$ti._precomputed1._as(t6), 0); + if (domain_idx > 0) + if (t11.$index(t10, domain_idx_in_substrands - 1).is_domain$0()) { + offset = t6.__offset_5p; + if (offset == null) + offset = t6.__offset_5p = G.Domain.prototype.get$offset_5p.call(t6); + other_helix_idx = t8.$index(t7, domain_idx - 1).helix; + t9 = t2.$index(0, t4); + t12 = t6.forward; + (t9 && C.JSArray_methods).add$1(t9, new Z._$Address(other_helix_idx, offset, t12)); + } + if (typeof num_domains !== "number") + return num_domains.$sub(); + if (domain_idx < num_domains - 1) + if (t11.$index(t10, domain_idx_in_substrands + 1).is_domain$0()) { + offset = t6.__offset_3p; + if (offset == null) + offset = t6.__offset_3p = G.Domain.prototype.get$offset_3p.call(t6); + other_helix_idx = t8.$index(t7, domain_idx + 1).helix; + t7 = t2.$index(0, t4); + t6 = t6.forward; + (t7 && C.JSArray_methods).add$1(t7, new Z._$Address(other_helix_idx, offset, t6)); + } + } + } + t3 = type$.legacy_BuiltList_legacy_Address; + t4 = P.LinkedHashMap_LinkedHashMap$_empty(t1, t3); + for (t5 = J.get$iterator$ax(_this.get$helix_idxs()._list), t6 = type$.legacy_Address, t7 = type$._BuiltList_legacy_Address; t5.moveNext$0();) { + t8 = t5.get$current(t5); + t9 = new D._BuiltList(P.List_List$from(t2.$index(0, t8), false, t6), t7); + t9._maybeCheckForNull$0(); + t4.$indexSet(0, t8, t9); + } + return A.BuiltMap_BuiltMap$of(t4, t1, t3); + }, + get$helix_to_crossover_addresses_disallow_intrahelix: function() { + var t2, t3, ret, t4, t5, t6, t7, addresses_with_intrahelix_crossovers, t8, t9, t10, addresses_without_intrahelix_crossovers, + t1 = this.__helix_to_crossover_addresses; + if (t1 == null) { + t1 = N.Design.prototype.get$helix_to_crossover_addresses.call(this); + this.set$__helix_to_crossover_addresses(t1); + } + t2 = t1._map$_map; + t3 = t1.$ti; + t3 = t3._eval$1("@<1>")._bind$1(t3._rest[1]); + ret = new S.CopyOnWriteMap(t1._mapFactory, t2, t3._eval$1("CopyOnWriteMap<1,2>")); + for (t1 = J.get$iterator$ax(J.get$keys$x(t2)), t2 = type$.legacy_Address, t4 = type$._BuiltList_legacy_Address, t5 = t3._rest[0], t3 = t3._rest[1], t6 = type$.JSArray_legacy_Address; t1.moveNext$0();) { + t7 = t1.get$current(t1); + addresses_with_intrahelix_crossovers = J.$index$asx(ret._copy_on_write_map$_map, t7); + t8 = H.setRuntimeTypeInfo([], t6); + for (t9 = J.get$iterator$ax(addresses_with_intrahelix_crossovers._list); t9.moveNext$0();) { + t10 = t9.get$current(t9); + if (t10.helix_idx != t7) + t8.push(t10); + } + addresses_without_intrahelix_crossovers = new D._BuiltList(P.List_List$from(t8, false, t2), t4); + addresses_without_intrahelix_crossovers._maybeCheckForNull$0(); + t5._as(t7); + t3._as(addresses_without_intrahelix_crossovers); + ret._maybeCopyBeforeWrite$0(); + J.$indexSet$ax(ret._copy_on_write_map$_map, t7, addresses_without_intrahelix_crossovers); + } + return A.BuiltMap_BuiltMap$of(ret, type$.legacy_int, type$.legacy_BuiltList_legacy_Address); + }, + get$helix_to_crossover_addresses_disallow_intrahelix_disallow_intergroup: function() { + var t2, t3, ret, t4, t5, t6, t7, t8, addresses_with_intergroup_crossovers, t9, t10, t11, t12, t13, t14, addresses_without_intergroup_crossovers, _this = this, + t1 = _this.__helix_to_crossover_addresses_disallow_intrahelix; + if (t1 == null) { + t1 = N.Design.prototype.get$helix_to_crossover_addresses_disallow_intrahelix.call(_this); + _this.set$__helix_to_crossover_addresses_disallow_intrahelix(t1); + } + t2 = t1._map$_map; + t3 = t1.$ti; + t3 = t3._eval$1("@<1>")._bind$1(t3._rest[1]); + ret = new S.CopyOnWriteMap(t1._mapFactory, t2, t3._eval$1("CopyOnWriteMap<1,2>")); + for (t1 = J.get$iterator$ax(J.get$keys$x(t2)), t2 = type$.legacy_Address, t4 = type$._BuiltList_legacy_Address, t5 = t3._rest[0], t3 = t3._rest[1], t6 = _this.helices, t7 = type$.JSArray_legacy_Address; t1.moveNext$0();) { + t8 = t1.get$current(t1); + addresses_with_intergroup_crossovers = J.$index$asx(ret._copy_on_write_map$_map, t8); + t9 = H.setRuntimeTypeInfo([], t7); + for (t10 = J.get$iterator$ax(addresses_with_intergroup_crossovers._list); t10.moveNext$0();) { + t11 = t10.get$current(t10); + t12 = t11.helix_idx; + t13 = t6._map$_map; + t14 = J.getInterceptor$asx(t13); + if (t14.$index(t13, t12).group === t14.$index(t13, t8).group) + t9.push(t11); + } + addresses_without_intergroup_crossovers = new D._BuiltList(P.List_List$from(t9, false, t2), t4); + addresses_without_intergroup_crossovers._maybeCheckForNull$0(); + t5._as(t8); + t3._as(addresses_without_intergroup_crossovers); + ret._maybeCopyBeforeWrite$0(); + J.$indexSet$ax(ret._copy_on_write_map$_map, t8, addresses_without_intergroup_crossovers); + } + return A.BuiltMap_BuiltMap$of(ret, type$.legacy_int, type$.legacy_BuiltList_legacy_Address); + } + }; + N.Design_Design_closure.prototype = { + call$1: function(b) { + return type$.legacy_HelixBuilder._as(b).build$0(); + }, + $signature: 342 + }; + N.Design_Design_closure0.prototype = { + call$1: function(b) { + var t1 = b.get$geometry(b), + t2 = this._box_0.geometry; + if (t2 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + t1._geometry$_$v = t2; + return b; + }, + $signature: 9 + }; + N.Design_Design_closure1.prototype = { + call$1: function(b) { + var _this = this, + t1 = b.get$geometry(b), + t2 = _this._box_0, + t3 = t2.geometry; + if (t3 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + t1._geometry$_$v = t3; + b.get$groups().replace$1(0, t2.groups); + b.get$helices().replace$1(0, _this.helices_map); + b.get$strands().replace$1(0, _this.strands); + b.get$unused_fields().replace$1(0, _this.unused_fields); + return b; + }, + $signature: 20 + }; + N.Design__initializeBuilder_closure.prototype = { + call$1: function(g) { + return g.get$_group$_$this()._group$_grid = C.Grid_none; + }, + $signature: 343 + }; + N.Design_helices_in_group_closure.prototype = { + call$2: function(idx, helix) { + H._asIntS(idx); + return type$.legacy_Helix._as(helix).group !== this.group_name; + }, + $signature: 73 + }; + N.Design_address_crossover_pairs_by_helix_idx_closure.prototype = { + call$2: function(address_crossover_pair1, address_crossover_pair2) { + var add1, add2, t2, + t1 = type$.legacy_Tuple2_of_legacy_Address_and_legacy_Crossover; + t1._as(address_crossover_pair1); + t1._as(address_crossover_pair2); + add1 = address_crossover_pair1.item1; + add2 = address_crossover_pair2.item1; + t1 = add1.offset; + t2 = add2.offset; + if (typeof t1 !== "number") + return t1.$sub(); + if (typeof t2 !== "number") + return H.iae(t2); + return t1 - t2; + }, + "call*": "call$2", + $requiredArgCount: 2, + $signature: 344 + }; + N.Design_domain_mismatches_map_closure.prototype = { + call$2: function(domain, mismatches) { + this.domain_mismatches_builtmap_builder.$indexSet(0, type$.legacy_Domain._as(domain), type$.legacy_ListBuilder_legacy_Mismatch._as(mismatches).build$0()); + }, + $signature: 345 + }; + N.Design_unpaired_insertion_deletion_map_closure.prototype = { + call$2: function(domain, unpaireds) { + this.unpaired_insertion_deletion_half_built_map.$indexSet(0, type$.legacy_Domain._as(domain), D._BuiltList$of(type$.legacy_List_legacy_Address._as(unpaireds), type$.legacy_Address)); + }, + $signature: 346 + }; + N.Design_max_offset_closure.prototype = { + call$1: function(helix) { + return type$.legacy_Helix._as(helix).max_offset; + }, + $signature: 98 + }; + N.Design_min_offset_closure.prototype = { + call$1: function(helix) { + return type$.legacy_Helix._as(helix).min_offset; + }, + $signature: 98 + }; + N.Design_add_strands_closure.prototype = { + call$1: function(d) { + d.get$strands().addAll$1(0, this.new_strands); + return d; + }, + $signature: 20 + }; + N.Design_remove_strands_closure.prototype = { + call$1: function(d) { + var t1 = d.get$strands(), + t2 = t1.$ti._eval$1("bool(1)")._as(new N.Design_remove_strands__closure(this.strands_to_remove_set)); + J.removeWhere$1$ax(t1.get$_safeList(), t2); + return d; + }, + $signature: 20 + }; + N.Design_remove_strands__closure.prototype = { + call$1: function(strand) { + return this.strands_to_remove_set.contains$1(0, type$.legacy_Strand._as(strand)); + }, + $signature: 15 + }; + N.Design_has_nondefault_min_offset_closure.prototype = { + call$1: function(ss) { + return type$.legacy_Domain._as(ss).start; + }, + $signature: 347 + }; + N.Design__groups_from_json_closure.prototype = { + call$1: function(idx) { + return this.helix_builders_map.$index(0, H._asIntS(idx)).get$_helix$_$this()._group == this.name; + }, + $signature: 23 + }; + N.Design__groups_from_json_closure0.prototype = { + call$1: function(e) { + return type$.legacy_HelixBuilder._as(e).get$_helix$_$this()._idx; + }, + $signature: 56 + }; + N.Design_from_json_closure.prototype = { + call$1: function(geometry_map) { + return N.Geometry_from_json(type$.legacy_Map_of_legacy_String_and_dynamic._as(geometry_map)); + }, + $signature: 348 + }; + N.Design_from_json_closure0.prototype = { + call$2: function(key, value) { + return new P.MapEntry(H._asStringS(key), type$.legacy_HelixGroupBuilder._as(value).build$0(), type$.MapEntry_of_legacy_String_and_legacy_HelixGroup); + }, + $signature: 349 + }; + N.Design_assign_modifications_to_strands_closure.prototype = { + call$1: function(b) { + var t1 = b.get$modification_5p(), + t2 = this._box_0.mod; + if (t2 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + t1._modification$_$v = t2; + return b; + }, + $signature: 2 + }; + N.Design_assign_modifications_to_strands_closure0.prototype = { + call$1: function(b) { + var t1 = b.get$modification_3p(), + t2 = this._box_0.mod; + if (t2 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + t1._modification$_$v = t2; + return b; + }, + $signature: 2 + }; + N.Design_assign_modifications_to_strands_closure1.prototype = { + call$1: function(b) { + b.get$modifications_int().replace$1(0, this.mods_by_idx); + return b; + }, + $signature: 2 + }; + N.Design_check_strands_overlap_legally_err_msg.prototype = { + call$3: function(domain1, domain2, h_idx) { + return "two domains overlap on helix " + H.S(h_idx) + ": \n" + domain1.toString$0(0) + "\n and\n" + domain2.toString$0(0) + "\n but have the same direction"; + }, + $signature: 350 + }; + N.Design_check_strands_overlap_legally_closure.prototype = { + call$2: function(d1, d2) { + var t2, + t1 = type$.legacy_Tuple3_of_legacy_int_and_legacy_bool_and_legacy_Domain; + t1._as(d1); + t1._as(d2); + t1 = d1.item1; + t2 = d2.item1; + if (typeof t1 !== "number") + return t1.$sub(); + if (typeof t2 !== "number") + return H.iae(t2); + return t1 - t2; + }, + $signature: 351 + }; + N.Design_domains_on_helix_closure.prototype = { + call$1: function(domain) { + return type$.legacy_Domain._as(domain).forward === this.forward; + }, + $signature: 21 + }; + N.Design_domains_on_helix_overlapping_closure.prototype = { + call$1: function(other_domain) { + return !this.domain.overlaps$1(type$.legacy_Domain._as(other_domain)); + }, + $signature: 21 + }; + N.Design_domain_name_mismatches_closure.prototype = { + call$1: function(domain) { + return type$.legacy_Domain._as(domain).name == null; + }, + $signature: 21 + }; + N.Design_base_pairs_with_domain_strand_closure.prototype = { + call$1: function(s) { + return type$.legacy_Strand._as(s).substrands; + }, + $signature: 124 + }; + N.Design_base_pairs_with_domain_strand_closure0.prototype = { + call$1: function(x) { + return type$.legacy_BuiltList_legacy_Substrand._as(x); + }, + $signature: 125 + }; + N.Design_base_pairs_with_domain_strand_closure1.prototype = { + call$1: function(x) { + return type$.legacy_Substrand._as(x) instanceof G.Domain; + }, + $signature: 126 + }; + N.Design_base_pairs_with_domain_strand_closure2.prototype = { + call$1: function(x) { + return type$.legacy_Domain._as(type$.legacy_Substrand._as(x)); + }, + $signature: 355 + }; + N.Design__base_pairs_closure.prototype = { + call$1: function(x) { + return type$.legacy_Tuple5_of_legacy_int_and_legacy_Domain_and_legacy_Domain_and_legacy_Strand_and_legacy_Strand._as(x).item1; + }, + $signature: 356 + }; + N.Design_find_overlapping_domains_on_helix_closure.prototype = { + call$2: function(d1, d2) { + var t1 = type$.legacy_Domain; + t1._as(d1); + t1._as(d2); + return d1.start - d2.start; + }, + "call*": "call$2", + $requiredArgCount: 2, + $signature: 64 + }; + N.Design_find_overlapping_domains_on_helix_closure0.prototype = { + call$2: function(d1, d2) { + var t1 = type$.legacy_Domain; + t1._as(d1); + t1._as(d2); + return d1.start - d2.start; + }, + "call*": "call$2", + $requiredArgCount: 2, + $signature: 64 + }; + N.Design__cadnano_v2_import_circular_strands_merge_first_last_domains_closure.prototype = { + call$1: function(b) { + var t2, + t1 = this.domains; + if (0 >= t1.length) + return H.ioore(t1, 0); + t2 = H._asIntS(Math.min(t1[0].start, C.JSArray_methods.get$last(t1).start)); + b.get$_domain$_$this()._start = t2; + if (0 >= t1.length) + return H.ioore(t1, 0); + t1 = H._asIntS(Math.max(t1[0].end, C.JSArray_methods.get$last(t1).end)); + b.get$_domain$_$this()._end = t1; + return b; + }, + $signature: 7 + }; + N._calculate_groups_from_helix_builder_closure.prototype = { + call$1: function(idxs) { + return J.sort$0$ax(type$.legacy_List_legacy_int._as(idxs)); + }, + $signature: 158 + }; + N.assign_default_helices_view_orders_to_groups_closure.prototype = { + call$2: function(key, value) { + H._asStringS(key); + type$.legacy_HelixGroupBuilder._as(value); + return new P.MapEntry(key, 0, type$.MapEntry_of_legacy_String_and_legacy_int); + }, + $signature: 357 + }; + N.construct_helix_idx_to_domains_map_closure.prototype = { + call$2: function(ss1, ss2) { + var t1 = type$.legacy_Domain; + t1._as(ss1); + t1._as(ss2); + return ss1.start - ss2.start; + }, + "call*": "call$2", + $requiredArgCount: 2, + $signature: 64 + }; + N.Mismatch.prototype = { + toString$0: function(_) { + var t1 = "Mismatch(dna_idx=" + this.dna_idx + ", offset=" + this.offset, + t2 = this.within_insertion; + return t1 + (t2 < 0 ? ")" : ", within_insertion=" + t2 + ")"); + }, + get$offset: function(receiver) { + return this.offset; + } + }; + N.IllegalDesignError.prototype = { + $eq: function(_, other) { + if (other == null) + return false; + return type$.legacy_IllegalDesignError._is(other); + }, + $isException: 1, + get$cause: function() { + return this.cause; + } + }; + N.IllegalCadnanoDesignError.prototype = {$isException: 1, $isIllegalDesignError: 1, + get$cause: function() { + return this.cause; + } + }; + N.StrandError.prototype = {}; + N.HelixPitchYaw.prototype = {}; + N._$Design.prototype = { + get$is_origami: function() { + var t1 = this.__is_origami; + return t1 == null ? this.__is_origami = N.Design.prototype.get$is_origami.call(this) : t1; + }, + get$address_crossover_pairs_by_helix_idx: function() { + var t1 = this.__address_crossover_pairs_by_helix_idx; + if (t1 == null) { + t1 = N.Design.prototype.get$address_crossover_pairs_by_helix_idx.call(this); + this.set$__address_crossover_pairs_by_helix_idx(t1); + } + return t1; + }, + get$strands_by_id: function() { + var t1 = this.__strands_by_id; + if (t1 == null) { + t1 = N.Design.prototype.get$strands_by_id.call(this); + this.set$__strands_by_id(t1); + } + return t1; + }, + get$domains_by_id: function() { + var t1 = this.__domains_by_id; + if (t1 == null) { + t1 = N.Design.prototype.get$domains_by_id.call(this); + this.set$__domains_by_id(t1); + } + return t1; + }, + get$extensions_by_id: function() { + var t1 = this.__extensions_by_id; + if (t1 == null) { + t1 = N.Design.prototype.get$extensions_by_id.call(this); + this.set$__extensions_by_id(t1); + } + return t1; + }, + get$end_to_domain: function() { + var t1 = this.__end_to_domain; + if (t1 == null) { + t1 = N.Design.prototype.get$end_to_domain.call(this); + this.set$__end_to_domain(t1); + } + return t1; + }, + get$substrand_to_strand: function() { + var t1 = this.__substrand_to_strand; + if (t1 == null) { + t1 = N.Design.prototype.get$substrand_to_strand.call(this); + this.set$__substrand_to_strand(t1); + } + return t1; + }, + get$crossover_to_strand: function() { + var t1 = this.__crossover_to_strand; + if (t1 == null) { + t1 = N.Design.prototype.get$crossover_to_strand.call(this); + this.set$__crossover_to_strand(t1); + } + return t1; + }, + get$helix_idxs: function() { + var t1 = this.__helix_idxs; + if (t1 == null) { + t1 = N.Design.prototype.get$helix_idxs.call(this); + this.set$__helix_idxs(t1); + } + return t1; + }, + get$helix_idx_to_domains: function() { + var t1 = this.__helix_idx_to_domains; + if (t1 == null) { + t1 = N.Design.prototype.get$helix_idx_to_domains.call(this); + this.set$__helix_idx_to_domains(t1); + } + return t1; + }, + get$address_3p_to_strand: function() { + var t1 = this.__address_3p_to_strand; + if (t1 == null) { + t1 = N.Design.prototype.get$address_3p_to_strand.call(this); + this.set$__address_3p_to_strand(t1); + } + return t1; + }, + get$helix_idxs_in_group: function() { + var t1 = this.__helix_idxs_in_group; + if (t1 == null) { + t1 = N.Design.prototype.get$helix_idxs_in_group.call(this); + this.set$__helix_idxs_in_group(t1); + } + return t1; + }, + rebuild$1: function(updates) { + var t1; + type$.legacy_void_Function_legacy_DesignBuilder._as(updates); + t1 = new N.DesignBuilder(); + N.Design__initializeBuilder(t1); + t1._design0$_$v = this; + updates.call$1(t1); + return t1.build$0(); + }, + $eq: function(_, other) { + var _this = this; + if (other == null) + return false; + if (other === _this) + return true; + return other instanceof N.Design && _this.version === other.version && J.$eq$(_this.geometry, other.geometry) && J.$eq$(_this.helices, other.helices) && J.$eq$(_this.strands, other.strands) && J.$eq$(_this.groups, other.groups) && J.$eq$(_this.unused_fields, other.unused_fields); + }, + get$hashCode: function(_) { + var _this = this, + t1 = _this._design0$__hashCode; + return t1 == null ? _this._design0$__hashCode = Y.$jf(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(0, C.JSString_methods.get$hashCode(_this.version)), J.get$hashCode$(_this.geometry)), J.get$hashCode$(_this.helices)), J.get$hashCode$(_this.strands)), J.get$hashCode$(_this.groups)), J.get$hashCode$(_this.unused_fields))) : t1; + }, + toString$0: function(_) { + var _this = this, + t1 = $.$get$newBuiltValueToStringHelper().call$1("Design"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "version", _this.version); + t2.add$2(t1, "geometry", _this.geometry); + t2.add$2(t1, "helices", _this.helices); + t2.add$2(t1, "strands", _this.strands); + t2.add$2(t1, "groups", _this.groups); + t2.add$2(t1, "unused_fields", _this.unused_fields); + return t2.toString$0(t1); + }, + set$__color_of_domain: function(__color_of_domain) { + this.__color_of_domain = type$.legacy_BuiltMap_of_legacy_Domain_and_legacy_Color._as(__color_of_domain); + }, + set$__address_crossover_pairs_by_helix_idx: function(__address_crossover_pairs_by_helix_idx) { + this.__address_crossover_pairs_by_helix_idx = type$.legacy_BuiltMap_of_legacy_int_and_legacy_BuiltList_legacy_Tuple2_of_legacy_Address_and_legacy_Crossover._as(__address_crossover_pairs_by_helix_idx); + }, + set$__strands_by_id: function(__strands_by_id) { + this.__strands_by_id = type$.legacy_BuiltMap_of_legacy_String_and_legacy_Strand._as(__strands_by_id); + }, + set$__domains_by_id: function(__domains_by_id) { + this.__domains_by_id = type$.legacy_BuiltMap_of_legacy_String_and_legacy_Domain._as(__domains_by_id); + }, + set$__loopouts_by_id: function(__loopouts_by_id) { + this.__loopouts_by_id = type$.legacy_BuiltMap_of_legacy_String_and_legacy_Loopout._as(__loopouts_by_id); + }, + set$__extensions_by_id: function(__extensions_by_id) { + this.__extensions_by_id = type$.legacy_BuiltMap_of_legacy_String_and_legacy_Extension._as(__extensions_by_id); + }, + set$__crossovers_by_id: function(__crossovers_by_id) { + this.__crossovers_by_id = type$.legacy_BuiltMap_of_legacy_String_and_legacy_Crossover._as(__crossovers_by_id); + }, + set$__deletions_by_id: function(__deletions_by_id) { + this.__deletions_by_id = type$.legacy_BuiltMap_of_legacy_String_and_legacy_SelectableDeletion._as(__deletions_by_id); + }, + set$__insertions_by_id: function(__insertions_by_id) { + this.__insertions_by_id = type$.legacy_BuiltMap_of_legacy_String_and_legacy_SelectableInsertion._as(__insertions_by_id); + }, + set$__modifications_by_id: function(__modifications_by_id) { + this.__modifications_by_id = type$.legacy_BuiltMap_of_legacy_String_and_legacy_SelectableModification._as(__modifications_by_id); + }, + set$__ends_by_id: function(__ends_by_id) { + this.__ends_by_id = type$.legacy_BuiltMap_of_legacy_String_and_legacy_DNAEnd._as(__ends_by_id); + }, + set$__selectable_by_id: function(__selectable_by_id) { + this.__selectable_by_id = type$.legacy_BuiltMap_of_legacy_String_and_legacy_Selectable._as(__selectable_by_id); + }, + set$__strands_overlapping: function(__strands_overlapping) { + this.__strands_overlapping = type$.legacy_BuiltMap_of_legacy_Strand_and_legacy_BuiltList_legacy_Strand._as(__strands_overlapping); + }, + set$__domain_mismatches_map: function(__domain_mismatches_map) { + this.__domain_mismatches_map = type$.legacy_BuiltMap_of_legacy_Domain_and_legacy_BuiltList_legacy_Mismatch._as(__domain_mismatches_map); + }, + set$__unpaired_insertion_deletion_map: function(__unpaired_insertion_deletion_map) { + this.__unpaired_insertion_deletion_map = type$.legacy_BuiltMap_of_legacy_Domain_and_legacy_BuiltList_legacy_Address._as(__unpaired_insertion_deletion_map); + }, + set$__end_to_domain: function(__end_to_domain) { + this.__end_to_domain = type$.legacy_BuiltMap_of_legacy_DNAEnd_and_legacy_Domain._as(__end_to_domain); + }, + set$__end_to_extension: function(__end_to_extension) { + this.__end_to_extension = type$.legacy_BuiltMap_of_legacy_DNAEnd_and_legacy_Extension._as(__end_to_extension); + }, + set$__substrand_to_strand: function(__substrand_to_strand) { + this.__substrand_to_strand = type$.legacy_BuiltMap_of_legacy_Substrand_and_legacy_Strand._as(__substrand_to_strand); + }, + set$__strand_to_index: function(__strand_to_index) { + this.__strand_to_index = type$.legacy_BuiltMap_of_legacy_Strand_and_legacy_int._as(__strand_to_index); + }, + set$__crossover_to_strand: function(__crossover_to_strand) { + this.__crossover_to_strand = type$.legacy_BuiltMap_of_legacy_Crossover_and_legacy_Strand._as(__crossover_to_strand); + }, + set$__linker_to_strand: function(__linker_to_strand) { + this.__linker_to_strand = type$.legacy_BuiltMap_of_legacy_Linker_and_legacy_Strand._as(__linker_to_strand); + }, + set$__helix_idxs: function(__helix_idxs) { + this.__helix_idxs = type$.legacy_BuiltList_legacy_int._as(__helix_idxs); + }, + set$__helix_idx_to_domains: function(__helix_idx_to_domains) { + this.__helix_idx_to_domains = type$.legacy_BuiltMap_of_legacy_int_and_legacy_BuiltList_legacy_Domain._as(__helix_idx_to_domains); + }, + set$__address_to_end: function(__address_to_end) { + this.__address_to_end = type$.legacy_BuiltMap_of_legacy_Address_and_legacy_DNAEnd._as(__address_to_end); + }, + set$__end_to_address: function(__end_to_address) { + this.__end_to_address = type$.legacy_BuiltMap_of_legacy_DNAEnd_and_legacy_Address._as(__end_to_address); + }, + set$__address_5p_to_strand: function(__address_5p_to_strand) { + this.__address_5p_to_strand = type$.legacy_BuiltMap_of_legacy_Address_and_legacy_Strand._as(__address_5p_to_strand); + }, + set$__address_3p_to_strand: function(__address_3p_to_strand) { + this.__address_3p_to_strand = type$.legacy_BuiltMap_of_legacy_Address_and_legacy_Strand._as(__address_3p_to_strand); + }, + set$__address_5p_to_domain: function(__address_5p_to_domain) { + this.__address_5p_to_domain = type$.legacy_BuiltMap_of_legacy_Address_and_legacy_Domain._as(__address_5p_to_domain); + }, + set$__address_3p_to_domain: function(__address_3p_to_domain) { + this.__address_3p_to_domain = type$.legacy_BuiltMap_of_legacy_Address_and_legacy_Domain._as(__address_3p_to_domain); + }, + set$__potential_vertical_crossovers: function(__potential_vertical_crossovers) { + this.__potential_vertical_crossovers = type$.legacy_BuiltList_legacy_PotentialVerticalCrossover._as(__potential_vertical_crossovers); + }, + set$__helix_idxs_in_group: function(__helix_idxs_in_group) { + this.__helix_idxs_in_group = type$.legacy_BuiltMap_of_legacy_String_and_legacy_BuiltList_legacy_int._as(__helix_idxs_in_group); + }, + set$__domain_name_mismatches: function(__domain_name_mismatches) { + this.__domain_name_mismatches = type$.legacy_BuiltMap_of_legacy_int_and_legacy_BuiltList_legacy_DomainNameMismatch._as(__domain_name_mismatches); + }, + set$__all_domains: function(__all_domains) { + this.__all_domains = type$.legacy_BuiltList_legacy_Domain._as(__all_domains); + }, + set$__helix_to_crossover_addresses: function(__helix_to_crossover_addresses) { + this.__helix_to_crossover_addresses = type$.legacy_BuiltMap_of_legacy_int_and_legacy_BuiltList_legacy_Address._as(__helix_to_crossover_addresses); + }, + set$__helix_to_crossover_addresses_disallow_intrahelix: function(__helix_to_crossover_addresses_disallow_intrahelix) { + this.__helix_to_crossover_addresses_disallow_intrahelix = type$.legacy_BuiltMap_of_legacy_int_and_legacy_BuiltList_legacy_Address._as(__helix_to_crossover_addresses_disallow_intrahelix); + }, + set$__helix_to_crossover_addresses_disallow_intrahelix_disallow_intergroup: function(__helix_to_crossover_addresses_disallow_intrahelix_disallow_intergroup) { + this.__helix_to_crossover_addresses_disallow_intrahelix_disallow_intergroup = type$.legacy_BuiltMap_of_legacy_int_and_legacy_BuiltList_legacy_Address._as(__helix_to_crossover_addresses_disallow_intrahelix_disallow_intergroup); + } + }; + N.DesignBuilder.prototype = { + get$geometry: function(_) { + var t1 = this.get$_design0$_$this(), + t2 = t1._geometry; + return t2 == null ? t1._geometry = new N.GeometryBuilder() : t2; + }, + get$helices: function() { + var t1 = this.get$_design0$_$this(), + t2 = t1._helices; + if (t2 == null) { + t2 = A.MapBuilder_MapBuilder(C.Map_empty, type$.legacy_int, type$.legacy_Helix); + t1.set$_helices(t2); + t1 = t2; + } else + t1 = t2; + return t1; + }, + get$strands: function() { + var t1 = this.get$_design0$_$this(), + t2 = t1._strands; + if (t2 == null) { + t2 = D.ListBuilder_ListBuilder(C.List_empty, type$.legacy_Strand); + t1.set$_strands(t2); + t1 = t2; + } else + t1 = t2; + return t1; + }, + get$groups: function() { + var t1 = this.get$_design0$_$this(), + t2 = t1._groups; + if (t2 == null) { + t2 = A.MapBuilder_MapBuilder(C.Map_empty, type$.legacy_String, type$.legacy_HelixGroup); + t1.set$_groups(t2); + t1 = t2; + } else + t1 = t2; + return t1; + }, + get$unused_fields: function() { + var t1 = this.get$_design0$_$this(), + t2 = t1._unused_fields; + if (t2 == null) { + t2 = A.MapBuilder_MapBuilder(C.Map_empty, type$.legacy_String, type$.legacy_Object); + t1.set$_unused_fields(t2); + t1 = t2; + } else + t1 = t2; + return t1; + }, + get$_design0$_$this: function() { + var t1, t2, _this = this, + $$v = _this._design0$_$v; + if ($$v != null) { + _this._version = $$v.version; + t1 = $$v.geometry; + t1.toString; + t2 = new N.GeometryBuilder(); + t2._geometry$_$v = t1; + _this._geometry = t2; + t1 = $$v.helices; + t1.toString; + t2 = t1.$ti; + t2._eval$1("_BuiltMap<1,2>")._as(t1); + _this.set$_helices(new A.MapBuilder(t1._mapFactory, t1._map$_map, t1, t2._eval$1("@<1>")._bind$1(t2._rest[1])._eval$1("MapBuilder<1,2>"))); + t2 = $$v.strands; + t2.toString; + _this.set$_strands(D.ListBuilder_ListBuilder(t2, t2.$ti._precomputed1)); + t2 = $$v.groups; + t2.toString; + t1 = t2.$ti; + t1._eval$1("_BuiltMap<1,2>")._as(t2); + _this.set$_groups(new A.MapBuilder(t2._mapFactory, t2._map$_map, t2, t1._eval$1("@<1>")._bind$1(t1._rest[1])._eval$1("MapBuilder<1,2>"))); + t1 = $$v.unused_fields; + t1.toString; + t2 = t1.$ti; + t2._eval$1("_BuiltMap<1,2>")._as(t1); + _this.set$_unused_fields(new A.MapBuilder(t1._mapFactory, t1._map$_map, t1, t2._eval$1("@<1>")._bind$1(t2._rest[1])._eval$1("MapBuilder<1,2>"))); + _this._design0$_$v = null; + } + return _this; + }, + build$0: function() { + var _$failedField, e, _$result0, t1, t2, t3, t4, t5, t6, exception, _this = this, _s6_ = "Design", _$result = null; + try { + _$result0 = _this._design0$_$v; + if (_$result0 == null) { + t1 = _this.get$_design0$_$this()._version; + if (t1 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s6_, "version")); + t2 = _this.get$geometry(_this).build$0(); + t3 = _this.get$helices().build$0(); + t4 = _this.get$strands().build$0(); + t5 = _this.get$groups().build$0(); + t6 = _this.get$unused_fields().build$0(); + _$result0 = new N._$Design(t1, t2, t3, t4, t5, t6); + if (t2 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s6_, "geometry")); + if (t3 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s6_, "helices")); + if (t4 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s6_, "strands")); + if (t5 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s6_, "groups")); + if (t6 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s6_, "unused_fields")); + } + _$result = _$result0; + } catch (exception) { + H.unwrapException(exception); + _$failedField = null; + try { + _$failedField = "geometry"; + _this.get$geometry(_this).build$0(); + _$failedField = "helices"; + _this.get$helices().build$0(); + _$failedField = "strands"; + _this.get$strands().build$0(); + _$failedField = "groups"; + _this.get$groups().build$0(); + _$failedField = "unused_fields"; + _this.get$unused_fields().build$0(); + } catch (exception) { + e = H.unwrapException(exception); + t1 = Y.BuiltValueNestedFieldError$(_s6_, _$failedField, J.toString$0$(e)); + throw H.wrapException(t1); + } + throw exception; + } + t1 = type$.legacy_Design._as(_$result); + if (t1 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + _this._design0$_$v = t1; + return _$result; + }, + set$_helices: function(_helices) { + this._helices = type$.legacy_MapBuilder_of_legacy_int_and_legacy_Helix._as(_helices); + }, + set$_strands: function(_strands) { + this._strands = type$.legacy_ListBuilder_legacy_Strand._as(_strands); + }, + set$_groups: function(_groups) { + this._groups = type$.legacy_MapBuilder_of_legacy_String_and_legacy_HelixGroup._as(_groups); + }, + set$_unused_fields: function(_unused_fields) { + this._unused_fields = type$.legacy_MapBuilder_of_legacy_String_and_legacy_Object._as(_unused_fields); + } + }; + N._Design_Object_UnusedFields.prototype = {}; + V.DesignSideRotationParams.prototype = {}; + V.DesignSideRotationParams_DesignSideRotationParams_closure.prototype = { + call$1: function(b) { + b.get$_design_side_rotation_data$_$this()._design_side_rotation_data$_helix_idx = this.helix_idx; + b.get$_design_side_rotation_data$_$this()._design_side_rotation_data$_offset = this.offset; + return b; + }, + $signature: 358 + }; + V.DesignSideRotationData.prototype = {}; + V.DesignSideRotationData_DesignSideRotationData_closure.prototype = { + call$1: function(b) { + var _this = this, + t1 = b.get$helix(); + t1._helix$_$v = _this.helix; + b.get$_design_side_rotation_data$_$this()._design_side_rotation_data$_offset = _this.offset; + b.get$_design_side_rotation_data$_$this()._design_side_rotation_data$_color_forward = _this.color_forward; + b.get$_design_side_rotation_data$_$this()._design_side_rotation_data$_color_reverse = _this.color_reverse; + b.get$_design_side_rotation_data$_$this()._design_side_rotation_data$_roll_forward = _this.roll_forward; + b.get$_design_side_rotation_data$_$this()._design_side_rotation_data$_minor_groove_angle = _this.minor_groove_angle; + return b; + }, + $signature: 359 + }; + V._$DesignSideRotationParamsSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + type$.legacy_DesignSideRotationParams._as(object); + return H.setRuntimeTypeInfo(["helix_idx", serializers.serialize$2$specifiedType(object.helix_idx, C.FullType_kjq), "offset", serializers.serialize$2$specifiedType(object.offset, C.FullType_kjq)], type$.JSArray_legacy_Object); + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + var key, value, t1, $$v, + result = new V.DesignSideRotationParamsBuilder(), + iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + for (; iterator.moveNext$0();) { + key = H._asStringS(iterator.get$current(iterator)); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (key) { + case "helix_idx": + t1 = H._asIntS(serializers.deserialize$2$specifiedType(value, C.FullType_kjq)); + $$v = result._design_side_rotation_data$_$v; + if ($$v != null) { + result._design_side_rotation_data$_helix_idx = $$v.helix_idx; + result._design_side_rotation_data$_offset = $$v.offset; + result._design_side_rotation_data$_$v = null; + } + result._design_side_rotation_data$_helix_idx = t1; + break; + case "offset": + t1 = H._asIntS(serializers.deserialize$2$specifiedType(value, C.FullType_kjq)); + $$v = result._design_side_rotation_data$_$v; + if ($$v != null) { + result._design_side_rotation_data$_helix_idx = $$v.helix_idx; + result._design_side_rotation_data$_offset = $$v.offset; + result._design_side_rotation_data$_$v = null; + } + result._design_side_rotation_data$_offset = t1; + break; + } + } + return result.build$0(); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_gn0; + }, + get$wireName: function() { + return "DesignSideRotationParams"; + } + }; + V._$DesignSideRotationDataSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + type$.legacy_DesignSideRotationData._as(object); + return H.setRuntimeTypeInfo(["helix", serializers.serialize$2$specifiedType(object.helix, C.FullType_wEV), "offset", serializers.serialize$2$specifiedType(object.offset, C.FullType_kjq), "color_forward", serializers.serialize$2$specifiedType(object.color_forward, C.FullType_uHx), "color_reverse", serializers.serialize$2$specifiedType(object.color_reverse, C.FullType_uHx), "roll_forward", serializers.serialize$2$specifiedType(object.roll_forward, C.FullType_MME), "minor_groove_angle", serializers.serialize$2$specifiedType(object.minor_groove_angle, C.FullType_MME)], type$.JSArray_legacy_Object); + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + var t1, t2, key, value, t3, t4, + result = new V.DesignSideRotationDataBuilder(), + iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + for (t1 = type$.legacy_Color, t2 = type$.legacy_Helix; iterator.moveNext$0();) { + key = H._asStringS(iterator.get$current(iterator)); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (key) { + case "helix": + t3 = result.get$_design_side_rotation_data$_$this(); + t4 = t3._design_side_rotation_data$_helix; + if (t4 == null) { + t4 = new O.HelixBuilder(); + t4.get$_helix$_$this()._group = "default_group"; + t4.get$_helix$_$this()._min_offset = 0; + t4.get$_helix$_$this()._roll = 0; + t3._design_side_rotation_data$_helix = t4; + t3 = t4; + } else + t3 = t4; + t4 = t2._as(serializers.deserialize$2$specifiedType(value, C.FullType_wEV)); + if (t4 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + t3._helix$_$v = t4; + break; + case "offset": + t3 = H._asIntS(serializers.deserialize$2$specifiedType(value, C.FullType_kjq)); + result.get$_design_side_rotation_data$_$this()._design_side_rotation_data$_offset = t3; + break; + case "color_forward": + t3 = t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_uHx)); + result.get$_design_side_rotation_data$_$this()._design_side_rotation_data$_color_forward = t3; + break; + case "color_reverse": + t3 = t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_uHx)); + result.get$_design_side_rotation_data$_$this()._design_side_rotation_data$_color_reverse = t3; + break; + case "roll_forward": + t3 = H._asDoubleS(serializers.deserialize$2$specifiedType(value, C.FullType_MME)); + result.get$_design_side_rotation_data$_$this()._design_side_rotation_data$_roll_forward = t3; + break; + case "minor_groove_angle": + t3 = H._asDoubleS(serializers.deserialize$2$specifiedType(value, C.FullType_MME)); + result.get$_design_side_rotation_data$_$this()._design_side_rotation_data$_minor_groove_angle = t3; + break; + } + } + return result.build$0(); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_vEs; + }, + get$wireName: function() { + return "DesignSideRotationData"; + } + }; + V._$DesignSideRotationParams.prototype = { + $eq: function(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof V.DesignSideRotationParams && this.helix_idx === other.helix_idx && this.offset === other.offset; + }, + get$hashCode: function(_) { + var _this = this, + t1 = _this._design_side_rotation_data$__hashCode; + return t1 == null ? _this._design_side_rotation_data$__hashCode = Y.$jf(Y.$jc(Y.$jc(0, C.JSInt_methods.get$hashCode(_this.helix_idx)), C.JSInt_methods.get$hashCode(_this.offset))) : t1; + }, + toString$0: function(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("DesignSideRotationParams"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "helix_idx", this.helix_idx); + t2.add$2(t1, "offset", this.offset); + return t2.toString$0(t1); + }, + get$offset: function(receiver) { + return this.offset; + } + }; + V.DesignSideRotationParamsBuilder.prototype = { + get$offset: function(_) { + return this.get$_design_side_rotation_data$_$this()._design_side_rotation_data$_offset; + }, + get$_design_side_rotation_data$_$this: function() { + var _this = this, + $$v = _this._design_side_rotation_data$_$v; + if ($$v != null) { + _this._design_side_rotation_data$_helix_idx = $$v.helix_idx; + _this._design_side_rotation_data$_offset = $$v.offset; + _this._design_side_rotation_data$_$v = null; + } + return _this; + }, + build$0: function() { + var t1, t2, _this = this, + _s24_ = "DesignSideRotationParams", + _$result = _this._design_side_rotation_data$_$v; + if (_$result == null) { + t1 = _this.get$_design_side_rotation_data$_$this()._design_side_rotation_data$_helix_idx; + if (t1 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s24_, "helix_idx")); + t2 = _this.get$_design_side_rotation_data$_$this()._design_side_rotation_data$_offset; + if (t2 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s24_, "offset")); + _$result = new V._$DesignSideRotationParams(t1, t2); + } + return _this._design_side_rotation_data$_$v = _$result; + } + }; + V._$DesignSideRotationData.prototype = { + $eq: function(_, other) { + var t1, t2, _this = this; + if (other == null) + return false; + if (other === _this) + return true; + if (other instanceof V.DesignSideRotationData) + if (J.$eq$(_this.helix, other.helix)) + if (_this.offset === other.offset) { + t1 = _this.color_forward; + t2 = other.color_forward; + t1 = t1.get$hashCode(t1); + t2 = t2.get$hashCode(t2); + if (t1 === t2) { + t1 = _this.color_reverse; + t2 = other.color_reverse; + t1 = t1.get$hashCode(t1); + t2 = t2.get$hashCode(t2); + t1 = t1 === t2 && _this.roll_forward === other.roll_forward && _this.minor_groove_angle === other.minor_groove_angle; + } else + t1 = false; + } else + t1 = false; + else + t1 = false; + else + t1 = false; + return t1; + }, + get$hashCode: function(_) { + var t2, _this = this, + t1 = _this._design_side_rotation_data$__hashCode; + if (t1 == null) { + t1 = _this.color_forward; + t2 = _this.color_reverse; + t2 = _this._design_side_rotation_data$__hashCode = Y.$jf(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(0, J.get$hashCode$(_this.helix)), C.JSInt_methods.get$hashCode(_this.offset)), t1.get$hashCode(t1)), t2.get$hashCode(t2)), C.JSNumber_methods.get$hashCode(_this.roll_forward)), C.JSNumber_methods.get$hashCode(_this.minor_groove_angle))); + t1 = t2; + } + return t1; + }, + toString$0: function(_) { + var _this = this, + t1 = $.$get$newBuiltValueToStringHelper().call$1("DesignSideRotationData"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "helix", _this.helix); + t2.add$2(t1, "offset", _this.offset); + t2.add$2(t1, "color_forward", _this.color_forward); + t2.add$2(t1, "color_reverse", _this.color_reverse); + t2.add$2(t1, "roll_forward", _this.roll_forward); + t2.add$2(t1, "minor_groove_angle", _this.minor_groove_angle); + return t2.toString$0(t1); + }, + get$offset: function(receiver) { + return this.offset; + } + }; + V.DesignSideRotationDataBuilder.prototype = { + get$helix: function() { + var t1 = this.get$_design_side_rotation_data$_$this(), + t2 = t1._design_side_rotation_data$_helix; + if (t2 == null) { + t2 = new O.HelixBuilder(); + t2.get$_helix$_$this()._group = "default_group"; + t2.get$_helix$_$this()._min_offset = 0; + t2.get$_helix$_$this()._roll = 0; + t1._design_side_rotation_data$_helix = t2; + t1 = t2; + } else + t1 = t2; + return t1; + }, + get$offset: function(_) { + return this.get$_design_side_rotation_data$_$this()._design_side_rotation_data$_offset; + }, + get$_design_side_rotation_data$_$this: function() { + var t1, t2, _this = this, + $$v = _this._design_side_rotation_data$_$v; + if ($$v != null) { + t1 = $$v.helix; + t1.toString; + t2 = new O.HelixBuilder(); + t2.get$_helix$_$this()._group = "default_group"; + t2.get$_helix$_$this()._min_offset = 0; + t2.get$_helix$_$this()._roll = 0; + t2._helix$_$v = t1; + _this._design_side_rotation_data$_helix = t2; + _this._design_side_rotation_data$_offset = $$v.offset; + _this._design_side_rotation_data$_color_forward = $$v.color_forward; + _this._design_side_rotation_data$_color_reverse = $$v.color_reverse; + _this._design_side_rotation_data$_roll_forward = $$v.roll_forward; + _this._design_side_rotation_data$_minor_groove_angle = $$v.minor_groove_angle; + _this._design_side_rotation_data$_$v = null; + } + return _this; + }, + build$0: function() { + var _$failedField, e, _$result0, t1, t2, t3, t4, t5, t6, exception, _this = this, + _s22_ = "DesignSideRotationData", + _$result = null; + try { + _$result0 = _this._design_side_rotation_data$_$v; + if (_$result0 == null) { + t1 = _this.get$helix().build$0(); + t2 = _this.get$_design_side_rotation_data$_$this()._design_side_rotation_data$_offset; + if (t2 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s22_, "offset")); + t3 = _this.get$_design_side_rotation_data$_$this()._design_side_rotation_data$_color_forward; + if (t3 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s22_, "color_forward")); + t4 = _this.get$_design_side_rotation_data$_$this()._design_side_rotation_data$_color_reverse; + if (t4 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s22_, "color_reverse")); + t5 = _this.get$_design_side_rotation_data$_$this()._design_side_rotation_data$_roll_forward; + if (t5 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s22_, "roll_forward")); + t6 = _this.get$_design_side_rotation_data$_$this()._design_side_rotation_data$_minor_groove_angle; + if (t6 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s22_, "minor_groove_angle")); + _$result0 = new V._$DesignSideRotationData(t1, t2, t3, t4, t5, t6); + if (t1 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s22_, "helix")); + } + _$result = _$result0; + } catch (exception) { + H.unwrapException(exception); + _$failedField = null; + try { + _$failedField = "helix"; + _this.get$helix().build$0(); + } catch (exception) { + e = H.unwrapException(exception); + t1 = Y.BuiltValueNestedFieldError$(_s22_, _$failedField, J.toString$0$(e)); + throw H.wrapException(t1); + } + throw exception; + } + t1 = type$.legacy_DesignSideRotationData._as(_$result); + if (t1 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + _this._design_side_rotation_data$_$v = t1; + return _$result; + } + }; + V._DesignSideRotationData_Object_BuiltJsonSerializable.prototype = {}; + V._DesignSideRotationParams_Object_BuiltJsonSerializable.prototype = {}; + E.DialogType.prototype = {}; + E.Dialog.prototype = {}; + E.Dialog_Dialog_closure.prototype = { + call$1: function(b) { + var t1, _this = this; + b.get$_dialog$_$this()._title = _this.title; + b.get$_dialog$_$this()._dialog$_type = _this.type; + t1 = type$.legacy_dynamic_Function_legacy_BuiltList_legacy_DialogItem._as(_this.process_saved_response); + b.get$_dialog$_$this().set$_process_saved_response(t1); + b.get$_dialog$_$this()._use_saved_response = _this.use_saved_response; + b.get$items(b).replace$1(0, _this.items); + b.get$disable(b).replace$1(0, _this.disable); + b.get$mutually_exclusive_checkbox_groups().replace$1(0, _this.mutually_exclusive_checkbox_groups_half_built); + b.get$disable_when_any_radio_button_selected().replace$1(0, _this.disable_when_any_radio_button_selected_half_built); + b.get$disable_when_any_checkboxes_on().replace$1(0, _this.disable_when_any_checkboxes_on_half_built); + b.get$disable_when_any_checkboxes_off().replace$1(0, _this.disable_when_any_checkboxes_off_half_built); + return b; + }, + $signature: 127 + }; + E.DialogInteger.prototype = {$isDialogItem: 1}; + E.DialogInteger_DialogInteger_closure.prototype = { + call$1: function(b) { + b.get$_dialog$_$this()._dialog$_label = this.label; + b.get$_dialog$_$this()._dialog$_value = this.value; + b.get$_dialog$_$this()._tooltip = this.tooltip; + return b; + }, + $signature: 361 + }; + E.DialogFloat.prototype = {$isDialogItem: 1}; + E.DialogFloat_DialogFloat_closure.prototype = { + call$1: function(b) { + b.get$_dialog$_$this()._dialog$_label = this.label; + b.get$_dialog$_$this()._dialog$_value = this.value; + b.get$_dialog$_$this()._tooltip = this.tooltip; + return b; + }, + $signature: 362 + }; + E.DialogText.prototype = {$isDialogItem: 1}; + E.DialogText_DialogText_closure.prototype = { + call$1: function(b) { + var t1, _this = this; + b.get$_dialog$_$this()._dialog$_label = _this.label; + t1 = _this._box_0.size; + b.get$_dialog$_$this()._size = t1; + b.get$_dialog$_$this()._dialog$_value = _this.value; + b.get$_dialog$_$this()._tooltip = _this.tooltip; + return b; + }, + $signature: 363 + }; + E.DialogTextArea.prototype = {$isDialogItem: 1}; + E.DialogTextArea_DialogTextArea_closure.prototype = { + call$1: function(b) { + var _this = this; + b.get$_dialog$_$this()._dialog$_label = _this.label; + b.get$_dialog$_$this()._cols = _this.cols; + b.get$_dialog$_$this()._rows = _this.rows; + b.get$_dialog$_$this()._dialog$_value = _this.value; + b.get$_dialog$_$this()._tooltip = _this.tooltip; + return b; + }, + $signature: 364 + }; + E.DialogCheckbox.prototype = {$isDialogItem: 1}; + E.DialogCheckbox_DialogCheckbox_closure.prototype = { + call$1: function(b) { + b.get$_dialog$_$this()._dialog$_label = this.label; + b.get$_dialog$_$this()._dialog$_value = this.value; + b.get$_dialog$_$this()._tooltip = this.tooltip; + return b; + }, + $signature: 365 + }; + E.DialogRadio.prototype = { + get$value: function(_) { + return J.$index$asx(this.options._list, this.selected_idx); + }, + $isDialogItem: 1 + }; + E.DialogRadio_DialogRadio_closure.prototype = { + call$1: function(b) { + var _this = this; + b.get$options(b).replace$1(0, _this.options_list); + b.get$_dialog$_$this()._dialog$_selected_idx = _this.selected_idx; + b.get$_dialog$_$this()._radio = _this.radio; + b.get$_dialog$_$this()._dialog$_label = _this.label; + b.get$_dialog$_$this()._tooltip = _this.tooltip; + b.get$option_tooltips().replace$1(0, _this.option_tooltips_list); + return b; + }, + $signature: 366 + }; + E.DialogLink.prototype = {$isDialogItem: 1}; + E.DialogLink_DialogLink_closure.prototype = { + call$1: function(b) { + b.get$_dialog$_$this()._dialog$_label = this.label; + b.get$_dialog$_$this()._link = this.link; + b.get$_dialog$_$this()._dialog$_value = ""; + b.get$_dialog$_$this()._tooltip = this.tooltip; + return b; + }, + $signature: 367 + }; + E.DialogLabel.prototype = {$isDialogItem: 1}; + E.DialogLabel_DialogLabel_closure.prototype = { + call$1: function(b) { + b.get$_dialog$_$this()._dialog$_label = this.label; + b.get$_dialog$_$this()._dialog$_value = ""; + b.get$_dialog$_$this()._tooltip = this.tooltip; + return b; + }, + $signature: 368 + }; + E._$DialogTypeSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + return type$.legacy_DialogType._as(object).name; + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + return E._$valueOf3(H._asStringS(serialized)); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isPrimitiveSerializer: 1, + get$types: function() { + return C.List_Type_DialogType_Zuq; + }, + get$wireName: function() { + return "DialogType"; + } + }; + E._$DialogSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + type$.legacy_Dialog._as(object); + return H.setRuntimeTypeInfo(["title", serializers.serialize$2$specifiedType(object.title, C.FullType_h8g), "type", serializers.serialize$2$specifiedType(object.type, C.FullType_Npb), "use_saved_response", serializers.serialize$2$specifiedType(object.use_saved_response, C.FullType_MtR), "items", serializers.serialize$2$specifiedType(object.items, C.FullType_UGn), "mutually_exclusive_checkbox_groups", serializers.serialize$2$specifiedType(object.mutually_exclusive_checkbox_groups, C.FullType_UWS), "disable_when_any_radio_button_selected", serializers.serialize$2$specifiedType(object.disable_when_any_radio_button_selected, C.FullType_4QF), "disable_when_any_checkboxes_on", serializers.serialize$2$specifiedType(object.disable_when_any_checkboxes_on, C.FullType_i3t), "disable_when_any_checkboxes_off", serializers.serialize$2$specifiedType(object.disable_when_any_checkboxes_off, C.FullType_i3t), "disable", serializers.serialize$2$specifiedType(object.disable, C.FullType_4QF0)], type$.JSArray_legacy_Object); + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + var t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, key, value, t13, t14, t15, t16, t17, _null = null, + result = new E.DialogBuilder(), + iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + for (t1 = type$.legacy_BuiltList_legacy_Object, t2 = type$.legacy_int, t3 = type$.List_legacy_int, t4 = type$.ListBuilder_legacy_int, t5 = type$.MapBuilder_of_legacy_int_and_legacy_BuiltList_legacy_int, t6 = type$.legacy_BuiltList_legacy_int, t7 = type$.List_legacy_BuiltList_legacy_int, t8 = type$.ListBuilder_legacy_BuiltList_legacy_int, t9 = type$.legacy_DialogItem, t10 = type$.List_legacy_DialogItem, t11 = type$.ListBuilder_legacy_DialogItem, t12 = type$.legacy_DialogType; iterator.moveNext$0();) { + key = H._asStringS(iterator.get$current(iterator)); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (key) { + case "title": + t13 = H._asStringS(serializers.deserialize$2$specifiedType(value, C.FullType_h8g)); + result.get$_dialog$_$this()._title = t13; + break; + case "type": + t13 = t12._as(serializers.deserialize$2$specifiedType(value, C.FullType_Npb)); + result.get$_dialog$_$this()._dialog$_type = t13; + break; + case "use_saved_response": + t13 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); + result.get$_dialog$_$this()._use_saved_response = t13; + break; + case "items": + t13 = result.get$_dialog$_$this(); + t14 = t13._dialog$_items; + if (t14 == null) { + t14 = new D.ListBuilder(t11); + t14.set$__ListBuilder__list(t10._as(P.List_List$from(C.List_empty, true, t9))); + t14.set$_listOwner(_null); + t13.set$_dialog$_items(t14); + t13 = t14; + } else + t13 = t14; + t14 = t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_UGn)); + t15 = t13.$ti; + t16 = t15._eval$1("_BuiltList<1>"); + t17 = t15._eval$1("List<1>"); + if (t16._is(t14)) { + t16._as(t14); + t13.set$__ListBuilder__list(t17._as(t14._list)); + t13.set$_listOwner(t14); + } else { + t13.set$__ListBuilder__list(t17._as(P.List_List$from(t14, true, t15._precomputed1))); + t13.set$_listOwner(_null); + } + break; + case "mutually_exclusive_checkbox_groups": + t13 = result.get$_dialog$_$this(); + t14 = t13._mutually_exclusive_checkbox_groups; + if (t14 == null) { + t14 = new D.ListBuilder(t8); + t14.set$__ListBuilder__list(t7._as(P.List_List$from(C.List_empty, true, t6))); + t14.set$_listOwner(_null); + t13.set$_mutually_exclusive_checkbox_groups(t14); + t13 = t14; + } else + t13 = t14; + t14 = t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_UWS)); + t15 = t13.$ti; + t16 = t15._eval$1("_BuiltList<1>"); + t17 = t15._eval$1("List<1>"); + if (t16._is(t14)) { + t16._as(t14); + t13.set$__ListBuilder__list(t17._as(t14._list)); + t13.set$_listOwner(t14); + } else { + t13.set$__ListBuilder__list(t17._as(P.List_List$from(t14, true, t15._precomputed1))); + t13.set$_listOwner(_null); + } + break; + case "disable_when_any_radio_button_selected": + result.get$disable_when_any_radio_button_selected().replace$1(0, serializers.deserialize$2$specifiedType(value, C.FullType_4QF)); + break; + case "disable_when_any_checkboxes_on": + t13 = result.get$_dialog$_$this(); + t14 = t13._disable_when_any_checkboxes_on; + if (t14 == null) { + t14 = new A.MapBuilder(_null, $, _null, t5); + t14.replace$1(0, C.Map_empty); + t13.set$_disable_when_any_checkboxes_on(t14); + t13 = t14; + } else + t13 = t14; + t13.replace$1(0, serializers.deserialize$2$specifiedType(value, C.FullType_i3t)); + break; + case "disable_when_any_checkboxes_off": + t13 = result.get$_dialog$_$this(); + t14 = t13._disable_when_any_checkboxes_off; + if (t14 == null) { + t14 = new A.MapBuilder(_null, $, _null, t5); + t14.replace$1(0, C.Map_empty); + t13.set$_disable_when_any_checkboxes_off(t14); + t13 = t14; + } else + t13 = t14; + t13.replace$1(0, serializers.deserialize$2$specifiedType(value, C.FullType_i3t)); + break; + case "disable": + t13 = result.get$_dialog$_$this(); + t14 = t13._disable; + if (t14 == null) { + t14 = new D.ListBuilder(t4); + t14.set$__ListBuilder__list(t3._as(P.List_List$from(C.List_empty, true, t2))); + t14.set$_listOwner(_null); + t13.set$_disable(t14); + t13 = t14; + } else + t13 = t14; + t14 = t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_4QF0)); + t15 = t13.$ti; + t16 = t15._eval$1("_BuiltList<1>"); + t17 = t15._eval$1("List<1>"); + if (t16._is(t14)) { + t16._as(t14); + t13.set$__ListBuilder__list(t17._as(t14._list)); + t13.set$_listOwner(t14); + } else { + t13.set$__ListBuilder__list(t17._as(P.List_List$from(t14, true, t15._precomputed1))); + t13.set$_listOwner(_null); + } + break; + } + } + return result.build$0(); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_FCG0; + }, + get$wireName: function() { + return "Dialog"; + } + }; + E._$DialogIntegerSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + var result, value; + type$.legacy_DialogInteger._as(object); + result = H.setRuntimeTypeInfo(["label", serializers.serialize$2$specifiedType(object.label, C.FullType_h8g), "value", serializers.serialize$2$specifiedType(object.value, C.FullType_2ru)], type$.JSArray_legacy_Object); + value = object.tooltip; + if (value != null) { + C.JSArray_methods.add$1(result, "tooltip"); + C.JSArray_methods.add$1(result, serializers.serialize$2$specifiedType(value, C.FullType_h8g)); + } + return result; + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + var key, value, t1, + result = new E.DialogIntegerBuilder(), + iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + for (; iterator.moveNext$0();) { + key = H._asStringS(iterator.get$current(iterator)); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (key) { + case "label": + t1 = H._asStringS(serializers.deserialize$2$specifiedType(value, C.FullType_h8g)); + result.get$_dialog$_$this()._dialog$_label = t1; + break; + case "value": + t1 = H._asNumS(serializers.deserialize$2$specifiedType(value, C.FullType_2ru)); + result.get$_dialog$_$this()._dialog$_value = t1; + break; + case "tooltip": + t1 = H._asStringS(serializers.deserialize$2$specifiedType(value, C.FullType_h8g)); + result.get$_dialog$_$this()._tooltip = t1; + break; + } + } + return result.build$0(); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_nKT; + }, + get$wireName: function() { + return "DialogInteger"; + } + }; + E._$DialogFloatSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + var result, value; + type$.legacy_DialogFloat._as(object); + result = H.setRuntimeTypeInfo(["label", serializers.serialize$2$specifiedType(object.label, C.FullType_h8g), "value", serializers.serialize$2$specifiedType(object.value, C.FullType_2ru)], type$.JSArray_legacy_Object); + value = object.tooltip; + if (value != null) { + C.JSArray_methods.add$1(result, "tooltip"); + C.JSArray_methods.add$1(result, serializers.serialize$2$specifiedType(value, C.FullType_h8g)); + } + return result; + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + var key, value, t1, + result = new E.DialogFloatBuilder(), + iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + for (; iterator.moveNext$0();) { + key = H._asStringS(iterator.get$current(iterator)); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (key) { + case "label": + t1 = H._asStringS(serializers.deserialize$2$specifiedType(value, C.FullType_h8g)); + result.get$_dialog$_$this()._dialog$_label = t1; + break; + case "value": + t1 = H._asNumS(serializers.deserialize$2$specifiedType(value, C.FullType_2ru)); + result.get$_dialog$_$this()._dialog$_value = t1; + break; + case "tooltip": + t1 = H._asStringS(serializers.deserialize$2$specifiedType(value, C.FullType_h8g)); + result.get$_dialog$_$this()._tooltip = t1; + break; + } + } + return result.build$0(); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_ijl; + }, + get$wireName: function() { + return "DialogFloat"; + } + }; + E._$DialogTextSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + var result, value; + type$.legacy_DialogText._as(object); + result = H.setRuntimeTypeInfo(["label", serializers.serialize$2$specifiedType(object.label, C.FullType_h8g), "value", serializers.serialize$2$specifiedType(object.value, C.FullType_h8g), "size", serializers.serialize$2$specifiedType(object.size, C.FullType_kjq)], type$.JSArray_legacy_Object); + value = object.tooltip; + if (value != null) { + C.JSArray_methods.add$1(result, "tooltip"); + C.JSArray_methods.add$1(result, serializers.serialize$2$specifiedType(value, C.FullType_h8g)); + } + return result; + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + var key, value, t1, + result = new E.DialogTextBuilder(), + iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + for (; iterator.moveNext$0();) { + key = H._asStringS(iterator.get$current(iterator)); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (key) { + case "label": + t1 = H._asStringS(serializers.deserialize$2$specifiedType(value, C.FullType_h8g)); + result.get$_dialog$_$this()._dialog$_label = t1; + break; + case "value": + t1 = H._asStringS(serializers.deserialize$2$specifiedType(value, C.FullType_h8g)); + result.get$_dialog$_$this()._dialog$_value = t1; + break; + case "size": + t1 = H._asIntS(serializers.deserialize$2$specifiedType(value, C.FullType_kjq)); + result.get$_dialog$_$this()._size = t1; + break; + case "tooltip": + t1 = H._asStringS(serializers.deserialize$2$specifiedType(value, C.FullType_h8g)); + result.get$_dialog$_$this()._tooltip = t1; + break; + } + } + return result.build$0(); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_Opk; + }, + get$wireName: function() { + return "DialogText"; + } + }; + E._$DialogTextAreaSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + var result, value; + type$.legacy_DialogTextArea._as(object); + result = H.setRuntimeTypeInfo(["label", serializers.serialize$2$specifiedType(object.label, C.FullType_h8g), "cols", serializers.serialize$2$specifiedType(object.cols, C.FullType_kjq), "rows", serializers.serialize$2$specifiedType(object.rows, C.FullType_kjq), "value", serializers.serialize$2$specifiedType(object.value, C.FullType_h8g)], type$.JSArray_legacy_Object); + value = object.tooltip; + if (value != null) { + C.JSArray_methods.add$1(result, "tooltip"); + C.JSArray_methods.add$1(result, serializers.serialize$2$specifiedType(value, C.FullType_h8g)); + } + return result; + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + var key, value, t1, + result = new E.DialogTextAreaBuilder(), + iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + for (; iterator.moveNext$0();) { + key = H._asStringS(iterator.get$current(iterator)); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (key) { + case "label": + t1 = H._asStringS(serializers.deserialize$2$specifiedType(value, C.FullType_h8g)); + result.get$_dialog$_$this()._dialog$_label = t1; + break; + case "cols": + t1 = H._asIntS(serializers.deserialize$2$specifiedType(value, C.FullType_kjq)); + result.get$_dialog$_$this()._cols = t1; + break; + case "rows": + t1 = H._asIntS(serializers.deserialize$2$specifiedType(value, C.FullType_kjq)); + result.get$_dialog$_$this()._rows = t1; + break; + case "value": + t1 = H._asStringS(serializers.deserialize$2$specifiedType(value, C.FullType_h8g)); + result.get$_dialog$_$this()._dialog$_value = t1; + break; + case "tooltip": + t1 = H._asStringS(serializers.deserialize$2$specifiedType(value, C.FullType_h8g)); + result.get$_dialog$_$this()._tooltip = t1; + break; + } + } + return result.build$0(); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_uwZ; + }, + get$wireName: function() { + return "DialogTextArea"; + } + }; + E._$DialogCheckboxSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + var result, value; + type$.legacy_DialogCheckbox._as(object); + result = H.setRuntimeTypeInfo(["label", serializers.serialize$2$specifiedType(object.label, C.FullType_h8g), "value", serializers.serialize$2$specifiedType(object.value, C.FullType_MtR)], type$.JSArray_legacy_Object); + value = object.tooltip; + if (value != null) { + C.JSArray_methods.add$1(result, "tooltip"); + C.JSArray_methods.add$1(result, serializers.serialize$2$specifiedType(value, C.FullType_h8g)); + } + return result; + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + var key, value, t1, + result = new E.DialogCheckboxBuilder(), + iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + for (; iterator.moveNext$0();) { + key = H._asStringS(iterator.get$current(iterator)); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (key) { + case "label": + t1 = H._asStringS(serializers.deserialize$2$specifiedType(value, C.FullType_h8g)); + result.get$_dialog$_$this()._dialog$_label = t1; + break; + case "value": + t1 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); + result.get$_dialog$_$this()._dialog$_value = t1; + break; + case "tooltip": + t1 = H._asStringS(serializers.deserialize$2$specifiedType(value, C.FullType_h8g)); + result.get$_dialog$_$this()._tooltip = t1; + break; + } + } + return result.build$0(); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_OPy; + }, + get$wireName: function() { + return "DialogCheckbox"; + } + }; + E._$DialogRadioSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + var result, value; + type$.legacy_DialogRadio._as(object); + result = H.setRuntimeTypeInfo(["options", serializers.serialize$2$specifiedType(object.options, C.FullType_6m4), "selected_idx", serializers.serialize$2$specifiedType(object.selected_idx, C.FullType_kjq), "label", serializers.serialize$2$specifiedType(object.label, C.FullType_h8g), "radio", serializers.serialize$2$specifiedType(object.radio, C.FullType_MtR), "option_tooltips", serializers.serialize$2$specifiedType(object.option_tooltips, C.FullType_6m4)], type$.JSArray_legacy_Object); + value = object.tooltip; + if (value != null) { + C.JSArray_methods.add$1(result, "tooltip"); + C.JSArray_methods.add$1(result, serializers.serialize$2$specifiedType(value, C.FullType_h8g)); + } + return result; + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + var t1, t2, t3, t4, key, value, t5, t6, t7, t8, t9, _null = null, + result = new E.DialogRadioBuilder(), + iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + for (t1 = type$.legacy_BuiltList_legacy_Object, t2 = type$.legacy_String, t3 = type$.List_legacy_String, t4 = type$.ListBuilder_legacy_String; iterator.moveNext$0();) { + key = H._asStringS(iterator.get$current(iterator)); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (key) { + case "options": + t5 = result.get$_dialog$_$this(); + t6 = t5._options; + if (t6 == null) { + t6 = new D.ListBuilder(t4); + t6.set$__ListBuilder__list(t3._as(P.List_List$from(C.List_empty, true, t2))); + t6.set$_listOwner(_null); + t5.set$_options(t6); + t5 = t6; + } else + t5 = t6; + t6 = t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_6m4)); + t7 = t5.$ti; + t8 = t7._eval$1("_BuiltList<1>"); + t9 = t7._eval$1("List<1>"); + if (t8._is(t6)) { + t8._as(t6); + t5.set$__ListBuilder__list(t9._as(t6._list)); + t5.set$_listOwner(t6); + } else { + t5.set$__ListBuilder__list(t9._as(P.List_List$from(t6, true, t7._precomputed1))); + t5.set$_listOwner(_null); + } + break; + case "selected_idx": + t5 = H._asIntS(serializers.deserialize$2$specifiedType(value, C.FullType_kjq)); + result.get$_dialog$_$this()._dialog$_selected_idx = t5; + break; + case "label": + t5 = H._asStringS(serializers.deserialize$2$specifiedType(value, C.FullType_h8g)); + result.get$_dialog$_$this()._dialog$_label = t5; + break; + case "radio": + t5 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); + result.get$_dialog$_$this()._radio = t5; + break; + case "option_tooltips": + t5 = result.get$_dialog$_$this(); + t6 = t5._option_tooltips; + if (t6 == null) { + t6 = new D.ListBuilder(t4); + t6.set$__ListBuilder__list(t3._as(P.List_List$from(C.List_empty, true, t2))); + t6.set$_listOwner(_null); + t5.set$_option_tooltips(t6); + t5 = t6; + } else + t5 = t6; + t6 = t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_6m4)); + t7 = t5.$ti; + t8 = t7._eval$1("_BuiltList<1>"); + t9 = t7._eval$1("List<1>"); + if (t8._is(t6)) { + t8._as(t6); + t5.set$__ListBuilder__list(t9._as(t6._list)); + t5.set$_listOwner(t6); + } else { + t5.set$__ListBuilder__list(t9._as(P.List_List$from(t6, true, t7._precomputed1))); + t5.set$_listOwner(_null); + } + break; + case "tooltip": + t5 = H._asStringS(serializers.deserialize$2$specifiedType(value, C.FullType_h8g)); + result.get$_dialog$_$this()._tooltip = t5; + break; + } + } + return result.build$0(); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_4AN; + }, + get$wireName: function() { + return "DialogRadio"; + } + }; + E._$DialogLinkSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + var result, value; + type$.legacy_DialogLink._as(object); + result = H.setRuntimeTypeInfo(["label", serializers.serialize$2$specifiedType(object.label, C.FullType_h8g), "link", serializers.serialize$2$specifiedType(object.link, C.FullType_h8g), "value", serializers.serialize$2$specifiedType(object.value, C.FullType_h8g)], type$.JSArray_legacy_Object); + value = object.tooltip; + if (value != null) { + C.JSArray_methods.add$1(result, "tooltip"); + C.JSArray_methods.add$1(result, serializers.serialize$2$specifiedType(value, C.FullType_h8g)); + } + return result; + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + var key, value, t1, + result = new E.DialogLinkBuilder(), + iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + for (; iterator.moveNext$0();) { + key = H._asStringS(iterator.get$current(iterator)); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (key) { + case "label": + t1 = H._asStringS(serializers.deserialize$2$specifiedType(value, C.FullType_h8g)); + result.get$_dialog$_$this()._dialog$_label = t1; + break; + case "link": + t1 = H._asStringS(serializers.deserialize$2$specifiedType(value, C.FullType_h8g)); + result.get$_dialog$_$this()._link = t1; + break; + case "value": + t1 = H._asStringS(serializers.deserialize$2$specifiedType(value, C.FullType_h8g)); + result.get$_dialog$_$this()._dialog$_value = t1; + break; + case "tooltip": + t1 = H._asStringS(serializers.deserialize$2$specifiedType(value, C.FullType_h8g)); + result.get$_dialog$_$this()._tooltip = t1; + break; + } + } + return result.build$0(); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_app; + }, + get$wireName: function() { + return "DialogLink"; + } + }; + E._$Dialog.prototype = { + $eq: function(_, other) { + var _this = this; + if (other == null) + return false; + if (other === _this) + return true; + return other instanceof E.Dialog && _this.title === other.title && _this.type === other.type && _this.use_saved_response === other.use_saved_response && J.$eq$(_this.items, other.items) && J.$eq$(_this.mutually_exclusive_checkbox_groups, other.mutually_exclusive_checkbox_groups) && J.$eq$(_this.disable_when_any_radio_button_selected, other.disable_when_any_radio_button_selected) && J.$eq$(_this.disable_when_any_checkboxes_on, other.disable_when_any_checkboxes_on) && J.$eq$(_this.disable_when_any_checkboxes_off, other.disable_when_any_checkboxes_off) && J.$eq$(_this.disable, other.disable); + }, + get$hashCode: function(_) { + var _this = this, + t1 = _this._dialog$__hashCode; + return t1 == null ? _this._dialog$__hashCode = Y.$jf(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(0, C.JSString_methods.get$hashCode(_this.title)), H.Primitives_objectHashCode(_this.type)), C.JSBool_methods.get$hashCode(_this.use_saved_response)), J.get$hashCode$(_this.items)), J.get$hashCode$(_this.mutually_exclusive_checkbox_groups)), J.get$hashCode$(_this.disable_when_any_radio_button_selected)), J.get$hashCode$(_this.disable_when_any_checkboxes_on)), J.get$hashCode$(_this.disable_when_any_checkboxes_off)), J.get$hashCode$(_this.disable))) : t1; + }, + toString$0: function(_) { + var _this = this, + t1 = $.$get$newBuiltValueToStringHelper().call$1("Dialog"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "title", _this.title); + t2.add$2(t1, "type", _this.type); + t2.add$2(t1, "process_saved_response", _this.process_saved_response); + t2.add$2(t1, "use_saved_response", _this.use_saved_response); + t2.add$2(t1, "items", _this.items); + t2.add$2(t1, "mutually_exclusive_checkbox_groups", _this.mutually_exclusive_checkbox_groups); + t2.add$2(t1, "disable_when_any_radio_button_selected", _this.disable_when_any_radio_button_selected); + t2.add$2(t1, "disable_when_any_checkboxes_on", _this.disable_when_any_checkboxes_on); + t2.add$2(t1, "disable_when_any_checkboxes_off", _this.disable_when_any_checkboxes_off); + t2.add$2(t1, "disable", _this.disable); + t2.add$2(t1, "on_submit", _this.on_submit); + return t2.toString$0(t1); + } + }; + E.DialogBuilder.prototype = { + get$items: function(_) { + var t1 = this.get$_dialog$_$this(), + t2 = t1._dialog$_items; + if (t2 == null) { + t2 = D.ListBuilder_ListBuilder(C.List_empty, type$.legacy_DialogItem); + t1.set$_dialog$_items(t2); + t1 = t2; + } else + t1 = t2; + return t1; + }, + get$mutually_exclusive_checkbox_groups: function() { + var t1 = this.get$_dialog$_$this(), + t2 = t1._mutually_exclusive_checkbox_groups; + if (t2 == null) { + t2 = D.ListBuilder_ListBuilder(C.List_empty, type$.legacy_BuiltList_legacy_int); + t1.set$_mutually_exclusive_checkbox_groups(t2); + t1 = t2; + } else + t1 = t2; + return t1; + }, + get$disable_when_any_radio_button_selected: function() { + var t1 = this.get$_dialog$_$this(), + t2 = t1._disable_when_any_radio_button_selected; + if (t2 == null) { + t2 = A.MapBuilder_MapBuilder(C.Map_empty, type$.legacy_int, type$.legacy_BuiltMap_of_legacy_int_and_legacy_BuiltList_legacy_String); + t1.set$_disable_when_any_radio_button_selected(t2); + t1 = t2; + } else + t1 = t2; + return t1; + }, + get$disable_when_any_checkboxes_on: function() { + var t1 = this.get$_dialog$_$this(), + t2 = t1._disable_when_any_checkboxes_on; + if (t2 == null) { + t2 = A.MapBuilder_MapBuilder(C.Map_empty, type$.legacy_int, type$.legacy_BuiltList_legacy_int); + t1.set$_disable_when_any_checkboxes_on(t2); + t1 = t2; + } else + t1 = t2; + return t1; + }, + get$disable_when_any_checkboxes_off: function() { + var t1 = this.get$_dialog$_$this(), + t2 = t1._disable_when_any_checkboxes_off; + if (t2 == null) { + t2 = A.MapBuilder_MapBuilder(C.Map_empty, type$.legacy_int, type$.legacy_BuiltList_legacy_int); + t1.set$_disable_when_any_checkboxes_off(t2); + t1 = t2; + } else + t1 = t2; + return t1; + }, + get$disable: function(_) { + var t1 = this.get$_dialog$_$this(), + t2 = t1._disable; + if (t2 == null) { + t2 = D.ListBuilder_ListBuilder(C.List_empty, type$.legacy_int); + t1.set$_disable(t2); + t1 = t2; + } else + t1 = t2; + return t1; + }, + get$_dialog$_$this: function() { + var t1, t2, _this = this, + $$v = _this._dialog$_$v; + if ($$v != null) { + _this._title = $$v.title; + _this._dialog$_type = $$v.type; + _this.set$_process_saved_response($$v.process_saved_response); + _this._use_saved_response = $$v.use_saved_response; + t1 = $$v.items; + t1.toString; + _this.set$_dialog$_items(D.ListBuilder_ListBuilder(t1, t1.$ti._precomputed1)); + t1 = $$v.mutually_exclusive_checkbox_groups; + t1.toString; + _this.set$_mutually_exclusive_checkbox_groups(D.ListBuilder_ListBuilder(t1, t1.$ti._precomputed1)); + t1 = $$v.disable_when_any_radio_button_selected; + t1.toString; + t2 = t1.$ti; + t2._eval$1("_BuiltMap<1,2>")._as(t1); + _this.set$_disable_when_any_radio_button_selected(new A.MapBuilder(t1._mapFactory, t1._map$_map, t1, t2._eval$1("@<1>")._bind$1(t2._rest[1])._eval$1("MapBuilder<1,2>"))); + t2 = $$v.disable_when_any_checkboxes_on; + t2.toString; + t1 = t2.$ti; + t1._eval$1("_BuiltMap<1,2>")._as(t2); + _this.set$_disable_when_any_checkboxes_on(new A.MapBuilder(t2._mapFactory, t2._map$_map, t2, t1._eval$1("@<1>")._bind$1(t1._rest[1])._eval$1("MapBuilder<1,2>"))); + t1 = $$v.disable_when_any_checkboxes_off; + t1.toString; + t2 = t1.$ti; + t2._eval$1("_BuiltMap<1,2>")._as(t1); + _this.set$_disable_when_any_checkboxes_off(new A.MapBuilder(t1._mapFactory, t1._map$_map, t1, t2._eval$1("@<1>")._bind$1(t2._rest[1])._eval$1("MapBuilder<1,2>"))); + t2 = $$v.disable; + t2.toString; + _this.set$_disable(D.ListBuilder_ListBuilder(t2, t2.$ti._precomputed1)); + _this.set$_on_submit($$v.on_submit); + _this._dialog$_$v = null; + } + return _this; + }, + build$0: function() { + var _$failedField, e, _$result0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, exception, _this = this, _s6_ = "Dialog", + _s34_ = "mutually_exclusive_checkbox_groups", + _s38_ = "disable_when_any_radio_button_selected", + _s30_ = "disable_when_any_checkboxes_on", + _s31_ = "disable_when_any_checkboxes_off", + _$result = null; + try { + _$result0 = _this._dialog$_$v; + if (_$result0 == null) { + t1 = _this.get$_dialog$_$this()._title; + if (t1 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s6_, "title")); + t2 = _this.get$_dialog$_$this()._dialog$_type; + if (t2 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s6_, "type")); + t3 = _this.get$_dialog$_$this()._process_saved_response; + t4 = _this.get$_dialog$_$this()._use_saved_response; + if (t4 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s6_, "use_saved_response")); + t5 = _this.get$items(_this).build$0(); + t6 = _this.get$mutually_exclusive_checkbox_groups().build$0(); + t7 = _this.get$disable_when_any_radio_button_selected().build$0(); + t8 = _this.get$disable_when_any_checkboxes_on().build$0(); + t9 = _this.get$disable_when_any_checkboxes_off().build$0(); + t10 = _this.get$disable(_this).build$0(); + _$result0 = new E._$Dialog(t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, _this.get$_dialog$_$this()._on_submit); + if (t5 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s6_, "items")); + if (t6 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s6_, _s34_)); + if (t7 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s6_, _s38_)); + if (t8 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s6_, _s30_)); + if (t9 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s6_, _s31_)); + if (t10 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s6_, "disable")); + } + _$result = _$result0; + } catch (exception) { + H.unwrapException(exception); + _$failedField = null; + try { + _$failedField = "items"; + _this.get$items(_this).build$0(); + _$failedField = _s34_; + _this.get$mutually_exclusive_checkbox_groups().build$0(); + _$failedField = _s38_; + _this.get$disable_when_any_radio_button_selected().build$0(); + _$failedField = _s30_; + _this.get$disable_when_any_checkboxes_on().build$0(); + _$failedField = _s31_; + _this.get$disable_when_any_checkboxes_off().build$0(); + _$failedField = "disable"; + _this.get$disable(_this).build$0(); + } catch (exception) { + e = H.unwrapException(exception); + t1 = Y.BuiltValueNestedFieldError$(_s6_, _$failedField, J.toString$0$(e)); + throw H.wrapException(t1); + } + throw exception; + } + t1 = type$.legacy_Dialog._as(_$result); + if (t1 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + _this._dialog$_$v = t1; + return _$result; + }, + set$_process_saved_response: function(_process_saved_response) { + this._process_saved_response = type$.legacy_dynamic_Function_legacy_BuiltList_legacy_DialogItem._as(_process_saved_response); + }, + set$_dialog$_items: function(_items) { + this._dialog$_items = type$.legacy_ListBuilder_legacy_DialogItem._as(_items); + }, + set$_mutually_exclusive_checkbox_groups: function(_mutually_exclusive_checkbox_groups) { + this._mutually_exclusive_checkbox_groups = type$.legacy_ListBuilder_legacy_BuiltList_legacy_int._as(_mutually_exclusive_checkbox_groups); + }, + set$_disable_when_any_radio_button_selected: function(_disable_when_any_radio_button_selected) { + this._disable_when_any_radio_button_selected = type$.legacy_MapBuilder_of_legacy_int_and_legacy_BuiltMap_of_legacy_int_and_legacy_BuiltList_legacy_String._as(_disable_when_any_radio_button_selected); + }, + set$_disable_when_any_checkboxes_on: function(_disable_when_any_checkboxes_on) { + this._disable_when_any_checkboxes_on = type$.legacy_MapBuilder_of_legacy_int_and_legacy_BuiltList_legacy_int._as(_disable_when_any_checkboxes_on); + }, + set$_disable_when_any_checkboxes_off: function(_disable_when_any_checkboxes_off) { + this._disable_when_any_checkboxes_off = type$.legacy_MapBuilder_of_legacy_int_and_legacy_BuiltList_legacy_int._as(_disable_when_any_checkboxes_off); + }, + set$_disable: function(_disable) { + this._disable = type$.legacy_ListBuilder_legacy_int._as(_disable); + }, + set$_on_submit: function(_on_submit) { + this._on_submit = type$.legacy_void_Function_legacy_List_legacy_DialogItem._as(_on_submit); + } + }; + E._$DialogInteger.prototype = { + $eq: function(_, other) { + var _this = this; + if (other == null) + return false; + if (other === _this) + return true; + return other instanceof E.DialogInteger && _this.label === other.label && _this.value === other.value && _this.tooltip == other.tooltip; + }, + get$hashCode: function(_) { + var _this = this, + t1 = _this._dialog$__hashCode; + return t1 == null ? _this._dialog$__hashCode = Y.$jf(Y.$jc(Y.$jc(Y.$jc(0, C.JSString_methods.get$hashCode(_this.label)), C.JSNumber_methods.get$hashCode(_this.value)), J.get$hashCode$(_this.tooltip))) : t1; + }, + toString$0: function(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("DialogInteger"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "label", this.label); + t2.add$2(t1, "value", this.value); + t2.add$2(t1, "tooltip", this.tooltip); + return t2.toString$0(t1); + }, + get$label: function(receiver) { + return this.label; + }, + get$value: function(receiver) { + return this.value; + } + }; + E.DialogIntegerBuilder.prototype = { + get$value: function(_) { + return this.get$_dialog$_$this()._dialog$_value; + }, + set$value: function(_, value) { + this.get$_dialog$_$this()._dialog$_value = value; + }, + get$_dialog$_$this: function() { + var _this = this, + $$v = _this._dialog$_$v; + if ($$v != null) { + _this._dialog$_label = $$v.label; + _this._dialog$_value = $$v.value; + _this._tooltip = $$v.tooltip; + _this._dialog$_$v = null; + } + return _this; + }, + build$0: function() { + var t1, t2, _this = this, + _s13_ = "DialogInteger", + _$result = _this._dialog$_$v; + if (_$result == null) { + t1 = _this.get$_dialog$_$this()._dialog$_label; + if (t1 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s13_, "label")); + t2 = _this.get$_dialog$_$this()._dialog$_value; + if (t2 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s13_, "value")); + _$result = new E._$DialogInteger(t1, t2, _this.get$_dialog$_$this()._tooltip); + } + return _this._dialog$_$v = _$result; + } + }; + E._$DialogFloat.prototype = { + $eq: function(_, other) { + var _this = this; + if (other == null) + return false; + if (other === _this) + return true; + return other instanceof E.DialogFloat && _this.label === other.label && _this.value === other.value && _this.tooltip == other.tooltip; + }, + get$hashCode: function(_) { + return Y.$jf(Y.$jc(Y.$jc(Y.$jc(0, C.JSString_methods.get$hashCode(this.label)), C.JSNumber_methods.get$hashCode(this.value)), J.get$hashCode$(this.tooltip))); + }, + toString$0: function(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("DialogFloat"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "label", this.label); + t2.add$2(t1, "value", this.value); + t2.add$2(t1, "tooltip", this.tooltip); + return t2.toString$0(t1); + }, + get$label: function(receiver) { + return this.label; + }, + get$value: function(receiver) { + return this.value; + } + }; + E.DialogFloatBuilder.prototype = { + get$value: function(_) { + return this.get$_dialog$_$this()._dialog$_value; + }, + set$value: function(_, value) { + this.get$_dialog$_$this()._dialog$_value = value; + }, + get$_dialog$_$this: function() { + var _this = this, + $$v = _this._dialog$_$v; + if ($$v != null) { + _this._dialog$_label = $$v.label; + _this._dialog$_value = $$v.value; + _this._tooltip = $$v.tooltip; + _this._dialog$_$v = null; + } + return _this; + }, + build$0: function() { + var t1, t2, _this = this, + _s11_ = "DialogFloat", + _$result = _this._dialog$_$v; + if (_$result == null) { + t1 = _this.get$_dialog$_$this()._dialog$_label; + if (t1 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s11_, "label")); + t2 = _this.get$_dialog$_$this()._dialog$_value; + if (t2 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s11_, "value")); + _$result = new E._$DialogFloat(t1, t2, _this.get$_dialog$_$this()._tooltip); + } + return _this._dialog$_$v = _$result; + } + }; + E._$DialogText.prototype = { + $eq: function(_, other) { + var _this = this; + if (other == null) + return false; + if (other === _this) + return true; + return other instanceof E.DialogText && _this.label === other.label && _this.value === other.value && _this.size === other.size && _this.tooltip == other.tooltip; + }, + get$hashCode: function(_) { + var _this = this, + t1 = _this._dialog$__hashCode; + return t1 == null ? _this._dialog$__hashCode = Y.$jf(Y.$jc(Y.$jc(Y.$jc(Y.$jc(0, C.JSString_methods.get$hashCode(_this.label)), C.JSString_methods.get$hashCode(_this.value)), C.JSInt_methods.get$hashCode(_this.size)), J.get$hashCode$(_this.tooltip))) : t1; + }, + toString$0: function(_) { + var _this = this, + t1 = $.$get$newBuiltValueToStringHelper().call$1("DialogText"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "label", _this.label); + t2.add$2(t1, "value", _this.value); + t2.add$2(t1, "size", _this.size); + t2.add$2(t1, "tooltip", _this.tooltip); + return t2.toString$0(t1); + }, + get$label: function(receiver) { + return this.label; + }, + get$value: function(receiver) { + return this.value; + } + }; + E.DialogTextBuilder.prototype = { + get$value: function(_) { + return this.get$_dialog$_$this()._dialog$_value; + }, + set$value: function(_, value) { + this.get$_dialog$_$this()._dialog$_value = value; + }, + get$_dialog$_$this: function() { + var _this = this, + $$v = _this._dialog$_$v; + if ($$v != null) { + _this._dialog$_label = $$v.label; + _this._dialog$_value = $$v.value; + _this._size = $$v.size; + _this._tooltip = $$v.tooltip; + _this._dialog$_$v = null; + } + return _this; + }, + build$0: function() { + var t1, t2, t3, _this = this, + _s10_ = "DialogText", + _$result = _this._dialog$_$v; + if (_$result == null) { + t1 = _this.get$_dialog$_$this()._dialog$_label; + if (t1 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s10_, "label")); + t2 = _this.get$_dialog$_$this()._dialog$_value; + if (t2 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s10_, "value")); + t3 = _this.get$_dialog$_$this()._size; + if (t3 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s10_, "size")); + _$result = new E._$DialogText(t1, t2, t3, _this.get$_dialog$_$this()._tooltip); + } + return _this._dialog$_$v = _$result; + } + }; + E._$DialogTextArea.prototype = { + $eq: function(_, other) { + var _this = this; + if (other == null) + return false; + if (other === _this) + return true; + return other instanceof E.DialogTextArea && _this.label === other.label && _this.cols === other.cols && _this.rows === other.rows && _this.value === other.value && _this.tooltip == other.tooltip; + }, + get$hashCode: function(_) { + var _this = this, + t1 = _this._dialog$__hashCode; + return t1 == null ? _this._dialog$__hashCode = Y.$jf(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(0, C.JSString_methods.get$hashCode(_this.label)), C.JSInt_methods.get$hashCode(_this.cols)), C.JSInt_methods.get$hashCode(_this.rows)), C.JSString_methods.get$hashCode(_this.value)), J.get$hashCode$(_this.tooltip))) : t1; + }, + toString$0: function(_) { + var _this = this, + t1 = $.$get$newBuiltValueToStringHelper().call$1("DialogTextArea"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "label", _this.label); + t2.add$2(t1, "cols", _this.cols); + t2.add$2(t1, "rows", _this.rows); + t2.add$2(t1, "value", _this.value); + t2.add$2(t1, "tooltip", _this.tooltip); + return t2.toString$0(t1); + }, + get$label: function(receiver) { + return this.label; + }, + get$value: function(receiver) { + return this.value; + } + }; + E.DialogTextAreaBuilder.prototype = { + get$value: function(_) { + return this.get$_dialog$_$this()._dialog$_value; + }, + set$value: function(_, value) { + this.get$_dialog$_$this()._dialog$_value = value; + }, + get$_dialog$_$this: function() { + var _this = this, + $$v = _this._dialog$_$v; + if ($$v != null) { + _this._dialog$_label = $$v.label; + _this._cols = $$v.cols; + _this._rows = $$v.rows; + _this._dialog$_value = $$v.value; + _this._tooltip = $$v.tooltip; + _this._dialog$_$v = null; + } + return _this; + }, + build$0: function() { + var t1, t2, t3, t4, _this = this, + _s14_ = "DialogTextArea", + _$result = _this._dialog$_$v; + if (_$result == null) { + t1 = _this.get$_dialog$_$this()._dialog$_label; + if (t1 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s14_, "label")); + t2 = _this.get$_dialog$_$this()._cols; + if (t2 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s14_, "cols")); + t3 = _this.get$_dialog$_$this()._rows; + if (t3 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s14_, "rows")); + t4 = _this.get$_dialog$_$this()._dialog$_value; + if (t4 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s14_, "value")); + _$result = new E._$DialogTextArea(t1, t2, t3, t4, _this.get$_dialog$_$this()._tooltip); + } + return _this._dialog$_$v = _$result; + } + }; + E._$DialogCheckbox.prototype = { + rebuild$1: function(updates) { + var t1; + type$.legacy_void_Function_legacy_DialogCheckboxBuilder._as(updates); + t1 = new E.DialogCheckboxBuilder(); + t1._dialog$_$v = this; + updates.call$1(t1); + return t1.build$0(); + }, + $eq: function(_, other) { + var _this = this; + if (other == null) + return false; + if (other === _this) + return true; + return other instanceof E.DialogCheckbox && _this.label === other.label && _this.value === other.value && _this.tooltip == other.tooltip; + }, + get$hashCode: function(_) { + var _this = this, + t1 = _this._dialog$__hashCode; + return t1 == null ? _this._dialog$__hashCode = Y.$jf(Y.$jc(Y.$jc(Y.$jc(0, C.JSString_methods.get$hashCode(_this.label)), C.JSBool_methods.get$hashCode(_this.value)), J.get$hashCode$(_this.tooltip))) : t1; + }, + toString$0: function(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("DialogCheckbox"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "label", this.label); + t2.add$2(t1, "value", this.value); + t2.add$2(t1, "tooltip", this.tooltip); + return t2.toString$0(t1); + }, + get$label: function(receiver) { + return this.label; + }, + get$value: function(receiver) { + return this.value; + } + }; + E.DialogCheckboxBuilder.prototype = { + get$value: function(_) { + return this.get$_dialog$_$this()._dialog$_value; + }, + set$value: function(_, value) { + this.get$_dialog$_$this()._dialog$_value = value; + }, + get$_dialog$_$this: function() { + var _this = this, + $$v = _this._dialog$_$v; + if ($$v != null) { + _this._dialog$_label = $$v.label; + _this._dialog$_value = $$v.value; + _this._tooltip = $$v.tooltip; + _this._dialog$_$v = null; + } + return _this; + }, + build$0: function() { + var t1, t2, _this = this, + _s14_ = "DialogCheckbox", + _$result = _this._dialog$_$v; + if (_$result == null) { + t1 = _this.get$_dialog$_$this()._dialog$_label; + if (t1 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s14_, "label")); + t2 = _this.get$_dialog$_$this()._dialog$_value; + if (t2 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s14_, "value")); + _$result = new E._$DialogCheckbox(t1, t2, _this.get$_dialog$_$this()._tooltip); + } + return _this._dialog$_$v = _$result; + } + }; + E._$DialogRadio.prototype = { + rebuild$1: function(updates) { + var t1; + type$.legacy_void_Function_legacy_DialogRadioBuilder._as(updates); + t1 = new E.DialogRadioBuilder(); + t1._dialog$_$v = this; + updates.call$1(t1); + return t1.build$0(); + }, + $eq: function(_, other) { + var _this = this; + if (other == null) + return false; + if (other === _this) + return true; + return other instanceof E.DialogRadio && J.$eq$(_this.options, other.options) && _this.selected_idx === other.selected_idx && _this.label === other.label && _this.radio === other.radio && J.$eq$(_this.option_tooltips, other.option_tooltips) && _this.tooltip == other.tooltip; + }, + get$hashCode: function(_) { + var _this = this, + t1 = _this._dialog$__hashCode; + return t1 == null ? _this._dialog$__hashCode = Y.$jf(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(0, J.get$hashCode$(_this.options)), C.JSInt_methods.get$hashCode(_this.selected_idx)), C.JSString_methods.get$hashCode(_this.label)), C.JSBool_methods.get$hashCode(_this.radio)), J.get$hashCode$(_this.option_tooltips)), J.get$hashCode$(_this.tooltip))) : t1; + }, + toString$0: function(_) { + var _this = this, + t1 = $.$get$newBuiltValueToStringHelper().call$1("DialogRadio"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "options", _this.options); + t2.add$2(t1, "selected_idx", _this.selected_idx); + t2.add$2(t1, "label", _this.label); + t2.add$2(t1, "radio", _this.radio); + t2.add$2(t1, "option_tooltips", _this.option_tooltips); + t2.add$2(t1, "tooltip", _this.tooltip); + return t2.toString$0(t1); + }, + get$label: function(receiver) { + return this.label; + } + }; + E.DialogRadioBuilder.prototype = { + get$options: function(_) { + var t1 = this.get$_dialog$_$this(), + t2 = t1._options; + if (t2 == null) { + t2 = D.ListBuilder_ListBuilder(C.List_empty, type$.legacy_String); + t1.set$_options(t2); + t1 = t2; + } else + t1 = t2; + return t1; + }, + get$option_tooltips: function() { + var t1 = this.get$_dialog$_$this(), + t2 = t1._option_tooltips; + if (t2 == null) { + t2 = D.ListBuilder_ListBuilder(C.List_empty, type$.legacy_String); + t1.set$_option_tooltips(t2); + t1 = t2; + } else + t1 = t2; + return t1; + }, + get$_dialog$_$this: function() { + var t1, _this = this, + $$v = _this._dialog$_$v; + if ($$v != null) { + t1 = $$v.options; + t1.toString; + _this.set$_options(D.ListBuilder_ListBuilder(t1, t1.$ti._precomputed1)); + _this._dialog$_selected_idx = $$v.selected_idx; + _this._dialog$_label = $$v.label; + _this._radio = $$v.radio; + t1 = $$v.option_tooltips; + t1.toString; + _this.set$_option_tooltips(D.ListBuilder_ListBuilder(t1, t1.$ti._precomputed1)); + _this._tooltip = $$v.tooltip; + _this._dialog$_$v = null; + } + return _this; + }, + build$0: function() { + var _$failedField, e, _$result0, t1, t2, t3, t4, t5, exception, _this = this, + _s11_ = "DialogRadio", + _$result = null; + try { + _$result0 = _this._dialog$_$v; + if (_$result0 == null) { + t1 = _this.get$options(_this).build$0(); + t2 = _this.get$_dialog$_$this()._dialog$_selected_idx; + if (t2 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s11_, "selected_idx")); + t3 = _this.get$_dialog$_$this()._dialog$_label; + if (t3 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s11_, "label")); + t4 = _this.get$_dialog$_$this()._radio; + if (t4 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s11_, "radio")); + t5 = _this.get$option_tooltips().build$0(); + _$result0 = new E._$DialogRadio(t1, t2, t3, t4, t5, _this.get$_dialog$_$this()._tooltip); + if (t1 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s11_, "options")); + if (t5 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s11_, "option_tooltips")); + } + _$result = _$result0; + } catch (exception) { + H.unwrapException(exception); + _$failedField = null; + try { + _$failedField = "options"; + _this.get$options(_this).build$0(); + _$failedField = "option_tooltips"; + _this.get$option_tooltips().build$0(); + } catch (exception) { + e = H.unwrapException(exception); + t1 = Y.BuiltValueNestedFieldError$(_s11_, _$failedField, J.toString$0$(e)); + throw H.wrapException(t1); + } + throw exception; + } + t1 = type$.legacy_DialogRadio._as(_$result); + if (t1 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + _this._dialog$_$v = t1; + return _$result; + }, + set$_options: function(_options) { + this._options = type$.legacy_ListBuilder_legacy_String._as(_options); + }, + set$_option_tooltips: function(_option_tooltips) { + this._option_tooltips = type$.legacy_ListBuilder_legacy_String._as(_option_tooltips); + } + }; + E._$DialogLink.prototype = { + $eq: function(_, other) { + var _this = this; + if (other == null) + return false; + if (other === _this) + return true; + return other instanceof E.DialogLink && _this.label === other.label && _this.link === other.link && _this.value === other.value && _this.tooltip == other.tooltip; + }, + get$hashCode: function(_) { + var _this = this, + t1 = _this._dialog$__hashCode; + return t1 == null ? _this._dialog$__hashCode = Y.$jf(Y.$jc(Y.$jc(Y.$jc(Y.$jc(0, C.JSString_methods.get$hashCode(_this.label)), C.JSString_methods.get$hashCode(_this.link)), C.JSString_methods.get$hashCode(_this.value)), J.get$hashCode$(_this.tooltip))) : t1; + }, + toString$0: function(_) { + var _this = this, + t1 = $.$get$newBuiltValueToStringHelper().call$1("DialogLink"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "label", _this.label); + t2.add$2(t1, "link", _this.link); + t2.add$2(t1, "value", _this.value); + t2.add$2(t1, "tooltip", _this.tooltip); + return t2.toString$0(t1); + }, + get$label: function(receiver) { + return this.label; + }, + get$value: function(receiver) { + return this.value; + } + }; + E.DialogLinkBuilder.prototype = { + get$value: function(_) { + return this.get$_dialog$_$this()._dialog$_value; + }, + set$value: function(_, value) { + this.get$_dialog$_$this()._dialog$_value = value; + }, + get$_dialog$_$this: function() { + var _this = this, + $$v = _this._dialog$_$v; + if ($$v != null) { + _this._dialog$_label = $$v.label; + _this._link = $$v.link; + _this._dialog$_value = $$v.value; + _this._tooltip = $$v.tooltip; + _this._dialog$_$v = null; + } + return _this; + }, + build$0: function() { + var t1, t2, t3, _this = this, + _s10_ = "DialogLink", + _$result = _this._dialog$_$v; + if (_$result == null) { + t1 = _this.get$_dialog$_$this()._dialog$_label; + if (t1 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s10_, "label")); + t2 = _this.get$_dialog$_$this()._link; + if (t2 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s10_, "link")); + t3 = _this.get$_dialog$_$this()._dialog$_value; + if (t3 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s10_, "value")); + _$result = new E._$DialogLink(t1, t2, t3, _this.get$_dialog$_$this()._tooltip); + } + return _this._dialog$_$v = _$result; + } + }; + E._$DialogLabel.prototype = { + $eq: function(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof E.DialogLabel && this.label === other.label && this.value === other.value && true; + }, + get$hashCode: function(_) { + var _this = this, + t1 = _this._dialog$__hashCode; + return t1 == null ? _this._dialog$__hashCode = Y.$jf(Y.$jc(Y.$jc(Y.$jc(0, C.JSString_methods.get$hashCode(_this.label)), C.JSString_methods.get$hashCode(_this.value)), C.JSNull_methods.get$hashCode(_this.tooltip))) : t1; + }, + toString$0: function(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("DialogLabel"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "label", this.label); + t2.add$2(t1, "value", this.value); + t2.add$2(t1, "tooltip", this.tooltip); + return t2.toString$0(t1); + }, + get$label: function(receiver) { + return this.label; + }, + get$value: function(receiver) { + return this.value; + } + }; + E.DialogLabelBuilder.prototype = { + get$value: function(_) { + return this.get$_dialog$_$this()._dialog$_value; + }, + set$value: function(_, value) { + this.get$_dialog$_$this()._dialog$_value = value; + }, + get$_dialog$_$this: function() { + var _this = this, + $$v = _this._dialog$_$v; + if ($$v != null) { + _this._dialog$_label = $$v.label; + _this._dialog$_value = $$v.value; + _this._tooltip = $$v.tooltip; + _this._dialog$_$v = null; + } + return _this; + } + }; + E._Dialog_Object_BuiltJsonSerializable.prototype = {}; + E._DialogCheckbox_Object_BuiltJsonSerializable.prototype = {}; + E._DialogFloat_Object_BuiltJsonSerializable.prototype = {}; + E._DialogInteger_Object_BuiltJsonSerializable.prototype = {}; + E._DialogLabel_Object_BuiltJsonSerializable.prototype = {}; + E._DialogLink_Object_BuiltJsonSerializable.prototype = {}; + E._DialogRadio_Object_BuiltJsonSerializable.prototype = {}; + E._DialogText_Object_BuiltJsonSerializable.prototype = {}; + E._DialogTextArea_Object_BuiltJsonSerializable.prototype = {}; + X.DNAAssignOptions.prototype = {}; + X.DNAAssignOptions_DNAAssignOptions_closure.prototype = { + call$1: function(b) { + var _this = this; + b.get$_dna_assign_options$_$this()._dna_assign_options$_dna_sequence = _this.dna_sequence; + b.get$_dna_assign_options$_$this()._use_predefined_dna_sequence = _this.use_predefined_dna_sequence; + b.get$_dna_assign_options$_$this()._assign_complements = _this.assign_complements; + b.get$_dna_assign_options$_$this()._disable_change_sequence_bound_strand = _this.disable_change_sequence_bound_strand; + b.get$_dna_assign_options$_$this()._m13_rotation = _this.m13_rotation; + return b; + }, + $signature: 369 + }; + X._$DNAAssignOptionsSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + var result, value; + type$.legacy_DNAAssignOptions._as(object); + result = H.setRuntimeTypeInfo(["use_predefined_dna_sequence", serializers.serialize$2$specifiedType(object.use_predefined_dna_sequence, C.FullType_MtR), "assign_complements", serializers.serialize$2$specifiedType(object.assign_complements, C.FullType_MtR), "disable_change_sequence_bound_strand", serializers.serialize$2$specifiedType(object.disable_change_sequence_bound_strand, C.FullType_MtR), "m13_rotation", serializers.serialize$2$specifiedType(object.m13_rotation, C.FullType_kjq)], type$.JSArray_legacy_Object); + value = object.dna_sequence; + if (value != null) { + C.JSArray_methods.add$1(result, "dna_sequence"); + C.JSArray_methods.add$1(result, serializers.serialize$2$specifiedType(value, C.FullType_h8g)); + } + return result; + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + var result, iterator, key, value, t1; + type$.legacy_Iterable_legacy_Object._as(serialized); + result = new X.DNAAssignOptionsBuilder(); + X.DNAAssignOptions__initializeBuilder(result); + iterator = J.get$iterator$ax(serialized); + for (; iterator.moveNext$0();) { + key = H._asStringS(iterator.get$current(iterator)); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (key) { + case "dna_sequence": + t1 = H._asStringS(serializers.deserialize$2$specifiedType(value, C.FullType_h8g)); + result.get$_dna_assign_options$_$this()._dna_assign_options$_dna_sequence = t1; + break; + case "use_predefined_dna_sequence": + t1 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); + result.get$_dna_assign_options$_$this()._use_predefined_dna_sequence = t1; + break; + case "assign_complements": + t1 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); + result.get$_dna_assign_options$_$this()._assign_complements = t1; + break; + case "disable_change_sequence_bound_strand": + t1 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); + result.get$_dna_assign_options$_$this()._disable_change_sequence_bound_strand = t1; + break; + case "m13_rotation": + t1 = H._asIntS(serializers.deserialize$2$specifiedType(value, C.FullType_kjq)); + result.get$_dna_assign_options$_$this()._m13_rotation = t1; + break; + } + } + return result.build$0(); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_6hp; + }, + get$wireName: function() { + return "DNAAssignOptions"; + } + }; + X._$DNAAssignOptions.prototype = { + $eq: function(_, other) { + var _this = this; + if (other == null) + return false; + if (other === _this) + return true; + return other instanceof X.DNAAssignOptions && _this.dna_sequence == other.dna_sequence && _this.use_predefined_dna_sequence === other.use_predefined_dna_sequence && _this.assign_complements === other.assign_complements && _this.disable_change_sequence_bound_strand === other.disable_change_sequence_bound_strand && _this.m13_rotation === other.m13_rotation; + }, + get$hashCode: function(_) { + var _this = this, + t1 = _this._dna_assign_options$__hashCode; + return t1 == null ? _this._dna_assign_options$__hashCode = Y.$jf(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(0, J.get$hashCode$(_this.dna_sequence)), C.JSBool_methods.get$hashCode(_this.use_predefined_dna_sequence)), C.JSBool_methods.get$hashCode(_this.assign_complements)), C.JSBool_methods.get$hashCode(_this.disable_change_sequence_bound_strand)), C.JSInt_methods.get$hashCode(_this.m13_rotation))) : t1; + }, + toString$0: function(_) { + var _this = this, + t1 = $.$get$newBuiltValueToStringHelper().call$1("DNAAssignOptions"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "dna_sequence", _this.dna_sequence); + t2.add$2(t1, "use_predefined_dna_sequence", _this.use_predefined_dna_sequence); + t2.add$2(t1, "assign_complements", _this.assign_complements); + t2.add$2(t1, "disable_change_sequence_bound_strand", _this.disable_change_sequence_bound_strand); + t2.add$2(t1, "m13_rotation", _this.m13_rotation); + return t2.toString$0(t1); + } + }; + X.DNAAssignOptionsBuilder.prototype = { + get$_dna_assign_options$_$this: function() { + var _this = this, + $$v = _this._dna_assign_options$_$v; + if ($$v != null) { + _this._dna_assign_options$_dna_sequence = $$v.dna_sequence; + _this._use_predefined_dna_sequence = $$v.use_predefined_dna_sequence; + _this._assign_complements = $$v.assign_complements; + _this._disable_change_sequence_bound_strand = $$v.disable_change_sequence_bound_strand; + _this._m13_rotation = $$v.m13_rotation; + _this._dna_assign_options$_$v = null; + } + return _this; + }, + build$0: function() { + var t1, t2, t3, t4, t5, _this = this, + _s16_ = "DNAAssignOptions", + _$result = _this._dna_assign_options$_$v; + if (_$result == null) { + t1 = _this.get$_dna_assign_options$_$this()._dna_assign_options$_dna_sequence; + t2 = _this.get$_dna_assign_options$_$this()._use_predefined_dna_sequence; + if (t2 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s16_, "use_predefined_dna_sequence")); + t3 = _this.get$_dna_assign_options$_$this()._assign_complements; + if (t3 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s16_, "assign_complements")); + t4 = _this.get$_dna_assign_options$_$this()._disable_change_sequence_bound_strand; + if (t4 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s16_, "disable_change_sequence_bound_strand")); + t5 = _this.get$_dna_assign_options$_$this()._m13_rotation; + if (t5 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s16_, "m13_rotation")); + _$result = new X._$DNAAssignOptions(t1, t2, t3, t4, t5); + } + return _this._dna_assign_options$_$v = _$result; + } + }; + X._DNAAssignOptions_Object_BuiltJsonSerializable.prototype = {}; + Z.DNAEnd.prototype = { + get$is_3p: function() { + return !this.is_5p; + }, + get$select_mode: function() { + if (this.is_5p) + if (this.substrand_is_first) + return C.SelectModeChoice_end_5p_strand; + else + return C.SelectModeChoice_end_5p_domain; + else if (this.substrand_is_last) + return C.SelectModeChoice_end_3p_strand; + else + return C.SelectModeChoice_end_3p_domain; + }, + get$id: function(_) { + return "end-" + (this.is_5p ? "5p" : "3p") + "-" + this.substrand_id; + }, + $isSelectable: 1 + }; + Z.DNAEnd_DNAEnd_closure.prototype = { + call$1: function(b) { + var _this = this; + b.get$_dna_end$_$this()._dna_end$_offset = _this.offset; + b.get$_dna_end$_$this()._dna_end$_is_5p = _this.is_5p; + b.get$_dna_end$_$this()._is_start = _this.is_start; + b.get$_dna_end$_$this()._substrand_is_first = _this.substrand_is_first; + b.get$_dna_end$_$this()._substrand_is_last = _this.substrand_is_last; + b.get$_dna_end$_$this()._substrand_id = _this.substrand_id; + b.get$_dna_end$_$this()._dna_end$_is_scaffold = _this.is_scaffold; + b.get$_dna_end$_$this()._is_on_extension = _this.is_on_extension; + return b; + }, + $signature: 370 + }; + Z._$DNAEndSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + var result, value; + type$.legacy_DNAEnd._as(object); + result = H.setRuntimeTypeInfo(["is_5p", serializers.serialize$2$specifiedType(object.is_5p, C.FullType_MtR), "is_start", serializers.serialize$2$specifiedType(object.is_start, C.FullType_MtR), "is_on_extension", serializers.serialize$2$specifiedType(object.is_on_extension, C.FullType_MtR), "substrand_is_first", serializers.serialize$2$specifiedType(object.substrand_is_first, C.FullType_MtR), "substrand_is_last", serializers.serialize$2$specifiedType(object.substrand_is_last, C.FullType_MtR), "substrand_id", serializers.serialize$2$specifiedType(object.substrand_id, C.FullType_h8g), "is_scaffold", serializers.serialize$2$specifiedType(object.is_scaffold, C.FullType_MtR)], type$.JSArray_legacy_Object); + value = object.offset; + if (value != null) { + C.JSArray_methods.add$1(result, "offset"); + C.JSArray_methods.add$1(result, serializers.serialize$2$specifiedType(value, C.FullType_kjq)); + } + return result; + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + var key, value, t1, + result = new Z.DNAEndBuilder(), + iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + for (; iterator.moveNext$0();) { + key = H._asStringS(iterator.get$current(iterator)); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (key) { + case "offset": + t1 = H._asIntS(serializers.deserialize$2$specifiedType(value, C.FullType_kjq)); + result.get$_dna_end$_$this()._dna_end$_offset = t1; + break; + case "is_5p": + t1 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); + result.get$_dna_end$_$this()._dna_end$_is_5p = t1; + break; + case "is_start": + t1 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); + result.get$_dna_end$_$this()._is_start = t1; + break; + case "is_on_extension": + t1 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); + result.get$_dna_end$_$this()._is_on_extension = t1; + break; + case "substrand_is_first": + t1 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); + result.get$_dna_end$_$this()._substrand_is_first = t1; + break; + case "substrand_is_last": + t1 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); + result.get$_dna_end$_$this()._substrand_is_last = t1; + break; + case "substrand_id": + t1 = H._asStringS(serializers.deserialize$2$specifiedType(value, C.FullType_h8g)); + result.get$_dna_end$_$this()._substrand_id = t1; + break; + case "is_scaffold": + t1 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); + result.get$_dna_end$_$this()._dna_end$_is_scaffold = t1; + break; + } + } + return result.build$0(); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_6iC; + }, + get$wireName: function() { + return "DNAEnd"; + } + }; + Z._$DNAEnd.prototype = { + get$is_3p: function() { + var t1 = this.__is_3p; + return t1 == null ? this.__is_3p = Z.DNAEnd.prototype.get$is_3p.call(this) : t1; + }, + get$select_mode: function() { + var t1 = this._dna_end$__select_mode; + return t1 == null ? this._dna_end$__select_mode = Z.DNAEnd.prototype.get$select_mode.call(this) : t1; + }, + get$id: function(_) { + var _this = this, + t1 = _this._dna_end$__id; + return t1 == null ? _this._dna_end$__id = Z.DNAEnd.prototype.get$id.call(_this, _this) : t1; + }, + $eq: function(_, other) { + var _this = this; + if (other == null) + return false; + if (other === _this) + return true; + return other instanceof Z.DNAEnd && _this.offset == other.offset && _this.is_5p === other.is_5p && _this.is_start === other.is_start && _this.is_on_extension === other.is_on_extension && _this.substrand_is_first === other.substrand_is_first && _this.substrand_is_last === other.substrand_is_last && _this.substrand_id === other.substrand_id && _this.is_scaffold === other.is_scaffold; + }, + get$hashCode: function(_) { + var _this = this, + t1 = _this._dna_end$__hashCode; + return t1 == null ? _this._dna_end$__hashCode = Y.$jf(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(0, J.get$hashCode$(_this.offset)), C.JSBool_methods.get$hashCode(_this.is_5p)), C.JSBool_methods.get$hashCode(_this.is_start)), C.JSBool_methods.get$hashCode(_this.is_on_extension)), C.JSBool_methods.get$hashCode(_this.substrand_is_first)), C.JSBool_methods.get$hashCode(_this.substrand_is_last)), C.JSString_methods.get$hashCode(_this.substrand_id)), C.JSBool_methods.get$hashCode(_this.is_scaffold))) : t1; + }, + toString$0: function(_) { + var _this = this, + t1 = $.$get$newBuiltValueToStringHelper().call$1("DNAEnd"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "offset", _this.offset); + t2.add$2(t1, "is_5p", _this.is_5p); + t2.add$2(t1, "is_start", _this.is_start); + t2.add$2(t1, "is_on_extension", _this.is_on_extension); + t2.add$2(t1, "substrand_is_first", _this.substrand_is_first); + t2.add$2(t1, "substrand_is_last", _this.substrand_is_last); + t2.add$2(t1, "substrand_id", _this.substrand_id); + t2.add$2(t1, "is_scaffold", _this.is_scaffold); + return t2.toString$0(t1); + }, + get$offset: function(receiver) { + return this.offset; + }, + get$is_scaffold: function() { + return this.is_scaffold; + } + }; + Z.DNAEndBuilder.prototype = { + get$offset: function(_) { + return this.get$_dna_end$_$this()._dna_end$_offset; + }, + get$_dna_end$_$this: function() { + var _this = this, + $$v = _this._dna_end$_$v; + if ($$v != null) { + _this._dna_end$_offset = $$v.offset; + _this._dna_end$_is_5p = $$v.is_5p; + _this._is_start = $$v.is_start; + _this._is_on_extension = $$v.is_on_extension; + _this._substrand_is_first = $$v.substrand_is_first; + _this._substrand_is_last = $$v.substrand_is_last; + _this._substrand_id = $$v.substrand_id; + _this._dna_end$_is_scaffold = $$v.is_scaffold; + _this._dna_end$_$v = null; + } + return _this; + }, + build$0: function() { + var t1, t2, t3, t4, t5, t6, t7, t8, _this = this, _s6_ = "DNAEnd", + _$result = _this._dna_end$_$v; + if (_$result == null) { + t1 = _this.get$_dna_end$_$this()._dna_end$_offset; + t2 = _this.get$_dna_end$_$this()._dna_end$_is_5p; + if (t2 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s6_, "is_5p")); + t3 = _this.get$_dna_end$_$this()._is_start; + if (t3 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s6_, "is_start")); + t4 = _this.get$_dna_end$_$this()._is_on_extension; + if (t4 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s6_, "is_on_extension")); + t5 = _this.get$_dna_end$_$this()._substrand_is_first; + if (t5 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s6_, "substrand_is_first")); + t6 = _this.get$_dna_end$_$this()._substrand_is_last; + if (t6 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s6_, "substrand_is_last")); + t7 = _this.get$_dna_end$_$this()._substrand_id; + if (t7 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s6_, "substrand_id")); + t8 = _this.get$_dna_end$_$this()._dna_end$_is_scaffold; + if (t8 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s6_, "is_scaffold")); + _$result = new Z._$DNAEnd(t1, t2, t3, t4, t5, t6, t7, t8); + } + return _this._dna_end$_$v = _$result; + } + }; + Z._DNAEnd_Object_SelectableMixin.prototype = {}; + Z._DNAEnd_Object_SelectableMixin_BuiltJsonSerializable.prototype = {}; + B.DNAEndsMove.prototype = { + get$ends_moving: function() { + var t2, + t1 = H.setRuntimeTypeInfo([], type$.JSArray_legacy_DNAEnd); + for (t2 = J.get$iterator$ax(this.moves._list); t2.moveNext$0();) + t1.push(t2.get$current(t2).dna_end); + return D._BuiltList$of(t1, type$.legacy_DNAEnd); + }, + get$delta: function() { + var t1 = this.current_offset, + t2 = this.original_offset; + if (typeof t1 !== "number") + return t1.$sub(); + if (typeof t2 !== "number") + return H.iae(t2); + return t1 - t2; + }, + get$is_nontrivial: function() { + var t1, t2, t3, t4; + if (this.get$delta() === 0) + return false; + for (t1 = J.get$iterator$ax(this.moves._list); t1.moveNext$0();) { + t2 = t1.get$current(t1).dna_end; + t3 = this.current_capped_offset_of$1(t2); + t4 = t2.is_start; + t2 = t2.offset; + if (!t4) { + if (typeof t2 !== "number") + return t2.$sub(); + --t2; + } + if (t3 != t2) + return true; + } + return false; + }, + current_capped_offset_of$1: function(end) { + var t1, t2, t3, t4, current_offset_end, _this = this; + for (t1 = J.get$iterator$ax(_this.moves._list); t1.moveNext$0();) { + t2 = t1.get$current(t1); + t3 = t2.dna_end; + if (J.$eq$(t3, end)) { + t1 = t3.is_start; + t3 = t3.offset; + if (t1) + t1 = t3; + else { + if (typeof t3 !== "number") + return t3.$sub(); + t1 = t3 - 1; + } + t3 = _this._dna_ends_move$__delta; + if (t3 == null) { + t3 = _this._dna_ends_move$__delta = B.DNAEndsMove.prototype.get$delta.call(_this); + t4 = t3; + } else + t4 = t3; + if (typeof t1 !== "number") + return t1.$add(); + current_offset_end = t1 + t3; + t1 = t4 > 0; + if (t1) + current_offset_end = Math.min(t2.highest_offset, current_offset_end); + else { + t1 = t4 < 0; + if (t1) + current_offset_end = Math.max(t2.lowest_offset, current_offset_end); + } + return current_offset_end; + } + } + return null; + } + }; + B.DNAEndMove.prototype = {}; + B._$DNAEndsMoveSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + type$.legacy_DNAEndsMove._as(object); + return H.setRuntimeTypeInfo(["moves", serializers.serialize$2$specifiedType(object.moves, C.FullType_TgZ), "original_offset", serializers.serialize$2$specifiedType(object.original_offset, C.FullType_kjq), "helix", serializers.serialize$2$specifiedType(object.helix, C.FullType_wEV), "current_offset", serializers.serialize$2$specifiedType(object.current_offset, C.FullType_kjq)], type$.JSArray_legacy_Object); + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + var t1, t2, t3, t4, t5, key, value, t6, t7, t8, t9, t10, + result = new B.DNAEndsMoveBuilder(), + iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + for (t1 = type$.legacy_Helix, t2 = type$.legacy_BuiltList_legacy_Object, t3 = type$.legacy_DNAEndMove, t4 = type$.List_legacy_DNAEndMove, t5 = type$.ListBuilder_legacy_DNAEndMove; iterator.moveNext$0();) { + key = H._asStringS(iterator.get$current(iterator)); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (key) { + case "moves": + t6 = result.get$_dna_ends_move$_$this(); + t7 = t6._moves; + if (t7 == null) { + t7 = new D.ListBuilder(t5); + t7.set$__ListBuilder__list(t4._as(P.List_List$from(C.List_empty, true, t3))); + t7.set$_listOwner(null); + t6.set$_moves(t7); + t6 = t7; + } else + t6 = t7; + t7 = t2._as(serializers.deserialize$2$specifiedType(value, C.FullType_TgZ)); + t8 = t6.$ti; + t9 = t8._eval$1("_BuiltList<1>"); + t10 = t8._eval$1("List<1>"); + if (t9._is(t7)) { + t9._as(t7); + t6.set$__ListBuilder__list(t10._as(t7._list)); + t6.set$_listOwner(t7); + } else { + t6.set$__ListBuilder__list(t10._as(P.List_List$from(t7, true, t8._precomputed1))); + t6.set$_listOwner(null); + } + break; + case "original_offset": + t6 = H._asIntS(serializers.deserialize$2$specifiedType(value, C.FullType_kjq)); + result.get$_dna_ends_move$_$this()._dna_ends_move$_original_offset = t6; + break; + case "helix": + t6 = result.get$_dna_ends_move$_$this(); + t7 = t6._dna_ends_move$_helix; + if (t7 == null) { + t7 = new O.HelixBuilder(); + t7.get$_helix$_$this()._group = "default_group"; + t7.get$_helix$_$this()._min_offset = 0; + t7.get$_helix$_$this()._roll = 0; + t6._dna_ends_move$_helix = t7; + t6 = t7; + } else + t6 = t7; + t7 = t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_wEV)); + if (t7 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + t6._helix$_$v = t7; + break; + case "current_offset": + t6 = H._asIntS(serializers.deserialize$2$specifiedType(value, C.FullType_kjq)); + result.get$_dna_ends_move$_$this()._dna_ends_move$_current_offset = t6; + break; + } + } + return result.build$0(); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_6pZ; + }, + get$wireName: function() { + return "DNAEndsMove"; + } + }; + B._$DNAEndMoveSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + type$.legacy_DNAEndMove._as(object); + return H.setRuntimeTypeInfo(["dna_end", serializers.serialize$2$specifiedType(object.dna_end, C.FullType_QR4), "lowest_offset", serializers.serialize$2$specifiedType(object.lowest_offset, C.FullType_kjq), "highest_offset", serializers.serialize$2$specifiedType(object.highest_offset, C.FullType_kjq)], type$.JSArray_legacy_Object); + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + var t1, key, value, t2, t3, + result = new B.DNAEndMoveBuilder(), + iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + for (t1 = type$.legacy_DNAEnd; iterator.moveNext$0();) { + key = H._asStringS(iterator.get$current(iterator)); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (key) { + case "dna_end": + t2 = result.get$_dna_ends_move$_$this(); + t3 = t2._dna_end; + t2 = t3 == null ? t2._dna_end = new Z.DNAEndBuilder() : t3; + t3 = t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_QR4)); + if (t3 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + t2._dna_end$_$v = t3; + break; + case "lowest_offset": + t2 = H._asIntS(serializers.deserialize$2$specifiedType(value, C.FullType_kjq)); + result.get$_dna_ends_move$_$this()._lowest_offset = t2; + break; + case "highest_offset": + t2 = H._asIntS(serializers.deserialize$2$specifiedType(value, C.FullType_kjq)); + result.get$_dna_ends_move$_$this()._highest_offset = t2; + break; + } + } + return result.build$0(); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_A2Y; + }, + get$wireName: function() { + return "DNAEndMove"; + } + }; + B._$DNAEndsMove.prototype = { + get$delta: function() { + var t1 = this._dna_ends_move$__delta; + return t1 == null ? this._dna_ends_move$__delta = B.DNAEndsMove.prototype.get$delta.call(this) : t1; + }, + $eq: function(_, other) { + var _this = this; + if (other == null) + return false; + if (other === _this) + return true; + return other instanceof B.DNAEndsMove && J.$eq$(_this.moves, other.moves) && _this.original_offset == other.original_offset && J.$eq$(_this.helix, other.helix) && _this.current_offset == other.current_offset; + }, + get$hashCode: function(_) { + var _this = this, + t1 = _this._dna_ends_move$__hashCode; + return t1 == null ? _this._dna_ends_move$__hashCode = Y.$jf(Y.$jc(Y.$jc(Y.$jc(Y.$jc(0, J.get$hashCode$(_this.moves)), J.get$hashCode$(_this.original_offset)), J.get$hashCode$(_this.helix)), J.get$hashCode$(_this.current_offset))) : t1; + }, + toString$0: function(_) { + var _this = this, + t1 = $.$get$newBuiltValueToStringHelper().call$1("DNAEndsMove"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "moves", _this.moves); + t2.add$2(t1, "original_offset", _this.original_offset); + t2.add$2(t1, "helix", _this.helix); + t2.add$2(t1, "current_offset", _this.current_offset); + return t2.toString$0(t1); + }, + set$__ends_moving: function(__ends_moving) { + this.__ends_moving = type$.legacy_BuiltList_legacy_DNAEnd._as(__ends_moving); + } + }; + B.DNAEndsMoveBuilder.prototype = { + get$moves: function() { + var t1 = this.get$_dna_ends_move$_$this(), + t2 = t1._moves; + if (t2 == null) { + t2 = D.ListBuilder_ListBuilder(C.List_empty, type$.legacy_DNAEndMove); + t1.set$_moves(t2); + t1 = t2; + } else + t1 = t2; + return t1; + }, + get$helix: function() { + var t1 = this.get$_dna_ends_move$_$this(), + t2 = t1._dna_ends_move$_helix; + if (t2 == null) { + t2 = new O.HelixBuilder(); + t2.get$_helix$_$this()._group = "default_group"; + t2.get$_helix$_$this()._min_offset = 0; + t2.get$_helix$_$this()._roll = 0; + t1._dna_ends_move$_helix = t2; + t1 = t2; + } else + t1 = t2; + return t1; + }, + get$_dna_ends_move$_$this: function() { + var t1, t2, _this = this, + $$v = _this._dna_ends_move$_$v; + if ($$v != null) { + t1 = $$v.moves; + t1.toString; + _this.set$_moves(D.ListBuilder_ListBuilder(t1, t1.$ti._precomputed1)); + _this._dna_ends_move$_original_offset = $$v.original_offset; + t1 = $$v.helix; + t1.toString; + t2 = new O.HelixBuilder(); + t2.get$_helix$_$this()._group = "default_group"; + t2.get$_helix$_$this()._min_offset = 0; + t2.get$_helix$_$this()._roll = 0; + t2._helix$_$v = t1; + _this._dna_ends_move$_helix = t2; + _this._dna_ends_move$_current_offset = $$v.current_offset; + _this._dna_ends_move$_$v = null; + } + return _this; + }, + build$0: function() { + var _$failedField, e, _$result0, t1, t2, t3, t4, exception, _this = this, + _s11_ = "DNAEndsMove", + _$result = null; + try { + _$result0 = _this._dna_ends_move$_$v; + if (_$result0 == null) { + t1 = _this.get$moves().build$0(); + t2 = _this.get$_dna_ends_move$_$this()._dna_ends_move$_original_offset; + if (t2 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s11_, "original_offset")); + t3 = _this.get$helix().build$0(); + t4 = _this.get$_dna_ends_move$_$this()._dna_ends_move$_current_offset; + if (t4 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s11_, "current_offset")); + _$result0 = B._$DNAEndsMove$_(t4, t3, t1, t2); + } + _$result = _$result0; + } catch (exception) { + H.unwrapException(exception); + _$failedField = null; + try { + _$failedField = "moves"; + _this.get$moves().build$0(); + _$failedField = "helix"; + _this.get$helix().build$0(); + } catch (exception) { + e = H.unwrapException(exception); + t1 = Y.BuiltValueNestedFieldError$(_s11_, _$failedField, J.toString$0$(e)); + throw H.wrapException(t1); + } + throw exception; + } + t1 = type$.legacy_DNAEndsMove._as(_$result); + if (t1 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + _this._dna_ends_move$_$v = t1; + return _$result; + }, + set$_moves: function(_moves) { + this._moves = type$.legacy_ListBuilder_legacy_DNAEndMove._as(_moves); + } + }; + B._$DNAEndMove.prototype = { + $eq: function(_, other) { + var _this = this; + if (other == null) + return false; + if (other === _this) + return true; + return other instanceof B.DNAEndMove && J.$eq$(_this.dna_end, other.dna_end) && _this.lowest_offset === other.lowest_offset && _this.highest_offset === other.highest_offset; + }, + get$hashCode: function(_) { + return Y.$jf(Y.$jc(Y.$jc(Y.$jc(0, J.get$hashCode$(this.dna_end)), C.JSInt_methods.get$hashCode(this.lowest_offset)), C.JSInt_methods.get$hashCode(this.highest_offset))); + }, + toString$0: function(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("DNAEndMove"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "dna_end", this.dna_end); + t2.add$2(t1, "lowest_offset", this.lowest_offset); + t2.add$2(t1, "highest_offset", this.highest_offset); + return t2.toString$0(t1); + } + }; + B.DNAEndMoveBuilder.prototype = { + get$dna_end: function() { + var t1 = this.get$_dna_ends_move$_$this(), + t2 = t1._dna_end; + return t2 == null ? t1._dna_end = new Z.DNAEndBuilder() : t2; + }, + get$_dna_ends_move$_$this: function() { + var t1, t2, _this = this, + $$v = _this._dna_ends_move$_$v; + if ($$v != null) { + t1 = $$v.dna_end; + t1.toString; + t2 = new Z.DNAEndBuilder(); + t2._dna_end$_$v = t1; + _this._dna_end = t2; + _this._lowest_offset = $$v.lowest_offset; + _this._highest_offset = $$v.highest_offset; + _this._dna_ends_move$_$v = null; + } + return _this; + }, + build$0: function() { + var _$failedField, e, _$result0, t1, t2, t3, exception, _this = this, + _s10_ = "DNAEndMove", + _$result = null; + try { + _$result0 = _this._dna_ends_move$_$v; + if (_$result0 == null) { + t1 = _this.get$dna_end().build$0(); + t2 = _this.get$_dna_ends_move$_$this()._lowest_offset; + if (t2 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s10_, "lowest_offset")); + t3 = _this.get$_dna_ends_move$_$this()._highest_offset; + if (t3 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s10_, "highest_offset")); + _$result0 = B._$DNAEndMove$_(t1, t3, t2); + } + _$result = _$result0; + } catch (exception) { + H.unwrapException(exception); + _$failedField = null; + try { + _$failedField = "dna_end"; + _this.get$dna_end().build$0(); + } catch (exception) { + e = H.unwrapException(exception); + t1 = Y.BuiltValueNestedFieldError$(_s10_, _$failedField, J.toString$0$(e)); + throw H.wrapException(t1); + } + throw exception; + } + t1 = type$.legacy_DNAEndMove._as(_$result); + if (t1 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + _this._dna_ends_move$_$v = t1; + return _$result; + } + }; + B._DNAEndMove_Object_BuiltJsonSerializable.prototype = {}; + B._DNAEndsMove_Object_BuiltJsonSerializable.prototype = {}; + K.DNAExtensionsMove.prototype = { + get$ends_moving: function() { + var t2, + t1 = H.setRuntimeTypeInfo([], type$.JSArray_legacy_DNAEnd); + for (t2 = J.get$iterator$ax(this.moves._list); t2.moveNext$0();) + t1.push(t2.get$current(t2).dna_end); + return D._BuiltList$of(t1, type$.legacy_DNAEnd); + }, + current_point_of$1: function(end) { + var t1, t2, t3, t4, t5, t6, t7; + for (t1 = J.get$iterator$ax(this.moves._list); t1.moveNext$0();) { + t2 = t1.get$current(t1); + if (J.$eq$(t2.dna_end, end)) { + t1 = this.current_point; + t3 = t1.$ti; + t4 = t3._as(this.start_point); + t5 = t1.x; + t6 = t4.x; + if (typeof t5 !== "number") + return t5.$sub(); + if (typeof t6 !== "number") + return H.iae(t6); + t7 = t3._precomputed1; + t6 = t7._as(t5 - t6); + t1 = t1.y; + t4 = t4.y; + if (typeof t1 !== "number") + return t1.$sub(); + if (typeof t4 !== "number") + return H.iae(t4); + t4 = t7._as(t1 - t4); + t2 = t3._as(t2.original_position); + t1 = t2.x; + if (typeof t1 !== "number") + return H.iae(t1); + t1 = t7._as(t6 + t1); + t2 = t2.y; + if (typeof t2 !== "number") + return H.iae(t2); + return new P.Point(t1, t7._as(t4 + t2), t3); + } + } + return null; + } + }; + K.DNAExtensionMove.prototype = {}; + K._$DNAExtensionsMoveSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + type$.legacy_DNAExtensionsMove._as(object); + return H.setRuntimeTypeInfo(["moves", serializers.serialize$2$specifiedType(object.moves, C.FullType_j5B), "start_point", serializers.serialize$2$specifiedType(object.start_point, C.FullType_8eb), "current_point", serializers.serialize$2$specifiedType(object.current_point, C.FullType_8eb)], type$.JSArray_legacy_Object); + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + var t1, t2, t3, t4, t5, key, value, t6, t7, t8, t9, t10, + result = new K.DNAExtensionsMoveBuilder(), + iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + for (t1 = type$.legacy_Point_legacy_num, t2 = type$.legacy_BuiltList_legacy_Object, t3 = type$.legacy_DNAExtensionMove, t4 = type$.List_legacy_DNAExtensionMove, t5 = type$.ListBuilder_legacy_DNAExtensionMove; iterator.moveNext$0();) { + key = H._asStringS(iterator.get$current(iterator)); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (key) { + case "moves": + t6 = result.get$_dna_extensions_move$_$this(); + t7 = t6._dna_extensions_move$_moves; + if (t7 == null) { + t7 = new D.ListBuilder(t5); + t7.set$__ListBuilder__list(t4._as(P.List_List$from(C.List_empty, true, t3))); + t7.set$_listOwner(null); + t6.set$_dna_extensions_move$_moves(t7); + t6 = t7; + } else + t6 = t7; + t7 = t2._as(serializers.deserialize$2$specifiedType(value, C.FullType_j5B)); + t8 = t6.$ti; + t9 = t8._eval$1("_BuiltList<1>"); + t10 = t8._eval$1("List<1>"); + if (t9._is(t7)) { + t9._as(t7); + t6.set$__ListBuilder__list(t10._as(t7._list)); + t6.set$_listOwner(t7); + } else { + t6.set$__ListBuilder__list(t10._as(P.List_List$from(t7, true, t8._precomputed1))); + t6.set$_listOwner(null); + } + break; + case "start_point": + t6 = t1._as(t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_8eb))); + result.get$_dna_extensions_move$_$this().set$_dna_extensions_move$_start_point(t6); + break; + case "current_point": + t6 = t1._as(t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_8eb))); + result.get$_dna_extensions_move$_$this().set$_dna_extensions_move$_current_point(t6); + break; + } + } + return result.build$0(); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_grL; + }, + get$wireName: function() { + return "DNAExtensionsMove"; + } + }; + K._$DNAExtensionMoveSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + type$.legacy_DNAExtensionMove._as(object); + return H.setRuntimeTypeInfo(["dna_end", serializers.serialize$2$specifiedType(object.dna_end, C.FullType_QR4), "color", serializers.serialize$2$specifiedType(object.color, C.FullType_uHx), "original_position", serializers.serialize$2$specifiedType(object.original_position, C.FullType_8eb), "attached_end_position", serializers.serialize$2$specifiedType(object.attached_end_position, C.FullType_8eb), "extension", serializers.serialize$2$specifiedType(object.extension, C.FullType_gT2)], type$.JSArray_legacy_Object); + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + var t1, t2, t3, t4, key, value, t5, t6, + result = new K.DNAExtensionMoveBuilder(), + iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + for (t1 = type$.legacy_Extension, t2 = type$.legacy_Point_legacy_num, t3 = type$.legacy_Color, t4 = type$.legacy_DNAEnd; iterator.moveNext$0();) { + key = H._asStringS(iterator.get$current(iterator)); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (key) { + case "dna_end": + t5 = result.get$_dna_extensions_move$_$this(); + t6 = t5._dna_extensions_move$_dna_end; + t5 = t6 == null ? t5._dna_extensions_move$_dna_end = new Z.DNAEndBuilder() : t6; + t6 = t4._as(serializers.deserialize$2$specifiedType(value, C.FullType_QR4)); + if (t6 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + t5._dna_end$_$v = t6; + break; + case "color": + t5 = t3._as(serializers.deserialize$2$specifiedType(value, C.FullType_uHx)); + result.get$_dna_extensions_move$_$this()._dna_extensions_move$_color = t5; + break; + case "original_position": + t5 = t2._as(t2._as(serializers.deserialize$2$specifiedType(value, C.FullType_8eb))); + result.get$_dna_extensions_move$_$this().set$_original_position(t5); + break; + case "attached_end_position": + t5 = t2._as(t2._as(serializers.deserialize$2$specifiedType(value, C.FullType_8eb))); + result.get$_dna_extensions_move$_$this().set$_attached_end_position(t5); + break; + case "extension": + t5 = result.get$_dna_extensions_move$_$this(); + t6 = t5._extension; + t5 = t6 == null ? t5._extension = new S.ExtensionBuilder() : t6; + t6 = t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_gT2)); + if (t6 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + t5._extension$_$v = t6; + break; + } + } + return result.build$0(); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_NDM; + }, + get$wireName: function() { + return "DNAExtensionMove"; + } + }; + K._$DNAExtensionsMove.prototype = { + $eq: function(_, other) { + var _this = this; + if (other == null) + return false; + if (other === _this) + return true; + return other instanceof K.DNAExtensionsMove && J.$eq$(_this.moves, other.moves) && _this.start_point.$eq(0, other.start_point) && _this.current_point.$eq(0, other.current_point); + }, + get$hashCode: function(_) { + var t2, _this = this, + t1 = _this._dna_extensions_move$__hashCode; + if (t1 == null) { + t1 = _this.start_point; + t2 = _this.current_point; + t2 = _this._dna_extensions_move$__hashCode = Y.$jf(Y.$jc(Y.$jc(Y.$jc(0, J.get$hashCode$(_this.moves)), H.SystemHash_hash2(J.get$hashCode$(t1.x), J.get$hashCode$(t1.y))), H.SystemHash_hash2(J.get$hashCode$(t2.x), J.get$hashCode$(t2.y)))); + t1 = t2; + } + return t1; + }, + toString$0: function(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("DNAExtensionsMove"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "moves", this.moves); + t2.add$2(t1, "start_point", this.start_point); + t2.add$2(t1, "current_point", this.current_point); + return t2.toString$0(t1); + }, + set$_dna_extensions_move$__ends_moving: function(__ends_moving) { + this._dna_extensions_move$__ends_moving = type$.legacy_BuiltList_legacy_DNAEnd._as(__ends_moving); + } + }; + K.DNAExtensionsMoveBuilder.prototype = { + get$moves: function() { + var t1 = this.get$_dna_extensions_move$_$this(), + t2 = t1._dna_extensions_move$_moves; + if (t2 == null) { + t2 = D.ListBuilder_ListBuilder(C.List_empty, type$.legacy_DNAExtensionMove); + t1.set$_dna_extensions_move$_moves(t2); + t1 = t2; + } else + t1 = t2; + return t1; + }, + get$_dna_extensions_move$_$this: function() { + var t1, _this = this, + $$v = _this._dna_extensions_move$_$v; + if ($$v != null) { + t1 = $$v.moves; + t1.toString; + _this.set$_dna_extensions_move$_moves(D.ListBuilder_ListBuilder(t1, t1.$ti._precomputed1)); + _this.set$_dna_extensions_move$_start_point($$v.start_point); + _this.set$_dna_extensions_move$_current_point($$v.current_point); + _this._dna_extensions_move$_$v = null; + } + return _this; + }, + build$0: function() { + var _$failedField, e, _$result0, t1, t2, t3, exception, _this = this, + _s17_ = "DNAExtensionsMove", + _$result = null; + try { + _$result0 = _this._dna_extensions_move$_$v; + if (_$result0 == null) { + t1 = _this.get$moves().build$0(); + t2 = _this.get$_dna_extensions_move$_$this()._dna_extensions_move$_start_point; + if (t2 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s17_, "start_point")); + t3 = _this.get$_dna_extensions_move$_$this()._dna_extensions_move$_current_point; + if (t3 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s17_, "current_point")); + _$result0 = K._$DNAExtensionsMove$_(t3, t1, t2); + } + _$result = _$result0; + } catch (exception) { + H.unwrapException(exception); + _$failedField = null; + try { + _$failedField = "moves"; + _this.get$moves().build$0(); + } catch (exception) { + e = H.unwrapException(exception); + t1 = Y.BuiltValueNestedFieldError$(_s17_, _$failedField, J.toString$0$(e)); + throw H.wrapException(t1); + } + throw exception; + } + t1 = type$.legacy_DNAExtensionsMove._as(_$result); + if (t1 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + _this._dna_extensions_move$_$v = t1; + return _$result; + }, + set$_dna_extensions_move$_moves: function(_moves) { + this._dna_extensions_move$_moves = type$.legacy_ListBuilder_legacy_DNAExtensionMove._as(_moves); + }, + set$_dna_extensions_move$_start_point: function(_start_point) { + this._dna_extensions_move$_start_point = type$.legacy_Point_legacy_num._as(_start_point); + }, + set$_dna_extensions_move$_current_point: function(_current_point) { + this._dna_extensions_move$_current_point = type$.legacy_Point_legacy_num._as(_current_point); + } + }; + K._$DNAExtensionMove.prototype = { + _$DNAExtensionMove$_$5$attached_end_position$color$dna_end$extension$original_position: function(attached_end_position, color, dna_end, extension, original_position) { + var _s16_ = "DNAExtensionMove"; + if (this.dna_end == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s16_, "dna_end")); + if (this.extension == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s16_, "extension")); + }, + $eq: function(_, other) { + var t1, t2, _this = this; + if (other == null) + return false; + if (other === _this) + return true; + if (other instanceof K.DNAExtensionMove) + if (J.$eq$(_this.dna_end, other.dna_end)) { + t1 = _this.color; + t2 = other.color; + t1 = t1.get$hashCode(t1); + t2 = t2.get$hashCode(t2); + t1 = t1 === t2 && _this.original_position.$eq(0, other.original_position) && _this.attached_end_position.$eq(0, other.attached_end_position) && J.$eq$(_this.extension, other.extension); + } else + t1 = false; + else + t1 = false; + return t1; + }, + get$hashCode: function(_) { + var _this = this, + t1 = _this.color, + t2 = _this.original_position, + t3 = _this.attached_end_position; + return Y.$jf(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(0, J.get$hashCode$(_this.dna_end)), t1.get$hashCode(t1)), H.SystemHash_hash2(J.get$hashCode$(t2.x), J.get$hashCode$(t2.y))), H.SystemHash_hash2(J.get$hashCode$(t3.x), J.get$hashCode$(t3.y))), J.get$hashCode$(_this.extension))); + }, + toString$0: function(_) { + var _this = this, + t1 = $.$get$newBuiltValueToStringHelper().call$1("DNAExtensionMove"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "dna_end", _this.dna_end); + t2.add$2(t1, "color", _this.color); + t2.add$2(t1, "original_position", _this.original_position); + t2.add$2(t1, "attached_end_position", _this.attached_end_position); + t2.add$2(t1, "extension", _this.extension); + return t2.toString$0(t1); + } + }; + K.DNAExtensionMoveBuilder.prototype = { + get$dna_end: function() { + var t1 = this.get$_dna_extensions_move$_$this(), + t2 = t1._dna_extensions_move$_dna_end; + return t2 == null ? t1._dna_extensions_move$_dna_end = new Z.DNAEndBuilder() : t2; + }, + get$extension: function() { + var t1 = this.get$_dna_extensions_move$_$this(), + t2 = t1._extension; + return t2 == null ? t1._extension = new S.ExtensionBuilder() : t2; + }, + get$_dna_extensions_move$_$this: function() { + var t1, t2, _this = this, + $$v = _this._dna_extensions_move$_$v; + if ($$v != null) { + t1 = $$v.dna_end; + t1.toString; + t2 = new Z.DNAEndBuilder(); + t2._dna_end$_$v = t1; + _this._dna_extensions_move$_dna_end = t2; + _this._dna_extensions_move$_color = $$v.color; + _this.set$_original_position($$v.original_position); + _this.set$_attached_end_position($$v.attached_end_position); + t1 = $$v.extension; + t1.toString; + t2 = new S.ExtensionBuilder(); + t2._extension$_$v = t1; + _this._extension = t2; + _this._dna_extensions_move$_$v = null; + } + return _this; + }, + build$0: function() { + var _$failedField, e, _$result0, t1, t2, t3, t4, exception, _this = this, + _s16_ = "DNAExtensionMove", + _$result = null; + try { + _$result0 = _this._dna_extensions_move$_$v; + if (_$result0 == null) { + t1 = _this.get$dna_end().build$0(); + t2 = _this.get$_dna_extensions_move$_$this()._dna_extensions_move$_color; + if (t2 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s16_, "color")); + t3 = _this.get$_dna_extensions_move$_$this()._original_position; + if (t3 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s16_, "original_position")); + t4 = _this.get$_dna_extensions_move$_$this()._attached_end_position; + if (t4 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s16_, "attached_end_position")); + _$result0 = K._$DNAExtensionMove$_(t4, t2, t1, _this.get$extension().build$0(), t3); + } + _$result = _$result0; + } catch (exception) { + H.unwrapException(exception); + _$failedField = null; + try { + _$failedField = "dna_end"; + _this.get$dna_end().build$0(); + _$failedField = "extension"; + _this.get$extension().build$0(); + } catch (exception) { + e = H.unwrapException(exception); + t1 = Y.BuiltValueNestedFieldError$(_s16_, _$failedField, J.toString$0$(e)); + throw H.wrapException(t1); + } + throw exception; + } + t1 = type$.legacy_DNAExtensionMove._as(_$result); + if (t1 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + _this._dna_extensions_move$_$v = t1; + return _$result; + }, + set$_original_position: function(_original_position) { + this._original_position = type$.legacy_Point_legacy_num._as(_original_position); + }, + set$_attached_end_position: function(_attached_end_position) { + this._attached_end_position = type$.legacy_Point_legacy_num._as(_attached_end_position); + } + }; + K._DNAExtensionMove_Object_BuiltJsonSerializable.prototype = {}; + K._DNAExtensionsMove_Object_BuiltJsonSerializable.prototype = {}; + G.Insertion.prototype = { + toJson$0: function() { + return H.setRuntimeTypeInfo([this.offset, this.length], type$.JSArray_legacy_int); + } + }; + G.Insertion_Insertion_closure.prototype = { + call$1: function(b) { + b.get$_domain$_$this()._domain$_offset = this.offset; + b.get$_domain$_$this()._domain$_length = this.count; + return b; + }, + $signature: 47 + }; + G.Domain.prototype = { + get$id: function(_) { + var _this = this, + t1 = "substrand-H" + _this.helix + "-" + _this.start + "-" + _this.end + "-"; + return t1 + (_this.forward ? "forward" : "reverse"); + }, + get$select_mode: function() { + return C.SelectModeChoice_domain; + }, + get$insertion_offset_to_length: function() { + var t3, t4, + t1 = type$.legacy_int, + t2 = P.LinkedHashMap_LinkedHashMap$_empty(t1, t1); + for (t3 = J.get$iterator$ax(this.insertions._list); t3.moveNext$0();) { + t4 = t3.get$current(t3); + t2.$indexSet(0, t4.offset, t4.length); + } + return A.BuiltMap_BuiltMap(t2, t1, t1); + }, + get$dnaend_start: function() { + var _this = this; + return Z.DNAEnd_DNAEnd(_this.forward, false, _this.is_scaffold, true, _this.start, _this.get$id(_this), _this.is_first, _this.is_last); + }, + get$dnaend_end: function() { + var _this = this; + return Z.DNAEnd_DNAEnd(!_this.forward, false, _this.is_scaffold, false, _this.end, _this.get$id(_this), _this.is_first, _this.is_last); + }, + get$selectable_deletions: function() { + var t2, t3, t4, + t1 = H.setRuntimeTypeInfo([], type$.JSArray_legacy_SelectableDeletion); + for (t2 = J.get$iterator$ax(this.deletions._list), t3 = this.is_scaffold; t2.moveNext$0();) { + t4 = t2.get$current(t2); + if (t4 == null) + H.throwExpression(Y.BuiltValueNullFieldError$("SelectableDeletion", "offset")); + t1.push(new E._$SelectableDeletion(t4, this, t3)); + } + return D._BuiltList$of(t1, type$.legacy_SelectableDeletion); + }, + get$selectable_insertions: function() { + var t2, t3, t4, + t1 = H.setRuntimeTypeInfo([], type$.JSArray_legacy_SelectableInsertion); + for (t2 = J.get$iterator$ax(this.insertions._list), t3 = this.is_scaffold; t2.moveNext$0();) { + t4 = t2.get$current(t2); + if (t4 == null) + H.throwExpression(Y.BuiltValueNullFieldError$("SelectableInsertion", "insertion")); + t1.push(new E._$SelectableInsertion(t4, this, t3)); + } + return D._BuiltList$of(t1, type$.legacy_SelectableInsertion); + }, + set_dna_sequence$1: function(seq) { + return this.rebuild$1(new G.Domain_set_dna_sequence_closure(seq)); + }, + is_domain$0: function() { + return true; + }, + is_loopout$0: function() { + return false; + }, + get$address_start: function() { + return Z._$Address$_(this.forward, this.helix, this.start); + }, + get$address_end: function() { + return Z._$Address$_(this.forward, this.helix, this.end - 1); + }, + get$address_5p: function() { + return this.forward ? this.get$address_start() : this.get$address_end(); + }, + get$address_3p: function() { + return this.forward ? this.get$address_end() : this.get$address_start(); + }, + type_description$0: function() { + return "domain"; + }, + to_json_serializable$1$suppress_indent: function(suppress_indent) { + var t3, t4, _this = this, + t1 = type$.dynamic, + json_map = P.LinkedHashMap_LinkedHashMap$_empty(type$.legacy_String, t1), + t2 = _this.name; + if (t2 != null) + json_map.$indexSet(0, "name", t2); + json_map.$indexSet(0, "helix", _this.helix); + json_map.$indexSet(0, "forward", _this.forward); + json_map.$indexSet(0, "start", _this.start); + json_map.$indexSet(0, "end", _this.end); + t2 = _this.deletions; + if (J.get$isNotEmpty$asx(t2._list)) + json_map.$indexSet(0, "deletions", P.List_List$from(t2, true, t1)); + t2 = _this.insertions; + t3 = t2._list; + t4 = J.getInterceptor$asx(t3); + if (t4.get$isNotEmpty(t3)) + json_map.$indexSet(0, "insertions", P.List_List$from(t4.map$1$1(t3, H._instanceType(t2)._eval$1("@(1)")._as(new G.Domain_to_json_serializable_closure(suppress_indent)), t1), true, t1)); + t1 = _this.color; + if (t1 != null) { + t1 = t1.toHexColor$0(); + json_map.$indexSet(0, "color", "#" + t1.get$rHex() + t1.get$gHex() + t1.get$bHex()); + } + t1 = _this.label; + if (t1 != null) + json_map.$indexSet(0, "label", t1); + t1 = _this.unused_fields; + t2 = t1._map$_map; + t3 = H._instanceType(t1); + json_map.addAll$1(0, new S.CopyOnWriteMap(t1._mapFactory, t2, t3._eval$1("@<1>")._bind$1(t3._rest[1])._eval$1("CopyOnWriteMap<1,2>"))); + return suppress_indent ? new K.NoIndent(json_map) : json_map; + }, + get$offset_5p: function() { + return this.forward ? this.start : this.end - 1; + }, + get$offset_3p: function() { + return this.forward ? this.end - 1 : this.start; + }, + dna_length$0: function() { + var t2, _this = this, + t1 = J.get$length$asx(_this.deletions._list); + if (typeof t1 !== "number") + return H.iae(t1); + t2 = _this.__num_insertions; + if (t2 == null) + t2 = _this.__num_insertions = G.Domain.prototype.get$num_insertions.call(_this); + return _this.end - _this.start - t1 + t2; + }, + dna_length_in$2: function(left, right) { + var t1, num_deletions, _this = this; + if (left > right + 1) + throw H.wrapException(P.ArgumentError$("left = " + left + " and right = " + right + " but we should have left <= right + 1")); + t1 = _this.start; + if (t1 > left) + throw H.wrapException(P.ArgumentError$("left = " + left + " should be at least start = " + t1)); + t1 = _this.end; + if (right >= t1) + throw H.wrapException(P.ArgumentError$("right = " + right + " should be at most end - 1 = " + (t1 - 1))); + t1 = _this.deletions; + t1.toString; + t1 = J.where$1$ax(t1._list, t1.$ti._eval$1("bool(1)")._as(new G.Domain_dna_length_in_closure(left, right))); + num_deletions = t1.get$length(t1); + t1 = _this.insertions; + t1.toString; + return right - left + 1 - num_deletions + G.Domain_num_insertions_in_list(J.where$1$ax(t1._list, t1.$ti._eval$1("bool(1)")._as(new G.Domain_dna_length_in_closure0(left, right)))); + }, + dna_sequence_deletions_insertions_to_spaces$1$reverse: function(reverse) { + var seq_idx, offset0, insertion_length, _this = this, + seq = _this.dna_sequence, + codeunits = H.setRuntimeTypeInfo([], type$.JSArray_legacy_int), + deletions_set = J.toSet$0$ax(_this.deletions._list), + t1 = type$.legacy_int, + insertions_map = P.LinkedHashMap_LinkedHashMap$fromIterable(_this.insertions, new G.Domain_dna_sequence_deletions_insertions_to_spaces_closure(), new G.Domain_dna_sequence_deletions_insertions_to_spaces_closure0(), t1, t1), + offset = _this.get$offset_5p(), + $forward = _this.forward ? 1 : -1, + offset_out_of_bounds = new G.Domain_dna_sequence_deletions_insertions_to_spaces_offset_out_of_bounds(_this, $forward); + for (t1 = J.getInterceptor$s(seq), seq_idx = 0; !H.boolConversionCheck(offset_out_of_bounds.call$1(offset));) + if (deletions_set.contains$1(0, offset)) { + C.JSArray_methods.add$1(codeunits, 32); + offset += $forward; + } else { + offset0 = offset + $forward; + if (insertions_map.containsKey$1(0, offset)) { + C.JSArray_methods.add$1(codeunits, 32); + insertion_length = insertions_map.$index(0, offset); + if (typeof insertion_length !== "number") + return insertion_length.$add(); + seq_idx += insertion_length + 1; + } else { + C.JSArray_methods.add$1(codeunits, t1.codeUnitAt$1(seq, seq_idx)); + ++seq_idx; + } + offset = offset0; + } + return P.String_String$fromCharCodes(reverse ? new H.ReversedListIterable(codeunits, type$.ReversedListIterable_legacy_int) : codeunits, 0, null); + }, + dna_sequence_in$3$reverse: function(offset_low, offset_high, reverse) { + var t2, t3, str_idx_low, str_idx_high, t0, subseq, _this = this, + t1 = _this.dna_sequence; + if (t1 == null) + return null; + for (t2 = _this.deletions._list, t3 = J.getInterceptor$asx(t2); t3.contains$1(t2, offset_low);) + ++offset_low; + for (; t3.contains$1(t2, offset_high);) + --offset_high; + if (offset_low > offset_high) + return ""; + if (offset_low >= _this.end) + return ""; + if (offset_high < _this.start) + return ""; + t2 = _this.forward; + str_idx_low = _this.substrand_offset_to_substrand_dna_idx$2(offset_low, t2); + t2 = !t2; + str_idx_high = _this.substrand_offset_to_substrand_dna_idx$2(offset_high, t2); + if (t2) { + t0 = str_idx_high; + str_idx_high = str_idx_low; + str_idx_low = t0; + } + subseq = C.JSString_methods.substring$2(t1, str_idx_low, str_idx_high + 1); + return reverse ? new H.ReversedListIterable(H.setRuntimeTypeInfo(subseq.split(""), type$.JSArray_String), type$.ReversedListIterable_String).join$0(0) : subseq; + }, + dna_sequence_in$2: function(offset_low, offset_high) { + return this.dna_sequence_in$3$reverse(offset_low, offset_high, false); + }, + net_ins_del_length_increase_from_5p_to$2: function(offset_edge, $forward) { + var t1, t2, t3, t4, t5, length_increase, t6, t7, t8, t9, insertion_map, insertion_length, _this = this; + for (t1 = J.get$iterator$ax(_this.deletions._list), t2 = _this.forward, t3 = _this.start, t4 = !t2, t5 = _this.end, length_increase = 0; t1.moveNext$0();) { + t6 = t1.get$current(t1); + if (t2) { + if (typeof t6 !== "number") + return H.iae(t6); + if (t3 <= t6) { + if (typeof offset_edge !== "number") + return H.iae(offset_edge); + t7 = t6 < offset_edge; + } else + t7 = false; + } else + t7 = false; + if (!t7) + if (t4) { + if (typeof offset_edge !== "number") + return offset_edge.$lt(); + if (typeof t6 !== "number") + return H.iae(t6); + t6 = offset_edge < t6 && t6 < t5; + } else + t6 = false; + else + t6 = true; + if (t6) + --length_increase; + } + for (t1 = _this.insertions, t6 = J.get$iterator$ax(t1._list); t6.moveNext$0();) { + t7 = t6.get$current(t6); + t8 = t7.offset; + if (t2) + if (t3 <= t8) { + if (typeof offset_edge !== "number") + return H.iae(offset_edge); + t9 = t8 < offset_edge; + } else + t9 = false; + else + t9 = false; + if (!t9) + if (t4) { + if (typeof offset_edge !== "number") + return offset_edge.$lt(); + t8 = offset_edge < t8 && t8 < t5; + } else + t8 = false; + else + t8 = true; + if (t8) + length_increase += t7.length; + } + if (!H.boolConversionCheck($forward)) { + t2 = type$.legacy_int; + insertion_map = P.LinkedHashMap_LinkedHashMap$fromIterable(t1, new G.Domain_net_ins_del_length_increase_from_5p_to_closure(), new G.Domain_net_ins_del_length_increase_from_5p_to_closure0(), t2, t2); + if (insertion_map.containsKey$1(0, offset_edge)) { + insertion_length = insertion_map.$index(0, offset_edge); + if (typeof insertion_length !== "number") + return H.iae(insertion_length); + length_increase += insertion_length; + } + } + return length_increase; + }, + get$num_insertions: function() { + return G.Domain_num_insertions_in_list(this.insertions); + }, + overlaps$1: function(other) { + return this.helix === other.helix && this.forward === !other.forward && this.compute_overlap$1(other) != null; + }, + compute_overlap$1: function(other) { + var overlap_start = Math.max(this.start, other.start), + overlap_end = Math.min(this.end, other.end); + if (overlap_start >= overlap_end) + return null; + return new S.Tuple2(overlap_start, overlap_end, type$.Tuple2_of_legacy_int_and_legacy_int); + }, + substrand_offset_to_substrand_dna_idx$2: function(offset, $forward) { + var len_adjust, ss_str_idx, _this = this, + t1 = _this.deletions; + if (J.contains$1$asx(t1._list, offset)) + throw H.wrapException(P.ArgumentError$("offset " + H.S(offset) + " illegally contains a deletion from " + t1.toString$0(0))); + len_adjust = _this.net_ins_del_length_increase_from_5p_to$2(offset, $forward); + if (_this.forward) { + if (typeof offset !== "number") + return offset.$add(); + ss_str_idx = offset + len_adjust - _this.start; + } else { + if (typeof offset !== "number") + return offset.$sub(); + ss_str_idx = _this.end - 1 - (offset - len_adjust); + } + return ss_str_idx; + }, + substrand_dna_idx_to_substrand_offset$2: function(ss_str_idx, $forward) { + var t1, t2, dna_idx_cur, t3, insertion_length, _this = this, + offset = _this.get$offset_5p(); + for (t1 = _this.forward, t2 = _this.deletions, dna_idx_cur = 0; dna_idx_cur < ss_str_idx;) { + if (!J.contains$1$asx(t2._list, offset)) + ++dna_idx_cur; + t3 = _this.__insertion_offset_to_length; + if (t3 == null) { + t3 = G.Domain.prototype.get$insertion_offset_to_length.call(_this); + _this.set$__insertion_offset_to_length(t3); + } + if (J.containsKey$1$x(t3._map$_map, offset)) { + t3 = _this.__insertion_offset_to_length; + if (t3 == null) { + t3 = G.Domain.prototype.get$insertion_offset_to_length.call(_this); + _this.set$__insertion_offset_to_length(t3); + } + insertion_length = J.$index$asx(t3._map$_map, offset); + if (typeof insertion_length !== "number") + return H.iae(insertion_length); + dna_idx_cur += insertion_length; + } + offset += t1 ? 1 : -1; + } + return offset; + }, + $isSelectable: 1, + $isSubstrand: 1 + }; + G.Domain_Domain_closure.prototype = { + call$1: function(b) { + var t1, _this = this; + b.get$_domain$_$this()._domain$_helix = _this.helix; + b.get$_domain$_$this()._domain$_forward = _this.forward; + b.get$_domain$_$this()._start = _this.start; + b.get$_domain$_$this()._end = _this.end; + t1 = _this._box_0; + b.get$deletions().replace$1(0, t1.deletions); + b.get$insertions().replace$1(0, t1.insertions); + b.get$_domain$_$this()._domain$_name = _this.name; + b.get$_domain$_$this()._domain$_label = _this.label; + b.get$_domain$_$this()._domain$_dna_sequence = _this.dna_sequence; + b.get$_domain$_$this()._domain$_color = _this.color; + b.get$_domain$_$this()._domain$_strand_id = _this.strand_id; + b.get$_domain$_$this()._is_first = _this.is_first; + b.get$_domain$_$this()._is_last = _this.is_last; + b.get$_domain$_$this()._domain$_is_scaffold = _this.is_scaffold; + t1 = type$.dynamic; + b.get$unused_fields().replace$1(0, P.LinkedHashMap_LinkedHashMap$_empty(t1, t1)); + return b; + }, + $signature: 7 + }; + G.Domain_set_dna_sequence_closure.prototype = { + call$1: function(ss) { + ss.get$_domain$_$this()._domain$_dna_sequence = this.seq; + return ss; + }, + $signature: 7 + }; + G.Domain_to_json_serializable_closure.prototype = { + call$1: function(insertion) { + type$.legacy_Insertion._as(insertion); + return H.setRuntimeTypeInfo([insertion.offset, insertion.length], type$.JSArray_legacy_int); + }, + $signature: 371 + }; + G.Domain_parse_json_insertions_closure.prototype = { + call$1: function(list) { + var t1 = J.getInterceptor$asx(list); + return G.Insertion_Insertion(H._asIntS(t1.$index(list, 0)), H._asIntS(t1.$index(list, 1))); + }, + $signature: 372 + }; + G.Domain_dna_length_in_closure.prototype = { + call$1: function(d) { + H._asIntS(d); + if (typeof d !== "number") + return H.iae(d); + return this.left <= d && d <= this.right; + }, + $signature: 23 + }; + G.Domain_dna_length_in_closure0.prototype = { + call$1: function(i) { + var t1 = type$.legacy_Insertion._as(i).offset; + return this.left <= t1 && t1 <= this.right; + }, + $signature: 29 + }; + G.Domain_dna_sequence_deletions_insertions_to_spaces_closure.prototype = { + call$1: function(insertion) { + return H._asIntS(J.get$offset$x(insertion)); + }, + $signature: 49 + }; + G.Domain_dna_sequence_deletions_insertions_to_spaces_closure0.prototype = { + call$1: function(insertion) { + return H._asIntS(J.get$length$asx(insertion)); + }, + $signature: 49 + }; + G.Domain_dna_sequence_deletions_insertions_to_spaces_offset_out_of_bounds.prototype = { + call$1: function(offset) { + var t1 = this.$this, + t2 = this.forward; + return t1.forward ? offset >= t1.get$offset_3p() + t2 : offset <= t1.get$offset_3p() + t2; + }, + $signature: 57 + }; + G.Domain_net_ins_del_length_increase_from_5p_to_closure.prototype = { + call$1: function(insertion) { + return H._asIntS(J.get$offset$x(insertion)); + }, + $signature: 49 + }; + G.Domain_net_ins_del_length_increase_from_5p_to_closure0.prototype = { + call$1: function(insertion) { + return H._asIntS(J.get$length$asx(insertion)); + }, + $signature: 49 + }; + G._$InsertionSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + var result, value; + type$.legacy_Insertion._as(object); + result = H.setRuntimeTypeInfo(["offset", serializers.serialize$2$specifiedType(object.offset, C.FullType_kjq), "length", serializers.serialize$2$specifiedType(object.length, C.FullType_kjq)], type$.JSArray_legacy_Object); + value = object.strand_id; + if (value != null) { + C.JSArray_methods.add$1(result, "strand_id"); + C.JSArray_methods.add$1(result, serializers.serialize$2$specifiedType(value, C.FullType_h8g)); + } + return result; + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + var key, value, t1, + result = new G.InsertionBuilder(), + iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + for (; iterator.moveNext$0();) { + key = H._asStringS(iterator.get$current(iterator)); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (key) { + case "offset": + t1 = H._asIntS(serializers.deserialize$2$specifiedType(value, C.FullType_kjq)); + result.get$_domain$_$this()._domain$_offset = t1; + break; + case "length": + t1 = H._asIntS(serializers.deserialize$2$specifiedType(value, C.FullType_kjq)); + result.get$_domain$_$this()._domain$_length = t1; + break; + case "strand_id": + t1 = H._asStringS(serializers.deserialize$2$specifiedType(value, C.FullType_h8g)); + result.get$_domain$_$this()._domain$_strand_id = t1; + break; + } + } + return result.build$0(); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_CJJ; + }, + get$wireName: function() { + return "Insertion"; + } + }; + G._$DomainSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + var result, value; + type$.legacy_Domain._as(object); + result = H.setRuntimeTypeInfo(["helix", serializers.serialize$2$specifiedType(object.helix, C.FullType_kjq), "forward", serializers.serialize$2$specifiedType(object.forward, C.FullType_MtR), "start", serializers.serialize$2$specifiedType(object.start, C.FullType_kjq), "end", serializers.serialize$2$specifiedType(object.end, C.FullType_kjq), "deletions", serializers.serialize$2$specifiedType(object.deletions, C.FullType_4QF0), "insertions", serializers.serialize$2$specifiedType(object.insertions, C.FullType_i7r), "is_first", serializers.serialize$2$specifiedType(object.is_first, C.FullType_MtR), "is_last", serializers.serialize$2$specifiedType(object.is_last, C.FullType_MtR), "is_scaffold", serializers.serialize$2$specifiedType(object.is_scaffold, C.FullType_MtR)], type$.JSArray_legacy_Object); + value = object.name; + if (value != null) { + C.JSArray_methods.add$1(result, "name"); + C.JSArray_methods.add$1(result, serializers.serialize$2$specifiedType(value, C.FullType_h8g)); + } + value = object.label; + if (value != null) { + C.JSArray_methods.add$1(result, "label"); + C.JSArray_methods.add$1(result, serializers.serialize$2$specifiedType(value, C.FullType_h8g)); + } + value = object.dna_sequence; + if (value != null) { + C.JSArray_methods.add$1(result, "dna_sequence"); + C.JSArray_methods.add$1(result, serializers.serialize$2$specifiedType(value, C.FullType_h8g)); + } + value = object.color; + if (value != null) { + C.JSArray_methods.add$1(result, "color"); + C.JSArray_methods.add$1(result, serializers.serialize$2$specifiedType(value, C.FullType_uHx)); + } + value = object.strand_id; + if (value != null) { + C.JSArray_methods.add$1(result, "strand_id"); + C.JSArray_methods.add$1(result, serializers.serialize$2$specifiedType(value, C.FullType_h8g)); + } + return result; + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + var t1, t2, t3, t4, t5, t6, t7, t8, key, value, t9, t10, t11, t12, t13, _null = null, + result = new G.DomainBuilder(), + iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + for (t1 = type$.legacy_Color, t2 = type$.legacy_BuiltList_legacy_Object, t3 = type$.legacy_Insertion, t4 = type$.List_legacy_Insertion, t5 = type$.ListBuilder_legacy_Insertion, t6 = type$.legacy_int, t7 = type$.List_legacy_int, t8 = type$.ListBuilder_legacy_int; iterator.moveNext$0();) { + key = H._asStringS(iterator.get$current(iterator)); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (key) { + case "helix": + t9 = H._asIntS(serializers.deserialize$2$specifiedType(value, C.FullType_kjq)); + result.get$_domain$_$this()._domain$_helix = t9; + break; + case "forward": + t9 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); + result.get$_domain$_$this()._domain$_forward = t9; + break; + case "start": + t9 = H._asIntS(serializers.deserialize$2$specifiedType(value, C.FullType_kjq)); + result.get$_domain$_$this()._start = t9; + break; + case "end": + t9 = H._asIntS(serializers.deserialize$2$specifiedType(value, C.FullType_kjq)); + result.get$_domain$_$this()._end = t9; + break; + case "deletions": + t9 = result.get$_domain$_$this(); + t10 = t9._deletions; + if (t10 == null) { + t10 = new D.ListBuilder(t8); + t10.set$__ListBuilder__list(t7._as(P.List_List$from(C.List_empty, true, t6))); + t10.set$_listOwner(_null); + t9.set$_deletions(t10); + t9 = t10; + } else + t9 = t10; + t10 = t2._as(serializers.deserialize$2$specifiedType(value, C.FullType_4QF0)); + t11 = t9.$ti; + t12 = t11._eval$1("_BuiltList<1>"); + t13 = t11._eval$1("List<1>"); + if (t12._is(t10)) { + t12._as(t10); + t9.set$__ListBuilder__list(t13._as(t10._list)); + t9.set$_listOwner(t10); + } else { + t9.set$__ListBuilder__list(t13._as(P.List_List$from(t10, true, t11._precomputed1))); + t9.set$_listOwner(_null); + } + break; + case "insertions": + t9 = result.get$_domain$_$this(); + t10 = t9._insertions; + if (t10 == null) { + t10 = new D.ListBuilder(t5); + t10.set$__ListBuilder__list(t4._as(P.List_List$from(C.List_empty, true, t3))); + t10.set$_listOwner(_null); + t9.set$_insertions(t10); + t9 = t10; + } else + t9 = t10; + t10 = t2._as(serializers.deserialize$2$specifiedType(value, C.FullType_i7r)); + t11 = t9.$ti; + t12 = t11._eval$1("_BuiltList<1>"); + t13 = t11._eval$1("List<1>"); + if (t12._is(t10)) { + t12._as(t10); + t9.set$__ListBuilder__list(t13._as(t10._list)); + t9.set$_listOwner(t10); + } else { + t9.set$__ListBuilder__list(t13._as(P.List_List$from(t10, true, t11._precomputed1))); + t9.set$_listOwner(_null); + } + break; + case "is_first": + t9 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); + result.get$_domain$_$this()._is_first = t9; + break; + case "is_last": + t9 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); + result.get$_domain$_$this()._is_last = t9; + break; + case "is_scaffold": + t9 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); + result.get$_domain$_$this()._domain$_is_scaffold = t9; + break; + case "name": + t9 = H._asStringS(serializers.deserialize$2$specifiedType(value, C.FullType_h8g)); + result.get$_domain$_$this()._domain$_name = t9; + break; + case "label": + t9 = H._asStringS(serializers.deserialize$2$specifiedType(value, C.FullType_h8g)); + result.get$_domain$_$this()._domain$_label = t9; + break; + case "dna_sequence": + t9 = H._asStringS(serializers.deserialize$2$specifiedType(value, C.FullType_h8g)); + result.get$_domain$_$this()._domain$_dna_sequence = t9; + break; + case "color": + t9 = t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_uHx)); + result.get$_domain$_$this()._domain$_color = t9; + break; + case "strand_id": + t9 = H._asStringS(serializers.deserialize$2$specifiedType(value, C.FullType_h8g)); + result.get$_domain$_$this()._domain$_strand_id = t9; + break; + } + } + return result.build$0(); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_9YS; + }, + get$wireName: function() { + return "Domain"; + } + }; + G._$Insertion.prototype = { + rebuild$1: function(updates) { + var t1; + type$.legacy_void_Function_legacy_InsertionBuilder._as(updates); + t1 = new G.InsertionBuilder(); + t1._domain$_$v = this; + updates.call$1(t1); + return t1.build$0(); + }, + $eq: function(_, other) { + var _this = this; + if (other == null) + return false; + if (other === _this) + return true; + return other instanceof G.Insertion && _this.offset === other.offset && _this.length === other.length && _this.strand_id == other.strand_id; + }, + get$hashCode: function(_) { + var _this = this, + t1 = _this._domain$__hashCode; + return t1 == null ? _this._domain$__hashCode = Y.$jf(Y.$jc(Y.$jc(Y.$jc(0, C.JSInt_methods.get$hashCode(_this.offset)), C.JSInt_methods.get$hashCode(_this.length)), J.get$hashCode$(_this.strand_id))) : t1; + }, + toString$0: function(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("Insertion"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "offset", this.offset); + t2.add$2(t1, "length", this.length); + t2.add$2(t1, "strand_id", this.strand_id); + return t2.toString$0(t1); + }, + get$offset: function(receiver) { + return this.offset; + }, + get$length: function(receiver) { + return this.length; + } + }; + G.InsertionBuilder.prototype = { + get$offset: function(_) { + return this.get$_domain$_$this()._domain$_offset; + }, + get$length: function(_) { + return this.get$_domain$_$this()._domain$_length; + }, + get$_domain$_$this: function() { + var _this = this, + $$v = _this._domain$_$v; + if ($$v != null) { + _this._domain$_offset = $$v.offset; + _this._domain$_length = $$v.length; + _this._domain$_strand_id = $$v.strand_id; + _this._domain$_$v = null; + } + return _this; + }, + build$0: function() { + var t1, t2, _this = this, + _s9_ = "Insertion", + _$result = _this._domain$_$v; + if (_$result == null) { + t1 = _this.get$_domain$_$this()._domain$_offset; + if (t1 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s9_, "offset")); + t2 = _this.get$_domain$_$this()._domain$_length; + if (t2 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s9_, "length")); + _$result = new G._$Insertion(t1, t2, _this.get$_domain$_$this()._domain$_strand_id); + } + return _this._domain$_$v = _$result; + } + }; + G._$Domain.prototype = { + get$id: function(_) { + var _this = this, + t1 = _this._domain$__id; + return t1 == null ? _this._domain$__id = G.Domain.prototype.get$id.call(_this, _this) : t1; + }, + get$select_mode: function() { + var t1 = this._domain$__select_mode; + return t1 == null ? this._domain$__select_mode = G.Domain.prototype.get$select_mode.call(this) : t1; + }, + get$dnaend_start: function() { + var t1 = this.__dnaend_start; + return t1 == null ? this.__dnaend_start = G.Domain.prototype.get$dnaend_start.call(this) : t1; + }, + get$dnaend_end: function() { + var t1 = this.__dnaend_end; + return t1 == null ? this.__dnaend_end = G.Domain.prototype.get$dnaend_end.call(this) : t1; + }, + get$address_start: function() { + var t1 = this.__address_start; + return t1 == null ? this.__address_start = G.Domain.prototype.get$address_start.call(this) : t1; + }, + get$address_end: function() { + var t1 = this.__address_end; + return t1 == null ? this.__address_end = G.Domain.prototype.get$address_end.call(this) : t1; + }, + get$address_5p: function() { + var t1 = this._domain$__address_5p; + return t1 == null ? this._domain$__address_5p = G.Domain.prototype.get$address_5p.call(this) : t1; + }, + get$address_3p: function() { + var t1 = this._domain$__address_3p; + return t1 == null ? this._domain$__address_3p = G.Domain.prototype.get$address_3p.call(this) : t1; + }, + get$offset_5p: function() { + var t1 = this.__offset_5p; + return t1 == null ? this.__offset_5p = G.Domain.prototype.get$offset_5p.call(this) : t1; + }, + get$offset_3p: function() { + var t1 = this.__offset_3p; + return t1 == null ? this.__offset_3p = G.Domain.prototype.get$offset_3p.call(this) : t1; + }, + rebuild$1: function(updates) { + var t1; + type$.legacy_void_Function_legacy_DomainBuilder._as(updates); + t1 = new G.DomainBuilder(); + t1._domain$_$v = this; + updates.call$1(t1); + return t1.build$0(); + }, + $eq: function(_, other) { + var _this = this; + if (other == null) + return false; + if (other === _this) + return true; + return other instanceof G.Domain && _this.helix === other.helix && _this.forward === other.forward && _this.start === other.start && _this.end === other.end && J.$eq$(_this.deletions, other.deletions) && J.$eq$(_this.insertions, other.insertions) && _this.is_first === other.is_first && _this.is_last === other.is_last && _this.is_scaffold === other.is_scaffold && _this.name == other.name && _this.label == other.label && _this.dna_sequence == other.dna_sequence && J.$eq$(_this.color, other.color) && _this.strand_id == other.strand_id && J.$eq$(_this.unused_fields, other.unused_fields); + }, + get$hashCode: function(_) { + var _this = this, + t1 = _this._domain$__hashCode; + return t1 == null ? _this._domain$__hashCode = Y.$jf(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(0, C.JSInt_methods.get$hashCode(_this.helix)), C.JSBool_methods.get$hashCode(_this.forward)), C.JSInt_methods.get$hashCode(_this.start)), C.JSInt_methods.get$hashCode(_this.end)), J.get$hashCode$(_this.deletions)), J.get$hashCode$(_this.insertions)), C.JSBool_methods.get$hashCode(_this.is_first)), C.JSBool_methods.get$hashCode(_this.is_last)), C.JSBool_methods.get$hashCode(_this.is_scaffold)), J.get$hashCode$(_this.name)), J.get$hashCode$(_this.label)), J.get$hashCode$(_this.dna_sequence)), J.get$hashCode$(_this.color)), J.get$hashCode$(_this.strand_id)), J.get$hashCode$(_this.unused_fields))) : t1; + }, + toString$0: function(_) { + var _this = this, + t1 = $.$get$newBuiltValueToStringHelper().call$1("Domain"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "helix", _this.helix); + t2.add$2(t1, "forward", _this.forward); + t2.add$2(t1, "start", _this.start); + t2.add$2(t1, "end", _this.end); + t2.add$2(t1, "deletions", _this.deletions); + t2.add$2(t1, "insertions", _this.insertions); + t2.add$2(t1, "is_first", _this.is_first); + t2.add$2(t1, "is_last", _this.is_last); + t2.add$2(t1, "is_scaffold", _this.is_scaffold); + t2.add$2(t1, "name", _this.name); + t2.add$2(t1, "label", _this.label); + t2.add$2(t1, "dna_sequence", _this.dna_sequence); + t2.add$2(t1, "color", _this.color); + t2.add$2(t1, "strand_id", _this.strand_id); + t2.add$2(t1, "unused_fields", _this.unused_fields); + return t2.toString$0(t1); + }, + set$__insertion_offset_to_length: function(__insertion_offset_to_length) { + this.__insertion_offset_to_length = type$.legacy_BuiltMap_of_legacy_int_and_legacy_int._as(__insertion_offset_to_length); + }, + set$_domain$__selectable_deletions: function(__selectable_deletions) { + this._domain$__selectable_deletions = type$.legacy_BuiltList_legacy_SelectableDeletion._as(__selectable_deletions); + }, + set$_domain$__selectable_insertions: function(__selectable_insertions) { + this._domain$__selectable_insertions = type$.legacy_BuiltList_legacy_SelectableInsertion._as(__selectable_insertions); + }, + get$is_scaffold: function() { + return this.is_scaffold; + }, + get$name: function(receiver) { + return this.name; + }, + get$label: function(receiver) { + return this.label; + }, + get$dna_sequence: function() { + return this.dna_sequence; + }, + get$color: function(receiver) { + return this.color; + }, + get$strand_id: function() { + return this.strand_id; + } + }; + G.DomainBuilder.prototype = { + get$deletions: function() { + var t1 = this.get$_domain$_$this(), + t2 = t1._deletions; + if (t2 == null) { + t2 = D.ListBuilder_ListBuilder(C.List_empty, type$.legacy_int); + t1.set$_deletions(t2); + t1 = t2; + } else + t1 = t2; + return t1; + }, + get$insertions: function() { + var t1 = this.get$_domain$_$this(), + t2 = t1._insertions; + if (t2 == null) { + t2 = D.ListBuilder_ListBuilder(C.List_empty, type$.legacy_Insertion); + t1.set$_insertions(t2); + t1 = t2; + } else + t1 = t2; + return t1; + }, + get$unused_fields: function() { + var t1 = this.get$_domain$_$this(), + t2 = t1._domain$_unused_fields; + if (t2 == null) { + t2 = A.MapBuilder_MapBuilder(C.Map_empty, type$.legacy_String, type$.legacy_Object); + t1.set$_domain$_unused_fields(t2); + t1 = t2; + } else + t1 = t2; + return t1; + }, + get$_domain$_$this: function() { + var t1, t2, _this = this, + $$v = _this._domain$_$v; + if ($$v != null) { + _this._domain$_helix = $$v.helix; + _this._domain$_forward = $$v.forward; + _this._start = $$v.start; + _this._end = $$v.end; + t1 = $$v.deletions; + t1.toString; + _this.set$_deletions(D.ListBuilder_ListBuilder(t1, t1.$ti._precomputed1)); + t1 = $$v.insertions; + t1.toString; + _this.set$_insertions(D.ListBuilder_ListBuilder(t1, t1.$ti._precomputed1)); + _this._is_first = $$v.is_first; + _this._is_last = $$v.is_last; + _this._domain$_is_scaffold = $$v.is_scaffold; + _this._domain$_name = $$v.name; + _this._domain$_label = $$v.label; + _this._domain$_dna_sequence = $$v.dna_sequence; + _this._domain$_color = $$v.color; + _this._domain$_strand_id = $$v.strand_id; + t1 = $$v.unused_fields; + t1.toString; + t2 = t1.$ti; + t2._eval$1("_BuiltMap<1,2>")._as(t1); + _this.set$_domain$_unused_fields(new A.MapBuilder(t1._mapFactory, t1._map$_map, t1, t2._eval$1("@<1>")._bind$1(t2._rest[1])._eval$1("MapBuilder<1,2>"))); + _this._domain$_$v = null; + } + return _this; + }, + build$0: function() { + var _$failedField, e, _$result0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, exception, _this = this, _s6_ = "Domain", _$result = null; + try { + _$result0 = _this._domain$_$v; + if (_$result0 == null) { + t1 = _this.get$_domain$_$this()._domain$_helix; + if (t1 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s6_, "helix")); + t2 = _this.get$_domain$_$this()._domain$_forward; + if (t2 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s6_, "forward")); + t3 = _this.get$_domain$_$this()._start; + if (t3 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s6_, "start")); + t4 = _this.get$_domain$_$this()._end; + if (t4 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s6_, "end")); + t5 = _this.get$deletions().build$0(); + t6 = _this.get$insertions().build$0(); + t7 = _this.get$_domain$_$this()._is_first; + if (t7 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s6_, "is_first")); + t8 = _this.get$_domain$_$this()._is_last; + if (t8 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s6_, "is_last")); + t9 = _this.get$_domain$_$this()._domain$_is_scaffold; + if (t9 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s6_, "is_scaffold")); + t10 = _this.get$_domain$_$this()._domain$_name; + t11 = _this.get$_domain$_$this()._domain$_label; + t12 = _this.get$_domain$_$this()._domain$_dna_sequence; + t13 = _this.get$_domain$_$this()._domain$_color; + t14 = _this.get$_domain$_$this()._domain$_strand_id; + t15 = _this.get$unused_fields().build$0(); + _$result0 = new G._$Domain(t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15); + if (t5 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s6_, "deletions")); + if (t6 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s6_, "insertions")); + if (t15 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s6_, "unused_fields")); + } + _$result = _$result0; + } catch (exception) { + H.unwrapException(exception); + _$failedField = null; + try { + _$failedField = "deletions"; + _this.get$deletions().build$0(); + _$failedField = "insertions"; + _this.get$insertions().build$0(); + _$failedField = "unused_fields"; + _this.get$unused_fields().build$0(); + } catch (exception) { + e = H.unwrapException(exception); + t1 = Y.BuiltValueNestedFieldError$(_s6_, _$failedField, J.toString$0$(e)); + throw H.wrapException(t1); + } + throw exception; + } + t1 = type$.legacy_Domain._as(_$result); + if (t1 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + _this._domain$_$v = t1; + return _$result; + }, + set$_deletions: function(_deletions) { + this._deletions = type$.legacy_ListBuilder_legacy_int._as(_deletions); + }, + set$_insertions: function(_insertions) { + this._insertions = type$.legacy_ListBuilder_legacy_Insertion._as(_insertions); + }, + set$_domain$_unused_fields: function(_unused_fields) { + this._domain$_unused_fields = type$.legacy_MapBuilder_of_legacy_String_and_legacy_Object._as(_unused_fields); + } + }; + G._Domain_Object_SelectableMixin.prototype = {}; + G._Domain_Object_SelectableMixin_BuiltJsonSerializable.prototype = {}; + G._Domain_Object_SelectableMixin_BuiltJsonSerializable_UnusedFields.prototype = {}; + G._Insertion_Object_BuiltJsonSerializable.prototype = {}; + B.DomainNameMismatch.prototype = {}; + B._$DomainNameMismatchSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + type$.legacy_DomainNameMismatch._as(object); + return H.setRuntimeTypeInfo(["helix_idx", serializers.serialize$2$specifiedType(object.helix_idx, C.FullType_kjq), "forward_domain", serializers.serialize$2$specifiedType(object.forward_domain, C.FullType_fnc), "reverse_domain", serializers.serialize$2$specifiedType(object.reverse_domain, C.FullType_fnc)], type$.JSArray_legacy_Object); + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + var t1, key, value, t2, t3, + result = new B.DomainNameMismatchBuilder(), + iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + for (t1 = type$.legacy_Domain; iterator.moveNext$0();) { + key = H._asStringS(iterator.get$current(iterator)); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (key) { + case "helix_idx": + t2 = H._asIntS(serializers.deserialize$2$specifiedType(value, C.FullType_kjq)); + result.get$_domain_name_mismatch$_$this()._domain_name_mismatch$_helix_idx = t2; + break; + case "forward_domain": + t2 = result.get$_domain_name_mismatch$_$this(); + t3 = t2._forward_domain; + t2 = t3 == null ? t2._forward_domain = new G.DomainBuilder() : t3; + t3 = t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_fnc)); + if (t3 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + t2._domain$_$v = t3; + break; + case "reverse_domain": + t2 = result.get$_domain_name_mismatch$_$this(); + t3 = t2._reverse_domain; + t2 = t3 == null ? t2._reverse_domain = new G.DomainBuilder() : t3; + t3 = t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_fnc)); + if (t3 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + t2._domain$_$v = t3; + break; + } + } + return result.build$0(); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_gUw; + }, + get$wireName: function() { + return "DomainNameMismatch"; + } + }; + B._$DomainNameMismatch.prototype = { + $eq: function(_, other) { + var _this = this; + if (other == null) + return false; + if (other === _this) + return true; + return other instanceof B.DomainNameMismatch && _this.helix_idx == other.helix_idx && J.$eq$(_this.forward_domain, other.forward_domain) && J.$eq$(_this.reverse_domain, other.reverse_domain); + }, + get$hashCode: function(_) { + var _this = this, + t1 = _this._domain_name_mismatch$__hashCode; + return t1 == null ? _this._domain_name_mismatch$__hashCode = Y.$jf(Y.$jc(Y.$jc(Y.$jc(0, J.get$hashCode$(_this.helix_idx)), J.get$hashCode$(_this.forward_domain)), J.get$hashCode$(_this.reverse_domain))) : t1; + }, + toString$0: function(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("DomainNameMismatch"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "helix_idx", this.helix_idx); + t2.add$2(t1, "forward_domain", this.forward_domain); + t2.add$2(t1, "reverse_domain", this.reverse_domain); + return t2.toString$0(t1); + } + }; + B.DomainNameMismatchBuilder.prototype = { + get$forward_domain: function() { + var t1 = this.get$_domain_name_mismatch$_$this(), + t2 = t1._forward_domain; + return t2 == null ? t1._forward_domain = new G.DomainBuilder() : t2; + }, + get$reverse_domain: function() { + var t1 = this.get$_domain_name_mismatch$_$this(), + t2 = t1._reverse_domain; + return t2 == null ? t1._reverse_domain = new G.DomainBuilder() : t2; + }, + get$_domain_name_mismatch$_$this: function() { + var t1, t2, _this = this, + $$v = _this._domain_name_mismatch$_$v; + if ($$v != null) { + _this._domain_name_mismatch$_helix_idx = $$v.helix_idx; + t1 = $$v.forward_domain; + t1.toString; + t2 = new G.DomainBuilder(); + t2._domain$_$v = t1; + _this._forward_domain = t2; + t1 = $$v.reverse_domain; + t1.toString; + t2 = new G.DomainBuilder(); + t2._domain$_$v = t1; + _this._reverse_domain = t2; + _this._domain_name_mismatch$_$v = null; + } + return _this; + }, + build$0: function() { + var _$failedField, e, _$result0, t1, exception, _this = this, + _s18_ = "DomainNameMismatch", + _$result = null; + try { + _$result0 = _this._domain_name_mismatch$_$v; + if (_$result0 == null) { + t1 = _this.get$_domain_name_mismatch$_$this()._domain_name_mismatch$_helix_idx; + if (t1 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s18_, "helix_idx")); + _$result0 = B._$DomainNameMismatch$_(_this.get$forward_domain().build$0(), t1, _this.get$reverse_domain().build$0()); + } + _$result = _$result0; + } catch (exception) { + H.unwrapException(exception); + _$failedField = null; + try { + _$failedField = "forward_domain"; + _this.get$forward_domain().build$0(); + _$failedField = "reverse_domain"; + _this.get$reverse_domain().build$0(); + } catch (exception) { + e = H.unwrapException(exception); + t1 = Y.BuiltValueNestedFieldError$(_s18_, _$failedField, J.toString$0$(e)); + throw H.wrapException(t1); + } + throw exception; + } + t1 = type$.legacy_DomainNameMismatch._as(_$result); + if (t1 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + _this._domain_name_mismatch$_$v = t1; + return _$result; + } + }; + B._DomainNameMismatch_Object_BuiltJsonSerializable.prototype = {}; + V.DomainsMove.prototype = { + get$original_view_order: function() { + var t1 = this.original_address.helix_idx, + t2 = this.helices._map$_map, + t3 = J.getInterceptor$asx(t2), + t4 = t3.$index(t2, t1).group; + return J.$index$asx(J.$index$asx(this.groups._map$_map, t4).get$helices_view_order_inverse()._map$_map, t3.$index(t2, t1).idx); + }, + get$current_view_order: function() { + var t1 = this.current_address.helix_idx, + t2 = this.helices._map$_map, + t3 = J.getInterceptor$asx(t2), + t4 = t3.$index(t2, t1).group; + return J.$index$asx(J.$index$asx(this.groups._map$_map, t4).get$helices_view_order_inverse()._map$_map, t3.$index(t2, t1).idx); + }, + get$domains_moving_on_helix: function() { + var t2, t3, t4, + t1 = P.LinkedHashMap_LinkedHashMap$_empty(type$.legacy_int, type$.legacy_List_legacy_Domain); + for (t2 = this.helices, t2 = J.get$iterator$ax(t2.get$keys(t2)), t3 = type$.JSArray_legacy_Domain; t2.moveNext$0();) + t1.$indexSet(0, t2.get$current(t2), H.setRuntimeTypeInfo([], t3)); + for (t2 = J.get$iterator$ax(this.domains_moving._list); t2.moveNext$0();) { + t3 = t2.get$current(t2); + t4 = t1.$index(0, t3.helix); + (t4 && C.JSArray_methods).add$1(t4, t3); + } + return t1; + }, + get$domains_fixed_on_helix: function() { + var t2, t3, t4, + t1 = P.LinkedHashMap_LinkedHashMap$_empty(type$.legacy_int, type$.legacy_List_legacy_Domain); + for (t2 = this.helices, t2 = J.get$iterator$ax(t2.get$keys(t2)), t3 = type$.JSArray_legacy_Domain; t2.moveNext$0();) + t1.$indexSet(0, t2.get$current(t2), H.setRuntimeTypeInfo([], t3)); + for (t2 = J.get$iterator$ax(this.domains_fixed._list); t2.moveNext$0();) { + t3 = t2.get$current(t2); + t4 = t1.$index(0, t3.helix); + (t4 && C.JSArray_methods).add$1(t4, t3); + } + return t1; + }, + get$domains_moving_from_strand: function() { + var t2, t3, t4, t5, t6, + domains_moving_set = J.toSet$0$ax(this.domains_moving._list), + t1 = P.LinkedHashMap_LinkedHashMap$_empty(type$.legacy_Strand, type$.legacy_List_legacy_Domain); + for (t2 = J.get$iterator$ax(this.strands_with_domains_moving._list), t3 = type$.JSArray_legacy_Domain; t2.moveNext$0();) + t1.$indexSet(0, t2.get$current(t2), H.setRuntimeTypeInfo([], t3)); + for (t2 = t1.get$keys(t1), t2 = t2.get$iterator(t2); t2.moveNext$0();) { + t3 = t2.get$current(t2); + t4 = t3.__domains; + if (t4 == null) { + t4 = E.Strand.prototype.get$domains.call(t3); + t3.set$__domains(t4); + } + t4 = J.get$iterator$ax(t4._list); + for (; t4.moveNext$0();) { + t5 = t4.get$current(t4); + if (domains_moving_set.contains$1(0, t5)) { + t6 = t1.$index(0, t3); + (t6 && C.JSArray_methods).add$1(t6, t5); + } + } + } + return t1; + } + }; + V.DomainsMove_DomainsMove_closure.prototype = { + call$1: function(b) { + var t1, t2, _this = this; + b.get$domains_moving().replace$1(0, _this.domains_moving); + b.get$domains_fixed().replace$1(0, _this.domains_fixed); + b.get$strands_with_domains_moving().replace$1(0, _this.strands_with_domains_moving); + b.get$helices().replace$1(0, _this.helices); + b.get$groups().replace$1(0, _this.groups); + b.get$original_helices_view_order_inverse().replace$1(0, _this.original_helices_view_order_inverse); + t1 = b.get$original_address(); + t2 = _this.original_address; + t1._address$_$v = t2; + t1 = b.get$current_address(); + t1._address$_$v = t2; + b.get$_domains_move$_$this()._copy = _this.copy; + b.get$_domains_move$_$this()._keep_color = _this.keep_color; + b.get$_domains_move$_$this()._allowable = true; + return b; + }, + $signature: 79 + }; + V._$DomainsMoveSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + type$.legacy_DomainsMove._as(object); + return H.setRuntimeTypeInfo(["domains_moving", serializers.serialize$2$specifiedType(object.domains_moving, C.FullType_dli), "domains_fixed", serializers.serialize$2$specifiedType(object.domains_fixed, C.FullType_dli), "helices", serializers.serialize$2$specifiedType(object.helices, C.FullType_Qc0), "groups", serializers.serialize$2$specifiedType(object.groups, C.FullType_m48), "strands_with_domains_moving", serializers.serialize$2$specifiedType(object.strands_with_domains_moving, C.FullType_2No), "original_helices_view_order_inverse", serializers.serialize$2$specifiedType(object.original_helices_view_order_inverse, C.FullType_oyU), "original_address", serializers.serialize$2$specifiedType(object.original_address, C.FullType_KlG), "current_address", serializers.serialize$2$specifiedType(object.current_address, C.FullType_KlG), "allowable", serializers.serialize$2$specifiedType(object.allowable, C.FullType_MtR), "copy", serializers.serialize$2$specifiedType(object.copy, C.FullType_MtR), "keep_color", serializers.serialize$2$specifiedType(object.keep_color, C.FullType_MtR)], type$.JSArray_legacy_Object); + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + var t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, key, value, t12, t13, t14, t15, t16, _null = null, + result = new V.DomainsMoveBuilder(), + iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + for (t1 = type$.legacy_Address, t2 = type$.MapBuilder_of_legacy_int_and_legacy_int, t3 = type$.legacy_BuiltList_legacy_Object, t4 = type$.legacy_Strand, t5 = type$.List_legacy_Strand, t6 = type$.ListBuilder_legacy_Strand, t7 = type$.MapBuilder_of_legacy_String_and_legacy_HelixGroup, t8 = type$.MapBuilder_of_legacy_int_and_legacy_Helix, t9 = type$.legacy_Domain, t10 = type$.List_legacy_Domain, t11 = type$.ListBuilder_legacy_Domain; iterator.moveNext$0();) { + key = H._asStringS(iterator.get$current(iterator)); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (key) { + case "domains_moving": + t12 = result.get$_domains_move$_$this(); + t13 = t12._domains_moving; + if (t13 == null) { + t13 = new D.ListBuilder(t11); + t13.set$__ListBuilder__list(t10._as(P.List_List$from(C.List_empty, true, t9))); + t13.set$_listOwner(_null); + t12.set$_domains_moving(t13); + t12 = t13; + } else + t12 = t13; + t13 = t3._as(serializers.deserialize$2$specifiedType(value, C.FullType_dli)); + t14 = t12.$ti; + t15 = t14._eval$1("_BuiltList<1>"); + t16 = t14._eval$1("List<1>"); + if (t15._is(t13)) { + t15._as(t13); + t12.set$__ListBuilder__list(t16._as(t13._list)); + t12.set$_listOwner(t13); + } else { + t12.set$__ListBuilder__list(t16._as(P.List_List$from(t13, true, t14._precomputed1))); + t12.set$_listOwner(_null); + } + break; + case "domains_fixed": + t12 = result.get$_domains_move$_$this(); + t13 = t12._domains_fixed; + if (t13 == null) { + t13 = new D.ListBuilder(t11); + t13.set$__ListBuilder__list(t10._as(P.List_List$from(C.List_empty, true, t9))); + t13.set$_listOwner(_null); + t12.set$_domains_fixed(t13); + t12 = t13; + } else + t12 = t13; + t13 = t3._as(serializers.deserialize$2$specifiedType(value, C.FullType_dli)); + t14 = t12.$ti; + t15 = t14._eval$1("_BuiltList<1>"); + t16 = t14._eval$1("List<1>"); + if (t15._is(t13)) { + t15._as(t13); + t12.set$__ListBuilder__list(t16._as(t13._list)); + t12.set$_listOwner(t13); + } else { + t12.set$__ListBuilder__list(t16._as(P.List_List$from(t13, true, t14._precomputed1))); + t12.set$_listOwner(_null); + } + break; + case "helices": + t12 = result.get$_domains_move$_$this(); + t13 = t12._domains_move$_helices; + if (t13 == null) { + t13 = new A.MapBuilder(_null, $, _null, t8); + t13.replace$1(0, C.Map_empty); + t12.set$_domains_move$_helices(t13); + t12 = t13; + } else + t12 = t13; + t12.replace$1(0, serializers.deserialize$2$specifiedType(value, C.FullType_Qc0)); + break; + case "groups": + t12 = result.get$_domains_move$_$this(); + t13 = t12._domains_move$_groups; + if (t13 == null) { + t13 = new A.MapBuilder(_null, $, _null, t7); + t13.replace$1(0, C.Map_empty); + t12.set$_domains_move$_groups(t13); + t12 = t13; + } else + t12 = t13; + t12.replace$1(0, serializers.deserialize$2$specifiedType(value, C.FullType_m48)); + break; + case "strands_with_domains_moving": + t12 = result.get$_domains_move$_$this(); + t13 = t12._strands_with_domains_moving; + if (t13 == null) { + t13 = new D.ListBuilder(t6); + t13.set$__ListBuilder__list(t5._as(P.List_List$from(C.List_empty, true, t4))); + t13.set$_listOwner(_null); + t12.set$_strands_with_domains_moving(t13); + t12 = t13; + } else + t12 = t13; + t13 = t3._as(serializers.deserialize$2$specifiedType(value, C.FullType_2No)); + t14 = t12.$ti; + t15 = t14._eval$1("_BuiltList<1>"); + t16 = t14._eval$1("List<1>"); + if (t15._is(t13)) { + t15._as(t13); + t12.set$__ListBuilder__list(t16._as(t13._list)); + t12.set$_listOwner(t13); + } else { + t12.set$__ListBuilder__list(t16._as(P.List_List$from(t13, true, t14._precomputed1))); + t12.set$_listOwner(_null); + } + break; + case "original_helices_view_order_inverse": + t12 = result.get$_domains_move$_$this(); + t13 = t12._original_helices_view_order_inverse; + if (t13 == null) { + t13 = new A.MapBuilder(_null, $, _null, t2); + t13.replace$1(0, C.Map_empty); + t12.set$_original_helices_view_order_inverse(t13); + t12 = t13; + } else + t12 = t13; + t12.replace$1(0, serializers.deserialize$2$specifiedType(value, C.FullType_oyU)); + break; + case "original_address": + t12 = result.get$_domains_move$_$this(); + t13 = t12._original_address; + t12 = t13 == null ? t12._original_address = new Z.AddressBuilder() : t13; + t13 = t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_KlG)); + if (t13 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + t12._address$_$v = t13; + break; + case "current_address": + t12 = result.get$_domains_move$_$this(); + t13 = t12._current_address; + t12 = t13 == null ? t12._current_address = new Z.AddressBuilder() : t13; + t13 = t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_KlG)); + if (t13 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + t12._address$_$v = t13; + break; + case "allowable": + t12 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); + result.get$_domains_move$_$this()._allowable = t12; + break; + case "copy": + t12 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); + result.get$_domains_move$_$this()._copy = t12; + break; + case "keep_color": + t12 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); + result.get$_domains_move$_$this()._keep_color = t12; + break; + } + } + return result.build$0(); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_u2S; + }, + get$wireName: function() { + return "DomainsMove"; + } + }; + V._$DomainsMove.prototype = { + get$domains_moving_from_strand: function() { + var t1 = this.__domains_moving_from_strand; + if (t1 == null) { + t1 = V.DomainsMove.prototype.get$domains_moving_from_strand.call(this); + this.set$__domains_moving_from_strand(t1); + } + return t1; + }, + rebuild$1: function(updates) { + var t1; + type$.legacy_void_Function_legacy_DomainsMoveBuilder._as(updates); + t1 = new V.DomainsMoveBuilder(); + t1._domains_move$_$v = this; + updates.call$1(t1); + return t1.build$0(); + }, + $eq: function(_, other) { + var _this = this; + if (other == null) + return false; + if (other === _this) + return true; + return other instanceof V.DomainsMove && J.$eq$(_this.domains_moving, other.domains_moving) && J.$eq$(_this.domains_fixed, other.domains_fixed) && J.$eq$(_this.helices, other.helices) && J.$eq$(_this.groups, other.groups) && J.$eq$(_this.strands_with_domains_moving, other.strands_with_domains_moving) && J.$eq$(_this.original_helices_view_order_inverse, other.original_helices_view_order_inverse) && _this.original_address.$eq(0, other.original_address) && _this.current_address.$eq(0, other.current_address) && _this.allowable === other.allowable && _this.copy === other.copy && _this.keep_color === other.keep_color; + }, + get$hashCode: function(_) { + var t2, _this = this, + t1 = _this._domains_move$__hashCode; + if (t1 == null) { + t1 = _this.original_address; + t2 = _this.current_address; + t2 = _this._domains_move$__hashCode = Y.$jf(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(0, J.get$hashCode$(_this.domains_moving)), J.get$hashCode$(_this.domains_fixed)), J.get$hashCode$(_this.helices)), J.get$hashCode$(_this.groups)), J.get$hashCode$(_this.strands_with_domains_moving)), J.get$hashCode$(_this.original_helices_view_order_inverse)), t1.get$hashCode(t1)), t2.get$hashCode(t2)), C.JSBool_methods.get$hashCode(_this.allowable)), C.JSBool_methods.get$hashCode(_this.copy)), C.JSBool_methods.get$hashCode(_this.keep_color))); + t1 = t2; + } + return t1; + }, + toString$0: function(_) { + var _this = this, + t1 = $.$get$newBuiltValueToStringHelper().call$1("DomainsMove"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "domains_moving", _this.domains_moving); + t2.add$2(t1, "domains_fixed", _this.domains_fixed); + t2.add$2(t1, "helices", _this.helices); + t2.add$2(t1, "groups", _this.groups); + t2.add$2(t1, "strands_with_domains_moving", _this.strands_with_domains_moving); + t2.add$2(t1, "original_helices_view_order_inverse", _this.original_helices_view_order_inverse); + t2.add$2(t1, "original_address", _this.original_address); + t2.add$2(t1, "current_address", _this.current_address); + t2.add$2(t1, "allowable", _this.allowable); + t2.add$2(t1, "copy", _this.copy); + t2.add$2(t1, "keep_color", _this.keep_color); + return t2.toString$0(t1); + }, + set$__domains_moving_on_helix: function(__domains_moving_on_helix) { + this.__domains_moving_on_helix = type$.legacy_Map_of_legacy_int_and_legacy_List_legacy_Domain._as(__domains_moving_on_helix); + }, + set$__domains_fixed_on_helix: function(__domains_fixed_on_helix) { + this.__domains_fixed_on_helix = type$.legacy_Map_of_legacy_int_and_legacy_List_legacy_Domain._as(__domains_fixed_on_helix); + }, + set$__domains_moving_from_strand: function(__domains_moving_from_strand) { + this.__domains_moving_from_strand = type$.legacy_Map_of_legacy_Strand_and_legacy_List_legacy_Domain._as(__domains_moving_from_strand); + } + }; + V.DomainsMoveBuilder.prototype = { + get$domains_moving: function() { + var t1 = this.get$_domains_move$_$this(), + t2 = t1._domains_moving; + if (t2 == null) { + t2 = D.ListBuilder_ListBuilder(C.List_empty, type$.legacy_Domain); + t1.set$_domains_moving(t2); + t1 = t2; + } else + t1 = t2; + return t1; + }, + get$domains_fixed: function() { + var t1 = this.get$_domains_move$_$this(), + t2 = t1._domains_fixed; + if (t2 == null) { + t2 = D.ListBuilder_ListBuilder(C.List_empty, type$.legacy_Domain); + t1.set$_domains_fixed(t2); + t1 = t2; + } else + t1 = t2; + return t1; + }, + get$helices: function() { + var t1 = this.get$_domains_move$_$this(), + t2 = t1._domains_move$_helices; + if (t2 == null) { + t2 = A.MapBuilder_MapBuilder(C.Map_empty, type$.legacy_int, type$.legacy_Helix); + t1.set$_domains_move$_helices(t2); + t1 = t2; + } else + t1 = t2; + return t1; + }, + get$groups: function() { + var t1 = this.get$_domains_move$_$this(), + t2 = t1._domains_move$_groups; + if (t2 == null) { + t2 = A.MapBuilder_MapBuilder(C.Map_empty, type$.legacy_String, type$.legacy_HelixGroup); + t1.set$_domains_move$_groups(t2); + t1 = t2; + } else + t1 = t2; + return t1; + }, + get$strands_with_domains_moving: function() { + var t1 = this.get$_domains_move$_$this(), + t2 = t1._strands_with_domains_moving; + if (t2 == null) { + t2 = D.ListBuilder_ListBuilder(C.List_empty, type$.legacy_Strand); + t1.set$_strands_with_domains_moving(t2); + t1 = t2; + } else + t1 = t2; + return t1; + }, + get$original_helices_view_order_inverse: function() { + var t1 = this.get$_domains_move$_$this(), + t2 = t1._original_helices_view_order_inverse; + if (t2 == null) { + t2 = type$.legacy_int; + t2 = A.MapBuilder_MapBuilder(C.Map_empty, t2, t2); + t1.set$_original_helices_view_order_inverse(t2); + t1 = t2; + } else + t1 = t2; + return t1; + }, + get$original_address: function() { + var t1 = this.get$_domains_move$_$this(), + t2 = t1._original_address; + return t2 == null ? t1._original_address = new Z.AddressBuilder() : t2; + }, + get$current_address: function() { + var t1 = this.get$_domains_move$_$this(), + t2 = t1._current_address; + return t2 == null ? t1._current_address = new Z.AddressBuilder() : t2; + }, + get$_domains_move$_$this: function() { + var t1, t2, _this = this, + $$v = _this._domains_move$_$v; + if ($$v != null) { + t1 = $$v.domains_moving; + t1.toString; + _this.set$_domains_moving(D.ListBuilder_ListBuilder(t1, t1.$ti._precomputed1)); + t1 = $$v.domains_fixed; + t1.toString; + _this.set$_domains_fixed(D.ListBuilder_ListBuilder(t1, t1.$ti._precomputed1)); + t1 = $$v.helices; + t1.toString; + t2 = t1.$ti; + t2._eval$1("_BuiltMap<1,2>")._as(t1); + _this.set$_domains_move$_helices(new A.MapBuilder(t1._mapFactory, t1._map$_map, t1, t2._eval$1("@<1>")._bind$1(t2._rest[1])._eval$1("MapBuilder<1,2>"))); + t2 = $$v.groups; + t2.toString; + t1 = t2.$ti; + t1._eval$1("_BuiltMap<1,2>")._as(t2); + _this.set$_domains_move$_groups(new A.MapBuilder(t2._mapFactory, t2._map$_map, t2, t1._eval$1("@<1>")._bind$1(t1._rest[1])._eval$1("MapBuilder<1,2>"))); + t1 = $$v.strands_with_domains_moving; + t1.toString; + _this.set$_strands_with_domains_moving(D.ListBuilder_ListBuilder(t1, t1.$ti._precomputed1)); + t1 = $$v.original_helices_view_order_inverse; + t1.toString; + t2 = t1.$ti; + t2._eval$1("_BuiltMap<1,2>")._as(t1); + _this.set$_original_helices_view_order_inverse(new A.MapBuilder(t1._mapFactory, t1._map$_map, t1, t2._eval$1("@<1>")._bind$1(t2._rest[1])._eval$1("MapBuilder<1,2>"))); + t2 = $$v.original_address; + t1 = new Z.AddressBuilder(); + t1._address$_$v = t2; + _this._original_address = t1; + t1 = $$v.current_address; + t2 = new Z.AddressBuilder(); + t2._address$_$v = t1; + _this._current_address = t2; + _this._allowable = $$v.allowable; + _this._copy = $$v.copy; + _this._keep_color = $$v.keep_color; + _this._domains_move$_$v = null; + } + return _this; + }, + build$0: function() { + var _$failedField, e, _$result0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, exception, _this = this, + _s11_ = "DomainsMove", + _s27_ = "strands_with_domains_moving", + _s35_ = "original_helices_view_order_inverse", + _$result = null; + try { + _$result0 = _this._domains_move$_$v; + if (_$result0 == null) { + t1 = _this.get$domains_moving().build$0(); + t2 = _this.get$domains_fixed().build$0(); + t3 = _this.get$helices().build$0(); + t4 = _this.get$groups().build$0(); + t5 = _this.get$strands_with_domains_moving().build$0(); + t6 = _this.get$original_helices_view_order_inverse().build$0(); + t7 = _this.get$original_address().build$0(); + t8 = _this.get$current_address().build$0(); + t9 = _this.get$_domains_move$_$this()._allowable; + if (t9 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s11_, "allowable")); + t10 = _this.get$_domains_move$_$this()._copy; + if (t10 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s11_, "copy")); + t11 = _this.get$_domains_move$_$this()._keep_color; + if (t11 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s11_, "keep_color")); + _$result0 = new V._$DomainsMove(t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11); + if (t1 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s11_, "domains_moving")); + if (t2 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s11_, "domains_fixed")); + if (t3 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s11_, "helices")); + if (t4 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s11_, "groups")); + if (t5 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s11_, _s27_)); + if (t6 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s11_, _s35_)); + } + _$result = _$result0; + } catch (exception) { + H.unwrapException(exception); + _$failedField = null; + try { + _$failedField = "domains_moving"; + _this.get$domains_moving().build$0(); + _$failedField = "domains_fixed"; + _this.get$domains_fixed().build$0(); + _$failedField = "helices"; + _this.get$helices().build$0(); + _$failedField = "groups"; + _this.get$groups().build$0(); + _$failedField = _s27_; + _this.get$strands_with_domains_moving().build$0(); + _$failedField = _s35_; + _this.get$original_helices_view_order_inverse().build$0(); + _$failedField = "original_address"; + _this.get$original_address().build$0(); + _$failedField = "current_address"; + _this.get$current_address().build$0(); + } catch (exception) { + e = H.unwrapException(exception); + t1 = Y.BuiltValueNestedFieldError$(_s11_, _$failedField, J.toString$0$(e)); + throw H.wrapException(t1); + } + throw exception; + } + t1 = type$.legacy_DomainsMove._as(_$result); + if (t1 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + _this._domains_move$_$v = t1; + return _$result; + }, + set$_domains_moving: function(_domains_moving) { + this._domains_moving = type$.legacy_ListBuilder_legacy_Domain._as(_domains_moving); + }, + set$_domains_fixed: function(_domains_fixed) { + this._domains_fixed = type$.legacy_ListBuilder_legacy_Domain._as(_domains_fixed); + }, + set$_domains_move$_helices: function(_helices) { + this._domains_move$_helices = type$.legacy_MapBuilder_of_legacy_int_and_legacy_Helix._as(_helices); + }, + set$_domains_move$_groups: function(_groups) { + this._domains_move$_groups = type$.legacy_MapBuilder_of_legacy_String_and_legacy_HelixGroup._as(_groups); + }, + set$_strands_with_domains_moving: function(_strands_with_domains_moving) { + this._strands_with_domains_moving = type$.legacy_ListBuilder_legacy_Strand._as(_strands_with_domains_moving); + }, + set$_original_helices_view_order_inverse: function(_original_helices_view_order_inverse) { + this._original_helices_view_order_inverse = type$.legacy_MapBuilder_of_legacy_int_and_legacy_int._as(_original_helices_view_order_inverse); + } + }; + V._DomainsMove_Object_BuiltJsonSerializable.prototype = {}; + M.EditModeChoice.prototype = { + key_code$0: function() { + var t1, t2; + for (t1 = J.get$iterator$ax(C.Map_2Vy1w.get$keys(C.Map_2Vy1w)); t1.moveNext$0();) { + t2 = t1.get$current(t1); + if (C.Map_2Vy1w.$index(0, t2) === this) + return t2; + } + throw H.wrapException(P.AssertionError$("This should be unreachable.")); + }, + get$excluded_modes: function() { + switch (this) { + case C.EditModeChoice_select: + return X.BuiltSet_BuiltSet$of(H.setRuntimeTypeInfo([C.EditModeChoice_rope_select, C.EditModeChoice_pencil, C.EditModeChoice_nick, C.EditModeChoice_ligate, C.EditModeChoice_insertion, C.EditModeChoice_deletion, C.EditModeChoice_move_group], type$.JSArray_legacy_EditModeChoice), type$.legacy_EditModeChoice); + case C.EditModeChoice_rope_select: + return X.BuiltSet_BuiltSet$of(H.setRuntimeTypeInfo([C.EditModeChoice_select, C.EditModeChoice_pencil, C.EditModeChoice_nick, C.EditModeChoice_ligate, C.EditModeChoice_insertion, C.EditModeChoice_deletion, C.EditModeChoice_move_group], type$.JSArray_legacy_EditModeChoice), type$.legacy_EditModeChoice); + case C.EditModeChoice_pencil: + return X.BuiltSet_BuiltSet$of(H.setRuntimeTypeInfo([C.EditModeChoice_select, C.EditModeChoice_rope_select, C.EditModeChoice_ligate, C.EditModeChoice_move_group], type$.JSArray_legacy_EditModeChoice), type$.legacy_EditModeChoice); + case C.EditModeChoice_nick: + return X.BuiltSet_BuiltSet$of(H.setRuntimeTypeInfo([C.EditModeChoice_select, C.EditModeChoice_rope_select, C.EditModeChoice_ligate, C.EditModeChoice_insertion, C.EditModeChoice_deletion, C.EditModeChoice_move_group], type$.JSArray_legacy_EditModeChoice), type$.legacy_EditModeChoice); + case C.EditModeChoice_ligate: + return X.BuiltSet_BuiltSet$of(H.setRuntimeTypeInfo([C.EditModeChoice_select, C.EditModeChoice_rope_select, C.EditModeChoice_pencil, C.EditModeChoice_nick, C.EditModeChoice_insertion, C.EditModeChoice_deletion, C.EditModeChoice_move_group], type$.JSArray_legacy_EditModeChoice), type$.legacy_EditModeChoice); + case C.EditModeChoice_insertion: + return X.BuiltSet_BuiltSet$of(H.setRuntimeTypeInfo([C.EditModeChoice_select, C.EditModeChoice_rope_select, C.EditModeChoice_nick, C.EditModeChoice_ligate, C.EditModeChoice_deletion, C.EditModeChoice_move_group], type$.JSArray_legacy_EditModeChoice), type$.legacy_EditModeChoice); + case C.EditModeChoice_deletion: + return X.BuiltSet_BuiltSet$of(H.setRuntimeTypeInfo([C.EditModeChoice_select, C.EditModeChoice_rope_select, C.EditModeChoice_nick, C.EditModeChoice_ligate, C.EditModeChoice_insertion, C.EditModeChoice_move_group], type$.JSArray_legacy_EditModeChoice), type$.legacy_EditModeChoice); + case C.EditModeChoice_move_group: + return X.BuiltSet_BuiltSet$of(H.setRuntimeTypeInfo([C.EditModeChoice_select, C.EditModeChoice_rope_select, C.EditModeChoice_pencil, C.EditModeChoice_nick, C.EditModeChoice_ligate, C.EditModeChoice_insertion, C.EditModeChoice_deletion], type$.JSArray_legacy_EditModeChoice), type$.legacy_EditModeChoice); + default: + throw H.wrapException(P.ArgumentError$(this.toString$0(0) + " is not a valid EditModeChoice")); + } + }, + display_name$0: function() { + switch (this) { + case C.EditModeChoice_select: + return "(s)"; + case C.EditModeChoice_rope_select: + return "(r)"; + case C.EditModeChoice_pencil: + return "(p)"; + case C.EditModeChoice_nick: + return "(n)"; + case C.EditModeChoice_ligate: + return "(l)"; + case C.EditModeChoice_insertion: + return "(i)"; + case C.EditModeChoice_deletion: + return "(d)"; + case C.EditModeChoice_move_group: + return "(m)"; + } + return this.super$EnumClass$toString(0); + }, + get$tooltip: function() { + switch (this) { + case C.EditModeChoice_select: + return '(s)elect: This is similar to the Select edit mode in cadnano. It allows one to\nselect one or more items and delete, move, or copy/paste them. Which are \nallowed to be selected depends on the "Select Mode", shown when in select edit \nmode or rope select edit mode. By holding Shift or Ctrl and click-dragging,\na rectangular box can be drawn that will select everything in the box.'; + case C.EditModeChoice_rope_select: + return '(r)ope select: This is similar to select mode, but when holding Shift or Ctrl, \nit allows one to draw a general polygon (a "rope"), rather than just a \nrectangle. This is useful, for example, for selecting many objects along a\ndiagonal, where a rectangle containing all of them would also contain many\nobjects off the diagonal that are not intended to be selected.'; + case C.EditModeChoice_pencil: + return "(p)encil: Allows one to add new Strands (with a single domain) by clicking and dragging."; + case C.EditModeChoice_nick: + return "(n)ick: Clicking on a bound domain will split it into two at that position."; + case C.EditModeChoice_ligate: + return "(l)igate: If two bound domains point in the same direction and have abutting\n5'/3' ends, then clicking on either will join them into a single strand."; + case C.EditModeChoice_insertion: + return "(i)nsertion: Clicking on a bound domain adds an insertion at that offset.\nClicking an existing insertion removes it.\n\nCtrl+click will add an insertion to strands in *every* helix at the same offset."; + case C.EditModeChoice_deletion: + return '(d)eletion: Clicking on a bound domain adds a deletion at that offset.\nClicking an existing deletion removes it.\n\nCtrl+click will add a deletion to strands in *every* helix at the same offset.\nThis can be useful for adding "columns" of deletions useful for twist correction\nin DNA origami.\n(See https://www.nature.com/articles/nchem.1070 for an explanation of twist\ncorrection in DNA origami.)\n'; + case C.EditModeChoice_move_group: + return "(m)ove group: This mode allows one to translate the currently selected helix\ngroup in the main view by clicking and dragging (i.e., to change its\nposition.x and position.y coordinates, which can also be set manually under\nthe menu Group \u2192 adjust current group). When in this mode, press either the\nCtrl (Cmd on Mac) or Shift key and then click+drag with the cursor. (Without\npressing Ctrl or Shift, the normal panning of the view will occur, without\nchanging the position of any helix group.)"; + } + return this.super$EnumClass$toString(0); + }, + toString$0: function(_) { + return this.display_name$0(); + }, + get$image_file: function() { + switch (this) { + case C.EditModeChoice_select: + return "images/edit_mode_icons/select.svg"; + case C.EditModeChoice_rope_select: + return "images/edit_mode_icons/rope_select.svg"; + case C.EditModeChoice_pencil: + return "images/edit_mode_icons/pencil.svg"; + case C.EditModeChoice_nick: + return "images/edit_mode_icons/nick.svg"; + case C.EditModeChoice_ligate: + return "images/edit_mode_icons/ligate.svg"; + case C.EditModeChoice_insertion: + return "images/edit_mode_icons/insertion.svg"; + case C.EditModeChoice_deletion: + return "images/edit_mode_icons/deletion.svg"; + case C.EditModeChoice_move_group: + return "images/edit_mode_icons/move_group.svg"; + } + return ""; + } + }; + M._$EditModeChoiceSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + return type$.legacy_EditModeChoice._as(object).name; + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + return M._$valueOf4(H._asStringS(serialized)); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isPrimitiveSerializer: 1, + get$types: function() { + return C.List_Type_EditModeChoice_hod; + }, + get$wireName: function() { + return "EditModeChoice"; + } + }; + K.ExampleDesigns.prototype = {}; + K._$ExampleDesignsSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + type$.legacy_ExampleDesigns._as(object); + return H.setRuntimeTypeInfo(["directory", serializers.serialize$2$specifiedType(object.directory, C.FullType_h8g), "filenames", serializers.serialize$2$specifiedType(object.filenames, C.FullType_6m4), "selected_idx", serializers.serialize$2$specifiedType(object.selected_idx, C.FullType_kjq)], type$.JSArray_legacy_Object); + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + var result, iterator, t1, t2, t3, t4, key, value, t5, t6, t7, t8, t9; + type$.legacy_Iterable_legacy_Object._as(serialized); + result = new K.ExampleDesignsBuilder(); + K.ExampleDesigns__initializeBuilder(result); + iterator = J.get$iterator$ax(serialized); + for (t1 = type$.legacy_BuiltList_legacy_Object, t2 = type$.legacy_String, t3 = type$.List_legacy_String, t4 = type$.ListBuilder_legacy_String; iterator.moveNext$0();) { + key = H._asStringS(iterator.get$current(iterator)); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (key) { + case "directory": + t5 = H._asStringS(serializers.deserialize$2$specifiedType(value, C.FullType_h8g)); + result.get$_example_designs$_$this()._directory = t5; + break; + case "filenames": + t5 = result.get$_example_designs$_$this(); + t6 = t5._filenames; + if (t6 == null) { + t6 = new D.ListBuilder(t4); + t6.set$__ListBuilder__list(t3._as(P.List_List$from(C.List_empty, true, t2))); + t6.set$_listOwner(null); + t5.set$_filenames(t6); + t5 = t6; + } else + t5 = t6; + t6 = t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_6m4)); + t7 = t5.$ti; + t8 = t7._eval$1("_BuiltList<1>"); + t9 = t7._eval$1("List<1>"); + if (t8._is(t6)) { + t8._as(t6); + t5.set$__ListBuilder__list(t9._as(t6._list)); + t5.set$_listOwner(t6); + } else { + t5.set$__ListBuilder__list(t9._as(P.List_List$from(t6, true, t7._precomputed1))); + t5.set$_listOwner(null); + } + break; + case "selected_idx": + t5 = H._asIntS(serializers.deserialize$2$specifiedType(value, C.FullType_kjq)); + result.get$_example_designs$_$this()._selected_idx = t5; + break; + } + } + return result.build$0(); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_ouD; + }, + get$wireName: function() { + return "ExampleDesigns"; + } + }; + K._$ExampleDesigns.prototype = { + $eq: function(_, other) { + var _this = this; + if (other == null) + return false; + if (other === _this) + return true; + return other instanceof K.ExampleDesigns && _this.directory === other.directory && J.$eq$(_this.filenames, other.filenames) && _this.selected_idx === other.selected_idx; + }, + get$hashCode: function(_) { + var _this = this, + t1 = _this._example_designs$__hashCode; + return t1 == null ? _this._example_designs$__hashCode = Y.$jf(Y.$jc(Y.$jc(Y.$jc(0, C.JSString_methods.get$hashCode(_this.directory)), J.get$hashCode$(_this.filenames)), C.JSInt_methods.get$hashCode(_this.selected_idx))) : t1; + }, + toString$0: function(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("ExampleDesigns"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "directory", this.directory); + t2.add$2(t1, "filenames", this.filenames); + t2.add$2(t1, "selected_idx", this.selected_idx); + return t2.toString$0(t1); + } + }; + K.ExampleDesignsBuilder.prototype = { + get$filenames: function() { + var t1 = this.get$_example_designs$_$this(), + t2 = t1._filenames; + if (t2 == null) { + t2 = D.ListBuilder_ListBuilder(C.List_empty, type$.legacy_String); + t1.set$_filenames(t2); + t1 = t2; + } else + t1 = t2; + return t1; + }, + get$_example_designs$_$this: function() { + var t1, _this = this, + $$v = _this._example_designs$_$v; + if ($$v != null) { + _this._directory = $$v.directory; + t1 = $$v.filenames; + t1.toString; + _this.set$_filenames(D.ListBuilder_ListBuilder(t1, t1.$ti._precomputed1)); + _this._selected_idx = $$v.selected_idx; + _this._example_designs$_$v = null; + } + return _this; + }, + build$0: function() { + var _$failedField, e, _$result0, t1, t2, t3, exception, _this = this, + _s14_ = "ExampleDesigns", + _$result = null; + try { + _$result0 = _this._example_designs$_$v; + if (_$result0 == null) { + t1 = _this.get$_example_designs$_$this()._directory; + if (t1 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s14_, "directory")); + t2 = _this.get$filenames().build$0(); + t3 = _this.get$_example_designs$_$this()._selected_idx; + if (t3 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s14_, "selected_idx")); + _$result0 = new K._$ExampleDesigns(t1, t2, t3); + if (t2 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s14_, "filenames")); + } + _$result = _$result0; + } catch (exception) { + H.unwrapException(exception); + _$failedField = null; + try { + _$failedField = "filenames"; + _this.get$filenames().build$0(); + } catch (exception) { + e = H.unwrapException(exception); + t1 = Y.BuiltValueNestedFieldError$(_s14_, _$failedField, J.toString$0$(e)); + throw H.wrapException(t1); + } + throw exception; + } + t1 = type$.legacy_ExampleDesigns._as(_$result); + if (t1 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + _this._example_designs$_$v = t1; + return _$result; + }, + set$_filenames: function(_filenames) { + this._filenames = type$.legacy_ListBuilder_legacy_String._as(_filenames); + } + }; + K._ExampleDesigns_Object_BuiltJsonSerializable.prototype = {}; + D.strands_comparison_function_compare.prototype = { + call$2: function(strand1, strand2) { + var t2, helix_offset1, helix_offset2, helix_idx1, offset1, helix_idx2, offset2, tuple1, tuple2, t3, + t1 = type$.legacy_Strand; + t1._as(strand1); + t1._as(strand2); + t1 = this.strand_order; + t2 = this.column_major; + helix_offset1 = D.strand_helix_offset_key(strand1, t1, t2); + helix_offset2 = D.strand_helix_offset_key(strand2, t1, t2); + helix_idx1 = helix_offset1.item1; + offset1 = helix_offset1.item2; + helix_idx2 = helix_offset2.item1; + offset2 = helix_offset2.item2; + t1 = type$.Tuple2_of_legacy_int_and_legacy_int; + if (t2) { + tuple1 = new S.Tuple2(offset1, helix_idx1, t1); + tuple2 = new S.Tuple2(offset2, helix_idx2, t1); + } else { + tuple1 = new S.Tuple2(helix_idx1, offset1, t1); + tuple2 = new S.Tuple2(helix_idx2, offset2, t1); + } + t1 = tuple1.item1; + t2 = tuple2.item1; + t3 = J.getInterceptor$(t1); + if (!t3.$eq(t1, t2)) + return H._asIntS(t3.$sub(t1, t2)); + else + return H._asIntS(J.$sub$n(tuple1.item2, tuple2.item2)); + }, + $signature: 374 + }; + D.ExportDNAFormat.prototype = { + extension$0: function() { + switch (this) { + case C.ExportDNAFormat_csv: + return "csv"; + case C.ExportDNAFormat_idt_bulk: + return "txt"; + case C.ExportDNAFormat_idt_plates96: + case C.ExportDNAFormat_idt_plates384: + return "xlsx"; + } + throw H.wrapException(D.ExportDNAException$(string$.You_ha)); + }, + toString$0: function(_) { + return C.Map_bv0.$index(0, this); + }, + blob_type$0: function() { + switch (this) { + case C.ExportDNAFormat_csv: + return C.BlobType_0; + case C.ExportDNAFormat_idt_bulk: + return C.BlobType_0; + case C.ExportDNAFormat_idt_plates96: + case C.ExportDNAFormat_idt_plates384: + return C.BlobType_3; + } + throw H.wrapException(D.ExportDNAException$(string$.You_ha)); + }, + export$6$column_major_plate$column_major_strand$delimiter$domain_delimiter$strand_order: function(strands, column_major_plate, column_major_strand, delimiter, domain_delimiter, strand_order) { + var e, t1, exception, + _s133_ = string$.You_ha, + strands_sorted = J.toList$0$ax(type$.legacy_Iterable_legacy_Strand._as(strands)); + if (strand_order != null) + J.sort$1$ax(strands_sorted, D.strands_comparison_function(strand_order, column_major_strand)); + try { + switch (this) { + case C.ExportDNAFormat_csv: + t1 = D.csv_export(strands_sorted, domain_delimiter); + return t1; + case C.ExportDNAFormat_idt_bulk: + t1 = D.idt_bulk_export(strands_sorted, delimiter, domain_delimiter); + return t1; + case C.ExportDNAFormat_idt_plates96: + t1 = D.idt_plates_export(strands_sorted, C.PlateType_0, column_major_plate, domain_delimiter); + return t1; + case C.ExportDNAFormat_idt_plates384: + t1 = D.idt_plates_export(strands_sorted, C.PlateType_1, column_major_plate, domain_delimiter); + return t1; + } + } catch (exception) { + t1 = H.unwrapException(exception); + if (t1 instanceof D.ExportDNAException) { + e = t1; + throw H.wrapException(e); + } else if (type$.legacy_Error._is(t1)) + throw H.wrapException(D.ExportDNAException$(_s133_)); + else if (type$.legacy_Exception._is(t1)) + throw H.wrapException(D.ExportDNAException$(_s133_)); + else + throw exception; + } + throw H.wrapException(D.ExportDNAException$(_s133_)); + } + }; + D.ExportDNAException.prototype = {$isException: 1, + get$cause: function() { + return this.cause; + } + }; + D.csv_export_closure.prototype = { + call$1: function(strand) { + var t1, t2; + type$.legacy_Strand._as(strand); + t1 = H.S(strand.vendor_export_name$0()) + ","; + t2 = strand.vendor_dna_sequence$1$domain_delimiter(this.domain_delimiter); + return t1 + (t2 == null ? "*****NONE*****" : t2); + }, + $signature: 129 + }; + D.idt_bulk_export_closure.prototype = { + call$1: function(strand) { + var t1, t2, t3, _this = this; + type$.legacy_Strand._as(strand); + t1 = _this.delimiter; + t2 = H.S(strand.vendor_export_name$0()) + t1; + t3 = strand.vendor_dna_sequence$1$domain_delimiter(_this.domain_delimiter); + return t2 + (t3 == null ? "*****NONE*****" : t3) + t1 + _this.scale + t1 + _this.purification; + }, + $signature: 129 + }; + D.PlateType.prototype = { + toString$0: function(_) { + return this._export_dna_format$_name; + } + }; + D._$ExportDNAFormatSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + return type$.legacy_ExportDNAFormat._as(object).name; + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + return D._$valueOf5(H._asStringS(serialized)); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isPrimitiveSerializer: 1, + get$types: function() { + return C.List_Type_ExportDNAFormat_QK8; + }, + get$wireName: function() { + return "ExportDNAFormat"; + } + }; + O.StrandOrder.prototype = { + toString$0: function(_) { + return C.Map_yHyvP.$index(0, this); + } + }; + O._$StrandOrderSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + return type$.legacy_StrandOrder._as(object).name; + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + return O._$valueOf10(H._asStringS(serialized)); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isPrimitiveSerializer: 1, + get$types: function() { + return C.List_Type_StrandOrder_Jrj; + }, + get$wireName: function() { + return "StrandOrder"; + } + }; + S.Extension.prototype = { + to_json_serializable$1$suppress_indent: function(suppress_indent) { + var t2, t3, _this = this, + json_map = P.LinkedHashMap_LinkedHashMap$_literal(["extension_num_bases", _this.num_bases], type$.legacy_String, type$.dynamic), + t1 = _this.display_length; + if (t1 !== 1.5) + json_map.$indexSet(0, "display_length", t1); + t1 = _this.display_angle; + if (t1 !== 35) + json_map.$indexSet(0, "display_angle", t1); + t1 = _this.name; + if (t1 != null) + json_map.$indexSet(0, "name", t1); + t1 = _this.color; + if (t1 != null) { + t1 = t1.toHexColor$0(); + json_map.$indexSet(0, "color", "#" + t1.get$rHex() + t1.get$gHex() + t1.get$bHex()); + } + t1 = _this.label; + if (t1 != null) + json_map.$indexSet(0, "label", t1); + t1 = _this.unused_fields; + t2 = t1._map$_map; + t3 = H._instanceType(t1); + json_map.addAll$1(0, new S.CopyOnWriteMap(t1._mapFactory, t2, t3._eval$1("@<1>")._bind$1(t3._rest[1])._eval$1("CopyOnWriteMap<1,2>"))); + return suppress_indent ? new K.NoIndent(json_map) : json_map; + }, + set_dna_sequence$1: function(seq) { + return this.rebuild$1(new S.Extension_set_dna_sequence_closure(seq)); + }, + is_domain$0: function() { + return false; + }, + is_loopout$0: function() { + return false; + }, + get$select_mode: function() { + return C.SelectModeChoice_extension_; + }, + get$id: function(_) { + return "extension-" + (H.boolConversionCheck(this.is_5p) ? "5p" : "3p") + "-" + H.S(this.strand_id); + }, + dna_length$0: function() { + return this.num_bases; + }, + type_description$0: function() { + return "extension"; + }, + get$dnaend_free: function() { + var _this = this, + t1 = _this.is_5p; + H.boolConversionCheck(t1); + return Z.DNAEnd_DNAEnd(t1, true, _this.is_scaffold, true, null, _this.get$id(_this), t1, !t1); + }, + $isSelectable: 1, + $isSubstrand: 1 + }; + S.Extension_Extension_closure.prototype = { + call$1: function(b) { + var t1, t2, _this = this; + b.get$_extension$_$this()._num_bases = _this.num_bases; + b.get$_extension$_$this()._display_length = _this.display_length; + b.get$_extension$_$this()._display_angle = _this.display_angle; + b.get$_extension$_$this()._is_5p = _this.is_5p; + b.get$_extension$_$this()._extension$_name = _this.name; + b.get$_extension$_$this()._extension$_label = _this.label; + b.get$_extension$_$this()._dna_sequence = _this.dna_sequence; + b.get$_extension$_$this()._extension$_color = _this.color; + b.get$_extension$_$this()._extension$_is_scaffold = _this.is_scaffold; + t1 = _this.adjacent_domain; + if (t1 == null) + t1 = null; + else { + t2 = new G.DomainBuilder(); + t2._domain$_$v = t1; + t1 = t2; + } + b.get$_extension$_$this()._adjacent_domain = t1; + b.get$unused_fields().replace$1(0, _this._box_0.unused_fields); + return b; + }, + $signature: 19 + }; + S.Extension_set_dna_sequence_closure.prototype = { + call$1: function(ext) { + ext.get$_extension$_$this()._dna_sequence = this.seq; + return ext; + }, + $signature: 19 + }; + S._$ExtensionSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + var result, value; + type$.legacy_Extension._as(object); + result = H.setRuntimeTypeInfo(["num_bases", serializers.serialize$2$specifiedType(object.num_bases, C.FullType_kjq), "display_length", serializers.serialize$2$specifiedType(object.display_length, C.FullType_MME), "display_angle", serializers.serialize$2$specifiedType(object.display_angle, C.FullType_MME), "is_scaffold", serializers.serialize$2$specifiedType(object.is_scaffold, C.FullType_MtR)], type$.JSArray_legacy_Object); + value = object.is_5p; + if (value != null) { + C.JSArray_methods.add$1(result, "is_5p"); + C.JSArray_methods.add$1(result, serializers.serialize$2$specifiedType(value, C.FullType_MtR)); + } + value = object.label; + if (value != null) { + C.JSArray_methods.add$1(result, "label"); + C.JSArray_methods.add$1(result, serializers.serialize$2$specifiedType(value, C.FullType_h8g)); + } + value = object.name; + if (value != null) { + C.JSArray_methods.add$1(result, "name"); + C.JSArray_methods.add$1(result, serializers.serialize$2$specifiedType(value, C.FullType_h8g)); + } + value = object.dna_sequence; + if (value != null) { + C.JSArray_methods.add$1(result, "dna_sequence"); + C.JSArray_methods.add$1(result, serializers.serialize$2$specifiedType(value, C.FullType_h8g)); + } + value = object.color; + if (value != null) { + C.JSArray_methods.add$1(result, "color"); + C.JSArray_methods.add$1(result, serializers.serialize$2$specifiedType(value, C.FullType_uHx)); + } + value = object.strand_id; + if (value != null) { + C.JSArray_methods.add$1(result, "strand_id"); + C.JSArray_methods.add$1(result, serializers.serialize$2$specifiedType(value, C.FullType_h8g)); + } + value = object.adjacent_domain; + if (value != null) { + C.JSArray_methods.add$1(result, "adjacent_domain"); + C.JSArray_methods.add$1(result, serializers.serialize$2$specifiedType(value, C.FullType_fnc)); + } + return result; + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + var t1, t2, key, value, t3, t4, + result = new S.ExtensionBuilder(), + iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + for (t1 = type$.legacy_Domain, t2 = type$.legacy_Color; iterator.moveNext$0();) { + key = H._asStringS(iterator.get$current(iterator)); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (key) { + case "num_bases": + t3 = H._asIntS(serializers.deserialize$2$specifiedType(value, C.FullType_kjq)); + result.get$_extension$_$this()._num_bases = t3; + break; + case "display_length": + t3 = H._asDoubleS(serializers.deserialize$2$specifiedType(value, C.FullType_MME)); + result.get$_extension$_$this()._display_length = t3; + break; + case "display_angle": + t3 = H._asDoubleS(serializers.deserialize$2$specifiedType(value, C.FullType_MME)); + result.get$_extension$_$this()._display_angle = t3; + break; + case "is_5p": + t3 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); + result.get$_extension$_$this()._is_5p = t3; + break; + case "label": + t3 = H._asStringS(serializers.deserialize$2$specifiedType(value, C.FullType_h8g)); + result.get$_extension$_$this()._extension$_label = t3; + break; + case "name": + t3 = H._asStringS(serializers.deserialize$2$specifiedType(value, C.FullType_h8g)); + result.get$_extension$_$this()._extension$_name = t3; + break; + case "dna_sequence": + t3 = H._asStringS(serializers.deserialize$2$specifiedType(value, C.FullType_h8g)); + result.get$_extension$_$this()._dna_sequence = t3; + break; + case "color": + t3 = t2._as(serializers.deserialize$2$specifiedType(value, C.FullType_uHx)); + result.get$_extension$_$this()._extension$_color = t3; + break; + case "strand_id": + t3 = H._asStringS(serializers.deserialize$2$specifiedType(value, C.FullType_h8g)); + result.get$_extension$_$this()._strand_id = t3; + break; + case "is_scaffold": + t3 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); + result.get$_extension$_$this()._extension$_is_scaffold = t3; + break; + case "adjacent_domain": + t3 = result.get$_extension$_$this(); + t4 = t3._adjacent_domain; + t3 = t4 == null ? t3._adjacent_domain = new G.DomainBuilder() : t4; + t4 = t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_fnc)); + if (t4 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + t3._domain$_$v = t4; + break; + } + } + return result.build$0(); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_eAf; + }, + get$wireName: function() { + return "Extension"; + } + }; + S._$Extension.prototype = { + get$select_mode: function() { + var t1 = this._extension$__select_mode; + return t1 == null ? this._extension$__select_mode = S.Extension.prototype.get$select_mode.call(this) : t1; + }, + get$id: function(_) { + var _this = this, + t1 = _this._extension$__id; + return t1 == null ? _this._extension$__id = S.Extension.prototype.get$id.call(_this, _this) : t1; + }, + get$dnaend_free: function() { + var t1 = this.__dnaend_free; + return t1 == null ? this.__dnaend_free = S.Extension.prototype.get$dnaend_free.call(this) : t1; + }, + rebuild$1: function(updates) { + var t1; + type$.legacy_void_Function_legacy_ExtensionBuilder._as(updates); + t1 = new S.ExtensionBuilder(); + t1._extension$_$v = this; + updates.call$1(t1); + return t1.build$0(); + }, + $eq: function(_, other) { + var _this = this; + if (other == null) + return false; + if (other === _this) + return true; + return other instanceof S.Extension && _this.num_bases === other.num_bases && _this.display_length === other.display_length && _this.display_angle === other.display_angle && _this.is_5p == other.is_5p && _this.label == other.label && _this.name == other.name && _this.dna_sequence == other.dna_sequence && J.$eq$(_this.color, other.color) && _this.strand_id == other.strand_id && _this.is_scaffold === other.is_scaffold && J.$eq$(_this.adjacent_domain, other.adjacent_domain) && J.$eq$(_this.unused_fields, other.unused_fields); + }, + get$hashCode: function(_) { + var _this = this, + t1 = _this._extension$__hashCode; + return t1 == null ? _this._extension$__hashCode = Y.$jf(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(0, C.JSInt_methods.get$hashCode(_this.num_bases)), C.JSNumber_methods.get$hashCode(_this.display_length)), C.JSNumber_methods.get$hashCode(_this.display_angle)), J.get$hashCode$(_this.is_5p)), J.get$hashCode$(_this.label)), J.get$hashCode$(_this.name)), J.get$hashCode$(_this.dna_sequence)), J.get$hashCode$(_this.color)), J.get$hashCode$(_this.strand_id)), C.JSBool_methods.get$hashCode(_this.is_scaffold)), J.get$hashCode$(_this.adjacent_domain)), J.get$hashCode$(_this.unused_fields))) : t1; + }, + toString$0: function(_) { + var _this = this, + t1 = $.$get$newBuiltValueToStringHelper().call$1("Extension"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "num_bases", _this.num_bases); + t2.add$2(t1, "display_length", _this.display_length); + t2.add$2(t1, "display_angle", _this.display_angle); + t2.add$2(t1, "is_5p", _this.is_5p); + t2.add$2(t1, "label", _this.label); + t2.add$2(t1, "name", _this.name); + t2.add$2(t1, "dna_sequence", _this.dna_sequence); + t2.add$2(t1, "color", _this.color); + t2.add$2(t1, "strand_id", _this.strand_id); + t2.add$2(t1, "is_scaffold", _this.is_scaffold); + t2.add$2(t1, "adjacent_domain", _this.adjacent_domain); + t2.add$2(t1, "unused_fields", _this.unused_fields); + return t2.toString$0(t1); + }, + get$label: function(receiver) { + return this.label; + }, + get$name: function(receiver) { + return this.name; + }, + get$dna_sequence: function() { + return this.dna_sequence; + }, + get$color: function(receiver) { + return this.color; + }, + get$strand_id: function() { + return this.strand_id; + }, + get$is_scaffold: function() { + return this.is_scaffold; + } + }; + S.ExtensionBuilder.prototype = { + get$adjacent_domain: function() { + var t1 = this.get$_extension$_$this(), + t2 = t1._adjacent_domain; + return t2 == null ? t1._adjacent_domain = new G.DomainBuilder() : t2; + }, + get$unused_fields: function() { + var t1 = this.get$_extension$_$this(), + t2 = t1._extension$_unused_fields; + if (t2 == null) { + t2 = A.MapBuilder_MapBuilder(C.Map_empty, type$.legacy_String, type$.legacy_Object); + t1.set$_extension$_unused_fields(t2); + t1 = t2; + } else + t1 = t2; + return t1; + }, + get$_extension$_$this: function() { + var t1, t2, _this = this, + $$v = _this._extension$_$v; + if ($$v != null) { + _this._num_bases = $$v.num_bases; + _this._display_length = $$v.display_length; + _this._display_angle = $$v.display_angle; + _this._is_5p = $$v.is_5p; + _this._extension$_label = $$v.label; + _this._extension$_name = $$v.name; + _this._dna_sequence = $$v.dna_sequence; + _this._extension$_color = $$v.color; + _this._strand_id = $$v.strand_id; + _this._extension$_is_scaffold = $$v.is_scaffold; + t1 = $$v.adjacent_domain; + if (t1 == null) + t1 = null; + else { + t2 = new G.DomainBuilder(); + t2._domain$_$v = t1; + t1 = t2; + } + _this._adjacent_domain = t1; + t1 = $$v.unused_fields; + t1.toString; + t2 = t1.$ti; + t2._eval$1("_BuiltMap<1,2>")._as(t1); + _this.set$_extension$_unused_fields(new A.MapBuilder(t1._mapFactory, t1._map$_map, t1, t2._eval$1("@<1>")._bind$1(t2._rest[1])._eval$1("MapBuilder<1,2>"))); + _this._extension$_$v = null; + } + return _this; + }, + build$0: function() { + var _$failedField, e, _$result0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, exception, _this = this, + _s9_ = "Extension", + _$result = null; + try { + _$result0 = _this._extension$_$v; + if (_$result0 == null) { + t1 = _this.get$_extension$_$this()._num_bases; + if (t1 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s9_, "num_bases")); + t2 = _this.get$_extension$_$this()._display_length; + if (t2 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s9_, "display_length")); + t3 = _this.get$_extension$_$this()._display_angle; + if (t3 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s9_, "display_angle")); + t4 = _this.get$_extension$_$this()._is_5p; + t5 = _this.get$_extension$_$this()._extension$_label; + t6 = _this.get$_extension$_$this()._extension$_name; + t7 = _this.get$_extension$_$this()._dna_sequence; + t8 = _this.get$_extension$_$this()._extension$_color; + t9 = _this.get$_extension$_$this()._strand_id; + t10 = _this.get$_extension$_$this()._extension$_is_scaffold; + if (t10 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s9_, "is_scaffold")); + t11 = _this._adjacent_domain; + t11 = t11 == null ? null : t11.build$0(); + t12 = _this.get$unused_fields().build$0(); + _$result0 = new S._$Extension(t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12); + if (t12 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s9_, "unused_fields")); + } + _$result = _$result0; + } catch (exception) { + H.unwrapException(exception); + _$failedField = null; + try { + _$failedField = "adjacent_domain"; + t1 = _this._adjacent_domain; + if (t1 != null) + t1.build$0(); + _$failedField = "unused_fields"; + _this.get$unused_fields().build$0(); + } catch (exception) { + e = H.unwrapException(exception); + t1 = Y.BuiltValueNestedFieldError$(_s9_, _$failedField, J.toString$0$(e)); + throw H.wrapException(t1); + } + throw exception; + } + t1 = type$.legacy_Extension._as(_$result); + if (t1 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + _this._extension$_$v = t1; + return _$result; + }, + set$_extension$_unused_fields: function(_unused_fields) { + this._extension$_unused_fields = type$.legacy_MapBuilder_of_legacy_String_and_legacy_Object._as(_unused_fields); + } + }; + S._Extension_Object_SelectableMixin.prototype = {}; + S._Extension_Object_SelectableMixin_BuiltJsonSerializable.prototype = {}; + S._Extension_Object_SelectableMixin_BuiltJsonSerializable_UnusedFields.prototype = {}; + N.Geometry.prototype = { + get$distance_between_helices_nm: function() { + return 2 * this.helix_radius + this.inter_helix_gap; + }, + get$distance_between_helices_svg: function() { + return this.get$distance_between_helices_nm() * this.get$nm_to_svg_pixels(); + }, + get$helix_diameter_nm: function() { + return 2 * this.helix_radius; + }, + get$helix_radius_svg: function() { + return this.helix_radius * this.get$nm_to_svg_pixels(); + }, + get$helix_diameter_svg: function() { + var _this = this, + t1 = _this.__helix_diameter_nm; + if (t1 == null) + t1 = _this.__helix_diameter_nm = N.Geometry.prototype.get$helix_diameter_nm.call(_this); + return t1 * _this.get$nm_to_svg_pixels(); + }, + get$base_width_svg: function() { + return this.rise_per_base_pair * 30.12; + }, + get$base_height_svg: function() { + return this.rise_per_base_pair * 30.12; + }, + get$nm_to_svg_pixels: function() { + return this.get$base_width_svg() / this.rise_per_base_pair; + }, + get$svg_pixels_to_nm: function() { + return 1 / this.get$nm_to_svg_pixels(); + } + }; + N.Geometry_Geometry_closure.prototype = { + call$1: function(b) { + var _this = this; + b.get$_geometry$_$this()._rise_per_base_pair = _this.rise_per_base_pair; + b.get$_geometry$_$this()._helix_radius = _this.helix_radius; + b.get$_geometry$_$this()._inter_helix_gap = _this.inter_helix_gap; + b.get$_geometry$_$this()._bases_per_turn = _this.bases_per_turn; + b.get$_geometry$_$this()._minor_groove_angle = _this.minor_groove_angle; + return b; + }, + $signature: 130 + }; + N.Geometry_from_json_closure.prototype = { + call$1: function(angle_radians) { + H._asNumS(angle_radians); + if (typeof angle_radians !== "number") + return angle_radians.$mul(); + return angle_radians * 360 / 6.283185307179586; + }, + $signature: 377 + }; + N.Geometry_from_json_closure0.prototype = { + call$1: function(b) { + var t1 = type$.legacy_MapBuilder_of_legacy_String_and_legacy_Object._as(this.unused_fields); + b.get$_geometry$_$this().set$_geometry$_unused_fields(t1); + return b; + }, + $signature: 130 + }; + N._$GeometrySerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + type$.legacy_Geometry._as(object); + return H.setRuntimeTypeInfo(["rise_per_base_pair", serializers.serialize$2$specifiedType(object.rise_per_base_pair, C.FullType_MME), "helix_radius", serializers.serialize$2$specifiedType(object.helix_radius, C.FullType_MME), "inter_helix_gap", serializers.serialize$2$specifiedType(object.inter_helix_gap, C.FullType_MME), "bases_per_turn", serializers.serialize$2$specifiedType(object.bases_per_turn, C.FullType_MME), "minor_groove_angle", serializers.serialize$2$specifiedType(object.minor_groove_angle, C.FullType_MME)], type$.JSArray_legacy_Object); + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + var key, value, t1, + result = new N.GeometryBuilder(), + iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + for (; iterator.moveNext$0();) { + key = H._asStringS(iterator.get$current(iterator)); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (key) { + case "rise_per_base_pair": + t1 = H._asDoubleS(serializers.deserialize$2$specifiedType(value, C.FullType_MME)); + result.get$_geometry$_$this()._rise_per_base_pair = t1; + break; + case "helix_radius": + t1 = H._asDoubleS(serializers.deserialize$2$specifiedType(value, C.FullType_MME)); + result.get$_geometry$_$this()._helix_radius = t1; + break; + case "inter_helix_gap": + t1 = H._asDoubleS(serializers.deserialize$2$specifiedType(value, C.FullType_MME)); + result.get$_geometry$_$this()._inter_helix_gap = t1; + break; + case "bases_per_turn": + t1 = H._asDoubleS(serializers.deserialize$2$specifiedType(value, C.FullType_MME)); + result.get$_geometry$_$this()._bases_per_turn = t1; + break; + case "minor_groove_angle": + t1 = H._asDoubleS(serializers.deserialize$2$specifiedType(value, C.FullType_MME)); + result.get$_geometry$_$this()._minor_groove_angle = t1; + break; + } + } + return result.build$0(); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_JYK; + }, + get$wireName: function() { + return "Geometry"; + } + }; + N._$Geometry.prototype = { + get$distance_between_helices_nm: function() { + var t1 = this.__distance_between_helices_nm; + return t1 == null ? this.__distance_between_helices_nm = N.Geometry.prototype.get$distance_between_helices_nm.call(this) : t1; + }, + get$distance_between_helices_svg: function() { + var t1 = this.__distance_between_helices_svg; + return t1 == null ? this.__distance_between_helices_svg = N.Geometry.prototype.get$distance_between_helices_svg.call(this) : t1; + }, + get$helix_radius_svg: function() { + var t1 = this.__helix_radius_svg; + return t1 == null ? this.__helix_radius_svg = N.Geometry.prototype.get$helix_radius_svg.call(this) : t1; + }, + get$base_width_svg: function() { + var t1 = this.__base_width_svg; + return t1 == null ? this.__base_width_svg = N.Geometry.prototype.get$base_width_svg.call(this) : t1; + }, + get$base_height_svg: function() { + var t1 = this.__base_height_svg; + return t1 == null ? this.__base_height_svg = N.Geometry.prototype.get$base_height_svg.call(this) : t1; + }, + get$nm_to_svg_pixels: function() { + var t1 = this.__nm_to_svg_pixels; + return t1 == null ? this.__nm_to_svg_pixels = N.Geometry.prototype.get$nm_to_svg_pixels.call(this) : t1; + }, + get$svg_pixels_to_nm: function() { + var t1 = this.__svg_pixels_to_nm; + return t1 == null ? this.__svg_pixels_to_nm = N.Geometry.prototype.get$svg_pixels_to_nm.call(this) : t1; + }, + $eq: function(_, other) { + var _this = this; + if (other == null) + return false; + if (other === _this) + return true; + return other instanceof N.Geometry && _this.rise_per_base_pair === other.rise_per_base_pair && _this.helix_radius === other.helix_radius && _this.inter_helix_gap === other.inter_helix_gap && _this.bases_per_turn === other.bases_per_turn && _this.minor_groove_angle === other.minor_groove_angle && J.$eq$(_this.unused_fields, other.unused_fields); + }, + get$hashCode: function(_) { + var _this = this, + t1 = _this._geometry$__hashCode; + return t1 == null ? _this._geometry$__hashCode = Y.$jf(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(0, C.JSNumber_methods.get$hashCode(_this.rise_per_base_pair)), C.JSNumber_methods.get$hashCode(_this.helix_radius)), C.JSNumber_methods.get$hashCode(_this.inter_helix_gap)), C.JSNumber_methods.get$hashCode(_this.bases_per_turn)), C.JSNumber_methods.get$hashCode(_this.minor_groove_angle)), J.get$hashCode$(_this.unused_fields))) : t1; + }, + toString$0: function(_) { + var _this = this, + t1 = $.$get$newBuiltValueToStringHelper().call$1("Geometry"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "rise_per_base_pair", _this.rise_per_base_pair); + t2.add$2(t1, "helix_radius", _this.helix_radius); + t2.add$2(t1, "inter_helix_gap", _this.inter_helix_gap); + t2.add$2(t1, "bases_per_turn", _this.bases_per_turn); + t2.add$2(t1, "minor_groove_angle", _this.minor_groove_angle); + t2.add$2(t1, "unused_fields", _this.unused_fields); + return t2.toString$0(t1); + } + }; + N.GeometryBuilder.prototype = { + get$unused_fields: function() { + var t1 = this.get$_geometry$_$this(), + t2 = t1._geometry$_unused_fields; + if (t2 == null) { + t2 = A.MapBuilder_MapBuilder(C.Map_empty, type$.legacy_String, type$.legacy_Object); + t1.set$_geometry$_unused_fields(t2); + t1 = t2; + } else + t1 = t2; + return t1; + }, + get$_geometry$_$this: function() { + var t1, t2, _this = this, + $$v = _this._geometry$_$v; + if ($$v != null) { + _this._rise_per_base_pair = $$v.rise_per_base_pair; + _this._helix_radius = $$v.helix_radius; + _this._inter_helix_gap = $$v.inter_helix_gap; + _this._bases_per_turn = $$v.bases_per_turn; + _this._minor_groove_angle = $$v.minor_groove_angle; + t1 = $$v.unused_fields; + t1.toString; + t2 = t1.$ti; + t2._eval$1("_BuiltMap<1,2>")._as(t1); + _this.set$_geometry$_unused_fields(new A.MapBuilder(t1._mapFactory, t1._map$_map, t1, t2._eval$1("@<1>")._bind$1(t2._rest[1])._eval$1("MapBuilder<1,2>"))); + _this._geometry$_$v = null; + } + return _this; + }, + build$0: function() { + var _$failedField, e, _$result0, t1, t2, t3, t4, t5, t6, exception, _this = this, + _s8_ = "Geometry", + _$result = null; + try { + _$result0 = _this._geometry$_$v; + if (_$result0 == null) { + t1 = _this.get$_geometry$_$this()._rise_per_base_pair; + if (t1 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s8_, "rise_per_base_pair")); + t2 = _this.get$_geometry$_$this()._helix_radius; + if (t2 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s8_, "helix_radius")); + t3 = _this.get$_geometry$_$this()._inter_helix_gap; + if (t3 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s8_, "inter_helix_gap")); + t4 = _this.get$_geometry$_$this()._bases_per_turn; + if (t4 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s8_, "bases_per_turn")); + t5 = _this.get$_geometry$_$this()._minor_groove_angle; + if (t5 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s8_, "minor_groove_angle")); + t6 = _this.get$unused_fields().build$0(); + _$result0 = new N._$Geometry(t1, t2, t3, t4, t5, t6); + if (t6 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s8_, "unused_fields")); + } + _$result = _$result0; + } catch (exception) { + H.unwrapException(exception); + _$failedField = null; + try { + _$failedField = "unused_fields"; + _this.get$unused_fields().build$0(); + } catch (exception) { + e = H.unwrapException(exception); + t1 = Y.BuiltValueNestedFieldError$(_s8_, _$failedField, J.toString$0$(e)); + throw H.wrapException(t1); + } + throw exception; + } + t1 = type$.legacy_Geometry._as(_$result); + if (t1 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + _this._geometry$_$v = t1; + return _$result; + }, + set$_geometry$_unused_fields: function(_unused_fields) { + this._geometry$_unused_fields = type$.legacy_MapBuilder_of_legacy_String_and_legacy_Object._as(_unused_fields); + } + }; + N._Geometry_Object_BuiltJsonSerializable.prototype = {}; + N._Geometry_Object_BuiltJsonSerializable_UnusedFields.prototype = {}; + S.Grid.prototype = { + get$default_major_tick_distance: function() { + var _this = this; + if (_this === C.Grid_hex || _this === C.Grid_honeycomb) + return 7; + else if (_this === C.Grid_square) + return 8; + else if (_this === C.Grid_none) + return 8; + else + throw H.wrapException(P.AssertionError$("unreachable")); + } + }; + S._$GridSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + return type$.legacy_Grid._as(object).name; + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + return S._$valueOf(H._asStringS(serialized)); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isPrimitiveSerializer: 1, + get$types: function() { + return C.List_Type_Grid_zSh; + }, + get$wireName: function() { + return "Grid"; + } + }; + D.GridPosition.prototype = { + toString$0: function(_) { + return "(" + this.h + "," + this.v + ")"; + } + }; + D.GridPosition_GridPosition_closure.prototype = { + call$1: function(g) { + g.get$_grid_position$_$this()._h = this.h; + g.get$_grid_position$_$this()._v = this.v; + return g; + }, + $signature: 378 + }; + D._$GridPositionSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + type$.legacy_GridPosition._as(object); + return H.setRuntimeTypeInfo(["h", serializers.serialize$2$specifiedType(object.h, C.FullType_kjq), "v", serializers.serialize$2$specifiedType(object.v, C.FullType_kjq)], type$.JSArray_legacy_Object); + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + var key, value, t1, $$v, + result = new D.GridPositionBuilder(), + iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + for (; iterator.moveNext$0();) { + key = H._asStringS(iterator.get$current(iterator)); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (key) { + case "h": + t1 = H._asIntS(serializers.deserialize$2$specifiedType(value, C.FullType_kjq)); + $$v = result._grid_position$_$v; + if ($$v != null) { + result._h = $$v.h; + result._v = $$v.v; + result._grid_position$_$v = null; + } + result._h = t1; + break; + case "v": + t1 = H._asIntS(serializers.deserialize$2$specifiedType(value, C.FullType_kjq)); + $$v = result._grid_position$_$v; + if ($$v != null) { + result._h = $$v.h; + result._v = $$v.v; + result._grid_position$_$v = null; + } + result._v = t1; + break; + } + } + return result.build$0(); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_ibp; + }, + get$wireName: function() { + return "GridPosition"; + } + }; + D._$GridPosition.prototype = { + $eq: function(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof D.GridPosition && this.h === other.h && this.v === other.v; + }, + get$hashCode: function(_) { + var _this = this, + t1 = _this._grid_position$__hashCode; + return t1 == null ? _this._grid_position$__hashCode = Y.$jf(Y.$jc(Y.$jc(0, C.JSInt_methods.get$hashCode(_this.h)), C.JSInt_methods.get$hashCode(_this.v))) : t1; + } + }; + D.GridPositionBuilder.prototype = { + get$_grid_position$_$this: function() { + var _this = this, + $$v = _this._grid_position$_$v; + if ($$v != null) { + _this._h = $$v.h; + _this._v = $$v.v; + _this._grid_position$_$v = null; + } + return _this; + }, + build$0: function() { + var t1, t2, _this = this, + _s12_ = "GridPosition", + _$result = _this._grid_position$_$v; + if (_$result == null) { + t1 = _this.get$_grid_position$_$this()._h; + if (t1 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s12_, "h")); + t2 = _this.get$_grid_position$_$this()._v; + if (t2 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s12_, "v")); + _$result = new D._$GridPosition(t1, t2); + } + return _this._grid_position$_$v = _$result; + } + }; + D._GridPosition_Object_BuiltJsonSerializable.prototype = {}; + O.HelixGroup.prototype = { + get$helices_view_order_inverse: function() { + var t1 = type$.legacy_int; + return A.BuiltMap_BuiltMap$of(E.invert_helices_view_order(this.helices_view_order), t1, t1); + }, + transform_str$1: function(geometry) { + var translate_svg = this.position.$mul(0, geometry.get$nm_to_svg_pixels()); + return "translate(" + H.S(translate_svg.z) + ", " + H.S(translate_svg.y) + ") rotate(" + H.S(this.pitch) + ")"; + }, + translation$1: function(geometry) { + var translate_svg = this.position.$mul(0, geometry.get$nm_to_svg_pixels()); + return new P.Point(translate_svg.z, translate_svg.y, type$.Point_legacy_num); + }, + transform_point_main_view$3$inverse: function(point, geometry, inverse) { + var t1, translation; + type$.legacy_Point_legacy_num._as(point); + t1 = this.position; + translation = new P.Point(t1.z, t1.y, type$.Point_legacy_num).$mul(0, geometry.get$nm_to_svg_pixels()); + t1 = this.pitch; + if (!inverse) + return E.rotate(point, t1, C.Point_0_0).$add(0, translation); + else + return E.rotate(point.$sub(0, translation), -t1, C.Point_0_0); + }, + transform_point_main_view$2: function(point, geometry) { + return this.transform_point_main_view$3$inverse(point, geometry, false); + } + }; + O.HelixGroup_HelixGroup_closure.prototype = { + call$1: function(b) { + var t1, t2, _this = this; + b.get$_group$_$this()._group$_grid = _this.grid; + b.get$helices_view_order().replace$1(0, _this.helices_view_order); + t1 = b.get$position(b); + t2 = _this._box_0.position; + if (t2 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + t1._position3d$_$v = t2; + b.get$_group$_$this()._pitch = _this.pitch; + b.get$_group$_$this()._yaw = _this.yaw; + b.get$_group$_$this()._group$_roll = _this.roll; + return b; + }, + $signature: 26 + }; + O._$HelixGroupSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + type$.legacy_HelixGroup._as(object); + return H.setRuntimeTypeInfo(["grid", serializers.serialize$2$specifiedType(object.grid, C.FullType_yXb), "helices_view_order", serializers.serialize$2$specifiedType(object.helices_view_order, C.FullType_4QF0), "position", serializers.serialize$2$specifiedType(object.position, C.FullType_cgM), "pitch", serializers.serialize$2$specifiedType(object.pitch, C.FullType_MME), "yaw", serializers.serialize$2$specifiedType(object.yaw, C.FullType_MME), "roll", serializers.serialize$2$specifiedType(object.roll, C.FullType_MME)], type$.JSArray_legacy_Object); + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + var result, iterator, t1, t2, t3, t4, t5, t6, key, value, t7, t8, t9, t10, t11; + type$.legacy_Iterable_legacy_Object._as(serialized); + result = new O.HelixGroupBuilder(); + O.HelixGroup__initializeBuilder(result); + iterator = J.get$iterator$ax(serialized); + for (t1 = type$.legacy_Position3D, t2 = type$.legacy_BuiltList_legacy_Object, t3 = type$.legacy_int, t4 = type$.List_legacy_int, t5 = type$.ListBuilder_legacy_int, t6 = type$.legacy_Grid; iterator.moveNext$0();) { + key = H._asStringS(iterator.get$current(iterator)); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (key) { + case "grid": + t7 = t6._as(serializers.deserialize$2$specifiedType(value, C.FullType_yXb)); + result.get$_group$_$this()._group$_grid = t7; + break; + case "helices_view_order": + t7 = result.get$_group$_$this(); + t8 = t7._group$_helices_view_order; + if (t8 == null) { + t8 = new D.ListBuilder(t5); + t8.set$__ListBuilder__list(t4._as(P.List_List$from(C.List_empty, true, t3))); + t8.set$_listOwner(null); + t7.set$_group$_helices_view_order(t8); + t7 = t8; + } else + t7 = t8; + t8 = t2._as(serializers.deserialize$2$specifiedType(value, C.FullType_4QF0)); + t9 = t7.$ti; + t10 = t9._eval$1("_BuiltList<1>"); + t11 = t9._eval$1("List<1>"); + if (t10._is(t8)) { + t10._as(t8); + t7.set$__ListBuilder__list(t11._as(t8._list)); + t7.set$_listOwner(t8); + } else { + t7.set$__ListBuilder__list(t11._as(P.List_List$from(t8, true, t9._precomputed1))); + t7.set$_listOwner(null); + } + break; + case "position": + t7 = result.get$_group$_$this(); + t8 = t7._group$_position; + t7 = t8 == null ? t7._group$_position = new X.Position3DBuilder() : t8; + t8 = t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_cgM)); + if (t8 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + t7._position3d$_$v = t8; + break; + case "pitch": + t7 = H._asDoubleS(serializers.deserialize$2$specifiedType(value, C.FullType_MME)); + result.get$_group$_$this()._pitch = t7; + break; + case "yaw": + t7 = H._asDoubleS(serializers.deserialize$2$specifiedType(value, C.FullType_MME)); + result.get$_group$_$this()._yaw = t7; + break; + case "roll": + t7 = H._asDoubleS(serializers.deserialize$2$specifiedType(value, C.FullType_MME)); + result.get$_group$_$this()._group$_roll = t7; + break; + } + } + return result.build$0(); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_n7k; + }, + get$wireName: function() { + return "HelixGroup"; + } + }; + O._$HelixGroup.prototype = { + get$helices_view_order_inverse: function() { + var t1 = this.__helices_view_order_inverse; + if (t1 == null) { + t1 = O.HelixGroup.prototype.get$helices_view_order_inverse.call(this); + this.set$__helices_view_order_inverse(t1); + } + return t1; + }, + rebuild$1: function(updates) { + var t1; + type$.legacy_void_Function_legacy_HelixGroupBuilder._as(updates); + t1 = new O.HelixGroupBuilder(); + O.HelixGroup__initializeBuilder(t1); + t1._group$_$v = this; + updates.call$1(t1); + return t1.build$0(); + }, + $eq: function(_, other) { + var _this = this; + if (other == null) + return false; + if (other === _this) + return true; + return other instanceof O.HelixGroup && _this.grid === other.grid && J.$eq$(_this.helices_view_order, other.helices_view_order) && _this.position.$eq(0, other.position) && _this.pitch === other.pitch && _this.yaw === other.yaw && _this.roll === other.roll; + }, + get$hashCode: function(_) { + var _this = this, + t1 = _this._group$__hashCode; + if (t1 == null) { + t1 = _this.position; + t1 = _this._group$__hashCode = Y.$jf(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(0, H.Primitives_objectHashCode(_this.grid)), J.get$hashCode$(_this.helices_view_order)), t1.get$hashCode(t1)), C.JSNumber_methods.get$hashCode(_this.pitch)), C.JSNumber_methods.get$hashCode(_this.yaw)), C.JSNumber_methods.get$hashCode(_this.roll))); + } + return t1; + }, + toString$0: function(_) { + var _this = this, + t1 = $.$get$newBuiltValueToStringHelper().call$1("HelixGroup"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "grid", _this.grid); + t2.add$2(t1, "helices_view_order", _this.helices_view_order); + t2.add$2(t1, "position", _this.position); + t2.add$2(t1, "pitch", _this.pitch); + t2.add$2(t1, "yaw", _this.yaw); + t2.add$2(t1, "roll", _this.roll); + return t2.toString$0(t1); + }, + set$__helices_view_order_inverse: function(__helices_view_order_inverse) { + this.__helices_view_order_inverse = type$.legacy_BuiltMap_of_legacy_int_and_legacy_int._as(__helices_view_order_inverse); + } + }; + O.HelixGroupBuilder.prototype = { + get$helices_view_order: function() { + var t1 = this.get$_group$_$this(), + t2 = t1._group$_helices_view_order; + if (t2 == null) { + t2 = D.ListBuilder_ListBuilder(C.List_empty, type$.legacy_int); + t1.set$_group$_helices_view_order(t2); + t1 = t2; + } else + t1 = t2; + return t1; + }, + get$position: function(_) { + var t1 = this.get$_group$_$this(), + t2 = t1._group$_position; + return t2 == null ? t1._group$_position = new X.Position3DBuilder() : t2; + }, + get$_group$_$this: function() { + var t1, t2, _this = this, + $$v = _this._group$_$v; + if ($$v != null) { + _this._group$_grid = $$v.grid; + t1 = $$v.helices_view_order; + t1.toString; + _this.set$_group$_helices_view_order(D.ListBuilder_ListBuilder(t1, t1.$ti._precomputed1)); + t1 = $$v.position; + t2 = new X.Position3DBuilder(); + t2._position3d$_$v = t1; + _this._group$_position = t2; + _this._pitch = $$v.pitch; + _this._yaw = $$v.yaw; + _this._group$_roll = $$v.roll; + _this._group$_$v = null; + } + return _this; + }, + build$0: function() { + var _$failedField, e, _$result0, t1, t2, t3, t4, t5, t6, exception, _this = this, + _s10_ = "HelixGroup", + _s18_ = "helices_view_order", + _$result = null; + try { + _$result0 = _this._group$_$v; + if (_$result0 == null) { + t1 = _this.get$_group$_$this()._group$_grid; + if (t1 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s10_, "grid")); + t2 = _this.get$helices_view_order().build$0(); + t3 = _this.get$position(_this).build$0(); + t4 = _this.get$_group$_$this()._pitch; + if (t4 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s10_, "pitch")); + t5 = _this.get$_group$_$this()._yaw; + if (t5 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s10_, "yaw")); + t6 = _this.get$_group$_$this()._group$_roll; + if (t6 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s10_, "roll")); + _$result0 = new O._$HelixGroup(t1, t2, t3, t4, t5, t6); + if (t2 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s10_, _s18_)); + } + _$result = _$result0; + } catch (exception) { + H.unwrapException(exception); + _$failedField = null; + try { + _$failedField = _s18_; + _this.get$helices_view_order().build$0(); + _$failedField = "position"; + _this.get$position(_this).build$0(); + } catch (exception) { + e = H.unwrapException(exception); + t1 = Y.BuiltValueNestedFieldError$(_s10_, _$failedField, J.toString$0$(e)); + throw H.wrapException(t1); + } + throw exception; + } + t1 = type$.legacy_HelixGroup._as(_$result); + if (t1 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + _this._group$_$v = t1; + return _$result; + }, + set$_group$_helices_view_order: function(_helices_view_order) { + this._group$_helices_view_order = type$.legacy_ListBuilder_legacy_int._as(_helices_view_order); + } + }; + O._HelixGroup_Object_BuiltJsonSerializable.prototype = {}; + O.Helix.prototype = { + Helix$_$0: function() { + var t1 = this.grid_position == null; + if (t1 && this.position_ == null) + throw H.wrapException(P.ArgumentError$("exactly one of Helix.grid_position and Helix.position should be null, but both are null.")); + if (!t1 && this.position_ != null) + throw H.wrapException(P.ArgumentError$("exactly one of Helix.grid_position and Helix.position should be null, but both are non-null.")); + }, + get$position: function(_) { + var _this = this, + t1 = _this.position_; + return t1 == null ? E.grid_position_to_position3d(_this.grid_position, _this.grid, _this.geometry) : t1; + }, + get$major_tick_distance: function() { + var t1 = this.major_tick_periodic_distances._list, + t2 = J.getInterceptor$asx(t1); + return t2.get$length(t1) !== 1 ? null : t2.get$first(t1); + }, + get$default_position: function() { + var point_zy, t4, t5, _this = this, + t1 = _this.geometry, + t2 = t1.rise_per_base_pair, + t3 = _this.grid; + if (t3 === C.Grid_square) { + t3 = _this.grid_position; + point_zy = new P.Point(t3.h, t3.v, type$.Point_legacy_num); + } else if (t3 === C.Grid_hex) + point_zy = E.hex_grid_position_to_position2d_diameter_1_circles(_this.grid_position); + else if (t3 === C.Grid_honeycomb) + point_zy = E.honeycomb_grid_position_to_position2d_diameter_1_circles(_this.grid_position); + else + throw H.wrapException(P.AssertionError$("should not be accessing default_position if grid_position is not defined")); + t3 = point_zy.y; + t4 = t1.get$distance_between_helices_nm(); + if (typeof t3 !== "number") + return t3.$mul(); + t5 = point_zy.x; + t1 = t1.get$distance_between_helices_nm(); + if (typeof t5 !== "number") + return t5.$mul(); + return X.Position3D_Position3D(t5 * t1, t3 * t4, _this.min_offset * t2); + }, + get$has_grid_position: function() { + return this.grid_position != null; + }, + get$has_position: function() { + return this.position_ != null; + }, + get$position3d: function() { + var _this = this, + t1 = _this.position_; + if (t1 != null) + return t1; + t1 = _this.__default_position; + return t1 == null ? _this.__default_position = O.Helix.prototype.get$default_position.call(_this) : t1; + }, + get$has_default_group: function() { + return this.group === "default_group"; + }, + get$has_default_roll: function() { + return Math.abs(this.roll - 0) < 1e-9; + }, + get$has_default_major_tick_distance: function() { + return this.get$major_tick_distance() == null; + }, + get$has_default_major_tick_start: function() { + return this.major_tick_start === this.min_offset; + }, + get$has_default_major_ticks: function() { + return this.major_ticks == null; + }, + get$has_major_tick_distance: function() { + return !this.get$has_default_major_tick_distance(); + }, + get$has_major_ticks: function() { + return !this.get$has_default_major_ticks(); + }, + get$has_major_tick_periodic_distances: function() { + var t1 = this.major_tick_periodic_distances; + if (t1 != null) { + t1 = J.get$length$asx(t1._list); + if (typeof t1 !== "number") + return t1.$ge(); + t1 = t1 >= 2; + } else + t1 = false; + return t1; + }, + svg_base_pos$3: function(offset, $forward, svg_position_y) { + var t4, y, + t1 = this.geometry, + t2 = t1.get$base_width_svg(), + t3 = t1.get$base_width_svg(); + if (typeof offset !== "number") + return offset.$mul(); + t4 = this.get$svg_height(); + if (typeof svg_position_y !== "number") + return H.iae(svg_position_y); + y = t4 / 4 + svg_position_y; + if (!H.boolConversionCheck($forward)) + y += t1.get$base_height_svg(); + return new P.Point(t2 / 2 + offset * t3, y, type$.Point_legacy_num); + }, + svg_x_to_offset$2: function(x, helix_svg_position_x) { + if (typeof x !== "number") + return x.$sub(); + if (typeof helix_svg_position_x !== "number") + return H.iae(helix_svg_position_x); + return C.JSNumber_methods.floor$0((x - helix_svg_position_x) / this.geometry.get$base_width_svg()) + this.min_offset; + }, + svg_y_is_forward$2: function(y, helix_svg_position_y) { + if (typeof y !== "number") + return y.$sub(); + if (typeof helix_svg_position_y !== "number") + return H.iae(helix_svg_position_y); + return y - helix_svg_position_y < this.geometry.get$base_height_svg(); + }, + get$svg_width: function() { + var _this = this, + t1 = _this.geometry.get$base_width_svg(), + t2 = _this.__num_bases; + return t1 * (t2 == null ? _this.__num_bases = O.Helix.prototype.get$num_bases.call(_this) : t2); + }, + get$svg_height: function() { + return this.geometry.get$base_height_svg() * 2; + }, + get$num_bases: function() { + return this.max_offset - this.min_offset; + }, + get$calculate_major_ticks: function() { + var sorted_ticks, tick, t2, distance_idx, t3, t4, t5, distance, _this = this, + t1 = type$.JSArray_legacy_int, + ticks = H.setRuntimeTypeInfo([], t1); + if (_this.get$has_major_ticks()) { + t1 = _this.major_ticks; + sorted_ticks = new Q.CopyOnWriteList(true, t1._list, H._instanceType(t1)._eval$1("CopyOnWriteList<1>")); + sorted_ticks.sort$0(0); + ticks = sorted_ticks; + } else if (_this.get$has_major_tick_periodic_distances()) { + tick = _this.major_tick_start; + t1 = _this.max_offset; + t2 = _this.major_tick_periodic_distances; + distance_idx = -1; + while (tick <= t1) { + t3 = t2._list; + t4 = J.getInterceptor$asx(t3); + t5 = t4.get$length(t3); + if (typeof t5 !== "number") + return H.iae(t5); + distance_idx = C.JSInt_methods.$mod(distance_idx + 1, t5); + distance = t4.$index(t3, distance_idx); + C.JSArray_methods.add$1(ticks, tick); + if (typeof distance !== "number") + return H.iae(distance); + tick += distance; + } + } else { + if (_this.get$major_tick_distance() != null) { + t2 = _this.get$major_tick_distance(); + if (typeof t2 !== "number") + return t2.$gt(); + t2 = t2 > 0; + } else + t2 = false; + distance = t2 ? _this.get$major_tick_distance() : _this.grid.get$default_major_tick_distance(); + if (typeof distance !== "number") + return distance.$gt(); + if (distance > 0) { + t1 = H.setRuntimeTypeInfo([], t1); + for (tick = _this.major_tick_start, t2 = _this.max_offset; tick <= t2; tick += distance) + t1.push(tick); + ticks = t1; + } + } + return D._BuiltList$of(ticks, type$.legacy_int); + }, + backbone_angle_at_offset$2: function(offset, $forward) { + var angle, + t1 = this.geometry, + t2 = t1.bases_per_turn; + if (typeof offset !== "number") + return offset.$mul(); + angle = this.roll + offset * (360 / t2); + return C.JSNumber_methods.$mod(!H.boolConversionCheck($forward) ? angle + t1.minor_groove_angle : angle, 360); + }, + relax_roll$2: function(helices, crossover_addresses) { + return this.rebuild$1(new O.Helix_relax_roll_closure(this, this.compute_relaxed_roll_delta$2(type$.legacy_BuiltMap_of_legacy_int_and_legacy_Helix._as(helices), type$.legacy_BuiltList_legacy_Address._as(crossover_addresses)))); + }, + compute_relaxed_roll_delta$2: function(helices, crossover_addresses) { + var angles, t1, t2, t3, t4, p1, t5, t6, t7, t8, other_helix, p10, p2, angle, _this = this; + type$.legacy_BuiltMap_of_legacy_int_and_legacy_Helix._as(helices); + type$.legacy_BuiltList_legacy_Address._as(crossover_addresses); + angles = H.setRuntimeTypeInfo([], type$.JSArray_legacy_Tuple2_of_legacy_double_and_legacy_double); + for (t1 = J.get$iterator$ax(crossover_addresses._list), t2 = type$.Tuple2_of_legacy_double_and_legacy_double, t3 = helices._map$_map, t4 = J.getInterceptor$asx(t3), p1 = _this.position_, t5 = _this.grid_position, t6 = _this.grid, t7 = _this.geometry; t1.moveNext$0();) { + t8 = t1.get$current(t1); + other_helix = t4.$index(t3, t8.helix_idx); + p10 = p1 == null ? E.grid_position_to_position3d(t5, t6, t7) : p1; + p2 = other_helix.position_; + if (p2 == null) + p2 = E.grid_position_to_position3d(other_helix.grid_position, other_helix.grid, other_helix.geometry); + angle = C.JSNumber_methods.$mod(-(Math.atan2(-(p2.y - p10.y), p2.x - p10.x) * 180 / 3.141592653589793) + 90, 360); + C.JSArray_methods.add$1(angles, new S.Tuple2(_this.backbone_angle_at_offset$2(t8.offset, t8.forward), angle, t2)); + } + return E.minimum_strain_angle(angles); + } + }; + O.Helix_Helix_closure.prototype = { + call$1: function(b) { + var t1, t2, t3, _this = this; + b.get$_helix$_$this()._idx = _this.idx; + t1 = _this._box_0; + t2 = t1.geometry; + if (t2 == null) + t2 = null; + else { + t3 = new N.GeometryBuilder(); + t3._geometry$_$v = t2; + t2 = t3; + } + b.get$_helix$_$this()._helix$_geometry = t2; + b.get$_helix$_$this()._group = _this.group; + t2 = t1.grid; + b.get$_helix$_$this()._grid = t2; + t2 = t1.grid_position; + if (t2 == null) + t2 = null; + else { + t3 = new D.GridPositionBuilder(); + t3._grid_position$_$v = t2; + t2 = t3; + } + b.get$_helix$_$this()._grid_position = t2; + t2 = _this.position; + if (t2 == null) + t2 = null; + else { + t3 = new X.Position3DBuilder(); + t3._position3d$_$v = t2; + t2 = t3; + } + b.get$_helix$_$this()._position_ = t2; + b.get$_helix$_$this()._roll = _this.roll; + b.get$_helix$_$this()._min_offset = _this.min_offset; + b.get$_helix$_$this()._max_offset = _this.max_offset; + t2 = t1.major_tick_start; + b.get$_helix$_$this()._major_tick_start = t2; + b.get$major_tick_periodic_distances().replace$1(0, t1.major_tick_periodic_distances); + t1 = type$.dynamic; + b.get$unused_fields().replace$1(0, P.LinkedHashMap_LinkedHashMap$_empty(t1, t1)); + return b; + }, + $signature: 9 + }; + O.Helix_relax_roll_closure.prototype = { + call$1: function(b) { + b.get$_helix$_$this()._roll = this.$this.roll + this.roll_delta; + return b; + }, + $signature: 9 + }; + O._$HelixSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + var result, value; + type$.legacy_Helix._as(object); + result = H.setRuntimeTypeInfo(["idx", serializers.serialize$2$specifiedType(object.idx, C.FullType_kjq), "grid", serializers.serialize$2$specifiedType(object.grid, C.FullType_yXb), "geometry", serializers.serialize$2$specifiedType(object.geometry, C.FullType_qNW), "group", serializers.serialize$2$specifiedType(object.group, C.FullType_h8g), "roll", serializers.serialize$2$specifiedType(object.roll, C.FullType_MME), "max_offset", serializers.serialize$2$specifiedType(object.max_offset, C.FullType_kjq), "min_offset", serializers.serialize$2$specifiedType(object.min_offset, C.FullType_kjq), "major_tick_start", serializers.serialize$2$specifiedType(object.major_tick_start, C.FullType_kjq), "major_tick_periodic_distances", serializers.serialize$2$specifiedType(object.major_tick_periodic_distances, C.FullType_4QF0)], type$.JSArray_legacy_Object); + value = object.grid_position; + if (value != null) { + C.JSArray_methods.add$1(result, "grid_position"); + C.JSArray_methods.add$1(result, serializers.serialize$2$specifiedType(value, C.FullType_q96)); + } + value = object.position_; + if (value != null) { + C.JSArray_methods.add$1(result, "position_"); + C.JSArray_methods.add$1(result, serializers.serialize$2$specifiedType(value, C.FullType_cgM)); + } + value = object.major_ticks; + if (value != null) { + C.JSArray_methods.add$1(result, "major_ticks"); + C.JSArray_methods.add$1(result, serializers.serialize$2$specifiedType(value, C.FullType_4QF0)); + } + return result; + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + var result, iterator, t1, t2, t3, t4, t5, t6, t7, t8, key, value, t9, t10, t11, t12, t13, _null = null, _s5_ = "other"; + type$.legacy_Iterable_legacy_Object._as(serialized); + result = new O.HelixBuilder(); + result.get$_helix$_$this()._group = "default_group"; + result.get$_helix$_$this()._min_offset = 0; + result.get$_helix$_$this()._roll = 0; + iterator = J.get$iterator$ax(serialized); + for (t1 = type$.legacy_BuiltList_legacy_Object, t2 = type$.legacy_int, t3 = type$.List_legacy_int, t4 = type$.ListBuilder_legacy_int, t5 = type$.legacy_Position3D, t6 = type$.legacy_GridPosition, t7 = type$.legacy_Geometry, t8 = type$.legacy_Grid; iterator.moveNext$0();) { + key = H._asStringS(iterator.get$current(iterator)); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (key) { + case "idx": + t9 = H._asIntS(serializers.deserialize$2$specifiedType(value, C.FullType_kjq)); + result.get$_helix$_$this()._idx = t9; + break; + case "grid": + t9 = t8._as(serializers.deserialize$2$specifiedType(value, C.FullType_yXb)); + result.get$_helix$_$this()._grid = t9; + break; + case "geometry": + t9 = result.get$_helix$_$this(); + t10 = t9._helix$_geometry; + t9 = t10 == null ? t9._helix$_geometry = new N.GeometryBuilder() : t10; + t10 = t7._as(serializers.deserialize$2$specifiedType(value, C.FullType_qNW)); + if (t10 == null) + H.throwExpression(P.ArgumentError$notNull(_s5_)); + t9._geometry$_$v = t10; + break; + case "group": + t9 = H._asStringS(serializers.deserialize$2$specifiedType(value, C.FullType_h8g)); + result.get$_helix$_$this()._group = t9; + break; + case "grid_position": + t9 = result.get$_helix$_$this(); + t10 = t9._grid_position; + t9 = t10 == null ? t9._grid_position = new D.GridPositionBuilder() : t10; + t10 = t6._as(serializers.deserialize$2$specifiedType(value, C.FullType_q96)); + if (t10 == null) + H.throwExpression(P.ArgumentError$notNull(_s5_)); + t9._grid_position$_$v = t10; + break; + case "position_": + t9 = result.get$_helix$_$this(); + t10 = t9._position_; + t9 = t10 == null ? t9._position_ = new X.Position3DBuilder() : t10; + t10 = t5._as(serializers.deserialize$2$specifiedType(value, C.FullType_cgM)); + if (t10 == null) + H.throwExpression(P.ArgumentError$notNull(_s5_)); + t9._position3d$_$v = t10; + break; + case "roll": + t9 = H._asDoubleS(serializers.deserialize$2$specifiedType(value, C.FullType_MME)); + result.get$_helix$_$this()._roll = t9; + break; + case "max_offset": + t9 = H._asIntS(serializers.deserialize$2$specifiedType(value, C.FullType_kjq)); + result.get$_helix$_$this()._max_offset = t9; + break; + case "min_offset": + t9 = H._asIntS(serializers.deserialize$2$specifiedType(value, C.FullType_kjq)); + result.get$_helix$_$this()._min_offset = t9; + break; + case "major_tick_start": + t9 = H._asIntS(serializers.deserialize$2$specifiedType(value, C.FullType_kjq)); + result.get$_helix$_$this()._major_tick_start = t9; + break; + case "major_tick_periodic_distances": + t9 = result.get$_helix$_$this(); + t10 = t9._major_tick_periodic_distances; + if (t10 == null) { + t10 = new D.ListBuilder(t4); + t10.set$__ListBuilder__list(t3._as(P.List_List$from(C.List_empty, true, t2))); + t10.set$_listOwner(_null); + t9.set$_major_tick_periodic_distances(t10); + t9 = t10; + } else + t9 = t10; + t10 = t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_4QF0)); + t11 = t9.$ti; + t12 = t11._eval$1("_BuiltList<1>"); + t13 = t11._eval$1("List<1>"); + if (t12._is(t10)) { + t12._as(t10); + t9.set$__ListBuilder__list(t13._as(t10._list)); + t9.set$_listOwner(t10); + } else { + t9.set$__ListBuilder__list(t13._as(P.List_List$from(t10, true, t11._precomputed1))); + t9.set$_listOwner(_null); + } + break; + case "major_ticks": + t9 = result.get$_helix$_$this(); + t10 = t9._major_ticks; + if (t10 == null) { + t10 = new D.ListBuilder(t4); + t10.set$__ListBuilder__list(t3._as(P.List_List$from(C.List_empty, true, t2))); + t10.set$_listOwner(_null); + t9.set$_major_ticks(t10); + t9 = t10; + } else + t9 = t10; + t10 = t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_4QF0)); + t11 = t9.$ti; + t12 = t11._eval$1("_BuiltList<1>"); + t13 = t11._eval$1("List<1>"); + if (t12._is(t10)) { + t12._as(t10); + t9.set$__ListBuilder__list(t13._as(t10._list)); + t9.set$_listOwner(t10); + } else { + t9.set$__ListBuilder__list(t13._as(P.List_List$from(t10, true, t11._precomputed1))); + t9.set$_listOwner(_null); + } + break; + } + } + return result.build$0(); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_uHJ; + }, + get$wireName: function() { + return "Helix"; + } + }; + O._$Helix.prototype = { + get$position3d: function() { + var t1 = this.__position3d; + return t1 == null ? this.__position3d = O.Helix.prototype.get$position3d.call(this) : t1; + }, + get$has_default_major_tick_distance: function() { + var t1 = this.__has_default_major_tick_distance; + return t1 == null ? this.__has_default_major_tick_distance = O.Helix.prototype.get$has_default_major_tick_distance.call(this) : t1; + }, + get$has_default_major_ticks: function() { + var t1 = this.__has_default_major_ticks; + return t1 == null ? this.__has_default_major_ticks = O.Helix.prototype.get$has_default_major_ticks.call(this) : t1; + }, + get$has_major_tick_distance: function() { + var t1 = this.__has_major_tick_distance; + return t1 == null ? this.__has_major_tick_distance = O.Helix.prototype.get$has_major_tick_distance.call(this) : t1; + }, + get$has_major_ticks: function() { + var t1 = this.__has_major_ticks; + return t1 == null ? this.__has_major_ticks = O.Helix.prototype.get$has_major_ticks.call(this) : t1; + }, + get$has_major_tick_periodic_distances: function() { + var t1 = this.__has_major_tick_periodic_distances; + return t1 == null ? this.__has_major_tick_periodic_distances = O.Helix.prototype.get$has_major_tick_periodic_distances.call(this) : t1; + }, + get$svg_width: function() { + var t1 = this.__svg_width; + return t1 == null ? this.__svg_width = O.Helix.prototype.get$svg_width.call(this) : t1; + }, + get$svg_height: function() { + var t1 = this.__svg_height; + return t1 == null ? this.__svg_height = O.Helix.prototype.get$svg_height.call(this) : t1; + }, + get$calculate_major_ticks: function() { + var t1 = this.__calculate_major_ticks; + if (t1 == null) { + t1 = O.Helix.prototype.get$calculate_major_ticks.call(this); + this.set$__calculate_major_ticks(t1); + } + return t1; + }, + rebuild$1: function(updates) { + var t1; + type$.legacy_void_Function_legacy_HelixBuilder._as(updates); + t1 = new O.HelixBuilder(); + t1.get$_helix$_$this()._group = "default_group"; + t1.get$_helix$_$this()._min_offset = 0; + t1.get$_helix$_$this()._roll = 0; + t1._helix$_$v = this; + updates.call$1(t1); + return t1.build$0(); + }, + $eq: function(_, other) { + var _this = this; + if (other == null) + return false; + if (other === _this) + return true; + return other instanceof O.Helix && _this.idx === other.idx && _this.grid === other.grid && J.$eq$(_this.geometry, other.geometry) && _this.group === other.group && J.$eq$(_this.grid_position, other.grid_position) && J.$eq$(_this.position_, other.position_) && _this.roll === other.roll && _this.max_offset === other.max_offset && _this.min_offset === other.min_offset && _this.major_tick_start === other.major_tick_start && J.$eq$(_this.major_tick_periodic_distances, other.major_tick_periodic_distances) && J.$eq$(_this.major_ticks, other.major_ticks) && J.$eq$(_this.unused_fields, other.unused_fields); + }, + get$hashCode: function(_) { + var _this = this, + t1 = _this._helix$__hashCode; + return t1 == null ? _this._helix$__hashCode = Y.$jf(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(0, C.JSInt_methods.get$hashCode(_this.idx)), H.Primitives_objectHashCode(_this.grid)), J.get$hashCode$(_this.geometry)), C.JSString_methods.get$hashCode(_this.group)), J.get$hashCode$(_this.grid_position)), J.get$hashCode$(_this.position_)), C.JSNumber_methods.get$hashCode(_this.roll)), C.JSInt_methods.get$hashCode(_this.max_offset)), C.JSInt_methods.get$hashCode(_this.min_offset)), C.JSInt_methods.get$hashCode(_this.major_tick_start)), J.get$hashCode$(_this.major_tick_periodic_distances)), J.get$hashCode$(_this.major_ticks)), J.get$hashCode$(_this.unused_fields))) : t1; + }, + toString$0: function(_) { + var _this = this, + t1 = $.$get$newBuiltValueToStringHelper().call$1("Helix"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "idx", _this.idx); + t2.add$2(t1, "grid", _this.grid); + t2.add$2(t1, "geometry", _this.geometry); + t2.add$2(t1, "group", _this.group); + t2.add$2(t1, "grid_position", _this.grid_position); + t2.add$2(t1, "position_", _this.position_); + t2.add$2(t1, "roll", _this.roll); + t2.add$2(t1, "max_offset", _this.max_offset); + t2.add$2(t1, "min_offset", _this.min_offset); + t2.add$2(t1, "major_tick_start", _this.major_tick_start); + t2.add$2(t1, "major_tick_periodic_distances", _this.major_tick_periodic_distances); + t2.add$2(t1, "major_ticks", _this.major_ticks); + t2.add$2(t1, "unused_fields", _this.unused_fields); + return t2.toString$0(t1); + }, + set$__calculate_major_ticks: function(__calculate_major_ticks) { + this.__calculate_major_ticks = type$.legacy_BuiltList_legacy_int._as(__calculate_major_ticks); + } + }; + O.HelixBuilder.prototype = { + get$idx: function() { + return this.get$_helix$_$this()._idx; + }, + get$geometry: function(_) { + var t1 = this.get$_helix$_$this(), + t2 = t1._helix$_geometry; + return t2 == null ? t1._helix$_geometry = new N.GeometryBuilder() : t2; + }, + get$group: function() { + return this.get$_helix$_$this()._group; + }, + get$grid_position: function() { + var t1 = this.get$_helix$_$this(), + t2 = t1._grid_position; + return t2 == null ? t1._grid_position = new D.GridPositionBuilder() : t2; + }, + get$position_: function() { + var t1 = this.get$_helix$_$this(), + t2 = t1._position_; + return t2 == null ? t1._position_ = new X.Position3DBuilder() : t2; + }, + get$major_tick_periodic_distances: function() { + var t1 = this.get$_helix$_$this(), + t2 = t1._major_tick_periodic_distances; + if (t2 == null) { + t2 = D.ListBuilder_ListBuilder(C.List_empty, type$.legacy_int); + t1.set$_major_tick_periodic_distances(t2); + t1 = t2; + } else + t1 = t2; + return t1; + }, + get$major_ticks: function() { + var t1 = this.get$_helix$_$this(), + t2 = t1._major_ticks; + if (t2 == null) { + t2 = D.ListBuilder_ListBuilder(C.List_empty, type$.legacy_int); + t1.set$_major_ticks(t2); + t1 = t2; + } else + t1 = t2; + return t1; + }, + get$unused_fields: function() { + var t1 = this.get$_helix$_$this(), + t2 = t1._helix$_unused_fields; + if (t2 == null) { + t2 = A.MapBuilder_MapBuilder(C.Map_empty, type$.legacy_String, type$.legacy_Object); + t1.set$_helix$_unused_fields(t2); + t1 = t2; + } else + t1 = t2; + return t1; + }, + get$_helix$_$this: function() { + var t1, t2, _this = this, + $$v = _this._helix$_$v; + if ($$v != null) { + _this._idx = $$v.idx; + _this._grid = $$v.grid; + t1 = $$v.geometry; + t1.toString; + t2 = new N.GeometryBuilder(); + t2._geometry$_$v = t1; + _this._helix$_geometry = t2; + _this._group = $$v.group; + t1 = $$v.grid_position; + if (t1 == null) + t1 = null; + else { + t2 = new D.GridPositionBuilder(); + t2._grid_position$_$v = t1; + t1 = t2; + } + _this._grid_position = t1; + t1 = $$v.position_; + if (t1 == null) + t1 = null; + else { + t2 = new X.Position3DBuilder(); + t2._position3d$_$v = t1; + t1 = t2; + } + _this._position_ = t1; + _this._roll = $$v.roll; + _this._max_offset = $$v.max_offset; + _this._min_offset = $$v.min_offset; + _this._major_tick_start = $$v.major_tick_start; + t1 = $$v.major_tick_periodic_distances; + t1.toString; + _this.set$_major_tick_periodic_distances(D.ListBuilder_ListBuilder(t1, t1.$ti._precomputed1)); + t1 = $$v.major_ticks; + _this.set$_major_ticks(t1 == null ? null : D.ListBuilder_ListBuilder(t1, t1.$ti._precomputed1)); + t1 = $$v.unused_fields; + t1.toString; + t2 = t1.$ti; + t2._eval$1("_BuiltMap<1,2>")._as(t1); + _this.set$_helix$_unused_fields(new A.MapBuilder(t1._mapFactory, t1._map$_map, t1, t2._eval$1("@<1>")._bind$1(t2._rest[1])._eval$1("MapBuilder<1,2>"))); + _this._helix$_$v = null; + } + return _this; + }, + build$0: function() { + var _$failedField, e, _$result0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, exception, _this = this, _s5_ = "Helix", + _s29_ = "major_tick_periodic_distances", + _$result = null; + try { + _$result0 = _this._helix$_$v; + if (_$result0 == null) { + t1 = _this.get$_helix$_$this()._idx; + if (t1 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s5_, "idx")); + t2 = _this.get$_helix$_$this()._grid; + if (t2 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s5_, "grid")); + t3 = _this.get$geometry(_this).build$0(); + t4 = _this.get$_helix$_$this()._group; + if (t4 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s5_, "group")); + t5 = _this._grid_position; + t5 = t5 == null ? null : t5.build$0(); + t6 = _this._position_; + t6 = t6 == null ? null : t6.build$0(); + t7 = _this.get$_helix$_$this()._roll; + if (t7 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s5_, "roll")); + t8 = _this.get$_helix$_$this()._max_offset; + if (t8 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s5_, "max_offset")); + t9 = _this.get$_helix$_$this()._min_offset; + if (t9 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s5_, "min_offset")); + t10 = _this.get$_helix$_$this()._major_tick_start; + if (t10 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s5_, "major_tick_start")); + t11 = _this.get$major_tick_periodic_distances().build$0(); + t12 = _this._major_ticks; + t12 = t12 == null ? null : t12.build$0(); + t13 = _this.get$unused_fields().build$0(); + _$result0 = new O._$Helix(t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13); + _$result0.Helix$_$0(); + if (t3 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s5_, "geometry")); + if (t11 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s5_, _s29_)); + if (t13 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s5_, "unused_fields")); + } + _$result = _$result0; + } catch (exception) { + H.unwrapException(exception); + _$failedField = null; + try { + _$failedField = "geometry"; + _this.get$geometry(_this).build$0(); + _$failedField = "grid_position"; + t1 = _this._grid_position; + if (t1 != null) + t1.build$0(); + _$failedField = "position_"; + t1 = _this._position_; + if (t1 != null) + t1.build$0(); + _$failedField = _s29_; + _this.get$major_tick_periodic_distances().build$0(); + _$failedField = "major_ticks"; + t1 = _this._major_ticks; + if (t1 != null) + t1.build$0(); + _$failedField = "unused_fields"; + _this.get$unused_fields().build$0(); + } catch (exception) { + e = H.unwrapException(exception); + t1 = Y.BuiltValueNestedFieldError$(_s5_, _$failedField, J.toString$0$(e)); + throw H.wrapException(t1); + } + throw exception; + } + t1 = type$.legacy_Helix._as(_$result); + if (t1 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + _this._helix$_$v = t1; + return _$result; + }, + set$_major_tick_periodic_distances: function(_major_tick_periodic_distances) { + this._major_tick_periodic_distances = type$.legacy_ListBuilder_legacy_int._as(_major_tick_periodic_distances); + }, + set$_major_ticks: function(_major_ticks) { + this._major_ticks = type$.legacy_ListBuilder_legacy_int._as(_major_ticks); + }, + set$_helix$_unused_fields: function(_unused_fields) { + this._helix$_unused_fields = type$.legacy_MapBuilder_of_legacy_String_and_legacy_Object._as(_unused_fields); + } + }; + O._Helix_Object_BuiltJsonSerializable.prototype = {}; + O._Helix_Object_BuiltJsonSerializable_UnusedFields.prototype = {}; + G.HelixGroupMove.prototype = { + get$current_position: function() { + var _this = this, + nm_translation = _this.get$delta().$mul(0, _this.get$geometry(_this).get$svg_pixels_to_nm()), + t1 = _this.group.position, + t2 = type$.legacy_void_Function_legacy_Position3DBuilder._as(new G.HelixGroupMove_current_position_closure(_this, nm_translation)), + t3 = new X.Position3DBuilder(); + t3._position3d$_$v = t1; + t2.call$1(t3); + return t3.build$0(); + }, + get$delta: function() { + return this.current_mouse_point.$sub(0, this.original_mouse_point); + }, + get$is_nontrivial: function() { + return !(this.get$delta().x === 0 && this.get$delta().y === 0); + }, + get$helix_idxs_in_group: function() { + var t2, + t1 = H.setRuntimeTypeInfo([], type$.JSArray_legacy_int); + for (t2 = this.helices, t2 = J.get$iterator$ax(t2.get$values(t2)); t2.moveNext$0();) + t1.push(t2.get$current(t2).idx); + return D._BuiltList$of(t1, type$.legacy_int); + }, + get$geometry: function(_) { + var t1 = this.helices; + return J.get$isNotEmpty$asx(t1._map$_map) ? J.get$first$ax(t1.get$values(t1)).geometry : null; + } + }; + G.HelixGroupMove_HelixGroupMove_closure.prototype = { + call$1: function(b) { + var t1, t2, _this = this; + b.get$_helix_group_move$_$this()._helix_group_move$_group_name = _this.group_name; + t1 = b.get$group(); + t2 = _this.group; + if (t2 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + t1._group$_$v = t2; + b.get$helices().replace$1(0, _this.helices); + t1 = type$.legacy_Point_legacy_num._as(_this.original_mouse_point); + b.get$_helix_group_move$_$this().set$_original_mouse_point(t1); + b.get$_helix_group_move$_$this().set$_current_mouse_point(t1); + return b; + }, + $signature: 120 + }; + G.HelixGroupMove_current_position_closure.prototype = { + call$1: function(b) { + var t1 = this.$this.group.position, + t2 = this.nm_translation, + t3 = t2.x; + if (typeof t3 !== "number") + return H.iae(t3); + b.get$_position3d$_$this()._z = t1.z + t3; + t2 = t2.y; + if (typeof t2 !== "number") + return H.iae(t2); + b.get$_position3d$_$this()._y = t1.y + t2; + return b; + }, + $signature: 131 + }; + G._$HelixGroupMoveSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + type$.legacy_HelixGroupMove._as(object); + return H.setRuntimeTypeInfo(["group_name", serializers.serialize$2$specifiedType(object.group_name, C.FullType_h8g), "group", serializers.serialize$2$specifiedType(object.group, C.FullType_yfz), "helices", serializers.serialize$2$specifiedType(object.helices, C.FullType_Qc0), "original_mouse_point", serializers.serialize$2$specifiedType(object.original_mouse_point, C.FullType_8eb), "current_mouse_point", serializers.serialize$2$specifiedType(object.current_mouse_point, C.FullType_8eb)], type$.JSArray_legacy_Object); + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + var t1, t2, t3, t4, t5, t6, t7, key, value, t8, t9, t10, t11, + result = new G.HelixGroupMoveBuilder(), + iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + for (t1 = type$.legacy_Point_legacy_num, t2 = type$.MapBuilder_of_legacy_int_and_legacy_Helix, t3 = type$.legacy_HelixGroup, t4 = type$.legacy_ListBuilder_legacy_int, t5 = type$.legacy_int, t6 = type$.List_legacy_int, t7 = type$.ListBuilder_legacy_int; iterator.moveNext$0();) { + key = H._asStringS(iterator.get$current(iterator)); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (key) { + case "group_name": + t8 = H._asStringS(serializers.deserialize$2$specifiedType(value, C.FullType_h8g)); + result.get$_helix_group_move$_$this()._helix_group_move$_group_name = t8; + break; + case "group": + t8 = result.get$_helix_group_move$_$this(); + t9 = t8._helix_group_move$_group; + if (t9 == null) { + t9 = new O.HelixGroupBuilder(); + t9.get$_group$_$this()._group$_grid = C.Grid_none; + t10 = $.$get$Position3D_origin(); + t10.toString; + t11 = new X.Position3DBuilder(); + t11._position3d$_$v = t10; + t9.get$_group$_$this()._group$_position = t11; + t9.get$_group$_$this()._pitch = 0; + t9.get$_group$_$this()._yaw = 0; + t9.get$_group$_$this()._group$_roll = 0; + t10 = new D.ListBuilder(t7); + t10.set$__ListBuilder__list(t6._as(P.List_List$from(C.List_empty, true, t5))); + t10.set$_listOwner(null); + t4._as(t10); + t9.get$_group$_$this().set$_group$_helices_view_order(t10); + t8._helix_group_move$_group = t9; + t8 = t9; + } else + t8 = t9; + t9 = t3._as(serializers.deserialize$2$specifiedType(value, C.FullType_yfz)); + if (t9 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + t8._group$_$v = t9; + break; + case "helices": + t8 = result.get$_helix_group_move$_$this(); + t9 = t8._helix_group_move$_helices; + if (t9 == null) { + t9 = new A.MapBuilder(null, $, null, t2); + t9.replace$1(0, C.Map_empty); + t8.set$_helix_group_move$_helices(t9); + t8 = t9; + } else + t8 = t9; + t8.replace$1(0, serializers.deserialize$2$specifiedType(value, C.FullType_Qc0)); + break; + case "original_mouse_point": + t8 = t1._as(t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_8eb))); + result.get$_helix_group_move$_$this().set$_original_mouse_point(t8); + break; + case "current_mouse_point": + t8 = t1._as(t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_8eb))); + result.get$_helix_group_move$_$this().set$_current_mouse_point(t8); + break; + } + } + return result.build$0(); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_sxw; + }, + get$wireName: function() { + return "HelixGroupMove"; + } + }; + G._$HelixGroupMove.prototype = { + get$current_position: function() { + var t1 = this.__current_position; + return t1 == null ? this.__current_position = G.HelixGroupMove.prototype.get$current_position.call(this) : t1; + }, + get$delta: function() { + var t1 = this.__delta; + if (t1 == null) { + t1 = G.HelixGroupMove.prototype.get$delta.call(this); + this.set$__delta(t1); + } + return t1; + }, + get$helix_idxs_in_group: function() { + var t1 = this._helix_group_move$__helix_idxs_in_group; + if (t1 == null) { + t1 = G.HelixGroupMove.prototype.get$helix_idxs_in_group.call(this); + this.set$_helix_group_move$__helix_idxs_in_group(t1); + } + return t1; + }, + get$geometry: function(_) { + var _this = this, + t1 = _this.__geometry; + return t1 == null ? _this.__geometry = G.HelixGroupMove.prototype.get$geometry.call(_this, _this) : t1; + }, + $eq: function(_, other) { + var _this = this; + if (other == null) + return false; + if (other === _this) + return true; + return other instanceof G.HelixGroupMove && _this.group_name === other.group_name && J.$eq$(_this.group, other.group) && J.$eq$(_this.helices, other.helices) && _this.original_mouse_point.$eq(0, other.original_mouse_point) && _this.current_mouse_point.$eq(0, other.current_mouse_point); + }, + get$hashCode: function(_) { + var t2, _this = this, + t1 = _this._helix_group_move$__hashCode; + if (t1 == null) { + t1 = _this.original_mouse_point; + t2 = _this.current_mouse_point; + t2 = _this._helix_group_move$__hashCode = Y.$jf(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(0, C.JSString_methods.get$hashCode(_this.group_name)), J.get$hashCode$(_this.group)), J.get$hashCode$(_this.helices)), H.SystemHash_hash2(J.get$hashCode$(t1.x), J.get$hashCode$(t1.y))), H.SystemHash_hash2(J.get$hashCode$(t2.x), J.get$hashCode$(t2.y)))); + t1 = t2; + } + return t1; + }, + toString$0: function(_) { + var _this = this, + t1 = $.$get$newBuiltValueToStringHelper().call$1("HelixGroupMove"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "group_name", _this.group_name); + t2.add$2(t1, "group", _this.group); + t2.add$2(t1, "helices", _this.helices); + t2.add$2(t1, "original_mouse_point", _this.original_mouse_point); + t2.add$2(t1, "current_mouse_point", _this.current_mouse_point); + return t2.toString$0(t1); + }, + set$__delta: function(__delta) { + this.__delta = type$.legacy_Point_legacy_num._as(__delta); + }, + set$_helix_group_move$__helix_idxs_in_group: function(__helix_idxs_in_group) { + this._helix_group_move$__helix_idxs_in_group = type$.legacy_BuiltList_legacy_int._as(__helix_idxs_in_group); + } + }; + G.HelixGroupMoveBuilder.prototype = { + get$group: function() { + var t1 = this.get$_helix_group_move$_$this(), + t2 = t1._helix_group_move$_group; + if (t2 == null) { + t2 = new O.HelixGroupBuilder(); + O.HelixGroup__initializeBuilder(t2); + t1._helix_group_move$_group = t2; + t1 = t2; + } else + t1 = t2; + return t1; + }, + get$helices: function() { + var t1 = this.get$_helix_group_move$_$this(), + t2 = t1._helix_group_move$_helices; + if (t2 == null) { + t2 = A.MapBuilder_MapBuilder(C.Map_empty, type$.legacy_int, type$.legacy_Helix); + t1.set$_helix_group_move$_helices(t2); + t1 = t2; + } else + t1 = t2; + return t1; + }, + get$_helix_group_move$_$this: function() { + var t1, t2, _this = this, + $$v = _this._helix_group_move$_$v; + if ($$v != null) { + _this._helix_group_move$_group_name = $$v.group_name; + t1 = $$v.group; + t1.toString; + t2 = new O.HelixGroupBuilder(); + O.HelixGroup__initializeBuilder(t2); + t2._group$_$v = t1; + _this._helix_group_move$_group = t2; + t1 = $$v.helices; + t1.toString; + t2 = t1.$ti; + t2._eval$1("_BuiltMap<1,2>")._as(t1); + _this.set$_helix_group_move$_helices(new A.MapBuilder(t1._mapFactory, t1._map$_map, t1, t2._eval$1("@<1>")._bind$1(t2._rest[1])._eval$1("MapBuilder<1,2>"))); + _this.set$_original_mouse_point($$v.original_mouse_point); + _this.set$_current_mouse_point($$v.current_mouse_point); + _this._helix_group_move$_$v = null; + } + return _this; + }, + build$0: function() { + var _$failedField, e, _$result0, t1, t2, t3, t4, t5, exception, _this = this, + _s14_ = "HelixGroupMove", + _$result = null; + try { + _$result0 = _this._helix_group_move$_$v; + if (_$result0 == null) { + t1 = _this.get$_helix_group_move$_$this()._helix_group_move$_group_name; + if (t1 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s14_, "group_name")); + t2 = _this.get$group().build$0(); + t3 = _this.get$helices().build$0(); + t4 = _this.get$_helix_group_move$_$this()._original_mouse_point; + if (t4 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s14_, "original_mouse_point")); + t5 = _this.get$_helix_group_move$_$this()._current_mouse_point; + if (t5 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s14_, "current_mouse_point")); + _$result0 = new G._$HelixGroupMove(t1, t2, t3, t4, t5); + if (t2 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s14_, "group")); + if (t3 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s14_, "helices")); + } + _$result = _$result0; + } catch (exception) { + H.unwrapException(exception); + _$failedField = null; + try { + _$failedField = "group"; + _this.get$group().build$0(); + _$failedField = "helices"; + _this.get$helices().build$0(); + } catch (exception) { + e = H.unwrapException(exception); + t1 = Y.BuiltValueNestedFieldError$(_s14_, _$failedField, J.toString$0$(e)); + throw H.wrapException(t1); + } + throw exception; + } + t1 = type$.legacy_HelixGroupMove._as(_$result); + if (t1 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + _this._helix_group_move$_$v = t1; + return _$result; + }, + set$_helix_group_move$_helices: function(_helices) { + this._helix_group_move$_helices = type$.legacy_MapBuilder_of_legacy_int_and_legacy_Helix._as(_helices); + }, + set$_original_mouse_point: function(_original_mouse_point) { + this._original_mouse_point = type$.legacy_Point_legacy_num._as(_original_mouse_point); + }, + set$_current_mouse_point: function(_current_mouse_point) { + this._current_mouse_point = type$.legacy_Point_legacy_num._as(_current_mouse_point); + } + }; + G._HelixGroupMove_Object_BuiltJsonSerializable.prototype = {}; + Y.LocalStorageDesignOption.prototype = {}; + Y.LocalStorageDesignChoice.prototype = { + to_on_edit$0: function() { + return this.rebuild$1(new Y.LocalStorageDesignChoice_to_on_edit_closure()); + }, + to_on_exit$0: function() { + return this.rebuild$1(new Y.LocalStorageDesignChoice_to_on_exit_closure()); + }, + to_never$0: function() { + return this.rebuild$1(new Y.LocalStorageDesignChoice_to_never_closure()); + }, + to_periodic$0: function() { + return this.rebuild$1(new Y.LocalStorageDesignChoice_to_periodic_closure()); + }, + change_period$1: function(new_period) { + return this.rebuild$1(new Y.LocalStorageDesignChoice_change_period_closure(new_period)); + } + }; + Y.LocalStorageDesignChoice_LocalStorageDesignChoice_closure.prototype = { + call$1: function(b) { + b.get$_local_storage_design_choice$_$this()._option = this.option; + b.get$_local_storage_design_choice$_$this()._period_seconds = this.period_seconds; + return b; + }, + $signature: 50 + }; + Y.LocalStorageDesignChoice_to_on_edit_closure.prototype = { + call$1: function(b) { + b.get$_local_storage_design_choice$_$this()._option = C.LocalStorageDesignOption_on_edit; + return b; + }, + $signature: 50 + }; + Y.LocalStorageDesignChoice_to_on_exit_closure.prototype = { + call$1: function(b) { + b.get$_local_storage_design_choice$_$this()._option = C.LocalStorageDesignOption_on_exit; + return b; + }, + $signature: 50 + }; + Y.LocalStorageDesignChoice_to_never_closure.prototype = { + call$1: function(b) { + b.get$_local_storage_design_choice$_$this()._option = C.LocalStorageDesignOption_never; + return b; + }, + $signature: 50 + }; + Y.LocalStorageDesignChoice_to_periodic_closure.prototype = { + call$1: function(b) { + b.get$_local_storage_design_choice$_$this()._option = C.LocalStorageDesignOption_periodic; + return b; + }, + $signature: 50 + }; + Y.LocalStorageDesignChoice_change_period_closure.prototype = { + call$1: function(b) { + b.get$_local_storage_design_choice$_$this()._period_seconds = this.new_period; + return b; + }, + $signature: 50 + }; + Y._$LocalStorageDesignOptionSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + return type$.legacy_LocalStorageDesignOption._as(object).name; + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + return Y._$valueOf6(H._asStringS(serialized)); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isPrimitiveSerializer: 1, + get$types: function() { + return C.List_Type_LocalStorageDesignOption_xgQ; + }, + get$wireName: function() { + return "LocalStorageDesignOption"; + } + }; + Y._$LocalStorageDesignChoiceSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + type$.legacy_LocalStorageDesignChoice._as(object); + return H.setRuntimeTypeInfo(["option", serializers.serialize$2$specifiedType(object.option, C.FullType_kOK), "period_seconds", serializers.serialize$2$specifiedType(object.period_seconds, C.FullType_kjq)], type$.JSArray_legacy_Object); + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + var t1, key, value, t2, $$v, + result = new Y.LocalStorageDesignChoiceBuilder(), + iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + for (t1 = type$.legacy_LocalStorageDesignOption; iterator.moveNext$0();) { + key = H._asStringS(iterator.get$current(iterator)); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (key) { + case "option": + t2 = t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_kOK)); + $$v = result._local_storage_design_choice$_$v; + if ($$v != null) { + result._option = $$v.option; + result._period_seconds = $$v.period_seconds; + result._local_storage_design_choice$_$v = null; + } + result._option = t2; + break; + case "period_seconds": + t2 = H._asIntS(serializers.deserialize$2$specifiedType(value, C.FullType_kjq)); + $$v = result._local_storage_design_choice$_$v; + if ($$v != null) { + result._option = $$v.option; + result._period_seconds = $$v.period_seconds; + result._local_storage_design_choice$_$v = null; + } + result._period_seconds = t2; + break; + } + } + return result.build$0(); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_OzL; + }, + get$wireName: function() { + return "LocalStorageDesignChoice"; + } + }; + Y._$LocalStorageDesignChoice.prototype = { + rebuild$1: function(updates) { + var t1; + type$.legacy_void_Function_legacy_LocalStorageDesignChoiceBuilder._as(updates); + t1 = new Y.LocalStorageDesignChoiceBuilder(); + t1._local_storage_design_choice$_$v = this; + updates.call$1(t1); + return t1.build$0(); + }, + $eq: function(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof Y.LocalStorageDesignChoice && this.option === other.option && this.period_seconds === other.period_seconds; + }, + get$hashCode: function(_) { + return Y.$jf(Y.$jc(Y.$jc(0, H.Primitives_objectHashCode(this.option)), C.JSInt_methods.get$hashCode(this.period_seconds))); + }, + toString$0: function(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("LocalStorageDesignChoice"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "option", this.option); + t2.add$2(t1, "period_seconds", this.period_seconds); + return t2.toString$0(t1); + } + }; + Y.LocalStorageDesignChoiceBuilder.prototype = { + get$_local_storage_design_choice$_$this: function() { + var _this = this, + $$v = _this._local_storage_design_choice$_$v; + if ($$v != null) { + _this._option = $$v.option; + _this._period_seconds = $$v.period_seconds; + _this._local_storage_design_choice$_$v = null; + } + return _this; + }, + build$0: function() { + var t1, t2, _this = this, + _s24_ = "LocalStorageDesignChoice", + _$result = _this._local_storage_design_choice$_$v; + if (_$result == null) { + t1 = _this.get$_local_storage_design_choice$_$this()._option; + if (t1 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s24_, "option")); + t2 = _this.get$_local_storage_design_choice$_$this()._period_seconds; + if (t2 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s24_, "period_seconds")); + _$result = new Y._$LocalStorageDesignChoice(t1, t2); + } + return _this._local_storage_design_choice$_$v = _$result; + } + }; + Y._LocalStorageDesignChoice_Object_BuiltJsonSerializable.prototype = {}; + G.Loopout.prototype = { + get$next_domain_idx: function() { + return this.prev_domain_idx + 2; + }, + set_dna_sequence$1: function(seq) { + return this.rebuild$1(new G.Loopout_set_dna_sequence_closure(seq)); + }, + is_domain$0: function() { + return false; + }, + is_loopout$0: function() { + return true; + }, + get$select_mode: function() { + return C.SelectModeChoice_loopout; + }, + get$id: function(_) { + return "loopout-" + (this.prev_domain_idx + 1) + "-" + H.S(this.strand_id); + }, + dna_length$0: function() { + return this.loopout_num_bases; + }, + type_description$0: function() { + return "loopout"; + }, + to_json_serializable$1$suppress_indent: function(suppress_indent) { + var t2, t3, _this = this, + json_map = P.LinkedHashMap_LinkedHashMap$_literal(["loopout", _this.loopout_num_bases], type$.legacy_String, type$.legacy_Object), + t1 = _this.name; + if (t1 != null) + json_map.$indexSet(0, "name", t1); + t1 = _this.color; + if (t1 != null) { + t1 = t1.toHexColor$0(); + json_map.$indexSet(0, "color", "#" + t1.get$rHex() + t1.get$gHex() + t1.get$bHex()); + } + t1 = _this.label; + if (t1 != null) + json_map.$indexSet(0, "label", t1); + t1 = _this.unused_fields; + t2 = t1._map$_map; + t3 = H._instanceType(t1); + json_map.addAll$1(0, new S.CopyOnWriteMap(t1._mapFactory, t2, t3._eval$1("@<1>")._bind$1(t3._rest[1])._eval$1("CopyOnWriteMap<1,2>"))); + return suppress_indent ? new K.NoIndent(json_map) : json_map; + }, + $isLinker: 1, + $isSelectable: 1, + $isSubstrand: 1 + }; + G.Loopout_Loopout_closure.prototype = { + call$1: function(b) { + var t1, _this = this; + b.get$_loopout$_$this()._loopout_num_bases = _this.loopout_num_bases; + b.get$_loopout$_$this()._prev_domain_idx = _this.prev_domain_idx; + b.get$_loopout$_$this()._loopout$_is_scaffold = _this.is_scaffold; + b.get$_loopout$_$this()._loopout$_dna_sequence = _this.dna_sequence; + b.get$_loopout$_$this()._loopout$_color = _this.color; + b.get$_loopout$_$this()._loopout$_name = _this.name; + b.get$_loopout$_$this()._loopout$_label = _this.label; + t1 = type$.dynamic; + t1 = type$.legacy_MapBuilder_of_legacy_String_and_legacy_Object._as(A.MapBuilder_MapBuilder(P.LinkedHashMap_LinkedHashMap$_empty(t1, t1), type$.legacy_String, type$.legacy_Object)); + b.get$_loopout$_$this().set$_loopout$_unused_fields(t1); + return b; + }, + $signature: 24 + }; + G.Loopout_set_dna_sequence_closure.prototype = { + call$1: function(loopout) { + loopout.get$_loopout$_$this()._loopout$_dna_sequence = this.seq; + return loopout; + }, + $signature: 24 + }; + G._$LoopoutSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + var result, value; + type$.legacy_Loopout._as(object); + result = H.setRuntimeTypeInfo(["loopout_num_bases", serializers.serialize$2$specifiedType(object.loopout_num_bases, C.FullType_kjq), "prev_domain_idx", serializers.serialize$2$specifiedType(object.prev_domain_idx, C.FullType_kjq), "is_scaffold", serializers.serialize$2$specifiedType(object.is_scaffold, C.FullType_MtR)], type$.JSArray_legacy_Object); + value = object.name; + if (value != null) { + C.JSArray_methods.add$1(result, "name"); + C.JSArray_methods.add$1(result, serializers.serialize$2$specifiedType(value, C.FullType_h8g)); + } + value = object.label; + if (value != null) { + C.JSArray_methods.add$1(result, "label"); + C.JSArray_methods.add$1(result, serializers.serialize$2$specifiedType(value, C.FullType_h8g)); + } + value = object.dna_sequence; + if (value != null) { + C.JSArray_methods.add$1(result, "dna_sequence"); + C.JSArray_methods.add$1(result, serializers.serialize$2$specifiedType(value, C.FullType_h8g)); + } + value = object.color; + if (value != null) { + C.JSArray_methods.add$1(result, "color"); + C.JSArray_methods.add$1(result, serializers.serialize$2$specifiedType(value, C.FullType_uHx)); + } + value = object.strand_id; + if (value != null) { + C.JSArray_methods.add$1(result, "strand_id"); + C.JSArray_methods.add$1(result, serializers.serialize$2$specifiedType(value, C.FullType_h8g)); + } + return result; + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + var t1, key, value, t2, + result = new G.LoopoutBuilder(), + iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + for (t1 = type$.legacy_Color; iterator.moveNext$0();) { + key = H._asStringS(iterator.get$current(iterator)); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (key) { + case "loopout_num_bases": + t2 = H._asIntS(serializers.deserialize$2$specifiedType(value, C.FullType_kjq)); + result.get$_loopout$_$this()._loopout_num_bases = t2; + break; + case "name": + t2 = H._asStringS(serializers.deserialize$2$specifiedType(value, C.FullType_h8g)); + result.get$_loopout$_$this()._loopout$_name = t2; + break; + case "label": + t2 = H._asStringS(serializers.deserialize$2$specifiedType(value, C.FullType_h8g)); + result.get$_loopout$_$this()._loopout$_label = t2; + break; + case "prev_domain_idx": + t2 = H._asIntS(serializers.deserialize$2$specifiedType(value, C.FullType_kjq)); + result.get$_loopout$_$this()._prev_domain_idx = t2; + break; + case "dna_sequence": + t2 = H._asStringS(serializers.deserialize$2$specifiedType(value, C.FullType_h8g)); + result.get$_loopout$_$this()._loopout$_dna_sequence = t2; + break; + case "color": + t2 = t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_uHx)); + result.get$_loopout$_$this()._loopout$_color = t2; + break; + case "strand_id": + t2 = H._asStringS(serializers.deserialize$2$specifiedType(value, C.FullType_h8g)); + result.get$_loopout$_$this()._loopout$_strand_id = t2; + break; + case "is_scaffold": + t2 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); + result.get$_loopout$_$this()._loopout$_is_scaffold = t2; + break; + } + } + return result.build$0(); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_2ad; + }, + get$wireName: function() { + return "Loopout"; + } + }; + G._$Loopout.prototype = { + get$next_domain_idx: function() { + var t1 = this.__next_domain_idx; + return t1 == null ? this.__next_domain_idx = G.Loopout.prototype.get$next_domain_idx.call(this) : t1; + }, + get$select_mode: function() { + var t1 = this._loopout$__select_mode; + return t1 == null ? this._loopout$__select_mode = G.Loopout.prototype.get$select_mode.call(this) : t1; + }, + get$id: function(_) { + var _this = this, + t1 = _this._loopout$__id; + return t1 == null ? _this._loopout$__id = G.Loopout.prototype.get$id.call(_this, _this) : t1; + }, + rebuild$1: function(updates) { + var t1; + type$.legacy_void_Function_legacy_LoopoutBuilder._as(updates); + t1 = new G.LoopoutBuilder(); + t1._loopout$_$v = this; + updates.call$1(t1); + return t1.build$0(); + }, + $eq: function(_, other) { + var _this = this; + if (other == null) + return false; + if (other === _this) + return true; + return other instanceof G.Loopout && _this.loopout_num_bases === other.loopout_num_bases && _this.name == other.name && _this.label == other.label && _this.prev_domain_idx === other.prev_domain_idx && _this.dna_sequence == other.dna_sequence && J.$eq$(_this.color, other.color) && _this.strand_id == other.strand_id && _this.is_scaffold === other.is_scaffold && J.$eq$(_this.unused_fields, other.unused_fields); + }, + get$hashCode: function(_) { + var _this = this, + t1 = _this._loopout$__hashCode; + return t1 == null ? _this._loopout$__hashCode = Y.$jf(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(0, C.JSInt_methods.get$hashCode(_this.loopout_num_bases)), J.get$hashCode$(_this.name)), J.get$hashCode$(_this.label)), C.JSInt_methods.get$hashCode(_this.prev_domain_idx)), J.get$hashCode$(_this.dna_sequence)), J.get$hashCode$(_this.color)), J.get$hashCode$(_this.strand_id)), C.JSBool_methods.get$hashCode(_this.is_scaffold)), J.get$hashCode$(_this.unused_fields))) : t1; + }, + toString$0: function(_) { + var _this = this, + t1 = $.$get$newBuiltValueToStringHelper().call$1("Loopout"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "loopout_num_bases", _this.loopout_num_bases); + t2.add$2(t1, "name", _this.name); + t2.add$2(t1, "label", _this.label); + t2.add$2(t1, "prev_domain_idx", _this.prev_domain_idx); + t2.add$2(t1, "dna_sequence", _this.dna_sequence); + t2.add$2(t1, "color", _this.color); + t2.add$2(t1, "strand_id", _this.strand_id); + t2.add$2(t1, "is_scaffold", _this.is_scaffold); + t2.add$2(t1, "unused_fields", _this.unused_fields); + return t2.toString$0(t1); + }, + get$name: function(receiver) { + return this.name; + }, + get$label: function(receiver) { + return this.label; + }, + get$prev_domain_idx: function() { + return this.prev_domain_idx; + }, + get$dna_sequence: function() { + return this.dna_sequence; + }, + get$color: function(receiver) { + return this.color; + }, + get$strand_id: function() { + return this.strand_id; + }, + get$is_scaffold: function() { + return this.is_scaffold; + } + }; + G.LoopoutBuilder.prototype = { + get$unused_fields: function() { + var t1 = this.get$_loopout$_$this(), + t2 = t1._loopout$_unused_fields; + if (t2 == null) { + t2 = A.MapBuilder_MapBuilder(C.Map_empty, type$.legacy_String, type$.legacy_Object); + t1.set$_loopout$_unused_fields(t2); + t1 = t2; + } else + t1 = t2; + return t1; + }, + get$_loopout$_$this: function() { + var t1, t2, _this = this, + $$v = _this._loopout$_$v; + if ($$v != null) { + _this._loopout_num_bases = $$v.loopout_num_bases; + _this._loopout$_name = $$v.name; + _this._loopout$_label = $$v.label; + _this._prev_domain_idx = $$v.prev_domain_idx; + _this._loopout$_dna_sequence = $$v.dna_sequence; + _this._loopout$_color = $$v.color; + _this._loopout$_strand_id = $$v.strand_id; + _this._loopout$_is_scaffold = $$v.is_scaffold; + t1 = $$v.unused_fields; + t1.toString; + t2 = t1.$ti; + t2._eval$1("_BuiltMap<1,2>")._as(t1); + _this.set$_loopout$_unused_fields(new A.MapBuilder(t1._mapFactory, t1._map$_map, t1, t2._eval$1("@<1>")._bind$1(t2._rest[1])._eval$1("MapBuilder<1,2>"))); + _this._loopout$_$v = null; + } + return _this; + }, + build$0: function() { + var _$failedField, e, _$result0, t1, t2, t3, t4, t5, t6, t7, t8, t9, exception, _this = this, + _s7_ = "Loopout", + _$result = null; + try { + _$result0 = _this._loopout$_$v; + if (_$result0 == null) { + t1 = _this.get$_loopout$_$this()._loopout_num_bases; + if (t1 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s7_, "loopout_num_bases")); + t2 = _this.get$_loopout$_$this()._loopout$_name; + t3 = _this.get$_loopout$_$this()._loopout$_label; + t4 = _this.get$_loopout$_$this()._prev_domain_idx; + if (t4 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s7_, "prev_domain_idx")); + t5 = _this.get$_loopout$_$this()._loopout$_dna_sequence; + t6 = _this.get$_loopout$_$this()._loopout$_color; + t7 = _this.get$_loopout$_$this()._loopout$_strand_id; + t8 = _this.get$_loopout$_$this()._loopout$_is_scaffold; + if (t8 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s7_, "is_scaffold")); + t9 = _this.get$unused_fields().build$0(); + _$result0 = new G._$Loopout(t1, t2, t3, t4, t5, t6, t7, t8, t9); + if (t9 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s7_, "unused_fields")); + } + _$result = _$result0; + } catch (exception) { + H.unwrapException(exception); + _$failedField = null; + try { + _$failedField = "unused_fields"; + _this.get$unused_fields().build$0(); + } catch (exception) { + e = H.unwrapException(exception); + t1 = Y.BuiltValueNestedFieldError$(_s7_, _$failedField, J.toString$0$(e)); + throw H.wrapException(t1); + } + throw exception; + } + t1 = type$.legacy_Loopout._as(_$result); + if (t1 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + _this._loopout$_$v = t1; + return _$result; + }, + set$_loopout$_unused_fields: function(_unused_fields) { + this._loopout$_unused_fields = type$.legacy_MapBuilder_of_legacy_String_and_legacy_Object._as(_unused_fields); + } + }; + G._Loopout_Object_SelectableMixin.prototype = {}; + G._Loopout_Object_SelectableMixin_BuiltJsonSerializable.prototype = {}; + G._Loopout_Object_SelectableMixin_BuiltJsonSerializable_UnusedFields.prototype = {}; + Z.Modification_from_json_closure.prototype = { + call$1: function(b) { + var t1 = this.unused_fields; + type$.legacy_MapBuilder_of_legacy_String_and_legacy_Object._as(t1); + b.get$_modification$_$this().set$_modification$_unused_fields(t1); + return t1; + }, + $signature: 381 + }; + Z.Modification_from_json_closure0.prototype = { + call$1: function(b) { + var t1 = this.unused_fields; + type$.legacy_MapBuilder_of_legacy_String_and_legacy_Object._as(t1); + b.get$_modification$_$this().set$_modification$_unused_fields(t1); + return t1; + }, + $signature: 382 + }; + Z.Modification_from_json_closure1.prototype = { + call$1: function(b) { + var t1 = this.unused_fields; + type$.legacy_MapBuilder_of_legacy_String_and_legacy_Object._as(t1); + b.get$_modification$_$this().set$_modification$_unused_fields(t1); + return t1; + }, + $signature: 383 + }; + Z.Modification5Prime.prototype = { + to_json_serializable$1$suppress_indent: function(suppress_indent) { + var ret = Z.Modification_mod_to_json_serializable(this, suppress_indent); + ret.$indexSet(0, "location", "5'"); + return ret; + }, + $isModification: 1 + }; + Z.Modification5Prime_Modification5Prime_closure.prototype = { + call$1: function(b) { + var _this = this; + b.get$_modification$_$this()._display_text = _this.display_text; + b.get$_modification$_$this()._vendor_code = _this.vendor_code; + b.get$_modification$_$this()._connector_length = _this.connector_length; + b.get$unused_fields().replace$1(0, _this.unused_fields_to_assign); + return b; + }, + $signature: 384 + }; + Z.Modification3Prime.prototype = { + to_json_serializable$1$suppress_indent: function(suppress_indent) { + var ret = Z.Modification_mod_to_json_serializable(this, suppress_indent); + ret.$indexSet(0, "location", "3'"); + return ret; + }, + $isModification: 1 + }; + Z.Modification3Prime_Modification3Prime_closure.prototype = { + call$1: function(b) { + var _this = this; + b.get$_modification$_$this()._display_text = _this.display_text; + b.get$_modification$_$this()._vendor_code = _this.vendor_code; + b.get$_modification$_$this()._connector_length = _this.connector_length; + b.get$unused_fields().replace$1(0, _this.unused_fields_to_assign); + return b; + }, + $signature: 385 + }; + Z.ModificationInternal.prototype = { + to_json_serializable$1$suppress_indent: function(suppress_indent) { + var t1, + ret = Z.Modification_mod_to_json_serializable(this, suppress_indent); + ret.$indexSet(0, "location", "internal"); + t1 = this.allowed_bases; + if (t1 != null) + ret.$indexSet(0, "allowed_bases", suppress_indent ? new K.NoIndent(t1._set.toList$1$growable(0, true)) : t1._set.toList$1$growable(0, true)); + return ret; + }, + $isModification: 1 + }; + Z.ModificationInternal_ModificationInternal_closure.prototype = { + call$1: function(b) { + var t1, t2, _this = this; + b.get$_modification$_$this()._display_text = _this.display_text; + b.get$_modification$_$this()._vendor_code = _this.vendor_code; + b.get$_modification$_$this()._connector_length = _this.connector_length; + t1 = _this.allowed_bases; + if (t1 == null) + t1 = null; + else { + t2 = t1.$ti; + t2._eval$1("_BuiltSet<1>")._as(t1); + t2 = new X.SetBuilder(t1._setFactory, t1._set, t1, t2._eval$1("SetBuilder<1>")); + t1 = t2; + } + type$.legacy_SetBuilder_legacy_String._as(t1); + b.get$_modification$_$this().set$_allowed_bases(t1); + b.get$unused_fields().replace$1(0, _this.unused_fields_to_assign); + return b; + }, + $signature: 386 + }; + Z._$Modification5PrimeSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + type$.legacy_Modification5Prime._as(object); + return H.setRuntimeTypeInfo(["display_text", serializers.serialize$2$specifiedType(object.display_text, C.FullType_h8g), "vendor_code", serializers.serialize$2$specifiedType(object.vendor_code, C.FullType_h8g), "connector_length", serializers.serialize$2$specifiedType(object.connector_length, C.FullType_kjq), "unused_fields", serializers.serialize$2$specifiedType(object.unused_fields, C.FullType_8aB)], type$.JSArray_legacy_Object); + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + var t1, key, value, t2, t3, + result = new Z.Modification5PrimeBuilder(), + iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + for (t1 = type$.MapBuilder_of_legacy_String_and_legacy_Object; iterator.moveNext$0();) { + key = H._asStringS(iterator.get$current(iterator)); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (key) { + case "display_text": + t2 = H._asStringS(serializers.deserialize$2$specifiedType(value, C.FullType_h8g)); + result.get$_modification$_$this()._display_text = t2; + break; + case "vendor_code": + t2 = H._asStringS(serializers.deserialize$2$specifiedType(value, C.FullType_h8g)); + result.get$_modification$_$this()._vendor_code = t2; + break; + case "connector_length": + t2 = H._asIntS(serializers.deserialize$2$specifiedType(value, C.FullType_kjq)); + result.get$_modification$_$this()._connector_length = t2; + break; + case "unused_fields": + t2 = result.get$_modification$_$this(); + t3 = t2._modification$_unused_fields; + if (t3 == null) { + t3 = new A.MapBuilder(null, $, null, t1); + t3.replace$1(0, C.Map_empty); + t2.set$_modification$_unused_fields(t3); + t2 = t3; + } else + t2 = t3; + t2.replace$1(0, serializers.deserialize$2$specifiedType(value, C.FullType_8aB)); + break; + } + } + return result.build$0(); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_Qkz0; + }, + get$wireName: function() { + return "Modification5Prime"; + } + }; + Z._$Modification3PrimeSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + type$.legacy_Modification3Prime._as(object); + return H.setRuntimeTypeInfo(["display_text", serializers.serialize$2$specifiedType(object.display_text, C.FullType_h8g), "vendor_code", serializers.serialize$2$specifiedType(object.vendor_code, C.FullType_h8g), "connector_length", serializers.serialize$2$specifiedType(object.connector_length, C.FullType_kjq), "unused_fields", serializers.serialize$2$specifiedType(object.unused_fields, C.FullType_8aB)], type$.JSArray_legacy_Object); + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + var t1, key, value, t2, t3, + result = new Z.Modification3PrimeBuilder(), + iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + for (t1 = type$.MapBuilder_of_legacy_String_and_legacy_Object; iterator.moveNext$0();) { + key = H._asStringS(iterator.get$current(iterator)); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (key) { + case "display_text": + t2 = H._asStringS(serializers.deserialize$2$specifiedType(value, C.FullType_h8g)); + result.get$_modification$_$this()._display_text = t2; + break; + case "vendor_code": + t2 = H._asStringS(serializers.deserialize$2$specifiedType(value, C.FullType_h8g)); + result.get$_modification$_$this()._vendor_code = t2; + break; + case "connector_length": + t2 = H._asIntS(serializers.deserialize$2$specifiedType(value, C.FullType_kjq)); + result.get$_modification$_$this()._connector_length = t2; + break; + case "unused_fields": + t2 = result.get$_modification$_$this(); + t3 = t2._modification$_unused_fields; + if (t3 == null) { + t3 = new A.MapBuilder(null, $, null, t1); + t3.replace$1(0, C.Map_empty); + t2.set$_modification$_unused_fields(t3); + t2 = t3; + } else + t2 = t3; + t2.replace$1(0, serializers.deserialize$2$specifiedType(value, C.FullType_8aB)); + break; + } + } + return result.build$0(); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_Qkz; + }, + get$wireName: function() { + return "Modification3Prime"; + } + }; + Z._$ModificationInternalSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + var result, value; + type$.legacy_ModificationInternal._as(object); + result = H.setRuntimeTypeInfo(["display_text", serializers.serialize$2$specifiedType(object.display_text, C.FullType_h8g), "vendor_code", serializers.serialize$2$specifiedType(object.vendor_code, C.FullType_h8g), "connector_length", serializers.serialize$2$specifiedType(object.connector_length, C.FullType_kjq), "unused_fields", serializers.serialize$2$specifiedType(object.unused_fields, C.FullType_8aB)], type$.JSArray_legacy_Object); + value = object.allowed_bases; + if (value != null) { + C.JSArray_methods.add$1(result, "allowed_bases"); + C.JSArray_methods.add$1(result, serializers.serialize$2$specifiedType(value, C.FullType_Mnt)); + } + return result; + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + var t1, t2, t3, key, value, t4, t5, _null = null, + result = new Z.ModificationInternalBuilder(), + iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + for (t1 = type$.MapBuilder_of_legacy_String_and_legacy_Object, t2 = type$.legacy_BuiltSet_legacy_Object, t3 = type$.SetBuilder_legacy_String; iterator.moveNext$0();) { + key = H._asStringS(iterator.get$current(iterator)); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (key) { + case "display_text": + t4 = H._asStringS(serializers.deserialize$2$specifiedType(value, C.FullType_h8g)); + result.get$_modification$_$this()._display_text = t4; + break; + case "vendor_code": + t4 = H._asStringS(serializers.deserialize$2$specifiedType(value, C.FullType_h8g)); + result.get$_modification$_$this()._vendor_code = t4; + break; + case "connector_length": + t4 = H._asIntS(serializers.deserialize$2$specifiedType(value, C.FullType_kjq)); + result.get$_modification$_$this()._connector_length = t4; + break; + case "allowed_bases": + t4 = result.get$_modification$_$this(); + t5 = t4._allowed_bases; + if (t5 == null) { + t5 = new X.SetBuilder(_null, $, _null, t3); + t5.replace$1(0, C.List_empty); + t4.set$_allowed_bases(t5); + t4 = t5; + } else + t4 = t5; + t4.replace$1(0, t2._as(serializers.deserialize$2$specifiedType(value, C.FullType_Mnt))); + break; + case "unused_fields": + t4 = result.get$_modification$_$this(); + t5 = t4._modification$_unused_fields; + if (t5 == null) { + t5 = new A.MapBuilder(_null, $, _null, t1); + t5.replace$1(0, C.Map_empty); + t4.set$_modification$_unused_fields(t5); + t4 = t5; + } else + t4 = t5; + t4.replace$1(0, serializers.deserialize$2$specifiedType(value, C.FullType_8aB)); + break; + } + } + return result.build$0(); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_neG; + }, + get$wireName: function() { + return "ModificationInternal"; + } + }; + Z._$Modification5Prime.prototype = { + $eq: function(_, other) { + var _this = this; + if (other == null) + return false; + if (other === _this) + return true; + return other instanceof Z.Modification5Prime && _this.display_text === other.display_text && _this.vendor_code === other.vendor_code && _this.connector_length === other.connector_length && J.$eq$(_this.unused_fields, other.unused_fields); + }, + get$hashCode: function(_) { + var _this = this, + t1 = _this._modification$__hashCode; + return t1 == null ? _this._modification$__hashCode = Y.$jf(Y.$jc(Y.$jc(Y.$jc(Y.$jc(0, C.JSString_methods.get$hashCode(_this.display_text)), C.JSString_methods.get$hashCode(_this.vendor_code)), C.JSInt_methods.get$hashCode(_this.connector_length)), J.get$hashCode$(_this.unused_fields))) : t1; + }, + toString$0: function(_) { + var _this = this, + t1 = $.$get$newBuiltValueToStringHelper().call$1("Modification5Prime"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "display_text", _this.display_text); + t2.add$2(t1, "vendor_code", _this.vendor_code); + t2.add$2(t1, "connector_length", _this.connector_length); + t2.add$2(t1, "unused_fields", _this.unused_fields); + return t2.toString$0(t1); + }, + get$display_text: function() { + return this.display_text; + }, + get$vendor_code: function() { + return this.vendor_code; + }, + get$connector_length: function() { + return this.connector_length; + }, + get$unused_fields: function() { + return this.unused_fields; + } + }; + Z.Modification5PrimeBuilder.prototype = { + get$unused_fields: function() { + var t1 = this.get$_modification$_$this(), + t2 = t1._modification$_unused_fields; + if (t2 == null) { + t2 = A.MapBuilder_MapBuilder(C.Map_empty, type$.legacy_String, type$.legacy_Object); + t1.set$_modification$_unused_fields(t2); + t1 = t2; + } else + t1 = t2; + return t1; + }, + get$_modification$_$this: function() { + var t1, t2, _this = this, + $$v = _this._modification$_$v; + if ($$v != null) { + _this._display_text = $$v.display_text; + _this._vendor_code = $$v.vendor_code; + _this._connector_length = $$v.connector_length; + t1 = $$v.unused_fields; + t1.toString; + t2 = t1.$ti; + t2._eval$1("_BuiltMap<1,2>")._as(t1); + _this.set$_modification$_unused_fields(new A.MapBuilder(t1._mapFactory, t1._map$_map, t1, t2._eval$1("@<1>")._bind$1(t2._rest[1])._eval$1("MapBuilder<1,2>"))); + _this._modification$_$v = null; + } + return _this; + }, + build$0: function() { + var _$failedField, e, _$result0, t1, t2, t3, t4, exception, _this = this, + _s18_ = "Modification5Prime", + _$result = null; + try { + _$result0 = _this._modification$_$v; + if (_$result0 == null) { + t1 = _this.get$_modification$_$this()._display_text; + if (t1 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s18_, "display_text")); + t2 = _this.get$_modification$_$this()._vendor_code; + if (t2 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s18_, "vendor_code")); + t3 = _this.get$_modification$_$this()._connector_length; + if (t3 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s18_, "connector_length")); + t4 = _this.get$unused_fields().build$0(); + _$result0 = new Z._$Modification5Prime(t1, t2, t3, t4); + if (t4 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s18_, "unused_fields")); + } + _$result = _$result0; + } catch (exception) { + H.unwrapException(exception); + _$failedField = null; + try { + _$failedField = "unused_fields"; + _this.get$unused_fields().build$0(); + } catch (exception) { + e = H.unwrapException(exception); + t1 = Y.BuiltValueNestedFieldError$(_s18_, _$failedField, J.toString$0$(e)); + throw H.wrapException(t1); + } + throw exception; + } + t1 = type$.legacy_Modification5Prime._as(_$result); + if (t1 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + _this._modification$_$v = t1; + return _$result; + }, + set$_modification$_unused_fields: function(_unused_fields) { + this._modification$_unused_fields = type$.legacy_MapBuilder_of_legacy_String_and_legacy_Object._as(_unused_fields); + } + }; + Z._$Modification3Prime.prototype = { + $eq: function(_, other) { + var _this = this; + if (other == null) + return false; + if (other === _this) + return true; + return other instanceof Z.Modification3Prime && _this.display_text === other.display_text && _this.vendor_code === other.vendor_code && _this.connector_length === other.connector_length && J.$eq$(_this.unused_fields, other.unused_fields); + }, + get$hashCode: function(_) { + var _this = this, + t1 = _this._modification$__hashCode; + return t1 == null ? _this._modification$__hashCode = Y.$jf(Y.$jc(Y.$jc(Y.$jc(Y.$jc(0, C.JSString_methods.get$hashCode(_this.display_text)), C.JSString_methods.get$hashCode(_this.vendor_code)), C.JSInt_methods.get$hashCode(_this.connector_length)), J.get$hashCode$(_this.unused_fields))) : t1; + }, + toString$0: function(_) { + var _this = this, + t1 = $.$get$newBuiltValueToStringHelper().call$1("Modification3Prime"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "display_text", _this.display_text); + t2.add$2(t1, "vendor_code", _this.vendor_code); + t2.add$2(t1, "connector_length", _this.connector_length); + t2.add$2(t1, "unused_fields", _this.unused_fields); + return t2.toString$0(t1); + }, + get$display_text: function() { + return this.display_text; + }, + get$vendor_code: function() { + return this.vendor_code; + }, + get$connector_length: function() { + return this.connector_length; + }, + get$unused_fields: function() { + return this.unused_fields; + } + }; + Z.Modification3PrimeBuilder.prototype = { + get$unused_fields: function() { + var t1 = this.get$_modification$_$this(), + t2 = t1._modification$_unused_fields; + if (t2 == null) { + t2 = A.MapBuilder_MapBuilder(C.Map_empty, type$.legacy_String, type$.legacy_Object); + t1.set$_modification$_unused_fields(t2); + t1 = t2; + } else + t1 = t2; + return t1; + }, + get$_modification$_$this: function() { + var t1, t2, _this = this, + $$v = _this._modification$_$v; + if ($$v != null) { + _this._display_text = $$v.display_text; + _this._vendor_code = $$v.vendor_code; + _this._connector_length = $$v.connector_length; + t1 = $$v.unused_fields; + t1.toString; + t2 = t1.$ti; + t2._eval$1("_BuiltMap<1,2>")._as(t1); + _this.set$_modification$_unused_fields(new A.MapBuilder(t1._mapFactory, t1._map$_map, t1, t2._eval$1("@<1>")._bind$1(t2._rest[1])._eval$1("MapBuilder<1,2>"))); + _this._modification$_$v = null; + } + return _this; + }, + build$0: function() { + var _$failedField, e, _$result0, t1, t2, t3, t4, exception, _this = this, + _s18_ = "Modification3Prime", + _$result = null; + try { + _$result0 = _this._modification$_$v; + if (_$result0 == null) { + t1 = _this.get$_modification$_$this()._display_text; + if (t1 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s18_, "display_text")); + t2 = _this.get$_modification$_$this()._vendor_code; + if (t2 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s18_, "vendor_code")); + t3 = _this.get$_modification$_$this()._connector_length; + if (t3 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s18_, "connector_length")); + t4 = _this.get$unused_fields().build$0(); + _$result0 = new Z._$Modification3Prime(t1, t2, t3, t4); + if (t4 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s18_, "unused_fields")); + } + _$result = _$result0; + } catch (exception) { + H.unwrapException(exception); + _$failedField = null; + try { + _$failedField = "unused_fields"; + _this.get$unused_fields().build$0(); + } catch (exception) { + e = H.unwrapException(exception); + t1 = Y.BuiltValueNestedFieldError$(_s18_, _$failedField, J.toString$0$(e)); + throw H.wrapException(t1); + } + throw exception; + } + t1 = type$.legacy_Modification3Prime._as(_$result); + if (t1 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + _this._modification$_$v = t1; + return _$result; + }, + set$_modification$_unused_fields: function(_unused_fields) { + this._modification$_unused_fields = type$.legacy_MapBuilder_of_legacy_String_and_legacy_Object._as(_unused_fields); + } + }; + Z._$ModificationInternal.prototype = { + $eq: function(_, other) { + var _this = this; + if (other == null) + return false; + if (other === _this) + return true; + return other instanceof Z.ModificationInternal && _this.display_text === other.display_text && _this.vendor_code === other.vendor_code && _this.connector_length === other.connector_length && J.$eq$(_this.allowed_bases, other.allowed_bases) && J.$eq$(_this.unused_fields, other.unused_fields); + }, + get$hashCode: function(_) { + var _this = this, + t1 = _this._modification$__hashCode; + return t1 == null ? _this._modification$__hashCode = Y.$jf(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(0, C.JSString_methods.get$hashCode(_this.display_text)), C.JSString_methods.get$hashCode(_this.vendor_code)), C.JSInt_methods.get$hashCode(_this.connector_length)), J.get$hashCode$(_this.allowed_bases)), J.get$hashCode$(_this.unused_fields))) : t1; + }, + toString$0: function(_) { + var _this = this, + t1 = $.$get$newBuiltValueToStringHelper().call$1("ModificationInternal"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "display_text", _this.display_text); + t2.add$2(t1, "vendor_code", _this.vendor_code); + t2.add$2(t1, "connector_length", _this.connector_length); + t2.add$2(t1, "allowed_bases", _this.allowed_bases); + t2.add$2(t1, "unused_fields", _this.unused_fields); + return t2.toString$0(t1); + }, + get$display_text: function() { + return this.display_text; + }, + get$vendor_code: function() { + return this.vendor_code; + }, + get$connector_length: function() { + return this.connector_length; + }, + get$unused_fields: function() { + return this.unused_fields; + } + }; + Z.ModificationInternalBuilder.prototype = { + get$unused_fields: function() { + var t1 = this.get$_modification$_$this(), + t2 = t1._modification$_unused_fields; + if (t2 == null) { + t2 = A.MapBuilder_MapBuilder(C.Map_empty, type$.legacy_String, type$.legacy_Object); + t1.set$_modification$_unused_fields(t2); + t1 = t2; + } else + t1 = t2; + return t1; + }, + get$_modification$_$this: function() { + var t1, t2, _this = this, + $$v = _this._modification$_$v; + if ($$v != null) { + _this._display_text = $$v.display_text; + _this._vendor_code = $$v.vendor_code; + _this._connector_length = $$v.connector_length; + t1 = $$v.allowed_bases; + if (t1 == null) + t1 = null; + else { + t2 = t1.$ti; + t2._eval$1("_BuiltSet<1>")._as(t1); + t2 = new X.SetBuilder(t1._setFactory, t1._set, t1, t2._eval$1("SetBuilder<1>")); + t1 = t2; + } + _this.set$_allowed_bases(t1); + t1 = $$v.unused_fields; + t1.toString; + t2 = t1.$ti; + t2._eval$1("_BuiltMap<1,2>")._as(t1); + _this.set$_modification$_unused_fields(new A.MapBuilder(t1._mapFactory, t1._map$_map, t1, t2._eval$1("@<1>")._bind$1(t2._rest[1])._eval$1("MapBuilder<1,2>"))); + _this._modification$_$v = null; + } + return _this; + }, + build$0: function() { + var _$failedField, e, _$result0, t1, t2, t3, t4, t5, exception, _this = this, + _s20_ = "ModificationInternal", + _$result = null; + try { + _$result0 = _this._modification$_$v; + if (_$result0 == null) { + t1 = _this.get$_modification$_$this()._display_text; + if (t1 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s20_, "display_text")); + t2 = _this.get$_modification$_$this()._vendor_code; + if (t2 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s20_, "vendor_code")); + t3 = _this.get$_modification$_$this()._connector_length; + if (t3 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s20_, "connector_length")); + t4 = _this._allowed_bases; + t4 = t4 == null ? null : t4.build$0(); + t5 = _this.get$unused_fields().build$0(); + _$result0 = new Z._$ModificationInternal(t1, t2, t3, t4, t5); + if (t5 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s20_, "unused_fields")); + } + _$result = _$result0; + } catch (exception) { + H.unwrapException(exception); + _$failedField = null; + try { + _$failedField = "allowed_bases"; + t1 = _this._allowed_bases; + if (t1 != null) + t1.build$0(); + _$failedField = "unused_fields"; + _this.get$unused_fields().build$0(); + } catch (exception) { + e = H.unwrapException(exception); + t1 = Y.BuiltValueNestedFieldError$(_s20_, _$failedField, J.toString$0$(e)); + throw H.wrapException(t1); + } + throw exception; + } + t1 = type$.legacy_ModificationInternal._as(_$result); + if (t1 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + _this._modification$_$v = t1; + return _$result; + }, + set$_allowed_bases: function(_allowed_bases) { + this._allowed_bases = type$.legacy_SetBuilder_legacy_String._as(_allowed_bases); + }, + set$_modification$_unused_fields: function(_unused_fields) { + this._modification$_unused_fields = type$.legacy_MapBuilder_of_legacy_String_and_legacy_Object._as(_unused_fields); + } + }; + Z._Modification3Prime_Object_BuiltJsonSerializable.prototype = {}; + Z._Modification3Prime_Object_BuiltJsonSerializable_UnusedFields.prototype = {}; + Z._Modification5Prime_Object_BuiltJsonSerializable.prototype = {}; + Z._Modification5Prime_Object_BuiltJsonSerializable_UnusedFields.prototype = {}; + Z._ModificationInternal_Object_BuiltJsonSerializable.prototype = {}; + Z._ModificationInternal_Object_BuiltJsonSerializable_UnusedFields.prototype = {}; + Y.ModificationType.prototype = { + get$key: function(_) { + var _this = this; + if (_this === C.ModificationType_five_prime) + return "modifications_5p_in_design"; + else if (_this === C.ModificationType_three_prime) + return "modifications_3p_in_design"; + else if (_this === C.ModificationType_internal) + return "modifications_int_in_design"; + else + throw H.wrapException(N.IllegalDesignError$('unknown ModificationType "' + _this.toString$0(0) + '"')); + } + }; + Y._$ModificationTypeSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + return type$.legacy_ModificationType._as(object).name; + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + return Y._$valueOf7(H._asStringS(serialized)); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isPrimitiveSerializer: 1, + get$types: function() { + return C.List_Type_ModificationType_EWG; + }, + get$wireName: function() { + return "ModificationType"; + } + }; + K.MouseoverParams.prototype = {}; + K.MouseoverParams_MouseoverParams_closure.prototype = { + call$1: function(b) { + b.get$_mouseover_data$_$this()._mouseover_data$_helix_idx = this.helix_idx; + b.get$_mouseover_data$_$this()._mouseover_data$_offset = this.offset; + b.get$_mouseover_data$_$this()._mouseover_data$_forward = this.forward; + return b; + }, + $signature: 387 + }; + K.MouseoverData.prototype = {}; + K.MouseoverData_MouseoverData_closure.prototype = { + call$1: function(b) { + var t2, _this = this, + t1 = b.get$helix(); + t1._helix$_$v = _this.helix; + t1 = _this.domain; + if (t1 == null) + t1 = null; + else { + t2 = new G.DomainBuilder(); + t2._domain$_$v = t1; + t1 = t2; + } + b.get$_mouseover_data$_$this()._domain = t1; + b.get$_mouseover_data$_$this()._mouseover_data$_offset = _this.offset; + b.get$_mouseover_data$_$this()._strand_idx = _this.strand_idx; + b.get$_mouseover_data$_$this()._color_forward = _this.color_forward; + b.get$_mouseover_data$_$this()._color_reverse = _this.color_reverse; + b.get$_mouseover_data$_$this()._roll_forward = _this.roll_forward; + b.get$_mouseover_data$_$this()._mouseover_data$_minor_groove_angle = _this.minor_groove_angle; + return b; + }, + $signature: 119 + }; + K._$MouseoverParamsSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + type$.legacy_MouseoverParams._as(object); + return H.setRuntimeTypeInfo(["helix_idx", serializers.serialize$2$specifiedType(object.helix_idx, C.FullType_kjq), "offset", serializers.serialize$2$specifiedType(object.offset, C.FullType_kjq), "forward", serializers.serialize$2$specifiedType(object.forward, C.FullType_MtR)], type$.JSArray_legacy_Object); + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + var key, value, t1, + result = new K.MouseoverParamsBuilder(), + iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + for (; iterator.moveNext$0();) { + key = H._asStringS(iterator.get$current(iterator)); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (key) { + case "helix_idx": + t1 = H._asIntS(serializers.deserialize$2$specifiedType(value, C.FullType_kjq)); + result.get$_mouseover_data$_$this()._mouseover_data$_helix_idx = t1; + break; + case "offset": + t1 = H._asIntS(serializers.deserialize$2$specifiedType(value, C.FullType_kjq)); + result.get$_mouseover_data$_$this()._mouseover_data$_offset = t1; + break; + case "forward": + t1 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); + result.get$_mouseover_data$_$this()._mouseover_data$_forward = t1; + break; + } + } + return result.build$0(); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_jlU; + }, + get$wireName: function() { + return "MouseoverParams"; + } + }; + K._$MouseoverDataSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + var result, value; + type$.legacy_MouseoverData._as(object); + result = H.setRuntimeTypeInfo(["helix", serializers.serialize$2$specifiedType(object.helix, C.FullType_wEV), "offset", serializers.serialize$2$specifiedType(object.offset, C.FullType_kjq), "color_forward", serializers.serialize$2$specifiedType(object.color_forward, C.FullType_uHx), "color_reverse", serializers.serialize$2$specifiedType(object.color_reverse, C.FullType_uHx), "roll_forward", serializers.serialize$2$specifiedType(object.roll_forward, C.FullType_MME), "minor_groove_angle", serializers.serialize$2$specifiedType(object.minor_groove_angle, C.FullType_MME), "strand_idx", serializers.serialize$2$specifiedType(object.strand_idx, C.FullType_kjq)], type$.JSArray_legacy_Object); + value = object.domain; + if (value != null) { + C.JSArray_methods.add$1(result, "domain"); + C.JSArray_methods.add$1(result, serializers.serialize$2$specifiedType(value, C.FullType_fnc)); + } + return result; + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + var t1, t2, t3, key, value, t4, t5, + result = new K.MouseoverDataBuilder(), + iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + for (t1 = type$.legacy_Domain, t2 = type$.legacy_Color, t3 = type$.legacy_Helix; iterator.moveNext$0();) { + key = H._asStringS(iterator.get$current(iterator)); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (key) { + case "helix": + t4 = result.get$_mouseover_data$_$this(); + t5 = t4._mouseover_data$_helix; + if (t5 == null) { + t5 = new O.HelixBuilder(); + t5.get$_helix$_$this()._group = "default_group"; + t5.get$_helix$_$this()._min_offset = 0; + t5.get$_helix$_$this()._roll = 0; + t4._mouseover_data$_helix = t5; + t4 = t5; + } else + t4 = t5; + t5 = t3._as(serializers.deserialize$2$specifiedType(value, C.FullType_wEV)); + if (t5 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + t4._helix$_$v = t5; + break; + case "offset": + t4 = H._asIntS(serializers.deserialize$2$specifiedType(value, C.FullType_kjq)); + result.get$_mouseover_data$_$this()._mouseover_data$_offset = t4; + break; + case "color_forward": + t4 = t2._as(serializers.deserialize$2$specifiedType(value, C.FullType_uHx)); + result.get$_mouseover_data$_$this()._color_forward = t4; + break; + case "color_reverse": + t4 = t2._as(serializers.deserialize$2$specifiedType(value, C.FullType_uHx)); + result.get$_mouseover_data$_$this()._color_reverse = t4; + break; + case "roll_forward": + t4 = H._asDoubleS(serializers.deserialize$2$specifiedType(value, C.FullType_MME)); + result.get$_mouseover_data$_$this()._roll_forward = t4; + break; + case "minor_groove_angle": + t4 = H._asDoubleS(serializers.deserialize$2$specifiedType(value, C.FullType_MME)); + result.get$_mouseover_data$_$this()._mouseover_data$_minor_groove_angle = t4; + break; + case "strand_idx": + t4 = H._asIntS(serializers.deserialize$2$specifiedType(value, C.FullType_kjq)); + result.get$_mouseover_data$_$this()._strand_idx = t4; + break; + case "domain": + t4 = result.get$_mouseover_data$_$this(); + t5 = t4._domain; + t4 = t5 == null ? t4._domain = new G.DomainBuilder() : t5; + t5 = t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_fnc)); + if (t5 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + t4._domain$_$v = t5; + break; + } + } + return result.build$0(); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_Qw7; + }, + get$wireName: function() { + return "MouseoverData"; + } + }; + K._$MouseoverParams.prototype = { + $eq: function(_, other) { + var _this = this; + if (other == null) + return false; + if (other === _this) + return true; + return other instanceof K.MouseoverParams && _this.helix_idx === other.helix_idx && _this.offset === other.offset && _this.forward === other.forward; + }, + get$hashCode: function(_) { + var _this = this, + t1 = _this._mouseover_data$__hashCode; + return t1 == null ? _this._mouseover_data$__hashCode = Y.$jf(Y.$jc(Y.$jc(Y.$jc(0, C.JSInt_methods.get$hashCode(_this.helix_idx)), C.JSInt_methods.get$hashCode(_this.offset)), C.JSBool_methods.get$hashCode(_this.forward))) : t1; + }, + toString$0: function(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("MouseoverParams"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "helix_idx", this.helix_idx); + t2.add$2(t1, "offset", this.offset); + t2.add$2(t1, "forward", this.forward); + return t2.toString$0(t1); + }, + get$offset: function(receiver) { + return this.offset; + } + }; + K.MouseoverParamsBuilder.prototype = { + get$offset: function(_) { + return this.get$_mouseover_data$_$this()._mouseover_data$_offset; + }, + get$_mouseover_data$_$this: function() { + var _this = this, + $$v = _this._mouseover_data$_$v; + if ($$v != null) { + _this._mouseover_data$_helix_idx = $$v.helix_idx; + _this._mouseover_data$_offset = $$v.offset; + _this._mouseover_data$_forward = $$v.forward; + _this._mouseover_data$_$v = null; + } + return _this; + }, + build$0: function() { + var t1, t2, t3, _this = this, + _s15_ = "MouseoverParams", + _$result = _this._mouseover_data$_$v; + if (_$result == null) { + t1 = _this.get$_mouseover_data$_$this()._mouseover_data$_helix_idx; + if (t1 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s15_, "helix_idx")); + t2 = _this.get$_mouseover_data$_$this()._mouseover_data$_offset; + if (t2 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s15_, "offset")); + t3 = _this.get$_mouseover_data$_$this()._mouseover_data$_forward; + if (t3 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s15_, "forward")); + _$result = new K._$MouseoverParams(t1, t2, t3); + } + return _this._mouseover_data$_$v = _$result; + } + }; + K._$MouseoverData.prototype = { + $eq: function(_, other) { + var t1, t2, _this = this; + if (other == null) + return false; + if (other === _this) + return true; + if (other instanceof K.MouseoverData) + if (J.$eq$(_this.helix, other.helix)) + if (_this.offset === other.offset) { + t1 = _this.color_forward; + t2 = other.color_forward; + t1 = t1.get$hashCode(t1); + t2 = t2.get$hashCode(t2); + if (t1 === t2) { + t1 = _this.color_reverse; + t2 = other.color_reverse; + t1 = t1.get$hashCode(t1); + t2 = t2.get$hashCode(t2); + t1 = t1 === t2 && _this.roll_forward === other.roll_forward && _this.minor_groove_angle === other.minor_groove_angle && _this.strand_idx === other.strand_idx && J.$eq$(_this.domain, other.domain); + } else + t1 = false; + } else + t1 = false; + else + t1 = false; + else + t1 = false; + return t1; + }, + get$hashCode: function(_) { + var t2, _this = this, + t1 = _this._mouseover_data$__hashCode; + if (t1 == null) { + t1 = _this.color_forward; + t2 = _this.color_reverse; + t2 = _this._mouseover_data$__hashCode = Y.$jf(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(0, J.get$hashCode$(_this.helix)), C.JSInt_methods.get$hashCode(_this.offset)), t1.get$hashCode(t1)), t2.get$hashCode(t2)), C.JSNumber_methods.get$hashCode(_this.roll_forward)), C.JSNumber_methods.get$hashCode(_this.minor_groove_angle)), C.JSInt_methods.get$hashCode(_this.strand_idx)), J.get$hashCode$(_this.domain))); + t1 = t2; + } + return t1; + }, + toString$0: function(_) { + var _this = this, + t1 = $.$get$newBuiltValueToStringHelper().call$1("MouseoverData"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "helix", _this.helix); + t2.add$2(t1, "offset", _this.offset); + t2.add$2(t1, "color_forward", _this.color_forward); + t2.add$2(t1, "color_reverse", _this.color_reverse); + t2.add$2(t1, "roll_forward", _this.roll_forward); + t2.add$2(t1, "minor_groove_angle", _this.minor_groove_angle); + t2.add$2(t1, "strand_idx", _this.strand_idx); + t2.add$2(t1, "domain", _this.domain); + return t2.toString$0(t1); + }, + get$offset: function(receiver) { + return this.offset; + } + }; + K.MouseoverDataBuilder.prototype = { + get$helix: function() { + var t1 = this.get$_mouseover_data$_$this(), + t2 = t1._mouseover_data$_helix; + if (t2 == null) { + t2 = new O.HelixBuilder(); + t2.get$_helix$_$this()._group = "default_group"; + t2.get$_helix$_$this()._min_offset = 0; + t2.get$_helix$_$this()._roll = 0; + t1._mouseover_data$_helix = t2; + t1 = t2; + } else + t1 = t2; + return t1; + }, + get$offset: function(_) { + return this.get$_mouseover_data$_$this()._mouseover_data$_offset; + }, + get$_mouseover_data$_$this: function() { + var t1, t2, _this = this, + $$v = _this._mouseover_data$_$v; + if ($$v != null) { + t1 = $$v.helix; + t1.toString; + t2 = new O.HelixBuilder(); + t2.get$_helix$_$this()._group = "default_group"; + t2.get$_helix$_$this()._min_offset = 0; + t2.get$_helix$_$this()._roll = 0; + t2._helix$_$v = t1; + _this._mouseover_data$_helix = t2; + _this._mouseover_data$_offset = $$v.offset; + _this._color_forward = $$v.color_forward; + _this._color_reverse = $$v.color_reverse; + _this._roll_forward = $$v.roll_forward; + _this._mouseover_data$_minor_groove_angle = $$v.minor_groove_angle; + _this._strand_idx = $$v.strand_idx; + t1 = $$v.domain; + if (t1 == null) + t1 = null; + else { + t2 = new G.DomainBuilder(); + t2._domain$_$v = t1; + t1 = t2; + } + _this._domain = t1; + _this._mouseover_data$_$v = null; + } + return _this; + }, + build$0: function() { + var _$failedField, e, _$result0, t1, t2, t3, t4, t5, t6, t7, t8, exception, _this = this, + _s13_ = "MouseoverData", + _$result = null; + try { + _$result0 = _this._mouseover_data$_$v; + if (_$result0 == null) { + t1 = _this.get$helix().build$0(); + t2 = _this.get$_mouseover_data$_$this()._mouseover_data$_offset; + if (t2 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s13_, "offset")); + t3 = _this.get$_mouseover_data$_$this()._color_forward; + if (t3 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s13_, "color_forward")); + t4 = _this.get$_mouseover_data$_$this()._color_reverse; + if (t4 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s13_, "color_reverse")); + t5 = _this.get$_mouseover_data$_$this()._roll_forward; + if (t5 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s13_, "roll_forward")); + t6 = _this.get$_mouseover_data$_$this()._mouseover_data$_minor_groove_angle; + if (t6 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s13_, "minor_groove_angle")); + t7 = _this.get$_mouseover_data$_$this()._strand_idx; + if (t7 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s13_, "strand_idx")); + t8 = _this._domain; + _$result0 = new K._$MouseoverData(t1, t2, t3, t4, t5, t6, t7, t8 == null ? null : t8.build$0()); + if (t1 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s13_, "helix")); + } + _$result = _$result0; + } catch (exception) { + H.unwrapException(exception); + _$failedField = null; + try { + _$failedField = "helix"; + _this.get$helix().build$0(); + _$failedField = "domain"; + t1 = _this._domain; + if (t1 != null) + t1.build$0(); + } catch (exception) { + e = H.unwrapException(exception); + t1 = Y.BuiltValueNestedFieldError$(_s13_, _$failedField, J.toString$0$(e)); + throw H.wrapException(t1); + } + throw exception; + } + t1 = type$.legacy_MouseoverData._as(_$result); + if (t1 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + _this._mouseover_data$_$v = t1; + return _$result; + } + }; + K._MouseoverData_Object_BuiltJsonSerializable.prototype = {}; + K._MouseoverParams_Object_BuiltJsonSerializable.prototype = {}; + X.Position3D.prototype = { + $mul: function(_, scalar) { + return X.Position3D_Position3D(this.x * scalar, this.y * scalar, this.z * scalar); + } + }; + X.Position3D_Position3D_closure.prototype = { + call$1: function(b) { + b.get$_position3d$_$this()._x = this.x; + b.get$_position3d$_$this()._y = this.y; + b.get$_position3d$_$this()._z = this.z; + return b; + }, + $signature: 131 + }; + X._$Position3DSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + type$.legacy_Position3D._as(object); + return H.setRuntimeTypeInfo(["x", serializers.serialize$2$specifiedType(object.x, C.FullType_2ru), "y", serializers.serialize$2$specifiedType(object.y, C.FullType_2ru), "z", serializers.serialize$2$specifiedType(object.z, C.FullType_2ru)], type$.JSArray_legacy_Object); + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + var key, value, t1, + result = new X.Position3DBuilder(), + iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + for (; iterator.moveNext$0();) { + key = H._asStringS(iterator.get$current(iterator)); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (key) { + case "x": + t1 = H._asNumS(serializers.deserialize$2$specifiedType(value, C.FullType_2ru)); + result.get$_position3d$_$this()._x = t1; + break; + case "y": + t1 = H._asNumS(serializers.deserialize$2$specifiedType(value, C.FullType_2ru)); + result.get$_position3d$_$this()._y = t1; + break; + case "z": + t1 = H._asNumS(serializers.deserialize$2$specifiedType(value, C.FullType_2ru)); + result.get$_position3d$_$this()._z = t1; + break; + } + } + return result.build$0(); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_Ns6; + }, + get$wireName: function() { + return "Position3D"; + } + }; + X._$Position3D.prototype = { + $eq: function(_, other) { + var _this = this; + if (other == null) + return false; + if (other === _this) + return true; + return other instanceof X.Position3D && _this.x === other.x && _this.y === other.y && _this.z === other.z; + }, + get$hashCode: function(_) { + var _this = this, + t1 = _this._position3d$__hashCode; + return t1 == null ? _this._position3d$__hashCode = Y.$jf(Y.$jc(Y.$jc(Y.$jc(0, C.JSNumber_methods.get$hashCode(_this.x)), C.JSNumber_methods.get$hashCode(_this.y)), C.JSNumber_methods.get$hashCode(_this.z))) : t1; + }, + toString$0: function(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("Position3D"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "x", this.x); + t2.add$2(t1, "y", this.y); + t2.add$2(t1, "z", this.z); + return t2.toString$0(t1); + } + }; + X.Position3DBuilder.prototype = { + get$_position3d$_$this: function() { + var _this = this, + $$v = _this._position3d$_$v; + if ($$v != null) { + _this._x = $$v.x; + _this._y = $$v.y; + _this._z = $$v.z; + _this._position3d$_$v = null; + } + return _this; + }, + build$0: function() { + var t1, t2, t3, _this = this, + _s10_ = "Position3D", + _$result = _this._position3d$_$v; + if (_$result == null) { + t1 = _this.get$_position3d$_$this()._x; + if (t1 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s10_, "x")); + t2 = _this.get$_position3d$_$this()._y; + if (t2 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s10_, "y")); + t3 = _this.get$_position3d$_$this()._z; + if (t3 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s10_, "z")); + _$result = new X._$Position3D(t1, t2, t3); + } + return _this._position3d$_$v = _$result; + } + }; + X._Position3D_Object_BuiltJsonSerializable.prototype = {}; + S.PotentialCrossover.prototype = {}; + S.PotentialCrossover_PotentialCrossover_closure.prototype = { + call$1: function(b) { + var t2, _this = this, + t1 = b.get$address(); + t1._address$_$v = _this.address; + b.get$_potential_crossover$_$this()._potential_crossover$_color = _this.color; + t1 = b.get$dna_end_first_click(); + t1._dna_end$_$v = _this.dna_end_first_click; + t1 = type$.legacy_Point_legacy_num; + t2 = t1._as(_this.start_point); + b.get$_potential_crossover$_$this().set$_start_point(t2); + t1 = t1._as(_this.current_point); + b.get$_potential_crossover$_$this().set$_potential_crossover$_current_point(t1); + b.get$_potential_crossover$_$this()._linker = _this.linker; + return b; + }, + $signature: 116 + }; + S._$PotentialCrossoverSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + var result, value; + type$.legacy_PotentialCrossover._as(object); + result = H.setRuntimeTypeInfo(["address", serializers.serialize$2$specifiedType(object.address, C.FullType_KlG), "color", serializers.serialize$2$specifiedType(object.color, C.FullType_h8g), "dna_end_first_click", serializers.serialize$2$specifiedType(object.dna_end_first_click, C.FullType_QR4), "start_point", serializers.serialize$2$specifiedType(object.start_point, C.FullType_8eb), "current_point", serializers.serialize$2$specifiedType(object.current_point, C.FullType_8eb)], type$.JSArray_legacy_Object); + value = object.linker; + if (value != null) { + C.JSArray_methods.add$1(result, "linker"); + C.JSArray_methods.add$1(result, serializers.serialize$2$specifiedType(value, C.FullType_yCn)); + } + return result; + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + var t1, t2, t3, t4, key, value, t5, t6, + result = new S.PotentialCrossoverBuilder(), + iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + for (t1 = type$.legacy_Linker, t2 = type$.legacy_Point_legacy_num, t3 = type$.legacy_DNAEnd, t4 = type$.legacy_Address; iterator.moveNext$0();) { + key = H._asStringS(iterator.get$current(iterator)); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (key) { + case "address": + t5 = result.get$_potential_crossover$_$this(); + t6 = t5._address; + t5 = t6 == null ? t5._address = new Z.AddressBuilder() : t6; + t6 = t4._as(serializers.deserialize$2$specifiedType(value, C.FullType_KlG)); + if (t6 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + t5._address$_$v = t6; + break; + case "color": + t5 = H._asStringS(serializers.deserialize$2$specifiedType(value, C.FullType_h8g)); + result.get$_potential_crossover$_$this()._potential_crossover$_color = t5; + break; + case "dna_end_first_click": + t5 = result.get$_potential_crossover$_$this(); + t6 = t5._dna_end_first_click; + t5 = t6 == null ? t5._dna_end_first_click = new Z.DNAEndBuilder() : t6; + t6 = t3._as(serializers.deserialize$2$specifiedType(value, C.FullType_QR4)); + if (t6 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + t5._dna_end$_$v = t6; + break; + case "start_point": + t5 = t2._as(t2._as(serializers.deserialize$2$specifiedType(value, C.FullType_8eb))); + result.get$_potential_crossover$_$this().set$_start_point(t5); + break; + case "current_point": + t5 = t2._as(t2._as(serializers.deserialize$2$specifiedType(value, C.FullType_8eb))); + result.get$_potential_crossover$_$this().set$_potential_crossover$_current_point(t5); + break; + case "linker": + t5 = t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_yCn)); + result.get$_potential_crossover$_$this()._linker = t5; + break; + } + } + return result.build$0(); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_Mli; + }, + get$wireName: function() { + return "PotentialCrossover"; + } + }; + S._$PotentialCrossover.prototype = { + $eq: function(_, other) { + var _this = this; + if (other == null) + return false; + if (other === _this) + return true; + return other instanceof S.PotentialCrossover && _this.address.$eq(0, other.address) && _this.color === other.color && _this.dna_end_first_click.$eq(0, other.dna_end_first_click) && _this.start_point.$eq(0, other.start_point) && _this.current_point.$eq(0, other.current_point) && J.$eq$(_this.linker, other.linker); + }, + get$hashCode: function(_) { + var t2, t3, t4, _this = this, + t1 = _this._potential_crossover$__hashCode; + if (t1 == null) { + t1 = _this.address; + t2 = _this.dna_end_first_click; + t3 = _this.start_point; + t4 = _this.current_point; + t4 = _this._potential_crossover$__hashCode = Y.$jf(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(0, t1.get$hashCode(t1)), C.JSString_methods.get$hashCode(_this.color)), t2.get$hashCode(t2)), H.SystemHash_hash2(J.get$hashCode$(t3.x), J.get$hashCode$(t3.y))), H.SystemHash_hash2(J.get$hashCode$(t4.x), J.get$hashCode$(t4.y))), J.get$hashCode$(_this.linker))); + t1 = t4; + } + return t1; + }, + toString$0: function(_) { + var _this = this, + t1 = $.$get$newBuiltValueToStringHelper().call$1("PotentialCrossover"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "address", _this.address); + t2.add$2(t1, "color", _this.color); + t2.add$2(t1, "dna_end_first_click", _this.dna_end_first_click); + t2.add$2(t1, "start_point", _this.start_point); + t2.add$2(t1, "current_point", _this.current_point); + t2.add$2(t1, "linker", _this.linker); + return t2.toString$0(t1); + } + }; + S.PotentialCrossoverBuilder.prototype = { + get$address: function() { + var t1 = this.get$_potential_crossover$_$this(), + t2 = t1._address; + return t2 == null ? t1._address = new Z.AddressBuilder() : t2; + }, + get$dna_end_first_click: function() { + var t1 = this.get$_potential_crossover$_$this(), + t2 = t1._dna_end_first_click; + return t2 == null ? t1._dna_end_first_click = new Z.DNAEndBuilder() : t2; + }, + get$_potential_crossover$_$this: function() { + var t1, t2, _this = this, + $$v = _this._potential_crossover$_$v; + if ($$v != null) { + t1 = $$v.address; + t2 = new Z.AddressBuilder(); + t2._address$_$v = t1; + _this._address = t2; + _this._potential_crossover$_color = $$v.color; + t1 = $$v.dna_end_first_click; + t2 = new Z.DNAEndBuilder(); + t2._dna_end$_$v = t1; + _this._dna_end_first_click = t2; + _this.set$_start_point($$v.start_point); + _this.set$_potential_crossover$_current_point($$v.current_point); + _this._linker = $$v.linker; + _this._potential_crossover$_$v = null; + } + return _this; + }, + build$0: function() { + var _$failedField, e, _$result0, t1, t2, t3, t4, t5, exception, _this = this, + _s18_ = "PotentialCrossover", + _$result = null; + try { + _$result0 = _this._potential_crossover$_$v; + if (_$result0 == null) { + t1 = _this.get$address().build$0(); + t2 = _this.get$_potential_crossover$_$this()._potential_crossover$_color; + if (t2 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s18_, "color")); + t3 = _this.get$dna_end_first_click().build$0(); + t4 = _this.get$_potential_crossover$_$this()._start_point; + if (t4 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s18_, "start_point")); + t5 = _this.get$_potential_crossover$_$this()._potential_crossover$_current_point; + if (t5 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s18_, "current_point")); + _$result0 = new S._$PotentialCrossover(t1, t2, t3, t4, t5, _this.get$_potential_crossover$_$this()._linker); + } + _$result = _$result0; + } catch (exception) { + H.unwrapException(exception); + _$failedField = null; + try { + _$failedField = "address"; + _this.get$address().build$0(); + _$failedField = "dna_end_first_click"; + _this.get$dna_end_first_click().build$0(); + } catch (exception) { + e = H.unwrapException(exception); + t1 = Y.BuiltValueNestedFieldError$(_s18_, _$failedField, J.toString$0$(e)); + throw H.wrapException(t1); + } + throw exception; + } + t1 = type$.legacy_PotentialCrossover._as(_$result); + if (t1 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + _this._potential_crossover$_$v = t1; + return _$result; + }, + set$_start_point: function(_start_point) { + this._start_point = type$.legacy_Point_legacy_num._as(_start_point); + }, + set$_potential_crossover$_current_point: function(_current_point) { + this._potential_crossover$_current_point = type$.legacy_Point_legacy_num._as(_current_point); + } + }; + S._PotentialCrossover_Object_BuiltJsonSerializable.prototype = {}; + Z.PotentialVerticalCrossover.prototype = {}; + Z._$PotentialVerticalCrossoverSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + type$.legacy_PotentialVerticalCrossover._as(object); + return H.setRuntimeTypeInfo(["helix_idx_top", serializers.serialize$2$specifiedType(object.helix_idx_top, C.FullType_kjq), "helix_idx_bot", serializers.serialize$2$specifiedType(object.helix_idx_bot, C.FullType_kjq), "offset", serializers.serialize$2$specifiedType(object.offset, C.FullType_kjq), "forward_top", serializers.serialize$2$specifiedType(object.forward_top, C.FullType_MtR), "color", serializers.serialize$2$specifiedType(object.color, C.FullType_h8g), "domain_top", serializers.serialize$2$specifiedType(object.domain_top, C.FullType_fnc), "domain_bot", serializers.serialize$2$specifiedType(object.domain_bot, C.FullType_fnc), "dna_end_top", serializers.serialize$2$specifiedType(object.dna_end_top, C.FullType_QR4), "dna_end_bot", serializers.serialize$2$specifiedType(object.dna_end_bot, C.FullType_QR4)], type$.JSArray_legacy_Object); + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + var t1, t2, key, value, t3, t4, _s5_ = "other", + result = new Z.PotentialVerticalCrossoverBuilder(), + iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + for (t1 = type$.legacy_DNAEnd, t2 = type$.legacy_Domain; iterator.moveNext$0();) { + key = H._asStringS(iterator.get$current(iterator)); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (key) { + case "helix_idx_top": + t3 = H._asIntS(serializers.deserialize$2$specifiedType(value, C.FullType_kjq)); + result.get$_potential_vertical_crossover$_$this()._helix_idx_top = t3; + break; + case "helix_idx_bot": + t3 = H._asIntS(serializers.deserialize$2$specifiedType(value, C.FullType_kjq)); + result.get$_potential_vertical_crossover$_$this()._helix_idx_bot = t3; + break; + case "offset": + t3 = H._asIntS(serializers.deserialize$2$specifiedType(value, C.FullType_kjq)); + result.get$_potential_vertical_crossover$_$this()._potential_vertical_crossover$_offset = t3; + break; + case "forward_top": + t3 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); + result.get$_potential_vertical_crossover$_$this()._forward_top = t3; + break; + case "color": + t3 = H._asStringS(serializers.deserialize$2$specifiedType(value, C.FullType_h8g)); + result.get$_potential_vertical_crossover$_$this()._potential_vertical_crossover$_color = t3; + break; + case "domain_top": + t3 = result.get$_potential_vertical_crossover$_$this(); + t4 = t3._domain_top; + t3 = t4 == null ? t3._domain_top = new G.DomainBuilder() : t4; + t4 = t2._as(serializers.deserialize$2$specifiedType(value, C.FullType_fnc)); + if (t4 == null) + H.throwExpression(P.ArgumentError$notNull(_s5_)); + t3._domain$_$v = t4; + break; + case "domain_bot": + t3 = result.get$_potential_vertical_crossover$_$this(); + t4 = t3._domain_bot; + t3 = t4 == null ? t3._domain_bot = new G.DomainBuilder() : t4; + t4 = t2._as(serializers.deserialize$2$specifiedType(value, C.FullType_fnc)); + if (t4 == null) + H.throwExpression(P.ArgumentError$notNull(_s5_)); + t3._domain$_$v = t4; + break; + case "dna_end_top": + t3 = result.get$_potential_vertical_crossover$_$this(); + t4 = t3._dna_end_top; + t3 = t4 == null ? t3._dna_end_top = new Z.DNAEndBuilder() : t4; + t4 = t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_QR4)); + if (t4 == null) + H.throwExpression(P.ArgumentError$notNull(_s5_)); + t3._dna_end$_$v = t4; + break; + case "dna_end_bot": + t3 = result.get$_potential_vertical_crossover$_$this(); + t4 = t3._dna_end_bot; + t3 = t4 == null ? t3._dna_end_bot = new Z.DNAEndBuilder() : t4; + t4 = t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_QR4)); + if (t4 == null) + H.throwExpression(P.ArgumentError$notNull(_s5_)); + t3._dna_end$_$v = t4; + break; + } + } + return result.build$0(); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_LQu; + }, + get$wireName: function() { + return "PotentialVerticalCrossover"; + } + }; + Z._$PotentialVerticalCrossover.prototype = { + $eq: function(_, other) { + var _this = this; + if (other == null) + return false; + if (other === _this) + return true; + return other instanceof Z.PotentialVerticalCrossover && _this.helix_idx_top === other.helix_idx_top && _this.helix_idx_bot == other.helix_idx_bot && _this.offset == other.offset && _this.forward_top == other.forward_top && _this.color === other.color && J.$eq$(_this.domain_top, other.domain_top) && J.$eq$(_this.domain_bot, other.domain_bot) && J.$eq$(_this.dna_end_top, other.dna_end_top) && J.$eq$(_this.dna_end_bot, other.dna_end_bot); + }, + get$hashCode: function(_) { + var _this = this, + t1 = _this._potential_vertical_crossover$__hashCode; + return t1 == null ? _this._potential_vertical_crossover$__hashCode = Y.$jf(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(0, C.JSInt_methods.get$hashCode(_this.helix_idx_top)), J.get$hashCode$(_this.helix_idx_bot)), J.get$hashCode$(_this.offset)), J.get$hashCode$(_this.forward_top)), C.JSString_methods.get$hashCode(_this.color)), J.get$hashCode$(_this.domain_top)), J.get$hashCode$(_this.domain_bot)), J.get$hashCode$(_this.dna_end_top)), J.get$hashCode$(_this.dna_end_bot))) : t1; + }, + toString$0: function(_) { + var _this = this, + t1 = $.$get$newBuiltValueToStringHelper().call$1("PotentialVerticalCrossover"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "helix_idx_top", _this.helix_idx_top); + t2.add$2(t1, "helix_idx_bot", _this.helix_idx_bot); + t2.add$2(t1, "offset", _this.offset); + t2.add$2(t1, "forward_top", _this.forward_top); + t2.add$2(t1, "color", _this.color); + t2.add$2(t1, "domain_top", _this.domain_top); + t2.add$2(t1, "domain_bot", _this.domain_bot); + t2.add$2(t1, "dna_end_top", _this.dna_end_top); + t2.add$2(t1, "dna_end_bot", _this.dna_end_bot); + return t2.toString$0(t1); + }, + get$offset: function(receiver) { + return this.offset; + } + }; + Z.PotentialVerticalCrossoverBuilder.prototype = { + get$offset: function(_) { + return this.get$_potential_vertical_crossover$_$this()._potential_vertical_crossover$_offset; + }, + get$domain_top: function() { + var t1 = this.get$_potential_vertical_crossover$_$this(), + t2 = t1._domain_top; + return t2 == null ? t1._domain_top = new G.DomainBuilder() : t2; + }, + get$domain_bot: function() { + var t1 = this.get$_potential_vertical_crossover$_$this(), + t2 = t1._domain_bot; + return t2 == null ? t1._domain_bot = new G.DomainBuilder() : t2; + }, + get$dna_end_top: function() { + var t1 = this.get$_potential_vertical_crossover$_$this(), + t2 = t1._dna_end_top; + return t2 == null ? t1._dna_end_top = new Z.DNAEndBuilder() : t2; + }, + get$dna_end_bot: function() { + var t1 = this.get$_potential_vertical_crossover$_$this(), + t2 = t1._dna_end_bot; + return t2 == null ? t1._dna_end_bot = new Z.DNAEndBuilder() : t2; + }, + get$_potential_vertical_crossover$_$this: function() { + var t1, t2, _this = this, + $$v = _this._potential_vertical_crossover$_$v; + if ($$v != null) { + _this._helix_idx_top = $$v.helix_idx_top; + _this._helix_idx_bot = $$v.helix_idx_bot; + _this._potential_vertical_crossover$_offset = $$v.offset; + _this._forward_top = $$v.forward_top; + _this._potential_vertical_crossover$_color = $$v.color; + t1 = $$v.domain_top; + t1.toString; + t2 = new G.DomainBuilder(); + t2._domain$_$v = t1; + _this._domain_top = t2; + t1 = $$v.domain_bot; + t1.toString; + t2 = new G.DomainBuilder(); + t2._domain$_$v = t1; + _this._domain_bot = t2; + t1 = $$v.dna_end_top; + t1.toString; + t2 = new Z.DNAEndBuilder(); + t2._dna_end$_$v = t1; + _this._dna_end_top = t2; + t1 = $$v.dna_end_bot; + t1.toString; + t2 = new Z.DNAEndBuilder(); + t2._dna_end$_$v = t1; + _this._dna_end_bot = t2; + _this._potential_vertical_crossover$_$v = null; + } + return _this; + }, + build$0: function() { + var _$failedField, e, _$result0, t1, t2, t3, t4, t5, t6, t7, t8, exception, _this = this, + _s26_ = "PotentialVerticalCrossover", + _$result = null; + try { + _$result0 = _this._potential_vertical_crossover$_$v; + if (_$result0 == null) { + t1 = _this.get$_potential_vertical_crossover$_$this()._helix_idx_top; + if (t1 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s26_, "helix_idx_top")); + t2 = _this.get$_potential_vertical_crossover$_$this()._helix_idx_bot; + if (t2 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s26_, "helix_idx_bot")); + t3 = _this.get$_potential_vertical_crossover$_$this()._potential_vertical_crossover$_offset; + if (t3 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s26_, "offset")); + t4 = _this.get$_potential_vertical_crossover$_$this()._forward_top; + if (t4 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s26_, "forward_top")); + t5 = _this.get$_potential_vertical_crossover$_$this()._potential_vertical_crossover$_color; + if (t5 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s26_, "color")); + t6 = _this.get$domain_top().build$0(); + t7 = _this.get$domain_bot().build$0(); + t8 = _this.get$dna_end_top().build$0(); + _$result0 = Z._$PotentialVerticalCrossover$_(t5, _this.get$dna_end_bot().build$0(), t8, t7, t6, t4, t2, t1, t3); + } + _$result = _$result0; + } catch (exception) { + H.unwrapException(exception); + _$failedField = null; + try { + _$failedField = "domain_top"; + _this.get$domain_top().build$0(); + _$failedField = "domain_bot"; + _this.get$domain_bot().build$0(); + _$failedField = "dna_end_top"; + _this.get$dna_end_top().build$0(); + _$failedField = "dna_end_bot"; + _this.get$dna_end_bot().build$0(); + } catch (exception) { + e = H.unwrapException(exception); + t1 = Y.BuiltValueNestedFieldError$(_s26_, _$failedField, J.toString$0$(e)); + throw H.wrapException(t1); + } + throw exception; + } + t1 = type$.legacy_PotentialVerticalCrossover._as(_$result); + if (t1 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + _this._potential_vertical_crossover$_$v = t1; + return _$result; + } + }; + Z._PotentialVerticalCrossover_Object_BuiltJsonSerializable.prototype = {}; + D.SelectModeChoice.prototype = { + get$display_name: function() { + var _this = this; + if (_this === C.SelectModeChoice_end_5p_strand) + return "5' strand"; + else if (_this === C.SelectModeChoice_end_3p_strand) + return "3' strand"; + else if (_this === C.SelectModeChoice_end_5p_domain) + return "5' domain"; + else if (_this === C.SelectModeChoice_end_3p_domain) + return "3' domain"; + else + return _this.super$EnumClass$toString(0); + }, + toString$0: function(_) { + return this.get$display_name(); + }, + get$image_file: function() { + switch (this) { + case C.SelectModeChoice_end_5p_strand: + return "images/select_mode_icons/5pstrand.svg"; + case C.SelectModeChoice_end_3p_strand: + return "images/select_mode_icons/3pstrand.svg"; + case C.SelectModeChoice_end_5p_domain: + return "images/select_mode_icons/5pdomain.svg"; + case C.SelectModeChoice_end_3p_domain: + return "images/select_mode_icons/3pdomain.svg"; + case C.SelectModeChoice_domain: + return "images/select_mode_icons/domain.svg"; + case C.SelectModeChoice_crossover: + return "images/select_mode_icons/crossover.svg"; + case C.SelectModeChoice_loopout: + return "images/select_mode_icons/loopout.svg"; + case C.SelectModeChoice_extension_: + return "images/select_mode_icons/extension.svg"; + case C.SelectModeChoice_deletion: + return "images/select_mode_icons/del.svg"; + case C.SelectModeChoice_insertion: + return "images/select_mode_icons/inser.svg"; + case C.SelectModeChoice_modification: + return "images/select_mode_icons/mod.svg"; + case C.SelectModeChoice_strand: + return "images/select_mode_icons/strand.svg"; + case C.SelectModeChoice_scaffold: + return "images/select_mode_icons/scaffold.svg"; + case C.SelectModeChoice_staple: + return "images/select_mode_icons/staple.svg"; + } + return ""; + }, + get$tooltip: function() { + switch (this) { + case C.SelectModeChoice_end_5p_strand: + return "5' strand: Allows one to select the 5'\nend (square) of a whole strand. If many\n5' ends are selected, then one can\nadd a 5' modification to all of them\nby right-clicking and selecting \"add\nmodification\". This will add only to\nthe type of modification picked. For\nexample, if both 5' and 3' ends are\nselected, and a 5' modification is\nadded, then only the 5' ends are\nmodified."; + case C.SelectModeChoice_end_3p_strand: + return "3' strand: Allows one to select the 3'\nend (triangle) of a whole strand. If many\n3' ends are selected, then one can\nadd a 3' modification to all of them\nby right-clicking and selecting \"add\nmodification\". This will add only to\nthe type of modification picked. For\nexample, if both 5' and 3' ends are\nselected, and a 3' modification is\nadded, then only the 3' ends are\nmodified."; + case C.SelectModeChoice_end_5p_domain: + return "5' domain: Each strand is\ncomposed of one or more bound domains,\ndefined to be a portion of a strand\nthat exists on a single helix. A 5'/3'\nend of a bound domain that is not the\n5'/3' end of the whole strand is one of\nthese. They are not normally visible,\nbut when these select modes are\nenabled, they become visible on\nmouseover and can be selected and\ndragged. Deleting a 5'/3' end of a\nbound domain deletes the whole bound\ndomain. Ends can be moved, but unlike\nstrands and domains, they can only be\nmoved back and forth along their\ncurrent helix."; + case C.SelectModeChoice_end_3p_domain: + return "3' domain: Each strand is\ncomposed of one or more bound domains,\ndefined to be a portion of a strand\nthat exists on a single helix. A 5'/3'\nend of a bound domain that is not the\n5'/3' end of the whole strand is one of\nthese. They are not normally visible,\nbut when these select modes are\nenabled, they become visible on\nmouseover and can be selected and\ndragged. Deleting a 5'/3' end of a\nbound domain deletes the whole bound\ndomain. Ends can be moved, but unlike\nstrands and domains, they can only be\nmoved back and forth along their\ncurrent helix."; + case C.SelectModeChoice_domain: + return "domain: A single bound domain can be\nselected. Groups of domains can be\nmoved, but only if they are all in the\nsame helix group. (Though they can be\nmoved to a different helix group.)"; + case C.SelectModeChoice_crossover: + return 'crossover: Two consecutive bound\ndomains on a strand can be joined by a\ncrossover, which consists of no DNA\nbases (Technically bound domains do not\nhave to be bound to another strand, but\nthe idea is that generally in a\nfinished design, most of the bound\ndomains will actually be bound to\nanother.)\n\nIf many crossovers/loopouts are\nselected, all the crossovers can be\nconverted to loopouts (or vice versa)\nby right-clicking on one of them and\npicking "convert to loopout" (or\n"change loopout length" if a loopout;\nchanging to length 0 converts it to a\ncrossover).'; + case C.SelectModeChoice_loopout: + return 'loopout: Two consecutive bound domains\non a strand can be joined by a loopout,\nwhich is a single-stranded portion of\nthe strand with one or more DNA bases.\n(Technically bound domains do not have\nto be bound to another strand, but the\nidea is that generally in a finished\ndesign, most of the bound domains will\nactually be bound to another.)\n\nIf many crossovers/loopouts are\nselected, all the crossovers can be\nconverted to loopouts (or vice versa)\nby right-clicking on one of them and\npicking "convert to loopout" (or\n"change loopout length" if a loopout;\nchanging to length 0 converts it to a\ncrossover).'; + case C.SelectModeChoice_extension_: + return "extension: An extension is a single-stranded\nportion of a strand that is not on a\nHelix (like a domain) and does not connect\ntwo domains. It is like a loopout but on\nthe end of a strand, useful for modeling\ntoeholds for DNA strand displacement, \nfor instance."; + case C.SelectModeChoice_deletion: + return "deletion: Deletions can be selected and\ndeleted in batch by pressing the Delete\nkey."; + case C.SelectModeChoice_insertion: + return "insertion: Insertions can be selected\nand deleted in batch by pressing the\nDelete key. Also, one can change the\nlength of all selected insertions by\nright-clicking on one of them and\nselecting the option to change\ninsertion length."; + case C.SelectModeChoice_modification: + return 'modification: If many modifications are\nselected, they can be deleted at once\nby pressing the Delete key (or\nright-clicking and selecting "remove\nmodification"). Those of a similar type\n(5\', 3\', or internal) can be modified\nin batch by right-clicking on one of\nthem and selecting "edit\nmodification".'; + case C.SelectModeChoice_strand: + return "strand: The whole strand can be\nselected. Groups of strands can be\ncopy/pasted or moved, but only if they\nare all in the same helix group.\n(Though they can be copied/moved to a\ndifferent helix group.)"; + case C.SelectModeChoice_scaffold: + return "scaffold: This option allows one to\nselect scaffold strands. The\noption is not shown in a non-origami\ndesign."; + case C.SelectModeChoice_staple: + return "staple: All non-scaffold strands are\ncalled staples. This option allows one\nto select staples. The option is not\nshown in a non-origami design."; + } + return ""; + }, + css_selector$0: function() { + switch (this) { + case C.SelectModeChoice_end_5p_strand: + return "five-prime-end-first-substrand"; + case C.SelectModeChoice_end_3p_strand: + return "three-prime-end-last-substrand"; + case C.SelectModeChoice_end_5p_domain: + return "five-prime-end"; + case C.SelectModeChoice_end_3p_domain: + return "three-prime-end"; + case C.SelectModeChoice_domain: + return "domain-line"; + case C.SelectModeChoice_crossover: + return "crossover-curve"; + case C.SelectModeChoice_loopout: + return "loopout-curve"; + case C.SelectModeChoice_extension_: + return "extension-line"; + case C.SelectModeChoice_deletion: + return "deletion-cross"; + case C.SelectModeChoice_insertion: + return "insertion-curve"; + case C.SelectModeChoice_modification: + return "modification"; + case C.SelectModeChoice_strand: + return "strand"; + case C.SelectModeChoice_scaffold: + return "scaffold"; + case C.SelectModeChoice_staple: + return "staple"; + } + throw H.wrapException(P.AssertionError$("should not be reachable; unknown SelectModeChoice used: " + this.toString$0(0))); + } + }; + D._$SelectModeChoiceSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + return type$.legacy_SelectModeChoice._as(object).name; + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + return D._$valueOf8(H._asStringS(serialized)); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isPrimitiveSerializer: 1, + get$types: function() { + return C.List_Type_SelectModeChoice_a75; + }, + get$wireName: function() { + return "SelectModeChoice"; + } + }; + N.SelectModeState.prototype = { + get$strands_selectable: function() { + return this.modes._set.contains$1(0, C.SelectModeChoice_strand); + }, + get$linkers_selectable: function() { + var t1 = this.modes._set; + return t1.contains$1(0, C.SelectModeChoice_crossover) || t1.contains$1(0, C.SelectModeChoice_loopout); + }, + get$ends_selectable: function() { + var t1 = this.modes._set; + return t1.contains$1(0, C.SelectModeChoice_end_3p_strand) || t1.contains$1(0, C.SelectModeChoice_end_5p_strand) || t1.contains$1(0, C.SelectModeChoice_end_3p_domain) || t1.contains$1(0, C.SelectModeChoice_end_5p_domain); + }, + get$domains_selectable: function() { + return this.modes._set.contains$1(0, C.SelectModeChoice_domain); + }, + get$extensions_selectable: function() { + return this.modes._set.contains$1(0, C.SelectModeChoice_extension_); + }, + get$deletions_selectable: function() { + return this.modes._set.contains$1(0, C.SelectModeChoice_deletion); + }, + get$insertions_selectable: function() { + return this.modes._set.contains$1(0, C.SelectModeChoice_insertion); + }, + get$modifications_selectable: function() { + return this.modes._set.contains$1(0, C.SelectModeChoice_modification); + }, + add_mode$1: function(mode) { + N.SelectModeState_add_selectable_css_selectors(mode); + return this.rebuild$1(new N.SelectModeState_add_mode_closure(this, mode)); + }, + remove_mode$1: function(mode) { + N.SelectModeState_remove_selectable_css_selectors(mode); + return this.rebuild$1(new N.SelectModeState_remove_mode_closure(this, mode)); + }, + add_modes$1: function(new_modes) { + var t1; + type$.legacy_Iterable_legacy_SelectModeChoice._as(new_modes); + for (t1 = J.get$iterator$ax(new_modes._list); t1.moveNext$0();) + N.SelectModeState_add_selectable_css_selectors(t1.get$current(t1)); + return this.rebuild$1(new N.SelectModeState_add_modes_closure(this, new_modes)); + }, + remove_modes$1: function(new_modes) { + var t1; + type$.legacy_Iterable_legacy_SelectModeChoice._as(new_modes); + for (t1 = J.get$iterator$ax(new_modes); t1.moveNext$0();) + N.SelectModeState_remove_selectable_css_selectors(t1.get$current(t1)); + return this.rebuild$1(new N.SelectModeState_remove_modes_closure(this, new_modes)); + }, + set_modes$1: function(new_modes) { + var t1, t2, t3; + type$.legacy_Iterable_legacy_SelectModeChoice._as(new_modes); + for (t1 = new_modes._set, t2 = t1.get$iterator(t1); t2.moveNext$0();) { + t3 = t2.get$current(t2); + if (t1.contains$1(0, t3)) + N.SelectModeState_add_selectable_css_selectors(t3); + else + N.SelectModeState_remove_selectable_css_selectors(t3); + } + return this.rebuild$1(new N.SelectModeState_set_modes_closure(new_modes)); + } + }; + N.SelectModeState_add_mode_closure.prototype = { + call$1: function(s) { + var t2, t3, + t1 = this.$this.modes; + t1.toString; + t2 = t1.$ti; + t2._eval$1("_BuiltSet<1>")._as(t1); + t1 = new X.SetBuilder(t1._setFactory, t1._set, t1, t2._eval$1("SetBuilder<1>")); + t2 = t2._precomputed1; + t3 = t2._as(this.mode); + !$.$get$isSoundMode() && !t2._is(null); + t1.get$_safeSet().add$1(0, t3); + type$.legacy_SetBuilder_legacy_SelectModeChoice._as(t1); + s.get$_select_mode_state$_$this().set$_modes(t1); + return s; + }, + $signature: 76 + }; + N.SelectModeState_remove_mode_closure.prototype = { + call$1: function(s) { + var t2, + t1 = this.$this.modes; + t1.toString; + t2 = t1.$ti; + t2._eval$1("_BuiltSet<1>")._as(t1); + t2 = new X.SetBuilder(t1._setFactory, t1._set, t1, t2._eval$1("SetBuilder<1>")); + t2.get$_safeSet().remove$1(0, this.mode); + type$.legacy_SetBuilder_legacy_SelectModeChoice._as(t2); + s.get$_select_mode_state$_$this().set$_modes(t2); + return s; + }, + $signature: 76 + }; + N.SelectModeState_add_modes_closure.prototype = { + call$1: function(s) { + var t2, + t1 = this.$this.modes; + t1.toString; + t2 = t1.$ti; + t2._eval$1("_BuiltSet<1>")._as(t1); + t2 = new X.SetBuilder(t1._setFactory, t1._set, t1, t2._eval$1("SetBuilder<1>")); + t2.addAll$1(0, this.new_modes); + type$.legacy_SetBuilder_legacy_SelectModeChoice._as(t2); + s.get$_select_mode_state$_$this().set$_modes(t2); + return s; + }, + $signature: 76 + }; + N.SelectModeState_remove_modes_closure.prototype = { + call$1: function(s) { + var t2, + t1 = this.$this.modes; + t1.toString; + t2 = t1.$ti; + t2._eval$1("_BuiltSet<1>")._as(t1); + t2 = new X.SetBuilder(t1._setFactory, t1._set, t1, t2._eval$1("SetBuilder<1>")); + t2.get$_safeSet().removeAll$1(this.new_modes); + type$.legacy_SetBuilder_legacy_SelectModeChoice._as(t2); + s.get$_select_mode_state$_$this().set$_modes(t2); + return s; + }, + $signature: 76 + }; + N.SelectModeState_set_modes_closure.prototype = { + call$1: function(s) { + var t1 = X.SetBuilder_SetBuilder(this.new_modes, type$.legacy_SelectModeChoice); + type$.legacy_SetBuilder_legacy_SelectModeChoice._as(t1); + s.get$_select_mode_state$_$this().set$_modes(t1); + return t1; + }, + $signature: 389 + }; + N._$SelectModeStateSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + return H.setRuntimeTypeInfo(["modes", serializers.serialize$2$specifiedType(type$.legacy_SelectModeState._as(object).modes, C.FullType_2aQ)], type$.JSArray_legacy_Object); + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + var result, t1, iterator, t2, key, value, $$v, t3, t4; + type$.legacy_Iterable_legacy_Object._as(serialized); + result = new N.SelectModeStateBuilder(); + t1 = type$.legacy_SetBuilder_legacy_SelectModeChoice._as(X.SetBuilder_SetBuilder([C.SelectModeChoice_strand, C.SelectModeChoice_staple, C.SelectModeChoice_scaffold], type$.legacy_SelectModeChoice)); + result.get$_select_mode_state$_$this().set$_modes(t1); + iterator = J.get$iterator$ax(serialized); + for (t1 = type$.legacy_BuiltSet_legacy_Object, t2 = type$.SetBuilder_legacy_SelectModeChoice; iterator.moveNext$0();) { + key = H._asStringS(iterator.get$current(iterator)); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (key) { + case "modes": + $$v = result._select_mode_state$_$v; + if ($$v != null) { + t3 = $$v.modes; + t3.toString; + t4 = t3.$ti; + t4._eval$1("_BuiltSet<1>")._as(t3); + result.set$_modes(new X.SetBuilder(t3._setFactory, t3._set, t3, t4._eval$1("SetBuilder<1>"))); + result._select_mode_state$_$v = null; + } + t3 = result._modes; + if (t3 == null) { + t3 = new X.SetBuilder(null, $, null, t2); + t3.replace$1(0, C.List_empty); + result.set$_modes(t3); + } + t3.replace$1(0, t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_2aQ))); + break; + } + } + return result.build$0(); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_qLL; + }, + get$wireName: function() { + return "SelectModeState"; + } + }; + N._$SelectModeState.prototype = { + get$domains_selectable: function() { + var t1 = this.__domains_selectable; + return t1 == null ? this.__domains_selectable = N.SelectModeState.prototype.get$domains_selectable.call(this) : t1; + }, + get$deletions_selectable: function() { + var t1 = this.__deletions_selectable; + return t1 == null ? this.__deletions_selectable = N.SelectModeState.prototype.get$deletions_selectable.call(this) : t1; + }, + get$insertions_selectable: function() { + var t1 = this.__insertions_selectable; + return t1 == null ? this.__insertions_selectable = N.SelectModeState.prototype.get$insertions_selectable.call(this) : t1; + }, + rebuild$1: function(updates) { + var t1, t2; + type$.legacy_void_Function_legacy_SelectModeStateBuilder._as(updates); + t1 = new N.SelectModeStateBuilder(); + t2 = type$.legacy_SetBuilder_legacy_SelectModeChoice._as(X.SetBuilder_SetBuilder([C.SelectModeChoice_strand, C.SelectModeChoice_staple, C.SelectModeChoice_scaffold], type$.legacy_SelectModeChoice)); + t1.get$_select_mode_state$_$this().set$_modes(t2); + t1._select_mode_state$_$v = this; + updates.call$1(t1); + return t1.build$0(); + }, + $eq: function(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof N.SelectModeState && J.$eq$(this.modes, other.modes); + }, + get$hashCode: function(_) { + var t1 = this._select_mode_state$__hashCode; + return t1 == null ? this._select_mode_state$__hashCode = Y.$jf(Y.$jc(0, J.get$hashCode$(this.modes))) : t1; + }, + toString$0: function(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("SelectModeState"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "modes", this.modes); + return t2.toString$0(t1); + } + }; + N.SelectModeStateBuilder.prototype = { + get$modes: function() { + var t1 = this.get$_select_mode_state$_$this(), + t2 = t1._modes; + if (t2 == null) { + t2 = X.SetBuilder_SetBuilder(C.List_empty, type$.legacy_SelectModeChoice); + t1.set$_modes(t2); + t1 = t2; + } else + t1 = t2; + return t1; + }, + get$_select_mode_state$_$this: function() { + var t1, t2, _this = this, + $$v = _this._select_mode_state$_$v; + if ($$v != null) { + t1 = $$v.modes; + t1.toString; + t2 = t1.$ti; + t2._eval$1("_BuiltSet<1>")._as(t1); + _this.set$_modes(new X.SetBuilder(t1._setFactory, t1._set, t1, t2._eval$1("SetBuilder<1>"))); + _this._select_mode_state$_$v = null; + } + return _this; + }, + build$0: function() { + var _$failedField, e, _$result0, t1, exception, _this = this, + _s15_ = "SelectModeState", + _$result = null; + try { + _$result0 = _this._select_mode_state$_$v; + if (_$result0 == null) { + t1 = _this.get$modes().build$0(); + _$result0 = new N._$SelectModeState(t1); + if (t1 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s15_, "modes")); + } + _$result = _$result0; + } catch (exception) { + H.unwrapException(exception); + _$failedField = null; + try { + _$failedField = "modes"; + _this.get$modes().build$0(); + } catch (exception) { + e = H.unwrapException(exception); + t1 = Y.BuiltValueNestedFieldError$(_s15_, _$failedField, J.toString$0$(e)); + throw H.wrapException(t1); + } + throw exception; + } + t1 = type$.legacy_SelectModeState._as(_$result); + if (t1 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + _this._select_mode_state$_$v = t1; + return _$result; + }, + set$_modes: function(_modes) { + this._modes = type$.legacy_SetBuilder_legacy_SelectModeChoice._as(_modes); + } + }; + E.SelectablesStore.prototype = { + get$selected_strands: function() { + var t1 = this.selected_items; + t1.toString; + return X.BuiltSet_BuiltSet$from(t1._set.where$1(0, t1.$ti._eval$1("bool(1)")._as(new E.SelectablesStore_selected_strands_closure())), type$.legacy_Strand); + }, + get$selected_crossovers: function() { + var t1 = this.selected_items; + t1.toString; + return X.BuiltSet_BuiltSet$from(t1._set.where$1(0, t1.$ti._eval$1("bool(1)")._as(new E.SelectablesStore_selected_crossovers_closure())), type$.legacy_Crossover); + }, + get$selected_loopouts: function() { + var t1 = this.selected_items; + t1.toString; + return X.BuiltSet_BuiltSet$from(t1._set.where$1(0, t1.$ti._eval$1("bool(1)")._as(new E.SelectablesStore_selected_loopouts_closure())), type$.legacy_Loopout); + }, + get$selected_extensions: function() { + var t1 = this.selected_items; + t1.toString; + return X.BuiltSet_BuiltSet$from(t1._set.where$1(0, t1.$ti._eval$1("bool(1)")._as(new E.SelectablesStore_selected_extensions_closure())), type$.legacy_Extension); + }, + get$selected_domains: function() { + var t1 = this.selected_items; + t1.toString; + return X.BuiltSet_BuiltSet$from(t1._set.where$1(0, t1.$ti._eval$1("bool(1)")._as(new E.SelectablesStore_selected_domains_closure())), type$.legacy_Domain); + }, + get$selected_dna_ends: function() { + var t1 = this.selected_items; + t1.toString; + return X.BuiltSet_BuiltSet$from(t1._set.where$1(0, t1.$ti._eval$1("bool(1)")._as(new E.SelectablesStore_selected_dna_ends_closure())), type$.legacy_DNAEnd); + }, + get$selected_dna_ends_on_domains: function() { + var t1 = this.get$selected_dna_ends(); + return X.BuiltSet_BuiltSet$from(t1._set.where$1(0, t1.$ti._eval$1("bool(1)")._as(new E.SelectablesStore_selected_dna_ends_on_domains_closure())), type$.legacy_DNAEnd); + }, + get$selected_dna_ends_on_extensions: function() { + var t1 = this.get$selected_dna_ends(); + return X.BuiltSet_BuiltSet$from(t1._set.where$1(0, t1.$ti._eval$1("bool(1)")._as(new E.SelectablesStore_selected_dna_ends_on_extensions_closure())), type$.legacy_DNAEnd); + }, + get$selected_deletions: function() { + var t1 = this.selected_items; + t1.toString; + return X.BuiltSet_BuiltSet$from(t1._set.where$1(0, t1.$ti._eval$1("bool(1)")._as(new E.SelectablesStore_selected_deletions_closure())), type$.legacy_SelectableDeletion); + }, + get$selected_insertions: function() { + var t1 = this.selected_items; + t1.toString; + return X.BuiltSet_BuiltSet$from(t1._set.where$1(0, t1.$ti._eval$1("bool(1)")._as(new E.SelectablesStore_selected_insertions_closure())), type$.legacy_SelectableInsertion); + }, + get$selected_modifications: function() { + var t1 = this.selected_items; + t1.toString; + return X.BuiltSet_BuiltSet$from(t1._set.where$1(0, t1.$ti._eval$1("bool(1)")._as(new E.SelectablesStore_selected_modifications_closure())), type$.legacy_SelectableModification); + }, + select$2$only: function(_, selectable, only) { + var t2, selected_items_builder, + t1 = this.selected_items; + t1.toString; + t2 = t1.$ti; + t2._eval$1("_BuiltSet<1>")._as(t1); + selected_items_builder = new X.SetBuilder(t1._setFactory, t1._set, t1, t2._eval$1("SetBuilder<1>")); + if (only) + selected_items_builder.get$_safeSet().clear$0(0); + t1 = t2._precomputed1; + t1._as(selectable); + !$.$get$isSoundMode() && !t1._is(null); + selected_items_builder.get$_safeSet().add$1(0, selectable); + return this.rebuild$1(new E.SelectablesStore_select_closure(selected_items_builder)); + }, + select$1: function($receiver, selectable) { + return this.select$2$only($receiver, selectable, false); + }, + unselect$1: function(selectable) { + var t2, selected_items_builder, + t1 = this.selected_items; + t1.toString; + t2 = t1.$ti; + t2._eval$1("_BuiltSet<1>")._as(t1); + selected_items_builder = new X.SetBuilder(t1._setFactory, t1._set, t1, t2._eval$1("SetBuilder<1>")); + selected_items_builder.get$_safeSet().remove$1(0, selectable); + return this.rebuild$1(new E.SelectablesStore_unselect_closure(selected_items_builder)); + }, + clear$0: function(_) { + return this.rebuild$1(new E.SelectablesStore_clear_closure()); + }, + select_all$2$only: function(selectables, only) { + var t1, t2, selected_items_builder; + type$.legacy_Iterable_legacy_Selectable._as(selectables); + t1 = this.selected_items; + t1.toString; + t2 = t1.$ti; + t2._eval$1("_BuiltSet<1>")._as(t1); + selected_items_builder = new X.SetBuilder(t1._setFactory, t1._set, t1, t2._eval$1("SetBuilder<1>")); + if (only) + selected_items_builder.get$_safeSet().clear$0(0); + selected_items_builder.addAll$1(0, selectables); + return this.rebuild$1(new E.SelectablesStore_select_all_closure(selected_items_builder)); + }, + select_all$1: function(selectables) { + return this.select_all$2$only(selectables, false); + }, + toggle$1: function(_, selectable) { + if (this.selected_items._set.contains$1(0, selectable)) + return this.unselect$1(selectable); + else + return this.select$1(0, selectable); + }, + toggle_all$1: function(selectables) { + var t1, t2, t3, selected_items_builder, t4, t5; + type$.legacy_Iterable_legacy_Selectable._as(selectables); + t1 = this.selected_items; + t1.toString; + t2 = t1.$ti; + t2._eval$1("_BuiltSet<1>")._as(t1); + t3 = t1._set; + selected_items_builder = new X.SetBuilder(t1._setFactory, t3, t1, t2._eval$1("SetBuilder<1>")); + for (t1 = J.get$iterator$ax(selectables._list), t2 = t2._precomputed1, t4 = !t2._is(null); t1.moveNext$0();) { + t5 = t1.get$current(t1); + if (t3.contains$1(0, t5)) + selected_items_builder.get$_safeSet().remove$1(0, t5); + else { + t2._as(t5); + if (!$.$get$isSoundMode() && t4) + if (t5 == null) + H.throwExpression(P.ArgumentError$("null element")); + selected_items_builder.get$_safeSet().add$1(0, t5); + } + } + return this.rebuild$1(new E.SelectablesStore_toggle_all_closure(selected_items_builder)); + }, + selected_ends_in_strand$1: function(strand) { + var t3, t4, t5, t6, _i, end, _this = this, + t1 = type$.legacy_DNAEnd, + t2 = P.LinkedHashSet_LinkedHashSet$_empty(t1); + for (t3 = J.get$iterator$ax(strand.get$domains()._list); t3.moveNext$0();) { + t4 = t3.get$current(t3); + t5 = t4.forward; + if (t5) { + t6 = t4.__dnaend_start; + if (t6 == null) { + t6 = G.Domain.prototype.get$dnaend_start.call(t4); + t4.__dnaend_start = t6; + } + } else { + t6 = t4.__dnaend_end; + if (t6 == null) { + t6 = G.Domain.prototype.get$dnaend_end.call(t4); + t4.__dnaend_end = t6; + } + } + if (t5) { + t5 = t4.__dnaend_end; + if (t5 == null) { + t5 = G.Domain.prototype.get$dnaend_end.call(t4); + t4.__dnaend_end = t5; + t4 = t5; + } else + t4 = t5; + } else { + t5 = t4.__dnaend_start; + if (t5 == null) { + t5 = G.Domain.prototype.get$dnaend_start.call(t4); + t4.__dnaend_start = t5; + t4 = t5; + } else + t4 = t5; + } + t4 = [t6, t4]; + _i = 0; + for (; _i < 2; ++_i) { + end = t4[_i]; + t5 = _this.__selected_dna_ends; + if (t5 == null) { + t5 = E.SelectablesStore.prototype.get$selected_dna_ends.call(_this); + _this.set$__selected_dna_ends(t5); + } + if (t5._set.contains$1(0, end)) + t2.add$1(0, end); + } + } + for (t3 = J.get$iterator$ax(strand.get$extensions(strand)._list); t3.moveNext$0();) { + t4 = t3.get$current(t3); + t5 = _this.__selected_dna_ends; + if (t5 == null) { + t5 = E.SelectablesStore.prototype.get$selected_dna_ends.call(_this); + _this.set$__selected_dna_ends(t5); + } + t6 = t4.__dnaend_free; + if (t6 == null) + t6 = t4.__dnaend_free = S.Extension.prototype.get$dnaend_free.call(t4); + if (t5._set.contains$1(0, t6)) { + t5 = t4.__dnaend_free; + t2.add$1(0, t5 == null ? t4.__dnaend_free = S.Extension.prototype.get$dnaend_free.call(t4) : t5); + } + } + return X._BuiltSet$of(t2, t1); + }, + selected_crossovers_in_strand$1: function(strand) { + var t3, t4, t5, + t1 = type$.legacy_Crossover, + t2 = P.LinkedHashSet_LinkedHashSet$_empty(t1); + for (t3 = J.get$iterator$ax(strand.get$crossovers()._list); t3.moveNext$0();) { + t4 = t3.get$current(t3); + t5 = this.__selected_crossovers; + if (t5 == null) { + t5 = E.SelectablesStore.prototype.get$selected_crossovers.call(this); + this.set$__selected_crossovers(t5); + } + if (t5._set.contains$1(0, t4)) + t2.add$1(0, t4); + } + return X._BuiltSet$of(t2, t1); + }, + selected_loopouts_in_strand$1: function(strand) { + var t3, t4, t5, + t1 = type$.legacy_Loopout, + t2 = P.LinkedHashSet_LinkedHashSet$_empty(t1); + for (t3 = J.get$iterator$ax(strand.get$loopouts()._list); t3.moveNext$0();) { + t4 = t3.get$current(t3); + t5 = this.__selected_loopouts; + if (t5 == null) { + t5 = E.SelectablesStore.prototype.get$selected_loopouts.call(this); + this.set$__selected_loopouts(t5); + } + if (t5._set.contains$1(0, t4)) + t2.add$1(0, t4); + } + return X._BuiltSet$of(t2, t1); + }, + selected_extensions_in_strand$1: function(strand) { + var t3, t4, t5, + t1 = type$.legacy_Extension, + t2 = P.LinkedHashSet_LinkedHashSet$_empty(t1); + for (t3 = J.get$iterator$ax(strand.get$extensions(strand)._list); t3.moveNext$0();) { + t4 = t3.get$current(t3); + t5 = this.__selected_extensions; + if (t5 == null) { + t5 = E.SelectablesStore.prototype.get$selected_extensions.call(this); + this.set$__selected_extensions(t5); + } + if (t5._set.contains$1(0, t4)) + t2.add$1(0, t4); + } + return X._BuiltSet$of(t2, t1); + }, + selected_domains_in_strand$1: function(strand) { + var t3, t4, t5, + t1 = type$.legacy_Domain, + t2 = P.LinkedHashSet_LinkedHashSet$_empty(t1); + for (t3 = J.get$iterator$ax(strand.get$domains()._list); t3.moveNext$0();) { + t4 = t3.get$current(t3); + t5 = this.__selected_domains; + if (t5 == null) { + t5 = E.SelectablesStore.prototype.get$selected_domains.call(this); + this.set$__selected_domains(t5); + } + if (t5._set.contains$1(0, t4)) + t2.add$1(0, t4); + } + return X._BuiltSet$of(t2, t1); + }, + selected_deletions_in_strand$1: function(strand) { + var t2, t3, t4, t5, t6, t7, + t1 = type$.legacy_SelectableDeletion, + deletions = P.LinkedHashSet_LinkedHashSet$_empty(t1); + for (t2 = J.get$iterator$ax(strand.get$domains()._list); t2.moveNext$0();) { + t3 = t2.get$current(t2); + for (t4 = J.get$iterator$ax(t3.deletions._list); t4.moveNext$0();) { + t5 = t4.get$current(t4); + t6 = this.__selected_deletions; + if (t6 == null) { + t6 = E.SelectablesStore.prototype.get$selected_deletions.call(this); + this.set$__selected_deletions(t6); + } + t6 = t6._set; + t6 = t6.get$iterator(t6); + for (; t6.moveNext$0();) { + t7 = t6.get$current(t6); + if (t7.offset == t5 && J.$eq$(t7.domain, t3)) + deletions.add$1(0, t7); + } + } + } + return X._BuiltSet$of(deletions, t1); + }, + selected_insertions_in_strand$1: function(strand) { + var t2, t3, t4, t5, t6, t7, + t1 = type$.legacy_SelectableInsertion, + insertions = P.LinkedHashSet_LinkedHashSet$_empty(t1); + for (t2 = J.get$iterator$ax(strand.get$domains()._list); t2.moveNext$0();) { + t3 = t2.get$current(t2); + for (t4 = J.get$iterator$ax(t3.insertions._list); t4.moveNext$0();) { + t5 = t4.get$current(t4); + t6 = this.__selected_insertions; + if (t6 == null) { + t6 = E.SelectablesStore.prototype.get$selected_insertions.call(this); + this.set$__selected_insertions(t6); + } + t6 = t6._set; + t6 = t6.get$iterator(t6); + for (; t6.moveNext$0();) { + t7 = t6.get$current(t6); + if (J.$eq$(t7.insertion, t5) && J.$eq$(t7.domain, t3)) + insertions.add$1(0, t7); + } + } + } + return X._BuiltSet$of(insertions, t1); + }, + selected_modifications_in_strand$1: function(strand) { + var t2, t3, t4, t5, + t1 = type$.legacy_SelectableModification, + modifications = P.LinkedHashSet_LinkedHashSet$_empty(t1); + for (t2 = this.get$selected_modifications()._set, t2 = t2.get$iterator(t2); t2.moveNext$0();) { + t3 = t2.get$current(t2); + t4 = t3.get$strand(); + t5 = t4.__id; + t4 = t5 == null ? t4.__id = E.Strand.prototype.get$id.call(t4, t4) : t5; + t5 = strand.__id; + if (t4 === (t5 == null ? strand.__id = E.Strand.prototype.get$id.call(strand, strand) : t5)) + modifications.add$1(0, t3); + } + return X._BuiltSet$of(modifications, t1); + } + }; + E.SelectablesStore_selected_strands_closure.prototype = { + call$1: function(s) { + return type$.legacy_Selectable._as(s) instanceof E.Strand; + }, + $signature: 13 + }; + E.SelectablesStore_selected_crossovers_closure.prototype = { + call$1: function(s) { + return type$.legacy_Selectable._as(s) instanceof T.Crossover; + }, + $signature: 13 + }; + E.SelectablesStore_selected_loopouts_closure.prototype = { + call$1: function(s) { + return type$.legacy_Selectable._as(s) instanceof G.Loopout; + }, + $signature: 13 + }; + E.SelectablesStore_selected_extensions_closure.prototype = { + call$1: function(s) { + return type$.legacy_Selectable._as(s) instanceof S.Extension; + }, + $signature: 13 + }; + E.SelectablesStore_selected_domains_closure.prototype = { + call$1: function(s) { + return type$.legacy_Selectable._as(s) instanceof G.Domain; + }, + $signature: 13 + }; + E.SelectablesStore_selected_dna_ends_closure.prototype = { + call$1: function(s) { + return type$.legacy_Selectable._as(s) instanceof Z.DNAEnd; + }, + $signature: 13 + }; + E.SelectablesStore_selected_dna_ends_on_domains_closure.prototype = { + call$1: function(end) { + return !type$.legacy_DNAEnd._as(end).is_on_extension; + }, + $signature: 134 + }; + E.SelectablesStore_selected_dna_ends_on_extensions_closure.prototype = { + call$1: function(end) { + return type$.legacy_DNAEnd._as(end).is_on_extension; + }, + $signature: 134 + }; + E.SelectablesStore_selected_deletions_closure.prototype = { + call$1: function(s) { + return type$.legacy_Selectable._as(s) instanceof E.SelectableDeletion; + }, + $signature: 13 + }; + E.SelectablesStore_selected_insertions_closure.prototype = { + call$1: function(s) { + return type$.legacy_Selectable._as(s) instanceof E.SelectableInsertion; + }, + $signature: 13 + }; + E.SelectablesStore_selected_modifications_closure.prototype = { + call$1: function(s) { + return type$.legacy_SelectableModification._is(type$.legacy_Selectable._as(s)); + }, + $signature: 13 + }; + E.SelectablesStore_select_closure.prototype = { + call$1: function(s) { + var t1 = type$.legacy_SetBuilder_legacy_Selectable._as(this.selected_items_builder); + s.get$_selectable$_$this().set$_selected_items(t1); + return s; + }, + $signature: 46 + }; + E.SelectablesStore_unselect_closure.prototype = { + call$1: function(s) { + var t1 = type$.legacy_SetBuilder_legacy_Selectable._as(this.selected_items_builder); + s.get$_selectable$_$this().set$_selected_items(t1); + return s; + }, + $signature: 46 + }; + E.SelectablesStore_clear_closure.prototype = { + call$1: function(s) { + var t1 = type$.legacy_SetBuilder_legacy_Selectable._as(X.SetBuilder_SetBuilder(C.List_empty, type$.legacy_Selectable)); + s.get$_selectable$_$this().set$_selected_items(t1); + return s; + }, + $signature: 46 + }; + E.SelectablesStore_select_all_closure.prototype = { + call$1: function(s) { + var t1 = type$.legacy_SetBuilder_legacy_Selectable._as(this.selected_items_builder); + s.get$_selectable$_$this().set$_selected_items(t1); + return s; + }, + $signature: 46 + }; + E.SelectablesStore_toggle_all_closure.prototype = { + call$1: function(s) { + var t1 = type$.legacy_SetBuilder_legacy_Selectable._as(this.selected_items_builder); + s.get$_selectable$_$this().set$_selected_items(t1); + return s; + }, + $signature: 46 + }; + E.SelectableDeletion.prototype = { + get$select_mode: function() { + return C.SelectModeChoice_deletion; + }, + get$id: function(_) { + var t1 = this.domain, + t2 = "deletion-H" + t1.helix + "-O" + H.S(this.offset) + "-"; + return t2 + (t1.forward ? "forward" : "reverse"); + }, + $isSelectable: 1 + }; + E.SelectableInsertion.prototype = { + get$select_mode: function() { + return C.SelectModeChoice_insertion; + }, + get$id: function(_) { + var t1 = this.domain, + t2 = this.insertion.offset; + t2 = "insertion-H" + t1.helix + "-O" + t2 + "-"; + return t2 + (t1.forward ? "forward" : "reverse"); + }, + get$id_group: function() { + return this.get$id(this) + "-group"; + }, + $isSelectable: 1 + }; + E.SelectableModification.prototype = { + get$is_scaffold: function() { + return this.get$strand().is_scaffold; + }, + get$select_mode: function() { + return C.SelectModeChoice_modification; + }, + $isSelectable: 1 + }; + E.SelectableModification5Prime.prototype = { + get$address: function() { + var dom = this.strand.get$first_domain(), + t1 = dom.helix, + t2 = dom.get$offset_5p(); + return Z._$Address$_(dom.forward, t1, t2); + }, + get$id: function(_) { + var t1 = this.strand; + return "modification-5p-" + t1.get$id(t1); + }, + $isSelectable: 1 + }; + E.SelectableModification3Prime.prototype = { + get$address: function() { + var dom = this.strand.get$last_domain(), + t1 = dom.helix, + t2 = dom.get$offset_3p(); + return Z._$Address$_(dom.forward, t1, t2); + }, + get$id: function(_) { + var t1 = this.strand; + return "modification-3p-" + t1.get$id(t1); + }, + $isSelectable: 1 + }; + E.SelectableModificationInternal.prototype = { + get$offset: function(_) { + var t1 = this.dna_idx, + t2 = this.domain, + t3 = this.strand.get_seq_start_idx$1(t2); + if (typeof t1 !== "number") + return t1.$sub(); + return t2.substrand_dna_idx_to_substrand_offset$2(t1 - t3, t2.forward); + }, + get$address: function() { + var t1 = this.domain, + t2 = t1.helix, + t3 = this.get$offset(this); + return Z._$Address$_(t1.forward, t2, t3); + }, + get$id: function(_) { + var t1 = this.strand, + t2 = this.get$address(), + t3 = "modification-int-H" + H.S(t2.helix_idx) + "-" + H.S(t2.offset) + "-"; + return t3 + (H.boolConversionCheck(t2.forward) ? "forward" : "reverse") + "-" + t1.get$id(t1); + }, + $isSelectable: 1 + }; + E.SelectableMixin.prototype = { + handle_selection_mouse_down$1: function($event) { + var t1, t2; + if ($event.button === 0) { + t1 = H.boolConversionCheck($event.ctrlKey) || H.boolConversionCheck($event.metaKey); + t2 = $.app; + if (t1) + t2.dispatch$1(U.Select_Select(this, false, true)); + else + t2.dispatch$1(U.Select_Select(this, false, false)); + } + }, + handle_selection_mouse_up$1: function($event) { + if ($event.button === 0) + if (!(H.boolConversionCheck($event.ctrlKey) || H.boolConversionCheck($event.metaKey) || H.boolConversionCheck($event.shiftKey))) + $.app.dispatch$1(U.Select_Select(this, true, false)); + }, + $isSelectable: 1 + }; + E.SelectableTrait.prototype = { + get$description: function(_) { + var _this = this; + if (_this === C.SelectableTrait_strand_name) + return "name"; + if (_this === C.SelectableTrait_strand_label) + return "label"; + if (_this === C.SelectableTrait_color) + return "color"; + if (_this === C.SelectableTrait_modification_5p) + return "5' modification"; + if (_this === C.SelectableTrait_modification_3p) + return "3' modification"; + if (_this === C.SelectableTrait_modification_int) + return "internal modification"; + if (_this === C.SelectableTrait_dna_sequence) + return "DNA sequence"; + if (_this === C.SelectableTrait_vendor_fields) + return "vendor fields"; + if (_this === C.SelectableTrait_circular) + return "circular"; + if (_this === C.SelectableTrait_helices) + return "helices"; + throw H.wrapException(P.AssertionError$("unrecognized trait " + _this.toString$0(0))); + }, + trait_of_strand$1: function(strand) { + var t1, t2, _this = this; + if (_this === C.SelectableTrait_strand_name) + return strand.name; + if (_this === C.SelectableTrait_strand_label) + return strand.label; + if (_this === C.SelectableTrait_color) + return strand.color; + if (_this === C.SelectableTrait_modification_5p) + return strand.modification_5p; + if (_this === C.SelectableTrait_modification_3p) + return strand.modification_3p; + if (_this === C.SelectableTrait_modification_int) + return strand.modifications_int; + if (_this === C.SelectableTrait_dna_sequence) + return strand.get$dna_sequence(); + if (_this === C.SelectableTrait_vendor_fields) + return strand.vendor_fields; + if (_this === C.SelectableTrait_circular) + return strand.circular; + if (_this === C.SelectableTrait_helices) { + t1 = H.setRuntimeTypeInfo([], type$.JSArray_legacy_int); + for (t2 = J.get$iterator$ax(strand.get$domains()._list); t2.moveNext$0();) + t1.push(t2.get$current(t2).helix); + return t1; + } + throw H.wrapException(P.AssertionError$("unrecognized trait " + _this.toString$0(0))); + }, + matches$2: function(_, v1, v2) { + var t2, t3, t4, _this = this, + t1 = v1 == null; + if (t1 && v2 == null) + return true; + else if (t1 && v2 != null) + return false; + else if (!t1 && v2 == null) + return false; + if (_this === C.SelectableTrait_modification_5p || _this === C.SelectableTrait_modification_3p) { + t1 = type$.legacy_Modification; + t1._as(v1); + t1._as(v2); + return v1.get$vendor_code() === v2.get$vendor_code(); + } else if (_this === C.SelectableTrait_modification_int) { + t1 = type$.legacy_BuiltMap_of_legacy_int_and_legacy_ModificationInternal; + t1._as(v1); + t1._as(v2); + for (t1 = J.get$iterator$ax(v1.get$values(v1)); t1.moveNext$0();) { + t2 = t1.get$current(t1); + if (v2._values == null) + v2.set$_values(J.get$values$x(v2._map$_map)); + t3 = v2._values; + t3.toString; + t3 = J.get$iterator$ax(t3); + for (; t3.moveNext$0();) { + t4 = t3.get$current(t3); + if (t2.vendor_code === t4.vendor_code) + return true; + } + } + return false; + } else if (_this === C.SelectableTrait_helices) { + t1 = type$.legacy_List_legacy_int; + t1._as(v1); + t1._as(v2); + for (t1 = J.get$iterator$ax(v1), t2 = J.getInterceptor$ax(v2); t1.moveNext$0();) { + t3 = t1.get$current(t1); + for (t4 = t2.get$iterator(v2); t4.moveNext$0();) + if (t3 == t4.get$current(t4)) + return true; + } + return false; + } else + return J.$eq$(v1, v2); + } + }; + E._$SelectablesStoreSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + return H.setRuntimeTypeInfo(["selected_items", serializers.serialize$2$specifiedType(type$.legacy_SelectablesStore._as(object).selected_items, C.FullType_zrt)], type$.JSArray_legacy_Object); + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + var result, t1, iterator, t2, key, value, $$v, t3, t4; + type$.legacy_Iterable_legacy_Object._as(serialized); + result = new E.SelectablesStoreBuilder(); + t1 = type$.legacy_SetBuilder_legacy_Selectable._as(X.SetBuilder_SetBuilder([], type$.legacy_Selectable)); + result.get$_selectable$_$this().set$_selected_items(t1); + iterator = J.get$iterator$ax(serialized); + for (t1 = type$.legacy_BuiltSet_legacy_Object, t2 = type$.SetBuilder_legacy_Selectable; iterator.moveNext$0();) { + key = H._asStringS(iterator.get$current(iterator)); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (key) { + case "selected_items": + $$v = result._selectable$_$v; + if ($$v != null) { + t3 = $$v.selected_items; + t3.toString; + t4 = t3.$ti; + t4._eval$1("_BuiltSet<1>")._as(t3); + result.set$_selected_items(new X.SetBuilder(t3._setFactory, t3._set, t3, t4._eval$1("SetBuilder<1>"))); + result._selectable$_$v = null; + } + t3 = result._selected_items; + if (t3 == null) { + t3 = new X.SetBuilder(null, $, null, t2); + t3.replace$1(0, C.List_empty); + result.set$_selected_items(t3); + } + t3.replace$1(0, t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_zrt))); + break; + } + } + return result.build$0(); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_U8I; + }, + get$wireName: function() { + return "SelectablesStore"; + } + }; + E._$SelectableDeletionSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + type$.legacy_SelectableDeletion._as(object); + return H.setRuntimeTypeInfo(["offset", serializers.serialize$2$specifiedType(object.offset, C.FullType_kjq), "domain", serializers.serialize$2$specifiedType(object.domain, C.FullType_fnc), "is_scaffold", serializers.serialize$2$specifiedType(object.is_scaffold, C.FullType_MtR)], type$.JSArray_legacy_Object); + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + var t1, key, value, t2, t3, + result = new E.SelectableDeletionBuilder(), + iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + for (t1 = type$.legacy_Domain; iterator.moveNext$0();) { + key = H._asStringS(iterator.get$current(iterator)); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (key) { + case "offset": + t2 = H._asIntS(serializers.deserialize$2$specifiedType(value, C.FullType_kjq)); + result.get$_selectable$_$this()._selectable$_offset = t2; + break; + case "domain": + t2 = result.get$_selectable$_$this(); + t3 = t2._selectable$_domain; + t2 = t3 == null ? t2._selectable$_domain = new G.DomainBuilder() : t3; + t3 = t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_fnc)); + if (t3 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + t2._domain$_$v = t3; + break; + case "is_scaffold": + t2 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); + result.get$_selectable$_$this()._selectable$_is_scaffold = t2; + break; + } + } + return result.build$0(); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_43h1; + }, + get$wireName: function() { + return "SelectableDeletion"; + } + }; + E._$SelectableInsertionSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + type$.legacy_SelectableInsertion._as(object); + return H.setRuntimeTypeInfo(["insertion", serializers.serialize$2$specifiedType(object.insertion, C.FullType_EKW), "domain", serializers.serialize$2$specifiedType(object.domain, C.FullType_fnc), "is_scaffold", serializers.serialize$2$specifiedType(object.is_scaffold, C.FullType_MtR)], type$.JSArray_legacy_Object); + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + var t1, t2, key, value, t3, t4, + result = new E.SelectableInsertionBuilder(), + iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + for (t1 = type$.legacy_Domain, t2 = type$.legacy_Insertion; iterator.moveNext$0();) { + key = H._asStringS(iterator.get$current(iterator)); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (key) { + case "insertion": + t3 = result.get$_selectable$_$this(); + t4 = t3._selectable$_insertion; + t3 = t4 == null ? t3._selectable$_insertion = new G.InsertionBuilder() : t4; + t4 = t2._as(serializers.deserialize$2$specifiedType(value, C.FullType_EKW)); + if (t4 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + t3._domain$_$v = t4; + break; + case "domain": + t3 = result.get$_selectable$_$this(); + t4 = t3._selectable$_domain; + t3 = t4 == null ? t3._selectable$_domain = new G.DomainBuilder() : t4; + t4 = t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_fnc)); + if (t4 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + t3._domain$_$v = t4; + break; + case "is_scaffold": + t3 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); + result.get$_selectable$_$this()._selectable$_is_scaffold = t3; + break; + } + } + return result.build$0(); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_zc5; + }, + get$wireName: function() { + return "SelectableInsertion"; + } + }; + E._$SelectableModification5PrimeSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + type$.legacy_SelectableModification5Prime._as(object); + return H.setRuntimeTypeInfo(["modification", serializers.serialize$2$specifiedType(object.modification, C.FullType_Q1p), "strand", serializers.serialize$2$specifiedType(object.strand, C.FullType_w0x)], type$.JSArray_legacy_Object); + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + var t1, t2, key, value, t3, t4, + result = new E.SelectableModification5PrimeBuilder(), + iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + for (t1 = type$.legacy_Strand, t2 = type$.legacy_Modification5Prime; iterator.moveNext$0();) { + key = H._asStringS(iterator.get$current(iterator)); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (key) { + case "modification": + t3 = result.get$_selectable$_$this(); + t4 = t3._selectable$_modification; + t3 = t4 == null ? t3._selectable$_modification = new Z.Modification5PrimeBuilder() : t4; + t4 = t2._as(serializers.deserialize$2$specifiedType(value, C.FullType_Q1p)); + if (t4 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + t3._modification$_$v = t4; + break; + case "strand": + t3 = result.get$_selectable$_$this(); + t4 = t3._selectable$_strand; + t3 = t4 == null ? t3._selectable$_strand = new E.StrandBuilder() : t4; + t4 = t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_w0x)); + if (t4 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + t3._strand$_$v = t4; + break; + } + } + return result.build$0(); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_Fy50; + }, + get$wireName: function() { + return "SelectableModification5Prime"; + } + }; + E._$SelectableModification3PrimeSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + type$.legacy_SelectableModification3Prime._as(object); + return H.setRuntimeTypeInfo(["modification", serializers.serialize$2$specifiedType(object.modification, C.FullType_Q1p0), "strand", serializers.serialize$2$specifiedType(object.strand, C.FullType_w0x)], type$.JSArray_legacy_Object); + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + var t1, t2, key, value, t3, t4, + result = new E.SelectableModification3PrimeBuilder(), + iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + for (t1 = type$.legacy_Strand, t2 = type$.legacy_Modification3Prime; iterator.moveNext$0();) { + key = H._asStringS(iterator.get$current(iterator)); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (key) { + case "modification": + t3 = result.get$_selectable$_$this(); + t4 = t3._selectable$_modification; + t3 = t4 == null ? t3._selectable$_modification = new Z.Modification3PrimeBuilder() : t4; + t4 = t2._as(serializers.deserialize$2$specifiedType(value, C.FullType_Q1p0)); + if (t4 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + t3._modification$_$v = t4; + break; + case "strand": + t3 = result.get$_selectable$_$this(); + t4 = t3._selectable$_strand; + t3 = t4 == null ? t3._selectable$_strand = new E.StrandBuilder() : t4; + t4 = t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_w0x)); + if (t4 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + t3._strand$_$v = t4; + break; + } + } + return result.build$0(); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_Fy5; + }, + get$wireName: function() { + return "SelectableModification3Prime"; + } + }; + E._$SelectableModificationInternalSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + type$.legacy_SelectableModificationInternal._as(object); + return H.setRuntimeTypeInfo(["modification", serializers.serialize$2$specifiedType(object.modification, C.FullType_eR6), "strand", serializers.serialize$2$specifiedType(object.strand, C.FullType_w0x), "domain", serializers.serialize$2$specifiedType(object.domain, C.FullType_fnc), "dna_idx", serializers.serialize$2$specifiedType(object.dna_idx, C.FullType_kjq)], type$.JSArray_legacy_Object); + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + var t1, t2, t3, key, value, t4, t5, _s5_ = "other", + result = new E.SelectableModificationInternalBuilder(), + iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + for (t1 = type$.legacy_Domain, t2 = type$.legacy_Strand, t3 = type$.legacy_ModificationInternal; iterator.moveNext$0();) { + key = H._asStringS(iterator.get$current(iterator)); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (key) { + case "modification": + t4 = result.get$_selectable$_$this(); + t5 = t4._selectable$_modification; + t4 = t5 == null ? t4._selectable$_modification = new Z.ModificationInternalBuilder() : t5; + t5 = t3._as(serializers.deserialize$2$specifiedType(value, C.FullType_eR6)); + if (t5 == null) + H.throwExpression(P.ArgumentError$notNull(_s5_)); + t4._modification$_$v = t5; + break; + case "strand": + t4 = result.get$_selectable$_$this(); + t5 = t4._selectable$_strand; + t4 = t5 == null ? t4._selectable$_strand = new E.StrandBuilder() : t5; + t5 = t2._as(serializers.deserialize$2$specifiedType(value, C.FullType_w0x)); + if (t5 == null) + H.throwExpression(P.ArgumentError$notNull(_s5_)); + t4._strand$_$v = t5; + break; + case "domain": + t4 = result.get$_selectable$_$this(); + t5 = t4._selectable$_domain; + t4 = t5 == null ? t4._selectable$_domain = new G.DomainBuilder() : t5; + t5 = t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_fnc)); + if (t5 == null) + H.throwExpression(P.ArgumentError$notNull(_s5_)); + t4._domain$_$v = t5; + break; + case "dna_idx": + t4 = H._asIntS(serializers.deserialize$2$specifiedType(value, C.FullType_kjq)); + result.get$_selectable$_$this()._dna_idx = t4; + break; + } + } + return result.build$0(); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_v3C; + }, + get$wireName: function() { + return "SelectableModificationInternal"; + } + }; + E._$SelectableTraitSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + return type$.legacy_SelectableTrait._as(object).name; + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + return E._$valueOf9(H._asStringS(serialized)); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isPrimitiveSerializer: 1, + get$types: function() { + return C.List_Type_SelectableTrait_SXj; + }, + get$wireName: function() { + return "SelectableTrait"; + } + }; + E._$SelectablesStore.prototype = { + get$selected_strands: function() { + var t1 = this.__selected_strands; + if (t1 == null) { + t1 = E.SelectablesStore.prototype.get$selected_strands.call(this); + this.set$__selected_strands(t1); + } + return t1; + }, + get$selected_crossovers: function() { + var t1 = this.__selected_crossovers; + if (t1 == null) { + t1 = E.SelectablesStore.prototype.get$selected_crossovers.call(this); + this.set$__selected_crossovers(t1); + } + return t1; + }, + get$selected_loopouts: function() { + var t1 = this.__selected_loopouts; + if (t1 == null) { + t1 = E.SelectablesStore.prototype.get$selected_loopouts.call(this); + this.set$__selected_loopouts(t1); + } + return t1; + }, + get$selected_extensions: function() { + var t1 = this.__selected_extensions; + if (t1 == null) { + t1 = E.SelectablesStore.prototype.get$selected_extensions.call(this); + this.set$__selected_extensions(t1); + } + return t1; + }, + get$selected_domains: function() { + var t1 = this.__selected_domains; + if (t1 == null) { + t1 = E.SelectablesStore.prototype.get$selected_domains.call(this); + this.set$__selected_domains(t1); + } + return t1; + }, + get$selected_dna_ends: function() { + var t1 = this.__selected_dna_ends; + if (t1 == null) { + t1 = E.SelectablesStore.prototype.get$selected_dna_ends.call(this); + this.set$__selected_dna_ends(t1); + } + return t1; + }, + get$selected_insertions: function() { + var t1 = this.__selected_insertions; + if (t1 == null) { + t1 = E.SelectablesStore.prototype.get$selected_insertions.call(this); + this.set$__selected_insertions(t1); + } + return t1; + }, + get$selected_modifications: function() { + var t1 = this.__selected_modifications; + if (t1 == null) { + t1 = E.SelectablesStore.prototype.get$selected_modifications.call(this); + this.set$__selected_modifications(t1); + } + return t1; + }, + rebuild$1: function(updates) { + var t1, t2; + type$.legacy_void_Function_legacy_SelectablesStoreBuilder._as(updates); + t1 = new E.SelectablesStoreBuilder(); + t2 = type$.legacy_SetBuilder_legacy_Selectable._as(X.SetBuilder_SetBuilder([], type$.legacy_Selectable)); + t1.get$_selectable$_$this().set$_selected_items(t2); + t1._selectable$_$v = this; + updates.call$1(t1); + return t1.build$0(); + }, + $eq: function(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof E.SelectablesStore && J.$eq$(this.selected_items, other.selected_items); + }, + get$hashCode: function(_) { + var t1 = this._selectable$__hashCode; + return t1 == null ? this._selectable$__hashCode = Y.$jf(Y.$jc(0, J.get$hashCode$(this.selected_items))) : t1; + }, + toString$0: function(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("SelectablesStore"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "selected_items", this.selected_items); + return t2.toString$0(t1); + }, + set$__selected_strands: function(__selected_strands) { + this.__selected_strands = type$.legacy_BuiltSet_legacy_Strand._as(__selected_strands); + }, + set$__selected_crossovers: function(__selected_crossovers) { + this.__selected_crossovers = type$.legacy_BuiltSet_legacy_Crossover._as(__selected_crossovers); + }, + set$__selected_loopouts: function(__selected_loopouts) { + this.__selected_loopouts = type$.legacy_BuiltSet_legacy_Loopout._as(__selected_loopouts); + }, + set$__selected_extensions: function(__selected_extensions) { + this.__selected_extensions = type$.legacy_BuiltSet_legacy_Extension._as(__selected_extensions); + }, + set$__selected_domains: function(__selected_domains) { + this.__selected_domains = type$.legacy_BuiltSet_legacy_Domain._as(__selected_domains); + }, + set$__selected_dna_ends: function(__selected_dna_ends) { + this.__selected_dna_ends = type$.legacy_BuiltSet_legacy_DNAEnd._as(__selected_dna_ends); + }, + set$__selected_dna_ends_on_domains: function(__selected_dna_ends_on_domains) { + this.__selected_dna_ends_on_domains = type$.legacy_BuiltSet_legacy_DNAEnd._as(__selected_dna_ends_on_domains); + }, + set$__selected_dna_ends_on_extensions: function(__selected_dna_ends_on_extensions) { + this.__selected_dna_ends_on_extensions = type$.legacy_BuiltSet_legacy_DNAEnd._as(__selected_dna_ends_on_extensions); + }, + set$__selected_deletions: function(__selected_deletions) { + this.__selected_deletions = type$.legacy_BuiltSet_legacy_SelectableDeletion._as(__selected_deletions); + }, + set$__selected_insertions: function(__selected_insertions) { + this.__selected_insertions = type$.legacy_BuiltSet_legacy_SelectableInsertion._as(__selected_insertions); + }, + set$__selected_modifications: function(__selected_modifications) { + this.__selected_modifications = type$.legacy_BuiltSet_legacy_SelectableModification._as(__selected_modifications); + } + }; + E.SelectablesStoreBuilder.prototype = { + get$selected_items: function() { + var t1 = this.get$_selectable$_$this(), + t2 = t1._selected_items; + if (t2 == null) { + t2 = X.SetBuilder_SetBuilder(C.List_empty, type$.legacy_Selectable); + t1.set$_selected_items(t2); + t1 = t2; + } else + t1 = t2; + return t1; + }, + get$_selectable$_$this: function() { + var t1, t2, _this = this, + $$v = _this._selectable$_$v; + if ($$v != null) { + t1 = $$v.selected_items; + t1.toString; + t2 = t1.$ti; + t2._eval$1("_BuiltSet<1>")._as(t1); + _this.set$_selected_items(new X.SetBuilder(t1._setFactory, t1._set, t1, t2._eval$1("SetBuilder<1>"))); + _this._selectable$_$v = null; + } + return _this; + }, + build$0: function() { + var _$failedField, e, _$result0, t1, exception, _this = this, + _s16_ = "SelectablesStore", + _$result = null; + try { + _$result0 = _this._selectable$_$v; + if (_$result0 == null) { + t1 = _this.get$selected_items().build$0(); + _$result0 = new E._$SelectablesStore(t1); + if (t1 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s16_, "selected_items")); + } + _$result = _$result0; + } catch (exception) { + H.unwrapException(exception); + _$failedField = null; + try { + _$failedField = "selected_items"; + _this.get$selected_items().build$0(); + } catch (exception) { + e = H.unwrapException(exception); + t1 = Y.BuiltValueNestedFieldError$(_s16_, _$failedField, J.toString$0$(e)); + throw H.wrapException(t1); + } + throw exception; + } + t1 = type$.legacy_SelectablesStore._as(_$result); + if (t1 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + _this._selectable$_$v = t1; + return _$result; + }, + set$_selected_items: function(_selected_items) { + this._selected_items = type$.legacy_SetBuilder_legacy_Selectable._as(_selected_items); + } + }; + E._$SelectableDeletion.prototype = { + get$select_mode: function() { + var t1 = this._selectable$__select_mode; + return t1 == null ? this._selectable$__select_mode = E.SelectableDeletion.prototype.get$select_mode.call(this) : t1; + }, + get$id: function(_) { + var _this = this, + t1 = _this._selectable$__id; + return t1 == null ? _this._selectable$__id = E.SelectableDeletion.prototype.get$id.call(_this, _this) : t1; + }, + $eq: function(_, other) { + var _this = this; + if (other == null) + return false; + if (other === _this) + return true; + return other instanceof E.SelectableDeletion && _this.offset == other.offset && J.$eq$(_this.domain, other.domain) && _this.is_scaffold === other.is_scaffold; + }, + get$hashCode: function(_) { + var _this = this, + t1 = _this._selectable$__hashCode; + return t1 == null ? _this._selectable$__hashCode = Y.$jf(Y.$jc(Y.$jc(Y.$jc(0, J.get$hashCode$(_this.offset)), J.get$hashCode$(_this.domain)), C.JSBool_methods.get$hashCode(_this.is_scaffold))) : t1; + }, + toString$0: function(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("SelectableDeletion"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "offset", this.offset); + t2.add$2(t1, "domain", this.domain); + t2.add$2(t1, "is_scaffold", this.is_scaffold); + return t2.toString$0(t1); + }, + get$offset: function(receiver) { + return this.offset; + }, + get$is_scaffold: function() { + return this.is_scaffold; + } + }; + E.SelectableDeletionBuilder.prototype = { + get$offset: function(_) { + return this.get$_selectable$_$this()._selectable$_offset; + }, + get$domain: function(_) { + var t1 = this.get$_selectable$_$this(), + t2 = t1._selectable$_domain; + return t2 == null ? t1._selectable$_domain = new G.DomainBuilder() : t2; + }, + get$_selectable$_$this: function() { + var t1, t2, _this = this, + $$v = _this._selectable$_$v; + if ($$v != null) { + _this._selectable$_offset = $$v.offset; + t1 = $$v.domain; + t1.toString; + t2 = new G.DomainBuilder(); + t2._domain$_$v = t1; + _this._selectable$_domain = t2; + _this._selectable$_is_scaffold = $$v.is_scaffold; + _this._selectable$_$v = null; + } + return _this; + }, + build$0: function() { + var _$failedField, e, _$result0, t1, t2, t3, exception, _this = this, + _s18_ = "SelectableDeletion", + _$result = null; + try { + _$result0 = _this._selectable$_$v; + if (_$result0 == null) { + t1 = _this.get$_selectable$_$this()._selectable$_offset; + if (t1 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s18_, "offset")); + t2 = _this.get$domain(_this).build$0(); + t3 = _this.get$_selectable$_$this()._selectable$_is_scaffold; + if (t3 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s18_, "is_scaffold")); + _$result0 = E._$SelectableDeletion$_(t2, t3, t1); + } + _$result = _$result0; + } catch (exception) { + H.unwrapException(exception); + _$failedField = null; + try { + _$failedField = "domain"; + _this.get$domain(_this).build$0(); + } catch (exception) { + e = H.unwrapException(exception); + t1 = Y.BuiltValueNestedFieldError$(_s18_, _$failedField, J.toString$0$(e)); + throw H.wrapException(t1); + } + throw exception; + } + t1 = type$.legacy_SelectableDeletion._as(_$result); + if (t1 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + _this._selectable$_$v = t1; + return _$result; + } + }; + E._$SelectableInsertion.prototype = { + get$select_mode: function() { + var t1 = this._selectable$__select_mode; + return t1 == null ? this._selectable$__select_mode = E.SelectableInsertion.prototype.get$select_mode.call(this) : t1; + }, + get$id: function(_) { + var _this = this, + t1 = _this._selectable$__id; + return t1 == null ? _this._selectable$__id = E.SelectableInsertion.prototype.get$id.call(_this, _this) : t1; + }, + get$id_group: function() { + var t1 = this.__id_group; + return t1 == null ? this.__id_group = E.SelectableInsertion.prototype.get$id_group.call(this) : t1; + }, + $eq: function(_, other) { + var _this = this; + if (other == null) + return false; + if (other === _this) + return true; + return other instanceof E.SelectableInsertion && J.$eq$(_this.insertion, other.insertion) && J.$eq$(_this.domain, other.domain) && _this.is_scaffold === other.is_scaffold; + }, + get$hashCode: function(_) { + var _this = this, + t1 = _this._selectable$__hashCode; + return t1 == null ? _this._selectable$__hashCode = Y.$jf(Y.$jc(Y.$jc(Y.$jc(0, J.get$hashCode$(_this.insertion)), J.get$hashCode$(_this.domain)), C.JSBool_methods.get$hashCode(_this.is_scaffold))) : t1; + }, + toString$0: function(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("SelectableInsertion"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "insertion", this.insertion); + t2.add$2(t1, "domain", this.domain); + t2.add$2(t1, "is_scaffold", this.is_scaffold); + return t2.toString$0(t1); + }, + get$is_scaffold: function() { + return this.is_scaffold; + } + }; + E.SelectableInsertionBuilder.prototype = { + get$insertion: function() { + var t1 = this.get$_selectable$_$this(), + t2 = t1._selectable$_insertion; + return t2 == null ? t1._selectable$_insertion = new G.InsertionBuilder() : t2; + }, + get$domain: function(_) { + var t1 = this.get$_selectable$_$this(), + t2 = t1._selectable$_domain; + return t2 == null ? t1._selectable$_domain = new G.DomainBuilder() : t2; + }, + get$_selectable$_$this: function() { + var t1, t2, _this = this, + $$v = _this._selectable$_$v; + if ($$v != null) { + t1 = $$v.insertion; + t1.toString; + t2 = new G.InsertionBuilder(); + t2._domain$_$v = t1; + _this._selectable$_insertion = t2; + t1 = $$v.domain; + t1.toString; + t2 = new G.DomainBuilder(); + t2._domain$_$v = t1; + _this._selectable$_domain = t2; + _this._selectable$_is_scaffold = $$v.is_scaffold; + _this._selectable$_$v = null; + } + return _this; + }, + build$0: function() { + var _$failedField, e, _$result0, t1, t2, t3, exception, _this = this, + _s19_ = "SelectableInsertion", + _$result = null; + try { + _$result0 = _this._selectable$_$v; + if (_$result0 == null) { + t1 = _this.get$insertion().build$0(); + t2 = _this.get$domain(_this).build$0(); + t3 = _this.get$_selectable$_$this()._selectable$_is_scaffold; + if (t3 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s19_, "is_scaffold")); + _$result0 = E._$SelectableInsertion$_(t2, t1, t3); + } + _$result = _$result0; + } catch (exception) { + H.unwrapException(exception); + _$failedField = null; + try { + _$failedField = "insertion"; + _this.get$insertion().build$0(); + _$failedField = "domain"; + _this.get$domain(_this).build$0(); + } catch (exception) { + e = H.unwrapException(exception); + t1 = Y.BuiltValueNestedFieldError$(_s19_, _$failedField, J.toString$0$(e)); + throw H.wrapException(t1); + } + throw exception; + } + t1 = type$.legacy_SelectableInsertion._as(_$result); + if (t1 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + _this._selectable$_$v = t1; + return _$result; + } + }; + E._$SelectableModification5Prime.prototype = { + get$address: function() { + var t1 = this.__address; + return t1 == null ? this.__address = E.SelectableModification5Prime.prototype.get$address.call(this) : t1; + }, + get$id: function(_) { + var _this = this, + t1 = _this._selectable$__id; + return t1 == null ? _this._selectable$__id = E.SelectableModification5Prime.prototype.get$id.call(_this, _this) : t1; + }, + $eq: function(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof E.SelectableModification5Prime && J.$eq$(this.modification, other.modification) && J.$eq$(this.strand, other.strand); + }, + get$hashCode: function(_) { + var _this = this, + t1 = _this._selectable$__hashCode; + return t1 == null ? _this._selectable$__hashCode = Y.$jf(Y.$jc(Y.$jc(0, J.get$hashCode$(_this.modification)), J.get$hashCode$(_this.strand))) : t1; + }, + toString$0: function(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("SelectableModification5Prime"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "modification", this.modification); + t2.add$2(t1, "strand", this.strand); + return t2.toString$0(t1); + }, + get$modification: function() { + return this.modification; + }, + get$strand: function() { + return this.strand; + } + }; + E.SelectableModification5PrimeBuilder.prototype = { + get$modification: function() { + var t1 = this.get$_selectable$_$this(), + t2 = t1._selectable$_modification; + return t2 == null ? t1._selectable$_modification = new Z.Modification5PrimeBuilder() : t2; + }, + get$strand: function() { + var t1 = this.get$_selectable$_$this(), + t2 = t1._selectable$_strand; + return t2 == null ? t1._selectable$_strand = new E.StrandBuilder() : t2; + }, + get$_selectable$_$this: function() { + var t1, t2, _this = this, + $$v = _this._selectable$_$v; + if ($$v != null) { + t1 = $$v.modification; + t1.toString; + t2 = new Z.Modification5PrimeBuilder(); + t2._modification$_$v = t1; + _this._selectable$_modification = t2; + t1 = $$v.strand; + t1.toString; + t2 = new E.StrandBuilder(); + t2._strand$_$v = t1; + _this._selectable$_strand = t2; + _this._selectable$_$v = null; + } + return _this; + }, + build$0: function() { + var _$failedField, e, _$result0, exception, t1, _this = this, _$result = null; + try { + _$result0 = _this._selectable$_$v; + _$result = _$result0 == null ? E._$SelectableModification5Prime$_(_this.get$modification().build$0(), _this.get$strand().build$0()) : _$result0; + } catch (exception) { + H.unwrapException(exception); + _$failedField = null; + try { + _$failedField = "modification"; + _this.get$modification().build$0(); + _$failedField = "strand"; + _this.get$strand().build$0(); + } catch (exception) { + e = H.unwrapException(exception); + t1 = Y.BuiltValueNestedFieldError$("SelectableModification5Prime", _$failedField, J.toString$0$(e)); + throw H.wrapException(t1); + } + throw exception; + } + t1 = type$.legacy_SelectableModification5Prime._as(_$result); + if (t1 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + _this._selectable$_$v = t1; + return _$result; + } + }; + E._$SelectableModification3Prime.prototype = { + get$address: function() { + var t1 = this.__address; + return t1 == null ? this.__address = E.SelectableModification3Prime.prototype.get$address.call(this) : t1; + }, + get$id: function(_) { + var _this = this, + t1 = _this._selectable$__id; + return t1 == null ? _this._selectable$__id = E.SelectableModification3Prime.prototype.get$id.call(_this, _this) : t1; + }, + $eq: function(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof E.SelectableModification3Prime && J.$eq$(this.modification, other.modification) && J.$eq$(this.strand, other.strand); + }, + get$hashCode: function(_) { + var _this = this, + t1 = _this._selectable$__hashCode; + return t1 == null ? _this._selectable$__hashCode = Y.$jf(Y.$jc(Y.$jc(0, J.get$hashCode$(_this.modification)), J.get$hashCode$(_this.strand))) : t1; + }, + toString$0: function(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("SelectableModification3Prime"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "modification", this.modification); + t2.add$2(t1, "strand", this.strand); + return t2.toString$0(t1); + }, + get$modification: function() { + return this.modification; + }, + get$strand: function() { + return this.strand; + } + }; + E.SelectableModification3PrimeBuilder.prototype = { + get$modification: function() { + var t1 = this.get$_selectable$_$this(), + t2 = t1._selectable$_modification; + return t2 == null ? t1._selectable$_modification = new Z.Modification3PrimeBuilder() : t2; + }, + get$strand: function() { + var t1 = this.get$_selectable$_$this(), + t2 = t1._selectable$_strand; + return t2 == null ? t1._selectable$_strand = new E.StrandBuilder() : t2; + }, + get$_selectable$_$this: function() { + var t1, t2, _this = this, + $$v = _this._selectable$_$v; + if ($$v != null) { + t1 = $$v.modification; + t1.toString; + t2 = new Z.Modification3PrimeBuilder(); + t2._modification$_$v = t1; + _this._selectable$_modification = t2; + t1 = $$v.strand; + t1.toString; + t2 = new E.StrandBuilder(); + t2._strand$_$v = t1; + _this._selectable$_strand = t2; + _this._selectable$_$v = null; + } + return _this; + }, + build$0: function() { + var _$failedField, e, _$result0, exception, t1, _this = this, _$result = null; + try { + _$result0 = _this._selectable$_$v; + _$result = _$result0 == null ? E._$SelectableModification3Prime$_(_this.get$modification().build$0(), _this.get$strand().build$0()) : _$result0; + } catch (exception) { + H.unwrapException(exception); + _$failedField = null; + try { + _$failedField = "modification"; + _this.get$modification().build$0(); + _$failedField = "strand"; + _this.get$strand().build$0(); + } catch (exception) { + e = H.unwrapException(exception); + t1 = Y.BuiltValueNestedFieldError$("SelectableModification3Prime", _$failedField, J.toString$0$(e)); + throw H.wrapException(t1); + } + throw exception; + } + t1 = type$.legacy_SelectableModification3Prime._as(_$result); + if (t1 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + _this._selectable$_$v = t1; + return _$result; + } + }; + E._$SelectableModificationInternal.prototype = { + get$address: function() { + var t1 = this.__address; + return t1 == null ? this.__address = E.SelectableModificationInternal.prototype.get$address.call(this) : t1; + }, + get$id: function(_) { + var _this = this, + t1 = _this._selectable$__id; + return t1 == null ? _this._selectable$__id = E.SelectableModificationInternal.prototype.get$id.call(_this, _this) : t1; + }, + $eq: function(_, other) { + var _this = this; + if (other == null) + return false; + if (other === _this) + return true; + return other instanceof E.SelectableModificationInternal && J.$eq$(_this.modification, other.modification) && J.$eq$(_this.strand, other.strand) && J.$eq$(_this.domain, other.domain) && _this.dna_idx == other.dna_idx; + }, + get$hashCode: function(_) { + var _this = this, + t1 = _this._selectable$__hashCode; + return t1 == null ? _this._selectable$__hashCode = Y.$jf(Y.$jc(Y.$jc(Y.$jc(Y.$jc(0, J.get$hashCode$(_this.modification)), J.get$hashCode$(_this.strand)), J.get$hashCode$(_this.domain)), J.get$hashCode$(_this.dna_idx))) : t1; + }, + toString$0: function(_) { + var _this = this, + t1 = $.$get$newBuiltValueToStringHelper().call$1("SelectableModificationInternal"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "modification", _this.modification); + t2.add$2(t1, "strand", _this.strand); + t2.add$2(t1, "domain", _this.domain); + t2.add$2(t1, "dna_idx", _this.dna_idx); + return t2.toString$0(t1); + }, + get$modification: function() { + return this.modification; + }, + get$strand: function() { + return this.strand; + } + }; + E.SelectableModificationInternalBuilder.prototype = { + get$modification: function() { + var t1 = this.get$_selectable$_$this(), + t2 = t1._selectable$_modification; + return t2 == null ? t1._selectable$_modification = new Z.ModificationInternalBuilder() : t2; + }, + get$strand: function() { + var t1 = this.get$_selectable$_$this(), + t2 = t1._selectable$_strand; + return t2 == null ? t1._selectable$_strand = new E.StrandBuilder() : t2; + }, + get$domain: function(_) { + var t1 = this.get$_selectable$_$this(), + t2 = t1._selectable$_domain; + return t2 == null ? t1._selectable$_domain = new G.DomainBuilder() : t2; + }, + get$_selectable$_$this: function() { + var t1, t2, _this = this, + $$v = _this._selectable$_$v; + if ($$v != null) { + t1 = $$v.modification; + t1.toString; + t2 = new Z.ModificationInternalBuilder(); + t2._modification$_$v = t1; + _this._selectable$_modification = t2; + t1 = $$v.strand; + t1.toString; + t2 = new E.StrandBuilder(); + t2._strand$_$v = t1; + _this._selectable$_strand = t2; + t1 = $$v.domain; + t1.toString; + t2 = new G.DomainBuilder(); + t2._domain$_$v = t1; + _this._selectable$_domain = t2; + _this._dna_idx = $$v.dna_idx; + _this._selectable$_$v = null; + } + return _this; + }, + build$0: function() { + var _$failedField, e, _$result0, t1, t2, t3, t4, exception, _this = this, + _s30_ = "SelectableModificationInternal", + _$result = null; + try { + _$result0 = _this._selectable$_$v; + if (_$result0 == null) { + t1 = _this.get$modification().build$0(); + t2 = _this.get$strand().build$0(); + t3 = _this.get$domain(_this).build$0(); + t4 = _this.get$_selectable$_$this()._dna_idx; + if (t4 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s30_, "dna_idx")); + _$result0 = E._$SelectableModificationInternal$_(t4, t3, t1, t2); + } + _$result = _$result0; + } catch (exception) { + H.unwrapException(exception); + _$failedField = null; + try { + _$failedField = "modification"; + _this.get$modification().build$0(); + _$failedField = "strand"; + _this.get$strand().build$0(); + _$failedField = "domain"; + _this.get$domain(_this).build$0(); + } catch (exception) { + e = H.unwrapException(exception); + t1 = Y.BuiltValueNestedFieldError$(_s30_, _$failedField, J.toString$0$(e)); + throw H.wrapException(t1); + } + throw exception; + } + t1 = type$.legacy_SelectableModificationInternal._as(_$result); + if (t1 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + _this._selectable$_$v = t1; + return _$result; + } + }; + E._SelectableDeletion_Object_SelectableMixin.prototype = {}; + E._SelectableDeletion_Object_SelectableMixin_BuiltJsonSerializable.prototype = {}; + E._SelectableInsertion_Object_SelectableMixin.prototype = {}; + E._SelectableInsertion_Object_SelectableMixin_BuiltJsonSerializable.prototype = {}; + E._SelectableModification3Prime_Object_SelectableModification.prototype = {}; + E._SelectableModification3Prime_Object_SelectableModification_SelectableMixin.prototype = {}; + E._SelectableModification3Prime_Object_SelectableModification_SelectableMixin_BuiltJsonSerializable.prototype = {}; + E._SelectableModification5Prime_Object_SelectableModification.prototype = {}; + E._SelectableModification5Prime_Object_SelectableModification_SelectableMixin.prototype = {}; + E._SelectableModification5Prime_Object_SelectableModification_SelectableMixin_BuiltJsonSerializable.prototype = {}; + E._SelectableModificationInternal_Object_SelectableModification.prototype = {}; + E._SelectableModificationInternal_Object_SelectableModification_SelectableMixin.prototype = {}; + E._SelectableModificationInternal_Object_SelectableModification_SelectableMixin_BuiltJsonSerializable.prototype = {}; + E._SelectablesStore_Object_BuiltJsonSerializable.prototype = {}; + E.SelectionBox.prototype = { + get$width: function(_) { + var t1 = this.start.x, + t2 = this.current.x; + if (typeof t1 !== "number") + return t1.$sub(); + if (typeof t2 !== "number") + return H.iae(t2); + return Math.abs(t1 - t2); + }, + get$height: function(_) { + var t1 = this.start.y, + t2 = this.current.y; + if (typeof t1 !== "number") + return t1.$sub(); + if (typeof t2 !== "number") + return H.iae(t2); + return Math.abs(t1 - t2); + }, + toString$0: function(_) { + var t1 = this.start, + t2 = this.current; + return "start=(" + J.toStringAsFixed$1$n(t1.x, 1) + ", " + J.toStringAsFixed$1$n(t1.y, 1) + ") current=(" + J.toStringAsFixed$1$n(t2.x, 1) + ", " + J.toStringAsFixed$1$n(t2.y, 1) + "), is_main=" + this.is_main; + } + }; + E.SelectionBox_SelectionBox_closure.prototype = { + call$1: function(b) { + var t1 = type$.legacy_Point_legacy_num._as(this.start); + b.get$_selection_box$_$this().set$_selection_box$_start(0, t1); + b.get$_selection_box$_$this()._selection_box$_toggle = this.toggle; + b.get$_selection_box$_$this()._selection_box$_is_main = this.is_main; + b.get$_selection_box$_$this().set$_selection_box$_current(t1); + return b; + }, + $signature: 112 + }; + E._$SelectionBoxSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + type$.legacy_SelectionBox._as(object); + return H.setRuntimeTypeInfo(["start", serializers.serialize$2$specifiedType(object.start, C.FullType_8eb), "current", serializers.serialize$2$specifiedType(object.current, C.FullType_8eb), "toggle", serializers.serialize$2$specifiedType(object.toggle, C.FullType_MtR), "is_main", serializers.serialize$2$specifiedType(object.is_main, C.FullType_MtR)], type$.JSArray_legacy_Object); + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + var t1, key, value, t2, + result = new E.SelectionBoxBuilder(), + iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + for (t1 = type$.legacy_Point_legacy_num; iterator.moveNext$0();) { + key = H._asStringS(iterator.get$current(iterator)); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (key) { + case "start": + t2 = t1._as(t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_8eb))); + result.get$_selection_box$_$this().set$_selection_box$_start(0, t2); + break; + case "current": + t2 = t1._as(t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_8eb))); + result.get$_selection_box$_$this().set$_selection_box$_current(t2); + break; + case "toggle": + t2 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); + result.get$_selection_box$_$this()._selection_box$_toggle = t2; + break; + case "is_main": + t2 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); + result.get$_selection_box$_$this()._selection_box$_is_main = t2; + break; + } + } + return result.build$0(); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_mHo; + }, + get$wireName: function() { + return "SelectionBox"; + } + }; + E._$SelectionBox.prototype = { + $eq: function(_, other) { + var _this = this; + if (other == null) + return false; + if (other === _this) + return true; + return other instanceof E.SelectionBox && _this.start.$eq(0, other.start) && _this.current.$eq(0, other.current) && _this.toggle === other.toggle && _this.is_main === other.is_main; + }, + get$hashCode: function(_) { + var t2, _this = this, + t1 = _this._selection_box$__hashCode; + if (t1 == null) { + t1 = _this.start; + t2 = _this.current; + t2 = _this._selection_box$__hashCode = Y.$jf(Y.$jc(Y.$jc(Y.$jc(Y.$jc(0, H.SystemHash_hash2(J.get$hashCode$(t1.x), J.get$hashCode$(t1.y))), H.SystemHash_hash2(J.get$hashCode$(t2.x), J.get$hashCode$(t2.y))), C.JSBool_methods.get$hashCode(_this.toggle)), C.JSBool_methods.get$hashCode(_this.is_main))); + t1 = t2; + } + return t1; + } + }; + E.SelectionBoxBuilder.prototype = { + get$_selection_box$_$this: function() { + var _this = this, + $$v = _this._selection_box$_$v; + if ($$v != null) { + _this.set$_selection_box$_start(0, $$v.start); + _this.set$_selection_box$_current($$v.current); + _this._selection_box$_toggle = $$v.toggle; + _this._selection_box$_is_main = $$v.is_main; + _this._selection_box$_$v = null; + } + return _this; + }, + build$0: function() { + var t1, t2, t3, t4, _this = this, + _s12_ = "SelectionBox", + _$result = _this._selection_box$_$v; + if (_$result == null) { + t1 = _this.get$_selection_box$_$this()._selection_box$_start; + if (t1 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s12_, "start")); + t2 = _this.get$_selection_box$_$this()._selection_box$_current; + if (t2 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s12_, "current")); + t3 = _this.get$_selection_box$_$this()._selection_box$_toggle; + if (t3 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s12_, "toggle")); + t4 = _this.get$_selection_box$_$this()._selection_box$_is_main; + if (t4 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s12_, "is_main")); + _$result = new E._$SelectionBox(t1, t2, t3, t4); + } + return _this._selection_box$_$v = _$result; + }, + set$_selection_box$_start: function(_, _start) { + this._selection_box$_start = type$.legacy_Point_legacy_num._as(_start); + }, + set$_selection_box$_current: function(_current) { + this._selection_box$_current = type$.legacy_Point_legacy_num._as(_current); + } + }; + E._SelectionBox_Object_BuiltJsonSerializable.prototype = {}; + F.SelectionRope.prototype = { + get$lines: function(_) { + var t3, i0, + result = H.setRuntimeTypeInfo([], type$.JSArray_legacy_Line), + t1 = this.points._list, + t2 = J.getInterceptor$asx(t1), + i = 0; + while (true) { + t3 = t2.get$length(t1); + if (typeof t3 !== "number") + return t3.$sub(); + if (!(i < t3 - 1)) + break; + i0 = i + 1; + C.JSArray_methods.add$1(result, F.Line_Line(t2.$index(t1, i), t2.$index(t1, i0))); + i = i0; + } + return D._BuiltList$of(result, type$.legacy_Line); + }, + get$lines_without_last: function() { + var t3, i0, + result = H.setRuntimeTypeInfo([], type$.JSArray_legacy_Line), + t1 = this.points._list, + t2 = J.getInterceptor$asx(t1), + i = 0; + while (true) { + t3 = t2.get$length(t1); + if (typeof t3 !== "number") + return t3.$sub(); + if (!(i < t3 - 2)) + break; + i0 = i + 1; + C.JSArray_methods.add$1(result, F.Line_Line(t2.$index(t1, i), t2.$index(t1, i0))); + i = i0; + } + return D._BuiltList$of(result, type$.legacy_Line); + }, + get$lines_without_first: function() { + var t3, i0, + result = H.setRuntimeTypeInfo([], type$.JSArray_legacy_Line), + t1 = this.points._list, + t2 = J.getInterceptor$asx(t1), + i = 1; + while (true) { + t3 = t2.get$length(t1); + if (typeof t3 !== "number") + return t3.$sub(); + if (!(i < t3 - 1)) + break; + i0 = i + 1; + C.JSArray_methods.add$1(result, F.Line_Line(t2.$index(t1, i), t2.$index(t1, i0))); + i = i0; + } + return D._BuiltList$of(result, type$.legacy_Line); + }, + creates_self_intersection$1: function(new_point) { + var t1, t2, new_penultimate_line, t3, new_last_line, _this = this; + type$.legacy_Point_legacy_num._as(new_point); + t1 = _this.points._list; + t2 = J.getInterceptor$asx(t1); + if (t2.get$isEmpty(t1)) + return false; + new_penultimate_line = F.Line_Line(t2.get$last(t1), new_point); + t3 = _this.__lines_without_last; + if (t3 == null) { + t3 = F.SelectionRope.prototype.get$lines_without_last.call(_this); + _this.set$__lines_without_last(t3); + } + t3 = J.get$iterator$ax(t3._list); + for (; t3.moveNext$0();) + if (t3.get$current(t3).intersects$1(0, new_penultimate_line)) + return true; + new_last_line = F.Line_Line(new_point, t2.get$first(t1)); + t1 = _this.__lines_without_first; + if (t1 == null) { + t1 = F.SelectionRope.prototype.get$lines_without_first.call(_this); + _this.set$__lines_without_first(t1); + } + t1 = J.get$iterator$ax(t1._list); + for (; t1.moveNext$0();) + if (t1.get$current(t1).intersects$1(0, new_last_line)) + return true; + if (J.get$isNotEmpty$asx(_this.get$lines(_this)._list)) { + if (J.get$last$ax(_this.get$lines(_this)._list).intersects_line_to_new_point$1(new_point)) + return true; + if (J.get$first$ax(_this.get$lines(_this)._list).intersects_line_from_new_point$1(new_point)) + return true; + } + return false; + }, + potential_is_illegal$0: function() { + var t1 = this.current_point; + if (t1 != null) + return this.creates_self_intersection$1(t1); + else + return false; + } + }; + F.SelectionRope_SelectionRope_closure.prototype = { + call$1: function(b) { + type$.legacy_Point_legacy_num._as(null); + b.get$_selection_rope$_$this().set$_current_point(null); + b.get$_selection_rope$_$this()._toggle = this.toggle; + b.get$points(b).replace$1(0, []); + b.get$_selection_rope$_$this()._is_main = null; + return b; + }, + $signature: 53 + }; + F.Line.prototype = { + intersects$1: function(_, line2) { + var _this = this, + t1 = _this.p1, + t2 = _this.p2, + t3 = line2.p1, + dir1 = F.Line_orientation(t1, t2, t3), + t4 = line2.p2, + dir2 = F.Line_orientation(t1, t2, t4), + dir3 = F.Line_orientation(t3, t4, t1), + dir4 = F.Line_orientation(t3, t4, t2); + if (dir1 !== dir2 && dir3 !== dir4) + return true; + if (dir1 === C.Orientation_0 && _this.contains_point$1(t3)) + return true; + if (dir2 === C.Orientation_0 && _this.contains_point$1(t4)) + return true; + if (dir3 === C.Orientation_0 && line2.contains_point$1(t1)) + return true; + if (dir4 === C.Orientation_0 && line2.contains_point$1(t2)) + return true; + return false; + }, + contains_point$1: function(p) { + var t1, t2, t3, t4, t5, t6; + type$.legacy_Point_legacy_num._as(p); + t1 = p.x; + t2 = this.p1; + t3 = t2.x; + t4 = this.p2; + t5 = t4.x; + t6 = Math.max(H.checkNum(t3), H.checkNum(t5)); + if (typeof t1 !== "number") + return t1.$lt(); + if (t1 < t6) + if (t1 < Math.min(H.checkNum(t3), H.checkNum(t5))) { + t1 = p.y; + t2 = t2.y; + t4 = t4.y; + t3 = Math.max(H.checkNum(t2), H.checkNum(t4)); + if (typeof t1 !== "number") + return t1.$lt(); + t1 = t1 < t3 && t1 < Math.min(H.checkNum(t2), H.checkNum(t4)); + } else + t1 = false; + else + t1 = false; + return t1; + }, + intersects_line_to_new_point$1: function(new_point) { + var t1, t2; + type$.legacy_Point_legacy_num._as(new_point); + t1 = this.p1; + t2 = this.p2; + if (F.Line_orientation(t1, t2, new_point) !== C.Orientation_0) + return false; + return !F.vectors_point_same_direction(t2.$sub(0, t1), new_point.$sub(0, t2)); + }, + intersects_line_from_new_point$1: function(new_point) { + var t1, t2; + type$.legacy_Point_legacy_num._as(new_point); + t1 = this.p1; + t2 = this.p2; + if (F.Line_orientation(new_point, t1, t2) !== C.Orientation_0) + return false; + return !F.vectors_point_same_direction(new_point.$sub(0, t1), t2.$sub(0, t1)); + } + }; + F.Line_Line_closure.prototype = { + call$1: function(b) { + var t1 = type$.legacy_Point_legacy_num, + t2 = t1._as(this.p1); + b.get$_selection_rope$_$this().set$_p1(t2); + t1 = t1._as(this.p2); + b.get$_selection_rope$_$this().set$_p2(t1); + return b; + }, + $signature: 391 + }; + F.Orientation.prototype = { + toString$0: function(_) { + return this._selection_rope$_name; + } + }; + F._$SelectionRopeSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + var result, value; + type$.legacy_SelectionRope._as(object); + result = H.setRuntimeTypeInfo(["toggle", serializers.serialize$2$specifiedType(object.toggle, C.FullType_MtR), "points", serializers.serialize$2$specifiedType(object.points, C.FullType_EyI)], type$.JSArray_legacy_Object); + value = object.current_point; + if (value != null) { + C.JSArray_methods.add$1(result, "current_point"); + C.JSArray_methods.add$1(result, serializers.serialize$2$specifiedType(value, C.FullType_8eb)); + } + value = object.is_main; + if (value != null) { + C.JSArray_methods.add$1(result, "is_main"); + C.JSArray_methods.add$1(result, serializers.serialize$2$specifiedType(value, C.FullType_MtR)); + } + return result; + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + var t1, t2, t3, t4, key, value, t5, t6, t7, t8, t9, + result = new F.SelectionRopeBuilder(), + iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + for (t1 = type$.legacy_Point_legacy_num, t2 = type$.legacy_BuiltList_legacy_Object, t3 = type$.List_legacy_Point_legacy_num, t4 = type$.ListBuilder_legacy_Point_legacy_num; iterator.moveNext$0();) { + key = H._asStringS(iterator.get$current(iterator)); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (key) { + case "toggle": + t5 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); + result.get$_selection_rope$_$this()._toggle = t5; + break; + case "points": + t5 = result.get$_selection_rope$_$this(); + t6 = t5._points; + if (t6 == null) { + t6 = new D.ListBuilder(t4); + t6.set$__ListBuilder__list(t3._as(P.List_List$from(C.List_empty, true, t1))); + t6.set$_listOwner(null); + t5.set$_points(t6); + t5 = t6; + } else + t5 = t6; + t6 = t2._as(serializers.deserialize$2$specifiedType(value, C.FullType_EyI)); + t7 = t5.$ti; + t8 = t7._eval$1("_BuiltList<1>"); + t9 = t7._eval$1("List<1>"); + if (t8._is(t6)) { + t8._as(t6); + t5.set$__ListBuilder__list(t9._as(t6._list)); + t5.set$_listOwner(t6); + } else { + t5.set$__ListBuilder__list(t9._as(P.List_List$from(t6, true, t7._precomputed1))); + t5.set$_listOwner(null); + } + break; + case "current_point": + t5 = t1._as(t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_8eb))); + result.get$_selection_rope$_$this().set$_current_point(t5); + break; + case "is_main": + t5 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); + result.get$_selection_rope$_$this()._is_main = t5; + break; + } + } + return result.build$0(); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_VQM; + }, + get$wireName: function() { + return "SelectionRope"; + } + }; + F._$LineSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + type$.legacy_Line._as(object); + return H.setRuntimeTypeInfo(["p1", serializers.serialize$2$specifiedType(object.p1, C.FullType_8eb), "p2", serializers.serialize$2$specifiedType(object.p2, C.FullType_8eb)], type$.JSArray_legacy_Object); + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + var t1, key, value, t2, $$v, + result = new F.LineBuilder(), + iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + for (t1 = type$.legacy_Point_legacy_num; iterator.moveNext$0();) { + key = H._asStringS(iterator.get$current(iterator)); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (key) { + case "p1": + t2 = t1._as(t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_8eb))); + $$v = result._selection_rope$_$v; + if ($$v != null) { + result.set$_p1($$v.p1); + result.set$_p2($$v.p2); + result._selection_rope$_$v = null; + } + result.set$_p1(t2); + break; + case "p2": + t2 = t1._as(t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_8eb))); + $$v = result._selection_rope$_$v; + if ($$v != null) { + result.set$_p1($$v.p1); + result.set$_p2($$v.p2); + result._selection_rope$_$v = null; + } + result.set$_p2(t2); + break; + } + } + return result.build$0(); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_Cu4; + }, + get$wireName: function() { + return "Line"; + } + }; + F._$SelectionRope.prototype = { + get$lines: function(_) { + var _this = this, + t1 = _this.__lines; + if (t1 == null) { + t1 = F.SelectionRope.prototype.get$lines.call(_this, _this); + _this.set$__lines(t1); + } + return t1; + }, + rebuild$1: function(updates) { + var t1; + type$.legacy_void_Function_legacy_SelectionRopeBuilder._as(updates); + t1 = new F.SelectionRopeBuilder(); + t1._selection_rope$_$v = this; + updates.call$1(t1); + return t1.build$0(); + }, + $eq: function(_, other) { + var _this = this; + if (other == null) + return false; + if (other === _this) + return true; + return other instanceof F.SelectionRope && _this.toggle === other.toggle && J.$eq$(_this.points, other.points) && J.$eq$(_this.current_point, other.current_point) && _this.is_main == other.is_main; + }, + get$hashCode: function(_) { + var _this = this, + t1 = _this._selection_rope$__hashCode; + return t1 == null ? _this._selection_rope$__hashCode = Y.$jf(Y.$jc(Y.$jc(Y.$jc(Y.$jc(0, C.JSBool_methods.get$hashCode(_this.toggle)), J.get$hashCode$(_this.points)), J.get$hashCode$(_this.current_point)), J.get$hashCode$(_this.is_main))) : t1; + }, + toString$0: function(_) { + var _this = this, + t1 = $.$get$newBuiltValueToStringHelper().call$1("SelectionRope"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "toggle", _this.toggle); + t2.add$2(t1, "points", _this.points); + t2.add$2(t1, "current_point", _this.current_point); + t2.add$2(t1, "is_main", _this.is_main); + return t2.toString$0(t1); + }, + set$__lines: function(__lines) { + this.__lines = type$.legacy_BuiltList_legacy_Line._as(__lines); + }, + set$__lines_without_last: function(__lines_without_last) { + this.__lines_without_last = type$.legacy_BuiltList_legacy_Line._as(__lines_without_last); + }, + set$__lines_without_first: function(__lines_without_first) { + this.__lines_without_first = type$.legacy_BuiltList_legacy_Line._as(__lines_without_first); + } + }; + F.SelectionRopeBuilder.prototype = { + get$points: function(_) { + var t1 = this.get$_selection_rope$_$this(), + t2 = t1._points; + if (t2 == null) { + t2 = D.ListBuilder_ListBuilder(C.List_empty, type$.legacy_Point_legacy_num); + t1.set$_points(t2); + t1 = t2; + } else + t1 = t2; + return t1; + }, + get$_selection_rope$_$this: function() { + var t1, _this = this, + $$v = _this._selection_rope$_$v; + if ($$v != null) { + _this._toggle = $$v.toggle; + t1 = $$v.points; + t1.toString; + _this.set$_points(D.ListBuilder_ListBuilder(t1, t1.$ti._precomputed1)); + _this.set$_current_point($$v.current_point); + _this._is_main = $$v.is_main; + _this._selection_rope$_$v = null; + } + return _this; + }, + build$0: function() { + var _$failedField, e, _$result0, t1, t2, exception, _this = this, + _s13_ = "SelectionRope", + _$result = null; + try { + _$result0 = _this._selection_rope$_$v; + if (_$result0 == null) { + t1 = _this.get$_selection_rope$_$this()._toggle; + if (t1 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s13_, "toggle")); + t2 = _this.get$points(_this).build$0(); + _$result0 = new F._$SelectionRope(t1, t2, _this.get$_selection_rope$_$this()._current_point, _this.get$_selection_rope$_$this()._is_main); + if (t2 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s13_, "points")); + } + _$result = _$result0; + } catch (exception) { + H.unwrapException(exception); + _$failedField = null; + try { + _$failedField = "points"; + _this.get$points(_this).build$0(); + } catch (exception) { + e = H.unwrapException(exception); + t1 = Y.BuiltValueNestedFieldError$(_s13_, _$failedField, J.toString$0$(e)); + throw H.wrapException(t1); + } + throw exception; + } + t1 = type$.legacy_SelectionRope._as(_$result); + if (t1 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + _this._selection_rope$_$v = t1; + return _$result; + }, + set$_points: function(_points) { + this._points = type$.legacy_ListBuilder_legacy_Point_legacy_num._as(_points); + }, + set$_current_point: function(_current_point) { + this._current_point = type$.legacy_Point_legacy_num._as(_current_point); + } + }; + F._$Line.prototype = { + $eq: function(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof F.Line && this.p1.$eq(0, other.p1) && this.p2.$eq(0, other.p2); + }, + get$hashCode: function(_) { + var t2, _this = this, + t1 = _this._selection_rope$__hashCode; + if (t1 == null) { + t1 = _this.p1; + t2 = _this.p2; + t2 = _this._selection_rope$__hashCode = Y.$jf(Y.$jc(Y.$jc(0, H.SystemHash_hash2(J.get$hashCode$(t1.x), J.get$hashCode$(t1.y))), H.SystemHash_hash2(J.get$hashCode$(t2.x), J.get$hashCode$(t2.y)))); + t1 = t2; + } + return t1; + }, + toString$0: function(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("Line"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "p1", this.p1); + t2.add$2(t1, "p2", this.p2); + return t2.toString$0(t1); + } + }; + F.LineBuilder.prototype = { + get$_selection_rope$_$this: function() { + var _this = this, + $$v = _this._selection_rope$_$v; + if ($$v != null) { + _this.set$_p1($$v.p1); + _this.set$_p2($$v.p2); + _this._selection_rope$_$v = null; + } + return _this; + }, + build$0: function() { + var t1, t2, _this = this, + _$result = _this._selection_rope$_$v; + if (_$result == null) { + t1 = _this.get$_selection_rope$_$this()._p1; + if (t1 == null) + H.throwExpression(Y.BuiltValueNullFieldError$("Line", "p1")); + t2 = _this.get$_selection_rope$_$this()._p2; + if (t2 == null) + H.throwExpression(Y.BuiltValueNullFieldError$("Line", "p2")); + _$result = new F._$Line(t1, t2); + } + return _this._selection_rope$_$v = _$result; + }, + set$_p1: function(_p1) { + this._p1 = type$.legacy_Point_legacy_num._as(_p1); + }, + set$_p2: function(_p2) { + this._p2 = type$.legacy_Point_legacy_num._as(_p2); + } + }; + F._Line_Object_BuiltJsonSerializable.prototype = {}; + F._SelectionRope_Object_BuiltJsonSerializable.prototype = {}; + E.Strand.prototype = { + initialize$0: function(_) { + var t1, t2, t3, t4, second_last_idx, _this = this, + strand = _this._rebuild_substrands_with_new_fields_based_on_strand$1(_this._rebuild_substrands_with_new_dna_sequences_based_on_strand$1(_this)); + _this.check_loopout_not_singleton$0(); + _this.check_two_consecutive_loopouts$0(); + _this.check_loopouts_length$0(); + _this.check_at_least_one_domain$0(); + _this.check_only_at_ends$0(); + t1 = _this.substrands; + t2 = t1._list; + t3 = J.getInterceptor$asx(t2); + if (t3.$index(t2, 0) instanceof S.Extension) + if (t3.$index(t2, 1) instanceof G.Loopout) + H.throwExpression(N.StrandError$(_this, string$.cannothf + H.S(t1.$index(0, 0)) + "\n and second substrand is Loopout: " + H.S(t1.$index(0, 1)))); + if (t3.get$last(t2) instanceof S.Extension) { + t4 = t3.get$length(t2); + if (typeof t4 !== "number") + return t4.$sub(); + second_last_idx = t4 - 2; + if (t3.$index(t2, second_last_idx) instanceof G.Loopout) + H.throwExpression(N.StrandError$(_this, string$.cannothl + H.S(t1.get$last(t1)) + string$.x0ax20and_ + H.S(t1.$index(0, second_last_idx)))); + } + return strand; + }, + _rebuild_substrands_with_new_fields_based_on_strand$1: function(strand) { + var substrands_new, t2, t3, t4, idx, is_5p, t5, new_ss, + t1 = strand.substrands; + t1.toString; + substrands_new = D.ListBuilder_ListBuilder(t1, t1.$ti._precomputed1); + for (t1 = J.get$iterator$ax(t1._list), t2 = substrands_new.$ti, t3 = t2._precomputed1, t4 = !t3._is(null), t2 = t2._eval$1("List<1>"), idx = 0, is_5p = true; t1.moveNext$0(); is_5p = false) { + t5 = t1.get$current(t1); + if (t5 instanceof G.Loopout) + new_ss = this._rebuild_loopout_with_new_fields_based_on_strand$3(t5, idx, strand); + else if (t5 instanceof G.Domain) + new_ss = this._rebuild_domain_with_new_fields_based_on_strand$3(t5, idx, strand); + else + new_ss = t5 instanceof S.Extension ? this._rebuild_extension_with_new_fields_based_on_strand$3(t5, is_5p, strand) : null; + t3._as(new_ss); + if (!$.$get$isSoundMode() && t4) + if (new_ss == null) + H.throwExpression(P.ArgumentError$("null element")); + if (substrands_new._listOwner != null) { + t5 = substrands_new.__ListBuilder__list; + substrands_new.set$__ListBuilder__list(t2._as(P.List_List$from(t5 === $ ? H.throwExpression(H.LateError$fieldNI("_list")) : t5, true, t3))); + substrands_new.set$_listOwner(null); + } + t5 = substrands_new.__ListBuilder__list; + J.$indexSet$ax(t5 === $ ? H.throwExpression(H.LateError$fieldNI("_list")) : t5, idx, new_ss); + ++idx; + } + return strand.rebuild$1(new E.Strand__rebuild_substrands_with_new_fields_based_on_strand_closure(substrands_new)); + }, + _rebuild_domain_with_new_fields_based_on_strand$3: function(domain, idx, strand) { + var t1 = J.get$length$asx(strand.substrands._list); + if (typeof t1 !== "number") + return t1.$sub(); + return domain.rebuild$1(new E.Strand__rebuild_domain_with_new_fields_based_on_strand_closure(this, strand, idx === 0, idx === t1 - 1)); + }, + _rebuild_loopout_with_new_fields_based_on_strand$3: function(loopout, idx, strand) { + return loopout.rebuild$1(new E.Strand__rebuild_loopout_with_new_fields_based_on_strand_closure(this, strand, idx)); + }, + _rebuild_extension_with_new_fields_based_on_strand$3: function(ext, is_5p, strand) { + return ext.rebuild$1(new E.Strand__rebuild_extension_with_new_fields_based_on_strand_closure(this, strand, is_5p ? strand.get$first_domain() : strand.get$last_domain(), is_5p)); + }, + _rebuild_substrands_with_new_dna_sequences_based_on_strand$1: function(strand) { + var new_substrands, t1, t2, old_sequence; + if (!this._at_least_one_substrand_has_dna_sequence$1(strand)) + return strand; + new_substrands = H.setRuntimeTypeInfo([], type$.JSArray_legacy_Substrand); + for (t1 = J.get$iterator$ax(strand.substrands._list); t1.moveNext$0();) { + t2 = t1.get$current(t1); + old_sequence = t2.get$dna_sequence() == null ? "" : t2.get$dna_sequence(); + C.JSArray_methods.add$1(new_substrands, t2.set_dna_sequence$1(this._trim_or_pad_sequence_to_desired_length$2(old_sequence, t2.dna_length$0()))); + } + return strand.rebuild$1(new E.Strand__rebuild_substrands_with_new_dna_sequences_based_on_strand_closure(new_substrands)); + }, + _at_least_one_substrand_has_dna_sequence$1: function(strand) { + var t1 = strand.substrands; + t1.toString; + return J.any$1$ax(t1._list, t1.$ti._eval$1("bool(1)")._as(new E.Strand__at_least_one_substrand_has_dna_sequence_closure())); + }, + check_at_least_one_domain$0: function() { + var t1, t2; + for (t1 = this.substrands, t2 = J.get$iterator$ax(t1._list); t2.moveNext$0();) + if (t2.get$current(t2) instanceof G.Domain) + return; + throw H.wrapException(N.StrandError$(this, "strand must have at least one domain; here are all substrands:\n" + t1.toString$0(0))); + }, + check_only_at_ends$0: function() { + var t4, + t1 = this.substrands, + t2 = t1._list, + t3 = J.getInterceptor$asx(t2), + i = 1; + while (true) { + t4 = t3.get$length(t2); + if (typeof t4 !== "number") + return t4.$sub(); + if (!(i < t4 - 1)) + break; + if (t3.$index(t2, i) instanceof S.Extension) + throw H.wrapException(N.StrandError$(this, "Extension must be at 5' or 3' end, but there is an Extension at index " + i + ": " + H.S(t1.$index(0, i)))); + ++i; + } + }, + check_not_adjacent_to_loopout$0: function() { + var t4, second_last_idx, + t1 = this.substrands, + t2 = t1._list, + t3 = J.getInterceptor$asx(t2); + if (t3.$index(t2, 0) instanceof S.Extension) + if (t3.$index(t2, 1) instanceof G.Loopout) + throw H.wrapException(N.StrandError$(this, string$.cannothf + H.S(t1.$index(0, 0)) + "\n and second substrand is Loopout: " + H.S(t1.$index(0, 1)))); + if (t3.get$last(t2) instanceof S.Extension) { + t4 = t3.get$length(t2); + if (typeof t4 !== "number") + return t4.$sub(); + second_last_idx = t4 - 2; + if (t3.$index(t2, second_last_idx) instanceof G.Loopout) + throw H.wrapException(N.StrandError$(this, string$.cannothl + H.S(t1.get$last(t1)) + string$.x0ax20and_ + H.S(t1.$index(0, second_last_idx)))); + } + }, + check_loopout_not_singleton$0: function() { + if (J.get$length$asx(this.substrands._list) === 1) + this.get$first_domain().toString; + }, + check_two_consecutive_loopouts$0: function() { + var t3, domain1, domain2, + t1 = this.substrands._list, + t2 = J.getInterceptor$asx(t1), + i = 0; + while (true) { + t3 = t2.get$length(t1); + if (typeof t3 !== "number") + return t3.$sub(); + if (!(i < t3 - 1)) + break; + domain1 = t2.$index(t1, i); + ++i; + domain2 = t2.$index(t1, i); + if (domain1.is_loopout$0() && domain2.is_loopout$0()) + throw H.wrapException(N.StrandError$(this, "cannot have two consecutive Loopouts in a strand")); + } + }, + check_loopouts_length$0: function() { + var t1, t2; + for (t1 = J.get$iterator$ax(this.get$loopouts()._list); t1.moveNext$0();) { + t2 = t1.get$current(t1).loopout_num_bases; + if (t2 <= 0) + throw H.wrapException(N.StrandError$(this, "loopout length must be positive but is " + t2)); + } + }, + get$dna_sequence: function() { + var t1, sequence, t2; + for (t1 = J.get$iterator$ax(this.substrands._list), sequence = ""; t1.moveNext$0();) { + t2 = t1.get$current(t1); + if (t2.get$dna_sequence() == null) + return null; + sequence = C.JSString_methods.$add(sequence, t2.get$dna_sequence()); + } + return sequence; + }, + vendor_dna_sequence$1$domain_delimiter: function(domain_delimiter) { + var ret_list, t1, _this = this; + if (_this.get$dna_sequence() == null) + return null; + ret_list = H.setRuntimeTypeInfo([], type$.JSArray_legacy_String); + t1 = _this.modification_5p; + if (t1 != null && true) + C.JSArray_methods.add$1(ret_list, t1.vendor_code); + for (t1 = J.get$iterator$ax(_this.substrands._list); t1.moveNext$0();) + C.JSArray_methods.add$1(ret_list, _this.vendor_dna_sequence_substrand$1(t1.get$current(t1))); + t1 = _this.modification_3p; + if (t1 != null && true) + C.JSArray_methods.add$1(ret_list, t1.vendor_code); + return C.JSArray_methods.join$1(ret_list, domain_delimiter); + }, + vendor_dna_sequence_substrand$1: function(substrand) { + var t1, len_dna_prior, t2, new_seq_list, pos, base, strand_pos, t3, mod, vendor_code_with_delim; + if (this.get$dna_sequence() == null) + return null; + for (t1 = J.get$iterator$ax(this.substrands._list), len_dna_prior = 0; t1.moveNext$0();) { + t2 = t1.get$current(t1); + if (J.$eq$(t2, substrand)) + break; + len_dna_prior += t2.dna_length$0(); + } + new_seq_list = H.setRuntimeTypeInfo([], type$.JSArray_legacy_String); + for (t1 = this.modifications_int, pos = 0; pos < substrand.get$dna_sequence().length; ++pos) { + t2 = substrand.get$dna_sequence(); + if (pos >= t2.length) + return H.ioore(t2, pos); + base = t2[pos]; + C.JSArray_methods.add$1(new_seq_list, base); + strand_pos = pos + len_dna_prior; + t2 = t1._map$_map; + t3 = J.getInterceptor$x(t2); + if (t3.containsKey$1(t2, strand_pos)) { + mod = t3.$index(t2, strand_pos); + vendor_code_with_delim = mod.vendor_code; + t2 = mod.allowed_bases; + if (t2 != null) { + t2 = t2._set; + if (!t2.contains$1(0, base)) + throw H.wrapException(N.IllegalDesignError$("internal modification " + mod.toString$0(0) + " can only replace one of these bases: " + t2.join$1(0, ",") + ", but the base at position " + strand_pos + " is " + base)); + C.JSArray_methods.set$last(new_seq_list, vendor_code_with_delim); + } else + C.JSArray_methods.add$1(new_seq_list, vendor_code_with_delim); + } + } + return C.JSArray_methods.join$1(new_seq_list, ""); + }, + get$has_5p_extension: function() { + return J.get$first$ax(this.substrands._list) instanceof S.Extension; + }, + get$has_3p_extension: function() { + return J.get$last$ax(this.substrands._list) instanceof S.Extension; + }, + get$address_5p: function() { + return this.get$first_domain().get$address_5p(); + }, + get$address_3p: function() { + return this.get$last_domain().get$address_3p(); + }, + get$selectable_deletions: function() { + var t2, t3, t4, + t1 = H.setRuntimeTypeInfo([], type$.JSArray_legacy_SelectableDeletion); + for (t2 = J.get$iterator$ax(this.get$domains()._list); t2.moveNext$0();) { + t3 = t2.get$current(t2); + t4 = t3._domain$__selectable_deletions; + if (t4 == null) { + t4 = G.Domain.prototype.get$selectable_deletions.call(t3); + t3.set$_domain$__selectable_deletions(t4); + t3 = t4; + } else + t3 = t4; + t3 = J.get$iterator$ax(t3._list); + for (; t3.moveNext$0();) + t1.push(t3.get$current(t3)); + } + return D._BuiltList$of(t1, type$.legacy_SelectableDeletion); + }, + get$selectable_insertions: function() { + var t2, t3, t4, + t1 = H.setRuntimeTypeInfo([], type$.JSArray_legacy_SelectableInsertion); + for (t2 = J.get$iterator$ax(this.get$domains()._list); t2.moveNext$0();) { + t3 = t2.get$current(t2); + t4 = t3._domain$__selectable_insertions; + if (t4 == null) { + t4 = G.Domain.prototype.get$selectable_insertions.call(t3); + t3.set$_domain$__selectable_insertions(t4); + t3 = t4; + } else + t3 = t4; + t3 = J.get$iterator$ax(t3._list); + for (; t3.moveNext$0();) + t1.push(t3.get$current(t3)); + } + return D._BuiltList$of(t1, type$.legacy_SelectableInsertion); + }, + get$selectable_modification_5p: function() { + var t1 = this.modification_5p; + return t1 == null ? null : E._$SelectableModification5Prime$_(t1, this); + }, + get$selectable_modification_3p: function() { + var t1 = this.modification_3p; + return t1 == null ? null : E._$SelectableModification3Prime$_(t1, this); + }, + get$selectable_modifications: function() { + var t1, t2, _this = this, + mods = H.setRuntimeTypeInfo([], type$.JSArray_legacy_Selectable); + if (_this.get$selectable_modification_5p() != null) + C.JSArray_methods.add$1(mods, _this.get$selectable_modification_5p()); + if (_this.get$selectable_modification_3p() != null) + C.JSArray_methods.add$1(mods, _this.get$selectable_modification_3p()); + t1 = _this.get$selectable_modifications_int_by_dna_idx(); + t2 = type$.legacy_Selectable; + C.JSArray_methods.addAll$1(mods, P.List_List$from(t1.get$values(t1), true, t2)); + return D._BuiltList$of(mods, t2); + }, + get$selectable_modifications_int_by_dna_idx: function() { + var t5, substrand, mods_on_ss, t6, t7, t8, mod, _this = this, + _s30_ = "SelectableModificationInternal", + t1 = type$.legacy_int, + t2 = type$.legacy_SelectableModificationInternal, + mods = P.LinkedHashMap_LinkedHashMap$_empty(t1, t2), + t3 = _this.substrands._list, + t4 = J.getInterceptor$asx(t3), + i = 0; + while (true) { + t5 = t4.get$length(t3); + if (typeof t5 !== "number") + return H.iae(t5); + if (!(i < t5)) + break; + substrand = t4.$index(t3, i); + if (substrand instanceof G.Domain) { + t5 = _this.__internal_modifications_on_substrand_absolute_idx; + if (t5 == null) { + t5 = E.Strand.prototype.get$internal_modifications_on_substrand_absolute_idx.call(_this); + _this.set$__internal_modifications_on_substrand_absolute_idx(t5); + } + mods_on_ss = J.$index$asx(t5._list, i); + if (mods_on_ss._keys == null) + mods_on_ss.set$_keys(J.get$keys$x(mods_on_ss._map$_map)); + t5 = mods_on_ss._keys; + t5.toString; + t5 = J.get$iterator$ax(t5); + t6 = mods_on_ss._map$_map; + t7 = J.getInterceptor$asx(t6); + for (; t5.moveNext$0();) { + t8 = t5.get$current(t5); + mod = t7.$index(t6, t8); + if (mod == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s30_, "modification")); + if (t8 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s30_, "dna_idx")); + mods.$indexSet(0, t8, new E._$SelectableModificationInternal(mod, _this, substrand, t8)); + } + } + ++i; + } + return A.BuiltMap_BuiltMap$of(mods, t1, t2); + }, + get$internal_modifications_on_substrand_absolute_idx: function() { + var t4, mod, ss_idx, _i, _this = this, + t1 = _this.substrands._list, + t2 = J.getInterceptor$asx(t1), + mods = P.List_List$filled(t2.get$length(t1), null, false, type$.legacy_Map_of_legacy_int_and_legacy_ModificationInternal), + t3 = type$.JsLinkedHashMap_of_legacy_int_and_legacy_ModificationInternal, + i = 0; + while (true) { + t4 = t2.get$length(t1); + if (typeof t4 !== "number") + return H.iae(t4); + if (!(i < t4)) + break; + C.JSArray_methods.$indexSet(mods, i, new H.JsLinkedHashMap(t3)); + ++i; + } + for (t1 = _this.modifications_int, t2 = J.get$iterator$ax(t1.get$keys(t1)), t3 = mods.length; t2.moveNext$0();) { + t4 = t2.get$current(t2); + mod = J.$index$asx(t1._map$_map, t4); + ss_idx = _this.index_of_substrand$1(_this._substrand_of_dna_idx$1(t4).item1); + if (ss_idx >= t3) + return H.ioore(mods, ss_idx); + mods[ss_idx].$indexSet(0, t4, mod); + } + t1 = H.setRuntimeTypeInfo([], type$.JSArray_legacy_BuiltMap_of_legacy_int_and_legacy_ModificationInternal); + for (t2 = type$.legacy_int, t4 = type$.legacy_ModificationInternal, _i = 0; _i < t3; ++_i) + t1.push(A.BuiltMap_BuiltMap$of(mods[_i], t2, t4)); + return D._BuiltList$of(t1, type$.legacy_BuiltMap_of_legacy_int_and_legacy_ModificationInternal); + }, + index_of_substrand$1: function(ss) { + var t4, + t1 = this.substrands._list, + t2 = J.getInterceptor$asx(t1), + t3 = J.getInterceptor$(ss), + i = 0; + while (true) { + t4 = t2.get$length(t1); + if (typeof t4 !== "number") + return H.iae(t4); + if (!(i < t4)) + break; + if (t3.$eq(ss, t2.$index(t1, i))) + return i; + ++i; + } + throw H.wrapException(P.AssertionError$("ss = " + H.S(ss) + " is not a substrand on this strand: " + this.toString$0(0))); + }, + get$internal_modifications_on_substrand: function() { + var t1, t2, t3, t4, mod, ss_and_idx, t5, t6, t7, + mods = new H.JsLinkedHashMap(type$.JsLinkedHashMap_of_legacy_Substrand_and_legacy_Map_of_legacy_int_and_legacy_ModificationInternal); + for (t1 = J.get$iterator$ax(this.substrands._list), t2 = type$.JsLinkedHashMap_of_legacy_int_and_legacy_ModificationInternal; t1.moveNext$0();) { + t3 = t1.get$current(t1); + mods.$indexSet(0, t3, new H.JsLinkedHashMap(t2)); + } + for (t1 = this.modifications_int, t2 = J.get$iterator$ax(t1.get$keys(t1)), t1 = t1._map$_map, t3 = J.getInterceptor$asx(t1); t2.moveNext$0();) { + t4 = t2.get$current(t2); + mod = t3.$index(t1, t4); + ss_and_idx = this._substrand_of_dna_idx$1(t4); + J.$indexSet$ax(mods.$index(0, ss_and_idx.item1), ss_and_idx.item2, mod); + } + t1 = type$.legacy_Substrand; + t2 = type$.legacy_BuiltMap_of_legacy_int_and_legacy_ModificationInternal; + t3 = P.LinkedHashMap_LinkedHashMap$_empty(t1, t2); + for (t4 = mods.get$keys(mods), t4 = t4.get$iterator(t4), t5 = type$.legacy_int, t6 = type$.legacy_ModificationInternal; t4.moveNext$0();) { + t7 = t4.get$current(t4); + t3.$indexSet(0, t7, A.BuiltMap_BuiltMap$of(mods.$index(0, t7), t5, t6)); + } + return A.BuiltMap_BuiltMap$of(t3, t1, t2); + }, + _substrand_of_dna_idx$1: function(dna_idx) { + var t1, dna_idx_cur_ss_start, t2, dna_idx_cur_ss_end; + if (typeof dna_idx !== "number") + return dna_idx.$lt(); + if (dna_idx < 0) + throw H.wrapException(P.ArgumentError$("dna_idx cannot be negative but is " + dna_idx)); + if (dna_idx >= this.get$dna_length()) + throw H.wrapException(P.ArgumentError$("dna_idx cannot be greater than dna_length() but dna_idx = " + dna_idx + " and dna_length() = " + this.get$dna_length())); + for (t1 = J.get$iterator$ax(this.substrands._list), dna_idx_cur_ss_start = 0; t1.moveNext$0(); dna_idx_cur_ss_start = dna_idx_cur_ss_end) { + t2 = t1.get$current(t1); + dna_idx_cur_ss_end = dna_idx_cur_ss_start + t2.dna_length$0(); + if (dna_idx_cur_ss_start <= dna_idx && dna_idx < dna_idx_cur_ss_end) + return new S.Tuple2(t2, dna_idx - dna_idx_cur_ss_start, type$.Tuple2_of_legacy_Substrand_and_legacy_int); + } + throw H.wrapException(P.AssertionError$("should be unreachable")); + }, + get$domains_on_helix: function() { + var t1, t2, t3, t4, domains_partially_built_map, t5, + domains_map = new H.JsLinkedHashMap(type$.JsLinkedHashMap_of_legacy_int_and_legacy_List_legacy_Domain); + for (t1 = J.get$iterator$ax(this.get$domains()._list), t2 = type$.JSArray_legacy_Domain; t1.moveNext$0();) { + t3 = t1.get$current(t1); + t4 = t3.helix; + if (domains_map.containsKey$1(0, t4)) + J.add$1$ax(domains_map.$index(0, t4), t3); + else + domains_map.$indexSet(0, t4, H.setRuntimeTypeInfo([t3], t2)); + } + domains_partially_built_map = new H.JsLinkedHashMap(type$.JsLinkedHashMap_of_legacy_int_and_legacy_BuiltList_legacy_Domain); + for (t1 = domains_map.get$keys(domains_map), t1 = t1.get$iterator(t1), t2 = type$.legacy_Domain, t3 = type$._BuiltList_legacy_Domain; t1.moveNext$0();) { + t4 = t1.get$current(t1); + t5 = new D._BuiltList(P.List_List$from(domains_map.$index(0, t4), false, t2), t3); + t5._maybeCheckForNull$0(); + domains_partially_built_map.$indexSet(0, t4, t5); + } + return A.BuiltMap_BuiltMap$of(domains_partially_built_map, type$.legacy_int, type$.legacy_BuiltList_legacy_Domain); + }, + get$linkers: function() { + var t4, t5, loopout, _this = this, + linkers = H.setRuntimeTypeInfo([], type$.JSArray_legacy_Linker), + t1 = _this.substrands._list, + t2 = J.getInterceptor$asx(t1), + t3 = _this.is_scaffold, + i = 0; + while (true) { + t4 = t2.get$length(t1); + if (typeof t4 !== "number") + return t4.$sub(); + if (!(i < t4 - 1)) + break; + if (t2.$index(t1, i) instanceof G.Domain) { + t4 = i + 1; + if (t2.$index(t1, t4) instanceof G.Domain) { + t5 = _this.__id; + C.JSArray_methods.add$1(linkers, T.Crossover_Crossover(i, t4, t5 == null ? _this.__id = E.Strand.prototype.get$id.call(_this, _this) : t5, t3)); + } else if (t2.$index(t1, t4) instanceof G.Loopout) { + loopout = t2.$index(t1, t4); + if (loopout instanceof G.Loopout) + C.JSArray_methods.add$1(linkers, loopout); + } + } + ++i; + } + if (_this.circular) { + t1 = t2.get$length(t1); + if (typeof t1 !== "number") + return t1.$sub(); + C.JSArray_methods.add$1(linkers, T.Crossover_Crossover(t1 - 1, 0, _this.get$id(_this), t3)); + } + return D._BuiltList$of(linkers, type$.legacy_Linker); + }, + get$crossovers: function() { + var t2, t3, t1 = []; + for (t2 = J.get$iterator$ax(this.get$linkers()._list); t2.moveNext$0();) { + t3 = t2.get$current(t2); + if (t3 instanceof T.Crossover) + t1.push(t3); + } + return D.BuiltList_BuiltList$from(t1, type$.legacy_Crossover); + }, + get$loopouts: function() { + var t2, t3, t1 = []; + for (t2 = J.get$iterator$ax(this.get$linkers()._list); t2.moveNext$0();) { + t3 = t2.get$current(t2); + if (t3 instanceof G.Loopout) + t1.push(t3); + } + return D.BuiltList_BuiltList$from(t1, type$.legacy_Loopout); + }, + get$extensions: function(_) { + var t1 = [], + t2 = this.substrands._list, + t3 = J.getInterceptor$ax(t2); + if (t3.get$first(t2) instanceof S.Extension) + t1.push(t3.get$first(t2)); + if (t3.get$last(t2) instanceof S.Extension) + t1.push(t3.get$last(t2)); + return D.BuiltList_BuiltList$from(t1, type$.legacy_Extension); + }, + get$select_mode: function() { + return C.SelectModeChoice_strand; + }, + get$id: function(_) { + var first_dom = this.get$first_domain(), + t1 = first_dom.helix, + t2 = first_dom.get$offset_5p(), + t3 = first_dom.forward; + t2 = "strand-H" + t1 + "-" + t2 + "-"; + return t2 + (t3 ? "forward" : "reverse"); + }, + get$domains: function() { + var t2, t3, t4, t1 = []; + for (t2 = J.get$iterator$ax(this.substrands._list), t3 = type$.legacy_Domain; t2.moveNext$0();) { + t4 = t2.get$current(t2); + if (t4.is_domain$0()) + t1.push(t3._as(t4)); + } + return D._BuiltList$of(P.List_List$from(t1, true, t3), t3); + }, + get$dna_length: function() { + var t1, num; + for (t1 = J.get$iterator$ax(this.substrands._list), num = 0; t1.moveNext$0();) + num += t1.get$current(t1).dna_length$0(); + return num; + }, + to_json_serializable$1$suppress_indent: function(suppress_indent) { + var json_map0, t2, t3, mods_map, t4, mod, _this = this, + json_map = new H.JsLinkedHashMap(type$.JsLinkedHashMap_of_legacy_String_and_dynamic), + t1 = _this.name; + if (t1 != null) + json_map.$indexSet(0, "name", t1); + if (_this.circular) + json_map.$indexSet(0, "circular", true); + t1 = _this.color.toHexColor$0(); + json_map.$indexSet(0, "color", "#" + t1.get$rHex() + t1.get$gHex() + t1.get$bHex()); + if (_this.get$dna_sequence() != null) + json_map.$indexSet(0, "sequence", _this.get$dna_sequence()); + t1 = _this.vendor_fields; + if (t1 != null) { + json_map0 = P.LinkedHashMap_LinkedHashMap$_literal(["scale", t1.scale, "purification", t1.purification], type$.legacy_String, type$.dynamic); + t2 = t1.plate; + if (t2 != null) + json_map0.$indexSet(0, "plate", t2); + t2 = t1.well; + if (t2 != null) + json_map0.$indexSet(0, "well", t2); + t1 = t1.unused_fields; + t2 = t1._map$_map; + t3 = H._instanceType(t1); + json_map0.addAll$1(0, new S.CopyOnWriteMap(t1._mapFactory, t2, t3._eval$1("@<1>")._bind$1(t3._rest[1])._eval$1("CopyOnWriteMap<1,2>"))); + json_map.$indexSet(0, "vendor_fields", suppress_indent ? new K.NoIndent(json_map0) : json_map0); + } + if (_this.is_scaffold) + json_map.$indexSet(0, "is_scaffold", true); + t1 = []; + for (t2 = J.get$iterator$ax(_this.substrands._list); t2.moveNext$0();) + t1.push(t2.get$current(t2).to_json_serializable$1$suppress_indent(suppress_indent)); + json_map.$indexSet(0, "domains", t1); + t1 = _this.modification_5p; + if (t1 != null) + json_map.$indexSet(0, "5prime_modification", t1.vendor_code); + t1 = _this.modification_3p; + if (t1 != null) + json_map.$indexSet(0, "3prime_modification", t1.vendor_code); + t1 = _this.modifications_int; + t2 = t1._map$_map; + t3 = J.getInterceptor$asx(t2); + if (t3.get$isNotEmpty(t2)) { + mods_map = P.LinkedHashMap_LinkedHashMap$_empty(type$.legacy_String, type$.dynamic); + for (t1 = J.get$iterator$ax(t1.get$keys(t1)); t1.moveNext$0();) { + t4 = t1.get$current(t1); + mod = t3.$index(t2, t4); + mods_map.$indexSet(0, H.S(t4), mod.vendor_code); + } + json_map.$indexSet(0, "internal_modifications", suppress_indent ? new K.NoIndent(mods_map) : mods_map); + } + t1 = _this.label; + if (t1 != null) + json_map.$indexSet(0, "label", t1); + t1 = _this.unused_fields; + t2 = t1._map$_map; + t3 = H._instanceType(t1); + json_map.addAll$1(0, new S.CopyOnWriteMap(t1._mapFactory, t2, t3._eval$1("@<1>")._bind$1(t3._rest[1])._eval$1("CopyOnWriteMap<1,2>"))); + return json_map; + }, + remove_dna_sequence$0: function() { + var t1, start_idx_ss, t2, end_idx_ss, + substrands_new = H.setRuntimeTypeInfo([], type$.JSArray_legacy_Substrand); + for (t1 = J.get$iterator$ax(this.substrands._list), start_idx_ss = 0; t1.moveNext$0(); start_idx_ss = end_idx_ss) { + t2 = t1.get$current(t1); + end_idx_ss = start_idx_ss + t2.dna_length$0(); + C.JSArray_methods.add$1(substrands_new, t2.set_dna_sequence$1(null)); + } + return this.rebuild$1(new E.Strand_remove_dna_sequence_closure(substrands_new)); + }, + set_dna_sequence$1: function(dna_sequence_new) { + var substrands_new, t1, start_idx_ss, t2, end_idx_ss, _this = this; + dna_sequence_new = _this._trim_or_pad_sequence_to_desired_length$2(dna_sequence_new, _this.get$dna_length()); + substrands_new = H.setRuntimeTypeInfo([], type$.JSArray_legacy_Substrand); + for (t1 = J.get$iterator$ax(_this.substrands._list), start_idx_ss = 0; t1.moveNext$0(); start_idx_ss = end_idx_ss) { + t2 = t1.get$current(t1); + end_idx_ss = start_idx_ss + t2.dna_length$0(); + C.JSArray_methods.add$1(substrands_new, t2.set_dna_sequence$1(C.JSString_methods.substring$2(dna_sequence_new, start_idx_ss, end_idx_ss))); + } + return _this.rebuild$1(new E.Strand_set_dna_sequence_closure(substrands_new)); + }, + domain_offset_to_strand_dna_idx$3: function(domain, offset, offset_closer_to_5p) { + var len_adjust, domain_str_idx, + t1 = domain.deletions; + if (J.contains$1$asx(t1._list, offset)) + throw H.wrapException(P.ArgumentError$("offset " + offset + " illegally contains a deletion from " + t1.toString$0(0))); + len_adjust = this._net_ins_del_length_increase_from_5p_to$3(domain, offset, false); + domain_str_idx = domain.forward ? offset + len_adjust - domain.start : domain.end - 1 - (offset - len_adjust); + return domain_str_idx + this.get_seq_start_idx$1(domain); + }, + _net_ins_del_length_increase_from_5p_to$3: function(domain, offset_edge, offset_closer_to_5p) { + var t1, t2, t3, t4, t5, length_increase, t6, t7, t8, insertion_map, insertion_length; + for (t1 = J.get$iterator$ax(domain.deletions._list), t2 = domain.forward, t3 = domain.start, t4 = !t2, t5 = domain.end, length_increase = 0; t1.moveNext$0();) { + t6 = t1.get$current(t1); + if (t2) { + if (typeof t6 !== "number") + return H.iae(t6); + t7 = t3 <= t6 && t6 < offset_edge; + } else + t7 = false; + if (!t7) + if (t4) { + if (typeof t6 !== "number") + return H.iae(t6); + t6 = offset_edge < t6 && t6 < t5; + } else + t6 = false; + else + t6 = true; + if (t6) + --length_increase; + } + for (t1 = domain.insertions, t6 = J.get$iterator$ax(t1._list); t6.moveNext$0();) { + t7 = t6.get$current(t6); + t8 = t7.offset; + if (!(t2 && t3 <= t8 && t8 < offset_edge)) + t8 = t4 && offset_edge < t8 && t8 < t5; + else + t8 = true; + if (t8) + length_increase += t7.length; + } + t2 = type$.legacy_int; + insertion_map = P.LinkedHashMap_LinkedHashMap$fromIterable(t1, new E.Strand__net_ins_del_length_increase_from_5p_to_closure(), new E.Strand__net_ins_del_length_increase_from_5p_to_closure0(), t2, t2); + if (insertion_map.containsKey$1(0, offset_edge)) { + insertion_length = insertion_map.$index(0, offset_edge); + if (typeof insertion_length !== "number") + return H.iae(insertion_length); + length_increase += insertion_length; + } + return length_increase; + }, + _trim_or_pad_sequence_to_desired_length$2: function(dna_sequence_new, desired_length) { + var seq_len = dna_sequence_new.length; + if (seq_len > desired_length) + dna_sequence_new = J.substring$2$s(dna_sequence_new, 0, desired_length); + else if (seq_len < desired_length) + dna_sequence_new = J.$add$ansx(dna_sequence_new, C.JSString_methods.$mul("?", desired_length - seq_len)); + return dna_sequence_new; + }, + get$first_domain: function() { + var t3, + t1 = this.substrands._list, + t2 = J.getInterceptor$asx(t1), + i = 0; + while (true) { + t3 = t2.get$length(t1); + if (typeof t3 !== "number") + return H.iae(t3); + if (!(i < t3)) + break; + if (t2.$index(t1, i) instanceof G.Domain) + return type$.legacy_Domain._as(t2.$index(t1, i)); + ++i; + } + throw H.wrapException(P.AssertionError$("should not be reachable")); + }, + get$last_domain: function() { + var i, + t1 = this.substrands._list, + t2 = J.getInterceptor$asx(t1), + t3 = t2.get$length(t1); + if (typeof t3 !== "number") + return t3.$sub(); + i = t3 - 1; + for (; i >= 0; --i) + if (t2.$index(t1, i) instanceof G.Domain) + return type$.legacy_Domain._as(t2.$index(t1, i)); + throw H.wrapException(P.AssertionError$("should not be reachable")); + }, + overlaps$1: function(other) { + var t1, t2, t3, t4; + for (t1 = J.get$iterator$ax(this.get$domains()._list); t1.moveNext$0();) { + t2 = t1.get$current(t1); + t3 = other.__domains; + if (t3 == null) { + t3 = E.Strand.prototype.get$domains.call(other); + other.set$__domains(t3); + } + t3 = J.get$iterator$ax(t3._list); + for (; t3.moveNext$0();) { + t4 = t3.get$current(t3); + if (t2.helix === t4.helix && t2.forward === !t4.forward && t2.compute_overlap$1(t4) != null) + return true; + } + } + return false; + }, + get_seq_start_idx$1: function(substrand) { + var t2, t3, self_seq_idx_start, + t1 = this.substrands; + t1.toString; + t2 = t1._list; + t3 = J.getInterceptor$asx(t2); + for (t1 = t3.getRange$2(t2, 0, t3.indexOf$2(t2, t1.$ti._precomputed1._as(substrand), 0)), t1 = t1.get$iterator(t1), self_seq_idx_start = 0; t1.moveNext$0();) + self_seq_idx_start += t1.get$current(t1).dna_length$0(); + return self_seq_idx_start; + }, + dna_sequence_in$1: function(substrand) { + var start_idx, ss_dna_length; + if (this.get$dna_sequence() == null) + return null; + else { + start_idx = this.get_seq_start_idx$1(substrand); + ss_dna_length = substrand.dna_length$0(); + return J.substring$2$s(this.get$dna_sequence(), start_idx, start_idx + ss_dna_length); + } + }, + get$dnaend_3p: function() { + var t1 = this.get$last_domain(); + return t1.forward ? t1.get$dnaend_end() : t1.get$dnaend_start(); + }, + get$dnaend_5p: function() { + var t1 = this.get$first_domain(); + return t1.forward ? t1.get$dnaend_start() : t1.get$dnaend_end(); + }, + ligatable_ends_with$1: function(other) { + var first_domain_this, last_domain_other, _this = this, + last_domain_this = _this.get$last_domain(), + first_domain_other = other.get$first_domain(); + if (last_domain_this.forward === first_domain_other.forward && last_domain_this.helix === first_domain_other.helix && _this.get$dnaend_3p().offset == other.get$dnaend_5p().offset) + return new S.Tuple2(_this.get$dnaend_3p(), other.get$dnaend_5p(), type$.Tuple2_of_legacy_DNAEnd_and_legacy_DNAEnd); + else { + first_domain_this = _this.get$first_domain(); + last_domain_other = other.get$last_domain(); + if (first_domain_this.forward === last_domain_other.forward && first_domain_this.helix === last_domain_other.helix && _this.get$dnaend_5p().offset == other.get$dnaend_3p().offset) + return new S.Tuple2(_this.get$dnaend_5p(), other.get$dnaend_3p(), type$.Tuple2_of_legacy_DNAEnd_and_legacy_DNAEnd); + else + return null; + } + }, + vendor_export_name$0: function() { + var id, _this = this, + t1 = _this.name; + if (t1 != null) + return t1; + else { + id = "" + _this.get$first_domain().helix + "[" + _this.get$first_domain().get$offset_5p() + "]" + _this.get$last_domain().helix + "[" + _this.get$last_domain().get$offset_3p() + "]"; + return _this.is_scaffold ? "SCAF" + id + "}" : "ST" + id; + } + }, + $isSelectable: 1 + }; + E.Strand_Strand_closure.prototype = { + call$1: function(b) { + var t2, _this = this, + t1 = _this._box_0.color; + b.get$_strand$_$this()._strand$_color = t1; + b.get$_strand$_$this()._circular = _this.circular; + b.get$substrands().replace$1(0, _this.substrands); + t1 = _this.vendor_fields; + if (t1 == null) + t1 = null; + else { + t2 = new T.VendorFieldsBuilder(); + t2._vendor_fields$_$v = t1; + t1 = t2; + } + b.get$_strand$_$this()._vendor_fields = t1; + t1 = _this.modification_5p; + if (t1 == null) + t1 = null; + else { + t2 = new Z.Modification5PrimeBuilder(); + t2._modification$_$v = t1; + t1 = t2; + } + b.get$_strand$_$this()._modification_5p = t1; + t1 = _this.modification_3p; + if (t1 == null) + t1 = null; + else { + t2 = new Z.Modification3PrimeBuilder(); + t2._modification$_$v = t1; + t1 = t2; + } + b.get$_strand$_$this()._modification_3p = t1; + b.get$modifications_int().replace$1(0, _this.modifications_int); + b.get$_strand$_$this()._is_scaffold = _this.is_scaffold; + b.get$_strand$_$this()._strand$_name = _this.name; + b.get$_strand$_$this()._label = _this.label; + t1 = type$.dynamic; + t1 = type$.legacy_MapBuilder_of_legacy_String_and_legacy_Object._as(A.MapBuilder_MapBuilder(P.LinkedHashMap_LinkedHashMap$_empty(t1, t1), type$.legacy_String, type$.legacy_Object)); + b.get$_strand$_$this().set$_strand$_unused_fields(t1); + return b; + }, + $signature: 2 + }; + E.Strand__finalizeBuilder_closure.prototype = { + call$1: function(b) { + b.get$_loopout$_$this()._prev_domain_idx = this.i - 1; + return b; + }, + $signature: 24 + }; + E.Strand__finalizeBuilder_closure0.prototype = { + call$1: function(b) { + b.get$_domain$_$this()._domain$_strand_id = this.id; + return b; + }, + $signature: 7 + }; + E.Strand__finalizeBuilder_closure1.prototype = { + call$1: function(b) { + b.get$_loopout$_$this()._loopout$_strand_id = this.id; + return b; + }, + $signature: 24 + }; + E.Strand__finalizeBuilder_closure2.prototype = { + call$1: function(b) { + b.get$_extension$_$this()._strand_id = this.id; + return b; + }, + $signature: 19 + }; + E.Strand__rebuild_substrands_with_new_fields_based_on_strand_closure.prototype = { + call$1: function(s) { + var t1 = type$.legacy_ListBuilder_legacy_Substrand._as(this.substrands_new); + s.get$_strand$_$this().set$_substrands(t1); + return s; + }, + $signature: 2 + }; + E.Strand__rebuild_domain_with_new_fields_based_on_strand_closure.prototype = { + call$1: function(b) { + var _this = this, + t1 = _this.strand; + t1 = t1.get$id(t1); + b.get$_domain$_$this()._domain$_strand_id = t1; + b.get$_domain$_$this()._is_first = _this.is_first; + b.get$_domain$_$this()._is_last = _this.is_last; + b.get$_domain$_$this()._domain$_is_scaffold = _this.$this.is_scaffold; + return b; + }, + $signature: 7 + }; + E.Strand__rebuild_loopout_with_new_fields_based_on_strand_closure.prototype = { + call$1: function(b) { + var t1; + b.get$_loopout$_$this()._loopout$_is_scaffold = this.$this.is_scaffold; + t1 = this.strand; + t1 = t1.get$id(t1); + b.get$_loopout$_$this()._loopout$_strand_id = t1; + b.get$_loopout$_$this()._prev_domain_idx = this.idx - 1; + return b; + }, + $signature: 24 + }; + E.Strand__rebuild_extension_with_new_fields_based_on_strand_closure.prototype = { + call$1: function(b) { + var t1, t2, _this = this; + b.get$_extension$_$this()._extension$_is_scaffold = _this.$this.is_scaffold; + t1 = _this.strand; + t1 = t1.get$id(t1); + b.get$_extension$_$this()._strand_id = t1; + t1 = b.get$adjacent_domain(); + t2 = _this.adjacent_domain; + if (t2 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + t1._domain$_$v = t2; + b.get$_extension$_$this()._is_5p = _this.is_5p; + return b; + }, + $signature: 19 + }; + E.Strand__rebuild_substrands_with_new_dna_sequences_based_on_strand_closure.prototype = { + call$1: function(b) { + return b.get$substrands().replace$1(0, this.new_substrands); + }, + $signature: 38 + }; + E.Strand__at_least_one_substrand_has_dna_sequence_closure.prototype = { + call$1: function(ss) { + return type$.legacy_Substrand._as(ss).get$dna_sequence() != null; + }, + $signature: 126 + }; + E.Strand_remove_dna_sequence_closure.prototype = { + call$1: function(strand) { + strand.get$substrands().replace$1(0, this.substrands_new); + return strand; + }, + $signature: 2 + }; + E.Strand_set_dna_sequence_closure.prototype = { + call$1: function(strand) { + strand.get$substrands().replace$1(0, this.substrands_new); + return strand; + }, + $signature: 2 + }; + E.Strand__net_ins_del_length_increase_from_5p_to_closure.prototype = { + call$1: function(e) { + return H._asIntS(J.get$offset$x(e)); + }, + $signature: 49 + }; + E.Strand__net_ins_del_length_increase_from_5p_to_closure0.prototype = { + call$1: function(e) { + return H._asIntS(J.get$length$asx(e)); + }, + $signature: 49 + }; + E.Strand_from_json_closure.prototype = { + call$1: function(b) { + b.get$_extension$_$this()._is_5p = this.is_5p; + return b; + }, + $signature: 19 + }; + E.Strand_from_json_closure0.prototype = { + call$1: function(b) { + var t1 = b.get$adjacent_domain(), + t2 = this.adjacent_domain; + if (t2 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + t1._domain$_$v = t2; + return b; + }, + $signature: 19 + }; + E.Strand_from_json_closure1.prototype = { + call$1: function(b) { + var t1 = this.unused_fields; + type$.legacy_MapBuilder_of_legacy_String_and_legacy_Object._as(t1); + b.get$_strand$_$this().set$_strand$_unused_fields(t1); + return t1; + }, + $signature: 392 + }; + E._$StrandSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + var result, value; + type$.legacy_Strand._as(object); + result = H.setRuntimeTypeInfo(["substrands", serializers.serialize$2$specifiedType(object.substrands, C.FullType_3HJ), "is_scaffold", serializers.serialize$2$specifiedType(object.is_scaffold, C.FullType_MtR), "circular", serializers.serialize$2$specifiedType(object.circular, C.FullType_MtR), "modifications_int", serializers.serialize$2$specifiedType(object.modifications_int, C.FullType_d1y), "color", serializers.serialize$2$specifiedType(object.color, C.FullType_uHx)], type$.JSArray_legacy_Object); + value = object.vendor_fields; + if (value != null) { + C.JSArray_methods.add$1(result, "vendor_fields"); + C.JSArray_methods.add$1(result, serializers.serialize$2$specifiedType(value, C.FullType_Unx)); + } + value = object.modification_5p; + if (value != null) { + C.JSArray_methods.add$1(result, "modification_5p"); + C.JSArray_methods.add$1(result, serializers.serialize$2$specifiedType(value, C.FullType_Q1p)); + } + value = object.modification_3p; + if (value != null) { + C.JSArray_methods.add$1(result, "modification_3p"); + C.JSArray_methods.add$1(result, serializers.serialize$2$specifiedType(value, C.FullType_Q1p0)); + } + value = object.name; + if (value != null) { + C.JSArray_methods.add$1(result, "name"); + C.JSArray_methods.add$1(result, serializers.serialize$2$specifiedType(value, C.FullType_h8g)); + } + value = object.label; + if (value != null) { + C.JSArray_methods.add$1(result, "label"); + C.JSArray_methods.add$1(result, serializers.serialize$2$specifiedType(value, C.FullType_h8g)); + } + return result; + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + var t1, t2, t3, t4, t5, t6, t7, t8, t9, key, value, t10, t11, t12, t13, t14, _null = null, _s5_ = "other", + result = new E.StrandBuilder(), + iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + for (t1 = type$.legacy_Color, t2 = type$.MapBuilder_of_legacy_int_and_legacy_ModificationInternal, t3 = type$.legacy_Modification3Prime, t4 = type$.legacy_Modification5Prime, t5 = type$.legacy_VendorFields, t6 = type$.legacy_BuiltList_legacy_Object, t7 = type$.legacy_Substrand, t8 = type$.List_legacy_Substrand, t9 = type$.ListBuilder_legacy_Substrand; iterator.moveNext$0();) { + key = H._asStringS(iterator.get$current(iterator)); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (key) { + case "substrands": + t10 = result.get$_strand$_$this(); + t11 = t10._substrands; + if (t11 == null) { + t11 = new D.ListBuilder(t9); + t11.set$__ListBuilder__list(t8._as(P.List_List$from(C.List_empty, true, t7))); + t11.set$_listOwner(_null); + t10.set$_substrands(t11); + t10 = t11; + } else + t10 = t11; + t11 = t6._as(serializers.deserialize$2$specifiedType(value, C.FullType_3HJ)); + t12 = t10.$ti; + t13 = t12._eval$1("_BuiltList<1>"); + t14 = t12._eval$1("List<1>"); + if (t13._is(t11)) { + t13._as(t11); + t10.set$__ListBuilder__list(t14._as(t11._list)); + t10.set$_listOwner(t11); + } else { + t10.set$__ListBuilder__list(t14._as(P.List_List$from(t11, true, t12._precomputed1))); + t10.set$_listOwner(_null); + } + break; + case "vendor_fields": + t10 = result.get$_strand$_$this(); + t11 = t10._vendor_fields; + t10 = t11 == null ? t10._vendor_fields = new T.VendorFieldsBuilder() : t11; + t11 = t5._as(serializers.deserialize$2$specifiedType(value, C.FullType_Unx)); + if (t11 == null) + H.throwExpression(P.ArgumentError$notNull(_s5_)); + t10._vendor_fields$_$v = t11; + break; + case "is_scaffold": + t10 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); + result.get$_strand$_$this()._is_scaffold = t10; + break; + case "circular": + t10 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); + result.get$_strand$_$this()._circular = t10; + break; + case "modification_5p": + t10 = result.get$_strand$_$this(); + t11 = t10._modification_5p; + t10 = t11 == null ? t10._modification_5p = new Z.Modification5PrimeBuilder() : t11; + t11 = t4._as(serializers.deserialize$2$specifiedType(value, C.FullType_Q1p)); + if (t11 == null) + H.throwExpression(P.ArgumentError$notNull(_s5_)); + t10._modification$_$v = t11; + break; + case "modification_3p": + t10 = result.get$_strand$_$this(); + t11 = t10._modification_3p; + t10 = t11 == null ? t10._modification_3p = new Z.Modification3PrimeBuilder() : t11; + t11 = t3._as(serializers.deserialize$2$specifiedType(value, C.FullType_Q1p0)); + if (t11 == null) + H.throwExpression(P.ArgumentError$notNull(_s5_)); + t10._modification$_$v = t11; + break; + case "modifications_int": + t10 = result.get$_strand$_$this(); + t11 = t10._modifications_int; + if (t11 == null) { + t11 = new A.MapBuilder(_null, $, _null, t2); + t11.replace$1(0, C.Map_empty); + t10.set$_modifications_int(t11); + t10 = t11; + } else + t10 = t11; + t10.replace$1(0, serializers.deserialize$2$specifiedType(value, C.FullType_d1y)); + break; + case "color": + t10 = t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_uHx)); + result.get$_strand$_$this()._strand$_color = t10; + break; + case "name": + t10 = H._asStringS(serializers.deserialize$2$specifiedType(value, C.FullType_h8g)); + result.get$_strand$_$this()._strand$_name = t10; + break; + case "label": + t10 = H._asStringS(serializers.deserialize$2$specifiedType(value, C.FullType_h8g)); + result.get$_strand$_$this()._label = t10; + break; + } + } + return result.build$0(); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_CC0; + }, + get$wireName: function() { + return "Strand"; + } + }; + E._$Strand.prototype = { + get$dna_sequence: function() { + var t1 = this.__dna_sequence; + return t1 == null ? this.__dna_sequence = E.Strand.prototype.get$dna_sequence.call(this) : t1; + }, + get$has_5p_extension: function() { + var t1 = this.__has_5p_extension; + return t1 == null ? this.__has_5p_extension = E.Strand.prototype.get$has_5p_extension.call(this) : t1; + }, + get$has_3p_extension: function() { + var t1 = this.__has_3p_extension; + return t1 == null ? this.__has_3p_extension = E.Strand.prototype.get$has_3p_extension.call(this) : t1; + }, + get$address_5p: function() { + var t1 = this.__address_5p; + return t1 == null ? this.__address_5p = E.Strand.prototype.get$address_5p.call(this) : t1; + }, + get$selectable_modification_5p: function() { + var t1 = this.__selectable_modification_5p; + return t1 == null ? this.__selectable_modification_5p = E.Strand.prototype.get$selectable_modification_5p.call(this) : t1; + }, + get$selectable_modification_3p: function() { + var t1 = this.__selectable_modification_3p; + return t1 == null ? this.__selectable_modification_3p = E.Strand.prototype.get$selectable_modification_3p.call(this) : t1; + }, + get$selectable_modifications_int_by_dna_idx: function() { + var t1 = this.__selectable_modifications_int_by_dna_idx; + if (t1 == null) { + t1 = E.Strand.prototype.get$selectable_modifications_int_by_dna_idx.call(this); + this.set$__selectable_modifications_int_by_dna_idx(t1); + } + return t1; + }, + get$linkers: function() { + var t1 = this.__linkers; + if (t1 == null) { + t1 = E.Strand.prototype.get$linkers.call(this); + this.set$__linkers(t1); + } + return t1; + }, + get$crossovers: function() { + var t1 = this.__crossovers; + if (t1 == null) { + t1 = E.Strand.prototype.get$crossovers.call(this); + this.set$__crossovers(t1); + } + return t1; + }, + get$loopouts: function() { + var t1 = this.__loopouts; + if (t1 == null) { + t1 = E.Strand.prototype.get$loopouts.call(this); + this.set$__loopouts(t1); + } + return t1; + }, + get$extensions: function(_) { + var _this = this, + t1 = _this.__extensions; + if (t1 == null) { + t1 = E.Strand.prototype.get$extensions.call(_this, _this); + _this.set$__extensions(t1); + } + return t1; + }, + get$select_mode: function() { + var t1 = this.__select_mode; + return t1 == null ? this.__select_mode = E.Strand.prototype.get$select_mode.call(this) : t1; + }, + get$id: function(_) { + var _this = this, + t1 = _this.__id; + return t1 == null ? _this.__id = E.Strand.prototype.get$id.call(_this, _this) : t1; + }, + get$domains: function() { + var t1 = this.__domains; + if (t1 == null) { + t1 = E.Strand.prototype.get$domains.call(this); + this.set$__domains(t1); + } + return t1; + }, + get$dna_length: function() { + var t1 = this.__dna_length; + return t1 == null ? this.__dna_length = E.Strand.prototype.get$dna_length.call(this) : t1; + }, + get$first_domain: function() { + var t1 = this.__first_domain; + return t1 == null ? this.__first_domain = E.Strand.prototype.get$first_domain.call(this) : t1; + }, + get$last_domain: function() { + var t1 = this.__last_domain; + return t1 == null ? this.__last_domain = E.Strand.prototype.get$last_domain.call(this) : t1; + }, + get$dnaend_3p: function() { + var t1 = this.__dnaend_3p; + return t1 == null ? this.__dnaend_3p = E.Strand.prototype.get$dnaend_3p.call(this) : t1; + }, + get$dnaend_5p: function() { + var t1 = this.__dnaend_5p; + return t1 == null ? this.__dnaend_5p = E.Strand.prototype.get$dnaend_5p.call(this) : t1; + }, + rebuild$1: function(updates) { + var t1; + type$.legacy_void_Function_legacy_StrandBuilder._as(updates); + t1 = new E.StrandBuilder(); + t1._strand$_$v = this; + updates.call$1(t1); + return t1.build$0(); + }, + $eq: function(_, other) { + var t1, t2, _this = this; + if (other == null) + return false; + if (other === _this) + return true; + if (other instanceof E.Strand) + if (J.$eq$(_this.substrands, other.substrands)) + if (J.$eq$(_this.vendor_fields, other.vendor_fields)) + if (_this.is_scaffold === other.is_scaffold) + if (_this.circular === other.circular) + if (J.$eq$(_this.modification_5p, other.modification_5p)) + if (J.$eq$(_this.modification_3p, other.modification_3p)) + if (J.$eq$(_this.modifications_int, other.modifications_int)) { + t1 = _this.color; + t2 = other.color; + t1 = t1.get$hashCode(t1); + t2 = t2.get$hashCode(t2); + t1 = t1 === t2 && _this.name == other.name && _this.label == other.label && J.$eq$(_this.unused_fields, other.unused_fields); + } else + t1 = false; + else + t1 = false; + else + t1 = false; + else + t1 = false; + else + t1 = false; + else + t1 = false; + else + t1 = false; + else + t1 = false; + return t1; + }, + get$hashCode: function(_) { + var _this = this, + t1 = _this._strand$__hashCode; + if (t1 == null) { + t1 = _this.color; + t1 = _this._strand$__hashCode = Y.$jf(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(0, J.get$hashCode$(_this.substrands)), J.get$hashCode$(_this.vendor_fields)), C.JSBool_methods.get$hashCode(_this.is_scaffold)), C.JSBool_methods.get$hashCode(_this.circular)), J.get$hashCode$(_this.modification_5p)), J.get$hashCode$(_this.modification_3p)), J.get$hashCode$(_this.modifications_int)), t1.get$hashCode(t1)), J.get$hashCode$(_this.name)), J.get$hashCode$(_this.label)), J.get$hashCode$(_this.unused_fields))); + } + return t1; + }, + toString$0: function(_) { + var _this = this, + t1 = $.$get$newBuiltValueToStringHelper().call$1("Strand"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "substrands", _this.substrands); + t2.add$2(t1, "vendor_fields", _this.vendor_fields); + t2.add$2(t1, "is_scaffold", _this.is_scaffold); + t2.add$2(t1, "circular", _this.circular); + t2.add$2(t1, "modification_5p", _this.modification_5p); + t2.add$2(t1, "modification_3p", _this.modification_3p); + t2.add$2(t1, "modifications_int", _this.modifications_int); + t2.add$2(t1, "color", _this.color); + t2.add$2(t1, "name", _this.name); + t2.add$2(t1, "label", _this.label); + t2.add$2(t1, "unused_fields", _this.unused_fields); + return t2.toString$0(t1); + }, + set$__selectable_deletions: function(__selectable_deletions) { + this.__selectable_deletions = type$.legacy_BuiltList_legacy_SelectableDeletion._as(__selectable_deletions); + }, + set$__selectable_insertions: function(__selectable_insertions) { + this.__selectable_insertions = type$.legacy_BuiltList_legacy_SelectableInsertion._as(__selectable_insertions); + }, + set$__selectable_modifications: function(__selectable_modifications) { + this.__selectable_modifications = type$.legacy_BuiltList_legacy_Selectable._as(__selectable_modifications); + }, + set$__selectable_modifications_int_by_dna_idx: function(__selectable_modifications_int_by_dna_idx) { + this.__selectable_modifications_int_by_dna_idx = type$.legacy_BuiltMap_of_legacy_int_and_legacy_SelectableModificationInternal._as(__selectable_modifications_int_by_dna_idx); + }, + set$__internal_modifications_on_substrand_absolute_idx: function(__internal_modifications_on_substrand_absolute_idx) { + this.__internal_modifications_on_substrand_absolute_idx = type$.legacy_BuiltList_legacy_BuiltMap_of_legacy_int_and_legacy_ModificationInternal._as(__internal_modifications_on_substrand_absolute_idx); + }, + set$__internal_modifications_on_substrand: function(__internal_modifications_on_substrand) { + this.__internal_modifications_on_substrand = type$.legacy_BuiltMap_of_legacy_Substrand_and_legacy_BuiltMap_of_legacy_int_and_legacy_ModificationInternal._as(__internal_modifications_on_substrand); + }, + set$__domains_on_helix: function(__domains_on_helix) { + this.__domains_on_helix = type$.legacy_BuiltMap_of_legacy_int_and_legacy_BuiltList_legacy_Domain._as(__domains_on_helix); + }, + set$__linkers: function(__linkers) { + this.__linkers = type$.legacy_BuiltList_legacy_Linker._as(__linkers); + }, + set$__crossovers: function(__crossovers) { + this.__crossovers = type$.legacy_BuiltList_legacy_Crossover._as(__crossovers); + }, + set$__loopouts: function(__loopouts) { + this.__loopouts = type$.legacy_BuiltList_legacy_Loopout._as(__loopouts); + }, + set$__extensions: function(__extensions) { + this.__extensions = type$.legacy_BuiltList_legacy_Extension._as(__extensions); + }, + set$__domains: function(__domains) { + this.__domains = type$.legacy_BuiltList_legacy_Domain._as(__domains); + }, + get$is_scaffold: function() { + return this.is_scaffold; + } + }; + E.StrandBuilder.prototype = { + get$substrands: function() { + var t1 = this.get$_strand$_$this(), + t2 = t1._substrands; + if (t2 == null) { + t2 = D.ListBuilder_ListBuilder(C.List_empty, type$.legacy_Substrand); + t1.set$_substrands(t2); + t1 = t2; + } else + t1 = t2; + return t1; + }, + get$vendor_fields: function() { + var t1 = this.get$_strand$_$this(), + t2 = t1._vendor_fields; + return t2 == null ? t1._vendor_fields = new T.VendorFieldsBuilder() : t2; + }, + get$modification_5p: function() { + var t1 = this.get$_strand$_$this(), + t2 = t1._modification_5p; + return t2 == null ? t1._modification_5p = new Z.Modification5PrimeBuilder() : t2; + }, + get$modification_3p: function() { + var t1 = this.get$_strand$_$this(), + t2 = t1._modification_3p; + return t2 == null ? t1._modification_3p = new Z.Modification3PrimeBuilder() : t2; + }, + get$modifications_int: function() { + var t1 = this.get$_strand$_$this(), + t2 = t1._modifications_int; + if (t2 == null) { + t2 = A.MapBuilder_MapBuilder(C.Map_empty, type$.legacy_int, type$.legacy_ModificationInternal); + t1.set$_modifications_int(t2); + t1 = t2; + } else + t1 = t2; + return t1; + }, + get$unused_fields: function() { + var t1 = this.get$_strand$_$this(), + t2 = t1._strand$_unused_fields; + if (t2 == null) { + t2 = A.MapBuilder_MapBuilder(C.Map_empty, type$.legacy_String, type$.legacy_Object); + t1.set$_strand$_unused_fields(t2); + t1 = t2; + } else + t1 = t2; + return t1; + }, + get$_strand$_$this: function() { + var t1, t2, _this = this, + $$v = _this._strand$_$v; + if ($$v != null) { + t1 = $$v.substrands; + t1.toString; + _this.set$_substrands(D.ListBuilder_ListBuilder(t1, t1.$ti._precomputed1)); + t1 = $$v.vendor_fields; + if (t1 == null) + t1 = null; + else { + t2 = new T.VendorFieldsBuilder(); + t2._vendor_fields$_$v = t1; + t1 = t2; + } + _this._vendor_fields = t1; + _this._is_scaffold = $$v.is_scaffold; + _this._circular = $$v.circular; + t1 = $$v.modification_5p; + if (t1 == null) + t1 = null; + else { + t2 = new Z.Modification5PrimeBuilder(); + t2._modification$_$v = t1; + t1 = t2; + } + _this._modification_5p = t1; + t1 = $$v.modification_3p; + if (t1 == null) + t1 = null; + else { + t2 = new Z.Modification3PrimeBuilder(); + t2._modification$_$v = t1; + t1 = t2; + } + _this._modification_3p = t1; + t1 = $$v.modifications_int; + t1.toString; + t2 = t1.$ti; + t2._eval$1("_BuiltMap<1,2>")._as(t1); + _this.set$_modifications_int(new A.MapBuilder(t1._mapFactory, t1._map$_map, t1, t2._eval$1("@<1>")._bind$1(t2._rest[1])._eval$1("MapBuilder<1,2>"))); + _this._strand$_color = $$v.color; + _this._strand$_name = $$v.name; + _this._label = $$v.label; + t2 = $$v.unused_fields; + t2.toString; + t1 = t2.$ti; + t1._eval$1("_BuiltMap<1,2>")._as(t2); + _this.set$_strand$_unused_fields(new A.MapBuilder(t2._mapFactory, t2._map$_map, t2, t1._eval$1("@<1>")._bind$1(t1._rest[1])._eval$1("MapBuilder<1,2>"))); + _this._strand$_$v = null; + } + return _this; + }, + build$0: function() { + var _$result, _$failedField, e, _$result0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, exception, _this = this, _s6_ = "Strand", + _s17_ = "modifications_int"; + E.Strand__finalizeBuilder(_this); + _$result = null; + try { + _$result0 = _this._strand$_$v; + if (_$result0 == null) { + t1 = _this.get$substrands().build$0(); + t2 = _this._vendor_fields; + t2 = t2 == null ? null : t2.build$0(); + t3 = _this.get$_strand$_$this()._is_scaffold; + if (t3 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s6_, "is_scaffold")); + t4 = _this.get$_strand$_$this()._circular; + if (t4 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s6_, "circular")); + t5 = _this._modification_5p; + t5 = t5 == null ? null : t5.build$0(); + t6 = _this._modification_3p; + t6 = t6 == null ? null : t6.build$0(); + t7 = _this.get$modifications_int().build$0(); + t8 = _this.get$_strand$_$this()._strand$_color; + if (t8 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s6_, "color")); + t9 = _this.get$_strand$_$this()._strand$_name; + t10 = _this.get$_strand$_$this()._label; + t11 = _this.get$unused_fields().build$0(); + _$result0 = new E._$Strand(t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11); + if (t1 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s6_, "substrands")); + if (t7 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s6_, _s17_)); + if (t11 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s6_, "unused_fields")); + } + _$result = _$result0; + } catch (exception) { + H.unwrapException(exception); + _$failedField = null; + try { + _$failedField = "substrands"; + _this.get$substrands().build$0(); + _$failedField = "vendor_fields"; + t1 = _this._vendor_fields; + if (t1 != null) + t1.build$0(); + _$failedField = "modification_5p"; + t1 = _this._modification_5p; + if (t1 != null) + t1.build$0(); + _$failedField = "modification_3p"; + t1 = _this._modification_3p; + if (t1 != null) + t1.build$0(); + _$failedField = _s17_; + _this.get$modifications_int().build$0(); + _$failedField = "unused_fields"; + _this.get$unused_fields().build$0(); + } catch (exception) { + e = H.unwrapException(exception); + t1 = Y.BuiltValueNestedFieldError$(_s6_, _$failedField, J.toString$0$(e)); + throw H.wrapException(t1); + } + throw exception; + } + t1 = type$.legacy_Strand._as(_$result); + if (t1 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + _this._strand$_$v = t1; + return _$result; + }, + set$_substrands: function(_substrands) { + this._substrands = type$.legacy_ListBuilder_legacy_Substrand._as(_substrands); + }, + set$_modifications_int: function(_modifications_int) { + this._modifications_int = type$.legacy_MapBuilder_of_legacy_int_and_legacy_ModificationInternal._as(_modifications_int); + }, + set$_strand$_unused_fields: function(_unused_fields) { + this._strand$_unused_fields = type$.legacy_MapBuilder_of_legacy_String_and_legacy_Object._as(_unused_fields); + } + }; + E._Strand_Object_SelectableMixin.prototype = {}; + E._Strand_Object_SelectableMixin_BuiltJsonSerializable.prototype = {}; + E._Strand_Object_SelectableMixin_BuiltJsonSerializable_UnusedFields.prototype = {}; + E._Strand_Object_SelectableMixin_BuiltJsonSerializable_UnusedFields_JSONSerializable.prototype = {}; + U.StrandCreation.prototype = { + get$start: function(_) { + var t1 = this.original_offset, + t2 = this.current_offset; + return t1 < t2 ? t1 : t2; + }, + get$end: function(_) { + var t1 = this.original_offset, + t2 = this.current_offset; + return 1 + (t1 < t2 ? t2 : t1); + } + }; + U.StrandCreation_StrandCreation_closure.prototype = { + call$1: function(b) { + var _this = this, + t1 = b.get$helix(), + t2 = _this.helix; + if (t2 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + t1._helix$_$v = t2; + b.get$_strand_creation$_$this()._forward = _this.forward; + t1 = _this.original_offset; + b.get$_strand_creation$_$this()._original_offset = t1; + b.get$_strand_creation$_$this()._current_offset = t1; + b.get$_strand_creation$_$this()._color = _this.color; + return b; + }, + $signature: 102 + }; + U._$StrandCreationSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + type$.legacy_StrandCreation._as(object); + return H.setRuntimeTypeInfo(["helix", serializers.serialize$2$specifiedType(object.helix, C.FullType_wEV), "forward", serializers.serialize$2$specifiedType(object.forward, C.FullType_MtR), "original_offset", serializers.serialize$2$specifiedType(object.original_offset, C.FullType_kjq), "current_offset", serializers.serialize$2$specifiedType(object.current_offset, C.FullType_kjq), "color", serializers.serialize$2$specifiedType(object.color, C.FullType_uHx)], type$.JSArray_legacy_Object); + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + var t1, t2, key, value, t3, t4, + result = new U.StrandCreationBuilder(), + iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + for (t1 = type$.legacy_Color, t2 = type$.legacy_Helix; iterator.moveNext$0();) { + key = H._asStringS(iterator.get$current(iterator)); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (key) { + case "helix": + t3 = result.get$_strand_creation$_$this(); + t4 = t3._helix; + if (t4 == null) { + t4 = new O.HelixBuilder(); + t4.get$_helix$_$this()._group = "default_group"; + t4.get$_helix$_$this()._min_offset = 0; + t4.get$_helix$_$this()._roll = 0; + t3._helix = t4; + t3 = t4; + } else + t3 = t4; + t4 = t2._as(serializers.deserialize$2$specifiedType(value, C.FullType_wEV)); + if (t4 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + t3._helix$_$v = t4; + break; + case "forward": + t3 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); + result.get$_strand_creation$_$this()._forward = t3; + break; + case "original_offset": + t3 = H._asIntS(serializers.deserialize$2$specifiedType(value, C.FullType_kjq)); + result.get$_strand_creation$_$this()._original_offset = t3; + break; + case "current_offset": + t3 = H._asIntS(serializers.deserialize$2$specifiedType(value, C.FullType_kjq)); + result.get$_strand_creation$_$this()._current_offset = t3; + break; + case "color": + t3 = t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_uHx)); + result.get$_strand_creation$_$this()._color = t3; + break; + } + } + return result.build$0(); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_Ltx; + }, + get$wireName: function() { + return "StrandCreation"; + } + }; + U._$StrandCreation.prototype = { + rebuild$1: function(updates) { + var t1; + type$.legacy_void_Function_legacy_StrandCreationBuilder._as(updates); + t1 = new U.StrandCreationBuilder(); + t1._strand_creation$_$v = this; + updates.call$1(t1); + return t1.build$0(); + }, + $eq: function(_, other) { + var t1, t2, _this = this; + if (other == null) + return false; + if (other === _this) + return true; + if (other instanceof U.StrandCreation) + if (J.$eq$(_this.helix, other.helix)) + if (_this.forward === other.forward) + if (_this.original_offset === other.original_offset) + if (_this.current_offset === other.current_offset) { + t1 = _this.color; + t2 = other.color; + t1 = t1.get$hashCode(t1) === t2.get$hashCode(t2); + } else + t1 = false; + else + t1 = false; + else + t1 = false; + else + t1 = false; + else + t1 = false; + return t1; + }, + get$hashCode: function(_) { + var _this = this, + t1 = _this._strand_creation$__hashCode; + if (t1 == null) { + t1 = _this.color; + t1 = _this._strand_creation$__hashCode = Y.$jf(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(0, J.get$hashCode$(_this.helix)), C.JSBool_methods.get$hashCode(_this.forward)), C.JSInt_methods.get$hashCode(_this.original_offset)), C.JSInt_methods.get$hashCode(_this.current_offset)), t1.get$hashCode(t1))); + } + return t1; + }, + toString$0: function(_) { + var _this = this, + t1 = $.$get$newBuiltValueToStringHelper().call$1("StrandCreation"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "helix", _this.helix); + t2.add$2(t1, "forward", _this.forward); + t2.add$2(t1, "original_offset", _this.original_offset); + t2.add$2(t1, "current_offset", _this.current_offset); + t2.add$2(t1, "color", _this.color); + return t2.toString$0(t1); + } + }; + U.StrandCreationBuilder.prototype = { + get$helix: function() { + var t1 = this.get$_strand_creation$_$this(), + t2 = t1._helix; + if (t2 == null) { + t2 = new O.HelixBuilder(); + t2.get$_helix$_$this()._group = "default_group"; + t2.get$_helix$_$this()._min_offset = 0; + t2.get$_helix$_$this()._roll = 0; + t1._helix = t2; + t1 = t2; + } else + t1 = t2; + return t1; + }, + get$_strand_creation$_$this: function() { + var t1, t2, _this = this, + $$v = _this._strand_creation$_$v; + if ($$v != null) { + t1 = $$v.helix; + t1.toString; + t2 = new O.HelixBuilder(); + t2.get$_helix$_$this()._group = "default_group"; + t2.get$_helix$_$this()._min_offset = 0; + t2.get$_helix$_$this()._roll = 0; + t2._helix$_$v = t1; + _this._helix = t2; + _this._forward = $$v.forward; + _this._original_offset = $$v.original_offset; + _this._current_offset = $$v.current_offset; + _this._color = $$v.color; + _this._strand_creation$_$v = null; + } + return _this; + }, + build$0: function() { + var _$failedField, e, _$result0, t1, t2, t3, t4, t5, exception, _this = this, + _s14_ = "StrandCreation", + _$result = null; + try { + _$result0 = _this._strand_creation$_$v; + if (_$result0 == null) { + t1 = _this.get$helix().build$0(); + t2 = _this.get$_strand_creation$_$this()._forward; + if (t2 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s14_, "forward")); + t3 = _this.get$_strand_creation$_$this()._original_offset; + if (t3 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s14_, "original_offset")); + t4 = _this.get$_strand_creation$_$this()._current_offset; + if (t4 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s14_, "current_offset")); + t5 = _this.get$_strand_creation$_$this()._color; + if (t5 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s14_, "color")); + _$result0 = new U._$StrandCreation(t1, t2, t3, t4, t5); + if (t1 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s14_, "helix")); + } + _$result = _$result0; + } catch (exception) { + H.unwrapException(exception); + _$failedField = null; + try { + _$failedField = "helix"; + _this.get$helix().build$0(); + } catch (exception) { + e = H.unwrapException(exception); + t1 = Y.BuiltValueNestedFieldError$(_s14_, _$failedField, J.toString$0$(e)); + throw H.wrapException(t1); + } + throw exception; + } + t1 = type$.legacy_StrandCreation._as(_$result); + if (t1 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + _this._strand_creation$_$v = t1; + return _$result; + } + }; + U._StrandCreation_Object_BuiltJsonSerializable.prototype = {}; + U.StrandsMove.prototype = { + get$current_view_order: function() { + var t1 = this.current_address.helix_idx, + t2 = this.helices._map$_map, + t3 = J.getInterceptor$asx(t2), + t4 = t3.$index(t2, t1).group; + return J.$index$asx(J.$index$asx(this.groups._map$_map, t4).get$helices_view_order_inverse()._map$_map, t3.$index(t2, t1).idx); + } + }; + U.StrandsMove_StrandsMove_closure.prototype = { + call$1: function(b) { + var t1, t2, _this = this; + b.get$strands_moving().replace$1(0, _this.strands_moving); + b.get$strands_fixed().replace$1(0, _this.strands_fixed); + b.get$helices().replace$1(0, _this.helices); + b.get$groups().replace$1(0, _this.groups); + b.get$original_helices_view_order_inverse().replace$1(0, _this.original_helices_view_order_inverse); + t1 = b.get$original_address(); + t2 = _this.original_address; + t1._address$_$v = t2; + t1 = b.get$current_address(); + t1._address$_$v = t2; + b.get$_strands_move$_$this()._strands_move$_copy = _this.copy; + b.get$_strands_move$_$this()._strands_move$_keep_color = _this.keep_color; + b.get$_strands_move$_$this()._strands_move$_allowable = true; + return b; + }, + $signature: 35 + }; + U._$StrandsMoveSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + type$.legacy_StrandsMove._as(object); + return H.setRuntimeTypeInfo(["strands_moving", serializers.serialize$2$specifiedType(object.strands_moving, C.FullType_2No), "strands_fixed", serializers.serialize$2$specifiedType(object.strands_fixed, C.FullType_2No), "helices", serializers.serialize$2$specifiedType(object.helices, C.FullType_Qc0), "groups", serializers.serialize$2$specifiedType(object.groups, C.FullType_m48), "original_helices_view_order_inverse", serializers.serialize$2$specifiedType(object.original_helices_view_order_inverse, C.FullType_oyU), "original_address", serializers.serialize$2$specifiedType(object.original_address, C.FullType_KlG), "current_address", serializers.serialize$2$specifiedType(object.current_address, C.FullType_KlG), "allowable", serializers.serialize$2$specifiedType(object.allowable, C.FullType_MtR), "copy", serializers.serialize$2$specifiedType(object.copy, C.FullType_MtR), "keep_color", serializers.serialize$2$specifiedType(object.keep_color, C.FullType_MtR)], type$.JSArray_legacy_Object); + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + var t1, t2, t3, t4, t5, t6, t7, t8, key, value, t9, t10, t11, t12, t13, _null = null, + result = new U.StrandsMoveBuilder(), + iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + for (t1 = type$.legacy_Address, t2 = type$.MapBuilder_of_legacy_int_and_legacy_int, t3 = type$.MapBuilder_of_legacy_String_and_legacy_HelixGroup, t4 = type$.MapBuilder_of_legacy_int_and_legacy_Helix, t5 = type$.legacy_BuiltList_legacy_Object, t6 = type$.legacy_Strand, t7 = type$.List_legacy_Strand, t8 = type$.ListBuilder_legacy_Strand; iterator.moveNext$0();) { + key = H._asStringS(iterator.get$current(iterator)); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (key) { + case "strands_moving": + t9 = result.get$_strands_move$_$this(); + t10 = t9._strands_moving; + if (t10 == null) { + t10 = new D.ListBuilder(t8); + t10.set$__ListBuilder__list(t7._as(P.List_List$from(C.List_empty, true, t6))); + t10.set$_listOwner(_null); + t9.set$_strands_moving(t10); + t9 = t10; + } else + t9 = t10; + t10 = t5._as(serializers.deserialize$2$specifiedType(value, C.FullType_2No)); + t11 = t9.$ti; + t12 = t11._eval$1("_BuiltList<1>"); + t13 = t11._eval$1("List<1>"); + if (t12._is(t10)) { + t12._as(t10); + t9.set$__ListBuilder__list(t13._as(t10._list)); + t9.set$_listOwner(t10); + } else { + t9.set$__ListBuilder__list(t13._as(P.List_List$from(t10, true, t11._precomputed1))); + t9.set$_listOwner(_null); + } + break; + case "strands_fixed": + t9 = result.get$_strands_move$_$this(); + t10 = t9._strands_fixed; + if (t10 == null) { + t10 = new D.ListBuilder(t8); + t10.set$__ListBuilder__list(t7._as(P.List_List$from(C.List_empty, true, t6))); + t10.set$_listOwner(_null); + t9.set$_strands_fixed(t10); + t9 = t10; + } else + t9 = t10; + t10 = t5._as(serializers.deserialize$2$specifiedType(value, C.FullType_2No)); + t11 = t9.$ti; + t12 = t11._eval$1("_BuiltList<1>"); + t13 = t11._eval$1("List<1>"); + if (t12._is(t10)) { + t12._as(t10); + t9.set$__ListBuilder__list(t13._as(t10._list)); + t9.set$_listOwner(t10); + } else { + t9.set$__ListBuilder__list(t13._as(P.List_List$from(t10, true, t11._precomputed1))); + t9.set$_listOwner(_null); + } + break; + case "helices": + t9 = result.get$_strands_move$_$this(); + t10 = t9._strands_move$_helices; + if (t10 == null) { + t10 = new A.MapBuilder(_null, $, _null, t4); + t10.replace$1(0, C.Map_empty); + t9.set$_strands_move$_helices(t10); + t9 = t10; + } else + t9 = t10; + t9.replace$1(0, serializers.deserialize$2$specifiedType(value, C.FullType_Qc0)); + break; + case "groups": + t9 = result.get$_strands_move$_$this(); + t10 = t9._strands_move$_groups; + if (t10 == null) { + t10 = new A.MapBuilder(_null, $, _null, t3); + t10.replace$1(0, C.Map_empty); + t9.set$_strands_move$_groups(t10); + t9 = t10; + } else + t9 = t10; + t9.replace$1(0, serializers.deserialize$2$specifiedType(value, C.FullType_m48)); + break; + case "original_helices_view_order_inverse": + t9 = result.get$_strands_move$_$this(); + t10 = t9._strands_move$_original_helices_view_order_inverse; + if (t10 == null) { + t10 = new A.MapBuilder(_null, $, _null, t2); + t10.replace$1(0, C.Map_empty); + t9.set$_strands_move$_original_helices_view_order_inverse(t10); + t9 = t10; + } else + t9 = t10; + t9.replace$1(0, serializers.deserialize$2$specifiedType(value, C.FullType_oyU)); + break; + case "original_address": + t9 = result.get$_strands_move$_$this(); + t10 = t9._strands_move$_original_address; + t9 = t10 == null ? t9._strands_move$_original_address = new Z.AddressBuilder() : t10; + t10 = t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_KlG)); + if (t10 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + t9._address$_$v = t10; + break; + case "current_address": + t9 = result.get$_strands_move$_$this(); + t10 = t9._strands_move$_current_address; + t9 = t10 == null ? t9._strands_move$_current_address = new Z.AddressBuilder() : t10; + t10 = t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_KlG)); + if (t10 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + t9._address$_$v = t10; + break; + case "allowable": + t9 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); + result.get$_strands_move$_$this()._strands_move$_allowable = t9; + break; + case "copy": + t9 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); + result.get$_strands_move$_$this()._strands_move$_copy = t9; + break; + case "keep_color": + t9 = H._asBoolS(serializers.deserialize$2$specifiedType(value, C.FullType_MtR)); + result.get$_strands_move$_$this()._strands_move$_keep_color = t9; + break; + } + } + return result.build$0(); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_ECG0; + }, + get$wireName: function() { + return "StrandsMove"; + } + }; + U._$StrandsMove.prototype = { + rebuild$1: function(updates) { + var t1; + type$.legacy_void_Function_legacy_StrandsMoveBuilder._as(updates); + t1 = new U.StrandsMoveBuilder(); + t1._strands_move$_$v = this; + updates.call$1(t1); + return t1.build$0(); + }, + $eq: function(_, other) { + var _this = this; + if (other == null) + return false; + if (other === _this) + return true; + return other instanceof U.StrandsMove && J.$eq$(_this.strands_moving, other.strands_moving) && J.$eq$(_this.strands_fixed, other.strands_fixed) && J.$eq$(_this.helices, other.helices) && J.$eq$(_this.groups, other.groups) && J.$eq$(_this.original_helices_view_order_inverse, other.original_helices_view_order_inverse) && _this.original_address.$eq(0, other.original_address) && _this.current_address.$eq(0, other.current_address) && _this.allowable === other.allowable && _this.copy === other.copy && _this.keep_color === other.keep_color; + }, + get$hashCode: function(_) { + var t2, _this = this, + t1 = _this._strands_move$__hashCode; + if (t1 == null) { + t1 = _this.original_address; + t2 = _this.current_address; + t2 = _this._strands_move$__hashCode = Y.$jf(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(0, J.get$hashCode$(_this.strands_moving)), J.get$hashCode$(_this.strands_fixed)), J.get$hashCode$(_this.helices)), J.get$hashCode$(_this.groups)), J.get$hashCode$(_this.original_helices_view_order_inverse)), t1.get$hashCode(t1)), t2.get$hashCode(t2)), C.JSBool_methods.get$hashCode(_this.allowable)), C.JSBool_methods.get$hashCode(_this.copy)), C.JSBool_methods.get$hashCode(_this.keep_color))); + t1 = t2; + } + return t1; + }, + toString$0: function(_) { + var _this = this, + t1 = $.$get$newBuiltValueToStringHelper().call$1("StrandsMove"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "strands_moving", _this.strands_moving); + t2.add$2(t1, "strands_fixed", _this.strands_fixed); + t2.add$2(t1, "helices", _this.helices); + t2.add$2(t1, "groups", _this.groups); + t2.add$2(t1, "original_helices_view_order_inverse", _this.original_helices_view_order_inverse); + t2.add$2(t1, "original_address", _this.original_address); + t2.add$2(t1, "current_address", _this.current_address); + t2.add$2(t1, "allowable", _this.allowable); + t2.add$2(t1, "copy", _this.copy); + t2.add$2(t1, "keep_color", _this.keep_color); + return t2.toString$0(t1); + } + }; + U.StrandsMoveBuilder.prototype = { + get$strands_moving: function() { + var t1 = this.get$_strands_move$_$this(), + t2 = t1._strands_moving; + if (t2 == null) { + t2 = D.ListBuilder_ListBuilder(C.List_empty, type$.legacy_Strand); + t1.set$_strands_moving(t2); + t1 = t2; + } else + t1 = t2; + return t1; + }, + get$strands_fixed: function() { + var t1 = this.get$_strands_move$_$this(), + t2 = t1._strands_fixed; + if (t2 == null) { + t2 = D.ListBuilder_ListBuilder(C.List_empty, type$.legacy_Strand); + t1.set$_strands_fixed(t2); + t1 = t2; + } else + t1 = t2; + return t1; + }, + get$helices: function() { + var t1 = this.get$_strands_move$_$this(), + t2 = t1._strands_move$_helices; + if (t2 == null) { + t2 = A.MapBuilder_MapBuilder(C.Map_empty, type$.legacy_int, type$.legacy_Helix); + t1.set$_strands_move$_helices(t2); + t1 = t2; + } else + t1 = t2; + return t1; + }, + get$groups: function() { + var t1 = this.get$_strands_move$_$this(), + t2 = t1._strands_move$_groups; + if (t2 == null) { + t2 = A.MapBuilder_MapBuilder(C.Map_empty, type$.legacy_String, type$.legacy_HelixGroup); + t1.set$_strands_move$_groups(t2); + t1 = t2; + } else + t1 = t2; + return t1; + }, + get$original_helices_view_order_inverse: function() { + var t1 = this.get$_strands_move$_$this(), + t2 = t1._strands_move$_original_helices_view_order_inverse; + if (t2 == null) { + t2 = type$.legacy_int; + t2 = A.MapBuilder_MapBuilder(C.Map_empty, t2, t2); + t1.set$_strands_move$_original_helices_view_order_inverse(t2); + t1 = t2; + } else + t1 = t2; + return t1; + }, + get$original_address: function() { + var t1 = this.get$_strands_move$_$this(), + t2 = t1._strands_move$_original_address; + return t2 == null ? t1._strands_move$_original_address = new Z.AddressBuilder() : t2; + }, + get$current_address: function() { + var t1 = this.get$_strands_move$_$this(), + t2 = t1._strands_move$_current_address; + return t2 == null ? t1._strands_move$_current_address = new Z.AddressBuilder() : t2; + }, + get$_strands_move$_$this: function() { + var t1, t2, _this = this, + $$v = _this._strands_move$_$v; + if ($$v != null) { + t1 = $$v.strands_moving; + t1.toString; + _this.set$_strands_moving(D.ListBuilder_ListBuilder(t1, t1.$ti._precomputed1)); + t1 = $$v.strands_fixed; + t1.toString; + _this.set$_strands_fixed(D.ListBuilder_ListBuilder(t1, t1.$ti._precomputed1)); + t1 = $$v.helices; + t1.toString; + t2 = t1.$ti; + t2._eval$1("_BuiltMap<1,2>")._as(t1); + _this.set$_strands_move$_helices(new A.MapBuilder(t1._mapFactory, t1._map$_map, t1, t2._eval$1("@<1>")._bind$1(t2._rest[1])._eval$1("MapBuilder<1,2>"))); + t2 = $$v.groups; + t2.toString; + t1 = t2.$ti; + t1._eval$1("_BuiltMap<1,2>")._as(t2); + _this.set$_strands_move$_groups(new A.MapBuilder(t2._mapFactory, t2._map$_map, t2, t1._eval$1("@<1>")._bind$1(t1._rest[1])._eval$1("MapBuilder<1,2>"))); + t1 = $$v.original_helices_view_order_inverse; + t1.toString; + t2 = t1.$ti; + t2._eval$1("_BuiltMap<1,2>")._as(t1); + _this.set$_strands_move$_original_helices_view_order_inverse(new A.MapBuilder(t1._mapFactory, t1._map$_map, t1, t2._eval$1("@<1>")._bind$1(t2._rest[1])._eval$1("MapBuilder<1,2>"))); + t2 = $$v.original_address; + t1 = new Z.AddressBuilder(); + t1._address$_$v = t2; + _this._strands_move$_original_address = t1; + t1 = $$v.current_address; + t2 = new Z.AddressBuilder(); + t2._address$_$v = t1; + _this._strands_move$_current_address = t2; + _this._strands_move$_allowable = $$v.allowable; + _this._strands_move$_copy = $$v.copy; + _this._strands_move$_keep_color = $$v.keep_color; + _this._strands_move$_$v = null; + } + return _this; + }, + build$0: function() { + var _$failedField, e, _$result0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, exception, _this = this, + _s11_ = "StrandsMove", + _s35_ = "original_helices_view_order_inverse", + _$result = null; + try { + _$result0 = _this._strands_move$_$v; + if (_$result0 == null) { + t1 = _this.get$strands_moving().build$0(); + t2 = _this.get$strands_fixed().build$0(); + t3 = _this.get$helices().build$0(); + t4 = _this.get$groups().build$0(); + t5 = _this.get$original_helices_view_order_inverse().build$0(); + t6 = _this.get$original_address().build$0(); + t7 = _this.get$current_address().build$0(); + t8 = _this.get$_strands_move$_$this()._strands_move$_allowable; + if (t8 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s11_, "allowable")); + t9 = _this.get$_strands_move$_$this()._strands_move$_copy; + if (t9 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s11_, "copy")); + t10 = _this.get$_strands_move$_$this()._strands_move$_keep_color; + if (t10 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s11_, "keep_color")); + _$result0 = new U._$StrandsMove(t1, t2, t3, t4, t5, t6, t7, t8, t9, t10); + if (t1 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s11_, "strands_moving")); + if (t2 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s11_, "strands_fixed")); + if (t3 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s11_, "helices")); + if (t4 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s11_, "groups")); + if (t5 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s11_, _s35_)); + } + _$result = _$result0; + } catch (exception) { + H.unwrapException(exception); + _$failedField = null; + try { + _$failedField = "strands_moving"; + _this.get$strands_moving().build$0(); + _$failedField = "strands_fixed"; + _this.get$strands_fixed().build$0(); + _$failedField = "helices"; + _this.get$helices().build$0(); + _$failedField = "groups"; + _this.get$groups().build$0(); + _$failedField = _s35_; + _this.get$original_helices_view_order_inverse().build$0(); + _$failedField = "original_address"; + _this.get$original_address().build$0(); + _$failedField = "current_address"; + _this.get$current_address().build$0(); + } catch (exception) { + e = H.unwrapException(exception); + t1 = Y.BuiltValueNestedFieldError$(_s11_, _$failedField, J.toString$0$(e)); + throw H.wrapException(t1); + } + throw exception; + } + t1 = type$.legacy_StrandsMove._as(_$result); + if (t1 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + _this._strands_move$_$v = t1; + return _$result; + }, + set$_strands_moving: function(_strands_moving) { + this._strands_moving = type$.legacy_ListBuilder_legacy_Strand._as(_strands_moving); + }, + set$_strands_fixed: function(_strands_fixed) { + this._strands_fixed = type$.legacy_ListBuilder_legacy_Strand._as(_strands_fixed); + }, + set$_strands_move$_helices: function(_helices) { + this._strands_move$_helices = type$.legacy_MapBuilder_of_legacy_int_and_legacy_Helix._as(_helices); + }, + set$_strands_move$_groups: function(_groups) { + this._strands_move$_groups = type$.legacy_MapBuilder_of_legacy_String_and_legacy_HelixGroup._as(_groups); + }, + set$_strands_move$_original_helices_view_order_inverse: function(_original_helices_view_order_inverse) { + this._strands_move$_original_helices_view_order_inverse = type$.legacy_MapBuilder_of_legacy_int_and_legacy_int._as(_original_helices_view_order_inverse); + } + }; + U._StrandsMove_Object_BuiltJsonSerializable.prototype = {}; + T.UndoRedo.prototype = {}; + T.UndoRedo_UndoRedo_closure.prototype = { + call$1: function(u) { + var t1 = $.$get$DEFAULT_UndoRedo(); + if (t1 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + u._undo_redo$_$v = t1; + return u; + }, + $signature: 75 + }; + T.UndoRedoItem.prototype = {}; + T.UndoRedoItem_UndoRedoItem_closure.prototype = { + call$1: function(b) { + var t1, t2; + b.get$_undo_redo$_$this()._short_description = this.short_description; + t1 = b.get$design(); + t2 = this.design; + if (t2 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + t1._design0$_$v = t2; + return b; + }, + $signature: 393 + }; + T._$UndoRedoItemSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + type$.legacy_UndoRedoItem._as(object); + return H.setRuntimeTypeInfo(["short_description", serializers.serialize$2$specifiedType(object.short_description, C.FullType_h8g), "design", serializers.serialize$2$specifiedType(object.design, C.FullType_WnR)], type$.JSArray_legacy_Object); + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + var t1, key, value, t2, t3, + result = new T.UndoRedoItemBuilder(), + iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + for (t1 = type$.legacy_Design; iterator.moveNext$0();) { + key = H._asStringS(iterator.get$current(iterator)); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (key) { + case "short_description": + t2 = H._asStringS(serializers.deserialize$2$specifiedType(value, C.FullType_h8g)); + result.get$_undo_redo$_$this()._short_description = t2; + break; + case "design": + t2 = result.get$_undo_redo$_$this(); + t3 = t2._undo_redo$_design; + if (t3 == null) { + t3 = new N.DesignBuilder(); + N.Design__initializeBuilder(t3); + t2._undo_redo$_design = t3; + t2 = t3; + } else + t2 = t3; + t3 = t1._as(serializers.deserialize$2$specifiedType(value, C.FullType_WnR)); + if (t3 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + t2._design0$_$v = t3; + break; + } + } + return result.build$0(); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_y1j; + }, + get$wireName: function() { + return "UndoRedoItem"; + } + }; + T._$UndoRedo.prototype = { + rebuild$1: function(updates) { + var t1, t2, t3, t4; + type$.legacy_void_Function_legacy_UndoRedoBuilder._as(updates); + t1 = new T.UndoRedoBuilder(); + t2 = type$.legacy_UndoRedoItem; + t3 = type$.legacy_ListBuilder_legacy_UndoRedoItem; + t4 = t3._as(D.ListBuilder_ListBuilder(C.List_empty, t2)); + t1.get$_undo_redo$_$this().set$_undo_stack(t4); + t2 = t3._as(D.ListBuilder_ListBuilder(C.List_empty, t2)); + t1.get$_undo_redo$_$this().set$_redo_stack(t2); + t1._undo_redo$_$v = this; + updates.call$1(t1); + return t1.build$0(); + }, + $eq: function(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof T.UndoRedo && J.$eq$(this.undo_stack, other.undo_stack) && J.$eq$(this.redo_stack, other.redo_stack); + }, + get$hashCode: function(_) { + var _this = this, + t1 = _this._undo_redo$__hashCode; + return t1 == null ? _this._undo_redo$__hashCode = Y.$jf(Y.$jc(Y.$jc(0, J.get$hashCode$(_this.undo_stack)), J.get$hashCode$(_this.redo_stack))) : t1; + }, + toString$0: function(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("UndoRedo"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "undo_stack", this.undo_stack); + t2.add$2(t1, "redo_stack", this.redo_stack); + return t2.toString$0(t1); + } + }; + T.UndoRedoBuilder.prototype = { + get$undo_stack: function() { + var t1 = this.get$_undo_redo$_$this(), + t2 = t1._undo_stack; + if (t2 == null) { + t2 = D.ListBuilder_ListBuilder(C.List_empty, type$.legacy_UndoRedoItem); + t1.set$_undo_stack(t2); + t1 = t2; + } else + t1 = t2; + return t1; + }, + get$redo_stack: function() { + var t1 = this.get$_undo_redo$_$this(), + t2 = t1._redo_stack; + if (t2 == null) { + t2 = D.ListBuilder_ListBuilder(C.List_empty, type$.legacy_UndoRedoItem); + t1.set$_redo_stack(t2); + t1 = t2; + } else + t1 = t2; + return t1; + }, + get$_undo_redo$_$this: function() { + var t1, _this = this, + $$v = _this._undo_redo$_$v; + if ($$v != null) { + t1 = $$v.undo_stack; + t1.toString; + _this.set$_undo_stack(D.ListBuilder_ListBuilder(t1, t1.$ti._precomputed1)); + t1 = $$v.redo_stack; + t1.toString; + _this.set$_redo_stack(D.ListBuilder_ListBuilder(t1, t1.$ti._precomputed1)); + _this._undo_redo$_$v = null; + } + return _this; + }, + build$0: function() { + var _$failedField, e, _$result0, t1, t2, exception, _this = this, + _s8_ = "UndoRedo", + _$result = null; + try { + _$result0 = _this._undo_redo$_$v; + if (_$result0 == null) { + t1 = _this.get$undo_stack().build$0(); + t2 = _this.get$redo_stack().build$0(); + _$result0 = new T._$UndoRedo(t1, t2); + if (t1 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s8_, "undo_stack")); + if (t2 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s8_, "redo_stack")); + } + _$result = _$result0; + } catch (exception) { + H.unwrapException(exception); + _$failedField = null; + try { + _$failedField = "undo_stack"; + _this.get$undo_stack().build$0(); + _$failedField = "redo_stack"; + _this.get$redo_stack().build$0(); + } catch (exception) { + e = H.unwrapException(exception); + t1 = Y.BuiltValueNestedFieldError$(_s8_, _$failedField, J.toString$0$(e)); + throw H.wrapException(t1); + } + throw exception; + } + t1 = type$.legacy_UndoRedo._as(_$result); + if (t1 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + _this._undo_redo$_$v = t1; + return _$result; + }, + set$_undo_stack: function(_undo_stack) { + this._undo_stack = type$.legacy_ListBuilder_legacy_UndoRedoItem._as(_undo_stack); + }, + set$_redo_stack: function(_redo_stack) { + this._redo_stack = type$.legacy_ListBuilder_legacy_UndoRedoItem._as(_redo_stack); + } + }; + T._$UndoRedoItem.prototype = { + $eq: function(_, other) { + if (other == null) + return false; + if (other === this) + return true; + return other instanceof T.UndoRedoItem && this.short_description === other.short_description && J.$eq$(this.design, other.design); + }, + get$hashCode: function(_) { + var _this = this, + t1 = _this._undo_redo$__hashCode; + return t1 == null ? _this._undo_redo$__hashCode = Y.$jf(Y.$jc(Y.$jc(0, C.JSString_methods.get$hashCode(_this.short_description)), J.get$hashCode$(_this.design))) : t1; + }, + toString$0: function(_) { + var t1 = $.$get$newBuiltValueToStringHelper().call$1("UndoRedoItem"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "short_description", this.short_description); + t2.add$2(t1, "design", this.design); + return t2.toString$0(t1); + } + }; + T.UndoRedoItemBuilder.prototype = { + get$design: function() { + var t1 = this.get$_undo_redo$_$this(), + t2 = t1._undo_redo$_design; + if (t2 == null) { + t2 = new N.DesignBuilder(); + N.Design__initializeBuilder(t2); + t1._undo_redo$_design = t2; + t1 = t2; + } else + t1 = t2; + return t1; + }, + get$_undo_redo$_$this: function() { + var t1, t2, _this = this, + $$v = _this._undo_redo$_$v; + if ($$v != null) { + _this._short_description = $$v.short_description; + t1 = $$v.design; + t1.toString; + t2 = new N.DesignBuilder(); + N.Design__initializeBuilder(t2); + t2._design0$_$v = t1; + _this._undo_redo$_design = t2; + _this._undo_redo$_$v = null; + } + return _this; + }, + build$0: function() { + var _$failedField, e, _$result0, t1, t2, exception, _this = this, + _s12_ = "UndoRedoItem", + _$result = null; + try { + _$result0 = _this._undo_redo$_$v; + if (_$result0 == null) { + t1 = _this.get$_undo_redo$_$this()._short_description; + if (t1 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s12_, "short_description")); + t2 = _this.get$design().build$0(); + _$result0 = new T._$UndoRedoItem(t1, t2); + if (t2 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s12_, "design")); + } + _$result = _$result0; + } catch (exception) { + H.unwrapException(exception); + _$failedField = null; + try { + _$failedField = "design"; + _this.get$design().build$0(); + } catch (exception) { + e = H.unwrapException(exception); + t1 = Y.BuiltValueNestedFieldError$(_s12_, _$failedField, J.toString$0$(e)); + throw H.wrapException(t1); + } + throw exception; + } + t1 = type$.legacy_UndoRedoItem._as(_$result); + if (t1 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + _this._undo_redo$_$v = t1; + return _$result; + } + }; + T._UndoRedo_Object_BuiltJsonSerializable.prototype = {}; + T._UndoRedoItem_Object_BuiltJsonSerializable.prototype = {}; + U.UnusedFields.prototype = {}; + T.VendorFields.prototype = {}; + T.VendorFields_VendorFields_closure.prototype = { + call$1: function(b) { + var t1, _this = this; + b.get$_vendor_fields$_$this()._scale = _this.scale; + b.get$_vendor_fields$_$this()._purification = _this.purification; + b.get$_vendor_fields$_$this()._plate = _this.plate; + b.get$_vendor_fields$_$this()._well = _this.well; + t1 = type$.dynamic; + t1 = type$.legacy_MapBuilder_of_legacy_String_and_legacy_Object._as(A.MapBuilder_MapBuilder(P.LinkedHashMap_LinkedHashMap$_empty(t1, t1), type$.legacy_String, type$.legacy_Object)); + b.get$_vendor_fields$_$this().set$_vendor_fields$_unused_fields(t1); + return b; + }, + $signature: 394 + }; + T.VendorFields_from_json_closure.prototype = { + call$1: function(b) { + var t1 = this.unused_fields; + type$.legacy_MapBuilder_of_legacy_String_and_legacy_Object._as(t1); + b.get$_vendor_fields$_$this().set$_vendor_fields$_unused_fields(t1); + return t1; + }, + $signature: 395 + }; + T._$VendorFieldsSerializer.prototype = { + serialize$3$specifiedType: function(serializers, object, specifiedType) { + var result, value; + type$.legacy_VendorFields._as(object); + result = H.setRuntimeTypeInfo(["scale", serializers.serialize$2$specifiedType(object.scale, C.FullType_h8g), "purification", serializers.serialize$2$specifiedType(object.purification, C.FullType_h8g)], type$.JSArray_legacy_Object); + value = object.plate; + if (value != null) { + C.JSArray_methods.add$1(result, "plate"); + C.JSArray_methods.add$1(result, serializers.serialize$2$specifiedType(value, C.FullType_h8g)); + } + value = object.well; + if (value != null) { + C.JSArray_methods.add$1(result, "well"); + C.JSArray_methods.add$1(result, serializers.serialize$2$specifiedType(value, C.FullType_h8g)); + } + return result; + }, + serialize$2: function(serializers, object) { + return this.serialize$3$specifiedType(serializers, object, C.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType: function(serializers, serialized, specifiedType) { + var key, value, t1, + result = new T.VendorFieldsBuilder(), + iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + for (; iterator.moveNext$0();) { + key = H._asStringS(iterator.get$current(iterator)); + iterator.moveNext$0(); + value = iterator.get$current(iterator); + switch (key) { + case "scale": + t1 = H._asStringS(serializers.deserialize$2$specifiedType(value, C.FullType_h8g)); + result.get$_vendor_fields$_$this()._scale = t1; + break; + case "purification": + t1 = H._asStringS(serializers.deserialize$2$specifiedType(value, C.FullType_h8g)); + result.get$_vendor_fields$_$this()._purification = t1; + break; + case "plate": + t1 = H._asStringS(serializers.deserialize$2$specifiedType(value, C.FullType_h8g)); + result.get$_vendor_fields$_$this()._plate = t1; + break; + case "well": + t1 = H._asStringS(serializers.deserialize$2$specifiedType(value, C.FullType_h8g)); + result.get$_vendor_fields$_$this()._well = t1; + break; + } + } + return result.build$0(); + }, + deserialize$2: function(serializers, serialized) { + return this.deserialize$3$specifiedType(serializers, serialized, C.FullType_null_List_empty_false); + }, + $isSerializer: 1, + $isStructuredSerializer: 1, + get$types: function() { + return C.List_zLk; + }, + get$wireName: function() { + return "VendorFields"; + } + }; + T._$VendorFields.prototype = { + $eq: function(_, other) { + var _this = this; + if (other == null) + return false; + if (other === _this) + return true; + return other instanceof T.VendorFields && _this.scale === other.scale && _this.purification === other.purification && _this.plate == other.plate && _this.well == other.well && J.$eq$(_this.unused_fields, other.unused_fields); + }, + get$hashCode: function(_) { + var _this = this, + t1 = _this._vendor_fields$__hashCode; + return t1 == null ? _this._vendor_fields$__hashCode = Y.$jf(Y.$jc(Y.$jc(Y.$jc(Y.$jc(Y.$jc(0, C.JSString_methods.get$hashCode(_this.scale)), C.JSString_methods.get$hashCode(_this.purification)), J.get$hashCode$(_this.plate)), J.get$hashCode$(_this.well)), J.get$hashCode$(_this.unused_fields))) : t1; + }, + toString$0: function(_) { + var _this = this, + t1 = $.$get$newBuiltValueToStringHelper().call$1("VendorFields"), + t2 = J.getInterceptor$ax(t1); + t2.add$2(t1, "scale", _this.scale); + t2.add$2(t1, "purification", _this.purification); + t2.add$2(t1, "plate", _this.plate); + t2.add$2(t1, "well", _this.well); + t2.add$2(t1, "unused_fields", _this.unused_fields); + return t2.toString$0(t1); + } + }; + T.VendorFieldsBuilder.prototype = { + get$unused_fields: function() { + var t1 = this.get$_vendor_fields$_$this(), + t2 = t1._vendor_fields$_unused_fields; + if (t2 == null) { + t2 = A.MapBuilder_MapBuilder(C.Map_empty, type$.legacy_String, type$.legacy_Object); + t1.set$_vendor_fields$_unused_fields(t2); + t1 = t2; + } else + t1 = t2; + return t1; + }, + get$_vendor_fields$_$this: function() { + var t1, t2, _this = this, + $$v = _this._vendor_fields$_$v; + if ($$v != null) { + _this._scale = $$v.scale; + _this._purification = $$v.purification; + _this._plate = $$v.plate; + _this._well = $$v.well; + t1 = $$v.unused_fields; + t1.toString; + t2 = t1.$ti; + t2._eval$1("_BuiltMap<1,2>")._as(t1); + _this.set$_vendor_fields$_unused_fields(new A.MapBuilder(t1._mapFactory, t1._map$_map, t1, t2._eval$1("@<1>")._bind$1(t2._rest[1])._eval$1("MapBuilder<1,2>"))); + _this._vendor_fields$_$v = null; + } + return _this; + }, + build$0: function() { + var _$failedField, e, _$result0, t1, t2, t3, t4, t5, exception, _this = this, + _s12_ = "VendorFields", + _$result = null; + try { + _$result0 = _this._vendor_fields$_$v; + if (_$result0 == null) { + t1 = _this.get$_vendor_fields$_$this()._scale; + if (t1 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s12_, "scale")); + t2 = _this.get$_vendor_fields$_$this()._purification; + if (t2 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s12_, "purification")); + t3 = _this.get$_vendor_fields$_$this()._plate; + t4 = _this.get$_vendor_fields$_$this()._well; + t5 = _this.get$unused_fields().build$0(); + _$result0 = new T._$VendorFields(t1, t2, t3, t4, t5); + if (t5 == null) + H.throwExpression(Y.BuiltValueNullFieldError$(_s12_, "unused_fields")); + } + _$result = _$result0; + } catch (exception) { + H.unwrapException(exception); + _$failedField = null; + try { + _$failedField = "unused_fields"; + _this.get$unused_fields().build$0(); + } catch (exception) { + e = H.unwrapException(exception); + t1 = Y.BuiltValueNestedFieldError$(_s12_, _$failedField, J.toString$0$(e)); + throw H.wrapException(t1); + } + throw exception; + } + t1 = type$.legacy_VendorFields._as(_$result); + if (t1 == null) + H.throwExpression(P.ArgumentError$notNull("other")); + _this._vendor_fields$_$v = t1; + return _$result; + }, + set$_vendor_fields$_unused_fields: function(_unused_fields) { + this._vendor_fields$_unused_fields = type$.legacy_MapBuilder_of_legacy_String_and_legacy_Object._as(_unused_fields); + } + }; + T._VendorFields_Object_BuiltJsonSerializable.prototype = {}; + T._VendorFields_Object_BuiltJsonSerializable_UnusedFields.prototype = {}; + E.ColorCycler.prototype = { + next$0: function(_) { + var next_color, + t1 = $.$get$ColorCycler_colors(), + t2 = this.idx; + if (t2 >= 13) + return H.ioore(t1, t2); + next_color = t1[t2]; + this.idx = (t2 + 1) % 13; + return next_color; + } + }; + E.are_all_close_closure.prototype = { + call$1: function(pair) { + var t1, t2; + type$.legacy_List_legacy_double._as(pair); + t1 = J.getInterceptor$asx(pair); + t2 = t1.$index(pair, 0); + t1 = t1.$index(pair, 1); + if (typeof t2 !== "number") + return t2.$sub(); + if (typeof t1 !== "number") + return H.iae(t1); + return Math.abs(t2 - t1) < this.epsilon; + }, + $signature: 396 + }; + E.get_text_file_content_closure.prototype = { + call$1: function($content) { + return H._asStringS($content); + }, + $signature: 27 + }; + E.get_binary_file_content_closure.prototype = { + call$1: function(request) { + return type$.legacy_FutureOr_legacy_ByteBuffer._as(W._convertNativeToDart_XHR_Response(type$.legacy_HttpRequest._as(request).response)); + }, + $signature: 397 + }; + E.dialog_closure.prototype = { + call$1: function(b) { + var t1 = type$.legacy_void_Function_legacy_List_legacy_DialogItem._as(new E.dialog__closure(this.completer)); + b.get$_dialog$_$this().set$_on_submit(t1); + return b; + }, + $signature: 127 + }; + E.dialog__closure.prototype = { + call$1: function(items) { + this.completer.complete$1(0, type$.legacy_List_legacy_DialogItem._as(items)); + }, + $signature: 398 + }; + E.Version.prototype = {}; + E.HexGridCoordinateSystem.prototype = { + toString$0: function(_) { + return this._util$_name; + } + }; + E.Pan.prototype = {}; + E.BlobType.prototype = { + toString$0: function(_) { + return this._util$_name; + } + }; + E.copy_svg_as_png_closure.prototype = { + call$1: function($event) { + return this.$call$body$copy_svg_as_png_closure(type$.legacy_Event._as($event)); + }, + $call$body$copy_svg_as_png_closure: function($event) { + var $async$goto = 0, + $async$completer = P._makeAsyncAwaitCompleter(type$.Null), + $async$returnValue, $async$self = this, canvasCtx, imgData, e, canvas, t1, t2; + var $async$call$1 = P._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { + if ($async$errorCode === 1) + return P._asyncRethrow($async$result, $async$completer); + while (true) + switch ($async$goto) { + case 0: + // Function start + e = document.createElement("canvas"); + canvas = e; + t1 = $async$self.svg_element; + t2 = t1.viewBox.baseVal.width; + if (typeof t2 !== "number") { + $async$returnValue = t2.$mul(); + // goto return + $async$goto = 1; + break; + } + J.set$width$x(canvas, H._asIntS(t2 * 2)); + t1 = t1.viewBox.baseVal.height; + if (typeof t1 !== "number") { + $async$returnValue = t1.$mul(); + // goto return + $async$goto = 1; + break; + } + J.set$height$x(canvas, H._asIntS(t1 * 2)); + canvasCtx = canvas.getContext("2d"); + t1 = $async$self.svgImage; + J.drawImage$3$x(canvasCtx, t1, 0, 0); + $async$goto = 3; + return P._asyncAwait(J.toBlob$1$x(canvas, "image/png"), $async$call$1); + case 3: + // returning from await. + imgData = $async$result; + self.clipboard_write("image/png", imgData); + C.ImageElement_methods.remove$0(t1); + (self.URL || self.webkitURL).revokeObjectURL($async$self.svgUrl); + case 1: + // return + return P._asyncReturn($async$returnValue, $async$completer); + } + }); + return P._asyncStartSync($async$call$1, $async$completer); + }, + $signature: 399 + }; + E.wc_closure.prototype = { + call$1: function(base) { + return E.wc_base(H._asStringS(base)); + }, + $signature: 27 + }; + E.svg_to_png_data_closure.prototype = { + call$1: function(_) { + var img_uri, _this = this; + _this.ctx.drawImage(_this.img, 0, 0); + (self.URL || self.webkitURL).revokeObjectURL(_this.url); + img_uri = C.CanvasElement_methods._toDataUrl$2(_this.canvas, "image/png", null); + $.app.dispatch$1(U.LoadDnaSequenceImageUri_LoadDnaSequenceImageUri(img_uri, -_this.dna_sequence_png_horizontal_offset, -_this.dna_sequence_png_vertical_offset)); + }, + $signature: 55 + }; + E.async_alert_closure.prototype = { + call$0: function() { + return C.Window_methods.alert$1(window, this.msg); + }, + $signature: 0 + }; + E.average_angle_closure.prototype = { + call$2: function(a, b) { + H._asDoubleS(a); + H._asDoubleS(b); + if (typeof a !== "number") + return a.$add(); + if (typeof b !== "number") + return H.iae(b); + return a + b; + }, + $signature: 400 + }; + B.End3PrimeProps.prototype = {$isMap: 1, $isUiProps0: 1, $isUiProps: 1}; + B.End3PrimeComponent.prototype = { + render$0: function(_) { + var t2, t3, points, poly_props, _this = this, _null = null, + t1 = _this._lib_3p_end$_cachedTypedProps; + t1 = t1.get$props(t1).$index(0, "End3PrimeProps.pos"); + if (t1 == null) + t1 = _null; + type$.legacy_Point_legacy_num._as(t1); + t2 = _this._lib_3p_end$_cachedTypedProps; + t2 = t2.get$props(t2).$index(0, "End3PrimeProps.forward"); + if (!H.boolConversionCheck(H._asBoolS(t2 == null ? _null : t2))) { + t2 = t1.x; + if (typeof t2 !== "number") + return t2.$sub(); + t3 = H.S(t2 - 3.7) + ","; + t1 = t1.y; + t2 += 3.33; + t3 = t3 + H.S(t1) + " " + H.S(t2) + ","; + if (typeof t1 !== "number") + return t1.$add(); + points = t3 + H.S(t1 + 3.7) + " " + H.S(t2) + "," + H.S(t1 - 3.7); + } else { + t2 = t1.x; + if (typeof t2 !== "number") + return t2.$add(); + t3 = H.S(t2 + 3.7) + ","; + t1 = t1.y; + t2 -= 3.33; + t3 = t3 + H.S(t1) + " " + H.S(t2) + ","; + if (typeof t1 !== "number") + return t1.$add(); + points = t3 + H.S(t1 + 3.7) + " " + H.S(t2) + "," + H.S(t1 - 3.7); + } + poly_props = A.SvgProps$($.$get$polygon(), _null); + t1 = _this._lib_3p_end$_cachedTypedProps; + t1 = t1.get$props(t1).$index(0, "End3PrimeProps.on_pointer_down"); + if (t1 == null) + t1 = _null; + t2 = type$.legacy_void_Function_legacy_SyntheticPointerEvent; + poly_props.set$onPointerDown(t2._as(t1)); + t1 = _this._lib_3p_end$_cachedTypedProps; + t1 = t1.get$props(t1).$index(0, "End3PrimeProps.on_pointer_up"); + poly_props.set$onPointerUp(t2._as(t1 == null ? _null : t1)); + t1 = _this._lib_3p_end$_cachedTypedProps; + t1 = t1.get$props(t1).$index(0, "End3PrimeProps.on_mouse_up"); + if (t1 == null) + t1 = _null; + t2 = type$.legacy_void_Function_legacy_SyntheticMouseEvent; + poly_props.set$onMouseUp(0, t2._as(t1)); + t1 = _this._lib_3p_end$_cachedTypedProps; + t1 = t1.get$props(t1).$index(0, "End3PrimeProps.on_mouse_enter"); + poly_props.set$onMouseEnter(0, t2._as(t1 == null ? _null : t1)); + t1 = _this._lib_3p_end$_cachedTypedProps; + t1 = t1.get$props(t1).$index(0, "End3PrimeProps.on_mouse_leave"); + poly_props.set$onMouseLeave(0, t2._as(t1 == null ? _null : t1)); + t1 = _this._lib_3p_end$_cachedTypedProps; + t1 = t1.get$props(t1).$index(0, "End3PrimeProps.on_mouse_move"); + poly_props.set$onMouseMove(0, t2._as(t1 == null ? _null : t1)); + t1 = _this._lib_3p_end$_cachedTypedProps; + t1 = t1.get$props(t1).$index(0, "End3PrimeProps.classname"); + poly_props.set$className(0, H._asStringS(t1 == null ? _null : t1)); + poly_props.set$points(0, points); + t1 = _this._lib_3p_end$_cachedTypedProps; + t1 = t1.get$props(t1).$index(0, "End3PrimeProps.id"); + poly_props.set$id(0, H._asStringS(t1 == null ? _null : t1)); + t1 = _this._lib_3p_end$_cachedTypedProps; + t1 = t1.get$props(t1).$index(0, "End3PrimeProps.color"); + if (t1 == null) + t1 = _null; + t1 = type$.legacy_Color._as(t1).toHexColor$0(); + poly_props.set$fill(0, "#" + t1.get$rHex() + t1.get$gHex() + t1.get$bHex()); + t1 = _this._lib_3p_end$_cachedTypedProps; + if (t1.get$transform(t1) != null) { + t1 = _this._lib_3p_end$_cachedTypedProps; + poly_props.set$transform(0, t1.get$transform(t1)); + } + return poly_props.call$0(); + } + }; + B.$End3PrimeComponentFactory_closure.prototype = { + call$0: function() { + return new B._$End3PrimeComponent(null); + }, + "call*": "call$0", + $requiredArgCount: 0, + $signature: 401 + }; + B._$$End3PrimeProps.prototype = { + get$$$isClassGenerated: function() { + return true; + }, + get$componentFactory: function() { + var t1 = this.componentFactory; + return t1 == null ? $.$get$$End3PrimeComponentFactory() : t1; + } + }; + B._$$End3PrimeProps$PlainMap.prototype = { + get$props: function(_) { + return this._lib_3p_end$_props; + } + }; + B._$$End3PrimeProps$JsMap.prototype = { + get$props: function(_) { + return this._lib_3p_end$_props; + } + }; + B._$End3PrimeComponent.prototype = { + get$props: function(_) { + return this._lib_3p_end$_cachedTypedProps; + }, + set$props: function(_, value) { + this.props = value; + this._lib_3p_end$_cachedTypedProps = B._$$End3PrimeProps$JsMap$(R.getBackingMap(value)); + }, + get$displayName: function(_) { + return "End3Prime"; + }, + get$$$defaultConsumedProps: function() { + return C.Map_04CA.get$values(C.Map_04CA); + } + }; + B.$End3PrimeProps.prototype = { + set$on_pointer_down: function(value) { + type$.legacy_void_Function_legacy_SyntheticPointerEvent._as(value); + J.$indexSet$ax(this.get$props(this), "End3PrimeProps.on_pointer_down", value); + }, + set$on_pointer_up: function(value) { + type$.legacy_void_Function_legacy_SyntheticPointerEvent._as(value); + J.$indexSet$ax(this.get$props(this), "End3PrimeProps.on_pointer_up", value); + }, + set$on_mouse_up: function(value) { + type$.legacy_void_Function_legacy_SyntheticMouseEvent._as(value); + J.$indexSet$ax(this.get$props(this), "End3PrimeProps.on_mouse_up", value); + }, + set$on_mouse_move: function(value) { + type$.legacy_void_Function_legacy_SyntheticMouseEvent._as(value); + J.$indexSet$ax(this.get$props(this), "End3PrimeProps.on_mouse_move", value); + }, + set$on_mouse_enter: function(value) { + type$.legacy_void_Function_legacy_SyntheticMouseEvent._as(value); + J.$indexSet$ax(this.get$props(this), "End3PrimeProps.on_mouse_enter", value); + }, + set$on_mouse_leave: function(value) { + type$.legacy_void_Function_legacy_SyntheticMouseEvent._as(value); + J.$indexSet$ax(this.get$props(this), "End3PrimeProps.on_mouse_leave", value); + }, + set$classname: function(value) { + J.$indexSet$ax(this.get$props(this), "End3PrimeProps.classname", value); + }, + set$pos: function(value) { + type$.legacy_Point_legacy_num._as(value); + J.$indexSet$ax(this.get$props(this), "End3PrimeProps.pos", value); + }, + set$color: function(_, value) { + J.$indexSet$ax(this.get$props(this), "End3PrimeProps.color", value); + }, + set$forward: function(_, value) { + J.$indexSet$ax(this.get$props(this), "End3PrimeProps.forward", value); + }, + set$id: function(_, value) { + J.$indexSet$ax(this.get$props(this), "End3PrimeProps.id", value); + }, + get$transform: function(_) { + var t1 = J.$index$asx(this.get$props(this), "End3PrimeProps.transform"); + return H._asStringS(t1 == null ? null : t1); + }, + set$transform: function(_, value) { + J.$indexSet$ax(this.get$props(this), "End3PrimeProps.transform", value); + } + }; + B.__$$End3PrimeProps_UiProps_End3PrimeProps.prototype = {}; + B.__$$End3PrimeProps_UiProps_End3PrimeProps_$End3PrimeProps.prototype = {}; + A.End5PrimeProps.prototype = {$isMap: 1, $isUiProps0: 1, $isUiProps: 1}; + A.End5PrimeComponent.prototype = { + render$0: function(_) { + var t2, _this = this, _null = null, + rect_props = A.SvgProps$($.$get$rect(), _null), + t1 = _this._lib_5p_end$_cachedTypedProps; + t1 = t1.get$props(t1).$index(0, "End5PrimeProps.on_pointer_down"); + if (t1 == null) + t1 = _null; + t2 = type$.legacy_void_Function_legacy_SyntheticPointerEvent; + rect_props.set$onPointerDown(t2._as(t1)); + t1 = _this._lib_5p_end$_cachedTypedProps; + t1 = t1.get$props(t1).$index(0, "End5PrimeProps.on_pointer_up"); + rect_props.set$onPointerUp(t2._as(t1 == null ? _null : t1)); + t1 = _this._lib_5p_end$_cachedTypedProps; + t1 = t1.get$props(t1).$index(0, "End5PrimeProps.on_mouse_up"); + if (t1 == null) + t1 = _null; + t2 = type$.legacy_void_Function_legacy_SyntheticMouseEvent; + rect_props.set$onMouseUp(0, t2._as(t1)); + t1 = _this._lib_5p_end$_cachedTypedProps; + t1 = t1.get$props(t1).$index(0, "End5PrimeProps.on_mouse_enter"); + rect_props.set$onMouseEnter(0, t2._as(t1 == null ? _null : t1)); + t1 = _this._lib_5p_end$_cachedTypedProps; + t1 = t1.get$props(t1).$index(0, "End5PrimeProps.on_mouse_leave"); + rect_props.set$onMouseLeave(0, t2._as(t1 == null ? _null : t1)); + t1 = _this._lib_5p_end$_cachedTypedProps; + t1 = t1.get$props(t1).$index(0, "End5PrimeProps.on_mouse_move"); + rect_props.set$onMouseMove(0, t2._as(t1 == null ? _null : t1)); + t1 = _this._lib_5p_end$_cachedTypedProps; + t1 = t1.get$props(t1).$index(0, "End5PrimeProps.classname"); + rect_props.set$className(0, H._asStringS(t1 == null ? _null : t1)); + t1 = _this._lib_5p_end$_cachedTypedProps.get$pos().x; + if (typeof t1 !== "number") + return t1.$sub(); + rect_props.set$x(0, H.S(t1 - 3.5)); + t1 = _this._lib_5p_end$_cachedTypedProps.get$pos().y; + if (typeof t1 !== "number") + return t1.$sub(); + rect_props.set$y(0, H.S(t1 - 3.5)); + rect_props.set$width(0, "7px"); + rect_props.set$height(0, "7px"); + t1 = rect_props.props.jsObject; + t1.rx = F.DartValueWrapper_wrapIfNeeded("1.5px"); + t1.ry = F.DartValueWrapper_wrapIfNeeded("1.5px"); + t1 = _this._lib_5p_end$_cachedTypedProps; + t1 = t1.get$props(t1).$index(0, "End5PrimeProps.id"); + rect_props.set$id(0, H._asStringS(t1 == null ? _null : t1)); + t1 = _this._lib_5p_end$_cachedTypedProps; + t1 = t1.get$props(t1).$index(0, "End5PrimeProps.color"); + if (t1 == null) + t1 = _null; + t1 = type$.legacy_Color._as(t1).toHexColor$0(); + rect_props.set$fill(0, "#" + t1.get$rHex() + t1.get$gHex() + t1.get$bHex()); + t1 = _this._lib_5p_end$_cachedTypedProps; + if (t1.get$transform(t1) != null) { + t1 = _this._lib_5p_end$_cachedTypedProps; + rect_props.set$transform(0, t1.get$transform(t1)); + } + return rect_props.call$0(); + } + }; + A.$End5PrimeComponentFactory_closure.prototype = { + call$0: function() { + return new A._$End5PrimeComponent(null); + }, + "call*": "call$0", + $requiredArgCount: 0, + $signature: 402 + }; + A._$$End5PrimeProps.prototype = { + get$$$isClassGenerated: function() { + return true; + }, + get$componentFactory: function() { + var t1 = this.componentFactory; + return t1 == null ? $.$get$$End5PrimeComponentFactory() : t1; + } + }; + A._$$End5PrimeProps$PlainMap.prototype = { + get$props: function(_) { + return this._lib_5p_end$_props; + } + }; + A._$$End5PrimeProps$JsMap.prototype = { + get$props: function(_) { + return this._lib_5p_end$_props; + } + }; + A._$End5PrimeComponent.prototype = { + get$props: function(_) { + return this._lib_5p_end$_cachedTypedProps; + }, + set$props: function(_, value) { + this.props = value; + this._lib_5p_end$_cachedTypedProps = A._$$End5PrimeProps$JsMap$(R.getBackingMap(value)); + }, + get$displayName: function(_) { + return "End5Prime"; + }, + get$$$defaultConsumedProps: function() { + return C.Map_Wbc8n.get$values(C.Map_Wbc8n); + } + }; + A.$End5PrimeProps.prototype = { + set$on_pointer_down: function(value) { + type$.legacy_void_Function_legacy_SyntheticPointerEvent._as(value); + J.$indexSet$ax(this.get$props(this), "End5PrimeProps.on_pointer_down", value); + }, + set$on_pointer_up: function(value) { + type$.legacy_void_Function_legacy_SyntheticPointerEvent._as(value); + J.$indexSet$ax(this.get$props(this), "End5PrimeProps.on_pointer_up", value); + }, + set$on_mouse_up: function(value) { + type$.legacy_void_Function_legacy_SyntheticMouseEvent._as(value); + J.$indexSet$ax(this.get$props(this), "End5PrimeProps.on_mouse_up", value); + }, + set$on_mouse_move: function(value) { + type$.legacy_void_Function_legacy_SyntheticMouseEvent._as(value); + J.$indexSet$ax(this.get$props(this), "End5PrimeProps.on_mouse_move", value); + }, + set$on_mouse_enter: function(value) { + type$.legacy_void_Function_legacy_SyntheticMouseEvent._as(value); + J.$indexSet$ax(this.get$props(this), "End5PrimeProps.on_mouse_enter", value); + }, + set$on_mouse_leave: function(value) { + type$.legacy_void_Function_legacy_SyntheticMouseEvent._as(value); + J.$indexSet$ax(this.get$props(this), "End5PrimeProps.on_mouse_leave", value); + }, + set$classname: function(value) { + J.$indexSet$ax(this.get$props(this), "End5PrimeProps.classname", value); + }, + get$pos: function() { + var t1 = J.$index$asx(this.get$props(this), "End5PrimeProps.pos"); + if (t1 == null) + t1 = null; + return type$.legacy_Point_legacy_num._as(t1); + }, + set$pos: function(value) { + type$.legacy_Point_legacy_num._as(value); + J.$indexSet$ax(this.get$props(this), "End5PrimeProps.pos", value); + }, + set$color: function(_, value) { + J.$indexSet$ax(this.get$props(this), "End5PrimeProps.color", value); + }, + set$forward: function(_, value) { + J.$indexSet$ax(this.get$props(this), "End5PrimeProps.forward", value); + }, + set$id: function(_, value) { + J.$indexSet$ax(this.get$props(this), "End5PrimeProps.id", value); + }, + get$transform: function(_) { + var t1 = J.$index$asx(this.get$props(this), "End5PrimeProps.transform"); + return H._asStringS(t1 == null ? null : t1); + }, + set$transform: function(_, value) { + J.$indexSet$ax(this.get$props(this), "End5PrimeProps.transform", value); + } + }; + A.__$$End5PrimeProps_UiProps_End5PrimeProps.prototype = {}; + A.__$$End5PrimeProps_UiProps_End5PrimeProps_$End5PrimeProps.prototype = {}; + U.DraggableComponent.prototype = { + toString$0: function(_) { + return this._design$_name; + } + }; + U.DesignViewComponent.prototype = { + handle_keyboard_mouse_events$0: function() { + var t3, _i, t4, end_select_mode, svg_elt, _this = this, + _s9_ = "mousemove", + _s9_0 = "mousedown", + t1 = document, + t2 = type$.nullable_void_Function_legacy_MouseEvent._as(new U.DesignViewComponent_handle_keyboard_mouse_events_closure()); + type$.nullable_void_Function._as(null); + W._EventStreamSubscription$(t1, "click", t2, false, type$.legacy_MouseEvent); + t2 = type$._ElementEventStreamImpl_legacy_MouseEvent; + t1 = t2._eval$1("~(1)?"); + t2 = t2._precomputed1; + W._EventStreamSubscription$(_this.side_view_svg, "mouseleave", t1._as(new U.DesignViewComponent_handle_keyboard_mouse_events_closure0(_this)), false, t2); + W._EventStreamSubscription$(_this.side_view_svg, _s9_, t1._as(new U.DesignViewComponent_handle_keyboard_mouse_events_closure1(_this)), false, t2); + for (t3 = [_this.main_view_svg, _this.side_view_svg], _i = 0; _i < 2; ++_i) + W._EventStreamSubscription$(t3[_i], _s9_0, t1._as(new U.DesignViewComponent_handle_keyboard_mouse_events_closure2()), false, t2); + W._EventStreamSubscription$(_this.main_view_svg, _s9_, t1._as(new U.DesignViewComponent_handle_keyboard_mouse_events_closure3(_this)), false, t2); + t3 = type$.nullable_void_Function_legacy_KeyboardEvent; + t4 = type$.legacy_KeyboardEvent; + W._EventStreamSubscription$(window, "keydown", t3._as(new U.DesignViewComponent_handle_keyboard_mouse_events_closure4(_this)), false, t4); + end_select_mode = new U.DesignViewComponent_handle_keyboard_mouse_events_end_select_mode(_this); + W._EventStreamSubscription$(window, "blur", type$.nullable_void_Function_legacy_Event._as(new U.DesignViewComponent_handle_keyboard_mouse_events_closure5(end_select_mode)), false, type$.legacy_Event); + W._EventStreamSubscription$(window, "keyup", t3._as(new U.DesignViewComponent_handle_keyboard_mouse_events_closure6(end_select_mode)), false, t4); + for (t3 = [_this.main_view_svg, _this.side_view_svg], _i = 0; _i < 2; ++_i) { + svg_elt = t3[_i]; + W._EventStreamSubscription$(svg_elt, _s9_0, t1._as(new U.DesignViewComponent_handle_keyboard_mouse_events_closure7(svg_elt === _this.main_view_svg, svg_elt)), false, t2); + W._EventStreamSubscription$(svg_elt, "mouseup", t1._as(new U.DesignViewComponent_handle_keyboard_mouse_events_closure8(svg_elt)), false, t2); + } + }, + handle_keyboard_shortcuts$2: function(key, ev) { + var _i, svg_elt, t2, _this = this, + _s11_ = "panzoomable", + _s22_ = "selection-box-drawable", + t1 = $.app.store; + if (!t1.get$state(t1).ui_state.storables.edit_modes._set.contains$1(0, C.EditModeChoice_select)) { + t1 = $.app.store; + t1 = t1.get$state(t1).ui_state.storables.edit_modes._set.contains$1(0, C.EditModeChoice_move_group); + } else + t1 = true; + if (t1) + t1 = key === 17 || key == $.$get$KEY_CODE_TOGGLE_SELECT_MAC() || key === 16; + else + t1 = false; + if (t1) { + _this.install_draggable$3(true, C.DraggableComponent_0, _this.main_view_svg); + _this.install_draggable$3(false, C.DraggableComponent_1, _this.side_view_svg); + for (t1 = [_this.main_view_svg, _this.side_view_svg], _i = 0; _i < 2; ++_i) { + svg_elt = t1[_i]; + new P.AttributeClassSet(svg_elt).remove$1(0, _s11_); + new P.AttributeClassSet(svg_elt).add$1(0, _s22_); + } + } else { + t1 = J.getInterceptor$x(ev); + if (!H.boolConversionCheck(t1.get$ctrlKey(ev)) && !H.boolConversionCheck(t1.get$metaKey(ev)) && !H.boolConversionCheck(t1.get$shiftKey(ev)) && !H.boolConversionCheck(t1.get$altKey(ev)) && J.contains$1$asx(C.Map_2Vy1w.get$keys(C.Map_2Vy1w), key)) + $.app.dispatch$1(U.EditModeToggle_EditModeToggle(C.Map_2Vy1w.$index(0, key))); + else { + if (key !== 46) { + t2 = $._operatingSystem; + if (t2 == null) { + $.OperatingSystem_navigator = new G._HtmlNavigator(); + t2 = $._operatingSystem = N.OperatingSystem_getCurrentOperatingSystem(); + } + t2.toString; + t2 = t2 === $.$get$mac() && key === 8; + } else + t2 = true; + if (t2) { + t1.preventDefault$0(ev); + t1 = $.app.store; + t1 = t1.get$state(t1).ui_state.selectables_store.selected_items._set; + if (t1.get$isNotEmpty(t1)) + $.app.dispatch$1(U.DeleteAllSelected_DeleteAllSelected()); + else { + t1 = $.app.store; + t1 = t1.get$state(t1).ui_state.storables.side_selected_helix_idxs._set; + if (t1.get$isNotEmpty(t1)) { + t1 = $.app; + type$.legacy_void_Function_legacy_HelixRemoveAllSelectedBuilder._as(null); + t1.dispatch$1(new U.HelixRemoveAllSelectedBuilder().build$0()); + } + } + } else { + t1 = $.app.store; + if (t1.get$state(t1).ui_state.storables.edit_modes._set.contains$1(0, C.EditModeChoice_rope_select)) + t1 = key === 17 || key == $.$get$KEY_CODE_TOGGLE_SELECT_MAC() || key === 16; + else + t1 = false; + if (t1) { + for (t1 = [_this.main_view_svg, _this.side_view_svg], _i = 0; _i < 2; ++_i) { + svg_elt = t1[_i]; + new P.AttributeClassSet(svg_elt).remove$1(0, _s11_); + new P.AttributeClassSet(svg_elt).add$1(0, _s22_); + } + self.set_allow_pan(false); + $.app.dispatch$1(U._$SelectionRopeCreate$_(key !== 16)); + } + } + } + } + t1 = $.app.store; + t1 = t1.get$state(t1).ui_state.selectables_store.get$selected_strands()._set; + if (t1.get$isNotEmpty(t1)) { + t1 = J.getInterceptor$x(ev); + t1 = (H.boolConversionCheck(t1.get$ctrlKey(ev)) || H.boolConversionCheck(t1.get$metaKey(ev))) && key === 67; + } else + t1 = false; + if (t1) + U.copy_selected_strands(); + t1 = J.getInterceptor$x(ev); + if ((H.boolConversionCheck(t1.get$ctrlKey(ev)) || H.boolConversionCheck(t1.get$metaKey(ev))) && key === 86 && !H.boolConversionCheck(t1.get$shiftKey(ev))) + U.paste_strands_manually(); + else if ((H.boolConversionCheck(t1.get$ctrlKey(ev)) || H.boolConversionCheck(t1.get$metaKey(ev))) && H.boolConversionCheck(t1.get$shiftKey(ev)) && key === 86) + U.paste_strands_auto(); + if (H.boolConversionCheck(t1.get$ctrlKey(ev)) || H.boolConversionCheck(t1.get$metaKey(ev))) + if (!H.boolConversionCheck(t1.get$altKey(ev))) + if (key === 65) { + t2 = $.app.store; + if (!t2.get$state(t2).ui_state.storables.edit_modes._set.contains$1(0, C.EditModeChoice_select)) { + t2 = $.app.store; + t2 = t2.get$state(t2).ui_state.storables.edit_modes._set.contains$1(0, C.EditModeChoice_rope_select); + } else + t2 = true; + } else + t2 = false; + else + t2 = false; + else + t2 = false; + if (t2) { + t1.preventDefault$0(ev); + $.app.dispatch$1(U.SelectAllSelectable_SelectAllSelectable(t1.get$shiftKey(ev))); + } else { + if (H.boolConversionCheck(t1.get$altKey(ev))) + if (H.boolConversionCheck(t1.get$shiftKey(ev))) + t2 = !(H.boolConversionCheck(t1.get$ctrlKey(ev)) || H.boolConversionCheck(t1.get$metaKey(ev))) && key === 65; + else + t2 = false; + else + t2 = false; + if (t2) { + t1.preventDefault$0(ev); + $.app.disable_keyboard_shortcuts_while$1$1(E.selectable__ask_for_select_all_with_same_as_selected$closure(), type$.void); + } + } + if (key == C.EditModeChoice_pencil.key_code$0()) + _this.side_view_update_position$1$mouse_pos(_this.side_view_mouse_position); + }, + uninstall_draggable$2: function(is_main_view, draggable_component) { + var t1 = this.draggables; + if (t1.$index(0, draggable_component) != null) { + t1.$index(0, draggable_component).destroy$0(); + t1.$indexSet(0, draggable_component, null); + document.body.classList.remove("dnd-drag-occurring"); + t1 = $.app; + if (t1.store_selection_box._state != null) + t1.dispatch$1(U.SelectionBoxRemove_SelectionBoxRemove(is_main_view)); + } + }, + install_draggable$3: function(is_main_view, draggable_component, view_svg) { + var t2, t3, draggable, _this = this, + t1 = _this.draggables; + if (t1.$index(0, draggable_component) != null) + return; + t2 = $.Draggable_idCounter; + $.Draggable_idCounter = t2 + 1; + t3 = H.setRuntimeTypeInfo([], type$.JSArray__EventManager); + draggable = new Z.Draggable(t2, t3); + t2 = H.setRuntimeTypeInfo([view_svg], type$.JSArray_Element); + draggable.set$__Draggable__elements(type$.List_Element._as(t2)); + t2 = window; + t2 = P._wrapToDart(P._convertToJS(t2)); + if ("PointerEvent" in t2._js$_jsObject) + C.JSArray_methods.add$1(t3, Z._PointerManager$(draggable)); + else { + if (W.TouchEvent_supported()) + C.JSArray_methods.add$1(t3, Z._TouchManager$(draggable)); + C.JSArray_methods.add$1(t3, Z._MouseManager$(draggable)); + } + t1.$indexSet(0, draggable_component, draggable); + draggable.get$onDragStart(draggable).listen$1(new U.DesignViewComponent_install_draggable_closure(_this, view_svg, is_main_view)); + draggable.get$onDrag(draggable).listen$1(new U.DesignViewComponent_install_draggable_closure0(_this, view_svg, is_main_view)); + draggable.get$onDragEnd(draggable).listen$1(new U.DesignViewComponent_install_draggable_closure1(_this, view_svg, is_main_view)); + }, + drag_end$3: function(draggable_event, view_svg, is_main_view) { + var action_remove, toggle, action_adjust, + t1 = $.app.store; + if (t1.get$state(t1).ui_state.storables.edit_modes._set.contains$1(0, C.EditModeChoice_select)) { + if ($.app.store_selection_box._state == null) + return; + action_remove = U.SelectionBoxRemove_SelectionBoxRemove(is_main_view); + t1 = $.app.store_selection_box._state; + toggle = t1.toggle; + action_adjust = is_main_view ? U._$SelectionsAdjustMainView$_(true, toggle) : U.HelixSelectionsAdjust_HelixSelectionsAdjust(toggle, t1); + $.app.dispatch$1(action_adjust); + $.app.dispatch$1(action_remove); + } else { + if (is_main_view) { + t1 = $.app.store; + t1 = t1.get$state(t1).ui_state.storables.edit_modes._set.contains$1(0, C.EditModeChoice_move_group); + } else + t1 = false; + if (t1) + $.app.dispatch$1(U._$HelixGroupMoveStop__$HelixGroupMoveStop()); + } + }, + render$1: function(_, state) { + var t1, t2, pre, escaped_error_message, t3, t4, t5, t6, t7, t8, t9, t10, _this = this, _null = null, + _s1170_ = string$.x3cp_sca; + if (state.get$has_error()) { + t1 = _this.root_element; + t2 = _this.error_message_pane; + if (!J.contains$1$asx(t1.children, t2)) { + C.DivElement_methods._clearChildren$0(t1); + t1.appendChild(t2); + t1.appendChild(_this.dialog_form_container); + t1.appendChild(_this.dialog_loading_container); + t1.appendChild(_this.strand_color_picker_container); + } + t1 = _this.error_message_component; + t2 = state.error_message; + t1 = t1.root_element; + C.DivElement_methods._clearChildren$0(t1); + if (t2.length > 0) + if (t2 === _s1170_) + t1.appendChild(W.Element_Element$html(_s1170_, C.C__TrustedHtmlTreeSanitizer, _null)); + else { + pre = document.createElement("pre"); + escaped_error_message = new P.HtmlEscape().convert$1(t2); + C.PreElement_methods.set$text(pre, _null); + pre.appendChild(C.PreElement_methods.createFragment$3$treeSanitizer$validator(pre, escaped_error_message, _null, _null)); + t1.appendChild(pre); + } + t1 = $.$get$ErrorBoundary().call$0(); + t2 = $.$get$ReduxProvider().call$0(); + J.set$store$z(t2, $.app.store); + t2 = t1.call$1(t2.call$1($.$get$ConnectedDesignDialogForm().call$0().call$0())); + $.$get$render().call$2(t2, _this.dialog_form_container); + t2 = $.$get$ErrorBoundary().call$0(); + t1 = $.$get$ReduxProvider().call$0(); + J.set$store$z(t1, $.app.store); + t1 = t2.call$1(t1.call$1($.$get$ConnectedLoadingDialog().call$0().call$0())); + $.$get$render().call$2(t1, _this.dialog_loading_container); + } else { + t1 = _this.root_element; + t2 = _this.design_above_footer_pane; + if (!J.contains$1$asx(t1.children, t2)) { + C.DivElement_methods._clearChildren$0(t1); + t1.appendChild(t2); + t1.appendChild(_this.footer_separator); + t1.appendChild(_this.footer_element); + t1.appendChild(_this.dialog_form_container); + t1.appendChild(_this.dialog_loading_container); + t1.appendChild(_this.strand_color_picker_container); + t1.appendChild(_this.context_menu_container); + } + t1 = $.$get$ErrorBoundary().call$0(); + t2 = $.$get$ReduxProvider().call$0(); + J.set$store$z(t2, $.app.store); + t2 = t1.call$1(t2.call$1($.$get$ConnectedSideMenu().call$0().call$0())); + t1 = document; + t3 = t1.querySelector("#side-view-menu"); + $.$get$render().call$2(t2, t3); + t3 = $.$get$ErrorBoundary().call$0(); + t2 = $.$get$ReduxProvider().call$0(); + J.set$store$z(t2, $.app.store); + t4 = $.$get$ReduxProvider().call$0(); + t5 = J.getInterceptor$z(t4); + t5.set$store(t4, $.app.store_selection_rope); + t5.set$context(t4, $.app.context_selection_rope); + t5 = $.$get$ReduxProvider().call$0(); + t6 = J.getInterceptor$z(t5); + t6.set$store(t5, $.app.store_selection_box); + t6.set$context(t5, $.app.context_selection_box); + t5 = t3.call$1(t2.call$1(t4.call$1(t5.call$1($.$get$ConnectedDesignSide().call$0().call$0())))); + t4 = t1.querySelector("#side-view-svg-viewport"); + $.$get$render().call$2(t5, t4); + t4 = X.design_main_error_boundary___$DesignMainErrorBoundary$closure().call$0(); + t5 = $.$get$ReduxProvider().call$0(); + J.set$store$z(t5, $.app.store); + t2 = $.$get$ReduxProvider().call$0(); + t3 = J.getInterceptor$z(t2); + t3.set$store(t2, $.app.store_selection_rope); + t3.set$context(t2, $.app.context_selection_rope); + t3 = $.$get$ReduxProvider().call$0(); + t6 = J.getInterceptor$z(t3); + t6.set$store(t3, $.app.store_selection_box); + t6.set$context(t3, $.app.context_selection_box); + t6 = $.$get$ReduxProvider().call$0(); + t7 = J.getInterceptor$z(t6); + t7.set$store(t6, $.app.store_potential_crossover); + t7.set$context(t6, $.app.context_potential_crossover); + t7 = $.$get$ReduxProvider().call$0(); + t8 = J.getInterceptor$z(t7); + t8.set$store(t7, $.app.store_extensions_move); + t8.set$context(t7, $.app.context_extensions_move); + t8 = $.$get$ReduxProvider().call$0(); + t9 = J.getInterceptor$z(t8); + t9.set$store(t8, $.app.store_dna_ends_move); + t9.set$context(t8, $.app.context_dna_ends_move); + t9 = $.$get$ReduxProvider().call$0(); + t10 = J.getInterceptor$z(t9); + t10.set$store(t9, $.app.store_helix_group_move); + t10.set$context(t9, $.app.context_helix_group_move); + t9 = t4.call$1(t5.call$1(t2.call$1(t3.call$1(t6.call$1(t7.call$1(t8.call$1(t9.call$1($.$get$ConnectedDesignMain().call$0().call$0())))))))); + t8 = t1.querySelector("#main-view-svg-viewport"); + $.$get$render().call$2(t9, t8); + t8 = $.$get$ErrorBoundary().call$0(); + t9 = $.$get$ReduxProvider().call$0(); + J.set$store$z(t9, $.app.store); + t9 = t8.call$1(t9.call$1($.$get$ConnectedDesignMainArrows().call$0().call$0())); + t8 = t1.querySelector("#main-arrows"); + $.$get$render().call$2(t9, t8); + t8 = $.$get$ErrorBoundary().call$0(); + t9 = $.$get$ReduxProvider().call$0(); + J.set$store$z(t9, $.app.store); + t9 = t8.call$1(t9.call$1($.$get$ConnectedDesignSideArrows().call$0().call$0())); + t1 = t1.querySelector("#side-arrows"); + $.$get$render().call$2(t9, t1); + t1 = $.$get$ErrorBoundary().call$0(); + t9 = $.$get$ReduxProvider().call$0(); + J.set$store$z(t9, $.app.store); + t9 = t1.call$1(t9.call$1($.$get$ConnectedDesignFooter().call$0().call$0())); + $.$get$render().call$2(t9, _this.footer_element); + t9 = $.$get$ErrorBoundary().call$0(); + t1 = $.$get$ReduxProvider().call$0(); + J.set$store$z(t1, $.app.store); + t1 = t9.call$1(t1.call$1($.$get$ConnectedDesignContextMenu().call$0().call$0())); + $.$get$render().call$2(t1, _this.context_menu_container); + t1 = $.$get$ErrorBoundary().call$0(); + t9 = $.$get$ReduxProvider().call$0(); + J.set$store$z(t9, $.app.store); + t9 = t1.call$1(t9.call$1($.$get$ConnectedDesignDialogForm().call$0().call$0())); + $.$get$render().call$2(t9, _this.dialog_form_container); + t9 = $.$get$ErrorBoundary().call$0(); + t1 = $.$get$ReduxProvider().call$0(); + J.set$store$z(t1, $.app.store); + t1 = t9.call$1(t1.call$1($.$get$ConnectedLoadingDialog().call$0().call$0())); + $.$get$render().call$2(t1, _this.dialog_loading_container); + t1 = $.$get$ErrorBoundary().call$0(); + t9 = $.$get$ReduxProvider().call$0(); + J.set$store$z(t9, $.app.store); + t9 = t1.call$1(t9.call$1($.$get$ConnectedStrandOrSubstrandColorPicker().call$0().call$0())); + $.$get$render().call$2(t9, _this.strand_color_picker_container); + if (!_this.svg_panzoom_has_been_set_up) { + self.setup_svg_panzoom(P.allowInterop(E.util__svg_to_png_data$closure(), type$.legacy_void_Function), P.allowInterop(E.util__dispatch_set_zoom_threshold$closure(), type$.legacy_void_Function_legacy_bool), 0.5); + _this.svg_panzoom_has_been_set_up = true; + } + } + }, + side_view_update_position$2$event$mouse_pos: function($event, mouse_pos) { + var t1, displayed_group_name, displayed_grid, invert_y, geometry, svg_pos, t2, t3, t4, gp, action; + type$.legacy_Point_legacy_num._as(mouse_pos); + t1 = $.app.store; + if (t1.get$state(t1).ui_state.storables.edit_modes._set.contains$1(0, C.EditModeChoice_pencil)) { + t1 = $.app.store; + displayed_group_name = t1.get$state(t1).ui_state.storables.displayed_group_name; + t1 = $.app.store; + displayed_grid = J.$index$asx(t1.get$state(t1).design.groups._map$_map, displayed_group_name).grid; + if (displayed_grid !== C.Grid_none) { + t1 = $.app.store; + invert_y = t1.get$state(t1).ui_state.storables.invert_y; + t1 = $.app.store; + geometry = t1.get$state(t1).design.geometry; + svg_pos = E.transformed_svg_point(type$.legacy_SvgSvgElement._as(document.querySelector("#side-view-svg")), false, $event, mouse_pos); + t1 = svg_pos.x; + t2 = geometry.get$distance_between_helices_svg(); + if (typeof t1 !== "number") + return t1.$div(); + t3 = svg_pos.y; + t4 = geometry.get$distance_between_helices_svg(); + if (typeof t3 !== "number") + return t3.$div(); + gp = E.position_2d_to_grid_position_diameter_1_circles(displayed_grid, t1 / t2, t3 / t4, C.HexGridCoordinateSystem_2); + if (invert_y) + gp = D.GridPosition_GridPosition(-gp.h, -gp.v); + t1 = $.app.store; + if (!J.$eq$(t1.get$state(t1).ui_state.side_view_grid_position_mouse_cursor, gp)) + $.app.dispatch$1(U.MouseGridPositionSideUpdate_MouseGridPositionSideUpdate(gp)); + } else { + action = U._$MousePositionSideUpdate$_(E.transformed_svg_point(this.side_view_svg, false, $event, mouse_pos)); + $.app.dispatch$1(U.ThrottledActionNonFast_ThrottledActionNonFast(action, 0.016666666666666666)); + } + } else { + t1 = $.app.store; + if (t1.get$state(t1).ui_state.side_view_grid_position_mouse_cursor != null) + $.app.dispatch$1(U.MouseGridPositionSideClear_MouseGridPositionSideClear()); + t1 = $.app.store; + if (t1.get$state(t1).ui_state.side_view_position_mouse_cursor != null) + $.app.dispatch$1(U._$MousePositionSideClear__$MousePositionSideClear()); + } + }, + side_view_update_position$1$mouse_pos: function(mouse_pos) { + return this.side_view_update_position$2$event$mouse_pos(null, mouse_pos); + }, + side_view_update_position$1$event: function($event) { + return this.side_view_update_position$2$event$mouse_pos($event, null); + }, + set$side_view_mouse_position: function(side_view_mouse_position) { + this.side_view_mouse_position = type$.legacy_Point_legacy_num._as(side_view_mouse_position); + }, + set$main_view_mouse_position: function(main_view_mouse_position) { + this.main_view_mouse_position = type$.legacy_Point_legacy_num._as(main_view_mouse_position); + } + }; + U.DesignViewComponent_handle_keyboard_mouse_events_closure.prototype = { + call$1: function($event) { + var context_menu_elt, strand_color_picker_elt, + target = type$.legacy_Element._as(W._convertNativeToDart_EventTarget(type$.legacy_MouseEvent._as($event).target)), + t1 = $.app.store; + if (t1.get$state(t1).ui_state.context_menu != null) { + context_menu_elt = document.querySelector("#context-menu"); + if (context_menu_elt != null && !H.boolConversionCheck(J.contains$1$asx(context_menu_elt, target))) + $.app.dispatch$1(U._$ContextMenuHide__$ContextMenuHide()); + } + t1 = $.app.store; + if (t1.get$state(t1).ui_state.color_picker_strand != null) { + strand_color_picker_elt = document.querySelector("#strand-color-picker"); + if (strand_color_picker_elt != null && !H.boolConversionCheck(J.contains$1$asx(strand_color_picker_elt, target))) + $.app.dispatch$1(U.StrandOrSubstrandColorPickerHide_StrandOrSubstrandColorPickerHide()); + } + }, + $signature: 40 + }; + U.DesignViewComponent_handle_keyboard_mouse_events_closure0.prototype = { + call$1: function(_) { + var t1; + type$.legacy_MouseEvent._as(_); + t1 = $.app.store; + if (t1.get$state(t1).ui_state.side_view_grid_position_mouse_cursor != null) + $.app.dispatch$1(U.MouseGridPositionSideClear_MouseGridPositionSideClear()); + t1 = $.app.store; + if (t1.get$state(t1).ui_state.side_view_position_mouse_cursor != null) + $.app.dispatch$1(U._$MousePositionSideClear__$MousePositionSideClear()); + return null; + }, + $signature: 136 + }; + U.DesignViewComponent_handle_keyboard_mouse_events_closure1.prototype = { + call$1: function($event) { + var t1; + type$.legacy_MouseEvent._as($event); + t1 = this.$this; + t1.set$side_view_mouse_position(new P.Point($event.clientX, $event.clientY, type$.Point_num)); + t1.side_view_update_position$1$event($event); + }, + $signature: 40 + }; + U.DesignViewComponent_handle_keyboard_mouse_events_closure2.prototype = { + call$1: function($event) { + self.set_allow_pan(type$.legacy_SvgSvgElement._is(W._convertNativeToDart_EventTarget(type$.legacy_MouseEvent._as($event).target))); + }, + $signature: 40 + }; + U.DesignViewComponent_handle_keyboard_mouse_events_closure3.prototype = { + call$1: function($event) { + var t1, left_mouse_button_is_down, action, t2, displayed_group_name, group, helices_in_group, old_offset, t3, t4, svg_clicked_point_untransformed, range, min_offset, max_offset, closest_offset_unbounded, moves_store, msg, helix, geometry, offset, extensions_move_store, old_point, point, strands_move, group_names, can_paste, old_address, t5, visible_helices, address, domains_move, strand_creation, strand_creation_helix, svg_clicked_point, helix_svg_position, closest_point_in_helix_untransformed, updated_function_offset, _s2_ = ", "; + type$.legacy_MouseEvent._as($event); + t1 = $event.buttons; + if (typeof t1 !== "number") + return t1.$and(); + left_mouse_button_is_down = (t1 & 1) === 1; + t1 = this.$this; + t1.set$main_view_mouse_position(new P.Point($event.clientX, $event.clientY, type$.Point_num)); + if ($.app.store_potential_crossover._state != null) { + action = U._$PotentialCrossoverMove$_(E.transform_mouse_coord_to_svg_current_panzoom_correct_firefox($event, true, t1.main_view_svg)); + $.app.dispatch$1(U.ThrottledActionFast_ThrottledActionFast(action, 0.016666666666666666)); + } + t2 = $.app.store; + if (t2.get$state(t2).ui_state.storables.edit_modes._set.contains$1(0, C.EditModeChoice_rope_select)) { + t2 = $.app.store; + if (t2.get$state(t2).ui_state.selection_rope != null) + t2 = H.boolConversionCheck($event.ctrlKey) || H.boolConversionCheck($event.metaKey) || H.boolConversionCheck($event.shiftKey); + else + t2 = false; + } else + t2 = false; + if (t2) { + action = U._$SelectionRopeMouseMove$_(true, E.transform_mouse_coord_to_svg_current_panzoom_correct_firefox($event, true, t1.main_view_svg)); + $.app.dispatch$1(U.ThrottledActionFast_ThrottledActionFast(action, 0.016666666666666666)); + } + if (left_mouse_button_is_down) { + t2 = $.app.store; + t2 = t2.get$state(t2).ui_state.slice_bar_is_moving; + } else + t2 = false; + if (t2) { + t2 = $.app.store; + displayed_group_name = t2.get$state(t2).ui_state.storables.displayed_group_name; + t2 = $.app.store; + group = J.$index$asx(t2.get$state(t2).design.groups._map$_map, displayed_group_name); + t2 = $.app.store; + t2 = t2.get$state(t2).design.helices_in_group$1(displayed_group_name); + helices_in_group = t2.get$values(t2); + t2 = $.app.store; + old_offset = t2.get$state(t2).ui_state.storables.slice_bar_offset; + t2 = $.app.store; + t2 = t2.get$state(t2).design.geometry; + t3 = $.app.store; + t4 = J.getInterceptor$ax(helices_in_group); + t3 = J.$index$asx(t3.get$state(t3).get$helix_idx_to_svg_position_map()._map$_map, t4.get$first(helices_in_group).idx).x; + svg_clicked_point_untransformed = group.transform_point_main_view$3$inverse(E.svg_position_of_mouse_click($event), t2, true); + range = E.find_helix_group_min_max(helices_in_group); + min_offset = range.x; + max_offset = range.y; + closest_offset_unbounded = t4.get$first(helices_in_group).svg_x_to_offset$2(svg_clicked_point_untransformed.x, t3); + if (typeof max_offset !== "number") + return max_offset.$sub(); + t3 = Math.min(max_offset - 1, Math.max(closest_offset_unbounded, H.checkNum(min_offset))); + if (old_offset !== t3) + $.app.dispatch$1(U.SliceBarOffsetSet_SliceBarOffsetSet(t3)); + } + if (left_mouse_button_is_down) { + t2 = $.app; + moves_store = t2.store_dna_ends_move._state; + if (moves_store != null) { + t2 = t2.store; + t2 = t2.get$state(t2).design; + t3 = moves_store.__ends_moving; + if (t3 == null) { + t3 = B.DNAEndsMove.prototype.get$ends_moving.call(moves_store); + moves_store.set$__ends_moving(t3); + } + t2 = t2.group_names_of_ends$1(t3)._set; + if (t2.get$length(t2) !== 1) { + t2 = t2.join$1(0, _s2_); + msg = "Cannot move or copy DNA ends unless they are all on the same helix group.\nThe selected ends occupy the following helix groups: " + t2; + C.Window_methods.alert$1(window, msg); + } else { + helix = moves_store.helix; + t2 = $.app.store; + t2 = t2.get$state(t2).design.groups; + t3 = helix.group; + group = J.$index$asx(t2._map$_map, t3); + t3 = $.app.store; + geometry = t3.get$state(t3).design.geometry; + t3 = $.app.store; + offset = E.get_address_on_helix($event, helix, group, geometry, J.$index$asx(t3.get$state(t3).get$helix_idx_to_svg_position_map()._map$_map, helix.idx)).offset; + if (offset != moves_store.current_offset) + $.app.dispatch$1(U._$DNAEndsMoveAdjustOffset$_(offset)); + } + } + t2 = $.app; + extensions_move_store = t2.store_extensions_move._state; + if (extensions_move_store != null) { + t2 = t2.store; + t2 = t2.get$state(t2).design; + t3 = extensions_move_store._dna_extensions_move$__ends_moving; + if (t3 == null) { + t3 = K.DNAExtensionsMove.prototype.get$ends_moving.call(extensions_move_store); + extensions_move_store.set$_dna_extensions_move$__ends_moving(t3); + } + t2 = t2.group_names_of_ends$1(t3)._set; + if (t2.get$length(t2) !== 1) { + t1 = t2.join$1(0, _s2_); + msg = "Cannot move or copy DNA extensions unless they are all on the same helix group.\nThe selected ends occupy the following helix groups: " + t1; + C.Window_methods.alert$1(window, msg); + } else { + old_point = extensions_move_store.current_point; + point = E.transform_mouse_coord_to_svg_current_panzoom_correct_firefox($event, true, t1.main_view_svg); + if (!point.$eq(0, old_point)) + $.app.dispatch$1(U._$DNAExtensionsMoveAdjustPosition$_(point)); + } + } + } + t1 = $.app.store; + strands_move = t1.get$state(t1).ui_state.strands_move; + if (strands_move != null) { + t1 = !strands_move.copy; + if (!t1 || left_mouse_button_is_down) { + if (t1) { + t1 = $.app.store; + group_names = t1.get$state(t1).design.group_names_of_strands$1(strands_move.strands_moving); + t1 = group_names == null; + if (!t1) { + t2 = group_names._set; + t2 = t2.get$length(t2) !== 1; + } else + t2 = false; + if (t2) { + msg = "Cannot move or copy strands unless they are all on the same helix group.\nThese strands occupy the following helix groups: " + H.S(t1 ? null : group_names._set.join$1(0, _s2_)); + C.Window_methods.alert$1(window, msg); + can_paste = false; + } else + can_paste = true; + } else + can_paste = true; + if (can_paste) { + old_address = strands_move.current_address; + t1 = $.app.store; + if (t1.get$state(t1).ui_state.storables.only_display_selected_helices) { + t1 = H.setRuntimeTypeInfo([], type$.JSArray_legacy_Helix); + for (t2 = $.app.store, t2 = t2.get$state(t2).design.helices, t2 = J.get$iterator$ax(t2.get$values(t2)); t2.moveNext$0();) { + t3 = t2.get$current(t2); + t4 = $.app.store; + t4 = t4.get$state(t4).ui_state.storables.side_selected_helix_idxs; + t5 = t3.idx; + if (t4._set.contains$1(0, t5)) + t1.push(t3); + } + visible_helices = t1; + } else { + t1 = $.app.store; + t1 = t1.get$state(t1).design.helices; + visible_helices = t1.get$values(t1); + } + t1 = $.app.store; + t1 = t1.get$state(t1).design.groups; + t2 = $.app.store; + t2 = t2.get$state(t2).design.geometry; + t3 = $.app.store; + address = E.find_closest_address($event, visible_helices, t1, t2, t3.get$state(t3).get$helix_idx_to_svg_position_map()); + if (!address.$eq(0, old_address)) + $.app.dispatch$1(U._$StrandsMoveAdjustAddress$_(address)); + } + } + } + t1 = $.app.store; + domains_move = t1.get$state(t1).ui_state.domains_move; + if (domains_move != null) + if (left_mouse_button_is_down) { + t1 = $.app.store; + t1 = t1.get$state(t1).design.group_names_of_domains$1(domains_move.domains_moving)._set; + if (t1.get$length(t1) !== 1) { + t1 = t1.join$1(0, _s2_); + msg = "Cannot move or copy domains unless they are all on the same helix group.\nThese domains occupy the following helix groups: " + t1; + C.Window_methods.alert$1(window, msg); + } else { + old_address = domains_move.current_address; + t1 = $.app.store; + if (t1.get$state(t1).ui_state.storables.only_display_selected_helices) { + t1 = H.setRuntimeTypeInfo([], type$.JSArray_legacy_Helix); + for (t2 = $.app.store, t2 = t2.get$state(t2).design.helices, t2 = J.get$iterator$ax(t2.get$values(t2)); t2.moveNext$0();) { + t3 = t2.get$current(t2); + t4 = $.app.store; + t4 = t4.get$state(t4).ui_state.storables.side_selected_helix_idxs; + t5 = t3.idx; + if (t4._set.contains$1(0, t5)) + t1.push(t3); + } + visible_helices = t1; + } else { + t1 = $.app.store; + t1 = t1.get$state(t1).design.helices; + visible_helices = t1.get$values(t1); + } + t1 = $.app.store; + t1 = t1.get$state(t1).design.groups; + t2 = $.app.store; + t2 = t2.get$state(t2).design.geometry; + t3 = $.app.store; + address = E.find_closest_address($event, visible_helices, t1, t2, t3.get$state(t3).get$helix_idx_to_svg_position_map()); + if (!address.$eq(0, old_address)) + $.app.dispatch$1(U._$DomainsMoveAdjustAddress$_(address)); + } + } + t1 = $.app.store; + strand_creation = t1.get$state(t1).ui_state.strand_creation; + if (strand_creation != null) { + t1 = $.app.store; + t1 = t1.get$state(t1).design.groups; + t2 = strand_creation.helix; + t3 = t2.group; + group = J.$index$asx(t1._map$_map, t3); + t1 = $.app.store; + geometry = t1.get$state(t1).design.geometry; + t1 = $.app.store; + t1 = t1.get$state(t1).design.helices._map$_map; + t2 = t2.idx; + strand_creation_helix = J.$index$asx(t1, t2); + t1 = type$.legacy_String; + t4 = type$.legacy_HelixGroup; + t4 = A.BuiltMap_BuiltMap$of(P.LinkedHashMap_LinkedHashMap$_literal([t3, group], t1, t4), t1, t4); + t1 = $.app.store; + t3 = type$.legacy_int; + t5 = type$.legacy_Point_legacy_num; + t5 = A.BuiltMap_BuiltMap$of(P.LinkedHashMap_LinkedHashMap$_literal([t2, J.$index$asx(t1.get$state(t1).get$helix_idx_to_svg_position_map()._map$_map, t2)], t3, t5), t3, t5); + svg_clicked_point = E.svg_position_of_mouse_click($event); + t3 = strand_creation_helix.idx; + helix_svg_position = J.$index$asx(t5._map$_map, t3); + closest_point_in_helix_untransformed = J.$index$asx(t4._map$_map, strand_creation_helix.group).transform_point_main_view$3$inverse(svg_clicked_point, geometry, true); + offset = strand_creation_helix.svg_x_to_offset$2(closest_point_in_helix_untransformed.x, helix_svg_position.x); + updated_function_offset = Z._$Address$_(strand_creation_helix.svg_y_is_forward$2(closest_point_in_helix_untransformed.y, helix_svg_position.y), t3, offset); + $.app.dispatch$1(U._$StrandCreateAdjustOffset$_(updated_function_offset.offset)); + } + }, + $signature: 40 + }; + U.DesignViewComponent_handle_keyboard_mouse_events_closure4.prototype = { + call$1: function(ev) { + var t1, key; + type$.legacy_KeyboardEvent._as(ev); + t1 = J.getInterceptor$x(ev); + key = t1.get$which(ev); + if (!H.boolConversionCheck(t1.get$repeat(ev))) { + $.app.keys_pressed.add$1(0, key); + if (key === 27) { + t1 = $.app.store; + t1 = t1.get$state(t1).ui_state.selectables_store.selected_items._set; + if (t1.get$isNotEmpty(t1)) + $.app.dispatch$1(U.SelectionsClear_SelectionsClear()); + t1 = $.app.store; + t1 = t1.get$state(t1).ui_state.storables.side_selected_helix_idxs._set; + if (t1.get$isNotEmpty(t1)) + $.app.dispatch$1(U.HelixSelectionsClear_HelixSelectionsClear()); + t1 = $.app.store; + if (t1.get$state(t1).ui_state.potential_crossover_is_drawing) + $.app.dispatch$1(U._$PotentialCrossoverRemove__$PotentialCrossoverRemove()); + t1 = $.app.store; + if (t1.get$state(t1).ui_state.strands_move != null) + $.app.dispatch$1(U._$StrandsMoveStop__$StrandsMoveStop()); + t1 = $.app.store; + if (t1.get$state(t1).ui_state.domains_move != null) + $.app.dispatch$1(U._$DomainsMoveStop__$DomainsMoveStop()); + t1 = $.app.store; + if (t1.get$state(t1).ui_state.strand_creation != null) + $.app.dispatch$1(U._$StrandCreateStop__$StrandCreateStop()); + t1 = $.app.store; + if (t1.get$state(t1).ui_state.context_menu != null) + $.app.dispatch$1(U._$ContextMenuHide__$ContextMenuHide()); + t1 = $.app.store; + if (t1.get$state(t1).ui_state.dialog != null) + $.app.dispatch$1(U._$DialogHide__$DialogHide()); + t1 = $.app.store; + if (t1.get$state(t1).ui_state.selection_rope != null) + $.app.dispatch$1(new U._$SelectionRopeRemove()); + $.app.keyboard_shortcuts_enabled = true; + } else if ($.app.keyboard_shortcuts_enabled) + this.$this.handle_keyboard_shortcuts$2(key, ev); + } + }, + $signature: 54 + }; + U.DesignViewComponent_handle_keyboard_mouse_events_end_select_mode.prototype = { + call$0: function() { + var _i, svg_elt, rope, toggle, action_adjust, + t1 = this.$this; + t1.uninstall_draggable$2(true, C.DraggableComponent_0); + t1.uninstall_draggable$2(false, C.DraggableComponent_1); + for (t1 = [t1.main_view_svg, t1.side_view_svg], _i = 0; _i < 2; ++_i) { + svg_elt = t1[_i]; + new P.AttributeClassSet(svg_elt).add$1(0, "panzoomable"); + new P.AttributeClassSet(svg_elt).remove$1(0, "selection-box-drawable"); + } + t1 = $.app.store; + if (t1.get$state(t1).ui_state.storables.edit_modes._set.contains$1(0, C.EditModeChoice_rope_select)) { + rope = $.app.store_selection_rope._state; + if (rope != null) { + toggle = rope.toggle; + if (rope.is_main === true) { + t1 = J.get$length$asx(rope.points._list); + if (typeof t1 !== "number") + return t1.$ge(); + t1 = t1 >= 3; + } else + t1 = false; + if (t1) + action_adjust = U._$SelectionsAdjustMainView$_(false, toggle); + else + action_adjust = null; + if (action_adjust != null) + $.app.dispatch$1(action_adjust); + $.app.dispatch$1(new U._$SelectionRopeRemove()); + } + } + }, + $signature: 12 + }; + U.DesignViewComponent_handle_keyboard_mouse_events_closure5.prototype = { + call$1: function(_) { + return this.end_select_mode.call$0(); + }, + $signature: 55 + }; + U.DesignViewComponent_handle_keyboard_mouse_events_closure6.prototype = { + call$1: function(ev) { + var t1, + key = J.get$which$x(type$.legacy_KeyboardEvent._as(ev)); + $.app.keys_pressed.remove$1(0, key); + if (key === 17 || key == $.$get$KEY_CODE_TOGGLE_SELECT_MAC() || key === 16) + this.end_select_mode.call$0(); + if (key === 72) { + t1 = $.app.store; + if (t1.get$state(t1).ui_state.side_view_grid_position_mouse_cursor != null) + $.app.dispatch$1(U.MouseGridPositionSideClear_MouseGridPositionSideClear()); + t1 = $.app.store; + if (t1.get$state(t1).ui_state.side_view_position_mouse_cursor != null) + $.app.dispatch$1(U._$MousePositionSideClear__$MousePositionSideClear()); + } + }, + $signature: 54 + }; + U.DesignViewComponent_handle_keyboard_mouse_events_closure7.prototype = { + call$1: function($event) { + var left_click, t1, point; + type$.legacy_MouseEvent._as($event); + left_click = $event.button === 0; + t1 = $.app.store; + if (t1.get$state(t1).ui_state.selection_rope != null) + if (left_click) { + t1 = $.app.store; + t1 = t1.get$state(t1).ui_state.storables.edit_modes._set.contains$1(0, C.EditModeChoice_rope_select); + } else + t1 = false; + else + t1 = false; + if (t1) { + t1 = this.is_main_view; + point = E.transform_mouse_coord_to_svg_current_panzoom_correct_firefox($event, t1, this.svg_elt); + $.app.dispatch$1(U._$SelectionRopeAddPoint$_(t1, point)); + } + if (left_click) + new P.AttributeClassSet(this.svg_elt).add$1(0, "dragging"); + }, + $signature: 40 + }; + U.DesignViewComponent_handle_keyboard_mouse_events_closure8.prototype = { + call$1: function($event) { + if (type$.legacy_MouseEvent._as($event).button === 0) + new P.AttributeClassSet(this.svg_elt).remove$1(0, "dragging"); + }, + $signature: 40 + }; + U.DesignViewComponent_install_draggable_closure.prototype = { + call$1: function(ev) { + var toggle, + t1 = this.is_main_view, + $event = type$.legacy_MouseEvent._as(type$.legacy_DraggableEvent._as(ev).originalEvent), + point = E.transform_mouse_coord_to_svg_current_panzoom_correct_firefox($event, t1, this.view_svg), + t2 = $.app.store; + if (t2.get$state(t2).ui_state.storables.edit_modes._set.contains$1(0, C.EditModeChoice_select)) { + if (H.boolConversionCheck($event.ctrlKey) || H.boolConversionCheck($event.metaKey)) + toggle = true; + else + toggle = H.boolConversionCheck($event.shiftKey) ? false : null; + if (toggle != null) + $.app.dispatch$1(U.SelectionBoxCreate_SelectionBoxCreate(point, toggle, t1)); + } else { + if (t1) { + t1 = $.app.store; + t1 = t1.get$state(t1).ui_state.storables.edit_modes._set.contains$1(0, C.EditModeChoice_move_group); + } else + t1 = false; + if (t1) + $.app.dispatch$1(U._$HelixGroupMoveStart$_(point)); + } + return null; + }, + $signature: 84 + }; + U.DesignViewComponent_install_draggable_closure0.prototype = { + call$1: function(ev) { + var action, + t1 = this.is_main_view, + $event = type$.legacy_MouseEvent._as(type$.legacy_DraggableEvent._as(ev).originalEvent), + point = E.transform_mouse_coord_to_svg_current_panzoom_correct_firefox($event, t1, this.view_svg), + t2 = $.app.store; + if (t2.get$state(t2).ui_state.storables.edit_modes._set.contains$1(0, C.EditModeChoice_select)) { + if (H.boolConversionCheck($event.ctrlKey) || H.boolConversionCheck($event.metaKey) || H.boolConversionCheck($event.shiftKey)) { + action = U.SelectionBoxSizeChange_SelectionBoxSizeChange(point, t1); + $.app.dispatch$1(U.ThrottledActionFast_ThrottledActionFast(action, 0.016666666666666666)); + } + } else { + if (t1) { + t1 = $.app.store; + t1 = t1.get$state(t1).ui_state.storables.edit_modes._set.contains$1(0, C.EditModeChoice_move_group); + } else + t1 = false; + if (t1) + if (H.boolConversionCheck($event.ctrlKey) || H.boolConversionCheck($event.metaKey) || H.boolConversionCheck($event.shiftKey)) { + action = U._$HelixGroupMoveAdjustTranslation$_(point); + $.app.dispatch$1(U.ThrottledActionFast_ThrottledActionFast(action, 0.016666666666666666)); + } + } + return null; + }, + $signature: 84 + }; + U.DesignViewComponent_install_draggable_closure1.prototype = { + call$1: function(ev) { + return this.$this.drag_end$3(type$.legacy_DraggableEvent._as(ev), this.view_svg, this.is_main_view); + }, + $signature: 84 + }; + U.paste_strands_manually_closure.prototype = { + call$1: function($content) { + H._asStringS($content); + if ($content != null && $content.length !== 0) + $.app.dispatch$1(U.ManualPasteInitiate_ManualPasteInitiate($content)); + }, + $signature: 138 + }; + U.paste_strands_auto_closure.prototype = { + call$1: function($content) { + H._asStringS($content); + if ($content != null && $content.length !== 0) + $.app.dispatch$1(U.AutoPasteInitiate_AutoPasteInitiate($content)); + }, + $signature: 138 + }; + S.ConnectedDesignContextMenu_closure.prototype = { + call$1: function(state) { + var t1, t2; + type$.legacy_AppState._as(state); + t1 = S.design_context_menu___$DesignContextMenu$closure().call$0(); + t2 = state.ui_state.context_menu; + t1.toString; + J.$indexSet$ax(J.get$props$x(t1), "DesignContextMenuProps.context_menu", t2); + return t1; + }, + $signature: 407 + }; + S.DesignContextMenuProps.prototype = {$isMap: 1, $isUiProps0: 1, $isUiProps: 1}; + S.DesignContextMenuState.prototype = {$isMap: 1}; + S.DesignContextMenuComponent.prototype = { + get$initialState: function() { + var t2, + t1 = this.typedStateFactoryJs$1(new L.JsBackedMap({})); + t1.set$width(0, 0); + t1.set$height(0, 0); + t2 = type$.legacy_Ref_legacy_DivElement._as(new K.Ref(self.React.createRef(), type$.Ref_legacy_DivElement)); + t1.get$state(t1).$indexSet(0, string$.DesignCM, t2); + return t1; + }, + componentDidUpdate$3: function(_, prev_state, __) { + var t2, _this = this, + t_prev_state = S._$$DesignContextMenuState__$$DesignContextMenuState(prev_state), + t1 = _this._design_context_menu$_cachedTypedState.get$menu_HTML_element_ref(); + if (t1.get$current(t1) != null) { + t1 = _this._design_context_menu$_cachedTypedState.get$menu_HTML_element_ref(); + t1 = C.JSNumber_methods.round$0(t1.get$current(t1).offsetWidth) !== t_prev_state.get$width(t_prev_state); + } else + t1 = false; + if (t1) { + t1 = _this.typedStateFactoryJs$1(new L.JsBackedMap({})); + t2 = _this._design_context_menu$_cachedTypedState.get$menu_HTML_element_ref(); + t1.set$width(0, C.JSNumber_methods.round$0(t2.get$current(t2).offsetWidth)); + t2 = _this._design_context_menu$_cachedTypedState.get$menu_HTML_element_ref(); + t1.set$height(0, C.JSNumber_methods.round$0(t2.get$current(t2).offsetHeight)); + _this.setState$1(0, t1); + } + }, + render$0: function(_) { + var left, $top, t1, t2, _this = this, + _s12_ = "context-menu"; + if (_this._design_context_menu$_cachedTypedProps.get$context_menu() == null) + return null; + left = H._asIntS(_this._design_context_menu$_cachedTypedProps.get$context_menu().position.x); + $top = H._asIntS(_this._design_context_menu$_cachedTypedProps.get$context_menu().position.y); + t1 = _this._design_context_menu$_cachedTypedState; + t1 = t1.get$width(t1); + if (typeof left !== "number") + return left.$add(); + if (typeof t1 !== "number") + return H.iae(t1); + t2 = window.innerWidth; + if (typeof t2 !== "number") + return H.iae(t2); + if (left + t1 > t2) { + t1 = _this._design_context_menu$_cachedTypedState; + t1 = t1.get$width(t1); + if (typeof t1 !== "number") + return H.iae(t1); + t2 = window.innerWidth; + if (typeof t2 !== "number") + return H.iae(t2); + left -= left + t1 - t2 + 20; + } + t1 = _this._design_context_menu$_cachedTypedState; + t1 = t1.get$height(t1); + if (typeof $top !== "number") + return $top.$add(); + if (typeof t1 !== "number") + return H.iae(t1); + t2 = window.innerHeight; + if (typeof t2 !== "number") + return H.iae(t2); + if ($top + t1 > t2) { + t1 = _this._design_context_menu$_cachedTypedState; + t1 = t1.get$height(t1); + if (typeof t1 !== "number") + return H.iae(t1); + t2 = window.innerHeight; + if (typeof t2 !== "number") + return H.iae(t2); + $top -= $top + t1 - t2 + 20; + } + t1 = A.DomProps$($.$get$div(), null); + t1.set$ref(0, _this._design_context_menu$_cachedTypedState.get$menu_HTML_element_ref()); + t1.set$className(0, _s12_); + t1.set$id(0, _s12_); + t1.set$_raw$DomProps$style(type$.legacy_Map_of_legacy_String_and_dynamic._as(P.LinkedHashMap_LinkedHashMap$_literal(["left", left, "top", $top], type$.legacy_String, type$.dynamic))); + return t1.call$1(S.context_menu_to_ul(_this._design_context_menu$_cachedTypedProps.get$context_menu())); + } + }; + S.DesignContextSubmenuProps.prototype = {$isMap: 1, $isUiProps0: 1, $isUiProps: 1}; + S.DesignContextSubmenuState.prototype = {$isMap: 1}; + S.DesignContextSubmenuComponent.prototype = { + get$initialState: function() { + var t2, + t1 = this.typedStateFactoryJs$1(new L.JsBackedMap({})); + t1.set$width(0, 0); + t1.set$height(0, 0); + t1.set$left(0, 0); + t1.set$top(0, 0); + t2 = type$.legacy_Ref_legacy_DivElement._as(new K.Ref(self.React.createRef(), type$.Ref_legacy_DivElement)); + t1._design_context_menu$_state.jsObject[string$.DesignCS] = F.DartValueWrapper_wrapIfNeeded(t2); + return t1; + }, + componentDidMount$0: function() { + this.reset_submenu_bounding_box$0(); + }, + componentDidUpdate$3: function(prev_props, _, __) { + var t1, _this = this; + if (!S._$$DesignContextSubmenuProps__$$DesignContextSubmenuProps(prev_props).get$context_menu().position.$eq(0, _this._design_context_menu$_cachedTypedProps.get$context_menu().position)) { + t1 = _this.typedStateFactoryJs$1(new L.JsBackedMap({})); + t1.set$width(0, 0); + t1.set$height(0, 0); + _this.setState$1(0, t1); + } else { + t1 = _this._design_context_menu$_cachedTypedState; + if (t1.get$width(t1) === 0) + _this.reset_submenu_bounding_box$0(); + } + }, + reset_submenu_bounding_box$0: function() { + var _this = this, + t1 = _this.typedStateFactoryJs$1(new L.JsBackedMap({})), + t2 = _this._design_context_menu$_cachedTypedState.get$submenu_HTML_element_ref(); + t1.set$width(0, C.JSNumber_methods.round$0(t2.get$current(t2).offsetWidth)); + t2 = _this._design_context_menu$_cachedTypedState.get$submenu_HTML_element_ref(); + t1.set$height(0, C.JSNumber_methods.round$0(t2.get$current(t2).offsetHeight)); + t2 = _this._design_context_menu$_cachedTypedState.get$submenu_HTML_element_ref(); + t2 = J.getBoundingClientRect$0$x(t2.get$current(t2)).left; + t2.toString; + t1.set$left(0, t2); + t2 = _this._design_context_menu$_cachedTypedState.get$submenu_HTML_element_ref(); + t2 = J.getBoundingClientRect$0$x(t2.get$current(t2)).top; + t2.toString; + t1.set$top(0, t2); + _this.setState$1(0, t1); + }, + render$0: function(_) { + var t5, t6, _this = this, _null = null, + t1 = type$.JSArray_legacy_String, + t2 = H.setRuntimeTypeInfo(["context-menu"], t1), + t3 = _this._design_context_menu$_cachedTypedState, + t4 = F.DartValueWrapper_unwrapIfNeeded(t3._design_context_menu$_state.jsObject["DesignContextSubmenuState.left"]); + t4 = H._asNumS(t4 == null ? _null : t4); + t3 = t3.get$width(t3); + if (typeof t4 !== "number") + return t4.$add(); + if (typeof t3 !== "number") + return H.iae(t3); + t5 = window.innerWidth; + if (typeof t5 !== "number") + return H.iae(t5); + t3 = t4 + t3 > t5 ? "left" : "right"; + t4 = _this._design_context_menu$_cachedTypedState._design_context_menu$_state.jsObject; + t5 = F.DartValueWrapper_unwrapIfNeeded(t4["DesignContextSubmenuState.top"]); + t5 = H._asNumS(t5 == null ? _null : t5); + t4 = F.DartValueWrapper_unwrapIfNeeded(t4["DesignContextSubmenuState.height"]); + t4 = H._asNumS(t4 == null ? _null : t4); + if (typeof t5 !== "number") + return t5.$add(); + if (typeof t4 !== "number") + return H.iae(t4); + t6 = window.innerHeight; + if (typeof t6 !== "number") + return H.iae(t6); + C.JSArray_methods.addAll$1(t2, H.setRuntimeTypeInfo([t3, t5 + t4 > t6 ? "top" : "bottom"], t1)); + t1 = A.DomProps$($.$get$div(), _null); + t1.set$ref(0, _this._design_context_menu$_cachedTypedState.get$submenu_HTML_element_ref()); + t1.set$className(0, C.JSArray_methods.join$1(t2, " ")); + t1.set$id(0, "context-menu"); + return t1.call$1(S.context_menu_to_ul(_this._design_context_menu$_cachedTypedProps.get$context_menu())); + } + }; + S.context_menu_to_ul_closure.prototype = { + call$1: function(_) { + type$.legacy_SyntheticMouseEvent._as(_); + $.app.dispatch$1(U._$ContextMenuHide__$ContextMenuHide()); + this.item.on_click.call$0(); + }, + $signature: 17 + }; + S.$DesignContextMenuComponentFactory_closure.prototype = { + call$0: function() { + return new S._$DesignContextMenuComponent(null); + }, + "call*": "call$0", + $requiredArgCount: 0, + $signature: 409 + }; + S._$$DesignContextMenuProps.prototype = { + get$$$isClassGenerated: function() { + return true; + }, + get$componentFactory: function() { + var t1 = this.componentFactory; + return t1 == null ? $.$get$$DesignContextMenuComponentFactory() : t1; + } + }; + S._$$DesignContextMenuProps$PlainMap.prototype = { + get$props: function(_) { + return this._design_context_menu$_props; + } + }; + S._$$DesignContextMenuProps$JsMap.prototype = { + get$props: function(_) { + return this._design_context_menu$_props; + } + }; + S._$$DesignContextMenuState.prototype = { + get$$$isClassGenerated: function() { + return true; + } + }; + S._$$DesignContextMenuState$JsMap.prototype = { + get$state: function(_) { + return this._design_context_menu$_state; + } + }; + S._$DesignContextMenuComponent.prototype = { + get$props: function(_) { + return this._design_context_menu$_cachedTypedProps; + }, + set$props: function(_, value) { + this.props = value; + this._design_context_menu$_cachedTypedProps = S._$$DesignContextMenuProps$JsMap$(R.getBackingMap(value)); + }, + get$state: function(_) { + return this._design_context_menu$_cachedTypedState; + }, + set$state: function(_, value) { + this.state = value; + this._design_context_menu$_cachedTypedState = S._$$DesignContextMenuState$JsMap$(value); + }, + typedStateFactoryJs$1: function(backingMap) { + return S._$$DesignContextMenuState$JsMap$(backingMap); + }, + get$displayName: function(_) { + return "DesignContextMenu"; + }, + get$$$defaultConsumedProps: function() { + return C.Map_MC6L0.get$values(C.Map_MC6L0); + } + }; + S.$DesignContextSubmenuComponentFactory_closure.prototype = { + call$0: function() { + return new S._$DesignContextSubmenuComponent(null); + }, + "call*": "call$0", + $requiredArgCount: 0, + $signature: 410 + }; + S._$$DesignContextSubmenuProps.prototype = { + get$$$isClassGenerated: function() { + return true; + }, + get$componentFactory: function() { + var t1 = this.componentFactory; + return t1 == null ? $.$get$$DesignContextSubmenuComponentFactory() : t1; + } + }; + S._$$DesignContextSubmenuProps$PlainMap.prototype = { + get$props: function(_) { + return this._design_context_menu$_props; + } + }; + S._$$DesignContextSubmenuProps$JsMap.prototype = { + get$props: function(_) { + return this._design_context_menu$_props; + } + }; + S._$$DesignContextSubmenuState.prototype = { + get$$$isClassGenerated: function() { + return true; + } + }; + S._$$DesignContextSubmenuState$JsMap.prototype = { + get$state: function(_) { + return this._design_context_menu$_state; + } + }; + S._$DesignContextSubmenuComponent.prototype = { + get$props: function(_) { + return this._design_context_menu$_cachedTypedProps; + }, + set$props: function(_, value) { + this.props = value; + this._design_context_menu$_cachedTypedProps = S._$$DesignContextSubmenuProps$JsMap$(R.getBackingMap(value)); + }, + get$state: function(_) { + return this._design_context_menu$_cachedTypedState; + }, + set$state: function(_, value) { + this.state = value; + this._design_context_menu$_cachedTypedState = S._$$DesignContextSubmenuState$JsMap$(value); + }, + typedStateFactoryJs$1: function(backingMap) { + var _null = null, + t1 = new S._$$DesignContextSubmenuState$JsMap(new L.JsBackedMap({}), _null, _null, _null, _null, _null); + t1.get$$$isClassGenerated(); + t1._design_context_menu$_state = backingMap; + return t1; + }, + get$displayName: function(_) { + return "DesignContextSubmenu"; + }, + get$$$defaultConsumedProps: function() { + return C.Map_5a3n5.get$values(C.Map_5a3n5); + } + }; + S.$DesignContextMenuProps.prototype = { + get$context_menu: function() { + var t1 = J.$index$asx(this.get$props(this), "DesignContextMenuProps.context_menu"); + if (t1 == null) + t1 = null; + return type$.legacy_ContextMenu._as(t1); + } + }; + S.$DesignContextSubmenuProps.prototype = { + get$context_menu: function() { + var t1 = J.$index$asx(this.get$props(this), "DesignContextSubmenuProps.context_menu"); + if (t1 == null) + t1 = null; + return type$.legacy_ContextMenu._as(t1); + } + }; + S.$DesignContextMenuState.prototype = { + get$width: function(_) { + var t1 = this.get$state(this).$index(0, "DesignContextMenuState.width"); + return H._asIntS(t1 == null ? null : t1); + }, + set$width: function(_, value) { + this.get$state(this).$indexSet(0, "DesignContextMenuState.width", value); + }, + get$height: function(_) { + var t1 = this.get$state(this).$index(0, "DesignContextMenuState.height"); + return H._asIntS(t1 == null ? null : t1); + }, + set$height: function(_, value) { + this.get$state(this).$indexSet(0, "DesignContextMenuState.height", value); + }, + get$menu_HTML_element_ref: function() { + var t1 = this.get$state(this).$index(0, string$.DesignCM); + if (t1 == null) + t1 = null; + return type$.legacy_Ref_legacy_DivElement._as(t1); + } + }; + S.$DesignContextSubmenuState.prototype = { + get$width: function(_) { + var t1 = F.DartValueWrapper_unwrapIfNeeded(this._design_context_menu$_state.jsObject["DesignContextSubmenuState.width"]); + return H._asNumS(t1 == null ? null : t1); + }, + set$width: function(_, value) { + this._design_context_menu$_state.jsObject["DesignContextSubmenuState.width"] = F.DartValueWrapper_wrapIfNeeded(value); + }, + set$height: function(_, value) { + this._design_context_menu$_state.jsObject["DesignContextSubmenuState.height"] = F.DartValueWrapper_wrapIfNeeded(value); + }, + set$left: function(_, value) { + this._design_context_menu$_state.jsObject["DesignContextSubmenuState.left"] = F.DartValueWrapper_wrapIfNeeded(value); + }, + set$top: function(_, value) { + this._design_context_menu$_state.jsObject["DesignContextSubmenuState.top"] = F.DartValueWrapper_wrapIfNeeded(value); + }, + get$submenu_HTML_element_ref: function() { + var t1 = F.DartValueWrapper_unwrapIfNeeded(this._design_context_menu$_state.jsObject[string$.DesignCS]); + if (t1 == null) + t1 = null; + return type$.legacy_Ref_legacy_DivElement._as(t1); + } + }; + S._DesignContextMenuComponent_UiStatefulComponent2_PureComponent.prototype = {}; + S._DesignContextSubmenuComponent_UiStatefulComponent2_PureComponent.prototype = {}; + S.__$$DesignContextMenuProps_UiProps_DesignContextMenuProps.prototype = {}; + S.__$$DesignContextMenuProps_UiProps_DesignContextMenuProps_$DesignContextMenuProps.prototype = {}; + S.__$$DesignContextMenuState_UiState_DesignContextMenuState.prototype = {}; + S.__$$DesignContextMenuState_UiState_DesignContextMenuState_$DesignContextMenuState.prototype = {}; + S.__$$DesignContextSubmenuProps_UiProps_DesignContextSubmenuProps.prototype = {}; + S.__$$DesignContextSubmenuProps_UiProps_DesignContextSubmenuProps_$DesignContextSubmenuProps.prototype = {}; + S.__$$DesignContextSubmenuState_UiState_DesignContextSubmenuState.prototype = {}; + S.__$$DesignContextSubmenuState_UiState_DesignContextSubmenuState_$DesignContextSubmenuState.prototype = {}; + S.ConnectedDesignDialogForm_closure.prototype = { + call$1: function(state) { + var t1, t2; + type$.legacy_AppState._as(state); + t1 = S.design_dialog_form___$DesignDialogForm$closure().call$0(); + t2 = state.ui_state.dialog; + t1.toString; + J.$indexSet$ax(J.get$props$x(t1), "DesignDialogFormProps.dialog", t2); + return t1; + }, + $signature: 411 + }; + S.DesignDialogFormProps.prototype = {$isMap: 1, $isUiProps0: 1, $isUiProps: 1}; + S.DesignDialogFormState.prototype = {$isMap: 1}; + S.DesignDialogFormComponent.prototype = { + get$initialState: function() { + var t1 = this.typedStateFactoryJs$1(new L.JsBackedMap({})); + t1.set$current_responses(null); + t1.set$dialog_type(null); + t1.set$saved_responses(A.BuiltMap_BuiltMap(C.Map_empty, type$.legacy_DialogType, type$.legacy_BuiltList_legacy_DialogItem)); + return t1; + }, + getDerivedStateFromProps$2: function(nextPropsUntyped, prevStateUntyped) { + var dialog_type, t1, t2, t3, + new_props = S._$$DesignDialogFormProps__$$DesignDialogFormProps(nextPropsUntyped), + prev_state = S._$$DesignDialogFormState__$$DesignDialogFormState(prevStateUntyped); + if (new_props.get$dialog() != null) + if (prev_state.get$current_responses() == null) { + dialog_type = new_props.get$dialog().type; + t1 = this.typedStateFactoryJs$1(new L.JsBackedMap({})); + if (J.containsKey$1$x(prev_state.get$saved_responses()._map$_map, dialog_type) && new_props.get$dialog().use_saved_response) { + t2 = new_props.get$dialog(); + t3 = J.$index$asx(prev_state.get$saved_responses()._map$_map, dialog_type); + t3 = t2.process_saved_response.call$1(t3); + t2 = t3; + } else + t2 = new_props.get$dialog().items; + t1.set$current_responses(type$.legacy_BuiltList_legacy_DialogItem._as(t2)); + t1.set$dialog_type(new_props.get$dialog().type); + t1.set$saved_responses(prev_state.get$saved_responses()); + return t1; + } else + return prevStateUntyped; + else if (prev_state.get$current_responses() != null) { + t1 = this.typedStateFactoryJs$1(new L.JsBackedMap({})); + t1.set$current_responses(null); + t1.set$dialog_type(null); + t1.set$saved_responses(prev_state.get$saved_responses().rebuild$1(new S.DesignDialogFormComponent_getDerivedStateFromProps_closure(prev_state))); + return t1; + } else + return prevStateUntyped; + }, + render$0: function(_) { + var t1, components, t2, t3, t4, t5, t6, component_idx, t7, t8, radio_idx_maps, t9, t10, disabled, t11, forbidden_values, t12, radio, selected_value, component_idx0, _this = this, _null = null, + _s28_ = "DesignDialogFormProps.dialog", + _s39_ = "DesignDialogFormState.current_responses", + _s11_ = "dialog-form", + _s16_ = "dialog-form-form", + _s17_ = "dialog-form-title", + _s13_ = "dialog-button"; + if (_this._design_dialog_form$_cachedTypedProps.get$dialog() == null || _this._design_dialog_form$_cachedTypedState.get$current_responses() == null) + return _null; + t1 = type$.JSArray_legacy_ReactElement; + components = H.setRuntimeTypeInfo([], t1); + for (t2 = J.get$iterator$ax(_this._design_dialog_form$_cachedTypedState.get$current_responses()._list), t3 = type$.legacy_Dialog, t4 = type$.legacy_BuiltList_legacy_DialogItem, t5 = type$.legacy_DialogRadio, t6 = type$.legacy_DialogCheckbox, component_idx = 0; t2.moveNext$0(); component_idx = component_idx0) { + t7 = t2.get$current(t2); + t8 = _this._design_dialog_form$_cachedTypedProps; + t8 = t8.get$props(t8).$index(0, _s28_); + if (J.containsKey$1$x(t3._as(t8 == null ? _null : t8).disable_when_any_radio_button_selected._map$_map, component_idx)) { + t8 = _this._design_dialog_form$_cachedTypedProps; + t8 = t8.get$props(t8).$index(0, _s28_); + radio_idx_maps = J.$index$asx(t3._as(t8 == null ? _null : t8).disable_when_any_radio_button_selected._map$_map, component_idx); + if (radio_idx_maps._keys == null) + radio_idx_maps.set$_keys(J.get$keys$x(radio_idx_maps._map$_map)); + t8 = radio_idx_maps._keys; + t8.toString; + t8 = J.get$iterator$ax(t8); + t9 = radio_idx_maps._map$_map; + t10 = J.getInterceptor$asx(t9); + while (true) { + if (!t8.moveNext$0()) { + disabled = false; + break; + } + t11 = t8.get$current(t8); + forbidden_values = t10.$index(t9, t11); + t12 = _this._design_dialog_form$_cachedTypedState; + t12 = t12.get$state(t12).$index(0, _s39_); + radio = t5._as(J.$index$asx(t4._as(t12 == null ? _null : t12)._list, t11)); + t11 = radio.options; + t12 = radio.selected_idx; + selected_value = J.$index$asx(t11._list, t12); + if (J.contains$1$asx(forbidden_values._list, selected_value)) { + disabled = true; + break; + } + } + } else + disabled = false; + t8 = _this._design_dialog_form$_cachedTypedProps; + t8 = t8.get$props(t8).$index(0, _s28_); + if (J.containsKey$1$x(t3._as(t8 == null ? _null : t8).disable_when_any_checkboxes_off._map$_map, component_idx)) { + t8 = _this._design_dialog_form$_cachedTypedProps; + t8 = t8.get$props(t8).$index(0, _s28_); + for (t8 = J.get$iterator$ax(J.$index$asx(t3._as(t8 == null ? _null : t8).disable_when_any_checkboxes_off._map$_map, component_idx)._list); t8.moveNext$0();) { + t9 = t8.get$current(t8); + t10 = _this._design_dialog_form$_cachedTypedState; + t10 = t10.get$state(t10).$index(0, _s39_); + if (!t6._as(J.$index$asx(t4._as(t10 == null ? _null : t10)._list, t9)).value) { + disabled = true; + break; + } + } + } + t8 = _this._design_dialog_form$_cachedTypedProps; + t8 = t8.get$props(t8).$index(0, _s28_); + if (J.containsKey$1$x(t3._as(t8 == null ? _null : t8).disable_when_any_checkboxes_on._map$_map, component_idx)) { + t8 = _this._design_dialog_form$_cachedTypedProps; + t8 = t8.get$props(t8).$index(0, _s28_); + for (t8 = J.get$iterator$ax(J.$index$asx(t3._as(t8 == null ? _null : t8).disable_when_any_checkboxes_on._map$_map, component_idx)._list); t8.moveNext$0();) { + t9 = t8.get$current(t8); + t10 = _this._design_dialog_form$_cachedTypedState; + t10 = t10.get$state(t10).$index(0, _s39_); + if (t6._as(J.$index$asx(t4._as(t10 == null ? _null : t10)._list, t9)).value) { + disabled = true; + break; + } + } + } + t8 = _this._design_dialog_form$_cachedTypedProps; + t8 = t8.get$props(t8).$index(0, _s28_); + if (J.contains$1$asx(t3._as(t8 == null ? _null : t8).disable._list, component_idx)) + disabled = true; + t8 = $.$get$div(); + t9 = {}; + t9 = new L.JsBackedMap(t9); + t8 = new A.DomProps(t8, t9, _null, _null); + t8.get$$$isClassGenerated(); + t9.jsObject.className = F.DartValueWrapper_wrapIfNeeded("dialog-form-item"); + t10 = t7.get$label(t7); + t9.$indexSet(0, "key", t10); + component_idx0 = component_idx + 1; + C.JSArray_methods.add$1(components, t8.call$1(_this.dialog_for$3(t7, component_idx, disabled))); + } + t2 = A.DomProps$($.$get$div(), _null); + t2.set$className(0, _s11_); + t2.set$id(0, _s11_); + t3 = A.DomProps$($.$get$form(), _null); + t3.set$onSubmit(0, _this.get$submit_form()); + t3.set$id(0, _s16_); + t3.set$className(0, _s16_); + t4 = A.DomProps$($.$get$p(), _null); + t4.set$className(0, _s17_); + t4.set$key(0, _s17_); + t1 = H.setRuntimeTypeInfo([t4.call$1(_this._design_dialog_form$_cachedTypedProps.get$dialog().title)], t1); + C.JSArray_methods.addAll$1(t1, components); + t4 = A.DomProps$($.$get$span(), _null); + t4.set$className(0, "dialog-buttons"); + t4.set$key(0, "buttons"); + t5 = A.DomProps$($.$get$input(), _null); + t5.set$type(0, "submit"); + t5.set$value(0, "OK"); + t5.set$className(0, _s13_); + t5 = t5.call$0(); + t6 = A.DomProps$($.$get$button(), _null); + t6.set$onClick(0, new S.DesignDialogFormComponent_render_closure(_this)); + t6.set$className(0, _s13_); + t1.push(t4.call$2(t5, t6.call$1("Cancel"))); + return t2.call$1(t3.call$1(t1)); + }, + dialog_for$3: function(item, dialog_item_idx, disabled) { + var t1, t2, t3, t4, components, t5, t6, radio_idx, i, t7, option, option_tooltip, t8, t9, _this = this, _null = null, _s3_ = "key", + _s10_ = "radio-left"; + if (item instanceof E.DialogCheckbox) { + t1 = A.DomProps$($.$get$label(), _null); + t2 = item.tooltip; + t1.set$title(0, t2 == null ? "" : t2); + t2 = A.DomProps$($.$get$input(), _null); + t2.set$type(0, "checkbox"); + t2.set$disabled(0, disabled); + t2.set$checked(0, item.value); + t2.set$onChange(0, new S.DesignDialogFormComponent_dialog_for_closure(_this, dialog_item_idx)); + return t1.call$2(t2.call$0(), item.label); + } else if (item instanceof E.DialogText) { + t1 = A.DomProps$($.$get$label(), _null); + t2 = item.tooltip; + t1.set$title(0, t2 == null ? "" : t2); + t2 = item.label + ": "; + t3 = A.DomProps$($.$get$input(), _null); + t3.set$type(0, "text"); + t3.set$disabled(0, disabled); + t3.set$value(0, item.value); + t3.props.jsObject.size = F.DartValueWrapper_wrapIfNeeded(item.size); + t3.set$onChange(0, new S.DesignDialogFormComponent_dialog_for_closure0(_this, dialog_item_idx)); + return t1.call$2(t2, t3.call$0()); + } else if (item instanceof E.DialogTextArea) { + t1 = A.DomProps$($.$get$label(), _null); + t2 = item.tooltip; + t1.set$title(0, t2 == null ? "" : t2); + t2 = item.label + ": "; + t3 = A.DomProps$($.$get$textarea(), _null); + t4 = t3.props.jsObject; + t4.form = F.DartValueWrapper_wrapIfNeeded("dialog-form-form"); + t3.set$disabled(0, disabled); + t3.set$value(0, item.value); + t4.rows = F.DartValueWrapper_wrapIfNeeded(item.rows); + t4.cols = F.DartValueWrapper_wrapIfNeeded(item.cols); + t3.set$onChange(0, new S.DesignDialogFormComponent_dialog_for_closure1(_this, dialog_item_idx)); + return t1.call$2(t2, t3.call$0()); + } else if (item instanceof E.DialogInteger) { + t1 = A.DomProps$($.$get$label(), _null); + t2 = item.tooltip; + t1.set$title(0, t2 == null ? "" : t2); + t2 = item.label + ": "; + t3 = A.DomProps$($.$get$input(), _null); + t3.set$type(0, "number"); + t3.set$disabled(0, disabled); + t3.set$pattern(0, "-?\\d+"); + t3.set$value(0, item.value); + t3.set$onChange(0, new S.DesignDialogFormComponent_dialog_for_closure2(_this, dialog_item_idx)); + return t1.call$2(t2, t3.call$0()); + } else if (item instanceof E.DialogFloat) { + t1 = A.DomProps$($.$get$label(), _null); + t2 = item.tooltip; + t1.set$title(0, t2 == null ? "" : t2); + t2 = item.label + ": "; + t3 = A.DomProps$($.$get$input(), _null); + t3.set$type(0, "number"); + t3.set$disabled(0, disabled); + t3.set$pattern(0, "[+-]?(\\d*[.])?\\d+"); + t3.set$value(0, item.value); + t3.set$step(0, "any"); + t3.set$onChange(0, new S.DesignDialogFormComponent_dialog_for_closure3(_this, dialog_item_idx)); + return t1.call$2(t2, t3.call$0()); + } else { + t1 = item instanceof E.DialogRadio; + if (t1 && item.radio) { + components = H.setRuntimeTypeInfo([], type$.JSArray_legacy_ReactElement); + t1 = item.options._list; + t2 = J.getInterceptor$asx(t1); + t3 = item.label; + t4 = item.selected_idx; + t5 = type$.legacy_dynamic_Function_legacy_SyntheticFormEvent; + t6 = item.option_tooltips; + radio_idx = 0; + i = 0; + while (true) { + t7 = t2.get$length(t1); + if (typeof t7 !== "number") + return H.iae(t7); + if (!(i < t7)) + break; + option = t2.$index(t1, i); + option_tooltip = J.$index$asx(t6._list, i); + t7 = $.$get$br(); + t8 = {}; + t8 = new L.JsBackedMap(t8); + t7 = new A.DomProps(t7, t8, _null, _null); + t7.get$$$isClassGenerated(); + t9 = "br-" + radio_idx; + t8.$indexSet(0, _s3_, t9); + C.JSArray_methods.add$1(components, t7.call$0()); + t7 = $.$get$input(); + t8 = {}; + t8 = new L.JsBackedMap(t8); + t7 = new A.DomProps(t7, t8, _null, _null); + t7.get$$$isClassGenerated(); + t9 = t8.jsObject; + t9.type = F.DartValueWrapper_wrapIfNeeded("radio"); + t9.id = F.DartValueWrapper_wrapIfNeeded("radio-" + t3 + "-" + radio_idx); + t9.disabled = F.DartValueWrapper_wrapIfNeeded(disabled); + t9.name = F.DartValueWrapper_wrapIfNeeded(t3); + t9.checked = F.DartValueWrapper_wrapIfNeeded(t4 === radio_idx); + t9.value = F.DartValueWrapper_wrapIfNeeded(option); + t9.onChange = F.DartValueWrapper_wrapIfNeeded(t5._as(new S.DesignDialogFormComponent_dialog_for_closure4(_this, item, dialog_item_idx))); + t9 = "" + radio_idx; + t8.$indexSet(0, _s3_, t9); + C.JSArray_methods.add$1(components, t7.call$0()); + t7 = $.$get$label(); + t8 = {}; + t8 = new L.JsBackedMap(t8); + t7 = new A.DomProps(t7, t8, _null, _null); + t7.get$$$isClassGenerated(); + t9 = "label-" + radio_idx; + t8.$indexSet(0, _s3_, t9); + t8.jsObject.title = F.DartValueWrapper_wrapIfNeeded(option_tooltip == null ? "" : option_tooltip); + C.JSArray_methods.add$1(components, t7.call$1(option)); + ++radio_idx; + ++i; + } + t1 = A.DomProps$($.$get$div(), _null); + t1.set$className(0, _s10_); + t2 = A.DomProps$($.$get$label(), _null); + t2.set$title(0, item.tooltip); + return t1.call$2(t2.call$1(t3 + ":"), components); + } else if (t1 && !item.radio) { + components = H.setRuntimeTypeInfo([], type$.JSArray_legacy_ReactElement); + t1 = item.options._list; + t2 = J.getInterceptor$asx(t1); + t3 = item.label; + t4 = type$.legacy_dynamic_Function_legacy_SyntheticFormEvent; + t5 = item.option_tooltips; + radio_idx = 0; + i = 0; + while (true) { + t6 = t2.get$length(t1); + if (typeof t6 !== "number") + return H.iae(t6); + if (!(i < t6)) + break; + option = t2.$index(t1, i); + option_tooltip = J.$index$asx(t5._list, i); + t6 = $.$get$option(); + t7 = {}; + t7 = new L.JsBackedMap(t7); + t6 = new A.DomProps(t6, t7, _null, _null); + t6.get$$$isClassGenerated(); + t8 = t7.jsObject; + t8.id = F.DartValueWrapper_wrapIfNeeded("radio-" + radio_idx); + t8.disabled = F.DartValueWrapper_wrapIfNeeded(disabled); + t8.name = F.DartValueWrapper_wrapIfNeeded(t3); + t8.title = F.DartValueWrapper_wrapIfNeeded(option_tooltip); + t8.value = F.DartValueWrapper_wrapIfNeeded(option); + t8.onChange = F.DartValueWrapper_wrapIfNeeded(t4._as(new S.DesignDialogFormComponent_dialog_for_closure5(_this, item, dialog_item_idx))); + t8 = "" + radio_idx; + t7.$indexSet(0, _s3_, t8); + C.JSArray_methods.add$1(components, t6.call$1(option)); + ++radio_idx; + ++i; + } + t4 = A.DomProps$($.$get$div(), _null); + t5 = A.DomProps$($.$get$label(), _null); + t5.set$title(0, item.tooltip); + t5 = t5.call$1(t3 + ":"); + t6 = A.DomProps$($.$get$select(), _null); + t6.set$className(0, _s10_); + t6.set$disabled(0, disabled); + t6.set$value(0, t2.$index(t1, item.selected_idx)); + t6.set$onChange(0, new S.DesignDialogFormComponent_dialog_for_closure6(_this, item, dialog_item_idx)); + return t4.call$2(t5, t6.call$2(t3 + ": ", components)); + } else if (item instanceof E.DialogLink) { + t1 = A.DomProps$($.$get$a(), _null); + t2 = t1.props.jsObject; + t2.href = F.DartValueWrapper_wrapIfNeeded(item.link); + t2.target = F.DartValueWrapper_wrapIfNeeded("_blank"); + return t1.call$1(item.label); + } else if (item instanceof E.DialogLabel) { + t1 = A.DomProps$($.$get$span(), _null); + t1.set$title(0, item.tooltip); + return t1.call$1(item.label); + } + } + return _null; + }, + submit_form$1: function($event) { + var t1, t2, t3; + type$.legacy_SyntheticFormEvent._as($event); + t1 = J.getInterceptor$x($event); + t1.preventDefault$0($event); + t1.stopPropagation$0($event); + $.app.dispatch$1(U._$DialogHide__$DialogHide()); + t1 = this._design_dialog_form$_cachedTypedProps.get$dialog(); + t2 = this._design_dialog_form$_cachedTypedState.get$current_responses(); + t3 = t2._list; + t1.on_submit.call$1(new Q.CopyOnWriteList(true, t3, H._instanceType(t2)._eval$1("CopyOnWriteList<1>"))); + } + }; + S.DesignDialogFormComponent_getDerivedStateFromProps_closure.prototype = { + call$1: function(old_responses) { + var t1, t2; + type$.legacy_MapBuilder_of_legacy_DialogType_and_legacy_BuiltList_legacy_DialogItem._as(old_responses); + t1 = this.prev_state; + t2 = t1.get$state(t1).$index(0, "DesignDialogFormState.dialog_type"); + if (t2 == null) + t2 = null; + old_responses.$indexSet(0, type$.legacy_DialogType._as(t2), t1.get$current_responses()); + return old_responses; + }, + $signature: 413 + }; + S.DesignDialogFormComponent_render_closure.prototype = { + call$1: function(e) { + var t1; + type$.legacy_SyntheticMouseEvent._as(e); + t1 = J.getInterceptor$x(e); + t1.preventDefault$0(e); + t1.stopPropagation$0(e); + $.app.dispatch$1(U._$DialogHide__$DialogHide()); + this.$this._design_dialog_form$_cachedTypedProps.get$dialog().on_submit.call$1(null); + }, + $signature: 17 + }; + S.DesignDialogFormComponent_dialog_for_closure.prototype = { + call$1: function(e) { + var t1, t2, new_responses, new_checked, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, other_response, t13; + type$.legacy_SyntheticFormEvent._as(e); + t1 = this.$this; + t2 = t1._design_dialog_form$_cachedTypedState.get$current_responses(); + t2.toString; + new_responses = D.ListBuilder_ListBuilder(t2, t2.$ti._precomputed1); + new_checked = H._asBoolS(J.get$checked$x(J.get$target$x(e))); + t2 = this.dialog_item_idx; + t3 = type$.legacy_DialogCheckbox; + t4 = new_responses.$ti; + t5 = t4._precomputed1; + t6 = t5._as(t3._as(J.$index$asx(t1._design_dialog_form$_cachedTypedState.get$current_responses()._list, t2)).rebuild$1(new S.DesignDialogFormComponent_dialog_for__closure6(new_checked))); + !$.$get$isSoundMode() && !t5._is(null); + J.$indexSet$ax(new_responses.get$_safeList(), t2, t6); + for (t6 = J.get$iterator$ax(t1._design_dialog_form$_cachedTypedProps.get$dialog().mutually_exclusive_checkbox_groups._list), t7 = type$.legacy_BuiltList_legacy_DialogItem, t8 = type$.legacy_void_Function_legacy_DialogCheckboxBuilder, t9 = !t5._is(null), t4 = t4._eval$1("List<1>"); t6.moveNext$0();) { + t10 = t6.get$current(t6)._list; + t11 = J.getInterceptor$asx(t10); + if (t11.contains$1(t10, t2)) + for (t10 = t11.get$iterator(t10); t10.moveNext$0();) { + t11 = t10.get$current(t10); + if (t11 !== t2) { + t12 = t1._design_dialog_form$_cachedTypedState; + t12 = t12.get$state(t12).$index(0, "DesignDialogFormState.current_responses"); + other_response = t3._as(J.$index$asx(t7._as(t12 == null ? null : t12)._list, t11)); + if (other_response.value) { + t12 = t8._as(new S.DesignDialogFormComponent_dialog_for__closure7()); + t13 = new E.DialogCheckboxBuilder(); + t13._dialog$_$v = other_response; + t12.call$1(t13); + t12 = t5._as(t13.build$0()); + !$.$get$isSoundMode() && t9; + if (new_responses._listOwner != null) { + t13 = new_responses.__ListBuilder__list; + new_responses.set$__ListBuilder__list(t4._as(P.List_List$from(t13 === $ ? H.throwExpression(H.LateError$fieldNI("_list")) : t13, true, t5))); + new_responses.set$_listOwner(null); + } + t13 = new_responses.__ListBuilder__list; + J.$indexSet$ax(t13 === $ ? H.throwExpression(H.LateError$fieldNI("_list")) : t13, t11, t12); + } + } + } + } + t2 = t1.typedStateFactoryJs$1(new L.JsBackedMap({})); + t2.set$current_responses(new_responses.build$0()); + t1.setState$1(0, t2); + }, + $signature: 10 + }; + S.DesignDialogFormComponent_dialog_for__closure6.prototype = { + call$1: function(b) { + return b.get$_dialog$_$this()._dialog$_value = this.new_checked; + }, + $signature: 142 + }; + S.DesignDialogFormComponent_dialog_for__closure7.prototype = { + call$1: function(b) { + return b.get$_dialog$_$this()._dialog$_value = false; + }, + $signature: 142 + }; + S.DesignDialogFormComponent_dialog_for_closure0.prototype = { + call$1: function(e) { + var t1, t2, new_responses, new_value, response, t3, t4; + type$.legacy_SyntheticFormEvent._as(e); + t1 = this.$this; + t2 = t1._design_dialog_form$_cachedTypedState.get$current_responses(); + t2.toString; + new_responses = D.ListBuilder_ListBuilder(t2, t2.$ti._precomputed1); + new_value = H._asStringS(J.get$value$x(J.get$target$x(e))); + t2 = this.dialog_item_idx; + response = type$.legacy_DialogText._as(J.$index$asx(t1._design_dialog_form$_cachedTypedState.get$current_responses()._list, t2)); + response.toString; + t3 = type$.legacy_void_Function_legacy_DialogTextBuilder._as(new S.DesignDialogFormComponent_dialog_for__closure5(new_value)); + t4 = new E.DialogTextBuilder(); + t4._dialog$_$v = response; + t3.call$1(t4); + t3 = new_responses.$ti._precomputed1; + t4 = t3._as(t4.build$0()); + !$.$get$isSoundMode() && !t3._is(null); + J.$indexSet$ax(new_responses.get$_safeList(), t2, t4); + t2 = t1.typedStateFactoryJs$1(new L.JsBackedMap({})); + t2.set$current_responses(new_responses.build$0()); + t1.setState$1(0, t2); + }, + $signature: 10 + }; + S.DesignDialogFormComponent_dialog_for__closure5.prototype = { + call$1: function(b) { + return b.get$_dialog$_$this()._dialog$_value = this.new_value; + }, + $signature: 416 + }; + S.DesignDialogFormComponent_dialog_for_closure1.prototype = { + call$1: function(e) { + var t1, t2, new_responses, new_value, response, t3, t4; + type$.legacy_SyntheticFormEvent._as(e); + t1 = this.$this; + t2 = t1._design_dialog_form$_cachedTypedState.get$current_responses(); + t2.toString; + new_responses = D.ListBuilder_ListBuilder(t2, t2.$ti._precomputed1); + new_value = H._asStringS(J.get$value$x(J.get$target$x(e))); + t2 = this.dialog_item_idx; + response = type$.legacy_DialogTextArea._as(J.$index$asx(t1._design_dialog_form$_cachedTypedState.get$current_responses()._list, t2)); + response.toString; + t3 = type$.legacy_void_Function_legacy_DialogTextAreaBuilder._as(new S.DesignDialogFormComponent_dialog_for__closure4(new_value)); + t4 = new E.DialogTextAreaBuilder(); + t4._dialog$_$v = response; + t3.call$1(t4); + t3 = new_responses.$ti._precomputed1; + t4 = t3._as(t4.build$0()); + !$.$get$isSoundMode() && !t3._is(null); + J.$indexSet$ax(new_responses.get$_safeList(), t2, t4); + t2 = t1.typedStateFactoryJs$1(new L.JsBackedMap({})); + t2.set$current_responses(new_responses.build$0()); + t1.setState$1(0, t2); + }, + $signature: 10 + }; + S.DesignDialogFormComponent_dialog_for__closure4.prototype = { + call$1: function(b) { + return b.get$_dialog$_$this()._dialog$_value = this.new_value; + }, + $signature: 417 + }; + S.DesignDialogFormComponent_dialog_for_closure2.prototype = { + call$1: function(e) { + var t1, t2, new_responses, new_value, response, t3, t4; + type$.legacy_SyntheticFormEvent._as(e); + t1 = this.$this; + t2 = t1._design_dialog_form$_cachedTypedState.get$current_responses(); + t2.toString; + new_responses = D.ListBuilder_ListBuilder(t2, t2.$ti._precomputed1); + new_value = H.Primitives_parseInt(H._asStringS(J.get$value$x(J.get$target$x(e))), null); + if (new_value == null) + return; + t2 = this.dialog_item_idx; + response = type$.legacy_DialogInteger._as(J.$index$asx(t1._design_dialog_form$_cachedTypedState.get$current_responses()._list, t2)); + response.toString; + t3 = type$.legacy_void_Function_legacy_DialogIntegerBuilder._as(new S.DesignDialogFormComponent_dialog_for__closure3(new_value)); + t4 = new E.DialogIntegerBuilder(); + t4._dialog$_$v = response; + t3.call$1(t4); + t3 = new_responses.$ti._precomputed1; + t4 = t3._as(t4.build$0()); + !$.$get$isSoundMode() && !t3._is(null); + J.$indexSet$ax(new_responses.get$_safeList(), t2, t4); + t2 = t1.typedStateFactoryJs$1(new L.JsBackedMap({})); + t2.set$current_responses(new_responses.build$0()); + t1.setState$1(0, t2); + }, + $signature: 10 + }; + S.DesignDialogFormComponent_dialog_for__closure3.prototype = { + call$1: function(b) { + return b.get$_dialog$_$this()._dialog$_value = this.new_value; + }, + $signature: 418 + }; + S.DesignDialogFormComponent_dialog_for_closure3.prototype = { + call$1: function(e) { + var t1, t2, new_responses, new_value, response, t3, t4; + type$.legacy_SyntheticFormEvent._as(e); + t1 = this.$this; + t2 = t1._design_dialog_form$_cachedTypedState.get$current_responses(); + t2.toString; + new_responses = D.ListBuilder_ListBuilder(t2, t2.$ti._precomputed1); + new_value = H.Primitives_parseDouble(H._asStringS(J.get$value$x(J.get$target$x(e)))); + if (new_value == null) + return; + t2 = this.dialog_item_idx; + response = type$.legacy_DialogFloat._as(J.$index$asx(t1._design_dialog_form$_cachedTypedState.get$current_responses()._list, t2)); + response.toString; + t3 = type$.legacy_void_Function_legacy_DialogFloatBuilder._as(new S.DesignDialogFormComponent_dialog_for__closure2(new_value)); + t4 = new E.DialogFloatBuilder(); + t4._dialog$_$v = response; + t3.call$1(t4); + t3 = new_responses.$ti._precomputed1; + t4 = t3._as(t4.build$0()); + !$.$get$isSoundMode() && !t3._is(null); + J.$indexSet$ax(new_responses.get$_safeList(), t2, t4); + t2 = t1.typedStateFactoryJs$1(new L.JsBackedMap({})); + t2.set$current_responses(new_responses.build$0()); + t1.setState$1(0, t2); + }, + $signature: 10 + }; + S.DesignDialogFormComponent_dialog_for__closure2.prototype = { + call$1: function(b) { + return b.get$_dialog$_$this()._dialog$_value = this.new_value; + }, + $signature: 419 + }; + S.DesignDialogFormComponent_dialog_for_closure4.prototype = { + call$1: function(e) { + var selected_radio_idx, response, t3, new_responses, t4, + t1 = this.item.options, + t2 = H._asStringS(J.get$value$x(J.get$target$x(type$.legacy_SyntheticFormEvent._as(e)))); + t1.toString; + selected_radio_idx = J.indexOf$2$asx(t1._list, t1.$ti._precomputed1._as(t2), 0); + t2 = this.$this; + t1 = this.dialog_item_idx; + response = type$.legacy_DialogRadio._as(J.$index$asx(t2._design_dialog_form$_cachedTypedState.get$current_responses()._list, t1)); + t3 = t2._design_dialog_form$_cachedTypedState.get$current_responses(); + t3.toString; + new_responses = D.ListBuilder_ListBuilder(t3, t3.$ti._precomputed1); + t3 = new_responses.$ti._precomputed1; + t4 = t3._as(response.rebuild$1(new S.DesignDialogFormComponent_dialog_for__closure1(selected_radio_idx))); + if (!$.$get$isSoundMode() && !t3._is(null)) + if (t4 == null) + H.throwExpression(P.ArgumentError$("null element")); + J.$indexSet$ax(new_responses.get$_safeList(), t1, t4); + t1 = t2.typedStateFactoryJs$1(new L.JsBackedMap({})); + t1.set$current_responses(new_responses.build$0()); + t2.setState$1(0, t1); + }, + $signature: 10 + }; + S.DesignDialogFormComponent_dialog_for__closure1.prototype = { + call$1: function(b) { + return b.get$_dialog$_$this()._dialog$_selected_idx = this.selected_radio_idx; + }, + $signature: 81 + }; + S.DesignDialogFormComponent_dialog_for_closure5.prototype = { + call$1: function(e) { + var selected_radio_idx, response, t3, new_responses, t4, + t1 = this.item.options, + t2 = H._asStringS(J.get$value$x(J.get$target$x(type$.legacy_SyntheticFormEvent._as(e)))); + t1.toString; + selected_radio_idx = J.indexOf$2$asx(t1._list, t1.$ti._precomputed1._as(t2), 0); + t2 = this.$this; + t1 = this.dialog_item_idx; + response = type$.legacy_DialogRadio._as(J.$index$asx(t2._design_dialog_form$_cachedTypedState.get$current_responses()._list, t1)); + t3 = t2._design_dialog_form$_cachedTypedState.get$current_responses(); + t3.toString; + new_responses = D.ListBuilder_ListBuilder(t3, t3.$ti._precomputed1); + t3 = new_responses.$ti._precomputed1; + t4 = t3._as(response.rebuild$1(new S.DesignDialogFormComponent_dialog_for__closure0(selected_radio_idx))); + if (!$.$get$isSoundMode() && !t3._is(null)) + if (t4 == null) + H.throwExpression(P.ArgumentError$("null element")); + J.$indexSet$ax(new_responses.get$_safeList(), t1, t4); + t1 = t2.typedStateFactoryJs$1(new L.JsBackedMap({})); + t1.set$current_responses(new_responses.build$0()); + t2.setState$1(0, t1); + }, + $signature: 10 + }; + S.DesignDialogFormComponent_dialog_for__closure0.prototype = { + call$1: function(b) { + return b.get$_dialog$_$this()._dialog$_selected_idx = this.selected_radio_idx; + }, + $signature: 81 + }; + S.DesignDialogFormComponent_dialog_for_closure6.prototype = { + call$1: function(e) { + var selected_radio_idx, response, t3, new_responses, t4, + t1 = this.item.options, + t2 = H._asStringS(J.get$value$x(J.get$target$x(type$.legacy_SyntheticFormEvent._as(e)))); + t1.toString; + selected_radio_idx = J.indexOf$2$asx(t1._list, t1.$ti._precomputed1._as(t2), 0); + t2 = this.$this; + t1 = this.dialog_item_idx; + response = type$.legacy_DialogRadio._as(J.$index$asx(t2._design_dialog_form$_cachedTypedState.get$current_responses()._list, t1)); + t3 = t2._design_dialog_form$_cachedTypedState.get$current_responses(); + t3.toString; + new_responses = D.ListBuilder_ListBuilder(t3, t3.$ti._precomputed1); + t3 = new_responses.$ti._precomputed1; + t4 = t3._as(response.rebuild$1(new S.DesignDialogFormComponent_dialog_for__closure(selected_radio_idx))); + if (!$.$get$isSoundMode() && !t3._is(null)) + if (t4 == null) + H.throwExpression(P.ArgumentError$("null element")); + J.$indexSet$ax(new_responses.get$_safeList(), t1, t4); + t1 = t2.typedStateFactoryJs$1(new L.JsBackedMap({})); + t1.set$current_responses(new_responses.build$0()); + t2.setState$1(0, t1); + }, + $signature: 10 + }; + S.DesignDialogFormComponent_dialog_for__closure.prototype = { + call$1: function(b) { + return b.get$_dialog$_$this()._dialog$_selected_idx = this.selected_radio_idx; + }, + $signature: 81 + }; + S.$DesignDialogFormComponentFactory_closure.prototype = { + call$0: function() { + return new S._$DesignDialogFormComponent(null); + }, + "call*": "call$0", + $requiredArgCount: 0, + $signature: 421 + }; + S._$$DesignDialogFormProps.prototype = { + get$$$isClassGenerated: function() { + return true; + }, + get$componentFactory: function() { + var t1 = this.componentFactory; + return t1 == null ? $.$get$$DesignDialogFormComponentFactory() : t1; + } + }; + S._$$DesignDialogFormProps$PlainMap.prototype = { + get$props: function(_) { + return this._design_dialog_form$_props; + } + }; + S._$$DesignDialogFormProps$JsMap.prototype = { + get$props: function(_) { + return this._design_dialog_form$_props; + } + }; + S._$$DesignDialogFormState.prototype = { + get$$$isClassGenerated: function() { + return true; + } + }; + S._$$DesignDialogFormState$JsMap.prototype = { + get$state: function(_) { + return this._design_dialog_form$_state; + } + }; + S._$DesignDialogFormComponent.prototype = { + get$props: function(_) { + return this._design_dialog_form$_cachedTypedProps; + }, + set$props: function(_, value) { + this.props = value; + this._design_dialog_form$_cachedTypedProps = S._$$DesignDialogFormProps$JsMap$(R.getBackingMap(value)); + }, + get$state: function(_) { + return this._design_dialog_form$_cachedTypedState; + }, + set$state: function(_, value) { + this.state = value; + this._design_dialog_form$_cachedTypedState = S._$$DesignDialogFormState$JsMap$(value); + }, + typedStateFactoryJs$1: function(backingMap) { + return S._$$DesignDialogFormState$JsMap$(backingMap); + }, + get$displayName: function(_) { + return "DesignDialogForm"; + }, + get$$$defaultConsumedProps: function() { + return C.Map_MIIFE.get$values(C.Map_MIIFE); + } + }; + S.$DesignDialogFormProps.prototype = { + get$dialog: function() { + var t1 = J.$index$asx(this.get$props(this), "DesignDialogFormProps.dialog"); + if (t1 == null) + t1 = null; + return type$.legacy_Dialog._as(t1); + } + }; + S.$DesignDialogFormState.prototype = { + get$current_responses: function() { + var t1 = this.get$state(this).$index(0, "DesignDialogFormState.current_responses"); + if (t1 == null) + t1 = null; + return type$.legacy_BuiltList_legacy_DialogItem._as(t1); + }, + set$current_responses: function(value) { + type$.legacy_BuiltList_legacy_DialogItem._as(value); + this.get$state(this).$indexSet(0, "DesignDialogFormState.current_responses", value); + }, + set$dialog_type: function(value) { + this.get$state(this).$indexSet(0, "DesignDialogFormState.dialog_type", value); + }, + get$saved_responses: function() { + var t1 = this.get$state(this).$index(0, "DesignDialogFormState.saved_responses"); + if (t1 == null) + t1 = null; + return type$.legacy_BuiltMap_of_legacy_DialogType_and_legacy_BuiltList_legacy_DialogItem._as(t1); + }, + set$saved_responses: function(value) { + type$.legacy_BuiltMap_of_legacy_DialogType_and_legacy_BuiltList_legacy_DialogItem._as(value); + this.get$state(this).$indexSet(0, "DesignDialogFormState.saved_responses", value); + } + }; + S._DesignDialogFormComponent_UiStatefulComponent2_PureComponent.prototype = {}; + S.__$$DesignDialogFormProps_UiProps_DesignDialogFormProps.prototype = {}; + S.__$$DesignDialogFormProps_UiProps_DesignDialogFormProps_$DesignDialogFormProps.prototype = {}; + S.__$$DesignDialogFormState_UiState_DesignDialogFormState.prototype = {}; + S.__$$DesignDialogFormState_UiState_DesignDialogFormState_$DesignDialogFormState.prototype = {}; + V.ConnectedDesignFooter_closure.prototype = { + call$2: function(state, props) { + var t1, mouseover_datas, t2, t3, first_mouseover_data, strand_first_mouseover_data, loaded_filename; + type$.legacy_AppState._as(state); + type$.legacy_DesignFooterProps._as(props); + t1 = state.ui_state; + mouseover_datas = t1.mouseover_datas; + t2 = mouseover_datas._list; + t3 = J.getInterceptor$asx(t2); + first_mouseover_data = t3.get$isNotEmpty(t2) ? t3.get$first(t2) : null; + if (t3.get$isNotEmpty(t2)) { + t2 = state.design.get$substrand_to_strand(); + t3 = first_mouseover_data.domain; + strand_first_mouseover_data = J.$index$asx(t2._map$_map, t3); + } else + strand_first_mouseover_data = null; + loaded_filename = t1.storables.loaded_filename; + t1 = V.design_footer___$DesignFooter$closure().call$0(); + t1.toString; + type$.legacy_BuiltList_legacy_MouseoverData._as(mouseover_datas); + t2 = J.getInterceptor$x(t1); + J.$indexSet$ax(t2.get$props(t1), "DesignFooterProps.mouseover_datas", mouseover_datas); + J.$indexSet$ax(t2.get$props(t1), string$.DesignF, strand_first_mouseover_data); + J.$indexSet$ax(t2.get$props(t1), "DesignFooterProps.loaded_filename", loaded_filename); + return t1; + }, + "call*": "call$2", + $requiredArgCount: 2, + $signature: 422 + }; + V.DesignFooterProps.prototype = {$isMap: 1, $isUiProps0: 1, $isUiProps: 1}; + V.DesignFooterComponent.prototype = { + render$0: function(_) { + var t2, mouseover_data, idx, offset, text, domain_length, t3, t4, t5, _null = null, + t1 = this._design_footer$_cachedTypedProps; + t1 = t1.get$props(t1).$index(0, "DesignFooterProps.mouseover_datas"); + if (t1 == null) + t1 = _null; + t1 = type$.legacy_BuiltList_legacy_MouseoverData._as(t1)._list; + t2 = J.getInterceptor$asx(t1); + if (t2.get$length(t1) === 1) { + mouseover_data = t2.get$first(t1); + idx = mouseover_data.helix.idx; + offset = mouseover_data.offset; + text = "helix: " + idx + ", offset: " + offset; + t1 = mouseover_data.domain; + if (t1 != null) { + domain_length = t1.dna_length$0(); + t2 = this._design_footer$_cachedTypedProps; + t2 = t2.get$props(t2).$index(0, string$.DesignF); + if (t2 == null) + t2 = _null; + type$.legacy_Strand._as(t2); + t3 = ", strand DNA index: " + mouseover_data.strand_idx + (", domain length: " + domain_length); + t4 = t2 == null; + t3 += ", strand length: " + H.S(t4 ? _null : t2.get$dna_length()); + t5 = t1.name; + t3 += t5 != null ? ", domain name: " + H.S(t5) : ""; + t1 = t1.label; + t1 = t3 + (t1 != null ? ", domain label: " + H.S(t1) : ""); + t1 += (t4 ? _null : t2.name) != null ? ", strand name: " + H.S(t2.name) : ""; + text += t1 + ((t4 ? _null : t2.label) != null ? ", strand label: " + H.S(t2.label) : ""); + } + } else { + t1 = this._design_footer$_cachedTypedProps; + t1 = t1.get$props(t1).$index(0, "DesignFooterProps.loaded_filename"); + text = H._asStringS(t1 == null ? _null : t1); + } + t1 = A.DomProps$($.$get$span(), _null); + t1.set$className(0, "design-footer-mouse-over-paragraph"); + return t1.call$1(text); + } + }; + V.$DesignFooterComponentFactory_closure.prototype = { + call$0: function() { + return new V._$DesignFooterComponent(null); + }, + "call*": "call$0", + $requiredArgCount: 0, + $signature: 423 + }; + V._$$DesignFooterProps.prototype = { + get$$$isClassGenerated: function() { + return true; + }, + get$componentFactory: function() { + var t1 = this.componentFactory; + return t1 == null ? $.$get$$DesignFooterComponentFactory() : t1; + } + }; + V._$$DesignFooterProps$PlainMap.prototype = { + get$props: function(_) { + return this._design_footer$_props; + } + }; + V._$$DesignFooterProps$JsMap.prototype = { + get$props: function(_) { + return this._design_footer$_props; + } + }; + V._$DesignFooterComponent.prototype = { + get$props: function(_) { + return this._design_footer$_cachedTypedProps; + }, + set$props: function(_, value) { + this.props = value; + this._design_footer$_cachedTypedProps = V._$$DesignFooterProps$JsMap$(R.getBackingMap(value)); + }, + get$displayName: function(_) { + return "DesignFooter"; + }, + get$$$defaultConsumedProps: function() { + return C.Map_np2PZ.get$values(C.Map_np2PZ); + } + }; + V.$DesignFooterProps.prototype = {}; + V.__$$DesignFooterProps_UiProps_DesignFooterProps.prototype = {}; + V.__$$DesignFooterProps_UiProps_DesignFooterProps_$DesignFooterProps.prototype = {}; + Q.ConnectedLoadingDialog_closure.prototype = { + call$1: function(state) { + var t1, t2; + type$.legacy_AppState._as(state); + t1 = Q.design_loading_dialog___$DesignLoadingDialog$closure().call$0(); + t2 = state.ui_state.load_dialog; + t1.toString; + J.$indexSet$ax(J.get$props$x(t1), "DesignLoadingDialogProps.show", t2); + return t1; + }, + $signature: 424 + }; + Q.DesignLoadingDialogProps.prototype = {$isMap: 1, $isUiProps0: 1, $isUiProps: 1}; + Q.DesignLoadingDialogComponent.prototype = { + render$0: function(_) { + var _null = null, + t1 = this._design_loading_dialog$_cachedTypedProps; + t1 = t1.get$props(t1).$index(0, "DesignLoadingDialogProps.show"); + if (H._asBoolS(t1 == null ? _null : t1) === false) + return _null; + t1 = A.DomProps$($.$get$div(), _null); + t1.set$className(0, "dialog-form-form dialog-design-loading"); + return t1.call$1(A.DomProps$($.$get$span(), _null).call$1("Loading...")); + } + }; + Q.$DesignLoadingDialogComponentFactory_closure.prototype = { + call$0: function() { + return new Q._$DesignLoadingDialogComponent(null); + }, + "call*": "call$0", + $requiredArgCount: 0, + $signature: 425 + }; + Q._$$DesignLoadingDialogProps.prototype = { + get$$$isClassGenerated: function() { + return true; + }, + get$componentFactory: function() { + var t1 = this.componentFactory; + return t1 == null ? $.$get$$DesignLoadingDialogComponentFactory() : t1; + } + }; + Q._$$DesignLoadingDialogProps$PlainMap.prototype = { + get$props: function(_) { + return this._design_loading_dialog$_props; + } + }; + Q._$$DesignLoadingDialogProps$JsMap.prototype = { + get$props: function(_) { + return this._design_loading_dialog$_props; + } + }; + Q._$DesignLoadingDialogComponent.prototype = { + get$props: function(_) { + return this._design_loading_dialog$_cachedTypedProps; + }, + set$props: function(_, value) { + this.props = value; + this._design_loading_dialog$_cachedTypedProps = Q._$$DesignLoadingDialogProps$JsMap$(R.getBackingMap(value)); + }, + get$displayName: function(_) { + return "DesignLoadingDialog"; + }, + get$$$defaultConsumedProps: function() { + return C.Map_KFCtt.get$values(C.Map_KFCtt); + } + }; + Q.$DesignLoadingDialogProps.prototype = {}; + Q.__$$DesignLoadingDialogProps_UiProps_DesignLoadingDialogProps.prototype = {}; + Q.__$$DesignLoadingDialogProps_UiProps_DesignLoadingDialogProps_$DesignLoadingDialogProps.prototype = {}; + V.ConnectedDesignMain_closure.prototype = { + call$1: function(state) { + var t1, t2, t3, t4, t5; + type$.legacy_AppState._as(state); + if (state.get$has_error()) { + t1 = V.design_main___$DesignMain$closure().call$0(); + t1.set$has_error(true); + return t1; + } else { + t1 = V.design_main___$DesignMain$closure().call$0(); + t2 = state.design; + t1.toString; + t3 = J.getInterceptor$x(t1); + J.$indexSet$ax(t3.get$props(t1), "DesignMainPropsMixin.design", t2); + t4 = state.ui_state; + t5 = t4.helix_change_apply_to_all; + J.$indexSet$ax(t3.get$props(t1), string$.DesignMPrhc, t5); + t5 = t2.__potential_vertical_crossovers; + if (t5 == null) { + t5 = N.Design.prototype.get$potential_vertical_crossovers.call(t2); + t2.set$__potential_vertical_crossovers(t5); + t2 = t5; + } else + t2 = t5; + type$.legacy_BuiltList_legacy_PotentialVerticalCrossover._as(t2); + J.$indexSet$ax(t3.get$props(t1), string$.DesignMPrp, t2); + t2 = t4.potential_crossover_is_drawing; + J.$indexSet$ax(t3.get$props(t1), string$.DesignMPrdr, t2); + t2 = t4.storables; + t5 = t2.domain_name_font_size; + J.$indexSet$ax(t3.get$props(t1), string$.DesignMPrdo, t5); + t5 = t2.major_tick_offset_font_size; + J.$indexSet$ax(t3.get$props(t1), string$.DesignMPrmo, t5); + t5 = t2.major_tick_width_font_size; + J.$indexSet$ax(t3.get$props(t1), string$.DesignMPrmw, t5); + t1.set$has_error(state.get$has_error()); + t5 = type$.legacy_BuiltSet_legacy_EditModeChoice._as(t2.edit_modes); + J.$indexSet$ax(t3.get$props(t1), "DesignMainPropsMixin.edit_modes", t5); + t5 = t4.strands_move; + J.$indexSet$ax(t3.get$props(t1), "DesignMainPropsMixin.strands_move", t5); + t5 = t4.strand_creation; + J.$indexSet$ax(t3.get$props(t1), "DesignMainPropsMixin.strand_creation", t5); + t5 = type$.legacy_BuiltSet_legacy_int._as(t2.side_selected_helix_idxs); + J.$indexSet$ax(t3.get$props(t1), string$.DesignMPrsi, t5); + t5 = t2.show_mismatches; + J.$indexSet$ax(t3.get$props(t1), "DesignMainPropsMixin.show_mismatches", t5); + t5 = t2.show_slice_bar; + J.$indexSet$ax(t3.get$props(t1), "DesignMainPropsMixin.show_slice_bar", t5); + t5 = t2.slice_bar_offset; + J.$indexSet$ax(t3.get$props(t1), "DesignMainPropsMixin.slice_bar_offset", t5); + t5 = t2.displayed_group_name; + J.$indexSet$ax(t3.get$props(t1), string$.DesignMPrdipe, t5); + t5 = t2.show_domain_name_mismatches; + J.$indexSet$ax(t3.get$props(t1), string$.DesignMPrshd, t5); + t5 = t2.show_unpaired_insertion_deletions; + J.$indexSet$ax(t3.get$props(t1), string$.DesignMPrshu, t5); + t5 = t2.show_dna; + J.$indexSet$ax(t3.get$props(t1), "DesignMainPropsMixin.show_dna", t5); + t5 = t2.base_pair_display_type; + J.$indexSet$ax(t3.get$props(t1), string$.DesignMPrb, t5); + t5 = t2.show_base_pair_lines; + J.$indexSet$ax(t3.get$props(t1), string$.DesignMPrshb, t5); + t5 = t2.show_base_pair_lines_with_mismatches; + J.$indexSet$ax(t3.get$props(t1), string$.DesignMPrshb_, t5); + t5 = t2.show_domain_names; + J.$indexSet$ax(t3.get$props(t1), "DesignMainPropsMixin.show_domain_names", t5); + t5 = t2.show_strand_names; + J.$indexSet$ax(t3.get$props(t1), "DesignMainPropsMixin.show_strand_names", t5); + t5 = t2.show_helix_circles_main_view; + J.$indexSet$ax(t3.get$props(t1), "DesignMainPropsMixin.show_helix_circles", t5); + t5 = t2.show_helix_components_main_view; + J.$indexSet$ax(t3.get$props(t1), string$.DesignMPrshh, t5); + t5 = t4.dna_sequence_png_uri; + J.$indexSet$ax(t3.get$props(t1), string$.DesignMPrdnu, t5); + t5 = t4.dna_sequence_png_horizontal_offset; + J.$indexSet$ax(t3.get$props(t1), string$.DesignMPrdnh, t5); + t5 = t4.dna_sequence_png_vertical_offset; + J.$indexSet$ax(t3.get$props(t1), string$.DesignMPrdnv, t5); + t5 = t4.export_svg_action_delayed_for_png_cache; + J.$indexSet$ax(t3.get$props(t1), string$.DesignMPre, t5); + t5 = t4.is_zoom_above_threshold; + J.$indexSet$ax(t3.get$props(t1), string$.DesignMPri, t5); + t5 = t2.only_display_selected_helices; + J.$indexSet$ax(t3.get$props(t1), string$.DesignMPro, t5); + t5 = t2.display_base_offsets_of_major_ticks; + J.$indexSet$ax(t3.get$props(t1), string$.DesignMPrdip_b, t5); + t5 = t2.show_loopout_extension_length; + J.$indexSet$ax(t3.get$props(t1), string$.DesignMPrshl, t5); + t5 = t2.display_base_offsets_of_major_ticks_only_first_helix; + J.$indexSet$ax(t3.get$props(t1), string$.DesignMPrdip_b_, t5); + t5 = t2.display_major_tick_widths; + J.$indexSet$ax(t3.get$props(t1), string$.DesignMPrdip_m, t5); + t5 = t2.display_major_tick_widths_all_helices; + J.$indexSet$ax(t3.get$props(t1), string$.DesignMPrdip_m_, t5); + t5 = t4.helix_group_is_moving; + J.$indexSet$ax(t3.get$props(t1), string$.DesignMPrhg, t5); + t5 = type$.legacy_BuiltMap_of_legacy_int_and_legacy_Point_legacy_num._as(state.get$helix_idx_to_svg_position_map()); + J.$indexSet$ax(t3.get$props(t1), string$.DesignMPrhi, t5); + t5 = t2.invert_y; + J.$indexSet$ax(t3.get$props(t1), "DesignMainPropsMixin.invert_y", t5); + t4 = t4.selection_rope; + J.$indexSet$ax(t3.get$props(t1), "DesignMainPropsMixin.selection_rope", t4); + t4 = t2.disable_png_caching_dna_sequences; + J.$indexSet$ax(t3.get$props(t1), string$.DesignMPrdia, t4); + t4 = t2.retain_strand_color_on_selection; + J.$indexSet$ax(t3.get$props(t1), string$.DesignMPrr, t4); + t2 = t2.display_reverse_DNA_right_side_up; + J.$indexSet$ax(t3.get$props(t1), string$.DesignMPrdip_r, t2); + return t1; + } + }, + $signature: 426 + }; + V.DesignMainPropsMixin.prototype = {$isMap: 1, $isUiProps0: 1, $isUiProps: 1}; + V.DesignMainComponent.prototype = { + get$consumedProps: function() { + var t1 = type$.legacy_Set_legacy_Type._as(P.LinkedHashSet_LinkedHashSet$_literal([C.Type_DesignMainPropsMixin_8aB], type$.legacy_Type)), + t2 = type$.PropsMetaCollection._eval$1("_AccessorMetaCollection.U*"), + t3 = t1.$ti; + return new H.EfficientLengthMappedIterable(t1, t3._bind$1(t2)._eval$1("1(SetMixin.E)")._as(C.PropsMetaCollection_Map_SCwEo.get$forMixin()), t3._eval$1("@")._bind$1(t2)._eval$1("EfficientLengthMappedIterable<1,2>")); + }, + render$0: function(_) { + var t2, t3, t4, t5, t6, t7, t8, t9, main_elt, _this = this, _null = null, + t1 = _this._design_main$_cachedTypedProps; + t1 = t1.get$props(t1).$index(0, "DesignMainPropsMixin.has_error"); + if (H.boolConversionCheck(H._asBoolS(t1 == null ? _null : t1))) + return _null; + t1 = A.SvgProps$($.$get$g(), _null); + t1.set$id(0, "main-view-group"); + t2 = H.setRuntimeTypeInfo([], type$.JSArray_legacy_ReactElement); + t3 = _this._design_main$_cachedTypedProps; + t3 = t3.get$props(t3).$index(0, string$.DesignMPrshh); + if (H.boolConversionCheck(H._asBoolS(t3 == null ? _null : t3))) { + t3 = V.design_main_helices___$DesignMainHelices$closure().call$0(); + t4 = _this._design_main$_cachedTypedProps.get$design().helices; + t3.toString; + type$.legacy_BuiltMap_of_legacy_int_and_legacy_Helix._as(t4); + t5 = J.getInterceptor$x(t3); + J.$indexSet$ax(t5.get$props(t3), "DesignMainHelicesProps.helices", t4); + t4 = type$.legacy_BuiltMap_of_legacy_String_and_legacy_HelixGroup._as(_this._design_main$_cachedTypedProps.get$design().groups); + J.$indexSet$ax(t5.get$props(t3), "DesignMainHelicesProps.groups", t4); + t4 = type$.legacy_BuiltMap_of_legacy_String_and_legacy_BuiltList_legacy_int._as(_this._design_main$_cachedTypedProps.get$design().get$helix_idxs_in_group()); + J.$indexSet$ax(t5.get$props(t3), string$.DesignMHchis, t4); + t4 = _this._design_main$_cachedTypedProps.get$design().geometry; + J.$indexSet$ax(t5.get$props(t3), "DesignMainHelicesProps.geometry", t4); + t4 = _this._design_main$_cachedTypedProps; + t4 = t4.get$props(t4).$index(0, string$.DesignMPrmo); + t4 = H._asNumS(t4 == null ? _null : t4); + J.$indexSet$ax(t5.get$props(t3), string$.DesignMHcmo, t4); + t4 = _this._design_main$_cachedTypedProps; + t4 = t4.get$props(t4).$index(0, string$.DesignMPrmw); + t4 = H._asNumS(t4 == null ? _null : t4); + J.$indexSet$ax(t5.get$props(t3), string$.DesignMHcmw, t4); + t4 = _this._design_main$_cachedTypedProps; + t4 = t4.get$props(t4).$index(0, string$.DesignMPrhc); + t4 = H._asBoolS(t4 == null ? _null : t4); + J.$indexSet$ax(t5.get$props(t3), string$.DesignMHchc, t4); + t4 = type$.legacy_BuiltSet_legacy_int._as(_this._design_main$_cachedTypedProps.get$side_selected_helix_idxs()); + J.$indexSet$ax(t5.get$props(t3), string$.DesignMHcsi, t4); + t4 = _this._design_main$_cachedTypedProps.get$only_display_selected_helices(); + J.$indexSet$ax(t5.get$props(t3), string$.DesignMHco, t4); + t4 = _this._design_main$_cachedTypedProps.get$show_dna(); + J.$indexSet$ax(t5.get$props(t3), "DesignMainHelicesProps.show_dna", t4); + t4 = _this._design_main$_cachedTypedProps; + t4 = t4.get$props(t4).$index(0, "DesignMainPropsMixin.show_domain_names"); + t4 = H._asBoolS(t4 == null ? _null : t4); + J.$indexSet$ax(t5.get$props(t3), string$.DesignMHcshd, t4); + t4 = _this._design_main$_cachedTypedProps.get$show_helix_circles(); + J.$indexSet$ax(t5.get$props(t3), string$.DesignMHcshh, t4); + t4 = _this._design_main$_cachedTypedProps; + t4 = t4.get$props(t4).$index(0, string$.DesignMPrdip_b); + t4 = H._asBoolS(t4 == null ? _null : t4); + J.$indexSet$ax(t5.get$props(t3), string$.DesignMHcdb, t4); + t4 = _this._design_main$_cachedTypedProps; + t4 = t4.get$props(t4).$index(0, string$.DesignMPrdip_b_); + t4 = H._asBoolS(t4 == null ? _null : t4); + J.$indexSet$ax(t5.get$props(t3), string$.DesignMHcdb_, t4); + t4 = _this._design_main$_cachedTypedProps; + t4 = t4.get$props(t4).$index(0, string$.DesignMPrdip_m); + t4 = H._asBoolS(t4 == null ? _null : t4); + J.$indexSet$ax(t5.get$props(t3), string$.DesignMHcdm, t4); + t4 = _this._design_main$_cachedTypedProps; + t4 = t4.get$props(t4).$index(0, string$.DesignMPrdip_m_); + t4 = H._asBoolS(t4 == null ? _null : t4); + J.$indexSet$ax(t5.get$props(t3), string$.DesignMHcdm_, t4); + t4 = type$.legacy_BuiltMap_of_legacy_int_and_legacy_Point_legacy_num._as(_this._design_main$_cachedTypedProps.get$helix_idx_to_svg_position_map()); + J.$indexSet$ax(t5.get$props(t3), string$.DesignMHchi_, t4); + t4 = _this._design_main$_cachedTypedProps; + t4 = t4.get$props(t4).$index(0, "DesignMainPropsMixin.invert_y"); + t4 = H._asBoolS(t4 == null ? _null : t4); + J.$indexSet$ax(t5.get$props(t3), "DesignMainHelicesProps.invert_y", t4); + t5.set$key(t3, "helices"); + t2.push(t3.call$0()); + } + t3 = _this._design_main$_cachedTypedProps; + t3 = t3.get$props(t3).$index(0, "DesignMainPropsMixin.show_mismatches"); + if (H.boolConversionCheck(H._asBoolS(t3 == null ? _null : t3))) { + t3 = O.design_main_dna_mismatches___$DesignMainDNAMismatches$closure().call$0(); + t4 = _this._design_main$_cachedTypedProps.get$design(); + t3.toString; + t5 = J.getInterceptor$x(t3); + J.$indexSet$ax(t5.get$props(t3), "DesignMainDNAMismatchesProps.design", t4); + t4 = _this._design_main$_cachedTypedProps.get$only_display_selected_helices(); + J.$indexSet$ax(t5.get$props(t3), string$.DesignMDNMo, t4); + t4 = type$.legacy_BuiltSet_legacy_int._as(_this._design_main$_cachedTypedProps.get$side_selected_helix_idxs()); + J.$indexSet$ax(t5.get$props(t3), string$.DesignMDNMs, t4); + t4 = type$.legacy_BuiltMap_of_legacy_int_and_legacy_num._as(_this._design_main$_cachedTypedProps.get$helix_idx_to_svg_position_map().map$2$1(0, new V.DesignMainComponent_render_closure(), type$.legacy_int, type$.legacy_num)); + J.$indexSet$ax(t5.get$props(t3), string$.DesignMDNMh, t4); + t5.set$key(t3, "mismatches"); + t2.push(t3.call$0()); + } + t3 = _this._design_main$_cachedTypedProps; + t3 = t3.get$props(t3).$index(0, string$.DesignMPrshd); + if (H.boolConversionCheck(H._asBoolS(t3 == null ? _null : t3))) { + t3 = R.design_main_domain_name_mismatches___$DesignMainDomainNameMismatches$closure().call$0(); + t4 = _this._design_main$_cachedTypedProps.get$design(); + t3.toString; + t5 = J.getInterceptor$x(t3); + J.$indexSet$ax(t5.get$props(t3), string$.DesignMDoNd, t4); + t4 = _this._design_main$_cachedTypedProps.get$only_display_selected_helices(); + J.$indexSet$ax(t5.get$props(t3), string$.DesignMDoNo, t4); + t4 = type$.legacy_BuiltSet_legacy_int._as(_this._design_main$_cachedTypedProps.get$side_selected_helix_idxs()); + J.$indexSet$ax(t5.get$props(t3), string$.DesignMDoNs, t4); + t4 = type$.legacy_BuiltMap_of_legacy_int_and_legacy_Point_legacy_num._as(_this._design_main$_cachedTypedProps.get$helix_idx_to_svg_position_map()); + J.$indexSet$ax(t5.get$props(t3), string$.DesignMDoNh, t4); + t5.set$key(t3, "domain-name-mismatches"); + t2.push(t3.call$0()); + } + t3 = _this._design_main$_cachedTypedProps; + t3 = t3.get$props(t3).$index(0, string$.DesignMPrshu); + if (H.boolConversionCheck(H._asBoolS(t3 == null ? _null : t3))) { + t3 = B.design_main_unpaired_insertion_deletions___$DesignMainUnpairedInsertionDeletions$closure().call$0(); + t4 = _this._design_main$_cachedTypedProps.get$design(); + t3.toString; + t5 = J.getInterceptor$x(t3); + J.$indexSet$ax(t5.get$props(t3), string$.DesignMUd, t4); + t4 = _this._design_main$_cachedTypedProps.get$only_display_selected_helices(); + J.$indexSet$ax(t5.get$props(t3), string$.DesignMUo, t4); + t4 = type$.legacy_BuiltSet_legacy_int._as(_this._design_main$_cachedTypedProps.get$side_selected_helix_idxs()); + J.$indexSet$ax(t5.get$props(t3), string$.DesignMUs, t4); + t4 = type$.legacy_BuiltMap_of_legacy_int_and_legacy_num._as(_this._design_main$_cachedTypedProps.get$helix_idx_to_svg_position_map().map$2$1(0, new V.DesignMainComponent_render_closure0(), type$.legacy_int, type$.legacy_num)); + J.$indexSet$ax(t5.get$props(t3), string$.DesignMUh, t4); + t5.set$key(t3, "unpaired-insertion-deletions"); + t2.push(t3.call$0()); + } + if (_this._design_main$_cachedTypedProps.get$base_pair_display_type() === C.BasePairDisplayType_lines) { + t3 = Z.design_main_base_pair_lines___$DesignMainBasePairLines$closure().call$0(); + t4 = _this._design_main$_cachedTypedProps.get$show_base_pair_lines_with_mismatches(); + t3.toString; + t5 = J.getInterceptor$x(t3); + J.$indexSet$ax(t5.get$props(t3), string$.DesignMBLw, t4); + t4 = _this._design_main$_cachedTypedProps.get$design(); + J.$indexSet$ax(t5.get$props(t3), "DesignMainBasePairLinesProps.design", t4); + t4 = _this._design_main$_cachedTypedProps.get$only_display_selected_helices(); + J.$indexSet$ax(t5.get$props(t3), string$.DesignMBLo, t4); + t4 = type$.legacy_BuiltSet_legacy_int._as(_this._design_main$_cachedTypedProps.get$side_selected_helix_idxs()); + J.$indexSet$ax(t5.get$props(t3), string$.DesignMBLs, t4); + t4 = type$.legacy_BuiltMap_of_legacy_int_and_legacy_num._as(_this._design_main$_cachedTypedProps.get$helix_idx_to_svg_position_map().map$2$1(0, new V.DesignMainComponent_render_closure1(), type$.legacy_int, type$.legacy_num)); + J.$indexSet$ax(t5.get$props(t3), string$.DesignMBLh, t4); + t5.set$key(t3, "base-pair-lines"); + t2.push(t3.call$0()); + } + if (_this._design_main$_cachedTypedProps.get$base_pair_display_type() === C.BasePairDisplayType_rectangle) { + t3 = V.design_main_base_pair_rectangle___$DesignMainBasePairRectangle$closure().call$0(); + t4 = _this._design_main$_cachedTypedProps.get$show_base_pair_lines_with_mismatches(); + t3.toString; + t5 = J.getInterceptor$x(t3); + J.$indexSet$ax(t5.get$props(t3), string$.DesignMBRw, t4); + t4 = _this._design_main$_cachedTypedProps.get$design(); + J.$indexSet$ax(t5.get$props(t3), "DesignMainBasePairRectangleProps.design", t4); + t4 = _this._design_main$_cachedTypedProps.get$only_display_selected_helices(); + J.$indexSet$ax(t5.get$props(t3), string$.DesignMBRo, t4); + t4 = type$.legacy_BuiltSet_legacy_int._as(_this._design_main$_cachedTypedProps.get$side_selected_helix_idxs()); + J.$indexSet$ax(t5.get$props(t3), string$.DesignMBRs, t4); + t4 = type$.legacy_BuiltMap_of_legacy_int_and_legacy_num._as(_this._design_main$_cachedTypedProps.get$helix_idx_to_svg_position_map().map$2$1(0, new V.DesignMainComponent_render_closure2(), type$.legacy_int, type$.legacy_num)); + J.$indexSet$ax(t5.get$props(t3), string$.DesignMBRh, t4); + t5.set$key(t3, "base-pair-rectangle"); + t2.push(t3.call$0()); + } + t3 = $.$get$ConnectedDesignMainStrands().call$0(); + J.set$key$z(t3, "strands"); + t2.push(t3.call$0()); + t3 = _this._design_main$_cachedTypedProps; + t3 = t3.get$props(t3).$index(0, "DesignMainPropsMixin.edit_modes"); + if (t3 == null) + t3 = _null; + if (type$.legacy_BuiltSet_legacy_EditModeChoice._as(t3)._set.contains$1(0, C.EditModeChoice_pencil)) { + t3 = _this._design_main$_cachedTypedProps; + t3 = t3.get$props(t3).$index(0, string$.DesignMPrdr); + t3 = !H.boolConversionCheck(H._asBoolS(t3 == null ? _null : t3)); + } else + t3 = false; + if (t3) { + t3 = S.design_main_potential_vertical_crossovers___$DesignMainPotentialVerticalCrossovers$closure().call$0(); + t4 = _this._design_main$_cachedTypedProps; + t4 = t4.get$props(t4).$index(0, string$.DesignMPrp); + if (t4 == null) + t4 = _null; + t5 = type$.legacy_BuiltList_legacy_PotentialVerticalCrossover; + t5._as(t4); + t3.toString; + t5._as(t4); + t5 = J.getInterceptor$x(t3); + J.$indexSet$ax(t5.get$props(t3), string$.DesignMPosp, t4); + t4 = type$.legacy_BuiltMap_of_legacy_int_and_legacy_Helix._as(_this._design_main$_cachedTypedProps.get$design().helices); + J.$indexSet$ax(t5.get$props(t3), string$.DesignMPoshc, t4); + t4 = _this._design_main$_cachedTypedProps.get$only_display_selected_helices(); + J.$indexSet$ax(t5.get$props(t3), string$.DesignMPoso, t4); + t4 = type$.legacy_BuiltSet_legacy_int._as(_this._design_main$_cachedTypedProps.get$side_selected_helix_idxs()); + J.$indexSet$ax(t5.get$props(t3), string$.DesignMPoss, t4); + t4 = type$.legacy_BuiltMap_of_legacy_String_and_legacy_HelixGroup._as(_this._design_main$_cachedTypedProps.get$design().groups); + J.$indexSet$ax(t5.get$props(t3), string$.DesignMPosgr, t4); + t4 = _this._design_main$_cachedTypedProps.get$design().geometry; + J.$indexSet$ax(t5.get$props(t3), string$.DesignMPosge, t4); + t4 = type$.legacy_BuiltMap_of_legacy_int_and_legacy_num._as(_this._design_main$_cachedTypedProps.get$helix_idx_to_svg_position_map().map$2$1(0, new V.DesignMainComponent_render_closure3(), type$.legacy_int, type$.legacy_num)); + J.$indexSet$ax(t5.get$props(t3), string$.DesignMPoshx, t4); + t5.set$key(t3, "potential-vertical-crossovers"); + t2.push(t3.call$0()); + } + if (_this._design_main$_cachedTypedProps.get$strand_creation() != null) { + t3 = R.design_main_strand_creating___$DesignMainStrandCreating$closure().call$0(); + t4 = _this._design_main$_cachedTypedProps.get$strand_creation().helix; + t3.toString; + t5 = J.getInterceptor$x(t3); + J.$indexSet$ax(t5.get$props(t3), "DesignMainStrandCreatingPropsMixin.helix", t4); + t4 = _this._design_main$_cachedTypedProps.get$strand_creation().forward; + J.$indexSet$ax(t5.get$props(t3), string$.DesignMStCef, t4); + t4 = _this._design_main$_cachedTypedProps.get$strand_creation(); + t4 = t4.get$start(t4); + J.$indexSet$ax(t5.get$props(t3), "DesignMainStrandCreatingPropsMixin.start", t4); + t4 = _this._design_main$_cachedTypedProps.get$strand_creation(); + t4 = t4.get$end(t4); + J.$indexSet$ax(t5.get$props(t3), "DesignMainStrandCreatingPropsMixin.end", t4); + t4 = _this._design_main$_cachedTypedProps.get$strand_creation().color; + J.$indexSet$ax(t5.get$props(t3), "DesignMainStrandCreatingPropsMixin.color", t4); + t4 = type$.legacy_int; + t6 = type$.legacy_Helix; + t3.set$helices(A.BuiltMap_BuiltMap$of(P.LinkedHashMap_LinkedHashMap$_literal([_this._design_main$_cachedTypedProps.get$strand_creation().helix.idx, _this._design_main$_cachedTypedProps.get$strand_creation().helix], t4, t6), t4, t6)); + t6 = _this._design_main$_cachedTypedProps.get$strand_creation().helix.group; + t4 = _this._design_main$_cachedTypedProps.get$design().groups; + t7 = _this._design_main$_cachedTypedProps.get$strand_creation().helix.group; + t8 = type$.legacy_String; + t9 = type$.legacy_HelixGroup; + t3.set$groups(A.BuiltMap_BuiltMap$of(P.LinkedHashMap_LinkedHashMap$_literal([t6, J.$index$asx(t4._map$_map, t7)], t8, t9), t8, t9)); + t5.set$geometry(t3, _this._design_main$_cachedTypedProps.get$design().geometry); + t9 = _this._design_main$_cachedTypedProps.get$helix_idx_to_svg_position_map(); + t8 = _this._design_main$_cachedTypedProps.get$strand_creation().helix.idx; + t8 = J.$index$asx(t9._map$_map, t8).y; + J.$indexSet$ax(t5.get$props(t3), string$.DesignMStCes, t8); + t5.set$key(t3, "strand-creating"); + t2.push(t3.call$0()); + } + if (H.boolConversionCheck(_this._design_main$_cachedTypedProps.get$show_dna())) { + t3 = M.design_main_dna_sequences___$DesignMainDNASequences$closure().call$0(); + t4 = _this._design_main$_cachedTypedProps.get$design().helices; + t3.toString; + type$.legacy_BuiltMap_of_legacy_int_and_legacy_Helix._as(t4); + t5 = J.getInterceptor$x(t3); + J.$indexSet$ax(t5.get$props(t3), "DesignMainDNASequencesProps.helices", t4); + t4 = type$.legacy_BuiltMap_of_legacy_String_and_legacy_HelixGroup._as(_this._design_main$_cachedTypedProps.get$design().groups); + J.$indexSet$ax(t5.get$props(t3), "DesignMainDNASequencesProps.groups", t4); + t4 = _this._design_main$_cachedTypedProps.get$design().geometry; + J.$indexSet$ax(t5.get$props(t3), "DesignMainDNASequencesProps.geometry", t4); + t4 = type$.legacy_BuiltList_legacy_Strand._as(_this._design_main$_cachedTypedProps.get$design().strands); + J.$indexSet$ax(t5.get$props(t3), "DesignMainDNASequencesProps.strands", t4); + t4 = type$.legacy_BuiltSet_legacy_int._as(_this._design_main$_cachedTypedProps.get$side_selected_helix_idxs()); + J.$indexSet$ax(t5.get$props(t3), string$.DesignMDNSss, t4); + t4 = _this._design_main$_cachedTypedProps; + t4 = t4.get$props(t4).$index(0, string$.DesignMPrdnu); + t4 = H._asStringS(t4 == null ? _null : t4); + J.$indexSet$ax(t5.get$props(t3), string$.DesignMDNSsdnu, t4); + t4 = _this._design_main$_cachedTypedProps; + t4 = t4.get$props(t4).$index(0, string$.DesignMPrdnh); + t4 = H._asNumS(t4 == null ? _null : t4); + J.$indexSet$ax(t5.get$props(t3), string$.DesignMDNSsdnh, t4); + t4 = _this._design_main$_cachedTypedProps; + t4 = t4.get$props(t4).$index(0, string$.DesignMPrdnv); + t4 = H._asNumS(t4 == null ? _null : t4); + J.$indexSet$ax(t5.get$props(t3), string$.DesignMDNSsdnv, t4); + t4 = _this._design_main$_cachedTypedProps; + t4 = t4.get$props(t4).$index(0, string$.DesignMPri); + t4 = H._asBoolS(t4 == null ? _null : t4); + J.$indexSet$ax(t5.get$props(t3), string$.DesignMDNSsi, t4); + t4 = _this._design_main$_cachedTypedProps; + t4 = t4.get$props(t4).$index(0, string$.DesignMPre); + if (t4 == null) + t4 = _null; + type$.legacy_ExportSvg._as(t4); + J.$indexSet$ax(t5.get$props(t3), string$.DesignMDNSse, t4); + t4 = _this._design_main$_cachedTypedProps.get$only_display_selected_helices(); + J.$indexSet$ax(t5.get$props(t3), string$.DesignMDNSso, t4); + t4 = type$.legacy_BuiltMap_of_legacy_int_and_legacy_Point_legacy_num._as(_this._design_main$_cachedTypedProps.get$helix_idx_to_svg_position_map()); + J.$indexSet$ax(t5.get$props(t3), string$.DesignMDNSsh, t4); + t4 = _this._design_main$_cachedTypedProps; + t4 = t4.get$props(t4).$index(0, string$.DesignMPrdia); + t4 = H._asBoolS(t4 == null ? _null : t4); + J.$indexSet$ax(t5.get$props(t3), string$.DesignMDNSsdia, t4); + t4 = _this._design_main$_cachedTypedProps; + t4 = t4.get$props(t4).$index(0, string$.DesignMPrr); + t4 = H._asBoolS(t4 == null ? _null : t4); + J.$indexSet$ax(t5.get$props(t3), string$.DesignMDNSsr, t4); + t4 = _this._design_main$_cachedTypedProps; + t4 = t4.get$props(t4).$index(0, string$.DesignMPrdip_r); + t4 = H._asBoolS(t4 == null ? _null : t4); + J.$indexSet$ax(t5.get$props(t3), string$.DesignMDNSsdip, t4); + t5.set$key(t3, "dna-sequences"); + t2.push(t3.call$0()); + } + if (H.boolConversionCheck(_this._design_main$_cachedTypedProps.get$show_loopout_extension_length())) { + t3 = Z.design_main_loopout_extension_lengths___$DesignMainLoopoutExtensionLengths$closure().call$0(); + t4 = _this._design_main$_cachedTypedProps.get$design().geometry; + t3.toString; + t5 = J.getInterceptor$x(t3); + J.$indexSet$ax(t5.get$props(t3), string$.DesignMLEsg, t4); + t4 = type$.legacy_BuiltList_legacy_Strand._as(_this._design_main$_cachedTypedProps.get$design().strands); + J.$indexSet$ax(t5.get$props(t3), string$.DesignMLEsst, t4); + t4 = _this._design_main$_cachedTypedProps.get$show_loopout_extension_length(); + J.$indexSet$ax(t5.get$props(t3), string$.DesignMLEssh, t4); + t5.set$key(t3, "loopout-extension-length"); + t2.push(t3.call$0()); + } + t3 = _this._design_main$_cachedTypedProps; + t3 = t3.get$props(t3).$index(0, "DesignMainPropsMixin.show_slice_bar"); + if (H.boolConversionCheck(H._asBoolS(t3 == null ? _null : t3)) && _this._design_main$_cachedTypedProps.get$slice_bar_offset() != null) { + t3 = M.design_main_slice_bar___$DesignMainSliceBar$closure().call$0(); + t4 = _this._design_main$_cachedTypedProps.get$design().helices; + t3.toString; + type$.legacy_BuiltMap_of_legacy_int_and_legacy_Helix._as(t4); + t5 = J.getInterceptor$x(t3); + J.$indexSet$ax(t5.get$props(t3), "DesignMainSliceBarProps.helices", t4); + t4 = type$.legacy_BuiltMap_of_legacy_String_and_legacy_HelixGroup._as(_this._design_main$_cachedTypedProps.get$design().groups); + J.$indexSet$ax(t5.get$props(t3), "DesignMainSliceBarProps.groups", t4); + t4 = type$.legacy_BuiltMap_of_legacy_String_and_legacy_BuiltList_legacy_int._as(_this._design_main$_cachedTypedProps.get$design().get$helix_idxs_in_group()); + J.$indexSet$ax(t5.get$props(t3), string$.DesignMSlhs, t4); + t4 = _this._design_main$_cachedTypedProps.get$design().geometry; + J.$indexSet$ax(t5.get$props(t3), "DesignMainSliceBarProps.geometry", t4); + t4 = type$.legacy_BuiltSet_legacy_int._as(_this._design_main$_cachedTypedProps.get$side_selected_helix_idxs()); + J.$indexSet$ax(t5.get$props(t3), string$.DesignMSls, t4); + t4 = _this._design_main$_cachedTypedProps.get$only_display_selected_helices(); + J.$indexSet$ax(t5.get$props(t3), string$.DesignMSlo, t4); + t4 = _this._design_main$_cachedTypedProps.get$slice_bar_offset(); + J.$indexSet$ax(t5.get$props(t3), "DesignMainSliceBarProps.slice_bar_offset", t4); + t4 = _this._design_main$_cachedTypedProps; + t4 = t4.get$props(t4).$index(0, string$.DesignMPrdipe); + t4 = H._asStringS(t4 == null ? _null : t4); + J.$indexSet$ax(t5.get$props(t3), string$.DesignMSld, t4); + t4 = type$.legacy_BuiltMap_of_legacy_int_and_legacy_Point_legacy_num._as(_this._design_main$_cachedTypedProps.get$helix_idx_to_svg_position_map()); + J.$indexSet$ax(t5.get$props(t3), string$.DesignMSlh_, t4); + t5.set$key(t3, "slice-bar"); + t2.push(t3.call$0()); + } + t3 = $.$get$ConnectedPotentialCrossoverView().call$0(); + t3.toString; + t4 = J.getInterceptor$x(t3); + J.$indexSet$ax(t4.get$props(t3), "PotentialCrossoverViewProps.id", "potential-crossover-main"); + t4.set$key(t3, "potential-crossover"); + t2.push(t3.call$0()); + t3 = $.$get$ConnectedPotentialExtensionsView().call$0(); + t3.toString; + t4 = J.getInterceptor$x(t3); + J.$indexSet$ax(t4.get$props(t3), "PotentialExtensionsViewProps.id", "potential-extensions-main"); + t4.set$key(t3, "potential-extensions"); + t2.push(t3.call$0()); + t3 = $.$get$ConnectedSelectionBoxView().call$0(); + t3.set$stroke_width_getter(new V.DesignMainComponent_render_closure4()); + t3.set$is_main(true); + t4 = J.getInterceptor$x(t3); + t4.set$id(t3, "selection-box-main"); + t4.set$key(t3, "selection-box"); + t2.push(t3.call$0()); + t3 = $.$get$ConnectedSelectionRopeView().call$0(); + t3.toString; + t4 = type$.legacy_legacy_num_Function._as(new V.DesignMainComponent_render_closure5()); + t5 = J.getInterceptor$x(t3); + J.$indexSet$ax(t5.get$props(t3), string$.SelectR, t4); + J.$indexSet$ax(t5.get$props(t3), "SelectionRopeViewProps.is_main", true); + J.$indexSet$ax(t5.get$props(t3), "SelectionRopeViewProps.id", "selection-rope-main"); + t5.set$key(t3, "selection-rope"); + t2.push(t3.call$0()); + t3 = _this._design_main$_cachedTypedProps; + t3 = t3.get$props(t3).$index(0, string$.DesignMPrhg); + if (H.boolConversionCheck(H._asBoolS(t3 == null ? _null : t3))) { + t3 = $.$get$ConnectedHelixGroupMoving().call$0(); + t4 = _this._design_main$_cachedTypedProps.get$side_selected_helix_idxs(); + t3.toString; + type$.legacy_BuiltSet_legacy_int._as(t4); + t5 = J.getInterceptor$x(t3); + J.$indexSet$ax(t5.get$props(t3), string$.HelixGs, t4); + t4 = _this._design_main$_cachedTypedProps.get$only_display_selected_helices(); + J.$indexSet$ax(t5.get$props(t3), string$.HelixGo, t4); + t4 = _this._design_main$_cachedTypedProps.get$show_helix_circles(); + J.$indexSet$ax(t5.get$props(t3), "HelixGroupMovingProps.show_helix_circles", t4); + t4 = type$.legacy_BuiltMap_of_legacy_int_and_legacy_Point_legacy_num._as(_this._design_main$_cachedTypedProps.get$helix_idx_to_svg_position_map()); + J.$indexSet$ax(t5.get$props(t3), string$.HelixGh, t4); + t5.set$key(t3, "helix-group-moving"); + t2.push(t3.call$0()); + } + t3 = $.$get$ConnectedDesignMainStrandsMoving().call$0(); + J.set$key$z(t3, "strands-moving"); + t2.push(t3.call$0()); + t3 = $.$get$ConnectedDesignMainDomainsMoving().call$0(); + J.set$key$z(t3, "domains-moving"); + t2.push(t3.call$0()); + main_elt = t1.call$1(t2); + return main_elt; + } + }; + V.DesignMainComponent_render_closure.prototype = { + call$2: function(helix_idx, svg_position) { + return new P.MapEntry(H._asIntS(helix_idx), type$.legacy_Point_legacy_num._as(svg_position).y, type$.MapEntry_of_legacy_int_and_legacy_num); + }, + $signature: 43 + }; + V.DesignMainComponent_render_closure0.prototype = { + call$2: function(helix_idx, svg_position) { + return new P.MapEntry(H._asIntS(helix_idx), type$.legacy_Point_legacy_num._as(svg_position).y, type$.MapEntry_of_legacy_int_and_legacy_num); + }, + $signature: 43 + }; + V.DesignMainComponent_render_closure1.prototype = { + call$2: function(helix_idx, svg_position) { + return new P.MapEntry(H._asIntS(helix_idx), type$.legacy_Point_legacy_num._as(svg_position).y, type$.MapEntry_of_legacy_int_and_legacy_num); + }, + $signature: 43 + }; + V.DesignMainComponent_render_closure2.prototype = { + call$2: function(helix_idx, svg_position) { + return new P.MapEntry(H._asIntS(helix_idx), type$.legacy_Point_legacy_num._as(svg_position).y, type$.MapEntry_of_legacy_int_and_legacy_num); + }, + $signature: 43 + }; + V.DesignMainComponent_render_closure3.prototype = { + call$2: function(helix_idx, svg_position) { + return new P.MapEntry(H._asIntS(helix_idx), type$.legacy_Point_legacy_num._as(svg_position).y, type$.MapEntry_of_legacy_int_and_legacy_num); + }, + $signature: 43 + }; + V.DesignMainComponent_render_closure4.prototype = { + call$0: function() { + var t1 = self.current_zoom_main(); + if (typeof t1 !== "number") + return H.iae(t1); + return 2 / t1; + }, + "call*": "call$0", + $requiredArgCount: 0, + $signature: 65 + }; + V.DesignMainComponent_render_closure5.prototype = { + call$0: function() { + var t1 = self.current_zoom_main(); + if (typeof t1 !== "number") + return H.iae(t1); + return 2 / t1; + }, + "call*": "call$0", + $requiredArgCount: 0, + $signature: 65 + }; + V.$DesignMainComponentFactory_closure.prototype = { + call$0: function() { + return new V._$DesignMainComponent(null); + }, + "call*": "call$0", + $requiredArgCount: 0, + $signature: 428 + }; + V._$$DesignMainProps.prototype = { + get$$$isClassGenerated: function() { + return true; + }, + get$componentFactory: function() { + var t1 = this.componentFactory; + return t1 == null ? $.$get$$DesignMainComponentFactory() : t1; + }, + $isDesignMainProps: 1 + }; + V._$$DesignMainProps$PlainMap.prototype = { + get$props: function(_) { + return this._design_main$_props; + } + }; + V._$$DesignMainProps$JsMap.prototype = { + get$props: function(_) { + return this._design_main$_props; + } + }; + V._$DesignMainComponent.prototype = { + get$props: function(_) { + return this._design_main$_cachedTypedProps; + }, + set$props: function(_, value) { + this.props = value; + this._design_main$_cachedTypedProps = V._$$DesignMainProps$JsMap$(R.getBackingMap(value)); + }, + get$displayName: function(_) { + return "DesignMain"; + }, + get$$$defaultConsumedProps: function() { + return C.Map_SCwEo.get$values(C.Map_SCwEo); + } + }; + V.$DesignMainPropsMixin.prototype = { + get$design: function() { + var t1 = J.$index$asx(this.get$props(this), "DesignMainPropsMixin.design"); + if (t1 == null) + t1 = null; + return type$.legacy_Design._as(t1); + }, + get$side_selected_helix_idxs: function() { + var t1 = J.$index$asx(this.get$props(this), string$.DesignMPrsi); + if (t1 == null) + t1 = null; + return type$.legacy_BuiltSet_legacy_int._as(t1); + }, + get$strand_creation: function() { + var t1 = J.$index$asx(this.get$props(this), "DesignMainPropsMixin.strand_creation"); + if (t1 == null) + t1 = null; + return type$.legacy_StrandCreation._as(t1); + }, + set$has_error: function(value) { + J.$indexSet$ax(this.get$props(this), "DesignMainPropsMixin.has_error", value); + }, + get$show_dna: function() { + var t1 = J.$index$asx(this.get$props(this), "DesignMainPropsMixin.show_dna"); + return H._asBoolS(t1 == null ? null : t1); + }, + get$base_pair_display_type: function() { + var t1 = J.$index$asx(this.get$props(this), string$.DesignMPrb); + if (t1 == null) + t1 = null; + return type$.legacy_BasePairDisplayType._as(t1); + }, + get$show_base_pair_lines_with_mismatches: function() { + var t1 = J.$index$asx(this.get$props(this), string$.DesignMPrshb_); + return H._asBoolS(t1 == null ? null : t1); + }, + get$only_display_selected_helices: function() { + var t1 = J.$index$asx(this.get$props(this), string$.DesignMPro); + return H._asBoolS(t1 == null ? null : t1); + }, + get$show_helix_circles: function() { + var t1 = J.$index$asx(this.get$props(this), "DesignMainPropsMixin.show_helix_circles"); + return H._asBoolS(t1 == null ? null : t1); + }, + get$show_loopout_extension_length: function() { + var t1 = J.$index$asx(this.get$props(this), string$.DesignMPrshl); + return H._asBoolS(t1 == null ? null : t1); + }, + get$slice_bar_offset: function() { + var t1 = J.$index$asx(this.get$props(this), "DesignMainPropsMixin.slice_bar_offset"); + return H._asIntS(t1 == null ? null : t1); + }, + get$helix_idx_to_svg_position_map: function() { + var t1 = J.$index$asx(this.get$props(this), string$.DesignMPrhi); + if (t1 == null) + t1 = null; + return type$.legacy_BuiltMap_of_legacy_int_and_legacy_Point_legacy_num._as(t1); + } + }; + V.__$$DesignMainProps_UiProps_DesignMainPropsMixin.prototype = {}; + V.__$$DesignMainProps_UiProps_DesignMainPropsMixin_$DesignMainPropsMixin.prototype = {}; + Q.ConnectedDesignMainArrows_closure.prototype = { + call$1: function(state) { + var t1, t2, t3, t4; + type$.legacy_AppState._as(state); + t1 = Q.design_main_arrows___$DesignMainArrows$closure().call$0(); + t2 = state.ui_state.storables; + t3 = t2.invert_y; + t1.toString; + t4 = J.getInterceptor$x(t1); + J.$indexSet$ax(t4.get$props(t1), "DesignMainArrowsProps.invert_y", t3); + t2 = t2.show_helices_axis_arrows; + J.$indexSet$ax(t4.get$props(t1), string$.DesignMA, t2); + return t1; + }, + $signature: 429 + }; + Q.DesignMainArrowsProps.prototype = {$isMap: 1, $isUiProps0: 1, $isUiProps: 1}; + Q.DesignMainArrowsComponent.prototype = { + render$0: function(_) { + var t2, t3, t4, t5, t6, _this = this, _null = null, _s4_ = "none", _s3_ = "red", + _s10_ = "axis-arrow", + _s8_ = "x_circle", + _s63_ = string$.M_0_0_, + svg_center_y = H.boolConversionCheck(_this._design_main_arrows$_cachedTypedProps.get$invert_y()) ? 66.5 : 20, + t1 = _this._design_main_arrows$_cachedTypedProps; + t1 = t1.get$props(t1).$index(0, string$.DesignMA); + if (H._asBoolS(t1 == null ? _null : t1) === true) { + t1 = A.SvgProps$($.$get$g(), _null); + t1.set$className(0, "arrow-group"); + t1.set$transform(0, "translate(20, " + H.S(svg_center_y) + ")"); + t2 = A.SvgProps$($.$get$title(), _null); + t2.set$key(0, "title"); + t3 = type$.JSArray_legacy_ReactElement; + t2 = H.setRuntimeTypeInfo([t2.call$1(H.boolConversionCheck(_this._design_main_arrows$_cachedTypedProps.get$invert_y()) ? "\u29bb - Into the screen" : "\u2299 - Out of the screen")], t3); + if (H.boolConversionCheck(_this._design_main_arrows$_cachedTypedProps.get$invert_y())) { + t4 = A.SvgProps$($.$get$path(), _null); + t4.set$key(0, "x"); + t4.set$d(0, string$.M__6_3); + t4.set$fill(0, _s4_); + t4.set$stroke(0, _s3_); + t4.set$className(0, _s10_); + t4 = t4.call$0(); + t5 = A.SvgProps$($.$get$circle(), _null); + t5.set$key(0, _s8_); + t5.set$r(0, 10); + t5.set$stroke(0, _s3_); + t5.set$fill(0, _s4_); + t5.set$className(0, _s10_); + C.JSArray_methods.addAll$1(t2, H.setRuntimeTypeInfo([t4, t5.call$0()], t3)); + } + t4 = A.SvgProps$($.$get$path(), _null); + t4.set$key(0, "z_path"); + t4.set$transform(0, "rotate(90)"); + t4.set$d(0, _s63_); + t4.set$fill(0, _s4_); + t4.set$stroke(0, "blue"); + t4.set$className(0, _s10_); + t2.push(t4.call$0()); + t4 = A.SvgProps$($.$get$path(), _null); + t4.set$key(0, "y_path"); + t4.set$transform(0, H.boolConversionCheck(_this._design_main_arrows$_cachedTypedProps.get$invert_y()) ? "rotate(0)" : "rotate(180)"); + t4.set$d(0, _s63_); + t4.set$fill(0, _s4_); + t4.set$stroke(0, "green"); + t4.set$className(0, _s10_); + t2.push(t4.call$0()); + if (!H.boolConversionCheck(_this._design_main_arrows$_cachedTypedProps.get$invert_y())) { + t4 = A.SvgProps$($.$get$circle(), _null); + t4.set$key(0, "dot"); + t4.set$r(0, "2"); + t4.set$stroke(0, _s3_); + t4.set$fill(0, _s3_); + t4.set$className(0, _s10_); + t4 = t4.call$0(); + t5 = A.SvgProps$($.$get$circle(), _null); + t5.set$key(0, _s8_); + t5.set$r(0, 10); + t5.set$stroke(0, _s3_); + t5.set$fill(0, _s4_); + t5.set$className(0, _s10_); + C.JSArray_methods.addAll$1(t2, H.setRuntimeTypeInfo([t4, t5.call$0()], t3)); + } + t3 = A.SvgProps$($.$get$text(), _null); + t3.set$key(0, "x-axis-label"); + t3.set$x(0, 10); + t3.set$y(0, H.boolConversionCheck(_this._design_main_arrows$_cachedTypedProps.get$invert_y()) ? -10 : 27); + t4 = type$.legacy_String; + t5 = type$.dynamic; + t6 = type$.legacy_Map_of_legacy_String_and_dynamic; + t3.set$_raw$DomProps$style(t6._as(P.LinkedHashMap_LinkedHashMap$_literal(["fill", "red"], t4, t5))); + t2.push(t3.call$1("X")); + t3 = A.SvgProps$($.$get$text(), _null); + t3.set$key(0, "y-axis-label"); + t3.set$x(0, -6); + t3.set$y(0, H.boolConversionCheck(_this._design_main_arrows$_cachedTypedProps.get$invert_y()) ? -48.5 : 61.5); + t3.set$_raw$DomProps$style(t6._as(P.LinkedHashMap_LinkedHashMap$_literal(["fill", "green"], t4, t5))); + t2.push(t3.call$1("Y")); + t3 = A.SvgProps$($.$get$text(), _null); + t3.set$key(0, "z-axis-label"); + t3.set$x(0, 48.5); + t3.set$y(0, 6.5); + t3.set$_raw$DomProps$style(t6._as(P.LinkedHashMap_LinkedHashMap$_literal(["fill", "blue"], t4, t5))); + t2.push(t3.call$1("Z")); + return t1.call$1(t2); + } else + return A.SvgProps$($.$get$g(), _null).call$0(); + } + }; + Q.$DesignMainArrowsComponentFactory_closure0.prototype = { + call$0: function() { + return new Q._$DesignMainArrowsComponent0(null); + }, + "call*": "call$0", + $requiredArgCount: 0, + $signature: 430 + }; + Q._$$DesignMainArrowsProps.prototype = { + get$$$isClassGenerated: function() { + return true; + }, + get$componentFactory: function() { + var t1 = this.componentFactory; + return t1 == null ? $.$get$$DesignMainArrowsComponentFactory0() : t1; + } + }; + Q._$$DesignMainArrowsProps$PlainMap.prototype = { + get$props: function(_) { + return this._design_main_arrows$_props; + } + }; + Q._$$DesignMainArrowsProps$JsMap.prototype = { + get$props: function(_) { + return this._design_main_arrows$_props; + } + }; + Q._$DesignMainArrowsComponent0.prototype = { + get$props: function(_) { + return this._design_main_arrows$_cachedTypedProps; + }, + set$props: function(_, value) { + this.props = value; + this._design_main_arrows$_cachedTypedProps = Q._$$DesignMainArrowsProps$JsMap$(R.getBackingMap(value)); + }, + get$displayName: function(_) { + return "DesignMainArrows"; + }, + get$$$defaultConsumedProps: function() { + return C.Map_gk6D9.get$values(C.Map_gk6D9); + } + }; + Q.$DesignMainArrowsProps.prototype = { + get$invert_y: function() { + var t1 = J.$index$asx(this.get$props(this), "DesignMainArrowsProps.invert_y"); + return H._asBoolS(t1 == null ? null : t1); + } + }; + Q.__$$DesignMainArrowsProps_UiProps_DesignMainArrowsProps.prototype = {}; + Q.__$$DesignMainArrowsProps_UiProps_DesignMainArrowsProps_$DesignMainArrowsProps.prototype = {}; + Z.DesignMainBasePairLinesProps.prototype = {$isMap: 1, $isUiProps0: 1, $isUiProps: 1}; + Z.DesignMainBasePairLinesComponent.prototype = { + render$0: function(_) { + var base_pair_lines_components, + t1 = $.app.store; + t1 = t1.get$state(t1).design.strands; + t1.toString; + base_pair_lines_components = this.create_base_pair_lines_components$1(X.BuiltSet_BuiltSet$from(t1, t1.$ti._precomputed1)); + t1 = A.SvgProps$($.$get$g(), null); + t1.set$className(0, "base-pair-lines-main-view"); + return t1.call$1(base_pair_lines_components); + }, + create_base_pair_lines_components$1: function(strands) { + var t1, base_pair_lines_components, t2, t3, base_pairs, t4, t5, t6, t7, t8, t9, helix, t10, group, t11, translate_svg, transform_str, helix_components, svg_position_y, base_svg_forward_pos, base_svg_reverse_pos, t12, t13, _this = this, _null = null, + _s35_ = "DesignMainBasePairLinesProps.design"; + type$.legacy_BuiltSet_legacy_Strand._as(strands); + t1 = type$.JSArray_legacy_ReactElement; + base_pair_lines_components = H.setRuntimeTypeInfo([], t1); + t2 = _this._design_main_base_pair_lines$_cachedTypedProps; + t2 = t2.get$props(t2).$index(0, string$.DesignMBLw); + t2 = H.boolConversionCheck(H._asBoolS(t2 == null ? _null : t2)); + t3 = _this._design_main_base_pair_lines$_cachedTypedProps; + base_pairs = t2 ? t3.get$design()._base_pairs$2(true, strands) : t3.get$design()._base_pairs$2(false, strands); + for (t2 = J.get$iterator$ax(base_pairs.get$keys(base_pairs)), t3 = type$.legacy_BuiltSet_legacy_int, t4 = base_pairs._map$_map, t5 = J.getInterceptor$asx(t4), t6 = type$.legacy_BuiltMap_of_legacy_int_and_legacy_num, t7 = type$.legacy_Design; t2.moveNext$0();) { + t8 = t2.get$current(t2); + t9 = _this._design_main_base_pair_lines$_cachedTypedProps; + t9 = t9.get$props(t9).$index(0, string$.DesignMBLo); + if (H.boolConversionCheck(H._asBoolS(t9 == null ? _null : t9))) { + t9 = _this._design_main_base_pair_lines$_cachedTypedProps; + t9 = t9.get$props(t9).$index(0, string$.DesignMBLs); + t9 = t3._as(t9 == null ? _null : t9)._set.contains$1(0, t8); + } else + t9 = true; + if (t9) { + t9 = _this._design_main_base_pair_lines$_cachedTypedProps; + t9 = t9.get$props(t9).$index(0, _s35_); + helix = J.$index$asx(t7._as(t9 == null ? _null : t9).helices._map$_map, t8); + t9 = _this._design_main_base_pair_lines$_cachedTypedProps; + t9 = t9.get$props(t9).$index(0, _s35_); + t9 = t7._as(t9 == null ? _null : t9).groups; + t10 = helix.group; + group = J.$index$asx(t9._map$_map, t10); + t10 = _this._design_main_base_pair_lines$_cachedTypedProps; + t10 = t10.get$props(t10).$index(0, _s35_); + t9 = t7._as(t10 == null ? _null : t10).geometry; + t10 = group.position; + t11 = t9.__nm_to_svg_pixels; + t9 = t11 == null ? t9.__nm_to_svg_pixels = N.Geometry.prototype.get$nm_to_svg_pixels.call(t9) : t11; + translate_svg = X.Position3D_Position3D(t10.x * t9, t10.y * t9, t10.z * t9); + transform_str = "translate(" + H.S(translate_svg.z) + ", " + H.S(translate_svg.y) + ") rotate(" + H.S(group.pitch) + ")"; + helix_components = H.setRuntimeTypeInfo([], t1); + for (t9 = J.get$iterator$ax(t5.$index(t4, t8)._list); t9.moveNext$0();) { + t10 = t9.get$current(t9); + t11 = _this._design_main_base_pair_lines$_cachedTypedProps; + t11 = t11.get$props(t11).$index(0, string$.DesignMBLh); + svg_position_y = J.$index$asx(t6._as(t11 == null ? _null : t11)._map$_map, t8); + base_svg_forward_pos = helix.svg_base_pos$3(t10, true, svg_position_y); + base_svg_reverse_pos = helix.svg_base_pos$3(t10, false, svg_position_y); + t11 = $.$get$line(); + t12 = {}; + t12 = new L.JsBackedMap(t12); + t11 = new A.SvgProps(t11, t12, _null, _null); + t11.get$$$isClassGenerated(); + t13 = t12.jsObject; + t13.id = F.DartValueWrapper_wrapIfNeeded("base_pair-" + H.S(t8) + "-" + H.S(t10)); + t13.x1 = F.DartValueWrapper_wrapIfNeeded(base_svg_forward_pos.x); + t13.y1 = F.DartValueWrapper_wrapIfNeeded(base_svg_forward_pos.y); + t13.x2 = F.DartValueWrapper_wrapIfNeeded(base_svg_reverse_pos.x); + t13.y2 = F.DartValueWrapper_wrapIfNeeded(base_svg_reverse_pos.y); + t13.className = F.DartValueWrapper_wrapIfNeeded("base-pair-line"); + t13.stroke = F.DartValueWrapper_wrapIfNeeded("black"); + t10 = "base-pair-line-H" + H.S(t8) + "-" + H.S(t10); + t12.$indexSet(0, "key", t10); + C.JSArray_methods.add$1(helix_components, t11.call$0()); + } + t9 = $.$get$g(); + t10 = {}; + t10 = new L.JsBackedMap(t10); + t9 = new A.SvgProps(t9, t10, _null, _null); + t9.get$$$isClassGenerated(); + t11 = t10.jsObject; + t11.transform = F.DartValueWrapper_wrapIfNeeded(transform_str); + t11.className = F.DartValueWrapper_wrapIfNeeded("base-pair-lines-components-in-helix"); + t8 = "base-pair-lines-components-in-helix-H" + H.S(t8); + t10.$indexSet(0, "key", t8); + C.JSArray_methods.add$1(base_pair_lines_components, t9.call$1(helix_components)); + } + } + return base_pair_lines_components; + } + }; + Z.$DesignMainBasePairLinesComponentFactory_closure.prototype = { + call$0: function() { + return new Z._$DesignMainBasePairLinesComponent(null); + }, + "call*": "call$0", + $requiredArgCount: 0, + $signature: 431 + }; + Z._$$DesignMainBasePairLinesProps.prototype = { + get$$$isClassGenerated: function() { + return true; + }, + get$componentFactory: function() { + var t1 = this.componentFactory; + return t1 == null ? $.$get$$DesignMainBasePairLinesComponentFactory() : t1; + } + }; + Z._$$DesignMainBasePairLinesProps$PlainMap.prototype = { + get$props: function(_) { + return this._design_main_base_pair_lines$_props; + } + }; + Z._$$DesignMainBasePairLinesProps$JsMap.prototype = { + get$props: function(_) { + return this._design_main_base_pair_lines$_props; + } + }; + Z._$DesignMainBasePairLinesComponent.prototype = { + get$props: function(_) { + return this._design_main_base_pair_lines$_cachedTypedProps; + }, + set$props: function(_, value) { + this.props = value; + this._design_main_base_pair_lines$_cachedTypedProps = Z._$$DesignMainBasePairLinesProps$JsMap$(R.getBackingMap(value)); + }, + get$displayName: function(_) { + return "DesignMainBasePairLines"; + }, + get$$$defaultConsumedProps: function() { + return C.Map_67ECL.get$values(C.Map_67ECL); + } + }; + Z.$DesignMainBasePairLinesProps.prototype = { + get$design: function() { + var t1 = J.$index$asx(this.get$props(this), "DesignMainBasePairLinesProps.design"); + if (t1 == null) + t1 = null; + return type$.legacy_Design._as(t1); + } + }; + Z._DesignMainBasePairLinesComponent_UiComponent2_PureComponent.prototype = {}; + Z.__$$DesignMainBasePairLinesProps_UiProps_DesignMainBasePairLinesProps.prototype = {}; + Z.__$$DesignMainBasePairLinesProps_UiProps_DesignMainBasePairLinesProps_$DesignMainBasePairLinesProps.prototype = {}; + V.DesignMainBasePairRectangleProps.prototype = {$isMap: 1, $isUiProps0: 1, $isUiProps: 1}; + V.DesignMainBasePairRectangleComponent.prototype = { + render$0: function(_) { + var base_pair_lines_components, + t1 = $.app.store; + t1 = t1.get$state(t1).design.strands; + t1.toString; + base_pair_lines_components = this.create_base_pair_lines_components$1(X.BuiltSet_BuiltSet$from(t1, t1.$ti._precomputed1)); + t1 = A.SvgProps$($.$get$g(), null); + t1.set$className(0, "base-pair-lines-main-view"); + return t1.call$1(base_pair_lines_components); + }, + create_base_pair_lines_components$1: function(strands) { + var t1, base_pair_lines_components, t2, t3, base_pairs, t4, t5, t6, t7, t8, t9, t10, helix, t11, group, t12, translate_svg, transform_str, helix_components, last_svg_forward_pos, last_offset, svg_position_y, base_svg_forward_pos, base_svg_reverse_pos, t13, t14, t15, t16, t17, base_pair_ele, _this = this, _null = null, + _s39_ = "DesignMainBasePairRectangleProps.design"; + type$.legacy_BuiltSet_legacy_Strand._as(strands); + t1 = type$.JSArray_legacy_ReactElement; + base_pair_lines_components = H.setRuntimeTypeInfo([], t1); + t2 = _this._design_main_base_pair_rectangle$_cachedTypedProps; + t2 = t2.get$props(t2).$index(0, string$.DesignMBRw); + t2 = H.boolConversionCheck(H._asBoolS(t2 == null ? _null : t2)); + t3 = _this._design_main_base_pair_rectangle$_cachedTypedProps; + base_pairs = t2 ? t3.get$design()._base_pairs$2(true, strands) : t3.get$design()._base_pairs$2(false, strands); + for (t2 = J.get$iterator$ax(base_pairs.get$keys(base_pairs)), t3 = type$.legacy_BuiltSet_legacy_int, t4 = base_pairs._map$_map, t5 = J.getInterceptor$asx(t4), t6 = type$.legacy_ReactElement, t7 = type$.legacy_BuiltMap_of_legacy_int_and_legacy_num, t8 = type$.legacy_Design; t2.moveNext$0();) { + t9 = t2.get$current(t2); + t10 = _this._design_main_base_pair_rectangle$_cachedTypedProps; + t10 = t10.get$props(t10).$index(0, string$.DesignMBRo); + if (H.boolConversionCheck(H._asBoolS(t10 == null ? _null : t10))) { + t10 = _this._design_main_base_pair_rectangle$_cachedTypedProps; + t10 = t10.get$props(t10).$index(0, string$.DesignMBRs); + t10 = t3._as(t10 == null ? _null : t10)._set.contains$1(0, t9); + } else + t10 = true; + if (t10) { + t10 = _this._design_main_base_pair_rectangle$_cachedTypedProps; + t10 = t10.get$props(t10).$index(0, _s39_); + helix = J.$index$asx(t8._as(t10 == null ? _null : t10).helices._map$_map, t9); + t10 = _this._design_main_base_pair_rectangle$_cachedTypedProps; + t10 = t10.get$props(t10).$index(0, _s39_); + t10 = t8._as(t10 == null ? _null : t10).groups; + t11 = helix.group; + group = J.$index$asx(t10._map$_map, t11); + t11 = _this._design_main_base_pair_rectangle$_cachedTypedProps; + t11 = t11.get$props(t11).$index(0, _s39_); + t10 = t8._as(t11 == null ? _null : t11).geometry; + t11 = group.position; + t12 = t10.__nm_to_svg_pixels; + t10 = t12 == null ? t10.__nm_to_svg_pixels = N.Geometry.prototype.get$nm_to_svg_pixels.call(t10) : t12; + translate_svg = X.Position3D_Position3D(t11.x * t10, t11.y * t10, t11.z * t10); + transform_str = "translate(" + H.S(translate_svg.z) + ", " + H.S(translate_svg.y) + ") rotate(" + H.S(group.pitch) + ")"; + helix_components = H.setRuntimeTypeInfo([], t1); + for (t10 = J.get$iterator$ax(t5.$index(t4, t9)._list), last_svg_forward_pos = _null, last_offset = -2; t10.moveNext$0(); last_svg_forward_pos = base_svg_forward_pos, last_offset = t11) { + t11 = t10.get$current(t10); + t12 = _this._design_main_base_pair_rectangle$_cachedTypedProps; + t12 = t12.get$props(t12).$index(0, string$.DesignMBRh); + svg_position_y = J.$index$asx(t7._as(t12 == null ? _null : t12)._map$_map, t9); + base_svg_forward_pos = helix.svg_base_pos$3(t11, true, svg_position_y); + base_svg_reverse_pos = helix.svg_base_pos$3(t11, false, svg_position_y); + if (typeof t11 !== "number") + return t11.$sub(); + if (t11 - last_offset === 1) { + t12 = $.$get$rect(); + t13 = {}; + t13 = new L.JsBackedMap(t13); + t12 = new A.SvgProps(t12, t13, _null, _null); + t12.get$$$isClassGenerated(); + t14 = t13.jsObject; + t14.id = F.DartValueWrapper_wrapIfNeeded("base_pair-" + H.S(t9) + "-" + t11); + t15 = last_svg_forward_pos.x; + if (typeof t15 !== "number") + return t15.$sub(); + t14.x = F.DartValueWrapper_wrapIfNeeded(t15 - 0.5); + t16 = base_svg_forward_pos.y; + t14.y = F.DartValueWrapper_wrapIfNeeded(t16); + t17 = base_svg_reverse_pos.x; + if (typeof t17 !== "number") + return t17.$sub(); + t14.width = F.DartValueWrapper_wrapIfNeeded(t17 - t15 + 0.8); + t15 = base_svg_reverse_pos.y; + if (typeof t15 !== "number") + return t15.$sub(); + if (typeof t16 !== "number") + return H.iae(t16); + t14.height = F.DartValueWrapper_wrapIfNeeded(t15 - t16); + t14.className = F.DartValueWrapper_wrapIfNeeded("base-pair-rect"); + t14.fill = F.DartValueWrapper_wrapIfNeeded("grey"); + t14 = "base-pair-rect-H" + H.S(t9) + "-" + t11; + t13.$indexSet(0, "key", t14); + base_pair_ele = t12.call$0(); + } else { + t12 = $.$get$line(); + t13 = {}; + t13 = new L.JsBackedMap(t13); + t12 = new A.SvgProps(t12, t13, _null, _null); + t12.get$$$isClassGenerated(); + t14 = t13.jsObject; + t14.id = F.DartValueWrapper_wrapIfNeeded("base_pair-" + H.S(t9) + "-" + t11); + t14.x1 = F.DartValueWrapper_wrapIfNeeded(base_svg_forward_pos.x); + t14.y1 = F.DartValueWrapper_wrapIfNeeded(base_svg_forward_pos.y); + t14.x2 = F.DartValueWrapper_wrapIfNeeded(base_svg_reverse_pos.x); + t14.y2 = F.DartValueWrapper_wrapIfNeeded(base_svg_reverse_pos.y); + t14.className = F.DartValueWrapper_wrapIfNeeded("base-pair-line"); + t14.stroke = F.DartValueWrapper_wrapIfNeeded("grey"); + t14 = "base-pair-line-H" + H.S(t9) + "-" + t11; + t13.$indexSet(0, "key", t14); + base_pair_ele = t12.call$0(); + } + C.JSArray_methods.add$1(helix_components, t6._as(base_pair_ele)); + } + t10 = $.$get$g(); + t11 = {}; + t11 = new L.JsBackedMap(t11); + t10 = new A.SvgProps(t10, t11, _null, _null); + t10.get$$$isClassGenerated(); + t12 = t11.jsObject; + t12.transform = F.DartValueWrapper_wrapIfNeeded(transform_str); + t12.className = F.DartValueWrapper_wrapIfNeeded("base-pair-lines-components-in-helix"); + t9 = "base-pair-lines-components-in-helix-H" + H.S(t9); + t11.$indexSet(0, "key", t9); + C.JSArray_methods.add$1(base_pair_lines_components, t10.call$1(helix_components)); + } + } + return base_pair_lines_components; + } + }; + V.$DesignMainBasePairRectangleComponentFactory_closure.prototype = { + call$0: function() { + return new V._$DesignMainBasePairRectangleComponent(null); + }, + "call*": "call$0", + $requiredArgCount: 0, + $signature: 432 + }; + V._$$DesignMainBasePairRectangleProps.prototype = { + get$$$isClassGenerated: function() { + return true; + }, + get$componentFactory: function() { + var t1 = this.componentFactory; + return t1 == null ? $.$get$$DesignMainBasePairRectangleComponentFactory() : t1; + } + }; + V._$$DesignMainBasePairRectangleProps$PlainMap.prototype = { + get$props: function(_) { + return this._design_main_base_pair_rectangle$_props; + } + }; + V._$$DesignMainBasePairRectangleProps$JsMap.prototype = { + get$props: function(_) { + return this._design_main_base_pair_rectangle$_props; + } + }; + V._$DesignMainBasePairRectangleComponent.prototype = { + get$props: function(_) { + return this._design_main_base_pair_rectangle$_cachedTypedProps; + }, + set$props: function(_, value) { + this.props = value; + this._design_main_base_pair_rectangle$_cachedTypedProps = V._$$DesignMainBasePairRectangleProps$JsMap$(R.getBackingMap(value)); + }, + get$displayName: function(_) { + return "DesignMainBasePairRectangle"; + }, + get$$$defaultConsumedProps: function() { + return C.Map_ZRMrB.get$values(C.Map_ZRMrB); + } + }; + V.$DesignMainBasePairRectangleProps.prototype = { + get$design: function() { + var t1 = J.$index$asx(this.get$props(this), "DesignMainBasePairRectangleProps.design"); + if (t1 == null) + t1 = null; + return type$.legacy_Design._as(t1); + } + }; + V._DesignMainBasePairRectangleComponent_UiComponent2_PureComponent.prototype = {}; + V.__$$DesignMainBasePairRectangleProps_UiProps_DesignMainBasePairRectangleProps.prototype = {}; + V.__$$DesignMainBasePairRectangleProps_UiProps_DesignMainBasePairRectangleProps_$DesignMainBasePairRectangleProps.prototype = {}; + O.DesignMainDNAMismatchesProps.prototype = {$isMap: 1, $isUiProps0: 1, $isUiProps: 1}; + O.DesignMainDNAMismatchesComponent.prototype = { + render$0: function(_) { + var mismatch_components = this._design_main_dna_mismatches$_create_mismatch_components$0(), + t1 = A.SvgProps$($.$get$g(), null); + t1.set$className(0, "mismatches-main-view"); + return t1.call$1(mismatch_components); + }, + _design_main_dna_mismatches$_create_mismatch_components$0: function() { + var t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, ret, domain_components, t13, t14, helix, t15, base_svg_pos, key, group, translate_svg, transform_str, _this = this, _null = null, + _s35_ = "DesignMainDNAMismatchesProps.design", + t1 = type$.JSArray_legacy_ReactElement, + mismatch_components = H.setRuntimeTypeInfo([], t1), + keys = P.LinkedHashSet_LinkedHashSet$_empty(type$.legacy_String); + for (t2 = J.get$iterator$ax(_this._design_main_dna_mismatches$_cachedTypedProps.get$design().strands._list), t3 = type$.legacy_Design, t4 = type$.legacy_BuiltSet_legacy_int, t5 = type$.legacy_BuiltMap_of_legacy_int_and_legacy_num, t6 = type$.legacy_Point_legacy_num, t7 = type$.legacy_Mismatch; t2.moveNext$0();) { + t8 = t2.get$current(t2); + t9 = t8.__domains; + if (t9 == null) { + t9 = E.Strand.prototype.get$domains.call(t8); + t8.set$__domains(t9); + } + t9 = J.get$iterator$ax(t9._list); + for (; t9.moveNext$0();) { + t10 = t9.get$current(t9); + t11 = _this._design_main_dna_mismatches$_cachedTypedProps; + t11 = t11.get$props(t11).$index(0, _s35_); + t11 = t3._as(t11 == null ? _null : t11); + t12 = t11.__domain_mismatches_map; + if (t12 == null) { + t12 = N.Design.prototype.get$domain_mismatches_map.call(t11); + t11.set$__domain_mismatches_map(t12); + t11 = t12; + } else + t11 = t12; + ret = J.$index$asx(t11._map$_map, t10); + if (ret == null) + ret = D.BuiltList_BuiltList$from(C.List_empty, t7); + domain_components = H.setRuntimeTypeInfo([], t1); + for (t11 = J.get$iterator$ax(ret._list); t11.moveNext$0();) { + t12 = t11.get$current(t11); + t13 = _this._design_main_dna_mismatches$_cachedTypedProps; + t13 = t13.get$props(t13).$index(0, _s35_); + t13 = t3._as(t13 == null ? _null : t13).helices; + t14 = t10.helix; + helix = J.$index$asx(t13._map$_map, t14); + t13 = _this._design_main_dna_mismatches$_cachedTypedProps; + t13 = t13.get$props(t13).$index(0, string$.DesignMDNMo); + if (H.boolConversionCheck(H._asBoolS(t13 == null ? _null : t13))) { + t13 = _this._design_main_dna_mismatches$_cachedTypedProps; + t13 = t13.get$props(t13).$index(0, string$.DesignMDNMs); + t13 = t4._as(t13 == null ? _null : t13); + t14 = helix.idx; + t14 = t13._set.contains$1(0, t14); + t13 = t14; + } else + t13 = true; + if (t13) { + t12 = t12.offset; + t13 = t10.forward; + t14 = _this._design_main_dna_mismatches$_cachedTypedProps; + t14 = t14.get$props(t14).$index(0, string$.DesignMDNMh); + t14 = t5._as(t14 == null ? _null : t14); + t15 = helix.idx; + base_svg_pos = helix.svg_base_pos$3(t12, t13, J.$index$asx(t14._map$_map, t15)); + key = base_svg_pos.toString$0(0) + ";" + t13; + if (!keys.contains$1(0, key)) { + keys.add$1(0, key); + t12 = R.design_main_warning_star___$DesignMainWarningStar$closure().call$0(); + t12.toString; + t6._as(base_svg_pos); + t14 = J.getInterceptor$x(t12); + J.$indexSet$ax(t14.get$props(t12), "DesignMainWarningStarProps.base_svg_pos", base_svg_pos); + t15 = _this._design_main_dna_mismatches$_cachedTypedProps; + t15 = t15.get$props(t15).$index(0, _s35_); + t15 = t3._as(t15 == null ? _null : t15).geometry; + J.$indexSet$ax(t14.get$props(t12), "DesignMainWarningStarProps.geometry", t15); + J.$indexSet$ax(t14.get$props(t12), "DesignMainWarningStarProps.forward", t13); + J.$indexSet$ax(t14.get$props(t12), "DesignMainWarningStarProps.color", "red"); + t14 = t14.get$props(t12); + J.$indexSet$ax(t14, "key", key); + C.JSArray_methods.add$1(domain_components, t12.call$0()); + } + } + } + t11 = _this._design_main_dna_mismatches$_cachedTypedProps; + t11 = t11.get$props(t11).$index(0, _s35_); + t11 = t3._as(t11 == null ? _null : t11).helices; + t12 = t10.helix; + helix = J.$index$asx(t11._map$_map, t12); + t11 = _this._design_main_dna_mismatches$_cachedTypedProps; + t11 = t11.get$props(t11).$index(0, _s35_); + t11 = t3._as(t11 == null ? _null : t11).groups; + t13 = helix.group; + group = J.$index$asx(t11._map$_map, t13); + t13 = _this._design_main_dna_mismatches$_cachedTypedProps; + t13 = t13.get$props(t13).$index(0, _s35_); + t11 = t3._as(t13 == null ? _null : t13).geometry; + t13 = group.position; + t14 = t11.__nm_to_svg_pixels; + t11 = t14 == null ? t11.__nm_to_svg_pixels = N.Geometry.prototype.get$nm_to_svg_pixels.call(t11) : t14; + translate_svg = X.Position3D_Position3D(t13.x * t11, t13.y * t11, t13.z * t11); + transform_str = "translate(" + H.S(translate_svg.z) + ", " + H.S(translate_svg.y) + ") rotate(" + H.S(group.pitch) + ")"; + if (domain_components.length !== 0) { + t11 = $.$get$g(); + t13 = {}; + t13 = new L.JsBackedMap(t13); + t11 = new A.SvgProps(t11, t13, _null, _null); + t11.get$$$isClassGenerated(); + t14 = t13.jsObject; + t14.transform = F.DartValueWrapper_wrapIfNeeded(transform_str); + t15 = t8.__id; + t14.className = F.DartValueWrapper_wrapIfNeeded("mismatch-components-in-domain mismatch-" + (t15 == null ? t8.__id = E.Strand.prototype.get$id.call(t8, t8) : t15)); + t12 = "domain-H" + t12 + "-S" + t10.start + "-E" + t10.end + "-"; + t12 += t10.forward ? "forward" : "reverse"; + t13.$indexSet(0, "key", t12); + C.JSArray_methods.add$1(mismatch_components, t11.call$1(domain_components)); + } + } + } + return mismatch_components; + } + }; + O.$DesignMainDNAMismatchesComponentFactory_closure.prototype = { + call$0: function() { + return new O._$DesignMainDNAMismatchesComponent(null); + }, + "call*": "call$0", + $requiredArgCount: 0, + $signature: 433 + }; + O._$$DesignMainDNAMismatchesProps.prototype = { + get$$$isClassGenerated: function() { + return true; + }, + get$componentFactory: function() { + var t1 = this.componentFactory; + return t1 == null ? $.$get$$DesignMainDNAMismatchesComponentFactory() : t1; + } + }; + O._$$DesignMainDNAMismatchesProps$PlainMap.prototype = { + get$props: function(_) { + return this._design_main_dna_mismatches$_props; + } + }; + O._$$DesignMainDNAMismatchesProps$JsMap.prototype = { + get$props: function(_) { + return this._design_main_dna_mismatches$_props; + } + }; + O._$DesignMainDNAMismatchesComponent.prototype = { + get$props: function(_) { + return this._design_main_dna_mismatches$_cachedTypedProps; + }, + set$props: function(_, value) { + this.props = value; + this._design_main_dna_mismatches$_cachedTypedProps = O._$$DesignMainDNAMismatchesProps$JsMap$(R.getBackingMap(value)); + }, + get$displayName: function(_) { + return "DesignMainDNAMismatches"; + }, + get$$$defaultConsumedProps: function() { + return C.Map_utYMy.get$values(C.Map_utYMy); + } + }; + O.$DesignMainDNAMismatchesProps.prototype = { + get$design: function() { + var t1 = J.$index$asx(this.get$props(this), "DesignMainDNAMismatchesProps.design"); + if (t1 == null) + t1 = null; + return type$.legacy_Design._as(t1); + } + }; + O._DesignMainDNAMismatchesComponent_UiComponent2_PureComponent.prototype = {}; + O.__$$DesignMainDNAMismatchesProps_UiProps_DesignMainDNAMismatchesProps.prototype = {}; + O.__$$DesignMainDNAMismatchesProps_UiProps_DesignMainDNAMismatchesProps_$DesignMainDNAMismatchesProps.prototype = {}; + U.DesignMainDNASequencePropsMixin.prototype = { + set$helices: function(helices) { + this.DesignMainDNASequencePropsMixin_helices = type$.legacy_BuiltMap_of_legacy_int_and_legacy_Helix._as(helices); + }, + set$groups: function(groups) { + this.DesignMainDNASequencePropsMixin_groups = type$.legacy_BuiltMap_of_legacy_String_and_legacy_HelixGroup._as(groups); + }, + set$geometry: function(_, geometry) { + this.DesignMainDNASequencePropsMixin_geometry = type$.legacy_Geometry._as(geometry); + }, + get$helices: function() { + return this.DesignMainDNASequencePropsMixin_helices; + }, + get$groups: function() { + return this.DesignMainDNASequencePropsMixin_groups; + }, + get$geometry: function(receiver) { + return this.DesignMainDNASequencePropsMixin_geometry; + } + }; + U.DesignMainDNASequenceComponent.prototype = { + render$0: function(_) { + var t2, dna_sequence_elts, t3, t4, t5, t6, t7, t8, t9, t10, t11, i, t12, substrand, domain_elts, seq_to_draw, offset, t13, helix, t14, pos, rotate_x, rotate_y, t15, x_adjust, t16, text_length, t17, dy, x, y, rotate_degrees, id, reverse_right_side_up, $length, reverse_right_side_up0, subseq, t18, font_size, letter_spacing, style_map, text_path_props, t19, prev_dom, next_dom, is_hairpin, ls_fs, _this = this, _null = null, + _s38_ = "DesignMainDNASequencePropsMixin.strand", + _s61_ = string$.DesignMDNSPo, + _s65_ = string$.DesignMDNSPd, + _s40_ = "TransformByHelixGroupPropsMixin.geometry", + _s7_ = "forward", + _s7_0 = "reverse", + _s3_ = "key", + t1 = _this._design_main_dna_sequence$_cachedTypedProps; + t1 = t1.get$props(t1).$index(0, string$.DesignMDNSPs); + if (t1 == null) + t1 = _null; + type$.legacy_BuiltSet_legacy_int._as(t1); + t2 = type$.JSArray_legacy_ReactElement; + dna_sequence_elts = H.setRuntimeTypeInfo([], t2); + t3 = type$.legacy_Strand; + t4 = type$.legacy_Map_of_legacy_String_and_dynamic; + t5 = type$.legacy_String; + t6 = type$.dynamic; + t7 = type$.Tuple2_of_legacy_num_and_legacy_num; + t8 = type$.legacy_Geometry; + t9 = type$.legacy_Domain; + t10 = type$.legacy_BuiltMap_of_legacy_int_and_legacy_Point_legacy_num; + t11 = type$.legacy_BuiltMap_of_legacy_int_and_legacy_Helix; + i = 0; + while (true) { + t12 = _this._design_main_dna_sequence$_cachedTypedProps; + t12 = t12.get$props(t12).$index(0, _s38_); + t12 = J.get$length$asx(t3._as(t12 == null ? _null : t12).substrands._list); + if (typeof t12 !== "number") + return H.iae(t12); + if (!(i < t12)) + break; + t12 = _this._design_main_dna_sequence$_cachedTypedProps; + t12 = t12.get$props(t12).$index(0, _s38_); + substrand = J.$index$asx(t3._as(t12 == null ? _null : t12).substrands._list, i); + if (substrand instanceof G.Domain) { + t12 = _this._design_main_dna_sequence$_cachedTypedProps; + t12 = t12.get$props(t12).$index(0, _s61_); + if (H.boolConversionCheck(H._asBoolS(t12 == null ? _null : t12))) { + t12 = substrand.helix; + t12 = t1._set.contains$1(0, t12); + } else + t12 = true; + if (t12) { + domain_elts = H.setRuntimeTypeInfo([], t2); + t12 = _this._design_main_dna_sequence$_cachedTypedProps; + t12 = t12.get$props(t12).$index(0, _s65_); + seq_to_draw = substrand.dna_sequence_deletions_insertions_to_spaces$1$reverse(H.boolConversionCheck(H._asBoolS(t12 == null ? _null : t12)) && !substrand.forward); + offset = substrand.__offset_5p; + if (offset == null) + offset = substrand.__offset_5p = G.Domain.prototype.get$offset_5p.call(substrand); + t12 = _this._design_main_dna_sequence$_cachedTypedProps; + t12 = t12.get$props(t12).$index(0, "TransformByHelixGroupPropsMixin.helices"); + t12 = t11._as(t12 == null ? _null : t12); + t13 = substrand.helix; + helix = J.$index$asx(t12._map$_map, t13); + t12 = substrand.forward; + t14 = _this._design_main_dna_sequence$_cachedTypedProps; + t14 = t14.get$props(t14).$index(0, string$.DesignMDNSPh); + pos = helix.svg_base_pos$3(offset, t12, J.$index$asx(t10._as(t14 == null ? _null : t14)._map$_map, t13).y); + rotate_x = pos.x; + rotate_y = pos.y; + t14 = _this._design_main_dna_sequence$_cachedTypedProps; + t14 = t14.get$props(t14).$index(0, _s40_); + t14 = t8._as(t14 == null ? _null : t14); + t15 = t14.__base_width_svg; + x_adjust = -(t15 == null ? t14.__base_width_svg = N.Geometry.prototype.get$base_width_svg.call(t14) : t15) * 0.32; + t14 = _this._design_main_dna_sequence$_cachedTypedProps; + t14 = t14.get$props(t14).$index(0, _s40_); + t14 = t8._as(t14 == null ? _null : t14); + t15 = t14.__base_width_svg; + t14 = t15 == null ? t14.__base_width_svg = N.Geometry.prototype.get$base_width_svg.call(t14) : t15; + t15 = substrand.end; + t16 = substrand.start; + text_length = t14 * (t15 - t16 - 0.342); + if (t12) { + t14 = _this._design_main_dna_sequence$_cachedTypedProps; + t14 = t14.get$props(t14).$index(0, _s40_); + t14 = t8._as(t14 == null ? _null : t14); + t17 = t14.__base_height_svg; + dy = -(t17 == null ? t14.__base_height_svg = N.Geometry.prototype.get$base_height_svg.call(t14) : t17) * 0.25; + if (typeof rotate_x !== "number") + return rotate_x.$add(); + x = rotate_x + x_adjust; + y = rotate_y; + rotate_degrees = 0; + } else { + t14 = _this._design_main_dna_sequence$_cachedTypedProps; + t14 = t14.get$props(t14).$index(0, _s65_); + t14 = H.boolConversionCheck(H._asBoolS(t14 == null ? _null : t14)); + t17 = _this._design_main_dna_sequence$_cachedTypedProps; + if (t14) { + t14 = t17.get$props(t17).$index(0, _s40_); + t14 = t8._as(t14 == null ? _null : t14); + t17 = t14.__base_height_svg; + dy = (t17 == null ? t14.__base_height_svg = N.Geometry.prototype.get$base_height_svg.call(t14) : t17) * 0.75; + if (typeof rotate_x !== "number") + return rotate_x.$sub(); + x = rotate_x - x_adjust - text_length; + t14 = _this._design_main_dna_sequence$_cachedTypedProps; + t14 = t14.get$props(t14).$index(0, _s40_); + t14 = t8._as(t14 == null ? _null : t14); + t17 = t14.__base_height_svg; + t14 = t17 == null ? t14.__base_height_svg = N.Geometry.prototype.get$base_height_svg.call(t14) : t17; + if (typeof rotate_y !== "number") + return rotate_y.$add(); + y = rotate_y + t14; + rotate_degrees = 0; + } else { + t14 = t17.get$props(t17).$index(0, _s40_); + t14 = t8._as(t14 == null ? _null : t14); + t17 = t14.__base_height_svg; + dy = -(t17 == null ? t14.__base_height_svg = N.Geometry.prototype.get$base_height_svg.call(t14) : t17) * 0.25; + if (typeof rotate_x !== "number") + return rotate_x.$add(); + x = rotate_x + x_adjust; + y = rotate_y; + rotate_degrees = 180; + } + } + t14 = "domain-H" + t13 + "-S" + t16 + "-E" + t15 + "-"; + id = "dna-" + (t14 + (t12 ? _s7_ : _s7_0)); + t14 = $.$get$text(); + t17 = {}; + t17 = new L.JsBackedMap(t17); + t14 = new A.SvgProps(t14, t17, _null, _null); + t14.get$$$isClassGenerated(); + t17.$indexSet(0, _s3_, id); + t17 = t17.jsObject; + t17.id = F.DartValueWrapper_wrapIfNeeded(id); + t17.className = F.DartValueWrapper_wrapIfNeeded("dna-seq"); + t17.x = F.DartValueWrapper_wrapIfNeeded(H.S(x)); + t17.y = F.DartValueWrapper_wrapIfNeeded(H.S(y)); + t17.textLength = F.DartValueWrapper_wrapIfNeeded(H.S(text_length)); + t17.transform = F.DartValueWrapper_wrapIfNeeded("rotate(" + rotate_degrees + " " + H.S(rotate_x) + " " + H.S(rotate_y) + ")"); + t17.dy = F.DartValueWrapper_wrapIfNeeded(H.S(dy)); + C.JSArray_methods.add$1(domain_elts, t14.call$1(seq_to_draw)); + for (t14 = J.get$iterator$ax(substrand.insertions._list), reverse_right_side_up = !t12; t14.moveNext$0();) { + t17 = t14.get$current(t14); + offset = t17.offset; + $length = t17.length; + t17 = _this._design_main_dna_sequence$_cachedTypedProps; + t17 = t17.get$props(t17).$index(0, _s65_); + reverse_right_side_up0 = H.boolConversionCheck(H._asBoolS(t17 == null ? _null : t17)) && reverse_right_side_up; + subseq = substrand.dna_sequence_in$3$reverse(offset, offset, reverse_right_side_up0); + t17 = _this._design_main_dna_sequence$_cachedTypedProps; + t17 = t17.get$props(t17).$index(0, _s40_); + t17 = t8._as(t17 == null ? _null : t17); + t18 = t17.__base_width_svg; + dy = H.S(0.1 * (t18 == null ? t17.__base_width_svg = N.Geometry.prototype.get$base_width_svg.call(t17) : t18)); + font_size = Math.max(6, 12 - ($length - 1)); + t17 = $._browser; + if (t17 == null) { + $.Browser_navigator = new G._HtmlNavigator(); + t17 = $._browser = L.Browser_getCurrentBrowser(); + } + t17.toString; + if (t17 === $.$get$chrome()) + if ($length === 1) + letter_spacing = 0; + else if ($length === 2) + letter_spacing = -0.1; + else if ($length === 3) + letter_spacing = -0.1; + else if ($length === 4) + letter_spacing = -0.1; + else if ($length === 5) + letter_spacing = -0.15; + else + letter_spacing = $length === 6 ? -0.18 : _null; + else + letter_spacing = _null; + if (t17 === $.$get$firefox()) { + if ($length > 3 && font_size > 6) + --font_size; + letter_spacing = _null; + } + style_map = letter_spacing != null ? P.LinkedHashMap_LinkedHashMap$_literal(["letterSpacing", H.S(letter_spacing) + "em", "fontSize", H.S(font_size) + "px"], t5, t6) : P.LinkedHashMap_LinkedHashMap$_literal(["fontSize", H.S(font_size) + "px"], t5, t6); + if (reverse_right_side_up0) + style_map.$indexSet(0, "dominantBaseline", "hanging"); + t17 = $.$get$textPath(); + t18 = {}; + t18 = new L.JsBackedMap(t18); + text_path_props = new A.SvgProps(t17, t18, _null, _null); + text_path_props.get$$$isClassGenerated(); + t17 = t18.jsObject; + t17.className = F.DartValueWrapper_wrapIfNeeded("dna-seq-insertion"); + t18 = "insertion-H" + t13 + "-O" + offset + "-"; + t17.xlinkHref = F.DartValueWrapper_wrapIfNeeded("#" + (t18 + (t12 ? _s7_ : _s7_0))); + t17.startOffset = F.DartValueWrapper_wrapIfNeeded("50%"); + t17.style = F.DartValueWrapper_wrapIfNeeded(t4._as(style_map)); + t17 = $.$get$text(); + t18 = {}; + t18 = new L.JsBackedMap(t18); + t17 = new A.SvgProps(t17, t18, _null, _null); + t17.get$$$isClassGenerated(); + t19 = "insertion-H" + t13 + "-O" + offset + "-"; + t19 = "textelt-" + (t19 + (t12 ? _s7_ : _s7_0)); + t18.$indexSet(0, _s3_, t19); + t18.jsObject.dy = F.DartValueWrapper_wrapIfNeeded(dy); + C.JSArray_methods.add$1(domain_elts, t17.call$1(text_path_props.call$1(subseq))); + } + t14 = $.$get$g(); + t17 = {}; + t17 = new L.JsBackedMap(t17); + t14 = new A.SvgProps(t14, t17, _null, _null); + t14.get$$$isClassGenerated(); + t18 = t17.jsObject; + t18.transform = F.DartValueWrapper_wrapIfNeeded(_this.transform_of_helix$1(t13)); + t18.className = F.DartValueWrapper_wrapIfNeeded("dna-seq-on-domain-group"); + t15 = "domain-H" + t13 + "-S" + t16 + "-E" + t15 + "-"; + t13 = t15 + (t12 ? _s7_ : _s7_0); + t17.$indexSet(0, _s3_, t13); + C.JSArray_methods.add$1(dna_sequence_elts, t14.call$1(domain_elts)); + } + } else if (substrand instanceof G.Loopout) { + t12 = _this._design_main_dna_sequence$_cachedTypedProps; + t12 = t12.get$props(t12).$index(0, _s38_); + prev_dom = t9._as(J.$index$asx(t3._as(t12 == null ? _null : t12).substrands._list, i - 1)); + t12 = _this._design_main_dna_sequence$_cachedTypedProps; + t12 = t12.get$props(t12).$index(0, _s38_); + next_dom = t9._as(J.$index$asx(t3._as(t12 == null ? _null : t12).substrands._list, i + 1)); + t12 = _this._design_main_dna_sequence$_cachedTypedProps; + t12 = t12.get$props(t12).$index(0, _s61_); + if (H.boolConversionCheck(H._asBoolS(t12 == null ? _null : t12))) { + t12 = prev_dom.helix; + t12 = t1._set.contains$1(0, t12); + } else + t12 = true; + if (t12) { + t12 = _this._design_main_dna_sequence$_cachedTypedProps; + t12 = t12.get$props(t12).$index(0, _s61_); + if (H.boolConversionCheck(H._asBoolS(t12 == null ? _null : t12))) { + t12 = next_dom.helix; + t12 = t1._set.contains$1(0, t12); + } else + t12 = true; + } else + t12 = false; + if (t12) { + subseq = substrand.dna_sequence; + $length = subseq.length; + t12 = _this._design_main_dna_sequence$_cachedTypedProps; + t12 = t12.get$props(t12).$index(0, _s40_); + t12 = t8._as(t12 == null ? _null : t12); + t13 = t12.__base_height_svg; + dy = H.S(0.1 * (t13 == null ? t12.__base_height_svg = N.Geometry.prototype.get$base_height_svg.call(t12) : t13)); + t12 = prev_dom.helix; + t13 = next_dom.helix; + if (t12 === t13) + if (prev_dom.forward !== next_dom.forward) { + t14 = prev_dom.__offset_3p; + if (t14 == null) + t14 = prev_dom.__offset_3p = G.Domain.prototype.get$offset_3p.call(prev_dom); + t15 = next_dom.__offset_5p; + t14 = Math.abs(t14 - (t15 == null ? next_dom.__offset_5p = G.Domain.prototype.get$offset_5p.call(next_dom) : t15)) < 3; + is_hairpin = t14; + } else + is_hairpin = false; + else + is_hairpin = false; + if (is_hairpin) { + font_size = Math.max(6, 12 - Math.max(0, $length - 6)); + t14 = $._browser; + if (t14 == null) { + $.Browser_navigator = new G._HtmlNavigator(); + t14 = $._browser = L.Browser_getCurrentBrowser(); + } + t14.toString; + if (t14 === $.$get$chrome()) + if ($length === 1) + letter_spacing = 0; + else if ($length === 2) + letter_spacing = -0.1; + else if ($length === 3) + letter_spacing = -0.1; + else if ($length === 4) + letter_spacing = -0.1; + else if ($length === 5) + letter_spacing = -0.15; + else + letter_spacing = $length === 6 ? -0.18 : _null; + else + letter_spacing = _null; + if (t14 === $.$get$firefox()) { + font_size = Math.max(6, 12 - ($length - 1)); + if ($length > 3 && font_size > 6) + --font_size; + letter_spacing = _null; + } + ls_fs = new S.Tuple2(letter_spacing, font_size, t7); + } else + ls_fs = new S.Tuple2(0, 12, t7); + letter_spacing = ls_fs.item1; + font_size = ls_fs.item2; + style_map = letter_spacing != null ? P.LinkedHashMap_LinkedHashMap$_literal(["letterSpacing", H.S(letter_spacing) + "em", "fontSize", H.S(font_size) + "px"], t5, t6) : P.LinkedHashMap_LinkedHashMap$_literal(["fontSize", H.S(font_size) + "px"], t5, t6); + t14 = $.$get$textPath(); + t15 = {}; + t15 = new L.JsBackedMap(t15); + text_path_props = new A.SvgProps(t14, t15, _null, _null); + text_path_props.get$$$isClassGenerated(); + t14 = t15.jsObject; + t14.className = F.DartValueWrapper_wrapIfNeeded("dna-seq-loopout"); + t15 = substrand._loopout$__id; + t14.xlinkHref = F.DartValueWrapper_wrapIfNeeded("#" + (t15 == null ? substrand._loopout$__id = G.Loopout.prototype.get$id.call(substrand, substrand) : t15)); + t14.startOffset = F.DartValueWrapper_wrapIfNeeded("50%"); + t14.style = F.DartValueWrapper_wrapIfNeeded(t4._as(style_map)); + t14 = $.$get$text(); + t15 = {}; + t15 = new L.JsBackedMap(t15); + t14 = new A.SvgProps(t14, t15, _null, _null); + t14.get$$$isClassGenerated(); + t12 = "loopout-dnaH" + t12 + ","; + t16 = prev_dom.__offset_3p; + t12 = t12 + (t16 == null ? prev_dom.__offset_3p = G.Domain.prototype.get$offset_3p.call(prev_dom) : t16) + "-H" + t13 + ","; + t13 = next_dom.__offset_5p; + t12 += t13 == null ? next_dom.__offset_5p = G.Domain.prototype.get$offset_5p.call(next_dom) : t13; + t15.$indexSet(0, _s3_, t12); + t15.jsObject.dy = F.DartValueWrapper_wrapIfNeeded(dy); + C.JSArray_methods.add$1(dna_sequence_elts, t14.call$1(text_path_props.call$1(subseq))); + } + } else if (substrand instanceof S.Extension) { + t12 = substrand.adjacent_domain; + t13 = _this._design_main_dna_sequence$_cachedTypedProps; + t13 = t13.get$props(t13).$index(0, _s61_); + if (H.boolConversionCheck(H._asBoolS(t13 == null ? _null : t13))) { + t13 = t12.helix; + t13 = t1._set.contains$1(0, t13); + } else + t13 = true; + if (t13) { + subseq = substrand.dna_sequence; + t13 = _this._design_main_dna_sequence$_cachedTypedProps; + t13 = t13.get$props(t13).$index(0, _s40_); + t13 = t8._as(t13 == null ? _null : t13); + t14 = t13.__base_height_svg; + dy = H.S(0.1 * (t14 == null ? t13.__base_height_svg = N.Geometry.prototype.get$base_height_svg.call(t13) : t14)); + style_map = P.LinkedHashMap_LinkedHashMap$_literal(["letterSpacing", "0em", "fontSize", "12px"], t5, t6); + t13 = $.$get$textPath(); + t14 = {}; + t14 = new L.JsBackedMap(t14); + text_path_props = new A.SvgProps(t13, t14, _null, _null); + text_path_props.get$$$isClassGenerated(); + t13 = t14.jsObject; + t13.className = F.DartValueWrapper_wrapIfNeeded("dna-seq-extension"); + t14 = substrand._extension$__id; + t13.xlinkHref = F.DartValueWrapper_wrapIfNeeded("#" + (t14 == null ? substrand._extension$__id = S.Extension.prototype.get$id.call(substrand, substrand) : t14)); + t13.startOffset = F.DartValueWrapper_wrapIfNeeded("50%"); + t13.style = F.DartValueWrapper_wrapIfNeeded(t4._as(style_map)); + t13 = $.$get$text(); + t14 = {}; + t14 = new L.JsBackedMap(t14); + t13 = new A.SvgProps(t13, t14, _null, _null); + t13.get$$$isClassGenerated(); + t12 = "extension-dna-" + (H.boolConversionCheck(substrand.is_5p) ? "5'" : "3'") + "H" + t12.helix + "," + t12.start + "-" + t12.end; + t14.$indexSet(0, _s3_, t12); + t14.jsObject.dy = F.DartValueWrapper_wrapIfNeeded(dy); + C.JSArray_methods.add$1(dna_sequence_elts, t13.call$1(text_path_props.call$1(subseq))); + } + } else + throw H.wrapException(P.AssertionError$("unrecognized substrand type: " + H.S(substrand))); + ++i; + } + t1 = A.SvgProps$($.$get$g(), _null); + t1.set$className(0, "strand-dna-sequence"); + t2 = _this._design_main_dna_sequence$_cachedTypedProps.get$strand(); + t1.set$id(0, "dna-sequence-" + t2.get$id(t2)); + return t1.call$1(dna_sequence_elts); + } + }; + U.$DesignMainDNASequenceComponentFactory_closure.prototype = { + call$0: function() { + return new U._$DesignMainDNASequenceComponent(null); + }, + "call*": "call$0", + $requiredArgCount: 0, + $signature: 434 + }; + U._$$DesignMainDNASequenceProps.prototype = { + get$$$isClassGenerated: function() { + return true; + }, + get$componentFactory: function() { + var t1 = this.componentFactory; + return t1 == null ? $.$get$$DesignMainDNASequenceComponentFactory() : t1; + } + }; + U._$$DesignMainDNASequenceProps$PlainMap.prototype = { + get$props: function(_) { + return this._design_main_dna_sequence$_props; + } + }; + U._$$DesignMainDNASequenceProps$JsMap.prototype = { + get$props: function(_) { + return this._design_main_dna_sequence$_props; + } + }; + U._$DesignMainDNASequenceComponent.prototype = { + get$props: function(_) { + return this._design_main_dna_sequence$_cachedTypedProps; + }, + set$props: function(_, value) { + this.props = value; + this._design_main_dna_sequence$_cachedTypedProps = U._$$DesignMainDNASequenceProps$JsMap$(R.getBackingMap(value)); + }, + get$displayName: function(_) { + return "DesignMainDNASequence"; + }, + get$$$defaultConsumedProps: function() { + return C.Map_gRswd.get$values(C.Map_gRswd); + } + }; + U.$DesignMainDNASequencePropsMixin.prototype = { + get$strand: function() { + var t1 = J.$index$asx(this.get$props(this), "DesignMainDNASequencePropsMixin.strand"); + if (t1 == null) + t1 = null; + return type$.legacy_Strand._as(t1); + }, + get$helices: function() { + var t1 = J.$index$asx(this.get$props(this), "DesignMainDNASequencePropsMixin.helices"); + if (t1 == null) + t1 = null; + return type$.legacy_BuiltMap_of_legacy_int_and_legacy_Helix._as(t1); + }, + set$helices: function(value) { + type$.legacy_BuiltMap_of_legacy_int_and_legacy_Helix._as(value); + J.$indexSet$ax(this.get$props(this), "DesignMainDNASequencePropsMixin.helices", value); + }, + get$groups: function() { + var t1 = J.$index$asx(this.get$props(this), "DesignMainDNASequencePropsMixin.groups"); + if (t1 == null) + t1 = null; + return type$.legacy_BuiltMap_of_legacy_String_and_legacy_HelixGroup._as(t1); + }, + set$groups: function(value) { + type$.legacy_BuiltMap_of_legacy_String_and_legacy_HelixGroup._as(value); + J.$indexSet$ax(this.get$props(this), "DesignMainDNASequencePropsMixin.groups", value); + }, + get$geometry: function(_) { + var t1 = J.$index$asx(this.get$props(this), "DesignMainDNASequencePropsMixin.geometry"); + if (t1 == null) + t1 = null; + return type$.legacy_Geometry._as(t1); + }, + set$geometry: function(_, value) { + J.$indexSet$ax(this.get$props(this), "DesignMainDNASequencePropsMixin.geometry", value); + } + }; + U._DesignMainDNASequenceComponent_UiComponent2_PureComponent.prototype = {}; + U._DesignMainDNASequenceComponent_UiComponent2_PureComponent_TransformByHelixGroup.prototype = {}; + U.__$$DesignMainDNASequenceProps_UiProps_DesignMainDNASequencePropsMixin.prototype = { + set$helices: function(helices) { + this.DesignMainDNASequencePropsMixin_helices = type$.legacy_BuiltMap_of_legacy_int_and_legacy_Helix._as(helices); + }, + set$groups: function(groups) { + this.DesignMainDNASequencePropsMixin_groups = type$.legacy_BuiltMap_of_legacy_String_and_legacy_HelixGroup._as(groups); + }, + set$geometry: function(_, geometry) { + this.DesignMainDNASequencePropsMixin_geometry = type$.legacy_Geometry._as(geometry); + }, + get$helices: function() { + return this.DesignMainDNASequencePropsMixin_helices; + }, + get$groups: function() { + return this.DesignMainDNASequencePropsMixin_groups; + }, + get$geometry: function(receiver) { + return this.DesignMainDNASequencePropsMixin_geometry; + } + }; + U.__$$DesignMainDNASequenceProps_UiProps_DesignMainDNASequencePropsMixin_$DesignMainDNASequencePropsMixin.prototype = {}; + U.__$$DesignMainDNASequenceProps_UiProps_DesignMainDNASequencePropsMixin_$DesignMainDNASequencePropsMixin_TransformByHelixGroupPropsMixin.prototype = { + set$helices: function(helices) { + this.TransformByHelixGroupPropsMixin_helices = type$.legacy_BuiltMap_of_legacy_int_and_legacy_Helix._as(helices); + }, + set$groups: function(groups) { + this.TransformByHelixGroupPropsMixin_groups = type$.legacy_BuiltMap_of_legacy_String_and_legacy_HelixGroup._as(groups); + }, + set$geometry: function(_, geometry) { + this.TransformByHelixGroupPropsMixin_geometry = type$.legacy_Geometry._as(geometry); + }, + get$helices: function() { + return this.TransformByHelixGroupPropsMixin_helices; + }, + get$groups: function() { + return this.TransformByHelixGroupPropsMixin_groups; + }, + get$geometry: function(receiver) { + return this.TransformByHelixGroupPropsMixin_geometry; + } + }; + U.__$$DesignMainDNASequenceProps_UiProps_DesignMainDNASequencePropsMixin_$DesignMainDNASequencePropsMixin_TransformByHelixGroupPropsMixin_$TransformByHelixGroupPropsMixin.prototype = {}; + M.DesignMainDNASequencesProps.prototype = {$isMap: 1, $isUiProps0: 1, $isUiProps: 1, + get$helices: function() { + return this.DesignMainDNASequencesProps_helices; + }, + get$groups: function() { + return this.DesignMainDNASequencesProps_groups; + }, + get$geometry: function(receiver) { + return this.DesignMainDNASequencesProps_geometry; + } + }; + M.DesignMainDNASequencesComponent.prototype = { + componentDidUpdate$3: function(prevProps, prevState, snapshot) { + var action_to_complete = this._design_main_dna_sequences$_cachedTypedProps.get$export_svg_action_delayed_for_png_cache(); + if (action_to_complete != null) { + $.app.dispatch$1(action_to_complete); + $.app.dispatch$1(U.SetExportSvgActionDelayedForPngCache_SetExportSvgActionDelayedForPngCache(null)); + } + }, + render$0: function(_) { + var t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, _this = this, _null = null, + _s23_ = "dna-sequences-main-view", + t1 = _this._design_main_dna_sequences$_cachedTypedProps.get$dna_sequence_png_uri(), + t2 = _this._design_main_dna_sequences$_cachedTypedProps; + t2 = t2.get$props(t2).$index(0, string$.DesignMDNSsi); + t2 = H._asBoolS(t2 == null ? _null : t2); + t3 = _this._design_main_dna_sequences$_cachedTypedProps.get$export_svg_action_delayed_for_png_cache(); + t4 = _this._design_main_dna_sequences$_cachedTypedProps; + t4 = t4.get$props(t4).$index(0, string$.DesignMDNSsdia); + t4 = H._asBoolS(t4 == null ? _null : t4); + if (t1 != null && !H.boolConversionCheck(t2) && t3 == null && !H.boolConversionCheck(t4)) { + t1 = A.SvgProps$($.$get$g(), _null); + t1.set$className(0, _s23_); + t1.props.jsObject.pointerEvents = F.DartValueWrapper_wrapIfNeeded("none"); + t2 = _this._design_main_dna_sequences$_cachedTypedProps; + t2 = t2.get$props(t2).$index(0, string$.DesignMDNSsdnh); + t2 = "translate(" + H.S(H._asNumS(t2 == null ? _null : t2)) + ", "; + t3 = _this._design_main_dna_sequences$_cachedTypedProps; + t3 = t3.get$props(t3).$index(0, string$.DesignMDNSsdnv); + t1.set$transform(0, t2 + H.S(H._asNumS(t3 == null ? _null : t3)) + ")"); + t2 = A.SvgProps$($.$get$image(), _null); + t2.set$xlinkHref(_this._design_main_dna_sequences$_cachedTypedProps.get$dna_sequence_png_uri()); + t2.set$id(0, "dna-sequences-main-view-png"); + return t1.call$1(t2.call$0()); + } else { + t1 = A.SvgProps$($.$get$g(), _null); + t1.set$className(0, _s23_); + t2 = H.setRuntimeTypeInfo([], type$.JSArray_legacy_ReactElement); + t3 = _this._design_main_dna_sequences$_cachedTypedProps; + t3 = t3.get$props(t3).$index(0, "DesignMainDNASequencesProps.strands"); + if (t3 == null) + t3 = _null; + t3 = J.get$iterator$ax(type$.legacy_BuiltList_legacy_Strand._as(t3)._list); + t4 = type$.legacy_BuiltMap_of_legacy_int_and_legacy_Point_legacy_num; + t5 = type$.legacy_BuiltSet_legacy_int; + t6 = type$.legacy_Geometry; + t7 = type$.legacy_BuiltMap_of_legacy_String_and_legacy_HelixGroup; + t8 = type$.legacy_BuiltMap_of_legacy_int_and_legacy_Helix; + for (; t3.moveNext$0();) { + t9 = t3.get$current(t3); + t10 = t9.__dna_sequence; + if ((t10 == null ? t9.__dna_sequence = E.Strand.prototype.get$dna_sequence.call(t9) : t10) != null) { + t10 = U.design_main_dna_sequence___$DesignMainDNASequence$closure().call$0(); + t11 = _this._design_main_dna_sequences$_cachedTypedProps; + t11 = t11.get$props(t11).$index(0, "DesignMainDNASequencesProps.helices"); + t11 = t8._as(t11 == null ? _null : t11); + t10.toString; + t8._as(t11); + t12 = J.getInterceptor$x(t10); + J.$indexSet$ax(t12.get$props(t10), "TransformByHelixGroupPropsMixin.helices", t11); + t11 = _this._design_main_dna_sequences$_cachedTypedProps; + t11 = t11.get$props(t11).$index(0, "DesignMainDNASequencesProps.groups"); + t11 = t7._as(t7._as(t11 == null ? _null : t11)); + J.$indexSet$ax(t12.get$props(t10), "TransformByHelixGroupPropsMixin.groups", t11); + t11 = _this._design_main_dna_sequences$_cachedTypedProps; + t11 = t11.get$props(t11).$index(0, "DesignMainDNASequencesProps.geometry"); + t11 = t6._as(t11 == null ? _null : t11); + J.$indexSet$ax(t12.get$props(t10), "TransformByHelixGroupPropsMixin.geometry", t11); + J.$indexSet$ax(t12.get$props(t10), "DesignMainDNASequencePropsMixin.strand", t9); + t11 = _this._design_main_dna_sequences$_cachedTypedProps; + t11 = t11.get$props(t11).$index(0, string$.DesignMDNSss); + t11 = t5._as(t5._as(t11 == null ? _null : t11)); + J.$indexSet$ax(t12.get$props(t10), string$.DesignMDNSPs, t11); + t9 = t9.toString$0(0); + t11 = t12.get$props(t10); + J.$indexSet$ax(t11, "key", t9); + t9 = _this._design_main_dna_sequences$_cachedTypedProps; + t9 = t9.get$props(t9).$index(0, string$.DesignMDNSso); + t9 = H._asBoolS(t9 == null ? _null : t9); + J.$indexSet$ax(t12.get$props(t10), string$.DesignMDNSPo, t9); + t9 = _this._design_main_dna_sequences$_cachedTypedProps; + t9 = t9.get$props(t9).$index(0, string$.DesignMDNSsdip); + t9 = H._asBoolS(t9 == null ? _null : t9); + J.$indexSet$ax(t12.get$props(t10), string$.DesignMDNSPd, t9); + t9 = _this._design_main_dna_sequences$_cachedTypedProps; + t9 = t9.get$props(t9).$index(0, string$.DesignMDNSsh); + t9 = t4._as(t4._as(t9 == null ? _null : t9)); + J.$indexSet$ax(t12.get$props(t10), string$.DesignMDNSPh, t9); + J.$indexSet$ax(t12.get$props(t10), "className", "strand-dna-sequence-elts"); + t2.push(t10.call$0()); + } + } + return t1.call$1(t2); + } + } + }; + M.$DesignMainDNASequencesComponentFactory_closure.prototype = { + call$0: function() { + return new M._$DesignMainDNASequencesComponent(null); + }, + "call*": "call$0", + $requiredArgCount: 0, + $signature: 435 + }; + M._$$DesignMainDNASequencesProps.prototype = { + get$$$isClassGenerated: function() { + return true; + }, + get$componentFactory: function() { + var t1 = this.componentFactory; + return t1 == null ? $.$get$$DesignMainDNASequencesComponentFactory() : t1; + } + }; + M._$$DesignMainDNASequencesProps$PlainMap.prototype = { + get$props: function(_) { + return this._design_main_dna_sequences$_props; + } + }; + M._$$DesignMainDNASequencesProps$JsMap.prototype = { + get$props: function(_) { + return this._design_main_dna_sequences$_props; + } + }; + M._$DesignMainDNASequencesComponent.prototype = { + get$props: function(_) { + return this._design_main_dna_sequences$_cachedTypedProps; + }, + set$props: function(_, value) { + this.props = value; + this._design_main_dna_sequences$_cachedTypedProps = M._$$DesignMainDNASequencesProps$JsMap$(R.getBackingMap(value)); + }, + get$displayName: function(_) { + return "DesignMainDNASequences"; + }, + get$$$defaultConsumedProps: function() { + return C.Map_KYQSU.get$values(C.Map_KYQSU); + } + }; + M.$DesignMainDNASequencesProps.prototype = { + get$helices: function() { + var t1 = J.$index$asx(this.get$props(this), "DesignMainDNASequencesProps.helices"); + if (t1 == null) + t1 = null; + return type$.legacy_BuiltMap_of_legacy_int_and_legacy_Helix._as(t1); + }, + get$groups: function() { + var t1 = J.$index$asx(this.get$props(this), "DesignMainDNASequencesProps.groups"); + if (t1 == null) + t1 = null; + return type$.legacy_BuiltMap_of_legacy_String_and_legacy_HelixGroup._as(t1); + }, + get$geometry: function(_) { + var t1 = J.$index$asx(this.get$props(this), "DesignMainDNASequencesProps.geometry"); + if (t1 == null) + t1 = null; + return type$.legacy_Geometry._as(t1); + }, + get$dna_sequence_png_uri: function() { + var t1 = J.$index$asx(this.get$props(this), string$.DesignMDNSsdnu); + return H._asStringS(t1 == null ? null : t1); + }, + get$export_svg_action_delayed_for_png_cache: function() { + var t1 = J.$index$asx(this.get$props(this), string$.DesignMDNSse); + if (t1 == null) + t1 = null; + return type$.legacy_ExportSvg._as(t1); + } + }; + M._DesignMainDNASequencesComponent_UiComponent2_PureComponent.prototype = {}; + M.__$$DesignMainDNASequencesProps_UiProps_DesignMainDNASequencesProps.prototype = { + get$helices: function() { + return this.DesignMainDNASequencesProps_helices; + }, + get$groups: function() { + return this.DesignMainDNASequencesProps_groups; + }, + get$geometry: function(receiver) { + return this.DesignMainDNASequencesProps_geometry; + } + }; + M.__$$DesignMainDNASequencesProps_UiProps_DesignMainDNASequencesProps_$DesignMainDNASequencesProps.prototype = {}; + T.DesignMainDomainMovingPropsMixin.prototype = { + set$helices: function(helices) { + this.DesignMainDomainMovingPropsMixin_helices = type$.legacy_BuiltMap_of_legacy_int_and_legacy_Helix._as(helices); + }, + set$groups: function(groups) { + this.DesignMainDomainMovingPropsMixin_groups = type$.legacy_BuiltMap_of_legacy_String_and_legacy_HelixGroup._as(groups); + }, + set$geometry: function(_, geometry) { + this.DesignMainDomainMovingPropsMixin_geometry = type$.legacy_Geometry._as(geometry); + }, + get$helices: function() { + return this.DesignMainDomainMovingPropsMixin_helices; + }, + get$groups: function() { + return this.DesignMainDomainMovingPropsMixin_groups; + }, + get$geometry: function(receiver) { + return this.DesignMainDomainMovingPropsMixin_geometry; + } + }; + T.DesignMainDomainMovingComponent.prototype = { + render$0: function(_) { + var classname, hex_color, hex_color_css, _this = this, + t1 = _this._design_main_domain_moving$_cachedTypedProps.get$helices(), + t2 = _this._design_main_domain_moving$_cachedTypedProps.get$domain_moved().helix, + helix = J.$index$asx(t1._map$_map, t2), + start_svg = helix.svg_base_pos$3(_this._design_main_domain_moving$_cachedTypedProps.get$domain_moved().get$offset_5p(), _this._design_main_domain_moving$_cachedTypedProps.get$domain_moved().forward, _this._design_main_domain_moving$_cachedTypedProps.get$domain_helix_svg_position_y()), + end_svg = helix.svg_base_pos$3(_this._design_main_domain_moving$_cachedTypedProps.get$domain_moved().get$offset_3p(), _this._design_main_domain_moving$_cachedTypedProps.get$domain_moved().forward, _this._design_main_domain_moving$_cachedTypedProps.get$domain_helix_svg_position_y()); + t1 = _this._design_main_domain_moving$_cachedTypedProps; + t1 = t1.get$props(t1).$index(0, string$.DesignMDoMa); + classname = !H.boolConversionCheck(H._asBoolS(t1 == null ? null : t1)) ? "domain-line-moving disallowed" : "domain-line-moving"; + t1 = _this._design_main_domain_moving$_cachedTypedProps; + t1 = t1.get$props(t1).$index(0, "DesignMainDomainMovingPropsMixin.color"); + if (t1 == null) + t1 = null; + hex_color = type$.legacy_Color._as(t1).toHexColor$0(); + hex_color_css = "#" + hex_color.get$rHex() + hex_color.get$gHex() + hex_color.get$bHex(); + t1 = A.SvgProps$($.$get$line(), null); + t1.set$stroke(0, hex_color_css); + t1.set$transform(0, _this.transform_of_helix$1(helix.idx)); + t1.set$x1(0, H.S(start_svg.x)); + t1.set$y1(0, H.S(start_svg.y)); + t1.set$x2(0, H.S(end_svg.x)); + t1.set$y2(0, H.S(end_svg.y)); + t1.set$className(0, classname); + return t1.call$0(); + } + }; + T.$DesignMainDomainMovingComponentFactory_closure.prototype = { + call$0: function() { + return new T._$DesignMainDomainMovingComponent(null); + }, + "call*": "call$0", + $requiredArgCount: 0, + $signature: 436 + }; + T._$$DesignMainDomainMovingProps.prototype = { + get$$$isClassGenerated: function() { + return true; + }, + get$componentFactory: function() { + var t1 = this.componentFactory; + return t1 == null ? $.$get$$DesignMainDomainMovingComponentFactory() : t1; + } + }; + T._$$DesignMainDomainMovingProps$PlainMap.prototype = { + get$props: function(_) { + return this._design_main_domain_moving$_props; + } + }; + T._$$DesignMainDomainMovingProps$JsMap.prototype = { + get$props: function(_) { + return this._design_main_domain_moving$_props; + } + }; + T._$DesignMainDomainMovingComponent.prototype = { + get$props: function(_) { + return this._design_main_domain_moving$_cachedTypedProps; + }, + set$props: function(_, value) { + this.props = value; + this._design_main_domain_moving$_cachedTypedProps = T._$$DesignMainDomainMovingProps$JsMap$(R.getBackingMap(value)); + }, + get$displayName: function(_) { + return "DesignMainDomainMoving"; + }, + get$$$defaultConsumedProps: function() { + return C.Map_QLeii.get$values(C.Map_QLeii); + } + }; + T.$DesignMainDomainMovingPropsMixin.prototype = { + get$domain_moved: function() { + var t1 = J.$index$asx(this.get$props(this), string$.DesignMDoMdom); + if (t1 == null) + t1 = null; + return type$.legacy_Domain._as(t1); + }, + get$helices: function() { + var t1 = J.$index$asx(this.get$props(this), "DesignMainDomainMovingPropsMixin.helices"); + if (t1 == null) + t1 = null; + return type$.legacy_BuiltMap_of_legacy_int_and_legacy_Helix._as(t1); + }, + set$helices: function(value) { + type$.legacy_BuiltMap_of_legacy_int_and_legacy_Helix._as(value); + J.$indexSet$ax(this.get$props(this), "DesignMainDomainMovingPropsMixin.helices", value); + }, + get$groups: function() { + var t1 = J.$index$asx(this.get$props(this), "DesignMainDomainMovingPropsMixin.groups"); + if (t1 == null) + t1 = null; + return type$.legacy_BuiltMap_of_legacy_String_and_legacy_HelixGroup._as(t1); + }, + set$groups: function(value) { + type$.legacy_BuiltMap_of_legacy_String_and_legacy_HelixGroup._as(value); + J.$indexSet$ax(this.get$props(this), "DesignMainDomainMovingPropsMixin.groups", value); + }, + get$geometry: function(_) { + var t1 = J.$index$asx(this.get$props(this), string$.DesignMDoMg); + if (t1 == null) + t1 = null; + return type$.legacy_Geometry._as(t1); + }, + set$geometry: function(_, value) { + J.$indexSet$ax(this.get$props(this), string$.DesignMDoMg, value); + }, + get$domain_helix_svg_position_y: function() { + var t1 = J.$index$asx(this.get$props(this), string$.DesignMDoMdoh); + return H._asNumS(t1 == null ? null : t1); + } + }; + T._DesignMainDomainMovingComponent_UiComponent2_PureComponent.prototype = {}; + T._DesignMainDomainMovingComponent_UiComponent2_PureComponent_TransformByHelixGroup.prototype = {}; + T.__$$DesignMainDomainMovingProps_UiProps_DesignMainDomainMovingPropsMixin.prototype = { + set$helices: function(helices) { + this.DesignMainDomainMovingPropsMixin_helices = type$.legacy_BuiltMap_of_legacy_int_and_legacy_Helix._as(helices); + }, + set$groups: function(groups) { + this.DesignMainDomainMovingPropsMixin_groups = type$.legacy_BuiltMap_of_legacy_String_and_legacy_HelixGroup._as(groups); + }, + set$geometry: function(_, geometry) { + this.DesignMainDomainMovingPropsMixin_geometry = type$.legacy_Geometry._as(geometry); + }, + get$helices: function() { + return this.DesignMainDomainMovingPropsMixin_helices; + }, + get$groups: function() { + return this.DesignMainDomainMovingPropsMixin_groups; + }, + get$geometry: function(receiver) { + return this.DesignMainDomainMovingPropsMixin_geometry; + } + }; + T.__$$DesignMainDomainMovingProps_UiProps_DesignMainDomainMovingPropsMixin_$DesignMainDomainMovingPropsMixin.prototype = {}; + T.__$$DesignMainDomainMovingProps_UiProps_DesignMainDomainMovingPropsMixin_$DesignMainDomainMovingPropsMixin_TransformByHelixGroupPropsMixin.prototype = { + set$helices: function(helices) { + this.TransformByHelixGroupPropsMixin_helices = type$.legacy_BuiltMap_of_legacy_int_and_legacy_Helix._as(helices); + }, + set$groups: function(groups) { + this.TransformByHelixGroupPropsMixin_groups = type$.legacy_BuiltMap_of_legacy_String_and_legacy_HelixGroup._as(groups); + }, + set$geometry: function(_, geometry) { + this.TransformByHelixGroupPropsMixin_geometry = type$.legacy_Geometry._as(geometry); + }, + get$helices: function() { + return this.TransformByHelixGroupPropsMixin_helices; + }, + get$groups: function() { + return this.TransformByHelixGroupPropsMixin_groups; + }, + get$geometry: function(receiver) { + return this.TransformByHelixGroupPropsMixin_geometry; + } + }; + T.__$$DesignMainDomainMovingProps_UiProps_DesignMainDomainMovingPropsMixin_$DesignMainDomainMovingPropsMixin_TransformByHelixGroupPropsMixin_$TransformByHelixGroupPropsMixin.prototype = {}; + R.DesignMainDomainNameMismatchesProps.prototype = {$isMap: 1, $isUiProps0: 1, $isUiProps: 1}; + R.DesignMainDomainNameMismatchesComponent.prototype = { + render$0: function(_) { + var mismatch_components = this._create_mismatch_components$0(), + t1 = A.SvgProps$($.$get$g(), null); + t1.set$className(0, "domain-name-mismatches-main-view"); + return t1.call$1(mismatch_components); + }, + _create_mismatch_components$0: function() { + var t1, t2, t3, t4, t5, t6, t7, t8, t9, forward_domain, reverse_domain, overlap, t10, mid, _i, domain, t11, base_svg_pos, key, t12, t13, _this = this, _null = null, + _s42_ = string$.DesignMDoNd, + mismatch_components = H.setRuntimeTypeInfo([], type$.JSArray_legacy_ReactElement); + for (t1 = _this._design_main_domain_name_mismatches$_cachedTypedProps.get$design().helices, t1 = J.get$iterator$ax(t1.get$values(t1)), t2 = type$.legacy_Design, t3 = type$.legacy_BuiltMap_of_legacy_int_and_legacy_Point_legacy_num, t4 = type$.legacy_Point_legacy_num, t5 = type$.legacy_BuiltSet_legacy_int; t1.moveNext$0();) { + t6 = t1.get$current(t1); + t7 = _this._design_main_domain_name_mismatches$_cachedTypedProps; + t7 = t7.get$props(t7).$index(0, string$.DesignMDoNo); + if (H.boolConversionCheck(H._asBoolS(t7 == null ? _null : t7))) { + t7 = _this._design_main_domain_name_mismatches$_cachedTypedProps; + t7 = t7.get$props(t7).$index(0, string$.DesignMDoNs); + t7 = t5._as(t7 == null ? _null : t7); + t8 = t6.idx; + t8 = !t7._set.contains$1(0, t8); + t7 = t8; + } else + t7 = false; + if (t7) + continue; + t7 = _this._design_main_domain_name_mismatches$_cachedTypedProps; + t7 = t7.get$props(t7).$index(0, _s42_); + t7 = t2._as(t7 == null ? _null : t7); + t8 = t7.__domain_name_mismatches; + if (t8 == null) { + t8 = N.Design.prototype.get$domain_name_mismatches.call(t7); + t7.set$__domain_name_mismatches(t8); + t7 = t8; + } else + t7 = t8; + t8 = t6.idx; + for (t7 = J.get$iterator$ax(J.$index$asx(t7._map$_map, t8)._list); t7.moveNext$0();) { + t9 = t7.get$current(t7); + forward_domain = t9.forward_domain; + reverse_domain = t9.reverse_domain; + overlap = forward_domain.compute_overlap$1(reverse_domain); + t9 = overlap.item1; + t10 = overlap.item2; + if (typeof t9 !== "number") + return t9.$add(); + if (typeof t10 !== "number") + return H.iae(t10); + mid = C.JSNumber_methods._tdivFast$1(t9 + t10, 2); + for (t9 = [forward_domain, reverse_domain], _i = 0; _i < 2; ++_i) { + domain = t9[_i]; + t10 = domain.forward; + t11 = _this._design_main_domain_name_mismatches$_cachedTypedProps; + t11 = t11.get$props(t11).$index(0, string$.DesignMDoNh); + base_svg_pos = t6.svg_base_pos$3(mid, t10, J.$index$asx(t3._as(t11 == null ? _null : t11)._map$_map, t8).y); + key = "" + domain.helix + ";" + t10 + ";" + domain.start + ";" + mid + ";" + domain.end; + t11 = R.design_main_warning_star___$DesignMainWarningStar$closure().call$0(); + t11.toString; + t4._as(base_svg_pos); + t12 = J.getInterceptor$x(t11); + J.$indexSet$ax(t12.get$props(t11), "DesignMainWarningStarProps.base_svg_pos", base_svg_pos); + t13 = _this._design_main_domain_name_mismatches$_cachedTypedProps; + t13 = t13.get$props(t13).$index(0, _s42_); + t13 = t2._as(t13 == null ? _null : t13).geometry; + J.$indexSet$ax(t12.get$props(t11), "DesignMainWarningStarProps.geometry", t13); + J.$indexSet$ax(t12.get$props(t11), "DesignMainWarningStarProps.forward", t10); + J.$indexSet$ax(t12.get$props(t11), "DesignMainWarningStarProps.color", "blue"); + t12 = t12.get$props(t11); + J.$indexSet$ax(t12, "key", key); + C.JSArray_methods.add$1(mismatch_components, t11.call$0()); + } + } + } + return mismatch_components; + } + }; + R.$DesignMainDomainNameMismatchesComponentFactory_closure.prototype = { + call$0: function() { + return new R._$DesignMainDomainNameMismatchesComponent(null); + }, + "call*": "call$0", + $requiredArgCount: 0, + $signature: 437 + }; + R._$$DesignMainDomainNameMismatchesProps.prototype = { + get$$$isClassGenerated: function() { + return true; + }, + get$componentFactory: function() { + var t1 = this.componentFactory; + return t1 == null ? $.$get$$DesignMainDomainNameMismatchesComponentFactory() : t1; + } + }; + R._$$DesignMainDomainNameMismatchesProps$PlainMap.prototype = { + get$props: function(_) { + return this._design_main_domain_name_mismatches$_props; + } + }; + R._$$DesignMainDomainNameMismatchesProps$JsMap.prototype = { + get$props: function(_) { + return this._design_main_domain_name_mismatches$_props; + } + }; + R._$DesignMainDomainNameMismatchesComponent.prototype = { + get$props: function(_) { + return this._design_main_domain_name_mismatches$_cachedTypedProps; + }, + set$props: function(_, value) { + this.props = value; + this._design_main_domain_name_mismatches$_cachedTypedProps = R._$$DesignMainDomainNameMismatchesProps$JsMap$(R.getBackingMap(value)); + }, + get$displayName: function(_) { + return "DesignMainDomainNameMismatches"; + }, + get$$$defaultConsumedProps: function() { + return C.Map_cwekJ.get$values(C.Map_cwekJ); + } + }; + R.$DesignMainDomainNameMismatchesProps.prototype = { + get$design: function() { + var t1 = J.$index$asx(this.get$props(this), string$.DesignMDoNd); + if (t1 == null) + t1 = null; + return type$.legacy_Design._as(t1); + } + }; + R._DesignMainDomainNameMismatchesComponent_UiComponent2_PureComponent.prototype = {}; + R.__$$DesignMainDomainNameMismatchesProps_UiProps_DesignMainDomainNameMismatchesProps.prototype = {}; + R.__$$DesignMainDomainNameMismatchesProps_UiProps_DesignMainDomainNameMismatchesProps_$DesignMainDomainNameMismatchesProps.prototype = {}; + Y.ConnectedDesignMainDomainsMoving_closure.prototype = { + call$1: function(state) { + var t1, t2, t3, t4, group_name, t5, t6, original_group, current_group, selected_domains_on_multiple_groups; + type$.legacy_AppState._as(state); + t1 = state.ui_state; + t2 = t1.domains_move; + t3 = t2 != null; + if (t3) { + t4 = state.design; + group_name = E.original_group_name_from_domains_move(t4, t2); + t5 = t4.groups._map$_map; + t6 = J.getInterceptor$asx(t5); + original_group = t6.$index(t5, group_name); + current_group = t6.$index(t5, E.current_group_name_from_domains_move(t4, t2)); + } else { + original_group = null; + current_group = null; + } + if (t3) { + t3 = state.design.group_names_of_domains$1(t2.domains_moving)._set; + t3 = t3.get$length(t3); + if (typeof t3 !== "number") + return t3.$gt(); + selected_domains_on_multiple_groups = t3 > 1; + } else + selected_domains_on_multiple_groups = false; + t3 = Y.design_main_domains_moving___$DesignMainDomainsMoving$closure().call$0(); + if (selected_domains_on_multiple_groups) + t2 = null; + t3.toString; + t4 = J.getInterceptor$x(t3); + J.$indexSet$ax(t4.get$props(t3), string$.DesignMDosd, t2); + t2 = state.design; + t5 = t2.__color_of_domain; + if (t5 == null) { + t5 = N.Design.prototype.get$color_of_domain.call(t2); + t2.set$__color_of_domain(t5); + } + type$.legacy_BuiltMap_of_legacy_Domain_and_legacy_Color._as(t5); + J.$indexSet$ax(t4.get$props(t3), string$.DesignMDosco, t5); + t5 = type$.legacy_BuiltMap_of_legacy_String_and_legacy_HelixGroup._as(t2.groups); + J.$indexSet$ax(t4.get$props(t3), "DesignMainDomainsMovingProps.groups", t5); + J.$indexSet$ax(t4.get$props(t3), string$.DesignMDoso, original_group); + J.$indexSet$ax(t4.get$props(t3), string$.DesignMDoscu, current_group); + t5 = type$.legacy_BuiltMap_of_legacy_int_and_legacy_Helix._as(t2.helices); + J.$indexSet$ax(t4.get$props(t3), "DesignMainDomainsMovingProps.helices", t5); + t1 = type$.legacy_BuiltSet_legacy_int._as(t1.storables.side_selected_helix_idxs); + J.$indexSet$ax(t4.get$props(t3), string$.DesignMDoss, t1); + t1 = type$.legacy_BuiltMap_of_legacy_int_and_legacy_num._as(state.get$helix_idx_to_svg_position_map().map$2$1(0, new Y.ConnectedDesignMainDomainsMoving__closure(), type$.legacy_int, type$.legacy_num)); + J.$indexSet$ax(t4.get$props(t3), string$.DesignMDosh, t1); + t2 = t2.geometry; + J.$indexSet$ax(t4.get$props(t3), "DesignMainDomainsMovingProps.geometry", t2); + return t3; + }, + $signature: 438 + }; + Y.ConnectedDesignMainDomainsMoving__closure.prototype = { + call$2: function(i, p) { + return new P.MapEntry(H._asIntS(i), type$.legacy_Point_legacy_num._as(p).y, type$.MapEntry_of_legacy_int_and_legacy_num); + }, + $signature: 43 + }; + Y.DesignMainDomainsMovingProps.prototype = {$isMap: 1, $isUiProps0: 1, $isUiProps: 1, + get$helices: function() { + return this.DesignMainDomainsMovingProps_helices; + }, + get$groups: function() { + return this.DesignMainDomainsMovingProps_groups; + }, + get$geometry: function(receiver) { + return this.DesignMainDomainsMovingProps_geometry; + } + }; + Y.DesignMainDomainsMovingComponent.prototype = { + render$0: function(_) { + var domains_moving, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19, t20, t21, domain_moved, moved_helix_idx, domain_helix_svg_position_y, _this = this, _null = null, + _s43_ = string$.DesignMDoso, + _s42_ = string$.DesignMDoscu, + _s41_ = string$.DesignMDosd; + if (_this._design_main_domains_moving$_cachedTypedProps.get$domains_move() == null) + return _null; + domains_moving = H.setRuntimeTypeInfo([], type$.JSArray_legacy_ReactElement); + for (t1 = J.get$iterator$ax(_this._design_main_domains_moving$_cachedTypedProps.get$domains_move().domains_moving._list), t2 = type$.legacy_Geometry, t3 = type$.legacy_DomainsMove, t4 = type$.legacy_BuiltMap_of_legacy_String_and_legacy_HelixGroup, t5 = type$.legacy_BuiltMap_of_legacy_int_and_legacy_Helix, t6 = type$.legacy_BuiltSet_legacy_int, t7 = type$.legacy_HelixGroup, t8 = type$.legacy_BuiltMap_of_legacy_Domain_and_legacy_Color, t9 = type$.legacy_Color, t10 = type$.legacy_BuiltMap_of_legacy_int_and_legacy_num; t1.moveNext$0();) { + t11 = t1.get$current(t1); + t12 = _this._design_main_domains_moving$_cachedTypedProps; + t12 = t12.get$props(t12).$index(0, _s43_); + t12 = t7._as(t12 == null ? _null : t12); + t13 = _this._design_main_domains_moving$_cachedTypedProps; + t13 = t13.get$props(t13).$index(0, _s42_); + t13 = t7._as(t13 == null ? _null : t13); + t14 = _this._design_main_domains_moving$_cachedTypedProps; + t14 = t14.get$props(t14).$index(0, _s41_); + t14 = t3._as(t14 == null ? _null : t14); + t15 = t14.groups; + t16 = t14.helices; + t17 = t14.current_address.helix_idx; + t16 = t16._map$_map; + t18 = J.getInterceptor$asx(t16); + t19 = t18.$index(t16, t17).group; + t15 = t15._map$_map; + t20 = J.getInterceptor$asx(t15); + t19 = t20.$index(t15, t19); + t21 = t19.__helices_view_order_inverse; + if (t21 == null) { + t21 = O.HelixGroup.prototype.get$helices_view_order_inverse.call(t19); + t19.set$__helices_view_order_inverse(t21); + t19 = t21; + } else + t19 = t21; + t17 = J.$index$asx(t19._map$_map, t18.$index(t16, t17).idx); + t14 = t14.original_address.helix_idx; + t15 = t20.$index(t15, t18.$index(t16, t14).group); + t20 = t15.__helices_view_order_inverse; + if (t20 == null) { + t19 = O.HelixGroup.prototype.get$helices_view_order_inverse.call(t15); + t15.set$__helices_view_order_inverse(t19); + t15 = t19; + } else + t15 = t20; + t14 = J.$index$asx(t15._map$_map, t18.$index(t16, t14).idx); + if (typeof t17 !== "number") + return t17.$sub(); + if (typeof t14 !== "number") + return H.iae(t14); + t16 = _this._design_main_domains_moving$_cachedTypedProps; + t16 = t16.get$props(t16).$index(0, _s41_); + t15 = t3._as(t16 == null ? _null : t16); + t16 = t15.current_address.offset; + t15 = t15.original_address.offset; + if (typeof t16 !== "number") + return t16.$sub(); + if (typeof t15 !== "number") + return H.iae(t15); + t18 = _this._design_main_domains_moving$_cachedTypedProps; + t18 = t18.get$props(t18).$index(0, _s41_); + t18 = t3._as(t18 == null ? _null : t18); + domain_moved = Q.move_domain(t13, t18.current_address.forward != t18.original_address.forward, t16 - t15, t17 - t14, t11, t12, true); + moved_helix_idx = domain_moved.helix; + t12 = _this._design_main_domains_moving$_cachedTypedProps; + t12 = t12.get$props(t12).$index(0, string$.DesignMDosh); + domain_helix_svg_position_y = J.$index$asx(t10._as(t12 == null ? _null : t12)._map$_map, moved_helix_idx); + t12 = T.design_main_domain_moving___$DesignMainDomainMoving$closure().call$0(); + t12.toString; + t13 = J.getInterceptor$x(t12); + J.$indexSet$ax(t13.get$props(t12), string$.DesignMDoMdom, domain_moved); + t14 = _this._design_main_domains_moving$_cachedTypedProps; + t14 = t14.get$props(t14).$index(0, string$.DesignMDosco); + t14 = t9._as(J.$index$asx(t8._as(t14 == null ? _null : t14)._map$_map, t11)); + J.$indexSet$ax(t13.get$props(t12), "DesignMainDomainMovingPropsMixin.color", t14); + t14 = _this._design_main_domains_moving$_cachedTypedProps; + t14 = t14.get$props(t14).$index(0, _s41_); + t14 = t3._as(t14 == null ? _null : t14); + t15 = t14.groups; + t16 = t14.helices; + t17 = t14.current_address.helix_idx; + t16 = t16._map$_map; + t18 = J.getInterceptor$asx(t16); + t19 = t18.$index(t16, t17).group; + t15 = t15._map$_map; + t20 = J.getInterceptor$asx(t15); + t19 = t20.$index(t15, t19); + t21 = t19.__helices_view_order_inverse; + if (t21 == null) { + t21 = O.HelixGroup.prototype.get$helices_view_order_inverse.call(t19); + t19.set$__helices_view_order_inverse(t21); + t19 = t21; + } else + t19 = t21; + t17 = J.$index$asx(t19._map$_map, t18.$index(t16, t17).idx); + t14 = t14.original_address.helix_idx; + t15 = t20.$index(t15, t18.$index(t16, t14).group); + t20 = t15.__helices_view_order_inverse; + if (t20 == null) { + t19 = O.HelixGroup.prototype.get$helices_view_order_inverse.call(t15); + t15.set$__helices_view_order_inverse(t19); + t15 = t19; + } else + t15 = t20; + t14 = J.$index$asx(t15._map$_map, t18.$index(t16, t14).idx); + if (typeof t17 !== "number") + return t17.$sub(); + if (typeof t14 !== "number") + return H.iae(t14); + J.$indexSet$ax(t13.get$props(t12), string$.DesignMDoMdev, t17 - t14); + t14 = _this._design_main_domains_moving$_cachedTypedProps; + t14 = t14.get$props(t14).$index(0, _s43_); + t14 = t7._as(t14 == null ? _null : t14); + J.$indexSet$ax(t13.get$props(t12), string$.DesignMDoMo, t14); + t14 = _this._design_main_domains_moving$_cachedTypedProps; + t14 = t14.get$props(t14).$index(0, _s42_); + t14 = t7._as(t14 == null ? _null : t14); + J.$indexSet$ax(t13.get$props(t12), string$.DesignMDoMc, t14); + t14 = _this._design_main_domains_moving$_cachedTypedProps; + t14 = t14.get$props(t14).$index(0, _s41_); + t14 = t3._as(t14 == null ? _null : t14); + t15 = t14.current_address.offset; + t14 = t14.original_address.offset; + if (typeof t15 !== "number") + return t15.$sub(); + if (typeof t14 !== "number") + return H.iae(t14); + J.$indexSet$ax(t13.get$props(t12), string$.DesignMDoMdeo, t15 - t14); + t14 = _this._design_main_domains_moving$_cachedTypedProps; + t14 = t14.get$props(t14).$index(0, _s41_); + t14 = t3._as(t14 == null ? _null : t14); + t15 = t14.current_address; + t14 = t14.original_address; + J.$indexSet$ax(t13.get$props(t12), string$.DesignMDoMdef, t15.forward != t14.forward); + t14 = _this._design_main_domains_moving$_cachedTypedProps; + t14 = t14.get$props(t14).$index(0, string$.DesignMDoss); + t14 = t6._as(t6._as(t14 == null ? _null : t14)); + J.$indexSet$ax(t13.get$props(t12), string$.DesignMDoMs, t14); + t14 = _this._design_main_domains_moving$_cachedTypedProps; + t14 = t14.get$props(t14).$index(0, "DesignMainDomainsMovingProps.helices"); + t14 = t5._as(t5._as(t14 == null ? _null : t14)); + J.$indexSet$ax(t13.get$props(t12), "TransformByHelixGroupPropsMixin.helices", t14); + t14 = _this._design_main_domains_moving$_cachedTypedProps; + t14 = t14.get$props(t14).$index(0, "DesignMainDomainsMovingProps.groups"); + t14 = t4._as(t4._as(t14 == null ? _null : t14)); + J.$indexSet$ax(t13.get$props(t12), "TransformByHelixGroupPropsMixin.groups", t14); + t14 = _this._design_main_domains_moving$_cachedTypedProps; + t14 = t14.get$props(t14).$index(0, _s41_); + t14 = t3._as(t14 == null ? _null : t14).allowable; + J.$indexSet$ax(t13.get$props(t12), string$.DesignMDoMa, t14); + t14 = _this._design_main_domains_moving$_cachedTypedProps; + t14 = t14.get$props(t14).$index(0, "DesignMainDomainsMovingProps.geometry"); + t14 = t2._as(t14 == null ? _null : t14); + J.$indexSet$ax(t13.get$props(t12), "TransformByHelixGroupPropsMixin.geometry", t14); + J.$indexSet$ax(t13.get$props(t12), string$.DesignMDoMdoh, domain_helix_svg_position_y); + t11 = J.toString$0$(t11); + t13 = t13.get$props(t12); + J.$indexSet$ax(t13, "key", t11); + C.JSArray_methods.add$1(domains_moving, t12.call$0()); + } + t1 = A.SvgProps$($.$get$g(), _null); + t1.set$className(0, "domains-moving-main-view" + (_this._design_main_domains_moving$_cachedTypedProps.get$domains_move().allowable ? "" : " disallowed")); + return t1.call$1(domains_moving); + } + }; + Y.$DesignMainDomainsMovingComponentFactory_closure.prototype = { + call$0: function() { + return new Y._$DesignMainDomainsMovingComponent(null); + }, + "call*": "call$0", + $requiredArgCount: 0, + $signature: 439 + }; + Y._$$DesignMainDomainsMovingProps.prototype = { + get$$$isClassGenerated: function() { + return true; + }, + get$componentFactory: function() { + var t1 = this.componentFactory; + return t1 == null ? $.$get$$DesignMainDomainsMovingComponentFactory() : t1; + } + }; + Y._$$DesignMainDomainsMovingProps$PlainMap.prototype = { + get$props: function(_) { + return this._design_main_domains_moving$_props; + } + }; + Y._$$DesignMainDomainsMovingProps$JsMap.prototype = { + get$props: function(_) { + return this._design_main_domains_moving$_props; + } + }; + Y._$DesignMainDomainsMovingComponent.prototype = { + get$props: function(_) { + return this._design_main_domains_moving$_cachedTypedProps; + }, + set$props: function(_, value) { + this.props = value; + this._design_main_domains_moving$_cachedTypedProps = Y._$$DesignMainDomainsMovingProps$JsMap$(R.getBackingMap(value)); + }, + get$displayName: function(_) { + return "DesignMainDomainsMoving"; + }, + get$$$defaultConsumedProps: function() { + return C.Map_LBHde.get$values(C.Map_LBHde); + } + }; + Y.$DesignMainDomainsMovingProps.prototype = { + get$domains_move: function() { + var t1 = J.$index$asx(this.get$props(this), string$.DesignMDosd); + if (t1 == null) + t1 = null; + return type$.legacy_DomainsMove._as(t1); + }, + get$helices: function() { + var t1 = J.$index$asx(this.get$props(this), "DesignMainDomainsMovingProps.helices"); + if (t1 == null) + t1 = null; + return type$.legacy_BuiltMap_of_legacy_int_and_legacy_Helix._as(t1); + }, + get$groups: function() { + var t1 = J.$index$asx(this.get$props(this), "DesignMainDomainsMovingProps.groups"); + if (t1 == null) + t1 = null; + return type$.legacy_BuiltMap_of_legacy_String_and_legacy_HelixGroup._as(t1); + }, + get$geometry: function(_) { + var t1 = J.$index$asx(this.get$props(this), "DesignMainDomainsMovingProps.geometry"); + if (t1 == null) + t1 = null; + return type$.legacy_Geometry._as(t1); + } + }; + Y._DesignMainDomainsMovingComponent_UiComponent2_PureComponent.prototype = {}; + Y.__$$DesignMainDomainsMovingProps_UiProps_DesignMainDomainsMovingProps.prototype = { + get$helices: function() { + return this.DesignMainDomainsMovingProps_helices; + }, + get$groups: function() { + return this.DesignMainDomainsMovingProps_groups; + }, + get$geometry: function(receiver) { + return this.DesignMainDomainsMovingProps_geometry; + } + }; + Y.__$$DesignMainDomainsMovingProps_UiProps_DesignMainDomainsMovingProps_$DesignMainDomainsMovingProps.prototype = {}; + X.DesignMainErrorBoundaryStateMixin.prototype = {}; + X.DesignMainErrorBoundaryComponent.prototype = { + get$defaultProps: function(_) { + var t1 = this.typedPropsFactoryJs$1(new L.JsBackedMap({})); + t1.set$identicalErrorFrequencyTolerance(P.Duration$(0, 0, 5)); + t1.set$loggerName("over_react.ErrorBoundary"); + t1.set$shouldLogErrors(true); + return t1; + }, + get$initialState: function() { + var t1 = this.typedStateFactoryJs$1(new L.JsBackedMap({})); + t1.set$hasError(false); + t1.set$showFallbackUIOnError(true); + return t1; + }, + getDerivedStateFromError$1: function(error) { + var t1 = this.typedStateFactoryJs$1(new L.JsBackedMap({})); + t1.set$hasError(true); + t1.set$error(0, error); + t1.set$showFallbackUIOnError(true); + return t1; + }, + componentDidCatch$2: function(error, info) { + var _this = this; + if (_this._design_main_error_boundary$_cachedTypedProps.get$onComponentDidCatch() != null) + _this._design_main_error_boundary$_cachedTypedProps.onComponentDidCatch$2(error, info); + _this._design_main_error_boundary$_logErrorCaughtByErrorBoundary$2(error, info); + if (_this._design_main_error_boundary$_cachedTypedProps.get$onComponentIsUnrecoverable() != null) + _this._design_main_error_boundary$_cachedTypedProps.onComponentIsUnrecoverable$2(error, info); + }, + render$0: function(_) { + var error, t1, t2, _this = this; + if (H.boolConversionCheck(_this._cachedTypedState.get$hasError())) { + error = F.DartValueWrapper_unwrapIfNeeded(_this._cachedTypedState._design_main_error_boundary$_state.jsObject["DesignMainErrorBoundaryStateMixin.error"]); + if (error == null) + error = null; + X.send_error("You have discovered a bug in scadnano. Please file a bug report as a GitHub issue at\n https://github.com/UC-Davis-molecular-computing/scadnano/issues\nand include the following information:\n\n" + H.S(J.toString$0$(error)) + "\n\nstack trace:\n" + H.S(error.get$stackTrace())); + return null; + } + t1 = $.$get$RecoverableErrorBoundary().call$0(); + t1.addTestId$1("RecoverableErrorBoundary"); + t1.modifyProps$1(_this.get$addUnconsumedProps()); + t2 = _this._design_main_error_boundary$_cachedTypedProps; + return t1.call$1(t2.get$children(t2)); + }, + componentDidUpdate$3: function(prevProps, prevState, snapshot) { + var t1, childThatCausedError, _this = this; + if (H.boolConversionCheck(_this._cachedTypedState.get$hasError())) { + t1 = X._$$DesignMainErrorBoundaryProps__$$DesignMainErrorBoundaryProps(prevProps); + childThatCausedError = J.get$single$ax(t1.get$children(t1)); + t1 = _this._design_main_error_boundary$_cachedTypedProps; + if (!J.$eq$(childThatCausedError, J.get$single$ax(t1.get$children(t1)))) + _this.setState$1(0, _this.get$initialState()); + } + }, + get$_design_main_error_boundary$_loggerName: function() { + if (this._design_main_error_boundary$_cachedTypedProps.get$logger() != null) + return this._design_main_error_boundary$_cachedTypedProps.get$logger().name; + var t1 = this._design_main_error_boundary$_cachedTypedProps.get$loggerName(); + return t1 == null ? "over_react.ErrorBoundary" : t1; + }, + _design_main_error_boundary$_logErrorCaughtByErrorBoundary$2: function(error, info) { + var t1, message, t2; + if (!H.boolConversionCheck(this._design_main_error_boundary$_cachedTypedProps.get$shouldLogErrors())) + return; + t1 = J.getInterceptor$x(info); + message = string$.An_unr + H.S(t1.get$componentStack(info)); + t2 = this._design_main_error_boundary$_cachedTypedProps.get$logger(); + if (t2 == null) + t2 = F.Logger_Logger(this.get$_design_main_error_boundary$_loggerName()); + t1 = t1.get$dartStackTrace(info); + t2.toString; + t2.log$4(C.Level_SEVERE_1000, message, error, type$.nullable_StackTrace._as(t1)); + } + }; + X.$DesignMainErrorBoundaryComponentFactory_closure.prototype = { + call$0: function() { + return new X._$DesignMainErrorBoundaryComponent(null); + }, + "call*": "call$0", + $requiredArgCount: 0, + $signature: 440 + }; + X._$$DesignMainErrorBoundaryProps.prototype = { + get$$$isClassGenerated: function() { + return true; + }, + get$componentFactory: function() { + var t1 = this.componentFactory; + return t1 == null ? $.$get$$DesignMainErrorBoundaryComponentFactory() : t1; + } + }; + X._$$DesignMainErrorBoundaryProps$PlainMap.prototype = { + get$props: function(_) { + return this._design_main_error_boundary$_props; + } + }; + X._$$DesignMainErrorBoundaryProps$JsMap.prototype = { + get$props: function(_) { + return this._design_main_error_boundary$_props; + } + }; + X._$$DesignMainErrorBoundaryState.prototype = { + get$$$isClassGenerated: function() { + return true; + } + }; + X._$$DesignMainErrorBoundaryState$JsMap.prototype = { + get$state: function(_) { + return this._design_main_error_boundary$_state; + } + }; + X._$DesignMainErrorBoundaryComponent.prototype = { + get$props: function(_) { + return this._design_main_error_boundary$_cachedTypedProps; + }, + set$props: function(_, value) { + this.props = value; + this._design_main_error_boundary$_cachedTypedProps = X._$$DesignMainErrorBoundaryProps$JsMap$(R.getBackingMap(value)); + }, + typedPropsFactoryJs$1: function(backingMap) { + return X._$$DesignMainErrorBoundaryProps$JsMap$(backingMap); + }, + set$state: function(_, value) { + this.state = value; + this._cachedTypedState = X._$$DesignMainErrorBoundaryState$JsMap$(value); + }, + typedStateFactoryJs$1: function(backingMap) { + var t1 = new X._$$DesignMainErrorBoundaryState$JsMap(new L.JsBackedMap({}), null, null, null); + t1.get$$$isClassGenerated(); + t1._design_main_error_boundary$_state = backingMap; + return t1; + }, + get$displayName: function(_) { + return "DesignMainErrorBoundary"; + }, + get$$$defaultConsumedProps: function() { + return C.Map_EU4AN.get$values(C.Map_EU4AN); + } + }; + X.$DesignMainErrorBoundaryStateMixin.prototype = { + set$error: function(_, value) { + this._design_main_error_boundary$_state.jsObject["DesignMainErrorBoundaryStateMixin.error"] = F.DartValueWrapper_wrapIfNeeded(value); + } + }; + X._DesignMainErrorBoundaryComponent_UiStatefulComponent2_ErrorBoundaryApi.prototype = {}; + X.__$$DesignMainErrorBoundaryProps_UiProps_ErrorBoundaryProps.prototype = { + set$identicalErrorFrequencyTolerance: function(identicalErrorFrequencyTolerance) { + this.ErrorBoundaryProps_identicalErrorFrequencyTolerance = type$.legacy_Duration._as(identicalErrorFrequencyTolerance); + }, + set$loggerName: function(loggerName) { + this.ErrorBoundaryProps_loggerName = H._asStringS(loggerName); + }, + set$shouldLogErrors: function(shouldLogErrors) { + this.ErrorBoundaryProps_shouldLogErrors = H._asBoolS(shouldLogErrors); + } + }; + X.__$$DesignMainErrorBoundaryProps_UiProps_ErrorBoundaryProps_$ErrorBoundaryProps.prototype = {}; + X.__$$DesignMainErrorBoundaryState_UiState_ErrorBoundaryState.prototype = { + set$hasError: function(hasError) { + this.ErrorBoundaryState_hasError = H._asBoolS(hasError); + }, + set$showFallbackUIOnError: function(showFallbackUIOnError) { + this.ErrorBoundaryState_showFallbackUIOnError = H._asBoolS(showFallbackUIOnError); + } + }; + X.__$$DesignMainErrorBoundaryState_UiState_ErrorBoundaryState_$ErrorBoundaryState.prototype = {}; + X.__$$DesignMainErrorBoundaryState_UiState_ErrorBoundaryState_$ErrorBoundaryState_DesignMainErrorBoundaryStateMixin.prototype = {}; + X.__$$DesignMainErrorBoundaryState_UiState_ErrorBoundaryState_$ErrorBoundaryState_DesignMainErrorBoundaryStateMixin_$DesignMainErrorBoundaryStateMixin.prototype = {}; + V.DesignMainHelicesProps.prototype = {$isMap: 1, $isUiProps0: 1, $isUiProps: 1, + get$helices: function() { + return this.DesignMainHelicesProps_helices; + }, + get$groups: function() { + return this.DesignMainHelicesProps_groups; + }, + get$geometry: function(receiver) { + return this.DesignMainHelicesProps_geometry; + } + }; + V.DesignMainHelicesComponent.prototype = { + render$0: function(_) { + var t1, t2, only_display_selected_helices, group_views, t3, t4, t5, t6, t7, t8, t9, t10, group, t11, t12, first_helix_view_order, children, helix, group0, view_order, t13, t14, t15, translate_svg, _this = this, _null = null, + _s29_ = "DesignMainHelicesProps.groups"; + if (J.get$isEmpty$asx(_this._design_main_helices$_cachedTypedProps.get$helices()._map$_map)) + return _null; + t1 = _this._design_main_helices$_cachedTypedProps; + t1 = t1.get$props(t1).$index(0, string$.DesignMHcsi); + if (t1 == null) + t1 = _null; + type$.legacy_BuiltSet_legacy_int._as(t1); + t2 = _this._design_main_helices$_cachedTypedProps; + t2 = t2.get$props(t2).$index(0, string$.DesignMHco); + only_display_selected_helices = H._asBoolS(t2 == null ? _null : t2); + group_views = []; + for (t2 = _this._design_main_helices$_cachedTypedProps.get$groups(), t2 = J.get$iterator$ax(t2.get$keys(t2)), t3 = type$.legacy_Geometry, t4 = type$.legacy_BuiltMap_of_legacy_String_and_legacy_HelixGroup, t5 = type$.legacy_BuiltMap_of_legacy_int_and_legacy_Helix, t6 = type$.legacy_BuiltMap_of_legacy_int_and_legacy_Point_legacy_num, t7 = type$.legacy_Point_legacy_num, t8 = type$.legacy_BuiltMap_of_legacy_String_and_legacy_BuiltList_legacy_int; t2.moveNext$0();) { + t9 = t2.get$current(t2); + t10 = _this._design_main_helices$_cachedTypedProps; + t10 = t10.get$props(t10).$index(0, _s29_); + group = J.$index$asx(t4._as(t10 == null ? _null : t10)._map$_map, t9); + t10 = _this._design_main_helices$_cachedTypedProps; + t10 = t10.get$props(t10).$index(0, string$.DesignMHchis); + t10 = J.$index$asx(t8._as(t10 == null ? _null : t10)._map$_map, t9)._list; + t11 = J.getInterceptor$asx(t10); + if (t11.get$isEmpty(t10)) + continue; + t12 = _this._design_main_helices$_cachedTypedProps; + t12 = t12.get$props(t12).$index(0, "DesignMainHelicesProps.invert_y"); + if (H.boolConversionCheck(H._asBoolS(t12 == null ? _null : t12))) { + t12 = t11.get$length(t10); + if (typeof t12 !== "number") + return t12.$sub(); + first_helix_view_order = t12 - 1; + } else + first_helix_view_order = 0; + children = []; + for (t10 = t11.get$iterator(t10); t10.moveNext$0();) { + t11 = t10.get$current(t10); + t12 = _this._design_main_helices$_cachedTypedProps; + t12 = t12.get$props(t12).$index(0, "DesignMainHelicesProps.helices"); + helix = J.$index$asx(t5._as(t12 == null ? _null : t12)._map$_map, t11); + t11 = _this._design_main_helices$_cachedTypedProps; + t11 = t11.get$props(t11).$index(0, _s29_); + t11 = t4._as(t11 == null ? _null : t11); + t12 = helix.group; + group0 = J.$index$asx(t11._map$_map, t12); + t12 = group0.__helices_view_order_inverse; + if (t12 == null) { + t11 = O.HelixGroup.prototype.get$helices_view_order_inverse.call(group0); + group0.set$__helices_view_order_inverse(t11); + } else + t11 = t12; + t12 = helix.idx; + view_order = J.$index$asx(t11._map$_map, t12); + H.boolConversionCheck(only_display_selected_helices); + if (only_display_selected_helices && t1._set.contains$1(0, t12) || !only_display_selected_helices) { + t11 = T.design_main_helix___$DesignMainHelix$closure().call$0(); + t11.toString; + t13 = J.getInterceptor$x(t11); + J.$indexSet$ax(t13.get$props(t11), "DesignMainHelixProps.helix", helix); + t14 = t1._set.contains$1(0, t12); + J.$indexSet$ax(t13.get$props(t11), "DesignMainHelixProps.selected", t14); + t14 = _this._design_main_helices$_cachedTypedProps; + t14 = t14.get$props(t14).$index(0, string$.DesignMHcmo); + t14 = H._asNumS(t14 == null ? _null : t14); + J.$indexSet$ax(t13.get$props(t11), string$.DesignMHxmo, t14); + t14 = _this._design_main_helices$_cachedTypedProps; + t14 = t14.get$props(t14).$index(0, string$.DesignMHcmw); + t14 = H._asNumS(t14 == null ? _null : t14); + J.$indexSet$ax(t13.get$props(t11), string$.DesignMHxmw, t14); + t14 = _this._design_main_helices$_cachedTypedProps; + t14 = t14.get$props(t14).$index(0, string$.DesignMHchc); + t14 = H._asBoolS(t14 == null ? _null : t14); + J.$indexSet$ax(t13.get$props(t11), string$.DesignMHxh, t14); + t14 = _this._design_main_helices$_cachedTypedProps; + t14 = t14.get$props(t14).$index(0, "DesignMainHelicesProps.show_dna"); + t14 = H._asBoolS(t14 == null ? _null : t14); + J.$indexSet$ax(t13.get$props(t11), "DesignMainHelixProps.show_dna", t14); + t14 = _this._design_main_helices$_cachedTypedProps; + t14 = t14.get$props(t14).$index(0, string$.DesignMHcshd); + t14 = H._asBoolS(t14 == null ? _null : t14); + J.$indexSet$ax(t13.get$props(t11), "DesignMainHelixProps.show_domain_labels", t14); + t14 = _this._design_main_helices$_cachedTypedProps; + t14 = t14.get$props(t14).$index(0, string$.DesignMHcshh); + t14 = H._asBoolS(t14 == null ? _null : t14); + J.$indexSet$ax(t13.get$props(t11), "DesignMainHelixProps.show_helix_circles", t14); + t14 = _this._design_main_helices$_cachedTypedProps; + t14 = t14.get$props(t14).$index(0, string$.DesignMHcdb); + if (H.boolConversionCheck(H._asBoolS(t14 == null ? _null : t14))) { + t14 = _this._design_main_helices$_cachedTypedProps; + t14 = t14.get$props(t14).$index(0, string$.DesignMHcdb_); + t14 = !H.boolConversionCheck(H._asBoolS(t14 == null ? _null : t14)) || view_order === first_helix_view_order; + } else + t14 = false; + J.$indexSet$ax(t13.get$props(t11), string$.DesignMHxdb, t14); + t14 = _this._design_main_helices$_cachedTypedProps; + t14 = t14.get$props(t14).$index(0, string$.DesignMHcdm); + if (H.boolConversionCheck(H._asBoolS(t14 == null ? _null : t14))) { + t14 = _this._design_main_helices$_cachedTypedProps; + t14 = t14.get$props(t14).$index(0, string$.DesignMHcdm_); + t14 = H.boolConversionCheck(H._asBoolS(t14 == null ? _null : t14)) || view_order === first_helix_view_order; + } else + t14 = false; + J.$indexSet$ax(t13.get$props(t11), string$.DesignMHxdm, t14); + t14 = C.JSInt_methods.toString$0(t12); + t15 = t13.get$props(t11); + J.$indexSet$ax(t15, "key", t14); + t14 = _this._design_main_helices$_cachedTypedProps; + t14 = t14.get$props(t14).$index(0, string$.DesignMHchi_); + t12 = t7._as(J.$index$asx(t6._as(t14 == null ? _null : t14)._map$_map, t12)); + J.$indexSet$ax(t13.get$props(t11), "DesignMainHelixProps.helix_svg_position", t12); + children.push(t11.call$0()); + } + } + t10 = $.$get$g(); + t11 = {}; + t11 = new L.JsBackedMap(t11); + t10 = new A.SvgProps(t10, t11, _null, _null); + t10.get$$$isClassGenerated(); + t12 = t11.jsObject; + t12.className = F.DartValueWrapper_wrapIfNeeded("helices-main-view-group-" + H.S(t9)); + t13 = _this._design_main_helices$_cachedTypedProps; + t13 = t13.get$props(t13).$index(0, "DesignMainHelicesProps.geometry"); + t13 = t3._as(t13 == null ? _null : t13); + t14 = group.position; + t15 = t13.__nm_to_svg_pixels; + t13 = t15 == null ? t13.__nm_to_svg_pixels = N.Geometry.prototype.get$nm_to_svg_pixels.call(t13) : t15; + translate_svg = X.Position3D_Position3D(t14.x * t13, t14.y * t13, t14.z * t13); + t12.transform = F.DartValueWrapper_wrapIfNeeded("translate(" + H.S(translate_svg.z) + ", " + H.S(translate_svg.y) + ") rotate(" + H.S(group.pitch) + ")"); + t9 = H.S(t9); + t11.$indexSet(0, "key", t9); + group_views.push(t10.call$1(children)); + } + t1 = A.SvgProps$($.$get$g(), _null); + t1.set$className(0, "helices-main-view"); + return t1.call$1(group_views); + } + }; + V.$DesignMainHelicesComponentFactory_closure.prototype = { + call$0: function() { + return new V._$DesignMainHelicesComponent(null); + }, + "call*": "call$0", + $requiredArgCount: 0, + $signature: 441 + }; + V._$$DesignMainHelicesProps.prototype = { + get$$$isClassGenerated: function() { + return true; + }, + get$componentFactory: function() { + var t1 = this.componentFactory; + return t1 == null ? $.$get$$DesignMainHelicesComponentFactory() : t1; + } + }; + V._$$DesignMainHelicesProps$PlainMap.prototype = { + get$props: function(_) { + return this._design_main_helices$_props; + } + }; + V._$$DesignMainHelicesProps$JsMap.prototype = { + get$props: function(_) { + return this._design_main_helices$_props; + } + }; + V._$DesignMainHelicesComponent.prototype = { + get$props: function(_) { + return this._design_main_helices$_cachedTypedProps; + }, + set$props: function(_, value) { + this.props = value; + this._design_main_helices$_cachedTypedProps = V._$$DesignMainHelicesProps$JsMap$(R.getBackingMap(value)); + }, + get$displayName: function(_) { + return "DesignMainHelices"; + }, + get$$$defaultConsumedProps: function() { + return C.Map_qZ0.get$values(C.Map_qZ0); + } + }; + V.$DesignMainHelicesProps.prototype = { + get$helices: function() { + var t1 = J.$index$asx(this.get$props(this), "DesignMainHelicesProps.helices"); + if (t1 == null) + t1 = null; + return type$.legacy_BuiltMap_of_legacy_int_and_legacy_Helix._as(t1); + }, + get$groups: function() { + var t1 = J.$index$asx(this.get$props(this), "DesignMainHelicesProps.groups"); + if (t1 == null) + t1 = null; + return type$.legacy_BuiltMap_of_legacy_String_and_legacy_HelixGroup._as(t1); + }, + get$geometry: function(_) { + var t1 = J.$index$asx(this.get$props(this), "DesignMainHelicesProps.geometry"); + if (t1 == null) + t1 = null; + return type$.legacy_Geometry._as(t1); + } + }; + V._DesignMainHelicesComponent_UiComponent2_PureComponent.prototype = {}; + V.__$$DesignMainHelicesProps_UiProps_DesignMainHelicesProps.prototype = { + get$helices: function() { + return this.DesignMainHelicesProps_helices; + }, + get$groups: function() { + return this.DesignMainHelicesProps_groups; + }, + get$geometry: function(receiver) { + return this.DesignMainHelicesProps_geometry; + } + }; + V.__$$DesignMainHelicesProps_UiProps_DesignMainHelicesProps_$DesignMainHelicesProps.prototype = {}; + T.DesignMainHelixProps.prototype = {$isMap: 1, $isUiProps0: 1, $isUiProps: 1}; + T.DesignMainHelixComponent.prototype = { + render$0: function(_) { + var cy, width, height, y_start, width0, height0, x_start, x_end, horz_line_paths, vert_line_paths, idx, t3, t4, t5, _this = this, _null = null, + _s20_ = "main-view-helix-text", + _s17_ = "helix-lines-group", + _s20_0 = "helix-invisible-rect", + geometry = _this._design_main_helix$_cachedTypedProps.get$helix().geometry, + cx = -(2 * geometry.get$base_width_svg() + geometry.get$distance_between_helices_svg() / 2), + t1 = _this._design_main_helix$_cachedTypedProps.get$helix_svg_position().y, + t2 = _this._design_main_helix$_cachedTypedProps.get$helix().get$svg_height(); + if (typeof t1 !== "number") + return t1.$add(); + cy = t1 + t2 / 2; + width = _this._design_main_helix$_cachedTypedProps.get$helix().get$svg_width(); + height = _this._design_main_helix$_cachedTypedProps.get$helix().get$svg_height(); + t2 = _this._design_main_helix$_cachedTypedProps.get$helix(); + y_start = _this._design_main_helix$_cachedTypedProps.get$helix_svg_position().y; + width0 = t2.get$svg_width(); + height0 = t2.get$svg_height(); + x_start = t2.min_offset * _this._design_main_helix$_cachedTypedProps.get$helix().geometry.get$base_width_svg(); + x_end = x_start + width0; + if (typeof y_start !== "number") + return y_start.$add(); + horz_line_paths = "M " + H.S(x_start) + " " + H.S(y_start) + " H " + H.S(x_end) + " M " + H.S(x_start) + " " + H.S(y_start + height0 / 2) + " H " + H.S(x_end) + " M " + H.S(x_start) + " " + H.S(y_start + height0) + " H " + H.S(x_end); + vert_line_paths = _this._vert_line_paths$2(_this._design_main_helix$_cachedTypedProps.get$helix(), _this._design_main_helix$_cachedTypedProps.get$helix_svg_position().y); + idx = _this._design_main_helix$_cachedTypedProps.get$helix().idx; + height0 = A.SvgProps$($.$get$g(), _null); + height0.set$id(0, "helix-main-view-" + _this._design_main_helix$_cachedTypedProps.get$helix().idx); + height0.set$className(0, "helix-main-view"); + t2 = []; + if (H.boolConversionCheck(_this._design_main_helix$_cachedTypedProps.get$show_helix_circles())) { + t1 = A.SvgProps$($.$get$circle(), _null); + t3 = _this._design_main_helix$_cachedTypedProps; + t3 = t3.get$props(t3).$index(0, "DesignMainHelixProps.selected"); + t1.set$className(0, "main-view-helix-circle " + (H.boolConversionCheck(H._asBoolS(t3 == null ? _null : t3)) ? "selected" : "")); + t1.set$onClick(0, new T.DesignMainHelixComponent_render_closure(_this)); + t1.set$id(0, "main-view-helix-circle-" + _this._design_main_helix$_cachedTypedProps.get$helix().idx); + t1.set$cx(0, H.S(cx)); + t1.set$cy(0, H.S(cy)); + t1.set$r(0, H.S(geometry.get$helix_radius_svg())); + t1.set$key(0, "main-view-helix-circle"); + t2.push(t1.call$0()); + } + if (H.boolConversionCheck(_this._design_main_helix$_cachedTypedProps.get$show_helix_circles())) { + t1 = A.SvgProps$($.$get$text(), _null); + t1.set$className(0, _s20_); + t1.set$onClick(0, new T.DesignMainHelixComponent_render_closure0(_this)); + t1.set$id(0, "main-view-helix-text-" + _this._design_main_helix$_cachedTypedProps.get$helix().idx); + t1.set$x(0, H.S(cx)); + t1.set$y(0, H.S(cy)); + t1.set$key(0, _s20_); + t2.push(t1.call$1("" + idx)); + } + t1 = A.SvgProps$($.$get$g(), _null); + t1.set$className(0, _s17_); + t1.set$key(0, _s17_); + t3 = A.SvgProps$($.$get$path(), _null); + t3.set$className(0, "helix-lines helix-horz-line"); + t3.set$d(0, horz_line_paths); + t3.set$key(0, "helix-horz-lines"); + t3 = t3.call$0(); + t4 = A.SvgProps$($.$get$path(), _null); + t4.set$className(0, "helix-lines helix-vert-minor-line"); + t4.set$d(0, vert_line_paths.$index(0, "minor")); + t4.set$key(0, "helix-vert-minor-lines"); + t4 = t4.call$0(); + t5 = A.SvgProps$($.$get$path(), _null); + t5.set$className(0, "helix-lines helix-vert-major-line"); + t5.set$d(0, vert_line_paths.$index(0, "major")); + t5.set$key(0, "helix-vert-major-lines"); + t2.push(t1.call$3(t3, t4, t5.call$0())); + t1 = _this._design_main_helix$_cachedTypedProps; + t1 = t1.get$props(t1).$index(0, string$.DesignMHxdb); + if (H.boolConversionCheck(H._asBoolS(t1 == null ? _null : t1))) + t2.push(_this._major_tick_offsets_svg_group$0()); + t1 = _this._design_main_helix$_cachedTypedProps; + t1 = t1.get$props(t1).$index(0, string$.DesignMHxdm); + if (H.boolConversionCheck(H._asBoolS(t1 == null ? _null : t1))) + t2.push(_this._major_tick_widths_svg_group$0()); + t1 = A.SvgProps$($.$get$rect(), _null); + t1.set$onPointerDown(new T.DesignMainHelixComponent_render_closure1(_this, geometry)); + t1.set$onMouseLeave(0, new T.DesignMainHelixComponent_render_closure2()); + t1.set$onMouseEnter(0, new T.DesignMainHelixComponent_render_closure3(_this)); + t1.set$onMouseMove(0, new T.DesignMainHelixComponent_render_closure4(_this)); + t1.set$x(0, _this._design_main_helix$_cachedTypedProps.get$helix_svg_position().x); + t1.set$y(0, _this._design_main_helix$_cachedTypedProps.get$helix_svg_position().y); + t1.set$width(0, H.S(width)); + t1.set$height(0, H.S(height)); + t1.set$className(0, _s20_0); + t1.set$key(0, _s20_0); + t2.push(t1.call$0()); + return height0.call$1(t2); + }, + componentDidMount$0: function() { + if (H.boolConversionCheck(this._design_main_helix$_cachedTypedProps.get$show_helix_circles())) { + var t1 = "#" + ("helix-main-view-" + this._design_main_helix$_cachedTypedProps.get$helix().idx); + J.addEventListener$2$x(document.querySelector(t1), "contextmenu", this.get$on_context_menu()); + } + }, + componentWillUnmount$0: function() { + var t1, _this = this; + if (H.boolConversionCheck(_this._design_main_helix$_cachedTypedProps.get$show_helix_circles())) { + t1 = "#" + ("helix-main-view-" + _this._design_main_helix$_cachedTypedProps.get$helix().idx); + J.removeEventListener$2$x(document.querySelector(t1), "contextmenu", _this.get$on_context_menu()); + } + _this.super$_UiComponent2_Component2_DisposableManagerProxy$componentWillUnmount(); + }, + on_context_menu$1: function(ev) { + var t1, t2, t3, t4; + ev = type$.legacy_MouseEvent._as(type$.legacy_Event._as(ev)); + if (!H.boolConversionCheck(ev.shiftKey)) { + ev.preventDefault(); + t1 = $.app; + t2 = this._design_main_helix$_cachedTypedProps.get$helix(); + t3 = this._design_main_helix$_cachedTypedProps; + t3 = t3.get$props(t3).$index(0, string$.DesignMHxh); + t2 = D._BuiltList$of(V.context_menu_helix(t2, H._asBoolS(t3 == null ? null : t3)), type$.legacy_ContextMenuItem); + t3 = ev.pageX; + t3.toString; + t4 = ev.pageY; + t4.toString; + t1.dispatch$1(U._$ContextMenuShow$_(B._$ContextMenu$_(t2, new P.Point(t3, t4, type$.Point_num)))); + } + }, + _major_tick_offsets_svg_group$0: function() { + var t1, y, offset_texts_elements, t2, t3, t4, t5, x, t6, t7, _this = this, _null = null, + _s24_ = "major-tick-offsets-group", + major_ticks = _this._design_main_helix$_cachedTypedProps.get$helix().get$calculate_major_ticks(), + offset = H.boolConversionCheck(_this._design_main_helix$_cachedTypedProps.get$show_dna()) ? 0 + _this._design_main_helix$_cachedTypedProps.get$helix().geometry.get$base_height_svg() : 0; + if (H.boolConversionCheck(_this._design_main_helix$_cachedTypedProps.get$show_domain_labels())) + offset += 1.2 * _this._design_main_helix$_cachedTypedProps.get$helix().geometry.get$base_height_svg(); + t1 = _this._design_main_helix$_cachedTypedProps.get$helix_svg_position().y; + if (typeof t1 !== "number") + return t1.$sub(); + y = t1 - (3 + offset); + offset_texts_elements = []; + for (t1 = J.get$iterator$ax(major_ticks._list), t2 = type$.legacy_Helix; t1.moveNext$0();) { + t3 = t1.get$current(t1); + if (typeof t3 !== "number") + return t3.$add(); + t4 = _this._design_main_helix$_cachedTypedProps; + t4 = t4.get$props(t4).$index(0, "DesignMainHelixProps.helix"); + t4 = t2._as(t4 == null ? _null : t4).geometry; + t5 = t4.__base_width_svg; + t4 = t5 == null ? t4.__base_width_svg = N.Geometry.prototype.get$base_width_svg.call(t4) : t5; + x = (t3 + 0.5) * t4; + t4 = $.$get$text(); + t5 = {}; + t5 = new L.JsBackedMap(t5); + t4 = new A.SvgProps(t4, t5, _null, _null); + t4.get$$$isClassGenerated(); + t6 = t5.jsObject; + t6.className = F.DartValueWrapper_wrapIfNeeded("main-view-helix-major-tick-offset-text"); + t6.x = F.DartValueWrapper_wrapIfNeeded(H.S(x)); + t6.y = F.DartValueWrapper_wrapIfNeeded(H.S(y)); + t7 = _this._design_main_helix$_cachedTypedProps; + t7 = t7.get$props(t7).$index(0, string$.DesignMHxmo); + t6.fontSize = F.DartValueWrapper_wrapIfNeeded(H.S(H._asNumS(t7 == null ? _null : t7))); + t6.dominantBaseline = F.DartValueWrapper_wrapIfNeeded("baseline"); + t6.textAnchor = F.DartValueWrapper_wrapIfNeeded("middle"); + t6 = "main-view-helix-major-tick-offset-" + H.S(x); + t5.$indexSet(0, "key", t6); + offset_texts_elements.push(t4.call$1(t3)); + } + t1 = A.SvgProps$($.$get$g(), _null); + t1.set$className(0, _s24_); + t1.set$key(0, _s24_); + return t1.call$1(offset_texts_elements); + }, + _major_tick_widths_svg_group$0: function() { + var t1, t2, y, offset_texts_elements, map_offset_to_distance, i, i0, t3, left_base_offset, right_base_offset, t4, base, distance, t5, t6, x, t7, _this = this, _null = null, + _s23_ = "major-tick-widths-group", + major_ticks = _this._design_main_helix$_cachedTypedProps.get$helix().get$calculate_major_ticks(), + offset = H.boolConversionCheck(_this._design_main_helix$_cachedTypedProps.get$show_dna()) ? 0 + _this._design_main_helix$_cachedTypedProps.get$helix().geometry.get$base_height_svg() : 0; + if (H.boolConversionCheck(_this._design_main_helix$_cachedTypedProps.get$show_domain_labels())) + offset += _this._design_main_helix$_cachedTypedProps.get$helix().geometry.get$base_height_svg(); + t1 = _this._design_main_helix$_cachedTypedProps.get$helix_svg_position().y; + t2 = _this._design_main_helix$_cachedTypedProps.get$helix().get$svg_height(); + if (typeof t1 !== "number") + return t1.$add(); + y = t1 + t2 + 3 + offset; + offset_texts_elements = []; + map_offset_to_distance = P.LinkedHashMap_LinkedHashMap$_empty(type$.legacy_num, type$.legacy_int); + t1 = major_ticks._list; + t2 = J.getInterceptor$asx(t1); + i = 0; + while (true) { + i0 = i + 1; + t3 = t2.get$length(t1); + if (typeof t3 !== "number") + return H.iae(t3); + if (!(i0 < t3)) + break; + left_base_offset = t2.$index(t1, i); + right_base_offset = t2.$index(t1, i0); + if (typeof right_base_offset !== "number") + return right_base_offset.$sub(); + if (typeof left_base_offset !== "number") + return H.iae(left_base_offset); + map_offset_to_distance.$indexSet(0, (right_base_offset + left_base_offset) / 2, right_base_offset - left_base_offset); + i = i0; + } + for (t1 = map_offset_to_distance.get$entries(map_offset_to_distance), t1 = t1.get$iterator(t1), t2 = type$.legacy_Helix, t3 = type$.legacy_Point_legacy_num; t1.moveNext$0();) { + t4 = t1.get$current(t1); + base = t4.key; + distance = t4.value; + t4 = _this._design_main_helix$_cachedTypedProps; + t4 = t4.get$props(t4).$index(0, "DesignMainHelixProps.helix_svg_position"); + t4 = t3._as(t4 == null ? _null : t4).x; + t5 = _this._design_main_helix$_cachedTypedProps; + t5 = t5.get$props(t5).$index(0, "DesignMainHelixProps.helix"); + t5 = t2._as(t5 == null ? _null : t5).geometry; + t6 = t5.__base_width_svg; + t5 = t6 == null ? t5.__base_width_svg = N.Geometry.prototype.get$base_width_svg.call(t5) : t6; + if (typeof base !== "number") + return base.$mul(); + if (typeof t4 !== "number") + return t4.$add(); + x = t4 + base * t5; + t5 = $.$get$text(); + t4 = {}; + t4 = new L.JsBackedMap(t4); + t5 = new A.SvgProps(t5, t4, _null, _null); + t5.get$$$isClassGenerated(); + t6 = t4.jsObject; + t6.className = F.DartValueWrapper_wrapIfNeeded("main-view-helix-major-tick-distance-text"); + t6.x = F.DartValueWrapper_wrapIfNeeded(H.S(x)); + t6.y = F.DartValueWrapper_wrapIfNeeded(H.S(y)); + t7 = _this._design_main_helix$_cachedTypedProps; + t7 = t7.get$props(t7).$index(0, string$.DesignMHxmw); + t6.fontSize = F.DartValueWrapper_wrapIfNeeded(H.S(H._asNumS(t7 == null ? _null : t7))); + t6.dominantBaseline = F.DartValueWrapper_wrapIfNeeded("hanging"); + t6.textAnchor = F.DartValueWrapper_wrapIfNeeded("middle"); + t6 = "main-view-helix-major-tick-distance-" + H.S(x); + t4.$indexSet(0, "key", t6); + C.JSArray_methods.addAll$1(offset_texts_elements, [t5.call$1(distance)]); + } + t1 = A.SvgProps$($.$get$g(), _null); + t1.set$className(0, _s23_); + t1.set$key(0, _s23_); + return t1.call$1(offset_texts_elements); + }, + _vert_line_paths$2: function(helix, helix_svg_position_y) { + var base, t2, t3, t4, t5, t6, path_cmds, + _s26_ = "DesignMainHelixProps.helix", + major_ticks = helix.get$calculate_major_ticks(), + t1 = type$.JSArray_legacy_String, + path_cmds_vert_minor = H.setRuntimeTypeInfo([], t1), + path_cmds_vert_major = H.setRuntimeTypeInfo([], t1); + for (base = helix.min_offset, t1 = helix.max_offset, t2 = type$.legacy_Helix, t3 = major_ticks._list, t4 = J.getInterceptor$asx(t3); base <= t1; ++base) { + t5 = this._design_main_helix$_cachedTypedProps; + t5 = t5.get$props(t5).$index(0, _s26_); + t5 = t2._as(t5 == null ? null : t5).geometry; + t6 = t5.__base_width_svg; + t5 = t6 == null ? t5.__base_width_svg = N.Geometry.prototype.get$base_width_svg.call(t5) : t6; + path_cmds = t4.contains$1(t3, base) ? path_cmds_vert_major : path_cmds_vert_minor; + C.JSArray_methods.add$1(path_cmds, "M " + H.S(base * t5) + " " + H.S(helix_svg_position_y)); + t5 = helix.__svg_height; + C.JSArray_methods.add$1(path_cmds, "v " + H.S(t5 == null ? helix.__svg_height = O.Helix.prototype.get$svg_height.call(helix) : t5)); + t5 = this._design_main_helix$_cachedTypedProps; + t5 = t5.get$props(t5).$index(0, _s26_); + t5 = t2._as(t5 == null ? null : t5).geometry; + if (t5.__base_width_svg == null) + t5.__base_width_svg = N.Geometry.prototype.get$base_width_svg.call(t5); + } + t1 = type$.legacy_String; + return P.LinkedHashMap_LinkedHashMap$_literal(["minor", C.JSArray_methods.join$1(path_cmds_vert_minor, " "), "major", C.JSArray_methods.join$1(path_cmds_vert_major, " ")], t1, t1); + }, + _handle_click$2: function($event, helix) { + var t1 = J.getInterceptor$x($event); + if (H.boolConversionCheck(t1.get$shiftKey($event))) + $.app.dispatch$1(U.HelixSelect_HelixSelect(helix.idx, false)); + else if (H.boolConversionCheck(t1.get$ctrlKey($event)) || H.boolConversionCheck(t1.get$metaKey($event))) + $.app.dispatch$1(U.HelixSelect_HelixSelect(helix.idx, true)); + } + }; + T.DesignMainHelixComponent_render_closure.prototype = { + call$1: function(e) { + var t1 = this.$this; + return t1._handle_click$2(type$.legacy_SyntheticMouseEvent._as(e), t1._design_main_helix$_cachedTypedProps.get$helix()); + }, + $signature: 3 + }; + T.DesignMainHelixComponent_render_closure0.prototype = { + call$1: function(e) { + var t1 = this.$this; + return t1._handle_click$2(type$.legacy_SyntheticMouseEvent._as(e), t1._design_main_helix$_cachedTypedProps.get$helix()); + }, + $signature: 3 + }; + T.DesignMainHelixComponent_render_closure1.prototype = { + call$1: function(event_syn) { + var t1, $event, t2, t3, group, address; + type$.legacy_SyntheticPointerEvent._as(event_syn); + t1 = $.app.store; + if (t1.get$state(t1).ui_state.storables.edit_modes._set.contains$1(0, C.EditModeChoice_pencil)) { + t1 = $.app.store; + t1 = !t1.get$state(t1).ui_state.potential_crossover_is_drawing; + } else + t1 = false; + if (t1) { + $event = type$.legacy_MouseEvent._as(J.get$nativeEvent$x(event_syn)); + if ($event.button !== 0) + return; + t1 = $.app.store; + t1 = t1.get$state(t1).design.groups; + t2 = this.$this; + t3 = t2._design_main_helix$_cachedTypedProps.get$helix().group; + group = J.$index$asx(t1._map$_map, t3); + t3 = t2._design_main_helix$_cachedTypedProps.get$helix(); + t1 = $.app.store; + address = E.get_address_on_helix($event, t3, group, this.geometry, J.$index$asx(t1.get$state(t1).get$helix_idx_to_svg_position_map()._map$_map, t2._design_main_helix$_cachedTypedProps.get$helix().idx)); + $.app.dispatch$1(U._$StrandCreateStart$_(address, $.$get$color_cycler().next$0(0))); + } + }, + $signature: 18 + }; + T.DesignMainHelixComponent_render_closure2.prototype = { + call$1: function(_) { + var t1; + type$.legacy_SyntheticMouseEvent._as(_); + t1 = $.app.store; + if (t1.get$state(t1).ui_state.storables.show_mouseover_data) + $.app.dispatch$1(U._$MouseoverDataClear__$MouseoverDataClear()); + return null; + }, + $signature: 3 + }; + T.DesignMainHelixComponent_render_closure3.prototype = { + call$1: function($event) { + var t1, t2, t3; + type$.legacy_SyntheticMouseEvent._as($event); + t1 = this.$this; + t2 = t1._design_main_helix$_cachedTypedProps.get$helix(); + t3 = $.app.store; + return E.update_mouseover($event, t2, J.$index$asx(t3.get$state(t3).get$helix_idx_to_svg_position_map()._map$_map, t1._design_main_helix$_cachedTypedProps.get$helix().idx)); + }, + $signature: 3 + }; + T.DesignMainHelixComponent_render_closure4.prototype = { + call$1: function($event) { + var t1, t2, t3; + type$.legacy_SyntheticMouseEvent._as($event); + t1 = this.$this; + t2 = t1._design_main_helix$_cachedTypedProps.get$helix(); + t3 = $.app.store; + return E.update_mouseover($event, t2, J.$index$asx(t3.get$state(t3).get$helix_idx_to_svg_position_map()._map$_map, t1._design_main_helix$_cachedTypedProps.get$helix().idx)); + }, + $signature: 3 + }; + T.$DesignMainHelixComponentFactory_closure.prototype = { + call$0: function() { + return new T._$DesignMainHelixComponent(null); + }, + "call*": "call$0", + $requiredArgCount: 0, + $signature: 445 + }; + T._$$DesignMainHelixProps.prototype = { + get$$$isClassGenerated: function() { + return true; + }, + get$componentFactory: function() { + var t1 = this.componentFactory; + return t1 == null ? $.$get$$DesignMainHelixComponentFactory() : t1; + } + }; + T._$$DesignMainHelixProps$PlainMap.prototype = { + get$props: function(_) { + return this._design_main_helix$_props; + } + }; + T._$$DesignMainHelixProps$JsMap.prototype = { + get$props: function(_) { + return this._design_main_helix$_props; + } + }; + T._$DesignMainHelixComponent.prototype = { + get$props: function(_) { + return this._design_main_helix$_cachedTypedProps; + }, + set$props: function(_, value) { + this.props = value; + this._design_main_helix$_cachedTypedProps = T._$$DesignMainHelixProps$JsMap$(R.getBackingMap(value)); + }, + get$displayName: function(_) { + return "DesignMainHelix"; + }, + get$$$defaultConsumedProps: function() { + return C.Map_4qL5U.get$values(C.Map_4qL5U); + } + }; + T.$DesignMainHelixProps.prototype = { + get$helix: function() { + var t1 = J.$index$asx(this.get$props(this), "DesignMainHelixProps.helix"); + if (t1 == null) + t1 = null; + return type$.legacy_Helix._as(t1); + }, + get$show_dna: function() { + var t1 = J.$index$asx(this.get$props(this), "DesignMainHelixProps.show_dna"); + return H._asBoolS(t1 == null ? null : t1); + }, + get$show_domain_labels: function() { + var t1 = J.$index$asx(this.get$props(this), "DesignMainHelixProps.show_domain_labels"); + return H._asBoolS(t1 == null ? null : t1); + }, + get$show_helix_circles: function() { + var t1 = J.$index$asx(this.get$props(this), "DesignMainHelixProps.show_helix_circles"); + return H._asBoolS(t1 == null ? null : t1); + }, + get$helix_svg_position: function() { + var t1 = J.$index$asx(this.get$props(this), "DesignMainHelixProps.helix_svg_position"); + if (t1 == null) + t1 = null; + return type$.legacy_Point_legacy_num._as(t1); + } + }; + T._DesignMainHelixComponent_UiComponent2_PureComponent.prototype = {}; + T.__$$DesignMainHelixProps_UiProps_DesignMainHelixProps.prototype = {}; + T.__$$DesignMainHelixProps_UiProps_DesignMainHelixProps_$DesignMainHelixProps.prototype = {}; + K.DesignMainLoopoutExtensionLengthPropsMixin.prototype = { + get$geometry: function(receiver) { + return this.DesignMainLoopoutExtensionLengthPropsMixin_geometry; + } + }; + K.DesignMainLoopoutExtensionLengthComponent.prototype = { + render$0: function(_) { + var t2, _this = this, + _s24_ = "loopout-extension-length", + length_elts = H.setRuntimeTypeInfo([], type$.JSArray_legacy_ReactElement), + t1 = _this._design_main_loopout_extension_length$_cachedTypedProps, + dy = H.S(0.1 * t1.get$geometry(t1).get$base_width_svg()), + style_map = P.LinkedHashMap_LinkedHashMap$_literal(["fontSize", "9px"], type$.legacy_String, type$.dynamic), + $length = C.JSInt_methods.toString$0(_this._design_main_loopout_extension_length$_cachedTypedProps.get$substrand().dna_length$0()), + text_path_props = A.SvgProps$($.$get$textPath(), null); + text_path_props.set$className(0, _s24_); + t1 = _this._design_main_loopout_extension_length$_cachedTypedProps.get$substrand(); + text_path_props.set$xlinkHref("#" + t1.get$id(t1)); + text_path_props.set$startOffset(0, "50%"); + text_path_props.set$_raw$DomProps$style(type$.legacy_Map_of_legacy_String_and_dynamic._as(style_map)); + t1 = A.SvgProps$($.$get$text(), null); + t2 = _this._design_main_loopout_extension_length$_cachedTypedProps.get$substrand(); + t1.set$key(0, t2.get$id(t2)); + t1.set$dy(0, dy); + C.JSArray_methods.add$1(length_elts, t1.call$1(text_path_props.call$1($length))); + t1 = A.SvgProps$($.$get$g(), null); + t1.set$className(0, _s24_); + return t1.call$1(length_elts); + } + }; + K.$DesignMainLoopoutExtensionLengthComponentFactory_closure.prototype = { + call$0: function() { + return new K._$DesignMainLoopoutExtensionLengthComponent(null); + }, + "call*": "call$0", + $requiredArgCount: 0, + $signature: 446 + }; + K._$$DesignMainLoopoutExtensionLengthProps.prototype = { + get$$$isClassGenerated: function() { + return true; + }, + get$componentFactory: function() { + var t1 = this.componentFactory; + return t1 == null ? $.$get$$DesignMainLoopoutExtensionLengthComponentFactory() : t1; + } + }; + K._$$DesignMainLoopoutExtensionLengthProps$PlainMap.prototype = { + get$props: function(_) { + return this._design_main_loopout_extension_length$_props; + } + }; + K._$$DesignMainLoopoutExtensionLengthProps$JsMap.prototype = { + get$props: function(_) { + return this._design_main_loopout_extension_length$_props; + } + }; + K._$DesignMainLoopoutExtensionLengthComponent.prototype = { + get$props: function(_) { + return this._design_main_loopout_extension_length$_cachedTypedProps; + }, + set$props: function(_, value) { + this.props = value; + this._design_main_loopout_extension_length$_cachedTypedProps = K._$$DesignMainLoopoutExtensionLengthProps$JsMap$(R.getBackingMap(value)); + }, + get$displayName: function(_) { + return "DesignMainLoopoutExtensionLength"; + }, + get$$$defaultConsumedProps: function() { + return C.Map_dMfrF.get$values(C.Map_dMfrF); + } + }; + K.$DesignMainLoopoutExtensionLengthPropsMixin.prototype = { + get$geometry: function(_) { + var t1 = J.$index$asx(this.get$props(this), string$.DesignMLEPg); + if (t1 == null) + t1 = null; + return type$.legacy_Geometry._as(t1); + }, + get$substrand: function() { + var t1 = J.$index$asx(this.get$props(this), string$.DesignMLEPs); + if (t1 == null) + t1 = null; + return type$.legacy_Substrand._as(t1); + } + }; + K._DesignMainLoopoutExtensionLengthComponent_UiComponent2_PureComponent.prototype = {}; + K.__$$DesignMainLoopoutExtensionLengthProps_UiProps_DesignMainLoopoutExtensionLengthPropsMixin.prototype = { + get$geometry: function(receiver) { + return this.DesignMainLoopoutExtensionLengthPropsMixin_geometry; + } + }; + K.__$$DesignMainLoopoutExtensionLengthProps_UiProps_DesignMainLoopoutExtensionLengthPropsMixin_$DesignMainLoopoutExtensionLengthPropsMixin.prototype = {}; + Z.DesignMainLoopoutExtensionLengthsProps.prototype = {$isMap: 1, $isUiProps0: 1, $isUiProps: 1, + get$geometry: function(receiver) { + return this.DesignMainLoopoutExtensionLengthsProps_geometry; + } + }; + Z.DesignMainLoopoutExtensionLengthsComponent.prototype = { + render$0: function(_) { + var t2, t3, t4, t5, t6, t7, t8, t9, t10, _null = null, + t1 = this._design_main_loopout_extension_lengths$_cachedTypedProps; + t1 = t1.get$props(t1).$index(0, string$.DesignMLEssh); + if (H.boolConversionCheck(H._asBoolS(t1 == null ? _null : t1))) { + t1 = A.SvgProps$($.$get$g(), _null); + t1.set$className(0, "loopout-extension-lengths-main-view"); + t2 = H.setRuntimeTypeInfo([], type$.JSArray_legacy_ReactElement); + t3 = this._design_main_loopout_extension_lengths$_cachedTypedProps; + t3 = t3.get$props(t3).$index(0, string$.DesignMLEsst); + if (t3 == null) + t3 = _null; + t3 = J.get$iterator$ax(type$.legacy_BuiltList_legacy_Strand._as(t3)._list); + t4 = type$.legacy_Geometry; + for (; t3.moveNext$0();) + for (t5 = J.get$iterator$ax(t3.get$current(t3).substrands._list); t5.moveNext$0();) { + t6 = t5.get$current(t5); + if (t6 instanceof G.Loopout || t6 instanceof S.Extension) { + t7 = K.design_main_loopout_extension_length___$DesignMainLoopoutExtensionLength$closure().call$0(); + t8 = this._design_main_loopout_extension_lengths$_cachedTypedProps; + t8 = t8.get$props(t8).$index(0, string$.DesignMLEsg); + t8 = t4._as(t8 == null ? _null : t8); + t7.toString; + t9 = J.getInterceptor$x(t7); + J.$indexSet$ax(t9.get$props(t7), string$.DesignMLEPg, t8); + t8 = J.toString$0$(t6); + t10 = t9.get$props(t7); + J.$indexSet$ax(t10, "key", t8); + J.$indexSet$ax(t9.get$props(t7), string$.DesignMLEPs, t6); + J.$indexSet$ax(t9.get$props(t7), "className", "loopout-extension-length-elts"); + t2.push(t7.call$0()); + } + } + return t1.call$1(t2); + } + } + }; + Z.$DesignMainLoopoutExtensionLengthsComponentFactory_closure.prototype = { + call$0: function() { + return new Z._$DesignMainLoopoutExtensionLengthsComponent(null); + }, + "call*": "call$0", + $requiredArgCount: 0, + $signature: 447 + }; + Z._$$DesignMainLoopoutExtensionLengthsProps.prototype = { + get$$$isClassGenerated: function() { + return true; + }, + get$componentFactory: function() { + var t1 = this.componentFactory; + return t1 == null ? $.$get$$DesignMainLoopoutExtensionLengthsComponentFactory() : t1; + } + }; + Z._$$DesignMainLoopoutExtensionLengthsProps$PlainMap.prototype = { + get$props: function(_) { + return this._design_main_loopout_extension_lengths$_props; + } + }; + Z._$$DesignMainLoopoutExtensionLengthsProps$JsMap.prototype = { + get$props: function(_) { + return this._design_main_loopout_extension_lengths$_props; + } + }; + Z._$DesignMainLoopoutExtensionLengthsComponent.prototype = { + get$props: function(_) { + return this._design_main_loopout_extension_lengths$_cachedTypedProps; + }, + set$props: function(_, value) { + this.props = value; + this._design_main_loopout_extension_lengths$_cachedTypedProps = Z._$$DesignMainLoopoutExtensionLengthsProps$JsMap$(R.getBackingMap(value)); + }, + get$displayName: function(_) { + return "DesignMainLoopoutExtensionLengths"; + }, + get$$$defaultConsumedProps: function() { + return C.Map_46xLp.get$values(C.Map_46xLp); + } + }; + Z.$DesignMainLoopoutExtensionLengthsProps.prototype = { + get$geometry: function(_) { + var t1 = J.$index$asx(this.get$props(this), string$.DesignMLEsg); + if (t1 == null) + t1 = null; + return type$.legacy_Geometry._as(t1); + } + }; + Z._DesignMainLoopoutExtensionLengthsComponent_UiComponent2_PureComponent.prototype = {}; + Z.__$$DesignMainLoopoutExtensionLengthsProps_UiProps_DesignMainLoopoutExtensionLengthsProps.prototype = { + get$geometry: function(receiver) { + return this.DesignMainLoopoutExtensionLengthsProps_geometry; + } + }; + Z.__$$DesignMainLoopoutExtensionLengthsProps_UiProps_DesignMainLoopoutExtensionLengthsProps_$DesignMainLoopoutExtensionLengthsProps.prototype = {}; + K.DesignMainPotentialVerticalCrossoverPropsMixin.prototype = { + set$helices: function(helices) { + this.DesignMainPotentialVerticalCrossoverPropsMixin_helices = type$.legacy_BuiltMap_of_legacy_int_and_legacy_Helix._as(helices); + }, + set$groups: function(groups) { + this.DesignMainPotentialVerticalCrossoverPropsMixin_groups = type$.legacy_BuiltMap_of_legacy_String_and_legacy_HelixGroup._as(groups); + }, + set$geometry: function(_, geometry) { + this.DesignMainPotentialVerticalCrossoverPropsMixin_geometry = type$.legacy_Geometry._as(geometry); + }, + get$helices: function() { + return this.DesignMainPotentialVerticalCrossoverPropsMixin_helices; + }, + get$groups: function() { + return this.DesignMainPotentialVerticalCrossoverPropsMixin_groups; + }, + get$geometry: function(receiver) { + return this.DesignMainPotentialVerticalCrossoverPropsMixin_geometry; + } + }; + K.DesignMainPotentialVerticalCrossoverComponent.prototype = { + render$0: function(_) { + var prev_domain, next_domain, t0, t2, t3, prev_group, t4, t5, path, color, path_props, _this = this, _null = null, + t1 = _this._design_main_potential_vertical_crossover$_cachedTypedProps; + t1 = t1.get$props(t1).$index(0, string$.DesignMPoPp); + if (t1 == null) + t1 = _null; + type$.legacy_PotentialVerticalCrossover._as(t1); + prev_domain = t1.domain_top; + next_domain = t1.domain_bot; + if (t1.dna_end_top.is_5p) { + t0 = next_domain; + next_domain = prev_domain; + prev_domain = t0; + } + t2 = _this._design_main_potential_vertical_crossover$_cachedTypedProps.get$helices(); + t3 = prev_domain.helix; + prev_group = J.$index$asx(t2._map$_map, t3).group; + t2 = _this._design_main_potential_vertical_crossover$_cachedTypedProps.get$helices(); + t4 = next_domain.helix; + if (prev_group !== J.$index$asx(t2._map$_map, t4).group) + return _null; + t2 = _this._design_main_potential_vertical_crossover$_cachedTypedProps.get$helices(); + t5 = _this._design_main_potential_vertical_crossover$_cachedTypedProps; + path = B.crossover_path_description_within_group(prev_domain, next_domain, t2, t5.get$geometry(t5), J.$index$asx(_this._design_main_potential_vertical_crossover$_cachedTypedProps.get$helix_idx_to_svg_position_y_map()._map$_map, t3), J.$index$asx(_this._design_main_potential_vertical_crossover$_cachedTypedProps.get$helix_idx_to_svg_position_y_map()._map$_map, t4)); + color = t1.color; + path_props = A.SvgProps$($.$get$path(), _null); + path_props.set$d(0, path); + path_props.set$stroke(0, color); + path_props.set$className(0, "potential-vertical-crossover-curve"); + path_props.set$transform(0, _this.transform_of_helix$1(t3)); + path_props.set$onPointerDown(new K.DesignMainPotentialVerticalCrossoverComponent_render_closure(t1)); + return path_props.call$1(A.SvgProps$($.$get$title(), _null).call$1("click to add a crossover")); + } + }; + K.DesignMainPotentialVerticalCrossoverComponent_render_closure.prototype = { + call$1: function(ev) { + var t1; + if (J.$eq$(J.get$button$x(J.get$nativeEvent$x(type$.legacy_SyntheticPointerEvent._as(ev))), 0)) { + t1 = this.crossover; + $.app.dispatch$1(U._$JoinStrandsByCrossover$_(t1.dna_end_top, t1.dna_end_bot)); + } + }, + $signature: 18 + }; + K.$DesignMainPotentialVerticalCrossoverComponentFactory_closure.prototype = { + call$0: function() { + return new K._$DesignMainPotentialVerticalCrossoverComponent(null); + }, + "call*": "call$0", + $requiredArgCount: 0, + $signature: 448 + }; + K._$$DesignMainPotentialVerticalCrossoverProps.prototype = { + get$$$isClassGenerated: function() { + return true; + }, + get$componentFactory: function() { + var t1 = this.componentFactory; + return t1 == null ? $.$get$$DesignMainPotentialVerticalCrossoverComponentFactory() : t1; + } + }; + K._$$DesignMainPotentialVerticalCrossoverProps$PlainMap.prototype = { + get$props: function(_) { + return this._design_main_potential_vertical_crossover$_props; + } + }; + K._$$DesignMainPotentialVerticalCrossoverProps$JsMap.prototype = { + get$props: function(_) { + return this._design_main_potential_vertical_crossover$_props; + } + }; + K._$DesignMainPotentialVerticalCrossoverComponent.prototype = { + get$props: function(_) { + return this._design_main_potential_vertical_crossover$_cachedTypedProps; + }, + set$props: function(_, value) { + this.props = value; + this._design_main_potential_vertical_crossover$_cachedTypedProps = K._$$DesignMainPotentialVerticalCrossoverProps$JsMap$(R.getBackingMap(value)); + }, + get$displayName: function(_) { + return "DesignMainPotentialVerticalCrossover"; + }, + get$$$defaultConsumedProps: function() { + return C.Map_xiMwM.get$values(C.Map_xiMwM); + } + }; + K.$DesignMainPotentialVerticalCrossoverPropsMixin.prototype = { + get$helices: function() { + var t1 = J.$index$asx(this.get$props(this), string$.DesignMPoPhc); + if (t1 == null) + t1 = null; + return type$.legacy_BuiltMap_of_legacy_int_and_legacy_Helix._as(t1); + }, + set$helices: function(value) { + type$.legacy_BuiltMap_of_legacy_int_and_legacy_Helix._as(value); + J.$indexSet$ax(this.get$props(this), string$.DesignMPoPhc, value); + }, + get$groups: function() { + var t1 = J.$index$asx(this.get$props(this), string$.DesignMPoPgr); + if (t1 == null) + t1 = null; + return type$.legacy_BuiltMap_of_legacy_String_and_legacy_HelixGroup._as(t1); + }, + set$groups: function(value) { + type$.legacy_BuiltMap_of_legacy_String_and_legacy_HelixGroup._as(value); + J.$indexSet$ax(this.get$props(this), string$.DesignMPoPgr, value); + }, + get$geometry: function(_) { + var t1 = J.$index$asx(this.get$props(this), string$.DesignMPoPge); + if (t1 == null) + t1 = null; + return type$.legacy_Geometry._as(t1); + }, + set$geometry: function(_, value) { + J.$indexSet$ax(this.get$props(this), string$.DesignMPoPge, value); + }, + get$helix_idx_to_svg_position_y_map: function() { + var t1 = J.$index$asx(this.get$props(this), string$.DesignMPoPhx); + if (t1 == null) + t1 = null; + return type$.legacy_BuiltMap_of_legacy_int_and_legacy_num._as(t1); + } + }; + K._DesignMainPotentialVerticalCrossoverComponent_UiComponent2_PureComponent.prototype = {}; + K._DesignMainPotentialVerticalCrossoverComponent_UiComponent2_PureComponent_TransformByHelixGroup.prototype = {}; + K.__$$DesignMainPotentialVerticalCrossoverProps_UiProps_DesignMainPotentialVerticalCrossoverPropsMixin.prototype = { + set$helices: function(helices) { + this.DesignMainPotentialVerticalCrossoverPropsMixin_helices = type$.legacy_BuiltMap_of_legacy_int_and_legacy_Helix._as(helices); + }, + set$groups: function(groups) { + this.DesignMainPotentialVerticalCrossoverPropsMixin_groups = type$.legacy_BuiltMap_of_legacy_String_and_legacy_HelixGroup._as(groups); + }, + set$geometry: function(_, geometry) { + this.DesignMainPotentialVerticalCrossoverPropsMixin_geometry = type$.legacy_Geometry._as(geometry); + }, + get$helices: function() { + return this.DesignMainPotentialVerticalCrossoverPropsMixin_helices; + }, + get$groups: function() { + return this.DesignMainPotentialVerticalCrossoverPropsMixin_groups; + }, + get$geometry: function(receiver) { + return this.DesignMainPotentialVerticalCrossoverPropsMixin_geometry; + } + }; + K.__$$DesignMainPotentialVerticalCrossoverProps_UiProps_DesignMainPotentialVerticalCrossoverPropsMixin_$DesignMainPotentialVerticalCrossoverPropsMixin.prototype = {}; + K.__$$DesignMainPotentialVerticalCrossoverProps_UiProps_DesignMainPotentialVerticalCrossoverPropsMixin_$DesignMainPotentialVerticalCrossoverPropsMixin_TransformByHelixGroupPropsMixin.prototype = { + set$helices: function(helices) { + this.TransformByHelixGroupPropsMixin_helices = type$.legacy_BuiltMap_of_legacy_int_and_legacy_Helix._as(helices); + }, + set$groups: function(groups) { + this.TransformByHelixGroupPropsMixin_groups = type$.legacy_BuiltMap_of_legacy_String_and_legacy_HelixGroup._as(groups); + }, + set$geometry: function(_, geometry) { + this.TransformByHelixGroupPropsMixin_geometry = type$.legacy_Geometry._as(geometry); + }, + get$helices: function() { + return this.TransformByHelixGroupPropsMixin_helices; + }, + get$groups: function() { + return this.TransformByHelixGroupPropsMixin_groups; + }, + get$geometry: function(receiver) { + return this.TransformByHelixGroupPropsMixin_geometry; + } + }; + K.__$$DesignMainPotentialVerticalCrossoverProps_UiProps_DesignMainPotentialVerticalCrossoverPropsMixin_$DesignMainPotentialVerticalCrossoverPropsMixin_TransformByHelixGroupPropsMixin_$TransformByHelixGroupPropsMixin.prototype = {}; + S.DesignMainPotentialVerticalCrossoversProps.prototype = {$isMap: 1, $isUiProps0: 1, $isUiProps: 1, + get$helices: function() { + return this.DesignMainPotentialVerticalCrossoversProps_helices; + }, + get$groups: function() { + return this.DesignMainPotentialVerticalCrossoversProps_groups; + }, + get$geometry: function(receiver) { + return this.DesignMainPotentialVerticalCrossoversProps_geometry; + } + }; + S.DesignMainPotentialVerticalCrossoversComponent.prototype = { + render$0: function(_) { + var t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, idx_top, idx_bot, t13, t14, t15, helices_of_crossover, group_top, group_bot, groups_of_crossover, _this = this, _null = null, + crossover_components = H.setRuntimeTypeInfo([], type$.JSArray_legacy_ReactElement), + t1 = _this._design_main_potential_vertical_crossovers$_cachedTypedProps; + t1 = t1.get$props(t1).$index(0, string$.DesignMPosp); + if (t1 == null) + t1 = _null; + t1 = J.get$iterator$ax(type$.legacy_BuiltList_legacy_PotentialVerticalCrossover._as(t1)._list); + t2 = type$.legacy_BuiltMap_of_legacy_int_and_legacy_Helix; + t3 = type$.legacy_int; + t4 = type$.legacy_Helix; + t5 = type$.legacy_BuiltSet_legacy_int; + t6 = type$.JSArray_legacy_Object; + t7 = type$.legacy_BuiltMap_of_legacy_int_and_legacy_num; + t8 = type$.legacy_Geometry; + t9 = type$.legacy_BuiltMap_of_legacy_String_and_legacy_HelixGroup; + t10 = type$.legacy_String; + t11 = type$.legacy_HelixGroup; + for (; t1.moveNext$0();) { + t12 = t1.get$current(t1); + idx_top = t12.helix_idx_top; + idx_bot = t12.helix_idx_bot; + t13 = _this._design_main_potential_vertical_crossovers$_cachedTypedProps; + t13 = t13.get$props(t13).$index(0, string$.DesignMPoso); + if (H.boolConversionCheck(H._asBoolS(t13 == null ? _null : t13))) { + t13 = _this._design_main_potential_vertical_crossovers$_cachedTypedProps; + t13 = t13.get$props(t13).$index(0, string$.DesignMPoss); + t13 = t5._as(t13 == null ? _null : t13); + t14 = H.setRuntimeTypeInfo([idx_bot, idx_top], t6); + t14 = !t13._set.containsAll$1(t14); + t13 = t14; + } else + t13 = false; + if (t13) + continue; + t13 = _this._design_main_potential_vertical_crossovers$_cachedTypedProps; + t13 = t13.get$props(t13).$index(0, string$.DesignMPoshc); + t13 = t2._as(t13 == null ? _null : t13); + t14 = t13._map$_map; + t15 = H._instanceType(t13); + t15 = t15._eval$1("@<1>")._bind$1(t15._rest[1]); + t14 = new S.CopyOnWriteMap(t13._mapFactory, t14, t15._eval$1("CopyOnWriteMap<1,2>")); + t15 = t15._eval$1("bool(1,2)")._as(new S.DesignMainPotentialVerticalCrossoversComponent_render_closure(idx_top, idx_bot)); + t14._maybeCopyBeforeWrite$0(); + J.removeWhere$1$ax(t14._copy_on_write_map$_map, t15); + helices_of_crossover = A.BuiltMap_BuiltMap$of(t14, t3, t4); + t14 = helices_of_crossover._map$_map; + t15 = J.getInterceptor$asx(t14); + group_top = t15.$index(t14, idx_top).group; + group_bot = t15.$index(t14, idx_bot).group; + if (group_top === group_bot) { + t13 = _this._design_main_potential_vertical_crossovers$_cachedTypedProps; + t13 = t13.get$props(t13).$index(0, string$.DesignMPosgr); + groups_of_crossover = A.BuiltMap_BuiltMap$of(P.LinkedHashMap_LinkedHashMap$_literal([group_bot, J.$index$asx(t9._as(t13 == null ? _null : t13)._map$_map, group_bot)], t10, t11), t10, t11); + t13 = K.design_main_potential_vertical_crossover___$DesignMainPotentialVerticalCrossover$closure().call$0(); + t13.toString; + t14 = J.getInterceptor$x(t13); + J.$indexSet$ax(t14.get$props(t13), string$.DesignMPoPp, t12); + t2._as(helices_of_crossover); + J.$indexSet$ax(t14.get$props(t13), "TransformByHelixGroupPropsMixin.helices", helices_of_crossover); + t9._as(groups_of_crossover); + J.$indexSet$ax(t14.get$props(t13), "TransformByHelixGroupPropsMixin.groups", groups_of_crossover); + t15 = _this._design_main_potential_vertical_crossovers$_cachedTypedProps; + t15 = t15.get$props(t15).$index(0, string$.DesignMPosge); + t15 = t8._as(t15 == null ? _null : t15); + J.$indexSet$ax(t14.get$props(t13), "TransformByHelixGroupPropsMixin.geometry", t15); + t15 = _this._design_main_potential_vertical_crossovers$_cachedTypedProps; + t15 = t15.get$props(t15).$index(0, string$.DesignMPoshx); + t15 = t7._as(t7._as(t15 == null ? _null : t15)); + J.$indexSet$ax(t14.get$props(t13), string$.DesignMPoPhx, t15); + t12 = t12.dna_end_top; + t15 = t12._dna_end$__id; + t12 = t15 == null ? t12._dna_end$__id = Z.DNAEnd.prototype.get$id.call(t12, t12) : t15; + t14 = t14.get$props(t13); + J.$indexSet$ax(t14, "key", t12); + C.JSArray_methods.add$1(crossover_components, t13.call$0()); + } + } + t1 = A.SvgProps$($.$get$g(), _null); + t1.set$className(0, "potential-vertical-crossovers"); + return t1.call$1(crossover_components); + } + }; + S.DesignMainPotentialVerticalCrossoversComponent_render_closure.prototype = { + call$2: function(idx, _) { + H._asIntS(idx); + type$.legacy_Helix._as(_); + return !(idx === this.idx_top || idx == this.idx_bot); + }, + $signature: 73 + }; + S.$DesignMainPotentialVerticalCrossoversComponentFactory_closure.prototype = { + call$0: function() { + return new S._$DesignMainPotentialVerticalCrossoversComponent(null); + }, + "call*": "call$0", + $requiredArgCount: 0, + $signature: 449 + }; + S._$$DesignMainPotentialVerticalCrossoversProps.prototype = { + get$$$isClassGenerated: function() { + return true; + }, + get$componentFactory: function() { + var t1 = this.componentFactory; + return t1 == null ? $.$get$$DesignMainPotentialVerticalCrossoversComponentFactory() : t1; + } + }; + S._$$DesignMainPotentialVerticalCrossoversProps$PlainMap.prototype = { + get$props: function(_) { + return this._design_main_potential_vertical_crossovers$_props; + } + }; + S._$$DesignMainPotentialVerticalCrossoversProps$JsMap.prototype = { + get$props: function(_) { + return this._design_main_potential_vertical_crossovers$_props; + } + }; + S._$DesignMainPotentialVerticalCrossoversComponent.prototype = { + get$props: function(_) { + return this._design_main_potential_vertical_crossovers$_cachedTypedProps; + }, + set$props: function(_, value) { + this.props = value; + this._design_main_potential_vertical_crossovers$_cachedTypedProps = S._$$DesignMainPotentialVerticalCrossoversProps$JsMap$(R.getBackingMap(value)); + }, + get$displayName: function(_) { + return "DesignMainPotentialVerticalCrossovers"; + }, + get$$$defaultConsumedProps: function() { + return C.Map_C8A0L.get$values(C.Map_C8A0L); + } + }; + S.$DesignMainPotentialVerticalCrossoversProps.prototype = { + get$helices: function() { + var t1 = J.$index$asx(this.get$props(this), string$.DesignMPoshc); + if (t1 == null) + t1 = null; + return type$.legacy_BuiltMap_of_legacy_int_and_legacy_Helix._as(t1); + }, + get$groups: function() { + var t1 = J.$index$asx(this.get$props(this), string$.DesignMPosgr); + if (t1 == null) + t1 = null; + return type$.legacy_BuiltMap_of_legacy_String_and_legacy_HelixGroup._as(t1); + }, + get$geometry: function(_) { + var t1 = J.$index$asx(this.get$props(this), string$.DesignMPosge); + if (t1 == null) + t1 = null; + return type$.legacy_Geometry._as(t1); + } + }; + S.__$$DesignMainPotentialVerticalCrossoversProps_UiProps_DesignMainPotentialVerticalCrossoversProps.prototype = { + get$helices: function() { + return this.DesignMainPotentialVerticalCrossoversProps_helices; + }, + get$groups: function() { + return this.DesignMainPotentialVerticalCrossoversProps_groups; + }, + get$geometry: function(receiver) { + return this.DesignMainPotentialVerticalCrossoversProps_geometry; + } + }; + S.__$$DesignMainPotentialVerticalCrossoversProps_UiProps_DesignMainPotentialVerticalCrossoversProps_$DesignMainPotentialVerticalCrossoversProps.prototype = {}; + M.DesignMainSliceBarProps.prototype = {$isMap: 1, $isUiProps0: 1, $isUiProps: 1, + get$groups: function() { + return this.DesignMainSliceBarProps_groups; + }, + get$helices: function() { + return this.DesignMainSliceBarProps_helices; + }, + get$geometry: function(receiver) { + return this.DesignMainSliceBarProps_geometry; + } + }; + M.DesignMainSliceBarComponent.prototype = { + render$0: function(_) { + var t2, t3, t4, t5, t6, displayed_helices_min_y, displayed_helices_max_y, t7, t8, helix, side_selected_helix_idxs, t9, y, geometry, slice_bar_svg_width, slice_bar_y, slice_bar, offset_text, _this = this, _null = null, + t1 = _this._design_main_slice_bar$_cachedTypedProps; + t1 = t1.get$props(t1).$index(0, string$.DesignMSlhs); + if (t1 == null) + t1 = _null; + type$.legacy_BuiltMap_of_legacy_String_and_legacy_BuiltList_legacy_int._as(t1); + t2 = _this._design_main_slice_bar$_cachedTypedProps.get$displayed_group_name(); + for (t1 = J.$index$asx(t1._map$_map, t2)._list, t2 = J.getInterceptor$ax(t1), t3 = t2.get$iterator(t1), t4 = type$.legacy_BuiltSet_legacy_int, t5 = type$.legacy_BuiltMap_of_legacy_int_and_legacy_Helix, t6 = type$.legacy_BuiltMap_of_legacy_int_and_legacy_Point_legacy_num, displayed_helices_min_y = 1 / 0, displayed_helices_max_y = -1 / 0; t3.moveNext$0();) { + t7 = t3.get$current(t3); + t8 = _this._design_main_slice_bar$_cachedTypedProps; + t8 = t8.get$props(t8).$index(0, "DesignMainSliceBarProps.helices"); + helix = J.$index$asx(t5._as(t8 == null ? _null : t8)._map$_map, t7); + t8 = _this._design_main_slice_bar$_cachedTypedProps; + t8 = t8.get$props(t8).$index(0, string$.DesignMSls); + side_selected_helix_idxs = t4._as(t8 == null ? _null : t8); + t8 = _this._design_main_slice_bar$_cachedTypedProps; + t8 = t8.get$props(t8).$index(0, string$.DesignMSlo); + t8 = H.boolConversionCheck(H._asBoolS(t8 == null ? _null : t8)); + if (t8) { + t9 = helix.idx; + t9 = side_selected_helix_idxs._set.contains$1(0, t9); + } else + t9 = false; + if (t9 || !t8) { + t8 = _this._design_main_slice_bar$_cachedTypedProps; + t8 = t8.get$props(t8).$index(0, string$.DesignMSlh_); + y = J.$index$asx(t6._as(t8 == null ? _null : t8)._map$_map, t7).y; + displayed_helices_max_y = Math.max(displayed_helices_max_y, H.checkNum(y)); + displayed_helices_min_y = Math.min(displayed_helices_min_y, H.checkNum(y)); + } + } + if (displayed_helices_min_y === 1 / 0) + return _null; + t3 = _this._design_main_slice_bar$_cachedTypedProps; + geometry = t3.get$geometry(t3); + slice_bar_svg_width = geometry.get$base_width_svg(); + t3 = geometry.__helix_diameter_svg; + if (t3 == null) + t3 = geometry.__helix_diameter_svg = N.Geometry.prototype.get$helix_diameter_svg.call(geometry); + t4 = _this._design_main_slice_bar$_cachedTypedProps.get$helices(); + t5 = t2.get$first(t1); + helix = J.$index$asx(t4._map$_map, t5); + t5 = _this._design_main_slice_bar$_cachedTypedProps.get$slice_bar_offset(); + t4 = _this._design_main_slice_bar$_cachedTypedProps.get$helix_idx_to_svg_position_map(); + t1 = t2.get$first(t1); + t1 = helix.svg_base_pos$3(t5, true, J.$index$asx(t4._map$_map, t1).y).x; + t4 = geometry.get$base_width_svg(); + if (typeof t1 !== "number") + return t1.$sub(); + slice_bar_y = displayed_helices_min_y - geometry.get$helix_radius_svg() + geometry.get$base_height_svg(); + t5 = A.SvgProps$($.$get$rect(), _null); + t5.set$onPointerDown(new M.DesignMainSliceBarComponent_render_closure()); + t5.set$width(0, slice_bar_svg_width); + t5.set$height(0, displayed_helices_max_y - displayed_helices_min_y + t3); + t5.set$x(0, t1 - t4 / 2); + t5.set$y(0, slice_bar_y); + slice_bar = t5.call$0(); + t5 = A.SvgProps$($.$get$text(), _null); + t5.set$x(0, t1); + t5.set$y(0, slice_bar_y - 5); + offset_text = t5.call$1(_this._design_main_slice_bar$_cachedTypedProps.get$slice_bar_offset()); + t5 = A.SvgProps$($.$get$g(), _null); + t5.set$className(0, "slice-bar-rect"); + t1 = _this._design_main_slice_bar$_cachedTypedProps.get$groups(); + t4 = _this._design_main_slice_bar$_cachedTypedProps.get$displayed_group_name(); + t4 = J.$index$asx(t1._map$_map, t4); + t1 = _this._design_main_slice_bar$_cachedTypedProps; + t5.set$transform(0, t4.transform_str$1(t1.get$geometry(t1))); + t5.set$key(0, "slice-bar"); + return t5.call$2(slice_bar, offset_text); + } + }; + M.DesignMainSliceBarComponent_render_closure.prototype = { + call$1: function(_) { + var t1; + type$.legacy_SyntheticPointerEvent._as(_); + t1 = $.app; + type$.legacy_void_Function_legacy_SliceBarMoveStartBuilder._as(null); + t1.dispatch$1(new U.SliceBarMoveStartBuilder().build$0()); + }, + $signature: 18 + }; + M.$DesignMainSliceBarComponentFactory_closure.prototype = { + call$0: function() { + return new M._$DesignMainSliceBarComponent(null); + }, + "call*": "call$0", + $requiredArgCount: 0, + $signature: 450 + }; + M._$$DesignMainSliceBarProps.prototype = { + get$$$isClassGenerated: function() { + return true; + }, + get$componentFactory: function() { + var t1 = this.componentFactory; + return t1 == null ? $.$get$$DesignMainSliceBarComponentFactory() : t1; + } + }; + M._$$DesignMainSliceBarProps$PlainMap.prototype = { + get$props: function(_) { + return this._design_main_slice_bar$_props; + } + }; + M._$$DesignMainSliceBarProps$JsMap.prototype = { + get$props: function(_) { + return this._design_main_slice_bar$_props; + } + }; + M._$DesignMainSliceBarComponent.prototype = { + get$props: function(_) { + return this._design_main_slice_bar$_cachedTypedProps; + }, + set$props: function(_, value) { + this.props = value; + this._design_main_slice_bar$_cachedTypedProps = M._$$DesignMainSliceBarProps$JsMap$(R.getBackingMap(value)); + }, + get$displayName: function(_) { + return "DesignMainSliceBar"; + }, + get$$$defaultConsumedProps: function() { + return C.Map_Okkyu.get$values(C.Map_Okkyu); + } + }; + M.$DesignMainSliceBarProps.prototype = { + get$slice_bar_offset: function() { + var t1 = J.$index$asx(this.get$props(this), "DesignMainSliceBarProps.slice_bar_offset"); + return H._asIntS(t1 == null ? null : t1); + }, + get$displayed_group_name: function() { + var t1 = J.$index$asx(this.get$props(this), string$.DesignMSld); + return H._asStringS(t1 == null ? null : t1); + }, + get$groups: function() { + var t1 = J.$index$asx(this.get$props(this), "DesignMainSliceBarProps.groups"); + if (t1 == null) + t1 = null; + return type$.legacy_BuiltMap_of_legacy_String_and_legacy_HelixGroup._as(t1); + }, + get$helices: function() { + var t1 = J.$index$asx(this.get$props(this), "DesignMainSliceBarProps.helices"); + if (t1 == null) + t1 = null; + return type$.legacy_BuiltMap_of_legacy_int_and_legacy_Helix._as(t1); + }, + get$geometry: function(_) { + var t1 = J.$index$asx(this.get$props(this), "DesignMainSliceBarProps.geometry"); + if (t1 == null) + t1 = null; + return type$.legacy_Geometry._as(t1); + }, + get$helix_idx_to_svg_position_map: function() { + var t1 = J.$index$asx(this.get$props(this), string$.DesignMSlh_); + if (t1 == null) + t1 = null; + return type$.legacy_BuiltMap_of_legacy_int_and_legacy_Point_legacy_num._as(t1); + } + }; + M._DesignMainSliceBarComponent_UiComponent2_PureComponent.prototype = {}; + M.__$$DesignMainSliceBarProps_UiProps_DesignMainSliceBarProps.prototype = { + get$groups: function() { + return this.DesignMainSliceBarProps_groups; + }, + get$helices: function() { + return this.DesignMainSliceBarProps_helices; + }, + get$geometry: function(receiver) { + return this.DesignMainSliceBarProps_geometry; + } + }; + M.__$$DesignMainSliceBarProps_UiProps_DesignMainSliceBarProps_$DesignMainSliceBarProps.prototype = {}; + M.DesignMainStrandPropsMixin.prototype = { + set$helices: function(helices) { + this.DesignMainStrandPropsMixin_helices = type$.legacy_BuiltMap_of_legacy_int_and_legacy_Helix._as(helices); + }, + set$groups: function(groups) { + this.DesignMainStrandPropsMixin_groups = type$.legacy_BuiltMap_of_legacy_String_and_legacy_HelixGroup._as(groups); + }, + set$geometry: function(_, geometry) { + this.DesignMainStrandPropsMixin_geometry = type$.legacy_Geometry._as(geometry); + }, + get$helices: function() { + return this.DesignMainStrandPropsMixin_helices; + }, + get$groups: function() { + return this.DesignMainStrandPropsMixin_groups; + }, + get$geometry: function(receiver) { + return this.DesignMainStrandPropsMixin_geometry; + } + }; + M.DesignMainStrandComponent.prototype = { + render$0: function(_) { + var t1, classname, t2, helix_idx_to_svg_position_y_map_on_strand_unbuilt, helix_idx_to_svg_position_map, t3, t4, helix_idx, t5, helix_idx_to_svg_position_y_map_on_strand, t6, t7, t8, t9, t10, t11, _this = this, _null = null, + _s51_ = string$.DesignMStPrsi; + if (J.get$length$asx(_this._design_main_strand$_cachedTypedProps.get$strand().substrands._list) === 0) + return _null; + t1 = _this._design_main_strand$_cachedTypedProps; + t1 = t1.get$props(t1).$index(0, "DesignMainStrandPropsMixin.selected"); + if (H.boolConversionCheck(H._asBoolS(t1 == null ? _null : t1))) + classname = H.boolConversionCheck(_this._design_main_strand$_cachedTypedProps.get$retain_strand_color_on_selection()) ? "strand selected" : "strand selected-pink"; + else + classname = "strand"; + if (_this._design_main_strand$_cachedTypedProps.get$strand().is_scaffold) + classname += " scaffold"; + t1 = type$.legacy_int; + t2 = type$.legacy_Point_legacy_num; + helix_idx_to_svg_position_y_map_on_strand_unbuilt = P.LinkedHashMap_LinkedHashMap$_empty(t1, t2); + helix_idx_to_svg_position_map = _this._design_main_strand$_cachedTypedProps.get$helix_idx_to_svg_position_map(); + for (t3 = J.get$iterator$ax(_this._design_main_strand$_cachedTypedProps.get$strand().get$domains()._list), t4 = type$.legacy_BuiltSet_legacy_int; t3.moveNext$0();) { + helix_idx = t3.get$current(t3).helix; + t5 = _this._design_main_strand$_cachedTypedProps; + t5 = t5.get$props(t5).$index(0, _s51_); + if (t4._as(t5 == null ? _null : t5) != null) { + t5 = _this._design_main_strand$_cachedTypedProps; + t5 = t5.get$props(t5).$index(0, _s51_); + t5 = t4._as(t5 == null ? _null : t5)._set.contains$1(0, helix_idx); + } else + t5 = true; + if (t5) + helix_idx_to_svg_position_y_map_on_strand_unbuilt.$indexSet(0, helix_idx, J.$index$asx(helix_idx_to_svg_position_map._map$_map, helix_idx)); + } + helix_idx_to_svg_position_y_map_on_strand = A.BuiltMap_BuiltMap$of(helix_idx_to_svg_position_y_map_on_strand_unbuilt, t1, t2); + t2 = A.SvgProps$($.$get$g(), _null); + t3 = _this._design_main_strand$_cachedTypedProps.get$strand(); + t2.set$id(0, t3.get$id(t3)); + t2.set$onPointerDown(_this.get$handle_click_down()); + t2.set$onPointerUp(_this.get$handle_click_up()); + t2.set$className(0, classname); + t3 = B.design_main_strand_paths___$DesignMainStrandPaths$closure().call$0(); + t5 = _this._design_main_strand$_cachedTypedProps.get$strand(); + t3.toString; + t6 = J.getInterceptor$x(t3); + J.$indexSet$ax(t6.get$props(t3), "DesignMainStrandPathsPropsMixin.strand", t5); + t6.set$key(t3, "strand-paths"); + t5 = _this._design_main_strand$_cachedTypedProps.get$show_domain_names(); + J.$indexSet$ax(t6.get$props(t3), string$.DesignMStPashd, t5); + t3.set$helices(_this._design_main_strand$_cachedTypedProps.get$helices()); + t3.set$groups(_this._design_main_strand$_cachedTypedProps.get$groups()); + t5 = _this._design_main_strand$_cachedTypedProps; + t5 = t5.get$props(t5).$index(0, string$.DesignMStPrseen); + if (t5 == null) + t5 = _null; + t7 = type$.legacy_BuiltSet_legacy_DNAEnd; + t5 = t7._as(t7._as(t5)); + J.$indexSet$ax(t6.get$props(t3), string$.DesignMStPaseen, t5); + t5 = _this._design_main_strand$_cachedTypedProps; + t5 = t5.get$props(t5).$index(0, string$.DesignMStPrsec); + if (t5 == null) + t5 = _null; + t7 = type$.legacy_BuiltSet_legacy_Crossover; + t5 = t7._as(t7._as(t5)); + J.$indexSet$ax(t6.get$props(t3), string$.DesignMStPasec, t5); + t5 = _this._design_main_strand$_cachedTypedProps; + t5 = t5.get$props(t5).$index(0, string$.DesignMStPrsel); + if (t5 == null) + t5 = _null; + t7 = type$.legacy_BuiltSet_legacy_Loopout; + t5 = t7._as(t7._as(t5)); + J.$indexSet$ax(t6.get$props(t3), string$.DesignMStPasel, t5); + t5 = _this._design_main_strand$_cachedTypedProps; + t5 = t5.get$props(t5).$index(0, string$.DesignMStPrseex); + if (t5 == null) + t5 = _null; + t7 = type$.legacy_BuiltSet_legacy_Extension; + t5 = t7._as(t7._as(t5)); + J.$indexSet$ax(t6.get$props(t3), string$.DesignMStPaseex, t5); + t5 = _this._design_main_strand$_cachedTypedProps; + t5 = t5.get$props(t5).$index(0, string$.DesignMStPrsedo); + if (t5 == null) + t5 = _null; + t7 = type$.legacy_BuiltSet_legacy_Domain; + t5 = t7._as(t7._as(t5)); + J.$indexSet$ax(t6.get$props(t3), string$.DesignMStPased, t5); + t5 = type$.legacy_legacy_List_legacy_ContextMenuItem_Function_legacy_Strand_$named_address_legacy_Address_and_substrand_legacy_Substrand_and_type_legacy_ModificationType._as(_this.get$context_menu_strand()); + J.$indexSet$ax(t6.get$props(t3), string$.DesignMStPac, t5); + t7 = t4._as(_this._design_main_strand$_cachedTypedProps.get$side_selected_helix_idxs()); + J.$indexSet$ax(t6.get$props(t3), string$.DesignMStPasi, t7); + t7 = _this._design_main_strand$_cachedTypedProps.get$strand(); + t8 = t7.name; + t8 = "Strand:\n" + (t8 == null ? "" : " name=" + t8 + "\n") + (" length=" + t7.get$dna_length() + "\n"); + t8 += !t7.circular ? "" : " circular\n"; + t9 = t7.get$first_domain(); + t10 = t7.get$dnaend_5p(); + t9 = "(helix=" + t9.helix + ", offset="; + t11 = t10.offset; + if (t10.is_start) + t10 = t11; + else { + if (typeof t11 !== "number") + return t11.$sub(); + t10 = t11 - 1; + } + t10 = t8 + (" 5' end=" + (t9 + H.S(t10) + ")") + "\n"); + t9 = t7.get$last_domain(); + t8 = t7.get$dnaend_3p(); + t9 = "(helix=" + t9.helix + ", offset="; + t11 = t8.offset; + if (t8.is_start) + t8 = t11; + else { + if (typeof t11 !== "number") + return t11.$sub(); + t8 = t11 - 1; + } + t8 = t10 + (" 3' end=" + (t9 + H.S(t8) + ")") + "\n"); + t9 = t7.label; + t8 += t9 == null ? "" : " label=" + t9 + "\n"; + t7 = t7.vendor_fields; + if (t7 == null) + t7 = ""; + else { + t9 = " scale: " + t7.scale + "\n" + (" purification: " + t7.purification + "\n"); + t10 = t7.plate; + t7 = " vendor fields=\n" + (t9 + (t10 == null ? "" : " plate: " + t10 + "\n well: " + H.S(t7.well))); + } + t7 = t8 + t7; + J.$indexSet$ax(t6.get$props(t3), string$.DesignMStPast, t7); + t7 = _this._design_main_strand$_cachedTypedProps; + t7 = t7.get$props(t7).$index(0, string$.DesignMStPrdr); + t7 = H._asBoolS(t7 == null ? _null : t7); + J.$indexSet$ax(t6.get$props(t3), string$.DesignMStPad, t7); + t7 = _this._design_main_strand$_cachedTypedProps; + t7 = t7.get$props(t7).$index(0, string$.DesignMStPrmv); + t7 = H._asBoolS(t7 == null ? _null : t7); + J.$indexSet$ax(t6.get$props(t3), string$.DesignMStPam, t7); + t7 = _this._design_main_strand$_cachedTypedProps; + t6.set$geometry(t3, t7.get$geometry(t7)); + type$.legacy_BuiltMap_of_legacy_int_and_legacy_Point_legacy_num._as(helix_idx_to_svg_position_y_map_on_strand); + J.$indexSet$ax(t6.get$props(t3), string$.DesignMStPah, helix_idx_to_svg_position_y_map_on_strand); + t7 = _this._design_main_strand$_cachedTypedProps.get$only_display_selected_helices(); + J.$indexSet$ax(t6.get$props(t3), string$.DesignMStPaon, t7); + t7 = _this._design_main_strand$_cachedTypedProps.get$retain_strand_color_on_selection(); + J.$indexSet$ax(t6.get$props(t3), string$.DesignMStPar, t7); + t3 = H.setRuntimeTypeInfo([t3.call$0(), _this._design_main_strand$_insertions$0(), _this._design_main_strand$_deletions$0()], type$.JSArray_legacy_ReactElement); + if (H.boolConversionCheck(_this._design_main_strand$_cachedTypedProps.get$show_domain_names()) || H.boolConversionCheck(_this._design_main_strand$_cachedTypedProps.get$show_strand_names()) || H.boolConversionCheck(_this._design_main_strand$_cachedTypedProps.get$show_strand_labels()) || H.boolConversionCheck(_this._design_main_strand$_cachedTypedProps.get$show_domain_labels())) { + t6 = S.design_main_strand_and_domain_texts___$DesignMainStrandAndDomainTexts$closure().call$0(); + t7 = _this._design_main_strand$_cachedTypedProps.get$strand(); + t6.toString; + t8 = J.getInterceptor$x(t6); + J.$indexSet$ax(t8.get$props(t6), string$.DesignMStAst, t7); + t6.set$helices(_this._design_main_strand$_cachedTypedProps.get$helices()); + t6.set$groups(_this._design_main_strand$_cachedTypedProps.get$groups()); + t7 = _this._design_main_strand$_cachedTypedProps; + t8.set$geometry(t6, t7.get$geometry(t7)); + t7 = _this._design_main_strand$_cachedTypedProps; + t7 = t7.get$props(t7).$index(0, "DesignMainStrandPropsMixin.show_dna"); + t7 = H._asBoolS(t7 == null ? _null : t7); + J.$indexSet$ax(t8.get$props(t6), string$.DesignMStAshdn, t7); + t7 = t4._as(_this._design_main_strand$_cachedTypedProps.get$side_selected_helix_idxs()); + J.$indexSet$ax(t8.get$props(t6), string$.DesignMStAsi, t7); + t7 = _this._design_main_strand$_cachedTypedProps.get$only_display_selected_helices(); + J.$indexSet$ax(t8.get$props(t6), string$.DesignMStAo, t7); + t7 = _this._design_main_strand$_cachedTypedProps.get$show_strand_names(); + J.$indexSet$ax(t8.get$props(t6), string$.DesignMStAshsn, t7); + t7 = _this._design_main_strand$_cachedTypedProps.get$show_strand_labels(); + J.$indexSet$ax(t8.get$props(t6), string$.DesignMStAshsl, t7); + t7 = _this._design_main_strand$_cachedTypedProps.get$show_domain_names(); + J.$indexSet$ax(t8.get$props(t6), string$.DesignMStAshdon, t7); + t7 = _this._design_main_strand$_cachedTypedProps.get$show_domain_labels(); + J.$indexSet$ax(t8.get$props(t6), string$.DesignMStAshdol, t7); + t7 = _this._design_main_strand$_cachedTypedProps; + t7 = t7.get$props(t7).$index(0, string$.DesignMStPrstn); + t7 = H._asIntS(H._asNumS(t7 == null ? _null : t7)); + J.$indexSet$ax(t8.get$props(t6), string$.DesignMStAst_n, t7); + t7 = _this._design_main_strand$_cachedTypedProps; + t7 = t7.get$props(t7).$index(0, string$.DesignMStPrstl); + t7 = H._asIntS(H._asNumS(t7 == null ? _null : t7)); + J.$indexSet$ax(t8.get$props(t6), string$.DesignMStAst_l, t7); + t7 = _this._design_main_strand$_cachedTypedProps; + t7 = t7.get$props(t7).$index(0, string$.DesignMStPrdon); + t7 = H._asIntS(H._asNumS(t7 == null ? _null : t7)); + J.$indexSet$ax(t8.get$props(t6), string$.DesignMStAdn, t7); + t7 = _this._design_main_strand$_cachedTypedProps; + t7 = t7.get$props(t7).$index(0, string$.DesignMStPrdol); + t7 = H._asIntS(H._asNumS(t7 == null ? _null : t7)); + J.$indexSet$ax(t8.get$props(t6), string$.DesignMStAdl, t7); + J.$indexSet$ax(t8.get$props(t6), string$.DesignMStAc, t5); + J.$indexSet$ax(t8.get$props(t6), string$.DesignMStAhx, helix_idx_to_svg_position_y_map_on_strand); + t8.set$key(t6, "names-and-labels"); + t3.push(t6.call$0()); + } + t5 = _this._design_main_strand$_cachedTypedProps; + t5 = t5.get$props(t5).$index(0, string$.DesignMStPrshm); + if (H.boolConversionCheck(H._asBoolS(t5 == null ? _null : t5))) { + t5 = R.design_main_strand_modifications___$DesignMainStrandModifications$closure().call$0(); + t6 = _this._design_main_strand$_cachedTypedProps.get$strand(); + t5.toString; + t7 = J.getInterceptor$x(t5); + J.$indexSet$ax(t7.get$props(t5), string$.DesignMStMdsst, t6); + t5.set$helices(_this._design_main_strand$_cachedTypedProps.get$helices()); + t5.set$groups(_this._design_main_strand$_cachedTypedProps.get$groups()); + t6 = _this._design_main_strand$_cachedTypedProps; + t7.set$geometry(t5, t6.get$geometry(t6)); + t4 = t4._as(_this._design_main_strand$_cachedTypedProps.get$side_selected_helix_idxs()); + J.$indexSet$ax(t7.get$props(t5), string$.DesignMStMdssi, t4); + t4 = _this._design_main_strand$_cachedTypedProps.get$only_display_selected_helices(); + J.$indexSet$ax(t7.get$props(t5), string$.DesignMStMdso, t4); + t4 = _this._design_main_strand$_cachedTypedProps; + t4 = t4.get$props(t4).$index(0, string$.DesignMStPrsem); + if (t4 == null) + t4 = _null; + t6 = type$.legacy_BuiltSet_legacy_SelectableModification; + t4 = t6._as(t6._as(t4)); + J.$indexSet$ax(t7.get$props(t5), string$.DesignMStMdsse, t4); + t4 = _this._design_main_strand$_cachedTypedProps; + t4 = t4.get$props(t4).$index(0, string$.DesignMStPrmdf); + t4 = H._asIntS(H._asNumS(t4 == null ? _null : t4)); + J.$indexSet$ax(t7.get$props(t5), string$.DesignMStMdsf, t4); + t4 = _this._design_main_strand$_cachedTypedProps; + t4 = t4.get$props(t4).$index(0, string$.DesignMStPrmdd); + t4 = H._asBoolS(t4 == null ? _null : t4); + J.$indexSet$ax(t7.get$props(t5), string$.DesignMStMdsd, t4); + t1 = type$.legacy_BuiltMap_of_legacy_int_and_legacy_num._as(_this._design_main_strand$_cachedTypedProps.get$helix_idx_to_svg_position_map().map$2$1(0, new M.DesignMainStrandComponent_render_closure(), t1, type$.legacy_num)); + J.$indexSet$ax(t7.get$props(t5), string$.DesignMStMdshx, t1); + t1 = _this._design_main_strand$_cachedTypedProps.get$retain_strand_color_on_selection(); + J.$indexSet$ax(t7.get$props(t5), string$.DesignMStMdsr, t1); + t7.set$key(t5, "modifications"); + t3.push(t5.call$0()); + } + return t2.call$1(t3); + }, + handle_click_down$1: function(event_syn) { + var t1, t2, t3, address, helices_view_order_inverse, t4, _this = this, + $event = type$.legacy_MouseEvent._as(J.get$nativeEvent$x(type$.legacy_SyntheticPointerEvent._as(event_syn))); + if ($event.button === 0) { + t1 = _this._design_main_strand$_cachedTypedProps.get$strand(); + t2 = $.app.store; + if (!t2.get$state(t2).ui_state.storables.edit_modes._set.contains$1(0, C.EditModeChoice_select)) { + t2 = $.app.store; + t2 = t2.get$state(t2).ui_state.storables.edit_modes._set.contains$1(0, C.EditModeChoice_rope_select); + } else + t2 = true; + if (t2) { + t2 = $.app.store; + t1 = t2.get$state(t2).ui_state.storables.select_mode_state.modes._set.contains$1(0, C.SelectModeChoice_strand) && E.origami_type_selectable(t1); + } else + t1 = false; + if (t1) { + _this._design_main_strand$_cachedTypedProps.get$strand().handle_selection_mouse_down$1($event); + t1 = _this._design_main_strand$_cachedTypedProps.get$helices(); + t1 = t1.get$values(t1); + t2 = _this._design_main_strand$_cachedTypedProps.get$groups(); + t3 = _this._design_main_strand$_cachedTypedProps; + address = E.find_closest_address($event, t1, t2, t3.get$geometry(t3), _this._design_main_strand$_cachedTypedProps.get$helix_idx_to_svg_position_map()); + t3 = type$.legacy_int; + helices_view_order_inverse = P.LinkedHashMap_LinkedHashMap$_empty(t3, t3); + for (t1 = $.app.store, t1 = t1.get$state(t1).design.groups, t1 = J.get$iterator$ax(t1.get$values(t1)); t1.moveNext$0();) { + t2 = t1.get$current(t1); + t4 = t2.__helices_view_order_inverse; + if (t4 == null) { + t4 = O.HelixGroup.prototype.get$helices_view_order_inverse.call(t2); + t2.set$__helices_view_order_inverse(t4); + t2 = t4; + } else + t2 = t4; + t4 = t2.$ti; + helices_view_order_inverse.addAll$1(0, new S.CopyOnWriteMap(t2._mapFactory, t2._map$_map, t4._eval$1("@<1>")._bind$1(t4._rest[1])._eval$1("CopyOnWriteMap<1,2>"))); + } + $.app.dispatch$1(U._$StrandsMoveStartSelectedStrands$_(address, false, A.BuiltMap_BuiltMap$of(helices_view_order_inverse, t3, t3))); + } + } + }, + handle_click_up$1: function(event_syn) { + var t1, t2, currently_moving, t3; + type$.legacy_SyntheticPointerEvent._as(event_syn); + t1 = J.getInterceptor$x(event_syn); + if (J.$eq$(J.get$button$x(t1.get$nativeEvent(event_syn)), 0)) { + t2 = $.app.store; + if (t2.get$state(t2).ui_state.strands_move == null) { + t2 = $.app.store; + if (t2.get$state(t2).ui_state.domains_move == null) { + t2 = $.app.store; + t2 = t2.get$state(t2).ui_state.dna_ends_are_moving; + currently_moving = t2; + } else + currently_moving = true; + } else + currently_moving = true; + t2 = this._design_main_strand$_cachedTypedProps.get$strand(); + t3 = $.app.store; + if (!t3.get$state(t3).ui_state.storables.edit_modes._set.contains$1(0, C.EditModeChoice_select)) { + t3 = $.app.store; + t3 = t3.get$state(t3).ui_state.storables.edit_modes._set.contains$1(0, C.EditModeChoice_rope_select); + } else + t3 = true; + if (t3) { + t3 = $.app.store; + t2 = t3.get$state(t3).ui_state.storables.select_mode_state.modes._set.contains$1(0, C.SelectModeChoice_strand) && E.origami_type_selectable(t2); + } else + t2 = false; + if (t2 && !currently_moving) + this._design_main_strand$_cachedTypedProps.get$strand().handle_selection_mouse_up$1(type$.legacy_MouseEvent._as(t1.get$nativeEvent(event_syn))); + } + }, + assign_dna$0: function() { + return $.app.disable_keyboard_shortcuts_while$1$1(new M.DesignMainStrandComponent_assign_dna_closure(this), type$.void); + }, + assign_dna_complement_from_bound_strands$0: function() { + var action, + t1 = $.app.store, + strands_selected = t1.get$state(t1).ui_state.selectables_store.get$selected_strands()._set.toList$1$growable(0, true); + if (!C.JSArray_methods.contains$1(strands_selected, this._design_main_strand$_cachedTypedProps.get$strand())) + C.JSArray_methods.add$1(strands_selected, this._design_main_strand$_cachedTypedProps.get$strand()); + action = U.AssignDNAComplementFromBoundStrands_AssignDNAComplementFromBoundStrands(strands_selected); + $.app.dispatch$1(action); + }, + add_modification$3: function(substrand, address, type) { + return $.app.disable_keyboard_shortcuts_while$1$1(new M.DesignMainStrandComponent_add_modification_closure(this, substrand, address, type), type$.void); + }, + assign_scale_purification_fields$0: function() { + return $.app.disable_keyboard_shortcuts_while$1$1(this.get$ask_for_assign_scale_purification_fields(), type$.void); + }, + assign_plate_well_fields$0: function() { + return $.app.disable_keyboard_shortcuts_while$1$1(this.get$ask_for_assign_plate_well_fields(), type$.void); + }, + set_strand_name$0: function() { + return $.app.disable_keyboard_shortcuts_while$1$1(new M.DesignMainStrandComponent_set_strand_name_closure(this), type$.void); + }, + set_strand_label$0: function() { + return $.app.disable_keyboard_shortcuts_while$1$1(new M.DesignMainStrandComponent_set_strand_label_closure(this), type$.void); + }, + set_domain_names$1: function(domains) { + type$.legacy_BuiltSet_legacy_Domain._as(domains); + return $.app.disable_keyboard_shortcuts_while$1$1(new M.DesignMainStrandComponent_set_domain_names_closure(this, domains), type$.void); + }, + set_domain_labels$2: function(substrand, domains) { + type$.legacy_BuiltSet_legacy_Domain._as(domains); + return $.app.disable_keyboard_shortcuts_while$1$1(new M.DesignMainStrandComponent_set_domain_labels_closure(this, substrand), type$.void); + }, + _design_main_strand$_insertions$0: function() { + var t1, t2, t3, t4, t5, t6, t7, t8, t9, helix, t10, t11, t12, t13, t14, _this = this, _null = null, + _s10_ = "insertions", + paths = H.setRuntimeTypeInfo([], type$.JSArray_legacy_ReactElement); + for (t1 = J.get$iterator$ax(_this._design_main_strand$_cachedTypedProps.get$strand().get$domains()._list), t2 = type$.legacy_BuiltSet_legacy_int, t3 = type$.legacy_BuiltMap_of_legacy_int_and_legacy_Helix, t4 = type$.legacy_BuiltMap_of_legacy_int_and_legacy_Point_legacy_num, t5 = type$.legacy_Strand, t6 = type$.legacy_BuiltSet_legacy_SelectableInsertion; t1.moveNext$0();) { + t7 = t1.get$current(t1); + t8 = _this._design_main_strand$_cachedTypedProps; + t8 = t8.get$props(t8).$index(0, "TransformByHelixGroupPropsMixin.helices"); + t8 = t3._as(t8 == null ? _null : t8); + t9 = t7.helix; + helix = J.$index$asx(t8._map$_map, t9); + t8 = _this._design_main_strand$_cachedTypedProps; + t8 = t8.get$props(t8).$index(0, string$.DesignMStPrsi); + t8 = t2._as(t8 == null ? _null : t8); + t10 = _this._design_main_strand$_cachedTypedProps; + t10 = t10.get$props(t10).$index(0, string$.DesignMStPro); + if (!H.boolConversionCheck(H._asBoolS(t10 == null ? _null : t10)) || t8._set.contains$1(0, t9)) { + t8 = t7._domain$__selectable_insertions; + if (t8 == null) { + t8 = G.Domain.prototype.get$selectable_insertions.call(t7); + t7.set$_domain$__selectable_insertions(t8); + } + t8 = J.get$iterator$ax(t8._list); + t7 = t7.forward; + for (; t8.moveNext$0();) { + t10 = t8.get$current(t8); + t11 = A.design_main_strand_insertion___$DesignMainStrandInsertion$closure().call$0(); + t11.toString; + t12 = J.getInterceptor$x(t11); + J.$indexSet$ax(t12.get$props(t11), string$.DesignMStIsea, t10); + t13 = _this._design_main_strand$_cachedTypedProps; + t13 = t13.get$props(t13).$index(0, string$.DesignMStPrsei); + t13 = t6._as(t13 == null ? _null : t13)._set.contains$1(0, t10); + J.$indexSet$ax(t12.get$props(t11), string$.DesignMStIsee, t13); + J.$indexSet$ax(t12.get$props(t11), string$.DesignMStIh, helix); + t13 = _this._design_main_strand$_cachedTypedProps; + t13 = t13.get$props(t13).$index(0, "DesignMainStrandPropsMixin.strand"); + t13 = t5._as(t13 == null ? _null : t13).color; + J.$indexSet$ax(t12.get$props(t11), string$.DesignMStIc, t13); + t13 = _this.transform_of_helix$1(t9); + J.$indexSet$ax(t12.get$props(t11), string$.DesignMStIt, t13); + t13 = _this._design_main_strand$_cachedTypedProps; + t13 = t13.get$props(t13).$index(0, string$.DesignMStPrh); + t13 = t4._as(t13 == null ? _null : t13); + t14 = helix.idx; + t14 = J.$index$asx(t13._map$_map, t14).y; + J.$indexSet$ax(t12.get$props(t11), string$.DesignMStIsv, t14); + t14 = _this._design_main_strand$_cachedTypedProps; + t14 = t14.get$props(t14).$index(0, string$.DesignMStPrdi); + t13 = H._asBoolS(t14 == null ? _null : t14); + J.$indexSet$ax(t12.get$props(t11), string$.DesignMStId, t13); + t13 = _this._design_main_strand$_cachedTypedProps; + t13 = t13.get$props(t13).$index(0, string$.DesignMStPrr); + t13 = H._asBoolS(t13 == null ? _null : t13); + J.$indexSet$ax(t12.get$props(t11), string$.DesignMStIr, t13); + t10 = t10.insertion.offset; + t10 = "insertion-H" + t9 + "-O" + t10 + "-"; + t10 += t7 ? "forward" : "reverse"; + t12 = t12.get$props(t11); + J.$indexSet$ax(t12, "key", t10); + C.JSArray_methods.add$1(paths, t11.call$0()); + } + } + } + if (paths.length === 0) + t1 = _null; + else { + t1 = A.SvgProps$($.$get$g(), _null); + t1.set$key(0, _s10_); + t1.set$className(0, _s10_); + t1 = t1.call$1(paths); + } + return t1; + }, + _design_main_strand$_deletions$0: function() { + var t1, t2, t3, t4, t5, t6, t7, t8, helix, t9, t10, id, t11, t12, _this = this, _null = null, + _s9_ = "deletions", + paths = H.setRuntimeTypeInfo([], type$.JSArray_legacy_ReactElement); + for (t1 = J.get$iterator$ax(_this._design_main_strand$_cachedTypedProps.get$strand().get$domains()._list), t2 = type$.legacy_BuiltSet_legacy_int, t3 = type$.legacy_BuiltMap_of_legacy_int_and_legacy_Helix, t4 = type$.legacy_BuiltMap_of_legacy_int_and_legacy_Point_legacy_num, t5 = type$.legacy_BuiltSet_legacy_SelectableDeletion; t1.moveNext$0();) { + t6 = t1.get$current(t1); + t7 = _this._design_main_strand$_cachedTypedProps; + t7 = t7.get$props(t7).$index(0, "TransformByHelixGroupPropsMixin.helices"); + t7 = t3._as(t7 == null ? _null : t7); + t8 = t6.helix; + helix = J.$index$asx(t7._map$_map, t8); + t7 = _this._design_main_strand$_cachedTypedProps; + t7 = t7.get$props(t7).$index(0, string$.DesignMStPrsi); + t7 = t2._as(t7 == null ? _null : t7); + t9 = _this._design_main_strand$_cachedTypedProps; + t9 = t9.get$props(t9).$index(0, string$.DesignMStPro); + if (!H.boolConversionCheck(H._asBoolS(t9 == null ? _null : t9)) || t7._set.contains$1(0, t8)) { + t7 = t6._domain$__selectable_deletions; + if (t7 == null) { + t7 = G.Domain.prototype.get$selectable_deletions.call(t6); + t6.set$_domain$__selectable_deletions(t7); + } + t7 = J.get$iterator$ax(t7._list); + t6 = t6.forward; + for (; t7.moveNext$0();) { + t9 = t7.get$current(t7); + t10 = t9.offset; + t10 = "deletion-H" + t8 + "-O" + H.S(t10) + "-"; + id = t10 + (t6 ? "forward" : "reverse"); + t10 = A.design_main_strand_deletion___$DesignMainStrandDeletion$closure().call$0(); + t10.toString; + t11 = J.getInterceptor$x(t10); + J.$indexSet$ax(t11.get$props(t10), string$.DesignMStDesea, t9); + J.$indexSet$ax(t11.get$props(t10), "DesignMainStrandDeletionPropsMixin.helix", helix); + t12 = _this._design_main_strand$_cachedTypedProps; + t12 = t12.get$props(t12).$index(0, string$.DesignMStPrsede); + t9 = t5._as(t12 == null ? _null : t12)._set.contains$1(0, t9); + J.$indexSet$ax(t11.get$props(t10), string$.DesignMStDesee, t9); + t9 = _this.transform_of_helix$1(t8); + J.$indexSet$ax(t11.get$props(t10), string$.DesignMStDet, t9); + t9 = _this._design_main_strand$_cachedTypedProps; + t9 = t9.get$props(t9).$index(0, string$.DesignMStPrh); + t9 = J.$index$asx(t4._as(t9 == null ? _null : t9)._map$_map, t8).y; + J.$indexSet$ax(t11.get$props(t10), string$.DesignMStDesv, t9); + t9 = _this._design_main_strand$_cachedTypedProps; + t9 = t9.get$props(t9).$index(0, string$.DesignMStPrr); + t9 = H._asBoolS(t9 == null ? _null : t9); + J.$indexSet$ax(t11.get$props(t10), string$.DesignMStDer, t9); + t11 = t11.get$props(t10); + J.$indexSet$ax(t11, "key", id); + C.JSArray_methods.add$1(paths, t10.call$0()); + } + } + } + if (paths.length === 0) + t1 = _null; + else { + t1 = A.SvgProps$($.$get$g(), _null); + t1.set$key(0, _s9_); + t1.set$className(0, _s9_); + t1 = t1.call$1(paths); + } + return t1; + }, + remove_dna$0: function() { + $.app.disable_keyboard_shortcuts_while$1$1(new M.DesignMainStrandComponent_remove_dna_closure(this), type$.void); + }, + reflect$2: function(horizontal, reverse_polarity) { + var t2, strands, _this = this, + t1 = $.app.store, + selected_strands = t1.get$state(t1).ui_state.selectables_store.get$selected_strands(); + t1 = selected_strands._set; + if (!t1.get$isEmpty(t1)) + t2 = t1.get$length(t1) === 1 && J.$eq$(t1.get$first(t1), _this._design_main_strand$_cachedTypedProps.get$strand()); + else + t2 = true; + if (t2) + strands = H.setRuntimeTypeInfo([_this._design_main_strand$_cachedTypedProps.get$strand()], type$.JSArray_legacy_Strand); + else + strands = !t1.contains$1(0, _this._design_main_strand$_cachedTypedProps.get$strand()) ? selected_strands.rebuild$1(new M.DesignMainStrandComponent_reflect_closure(_this))._set.toList$1$growable(0, true) : t1.toList$1$growable(0, true); + $.app.dispatch$1(U._$StrandsReflect$_(horizontal, reverse_polarity, D._BuiltList$of(strands, type$.legacy_Strand))); + }, + set_scaffold$0: function() { + var strand = this._design_main_strand$_cachedTypedProps.get$strand(), + t1 = $.app.store, + selected_strands = t1.get$state(t1).ui_state.selectables_store.get$selected_strands(), + action = M.batch_if_multiple_selected(M.scaffold_set_strand_action_creator(!strand.is_scaffold), strand, selected_strands, "set scaffold"); + $.app.dispatch$1(action); + }, + context_menu_strand$4$address$substrand$type: function(strand, address, substrand, type) { + var t1, t2, t3, t4, t5, _this = this, _null = null; + type$.legacy_Strand._as(strand); + type$.legacy_Substrand._as(substrand); + type$.legacy_Address._as(address); + type$.legacy_ModificationType._as(type); + t1 = type$.JSArray_legacy_ContextMenuItem; + t2 = H.setRuntimeTypeInfo([B.ContextMenuItem_ContextMenuItem(false, _null, _this.get$assign_dna(), "assign DNA", "Assign a specific DNA sequence to this strand (and optionally assign complementary\nsequence to strands bound to it).\n"), B.ContextMenuItem_ContextMenuItem(false, _null, _this.get$assign_dna_complement_from_bound_strands(), "assign DNA complement from bound strands", "If other strands bound to this strand (or the selected strands) have DNA already \nassigned, assign the complementary DNA sequence to this strand.\n")], t1); + if (strand.get$dna_sequence() != null) + t2.push(B.ContextMenuItem_ContextMenuItem(false, _null, _this.get$remove_dna(), "remove DNA", _null)); + t3 = type$.legacy_ContextMenuItem; + t2 = H.setRuntimeTypeInfo([B.ContextMenuItem_ContextMenuItem(false, D._BuiltList$of(t2, t3), _null, "edit DNA", _null), B.ContextMenuItem_ContextMenuItem(false, _null, new M.DesignMainStrandComponent_context_menu_strand_closure(_this, substrand, address, type), "add modification", _null)], t1); + t4 = $.app.store; + if (t4.get$state(t4).ui_state.storables.show_oxview) + t2.push(B.ContextMenuItem_ContextMenuItem(false, _null, new M.DesignMainStrandComponent_context_menu_strand_closure0(_this, substrand, address, type), "focus in oxView", _null)); + t4 = B.ContextMenuItem_ContextMenuItem(false, _null, _this.get$assign_scale_purification_fields(), "assign scale/purification fields", _null); + t5 = $.app.store; + t5 = C.JSArray_methods.any$1(t5.get$state(t5).ui_state.selectables_store.get$selected_strands()._set.toList$1$growable(0, true), new M.DesignMainStrandComponent_context_menu_strand_closure1()) || _this._design_main_strand$_cachedTypedProps.get$strand().vendor_fields == null; + t5 = H.setRuntimeTypeInfo([t4, B.ContextMenuItem_ContextMenuItem(t5, _null, _this.get$assign_plate_well_fields(), "assign plate/well fields", _null)], t1); + t4 = $.app.store; + if (C.JSArray_methods.any$1(t4.get$state(t4).ui_state.selectables_store.get$selected_strands()._set.toList$1$growable(0, true), new M.DesignMainStrandComponent_context_menu_strand_closure2()) || _this._design_main_strand$_cachedTypedProps.get$strand().vendor_fields != null) + t5.push(B.ContextMenuItem_ContextMenuItem(false, _null, new M.DesignMainStrandComponent_context_menu_strand_closure3(_this), "remove all vendor fields", _null)); + t4 = $.app.store; + if (!C.JSArray_methods.any$1(t4.get$state(t4).ui_state.selectables_store.get$selected_strands()._set.toList$1$growable(0, true), new M.DesignMainStrandComponent_context_menu_strand_closure4())) { + t4 = _this._design_main_strand$_cachedTypedProps.get$strand().vendor_fields; + if ((t4 == null ? _null : t4.well) != null) { + t4 = _this._design_main_strand$_cachedTypedProps.get$strand().vendor_fields; + t4 = (t4 == null ? _null : t4.purification) != null; + } else + t4 = false; + } else + t4 = true; + if (t4) + t5.push(B.ContextMenuItem_ContextMenuItem(false, _null, new M.DesignMainStrandComponent_context_menu_strand_closure5(_this), "remove plate/well vendor fields", _null)); + t2.push(B.ContextMenuItem_ContextMenuItem(false, D._BuiltList$of(t5, t3), _null, "edit vendor fields", _null)); + t4 = strand.is_scaffold ? "set as non-scaffold" : "set as scaffold"; + t2.push(B.ContextMenuItem_ContextMenuItem(false, _null, _this.get$set_scaffold(), t4, _null)); + t4 = H.setRuntimeTypeInfo([B.ContextMenuItem_ContextMenuItem(false, _null, new M.DesignMainStrandComponent_context_menu_strand_closure6(_this), "set strand color", _null), B.ContextMenuItem_ContextMenuItem(false, _null, new M.DesignMainStrandComponent_context_menu_strand_closure7(_this, substrand), "set domain color", _null)], t1); + if (substrand.get$color(substrand) != null) + t4.push(B.ContextMenuItem_ContextMenuItem(false, _null, new M.DesignMainStrandComponent_context_menu_strand_closure8(_this, substrand), "remove domain color", _null)); + t2.push(B.ContextMenuItem_ContextMenuItem(false, D._BuiltList$of(t4, t3), _null, "color", _null)); + t4 = H.setRuntimeTypeInfo([B.ContextMenuItem_ContextMenuItem(false, _null, _this.get$set_strand_name(), "set strand name", _null)], t1); + if (_this._design_main_strand$_cachedTypedProps.get$strand().name != null) + t4.push(B.ContextMenuItem_ContextMenuItem(false, _null, new M.DesignMainStrandComponent_context_menu_strand_closure9(_this), "remove strand name", _null)); + t4.push(B.ContextMenuItem_ContextMenuItem(false, _null, new M.DesignMainStrandComponent_context_menu_strand_closure10(_this), "set domain name", _null)); + t4.push(B.ContextMenuItem_ContextMenuItem(false, _null, new M.DesignMainStrandComponent_context_menu_strand_closure11(_this, substrand), string$.assign, "If other strands bound to this strand (or the selected strands) have domain names already \nassigned, assign the complementary domain names sequence to this strand. To use this\nfeature for individual domains, set select mode to domain.\n")); + if (substrand.get$name(substrand) != null) + t4.push(B.ContextMenuItem_ContextMenuItem(false, _null, new M.DesignMainStrandComponent_context_menu_strand_closure12(), "remove domain name", _null)); + t2.push(B.ContextMenuItem_ContextMenuItem(false, D._BuiltList$of(t4, t3), _null, "edit name", _null)); + t4 = H.setRuntimeTypeInfo([B.ContextMenuItem_ContextMenuItem(false, _null, _this.get$set_strand_label(), "set strand label", _null)], t1); + if (_this._design_main_strand$_cachedTypedProps.get$strand().label != null) + t4.push(B.ContextMenuItem_ContextMenuItem(false, _null, new M.DesignMainStrandComponent_context_menu_strand_closure13(_this), "remove strand label", _null)); + t4.push(B.ContextMenuItem_ContextMenuItem(false, _null, new M.DesignMainStrandComponent_context_menu_strand_closure14(_this, substrand), "set domain label", _null)); + if (substrand.get$label(substrand) != null) + t4.push(B.ContextMenuItem_ContextMenuItem(false, _null, new M.DesignMainStrandComponent_context_menu_strand_closure15(), "remove domain label", _null)); + t2.push(B.ContextMenuItem_ContextMenuItem(false, D._BuiltList$of(t4, t3), _null, "edit label", _null)); + t2.push(B.ContextMenuItem_ContextMenuItem(false, D._BuiltList$of(H.setRuntimeTypeInfo([B.ContextMenuItem_ContextMenuItem(false, _null, new M.DesignMainStrandComponent_context_menu_strand_closure16(_this), "reflect horizontally", "replace strand(s) with horizontal mirror image, \nwithout reversing polarity \"vertically\"\n\nFor example,\nbefore:\n strand's 5' end on helix 0\n strand's 3' end on helix 1\nafter:\n strand's 5' end on helix 0\n strand's 3' end on helix 1\n"), B.ContextMenuItem_ContextMenuItem(false, _null, new M.DesignMainStrandComponent_context_menu_strand_closure17(_this), "reflect horizontally (reverse vertical polarity)", "replace strand(s) with horizontal mirror image, \nwith polarity reversed \"vertically\" \n\nFor example,\nbefore:\n strand's 5' end on helix 0\n strand's 3' end on helix 1\nafter:\n strand's 5' end on helix 1\n strand's 3' end on helix 0\n"), B.ContextMenuItem_ContextMenuItem(false, _null, new M.DesignMainStrandComponent_context_menu_strand_closure18(_this), "reflect vertically", "replace strand(s) with vertical mirror image, \nwithout reversing polarity \"vertically\"\n\nFor example,\nbefore:\n strand's 5' end is on a helix below that of the strand's 3' end\nafter:\n strand's 5' end is still on a helix below that of the strand's 3' end\n"), B.ContextMenuItem_ContextMenuItem(false, _null, new M.DesignMainStrandComponent_context_menu_strand_closure19(_this), "reflect vertically (reverse vertical polarity)", "replace strand(s) with vertical mirror image, \nwith polarity reversed \"vertically\"\n\nFor example,\nbefore:\n strand's 5' end is on a helix below that of the strand's 3' end\nafter:\n strand's 5' end is now on a helix above that of the strand's 3' end\n")], t1), t3), _null, "reflect", _null)); + t1 = strand.get$has_5p_extension() && strand.get$has_3p_extension(); + t2.push(B.ContextMenuItem_ContextMenuItem(t1, _null, new M.DesignMainStrandComponent_context_menu_strand_closure20(_this, strand), "add extension", _null)); + return t2; + }, + context_menu_strand$1: function(strand) { + return this.context_menu_strand$4$address$substrand$type(strand, null, null, C.ModificationType_internal); + }, + context_menu_strand$3$address$substrand: function(strand, address, substrand) { + return this.context_menu_strand$4$address$substrand$type(strand, address, substrand, C.ModificationType_internal); + }, + ask_for_add_extension$1: function(strand) { + var $async$goto = 0, + $async$completer = P._makeAsyncAwaitCompleter(type$.void), + $async$returnValue, $async$self = this, t1, t2, options, items, results, t3, is_5p, action; + var $async$ask_for_add_extension$1 = P._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { + if ($async$errorCode === 1) + return P._asyncRethrow($async$result, $async$completer); + while (true) + switch ($async$goto) { + case 0: + // Function start + if (strand.get$has_5p_extension() && strand.get$has_3p_extension()) { + t1 = window; + t2 = strand.name; + C.Window_methods.alert$1(t1, "strand " + (t2 == null ? strand.toString$0(0) : t2) + " already has a 5' and 3' extension"); + // goto return + $async$goto = 1; + break; + } + options = H.setRuntimeTypeInfo([], type$.JSArray_legacy_String); + if (!strand.get$has_5p_extension()) + C.JSArray_methods.add$1(options, "5'"); + if (!strand.get$has_3p_extension()) + C.JSArray_methods.add$1(options, "3'"); + items = P.List_List$filled(2, null, false, type$.legacy_DialogItem); + C.JSArray_methods.$indexSet(items, 0, E.DialogRadio_DialogRadio("end of strand", null, options, true, 0, null)); + C.JSArray_methods.$indexSet(items, 1, E.DialogInteger_DialogInteger("number of bases", "number of bases to include in this extension", 5)); + $async$goto = 3; + return P._asyncAwait(E.dialog(E.Dialog_Dialog(C.Set_empty, C.Map_empty2, C.Map_empty2, C.Map_empty3, items, C.List_empty1, E.dialog_Dialog_identity_function$closure(), "add extension", C.DialogType_add_extension, false)), $async$ask_for_add_extension$1); + case 3: + // returning from await. + results = $async$result; + if (results == null) { + // goto return + $async$goto = 1; + break; + } + t1 = J.getInterceptor$asx(results); + t2 = type$.legacy_DialogRadio._as(t1.$index(results, 0)); + t3 = t2.options; + t2 = t2.selected_idx; + t2 = J.$index$asx(t3._list, t2); + if (t2 === "3'") + is_5p = false; + else { + if (t2 !== "5'") { + C.Window_methods.alert$1(window, "invalid selection " + H.S(t2)); + // goto return + $async$goto = 1; + break; + } + is_5p = true; + } + action = U.ExtensionAdd_ExtensionAdd(is_5p, H._asIntS(type$.legacy_DialogInteger._as(t1.$index(results, 1)).value), $async$self._design_main_strand$_cachedTypedProps.get$strand()); + $.app.dispatch$1(action); + case 1: + // return + return P._asyncReturn($async$returnValue, $async$completer); + } + }); + return P._asyncStartSync($async$ask_for_add_extension$1, $async$completer); + }, + select_index_for_one_strand$3: function(vendor_option, options, default_index) { + type$.legacy_Set_legacy_String._as(options); + if (options.contains$1(0, vendor_option)) + return C.JSArray_methods.indexOf$1(P.List_List$of(options, true, H._instanceType(options)._eval$1("SetMixin.E")), vendor_option); + else if (default_index) + return 1; + else + return 0; + }, + select_scale_index_for_multiple_strands$2: function(all_strands, options) { + var all_same_scale, default_scale_option, t1; + type$.legacy_List_legacy_Strand._as(all_strands); + type$.legacy_Set_legacy_String._as(options); + all_same_scale = C.JSArray_methods.every$1(all_strands, new M.DesignMainStrandComponent_select_scale_index_for_multiple_strands_closure(all_strands)); + default_scale_option = C.JSArray_methods.every$1(all_strands, new M.DesignMainStrandComponent_select_scale_index_for_multiple_strands_closure0()); + if (all_same_scale) { + if (0 >= all_strands.length) + return H.ioore(all_strands, 0); + t1 = all_strands[0].vendor_fields; + return this.select_index_for_one_strand$3(t1 == null ? null : t1.scale, options, default_scale_option); + } else + return 0; + }, + custom_scale_value$1: function(all_strands) { + var t1; + type$.legacy_List_legacy_Strand._as(all_strands); + if (C.JSArray_methods.every$1(all_strands, new M.DesignMainStrandComponent_custom_scale_value_closure(all_strands))) { + if (0 >= all_strands.length) + return H.ioore(all_strands, 0); + t1 = all_strands[0].vendor_fields; + t1 = t1 == null ? null : t1.scale; + return t1 == null ? "" : t1; + } else + return ""; + }, + custom_purification_value$1: function(all_strands) { + var t1; + type$.legacy_List_legacy_Strand._as(all_strands); + if (C.JSArray_methods.every$1(all_strands, new M.DesignMainStrandComponent_custom_purification_value_closure(all_strands))) { + if (0 >= all_strands.length) + return H.ioore(all_strands, 0); + t1 = all_strands[0].vendor_fields; + t1 = t1 == null ? null : t1.purification; + return t1 == null ? "" : t1; + } else + return ""; + }, + select_purification_index_for_multiple_strands$2: function(all_strands, options) { + var all_same_purification, default_purification_option, t1; + type$.legacy_List_legacy_Strand._as(all_strands); + type$.legacy_Set_legacy_String._as(options); + all_same_purification = C.JSArray_methods.every$1(all_strands, new M.DesignMainStrandComponent_select_purification_index_for_multiple_strands_closure(all_strands)); + default_purification_option = C.JSArray_methods.every$1(all_strands, new M.DesignMainStrandComponent_select_purification_index_for_multiple_strands_closure0()); + if (all_same_purification) { + if (0 >= all_strands.length) + return H.ioore(all_strands, 0); + t1 = all_strands[0].vendor_fields; + return this.select_index_for_one_strand$3(t1 == null ? null : t1.purification, options, default_purification_option); + } else + return 0; + }, + select_plate_number$1: function(all_strands) { + var t1; + type$.legacy_List_legacy_Strand._as(all_strands); + if (C.JSArray_methods.every$1(all_strands, new M.DesignMainStrandComponent_select_plate_number_closure(all_strands))) { + if (0 >= all_strands.length) + return H.ioore(all_strands, 0); + t1 = all_strands[0].vendor_fields; + return t1 == null ? null : t1.plate; + } else + return null; + }, + ask_for_assign_scale_purification_fields$0: function() { + var $async$goto = 0, + $async$completer = P._makeAsyncAwaitCompleter(type$.void), + $async$returnValue, $async$self = this, items, options_purification, options_scale, t2, t3, results, scale, t4, purification, _i, strand, t5, t6, t7, t8, vendor_fields, action, t1, all_strands; + var $async$ask_for_assign_scale_purification_fields$0 = P._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { + if ($async$errorCode === 1) + return P._asyncRethrow($async$result, $async$completer); + while (true) + switch ($async$goto) { + case 0: + // Function start + t1 = $.app.store; + all_strands = t1.get$state(t1).ui_state.selectables_store.get$selected_strands()._set.toList$1$growable(0, true); + if (all_strands.length === 0) + C.JSArray_methods.add$1(all_strands, $async$self._design_main_strand$_cachedTypedProps.get$strand()); + items = P.List_List$filled(6, null, true, type$.legacy_DialogItem); + t1 = type$.legacy_String; + options_purification = P.LinkedHashSet_LinkedHashSet$_literal(["", "STD", "PAGE", "HPLC", "IEHPLC", "RNASE", "DUALHPLC", "PAGEHPLC"], t1); + options_scale = P.LinkedHashSet_LinkedHashSet$_literal(["", "25nm", "100nm", "250nm", "1um", "2um", "5um", "10um", "4nmU", "20nmU", "PU", "25nmS"], t1); + C.JSArray_methods.$indexSet(items, 1, E.DialogCheckbox_DialogCheckbox("use custom scale", "", false)); + if (all_strands.length > 1) + t1 = $async$self.select_scale_index_for_multiple_strands$2(all_strands, options_scale); + else { + t1 = $async$self._design_main_strand$_cachedTypedProps.get$strand().vendor_fields; + t1 = t1 == null ? null : t1.scale; + t1 = $async$self.select_index_for_one_strand$3(t1, options_scale, C.JSArray_methods.every$1(all_strands, new M.DesignMainStrandComponent_ask_for_assign_scale_purification_fields_closure())); + } + C.JSArray_methods.$indexSet(items, 0, E.DialogRadio_DialogRadio("scale", null, options_scale, false, t1, "25nm : 25nmole\n100nm : 100 nmole\n250nm : 250 nmole\n1um : 1 \xb5mole\n2um\t: 2 umole\n5um\t: 5 \xb5mole\n10um : 10 \xb5mole\n4nmU : 4 nmole Ultramer\u2122\n20nmU : 20 nmole Ultramer\u2122\nPU : PAGE Ultramer\u2122\n25nmS : 5 nmole Sameday\n")); + if (0 >= items.length) { + $async$returnValue = H.ioore(items, 0); + // goto return + $async$goto = 1; + break; + } + C.JSArray_methods.$indexSet(items, 2, E.DialogText_DialogText("custom scale", null, J.get$value$x(items[0]) !== "" ? "" : $async$self.custom_scale_value$1(all_strands))); + C.JSArray_methods.$indexSet(items, 4, E.DialogCheckbox_DialogCheckbox("use custom purification", "", false)); + if (all_strands.length > 1) + t1 = $async$self.select_purification_index_for_multiple_strands$2(all_strands, options_purification); + else { + t1 = $async$self._design_main_strand$_cachedTypedProps.get$strand().vendor_fields; + t1 = t1 == null ? null : t1.purification; + t1 = $async$self.select_index_for_one_strand$3(t1, options_purification, C.JSArray_methods.every$1(all_strands, new M.DesignMainStrandComponent_ask_for_assign_scale_purification_fields_closure0())); + } + C.JSArray_methods.$indexSet(items, 3, E.DialogRadio_DialogRadio("purification", null, options_purification, false, t1, "STD\t: Standard Desalting\nPAGE : PAGE\nHPLC : HPLC \nIEHPLC : IE HPLC\nRNASE : RNase Free HPLC\nDUALHPLC : Dual HPLC\nPAGEHPLC : Dual PAGE & HPLC\n")); + if (3 >= items.length) { + $async$returnValue = H.ioore(items, 3); + // goto return + $async$goto = 1; + break; + } + C.JSArray_methods.$indexSet(items, 5, E.DialogText_DialogText("custom purification", null, J.get$value$x(items[3]) !== "" ? "" : $async$self.custom_purification_value$1(all_strands))); + t1 = type$.JSArray_legacy_int; + t2 = type$.legacy_int; + t3 = type$.legacy_Iterable_legacy_int; + $async$goto = 3; + return P._asyncAwait(E.dialog(E.Dialog_Dialog(C.Set_empty, P.LinkedHashMap_LinkedHashMap$_literal([2, H.setRuntimeTypeInfo([1], t1), 5, H.setRuntimeTypeInfo([4], t1)], t2, t3), P.LinkedHashMap_LinkedHashMap$_literal([0, H.setRuntimeTypeInfo([1], t1), 3, H.setRuntimeTypeInfo([4], t1)], t2, t3), C.Map_empty3, items, C.List_empty1, E.dialog_Dialog_identity_function$closure(), "assign scale/purification vendor fields", C.DialogType_assign_scale_purification, true)), $async$ask_for_assign_scale_purification_fields$0); + case 3: + // returning from await. + results = $async$result; + if (results == null) { + // goto return + $async$goto = 1; + break; + } + t1 = J.getInterceptor$asx(results); + t2 = type$.legacy_DialogCheckbox; + if (t2._as(t1.$index(results, 1)).value) + scale = type$.legacy_DialogText._as(t1.$index(results, 2)).value; + else { + t3 = type$.legacy_DialogRadio._as(t1.$index(results, 0)); + t4 = t3.options; + t3 = t3.selected_idx; + scale = J.$index$asx(t4._list, t3); + } + if (t2._as(t1.$index(results, 4)).value) + purification = type$.legacy_DialogText._as(t1.$index(results, 5)).value; + else { + t1 = type$.legacy_DialogRadio._as(t1.$index(results, 3)); + t2 = t1.options; + t1 = t1.selected_idx; + purification = J.$index$asx(t2._list, t1); + } + t1 = all_strands.length; + if (t1 > 1) + for (t2 = purification === "", t3 = scale === "", _i = 0; _i < all_strands.length; all_strands.length === t1 || (0, H.throwConcurrentModificationError)(all_strands), ++_i) { + strand = all_strands[_i]; + if (t3) { + t4 = strand.vendor_fields; + t4 = (t4 == null ? null : t4.scale) != null; + } else + t4 = false; + t4 = t4 ? strand.vendor_fields.scale : scale; + if (t2) { + t5 = strand.vendor_fields; + t5 = (t5 == null ? null : t5.purification) != null; + } else + t5 = false; + t5 = t5 ? strand.vendor_fields.purification : purification; + t6 = strand.vendor_fields; + t7 = t6 == null; + t8 = t7 ? null : t6.plate; + vendor_fields = T.VendorFields_VendorFields(t8, t5, t4, t7 ? null : t6.well); + if (vendor_fields == null) + H.throwExpression(Y.BuiltValueNullFieldError$("ScalePurificationVendorFieldsAssign", "vendor_fields")); + $.app.dispatch$1(new U._$ScalePurificationVendorFieldsAssign(strand, vendor_fields)); + } + else { + vendor_fields = T.VendorFields_VendorFields(null, purification, scale, null); + action = U._$ScalePurificationVendorFieldsAssign$_($async$self._design_main_strand$_cachedTypedProps.get$strand(), vendor_fields); + $.app.dispatch$1(action); + } + case 1: + // return + return P._asyncReturn($async$returnValue, $async$completer); + } + }); + return P._asyncStartSync($async$ask_for_assign_scale_purification_fields$0, $async$completer); + }, + ask_for_assign_plate_well_fields$0: function() { + var $async$goto = 0, + $async$completer = P._makeAsyncAwaitCompleter(type$.void), + $async$returnValue, $async$self = this, items, results, t2, plate, conflicting_strands, t3, _i, strand, t4, t5, t6, vendor_fields, well, action, t1, all_strands; + var $async$ask_for_assign_plate_well_fields$0 = P._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { + if ($async$errorCode === 1) + return P._asyncRethrow($async$result, $async$completer); + while (true) + switch ($async$goto) { + case 0: + // Function start + t1 = $.app.store; + all_strands = t1.get$state(t1).ui_state.selectables_store.get$selected_strands()._set.toList$1$growable(0, true); + if (all_strands.length === 0) + C.JSArray_methods.add$1(all_strands, $async$self._design_main_strand$_cachedTypedProps.get$strand()); + items = P.List_List$filled(2, null, true, type$.legacy_DialogItem); + t1 = $async$self.select_plate_number$1(all_strands); + C.JSArray_methods.$indexSet(items, 0, E.DialogText_DialogText("plate", null, t1 == null ? "" : t1)); + t1 = $async$self._design_main_strand$_cachedTypedProps.get$strand().vendor_fields; + t1 = (t1 == null ? null : t1.well) != null ? $async$self._design_main_strand$_cachedTypedProps.get$strand().vendor_fields.well : ""; + C.JSArray_methods.$indexSet(items, 1, E.DialogText_DialogText("well", all_strands.length > 1 ? "Only individual strands can have a well assigned." : "", t1)); + t1 = P.LinkedHashSet_LinkedHashSet$_empty(type$.legacy_int); + if (all_strands.length > 1) + t1.add$1(0, 1); + $async$goto = 3; + return P._asyncAwait(E.dialog(E.Dialog_Dialog(t1, C.Map_empty2, C.Map_empty2, C.Map_empty3, items, C.List_empty1, E.dialog_Dialog_identity_function$closure(), "assign plate/well vendor fields", C.DialogType_assign_plate_well, true)), $async$ask_for_assign_plate_well_fields$0); + case 3: + // returning from await. + results = $async$result; + if (results == null) { + // goto return + $async$goto = 1; + break; + } + t1 = J.getInterceptor$asx(results); + t2 = type$.legacy_DialogText; + plate = t2._as(t1.$index(results, 0)).value; + conflicting_strands = H.setRuntimeTypeInfo([], type$.JSArray_legacy_String); + t3 = all_strands.length; + if (t3 > 1) + for (t1 = plate === "", _i = 0; _i < all_strands.length; all_strands.length === t3 || (0, H.throwConcurrentModificationError)(all_strands), ++_i) { + strand = all_strands[_i]; + t2 = strand.vendor_fields; + if (t2 == null) { + t2 = strand.__address_5p; + C.JSArray_methods.add$1(conflicting_strands, (t2 == null ? strand.__address_5p = E.Strand.prototype.get$address_5p.call(strand) : t2).toString$0(0)); + } else { + t4 = t2.scale; + t5 = t2.purification; + t6 = t1 ? t2.plate : plate; + t2 = t2.well; + vendor_fields = T.VendorFields_VendorFields(t6, t5, t4, t2 != null ? t2 : ""); + if (vendor_fields == null) + H.throwExpression(Y.BuiltValueNullFieldError$("PlateWellVendorFieldsAssign", "vendor_fields")); + $.app.dispatch$1(new U._$PlateWellVendorFieldsAssign(strand, vendor_fields)); + } + } + else { + well = t2._as(t1.$index(results, 1)).value; + t1 = $async$self._design_main_strand$_cachedTypedProps.get$strand().vendor_fields; + t2 = $async$self._design_main_strand$_cachedTypedProps; + if (t1 == null) + C.JSArray_methods.add$1(conflicting_strands, t2.get$strand().get$address_5p().toString$0(0)); + else { + t1 = t2.get$strand().vendor_fields.scale; + vendor_fields = T.VendorFields_VendorFields(plate, $async$self._design_main_strand$_cachedTypedProps.get$strand().vendor_fields.purification, t1, well); + action = U._$PlateWellVendorFieldsAssign$_($async$self._design_main_strand$_cachedTypedProps.get$strand(), vendor_fields); + $.app.dispatch$1(action); + } + } + if (conflicting_strands.length >= 1) + C.Window_methods.alert$1(window, "No vendor fields were assigned to strands: " + H.S(conflicting_strands) + ". \nAssign scale and purification before editing plate/well fields."); + case 1: + // return + return P._asyncReturn($async$returnValue, $async$completer); + } + }); + return P._asyncStartSync($async$ask_for_assign_plate_well_fields$0, $async$completer); + }, + remove_plate_well_fields$0: function() { + var all_actions, _i, strand, batch_action, + t1 = $.app.store, + all_strands = t1.get$state(t1).ui_state.selectables_store.get$selected_strands()._set.toList$1$growable(0, true); + if (all_strands.length === 0) + C.JSArray_methods.add$1(all_strands, this._design_main_strand$_cachedTypedProps.get$strand()); + all_actions = H.setRuntimeTypeInfo([], type$.JSArray_legacy_UndoableAction); + for (t1 = all_strands.length, _i = 0; _i < all_strands.length; all_strands.length === t1 || (0, H.throwConcurrentModificationError)(all_strands), ++_i) { + strand = all_strands[_i]; + if (strand == null) + H.throwExpression(Y.BuiltValueNullFieldError$("PlateWellVendorFieldsRemove", "strand")); + $.app.dispatch$1(new U._$PlateWellVendorFieldsRemove(strand)); + } + batch_action = U.BatchAction_BatchAction(all_actions, "remove plate/well fields"); + $.app.dispatch$1(batch_action); + }, + remove_vendor_fields$0: function() { + var all_actions, _i, strand, batch_action, + t1 = $.app.store, + all_strands = t1.get$state(t1).ui_state.selectables_store.get$selected_strands()._set.toList$1$growable(0, true); + if (all_strands.length === 0) + C.JSArray_methods.add$1(all_strands, this._design_main_strand$_cachedTypedProps.get$strand()); + all_actions = H.setRuntimeTypeInfo([], type$.JSArray_legacy_UndoableAction); + for (t1 = all_strands.length, _i = 0; _i < all_strands.length; all_strands.length === t1 || (0, H.throwConcurrentModificationError)(all_strands), ++_i) { + strand = all_strands[_i]; + if (strand == null) + H.throwExpression(Y.BuiltValueNullFieldError$("VendorFieldsRemove", "strand")); + $.app.dispatch$1(new U._$VendorFieldsRemove(strand)); + } + batch_action = U.BatchAction_BatchAction(all_actions, "remove vendor fields"); + $.app.dispatch$1(batch_action); + }, + ask_for_strand_name$2: function(strand, selected_strands) { + return this.ask_for_strand_name$body$DesignMainStrandComponent(strand, type$.legacy_BuiltSet_legacy_Strand._as(selected_strands)); + }, + ask_for_strand_name$body$DesignMainStrandComponent: function(strand, selected_strands) { + var $async$goto = 0, + $async$completer = P._makeAsyncAwaitCompleter(type$.void), + $async$returnValue, $async$self = this, results, action, items, t1; + var $async$ask_for_strand_name$2 = P._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { + if ($async$errorCode === 1) + return P._asyncRethrow($async$result, $async$completer); + while (true) + switch ($async$goto) { + case 0: + // Function start + items = P.List_List$filled(1, null, false, type$.legacy_DialogItem); + t1 = $async$self._design_main_strand$_cachedTypedProps.get$strand().name; + C.JSArray_methods.$indexSet(items, 0, E.DialogText_DialogText("name", null, t1 == null ? "" : t1)); + $async$goto = 3; + return P._asyncAwait(E.dialog(E.Dialog_Dialog(C.Set_empty, C.Map_empty2, C.Map_empty2, C.Map_empty3, items, C.List_empty1, E.dialog_Dialog_identity_function$closure(), "set strand name", C.DialogType_set_strand_name, false)), $async$ask_for_strand_name$2); + case 3: + // returning from await. + results = $async$result; + if (results == null) { + // goto return + $async$goto = 1; + break; + } + action = M.batch_if_multiple_selected(M.name_set_strand_action_creator(type$.legacy_DialogText._as(J.$index$asx(results, 0)).value), strand, selected_strands, "set strand names"); + $.app.dispatch$1(action); + case 1: + // return + return P._asyncReturn($async$returnValue, $async$completer); + } + }); + return P._asyncStartSync($async$ask_for_strand_name$2, $async$completer); + }, + ask_for_domain_names$1: function(domains) { + return this.ask_for_domain_names$body$DesignMainStrandComponent(type$.legacy_BuiltSet_legacy_Domain._as(domains)); + }, + ask_for_domain_names$body$DesignMainStrandComponent: function(domains) { + var $async$goto = 0, + $async$completer = P._makeAsyncAwaitCompleter(type$.void), + $async$returnValue, t1, results, $name, items; + var $async$ask_for_domain_names$1 = P._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { + if ($async$errorCode === 1) + return P._asyncRethrow($async$result, $async$completer); + while (true) + switch ($async$goto) { + case 0: + // Function start + items = P.List_List$filled(1, null, false, type$.legacy_DialogItem); + C.JSArray_methods.$indexSet(items, 0, E.DialogText_DialogText("name", null, "")); + t1 = domains._set; + t1.get$first(t1).toString; + $async$goto = 3; + return P._asyncAwait(E.dialog(E.Dialog_Dialog(C.Set_empty, C.Map_empty2, C.Map_empty2, C.Map_empty3, items, C.List_empty1, E.dialog_Dialog_identity_function$closure(), "set domain name", C.DialogType_set_domain_name, false)), $async$ask_for_domain_names$1); + case 3: + // returning from await. + results = $async$result; + if (results == null) { + // goto return + $async$goto = 1; + break; + } + $name = type$.legacy_DialogText._as(J.$index$asx(results, 0)).value; + $async$returnValue = $.app.dispatch$1(U.BatchAction_BatchAction(t1.map$1$1(0, domains.$ti._eval$1("UndoableAction*(1)")._as(new M.DesignMainStrandComponent_ask_for_domain_names_closure($name)), type$.legacy_UndoableAction), "set domain names")); + // goto return + $async$goto = 1; + break; + case 1: + // return + return P._asyncReturn($async$returnValue, $async$completer); + } + }); + return P._asyncStartSync($async$ask_for_domain_names$1, $async$completer); + } + }; + M.DesignMainStrandComponent_render_closure.prototype = { + call$2: function(i, p) { + return new P.MapEntry(H._asIntS(i), type$.legacy_Point_legacy_num._as(p).y, type$.MapEntry_of_legacy_int_and_legacy_num); + }, + $signature: 43 + }; + M.DesignMainStrandComponent_assign_dna_closure.prototype = { + call$0: function() { + var t1 = this.$this, + t2 = t1._design_main_strand$_cachedTypedProps.get$strand(); + t1 = t1._design_main_strand$_cachedTypedProps; + t1 = t1.get$props(t1).$index(0, string$.DesignMStPrdn); + if (t1 == null) + t1 = null; + return M.ask_for_assign_dna_sequence(t2, type$.legacy_DNAAssignOptions._as(t1)); + }, + $signature: 6 + }; + M.DesignMainStrandComponent_add_modification_closure.prototype = { + call$0: function() { + var _this = this; + return X.ask_for_add_modification(_this.$this._design_main_strand$_cachedTypedProps.get$strand(), _this.substrand, _this.address, _this.type); + }, + $signature: 6 + }; + M.DesignMainStrandComponent_set_strand_name_closure.prototype = { + call$0: function() { + var t1 = this.$this, + t2 = t1._design_main_strand$_cachedTypedProps.get$strand(), + t3 = $.app.store; + return t1.ask_for_strand_name$2(t2, t3.get$state(t3).ui_state.selectables_store.get$selected_strands()); + }, + $signature: 6 + }; + M.DesignMainStrandComponent_set_strand_label_closure.prototype = { + call$0: function() { + var t1 = this.$this._design_main_strand$_cachedTypedProps.get$strand(), + t2 = $.app.store; + return M.ask_for_label(t1, null, t2.get$state(t2).ui_state.selectables_store.get$selected_strands(), type$.legacy_Strand); + }, + $signature: 6 + }; + M.DesignMainStrandComponent_set_domain_names_closure.prototype = { + call$0: function() { + return this.$this.ask_for_domain_names$1(this.domains); + }, + $signature: 6 + }; + M.DesignMainStrandComponent_set_domain_labels_closure.prototype = { + call$0: function() { + return M.ask_for_label(this.$this._design_main_strand$_cachedTypedProps.get$strand(), this.substrand, M.get_selected_domains(), type$.legacy_Domain); + }, + $signature: 6 + }; + M.DesignMainStrandComponent_remove_dna_closure.prototype = { + call$0: function() { + var t1 = this.$this._design_main_strand$_cachedTypedProps.get$strand(), + t2 = $.app.store; + return M.ask_for_remove_dna_sequence(t1, t2.get$state(t2).ui_state.selectables_store.get$selected_strands()); + }, + $signature: 6 + }; + M.DesignMainStrandComponent_reflect_closure.prototype = { + call$1: function(b) { + var t1, t2; + type$.legacy_SetBuilder_legacy_Strand._as(b); + t1 = b.$ti._precomputed1; + t2 = t1._as(this.$this._design_main_strand$_cachedTypedProps.get$strand()); + if (!$.$get$isSoundMode() && !t1._is(null)) + if (t2 == null) + H.throwExpression(P.ArgumentError$("null element")); + return b.get$_safeSet().add$1(0, t2); + }, + $signature: 106 + }; + M.DesignMainStrandComponent_context_menu_strand_closure.prototype = { + call$0: function() { + var _this = this; + return _this.$this.add_modification$3(_this.substrand, _this.address, _this.type); + }, + $signature: 1 + }; + M.DesignMainStrandComponent_context_menu_strand_closure0.prototype = { + call$0: function() { + var strand_idx, nt_idx_in_strand, message_js_commands, + t1 = this.$this._design_main_strand$_cachedTypedProps.get$strand(), + t2 = this.address, + t3 = $.app.store; + t3 = t3.get$state(t3).design.strands; + t3.toString; + strand_idx = J.indexOf$2$asx(t3._list, t3.$ti._precomputed1._as(t1), 0); + nt_idx_in_strand = t2 != null ? M.clicked_strand_dna_idx(type$.legacy_Domain._as(this.substrand), t2, t1) : 0; + message_js_commands = P.LinkedHashMap_LinkedHashMap$_literal(["message", "iframe_drop", "files", H.setRuntimeTypeInfo([W.Blob_Blob(["let base = systems[0].strands[" + strand_idx + "].getMonomers()[" + nt_idx_in_strand + "];\napi.findElement(base);\napi.selectElements([base]);"], E.blob_type_to_string(C.BlobType_0))], type$.JSArray_legacy_Blob), "ext", H.setRuntimeTypeInfo(["js"], type$.JSArray_legacy_String)], type$.legacy_String, type$.dynamic); + t1 = W._convertNativeToDart_Window($.app.view.oxview_view.frame.contentWindow); + if (t1 != null) + J.postMessage$2$x(t1, message_js_commands, string$.https_); + return null; + }, + $signature: 1 + }; + M.DesignMainStrandComponent_context_menu_strand_closure1.prototype = { + call$1: function(element) { + return type$.legacy_Strand._as(element).vendor_fields == null; + }, + $signature: 15 + }; + M.DesignMainStrandComponent_context_menu_strand_closure2.prototype = { + call$1: function(element) { + return type$.legacy_Strand._as(element).vendor_fields != null; + }, + $signature: 15 + }; + M.DesignMainStrandComponent_context_menu_strand_closure3.prototype = { + call$0: function() { + return this.$this.remove_vendor_fields$0(); + }, + $signature: 1 + }; + M.DesignMainStrandComponent_context_menu_strand_closure4.prototype = { + call$1: function(element) { + var t1 = type$.legacy_Strand._as(element).vendor_fields, + t2 = t1 == null; + if ((t2 ? null : t1.plate) != null) + t1 = (t2 ? null : t1.well) != null; + else + t1 = false; + return t1; + }, + $signature: 15 + }; + M.DesignMainStrandComponent_context_menu_strand_closure5.prototype = { + call$0: function() { + return this.$this.remove_plate_well_fields$0(); + }, + $signature: 1 + }; + M.DesignMainStrandComponent_context_menu_strand_closure6.prototype = { + call$0: function() { + return $.app.dispatch$1(U._$StrandOrSubstrandColorPickerShow$_(this.$this._design_main_strand$_cachedTypedProps.get$strand(), null)); + }, + $signature: 1 + }; + M.DesignMainStrandComponent_context_menu_strand_closure7.prototype = { + call$0: function() { + return $.app.dispatch$1(U._$StrandOrSubstrandColorPickerShow$_(this.$this._design_main_strand$_cachedTypedProps.get$strand(), this.substrand)); + }, + $signature: 1 + }; + M.DesignMainStrandComponent_context_menu_strand_closure8.prototype = { + call$0: function() { + return $.app.dispatch$1(U._$StrandOrSubstrandColorSet$_(null, this.$this._design_main_strand$_cachedTypedProps.get$strand(), this.substrand)); + }, + $signature: 1 + }; + M.DesignMainStrandComponent_context_menu_strand_closure9.prototype = { + call$0: function() { + var t1 = $.app, + t2 = this.$this._design_main_strand$_cachedTypedProps.get$strand(), + t3 = $.app.store; + return t1.dispatch$1(M.batch_if_multiple_selected(new M.DesignMainStrandComponent_context_menu_strand__closure3(), t2, t3.get$state(t3).ui_state.selectables_store.get$selected_strands(), "remove strand name")); + }, + $signature: 1 + }; + M.DesignMainStrandComponent_context_menu_strand__closure3.prototype = { + call$1: function(strand) { + return U._$StrandNameSet$_(null, strand); + }, + $signature: 151 + }; + M.DesignMainStrandComponent_context_menu_strand_closure10.prototype = { + call$0: function() { + return this.$this.set_domain_names$1(M.get_selected_domains()); + }, + $signature: 1 + }; + M.DesignMainStrandComponent_context_menu_strand_closure11.prototype = { + call$0: function() { + var t4, domains_selected, action, strands_selected, + t1 = this.$this, + t2 = type$.legacy_Domain._as(this.substrand), + t3 = $.app.store; + t3 = t3.get$state(t3).ui_state.storables.select_mode_state.get$domains_selectable(); + t4 = $.app; + if (t3) { + t1 = t4.store; + domains_selected = t1.get$state(t1).ui_state.selectables_store.get$selected_domains()._set.toList$1$growable(0, true); + if (!C.JSArray_methods.contains$1(domains_selected, t2)) + C.JSArray_methods.add$1(domains_selected, t2); + action = U.AssignDomainNameComplementFromBoundDomains_AssignDomainNameComplementFromBoundDomains(domains_selected); + $.app.dispatch$1(action); + } else { + t2 = t4.store; + strands_selected = t2.get$state(t2).ui_state.selectables_store.get$selected_strands()._set.toList$1$growable(0, true); + if (!C.JSArray_methods.contains$1(strands_selected, t1._design_main_strand$_cachedTypedProps.get$strand())) + C.JSArray_methods.add$1(strands_selected, t1._design_main_strand$_cachedTypedProps.get$strand()); + action = U.AssignDomainNameComplementFromBoundStrands_AssignDomainNameComplementFromBoundStrands(strands_selected); + $.app.dispatch$1(action); + } + return null; + }, + $signature: 1 + }; + M.DesignMainStrandComponent_context_menu_strand_closure12.prototype = { + call$0: function() { + var t1 = $.app, + t2 = M.get_selected_domains(); + return t1.dispatch$1(U.BatchAction_BatchAction(t2._set.map$1$1(0, t2.$ti._eval$1("UndoableAction*(1)")._as(new M.DesignMainStrandComponent_context_menu_strand__closure2()), type$.legacy_UndoableAction), "remove domain names")); + }, + $signature: 1 + }; + M.DesignMainStrandComponent_context_menu_strand__closure2.prototype = { + call$1: function(d) { + return U._$SubstrandNameSet$_(null, type$.legacy_Domain._as(d)); + }, + $signature: 152 + }; + M.DesignMainStrandComponent_context_menu_strand_closure13.prototype = { + call$0: function() { + var t1 = $.app, + t2 = this.$this._design_main_strand$_cachedTypedProps.get$strand(), + t3 = $.app.store; + return t1.dispatch$1(M.batch_if_multiple_selected(new M.DesignMainStrandComponent_context_menu_strand__closure1(), t2, t3.get$state(t3).ui_state.selectables_store.get$selected_strands(), "remove strand label")); + }, + $signature: 1 + }; + M.DesignMainStrandComponent_context_menu_strand__closure1.prototype = { + call$1: function(strand) { + return U._$StrandLabelSet$_(null, strand); + }, + $signature: 153 + }; + M.DesignMainStrandComponent_context_menu_strand_closure14.prototype = { + call$0: function() { + return this.$this.set_domain_labels$2(this.substrand, M.get_selected_domains()); + }, + $signature: 1 + }; + M.DesignMainStrandComponent_context_menu_strand_closure15.prototype = { + call$0: function() { + var t1 = $.app, + t2 = M.get_selected_domains(); + return t1.dispatch$1(U.BatchAction_BatchAction(t2._set.map$1$1(0, t2.$ti._eval$1("UndoableAction*(1)")._as(new M.DesignMainStrandComponent_context_menu_strand__closure0()), type$.legacy_UndoableAction), "remove domain labels")); + }, + $signature: 1 + }; + M.DesignMainStrandComponent_context_menu_strand__closure0.prototype = { + call$1: function(d) { + return U._$SubstrandLabelSet$_(null, type$.legacy_Domain._as(d)); + }, + $signature: 458 + }; + M.DesignMainStrandComponent_context_menu_strand_closure16.prototype = { + call$0: function() { + return this.$this.reflect$2(true, false); + }, + $signature: 1 + }; + M.DesignMainStrandComponent_context_menu_strand_closure17.prototype = { + call$0: function() { + return this.$this.reflect$2(true, true); + }, + $signature: 1 + }; + M.DesignMainStrandComponent_context_menu_strand_closure18.prototype = { + call$0: function() { + return this.$this.reflect$2(false, false); + }, + $signature: 1 + }; + M.DesignMainStrandComponent_context_menu_strand_closure19.prototype = { + call$0: function() { + return this.$this.reflect$2(false, true); + }, + $signature: 1 + }; + M.DesignMainStrandComponent_context_menu_strand_closure20.prototype = { + call$0: function() { + return $.app.disable_keyboard_shortcuts_while$1$1(new M.DesignMainStrandComponent_context_menu_strand__closure(this.$this, this.strand), type$.void); + }, + $signature: 6 + }; + M.DesignMainStrandComponent_context_menu_strand__closure.prototype = { + call$0: function() { + return this.$this.ask_for_add_extension$1(this.strand); + }, + $signature: 6 + }; + M.DesignMainStrandComponent_select_scale_index_for_multiple_strands_closure.prototype = { + call$1: function(element) { + var t1, t2; + type$.legacy_Strand._as(element); + t1 = this.all_strands; + if (0 >= t1.length) + return H.ioore(t1, 0); + t1 = t1[0].vendor_fields; + t1 = t1 == null ? null : t1.scale; + t2 = element.vendor_fields; + return t1 == (t2 == null ? null : t2.scale); + }, + $signature: 15 + }; + M.DesignMainStrandComponent_select_scale_index_for_multiple_strands_closure0.prototype = { + call$1: function(element) { + return type$.legacy_Strand._as(element).vendor_fields == null; + }, + $signature: 15 + }; + M.DesignMainStrandComponent_custom_scale_value_closure.prototype = { + call$1: function(element) { + var t1, t2; + type$.legacy_Strand._as(element); + t1 = this.all_strands; + if (0 >= t1.length) + return H.ioore(t1, 0); + t1 = t1[0].vendor_fields; + t1 = t1 == null ? null : t1.scale; + t2 = element.vendor_fields; + return t1 == (t2 == null ? null : t2.scale); + }, + $signature: 15 + }; + M.DesignMainStrandComponent_custom_purification_value_closure.prototype = { + call$1: function(element) { + var t1, t2; + type$.legacy_Strand._as(element); + t1 = this.all_strands; + if (0 >= t1.length) + return H.ioore(t1, 0); + t1 = t1[0].vendor_fields; + t1 = t1 == null ? null : t1.purification; + t2 = element.vendor_fields; + return t1 == (t2 == null ? null : t2.purification); + }, + $signature: 15 + }; + M.DesignMainStrandComponent_select_purification_index_for_multiple_strands_closure.prototype = { + call$1: function(element) { + var t1, t2; + type$.legacy_Strand._as(element); + t1 = this.all_strands; + if (0 >= t1.length) + return H.ioore(t1, 0); + t1 = t1[0].vendor_fields; + t1 = t1 == null ? null : t1.purification; + t2 = element.vendor_fields; + return t1 == (t2 == null ? null : t2.purification); + }, + $signature: 15 + }; + M.DesignMainStrandComponent_select_purification_index_for_multiple_strands_closure0.prototype = { + call$1: function(element) { + return type$.legacy_Strand._as(element).vendor_fields == null; + }, + $signature: 15 + }; + M.DesignMainStrandComponent_select_plate_number_closure.prototype = { + call$1: function(element) { + var t1, t2; + type$.legacy_Strand._as(element); + t1 = this.all_strands; + if (0 >= t1.length) + return H.ioore(t1, 0); + t1 = t1[0].vendor_fields; + t1 = t1 == null ? null : t1.plate; + t2 = element.vendor_fields; + return t1 == (t2 == null ? null : t2.plate); + }, + $signature: 15 + }; + M.DesignMainStrandComponent_ask_for_assign_scale_purification_fields_closure.prototype = { + call$1: function(element) { + return type$.legacy_Strand._as(element).vendor_fields == null; + }, + $signature: 15 + }; + M.DesignMainStrandComponent_ask_for_assign_scale_purification_fields_closure0.prototype = { + call$1: function(element) { + return type$.legacy_Strand._as(element).vendor_fields == null; + }, + $signature: 15 + }; + M.DesignMainStrandComponent_ask_for_domain_names_closure.prototype = { + call$1: function(d) { + return U._$SubstrandNameSet$_(this.name, type$.legacy_Domain._as(d)); + }, + $signature: 152 + }; + M.ask_for_label_closure.prototype = { + call$1: function(s) { + return U._$SubstrandLabelSet$_(this.label, type$.legacy_Substrand._as(this.T._eval$1("0*")._as(s))); + }, + $signature: function() { + return this.T._eval$1("SubstrandLabelSet*(0*)"); + } + }; + M.batch_if_multiple_selected_closure.prototype = { + call$1: function(b) { + var t1, t2; + type$.legacy_SetBuilder_legacy_Strand._as(b); + t1 = b.$ti._precomputed1; + t2 = t1._as(this.strand); + if (!$.$get$isSoundMode() && !t1._is(null)) + if (t2 == null) + H.throwExpression(P.ArgumentError$("null element")); + return b.get$_safeSet().add$1(0, t2); + }, + $signature: 106 + }; + M.get_selected_domains_closure.prototype = { + call$1: function(s) { + return type$.legacy_Strand._as(s).substrands; + }, + $signature: 124 + }; + M.get_selected_domains_closure0.prototype = { + call$1: function(l) { + return type$.legacy_BuiltList_legacy_Substrand._as(l); + }, + $signature: 125 + }; + M.scaffold_set_strand_action_creator_closure.prototype = { + call$1: function(strand) { + return U._$ScaffoldSet$_(this.is_scaffold, strand); + }, + $signature: 459 + }; + M.remove_dna_strand_action_creator_closure.prototype = { + call$1: function(strand) { + return U._$RemoveDNA$_(this.remove_all, this.remove_complements, strand); + }, + $signature: 460 + }; + M.name_set_strand_action_creator_closure.prototype = { + call$1: function(strand) { + return U._$StrandNameSet$_(this.name, strand); + }, + $signature: 151 + }; + M.label_set_strand_action_creator_closure.prototype = { + call$1: function(strand) { + return U._$StrandLabelSet$_(this.label, strand); + }, + $signature: 153 + }; + M.$DesignMainStrandComponentFactory_closure.prototype = { + call$0: function() { + return new M._$DesignMainStrandComponent(null); + }, + "call*": "call$0", + $requiredArgCount: 0, + $signature: 461 + }; + M._$$DesignMainStrandProps.prototype = { + get$$$isClassGenerated: function() { + return true; + }, + get$componentFactory: function() { + var t1 = this.componentFactory; + return t1 == null ? $.$get$$DesignMainStrandComponentFactory() : t1; + } + }; + M._$$DesignMainStrandProps$PlainMap.prototype = { + get$props: function(_) { + return this._design_main_strand$_props; + } + }; + M._$$DesignMainStrandProps$JsMap.prototype = { + get$props: function(_) { + return this._design_main_strand$_props; + } + }; + M._$DesignMainStrandComponent.prototype = { + get$props: function(_) { + return this._design_main_strand$_cachedTypedProps; + }, + set$props: function(_, value) { + this.props = value; + this._design_main_strand$_cachedTypedProps = M._$$DesignMainStrandProps$JsMap$(R.getBackingMap(value)); + }, + get$displayName: function(_) { + return "DesignMainStrand"; + }, + get$$$defaultConsumedProps: function() { + return C.Map_2bMLw.get$values(C.Map_2bMLw); + } + }; + M.$DesignMainStrandPropsMixin.prototype = { + get$strand: function() { + var t1 = J.$index$asx(this.get$props(this), "DesignMainStrandPropsMixin.strand"); + if (t1 == null) + t1 = null; + return type$.legacy_Strand._as(t1); + }, + get$side_selected_helix_idxs: function() { + var t1 = J.$index$asx(this.get$props(this), string$.DesignMStPrsi); + if (t1 == null) + t1 = null; + return type$.legacy_BuiltSet_legacy_int._as(t1); + }, + get$only_display_selected_helices: function() { + var t1 = J.$index$asx(this.get$props(this), string$.DesignMStPro); + return H._asBoolS(t1 == null ? null : t1); + }, + get$helices: function() { + var t1 = J.$index$asx(this.get$props(this), "DesignMainStrandPropsMixin.helices"); + if (t1 == null) + t1 = null; + return type$.legacy_BuiltMap_of_legacy_int_and_legacy_Helix._as(t1); + }, + set$helices: function(value) { + type$.legacy_BuiltMap_of_legacy_int_and_legacy_Helix._as(value); + J.$indexSet$ax(this.get$props(this), "DesignMainStrandPropsMixin.helices", value); + }, + get$groups: function() { + var t1 = J.$index$asx(this.get$props(this), "DesignMainStrandPropsMixin.groups"); + if (t1 == null) + t1 = null; + return type$.legacy_BuiltMap_of_legacy_String_and_legacy_HelixGroup._as(t1); + }, + set$groups: function(value) { + type$.legacy_BuiltMap_of_legacy_String_and_legacy_HelixGroup._as(value); + J.$indexSet$ax(this.get$props(this), "DesignMainStrandPropsMixin.groups", value); + }, + get$geometry: function(_) { + var t1 = J.$index$asx(this.get$props(this), "DesignMainStrandPropsMixin.geometry"); + if (t1 == null) + t1 = null; + return type$.legacy_Geometry._as(t1); + }, + set$geometry: function(_, value) { + J.$indexSet$ax(this.get$props(this), "DesignMainStrandPropsMixin.geometry", value); + }, + get$show_strand_names: function() { + var t1 = J.$index$asx(this.get$props(this), string$.DesignMStPrshsn); + return H._asBoolS(t1 == null ? null : t1); + }, + get$show_strand_labels: function() { + var t1 = J.$index$asx(this.get$props(this), string$.DesignMStPrshsl); + return H._asBoolS(t1 == null ? null : t1); + }, + get$show_domain_names: function() { + var t1 = J.$index$asx(this.get$props(this), string$.DesignMStPrshdn); + return H._asBoolS(t1 == null ? null : t1); + }, + get$show_domain_labels: function() { + var t1 = J.$index$asx(this.get$props(this), string$.DesignMStPrshdl); + return H._asBoolS(t1 == null ? null : t1); + }, + get$helix_idx_to_svg_position_map: function() { + var t1 = J.$index$asx(this.get$props(this), string$.DesignMStPrh); + if (t1 == null) + t1 = null; + return type$.legacy_BuiltMap_of_legacy_int_and_legacy_Point_legacy_num._as(t1); + }, + get$retain_strand_color_on_selection: function() { + var t1 = J.$index$asx(this.get$props(this), string$.DesignMStPrr); + return H._asBoolS(t1 == null ? null : t1); + } + }; + M._DesignMainStrandComponent_UiComponent2_PureComponent.prototype = {}; + M._DesignMainStrandComponent_UiComponent2_PureComponent_TransformByHelixGroup.prototype = {}; + M.__$$DesignMainStrandProps_UiProps_DesignMainStrandPropsMixin.prototype = { + set$helices: function(helices) { + this.DesignMainStrandPropsMixin_helices = type$.legacy_BuiltMap_of_legacy_int_and_legacy_Helix._as(helices); + }, + set$groups: function(groups) { + this.DesignMainStrandPropsMixin_groups = type$.legacy_BuiltMap_of_legacy_String_and_legacy_HelixGroup._as(groups); + }, + set$geometry: function(_, geometry) { + this.DesignMainStrandPropsMixin_geometry = type$.legacy_Geometry._as(geometry); + }, + get$helices: function() { + return this.DesignMainStrandPropsMixin_helices; + }, + get$groups: function() { + return this.DesignMainStrandPropsMixin_groups; + }, + get$geometry: function(receiver) { + return this.DesignMainStrandPropsMixin_geometry; + } + }; + M.__$$DesignMainStrandProps_UiProps_DesignMainStrandPropsMixin_$DesignMainStrandPropsMixin.prototype = {}; + M.__$$DesignMainStrandProps_UiProps_DesignMainStrandPropsMixin_$DesignMainStrandPropsMixin_TransformByHelixGroupPropsMixin.prototype = { + set$helices: function(helices) { + this.TransformByHelixGroupPropsMixin_helices = type$.legacy_BuiltMap_of_legacy_int_and_legacy_Helix._as(helices); + }, + set$groups: function(groups) { + this.TransformByHelixGroupPropsMixin_groups = type$.legacy_BuiltMap_of_legacy_String_and_legacy_HelixGroup._as(groups); + }, + set$geometry: function(_, geometry) { + this.TransformByHelixGroupPropsMixin_geometry = type$.legacy_Geometry._as(geometry); + }, + get$helices: function() { + return this.TransformByHelixGroupPropsMixin_helices; + }, + get$groups: function() { + return this.TransformByHelixGroupPropsMixin_groups; + }, + get$geometry: function(receiver) { + return this.TransformByHelixGroupPropsMixin_geometry; + } + }; + M.__$$DesignMainStrandProps_UiProps_DesignMainStrandPropsMixin_$DesignMainStrandPropsMixin_TransformByHelixGroupPropsMixin_$TransformByHelixGroupPropsMixin.prototype = {}; + S.DesignMainStrandAndDomainTextsPropsMixin.prototype = { + set$helices: function(helices) { + this.DesignMainStrandAndDomainTextsPropsMixin_helices = type$.legacy_BuiltMap_of_legacy_int_and_legacy_Helix._as(helices); + }, + set$groups: function(groups) { + this.DesignMainStrandAndDomainTextsPropsMixin_groups = type$.legacy_BuiltMap_of_legacy_String_and_legacy_HelixGroup._as(groups); + }, + set$geometry: function(_, geometry) { + this.DesignMainStrandAndDomainTextsPropsMixin_geometry = type$.legacy_Geometry._as(geometry); + }, + get$helices: function() { + return this.DesignMainStrandAndDomainTextsPropsMixin_helices; + }, + get$groups: function() { + return this.DesignMainStrandAndDomainTextsPropsMixin_groups; + }, + get$geometry: function(receiver) { + return this.DesignMainStrandAndDomainTextsPropsMixin_geometry; + } + }; + S.DesignMainStrandAndDomainTextsComponent.prototype = { + render$0: function(_) { + var text_components, strand_name_component, strand_label_component, domain_name_components, t1, domain_label_components, _this = this, _null = null, + _s12_ = "domain-names", + _s13_ = "domain-labels"; + if (!(H.boolConversionCheck(_this._design_main_strand_and_domain_texts$_cachedTypedProps.get$show_domain_names()) || H.boolConversionCheck(_this._design_main_strand_and_domain_texts$_cachedTypedProps.get$show_strand_names()) || H.boolConversionCheck(_this._design_main_strand_and_domain_texts$_cachedTypedProps.get$show_strand_labels()) || H.boolConversionCheck(_this._design_main_strand_and_domain_texts$_cachedTypedProps.get$show_domain_labels()))) + return _null; + text_components = H.setRuntimeTypeInfo([], type$.JSArray_legacy_ReactElement); + if (H.boolConversionCheck(_this._design_main_strand_and_domain_texts$_cachedTypedProps.get$show_strand_names())) { + strand_name_component = _this._draw_strand_name$0(); + if (strand_name_component != null) + C.JSArray_methods.add$1(text_components, strand_name_component); + } + if (H.boolConversionCheck(_this._design_main_strand_and_domain_texts$_cachedTypedProps.get$show_strand_labels())) { + strand_label_component = _this._draw_strand_label$0(); + if (strand_label_component != null) + C.JSArray_methods.add$1(text_components, strand_label_component); + } + if (H.boolConversionCheck(_this._design_main_strand_and_domain_texts$_cachedTypedProps.get$show_domain_names())) { + domain_name_components = _this._draw_domain_names$0(); + if (domain_name_components.length !== 0) { + t1 = A.SvgProps$($.$get$g(), _null); + t1.set$className(0, _s12_); + t1.set$key(0, _s12_); + C.JSArray_methods.add$1(text_components, t1.call$1(domain_name_components)); + } + } + if (H.boolConversionCheck(_this._design_main_strand_and_domain_texts$_cachedTypedProps.get$show_domain_labels())) { + domain_label_components = _this._draw_domain_labels$0(); + if (domain_label_components.length !== 0) { + t1 = A.SvgProps$($.$get$g(), _null); + t1.set$className(0, _s13_); + t1.set$key(0, _s13_); + C.JSArray_methods.add$1(text_components, t1.call$1(domain_label_components)); + } + } + if (text_components.length === 0) + return _null; + t1 = A.SvgProps$($.$get$g(), _null); + t1.set$className(0, "domain-and-strand-names"); + return t1.call$1(text_components); + }, + _draw_strand_name$0: function() { + var domain_5p, t1, t2, draw_domain, helix_svg_position, helix, num_stacked, t3, t4, strand_name_component, _this = this, + _s11_ = "strand-name"; + if (_this._design_main_strand_and_domain_texts$_cachedTypedProps.get$strand().name == null) + return null; + domain_5p = _this._design_main_strand_and_domain_texts$_cachedTypedProps.get$strand().get$first_domain(); + t1 = domain_5p.helix; + t2 = _this._design_main_strand_and_domain_texts$_cachedTypedProps.get$side_selected_helix_idxs(); + draw_domain = !H.boolConversionCheck(_this._design_main_strand_and_domain_texts$_cachedTypedProps.get$only_display_selected_helices()) || t2._set.contains$1(0, t1); + helix_svg_position = J.$index$asx(_this._design_main_strand_and_domain_texts$_cachedTypedProps.get$helix_idx_to_svg_position()._map$_map, t1); + if (draw_domain && _this._design_main_strand_and_domain_texts$_cachedTypedProps.get$strand().name != null) { + helix = J.$index$asx(_this._design_main_strand_and_domain_texts$_cachedTypedProps.get$helices()._map$_map, t1); + num_stacked = H.boolConversionCheck(_this._design_main_strand_and_domain_texts$_cachedTypedProps.get$show_dna()) ? 1 : 0; + if (H.boolConversionCheck(_this._design_main_strand_and_domain_texts$_cachedTypedProps.get$show_domain_names())) + ++num_stacked; + if (H.boolConversionCheck(_this._design_main_strand_and_domain_texts$_cachedTypedProps.get$show_domain_labels())) + ++num_stacked; + t2 = B.design_main_strand_domain_text___$DesignMainStrandDomainText$closure().call$0(); + t2.set$strand(_this._design_main_strand_and_domain_texts$_cachedTypedProps.get$strand()); + t3 = J.getInterceptor$z(t2); + t3.set$domain(t2, domain_5p); + t3.set$text(t2, _this._design_main_strand_and_domain_texts$_cachedTypedProps.get$strand().name); + t2.set$num_stacked(num_stacked); + t2.set$css_selector_text(_s11_); + t4 = _this._design_main_strand_and_domain_texts$_cachedTypedProps; + t4 = t4.get$props(t4).$index(0, string$.DesignMStAst_n); + t2.set$font_size(H._asIntS(t4 == null ? null : t4)); + t2.set$helix(helix); + t2.set$helix_groups(_this._design_main_strand_and_domain_texts$_cachedTypedProps.get$groups()); + t4 = _this._design_main_strand_and_domain_texts$_cachedTypedProps; + t3.set$geometry(t2, t4.get$geometry(t4)); + t3.set$transform(t2, _this.transform_of_helix$1(t1)); + t2.set$helix_svg_position(helix_svg_position); + t2.set$context_menu_strand(_this._design_main_strand_and_domain_texts$_cachedTypedProps.get$context_menu_strand()); + t3.set$key(t2, _s11_); + strand_name_component = t2.call$0(); + } else + strand_name_component = null; + return strand_name_component; + }, + _draw_strand_label$0: function() { + var domain_5p, t1, t2, draw_domain, helix_svg_position, helix, num_stacked, t3, t4, strand_label_component, _this = this, + _s12_ = "strand-label"; + if (_this._design_main_strand_and_domain_texts$_cachedTypedProps.get$strand().label == null) + return null; + domain_5p = _this._design_main_strand_and_domain_texts$_cachedTypedProps.get$strand().get$first_domain(); + t1 = domain_5p.helix; + t2 = _this._design_main_strand_and_domain_texts$_cachedTypedProps.get$side_selected_helix_idxs(); + draw_domain = !H.boolConversionCheck(_this._design_main_strand_and_domain_texts$_cachedTypedProps.get$only_display_selected_helices()) || t2._set.contains$1(0, t1); + helix_svg_position = J.$index$asx(_this._design_main_strand_and_domain_texts$_cachedTypedProps.get$helix_idx_to_svg_position()._map$_map, t1); + if (draw_domain && _this._design_main_strand_and_domain_texts$_cachedTypedProps.get$strand().label != null) { + helix = J.$index$asx(_this._design_main_strand_and_domain_texts$_cachedTypedProps.get$helices()._map$_map, t1); + num_stacked = H.boolConversionCheck(_this._design_main_strand_and_domain_texts$_cachedTypedProps.get$show_dna()) ? 1 : 0; + if (H.boolConversionCheck(_this._design_main_strand_and_domain_texts$_cachedTypedProps.get$show_strand_names())) + ++num_stacked; + if (H.boolConversionCheck(_this._design_main_strand_and_domain_texts$_cachedTypedProps.get$show_domain_names())) + ++num_stacked; + if (H.boolConversionCheck(_this._design_main_strand_and_domain_texts$_cachedTypedProps.get$show_domain_labels())) + ++num_stacked; + t2 = B.design_main_strand_domain_text___$DesignMainStrandDomainText$closure().call$0(); + t2.set$strand(_this._design_main_strand_and_domain_texts$_cachedTypedProps.get$strand()); + t3 = J.getInterceptor$z(t2); + t3.set$domain(t2, domain_5p); + t3.set$text(t2, _this._design_main_strand_and_domain_texts$_cachedTypedProps.get$strand().label); + t2.set$num_stacked(num_stacked); + t2.set$css_selector_text(_s12_); + t4 = _this._design_main_strand_and_domain_texts$_cachedTypedProps; + t4 = t4.get$props(t4).$index(0, string$.DesignMStAst_l); + t2.set$font_size(H._asIntS(t4 == null ? null : t4)); + t2.set$helix(helix); + t2.set$helix_groups(_this._design_main_strand_and_domain_texts$_cachedTypedProps.get$groups()); + t4 = _this._design_main_strand_and_domain_texts$_cachedTypedProps; + t3.set$geometry(t2, t4.get$geometry(t4)); + t3.set$transform(t2, _this.transform_of_helix$1(t1)); + t2.set$helix_svg_position(helix_svg_position); + t2.set$context_menu_strand(_this._design_main_strand_and_domain_texts$_cachedTypedProps.get$context_menu_strand()); + t3.set$key(t2, _s12_); + strand_label_component = t2.call$0(); + } else + strand_label_component = null; + return strand_label_component; + }, + _draw_domain_names$0: function() { + var t1, t2, t3, t4, t5, t6, t7, t8, t9, i, t10, t11, t12, t13, helix, helix_svg_position, num_stacked, t14, prev_domain, next_domain, prev_helix_idx, next_helix_idx, draw_loopout, adj_helix_idx, draw_ext, _this = this, _null = null, + _s65_ = string$.DesignMStAsi, + _s70_ = string$.DesignMStAo, + _s49_ = string$.DesignMStAshdn, + _s47_ = string$.DesignMStAst, + _s40_ = "TransformByHelixGroupPropsMixin.geometry", + _s62_ = string$.DesignMStAdn, + names = H.setRuntimeTypeInfo([], type$.JSArray_legacy_ReactElement); + for (t1 = J.get$iterator$ax(_this._design_main_strand_and_domain_texts$_cachedTypedProps.get$strand().substrands._list), t2 = type$.legacy_BuiltSet_legacy_int, t3 = type$.legacy_Geometry, t4 = type$.legacy_Strand, t5 = type$.legacy_Domain, t6 = type$.legacy_Point_legacy_num, t7 = type$.legacy_BuiltMap_of_legacy_String_and_legacy_HelixGroup, t8 = type$.legacy_BuiltMap_of_legacy_int_and_legacy_Point_legacy_num, t9 = type$.legacy_BuiltMap_of_legacy_int_and_legacy_Helix, i = 0; t1.moveNext$0();) { + t10 = t1.get$current(t1); + if (t10 instanceof G.Domain) { + t11 = t10.helix; + t12 = _this._design_main_strand_and_domain_texts$_cachedTypedProps; + t12 = t12.get$props(t12).$index(0, _s65_); + t12 = t2._as(t12 == null ? _null : t12); + t13 = _this._design_main_strand_and_domain_texts$_cachedTypedProps; + t13 = t13.get$props(t13).$index(0, _s70_); + if ((!H.boolConversionCheck(H._asBoolS(t13 == null ? _null : t13)) || t12._set.contains$1(0, t11)) && t10.name != null) { + t12 = _this._design_main_strand_and_domain_texts$_cachedTypedProps; + t12 = t12.get$props(t12).$index(0, "TransformByHelixGroupPropsMixin.helices"); + helix = J.$index$asx(t9._as(t12 == null ? _null : t12)._map$_map, t11); + t12 = _this._design_main_strand_and_domain_texts$_cachedTypedProps; + t12 = t12.get$props(t12).$index(0, string$.DesignMStAhx); + helix_svg_position = J.$index$asx(t8._as(t12 == null ? _null : t12)._map$_map, t11); + t12 = _this._design_main_strand_and_domain_texts$_cachedTypedProps; + t12 = t12.get$props(t12).$index(0, _s49_); + num_stacked = H.boolConversionCheck(H._asBoolS(t12 == null ? _null : t12)) ? 1 : 0; + t12 = B.design_main_strand_domain_text___$DesignMainStrandDomainText$closure().call$0(); + t13 = _this._design_main_strand_and_domain_texts$_cachedTypedProps; + t13 = t13.get$props(t13).$index(0, _s47_); + t13 = t4._as(t13 == null ? _null : t13); + t12.toString; + t14 = J.getInterceptor$x(t12); + J.$indexSet$ax(t14.get$props(t12), string$.DesignMStDos, t13); + J.$indexSet$ax(t14.get$props(t12), string$.DesignMStDod, t10); + t10 = t10.name; + J.$indexSet$ax(t14.get$props(t12), string$.DesignMStDote, t10); + J.$indexSet$ax(t14.get$props(t12), string$.DesignMStDon, num_stacked); + J.$indexSet$ax(t14.get$props(t12), string$.DesignMStDocs, "domain-name"); + J.$indexSet$ax(t14.get$props(t12), string$.DesignMStDoh, helix); + t10 = _this._design_main_strand_and_domain_texts$_cachedTypedProps; + t10 = t10.get$props(t10).$index(0, "TransformByHelixGroupPropsMixin.groups"); + t10 = t7._as(t7._as(t10 == null ? _null : t10)); + J.$indexSet$ax(t14.get$props(t12), string$.DesignMStDoh_g, t10); + t10 = _this._design_main_strand_and_domain_texts$_cachedTypedProps; + t10 = t10.get$props(t10).$index(0, _s40_); + t10 = t3._as(t10 == null ? _null : t10); + J.$indexSet$ax(t14.get$props(t12), string$.DesignMStDog, t10); + t10 = _this._design_main_strand_and_domain_texts$_cachedTypedProps; + t10 = t10.get$props(t10).$index(0, _s62_); + t10 = H._asIntS(t10 == null ? _null : t10); + J.$indexSet$ax(t14.get$props(t12), string$.DesignMStDof, t10); + t11 = _this.transform_of_helix$1(t11); + J.$indexSet$ax(t14.get$props(t12), string$.DesignMStDotr, t11); + t6._as(helix_svg_position); + J.$indexSet$ax(t14.get$props(t12), string$.DesignMStDoh_s, helix_svg_position); + t12.set$context_menu_strand(_this._design_main_strand_and_domain_texts$_cachedTypedProps.get$context_menu_strand()); + t11 = "domain-name-" + i; + t14 = t14.get$props(t12); + J.$indexSet$ax(t14, "key", t11); + C.JSArray_methods.add$1(names, t12.call$0()); + } + } else if (t10 instanceof G.Loopout) { + t11 = _this._design_main_strand_and_domain_texts$_cachedTypedProps; + t11 = t11.get$props(t11).$index(0, _s47_); + prev_domain = t5._as(J.$index$asx(t4._as(t11 == null ? _null : t11).substrands._list, i - 1)); + t11 = _this._design_main_strand_and_domain_texts$_cachedTypedProps; + t11 = t11.get$props(t11).$index(0, _s47_); + next_domain = t5._as(J.$index$asx(t4._as(t11 == null ? _null : t11).substrands._list, i + 1)); + prev_helix_idx = prev_domain.helix; + next_helix_idx = next_domain.helix; + t11 = _this._design_main_strand_and_domain_texts$_cachedTypedProps; + t11 = t11.get$props(t11).$index(0, _s65_); + t11 = t2._as(t11 == null ? _null : t11); + t12 = _this._design_main_strand_and_domain_texts$_cachedTypedProps; + t12 = t12.get$props(t12).$index(0, _s70_); + t12 = H.boolConversionCheck(H._asBoolS(t12 == null ? _null : t12)); + if (!t12 || t11._set.contains$1(0, prev_helix_idx)) + draw_loopout = !t12 || t11._set.contains$1(0, next_helix_idx); + else + draw_loopout = false; + t11 = _this._design_main_strand_and_domain_texts$_cachedTypedProps; + t11 = t11.get$props(t11).$index(0, _s49_); + num_stacked = H.boolConversionCheck(H._asBoolS(t11 == null ? _null : t11)) ? 1 : 0; + if (draw_loopout && t10.name != null) { + t11 = S.design_main_strand_loopout_name___$DesignMainStrandLoopoutText$closure().call$0(); + t11.toString; + t12 = J.getInterceptor$x(t11); + J.$indexSet$ax(t12.get$props(t11), string$.DesignMStLl, t10); + t10 = t10.name; + J.$indexSet$ax(t12.get$props(t11), string$.DesignMStLt, t10); + J.$indexSet$ax(t12.get$props(t11), string$.DesignMStLnu, num_stacked); + J.$indexSet$ax(t12.get$props(t11), string$.DesignMStLp, prev_domain); + J.$indexSet$ax(t12.get$props(t11), string$.DesignMStLne, next_domain); + t10 = _this._design_main_strand_and_domain_texts$_cachedTypedProps; + t10 = t10.get$props(t10).$index(0, _s40_); + t10 = t3._as(t10 == null ? _null : t10); + J.$indexSet$ax(t12.get$props(t11), string$.DesignMStLg, t10); + t10 = _this._design_main_strand_and_domain_texts$_cachedTypedProps; + t10 = t10.get$props(t10).$index(0, _s62_); + t10 = H._asIntS(t10 == null ? _null : t10); + J.$indexSet$ax(t12.get$props(t11), string$.DesignMStLf, t10); + J.$indexSet$ax(t12.get$props(t11), string$.DesignMStLc, "loopout-name"); + t10 = "loopout-name-" + i; + t12 = t12.get$props(t11); + J.$indexSet$ax(t12, "key", t10); + C.JSArray_methods.add$1(names, t11.call$0()); + } + } else if (t10 instanceof S.Extension) { + adj_helix_idx = t10.adjacent_domain.helix; + t11 = _this._design_main_strand_and_domain_texts$_cachedTypedProps; + t11 = t11.get$props(t11).$index(0, _s65_); + t11 = t2._as(t11 == null ? _null : t11); + t12 = _this._design_main_strand_and_domain_texts$_cachedTypedProps; + t12 = t12.get$props(t12).$index(0, _s70_); + draw_ext = !H.boolConversionCheck(H._asBoolS(t12 == null ? _null : t12)) || t11._set.contains$1(0, adj_helix_idx); + t11 = _this._design_main_strand_and_domain_texts$_cachedTypedProps; + t11 = t11.get$props(t11).$index(0, _s49_); + num_stacked = H.boolConversionCheck(H._asBoolS(t11 == null ? _null : t11)) ? 1 : 0; + if (draw_ext && t10.name != null) { + t11 = R.design_main_strand_extension_text___$DesignMainStrandExtensionText$closure().call$0(); + t11.toString; + t12 = J.getInterceptor$x(t11); + J.$indexSet$ax(t12.get$props(t11), string$.DesignMStEe, t10); + t10 = t10.name; + J.$indexSet$ax(t12.get$props(t11), string$.DesignMStEt, t10); + J.$indexSet$ax(t12.get$props(t11), string$.DesignMStEn, num_stacked); + t10 = _this._design_main_strand_and_domain_texts$_cachedTypedProps; + t10 = t10.get$props(t10).$index(0, _s40_); + t10 = t3._as(t10 == null ? _null : t10); + J.$indexSet$ax(t12.get$props(t11), string$.DesignMStEg, t10); + t10 = _this._design_main_strand_and_domain_texts$_cachedTypedProps; + t10 = t10.get$props(t10).$index(0, _s62_); + t10 = H._asIntS(t10 == null ? _null : t10); + J.$indexSet$ax(t12.get$props(t11), string$.DesignMStEf, t10); + J.$indexSet$ax(t12.get$props(t11), string$.DesignMStEc, "loopout-label"); + t10 = "extension-name-" + i; + t12 = t12.get$props(t11); + J.$indexSet$ax(t12, "key", t10); + C.JSArray_methods.add$1(names, t11.call$0()); + } + } else + throw H.wrapException(P.AssertionError$(string$.substr)); + ++i; + } + return names; + }, + _draw_domain_labels$0: function() { + var t1, t2, t3, t4, t5, t6, t7, t8, t9, i, t10, t11, t12, t13, helix, helix_svg_position, num_stacked, t14, prev_domain, next_domain, prev_helix_idx, next_helix_idx, draw_loopout, adj_helix_idx, draw_ext, _this = this, _null = null, + _s65_ = string$.DesignMStAsi, + _s70_ = string$.DesignMStAo, + _s49_ = string$.DesignMStAshdn, + _s58_ = string$.DesignMStAshdon, + _s47_ = string$.DesignMStAst, + _s12_ = "domain-label", + _s40_ = "TransformByHelixGroupPropsMixin.geometry", + _s62_ = string$.DesignMStAdn, + names = H.setRuntimeTypeInfo([], type$.JSArray_legacy_ReactElement); + for (t1 = J.get$iterator$ax(_this._design_main_strand_and_domain_texts$_cachedTypedProps.get$strand().substrands._list), t2 = type$.legacy_BuiltSet_legacy_int, t3 = type$.legacy_Geometry, t4 = type$.legacy_Strand, t5 = type$.legacy_Domain, t6 = type$.legacy_Point_legacy_num, t7 = type$.legacy_BuiltMap_of_legacy_String_and_legacy_HelixGroup, t8 = type$.legacy_BuiltMap_of_legacy_int_and_legacy_Point_legacy_num, t9 = type$.legacy_BuiltMap_of_legacy_int_and_legacy_Helix, i = 0; t1.moveNext$0();) { + t10 = t1.get$current(t1); + if (t10 instanceof G.Domain) { + t11 = t10.helix; + t12 = _this._design_main_strand_and_domain_texts$_cachedTypedProps; + t12 = t12.get$props(t12).$index(0, _s65_); + t12 = t2._as(t12 == null ? _null : t12); + t13 = _this._design_main_strand_and_domain_texts$_cachedTypedProps; + t13 = t13.get$props(t13).$index(0, _s70_); + if ((!H.boolConversionCheck(H._asBoolS(t13 == null ? _null : t13)) || t12._set.contains$1(0, t11)) && t10.label != null) { + t12 = _this._design_main_strand_and_domain_texts$_cachedTypedProps; + t12 = t12.get$props(t12).$index(0, "TransformByHelixGroupPropsMixin.helices"); + helix = J.$index$asx(t9._as(t12 == null ? _null : t12)._map$_map, t11); + t12 = _this._design_main_strand_and_domain_texts$_cachedTypedProps; + t12 = t12.get$props(t12).$index(0, string$.DesignMStAhx); + helix_svg_position = J.$index$asx(t8._as(t12 == null ? _null : t12)._map$_map, t11); + t12 = _this._design_main_strand_and_domain_texts$_cachedTypedProps; + t12 = t12.get$props(t12).$index(0, _s49_); + num_stacked = H.boolConversionCheck(H._asBoolS(t12 == null ? _null : t12)) ? 1 : 0; + t12 = _this._design_main_strand_and_domain_texts$_cachedTypedProps; + t12 = t12.get$props(t12).$index(0, _s58_); + if (H.boolConversionCheck(H._asBoolS(t12 == null ? _null : t12))) + ++num_stacked; + t12 = B.design_main_strand_domain_text___$DesignMainStrandDomainText$closure().call$0(); + t13 = _this._design_main_strand_and_domain_texts$_cachedTypedProps; + t13 = t13.get$props(t13).$index(0, _s47_); + t13 = t4._as(t13 == null ? _null : t13); + t12.toString; + t14 = J.getInterceptor$x(t12); + J.$indexSet$ax(t14.get$props(t12), string$.DesignMStDos, t13); + J.$indexSet$ax(t14.get$props(t12), string$.DesignMStDod, t10); + t10 = t10.label; + J.$indexSet$ax(t14.get$props(t12), string$.DesignMStDote, t10); + J.$indexSet$ax(t14.get$props(t12), string$.DesignMStDon, num_stacked); + J.$indexSet$ax(t14.get$props(t12), string$.DesignMStDocs, _s12_); + J.$indexSet$ax(t14.get$props(t12), string$.DesignMStDoh, helix); + t10 = _this._design_main_strand_and_domain_texts$_cachedTypedProps; + t10 = t10.get$props(t10).$index(0, "TransformByHelixGroupPropsMixin.groups"); + t10 = t7._as(t7._as(t10 == null ? _null : t10)); + J.$indexSet$ax(t14.get$props(t12), string$.DesignMStDoh_g, t10); + t10 = _this._design_main_strand_and_domain_texts$_cachedTypedProps; + t10 = t10.get$props(t10).$index(0, _s40_); + t10 = t3._as(t10 == null ? _null : t10); + J.$indexSet$ax(t14.get$props(t12), string$.DesignMStDog, t10); + t10 = _this._design_main_strand_and_domain_texts$_cachedTypedProps; + t10 = t10.get$props(t10).$index(0, _s62_); + t10 = H._asIntS(t10 == null ? _null : t10); + J.$indexSet$ax(t14.get$props(t12), string$.DesignMStDof, t10); + t11 = _this.transform_of_helix$1(t11); + J.$indexSet$ax(t14.get$props(t12), string$.DesignMStDotr, t11); + t6._as(helix_svg_position); + J.$indexSet$ax(t14.get$props(t12), string$.DesignMStDoh_s, helix_svg_position); + t12.set$context_menu_strand(_this._design_main_strand_and_domain_texts$_cachedTypedProps.get$context_menu_strand()); + J.$indexSet$ax(t14.get$props(t12), "className", _s12_); + t11 = "domain-label-" + i; + t14 = t14.get$props(t12); + J.$indexSet$ax(t14, "key", t11); + C.JSArray_methods.add$1(names, t12.call$0()); + } + } else if (t10 instanceof G.Loopout) { + t11 = _this._design_main_strand_and_domain_texts$_cachedTypedProps; + t11 = t11.get$props(t11).$index(0, _s47_); + prev_domain = t5._as(J.$index$asx(t4._as(t11 == null ? _null : t11).substrands._list, i - 1)); + t11 = _this._design_main_strand_and_domain_texts$_cachedTypedProps; + t11 = t11.get$props(t11).$index(0, _s47_); + next_domain = t5._as(J.$index$asx(t4._as(t11 == null ? _null : t11).substrands._list, i + 1)); + prev_helix_idx = prev_domain.helix; + next_helix_idx = next_domain.helix; + t11 = _this._design_main_strand_and_domain_texts$_cachedTypedProps; + t11 = t11.get$props(t11).$index(0, _s65_); + t11 = t2._as(t11 == null ? _null : t11); + t12 = _this._design_main_strand_and_domain_texts$_cachedTypedProps; + t12 = t12.get$props(t12).$index(0, _s70_); + t12 = H.boolConversionCheck(H._asBoolS(t12 == null ? _null : t12)); + if (!t12 || t11._set.contains$1(0, prev_helix_idx)) + draw_loopout = !t12 || t11._set.contains$1(0, next_helix_idx); + else + draw_loopout = false; + t11 = _this._design_main_strand_and_domain_texts$_cachedTypedProps; + t11 = t11.get$props(t11).$index(0, _s49_); + num_stacked = H.boolConversionCheck(H._asBoolS(t11 == null ? _null : t11)) ? 1 : 0; + t11 = _this._design_main_strand_and_domain_texts$_cachedTypedProps; + t11 = t11.get$props(t11).$index(0, _s58_); + if (H.boolConversionCheck(H._asBoolS(t11 == null ? _null : t11))) + ++num_stacked; + if (draw_loopout && t10.label != null) { + t11 = S.design_main_strand_loopout_name___$DesignMainStrandLoopoutText$closure().call$0(); + t11.toString; + t12 = J.getInterceptor$x(t11); + J.$indexSet$ax(t12.get$props(t11), string$.DesignMStLl, t10); + J.$indexSet$ax(t12.get$props(t11), string$.DesignMStLnu, num_stacked); + J.$indexSet$ax(t12.get$props(t11), string$.DesignMStLp, prev_domain); + J.$indexSet$ax(t12.get$props(t11), string$.DesignMStLne, next_domain); + t13 = _this._design_main_strand_and_domain_texts$_cachedTypedProps; + t13 = t13.get$props(t13).$index(0, _s40_); + t13 = t3._as(t13 == null ? _null : t13); + J.$indexSet$ax(t12.get$props(t11), string$.DesignMStLg, t13); + t13 = _this._design_main_strand_and_domain_texts$_cachedTypedProps; + t13 = t13.get$props(t13).$index(0, _s62_); + t13 = H._asIntS(t13 == null ? _null : t13); + J.$indexSet$ax(t12.get$props(t11), string$.DesignMStLf, t13); + t10 = t10.label; + J.$indexSet$ax(t12.get$props(t11), string$.DesignMStLt, t10); + J.$indexSet$ax(t12.get$props(t11), string$.DesignMStLc, "loopout-label"); + t10 = "loopout-label-" + i; + t12 = t12.get$props(t11); + J.$indexSet$ax(t12, "key", t10); + C.JSArray_methods.add$1(names, t11.call$0()); + } + } else if (t10 instanceof S.Extension) { + adj_helix_idx = t10.adjacent_domain.helix; + t11 = _this._design_main_strand_and_domain_texts$_cachedTypedProps; + t11 = t11.get$props(t11).$index(0, _s65_); + t11 = t2._as(t11 == null ? _null : t11); + t12 = _this._design_main_strand_and_domain_texts$_cachedTypedProps; + t12 = t12.get$props(t12).$index(0, _s70_); + draw_ext = !H.boolConversionCheck(H._asBoolS(t12 == null ? _null : t12)) || t11._set.contains$1(0, adj_helix_idx); + t11 = _this._design_main_strand_and_domain_texts$_cachedTypedProps; + t11 = t11.get$props(t11).$index(0, _s49_); + num_stacked = H.boolConversionCheck(H._asBoolS(t11 == null ? _null : t11)) ? 1 : 0; + t11 = _this._design_main_strand_and_domain_texts$_cachedTypedProps; + t11 = t11.get$props(t11).$index(0, _s58_); + if (H.boolConversionCheck(H._asBoolS(t11 == null ? _null : t11))) + ++num_stacked; + if (draw_ext && t10.label != null) { + t11 = R.design_main_strand_extension_text___$DesignMainStrandExtensionText$closure().call$0(); + t11.toString; + t12 = J.getInterceptor$x(t11); + J.$indexSet$ax(t12.get$props(t11), string$.DesignMStEe, t10); + J.$indexSet$ax(t12.get$props(t11), string$.DesignMStEn, num_stacked); + t13 = _this._design_main_strand_and_domain_texts$_cachedTypedProps; + t13 = t13.get$props(t13).$index(0, _s40_); + t13 = t3._as(t13 == null ? _null : t13); + J.$indexSet$ax(t12.get$props(t11), string$.DesignMStEg, t13); + t13 = _this._design_main_strand_and_domain_texts$_cachedTypedProps; + t13 = t13.get$props(t13).$index(0, _s62_); + t13 = H._asIntS(t13 == null ? _null : t13); + J.$indexSet$ax(t12.get$props(t11), string$.DesignMStEf, t13); + t10 = t10.label; + J.$indexSet$ax(t12.get$props(t11), string$.DesignMStEt, t10); + J.$indexSet$ax(t12.get$props(t11), string$.DesignMStEc, "extension-label"); + t10 = "extension-label-" + i; + t12 = t12.get$props(t11); + J.$indexSet$ax(t12, "key", t10); + C.JSArray_methods.add$1(names, t11.call$0()); + } + } else + throw H.wrapException(P.AssertionError$(string$.substr)); + ++i; + } + return names; + } + }; + S.$DesignMainStrandAndDomainTextsComponentFactory_closure.prototype = { + call$0: function() { + return new S._$DesignMainStrandAndDomainTextsComponent(null); + }, + "call*": "call$0", + $requiredArgCount: 0, + $signature: 462 + }; + S._$$DesignMainStrandAndDomainTextsProps.prototype = { + get$$$isClassGenerated: function() { + return true; + }, + get$componentFactory: function() { + var t1 = this.componentFactory; + return t1 == null ? $.$get$$DesignMainStrandAndDomainTextsComponentFactory() : t1; + } + }; + S._$$DesignMainStrandAndDomainTextsProps$PlainMap.prototype = { + get$props: function(_) { + return this._design_main_strand_and_domain_texts$_props; + } + }; + S._$$DesignMainStrandAndDomainTextsProps$JsMap.prototype = { + get$props: function(_) { + return this._design_main_strand_and_domain_texts$_props; + } + }; + S._$DesignMainStrandAndDomainTextsComponent.prototype = { + get$props: function(_) { + return this._design_main_strand_and_domain_texts$_cachedTypedProps; + }, + set$props: function(_, value) { + this.props = value; + this._design_main_strand_and_domain_texts$_cachedTypedProps = S._$$DesignMainStrandAndDomainTextsProps$JsMap$(R.getBackingMap(value)); + }, + get$displayName: function(_) { + return "DesignMainStrandAndDomainTexts"; + }, + get$$$defaultConsumedProps: function() { + return C.Map_k6K6o.get$values(C.Map_k6K6o); + } + }; + S.$DesignMainStrandAndDomainTextsPropsMixin.prototype = { + get$strand: function() { + var t1 = J.$index$asx(this.get$props(this), string$.DesignMStAst); + if (t1 == null) + t1 = null; + return type$.legacy_Strand._as(t1); + }, + get$helices: function() { + var t1 = J.$index$asx(this.get$props(this), string$.DesignMStAhc); + if (t1 == null) + t1 = null; + return type$.legacy_BuiltMap_of_legacy_int_and_legacy_Helix._as(t1); + }, + set$helices: function(value) { + type$.legacy_BuiltMap_of_legacy_int_and_legacy_Helix._as(value); + J.$indexSet$ax(this.get$props(this), string$.DesignMStAhc, value); + }, + get$groups: function() { + var t1 = J.$index$asx(this.get$props(this), string$.DesignMStAgr); + if (t1 == null) + t1 = null; + return type$.legacy_BuiltMap_of_legacy_String_and_legacy_HelixGroup._as(t1); + }, + set$groups: function(value) { + type$.legacy_BuiltMap_of_legacy_String_and_legacy_HelixGroup._as(value); + J.$indexSet$ax(this.get$props(this), string$.DesignMStAgr, value); + }, + get$geometry: function(_) { + var t1 = J.$index$asx(this.get$props(this), string$.DesignMStAge); + if (t1 == null) + t1 = null; + return type$.legacy_Geometry._as(t1); + }, + set$geometry: function(_, value) { + J.$indexSet$ax(this.get$props(this), string$.DesignMStAge, value); + }, + get$side_selected_helix_idxs: function() { + var t1 = J.$index$asx(this.get$props(this), string$.DesignMStAsi); + if (t1 == null) + t1 = null; + return type$.legacy_BuiltSet_legacy_int._as(t1); + }, + get$only_display_selected_helices: function() { + var t1 = J.$index$asx(this.get$props(this), string$.DesignMStAo); + return H._asBoolS(t1 == null ? null : t1); + }, + get$show_dna: function() { + var t1 = J.$index$asx(this.get$props(this), string$.DesignMStAshdn); + return H._asBoolS(t1 == null ? null : t1); + }, + get$show_strand_names: function() { + var t1 = J.$index$asx(this.get$props(this), string$.DesignMStAshsn); + return H._asBoolS(t1 == null ? null : t1); + }, + get$show_strand_labels: function() { + var t1 = J.$index$asx(this.get$props(this), string$.DesignMStAshsl); + return H._asBoolS(t1 == null ? null : t1); + }, + get$show_domain_names: function() { + var t1 = J.$index$asx(this.get$props(this), string$.DesignMStAshdon); + return H._asBoolS(t1 == null ? null : t1); + }, + get$show_domain_labels: function() { + var t1 = J.$index$asx(this.get$props(this), string$.DesignMStAshdol); + return H._asBoolS(t1 == null ? null : t1); + }, + get$helix_idx_to_svg_position: function() { + var t1 = J.$index$asx(this.get$props(this), string$.DesignMStAhx); + if (t1 == null) + t1 = null; + return type$.legacy_BuiltMap_of_legacy_int_and_legacy_Point_legacy_num._as(t1); + }, + get$context_menu_strand: function() { + var t1 = J.$index$asx(this.get$props(this), string$.DesignMStAc); + if (t1 == null) + t1 = null; + return type$.legacy_legacy_List_legacy_ContextMenuItem_Function_legacy_Strand_$named_address_legacy_Address_and_substrand_legacy_Substrand_and_type_legacy_ModificationType._as(t1); + } + }; + S._DesignMainStrandAndDomainTextsComponent_UiComponent2_PureComponent.prototype = {}; + S._DesignMainStrandAndDomainTextsComponent_UiComponent2_PureComponent_TransformByHelixGroup.prototype = {}; + S.__$$DesignMainStrandAndDomainTextsProps_UiProps_DesignMainStrandAndDomainTextsPropsMixin.prototype = { + set$helices: function(helices) { + this.DesignMainStrandAndDomainTextsPropsMixin_helices = type$.legacy_BuiltMap_of_legacy_int_and_legacy_Helix._as(helices); + }, + set$groups: function(groups) { + this.DesignMainStrandAndDomainTextsPropsMixin_groups = type$.legacy_BuiltMap_of_legacy_String_and_legacy_HelixGroup._as(groups); + }, + set$geometry: function(_, geometry) { + this.DesignMainStrandAndDomainTextsPropsMixin_geometry = type$.legacy_Geometry._as(geometry); + }, + get$helices: function() { + return this.DesignMainStrandAndDomainTextsPropsMixin_helices; + }, + get$groups: function() { + return this.DesignMainStrandAndDomainTextsPropsMixin_groups; + }, + get$geometry: function(receiver) { + return this.DesignMainStrandAndDomainTextsPropsMixin_geometry; + } + }; + S.__$$DesignMainStrandAndDomainTextsProps_UiProps_DesignMainStrandAndDomainTextsPropsMixin_$DesignMainStrandAndDomainTextsPropsMixin.prototype = {}; + S.__$$DesignMainStrandAndDomainTextsProps_UiProps_DesignMainStrandAndDomainTextsPropsMixin_$DesignMainStrandAndDomainTextsPropsMixin_TransformByHelixGroupPropsMixin.prototype = { + set$helices: function(helices) { + this.TransformByHelixGroupPropsMixin_helices = type$.legacy_BuiltMap_of_legacy_int_and_legacy_Helix._as(helices); + }, + set$groups: function(groups) { + this.TransformByHelixGroupPropsMixin_groups = type$.legacy_BuiltMap_of_legacy_String_and_legacy_HelixGroup._as(groups); + }, + set$geometry: function(_, geometry) { + this.TransformByHelixGroupPropsMixin_geometry = type$.legacy_Geometry._as(geometry); + }, + get$helices: function() { + return this.TransformByHelixGroupPropsMixin_helices; + }, + get$groups: function() { + return this.TransformByHelixGroupPropsMixin_groups; + }, + get$geometry: function(receiver) { + return this.TransformByHelixGroupPropsMixin_geometry; + } + }; + S.__$$DesignMainStrandAndDomainTextsProps_UiProps_DesignMainStrandAndDomainTextsPropsMixin_$DesignMainStrandAndDomainTextsPropsMixin_TransformByHelixGroupPropsMixin_$TransformByHelixGroupPropsMixin.prototype = {}; + R.DesignMainStrandCreatingPropsMixin.prototype = { + set$helices: function(helices) { + this.DesignMainStrandCreatingPropsMixin_helices = type$.legacy_BuiltMap_of_legacy_int_and_legacy_Helix._as(helices); + }, + set$groups: function(groups) { + this.DesignMainStrandCreatingPropsMixin_groups = type$.legacy_BuiltMap_of_legacy_String_and_legacy_HelixGroup._as(groups); + }, + set$geometry: function(_, geometry) { + this.DesignMainStrandCreatingPropsMixin_geometry = type$.legacy_Geometry._as(geometry); + }, + get$helices: function() { + return this.DesignMainStrandCreatingPropsMixin_helices; + }, + get$groups: function() { + return this.DesignMainStrandCreatingPropsMixin_groups; + }, + get$geometry: function(receiver) { + return this.DesignMainStrandCreatingPropsMixin_geometry; + } + }; + R.DesignMainStrandCreatingComponent.prototype = { + render$0: function(_) { + var t3, start_svg, end_svg, t4, t5, t6, t7, _this = this, _null = null, + t1 = _this._design_main_strand_creating$_cachedTypedProps.get$helix(), + t2 = _this._design_main_strand_creating$_cachedTypedProps; + t2 = t2.get$props(t2).$index(0, "DesignMainStrandCreatingPropsMixin.start"); + t2 = H._asIntS(t2 == null ? _null : t2); + t3 = _this._design_main_strand_creating$_cachedTypedProps; + start_svg = t1.svg_base_pos$3(t2, t3.get$forward(t3), _this._design_main_strand_creating$_cachedTypedProps.get$svg_position_y()); + t3 = _this._design_main_strand_creating$_cachedTypedProps.get$helix(); + t2 = _this._design_main_strand_creating$_cachedTypedProps; + t2 = t2.get$props(t2).$index(0, "DesignMainStrandCreatingPropsMixin.end"); + t1 = H._asIntS(t2 == null ? _null : t2); + if (typeof t1 !== "number") + return t1.$sub(); + t2 = _this._design_main_strand_creating$_cachedTypedProps; + end_svg = t3.svg_base_pos$3(t1 - 1, t2.get$forward(t2), _this._design_main_strand_creating$_cachedTypedProps.get$svg_position_y()); + t2 = A.SvgProps$($.$get$g(), _null); + t2.set$className(0, "strand-creating"); + t2.set$transform(0, _this.transform_of_helix$1(_this._design_main_strand_creating$_cachedTypedProps.get$helix().idx)); + t1 = A.SvgProps$($.$get$line(), _null); + t3 = _this._design_main_strand_creating$_cachedTypedProps; + t3 = t3.get$color(t3).toHexColor$0(); + t1.set$stroke(0, "#" + t3.get$rHex() + t3.get$gHex() + t3.get$bHex()); + t1.set$x1(0, H.S(start_svg.x)); + t1.set$y1(0, H.S(start_svg.y)); + t1.set$x2(0, H.S(end_svg.x)); + t1.set$y2(0, H.S(end_svg.y)); + t1.set$key(0, "line"); + t1.set$className(0, "domain-line"); + t1 = t1.call$0(); + t3 = A.lib_5p_end___$End5Prime$closure().call$0(); + t3.set$classname("five-prime-end-first-substrand"); + t4 = _this._design_main_strand_creating$_cachedTypedProps; + t3.set$pos(H.boolConversionCheck(t4.get$forward(t4)) ? start_svg : end_svg); + t5 = _this._design_main_strand_creating$_cachedTypedProps; + t6 = J.getInterceptor$z(t3); + t6.set$color(t3, t5.get$color(t5)); + t5 = _this._design_main_strand_creating$_cachedTypedProps; + t6.set$forward(t3, t5.get$forward(t5)); + t6.set$id(t3, "5p-strand-creating"); + t3 = t3.call$0(); + t6 = B.lib_3p_end___$End3Prime$closure().call$0(); + t6.set$classname("three-prime-end-last-substrand"); + t4 = _this._design_main_strand_creating$_cachedTypedProps; + t6.set$pos(H.boolConversionCheck(t4.get$forward(t4)) ? end_svg : start_svg); + t5 = _this._design_main_strand_creating$_cachedTypedProps; + t7 = J.getInterceptor$z(t6); + t7.set$color(t6, t5.get$color(t5)); + t5 = _this._design_main_strand_creating$_cachedTypedProps; + t7.set$forward(t6, t5.get$forward(t5)); + t7.set$id(t6, "3p-strand-creating"); + return t2.call$3(t1, t3, t6.call$0()); + } + }; + R.$DesignMainStrandCreatingComponentFactory_closure.prototype = { + call$0: function() { + return new R._$DesignMainStrandCreatingComponent(null); + }, + "call*": "call$0", + $requiredArgCount: 0, + $signature: 463 + }; + R._$$DesignMainStrandCreatingProps.prototype = { + get$$$isClassGenerated: function() { + return true; + }, + get$componentFactory: function() { + var t1 = this.componentFactory; + return t1 == null ? $.$get$$DesignMainStrandCreatingComponentFactory() : t1; + } + }; + R._$$DesignMainStrandCreatingProps$PlainMap.prototype = { + get$props: function(_) { + return this._design_main_strand_creating$_props; + } + }; + R._$$DesignMainStrandCreatingProps$JsMap.prototype = { + get$props: function(_) { + return this._design_main_strand_creating$_props; + } + }; + R._$DesignMainStrandCreatingComponent.prototype = { + get$props: function(_) { + return this._design_main_strand_creating$_cachedTypedProps; + }, + set$props: function(_, value) { + this.props = value; + this._design_main_strand_creating$_cachedTypedProps = R._$$DesignMainStrandCreatingProps$JsMap$(R.getBackingMap(value)); + }, + get$displayName: function(_) { + return "DesignMainStrandCreating"; + }, + get$$$defaultConsumedProps: function() { + return C.Map_2e2Vk.get$values(C.Map_2e2Vk); + } + }; + R.$DesignMainStrandCreatingPropsMixin.prototype = { + get$helix: function() { + var t1 = J.$index$asx(this.get$props(this), "DesignMainStrandCreatingPropsMixin.helix"); + if (t1 == null) + t1 = null; + return type$.legacy_Helix._as(t1); + }, + get$forward: function(_) { + var t1 = J.$index$asx(this.get$props(this), string$.DesignMStCef); + return H._asBoolS(t1 == null ? null : t1); + }, + get$color: function(_) { + var t1 = J.$index$asx(this.get$props(this), "DesignMainStrandCreatingPropsMixin.color"); + if (t1 == null) + t1 = null; + return type$.legacy_Color._as(t1); + }, + get$helices: function() { + var t1 = J.$index$asx(this.get$props(this), string$.DesignMStCeh); + if (t1 == null) + t1 = null; + return type$.legacy_BuiltMap_of_legacy_int_and_legacy_Helix._as(t1); + }, + set$helices: function(value) { + type$.legacy_BuiltMap_of_legacy_int_and_legacy_Helix._as(value); + J.$indexSet$ax(this.get$props(this), string$.DesignMStCeh, value); + }, + get$groups: function() { + var t1 = J.$index$asx(this.get$props(this), string$.DesignMStCegr); + if (t1 == null) + t1 = null; + return type$.legacy_BuiltMap_of_legacy_String_and_legacy_HelixGroup._as(t1); + }, + set$groups: function(value) { + type$.legacy_BuiltMap_of_legacy_String_and_legacy_HelixGroup._as(value); + J.$indexSet$ax(this.get$props(this), string$.DesignMStCegr, value); + }, + get$geometry: function(_) { + var t1 = J.$index$asx(this.get$props(this), string$.DesignMStCege); + if (t1 == null) + t1 = null; + return type$.legacy_Geometry._as(t1); + }, + set$geometry: function(_, value) { + J.$indexSet$ax(this.get$props(this), string$.DesignMStCege, value); + }, + get$svg_position_y: function() { + var t1 = J.$index$asx(this.get$props(this), string$.DesignMStCes); + return H._asNumS(t1 == null ? null : t1); + } + }; + R._DesignMainStrandCreatingComponent_UiComponent2_PureComponent.prototype = {}; + R._DesignMainStrandCreatingComponent_UiComponent2_PureComponent_TransformByHelixGroup.prototype = {}; + R.__$$DesignMainStrandCreatingProps_UiProps_DesignMainStrandCreatingPropsMixin.prototype = { + set$helices: function(helices) { + this.DesignMainStrandCreatingPropsMixin_helices = type$.legacy_BuiltMap_of_legacy_int_and_legacy_Helix._as(helices); + }, + set$groups: function(groups) { + this.DesignMainStrandCreatingPropsMixin_groups = type$.legacy_BuiltMap_of_legacy_String_and_legacy_HelixGroup._as(groups); + }, + set$geometry: function(_, geometry) { + this.DesignMainStrandCreatingPropsMixin_geometry = type$.legacy_Geometry._as(geometry); + }, + get$helices: function() { + return this.DesignMainStrandCreatingPropsMixin_helices; + }, + get$groups: function() { + return this.DesignMainStrandCreatingPropsMixin_groups; + }, + get$geometry: function(receiver) { + return this.DesignMainStrandCreatingPropsMixin_geometry; + } + }; + R.__$$DesignMainStrandCreatingProps_UiProps_DesignMainStrandCreatingPropsMixin_$DesignMainStrandCreatingPropsMixin.prototype = {}; + R.__$$DesignMainStrandCreatingProps_UiProps_DesignMainStrandCreatingPropsMixin_$DesignMainStrandCreatingPropsMixin_TransformByHelixGroupPropsMixin.prototype = { + set$helices: function(helices) { + this.TransformByHelixGroupPropsMixin_helices = type$.legacy_BuiltMap_of_legacy_int_and_legacy_Helix._as(helices); + }, + set$groups: function(groups) { + this.TransformByHelixGroupPropsMixin_groups = type$.legacy_BuiltMap_of_legacy_String_and_legacy_HelixGroup._as(groups); + }, + set$geometry: function(_, geometry) { + this.TransformByHelixGroupPropsMixin_geometry = type$.legacy_Geometry._as(geometry); + }, + get$helices: function() { + return this.TransformByHelixGroupPropsMixin_helices; + }, + get$groups: function() { + return this.TransformByHelixGroupPropsMixin_groups; + }, + get$geometry: function(receiver) { + return this.TransformByHelixGroupPropsMixin_geometry; + } + }; + R.__$$DesignMainStrandCreatingProps_UiProps_DesignMainStrandCreatingPropsMixin_$DesignMainStrandCreatingPropsMixin_TransformByHelixGroupPropsMixin_$TransformByHelixGroupPropsMixin.prototype = {}; + Q.DesignMainStrandCrossoverPropsMixin.prototype = { + set$helices: function(helices) { + this.DesignMainStrandCrossoverPropsMixin_helices = type$.legacy_BuiltMap_of_legacy_int_and_legacy_Helix._as(helices); + }, + set$groups: function(groups) { + this.DesignMainStrandCrossoverPropsMixin_groups = type$.legacy_BuiltMap_of_legacy_String_and_legacy_HelixGroup._as(groups); + }, + set$geometry: function(_, geometry) { + this.DesignMainStrandCrossoverPropsMixin_geometry = type$.legacy_Geometry._as(geometry); + }, + get$helices: function() { + return this.DesignMainStrandCrossoverPropsMixin_helices; + }, + get$groups: function() { + return this.DesignMainStrandCrossoverPropsMixin_groups; + }, + get$geometry: function(receiver) { + return this.DesignMainStrandCrossoverPropsMixin_geometry; + } + }; + Q.DesignMainStrandCrossoverState.prototype = {$isMap: 1}; + Q.DesignMainStrandCrossoverComponent.prototype = { + get$initialState: function() { + var t1 = this.typedStateFactoryJs$1(new L.JsBackedMap({})); + t1.set$mouse_hover(false); + return t1; + }, + render$0: function(_) { + var classname, t2, prev_group, within_group, t3, t4, path, t5, t6, t7, t8, t9, prev_helix, next_helix, next_group, start_svg, end_svg, vector_start_to_end, normal_vector, scaled_normal_vector, control, color, id, path_props, _this = this, + strand = _this._design_main_strand_crossover$_cachedTypedProps.get$strand(), + crossover = _this._design_main_strand_crossover$_cachedTypedProps.get$crossover(), + t1 = _this._design_main_strand_crossover$_cachedTypedProps; + t1 = t1.get$props(t1).$index(0, string$.DesignMStCose); + if (H.boolConversionCheck(H._asBoolS(t1 == null ? null : t1))) { + t1 = _this._design_main_strand_crossover$_cachedTypedProps; + t1 = t1.get$props(t1).$index(0, string$.DesignMStCor); + classname = H.boolConversionCheck(H._asBoolS(t1 == null ? null : t1)) ? "crossover-curve selected" : "crossover-curve selected-pink"; + } else + classname = "crossover-curve"; + if (_this._design_main_strand_crossover$_cachedTypedProps.get$strand().is_scaffold) + classname += " scaffold"; + if (_this._design_main_strand_crossover$_cachedTypedProps.get$prev_domain().helix === _this._design_main_strand_crossover$_cachedTypedProps.get$next_domain().helix && _this._design_main_strand_crossover$_cachedTypedProps.get$prev_domain().forward === _this._design_main_strand_crossover$_cachedTypedProps.get$next_domain().forward) + classname += " crossover-curve-same-helix"; + t1 = _this._design_main_strand_crossover$_cachedTypedProps.get$helices(); + t2 = _this._design_main_strand_crossover$_cachedTypedProps.get$prev_domain().helix; + prev_group = J.$index$asx(t1._map$_map, t2).group; + t2 = _this._design_main_strand_crossover$_cachedTypedProps.get$helices(); + t1 = _this._design_main_strand_crossover$_cachedTypedProps.get$next_domain().helix; + within_group = prev_group === J.$index$asx(t2._map$_map, t1).group; + t1 = _this._design_main_strand_crossover$_cachedTypedProps; + if (within_group) { + t1 = t1.get$prev_domain(); + t2 = _this._design_main_strand_crossover$_cachedTypedProps.get$next_domain(); + t3 = _this._design_main_strand_crossover$_cachedTypedProps.get$helices(); + t4 = _this._design_main_strand_crossover$_cachedTypedProps; + path = B.crossover_path_description_within_group(t1, t2, t3, t4.get$geometry(t4), _this._design_main_strand_crossover$_cachedTypedProps.get$prev_domain_helix_svg_position_y(), _this._design_main_strand_crossover$_cachedTypedProps.get$next_domain_helix_svg_position_y()); + } else { + t1 = t1.get$prev_domain(); + t2 = _this._design_main_strand_crossover$_cachedTypedProps.get$next_domain(); + t3 = _this._design_main_strand_crossover$_cachedTypedProps.get$helices(); + t4 = _this._design_main_strand_crossover$_cachedTypedProps; + t4 = t4.get$geometry(t4); + t5 = _this._design_main_strand_crossover$_cachedTypedProps.get$groups(); + t6 = _this._design_main_strand_crossover$_cachedTypedProps.get$prev_domain_helix_svg_position_y(); + t7 = _this._design_main_strand_crossover$_cachedTypedProps.get$next_domain_helix_svg_position_y(); + t8 = t1.helix; + t3 = t3._map$_map; + t9 = J.getInterceptor$asx(t3); + prev_helix = t9.$index(t3, t8); + next_helix = t9.$index(t3, t2.helix); + t3 = prev_helix.group; + t5 = t5._map$_map; + t9 = J.getInterceptor$asx(t5); + prev_group = t9.$index(t5, t3); + next_group = t9.$index(t5, next_helix.group); + start_svg = prev_group.transform_point_main_view$2(prev_helix.svg_base_pos$3(t1.get$offset_3p(), t1.forward, t6), t4); + end_svg = next_group.transform_point_main_view$2(next_helix.svg_base_pos$3(t2.get$offset_5p(), t2.forward, t7), t4); + vector_start_to_end = end_svg.$sub(0, start_svg); + normal_vector = E.rotate(vector_start_to_end, 90, C.Point_0_0); + scaled_normal_vector = normal_vector.$mul(0, 1 / normal_vector.get$magnitude()).$mul(0, vector_start_to_end.get$magnitude()).$mul(0, 0.1); + control = start_svg.$add(0, vector_start_to_end.$mul(0, 0.5)).$add(0, scaled_normal_vector); + path = "M " + H.S(start_svg.x) + " " + H.S(start_svg.y) + " Q " + H.S(control.x) + " " + H.S(control.y) + " " + H.S(end_svg.x) + " " + H.S(end_svg.y); + } + t1 = strand.color.toHexColor$0(); + color = "#" + t1.get$rHex() + t1.get$gHex() + t1.get$bHex(); + id = crossover.get$id(crossover); + path_props = A.SvgProps$($.$get$path(), null); + path_props.set$d(0, path); + path_props.set$stroke(0, color); + path_props.set$className(0, classname); + path_props.set$onMouseEnter(0, new Q.DesignMainStrandCrossoverComponent_render_closure(_this)); + path_props.set$onMouseLeave(0, new Q.DesignMainStrandCrossoverComponent_render_closure0(_this)); + path_props.set$onPointerDown(new Q.DesignMainStrandCrossoverComponent_render_closure1(_this)); + path_props.set$onPointerUp(new Q.DesignMainStrandCrossoverComponent_render_closure2(_this)); + path_props.set$id(0, id); + path_props.set$key(0, id); + if (within_group) + path_props.set$transform(0, _this.transform_of_helix$1(_this._design_main_strand_crossover$_cachedTypedProps.get$prev_domain().helix)); + return path_props.call$0(); + }, + componentDidMount$0: function() { + var t1 = this._design_main_strand_crossover$_cachedTypedProps.get$crossover(); + t1 = "#" + t1.get$id(t1); + J.addEventListener$2$x(document.querySelector(t1), "contextmenu", this.get$on_context_menu()); + this.super$Component2$componentDidMount(); + }, + componentWillUnmount$0: function() { + var t1 = this._design_main_strand_crossover$_cachedTypedProps.get$crossover(); + t1 = "#" + t1.get$id(t1); + J.removeEventListener$2$x(document.querySelector(t1), "contextmenu", this.get$on_context_menu()); + this.super$_UiComponent2_Component2_DisposableManagerProxy$componentWillUnmount(); + }, + on_context_menu$1: function(ev) { + var t1, t2, t3, t4, _null = null; + ev = type$.legacy_MouseEvent._as(type$.legacy_Event._as(ev)); + if (!H.boolConversionCheck(ev.shiftKey)) { + ev.preventDefault(); + ev.stopPropagation(); + t1 = $.app; + this._design_main_strand_crossover$_cachedTypedProps.get$strand(); + t2 = D._BuiltList$of(H.setRuntimeTypeInfo([B.ContextMenuItem_ContextMenuItem(false, _null, this.get$convert_crossover_to_loopout(), "convert to loopout", _null), B.ContextMenuItem_ContextMenuItem(false, _null, this.get$unstrain_backbone_at_crossover(), "unstrain backbone here", _null)], type$.JSArray_legacy_ContextMenuItem), type$.legacy_ContextMenuItem); + t3 = ev.pageX; + t3.toString; + t4 = ev.pageY; + t4.toString; + t1.dispatch$1(U._$ContextMenuShow$_(B._$ContextMenu$_(t2, new P.Point(t3, t4, type$.Point_num)))); + } + }, + unstrain_backbone_at_crossover$0: function() { + var t1, _i, domain, t2, other_domain, anchor, action, + prev_domain = this._design_main_strand_crossover$_cachedTypedProps.get$prev_domain(), + next_domain = this._design_main_strand_crossover$_cachedTypedProps.get$next_domain(), + roll_actions = H.setRuntimeTypeInfo([], type$.JSArray_legacy_UndoableAction); + for (t1 = [prev_domain, next_domain], _i = 0; _i < 2; ++_i) { + domain = t1[_i]; + t2 = J.getInterceptor$(domain); + other_domain = t2.$eq(domain, prev_domain) ? next_domain : prev_domain; + if (t2.$eq(domain, prev_domain)) { + t2 = domain.__offset_3p; + if (t2 == null) { + t2 = G.Domain.prototype.get$offset_3p.call(domain); + domain.__offset_3p = t2; + anchor = t2; + } else + anchor = t2; + } else { + t2 = domain.__offset_5p; + if (t2 == null) { + t2 = G.Domain.prototype.get$offset_5p.call(domain); + domain.__offset_5p = t2; + anchor = t2; + } else + anchor = t2; + } + C.JSArray_methods.add$1(roll_actions, U.HelixRollSetAtOther_HelixRollSetAtOther(domain.helix, other_domain.helix, domain.forward, anchor)); + } + action = U.BatchAction_BatchAction(roll_actions, "unstrain backbone at crossover"); + $.app.dispatch$1(action); + }, + convert_crossover_to_loopout$0: function() { + var $async$goto = 0, + $async$completer = P._makeAsyncAwaitCompleter(type$.dynamic), + $async$returnValue, $async$self = this, t1, selected_crossovers, action, new_length; + var $async$convert_crossover_to_loopout$0 = P._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { + if ($async$errorCode === 1) + return P._asyncRethrow($async$result, $async$completer); + while (true) + switch ($async$goto) { + case 0: + // Function start + $async$goto = 3; + return P._asyncAwait(R.ask_for_length("set loopout length", 1, C.DialogType_set_loopout_length, 1, ""), $async$convert_crossover_to_loopout$0); + case 3: + // returning from await. + new_length = $async$result; + if (new_length == null || new_length === 0) { + // goto return + $async$goto = 1; + break; + } + t1 = $.app.store; + selected_crossovers = t1.get$state(t1).ui_state.selectables_store.get$selected_crossovers(); + t1 = selected_crossovers._set; + t1 = t1.get$length(t1); + if (typeof t1 !== "number") { + $async$returnValue = t1.$gt(); + // goto return + $async$goto = 1; + break; + } + action = t1 > 0 ? U.ConvertCrossoversToLoopouts_ConvertCrossoversToLoopouts(selected_crossovers, new_length) : U.ConvertCrossoverToLoopout_ConvertCrossoverToLoopout($async$self._design_main_strand_crossover$_cachedTypedProps.get$crossover(), new_length, null); + $.app.dispatch$1(action); + case 1: + // return + return P._asyncReturn($async$returnValue, $async$completer); + } + }); + return P._asyncStartSync($async$convert_crossover_to_loopout$0, $async$completer); + } + }; + Q.DesignMainStrandCrossoverComponent_render_closure.prototype = { + call$1: function(ev) { + var t1, t2; + type$.legacy_SyntheticMouseEvent._as(ev); + t1 = this.$this; + t2 = t1.typedStateFactoryJs$1(new L.JsBackedMap({})); + t2.set$mouse_hover(true); + t1.setState$1(0, t2); + }, + $signature: 17 + }; + Q.DesignMainStrandCrossoverComponent_render_closure0.prototype = { + call$1: function(_) { + var t1, t2; + type$.legacy_SyntheticMouseEvent._as(_); + t1 = this.$this; + t2 = t1.typedStateFactoryJs$1(new L.JsBackedMap({})); + t2.set$mouse_hover(false); + t1.setState$1(0, t2); + }, + $signature: 17 + }; + Q.DesignMainStrandCrossoverComponent_render_closure1.prototype = { + call$1: function(ev) { + var t1, t2, t3; + type$.legacy_SyntheticPointerEvent._as(ev); + t1 = this.$this; + t2 = t1._design_main_strand_crossover$_cachedTypedProps.get$crossover(); + t3 = $.app.store; + if (!t3.get$state(t3).ui_state.storables.edit_modes._set.contains$1(0, C.EditModeChoice_select)) { + t3 = $.app.store; + t3 = t3.get$state(t3).ui_state.storables.edit_modes._set.contains$1(0, C.EditModeChoice_rope_select); + } else + t3 = true; + if (t3) { + t3 = $.app.store; + t2 = t3.get$state(t3).ui_state.storables.select_mode_state.modes._set.contains$1(0, C.SelectModeChoice_crossover) && E.origami_type_selectable(t2); + } else + t2 = false; + if (t2) + t1._design_main_strand_crossover$_cachedTypedProps.get$crossover().handle_selection_mouse_down$1(type$.legacy_MouseEvent._as(J.get$nativeEvent$x(ev))); + }, + $signature: 18 + }; + Q.DesignMainStrandCrossoverComponent_render_closure2.prototype = { + call$1: function(ev) { + var t1, t2, t3; + type$.legacy_SyntheticPointerEvent._as(ev); + t1 = this.$this; + t2 = t1._design_main_strand_crossover$_cachedTypedProps.get$crossover(); + t3 = $.app.store; + if (!t3.get$state(t3).ui_state.storables.edit_modes._set.contains$1(0, C.EditModeChoice_select)) { + t3 = $.app.store; + t3 = t3.get$state(t3).ui_state.storables.edit_modes._set.contains$1(0, C.EditModeChoice_rope_select); + } else + t3 = true; + if (t3) { + t3 = $.app.store; + t2 = t3.get$state(t3).ui_state.storables.select_mode_state.modes._set.contains$1(0, C.SelectModeChoice_crossover) && E.origami_type_selectable(t2); + } else + t2 = false; + if (t2) + t1._design_main_strand_crossover$_cachedTypedProps.get$crossover().handle_selection_mouse_up$1(type$.legacy_MouseEvent._as(J.get$nativeEvent$x(ev))); + }, + $signature: 18 + }; + Q.$DesignMainStrandCrossoverComponentFactory_closure.prototype = { + call$0: function() { + return new Q._$DesignMainStrandCrossoverComponent(null); + }, + "call*": "call$0", + $requiredArgCount: 0, + $signature: 464 + }; + Q._$$DesignMainStrandCrossoverProps.prototype = { + get$$$isClassGenerated: function() { + return true; + }, + get$componentFactory: function() { + var t1 = this.componentFactory; + return t1 == null ? $.$get$$DesignMainStrandCrossoverComponentFactory() : t1; + } + }; + Q._$$DesignMainStrandCrossoverProps$PlainMap.prototype = { + get$props: function(_) { + return this._design_main_strand_crossover$_props; + } + }; + Q._$$DesignMainStrandCrossoverProps$JsMap.prototype = { + get$props: function(_) { + return this._design_main_strand_crossover$_props; + } + }; + Q._$$DesignMainStrandCrossoverState.prototype = { + get$$$isClassGenerated: function() { + return true; + } + }; + Q._$$DesignMainStrandCrossoverState$JsMap.prototype = { + get$state: function(_) { + return this._design_main_strand_crossover$_state; + } + }; + Q._$DesignMainStrandCrossoverComponent.prototype = { + get$props: function(_) { + return this._design_main_strand_crossover$_cachedTypedProps; + }, + set$props: function(_, value) { + this.props = value; + this._design_main_strand_crossover$_cachedTypedProps = Q._$$DesignMainStrandCrossoverProps$JsMap$(R.getBackingMap(value)); + }, + get$state: function(_) { + return this._design_main_strand_crossover$_cachedTypedState; + }, + set$state: function(_, value) { + this.state = value; + this._design_main_strand_crossover$_cachedTypedState = Q._$$DesignMainStrandCrossoverState$JsMap$(value); + }, + typedStateFactoryJs$1: function(backingMap) { + var t1 = new Q._$$DesignMainStrandCrossoverState$JsMap(new L.JsBackedMap({}), null); + t1.get$$$isClassGenerated(); + t1._design_main_strand_crossover$_state = backingMap; + return t1; + }, + get$displayName: function(_) { + return "DesignMainStrandCrossover"; + }, + get$$$defaultConsumedProps: function() { + return C.Map_g8IUw.get$values(C.Map_g8IUw); + } + }; + Q.$DesignMainStrandCrossoverPropsMixin.prototype = { + get$crossover: function() { + var t1 = J.$index$asx(this.get$props(this), string$.DesignMStCoc); + if (t1 == null) + t1 = null; + return type$.legacy_Crossover._as(t1); + }, + get$strand: function() { + var t1 = J.$index$asx(this.get$props(this), string$.DesignMStCost); + if (t1 == null) + t1 = null; + return type$.legacy_Strand._as(t1); + }, + get$prev_domain: function() { + var t1 = J.$index$asx(this.get$props(this), string$.DesignMStCop); + if (t1 == null) + t1 = null; + return type$.legacy_Domain._as(t1); + }, + get$next_domain: function() { + var t1 = J.$index$asx(this.get$props(this), string$.DesignMStCon); + if (t1 == null) + t1 = null; + return type$.legacy_Domain._as(t1); + }, + get$helices: function() { + var t1 = J.$index$asx(this.get$props(this), string$.DesignMStCoh); + if (t1 == null) + t1 = null; + return type$.legacy_BuiltMap_of_legacy_int_and_legacy_Helix._as(t1); + }, + set$helices: function(value) { + type$.legacy_BuiltMap_of_legacy_int_and_legacy_Helix._as(value); + J.$indexSet$ax(this.get$props(this), string$.DesignMStCoh, value); + }, + get$groups: function() { + var t1 = J.$index$asx(this.get$props(this), string$.DesignMStCogr); + if (t1 == null) + t1 = null; + return type$.legacy_BuiltMap_of_legacy_String_and_legacy_HelixGroup._as(t1); + }, + set$groups: function(value) { + type$.legacy_BuiltMap_of_legacy_String_and_legacy_HelixGroup._as(value); + J.$indexSet$ax(this.get$props(this), string$.DesignMStCogr, value); + }, + get$geometry: function(_) { + var t1 = J.$index$asx(this.get$props(this), string$.DesignMStCoge); + if (t1 == null) + t1 = null; + return type$.legacy_Geometry._as(t1); + }, + set$geometry: function(_, value) { + J.$indexSet$ax(this.get$props(this), string$.DesignMStCoge, value); + }, + get$prev_domain_helix_svg_position_y: function() { + var t1 = J.$index$asx(this.get$props(this), string$.DesignMStCop_); + return H._asNumS(t1 == null ? null : t1); + }, + get$next_domain_helix_svg_position_y: function() { + var t1 = J.$index$asx(this.get$props(this), string$.DesignMStCon_); + return H._asNumS(t1 == null ? null : t1); + } + }; + Q.$DesignMainStrandCrossoverState.prototype = { + set$mouse_hover: function(value) { + this._design_main_strand_crossover$_state.jsObject["DesignMainStrandCrossoverState.mouse_hover"] = F.DartValueWrapper_wrapIfNeeded(value); + } + }; + Q._DesignMainStrandCrossoverComponent_UiStatefulComponent2_PureComponent.prototype = {}; + Q._DesignMainStrandCrossoverComponent_UiStatefulComponent2_PureComponent_TransformByHelixGroup.prototype = {}; + Q.__$$DesignMainStrandCrossoverProps_UiProps_DesignMainStrandCrossoverPropsMixin.prototype = { + set$helices: function(helices) { + this.DesignMainStrandCrossoverPropsMixin_helices = type$.legacy_BuiltMap_of_legacy_int_and_legacy_Helix._as(helices); + }, + set$groups: function(groups) { + this.DesignMainStrandCrossoverPropsMixin_groups = type$.legacy_BuiltMap_of_legacy_String_and_legacy_HelixGroup._as(groups); + }, + set$geometry: function(_, geometry) { + this.DesignMainStrandCrossoverPropsMixin_geometry = type$.legacy_Geometry._as(geometry); + }, + get$helices: function() { + return this.DesignMainStrandCrossoverPropsMixin_helices; + }, + get$groups: function() { + return this.DesignMainStrandCrossoverPropsMixin_groups; + }, + get$geometry: function(receiver) { + return this.DesignMainStrandCrossoverPropsMixin_geometry; + } + }; + Q.__$$DesignMainStrandCrossoverProps_UiProps_DesignMainStrandCrossoverPropsMixin_$DesignMainStrandCrossoverPropsMixin.prototype = {}; + Q.__$$DesignMainStrandCrossoverProps_UiProps_DesignMainStrandCrossoverPropsMixin_$DesignMainStrandCrossoverPropsMixin_TransformByHelixGroupPropsMixin.prototype = { + set$helices: function(helices) { + this.TransformByHelixGroupPropsMixin_helices = type$.legacy_BuiltMap_of_legacy_int_and_legacy_Helix._as(helices); + }, + set$groups: function(groups) { + this.TransformByHelixGroupPropsMixin_groups = type$.legacy_BuiltMap_of_legacy_String_and_legacy_HelixGroup._as(groups); + }, + set$geometry: function(_, geometry) { + this.TransformByHelixGroupPropsMixin_geometry = type$.legacy_Geometry._as(geometry); + }, + get$helices: function() { + return this.TransformByHelixGroupPropsMixin_helices; + }, + get$groups: function() { + return this.TransformByHelixGroupPropsMixin_groups; + }, + get$geometry: function(receiver) { + return this.TransformByHelixGroupPropsMixin_geometry; + } + }; + Q.__$$DesignMainStrandCrossoverProps_UiProps_DesignMainStrandCrossoverPropsMixin_$DesignMainStrandCrossoverPropsMixin_TransformByHelixGroupPropsMixin_$TransformByHelixGroupPropsMixin.prototype = {}; + Q.__$$DesignMainStrandCrossoverState_UiState_DesignMainStrandCrossoverState.prototype = {}; + Q.__$$DesignMainStrandCrossoverState_UiState_DesignMainStrandCrossoverState_$DesignMainStrandCrossoverState.prototype = {}; + A.DesignMainStrandDeletionPropsMixin.prototype = {}; + A.DesignMainStrandDeletionComponent.prototype = { + render$0: function(_) { + var pos, width, half_width, t4, path_cmds, background_width, background_height, classname, key, key_background, _this = this, _null = null, + geometry = _this._design_main_strand_deletion$_cachedTypedProps.get$helix().geometry, + domain = _this._design_main_strand_deletion$_cachedTypedProps.get$selectable_deletion().domain, + deletion_offset = _this._design_main_strand_deletion$_cachedTypedProps.get$selectable_deletion().offset, + t1 = _this._design_main_strand_deletion$_cachedTypedProps.get$helix(), + t2 = domain.forward, + t3 = _this._design_main_strand_deletion$_cachedTypedProps; + t3 = t3.get$props(t3).$index(0, string$.DesignMStDesv); + pos = t1.svg_base_pos$3(deletion_offset, t2, H._asNumS(t3 == null ? _null : t3)); + width = 0.8 * geometry.get$base_width_svg(); + half_width = 0.5 * width; + t1 = pos.x; + if (typeof t1 !== "number") + return t1.$sub(); + t2 = "M " + H.S(t1 - half_width) + " "; + t3 = pos.y; + if (typeof t3 !== "number") + return t3.$sub(); + t4 = -width; + path_cmds = t2 + H.S(t3 - half_width) + " l " + H.S(width) + " " + H.S(width) + " m " + H.S(t4) + " 0 l " + H.S(width) + " " + H.S(t4); + background_width = geometry.get$base_width_svg(); + background_height = geometry.get$base_height_svg(); + t2 = _this._design_main_strand_deletion$_cachedTypedProps; + t2 = t2.get$props(t2).$index(0, string$.DesignMStDesee); + if (H.boolConversionCheck(H._asBoolS(t2 == null ? _null : t2))) { + t2 = _this._design_main_strand_deletion$_cachedTypedProps; + t2 = t2.get$props(t2).$index(0, string$.DesignMStDer); + classname = H.boolConversionCheck(H._asBoolS(t2 == null ? _null : t2)) ? "deletion-group selected" : "deletion-group selected-pink"; + } else + classname = "deletion-group"; + if (_this._design_main_strand_deletion$_cachedTypedProps.get$selectable_deletion().is_scaffold) + classname += " scaffold"; + t2 = domain.helix; + key = "deletion-H" + t2 + "-" + H.S(deletion_offset); + key_background = "deletion-background-H" + t2 + "-" + H.S(deletion_offset); + t2 = A.SvgProps$($.$get$g(), _null); + t2.set$className(0, classname); + t2.set$onPointerDown(new A.DesignMainStrandDeletionComponent_render_closure(_this)); + t2.set$onPointerUp(new A.DesignMainStrandDeletionComponent_render_closure0(_this)); + t4 = _this._design_main_strand_deletion$_cachedTypedProps; + t4 = t4.get$props(t4).$index(0, string$.DesignMStDet); + t2.set$transform(0, H._asStringS(t4 == null ? _null : t4)); + t4 = A.SvgProps$($.$get$rect(), _null); + t4.set$className(0, "deletion-background"); + t4.set$x(0, t1 - background_width / 2); + t4.set$y(0, t3 - background_height / 2); + t4.set$width(0, background_width); + t4.set$height(0, background_height); + t4.set$onClick(0, new A.DesignMainStrandDeletionComponent_render_closure1(_this)); + t4.set$key(0, key_background); + t4 = t4.call$0(); + t3 = A.SvgProps$($.$get$path(), _null); + t3.set$className(0, "deletion-cross"); + t3.set$fill(0, "none"); + t3.set$d(0, path_cmds); + t3.set$onClick(0, new A.DesignMainStrandDeletionComponent_render_closure2(_this)); + t1 = _this._design_main_strand_deletion$_cachedTypedProps.get$selectable_deletion(); + t3.set$id(0, t1.get$id(t1)); + t3.set$key(0, key); + return t2.call$2(t4, t3.call$0()); + } + }; + A.DesignMainStrandDeletionComponent_render_closure.prototype = { + call$1: function(ev) { + var t1, t2, t3; + type$.legacy_SyntheticPointerEvent._as(ev); + t1 = this.$this; + t2 = t1._design_main_strand_deletion$_cachedTypedProps.get$selectable_deletion(); + t3 = $.app.store; + if (!t3.get$state(t3).ui_state.storables.edit_modes._set.contains$1(0, C.EditModeChoice_select)) { + t3 = $.app.store; + t3 = t3.get$state(t3).ui_state.storables.edit_modes._set.contains$1(0, C.EditModeChoice_rope_select); + } else + t3 = true; + if (t3) { + t3 = $.app.store; + t2 = t3.get$state(t3).ui_state.storables.select_mode_state.modes._set.contains$1(0, C.SelectModeChoice_deletion) && E.origami_type_selectable(t2); + } else + t2 = false; + if (t2) + t1._design_main_strand_deletion$_cachedTypedProps.get$selectable_deletion().handle_selection_mouse_down$1(type$.legacy_MouseEvent._as(J.get$nativeEvent$x(ev))); + }, + $signature: 18 + }; + A.DesignMainStrandDeletionComponent_render_closure0.prototype = { + call$1: function(ev) { + var t1, t2, t3; + type$.legacy_SyntheticPointerEvent._as(ev); + t1 = this.$this; + t2 = t1._design_main_strand_deletion$_cachedTypedProps.get$selectable_deletion(); + t3 = $.app.store; + if (!t3.get$state(t3).ui_state.storables.edit_modes._set.contains$1(0, C.EditModeChoice_select)) { + t3 = $.app.store; + t3 = t3.get$state(t3).ui_state.storables.edit_modes._set.contains$1(0, C.EditModeChoice_rope_select); + } else + t3 = true; + if (t3) { + t3 = $.app.store; + t2 = t3.get$state(t3).ui_state.storables.select_mode_state.modes._set.contains$1(0, C.SelectModeChoice_deletion) && E.origami_type_selectable(t2); + } else + t2 = false; + if (t2) + t1._design_main_strand_deletion$_cachedTypedProps.get$selectable_deletion().handle_selection_mouse_up$1(type$.legacy_MouseEvent._as(J.get$nativeEvent$x(ev))); + }, + $signature: 18 + }; + A.DesignMainStrandDeletionComponent_render_closure1.prototype = { + call$1: function(_) { + var t1; + type$.legacy_SyntheticMouseEvent._as(_); + t1 = $.app.store; + if (t1.get$state(t1).ui_state.storables.edit_modes._set.contains$1(0, C.EditModeChoice_deletion)) { + t1 = this.$this; + $.app.dispatch$1(U.DeletionRemove_DeletionRemove(t1._design_main_strand_deletion$_cachedTypedProps.get$selectable_deletion().domain, t1._design_main_strand_deletion$_cachedTypedProps.get$selectable_deletion().offset)); + } + }, + $signature: 17 + }; + A.DesignMainStrandDeletionComponent_render_closure2.prototype = { + call$1: function(_) { + var t1; + type$.legacy_SyntheticMouseEvent._as(_); + t1 = $.app.store; + if (t1.get$state(t1).ui_state.storables.edit_modes._set.contains$1(0, C.EditModeChoice_deletion)) { + t1 = this.$this; + $.app.dispatch$1(U.DeletionRemove_DeletionRemove(t1._design_main_strand_deletion$_cachedTypedProps.get$selectable_deletion().domain, t1._design_main_strand_deletion$_cachedTypedProps.get$selectable_deletion().offset)); + } + }, + $signature: 17 + }; + A.$DesignMainStrandDeletionComponentFactory_closure.prototype = { + call$0: function() { + return new A._$DesignMainStrandDeletionComponent(null); + }, + "call*": "call$0", + $requiredArgCount: 0, + $signature: 465 + }; + A._$$DesignMainStrandDeletionProps.prototype = { + get$$$isClassGenerated: function() { + return true; + }, + get$componentFactory: function() { + var t1 = this.componentFactory; + return t1 == null ? $.$get$$DesignMainStrandDeletionComponentFactory() : t1; + } + }; + A._$$DesignMainStrandDeletionProps$PlainMap.prototype = { + get$props: function(_) { + return this._design_main_strand_deletion$_props; + } + }; + A._$$DesignMainStrandDeletionProps$JsMap.prototype = { + get$props: function(_) { + return this._design_main_strand_deletion$_props; + } + }; + A._$DesignMainStrandDeletionComponent.prototype = { + get$props: function(_) { + return this._design_main_strand_deletion$_cachedTypedProps; + }, + set$props: function(_, value) { + this.props = value; + this._design_main_strand_deletion$_cachedTypedProps = A._$$DesignMainStrandDeletionProps$JsMap$(R.getBackingMap(value)); + }, + get$displayName: function(_) { + return "DesignMainStrandDeletion"; + }, + get$$$defaultConsumedProps: function() { + return C.Map_AsCdv.get$values(C.Map_AsCdv); + } + }; + A.$DesignMainStrandDeletionPropsMixin.prototype = { + get$selectable_deletion: function() { + var t1 = J.$index$asx(this.get$props(this), string$.DesignMStDesea); + if (t1 == null) + t1 = null; + return type$.legacy_SelectableDeletion._as(t1); + }, + get$helix: function() { + var t1 = J.$index$asx(this.get$props(this), "DesignMainStrandDeletionPropsMixin.helix"); + if (t1 == null) + t1 = null; + return type$.legacy_Helix._as(t1); + } + }; + A._DesignMainStrandDeletionComponent_UiComponent2_PureComponent.prototype = {}; + A.__$$DesignMainStrandDeletionProps_UiProps_DesignMainStrandDeletionPropsMixin.prototype = {}; + A.__$$DesignMainStrandDeletionProps_UiProps_DesignMainStrandDeletionPropsMixin_$DesignMainStrandDeletionPropsMixin.prototype = {}; + S.DesignMainDNAEndPropsMixin.prototype = { + get$geometry: function(receiver) { + return this.DesignMainDNAEndPropsMixin_geometry; + } + }; + S.DesignMainDNAEndComponent.prototype = { + get$dna_end: function() { + var t2, _this = this, + t1 = _this._design_main_strand_dna_end$_cachedTypedProps; + if (t1.get$domain(t1) != null) { + t1 = H.boolConversionCheck(_this._design_main_strand_dna_end$_cachedTypedProps.get$is_5p()); + t2 = _this._design_main_strand_dna_end$_cachedTypedProps; + if (t1) { + t1 = t2.get$domain(t2); + t1 = t1.forward ? t1.get$dnaend_start() : t1.get$dnaend_end(); + } else { + t1 = t2.get$domain(t2); + t1 = t1.forward ? t1.get$dnaend_end() : t1.get$dnaend_start(); + } + } else + t1 = _this._design_main_strand_dna_end$_cachedTypedProps.get$ext().get$dnaend_free(); + return t1; + }, + get$is_first: function() { + var _this = this, + t1 = _this._design_main_strand_dna_end$_cachedTypedProps; + if (t1.get$domain(t1) != null) { + t1 = _this._design_main_strand_dna_end$_cachedTypedProps; + t1 = t1.get$domain(t1).is_first && H.boolConversionCheck(_this._design_main_strand_dna_end$_cachedTypedProps.get$is_5p()); + } else + t1 = _this._design_main_strand_dna_end$_cachedTypedProps.get$is_5p(); + return t1; + }, + get$is_last: function() { + var _this = this, + t1 = _this._design_main_strand_dna_end$_cachedTypedProps; + if (t1.get$domain(t1) != null) { + t1 = _this._design_main_strand_dna_end$_cachedTypedProps; + t1 = t1.get$domain(t1).is_last && !H.boolConversionCheck(_this._design_main_strand_dna_end$_cachedTypedProps.get$is_5p()); + } else + t1 = !H.boolConversionCheck(_this._design_main_strand_dna_end$_cachedTypedProps.get$is_5p()); + return t1; + }, + render$0: function(_) { + var classname, t1, end_props, end_moving_props, extension_end_moving_props, color, t2, $forward, dna_end, offset, pos, extension_attached_end_svg, rotation_degrees, t3, _this = this, _null = null; + if (H.boolConversionCheck(_this._design_main_strand_dna_end$_cachedTypedProps.get$is_5p())) + classname = H.boolConversionCheck(_this.get$is_first()) && H.boolConversionCheck(_this._design_main_strand_dna_end$_cachedTypedProps.get$is_5p()) ? "five-prime-end-first-substrand" : "five-prime-end"; + else + classname = _this.get$is_last() && !H.boolConversionCheck(_this._design_main_strand_dna_end$_cachedTypedProps.get$is_5p()) ? "three-prime-end-last-substrand" : "three-prime-end"; + t1 = _this._design_main_strand_dna_end$_cachedTypedProps; + t1 = t1.get$props(t1).$index(0, "DesignMainDNAEndPropsMixin.selected"); + if (H.boolConversionCheck(H._asBoolS(t1 == null ? _null : t1))) { + t1 = _this._design_main_strand_dna_end$_cachedTypedProps; + t1 = t1.get$props(t1).$index(0, string$.DesignMDNEr); + classname = H.boolConversionCheck(H._asBoolS(t1 == null ? _null : t1)) ? classname + " selected" : classname + " selected-pink"; + } + t1 = _this._design_main_strand_dna_end$_cachedTypedProps; + t1 = t1.get$props(t1).$index(0, "DesignMainDNAEndPropsMixin.is_scaffold"); + if (H.boolConversionCheck(H._asBoolS(t1 == null ? _null : t1))) + classname += " scaffold"; + end_props = H.boolConversionCheck(_this._design_main_strand_dna_end$_cachedTypedProps.get$is_5p()) ? A.lib_5p_end___$End5Prime$closure().call$0() : B.lib_3p_end___$End3Prime$closure().call$0(); + end_moving_props = $.$get$ConnectedEndMoving().call$0(); + extension_end_moving_props = $.$get$ConnectedExtensionEndMoving().call$0(); + color = _this._design_main_strand_dna_end$_cachedTypedProps.get$strand_color(); + t1 = H.boolConversionCheck(_this._design_main_strand_dna_end$_cachedTypedProps.get$is_on_extension()); + t2 = _this._design_main_strand_dna_end$_cachedTypedProps; + if (!t1) { + $forward = t2.get$domain(t2).forward; + t1 = H.boolConversionCheck(_this._design_main_strand_dna_end$_cachedTypedProps.get$is_5p()); + t2 = _this._design_main_strand_dna_end$_cachedTypedProps; + if (t1) { + t1 = t2.get$domain(t2); + dna_end = t1.forward ? t1.get$dnaend_start() : t1.get$dnaend_end(); + } else { + t1 = t2.get$domain(t2); + dna_end = t1.forward ? t1.get$dnaend_end() : t1.get$dnaend_start(); + } + t1 = H.boolConversionCheck(_this._design_main_strand_dna_end$_cachedTypedProps.get$is_5p()); + t2 = _this._design_main_strand_dna_end$_cachedTypedProps; + offset = t1 ? t2.get$domain(t2).get$offset_5p() : t2.get$domain(t2).get$offset_3p(); + t1 = _this._design_main_strand_dna_end$_cachedTypedProps.get$helix(); + t2 = _this._design_main_strand_dna_end$_cachedTypedProps; + pos = t1.svg_base_pos$3(offset, t2.get$domain(t2).forward, _this._design_main_strand_dna_end$_cachedTypedProps.get$helix_svg_position().y); + t1 = _this._design_main_strand_dna_end$_cachedTypedProps; + if (t1.get$domain(t1).color != null) { + t1 = _this._design_main_strand_dna_end$_cachedTypedProps; + color = t1.get$domain(t1).color; + } + extension_attached_end_svg = _null; + rotation_degrees = 0; + } else { + $forward = t2.get$ext().adjacent_domain.forward; + dna_end = _this._design_main_strand_dna_end$_cachedTypedProps.get$ext().get$dnaend_free(); + extension_attached_end_svg = E.compute_extension_attached_end_svg(_this._design_main_strand_dna_end$_cachedTypedProps.get$ext(), _this._design_main_strand_dna_end$_cachedTypedProps.get$ext().adjacent_domain, _this._design_main_strand_dna_end$_cachedTypedProps.get$helix(), _this._design_main_strand_dna_end$_cachedTypedProps.get$helix_svg_position().y); + t1 = _this._design_main_strand_dna_end$_cachedTypedProps.get$ext(); + t2 = _this._design_main_strand_dna_end$_cachedTypedProps.get$ext().adjacent_domain; + t3 = _this._design_main_strand_dna_end$_cachedTypedProps; + pos = E.compute_extension_free_end_svg(extension_attached_end_svg, t1, t2, t3.get$geometry(t3)); + t3 = _this._design_main_strand_dna_end$_cachedTypedProps.get$ext(); + rotation_degrees = E.compute_end_rotation(t3.display_angle, t3.adjacent_domain.forward, t3.is_5p); + if (_this._design_main_strand_dna_end$_cachedTypedProps.get$ext().color != null) + color = _this._design_main_strand_dna_end$_cachedTypedProps.get$ext().color; + } + end_props.set$on_pointer_down(_this.get$handle_end_click_select_and_or_move_start()); + end_props.set$on_pointer_up(_this.get$handle_end_pointer_up_select()); + end_props.set$on_mouse_up(_this.get$handle_end_click_ligate_or_potential_crossover()); + end_props.set$on_mouse_enter(_this.get$handle_on_mouse_enter()); + end_props.set$on_mouse_leave(_this.get$handle_on_mouse_leave()); + end_props.set$on_mouse_move(_this.get$handle_on_mouse_move()); + end_props.set$pos(pos); + end_props.set$color(0, color); + end_props.set$classname(classname); + end_props.set$forward(0, $forward); + end_props.set$transform(0, "rotate(" + H.S(rotation_degrees) + ")"); + end_props.set$id(0, dna_end.get$id(dna_end)); + end_props.set$key(0, "nonmoving-end"); + end_moving_props.set$dna_end(dna_end); + end_moving_props.set$helix(_this._design_main_strand_dna_end$_cachedTypedProps.get$helix()); + end_moving_props.set$color(0, color); + end_moving_props.set$forward(0, $forward); + end_moving_props.set$is_5p(_this._design_main_strand_dna_end$_cachedTypedProps.get$is_5p()); + t1 = "rotate(" + H.S(rotation_degrees) + ")"; + J.$indexSet$ax(end_moving_props.get$props(end_moving_props), "EndMovingProps.transform", t1); + end_moving_props.set$svg_position_y(_this._design_main_strand_dna_end$_cachedTypedProps.get$helix_svg_position().y); + end_moving_props.set$key(0, "moving-end"); + J.$indexSet$ax(extension_end_moving_props.get$props(extension_end_moving_props), "ExtensionEndMovingProps.dna_end", dna_end); + t1 = _this._design_main_strand_dna_end$_cachedTypedProps.get$ext(); + J.$indexSet$ax(extension_end_moving_props.get$props(extension_end_moving_props), "ExtensionEndMovingProps.ext", t1); + t1 = _this._design_main_strand_dna_end$_cachedTypedProps; + t1 = t1.get$geometry(t1); + J.$indexSet$ax(extension_end_moving_props.get$props(extension_end_moving_props), "ExtensionEndMovingProps.geometry", t1); + type$.legacy_Point_legacy_num._as(extension_attached_end_svg); + J.$indexSet$ax(extension_end_moving_props.get$props(extension_end_moving_props), "ExtensionEndMovingProps.attached_end_svg", extension_attached_end_svg); + t1 = _this._design_main_strand_dna_end$_cachedTypedProps.get$helix(); + J.$indexSet$ax(extension_end_moving_props.get$props(extension_end_moving_props), "ExtensionEndMovingProps.helix", t1); + t1 = _this._design_main_strand_dna_end$_cachedTypedProps.get$group(); + J.$indexSet$ax(extension_end_moving_props.get$props(extension_end_moving_props), "ExtensionEndMovingProps.group", t1); + J.$indexSet$ax(extension_end_moving_props.get$props(extension_end_moving_props), "ExtensionEndMovingProps.color", color); + J.$indexSet$ax(extension_end_moving_props.get$props(extension_end_moving_props), "ExtensionEndMovingProps.forward", $forward); + t1 = _this._design_main_strand_dna_end$_cachedTypedProps.get$is_5p(); + J.$indexSet$ax(extension_end_moving_props.get$props(extension_end_moving_props), "ExtensionEndMovingProps.is_5p", t1); + extension_end_moving_props.set$key(0, "moving-extension"); + t1 = A.SvgProps$($.$get$g(), _null); + t1.set$className(0, "dna-ends"); + t2 = _this._design_main_strand_dna_end$_cachedTypedProps; + t2 = t2.get$props(t2).$index(0, "DesignMainDNAEndPropsMixin.transform"); + t1.set$transform(0, H._asStringS(t2 == null ? _null : t2)); + return t1.call$3(end_props.call$0(), end_moving_props.call$0(), extension_end_moving_props.call$0()); + }, + componentDidMount$0: function() { + var t1, t2, id, _this = this; + if (H.boolConversionCheck(_this._design_main_strand_dna_end$_cachedTypedProps.get$is_5p())) { + t1 = _this._design_main_strand_dna_end$_cachedTypedProps; + t1 = t1.get$domain(t1); + t2 = _this._design_main_strand_dna_end$_cachedTypedProps; + if (t1 != null) { + t1 = t2.get$domain(t2); + t1 = t1.forward ? t1.get$dnaend_start() : t1.get$dnaend_end(); + id = t1.get$id(t1); + } else { + t1 = t2.get$ext().get$dnaend_free(); + id = t1.get$id(t1); + } + } else { + t1 = _this._design_main_strand_dna_end$_cachedTypedProps; + t1 = t1.get$domain(t1); + t2 = _this._design_main_strand_dna_end$_cachedTypedProps; + if (t1 != null) { + t1 = t2.get$domain(t2); + t1 = t1.forward ? t1.get$dnaend_end() : t1.get$dnaend_start(); + id = t1.get$id(t1); + } else { + t1 = t2.get$ext().get$dnaend_free(); + id = t1.get$id(t1); + } + } + t1 = "#" + id; + J.addEventListener$2$x(document.querySelector(t1), "contextmenu", _this.get$on_context_menu()); + }, + componentWillUnmount$0: function() { + var t1, t2, id, _this = this; + if (H.boolConversionCheck(_this._design_main_strand_dna_end$_cachedTypedProps.get$is_5p())) { + t1 = _this._design_main_strand_dna_end$_cachedTypedProps; + t1 = t1.get$domain(t1); + t2 = _this._design_main_strand_dna_end$_cachedTypedProps; + if (t1 != null) { + t1 = t2.get$domain(t2); + t1 = t1.forward ? t1.get$dnaend_start() : t1.get$dnaend_end(); + id = t1.get$id(t1); + } else { + t1 = t2.get$ext().get$dnaend_free(); + id = t1.get$id(t1); + } + } else { + t1 = _this._design_main_strand_dna_end$_cachedTypedProps; + t1 = t1.get$domain(t1); + t2 = _this._design_main_strand_dna_end$_cachedTypedProps; + if (t1 != null) { + t1 = t2.get$domain(t2); + t1 = t1.forward ? t1.get$dnaend_end() : t1.get$dnaend_start(); + id = t1.get$id(t1); + } else { + t1 = t2.get$ext().get$dnaend_free(); + id = t1.get$id(t1); + } + } + t1 = "#" + id; + J.removeEventListener$2$x(document.querySelector(t1), "contextmenu", _this.get$on_context_menu()); + _this.super$_UiComponent2_Component2_DisposableManagerProxy$componentWillUnmount(); + }, + on_context_menu$1: function(ev) { + var t1, t2, address, t3, t4, _this = this; + ev = type$.legacy_MouseEvent._as(type$.legacy_Event._as(ev)); + if (!H.boolConversionCheck(ev.shiftKey)) { + ev.preventDefault(); + ev.stopPropagation(); + t1 = _this._design_main_strand_dna_end$_cachedTypedProps; + if (t1.get$domain(t1) != null) { + t1 = H.boolConversionCheck(_this._design_main_strand_dna_end$_cachedTypedProps.get$is_5p()); + t2 = _this._design_main_strand_dna_end$_cachedTypedProps; + address = t1 ? t2.get$domain(t2).get$address_5p() : t2.get$domain(t2).get$address_3p(); + } else + address = null; + t1 = $.app; + t2 = _this._design_main_strand_dna_end$_cachedTypedProps; + t3 = t2.get$strand(); + t4 = _this._design_main_strand_dna_end$_cachedTypedProps; + t4 = t4.get$domain(t4); + if (t4 == null) + t4 = _this._design_main_strand_dna_end$_cachedTypedProps.get$ext(); + t2 = D._BuiltList$of(t2.context_menu_strand$4$address$substrand$type(t3, address, t4, H.boolConversionCheck(_this._design_main_strand_dna_end$_cachedTypedProps.get$is_5p()) ? C.ModificationType_five_prime : C.ModificationType_three_prime), type$.legacy_ContextMenuItem); + t3 = ev.pageX; + t3.toString; + t4 = ev.pageY; + t4.toString; + t1.dispatch$1(U._$ContextMenuShow$_(B._$ContextMenu$_(t2, new P.Point(t3, t4, type$.Point_num)))); + } + }, + handle_end_click_select_and_or_move_start$1: function(event_synthetic) { + var t1, t2, $event, t3, extension_attached_end_svg, pos, _this = this; + type$.legacy_SyntheticPointerEvent._as(event_synthetic); + t1 = _this.get$dna_end(); + t2 = $.app.store; + if (!t2.get$state(t2).ui_state.storables.edit_modes._set.contains$1(0, C.EditModeChoice_select)) { + t2 = $.app.store; + t2 = t2.get$state(t2).ui_state.storables.edit_modes._set.contains$1(0, C.EditModeChoice_rope_select); + } else + t2 = true; + if (t2 && E.end_type_selectable(t1) && E.origami_type_selectable(t1)) { + t1 = J.getInterceptor$x(event_synthetic); + t2 = type$.legacy_MouseEvent; + if (!H.boolConversionCheck(_this._design_main_strand_dna_end$_cachedTypedProps.get$is_on_extension())) { + $event = t2._as(t1.get$nativeEvent(event_synthetic)); + t1 = $event.button; + if (t1 === 2 || t1 === 1) + return; + _this.get$dna_end().handle_selection_mouse_down$1($event); + t1 = $.app; + t2 = _this.get$dna_end(); + t3 = t2.offset; + if (t2.is_start) + t2 = t3; + else { + if (typeof t3 !== "number") + return t3.$sub(); + t2 = t3 - 1; + } + t1.dispatch$1(U._$DNAEndsMoveStart$_(_this._design_main_strand_dna_end$_cachedTypedProps.get$helix(), t2)); + } else { + $event = t2._as(t1.get$nativeEvent(event_synthetic)); + t1 = $event.button; + if (t1 === 2 || t1 === 1) + return; + _this.get$dna_end().handle_selection_mouse_down$1($event); + extension_attached_end_svg = E.compute_extension_attached_end_svg(_this._design_main_strand_dna_end$_cachedTypedProps.get$ext(), _this._design_main_strand_dna_end$_cachedTypedProps.get$ext().adjacent_domain, _this._design_main_strand_dna_end$_cachedTypedProps.get$helix(), _this._design_main_strand_dna_end$_cachedTypedProps.get$helix_svg_position().y); + t1 = _this._design_main_strand_dna_end$_cachedTypedProps.get$group(); + t2 = _this._design_main_strand_dna_end$_cachedTypedProps; + extension_attached_end_svg = extension_attached_end_svg.$add(0, t1.translation$1(t2.get$geometry(t2))); + t2 = _this._design_main_strand_dna_end$_cachedTypedProps.get$ext(); + t1 = _this._design_main_strand_dna_end$_cachedTypedProps.get$ext().adjacent_domain; + t3 = _this._design_main_strand_dna_end$_cachedTypedProps; + pos = E.compute_extension_free_end_svg(extension_attached_end_svg, t2, t1, t3.get$geometry(t3)); + $.app.dispatch$1(U._$DNAExtensionsMoveStart$_(_this._design_main_strand_dna_end$_cachedTypedProps.get$helix(), pos)); + } + } + }, + handle_end_pointer_up_select$1: function(event_synthetic) { + var t1, t2, $event; + type$.legacy_SyntheticPointerEvent._as(event_synthetic); + t1 = this.get$dna_end(); + t2 = $.app.store; + if (!t2.get$state(t2).ui_state.storables.edit_modes._set.contains$1(0, C.EditModeChoice_select)) { + t2 = $.app.store; + t2 = t2.get$state(t2).ui_state.storables.edit_modes._set.contains$1(0, C.EditModeChoice_rope_select); + } else + t2 = true; + if (t2 && E.end_type_selectable(t1) && E.origami_type_selectable(t1)) { + $event = type$.legacy_MouseEvent._as(J.get$nativeEvent$x(event_synthetic)); + t1 = $event.button; + if (t1 === 2 || t1 === 1) + return; + this.get$dna_end().handle_selection_mouse_up$1($event); + } + }, + handle_end_click_ligate_or_potential_crossover$1: function($event) { + var t1, t2, offset, start_point_untransformed, start_point, address, potential_crossover, domain_idx, t3, linker, other_domain_idx_in_substrands, other_domain, other_end, other_offset, other_helix_idx, other_helix_svg, _this = this; + if (!J.$eq$(J.get$button$x(J.get$nativeEvent$x(type$.legacy_SyntheticMouseEvent._as($event))), 0)) + return; + if (H.boolConversionCheck(_this._design_main_strand_dna_end$_cachedTypedProps.get$is_on_extension())) + return; + t1 = $.app.store; + if (t1.get$state(t1).ui_state.storables.edit_modes._set.contains$1(0, C.EditModeChoice_pencil)) + if (!H.boolConversionCheck(_this._design_main_strand_dna_end$_cachedTypedProps.get$drawing_potential_crossover())) + t1 = H.boolConversionCheck(_this.get$is_first()) || _this.get$is_last(); + else + t1 = false; + else + t1 = false; + if (t1) { + t1 = H.boolConversionCheck(_this._design_main_strand_dna_end$_cachedTypedProps.get$is_5p()); + t2 = _this._design_main_strand_dna_end$_cachedTypedProps; + offset = t1 ? t2.get$domain(t2).get$offset_5p() : t2.get$domain(t2).get$offset_3p(); + t1 = _this._design_main_strand_dna_end$_cachedTypedProps.get$helix(); + t2 = _this._design_main_strand_dna_end$_cachedTypedProps; + start_point_untransformed = t1.svg_base_pos$3(offset, t2.get$domain(t2).forward, _this._design_main_strand_dna_end$_cachedTypedProps.get$helix_svg_position().y); + t2 = _this._design_main_strand_dna_end$_cachedTypedProps.get$group(); + t1 = _this._design_main_strand_dna_end$_cachedTypedProps; + start_point = t2.transform_point_main_view$2(start_point_untransformed, t1.get$geometry(t1)); + t1 = _this._design_main_strand_dna_end$_cachedTypedProps.get$helix().idx; + t2 = _this._design_main_strand_dna_end$_cachedTypedProps; + address = Z._$Address$_(t2.get$domain(t2).forward, t1, offset); + t1 = _this._design_main_strand_dna_end$_cachedTypedProps.get$strand_color().toHexColor$0(); + potential_crossover = S.PotentialCrossover_PotentialCrossover(address, "#" + t1.get$rHex() + t1.get$gHex() + t1.get$bHex(), start_point, _this.get$dna_end(), null, start_point); + $.app.dispatch$1(U._$PotentialCrossoverCreate$_(potential_crossover)); + } else { + t1 = $.app.store; + if (t1.get$state(t1).ui_state.storables.edit_modes._set.contains$1(0, C.EditModeChoice_pencil)) + if (!H.boolConversionCheck(_this._design_main_strand_dna_end$_cachedTypedProps.get$drawing_potential_crossover())) + t1 = !(H.boolConversionCheck(_this.get$is_first()) || _this.get$is_last()); + else + t1 = false; + else + t1 = false; + if (t1) { + t1 = _this._design_main_strand_dna_end$_cachedTypedProps.get$strand().get$domains(); + t2 = _this._design_main_strand_dna_end$_cachedTypedProps; + domain_idx = J.indexOf$2$asx(t1._list, t1.$ti._precomputed1._as(t2.get$domain(t2)), 0); + t1 = H.boolConversionCheck(_this._design_main_strand_dna_end$_cachedTypedProps.get$is_5p()); + t2 = type$.legacy_Domain; + t3 = _this._design_main_strand_dna_end$_cachedTypedProps; + if (t1) { + linker = J.$index$asx(t3.get$strand().get$linkers()._list, domain_idx - 1); + other_domain_idx_in_substrands = linker.get$prev_domain_idx(); + other_domain = t2._as(J.$index$asx(_this._design_main_strand_dna_end$_cachedTypedProps.get$strand().substrands._list, other_domain_idx_in_substrands)); + other_end = other_domain.forward ? other_domain.get$dnaend_end() : other_domain.get$dnaend_start(); + } else { + linker = J.$index$asx(t3.get$strand().get$linkers()._list, domain_idx); + other_domain_idx_in_substrands = linker.get$next_domain_idx(); + other_domain = t2._as(J.$index$asx(_this._design_main_strand_dna_end$_cachedTypedProps.get$strand().substrands._list, other_domain_idx_in_substrands)); + other_end = other_domain.forward ? other_domain.get$dnaend_start() : other_domain.get$dnaend_end(); + } + other_offset = other_end.offset; + if (!other_end.is_start) { + if (typeof other_offset !== "number") + return other_offset.$sub(); + --other_offset; + } + other_helix_idx = other_domain.helix; + t1 = $.app.store; + other_helix_svg = J.$index$asx(t1.get$state(t1).get$helix_idx_to_svg_position_map()._map$_map, other_helix_idx); + t1 = other_domain.forward; + start_point_untransformed = _this._design_main_strand_dna_end$_cachedTypedProps.get$helix().svg_base_pos$3(other_offset, t1, other_helix_svg.y); + t2 = _this._design_main_strand_dna_end$_cachedTypedProps.get$group(); + t3 = _this._design_main_strand_dna_end$_cachedTypedProps; + start_point = t2.transform_point_main_view$2(start_point_untransformed, t3.get$geometry(t3)); + address = Z._$Address$_(t1, other_helix_idx, other_offset); + t1 = _this._design_main_strand_dna_end$_cachedTypedProps.get$strand_color().toHexColor$0(); + potential_crossover = S.PotentialCrossover_PotentialCrossover(address, "#" + t1.get$rHex() + t1.get$gHex() + t1.get$bHex(), start_point, other_end, linker, start_point); + $.app.dispatch$1(U._$PotentialCrossoverCreate$_(potential_crossover)); + } else { + t1 = $.app.store; + if (t1.get$state(t1).ui_state.storables.edit_modes._set.contains$1(0, C.EditModeChoice_pencil)) + if (H.boolConversionCheck(_this._design_main_strand_dna_end$_cachedTypedProps.get$drawing_potential_crossover())) + t1 = H.boolConversionCheck(_this.get$is_first()) || _this.get$is_last(); + else + t1 = false; + else + t1 = false; + if (t1) { + potential_crossover = $.app.store_potential_crossover._state; + t1 = _this._design_main_strand_dna_end$_cachedTypedProps.get$is_5p(); + t2 = potential_crossover.dna_end_first_click; + if (t1 === t2.is_5p) + return; + $.app.dispatch$1(U._$PotentialCrossoverRemove__$PotentialCrossoverRemove()); + if (!(H.boolConversionCheck(_this.get$is_first()) && t2.substrand_is_last)) + t1 = _this.get$is_last() && t2.substrand_is_first; + else + t1 = true; + if (t1) + $.app.dispatch$1(U._$JoinStrandsByCrossover$_(t2, _this.get$dna_end())); + else if (potential_crossover.linker != null) + $.app.dispatch$1(U._$MoveLinker$_(_this.get$dna_end(), potential_crossover)); + } else { + t1 = $.app.store; + if (t1.get$state(t1).ui_state.storables.edit_modes._set.contains$1(0, C.EditModeChoice_ligate)) + t1 = H.boolConversionCheck(_this.get$is_first()) || _this.get$is_last(); + else + t1 = false; + if (t1) + $.app.dispatch$1(U._$Ligate$_(_this.get$dna_end())); + } + } + } + }, + handle_on_mouse_leave$1: function($event) { + var t1; + type$.legacy_SyntheticMouseEvent._as($event); + t1 = $.app.store; + if (t1.get$state(t1).ui_state.storables.show_mouseover_data) + $.app.dispatch$1(U._$MouseoverDataClear__$MouseoverDataClear()); + }, + handle_on_mouse_enter$1: function($event) { + E.update_mouseover(type$.legacy_SyntheticMouseEvent._as($event), this._design_main_strand_dna_end$_cachedTypedProps.get$helix(), this._design_main_strand_dna_end$_cachedTypedProps.get$helix_svg_position()); + }, + handle_on_mouse_move$1: function($event) { + E.update_mouseover(type$.legacy_SyntheticMouseEvent._as($event), this._design_main_strand_dna_end$_cachedTypedProps.get$helix(), this._design_main_strand_dna_end$_cachedTypedProps.get$helix_svg_position()); + } + }; + S.$DesignMainDNAEndComponentFactory_closure.prototype = { + call$0: function() { + return new S._$DesignMainDNAEndComponent(null); + }, + "call*": "call$0", + $requiredArgCount: 0, + $signature: 466 + }; + S._$$DesignMainDNAEndProps.prototype = { + get$$$isClassGenerated: function() { + return true; + }, + get$componentFactory: function() { + var t1 = this.componentFactory; + return t1 == null ? $.$get$$DesignMainDNAEndComponentFactory() : t1; + } + }; + S._$$DesignMainDNAEndProps$PlainMap.prototype = { + get$props: function(_) { + return this._design_main_strand_dna_end$_props; + } + }; + S._$$DesignMainDNAEndProps$JsMap.prototype = { + get$props: function(_) { + return this._design_main_strand_dna_end$_props; + } + }; + S._$DesignMainDNAEndComponent.prototype = { + get$props: function(_) { + return this._design_main_strand_dna_end$_cachedTypedProps; + }, + set$props: function(_, value) { + this.props = value; + this._design_main_strand_dna_end$_cachedTypedProps = S._$$DesignMainDNAEndProps$JsMap$(R.getBackingMap(value)); + }, + get$displayName: function(_) { + return "DesignMainDNAEnd"; + }, + get$$$defaultConsumedProps: function() { + return C.Map_EQPDw.get$values(C.Map_EQPDw); + } + }; + S.$DesignMainDNAEndPropsMixin.prototype = { + get$strand: function() { + var t1 = J.$index$asx(this.get$props(this), "DesignMainDNAEndPropsMixin.strand"); + if (t1 == null) + t1 = null; + return type$.legacy_Strand._as(t1); + }, + get$domain: function(_) { + var t1 = J.$index$asx(this.get$props(this), "DesignMainDNAEndPropsMixin.domain"); + if (t1 == null) + t1 = null; + return type$.legacy_Domain._as(t1); + }, + get$ext: function() { + var t1 = J.$index$asx(this.get$props(this), "DesignMainDNAEndPropsMixin.ext"); + if (t1 == null) + t1 = null; + return type$.legacy_Extension._as(t1); + }, + get$strand_color: function() { + var t1 = J.$index$asx(this.get$props(this), "DesignMainDNAEndPropsMixin.strand_color"); + if (t1 == null) + t1 = null; + return type$.legacy_Color._as(t1); + }, + get$is_5p: function() { + var t1 = J.$index$asx(this.get$props(this), "DesignMainDNAEndPropsMixin.is_5p"); + return H._asBoolS(t1 == null ? null : t1); + }, + get$is_on_extension: function() { + var t1 = J.$index$asx(this.get$props(this), string$.DesignMDNEi); + return H._asBoolS(t1 == null ? null : t1); + }, + get$helix: function() { + var t1 = J.$index$asx(this.get$props(this), "DesignMainDNAEndPropsMixin.helix"); + if (t1 == null) + t1 = null; + return type$.legacy_Helix._as(t1); + }, + get$group: function() { + var t1 = J.$index$asx(this.get$props(this), "DesignMainDNAEndPropsMixin.group"); + if (t1 == null) + t1 = null; + return type$.legacy_HelixGroup._as(t1); + }, + get$geometry: function(_) { + var t1 = J.$index$asx(this.get$props(this), "DesignMainDNAEndPropsMixin.geometry"); + if (t1 == null) + t1 = null; + return type$.legacy_Geometry._as(t1); + }, + get$context_menu_strand: function() { + var t1 = J.$index$asx(this.get$props(this), string$.DesignMDNEc); + if (t1 == null) + t1 = null; + return type$.legacy_legacy_List_legacy_ContextMenuItem_Function_legacy_Strand_$named_address_legacy_Address_and_substrand_legacy_Substrand_and_type_legacy_ModificationType._as(t1); + }, + set$context_menu_strand: function(value) { + type$.legacy_legacy_List_legacy_ContextMenuItem_Function_legacy_Strand_$named_address_legacy_Address_and_substrand_legacy_Substrand_and_type_legacy_ModificationType._as(value); + J.$indexSet$ax(this.get$props(this), string$.DesignMDNEc, value); + }, + get$drawing_potential_crossover: function() { + var t1 = J.$index$asx(this.get$props(this), string$.DesignMDNEd); + return H._asBoolS(t1 == null ? null : t1); + }, + get$helix_svg_position: function() { + var t1 = J.$index$asx(this.get$props(this), string$.DesignMDNEh); + if (t1 == null) + t1 = null; + return type$.legacy_Point_legacy_num._as(t1); + }, + context_menu_strand$4$address$substrand$type: function(arg0, arg1, arg2, arg3) { + return this.get$context_menu_strand().call$4$address$substrand$type(arg0, arg1, arg2, arg3); + } + }; + S._DesignMainDNAEndComponent_UiComponent2_PureComponent.prototype = {}; + S.__$$DesignMainDNAEndProps_UiProps_DesignMainDNAEndPropsMixin.prototype = { + get$geometry: function(receiver) { + return this.DesignMainDNAEndPropsMixin_geometry; + } + }; + S.__$$DesignMainDNAEndProps_UiProps_DesignMainDNAEndPropsMixin_$DesignMainDNAEndPropsMixin.prototype = {}; + F.ConnectedEndMoving_closure.prototype = { + call$2: function(dna_ends_move, props) { + var current_offset, t1; + type$.legacy_DNAEndsMove._as(dna_ends_move); + type$.legacy_EndMovingProps._as(props); + if (dna_ends_move == null) + current_offset = null; + else { + t1 = J.$index$asx(props.get$props(props), "EndMovingProps.dna_end"); + if (t1 == null) + t1 = null; + current_offset = dna_ends_move.current_capped_offset_of$1(type$.legacy_DNAEnd._as(t1)); + } + if (current_offset == null) { + t1 = F.design_main_strand_dna_end_moving___$EndMoving$closure().call$0(); + J.set$render$x(t1, false); + return t1; + } + t1 = F.design_main_strand_dna_end_moving___$EndMoving$closure().call$0(); + t1.set$current_offset(current_offset); + return t1; + }, + "call*": "call$2", + $requiredArgCount: 2, + $signature: 467 + }; + F.EndMovingProps.prototype = {$isMap: 1, $isUiProps0: 1, $isUiProps: 1}; + F.EndMovingComponent.prototype = { + get$defaultProps: function(_) { + var t1 = this.typedPropsFactoryJs$1(new L.JsBackedMap({})); + t1.set$render(0, true); + t1.set$allowable(true); + return t1; + }, + render$0: function(_) { + var t2, t3, t4, pos, end_props, classname, _this = this, _null = null, + t1 = _this._design_main_strand_dna_end_moving$_cachedTypedProps; + t1 = t1.get$props(t1).$index(0, "EndMovingProps.render"); + if (!H.boolConversionCheck(H._asBoolS(t1 == null ? _null : t1))) + return _null; + t1 = _this._design_main_strand_dna_end_moving$_cachedTypedProps; + t1 = t1.get$props(t1).$index(0, "EndMovingProps.helix"); + if (t1 == null) + t1 = _null; + type$.legacy_Helix._as(t1); + t2 = _this._design_main_strand_dna_end_moving$_cachedTypedProps; + t2 = t2.get$props(t2).$index(0, "EndMovingProps.current_offset"); + t2 = H._asIntS(t2 == null ? _null : t2); + t3 = _this._design_main_strand_dna_end_moving$_cachedTypedProps; + t3 = t3.get$forward(t3); + t4 = _this._design_main_strand_dna_end_moving$_cachedTypedProps; + t4 = t4.get$props(t4).$index(0, "EndMovingProps.svg_position_y"); + pos = t1.svg_base_pos$3(t2, t3, H._asNumS(t4 == null ? _null : t4)); + end_props = H.boolConversionCheck(_this._design_main_strand_dna_end_moving$_cachedTypedProps.get$is_5p()) ? A.lib_5p_end___$End5Prime$closure().call$0() : B.lib_3p_end___$End3Prime$closure().call$0(); + t1 = H.boolConversionCheck(_this._design_main_strand_dna_end_moving$_cachedTypedProps.get$is_5p()) ? "five-prime-end-moving" : "three-prime-end-moving"; + t2 = _this._design_main_strand_dna_end_moving$_cachedTypedProps; + t2 = t2.get$props(t2).$index(0, "EndMovingProps.allowable"); + classname = t1 + (H.boolConversionCheck(H._asBoolS(t2 == null ? _null : t2)) ? "" : " disallowed-end"); + end_props.set$on_pointer_down(_null); + end_props.set$on_mouse_up(_null); + end_props.set$pos(pos); + t1 = _this._design_main_strand_dna_end_moving$_cachedTypedProps; + t1 = t1.get$props(t1).$index(0, "EndMovingProps.color"); + if (t1 == null) + t1 = _null; + end_props.set$color(0, type$.legacy_Color._as(t1)); + end_props.set$classname(classname); + t1 = _this._design_main_strand_dna_end_moving$_cachedTypedProps; + end_props.set$forward(0, t1.get$forward(t1)); + t1 = _this._design_main_strand_dna_end_moving$_cachedTypedProps; + if (t1.get$transform(t1) != null) { + t1 = _this._design_main_strand_dna_end_moving$_cachedTypedProps; + end_props.set$transform(0, t1.get$transform(t1)); + } + return end_props.call$0(); + } + }; + F.$EndMovingComponentFactory_closure.prototype = { + call$0: function() { + return new F._$EndMovingComponent(null); + }, + "call*": "call$0", + $requiredArgCount: 0, + $signature: 468 + }; + F._$$EndMovingProps.prototype = { + get$$$isClassGenerated: function() { + return true; + }, + get$componentFactory: function() { + var t1 = this.componentFactory; + return t1 == null ? $.$get$$EndMovingComponentFactory() : t1; + } + }; + F._$$EndMovingProps$PlainMap.prototype = { + get$props: function(_) { + return this._design_main_strand_dna_end_moving$_props; + } + }; + F._$$EndMovingProps$JsMap.prototype = { + get$props: function(_) { + return this._design_main_strand_dna_end_moving$_props; + } + }; + F._$EndMovingComponent.prototype = { + get$props: function(_) { + return this._design_main_strand_dna_end_moving$_cachedTypedProps; + }, + set$props: function(_, value) { + this.props = value; + this._design_main_strand_dna_end_moving$_cachedTypedProps = F._$$EndMovingProps$JsMap$(R.getBackingMap(value)); + }, + typedPropsFactoryJs$1: function(backingMap) { + return F._$$EndMovingProps$JsMap$(backingMap); + }, + get$displayName: function(_) { + return "EndMoving"; + }, + get$$$defaultConsumedProps: function() { + return C.Map_2NACG.get$values(C.Map_2NACG); + } + }; + F.$EndMovingProps.prototype = { + set$dna_end: function(value) { + J.$indexSet$ax(this.get$props(this), "EndMovingProps.dna_end", value); + }, + set$helix: function(value) { + J.$indexSet$ax(this.get$props(this), "EndMovingProps.helix", value); + }, + set$color: function(_, value) { + J.$indexSet$ax(this.get$props(this), "EndMovingProps.color", value); + }, + get$forward: function(_) { + var t1 = J.$index$asx(this.get$props(this), "EndMovingProps.forward"); + return H._asBoolS(t1 == null ? null : t1); + }, + set$forward: function(_, value) { + J.$indexSet$ax(this.get$props(this), "EndMovingProps.forward", value); + }, + get$is_5p: function() { + var t1 = J.$index$asx(this.get$props(this), "EndMovingProps.is_5p"); + return H._asBoolS(t1 == null ? null : t1); + }, + set$is_5p: function(value) { + J.$indexSet$ax(this.get$props(this), "EndMovingProps.is_5p", value); + }, + set$allowable: function(value) { + J.$indexSet$ax(this.get$props(this), "EndMovingProps.allowable", value); + }, + set$current_offset: function(value) { + J.$indexSet$ax(this.get$props(this), "EndMovingProps.current_offset", value); + }, + set$render: function(_, value) { + J.$indexSet$ax(this.get$props(this), "EndMovingProps.render", value); + }, + set$svg_position_y: function(value) { + J.$indexSet$ax(this.get$props(this), "EndMovingProps.svg_position_y", value); + }, + get$transform: function(_) { + var t1 = J.$index$asx(this.get$props(this), "EndMovingProps.transform"); + return H._asStringS(t1 == null ? null : t1); + } + }; + F.__$$EndMovingProps_UiProps_EndMovingProps.prototype = {}; + F.__$$EndMovingProps_UiProps_EndMovingProps_$EndMovingProps.prototype = {}; + T.ConnectedExtensionEndMoving_closure.prototype = { + call$2: function(dna_extensions_move, props) { + var current_point, t1; + type$.legacy_DNAExtensionsMove._as(dna_extensions_move); + type$.legacy_ExtensionEndMovingProps._as(props); + if (dna_extensions_move == null) + current_point = null; + else { + t1 = J.$index$asx(props.get$props(props), "ExtensionEndMovingProps.dna_end"); + if (t1 == null) + t1 = null; + current_point = dna_extensions_move.current_point_of$1(type$.legacy_DNAEnd._as(t1)); + } + if (current_point == null) { + t1 = T.design_main_strand_dna_extension_end_moving___$ExtensionEndMoving$closure().call$0(); + J.set$render$x(t1, false); + return t1; + } + t1 = T.design_main_strand_dna_extension_end_moving___$ExtensionEndMoving$closure().call$0(); + t1.toString; + type$.legacy_Point_legacy_num._as(current_point); + J.$indexSet$ax(J.get$props$x(t1), "ExtensionEndMovingProps.current_point", current_point); + return t1; + }, + "call*": "call$2", + $requiredArgCount: 2, + $signature: 469 + }; + T.ExtensionEndMovingProps.prototype = {$isMap: 1, $isUiProps0: 1, $isUiProps: 1, + get$geometry: function(receiver) { + return this.ExtensionEndMovingProps_geometry; + } + }; + T.ExtensionEndMovingComponent.prototype = { + get$defaultProps: function(_) { + var t1 = this.typedPropsFactoryJs$1(new L.JsBackedMap({})); + t1.set$render(0, true); + t1.get$props(t1).$indexSet(0, "ExtensionEndMovingProps.allowable", true); + return t1; + }, + render$0: function(_) { + var t2, t3, t4, pos, end_props, classname, display_angle, _this = this, _null = null, + t1 = _this._design_main_strand_dna_extension_end_moving$_cachedTypedProps; + t1 = t1.get$props(t1).$index(0, "ExtensionEndMovingProps.render"); + if (!H.boolConversionCheck(H._asBoolS(t1 == null ? _null : t1))) + return _null; + t1 = _this._design_main_strand_dna_extension_end_moving$_cachedTypedProps; + t1 = t1.get$props(t1).$index(0, "ExtensionEndMovingProps.current_point"); + if (t1 == null) + t1 = _null; + t2 = type$.legacy_Point_legacy_num; + t2._as(t1); + t3 = _this._design_main_strand_dna_extension_end_moving$_cachedTypedProps; + t3 = t3.get$props(t3).$index(0, "ExtensionEndMovingProps.group"); + if (t3 == null) + t3 = _null; + type$.legacy_HelixGroup._as(t3); + t4 = _this._design_main_strand_dna_extension_end_moving$_cachedTypedProps; + pos = t1.$sub(0, t3.translation$1(t4.get$geometry(t4))); + end_props = H.boolConversionCheck(_this._design_main_strand_dna_extension_end_moving$_cachedTypedProps.get$is_5p()) ? A.lib_5p_end___$End5Prime$closure().call$0() : B.lib_3p_end___$End3Prime$closure().call$0(); + t1 = H.boolConversionCheck(_this._design_main_strand_dna_extension_end_moving$_cachedTypedProps.get$is_5p()) ? "five-prime-end-moving" : "three-prime-end-moving"; + t3 = _this._design_main_strand_dna_extension_end_moving$_cachedTypedProps; + t3 = t3.get$props(t3).$index(0, "ExtensionEndMovingProps.allowable"); + classname = t1 + (H.boolConversionCheck(H._asBoolS(t3 == null ? _null : t3)) ? "" : " disallowed-end"); + end_props.set$on_pointer_down(_null); + end_props.set$on_mouse_up(_null); + end_props.set$pos(pos); + t1 = _this._design_main_strand_dna_extension_end_moving$_cachedTypedProps; + t1 = t1.get$props(t1).$index(0, "ExtensionEndMovingProps.color"); + if (t1 == null) + t1 = _null; + end_props.set$color(0, type$.legacy_Color._as(t1)); + end_props.set$classname(classname); + t1 = _this._design_main_strand_dna_extension_end_moving$_cachedTypedProps; + end_props.set$forward(0, t1.get$forward(t1)); + t1 = _this._design_main_strand_dna_extension_end_moving$_cachedTypedProps; + t1 = t1.get$props(t1).$index(0, "ExtensionEndMovingProps.attached_end_svg"); + t1 = t2._as(t1 == null ? _null : t1); + t2 = _this._design_main_strand_dna_extension_end_moving$_cachedTypedProps.get$ext(); + t3 = _this._design_main_strand_dna_extension_end_moving$_cachedTypedProps.get$ext().adjacent_domain; + t4 = _this._design_main_strand_dna_extension_end_moving$_cachedTypedProps; + display_angle = E.compute_extension_length_and_angle_from_point(pos, t1, t2, t3, t4.get$geometry(t4)); + t4 = _this._design_main_strand_dna_extension_end_moving$_cachedTypedProps; + end_props.set$transform(0, "rotate(" + H.S(E.compute_end_rotation(display_angle.item2, t4.get$forward(t4), _this._design_main_strand_dna_extension_end_moving$_cachedTypedProps.get$is_5p())) + ")"); + return end_props.call$0(); + } + }; + T.$ExtensionEndMovingComponentFactory_closure.prototype = { + call$0: function() { + return new T._$ExtensionEndMovingComponent(null); + }, + "call*": "call$0", + $requiredArgCount: 0, + $signature: 470 + }; + T._$$ExtensionEndMovingProps.prototype = { + get$$$isClassGenerated: function() { + return true; + }, + get$componentFactory: function() { + var t1 = this.componentFactory; + return t1 == null ? $.$get$$ExtensionEndMovingComponentFactory() : t1; + } + }; + T._$$ExtensionEndMovingProps$PlainMap.prototype = { + get$props: function(_) { + return this._design_main_strand_dna_extension_end_moving$_props; + } + }; + T._$$ExtensionEndMovingProps$JsMap.prototype = { + get$props: function(_) { + return this._design_main_strand_dna_extension_end_moving$_props; + } + }; + T._$ExtensionEndMovingComponent.prototype = { + get$props: function(_) { + return this._design_main_strand_dna_extension_end_moving$_cachedTypedProps; + }, + set$props: function(_, value) { + this.props = value; + this._design_main_strand_dna_extension_end_moving$_cachedTypedProps = T._$$ExtensionEndMovingProps$JsMap$(R.getBackingMap(value)); + }, + typedPropsFactoryJs$1: function(backingMap) { + return T._$$ExtensionEndMovingProps$JsMap$(backingMap); + }, + get$displayName: function(_) { + return "ExtensionEndMoving"; + }, + get$$$defaultConsumedProps: function() { + return C.Map_HYskt.get$values(C.Map_HYskt); + } + }; + T.$ExtensionEndMovingProps.prototype = { + get$ext: function() { + var t1 = J.$index$asx(this.get$props(this), "ExtensionEndMovingProps.ext"); + if (t1 == null) + t1 = null; + return type$.legacy_Extension._as(t1); + }, + get$geometry: function(_) { + var t1 = J.$index$asx(this.get$props(this), "ExtensionEndMovingProps.geometry"); + if (t1 == null) + t1 = null; + return type$.legacy_Geometry._as(t1); + }, + get$forward: function(_) { + var t1 = J.$index$asx(this.get$props(this), "ExtensionEndMovingProps.forward"); + return H._asBoolS(t1 == null ? null : t1); + }, + get$is_5p: function() { + var t1 = J.$index$asx(this.get$props(this), "ExtensionEndMovingProps.is_5p"); + return H._asBoolS(t1 == null ? null : t1); + }, + set$render: function(_, value) { + J.$indexSet$ax(this.get$props(this), "ExtensionEndMovingProps.render", value); + } + }; + T.__$$ExtensionEndMovingProps_UiProps_ExtensionEndMovingProps.prototype = { + get$geometry: function(receiver) { + return this.ExtensionEndMovingProps_geometry; + } + }; + T.__$$ExtensionEndMovingProps_UiProps_ExtensionEndMovingProps_$ExtensionEndMovingProps.prototype = {}; + T.DesignMainDomainPropsMixin.prototype = { + set$helices: function(helices) { + this.DesignMainDomainPropsMixin_helices = type$.legacy_BuiltMap_of_legacy_int_and_legacy_Helix._as(helices); + }, + set$groups: function(groups) { + this.DesignMainDomainPropsMixin_groups = type$.legacy_BuiltMap_of_legacy_String_and_legacy_HelixGroup._as(groups); + }, + set$geometry: function(_, geometry) { + this.DesignMainDomainPropsMixin_geometry = type$.legacy_Geometry._as(geometry); + }, + get$helices: function() { + return this.DesignMainDomainPropsMixin_helices; + }, + get$groups: function() { + return this.DesignMainDomainPropsMixin_groups; + }, + get$geometry: function(receiver) { + return this.DesignMainDomainPropsMixin_geometry; + } + }; + T.DesignMainDomainComponent.prototype = { + render$0: function(_) { + var t2, t3, start_svg, end_svg, classname, color, t4, _this = this, _null = null, + t1 = _this._design_main_strand_domain$_cachedTypedProps, + domain = t1.get$domain(t1), + id = domain.get$id(domain); + t1 = _this._design_main_strand_domain$_cachedTypedProps.get$helix(); + t2 = domain.get$offset_5p(); + t3 = domain.forward; + start_svg = t1.svg_base_pos$3(t2, t3, _this._design_main_strand_domain$_cachedTypedProps.get$helix_svg_position().y); + end_svg = _this._design_main_strand_domain$_cachedTypedProps.get$helix().svg_base_pos$3(domain.get$offset_3p(), t3, _this._design_main_strand_domain$_cachedTypedProps.get$helix_svg_position().y); + t1 = _this._design_main_strand_domain$_cachedTypedProps; + t1 = t1.get$props(t1).$index(0, "DesignMainDomainPropsMixin.selected"); + if (H.boolConversionCheck(H._asBoolS(t1 == null ? _null : t1))) { + t1 = _this._design_main_strand_domain$_cachedTypedProps; + t1 = t1.get$props(t1).$index(0, string$.DesignMDoPr); + classname = H.boolConversionCheck(H._asBoolS(t1 == null ? _null : t1)) ? "domain-line selected" : "domain-line selected-pink"; + } else + classname = "domain-line"; + if (_this._design_main_strand_domain$_cachedTypedProps.get$strand().is_scaffold) + classname += " scaffold"; + color = domain.color; + if (color == null) { + t1 = _this._design_main_strand_domain$_cachedTypedProps; + t1 = t1.get$props(t1).$index(0, "DesignMainDomainPropsMixin.strand_color"); + if (t1 == null) + t1 = _null; + type$.legacy_Color._as(t1); + color = t1; + } + t1 = A.SvgProps$($.$get$line(), _null); + t1.set$className(0, classname); + t1.set$onClick(0, _this.get$_handle_click_for_nick_insertion_deletion()); + t1.set$onMouseLeave(0, new T.DesignMainDomainComponent_render_closure()); + t1.set$onMouseEnter(0, new T.DesignMainDomainComponent_render_closure0(_this)); + t1.set$onMouseMove(0, new T.DesignMainDomainComponent_render_closure1(_this)); + t1.set$onPointerDown(_this.get$handle_click_down()); + t1.set$onPointerUp(_this.get$handle_click_up()); + t2 = color.toHexColor$0(); + t1.set$stroke(0, "#" + t2.get$rHex() + t2.get$gHex() + t2.get$bHex()); + t2 = _this._design_main_strand_domain$_cachedTypedProps; + t2 = t2.get$props(t2).$index(0, "DesignMainDomainPropsMixin.transform"); + t1.set$transform(0, H._asStringS(t2 == null ? _null : t2)); + t1.set$x1(0, H.S(start_svg.x)); + t1.set$y1(0, H.S(start_svg.y)); + t1.set$x2(0, H.S(end_svg.x)); + t1.set$y2(0, H.S(end_svg.y)); + t1.set$id(0, id); + t1.set$key(0, id); + t2 = A.SvgProps$($.$get$title(), _null); + t4 = (t3 ? "forward" : "reverse") + " domain:\n length=" + domain.dna_length$0() + "\n helix=" + domain.helix + "\n start=" + domain.start + "\n end=" + domain.end; + t3 = domain.name; + t3 = t4 + (t3 == null ? "" : "\n name=" + t3); + t4 = domain.label; + t3 = t3 + (t4 == null ? "" : "\n label=" + t4) + "\n"; + t4 = _this._design_main_strand_domain$_cachedTypedProps; + t4 = t4.get$props(t4).$index(0, string$.DesignMDoPs); + return t1.call$1(t2.call$1(C.JSString_methods.$add(t3, H._asStringS(t4 == null ? _null : t4)))); + }, + _handle_click_for_nick_insertion_deletion$1: function(event_syn) { + var t1, domain, $event, t2, group, geometry, offset, all_helices, _this = this; + type$.legacy_SyntheticMouseEvent._as(event_syn); + t1 = $.app.store; + if (!t1.get$state(t1).ui_state.storables.edit_modes._set.contains$1(0, C.EditModeChoice_nick)) { + t1 = $.app.store; + if (!t1.get$state(t1).ui_state.storables.edit_modes._set.contains$1(0, C.EditModeChoice_insertion)) { + t1 = $.app.store; + t1 = t1.get$state(t1).ui_state.storables.edit_modes._set.contains$1(0, C.EditModeChoice_deletion); + } else + t1 = true; + } else + t1 = true; + if (t1) { + t1 = _this._design_main_strand_domain$_cachedTypedProps; + domain = t1.get$domain(t1); + $event = type$.legacy_MouseEvent._as(J.get$nativeEvent$x(event_syn)); + t1 = $.app.store; + t1 = t1.get$state(t1).design.groups; + t2 = _this._design_main_strand_domain$_cachedTypedProps.get$helix().group; + group = J.$index$asx(t1._map$_map, t2); + t2 = $.app.store; + geometry = t2.get$state(t2).design.geometry; + offset = E.get_address_on_helix($event, _this._design_main_strand_domain$_cachedTypedProps.get$helix(), group, geometry, _this._design_main_strand_domain$_cachedTypedProps.get$helix_svg_position()).offset; + t1 = domain.start; + if (typeof offset !== "number") + return offset.$le(); + if (offset <= t1 || offset >= domain.end) + return; + all_helices = H.boolConversionCheck($event.ctrlKey) || H.boolConversionCheck($event.metaKey); + t2 = $.app.store; + if (t2.get$state(t2).ui_state.storables.edit_modes._set.contains$1(0, C.EditModeChoice_nick)) { + if (offset <= t1 + 1 || offset >= domain.end - 1) + return; + $.app.dispatch$1(U._$Nick$_(domain, offset)); + } else { + t1 = $.app.store; + if (t1.get$state(t1).ui_state.storables.edit_modes._set.contains$1(0, C.EditModeChoice_insertion)) + $.app.dispatch$1(U._$InsertionAdd$_(all_helices, domain, offset)); + else { + t1 = $.app.store; + if (t1.get$state(t1).ui_state.storables.edit_modes._set.contains$1(0, C.EditModeChoice_deletion)) + $.app.dispatch$1(U._$DeletionAdd$_(all_helices, domain, offset)); + } + } + } + }, + handle_click_down$1: function(event_syn) { + var t1, t2, t3, t4, t5, address, view_order_inverse, _this = this, + $event = type$.legacy_MouseEvent._as(J.get$nativeEvent$x(type$.legacy_SyntheticPointerEvent._as(event_syn))); + if ($event.button === 0) { + t1 = _this._design_main_strand_domain$_cachedTypedProps; + t1 = t1.get$domain(t1); + t2 = $.app.store; + if (!t2.get$state(t2).ui_state.storables.edit_modes._set.contains$1(0, C.EditModeChoice_select)) { + t2 = $.app.store; + t2 = t2.get$state(t2).ui_state.storables.edit_modes._set.contains$1(0, C.EditModeChoice_rope_select); + } else + t2 = true; + if (t2) { + t2 = $.app.store; + t1 = t2.get$state(t2).ui_state.storables.select_mode_state.modes._set.contains$1(0, C.SelectModeChoice_domain) && E.origami_type_selectable(t1); + } else + t1 = false; + if (t1) { + t1 = _this._design_main_strand_domain$_cachedTypedProps; + t1.get$domain(t1).handle_selection_mouse_down$1($event); + t1 = H.setRuntimeTypeInfo([_this._design_main_strand_domain$_cachedTypedProps.get$helix()], type$.JSArray_legacy_Helix); + t2 = _this._design_main_strand_domain$_cachedTypedProps.get$groups(); + t3 = _this._design_main_strand_domain$_cachedTypedProps; + t4 = type$.legacy_int; + t5 = type$.legacy_Point_legacy_num; + address = E.find_closest_address($event, t1, t2, t3.get$geometry(t3), A.BuiltMap_BuiltMap$of(P.LinkedHashMap_LinkedHashMap$_literal([_this._design_main_strand_domain$_cachedTypedProps.get$helix().idx, _this._design_main_strand_domain$_cachedTypedProps.get$helix_svg_position()], t4, t5), t4, t5)); + t5 = $.app.store; + t5 = t5.get$state(t5).design; + t4 = _this._design_main_strand_domain$_cachedTypedProps; + t4 = t4.get$domain(t4); + t5.toString; + view_order_inverse = t5.group_of_helix_idx$1(t4.helix).get$helices_view_order_inverse(); + $.app.dispatch$1(U._$DomainsMoveStartSelectedDomains$_(address, view_order_inverse)); + } + } + }, + handle_click_up$1: function(event_syn) { + var t1, t2, currently_moving, t3; + type$.legacy_SyntheticPointerEvent._as(event_syn); + t1 = J.getInterceptor$x(event_syn); + if (J.$eq$(J.get$button$x(t1.get$nativeEvent(event_syn)), 0)) { + t2 = $.app.store; + if (t2.get$state(t2).ui_state.strands_move == null) { + t2 = $.app.store; + if (t2.get$state(t2).ui_state.domains_move == null) { + t2 = $.app.store; + t2 = t2.get$state(t2).ui_state.dna_ends_are_moving; + currently_moving = t2; + } else + currently_moving = true; + } else + currently_moving = true; + t2 = this._design_main_strand_domain$_cachedTypedProps; + t2 = t2.get$domain(t2); + t3 = $.app.store; + if (!t3.get$state(t3).ui_state.storables.edit_modes._set.contains$1(0, C.EditModeChoice_select)) { + t3 = $.app.store; + t3 = t3.get$state(t3).ui_state.storables.edit_modes._set.contains$1(0, C.EditModeChoice_rope_select); + } else + t3 = true; + if (t3) { + t3 = $.app.store; + t2 = t3.get$state(t3).ui_state.storables.select_mode_state.modes._set.contains$1(0, C.SelectModeChoice_domain) && E.origami_type_selectable(t2); + } else + t2 = false; + if (t2 && !currently_moving) { + t2 = this._design_main_strand_domain$_cachedTypedProps; + t2.get$domain(t2).handle_selection_mouse_up$1(type$.legacy_MouseEvent._as(t1.get$nativeEvent(event_syn))); + } + } + }, + componentDidMount$0: function() { + var t1 = this._design_main_strand_domain$_cachedTypedProps; + t1 = t1.get$domain(t1); + t1 = "#" + t1.get$id(t1); + J.addEventListener$2$x(document.querySelector(t1), "contextmenu", this.get$on_context_menu()); + }, + componentWillUnmount$0: function() { + var t1 = this._design_main_strand_domain$_cachedTypedProps; + t1 = t1.get$domain(t1); + t1 = "#" + t1.get$id(t1); + J.removeEventListener$2$x(document.querySelector(t1), "contextmenu", this.get$on_context_menu()); + this.super$_UiComponent2_Component2_DisposableManagerProxy$componentWillUnmount(); + }, + on_context_menu$1: function(ev) { + var t1, t2, t3, address, t4, _this = this; + ev = type$.legacy_MouseEvent._as(type$.legacy_Event._as(ev)); + if (!H.boolConversionCheck(ev.shiftKey)) { + ev.preventDefault(); + ev.stopPropagation(); + t1 = _this._design_main_strand_domain$_cachedTypedProps.get$helix(); + t2 = _this._design_main_strand_domain$_cachedTypedProps.get$groups(); + t3 = _this._design_main_strand_domain$_cachedTypedProps.get$helix().group; + t3 = J.$index$asx(t2._map$_map, t3); + t2 = _this._design_main_strand_domain$_cachedTypedProps; + address = E.get_address_on_helix(ev, t1, t3, t2.get$geometry(t2), _this._design_main_strand_domain$_cachedTypedProps.get$helix_svg_position()); + t2 = $.app; + t3 = _this._design_main_strand_domain$_cachedTypedProps; + t1 = t3.get$strand(); + t4 = _this._design_main_strand_domain$_cachedTypedProps; + t4 = D._BuiltList$of(t3.context_menu_strand$3$address$substrand(t1, address, t4.get$domain(t4)), type$.legacy_ContextMenuItem); + t1 = ev.pageX; + t1.toString; + t3 = ev.pageY; + t3.toString; + t2.dispatch$1(U._$ContextMenuShow$_(B._$ContextMenu$_(t4, new P.Point(t1, t3, type$.Point_num)))); + } + } + }; + T.DesignMainDomainComponent_render_closure.prototype = { + call$1: function(_) { + var t1; + type$.legacy_SyntheticMouseEvent._as(_); + t1 = $.app.store; + if (t1.get$state(t1).ui_state.storables.show_mouseover_data) + $.app.dispatch$1(U._$MouseoverDataClear__$MouseoverDataClear()); + return null; + }, + $signature: 3 + }; + T.DesignMainDomainComponent_render_closure0.prototype = { + call$1: function($event) { + var t1 = this.$this; + return E.update_mouseover(type$.legacy_SyntheticMouseEvent._as($event), t1._design_main_strand_domain$_cachedTypedProps.get$helix(), t1._design_main_strand_domain$_cachedTypedProps.get$helix_svg_position()); + }, + $signature: 3 + }; + T.DesignMainDomainComponent_render_closure1.prototype = { + call$1: function($event) { + var t1 = this.$this; + return E.update_mouseover(type$.legacy_SyntheticMouseEvent._as($event), t1._design_main_strand_domain$_cachedTypedProps.get$helix(), t1._design_main_strand_domain$_cachedTypedProps.get$helix_svg_position()); + }, + $signature: 3 + }; + T.$DesignMainDomainComponentFactory_closure.prototype = { + call$0: function() { + return new T._$DesignMainDomainComponent(null); + }, + "call*": "call$0", + $requiredArgCount: 0, + $signature: 471 + }; + T._$$DesignMainDomainProps.prototype = { + get$$$isClassGenerated: function() { + return true; + }, + get$componentFactory: function() { + var t1 = this.componentFactory; + return t1 == null ? $.$get$$DesignMainDomainComponentFactory() : t1; + } + }; + T._$$DesignMainDomainProps$PlainMap.prototype = { + get$props: function(_) { + return this._design_main_strand_domain$_props; + } + }; + T._$$DesignMainDomainProps$JsMap.prototype = { + get$props: function(_) { + return this._design_main_strand_domain$_props; + } + }; + T._$DesignMainDomainComponent.prototype = { + get$props: function(_) { + return this._design_main_strand_domain$_cachedTypedProps; + }, + set$props: function(_, value) { + this.props = value; + this._design_main_strand_domain$_cachedTypedProps = T._$$DesignMainDomainProps$JsMap$(R.getBackingMap(value)); + }, + get$displayName: function(_) { + return "DesignMainDomain"; + }, + get$$$defaultConsumedProps: function() { + return C.Map_cKYuU.get$values(C.Map_cKYuU); + } + }; + T.$DesignMainDomainPropsMixin.prototype = { + get$domain: function(_) { + var t1 = J.$index$asx(this.get$props(this), "DesignMainDomainPropsMixin.domain"); + if (t1 == null) + t1 = null; + return type$.legacy_Domain._as(t1); + }, + get$helix: function() { + var t1 = J.$index$asx(this.get$props(this), "DesignMainDomainPropsMixin.helix"); + if (t1 == null) + t1 = null; + return type$.legacy_Helix._as(t1); + }, + get$strand: function() { + var t1 = J.$index$asx(this.get$props(this), "DesignMainDomainPropsMixin.strand"); + if (t1 == null) + t1 = null; + return type$.legacy_Strand._as(t1); + }, + get$helix_svg_position: function() { + var t1 = J.$index$asx(this.get$props(this), string$.DesignMDoPh); + if (t1 == null) + t1 = null; + return type$.legacy_Point_legacy_num._as(t1); + }, + get$context_menu_strand: function() { + var t1 = J.$index$asx(this.get$props(this), string$.DesignMDoPc); + if (t1 == null) + t1 = null; + return type$.legacy_legacy_List_legacy_ContextMenuItem_Function_legacy_Strand_$named_address_legacy_Address_and_substrand_legacy_Substrand_and_type_legacy_ModificationType._as(t1); + }, + get$helices: function() { + var t1 = J.$index$asx(this.get$props(this), "DesignMainDomainPropsMixin.helices"); + if (t1 == null) + t1 = null; + return type$.legacy_BuiltMap_of_legacy_int_and_legacy_Helix._as(t1); + }, + set$helices: function(value) { + type$.legacy_BuiltMap_of_legacy_int_and_legacy_Helix._as(value); + J.$indexSet$ax(this.get$props(this), "DesignMainDomainPropsMixin.helices", value); + }, + get$groups: function() { + var t1 = J.$index$asx(this.get$props(this), "DesignMainDomainPropsMixin.groups"); + if (t1 == null) + t1 = null; + return type$.legacy_BuiltMap_of_legacy_String_and_legacy_HelixGroup._as(t1); + }, + set$groups: function(value) { + type$.legacy_BuiltMap_of_legacy_String_and_legacy_HelixGroup._as(value); + J.$indexSet$ax(this.get$props(this), "DesignMainDomainPropsMixin.groups", value); + }, + get$geometry: function(_) { + var t1 = J.$index$asx(this.get$props(this), "DesignMainDomainPropsMixin.geometry"); + if (t1 == null) + t1 = null; + return type$.legacy_Geometry._as(t1); + }, + set$geometry: function(_, value) { + J.$indexSet$ax(this.get$props(this), "DesignMainDomainPropsMixin.geometry", value); + }, + context_menu_strand$3$address$substrand: function(arg0, arg1, arg2) { + return this.get$context_menu_strand().call$3$address$substrand(arg0, arg1, arg2); + } + }; + T._DesignMainDomainComponent_UiComponent2_PureComponent.prototype = {}; + T._DesignMainDomainComponent_UiComponent2_PureComponent_TransformByHelixGroup.prototype = {}; + T.__$$DesignMainDomainProps_UiProps_DesignMainDomainPropsMixin.prototype = { + set$helices: function(helices) { + this.DesignMainDomainPropsMixin_helices = type$.legacy_BuiltMap_of_legacy_int_and_legacy_Helix._as(helices); + }, + set$groups: function(groups) { + this.DesignMainDomainPropsMixin_groups = type$.legacy_BuiltMap_of_legacy_String_and_legacy_HelixGroup._as(groups); + }, + set$geometry: function(_, geometry) { + this.DesignMainDomainPropsMixin_geometry = type$.legacy_Geometry._as(geometry); + }, + get$helices: function() { + return this.DesignMainDomainPropsMixin_helices; + }, + get$groups: function() { + return this.DesignMainDomainPropsMixin_groups; + }, + get$geometry: function(receiver) { + return this.DesignMainDomainPropsMixin_geometry; + } + }; + T.__$$DesignMainDomainProps_UiProps_DesignMainDomainPropsMixin_$DesignMainDomainPropsMixin.prototype = {}; + T.__$$DesignMainDomainProps_UiProps_DesignMainDomainPropsMixin_$DesignMainDomainPropsMixin_TransformByHelixGroupPropsMixin.prototype = { + set$helices: function(helices) { + this.TransformByHelixGroupPropsMixin_helices = type$.legacy_BuiltMap_of_legacy_int_and_legacy_Helix._as(helices); + }, + set$groups: function(groups) { + this.TransformByHelixGroupPropsMixin_groups = type$.legacy_BuiltMap_of_legacy_String_and_legacy_HelixGroup._as(groups); + }, + set$geometry: function(_, geometry) { + this.TransformByHelixGroupPropsMixin_geometry = type$.legacy_Geometry._as(geometry); + }, + get$helices: function() { + return this.TransformByHelixGroupPropsMixin_helices; + }, + get$groups: function() { + return this.TransformByHelixGroupPropsMixin_groups; + }, + get$geometry: function(receiver) { + return this.TransformByHelixGroupPropsMixin_geometry; + } + }; + T.__$$DesignMainDomainProps_UiProps_DesignMainDomainPropsMixin_$DesignMainDomainPropsMixin_TransformByHelixGroupPropsMixin_$TransformByHelixGroupPropsMixin.prototype = {}; + B.DesignMainStrandDomainTextPropsMixin.prototype = { + get$geometry: function(receiver) { + return this.DesignMainStrandDomainTextPropsMixin_geometry; + } + }; + B.DesignMainStrandDomainTextComponent.prototype = { + render$0: function(_) { + var t3, start_svg, mid_svg, baseline, dy, _this = this, _null = null, + t1 = _this._design_main_strand_domain_text$_cachedTypedProps.get$helix(), + t2 = _this._design_main_strand_domain_text$_cachedTypedProps; + t2 = t2.get$domain(t2).start; + t3 = _this._design_main_strand_domain_text$_cachedTypedProps; + start_svg = t1.svg_base_pos$3(t2, t3.get$domain(t3).forward, _this._design_main_strand_domain_text$_cachedTypedProps.get$helix_svg_position().y); + t3 = _this._design_main_strand_domain_text$_cachedTypedProps.get$helix(); + t2 = _this._design_main_strand_domain_text$_cachedTypedProps; + t2 = t2.get$domain(t2).end; + t1 = _this._design_main_strand_domain_text$_cachedTypedProps; + mid_svg = start_svg.$add(0, t3.svg_base_pos$3(t2 - 1, t1.get$domain(t1).forward, _this._design_main_strand_domain_text$_cachedTypedProps.get$helix_svg_position().y)).$mul(0, 0.5); + t1 = _this._design_main_strand_domain_text$_cachedTypedProps; + baseline = t1.get$domain(t1).forward ? "baseline" : "hanging"; + t1 = _this._design_main_strand_domain_text$_cachedTypedProps; + t1 = t1.get$props(t1).$index(0, string$.DesignMStDon); + t1 = H._asIntS(t1 == null ? _null : t1); + t2 = _this._design_main_strand_domain_text$_cachedTypedProps.get$helix().geometry.get$base_height_svg(); + if (typeof t1 !== "number") + return t1.$mul(); + t3 = _this._design_main_strand_domain_text$_cachedTypedProps; + dy = t3.get$geometry(t3).get$base_height_svg() * 0.7 + t1 * t2; + t1 = _this._design_main_strand_domain_text$_cachedTypedProps; + if (t1.get$domain(t1).forward) + dy = -dy; + t1 = A.SvgProps$($.$get$text(), _null); + t1.set$x(0, H.S(mid_svg.x)); + t1.set$y(0, H.S(mid_svg.y)); + t1.set$dy(0, H.S(dy)); + t2 = _this._design_main_strand_domain_text$_cachedTypedProps.get$strand(); + t1.set$id(0, t2.get$id(t2) + "_name"); + t2 = _this._design_main_strand_domain_text$_cachedTypedProps; + t2 = t2.get$props(t2).$index(0, string$.DesignMStDotr); + t1.set$transform(0, H._asStringS(t2 == null ? _null : t2)); + t2 = _this._design_main_strand_domain_text$_cachedTypedProps; + t2 = t2.get$props(t2).$index(0, string$.DesignMStDof); + t1.set$fontSize(0, H._asIntS(t2 == null ? _null : t2)); + t1.set$dominantBaseline(baseline); + t2 = _this._design_main_strand_domain_text$_cachedTypedProps; + t2 = t2.get$props(t2).$index(0, string$.DesignMStDocs); + t1.set$className(0, H._asStringS(t2 == null ? _null : t2)); + t2 = _this._design_main_strand_domain_text$_cachedTypedProps; + t2 = t2.get$props(t2).$index(0, string$.DesignMStDote); + return t1.call$1(H._asStringS(t2 == null ? _null : t2)); + }, + componentDidMount$0: function() { + var t1 = this._design_main_strand_domain_text$_cachedTypedProps.get$strand(); + t1 = "#" + (t1.get$id(t1) + "_name"); + J.addEventListener$2$x(document.querySelector(t1), "contextmenu", this.get$on_context_menu()); + }, + componentWillUnmount$0: function() { + var t1 = this._design_main_strand_domain_text$_cachedTypedProps.get$strand(); + t1 = "#" + (t1.get$id(t1) + "_name"); + J.removeEventListener$2$x(document.querySelector(t1), "contextmenu", this.get$on_context_menu()); + this.super$_UiComponent2_Component2_DisposableManagerProxy$componentWillUnmount(); + }, + on_context_menu$1: function(ev) { + var t1, t2, t3, t4, t5, address, _this = this; + ev = type$.legacy_MouseEvent._as(type$.legacy_Event._as(ev)); + if (!H.boolConversionCheck(ev.shiftKey)) { + ev.preventDefault(); + ev.stopPropagation(); + t1 = H.setRuntimeTypeInfo([_this._design_main_strand_domain_text$_cachedTypedProps.get$helix()], type$.JSArray_legacy_Helix); + t2 = _this._design_main_strand_domain_text$_cachedTypedProps; + t2 = t2.get$props(t2).$index(0, string$.DesignMStDoh_g); + if (t2 == null) + t2 = null; + type$.legacy_BuiltMap_of_legacy_String_and_legacy_HelixGroup._as(t2); + t3 = _this._design_main_strand_domain_text$_cachedTypedProps; + t4 = type$.legacy_int; + t5 = type$.legacy_Point_legacy_num; + address = E.find_closest_address(ev, t1, t2, t3.get$geometry(t3), A.BuiltMap_BuiltMap$of(P.LinkedHashMap_LinkedHashMap$_literal([_this._design_main_strand_domain_text$_cachedTypedProps.get$helix().idx, _this._design_main_strand_domain_text$_cachedTypedProps.get$helix_svg_position()], t4, t5), t4, t5)); + t5 = $.app; + t4 = _this._design_main_strand_domain_text$_cachedTypedProps; + t3 = t4.get$strand(); + t2 = _this._design_main_strand_domain_text$_cachedTypedProps; + t2 = D._BuiltList$of(t4.context_menu_strand$3$address$substrand(t3, address, t2.get$domain(t2)), type$.legacy_ContextMenuItem); + t3 = ev.pageX; + t3.toString; + t4 = ev.pageY; + t4.toString; + t5.dispatch$1(U._$ContextMenuShow$_(B._$ContextMenu$_(t2, new P.Point(t3, t4, type$.Point_num)))); + } + } + }; + B.$DesignMainStrandDomainTextComponentFactory_closure.prototype = { + call$0: function() { + return new B._$DesignMainStrandDomainTextComponent(null); + }, + "call*": "call$0", + $requiredArgCount: 0, + $signature: 472 + }; + B._$$DesignMainStrandDomainTextProps.prototype = { + get$$$isClassGenerated: function() { + return true; + }, + get$componentFactory: function() { + var t1 = this.componentFactory; + return t1 == null ? $.$get$$DesignMainStrandDomainTextComponentFactory() : t1; + } + }; + B._$$DesignMainStrandDomainTextProps$PlainMap.prototype = { + get$props: function(_) { + return this._design_main_strand_domain_text$_props; + } + }; + B._$$DesignMainStrandDomainTextProps$JsMap.prototype = { + get$props: function(_) { + return this._design_main_strand_domain_text$_props; + } + }; + B._$DesignMainStrandDomainTextComponent.prototype = { + get$props: function(_) { + return this._design_main_strand_domain_text$_cachedTypedProps; + }, + set$props: function(_, value) { + this.props = value; + this._design_main_strand_domain_text$_cachedTypedProps = B._$$DesignMainStrandDomainTextProps$JsMap$(R.getBackingMap(value)); + }, + get$displayName: function(_) { + return "DesignMainStrandDomainText"; + }, + get$$$defaultConsumedProps: function() { + return C.Map_gv9c8.get$values(C.Map_gv9c8); + } + }; + B.$DesignMainStrandDomainTextPropsMixin.prototype = { + get$strand: function() { + var t1 = J.$index$asx(this.get$props(this), string$.DesignMStDos); + if (t1 == null) + t1 = null; + return type$.legacy_Strand._as(t1); + }, + set$strand: function(value) { + J.$indexSet$ax(this.get$props(this), string$.DesignMStDos, value); + }, + get$domain: function(_) { + var t1 = J.$index$asx(this.get$props(this), string$.DesignMStDod); + if (t1 == null) + t1 = null; + return type$.legacy_Domain._as(t1); + }, + set$domain: function(_, value) { + J.$indexSet$ax(this.get$props(this), string$.DesignMStDod, value); + }, + get$helix: function() { + var t1 = J.$index$asx(this.get$props(this), string$.DesignMStDoh); + if (t1 == null) + t1 = null; + return type$.legacy_Helix._as(t1); + }, + set$helix: function(value) { + J.$indexSet$ax(this.get$props(this), string$.DesignMStDoh, value); + }, + get$geometry: function(_) { + var t1 = J.$index$asx(this.get$props(this), string$.DesignMStDog); + if (t1 == null) + t1 = null; + return type$.legacy_Geometry._as(t1); + }, + set$geometry: function(_, value) { + J.$indexSet$ax(this.get$props(this), string$.DesignMStDog, value); + }, + set$helix_groups: function(value) { + type$.legacy_BuiltMap_of_legacy_String_and_legacy_HelixGroup._as(value); + J.$indexSet$ax(this.get$props(this), string$.DesignMStDoh_g, value); + }, + set$text: function(_, value) { + J.$indexSet$ax(this.get$props(this), string$.DesignMStDote, value); + }, + set$css_selector_text: function(value) { + J.$indexSet$ax(this.get$props(this), string$.DesignMStDocs, value); + }, + set$font_size: function(value) { + J.$indexSet$ax(this.get$props(this), string$.DesignMStDof, value); + }, + set$num_stacked: function(value) { + J.$indexSet$ax(this.get$props(this), string$.DesignMStDon, value); + }, + set$transform: function(_, value) { + J.$indexSet$ax(this.get$props(this), string$.DesignMStDotr, value); + }, + get$helix_svg_position: function() { + var t1 = J.$index$asx(this.get$props(this), string$.DesignMStDoh_s); + if (t1 == null) + t1 = null; + return type$.legacy_Point_legacy_num._as(t1); + }, + set$helix_svg_position: function(value) { + type$.legacy_Point_legacy_num._as(value); + J.$indexSet$ax(this.get$props(this), string$.DesignMStDoh_s, value); + }, + get$context_menu_strand: function() { + var t1 = J.$index$asx(this.get$props(this), string$.DesignMStDoco); + if (t1 == null) + t1 = null; + return type$.legacy_legacy_List_legacy_ContextMenuItem_Function_legacy_Strand_$named_address_legacy_Address_and_substrand_legacy_Substrand_and_type_legacy_ModificationType._as(t1); + }, + set$context_menu_strand: function(value) { + type$.legacy_legacy_List_legacy_ContextMenuItem_Function_legacy_Strand_$named_address_legacy_Address_and_substrand_legacy_Substrand_and_type_legacy_ModificationType._as(value); + J.$indexSet$ax(this.get$props(this), string$.DesignMStDoco, value); + }, + context_menu_strand$3$address$substrand: function(arg0, arg1, arg2) { + return this.get$context_menu_strand().call$3$address$substrand(arg0, arg1, arg2); + } + }; + B._DesignMainStrandDomainTextComponent_UiComponent2_PureComponent.prototype = {}; + B.__$$DesignMainStrandDomainTextProps_UiProps_DesignMainStrandDomainTextPropsMixin.prototype = { + get$geometry: function(receiver) { + return this.DesignMainStrandDomainTextPropsMixin_geometry; + } + }; + B.__$$DesignMainStrandDomainTextProps_UiProps_DesignMainStrandDomainTextPropsMixin_$DesignMainStrandDomainTextPropsMixin.prototype = {}; + Q.DesignMainExtensionPropsMixin.prototype = { + set$helices: function(helices) { + this.DesignMainExtensionPropsMixin_helices = type$.legacy_BuiltMap_of_legacy_int_and_legacy_Helix._as(helices); + }, + set$groups: function(groups) { + this.DesignMainExtensionPropsMixin_groups = type$.legacy_BuiltMap_of_legacy_String_and_legacy_HelixGroup._as(groups); + }, + set$geometry: function(_, geometry) { + this.DesignMainExtensionPropsMixin_geometry = type$.legacy_Geometry._as(geometry); + }, + get$helices: function() { + return this.DesignMainExtensionPropsMixin_helices; + }, + get$groups: function() { + return this.DesignMainExtensionPropsMixin_groups; + }, + get$geometry: function(receiver) { + return this.DesignMainExtensionPropsMixin_geometry; + } + }; + Q.DesignMainExtensionComponent.prototype = { + render$0: function(_) { + var t2, t3, extension_attached_end_svg, extension_free_end_svg, classname, svg_3p, svg_5p, color, path_d, t4, _this = this, _null = null, + ext = _this._design_main_strand_extension$_cachedTypedProps.get$ext(), + t1 = _this._design_main_strand_extension$_cachedTypedProps.get$ext(), + id = t1.get$id(t1); + t1 = _this._design_main_strand_extension$_cachedTypedProps; + t1 = t1.get$props(t1).$index(0, string$.DesignMEad); + if (t1 == null) + t1 = _null; + type$.legacy_Domain._as(t1); + t2 = _this._design_main_strand_extension$_cachedTypedProps; + t2 = t2.get$props(t2).$index(0, string$.DesignMEah); + if (t2 == null) + t2 = _null; + type$.legacy_Helix._as(t2); + t3 = _this._design_main_strand_extension$_cachedTypedProps; + t3 = t3.get$props(t3).$index(0, string$.DesignMEah_); + if (t3 == null) + t3 = _null; + extension_attached_end_svg = E.compute_extension_attached_end_svg(ext, t1, t2, type$.legacy_Point_legacy_num._as(t3).y); + t3 = _this._design_main_strand_extension$_cachedTypedProps; + extension_free_end_svg = E.compute_extension_free_end_svg(extension_attached_end_svg, ext, t1, t3.get$geometry(t3)); + t1 = _this._design_main_strand_extension$_cachedTypedProps; + t1 = t1.get$props(t1).$index(0, "DesignMainExtensionPropsMixin.selected"); + if (H.boolConversionCheck(H._asBoolS(t1 == null ? _null : t1))) { + t1 = _this._design_main_strand_extension$_cachedTypedProps; + t1 = t1.get$props(t1).$index(0, string$.DesignMEr); + classname = H.boolConversionCheck(H._asBoolS(t1 == null ? _null : t1)) ? "extension-line selected" : "extension-line selected-pink"; + } else + classname = "extension-line"; + if (_this._design_main_strand_extension$_cachedTypedProps.get$strand().is_scaffold) + classname += " scaffold"; + t1 = H.boolConversionCheck(ext.is_5p); + if (!t1) { + svg_3p = extension_free_end_svg; + svg_5p = extension_attached_end_svg; + } else { + svg_3p = extension_attached_end_svg; + svg_5p = extension_free_end_svg; + } + color = ext.color; + if (color == null) { + t2 = _this._design_main_strand_extension$_cachedTypedProps; + t2 = t2.get$props(t2).$index(0, string$.DesignMEsc); + if (t2 == null) + t2 = _null; + type$.legacy_Color._as(t2); + color = t2; + } + path_d = "M " + H.S(svg_5p.x) + " " + H.S(svg_5p.y) + " L " + H.S(svg_3p.x) + " " + H.S(svg_3p.y); + t2 = A.SvgProps$($.$get$path(), _null); + t2.set$className(0, classname); + t2.set$onPointerDown(_this.get$handle_click_down()); + t2.set$onPointerUp(_this.get$handle_click_up()); + t3 = color.toHexColor$0(); + t2.set$stroke(0, "#" + t3.get$rHex() + t3.get$gHex() + t3.get$bHex()); + t3 = _this._design_main_strand_extension$_cachedTypedProps; + t3 = t3.get$props(t3).$index(0, "DesignMainExtensionPropsMixin.transform"); + t2.set$transform(0, H._asStringS(t3 == null ? _null : t3)); + t2.set$d(0, path_d); + t2.set$id(0, id); + t2.set$key(0, id); + t3 = A.SvgProps$($.$get$title(), _null); + t4 = (t1 ? "5'" : "3'") + " extension:\n num_bases=" + ext.num_bases + "\n"; + t1 = ext.name; + t1 = t4 + (t1 == null ? "" : "\n name=" + t1); + t4 = ext.label; + t1 = t1 + (t4 == null ? "" : "\n label=" + t4) + "\n"; + t4 = _this._design_main_strand_extension$_cachedTypedProps; + t4 = t4.get$props(t4).$index(0, string$.DesignMEst); + return t2.call$1(t3.call$1(C.JSString_methods.$add(t1, H._asStringS(t4 == null ? _null : t4)))); + }, + handle_click_down$1: function(event_syn) { + var t1, t2, + $event = type$.legacy_MouseEvent._as(J.get$nativeEvent$x(type$.legacy_SyntheticPointerEvent._as(event_syn))); + if ($event.button === 0) { + t1 = this._design_main_strand_extension$_cachedTypedProps.get$ext(); + t2 = $.app.store; + if (!t2.get$state(t2).ui_state.storables.edit_modes._set.contains$1(0, C.EditModeChoice_select)) { + t2 = $.app.store; + t2 = t2.get$state(t2).ui_state.storables.edit_modes._set.contains$1(0, C.EditModeChoice_rope_select); + } else + t2 = true; + if (t2) { + t2 = $.app.store; + t1 = t2.get$state(t2).ui_state.storables.select_mode_state.modes._set.contains$1(0, C.SelectModeChoice_extension_) && E.origami_type_selectable(t1); + } else + t1 = false; + if (t1) + this._design_main_strand_extension$_cachedTypedProps.get$ext().handle_selection_mouse_down$1($event); + } + }, + handle_click_up$1: function(event_syn) { + var t1, t2, currently_moving, t3; + type$.legacy_SyntheticPointerEvent._as(event_syn); + t1 = J.getInterceptor$x(event_syn); + if (J.$eq$(J.get$button$x(t1.get$nativeEvent(event_syn)), 0)) { + t2 = $.app.store; + if (t2.get$state(t2).ui_state.strands_move == null) { + t2 = $.app.store; + if (t2.get$state(t2).ui_state.domains_move == null) { + t2 = $.app.store; + t2 = t2.get$state(t2).ui_state.dna_ends_are_moving; + currently_moving = t2; + } else + currently_moving = true; + } else + currently_moving = true; + t2 = this._design_main_strand_extension$_cachedTypedProps.get$ext(); + t3 = $.app.store; + if (!t3.get$state(t3).ui_state.storables.edit_modes._set.contains$1(0, C.EditModeChoice_select)) { + t3 = $.app.store; + t3 = t3.get$state(t3).ui_state.storables.edit_modes._set.contains$1(0, C.EditModeChoice_rope_select); + } else + t3 = true; + if (t3) { + t3 = $.app.store; + t2 = t3.get$state(t3).ui_state.storables.select_mode_state.modes._set.contains$1(0, C.SelectModeChoice_extension_) && E.origami_type_selectable(t2); + } else + t2 = false; + if (t2 && !currently_moving) + this._design_main_strand_extension$_cachedTypedProps.get$ext().handle_selection_mouse_up$1(type$.legacy_MouseEvent._as(t1.get$nativeEvent(event_syn))); + } + }, + componentDidMount$0: function() { + var t1 = this._design_main_strand_extension$_cachedTypedProps.get$ext(); + t1 = "#" + t1.get$id(t1); + J.addEventListener$2$x(document.querySelector(t1), "contextmenu", this.get$on_context_menu()); + }, + componentWillUnmount$0: function() { + var t1 = this._design_main_strand_extension$_cachedTypedProps.get$ext(); + t1 = "#" + t1.get$id(t1); + J.removeEventListener$2$x(document.querySelector(t1), "contextmenu", this.get$on_context_menu()); + }, + on_context_menu$1: function(ev) { + var t1, t2, t3, t4; + ev = type$.legacy_MouseEvent._as(type$.legacy_Event._as(ev)); + if (!H.boolConversionCheck(ev.shiftKey)) { + ev.preventDefault(); + ev.stopPropagation(); + t1 = $.app; + t2 = D._BuiltList$of(this.context_menu_extension$0(), type$.legacy_ContextMenuItem); + t3 = ev.pageX; + t3.toString; + t4 = ev.pageY; + t4.toString; + t1.dispatch$1(U._$ContextMenuShow$_(B._$ContextMenu$_(t2, new P.Point(t3, t4, type$.Point_num)))); + } + }, + context_menu_extension$0: function() { + var _this = this, _null = null, + t1 = H.setRuntimeTypeInfo([B.ContextMenuItem_ContextMenuItem(false, _null, _this.get$extension_display_length_and_angle_change(), "change extension display length/angle", _null), B.ContextMenuItem_ContextMenuItem(false, _null, _this.get$extension_num_bases_change(), "change extension number of bases", _null), B.ContextMenuItem_ContextMenuItem(false, _null, _this.get$set_extension_name(), "set extension name", _null)], type$.JSArray_legacy_ContextMenuItem); + if (_this._design_main_strand_extension$_cachedTypedProps.get$ext().name != null) + t1.push(B.ContextMenuItem_ContextMenuItem(false, _null, new Q.DesignMainExtensionComponent_context_menu_extension_closure(), "remove extension name", _null)); + t1.push(B.ContextMenuItem_ContextMenuItem(false, _null, _this.get$set_extension_label(), "set extension label", _null)); + if (_this._design_main_strand_extension$_cachedTypedProps.get$ext().label != null) + t1.push(B.ContextMenuItem_ContextMenuItem(false, _null, new Q.DesignMainExtensionComponent_context_menu_extension_closure0(), "remove extension label", _null)); + t1.push(B.ContextMenuItem_ContextMenuItem(false, _null, new Q.DesignMainExtensionComponent_context_menu_extension_closure1(_this), "set extension color", _null)); + if (_this._design_main_strand_extension$_cachedTypedProps.get$ext().color != null) + t1.push(B.ContextMenuItem_ContextMenuItem(false, _null, new Q.DesignMainExtensionComponent_context_menu_extension_closure2(_this), "remove extension color", _null)); + return t1; + }, + extension_num_bases_change$0: function() { + var $async$goto = 0, + $async$completer = P._makeAsyncAwaitCompleter(type$.dynamic), + $async$returnValue, $async$self = this, t1, selected_extensions, action, new_num_bases; + var $async$extension_num_bases_change$0 = P._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { + if ($async$errorCode === 1) + return P._asyncRethrow($async$result, $async$completer); + while (true) + switch ($async$goto) { + case 0: + // Function start + $async$goto = 3; + return P._asyncAwait($.app.disable_keyboard_shortcuts_while$1$1(new Q.DesignMainExtensionComponent_extension_num_bases_change_closure($async$self), type$.legacy_int), $async$extension_num_bases_change$0); + case 3: + // returning from await. + new_num_bases = $async$result; + if (new_num_bases == null || new_num_bases === $async$self._design_main_strand_extension$_cachedTypedProps.get$ext().num_bases) { + // goto return + $async$goto = 1; + break; + } + t1 = $.app.store; + selected_extensions = t1.get$state(t1).ui_state.selectables_store.get$selected_extensions(); + t1 = selected_extensions._set; + t1 = t1.get$length(t1); + if (typeof t1 !== "number") { + $async$returnValue = t1.$gt(); + // goto return + $async$goto = 1; + break; + } + action = t1 > 0 ? U.ExtensionsNumBasesChange_ExtensionsNumBasesChange(selected_extensions, new_num_bases) : U.ExtensionNumBasesChange_ExtensionNumBasesChange($async$self._design_main_strand_extension$_cachedTypedProps.get$ext(), new_num_bases); + $.app.dispatch$1(action); + case 1: + // return + return P._asyncReturn($async$returnValue, $async$completer); + } + }); + return P._asyncStartSync($async$extension_num_bases_change$0, $async$completer); + }, + set_extension_name$0: function() { + return $.app.disable_keyboard_shortcuts_while$1$1(this.get$ask_for_extension_name(), type$.void); + }, + set_extension_label$0: function() { + return $.app.disable_keyboard_shortcuts_while$1$1(new Q.DesignMainExtensionComponent_set_extension_label_closure(this), type$.void); + }, + ask_for_extension_name$0: function() { + var $async$goto = 0, + $async$completer = P._makeAsyncAwaitCompleter(type$.void), + $async$returnValue, $async$self = this, results, $name, selected_exts, t2, action, items, t1; + var $async$ask_for_extension_name$0 = P._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { + if ($async$errorCode === 1) + return P._asyncRethrow($async$result, $async$completer); + while (true) + switch ($async$goto) { + case 0: + // Function start + items = P.List_List$filled(1, null, false, type$.legacy_DialogItem); + t1 = $async$self._design_main_strand_extension$_cachedTypedProps.get$ext().name; + C.JSArray_methods.$indexSet(items, 0, E.DialogText_DialogText("name", null, t1 == null ? "" : t1)); + $async$goto = 3; + return P._asyncAwait(E.dialog(E.Dialog_Dialog(C.Set_empty, C.Map_empty2, C.Map_empty2, C.Map_empty3, items, C.List_empty1, E.dialog_Dialog_identity_function$closure(), "set extension name", C.DialogType_set_extension_name, true)), $async$ask_for_extension_name$0); + case 3: + // returning from await. + results = $async$result; + if (results == null) { + // goto return + $async$goto = 1; + break; + } + $name = type$.legacy_DialogText._as(J.$index$asx(results, 0)).value; + t1 = $.app.store; + selected_exts = t1.get$state(t1).ui_state.selectables_store.get$selected_extensions(); + t1 = selected_exts._set; + t2 = t1.get$length(t1); + if (typeof t2 !== "number") { + $async$returnValue = t2.$gt(); + // goto return + $async$goto = 1; + break; + } + action = t2 > 1 ? U.BatchAction_BatchAction(t1.map$1$1(0, selected_exts.$ti._eval$1("UndoableAction*(1)")._as(new Q.DesignMainExtensionComponent_ask_for_extension_name_closure($name)), type$.legacy_UndoableAction), "set extension names") : U._$SubstrandNameSet$_($name, $async$self._design_main_strand_extension$_cachedTypedProps.get$ext()); + $.app.dispatch$1(action); + case 1: + // return + return P._asyncReturn($async$returnValue, $async$completer); + } + }); + return P._asyncStartSync($async$ask_for_extension_name$0, $async$completer); + }, + extension_display_length_and_angle_change$0: function() { + return $.app.disable_keyboard_shortcuts_while$1$1(this.get$ask_for_extension_display_length_and_angle(), type$.void); + }, + ask_for_extension_display_length_and_angle$0: function() { + var $async$goto = 0, + $async$completer = P._makeAsyncAwaitCompleter(type$.void), + $async$returnValue, $async$self = this, results, t2, display_length, display_angle, action, items, t1; + var $async$ask_for_extension_display_length_and_angle$0 = P._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { + if ($async$errorCode === 1) + return P._asyncRethrow($async$result, $async$completer); + while (true) + switch ($async$goto) { + case 0: + // Function start + items = P.List_List$filled(2, null, false, type$.legacy_DialogItem); + t1 = $async$self._design_main_strand_extension$_cachedTypedProps.get$ext().display_length; + C.JSArray_methods.$indexSet(items, 0, E.DialogFloat_DialogFloat("display length (nm)", t1)); + t1 = $async$self._design_main_strand_extension$_cachedTypedProps.get$ext().display_angle; + C.JSArray_methods.$indexSet(items, 1, E.DialogFloat_DialogFloat("display angle (degrees)", t1)); + $async$goto = 3; + return P._asyncAwait(E.dialog(E.Dialog_Dialog(C.Set_empty, C.Map_empty2, C.Map_empty2, C.Map_empty3, items, C.List_empty1, E.dialog_Dialog_identity_function$closure(), "set extension display length/angle", C.DialogType_2jN, false)), $async$ask_for_extension_display_length_and_angle$0); + case 3: + // returning from await. + results = $async$result; + if (results == null) { + // goto return + $async$goto = 1; + break; + } + t1 = J.getInterceptor$asx(results); + t2 = type$.legacy_DialogFloat; + display_length = t2._as(t1.$index(results, 0)).value; + display_angle = t2._as(t1.$index(results, 1)).value; + if (display_length <= 0) + C.Window_methods.alert$1(window, "display_length must be positive, but is " + H.S(display_length)); + else { + action = U.ExtensionDisplayLengthAngleSet_ExtensionDisplayLengthAngleSet(display_angle, display_length, $async$self._design_main_strand_extension$_cachedTypedProps.get$ext()); + $.app.dispatch$1(action); + } + case 1: + // return + return P._asyncReturn($async$returnValue, $async$completer); + } + }); + return P._asyncStartSync($async$ask_for_extension_display_length_and_angle$0, $async$completer); + } + }; + Q.DesignMainExtensionComponent_context_menu_extension_closure.prototype = { + call$0: function() { + var t1 = $.app, + t2 = t1.store; + t2 = t2.get$state(t2).ui_state.selectables_store.get$selected_extensions(); + return t1.dispatch$1(U.BatchAction_BatchAction(t2._set.map$1$1(0, t2.$ti._eval$1("UndoableAction*(1)")._as(new Q.DesignMainExtensionComponent_context_menu_extension__closure0()), type$.legacy_UndoableAction), "remove extension names")); + }, + $signature: 1 + }; + Q.DesignMainExtensionComponent_context_menu_extension__closure0.prototype = { + call$1: function(e) { + return U._$SubstrandNameSet$_(null, type$.legacy_Extension._as(e)); + }, + $signature: 154 + }; + Q.DesignMainExtensionComponent_context_menu_extension_closure0.prototype = { + call$0: function() { + var t1 = $.app, + t2 = t1.store; + t2 = t2.get$state(t2).ui_state.selectables_store.get$selected_extensions(); + return t1.dispatch$1(U.BatchAction_BatchAction(t2._set.map$1$1(0, t2.$ti._eval$1("UndoableAction*(1)")._as(new Q.DesignMainExtensionComponent_context_menu_extension__closure()), type$.legacy_UndoableAction), "remove extension labels")); + }, + $signature: 1 + }; + Q.DesignMainExtensionComponent_context_menu_extension__closure.prototype = { + call$1: function(e) { + return U._$SubstrandLabelSet$_(null, type$.legacy_Extension._as(e)); + }, + $signature: 474 + }; + Q.DesignMainExtensionComponent_context_menu_extension_closure1.prototype = { + call$0: function() { + var t1 = this.$this; + return $.app.dispatch$1(U._$StrandOrSubstrandColorPickerShow$_(t1._design_main_strand_extension$_cachedTypedProps.get$strand(), t1._design_main_strand_extension$_cachedTypedProps.get$ext())); + }, + $signature: 1 + }; + Q.DesignMainExtensionComponent_context_menu_extension_closure2.prototype = { + call$0: function() { + var t1 = this.$this; + return $.app.dispatch$1(U._$StrandOrSubstrandColorSet$_(null, t1._design_main_strand_extension$_cachedTypedProps.get$strand(), t1._design_main_strand_extension$_cachedTypedProps.get$ext())); + }, + $signature: 1 + }; + Q.DesignMainExtensionComponent_extension_num_bases_change_closure.prototype = { + call$0: function() { + return Q.ask_for_num_bases("change extension number of bases", this.$this._design_main_strand_extension$_cachedTypedProps.get$ext().num_bases, 1); + }, + $signature: 155 + }; + Q.DesignMainExtensionComponent_set_extension_label_closure.prototype = { + call$0: function() { + var t3, + t1 = this.$this, + t2 = t1._design_main_strand_extension$_cachedTypedProps.get$strand(); + t1 = t1._design_main_strand_extension$_cachedTypedProps.get$ext(); + t3 = $.app.store; + return M.ask_for_label(t2, t1, t3.get$state(t3).ui_state.selectables_store.get$selected_extensions(), type$.legacy_Extension); + }, + $signature: 6 + }; + Q.DesignMainExtensionComponent_ask_for_extension_name_closure.prototype = { + call$1: function(e) { + return U._$SubstrandNameSet$_(this.name, type$.legacy_Extension._as(e)); + }, + $signature: 154 + }; + Q.$DesignMainExtensionComponentFactory_closure.prototype = { + call$0: function() { + return new Q._$DesignMainExtensionComponent(null); + }, + "call*": "call$0", + $requiredArgCount: 0, + $signature: 476 + }; + Q._$$DesignMainExtensionProps.prototype = { + get$$$isClassGenerated: function() { + return true; + }, + get$componentFactory: function() { + var t1 = this.componentFactory; + return t1 == null ? $.$get$$DesignMainExtensionComponentFactory() : t1; + } + }; + Q._$$DesignMainExtensionProps$PlainMap.prototype = { + get$props: function(_) { + return this._design_main_strand_extension$_props; + } + }; + Q._$$DesignMainExtensionProps$JsMap.prototype = { + get$props: function(_) { + return this._design_main_strand_extension$_props; + } + }; + Q._$DesignMainExtensionComponent.prototype = { + get$props: function(_) { + return this._design_main_strand_extension$_cachedTypedProps; + }, + set$props: function(_, value) { + this.props = value; + this._design_main_strand_extension$_cachedTypedProps = Q._$$DesignMainExtensionProps$JsMap$(R.getBackingMap(value)); + }, + get$displayName: function(_) { + return "DesignMainExtension"; + }, + get$$$defaultConsumedProps: function() { + return C.Map_gkibp.get$values(C.Map_gkibp); + } + }; + Q.$DesignMainExtensionPropsMixin.prototype = { + get$ext: function() { + var t1 = J.$index$asx(this.get$props(this), "DesignMainExtensionPropsMixin.ext"); + if (t1 == null) + t1 = null; + return type$.legacy_Extension._as(t1); + }, + get$strand: function() { + var t1 = J.$index$asx(this.get$props(this), "DesignMainExtensionPropsMixin.strand"); + if (t1 == null) + t1 = null; + return type$.legacy_Strand._as(t1); + }, + get$helices: function() { + var t1 = J.$index$asx(this.get$props(this), "DesignMainExtensionPropsMixin.helices"); + if (t1 == null) + t1 = null; + return type$.legacy_BuiltMap_of_legacy_int_and_legacy_Helix._as(t1); + }, + set$helices: function(value) { + type$.legacy_BuiltMap_of_legacy_int_and_legacy_Helix._as(value); + J.$indexSet$ax(this.get$props(this), "DesignMainExtensionPropsMixin.helices", value); + }, + get$groups: function() { + var t1 = J.$index$asx(this.get$props(this), "DesignMainExtensionPropsMixin.groups"); + if (t1 == null) + t1 = null; + return type$.legacy_BuiltMap_of_legacy_String_and_legacy_HelixGroup._as(t1); + }, + set$groups: function(value) { + type$.legacy_BuiltMap_of_legacy_String_and_legacy_HelixGroup._as(value); + J.$indexSet$ax(this.get$props(this), "DesignMainExtensionPropsMixin.groups", value); + }, + get$geometry: function(_) { + var t1 = J.$index$asx(this.get$props(this), "DesignMainExtensionPropsMixin.geometry"); + if (t1 == null) + t1 = null; + return type$.legacy_Geometry._as(t1); + }, + set$geometry: function(_, value) { + J.$indexSet$ax(this.get$props(this), "DesignMainExtensionPropsMixin.geometry", value); + } + }; + Q._DesignMainExtensionComponent_UiComponent2_PureComponent.prototype = {}; + Q._DesignMainExtensionComponent_UiComponent2_PureComponent_TransformByHelixGroup.prototype = {}; + Q.__$$DesignMainExtensionProps_UiProps_DesignMainExtensionPropsMixin.prototype = { + set$helices: function(helices) { + this.DesignMainExtensionPropsMixin_helices = type$.legacy_BuiltMap_of_legacy_int_and_legacy_Helix._as(helices); + }, + set$groups: function(groups) { + this.DesignMainExtensionPropsMixin_groups = type$.legacy_BuiltMap_of_legacy_String_and_legacy_HelixGroup._as(groups); + }, + set$geometry: function(_, geometry) { + this.DesignMainExtensionPropsMixin_geometry = type$.legacy_Geometry._as(geometry); + }, + get$helices: function() { + return this.DesignMainExtensionPropsMixin_helices; + }, + get$groups: function() { + return this.DesignMainExtensionPropsMixin_groups; + }, + get$geometry: function(receiver) { + return this.DesignMainExtensionPropsMixin_geometry; + } + }; + Q.__$$DesignMainExtensionProps_UiProps_DesignMainExtensionPropsMixin_$DesignMainExtensionPropsMixin.prototype = {}; + Q.__$$DesignMainExtensionProps_UiProps_DesignMainExtensionPropsMixin_$DesignMainExtensionPropsMixin_TransformByHelixGroupPropsMixin.prototype = { + set$helices: function(helices) { + this.TransformByHelixGroupPropsMixin_helices = type$.legacy_BuiltMap_of_legacy_int_and_legacy_Helix._as(helices); + }, + set$groups: function(groups) { + this.TransformByHelixGroupPropsMixin_groups = type$.legacy_BuiltMap_of_legacy_String_and_legacy_HelixGroup._as(groups); + }, + set$geometry: function(_, geometry) { + this.TransformByHelixGroupPropsMixin_geometry = type$.legacy_Geometry._as(geometry); + }, + get$helices: function() { + return this.TransformByHelixGroupPropsMixin_helices; + }, + get$groups: function() { + return this.TransformByHelixGroupPropsMixin_groups; + }, + get$geometry: function(receiver) { + return this.TransformByHelixGroupPropsMixin_geometry; + } + }; + Q.__$$DesignMainExtensionProps_UiProps_DesignMainExtensionPropsMixin_$DesignMainExtensionPropsMixin_TransformByHelixGroupPropsMixin_$TransformByHelixGroupPropsMixin.prototype = {}; + R.DesignMainStrandExtensionTextPropsMixin.prototype = { + get$geometry: function(receiver) { + return this.DesignMainStrandExtensionTextPropsMixin_geometry; + } + }; + R.DesignMainStrandExtensionTextComponent.prototype = { + render$0: function(_) { + var t2, t3, t4, style_map, text_path_props, dom, adj_dom_offset, _this = this, _null = null, + t1 = _this._design_main_strand_extension_text$_cachedTypedProps; + t1 = t1.get$geometry(t1).get$base_height_svg(); + t2 = _this._design_main_strand_extension_text$_cachedTypedProps; + t2 = t2.get$geometry(t2).get$base_height_svg(); + t3 = _this._design_main_strand_extension_text$_cachedTypedProps; + t3 = t3.get$props(t3).$index(0, string$.DesignMStEn); + t3 = H._asIntS(t3 == null ? _null : t3); + if (typeof t3 !== "number") + return H.iae(t3); + t4 = _this._design_main_strand_extension_text$_cachedTypedProps; + t4 = t4.get$props(t4).$index(0, string$.DesignMStEf); + style_map = P.LinkedHashMap_LinkedHashMap$_literal(["letterSpacing", "0em", "fontSize", H.S(H._asIntS(t4 == null ? _null : t4)) + "px"], type$.legacy_String, type$.dynamic); + text_path_props = A.SvgProps$($.$get$textPath(), _null); + t4 = _this._design_main_strand_extension_text$_cachedTypedProps; + t4 = t4.get$props(t4).$index(0, string$.DesignMStEc); + text_path_props.set$className(0, H._asStringS(t4 == null ? _null : t4)); + t4 = _this._design_main_strand_extension_text$_cachedTypedProps.get$ext(); + text_path_props.set$xlinkHref("#" + t4.get$id(t4)); + text_path_props.set$startOffset(0, "50%"); + text_path_props.set$_raw$DomProps$style(type$.legacy_Map_of_legacy_String_and_dynamic._as(style_map)); + dom = _this._design_main_strand_extension_text$_cachedTypedProps.get$ext().adjacent_domain; + adj_dom_offset = H.boolConversionCheck(_this._design_main_strand_extension_text$_cachedTypedProps.get$ext().is_5p) ? dom.get$offset_5p() : dom.get$offset_3p(); + t4 = A.SvgProps$($.$get$text(), _null); + t4.set$key(0, "extension-text-H" + _this._design_main_strand_extension_text$_cachedTypedProps.get$ext().adjacent_domain.helix + "," + adj_dom_offset); + t4.set$dy(0, H.S(-0.1 * t1 - t2 * t3)); + t3 = _this._design_main_strand_extension_text$_cachedTypedProps; + t3 = t3.get$props(t3).$index(0, string$.DesignMStEt); + return t4.call$1(text_path_props.call$1(H._asStringS(t3 == null ? _null : t3))); + } + }; + R.$DesignMainStrandExtensionTextComponentFactory_closure.prototype = { + call$0: function() { + return new R._$DesignMainStrandExtensionTextComponent(null); + }, + "call*": "call$0", + $requiredArgCount: 0, + $signature: 477 + }; + R._$$DesignMainStrandExtensionTextProps.prototype = { + get$$$isClassGenerated: function() { + return true; + }, + get$componentFactory: function() { + var t1 = this.componentFactory; + return t1 == null ? $.$get$$DesignMainStrandExtensionTextComponentFactory() : t1; + } + }; + R._$$DesignMainStrandExtensionTextProps$PlainMap.prototype = { + get$props: function(_) { + return this._design_main_strand_extension_text$_props; + } + }; + R._$$DesignMainStrandExtensionTextProps$JsMap.prototype = { + get$props: function(_) { + return this._design_main_strand_extension_text$_props; + } + }; + R._$DesignMainStrandExtensionTextComponent.prototype = { + get$props: function(_) { + return this._design_main_strand_extension_text$_cachedTypedProps; + }, + set$props: function(_, value) { + this.props = value; + this._design_main_strand_extension_text$_cachedTypedProps = R._$$DesignMainStrandExtensionTextProps$JsMap$(R.getBackingMap(value)); + }, + get$displayName: function(_) { + return "DesignMainStrandExtensionText"; + }, + get$$$defaultConsumedProps: function() { + return C.Map_qrwEo.get$values(C.Map_qrwEo); + } + }; + R.$DesignMainStrandExtensionTextPropsMixin.prototype = { + get$ext: function() { + var t1 = J.$index$asx(this.get$props(this), string$.DesignMStEe); + if (t1 == null) + t1 = null; + return type$.legacy_Extension._as(t1); + }, + get$geometry: function(_) { + var t1 = J.$index$asx(this.get$props(this), string$.DesignMStEg); + if (t1 == null) + t1 = null; + return type$.legacy_Geometry._as(t1); + } + }; + R._DesignMainStrandExtensionTextComponent_UiComponent2_PureComponent.prototype = {}; + R.__$$DesignMainStrandExtensionTextProps_UiProps_DesignMainStrandExtensionTextPropsMixin.prototype = { + get$geometry: function(receiver) { + return this.DesignMainStrandExtensionTextPropsMixin_geometry; + } + }; + R.__$$DesignMainStrandExtensionTextProps_UiProps_DesignMainStrandExtensionTextPropsMixin_$DesignMainStrandExtensionTextPropsMixin.prototype = {}; + A.DesignMainStrandInsertionPropsMixin.prototype = {}; + A.DesignMainStrandInsertionComponent.prototype = { + render$0: function(_) { + var classname, pos, insertion_background, geometry, offset, pos0, dx1, dx2, t2, dy1, dy2, x0, y0, x1, x2, x3, x4, x5, y1, y2, insertion_path, $length, dy_text, background_width, background_height, t3, background_y, key, text_path_props, _this = this, _null = null, + t1 = _this._design_main_strand_insertion$_cachedTypedProps; + t1 = t1.get$props(t1).$index(0, string$.DesignMStIsee); + if (H.boolConversionCheck(H._asBoolS(t1 == null ? _null : t1))) { + t1 = _this._design_main_strand_insertion$_cachedTypedProps; + t1 = t1.get$props(t1).$index(0, string$.DesignMStIr); + classname = H.boolConversionCheck(H._asBoolS(t1 == null ? _null : t1)) ? "insertion-group selected" : "insertion-group selected-pink"; + } else + classname = "insertion-group"; + if (_this._design_main_strand_insertion$_cachedTypedProps.get$selectable_insertion().is_scaffold) + classname += " scaffold"; + pos = _this._design_main_strand_insertion$_cachedTypedProps.get$helix().svg_base_pos$3(_this._design_main_strand_insertion$_cachedTypedProps.get$selectable_insertion().insertion.offset, _this._design_main_strand_insertion$_cachedTypedProps.get$selectable_insertion().domain.forward, _this._design_main_strand_insertion$_cachedTypedProps.get$svg_position_y()); + insertion_background = _this._insertion_background$1(pos); + geometry = _this._design_main_strand_insertion$_cachedTypedProps.get$helix().geometry; + offset = _this._design_main_strand_insertion$_cachedTypedProps.get$selectable_insertion().insertion.offset; + t1 = _this._design_main_strand_insertion$_cachedTypedProps; + t1 = t1.get$props(t1).$index(0, string$.DesignMStIc); + if (t1 == null) + t1 = _null; + type$.legacy_Color._as(t1); + pos0 = _this._design_main_strand_insertion$_cachedTypedProps.get$helix().svg_base_pos$3(offset, _this._design_main_strand_insertion$_cachedTypedProps.get$selectable_insertion().domain.forward, _this._design_main_strand_insertion$_cachedTypedProps.get$svg_position_y()); + dx1 = geometry.get$base_width_svg(); + dx2 = 0.5 * geometry.get$base_width_svg(); + t2 = _this._design_main_strand_insertion$_cachedTypedProps; + t2 = t2.get$props(t2).$index(0, string$.DesignMStId); + if (H.boolConversionCheck(H._asBoolS(t2 == null ? _null : t2)) && !_this._design_main_strand_insertion$_cachedTypedProps.get$selectable_insertion().domain.forward) { + dx1 = -dx1; + dx2 = -dx2; + } + dy1 = 2 * geometry.get$base_height_svg(); + dy2 = 2 * geometry.get$base_height_svg(); + if (_this._design_main_strand_insertion$_cachedTypedProps.get$selectable_insertion().domain.forward) { + dy1 = -dy1; + dy2 = -dy2; + dx1 = -dx1; + dx2 = -dx2; + } + x0 = pos0.x; + y0 = pos0.y; + if (typeof x0 !== "number") + return x0.$add(); + x1 = C.JSNumber_methods.toStringAsFixed$1(x0 + dx1, 2); + x2 = C.JSNumber_methods.toStringAsFixed$1(x0 + dx2, 2); + x3 = C.JSNumber_methods.toStringAsFixed$1(x0, 2); + x4 = C.JSNumber_methods.toStringAsFixed$1(x0 - dx2, 2); + x5 = C.JSNumber_methods.toStringAsFixed$1(x0 - dx1, 2); + if (typeof y0 !== "number") + return y0.$add(); + y1 = C.JSNumber_methods.toStringAsFixed$1(y0 + dy1, 2); + y2 = C.JSNumber_methods.toStringAsFixed$1(y0 + dy2, 2); + t2 = A.SvgProps$($.$get$path(), _null); + t2.set$className(0, "insertion-curve"); + t1 = t1.toHexColor$0(); + t2.set$stroke(0, "#" + t1.get$rHex() + t1.get$gHex() + t1.get$bHex()); + t2.set$fill(0, "none"); + t1 = _this._design_main_strand_insertion$_cachedTypedProps.get$selectable_insertion(); + t2.set$id(0, t1.get$id(t1)); + t2.set$d(0, "M " + H.S(x0) + " " + H.S(y0) + " C " + x1 + " " + y1 + ", " + x2 + " " + y2 + ", " + x3 + " " + y2 + " C " + x4 + " " + y2 + ", " + x5 + " " + y1 + ", " + H.S(x0) + " " + H.S(y0) + " "); + t1 = _this._design_main_strand_insertion$_cachedTypedProps; + t1 = t1.get$props(t1).$index(0, "id"); + t2.set$key(0, H._asStringS(t1 == null ? _null : t1)); + insertion_path = t2.call$0(); + type$.legacy_Point_legacy_num._as(pos); + geometry = _this._design_main_strand_insertion$_cachedTypedProps.get$helix().geometry; + offset = _this._design_main_strand_insertion$_cachedTypedProps.get$selectable_insertion().insertion.offset; + $length = _this._design_main_strand_insertion$_cachedTypedProps.get$selectable_insertion().insertion.length; + dy_text = H.S(0.2 * geometry.get$base_height_svg()); + t1 = $._browser; + if (t1 == null) { + $.Browser_navigator = new G._HtmlNavigator(); + t1 = $._browser = L.Browser_getCurrentBrowser(); + } + t1.toString; + if (t1 === $.$get$firefox()) + dy_text = H.S(0.14 * geometry.get$base_height_svg()); + background_width = geometry.get$base_width_svg(); + background_height = 1.5 * geometry.get$base_height_svg(); + t1 = pos.x; + if (typeof t1 !== "number") + return t1.$sub(); + t2 = pos.y; + t3 = geometry.get$base_height_svg(); + if (typeof t2 !== "number") + return t2.$sub(); + background_y = t2 - t3 / 2; + background_y = _this._design_main_strand_insertion$_cachedTypedProps.get$selectable_insertion().domain.forward ? background_y - background_height : background_y + geometry.get$base_height_svg(); + key = "num-insertion-H" + _this._design_main_strand_insertion$_cachedTypedProps.get$selectable_insertion().domain.helix + "-" + offset; + text_path_props = A.SvgProps$($.$get$textPath(), _null); + text_path_props.set$startOffset(0, "50%"); + t2 = _this._design_main_strand_insertion$_cachedTypedProps.get$selectable_insertion(); + text_path_props.set$xlinkHref("#" + t2.get$id(t2)); + text_path_props.set$className(0, "insertion-length"); + t2 = A.SvgProps$($.$get$g(), _null); + t2.set$key(0, key); + t3 = A.SvgProps$($.$get$rect(), _null); + t3.set$x(0, t1 - background_width / 2); + t3.set$y(0, background_y); + t3.set$width(0, background_width); + t3.set$height(0, background_height); + t3.set$className(0, "insertion-background"); + t3.set$key(0, "rect"); + t3 = t3.call$0(); + t1 = A.SvgProps$($.$get$text(), _null); + t1.set$dy(0, dy_text); + t1.set$key(0, "text"); + t1 = t2.call$2(t3, t1.call$1(text_path_props.call$1("" + $length))); + t3 = A.SvgProps$($.$get$g(), _null); + t3.set$id(0, _this._design_main_strand_insertion$_cachedTypedProps.get$selectable_insertion().get$id_group()); + t3.set$className(0, classname); + t3.set$onPointerDown(new A.DesignMainStrandInsertionComponent_render_closure(_this)); + t3.set$onPointerUp(new A.DesignMainStrandInsertionComponent_render_closure0(_this)); + t2 = _this._design_main_strand_insertion$_cachedTypedProps; + t2 = t2.get$props(t2).$index(0, string$.DesignMStIt); + t3.set$transform(0, H._asStringS(t2 == null ? _null : t2)); + return t3.call$3(insertion_path, insertion_background, t1); + }, + _insertion_background$1: function(pos) { + var geometry, key_background, background_width, background_height, t1, t2, t3, _this = this; + type$.legacy_Point_legacy_num._as(pos); + geometry = _this._design_main_strand_insertion$_cachedTypedProps.get$helix().geometry; + key_background = "insertion-background-H" + _this._design_main_strand_insertion$_cachedTypedProps.get$selectable_insertion().domain.helix + "-" + _this._design_main_strand_insertion$_cachedTypedProps.get$selectable_insertion().insertion.offset; + background_width = geometry.get$base_width_svg(); + background_height = geometry.get$base_height_svg(); + t1 = pos.x; + if (typeof t1 !== "number") + return t1.$sub(); + t2 = pos.y; + if (typeof t2 !== "number") + return t2.$sub(); + t3 = A.SvgProps$($.$get$rect(), null); + t3.set$className(0, "insertion-background"); + t3.set$x(0, t1 - background_width / 2); + t3.set$y(0, t2 - background_height / 2); + t3.set$width(0, background_width); + t3.set$height(0, background_height); + t3.set$onClick(0, new A.DesignMainStrandInsertionComponent__insertion_background_closure(_this)); + t3.set$key(0, key_background); + return t3.call$0(); + }, + componentDidMount$0: function() { + var t1 = "#" + this._design_main_strand_insertion$_cachedTypedProps.get$selectable_insertion().get$id_group(); + J.addEventListener$2$x(document.querySelector(t1), "contextmenu", this.get$on_context_menu()); + this.super$Component2$componentDidMount(); + }, + componentWillUnmount$0: function() { + var t1 = "#" + this._design_main_strand_insertion$_cachedTypedProps.get$selectable_insertion().get$id_group(); + J.removeEventListener$2$x(document.querySelector(t1), "contextmenu", this.get$on_context_menu()); + this.super$_UiComponent2_Component2_DisposableManagerProxy$componentWillUnmount(); + }, + on_context_menu$1: function(ev) { + var t1, t2, t3, t4; + ev = type$.legacy_MouseEvent._as(type$.legacy_Event._as(ev)); + if (!H.boolConversionCheck(ev.shiftKey)) { + ev.preventDefault(); + ev.stopPropagation(); + t1 = $.app; + t2 = D._BuiltList$of(H.setRuntimeTypeInfo([B.ContextMenuItem_ContextMenuItem(false, null, this.get$change_insertion_length(), "change insertion length", null)], type$.JSArray_legacy_ContextMenuItem), type$.legacy_ContextMenuItem); + t3 = ev.pageX; + t3.toString; + t4 = ev.pageY; + t4.toString; + t1.dispatch$1(U._$ContextMenuShow$_(B._$ContextMenu$_(t2, new P.Point(t3, t4, type$.Point_num)))); + } + }, + change_insertion_length$0: function() { + var $async$goto = 0, + $async$completer = P._makeAsyncAwaitCompleter(type$.dynamic), + $async$returnValue, $async$self = this, t1, t2, t3, action, new_length; + var $async$change_insertion_length$0 = P._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { + if ($async$errorCode === 1) + return P._asyncRethrow($async$result, $async$completer); + while (true) + switch ($async$goto) { + case 0: + // Function start + $async$goto = 3; + return P._asyncAwait(R.ask_for_length("change insertion length", $async$self._design_main_strand_insertion$_cachedTypedProps.get$selectable_insertion().insertion.length, C.DialogType_set_insertion_length, 1, "Changes the insertion length. \n\nKeep in mind that the insertion length is the number of *extra* bases.\nSo for example an insertion length of 1 would represent at that offset\n2 total bases: the original base and the 1 extra base from the insertion.\n"), $async$change_insertion_length$0); + case 3: + // returning from await. + new_length = $async$result; + if (new_length === $async$self._design_main_strand_insertion$_cachedTypedProps.get$selectable_insertion().insertion.length) { + // goto return + $async$goto = 1; + break; + } + t1 = $.app.store; + t1 = t1.get$state(t1).ui_state.selectables_store.get$selected_insertions()._set; + t2 = t1.get$length(t1); + if (typeof t2 !== "number") { + $async$returnValue = t2.$gt(); + // goto return + $async$goto = 1; + break; + } + if (t2 > 0) { + t2 = H.setRuntimeTypeInfo([], type$.JSArray_legacy_Insertion); + for (t3 = t1.get$iterator(t1); t3.moveNext$0();) + t2.push(t3.get$current(t3).insertion); + t3 = H.setRuntimeTypeInfo([], type$.JSArray_legacy_Domain); + for (t1 = t1.get$iterator(t1); t1.moveNext$0();) + t3.push(t1.get$current(t1).domain); + action = U.InsertionsLengthChange_InsertionsLengthChange(t3, t2, new_length); + } else + action = U.InsertionLengthChange_InsertionLengthChange($async$self._design_main_strand_insertion$_cachedTypedProps.get$selectable_insertion().domain, $async$self._design_main_strand_insertion$_cachedTypedProps.get$selectable_insertion().insertion, new_length); + $.app.dispatch$1(action); + case 1: + // return + return P._asyncReturn($async$returnValue, $async$completer); + } + }); + return P._asyncStartSync($async$change_insertion_length$0, $async$completer); + } + }; + A.DesignMainStrandInsertionComponent_render_closure.prototype = { + call$1: function(ev) { + var t1, t2, t3; + type$.legacy_SyntheticPointerEvent._as(ev); + t1 = this.$this; + t2 = t1._design_main_strand_insertion$_cachedTypedProps.get$selectable_insertion(); + t3 = $.app.store; + if (!t3.get$state(t3).ui_state.storables.edit_modes._set.contains$1(0, C.EditModeChoice_select)) { + t3 = $.app.store; + t3 = t3.get$state(t3).ui_state.storables.edit_modes._set.contains$1(0, C.EditModeChoice_rope_select); + } else + t3 = true; + if (t3) { + t3 = $.app.store; + t2 = t3.get$state(t3).ui_state.storables.select_mode_state.modes._set.contains$1(0, C.SelectModeChoice_insertion) && E.origami_type_selectable(t2); + } else + t2 = false; + if (t2) + t1._design_main_strand_insertion$_cachedTypedProps.get$selectable_insertion().handle_selection_mouse_down$1(type$.legacy_MouseEvent._as(J.get$nativeEvent$x(ev))); + }, + $signature: 18 + }; + A.DesignMainStrandInsertionComponent_render_closure0.prototype = { + call$1: function(ev) { + var t1, t2, t3; + type$.legacy_SyntheticPointerEvent._as(ev); + t1 = this.$this; + t2 = t1._design_main_strand_insertion$_cachedTypedProps.get$selectable_insertion(); + t3 = $.app.store; + if (!t3.get$state(t3).ui_state.storables.edit_modes._set.contains$1(0, C.EditModeChoice_select)) { + t3 = $.app.store; + t3 = t3.get$state(t3).ui_state.storables.edit_modes._set.contains$1(0, C.EditModeChoice_rope_select); + } else + t3 = true; + if (t3) { + t3 = $.app.store; + t2 = t3.get$state(t3).ui_state.storables.select_mode_state.modes._set.contains$1(0, C.SelectModeChoice_insertion) && E.origami_type_selectable(t2); + } else + t2 = false; + if (t2) + t1._design_main_strand_insertion$_cachedTypedProps.get$selectable_insertion().handle_selection_mouse_up$1(type$.legacy_MouseEvent._as(J.get$nativeEvent$x(ev))); + }, + $signature: 18 + }; + A.DesignMainStrandInsertionComponent__insertion_background_closure.prototype = { + call$1: function(_) { + var t1; + type$.legacy_SyntheticMouseEvent._as(_); + t1 = $.app.store; + if (t1.get$state(t1).ui_state.storables.edit_modes._set.contains$1(0, C.EditModeChoice_insertion)) { + t1 = this.$this; + $.app.dispatch$1(U.InsertionRemove_InsertionRemove(t1._design_main_strand_insertion$_cachedTypedProps.get$selectable_insertion().domain, t1._design_main_strand_insertion$_cachedTypedProps.get$selectable_insertion().insertion)); + } + }, + $signature: 17 + }; + A.$DesignMainStrandInsertionComponentFactory_closure.prototype = { + call$0: function() { + return new A._$DesignMainStrandInsertionComponent(null); + }, + "call*": "call$0", + $requiredArgCount: 0, + $signature: 478 + }; + A._$$DesignMainStrandInsertionProps.prototype = { + get$$$isClassGenerated: function() { + return true; + }, + get$componentFactory: function() { + var t1 = this.componentFactory; + return t1 == null ? $.$get$$DesignMainStrandInsertionComponentFactory() : t1; + } + }; + A._$$DesignMainStrandInsertionProps$PlainMap.prototype = { + get$props: function(_) { + return this._design_main_strand_insertion$_props; + } + }; + A._$$DesignMainStrandInsertionProps$JsMap.prototype = { + get$props: function(_) { + return this._design_main_strand_insertion$_props; + } + }; + A._$DesignMainStrandInsertionComponent.prototype = { + get$props: function(_) { + return this._design_main_strand_insertion$_cachedTypedProps; + }, + set$props: function(_, value) { + this.props = value; + this._design_main_strand_insertion$_cachedTypedProps = A._$$DesignMainStrandInsertionProps$JsMap$(R.getBackingMap(value)); + }, + get$displayName: function(_) { + return "DesignMainStrandInsertion"; + }, + get$$$defaultConsumedProps: function() { + return C.Map_mu0ib.get$values(C.Map_mu0ib); + } + }; + A.$DesignMainStrandInsertionPropsMixin.prototype = { + get$selectable_insertion: function() { + var t1 = J.$index$asx(this.get$props(this), string$.DesignMStIsea); + if (t1 == null) + t1 = null; + return type$.legacy_SelectableInsertion._as(t1); + }, + get$helix: function() { + var t1 = J.$index$asx(this.get$props(this), string$.DesignMStIh); + if (t1 == null) + t1 = null; + return type$.legacy_Helix._as(t1); + }, + get$svg_position_y: function() { + var t1 = J.$index$asx(this.get$props(this), string$.DesignMStIsv); + return H._asNumS(t1 == null ? null : t1); + } + }; + A._DesignMainStrandInsertionComponent_UiComponent2_PureComponent.prototype = {}; + A.__$$DesignMainStrandInsertionProps_UiProps_DesignMainStrandInsertionPropsMixin.prototype = {}; + A.__$$DesignMainStrandInsertionProps_UiProps_DesignMainStrandInsertionPropsMixin_$DesignMainStrandInsertionPropsMixin.prototype = {}; + R.DesignMainLoopoutPropsMixin.prototype = { + set$helices: function(helices) { + this.DesignMainLoopoutPropsMixin_helices = type$.legacy_BuiltMap_of_legacy_int_and_legacy_Helix._as(helices); + }, + set$groups: function(groups) { + this.DesignMainLoopoutPropsMixin_groups = type$.legacy_BuiltMap_of_legacy_String_and_legacy_HelixGroup._as(groups); + }, + set$geometry: function(_, geometry) { + this.DesignMainLoopoutPropsMixin_geometry = type$.legacy_Geometry._as(geometry); + }, + get$helices: function() { + return this.DesignMainLoopoutPropsMixin_helices; + }, + get$groups: function() { + return this.DesignMainLoopoutPropsMixin_groups; + }, + get$geometry: function(receiver) { + return this.DesignMainLoopoutPropsMixin_geometry; + } + }; + R.DesignMainLoopoutState.prototype = {$isMap: 1}; + R.DesignMainLoopoutComponent.prototype = { + get$initialState: function() { + var t1 = this.typedStateFactoryJs$1(new L.JsBackedMap({})); + t1.set$mouse_hover(false); + return t1; + }, + render$0: function(_) { + var classname, tooltip, within_group, t2, t3, t4, t5, t6, path_description, prev_offset, next_offset, prev_group, next_group, prev_svg_untransformed, next_svg_untransformed, prev_svg, next_svg, w, h, prev_c, next_c, path, color, path_props, _this = this, _null = null, + t1 = _this._design_main_strand_loopout$_cachedTypedProps; + t1 = t1.get$props(t1).$index(0, "DesignMainLoopoutPropsMixin.selected"); + if (H.boolConversionCheck(H._asBoolS(t1 == null ? _null : t1))) { + t1 = _this._design_main_strand_loopout$_cachedTypedProps; + t1 = t1.get$props(t1).$index(0, string$.DesignMLPr); + classname = H.boolConversionCheck(H._asBoolS(t1 == null ? _null : t1)) ? "loopout-curve selected" : "loopout-curve selected-pink"; + } else + classname = "loopout-curve"; + if (_this._design_main_strand_loopout$_cachedTypedProps.get$strand().is_scaffold) + classname += " scaffold"; + tooltip = "loopout: length " + _this._design_main_strand_loopout$_cachedTypedProps.get$loopout().loopout_num_bases; + within_group = _this._design_main_strand_loopout$_cachedTypedProps.get$prev_helix().group === _this._design_main_strand_loopout$_cachedTypedProps.get$next_helix().group; + t1 = _this._design_main_strand_loopout$_cachedTypedProps; + if (within_group) { + t1 = t1.get$prev_helix(); + t2 = _this._design_main_strand_loopout$_cachedTypedProps.get$next_helix(); + t3 = _this._design_main_strand_loopout$_cachedTypedProps.get$prev_domain(); + t4 = _this._design_main_strand_loopout$_cachedTypedProps.get$next_domain(); + t5 = _this._design_main_strand_loopout$_cachedTypedProps.get$loopout(); + t6 = _this._design_main_strand_loopout$_cachedTypedProps; + t6 = t6.get$props(t6).$index(0, string$.DesignMLPs); + path_description = R.loopout_path_description_within_group(t1, t2, t3, t4, t5, true, H._asBoolS(t6 == null ? _null : t6), _this._design_main_strand_loopout$_cachedTypedProps.get$prev_helix_svg_position_y(), _this._design_main_strand_loopout$_cachedTypedProps.get$next_helix_svg_position_y()); + } else { + t1 = t1.get$prev_domain(); + t1 = t1.forward ? t1.get$dnaend_end() : t1.get$dnaend_start(); + prev_offset = t1.offset; + if (!t1.is_start) { + if (typeof prev_offset !== "number") + return prev_offset.$sub(); + --prev_offset; + } + t1 = _this._design_main_strand_loopout$_cachedTypedProps.get$next_domain(); + t1 = t1.forward ? t1.get$dnaend_start() : t1.get$dnaend_end(); + next_offset = t1.offset; + if (!t1.is_start) { + if (typeof next_offset !== "number") + return next_offset.$sub(); + --next_offset; + } + t1 = _this._design_main_strand_loopout$_cachedTypedProps.get$groups(); + t2 = _this._design_main_strand_loopout$_cachedTypedProps.get$prev_helix().group; + prev_group = J.$index$asx(t1._map$_map, t2); + t2 = _this._design_main_strand_loopout$_cachedTypedProps.get$groups(); + t1 = _this._design_main_strand_loopout$_cachedTypedProps.get$next_helix().group; + next_group = J.$index$asx(t2._map$_map, t1); + prev_svg_untransformed = _this._design_main_strand_loopout$_cachedTypedProps.get$prev_helix().svg_base_pos$3(prev_offset, _this._design_main_strand_loopout$_cachedTypedProps.get$prev_domain().forward, _this._design_main_strand_loopout$_cachedTypedProps.get$prev_helix_svg_position_y()); + next_svg_untransformed = _this._design_main_strand_loopout$_cachedTypedProps.get$next_helix().svg_base_pos$3(next_offset, _this._design_main_strand_loopout$_cachedTypedProps.get$next_domain().forward, _this._design_main_strand_loopout$_cachedTypedProps.get$next_helix_svg_position_y()); + t1 = _this._design_main_strand_loopout$_cachedTypedProps; + prev_svg = prev_group.transform_point_main_view$2(prev_svg_untransformed, t1.get$geometry(t1)); + t1 = _this._design_main_strand_loopout$_cachedTypedProps; + next_svg = next_group.transform_point_main_view$2(next_svg_untransformed, t1.get$geometry(t1)); + t1 = Math.exp(-_this._design_main_strand_loopout$_cachedTypedProps.get$loopout().loopout_num_bases); + t2 = _this._design_main_strand_loopout$_cachedTypedProps; + w = 2 * (1 / (1 + t1)) * t2.get$geometry(t2).get$base_width_svg(); + t2 = Math.exp(-(_this._design_main_strand_loopout$_cachedTypedProps.get$loopout().loopout_num_bases - 3)); + t1 = _this._design_main_strand_loopout$_cachedTypedProps; + h = 10 * (1 / (1 + t2)) * t1.get$geometry(t1).get$base_height_svg(); + t1 = prev_svg.y; + if (typeof t1 !== "number") + return t1.$add(); + t2 = next_svg.y; + if (typeof t2 !== "number") + return t2.$sub(); + t3 = prev_svg.x; + if (typeof t3 !== "number") + return t3.$add(); + t4 = next_svg.x; + if (typeof t4 !== "number") + return t4.$add(); + t5 = type$.Point_legacy_num; + prev_c = E.rotate(new P.Point(t3 + w, t1 + h, t5), prev_group.pitch, prev_svg); + next_c = E.rotate(new P.Point(t4 + w, t2 - h, t5), next_group.pitch, next_svg); + path = "M " + H.S(t3) + " " + H.S(t1) + " C " + H.S(prev_c.x) + " " + H.S(prev_c.y) + " " + H.S(next_c.x) + " " + H.S(next_c.y) + " " + H.S(t4) + " " + H.S(t2); + path_description = path; + } + color = _this._design_main_strand_loopout$_cachedTypedProps.get$loopout().color; + if (color == null) { + t1 = _this._design_main_strand_loopout$_cachedTypedProps; + t1 = t1.get$props(t1).$index(0, "DesignMainLoopoutPropsMixin.strand_color"); + if (t1 == null) + t1 = _null; + type$.legacy_Color._as(t1); + color = t1; + } + path_props = A.SvgProps$($.$get$path(), _null); + path_props.set$className(0, classname); + t1 = color.toHexColor$0(); + path_props.set$stroke(0, "#" + t1.get$rHex() + t1.get$gHex() + t1.get$bHex()); + path_props.set$d(0, path_description); + path_props.set$onMouseEnter(0, new R.DesignMainLoopoutComponent_render_closure(_this)); + path_props.set$onMouseLeave(0, new R.DesignMainLoopoutComponent_render_closure0(_this)); + path_props.set$onPointerDown(new R.DesignMainLoopoutComponent_render_closure1(_this)); + path_props.set$onPointerUp(new R.DesignMainLoopoutComponent_render_closure2(_this)); + t1 = _this._design_main_strand_loopout$_cachedTypedProps.get$loopout(); + path_props.set$key(0, t1.get$id(t1)); + t1 = _this._design_main_strand_loopout$_cachedTypedProps.get$loopout(); + path_props.set$id(0, t1.get$id(t1)); + if (within_group) + path_props.set$transform(0, _this.transform_of_helix$1(_this._design_main_strand_loopout$_cachedTypedProps.get$prev_helix().idx)); + return path_props.call$1(A.SvgProps$($.$get$title(), _null).call$1(tooltip)); + }, + componentDidMount$0: function() { + var t1 = this._design_main_strand_loopout$_cachedTypedProps.get$loopout(); + t1 = "#" + t1.get$id(t1); + J.addEventListener$2$x(document.querySelector(t1), "contextmenu", this.get$on_context_menu()); + }, + componentWillUnmount$0: function() { + var t1 = this._design_main_strand_loopout$_cachedTypedProps.get$loopout(); + t1 = "#" + t1.get$id(t1); + J.removeEventListener$2$x(document.querySelector(t1), "contextmenu", this.get$on_context_menu()); + }, + on_context_menu$1: function(ev) { + var t1, t2, t3, t4; + ev = type$.legacy_MouseEvent._as(type$.legacy_Event._as(ev)); + if (!H.boolConversionCheck(ev.shiftKey)) { + ev.preventDefault(); + ev.stopPropagation(); + t1 = $.app; + t2 = D._BuiltList$of(this.context_menu_loopout$0(), type$.legacy_ContextMenuItem); + t3 = ev.pageX; + t3.toString; + t4 = ev.pageY; + t4.toString; + t1.dispatch$1(U._$ContextMenuShow$_(B._$ContextMenu$_(t2, new P.Point(t3, t4, type$.Point_num)))); + } + }, + context_menu_loopout$0: function() { + var _this = this, _null = null, + t1 = H.setRuntimeTypeInfo([B.ContextMenuItem_ContextMenuItem(false, _null, _this.get$loopout_length_change(), "change loopout length", _null), B.ContextMenuItem_ContextMenuItem(false, _null, _this.get$set_loopout_name(), "set loopout name", _null)], type$.JSArray_legacy_ContextMenuItem); + if (_this._design_main_strand_loopout$_cachedTypedProps.get$loopout().name != null) + t1.push(B.ContextMenuItem_ContextMenuItem(false, _null, new R.DesignMainLoopoutComponent_context_menu_loopout_closure(), "remove loopout name", _null)); + t1.push(B.ContextMenuItem_ContextMenuItem(false, _null, _this.get$set_loopout_label(), "set loopout label", _null)); + if (_this._design_main_strand_loopout$_cachedTypedProps.get$loopout().label != null) + t1.push(B.ContextMenuItem_ContextMenuItem(false, _null, new R.DesignMainLoopoutComponent_context_menu_loopout_closure0(), "remove loopout label", _null)); + t1.push(B.ContextMenuItem_ContextMenuItem(false, _null, new R.DesignMainLoopoutComponent_context_menu_loopout_closure1(_this), "set loopout color", _null)); + if (_this._design_main_strand_loopout$_cachedTypedProps.get$loopout().color != null) + t1.push(B.ContextMenuItem_ContextMenuItem(false, _null, new R.DesignMainLoopoutComponent_context_menu_loopout_closure2(_this), "remove loopout color", _null)); + return t1; + }, + loopout_length_change$0: function() { + var $async$goto = 0, + $async$completer = P._makeAsyncAwaitCompleter(type$.dynamic), + $async$returnValue, $async$self = this, t1, selected_loopouts, action, new_length; + var $async$loopout_length_change$0 = P._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { + if ($async$errorCode === 1) + return P._asyncRethrow($async$result, $async$completer); + while (true) + switch ($async$goto) { + case 0: + // Function start + $async$goto = 3; + return P._asyncAwait($.app.disable_keyboard_shortcuts_while$1$1(new R.DesignMainLoopoutComponent_loopout_length_change_closure($async$self), type$.legacy_int), $async$loopout_length_change$0); + case 3: + // returning from await. + new_length = $async$result; + if (new_length == null || new_length === $async$self._design_main_strand_loopout$_cachedTypedProps.get$loopout().loopout_num_bases) { + // goto return + $async$goto = 1; + break; + } + t1 = $.app.store; + selected_loopouts = t1.get$state(t1).ui_state.selectables_store.get$selected_loopouts(); + t1 = selected_loopouts._set; + t1 = t1.get$length(t1); + if (typeof t1 !== "number") { + $async$returnValue = t1.$gt(); + // goto return + $async$goto = 1; + break; + } + action = t1 > 0 ? U.LoopoutsLengthChange_LoopoutsLengthChange(selected_loopouts, new_length) : U.LoopoutLengthChange_LoopoutLengthChange($async$self._design_main_strand_loopout$_cachedTypedProps.get$loopout(), new_length); + $.app.dispatch$1(action); + case 1: + // return + return P._asyncReturn($async$returnValue, $async$completer); + } + }); + return P._asyncStartSync($async$loopout_length_change$0, $async$completer); + }, + set_loopout_name$0: function() { + return $.app.disable_keyboard_shortcuts_while$1$1(this.get$ask_for_loopout_name(), type$.void); + }, + set_loopout_label$0: function() { + return $.app.disable_keyboard_shortcuts_while$1$1(new R.DesignMainLoopoutComponent_set_loopout_label_closure(this), type$.void); + }, + ask_for_loopout_name$0: function() { + var $async$goto = 0, + $async$completer = P._makeAsyncAwaitCompleter(type$.void), + $async$returnValue, $async$self = this, results, $name, t2, items, t1; + var $async$ask_for_loopout_name$0 = P._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { + if ($async$errorCode === 1) + return P._asyncRethrow($async$result, $async$completer); + while (true) + switch ($async$goto) { + case 0: + // Function start + items = P.List_List$filled(1, null, false, type$.legacy_DialogItem); + t1 = $async$self._design_main_strand_loopout$_cachedTypedProps.get$loopout().name; + C.JSArray_methods.$indexSet(items, 0, E.DialogText_DialogText("name", null, t1 == null ? "" : t1)); + $async$goto = 3; + return P._asyncAwait(E.dialog(E.Dialog_Dialog(C.Set_empty, C.Map_empty2, C.Map_empty2, C.Map_empty3, items, C.List_empty1, E.dialog_Dialog_identity_function$closure(), "set loopout name", C.DialogType_set_loopout_name, true)), $async$ask_for_loopout_name$0); + case 3: + // returning from await. + results = $async$result; + if (results == null) { + // goto return + $async$goto = 1; + break; + } + $name = type$.legacy_DialogText._as(J.$index$asx(results, 0)).value; + t1 = $.app; + t2 = t1.store; + t2 = t2.get$state(t2).ui_state.selectables_store.get$selected_loopouts(); + t1.dispatch$1(U.BatchAction_BatchAction(t2._set.map$1$1(0, t2.$ti._eval$1("UndoableAction*(1)")._as(new R.DesignMainLoopoutComponent_ask_for_loopout_name_closure($name)), type$.legacy_UndoableAction), "set loopout names")); + case 1: + // return + return P._asyncReturn($async$returnValue, $async$completer); + } + }); + return P._asyncStartSync($async$ask_for_loopout_name$0, $async$completer); + } + }; + R.DesignMainLoopoutComponent_render_closure.prototype = { + call$1: function(ev) { + var t1, t2; + type$.legacy_SyntheticMouseEvent._as(ev); + t1 = this.$this; + t2 = t1.typedStateFactoryJs$1(new L.JsBackedMap({})); + t2.set$mouse_hover(true); + t1.setState$1(0, t2); + }, + $signature: 17 + }; + R.DesignMainLoopoutComponent_render_closure0.prototype = { + call$1: function(_) { + var t1, t2; + type$.legacy_SyntheticMouseEvent._as(_); + t1 = this.$this; + t2 = t1.typedStateFactoryJs$1(new L.JsBackedMap({})); + t2.set$mouse_hover(false); + t1.setState$1(0, t2); + }, + $signature: 17 + }; + R.DesignMainLoopoutComponent_render_closure1.prototype = { + call$1: function(ev) { + var t1, t2, t3; + type$.legacy_SyntheticPointerEvent._as(ev); + t1 = this.$this; + t2 = t1._design_main_strand_loopout$_cachedTypedProps.get$loopout(); + t3 = $.app.store; + if (!t3.get$state(t3).ui_state.storables.edit_modes._set.contains$1(0, C.EditModeChoice_select)) { + t3 = $.app.store; + t3 = t3.get$state(t3).ui_state.storables.edit_modes._set.contains$1(0, C.EditModeChoice_rope_select); + } else + t3 = true; + if (t3) { + t3 = $.app.store; + t2 = t3.get$state(t3).ui_state.storables.select_mode_state.modes._set.contains$1(0, C.SelectModeChoice_loopout) && E.origami_type_selectable(t2); + } else + t2 = false; + if (t2) + t1._design_main_strand_loopout$_cachedTypedProps.get$loopout().handle_selection_mouse_down$1(type$.legacy_MouseEvent._as(J.get$nativeEvent$x(ev))); + }, + $signature: 18 + }; + R.DesignMainLoopoutComponent_render_closure2.prototype = { + call$1: function(ev) { + var t1, t2, t3; + type$.legacy_SyntheticPointerEvent._as(ev); + t1 = this.$this; + t2 = t1._design_main_strand_loopout$_cachedTypedProps.get$loopout(); + t3 = $.app.store; + if (!t3.get$state(t3).ui_state.storables.edit_modes._set.contains$1(0, C.EditModeChoice_select)) { + t3 = $.app.store; + t3 = t3.get$state(t3).ui_state.storables.edit_modes._set.contains$1(0, C.EditModeChoice_rope_select); + } else + t3 = true; + if (t3) { + t3 = $.app.store; + t2 = t3.get$state(t3).ui_state.storables.select_mode_state.modes._set.contains$1(0, C.SelectModeChoice_loopout) && E.origami_type_selectable(t2); + } else + t2 = false; + if (t2) + t1._design_main_strand_loopout$_cachedTypedProps.get$loopout().handle_selection_mouse_up$1(type$.legacy_MouseEvent._as(J.get$nativeEvent$x(ev))); + }, + $signature: 18 + }; + R.DesignMainLoopoutComponent_context_menu_loopout_closure.prototype = { + call$0: function() { + var t1 = $.app, + t2 = t1.store; + t2 = t2.get$state(t2).ui_state.selectables_store.get$selected_loopouts(); + return t1.dispatch$1(U.BatchAction_BatchAction(t2._set.map$1$1(0, t2.$ti._eval$1("UndoableAction*(1)")._as(new R.DesignMainLoopoutComponent_context_menu_loopout__closure0()), type$.legacy_UndoableAction), "remove loopout names")); + }, + $signature: 1 + }; + R.DesignMainLoopoutComponent_context_menu_loopout__closure0.prototype = { + call$1: function(l) { + return U._$SubstrandNameSet$_(null, type$.legacy_Loopout._as(l)); + }, + $signature: 156 + }; + R.DesignMainLoopoutComponent_context_menu_loopout_closure0.prototype = { + call$0: function() { + var t1 = $.app, + t2 = t1.store; + t2 = t2.get$state(t2).ui_state.selectables_store.get$selected_loopouts(); + return t1.dispatch$1(U.BatchAction_BatchAction(t2._set.map$1$1(0, t2.$ti._eval$1("UndoableAction*(1)")._as(new R.DesignMainLoopoutComponent_context_menu_loopout__closure()), type$.legacy_UndoableAction), "remove loopout names")); + }, + $signature: 1 + }; + R.DesignMainLoopoutComponent_context_menu_loopout__closure.prototype = { + call$1: function(l) { + return U._$SubstrandLabelSet$_(null, type$.legacy_Loopout._as(l)); + }, + $signature: 480 + }; + R.DesignMainLoopoutComponent_context_menu_loopout_closure1.prototype = { + call$0: function() { + var t1 = this.$this; + return $.app.dispatch$1(U._$StrandOrSubstrandColorPickerShow$_(t1._design_main_strand_loopout$_cachedTypedProps.get$strand(), t1._design_main_strand_loopout$_cachedTypedProps.get$loopout())); + }, + $signature: 1 + }; + R.DesignMainLoopoutComponent_context_menu_loopout_closure2.prototype = { + call$0: function() { + var t1 = this.$this; + return $.app.dispatch$1(U._$StrandOrSubstrandColorSet$_(null, t1._design_main_strand_loopout$_cachedTypedProps.get$strand(), t1._design_main_strand_loopout$_cachedTypedProps.get$loopout())); + }, + $signature: 1 + }; + R.DesignMainLoopoutComponent_loopout_length_change_closure.prototype = { + call$0: function() { + return R.ask_for_length("change loopout length (0 to convert to crossover)", this.$this._design_main_strand_loopout$_cachedTypedProps.get$loopout().loopout_num_bases, C.DialogType_set_loopout_length, 0, ""); + }, + $signature: 155 + }; + R.DesignMainLoopoutComponent_set_loopout_label_closure.prototype = { + call$0: function() { + var t3, + t1 = this.$this, + t2 = t1._design_main_strand_loopout$_cachedTypedProps.get$strand(); + t1 = t1._design_main_strand_loopout$_cachedTypedProps.get$loopout(); + t3 = $.app.store; + return M.ask_for_label(t2, t1, t3.get$state(t3).ui_state.selectables_store.get$selected_loopouts(), type$.legacy_Loopout); + }, + $signature: 6 + }; + R.DesignMainLoopoutComponent_ask_for_loopout_name_closure.prototype = { + call$1: function(l) { + return U._$SubstrandNameSet$_(this.name, type$.legacy_Loopout._as(l)); + }, + $signature: 156 + }; + R.$DesignMainLoopoutComponentFactory_closure.prototype = { + call$0: function() { + return new R._$DesignMainLoopoutComponent(null); + }, + "call*": "call$0", + $requiredArgCount: 0, + $signature: 481 + }; + R._$$DesignMainLoopoutProps.prototype = { + get$$$isClassGenerated: function() { + return true; + }, + get$componentFactory: function() { + var t1 = this.componentFactory; + return t1 == null ? $.$get$$DesignMainLoopoutComponentFactory() : t1; + } + }; + R._$$DesignMainLoopoutProps$PlainMap.prototype = { + get$props: function(_) { + return this._design_main_strand_loopout$_props; + } + }; + R._$$DesignMainLoopoutProps$JsMap.prototype = { + get$props: function(_) { + return this._design_main_strand_loopout$_props; + } + }; + R._$$DesignMainLoopoutState.prototype = { + get$$$isClassGenerated: function() { + return true; + } + }; + R._$$DesignMainLoopoutState$JsMap.prototype = { + get$state: function(_) { + return this._design_main_strand_loopout$_state; + } + }; + R._$DesignMainLoopoutComponent.prototype = { + get$props: function(_) { + return this._design_main_strand_loopout$_cachedTypedProps; + }, + set$props: function(_, value) { + this.props = value; + this._design_main_strand_loopout$_cachedTypedProps = R._$$DesignMainLoopoutProps$JsMap$(R.getBackingMap(value)); + }, + get$state: function(_) { + return this._design_main_strand_loopout$_cachedTypedState; + }, + set$state: function(_, value) { + this.state = value; + this._design_main_strand_loopout$_cachedTypedState = R._$$DesignMainLoopoutState$JsMap$(value); + }, + typedStateFactoryJs$1: function(backingMap) { + var t1 = new R._$$DesignMainLoopoutState$JsMap(new L.JsBackedMap({}), null); + t1.get$$$isClassGenerated(); + t1._design_main_strand_loopout$_state = backingMap; + return t1; + }, + get$displayName: function(_) { + return "DesignMainLoopout"; + }, + get$$$defaultConsumedProps: function() { + return C.Map_zgaN4.get$values(C.Map_zgaN4); + } + }; + R.$DesignMainLoopoutPropsMixin.prototype = { + get$loopout: function() { + var t1 = J.$index$asx(this.get$props(this), "DesignMainLoopoutPropsMixin.loopout"); + if (t1 == null) + t1 = null; + return type$.legacy_Loopout._as(t1); + }, + get$strand: function() { + var t1 = J.$index$asx(this.get$props(this), "DesignMainLoopoutPropsMixin.strand"); + if (t1 == null) + t1 = null; + return type$.legacy_Strand._as(t1); + }, + get$prev_domain: function() { + var t1 = J.$index$asx(this.get$props(this), "DesignMainLoopoutPropsMixin.prev_domain"); + if (t1 == null) + t1 = null; + return type$.legacy_Domain._as(t1); + }, + get$next_domain: function() { + var t1 = J.$index$asx(this.get$props(this), "DesignMainLoopoutPropsMixin.next_domain"); + if (t1 == null) + t1 = null; + return type$.legacy_Domain._as(t1); + }, + get$prev_helix: function() { + var t1 = J.$index$asx(this.get$props(this), "DesignMainLoopoutPropsMixin.prev_helix"); + if (t1 == null) + t1 = null; + return type$.legacy_Helix._as(t1); + }, + get$next_helix: function() { + var t1 = J.$index$asx(this.get$props(this), "DesignMainLoopoutPropsMixin.next_helix"); + if (t1 == null) + t1 = null; + return type$.legacy_Helix._as(t1); + }, + get$helices: function() { + var t1 = J.$index$asx(this.get$props(this), "DesignMainLoopoutPropsMixin.helices"); + if (t1 == null) + t1 = null; + return type$.legacy_BuiltMap_of_legacy_int_and_legacy_Helix._as(t1); + }, + set$helices: function(value) { + type$.legacy_BuiltMap_of_legacy_int_and_legacy_Helix._as(value); + J.$indexSet$ax(this.get$props(this), "DesignMainLoopoutPropsMixin.helices", value); + }, + get$groups: function() { + var t1 = J.$index$asx(this.get$props(this), "DesignMainLoopoutPropsMixin.groups"); + if (t1 == null) + t1 = null; + return type$.legacy_BuiltMap_of_legacy_String_and_legacy_HelixGroup._as(t1); + }, + set$groups: function(value) { + type$.legacy_BuiltMap_of_legacy_String_and_legacy_HelixGroup._as(value); + J.$indexSet$ax(this.get$props(this), "DesignMainLoopoutPropsMixin.groups", value); + }, + get$geometry: function(_) { + var t1 = J.$index$asx(this.get$props(this), "DesignMainLoopoutPropsMixin.geometry"); + if (t1 == null) + t1 = null; + return type$.legacy_Geometry._as(t1); + }, + set$geometry: function(_, value) { + J.$indexSet$ax(this.get$props(this), "DesignMainLoopoutPropsMixin.geometry", value); + }, + get$prev_helix_svg_position_y: function() { + var t1 = J.$index$asx(this.get$props(this), string$.DesignMLPp); + return H._asNumS(t1 == null ? null : t1); + }, + get$next_helix_svg_position_y: function() { + var t1 = J.$index$asx(this.get$props(this), string$.DesignMLPn); + return H._asNumS(t1 == null ? null : t1); + } + }; + R.$DesignMainLoopoutState.prototype = { + set$mouse_hover: function(value) { + this._design_main_strand_loopout$_state.jsObject["DesignMainLoopoutState.mouse_hover"] = F.DartValueWrapper_wrapIfNeeded(value); + } + }; + R._DesignMainLoopoutComponent_UiStatefulComponent2_PureComponent.prototype = {}; + R._DesignMainLoopoutComponent_UiStatefulComponent2_PureComponent_TransformByHelixGroup.prototype = {}; + R.__$$DesignMainLoopoutProps_UiProps_DesignMainLoopoutPropsMixin.prototype = { + set$helices: function(helices) { + this.DesignMainLoopoutPropsMixin_helices = type$.legacy_BuiltMap_of_legacy_int_and_legacy_Helix._as(helices); + }, + set$groups: function(groups) { + this.DesignMainLoopoutPropsMixin_groups = type$.legacy_BuiltMap_of_legacy_String_and_legacy_HelixGroup._as(groups); + }, + set$geometry: function(_, geometry) { + this.DesignMainLoopoutPropsMixin_geometry = type$.legacy_Geometry._as(geometry); + }, + get$helices: function() { + return this.DesignMainLoopoutPropsMixin_helices; + }, + get$groups: function() { + return this.DesignMainLoopoutPropsMixin_groups; + }, + get$geometry: function(receiver) { + return this.DesignMainLoopoutPropsMixin_geometry; + } + }; + R.__$$DesignMainLoopoutProps_UiProps_DesignMainLoopoutPropsMixin_$DesignMainLoopoutPropsMixin.prototype = {}; + R.__$$DesignMainLoopoutProps_UiProps_DesignMainLoopoutPropsMixin_$DesignMainLoopoutPropsMixin_TransformByHelixGroupPropsMixin.prototype = { + set$helices: function(helices) { + this.TransformByHelixGroupPropsMixin_helices = type$.legacy_BuiltMap_of_legacy_int_and_legacy_Helix._as(helices); + }, + set$groups: function(groups) { + this.TransformByHelixGroupPropsMixin_groups = type$.legacy_BuiltMap_of_legacy_String_and_legacy_HelixGroup._as(groups); + }, + set$geometry: function(_, geometry) { + this.TransformByHelixGroupPropsMixin_geometry = type$.legacy_Geometry._as(geometry); + }, + get$helices: function() { + return this.TransformByHelixGroupPropsMixin_helices; + }, + get$groups: function() { + return this.TransformByHelixGroupPropsMixin_groups; + }, + get$geometry: function(receiver) { + return this.TransformByHelixGroupPropsMixin_geometry; + } + }; + R.__$$DesignMainLoopoutProps_UiProps_DesignMainLoopoutPropsMixin_$DesignMainLoopoutPropsMixin_TransformByHelixGroupPropsMixin_$TransformByHelixGroupPropsMixin.prototype = {}; + R.__$$DesignMainLoopoutState_UiState_DesignMainLoopoutState.prototype = {}; + R.__$$DesignMainLoopoutState_UiState_DesignMainLoopoutState_$DesignMainLoopoutState.prototype = {}; + S.DesignMainStrandLoopoutTextPropsMixin.prototype = { + get$geometry: function(receiver) { + return this.DesignMainStrandLoopoutTextPropsMixin_geometry; + } + }; + S.DesignMainStrandLoopoutTextComponent.prototype = { + render$0: function(_) { + var t2, t3, t4, style_map, text_path_props, _this = this, _null = null, + t1 = _this._design_main_strand_loopout_name$_cachedTypedProps; + t1 = t1.get$geometry(t1).get$base_height_svg(); + t2 = _this._design_main_strand_loopout_name$_cachedTypedProps; + t2 = t2.get$geometry(t2).get$base_height_svg(); + t3 = _this._design_main_strand_loopout_name$_cachedTypedProps; + t3 = t3.get$props(t3).$index(0, string$.DesignMStLnu); + t3 = H._asIntS(t3 == null ? _null : t3); + if (typeof t3 !== "number") + return H.iae(t3); + t4 = _this._design_main_strand_loopout_name$_cachedTypedProps; + t4 = t4.get$props(t4).$index(0, string$.DesignMStLf); + style_map = P.LinkedHashMap_LinkedHashMap$_literal(["letterSpacing", "0em", "fontSize", H.S(H._asIntS(t4 == null ? _null : t4)) + "px"], type$.legacy_String, type$.dynamic); + text_path_props = A.SvgProps$($.$get$textPath(), _null); + t4 = _this._design_main_strand_loopout_name$_cachedTypedProps; + t4 = t4.get$props(t4).$index(0, string$.DesignMStLc); + text_path_props.set$className(0, H._asStringS(t4 == null ? _null : t4)); + t4 = _this._design_main_strand_loopout_name$_cachedTypedProps; + t4 = t4.get$props(t4).$index(0, string$.DesignMStLl); + if (t4 == null) + t4 = _null; + type$.legacy_Loopout._as(t4); + text_path_props.set$xlinkHref("#" + t4.get$id(t4)); + text_path_props.set$startOffset(0, "50%"); + text_path_props.set$_raw$DomProps$style(type$.legacy_Map_of_legacy_String_and_dynamic._as(style_map)); + t4 = A.SvgProps$($.$get$text(), _null); + t4.set$key(0, "loopout-text-H" + _this._design_main_strand_loopout_name$_cachedTypedProps.get$prev_domain().helix + "," + _this._design_main_strand_loopout_name$_cachedTypedProps.get$prev_domain().get$offset_3p() + "-H" + _this._design_main_strand_loopout_name$_cachedTypedProps.get$next_domain().helix + "," + _this._design_main_strand_loopout_name$_cachedTypedProps.get$next_domain().get$offset_5p()); + t4.set$dy(0, H.S(-0.1 * t1 - t2 * t3)); + t3 = _this._design_main_strand_loopout_name$_cachedTypedProps; + t3 = t3.get$props(t3).$index(0, string$.DesignMStLt); + return t4.call$1(text_path_props.call$1(H._asStringS(t3 == null ? _null : t3))); + } + }; + S.$DesignMainStrandLoopoutTextComponentFactory_closure.prototype = { + call$0: function() { + return new S._$DesignMainStrandLoopoutTextComponent(null); + }, + "call*": "call$0", + $requiredArgCount: 0, + $signature: 482 + }; + S._$$DesignMainStrandLoopoutTextProps.prototype = { + get$$$isClassGenerated: function() { + return true; + }, + get$componentFactory: function() { + var t1 = this.componentFactory; + return t1 == null ? $.$get$$DesignMainStrandLoopoutTextComponentFactory() : t1; + } + }; + S._$$DesignMainStrandLoopoutTextProps$PlainMap.prototype = { + get$props: function(_) { + return this._design_main_strand_loopout_name$_props; + } + }; + S._$$DesignMainStrandLoopoutTextProps$JsMap.prototype = { + get$props: function(_) { + return this._design_main_strand_loopout_name$_props; + } + }; + S._$DesignMainStrandLoopoutTextComponent.prototype = { + get$props: function(_) { + return this._design_main_strand_loopout_name$_cachedTypedProps; + }, + set$props: function(_, value) { + this.props = value; + this._design_main_strand_loopout_name$_cachedTypedProps = S._$$DesignMainStrandLoopoutTextProps$JsMap$(R.getBackingMap(value)); + }, + get$displayName: function(_) { + return "DesignMainStrandLoopoutText"; + }, + get$$$defaultConsumedProps: function() { + return C.Map_Vyq82.get$values(C.Map_Vyq82); + } + }; + S.$DesignMainStrandLoopoutTextPropsMixin.prototype = { + get$geometry: function(_) { + var t1 = J.$index$asx(this.get$props(this), string$.DesignMStLg); + if (t1 == null) + t1 = null; + return type$.legacy_Geometry._as(t1); + }, + get$prev_domain: function() { + var t1 = J.$index$asx(this.get$props(this), string$.DesignMStLp); + if (t1 == null) + t1 = null; + return type$.legacy_Domain._as(t1); + }, + get$next_domain: function() { + var t1 = J.$index$asx(this.get$props(this), string$.DesignMStLne); + if (t1 == null) + t1 = null; + return type$.legacy_Domain._as(t1); + } + }; + S._DesignMainStrandLoopoutTextComponent_UiComponent2_PureComponent.prototype = {}; + S.__$$DesignMainStrandLoopoutTextProps_UiProps_DesignMainStrandLoopoutTextPropsMixin.prototype = { + get$geometry: function(receiver) { + return this.DesignMainStrandLoopoutTextPropsMixin_geometry; + } + }; + S.__$$DesignMainStrandLoopoutTextProps_UiProps_DesignMainStrandLoopoutTextPropsMixin_$DesignMainStrandLoopoutTextPropsMixin.prototype = {}; + X.DesignMainStrandModificationProps.prototype = {$isMap: 1, $isUiProps0: 1, $isUiProps: 1, + get$geometry: function(receiver) { + return this.DesignMainStrandModificationProps_geometry; + } + }; + X.DesignMainStrandModificationComponent.prototype = { + render$0: function(_) { + var pos, ext, adj_dom, extension_attached_end_svg, display_connector, classname, t3, y_delta, y_del_small, t4, font_size, baseline, id, _this = this, _null = null, + t1 = _this._design_main_strand_modification$_cachedTypedProps.get$ext(), + t2 = _this._design_main_strand_modification$_cachedTypedProps; + if (t1 == null) { + pos = t2.get$helix().svg_base_pos$3(_this._design_main_strand_modification$_cachedTypedProps.get$selectable_modification().get$address().offset, _this._design_main_strand_modification$_cachedTypedProps.get$selectable_modification().get$address().forward, _this._design_main_strand_modification$_cachedTypedProps.get$helix_svg_position_y()); + if (_this._design_main_strand_modification$_cachedTypedProps.get$selectable_modification().get$modification() instanceof Z.ModificationInternal) + if (type$.legacy_ModificationInternal._as(_this._design_main_strand_modification$_cachedTypedProps.get$selectable_modification().get$modification()).allowed_bases == null) { + t1 = _this._design_main_strand_modification$_cachedTypedProps.get$helix().geometry.get$base_width_svg(); + t2 = pos.x; + if (typeof t2 !== "number") + return t2.$add(); + pos = new P.Point(t2 + t1 / 2, pos.y, type$.Point_legacy_num); + } + } else { + ext = t2.get$ext(); + adj_dom = _this._design_main_strand_modification$_cachedTypedProps.get$ext().adjacent_domain; + extension_attached_end_svg = E.compute_extension_attached_end_svg(ext, adj_dom, _this._design_main_strand_modification$_cachedTypedProps.get$helix(), _this._design_main_strand_modification$_cachedTypedProps.get$helix_svg_position_y()); + t1 = _this._design_main_strand_modification$_cachedTypedProps; + pos = E.compute_extension_free_end_svg(extension_attached_end_svg, ext, adj_dom, t1.get$geometry(t1)); + } + t1 = _this._design_main_strand_modification$_cachedTypedProps; + t1 = t1.get$props(t1).$index(0, string$.DesignMStMdPdi); + display_connector = H._asBoolS(t1 == null ? _null : t1); + if (_this._design_main_strand_modification$_cachedTypedProps.get$selectable_modification().get$modification() instanceof Z.Modification5Prime) + classname = "modification 5'"; + else + classname = _this._design_main_strand_modification$_cachedTypedProps.get$selectable_modification().get$modification() instanceof Z.Modification3Prime ? "modification 3'" : "modification internal"; + t1 = _this._design_main_strand_modification$_cachedTypedProps; + t1 = t1.get$props(t1).$index(0, string$.DesignMStMdPse); + if (H.boolConversionCheck(H._asBoolS(t1 == null ? _null : t1))) { + t1 = _this._design_main_strand_modification$_cachedTypedProps; + t1 = t1.get$props(t1).$index(0, string$.DesignMStMdPr); + classname = H.boolConversionCheck(H._asBoolS(t1 == null ? _null : t1)) ? classname + " selected" : classname + " selected-pink"; + } + if (_this._design_main_strand_modification$_cachedTypedProps.get$selectable_modification().get$strand().is_scaffold) + classname += " scaffold"; + t1 = H.setRuntimeTypeInfo([], type$.JSArray_legacy_ReactElement); + H.boolConversionCheck(display_connector); + if (display_connector) + t1.push(_this._end_connector$3(pos, _this._design_main_strand_modification$_cachedTypedProps.get$selectable_modification().get$address().forward, _this._design_main_strand_modification$_cachedTypedProps.get$selectable_modification().get$modification().get$connector_length())); + t2 = _this._design_main_strand_modification$_cachedTypedProps.get$selectable_modification().get$address(); + t3 = _this._design_main_strand_modification$_cachedTypedProps.get$selectable_modification().get$modification().get$connector_length(); + type$.legacy_Point_legacy_num._as(pos); + y_delta = _this._design_main_strand_modification$_cachedTypedProps.get$helix().geometry.get$base_height_svg() * 0.45; + t2 = H.boolConversionCheck(t2.forward); + y_del_small = t2 ? -y_delta : y_delta; + t4 = _this._design_main_strand_modification$_cachedTypedProps; + t4 = t4.get$props(t4).$index(0, string$.DesignMStMdPf); + font_size = H._asIntS(t4 == null ? _null : t4); + baseline = t2 ? "baseline" : "hanging"; + if (!display_connector) + baseline = "middle"; + t2 = A.SvgProps$($.$get$text(), _null); + t2.set$className(0, "modification-text"); + t2.set$fontSize(0, font_size); + t2.set$x(0, pos.x); + t4 = pos.y; + if (display_connector) { + if (typeof t4 !== "number") + return t4.$add(); + t3 = t4 + y_del_small * t3; + } else + t3 = t4; + t2.set$y(0, t3); + t2.set$dominantBaseline(baseline); + t2.set$key(0, "mod"); + t1.push(t2.call$1(_this._design_main_strand_modification$_cachedTypedProps.get$selectable_modification().get$modification().get$display_text())); + t2 = _this._design_main_strand_modification$_cachedTypedProps.get$selectable_modification(); + id = t2.get$id(t2); + t2 = A.SvgProps$($.$get$g(), _null); + t2.set$onPointerDown(new X.DesignMainStrandModificationComponent_render_closure(_this)); + t2.set$onPointerUp(new X.DesignMainStrandModificationComponent_render_closure0(_this)); + t2.set$className(0, classname); + t2.set$id(0, id); + t3 = _this._design_main_strand_modification$_cachedTypedProps; + t3 = t3.get$props(t3).$index(0, string$.DesignMStMdPt); + t2.set$transform(0, H._asStringS(t3 == null ? _null : t3)); + return t2.call$1(t1); + }, + componentDidMount$0: function() { + var t1 = this._design_main_strand_modification$_cachedTypedProps.get$selectable_modification(); + t1 = "#" + t1.get$id(t1); + J.addEventListener$2$x(document.querySelector(t1), "contextmenu", this.get$on_context_menu()); + }, + componentWillUnmount$0: function() { + var t1 = this._design_main_strand_modification$_cachedTypedProps.get$selectable_modification(); + t1 = "#" + t1.get$id(t1); + J.removeEventListener$2$x(document.querySelector(t1), "contextmenu", this.get$on_context_menu()); + }, + on_context_menu$1: function(ev) { + var t1, t2, t3, t4; + ev = type$.legacy_MouseEvent._as(type$.legacy_Event._as(ev)); + if (!H.boolConversionCheck(ev.shiftKey)) { + ev.preventDefault(); + ev.stopPropagation(); + t1 = $.app; + t2 = D._BuiltList$of(this.context_menu_modification$1(this._design_main_strand_modification$_cachedTypedProps.get$selectable_modification().get$strand()), type$.legacy_ContextMenuItem); + t3 = ev.pageX; + t3.toString; + t4 = ev.pageY; + t4.toString; + t1.dispatch$1(U._$ContextMenuShow$_(B._$ContextMenu$_(t2, new P.Point(t3, t4, type$.Point_num)))); + } + }, + context_menu_modification$1: function(strand) { + var _null = null; + return H.setRuntimeTypeInfo([B.ContextMenuItem_ContextMenuItem(false, _null, this.get$remove_modification(), "remove modification", _null), B.ContextMenuItem_ContextMenuItem(false, _null, new X.DesignMainStrandModificationComponent_context_menu_modification_closure(this), "edit modification", _null)], type$.JSArray_legacy_ContextMenuItem); + }, + remove_modification$0: function() { + var action, _this = this, + t1 = $.app.store, + selectable_mods = t1.get$state(t1).ui_state.selectables_store.get$selected_modifications()._set.toList$1$growable(0, true); + if (!C.JSArray_methods.contains$1(selectable_mods, _this._design_main_strand_modification$_cachedTypedProps.get$selectable_modification())) + C.JSArray_methods.add$1(selectable_mods, _this._design_main_strand_modification$_cachedTypedProps.get$selectable_modification()); + t1 = selectable_mods.length; + if (t1 === 1) { + t1 = _this._design_main_strand_modification$_cachedTypedProps.get$selectable_modification().get$strand(); + action = U._$ModificationRemove$_(_this._design_main_strand_modification$_cachedTypedProps.get$selectable_modification().get$modification(), t1, _this._design_main_strand_modification$_cachedTypedProps.get$dna_idx_mod()); + } else if (t1 > 1) + action = U.DeleteAllSelected_DeleteAllSelected(); + else { + P.print(string$.WARNINs); + return; + } + $.app.dispatch$1(action); + }, + _end_connector$3: function(pos, $forward, connector_length) { + var y_delta, y_del_small, x, points, t1, t2, t3, i, t4, points_str; + type$.legacy_Point_legacy_num._as(pos); + y_delta = this._design_main_strand_modification$_cachedTypedProps.get$helix().geometry.get$base_height_svg() * 0.45; + y_del_small = H.boolConversionCheck($forward) ? -y_delta : y_delta; + x = -(this._design_main_strand_modification$_cachedTypedProps.get$helix().geometry.get$base_width_svg() / 3); + points = H.setRuntimeTypeInfo([], type$.JSArray_legacy_String); + for (t1 = connector_length + 1, t2 = pos.y, t3 = pos.x, i = 0; i < t1; ++i) { + t4 = C.JSInt_methods.$mod(i, 2) === 1 ? x : 0; + if (typeof t3 !== "number") + return t3.$add(); + t4 = H.S(t3 + t4) + ","; + if (typeof t2 !== "number") + return t2.$add(); + C.JSArray_methods.add$1(points, t4 + H.S(t2 + i * y_del_small) + " "); + } + points_str = C.JSArray_methods.join$1(points, ""); + t1 = A.SvgProps$($.$get$polyline(), null); + t1.set$fill(0, "none"); + t1.set$stroke(0, "black"); + t1.set$strokeWidth(2); + t1.set$points(0, points_str); + t1.set$key(0, "connector"); + return t1.call$0(); + } + }; + X.DesignMainStrandModificationComponent_render_closure.prototype = { + call$1: function(ev) { + var t1, t2, t3; + type$.legacy_SyntheticPointerEvent._as(ev); + t1 = this.$this; + t2 = t1._design_main_strand_modification$_cachedTypedProps.get$selectable_modification(); + t3 = $.app.store; + if (!t3.get$state(t3).ui_state.storables.edit_modes._set.contains$1(0, C.EditModeChoice_select)) { + t3 = $.app.store; + t3 = t3.get$state(t3).ui_state.storables.edit_modes._set.contains$1(0, C.EditModeChoice_rope_select); + } else + t3 = true; + if (t3) { + t3 = $.app.store; + t2 = t3.get$state(t3).ui_state.storables.select_mode_state.modes._set.contains$1(0, C.SelectModeChoice_modification) && E.origami_type_selectable(t2); + } else + t2 = false; + if (t2) + t1._design_main_strand_modification$_cachedTypedProps.get$selectable_modification().handle_selection_mouse_down$1(type$.legacy_MouseEvent._as(J.get$nativeEvent$x(ev))); + }, + $signature: 18 + }; + X.DesignMainStrandModificationComponent_render_closure0.prototype = { + call$1: function(ev) { + var t1, t2, t3; + type$.legacy_SyntheticPointerEvent._as(ev); + t1 = this.$this; + t2 = t1._design_main_strand_modification$_cachedTypedProps.get$selectable_modification(); + t3 = $.app.store; + if (!t3.get$state(t3).ui_state.storables.edit_modes._set.contains$1(0, C.EditModeChoice_select)) { + t3 = $.app.store; + t3 = t3.get$state(t3).ui_state.storables.edit_modes._set.contains$1(0, C.EditModeChoice_rope_select); + } else + t3 = true; + if (t3) { + t3 = $.app.store; + t2 = t3.get$state(t3).ui_state.storables.select_mode_state.modes._set.contains$1(0, C.SelectModeChoice_modification) && E.origami_type_selectable(t2); + } else + t2 = false; + if (t2) + t1._design_main_strand_modification$_cachedTypedProps.get$selectable_modification().handle_selection_mouse_up$1(type$.legacy_MouseEvent._as(J.get$nativeEvent$x(ev))); + }, + $signature: 18 + }; + X.DesignMainStrandModificationComponent_context_menu_modification_closure.prototype = { + call$0: function() { + var t1 = this.$this; + return X.edit_modification(t1._design_main_strand_modification$_cachedTypedProps.get$selectable_modification().get$modification(), t1._design_main_strand_modification$_cachedTypedProps.get$selectable_modification(), t1._design_main_strand_modification$_cachedTypedProps.get$selectable_modification().get$strand(), t1._design_main_strand_modification$_cachedTypedProps.get$dna_idx_mod()); + }, + $signature: 1 + }; + X.edit_modification_closure.prototype = { + call$1: function(mod) { + return type$.legacy_SelectableModification._as(mod) instanceof E.SelectableModification5Prime; + }, + $signature: 101 + }; + X.edit_modification_closure0.prototype = { + call$1: function(mod) { + return type$.legacy_SelectableModification._as(mod) instanceof E.SelectableModification3Prime; + }, + $signature: 101 + }; + X.edit_modification_closure1.prototype = { + call$1: function(mod) { + return type$.legacy_SelectableModification._as(mod) instanceof E.SelectableModificationInternal; + }, + $signature: 101 + }; + X.$DesignMainStrandModificationComponentFactory_closure.prototype = { + call$0: function() { + return new X._$DesignMainStrandModificationComponent(null); + }, + "call*": "call$0", + $requiredArgCount: 0, + $signature: 484 + }; + X._$$DesignMainStrandModificationProps.prototype = { + get$$$isClassGenerated: function() { + return true; + }, + get$componentFactory: function() { + var t1 = this.componentFactory; + return t1 == null ? $.$get$$DesignMainStrandModificationComponentFactory() : t1; + } + }; + X._$$DesignMainStrandModificationProps$PlainMap.prototype = { + get$props: function(_) { + return this._design_main_strand_modification$_props; + } + }; + X._$$DesignMainStrandModificationProps$JsMap.prototype = { + get$props: function(_) { + return this._design_main_strand_modification$_props; + } + }; + X._$DesignMainStrandModificationComponent.prototype = { + get$props: function(_) { + return this._design_main_strand_modification$_cachedTypedProps; + }, + set$props: function(_, value) { + this.props = value; + this._design_main_strand_modification$_cachedTypedProps = X._$$DesignMainStrandModificationProps$JsMap$(R.getBackingMap(value)); + }, + get$displayName: function(_) { + return "DesignMainStrandModification"; + }, + get$$$defaultConsumedProps: function() { + return C.Map_l5Ymk.get$values(C.Map_l5Ymk); + } + }; + X.$DesignMainStrandModificationProps.prototype = { + get$dna_idx_mod: function() { + var t1 = J.$index$asx(this.get$props(this), string$.DesignMStMdPdn); + return H._asIntS(t1 == null ? null : t1); + }, + get$helix: function() { + var t1 = J.$index$asx(this.get$props(this), "DesignMainStrandModificationProps.helix"); + if (t1 == null) + t1 = null; + return type$.legacy_Helix._as(t1); + }, + set$helix: function(value) { + J.$indexSet$ax(this.get$props(this), "DesignMainStrandModificationProps.helix", value); + }, + set$display_connector: function(value) { + J.$indexSet$ax(this.get$props(this), string$.DesignMStMdPdi, value); + }, + set$font_size: function(value) { + J.$indexSet$ax(this.get$props(this), string$.DesignMStMdPf, value); + }, + set$transform: function(_, value) { + J.$indexSet$ax(this.get$props(this), string$.DesignMStMdPt, value); + }, + get$geometry: function(_) { + var t1 = J.$index$asx(this.get$props(this), string$.DesignMStMdPg); + if (t1 == null) + t1 = null; + return type$.legacy_Geometry._as(t1); + }, + set$geometry: function(_, value) { + J.$indexSet$ax(this.get$props(this), string$.DesignMStMdPg, value); + }, + get$selectable_modification: function() { + var t1 = J.$index$asx(this.get$props(this), string$.DesignMStMdPsa); + if (t1 == null) + t1 = null; + return type$.legacy_SelectableModification._as(t1); + }, + set$selectable_modification: function(value) { + J.$indexSet$ax(this.get$props(this), string$.DesignMStMdPsa, value); + }, + set$selected: function(_, value) { + J.$indexSet$ax(this.get$props(this), string$.DesignMStMdPse, value); + }, + get$helix_svg_position_y: function() { + var t1 = J.$index$asx(this.get$props(this), string$.DesignMStMdPh); + return H._asNumS(t1 == null ? null : t1); + }, + set$helix_svg_position_y: function(value) { + J.$indexSet$ax(this.get$props(this), string$.DesignMStMdPh, value); + }, + get$ext: function() { + var t1 = J.$index$asx(this.get$props(this), "DesignMainStrandModificationProps.ext"); + if (t1 == null) + t1 = null; + return type$.legacy_Extension._as(t1); + }, + set$ext: function(value) { + J.$indexSet$ax(this.get$props(this), "DesignMainStrandModificationProps.ext", value); + }, + set$retain_strand_color_on_selection: function(value) { + J.$indexSet$ax(this.get$props(this), string$.DesignMStMdPr, value); + } + }; + X.__$$DesignMainStrandModificationProps_UiProps_DesignMainStrandModificationProps.prototype = { + get$geometry: function(receiver) { + return this.DesignMainStrandModificationProps_geometry; + } + }; + X.__$$DesignMainStrandModificationProps_UiProps_DesignMainStrandModificationProps_$DesignMainStrandModificationProps.prototype = {}; + R.DesignMainStrandModificationsPropsMixin.prototype = { + set$helices: function(helices) { + this.DesignMainStrandModificationsPropsMixin_helices = type$.legacy_BuiltMap_of_legacy_int_and_legacy_Helix._as(helices); + }, + set$groups: function(groups) { + this.DesignMainStrandModificationsPropsMixin_groups = type$.legacy_BuiltMap_of_legacy_String_and_legacy_HelixGroup._as(groups); + }, + set$geometry: function(_, geometry) { + this.DesignMainStrandModificationsPropsMixin_geometry = type$.legacy_Geometry._as(geometry); + }, + get$helices: function() { + return this.DesignMainStrandModificationsPropsMixin_helices; + }, + get$groups: function() { + return this.DesignMainStrandModificationsPropsMixin_groups; + }, + get$geometry: function(receiver) { + return this.DesignMainStrandModificationsPropsMixin_geometry; + } + }; + R.DesignMainStrandModificationsComponent.prototype = { + render$0: function(_) { + var domain, t1, t2, helix_5p, t3, selected, ext, t4, helix_3p, t5, t6, t7, t8, t9, dna_index_5p_end_of_ss_with_mod, ss_with_mod, t10, helix, t11, selectable_mod_int, t12, _this = this, _null = null, + _s46_ = string$.DesignMStMdsst, + modifications = H.setRuntimeTypeInfo([], type$.JSArray_legacy_ReactElement); + if (_this._design_main_strand_modifications$_cachedTypedProps.get$strand().modification_5p != null) { + domain = _this._design_main_strand_modifications$_cachedTypedProps.get$strand().get$first_domain(); + if (H.boolConversionCheck(_this._design_main_strand_modifications$_cachedTypedProps.get$only_display_selected_helices())) { + t1 = _this._design_main_strand_modifications$_cachedTypedProps.get$side_selected_helix_idxs(); + t2 = domain.helix; + t2 = t1._set.contains$1(0, t2); + t1 = t2; + } else + t1 = true; + if (t1) { + t1 = _this._design_main_strand_modifications$_cachedTypedProps.get$helices(); + t2 = domain.helix; + helix_5p = J.$index$asx(t1._map$_map, t2); + t1 = _this._design_main_strand_modifications$_cachedTypedProps.get$selected_modifications_in_strand(); + t3 = _this._design_main_strand_modifications$_cachedTypedProps.get$strand().get$selectable_modification_5p(); + selected = t1._set.contains$1(0, t3); + ext = _this._design_main_strand_modifications$_cachedTypedProps.get$strand().get$has_5p_extension() ? type$.legacy_Extension._as(J.get$first$ax(_this._design_main_strand_modifications$_cachedTypedProps.get$strand().substrands._list)) : _null; + t1 = X.design_main_strand_modification___$DesignMainStrandModification$closure().call$0(); + t1.set$selectable_modification(_this._design_main_strand_modifications$_cachedTypedProps.get$strand().get$selectable_modification_5p()); + t1.set$helix(helix_5p); + t3 = J.getInterceptor$x(t1); + t3.set$transform(t1, _this.transform_of_helix$1(t2)); + t1.set$font_size(_this._design_main_strand_modifications$_cachedTypedProps.get$font_size()); + t1.set$display_connector(_this._design_main_strand_modifications$_cachedTypedProps.get$display_connector()); + t3.set$selected(t1, selected); + t2 = _this._design_main_strand_modifications$_cachedTypedProps.get$helix_idx_to_svg_position_y_map(); + t4 = helix_5p.idx; + t1.set$helix_svg_position_y(J.$index$asx(t2._map$_map, t4)); + t1.set$ext(ext); + t4 = _this._design_main_strand_modifications$_cachedTypedProps; + t3.set$geometry(t1, t4.get$geometry(t4)); + t1.set$retain_strand_color_on_selection(_this._design_main_strand_modifications$_cachedTypedProps.get$retain_strand_color_on_selection()); + t3.set$key(t1, "5'"); + C.JSArray_methods.add$1(modifications, t1.call$0()); + } + } + if (_this._design_main_strand_modifications$_cachedTypedProps.get$strand().modification_3p != null) { + domain = _this._design_main_strand_modifications$_cachedTypedProps.get$strand().get$last_domain(); + if (H.boolConversionCheck(_this._design_main_strand_modifications$_cachedTypedProps.get$only_display_selected_helices())) { + t1 = _this._design_main_strand_modifications$_cachedTypedProps.get$side_selected_helix_idxs(); + t2 = domain.helix; + t2 = t1._set.contains$1(0, t2); + t1 = t2; + } else + t1 = true; + if (t1) { + t1 = _this._design_main_strand_modifications$_cachedTypedProps.get$helices(); + t2 = domain.helix; + helix_3p = J.$index$asx(t1._map$_map, t2); + ext = _this._design_main_strand_modifications$_cachedTypedProps.get$strand().get$has_3p_extension() ? type$.legacy_Extension._as(J.get$last$ax(_this._design_main_strand_modifications$_cachedTypedProps.get$strand().substrands._list)) : _null; + t1 = X.design_main_strand_modification___$DesignMainStrandModification$closure().call$0(); + t1.set$selectable_modification(_this._design_main_strand_modifications$_cachedTypedProps.get$strand().get$selectable_modification_3p()); + t1.set$helix(helix_3p); + t3 = J.getInterceptor$x(t1); + t3.set$transform(t1, _this.transform_of_helix$1(t2)); + t1.set$font_size(_this._design_main_strand_modifications$_cachedTypedProps.get$font_size()); + t1.set$display_connector(_this._design_main_strand_modifications$_cachedTypedProps.get$display_connector()); + t2 = _this._design_main_strand_modifications$_cachedTypedProps.get$selected_modifications_in_strand(); + t4 = _this._design_main_strand_modifications$_cachedTypedProps.get$strand().get$selectable_modification_3p(); + t3.set$selected(t1, t2._set.contains$1(0, t4)); + t4 = _this._design_main_strand_modifications$_cachedTypedProps.get$helix_idx_to_svg_position_y_map(); + t2 = helix_3p.idx; + t1.set$helix_svg_position_y(J.$index$asx(t4._map$_map, t2)); + t1.set$ext(ext); + t2 = _this._design_main_strand_modifications$_cachedTypedProps; + t3.set$geometry(t1, t2.get$geometry(t2)); + t1.set$retain_strand_color_on_selection(_this._design_main_strand_modifications$_cachedTypedProps.get$retain_strand_color_on_selection()); + t3.set$key(t1, "3'"); + C.JSArray_methods.add$1(modifications, t1.call$0()); + } + } + _this._design_main_strand_modifications$_cachedTypedProps.get$strand().get$selectable_modifications_int_by_dna_idx(); + for (t1 = _this._design_main_strand_modifications$_cachedTypedProps.get$strand().get$selectable_modifications_int_by_dna_idx(), t1 = J.get$iterator$ax(t1.get$keys(t1)), t2 = type$.legacy_Strand, t3 = type$.legacy_BuiltSet_legacy_int, t4 = type$.legacy_Geometry, t5 = type$.legacy_BuiltMap_of_legacy_int_and_legacy_num, t6 = type$.legacy_BuiltSet_legacy_SelectableModification, t7 = type$.legacy_BuiltMap_of_legacy_int_and_legacy_Helix; t1.moveNext$0();) { + t8 = t1.get$current(t1); + t9 = _this._design_main_strand_modifications$_cachedTypedProps; + t9 = t9.get$props(t9).$index(0, _s46_); + t9 = J.get$iterator$ax(t2._as(t9 == null ? _null : t9).substrands._list); + dna_index_5p_end_of_ss_with_mod = 0; + while (true) { + if (!t9.moveNext$0()) { + ss_with_mod = _null; + break; + } + ss_with_mod = t9.get$current(t9); + dna_index_5p_end_of_ss_with_mod += ss_with_mod.dna_length$0(); + if (typeof t8 !== "number") + return H.iae(t8); + if (dna_index_5p_end_of_ss_with_mod > t8) + break; + } + if (ss_with_mod instanceof G.Domain) { + t9 = _this._design_main_strand_modifications$_cachedTypedProps; + t9 = t9.get$props(t9).$index(0, string$.DesignMStMdso); + if (H.boolConversionCheck(H._asBoolS(t9 == null ? _null : t9))) { + t9 = _this._design_main_strand_modifications$_cachedTypedProps; + t9 = t9.get$props(t9).$index(0, string$.DesignMStMdssi); + t9 = t3._as(t9 == null ? _null : t9); + t10 = ss_with_mod.helix; + t10 = t9._set.contains$1(0, t10); + t9 = t10; + } else + t9 = true; + if (t9) { + t9 = _this._design_main_strand_modifications$_cachedTypedProps; + t9 = t9.get$props(t9).$index(0, "TransformByHelixGroupPropsMixin.helices"); + t9 = t7._as(t9 == null ? _null : t9); + t10 = ss_with_mod.helix; + helix = J.$index$asx(t9._map$_map, t10); + t9 = _this._design_main_strand_modifications$_cachedTypedProps; + t9 = t9.get$props(t9).$index(0, _s46_); + t9 = t2._as(t9 == null ? _null : t9); + t11 = t9.__selectable_modifications_int_by_dna_idx; + if (t11 == null) { + t11 = E.Strand.prototype.get$selectable_modifications_int_by_dna_idx.call(t9); + t9.set$__selectable_modifications_int_by_dna_idx(t11); + t9 = t11; + } else + t9 = t11; + selectable_mod_int = J.$index$asx(t9._map$_map, t8); + t9 = X.design_main_strand_modification___$DesignMainStrandModification$closure().call$0(); + t9.toString; + t11 = J.getInterceptor$x(t9); + J.$indexSet$ax(t11.get$props(t9), string$.DesignMStMdPsa, selectable_mod_int); + J.$indexSet$ax(t11.get$props(t9), "DesignMainStrandModificationProps.helix", helix); + t10 = _this.transform_of_helix$1(t10); + J.$indexSet$ax(t11.get$props(t9), string$.DesignMStMdPt, t10); + t10 = _this._design_main_strand_modifications$_cachedTypedProps; + t10 = t10.get$props(t10).$index(0, string$.DesignMStMdsf); + t10 = H._asIntS(t10 == null ? _null : t10); + J.$indexSet$ax(t11.get$props(t9), string$.DesignMStMdPf, t10); + t10 = _this._design_main_strand_modifications$_cachedTypedProps; + t10 = t10.get$props(t10).$index(0, string$.DesignMStMdsd); + t10 = H._asBoolS(t10 == null ? _null : t10); + J.$indexSet$ax(t11.get$props(t9), string$.DesignMStMdPdi, t10); + t10 = _this._design_main_strand_modifications$_cachedTypedProps; + t10 = t10.get$props(t10).$index(0, string$.DesignMStMdsse); + t10 = t6._as(t10 == null ? _null : t10)._set.contains$1(0, selectable_mod_int); + J.$indexSet$ax(t11.get$props(t9), string$.DesignMStMdPse, t10); + J.$indexSet$ax(t11.get$props(t9), string$.DesignMStMdPdn, t8); + t10 = _this._design_main_strand_modifications$_cachedTypedProps; + t10 = t10.get$props(t10).$index(0, string$.DesignMStMdshx); + t10 = t5._as(t10 == null ? _null : t10); + t12 = helix.idx; + t12 = H._asNumS(J.$index$asx(t10._map$_map, t12)); + J.$indexSet$ax(t11.get$props(t9), string$.DesignMStMdPh, t12); + t12 = _this._design_main_strand_modifications$_cachedTypedProps; + t12 = t12.get$props(t12).$index(0, "TransformByHelixGroupPropsMixin.geometry"); + t10 = t4._as(t12 == null ? _null : t12); + J.$indexSet$ax(t11.get$props(t9), string$.DesignMStMdPg, t10); + t10 = _this._design_main_strand_modifications$_cachedTypedProps; + t10 = t10.get$props(t10).$index(0, string$.DesignMStMdsr); + t10 = H._asBoolS(t10 == null ? _null : t10); + J.$indexSet$ax(t11.get$props(t9), string$.DesignMStMdPr, t10); + t8 = "internal-" + H.S(t8); + t11 = t11.get$props(t9); + J.$indexSet$ax(t11, "key", t8); + C.JSArray_methods.add$1(modifications, t9.call$0()); + } + } else if (ss_with_mod instanceof G.Loopout) + throw H.wrapException(N.IllegalDesignError$("currently unsupported to draw internal modification on Loopout")); + else if (ss_with_mod instanceof S.Extension) + throw H.wrapException(N.IllegalDesignError$("currently unsupported to draw internal modification on Extension")); + } + if (modifications.length === 0) + t1 = _null; + else { + t1 = A.SvgProps$($.$get$g(), _null); + t1.set$className(0, "modifications"); + t1 = t1.call$1(modifications); + } + return t1; + } + }; + R.$DesignMainStrandModificationsComponentFactory_closure.prototype = { + call$0: function() { + return new R._$DesignMainStrandModificationsComponent(null); + }, + "call*": "call$0", + $requiredArgCount: 0, + $signature: 485 + }; + R._$$DesignMainStrandModificationsProps.prototype = { + get$$$isClassGenerated: function() { + return true; + }, + get$componentFactory: function() { + var t1 = this.componentFactory; + return t1 == null ? $.$get$$DesignMainStrandModificationsComponentFactory() : t1; + } + }; + R._$$DesignMainStrandModificationsProps$PlainMap.prototype = { + get$props: function(_) { + return this._design_main_strand_modifications$_props; + } + }; + R._$$DesignMainStrandModificationsProps$JsMap.prototype = { + get$props: function(_) { + return this._design_main_strand_modifications$_props; + } + }; + R._$DesignMainStrandModificationsComponent.prototype = { + get$props: function(_) { + return this._design_main_strand_modifications$_cachedTypedProps; + }, + set$props: function(_, value) { + this.props = value; + this._design_main_strand_modifications$_cachedTypedProps = R._$$DesignMainStrandModificationsProps$JsMap$(R.getBackingMap(value)); + }, + get$displayName: function(_) { + return "DesignMainStrandModifications"; + }, + get$$$defaultConsumedProps: function() { + return C.Map_M6Tnb.get$values(C.Map_M6Tnb); + } + }; + R.$DesignMainStrandModificationsPropsMixin.prototype = { + get$strand: function() { + var t1 = J.$index$asx(this.get$props(this), string$.DesignMStMdsst); + if (t1 == null) + t1 = null; + return type$.legacy_Strand._as(t1); + }, + get$helices: function() { + var t1 = J.$index$asx(this.get$props(this), string$.DesignMStMdshc); + if (t1 == null) + t1 = null; + return type$.legacy_BuiltMap_of_legacy_int_and_legacy_Helix._as(t1); + }, + set$helices: function(value) { + type$.legacy_BuiltMap_of_legacy_int_and_legacy_Helix._as(value); + J.$indexSet$ax(this.get$props(this), string$.DesignMStMdshc, value); + }, + get$groups: function() { + var t1 = J.$index$asx(this.get$props(this), string$.DesignMStMdsgr); + if (t1 == null) + t1 = null; + return type$.legacy_BuiltMap_of_legacy_String_and_legacy_HelixGroup._as(t1); + }, + set$groups: function(value) { + type$.legacy_BuiltMap_of_legacy_String_and_legacy_HelixGroup._as(value); + J.$indexSet$ax(this.get$props(this), string$.DesignMStMdsgr, value); + }, + get$geometry: function(_) { + var t1 = J.$index$asx(this.get$props(this), string$.DesignMStMdsge); + if (t1 == null) + t1 = null; + return type$.legacy_Geometry._as(t1); + }, + set$geometry: function(_, value) { + J.$indexSet$ax(this.get$props(this), string$.DesignMStMdsge, value); + }, + get$side_selected_helix_idxs: function() { + var t1 = J.$index$asx(this.get$props(this), string$.DesignMStMdssi); + if (t1 == null) + t1 = null; + return type$.legacy_BuiltSet_legacy_int._as(t1); + }, + get$only_display_selected_helices: function() { + var t1 = J.$index$asx(this.get$props(this), string$.DesignMStMdso); + return H._asBoolS(t1 == null ? null : t1); + }, + get$display_connector: function() { + var t1 = J.$index$asx(this.get$props(this), string$.DesignMStMdsd); + return H._asBoolS(t1 == null ? null : t1); + }, + get$font_size: function() { + var t1 = J.$index$asx(this.get$props(this), string$.DesignMStMdsf); + return H._asIntS(t1 == null ? null : t1); + }, + get$selected_modifications_in_strand: function() { + var t1 = J.$index$asx(this.get$props(this), string$.DesignMStMdsse); + if (t1 == null) + t1 = null; + return type$.legacy_BuiltSet_legacy_SelectableModification._as(t1); + }, + get$helix_idx_to_svg_position_y_map: function() { + var t1 = J.$index$asx(this.get$props(this), string$.DesignMStMdshx); + if (t1 == null) + t1 = null; + return type$.legacy_BuiltMap_of_legacy_int_and_legacy_num._as(t1); + }, + get$retain_strand_color_on_selection: function() { + var t1 = J.$index$asx(this.get$props(this), string$.DesignMStMdsr); + return H._asBoolS(t1 == null ? null : t1); + } + }; + R._DesignMainStrandModificationsComponent_UiComponent2_PureComponent.prototype = {}; + R._DesignMainStrandModificationsComponent_UiComponent2_PureComponent_TransformByHelixGroup.prototype = {}; + R.__$$DesignMainStrandModificationsProps_UiProps_DesignMainStrandModificationsPropsMixin.prototype = { + set$helices: function(helices) { + this.DesignMainStrandModificationsPropsMixin_helices = type$.legacy_BuiltMap_of_legacy_int_and_legacy_Helix._as(helices); + }, + set$groups: function(groups) { + this.DesignMainStrandModificationsPropsMixin_groups = type$.legacy_BuiltMap_of_legacy_String_and_legacy_HelixGroup._as(groups); + }, + set$geometry: function(_, geometry) { + this.DesignMainStrandModificationsPropsMixin_geometry = type$.legacy_Geometry._as(geometry); + }, + get$helices: function() { + return this.DesignMainStrandModificationsPropsMixin_helices; + }, + get$groups: function() { + return this.DesignMainStrandModificationsPropsMixin_groups; + }, + get$geometry: function(receiver) { + return this.DesignMainStrandModificationsPropsMixin_geometry; + } + }; + R.__$$DesignMainStrandModificationsProps_UiProps_DesignMainStrandModificationsPropsMixin_$DesignMainStrandModificationsPropsMixin.prototype = {}; + R.__$$DesignMainStrandModificationsProps_UiProps_DesignMainStrandModificationsPropsMixin_$DesignMainStrandModificationsPropsMixin_TransformByHelixGroupPropsMixin.prototype = { + set$helices: function(helices) { + this.TransformByHelixGroupPropsMixin_helices = type$.legacy_BuiltMap_of_legacy_int_and_legacy_Helix._as(helices); + }, + set$groups: function(groups) { + this.TransformByHelixGroupPropsMixin_groups = type$.legacy_BuiltMap_of_legacy_String_and_legacy_HelixGroup._as(groups); + }, + set$geometry: function(_, geometry) { + this.TransformByHelixGroupPropsMixin_geometry = type$.legacy_Geometry._as(geometry); + }, + get$helices: function() { + return this.TransformByHelixGroupPropsMixin_helices; + }, + get$groups: function() { + return this.TransformByHelixGroupPropsMixin_groups; + }, + get$geometry: function(receiver) { + return this.TransformByHelixGroupPropsMixin_geometry; + } + }; + R.__$$DesignMainStrandModificationsProps_UiProps_DesignMainStrandModificationsPropsMixin_$DesignMainStrandModificationsPropsMixin_TransformByHelixGroupPropsMixin_$TransformByHelixGroupPropsMixin.prototype = {}; + T.DesignMainStrandMovingPropsMixin.prototype = { + set$helices: function(helices) { + this.DesignMainStrandMovingPropsMixin_helices = type$.legacy_BuiltMap_of_legacy_int_and_legacy_Helix._as(helices); + }, + set$groups: function(groups) { + this.DesignMainStrandMovingPropsMixin_groups = type$.legacy_BuiltMap_of_legacy_String_and_legacy_HelixGroup._as(groups); + }, + set$geometry: function(_, geometry) { + this.DesignMainStrandMovingPropsMixin_geometry = type$.legacy_Geometry._as(geometry); + }, + get$helices: function() { + return this.DesignMainStrandMovingPropsMixin_helices; + }, + get$groups: function() { + return this.DesignMainStrandMovingPropsMixin_groups; + }, + get$geometry: function(receiver) { + return this.DesignMainStrandMovingPropsMixin_geometry; + } + }; + T.DesignMainStrandMovingComponent.prototype = { + render$0: function(_) { + var t1, t2, t3, t4, t5, t6, strand_moved, first_domain_moved, last_domain_moved, end_5p_moved, end_3p_moved, first_helix_moved, last_helix_moved, t7, t8, _this = this, _null = null; + if (J.get$length$asx(_this._design_main_strand_moving$_cachedTypedProps.get$strand().substrands._list) === 0) + return _null; + t1 = _this._design_main_strand_moving$_cachedTypedProps.get$strand(); + t2 = _this._design_main_strand_moving$_cachedTypedProps; + t2 = t2.get$props(t2).$index(0, string$.DesignMStMvo); + if (t2 == null) + t2 = _null; + type$.legacy_BuiltMap_of_legacy_int_and_legacy_int._as(t2); + t3 = _this._design_main_strand_moving$_cachedTypedProps; + t3 = t3.get$props(t3).$index(0, string$.DesignMStMvc); + if (t3 == null) + t3 = _null; + type$.legacy_HelixGroup._as(t3); + t4 = _this._design_main_strand_moving$_cachedTypedProps; + t4 = t4.get$props(t4).$index(0, string$.DesignMStMvdv); + t4 = H._asIntS(t4 == null ? _null : t4); + t5 = _this._design_main_strand_moving$_cachedTypedProps; + t5 = t5.get$props(t5).$index(0, string$.DesignMStMvdo); + t5 = H._asIntS(t5 == null ? _null : t5); + t6 = _this._design_main_strand_moving$_cachedTypedProps; + t6 = t6.get$props(t6).$index(0, string$.DesignMStMvdf); + strand_moved = E.move_strand(t3, H._asBoolS(t6 == null ? _null : t6), t5, t4, t2, t1); + if (strand_moved == null) + return _null; + first_domain_moved = strand_moved.get$first_domain(); + last_domain_moved = strand_moved.get$last_domain(); + t1 = first_domain_moved.forward; + end_5p_moved = t1 ? first_domain_moved.get$dnaend_start() : first_domain_moved.get$dnaend_end(); + t2 = last_domain_moved.forward; + end_3p_moved = t2 ? last_domain_moved.get$dnaend_end() : last_domain_moved.get$dnaend_start(); + t3 = _this._design_main_strand_moving$_cachedTypedProps.get$helices(); + t4 = first_domain_moved.helix; + first_helix_moved = J.$index$asx(t3._map$_map, t4); + t3 = _this._design_main_strand_moving$_cachedTypedProps.get$helices(); + t5 = last_domain_moved.helix; + last_helix_moved = J.$index$asx(t3._map$_map, t5); + if (first_helix_moved == null || last_helix_moved == null) + return _null; + if (_this._draw_strand_lines_single_path$1(strand_moved) == null) + return _null; + t3 = A.SvgProps$($.$get$g(), _null); + t3.set$className(0, "strand-moving"); + t3.set$transform(0, _this.transform_of_helix$1(t4)); + t4 = H.setRuntimeTypeInfo([_this._draw_strand_lines_single_path$1(strand_moved)], type$.JSArray_legacy_ReactElement); + t5 = !strand_moved.circular; + if (t5) { + t6 = F.design_main_strand_dna_end_moving___$EndMoving$closure().call$0(); + t6.set$helix(first_helix_moved); + t6.set$dna_end(end_5p_moved); + t7 = J.getInterceptor$z(t6); + t7.set$color(t6, _this._design_main_strand_moving$_cachedTypedProps.get$strand().color); + t7.set$forward(t6, t1); + t6.set$is_5p(true); + t6.set$allowable(_this._design_main_strand_moving$_cachedTypedProps.get$allowable()); + t1 = end_5p_moved.offset; + if (!end_5p_moved.is_start) { + if (typeof t1 !== "number") + return t1.$sub(); + --t1; + } + t6.set$current_offset(t1); + t1 = _this._design_main_strand_moving$_cachedTypedProps.get$helix_idx_to_svg_position_map(); + t8 = first_helix_moved.idx; + t6.set$svg_position_y(J.$index$asx(t1._map$_map, t8).y); + t7.set$key(t6, "end-5p"); + t4.push(t6.call$0()); + } + if (t5) { + t1 = F.design_main_strand_dna_end_moving___$EndMoving$closure().call$0(); + t1.set$helix(last_helix_moved); + t1.set$dna_end(end_3p_moved); + t5 = J.getInterceptor$z(t1); + t5.set$color(t1, _this._design_main_strand_moving$_cachedTypedProps.get$strand().color); + t5.set$forward(t1, t2); + t1.set$is_5p(false); + t1.set$allowable(_this._design_main_strand_moving$_cachedTypedProps.get$allowable()); + t2 = end_3p_moved.offset; + if (!end_3p_moved.is_start) { + if (typeof t2 !== "number") + return t2.$sub(); + --t2; + } + t1.set$current_offset(t2); + t2 = _this._design_main_strand_moving$_cachedTypedProps.get$helix_idx_to_svg_position_map(); + t6 = last_helix_moved.idx; + t1.set$svg_position_y(J.$index$asx(t2._map$_map, t6).y); + t5.set$key(t1, "end-3p"); + t4.push(t1.call$0()); + } + return t3.call$1(t4); + }, + _draw_strand_lines_single_path$1: function(strand_moved) { + var t3, t4, t5, t6, t7, i, t8, substrand, t9, end_svg, idx_next, domain, t10, t11, control, prev_domain, next_domain, prev_helix, next_helix, prev_helix_svg_position_y, classname, _this = this, _null = null, + _s62_ = string$.DesignMStMvh, + _s39_ = "TransformByHelixGroupPropsMixin.helices", + domain_first = J.get$first$ax(strand_moved.get$domains()._list), + t1 = _this._design_main_strand_moving$_cachedTypedProps.get$helices(), + t2 = domain_first.helix, + helix = J.$index$asx(t1._map$_map, t2), + helix_svg_position_y = J.$index$asx(_this._design_main_strand_moving$_cachedTypedProps.get$helix_idx_to_svg_position_map()._map$_map, t2).y, + start_svg = helix.svg_base_pos$3(domain_first.get$offset_5p(), domain_first.forward, helix_svg_position_y), + path_cmds = H.setRuntimeTypeInfo(["M " + H.S(start_svg.x) + " " + H.S(start_svg.y)], type$.JSArray_legacy_String); + t1 = strand_moved.substrands._list; + t2 = J.getInterceptor$asx(t1); + t3 = type$.legacy_BuiltMap_of_legacy_int_and_legacy_Helix; + t4 = type$.legacy_BuiltMap_of_legacy_int_and_legacy_Point_legacy_num; + t5 = type$.legacy_Domain; + t6 = strand_moved.circular; + t7 = type$.legacy_Geometry; + i = 0; + while (true) { + t8 = t2.get$length(t1); + if (typeof t8 !== "number") + return H.iae(t8); + if (!(i < t8)) + break; + substrand = t2.$index(t1, i); + if (substrand instanceof G.Domain) { + t8 = _this._design_main_strand_moving$_cachedTypedProps; + t8 = t8.get$props(t8).$index(0, _s62_); + t8 = t4._as(t8 == null ? _null : t8); + t9 = helix.idx; + helix_svg_position_y = J.$index$asx(t8._map$_map, t9).y; + t9 = substrand.__offset_3p; + t8 = t9 == null ? substrand.__offset_3p = G.Domain.prototype.get$offset_3p.call(substrand) : t9; + end_svg = helix.svg_base_pos$3(t8, substrand.forward, helix_svg_position_y); + C.JSArray_methods.add$1(path_cmds, "L " + H.S(end_svg.x) + " " + H.S(end_svg.y)); + t8 = t2.get$length(t1); + if (typeof t8 !== "number") + return H.iae(t8); + idx_next = C.JSInt_methods.$mod(i + 1, t8); + if (t2.$index(t1, idx_next) instanceof G.Domain) { + t8 = t2.get$length(t1); + if (typeof t8 !== "number") + return t8.$sub(); + t8 = i < t8 - 1 || t6; + } else + t8 = false; + if (t8) { + domain = t5._as(t2.$index(t1, idx_next)); + t8 = _this._design_main_strand_moving$_cachedTypedProps; + t8 = t8.get$props(t8).$index(0, _s39_); + t8 = t3._as(t8 == null ? _null : t8); + t9 = domain.helix; + helix = J.$index$asx(t8._map$_map, t9); + if (helix == null) + return _null; + t8 = _this._design_main_strand_moving$_cachedTypedProps; + t8 = t8.get$props(t8).$index(0, _s62_); + t8 = t4._as(t8 == null ? _null : t8); + t10 = helix.idx; + helix_svg_position_y = J.$index$asx(t8._map$_map, t10).y; + t10 = domain.__offset_5p; + t8 = t10 == null ? domain.__offset_5p = G.Domain.prototype.get$offset_5p.call(domain) : t10; + start_svg = helix.svg_base_pos$3(t8, domain.forward, helix_svg_position_y); + t8 = _this._design_main_strand_moving$_cachedTypedProps; + t8 = t8.get$props(t8).$index(0, _s39_); + t8 = t3._as(t8 == null ? _null : t8); + t10 = _this._design_main_strand_moving$_cachedTypedProps; + t10 = t10.get$props(t10).$index(0, _s62_); + t10 = t4._as(t10 == null ? _null : t10); + t11 = substrand.helix; + t11 = J.$index$asx(t10._map$_map, t11).y; + t10 = _this._design_main_strand_moving$_cachedTypedProps; + t10 = t10.get$props(t10).$index(0, _s62_); + t9 = J.$index$asx(t4._as(t10 == null ? _null : t10)._map$_map, t9).y; + t10 = _this._design_main_strand_moving$_cachedTypedProps; + t10 = t10.get$props(t10).$index(0, "TransformByHelixGroupPropsMixin.geometry"); + control = B.control_point_for_crossover_bezier_curve(substrand, domain, t8, t11, t9, t7._as(t10 == null ? _null : t10)); + C.JSArray_methods.add$1(path_cmds, "Q " + H.S(control.x) + " " + H.S(control.y) + " " + H.S(start_svg.x) + " " + H.S(start_svg.y)); + } + } else { + if (substrand instanceof G.Loopout) + if (i > 0) { + t8 = t2.get$length(t1); + if (typeof t8 !== "number") + return t8.$sub(); + t8 = i < t8 - 1; + } else + t8 = false; + else + t8 = false; + if (t8) { + prev_domain = t5._as(t2.$index(t1, i - 1)); + next_domain = t5._as(t2.$index(t1, i + 1)); + t8 = _this._design_main_strand_moving$_cachedTypedProps; + t8 = t8.get$props(t8).$index(0, _s39_); + t8 = t3._as(t8 == null ? _null : t8); + t9 = prev_domain.helix; + prev_helix = J.$index$asx(t8._map$_map, t9); + t8 = _this._design_main_strand_moving$_cachedTypedProps; + t8 = t8.get$props(t8).$index(0, _s39_); + t8 = t3._as(t8 == null ? _null : t8); + t10 = next_domain.helix; + next_helix = J.$index$asx(t8._map$_map, t10); + t8 = _this._design_main_strand_moving$_cachedTypedProps; + t8 = t8.get$props(t8).$index(0, _s62_); + prev_helix_svg_position_y = J.$index$asx(t4._as(t8 == null ? _null : t8)._map$_map, t9).y; + t8 = _this._design_main_strand_moving$_cachedTypedProps; + t8 = t8.get$props(t8).$index(0, _s62_); + C.JSArray_methods.add$1(path_cmds, R.loopout_path_description_within_group(prev_helix, next_helix, prev_domain, next_domain, substrand, false, false, prev_helix_svg_position_y, J.$index$asx(t4._as(t8 == null ? _null : t8)._map$_map, t10).y)); + t8 = _this._design_main_strand_moving$_cachedTypedProps; + t8 = t8.get$props(t8).$index(0, _s39_); + helix = J.$index$asx(t3._as(t8 == null ? _null : t8)._map$_map, t10); + } + } + ++i; + } + classname = !H.boolConversionCheck(_this._design_main_strand_moving$_cachedTypedProps.get$allowable()) ? "domain-line disallowed" : "domain-line"; + t1 = A.SvgProps$($.$get$path(), _null); + t1.set$className(0, classname); + t2 = _this._design_main_strand_moving$_cachedTypedProps.get$strand().color.toHexColor$0(); + t1.set$stroke(0, "#" + t2.get$rHex() + t2.get$gHex() + t2.get$bHex()); + t1.set$fill(0, "none"); + t1.set$d(0, C.JSArray_methods.join$1(path_cmds, " ")); + t1.set$key(0, 0); + return t1.call$0(); + } + }; + T.$DesignMainStrandMovingComponentFactory_closure.prototype = { + call$0: function() { + return new T._$DesignMainStrandMovingComponent(null); + }, + "call*": "call$0", + $requiredArgCount: 0, + $signature: 486 + }; + T._$$DesignMainStrandMovingProps.prototype = { + get$$$isClassGenerated: function() { + return true; + }, + get$componentFactory: function() { + var t1 = this.componentFactory; + return t1 == null ? $.$get$$DesignMainStrandMovingComponentFactory() : t1; + } + }; + T._$$DesignMainStrandMovingProps$PlainMap.prototype = { + get$props: function(_) { + return this._design_main_strand_moving$_props; + } + }; + T._$$DesignMainStrandMovingProps$JsMap.prototype = { + get$props: function(_) { + return this._design_main_strand_moving$_props; + } + }; + T._$DesignMainStrandMovingComponent.prototype = { + get$props: function(_) { + return this._design_main_strand_moving$_cachedTypedProps; + }, + set$props: function(_, value) { + this.props = value; + this._design_main_strand_moving$_cachedTypedProps = T._$$DesignMainStrandMovingProps$JsMap$(R.getBackingMap(value)); + }, + get$displayName: function(_) { + return "DesignMainStrandMoving"; + }, + get$$$defaultConsumedProps: function() { + return C.Map_gaMMc.get$values(C.Map_gaMMc); + } + }; + T.$DesignMainStrandMovingPropsMixin.prototype = { + get$strand: function() { + var t1 = J.$index$asx(this.get$props(this), "DesignMainStrandMovingPropsMixin.strand"); + if (t1 == null) + t1 = null; + return type$.legacy_Strand._as(t1); + }, + get$allowable: function() { + var t1 = J.$index$asx(this.get$props(this), string$.DesignMStMva); + return H._asBoolS(t1 == null ? null : t1); + }, + get$helices: function() { + var t1 = J.$index$asx(this.get$props(this), "DesignMainStrandMovingPropsMixin.helices"); + if (t1 == null) + t1 = null; + return type$.legacy_BuiltMap_of_legacy_int_and_legacy_Helix._as(t1); + }, + set$helices: function(value) { + type$.legacy_BuiltMap_of_legacy_int_and_legacy_Helix._as(value); + J.$indexSet$ax(this.get$props(this), "DesignMainStrandMovingPropsMixin.helices", value); + }, + get$groups: function() { + var t1 = J.$index$asx(this.get$props(this), "DesignMainStrandMovingPropsMixin.groups"); + if (t1 == null) + t1 = null; + return type$.legacy_BuiltMap_of_legacy_String_and_legacy_HelixGroup._as(t1); + }, + set$groups: function(value) { + type$.legacy_BuiltMap_of_legacy_String_and_legacy_HelixGroup._as(value); + J.$indexSet$ax(this.get$props(this), "DesignMainStrandMovingPropsMixin.groups", value); + }, + get$geometry: function(_) { + var t1 = J.$index$asx(this.get$props(this), string$.DesignMStMvg); + if (t1 == null) + t1 = null; + return type$.legacy_Geometry._as(t1); + }, + set$geometry: function(_, value) { + J.$indexSet$ax(this.get$props(this), string$.DesignMStMvg, value); + }, + get$helix_idx_to_svg_position_map: function() { + var t1 = J.$index$asx(this.get$props(this), string$.DesignMStMvh); + if (t1 == null) + t1 = null; + return type$.legacy_BuiltMap_of_legacy_int_and_legacy_Point_legacy_num._as(t1); + } + }; + T._DesignMainStrandMovingComponent_UiComponent2_PureComponent.prototype = {}; + T._DesignMainStrandMovingComponent_UiComponent2_PureComponent_TransformByHelixGroup.prototype = {}; + T.__$$DesignMainStrandMovingProps_UiProps_DesignMainStrandMovingPropsMixin.prototype = { + set$helices: function(helices) { + this.DesignMainStrandMovingPropsMixin_helices = type$.legacy_BuiltMap_of_legacy_int_and_legacy_Helix._as(helices); + }, + set$groups: function(groups) { + this.DesignMainStrandMovingPropsMixin_groups = type$.legacy_BuiltMap_of_legacy_String_and_legacy_HelixGroup._as(groups); + }, + set$geometry: function(_, geometry) { + this.DesignMainStrandMovingPropsMixin_geometry = type$.legacy_Geometry._as(geometry); + }, + get$helices: function() { + return this.DesignMainStrandMovingPropsMixin_helices; + }, + get$groups: function() { + return this.DesignMainStrandMovingPropsMixin_groups; + }, + get$geometry: function(receiver) { + return this.DesignMainStrandMovingPropsMixin_geometry; + } + }; + T.__$$DesignMainStrandMovingProps_UiProps_DesignMainStrandMovingPropsMixin_$DesignMainStrandMovingPropsMixin.prototype = {}; + T.__$$DesignMainStrandMovingProps_UiProps_DesignMainStrandMovingPropsMixin_$DesignMainStrandMovingPropsMixin_TransformByHelixGroupPropsMixin.prototype = { + set$helices: function(helices) { + this.TransformByHelixGroupPropsMixin_helices = type$.legacy_BuiltMap_of_legacy_int_and_legacy_Helix._as(helices); + }, + set$groups: function(groups) { + this.TransformByHelixGroupPropsMixin_groups = type$.legacy_BuiltMap_of_legacy_String_and_legacy_HelixGroup._as(groups); + }, + set$geometry: function(_, geometry) { + this.TransformByHelixGroupPropsMixin_geometry = type$.legacy_Geometry._as(geometry); + }, + get$helices: function() { + return this.TransformByHelixGroupPropsMixin_helices; + }, + get$groups: function() { + return this.TransformByHelixGroupPropsMixin_groups; + }, + get$geometry: function(receiver) { + return this.TransformByHelixGroupPropsMixin_geometry; + } + }; + T.__$$DesignMainStrandMovingProps_UiProps_DesignMainStrandMovingPropsMixin_$DesignMainStrandMovingPropsMixin_TransformByHelixGroupPropsMixin_$TransformByHelixGroupPropsMixin.prototype = {}; + B.DesignMainStrandPathsPropsMixin.prototype = { + set$helices: function(helices) { + this.DesignMainStrandPathsPropsMixin_helices = type$.legacy_BuiltMap_of_legacy_int_and_legacy_Helix._as(helices); + }, + set$groups: function(groups) { + this.DesignMainStrandPathsPropsMixin_groups = type$.legacy_BuiltMap_of_legacy_String_and_legacy_HelixGroup._as(groups); + }, + set$geometry: function(_, geometry) { + this.DesignMainStrandPathsPropsMixin_geometry = type$.legacy_Geometry._as(geometry); + }, + get$helices: function() { + return this.DesignMainStrandPathsPropsMixin_helices; + }, + get$groups: function() { + return this.DesignMainStrandPathsPropsMixin_groups; + }, + get$geometry: function(receiver) { + return this.DesignMainStrandPathsPropsMixin_geometry; + } + }; + B.DesignMainStrandPathsComponent.prototype = { + render$0: function(_) { + var t1 = A.SvgProps$($.$get$g(), null); + t1.set$className(0, "strand-paths"); + return t1.call$1(this._strand_paths$0()); + }, + _strand_paths$0: function() { + var t3, paths, ends, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19, t20, i, t21, substrand, t22, helix, t23, t24, t25, t26, is_5p, _i, end, t27, key, end_selected, t28, t29, next_dom, prev_dom, prev_helix, next_helix, should, is_5p_str, adj_dom, adj_helix, idx_crossover, prev_ss, next_ss, draw_prev_ss, draw_next_ss, idx_crossover0, crossover, _this = this, _null = null, + _s39_ = "TransformByHelixGroupPropsMixin.helices", + _s56_ = string$.DesignMStPasi, + _s61_ = string$.DesignMStPaon, + _s38_ = "DesignMainStrandPathsPropsMixin.strand", + _s38_0 = "TransformByHelixGroupPropsMixin.groups", + _s40_ = "TransformByHelixGroupPropsMixin.geometry", + _s64_ = string$.DesignMStPar, + _s59_ = string$.DesignMDoPr, + _s46_ = string$.DesignMStPast, + _s61_0 = string$.DesignMStPah, + _s3_ = "key", + _s55_ = string$.DesignMStPaseen, + _s42_ = string$.DesignMDNEi, + _s32_ = "DesignMainDNAEndPropsMixin.is_5p", + _s36_ = "DesignMainDNAEndPropsMixin.transform", + _s39_0 = "DesignMainDNAEndPropsMixin.strand_color", + _s32_0 = "DesignMainDNAEndPropsMixin.helix", + _s32_1 = "DesignMainDNAEndPropsMixin.group", + _s35_ = "DesignMainDNAEndPropsMixin.geometry", + _s38_1 = "DesignMainDNAEndPropsMixin.is_scaffold", + _s35_0 = "DesignMainDNAEndPropsMixin.selected", + _s33_ = "DesignMainDNAEndPropsMixin.strand", + _s59_0 = string$.DesignMDNEr, + _s47_ = string$.DesignMStPam, + _s46_0 = string$.DesignMDNEm, + _s59_1 = string$.DesignMStPad, + _s54_ = string$.DesignMDNEd, + _s45_ = string$.DesignMDNEh, + _s60_ = string$.DesignMLPr, + _s68_ = string$.DesignMStCor, + strand = _this._design_main_strand_paths$_cachedTypedProps.get$strand(), + t1 = strand.substrands._list, + t2 = J.getInterceptor$ax(t1); + if (t2.get$first(t1) instanceof G.Loopout) + throw H.wrapException(N.StrandError$(strand, "loopouts at beginning of strand not supported")); + if (t2.get$last(t1) instanceof G.Loopout) + throw H.wrapException(N.StrandError$(strand, "loopouts at end of strand not supported")); + t3 = type$.JSArray_legacy_ReactElement; + paths = H.setRuntimeTypeInfo([], t3); + ends = H.setRuntimeTypeInfo([], t3); + t2.get$first(t1); + t3 = type$.legacy_BuiltSet_legacy_int; + t4 = type$.legacy_BuiltMap_of_legacy_int_and_legacy_Helix; + t5 = type$.legacy_Domain; + t6 = type$.legacy_BuiltMap_of_legacy_int_and_legacy_Point_legacy_num; + t7 = type$.legacy_Point_legacy_num; + t8 = type$.legacy_Strand; + t9 = type$.legacy_Geometry; + t10 = type$.legacy_BuiltMap_of_legacy_String_and_legacy_HelixGroup; + t11 = type$.legacy_HelixGroup; + t12 = type$.legacy_BuiltSet_legacy_DNAEnd; + t13 = strand.color; + t14 = type$.legacy_BuiltSet_legacy_Extension; + t15 = type$.legacy_BuiltSet_legacy_Loopout; + t16 = type$.legacy_String; + t17 = type$.legacy_BuiltSet_legacy_Domain; + t18 = type$.legacy_int; + t19 = type$.legacy_Helix; + t20 = type$.legacy_legacy_List_legacy_ContextMenuItem_Function_legacy_Strand_$named_address_legacy_Address_and_substrand_legacy_Substrand_and_type_legacy_ModificationType; + i = 0; + while (true) { + t21 = t2.get$length(t1); + if (typeof t21 !== "number") + return H.iae(t21); + if (!(i < t21)) + break; + substrand = t2.$index(t1, i); + if (substrand instanceof G.Domain) { + t21 = _this._design_main_strand_paths$_cachedTypedProps; + t21 = t21.get$props(t21).$index(0, _s39_); + t21 = t4._as(t21 == null ? _null : t21); + t22 = substrand.helix; + helix = J.$index$asx(t21._map$_map, t22); + t21 = _this._design_main_strand_paths$_cachedTypedProps; + t21 = t21.get$props(t21).$index(0, _s56_); + t21 = t3._as(t21 == null ? _null : t21); + t23 = _this._design_main_strand_paths$_cachedTypedProps; + t23 = t23.get$props(t23).$index(0, _s61_); + if (!H.boolConversionCheck(H._asBoolS(t23 == null ? _null : t23)) || t21._set.contains$1(0, t22)) { + t21 = T.design_main_strand_domain___$DesignMainDomain$closure().call$0(); + t21.toString; + t23 = J.getInterceptor$x(t21); + J.$indexSet$ax(t23.get$props(t21), "DesignMainDomainPropsMixin.domain", substrand); + t24 = _this._design_main_strand_paths$_cachedTypedProps; + t24 = t24.get$props(t24).$index(0, _s38_); + t24 = t8._as(t24 == null ? _null : t24); + J.$indexSet$ax(t23.get$props(t21), "DesignMainDomainPropsMixin.strand", t24); + t24 = _this.transform_of_helix$1(t22); + J.$indexSet$ax(t23.get$props(t21), "DesignMainDomainPropsMixin.transform", t24); + t24 = t20._as(_this._design_main_strand_paths$_cachedTypedProps.get$context_menu_strand()); + J.$indexSet$ax(t23.get$props(t21), string$.DesignMDoPc, t24); + J.$indexSet$ax(t23.get$props(t21), "DesignMainDomainPropsMixin.strand_color", t13); + t24 = _this._design_main_strand_paths$_cachedTypedProps; + t24 = t24.get$props(t24).$index(0, string$.DesignMStPased); + t24 = t17._as(t24 == null ? _null : t24)._set.contains$1(0, substrand); + J.$indexSet$ax(t23.get$props(t21), "DesignMainDomainPropsMixin.selected", t24); + J.$indexSet$ax(t23.get$props(t21), "DesignMainDomainPropsMixin.helix", helix); + t24 = helix.idx; + t25 = t4._as(A.BuiltMap_BuiltMap$of(P.LinkedHashMap_LinkedHashMap$_literal([t24, helix], t18, t19), t18, t19)); + J.$indexSet$ax(t23.get$props(t21), _s39_, t25); + t25 = helix.group; + t26 = _this._design_main_strand_paths$_cachedTypedProps; + t26 = t26.get$props(t26).$index(0, _s38_0); + t26 = t10._as(A.BuiltMap_BuiltMap$of(P.LinkedHashMap_LinkedHashMap$_literal([t25, J.$index$asx(t10._as(t26 == null ? _null : t26)._map$_map, t25)], t16, t11), t16, t11)); + J.$indexSet$ax(t23.get$props(t21), _s38_0, t26); + t26 = _this._design_main_strand_paths$_cachedTypedProps; + t26 = t26.get$props(t26).$index(0, _s40_); + t26 = t9._as(t26 == null ? _null : t26); + J.$indexSet$ax(t23.get$props(t21), _s40_, t26); + t26 = _this._design_main_strand_paths$_cachedTypedProps; + t26 = t26.get$props(t26).$index(0, _s64_); + t26 = H._asBoolS(t26 == null ? _null : t26); + J.$indexSet$ax(t23.get$props(t21), _s59_, t26); + t26 = _this._design_main_strand_paths$_cachedTypedProps; + t26 = t26.get$props(t26).$index(0, _s46_); + t26 = H._asStringS(t26 == null ? _null : t26); + J.$indexSet$ax(t23.get$props(t21), string$.DesignMDoPs, t26); + t26 = _this._design_main_strand_paths$_cachedTypedProps; + t26 = t26.get$props(t26).$index(0, _s61_0); + t26 = t7._as(J.$index$asx(t6._as(t26 == null ? _null : t26)._map$_map, t24)); + J.$indexSet$ax(t23.get$props(t21), string$.DesignMDoPh, t26); + t26 = _this._design_main_strand_paths$_cachedTypedProps; + t26 = t26.get$props(t26).$index(0, _s64_); + t26 = H._asBoolS(t26 == null ? _null : t26); + J.$indexSet$ax(t23.get$props(t21), _s59_, t26); + t26 = "domain-" + i; + t23 = t23.get$props(t21); + J.$indexSet$ax(t23, _s3_, t26); + C.JSArray_methods.add$1(paths, t21.call$0()); + t21 = _this._design_main_strand_paths$_cachedTypedProps; + t21 = t21.get$props(t21).$index(0, _s38_); + if (!t8._as(t21 == null ? _null : t21).circular) { + t21 = substrand.forward; + if (t21) { + t23 = substrand.__dnaend_start; + if (t23 == null) { + t23 = G.Domain.prototype.get$dnaend_start.call(substrand); + substrand.__dnaend_start = t23; + } + } else { + t23 = substrand.__dnaend_end; + if (t23 == null) { + t23 = G.Domain.prototype.get$dnaend_end.call(substrand); + substrand.__dnaend_end = t23; + } + } + if (t21) { + t21 = substrand.__dnaend_end; + if (t21 == null) { + t21 = G.Domain.prototype.get$dnaend_end.call(substrand); + substrand.__dnaend_end = t21; + } + } else { + t21 = substrand.__dnaend_start; + if (t21 == null) { + t21 = G.Domain.prototype.get$dnaend_start.call(substrand); + substrand.__dnaend_start = t21; + } + } + t21 = [t23, t21]; + t23 = substrand.is_last; + t26 = substrand.is_first; + is_5p = true; + _i = 0; + for (; _i < 2; ++_i, is_5p = false) { + end = t21[_i]; + if (is_5p) { + t27 = "5'-end-" + i; + key = t27 + (t26 ? "-is_first" : ""); + } else { + t27 = "3'-end-" + i; + key = t27 + (t23 ? "-is_last" : ""); + } + t27 = _this._design_main_strand_paths$_cachedTypedProps; + t27 = t27.get$props(t27).$index(0, _s55_); + end_selected = t12._as(t27 == null ? _null : t27)._set.contains$1(0, end); + t27 = S.design_main_strand_dna_end___$DesignMainDNAEnd$closure().call$0(); + t27.toString; + t28 = J.getInterceptor$x(t27); + J.$indexSet$ax(t28.get$props(t27), "DesignMainDNAEndPropsMixin.domain", substrand); + J.$indexSet$ax(t28.get$props(t27), _s42_, false); + J.$indexSet$ax(t28.get$props(t27), _s32_, is_5p); + t29 = _this.transform_of_helix$1(t22); + J.$indexSet$ax(t28.get$props(t27), _s36_, t29); + J.$indexSet$ax(t28.get$props(t27), _s39_0, t13); + J.$indexSet$ax(t28.get$props(t27), _s32_0, helix); + t29 = _this._design_main_strand_paths$_cachedTypedProps; + t29 = t29.get$props(t29).$index(0, _s38_0); + t29 = t11._as(J.$index$asx(t10._as(t29 == null ? _null : t29)._map$_map, t25)); + J.$indexSet$ax(t28.get$props(t27), _s32_1, t29); + t29 = _this._design_main_strand_paths$_cachedTypedProps; + t29 = t29.get$props(t29).$index(0, _s40_); + t29 = t9._as(t29 == null ? _null : t29); + J.$indexSet$ax(t28.get$props(t27), _s35_, t29); + t29 = _this._design_main_strand_paths$_cachedTypedProps; + t29 = t29.get$props(t29).$index(0, _s38_); + t29 = t8._as(t29 == null ? _null : t29).is_scaffold; + J.$indexSet$ax(t28.get$props(t27), _s38_1, t29); + J.$indexSet$ax(t28.get$props(t27), _s35_0, end_selected); + J.$indexSet$ax(t28.get$props(t27), _s33_, strand); + t29 = _this._design_main_strand_paths$_cachedTypedProps; + t29 = t29.get$props(t29).$index(0, _s64_); + t29 = H._asBoolS(t29 == null ? _null : t29); + J.$indexSet$ax(t28.get$props(t27), _s59_0, t29); + t27.set$context_menu_strand(_this._design_main_strand_paths$_cachedTypedProps.get$context_menu_strand()); + t29 = _this._design_main_strand_paths$_cachedTypedProps; + t29 = t29.get$props(t29).$index(0, _s47_); + t29 = H.boolConversionCheck(H._asBoolS(t29 == null ? _null : t29)) && end_selected; + J.$indexSet$ax(t28.get$props(t27), _s46_0, t29); + t29 = _this._design_main_strand_paths$_cachedTypedProps; + t29 = t29.get$props(t29).$index(0, _s59_1); + t29 = H._asBoolS(t29 == null ? _null : t29); + J.$indexSet$ax(t28.get$props(t27), _s54_, t29); + t29 = _this._design_main_strand_paths$_cachedTypedProps; + t29 = t29.get$props(t29).$index(0, _s61_0); + t29 = t7._as(J.$index$asx(t6._as(t29 == null ? _null : t29)._map$_map, t24)); + J.$indexSet$ax(t28.get$props(t27), _s45_, t29); + t29 = _this._design_main_strand_paths$_cachedTypedProps; + t29 = t29.get$props(t29).$index(0, _s64_); + t29 = H._asBoolS(t29 == null ? _null : t29); + J.$indexSet$ax(t28.get$props(t27), _s59_0, t29); + t28 = t28.get$props(t27); + J.$indexSet$ax(t28, _s3_, key); + C.JSArray_methods.add$1(ends, t27.call$0()); + } + } + } + } else if (substrand instanceof G.Loopout) { + next_dom = t5._as(t2.$index(t1, i + 1)); + prev_dom = t5._as(t2.$index(t1, i - 1)); + t21 = _this._design_main_strand_paths$_cachedTypedProps; + t21 = t21.get$props(t21).$index(0, _s39_); + t21 = t4._as(t21 == null ? _null : t21); + t22 = prev_dom.helix; + prev_helix = J.$index$asx(t21._map$_map, t22); + t21 = _this._design_main_strand_paths$_cachedTypedProps; + t21 = t21.get$props(t21).$index(0, _s39_); + t21 = t4._as(t21 == null ? _null : t21); + t23 = next_dom.helix; + next_helix = J.$index$asx(t21._map$_map, t23); + t21 = _this._design_main_strand_paths$_cachedTypedProps; + t21 = t21.get$props(t21).$index(0, _s56_); + t21 = t3._as(t21 == null ? _null : t21); + t24 = _this._design_main_strand_paths$_cachedTypedProps; + t24 = t24.get$props(t24).$index(0, _s61_); + t24 = H.boolConversionCheck(H._asBoolS(t24 == null ? _null : t24)); + if (!t24 || t21._set.contains$1(0, t22)) + should = !t24 || t21._set.contains$1(0, t23); + else + should = false; + if (should) { + t21 = R.design_main_strand_loopout___$DesignMainLoopout$closure().call$0(); + t21.toString; + t22 = J.getInterceptor$x(t21); + J.$indexSet$ax(t22.get$props(t21), "DesignMainLoopoutPropsMixin.loopout", substrand); + t23 = _this._design_main_strand_paths$_cachedTypedProps; + t23 = t23.get$props(t23).$index(0, string$.DesignMStPashd); + t23 = H._asBoolS(t23 == null ? _null : t23); + J.$indexSet$ax(t22.get$props(t21), string$.DesignMLPs, t23); + J.$indexSet$ax(t22.get$props(t21), "DesignMainLoopoutPropsMixin.strand", strand); + t23 = _this._design_main_strand_paths$_cachedTypedProps; + t23 = t23.get$props(t23).$index(0, _s39_); + t23 = t4._as(t4._as(t23 == null ? _null : t23)); + J.$indexSet$ax(t22.get$props(t21), _s39_, t23); + t23 = _this._design_main_strand_paths$_cachedTypedProps; + t23 = t23.get$props(t23).$index(0, _s38_0); + t23 = t10._as(t10._as(t23 == null ? _null : t23)); + J.$indexSet$ax(t22.get$props(t21), _s38_0, t23); + t23 = _this._design_main_strand_paths$_cachedTypedProps; + t23 = t23.get$props(t23).$index(0, _s40_); + t23 = t9._as(t23 == null ? _null : t23); + J.$indexSet$ax(t22.get$props(t21), _s40_, t23); + J.$indexSet$ax(t22.get$props(t21), "DesignMainLoopoutPropsMixin.strand_color", t13); + t23 = _this._design_main_strand_paths$_cachedTypedProps; + t23 = t23.get$props(t23).$index(0, string$.DesignMStPasel); + t23 = t15._as(t23 == null ? _null : t23)._set.contains$1(0, substrand); + J.$indexSet$ax(t22.get$props(t21), "DesignMainLoopoutPropsMixin.selected", t23); + J.$indexSet$ax(t22.get$props(t21), "DesignMainLoopoutPropsMixin.prev_domain", prev_dom); + J.$indexSet$ax(t22.get$props(t21), "DesignMainLoopoutPropsMixin.next_domain", next_dom); + J.$indexSet$ax(t22.get$props(t21), "DesignMainLoopoutPropsMixin.prev_helix", prev_helix); + J.$indexSet$ax(t22.get$props(t21), "DesignMainLoopoutPropsMixin.next_helix", next_helix); + t23 = _this._design_main_strand_paths$_cachedTypedProps; + t23 = t23.get$props(t23).$index(0, _s64_); + t23 = H._asBoolS(t23 == null ? _null : t23); + J.$indexSet$ax(t22.get$props(t21), _s60_, t23); + t23 = _this._design_main_strand_paths$_cachedTypedProps; + t23 = t23.get$props(t23).$index(0, _s61_0); + t23 = t6._as(t23 == null ? _null : t23); + t24 = prev_helix.idx; + t24 = J.$index$asx(t23._map$_map, t24).y; + J.$indexSet$ax(t22.get$props(t21), string$.DesignMLPp, t24); + t24 = _this._design_main_strand_paths$_cachedTypedProps; + t24 = t24.get$props(t24).$index(0, _s61_0); + t23 = t6._as(t24 == null ? _null : t24); + t24 = next_helix.idx; + t24 = J.$index$asx(t23._map$_map, t24).y; + J.$indexSet$ax(t22.get$props(t21), string$.DesignMLPn, t24); + t24 = _this._design_main_strand_paths$_cachedTypedProps; + t24 = t24.get$props(t24).$index(0, _s64_); + t23 = H._asBoolS(t24 == null ? _null : t24); + J.$indexSet$ax(t22.get$props(t21), _s60_, t23); + t23 = "loopout-" + i; + t22 = t22.get$props(t21); + J.$indexSet$ax(t22, _s3_, t23); + C.JSArray_methods.add$1(paths, t21.call$0()); + } + } else if (substrand instanceof S.Extension) { + t21 = H.boolConversionCheck(substrand.is_5p); + is_5p_str = t21 ? "5'" : "3'"; + adj_dom = t5._as(t2.$index(t1, i === 0 ? 1 : i - 1)); + t22 = _this._design_main_strand_paths$_cachedTypedProps; + t22 = t22.get$props(t22).$index(0, _s39_); + t22 = t4._as(t22 == null ? _null : t22); + t23 = adj_dom.helix; + adj_helix = J.$index$asx(t22._map$_map, t23); + t22 = _this._design_main_strand_paths$_cachedTypedProps; + t22 = t22.get$props(t22).$index(0, _s56_); + t22 = t3._as(t22 == null ? _null : t22); + t24 = _this._design_main_strand_paths$_cachedTypedProps; + t24 = t24.get$props(t24).$index(0, _s61_); + if (!H.boolConversionCheck(H._asBoolS(t24 == null ? _null : t24)) || t22._set.contains$1(0, t23)) { + t22 = Q.design_main_strand_extension___$DesignMainExtension$closure().call$0(); + t22.toString; + t23 = J.getInterceptor$x(t22); + J.$indexSet$ax(t23.get$props(t22), "DesignMainExtensionPropsMixin.ext", substrand); + J.$indexSet$ax(t23.get$props(t22), "DesignMainExtensionPropsMixin.strand", strand); + t24 = _this._design_main_strand_paths$_cachedTypedProps; + t24 = t24.get$props(t24).$index(0, _s39_); + t24 = t4._as(t4._as(t24 == null ? _null : t24)); + J.$indexSet$ax(t23.get$props(t22), _s39_, t24); + t24 = _this._design_main_strand_paths$_cachedTypedProps; + t24 = t24.get$props(t24).$index(0, _s38_0); + t24 = t10._as(t10._as(t24 == null ? _null : t24)); + J.$indexSet$ax(t23.get$props(t22), _s38_0, t24); + t24 = _this._design_main_strand_paths$_cachedTypedProps; + t24 = t24.get$props(t24).$index(0, _s40_); + t24 = t9._as(t24 == null ? _null : t24); + J.$indexSet$ax(t23.get$props(t22), _s40_, t24); + J.$indexSet$ax(t23.get$props(t22), string$.DesignMEsc, t13); + t24 = adj_helix.idx; + t25 = _this.transform_of_helix$1(t24); + J.$indexSet$ax(t23.get$props(t22), "DesignMainExtensionPropsMixin.transform", t25); + t25 = _this._design_main_strand_paths$_cachedTypedProps; + t25 = t25.get$props(t25).$index(0, string$.DesignMStPaseex); + t25 = t14._as(t25 == null ? _null : t25)._set.contains$1(0, substrand); + J.$indexSet$ax(t23.get$props(t22), "DesignMainExtensionPropsMixin.selected", t25); + t25 = _this._design_main_strand_paths$_cachedTypedProps; + t25 = t25.get$props(t25).$index(0, _s64_); + t25 = H._asBoolS(t25 == null ? _null : t25); + J.$indexSet$ax(t23.get$props(t22), string$.DesignMEr, t25); + J.$indexSet$ax(t23.get$props(t22), string$.DesignMEad, adj_dom); + J.$indexSet$ax(t23.get$props(t22), string$.DesignMEah, adj_helix); + t25 = _this._design_main_strand_paths$_cachedTypedProps; + t25 = t25.get$props(t25).$index(0, _s46_); + t25 = H._asStringS(t25 == null ? _null : t25); + J.$indexSet$ax(t23.get$props(t22), string$.DesignMEst, t25); + t25 = _this._design_main_strand_paths$_cachedTypedProps; + t25 = t25.get$props(t25).$index(0, _s61_0); + t25 = t7._as(J.$index$asx(t6._as(t25 == null ? _null : t25)._map$_map, t24)); + J.$indexSet$ax(t23.get$props(t22), string$.DesignMEah_, t25); + t25 = "extension-" + is_5p_str + "-" + i; + t23 = t23.get$props(t22); + J.$indexSet$ax(t23, _s3_, t25); + C.JSArray_methods.add$1(paths, t22.call$0()); + end = substrand.__dnaend_free; + if (end == null) + end = substrand.__dnaend_free = S.Extension.prototype.get$dnaend_free.call(substrand); + if (t21) { + t22 = "5'-end-" + i; + key = t22 + "-ext-is_first"; + } else { + t22 = "3'-end-" + i; + key = t22 + "-ext-is_last"; + } + t22 = _this._design_main_strand_paths$_cachedTypedProps; + t22 = t22.get$props(t22).$index(0, _s55_); + end_selected = t12._as(t22 == null ? _null : t22)._set.contains$1(0, end); + t22 = S.design_main_strand_dna_end___$DesignMainDNAEnd$closure().call$0(); + t22.toString; + t23 = J.getInterceptor$x(t22); + J.$indexSet$ax(t23.get$props(t22), "DesignMainDNAEndPropsMixin.ext", substrand); + J.$indexSet$ax(t23.get$props(t22), _s42_, true); + J.$indexSet$ax(t23.get$props(t22), _s32_, t21); + t21 = _this.transform_of_helix$1(substrand.adjacent_domain.helix); + J.$indexSet$ax(t23.get$props(t22), _s36_, t21); + J.$indexSet$ax(t23.get$props(t22), _s39_0, t13); + J.$indexSet$ax(t23.get$props(t22), _s32_0, adj_helix); + t21 = _this._design_main_strand_paths$_cachedTypedProps; + t21 = t21.get$props(t21).$index(0, _s38_0); + t21 = t10._as(t21 == null ? _null : t21); + t25 = adj_helix.group; + t25 = t11._as(J.$index$asx(t21._map$_map, t25)); + J.$indexSet$ax(t23.get$props(t22), _s32_1, t25); + t25 = _this._design_main_strand_paths$_cachedTypedProps; + t25 = t25.get$props(t25).$index(0, _s40_); + t21 = t9._as(t25 == null ? _null : t25); + J.$indexSet$ax(t23.get$props(t22), _s35_, t21); + t21 = _this._design_main_strand_paths$_cachedTypedProps; + t21 = t21.get$props(t21).$index(0, _s38_); + t21 = t8._as(t21 == null ? _null : t21).is_scaffold; + J.$indexSet$ax(t23.get$props(t22), _s38_1, t21); + J.$indexSet$ax(t23.get$props(t22), _s35_0, end_selected); + J.$indexSet$ax(t23.get$props(t22), _s33_, strand); + t21 = _this._design_main_strand_paths$_cachedTypedProps; + t21 = t21.get$props(t21).$index(0, _s64_); + t21 = H._asBoolS(t21 == null ? _null : t21); + J.$indexSet$ax(t23.get$props(t22), _s59_0, t21); + t22.set$context_menu_strand(_this._design_main_strand_paths$_cachedTypedProps.get$context_menu_strand()); + t21 = _this._design_main_strand_paths$_cachedTypedProps; + t21 = t21.get$props(t21).$index(0, _s47_); + t21 = H.boolConversionCheck(H._asBoolS(t21 == null ? _null : t21)) && end_selected; + J.$indexSet$ax(t23.get$props(t22), _s46_0, t21); + t21 = _this._design_main_strand_paths$_cachedTypedProps; + t21 = t21.get$props(t21).$index(0, _s59_1); + t21 = H._asBoolS(t21 == null ? _null : t21); + J.$indexSet$ax(t23.get$props(t22), _s54_, t21); + t21 = _this._design_main_strand_paths$_cachedTypedProps; + t21 = t21.get$props(t21).$index(0, _s61_0); + t21 = t7._as(J.$index$asx(t6._as(t21 == null ? _null : t21)._map$_map, t24)); + J.$indexSet$ax(t23.get$props(t22), _s45_, t21); + t21 = _this._design_main_strand_paths$_cachedTypedProps; + t21 = t21.get$props(t21).$index(0, _s64_); + t21 = H._asBoolS(t21 == null ? _null : t21); + J.$indexSet$ax(t23.get$props(t22), _s59_0, t21); + t23 = t23.get$props(t22); + J.$indexSet$ax(t23, _s3_, key); + C.JSArray_methods.add$1(ends, t22.call$0()); + } + } + ++i; + } + for (t7 = J.get$iterator$ax(strand.get$crossovers()._list), t8 = type$.legacy_BuiltSet_legacy_Crossover, idx_crossover = 0; t7.moveNext$0();) { + t11 = t7.get$current(t7); + prev_ss = t5._as(t2.$index(t1, t11.prev_domain_idx)); + next_ss = t5._as(t2.$index(t1, t11.next_domain_idx)); + t11 = prev_ss.helix; + t12 = _this._design_main_strand_paths$_cachedTypedProps; + t12 = t12.get$props(t12).$index(0, _s56_); + t12 = t3._as(t12 == null ? _null : t12); + t13 = _this._design_main_strand_paths$_cachedTypedProps; + t13 = t13.get$props(t13).$index(0, _s61_); + draw_prev_ss = !H.boolConversionCheck(H._asBoolS(t13 == null ? _null : t13)) || t12._set.contains$1(0, t11); + t12 = next_ss.helix; + t13 = _this._design_main_strand_paths$_cachedTypedProps; + t13 = t13.get$props(t13).$index(0, _s56_); + t13 = t3._as(t13 == null ? _null : t13); + t14 = _this._design_main_strand_paths$_cachedTypedProps; + t14 = t14.get$props(t14).$index(0, _s61_); + draw_next_ss = !H.boolConversionCheck(H._asBoolS(t14 == null ? _null : t14)) || t13._set.contains$1(0, t12); + if (draw_prev_ss && draw_next_ss) { + t13 = strand.__crossovers; + if (t13 == null) { + t13 = E.Strand.prototype.get$crossovers.call(strand); + strand.set$__crossovers(t13); + } + idx_crossover0 = idx_crossover + 1; + crossover = J.$index$asx(t13._list, idx_crossover); + t13 = Q.design_main_strand_crossover___$DesignMainStrandCrossover$closure().call$0(); + t13.toString; + t14 = J.getInterceptor$x(t13); + J.$indexSet$ax(t14.get$props(t13), string$.DesignMStCoc, crossover); + J.$indexSet$ax(t14.get$props(t13), string$.DesignMStCost, strand); + t15 = _this._design_main_strand_paths$_cachedTypedProps; + t15 = t15.get$props(t15).$index(0, _s39_); + t15 = t4._as(t4._as(t15 == null ? _null : t15)); + J.$indexSet$ax(t14.get$props(t13), _s39_, t15); + t15 = _this._design_main_strand_paths$_cachedTypedProps; + t15 = t15.get$props(t15).$index(0, _s38_0); + t15 = t10._as(t10._as(t15 == null ? _null : t15)); + J.$indexSet$ax(t14.get$props(t13), _s38_0, t15); + t15 = _this._design_main_strand_paths$_cachedTypedProps; + t15 = t15.get$props(t15).$index(0, string$.DesignMStPasec); + t15 = t8._as(t15 == null ? _null : t15)._set.contains$1(0, crossover); + J.$indexSet$ax(t14.get$props(t13), string$.DesignMStCose, t15); + J.$indexSet$ax(t14.get$props(t13), string$.DesignMStCop, prev_ss); + J.$indexSet$ax(t14.get$props(t13), string$.DesignMStCon, next_ss); + t15 = _this._design_main_strand_paths$_cachedTypedProps; + t15 = t15.get$props(t15).$index(0, _s40_); + t15 = t9._as(t15 == null ? _null : t15); + J.$indexSet$ax(t14.get$props(t13), _s40_, t15); + t15 = _this._design_main_strand_paths$_cachedTypedProps; + t15 = t15.get$props(t15).$index(0, _s64_); + t15 = H._asBoolS(t15 == null ? _null : t15); + J.$indexSet$ax(t14.get$props(t13), _s68_, t15); + t15 = _this._design_main_strand_paths$_cachedTypedProps; + t15 = t15.get$props(t15).$index(0, _s61_0); + t11 = J.$index$asx(t6._as(t15 == null ? _null : t15)._map$_map, t11).y; + J.$indexSet$ax(t14.get$props(t13), string$.DesignMStCop_, t11); + t11 = _this._design_main_strand_paths$_cachedTypedProps; + t11 = t11.get$props(t11).$index(0, _s61_0); + t11 = J.$index$asx(t6._as(t11 == null ? _null : t11)._map$_map, t12).y; + J.$indexSet$ax(t14.get$props(t13), string$.DesignMStCon_, t11); + t11 = _this._design_main_strand_paths$_cachedTypedProps; + t11 = t11.get$props(t11).$index(0, _s64_); + t11 = H._asBoolS(t11 == null ? _null : t11); + J.$indexSet$ax(t14.get$props(t13), _s68_, t11); + t11 = "crossover-paths-" + (idx_crossover0 - 1); + t14 = t14.get$props(t13); + J.$indexSet$ax(t14, _s3_, t11); + C.JSArray_methods.add$1(paths, t13.call$0()); + idx_crossover = idx_crossover0; + } + } + return C.JSArray_methods.$add(paths, ends); + } + }; + B.$DesignMainStrandPathsComponentFactory_closure.prototype = { + call$0: function() { + return new B._$DesignMainStrandPathsComponent(null); + }, + "call*": "call$0", + $requiredArgCount: 0, + $signature: 487 + }; + B._$$DesignMainStrandPathsProps.prototype = { + get$$$isClassGenerated: function() { + return true; + }, + get$componentFactory: function() { + var t1 = this.componentFactory; + return t1 == null ? $.$get$$DesignMainStrandPathsComponentFactory() : t1; + } + }; + B._$$DesignMainStrandPathsProps$PlainMap.prototype = { + get$props: function(_) { + return this._design_main_strand_paths$_props; + } + }; + B._$$DesignMainStrandPathsProps$JsMap.prototype = { + get$props: function(_) { + return this._design_main_strand_paths$_props; + } + }; + B._$DesignMainStrandPathsComponent.prototype = { + get$props: function(_) { + return this._design_main_strand_paths$_cachedTypedProps; + }, + set$props: function(_, value) { + this.props = value; + this._design_main_strand_paths$_cachedTypedProps = B._$$DesignMainStrandPathsProps$JsMap$(R.getBackingMap(value)); + }, + get$displayName: function(_) { + return "DesignMainStrandPaths"; + }, + get$$$defaultConsumedProps: function() { + return C.Map_wo7xB.get$values(C.Map_wo7xB); + } + }; + B.$DesignMainStrandPathsPropsMixin.prototype = { + get$strand: function() { + var t1 = J.$index$asx(this.get$props(this), "DesignMainStrandPathsPropsMixin.strand"); + if (t1 == null) + t1 = null; + return type$.legacy_Strand._as(t1); + }, + get$helices: function() { + var t1 = J.$index$asx(this.get$props(this), "DesignMainStrandPathsPropsMixin.helices"); + if (t1 == null) + t1 = null; + return type$.legacy_BuiltMap_of_legacy_int_and_legacy_Helix._as(t1); + }, + set$helices: function(value) { + type$.legacy_BuiltMap_of_legacy_int_and_legacy_Helix._as(value); + J.$indexSet$ax(this.get$props(this), "DesignMainStrandPathsPropsMixin.helices", value); + }, + get$groups: function() { + var t1 = J.$index$asx(this.get$props(this), "DesignMainStrandPathsPropsMixin.groups"); + if (t1 == null) + t1 = null; + return type$.legacy_BuiltMap_of_legacy_String_and_legacy_HelixGroup._as(t1); + }, + set$groups: function(value) { + type$.legacy_BuiltMap_of_legacy_String_and_legacy_HelixGroup._as(value); + J.$indexSet$ax(this.get$props(this), "DesignMainStrandPathsPropsMixin.groups", value); + }, + get$geometry: function(_) { + var t1 = J.$index$asx(this.get$props(this), "DesignMainStrandPathsPropsMixin.geometry"); + if (t1 == null) + t1 = null; + return type$.legacy_Geometry._as(t1); + }, + set$geometry: function(_, value) { + J.$indexSet$ax(this.get$props(this), "DesignMainStrandPathsPropsMixin.geometry", value); + }, + get$context_menu_strand: function() { + var t1 = J.$index$asx(this.get$props(this), string$.DesignMStPac); + if (t1 == null) + t1 = null; + return type$.legacy_legacy_List_legacy_ContextMenuItem_Function_legacy_Strand_$named_address_legacy_Address_and_substrand_legacy_Substrand_and_type_legacy_ModificationType._as(t1); + } + }; + B._DesignMainStrandPathsComponent_UiComponent2_PureComponent.prototype = {}; + B._DesignMainStrandPathsComponent_UiComponent2_PureComponent_TransformByHelixGroup.prototype = {}; + B.__$$DesignMainStrandPathsProps_UiProps_DesignMainStrandPathsPropsMixin.prototype = { + set$helices: function(helices) { + this.DesignMainStrandPathsPropsMixin_helices = type$.legacy_BuiltMap_of_legacy_int_and_legacy_Helix._as(helices); + }, + set$groups: function(groups) { + this.DesignMainStrandPathsPropsMixin_groups = type$.legacy_BuiltMap_of_legacy_String_and_legacy_HelixGroup._as(groups); + }, + set$geometry: function(_, geometry) { + this.DesignMainStrandPathsPropsMixin_geometry = type$.legacy_Geometry._as(geometry); + }, + get$helices: function() { + return this.DesignMainStrandPathsPropsMixin_helices; + }, + get$groups: function() { + return this.DesignMainStrandPathsPropsMixin_groups; + }, + get$geometry: function(receiver) { + return this.DesignMainStrandPathsPropsMixin_geometry; + } + }; + B.__$$DesignMainStrandPathsProps_UiProps_DesignMainStrandPathsPropsMixin_$DesignMainStrandPathsPropsMixin.prototype = {}; + B.__$$DesignMainStrandPathsProps_UiProps_DesignMainStrandPathsPropsMixin_$DesignMainStrandPathsPropsMixin_TransformByHelixGroupPropsMixin.prototype = { + set$helices: function(helices) { + this.TransformByHelixGroupPropsMixin_helices = type$.legacy_BuiltMap_of_legacy_int_and_legacy_Helix._as(helices); + }, + set$groups: function(groups) { + this.TransformByHelixGroupPropsMixin_groups = type$.legacy_BuiltMap_of_legacy_String_and_legacy_HelixGroup._as(groups); + }, + set$geometry: function(_, geometry) { + this.TransformByHelixGroupPropsMixin_geometry = type$.legacy_Geometry._as(geometry); + }, + get$helices: function() { + return this.TransformByHelixGroupPropsMixin_helices; + }, + get$groups: function() { + return this.TransformByHelixGroupPropsMixin_groups; + }, + get$geometry: function(receiver) { + return this.TransformByHelixGroupPropsMixin_geometry; + } + }; + B.__$$DesignMainStrandPathsProps_UiProps_DesignMainStrandPathsPropsMixin_$DesignMainStrandPathsPropsMixin_TransformByHelixGroupPropsMixin_$TransformByHelixGroupPropsMixin.prototype = {}; + E.ConnectedDesignMainStrands_closure.prototype = { + call$1: function(state) { + var t1, t2, t3, t4, t5, t6; + type$.legacy_AppState._as(state); + t1 = E.design_main_strands___$DesignMainStrands$closure().call$0(); + t2 = state.design; + t3 = t2.strands; + t1.toString; + type$.legacy_BuiltList_legacy_Strand._as(t3); + t4 = J.getInterceptor$x(t1); + J.$indexSet$ax(t4.get$props(t1), "DesignMainStrandsProps.strands", t3); + t3 = type$.legacy_BuiltMap_of_legacy_int_and_legacy_Helix._as(t2.helices); + J.$indexSet$ax(t4.get$props(t1), "DesignMainStrandsProps.helices", t3); + t3 = type$.legacy_BuiltMap_of_legacy_String_and_legacy_HelixGroup._as(t2.groups); + J.$indexSet$ax(t4.get$props(t1), "DesignMainStrandsProps.groups", t3); + t3 = state.ui_state; + t5 = t3.storables; + t6 = type$.legacy_BuiltSet_legacy_int._as(t5.side_selected_helix_idxs); + J.$indexSet$ax(t4.get$props(t1), string$.DesignMStsPsi, t6); + t6 = t3.selectables_store; + J.$indexSet$ax(t4.get$props(t1), "DesignMainStrandsProps.selectables_store", t6); + t6 = t3.potential_crossover_is_drawing; + J.$indexSet$ax(t4.get$props(t1), string$.DesignMStsPdr, t6); + t6 = t3.dna_ends_are_moving; + J.$indexSet$ax(t4.get$props(t1), "DesignMainStrandsProps.moving_dna_ends", t6); + t3 = t3.dna_assign_options; + J.$indexSet$ax(t4.get$props(t1), string$.DesignMStsPdn, t3); + t3 = t5.only_display_selected_helices; + J.$indexSet$ax(t4.get$props(t1), string$.DesignMStsPo, t3); + t3 = t5.show_dna; + J.$indexSet$ax(t4.get$props(t1), "DesignMainStrandsProps.show_dna", t3); + t3 = t5.show_modifications; + J.$indexSet$ax(t4.get$props(t1), string$.DesignMStsPshm, t3); + t3 = t5.modification_font_size; + J.$indexSet$ax(t4.get$props(t1), string$.DesignMStsPmf, t3); + t3 = t5.modification_display_connector; + J.$indexSet$ax(t4.get$props(t1), string$.DesignMStsPmd, t3); + t3 = t5.show_strand_names; + J.$indexSet$ax(t4.get$props(t1), "DesignMainStrandsProps.show_strand_names", t3); + t3 = t5.show_strand_labels; + J.$indexSet$ax(t4.get$props(t1), string$.DesignMStsPshs, t3); + t3 = t5.show_domain_names; + J.$indexSet$ax(t4.get$props(t1), "DesignMainStrandsProps.show_domain_names", t3); + t3 = t5.show_domain_labels; + J.$indexSet$ax(t4.get$props(t1), string$.DesignMStsPshd, t3); + t3 = t5.strand_name_font_size; + J.$indexSet$ax(t4.get$props(t1), string$.DesignMStsPstn, t3); + t3 = t5.strand_label_font_size; + J.$indexSet$ax(t4.get$props(t1), string$.DesignMStsPstl, t3); + t3 = t5.domain_name_font_size; + J.$indexSet$ax(t4.get$props(t1), string$.DesignMStsPdon, t3); + t3 = t5.domain_label_font_size; + J.$indexSet$ax(t4.get$props(t1), string$.DesignMStsPdol, t3); + t3 = type$.legacy_BuiltMap_of_legacy_int_and_legacy_Point_legacy_num._as(state.get$helix_idx_to_svg_position_map()); + J.$indexSet$ax(t4.get$props(t1), string$.DesignMStsPh, t3); + t3 = t5.display_reverse_DNA_right_side_up; + J.$indexSet$ax(t4.get$props(t1), string$.DesignMStsPdi, t3); + t2 = t2.geometry; + J.$indexSet$ax(t4.get$props(t1), "DesignMainStrandsProps.geometry", t2); + t5 = t5.retain_strand_color_on_selection; + J.$indexSet$ax(t4.get$props(t1), string$.DesignMStsPr, t5); + return t1; + }, + $signature: 488 + }; + E.DesignMainStrandsProps.prototype = {$isMap: 1, $isUiProps0: 1, $isUiProps: 1, + get$helices: function() { + return this.DesignMainStrandsProps_helices; + }, + get$groups: function() { + return this.DesignMainStrandsProps_groups; + }, + get$geometry: function(receiver) { + return this.DesignMainStrandsProps_geometry; + } + }; + E.DesignMainStrandsComponent.prototype = { + render$0: function(_) { + var t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19, t20, t21, helices_used_in_strand_mutable, t22, t23, t24, helices_used_in_strand, group_names_in_strand, t25, groups_in_strand, selected_ends_in_strand, selected_crossovers_in_strand, selected_loopouts_in_strand, selected_extensions_in_strand, selected_domains_in_strand, selected_deletions_in_strand, selected_insertions_in_strand, selected_modifications_in_strand, _this = this, _null = null, + _s40_ = "DesignMainStrandsProps.selectables_store", + _s52_ = string$.DesignMStsPo, + elts = H.setRuntimeTypeInfo([], type$.JSArray_legacy_ReactElement), + t1 = _this._design_main_strands$_cachedTypedProps; + t1 = t1.get$props(t1).$index(0, "DesignMainStrandsProps.strands"); + if (t1 == null) + t1 = _null; + t1 = J.get$iterator$ax(type$.legacy_BuiltList_legacy_Strand._as(t1)._list); + t2 = type$.legacy_BuiltMap_of_legacy_int_and_legacy_Point_legacy_num; + t3 = type$.legacy_Geometry; + t4 = type$.legacy_DNAAssignOptions; + t5 = type$.legacy_SelectablesStore; + t6 = type$.legacy_BuiltMap_of_legacy_int_and_legacy_Helix; + t7 = type$.legacy_BuiltMap_of_legacy_String_and_legacy_HelixGroup; + t8 = type$.legacy_BuiltSet_legacy_DNAEnd; + t9 = type$.legacy_BuiltSet_legacy_Crossover; + t10 = type$.legacy_BuiltSet_legacy_Loopout; + t11 = type$.legacy_BuiltSet_legacy_Extension; + t12 = type$.legacy_BuiltSet_legacy_Domain; + t13 = type$.legacy_BuiltSet_legacy_SelectableDeletion; + t14 = type$.legacy_BuiltSet_legacy_SelectableInsertion; + t15 = type$.legacy_BuiltSet_legacy_SelectableModification; + t16 = type$.legacy_BuiltSet_legacy_int; + t17 = type$.legacy_String; + t18 = type$.legacy_HelixGroup; + t19 = type$.legacy_int; + t20 = type$.legacy_Helix; + for (; t1.moveNext$0();) { + t21 = t1.get$current(t1); + helices_used_in_strand_mutable = P.LinkedHashMap_LinkedHashMap$_empty(t19, t20); + t22 = t21.__domains; + if (t22 == null) { + t22 = E.Strand.prototype.get$domains.call(t21); + t21.set$__domains(t22); + } + t22 = J.get$iterator$ax(t22._list); + for (; t22.moveNext$0();) { + t23 = t22.get$current(t22).helix; + t24 = _this._design_main_strands$_cachedTypedProps; + t24 = t24.get$props(t24).$index(0, "DesignMainStrandsProps.helices"); + helices_used_in_strand_mutable.$indexSet(0, t23, J.$index$asx(t6._as(t24 == null ? _null : t24)._map$_map, t23)); + } + helices_used_in_strand = A.BuiltMap_BuiltMap$of(helices_used_in_strand_mutable, t19, t20); + if (helices_used_in_strand._values == null) + helices_used_in_strand.set$_values(J.get$values$x(helices_used_in_strand._map$_map)); + t22 = helices_used_in_strand._values; + t22.toString; + group_names_in_strand = J.map$1$1$ax(t22, new E.DesignMainStrandsComponent_render_closure(), t17); + t22 = P.LinkedHashMap_LinkedHashMap$_empty(t17, t18); + for (t23 = group_names_in_strand.get$iterator(group_names_in_strand); t23.moveNext$0();) { + t24 = t23.get$current(t23); + t25 = _this._design_main_strands$_cachedTypedProps; + t25 = t25.get$props(t25).$index(0, "DesignMainStrandsProps.groups"); + t22.$indexSet(0, t24, J.$index$asx(t7._as(t25 == null ? _null : t25)._map$_map, t24)); + } + groups_in_strand = A.BuiltMap_BuiltMap$of(t22, t17, t18); + t22 = _this._design_main_strands$_cachedTypedProps; + t22 = t22.get$props(t22).$index(0, _s40_); + selected_ends_in_strand = t5._as(t22 == null ? _null : t22).selected_ends_in_strand$1(t21); + t22 = _this._design_main_strands$_cachedTypedProps; + t22 = t22.get$props(t22).$index(0, _s40_); + selected_crossovers_in_strand = t5._as(t22 == null ? _null : t22).selected_crossovers_in_strand$1(t21); + t22 = _this._design_main_strands$_cachedTypedProps; + t22 = t22.get$props(t22).$index(0, _s40_); + selected_loopouts_in_strand = t5._as(t22 == null ? _null : t22).selected_loopouts_in_strand$1(t21); + t22 = _this._design_main_strands$_cachedTypedProps; + t22 = t22.get$props(t22).$index(0, _s40_); + selected_extensions_in_strand = t5._as(t22 == null ? _null : t22).selected_extensions_in_strand$1(t21); + t22 = _this._design_main_strands$_cachedTypedProps; + t22 = t22.get$props(t22).$index(0, _s40_); + selected_domains_in_strand = t5._as(t22 == null ? _null : t22).selected_domains_in_strand$1(t21); + t22 = _this._design_main_strands$_cachedTypedProps; + t22 = t22.get$props(t22).$index(0, _s40_); + selected_deletions_in_strand = t5._as(t22 == null ? _null : t22).selected_deletions_in_strand$1(t21); + t22 = _this._design_main_strands$_cachedTypedProps; + t22 = t22.get$props(t22).$index(0, _s40_); + selected_insertions_in_strand = t5._as(t22 == null ? _null : t22).selected_insertions_in_strand$1(t21); + t22 = _this._design_main_strands$_cachedTypedProps; + t22 = t22.get$props(t22).$index(0, _s40_); + selected_modifications_in_strand = t5._as(t22 == null ? _null : t22).selected_modifications_in_strand$1(t21); + t22 = M.design_main_strand___$DesignMainStrand$closure().call$0(); + t22.toString; + t23 = J.getInterceptor$x(t22); + J.$indexSet$ax(t23.get$props(t22), "DesignMainStrandPropsMixin.strand", t21); + t24 = _this._design_main_strands$_cachedTypedProps; + t24 = t24.get$props(t24).$index(0, _s52_); + if (H.boolConversionCheck(H._asBoolS(t24 == null ? _null : t24))) { + t24 = _this._design_main_strands$_cachedTypedProps; + t24 = t24.get$props(t24).$index(0, string$.DesignMStsPsi); + t24 = t16._as(t24 == null ? _null : t24); + } else + t24 = _null; + t16._as(t24); + J.$indexSet$ax(t23.get$props(t22), string$.DesignMStPrsi, t24); + t24 = _this._design_main_strands$_cachedTypedProps; + t24 = t24.get$props(t24).$index(0, _s40_); + t24 = t5._as(t24 == null ? _null : t24).selected_items._set.contains$1(0, t21); + J.$indexSet$ax(t23.get$props(t22), "DesignMainStrandPropsMixin.selected", t24); + t6._as(helices_used_in_strand); + J.$indexSet$ax(t23.get$props(t22), "TransformByHelixGroupPropsMixin.helices", helices_used_in_strand); + t7._as(groups_in_strand); + J.$indexSet$ax(t23.get$props(t22), "TransformByHelixGroupPropsMixin.groups", groups_in_strand); + t8._as(selected_ends_in_strand); + J.$indexSet$ax(t23.get$props(t22), string$.DesignMStPrseen, selected_ends_in_strand); + t9._as(selected_crossovers_in_strand); + J.$indexSet$ax(t23.get$props(t22), string$.DesignMStPrsec, selected_crossovers_in_strand); + t10._as(selected_loopouts_in_strand); + J.$indexSet$ax(t23.get$props(t22), string$.DesignMStPrsel, selected_loopouts_in_strand); + t11._as(selected_extensions_in_strand); + J.$indexSet$ax(t23.get$props(t22), string$.DesignMStPrseex, selected_extensions_in_strand); + t12._as(selected_domains_in_strand); + J.$indexSet$ax(t23.get$props(t22), string$.DesignMStPrsedo, selected_domains_in_strand); + t13._as(selected_deletions_in_strand); + J.$indexSet$ax(t23.get$props(t22), string$.DesignMStPrsede, selected_deletions_in_strand); + t14._as(selected_insertions_in_strand); + J.$indexSet$ax(t23.get$props(t22), string$.DesignMStPrsei, selected_insertions_in_strand); + t15._as(selected_modifications_in_strand); + J.$indexSet$ax(t23.get$props(t22), string$.DesignMStPrsem, selected_modifications_in_strand); + t24 = _this._design_main_strands$_cachedTypedProps; + t24 = t24.get$props(t24).$index(0, string$.DesignMStsPdr); + t24 = H._asBoolS(t24 == null ? _null : t24); + J.$indexSet$ax(t23.get$props(t22), string$.DesignMStPrdr, t24); + t24 = _this._design_main_strands$_cachedTypedProps; + t24 = t24.get$props(t24).$index(0, "DesignMainStrandsProps.moving_dna_ends"); + t24 = H._asBoolS(t24 == null ? _null : t24); + J.$indexSet$ax(t23.get$props(t22), string$.DesignMStPrmv, t24); + t24 = _this._design_main_strands$_cachedTypedProps; + t24 = t24.get$props(t24).$index(0, string$.DesignMStsPdn); + t24 = t4._as(t24 == null ? _null : t24); + J.$indexSet$ax(t23.get$props(t22), string$.DesignMStPrdn, t24); + t24 = _this._design_main_strands$_cachedTypedProps; + t24 = t24.get$props(t24).$index(0, _s52_); + t24 = H._asBoolS(t24 == null ? _null : t24); + J.$indexSet$ax(t23.get$props(t22), string$.DesignMStPro, t24); + t24 = _this._design_main_strands$_cachedTypedProps; + t24 = t24.get$props(t24).$index(0, "DesignMainStrandsProps.show_dna"); + t24 = H._asBoolS(t24 == null ? _null : t24); + J.$indexSet$ax(t23.get$props(t22), "DesignMainStrandPropsMixin.show_dna", t24); + t24 = _this._design_main_strands$_cachedTypedProps; + t24 = t24.get$props(t24).$index(0, string$.DesignMStsPshm); + t24 = H._asBoolS(t24 == null ? _null : t24); + J.$indexSet$ax(t23.get$props(t22), string$.DesignMStPrshm, t24); + t24 = _this._design_main_strands$_cachedTypedProps; + t24 = t24.get$props(t24).$index(0, "DesignMainStrandsProps.show_strand_names"); + t24 = H._asBoolS(t24 == null ? _null : t24); + J.$indexSet$ax(t23.get$props(t22), string$.DesignMStPrshsn, t24); + t24 = _this._design_main_strands$_cachedTypedProps; + t24 = t24.get$props(t24).$index(0, string$.DesignMStsPshs); + t24 = H._asBoolS(t24 == null ? _null : t24); + J.$indexSet$ax(t23.get$props(t22), string$.DesignMStPrshsl, t24); + t24 = _this._design_main_strands$_cachedTypedProps; + t24 = t24.get$props(t24).$index(0, "DesignMainStrandsProps.show_domain_names"); + t24 = H._asBoolS(t24 == null ? _null : t24); + J.$indexSet$ax(t23.get$props(t22), string$.DesignMStPrshdn, t24); + t24 = _this._design_main_strands$_cachedTypedProps; + t24 = t24.get$props(t24).$index(0, string$.DesignMStsPshd); + t24 = H._asBoolS(t24 == null ? _null : t24); + J.$indexSet$ax(t23.get$props(t22), string$.DesignMStPrshdl, t24); + t24 = _this._design_main_strands$_cachedTypedProps; + t24 = t24.get$props(t24).$index(0, string$.DesignMStsPstn); + t24 = H._asNumS(t24 == null ? _null : t24); + J.$indexSet$ax(t23.get$props(t22), string$.DesignMStPrstn, t24); + t24 = _this._design_main_strands$_cachedTypedProps; + t24 = t24.get$props(t24).$index(0, string$.DesignMStsPstl); + t24 = H._asNumS(t24 == null ? _null : t24); + J.$indexSet$ax(t23.get$props(t22), string$.DesignMStPrstl, t24); + t24 = _this._design_main_strands$_cachedTypedProps; + t24 = t24.get$props(t24).$index(0, string$.DesignMStsPdon); + t24 = H._asNumS(t24 == null ? _null : t24); + J.$indexSet$ax(t23.get$props(t22), string$.DesignMStPrdon, t24); + t24 = _this._design_main_strands$_cachedTypedProps; + t24 = t24.get$props(t24).$index(0, string$.DesignMStsPdol); + t24 = H._asNumS(t24 == null ? _null : t24); + J.$indexSet$ax(t23.get$props(t22), string$.DesignMStPrdol, t24); + t24 = _this._design_main_strands$_cachedTypedProps; + t24 = t24.get$props(t24).$index(0, string$.DesignMStsPmf); + t24 = H._asNumS(t24 == null ? _null : t24); + J.$indexSet$ax(t23.get$props(t22), string$.DesignMStPrmdf, t24); + t24 = _this._design_main_strands$_cachedTypedProps; + t24 = t24.get$props(t24).$index(0, string$.DesignMStsPmd); + t24 = H._asBoolS(t24 == null ? _null : t24); + J.$indexSet$ax(t23.get$props(t22), string$.DesignMStPrmdd, t24); + t24 = _this._design_main_strands$_cachedTypedProps; + t24 = t24.get$props(t24).$index(0, "DesignMainStrandsProps.geometry"); + t24 = t3._as(t24 == null ? _null : t24); + J.$indexSet$ax(t23.get$props(t22), "TransformByHelixGroupPropsMixin.geometry", t24); + t24 = _this._design_main_strands$_cachedTypedProps; + t24 = t24.get$props(t24).$index(0, string$.DesignMStsPh); + t24 = t2._as(t2._as(t24 == null ? _null : t24)); + J.$indexSet$ax(t23.get$props(t22), string$.DesignMStPrh, t24); + t24 = _this._design_main_strands$_cachedTypedProps; + t24 = t24.get$props(t24).$index(0, string$.DesignMStsPdi); + t24 = H._asBoolS(t24 == null ? _null : t24); + J.$indexSet$ax(t23.get$props(t22), string$.DesignMStPrdi, t24); + t24 = _this._design_main_strands$_cachedTypedProps; + t24 = t24.get$props(t24).$index(0, string$.DesignMStsPr); + t24 = H._asBoolS(t24 == null ? _null : t24); + J.$indexSet$ax(t23.get$props(t22), string$.DesignMStPrr, t24); + t21 = t21.toString$0(0); + t23 = t23.get$props(t22); + J.$indexSet$ax(t23, "key", t21); + C.JSArray_methods.add$1(elts, t22.call$0()); + } + t1 = A.SvgProps$($.$get$g(), _null); + t1.set$className(0, "strands-main-view"); + return t1.call$1(elts); + } + }; + E.DesignMainStrandsComponent_render_closure.prototype = { + call$1: function(helix) { + return type$.legacy_Helix._as(helix).group; + }, + $signature: 489 + }; + E.$DesignMainStrandsComponentFactory_closure.prototype = { + call$0: function() { + return new E._$DesignMainStrandsComponent(null); + }, + "call*": "call$0", + $requiredArgCount: 0, + $signature: 490 + }; + E._$$DesignMainStrandsProps.prototype = { + get$$$isClassGenerated: function() { + return true; + }, + get$componentFactory: function() { + var t1 = this.componentFactory; + return t1 == null ? $.$get$$DesignMainStrandsComponentFactory() : t1; + } + }; + E._$$DesignMainStrandsProps$PlainMap.prototype = { + get$props: function(_) { + return this._design_main_strands$_props; + } + }; + E._$$DesignMainStrandsProps$JsMap.prototype = { + get$props: function(_) { + return this._design_main_strands$_props; + } + }; + E._$DesignMainStrandsComponent.prototype = { + get$props: function(_) { + return this._design_main_strands$_cachedTypedProps; + }, + set$props: function(_, value) { + this.props = value; + this._design_main_strands$_cachedTypedProps = E._$$DesignMainStrandsProps$JsMap$(R.getBackingMap(value)); + }, + get$displayName: function(_) { + return "DesignMainStrands"; + }, + get$$$defaultConsumedProps: function() { + return C.Map_S7AjA.get$values(C.Map_S7AjA); + } + }; + E.$DesignMainStrandsProps.prototype = { + get$helices: function() { + var t1 = J.$index$asx(this.get$props(this), "DesignMainStrandsProps.helices"); + if (t1 == null) + t1 = null; + return type$.legacy_BuiltMap_of_legacy_int_and_legacy_Helix._as(t1); + }, + get$groups: function() { + var t1 = J.$index$asx(this.get$props(this), "DesignMainStrandsProps.groups"); + if (t1 == null) + t1 = null; + return type$.legacy_BuiltMap_of_legacy_String_and_legacy_HelixGroup._as(t1); + }, + get$geometry: function(_) { + var t1 = J.$index$asx(this.get$props(this), "DesignMainStrandsProps.geometry"); + if (t1 == null) + t1 = null; + return type$.legacy_Geometry._as(t1); + } + }; + E._DesignMainStrandsComponent_UiComponent2_PureComponent.prototype = {}; + E.__$$DesignMainStrandsProps_UiProps_DesignMainStrandsProps.prototype = { + get$helices: function() { + return this.DesignMainStrandsProps_helices; + }, + get$groups: function() { + return this.DesignMainStrandsProps_groups; + }, + get$geometry: function(receiver) { + return this.DesignMainStrandsProps_geometry; + } + }; + E.__$$DesignMainStrandsProps_UiProps_DesignMainStrandsProps_$DesignMainStrandsProps.prototype = {}; + F.ConnectedDesignMainStrandsMoving_closure.prototype = { + call$1: function(state) { + var t1, t2, original_helices_view_order_inverse, t3, group_name, current_group, group_names, selected_strands_on_multiple_groups, t4, t5; + type$.legacy_AppState._as(state); + t1 = state.ui_state; + t2 = t1.strands_move; + if (t2 != null) { + original_helices_view_order_inverse = t2.original_helices_view_order_inverse; + t3 = state.design; + group_name = E.current_group_name_from_strands_move(t3, t2); + current_group = J.$index$asx(t3.groups._map$_map, group_name); + if (!t2.copy) { + group_names = t3.group_names_of_strands$1(t2.strands_moving); + if (group_names != null) { + t3 = group_names._set; + t3 = t3.get$length(t3); + if (typeof t3 !== "number") + return t3.$gt(); + selected_strands_on_multiple_groups = t3 > 1; + } else + selected_strands_on_multiple_groups = false; + } else + selected_strands_on_multiple_groups = false; + } else { + current_group = null; + original_helices_view_order_inverse = null; + selected_strands_on_multiple_groups = false; + } + t3 = F.design_main_strands_moving___$DesignMainStrandsMoving$closure().call$0(); + if (selected_strands_on_multiple_groups) + t2 = null; + t3.toString; + t4 = J.getInterceptor$x(t3); + J.$indexSet$ax(t4.get$props(t3), string$.DesignMStsMst, t2); + t2 = state.design; + t5 = type$.legacy_BuiltMap_of_legacy_String_and_legacy_HelixGroup._as(t2.groups); + J.$indexSet$ax(t4.get$props(t3), "DesignMainStrandsMovingProps.groups", t5); + type$.legacy_BuiltMap_of_legacy_int_and_legacy_int._as(original_helices_view_order_inverse); + J.$indexSet$ax(t4.get$props(t3), string$.DesignMStsMo, original_helices_view_order_inverse); + J.$indexSet$ax(t4.get$props(t3), string$.DesignMStsMc, current_group); + t5 = type$.legacy_BuiltMap_of_legacy_int_and_legacy_Helix._as(t2.helices); + J.$indexSet$ax(t4.get$props(t3), "DesignMainStrandsMovingProps.helices", t5); + t1 = type$.legacy_BuiltSet_legacy_int._as(t1.storables.side_selected_helix_idxs); + J.$indexSet$ax(t4.get$props(t3), string$.DesignMStsMsi, t1); + t1 = type$.legacy_BuiltMap_of_legacy_int_and_legacy_Point_legacy_num._as(state.get$helix_idx_to_svg_position_map()); + J.$indexSet$ax(t4.get$props(t3), string$.DesignMStsMh, t1); + t2 = t2.geometry; + J.$indexSet$ax(t4.get$props(t3), "DesignMainStrandsMovingProps.geometry", t2); + return t3; + }, + $signature: 491 + }; + F.DesignMainStrandsMovingProps.prototype = {$isMap: 1, $isUiProps0: 1, $isUiProps: 1, + get$helices: function() { + return this.DesignMainStrandsMovingProps_helices; + }, + get$groups: function() { + return this.DesignMainStrandsMovingProps_groups; + }, + get$geometry: function(receiver) { + return this.DesignMainStrandsMovingProps_geometry; + } + }; + F.DesignMainStrandsMovingComponent.prototype = { + render$0: function(_) { + var t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19, t20, _this = this, _null = null, + _s41_ = string$.DesignMStsMst; + if (_this._design_main_strands_moving$_cachedTypedProps.get$strands_move() == null || _this._design_main_strands_moving$_cachedTypedProps.get$current_group() == null) + return _null; + t1 = A.SvgProps$($.$get$g(), _null); + t1.set$className(0, "strands-moving-main-view" + (_this._design_main_strands_moving$_cachedTypedProps.get$strands_move().allowable ? "" : " disallowed")); + t2 = H.setRuntimeTypeInfo([], type$.JSArray_legacy_ReactElement); + for (t3 = J.get$iterator$ax(_this._design_main_strands_moving$_cachedTypedProps.get$strands_move().strands_moving._list), t4 = type$.legacy_BuiltMap_of_legacy_int_and_legacy_Point_legacy_num, t5 = type$.legacy_Geometry, t6 = type$.legacy_StrandsMove, t7 = type$.legacy_BuiltMap_of_legacy_String_and_legacy_HelixGroup, t8 = type$.legacy_BuiltMap_of_legacy_int_and_legacy_Helix, t9 = type$.legacy_BuiltSet_legacy_int, t10 = type$.legacy_HelixGroup, t11 = type$.legacy_BuiltMap_of_legacy_int_and_legacy_int; t3.moveNext$0();) { + t12 = t3.get$current(t3); + t13 = T.design_main_strand_moving___$DesignMainStrandMoving$closure().call$0(); + t13.toString; + t14 = J.getInterceptor$x(t13); + J.$indexSet$ax(t14.get$props(t13), "DesignMainStrandMovingPropsMixin.strand", t12); + t15 = _this._design_main_strands_moving$_cachedTypedProps; + t15 = t15.get$props(t15).$index(0, _s41_); + t15 = t6._as(t15 == null ? _null : t15); + t16 = t15.groups; + t17 = t15.helices; + t18 = t15.current_address.helix_idx; + t17 = t17._map$_map; + t19 = J.getInterceptor$asx(t17); + t20 = t19.$index(t17, t18).group; + t20 = J.$index$asx(t16._map$_map, t20); + t16 = t20.__helices_view_order_inverse; + if (t16 == null) { + t16 = O.HelixGroup.prototype.get$helices_view_order_inverse.call(t20); + t20.set$__helices_view_order_inverse(t16); + } + t18 = J.$index$asx(t16._map$_map, t19.$index(t17, t18).idx); + t17 = t15.original_helices_view_order_inverse; + t15 = t15.original_address; + t15 = J.$index$asx(t17._map$_map, t15.helix_idx); + if (typeof t18 !== "number") + return t18.$sub(); + if (typeof t15 !== "number") + return H.iae(t15); + J.$indexSet$ax(t14.get$props(t13), string$.DesignMStMvdv, t18 - t15); + t15 = _this._design_main_strands_moving$_cachedTypedProps; + t15 = t15.get$props(t15).$index(0, string$.DesignMStsMo); + t15 = t11._as(t11._as(t15 == null ? _null : t15)); + J.$indexSet$ax(t14.get$props(t13), string$.DesignMStMvo, t15); + t15 = _this._design_main_strands_moving$_cachedTypedProps; + t15 = t15.get$props(t15).$index(0, string$.DesignMStsMc); + t15 = t10._as(t15 == null ? _null : t15); + J.$indexSet$ax(t14.get$props(t13), string$.DesignMStMvc, t15); + t15 = _this._design_main_strands_moving$_cachedTypedProps; + t15 = t15.get$props(t15).$index(0, _s41_); + t15 = t6._as(t15 == null ? _null : t15); + t16 = t15.current_address.offset; + t15 = t15.original_address.offset; + if (typeof t16 !== "number") + return t16.$sub(); + if (typeof t15 !== "number") + return H.iae(t15); + J.$indexSet$ax(t14.get$props(t13), string$.DesignMStMvdo, t16 - t15); + t15 = _this._design_main_strands_moving$_cachedTypedProps; + t15 = t15.get$props(t15).$index(0, _s41_); + t15 = t6._as(t15 == null ? _null : t15); + t16 = t15.current_address; + t15 = t15.original_address; + J.$indexSet$ax(t14.get$props(t13), string$.DesignMStMvdf, t16.forward != t15.forward); + t15 = _this._design_main_strands_moving$_cachedTypedProps; + t15 = t15.get$props(t15).$index(0, string$.DesignMStsMsi); + t15 = t9._as(t9._as(t15 == null ? _null : t15)); + J.$indexSet$ax(t14.get$props(t13), string$.DesignMStMvs, t15); + t15 = _this._design_main_strands_moving$_cachedTypedProps; + t15 = t15.get$props(t15).$index(0, "DesignMainStrandsMovingProps.helices"); + t15 = t8._as(t8._as(t15 == null ? _null : t15)); + J.$indexSet$ax(t14.get$props(t13), "TransformByHelixGroupPropsMixin.helices", t15); + t15 = _this._design_main_strands_moving$_cachedTypedProps; + t15 = t15.get$props(t15).$index(0, "DesignMainStrandsMovingProps.groups"); + t15 = t7._as(t7._as(t15 == null ? _null : t15)); + J.$indexSet$ax(t14.get$props(t13), "TransformByHelixGroupPropsMixin.groups", t15); + t15 = _this._design_main_strands_moving$_cachedTypedProps; + t15 = t15.get$props(t15).$index(0, _s41_); + t15 = t6._as(t15 == null ? _null : t15).allowable; + J.$indexSet$ax(t14.get$props(t13), string$.DesignMStMva, t15); + t15 = _this._design_main_strands_moving$_cachedTypedProps; + t15 = t15.get$props(t15).$index(0, "DesignMainStrandsMovingProps.geometry"); + t15 = t5._as(t15 == null ? _null : t15); + J.$indexSet$ax(t14.get$props(t13), "TransformByHelixGroupPropsMixin.geometry", t15); + t15 = _this._design_main_strands_moving$_cachedTypedProps; + t15 = t15.get$props(t15).$index(0, string$.DesignMStsMh); + t15 = t4._as(t4._as(t15 == null ? _null : t15)); + J.$indexSet$ax(t14.get$props(t13), string$.DesignMStMvh, t15); + t12 = J.toString$0$(t12); + t14 = t14.get$props(t13); + J.$indexSet$ax(t14, "key", t12); + t2.push(t13.call$0()); + } + return t1.call$1(t2); + } + }; + F.$DesignMainStrandsMovingComponentFactory_closure.prototype = { + call$0: function() { + return new F._$DesignMainStrandsMovingComponent(null); + }, + "call*": "call$0", + $requiredArgCount: 0, + $signature: 492 + }; + F._$$DesignMainStrandsMovingProps.prototype = { + get$$$isClassGenerated: function() { + return true; + }, + get$componentFactory: function() { + var t1 = this.componentFactory; + return t1 == null ? $.$get$$DesignMainStrandsMovingComponentFactory() : t1; + } + }; + F._$$DesignMainStrandsMovingProps$PlainMap.prototype = { + get$props: function(_) { + return this._design_main_strands_moving$_props; + } + }; + F._$$DesignMainStrandsMovingProps$JsMap.prototype = { + get$props: function(_) { + return this._design_main_strands_moving$_props; + } + }; + F._$DesignMainStrandsMovingComponent.prototype = { + get$props: function(_) { + return this._design_main_strands_moving$_cachedTypedProps; + }, + set$props: function(_, value) { + this.props = value; + this._design_main_strands_moving$_cachedTypedProps = F._$$DesignMainStrandsMovingProps$JsMap$(R.getBackingMap(value)); + }, + get$displayName: function(_) { + return "DesignMainStrandsMoving"; + }, + get$$$defaultConsumedProps: function() { + return C.Map_6VgCs.get$values(C.Map_6VgCs); + } + }; + F.$DesignMainStrandsMovingProps.prototype = { + get$strands_move: function() { + var t1 = J.$index$asx(this.get$props(this), string$.DesignMStsMst); + if (t1 == null) + t1 = null; + return type$.legacy_StrandsMove._as(t1); + }, + get$current_group: function() { + var t1 = J.$index$asx(this.get$props(this), string$.DesignMStsMc); + if (t1 == null) + t1 = null; + return type$.legacy_HelixGroup._as(t1); + }, + get$helices: function() { + var t1 = J.$index$asx(this.get$props(this), "DesignMainStrandsMovingProps.helices"); + if (t1 == null) + t1 = null; + return type$.legacy_BuiltMap_of_legacy_int_and_legacy_Helix._as(t1); + }, + get$groups: function() { + var t1 = J.$index$asx(this.get$props(this), "DesignMainStrandsMovingProps.groups"); + if (t1 == null) + t1 = null; + return type$.legacy_BuiltMap_of_legacy_String_and_legacy_HelixGroup._as(t1); + }, + get$geometry: function(_) { + var t1 = J.$index$asx(this.get$props(this), "DesignMainStrandsMovingProps.geometry"); + if (t1 == null) + t1 = null; + return type$.legacy_Geometry._as(t1); + } + }; + F.__$$DesignMainStrandsMovingProps_UiProps_DesignMainStrandsMovingProps.prototype = { + get$helices: function() { + return this.DesignMainStrandsMovingProps_helices; + }, + get$groups: function() { + return this.DesignMainStrandsMovingProps_groups; + }, + get$geometry: function(receiver) { + return this.DesignMainStrandsMovingProps_geometry; + } + }; + F.__$$DesignMainStrandsMovingProps_UiProps_DesignMainStrandsMovingProps_$DesignMainStrandsMovingProps.prototype = {}; + B.DesignMainUnpairedInsertionDeletionsProps.prototype = {$isMap: 1, $isUiProps0: 1, $isUiProps: 1}; + B.DesignMainUnpairedInsertionDeletionsComponent.prototype = { + render$0: function(_) { + var unpaired_components = this._create_unpaired_components$0(), + t1 = A.SvgProps$($.$get$g(), null); + t1.set$className(0, "mismatches-main-view"); + return t1.call$1(unpaired_components); + }, + _create_unpaired_components$0: function() { + var t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, ret, domain_components, t13, t14, helix, t15, t16, base_svg_pos, key, t17, t18, group, translate_svg, transform_str, _this = this, _null = null, + _s48_ = string$.DesignMUd, + t1 = type$.JSArray_legacy_ReactElement, + unpaired_components = H.setRuntimeTypeInfo([], t1), + keys = P.LinkedHashSet_LinkedHashSet$_empty(type$.legacy_String); + for (t2 = J.get$iterator$ax(_this._design_main_unpaired_insertion_deletions$_cachedTypedProps.get$design().strands._list), t3 = type$.legacy_Design, t4 = type$.legacy_BuiltSet_legacy_int, t5 = type$.legacy_BuiltMap_of_legacy_int_and_legacy_num, t6 = type$.Point_legacy_num, t7 = type$.legacy_Point_legacy_num, t8 = type$.legacy_Address; t2.moveNext$0();) { + t9 = t2.get$current(t2); + t10 = t9.__domains; + if (t10 == null) { + t10 = E.Strand.prototype.get$domains.call(t9); + t9.set$__domains(t10); + t9 = t10; + } else + t9 = t10; + t9 = J.get$iterator$ax(t9._list); + for (; t9.moveNext$0();) { + t10 = t9.get$current(t9); + t11 = _this._design_main_unpaired_insertion_deletions$_cachedTypedProps; + t11 = t11.get$props(t11).$index(0, _s48_); + t11 = t3._as(t11 == null ? _null : t11); + t12 = t11.__unpaired_insertion_deletion_map; + if (t12 == null) { + t12 = N.Design.prototype.get$unpaired_insertion_deletion_map.call(t11); + t11.set$__unpaired_insertion_deletion_map(t12); + t11 = t12; + } else + t11 = t12; + ret = J.$index$asx(t11._map$_map, t10); + if (ret == null) + ret = D.BuiltList_BuiltList$from(C.List_empty, t8); + domain_components = H.setRuntimeTypeInfo([], t1); + for (t11 = J.get$iterator$ax(ret._list); t11.moveNext$0();) { + t12 = t11.get$current(t11); + t13 = _this._design_main_unpaired_insertion_deletions$_cachedTypedProps; + t13 = t13.get$props(t13).$index(0, _s48_); + t13 = t3._as(t13 == null ? _null : t13).helices; + t14 = t10.helix; + helix = J.$index$asx(t13._map$_map, t14); + t13 = _this._design_main_unpaired_insertion_deletions$_cachedTypedProps; + t13 = t13.get$props(t13).$index(0, string$.DesignMUo); + if (H.boolConversionCheck(H._asBoolS(t13 == null ? _null : t13))) { + t13 = _this._design_main_unpaired_insertion_deletions$_cachedTypedProps; + t13 = t13.get$props(t13).$index(0, string$.DesignMUs); + t13 = t4._as(t13 == null ? _null : t13); + t14 = helix.idx; + t14 = t13._set.contains$1(0, t14); + t13 = t14; + } else + t13 = true; + if (t13) { + t13 = t12.offset; + t14 = t10.forward; + t15 = _this._design_main_unpaired_insertion_deletions$_cachedTypedProps; + t15 = t15.get$props(t15).$index(0, string$.DesignMUh); + t15 = t5._as(t15 == null ? _null : t15); + t16 = helix.idx; + base_svg_pos = helix.svg_base_pos$3(t13, t14, J.$index$asx(t15._map$_map, t16)); + t16 = t10.__insertion_offset_to_length; + if (t16 == null) { + t15 = G.Domain.prototype.get$insertion_offset_to_length.call(t10); + t10.set$__insertion_offset_to_length(t15); + } else + t15 = t16; + t13 = J.$index$asx(t15._map$_map, t13); + key = base_svg_pos.toString$0(0) + ";" + t14; + if (!keys.contains$1(0, key)) { + keys.add$1(0, key); + t15 = R.design_main_warning_star___$DesignMainWarningStar$closure().call$0(); + if (t13 != null) { + t13 = helix.geometry; + t16 = t13.__base_height_svg; + t13 = t16 == null ? t13.__base_height_svg = N.Geometry.prototype.get$base_height_svg.call(t13) : t16; + t12 = H.boolConversionCheck(t12.forward) ? 1 : -1; + t12 = t13 * 2 * t12; + } else + t12 = 0; + t13 = base_svg_pos.$ti; + t13._as(new P.Point(0, t12, t6)); + t16 = base_svg_pos.x; + if (typeof t16 !== "number") + return t16.$add(); + t17 = t13._precomputed1; + t16 = t17._as(t16 + 0); + t18 = base_svg_pos.y; + if (typeof t18 !== "number") + return t18.$add(); + t12 = t17._as(t18 + t12); + t15.toString; + t13 = t7._as(new P.Point(t16, t12, t13)); + t12 = J.getInterceptor$x(t15); + J.$indexSet$ax(t12.get$props(t15), "DesignMainWarningStarProps.base_svg_pos", t13); + t13 = _this._design_main_unpaired_insertion_deletions$_cachedTypedProps; + t13 = t13.get$props(t13).$index(0, _s48_); + t13 = t3._as(t13 == null ? _null : t13).geometry; + J.$indexSet$ax(t12.get$props(t15), "DesignMainWarningStarProps.geometry", t13); + J.$indexSet$ax(t12.get$props(t15), "DesignMainWarningStarProps.forward", t14); + J.$indexSet$ax(t12.get$props(t15), "DesignMainWarningStarProps.color", "green"); + t12 = t12.get$props(t15); + J.$indexSet$ax(t12, "key", key); + C.JSArray_methods.add$1(domain_components, t15.call$0()); + } + } + } + t11 = _this._design_main_unpaired_insertion_deletions$_cachedTypedProps; + t11 = t11.get$props(t11).$index(0, _s48_); + t11 = t3._as(t11 == null ? _null : t11).helices; + t12 = t10.helix; + helix = J.$index$asx(t11._map$_map, t12); + t11 = _this._design_main_unpaired_insertion_deletions$_cachedTypedProps; + t11 = t11.get$props(t11).$index(0, _s48_); + t11 = t3._as(t11 == null ? _null : t11).groups; + t13 = helix.group; + group = J.$index$asx(t11._map$_map, t13); + t13 = _this._design_main_unpaired_insertion_deletions$_cachedTypedProps; + t13 = t13.get$props(t13).$index(0, _s48_); + t11 = t3._as(t13 == null ? _null : t13).geometry; + t13 = group.position; + t14 = t11.__nm_to_svg_pixels; + t11 = t14 == null ? t11.__nm_to_svg_pixels = N.Geometry.prototype.get$nm_to_svg_pixels.call(t11) : t14; + translate_svg = X.Position3D_Position3D(t13.x * t11, t13.y * t11, t13.z * t11); + transform_str = "translate(" + H.S(translate_svg.z) + ", " + H.S(translate_svg.y) + ") rotate(" + H.S(group.pitch) + ")"; + if (domain_components.length !== 0) { + t11 = $.$get$g(); + t13 = {}; + t13 = new L.JsBackedMap(t13); + t11 = new A.SvgProps(t11, t13, _null, _null); + t11.get$$$isClassGenerated(); + t14 = t13.jsObject; + t14.transform = F.DartValueWrapper_wrapIfNeeded(transform_str); + t14.className = F.DartValueWrapper_wrapIfNeeded("mismatch-components-in-domain"); + t12 = "domain-H" + t12 + "-S" + t10.start + "-E" + t10.end + "-"; + t12 += t10.forward ? "forward" : "reverse"; + t13.$indexSet(0, "key", t12); + C.JSArray_methods.add$1(unpaired_components, t11.call$1(domain_components)); + } + } + } + return unpaired_components; + } + }; + B.$DesignMainUnpairedInsertionDeletionsComponentFactory_closure.prototype = { + call$0: function() { + return new B._$DesignMainUnpairedInsertionDeletionsComponent(null); + }, + "call*": "call$0", + $requiredArgCount: 0, + $signature: 493 + }; + B._$$DesignMainUnpairedInsertionDeletionsProps.prototype = { + get$$$isClassGenerated: function() { + return true; + }, + get$componentFactory: function() { + var t1 = this.componentFactory; + return t1 == null ? $.$get$$DesignMainUnpairedInsertionDeletionsComponentFactory() : t1; + } + }; + B._$$DesignMainUnpairedInsertionDeletionsProps$PlainMap.prototype = { + get$props: function(_) { + return this._design_main_unpaired_insertion_deletions$_props; + } + }; + B._$$DesignMainUnpairedInsertionDeletionsProps$JsMap.prototype = { + get$props: function(_) { + return this._design_main_unpaired_insertion_deletions$_props; + } + }; + B._$DesignMainUnpairedInsertionDeletionsComponent.prototype = { + get$props: function(_) { + return this._design_main_unpaired_insertion_deletions$_cachedTypedProps; + }, + set$props: function(_, value) { + this.props = value; + this._design_main_unpaired_insertion_deletions$_cachedTypedProps = B._$$DesignMainUnpairedInsertionDeletionsProps$JsMap$(R.getBackingMap(value)); + }, + get$displayName: function(_) { + return "DesignMainUnpairedInsertionDeletions"; + }, + get$$$defaultConsumedProps: function() { + return C.Map_Yqc7R.get$values(C.Map_Yqc7R); + } + }; + B.$DesignMainUnpairedInsertionDeletionsProps.prototype = { + get$design: function() { + var t1 = J.$index$asx(this.get$props(this), string$.DesignMUd); + if (t1 == null) + t1 = null; + return type$.legacy_Design._as(t1); + } + }; + B._DesignMainUnpairedInsertionDeletionsComponent_UiComponent2_PureComponent.prototype = {}; + B.__$$DesignMainUnpairedInsertionDeletionsProps_UiProps_DesignMainUnpairedInsertionDeletionsProps.prototype = {}; + B.__$$DesignMainUnpairedInsertionDeletionsProps_UiProps_DesignMainUnpairedInsertionDeletionsProps_$DesignMainUnpairedInsertionDeletionsProps.prototype = {}; + R.DesignMainWarningStarProps.prototype = {$isMap: 1, $isUiProps0: 1, $isUiProps: 1, + get$geometry: function(receiver) { + return this.DesignMainWarningStarProps_geometry; + } + }; + R.DesignMainWarningStarComponent.prototype = { + render$0: function(_) { + var rotate_degrees, x0, t2, y0, i, points, t3, _this = this, + t1 = type$.legacy_num, + xs = P.List_List$from(_this._star_at_origin$0().item1, true, t1), + ys = P.List_List$from(_this._star_at_origin$0().item2, true, t1); + t1 = _this._design_main_warning_star$_cachedTypedProps; + t1 = t1.get$props(t1).$index(0, "DesignMainWarningStarProps.forward"); + rotate_degrees = !H.boolConversionCheck(H._asBoolS(t1 == null ? null : t1)) ? 180 : 0; + x0 = _this._design_main_warning_star$_cachedTypedProps.get$base_svg_pos().x; + t1 = _this._design_main_warning_star$_cachedTypedProps.get$base_svg_pos().y; + t2 = _this._design_main_warning_star$_cachedTypedProps; + t2 = t2.get$geometry(t2).get$base_width_svg(); + if (typeof t1 !== "number") + return t1.$sub(); + y0 = t1 - t2; + for (i = 0; i < xs.length; ++i) { + t1 = xs[i]; + if (typeof t1 !== "number") + return t1.$add(); + if (typeof x0 !== "number") + return H.iae(x0); + C.JSArray_methods.$indexSet(xs, i, t1 + x0); + if (i >= ys.length) + return H.ioore(ys, i); + t1 = ys[i]; + if (typeof t1 !== "number") + return t1.$add(); + C.JSArray_methods.$indexSet(ys, i, t1 + y0); + } + points = H.setRuntimeTypeInfo([], type$.JSArray_legacy_String); + for (i = 0; i < xs.length; ++i) { + t1 = J.toStringAsFixed$1$n(xs[i], 2) + ","; + if (i >= ys.length) + return H.ioore(ys, i); + C.JSArray_methods.add$1(points, t1 + J.toStringAsFixed$1$n(ys[i], 2)); + } + t1 = A.SvgProps$($.$get$polygon(), null); + t1.set$className(0, "warning-star"); + t1.set$points(0, C.JSArray_methods.join$1(points, " ")); + t2 = _this._design_main_warning_star$_cachedTypedProps; + t2 = H.S(t2.get$color(t2)); + t3 = _this._design_main_warning_star$_cachedTypedProps; + t1.set$_raw$DomProps$style(type$.legacy_Map_of_legacy_String_and_dynamic._as(P.LinkedHashMap_LinkedHashMap$_literal(["stroke", t2, "fill", H.S(t3.get$color(t3))], type$.legacy_String, type$.dynamic))); + t1.set$transform(0, "rotate(" + rotate_degrees + " " + H.S(_this._design_main_warning_star$_cachedTypedProps.get$base_svg_pos().x) + " " + H.S(_this._design_main_warning_star$_cachedTypedProps.get$base_svg_pos().y) + ")"); + return t1.call$0(); + }, + _star_at_origin$0: function() { + var inner_radius, outer_radius, inner_angle, outer_angle, i, t2, t3, t4, + t1 = type$.JSArray_legacy_num, + xs = H.setRuntimeTypeInfo([], t1), + ys = H.setRuntimeTypeInfo([], t1); + t1 = this._design_main_warning_star$_cachedTypedProps; + inner_radius = 0.4 * t1.get$geometry(t1).get$base_width_svg(); + t1 = this._design_main_warning_star$_cachedTypedProps; + outer_radius = 0.65 * t1.get$geometry(t1).get$base_width_svg(); + for (inner_angle = 0, outer_angle = 0.2617993877991494, i = 0; i < 12; ++i) { + t1 = Math.cos(inner_angle); + t2 = Math.sin(inner_angle); + t3 = Math.cos(outer_angle); + t4 = Math.sin(outer_angle); + C.JSArray_methods.add$1(xs, inner_radius * t1); + C.JSArray_methods.add$1(xs, outer_radius * t3); + C.JSArray_methods.add$1(ys, inner_radius * t2); + C.JSArray_methods.add$1(ys, outer_radius * t4); + inner_angle += 0.5235987755982988; + outer_angle += 0.5235987755982988; + } + return new S.Tuple2(xs, ys, type$.Tuple2_of_legacy_List_legacy_num_and_legacy_List_legacy_num); + } + }; + R.$DesignMainWarningStarComponentFactory_closure.prototype = { + call$0: function() { + return new R._$DesignMainWarningStarComponent(null); + }, + "call*": "call$0", + $requiredArgCount: 0, + $signature: 494 + }; + R._$$DesignMainWarningStarProps.prototype = { + get$$$isClassGenerated: function() { + return true; + }, + get$componentFactory: function() { + var t1 = this.componentFactory; + return t1 == null ? $.$get$$DesignMainWarningStarComponentFactory() : t1; + } + }; + R._$$DesignMainWarningStarProps$PlainMap.prototype = { + get$props: function(_) { + return this._design_main_warning_star$_props; + } + }; + R._$$DesignMainWarningStarProps$JsMap.prototype = { + get$props: function(_) { + return this._design_main_warning_star$_props; + } + }; + R._$DesignMainWarningStarComponent.prototype = { + get$props: function(_) { + return this._design_main_warning_star$_cachedTypedProps; + }, + set$props: function(_, value) { + this.props = value; + this._design_main_warning_star$_cachedTypedProps = R._$$DesignMainWarningStarProps$JsMap$(R.getBackingMap(value)); + }, + get$displayName: function(_) { + return "DesignMainWarningStar"; + }, + get$$$defaultConsumedProps: function() { + return C.Map_2Rifx.get$values(C.Map_2Rifx); + } + }; + R.$DesignMainWarningStarProps.prototype = { + get$base_svg_pos: function() { + var t1 = J.$index$asx(this.get$props(this), "DesignMainWarningStarProps.base_svg_pos"); + if (t1 == null) + t1 = null; + return type$.legacy_Point_legacy_num._as(t1); + }, + get$geometry: function(_) { + var t1 = J.$index$asx(this.get$props(this), "DesignMainWarningStarProps.geometry"); + if (t1 == null) + t1 = null; + return type$.legacy_Geometry._as(t1); + }, + get$color: function(_) { + var t1 = J.$index$asx(this.get$props(this), "DesignMainWarningStarProps.color"); + return H._asStringS(t1 == null ? null : t1); + } + }; + R.__$$DesignMainWarningStarProps_UiProps_DesignMainWarningStarProps.prototype = { + get$geometry: function(receiver) { + return this.DesignMainWarningStarProps_geometry; + } + }; + R.__$$DesignMainWarningStarProps_UiProps_DesignMainWarningStarProps_$DesignMainWarningStarProps.prototype = {}; + U.ConnectedDesignSide_closure.prototype = { + call$1: function(state) { + var t1, t2, t3, t4, t5, displayed_group, t6, t7, t8, t9, helices_in_group; + type$.legacy_AppState._as(state); + if (state.get$has_error()) + return U.design_side___$DesignSide$closure().call$0(); + else { + t1 = state.design; + t2 = t1.groups; + t3 = state.ui_state; + t4 = t3.storables; + t5 = t4.displayed_group_name; + displayed_group = J.$index$asx(t2._map$_map, t5); + t2 = type$.legacy_int; + t6 = type$.legacy_Helix; + t7 = P.LinkedHashMap_LinkedHashMap$_empty(t2, t6); + for (t8 = J.get$iterator$ax(J.$index$asx(t1.get$helix_idxs_in_group()._map$_map, t5)._list); t8.moveNext$0();) { + t9 = t8.get$current(t8); + t7.$indexSet(0, t9, J.$index$asx(t1.helices._map$_map, t9)); + } + helices_in_group = A.BuiltMap_BuiltMap$of(t7, t2, t6); + t2 = U.design_side___$DesignSide$closure().call$0(); + t2.toString; + type$.legacy_BuiltMap_of_legacy_int_and_legacy_Helix._as(helices_in_group); + t6 = J.getInterceptor$x(t2); + J.$indexSet$ax(t6.get$props(t2), "DesignSideProps.helices", helices_in_group); + t7 = t1.geometry; + J.$indexSet$ax(t6.get$props(t2), "DesignSideProps.geometry", t7); + t7 = t3.helix_change_apply_to_all; + J.$indexSet$ax(t6.get$props(t2), string$.DesignSPrh, t7); + t7 = type$.legacy_BuiltSet_legacy_int._as(t4.side_selected_helix_idxs); + J.$indexSet$ax(t6.get$props(t2), "DesignSideProps.helix_idxs_selected", t7); + t1 = t4.show_slice_bar ? E.rotation_datas_at_offset_in_group(t4.slice_bar_offset, t1, t5) : D.BuiltList_BuiltList$from(C.List_empty, type$.legacy_DesignSideRotationData); + type$.legacy_BuiltList_legacy_DesignSideRotationData._as(t1); + J.$indexSet$ax(t6.get$props(t2), "DesignSideProps.rotation_datas", t1); + t1 = t4.slice_bar_offset; + J.$indexSet$ax(t6.get$props(t2), "DesignSideProps.slice_bar_offset", t1); + t1 = type$.legacy_BuiltSet_legacy_EditModeChoice._as(t4.edit_modes); + J.$indexSet$ax(t6.get$props(t2), "DesignSideProps.edit_modes", t1); + J.$indexSet$ax(t6.get$props(t2), "DesignSideProps.displayed_group", displayed_group); + t1 = t3.side_view_grid_position_mouse_cursor; + J.$indexSet$ax(t6.get$props(t2), string$.DesignSPrg, t1); + t3 = type$.legacy_Point_legacy_num._as(t3.side_view_position_mouse_cursor); + J.$indexSet$ax(t6.get$props(t2), "DesignSideProps.mouse_svg_pos", t3); + t3 = t4.show_grid_coordinates_side_view; + J.$indexSet$ax(t6.get$props(t2), "DesignSideProps.show_grid_coordinates", t3); + t4 = t4.invert_y; + J.$indexSet$ax(t6.get$props(t2), "DesignSideProps.invert_y", t4); + return t2; + } + }, + $signature: 495 + }; + U.DesignSideProps.prototype = {$isMap: 1, $isUiProps0: 1, $isUiProps: 1, + get$helices: function() { + return this.DesignSideProps_helices; + }, + get$geometry: function(receiver) { + return this.DesignSideProps_geometry; + } + }; + U.DesignSideComponent.prototype = { + render$0: function(_) { + var t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, should_display_potential_helix, _this = this, _null = null, + _s17_ = "helices-side-view"; + if (_this._design_side$_cachedTypedProps.get$helices() == null) + return _null; + t1 = _this._design_side$_cachedTypedProps; + t1 = t1.get$props(t1).$index(0, "DesignSideProps.rotation_datas"); + if (t1 == null) + t1 = _null; + t2 = P.LinkedHashMap_LinkedHashMap$_empty(type$.legacy_int, type$.legacy_DesignSideRotationData); + for (t1 = J.get$iterator$ax(type$.legacy_BuiltList_legacy_DesignSideRotationData._as(t1)._list); t1.moveNext$0();) { + t3 = t1.get$current(t1); + t2.$indexSet(0, t3.helix.idx, t3); + } + t1 = _this._design_side$_cachedTypedProps; + t1 = t1.get$props(t1).$index(0, "DesignSideProps.helix_idxs_selected"); + if (t1 == null) + t1 = _null; + type$.legacy_BuiltSet_legacy_int._as(t1); + t3 = []; + for (t4 = _this._design_side$_cachedTypedProps.get$helices(), t4 = J.get$iterator$ax(t4.get$values(t4)), t5 = type$.legacy_GridPosition, t6 = type$.legacy_BuiltSet_legacy_EditModeChoice, t7 = type$.legacy_HelixGroup; t4.moveNext$0();) { + t8 = t4.get$current(t4); + t9 = B.design_side_helix___$DesignSideHelix$closure().call$0(); + t9.toString; + t10 = J.getInterceptor$x(t9); + J.$indexSet$ax(t10.get$props(t9), "DesignSideHelixProps.helix", t8); + t11 = _this._design_side$_cachedTypedProps; + t11 = t11.get$props(t11).$index(0, "DesignSideProps.slice_bar_offset"); + t11 = H._asIntS(t11 == null ? _null : t11); + J.$indexSet$ax(t10.get$props(t9), "DesignSideHelixProps.slice_bar_offset", t11); + t11 = _this._design_side$_cachedTypedProps; + t11 = t11.get$props(t11).$index(0, "DesignSideProps.displayed_group"); + t11 = t7._as(t11 == null ? _null : t11).grid; + J.$indexSet$ax(t10.get$props(t9), "DesignSideHelixProps.grid", t11); + t11 = _this._design_side$_cachedTypedProps; + t11 = t11.get$props(t11).$index(0, "DesignSideProps.invert_y"); + t11 = H._asBoolS(t11 == null ? _null : t11); + J.$indexSet$ax(t10.get$props(t9), "DesignSideHelixProps.invert_y", t11); + t11 = _this._design_side$_cachedTypedProps; + t11 = t11.get$props(t11).$index(0, string$.DesignSPrh); + t11 = H._asBoolS(t11 == null ? _null : t11); + J.$indexSet$ax(t10.get$props(t9), string$.DesignSHh, t11); + t11 = _this._design_side$_cachedTypedProps; + t11 = t11.get$props(t11).$index(0, "DesignSideProps.edit_modes"); + t11 = t6._as(t6._as(t11 == null ? _null : t11)); + J.$indexSet$ax(t10.get$props(t9), "DesignSideHelixProps.edit_modes", t11); + t11 = _this._design_side$_cachedTypedProps; + t11 = t11.get$props(t11).$index(0, string$.DesignSPrg); + t11 = t5._as(t11 == null ? _null : t11); + t12 = t8.grid_position; + t11 = J.$eq$(t11, t12); + J.$indexSet$ax(t10.get$props(t9), "DesignSideHelixProps.mouse_is_over", t11); + t11 = _this._design_side$_cachedTypedProps; + t11 = t11.get$props(t11).$index(0, "DesignSideProps.show_grid_coordinates"); + t11 = H._asBoolS(t11 == null ? _null : t11); + J.$indexSet$ax(t10.get$props(t9), string$.DesignSHs, t11); + t11 = t8.idx; + t13 = t1._set.contains$1(0, t11); + J.$indexSet$ax(t10.get$props(t9), "DesignSideHelixProps.selected", t13); + t11 = t2.$index(0, t11); + J.$indexSet$ax(t10.get$props(t9), "DesignSideHelixProps.rotation_data", t11); + t8 = t8.position_; + t8 = H.S(t8 == null ? t12 : t8); + t10 = t10.get$props(t9); + J.$indexSet$ax(t10, "key", t8); + t3.push(t9.call$0()); + } + t1 = P.LinkedHashSet_LinkedHashSet$_empty(t5); + for (t2 = _this._design_side$_cachedTypedProps.get$helices(), t2 = J.get$iterator$ax(t2.get$values(t2)); t2.moveNext$0();) + t1.add$1(0, t2.get$current(t2).grid_position); + if (_this._design_side$_cachedTypedProps.get$mouse_svg_pos() == null) + should_display_potential_helix = _this._design_side$_cachedTypedProps.get$grid_position_mouse_cursor() != null && !t1.contains$1(0, _this._design_side$_cachedTypedProps.get$grid_position_mouse_cursor()); + else + should_display_potential_helix = true; + t1 = A.SvgProps$($.$get$g(), _null); + t1.set$className(0, "side-view"); + t2 = H.setRuntimeTypeInfo([], type$.JSArray_legacy_ReactElement); + if (should_display_potential_helix) { + t4 = Y.design_side_potential_helix___$DesignSidePotentialHelix$closure().call$0(); + t5 = _this._design_side$_cachedTypedProps.get$displayed_group().grid; + t4.toString; + t6 = J.getInterceptor$x(t4); + J.$indexSet$ax(t6.get$props(t4), "DesignSidePotentialHelixProps.grid", t5); + t5 = _this._design_side$_cachedTypedProps; + t5 = t5.get$geometry(t5); + J.$indexSet$ax(t6.get$props(t4), "DesignSidePotentialHelixProps.geometry", t5); + t5 = _this._design_side$_cachedTypedProps.get$invert_y(); + J.$indexSet$ax(t6.get$props(t4), "DesignSidePotentialHelixProps.invert_y", t5); + t5 = _this._design_side$_cachedTypedProps.get$grid_position_mouse_cursor(); + J.$indexSet$ax(t6.get$props(t4), string$.DesignSPog, t5); + t5 = type$.legacy_Point_legacy_num._as(_this._design_side$_cachedTypedProps.get$mouse_svg_pos()); + J.$indexSet$ax(t6.get$props(t4), string$.DesignSPom, t5); + t6.set$key(t4, "potential-helix"); + t2.push(t4.call$0()); + } + t4 = A.SvgProps$($.$get$g(), _null); + t4.set$className(0, _s17_); + t4.set$key(0, _s17_); + t2.push(t4.call$1(t3)); + t3 = $.$get$ConnectedSelectionBoxView().call$0(); + t3.set$stroke_width_getter(new U.DesignSideComponent_render_closure()); + t3.set$is_main(false); + t4 = J.getInterceptor$x(t3); + t4.set$id(t3, "selection-box-side"); + t4.set$key(t3, "selection-box"); + t2.push(t3.call$0()); + return t1.call$1(t2); + } + }; + U.DesignSideComponent_render_closure.prototype = { + call$0: function() { + var t1 = self.current_zoom_side(); + if (typeof t1 !== "number") + return H.iae(t1); + return 2 / t1; + }, + "call*": "call$0", + $requiredArgCount: 0, + $signature: 65 + }; + U.$DesignSideComponentFactory_closure.prototype = { + call$0: function() { + return new U._$DesignSideComponent(null); + }, + "call*": "call$0", + $requiredArgCount: 0, + $signature: 496 + }; + U._$$DesignSideProps.prototype = { + get$$$isClassGenerated: function() { + return true; + }, + get$componentFactory: function() { + var t1 = this.componentFactory; + return t1 == null ? $.$get$$DesignSideComponentFactory() : t1; + } + }; + U._$$DesignSideProps$PlainMap.prototype = { + get$props: function(_) { + return this._design_side$_props; + } + }; + U._$$DesignSideProps$JsMap.prototype = { + get$props: function(_) { + return this._design_side$_props; + } + }; + U._$DesignSideComponent.prototype = { + get$props: function(_) { + return this._design_side$_cachedTypedProps; + }, + set$props: function(_, value) { + this.props = value; + this._design_side$_cachedTypedProps = U._$$DesignSideProps$JsMap$(R.getBackingMap(value)); + }, + get$displayName: function(_) { + return "DesignSide"; + }, + get$$$defaultConsumedProps: function() { + return C.Map_gGYZj.get$values(C.Map_gGYZj); + } + }; + U.$DesignSideProps.prototype = { + get$helices: function() { + var t1 = J.$index$asx(this.get$props(this), "DesignSideProps.helices"); + if (t1 == null) + t1 = null; + return type$.legacy_BuiltMap_of_legacy_int_and_legacy_Helix._as(t1); + }, + get$geometry: function(_) { + var t1 = J.$index$asx(this.get$props(this), "DesignSideProps.geometry"); + if (t1 == null) + t1 = null; + return type$.legacy_Geometry._as(t1); + }, + get$mouse_svg_pos: function() { + var t1 = J.$index$asx(this.get$props(this), "DesignSideProps.mouse_svg_pos"); + if (t1 == null) + t1 = null; + return type$.legacy_Point_legacy_num._as(t1); + }, + get$grid_position_mouse_cursor: function() { + var t1 = J.$index$asx(this.get$props(this), string$.DesignSPrg); + if (t1 == null) + t1 = null; + return type$.legacy_GridPosition._as(t1); + }, + get$invert_y: function() { + var t1 = J.$index$asx(this.get$props(this), "DesignSideProps.invert_y"); + return H._asBoolS(t1 == null ? null : t1); + }, + get$displayed_group: function() { + var t1 = J.$index$asx(this.get$props(this), "DesignSideProps.displayed_group"); + if (t1 == null) + t1 = null; + return type$.legacy_HelixGroup._as(t1); + } + }; + U._DesignSideComponent_UiComponent2_PureComponent.prototype = {}; + U.__$$DesignSideProps_UiProps_DesignSideProps.prototype = { + get$helices: function() { + return this.DesignSideProps_helices; + }, + get$geometry: function(receiver) { + return this.DesignSideProps_geometry; + } + }; + U.__$$DesignSideProps_UiProps_DesignSideProps_$DesignSideProps.prototype = {}; + S.ConnectedDesignSideArrows_closure.prototype = { + call$1: function(state) { + var t1, t2, t3, t4; + type$.legacy_AppState._as(state); + t1 = S.design_side_arrows___$DesignSideArrows$closure().call$0(); + t2 = state.ui_state.storables; + t3 = t2.invert_y; + t1.toString; + t4 = J.getInterceptor$x(t1); + J.$indexSet$ax(t4.get$props(t1), "DesignSideArrowsProps.invert_y", t3); + t2 = t2.show_helices_axis_arrows; + J.$indexSet$ax(t4.get$props(t1), string$.DesignSA, t2); + return t1; + }, + $signature: 497 + }; + S.DesignSideArrowsProps.prototype = {$isMap: 1, $isUiProps0: 1, $isUiProps: 1}; + S.DesignMainArrowsComponent0.prototype = { + render$0: function(_) { + var t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, _this = this, _null = null, _s4_ = "none", + _s10_ = "axis-arrow", + _s63_ = string$.M_0_0_, + svg_center_x = H.boolConversionCheck(_this._design_side_arrows$_cachedTypedProps.get$invert_y()) ? 66.5 : 20, + svg_center_y = H.boolConversionCheck(_this._design_side_arrows$_cachedTypedProps.get$invert_y()) ? 66.5 : 20, + t1 = _this._design_side_arrows$_cachedTypedProps; + t1 = t1.get$props(t1).$index(0, string$.DesignSA); + if (H._asBoolS(t1 == null ? _null : t1) === true) { + t1 = A.SvgProps$($.$get$g(), _null); + t1.set$className(0, "arrow-group"); + t1.set$transform(0, "translate(" + H.S(svg_center_x) + ", " + H.S(svg_center_y) + ")"); + t2 = A.SvgProps$($.$get$title(), _null).call$1("\u29bb - Into the screen"); + t3 = A.SvgProps$($.$get$path(), _null); + t3.set$key(0, "z_path"); + t3.set$d(0, string$.M__6_3); + t3.set$fill(0, _s4_); + t3.set$stroke(0, "blue"); + t3.set$className(0, _s10_); + t3 = t3.call$0(); + t4 = A.SvgProps$($.$get$circle(), _null); + t4.set$r(0, 10); + t4.set$stroke(0, "blue"); + t4.set$fill(0, _s4_); + t4.set$className(0, _s10_); + t4 = t4.call$0(); + t5 = A.SvgProps$($.$get$path(), _null); + t5.set$key(0, "x_path"); + t5.set$transform(0, H.boolConversionCheck(_this._design_side_arrows$_cachedTypedProps.get$invert_y()) ? "rotate(270)" : "rotate(90)"); + t5.set$d(0, _s63_); + t5.set$fill(0, _s4_); + t5.set$stroke(0, "red"); + t5.set$className(0, _s10_); + t5 = t5.call$0(); + t6 = A.SvgProps$($.$get$path(), _null); + t6.set$key(0, "y_path"); + t6.set$transform(0, H.boolConversionCheck(_this._design_side_arrows$_cachedTypedProps.get$invert_y()) ? "rotate(0)" : "rotate(180)"); + t6.set$d(0, _s63_); + t6.set$fill(0, _s4_); + t6.set$stroke(0, "green"); + t6.set$className(0, _s10_); + t6 = t6.call$0(); + t7 = A.SvgProps$($.$get$text(), _null); + t7.set$x(0, H.boolConversionCheck(_this._design_side_arrows$_cachedTypedProps.get$invert_y()) ? -60.5 : 48.5); + t7.set$y(0, 6.5); + t8 = type$.legacy_String; + t9 = type$.dynamic; + t10 = type$.legacy_Map_of_legacy_String_and_dynamic; + t7.set$_raw$DomProps$style(t10._as(P.LinkedHashMap_LinkedHashMap$_literal(["fill", "red"], t8, t9))); + t7 = t7.call$1("X"); + t11 = A.SvgProps$($.$get$text(), _null); + t11.set$x(0, -6); + t11.set$y(0, H.boolConversionCheck(_this._design_side_arrows$_cachedTypedProps.get$invert_y()) ? -48.5 : 61.5); + t11.set$_raw$DomProps$style(t10._as(P.LinkedHashMap_LinkedHashMap$_literal(["fill", "green"], t8, t9))); + t11 = t11.call$1("Y"); + t12 = A.SvgProps$($.$get$text(), _null); + t12.set$x(0, H.boolConversionCheck(_this._design_side_arrows$_cachedTypedProps.get$invert_y()) ? -22 : 10); + t12.set$y(0, H.boolConversionCheck(_this._design_side_arrows$_cachedTypedProps.get$invert_y()) ? -10 : 27); + t12.set$_raw$DomProps$style(t10._as(P.LinkedHashMap_LinkedHashMap$_literal(["fill", "blue"], t8, t9))); + return t1.call$8(t2, t3, t4, t5, t6, t7, t11, t12.call$1("Z")); + } else + return A.SvgProps$($.$get$g(), _null).call$0(); + } + }; + S.$DesignMainArrowsComponentFactory_closure.prototype = { + call$0: function() { + return new S._$DesignMainArrowsComponent(null); + }, + "call*": "call$0", + $requiredArgCount: 0, + $signature: 498 + }; + S._$$DesignSideArrowsProps.prototype = { + get$$$isClassGenerated: function() { + return true; + }, + get$componentFactory: function() { + var t1 = this.componentFactory; + return t1 == null ? $.$get$$DesignMainArrowsComponentFactory() : t1; + } + }; + S._$$DesignSideArrowsProps$PlainMap.prototype = { + get$props: function(_) { + return this._design_side_arrows$_props; + } + }; + S._$$DesignSideArrowsProps$JsMap.prototype = { + get$props: function(_) { + return this._design_side_arrows$_props; + } + }; + S._$DesignMainArrowsComponent.prototype = { + get$props: function(_) { + return this._design_side_arrows$_cachedTypedProps; + }, + set$props: function(_, value) { + this.props = value; + this._design_side_arrows$_cachedTypedProps = S._$$DesignSideArrowsProps$JsMap$(R.getBackingMap(value)); + }, + get$displayName: function(_) { + return "DesignSideArrows"; + }, + get$$$defaultConsumedProps: function() { + return C.Map_DRc9P.get$values(C.Map_DRc9P); + } + }; + S.$DesignSideArrowsProps.prototype = { + get$invert_y: function() { + var t1 = J.$index$asx(this.get$props(this), "DesignSideArrowsProps.invert_y"); + return H._asBoolS(t1 == null ? null : t1); + } + }; + S.__$$DesignSideArrowsProps_UiProps_DesignSideArrowsProps.prototype = {}; + S.__$$DesignSideArrowsProps_UiProps_DesignSideArrowsProps_$DesignSideArrowsProps.prototype = {}; + B.DesignSideHelixProps.prototype = {$isMap: 1, $isUiProps0: 1, $isUiProps: 1}; + B.DesignSideHelixComponent.prototype = { + render$0: function(_) { + var classname_circle, t2, pos, t3, position_str, grid_position_str, forward_angle, reverse_angle, tooltip, t4, center, _this = this, _null = null, + t1 = _this._design_side_helix$_cachedTypedProps; + t1 = t1.get$props(t1).$index(0, "DesignSideHelixProps.selected"); + classname_circle = H.boolConversionCheck(H._asBoolS(t1 == null ? _null : t1)) ? "side-view-helix-circle selected" : "side-view-helix-circle"; + t1 = _this._design_side_helix$_cachedTypedProps; + t1 = t1.get$props(t1).$index(0, "DesignSideHelixProps.mouse_is_over"); + if (H.boolConversionCheck(H._asBoolS(t1 == null ? _null : t1)) && _this._design_side_helix$_cachedTypedProps.get$edit_modes()._set.contains$1(0, C.EditModeChoice_pencil)) + classname_circle += " deletable"; + t1 = _this._design_side_helix$_cachedTypedProps; + t1 = t1.get$props(t1).$index(0, "DesignSideHelixProps.grid"); + if (t1 == null) + t1 = _null; + type$.legacy_Grid._as(t1); + t1.toString; + t2 = _this._design_side_helix$_cachedTypedProps; + if (t1 === C.Grid_none) { + pos = t2.get$helix().get$position3d(); + t1 = pos.x; + t2 = C.JSNumber_methods.toStringAsFixed$1(t1, 1) + ", "; + t3 = pos.y; + position_str = t2 + C.JSNumber_methods.toStringAsFixed$1(t3, 1); + grid_position_str = C.JSNumber_methods.toStringAsFixed$1(t1, 1) + "," + C.JSNumber_methods.toStringAsFixed$1(t3, 1); + } else { + pos = t2.get$helix().grid_position; + position_str = "" + pos.h + ", " + pos.v; + grid_position_str = H.stringReplaceAllUnchecked(position_str, " ", ""); + } + forward_angle = _this._design_side_helix$_cachedTypedProps.get$slice_bar_offset() != null ? _this._design_side_helix$_cachedTypedProps.get$helix().backbone_angle_at_offset$2(_this._design_side_helix$_cachedTypedProps.get$slice_bar_offset(), true) : _null; + reverse_angle = _this._design_side_helix$_cachedTypedProps.get$slice_bar_offset() != null ? _this._design_side_helix$_cachedTypedProps.get$helix().backbone_angle_at_offset$2(_this._design_side_helix$_cachedTypedProps.get$slice_bar_offset(), false) : _null; + t1 = "position: " + position_str + "\nroll: " + C.JSNumber_methods.toStringAsFixed$1(_this._design_side_helix$_cachedTypedProps.get$helix().roll, 1) + "\nbackbone angles at current slice bar offset = " + H.S(_this._design_side_helix$_cachedTypedProps.get$slice_bar_offset()) + ":\n forward: "; + t1 = t1 + H.S(forward_angle == null ? _null : C.JSNumber_methods.toStringAsFixed$1(forward_angle, 1)) + "\n reverse: "; + tooltip = t1 + H.S(reverse_angle == null ? _null : C.JSNumber_methods.toStringAsFixed$1(reverse_angle, 1)); + t1 = A.SvgProps$($.$get$circle(), _null); + t1.set$className(0, classname_circle); + t1.set$r(0, H.S(_this._design_side_helix$_cachedTypedProps.get$helix().geometry.get$helix_radius_svg())); + t1.set$onClick(0, new B.DesignSideHelixComponent_render_closure(_this)); + t1.set$id(0, "side-view-helix-circle-" + _this._design_side_helix$_cachedTypedProps.get$helix().idx); + t1.set$key(0, "circle"); + t2 = A.SvgProps$($.$get$title(), _null); + t2.set$key(0, "circle-tooltip"); + t2 = t1.call$1(t2.call$1(tooltip)); + t1 = A.SvgProps$($.$get$text(), _null); + t1.set$_raw$DomProps$style(type$.legacy_Map_of_legacy_String_and_dynamic._as(P.LinkedHashMap_LinkedHashMap$_empty(type$.legacy_String, type$.dynamic))); + t1.set$className(0, "side-view-helix-text"); + t1.set$id(0, "side-view-helix-text-" + _this._design_side_helix$_cachedTypedProps.get$helix().idx); + t1.set$onClick(0, new B.DesignSideHelixComponent_render_closure0(_this)); + t1.set$key(0, "text-idx"); + t3 = _this._design_side_helix$_cachedTypedProps.get$helix(); + t3 = C.JSInt_methods.toString$0(t3.idx); + t4 = A.SvgProps$($.$get$title(), _null); + t4.set$key(0, "text-idx-tooltip"); + t4 = H.setRuntimeTypeInfo([t2, t1.call$2(t3, t4.call$1(tooltip))], type$.JSArray_legacy_ReactElement); + t1 = _this._design_side_helix$_cachedTypedProps; + t1 = t1.get$props(t1).$index(0, string$.DesignSHs); + if (H.boolConversionCheck(H._asBoolS(t1 == null ? _null : t1))) { + t1 = A.SvgProps$($.$get$text(), _null); + t1.set$fontSize(0, 10); + t1.set$dominantBaseline("text-before-edge"); + t1.set$textAnchor("middle"); + t1.set$y(0, _this._design_side_helix$_cachedTypedProps.get$helix().geometry.get$helix_radius_svg() / 2); + t1.set$key(0, "text-grid-position"); + t4.push(t1.call$1(grid_position_str)); + } + t1 = A.SvgProps$($.$get$title(), _null); + t1.set$key(0, "text-grid-position-tooltip"); + t4.push(t1.call$1(tooltip)); + if (_this._design_side_helix$_cachedTypedProps.get$rotation_data() != null) { + t1 = O.design_side_rotation___$DesignSideRotation$closure().call$0(); + t2 = _this._design_side_helix$_cachedTypedProps.get$helix().geometry.get$helix_radius_svg(); + t1.toString; + t3 = J.getInterceptor$x(t1); + J.$indexSet$ax(t3.get$props(t1), "DesignSideRotationProps.radius", t2); + t2 = _this._design_side_helix$_cachedTypedProps.get$rotation_data(); + J.$indexSet$ax(t3.get$props(t1), "DesignSideRotationProps.data", t2); + t2 = _this._design_side_helix$_cachedTypedProps.get$invert_y(); + J.$indexSet$ax(t3.get$props(t1), "DesignSideRotationProps.invert_y", t2); + t3.set$className(t1, "side-view-helix-rotation"); + t3.set$key(t1, "rotation"); + C.JSArray_methods.add$1(t4, t1.call$0()); + } + center = E.position3d_to_side_view_svg(_this._design_side_helix$_cachedTypedProps.get$helix().get$position3d(), _this._design_side_helix$_cachedTypedProps.get$invert_y(), _this._design_side_helix$_cachedTypedProps.get$helix().geometry); + t1 = A.SvgProps$($.$get$g(), _null); + t1.set$transform(0, "translate(" + H.S(center.x) + " " + H.S(center.y) + ")"); + t1.set$id(0, "helix-side-view-" + _this._design_side_helix$_cachedTypedProps.get$helix().idx); + return t1.call$1(t4); + }, + componentDidMount$0: function() { + var _s16_ = "helix-side-view-", + t1 = "#" + (_s16_ + this._design_side_helix$_cachedTypedProps.get$helix().idx), + elt = document.querySelector(t1); + if (elt != null) + J.addEventListener$2$x(elt, "contextmenu", this.get$on_context_menu()); + else + P.print(string$.WARNINn + (_s16_ + this._design_side_helix$_cachedTypedProps.get$helix().idx)); + }, + componentWillUnmount$0: function() { + var _this = this, + _s16_ = "helix-side-view-", + t1 = "#" + (_s16_ + _this._design_side_helix$_cachedTypedProps.get$helix().idx), + elt = document.querySelector(t1); + if (elt != null) + J.removeEventListener$2$x(elt, "contextmenu", _this.get$on_context_menu()); + else + P.print(string$.WARNINn + (_s16_ + _this._design_side_helix$_cachedTypedProps.get$helix().idx)); + _this.super$_UiComponent2_Component2_DisposableManagerProxy$componentWillUnmount(); + }, + on_context_menu$1: function(ev) { + var t1, t2, t3, t4; + ev = type$.legacy_MouseEvent._as(type$.legacy_Event._as(ev)); + if (!H.boolConversionCheck(ev.shiftKey)) { + ev.preventDefault(); + t1 = $.app; + t2 = this._design_side_helix$_cachedTypedProps.get$helix(); + t3 = this._design_side_helix$_cachedTypedProps; + t3 = t3.get$props(t3).$index(0, string$.DesignSHh); + t2 = D._BuiltList$of(V.context_menu_helix(t2, H._asBoolS(t3 == null ? null : t3)), type$.legacy_ContextMenuItem); + t3 = ev.pageX; + t3.toString; + t4 = ev.pageY; + t4.toString; + t1.dispatch$1(U._$ContextMenuShow$_(B._$ContextMenu$_(t2, new P.Point(t3, t4, type$.Point_num)))); + } + }, + _design_side_helix$_handle_click$2: function($event, helix) { + var t1; + if (this._design_side_helix$_cachedTypedProps.get$edit_modes()._set.contains$1(0, C.EditModeChoice_pencil)) + $.app.dispatch$1(U.HelixRemove_HelixRemove(helix.idx)); + else { + t1 = J.getInterceptor$x($event); + if (H.boolConversionCheck(t1.get$shiftKey($event))) + $.app.dispatch$1(U.HelixSelect_HelixSelect(helix.idx, false)); + else if (H.boolConversionCheck(t1.get$ctrlKey($event)) || H.boolConversionCheck(t1.get$metaKey($event))) + $.app.dispatch$1(U.HelixSelect_HelixSelect(helix.idx, true)); + } + } + }; + B.DesignSideHelixComponent_render_closure.prototype = { + call$1: function(e) { + var t1 = this.$this; + return t1._design_side_helix$_handle_click$2(type$.legacy_SyntheticMouseEvent._as(e), t1._design_side_helix$_cachedTypedProps.get$helix()); + }, + $signature: 3 + }; + B.DesignSideHelixComponent_render_closure0.prototype = { + call$1: function(e) { + var t1 = this.$this; + return t1._design_side_helix$_handle_click$2(type$.legacy_SyntheticMouseEvent._as(e), t1._design_side_helix$_cachedTypedProps.get$helix()); + }, + $signature: 3 + }; + B.$DesignSideHelixComponentFactory_closure.prototype = { + call$0: function() { + return new B._$DesignSideHelixComponent(null); + }, + "call*": "call$0", + $requiredArgCount: 0, + $signature: 499 + }; + B._$$DesignSideHelixProps.prototype = { + get$$$isClassGenerated: function() { + return true; + }, + get$componentFactory: function() { + var t1 = this.componentFactory; + return t1 == null ? $.$get$$DesignSideHelixComponentFactory() : t1; + } + }; + B._$$DesignSideHelixProps$PlainMap.prototype = { + get$props: function(_) { + return this._design_side_helix$_props; + } + }; + B._$$DesignSideHelixProps$JsMap.prototype = { + get$props: function(_) { + return this._design_side_helix$_props; + } + }; + B._$DesignSideHelixComponent.prototype = { + get$props: function(_) { + return this._design_side_helix$_cachedTypedProps; + }, + set$props: function(_, value) { + this.props = value; + this._design_side_helix$_cachedTypedProps = B._$$DesignSideHelixProps$JsMap$(R.getBackingMap(value)); + }, + get$displayName: function(_) { + return "DesignSideHelix"; + }, + get$$$defaultConsumedProps: function() { + return C.Map_IIA4m.get$values(C.Map_IIA4m); + } + }; + B.$DesignSideHelixProps.prototype = { + get$helix: function() { + var t1 = J.$index$asx(this.get$props(this), "DesignSideHelixProps.helix"); + if (t1 == null) + t1 = null; + return type$.legacy_Helix._as(t1); + }, + get$slice_bar_offset: function() { + var t1 = J.$index$asx(this.get$props(this), "DesignSideHelixProps.slice_bar_offset"); + return H._asIntS(t1 == null ? null : t1); + }, + get$invert_y: function() { + var t1 = J.$index$asx(this.get$props(this), "DesignSideHelixProps.invert_y"); + return H._asBoolS(t1 == null ? null : t1); + }, + get$rotation_data: function() { + var t1 = J.$index$asx(this.get$props(this), "DesignSideHelixProps.rotation_data"); + if (t1 == null) + t1 = null; + return type$.legacy_DesignSideRotationData._as(t1); + }, + get$edit_modes: function() { + var t1 = J.$index$asx(this.get$props(this), "DesignSideHelixProps.edit_modes"); + if (t1 == null) + t1 = null; + return type$.legacy_BuiltSet_legacy_EditModeChoice._as(t1); + } + }; + B._DesignSideHelixComponent_UiComponent2_PureComponent.prototype = {}; + B.__$$DesignSideHelixProps_UiProps_DesignSideHelixProps.prototype = {}; + B.__$$DesignSideHelixProps_UiProps_DesignSideHelixProps_$DesignSideHelixProps.prototype = {}; + Y.DesignSidePotentialHelixProps.prototype = {$isMap: 1, $isUiProps0: 1, $isUiProps: 1, + get$geometry: function(receiver) { + return this.DesignSidePotentialHelixProps_geometry; + } + }; + Y.DesignSidePotentialHelixComponent.prototype = { + render$0: function(_) { + var grid, svg_ideal_pos, t2, t3, t4, point, x, y, pos, tooltip, _this = this, _null = null, + t1 = _this._design_side_potential_helix$_cachedTypedProps; + t1 = t1.get$grid(t1); + t1.toString; + if (t1 !== C.Grid_none) + if (_this._design_side_potential_helix$_cachedTypedProps.get$grid_position() == null) + return _null; + t1 = _this._design_side_potential_helix$_cachedTypedProps; + grid = t1.get$grid(t1); + grid.toString; + t1 = _this._design_side_potential_helix$_cachedTypedProps; + if (grid === C.Grid_none) + svg_ideal_pos = t1.get$mouse_svg_pos(); + else { + t1 = t1.get$grid_position(); + t2 = _this._design_side_potential_helix$_cachedTypedProps; + t2 = t2.get$grid(t2); + t3 = _this._design_side_potential_helix$_cachedTypedProps.get$invert_y(); + t4 = _this._design_side_potential_helix$_cachedTypedProps; + t4 = t4.get$geometry(t4); + if (t2 === C.Grid_square) + point = new P.Point(t1.h, t1.v, type$.Point_legacy_num); + else if (t2 === C.Grid_hex) + point = E.hex_grid_position_to_position2d_diameter_1_circles(t1); + else if (t2 === C.Grid_honeycomb) + point = E.honeycomb_grid_position_to_position2d_diameter_1_circles(t1); + else { + H.throwExpression(P.ArgumentError$(string$.cannotc)); + point = _null; + } + if (H.boolConversionCheck(t3)) { + x = point.x; + y = point.y; + if (typeof x !== "number") + return x.$negate(); + if (typeof y !== "number") + return y.$negate(); + point = new P.Point(-x, -y, type$.Point_legacy_num); + } + svg_ideal_pos = point.$mul(0, t4.get$distance_between_helices_svg()); + } + t1 = _this._design_side_potential_helix$_cachedTypedProps; + t1 = t1.get$grid(t1); + t1.toString; + t2 = _this._design_side_potential_helix$_cachedTypedProps; + if (t1 === C.Grid_none) { + t1 = t2.get$mouse_svg_pos(); + t2 = _this._design_side_potential_helix$_cachedTypedProps.get$invert_y(); + t3 = _this._design_side_potential_helix$_cachedTypedProps; + pos = E.svg_side_view_to_position3d(t1, t2, t3.get$geometry(t3)); + tooltip = "(x, y) = " + C.JSNumber_methods.toStringAsFixed$1(pos.x, 2) + ", " + C.JSNumber_methods.toStringAsFixed$1(pos.y, 2); + } else { + pos = t2.get$grid_position(); + tooltip = "" + pos.h + ", " + pos.v; + } + t1 = A.SvgProps$($.$get$circle(), _null); + t1.set$cx(0, svg_ideal_pos.x); + t1.set$cy(0, svg_ideal_pos.y); + t2 = _this._design_side_potential_helix$_cachedTypedProps; + t1.set$r(0, H.S(t2.get$geometry(t2).get$helix_radius_svg())); + t1.set$onClick(0, _this.get$_design_side_potential_helix$_handle_click()); + t1.set$className(0, "side-view-potential-helix"); + return t1.call$1(A.SvgProps$($.$get$title(), _null).call$1(tooltip)); + }, + _design_side_potential_helix$_handle_click$1: function($event) { + var t1, t2, t3, position, _this = this; + type$.legacy_SyntheticMouseEvent._as($event); + t1 = _this._design_side_potential_helix$_cachedTypedProps; + t1 = t1.get$grid(t1); + t1.toString; + t2 = _this._design_side_potential_helix$_cachedTypedProps; + if (t1 === C.Grid_none) { + t1 = t2.get$mouse_svg_pos(); + t2 = _this._design_side_potential_helix$_cachedTypedProps.get$invert_y(); + t3 = _this._design_side_potential_helix$_cachedTypedProps; + position = E.svg_side_view_to_position3d(t1, t2, t3.get$geometry(t3)); + $.app.dispatch$1(U.HelixAdd_HelixAdd(null, position)); + } else + $.app.dispatch$1(U.HelixAdd_HelixAdd(t2.get$grid_position(), null)); + } + }; + Y.$DesignSidePotentialHelixComponentFactory_closure.prototype = { + call$0: function() { + return new Y._$DesignSidePotentialHelixComponent(null); + }, + "call*": "call$0", + $requiredArgCount: 0, + $signature: 500 + }; + Y._$$DesignSidePotentialHelixProps.prototype = { + get$$$isClassGenerated: function() { + return true; + }, + get$componentFactory: function() { + var t1 = this.componentFactory; + return t1 == null ? $.$get$$DesignSidePotentialHelixComponentFactory() : t1; + } + }; + Y._$$DesignSidePotentialHelixProps$PlainMap.prototype = { + get$props: function(_) { + return this._design_side_potential_helix$_props; + } + }; + Y._$$DesignSidePotentialHelixProps$JsMap.prototype = { + get$props: function(_) { + return this._design_side_potential_helix$_props; + } + }; + Y._$DesignSidePotentialHelixComponent.prototype = { + get$props: function(_) { + return this._design_side_potential_helix$_cachedTypedProps; + }, + set$props: function(_, value) { + this.props = value; + this._design_side_potential_helix$_cachedTypedProps = Y._$$DesignSidePotentialHelixProps$JsMap$(R.getBackingMap(value)); + }, + get$displayName: function(_) { + return "DesignSidePotentialHelix"; + }, + get$$$defaultConsumedProps: function() { + return C.Map_qpW5w.get$values(C.Map_qpW5w); + } + }; + Y.$DesignSidePotentialHelixProps.prototype = { + get$grid: function(_) { + var t1 = J.$index$asx(this.get$props(this), "DesignSidePotentialHelixProps.grid"); + if (t1 == null) + t1 = null; + return type$.legacy_Grid._as(t1); + }, + get$grid_position: function() { + var t1 = J.$index$asx(this.get$props(this), string$.DesignSPog); + if (t1 == null) + t1 = null; + return type$.legacy_GridPosition._as(t1); + }, + get$mouse_svg_pos: function() { + var t1 = J.$index$asx(this.get$props(this), string$.DesignSPom); + if (t1 == null) + t1 = null; + return type$.legacy_Point_legacy_num._as(t1); + }, + get$invert_y: function() { + var t1 = J.$index$asx(this.get$props(this), "DesignSidePotentialHelixProps.invert_y"); + return H._asBoolS(t1 == null ? null : t1); + }, + get$geometry: function(_) { + var t1 = J.$index$asx(this.get$props(this), "DesignSidePotentialHelixProps.geometry"); + if (t1 == null) + t1 = null; + return type$.legacy_Geometry._as(t1); + } + }; + Y.__$$DesignSidePotentialHelixProps_UiProps_DesignSidePotentialHelixProps.prototype = { + get$geometry: function(receiver) { + return this.DesignSidePotentialHelixProps_geometry; + } + }; + Y.__$$DesignSidePotentialHelixProps_UiProps_DesignSidePotentialHelixProps_$DesignSidePotentialHelixProps.prototype = {}; + O.DesignSideRotationProps.prototype = {$isMap: 1, $isUiProps0: 1, $isUiProps: 1}; + O.DesignSideRotationComponent.prototype = { + render$0: function(_) { + var t2, t3, color_forward_str, color_reverse_str, t4, t5, _this = this, + _s14_ = "rotation-arrow", + t1 = _this._design_side_rotation$_cachedTypedProps; + t1 = t1.get$data(t1).roll_forward; + t2 = _this._design_side_rotation$_cachedTypedProps; + t2 = t2.get$data(t2).minor_groove_angle; + t3 = _this._design_side_rotation$_cachedTypedProps; + t3 = t3.get$data(t3).color_forward.toHexColor$0(); + color_forward_str = "#" + t3.get$rHex() + t3.get$gHex() + t3.get$bHex(); + t3 = _this._design_side_rotation$_cachedTypedProps; + t3 = t3.get$data(t3).color_reverse.toHexColor$0(); + color_reverse_str = "#" + t3.get$rHex() + t3.get$gHex() + t3.get$bHex(); + t3 = A.SvgProps$($.$get$g(), null); + t4 = E.design_side_rotation_arrow___$DesignSideRotationArrow$closure().call$0(); + t4.set$radius(_this._design_side_rotation$_cachedTypedProps.get$radius()); + t5 = _this._design_side_rotation$_cachedTypedProps; + t4.set$angle_degrees(t5.get$data(t5).roll_forward); + t5 = J.getInterceptor$z(t4); + t5.set$color(t4, color_forward_str); + t4.set$invert_y(_this._design_side_rotation$_cachedTypedProps.get$invert_y()); + t5.set$className(t4, _s14_); + t4 = t4.call$0(); + t5 = E.design_side_rotation_arrow___$DesignSideRotationArrow$closure().call$0(); + t5.set$radius(_this._design_side_rotation$_cachedTypedProps.get$radius()); + t5.set$angle_degrees(t1 + t2); + t2 = J.getInterceptor$z(t5); + t2.set$color(t5, color_reverse_str); + t5.set$invert_y(_this._design_side_rotation$_cachedTypedProps.get$invert_y()); + t2.set$className(t5, _s14_); + return t3.call$2(t4, t5.call$0()); + } + }; + O.$DesignSideRotationComponentFactory_closure.prototype = { + call$0: function() { + return new O._$DesignSideRotationComponent(null); + }, + "call*": "call$0", + $requiredArgCount: 0, + $signature: 501 + }; + O._$$DesignSideRotationProps.prototype = { + get$$$isClassGenerated: function() { + return true; + }, + get$componentFactory: function() { + var t1 = this.componentFactory; + return t1 == null ? $.$get$$DesignSideRotationComponentFactory() : t1; + } + }; + O._$$DesignSideRotationProps$PlainMap.prototype = { + get$props: function(_) { + return this._design_side_rotation$_props; + } + }; + O._$$DesignSideRotationProps$JsMap.prototype = { + get$props: function(_) { + return this._design_side_rotation$_props; + } + }; + O._$DesignSideRotationComponent.prototype = { + get$props: function(_) { + return this._design_side_rotation$_cachedTypedProps; + }, + set$props: function(_, value) { + this.props = value; + this._design_side_rotation$_cachedTypedProps = O._$$DesignSideRotationProps$JsMap$(R.getBackingMap(value)); + }, + get$displayName: function(_) { + return "DesignSideRotation"; + }, + get$$$defaultConsumedProps: function() { + return C.Map_36wX4.get$values(C.Map_36wX4); + } + }; + O.$DesignSideRotationProps.prototype = { + get$radius: function() { + var t1 = J.$index$asx(this.get$props(this), "DesignSideRotationProps.radius"); + return H._asDoubleS(t1 == null ? null : t1); + }, + get$data: function(_) { + var t1 = J.$index$asx(this.get$props(this), "DesignSideRotationProps.data"); + if (t1 == null) + t1 = null; + return type$.legacy_DesignSideRotationData._as(t1); + }, + get$invert_y: function() { + var t1 = J.$index$asx(this.get$props(this), "DesignSideRotationProps.invert_y"); + return H._asBoolS(t1 == null ? null : t1); + } + }; + O._DesignSideRotationComponent_UiComponent2_PureComponent.prototype = {}; + O.__$$DesignSideRotationProps_UiProps_DesignSideRotationProps.prototype = {}; + O.__$$DesignSideRotationProps_UiProps_DesignSideRotationProps_$DesignSideRotationProps.prototype = {}; + E.DesignSideRotationArrowProps.prototype = {$isMap: 1, $isUiProps0: 1, $isUiProps: 1}; + E.DesignSideRotationArrowComponent.prototype = { + render$0: function(_) { + var mag, t2, path_description, angle_degrees, _this = this, _null = null, + t1 = _this._design_side_rotation_arrow$_cachedTypedProps; + t1 = t1.get$props(t1).$index(0, "DesignSideRotationArrowProps.radius"); + t1 = H._asDoubleS(t1 == null ? _null : t1); + if (typeof t1 !== "number") + return t1.$mul(); + mag = t1 * 0.93; + t1 = mag / 6; + t2 = mag / 4; + path_description = "M 0 0 v -" + H.S(mag) + " m " + H.S(t1) + " " + H.S(t2) + " L 0 -" + H.S(mag) + " m -" + H.S(t1) + " " + H.S(t2) + " L 0 -" + H.S(mag) + " "; + t2 = _this._design_side_rotation_arrow$_cachedTypedProps; + t2 = t2.get$props(t2).$index(0, string$.DesignSR); + angle_degrees = H._asDoubleS(t2 == null ? _null : t2); + t1 = _this._design_side_rotation_arrow$_cachedTypedProps; + t1 = t1.get$props(t1).$index(0, "DesignSideRotationArrowProps.invert_y"); + if (H.boolConversionCheck(H._asBoolS(t1 == null ? _null : t1))) { + if (typeof angle_degrees !== "number") + return angle_degrees.$add(); + angle_degrees += 180; + } + t1 = A.SvgProps$($.$get$path(), _null); + t1.set$transform(0, "rotate(" + H.S(angle_degrees) + ")"); + t1.set$d(0, path_description); + t1.set$fill(0, "none"); + t2 = _this._design_side_rotation_arrow$_cachedTypedProps; + t2 = t2.get$props(t2).$index(0, "DesignSideRotationArrowProps.color"); + t1.set$stroke(0, H._asStringS(t2 == null ? _null : t2)); + t1.set$className(0, "rotation-line"); + return t1.call$0(); + } + }; + E.$DesignSideRotationArrowComponentFactory_closure.prototype = { + call$0: function() { + return new E._$DesignSideRotationArrowComponent(null); + }, + "call*": "call$0", + $requiredArgCount: 0, + $signature: 502 + }; + E._$$DesignSideRotationArrowProps.prototype = { + get$$$isClassGenerated: function() { + return true; + }, + get$componentFactory: function() { + var t1 = this.componentFactory; + return t1 == null ? $.$get$$DesignSideRotationArrowComponentFactory() : t1; + } + }; + E._$$DesignSideRotationArrowProps$PlainMap.prototype = { + get$props: function(_) { + return this._design_side_rotation_arrow$_props; + } + }; + E._$$DesignSideRotationArrowProps$JsMap.prototype = { + get$props: function(_) { + return this._design_side_rotation_arrow$_props; + } + }; + E._$DesignSideRotationArrowComponent.prototype = { + get$props: function(_) { + return this._design_side_rotation_arrow$_cachedTypedProps; + }, + set$props: function(_, value) { + this.props = value; + this._design_side_rotation_arrow$_cachedTypedProps = E._$$DesignSideRotationArrowProps$JsMap$(R.getBackingMap(value)); + }, + get$displayName: function(_) { + return "DesignSideRotationArrow"; + }, + get$$$defaultConsumedProps: function() { + return C.Map_OPgUw.get$values(C.Map_OPgUw); + } + }; + E.$DesignSideRotationArrowProps.prototype = { + set$angle_degrees: function(value) { + J.$indexSet$ax(this.get$props(this), string$.DesignSR, value); + }, + set$radius: function(value) { + J.$indexSet$ax(this.get$props(this), "DesignSideRotationArrowProps.radius", value); + }, + set$color: function(_, value) { + J.$indexSet$ax(this.get$props(this), "DesignSideRotationArrowProps.color", value); + }, + set$invert_y: function(value) { + J.$indexSet$ax(this.get$props(this), "DesignSideRotationArrowProps.invert_y", value); + } + }; + E.__$$DesignSideRotationArrowProps_UiProps_DesignSideRotationArrowProps.prototype = {}; + E.__$$DesignSideRotationArrowProps_UiProps_DesignSideRotationArrowProps_$DesignSideRotationArrowProps.prototype = {}; + Z.ConnectedEditAndSelectModes_closure.prototype = { + call$1: function(state) { + var t1, t2, t3, t4, t5; + type$.legacy_AppState._as(state); + t1 = state.design; + t1 = t1 == null ? null : t1.get$is_origami(); + t2 = Z.edit_and_select_modes___$EditAndSelectModes$closure().call$0(); + t3 = state.ui_state.storables; + t4 = t3.edit_modes; + t2.toString; + type$.legacy_BuiltSet_legacy_EditModeChoice._as(t4); + t5 = J.getInterceptor$x(t2); + J.$indexSet$ax(t5.get$props(t2), "EditAndSelectModesProps.edit_modes", t4); + t4 = t3.select_mode_state; + J.$indexSet$ax(t5.get$props(t2), string$.EditAns, t4); + J.$indexSet$ax(t5.get$props(t2), "EditAndSelectModesProps.is_origami", t1 === true); + t3 = t3.show_edit_mode_menu; + J.$indexSet$ax(t5.get$props(t2), string$.EditAne, t3); + return t2; + }, + $signature: 503 + }; + Z.EditAndSelectModesProps.prototype = {$isMap: 1, $isUiProps0: 1, $isUiProps: 1}; + Z.EditAndSelectModesComponent.prototype = { + render$0: function(_) { + var t2, t3, t4, _this = this, _null = null, + _s23_ = "edit-mode-toggle-button", + select_mode = _this._cachedTypedProps.get$edit_modes()._set.contains$1(0, C.EditModeChoice_select) || _this._cachedTypedProps.get$edit_modes()._set.contains$1(0, C.EditModeChoice_rope_select), + t1 = H.setRuntimeTypeInfo([], type$.JSArray_legacy_ReactElement); + if (select_mode && H.boolConversionCheck(_this._cachedTypedProps.get$edit_mode_menu_visible())) { + t2 = D.select_mode___$SelectMode$closure().call$0(); + t3 = _this._cachedTypedProps; + t3 = t3.get$props(t3).$index(0, string$.EditAns); + if (t3 == null) + t3 = _null; + type$.legacy_SelectModeState._as(t3); + t2.toString; + t4 = J.getInterceptor$x(t2); + J.$indexSet$ax(t4.get$props(t2), "SelectModePropsMixin.select_mode_state", t3); + t3 = _this._cachedTypedProps; + t3 = t3.get$props(t3).$index(0, "EditAndSelectModesProps.is_origami"); + t3 = H._asBoolS(t3 == null ? _null : t3); + J.$indexSet$ax(t4.get$props(t2), "SelectModePropsMixin.is_origami", t3); + t4.set$key(t2, "select-modes"); + t1.push(t2.call$0()); + } + if (select_mode && H.boolConversionCheck(_this._cachedTypedProps.get$edit_mode_menu_visible())) { + t2 = A.DomProps$($.$get$div(), _null); + t2.set$className(0, "fixed-vertical-separator"); + t2.set$key(0, "modes-separator"); + t1.push(t2.call$0()); + } + if (H.boolConversionCheck(_this._cachedTypedProps.get$edit_mode_menu_visible())) { + t2 = M.edit_mode___$EditMode$closure().call$0(); + t3 = _this._cachedTypedProps.get$edit_modes(); + t2.toString; + type$.legacy_BuiltSet_legacy_EditModeChoice._as(t3); + t4 = J.getInterceptor$x(t2); + J.$indexSet$ax(t4.get$props(t2), "EditModeProps.modes", t3); + t4.set$key(t2, "edit-modes"); + t1.push(t2.call$0()); + } + t2 = A.DomProps$($.$get$button(), _null); + t2.set$key(0, _s23_); + t2.set$className(0, _s23_); + t2.set$title(0, H.boolConversionCheck(_this._cachedTypedProps.get$edit_mode_menu_visible()) ? "Hide edit mode menu" : "Open edit mode menu"); + t2.set$onClick(0, new Z.EditAndSelectModesComponent_render_closure()); + t3 = A.DomProps$($.$get$img(), _null); + t3.set$className(0, H.boolConversionCheck(_this._cachedTypedProps.get$edit_mode_menu_visible()) ? "" : "appear"); + t3.set$src(0, "images/show_menu.png"); + t1.push(t2.call$1(t3.call$0())); + return t1; + } + }; + Z.EditAndSelectModesComponent_render_closure.prototype = { + call$1: function(_) { + type$.legacy_SyntheticMouseEvent._as(_); + return $.app.dispatch$1(new U._$ShowEditMenuToggle()); + }, + $signature: 3 + }; + Z.$EditAndSelectModesComponentFactory_closure.prototype = { + call$0: function() { + return new Z._$EditAndSelectModesComponent(1, new P._AsyncCompleter(new P._Future($.Zone__current, type$._Future_legacy_int), type$._AsyncCompleter_legacy_int), 0, null); + }, + "call*": "call$0", + $requiredArgCount: 0, + $signature: 504 + }; + Z._$$EditAndSelectModesProps.prototype = { + get$$$isClassGenerated: function() { + return true; + }, + get$componentFactory: function() { + var t1 = this.componentFactory; + return t1 == null ? $.$get$$EditAndSelectModesComponentFactory() : t1; + } + }; + Z._$$EditAndSelectModesProps$PlainMap.prototype = { + get$props: function(_) { + return this._props; + } + }; + Z._$$EditAndSelectModesProps$JsMap.prototype = { + get$props: function(_) { + return this._props; + } + }; + Z._$EditAndSelectModesComponent.prototype = { + get$props: function(_) { + return this._cachedTypedProps; + }, + set$props: function(_, value) { + this.props = value; + this._cachedTypedProps = Z._$$EditAndSelectModesProps$JsMap$(R.getBackingMap(value)); + }, + get$displayName: function(_) { + return "EditAndSelectModes"; + }, + get$$$defaultConsumedProps: function() { + return C.Map_2foCX.get$values(C.Map_2foCX); + } + }; + Z.$EditAndSelectModesProps.prototype = { + get$edit_modes: function() { + var t1 = J.$index$asx(this.get$props(this), "EditAndSelectModesProps.edit_modes"); + if (t1 == null) + t1 = null; + return type$.legacy_BuiltSet_legacy_EditModeChoice._as(t1); + }, + get$edit_mode_menu_visible: function() { + var t1 = J.$index$asx(this.get$props(this), string$.EditAne); + return H._asBoolS(t1 == null ? null : t1); + } + }; + Z._EditAndSelectModesComponent_UiComponent2_RedrawCounterMixin.prototype = { + componentDidUpdate$3: function(_, __, ___) { + var t1, _this = this; + _this.super$Component2$componentDidUpdate(_, __, ___); + t1 = ++_this.RedrawCounterMixin_redrawCount; + if (t1 < _this.RedrawCounterMixin__desiredRedrawCount) + return; + _this.RedrawCounterMixin__didRedraw.complete$1(0, t1); + _this.set$_didRedraw(new P._AsyncCompleter(new P._Future($.Zone__current, type$._Future_legacy_int), type$._AsyncCompleter_legacy_int)); + }, + set$_didRedraw: function(_didRedraw) { + this.RedrawCounterMixin__didRedraw = type$.legacy_Completer_legacy_int._as(_didRedraw); + } + }; + Z.__$$EditAndSelectModesProps_UiProps_EditAndSelectModesProps.prototype = {}; + Z.__$$EditAndSelectModesProps_UiProps_EditAndSelectModesProps_$EditAndSelectModesProps.prototype = {}; + M.EditModeProps.prototype = {$isMap: 1, $isUiProps0: 1, $isUiProps: 1}; + M.EditModeComponent.prototype = { + render$0: function(_) { + var t2, t3, + t1 = A.DomProps$($.$get$div(), null); + t1.set$id(0, "edit-mode"); + t2 = H.setRuntimeTypeInfo([], type$.JSArray_legacy_ReactElement); + for (t3 = $.$get$_$values()._set, t3 = t3.get$iterator(t3); t3.moveNext$0();) + t2.push(this._button_for_choice$1(t3.get$current(t3))); + return t1.call$1(P.List_List$of(t2, true, type$.legacy_ReactElement)); + }, + _button_for_choice$1: function(mode) { + var t2, t3, + t1 = A.DomProps$($.$get$button(), null); + t1.set$onClick(0, new M.EditModeComponent__button_for_choice_closure(mode)); + t2 = this._edit_mode$_cachedTypedProps; + t2 = t2.get$props(t2).$index(0, "EditModeProps.modes"); + if (t2 == null) + t2 = null; + t1.set$className(0, "mode-button " + (type$.legacy_BuiltSet_legacy_EditModeChoice._as(t2)._set.contains$1(0, mode) ? "edit-mode-button-selected" : "edit-mode-button-unselected")); + t1.addTestId$1("scadnano.EditModeComponent.button." + mode.name); + t1.set$title(0, mode.get$tooltip()); + t1.set$key(0, mode.display_name$0()); + t3 = A.DomProps$($.$get$img(), null); + t3.set$src(0, mode.get$image_file()); + return t1.call$2(t3.call$0(), mode.display_name$0()); + } + }; + M.EditModeComponent__button_for_choice_closure.prototype = { + call$1: function(_) { + type$.legacy_SyntheticMouseEvent._as(_); + $.app.dispatch$1(U.EditModeToggle_EditModeToggle(this.mode)); + $.app.dispatch$1(U.SelectionsClear_SelectionsClear()); + }, + $signature: 17 + }; + M.$EditModeComponentFactory_closure.prototype = { + call$0: function() { + return new M._$EditModeComponent(1, new P._AsyncCompleter(new P._Future($.Zone__current, type$._Future_legacy_int), type$._AsyncCompleter_legacy_int), 0, null); + }, + "call*": "call$0", + $requiredArgCount: 0, + $signature: 505 + }; + M._$$EditModeProps.prototype = { + get$$$isClassGenerated: function() { + return true; + }, + get$componentFactory: function() { + var t1 = this.componentFactory; + return t1 == null ? $.$get$$EditModeComponentFactory() : t1; + } + }; + M._$$EditModeProps$PlainMap.prototype = { + get$props: function(_) { + return this._edit_mode$_props; + } + }; + M._$$EditModeProps$JsMap.prototype = { + get$props: function(_) { + return this._edit_mode$_props; + } + }; + M._$EditModeComponent.prototype = { + get$props: function(_) { + return this._edit_mode$_cachedTypedProps; + }, + set$props: function(_, value) { + this.props = value; + this._edit_mode$_cachedTypedProps = M._$$EditModeProps$JsMap$(R.getBackingMap(value)); + }, + get$displayName: function(_) { + return "EditMode"; + }, + get$$$defaultConsumedProps: function() { + return C.Map_bdWrY.get$values(C.Map_bdWrY); + } + }; + M.$EditModeProps.prototype = {}; + M._EditModeComponent_UiComponent2_RedrawCounterMixin.prototype = { + componentDidUpdate$3: function(_, __, ___) { + var t1, _this = this; + _this.super$Component2$componentDidUpdate(_, __, ___); + t1 = ++_this.RedrawCounterMixin_redrawCount; + if (t1 < _this.RedrawCounterMixin__desiredRedrawCount) + return; + _this.RedrawCounterMixin__didRedraw.complete$1(0, t1); + _this.set$_didRedraw(new P._AsyncCompleter(new P._Future($.Zone__current, type$._Future_legacy_int), type$._AsyncCompleter_legacy_int)); + }, + set$_didRedraw: function(_didRedraw) { + this.RedrawCounterMixin__didRedraw = type$.legacy_Completer_legacy_int._as(_didRedraw); + } + }; + M.__$$EditModeProps_UiProps_EditModeProps.prototype = {}; + M.__$$EditModeProps_UiProps_EditModeProps_$EditModeProps.prototype = {}; + L.ErrorMessageComponent.prototype = {}; + V.context_menu_helix_dialog_helix_set_min_offset.prototype = { + call$0: function() { + var $async$goto = 0, + $async$completer = P._makeAsyncAwaitCompleter(type$.void), + $async$returnValue, $async$self = this, results, t2, t3, apply_to_all, min_offset, items, t1; + var $async$call$0 = P._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { + if ($async$errorCode === 1) + return P._asyncRethrow($async$result, $async$completer); + while (true) + switch ($async$goto) { + case 0: + // Function start + items = P.List_List$filled(3, null, false, type$.legacy_DialogItem); + t1 = $async$self.helix; + C.JSArray_methods.$indexSet(items, 0, E.DialogInteger_DialogInteger("minimum", null, t1.min_offset)); + C.JSArray_methods.$indexSet(items, 1, E.DialogCheckbox_DialogCheckbox("set minimum by existing domains", "", false)); + C.JSArray_methods.$indexSet(items, 2, E.DialogCheckbox_DialogCheckbox("apply to all helices", "", $async$self.helix_change_apply_to_all)); + $async$goto = 3; + return P._asyncAwait(E.dialog(E.Dialog_Dialog(C.Set_empty, C.Map_empty2, P.LinkedHashMap_LinkedHashMap$_literal([0, H.setRuntimeTypeInfo([1], type$.JSArray_legacy_int)], type$.legacy_int, type$.legacy_Iterable_legacy_int), C.Map_empty3, items, C.List_empty1, E.dialog_Dialog_identity_function$closure(), "set helix minimum offset", C.DialogType_set_helix_minimum_offset, true)), $async$call$0); + case 3: + // returning from await. + results = $async$result; + if (results == null) { + // goto return + $async$goto = 1; + break; + } + t2 = J.getInterceptor$asx(results); + t3 = type$.legacy_DialogCheckbox; + apply_to_all = t3._as(t2.$index(results, 2)).value; + if (t3._as(t2.$index(results, 1)).value) { + t2 = $.app; + if (apply_to_all) { + type$.legacy_void_Function_legacy_HelixMinOffsetSetByDomainsAllBuilder._as(null); + t2.dispatch$1(new U.HelixMinOffsetSetByDomainsAllBuilder().build$0()); + } else + t2.dispatch$1(U._$HelixMinOffsetSetByDomains$_(t1.idx)); + } else { + min_offset = H._asIntS(type$.legacy_DialogInteger._as(t2.$index(results, 0)).value); + t2 = t1.max_offset; + if (min_offset >= t2) { + C.Window_methods.alert$1(window, "minimum offset must be strictly less than maximum offset " + t2 + ", but you chose minimum offset " + min_offset); + // goto return + $async$goto = 1; + break; + } + t2 = $.app; + if (apply_to_all) + t2.dispatch$1(new U._$HelixOffsetChangeAll(min_offset, null)); + else + t2.dispatch$1(U._$HelixOffsetChange$_(t1.idx, null, min_offset)); + } + case 1: + // return + return P._asyncReturn($async$returnValue, $async$completer); + } + }); + return P._asyncStartSync($async$call$0, $async$completer); + }, + $signature: 6 + }; + V.context_menu_helix_dialog_helix_set_max_offset.prototype = { + call$0: function() { + var $async$goto = 0, + $async$completer = P._makeAsyncAwaitCompleter(type$.void), + $async$returnValue, $async$self = this, results, t2, t3, apply_to_all, max_set_by_domain, take_max_of_all, max_offset, items, t1; + var $async$call$0 = P._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { + if ($async$errorCode === 1) + return P._asyncRethrow($async$result, $async$completer); + while (true) + switch ($async$goto) { + case 0: + // Function start + items = P.List_List$filled(4, null, false, type$.legacy_DialogItem); + t1 = $async$self.helix; + C.JSArray_methods.$indexSet(items, 0, E.DialogInteger_DialogInteger("maximum", null, t1.max_offset)); + C.JSArray_methods.$indexSet(items, 1, E.DialogCheckbox_DialogCheckbox("set maximum by existing domains", "", false)); + C.JSArray_methods.$indexSet(items, 2, E.DialogCheckbox_DialogCheckbox("apply to all helices", "", $async$self.helix_change_apply_to_all)); + C.JSArray_methods.$indexSet(items, 3, E.DialogCheckbox_DialogCheckbox("give all same max", "", false)); + $async$goto = 3; + return P._asyncAwait(E.dialog(E.Dialog_Dialog(C.Set_empty, C.Map_empty2, P.LinkedHashMap_LinkedHashMap$_literal([0, H.setRuntimeTypeInfo([1], type$.JSArray_legacy_int)], type$.legacy_int, type$.legacy_Iterable_legacy_int), C.Map_empty3, items, C.List_empty1, E.dialog_Dialog_identity_function$closure(), "set helix maximum offset", C.DialogType_set_helix_maximum_offset, true)), $async$call$0); + case 3: + // returning from await. + results = $async$result; + if (results == null) { + // goto return + $async$goto = 1; + break; + } + t2 = J.getInterceptor$asx(results); + t3 = type$.legacy_DialogCheckbox; + apply_to_all = t3._as(t2.$index(results, 2)).value; + max_set_by_domain = t3._as(t2.$index(results, 1)).value; + take_max_of_all = t3._as(t2.$index(results, 3)).value; + if (max_set_by_domain) + if (apply_to_all) { + t1 = $.app; + if (take_max_of_all) { + type$.legacy_void_Function_legacy_HelixMaxOffsetSetByDomainsAllSameMaxBuilder._as(null); + t1.dispatch$1(new U.HelixMaxOffsetSetByDomainsAllSameMaxBuilder().build$0()); + } else { + type$.legacy_void_Function_legacy_HelixMaxOffsetSetByDomainsAllBuilder._as(null); + t1.dispatch$1(new U.HelixMaxOffsetSetByDomainsAllBuilder().build$0()); + } + } else + $.app.dispatch$1(U._$HelixMaxOffsetSetByDomains$_(t1.idx)); + else { + max_offset = H._asIntS(type$.legacy_DialogInteger._as(t2.$index(results, 0)).value); + t2 = t1.min_offset; + if (t2 >= max_offset) { + C.Window_methods.alert$1(window, "minimum offset " + t2 + " must be strictly less than maximum offset, but you chose maximum offset " + max_offset); + // goto return + $async$goto = 1; + break; + } + t2 = $.app; + if (apply_to_all) + t2.dispatch$1(new U._$HelixOffsetChangeAll(null, max_offset)); + else + t2.dispatch$1(U._$HelixOffsetChange$_(t1.idx, max_offset, null)); + } + case 1: + // return + return P._asyncReturn($async$returnValue, $async$completer); + } + }); + return P._asyncStartSync($async$call$0, $async$completer); + }, + $signature: 6 + }; + V.context_menu_helix_dialog_helix_set_idx.prototype = { + call$0: function() { + var $async$goto = 0, + $async$completer = P._makeAsyncAwaitCompleter(type$.void), + $async$returnValue, $async$self = this, new_idx, t2, t1, results; + var $async$call$0 = P._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { + if ($async$errorCode === 1) + return P._asyncRethrow($async$result, $async$completer); + while (true) + switch ($async$goto) { + case 0: + // Function start + t1 = $async$self.helix.idx; + $async$goto = 3; + return P._asyncAwait(E.dialog(E.Dialog_Dialog(C.Set_empty, C.Map_empty2, C.Map_empty2, C.Map_empty3, H.setRuntimeTypeInfo([E.DialogInteger_DialogInteger("new index", null, t1)], type$.JSArray_legacy_DialogItem), C.List_empty1, E.dialog_Dialog_identity_function$closure(), "set helix index", C.DialogType_set_helix_index, false)), $async$call$0); + case 3: + // returning from await. + results = $async$result; + if (results == null) { + // goto return + $async$goto = 1; + break; + } + new_idx = H._asIntS(type$.legacy_DialogInteger._as(J.$index$asx(results, 0)).value); + t2 = type$.legacy_int; + $.app.dispatch$1(U.HelixIdxsChange_HelixIdxsChange(P.LinkedHashMap_LinkedHashMap$_literal([t1, new_idx], t2, t2))); + case 1: + // return + return P._asyncReturn($async$returnValue, $async$completer); + } + }); + return P._asyncStartSync($async$call$0, $async$completer); + }, + $signature: 6 + }; + V.context_menu_helix_dialog_helix_set_roll.prototype = { + call$0: function() { + var $async$goto = 0, + $async$completer = P._makeAsyncAwaitCompleter(type$.void), + $async$returnValue, $async$self = this, roll, t1, helix_idx, results; + var $async$call$0 = P._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { + if ($async$errorCode === 1) + return P._asyncRethrow($async$result, $async$completer); + while (true) + switch ($async$goto) { + case 0: + // Function start + t1 = $async$self.helix; + helix_idx = t1.idx; + $async$goto = 3; + return P._asyncAwait(E.dialog(E.Dialog_Dialog(C.Set_empty, C.Map_empty2, C.Map_empty2, C.Map_empty3, H.setRuntimeTypeInfo([E.DialogFloat_DialogFloat("roll", t1.roll)], type$.JSArray_legacy_DialogItem), C.List_empty1, E.dialog_Dialog_identity_function$closure(), "set helix roll (degrees)", C.DialogType_set_helix_roll_degrees, false)), $async$call$0); + case 3: + // returning from await. + results = $async$result; + if (results == null) { + // goto return + $async$goto = 1; + break; + } + roll = C.JSNumber_methods.$mod(type$.legacy_DialogFloat._as(J.$index$asx(results, 0)).value, 360); + $.app.dispatch$1(U._$HelixRollSet$_(helix_idx, roll)); + case 1: + // return + return P._asyncReturn($async$returnValue, $async$completer); + } + }); + return P._asyncStartSync($async$call$0, $async$completer); + }, + $signature: 6 + }; + V.context_menu_helix_dialog_helix_set_major_tick_marks.prototype = { + call$0: function() { + var $async$goto = 0, + $async$completer = P._makeAsyncAwaitCompleter(type$.void), + $async$returnValue, $async$self = this, default_regular_distance, default_periodic_distances, t2, t3, items, t4, results, t5, use_major_tick_distance, use_major_tick_periodic_distances, use_major_ticks, apply_to_all, apply_to_some, major_tick_periodic_distances, major_tick_start, major_ticks, major_tick_distance, action, helix_idxs, all_actions, _i, this_helix_idx, t6, t1, helix_idx, grid, default_start; + var $async$call$0 = P._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { + if ($async$errorCode === 1) + return P._asyncRethrow($async$result, $async$completer); + while (true) + switch ($async$goto) { + case 0: + // Function start + t1 = $async$self.helix; + helix_idx = t1.idx; + grid = t1.grid; + default_start = t1.major_tick_start; + if (t1.get$has_major_tick_distance()) { + default_regular_distance = t1.get$major_tick_distance(); + default_periodic_distances = H.setRuntimeTypeInfo([default_regular_distance], type$.JSArray_legacy_int); + } else if (t1.get$has_major_tick_periodic_distances()) { + t2 = t1.major_tick_periodic_distances; + t3 = t2._list; + default_regular_distance = J.get$first$ax(t3); + default_periodic_distances = new Q.CopyOnWriteList(true, t3, H._instanceType(t2)._eval$1("CopyOnWriteList<1>")); + } else { + default_regular_distance = grid.get$default_major_tick_distance(); + default_periodic_distances = H.setRuntimeTypeInfo([default_regular_distance], type$.JSArray_legacy_int); + } + items = P.List_List$filled(10, null, false, type$.legacy_DialogItem); + C.JSArray_methods.$indexSet(items, 0, E.DialogCheckbox_DialogCheckbox("regular spacing", "", t1.get$has_major_tick_distance())); + C.JSArray_methods.$indexSet(items, 1, E.DialogInteger_DialogInteger("regular distance", null, default_regular_distance)); + C.JSArray_methods.$indexSet(items, 2, E.DialogInteger_DialogInteger("starting major tick", null, default_start)); + C.JSArray_methods.$indexSet(items, 3, E.DialogCheckbox_DialogCheckbox("periodic spacing", "", t1.get$has_major_tick_periodic_distances())); + C.JSArray_methods.$indexSet(items, 4, E.DialogText_DialogText("periodic distances", null, J.join$1$ax(default_periodic_distances, " "))); + C.JSArray_methods.$indexSet(items, 5, E.DialogCheckbox_DialogCheckbox("explicit list of major tick spacing", "", t1.get$has_major_ticks())); + t2 = t1.major_ticks; + C.JSArray_methods.$indexSet(items, 6, E.DialogText_DialogText("distances (space-separated)", null, t2 == null ? "" : C.JSArray_methods.join$1(E.deltas(t2), " "))); + t2 = $async$self.helix_change_apply_to_all; + C.JSArray_methods.$indexSet(items, 7, E.DialogCheckbox_DialogCheckbox("apply to all", "", t2)); + C.JSArray_methods.$indexSet(items, 8, E.DialogCheckbox_DialogCheckbox("apply to some", "", t2)); + C.JSArray_methods.$indexSet(items, 9, E.DialogText_DialogText("helices (space-separated)", null, "")); + t2 = type$.JSArray_legacy_int; + t3 = type$.legacy_int; + t4 = type$.legacy_Iterable_legacy_int; + $async$goto = 3; + return P._asyncAwait(E.dialog(E.Dialog_Dialog(C.Set_empty, P.LinkedHashMap_LinkedHashMap$_literal([1, H.setRuntimeTypeInfo([0], t2), 4, H.setRuntimeTypeInfo([3], t2), 6, H.setRuntimeTypeInfo([5], t2)], t3, t4), P.LinkedHashMap_LinkedHashMap$_literal([2, H.setRuntimeTypeInfo([5], t2)], t3, t4), C.Map_empty3, items, H.setRuntimeTypeInfo([H.setRuntimeTypeInfo([0, 3, 5], t2), H.setRuntimeTypeInfo([7, 8], t2)], type$.JSArray_legacy_Iterable_legacy_int), E.dialog_Dialog_identity_function$closure(), "set helix tick marks", C.DialogType_set_helix_tick_marks, true)), $async$call$0); + case 3: + // returning from await. + results = $async$result; + if (results == null) { + // goto return + $async$goto = 1; + break; + } + t4 = J.getInterceptor$asx(results); + t5 = type$.legacy_DialogCheckbox; + use_major_tick_distance = t5._as(t4.$index(results, 0)).value; + use_major_tick_periodic_distances = t5._as(t4.$index(results, 3)).value; + use_major_ticks = t5._as(t4.$index(results, 5)).value; + if (!(use_major_tick_distance || use_major_tick_periodic_distances || use_major_ticks)) { + // goto return + $async$goto = 1; + break; + } + apply_to_all = t5._as(t4.$index(results, 7)).value; + apply_to_some = t5._as(t4.$index(results, 8)).value; + major_tick_periodic_distances = H.setRuntimeTypeInfo([], t2); + t2 = type$.legacy_DialogInteger; + major_tick_start = H._asIntS(t2._as(t4.$index(results, 2)).value); + t5 = t1.min_offset; + if (major_tick_start < t5) { + C.Window_methods.alert$1(window, "" + major_tick_start + " is not a valid major tick because it is less than the \nminimum offset " + t5 + " of helix " + t5 + "."); + // goto return + $async$goto = 1; + break; + } + if (use_major_ticks) { + major_ticks = V.parse_major_ticks_and_check_validity(type$.legacy_DialogText._as(t4.$index(results, 6)).value, t1, apply_to_all); + if (major_ticks == null) { + // goto return + $async$goto = 1; + break; + } + major_tick_distance = null; + } else { + if (use_major_tick_distance) { + major_tick_distance = H._asIntS(t2._as(t4.$index(results, 1)).value); + if (major_tick_distance <= 0) { + C.Window_methods.alert$1(window, "" + major_tick_distance + string$.x20is_no); + // goto return + $async$goto = 1; + break; + } + } else { + if (use_major_tick_periodic_distances) { + major_tick_periodic_distances = V.parse_major_tick_distances_and_check_validity(type$.legacy_DialogText._as(t4.$index(results, 4)).value); + if (major_tick_periodic_distances == null) { + // goto return + $async$goto = 1; + break; + } + } else + throw H.wrapException(P.AssertionError$("should not be reachable")); + major_tick_distance = null; + } + major_ticks = null; + } + if (apply_to_all) + if (use_major_tick_distance) + action = U.BatchAction_BatchAction(H.setRuntimeTypeInfo([U._$HelixMajorTickDistanceChangeAll$_(major_tick_distance), U._$HelixMajorTickStartChangeAll$_(major_tick_start)], type$.JSArray_legacy_UndoableAction), "set helix tick marks"); + else if (use_major_tick_periodic_distances) + action = U.BatchAction_BatchAction(H.setRuntimeTypeInfo([U._$HelixMajorTickPeriodicDistancesChangeAll$_(D._BuiltList$of(major_tick_periodic_distances, t3)), U._$HelixMajorTickStartChangeAll$_(major_tick_start)], type$.JSArray_legacy_UndoableAction), "set helix tick marks"); + else if (use_major_ticks) + action = U._$HelixMajorTicksChangeAll$_(D._BuiltList$of(major_ticks, t3)); + else + throw H.wrapException(P.AssertionError$("should not be reachable")); + else if (apply_to_some) { + helix_idxs = V.parse_helix_idxs_and_check_validity(type$.legacy_DialogText._as(t4.$index(results, 9)).value); + t1 = type$.JSArray_legacy_UndoableAction; + all_actions = H.setRuntimeTypeInfo([], t1); + for (t2 = helix_idxs.length, t4 = type$._BuiltList_legacy_int, t5 = major_tick_distance == null, _i = 0; _i < helix_idxs.length; helix_idxs.length === t2 || (0, H.throwConcurrentModificationError)(helix_idxs), ++_i) { + this_helix_idx = helix_idxs[_i]; + if (use_major_tick_distance) { + if (t5) + H.throwExpression(Y.BuiltValueNullFieldError$("HelixMajorTickDistanceChange", "major_tick_distance")); + C.JSArray_methods.addAll$1(all_actions, H.setRuntimeTypeInfo([new U._$HelixMajorTickDistanceChange(this_helix_idx, major_tick_distance), new U._$HelixMajorTickStartChange(this_helix_idx, major_tick_start)], t1)); + } else if (use_major_tick_periodic_distances) { + t6 = new D._BuiltList(P.List_List$from(major_tick_periodic_distances, false, t3), t4); + t6._maybeCheckForNull$0(); + C.JSArray_methods.addAll$1(all_actions, H.setRuntimeTypeInfo([new U._$HelixMajorTickPeriodicDistancesChange(this_helix_idx, t6), new U._$HelixMajorTickStartChange(this_helix_idx, major_tick_start)], t1)); + } else if (use_major_ticks) { + t6 = new D._BuiltList(P.List_List$from(major_ticks, false, t3), t4); + t6._maybeCheckForNull$0(); + C.JSArray_methods.add$1(all_actions, new U._$HelixMajorTicksChange(this_helix_idx, t6)); + } else + throw H.wrapException(P.AssertionError$("should not be reachable")); + } + action = U.BatchAction_BatchAction(all_actions, "set helix tick marks"); + } else if (use_major_tick_distance) + action = U.BatchAction_BatchAction(H.setRuntimeTypeInfo([U._$HelixMajorTickDistanceChange$_(helix_idx, major_tick_distance), U._$HelixMajorTickStartChange$_(helix_idx, major_tick_start)], type$.JSArray_legacy_UndoableAction), "set helix tick marks"); + else if (use_major_tick_periodic_distances) + action = U.BatchAction_BatchAction(H.setRuntimeTypeInfo([U._$HelixMajorTickPeriodicDistancesChange$_(helix_idx, D._BuiltList$of(major_tick_periodic_distances, t3)), U._$HelixMajorTickStartChange$_(helix_idx, major_tick_start)], type$.JSArray_legacy_UndoableAction), "set helix tick marks"); + else if (use_major_ticks) + action = U._$HelixMajorTicksChange$_(helix_idx, D._BuiltList$of(major_ticks, t3)); + else + throw H.wrapException(P.AssertionError$("should not be reachable")); + $.app.dispatch$1(action); + case 1: + // return + return P._asyncReturn($async$returnValue, $async$completer); + } + }); + return P._asyncStartSync($async$call$0, $async$completer); + }, + $signature: 6 + }; + V.context_menu_helix_dialog_helix_set_grid_position.prototype = { + call$0: function() { + var $async$goto = 0, + $async$completer = P._makeAsyncAwaitCompleter(type$.void), + $async$returnValue, $async$self = this, results, t2, t3, h, v, t1, grid_position; + var $async$call$0 = P._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { + if ($async$errorCode === 1) + return P._asyncRethrow($async$result, $async$completer); + while (true) + switch ($async$goto) { + case 0: + // Function start + t1 = $async$self.helix; + grid_position = t1.grid_position; + if (grid_position == null) + grid_position = D.GridPosition_GridPosition(0, 0); + $async$goto = 3; + return P._asyncAwait(E.dialog(E.Dialog_Dialog(C.Set_empty, C.Map_empty2, C.Map_empty2, C.Map_empty3, H.setRuntimeTypeInfo([E.DialogInteger_DialogInteger("h", null, grid_position.h), E.DialogInteger_DialogInteger("v", null, grid_position.v)], type$.JSArray_legacy_DialogItem), C.List_empty1, E.dialog_Dialog_identity_function$closure(), "set helix grid position", C.DialogType_set_helix_grid_position, false)), $async$call$0); + case 3: + // returning from await. + results = $async$result; + if (results == null) { + // goto return + $async$goto = 1; + break; + } + t2 = J.getInterceptor$asx(results); + t3 = type$.legacy_DialogInteger; + h = t3._as(t2.$index(results, 0)).value; + v = t3._as(t2.$index(results, 1)).value; + $.app.dispatch$1(U._$HelixGridPositionSet$_(D.GridPosition_GridPosition(H._asIntS(h), H._asIntS(v)), t1)); + case 1: + // return + return P._asyncReturn($async$returnValue, $async$completer); + } + }); + return P._asyncStartSync($async$call$0, $async$completer); + }, + $signature: 6 + }; + V.context_menu_helix_dialog_helix_set_position.prototype = { + call$0: function() { + var $async$goto = 0, + $async$completer = P._makeAsyncAwaitCompleter(type$.void), + $async$returnValue, $async$self = this, t2, t3, x, y, z, t1, position, results; + var $async$call$0 = P._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { + if ($async$errorCode === 1) + return P._asyncRethrow($async$result, $async$completer); + while (true) + switch ($async$goto) { + case 0: + // Function start + t1 = $async$self.helix; + position = t1.get$position(t1); + $async$goto = 3; + return P._asyncAwait(E.dialog(E.Dialog_Dialog(C.Set_empty, C.Map_empty2, C.Map_empty2, C.Map_empty3, H.setRuntimeTypeInfo([E.DialogFloat_DialogFloat("x", position.x), E.DialogFloat_DialogFloat("y", position.y), E.DialogFloat_DialogFloat("z", position.z)], type$.JSArray_legacy_DialogItem), C.List_empty1, E.dialog_Dialog_identity_function$closure(), "set helix position", C.DialogType_set_helix_position, false)), $async$call$0); + case 3: + // returning from await. + results = $async$result; + if (results == null) { + // goto return + $async$goto = 1; + break; + } + t2 = J.getInterceptor$asx(results); + t3 = type$.legacy_DialogFloat; + x = t3._as(t2.$index(results, 0)).value; + y = t3._as(t2.$index(results, 1)).value; + z = t3._as(t2.$index(results, 2)).value; + $.app.dispatch$1(U._$HelixPositionSet$_(t1.idx, X.Position3D_Position3D(x, y, z))); + case 1: + // return + return P._asyncReturn($async$returnValue, $async$completer); + } + }); + return P._asyncStartSync($async$call$0, $async$completer); + }, + $signature: 6 + }; + V.context_menu_helix_dialog_helix_set_group.prototype = { + call$0: function() { + var $async$goto = 0, + $async$completer = P._makeAsyncAwaitCompleter(type$.void), + $async$returnValue, $async$self = this, group_names, selected_helix_idxs, t2, other_group_names, existing_group_name, results, move_action, t1; + var $async$call$0 = P._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { + if ($async$errorCode === 1) + return P._asyncRethrow($async$result, $async$completer); + while (true) + switch ($async$goto) { + case 0: + // Function start + t1 = $.app.store; + t1 = t1.get$state(t1).design.groups; + group_names = t1.get$keys(t1); + t1 = $async$self.helix; + selected_helix_idxs = H.setRuntimeTypeInfo([t1.idx], type$.JSArray_legacy_int); + t2 = $.app.store; + C.JSArray_methods.addAll$1(selected_helix_idxs, t2.get$state(t2).ui_state.storables.side_selected_helix_idxs); + other_group_names = J.toList$0$ax(group_names); + existing_group_name = t1.group; + J.remove$1$ax(other_group_names, existing_group_name); + $async$goto = 3; + return P._asyncAwait(E.dialog(E.Dialog_Dialog(C.Set_empty, C.Map_empty2, C.Map_empty2, C.Map_empty3, H.setRuntimeTypeInfo([E.DialogRadio_DialogRadio("new group", null, other_group_names, false, 0, null)], type$.JSArray_legacy_DialogItem), C.List_empty1, E.dialog_Dialog_identity_function$closure(), "move selected helices to group", C.DialogType_move_selected_helices_to_group, true)), $async$call$0); + case 3: + // returning from await. + results = $async$result; + if (results == null) { + // goto return + $async$goto = 1; + break; + } + t1 = type$.legacy_DialogRadio._as(J.$index$asx(results, 0)); + t2 = t1.options; + t1 = t1.selected_idx; + move_action = U._$MoveHelicesToGroup$_(J.$index$asx(t2._list, t1), D._BuiltList$of(selected_helix_idxs, type$.legacy_int)); + $.app.dispatch$1(move_action); + case 1: + // return + return P._asyncReturn($async$returnValue, $async$completer); + } + }); + return P._asyncStartSync($async$call$0, $async$completer); + }, + $signature: 6 + }; + V.context_menu_helix_helix_set_min_offset.prototype = { + call$0: function() { + $.app.disable_keyboard_shortcuts_while$1$1(this.dialog_helix_set_min_offset, type$.void); + }, + $signature: 12 + }; + V.context_menu_helix_helix_set_max_offset.prototype = { + call$0: function() { + $.app.disable_keyboard_shortcuts_while$1$1(this.dialog_helix_set_max_offset, type$.void); + }, + $signature: 12 + }; + V.context_menu_helix_helix_set_idx.prototype = { + call$0: function() { + $.app.disable_keyboard_shortcuts_while$1$1(this.dialog_helix_set_idx, type$.void); + }, + $signature: 12 + }; + V.context_menu_helix_helix_set_major_tick_marks.prototype = { + call$0: function() { + $.app.disable_keyboard_shortcuts_while$1$1(this.dialog_helix_set_major_tick_marks, type$.void); + }, + $signature: 12 + }; + V.context_menu_helix_helix_set_roll.prototype = { + call$0: function() { + $.app.disable_keyboard_shortcuts_while$1$1(this.dialog_helix_set_roll, type$.void); + }, + $signature: 12 + }; + V.context_menu_helix_helix_set_position.prototype = { + call$0: function() { + $.app.disable_keyboard_shortcuts_while$1$1(this.dialog_helix_set_position, type$.void); + }, + $signature: 12 + }; + V.context_menu_helix_helix_set_grid_position.prototype = { + call$0: function() { + $.app.disable_keyboard_shortcuts_while$1$1(this.dialog_helix_set_grid_position, type$.void); + }, + $signature: 12 + }; + V.context_menu_helix_helix_set_group.prototype = { + call$0: function() { + $.app.disable_keyboard_shortcuts_while$1$1(this.dialog_helix_set_group, type$.void); + }, + $signature: 12 + }; + V.parse_major_ticks_and_check_validity_closure.prototype = { + call$1: function(token) { + return H._asStringS(token).length !== 0; + }, + $signature: 48 + }; + V.parse_major_ticks_and_check_validity_closure0.prototype = { + call$1: function(t) { + H._asIntS(t); + if (typeof t !== "number") + return t.$lt(); + return t < this.helix.min_offset; + }, + $signature: 23 + }; + V.parse_major_ticks_and_check_validity_closure1.prototype = { + call$0: function() { + return null; + }, + $signature: 12 + }; + V.parse_major_ticks_and_check_validity_closure2.prototype = { + call$1: function(t) { + var t1; + H._asIntS(t); + t1 = this.other_helix.min_offset; + if (typeof t !== "number") + return t.$lt(); + return t < t1; + }, + $signature: 23 + }; + V.parse_major_ticks_and_check_validity_closure3.prototype = { + call$0: function() { + return null; + }, + $signature: 12 + }; + V.parse_major_tick_distances_and_check_validity_closure.prototype = { + call$1: function(token) { + return H._asStringS(token).length !== 0; + }, + $signature: 48 + }; + V.parse_helix_idxs_and_check_validity_closure.prototype = { + call$1: function(token) { + return H._asStringS(token).length !== 0; + }, + $signature: 48 + }; + O.ConnectedHelixGroupMoving_closure.prototype = { + call$2: function(helix_group_move, props) { + var t1; + type$.legacy_HelixGroupMove._as(helix_group_move); + type$.legacy_HelixGroupMovingProps._as(props); + t1 = O.helix_group_moving___$HelixGroupMoving$closure().call$0(); + t1.toString; + J.$indexSet$ax(J.get$props$x(t1), "HelixGroupMovingProps.helix_group_move", helix_group_move); + return t1; + }, + "call*": "call$2", + $requiredArgCount: 2, + $signature: 506 + }; + O.HelixGroupMovingProps.prototype = {$isMap: 1, $isUiProps0: 1, $isUiProps: 1}; + O.HelixGroupMovingComponent.prototype = { + render$0: function(_) { + var t1, t2, only_display_selected_helices, children, t3, t4, t5, t6, t7, helix, t8, t9, new_position, new_group, transform, _this = this, _null = null; + if (_this._helix_group_moving$_cachedTypedProps.get$helix_group_move() == null || J.get$isEmpty$asx(_this._helix_group_moving$_cachedTypedProps.get$helix_group_move().helices._map$_map)) + return _null; + t1 = _this._helix_group_moving$_cachedTypedProps; + t1 = t1.get$props(t1).$index(0, string$.HelixGs); + if (t1 == null) + t1 = _null; + type$.legacy_BuiltSet_legacy_int._as(t1); + t2 = _this._helix_group_moving$_cachedTypedProps; + t2 = t2.get$props(t2).$index(0, string$.HelixGo); + only_display_selected_helices = H._asBoolS(t2 == null ? _null : t2); + if (J.get$isEmpty$asx(_this._helix_group_moving$_cachedTypedProps.get$helix_group_move().get$helix_idxs_in_group()._list)) + return _null; + children = []; + for (t2 = J.get$iterator$ax(_this._helix_group_moving$_cachedTypedProps.get$helix_group_move().get$helix_idxs_in_group()._list), t3 = type$.legacy_HelixGroupMove, t4 = type$.legacy_BuiltMap_of_legacy_int_and_legacy_Point_legacy_num, t5 = type$.legacy_Point_legacy_num; t2.moveNext$0();) { + t6 = t2.get$current(t2); + t7 = _this._helix_group_moving$_cachedTypedProps; + t7 = t7.get$props(t7).$index(0, "HelixGroupMovingProps.helix_group_move"); + helix = J.$index$asx(t3._as(t7 == null ? _null : t7).helices._map$_map, t6); + H.boolConversionCheck(only_display_selected_helices); + if (only_display_selected_helices) { + t6 = helix.idx; + t6 = t1._set.contains$1(0, t6); + } else + t6 = false; + if (t6 || !only_display_selected_helices) { + t6 = T.design_main_helix___$DesignMainHelix$closure().call$0(); + t6.toString; + t7 = J.getInterceptor$x(t6); + J.$indexSet$ax(t7.get$props(t6), "DesignMainHelixProps.helix", helix); + t8 = helix.idx; + t9 = t1._set.contains$1(0, t8); + J.$indexSet$ax(t7.get$props(t6), "DesignMainHelixProps.selected", t9); + J.$indexSet$ax(t7.get$props(t6), "DesignMainHelixProps.show_dna", false); + t9 = _this._helix_group_moving$_cachedTypedProps; + t9 = t9.get$props(t9).$index(0, "HelixGroupMovingProps.show_helix_circles"); + t9 = H._asBoolS(t9 == null ? _null : t9); + J.$indexSet$ax(t7.get$props(t6), "DesignMainHelixProps.show_helix_circles", t9); + J.$indexSet$ax(t7.get$props(t6), string$.DesignMHxh, false); + J.$indexSet$ax(t7.get$props(t6), string$.DesignMHxdb, false); + J.$indexSet$ax(t7.get$props(t6), string$.DesignMHxdm, false); + t9 = _this._helix_group_moving$_cachedTypedProps; + t9 = t9.get$props(t9).$index(0, string$.HelixGh); + t9 = t5._as(J.$index$asx(t4._as(t9 == null ? _null : t9)._map$_map, t8)); + J.$indexSet$ax(t7.get$props(t6), "DesignMainHelixProps.helix_svg_position", t9); + t8 = C.JSInt_methods.toString$0(t8); + t7 = t7.get$props(t6); + J.$indexSet$ax(t7, "key", t8); + children.push(t6.call$0()); + } + } + new_position = _this._helix_group_moving$_cachedTypedProps.get$helix_group_move().get$current_position(); + new_group = _this._helix_group_moving$_cachedTypedProps.get$helix_group_move().group.rebuild$1(new O.HelixGroupMovingComponent_render_closure(new_position)); + t1 = _this._helix_group_moving$_cachedTypedProps.get$helix_group_move(); + transform = new_group.transform_str$1(t1.get$geometry(t1)); + t1 = A.SvgProps$($.$get$g(), _null); + t1.set$className(0, "helix-group-moving-" + _this._helix_group_moving$_cachedTypedProps.get$helix_group_move().group_name); + t1.set$transform(0, transform); + t1.set$key(0, _this._helix_group_moving$_cachedTypedProps.get$helix_group_move().group_name); + return t1.call$1(children); + } + }; + O.HelixGroupMovingComponent_render_closure.prototype = { + call$1: function(b) { + var t1 = b.get$position(b); + t1._position3d$_$v = this.new_position; + return b; + }, + $signature: 26 + }; + O.$HelixGroupMovingComponentFactory_closure.prototype = { + call$0: function() { + return new O._$HelixGroupMovingComponent(null); + }, + "call*": "call$0", + $requiredArgCount: 0, + $signature: 507 + }; + O._$$HelixGroupMovingProps.prototype = { + get$$$isClassGenerated: function() { + return true; + }, + get$componentFactory: function() { + var t1 = this.componentFactory; + return t1 == null ? $.$get$$HelixGroupMovingComponentFactory() : t1; + } + }; + O._$$HelixGroupMovingProps$PlainMap.prototype = { + get$props: function(_) { + return this._helix_group_moving$_props; + } + }; + O._$$HelixGroupMovingProps$JsMap.prototype = { + get$props: function(_) { + return this._helix_group_moving$_props; + } + }; + O._$HelixGroupMovingComponent.prototype = { + get$props: function(_) { + return this._helix_group_moving$_cachedTypedProps; + }, + set$props: function(_, value) { + this.props = value; + this._helix_group_moving$_cachedTypedProps = O._$$HelixGroupMovingProps$JsMap$(R.getBackingMap(value)); + }, + get$displayName: function(_) { + return "HelixGroupMoving"; + }, + get$$$defaultConsumedProps: function() { + return C.Map_cKPcW.get$values(C.Map_cKPcW); + } + }; + O.$HelixGroupMovingProps.prototype = { + get$helix_group_move: function() { + var t1 = J.$index$asx(this.get$props(this), "HelixGroupMovingProps.helix_group_move"); + if (t1 == null) + t1 = null; + return type$.legacy_HelixGroupMove._as(t1); + } + }; + O._HelixGroupMovingComponent_UiComponent2_PureComponent.prototype = {}; + O.__$$HelixGroupMovingProps_UiProps_HelixGroupMovingProps.prototype = {}; + O.__$$HelixGroupMovingProps_UiProps_HelixGroupMovingProps_$HelixGroupMovingProps.prototype = {}; + D.ConnectedMenu_closure.prototype = { + call$1: function(state) { + var t1, t2, t3, t4, t5, t6, t7; + type$.legacy_AppState._as(state); + t1 = D.menu___$Menu$closure().call$0(); + t2 = state.ui_state; + t3 = t2.selectables_store.get$selected_dna_ends(); + t1.toString; + type$.legacy_BuiltSet_legacy_DNAEnd._as(t3); + t4 = J.getInterceptor$x(t1); + J.$indexSet$ax(t4.get$props(t1), "MenuPropsMixin.selected_ends", t3); + t3 = state.design; + t5 = t3 == null; + t6 = t5 ? null : t3.geometry; + J.$indexSet$ax(t4.get$props(t1), "MenuPropsMixin.geometry", t6); + if (t5) + t6 = false; + else { + t6 = t3.groups; + t6 = J.every$1$ax(t6.get$values(t6), new D.ConnectedMenu__closure()); + } + J.$indexSet$ax(t4.get$props(t1), "MenuPropsMixin.no_grid_is_none", t6); + t6 = t2.storables; + t7 = t6.show_oxview; + J.$indexSet$ax(t4.get$props(t1), "MenuPropsMixin.show_oxview", t7); + t7 = t6.show_dna; + J.$indexSet$ax(t4.get$props(t1), "MenuPropsMixin.show_dna", t7); + t7 = t6.base_pair_display_type; + J.$indexSet$ax(t4.get$props(t1), "MenuPropsMixin.base_pair_display_type", t7); + t7 = t6.show_strand_names; + J.$indexSet$ax(t4.get$props(t1), "MenuPropsMixin.show_strand_names", t7); + t7 = t6.show_strand_labels; + J.$indexSet$ax(t4.get$props(t1), "MenuPropsMixin.show_strand_labels", t7); + t7 = t6.show_domain_names; + J.$indexSet$ax(t4.get$props(t1), "MenuPropsMixin.show_domain_names", t7); + t7 = t6.show_domain_labels; + J.$indexSet$ax(t4.get$props(t1), "MenuPropsMixin.show_domain_labels", t7); + t7 = t6.strand_name_font_size; + J.$indexSet$ax(t4.get$props(t1), "MenuPropsMixin.strand_name_font_size", t7); + t7 = t6.strand_label_font_size; + J.$indexSet$ax(t4.get$props(t1), "MenuPropsMixin.strand_label_font_size", t7); + t7 = t6.domain_name_font_size; + J.$indexSet$ax(t4.get$props(t1), "MenuPropsMixin.domain_name_font_size", t7); + t7 = t6.domain_label_font_size; + J.$indexSet$ax(t4.get$props(t1), "MenuPropsMixin.domain_label_font_size", t7); + t7 = t6.show_modifications; + J.$indexSet$ax(t4.get$props(t1), "MenuPropsMixin.show_modifications", t7); + t7 = t6.show_mismatches; + J.$indexSet$ax(t4.get$props(t1), "MenuPropsMixin.show_mismatches", t7); + t7 = t6.show_domain_name_mismatches; + J.$indexSet$ax(t4.get$props(t1), string$.MenuPrshd, t7); + t7 = t6.show_unpaired_insertion_deletions; + J.$indexSet$ax(t4.get$props(t1), string$.MenuPrshu, t7); + t7 = t6.strand_paste_keep_color; + J.$indexSet$ax(t4.get$props(t1), "MenuPropsMixin.strand_paste_keep_color", t7); + t7 = t6.zoom_speed; + J.$indexSet$ax(t4.get$props(t1), "MenuPropsMixin.zoom_speed", t7); + t7 = t6.autofit; + J.$indexSet$ax(t4.get$props(t1), "MenuPropsMixin.autofit", t7); + t7 = t6.only_display_selected_helices; + J.$indexSet$ax(t4.get$props(t1), string$.MenuPron, t7); + t7 = t6.show_base_pair_lines; + J.$indexSet$ax(t4.get$props(t1), "MenuPropsMixin.show_base_pair_lines", t7); + t7 = t6.show_base_pair_lines_with_mismatches; + J.$indexSet$ax(t4.get$props(t1), string$.MenuPrshb, t7); + t2 = t2.example_designs; + J.$indexSet$ax(t4.get$props(t1), "MenuPropsMixin.example_designs", t2); + if (t5) + t2 = null; + else { + t2 = t3.__has_insertions_or_deletions; + if (t2 == null) { + t2 = N.Design.prototype.get$has_insertions_or_deletions.call(t3); + t3.__has_insertions_or_deletions = t2; + } + } + J.$indexSet$ax(t4.get$props(t1), string$.MenuPrdes, t2 === true); + t2 = state.undo_redo; + t3 = J.get$isEmpty$asx(t2.undo_stack._list); + J.$indexSet$ax(t4.get$props(t1), "MenuPropsMixin.undo_stack_empty", t3); + t3 = J.get$isEmpty$asx(t2.redo_stack._list); + J.$indexSet$ax(t4.get$props(t1), "MenuPropsMixin.redo_stack_empty", t3); + t3 = $.app.store; + t3 = t3.get$state(t3).ui_state.selectables_store.get$selected_strands()._set; + t3 = t3.get$isNotEmpty(t3); + J.$indexSet$ax(t4.get$props(t1), "MenuPropsMixin.enable_copy", t3); + t3 = t6.modification_font_size; + J.$indexSet$ax(t4.get$props(t1), "MenuPropsMixin.modification_font_size", t3); + t3 = t6.major_tick_offset_font_size; + J.$indexSet$ax(t4.get$props(t1), string$.MenuPrmao, t3); + t3 = t6.major_tick_width_font_size; + J.$indexSet$ax(t4.get$props(t1), string$.MenuPrmaw, t3); + t3 = t6.modification_display_connector; + J.$indexSet$ax(t4.get$props(t1), string$.MenuPrmo, t3); + t3 = t6.display_base_offsets_of_major_ticks; + J.$indexSet$ax(t4.get$props(t1), string$.MenuPrdipo, t3); + t3 = t6.display_base_offsets_of_major_ticks_only_first_helix; + J.$indexSet$ax(t4.get$props(t1), string$.MenuPrdipb, t3); + t3 = t6.display_major_tick_widths; + J.$indexSet$ax(t4.get$props(t1), "MenuPropsMixin.display_major_tick_widths", t3); + t3 = t6.display_major_tick_widths_all_helices; + J.$indexSet$ax(t4.get$props(t1), string$.MenuPrdipm, t3); + t3 = t6.invert_y; + J.$indexSet$ax(t4.get$props(t1), "MenuPropsMixin.invert_y", t3); + t3 = t6.dynamically_update_helices; + J.$indexSet$ax(t4.get$props(t1), string$.MenuPrdy, t3); + t3 = t6.show_helix_circles_main_view; + J.$indexSet$ax(t4.get$props(t1), string$.MenuPrshhi, t3); + t3 = t6.show_helix_components_main_view; + J.$indexSet$ax(t4.get$props(t1), string$.MenuPrshho, t3); + t3 = t6.warn_on_exit_if_unsaved; + J.$indexSet$ax(t4.get$props(t1), "MenuPropsMixin.warn_on_exit_if_unsaved", t3); + t3 = t6.show_grid_coordinates_side_view; + J.$indexSet$ax(t4.get$props(t1), string$.MenuPrshg, t3); + t3 = t6.show_helices_axis_arrows; + J.$indexSet$ax(t4.get$props(t1), "MenuPropsMixin.show_helices_axis_arrows", t3); + t3 = t6.show_loopout_extension_length; + J.$indexSet$ax(t4.get$props(t1), string$.MenuPrshl, t3); + t3 = t6.export_svg_text_separately; + J.$indexSet$ax(t4.get$props(t1), string$.MenuPre, t3); + t3 = t6.show_slice_bar; + J.$indexSet$ax(t4.get$props(t1), "MenuPropsMixin.show_slice_bar", t3); + t3 = t6.show_mouseover_data; + J.$indexSet$ax(t4.get$props(t1), "MenuPropsMixin.show_mouseover_data", t3); + t3 = t6.disable_png_caching_dna_sequences; + J.$indexSet$ax(t4.get$props(t1), string$.MenuPrdia, t3); + t3 = t6.retain_strand_color_on_selection; + J.$indexSet$ax(t4.get$props(t1), string$.MenuPrr, t3); + t3 = t6.display_reverse_DNA_right_side_up; + J.$indexSet$ax(t4.get$props(t1), string$.MenuPrdipr, t3); + t3 = t6.local_storage_design_choice; + J.$indexSet$ax(t4.get$props(t1), string$.MenuPrl, t3); + t3 = t6.clear_helix_selection_when_loading_new_design; + J.$indexSet$ax(t4.get$props(t1), string$.MenuPrc, t3); + t3 = t6.default_crossover_type_scaffold_for_setting_helix_rolls; + J.$indexSet$ax(t4.get$props(t1), string$.MenuPrdefc, t3); + t3 = t6.default_crossover_type_staple_for_setting_helix_rolls; + J.$indexSet$ax(t4.get$props(t1), string$.MenuPrdeft, t3); + t3 = t6.selection_box_intersection; + J.$indexSet$ax(t4.get$props(t1), string$.MenuPrse, t3); + t6 = t6.ox_export_only_selected_strands; + J.$indexSet$ax(t4.get$props(t1), string$.MenuProx, t6); + J.$indexSet$ax(t4.get$props(t1), "MenuPropsMixin.undo_redo", t2); + return t1; + }, + $signature: 508 + }; + D.ConnectedMenu__closure.prototype = { + call$1: function(group) { + return type$.legacy_HelixGroup._as(group).grid !== C.Grid_none; + }, + $signature: 509 + }; + D.MenuPropsMixin.prototype = {$isMap: 1, $isUiProps0: 1, $isUiProps: 1, + get$geometry: function(receiver) { + return this.MenuPropsMixin_geometry; + } + }; + D.MenuComponent.prototype = { + get$consumedProps: function() { + var t1 = type$.legacy_Set_legacy_Type._as(P.LinkedHashSet_LinkedHashSet$_literal([C.Type_MenuPropsMixin_yrN], type$.legacy_Type)), + t2 = type$.PropsMetaCollection._eval$1("_AccessorMetaCollection.U*"), + t3 = t1.$ti; + return new H.EfficientLengthMappedIterable(t1, t3._bind$1(t2)._eval$1("1(SetMixin.E)")._as(C.PropsMetaCollection_Map_iSA0t.get$forMixin()), t3._eval$1("@")._bind$1(t2)._eval$1("EfficientLengthMappedIterable<1,2>")); + }, + render$0: function(_) { + var _this = this, + t1 = $.$get$Navbar(), + t2 = type$.dynamic, + t3 = P.LinkedHashMap_LinkedHashMap$_literal(["bg", "light", "expand", "lg"], t2, t2), + t4 = $.$get$NavbarBrand().call$2(P.LinkedHashMap_LinkedHashMap$_empty(t2, t2), "scadnano"), + t5 = _this.file_menu$0(), + t6 = _this.edit_menu$0(), + t7 = _this.view_menu_warnings$0(), + t8 = _this.view_menu_autofit$0(), + t9 = _this.view_menu_show_labels$0(), + t10 = _this.view_menu_mods$0(), + t11 = _this.view_menu_helices$0(), + t12 = _this.view_menu_display_major_ticks_options$0(), + t13 = _this.view_menu_base_pairs$0(), + t14 = _this.view_menu_dna$0(), + t15 = $.$get$DropdownDivider(); + t14 = [t7, t8, t9, t10, t11, t12, t13, t14, t15.call$1(P.LinkedHashMap_LinkedHashMap$_literal(["key", "divider-dna"], t2, t2))]; + C.JSArray_methods.addAll$1(t14, _this.view_menu_show_oxview$0()); + t14.push(t15.call$1(P.LinkedHashMap_LinkedHashMap$_literal(["key", "divider-oxview"], t2, t2))); + C.JSArray_methods.addAll$1(t14, _this.view_menu_zoom_speed$0()); + t14.push(t15.call$1(P.LinkedHashMap_LinkedHashMap$_literal(["key", "divider-zoom_speed"], t2, t2))); + C.JSArray_methods.addAll$1(t14, _this.view_menu_misc$0()); + return t1.call$7(t3, t4, t5, t6, $.$get$NavDropdown().call$2(P.LinkedHashMap_LinkedHashMap$_literal(["title", "View", "id", "view-nav-dropdown"], t2, t2), t14), _this.export_menu$0(), _this.help_menu$0()); + }, + file_menu$0: function() { + var t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, _this = this, + _s14_ = "open-form-file", + t1 = $.$get$NavDropdown(), + t2 = type$.dynamic, + t3 = P.LinkedHashMap_LinkedHashMap$_literal(["title", "File", "id", "file-nav-dropdown"], t2, t2), + t4 = N.menu_dropdown_item___$MenuDropdownItem$closure().call$0(); + t4.set$on_click(new D.MenuComponent_file_menu_closure(_this)); + t5 = J.getInterceptor$z(t4); + t5.set$display(t4, "\ud83d\udcc4 Load example"); + t5.set$key(t4, "load-example"); + t4 = t4.call$0(); + t5 = O.menu_form_file___$MenuFormFile$closure().call$0(); + t6 = J.getInterceptor$x(t5); + t6.set$id(t5, _s14_); + t7 = $.$get$all_scadnano_file_extensions(); + t7.toString; + t8 = H._arrayInstanceType(t7); + t6.set$accept(t5, new H.MappedListIterable(t7, t8._eval$1("String*(1)")._as(new D.MenuComponent_file_menu_closure0()), t8._eval$1("MappedListIterable<1,String*>")).join$1(0, ",")); + t6.set$onChange(t5, new D.MenuComponent_file_menu_closure1()); + t6.set$display(t5, "\ud83d\udcc2 Open"); + J.$indexSet$ax(t6.get$props(t5), "MenuFormFileProps.keyboard_shortcut", "Ctrl+O"); + t6.set$key(t5, _s14_); + t5 = t5.call$0(); + t6 = $.$get$DropdownDivider(); + t8 = t6.call$1(P.LinkedHashMap_LinkedHashMap$_literal(["key", "divider-file-load"], t2, t2)); + t7 = N.menu_dropdown_item___$MenuDropdownItem$closure().call$0(); + t7.set$on_click(new D.MenuComponent_file_menu_closure2(_this)); + t9 = J.getInterceptor$z(t7); + t9.set$display(t7, "\ud83d\udcbe Save"); + t7.set$keyboard_shortcut("Ctrl+S"); + t9.set$key(t7, "save-file"); + t7 = t7.call$0(); + t9 = Z.menu_boolean___$MenuBoolean$closure().call$0(); + t10 = J.getInterceptor$x(t9); + t10.set$value(t9, _this._menu$_cachedTypedProps.get$warn_on_exit_if_unsaved()); + t10.set$display(t9, "Warn on exit if unsaved"); + t9.set$tooltip("If checked, before attempting to close or refresh the page, if the design has \nchanged since it was last saved, a warning dialog is displayed to ask if you\nreally want to exit without saving."); + t10.set$onChange(t9, new D.MenuComponent_file_menu_closure3(_this)); + t10.set$key(t9, "warn-on-exit-if-unsaved"); + t9 = t9.call$0(); + t10 = t6.call$1(P.LinkedHashMap_LinkedHashMap$_literal(["key", "divider-save"], t2, t2)); + t11 = O.menu_form_file___$MenuFormFile$closure().call$0(); + t12 = J.getInterceptor$x(t11); + t12.set$id(t11, "import-cadnano-form-file"); + t12.set$accept(t11, ".json"); + t12.set$onChange(t11, new D.MenuComponent_file_menu_closure4()); + t12.set$display(t11, "Import cadnano v2"); + t12.set$key(t11, "import-cadnano"); + t11 = t11.call$0(); + t12 = t6.call$1(P.LinkedHashMap_LinkedHashMap$_literal(["key", "divider-import-cadnano"], t2, t2)); + t13 = N.menu_dropdown_item___$MenuDropdownItem$closure().call$0(); + t13.set$on_click(new D.MenuComponent_file_menu_closure5(_this)); + t14 = J.getInterceptor$z(t13); + t14.set$display(t13, "Reset local storage"); + t13.set$tooltip("Clear the stored design, reset all local settings, and reload the page."); + t14.set$key(t13, "reset-local-storage"); + t13 = t13.call$0(); + t14 = _this.file_menu_save_design_local_storage_options$0(); + t2 = t6.call$1(P.LinkedHashMap_LinkedHashMap$_literal(["key", "divide-clear-helix-selection-when-loading-new-design"], t2, t2)); + t6 = Z.menu_boolean___$MenuBoolean$closure().call$0(); + t15 = J.getInterceptor$x(t6); + t15.set$value(t6, _this._menu$_cachedTypedProps.get$clear_helix_selection_when_loading_new_design()); + t15.set$display(t6, "Clear helix selection when loading new design"); + t15.set$onChange(t6, new D.MenuComponent_file_menu_closure6(_this)); + t6.set$tooltip("If checked, the selected helices will be clear when loading a new design.\nOtherwise, helix selection is not cleared, meaning that all the selected helices in the current\ndesign will be selected (based on helix index) on the loaded design."); + t15.set$key(t6, "clear-helix-selection-when-loading-new-design"); + return t1.call$2(t3, [t4, t5, t8, t7, t9, t10, t11, t12, t13, t14, t2, t6.call$0()]); + }, + file_menu_save_design_local_storage_options$0: function() { + var t3, t4, t5, t6, t7, _this = this, + _s31_ = "file_menu_local-storage-options", + t1 = M.menu_dropdown_right___$MenuDropdownRight$closure().call$0(), + t2 = J.getInterceptor$x(t1); + t2.set$title(t1, "Local storage design save options"); + t2.set$id(t1, _s31_); + t2.set$key(t1, _s31_); + t2.set$className(t1, "submenu_item"); + t2 = Z.menu_boolean___$MenuBoolean$closure().call$0(); + t3 = J.getInterceptor$x(t2); + t3.set$value(t2, _this._menu$_cachedTypedProps.get$local_storage_design_choice().option === C.LocalStorageDesignOption_on_edit); + t3.set$display(t2, "Save design in localStorage on every edit"); + t2.set$tooltip("On every edit, save current design in localStorage (in your web browser).\n\nDisabling this minimizes the time needed to render large designs."); + t3.set$onChange(t2, new D.MenuComponent_file_menu_save_design_local_storage_options_closure(_this)); + t3.set$key(t2, "save-dna-design-in-local-storage"); + t2 = t2.call$0(); + t3 = Z.menu_boolean___$MenuBoolean$closure().call$0(); + t4 = J.getInterceptor$x(t3); + t4.set$value(t3, _this._menu$_cachedTypedProps.get$local_storage_design_choice().option === C.LocalStorageDesignOption_on_exit); + t4.set$display(t3, "Save design in localStorage before exiting"); + t3.set$tooltip("Before exiting, save current design in localStorage (in your web browser). \nFor large designs, this is faster than saving on every edit, but if the browser crashes, \nall changes made will be lost, so it is not as safe as storing on every edit."); + t4.set$onChange(t3, new D.MenuComponent_file_menu_save_design_local_storage_options_closure0(_this)); + t4.set$key(t3, "save-dna-design-in-local-storage-on-exit"); + t3 = t3.call$0(); + t4 = Z.menu_boolean___$MenuBoolean$closure().call$0(); + t5 = J.getInterceptor$x(t4); + t5.set$value(t4, _this._menu$_cachedTypedProps.get$local_storage_design_choice().option === C.LocalStorageDesignOption_never); + t5.set$display(t4, "Do not save design in localStorage"); + t4.set$tooltip("Never saves the design in localStorage.\n\nWARNING: you must save your design manually by pressing Ctrl+S or selecting \nFile-->Save, or your design will be lost when you close the browser tab."); + t5.set$onChange(t4, new D.MenuComponent_file_menu_save_design_local_storage_options_closure1(_this)); + t5.set$key(t4, "never-save-dna-design-in-local-storage"); + t4 = t4.call$0(); + t5 = Z.menu_boolean___$MenuBoolean$closure().call$0(); + t6 = J.getInterceptor$x(t5); + t6.set$value(t5, _this._menu$_cachedTypedProps.get$local_storage_design_choice().option === C.LocalStorageDesignOption_periodic); + t6.set$display(t5, "Save design in localStorage periodically"); + t5.set$tooltip("Every seconds, save current design in localStorage (in your web browser). \nAlso saves before exiting.\nThis is safer than never saving, or saving only before exiting, but will not save edits\nthat occurred between the last save and a browser crash."); + t6.set$onChange(t5, new D.MenuComponent_file_menu_save_design_local_storage_options_closure2(_this)); + t6.set$key(t5, "save-dna-design-in-local-storage-periodically"); + t5 = t5.call$0(); + t6 = M.menu_number___$MenuNumber$closure().call$0(); + t7 = J.getInterceptor$z(t6); + t7.set$display(t6, "period (seconds)"); + t6.set$min_value(1); + t6.set$default_value(_this._menu$_cachedTypedProps.get$local_storage_design_choice().period_seconds); + t6.set$hide(_this._menu$_cachedTypedProps.get$local_storage_design_choice().option !== C.LocalStorageDesignOption_periodic); + t6.set$tooltip("Number of seconds between saving design to localStorage."); + t6.set$on_new_value(new D.MenuComponent_file_menu_save_design_local_storage_options_closure3(_this)); + t7.set$key(t6, "period-of-save-dna-design-in-local-storage-periodically"); + return t1.call$1(H.setRuntimeTypeInfo([t2, t3, t4, t5, t6.call$0()], type$.JSArray_legacy_ReactElement)); + }, + edit_menu$0: function() { + var t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19, _this = this, _null = null, + _s26_ = "dynamically-update-helices", + t1 = $.$get$NavDropdown(), + t2 = type$.dynamic, + t3 = P.LinkedHashMap_LinkedHashMap$_literal(["title", "Edit", "id", "edit-nav-dropdown"], t2, t2), + t4 = M.menu_dropdown_right___$MenuDropdownRight$closure().call$0(), + t5 = J.getInterceptor$x(t4); + t5.set$title(t4, "Undo"); + t5.set$id(t4, "edit_menu_undo-dropdown"); + t4.set$keyboard_shortcut("Ctrl+Z"); + t6 = _this._menu$_cachedTypedProps; + t6 = t6.get$props(t6).$index(0, "MenuPropsMixin.undo_stack_empty"); + t5.set$disabled(t4, H._asBoolS(t6 == null ? _null : t6)); + t4 = t4.call$1(_this.get$undo_dropdowns()); + t5 = M.menu_dropdown_right___$MenuDropdownRight$closure().call$0(); + t6 = J.getInterceptor$x(t5); + t6.set$title(t5, "Redo"); + t6.set$id(t5, "edit_menu_redo-dropdown"); + t5.set$keyboard_shortcut("Ctrl+Shift+Z"); + t7 = _this._menu$_cachedTypedProps; + t7 = t7.get$props(t7).$index(0, "MenuPropsMixin.redo_stack_empty"); + t6.set$disabled(t5, H._asBoolS(t7 == null ? _null : t7)); + t5 = t5.call$1(_this.get$redo_dropdowns()); + t6 = $.$get$DropdownDivider(); + t7 = t6.call$1(P.LinkedHashMap_LinkedHashMap$_empty(t2, t2)); + t8 = _this.edit_menu_copy_paste$0(); + t9 = t6.call$1(P.LinkedHashMap_LinkedHashMap$_empty(t2, t2)); + t10 = Z.menu_boolean___$MenuBoolean$closure().call$0(); + t11 = J.getInterceptor$z(t10); + t11.set$display(t10, "Dynamically update helices"); + t10.set$tooltip("Expand helices dynamically when strand(s) is moved or created according to the strand(s) movement\nIf checked, helices will update with strand movement"); + t11.set$name(t10, _s26_); + t11.set$key(t10, _s26_); + t11.set$onChange(t10, new D.MenuComponent_edit_menu_closure(_this)); + t11.set$value(t10, _this._menu$_cachedTypedProps.get$dynamically_update_helices()); + t10 = t10.call$0(); + t11 = t6.call$1(P.LinkedHashMap_LinkedHashMap$_empty(t2, t2)); + t12 = N.menu_dropdown_item___$MenuDropdownItem$closure().call$0(); + t12.set$on_click(new D.MenuComponent_edit_menu_closure0(_this)); + t13 = J.getInterceptor$z(t12); + t13.set$display(t12, "Inline insertions/deletions"); + t14 = _this._menu$_cachedTypedProps; + t14 = t14.get$props(t14).$index(0, string$.MenuPrdes); + t13.set$disabled(t12, !H.boolConversionCheck(H._asBoolS(t14 == null ? _null : t14))); + t12.set$tooltip("Remove insertions and deletions from the design and replace them with domains\nwhose lengths correspond to the true strand length. Also moves major tick \nmarks on helices so that they are adjacent to the same bases as before."); + t12 = t12.call$0(); + t13 = t6.call$1(P.LinkedHashMap_LinkedHashMap$_empty(t2, t2)); + t14 = N.menu_dropdown_item___$MenuDropdownItem$closure().call$0(); + t14.set$on_click(new D.MenuComponent_edit_menu_closure1(_this)); + t15 = J.getInterceptor$z(t14); + t15.set$display(t14, "Connect selected ends by crossovers"); + t16 = _this._menu$_cachedTypedProps; + t16 = t16.get$props(t16).$index(0, "MenuPropsMixin.selected_ends"); + if (t16 == null) + t16 = _null; + t16 = type$.legacy_BuiltSet_legacy_DNAEnd._as(t16)._set; + t15.set$disabled(t14, t16.get$isEmpty(t16)); + t14.set$tooltip('Connect selected ends by crossovers. \n\nEnds are connected by crossovers as follows. Within each HelixGroup: \n\nIterate over ends in the following order: first by helix, then by \nforward/reverse, then by offset. For each end e1 in this order, join it \nto the first end e2 after it in this order, if \n1) e1 and e2 have the same offset (making a "vertical" crossover), \n2) e1 is "above" e2 (lower helix idx; more generally earlier in helices_view_order), \n3) opposite direction (one is forward and the other reverse), and \n4) opposite side of a strand (i.e., one is 5\' and the other 3\').'); + t14 = t14.call$0(); + t16 = t6.call$1(P.LinkedHashMap_LinkedHashMap$_empty(t2, t2)); + t15 = _this.edit_menu_helix_rolls$0(); + t17 = t6.call$1(P.LinkedHashMap_LinkedHashMap$_empty(t2, t2)); + t18 = N.menu_dropdown_item___$MenuDropdownItem$closure().call$0(); + t18.set$on_click(new D.MenuComponent_edit_menu_closure2(_this)); + J.set$display$z(t18, "Set geometric parameters"); + t18.set$tooltip("Set geometric parameters affecting how the design is displayed.\n\n- rise per base pair: This is the number of nanometers a single base pair occupies (i.e., width in main view)\n default 0.332 nm\n\n- helix radius: The radius of a helix in nanometers.\n default 1 nm\n\n- inter-helix gap: The distance between two adjacent helices. The value 2*helix_radius+inter_helix_gap\n is the distance between the centers of two adjacent helices.\n default 1 nm\n\n- bases per turn: The number of bases in a single full turn of DNA.\n default 10.5\n\n- minor groove angle: The angle in degrees of the minor groove, when looking at the helix in the direction\n of its long axis.\n default 150 degrees"); + t18 = t18.call$0(); + t2 = t6.call$1(P.LinkedHashMap_LinkedHashMap$_empty(t2, t2)); + t6 = N.menu_dropdown_item___$MenuDropdownItem$closure().call$0(); + t6.set$on_click(new D.MenuComponent_edit_menu_closure3()); + J.set$display$z(t6, "Autostaple (experimental)"); + t6.set$tooltip('Removes all staple strands and puts long "precursor" staples everywhere the scaffold appears.\nWARNING: this is an experimental feature and may be modified or removed. It uses cadnano code,\nso will only work on scadnano designs that are exportable to cadnano.\n '); + t6 = t6.call$0(); + t19 = N.menu_dropdown_item___$MenuDropdownItem$closure().call$0(); + t19.set$on_click(new D.MenuComponent_edit_menu_closure4()); + J.set$display$z(t19, "Autobreak (experimental)"); + t19.set$tooltip("Puts nicks in long staple strands automatically.\nWARNING: Autobreak is an experimental feature and may be modified or removed.\nIt uses cadnano code that crashes on many designs, so it is not guaranteed to work properly. \nIt will also only work on scadnano designs that are exportable to cadnano.\n "); + return t1.call$18(t3, t4, t5, t7, t8, t9, t10, t11, t12, t13, t14, t16, t15, t17, t18, t2, t6, t19.call$0()); + }, + get$undo_dropdowns: function() { + return this.undo_or_redo_dropdowns$3(new D.MenuComponent_undo_dropdowns_closure(), this._menu$_cachedTypedProps.get$undo_redo().undo_stack, "Undo"); + }, + get$redo_dropdowns: function() { + return this.undo_or_redo_dropdowns$3(new D.MenuComponent_redo_dropdowns_closure(), this._menu$_cachedTypedProps.get$undo_redo().redo_stack, "Redo"); + }, + undo_or_redo_dropdowns$3: function(undo_or_redo_action_creator, undo_or_redo_stack, action_name) { + var dropdowns, t1, num_times, most_recent; + type$.legacy_legacy_Action_Function_legacy_int._as(undo_or_redo_action_creator); + type$.legacy_BuiltList_legacy_UndoRedoItem._as(undo_or_redo_stack); + dropdowns = H.setRuntimeTypeInfo([], type$.JSArray_legacy_ReactElement); + for (t1 = J.get$reversed$ax(undo_or_redo_stack._list), t1 = new H.ListIterator(t1, t1.get$length(t1), t1.$ti._eval$1("ListIterator")), num_times = 1, most_recent = true; t1.moveNext$0(); most_recent = false) { + C.JSArray_methods.add$1(dropdowns, this.undo_or_redo_dropdown$5(t1.__internal$_current, undo_or_redo_action_creator, num_times, action_name, most_recent)); + ++num_times; + } + return dropdowns; + }, + undo_or_redo_dropdown$5: function(item, undo_or_redo_action_creator, num_times, action_name, is_most_recent) { + var t1, t2, t3; + type$.legacy_legacy_Action_Function_legacy_int._as(undo_or_redo_action_creator); + t1 = N.menu_dropdown_item___$MenuDropdownItem$closure().call$0(); + t2 = action_name + ' "' + item.short_description + '"'; + t3 = J.getInterceptor$z(t1); + t3.set$display(t1, t2 + (is_most_recent ? " [Most Recent]" : "")); + t3.set$key(t1, action_name.toLowerCase() + "-" + num_times); + t1.set$on_click(new D.MenuComponent_undo_or_redo_dropdown_closure(undo_or_redo_action_creator, num_times)); + return t1.call$0(); + }, + edit_menu_copy_paste$0: function() { + var t3, t4, t5, t6, t7, t8, t9, t10, t11, _this = this, + _s20_ = "edit_menu_copy-paste", + t1 = M.menu_dropdown_right___$MenuDropdownRight$closure().call$0(), + t2 = J.getInterceptor$x(t1); + t2.set$title(t1, "Copy/Paste/Select"); + t2.set$id(t1, _s20_); + t2.set$key(t1, _s20_); + t2.set$className(t1, "submenu-item"); + t2 = N.menu_dropdown_item___$MenuDropdownItem$closure().call$0(); + t2.set$on_click(new D.MenuComponent_edit_menu_copy_paste_closure(_this)); + t3 = J.getInterceptor$z(t2); + t3.set$display(t2, "Copy"); + t3.set$key(t2, "edit_menu_copy-paste_copy"); + t2.set$keyboard_shortcut("Ctrl+C"); + t2.set$tooltip("Copy the currently selected strand(s). They can be pasted into this design,\nor into another design in another browser or tab. You can also paste into\na text document to see a JSON description of the copied strand(s)."); + t3.set$disabled(t2, !H.boolConversionCheck(_this._menu$_cachedTypedProps.get$enable_copy())); + t2 = t2.call$0(); + t3 = N.menu_dropdown_item___$MenuDropdownItem$closure().call$0(); + t3.set$on_click(new D.MenuComponent_edit_menu_copy_paste_closure0(_this)); + t4 = J.getInterceptor$z(t3); + t4.set$display(t3, "Copy image"); + t4.set$key(t3, "edit_menu_copy-paste_copy-image"); + t3.set$keyboard_shortcut("Ctrl+I"); + t3.set$tooltip("Copy a (PNG bitmap) image of the currently selected strand(s) to the system\nclipboard. This image can be pasted into graphics programs such as Powerpoint\nor Inkscape. Note that the bitmap image will be pixelated on zoom-in, unlike\nSVG (scaled vector graphics). To retain the vector graphics in the image so\nthat it stays sharp on zoom-in, use the option Export-->SVG of selected strands\nto save an SVG file of the selected strands."); + t4.set$disabled(t3, !H.boolConversionCheck(_this._menu$_cachedTypedProps.get$enable_copy())); + t3 = t3.call$0(); + t4 = N.menu_dropdown_item___$MenuDropdownItem$closure().call$0(); + t4.set$on_click(new D.MenuComponent_edit_menu_copy_paste_closure1()); + t5 = J.getInterceptor$z(t4); + t5.set$display(t4, "Paste"); + t5.set$key(t4, "edit_menu_copy-paste_paste"); + t4.set$tooltip("Paste the previously copied strand(s). They can be pasted into this design,\nor into another design in another browser or tab. You can also paste into\na text document to see a JSON description of the copied strand(s).\n"); + t4.set$keyboard_shortcut("Ctrl+V"); + t4 = t4.call$0(); + t5 = N.menu_dropdown_item___$MenuDropdownItem$closure().call$0(); + t5.set$on_click(new D.MenuComponent_edit_menu_copy_paste_closure2()); + t6 = J.getInterceptor$z(t5); + t6.set$display(t5, "Autopaste"); + t6.set$key(t5, "edit_menu_copy-paste_autopaste"); + t5.set$tooltip('This automatically pastes copied strands to an automatically selected position\nin the design, which can be faster to create many copies of strand(s) than\nmanually selecting each position to paste. First copy some strand(s), then\nmanually paste them using the menu Edit-->Paste or pressing Ctrl+V. Once this\nis done once, by selecting Edit-->Autopaste (or pressing Shift+Ctrl+V),\nanother copy of the same strand(s) are pasted, in the same "direction" as the\nfirst paste.\n\nFor example, if the first paste was one helix down from the the copied strand(s),\nand 10 offset positions to the right, then Autopaste will make the next paste\nalso one helix down from the first paste, and 10 offset positions to its right.\n\nYou can also Autopaste immediately after copying, without having pasted first,\nwith some default direction chosen. Play with it and see!\n'); + t5.set$keyboard_shortcut("Ctrl+Shift+V"); + t5 = t5.call$0(); + t6 = N.menu_dropdown_item___$MenuDropdownItem$closure().call$0(); + t6.set$on_click(new D.MenuComponent_edit_menu_copy_paste_closure3()); + t7 = J.getInterceptor$z(t6); + t7.set$display(t6, "Select all"); + t7.set$key(t6, "edit_menu_copy-select-all"); + t6.set$tooltip("Select all strands in the design."); + t6.set$keyboard_shortcut("Ctrl+A"); + t6 = t6.call$0(); + t7 = N.menu_dropdown_item___$MenuDropdownItem$closure().call$0(); + t7.set$on_click(new D.MenuComponent_edit_menu_copy_paste_closure4(_this)); + t8 = J.getInterceptor$z(t7); + t8.set$display(t7, "Select all in helix group"); + t8.set$key(t7, "edit_menu_copy-select-all-in-helix-groups"); + t7.set$tooltip("Select all selectable strands in the current helix group."); + t7.set$keyboard_shortcut("Ctrl+Shift+A"); + t7 = t7.call$0(); + t8 = N.menu_dropdown_item___$MenuDropdownItem$closure().call$0(); + t8.set$on_click(new D.MenuComponent_edit_menu_copy_paste_closure5()); + t9 = J.getInterceptor$z(t8); + t9.set$display(t8, "Select all with same..."); + t9.set$key(t8, "edit_menu_copy-select-all-with-same"); + t8.set$tooltip("Select all strands that share given trait(s) as the currently selected strand(s)."); + t8.set$keyboard_shortcut("Alt+Shift+A"); + t8 = t8.call$0(); + t9 = Z.menu_boolean___$MenuBoolean$closure().call$0(); + t10 = J.getInterceptor$x(t9); + t10.set$value(t9, _this._menu$_cachedTypedProps.get$selection_box_intersection()); + t10.set$display(t9, "Selection box intersection"); + t10.set$key(t9, "edit_menu_copy-paste_Selection box intersection"); + t9.set$tooltip('In Select mode, one does Shift+drag to create a selection box, and in rope select mode,\none can draw a more general selection "rope" polygon. This checkbox determines the rule \nfor how objects are selected by these boxes.\n\nIf unchecked, select any object *entirely contained within* the selection box.\n\nIf checked, select any object *intersecting* the selection box, even if some parts lie \noutside the box.'); + t10.set$onChange(t9, new D.MenuComponent_edit_menu_copy_paste_closure6(_this)); + t9 = t9.call$0(); + t10 = Z.menu_boolean___$MenuBoolean$closure().call$0(); + t11 = J.getInterceptor$x(t10); + t11.set$value(t10, _this._menu$_cachedTypedProps.get$strand_paste_keep_color()); + t11.set$display(t10, "Pasted strands keep original color"); + t11.set$key(t10, "edit_menu_copy-paste_Pasted strands keep original color"); + t10.set$tooltip("If checked, when copying and pasting a strand, the color is preserved.\nIf unchecked, then a new color is generated."); + t11.set$onChange(t10, new D.MenuComponent_edit_menu_copy_paste_closure7(_this)); + return t1.call$1(H.setRuntimeTypeInfo([t2, t3, t4, t5, t6, t7, t8, t9, t10.call$0()], type$.JSArray_legacy_ReactElement)); + }, + edit_menu_helix_rolls$0: function() { + var t3, t4, t5, t6, t7, t8, _this = this, + _s21_ = "edit_menu_helix-rolls", + t1 = M.menu_dropdown_right___$MenuDropdownRight$closure().call$0(), + t2 = J.getInterceptor$x(t1); + t2.set$title(t1, "Helix rolls"); + t2.set$id(t1, _s21_); + t2.set$key(t1, _s21_); + t2.set$className(t1, "submenu-item"); + t2 = N.menu_dropdown_item___$MenuDropdownItem$closure().call$0(); + t2.set$on_click(new D.MenuComponent_edit_menu_helix_rolls_closure(_this)); + t3 = J.getInterceptor$z(t2); + t3.set$display(t2, "Set helix rolls to unstrain crossovers"); + t3.set$key(t2, "edit_menu_helix-rolls_set-helix-rolls"); + t2.set$tooltip('Sets all helix rolls to "relax" them based on their crossovers.\n\nThis calculates the "strain" of each crossover c as the absolute value d_c of \nthe distance between the angle to the helix to which it is connected and the \nangle of that crossover given the current helix roll. It minimizes sum_c d_c^2, \ni.e., minimize the sum of the squares of the strains (if modeling crossovers\nas rotational springs, this minimizes the total energy stored in each spring). \nThis can be used to create a design with "reasonable" crossover locations and \nthen set the rolls to match the crossover locations as best as possible.\n'); + t2 = t2.call$0(); + t3 = N.menu_dropdown_item___$MenuDropdownItem$closure().call$0(); + t3.set$on_click(new D.MenuComponent_edit_menu_helix_rolls_closure0(_this)); + t4 = J.getInterceptor$z(t3); + t4.set$display(t3, "Set *selected* helix rolls to unstrain crossovers"); + t4.set$key(t3, "edit_menu_helix-rolls_set-selected-helix-rolls"); + t3.set$tooltip('Same as option "Set helix rolls based on crossovers and helix coordinates" above,\nbut changes the rolls only of selected helices.'); + t3 = t3.call$0(); + t4 = type$.dynamic; + t4 = $.$get$DropdownDivider().call$1(P.LinkedHashMap_LinkedHashMap$_literal(["key", "dropdown1"], t4, t4)); + t5 = N.menu_dropdown_item___$MenuDropdownItem$closure().call$0(); + t5.set$on_click(new D.MenuComponent_edit_menu_helix_rolls_closure1(_this)); + t6 = J.getInterceptor$z(t5); + t6.set$display(t5, "Set helix coordinates based on crossovers"); + t6.set$key(t5, "edit_menu_helix-rolls_set-helix-positions-based-on-crossovers"); + t6.set$disabled(t5, _this._menu$_cachedTypedProps.get$no_grid_is_none()); + t5.set$tooltip("The grid must be set to none to enable this." + (H.boolConversionCheck(_this._menu$_cachedTypedProps.get$no_grid_is_none()) ? " (Currently disabled since the grid is not none.)" : "") + "\n\nSelect some crossovers and some helices. If no helices are selected, then all\nhelices are processed. At most one crossover between pairs of adjacent (in\nview order) helices can be selected. If a pair of adjacent helices has no\ncrossover selected, it is assumed to be the first crossover.\n\nNew grid coordinates are calculated based on the crossovers to ensure that each\npair of adjacent helices has crossover angles that point the backbone angles\ndirectly at the adjoining helix."); + t5 = t5.call$0(); + t6 = Z.menu_boolean___$MenuBoolean$closure().call$0(); + t7 = J.getInterceptor$x(t6); + t7.set$value(t6, _this._menu$_cachedTypedProps.get$default_crossover_type_scaffold_for_setting_helix_rolls()); + t7.set$display(t6, "default to leftmost scaffold crossover"); + t7.set$key(t6, "edit_menu_helix-rolls_default to leftmost scaffold crossover"); + t6.set$tooltip('When selecting "Set helix coordinates based on crossovers", if two adjacent \nhelices do not have a crossover selected, determines which types to select \nautomatically.\n\nIf this is checked and "default to leftmost staple crossover" is unchecked,\nthen the leftmost scaffold crossover will be used.\n\nIf both are checked, the leftmost crossover of any type will be used.\n\nIgnored if design is not an origami (i.e., does not have at least one scaffold).'); + t7.set$onChange(t6, new D.MenuComponent_edit_menu_helix_rolls_closure2(_this)); + t6 = t6.call$0(); + t7 = Z.menu_boolean___$MenuBoolean$closure().call$0(); + t8 = J.getInterceptor$x(t7); + t8.set$value(t7, _this._menu$_cachedTypedProps.get$default_crossover_type_staple_for_setting_helix_rolls()); + t8.set$display(t7, "default to leftmost staple crossover"); + t8.set$key(t7, "edit_menu_helix-rolls_default to leftmost staple crossover"); + t7.set$tooltip('When selecting "Set helix coordinates based on crossovers", if two adjacent \nhelices do not have a crossover selected, determines which types to select \nautomatically.\n\nIf this is checked and "default to leftmost scaffold crossover" is unchecked,\nthen the leftmost staple crossover will be used.\n\nIf both are checked, the leftmost crossover of any type will be used.\n\nIgnored if design is not an origami (i.e., does not have at least one scaffold).'); + t8.set$onChange(t7, new D.MenuComponent_edit_menu_helix_rolls_closure3(_this)); + return t1.call$1([t2, t3, t4, t5, t6, t7.call$0()]); + }, + view_menu_autofit$0: function() { + var t3, t4, + _s26_ = "view_menu_autofit-dropdown", + t1 = M.menu_dropdown_right___$MenuDropdownRight$closure().call$0(), + t2 = J.getInterceptor$x(t1); + t2.set$title(t1, "Autofit"); + t2.set$id(t1, _s26_); + t2.set$key(t1, _s26_); + t2.set$className(t1, "submenu-item"); + t2 = N.menu_dropdown_item___$MenuDropdownItem$closure().call$0(); + t3 = J.getInterceptor$z(t2); + t3.set$display(t2, "Auto-fit current design"); + t2.set$tooltip("The side and main views will be translated to fit the current design in the window.\n"); + t2.set$on_click(new D.MenuComponent_view_menu_autofit_closure()); + t3.set$key(t2, "autofit-current-design"); + t2 = t2.call$0(); + t3 = Z.menu_boolean___$MenuBoolean$closure().call$0(); + t4 = J.getInterceptor$x(t3); + t4.set$value(t3, this._menu$_cachedTypedProps.get$autofit()); + t4.set$display(t3, "Auto-fit on loading new design"); + t3.set$tooltip('The side and main views will be translated to fit the current design in the window\nwhenever loading a new design. Otherwise, after loading the design, you may not \nbe able to see it because it is translated off the screen in the current translation.\n\nYou may want to uncheck this when working on a design with the scripting \nlibrary. In that case, when repeatedly re-running the script to modify the \ndesign and then re-loading it, it is preferable to keep the design centered \nat the same location you had before, in order to be able to see the same part \nof the design you were looking at before changing the script.\n\nTo autofit the current design without reloading, click "Auto-fit current design".'); + t4.set$name(t3, "center-on-load"); + t4.set$onChange(t3, new D.MenuComponent_view_menu_autofit_closure0(this)); + t4.set$key(t3, "autofit-on-loading-new-design"); + return t1.call$1(H.setRuntimeTypeInfo([t2, t3.call$0()], type$.JSArray_legacy_ReactElement)); + }, + view_menu_warnings$0: function() { + var t3, t4, t5, _this = this, + _s23_ = "view_menu_show_warnings", + t1 = M.menu_dropdown_right___$MenuDropdownRight$closure().call$0(), + t2 = J.getInterceptor$x(t1); + t2.set$title(t1, "Warnings"); + t2.set$id(t1, _s23_); + t2.set$key(t1, _s23_); + t2.set$className(t1, "submenu_item"); + t2 = Z.menu_boolean___$MenuBoolean$closure().call$0(); + t3 = J.getInterceptor$x(t2); + t3.set$value(t2, _this._menu$_cachedTypedProps.get$show_mismatches()); + t3.set$display(t2, "Show DNA base mismatches"); + t2.set$tooltip("Show mismatches between DNA assigned to one strand and the strand on the same\nhelix with the opposite orientation."); + t3.set$onChange(t2, new D.MenuComponent_view_menu_warnings_closure(_this)); + t3.set$key(t2, "show-mismatches"); + t2 = t2.call$0(); + t3 = Z.menu_boolean___$MenuBoolean$closure().call$0(); + t4 = J.getInterceptor$x(t3); + t4.set$value(t3, _this._menu$_cachedTypedProps.get$show_domain_name_mismatches()); + t4.set$display(t3, "Show domain name mismatches"); + t3.set$tooltip("Show mismatches between domain names assigned to one strand and the strand on the same\nhelix with the opposite orientation."); + t4.set$onChange(t3, new D.MenuComponent_view_menu_warnings_closure0(_this)); + t4.set$key(t3, "show-domain-name-mismatches"); + t3 = t3.call$0(); + t4 = Z.menu_boolean___$MenuBoolean$closure().call$0(); + t5 = J.getInterceptor$x(t4); + t5.set$value(t4, _this._menu$_cachedTypedProps.get$show_unpaired_insertion_deletions()); + t5.set$display(t4, "Show unpaired insertion/deletions"); + t4.set$tooltip("Show unpaired deletions and insertions. This is defined to be an insertion/deletion on\na strand, where another strand is at the same (helix,offset) (in the opposite direction),\nwhich lacks the insertion/deletion. It does NOT show a warning if there is no other\nstrand at the same (helix,offset)."); + t5.set$onChange(t4, new D.MenuComponent_view_menu_warnings_closure1(_this)); + t5.set$key(t4, "show-unpaired-insertion-deletions"); + return t1.call$1(H.setRuntimeTypeInfo([t2, t3, t4.call$0()], type$.JSArray_legacy_ReactElement)); + }, + view_menu_show_labels$0: function() { + var t3, t4, t5, t6, t7, t8, t9, t10, t11, _this = this, + _s30_ = "view_menu_show_labels-dropdown", + _null = null, + t1 = M.menu_dropdown_right___$MenuDropdownRight$closure().call$0(), + t2 = J.getInterceptor$x(t1); + t2.set$title(t1, "Strand/domain names/labels"); + t2.set$id(t1, _s30_); + t2.set$key(t1, _s30_); + t2.set$className(t1, "submenu_item"); + t2 = Z.menu_boolean___$MenuBoolean$closure().call$0(); + t3 = J.getInterceptor$x(t2); + t3.set$value(t2, _this._menu$_cachedTypedProps.get$show_strand_names()); + t3.set$display(t2, "Show strand names"); + t2.set$tooltip("Show strand names near 5' domain of strand."); + t3.set$onChange(t2, new D.MenuComponent_view_menu_show_labels_closure(_this)); + t3.set$key(t2, "show-strand-name"); + t2 = t2.call$0(); + t3 = M.menu_number___$MenuNumber$closure().call$0(); + t4 = J.getInterceptor$z(t3); + t4.set$display(t3, "strand name font size"); + t5 = _this._menu$_cachedTypedProps; + t5 = t5.get$props(t5).$index(0, "MenuPropsMixin.strand_name_font_size"); + t3.set$default_value(H._asNumS(t5 == null ? _null : t5)); + t3.set$hide(!H.boolConversionCheck(_this._menu$_cachedTypedProps.get$show_strand_names())); + t3.set$tooltip("Adjust the font size of strand names."); + t3.set$on_new_value(new D.MenuComponent_view_menu_show_labels_closure0(_this)); + t4.set$key(t3, "strand-name-font-size"); + t3 = t3.call$0(); + t4 = Z.menu_boolean___$MenuBoolean$closure().call$0(); + t5 = J.getInterceptor$x(t4); + t5.set$value(t4, _this._menu$_cachedTypedProps.get$show_strand_labels()); + t5.set$display(t4, "Show strand labels"); + t4.set$tooltip("Show strand labels near 5' domain of strand."); + t5.set$onChange(t4, new D.MenuComponent_view_menu_show_labels_closure1(_this)); + t5.set$key(t4, "show-strand-label"); + t4 = t4.call$0(); + t5 = M.menu_number___$MenuNumber$closure().call$0(); + t6 = J.getInterceptor$z(t5); + t6.set$display(t5, "strand label font size"); + t7 = _this._menu$_cachedTypedProps; + t7 = t7.get$props(t7).$index(0, "MenuPropsMixin.strand_label_font_size"); + t5.set$default_value(H._asNumS(t7 == null ? _null : t7)); + t5.set$hide(!H.boolConversionCheck(_this._menu$_cachedTypedProps.get$show_strand_labels())); + t5.set$tooltip("Adjust the font size of strand labels."); + t5.set$on_new_value(new D.MenuComponent_view_menu_show_labels_closure2(_this)); + t6.set$key(t5, "strand-label-font-size"); + t5 = t5.call$0(); + t6 = Z.menu_boolean___$MenuBoolean$closure().call$0(); + t7 = J.getInterceptor$x(t6); + t7.set$value(t6, _this._menu$_cachedTypedProps.get$show_domain_names()); + t7.set$display(t6, "Show domain names"); + t6.set$tooltip("Show domain and loopout names."); + t7.set$onChange(t6, new D.MenuComponent_view_menu_show_labels_closure3(_this)); + t7.set$key(t6, "show-domain-name"); + t6 = t6.call$0(); + t7 = M.menu_number___$MenuNumber$closure().call$0(); + t8 = J.getInterceptor$z(t7); + t8.set$display(t7, "domain name font size"); + t9 = _this._menu$_cachedTypedProps; + t9 = t9.get$props(t9).$index(0, "MenuPropsMixin.domain_name_font_size"); + t7.set$default_value(H._asNumS(t9 == null ? _null : t9)); + t7.set$hide(!H.boolConversionCheck(_this._menu$_cachedTypedProps.get$show_domain_names())); + t7.set$tooltip("Adjust the font size of domain/loopout/extension names."); + t7.set$on_new_value(new D.MenuComponent_view_menu_show_labels_closure4(_this)); + t8.set$key(t7, "domain-name-font-size"); + t7 = t7.call$0(); + t8 = Z.menu_boolean___$MenuBoolean$closure().call$0(); + t9 = J.getInterceptor$x(t8); + t9.set$value(t8, _this._menu$_cachedTypedProps.get$show_domain_labels()); + t9.set$display(t8, "Show domain labels"); + t8.set$tooltip("Show domain labels near 5' domain of strand."); + t9.set$onChange(t8, new D.MenuComponent_view_menu_show_labels_closure5(_this)); + t9.set$key(t8, "show-domain-label"); + t8 = t8.call$0(); + t9 = M.menu_number___$MenuNumber$closure().call$0(); + t10 = J.getInterceptor$z(t9); + t10.set$display(t9, "domain label font size"); + t11 = _this._menu$_cachedTypedProps; + t11 = t11.get$props(t11).$index(0, "MenuPropsMixin.domain_label_font_size"); + t9.set$default_value(H._asNumS(t11 == null ? _null : t11)); + t9.set$hide(!H.boolConversionCheck(_this._menu$_cachedTypedProps.get$show_domain_labels())); + t9.set$tooltip("Adjust the font size of domain labels."); + t9.set$on_new_value(new D.MenuComponent_view_menu_show_labels_closure6(_this)); + t10.set$key(t9, "domain-label-font-size"); + return t1.call$1(H.setRuntimeTypeInfo([t2, t3, t4, t5, t6, t7, t8, t9.call$0()], type$.JSArray_legacy_ReactElement)); + }, + view_menu_mods$0: function() { + var t3, t4, t5, t6, _this = this, + _s23_ = "view_menu_mods-dropdown", + t1 = M.menu_dropdown_right___$MenuDropdownRight$closure().call$0(), + t2 = J.getInterceptor$x(t1); + t2.set$title(t1, "Modifications"); + t2.set$id(t1, _s23_); + t2.set$key(t1, _s23_); + t2.set$className(t1, "submenu_item"); + t2 = Z.menu_boolean___$MenuBoolean$closure().call$0(); + t3 = J.getInterceptor$x(t2); + t3.set$value(t2, _this._menu$_cachedTypedProps.get$show_modifications()); + t3.set$display(t2, "Show modifications"); + t2.set$tooltip("Check to show DNA modifications (e.g., biotins, fluorophores)."); + t3.set$onChange(t2, new D.MenuComponent_view_menu_mods_closure(_this)); + t3.set$key(t2, "show-mods"); + t2 = t2.call$0(); + t3 = Z.menu_boolean___$MenuBoolean$closure().call$0(); + t4 = J.getInterceptor$x(t3); + t4.set$value(t3, _this._menu$_cachedTypedProps.get$modification_display_connector()); + t3.set$hide(!H.boolConversionCheck(_this._menu$_cachedTypedProps.get$show_modifications())); + t4.set$display(t3, "Display modification connector"); + t3.set$tooltip("Check to display DNA modification \"connectors\", short lines that connect \nthe 5'/3' end, or DNA base (for internal modifications), to the modification. \nThis is useful to keep the modification from visually obstructing the design.\nIf this is unchecked, then the modification is displayed directly on top of \nthe 5'/3' end or the base. This is useful for visualizing the exact position\nof the modifications, e.g., to see where a pattern of biotins will appear on\nthe surface of a DNA origami."); + t4.set$onChange(t3, new D.MenuComponent_view_menu_mods_closure0(_this)); + t4.set$key(t3, "display-mod-connector"); + t3 = t3.call$0(); + t4 = M.menu_number___$MenuNumber$closure().call$0(); + t5 = J.getInterceptor$z(t4); + t5.set$display(t4, "Modification font size"); + t6 = _this._menu$_cachedTypedProps; + t6 = t6.get$props(t6).$index(0, "MenuPropsMixin.modification_font_size"); + t4.set$default_value(H._asNumS(t6 == null ? null : t6)); + t4.set$hide(!H.boolConversionCheck(_this._menu$_cachedTypedProps.get$show_modifications())); + t4.set$tooltip("Adjust the font size of modification text representation."); + t4.set$on_new_value(new D.MenuComponent_view_menu_mods_closure1(_this)); + t5.set$key(t4, "mod-font-size"); + return t1.call$1(H.setRuntimeTypeInfo([t2, t3, t4.call$0()], type$.JSArray_legacy_ReactElement)); + }, + view_menu_helices$0: function() { + var t3, t4, t5, t6, _this = this, + _s26_ = "view_menu_helices-dropdown", + _s29_ = "display-only-selected-helices", + _s31_ = "show-helix-components-main-view", + _s28_ = "show-helix-circles-main-view", + _s31_0 = "show-grid-coordinates-side-view", + t1 = M.menu_dropdown_right___$MenuDropdownRight$closure().call$0(), + t2 = J.getInterceptor$x(t1); + t2.set$title(t1, "Helices"); + t2.set$id(t1, _s26_); + t2.set$key(t1, _s26_); + t2.set$className(t1, "submenu_item"); + t2 = Z.menu_boolean___$MenuBoolean$closure().call$0(); + t3 = J.getInterceptor$x(t2); + t3.set$value(t2, _this._menu$_cachedTypedProps.get$only_display_selected_helices()); + t3.set$display(t2, "Display only selected helices"); + t2.set$tooltip("Only helices selected in the side view are displayed in the main view."); + t3.set$name(t2, _s29_); + t3.set$onChange(t2, new D.MenuComponent_view_menu_helices_closure(_this)); + t3.set$key(t2, _s29_); + t2 = t2.call$0(); + t3 = Z.menu_boolean___$MenuBoolean$closure().call$0(); + t4 = J.getInterceptor$x(t3); + t4.set$value(t3, _this._menu$_cachedTypedProps.get$show_helix_components_main_view()); + t4.set$display(t3, "Show main view helices"); + t3.set$tooltip("Shows helix representation in main view. Hiding them hides all view elements \nassociated with a helix: grid lines depicting offsets, circles with helix index,\nmajor tick offsets."); + t4.set$name(t3, _s31_); + t4.set$onChange(t3, new D.MenuComponent_view_menu_helices_closure0(_this)); + t4.set$key(t3, _s31_); + t3 = t3.call$0(); + t4 = Z.menu_boolean___$MenuBoolean$closure().call$0(); + t5 = J.getInterceptor$x(t4); + t5.set$value(t4, _this._menu$_cachedTypedProps.get$show_helix_circles_main_view()); + t5.set$display(t4, "Show main view helix circles/idx"); + t4.set$tooltip('Shows helix circles and idx\'s in main view. You may want to hide them for\ndesigns that have overlapping non-parallel helices.\n\nTo hide all view elements associated with helices (e.g., major ticks),\ntoggle "Show main view helices".'); + t5.set$name(t4, _s28_); + t5.set$onChange(t4, new D.MenuComponent_view_menu_helices_closure1(_this)); + t5.set$key(t4, _s28_); + t4 = t4.call$0(); + t5 = Z.menu_boolean___$MenuBoolean$closure().call$0(); + t6 = J.getInterceptor$x(t5); + t6.set$value(t5, _this._menu$_cachedTypedProps.get$show_grid_coordinates_side_view()); + t6.set$display(t5, "Show helix coordinates in side view"); + t5.set$tooltip("Displays coordinates of each helix in the side view (either grid coordinates \nor real coordinates in nanometers, depending on whether a grid is selected)."); + t6.set$name(t5, _s31_0); + t6.set$onChange(t5, new D.MenuComponent_view_menu_helices_closure2(_this)); + t6.set$key(t5, _s31_0); + return t1.call$1(H.setRuntimeTypeInfo([t2, t3, t4, t5.call$0()], type$.JSArray_legacy_ReactElement)); + }, + view_menu_display_major_ticks_options$0: function() { + var t3, t4, t5, t6, t7, t8, t9, t10, _this = this, + _s45_ = "view_menu_display_major_tick_offsets-dropdown", + _s53_ = "Adjust to change the font size of major tick offsets.", + t1 = M.menu_dropdown_right___$MenuDropdownRight$closure().call$0(), + t2 = J.getInterceptor$x(t1); + t2.set$title(t1, "Major ticks"); + t2.set$id(t1, _s45_); + t2.set$key(t1, _s45_); + t2.set$className(t1, "submenu_item"); + t2 = Z.menu_boolean___$MenuBoolean$closure().call$0(); + t3 = J.getInterceptor$x(t2); + t3.set$value(t2, _this._menu$_cachedTypedProps.get$display_of_major_ticks_offsets()); + t3.set$display(t2, "Display major tick offsets"); + t2.set$tooltip("Display the integer base offset to the right of each major tick, on the first helix."); + t3.set$onChange(t2, new D.MenuComponent_view_menu_display_major_ticks_options_closure(_this)); + t3.set$key(t2, "display-major-tick-offsets"); + t2 = t2.call$0(); + t3 = Z.menu_boolean___$MenuBoolean$closure().call$0(); + t4 = J.getInterceptor$x(t3); + t4.set$value(t3, !H.boolConversionCheck(_this._menu$_cachedTypedProps.get$display_base_offsets_of_major_ticks_only_first_helix())); + t3.set$hide(!H.boolConversionCheck(_this._menu$_cachedTypedProps.get$display_of_major_ticks_offsets())); + t4.set$display(t3, "... on all helices"); + t3.set$tooltip("Display the integer base offset to the right of each major tick, for all helices."); + t4.set$onChange(t3, new D.MenuComponent_view_menu_display_major_ticks_options_closure0(_this)); + t4.set$key(t3, "display-major-tick-offsets-on-all-helices"); + t3 = t3.call$0(); + t4 = M.menu_number___$MenuNumber$closure().call$0(); + t5 = J.getInterceptor$z(t4); + t5.set$display(t4, "major tick offset font size"); + t6 = _this._menu$_cachedTypedProps; + t6 = t6.get$props(t6).$index(0, string$.MenuPrmao); + t4.set$default_value(H._asNumS(t6 == null ? null : t6)); + t4.set$hide(!H.boolConversionCheck(_this._menu$_cachedTypedProps.get$display_of_major_ticks_offsets())); + t4.set$tooltip(_s53_); + t4.set$on_new_value(new D.MenuComponent_view_menu_display_major_ticks_options_closure1(_this)); + t5.set$key(t4, "major-tick-offset-font-size"); + t4 = t4.call$0(); + t5 = type$.dynamic; + t5 = $.$get$DropdownDivider().call$1(P.LinkedHashMap_LinkedHashMap$_literal(["key", "divider-major-tick-offset-from-width"], t5, t5)); + t6 = Z.menu_boolean___$MenuBoolean$closure().call$0(); + t7 = J.getInterceptor$x(t6); + t7.set$value(t6, _this._menu$_cachedTypedProps.get$display_major_tick_widths()); + t7.set$display(t6, "Display major tick widths"); + t6.set$tooltip("Display the number of bases between each adjacent pair of major ticks, on the first helix."); + t7.set$onChange(t6, new D.MenuComponent_view_menu_display_major_ticks_options_closure2(_this)); + t7.set$key(t6, "display-major-tick-widths"); + t6 = t6.call$0(); + t7 = Z.menu_boolean___$MenuBoolean$closure().call$0(); + t8 = J.getInterceptor$x(t7); + t8.set$value(t7, _this._menu$_cachedTypedProps.get$display_major_tick_widths_all_helices()); + t7.set$hide(!H.boolConversionCheck(_this._menu$_cachedTypedProps.get$display_major_tick_widths())); + t8.set$display(t7, "...on all helices"); + t7.set$tooltip("Display the number of bases between each adjacent pair of major ticks, on all helices."); + t8.set$onChange(t7, new D.MenuComponent_view_menu_display_major_ticks_options_closure3(_this)); + t8.set$key(t7, "display-major-tick-widths-on-all-helices"); + t7 = t7.call$0(); + t8 = M.menu_number___$MenuNumber$closure().call$0(); + t9 = J.getInterceptor$z(t8); + t9.set$display(t8, "Major tick width font size"); + t10 = _this._menu$_cachedTypedProps; + t10 = t10.get$props(t10).$index(0, string$.MenuPrmaw); + t8.set$default_value(H._asNumS(t10 == null ? null : t10)); + t8.set$hide(!H.boolConversionCheck(_this._menu$_cachedTypedProps.get$display_major_tick_widths())); + t8.set$tooltip(_s53_); + t8.set$on_new_value(new D.MenuComponent_view_menu_display_major_ticks_options_closure4(_this)); + t9.set$key(t8, "major-tick-width-font-size"); + return t1.call$1([t2, t3, t4, t5, t6, t7, t8.call$0()]); + }, + view_menu_base_pairs$0: function() { + var t3, t4, t5, _this = this, + t1 = M.menu_dropdown_right___$MenuDropdownRight$closure().call$0(), + t2 = J.getInterceptor$x(t1); + t2.set$title(t1, "Base pairs"); + t2.set$id(t1, "view_menu_base_pairs"); + t2.set$key(t1, "view_menu_base_pairs-dropdown"); + t2.set$className(t1, "submenu_item"); + t2 = Z.menu_boolean___$MenuBoolean$closure().call$0(); + t3 = J.getInterceptor$x(t2); + t3.set$value(t2, _this._menu$_cachedTypedProps.get$base_pair_display_type().toIndex$0() === 1); + t3.set$display(t2, "Display as " + C.BasePairDisplayType_lines.display_name$0()); + t3.set$key(t2, "base-pair-display-lines"); + t3.set$onChange(t2, new D.MenuComponent_view_menu_base_pairs_closure(_this)); + t2 = t2.call$0(); + t3 = Z.menu_boolean___$MenuBoolean$closure().call$0(); + t4 = J.getInterceptor$x(t3); + t4.set$value(t3, _this._menu$_cachedTypedProps.get$base_pair_display_type().toIndex$0() === 2); + t4.set$display(t3, "Display as " + C.BasePairDisplayType_rectangle.display_name$0()); + t4.set$key(t3, "base-pair-display-rectangle"); + t4.set$onChange(t3, new D.MenuComponent_view_menu_base_pairs_closure0(_this)); + t3 = t3.call$0(); + t4 = Z.menu_boolean___$MenuBoolean$closure().call$0(); + t5 = J.getInterceptor$x(t4); + t5.set$value(t4, _this._menu$_cachedTypedProps.get$show_base_pair_lines_with_mismatches()); + t5.set$display(t4, "... even if bases mismatch"); + t5.set$key(t4, "base-pair-display-even-if-bases-mismatch"); + t4.set$hide(_this._menu$_cachedTypedProps.get$base_pair_display_type().toIndex$0() === 0); + t4.set$tooltip("Lines are drawn between all pairs of bases at the same offset on the same helix, \nregardless of whether the bases are complementary. If unchecked then lines are \nonly shown between pairs of complementary bases."); + t5.set$onChange(t4, new D.MenuComponent_view_menu_base_pairs_closure1(_this)); + return t1.call$1(H.setRuntimeTypeInfo([t2, t3, t4.call$0()], type$.JSArray_legacy_ReactElement)); + }, + view_menu_dna$0: function() { + var t3, t4, _this = this, + _s33_ = "display-reverse-DNA-right-side-up", + t1 = M.menu_dropdown_right___$MenuDropdownRight$closure().call$0(), + t2 = J.getInterceptor$x(t1); + t2.set$title(t1, "DNA"); + t2.set$id(t1, "view_menu_dna"); + t2.set$key(t1, "view_menu_dna-dropdown"); + t2.set$className(t1, "submenu_item"); + t2 = Z.menu_boolean___$MenuBoolean$closure().call$0(); + t3 = J.getInterceptor$x(t2); + t3.set$value(t2, _this._menu$_cachedTypedProps.get$show_dna()); + t3.set$display(t2, "DNA sequences"); + t2.set$tooltip("Show DNA sequences that have been assigned to strands. In a large design, this\ncan slow down the performance of panning and zooming navigation, so uncheck it\nto speed up navigation."); + t3.set$onChange(t2, new D.MenuComponent_view_menu_dna_closure(_this)); + t3.set$key(t2, "show-dna-sequences"); + t2 = t2.call$0(); + t3 = Z.menu_boolean___$MenuBoolean$closure().call$0(); + t4 = J.getInterceptor$x(t3); + t4.set$value(t3, _this._menu$_cachedTypedProps.get$display_reverse_DNA_right_side_up()); + t4.set$display(t3, "Display reverse DNA right-side up"); + t3.set$tooltip("Displays DNA right-side up on reverse strands."); + t4.set$name(t3, _s33_); + t3.set$hide(!H.boolConversionCheck(_this._menu$_cachedTypedProps.get$show_dna())); + t4.set$onChange(t3, new D.MenuComponent_view_menu_dna_closure0(_this)); + t4.set$key(t3, _s33_); + return t1.call$1(H.setRuntimeTypeInfo([t2, t3.call$0()], type$.JSArray_legacy_ReactElement)); + }, + view_menu_show_oxview$0: function() { + var _s11_ = "show-oxview", + t1 = Z.menu_boolean___$MenuBoolean$closure().call$0(), + t2 = J.getInterceptor$x(t1); + t2.set$value(t1, this._menu$_cachedTypedProps.get$show_oxview()); + t2.set$display(t1, "Show oxView"); + t1.set$tooltip('Displays an embedded oxView window to visualize the 3D structure of the design.\n\nCurrently the view is "read-only", it will export the scadnano design and show \nit in the oxView window, but changes made in the oxView window are not propagated\nback to the scadnano design. Any changes will be lost the next time the scadnano\ndesign is edited.'); + t2.set$name(t1, _s11_); + t2.set$onChange(t1, new D.MenuComponent_view_menu_show_oxview_closure(this)); + t2.set$key(t1, _s11_); + return H.setRuntimeTypeInfo([t1.call$0()], type$.JSArray_legacy_ReactElement); + }, + view_menu_zoom_speed$0: function() { + var t3, + t1 = M.menu_number___$MenuNumber$closure().call$0(), + t2 = J.getInterceptor$z(t1); + t2.set$display(t1, "Zoom speed"); + t3 = this._menu$_cachedTypedProps; + t3 = t3.get$props(t3).$index(0, "MenuPropsMixin.zoom_speed"); + t1.set$default_value(H._asNumS(t3 == null ? null : t3)); + t1.set$min_value(0); + t2.set$step(t1, 0.05); + t1.set$tooltip("The speed at which the mouse wheel or two-finger scroll zooms the view in and out."); + t1.set$on_new_value(new D.MenuComponent_view_menu_zoom_speed_closure(this)); + t2.set$key(t1, "zoom-speed"); + return H.setRuntimeTypeInfo([t1.call$0()], type$.JSArray_legacy_ReactElement); + }, + view_menu_misc$0: function() { + var t3, t4, t5, t6, t7, t8, _this = this, + _s13_ = "invert-y-axis", + _s24_ = "show-helices-axis-arrows", + _s29_ = "show-loopout-extension-length", + _s14_ = "show-slice-bar", + _s19_ = "show-mouseover-data", + _s33_ = "disable-png-caching-dna-sequences", + _s32_ = "retain-strand-color-on-selection", + t1 = Z.menu_boolean___$MenuBoolean$closure().call$0(), + t2 = J.getInterceptor$x(t1); + t2.set$value(t1, _this._menu$_cachedTypedProps.get$invert_y()); + t2.set$display(t1, "Invert y-axis"); + t1.set$tooltip('Invert the y-axis by rotating 180 degrees about the z-axis (within the x/y plane).\n\nIf unchecked, then use "screen coordinates", where increasing y moves down. \n\nIf checked, then use Cartesian coordinates where increasing y moves up.\n\nTo inspect how all axes change, check View --> Show axis arrows.'); + t2.set$name(t1, _s13_); + t2.set$onChange(t1, new D.MenuComponent_view_menu_misc_closure(_this)); + t2.set$key(t1, _s13_); + t1 = t1.call$0(); + t2 = Z.menu_boolean___$MenuBoolean$closure().call$0(); + t3 = J.getInterceptor$x(t2); + t3.set$value(t2, _this._menu$_cachedTypedProps.get$show_helices_axis_arrows()); + t3.set$display(t2, "Axis arrows"); + t2.set$tooltip("Show axis arrows in side and main view\nRed : X-axis\nGreen : Y-axis\nBlue : Z-axis"); + t3.set$name(t2, _s24_); + t3.set$onChange(t2, new D.MenuComponent_view_menu_misc_closure0(_this)); + t3.set$key(t2, _s24_); + t2 = t2.call$0(); + t3 = Z.menu_boolean___$MenuBoolean$closure().call$0(); + t4 = J.getInterceptor$x(t3); + t4.set$value(t3, _this._menu$_cachedTypedProps.get$show_loopout_extension_length()); + t4.set$display(t3, "Loopout/extension lengths"); + t3.set$tooltip("When selected, the length of each loopout and extension is displayed next to it."); + t4.set$name(t3, _s29_); + t4.set$onChange(t3, new D.MenuComponent_view_menu_misc_closure1(_this)); + t4.set$key(t3, _s29_); + t3 = t3.call$0(); + t4 = Z.menu_boolean___$MenuBoolean$closure().call$0(); + t5 = J.getInterceptor$x(t4); + t5.set$value(t4, _this._menu$_cachedTypedProps.get$show_slice_bar()); + t5.set$display(t4, "Slice bar"); + t4.set$tooltip("When selected, a slicebar is displayed, which users can drag and move to\ndisplay the DNA backbone angle of all helices at a particular offset.\n "); + t5.set$name(t4, _s14_); + t5.set$onChange(t4, new D.MenuComponent_view_menu_misc_closure2(_this)); + t5.set$key(t4, _s14_); + t4 = t4.call$0(); + t5 = Z.menu_boolean___$MenuBoolean$closure().call$0(); + t6 = J.getInterceptor$x(t5); + t6.set$value(t5, _this._menu$_cachedTypedProps.get$show_mouseover_data()); + t6.set$display(t5, "Strand and helix details in footer"); + t5.set$tooltip("When selected, the footer will display details about the design based\non where the cursor is located. If the cursor is on a helix, the helix\nindex and cursor's base offset location is displayed. If the cursor is\non a strand, then the strand details will also be displayed.\n\nIn a large design, this can slow down the performance, so uncheck it when not in use.\n "); + t6.set$name(t5, _s19_); + t6.set$onChange(t5, new D.MenuComponent_view_menu_misc_closure3(_this)); + t6.set$key(t5, _s19_); + t5 = t5.call$0(); + t6 = Z.menu_boolean___$MenuBoolean$closure().call$0(); + t7 = J.getInterceptor$x(t6); + t7.set$value(t6, _this._menu$_cachedTypedProps.get$disable_png_caching_dna_sequences()); + t7.set$display(t6, "Disable PNG caching of DNA sequences"); + t6.set$tooltip("DNA sequences are displayed as SVG (scaled vector graphics), which slow down the program\nsignificantly when zoomed far out on a large design and hundreds or thousands of DNA bases \nare displayed simultaneously. To prevent this, the image of DNA sequences is converted \nto a PNG image when zoomed out sufficiently far, which is much faster to display.\n\nSelect this option to disable this PNG caching of DNA sequences. This can be useful when \ndebugging, but be warned that it will be very slow to render a large number of DNA bases."); + t7.set$name(t6, _s33_); + t7.set$onChange(t6, new D.MenuComponent_view_menu_misc_closure4(_this)); + t7.set$key(t6, _s33_); + t6 = t6.call$0(); + t7 = Z.menu_boolean___$MenuBoolean$closure().call$0(); + t8 = J.getInterceptor$x(t7); + t8.set$value(t7, _this._menu$_cachedTypedProps.get$retain_strand_color_on_selection()); + t8.set$display(t7, "Retain strand color on selection"); + t7.set$tooltip("Selected strands are normally highlighted in hot pink, which overrides the strand's color.\nSelect this option to not override the strand's color when it is selected.\nA highlighting effect will still appear.\n "); + t8.set$name(t7, _s32_); + t8.set$onChange(t7, new D.MenuComponent_view_menu_misc_closure5(_this)); + t8.set$key(t7, _s32_); + return H.setRuntimeTypeInfo([t1, t2, t3, t4, t5, t6, t7.call$0()], type$.JSArray_legacy_ReactElement); + }, + export_menu$0: function() { + var t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, _this = this, + _s26_ = "export-svg-text-separately", + _s31_ = "ox-export-only-selected-strands", + t1 = $.$get$NavDropdown(), + t2 = type$.dynamic, + t3 = P.LinkedHashMap_LinkedHashMap$_literal(["title", "Export", "id", "export-nav-dropdown"], t2, t2), + t4 = N.menu_dropdown_item___$MenuDropdownItem$closure().call$0(); + t4.set$on_click(new D.MenuComponent_export_menu_closure(_this)); + t4.set$tooltip("Export SVG figure of side view (cross-section of helices on the left side of screen)."); + J.set$display$z(t4, "SVG side view"); + t4 = t4.call$0(); + t5 = N.menu_dropdown_item___$MenuDropdownItem$closure().call$0(); + t5.set$on_click(new D.MenuComponent_export_menu_closure0(_this)); + t5.set$tooltip("Export SVG figure of main view (design shown in center of screen)."); + J.set$display$z(t5, "SVG main view"); + t5 = t5.call$0(); + t6 = N.menu_dropdown_item___$MenuDropdownItem$closure().call$0(); + t6.set$on_click(new D.MenuComponent_export_menu_closure1(_this)); + t6.set$tooltip("Export SVG figure of selected strands"); + J.set$display$z(t6, "SVG of selected strands"); + t6 = t6.call$0(); + t7 = Z.menu_boolean___$MenuBoolean$closure().call$0(); + t8 = J.getInterceptor$x(t7); + t8.set$value(t7, _this._menu$_cachedTypedProps.get$export_svg_text_separately()); + t8.set$display(t7, "export svg text separately (PPT)"); + t7.set$tooltip("When selected, every symbol of the text in a DNA sequence is exported as a separate\nSVG text element. This is useful if the SVG will be imported into Powerpoint, which \nis less expressive than SVG and can render the text strangely."); + t8.set$name(t7, _s26_); + t8.set$onChange(t7, new D.MenuComponent_export_menu_closure2(_this)); + t8.set$key(t7, _s26_); + t7 = t7.call$0(); + t8 = $.$get$DropdownDivider(); + t9 = t8.call$1(P.LinkedHashMap_LinkedHashMap$_literal(["key", "divider-export-svg"], t2, t2)); + t10 = N.menu_dropdown_item___$MenuDropdownItem$closure().call$0(); + t10.set$on_click(new D.MenuComponent_export_menu_closure3()); + t10.set$tooltip("Export DNA sequences of strands to a file."); + J.set$display$z(t10, "DNA sequences"); + t10 = t10.call$0(); + t11 = N.menu_dropdown_item___$MenuDropdownItem$closure().call$0(); + t11.set$on_click(new D.MenuComponent_export_menu_closure4(_this)); + t11.set$tooltip("Export design's DNA sequences as a CSV in the same way as cadnano v2.\nThis is useful, for example, with CanDo's atomic model generator."); + J.set$display$z(t11, "DNA sequences (cadnano v2 format)"); + t11 = t11.call$0(); + t12 = t8.call$1(P.LinkedHashMap_LinkedHashMap$_literal(["key", "divider-export-dna"], t2, t2)); + t13 = N.menu_dropdown_item___$MenuDropdownItem$closure().call$0(); + t13.set$on_click(new D.MenuComponent_export_menu_closure5(_this)); + t13.set$tooltip("Export design to cadnano (version 2) .json file."); + t14 = J.getInterceptor$z(t13); + t14.set$display(t13, "cadnano v2"); + t14.set$key(t13, "export-cadnano"); + t13 = t13.call$0(); + t14 = $.$get$DropdownItem().call$2(P.LinkedHashMap_LinkedHashMap$_literal(["href", "https://scadnano-python-package.readthedocs.io/en/latest/#interoperability-cadnano-v2", "target", "_blank", "title", "Read constraints that the scadnano design must obey to exportable to cadnano v2.\nThe constraints are the same for the scadnano Python package (described at the \nlinked page) as for the web interface.\n"], t2, t2), "cadnano v2 export instructions"); + t15 = N.menu_dropdown_item___$MenuDropdownItem$closure().call$0(); + t15.set$on_click(new D.MenuComponent_export_menu_closure6(_this)); + t15.set$tooltip("Export design to cadnano (version 2) .json file with no whitespace or newlines.\nThis is necessary to use the cadnano file with CanDo, which causes a confusing error \ncadnano files that have whitespace. (\"Bad .json file format is detected in \n'structure.json'. Or no dsDNA or strand crossovers exist.\")"); + t16 = J.getInterceptor$z(t15); + t16.set$display(t15, "cadnano v2 no whitespace"); + t16.set$key(t15, "export-cadnano-no-whitespace"); + t15 = t15.call$0(); + t2 = t8.call$1(P.LinkedHashMap_LinkedHashMap$_literal(["key", "divider-cadnano"], t2, t2)); + t8 = N.menu_dropdown_item___$MenuDropdownItem$closure().call$0(); + t8.set$on_click(new D.MenuComponent_export_menu_closure7(_this)); + t8.set$tooltip("Export design to oxView files, which can be loaded in oxView."); + t16 = J.getInterceptor$z(t8); + t16.set$display(t8, "oxView"); + t16.set$key(t8, "export-oxview"); + t8 = t8.call$0(); + t16 = N.menu_dropdown_item___$MenuDropdownItem$closure().call$0(); + t16.set$on_click(new D.MenuComponent_export_menu_closure8(_this)); + t16.set$tooltip("Export design to oxDNA .dat and .top files, which can be loaded in oxDNA or oxView."); + t17 = J.getInterceptor$z(t16); + t17.set$display(t16, "oxDNA"); + t17.set$key(t16, "export-oxdna"); + t16 = t16.call$0(); + t17 = Z.menu_boolean___$MenuBoolean$closure().call$0(); + t18 = J.getInterceptor$x(t17); + t18.set$value(t17, _this._menu$_cachedTypedProps.get$ox_export_only_selected_strands()); + t18.set$display(t17, "export only selected strands"); + t17.set$tooltip("When selected, only selected strands will be exported to oxDNA or oxView formats."); + t18.set$name(t17, _s31_); + t18.set$onChange(t17, new D.MenuComponent_export_menu_closure9(_this)); + t18.set$key(t17, _s31_); + return t1.call$16(t3, t4, t5, t6, t7, t9, t10, t11, t12, t13, t14, t15, t2, t8, t16, t17.call$0()); + }, + help_menu$0: function() { + var t1, t2, t3, t4, first, _i, version, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, + version_dropdown_items = H.setRuntimeTypeInfo([], type$.JSArray_legacy_ReactElement); + for (t1 = $.$get$scadnano_versions_to_link(), t2 = t1.length, t3 = type$.legacy_ReactElement, t4 = type$.dynamic, first = true, _i = 0; _i < t1.length; t1.length === t2 || (0, H.throwConcurrentModificationError)(t1), ++_i, first = false) { + version = t1[_i]; + t5 = $.$get$DropdownItem(); + t6 = P.LinkedHashMap_LinkedHashMap$_literal(["href", "https://scadnano.org/v" + H.S(version) + "/index.html", "target", "_blank", "key", version, "title", " Version v" + H.S(version) + " of scadnano, located at https://scadnano.org/v" + H.S(version) + "/index.html."], t4, t4); + t7 = "v" + H.S(version); + C.JSArray_methods.add$1(version_dropdown_items, t3._as(t5.call$2(t6, t7 + (first ? " (current version)" : "")))); + } + t1 = $.$get$NavDropdown(); + t2 = P.LinkedHashMap_LinkedHashMap$_literal(["title", "Help", "id", "help-nav-dropdown"], t4, t4); + t3 = $.$get$DropdownItem(); + t5 = t3.call$2(P.LinkedHashMap_LinkedHashMap$_literal(["href", "https://github.com/UC-Davis-molecular-computing/scadnano#readme", "target", "_blank"], t4, t4), "help (web interface)"); + t6 = t3.call$2(P.LinkedHashMap_LinkedHashMap$_literal(["href", "https://github.com/UC-Davis-molecular-computing/scadnano/blob/main/tutorial/tutorial.md", "target", "_blank"], t4, t4), "tutorial (web interface)"); + t7 = t3.call$2(P.LinkedHashMap_LinkedHashMap$_literal(["href", "https://github.com/UC-Davis-molecular-computing/scadnano-python-package#readme", "target", "_blank"], t4, t4), "help (Python scripting)"); + t8 = t3.call$2(P.LinkedHashMap_LinkedHashMap$_literal(["href", "https://github.com/UC-Davis-molecular-computing/scadnano-python-package/blob/main/tutorial/tutorial.md", "target", "_blank"], t4, t4), "tutorial (Python scripting)"); + t9 = t3.call$2(P.LinkedHashMap_LinkedHashMap$_literal(["href", "https://scadnano-python-package.readthedocs.io", "target", "_blank"], t4, t4), "Python scripting API"); + t10 = t3.call$2(P.LinkedHashMap_LinkedHashMap$_literal(["href", "https://github.com/UC-Davis-molecular-computing/scadnano/issues", "target", "_blank", "title", 'To file a bug report or feature request for the scadnano web interface, \nclick on "New issue" on the top right of the Issues page on at the \nscadnano Github repository.\n\nIf it is a bug report, please include as much detailed information as \npossible, including screenshots if applicable, and a copy of the .sc file \nthat caused the error, and an exact description of the steps needed to\nhelp us reproduce the error.\n\nNote that you cannot upload a .sc file directly to GitHub, but if you put \nthe .sc file in a .zip file, then it can be uploaded.'], t4, t4), "Bug report/feature request (web interface)"); + t11 = t3.call$2(P.LinkedHashMap_LinkedHashMap$_literal(["href", "https://github.com/UC-Davis-molecular-computing/scadnano-python-package/issues", "target", "_blank", "title", 'To file a bug report or feature request for the Python scripting library, \nclick on "New issue" on the top right of the Issues page on at the \nscadnano-python-package Github repository.\n\nIf it is a bug report, please include as much detailed information as \npossible, including a copy of the .sc file that caused the error, and an \nexact description of the steps needed to help us reproduce the error.\n\nNote that you cannot upload a .sc file directly to GitHub, but if you put \nthe .sc file in a .zip file, then it can be uploaded.'], t4, t4), "Bug report/feature request (Python scripting)"); + t12 = t3.call$2(P.LinkedHashMap_LinkedHashMap$_literal(["href", "https://github.com/UC-Davis-molecular-computing/scadnano/releases", "target", "_blank"], t4, t4), "Release notes (web interface)"); + t13 = t3.call$2(P.LinkedHashMap_LinkedHashMap$_literal(["href", "https://github.com/UC-Davis-molecular-computing/scadnano-python-package/releases", "target", "_blank"], t4, t4), "Release notes (Python scripting)"); + t14 = M.menu_dropdown_right___$MenuDropdownRight$closure().call$0(); + t15 = J.getInterceptor$x(t14); + t15.set$title(t14, "Other versions"); + t15.set$id(t14, "older-version-dropdown"); + J.$indexSet$ax(t15.get$props(t14), "MenuDropdownRightProps.disallow_overflow", true); + J.$indexSet$ax(t15.get$props(t14), "MenuDropdownRightProps.tooltip", 'Older versions of scadnano, as well as the newest development version.\n\nStarting from v0.12.1, every released (master branch) version of scadnano \nis deployed to https://scadnano.org/{version}. \n\nhttps://scadnano.org/dev is the newest version, containing newer features \n(those marked "closed in dev" on the scadnano issues page: \nhttps://github.com/UC-Davis-molecular-computing/scadnano/issues), \nbut it may be less stable than the current version.'); + t4 = t14.call$1([t3.call$2(P.LinkedHashMap_LinkedHashMap$_literal(["href", "https://scadnano.org/dev", "target", "_blank", "key", "dev", "title", "Development version of scadnano, located at https://scadnano.org/dev.\n\nThis site is updated more frequently than the main site at https://scadnano.org.\n\nThis includes open issues that have been handled in the dev branch but not the main branch:\nhttps://github.com/UC-Davis-molecular-computing/scadnano/labels/closed%20in%20dev\n\nHowever, it may be less stable than the main site."], t4, t4), "dev"), version_dropdown_items]); + t3 = N.menu_dropdown_item___$MenuDropdownItem$closure().call$0(); + t3.set$on_click(new D.MenuComponent_help_menu_closure()); + J.set$display$z(t3, "About"); + return t1.call$12(t2, t5, t6, t7, t8, t9, t10, t11, t12, t13, t4, t3.call$0()); + }, + load_example_dialog$0: function() { + var $async$goto = 0, + $async$completer = P._makeAsyncAwaitCompleter(type$.void), + $async$returnValue, $async$self = this, results, selected_idx, t1; + var $async$load_example_dialog$0 = P._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { + if ($async$errorCode === 1) + return P._asyncRethrow($async$result, $async$completer); + while (true) + switch ($async$goto) { + case 0: + // Function start + t1 = $async$self._menu$_cachedTypedProps; + t1 = t1.get$props(t1).$index(0, "MenuPropsMixin.example_designs"); + if (t1 == null) + t1 = null; + $async$goto = 3; + return P._asyncAwait(E.dialog(E.Dialog_Dialog(C.Set_empty, C.Map_empty2, C.Map_empty2, C.Map_empty3, H.setRuntimeTypeInfo([E.DialogRadio_DialogRadio("designs", null, type$.legacy_ExampleDesigns._as(t1).filenames, true, 0, null)], type$.JSArray_legacy_DialogItem), C.List_empty1, E.dialog_Dialog_identity_function$closure(), "Load example DNA design", C.DialogType_load_example_dna_design, true)), $async$load_example_dialog$0); + case 3: + // returning from await. + results = $async$result; + if (results == null) { + // goto return + $async$goto = 1; + break; + } + selected_idx = type$.legacy_DialogRadio._as(J.$index$asx(results, 0)).selected_idx; + $async$self._menu$_cachedTypedProps.dispatch$1(U._$ExampleDesignsLoad$_(selected_idx)); + case 1: + // return + return P._asyncReturn($async$returnValue, $async$completer); + } + }); + return P._asyncStartSync($async$load_example_dialog$0, $async$completer); + } + }; + D.MenuComponent_file_menu_closure.prototype = { + call$1: function(_) { + type$.legacy_SyntheticMouseEvent._as(_); + return $.app.disable_keyboard_shortcuts_while$1$1(this.$this.get$load_example_dialog(), type$.void); + }, + $signature: 58 + }; + D.MenuComponent_file_menu_closure0.prototype = { + call$1: function(ext) { + return C.JSString_methods.$add(".", H._asStringS(ext)); + }, + $signature: 27 + }; + D.MenuComponent_file_menu_closure1.prototype = { + call$1: function(e) { + return D.request_load_file_from_file_chooser(type$.legacy_FileUploadInputElement._as(J.get$target$x(type$.legacy_SyntheticFormEvent._as(e))), D.menu__scadnano_file_loaded$closure()); + }, + $signature: 5 + }; + D.MenuComponent_file_menu_closure2.prototype = { + call$1: function(_) { + type$.legacy_SyntheticMouseEvent._as(_); + return this.$this._menu$_cachedTypedProps.dispatch$1(U._$SaveDNAFile__$SaveDNAFile()); + }, + $signature: 3 + }; + D.MenuComponent_file_menu_closure3.prototype = { + call$1: function(_) { + var t1; + type$.legacy_SyntheticFormEvent._as(_); + t1 = this.$this._menu$_cachedTypedProps; + return t1.dispatch$1(U._$WarnOnExitIfUnsavedSet$_(!H.boolConversionCheck(t1.get$warn_on_exit_if_unsaved()))); + }, + $signature: 5 + }; + D.MenuComponent_file_menu_closure4.prototype = { + call$1: function(e) { + return D.request_load_file_from_file_chooser(type$.legacy_FileUploadInputElement._as(J.get$target$x(type$.legacy_SyntheticFormEvent._as(e))), D.menu__cadnano_file_loaded$closure()); + }, + $signature: 5 + }; + D.MenuComponent_file_menu_closure5.prototype = { + call$1: function(_) { + type$.legacy_SyntheticMouseEvent._as(_); + if (H.boolConversionCheck(C.Window_methods.confirm$1(window, "WARNING! This will reset all local settings stored in your browser, \nincluding the current design.\n\nAre you sure you want to continue?"))) + this.$this._menu$_cachedTypedProps.dispatch$1(new U._$ResetLocalStorage()); + }, + $signature: 17 + }; + D.MenuComponent_file_menu_closure6.prototype = { + call$1: function(_) { + var t1; + type$.legacy_SyntheticFormEvent._as(_); + t1 = this.$this._menu$_cachedTypedProps; + return t1.dispatch$1(U._$ClearHelixSelectionWhenLoadingNewDesignSet$_(!H.boolConversionCheck(t1.get$clear_helix_selection_when_loading_new_design()))); + }, + $signature: 5 + }; + D.MenuComponent_file_menu_save_design_local_storage_options_closure.prototype = { + call$1: function(_) { + var t1; + type$.legacy_SyntheticFormEvent._as(_); + t1 = this.$this._menu$_cachedTypedProps; + return t1.dispatch$1(U._$LocalStorageDesignChoiceSet$_(t1.get$local_storage_design_choice().to_on_edit$0())); + }, + $signature: 5 + }; + D.MenuComponent_file_menu_save_design_local_storage_options_closure0.prototype = { + call$1: function(_) { + var t1; + type$.legacy_SyntheticFormEvent._as(_); + t1 = this.$this._menu$_cachedTypedProps; + return t1.dispatch$1(U._$LocalStorageDesignChoiceSet$_(t1.get$local_storage_design_choice().to_on_exit$0())); + }, + $signature: 5 + }; + D.MenuComponent_file_menu_save_design_local_storage_options_closure1.prototype = { + call$1: function(_) { + var t1; + type$.legacy_SyntheticFormEvent._as(_); + t1 = this.$this._menu$_cachedTypedProps; + return t1.dispatch$1(U._$LocalStorageDesignChoiceSet$_(t1.get$local_storage_design_choice().to_never$0())); + }, + $signature: 5 + }; + D.MenuComponent_file_menu_save_design_local_storage_options_closure2.prototype = { + call$1: function(_) { + var t1; + type$.legacy_SyntheticFormEvent._as(_); + t1 = this.$this._menu$_cachedTypedProps; + return t1.dispatch$1(U._$LocalStorageDesignChoiceSet$_(t1.get$local_storage_design_choice().to_periodic$0())); + }, + $signature: 5 + }; + D.MenuComponent_file_menu_save_design_local_storage_options_closure3.prototype = { + call$1: function(period) { + H._asNumS(period); + return this.$this._menu$_cachedTypedProps.dispatch$1(U._$LocalStorageDesignChoiceSet$_(Y.LocalStorageDesignChoice_LocalStorageDesignChoice(C.LocalStorageDesignOption_periodic, H._asIntS(period)))); + }, + $signature: 30 + }; + D.MenuComponent_edit_menu_closure.prototype = { + call$1: function(_) { + var t1; + type$.legacy_SyntheticFormEvent._as(_); + t1 = this.$this._menu$_cachedTypedProps; + return t1.dispatch$1(U._$DynamicHelixUpdateSet$_(!H.boolConversionCheck(t1.get$dynamically_update_helices()))); + }, + $signature: 5 + }; + D.MenuComponent_edit_menu_closure0.prototype = { + call$1: function(_) { + var t1; + type$.legacy_SyntheticMouseEvent._as(_); + t1 = this.$this._menu$_cachedTypedProps; + type$.legacy_void_Function_legacy_InlineInsertionsDeletionsBuilder._as(null); + return t1.dispatch$1(new U.InlineInsertionsDeletionsBuilder().build$0()); + }, + $signature: 3 + }; + D.MenuComponent_edit_menu_closure1.prototype = { + call$1: function(_) { + var t1; + type$.legacy_SyntheticMouseEvent._as(_); + t1 = this.$this._menu$_cachedTypedProps; + type$.legacy_void_Function_legacy_JoinStrandsByMultipleCrossoversBuilder._as(null); + return t1.dispatch$1(new U.JoinStrandsByMultipleCrossoversBuilder().build$0()); + }, + $signature: 3 + }; + D.MenuComponent_edit_menu_closure2.prototype = { + call$1: function(_) { + var t1; + type$.legacy_SyntheticMouseEvent._as(_); + t1 = this.$this._menu$_cachedTypedProps; + return D.ask_for_geometry(t1.get$geometry(t1)); + }, + $signature: 58 + }; + D.MenuComponent_edit_menu_closure3.prototype = { + call$1: function(_) { + var t1; + type$.legacy_SyntheticMouseEvent._as(_); + t1 = $.app; + type$.legacy_void_Function_legacy_AutostapleBuilder._as(null); + return t1.dispatch$1(new U.AutostapleBuilder().build$0()); + }, + $signature: 3 + }; + D.MenuComponent_edit_menu_closure4.prototype = { + call$1: function(_) { + type$.legacy_SyntheticMouseEvent._as(_); + return D.ask_for_autobreak_parameters(); + }, + $signature: 58 + }; + D.MenuComponent_undo_dropdowns_closure.prototype = { + call$1: function(i) { + return U.Undo_Undo(i); + }, + $signature: 512 + }; + D.MenuComponent_redo_dropdowns_closure.prototype = { + call$1: function(i) { + return U.Redo_Redo(i); + }, + $signature: 513 + }; + D.MenuComponent_undo_or_redo_dropdown_closure.prototype = { + call$1: function(_) { + type$.legacy_SyntheticMouseEvent._as(_); + return $.app.dispatch$1(this.undo_or_redo_action_creator.call$1(this.num_times)); + }, + $signature: 3 + }; + D.MenuComponent_edit_menu_copy_paste_closure.prototype = { + call$1: function(_) { + type$.legacy_SyntheticMouseEvent._as(_); + if (H.boolConversionCheck(this.$this._menu$_cachedTypedProps.get$enable_copy())) + window.dispatchEvent(W.KeyEvent_KeyEvent("keydown", true, 67).wrapped); + }, + $signature: 17 + }; + D.MenuComponent_edit_menu_copy_paste_closure0.prototype = { + call$1: function(_) { + type$.legacy_SyntheticMouseEvent._as(_); + if (H.boolConversionCheck(this.$this._menu$_cachedTypedProps.get$enable_copy())) + $.app.dispatch$1(U._$CopySelectedStandsToClipboardImage__$CopySelectedStandsToClipboardImage()); + }, + $signature: 17 + }; + D.MenuComponent_edit_menu_copy_paste_closure1.prototype = { + call$1: function(_) { + type$.legacy_SyntheticMouseEvent._as(_); + return window.dispatchEvent(W.KeyEvent_KeyEvent("keydown", true, 86).wrapped); + }, + $signature: 160 + }; + D.MenuComponent_edit_menu_copy_paste_closure2.prototype = { + call$1: function(_) { + type$.legacy_SyntheticMouseEvent._as(_); + return U.paste_strands_auto(); + }, + $signature: 3 + }; + D.MenuComponent_edit_menu_copy_paste_closure3.prototype = { + call$1: function(_) { + type$.legacy_SyntheticMouseEvent._as(_); + return window.dispatchEvent(W.KeyEvent_KeyEvent("keydown", true, 65).wrapped); + }, + $signature: 160 + }; + D.MenuComponent_edit_menu_copy_paste_closure4.prototype = { + call$1: function(_) { + type$.legacy_SyntheticMouseEvent._as(_); + return this.$this._menu$_cachedTypedProps.dispatch$1(U.SelectAllSelectable_SelectAllSelectable(true)); + }, + $signature: 3 + }; + D.MenuComponent_edit_menu_copy_paste_closure5.prototype = { + call$1: function(_) { + type$.legacy_SyntheticMouseEvent._as(_); + return $.app.disable_keyboard_shortcuts_while$1$1(E.selectable__ask_for_select_all_with_same_as_selected$closure(), type$.void); + }, + $signature: 58 + }; + D.MenuComponent_edit_menu_copy_paste_closure6.prototype = { + call$1: function(_) { + var t1; + type$.legacy_SyntheticFormEvent._as(_); + t1 = this.$this._menu$_cachedTypedProps; + return t1.dispatch$1(U._$SelectionBoxIntersectionRuleSet$_(!H.boolConversionCheck(t1.get$selection_box_intersection()))); + }, + $signature: 5 + }; + D.MenuComponent_edit_menu_copy_paste_closure7.prototype = { + call$1: function(_) { + var t1; + type$.legacy_SyntheticFormEvent._as(_); + t1 = this.$this._menu$_cachedTypedProps; + return t1.dispatch$1(U._$StrandPasteKeepColorSet$_(!H.boolConversionCheck(t1.get$strand_paste_keep_color()))); + }, + $signature: 5 + }; + D.MenuComponent_edit_menu_helix_rolls_closure.prototype = { + call$1: function(_) { + type$.legacy_SyntheticMouseEvent._as(_); + return this.$this._menu$_cachedTypedProps.dispatch$1(U._$RelaxHelixRolls$_(false)); + }, + $signature: 3 + }; + D.MenuComponent_edit_menu_helix_rolls_closure0.prototype = { + call$1: function(_) { + type$.legacy_SyntheticMouseEvent._as(_); + return this.$this._menu$_cachedTypedProps.dispatch$1(U._$RelaxHelixRolls$_(true)); + }, + $signature: 3 + }; + D.MenuComponent_edit_menu_helix_rolls_closure1.prototype = { + call$1: function(_) { + var t1; + type$.legacy_SyntheticMouseEvent._as(_); + t1 = this.$this._menu$_cachedTypedProps; + type$.legacy_void_Function_legacy_HelicesPositionsSetBasedOnCrossoversBuilder._as(null); + return t1.dispatch$1(new U.HelicesPositionsSetBasedOnCrossoversBuilder().build$0()); + }, + $signature: 3 + }; + D.MenuComponent_edit_menu_helix_rolls_closure2.prototype = { + call$1: function(_) { + var t1, t2; + type$.legacy_SyntheticFormEvent._as(_); + t1 = this.$this; + if (H.boolConversionCheck(t1._menu$_cachedTypedProps.get$default_crossover_type_staple_for_setting_helix_rolls())) { + t2 = t1._menu$_cachedTypedProps; + t2.dispatch$1(U._$DefaultCrossoverTypeForSettingHelixRollsSet$_(!H.boolConversionCheck(t2.get$default_crossover_type_scaffold_for_setting_helix_rolls()), t1._menu$_cachedTypedProps.get$default_crossover_type_staple_for_setting_helix_rolls())); + } + }, + $signature: 10 + }; + D.MenuComponent_edit_menu_helix_rolls_closure3.prototype = { + call$1: function(_) { + var t1, t2; + type$.legacy_SyntheticFormEvent._as(_); + t1 = this.$this; + if (H.boolConversionCheck(t1._menu$_cachedTypedProps.get$default_crossover_type_scaffold_for_setting_helix_rolls())) { + t2 = t1._menu$_cachedTypedProps; + t2.dispatch$1(U._$DefaultCrossoverTypeForSettingHelixRollsSet$_(t2.get$default_crossover_type_scaffold_for_setting_helix_rolls(), !H.boolConversionCheck(t1._menu$_cachedTypedProps.get$default_crossover_type_staple_for_setting_helix_rolls()))); + } + }, + $signature: 10 + }; + D.MenuComponent_view_menu_autofit_closure.prototype = { + call$1: function(_) { + type$.legacy_SyntheticMouseEvent._as(_); + self.fit_and_center(); + $.app.dispatch$1(U.SetIsZoomAboveThreshold_SetIsZoomAboveThreshold(true)); + }, + $signature: 17 + }; + D.MenuComponent_view_menu_autofit_closure0.prototype = { + call$1: function(_) { + var t1; + type$.legacy_SyntheticFormEvent._as(_); + t1 = this.$this._menu$_cachedTypedProps; + return t1.dispatch$1(U._$AutofitSet$_(!H.boolConversionCheck(t1.get$autofit()))); + }, + $signature: 5 + }; + D.MenuComponent_view_menu_warnings_closure.prototype = { + call$1: function(_) { + var t1; + type$.legacy_SyntheticFormEvent._as(_); + t1 = this.$this._menu$_cachedTypedProps; + t1.dispatch$1(U.ShowMismatchesSet_ShowMismatchesSet(!H.boolConversionCheck(t1.get$show_mismatches()))); + }, + $signature: 10 + }; + D.MenuComponent_view_menu_warnings_closure0.prototype = { + call$1: function(_) { + var t1; + type$.legacy_SyntheticFormEvent._as(_); + t1 = this.$this._menu$_cachedTypedProps; + t1.dispatch$1(U.ShowDomainNameMismatchesSet_ShowDomainNameMismatchesSet(!H.boolConversionCheck(t1.get$show_domain_name_mismatches()))); + }, + $signature: 10 + }; + D.MenuComponent_view_menu_warnings_closure1.prototype = { + call$1: function(_) { + var t1; + type$.legacy_SyntheticFormEvent._as(_); + t1 = this.$this._menu$_cachedTypedProps; + t1.dispatch$1(U.ShowUnpairedInsertionDeletionsSet_ShowUnpairedInsertionDeletionsSet(!H.boolConversionCheck(t1.get$show_unpaired_insertion_deletions()))); + }, + $signature: 10 + }; + D.MenuComponent_view_menu_show_labels_closure.prototype = { + call$1: function(_) { + var t1; + type$.legacy_SyntheticFormEvent._as(_); + t1 = this.$this._menu$_cachedTypedProps; + return t1.dispatch$1(U.ShowStrandNamesSet_ShowStrandNamesSet(!H.boolConversionCheck(t1.get$show_strand_names()))); + }, + $signature: 5 + }; + D.MenuComponent_view_menu_show_labels_closure0.prototype = { + call$1: function(font_size) { + H._asNumS(font_size); + return this.$this._menu$_cachedTypedProps.dispatch$1(U._$StrandNameFontSizeSet$_(font_size)); + }, + $signature: 30 + }; + D.MenuComponent_view_menu_show_labels_closure1.prototype = { + call$1: function(_) { + var t1; + type$.legacy_SyntheticFormEvent._as(_); + t1 = this.$this._menu$_cachedTypedProps; + return t1.dispatch$1(U.ShowStrandLabelsSet_ShowStrandLabelsSet(!H.boolConversionCheck(t1.get$show_strand_labels()))); + }, + $signature: 5 + }; + D.MenuComponent_view_menu_show_labels_closure2.prototype = { + call$1: function(font_size) { + H._asNumS(font_size); + return this.$this._menu$_cachedTypedProps.dispatch$1(U._$StrandLabelFontSizeSet$_(font_size)); + }, + $signature: 30 + }; + D.MenuComponent_view_menu_show_labels_closure3.prototype = { + call$1: function(_) { + var t1; + type$.legacy_SyntheticFormEvent._as(_); + t1 = this.$this._menu$_cachedTypedProps; + return t1.dispatch$1(U.ShowDomainNamesSet_ShowDomainNamesSet(!H.boolConversionCheck(t1.get$show_domain_names()))); + }, + $signature: 5 + }; + D.MenuComponent_view_menu_show_labels_closure4.prototype = { + call$1: function(font_size) { + H._asNumS(font_size); + return this.$this._menu$_cachedTypedProps.dispatch$1(U._$DomainNameFontSizeSet$_(font_size)); + }, + $signature: 30 + }; + D.MenuComponent_view_menu_show_labels_closure5.prototype = { + call$1: function(_) { + var t1; + type$.legacy_SyntheticFormEvent._as(_); + t1 = this.$this._menu$_cachedTypedProps; + return t1.dispatch$1(U.ShowDomainLabelsSet_ShowDomainLabelsSet(!H.boolConversionCheck(t1.get$show_domain_labels()))); + }, + $signature: 5 + }; + D.MenuComponent_view_menu_show_labels_closure6.prototype = { + call$1: function(font_size) { + H._asNumS(font_size); + return this.$this._menu$_cachedTypedProps.dispatch$1(U._$DomainLabelFontSizeSet$_(font_size)); + }, + $signature: 30 + }; + D.MenuComponent_view_menu_mods_closure.prototype = { + call$1: function(_) { + var t1; + type$.legacy_SyntheticFormEvent._as(_); + t1 = this.$this._menu$_cachedTypedProps; + return t1.dispatch$1(U.ShowModificationsSet_ShowModificationsSet(!H.boolConversionCheck(t1.get$show_modifications()))); + }, + $signature: 5 + }; + D.MenuComponent_view_menu_mods_closure0.prototype = { + call$1: function(_) { + var t1; + type$.legacy_SyntheticFormEvent._as(_); + t1 = this.$this._menu$_cachedTypedProps; + return t1.dispatch$1(U.SetModificationDisplayConnector_SetModificationDisplayConnector(!H.boolConversionCheck(t1.get$modification_display_connector()))); + }, + $signature: 5 + }; + D.MenuComponent_view_menu_mods_closure1.prototype = { + call$1: function(font_size) { + H._asNumS(font_size); + return this.$this._menu$_cachedTypedProps.dispatch$1(U.ModificationFontSizeSet_ModificationFontSizeSet(font_size)); + }, + $signature: 30 + }; + D.MenuComponent_view_menu_helices_closure.prototype = { + call$1: function(_) { + var t1; + type$.legacy_SyntheticFormEvent._as(_); + t1 = this.$this._menu$_cachedTypedProps; + return t1.dispatch$1(U.SetOnlyDisplaySelectedHelices_SetOnlyDisplaySelectedHelices(!H.boolConversionCheck(t1.get$only_display_selected_helices()))); + }, + $signature: 5 + }; + D.MenuComponent_view_menu_helices_closure0.prototype = { + call$1: function(_) { + var t1; + type$.legacy_SyntheticFormEvent._as(_); + t1 = this.$this._menu$_cachedTypedProps; + return t1.dispatch$1(U._$ShowHelixComponentsMainViewSet$_(!H.boolConversionCheck(t1.get$show_helix_components_main_view()))); + }, + $signature: 5 + }; + D.MenuComponent_view_menu_helices_closure1.prototype = { + call$1: function(_) { + var t1; + type$.legacy_SyntheticFormEvent._as(_); + t1 = this.$this._menu$_cachedTypedProps; + return t1.dispatch$1(U._$ShowHelixCirclesMainViewSet$_(!H.boolConversionCheck(t1.get$show_helix_circles_main_view()))); + }, + $signature: 5 + }; + D.MenuComponent_view_menu_helices_closure2.prototype = { + call$1: function(_) { + var t1; + type$.legacy_SyntheticFormEvent._as(_); + t1 = this.$this._menu$_cachedTypedProps; + return t1.dispatch$1(U._$ShowGridCoordinatesSideViewSet$_(!H.boolConversionCheck(t1.get$show_grid_coordinates_side_view()))); + }, + $signature: 5 + }; + D.MenuComponent_view_menu_display_major_ticks_options_closure.prototype = { + call$1: function(_) { + var t1; + type$.legacy_SyntheticFormEvent._as(_); + t1 = this.$this._menu$_cachedTypedProps; + return t1.dispatch$1(U.DisplayMajorTicksOffsetsSet_DisplayMajorTicksOffsetsSet(!H.boolConversionCheck(t1.get$display_of_major_ticks_offsets()))); + }, + $signature: 5 + }; + D.MenuComponent_view_menu_display_major_ticks_options_closure0.prototype = { + call$1: function(_) { + var t1; + type$.legacy_SyntheticFormEvent._as(_); + t1 = this.$this._menu$_cachedTypedProps; + return t1.dispatch$1(U.SetDisplayBaseOffsetsOfMajorTicksOnlyFirstHelix_SetDisplayBaseOffsetsOfMajorTicksOnlyFirstHelix(!H.boolConversionCheck(t1.get$display_base_offsets_of_major_ticks_only_first_helix()))); + }, + $signature: 5 + }; + D.MenuComponent_view_menu_display_major_ticks_options_closure1.prototype = { + call$1: function(font_size) { + H._asNumS(font_size); + return this.$this._menu$_cachedTypedProps.dispatch$1(U.MajorTickOffsetFontSizeSet_MajorTickOffsetFontSizeSet(font_size)); + }, + $signature: 30 + }; + D.MenuComponent_view_menu_display_major_ticks_options_closure2.prototype = { + call$1: function(_) { + var t1; + type$.legacy_SyntheticFormEvent._as(_); + t1 = this.$this._menu$_cachedTypedProps; + return t1.dispatch$1(U.SetDisplayMajorTickWidths_SetDisplayMajorTickWidths(!H.boolConversionCheck(t1.get$display_major_tick_widths()))); + }, + $signature: 5 + }; + D.MenuComponent_view_menu_display_major_ticks_options_closure3.prototype = { + call$1: function(_) { + var t1; + type$.legacy_SyntheticFormEvent._as(_); + t1 = this.$this._menu$_cachedTypedProps; + return t1.dispatch$1(U.SetDisplayMajorTickWidthsAllHelices_SetDisplayMajorTickWidthsAllHelices(!H.boolConversionCheck(t1.get$display_major_tick_widths_all_helices()))); + }, + $signature: 5 + }; + D.MenuComponent_view_menu_display_major_ticks_options_closure4.prototype = { + call$1: function(font_size) { + H._asNumS(font_size); + return this.$this._menu$_cachedTypedProps.dispatch$1(U.MajorTickWidthFontSizeSet_MajorTickWidthFontSizeSet(font_size)); + }, + $signature: 30 + }; + D.MenuComponent_view_menu_base_pairs_closure.prototype = { + call$1: function(_) { + var t1; + type$.legacy_SyntheticFormEvent._as(_); + t1 = this.$this; + if (t1._menu$_cachedTypedProps.get$base_pair_display_type() === C.BasePairDisplayType_lines) + t1._menu$_cachedTypedProps.dispatch$1(U._$BasePairTypeSet$_(C.BasePairDisplayType_none.toIndex$0())); + else if (t1._menu$_cachedTypedProps.get$base_pair_display_type() === C.BasePairDisplayType_none) + t1._menu$_cachedTypedProps.dispatch$1(U._$BasePairTypeSet$_(C.BasePairDisplayType_lines.toIndex$0())); + }, + $signature: 10 + }; + D.MenuComponent_view_menu_base_pairs_closure0.prototype = { + call$1: function(_) { + var t1; + type$.legacy_SyntheticFormEvent._as(_); + t1 = this.$this; + if (t1._menu$_cachedTypedProps.get$base_pair_display_type() === C.BasePairDisplayType_rectangle) + t1._menu$_cachedTypedProps.dispatch$1(U._$BasePairTypeSet$_(C.BasePairDisplayType_none.toIndex$0())); + else if (t1._menu$_cachedTypedProps.get$base_pair_display_type() === C.BasePairDisplayType_none) + t1._menu$_cachedTypedProps.dispatch$1(U._$BasePairTypeSet$_(C.BasePairDisplayType_rectangle.toIndex$0())); + }, + $signature: 10 + }; + D.MenuComponent_view_menu_base_pairs_closure1.prototype = { + call$1: function(_) { + var t1; + type$.legacy_SyntheticFormEvent._as(_); + t1 = this.$this._menu$_cachedTypedProps; + return t1.dispatch$1(U._$ShowBasePairLinesWithMismatchesSet$_(!H.boolConversionCheck(t1.get$show_base_pair_lines_with_mismatches()))); + }, + $signature: 5 + }; + D.MenuComponent_view_menu_dna_closure.prototype = { + call$1: function(_) { + var t1; + type$.legacy_SyntheticFormEvent._as(_); + t1 = this.$this._menu$_cachedTypedProps; + return t1.dispatch$1(U.ShowDNASet_ShowDNASet(!H.boolConversionCheck(t1.get$show_dna()))); + }, + $signature: 5 + }; + D.MenuComponent_view_menu_dna_closure0.prototype = { + call$1: function(_) { + var t1; + type$.legacy_SyntheticFormEvent._as(_); + t1 = this.$this._menu$_cachedTypedProps; + t1.dispatch$1(U.DisplayReverseDNARightSideUpSet_DisplayReverseDNARightSideUpSet(!H.boolConversionCheck(t1.get$display_reverse_DNA_right_side_up()))); + }, + $signature: 10 + }; + D.MenuComponent_view_menu_show_oxview_closure.prototype = { + call$1: function(_) { + var t1; + type$.legacy_SyntheticFormEvent._as(_); + t1 = this.$this._menu$_cachedTypedProps; + t1.dispatch$1(U.OxviewShowSet_OxviewShowSet(!H.boolConversionCheck(t1.get$show_oxview()))); + }, + $signature: 10 + }; + D.MenuComponent_view_menu_zoom_speed_closure.prototype = { + call$1: function(new_zoom_speed) { + H._asNumS(new_zoom_speed); + return this.$this._menu$_cachedTypedProps.dispatch$1(U._$ZoomSpeedSet$_(new_zoom_speed)); + }, + $signature: 30 + }; + D.MenuComponent_view_menu_misc_closure.prototype = { + call$1: function(_) { + var t1; + type$.legacy_SyntheticFormEvent._as(_); + t1 = this.$this._menu$_cachedTypedProps; + return t1.dispatch$1(U._$InvertYSet$_(!H.boolConversionCheck(t1.get$invert_y()))); + }, + $signature: 5 + }; + D.MenuComponent_view_menu_misc_closure0.prototype = { + call$1: function(_) { + var t1; + type$.legacy_SyntheticFormEvent._as(_); + t1 = this.$this._menu$_cachedTypedProps; + return t1.dispatch$1(U._$ShowAxisArrowsSet$_(!H.boolConversionCheck(t1.get$show_helices_axis_arrows()))); + }, + $signature: 5 + }; + D.MenuComponent_view_menu_misc_closure1.prototype = { + call$1: function(_) { + var t1; + type$.legacy_SyntheticFormEvent._as(_); + t1 = this.$this._menu$_cachedTypedProps; + return t1.dispatch$1(U._$ShowLoopoutExtensionLengthSet$_(!H.boolConversionCheck(t1.get$show_loopout_extension_length()))); + }, + $signature: 5 + }; + D.MenuComponent_view_menu_misc_closure2.prototype = { + call$1: function(_) { + var t1; + type$.legacy_SyntheticFormEvent._as(_); + t1 = this.$this._menu$_cachedTypedProps; + t1.dispatch$1(U.ShowSliceBarSet_ShowSliceBarSet(!H.boolConversionCheck(t1.get$show_slice_bar()))); + }, + $signature: 10 + }; + D.MenuComponent_view_menu_misc_closure3.prototype = { + call$1: function(_) { + var t1; + type$.legacy_SyntheticFormEvent._as(_); + t1 = this.$this._menu$_cachedTypedProps; + t1.dispatch$1(U.ShowMouseoverDataSet_ShowMouseoverDataSet(!H.boolConversionCheck(t1.get$show_mouseover_data()))); + }, + $signature: 10 + }; + D.MenuComponent_view_menu_misc_closure4.prototype = { + call$1: function(_) { + var t1; + type$.legacy_SyntheticFormEvent._as(_); + t1 = this.$this._menu$_cachedTypedProps; + t1.dispatch$1(U.DisablePngCachingDnaSequencesSet_DisablePngCachingDnaSequencesSet(!H.boolConversionCheck(t1.get$disable_png_caching_dna_sequences()))); + }, + $signature: 10 + }; + D.MenuComponent_view_menu_misc_closure5.prototype = { + call$1: function(_) { + var t1; + type$.legacy_SyntheticFormEvent._as(_); + t1 = this.$this._menu$_cachedTypedProps; + t1.dispatch$1(U.RetainStrandColorOnSelectionSet_RetainStrandColorOnSelectionSet(!H.boolConversionCheck(t1.get$retain_strand_color_on_selection()))); + }, + $signature: 10 + }; + D.MenuComponent_export_menu_closure.prototype = { + call$1: function(_) { + type$.legacy_SyntheticMouseEvent._as(_); + return this.$this._menu$_cachedTypedProps.dispatch$1(U._$ExportSvg$_(C.ExportSvgType_1)); + }, + $signature: 3 + }; + D.MenuComponent_export_menu_closure0.prototype = { + call$1: function(_) { + type$.legacy_SyntheticMouseEvent._as(_); + return this.$this._menu$_cachedTypedProps.dispatch$1(U._$ExportSvg$_(C.ExportSvgType_0)); + }, + $signature: 3 + }; + D.MenuComponent_export_menu_closure1.prototype = { + call$1: function(_) { + type$.legacy_SyntheticMouseEvent._as(_); + return this.$this._menu$_cachedTypedProps.dispatch$1(U._$ExportSvg$_(C.ExportSvgType_3)); + }, + $signature: 3 + }; + D.MenuComponent_export_menu_closure2.prototype = { + call$1: function(_) { + var t1; + type$.legacy_SyntheticFormEvent._as(_); + t1 = this.$this._menu$_cachedTypedProps; + t1.dispatch$1(U.ExportSvgTextSeparatelySet_ExportSvgTextSeparatelySet(!H.boolConversionCheck(t1.get$export_svg_text_separately()))); + }, + $signature: 10 + }; + D.MenuComponent_export_menu_closure3.prototype = { + call$1: function(_) { + type$.legacy_SyntheticMouseEvent._as(_); + return $.app.disable_keyboard_shortcuts_while$1$1(F.export_dna_sequences__export_dna$closure(), type$.void); + }, + $signature: 58 + }; + D.MenuComponent_export_menu_closure4.prototype = { + call$1: function(_) { + type$.legacy_SyntheticMouseEvent._as(_); + return this.$this._menu$_cachedTypedProps.dispatch$1(U.ExportCanDoDNA_ExportCanDoDNA()); + }, + $signature: 3 + }; + D.MenuComponent_export_menu_closure5.prototype = { + call$1: function(_) { + type$.legacy_SyntheticMouseEvent._as(_); + return this.$this._menu$_cachedTypedProps.dispatch$1(U._$ExportCadnanoFile$_(true)); + }, + $signature: 3 + }; + D.MenuComponent_export_menu_closure6.prototype = { + call$1: function(_) { + type$.legacy_SyntheticMouseEvent._as(_); + return this.$this._menu$_cachedTypedProps.dispatch$1(U._$ExportCadnanoFile$_(false)); + }, + $signature: 3 + }; + D.MenuComponent_export_menu_closure7.prototype = { + call$1: function(_) { + var t1; + type$.legacy_SyntheticMouseEvent._as(_); + t1 = this.$this._menu$_cachedTypedProps; + return t1.dispatch$1(U.OxviewExport_OxviewExport(t1.get$ox_export_only_selected_strands())); + }, + $signature: 3 + }; + D.MenuComponent_export_menu_closure8.prototype = { + call$1: function(_) { + var t1; + type$.legacy_SyntheticMouseEvent._as(_); + t1 = this.$this._menu$_cachedTypedProps; + return t1.dispatch$1(U.OxdnaExport_OxdnaExport(t1.get$ox_export_only_selected_strands())); + }, + $signature: 3 + }; + D.MenuComponent_export_menu_closure9.prototype = { + call$1: function(_) { + var t1; + type$.legacy_SyntheticFormEvent._as(_); + t1 = this.$this._menu$_cachedTypedProps; + t1.dispatch$1(U._$OxExportOnlySelectedStrandsSet$_(!H.boolConversionCheck(t1.get$ox_export_only_selected_strands()))); + }, + $signature: 10 + }; + D.MenuComponent_help_menu_closure.prototype = { + call$1: function(_) { + type$.legacy_SyntheticMouseEvent._as(_); + return C.Window_methods.alert$1(window, "scadnano version 0.19.4\n\nscadnano is a program for designing synthetic DNA structures such as DNA origami. \n\nscadnano is a standalone project developed and maintained by the UC Davis Molecular Computing group. Though similar in design, scadnano is distinct from cadnano (https://cadnano.org), which is developed and maintained by the Douglas lab (https://bionano.ucsf.edu/) at UCSF."); + }, + $signature: 515 + }; + D.request_load_file_from_file_chooser_closure.prototype = { + call$1: function(_) { + type$.legacy_ProgressEvent._as(_); + return this.onload_callback.call$2(this.file_reader, this.basefilename); + }, + $signature: 82 + }; + D.request_load_file_from_file_chooser_closure0.prototype = { + call$1: function(_) { + type$.legacy_ProgressEvent._as(_); + return C.Window_methods.alert$1(window, this.err_msg); + }, + $signature: 82 + }; + D.$MenuComponentFactory_closure.prototype = { + call$0: function() { + return new D._$MenuComponent(1, new P._AsyncCompleter(new P._Future($.Zone__current, type$._Future_legacy_int), type$._AsyncCompleter_legacy_int), 0, null); + }, + "call*": "call$0", + $requiredArgCount: 0, + $signature: 517 + }; + D._$$MenuProps.prototype = { + get$$$isClassGenerated: function() { + return true; + }, + get$componentFactory: function() { + var t1 = this.componentFactory; + return t1 == null ? $.$get$$MenuComponentFactory() : t1; + }, + $isMenuProps: 1 + }; + D._$$MenuProps$PlainMap.prototype = { + get$props: function(_) { + return this._menu$_props; + } + }; + D._$$MenuProps$JsMap.prototype = { + get$props: function(_) { + return this._menu$_props; + } + }; + D._$MenuComponent.prototype = { + get$props: function(_) { + return this._menu$_cachedTypedProps; + }, + set$props: function(_, value) { + this.props = value; + this._menu$_cachedTypedProps = D._$$MenuProps$JsMap$(R.getBackingMap(value)); + }, + get$displayName: function(_) { + return "Menu"; + }, + get$$$defaultConsumedProps: function() { + return C.Map_iSA0t.get$values(C.Map_iSA0t); + } + }; + D.$MenuPropsMixin.prototype = { + get$selection_box_intersection: function() { + var t1 = J.$index$asx(this.get$props(this), string$.MenuPrse); + return H._asBoolS(t1 == null ? null : t1); + }, + get$no_grid_is_none: function() { + var t1 = J.$index$asx(this.get$props(this), "MenuPropsMixin.no_grid_is_none"); + return H._asBoolS(t1 == null ? null : t1); + }, + get$show_oxview: function() { + var t1 = J.$index$asx(this.get$props(this), "MenuPropsMixin.show_oxview"); + return H._asBoolS(t1 == null ? null : t1); + }, + get$show_dna: function() { + var t1 = J.$index$asx(this.get$props(this), "MenuPropsMixin.show_dna"); + return H._asBoolS(t1 == null ? null : t1); + }, + get$show_strand_names: function() { + var t1 = J.$index$asx(this.get$props(this), "MenuPropsMixin.show_strand_names"); + return H._asBoolS(t1 == null ? null : t1); + }, + get$show_strand_labels: function() { + var t1 = J.$index$asx(this.get$props(this), "MenuPropsMixin.show_strand_labels"); + return H._asBoolS(t1 == null ? null : t1); + }, + get$show_domain_names: function() { + var t1 = J.$index$asx(this.get$props(this), "MenuPropsMixin.show_domain_names"); + return H._asBoolS(t1 == null ? null : t1); + }, + get$show_domain_labels: function() { + var t1 = J.$index$asx(this.get$props(this), "MenuPropsMixin.show_domain_labels"); + return H._asBoolS(t1 == null ? null : t1); + }, + get$show_modifications: function() { + var t1 = J.$index$asx(this.get$props(this), "MenuPropsMixin.show_modifications"); + return H._asBoolS(t1 == null ? null : t1); + }, + get$modification_display_connector: function() { + var t1 = J.$index$asx(this.get$props(this), string$.MenuPrmo); + return H._asBoolS(t1 == null ? null : t1); + }, + get$show_mismatches: function() { + var t1 = J.$index$asx(this.get$props(this), "MenuPropsMixin.show_mismatches"); + return H._asBoolS(t1 == null ? null : t1); + }, + get$show_domain_name_mismatches: function() { + var t1 = J.$index$asx(this.get$props(this), string$.MenuPrshd); + return H._asBoolS(t1 == null ? null : t1); + }, + get$show_unpaired_insertion_deletions: function() { + var t1 = J.$index$asx(this.get$props(this), string$.MenuPrshu); + return H._asBoolS(t1 == null ? null : t1); + }, + get$strand_paste_keep_color: function() { + var t1 = J.$index$asx(this.get$props(this), "MenuPropsMixin.strand_paste_keep_color"); + return H._asBoolS(t1 == null ? null : t1); + }, + get$autofit: function() { + var t1 = J.$index$asx(this.get$props(this), "MenuPropsMixin.autofit"); + return H._asBoolS(t1 == null ? null : t1); + }, + get$only_display_selected_helices: function() { + var t1 = J.$index$asx(this.get$props(this), string$.MenuPron); + return H._asBoolS(t1 == null ? null : t1); + }, + get$base_pair_display_type: function() { + var t1 = J.$index$asx(this.get$props(this), "MenuPropsMixin.base_pair_display_type"); + if (t1 == null) + t1 = null; + return type$.legacy_BasePairDisplayType._as(t1); + }, + get$enable_copy: function() { + var t1 = J.$index$asx(this.get$props(this), "MenuPropsMixin.enable_copy"); + return H._asBoolS(t1 == null ? null : t1); + }, + get$dynamically_update_helices: function() { + var t1 = J.$index$asx(this.get$props(this), string$.MenuPrdy); + return H._asBoolS(t1 == null ? null : t1); + }, + get$show_base_pair_lines_with_mismatches: function() { + var t1 = J.$index$asx(this.get$props(this), string$.MenuPrshb); + return H._asBoolS(t1 == null ? null : t1); + }, + get$display_of_major_ticks_offsets: function() { + var t1 = J.$index$asx(this.get$props(this), string$.MenuPrdipo); + return H._asBoolS(t1 == null ? null : t1); + }, + get$display_base_offsets_of_major_ticks_only_first_helix: function() { + var t1 = J.$index$asx(this.get$props(this), string$.MenuPrdipb); + return H._asBoolS(t1 == null ? null : t1); + }, + get$display_major_tick_widths: function() { + var t1 = J.$index$asx(this.get$props(this), "MenuPropsMixin.display_major_tick_widths"); + return H._asBoolS(t1 == null ? null : t1); + }, + get$display_major_tick_widths_all_helices: function() { + var t1 = J.$index$asx(this.get$props(this), string$.MenuPrdipm); + return H._asBoolS(t1 == null ? null : t1); + }, + get$invert_y: function() { + var t1 = J.$index$asx(this.get$props(this), "MenuPropsMixin.invert_y"); + return H._asBoolS(t1 == null ? null : t1); + }, + get$warn_on_exit_if_unsaved: function() { + var t1 = J.$index$asx(this.get$props(this), "MenuPropsMixin.warn_on_exit_if_unsaved"); + return H._asBoolS(t1 == null ? null : t1); + }, + get$show_helix_circles_main_view: function() { + var t1 = J.$index$asx(this.get$props(this), string$.MenuPrshhi); + return H._asBoolS(t1 == null ? null : t1); + }, + get$show_helix_components_main_view: function() { + var t1 = J.$index$asx(this.get$props(this), string$.MenuPrshho); + return H._asBoolS(t1 == null ? null : t1); + }, + get$show_grid_coordinates_side_view: function() { + var t1 = J.$index$asx(this.get$props(this), string$.MenuPrshg); + return H._asBoolS(t1 == null ? null : t1); + }, + get$show_helices_axis_arrows: function() { + var t1 = J.$index$asx(this.get$props(this), "MenuPropsMixin.show_helices_axis_arrows"); + return H._asBoolS(t1 == null ? null : t1); + }, + get$show_loopout_extension_length: function() { + var t1 = J.$index$asx(this.get$props(this), string$.MenuPrshl); + return H._asBoolS(t1 == null ? null : t1); + }, + get$show_mouseover_data: function() { + var t1 = J.$index$asx(this.get$props(this), "MenuPropsMixin.show_mouseover_data"); + return H._asBoolS(t1 == null ? null : t1); + }, + get$disable_png_caching_dna_sequences: function() { + var t1 = J.$index$asx(this.get$props(this), string$.MenuPrdia); + return H._asBoolS(t1 == null ? null : t1); + }, + get$retain_strand_color_on_selection: function() { + var t1 = J.$index$asx(this.get$props(this), string$.MenuPrr); + return H._asBoolS(t1 == null ? null : t1); + }, + get$display_reverse_DNA_right_side_up: function() { + var t1 = J.$index$asx(this.get$props(this), string$.MenuPrdipr); + return H._asBoolS(t1 == null ? null : t1); + }, + get$default_crossover_type_scaffold_for_setting_helix_rolls: function() { + var t1 = J.$index$asx(this.get$props(this), string$.MenuPrdefc); + return H._asBoolS(t1 == null ? null : t1); + }, + get$default_crossover_type_staple_for_setting_helix_rolls: function() { + var t1 = J.$index$asx(this.get$props(this), string$.MenuPrdeft); + return H._asBoolS(t1 == null ? null : t1); + }, + get$export_svg_text_separately: function() { + var t1 = J.$index$asx(this.get$props(this), string$.MenuPre); + return H._asBoolS(t1 == null ? null : t1); + }, + get$ox_export_only_selected_strands: function() { + var t1 = J.$index$asx(this.get$props(this), string$.MenuProx); + return H._asBoolS(t1 == null ? null : t1); + }, + get$local_storage_design_choice: function() { + var t1 = J.$index$asx(this.get$props(this), string$.MenuPrl); + if (t1 == null) + t1 = null; + return type$.legacy_LocalStorageDesignChoice._as(t1); + }, + get$clear_helix_selection_when_loading_new_design: function() { + var t1 = J.$index$asx(this.get$props(this), string$.MenuPrc); + return H._asBoolS(t1 == null ? null : t1); + }, + get$show_slice_bar: function() { + var t1 = J.$index$asx(this.get$props(this), "MenuPropsMixin.show_slice_bar"); + return H._asBoolS(t1 == null ? null : t1); + }, + get$geometry: function(_) { + var t1 = J.$index$asx(this.get$props(this), "MenuPropsMixin.geometry"); + if (t1 == null) + t1 = null; + return type$.legacy_Geometry._as(t1); + }, + get$undo_redo: function() { + var t1 = J.$index$asx(this.get$props(this), "MenuPropsMixin.undo_redo"); + if (t1 == null) + t1 = null; + return type$.legacy_UndoRedo._as(t1); + } + }; + D._MenuComponent_UiComponent2_RedrawCounterMixin.prototype = { + componentDidUpdate$3: function(_, __, ___) { + var t1, _this = this; + _this.super$Component2$componentDidUpdate(_, __, ___); + t1 = ++_this.RedrawCounterMixin_redrawCount; + if (t1 < _this.RedrawCounterMixin__desiredRedrawCount) + return; + _this.RedrawCounterMixin__didRedraw.complete$1(0, t1); + _this.set$_didRedraw(new P._AsyncCompleter(new P._Future($.Zone__current, type$._Future_legacy_int), type$._AsyncCompleter_legacy_int)); + }, + set$_didRedraw: function(_didRedraw) { + this.RedrawCounterMixin__didRedraw = type$.legacy_Completer_legacy_int._as(_didRedraw); + } + }; + D.__$$MenuProps_UiProps_MenuPropsMixin.prototype = { + get$geometry: function(receiver) { + return this.MenuPropsMixin_geometry; + } + }; + D.__$$MenuProps_UiProps_MenuPropsMixin_$MenuPropsMixin.prototype = {}; + D.__$$MenuProps_UiProps_MenuPropsMixin_$MenuPropsMixin_ConnectPropsMixin.prototype = {}; + D.__$$MenuProps_UiProps_MenuPropsMixin_$MenuPropsMixin_ConnectPropsMixin_$ConnectPropsMixin.prototype = {}; + Z.MenuBooleanPropsMixin.prototype = { + set$value: function(_, value) { + this.MenuBooleanPropsMixin_value = H._asBoolS(value); + }, + get$value: function(receiver) { + return this.MenuBooleanPropsMixin_value; + } + }; + Z.MenuBooleanComponent.prototype = { + get$defaultProps: function(_) { + var t1 = this.typedPropsFactoryJs$1(new L.JsBackedMap({})); + t1.set$hide(false); + return t1; + }, + render$0: function(_) { + var $name, t2, t3, t4, t5, t6, _this = this, _null = null, + t1 = _this._menu_boolean$_cachedTypedProps; + t1 = t1.get$props(t1).$index(0, "MenuBooleanPropsMixin.hide"); + if (H.boolConversionCheck(H._asBoolS(t1 == null ? _null : t1))) + return _null; + t1 = _this._menu_boolean$_cachedTypedProps; + t1 = t1.get$props(t1).$index(0, "MenuBooleanPropsMixin.name"); + $name = H._asStringS(t1 == null ? _null : t1); + if ($name == null) { + t1 = _this._menu_boolean$_cachedTypedProps; + t1 = t1.get$display(t1).toLowerCase(); + $name = H.stringReplaceAllUnchecked(t1, " ", "-"); + } + t1 = A.DomProps$($.$get$span(), _null); + t1.set$className(0, "menu-item menu-item-bool-input"); + t1.set$id(0, $name + "-span"); + t2 = type$.legacy_String; + t3 = type$.dynamic; + t4 = type$.legacy_Map_of_legacy_String_and_dynamic; + t1.set$_raw$DomProps$style(t4._as(P.LinkedHashMap_LinkedHashMap$_literal(["display", "block"], t2, t3))); + t5 = A.DomProps$($.$get$label(), _null); + t6 = _this._menu_boolean$_cachedTypedProps; + t6 = t6.get$props(t6).$index(0, "MenuBooleanPropsMixin.tooltip"); + t5.set$title(0, H._asStringS(t6 == null ? _null : t6)); + t6 = A.DomProps$($.$get$input(), _null); + t6.set$_raw$DomProps$style(t4._as(P.LinkedHashMap_LinkedHashMap$_literal(["marginRight", "1em"], t2, t3))); + t3 = _this._menu_boolean$_cachedTypedProps; + t6.set$checked(0, t3.get$value(t3)); + t3 = _this._menu_boolean$_cachedTypedProps; + t3 = t3.get$props(t3).$index(0, "MenuBooleanPropsMixin.onChange"); + t2 = t3 == null ? _null : t3; + t6.set$onChange(0, type$.legacy_dynamic_Function_legacy_SyntheticFormEvent._as(t2)); + t6.set$type(0, "checkbox"); + t6 = t6.call$0(); + t2 = _this._menu_boolean$_cachedTypedProps; + return t1.call$1(t5.call$2(t6, t2.get$display(t2))); + } + }; + Z.$MenuBooleanComponentFactory_closure.prototype = { + call$0: function() { + return new Z._$MenuBooleanComponent(null); + }, + "call*": "call$0", + $requiredArgCount: 0, + $signature: 518 + }; + Z._$$MenuBooleanProps.prototype = { + get$$$isClassGenerated: function() { + return true; + }, + get$componentFactory: function() { + var t1 = this.componentFactory; + return t1 == null ? $.$get$$MenuBooleanComponentFactory() : t1; + } + }; + Z._$$MenuBooleanProps$PlainMap.prototype = { + get$props: function(_) { + return this._menu_boolean$_props; + } + }; + Z._$$MenuBooleanProps$JsMap.prototype = { + get$props: function(_) { + return this._menu_boolean$_props; + } + }; + Z._$MenuBooleanComponent.prototype = { + get$props: function(_) { + return this._menu_boolean$_cachedTypedProps; + }, + set$props: function(_, value) { + this.props = value; + this._menu_boolean$_cachedTypedProps = Z._$$MenuBooleanProps$JsMap$(R.getBackingMap(value)); + }, + typedPropsFactoryJs$1: function(backingMap) { + return Z._$$MenuBooleanProps$JsMap$(backingMap); + }, + get$displayName: function(_) { + return "MenuBoolean"; + }, + get$$$defaultConsumedProps: function() { + return C.Map_PES8J.get$values(C.Map_PES8J); + } + }; + Z.$MenuBooleanPropsMixin.prototype = { + get$value: function(_) { + var t1 = J.$index$asx(this.get$props(this), "MenuBooleanPropsMixin.value"); + return H._asBoolS(t1 == null ? null : t1); + }, + set$value: function(_, value) { + J.$indexSet$ax(this.get$props(this), "MenuBooleanPropsMixin.value", value); + }, + set$tooltip: function(value) { + J.$indexSet$ax(this.get$props(this), "MenuBooleanPropsMixin.tooltip", value); + }, + get$display: function(_) { + var t1 = J.$index$asx(this.get$props(this), "MenuBooleanPropsMixin.display"); + return H._asStringS(t1 == null ? null : t1); + }, + set$display: function(_, value) { + J.$indexSet$ax(this.get$props(this), "MenuBooleanPropsMixin.display", value); + }, + set$onChange: function(_, value) { + type$.legacy_dynamic_Function_legacy_SyntheticFormEvent._as(value); + J.$indexSet$ax(this.get$props(this), "MenuBooleanPropsMixin.onChange", value); + }, + set$name: function(_, value) { + J.$indexSet$ax(this.get$props(this), "MenuBooleanPropsMixin.name", value); + }, + set$hide: function(value) { + J.$indexSet$ax(this.get$props(this), "MenuBooleanPropsMixin.hide", value); + } + }; + Z.__$$MenuBooleanProps_UiProps_MenuBooleanPropsMixin.prototype = { + set$value: function(_, value) { + this.MenuBooleanPropsMixin_value = H._asBoolS(value); + }, + get$value: function(receiver) { + return this.MenuBooleanPropsMixin_value; + } + }; + Z.__$$MenuBooleanProps_UiProps_MenuBooleanPropsMixin_$MenuBooleanPropsMixin.prototype = {}; + N.MenuDropdownItemPropsMixin.prototype = {}; + N.MenuDropdownItemComponent.prototype = { + get$defaultProps: function(_) { + var t1 = this.typedPropsFactoryJs$1(new L.JsBackedMap({})); + t1.set$disabled(0, false); + t1.set$active(0, false); + return t1; + }, + render$0: function(_) { + var t3, t4, t5, dropdown_item, _this = this, _null = null, + t1 = $.$get$DropdownItem(), + t2 = _this._menu_dropdown_item$_cachedTypedProps; + t2 = t2.get$props(t2).$index(0, "MenuDropdownItemPropsMixin.active"); + t2 = H._asBoolS(t2 == null ? _null : t2); + t3 = _this._menu_dropdown_item$_cachedTypedProps; + t3 = t3.get$props(t3).$index(0, "MenuDropdownItemPropsMixin.disabled"); + t3 = H._asBoolS(t3 == null ? _null : t3); + t4 = _this._menu_dropdown_item$_cachedTypedProps; + t4 = t4.get$props(t4).$index(0, "MenuDropdownItemPropsMixin.on_click"); + if (t4 == null) + t4 = _null; + t5 = type$.dynamic; + t5 = P.LinkedHashMap_LinkedHashMap$_literal(["active", t2, "disabled", t3, "onClick", type$.legacy_dynamic_Function_legacy_SyntheticMouseEvent._as(t4)], t5, t5); + t4 = A.DomProps$($.$get$span(), _null); + t3 = _this._menu_dropdown_item$_cachedTypedProps; + t3 = t3.get$props(t3).$index(0, "MenuDropdownItemPropsMixin.display"); + t2 = t4.call$1(H._asStringS(t3 == null ? _null : t3)); + t3 = _this._menu_dropdown_item$_cachedTypedProps; + t3 = t3.get$props(t3).$index(0, string$.MenuDr); + dropdown_item = t1.call$3(t5, t2, H._asStringS(t3 == null ? _null : t3)); + if (_this._menu_dropdown_item$_cachedTypedProps.get$tooltip() == null) + return dropdown_item; + else { + t1 = A.DomProps$($.$get$span(), _null); + t1.set$title(0, _this._menu_dropdown_item$_cachedTypedProps.get$tooltip()); + return t1.call$1(dropdown_item); + } + } + }; + N.$MenuDropdownItemComponentFactory_closure.prototype = { + call$0: function() { + return new N._$MenuDropdownItemComponent(null); + }, + "call*": "call$0", + $requiredArgCount: 0, + $signature: 519 + }; + N._$$MenuDropdownItemProps.prototype = { + get$$$isClassGenerated: function() { + return true; + }, + get$componentFactory: function() { + var t1 = this.componentFactory; + return t1 == null ? $.$get$$MenuDropdownItemComponentFactory() : t1; + } + }; + N._$$MenuDropdownItemProps$PlainMap.prototype = { + get$props: function(_) { + return this._menu_dropdown_item$_props; + } + }; + N._$$MenuDropdownItemProps$JsMap.prototype = { + get$props: function(_) { + return this._menu_dropdown_item$_props; + } + }; + N._$MenuDropdownItemComponent.prototype = { + get$props: function(_) { + return this._menu_dropdown_item$_cachedTypedProps; + }, + set$props: function(_, value) { + this.props = value; + this._menu_dropdown_item$_cachedTypedProps = N._$$MenuDropdownItemProps$JsMap$(R.getBackingMap(value)); + }, + typedPropsFactoryJs$1: function(backingMap) { + return N._$$MenuDropdownItemProps$JsMap$(backingMap); + }, + get$displayName: function(_) { + return "MenuDropdownItem"; + }, + get$$$defaultConsumedProps: function() { + return C.Map_FcoMM.get$values(C.Map_FcoMM); + } + }; + N.$MenuDropdownItemPropsMixin.prototype = { + set$display: function(_, value) { + J.$indexSet$ax(this.get$props(this), "MenuDropdownItemPropsMixin.display", value); + }, + set$on_click: function(value) { + type$.legacy_dynamic_Function_legacy_SyntheticMouseEvent._as(value); + J.$indexSet$ax(this.get$props(this), "MenuDropdownItemPropsMixin.on_click", value); + }, + set$keyboard_shortcut: function(value) { + J.$indexSet$ax(this.get$props(this), string$.MenuDr, value); + }, + set$disabled: function(_, value) { + J.$indexSet$ax(this.get$props(this), "MenuDropdownItemPropsMixin.disabled", value); + }, + set$active: function(_, value) { + J.$indexSet$ax(this.get$props(this), "MenuDropdownItemPropsMixin.active", value); + }, + get$tooltip: function() { + var t1 = J.$index$asx(this.get$props(this), "MenuDropdownItemPropsMixin.tooltip"); + return H._asStringS(t1 == null ? null : t1); + }, + set$tooltip: function(value) { + J.$indexSet$ax(this.get$props(this), "MenuDropdownItemPropsMixin.tooltip", value); + } + }; + N.__$$MenuDropdownItemProps_UiProps_MenuDropdownItemPropsMixin.prototype = {}; + N.__$$MenuDropdownItemProps_UiProps_MenuDropdownItemPropsMixin_$MenuDropdownItemPropsMixin.prototype = {}; + M.MenuDropdownRightProps.prototype = {$isMap: 1, $isUiProps0: 1, $isUiProps: 1}; + M.MenuDropdownRightState.prototype = {$isMap: 1}; + M.MenuDropdownRightComponent.prototype = { + get$initialState: function() { + var t1 = this.typedStateFactoryJs$1(new L.JsBackedMap({})), + t2 = type$.legacy_Ref_legacy_DivElement._as(new K.Ref(self.React.createRef(), type$.Ref_legacy_DivElement)); + t1._menu_dropdown_right$_state.jsObject["MenuDropdownRightState.HTML_element"] = F.DartValueWrapper_wrapIfNeeded(t2); + t1.set$top(0, null); + return t1; + }, + get$defaultProps: function(_) { + var t1 = this.typedPropsFactoryJs$1(new L.JsBackedMap({})); + t1.set$disabled(0, false); + return t1; + }, + componentDidMount$0: function() { + var t1 = this._menu_dropdown_right$_cachedTypedState, + t2 = t1.get$HTML_element(); + t2 = J.getBoundingClientRect$0$x(t2.get$current(t2)).top; + t2.toString; + t1.set$top(0, t2); + this.setState$1(0, t1); + }, + render$0: function(_) { + var t3, t4, t5, t6, t7, t8, menu_dropdown_right, _this = this, _null = null, + has_shortcut = _this._menu_dropdown_right$_cachedTypedProps.get$keyboard_shortcut() != null, + t1 = A.DomProps$($.$get$span(), _null), + t2 = _this._menu_dropdown_right$_cachedTypedProps, + title_and_shortcut = H.setRuntimeTypeInfo([t1.call$1(t2.get$title(t2))], type$.JSArray_legacy_ReactElement); + if (has_shortcut) + C.JSArray_methods.add$1(title_and_shortcut, A.SvgProps$($.$get$text(), _null).call$1(_this._menu_dropdown_right$_cachedTypedProps.get$keyboard_shortcut())); + t1 = $.$get$DropdownButton(); + if (has_shortcut) + t2 = title_and_shortcut; + else { + t2 = _this._menu_dropdown_right$_cachedTypedProps; + t2 = t2.get$title(t2); + } + t3 = _this._menu_dropdown_right$_cachedTypedProps; + t3 = t3.get$props(t3).$index(0, "MenuDropdownRightProps.id"); + t3 = H._asStringS(t3 == null ? _null : t3); + t4 = _this._menu_dropdown_right$_cachedTypedProps; + t4 = t4.get$props(t4).$index(0, "MenuDropdownRightProps.disabled"); + t4 = H._asBoolS(t4 == null ? _null : t4); + t5 = _this._menu_dropdown_right$_cachedTypedState.get$HTML_element(); + t6 = _this._menu_dropdown_right$_cachedTypedState; + if (t6.get$top(t6) != null) { + t6 = _this._menu_dropdown_right$_cachedTypedState; + t6 = H.S(t6.get$top(t6)) + "px"; + t7 = _this._menu_dropdown_right$_cachedTypedProps; + t7 = t7.get$props(t7).$index(0, "MenuDropdownRightProps.disallow_overflow"); + t7 = H._asBoolS(t7 == null ? _null : t7) === true ? "auto" : "visible"; + t8 = type$.legacy_String; + t8 = P.LinkedHashMap_LinkedHashMap$_literal(["--offset-top", t6, "--overflow-y", t7], t8, t8); + t6 = t8; + } else { + t6 = type$.dynamic; + t6 = P.LinkedHashMap_LinkedHashMap$_empty(t6, t6); + } + t7 = type$.dynamic; + t7 = P.LinkedHashMap_LinkedHashMap$_literal(["title", t2, "drop", "right", "id", t3, "variant", "none", "disabled", t4, "ref", t5, "style", t6], t7, t7); + t6 = _this._menu_dropdown_right$_cachedTypedProps; + menu_dropdown_right = t1.call$2(t7, t6.get$children(t6)); + if (_this._menu_dropdown_right$_cachedTypedProps.get$tooltip() == null) + return menu_dropdown_right; + else { + t1 = A.DomProps$($.$get$span(), _null); + t1.set$title(0, _this._menu_dropdown_right$_cachedTypedProps.get$tooltip()); + return t1.call$1(menu_dropdown_right); + } + } + }; + M.$MenuDropdownRightComponentFactory_closure.prototype = { + call$0: function() { + return new M._$MenuDropdownRightComponent(null); + }, + "call*": "call$0", + $requiredArgCount: 0, + $signature: 520 + }; + M._$$MenuDropdownRightProps.prototype = { + get$$$isClassGenerated: function() { + return true; + }, + get$componentFactory: function() { + var t1 = this.componentFactory; + return t1 == null ? $.$get$$MenuDropdownRightComponentFactory() : t1; + } + }; + M._$$MenuDropdownRightProps$PlainMap.prototype = { + get$props: function(_) { + return this._menu_dropdown_right$_props; + } + }; + M._$$MenuDropdownRightProps$JsMap.prototype = { + get$props: function(_) { + return this._menu_dropdown_right$_props; + } + }; + M._$$MenuDropdownRightState.prototype = { + get$$$isClassGenerated: function() { + return true; + } + }; + M._$$MenuDropdownRightState$JsMap.prototype = { + get$state: function(_) { + return this._menu_dropdown_right$_state; + } + }; + M._$MenuDropdownRightComponent.prototype = { + get$props: function(_) { + return this._menu_dropdown_right$_cachedTypedProps; + }, + set$props: function(_, value) { + this.props = value; + this._menu_dropdown_right$_cachedTypedProps = M._$$MenuDropdownRightProps$JsMap$(R.getBackingMap(value)); + }, + typedPropsFactoryJs$1: function(backingMap) { + return M._$$MenuDropdownRightProps$JsMap$(backingMap); + }, + set$state: function(_, value) { + this.state = value; + this._menu_dropdown_right$_cachedTypedState = M._$$MenuDropdownRightState$JsMap$(value); + }, + typedStateFactoryJs$1: function(backingMap) { + var t1 = new M._$$MenuDropdownRightState$JsMap(new L.JsBackedMap({}), null, null); + t1.get$$$isClassGenerated(); + t1._menu_dropdown_right$_state = backingMap; + return t1; + }, + get$displayName: function(_) { + return "MenuDropdownRight"; + }, + get$$$defaultConsumedProps: function() { + return C.Map_HPeUt.get$values(C.Map_HPeUt); + } + }; + M.$MenuDropdownRightProps.prototype = { + get$tooltip: function() { + var t1 = J.$index$asx(this.get$props(this), "MenuDropdownRightProps.tooltip"); + return H._asStringS(t1 == null ? null : t1); + }, + get$title: function(_) { + var t1 = J.$index$asx(this.get$props(this), "MenuDropdownRightProps.title"); + return H._asStringS(t1 == null ? null : t1); + }, + set$title: function(_, value) { + J.$indexSet$ax(this.get$props(this), "MenuDropdownRightProps.title", value); + }, + set$id: function(_, value) { + J.$indexSet$ax(this.get$props(this), "MenuDropdownRightProps.id", value); + }, + set$disabled: function(_, value) { + J.$indexSet$ax(this.get$props(this), "MenuDropdownRightProps.disabled", value); + }, + get$keyboard_shortcut: function() { + var t1 = J.$index$asx(this.get$props(this), "MenuDropdownRightProps.keyboard_shortcut"); + return H._asStringS(t1 == null ? null : t1); + }, + set$keyboard_shortcut: function(value) { + J.$indexSet$ax(this.get$props(this), "MenuDropdownRightProps.keyboard_shortcut", value); + } + }; + M.$MenuDropdownRightState.prototype = { + get$top: function(_) { + var t1 = F.DartValueWrapper_unwrapIfNeeded(this._menu_dropdown_right$_state.jsObject["MenuDropdownRightState.top"]); + return H._asNumS(t1 == null ? null : t1); + }, + set$top: function(_, value) { + this._menu_dropdown_right$_state.jsObject["MenuDropdownRightState.top"] = F.DartValueWrapper_wrapIfNeeded(value); + }, + get$HTML_element: function() { + var t1 = F.DartValueWrapper_unwrapIfNeeded(this._menu_dropdown_right$_state.jsObject["MenuDropdownRightState.HTML_element"]); + if (t1 == null) + t1 = null; + return type$.legacy_Ref_legacy_DivElement._as(t1); + } + }; + M.__$$MenuDropdownRightProps_UiProps_MenuDropdownRightProps.prototype = {}; + M.__$$MenuDropdownRightProps_UiProps_MenuDropdownRightProps_$MenuDropdownRightProps.prototype = {}; + M.__$$MenuDropdownRightState_UiState_MenuDropdownRightState.prototype = {}; + M.__$$MenuDropdownRightState_UiState_MenuDropdownRightState_$MenuDropdownRightState.prototype = {}; + O.MenuFormFileProps.prototype = {$isMap: 1, $isUiProps0: 1, $isUiProps: 1}; + O.MenuFormFileComponent.prototype = { + render$0: function(_) { + var t3, t4, t5, t6, t7, t8, _this = this, _null = null, + t1 = $.$get$FormFile(), + t2 = _this._menu_form_file$_cachedTypedProps; + t2 = t2.get$props(t2).$index(0, "MenuFormFileProps.id"); + t2 = H._asStringS(t2 == null ? _null : t2); + t3 = _this._menu_form_file$_cachedTypedProps; + t3 = t3.get$props(t3).$index(0, "MenuFormFileProps.accept"); + t3 = H._asStringS(t3 == null ? _null : t3); + t4 = _this._menu_form_file$_cachedTypedProps; + t4 = t4.get$props(t4).$index(0, "MenuFormFileProps.onChange"); + if (t4 == null) + t4 = _null; + type$.legacy_dynamic_Function_legacy_SyntheticFormEvent._as(t4); + t5 = A.DomProps$($.$get$div(), _null); + t6 = _this._menu_form_file$_cachedTypedProps; + t6 = t6.get$props(t6).$index(0, "MenuFormFileProps.display"); + t6 = H._asStringS(t6 == null ? _null : t6); + if (_this._menu_form_file$_cachedTypedProps.get$keyboard_shortcut() != null) { + t7 = A.DomProps$($.$get$span(), _null); + t7.set$className(0, "dropdown-item-keyboard-shortcut-span"); + t7 = t7.call$1(_this._menu_form_file$_cachedTypedProps.get$keyboard_shortcut()); + } else + t7 = _null; + t8 = type$.dynamic; + return t1.call$1(P.LinkedHashMap_LinkedHashMap$_literal(["id", t2, "className", "form-file-dropdown", "accept", t3, "onClick", new O.MenuFormFileComponent_render_closure(), "onChange", t4, "label", t5.call$2(t6, t7), "custom", "false"], t8, t8)); + } + }; + O.MenuFormFileComponent_render_closure.prototype = { + call$1: function(e) { + J.click$0$x(document.getElementById("file-nav-dropdown")); + J.set$value$x(J.get$target$x(e), null); + }, + $signature: 32 + }; + O.$MenuFormFileComponentFactory_closure.prototype = { + call$0: function() { + return new O._$MenuFormFileComponent(null); + }, + "call*": "call$0", + $requiredArgCount: 0, + $signature: 521 + }; + O._$$MenuFormFileProps.prototype = { + get$$$isClassGenerated: function() { + return true; + }, + get$componentFactory: function() { + var t1 = this.componentFactory; + return t1 == null ? $.$get$$MenuFormFileComponentFactory() : t1; + } + }; + O._$$MenuFormFileProps$PlainMap.prototype = { + get$props: function(_) { + return this._menu_form_file$_props; + } + }; + O._$$MenuFormFileProps$JsMap.prototype = { + get$props: function(_) { + return this._menu_form_file$_props; + } + }; + O._$MenuFormFileComponent.prototype = { + get$props: function(_) { + return this._menu_form_file$_cachedTypedProps; + }, + set$props: function(_, value) { + this.props = value; + this._menu_form_file$_cachedTypedProps = O._$$MenuFormFileProps$JsMap$(R.getBackingMap(value)); + }, + get$displayName: function(_) { + return "MenuFormFile"; + }, + get$$$defaultConsumedProps: function() { + return C.Map_caa5W.get$values(C.Map_caa5W); + } + }; + O.$MenuFormFileProps.prototype = { + set$id: function(_, value) { + J.$indexSet$ax(this.get$props(this), "MenuFormFileProps.id", value); + }, + set$accept: function(_, value) { + J.$indexSet$ax(this.get$props(this), "MenuFormFileProps.accept", value); + }, + set$onChange: function(_, value) { + type$.legacy_dynamic_Function_legacy_SyntheticFormEvent._as(value); + J.$indexSet$ax(this.get$props(this), "MenuFormFileProps.onChange", value); + }, + set$display: function(_, value) { + J.$indexSet$ax(this.get$props(this), "MenuFormFileProps.display", value); + }, + get$keyboard_shortcut: function() { + var t1 = J.$index$asx(this.get$props(this), "MenuFormFileProps.keyboard_shortcut"); + return H._asStringS(t1 == null ? null : t1); + } + }; + O.__$$MenuFormFileProps_UiProps_MenuFormFileProps.prototype = {}; + O.__$$MenuFormFileProps_UiProps_MenuFormFileProps_$MenuFormFileProps.prototype = {}; + M.MenuNumberPropsMixin.prototype = {}; + M.MenuNumberComponent.prototype = { + get$defaultProps: function(_) { + var t1 = this.typedPropsFactoryJs$1(new L.JsBackedMap({})); + t1.set$hide(false); + t1.set$tooltip(""); + t1.set$min_value(1); + t1.set$step(0, 1); + return t1; + }, + render$0: function(_) { + var t3, t4, t5, t6, t7, t8, _this = this, _null = null, t1 = {}, + t2 = _this._menu_number$_cachedTypedProps; + t2 = t2.get$props(t2).$index(0, "MenuNumberPropsMixin.hide"); + if (H.boolConversionCheck(H._asBoolS(t2 == null ? _null : t2))) + return _null; + t2 = _this._menu_number$_cachedTypedProps; + t2 = t2.get$display(t2).toLowerCase(); + t2 = t1.input_elt_id = H.stringReplaceAllUnchecked(t2, " ", "-") + "-number-input"; + if (_this._menu_number$_cachedTypedProps.get$input_elt_id() != null) + t2 = t1.input_elt_id = _this._menu_number$_cachedTypedProps.get$input_elt_id(); + t3 = A.DomProps$($.$get$span(), _null); + t4 = _this._menu_number$_cachedTypedProps; + t3.set$title(0, t4.get$display(t4)); + t3.set$className(0, "menu-item menu-item-number-input"); + t4 = type$.legacy_String; + t5 = type$.dynamic; + t6 = type$.legacy_Map_of_legacy_String_and_dynamic; + t3.set$_raw$DomProps$style(t6._as(P.LinkedHashMap_LinkedHashMap$_literal(["display", "block"], t4, t5))); + t7 = A.DomProps$($.$get$label(), _null); + t8 = _this._menu_number$_cachedTypedProps; + t8 = t8.get$props(t8).$index(0, "MenuNumberPropsMixin.tooltip"); + t7.set$title(0, H._asStringS(t8 == null ? _null : t8)); + t8 = A.DomProps$($.$get$input(), _null); + t8.set$_raw$DomProps$style(t6._as(P.LinkedHashMap_LinkedHashMap$_literal(["marginRight", "1em", "width", "4em"], t4, t5))); + t8.set$type(0, "number"); + t5 = _this._menu_number$_cachedTypedProps; + t5 = t5.get$props(t5).$index(0, "MenuNumberPropsMixin.min_value"); + t4 = t8.props.jsObject; + t4.min = F.DartValueWrapper_wrapIfNeeded(H.S(H._asNumS(t5 == null ? _null : t5))); + t5 = _this._menu_number$_cachedTypedProps; + t5 = t5.get$props(t5).$index(0, "MenuNumberPropsMixin.step"); + t8.set$step(0, H.S(H._asNumS(t5 == null ? _null : t5))); + t8.set$id(0, t2); + t8.set$onChange(0, new M.MenuNumberComponent_render_closure(t1, _this)); + t1 = _this._menu_number$_cachedTypedProps; + t1 = t1.get$props(t1).$index(0, "MenuNumberPropsMixin.default_value"); + t4.defaultValue = F.DartValueWrapper_wrapIfNeeded(H._asNumS(t1 == null ? _null : t1)); + t1 = t8.call$0(); + t2 = _this._menu_number$_cachedTypedProps; + return t3.call$1(t7.call$2(t1, t2.get$display(t2))); + } + }; + M.MenuNumberComponent_render_closure.prototype = { + call$1: function(_) { + var new_value; + type$.legacy_SyntheticFormEvent._as(_); + new_value = P.num_tryParse(type$.legacy_InputElement._as(document.getElementById(this._box_0.input_elt_id)).value); + if (new_value != null) + this.$this._menu_number$_cachedTypedProps.on_new_value$1(new_value); + }, + $signature: 10 + }; + M.$MenuNumberComponentFactory_closure.prototype = { + call$0: function() { + return new M._$MenuNumberComponent(null); + }, + "call*": "call$0", + $requiredArgCount: 0, + $signature: 522 + }; + M._$$MenuNumberProps.prototype = { + get$$$isClassGenerated: function() { + return true; + }, + get$componentFactory: function() { + var t1 = this.componentFactory; + return t1 == null ? $.$get$$MenuNumberComponentFactory() : t1; + } + }; + M._$$MenuNumberProps$PlainMap.prototype = { + get$props: function(_) { + return this._menu_number$_props; + } + }; + M._$$MenuNumberProps$JsMap.prototype = { + get$props: function(_) { + return this._menu_number$_props; + } + }; + M._$MenuNumberComponent.prototype = { + get$props: function(_) { + return this._menu_number$_cachedTypedProps; + }, + set$props: function(_, value) { + this.props = value; + this._menu_number$_cachedTypedProps = M._$$MenuNumberProps$JsMap$(R.getBackingMap(value)); + }, + typedPropsFactoryJs$1: function(backingMap) { + return M._$$MenuNumberProps$JsMap$(backingMap); + }, + get$displayName: function(_) { + return "MenuNumber"; + }, + get$$$defaultConsumedProps: function() { + return C.Map_Uc9nB.get$values(C.Map_Uc9nB); + } + }; + M.$MenuNumberPropsMixin.prototype = { + get$display: function(_) { + var t1 = J.$index$asx(this.get$props(this), "MenuNumberPropsMixin.display"); + return H._asStringS(t1 == null ? null : t1); + }, + set$display: function(_, value) { + J.$indexSet$ax(this.get$props(this), "MenuNumberPropsMixin.display", value); + }, + set$default_value: function(value) { + J.$indexSet$ax(this.get$props(this), "MenuNumberPropsMixin.default_value", value); + }, + get$on_new_value: function() { + var t1 = J.$index$asx(this.get$props(this), "MenuNumberPropsMixin.on_new_value"); + if (t1 == null) + t1 = null; + return type$.legacy_dynamic_Function_legacy_num._as(t1); + }, + set$on_new_value: function(value) { + type$.legacy_dynamic_Function_legacy_num._as(value); + J.$indexSet$ax(this.get$props(this), "MenuNumberPropsMixin.on_new_value", value); + }, + set$min_value: function(value) { + J.$indexSet$ax(this.get$props(this), "MenuNumberPropsMixin.min_value", value); + }, + set$hide: function(value) { + J.$indexSet$ax(this.get$props(this), "MenuNumberPropsMixin.hide", value); + }, + set$tooltip: function(value) { + J.$indexSet$ax(this.get$props(this), "MenuNumberPropsMixin.tooltip", value); + }, + get$input_elt_id: function() { + var t1 = J.$index$asx(this.get$props(this), "MenuNumberPropsMixin.input_elt_id"); + return H._asStringS(t1 == null ? null : t1); + }, + set$step: function(_, value) { + J.$indexSet$ax(this.get$props(this), "MenuNumberPropsMixin.step", value); + }, + on_new_value$1: function(arg0) { + return this.get$on_new_value().call$1(arg0); + } + }; + M.__$$MenuNumberProps_UiProps_MenuNumberPropsMixin.prototype = {}; + M.__$$MenuNumberProps_UiProps_MenuNumberPropsMixin_$MenuNumberPropsMixin.prototype = {}; + Q.ConnectedSideMenu_closure.prototype = { + call$1: function(state) { + var t1, t2, t3; + type$.legacy_AppState._as(state); + t1 = Q.menu_side___$SideMenu$closure().call$0(); + t2 = state.design; + t2 = t2 == null ? null : t2.groups; + t1.toString; + type$.legacy_BuiltMap_of_legacy_String_and_legacy_HelixGroup._as(t2); + t3 = J.getInterceptor$x(t1); + J.$indexSet$ax(t3.get$props(t1), "SideMenuPropsMixin.groups", t2); + t2 = state.ui_state.storables.displayed_group_name; + J.$indexSet$ax(t3.get$props(t1), "SideMenuPropsMixin.displayed_group_name", t2); + return t1; + }, + $signature: 523 + }; + Q.SideMenuPropsMixin.prototype = {$isMap: 1, $isUiProps0: 1, $isUiProps: 1, + get$groups: function() { + return this.SideMenuPropsMixin_groups; + } + }; + Q.SideMenuComponent.prototype = { + get$consumedProps: function() { + var t1 = type$.legacy_Set_legacy_Type._as(P.LinkedHashSet_LinkedHashSet$_literal([C.Type_SideMenuPropsMixin_2jN], type$.legacy_Type)), + t2 = type$.PropsMetaCollection._eval$1("_AccessorMetaCollection.U*"), + t3 = t1.$ti; + return new H.EfficientLengthMappedIterable(t1, t3._bind$1(t2)._eval$1("1(SetMixin.E)")._as(C.PropsMetaCollection_Map_savdf.get$forMixin()), t3._eval$1("@")._bind$1(t2)._eval$1("EfficientLengthMappedIterable<1,2>")); + }, + render$0: function(_) { + var t1, t2, _this = this; + if (_this._menu_side$_cachedTypedProps.get$groups() == null) + return null; + t1 = J.get$length$asx(_this._menu_side$_cachedTypedProps.get$groups()._map$_map); + if (typeof t1 !== "number") + return t1.$gt(); + t1 = t1 > 1 || _this._menu_side$_cachedTypedProps.get$displayed_group_name() !== "default_group"; + t2 = type$.dynamic; + if (t1) + return $.$get$Navbar().call$4(P.LinkedHashMap_LinkedHashMap$_literal(["bg", "light", "expand", "lg"], t2, t2), $.$get$NavbarBrand().call$2(P.LinkedHashMap_LinkedHashMap$_literal(["key", "side-menu-display-title"], t2, t2), _this._menu_side$_cachedTypedProps.get$displayed_group_name()), _this.groups_menu$0(), _this.grid_menu$0()); + else + return $.$get$Navbar().call$3(P.LinkedHashMap_LinkedHashMap$_literal(["bg", "light", "expand", "lg"], t2, t2), _this.groups_menu$0(), _this.grid_menu$0()); + }, + groups_menu$0: function() { + var t1, t2, t3, t4, t5, t6, t7, t8, t9, _this = this, + _s39_ = "SideMenuPropsMixin.displayed_group_name", + options = []; + for (t1 = _this._menu_side$_cachedTypedProps.get$groups(), t1 = J.get$iterator$ax(t1.get$keys(t1)), t2 = type$.legacy_dynamic_Function_legacy_SyntheticMouseEvent; t1.moveNext$0();) { + t3 = t1.get$current(t1); + t4 = N.menu_dropdown_item___$MenuDropdownItem$closure().call$0(); + t4.toString; + t5 = t2._as(new Q.SideMenuComponent_groups_menu_closure(t3)); + t6 = J.getInterceptor$x(t4); + J.$indexSet$ax(t6.get$props(t4), "MenuDropdownItemPropsMixin.on_click", t5); + J.$indexSet$ax(t6.get$props(t4), "MenuDropdownItemPropsMixin.display", t3); + t5 = _this._menu_side$_cachedTypedProps; + t5 = t5.get$props(t5).$index(0, _s39_); + t5 = H._asStringS(t5 == null ? null : t5); + J.$indexSet$ax(t6.get$props(t4), "MenuDropdownItemPropsMixin.active", t3 == t5); + t5 = _this._menu_side$_cachedTypedProps; + t5 = t5.get$props(t5).$index(0, _s39_); + t5 = H._asStringS(t5 == null ? null : t5); + J.$indexSet$ax(t6.get$props(t4), "MenuDropdownItemPropsMixin.disabled", t3 == t5); + t3 = "key_for_group_name:" + H.S(t3); + t6 = t6.get$props(t4); + J.$indexSet$ax(t6, "key", t3); + options.push(t4.call$0()); + } + t1 = type$.dynamic; + t2 = $.$get$DropdownDivider().call$1(P.LinkedHashMap_LinkedHashMap$_literal(["key", "divider-add-remove"], t1, t1)); + t3 = N.menu_dropdown_item___$MenuDropdownItem$closure().call$0(); + t4 = J.getInterceptor$z(t3); + t4.set$display(t3, "adjust current group"); + t3.set$on_click(new Q.SideMenuComponent_groups_menu_closure0(_this)); + t4.set$key(t3, "adjust-current-group"); + t3 = t3.call$0(); + t4 = N.menu_dropdown_item___$MenuDropdownItem$closure().call$0(); + t5 = J.getInterceptor$z(t4); + t5.set$display(t4, "new group"); + t4.set$on_click(new Q.SideMenuComponent_groups_menu_closure1(_this)); + t5.set$key(t4, "new-group"); + t4 = t4.call$0(); + t5 = N.menu_dropdown_item___$MenuDropdownItem$closure().call$0(); + t6 = J.getInterceptor$z(t5); + t6.set$display(t5, "remove current group"); + t6.set$disabled(t5, J.get$length$asx(_this._menu_side$_cachedTypedProps.get$groups()._map$_map) === 1); + t5.set$on_click(new Q.SideMenuComponent_groups_menu_closure2(_this)); + t6.set$key(t5, "remove-current-group"); + t5 = t5.call$0(); + t6 = N.menu_dropdown_item___$MenuDropdownItem$closure().call$0(); + t7 = J.getInterceptor$z(t6); + t7.set$display(t6, "adjust helix indices"); + t8 = _this._menu_side$_cachedTypedProps.get$groups(); + t9 = _this._menu_side$_cachedTypedProps.get$displayed_group_name(); + t7.set$disabled(t6, J.get$length$asx(J.$index$asx(t8._map$_map, t9).helices_view_order._list) === 0); + t6.set$on_click(new Q.SideMenuComponent_groups_menu_closure3(_this)); + t7.set$key(t6, "adjust-helix-indices"); + C.JSArray_methods.addAll$1(options, [t2, t3, t4, t5, t6.call$0()]); + return $.$get$NavDropdown().call$2(P.LinkedHashMap_LinkedHashMap$_literal(["title", "Group", "id", "group-nav-dropdown"], t1, t1), options); + }, + grid_menu$0: function() { + var t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, _this = this, _null = null, + _s25_ = "SideMenuPropsMixin.groups", + _s39_ = "SideMenuPropsMixin.displayed_group_name", + t1 = $.$get$NavDropdown(), + t2 = type$.dynamic; + t2 = P.LinkedHashMap_LinkedHashMap$_literal(["title", "Grid", "id", "grid-nav-dropdown"], t2, t2); + t3 = H.setRuntimeTypeInfo([], type$.JSArray_legacy_ReactElement); + for (t4 = $.$get$_$values1()._set, t4 = t4.get$iterator(t4), t5 = type$.legacy_dynamic_Function_legacy_SyntheticMouseEvent, t6 = type$.legacy_BuiltMap_of_legacy_String_and_legacy_HelixGroup; t4.moveNext$0();) { + t7 = t4.get$current(t4); + t8 = N.menu_dropdown_item___$MenuDropdownItem$closure().call$0(); + t9 = J.getInterceptor$(t7); + t10 = t9.toString$0(t7); + t8.toString; + t11 = J.getInterceptor$x(t8); + J.$indexSet$ax(t11.get$props(t8), "MenuDropdownItemPropsMixin.display", t10); + t10 = _this._menu_side$_cachedTypedProps; + t10 = t10.get$props(t10).$index(0, _s25_); + t10 = t6._as(t10 == null ? _null : t10); + t12 = _this._menu_side$_cachedTypedProps; + t12 = t12.get$props(t12).$index(0, _s39_); + t12 = H._asStringS(t12 == null ? _null : t12); + t12 = J.$index$asx(t10._map$_map, t12).grid; + J.$indexSet$ax(t11.get$props(t8), "MenuDropdownItemPropsMixin.active", t7 === t12); + t12 = _this._menu_side$_cachedTypedProps; + t12 = t12.get$props(t12).$index(0, _s25_); + t10 = t6._as(t12 == null ? _null : t12); + t12 = _this._menu_side$_cachedTypedProps; + t12 = t12.get$props(t12).$index(0, _s39_); + t12 = H._asStringS(t12 == null ? _null : t12); + t12 = J.$index$asx(t10._map$_map, t12).grid; + J.$indexSet$ax(t11.get$props(t8), "MenuDropdownItemPropsMixin.disabled", t7 === t12); + t12 = t5._as(new Q.SideMenuComponent_grid_menu_closure(_this, t7)); + J.$indexSet$ax(t11.get$props(t8), "MenuDropdownItemPropsMixin.on_click", t12); + t7 = t9.toString$0(t7); + t11 = t11.get$props(t8); + J.$indexSet$ax(t11, "key", t7); + t3.push(t8.call$0()); + } + return t1.call$2(t2, t3); + }, + add_new_group$1: function(existing_names) { + type$.legacy_Iterable_legacy_String._as(existing_names); + return $.app.disable_keyboard_shortcuts_while$1$1(new Q.SideMenuComponent_add_new_group_closure(this, existing_names), type$.void); + }, + ask_about_new_group$1: function(existing_names) { + return this.ask_about_new_group$body$SideMenuComponent(type$.legacy_Iterable_legacy_String._as(existing_names)); + }, + ask_about_new_group$body$SideMenuComponent: function(existing_names) { + var $async$goto = 0, + $async$completer = P._makeAsyncAwaitCompleter(type$.void), + $async$returnValue, t1, $name, msg, t2, group, results; + var $async$ask_about_new_group$1 = P._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { + if ($async$errorCode === 1) + return P._asyncRethrow($async$result, $async$completer); + while (true) + switch ($async$goto) { + case 0: + // Function start + $async$goto = 3; + return P._asyncAwait(E.dialog(E.Dialog_Dialog(C.Set_empty, C.Map_empty2, C.Map_empty2, C.Map_empty3, H.setRuntimeTypeInfo([E.DialogText_DialogText("name", null, ""), E.DialogRadio_DialogRadio("grid", null, H.setRuntimeTypeInfo(["square", "honeycomb", "hex", "none"], type$.JSArray_legacy_String), true, 0, null)], type$.JSArray_legacy_DialogItem), C.List_empty1, E.dialog_Dialog_identity_function$closure(), "create new Helix group", C.DialogType_create_new_helix_group, true)), $async$ask_about_new_group$1); + case 3: + // returning from await. + results = $async$result; + if (results == null) { + // goto return + $async$goto = 1; + break; + } + t1 = J.getInterceptor$asx(results); + $name = type$.legacy_DialogText._as(t1.$index(results, 0)).value; + if (J.contains$1$asx(existing_names, $name)) { + msg = "Cannot use name " + $name + string$.x20for_a; + C.Window_methods.alert$1(window, msg); + // goto return + $async$goto = 1; + break; + } + t1 = type$.legacy_DialogRadio._as(t1.$index(results, 1)); + t2 = t1.options; + t1 = t1.selected_idx; + group = O.HelixGroup_HelixGroup(S._$valueOf(J.$index$asx(t2._list, t1)), H.setRuntimeTypeInfo([], type$.JSArray_legacy_int), 0, null, 0, 0); + $.app.dispatch$1(U._$GroupAdd$_(group, $name)); + case 1: + // return + return P._asyncReturn($async$returnValue, $async$completer); + } + }); + return P._asyncStartSync($async$ask_about_new_group$1, $async$completer); + }, + ask_new_parameters_for_current_group$0: function() { + var $async$goto = 0, + $async$completer = P._makeAsyncAwaitCompleter(type$.void), + $async$returnValue, $async$self = this, results, t3, t4, new_name, t5, existing_names, msg, helices_view_order_old_sorted, helices_view_order_str, helices_view_order_chosen, helices_view_order_strs, _i, order_str, order, helices_view_order_chosen_sorted, eq, old_sorted, chosen_sorted, old_difference, error_message, unique_vals, duplicates, i, position_x, position_y, position_z, pitch, roll, yaw, new_group, t1, t2, group, existing_grid, items; + var $async$ask_new_parameters_for_current_group$0 = P._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { + if ($async$errorCode === 1) + return P._asyncRethrow($async$result, $async$completer); + while (true) + $async$outer: + switch ($async$goto) { + case 0: + // Function start + t1 = $async$self._menu_side$_cachedTypedProps.get$groups(); + t2 = $async$self._menu_side$_cachedTypedProps.get$displayed_group_name(); + group = J.$index$asx(t1._map$_map, t2); + existing_grid = group.grid; + items = P.List_List$filled(8, null, false, type$.legacy_DialogItem); + C.JSArray_methods.$indexSet(items, 0, E.DialogText_DialogText("name", null, $async$self._menu_side$_cachedTypedProps.get$displayed_group_name())); + t2 = group.position; + C.JSArray_methods.$indexSet(items, 1, E.DialogFloat_DialogFloat("x", t2.x)); + C.JSArray_methods.$indexSet(items, 2, E.DialogFloat_DialogFloat("y", t2.y)); + C.JSArray_methods.$indexSet(items, 3, E.DialogFloat_DialogFloat("z", t2.z)); + C.JSArray_methods.$indexSet(items, 4, E.DialogFloat_DialogFloat("pitch", group.pitch)); + C.JSArray_methods.$indexSet(items, 5, E.DialogFloat_DialogFloat("roll", group.roll)); + C.JSArray_methods.$indexSet(items, 6, E.DialogFloat_DialogFloat("yaw", group.yaw)); + t2 = group.helices_view_order; + t1 = t2._list; + C.JSArray_methods.$indexSet(items, 7, E.DialogText_DialogText("helices view order (space separated)", null, J.join$1$ax(t1, " "))); + $async$goto = 3; + return P._asyncAwait(E.dialog(E.Dialog_Dialog(C.Set_empty, C.Map_empty2, C.Map_empty2, C.Map_empty3, items, C.List_empty1, E.dialog_Dialog_identity_function$closure(), "adjust current Helix group (to adjust grid use Grid menu on left)", C.DialogType_adjust_current_helix_group, true)), $async$ask_new_parameters_for_current_group$0); + case 3: + // returning from await. + results = $async$result; + if (results == null) { + // goto return + $async$goto = 1; + break; + } + t3 = J.getInterceptor$asx(results); + t4 = type$.legacy_DialogText; + new_name = C.JSString_methods.trim$0(t4._as(t3.$index(results, 0)).value); + t5 = $async$self._menu_side$_cachedTypedProps.get$groups(); + existing_names = t5.get$keys(t5); + if (new_name !== $async$self._menu_side$_cachedTypedProps.get$displayed_group_name() && J.contains$1$asx(existing_names, new_name)) { + msg = "Cannot use name " + new_name + string$.x20for_a; + C.Window_methods.alert$1(window, msg); + // goto return + $async$goto = 1; + break; + } + helices_view_order_old_sorted = new Q.CopyOnWriteList(true, t1, H._instanceType(t2)._eval$1("CopyOnWriteList<1>")); + helices_view_order_old_sorted.sort$0(0); + helices_view_order_str = C.JSString_methods.trim$0(t4._as(t3.$index(results, 7)).value); + helices_view_order_chosen = H.setRuntimeTypeInfo([], type$.JSArray_legacy_int); + if (helices_view_order_str.length !== 0) { + helices_view_order_strs = helices_view_order_str.split(" "); + for (t1 = helices_view_order_strs.length, _i = 0; _i < t1; ++_i) { + order_str = helices_view_order_strs[_i]; + order = H.Primitives_parseInt(order_str, null); + if (order == null) { + C.Window_methods.alert$1(window, H.S(order_str) + " is not an integer"); + // goto return + $async$goto = 1; + break $async$outer; + } + if (!J.contains$1$asx(helices_view_order_old_sorted._copy_on_write_list$_list, order)) { + C.Window_methods.alert$1(window, H.S(order) + " is not a valid helix index"); + // goto return + $async$goto = 1; + break $async$outer; + } + C.JSArray_methods.add$1(helices_view_order_chosen, order); + } + helices_view_order_chosen_sorted = P.List_List$of(helices_view_order_chosen, true, type$.legacy_int); + C.JSArray_methods.sort$0(helices_view_order_chosen_sorted); + eq = new U.ListEquality(C.C_DefaultEquality, type$.ListEquality_dynamic).get$equals(); + if (!H.boolConversionCheck(eq.call$2(helices_view_order_old_sorted, helices_view_order_chosen_sorted))) { + old_sorted = J.toSet$0$ax(helices_view_order_old_sorted._copy_on_write_list$_list); + chosen_sorted = P.LinkedHashSet_LinkedHashSet$from(helices_view_order_chosen_sorted, H._arrayInstanceType(helices_view_order_chosen_sorted)._precomputed1); + old_difference = old_sorted.difference$1(chosen_sorted); + error_message = old_difference.get$length(old_difference) !== 0 ? "Missing the following helix indices: " + H.S(P.List_List$of(old_difference, true, H._instanceType(old_difference)._eval$1("SetMixin.E"))) + "\n" : ""; + if (!H.boolConversionCheck(eq.call$2(P.List_List$of(chosen_sorted, true, H._instanceType(chosen_sorted)._eval$1("SetMixin.E")), helices_view_order_chosen_sorted))) { + unique_vals = []; + duplicates = []; + for (t1 = helices_view_order_chosen_sorted.length, _i = 0; _i < helices_view_order_chosen_sorted.length; helices_view_order_chosen_sorted.length === t1 || (0, H.throwConcurrentModificationError)(helices_view_order_chosen_sorted), ++_i) { + i = helices_view_order_chosen_sorted[_i]; + if (C.JSArray_methods.contains$1(unique_vals, i)) + duplicates.push(i); + else + unique_vals.push(i); + } + t1 = P.LinkedHashSet_LinkedHashSet$from(duplicates, H._arrayInstanceType(duplicates)._precomputed1); + error_message += "The following helix indices are duplicated: " + H.S(P.List_List$of(t1, true, H._instanceType(t1)._eval$1("SetMixin.E"))) + "\n"; + } + C.Window_methods.alert$1(window, error_message); + // goto return + $async$goto = 1; + break; + } + } + t1 = type$.legacy_DialogFloat; + position_x = t1._as(t3.$index(results, 1)).value; + position_y = t1._as(t3.$index(results, 2)).value; + position_z = t1._as(t3.$index(results, 3)).value; + pitch = t1._as(t3.$index(results, 4)).value; + roll = t1._as(t3.$index(results, 5)).value; + yaw = t1._as(t3.$index(results, 6)).value; + new_group = O.HelixGroup_HelixGroup(existing_grid, helices_view_order_chosen, pitch, X.Position3D_Position3D(position_x, position_y, position_z), roll, yaw); + $.app.dispatch$1(U._$GroupChange$_(new_group, new_name, $async$self._menu_side$_cachedTypedProps.get$displayed_group_name())); + case 1: + // return + return P._asyncReturn($async$returnValue, $async$completer); + } + }); + return P._asyncStartSync($async$ask_new_parameters_for_current_group$0, $async$completer); + }, + ask_new_helix_indices_for_current_group$0: function() { + var $async$goto = 0, + $async$completer = P._makeAsyncAwaitCompleter(type$.void), + $async$returnValue, $async$self = this, items, t3, t4, results, new_indices_map, i, t5, t1, t2, group; + var $async$ask_new_helix_indices_for_current_group$0 = P._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { + if ($async$errorCode === 1) + return P._asyncRethrow($async$result, $async$completer); + while (true) + $async$outer: + switch ($async$goto) { + case 0: + // Function start + t1 = $async$self._menu_side$_cachedTypedProps.get$groups(); + t2 = $async$self._menu_side$_cachedTypedProps.get$displayed_group_name(); + group = J.$index$asx(t1._map$_map, t2); + group.toString; + items = H.setRuntimeTypeInfo([], type$.JSArray_legacy_DialogItem); + t2 = group.helices_view_order._list; + t1 = J.getInterceptor$ax(t2); + C.JSArray_methods.add$1(items, E.DialogLabel_DialogLabel("current view order: " + t1.join$1(t2, " "))); + for (t3 = t1.get$iterator(t2); t3.moveNext$0();) { + t4 = t3.get$current(t3); + C.JSArray_methods.add$1(items, E.DialogInteger_DialogInteger(J.toString$0$(t4), null, t4)); + } + $async$goto = 3; + return P._asyncAwait(E.dialog(E.Dialog_Dialog(C.Set_empty, C.Map_empty2, C.Map_empty2, C.Map_empty3, items, C.List_empty1, new Q.SideMenuComponent_ask_new_helix_indices_for_current_group_closure(items), "adjust Helix indices", C.DialogType_adjust_helix_indices, true)), $async$ask_new_helix_indices_for_current_group$0); + case 3: + // returning from await. + results = $async$result; + if (results == null) { + // goto return + $async$goto = 1; + break; + } + t3 = type$.legacy_int; + new_indices_map = P.LinkedHashMap_LinkedHashMap$_empty(t3, t3); + t3 = J.getInterceptor$asx(results); + t4 = type$.legacy_DialogInteger; + i = 1; + while (true) { + t5 = t3.get$length(results); + if (typeof t5 !== "number") { + $async$returnValue = H.iae(t5); + // goto return + $async$goto = 1; + break $async$outer; + } + if (!(i < t5)) + break; + new_indices_map.$indexSet(0, t1.$index(t2, i - 1), H._asIntS(t4._as(t3.$index(results, i)).value)); + ++i; + } + $.app.dispatch$1(U.HelixIdxsChange_HelixIdxsChange(new_indices_map)); + case 1: + // return + return P._asyncReturn($async$returnValue, $async$completer); + } + }); + return P._asyncStartSync($async$ask_new_helix_indices_for_current_group$0, $async$completer); + } + }; + Q.SideMenuComponent_groups_menu_closure.prototype = { + call$1: function(ev) { + type$.legacy_SyntheticMouseEvent._as(ev); + return $.app.dispatch$1(U._$GroupDisplayedChange$_(this.name)); + }, + $signature: 3 + }; + Q.SideMenuComponent_groups_menu_closure0.prototype = { + call$1: function(ev) { + type$.legacy_SyntheticMouseEvent._as(ev); + return $.app.disable_keyboard_shortcuts_while$1$1(this.$this.get$ask_new_parameters_for_current_group(), type$.void); + }, + $signature: 3 + }; + Q.SideMenuComponent_groups_menu_closure1.prototype = { + call$1: function(ev) { + var t1, t2; + type$.legacy_SyntheticMouseEvent._as(ev); + t1 = this.$this; + t2 = t1._menu_side$_cachedTypedProps.get$groups(); + return t1.add_new_group$1(t2.get$keys(t2)); + }, + $signature: 3 + }; + Q.SideMenuComponent_groups_menu_closure2.prototype = { + call$1: function(ev) { + type$.legacy_SyntheticMouseEvent._as(ev); + return $.app.dispatch$1(U._$GroupRemove$_(this.$this._menu_side$_cachedTypedProps.get$displayed_group_name())); + }, + $signature: 3 + }; + Q.SideMenuComponent_groups_menu_closure3.prototype = { + call$1: function(ev) { + type$.legacy_SyntheticMouseEvent._as(ev); + return $.app.disable_keyboard_shortcuts_while$1$1(this.$this.get$ask_new_helix_indices_for_current_group(), type$.void); + }, + $signature: 3 + }; + Q.SideMenuComponent_grid_menu_closure.prototype = { + call$1: function(ev) { + var t1; + type$.legacy_SyntheticMouseEvent._as(ev); + t1 = this.$this._menu_side$_cachedTypedProps; + return t1.dispatch$1(U._$GridChange$_(this.grid, t1.get$displayed_group_name())); + }, + $signature: 3 + }; + Q.SideMenuComponent_add_new_group_closure.prototype = { + call$0: function() { + return this.$this.ask_about_new_group$1(this.existing_names); + }, + $signature: 6 + }; + Q.SideMenuComponent_ask_new_helix_indices_for_current_group_closure.prototype = { + call$1: function(saved_items) { + var t1, t2; + type$.legacy_BuiltList_legacy_DialogItem._as(saved_items); + for (t1 = J.get$iterator$ax(saved_items._list), t2 = this.items; t1.moveNext$0();) + if (!C.JSArray_methods.any$1(t2, new Q.SideMenuComponent_ask_new_helix_indices_for_current_group__closure(t1.get$current(t1)))) { + t1 = new D._BuiltList(P.List_List$from(t2, false, type$.legacy_DialogItem), type$._BuiltList_legacy_DialogItem); + t1._maybeCheckForNull$0(); + return t1; + } + return saved_items; + }, + $signature: 162 + }; + Q.SideMenuComponent_ask_new_helix_indices_for_current_group__closure.prototype = { + call$1: function(e) { + var t1; + type$.legacy_DialogItem._as(e); + t1 = this.saved_item; + return e.get$label(e) === t1.get$label(t1); + }, + $signature: 525 + }; + Q.$SideMenuComponentFactory_closure.prototype = { + call$0: function() { + return new Q._$SideMenuComponent(1, new P._AsyncCompleter(new P._Future($.Zone__current, type$._Future_legacy_int), type$._AsyncCompleter_legacy_int), 0, null); + }, + "call*": "call$0", + $requiredArgCount: 0, + $signature: 526 + }; + Q._$$SideMenuProps.prototype = { + get$$$isClassGenerated: function() { + return true; + }, + get$componentFactory: function() { + var t1 = this.componentFactory; + return t1 == null ? $.$get$$SideMenuComponentFactory() : t1; + }, + $isSideMenuProps: 1 + }; + Q._$$SideMenuProps$PlainMap.prototype = { + get$props: function(_) { + return this._menu_side$_props; + } + }; + Q._$$SideMenuProps$JsMap.prototype = { + get$props: function(_) { + return this._menu_side$_props; + } + }; + Q._$SideMenuComponent.prototype = { + get$props: function(_) { + return this._menu_side$_cachedTypedProps; + }, + set$props: function(_, value) { + this.props = value; + this._menu_side$_cachedTypedProps = Q._$$SideMenuProps$JsMap$(R.getBackingMap(value)); + }, + get$displayName: function(_) { + return "SideMenu"; + }, + get$$$defaultConsumedProps: function() { + return C.Map_savdf.get$values(C.Map_savdf); + } + }; + Q.$SideMenuPropsMixin.prototype = { + get$groups: function() { + var t1 = J.$index$asx(this.get$props(this), "SideMenuPropsMixin.groups"); + if (t1 == null) + t1 = null; + return type$.legacy_BuiltMap_of_legacy_String_and_legacy_HelixGroup._as(t1); + }, + get$displayed_group_name: function() { + var t1 = J.$index$asx(this.get$props(this), "SideMenuPropsMixin.displayed_group_name"); + return H._asStringS(t1 == null ? null : t1); + } + }; + Q._SideMenuComponent_UiComponent2_RedrawCounterMixin.prototype = { + componentDidUpdate$3: function(_, __, ___) { + var t1, _this = this; + _this.super$Component2$componentDidUpdate(_, __, ___); + t1 = ++_this.RedrawCounterMixin_redrawCount; + if (t1 < _this.RedrawCounterMixin__desiredRedrawCount) + return; + _this.RedrawCounterMixin__didRedraw.complete$1(0, t1); + _this.set$_didRedraw(new P._AsyncCompleter(new P._Future($.Zone__current, type$._Future_legacy_int), type$._AsyncCompleter_legacy_int)); + }, + set$_didRedraw: function(_didRedraw) { + this.RedrawCounterMixin__didRedraw = type$.legacy_Completer_legacy_int._as(_didRedraw); + } + }; + Q.__$$SideMenuProps_UiProps_SideMenuPropsMixin.prototype = { + get$groups: function() { + return this.SideMenuPropsMixin_groups; + } + }; + Q.__$$SideMenuProps_UiProps_SideMenuPropsMixin_$SideMenuPropsMixin.prototype = {}; + Q.__$$SideMenuProps_UiProps_SideMenuPropsMixin_$SideMenuPropsMixin_ConnectPropsMixin.prototype = {}; + Q.__$$SideMenuProps_UiProps_SideMenuPropsMixin_$SideMenuPropsMixin_ConnectPropsMixin_$ConnectPropsMixin.prototype = {}; + D.OxviewViewComponent.prototype = {}; + M.ConnectedPotentialCrossoverView_closure.prototype = { + call$1: function(potential_crossover) { + var t1; + type$.legacy_PotentialCrossover._as(potential_crossover); + t1 = M.potential_crossover_view___$PotentialCrossoverView$closure().call$0(); + t1.toString; + J.$indexSet$ax(J.get$props$x(t1), string$.PotentC, potential_crossover); + return t1; + }, + $signature: 527 + }; + M.PotentialCrossoverViewProps.prototype = {$isMap: 1, $isUiProps0: 1, $isUiProps: 1}; + M.PotentialCrossoverViewComponent.prototype = { + render$0: function(_) { + var t2, t3, _null = null, + t1 = this._potential_crossover_view$_cachedTypedProps; + t1 = t1.get$props(t1).$index(0, string$.PotentC); + if (t1 == null) + t1 = _null; + type$.legacy_PotentialCrossover._as(t1); + if (t1 == null) + return _null; + t2 = A.SvgProps$($.$get$line(), _null); + t3 = t1.start_point; + t2.set$x1(0, H.S(t3.x)); + t2.set$y1(0, H.S(t3.y)); + t3 = t1.current_point; + t2.set$x2(0, H.S(t3.x)); + t2.set$y2(0, H.S(t3.y)); + t2.set$className(0, "potential-segment"); + t2.set$stroke(0, t1.color); + t1 = this._potential_crossover_view$_cachedTypedProps; + t1 = t1.get$props(t1).$index(0, "PotentialCrossoverViewProps.id"); + t2.set$id(0, H._asStringS(t1 == null ? _null : t1)); + return t2.call$0(); + } + }; + M.$PotentialCrossoverViewComponentFactory_closure.prototype = { + call$0: function() { + return new M._$PotentialCrossoverViewComponent(null); + }, + "call*": "call$0", + $requiredArgCount: 0, + $signature: 528 + }; + M._$$PotentialCrossoverViewProps.prototype = { + get$$$isClassGenerated: function() { + return true; + }, + get$componentFactory: function() { + var t1 = this.componentFactory; + return t1 == null ? $.$get$$PotentialCrossoverViewComponentFactory() : t1; + } + }; + M._$$PotentialCrossoverViewProps$PlainMap.prototype = { + get$props: function(_) { + return this._potential_crossover_view$_props; + } + }; + M._$$PotentialCrossoverViewProps$JsMap.prototype = { + get$props: function(_) { + return this._potential_crossover_view$_props; + } + }; + M._$PotentialCrossoverViewComponent.prototype = { + get$props: function(_) { + return this._potential_crossover_view$_cachedTypedProps; + }, + set$props: function(_, value) { + this.props = value; + this._potential_crossover_view$_cachedTypedProps = M._$$PotentialCrossoverViewProps$JsMap$(R.getBackingMap(value)); + }, + get$displayName: function(_) { + return "PotentialCrossoverView"; + }, + get$$$defaultConsumedProps: function() { + return C.Map_2jmTs.get$values(C.Map_2jmTs); + } + }; + M.$PotentialCrossoverViewProps.prototype = {}; + M.__$$PotentialCrossoverViewProps_UiProps_PotentialCrossoverViewProps.prototype = {}; + M.__$$PotentialCrossoverViewProps_UiProps_PotentialCrossoverViewProps_$PotentialCrossoverViewProps.prototype = {}; + R.ConnectedPotentialExtensionsView_closure.prototype = { + call$1: function(potential_extensions) { + var t1; + type$.legacy_DNAExtensionsMove._as(potential_extensions); + t1 = R.potential_extensions_view___$PotentialExtensionsView$closure().call$0(); + t1.toString; + J.$indexSet$ax(J.get$props$x(t1), string$.PotentE, potential_extensions); + return t1; + }, + $signature: 529 + }; + R.PotentialExtensionsViewProps.prototype = {$isMap: 1, $isUiProps0: 1, $isUiProps: 1}; + R.PotentialExtensionsViewComponent.prototype = { + render$0: function(_) { + var t2, t3, + t1 = this._potential_extensions_view$_cachedTypedProps; + t1 = t1.get$props(t1).$index(0, string$.PotentE); + if (t1 == null) + t1 = null; + type$.legacy_DNAExtensionsMove._as(t1); + if (t1 == null) + return null; + t2 = A.SvgProps$($.$get$g(), null); + t3 = t1.moves; + t3.toString; + return t2.call$1(J.map$1$1$ax(t3._list, t3.$ti._eval$1("ReactElement*(1)")._as(new R.PotentialExtensionsViewComponent_render_closure(this, t1)), type$.legacy_ReactElement)); + } + }; + R.PotentialExtensionsViewComponent_render_closure.prototype = { + call$1: function(move) { + var t1, t2, t3; + type$.legacy_DNAExtensionMove._as(move); + t1 = A.SvgProps$($.$get$line(), null); + t2 = move.attached_end_position; + t1.set$x1(0, H.S(t2.x)); + t1.set$y1(0, H.S(t2.y)); + t2 = this.potential_extensions; + t3 = move.dna_end; + t1.set$x2(0, H.S(t2.current_point_of$1(t3).x)); + t1.set$y2(0, H.S(t2.current_point_of$1(t3).y)); + t1.set$className(0, "potential-segment"); + t3 = move.color.toHexColor$0(); + t1.set$stroke(0, "#" + t3.get$rHex() + t3.get$gHex() + t3.get$bHex()); + t3 = this.$this; + t2 = t3._potential_extensions_view$_cachedTypedProps; + t1.set$key(0, t2.get$id(t2)); + t3 = t3._potential_extensions_view$_cachedTypedProps; + t1.set$id(0, t3.get$id(t3)); + return t1.call$0(); + }, + $signature: 530 + }; + R.$PotentialExtensionsViewComponentFactory_closure.prototype = { + call$0: function() { + return new R._$PotentialExtensionsViewComponent(null); + }, + "call*": "call$0", + $requiredArgCount: 0, + $signature: 531 + }; + R._$$PotentialExtensionsViewProps.prototype = { + get$$$isClassGenerated: function() { + return true; + }, + get$componentFactory: function() { + var t1 = this.componentFactory; + return t1 == null ? $.$get$$PotentialExtensionsViewComponentFactory() : t1; + } + }; + R._$$PotentialExtensionsViewProps$PlainMap.prototype = { + get$props: function(_) { + return this._potential_extensions_view$_props; + } + }; + R._$$PotentialExtensionsViewProps$JsMap.prototype = { + get$props: function(_) { + return this._potential_extensions_view$_props; + } + }; + R._$PotentialExtensionsViewComponent.prototype = { + get$props: function(_) { + return this._potential_extensions_view$_cachedTypedProps; + }, + set$props: function(_, value) { + this.props = value; + this._potential_extensions_view$_cachedTypedProps = R._$$PotentialExtensionsViewProps$JsMap$(R.getBackingMap(value)); + }, + get$displayName: function(_) { + return "PotentialExtensionsView"; + }, + get$$$defaultConsumedProps: function() { + return C.Map_dyoqK.get$values(C.Map_dyoqK); + } + }; + R.$PotentialExtensionsViewProps.prototype = { + get$id: function(_) { + var t1 = J.$index$asx(this.get$props(this), "PotentialExtensionsViewProps.id"); + return H._asStringS(t1 == null ? null : t1); + } + }; + R.__$$PotentialExtensionsViewProps_UiProps_PotentialExtensionsViewProps.prototype = {}; + R.__$$PotentialExtensionsViewProps_UiProps_PotentialExtensionsViewProps_$PotentialExtensionsViewProps.prototype = {}; + K.PureComponent.prototype = { + shouldComponentUpdate$2: function(nextProps, nextState) { + var should_update, _this = this, + _s8_ = "children", + t1 = _this.get$props(_this), + t2 = type$.MapEquality_dynamic_dynamic, + t3 = type$.dynamic, + t4 = P.LinkedHashMap_LinkedHashMap$of(t1, t3, t3); + t4.remove$1(0, "key"); + t4.remove$1(0, "ref"); + t4.remove$1(0, _s8_); + t3 = P.LinkedHashMap_LinkedHashMap$of(nextProps, t3, t3); + t3.remove$1(0, "key"); + t3.remove$1(0, "ref"); + t3.remove$1(0, _s8_); + if (new U.MapEquality(C.C_DefaultEquality, C.C_DefaultEquality, t2).equals$2(t4, t3)) { + t3 = type$.legacy_List_dynamic; + should_update = new U.ListEquality(C.C_DefaultEquality, type$.ListEquality_dynamic).equals$2(t3._as(t1.$index(0, _s8_)), t3._as(F.DartValueWrapper_unwrapIfNeeded(nextProps.jsObject.children))); + } else + should_update = false; + return !should_update || !new U.MapEquality(C.C_DefaultEquality, C.C_DefaultEquality, t2).equals$2(_this.get$state(_this), nextState); + } + }; + Q.ReactBootstrap.prototype = {}; + Q.ReactColor.prototype = {}; + A.RedrawCounterMixin.prototype = { + set$_didRedraw: function(_didRedraw) { + this.RedrawCounterMixin__didRedraw = type$.legacy_Completer_legacy_int._as(_didRedraw); + } + }; + D.SelectModePropsMixin.prototype = {$isMap: 1, $isUiProps0: 1, $isUiProps: 1}; + D.SelectModeComponent.prototype = { + get$consumedProps: function() { + var t1 = type$.legacy_Set_legacy_Type._as(P.LinkedHashSet_LinkedHashSet$_literal([C.Type_SelectModePropsMixin_kqe], type$.legacy_Type)), + t2 = type$.PropsMetaCollection._eval$1("_AccessorMetaCollection.U*"), + t3 = t1.$ti; + return new H.EfficientLengthMappedIterable(t1, t3._bind$1(t2)._eval$1("1(SetMixin.E)")._as(C.PropsMetaCollection_Map_scECG.get$forMixin()), t3._eval$1("@")._bind$1(t2)._eval$1("EfficientLengthMappedIterable<1,2>")); + }, + render$0: function(_) { + var t2, t3, t4, all_ends_button, modes, t5, t6, t7, t8, t9, t10, t11, _null = null, + _s27_ = "select-mode-button-selected", + _s29_ = "select-mode-button-unselected", + t1 = A.DomProps$($.$get$button(), _null); + t1.set$onClick(0, new D.SelectModeComponent_render_closure()); + t1.set$title(0, "all ends: Selects all of 5' strand, 3'\nstrand, 5' domain, 3' domain."); + t2 = this._select_mode$_cachedTypedProps.get$select_mode_state().modes; + t3 = $.$get$SelectModeChoice_ends(); + t1.set$className(0, "mode-button " + (t2._set.containsAll$1(t3) ? _s27_ : _s29_)); + t1.addTestId$1("scadnano.SelectModeComponent.button.all_ends"); + t1.set$key(0, "all-ends"); + t4 = A.DomProps$($.$get$img(), _null); + t4.set$src(0, "images/select_mode_icons/allends.svg"); + all_ends_button = t1.call$1(t4.call$0()); + t1 = this._select_mode$_cachedTypedProps; + t1 = t1.get$props(t1).$index(0, "SelectModePropsMixin.is_origami"); + modes = H.boolConversionCheck(H._asBoolS(t1 == null ? _null : t1)) ? $.$get$SelectModeChoice_all_choices() : $.$get$SelectModeChoice_non_origami_choices(); + t1 = P.LinkedHashMap_LinkedHashMap$_empty(type$.legacy_SelectModeChoice, type$.legacy_ReactElement); + for (t2 = modes._list, t3 = J.getInterceptor$ax(t2), t4 = t3.get$iterator(t2), t5 = type$.legacy_SelectModeState, t6 = type$.legacy_dynamic_Function_legacy_SyntheticMouseEvent; t4.moveNext$0();) { + t7 = t4.get$current(t4); + t8 = $.$get$button(); + t9 = {}; + t9 = new L.JsBackedMap(t9); + t8 = new A.DomProps(t8, t9, _null, _null); + t8.get$$$isClassGenerated(); + t10 = t9.jsObject; + t10.onClick = F.DartValueWrapper_wrapIfNeeded(t6._as(new D.SelectModeComponent_render_closure0(t7))); + t10.title = F.DartValueWrapper_wrapIfNeeded(t7.get$tooltip()); + t11 = this._select_mode$_cachedTypedProps; + t11 = t11.get$props(t11).$index(0, "SelectModePropsMixin.select_mode_state"); + t10.className = F.DartValueWrapper_wrapIfNeeded("mode-button " + (t5._as(t11 == null ? _null : t11).modes._set.contains$1(0, t7) ? _s27_ : _s29_)); + t8.addTestId$1("scadnano.SelectModeComponent.button." + t7.name); + t10 = t7.get$display_name(); + t9.$indexSet(0, "key", t10); + t9 = $.$get$img(); + t10 = {}; + t10 = new L.JsBackedMap(t10); + t9 = new A.DomProps(t9, t10, _null, _null); + t9.get$$$isClassGenerated(); + t10.jsObject.src = F.DartValueWrapper_wrapIfNeeded(t7.get$image_file()); + t1.$indexSet(0, t7, t8.call$1(t9.call$0())); + } + t4 = type$.JSArray_legacy_ReactElement; + t5 = H.setRuntimeTypeInfo([t1.$index(0, C.SelectModeChoice_strand), t1.$index(0, C.SelectModeChoice_domain), all_ends_button], t4); + t4 = H.setRuntimeTypeInfo([], t4); + for (t2 = t3.get$iterator(t2); t2.moveNext$0();) { + t3 = t2.get$current(t2); + if (t3 !== C.SelectModeChoice_strand && t3 !== C.SelectModeChoice_domain) + t4.push(t1.$index(0, t3)); + } + C.JSArray_methods.addAll$1(t5, t4); + t1 = A.DomProps$($.$get$div(), _null); + t1.set$id(0, "select-mode"); + return t1.call$1(t5); + } + }; + D.SelectModeComponent_render_closure.prototype = { + call$1: function(_) { + type$.legacy_SyntheticMouseEvent._as(_); + return $.app.dispatch$1(U._$SelectModesAdd$_($.$get$SelectModeChoice_ends())); + }, + $signature: 3 + }; + D.SelectModeComponent_render_closure0.prototype = { + call$1: function(_) { + type$.legacy_SyntheticMouseEvent._as(_); + return $.app.dispatch$1(U.SelectModeToggle_SelectModeToggle(this.mode)); + }, + $signature: 3 + }; + D.$SelectModeComponentFactory_closure.prototype = { + call$0: function() { + return new D._$SelectModeComponent(1, new P._AsyncCompleter(new P._Future($.Zone__current, type$._Future_legacy_int), type$._AsyncCompleter_legacy_int), 0, null); + }, + "call*": "call$0", + $requiredArgCount: 0, + $signature: 532 + }; + D._$$SelectModeProps.prototype = { + get$$$isClassGenerated: function() { + return true; + }, + get$componentFactory: function() { + var t1 = this.componentFactory; + return t1 == null ? $.$get$$SelectModeComponentFactory() : t1; + } + }; + D._$$SelectModeProps$PlainMap.prototype = { + get$props: function(_) { + return this._select_mode$_props; + } + }; + D._$$SelectModeProps$JsMap.prototype = { + get$props: function(_) { + return this._select_mode$_props; + } + }; + D._$SelectModeComponent.prototype = { + get$props: function(_) { + return this._select_mode$_cachedTypedProps; + }, + set$props: function(_, value) { + this.props = value; + this._select_mode$_cachedTypedProps = D._$$SelectModeProps$JsMap$(R.getBackingMap(value)); + }, + get$displayName: function(_) { + return "SelectMode"; + }, + get$$$defaultConsumedProps: function() { + return C.Map_scECG.get$values(C.Map_scECG); + } + }; + D.$SelectModePropsMixin.prototype = { + get$select_mode_state: function() { + var t1 = J.$index$asx(this.get$props(this), "SelectModePropsMixin.select_mode_state"); + if (t1 == null) + t1 = null; + return type$.legacy_SelectModeState._as(t1); + } + }; + D._SelectModeComponent_UiComponent2_RedrawCounterMixin.prototype = { + componentDidUpdate$3: function(_, __, ___) { + var t1, _this = this; + _this.super$Component2$componentDidUpdate(_, __, ___); + t1 = ++_this.RedrawCounterMixin_redrawCount; + if (t1 < _this.RedrawCounterMixin__desiredRedrawCount) + return; + _this.RedrawCounterMixin__didRedraw.complete$1(0, t1); + _this.set$_didRedraw(new P._AsyncCompleter(new P._Future($.Zone__current, type$._Future_legacy_int), type$._AsyncCompleter_legacy_int)); + }, + set$_didRedraw: function(_didRedraw) { + this.RedrawCounterMixin__didRedraw = type$.legacy_Completer_legacy_int._as(_didRedraw); + } + }; + D.__$$SelectModeProps_UiProps_SelectModePropsMixin.prototype = {}; + D.__$$SelectModeProps_UiProps_SelectModePropsMixin_$SelectModePropsMixin.prototype = {}; + D.__$$SelectModeProps_UiProps_SelectModePropsMixin_$SelectModePropsMixin_ConnectPropsMixin.prototype = {}; + D.__$$SelectModeProps_UiProps_SelectModePropsMixin_$SelectModePropsMixin_ConnectPropsMixin_$ConnectPropsMixin.prototype = {}; + Y.ConnectedSelectionBoxView_closure.prototype = { + call$1: function(box) { + var t1; + type$.legacy_SelectionBox._as(box); + t1 = Y.selection_box_view___$SelectionBoxView$closure().call$0(); + t1.toString; + J.$indexSet$ax(J.get$props$x(t1), "SelectionBoxViewProps.selection_box", box); + return t1; + }, + $signature: 533 + }; + Y.SelectionBoxViewProps.prototype = {$isMap: 1, $isUiProps0: 1, $isUiProps: 1}; + Y.SelectionBoxViewComponent.prototype = { + render$0: function(_) { + var stroke_width, t2, t3, t4, _this = this, _null = null, + t1 = _this._selection_box_view$_cachedTypedProps; + t1 = t1.get$props(t1).$index(0, "SelectionBoxViewProps.selection_box"); + if (t1 == null) + t1 = _null; + type$.legacy_SelectionBox._as(t1); + stroke_width = _this._selection_box_view$_cachedTypedProps.stroke_width_getter$0(); + if (t1 == null) + return _null; + t2 = _this._selection_box_view$_cachedTypedProps; + t2 = t2.get$props(t2).$index(0, "SelectionBoxViewProps.is_main"); + if (H._asBoolS(t2 == null ? _null : t2) !== t1.is_main) + return _null; + t2 = A.SvgProps$($.$get$rect(), _null); + t3 = t1.start; + t4 = t1.current; + t2.set$x(0, Math.min(H.checkNum(t3.x), H.checkNum(t4.x))); + t2.set$y(0, Math.min(H.checkNum(t3.y), H.checkNum(t4.y))); + t2.set$width(0, t1.get$width(t1)); + t2.set$height(0, t1.get$height(t1)); + t2.set$strokeWidth(stroke_width); + t1 = _this._selection_box_view$_cachedTypedProps; + t1 = t1.get$props(t1).$index(0, "SelectionBoxViewProps.id"); + t2.set$id(0, H._asStringS(t1 == null ? _null : t1)); + t2.set$className(0, "selection-box"); + return t2.call$0(); + } + }; + Y.$SelectionBoxViewComponentFactory_closure.prototype = { + call$0: function() { + return new Y._$SelectionBoxViewComponent(null); + }, + "call*": "call$0", + $requiredArgCount: 0, + $signature: 534 + }; + Y._$$SelectionBoxViewProps.prototype = { + get$$$isClassGenerated: function() { + return true; + }, + get$componentFactory: function() { + var t1 = this.componentFactory; + return t1 == null ? $.$get$$SelectionBoxViewComponentFactory() : t1; + } + }; + Y._$$SelectionBoxViewProps$PlainMap.prototype = { + get$props: function(_) { + return this._selection_box_view$_props; + } + }; + Y._$$SelectionBoxViewProps$JsMap.prototype = { + get$props: function(_) { + return this._selection_box_view$_props; + } + }; + Y._$SelectionBoxViewComponent.prototype = { + get$props: function(_) { + return this._selection_box_view$_cachedTypedProps; + }, + set$props: function(_, value) { + this.props = value; + this._selection_box_view$_cachedTypedProps = Y._$$SelectionBoxViewProps$JsMap$(R.getBackingMap(value)); + }, + get$displayName: function(_) { + return "SelectionBoxView"; + }, + get$$$defaultConsumedProps: function() { + return C.Map_Ek5C1.get$values(C.Map_Ek5C1); + } + }; + Y.$SelectionBoxViewProps.prototype = { + get$stroke_width_getter: function() { + var t1 = J.$index$asx(this.get$props(this), string$.SelectB); + if (t1 == null) + t1 = null; + return type$.legacy_legacy_num_Function._as(t1); + }, + set$stroke_width_getter: function(value) { + type$.legacy_legacy_num_Function._as(value); + J.$indexSet$ax(this.get$props(this), string$.SelectB, value); + }, + set$id: function(_, value) { + J.$indexSet$ax(this.get$props(this), "SelectionBoxViewProps.id", value); + }, + set$is_main: function(value) { + J.$indexSet$ax(this.get$props(this), "SelectionBoxViewProps.is_main", value); + }, + stroke_width_getter$0: function() { + return this.get$stroke_width_getter().call$0(); + } + }; + Y.__$$SelectionBoxViewProps_UiProps_SelectionBoxViewProps.prototype = {}; + Y.__$$SelectionBoxViewProps_UiProps_SelectionBoxViewProps_$SelectionBoxViewProps.prototype = {}; + A.ConnectedSelectionRopeView_closure.prototype = { + call$1: function(rope) { + var t1; + type$.legacy_SelectionRope._as(rope); + t1 = A.selection_rope_view___$SelectionRopeView$closure().call$0(); + t1.toString; + J.$indexSet$ax(J.get$props$x(t1), "SelectionRopeViewProps.selection_rope", rope); + return t1; + }, + $signature: 535 + }; + A.SelectionRopeViewProps.prototype = {$isMap: 1, $isUiProps0: 1, $isUiProps: 1}; + A.SelectionRopeViewComponent.prototype = { + render$0: function(_) { + var stroke_width, t2, t3, t4, potential_is_illegal, points_str_potential, draw_potential, _this = this, _null = null, + _s14_ = "selection-rope", + _s24_ = "selection-rope-potential", + t1 = _this._selection_rope_view$_cachedTypedProps; + t1 = t1.get$props(t1).$index(0, "SelectionRopeViewProps.selection_rope"); + if (t1 == null) + t1 = _null; + type$.legacy_SelectionRope._as(t1); + stroke_width = _this._selection_rope_view$_cachedTypedProps.stroke_width_getter$0(); + if (t1 == null) + return _null; + t2 = _this._selection_rope_view$_cachedTypedProps; + t2 = t2.get$props(t2).$index(0, "SelectionRopeViewProps.is_main"); + if (H._asBoolS(t2 == null ? _null : t2) != t1.is_main) + return _null; + t2 = t1.points._list; + t3 = J.getInterceptor$asx(t2); + if (t3.get$length(t2) === 0) + return _null; + else { + t4 = H.setRuntimeTypeInfo([], type$.JSArray_legacy_String); + for (t2 = t3.get$iterator(t2); t2.moveNext$0();) { + t3 = t2.get$current(t2); + t4.push(H.S(t3.x) + "," + H.S(t3.y) + " "); + } + potential_is_illegal = t1.potential_is_illegal$0(); + points_str_potential = P.List_List$from(t4, true, type$.legacy_String); + t1 = t1.current_point; + draw_potential = t1 != null; + if (draw_potential) + C.JSArray_methods.add$1(points_str_potential, H.S(t1.x) + "," + H.S(t1.y)); + t1 = A.SvgProps$($.$get$polygon(), _null); + t1.set$points(0, t4); + t1.set$strokeWidth(stroke_width); + t4 = _this._selection_rope_view$_cachedTypedProps; + t1.set$id(0, t4.get$id(t4)); + t1.set$className(0, _s14_); + t1.set$key(0, _s14_); + t1 = H.setRuntimeTypeInfo([t1.call$0()], type$.JSArray_legacy_ReactElement); + if (draw_potential) { + t2 = A.SvgProps$($.$get$polygon(), _null); + t2.set$points(0, points_str_potential); + t2.set$strokeWidth(stroke_width); + t3 = _this._selection_rope_view$_cachedTypedProps; + t2.set$id(0, t3.get$id(t3)); + t2.set$className(0, _s24_ + (potential_is_illegal ? "-illegal" : "")); + t2.set$key(0, _s24_); + t1.push(t2.call$0()); + } + return t1; + } + } + }; + A.$SelectionRopeViewComponentFactory_closure.prototype = { + call$0: function() { + return new A._$SelectionRopeViewComponent(null); + }, + "call*": "call$0", + $requiredArgCount: 0, + $signature: 536 + }; + A._$$SelectionRopeViewProps.prototype = { + get$$$isClassGenerated: function() { + return true; + }, + get$componentFactory: function() { + var t1 = this.componentFactory; + return t1 == null ? $.$get$$SelectionRopeViewComponentFactory() : t1; + } + }; + A._$$SelectionRopeViewProps$PlainMap.prototype = { + get$props: function(_) { + return this._selection_rope_view$_props; + } + }; + A._$$SelectionRopeViewProps$JsMap.prototype = { + get$props: function(_) { + return this._selection_rope_view$_props; + } + }; + A._$SelectionRopeViewComponent.prototype = { + get$props: function(_) { + return this._selection_rope_view$_cachedTypedProps; + }, + set$props: function(_, value) { + this.props = value; + this._selection_rope_view$_cachedTypedProps = A._$$SelectionRopeViewProps$JsMap$(R.getBackingMap(value)); + }, + get$displayName: function(_) { + return "SelectionRopeView"; + }, + get$$$defaultConsumedProps: function() { + return C.Map_vS6pM.get$values(C.Map_vS6pM); + } + }; + A.$SelectionRopeViewProps.prototype = { + get$stroke_width_getter: function() { + var t1 = J.$index$asx(this.get$props(this), string$.SelectR); + if (t1 == null) + t1 = null; + return type$.legacy_legacy_num_Function._as(t1); + }, + get$id: function(_) { + var t1 = J.$index$asx(this.get$props(this), "SelectionRopeViewProps.id"); + return H._asStringS(t1 == null ? null : t1); + }, + stroke_width_getter$0: function() { + return this.get$stroke_width_getter().call$0(); + } + }; + A.__$$SelectionRopeViewProps_UiProps_SelectionRopeViewProps.prototype = {}; + A.__$$SelectionRopeViewProps_UiProps_SelectionRopeViewProps_$SelectionRopeViewProps.prototype = {}; + A.ConnectedStrandOrSubstrandColorPicker_closure.prototype = { + call$1: function(state) { + var t4, t5, + t1 = type$.legacy_AppState._as(state).ui_state, + t2 = t1.color_picker_strand, + t3 = t2 == null, + color = t3 ? null : t2.color; + t1 = t1.color_picker_substrand; + if ((t1 == null ? null : t1.get$color(t1)) != null) + color = t1.get$color(t1); + t4 = A.strand_color_picker___$StrandOrSubstrandColorPicker$closure().call$0(); + t4.toString; + t5 = J.getInterceptor$x(t4); + J.$indexSet$ax(t5.get$props(t4), "StrandOrSubstrandColorPickerProps.color", color); + J.$indexSet$ax(t5.get$props(t4), "StrandOrSubstrandColorPickerProps.show", !t3); + J.$indexSet$ax(t5.get$props(t4), "StrandOrSubstrandColorPickerProps.strand", t2); + J.$indexSet$ax(t5.get$props(t4), string$.Strand, t1); + return t4; + }, + $signature: 537 + }; + A.StrandOrSubstrandColorPickerProps.prototype = {$isMap: 1, $isUiProps0: 1, $isUiProps: 1}; + A.StrandOrSubstrandColorPickerState.prototype = {$isMap: 1}; + A.StrandOrSubstrandColorPickerComponent.prototype = { + handleOnChangeComplete$2: function(color, _) { + type$.legacy_JSColor._as(color); + this._strand_color_picker$_cachedTypedState.set$color(0, S.HexColor_HexColor(J.get$hex$x(color))); + }, + handleOnCancel$1: function(e) { + var t1 = J.getInterceptor$x(e); + t1.preventDefault$0(e); + t1.stopPropagation$0(e); + $.app.dispatch$1(U.StrandOrSubstrandColorPickerHide_StrandOrSubstrandColorPickerHide()); + this._strand_color_picker$_cachedTypedState.set$color(0, null); + }, + handleOnOK$1: function(e) { + var color, t2, t3, action, store, selected_substrands, _this = this, + t1 = J.getInterceptor$x(e); + t1.preventDefault$0(e); + t1.stopPropagation$0(e); + $.app.dispatch$1(U.StrandOrSubstrandColorPickerHide_StrandOrSubstrandColorPickerHide()); + t1 = _this._strand_color_picker$_cachedTypedState; + color = t1.get$color(t1); + if (color != null) { + if (_this._strand_color_picker$_cachedTypedProps.get$substrand() == null) { + t1 = _this._strand_color_picker$_cachedTypedProps.get$strand().color; + t2 = color.get$hashCode(color); + t1 = t1.get$hashCode(t1); + t1 = t2 !== t1; + } else + t1 = false; + if (t1) { + t1 = _this.color_set_strand_action_creator$1(color); + t2 = _this._strand_color_picker$_cachedTypedProps.get$strand(); + t3 = $.app.store; + action = _this.batch_if_multiple_selected_strands$3(t1, t2, t3.get$state(t3).ui_state.selectables_store.get$selected_strands()); + } else { + if (_this._strand_color_picker$_cachedTypedProps.get$substrand() != null) { + t1 = _this._strand_color_picker$_cachedTypedProps.get$substrand(); + t1 = !color.$eq(0, t1.get$color(t1)); + } else + t1 = false; + if (t1) { + t1 = $.app.store; + store = t1.get$state(t1).ui_state.selectables_store; + selected_substrands = H.setRuntimeTypeInfo([], type$.JSArray_legacy_Substrand); + C.JSArray_methods.addAll$1(selected_substrands, store.get$selected_domains()); + C.JSArray_methods.addAll$1(selected_substrands, store.get$selected_extensions()); + C.JSArray_methods.addAll$1(selected_substrands, store.get$selected_loopouts()); + action = _this.batch_if_multiple_selected_substrands$4(_this.color_set_substrand_action_creator$1(color), _this._strand_color_picker$_cachedTypedProps.get$strand(), _this._strand_color_picker$_cachedTypedProps.get$substrand(), selected_substrands); + } else + action = null; + } + if (action != null) + $.app.dispatch$1(action); + } + _this._strand_color_picker$_cachedTypedState.set$color(0, null); + }, + render$0: function(_) { + var t2, t3, t4, t5, t6, t7, _this = this, _null = null, + _s13_ = "dialog-button", + t1 = _this._strand_color_picker$_cachedTypedProps; + t1 = t1.get$props(t1).$index(0, "StrandOrSubstrandColorPickerProps.show"); + if (H.boolConversionCheck(H._asBoolS(t1 == null ? _null : t1))) { + t1 = A.DomProps$($.$get$div(), _null); + t1.set$className(0, "dialog-form-container"); + t2 = A.DomProps$($.$get$div(), _null); + t2.set$className(0, "dialog-form"); + t3 = A.DomProps$($.$get$form(), _null); + t3.set$onSubmit(0, _this.get$handleOnOK()); + t3.set$className(0, "dialog-form-form"); + t4 = $.$get$SketchPicker(); + t5 = _this._strand_color_picker$_cachedTypedState; + t5 = t5.get$color(t5); + if (t5 == null) { + t5 = _this._strand_color_picker$_cachedTypedProps; + t5 = t5.get$props(t5).$index(0, "StrandOrSubstrandColorPickerProps.color"); + if (t5 == null) + t5 = _null; + type$.legacy_Color._as(t5); + } + t6 = type$.dynamic; + t6 = t4.call$1(P.LinkedHashMap_LinkedHashMap$_literal(["color", t5, "onChangeComplete", _this.get$handleOnChangeComplete()], t6, t6)); + t5 = A.DomProps$($.$get$span(), _null); + t5.set$className(0, "dialog-buttons"); + t5.set$key(0, "buttons"); + t4 = A.DomProps$($.$get$input(), _null); + t4.set$type(0, "submit"); + t4.set$value(0, "OK"); + t4.set$className(0, _s13_); + t4 = t4.call$0(); + t7 = A.DomProps$($.$get$button(), _null); + t7.set$onClick(0, _this.get$handleOnCancel()); + t7.set$className(0, _s13_); + return t1.call$1(t2.call$1(t3.call$2(t6, t5.call$2(t4, t7.call$1("Cancel"))))); + } else + return _null; + }, + color_set_strand_action_creator$1: function(color) { + return new A.StrandOrSubstrandColorPickerComponent_color_set_strand_action_creator_closure(color); + }, + color_set_substrand_action_creator$1: function(color) { + return new A.StrandOrSubstrandColorPickerComponent_color_set_substrand_action_creator_closure(color); + }, + batch_if_multiple_selected_strands$3: function(action_creator, strand, selected_strands) { + var t1, t2, action; + type$.legacy_legacy_UndoableAction_Function_legacy_Strand._as(action_creator); + type$.legacy_BuiltSet_legacy_Strand._as(selected_strands); + t1 = selected_strands._set; + if (!t1.get$isEmpty(t1)) + t2 = t1.get$length(t1) === 1 && J.$eq$(t1.get$first(t1), strand); + else + t2 = true; + if (t2) + action = action_creator.call$1(strand); + else { + if (!t1.contains$1(0, strand)) + selected_strands = selected_strands.rebuild$1(new A.StrandOrSubstrandColorPickerComponent_batch_if_multiple_selected_strands_closure(strand)); + t1 = H.setRuntimeTypeInfo([], type$.JSArray_legacy_UndoableAction); + for (t2 = selected_strands._set, t2 = t2.get$iterator(t2); t2.moveNext$0();) + t1.push(action_creator.call$1(t2.get$current(t2))); + action = U.BatchAction_BatchAction(t1, "set strands color"); + } + return type$.legacy_UndoableAction._as(action); + }, + batch_if_multiple_selected_substrands$4: function(action_creator, strand, substrand, selected_substrands) { + var t1, action, design, indv_actions, _i, t2, t3; + type$.legacy_legacy_UndoableAction_Function_2_legacy_Strand_and_legacy_Substrand._as(action_creator); + type$.legacy_List_legacy_Substrand._as(selected_substrands); + t1 = selected_substrands.length; + if (t1 !== 0) + t1 = t1 === 1 && J.$eq$(C.JSArray_methods.get$first(selected_substrands), substrand); + else + t1 = true; + if (t1) + action = action_creator.call$2(strand, substrand); + else { + if (!C.JSArray_methods.contains$1(selected_substrands, substrand)) + C.JSArray_methods.add$1(selected_substrands, substrand); + t1 = $.app.store; + design = t1.get$state(t1).design; + indv_actions = H.setRuntimeTypeInfo([], type$.JSArray_legacy_UndoableAction); + for (t1 = selected_substrands.length, _i = 0; _i < selected_substrands.length; selected_substrands.length === t1 || (0, H.throwConcurrentModificationError)(selected_substrands), ++_i) { + substrand = selected_substrands[_i]; + t2 = design.__strands_by_id; + if (t2 == null) { + t2 = N.Design.prototype.get$strands_by_id.call(design); + design.set$__strands_by_id(t2); + } + t3 = substrand.get$strand_id(); + C.JSArray_methods.add$1(indv_actions, action_creator.call$2(J.$index$asx(t2._map$_map, t3), substrand)); + } + action = U.BatchAction_BatchAction(indv_actions, "set substrands color"); + } + return type$.legacy_UndoableAction._as(action); + } + }; + A.StrandOrSubstrandColorPickerComponent_color_set_strand_action_creator_closure.prototype = { + call$1: function(strand) { + return U._$StrandOrSubstrandColorSet$_(this.color, type$.legacy_Strand._as(strand), null); + }, + $signature: 539 + }; + A.StrandOrSubstrandColorPickerComponent_color_set_substrand_action_creator_closure.prototype = { + call$2: function(strand, substrand) { + return U._$StrandOrSubstrandColorSet$_(this.color, strand, substrand); + }, + $signature: 540 + }; + A.StrandOrSubstrandColorPickerComponent_batch_if_multiple_selected_strands_closure.prototype = { + call$1: function(b) { + var t1, t2; + type$.legacy_SetBuilder_legacy_Strand._as(b); + t1 = b.$ti._precomputed1; + t2 = t1._as(this.strand); + if (!$.$get$isSoundMode() && !t1._is(null)) + if (t2 == null) + H.throwExpression(P.ArgumentError$("null element")); + return b.get$_safeSet().add$1(0, t2); + }, + $signature: 106 + }; + A.JSColor.prototype = {}; + A.$StrandOrSubstrandColorPickerComponentFactory_closure.prototype = { + call$0: function() { + return new A._$StrandOrSubstrandColorPickerComponent(null); + }, + "call*": "call$0", + $requiredArgCount: 0, + $signature: 541 + }; + A._$$StrandOrSubstrandColorPickerProps.prototype = { + get$$$isClassGenerated: function() { + return true; + }, + get$componentFactory: function() { + var t1 = this.componentFactory; + return t1 == null ? $.$get$$StrandOrSubstrandColorPickerComponentFactory() : t1; + } + }; + A._$$StrandOrSubstrandColorPickerProps$PlainMap.prototype = { + get$props: function(_) { + return this._strand_color_picker$_props; + } + }; + A._$$StrandOrSubstrandColorPickerProps$JsMap.prototype = { + get$props: function(_) { + return this._strand_color_picker$_props; + } + }; + A._$$StrandOrSubstrandColorPickerState.prototype = { + get$$$isClassGenerated: function() { + return true; + } + }; + A._$$StrandOrSubstrandColorPickerState$JsMap.prototype = { + get$state: function(_) { + return this._strand_color_picker$_state; + } + }; + A._$StrandOrSubstrandColorPickerComponent.prototype = { + get$props: function(_) { + return this._strand_color_picker$_cachedTypedProps; + }, + set$props: function(_, value) { + this.props = value; + this._strand_color_picker$_cachedTypedProps = A._$$StrandOrSubstrandColorPickerProps$JsMap$(R.getBackingMap(value)); + }, + set$state: function(_, value) { + this.state = value; + this._strand_color_picker$_cachedTypedState = A._$$StrandOrSubstrandColorPickerState$JsMap$(value); + }, + get$displayName: function(_) { + return "StrandOrSubstrandColorPicker"; + }, + get$$$defaultConsumedProps: function() { + return C.Map_cskMT.get$values(C.Map_cskMT); + } + }; + A.$StrandOrSubstrandColorPickerProps.prototype = { + get$strand: function() { + var t1 = J.$index$asx(this.get$props(this), "StrandOrSubstrandColorPickerProps.strand"); + if (t1 == null) + t1 = null; + return type$.legacy_Strand._as(t1); + }, + get$substrand: function() { + var t1 = J.$index$asx(this.get$props(this), string$.Strand); + if (t1 == null) + t1 = null; + return type$.legacy_Substrand._as(t1); + } + }; + A.$StrandOrSubstrandColorPickerState.prototype = { + get$color: function(_) { + var t1 = F.DartValueWrapper_unwrapIfNeeded(this._strand_color_picker$_state.jsObject["StrandOrSubstrandColorPickerState.color"]); + if (t1 == null) + t1 = null; + return type$.legacy_Color._as(t1); + }, + set$color: function(_, value) { + this._strand_color_picker$_state.jsObject["StrandOrSubstrandColorPickerState.color"] = F.DartValueWrapper_wrapIfNeeded(value); + } + }; + A.__$$StrandOrSubstrandColorPickerProps_UiProps_StrandOrSubstrandColorPickerProps.prototype = {}; + A.__$$StrandOrSubstrandColorPickerProps_UiProps_StrandOrSubstrandColorPickerProps_$StrandOrSubstrandColorPickerProps.prototype = {}; + A.__$$StrandOrSubstrandColorPickerState_UiState_StrandOrSubstrandColorPickerState.prototype = {}; + A.__$$StrandOrSubstrandColorPickerState_UiState_StrandOrSubstrandColorPickerState_$StrandOrSubstrandColorPickerState.prototype = {}; + R.TransformByHelixGroupPropsMixin.prototype = { + set$helices: function(helices) { + this.TransformByHelixGroupPropsMixin_helices = type$.legacy_BuiltMap_of_legacy_int_and_legacy_Helix._as(helices); + }, + set$groups: function(groups) { + this.TransformByHelixGroupPropsMixin_groups = type$.legacy_BuiltMap_of_legacy_String_and_legacy_HelixGroup._as(groups); + }, + set$geometry: function(_, geometry) { + this.TransformByHelixGroupPropsMixin_geometry = type$.legacy_Geometry._as(geometry); + }, + get$helices: function() { + return this.TransformByHelixGroupPropsMixin_helices; + }, + get$groups: function() { + return this.TransformByHelixGroupPropsMixin_groups; + }, + get$geometry: function(receiver) { + return this.TransformByHelixGroupPropsMixin_geometry; + } + }; + R.TransformByHelixGroup.prototype = { + transform_of_helix$1: function(helix_idx) { + var _this = this, + helix = J.$index$asx(_this.get$props(_this).get$helices()._map$_map, helix_idx), + t1 = _this.get$props(_this).get$groups(), + t2 = helix.group, + group = J.$index$asx(t1._map$_map, t2); + t2 = _this.get$props(_this); + return group.transform_str$1(t2.get$geometry(t2)); + } + }; + R.$TransformByHelixGroupPropsMixin.prototype = { + get$helices: function() { + var t1 = J.$index$asx(this.get$props(this), "TransformByHelixGroupPropsMixin.helices"); + if (t1 == null) + t1 = null; + return type$.legacy_BuiltMap_of_legacy_int_and_legacy_Helix._as(t1); + }, + set$helices: function(value) { + type$.legacy_BuiltMap_of_legacy_int_and_legacy_Helix._as(value); + J.$indexSet$ax(this.get$props(this), "TransformByHelixGroupPropsMixin.helices", value); + }, + get$groups: function() { + var t1 = J.$index$asx(this.get$props(this), "TransformByHelixGroupPropsMixin.groups"); + if (t1 == null) + t1 = null; + return type$.legacy_BuiltMap_of_legacy_String_and_legacy_HelixGroup._as(t1); + }, + set$groups: function(value) { + type$.legacy_BuiltMap_of_legacy_String_and_legacy_HelixGroup._as(value); + J.$indexSet$ax(this.get$props(this), "TransformByHelixGroupPropsMixin.groups", value); + }, + get$geometry: function(_) { + var t1 = J.$index$asx(this.get$props(this), "TransformByHelixGroupPropsMixin.geometry"); + if (t1 == null) + t1 = null; + return type$.legacy_Geometry._as(t1); + }, + set$geometry: function(_, value) { + J.$indexSet$ax(this.get$props(this), "TransformByHelixGroupPropsMixin.geometry", value); + } + }; + Q.View.prototype = { + update_showing_oxview$0: function() { + var design_width, oxview_width, _this = this, + t1 = $.app.store, + show_oxview = t1.get$state(t1).ui_state.storables.show_oxview; + if (!_this.currently_showing_oxview && show_oxview) { + _this.design_oxview_separator.hidden = false; + _this.oxview_view.div.hidden = false; + _this.currently_showing_oxview = true; + design_width = window.localStorage.getItem("scadnano:design-and-modes-buttons-container-width"); + if (design_width == null) + design_width = "66%"; + oxview_width = C.JSNumber_methods.toString$0(100 - P.num_parse(C.JSString_methods.substring$2(design_width, 0, design_width.length - 1))) + "%"; + _this.design_and_modes_buttons_container_element.setAttribute("style", "width: " + design_width); + _this.oxview_view.div.setAttribute("style", "width: " + oxview_width); + self.setup_splits(show_oxview); + } else if (!show_oxview) { + _this.design_oxview_separator.hidden = true; + _this.oxview_view.div.hidden = true; + if (_this.currently_showing_oxview) { + _this.currently_showing_oxview = false; + self.setup_splits(false); + } + } + } + }; + Q.setup_file_drag_and_drop_listener_closure.prototype = { + call$1: function($event) { + type$.legacy_MouseEvent._as($event); + $event.stopPropagation(); + $event.preventDefault(); + C.DataTransfer_methods.set$dropEffect($event.dataTransfer, "copy"); + }, + $signature: 40 + }; + Q.setup_file_drag_and_drop_listener_closure0.prototype = { + call$1: function($event) { + var files, t1, t2, t3, dot_exts, extensions_str, file, filename, ext, file_reader; + type$.legacy_MouseEvent._as($event); + $event.stopPropagation(); + $event.preventDefault(); + files = $event.dataTransfer.files; + if (files.length === 0) + return; + t1 = $.$get$all_scadnano_file_extensions(); + t1.toString; + t2 = H._arrayInstanceType(t1); + t3 = t2._eval$1("MappedListIterable<1,String*>"); + dot_exts = P.List_List$of(new H.MappedListIterable(t1, t2._eval$1("String*(1)")._as(new Q.setup_file_drag_and_drop_listener__closure()), t3), true, t3._eval$1("ListIterable.E")); + extensions_str = C.JSString_methods.$add(C.JSArray_methods.join$1(C.JSArray_methods.sublist$2(dot_exts, 0, dot_exts.length - 1), ", ") + ", or ", C.JSArray_methods.get$last(dot_exts)); + if (files.length > 1) { + C.Window_methods.alert$1(window, "More than one file dropped! Please drop only one " + extensions_str + " file."); + return; + } + file = C.FileList_methods.get$first(files); + filename = file.name; + ext = X.ParsedPath_ParsedPath$parse(filename, $.$get$context().style)._splitExtension$1(1)[1]; + if (C.JSArray_methods.contains$1(dot_exts, ext.toLowerCase())) { + t1 = $.app.store; + if (t1.get$state(t1).get$has_error() || H.boolConversionCheck(C.Window_methods.confirm$1(window, "Are you sure you want to replace the current design?"))) { + file_reader = new FileReader(); + t1 = type$.nullable_void_Function_legacy_ProgressEvent; + t2 = t1._as(new Q.setup_file_drag_and_drop_listener__closure0(file_reader, filename)); + type$.nullable_void_Function._as(null); + t3 = type$.legacy_ProgressEvent; + W._EventStreamSubscription$(file_reader, "load", t2, false, t3); + W._EventStreamSubscription$(file_reader, "error", t1._as(new Q.setup_file_drag_and_drop_listener__closure1("error reading file: " + J.toString$0$(file_reader.error))), false, t3); + file_reader.readAsText(file); + } + } else + C.Window_methods.alert$1(window, 'scadnano does not support "' + ext + '" type files. Please drop a ' + extensions_str + " file."); + }, + $signature: 40 + }; + Q.setup_file_drag_and_drop_listener__closure.prototype = { + call$1: function(ext) { + return C.JSString_methods.$add(".", H._asStringS(ext)); + }, + $signature: 27 + }; + Q.setup_file_drag_and_drop_listener__closure0.prototype = { + call$1: function(_) { + type$.legacy_ProgressEvent._as(_); + return D.scadnano_file_loaded(this.file_reader, this.filename); + }, + $signature: 542 + }; + Q.setup_file_drag_and_drop_listener__closure1.prototype = { + call$1: function(_) { + type$.legacy_ProgressEvent._as(_); + return C.Window_methods.alert$1(window, this.err_msg); + }, + $signature: 82 + }; + Y.SourceFile.prototype = { + get$length: function(_) { + return this._decodedChars.length; + }, + get$lines: function(_) { + return this._lineStarts.length; + }, + SourceFile$decoded$2$url: function(decodedChars, url) { + var t1, t2, t3, i, c, j, t4; + for (t1 = this._decodedChars, t2 = t1.length, t3 = this._lineStarts, i = 0; i < t2; ++i) { + c = t1[i]; + if (c === 13) { + j = i + 1; + if (j < t2) { + if (j >= t2) + return H.ioore(t1, j); + t4 = t1[j] !== 10; + } else + t4 = true; + if (t4) + c = 10; + } + if (c === 10) + C.JSArray_methods.add$1(t3, i + 1); + } + }, + getLine$1: function(offset) { + var t1, _this = this; + if (offset < 0) + throw H.wrapException(P.RangeError$("Offset may not be negative, was " + offset + ".")); + else if (offset > _this._decodedChars.length) + throw H.wrapException(P.RangeError$("Offset " + offset + string$.x20must_ + _this.get$length(_this) + ".")); + t1 = _this._lineStarts; + if (offset < C.JSArray_methods.get$first(t1)) + return -1; + if (offset >= C.JSArray_methods.get$last(t1)) + return t1.length - 1; + if (_this._isNearCachedLine$1(offset)) { + t1 = _this._cachedLine; + t1.toString; + return t1; + } + return _this._cachedLine = _this._binarySearch$1(offset) - 1; + }, + _isNearCachedLine$1: function(offset) { + var t2, t3, t4, + t1 = this._cachedLine; + if (t1 == null) + return false; + t2 = this._lineStarts; + t3 = t2.length; + if (t1 >>> 0 !== t1 || t1 >= t3) + return H.ioore(t2, t1); + if (offset < t2[t1]) + return false; + if (!(t1 >= t3 - 1)) { + t4 = t1 + 1; + if (t4 >= t3) + return H.ioore(t2, t4); + t4 = offset < t2[t4]; + } else + t4 = true; + if (t4) + return true; + if (!(t1 >= t3 - 2)) { + t4 = t1 + 2; + if (t4 >= t3) + return H.ioore(t2, t4); + t4 = offset < t2[t4]; + t2 = t4; + } else + t2 = true; + if (t2) { + this._cachedLine = t1 + 1; + return true; + } + return false; + }, + _binarySearch$1: function(offset) { + var min, half, + t1 = this._lineStarts, + t2 = t1.length, + max = t2 - 1; + for (min = 0; min < max;) { + half = min + C.JSInt_methods._tdivFast$1(max - min, 2); + if (half < 0 || half >= t2) + return H.ioore(t1, half); + if (t1[half] > offset) + max = half; + else + min = half + 1; + } + return max; + }, + getColumn$1: function(offset) { + var line, lineStart, _this = this; + if (offset < 0) + throw H.wrapException(P.RangeError$("Offset may not be negative, was " + offset + ".")); + else if (offset > _this._decodedChars.length) + throw H.wrapException(P.RangeError$("Offset " + offset + " must be not be greater than the number of characters in the file, " + _this.get$length(_this) + ".")); + line = _this.getLine$1(offset); + lineStart = C.JSArray_methods.$index(_this._lineStarts, line); + if (lineStart > offset) + throw H.wrapException(P.RangeError$("Line " + H.S(line) + " comes after offset " + offset + ".")); + return offset - lineStart; + }, + getOffset$1: function(line) { + var t1, t2, result, t3, _this = this; + if (typeof line !== "number") + return line.$lt(); + if (line < 0) + throw H.wrapException(P.RangeError$("Line may not be negative, was " + line + ".")); + else { + t1 = _this._lineStarts; + t2 = t1.length; + if (line >= t2) + throw H.wrapException(P.RangeError$("Line " + line + " must be less than the number of lines in the file, " + _this.get$lines(_this) + ".")); + } + result = t1[line]; + if (result <= _this._decodedChars.length) { + t3 = line + 1; + t1 = t3 < t2 && result >= t1[t3]; + } else + t1 = true; + if (t1) + throw H.wrapException(P.RangeError$("Line " + line + " doesn't have 0 columns.")); + return result; + } + }; + Y.FileLocation.prototype = { + get$sourceUrl: function() { + return this.file.url; + }, + get$line: function(_) { + return this.file.getLine$1(this.offset); + }, + get$column: function() { + return this.file.getColumn$1(this.offset); + }, + get$offset: function(receiver) { + return this.offset; + } + }; + Y._FileSpan.prototype = { + get$sourceUrl: function() { + return this.file.url; + }, + get$length: function(_) { + return this._file$_end - this._file$_start; + }, + get$start: function(_) { + return Y.FileLocation$_(this.file, this._file$_start); + }, + get$end: function(_) { + return Y.FileLocation$_(this.file, this._file$_end); + }, + get$text: function(_) { + return P.String_String$fromCharCodes(C.NativeUint32List_methods.sublist$2(this.file._decodedChars, this._file$_start, this._file$_end), 0, null); + }, + get$context: function(_) { + var t2, _this = this, + t1 = _this.file, + endOffset = _this._file$_end, + endLine = t1.getLine$1(endOffset); + if (t1.getColumn$1(endOffset) === 0 && endLine !== 0) { + if (endOffset - _this._file$_start === 0) { + if (endLine === t1._lineStarts.length - 1) + t1 = ""; + else { + t2 = t1.getOffset$1(endLine); + if (typeof endLine !== "number") + return endLine.$add(); + t1 = P.String_String$fromCharCodes(C.NativeUint32List_methods.sublist$2(t1._decodedChars, t2, t1.getOffset$1(endLine + 1)), 0, null); + } + return t1; + } + } else if (endLine === t1._lineStarts.length - 1) + endOffset = t1._decodedChars.length; + else { + if (typeof endLine !== "number") + return endLine.$add(); + endOffset = t1.getOffset$1(endLine + 1); + } + return P.String_String$fromCharCodes(C.NativeUint32List_methods.sublist$2(t1._decodedChars, t1.getOffset$1(t1.getLine$1(_this._file$_start)), endOffset), 0, null); + }, + compareTo$1: function(_, other) { + var result; + type$.SourceSpan._as(other); + if (!(other instanceof Y._FileSpan)) + return this.super$SourceSpanMixin$compareTo(0, other); + result = C.JSInt_methods.compareTo$1(this._file$_start, other._file$_start); + return result === 0 ? C.JSInt_methods.compareTo$1(this._file$_end, other._file$_end) : result; + }, + $eq: function(_, other) { + var _this = this; + if (other == null) + return false; + if (!type$.FileSpan._is(other)) + return _this.super$SourceSpanMixin$$eq(0, other); + return _this._file$_start === other._file$_start && _this._file$_end === other._file$_end && J.$eq$(_this.file.url, other.file.url); + }, + get$hashCode: function(_) { + return Y.SourceSpanMixin.prototype.get$hashCode.call(this, this); + }, + $isFileSpan: 1, + $isSourceSpanWithContext: 1 + }; + U.Highlighter.prototype = { + highlight$0: function(_) { + var highlightsByColumn, t2, t3, t4, i, line, lastLine, t5, t6, t7, t8, t9, t10, t11, t12, t13, index, primaryIdx, primary, _i, _this = this, + t1 = _this._lines; + _this._writeFileStart$1(C.JSArray_methods.get$first(t1).url); + highlightsByColumn = P.List_List$filled(_this._maxMultilineSpans, null, false, type$.nullable__Highlight); + for (t2 = _this._buffer, t3 = highlightsByColumn.length !== 0, t4 = _this._primaryColor, i = 0; i < t1.length; ++i) { + line = t1[i]; + if (i > 0) { + lastLine = t1[i - 1]; + t5 = lastLine.url; + t6 = line.url; + if (!J.$eq$(t5, t6)) { + _this._writeSidebar$1$end("\u2575"); + t2._contents += "\n"; + _this._writeFileStart$1(t6); + } else if (lastLine.number + 1 !== line.number) { + _this._writeSidebar$1$text("..."); + t2._contents += "\n"; + } + } + for (t5 = line.highlights, t6 = H._arrayInstanceType(t5)._eval$1("ReversedListIterable<1>"), t7 = new H.ReversedListIterable(t5, t6), t6 = new H.ListIterator(t7, t7.get$length(t7), t6._eval$1("ListIterator")), t7 = line.number, t8 = line.text, t9 = J.getInterceptor$s(t8); t6.moveNext$0();) { + t10 = t6.__internal$_current; + t11 = t10.span; + t12 = t11.get$start(t11); + t12 = t12.get$line(t12); + t13 = t11.get$end(t11); + if (t12 != t13.get$line(t13)) { + t12 = t11.get$start(t11); + t11 = t12.get$line(t12) === t7 && _this._isOnlyWhitespace$1(t9.substring$2(t8, 0, t11.get$start(t11).get$column())); + } else + t11 = false; + if (t11) { + index = C.JSArray_methods.indexOf$1(highlightsByColumn, null); + if (index < 0) + H.throwExpression(P.ArgumentError$(H.S(highlightsByColumn) + " contains no null elements.")); + C.JSArray_methods.$indexSet(highlightsByColumn, index, t10); + } + } + _this._writeSidebar$1$line(t7); + t2._contents += " "; + _this._writeMultilineHighlights$2(line, highlightsByColumn); + if (t3) + t2._contents += " "; + primaryIdx = C.JSArray_methods.indexWhere$1(t5, new U.Highlighter_highlight_closure()); + if (primaryIdx === -1) + primary = null; + else { + if (primaryIdx < 0 || primaryIdx >= t5.length) + return H.ioore(t5, primaryIdx); + primary = t5[primaryIdx]; + } + t6 = primary != null; + if (t6) { + t9 = primary.span; + t10 = t9.get$start(t9); + t10 = t10.get$line(t10) === t7 ? t9.get$start(t9).get$column() : 0; + t11 = t9.get$end(t9); + _this._writeHighlightedText$4$color(t8, t10, t11.get$line(t11) === t7 ? t9.get$end(t9).get$column() : t8.length, t4); + } else + _this._writeText$1(t8); + t2._contents += "\n"; + if (t6) + _this._writeIndicator$3(line, primary, highlightsByColumn); + for (t6 = t5.length, _i = 0; _i < t6; ++_i) { + t5[_i].toString; + continue; + } + } + _this._writeSidebar$1$end("\u2575"); + t1 = t2._contents; + return t1.charCodeAt(0) == 0 ? t1 : t1; + }, + _writeFileStart$1: function(url) { + var _this = this; + if (!_this._multipleFiles || url == null) + _this._writeSidebar$1$end("\u2577"); + else { + _this._writeSidebar$1$end("\u250c"); + _this._colorize$2$color(new U.Highlighter__writeFileStart_closure(_this), "\x1b[34m"); + _this._buffer._contents += " " + H.S($.$get$context().prettyUri$1(url)); + } + _this._buffer._contents += "\n"; + }, + _writeMultilineHighlights$3$current: function(line, highlightsByColumn, current) { + var t1, currentColor, t2, t3, t4, foundCurrent, _i, highlight, t5, startLine, t6, endLine, _this = this, _box_0 = {}; + type$.List_nullable__Highlight._as(highlightsByColumn); + _box_0.openedOnThisLine = false; + _box_0.openedOnThisLineColor = null; + t1 = current == null; + if (t1) + currentColor = null; + else + currentColor = _this._primaryColor; + for (t2 = highlightsByColumn.length, t3 = _this._primaryColor, t1 = !t1, t4 = _this._buffer, foundCurrent = false, _i = 0; _i < t2; ++_i) { + highlight = highlightsByColumn[_i]; + t5 = highlight == null; + if (t5) + startLine = null; + else { + t6 = highlight.span; + t6 = t6.get$start(t6); + startLine = t6.get$line(t6); + } + if (t5) + endLine = null; + else { + t6 = highlight.span; + t6 = t6.get$end(t6); + endLine = t6.get$line(t6); + } + if (t1 && highlight === current) { + _this._colorize$2$color(new U.Highlighter__writeMultilineHighlights_closure(_this, startLine, line), currentColor); + foundCurrent = true; + } else if (foundCurrent) + _this._colorize$2$color(new U.Highlighter__writeMultilineHighlights_closure0(_this, highlight), currentColor); + else if (t5) + if (_box_0.openedOnThisLine) + _this._colorize$2$color(new U.Highlighter__writeMultilineHighlights_closure1(_this), _box_0.openedOnThisLineColor); + else + t4._contents += " "; + else + _this._colorize$2$color(new U.Highlighter__writeMultilineHighlights_closure2(_box_0, _this, current, startLine, line, highlight, endLine), t3); + } + }, + _writeMultilineHighlights$2: function(line, highlightsByColumn) { + return this._writeMultilineHighlights$3$current(line, highlightsByColumn, null); + }, + _writeHighlightedText$4$color: function(text, startColumn, endColumn, color) { + var _this = this; + _this._writeText$1(J.substring$2$s(text, 0, startColumn)); + _this._colorize$2$color(new U.Highlighter__writeHighlightedText_closure(_this, text, startColumn, endColumn), color); + _this._writeText$1(C.JSString_methods.substring$2(text, endColumn, text.length)); + }, + _writeIndicator$3: function(line, highlight, highlightsByColumn) { + var color, t1, t2, t3, coversWholeLine, _this = this; + type$.List_nullable__Highlight._as(highlightsByColumn); + color = _this._primaryColor; + t1 = highlight.span; + t2 = t1.get$start(t1); + t2 = t2.get$line(t2); + t3 = t1.get$end(t1); + if (t2 == t3.get$line(t3)) { + _this._writeSidebar$0(); + t1 = _this._buffer; + t1._contents += " "; + _this._writeMultilineHighlights$3$current(line, highlightsByColumn, highlight); + if (highlightsByColumn.length !== 0) + t1._contents += " "; + _this._colorize$2$color(new U.Highlighter__writeIndicator_closure(_this, line, highlight), color); + t1._contents += "\n"; + } else { + t2 = t1.get$start(t1); + t3 = line.number; + if (t2.get$line(t2) === t3) { + if (C.JSArray_methods.contains$1(highlightsByColumn, highlight)) + return; + B.replaceFirstNull(highlightsByColumn, highlight, type$._Highlight); + _this._writeSidebar$0(); + t1 = _this._buffer; + t1._contents += " "; + _this._writeMultilineHighlights$3$current(line, highlightsByColumn, highlight); + _this._colorize$2$color(new U.Highlighter__writeIndicator_closure0(_this, line, highlight), color); + t1._contents += "\n"; + } else { + t2 = t1.get$end(t1); + if (t2.get$line(t2) === t3) { + coversWholeLine = t1.get$end(t1).get$column() === line.text.length; + if (coversWholeLine && true) { + B.replaceWithNull(highlightsByColumn, highlight, type$._Highlight); + return; + } + _this._writeSidebar$0(); + t1 = _this._buffer; + t1._contents += " "; + _this._writeMultilineHighlights$3$current(line, highlightsByColumn, highlight); + _this._colorize$2$color(new U.Highlighter__writeIndicator_closure1(_this, coversWholeLine, line, highlight), color); + t1._contents += "\n"; + B.replaceWithNull(highlightsByColumn, highlight, type$._Highlight); + } + } + } + }, + _writeArrow$3$beginning: function(line, column, beginning) { + var t1 = beginning ? 0 : 1, + t2 = this._buffer; + t1 = t2._contents += C.JSString_methods.$mul("\u2500", 1 + column + this._countTabs$1(J.substring$2$s(line.text, 0, column + t1)) * 3); + t2._contents = t1 + "^"; + }, + _writeArrow$2: function(line, column) { + return this._writeArrow$3$beginning(line, column, true); + }, + _writeText$1: function(text) { + var t1, t2, t3; + text.toString; + t1 = new H.CodeUnits(text); + t1 = new H.ListIterator(t1, t1.get$length(t1), type$.CodeUnits._eval$1("ListIterator")); + t2 = this._buffer; + for (; t1.moveNext$0();) { + t3 = t1.__internal$_current; + if (t3 === 9) + t2._contents += C.JSString_methods.$mul(" ", 4); + else + t2._contents += H.Primitives_stringFromCharCode(t3); + } + }, + _writeSidebar$3$end$line$text: function(end, line, text) { + var t1 = {}; + t1.text = text; + if (line != null) + t1.text = C.JSInt_methods.toString$0(line + 1); + this._colorize$2$color(new U.Highlighter__writeSidebar_closure(t1, this, end), "\x1b[34m"); + }, + _writeSidebar$1$end: function(end) { + return this._writeSidebar$3$end$line$text(end, null, null); + }, + _writeSidebar$1$text: function(text) { + return this._writeSidebar$3$end$line$text(null, null, text); + }, + _writeSidebar$1$line: function(line) { + return this._writeSidebar$3$end$line$text(null, line, null); + }, + _writeSidebar$0: function() { + return this._writeSidebar$3$end$line$text(null, null, null); + }, + _countTabs$1: function(text) { + var t1, count; + for (t1 = new H.CodeUnits(text), t1 = new H.ListIterator(t1, t1.get$length(t1), type$.CodeUnits._eval$1("ListIterator")), count = 0; t1.moveNext$0();) + if (t1.__internal$_current === 9) + ++count; + return count; + }, + _isOnlyWhitespace$1: function(text) { + var t1, t2; + for (t1 = new H.CodeUnits(text), t1 = new H.ListIterator(t1, t1.get$length(t1), type$.CodeUnits._eval$1("ListIterator")); t1.moveNext$0();) { + t2 = t1.__internal$_current; + if (t2 !== 32 && t2 !== 9) + return false; + } + return true; + }, + _colorize$2$color: function(callback, color) { + var t1; + type$.void_Function._as(callback); + t1 = this._primaryColor != null; + if (t1 && color != null) + this._buffer._contents += color; + callback.call$0(); + if (t1 && color != null) + this._buffer._contents += "\x1b[0m"; + } + }; + U.Highlighter_closure.prototype = { + call$0: function() { + return this.color; + }, + $signature: 543 + }; + U.Highlighter$__closure.prototype = { + call$1: function(line) { + var t1 = type$._Line._as(line).highlights, + t2 = H._arrayInstanceType(t1); + t2 = new H.WhereIterable(t1, t2._eval$1("bool(1)")._as(new U.Highlighter$___closure()), t2._eval$1("WhereIterable<1>")); + return t2.get$length(t2); + }, + $signature: 544 + }; + U.Highlighter$___closure.prototype = { + call$1: function(highlight) { + var t1 = type$._Highlight._as(highlight).span, + t2 = t1.get$start(t1); + t2 = t2.get$line(t2); + t1 = t1.get$end(t1); + return t2 != t1.get$line(t1); + }, + $signature: 92 + }; + U.Highlighter$__closure0.prototype = { + call$1: function(line) { + return type$._Line._as(line).url; + }, + $signature: 546 + }; + U.Highlighter__collateLines_closure.prototype = { + call$1: function(highlight) { + return type$._Highlight._as(highlight).span.get$sourceUrl(); + }, + $signature: 547 + }; + U.Highlighter__collateLines_closure0.prototype = { + call$2: function(highlight1, highlight2) { + var t1 = type$._Highlight; + t1._as(highlight1); + t1._as(highlight2); + return highlight1.span.compareTo$1(0, highlight2.span); + }, + "call*": "call$2", + $requiredArgCount: 2, + $signature: 548 + }; + U.Highlighter__collateLines_closure1.prototype = { + call$1: function(highlightsForFile) { + var lines, t1, t2, t3, t4, context, t5, linesBeforeSpan, url, lineNumber, _i, line, activeHighlights, highlightIndex, oldHighlightLength, t6, t7, t8; + type$.List__Highlight._as(highlightsForFile); + lines = H.setRuntimeTypeInfo([], type$.JSArray__Line); + for (t1 = J.getInterceptor$ax(highlightsForFile), t2 = t1.get$iterator(highlightsForFile), t3 = type$.JSArray__Highlight; t2.moveNext$0();) { + t4 = t2.get$current(t2).span; + context = t4.get$context(t4); + t5 = B.findLineStart(context, t4.get$text(t4), t4.get$start(t4).get$column()); + t5.toString; + t5 = C.JSString_methods.allMatches$1("\n", C.JSString_methods.substring$2(context, 0, t5)); + linesBeforeSpan = t5.get$length(t5); + url = t4.get$sourceUrl(); + t4 = t4.get$start(t4); + t4 = t4.get$line(t4); + if (typeof t4 !== "number") + return t4.$sub(); + lineNumber = t4 - linesBeforeSpan; + for (t4 = context.split("\n"), t5 = t4.length, _i = 0; _i < t5; ++_i) { + line = t4[_i]; + if (lines.length === 0 || lineNumber > C.JSArray_methods.get$last(lines).number) + C.JSArray_methods.add$1(lines, new U._Line(line, lineNumber, url, H.setRuntimeTypeInfo([], t3))); + ++lineNumber; + } + } + activeHighlights = H.setRuntimeTypeInfo([], t3); + for (t2 = lines.length, t3 = type$.bool_Function__Highlight, highlightIndex = 0, _i = 0; _i < lines.length; lines.length === t2 || (0, H.throwConcurrentModificationError)(lines), ++_i) { + line = lines[_i]; + t4 = t3._as(new U.Highlighter__collateLines__closure(line)); + if (!!activeHighlights.fixed$length) + H.throwExpression(P.UnsupportedError$("removeWhere")); + C.JSArray_methods._removeWhere$2(activeHighlights, t4, true); + oldHighlightLength = activeHighlights.length; + for (t4 = t1.skip$1(highlightsForFile, highlightIndex), t4 = t4.get$iterator(t4); t4.moveNext$0();) { + t5 = t4.get$current(t4); + t6 = t5.span; + t7 = t6.get$start(t6); + t7 = t7.get$line(t7); + t8 = line.number; + if (typeof t7 !== "number") + return t7.$gt(); + if (t7 > t8) + break; + if (!J.$eq$(t6.get$sourceUrl(), line.url)) + break; + C.JSArray_methods.add$1(activeHighlights, t5); + } + highlightIndex += activeHighlights.length - oldHighlightLength; + C.JSArray_methods.addAll$1(line.highlights, activeHighlights); + } + return lines; + }, + $signature: 549 + }; + U.Highlighter__collateLines__closure.prototype = { + call$1: function(highlight) { + var t1 = type$._Highlight._as(highlight).span, + t2 = this.line; + if (J.$eq$(t1.get$sourceUrl(), t2.url)) { + t1 = t1.get$end(t1); + t1 = t1.get$line(t1); + t2 = t2.number; + if (typeof t1 !== "number") + return t1.$lt(); + t2 = t1 < t2; + t1 = t2; + } else + t1 = true; + return t1; + }, + $signature: 92 + }; + U.Highlighter_highlight_closure.prototype = { + call$1: function(highlight) { + type$._Highlight._as(highlight).toString; + return true; + }, + $signature: 92 + }; + U.Highlighter__writeFileStart_closure.prototype = { + call$0: function() { + this.$this._buffer._contents += C.JSString_methods.$mul("\u2500", 2) + ">"; + return null; + }, + $signature: 0 + }; + U.Highlighter__writeMultilineHighlights_closure.prototype = { + call$0: function() { + var t1 = this.startLine === this.line.number ? "\u250c" : "\u2514"; + this.$this._buffer._contents += t1; + }, + $signature: 0 + }; + U.Highlighter__writeMultilineHighlights_closure0.prototype = { + call$0: function() { + var t1 = this.highlight == null ? "\u2500" : "\u253c"; + this.$this._buffer._contents += t1; + }, + $signature: 0 + }; + U.Highlighter__writeMultilineHighlights_closure1.prototype = { + call$0: function() { + this.$this._buffer._contents += "\u2500"; + return null; + }, + $signature: 0 + }; + U.Highlighter__writeMultilineHighlights_closure2.prototype = { + call$0: function() { + var t2, t3, _this = this, + t1 = _this._box_0, + vertical = t1.openedOnThisLine ? "\u253c" : "\u2502"; + if (_this.current != null) + _this.$this._buffer._contents += vertical; + else { + t2 = _this.line; + t3 = t2.number; + if (_this.startLine === t3) { + t2 = _this.$this; + t2._colorize$2$color(new U.Highlighter__writeMultilineHighlights__closure(t1, t2), t1.openedOnThisLineColor); + t1.openedOnThisLine = true; + if (t1.openedOnThisLineColor == null) + t1.openedOnThisLineColor = t2._primaryColor; + } else { + if (_this.endLine === t3) { + t3 = _this.highlight.span; + t2 = t3.get$end(t3).get$column() === t2.text.length; + } else + t2 = false; + t3 = _this.$this; + if (t2) + t3._buffer._contents += "\u2514"; + else + t3._colorize$2$color(new U.Highlighter__writeMultilineHighlights__closure0(t3, vertical), t1.openedOnThisLineColor); + } + } + }, + $signature: 0 + }; + U.Highlighter__writeMultilineHighlights__closure.prototype = { + call$0: function() { + var t1 = this._box_0.openedOnThisLine ? "\u252c" : "\u250c"; + this.$this._buffer._contents += t1; + }, + $signature: 0 + }; + U.Highlighter__writeMultilineHighlights__closure0.prototype = { + call$0: function() { + this.$this._buffer._contents += this.vertical; + }, + $signature: 0 + }; + U.Highlighter__writeHighlightedText_closure.prototype = { + call$0: function() { + var _this = this; + return _this.$this._writeText$1(C.JSString_methods.substring$2(_this.text, _this.startColumn, _this.endColumn)); + }, + $signature: 0 + }; + U.Highlighter__writeIndicator_closure.prototype = { + call$0: function() { + var tabsBefore, tabsInside, + t1 = this.$this, + t2 = type$.SourceSpan._as(this.highlight.span), + startColumn = t2.get$start(t2).get$column(), + endColumn = t2.get$end(t2).get$column(); + t2 = this.line.text; + tabsBefore = t1._countTabs$1(J.substring$2$s(t2, 0, startColumn)); + tabsInside = t1._countTabs$1(C.JSString_methods.substring$2(t2, startColumn, endColumn)); + startColumn += tabsBefore * 3; + t1 = t1._buffer; + t1._contents += C.JSString_methods.$mul(" ", startColumn); + t1._contents += C.JSString_methods.$mul("^", Math.max(endColumn + (tabsBefore + tabsInside) * 3 - startColumn, 1)); + }, + $signature: 0 + }; + U.Highlighter__writeIndicator_closure0.prototype = { + call$0: function() { + var t1 = this.highlight.span; + return this.$this._writeArrow$2(this.line, t1.get$start(t1).get$column()); + }, + $signature: 0 + }; + U.Highlighter__writeIndicator_closure1.prototype = { + call$0: function() { + var t2, _this = this, + t1 = _this.$this; + if (_this.coversWholeLine) + t1._buffer._contents += C.JSString_methods.$mul("\u2500", 3); + else { + t2 = _this.highlight.span; + t1._writeArrow$3$beginning(_this.line, Math.max(t2.get$end(t2).get$column() - 1, 0), false); + } + }, + $signature: 0 + }; + U.Highlighter__writeSidebar_closure.prototype = { + call$0: function() { + var t1 = this.$this, + t2 = t1._buffer, + t3 = this._box_0.text; + if (t3 == null) + t3 = ""; + t1 = t2._contents += C.JSString_methods.padRight$1(t3, t1._paddingBeforeSidebar); + t3 = this.end; + t2._contents = t1 + (t3 == null ? "\u2502" : t3); + }, + $signature: 0 + }; + U._Highlight.prototype = { + toString$0: function(_) { + var t3, + t1 = this.span, + t2 = t1.get$start(t1); + t2 = H.S(t2.get$line(t2)) + ":" + t1.get$start(t1).get$column() + "-"; + t3 = t1.get$end(t1); + t1 = "primary " + (t2 + H.S(t3.get$line(t3)) + ":" + t1.get$end(t1).get$column()); + return t1.charCodeAt(0) == 0 ? t1 : t1; + } + }; + U._Highlight_closure.prototype = { + call$0: function() { + var t2, t3, t4, t5, + t1 = this.span; + if (!(type$.SourceSpanWithContext._is(t1) && B.findLineStart(t1.get$context(t1), t1.get$text(t1), t1.get$start(t1).get$column()) != null)) { + t2 = t1.get$start(t1); + t2 = V.SourceLocation$(t2.get$offset(t2), 0, 0, t1.get$sourceUrl()); + t3 = t1.get$end(t1); + t3 = t3.get$offset(t3); + t4 = t1.get$sourceUrl(); + t5 = B.countCodeUnits(t1.get$text(t1), 10); + t1 = X.SourceSpanWithContext$(t2, V.SourceLocation$(t3, U._Highlight__lastLineLength(t1.get$text(t1)), t5, t4), t1.get$text(t1), t1.get$text(t1)); + } + return U._Highlight__normalizeEndOfLine(U._Highlight__normalizeTrailingNewline(U._Highlight__normalizeNewlines(t1))); + }, + $signature: 550 + }; + U._Line.prototype = { + toString$0: function(_) { + return "" + this.number + ': "' + H.S(this.text) + '" (' + C.JSArray_methods.join$1(this.highlights, ", ") + ")"; + } + }; + V.SourceLocation.prototype = { + distance$1: function(other) { + var t1 = this.sourceUrl; + if (!J.$eq$(t1, other.get$sourceUrl())) + throw H.wrapException(P.ArgumentError$('Source URLs "' + H.S(t1) + '" and "' + H.S(other.get$sourceUrl()) + "\" don't match.")); + return Math.abs(this.offset - other.get$offset(other)); + }, + compareTo$1: function(_, other) { + var t1; + type$.SourceLocation._as(other); + t1 = this.sourceUrl; + if (!J.$eq$(t1, other.get$sourceUrl())) + throw H.wrapException(P.ArgumentError$('Source URLs "' + H.S(t1) + '" and "' + H.S(other.get$sourceUrl()) + "\" don't match.")); + return this.offset - other.get$offset(other); + }, + $eq: function(_, other) { + if (other == null) + return false; + return type$.SourceLocation._is(other) && J.$eq$(this.sourceUrl, other.get$sourceUrl()) && this.offset === other.get$offset(other); + }, + get$hashCode: function(_) { + var t1 = this.sourceUrl; + t1 = t1 == null ? null : t1.get$hashCode(t1); + if (t1 == null) + t1 = 0; + return t1 + this.offset; + }, + toString$0: function(_) { + var _this = this, + t1 = "<" + H.getRuntimeType(_this).toString$0(0) + ": " + _this.offset + " ", + source = _this.sourceUrl; + return t1 + (H.S(source == null ? "unknown source" : source) + ":" + (_this.line + 1) + ":" + (_this.column + 1)) + ">"; + }, + $isComparable: 1, + get$sourceUrl: function() { + return this.sourceUrl; + }, + get$offset: function(receiver) { + return this.offset; + }, + get$line: function(receiver) { + return this.line; + }, + get$column: function() { + return this.column; + } + }; + D.SourceLocationMixin.prototype = { + distance$1: function(other) { + if (!J.$eq$(this.file.url, other.get$sourceUrl())) + throw H.wrapException(P.ArgumentError$('Source URLs "' + H.S(this.get$sourceUrl()) + '" and "' + H.S(other.get$sourceUrl()) + "\" don't match.")); + return Math.abs(this.offset - other.get$offset(other)); + }, + compareTo$1: function(_, other) { + type$.SourceLocation._as(other); + if (!J.$eq$(this.file.url, other.get$sourceUrl())) + throw H.wrapException(P.ArgumentError$('Source URLs "' + H.S(this.get$sourceUrl()) + '" and "' + H.S(other.get$sourceUrl()) + "\" don't match.")); + return this.offset - other.get$offset(other); + }, + $eq: function(_, other) { + if (other == null) + return false; + return type$.SourceLocation._is(other) && J.$eq$(this.file.url, other.get$sourceUrl()) && this.offset === other.get$offset(other); + }, + get$hashCode: function(_) { + var t1 = this.file.url; + t1 = t1 == null ? null : t1.get$hashCode(t1); + if (t1 == null) + t1 = 0; + return t1 + this.offset; + }, + toString$0: function(_) { + var t1 = this.offset, + t2 = "<" + H.getRuntimeType(this).toString$0(0) + ": " + t1 + " ", + t3 = this.file, + source = t3.url, + t4 = H.S(source == null ? "unknown source" : source) + ":", + t5 = t3.getLine$1(t1); + if (typeof t5 !== "number") + return t5.$add(); + return t2 + (t4 + (t5 + 1) + ":" + (t3.getColumn$1(t1) + 1)) + ">"; + }, + $isComparable: 1, + $isSourceLocation: 1 + }; + V.SourceSpanBase.prototype = { + SourceSpanBase$3: function(start, end, text) { + var t3, + t1 = this.end, + t2 = this.start; + if (!J.$eq$(t1.get$sourceUrl(), t2.get$sourceUrl())) + throw H.wrapException(P.ArgumentError$('Source URLs "' + H.S(t2.get$sourceUrl()) + '" and "' + H.S(t1.get$sourceUrl()) + "\" don't match.")); + else if (t1.get$offset(t1) < t2.get$offset(t2)) + throw H.wrapException(P.ArgumentError$("End " + t1.toString$0(0) + " must come after start " + t2.toString$0(0) + ".")); + else { + t3 = this.text; + if (t3.length !== t2.distance$1(t1)) + throw H.wrapException(P.ArgumentError$('Text "' + t3 + '" must be ' + t2.distance$1(t1) + " characters long.")); + } + }, + get$start: function(receiver) { + return this.start; + }, + get$end: function(receiver) { + return this.end; + }, + get$text: function(receiver) { + return this.text; + } + }; + G.SourceSpanException.prototype = { + get$message: function(_) { + return this._span_exception$_message; + }, + toString$0: function(_) { + return "Error on " + this._span.message$2$color(0, this._span_exception$_message, null); + }, + $isException: 1 + }; + G.SourceSpanFormatException.prototype = { + get$offset: function(_) { + var t1 = this._span; + t1 = Y.FileLocation$_(t1.file, t1._file$_start); + return t1.offset; + }, + $isFormatException: 1, + get$source: function(receiver) { + return this.source; + } + }; + Y.SourceSpanMixin.prototype = { + get$sourceUrl: function() { + return this.get$start(this).get$sourceUrl(); + }, + get$length: function(_) { + var t2, _this = this, + t1 = _this.get$end(_this); + t1 = t1.get$offset(t1); + t2 = _this.get$start(_this); + return t1 - t2.get$offset(t2); + }, + compareTo$1: function(_, other) { + var result, _this = this; + type$.SourceSpan._as(other); + result = _this.get$start(_this).compareTo$1(0, other.get$start(other)); + return result === 0 ? _this.get$end(_this).compareTo$1(0, other.get$end(other)) : result; + }, + message$2$color: function(_, message, color) { + var t2, highlight, _this = this, + t1 = _this.get$start(_this); + t1 = t1.get$line(t1); + if (typeof t1 !== "number") + return t1.$add(); + t1 = "line " + (t1 + 1) + ", column " + (_this.get$start(_this).get$column() + 1); + if (_this.get$sourceUrl() != null) { + t2 = _this.get$sourceUrl(); + t2 = t1 + (" of " + H.S($.$get$context().prettyUri$1(t2))); + t1 = t2; + } + t1 += ": " + message; + highlight = _this.highlight$1$color(0, color); + if (highlight.length !== 0) + t1 = t1 + "\n" + highlight; + return t1.charCodeAt(0) == 0 ? t1 : t1; + }, + message$1: function($receiver, message) { + return this.message$2$color($receiver, message, null); + }, + highlight$1$color: function(_, color) { + var _this = this; + if (!type$.SourceSpanWithContext._is(_this) && _this.get$length(_this) === 0) + return ""; + return U.Highlighter$(_this, color).highlight$0(0); + }, + $eq: function(_, other) { + var _this = this; + if (other == null) + return false; + return type$.SourceSpan._is(other) && _this.get$start(_this).$eq(0, other.get$start(other)) && _this.get$end(_this).$eq(0, other.get$end(other)); + }, + get$hashCode: function(_) { + var t2, _this = this, + t1 = _this.get$start(_this); + t1 = t1.get$hashCode(t1); + t2 = _this.get$end(_this); + return t1 + 31 * t2.get$hashCode(t2); + }, + toString$0: function(_) { + var _this = this; + return "<" + H.getRuntimeType(_this).toString$0(0) + ": from " + _this.get$start(_this).toString$0(0) + " to " + _this.get$end(_this).toString$0(0) + ' "' + _this.get$text(_this) + '">'; + }, + $isComparable: 1, + $isSourceSpan: 1 + }; + X.SourceSpanWithContext.prototype = { + get$context: function(_) { + return this._context; + } + }; + U.OdsDecoder.prototype = { + insertRow$2: function(_, sheet, rowIndex) { + var t1, style, t2, t3, attributes, children, newRow, row, _this = this; + _this.super$SpreadsheetDecoder$insertRow(0, sheet, rowIndex); + t1 = _this._styleNames.$index(0, "table-row"); + t1.toString; + style = C.JSArray_methods.get$first(t1); + t1 = J.$index$asx(_this.get$_sheets(), sheet); + t1.toString; + t2 = J.$index$asx(_this.get$_tables(), sheet)._maxCols; + t3 = type$.JSArray_XmlAttribute; + attributes = H.setRuntimeTypeInfo([N.XmlAttribute$(Q.XmlName_XmlName("table:style-name"), style, C.XmlAttributeType_1)], t3); + children = H.setRuntimeTypeInfo([G.XmlElement$(Q.XmlName_XmlName("table:table-cell"), H.setRuntimeTypeInfo([N.XmlAttribute$(Q.XmlName_XmlName("table:number-columns-repeated"), C.JSInt_methods.toString$0(t2), C.XmlAttributeType_1)], t3), C.List_empty2, true)], type$.JSArray_XmlNode); + newRow = G.XmlElement$(Q.XmlName_XmlName("table:table-row"), attributes, children, true); + row = U.OdsDecoder__findRowByIndex(t1, rowIndex); + t1 = t1.XmlHasChildren_children; + if (row != null) + t1.insert$2(0, C.JSArray_methods.indexOf$2(t1._wrappers$_base, t1.$ti._precomputed1._as(row), 0), newRow); + else + t1.add$1(0, newRow); + }, + updateCell$4: function(sheet, columnIndex, rowIndex, value) { + var t1, t2, index, t3, attributes, t4, children, cell; + this.super$SpreadsheetDecoder$updateCell(sheet, columnIndex, rowIndex, value); + t1 = J.$index$asx(this.get$_sheets(), sheet); + t1.toString; + t1 = U.OdsDecoder__findRowByIndex(t1, rowIndex); + t1.toString; + t2 = U.OdsDecoder__findCellByIndex(t1, columnIndex); + t2.toString; + t1 = t1.XmlHasChildren_children; + index = C.JSArray_methods.indexOf$2(t1._wrappers$_base, t1.$ti._precomputed1._as(t2), 0); + t2 = value == null; + t3 = type$.JSArray_XmlAttribute; + attributes = t2 ? H.setRuntimeTypeInfo([], t3) : H.setRuntimeTypeInfo([N.XmlAttribute$(Q.XmlName_XmlName("office:value-type"), "string", C.XmlAttributeType_1), N.XmlAttribute$(Q.XmlName_XmlName("calcext:value-type"), "string", C.XmlAttributeType_1)], t3); + t4 = type$.JSArray_XmlNode; + children = t2 ? H.setRuntimeTypeInfo([], t4) : H.setRuntimeTypeInfo([G.XmlElement$(Q.XmlName_XmlName("text:p"), H.setRuntimeTypeInfo([], t3), H.setRuntimeTypeInfo([new L.XmlText(value, null)], t4), true)], t4); + cell = G.XmlElement$(Q.XmlName_XmlName("table:table-cell"), attributes, children, true); + t1.removeAt$1(0, index); + t1.insert$2(0, index, cell); + }, + _parseContent$0: function() { + var $content, _this = this, + file = _this.get$_archive().findFile$1("content.xml"), + t1 = file == null; + if (!t1) + file.decompress$0(); + t1 = t1 ? null : file.get$content(file); + $content = S.XmlDocument_XmlDocument$parse(C.C_Utf8Codec.decode$1(0, type$.List_int._as(t1))); + if (_this.get$_update(_this) === true) { + t1 = type$.String; + _this.set$__SpreadsheetDecoder__archiveFiles(type$.Map_String_ArchiveFile._as(P.LinkedHashMap_LinkedHashMap$_empty(t1, type$.ArchiveFile))); + _this.set$__SpreadsheetDecoder__sheets(type$.Map_String_XmlElement._as(P.LinkedHashMap_LinkedHashMap$_empty(t1, type$.XmlElement))); + _this.set$__SpreadsheetDecoder__xmlFiles(type$.Map_String_XmlDocument._as(P.LinkedHashMap_LinkedHashMap$_literal(["content.xml", $content], t1, type$.XmlDocument))); + _this._parseStyles$1($content); + } + Q.filterElements(new U.XmlDescendantsIterable($content), "table:table", null).forEach$1(0, new U.OdsDecoder__parseContent_closure(_this)); + }, + _parseStyles$1: function($document) { + this._styleNames.clear$0(0); + Q.filterElements(new U.XmlDescendantsIterable($document), "style:style", null).forEach$1(0, new U.OdsDecoder__parseStyles_closure(this)); + }, + _parseTable$2: function(node, $name) { + var rows, t2, filledRows, _this = this, + t1 = _this.get$_tables(), + table = new U.SpreadsheetTable(H.setRuntimeTypeInfo([], type$.JSArray_List_dynamic)); + J.$indexSet$ax(t1, $name, table); + rows = Q.filterElements(node.XmlHasChildren_children, "table:table-row", null); + t1 = P.List_List$of(rows, true, rows.$ti._eval$1("Iterable.E")); + t2 = H._arrayInstanceType(t1)._eval$1("ReversedListIterable<1>"); + filledRows = new H.ReversedListIterable(t1, t2).super$Iterable$skipWhile(0, t2._eval$1("bool(ListIterable.E)")._as(new U.OdsDecoder__parseTable_closure(_this))); + t2 = P.List_List$of(filledRows, true, filledRows.$ti._eval$1("Iterable.E")); + new H.ReversedListIterable(t2, H._arrayInstanceType(t2)._eval$1("ReversedListIterable<1>")).forEach$1(0, new U.OdsDecoder__parseTable_closure0(_this, table)); + _this._normalizeTable$1(table); + }, + _parseRow$2: function(node, table) { + var repeat, index, row = [], + cells = Q.filterElements(node.XmlHasChildren_children, "table:table-cell", null), + t1 = P.List_List$of(cells, true, cells.$ti._eval$1("Iterable.E")), + t2 = H._arrayInstanceType(t1)._eval$1("ReversedListIterable<1>"), + filledCells = new H.ReversedListIterable(t1, t2).super$Iterable$skipWhile(0, t2._eval$1("bool(ListIterable.E)")._as(new U.OdsDecoder__parseRow_closure(this))); + t2 = P.List_List$of(filledCells, true, filledCells.$ti._eval$1("Iterable.E")); + new H.ReversedListIterable(t2, H._arrayInstanceType(t2)._eval$1("ReversedListIterable<1>")).forEach$1(0, new U.OdsDecoder__parseRow_closure0(this, table, row)); + repeat = U.OdsDecoder__getRowRepeated(node); + for (t1 = table._spreadsheet_decoder$_rows, t2 = type$.dynamic, index = 0; index < repeat; ++index) + C.JSArray_methods.add$1(t1, P.List_List$from(row, true, t2)); + this._countFilledRow$2(table, row); + }, + _parseCell$3: function(node, table, row) { + var index, + value = this._readCell$1(node), + repeat = U.OdsDecoder__getCellRepeated(node); + for (index = 0; index < repeat; ++index) + C.JSArray_methods.add$1(row, value); + this._countFilledColumn$3(table, row, value); + }, + _readCell$1: function(node) { + var t1, value, list; + switch (node.getAttribute$1(0, "office:value-type")) { + case "float": + case "percentage": + case "currency": + t1 = node.getAttribute$1(0, "office:value"); + t1.toString; + value = P.num_parse(t1); + break; + case "boolean": + value = node.getAttribute$1(0, "office:boolean-value").toLowerCase() === "true"; + break; + case "date": + t1 = node.getAttribute$1(0, "office:date-value"); + t1.toString; + value = P.DateTime_parse(t1).toIso8601String$0(); + break; + case "time": + value = node.getAttribute$1(0, "office:time-value"); + value = J.substring$2$s(value, 2, value.length - 1); + t1 = P.RegExp_RegExp("[H|M]", true); + value = H.stringReplaceAllUnchecked(value, t1, ":"); + break; + case "string": + default: + list = H.setRuntimeTypeInfo([], type$.JSArray_String); + Q.filterElements(node.XmlHasChildren_children, "text:p", null).forEach$1(0, new U.OdsDecoder__readCell_closure(this, list)); + value = list.length !== 0 ? C.JSArray_methods.join$1(list, "\n") : null; + } + return value; + }, + _readString$1: function(node) { + var buffer = new P.StringBuffer(""), + t1 = node.XmlHasChildren_children; + C.JSArray_methods.forEach$1(t1._wrappers$_base, t1.$ti._eval$1("~(1)")._as(new U.OdsDecoder__readString_closure(this, buffer))); + t1 = buffer._contents; + return t1.charCodeAt(0) == 0 ? t1 : t1; + } + }; + U.OdsDecoder__parseContent_closure.prototype = { + call$1: function(node) { + var t1, t2; + type$.XmlElement._as(node); + t1 = node.getAttribute$1(0, "table:name"); + t1.toString; + t2 = this.$this; + if (t2.get$_update(t2) === true) + J.$indexSet$ax(t2.get$_sheets(), t1, node); + t2._parseTable$2(node, t1); + }, + $signature: 16 + }; + U.OdsDecoder__parseStyles_closure.prototype = { + call$1: function(style) { + var t1, t2, t3; + type$.XmlElement._as(style); + t1 = style.getAttribute$1(0, "style:name"); + t1.toString; + t2 = style.getAttribute$1(0, "style:family"); + t2.toString; + t3 = this.$this._styleNames; + if (t3.$index(0, t2) == null) + t3.$indexSet(0, t2, H.setRuntimeTypeInfo([], type$.JSArray_String)); + t2 = t3.$index(0, t2); + t2.toString; + C.JSArray_methods.add$1(t2, t1); + }, + $signature: 16 + }; + U.OdsDecoder__parseTable_closure.prototype = { + call$1: function(row) { + var empty, t1, t2, t3; + type$.XmlElement._as(row); + t1 = Q.filterElements(row.XmlHasChildren_children, "table:table-cell", null); + t2 = J.get$iterator$ax(t1.__internal$_iterable); + t1 = new H.WhereIterator(t2, t1._f, t1.$ti._eval$1("WhereIterator<1>")); + t3 = this.$this; + while (true) { + if (!t1.moveNext$0()) { + empty = true; + break; + } + if (t3._readCell$1(t2.get$current(t2)) != null) { + empty = false; + break; + } + } + if (empty) { + t1 = row.XmlHasParent__parent; + if (t1 != null) + J.remove$1$ax(t1.get$children(t1), row); + } + return empty; + }, + $signature: 86 + }; + U.OdsDecoder__parseTable_closure0.prototype = { + call$1: function(child) { + this.$this._parseRow$2(type$.XmlElement._as(child), this.table); + }, + $signature: 16 + }; + U.OdsDecoder__parseRow_closure.prototype = { + call$1: function(cell) { + return this.$this._readCell$1(type$.XmlElement._as(cell)) == null; + }, + $signature: 86 + }; + U.OdsDecoder__parseRow_closure0.prototype = { + call$1: function(child) { + this.$this._parseCell$3(type$.XmlElement._as(child), this.table, this.row); + }, + $signature: 16 + }; + U.OdsDecoder__readCell_closure.prototype = { + call$1: function(child) { + C.JSArray_methods.add$1(this.list, this.$this._readString$1(type$.XmlElement._as(child))); + }, + $signature: 16 + }; + U.OdsDecoder__readString_closure.prototype = { + call$1: function(child) { + var t1; + type$.XmlNode._as(child); + if (child instanceof G.XmlElement) { + t1 = this.$this._readString$1(child); + this.buffer._contents += H.stringReplaceAllUnchecked(t1, "\r\n", "\n"); + } else if (child instanceof L.XmlText) { + t1 = child.text; + t1.toString; + this.buffer._contents += H.stringReplaceAllUnchecked(t1, "\r\n", "\n"); + } + }, + $signature: 166 + }; + U.SpreadsheetDecoder.prototype = { + get$_update: function(_) { + var t1 = this.__SpreadsheetDecoder__update; + return t1 === $ ? H.throwExpression(H.LateError$fieldNI("_update")) : t1; + }, + get$_archive: function() { + var t1 = this.__SpreadsheetDecoder__archive; + return t1 === $ ? H.throwExpression(H.LateError$fieldNI("_archive")) : t1; + }, + get$_sheets: function() { + var t1 = this.__SpreadsheetDecoder__sheets; + return t1 === $ ? H.throwExpression(H.LateError$fieldNI("_sheets")) : t1; + }, + get$_xmlFiles: function() { + var t1 = this.__SpreadsheetDecoder__xmlFiles; + return t1 === $ ? H.throwExpression(H.LateError$fieldNI("_xmlFiles")) : t1; + }, + get$_archiveFiles: function() { + var t1 = this.__SpreadsheetDecoder__archiveFiles; + return t1 === $ ? H.throwExpression(H.LateError$fieldNI("_archiveFiles")) : t1; + }, + get$_tables: function() { + var t1 = this.__SpreadsheetDecoder__tables; + return t1 === $ ? H.throwExpression(H.LateError$fieldNI("_tables")) : t1; + }, + _checkSheetArguments$1: function(sheet) { + if (this.get$_update(this) !== true) + throw H.wrapException(P.ArgumentError$(string$.x27updat)); + if (!J.containsKey$1$x(this.get$_sheets(), sheet)) + throw H.wrapException(P.ArgumentError$("'" + sheet + "' not found")); + }, + insertRow$2: function(_, sheet, rowIndex) { + var t1, t2, _length, _list, _i; + this._checkSheetArguments$1(sheet); + t1 = J.$index$asx(this.get$_tables(), sheet); + t1.toString; + t2 = t1._maxRows; + if (rowIndex > t2) + throw H.wrapException(P.RangeError$range(rowIndex, 0, t2, null, null)); + _length = t1._maxCols; + _list = J.JSArray_JSArray$allocateGrowable(_length, type$.dynamic); + for (_i = 0; _i < _length; ++_i) + _list[_i] = null; + C.JSArray_methods.insert$2(t1._spreadsheet_decoder$_rows, rowIndex, _list); + ++t1._maxRows; + }, + updateCell$4: function(sheet, columnIndex, rowIndex, value) { + var t1, t2, _null = null; + this._checkSheetArguments$1(sheet); + t1 = J.$index$asx(this.get$_tables(), sheet); + t1.toString; + t2 = t1._maxCols; + if (columnIndex >= t2) + throw H.wrapException(P.RangeError$range(columnIndex, 0, t2 - 1, _null, _null)); + t2 = t1._maxRows; + if (rowIndex >= t2) + throw H.wrapException(P.RangeError$range(rowIndex, 0, t2 - 1, _null, _null)); + t1 = t1._spreadsheet_decoder$_rows; + if (rowIndex >= t1.length) + return H.ioore(t1, rowIndex); + C.JSArray_methods.$indexSet(t1[rowIndex], columnIndex, J.toString$0$(value)); + }, + encode$0: function() { + var t1, t2, t3, t4, $content, t5, t6, _this = this; + if (_this.get$_update(_this) !== true) + throw H.wrapException(P.ArgumentError$(string$.x27updat)); + for (t1 = J.get$iterator$ax(J.get$keys$x(_this.get$_xmlFiles())), t2 = type$.Utf8Codec._eval$1("Codec.S"); t1.moveNext$0();) { + t3 = t1.get$current(t1); + t4 = _this.__SpreadsheetDecoder__xmlFiles; + t4 = t2._as(J.toString$0$(J.$index$asx(t4 === $ ? H.throwExpression(H.LateError$fieldNI("_xmlFiles")) : t4, t3))); + $content = C.C_Utf8Codec.get$encoder().convert$1(t4); + t4 = _this.__SpreadsheetDecoder__archiveFiles; + if (t4 === $) + t4 = H.throwExpression(H.LateError$fieldNI("_archiveFiles")); + t5 = $content.length; + t6 = new B.ArchiveFile(t3, t5, C.JSInt_methods._tdivFast$1(Date.now(), 1000), 0); + t6.ArchiveFile$4(t3, t5, $content, 0); + J.$indexSet$ax(t4, t3, t6); + } + return new K.ZipEncoder().encode$1(_this._cloneArchive$1(_this.get$_archive())); + }, + _cloneArchive$1: function(archive) { + var clone = new D.Archive(H.setRuntimeTypeInfo([], type$.JSArray_ArchiveFile), P.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.int)); + C.JSArray_methods.forEach$1(archive.files, new U.SpreadsheetDecoder__cloneArchive_closure(this, clone)); + return clone; + }, + _normalizeTable$1: function(table) { + var t2, t3, row, t4, repeat, index, + t1 = table._maxRows; + if (t1 === 0) { + t1 = table._spreadsheet_decoder$_rows; + C.JSArray_methods.set$length(t1, 0); + } else { + t2 = table._spreadsheet_decoder$_rows; + t3 = t2.length; + if (t1 < t3) + C.JSArray_methods.removeRange$2(t2, t1, t3); + t1 = t2; + } + for (row = 0; row < t1.length; ++row) { + t2 = table._maxCols; + if (t2 === 0) + C.JSArray_methods.set$length(t1[row], 0); + else { + t3 = t1[row]; + t4 = t3.length; + if (t2 < t4) { + if (!!t3.fixed$length) + H.throwExpression(P.UnsupportedError$("removeRange")); + P.RangeError_checkValidRange(t2, t4, t4); + t3.splice(t2, t4 - t2); + } else if (t2 > t4) { + repeat = t2 - t4; + for (index = 0; index < repeat; ++index) { + if (row >= t1.length) + return H.ioore(t1, row); + C.JSArray_methods.add$1(t1[row], null); + } + } + } + } + }, + _isEmptyRow$1: function(row) { + return C.JSArray_methods.fold$1$2(row, true, new U.SpreadsheetDecoder__isEmptyRow_closure(), type$.bool); + }, + _countFilledRow$2: function(table, row) { + var t1, t2; + if (!H.boolConversionCheck(this._isEmptyRow$1(row))) { + t1 = table._maxRows; + t2 = table._spreadsheet_decoder$_rows.length; + if (t1 < t2) + table._maxRows = t2; + } + }, + _countFilledColumn$3: function(table, row, value) { + var t1, t2; + if (value != null) { + t1 = table._maxCols; + t2 = row.length; + if (t1 < t2) + table._maxCols = t2; + } + }, + set$__SpreadsheetDecoder__sheets: function(__SpreadsheetDecoder__sheets) { + this.__SpreadsheetDecoder__sheets = type$.nullable_Map_String_XmlElement._as(__SpreadsheetDecoder__sheets); + }, + set$__SpreadsheetDecoder__xmlFiles: function(__SpreadsheetDecoder__xmlFiles) { + this.__SpreadsheetDecoder__xmlFiles = type$.nullable_Map_String_XmlDocument._as(__SpreadsheetDecoder__xmlFiles); + }, + set$__SpreadsheetDecoder__archiveFiles: function(__SpreadsheetDecoder__archiveFiles) { + this.__SpreadsheetDecoder__archiveFiles = type$.nullable_Map_String_ArchiveFile._as(__SpreadsheetDecoder__archiveFiles); + }, + set$__SpreadsheetDecoder__tables: function(__SpreadsheetDecoder__tables) { + this.__SpreadsheetDecoder__tables = type$.nullable_Map_String_SpreadsheetTable._as(__SpreadsheetDecoder__tables); + } + }; + U.SpreadsheetDecoder__cloneArchive_closure.prototype = { + call$1: function(file) { + var t1, copy, $content, compress; + type$.ArchiveFile._as(file); + if (file.isFile) { + t1 = this.$this; + if (J.containsKey$1$x(t1.get$_archiveFiles(), file.name)) { + t1 = J.$index$asx(t1.get$_archiveFiles(), file.name); + t1.toString; + copy = t1; + } else { + $content = type$.Uint8List._as(file.get$content(file)); + compress = file.compress; + copy = B.ArchiveFile$(file.name, J.get$length$asx($content), $content, 0); + copy.compress = compress; + } + this.clone.addFile$1(0, copy); + } + }, + $signature: 555 + }; + U.SpreadsheetDecoder__isEmptyRow_closure.prototype = { + call$2: function(value, element) { + return H.boolConversionCheck(H._asBoolS(value)) && element == null; + }, + $signature: 556 + }; + U.SpreadsheetTable.prototype = {}; + U.cellCoordsFromCellId_closure.prototype = { + call$1: function(rune) { + H._asIntS(rune); + if (typeof rune !== "number") + return rune.$gt(); + return rune > 0; + }, + $signature: 557 + }; + U.XlsxDecoder.prototype = { + insertRow$2: function(_, sheet, rowIndex) { + var t1, t2, foundRow, _this = this; + _this.super$SpreadsheetDecoder$insertRow(0, sheet, rowIndex); + t1 = J.$index$asx(_this.get$_sheets(), sheet); + t1.toString; + if (rowIndex < J.$index$asx(_this.get$_tables(), sheet)._maxRows - 1) { + t2 = J.$index$asx(_this.get$_sheets(), sheet); + t2.toString; + foundRow = U.XlsxDecoder__findRowByIndex(t2, rowIndex); + U.XlsxDecoder__insertRow(t1, foundRow, rowIndex); + t2 = type$.WhereTypeIterable_XmlElement; + new H.SkipWhileIterable(new H.WhereTypeIterable(t1.XmlHasChildren_children._wrappers$_base, t2), t2._eval$1("bool(Iterable.E)")._as(new U.XlsxDecoder_insertRow_closure(foundRow)), t2._eval$1("SkipWhileIterable")).forEach$1(0, new U.XlsxDecoder_insertRow_closure0()); + } else + U.XlsxDecoder__insertRow(t1, null, rowIndex); + }, + updateCell$4: function(sheet, columnIndex, rowIndex, value) { + var t1; + this.super$SpreadsheetDecoder$updateCell(sheet, columnIndex, rowIndex, value); + t1 = J.$index$asx(this.get$_sheets(), sheet); + t1.toString; + U.XlsxDecoder__updateCell(U.XlsxDecoder__findRowByIndex(t1, rowIndex), columnIndex, rowIndex, value); + }, + _parseRelations$0: function() { + var relations = this.get$_archive().findFile$1("xl/_rels/workbook.xml.rels"); + if (relations != null) { + relations.decompress$0(); + Q.filterElements(new U.XmlDescendantsIterable(S.XmlDocument_XmlDocument$parse(C.C_Utf8Codec.decode$1(0, type$.List_int._as(relations.get$content(relations))))), "Relationship", null).forEach$1(0, new U.XlsxDecoder__parseRelations_closure(this)); + } + }, + _parseStyles$0: function() { + var t1, + styles = this.get$_archive().findFile$1("xl/" + H.S(this._stylesTarget)); + if (styles != null) { + styles.decompress$0(); + t1 = Q.filterElements(new U.XmlDescendantsIterable(S.XmlDocument_XmlDocument$parse(C.C_Utf8Codec.decode$1(0, type$.List_int._as(styles.get$content(styles))))), "cellXfs", null); + Q.filterElements(t1.get$first(t1).XmlHasChildren_children, "xf", null).forEach$1(0, new U.XlsxDecoder__parseStyles_closure(this)); + } + }, + _parseSharedStrings$0: function() { + var sharedStrings = this.get$_archive().findFile$1("xl/" + H.S(this._sharedStringsTarget)); + if (sharedStrings != null) { + sharedStrings.decompress$0(); + Q.filterElements(new U.XmlDescendantsIterable(S.XmlDocument_XmlDocument$parse(C.C_Utf8Codec.decode$1(0, type$.List_int._as(sharedStrings.get$content(sharedStrings))))), "si", null).forEach$1(0, new U.XlsxDecoder__parseSharedStrings_closure(this)); + } + }, + _parseSharedString$1: function(node) { + var list = []; + Q.filterElements(new U.XmlDescendantsIterable(node), "t", null).forEach$1(0, new U.XlsxDecoder__parseSharedString_closure(this, list)); + C.JSArray_methods.add$1(this._sharedStrings, C.JSArray_methods.join$1(list, "")); + }, + _parseContent$0: function() { + var workbook = this.get$_archive().findFile$1("xl/workbook.xml"), + t1 = workbook == null; + if (!t1) + workbook.decompress$0(); + t1 = t1 ? null : workbook.get$content(workbook); + Q.filterElements(new U.XmlDescendantsIterable(S.XmlDocument_XmlDocument$parse(C.C_Utf8Codec.decode$1(0, type$.List_int._as(t1)))), "sheet", null).forEach$1(0, new U.XlsxDecoder__parseContent_closure(this)); + }, + _parseTable$1: function(node) { + var t2, t3, table, namePath, file, $content, sheet, _this = this, _null = null, + t1 = node.getAttribute$1(0, "name"); + t1.toString; + t2 = _this._worksheetTargets.$index(0, node.getAttribute$2$namespace(0, "id", "http://schemas.openxmlformats.org/officeDocument/2006/relationships")); + t2.toString; + t3 = _this.get$_tables(); + table = new U.SpreadsheetTable(H.setRuntimeTypeInfo([], type$.JSArray_List_dynamic)); + J.$indexSet$ax(t3, t1, table); + namePath = C.JSString_methods.startsWith$1(t2, "/") ? C.JSString_methods.substring$1(t2, 1) : "xl/" + t2; + file = _this.get$_archive().findFile$1(namePath); + t2 = file == null; + if (!t2) + file.decompress$0(); + t2 = t2 ? _null : file.get$content(file); + $content = S.XmlDocument_XmlDocument$parse(C.C_Utf8Codec.decode$1(0, type$.List_int._as(t2))); + t2 = Q.filterElements($content.XmlHasChildren_children, "worksheet", _null); + t2 = Q.filterElements(t2.get$first(t2).XmlHasChildren_children, "sheetData", _null); + sheet = t2.get$first(t2); + Q.filterElements(sheet.XmlHasChildren_children, "row", _null).forEach$1(0, new U.XlsxDecoder__parseTable_closure(_this, table)); + if (_this.get$_update(_this) === true) { + J.$indexSet$ax(_this.get$_sheets(), t1, sheet); + J.$indexSet$ax(_this.get$_xmlFiles(), namePath, $content); + } + _this._normalizeTable$1(table); + }, + _parseRow$2: function(node, table) { + var t1, rowIndex, repeat, index, _this = this, row = []; + Q.filterElements(node.XmlHasChildren_children, "c", null).forEach$1(0, new U.XlsxDecoder__parseRow_closure(_this, table, row)); + t1 = node.getAttribute$1(0, "r"); + t1.toString; + rowIndex = P.int_parse(t1, null) - 1; + if (!H.boolConversionCheck(_this._isEmptyRow$1(row)) && rowIndex > table._spreadsheet_decoder$_rows.length) { + t1 = table._spreadsheet_decoder$_rows; + repeat = rowIndex - t1.length; + for (index = 0; index < repeat; ++index) + C.JSArray_methods.add$1(t1, []); + } + t1 = table._spreadsheet_decoder$_rows; + if (!H.boolConversionCheck(_this._isEmptyRow$1(row))) + C.JSArray_methods.add$1(t1, row); + else + C.JSArray_methods.add$1(t1, []); + _this._countFilledRow$2(table, row); + }, + _parseCell$3: function(node, table, row) { + var repeat, index, t2, value, s, valueNode, $content, fmtId, date, _this = this, _null = null, + colIndex = U.XlsxDecoder__getCellNumber(node) - 1, + t1 = row.length; + if (colIndex > t1) { + repeat = colIndex - t1; + for (index = 0; index < repeat; ++index) + C.JSArray_methods.add$1(row, _null); + } + t1 = node.XmlHasChildren_children; + if (t1._wrappers$_base.length === 0) + return; + switch (node.getAttribute$1(0, "t")) { + case "s": + t2 = _this._sharedStrings; + t1 = Q.filterElements(t1, "v", _null); + t1 = P.int_parse(_this._parseValue$1(t1.get$first(t1)), _null); + if (t1 < 0 || t1 >= t2.length) + return H.ioore(t2, t1); + value = t2[t1]; + break; + case "b": + t1 = Q.filterElements(t1, "v", _null); + value = _this._parseValue$1(t1.get$first(t1)) === "1"; + break; + case "e": + case "str": + t1 = Q.filterElements(t1, "v", _null); + value = _this._parseValue$1(t1.get$first(t1)); + break; + case "inlineStr": + t1 = Q.filterElements(new U.XmlDescendantsIterable(node), "t", _null); + value = _this._parseValue$1(t1.get$first(t1)); + break; + case "n": + default: + s = node.getAttribute$1(0, "s"); + valueNode = Q.filterElements(t1, "v", _null); + $content = valueNode.get$first(valueNode); + if (s != null) { + t1 = _this._numFormats; + t2 = P.int_parse(s, _null); + if (t2 < 0 || t2 >= t1.length) + return H.ioore(t1, t2); + fmtId = t1[t2]; + if (fmtId >= 14 && fmtId <= 17 || fmtId === 22) { + t1 = P.num_parse(_this._parseValue$1($content)); + value = P.DateTime$(1899, 12, 30).add$1(0, P.Duration$(0, C.JSNumber_methods.toInt$0(t1 * 24 * 3600 * 1000), 0)).toIso8601String$0(); + } else { + if (!(fmtId >= 18 && fmtId <= 21)) + t1 = fmtId >= 45 && fmtId <= 47; + else + t1 = true; + if (t1) { + t1 = P.num_parse(_this._parseValue$1($content)); + date = P.DateTime$(0, 1, 1).add$1(0, P.Duration$(0, C.JSNumber_methods.toInt$0(t1 * 24 * 3600 * 1000), 0)); + value = U._twoDigits(H.Primitives_getHours(date)) + ":" + U._twoDigits(H.Primitives_getMinutes(date)) + ":" + U._twoDigits(H.Primitives_getSeconds(date)); + } else + value = P.num_parse(_this._parseValue$1($content)); + } + } else + value = P.num_parse(_this._parseValue$1($content)); + } + C.JSArray_methods.add$1(row, value); + _this._countFilledColumn$3(table, row, value); + }, + _parseValue$1: function(node) { + var buffer = new P.StringBuffer(""), + t1 = node.XmlHasChildren_children; + C.JSArray_methods.forEach$1(t1._wrappers$_base, t1.$ti._eval$1("~(1)")._as(new U.XlsxDecoder__parseValue_closure(buffer))); + t1 = buffer._contents; + return t1.charCodeAt(0) == 0 ? t1 : t1; + } + }; + U.XlsxDecoder_insertRow_closure.prototype = { + call$1: function(row) { + return type$.XmlElement._as(row) !== this.foundRow; + }, + $signature: 86 + }; + U.XlsxDecoder_insertRow_closure0.prototype = { + call$1: function(row) { + var t1, rIndex; + type$.XmlElement._as(row); + t1 = row.getAttribute$1(0, "r"); + t1.toString; + rIndex = P.int_parse(t1, null) + 1; + t1 = row.getAttributeNode$1("r"); + t1.toString; + t1.value = C.JSInt_methods.toString$0(rIndex); + Q.filterElements(row.XmlHasChildren_children, "c", null).forEach$1(0, new U.XlsxDecoder_insertRow__closure(rIndex)); + }, + $signature: 16 + }; + U.XlsxDecoder_insertRow__closure.prototype = { + call$1: function(cell) { + var attr = type$.XmlElement._as(cell).getAttributeNode$1("r"); + attr.value = U.numericToLetters(U.cellCoordsFromCellId(attr.value)[0]) + this.rIndex; + }, + $signature: 16 + }; + U.XlsxDecoder__parseRelations_closure.prototype = { + call$1: function(node) { + var attr, t1; + type$.XmlElement._as(node); + attr = node.getAttribute$1(0, "Target"); + switch (node.getAttribute$1(0, "Type")) { + case "http://schemas.openxmlformats.org/officeDocument/2006/relationships/styles": + attr.toString; + this.$this._stylesTarget = attr; + break; + case "http://schemas.openxmlformats.org/officeDocument/2006/relationships/worksheet": + t1 = node.getAttribute$1(0, "Id"); + t1.toString; + attr.toString; + this.$this._worksheetTargets.$indexSet(0, t1, attr); + break; + case "http://schemas.openxmlformats.org/officeDocument/2006/relationships/sharedStrings": + attr.toString; + this.$this._sharedStringsTarget = attr; + break; + } + }, + $signature: 16 + }; + U.XlsxDecoder__parseStyles_closure.prototype = { + call$1: function(node) { + var numFmtId = type$.XmlElement._as(node).getAttribute$1(0, "numFmtId"), + t1 = this.$this._numFormats; + if (numFmtId != null) + C.JSArray_methods.add$1(t1, P.int_parse(numFmtId, null)); + else + C.JSArray_methods.add$1(t1, 0); + }, + $signature: 16 + }; + U.XlsxDecoder__parseSharedStrings_closure.prototype = { + call$1: function(node) { + this.$this._parseSharedString$1(type$.XmlElement._as(node)); + }, + $signature: 16 + }; + U.XlsxDecoder__parseSharedString_closure.prototype = { + call$1: function(child) { + C.JSArray_methods.add$1(this.list, this.$this._parseValue$1(type$.XmlElement._as(child))); + }, + $signature: 16 + }; + U.XlsxDecoder__parseContent_closure.prototype = { + call$1: function(node) { + this.$this._parseTable$1(type$.XmlElement._as(node)); + }, + $signature: 16 + }; + U.XlsxDecoder__parseTable_closure.prototype = { + call$1: function(child) { + this.$this._parseRow$2(type$.XmlElement._as(child), this.table); + }, + $signature: 16 + }; + U.XlsxDecoder__parseRow_closure.prototype = { + call$1: function(child) { + this.$this._parseCell$3(type$.XmlElement._as(child), this.table, this.row); + }, + $signature: 16 + }; + U.XlsxDecoder__parseValue_closure.prototype = { + call$1: function(child) { + var t1; + type$.XmlNode._as(child); + if (child instanceof L.XmlText) { + t1 = child.text; + t1.toString; + this.buffer._contents += H.stringReplaceAllUnchecked(t1, "\r\n", "\n"); + } + }, + $signature: 166 + }; + E.StringScannerException.prototype = { + get$source: function(_) { + return H._asStringS(this.source); + } + }; + X.StringScanner.prototype = { + get$lastMatch: function() { + var _this = this; + if (_this._string_scanner$_position !== _this._lastMatchPosition) + _this._lastMatch = null; + return _this._lastMatch; + }, + scan$1: function(pattern) { + var success, _this = this, + t1 = _this._lastMatch = J.matchAsPrefix$2$s(pattern, _this.string, _this._string_scanner$_position); + _this._lastMatchPosition = _this._string_scanner$_position; + success = t1 != null; + if (success) + _this._lastMatchPosition = _this._string_scanner$_position = t1.get$end(t1); + return success; + }, + expect$2$name: function(pattern, $name) { + var t1; + if (this.scan$1(pattern)) + return; + if ($name == null) + if (type$.RegExp._is(pattern)) + $name = "/" + pattern.pattern + "/"; + else { + t1 = J.toString$0$(pattern); + t1 = H.stringReplaceAllUnchecked(t1, "\\", "\\\\"); + $name = '"' + H.stringReplaceAllUnchecked(t1, '"', '\\"') + '"'; + } + this._fail$1($name); + H.ReachabilityError$(string$.x60null_); + }, + expect$1: function(pattern) { + return this.expect$2$name(pattern, null); + }, + expectDone$0: function() { + if (this._string_scanner$_position === this.string.length) + return; + this._fail$1("no more input"); + H.ReachabilityError$(string$.x60null_); + }, + substring$2: function(_, start, end) { + if (end == null) + end = this._string_scanner$_position; + return C.JSString_methods.substring$2(this.string, start, end); + }, + substring$1: function($receiver, start) { + return this.substring$2($receiver, start, null); + }, + error$4$length$match$position: function(_, message, $length, match, position) { + var t2, t3, t4, t5, sourceFile, end, + t1 = this.string; + if (position < 0) + H.throwExpression(P.RangeError$("position must be greater than or equal to 0.")); + else if (position > t1.length) + H.throwExpression(P.RangeError$("position must be less than or equal to the string length.")); + t2 = position + $length > t1.length; + if (t2) + H.throwExpression(P.RangeError$("position plus length must not go beyond the end of the string.")); + t2 = this.sourceUrl; + t3 = new H.CodeUnits(t1); + t4 = H.setRuntimeTypeInfo([0], type$.JSArray_int); + t5 = new Uint32Array(H._ensureNativeList(t3.toList$0(t3))); + sourceFile = new Y.SourceFile(t2, t4, t5); + sourceFile.SourceFile$decoded$2$url(t3, t2); + end = position + $length; + if (end > t5.length) + H.throwExpression(P.RangeError$("End " + end + string$.x20must_ + sourceFile.get$length(sourceFile) + ".")); + else if (position < 0) + H.throwExpression(P.RangeError$("Start may not be negative, was " + position + ".")); + throw H.wrapException(new E.StringScannerException(t1, message, new Y._FileSpan(sourceFile, position, end))); + }, + error$3$length$position: function($receiver, message, $length, position) { + return this.error$4$length$match$position($receiver, message, $length, null, position); + }, + _fail$1: function($name) { + this.error$3$length$position(0, "expected " + $name + ".", 0, this._string_scanner$_position); + H.ReachabilityError$(string$.x60null_); + } + }; + S.Tuple2.prototype = { + toString$0: function(_) { + return "[" + H.S(this.item1) + ", " + H.S(this.item2) + "]"; + }, + $eq: function(_, other) { + if (other == null) + return false; + return other instanceof S.Tuple2 && J.$eq$(other.item1, this.item1) && J.$eq$(other.item2, this.item2); + }, + get$hashCode: function(_) { + var t1 = J.get$hashCode$(this.item1), + t2 = J.get$hashCode$(this.item2); + return A._finish0(A._combine0(A._combine0(0, J.get$hashCode$(t1)), J.get$hashCode$(t2))); + } + }; + S.Tuple3.prototype = { + toString$0: function(_) { + return "[" + H.S(this.item1) + ", " + H.S(this.item2) + ", " + H.S(this.item3) + "]"; + }, + $eq: function(_, other) { + var t1, t2; + if (other == null) + return false; + if (other instanceof S.Tuple3) { + t1 = other.item1; + t2 = this.item1; + t1 = (t1 == null ? t2 == null : t1 === t2) && J.$eq$(other.item2, this.item2) && J.$eq$(other.item3, this.item3); + } else + t1 = false; + return t1; + }, + get$hashCode: function(_) { + var t1 = J.get$hashCode$(this.item1), + t2 = J.get$hashCode$(this.item2), + t3 = J.get$hashCode$(this.item3); + return A._finish0(A._combine0(A._combine0(A._combine0(0, C.JSInt_methods.get$hashCode(t1)), J.get$hashCode$(t2)), C.JSInt_methods.get$hashCode(t3))); + } + }; + S.Tuple5.prototype = { + toString$0: function(_) { + var _this = this; + return "[" + _this.item1 + ", " + _this.item2.toString$0(0) + ", " + _this.item3.toString$0(0) + ", " + H.S(_this.item4) + ", " + H.S(_this.item5) + "]"; + }, + $eq: function(_, other) { + var _this = this; + if (other == null) + return false; + return other instanceof S.Tuple5 && other.item1 === _this.item1 && other.item2.$eq(0, _this.item2) && other.item3.$eq(0, _this.item3) && J.$eq$(other.item4, _this.item4) && J.$eq$(other.item5, _this.item5); + }, + get$hashCode: function(_) { + var _this = this, + t1 = _this.item2, + t2 = _this.item3; + return A.hashObjects0([C.JSInt_methods.get$hashCode(_this.item1), t1.get$hashCode(t1), t2.get$hashCode(t2), J.get$hashCode$(_this.item4), J.get$hashCode$(_this.item5)]); + } + }; + L.ManagedDisposer.prototype = { + dispose$0: function() { + var disposeFuture, _this = this, + t1 = _this._didDispose.future; + if (t1._async$_state !== 0 || _this._isDisposing) + return t1; + _this._isDisposing = true; + t1 = _this._disposer; + if (t1 != null) { + t1 = t1.call$0(); + disposeFuture = t1 == null ? P.Future_Future$value(null, type$.dynamic) : t1; + } else + disposeFuture = P.Future_Future$value(null, type$.dynamic); + _this.set$_disposer(null); + return disposeFuture.then$1$1(0, new L.ManagedDisposer_dispose_closure(_this), type$.Null); + }, + set$_disposer: function(_disposer) { + this._disposer = type$.legacy_legacy_Future_dynamic_Function._as(_disposer); + }, + $is_Disposable: 1 + }; + L.ManagedDisposer_dispose_closure.prototype = { + call$1: function(_) { + var t1 = this.$this; + t1.set$_disposer(null); + t1._didDispose.complete$0(0); + t1._isDisposing = false; + }, + $signature: 32 + }; + L._ObservableTimer.prototype = { + _ObservableTimer$2: function(duration, callback) { + this._timer = P.Timer_Timer(duration, new L._ObservableTimer_closure(this, callback)); + }, + _disposable$_complete$0: function() { + var t1 = this._didConclude; + if (t1.future._async$_state === 0) + t1.complete$0(0); + }, + $isTimer: 1 + }; + L._ObservableTimer_closure.prototype = { + call$0: function() { + this.callback.call$0(); + this.$this._disposable$_complete$0(); + }, + $signature: 12 + }; + L.Disposable.prototype = { + dispose$0: function() { + var $async$goto = 0, + $async$completer = P._makeAsyncAwaitCompleter(type$.Null), + $async$returnValue, $async$self = this, t3, t4, futures, t1, t2; + var $async$dispose$0 = P._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { + if ($async$errorCode === 1) + return P._asyncRethrow($async$result, $async$completer); + while (true) + switch ($async$goto) { + case 0: + // Function start + t1 = $async$self._didDispose; + t2 = t1.future; + if (t2._async$_state !== 0) { + $async$returnValue = null; + // goto return + $async$goto = 1; + break; + } + t3 = $async$self._disposable$_state; + if (t3 === C.DisposableState_1 || t3 === C.DisposableState_2 || t3 === C.DisposableState_3) { + $async$returnValue = t2; + // goto return + $async$goto = 1; + break; + } + $async$self._disposable$_state = C.DisposableState_1; + $async$goto = 3; + return P._asyncAwait($async$self.onWillDispose$0(), $async$dispose$0); + case 3: + // returning from await. + t2 = $async$self._awaitableFutures, t3 = type$.dynamic, t4 = H._instanceType(t2)._eval$1("SetMixin.E"); + case 4: + // for condition + if (!(t2._collection$_length !== 0)) { + // goto after for + $async$goto = 5; + break; + } + futures = P.List_List$of(t2, true, t4); + if (t2._collection$_length > 0) { + t2._collection$_strings = t2._collection$_nums = t2._collection$_rest = t2._elements = null; + t2._collection$_length = 0; + } + $async$goto = 6; + return P._asyncAwait(P.Future_wait(futures, t3), $async$dispose$0); + case 6: + // returning from await. + // goto for condition + $async$goto = 4; + break; + case 5: + // after for + $async$self._disposable$_state = C.DisposableState_2; + t2 = $async$self._internalDisposables, t3 = new P._HashSetIterator(t2, t2._computeElements$0(), H._instanceType(t2)._eval$1("_HashSetIterator<1>")); + case 7: + // for condition + if (!t3.moveNext$0()) { + // goto after for + $async$goto = 8; + break; + } + $async$goto = 9; + return P._asyncAwait(t3._collection$_current.dispose$0(), $async$dispose$0); + case 9: + // returning from await. + // goto for condition + $async$goto = 7; + break; + case 8: + // after for + t2.clear$0(0); + $async$goto = 10; + return P._asyncAwait($async$self.onDispose$0(), $async$dispose$0); + case 10: + // returning from await. + t1.complete$0(0); + $async$self._disposable$_state = C.DisposableState_3; + case 1: + // return + return P._asyncReturn($async$returnValue, $async$completer); + } + }); + return P._asyncStartSync($async$dispose$0, $async$completer); + }, + onDispose$0: function() { + var $async$goto = 0, + $async$completer = P._makeAsyncAwaitCompleter(type$.Null), + $async$returnValue; + var $async$onDispose$0 = P._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { + if ($async$errorCode === 1) + return P._asyncRethrow($async$result, $async$completer); + while (true) + switch ($async$goto) { + case 0: + // Function start + $async$returnValue = null; + // goto return + $async$goto = 1; + break; + case 1: + // return + return P._asyncReturn($async$returnValue, $async$completer); + } + }); + return P._asyncStartSync($async$onDispose$0, $async$completer); + }, + onWillDispose$0: function() { + var $async$goto = 0, + $async$completer = P._makeAsyncAwaitCompleter(type$.Null), + $async$returnValue; + var $async$onWillDispose$0 = P._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { + if ($async$errorCode === 1) + return P._asyncRethrow($async$result, $async$completer); + while (true) + switch ($async$goto) { + case 0: + // Function start + $async$returnValue = null; + // goto return + $async$goto = 1; + break; + case 1: + // return + return P._asyncReturn($async$returnValue, $async$completer); + } + }); + return P._asyncStartSync($async$onWillDispose$0, $async$completer); + }, + _addObservableTimerDisposable$1: function(timer) { + var disposable = new L.ManagedDisposer(new L.Disposable__addObservableTimerDisposable_closure(timer), new P._AsyncCompleter(new P._Future($.Zone__current, type$._Future_Null), type$._AsyncCompleter_Null)); + this._internalDisposables.add$1(0, disposable); + timer._didConclude.future.then$1$1(0, new L.Disposable__addObservableTimerDisposable_closure0(this, disposable), type$.Null); + }, + $is_Disposable: 1 + }; + L.Disposable__addObservableTimerDisposable_closure.prototype = { + call$0: function() { + var $async$goto = 0, + $async$completer = P._makeAsyncAwaitCompleter(type$.void), + $async$returnValue, $async$self = this, t1; + var $async$call$0 = P._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { + if ($async$errorCode === 1) + return P._asyncRethrow($async$result, $async$completer); + while (true) + switch ($async$goto) { + case 0: + // Function start + t1 = $async$self.timer; + t1._timer.cancel$0(0); + t1._disposable$_complete$0(); + $async$returnValue = null; + // goto return + $async$goto = 1; + break; + case 1: + // return + return P._asyncReturn($async$returnValue, $async$completer); + } + }); + return P._asyncStartSync($async$call$0, $async$completer); + }, + $signature: 6 + }; + L.Disposable__addObservableTimerDisposable_closure0.prototype = { + call$1: function(_) { + var t1; + type$.Null._as(_); + t1 = this.$this; + if (!(t1._didDispose.future._async$_state !== 0 || t1._disposable$_state === C.DisposableState_2)) + t1._internalDisposables.remove$1(0, this.disposable); + }, + $signature: 558 + }; + D.DisposableState.prototype = { + toString$0: function(_) { + return this._disposable_state$_name; + } + }; + T.XmlDefaultEntityMapping.prototype = { + decodeEntity$1: function(input) { + var t1 = input.length; + if (t1 > 1 && input[0] === "#") { + if (t1 > 2) { + t1 = input[1]; + t1 = t1 === "x" || t1 === "X"; + } else + t1 = false; + if (t1) + return H.Primitives_stringFromCharCode(P.int_parse(C.JSString_methods.substring$1(input, 2), 16)); + else + return H.Primitives_stringFromCharCode(P.int_parse(C.JSString_methods.substring$1(input, 1), null)); + } else + return C.Map_2EUwe.$index(0, input); + }, + encodeAttributeValue$2: function(input, type) { + var t1; + switch (type) { + case C.XmlAttributeType_0: + t1 = $.$get$_singeQuoteAttributePattern(); + input.toString; + return C.JSString_methods.splitMapJoin$2$onMatch(input, t1, type$.String_Function_Match._as(T.default_mapping___singeQuoteAttributeReplace$closure())); + case C.XmlAttributeType_1: + t1 = $.$get$_doubleQuoteAttributePattern(); + input.toString; + return C.JSString_methods.splitMapJoin$2$onMatch(input, t1, type$.String_Function_Match._as(T.default_mapping___doubleQuoteAttributeReplace$closure())); + default: + throw H.wrapException(H.ReachabilityError$("`null` encountered as case in a switch expression with a non-nullable enum type.")); + } + } + }; + S.XmlEntityMapping.prototype = {}; + V.XmlGrammarDefinition.prototype = { + attribute$0: function() { + var t1 = type$.dynamic; + return A.MapParserExtension_map(this.super$XmlProductionDefinition$attribute(), new V.XmlGrammarDefinition_attribute_closure(this), false, t1, t1); + }, + attributeValueDouble$0: function() { + var t1 = type$.dynamic; + return A.MapParserExtension_map(this.super$XmlProductionDefinition$attributeValueDouble(), new V.XmlGrammarDefinition_attributeValueDouble_closure(), false, t1, t1); + }, + attributeValueSingle$0: function() { + var t1 = type$.dynamic; + return A.MapParserExtension_map(this.super$XmlProductionDefinition$attributeValueSingle(), new V.XmlGrammarDefinition_attributeValueSingle_closure(), false, t1, t1); + }, + comment$0: function() { + var t1 = type$.dynamic; + return A.MapParserExtension_map(this.super$XmlProductionDefinition$comment(), new V.XmlGrammarDefinition_comment_closure(this), false, t1, t1); + }, + declaration$0: function() { + var t1 = type$.dynamic; + return A.MapParserExtension_map(this.super$XmlProductionDefinition$declaration(), new V.XmlGrammarDefinition_declaration_closure(this), false, t1, t1); + }, + cdata$0: function() { + var t1 = type$.dynamic; + return A.MapParserExtension_map(this.super$XmlProductionDefinition$cdata(), new V.XmlGrammarDefinition_cdata_closure(this), false, t1, t1); + }, + doctype$0: function() { + var t1 = type$.dynamic; + return A.MapParserExtension_map(this.super$XmlProductionDefinition$doctype(), new V.XmlGrammarDefinition_doctype_closure(this), false, t1, t1); + }, + document$0: function(_) { + var t1 = type$.dynamic; + return A.MapParserExtension_map(this.super$XmlProductionDefinition$document(0), new V.XmlGrammarDefinition_document_closure(this), false, t1, t1); + }, + element$0: function() { + var t1 = type$.dynamic; + return A.MapParserExtension_map(this.super$XmlProductionDefinition$element(), new V.XmlGrammarDefinition_element_closure(this), false, t1, t1); + }, + processing$0: function() { + var t1 = type$.dynamic; + return A.MapParserExtension_map(this.super$XmlProductionDefinition$processing(), new V.XmlGrammarDefinition_processing_closure(this), false, t1, t1); + }, + qualified$0: function() { + return A.MapParserExtension_map(new T.CastParser(this.super$XmlProductionDefinition$qualified(), type$.CastParser_dynamic_String), this.get$createQualified(), false, type$.String, type$.dynamic); + }, + characterData$0: function() { + return A.MapParserExtension_map(new T.CastParser(this.super$XmlProductionDefinition$characterData(), type$.CastParser_dynamic_String), this.get$createText(), false, type$.String, type$.dynamic); + }, + spaceText$0: function() { + return A.MapParserExtension_map(new T.CastParser(this.super$XmlProductionDefinition$spaceText(), type$.CastParser_dynamic_String), this.get$createText(), false, type$.String, type$.dynamic); + } + }; + V.XmlGrammarDefinition_attribute_closure.prototype = { + call$1: function(each) { + var t1 = J.getInterceptor$asx(each), + t2 = H._instanceType(this.$this)._eval$1("XmlGrammarDefinition.1")._as(t1.$index(each, 0)), + t3 = H._asStringS(J.$index$asx(t1.$index(each, 4), 0)); + t1 = type$.XmlAttributeType._as(J.$index$asx(t1.$index(each, 4), 1)); + return N.XmlAttribute$(type$.XmlName._as(t2), t3, t1); + }, + $signature: function() { + return H._instanceType(this.$this)._eval$1("XmlGrammarDefinition.0(@)"); + } + }; + V.XmlGrammarDefinition_attributeValueDouble_closure.prototype = { + call$1: function(each) { + return [J.$index$asx(each, 1), C.XmlAttributeType_1]; + }, + $signature: 168 + }; + V.XmlGrammarDefinition_attributeValueSingle_closure.prototype = { + call$1: function(each) { + return [J.$index$asx(each, 1), C.XmlAttributeType_0]; + }, + $signature: 168 + }; + V.XmlGrammarDefinition_comment_closure.prototype = { + call$1: function(each) { + return new R.XmlComment(H._asStringS(J.$index$asx(each, 1)), null); + }, + $signature: function() { + return H._instanceType(this.$this)._eval$1("XmlGrammarDefinition.0(@)"); + } + }; + V.XmlGrammarDefinition_declaration_closure.prototype = { + call$1: function(each) { + var t1 = H._instanceType(this.$this); + return L.XmlDeclaration$(J.cast$1$0$ax(type$.Iterable_XmlNode._as(t1._eval$1("Iterable")._as(J.cast$1$0$ax(J.$index$asx(each, 1), t1._eval$1("XmlGrammarDefinition.0")))), type$.XmlAttribute)); + }, + $signature: function() { + return H._instanceType(this.$this)._eval$1("XmlGrammarDefinition.0(@)"); + } + }; + V.XmlGrammarDefinition_cdata_closure.prototype = { + call$1: function(each) { + return new L.XmlCDATA(H._asStringS(J.$index$asx(each, 1)), null); + }, + $signature: function() { + return H._instanceType(this.$this)._eval$1("XmlGrammarDefinition.0(@)"); + } + }; + V.XmlGrammarDefinition_doctype_closure.prototype = { + call$1: function(each) { + return new Q.XmlDoctype(H._asStringS(J.$index$asx(each, 2)), null); + }, + $signature: function() { + return H._instanceType(this.$this)._eval$1("XmlGrammarDefinition.0(@)"); + } + }; + V.XmlGrammarDefinition_document_closure.prototype = { + call$1: function(each) { + var t2, nodes = [], + t1 = J.getInterceptor$asx(each); + if (t1.$index(each, 0) != null) + nodes.push(t1.$index(each, 0)); + t2 = type$.Iterable_dynamic; + C.JSArray_methods.addAll$1(nodes, t2._as(t1.$index(each, 1))); + if (t1.$index(each, 2) != null) + nodes.push(t1.$index(each, 2)); + C.JSArray_methods.addAll$1(nodes, t2._as(t1.$index(each, 3))); + nodes.push(t1.$index(each, 4)); + C.JSArray_methods.addAll$1(nodes, t2._as(t1.$index(each, 5))); + return S.XmlDocument$(type$.Iterable_XmlNode._as(new H.CastList(nodes, H._arrayInstanceType(nodes)._eval$1("@<1>")._bind$1(H._instanceType(this.$this)._eval$1("XmlGrammarDefinition.0"))._eval$1("CastList<1,2>")))); + }, + $signature: function() { + return H._instanceType(this.$this)._eval$1("XmlGrammarDefinition.0(@)"); + } + }; + V.XmlGrammarDefinition_element_closure.prototype = { + call$1: function(list) { + var children, token, lineAndColumn, t4, + t1 = J.getInterceptor$asx(list), + t2 = H._instanceType(this.$this), + $name = t2._eval$1("XmlGrammarDefinition.1")._as(t1.$index(list, 1)), + t3 = t2._eval$1("XmlGrammarDefinition.0"), + attributes = J.cast$1$0$ax(t1.$index(list, 2), t3); + if (J.$eq$(t1.$index(list, 4), "/>")) { + t2._eval$1("Iterable")._as(attributes); + t1 = H.setRuntimeTypeInfo([], t2._eval$1("JSArray")); + type$.XmlName._as($name); + t2 = type$.Iterable_XmlNode; + t2._as(attributes); + t2._as(t1); + return G.XmlElement$($name, J.cast$1$0$ax(attributes, type$.XmlAttribute), t1, true); + } else if (J.$eq$(t1.$index(list, 1), J.$index$asx(t1.$index(list, 4), 3))) { + children = J.cast$1$0$ax(J.$index$asx(t1.$index(list, 4), 1), t3); + t1 = t2._eval$1("Iterable"); + t1._as(attributes); + t1._as(children); + t1 = J.get$isNotEmpty$asx(children); + type$.XmlName._as($name); + t2 = type$.Iterable_XmlNode; + t2._as(attributes); + t2._as(children); + return G.XmlElement$($name, J.cast$1$0$ax(attributes, type$.XmlAttribute), children, t1); + } else { + token = type$.Token_dynamic._as(J.$index$asx(t1.$index(list, 4), 2)); + t2 = token.buffer; + t3 = token.start; + lineAndColumn = L.Token_lineAndColumnOf(t2, t3); + t1 = "Expected , but found "; + t4 = lineAndColumn[0]; + throw H.wrapException(T.XmlParserException$(t1, t2, lineAndColumn[1], t4, t3)); + } + }, + $signature: function() { + return H._instanceType(this.$this)._eval$1("XmlGrammarDefinition.0(@)"); + } + }; + V.XmlGrammarDefinition_processing_closure.prototype = { + call$1: function(each) { + var t1 = J.getInterceptor$asx(each); + return new R.XmlProcessing(H._asStringS(t1.$index(each, 1)), H._asStringS(t1.$index(each, 2)), null); + }, + $signature: function() { + return H._instanceType(this.$this)._eval$1("XmlGrammarDefinition.0(@)"); + } + }; + Z.XmlAttributesBase.prototype = { + get$attributes: function(_) { + return C.List_empty3; + }, + getAttributeNode$2$namespace: function($name, namespace) { + return null; + } + }; + Z.XmlHasAttributes.prototype = { + getAttribute$2$namespace: function(_, $name, namespace) { + var t1 = this.getAttributeNode$2$namespace($name, namespace); + return t1 == null ? null : t1.value; + }, + getAttribute$1: function($receiver, $name) { + return this.getAttribute$2$namespace($receiver, $name, null); + }, + getAttributeNode$2$namespace: function($name, namespace) { + var t1, t2, + tester = N.createNameMatcher($name, namespace); + for (t1 = this.get$attributes(this)._wrappers$_base, t1 = new J.ArrayIterator(t1, t1.length, H._arrayInstanceType(t1)._eval$1("ArrayIterator<1>")); t1.moveNext$0();) { + t2 = t1.__interceptors$_current; + if (H.boolConversionCheck(tester.call$1(t2))) + return t2; + } + return null; + }, + getAttributeNode$1: function($name) { + return this.getAttributeNode$2$namespace($name, null); + }, + get$attributes: function(receiver) { + return this.XmlHasAttributes_attributes; + } + }; + Y.XmlChildrenBase.prototype = { + get$children: function(_) { + return C.List_empty2; + } + }; + Y.XmlHasChildren.prototype = { + get$children: function(receiver) { + return this.XmlHasChildren_children; + } + }; + X.XmlHasName.prototype = {}; + E.XmlParentBase.prototype = { + get$parent: function(_) { + return null; + }, + attachParent$1: function($parent) { + return this._throwNoParent$0(); + }, + detachParent$1: function($parent) { + return this._throwNoParent$0(); + }, + _throwNoParent$0: function() { + return H.throwExpression(P.UnsupportedError$(this.toString$0(0) + " does not have a parent.")); + } + }; + E.XmlHasParent.prototype = { + get$parent: function(_) { + return this.XmlHasParent__parent; + }, + attachParent$1: function($parent) { + var _this = this; + H._instanceType(_this)._eval$1("XmlHasParent.T")._as($parent); + if (_this.get$parent(_this) != null) + H.throwExpression(T.XmlParentException$(string$.Node_a + _this.toString$0(0))); + _this.set$_has_parent$_parent($parent); + }, + detachParent$1: function($parent) { + var _this = this; + H._instanceType(_this)._eval$1("XmlHasParent.T")._as($parent); + if (_this.get$parent(_this) != $parent) + H.throwExpression(T.XmlParentException$("Node already has a non-matching parent: " + _this.toString$0(0))); + _this.set$_has_parent$_parent(null); + }, + set$_has_parent$_parent: function(_parent) { + this.XmlHasParent__parent = H._instanceType(this)._eval$1("XmlHasParent.T?")._as(_parent); + } + }; + V.XmlHasText.prototype = {}; + E.XmlHasVisitor.prototype = {}; + L.XmlHasWriter.prototype = { + toString$0: function(_) { + var buffer, writer, t1; + type$.nullable_bool_Function_XmlAttribute._as(null); + type$.nullable_bool_Function_XmlNode._as(null); + type$.nullable_int_Function_XmlAttribute_XmlAttribute._as(null); + buffer = new P.StringBuffer(""); + writer = new X.XmlWriter(buffer, C.C_XmlDefaultEntityMapping); + this.accept$1(0, writer); + t1 = buffer._contents; + return t1.charCodeAt(0) == 0 ? t1 : t1; + } + }; + R.XmlHasXml.prototype = {}; + U.XmlDescendantsIterable.prototype = { + get$iterator: function(_) { + var t1 = new U.XmlDescendantsIterator(H.setRuntimeTypeInfo([], type$.JSArray_XmlNode)); + t1.push$1(this._descendants$_start); + return t1; + } + }; + U.XmlDescendantsIterator.prototype = { + get$_descendants$_current: function() { + var t1 = this.__XmlDescendantsIterator__current; + return t1 === $ ? H.throwExpression(H.LateError$fieldNI("_current")) : t1; + }, + push$1: function(node) { + var t1 = this._todo; + C.JSArray_methods.addAll$1(t1, J.get$reversed$ax(node.get$children(node))); + C.JSArray_methods.addAll$1(t1, J.get$reversed$ax(node.get$attributes(node))); + }, + get$current: function(_) { + return this.get$_descendants$_current(); + }, + moveNext$0: function() { + var _this = this, + t1 = _this._todo, + t2 = t1.length; + if (t2 === 0) + return false; + else { + if (0 >= t2) + return H.ioore(t1, -1); + _this.__XmlDescendantsIterator__current = type$.XmlNode._as(t1.pop()); + _this.push$1(_this.get$_descendants$_current()); + return true; + } + } + }; + N.XmlAttribute.prototype = { + get$nodeType: function(_) { + return C.XmlNodeType_0; + }, + copy$0: function() { + return N.XmlAttribute$(this.name.copy$0(), this.value, this.attributeType); + }, + accept$1: function(_, visitor) { + var t1, t2, t3, quote; + this.name.accept$1(0, visitor); + t1 = visitor.buffer; + t1._contents += "="; + t2 = this.value; + t3 = this.attributeType; + quote = C.Map_IZFmR.$index(0, t3); + t1._contents += H.S(quote) + visitor.entityMapping.encodeAttributeValue$2(t2, t3) + H.S(quote); + return null; + }, + set$value: function(_, value) { + this.value = H._asStringS(value); + }, + get$name: function(receiver) { + return this.name; + }, + get$value: function(receiver) { + return this.value; + } + }; + N._XmlAttribute_XmlNode_XmlHasParent.prototype = { + set$_has_parent$_parent: function(_parent) { + this.XmlHasParent__parent = H._instanceType(this)._eval$1("XmlHasParent.T?")._as(_parent); + } + }; + N._XmlAttribute_XmlNode_XmlHasParent_XmlHasName.prototype = {}; + L.XmlCDATA.prototype = { + get$nodeType: function(_) { + return C.XmlNodeType_1; + }, + copy$0: function() { + return new L.XmlCDATA(this.text, null); + }, + accept$1: function(_, visitor) { + var t2, + t1 = visitor.buffer; + t1._contents += ""; + return null; + } + }; + R.XmlComment.prototype = { + get$nodeType: function(_) { + return C.XmlNodeType_2; + }, + copy$0: function() { + return new R.XmlComment(this.text, null); + }, + accept$1: function(_, visitor) { + var t2, + t1 = visitor.buffer; + t1._contents += ""; + return null; + } + }; + N.XmlData.prototype = {}; + N._XmlData_XmlNode_XmlHasParent.prototype = { + set$_has_parent$_parent: function(_parent) { + this.XmlHasParent__parent = H._instanceType(this)._eval$1("XmlHasParent.T?")._as(_parent); + } + }; + L.XmlDeclaration.prototype = { + get$nodeType: function(_) { + return C.XmlNodeType_3; + }, + copy$0: function() { + var t1 = this.XmlHasAttributes_attributes, + t2 = t1._wrappers$_base, + t3 = H._arrayInstanceType(t2); + return L.XmlDeclaration$(new H.MappedListIterable(t2, t3._eval$1("XmlAttribute(1)")._as(t1.$ti._eval$1("XmlAttribute(1)")._as(new L.XmlDeclaration_copy_closure())), t3._eval$1("MappedListIterable<1,XmlAttribute>"))); + }, + accept$1: function(_, visitor) { + var t1 = visitor.buffer; + t1._contents += ""; + return null; + } + }; + L.XmlDeclaration_copy_closure.prototype = { + call$1: function(each) { + type$.XmlAttribute._as(each); + return N.XmlAttribute$(each.name.copy$0(), each.value, each.attributeType); + }, + $signature: 169 + }; + L._XmlDeclaration_XmlNode_XmlHasParent.prototype = { + set$_has_parent$_parent: function(_parent) { + this.XmlHasParent__parent = H._instanceType(this)._eval$1("XmlHasParent.T?")._as(_parent); + } + }; + L._XmlDeclaration_XmlNode_XmlHasParent_XmlHasAttributes.prototype = { + get$attributes: function(receiver) { + return this.XmlHasAttributes_attributes; + } + }; + Q.XmlDoctype.prototype = { + get$nodeType: function(_) { + return C.XmlNodeType_4; + }, + copy$0: function() { + return new Q.XmlDoctype(this.text, null); + }, + accept$1: function(_, visitor) { + var t1 = visitor.buffer, + t2 = t1._contents += ""; + return null; + } + }; + S.XmlDocument.prototype = { + get$nodeType: function(_) { + return C.XmlNodeType_5; + }, + copy$0: function() { + var t1 = this.XmlHasChildren_children, + t2 = t1._wrappers$_base, + t3 = H._arrayInstanceType(t2); + return S.XmlDocument$(new H.MappedListIterable(t2, t3._eval$1("XmlNode(1)")._as(t1.$ti._eval$1("XmlNode(1)")._as(new S.XmlDocument_copy_closure())), t3._eval$1("MappedListIterable<1,XmlNode>"))); + }, + accept$1: function(_, visitor) { + return visitor.visitDocument$1(this); + } + }; + S.XmlDocument_copy_closure.prototype = { + call$1: function(each) { + return type$.XmlNode._as(each).copy$0(); + }, + $signature: 170 + }; + S.documentParserCache_closure.prototype = { + call$1: function(entityMapping) { + return new G.XmlParserDefinition(type$.XmlEntityMapping._as(entityMapping)).build$1$0(type$.dynamic); + }, + $signature: 563 + }; + S._XmlDocument_XmlNode_XmlHasChildren.prototype = { + get$children: function(receiver) { + return this.XmlHasChildren_children; + } + }; + G.XmlElement.prototype = { + get$nodeType: function(_) { + return C.XmlNodeType_7; + }, + copy$0: function() { + var _this = this, + t1 = _this.XmlHasAttributes_attributes, + t2 = t1._wrappers$_base, + t3 = H._arrayInstanceType(t2), + t4 = _this.XmlHasChildren_children, + t5 = t4._wrappers$_base, + t6 = H._arrayInstanceType(t5); + return G.XmlElement$(_this.name.copy$0(), new H.MappedListIterable(t2, t3._eval$1("XmlAttribute(1)")._as(t1.$ti._eval$1("XmlAttribute(1)")._as(new G.XmlElement_copy_closure())), t3._eval$1("MappedListIterable<1,XmlAttribute>")), new H.MappedListIterable(t5, t6._eval$1("XmlNode(1)")._as(t4.$ti._eval$1("XmlNode(1)")._as(new G.XmlElement_copy_closure0())), t6._eval$1("MappedListIterable<1,XmlNode>")), _this.isSelfClosing); + }, + accept$1: function(_, visitor) { + return visitor.visitElement$1(this); + }, + get$name: function(receiver) { + return this.name; + } + }; + G.XmlElement_copy_closure.prototype = { + call$1: function(each) { + type$.XmlAttribute._as(each); + return N.XmlAttribute$(each.name.copy$0(), each.value, each.attributeType); + }, + $signature: 169 + }; + G.XmlElement_copy_closure0.prototype = { + call$1: function(each) { + return type$.XmlNode._as(each).copy$0(); + }, + $signature: 170 + }; + G._XmlElement_XmlNode_XmlHasParent.prototype = { + set$_has_parent$_parent: function(_parent) { + this.XmlHasParent__parent = H._instanceType(this)._eval$1("XmlHasParent.T?")._as(_parent); + } + }; + G._XmlElement_XmlNode_XmlHasParent_XmlHasName.prototype = {}; + G._XmlElement_XmlNode_XmlHasParent_XmlHasName_XmlHasAttributes.prototype = { + get$attributes: function(receiver) { + return this.XmlHasAttributes_attributes; + } + }; + G._XmlElement_XmlNode_XmlHasParent_XmlHasName_XmlHasAttributes_XmlHasChildren.prototype = { + get$children: function(receiver) { + return this.XmlHasChildren_children; + } + }; + B.XmlNode.prototype = {}; + B._XmlNode_Object_XmlParentBase.prototype = {}; + B._XmlNode_Object_XmlParentBase_XmlAttributesBase.prototype = {}; + B._XmlNode_Object_XmlParentBase_XmlAttributesBase_XmlChildrenBase.prototype = {}; + B._XmlNode_Object_XmlParentBase_XmlAttributesBase_XmlChildrenBase_XmlHasText.prototype = {}; + B._XmlNode_Object_XmlParentBase_XmlAttributesBase_XmlChildrenBase_XmlHasText_XmlHasVisitor.prototype = {}; + B._XmlNode_Object_XmlParentBase_XmlAttributesBase_XmlChildrenBase_XmlHasText_XmlHasVisitor_XmlHasWriter.prototype = {}; + B._XmlNode_Object_XmlParentBase_XmlAttributesBase_XmlChildrenBase_XmlHasText_XmlHasVisitor_XmlHasWriter_XmlHasXml.prototype = {}; + R.XmlProcessing.prototype = { + get$nodeType: function(_) { + return C.XmlNodeType_8; + }, + copy$0: function() { + return new R.XmlProcessing(this.target, this.text, null); + }, + accept$1: function(_, visitor) { + var t2, t3, + t1 = visitor.buffer; + t1._contents += ""; + return null; + }, + get$target: function(receiver) { + return this.target; + } + }; + L.XmlText.prototype = { + get$nodeType: function(_) { + return C.XmlNodeType_9; + }, + copy$0: function() { + return new L.XmlText(this.text, null); + }, + accept$1: function(_, visitor) { + var t1 = this.text, + t2 = $.$get$_textPattern(); + t1.toString; + visitor.buffer._contents += C.JSString_methods.splitMapJoin$2$onMatch(t1, t2, type$.String_Function_Match._as(T.default_mapping___textReplace$closure())); + return null; + } + }; + G.XmlParserDefinition.prototype = { + createQualified$1: function($name) { + return Q.XmlName_XmlName$fromString(H._asStringS($name)); + }, + createText$1: function(text) { + return new L.XmlText(H._asStringS(text), null); + } + }; + M.XmlProductionDefinition.prototype = { + attribute$0: function() { + var t1 = type$.ReferenceParser_dynamic, + t2 = this.get$spaceOptional(); + return Q.SequenceParserExtension_seq(Q.SequenceParserExtension_seq(Q.SequenceParserExtension_seq(Q.SequenceParserExtension_seq(new F.ReferenceParser(this.get$qualified(), C.List_empty, t1), new F.ReferenceParser(t2, C.List_empty, t1)), D.PredicateStringExtension_toParser("=")), new F.ReferenceParser(t2, C.List_empty, t1)), new F.ReferenceParser(this.get$attributeValue(), C.List_empty, t1)); + }, + attributeValue$0: function() { + var t1 = type$.ReferenceParser_dynamic; + return O.ChoiceParserExtension_or(new F.ReferenceParser(this.get$attributeValueDouble(), C.List_empty, t1), new F.ReferenceParser(this.get$attributeValueSingle(), C.List_empty, t1)); + }, + attributeValueDouble$0: function() { + return Q.SequenceParserExtension_seq(Q.SequenceParserExtension_seq(D.PredicateStringExtension_toParser('"'), new L.XmlCharacterDataParser(this.entityMapping, '"', 34, 0)), D.PredicateStringExtension_toParser('"')); + }, + attributeValueSingle$0: function() { + return Q.SequenceParserExtension_seq(Q.SequenceParserExtension_seq(D.PredicateStringExtension_toParser("'"), new L.XmlCharacterDataParser(this.entityMapping, "'", 39, 0)), D.PredicateStringExtension_toParser("'")); + }, + attributes$0: function(_) { + var t1 = type$.ReferenceParser_dynamic; + return Z.PossessiveRepeatingParserExtension_repeat(new R.PickParser(1, Q.SequenceParserExtension_seq(new F.ReferenceParser(this.get$space(), C.List_empty, t1), new F.ReferenceParser(this.get$attribute(), C.List_empty, t1)), type$.PickParser_dynamic), 0, 9007199254740991, type$.dynamic); + }, + comment$0: function() { + return Q.SequenceParserExtension_seq(Q.SequenceParserExtension_seq(D.PredicateStringExtension_toParser(""), 0, 9007199254740991, type$.String), type$.FlattenParser_List_String)), D.PredicateStringExtension_toParser("-->")); + }, + cdata$0: function() { + return Q.SequenceParserExtension_seq(Q.SequenceParserExtension_seq(D.PredicateStringExtension_toParser(""), 0, 9007199254740991, type$.String), type$.FlattenParser_List_String)), D.PredicateStringExtension_toParser("]]>")); + }, + content$0: function(_) { + var _this = this, + t1 = type$.ReferenceParser_dynamic; + return Z.PossessiveRepeatingParserExtension_repeat(O.ChoiceParserExtension_or(O.ChoiceParserExtension_or(O.ChoiceParserExtension_or(O.ChoiceParserExtension_or(new F.ReferenceParser(_this.get$characterData(), C.List_empty, t1), new F.ReferenceParser(_this.get$element(), C.List_empty, t1)), new F.ReferenceParser(_this.get$processing(), C.List_empty, t1)), new F.ReferenceParser(_this.get$comment(), C.List_empty, t1)), new F.ReferenceParser(_this.get$cdata(), C.List_empty, t1)), 0, 9007199254740991, type$.dynamic); + }, + declaration$0: function() { + var t1 = type$.ReferenceParser_dynamic; + return Q.SequenceParserExtension_seq(Q.SequenceParserExtension_seq(Q.SequenceParserExtension_seq(D.PredicateStringExtension_toParser("")); + }, + doctype$0: function() { + var _this = this, + t1 = type$.ReferenceParser_dynamic, + t2 = _this.get$spaceOptional(), + t3 = type$.dynamic; + return Q.SequenceParserExtension_seq(Q.SequenceParserExtension_seq(Q.SequenceParserExtension_seq(Q.SequenceParserExtension_seq(D.PredicateStringExtension_toParser("")); + }, + document$0: function(_) { + var _this = this, + t1 = type$.ReferenceParser_dynamic, + t2 = type$.OptionalParser_dynamic, + t3 = _this.get$misc(); + return Q.SequenceParserExtension_seq(Q.SequenceParserExtension_seq(Q.SequenceParserExtension_seq(Q.SequenceParserExtension_seq(Q.SequenceParserExtension_seq(new M.OptionalParser(null, new F.ReferenceParser(_this.get$declaration(), C.List_empty, t1), t2), new F.ReferenceParser(t3, C.List_empty, t1)), new M.OptionalParser(null, new F.ReferenceParser(_this.get$doctype(), C.List_empty, t1), t2)), new F.ReferenceParser(t3, C.List_empty, t1)), new F.ReferenceParser(_this.get$element(), C.List_empty, t1)), new F.ReferenceParser(t3, C.List_empty, t1)); + }, + element$0: function() { + var _this = this, + t1 = _this.get$qualified(), + t2 = type$.ReferenceParser_dynamic, + t3 = _this.get$spaceOptional(); + return Q.SequenceParserExtension_seq(Q.SequenceParserExtension_seq(Q.SequenceParserExtension_seq(Q.SequenceParserExtension_seq(D.PredicateStringExtension_toParser("<"), new F.ReferenceParser(t1, C.List_empty, t2)), new F.ReferenceParser(_this.get$attributes(_this), C.List_empty, t2)), new F.ReferenceParser(t3, C.List_empty, t2)), O.ChoiceParserExtension_or(D.PredicateStringExtension_toParser("/>"), Q.SequenceParserExtension_seq(Q.SequenceParserExtension_seq(Q.SequenceParserExtension_seq(Q.SequenceParserExtension_seq(Q.SequenceParserExtension_seq(D.PredicateStringExtension_toParser(">"), new F.ReferenceParser(_this.get$content(_this), C.List_empty, t2)), new L.TokenParser(D.PredicateStringExtension_toParser("")))); + }, + processing$0: function() { + var t1 = type$.ReferenceParser_dynamic; + return Q.SequenceParserExtension_seq(Q.SequenceParserExtension_seq(Q.SequenceParserExtension_seq(D.PredicateStringExtension_toParser(""), 0, 9007199254740991, type$.String), type$.FlattenParser_List_String)), type$.PickParser_dynamic), type$.OptionalParser_dynamic)), D.PredicateStringExtension_toParser("?>")); + }, + qualified$0: function() { + return new F.ReferenceParser(this.get$nameToken(), C.List_empty, type$.ReferenceParser_dynamic); + }, + characterData$0: function() { + return new L.XmlCharacterDataParser(this.entityMapping, "<", 60, 1); + }, + misc$0: function() { + var t1 = type$.ReferenceParser_dynamic; + return Z.PossessiveRepeatingParserExtension_repeat(O.ChoiceParserExtension_or(O.ChoiceParserExtension_or(new F.ReferenceParser(this.get$spaceText(), C.List_empty, t1), new F.ReferenceParser(this.get$comment(), C.List_empty, t1)), new F.ReferenceParser(this.get$processing(), C.List_empty, t1)), 0, 9007199254740991, type$.dynamic); + }, + space$0: function() { + return Z.PossessiveRepeatingParserExtension_repeat(new G.CharacterParser(C.C_WhitespaceCharPredicate, "whitespace expected"), 1, 9007199254740991, type$.String); + }, + spaceText$0: function() { + return new K.FlattenParser("Expected whitespace", new F.ReferenceParser(this.get$space(), C.List_empty, type$.ReferenceParser_dynamic), type$.FlattenParser_dynamic); + }, + spaceOptional$0: function() { + return Z.PossessiveRepeatingParserExtension_repeat(new G.CharacterParser(C.C_WhitespaceCharPredicate, "whitespace expected"), 0, 9007199254740991, type$.String); + }, + nameToken$0: function() { + var t1 = type$.ReferenceParser_dynamic; + return new K.FlattenParser("Expected name", Q.SequenceParserExtension_seq(new F.ReferenceParser(this.get$nameStartChar(), C.List_empty, t1), Z.PossessiveRepeatingParserExtension_repeat(new F.ReferenceParser(this.get$nameChar(), C.List_empty, t1), 0, 9007199254740991, type$.dynamic)), type$.FlattenParser_List_dynamic); + }, + nameStartChar$0: function() { + return E.pattern(":A-Z_a-z\xc0-\xd6\xd8-\xf6\xf8-\u02ff\u0370-\u037d\u037f-\u1fff\u200c-\u200d\u2070-\u218f\u2c00-\u2fef\u3001-\ud7ff\uf900-\ufdcf\ufdf0-\ufffd", null); + }, + nameChar$0: function() { + return E.pattern(":A-Z_a-z\xc0-\xd6\xd8-\xf6\xf8-\u02ff\u0370-\u037d\u037f-\u1fff\u200c-\u200d\u2070-\u218f\u2c00-\u2fef\u3001-\ud7ff\uf900-\ufdcf\ufdf0-\ufffd-.0-9\xb7\u0300-\u036f\u203f-\u2040", null); + } + }; + D.XmlAttributeType.prototype = { + toString$0: function(_) { + return this._attribute_type$_name; + } + }; + B.XmlCache.prototype = { + $index: function(_, key) { + var t2, t3, it, _this = this, + t1 = _this.$ti; + t1._precomputed1._as(key); + t2 = _this._cache$_values; + if (!t2.containsKey$1(0, key)) { + t2.$indexSet(0, key, t1._rest[1]._as(_this._loader.call$1(key))); + for (t1 = _this._maxSize; t2.get$length(t2) > t1;) { + t3 = t2.get$keys(t2); + it = t3.get$iterator(t3); + if (!it.moveNext$0()) + H.throwExpression(H.IterableElementError_noElement()); + t2.remove$1(0, it.get$current(it)); + } + } + t1 = t2.$index(0, key); + t1.toString; + return t1; + } + }; + L.XmlCharacterDataParser.prototype = { + parseOn$1: function(context) { + var t1, t2, start, position0, value, position1, index, t3, + input = context.buffer, + $length = input.length, + output = new P.StringBuffer(""), + position = context.position; + for (t1 = this._stopperCode, t2 = this._entityMapping, start = position, position0 = start; position0 < $length;) { + value = C.JSString_methods.codeUnitAt$1(input, position0); + if (value === t1) + break; + else { + position1 = position0 + 1; + if (value === 38) { + index = C.JSString_methods.indexOf$2(input, ";", position1); + if (position1 < index) { + value = t2.decodeEntity$1(C.JSString_methods.substring$2(input, position1, index)); + if (value != null) { + t3 = output._contents += C.JSString_methods.substring$2(input, start, position0); + output._contents = t3 + value; + position0 = index + 1; + start = position0; + } else + position0 = position1; + } else + position0 = position1; + } else + position0 = position1; + } + } + t1 = output._contents += C.JSString_methods.substring$2(input, start, position0); + if (t1.length < this._minLength) + t1 = new B.Failure("Unable to parse character data.", input, position, type$.Failure_String); + else + t1 = new D.Success(t1.charCodeAt(0) == 0 ? t1 : t1, input, position0, type$.Success_String); + return t1; + }, + fastParseOn$2: function(buffer, position) { + var t1, position0, + $length = buffer.length; + for (t1 = this._stopperCode, position0 = position; position0 < $length;) + if (C.JSString_methods.codeUnitAt$1(buffer, position0) === t1) + break; + else + ++position0; + return position0 - position < this._minLength ? -1 : position0; + } + }; + T.XmlException.prototype = { + toString$0: function(_) { + return "XmlException: " + this.message; + }, + $isException: 1, + get$message: function(receiver) { + return this.message; + } + }; + T.XmlParserException.prototype = { + get$source: function(_) { + return this.buffer; + }, + get$offset: function(_) { + return this.position; + }, + toString$0: function(_) { + return "XmlParserException: " + this.message + " at " + this.line + ":" + this.column; + }, + $isFormatException: 1 + }; + T.XmlNodeTypeException.prototype = { + toString$0: function(_) { + return "XmlNodeTypeException: " + this.message; + } + }; + T.XmlParentException.prototype = { + toString$0: function(_) { + return "XmlParentException: " + this.message; + } + }; + Q.XmlName.prototype = { + accept$1: function(_, visitor) { + visitor.buffer._contents += this.get$qualified(); + return null; + }, + $eq: function(_, other) { + if (other == null) + return false; + return other instanceof Q.XmlName && other.get$qualified() === this.get$qualified(); + }, + get$hashCode: function(_) { + return C.JSString_methods.get$hashCode(this.get$qualified()); + } + }; + Q._XmlName_Object_XmlHasVisitor.prototype = {}; + Q._XmlName_Object_XmlHasVisitor_XmlHasWriter.prototype = {}; + Q._XmlName_Object_XmlHasVisitor_XmlHasWriter_XmlHasParent.prototype = { + set$_has_parent$_parent: function(_parent) { + this.XmlHasParent__parent = H._instanceType(this)._eval$1("XmlHasParent.T?")._as(_parent); + } + }; + N.createNameMatcher_closure.prototype = { + call$1: function(named) { + type$.XmlHasName._as(named); + return true; + }, + $signature: 52 + }; + N.createNameMatcher_closure0.prototype = { + call$1: function(named) { + var t1; + type$.XmlHasName._as(named); + t1 = named.get$name(named); + return t1.get$namespaceUri(t1) === this.namespace; + }, + $signature: 52 + }; + N.createNameMatcher_closure1.prototype = { + call$1: function(named) { + type$.XmlHasName._as(named); + return named.get$name(named).get$qualified() === this.name; + }, + $signature: 52 + }; + N.createNameMatcher_closure2.prototype = { + call$1: function(named) { + type$.XmlHasName._as(named); + return named.get$name(named).get$local() === this.name; + }, + $signature: 52 + }; + N.createNameMatcher_closure3.prototype = { + call$1: function(named) { + var t1; + type$.XmlHasName._as(named); + if (named.get$name(named).get$local() === this.name) { + t1 = named.get$name(named); + t1 = t1.get$namespaceUri(t1) === this.namespace; + } else + t1 = false; + return t1; + }, + $signature: 52 + }; + B.XmlNodeList.prototype = { + get$_node_list$_parent: function() { + var t1 = this.__XmlNodeList__parent; + return t1 === $ ? H.throwExpression(H.LateError$fieldNI("_parent")) : t1; + }, + get$_nodeTypes: function() { + var t1 = this.__XmlNodeList__nodeTypes; + return t1 === $ ? H.throwExpression(H.LateError$fieldNI("_nodeTypes")) : t1; + }, + set$_nodeTypes: function(t1) { + type$.Set_XmlNodeType._as(t1); + if (this.__XmlNodeList__nodeTypes === $) + this.set$__XmlNodeList__nodeTypes(t1); + else + throw H.wrapException(H.LateError$fieldAI("_nodeTypes")); + }, + $indexSet: function(_, index, value) { + var _this = this; + H._asIntS(index); + _this.$ti._precomputed1._as(value); + P.RangeError_checkValidIndex(index, _this); + if (value.get$nodeType(value) === C.XmlNodeType_6) { + if (typeof index !== "number") + return index.$add(); + _this.replaceRange$3(0, index, index + 1, _this._expandFragment$1(value)); + } else { + T.XmlNodeTypeException_checkValidType(value, _this.get$_nodeTypes()); + if (value.get$parent(value) != null) + H.throwExpression(T.XmlParentException$(string$.Node_a + value.toString$0(0))); + C.JSArray_methods.$index(_this._wrappers$_base, index).detachParent$1(_this.get$_node_list$_parent()); + _this.super$DelegatingList$$indexSet(0, index, value); + value.attachParent$1(_this.get$_node_list$_parent()); + } + }, + add$1: function(_, value) { + var _this = this; + _this.$ti._precomputed1._as(value); + if (value.get$nodeType(value) === C.XmlNodeType_6) + _this.addAll$1(0, _this._expandFragment$1(value)); + else { + T.XmlNodeTypeException_checkValidType(value, _this.get$_nodeTypes()); + if (value.get$parent(value) != null) + H.throwExpression(T.XmlParentException$(string$.Node_a + value.toString$0(0))); + _this.super$DelegatingList$add(0, value); + value.attachParent$1(_this.get$_node_list$_parent()); + } + }, + addAll$1: function(_, iterable) { + var t1, _i, node, t2, _this = this, + expanded = _this._expandNodes$1(_this.$ti._eval$1("Iterable<1>")._as(iterable)); + _this.super$DelegatingList$addAll(0, expanded); + for (t1 = expanded.length, _i = 0; _i < expanded.length; expanded.length === t1 || (0, H.throwConcurrentModificationError)(expanded), ++_i) { + node = expanded[_i]; + t2 = _this.__XmlNodeList__parent; + node.attachParent$1(t2 === $ ? H.throwExpression(H.LateError$fieldNI("_parent")) : t2); + } + }, + remove$1: function(_, value) { + var removed = this.super$DelegatingList$remove(0, value); + if (removed && this.$ti._precomputed1._is(value)) + value.detachParent$1(this.get$_node_list$_parent()); + return removed; + }, + removeWhere$1: function(_, test) { + this.super$DelegatingList$removeWhere(0, new B.XmlNodeList_removeWhere_closure(this, this.$ti._eval$1("bool(1)")._as(test))); + }, + clear$0: function(_) { + var t1, node, t2; + for (t1 = this._wrappers$_base, t1 = new J.ArrayIterator(t1, t1.length, H._arrayInstanceType(t1)._eval$1("ArrayIterator<1>")); t1.moveNext$0();) { + node = t1.__interceptors$_current; + t2 = this.__XmlNodeList__parent; + node.detachParent$1(t2 === $ ? H.throwExpression(H.LateError$fieldNI("_parent")) : t2); + } + this.super$DelegatingList$clear(0); + }, + removeLast$0: function(_) { + var node = this.super$DelegatingList$removeLast(0); + node.detachParent$1(this.get$_node_list$_parent()); + return node; + }, + removeRange$2: function(_, start, end) { + var i, t2, t3, + t1 = this._wrappers$_base; + P.RangeError_checkValidRange(start, end, t1.length); + i = start; + while (true) { + if (typeof i !== "number") + return i.$lt(); + if (typeof end !== "number") + return H.iae(end); + if (!(i < end)) + break; + if (i < 0 || i >= t1.length) + return H.ioore(t1, i); + t2 = t1[i]; + t3 = this.__XmlNodeList__parent; + t2.detachParent$1(t3 === $ ? H.throwExpression(H.LateError$fieldNI("_parent")) : t3); + ++i; + } + this.super$DelegatingList$removeRange(0, start, end); + }, + setRange$4: function(_, start, end, iterable, skipCount) { + var t1, expanded, i, t2, t3, _this = this; + H._asIntS(end); + _this.$ti._eval$1("Iterable<1>")._as(iterable); + t1 = _this._wrappers$_base; + P.RangeError_checkValidRange(start, end, t1.length); + expanded = _this._expandNodes$1(iterable); + if (typeof end !== "number") + return H.iae(end); + i = start; + for (; i < end; ++i) { + if (i >= t1.length) + return H.ioore(t1, i); + t2 = t1[i]; + t3 = _this.__XmlNodeList__parent; + t2.detachParent$1(t3 === $ ? H.throwExpression(H.LateError$fieldNI("_parent")) : t3); + } + _this.super$DelegatingList$setRange(0, start, end, expanded, skipCount); + for (i = start; i < end; ++i) { + if (i >= t1.length) + return H.ioore(t1, i); + t2 = t1[i]; + t3 = _this.__XmlNodeList__parent; + t2.attachParent$1(t3 === $ ? H.throwExpression(H.LateError$fieldNI("_parent")) : t3); + } + }, + setRange$3: function($receiver, start, end, iterable) { + return this.setRange$4($receiver, start, end, iterable, 0); + }, + replaceRange$3: function(_, start, end, iterable) { + var t1, expanded, i, t2, t3, _i, node, _this = this; + _this.$ti._eval$1("Iterable<1>")._as(iterable); + t1 = _this._wrappers$_base; + P.RangeError_checkValidRange(start, end, t1.length); + expanded = _this._expandNodes$1(iterable); + i = start; + while (true) { + if (typeof i !== "number") + return i.$lt(); + if (!(i < end)) + break; + if (i < 0 || i >= t1.length) + return H.ioore(t1, i); + t2 = t1[i]; + t3 = _this.__XmlNodeList__parent; + t2.detachParent$1(t3 === $ ? H.throwExpression(H.LateError$fieldNI("_parent")) : t3); + ++i; + } + _this.super$DelegatingList$replaceRange(0, start, end, expanded); + for (t1 = expanded.length, _i = 0; _i < expanded.length; expanded.length === t1 || (0, H.throwConcurrentModificationError)(expanded), ++_i) { + node = expanded[_i]; + t2 = _this.__XmlNodeList__parent; + node.attachParent$1(t2 === $ ? H.throwExpression(H.LateError$fieldNI("_parent")) : t2); + } + }, + insert$2: function(_, index, element) { + var t1, _this = this, + _s52_ = string$.Node_a; + _this.$ti._precomputed1._as(element); + element.toString; + T.XmlNodeTypeException_checkValidType(element, _this.get$_nodeTypes()); + if (element.get$parent(element) != null) + H.throwExpression(T.XmlParentException$(_s52_ + element.toString$0(0))); + _this.super$DelegatingList$insert(0, index, element); + t1 = H._instanceType(element)._eval$1("XmlHasParent.T")._as(_this.get$_node_list$_parent()); + if (element.get$parent(element) != null) + H.throwExpression(T.XmlParentException$(_s52_ + element.toString$0(0))); + element.set$_has_parent$_parent(t1); + }, + insertAll$2: function(_, index, iterable) { + var t1, _i, node, t2, _this = this, + expanded = _this._expandNodes$1(_this.$ti._eval$1("Iterable<1>")._as(iterable)); + _this.super$DelegatingList$insertAll(0, index, expanded); + for (t1 = expanded.length, _i = 0; _i < expanded.length; expanded.length === t1 || (0, H.throwConcurrentModificationError)(expanded), ++_i) { + node = expanded[_i]; + t2 = _this.__XmlNodeList__parent; + node.attachParent$1(t2 === $ ? H.throwExpression(H.LateError$fieldNI("_parent")) : t2); + } + }, + removeAt$1: function(_, index) { + var t1, _this = this; + P.RangeError_checkValidIndex(index, _this); + t1 = _this._wrappers$_base; + if (index < 0 || index >= t1.length) + return H.ioore(t1, index); + t1[index].detachParent$1(_this.get$_node_list$_parent()); + return _this.super$DelegatingList$removeAt(0, index); + }, + _expandFragment$1: function(fragment) { + var t1 = this.$ti._precomputed1; + t1._as(fragment); + return J.map$1$1$ax(fragment.get$children(fragment), new B.XmlNodeList__expandFragment_closure(this), t1); + }, + _expandNodes$1: function(iterable) { + var expanded, node, t2, + t1 = this.$ti; + t1._eval$1("Iterable<1>")._as(iterable); + expanded = H.setRuntimeTypeInfo([], t1._eval$1("JSArray<1>")); + for (t1 = J.get$iterator$ax(iterable); t1.moveNext$0();) { + node = t1.get$current(t1); + if (J.get$nodeType$x(node) === C.XmlNodeType_6) + C.JSArray_methods.addAll$1(expanded, this._expandFragment$1(node)); + else { + t2 = this.__XmlNodeList__nodeTypes; + if (t2 === $) + t2 = H.throwExpression(H.LateError$fieldNI("_nodeTypes")); + if (!t2.contains$1(0, node.get$nodeType(node))) + H.throwExpression(T.XmlNodeTypeException$("Expected node of type: " + t2.toString$0(0))); + if (node.get$parent(node) != null) + H.throwExpression(T.XmlParentException$(string$.Node_a + node.toString$0(0))); + C.JSArray_methods.add$1(expanded, node); + } + } + return expanded; + }, + set$__XmlNodeList__nodeTypes: function(__XmlNodeList__nodeTypes) { + this.__XmlNodeList__nodeTypes = type$.nullable_Set_XmlNodeType._as(__XmlNodeList__nodeTypes); + } + }; + B.XmlNodeList_removeWhere_closure.prototype = { + call$1: function(node) { + var remove, + t1 = this.$this; + t1.$ti._precomputed1._as(node); + remove = this.test.call$1(node); + if (H.boolConversionCheck(remove)) + node.detachParent$1(t1.get$_node_list$_parent()); + return remove; + }, + $signature: function() { + return this.$this.$ti._eval$1("bool(1)"); + } + }; + B.XmlNodeList__expandFragment_closure.prototype = { + call$1: function(node) { + var t1; + type$.XmlNode._as(node); + t1 = this.$this; + T.XmlNodeTypeException_checkValidType(node, t1.get$_nodeTypes()); + return t1.$ti._precomputed1._as(node.copy$0()); + }, + $signature: function() { + return this.$this.$ti._eval$1("1(XmlNode)"); + } + }; + E.XmlNodeType.prototype = { + toString$0: function(_) { + return this._node_type$_name; + } + }; + B.XmlPrefixName.prototype = { + get$namespaceUri: function(_) { + var t1 = B.lookupAttribute(this.XmlHasParent__parent, "xmlns", this.prefix); + return t1 == null ? null : t1.value; + }, + copy$0: function() { + return new B.XmlPrefixName(this.prefix, this.local, this.qualified, null); + }, + get$prefix: function(receiver) { + return this.prefix; + }, + get$local: function() { + return this.local; + }, + get$qualified: function() { + return this.qualified; + } + }; + R.XmlSimpleName.prototype = { + get$prefix: function(_) { + return null; + }, + get$qualified: function() { + return this.local; + }, + get$namespaceUri: function(_) { + var t1 = B.lookupAttribute(this.XmlHasParent__parent, null, "xmlns"); + return t1 == null ? null : t1.value; + }, + copy$0: function() { + return new R.XmlSimpleName(this.local, null); + }, + get$local: function() { + return this.local; + } + }; + B.XmlVisitor.prototype = {}; + X.XmlWriter.prototype = { + visitDocument$1: function(node) { + this.writeIterable$1(node.XmlHasChildren_children); + }, + visitElement$1: function(node) { + var t2, t3, t4, t5, _this = this, + t1 = _this.buffer; + t1._contents += "<"; + t2 = node.name; + t2.accept$1(0, _this); + _this.writeAttributes$1(node); + t3 = node.XmlHasChildren_children; + t4 = t3._wrappers$_base.length === 0 && node.isSelfClosing; + t5 = t1._contents; + if (t4) + t1._contents = t5 + "/>"; + else { + t1._contents = t5 + ">"; + _this.writeIterable$1(t3); + t1._contents += ""; + } + }, + writeAttributes$1: function(node) { + var t1 = node.XmlHasAttributes_attributes; + if (t1._wrappers$_base.length !== 0) { + this.buffer._contents += " "; + this.writeIterable$2(t1, " "); + } + }, + writeIterable$2: function(nodes, separator) { + var t1, t2, _this = this, + iterator = J.get$iterator$ax(type$.Iterable_XmlHasVisitor._as(nodes)); + if (iterator.moveNext$0()) { + t1 = separator == null || separator.length === 0; + t2 = type$.XmlHasVisitor; + if (t1) { + do + t2._as(iterator.__interceptors$_current).accept$1(0, _this); + while (iterator.moveNext$0()); + } else { + t2._as(iterator.__interceptors$_current).accept$1(0, _this); + for (t1 = _this.buffer; iterator.moveNext$0();) { + t1._contents += H.S(separator); + t2._as(iterator.__interceptors$_current).accept$1(0, _this); + } + } + } + }, + writeIterable$1: function(nodes) { + return this.writeIterable$2(nodes, null); + } + }; + X._XmlWriter_Object_XmlVisitor.prototype = {}; + (function aliases() { + var _ = J.Interceptor.prototype; + _.super$Interceptor$toString = _.toString$0; + _.super$Interceptor$noSuchMethod = _.noSuchMethod$1; + _ = J.JavaScriptObject.prototype; + _.super$JavaScriptObject$toString = _.toString$0; + _ = H.JsLinkedHashMap.prototype; + _.super$JsLinkedHashMap$internalContainsKey = _.internalContainsKey$1; + _.super$JsLinkedHashMap$internalGet = _.internalGet$1; + _.super$JsLinkedHashMap$internalSet = _.internalSet$2; + _.super$JsLinkedHashMap$internalRemove = _.internalRemove$1; + _ = P._BroadcastStreamController.prototype; + _.super$_BroadcastStreamController$_addEventError = _._addEventError$0; + _ = P._BufferingStreamSubscription.prototype; + _.super$_BufferingStreamSubscription$_add = _._async$_add$1; + _.super$_BufferingStreamSubscription$_addError = _._addError$2; + _ = P._HashMap.prototype; + _.super$_HashMap$_containsKey = _._containsKey$1; + _.super$_HashMap$_get = _._get$1; + _.super$_HashMap$_set = _._collection$_set$2; + _.super$_HashMap$_remove = _._remove$1; + _ = P.ListMixin.prototype; + _.super$ListMixin$setRange = _.setRange$4; + _ = P.MapMixin.prototype; + _.super$MapMixin$addAll = _.addAll$1; + _ = P.JsonEncoder.prototype; + _.super$JsonEncoder$convert = _.convert$1; + _ = P.Iterable.prototype; + _.super$Iterable$where = _.where$1; + _.super$Iterable$skipWhile = _.skipWhile$1; + _ = P.Object.prototype; + _.super$Object$toString = _.toString$0; + _ = W.EventTarget.prototype; + _.super$EventTarget$addEventListener = _.addEventListener$3; + _ = W._SimpleNodeValidator.prototype; + _.super$_SimpleNodeValidator$allowsAttribute = _.allowsAttribute$3; + _ = P.JsObject.prototype; + _.super$JsObject$$index = _.$index; + _.super$JsObject$$indexSet = _.$indexSet; + _ = P._JsArray_JsObject_ListMixin.prototype; + _.super$_JsArray_JsObject_ListMixin$$indexSet = _.$indexSet; + _ = Y.EnumClass.prototype; + _.super$EnumClass$toString = _.toString$0; + _ = M.DelegatingList.prototype; + _.super$DelegatingList$$indexSet = _.$indexSet; + _.super$DelegatingList$add = _.add$1; + _.super$DelegatingList$addAll = _.addAll$1; + _.super$DelegatingList$clear = _.clear$0; + _.super$DelegatingList$insert = _.insert$2; + _.super$DelegatingList$insertAll = _.insertAll$2; + _.super$DelegatingList$remove = _.remove$1; + _.super$DelegatingList$removeAt = _.removeAt$1; + _.super$DelegatingList$removeLast = _.removeLast$0; + _.super$DelegatingList$removeRange = _.removeRange$2; + _.super$DelegatingList$removeWhere = _.removeWhere$1; + _.super$DelegatingList$replaceRange = _.replaceRange$3; + _.super$DelegatingList$setRange = _.setRange$4; + _ = G.BaseRequest.prototype; + _.super$BaseRequest$finalize = _.finalize$0; + _ = Z._UiComponent2_Component2_DisposableManagerProxy.prototype; + _.super$_UiComponent2_Component2_DisposableManagerProxy$componentWillUnmount = _.componentWillUnmount$0; + _ = G.Parser.prototype; + _.super$Parser$fastParseOn = _.fastParseOn$2; + _.super$Parser$replace = _.replace$2; + _ = Z.DelegateParser.prototype; + _.super$DelegateParser$replace = _.replace$2; + _ = V.Component2.prototype; + _.super$Component2$componentDidMount = _.componentDidMount$0; + _.super$Component2$componentDidUpdate = _.componentDidUpdate$3; + _.super$Component2$componentWillUnmount = _.componentWillUnmount$0; + _ = A.ReactJsContextComponentFactoryProxy.prototype; + _.super$ReactJsContextComponentFactoryProxy$build = _.build$2; + _ = Y.SourceSpanMixin.prototype; + _.super$SourceSpanMixin$compareTo = _.compareTo$1; + _.super$SourceSpanMixin$$eq = _.$eq; + _ = U.SpreadsheetDecoder.prototype; + _.super$SpreadsheetDecoder$insertRow = _.insertRow$2; + _.super$SpreadsheetDecoder$updateCell = _.updateCell$4; + _ = M.XmlProductionDefinition.prototype; + _.super$XmlProductionDefinition$attribute = _.attribute$0; + _.super$XmlProductionDefinition$attributeValueDouble = _.attributeValueDouble$0; + _.super$XmlProductionDefinition$attributeValueSingle = _.attributeValueSingle$0; + _.super$XmlProductionDefinition$comment = _.comment$0; + _.super$XmlProductionDefinition$cdata = _.cdata$0; + _.super$XmlProductionDefinition$declaration = _.declaration$0; + _.super$XmlProductionDefinition$doctype = _.doctype$0; + _.super$XmlProductionDefinition$document = _.document$0; + _.super$XmlProductionDefinition$element = _.element$0; + _.super$XmlProductionDefinition$processing = _.processing$0; + _.super$XmlProductionDefinition$qualified = _.qualified$0; + _.super$XmlProductionDefinition$characterData = _.characterData$0; + _.super$XmlProductionDefinition$spaceText = _.spaceText$0; + })(); + (function installTearOffs() { + var _static_2 = hunkHelpers._static_2, + _instance_1_i = hunkHelpers._instance_1i, + _instance_1_u = hunkHelpers._instance_1u, + _static_1 = hunkHelpers._static_1, + _static_0 = hunkHelpers._static_0, + _instance_0_u = hunkHelpers._instance_0u, + _instance = hunkHelpers.installInstanceTearOff, + _instance_2_u = hunkHelpers._instance_2u, + _instance_0_i = hunkHelpers._instance_0i, + _static = hunkHelpers.installStaticTearOff, + _instance_2_i = hunkHelpers._instance_2i; + _static_2(J, "_interceptors_JSArray__compareAny$closure", "JSArray__compareAny", 172); + var _; + _instance_1_i(_ = J.JSArray.prototype, "get$add", "add$1", 74); + _instance_1_i(_, "get$contains", "contains$1", 107); + _instance_1_u(H.CastStreamSubscription.prototype, "get$__internal$_onData", "__internal$_onData$1", 74); + _static_1(P, "async__AsyncRun__scheduleImmediateJsOverride$closure", "_AsyncRun__scheduleImmediateJsOverride", 87); + _static_1(P, "async__AsyncRun__scheduleImmediateWithSetImmediate$closure", "_AsyncRun__scheduleImmediateWithSetImmediate", 87); + _static_1(P, "async__AsyncRun__scheduleImmediateWithTimer$closure", "_AsyncRun__scheduleImmediateWithTimer", 87); + _static_0(P, "async___startMicrotaskLoop$closure", "_startMicrotaskLoop", 0); + _static_1(P, "async___nullDataHandler$closure", "_nullDataHandler", 36); + _static_2(P, "async___nullErrorHandler$closure", "_nullErrorHandler", 97); + _static_0(P, "async___nullDoneHandler$closure", "_nullDoneHandler", 0); + _instance_0_u(_ = P._BroadcastSubscription.prototype, "get$_onPause", "_onPause$0", 0); + _instance_0_u(_, "get$_onResume", "_onResume$0", 0); + _instance(P._Completer.prototype, "get$completeError", 0, 1, function() { + return [null]; + }, ["call$2", "call$1"], ["completeError$2", "completeError$1"], 288, 0); + _instance_2_u(P._Future.prototype, "get$_completeError", "_completeError$2", 97); + _instance_0_u(_ = P._ControllerSubscription.prototype, "get$_onPause", "_onPause$0", 0); + _instance_0_u(_, "get$_onResume", "_onResume$0", 0); + _instance_0_i(_ = P._BufferingStreamSubscription.prototype, "get$cancel", "cancel$0", 104); + _instance_0_u(_, "get$_onPause", "_onPause$0", 0); + _instance_0_u(_, "get$_onResume", "_onResume$0", 0); + _instance_0_i(_ = P._DoneStreamSubscription.prototype, "get$cancel", "cancel$0", 104); + _instance_0_u(_, "get$_sendDone", "_sendDone$0", 0); + _instance_0_u(_ = P._ForwardingStreamSubscription.prototype, "get$_onPause", "_onPause$0", 0); + _instance_0_u(_, "get$_onResume", "_onResume$0", 0); + _instance_1_u(_, "get$_handleData", "_handleData$1", 74); + _instance_2_u(_, "get$_handleError", "_handleError$2", 376); + _instance_0_u(_, "get$_handleDone", "_handleDone$0", 0); + _static_2(P, "collection___defaultEquals$closure", "_defaultEquals", 60); + _static_1(P, "collection___defaultHashCode$closure", "_defaultHashCode", 63); + _static_2(P, "collection_ListMixin__compareAny$closure", "ListMixin__compareAny", 172); + _instance(P._HashSet.prototype, "get$_newSimilarSet", 0, 0, null, ["call$1$0", "call$0"], ["_newSimilarSet$1$0", "_newSimilarSet$0"], 199, 0); + _instance(P._LinkedHashSet.prototype, "get$_newSimilarSet", 0, 0, null, ["call$1$0", "call$0"], ["_newSimilarSet$1$0", "_newSimilarSet$0"], 222, 0); + _instance(P._UnmodifiableSet.prototype, "get$_newSimilarSet", 0, 0, null, ["call$1$0", "call$0"], ["_newSimilarSet$1$0", "_newSimilarSet$0"], 251, 0); + _static_1(P, "convert___defaultToEncodable$closure", "_defaultToEncodable", 14); + _instance_1_i(_ = P._ByteCallbackSink.prototype, "get$add", "add$1", 74); + _instance_0_i(_, "get$close", "close$0", 0); + _static_1(P, "core__identityHashCode$closure", "identityHashCode", 63); + _static_2(P, "core__identical$closure", "identical", 60); + _static_1(P, "core_Uri_decodeComponent$closure", "Uri_decodeComponent", 99); + _static(W, "html__Html5NodeValidator__standardAttributeValidator$closure", 4, null, ["call$4"], ["_Html5NodeValidator__standardAttributeValidator"], 174, 0); + _static(W, "html__Html5NodeValidator__uriAttributeValidator$closure", 4, null, ["call$4"], ["_Html5NodeValidator__uriAttributeValidator"], 174, 0); + _instance_0_i(W.CacheStorage.prototype, "get$keys", "keys$0", 104); + _instance_2_i(W.HttpRequest.prototype, "get$setRequestHeader", "setRequestHeader$2", 94); + _instance_0_i(W.PaymentInstruments.prototype, "get$keys", "keys$0", 302); + _instance_1_u(P.CssClassSetImpl.prototype, "get$_validateToken", "_validateToken$1", 99); + _static_1(P, "js___convertToJS$closure", "_convertToJS", 85); + _static_1(P, "js___convertToDart$closure", "_convertToDart", 33); + _static(P, "math__min$closure", 2, null, ["call$1$2", "call$2"], ["min", function(a, b) { + return P.min(a, b, type$.num); + }], 570, 1); + _static(P, "math__max$closure", 2, null, ["call$1$2", "call$2"], ["max", function(a, b) { + return P.max(a, b, type$.num); + }], 571, 1); + _instance_2_u(_ = U.DefaultEquality.prototype, "get$equals", "equals$2", 60); + _instance_1_i(_, "get$hash", "hash$1", 63); + _instance_1_u(_, "get$isValidKey", "isValidKey$1", 107); + _instance_2_u(U.ListEquality.prototype, "get$equals", "equals$2", 60); + _instance_2_u(_ = U.DeepCollectionEquality.prototype, "get$equals", "equals$2", 60); + _instance_1_i(_, "get$hash", "hash$1", 63); + _instance_1_u(_, "get$isValidKey", "isValidKey$1", 107); + _static(Z, "error_boundary___$ErrorBoundary$closure", 0, function() { + return [null]; + }, ["call$1", "call$0"], ["_$ErrorBoundary", function() { + return Z._$ErrorBoundary(null); + }], 572, 0); + _static(E, "error_boundary_recoverable___$RecoverableErrorBoundary$closure", 0, function() { + return [null]; + }, ["call$1", "call$0"], ["_$RecoverableErrorBoundary", function() { + return E._$RecoverableErrorBoundary(null); + }], 573, 0); + _instance_2_u(_ = E.RecoverableErrorBoundaryComponent.prototype, "get$_renderStringDomAfterUnrecoverableErrors", "_renderStringDomAfterUnrecoverableErrors$2", 278); + _instance_0_u(_, "get$_resetInternalErrorTracking", "_resetInternalErrorTracking$0", 0); + _instance_1_u(S._AccessorMetaCollection.prototype, "get$forMixin", "forMixin$1", "_AccessorMetaCollection.U*(Type*)"); + _static_1(Z, "component_base_2_UiComponent2BridgeImpl_bridgeFactory$closure", "UiComponent2BridgeImpl_bridgeFactory", 574); + _instance_1_u(Z.UiComponent2.prototype, "get$addUnconsumedProps", "addUnconsumedProps$1", 282); + _static_1(M, "pretty_print___prettyObj$closure", "_prettyObj", 575); + _static_1(L, "browser__Chrome__isChrome$closure", "_Chrome__isChrome", 28); + _static_1(L, "browser__Firefox__isFirefox$closure", "_Firefox__isFirefox", 28); + _static_1(L, "browser__Safari__isSafari$closure", "_Safari__isSafari", 28); + _static_1(L, "browser__WKWebView__isWKWebView$closure", "_WKWebView__isWKWebView", 28); + _static_1(L, "browser__InternetExplorer__isInternetExplorer$closure", "_InternetExplorer__isInternetExplorer", 28); + _static_1(A, "bridge_Component2BridgeImpl_bridgeFactory$closure", "Component2BridgeImpl_bridgeFactory", 576); + _static_1(A, "component_factory__listifyChildren$closure", "listifyChildren", 14); + _static_1(R, "js_interop_helpers___jsObjectFriendlyIdentityHashCode$closure", "_jsObjectFriendlyIdentityHashCode", 577); + _static_2(K, "react_interop_ReactDom_render$closure", "ReactDom_render", 578); + _static_1(R, "react_dom___findDomNode$closure", "_findDomNode", 14); + _static_2(Q, "dart_interop_statics_ReactDartInteropStatics2_initComponent$closure", "ReactDartInteropStatics2_initComponent", 579); + _static_1(Q, "dart_interop_statics_ReactDartInteropStatics2_handleComponentDidMount$closure", "ReactDartInteropStatics2_handleComponentDidMount", 175); + _static(Q, "dart_interop_statics_ReactDartInteropStatics2_handleShouldComponentUpdate$closure", 3, null, ["call$3"], ["ReactDartInteropStatics2_handleShouldComponentUpdate"], 581, 0); + _static(Q, "dart_interop_statics_ReactDartInteropStatics2_handleGetDerivedStateFromProps$closure", 3, null, ["call$3"], ["ReactDartInteropStatics2_handleGetDerivedStateFromProps"], 582, 0); + _static(Q, "dart_interop_statics_ReactDartInteropStatics2_handleGetSnapshotBeforeUpdate$closure", 3, null, ["call$3"], ["ReactDartInteropStatics2_handleGetSnapshotBeforeUpdate"], 583, 0); + _static(Q, "dart_interop_statics_ReactDartInteropStatics2_handleComponentDidUpdate$closure", 4, function() { + return [null]; + }, ["call$5", "call$4"], ["ReactDartInteropStatics2_handleComponentDidUpdate", function(component, jsThis, jsPrevProps, jsPrevState) { + return Q.ReactDartInteropStatics2_handleComponentDidUpdate(component, jsThis, jsPrevProps, jsPrevState, null); + }], 584, 0); + _static_1(Q, "dart_interop_statics_ReactDartInteropStatics2_handleComponentWillUnmount$closure", "ReactDartInteropStatics2_handleComponentWillUnmount", 175); + _static(Q, "dart_interop_statics_ReactDartInteropStatics2_handleComponentDidCatch$closure", 3, null, ["call$3"], ["ReactDartInteropStatics2_handleComponentDidCatch"], 585, 0); + _static_2(Q, "dart_interop_statics_ReactDartInteropStatics2_handleGetDerivedStateFromError$closure", "ReactDartInteropStatics2_handleGetDerivedStateFromError", 586); + _static(Q, "dart_interop_statics_ReactDartInteropStatics2_handleRender$closure", 4, null, ["call$4"], ["ReactDartInteropStatics2_handleRender"], 587, 0); + _instance_2_u(B.TypedReducer.prototype, "get$$call", "call$2", "1*(Object*,@)"); + _instance_1_u(K.Replacer.prototype, "get$default_encode", "default_encode$1", 14); + _static(Z, "check_mirror_strands_legal__check_reflect_strands_legal_middleware$closure", 3, null, ["call$3"], ["check_reflect_strands_legal_middleware"], 4, 0); + _static(E, "dna_ends_move_start__dna_ends_move_start_middleware$closure", 3, null, ["call$3"], ["dna_ends_move_start_middleware"], 4, 0); + _static(A, "export_cadnano_or_codenano_file__export_cadnano_or_codenano_file_middleware$closure", 3, null, ["call$3"], ["export_cadnano_or_codenano_file_middleware"], 4, 0); + _static(F, "export_dna_sequences__export_dna_sequences_middleware$closure", 3, null, ["call$3"], ["export_dna_sequences_middleware"], 4, 0); + _static_0(F, "export_dna_sequences__export_dna$closure", "export_dna", 6); + _static(V, "export_svg__export_svg_middleware$closure", 3, null, ["call$3"], ["export_svg_middleware"], 4, 0); + _static_1(V, "export_svg__clone_and_apply_style$closure", "clone_and_apply_style", 589); + _static(X, "forbid_create_circular_strand_no_crossovers_middleware__forbid_create_circular_strand_no_crossovers_middleware$closure", 3, null, ["call$3"], ["forbid_create_circular_strand_no_crossovers_middleware"], 4, 0); + _static(B, "helices_positions_set_based_on_crossovers__helix_positions_set_based_on_crossovers_middleware$closure", 3, null, ["call$3"], ["helix_positions_set_based_on_crossovers_middleware"], 4, 0); + _static(R, "helix_idxs_change__helix_idxs_change_middleware$closure", 3, null, ["call$3"], ["helix_idxs_change_middleware"], 4, 0); + _static(K, "load_file__load_file_middleware$closure", 3, null, ["call$3"], ["load_file_middleware"], 4, 0); + _static(S, "local_storage__local_storage_middleware$closure", 3, null, ["call$3"], ["local_storage_middleware"], 4, 0); + _static(N, "oxdna_export__oxdna_export_middleware$closure", 3, null, ["call$3"], ["oxdna_export_middleware"], 4, 0); + _instance_0_i(N.OxdnaVector.prototype, "get$length", "length$0", 65); + _static(F, "periodic_save_design_local_storage__periodic_design_save_local_storage_middleware$closure", 3, null, ["call$3"], ["periodic_design_save_local_storage_middleware"], 4, 0); + _static(T, "save_file__save_file_middleware$closure", 3, null, ["call$3"], ["save_file_middleware"], 4, 0); + _static(Q, "selections_intersect_box_compute__selections_intersect_box_compute_middleware$closure", 3, null, ["call$3"], ["selections_intersect_box_compute_middleware"], 4, 0); + _static(Q, "selections_intersect_box_compute__interval_contained$closure", 4, null, ["call$4"], ["interval_contained"], 177, 0); + _static(Q, "selections_intersect_box_compute__interval_intersect$closure", 4, null, ["call$4"], ["interval_intersect"], 177, 0); + _static_2(Q, "selections_intersect_box_compute__polygon_contains_rect$closure", "polygon_contains_rect", 178); + _static_2(Q, "selections_intersect_box_compute__polygon_intersects_rect$closure", "polygon_intersects_rect", 178); + _static_2(U, "app_state_reducer__app_state_reducer$closure", "app_state_reducer", 592); + _static_2(U, "app_state_reducer__error_message_reducer$closure", "error_message_reducer", 593); + _static_2(K, "app_ui_state_reducer__potential_crossover_create_app_ui_state_reducer$closure", "potential_crossover_create_app_ui_state_reducer", 594); + _static_2(K, "app_ui_state_reducer__potential_crossover_remove_app_ui_state_reducer$closure", "potential_crossover_remove_app_ui_state_reducer", 595); + _static_2(K, "app_ui_state_reducer__dna_ends_move_start_app_ui_state_reducer$closure", "dna_ends_move_start_app_ui_state_reducer", 596); + _static_2(K, "app_ui_state_reducer__dna_ends_move_stop_app_ui_state_reducer$closure", "dna_ends_move_stop_app_ui_state_reducer", 597); + _static_2(K, "app_ui_state_reducer__dna_extensions_move_start_app_ui_state_reducer$closure", "dna_extensions_move_start_app_ui_state_reducer", 598); + _static_2(K, "app_ui_state_reducer__dna_extensions_move_stop_app_ui_state_reducer$closure", "dna_extensions_move_stop_app_ui_state_reducer", 599); + _static_2(K, "app_ui_state_reducer__slice_bar_move_start_app_ui_state_reducer$closure", "slice_bar_move_start_app_ui_state_reducer", 600); + _static_2(K, "app_ui_state_reducer__slice_bar_move_stop_app_ui_state_reducer$closure", "slice_bar_move_stop_app_ui_state_reducer", 601); + _static_2(K, "app_ui_state_reducer__helix_group_move_start_app_ui_state_reducer$closure", "helix_group_move_start_app_ui_state_reducer", 602); + _static_2(K, "app_ui_state_reducer__helix_group_move_stop_app_ui_state_reducer$closure", "helix_group_move_stop_app_ui_state_reducer", 603); + _static_2(K, "app_ui_state_reducer__show_dna_reducer$closure", "show_dna_reducer", 604); + _static_2(K, "app_ui_state_reducer__load_dialog_show_app_ui_state_reducer$closure", "load_dialog_show_app_ui_state_reducer", 605); + _static_2(K, "app_ui_state_reducer__load_dialog_hide_app_ui_state_reducer$closure", "load_dialog_hide_app_ui_state_reducer", 606); + _static_2(K, "app_ui_state_reducer__show_strand_names_reducer$closure", "show_strand_names_reducer", 607); + _static_2(K, "app_ui_state_reducer__show_strand_labels_reducer$closure", "show_strand_labels_reducer", 608); + _static_2(K, "app_ui_state_reducer__show_domain_names_reducer$closure", "show_domain_names_reducer", 609); + _static_2(K, "app_ui_state_reducer__show_domain_labels_reducer$closure", "show_domain_labels_reducer", 916); + _static_2(K, "app_ui_state_reducer__show_modifications_reducer$closure", "show_modifications_reducer", 611); + _static_2(K, "app_ui_state_reducer__modification_display_connector_reducer$closure", "modification_display_connector_reducer", 612); + _static_2(K, "app_ui_state_reducer__modification_font_size_reducer$closure", "modification_font_size_reducer", 613); + _static_2(K, "app_ui_state_reducer__zoom_speed_reducer$closure", "zoom_speed_reducer", 614); + _static_2(K, "app_ui_state_reducer__strand_name_font_size_reducer$closure", "strand_name_font_size_reducer", 615); + _static_2(K, "app_ui_state_reducer__domain_name_font_size_reducer$closure", "domain_name_font_size_reducer", 616); + _static_2(K, "app_ui_state_reducer__strand_label_font_size_reducer$closure", "strand_label_font_size_reducer", 617); + _static_2(K, "app_ui_state_reducer__domain_label_font_size_reducer$closure", "domain_label_font_size_reducer", 618); + _static_2(K, "app_ui_state_reducer__major_tick_offset_font_size_reducer$closure", "major_tick_offset_font_size_reducer", 619); + _static_2(K, "app_ui_state_reducer__major_tick_width_font_size_reducer$closure", "major_tick_width_font_size_reducer", 620); + _static_2(K, "app_ui_state_reducer__show_mismatches_reducer$closure", "show_mismatches_reducer", 621); + _static_2(K, "app_ui_state_reducer__show_domain_name_mismatches_reducer$closure", "show_domain_name_mismatches_reducer", 622); + _static_2(K, "app_ui_state_reducer__show_unpaired_insertion_deletions_reducer$closure", "show_unpaired_insertion_deletions_reducer", 623); + _static_2(K, "app_ui_state_reducer__invert_y_reducer$closure", "invert_y_reducer", 624); + _static_2(K, "app_ui_state_reducer__dynamic_helix_update_reducer$closure", "dynamic_helix_update_reducer", 625); + _static_2(K, "app_ui_state_reducer__warn_on_exit_if_unsaved_reducer$closure", "warn_on_exit_if_unsaved_reducer", 626); + _static_2(K, "app_ui_state_reducer__show_helix_circles_main_view_reducer$closure", "show_helix_circles_main_view_reducer", 627); + _static_2(K, "app_ui_state_reducer__show_helix_components_main_view_reducer$closure", "show_helix_components_main_view_reducer", 628); + _static_2(K, "app_ui_state_reducer__show_edit_mode_menu_reducer$closure", "show_edit_mode_menu_reducer", 629); + _static_2(K, "app_ui_state_reducer__show_grid_coordinates_side_view_reducer$closure", "show_grid_coordinates_side_view_reducer", 630); + _static_2(K, "app_ui_state_reducer__show_helices_axis_arrows_reducer$closure", "show_helices_axis_arrows_reducer", 631); + _static_2(K, "app_ui_state_reducer__show_loopout_extension_length_reducer$closure", "show_loopout_extension_length_reducer", 632); + _static_2(K, "app_ui_state_reducer__show_slice_bar_reducer$closure", "show_slice_bar_reducer", 633); + _static_2(K, "app_ui_state_reducer__slice_bar_offset_set_reducer$closure", "slice_bar_offset_set_reducer", 634); + _static_2(K, "app_ui_state_reducer__disable_png_caching_dna_sequences_reducer$closure", "disable_png_caching_dna_sequences_reducer", 635); + _static_2(K, "app_ui_state_reducer__retain_strand_color_on_selection_reducer$closure", "retain_strand_color_on_selection_reducer", 636); + _static_2(K, "app_ui_state_reducer__display_reverse_DNA_right_side_up_reducer$closure", "display_reverse_DNA_right_side_up_reducer", 637); + _static_2(K, "app_ui_state_reducer__display_base_offsets_of_major_ticks_reducer$closure", "display_base_offsets_of_major_ticks_reducer", 638); + _static_2(K, "app_ui_state_reducer__display_base_offsets_of_major_ticks_only_first_helix_reducer$closure", "display_base_offsets_of_major_ticks_only_first_helix_reducer", 639); + _static_2(K, "app_ui_state_reducer__display_major_tick_widths_all_helices_reducer$closure", "display_major_tick_widths_all_helices_reducer", 640); + _static_2(K, "app_ui_state_reducer__base_pair_type_idx_reducer$closure", "base_pair_type_idx_reducer", 641); + _static_2(K, "app_ui_state_reducer__show_base_pair_lines_reducer$closure", "show_base_pair_lines_reducer", 642); + _static_2(K, "app_ui_state_reducer__show_base_pair_lines_with_mismatches_reducer$closure", "show_base_pair_lines_with_mismatches_reducer", 643); + _static_2(K, "app_ui_state_reducer__export_svg_text_separately_reducer$closure", "export_svg_text_separately_reducer", 644); + _static_2(K, "app_ui_state_reducer__ox_export_only_selected_strands_reducer$closure", "ox_export_only_selected_strands_reducer", 645); + _static_2(K, "app_ui_state_reducer__display_major_tick_widths_reducer$closure", "display_major_tick_widths_reducer", 646); + _static_2(K, "app_ui_state_reducer__strand_paste_keep_color_reducer$closure", "strand_paste_keep_color_reducer", 647); + _static_2(K, "app_ui_state_reducer__center_on_load_reducer$closure", "center_on_load_reducer", 648); + _static_2(K, "app_ui_state_reducer__show_oxview_reducer$closure", "show_oxview_reducer", 649); + _static_2(K, "app_ui_state_reducer__show_mouseover_data_set_reducer$closure", "show_mouseover_data_set_reducer", 650); + _static_2(K, "app_ui_state_reducer__only_display_selected_helices_reducer$closure", "only_display_selected_helices_reducer", 651); + _static_2(K, "app_ui_state_reducer__default_crossover_type_scaffold_for_setting_helix_rolls_reducer$closure", "default_crossover_type_scaffold_for_setting_helix_rolls_reducer", 179); + _static_2(K, "app_ui_state_reducer__default_crossover_type_staple_for_setting_helix_rolls_reducer$closure", "default_crossover_type_staple_for_setting_helix_rolls_reducer", 179); + _static_2(K, "app_ui_state_reducer__dna_assign_options_reducer$closure", "dna_assign_options_reducer", 653); + _static_2(K, "app_ui_state_reducer__local_storage_design_choice_reducer$closure", "local_storage_design_choice_reducer", 654); + _static_2(K, "app_ui_state_reducer__clear_helix_selection_when_loading_new_design_set_reducer$closure", "clear_helix_selection_when_loading_new_design_set_reducer", 655); + _static_2(K, "app_ui_state_reducer__changed_since_last_save_undoable_action_reducer$closure", "changed_since_last_save_undoable_action_reducer", 656); + _static_2(K, "app_ui_state_reducer__changed_since_last_save_just_saved_reducer$closure", "changed_since_last_save_just_saved_reducer", 657); + _static_2(K, "app_ui_state_reducer__example_designs_idx_set_reducer$closure", "example_designs_idx_set_reducer", 658); + _static(K, "app_ui_state_reducer__displayed_group_name_group_remove_reducer$closure", 3, null, ["call$3"], ["displayed_group_name_group_remove_reducer"], 659, 0); + _static(K, "app_ui_state_reducer__slice_bar_offset_show_slice_bar_set_reducer$closure", 3, null, ["call$3"], ["slice_bar_offset_show_slice_bar_set_reducer"], 660, 0); + _static(K, "app_ui_state_reducer__slice_bar_offset_group_displayed_change_reducer$closure", 3, null, ["call$3"], ["slice_bar_offset_group_displayed_change_reducer"], 661, 0); + _static(K, "app_ui_state_reducer__slice_bar_offset_group_remove_reducer$closure", 3, null, ["call$3"], ["slice_bar_offset_group_remove_reducer"], 662, 0); + _static(K, "app_ui_state_reducer__slice_bar_offset_helix_offset_change_reducer$closure", 3, null, ["call$3"], ["slice_bar_offset_helix_offset_change_reducer"], 663, 0); + _static(K, "app_ui_state_reducer__slice_bar_offset_helix_offset_change_all_reducer$closure", 3, null, ["call$3"], ["slice_bar_offset_helix_offset_change_all_reducer"], 664, 0); + _static_2(K, "app_ui_state_reducer__displayed_group_name_change_displayed_group_reducer$closure", "displayed_group_name_change_displayed_group_reducer", 665); + _static_2(K, "app_ui_state_reducer__displayed_group_name_change_name_reducer$closure", "displayed_group_name_change_name_reducer", 666); + _static_2(K, "app_ui_state_reducer__last_mod_5p_modification_add_reducer$closure", "last_mod_5p_modification_add_reducer", 667); + _static_2(K, "app_ui_state_reducer__last_mod_3p_modification_add_reducer$closure", "last_mod_3p_modification_add_reducer", 668); + _static_2(K, "app_ui_state_reducer__last_mod_int_modification_add_reducer$closure", "last_mod_int_modification_add_reducer", 669); + _static_2(K, "app_ui_state_reducer__load_dna_sequence_image_uri$closure", "load_dna_sequence_image_uri", 670); + _static_2(K, "app_ui_state_reducer__load_dna_sequence_png_horizontal_offset$closure", "load_dna_sequence_png_horizontal_offset", 180); + _static_2(K, "app_ui_state_reducer__load_dna_sequence_png_vertical_offset$closure", "load_dna_sequence_png_vertical_offset", 180); + _static_2(K, "app_ui_state_reducer__set_export_svg_action_delayed_for_png_cache$closure", "set_export_svg_action_delayed_for_png_cache", 672); + _static_2(K, "app_ui_state_reducer__set_is_zoom_above_threshold$closure", "set_is_zoom_above_threshold", 673); + _static_2(K, "app_ui_state_reducer__side_view_mouse_grid_pos_update_reducer$closure", "side_view_mouse_grid_pos_update_reducer", 674); + _static_2(K, "app_ui_state_reducer__side_view_mouse_grid_pos_clear_reducer$closure", "side_view_mouse_grid_pos_clear_reducer", 675); + _static_2(K, "app_ui_state_reducer__side_view_mouse_pos_update_reducer$closure", "side_view_mouse_pos_update_reducer", 676); + _static_2(K, "app_ui_state_reducer__side_view_mouse_pos_clear_reducer$closure", "side_view_mouse_pos_clear_reducer", 677); + _static_2(K, "app_ui_state_reducer__color_picker_strand_show_reducer$closure", "color_picker_strand_show_reducer", 678); + _static_2(K, "app_ui_state_reducer__color_picker_strand_hide_reducer$closure", "color_picker_strand_hide_reducer", 679); + _static_2(K, "app_ui_state_reducer__color_picker_substrand_show_reducer$closure", "color_picker_substrand_show_reducer", 680); + _static_2(K, "app_ui_state_reducer__color_picker_substrand_hide_reducer$closure", "color_picker_substrand_hide_reducer", 681); + _static_2(K, "app_ui_state_reducer__selection_box_intersection_reducer$closure", "selection_box_intersection_reducer", 682); + _static(M, "assign_domain_names_reducer__assign_domain_name_complement_from_bound_strands_reducer$closure", 3, null, ["call$3"], ["assign_domain_name_complement_from_bound_strands_reducer"], 683, 0); + _static(M, "assign_domain_names_reducer__assign_domain_name_complement_from_bound_domains_reducer$closure", 3, null, ["call$3"], ["assign_domain_name_complement_from_bound_domains_reducer"], 684, 0); + _static_2(X, "change_loopout_ext_properties__convert_crossover_to_loopout_reducer$closure", "convert_crossover_to_loopout_reducer", 685); + _static(X, "change_loopout_ext_properties__convert_crossovers_to_loopouts_reducer$closure", 3, null, ["call$3"], ["convert_crossovers_to_loopouts_reducer"], 686, 0); + _static(X, "change_loopout_ext_properties__loopouts_length_change_reducer$closure", 3, null, ["call$3"], ["loopouts_length_change_reducer"], 687, 0); + _static(X, "change_loopout_ext_properties__extensions_num_bases_change_reducer$closure", 3, null, ["call$3"], ["extensions_num_bases_change_reducer"], 688, 0); + _static_2(X, "change_loopout_ext_properties__loopout_length_change_reducer$closure", "loopout_length_change_reducer", 689); + _static_2(X, "change_loopout_ext_properties__extension_num_bases_change_reducer$closure", "extension_num_bases_change_reducer", 690); + _static_2(X, "change_loopout_ext_properties__extension_display_length_angle_change_reducer$closure", "extension_display_length_angle_change_reducer", 691); + _static(G, "delete_reducer__delete_all_reducer$closure", 3, null, ["call$3"], ["delete_all_reducer"], 692, 0); + _static_2(U, "design_reducer__design_error_message_set_reducer$closure", "design_error_message_set_reducer", 693); + _static(U, "design_reducer__design_geometry_set_reducer$closure", 3, null, ["call$3"], ["design_geometry_set_reducer"], 694, 0); + _static_2(U, "design_reducer__new_design_set_reducer$closure", "new_design_set_reducer", 695); + _static_2(Z, "dna_ends_move_reducer__dna_ends_move_set_selected_ends_reducer$closure", "dna_ends_move_set_selected_ends_reducer", 696); + _static_2(Z, "dna_ends_move_reducer__dna_ends_move_adjust_reducer$closure", "dna_ends_move_adjust_reducer", 697); + _static_2(Z, "dna_ends_move_reducer__dna_ends_move_stop_reducer$closure", "dna_ends_move_stop_reducer", 698); + _static_2(A, "dna_extensions_move_reducer__dna_extensions_move_set_selected_extension_ends_reducer$closure", "dna_extensions_move_set_selected_extension_ends_reducer", 699); + _static_2(A, "dna_extensions_move_reducer__dna_extensions_move_adjust_reducer$closure", "dna_extensions_move_adjust_reducer", 700); + _static_2(A, "dna_extensions_move_reducer__dna_extensions_move_stop_reducer$closure", "dna_extensions_move_stop_reducer", 701); + _static(Q, "domains_move_reducer__domains_move_start_selected_domains_reducer$closure", 3, null, ["call$3"], ["domains_move_start_selected_domains_reducer"], 702, 0); + _static_2(Q, "domains_move_reducer__domains_move_stop_reducer$closure", "domains_move_stop_reducer", 703); + _static(Q, "domains_move_reducer__domains_adjust_address_reducer$closure", 3, null, ["call$3"], ["domains_adjust_address_reducer"], 704, 0); + _static_2(B, "edit_modes_reducer__toggle_edit_mode_reducer$closure", "toggle_edit_mode_reducer", 705); + _static_2(B, "edit_modes_reducer__set_edit_modes_reducer$closure", "set_edit_modes_reducer", 706); + _static_2(O, "groups_reducer__grid_change_reducer$closure", "grid_change_reducer", 707); + _static_2(O, "groups_reducer__group_add_reducer$closure", "group_add_reducer", 708); + _static_2(O, "groups_reducer__group_remove_reducer$closure", "group_remove_reducer", 709); + _static_2(O, "groups_reducer__group_change_reducer$closure", "group_change_reducer", 710); + _static(O, "groups_reducer__move_helices_to_group_groups_reducer$closure", 3, null, ["call$3"], ["move_helices_to_group_groups_reducer"], 711, 0); + _static(V, "helices_reducer__helix_individual_reducer$closure", 3, null, ["call$3"], ["helix_individual_reducer"], 712, 0); + _static(V, "helices_reducer__helix_idx_change_reducer$closure", 3, null, ["call$3"], ["helix_idx_change_reducer"], 713, 0); + _static(V, "helices_reducer__helix_offset_change_reducer$closure", 3, null, ["call$3"], ["helix_offset_change_reducer"], 714, 0); + _static(V, "helices_reducer__helix_offset_change_all_with_moving_strands_reducer$closure", 3, null, ["call$3"], ["helix_offset_change_all_with_moving_strands_reducer"], 715, 0); + _static(V, "helices_reducer__helix_offset_change_all_while_creating_strand_reducer$closure", 3, null, ["call$3"], ["helix_offset_change_all_while_creating_strand_reducer"], 716, 0); + _static(V, "helices_reducer__first_replace_strands_reducer$closure", 3, null, ["call$3"], ["first_replace_strands_reducer"], 717, 0); + _static(V, "helices_reducer__reset_helices_offsets_after_selections_clear$closure", 3, null, ["call$3"], ["reset_helices_offsets_after_selections_clear"], 718, 0); + _static(V, "helices_reducer__helix_offset_change_all_reducer$closure", 3, null, ["call$3"], ["helix_offset_change_all_reducer"], 719, 0); + _static(V, "helices_reducer__helix_min_offset_set_by_domains_reducer$closure", 3, null, ["call$3"], ["helix_min_offset_set_by_domains_reducer"], 720, 0); + _static(V, "helices_reducer__helix_max_offset_set_by_domains_reducer$closure", 3, null, ["call$3"], ["helix_max_offset_set_by_domains_reducer"], 721, 0); + _static(V, "helices_reducer__helix_min_offset_set_by_domains_all_reducer$closure", 3, null, ["call$3"], ["helix_min_offset_set_by_domains_all_reducer"], 722, 0); + _static(V, "helices_reducer__helix_max_offset_set_by_domains_all_reducer$closure", 3, null, ["call$3"], ["helix_max_offset_set_by_domains_all_reducer"], 723, 0); + _static(V, "helices_reducer__helix_max_offset_set_by_domains_all_same_max_reducer$closure", 3, null, ["call$3"], ["helix_max_offset_set_by_domains_all_same_max_reducer"], 724, 0); + _static_2(V, "helices_reducer__helix_major_tick_distance_change_all_reducer$closure", "helix_major_tick_distance_change_all_reducer", 725); + _static_2(V, "helices_reducer__helix_major_ticks_change_all_reducer$closure", "helix_major_ticks_change_all_reducer", 726); + _static_2(V, "helices_reducer__helix_major_tick_start_change_all_reducer$closure", "helix_major_tick_start_change_all_reducer", 727); + _static_2(V, "helices_reducer__helix_major_tick_periodic_distances_change_all_reducer$closure", "helix_major_tick_periodic_distances_change_all_reducer", 728); + _static(V, "helices_reducer__helix_major_tick_distance_change_reducer$closure", 3, null, ["call$3"], ["helix_major_tick_distance_change_reducer"], 729, 0); + _static(V, "helices_reducer__helix_major_tick_periodic_distances_change_reducer$closure", 3, null, ["call$3"], ["helix_major_tick_periodic_distances_change_reducer"], 730, 0); + _static(V, "helices_reducer__helix_major_tick_start_change_reducer$closure", 3, null, ["call$3"], ["helix_major_tick_start_change_reducer"], 731, 0); + _static(V, "helices_reducer__helix_major_ticks_change_reducer$closure", 3, null, ["call$3"], ["helix_major_ticks_change_reducer"], 732, 0); + _static(V, "helices_reducer__helix_roll_set_reducer$closure", 3, null, ["call$3"], ["helix_roll_set_reducer"], 733, 0); + _static(V, "helices_reducer__helix_roll_set_at_other_reducer$closure", 3, null, ["call$3"], ["helix_roll_set_at_other_reducer"], 734, 0); + _static(V, "helices_reducer__helix_add_design_reducer$closure", 3, null, ["call$3"], ["helix_add_design_reducer"], 735, 0); + _static(V, "helices_reducer__helix_remove_design_global_reducer$closure", 3, null, ["call$3"], ["helix_remove_design_global_reducer"], 736, 0); + _static(V, "helices_reducer__helix_remove_all_selected_design_global_reducer$closure", 3, null, ["call$3"], ["helix_remove_all_selected_design_global_reducer"], 737, 0); + _static(V, "helices_reducer__helix_grid_change_reducer$closure", 3, null, ["call$3"], ["helix_grid_change_reducer"], 738, 0); + _static(V, "helices_reducer__relax_helix_rolls_reducer$closure", 3, null, ["call$3"], ["relax_helix_rolls_reducer"], 739, 0); + _static(V, "helices_reducer__helix_group_change_reducer$closure", 3, null, ["call$3"], ["helix_group_change_reducer"], 740, 0); + _static(V, "helices_reducer__helix_grid_position_set_reducer$closure", 3, null, ["call$3"], ["helix_grid_position_set_reducer"], 741, 0); + _static(V, "helices_reducer__helix_position_set_reducer$closure", 3, null, ["call$3"], ["helix_position_set_reducer"], 742, 0); + _static_2(V, "helices_reducer__move_helices_to_group_helices_reducer$closure", "move_helices_to_group_helices_reducer", 743); + _static_2(Z, "helix_group_move_reducer__helix_group_move_create_translation_reducer$closure", "helix_group_move_create_translation_reducer", 744); + _static_2(Z, "helix_group_move_reducer__helix_group_move_adjust_translation_reducer$closure", "helix_group_move_adjust_translation_reducer", 745); + _static_2(Z, "helix_group_move_reducer__helix_group_move_stop_translation_reducer$closure", "helix_group_move_stop_translation_reducer", 746); + _static(Z, "helix_group_move_reducer__helix_group_move_commit_global_reducer$closure", 3, null, ["call$3"], ["helix_group_move_commit_global_reducer"], 747, 0); + _static_2(R, "inline_insertions_deletions_reducer__inline_insertions_deletions_reducer$closure", "inline_insertions_deletions_reducer", 748); + _static_2(D, "insertion_deletion_reducer__insertion_deletion_reducer$closure", "insertion_deletion_reducer", 749); + _static_2(D, "insertion_deletion_reducer__insertion_add_reducer$closure", "insertion_add_reducer", 750); + _static_2(D, "insertion_deletion_reducer__insertion_remove_reducer$closure", "insertion_remove_reducer", 751); + _static_2(D, "insertion_deletion_reducer__deletion_add_reducer$closure", "deletion_add_reducer", 752); + _static_2(D, "insertion_deletion_reducer__deletion_remove_reducer$closure", "deletion_remove_reducer", 753); + _static_2(D, "insertion_deletion_reducer__insertion_length_change_reducer$closure", "insertion_length_change_reducer", 754); + _static(D, "insertion_deletion_reducer__insertions_length_change_reducer$closure", 3, null, ["call$3"], ["insertions_length_change_reducer"], 755, 0); + _static_2(U, "mouseover_datas_reducer__mouseover_data_clear_reducer$closure", "mouseover_data_clear_reducer", 756); + _static(U, "mouseover_datas_reducer__mouseover_data_update_reducer$closure", 3, null, ["call$3"], ["mouseover_data_update_reducer"], 757, 0); + _static(U, "mouseover_datas_reducer__helix_rotation_set_at_other_mouseover_reducer$closure", 3, null, ["call$3"], ["helix_rotation_set_at_other_mouseover_reducer"], 758, 0); + _static(F, "nick_ligate_join_by_crossover_reducers__move_linker_reducer$closure", 3, null, ["call$3"], ["move_linker_reducer"], 759, 0); + _static(F, "nick_ligate_join_by_crossover_reducers__nick_reducer$closure", 3, null, ["call$3"], ["nick_reducer"], 760, 0); + _static(F, "nick_ligate_join_by_crossover_reducers__ligate_reducer$closure", 3, null, ["call$3"], ["ligate_reducer"], 761, 0); + _static(F, "nick_ligate_join_by_crossover_reducers__join_strands_by_multiple_crossovers_reducer$closure", 3, null, ["call$3"], ["join_strands_by_multiple_crossovers_reducer"], 762, 0); + _static(F, "nick_ligate_join_by_crossover_reducers__join_strands_by_crossover_reducer$closure", 3, null, ["call$3"], ["join_strands_by_crossover_reducer"], 763, 0); + _static_2(F, "potential_crossover_reducer__potential_crossover_create_reducer$closure", "potential_crossover_create_reducer", 764); + _static_2(F, "potential_crossover_reducer__potential_crossover_move_reducer$closure", "potential_crossover_move_reducer", 765); + _static_2(F, "potential_crossover_reducer__potential_crossover_remove_reducer$closure", "potential_crossover_remove_reducer", 766); + _static(D, "selection_reducer__select_reducer$closure", 3, null, ["call$3"], ["select_reducer"], 767, 0); + _static(D, "selection_reducer__select_all_selectables_reducer$closure", 3, null, ["call$3"], ["select_all_selectables_reducer"], 768, 0); + _static(D, "selection_reducer__select_or_toggle_items_reducer$closure", 3, null, ["call$3"], ["select_or_toggle_items_reducer"], 769, 0); + _static_2(D, "selection_reducer__design_changing_action_reducer$closure", "design_changing_action_reducer", 770); + _static_2(D, "selection_reducer__select_all_reducer$closure", "select_all_reducer", 771); + _static_2(D, "selection_reducer__selections_clear_reducer$closure", "selections_clear_reducer", 772); + _static(D, "selection_reducer__select_all_with_same_reducer$closure", 3, null, ["call$3"], ["select_all_with_same_reducer"], 773, 0); + _static(D, "selection_reducer__helix_selections_adjust_reducer$closure", 3, null, ["call$3"], ["helix_selections_adjust_reducer"], 774, 0); + _static_2(D, "selection_reducer__helix_select_reducer$closure", "helix_select_reducer", 775); + _static_2(D, "selection_reducer__helices_selected_clear_reducer$closure", "helices_selected_clear_reducer", 776); + _static_2(D, "selection_reducer__helices_remove_all_selected_reducer$closure", "helices_remove_all_selected_reducer", 777); + _static_2(D, "selection_reducer__helix_remove_selected_reducer$closure", "helix_remove_selected_reducer", 778); + _static_2(D, "selection_reducer__selection_box_create_reducer$closure", "selection_box_create_reducer", 779); + _static_2(D, "selection_reducer__selection_box_size_changed_reducer$closure", "selection_box_size_changed_reducer", 780); + _static_2(D, "selection_reducer__selection_box_remove_reducer$closure", "selection_box_remove_reducer", 781); + _static_2(D, "selection_reducer__selection_rope_create_reducer$closure", "selection_rope_create_reducer", 782); + _static_2(D, "selection_reducer__selection_rope_mouse_move_reducer$closure", "selection_rope_mouse_move_reducer", 783); + _static_2(D, "selection_reducer__selection_rope_add_point_reducer$closure", "selection_rope_add_point_reducer", 784); + _static_2(D, "selection_reducer__selection_rope_remove_reducer$closure", "selection_rope_remove_reducer", 785); + _static(M, "strand_creation_reducer__strand_create_start_reducer$closure", 3, null, ["call$3"], ["strand_create_start_reducer"], 786, 0); + _static(M, "strand_creation_reducer__strand_create_adjust_offset_reducer$closure", 3, null, ["call$3"], ["strand_create_adjust_offset_reducer"], 787, 0); + _static(M, "strand_creation_reducer__strand_create_stop_reducer$closure", 3, null, ["call$3"], ["strand_create_stop_reducer"], 788, 0); + _static(X, "strands_copy_info_reducer__copy_selected_strands_reducer$closure", 3, null, ["call$3"], ["copy_selected_strands_reducer"], 789, 0); + _static(X, "strands_copy_info_reducer__manual_paste_initiate_reducer$closure", 3, null, ["call$3"], ["manual_paste_initiate_reducer"], 790, 0); + _static(X, "strands_copy_info_reducer__autopaste_initiate_reducer$closure", 3, null, ["call$3"], ["autopaste_initiate_reducer"], 791, 0); + _static(X, "strands_copy_info_reducer__manual_paste_copy_info_reducer$closure", 3, null, ["call$3"], ["manual_paste_copy_info_reducer"], 792, 0); + _static(D, "strands_move_reducer__strands_move_start_reducer$closure", 3, null, ["call$3"], ["strands_move_start_reducer"], 793, 0); + _static(D, "strands_move_reducer__strands_move_start_selected_strands_reducer$closure", 3, null, ["call$3"], ["strands_move_start_selected_strands_reducer"], 794, 0); + _static_2(D, "strands_move_reducer__strands_move_stop_reducer$closure", "strands_move_stop_reducer", 795); + _static(D, "strands_move_reducer__strands_adjust_address_reducer$closure", 3, null, ["call$3"], ["strands_adjust_address_reducer"], 796, 0); + _static_2(D, "strands_move_reducer__interval_comparator$closure", "interval_comparator", 797); + _static_2(E, "strands_reducer__replace_strands_reducer$closure", "replace_strands_reducer", 798); + _static(E, "strands_reducer__strands_part_reducer$closure", 3, null, ["call$3"], ["strands_part_reducer"], 799, 0); + _static_2(E, "strands_reducer__substrand_name_set_reducer$closure", "substrand_name_set_reducer", 800); + _static_2(E, "strands_reducer__substrand_label_set_reducer$closure", "substrand_label_set_reducer", 801); + _static(E, "strands_reducer__strands_move_commit_reducer$closure", 3, null, ["call$3"], ["strands_move_commit_reducer"], 802, 0); + _static(E, "strands_reducer__domains_move_commit_reducer$closure", 3, null, ["call$3"], ["domains_move_commit_reducer"], 803, 0); + _static(E, "strands_reducer__strands_dna_ends_move_commit_reducer$closure", 3, null, ["call$3"], ["strands_dna_ends_move_commit_reducer"], 804, 0); + _static(E, "strands_reducer__strands_dna_extensions_move_commit_reducer$closure", 3, null, ["call$3"], ["strands_dna_extensions_move_commit_reducer"], 805, 0); + _static(E, "strands_reducer__strand_create$closure", 3, null, ["call$3"], ["strand_create"], 806, 0); + _static_2(E, "strands_reducer__strands_single_strand_reducer$closure", "strands_single_strand_reducer", 807); + _static_2(E, "strands_reducer__vendor_fields_remove_reducer$closure", "vendor_fields_remove_reducer", 808); + _static_2(E, "strands_reducer__plate_well_vendor_fields_remove_reducer$closure", "plate_well_vendor_fields_remove_reducer", 809); + _static_2(E, "strands_reducer__plate_well_vendor_fields_assign_reducer$closure", "plate_well_vendor_fields_assign_reducer", 810); + _static_2(E, "strands_reducer__scale_purification_vendor_fields_assign_reducer$closure", "scale_purification_vendor_fields_assign_reducer", 811); + _static_2(E, "strands_reducer__strand_name_set_reducer$closure", "strand_name_set_reducer", 812); + _static_2(E, "strands_reducer__strand_label_set_reducer$closure", "strand_label_set_reducer", 813); + _static_2(E, "strands_reducer__extension_add_reducer$closure", "extension_add_reducer", 814); + _static_2(E, "strands_reducer__modification_add_reducer$closure", "modification_add_reducer", 815); + _static_2(E, "strands_reducer__modification_remove_reducer$closure", "modification_remove_reducer", 816); + _static_2(E, "strands_reducer__modification_edit_reducer$closure", "modification_edit_reducer", 817); + _static_2(E, "strands_reducer__scaffold_set_reducer$closure", "scaffold_set_reducer", 818); + _static_2(E, "strands_reducer__strand_or_substrand_color_set_reducer$closure", "strand_or_substrand_color_set_reducer", 819); + _static(E, "strands_reducer__modifications_5p_edit_reducer$closure", 3, null, ["call$3"], ["modifications_5p_edit_reducer"], 820, 0); + _static(E, "strands_reducer__modifications_3p_edit_reducer$closure", 3, null, ["call$3"], ["modifications_3p_edit_reducer"], 821, 0); + _static(E, "strands_reducer__modifications_int_edit_reducer$closure", 3, null, ["call$3"], ["modifications_int_edit_reducer"], 822, 0); + _static_2(S, "undo_redo_reducer__undo_reducer$closure", "undo_reducer", 823); + _static_2(S, "undo_redo_reducer__redo_reducer$closure", "redo_reducer", 824); + _static_2(S, "undo_redo_reducer__undo_redo_clear_reducer$closure", "undo_redo_clear_reducer", 825); + _static_2(S, "undo_redo_reducer__undoable_action_typed_reducer$closure", "undoable_action_typed_reducer", 826); + _instance(X.TypedGlobalReducer.prototype, "get$$call", 0, 3, null, ["call$3"], ["call$3"], "1*(Object*,Object*,@)", 0); + _static_1(E, "dialog_Dialog_identity_function$closure", "Dialog_identity_function", 162); + _static_1(S, "grid_Grid_valueOf$closure", "Grid_valueOf", 827); + _static_0(E, "selectable__ask_for_select_all_with_same_as_selected$closure", "ask_for_select_all_with_same_as_selected", 6); + _static_1(E, "util__unwrap_from_noindent$closure", "unwrap_from_noindent", 14); + _static(E, "util__merge_wildcards$closure", 3, null, ["call$3"], ["merge_wildcards"], 181, 0); + _static(E, "util__merge_wildcards_favor_first$closure", 3, null, ["call$3"], ["merge_wildcards_favor_first"], 181, 0); + _static_1(E, "util__dispatch_set_zoom_threshold$closure", "dispatch_set_zoom_threshold", 829); + _static_0(E, "util__svg_to_png_data$closure", "svg_to_png_data", 0); + _static(B, "lib_3p_end___$End3Prime$closure", 0, function() { + return [null]; + }, ["call$1", "call$0"], ["_$End3Prime", function() { + return B._$End3Prime(null); + }], 830, 0); + _static(A, "lib_5p_end___$End5Prime$closure", 0, function() { + return [null]; + }, ["call$1", "call$0"], ["_$End5Prime", function() { + return A._$End5Prime(null); + }], 831, 0); + _static_1(U, "design__main_view_pointer_up$closure", "main_view_pointer_up", 136); + _static(S, "design_context_menu___$DesignContextMenu$closure", 0, function() { + return [null]; + }, ["call$1", "call$0"], ["_$DesignContextMenu", function() { + return S._$DesignContextMenu(null); + }], 832, 0); + _static(S, "design_context_menu___$DesignContextSubmenu$closure", 0, function() { + return [null]; + }, ["call$1", "call$0"], ["_$DesignContextSubmenu", function() { + return S._$DesignContextSubmenu(null); + }], 833, 0); + _static(S, "design_dialog_form___$DesignDialogForm$closure", 0, function() { + return [null]; + }, ["call$1", "call$0"], ["_$DesignDialogForm", function() { + return S._$DesignDialogForm(null); + }], 834, 0); + _instance_1_u(S.DesignDialogFormComponent.prototype, "get$submit_form", "submit_form$1", 5); + _static(V, "design_footer___$DesignFooter$closure", 0, function() { + return [null]; + }, ["call$1", "call$0"], ["_$DesignFooter", function() { + return V._$DesignFooter(null); + }], 835, 0); + _static(Q, "design_loading_dialog___$DesignLoadingDialog$closure", 0, function() { + return [null]; + }, ["call$1", "call$0"], ["_$DesignLoadingDialog", function() { + return Q._$DesignLoadingDialog(null); + }], 836, 0); + _static(V, "design_main___$DesignMain$closure", 0, function() { + return [null]; + }, ["call$1", "call$0"], ["_$DesignMain", function() { + return V._$DesignMain(null); + }], 837, 0); + _static(Q, "design_main_arrows___$DesignMainArrows$closure", 0, function() { + return [null]; + }, ["call$1", "call$0"], ["_$DesignMainArrows", function() { + return Q._$DesignMainArrows(null); + }], 838, 0); + _static(Z, "design_main_base_pair_lines___$DesignMainBasePairLines$closure", 0, function() { + return [null]; + }, ["call$1", "call$0"], ["_$DesignMainBasePairLines", function() { + return Z._$DesignMainBasePairLines(null); + }], 839, 0); + _static(V, "design_main_base_pair_rectangle___$DesignMainBasePairRectangle$closure", 0, function() { + return [null]; + }, ["call$1", "call$0"], ["_$DesignMainBasePairRectangle", function() { + return V._$DesignMainBasePairRectangle(null); + }], 840, 0); + _static(O, "design_main_dna_mismatches___$DesignMainDNAMismatches$closure", 0, function() { + return [null]; + }, ["call$1", "call$0"], ["_$DesignMainDNAMismatches", function() { + return O._$DesignMainDNAMismatches(null); + }], 841, 0); + _static(U, "design_main_dna_sequence___$DesignMainDNASequence$closure", 0, function() { + return [null]; + }, ["call$1", "call$0"], ["_$DesignMainDNASequence", function() { + return U._$DesignMainDNASequence(null); + }], 842, 0); + _static(M, "design_main_dna_sequences___$DesignMainDNASequences$closure", 0, function() { + return [null]; + }, ["call$1", "call$0"], ["_$DesignMainDNASequences", function() { + return M._$DesignMainDNASequences(null); + }], 843, 0); + _static(T, "design_main_domain_moving___$DesignMainDomainMoving$closure", 0, function() { + return [null]; + }, ["call$1", "call$0"], ["_$DesignMainDomainMoving", function() { + return T._$DesignMainDomainMoving(null); + }], 844, 0); + _static(R, "design_main_domain_name_mismatches___$DesignMainDomainNameMismatches$closure", 0, function() { + return [null]; + }, ["call$1", "call$0"], ["_$DesignMainDomainNameMismatches", function() { + return R._$DesignMainDomainNameMismatches(null); + }], 845, 0); + _static(Y, "design_main_domains_moving___$DesignMainDomainsMoving$closure", 0, function() { + return [null]; + }, ["call$1", "call$0"], ["_$DesignMainDomainsMoving", function() { + return Y._$DesignMainDomainsMoving(null); + }], 846, 0); + _static(X, "design_main_error_boundary___$DesignMainErrorBoundary$closure", 0, function() { + return [null]; + }, ["call$1", "call$0"], ["_$DesignMainErrorBoundary", function() { + return X._$DesignMainErrorBoundary(null); + }], 847, 0); + _static(V, "design_main_helices___$DesignMainHelices$closure", 0, function() { + return [null]; + }, ["call$1", "call$0"], ["_$DesignMainHelices", function() { + return V._$DesignMainHelices(null); + }], 848, 0); + _static(T, "design_main_helix___$DesignMainHelix$closure", 0, function() { + return [null]; + }, ["call$1", "call$0"], ["_$DesignMainHelix", function() { + return T._$DesignMainHelix(null); + }], 849, 0); + _instance_1_u(T.DesignMainHelixComponent.prototype, "get$on_context_menu", "on_context_menu$1", 25); + _static(K, "design_main_loopout_extension_length___$DesignMainLoopoutExtensionLength$closure", 0, function() { + return [null]; + }, ["call$1", "call$0"], ["_$DesignMainLoopoutExtensionLength", function() { + return K._$DesignMainLoopoutExtensionLength(null); + }], 850, 0); + _static(Z, "design_main_loopout_extension_lengths___$DesignMainLoopoutExtensionLengths$closure", 0, function() { + return [null]; + }, ["call$1", "call$0"], ["_$DesignMainLoopoutExtensionLengths", function() { + return Z._$DesignMainLoopoutExtensionLengths(null); + }], 851, 0); + _static(K, "design_main_potential_vertical_crossover___$DesignMainPotentialVerticalCrossover$closure", 0, function() { + return [null]; + }, ["call$1", "call$0"], ["_$DesignMainPotentialVerticalCrossover", function() { + return K._$DesignMainPotentialVerticalCrossover(null); + }], 852, 0); + _static(S, "design_main_potential_vertical_crossovers___$DesignMainPotentialVerticalCrossovers$closure", 0, function() { + return [null]; + }, ["call$1", "call$0"], ["_$DesignMainPotentialVerticalCrossovers", function() { + return S._$DesignMainPotentialVerticalCrossovers(null); + }], 853, 0); + _static(M, "design_main_slice_bar___$DesignMainSliceBar$closure", 0, function() { + return [null]; + }, ["call$1", "call$0"], ["_$DesignMainSliceBar", function() { + return M._$DesignMainSliceBar(null); + }], 854, 0); + _static(M, "design_main_strand___$DesignMainStrand$closure", 0, function() { + return [null]; + }, ["call$1", "call$0"], ["_$DesignMainStrand", function() { + return M._$DesignMainStrand(null); + }], 855, 0); + _instance_1_u(_ = M.DesignMainStrandComponent.prototype, "get$handle_click_down", "handle_click_down$1", 41); + _instance_1_u(_, "get$handle_click_up", "handle_click_up$1", 41); + _instance_0_u(_, "get$assign_dna", "assign_dna$0", 1); + _instance_0_u(_, "get$assign_dna_complement_from_bound_strands", "assign_dna_complement_from_bound_strands$0", 1); + _instance_0_u(_, "get$assign_scale_purification_fields", "assign_scale_purification_fields$0", 1); + _instance_0_u(_, "get$assign_plate_well_fields", "assign_plate_well_fields$0", 1); + _instance_0_u(_, "get$set_strand_name", "set_strand_name$0", 1); + _instance_0_u(_, "get$set_strand_label", "set_strand_label$0", 1); + _instance_0_u(_, "get$remove_dna", "remove_dna$0", 1); + _instance_0_u(_, "get$set_scaffold", "set_scaffold$0", 1); + _instance(_, "get$context_menu_strand", 0, 1, function() { + return {address: null, substrand: null, type: C.ModificationType_internal}; + }, ["call$4$address$substrand$type", "call$1", "call$3$address$substrand"], ["context_menu_strand$4$address$substrand$type", "context_menu_strand$1", "context_menu_strand$3$address$substrand"], 452, 0); + _instance_0_u(_, "get$ask_for_assign_scale_purification_fields", "ask_for_assign_scale_purification_fields$0", 6); + _instance_0_u(_, "get$ask_for_assign_plate_well_fields", "ask_for_assign_plate_well_fields$0", 6); + _static(S, "design_main_strand_and_domain_texts___$DesignMainStrandAndDomainTexts$closure", 0, function() { + return [null]; + }, ["call$1", "call$0"], ["_$DesignMainStrandAndDomainTexts", function() { + return S._$DesignMainStrandAndDomainTexts(null); + }], 856, 0); + _static(R, "design_main_strand_creating___$DesignMainStrandCreating$closure", 0, function() { + return [null]; + }, ["call$1", "call$0"], ["_$DesignMainStrandCreating", function() { + return R._$DesignMainStrandCreating(null); + }], 857, 0); + _static(Q, "design_main_strand_crossover___$DesignMainStrandCrossover$closure", 0, function() { + return [null]; + }, ["call$1", "call$0"], ["_$DesignMainStrandCrossover", function() { + return Q._$DesignMainStrandCrossover(null); + }], 858, 0); + _instance_1_u(_ = Q.DesignMainStrandCrossoverComponent.prototype, "get$on_context_menu", "on_context_menu$1", 25); + _instance_0_u(_, "get$unstrain_backbone_at_crossover", "unstrain_backbone_at_crossover$0", 1); + _instance_0_u(_, "get$convert_crossover_to_loopout", "convert_crossover_to_loopout$0", 1); + _static(A, "design_main_strand_deletion___$DesignMainStrandDeletion$closure", 0, function() { + return [null]; + }, ["call$1", "call$0"], ["_$DesignMainStrandDeletion", function() { + return A._$DesignMainStrandDeletion(null); + }], 859, 0); + _static(S, "design_main_strand_dna_end___$DesignMainDNAEnd$closure", 0, function() { + return [null]; + }, ["call$1", "call$0"], ["_$DesignMainDNAEnd", function() { + return S._$DesignMainDNAEnd(null); + }], 860, 0); + _instance_1_u(_ = S.DesignMainDNAEndComponent.prototype, "get$on_context_menu", "on_context_menu$1", 25); + _instance_1_u(_, "get$handle_end_click_select_and_or_move_start", "handle_end_click_select_and_or_move_start$1", 41); + _instance_1_u(_, "get$handle_end_pointer_up_select", "handle_end_pointer_up_select$1", 41); + _instance_1_u(_, "get$handle_end_click_ligate_or_potential_crossover", "handle_end_click_ligate_or_potential_crossover$1", 3); + _instance_1_u(_, "get$handle_on_mouse_leave", "handle_on_mouse_leave$1", 3); + _instance_1_u(_, "get$handle_on_mouse_enter", "handle_on_mouse_enter$1", 3); + _instance_1_u(_, "get$handle_on_mouse_move", "handle_on_mouse_move$1", 3); + _static(F, "design_main_strand_dna_end_moving___$EndMoving$closure", 0, function() { + return [null]; + }, ["call$1", "call$0"], ["_$EndMoving", function() { + return F._$EndMoving(null); + }], 861, 0); + _static(T, "design_main_strand_dna_extension_end_moving___$ExtensionEndMoving$closure", 0, function() { + return [null]; + }, ["call$1", "call$0"], ["_$ExtensionEndMoving", function() { + return T._$ExtensionEndMoving(null); + }], 862, 0); + _static(T, "design_main_strand_domain___$DesignMainDomain$closure", 0, function() { + return [null]; + }, ["call$1", "call$0"], ["_$DesignMainDomain", function() { + return T._$DesignMainDomain(null); + }], 863, 0); + _instance_1_u(_ = T.DesignMainDomainComponent.prototype, "get$_handle_click_for_nick_insertion_deletion", "_handle_click_for_nick_insertion_deletion$1", 3); + _instance_1_u(_, "get$handle_click_down", "handle_click_down$1", 41); + _instance_1_u(_, "get$handle_click_up", "handle_click_up$1", 41); + _instance_1_u(_, "get$on_context_menu", "on_context_menu$1", 25); + _static(B, "design_main_strand_domain_text___$DesignMainStrandDomainText$closure", 0, function() { + return [null]; + }, ["call$1", "call$0"], ["_$DesignMainStrandDomainText", function() { + return B._$DesignMainStrandDomainText(null); + }], 864, 0); + _instance_1_u(B.DesignMainStrandDomainTextComponent.prototype, "get$on_context_menu", "on_context_menu$1", 25); + _static(Q, "design_main_strand_extension___$DesignMainExtension$closure", 0, function() { + return [null]; + }, ["call$1", "call$0"], ["_$DesignMainExtension", function() { + return Q._$DesignMainExtension(null); + }], 865, 0); + _instance_1_u(_ = Q.DesignMainExtensionComponent.prototype, "get$handle_click_down", "handle_click_down$1", 41); + _instance_1_u(_, "get$handle_click_up", "handle_click_up$1", 41); + _instance_1_u(_, "get$on_context_menu", "on_context_menu$1", 25); + _instance_0_u(_, "get$extension_num_bases_change", "extension_num_bases_change$0", 1); + _instance_0_u(_, "get$set_extension_name", "set_extension_name$0", 1); + _instance_0_u(_, "get$set_extension_label", "set_extension_label$0", 1); + _instance_0_u(_, "get$ask_for_extension_name", "ask_for_extension_name$0", 6); + _instance_0_u(_, "get$extension_display_length_and_angle_change", "extension_display_length_and_angle_change$0", 1); + _instance_0_u(_, "get$ask_for_extension_display_length_and_angle", "ask_for_extension_display_length_and_angle$0", 6); + _static(R, "design_main_strand_extension_text___$DesignMainStrandExtensionText$closure", 0, function() { + return [null]; + }, ["call$1", "call$0"], ["_$DesignMainStrandExtensionText", function() { + return R._$DesignMainStrandExtensionText(null); + }], 866, 0); + _static(A, "design_main_strand_insertion___$DesignMainStrandInsertion$closure", 0, function() { + return [null]; + }, ["call$1", "call$0"], ["_$DesignMainStrandInsertion", function() { + return A._$DesignMainStrandInsertion(null); + }], 867, 0); + _instance_1_u(_ = A.DesignMainStrandInsertionComponent.prototype, "get$on_context_menu", "on_context_menu$1", 25); + _instance_0_u(_, "get$change_insertion_length", "change_insertion_length$0", 1); + _static(R, "design_main_strand_loopout___$DesignMainLoopout$closure", 0, function() { + return [null]; + }, ["call$1", "call$0"], ["_$DesignMainLoopout", function() { + return R._$DesignMainLoopout(null); + }], 868, 0); + _instance_1_u(_ = R.DesignMainLoopoutComponent.prototype, "get$on_context_menu", "on_context_menu$1", 25); + _instance_0_u(_, "get$loopout_length_change", "loopout_length_change$0", 1); + _instance_0_u(_, "get$set_loopout_name", "set_loopout_name$0", 1); + _instance_0_u(_, "get$set_loopout_label", "set_loopout_label$0", 1); + _instance_0_u(_, "get$ask_for_loopout_name", "ask_for_loopout_name$0", 6); + _static(S, "design_main_strand_loopout_name___$DesignMainStrandLoopoutText$closure", 0, function() { + return [null]; + }, ["call$1", "call$0"], ["_$DesignMainStrandLoopoutText", function() { + return S._$DesignMainStrandLoopoutText(null); + }], 869, 0); + _static(X, "design_main_strand_modification___$DesignMainStrandModification$closure", 0, function() { + return [null]; + }, ["call$1", "call$0"], ["_$DesignMainStrandModification", function() { + return X._$DesignMainStrandModification(null); + }], 870, 0); + _instance_1_u(_ = X.DesignMainStrandModificationComponent.prototype, "get$on_context_menu", "on_context_menu$1", 25); + _instance_0_u(_, "get$remove_modification", "remove_modification$0", 1); + _static(R, "design_main_strand_modifications___$DesignMainStrandModifications$closure", 0, function() { + return [null]; + }, ["call$1", "call$0"], ["_$DesignMainStrandModifications", function() { + return R._$DesignMainStrandModifications(null); + }], 871, 0); + _static(T, "design_main_strand_moving___$DesignMainStrandMoving$closure", 0, function() { + return [null]; + }, ["call$1", "call$0"], ["_$DesignMainStrandMoving", function() { + return T._$DesignMainStrandMoving(null); + }], 872, 0); + _static(B, "design_main_strand_paths___$DesignMainStrandPaths$closure", 0, function() { + return [null]; + }, ["call$1", "call$0"], ["_$DesignMainStrandPaths", function() { + return B._$DesignMainStrandPaths(null); + }], 873, 0); + _static(E, "design_main_strands___$DesignMainStrands$closure", 0, function() { + return [null]; + }, ["call$1", "call$0"], ["_$DesignMainStrands", function() { + return E._$DesignMainStrands(null); + }], 874, 0); + _static(F, "design_main_strands_moving___$DesignMainStrandsMoving$closure", 0, function() { + return [null]; + }, ["call$1", "call$0"], ["_$DesignMainStrandsMoving", function() { + return F._$DesignMainStrandsMoving(null); + }], 875, 0); + _static(B, "design_main_unpaired_insertion_deletions___$DesignMainUnpairedInsertionDeletions$closure", 0, function() { + return [null]; + }, ["call$1", "call$0"], ["_$DesignMainUnpairedInsertionDeletions", function() { + return B._$DesignMainUnpairedInsertionDeletions(null); + }], 876, 0); + _static(R, "design_main_warning_star___$DesignMainWarningStar$closure", 0, function() { + return [null]; + }, ["call$1", "call$0"], ["_$DesignMainWarningStar", function() { + return R._$DesignMainWarningStar(null); + }], 877, 0); + _static(U, "design_side___$DesignSide$closure", 0, function() { + return [null]; + }, ["call$1", "call$0"], ["_$DesignSide", function() { + return U._$DesignSide(null); + }], 878, 0); + _static(S, "design_side_arrows___$DesignSideArrows$closure", 0, function() { + return [null]; + }, ["call$1", "call$0"], ["_$DesignSideArrows", function() { + return S._$DesignSideArrows(null); + }], 879, 0); + _static(B, "design_side_helix___$DesignSideHelix$closure", 0, function() { + return [null]; + }, ["call$1", "call$0"], ["_$DesignSideHelix", function() { + return B._$DesignSideHelix(null); + }], 880, 0); + _instance_1_u(B.DesignSideHelixComponent.prototype, "get$on_context_menu", "on_context_menu$1", 25); + _static(Y, "design_side_potential_helix___$DesignSidePotentialHelix$closure", 0, function() { + return [null]; + }, ["call$1", "call$0"], ["_$DesignSidePotentialHelix", function() { + return Y._$DesignSidePotentialHelix(null); + }], 881, 0); + _instance_1_u(Y.DesignSidePotentialHelixComponent.prototype, "get$_design_side_potential_helix$_handle_click", "_design_side_potential_helix$_handle_click$1", 3); + _static(O, "design_side_rotation___$DesignSideRotation$closure", 0, function() { + return [null]; + }, ["call$1", "call$0"], ["_$DesignSideRotation", function() { + return O._$DesignSideRotation(null); + }], 882, 0); + _static(E, "design_side_rotation_arrow___$DesignSideRotationArrow$closure", 0, function() { + return [null]; + }, ["call$1", "call$0"], ["_$DesignSideRotationArrow", function() { + return E._$DesignSideRotationArrow(null); + }], 883, 0); + _static(Z, "edit_and_select_modes___$EditAndSelectModes$closure", 0, function() { + return [null]; + }, ["call$1", "call$0"], ["_$EditAndSelectModes", function() { + return Z._$EditAndSelectModes(null); + }], 884, 0); + _static(M, "edit_mode___$EditMode$closure", 0, function() { + return [null]; + }, ["call$1", "call$0"], ["_$EditMode", function() { + return M._$EditMode(null); + }], 885, 0); + _static(O, "helix_group_moving___$HelixGroupMoving$closure", 0, function() { + return [null]; + }, ["call$1", "call$0"], ["_$HelixGroupMoving", function() { + return O._$HelixGroupMoving(null); + }], 886, 0); + _static_2(D, "menu__scadnano_file_loaded$closure", "scadnano_file_loaded", 121); + _static_2(D, "menu__cadnano_file_loaded$closure", "cadnano_file_loaded", 121); + _static(D, "menu___$Menu$closure", 0, function() { + return [null]; + }, ["call$1", "call$0"], ["_$Menu", function() { + return D._$Menu(null); + }], 888, 0); + _instance_0_u(D.MenuComponent.prototype, "get$load_example_dialog", "load_example_dialog$0", 6); + _static(Z, "menu_boolean___$MenuBoolean$closure", 0, function() { + return [null]; + }, ["call$1", "call$0"], ["_$MenuBoolean", function() { + return Z._$MenuBoolean(null); + }], 889, 0); + _static(N, "menu_dropdown_item___$MenuDropdownItem$closure", 0, function() { + return [null]; + }, ["call$1", "call$0"], ["_$MenuDropdownItem", function() { + return N._$MenuDropdownItem(null); + }], 890, 0); + _static(M, "menu_dropdown_right___$MenuDropdownRight$closure", 0, function() { + return [null]; + }, ["call$1", "call$0"], ["_$MenuDropdownRight", function() { + return M._$MenuDropdownRight(null); + }], 891, 0); + _static(O, "menu_form_file___$MenuFormFile$closure", 0, function() { + return [null]; + }, ["call$1", "call$0"], ["_$MenuFormFile", function() { + return O._$MenuFormFile(null); + }], 892, 0); + _static(M, "menu_number___$MenuNumber$closure", 0, function() { + return [null]; + }, ["call$1", "call$0"], ["_$MenuNumber", function() { + return M._$MenuNumber(null); + }], 893, 0); + _static(Q, "menu_side___$SideMenu$closure", 0, function() { + return [null]; + }, ["call$1", "call$0"], ["_$SideMenu", function() { + return Q._$SideMenu(null); + }], 894, 0); + _instance_0_u(_ = Q.SideMenuComponent.prototype, "get$ask_new_parameters_for_current_group", "ask_new_parameters_for_current_group$0", 6); + _instance_0_u(_, "get$ask_new_helix_indices_for_current_group", "ask_new_helix_indices_for_current_group$0", 6); + _static(M, "potential_crossover_view___$PotentialCrossoverView$closure", 0, function() { + return [null]; + }, ["call$1", "call$0"], ["_$PotentialCrossoverView", function() { + return M._$PotentialCrossoverView(null); + }], 895, 0); + _static(R, "potential_extensions_view___$PotentialExtensionsView$closure", 0, function() { + return [null]; + }, ["call$1", "call$0"], ["_$PotentialExtensionsView", function() { + return R._$PotentialExtensionsView(null); + }], 896, 0); + _static(D, "select_mode___$SelectMode$closure", 0, function() { + return [null]; + }, ["call$1", "call$0"], ["_$SelectMode", function() { + return D._$SelectMode(null); + }], 897, 0); + _static(Y, "selection_box_view___$SelectionBoxView$closure", 0, function() { + return [null]; + }, ["call$1", "call$0"], ["_$SelectionBoxView", function() { + return Y._$SelectionBoxView(null); + }], 898, 0); + _static(A, "selection_rope_view___$SelectionRopeView$closure", 0, function() { + return [null]; + }, ["call$1", "call$0"], ["_$SelectionRopeView", function() { + return A._$SelectionRopeView(null); + }], 899, 0); + _static(A, "strand_color_picker___$StrandOrSubstrandColorPicker$closure", 0, function() { + return [null]; + }, ["call$1", "call$0"], ["_$StrandOrSubstrandColorPicker", function() { + return A._$StrandOrSubstrandColorPicker(null); + }], 900, 0); + _instance_2_u(_ = A.StrandOrSubstrandColorPickerComponent.prototype, "get$handleOnChangeComplete", "handleOnChangeComplete$2", 538); + _instance_1_u(_, "get$handleOnCancel", "handleOnCancel$1", 36); + _instance_1_u(_, "get$handleOnOK", "handleOnOK$1", 36); + _instance(Y.SourceSpanMixin.prototype, "get$message", 1, 1, null, ["call$2$color", "call$1"], ["message$2$color", "message$1"], 551, 0); + _static_1(U, "spreadsheet_decoder___letterOnly$closure", "_letterOnly", 173); + _static_1(T, "default_mapping___textReplace$closure", "_textReplace", 100); + _static_1(T, "default_mapping___singeQuoteAttributeReplace$closure", "_singeQuoteAttributeReplace", 100); + _static_1(T, "default_mapping___doubleQuoteAttributeReplace$closure", "_doubleQuoteAttributeReplace", 100); + _instance_0_u(_ = V.XmlGrammarDefinition.prototype, "get$attribute", "attribute$0", 11); + _instance_0_u(_, "get$attributeValueDouble", "attributeValueDouble$0", 11); + _instance_0_u(_, "get$attributeValueSingle", "attributeValueSingle$0", 11); + _instance_0_u(_, "get$comment", "comment$0", 11); + _instance_0_u(_, "get$declaration", "declaration$0", 11); + _instance_0_u(_, "get$cdata", "cdata$0", 11); + _instance_0_u(_, "get$doctype", "doctype$0", 11); + _instance_0_i(_, "get$document", "document$0", 11); + _instance_0_u(_, "get$element", "element$0", 11); + _instance_0_u(_, "get$processing", "processing$0", 11); + _instance_0_u(_, "get$qualified", "qualified$0", 11); + _instance_0_u(_, "get$characterData", "characterData$0", 11); + _instance_0_u(_, "get$spaceText", "spaceText$0", 11); + _instance_1_u(_ = G.XmlParserDefinition.prototype, "get$createQualified", "createQualified$1", 564); + _instance_1_u(_, "get$createText", "createText$1", 565); + _instance_0_u(_ = M.XmlProductionDefinition.prototype, "get$attributeValue", "attributeValue$0", 11); + _instance_0_i(_, "get$attributes", "attributes$0", 11); + _instance_0_i(_, "get$content", "content$0", 11); + _instance_0_u(_, "get$misc", "misc$0", 11); + _instance_0_u(_, "get$space", "space$0", 11); + _instance_0_u(_, "get$spaceOptional", "spaceOptional$0", 11); + _instance_0_u(_, "get$nameToken", "nameToken$0", 11); + _instance_0_u(_, "get$nameStartChar", "nameStartChar$0", 11); + _instance_0_u(_, "get$nameChar", "nameChar$0", 11); + _static_2(U, "equality__propsOrStateMapsEqual$closure", "propsOrStateMapsEqual", 902); + _static_1(X, "code___toFormattedChar$closure", "_toFormattedChar", 80); + _static(M, "failure_joiner__selectLast$closure", 2, null, ["call$1$2", "call$2"], ["selectLast", function(first, second) { + return M.selectLast(first, second, type$.dynamic); + }], 903, 1); + _static(A, "component_registration__registerComponent2$closure", 1, function() { + return {bridgeFactory: null, skipMethods: C.List_Zyt}; + }, ["call$3$bridgeFactory$skipMethods", "call$1"], ["registerComponent20", function(componentFactory) { + return A.registerComponent20(componentFactory, null, C.List_Zyt); + }], 904, 0); + _static(O, "adjust_grid_position__adjust_grid_position_middleware$closure", 3, null, ["call$3"], ["adjust_grid_position_middleware"], 4, 0); + _static(X, "assign_dna__assign_dna_middleware$closure", 3, null, ["call$3"], ["assign_dna_middleware"], 4, 0); + _static(U, "autostaple_and_autobreak__autostaple_and_autobreak_middleware$closure", 3, null, ["call$3"], ["autostaple_and_autobreak_middleware"], 4, 0); + _static(T, "dna_extensions_move_start__dna_extensions_move_start_middleware$closure", 3, null, ["call$3"], ["dna_extensions_move_start_middleware"], 4, 0); + _static(D, "edit_select_mode_change__edit_select_mode_change_middleware$closure", 3, null, ["call$3"], ["edit_select_mode_change_middleware"], 4, 0); + _static(O, "example_design_selected__example_design_selected_middleware$closure", 3, null, ["call$3"], ["example_design_selected_middleware"], 4, 0); + _static(F, "group_remove__group_remove_middleware$closure", 3, null, ["call$3"], ["group_remove_middleware"], 4, 0); + _static(X, "helix_grid_change__helix_grid_offsets_middleware$closure", 3, null, ["call$3"], ["helix_grid_offsets_middleware"], 4, 0); + _static(M, "helix_group_move_start__helix_group_move_start_middleware$closure", 3, null, ["call$3"], ["helix_group_move_start_middleware"], 4, 0); + _static(G, "helix_hide_all__helix_hide_all_middleware$closure", 3, null, ["call$3"], ["helix_hide_all_middleware"], 4, 0); + _static(R, "helix_offsets_change__helix_change_offsets_middleware$closure", 3, null, ["call$3"], ["helix_change_offsets_middleware"], 4, 0); + _static(L, "helix_remove__helix_remove_middleware$closure", 3, null, ["call$3"], ["helix_remove_middleware"], 4, 0); + _static(S, "insertion_deletion_batching__insertion_deletion_batching_middleware$closure", 3, null, ["call$3"], ["insertion_deletion_batching_middleware"], 4, 0); + _static(V, "invalidate_png__invalidate_png_middleware$closure", 3, null, ["call$3"], ["invalidate_png_middleware"], 4, 0); + _static(B, "move_ensure_same_group__move_ensure_all_in_same_helix_group_middleware$closure", 3, null, ["call$3"], ["move_ensure_all_in_same_helix_group_middleware"], 4, 0); + _static(N, "oxview_update_view__oxview_update_view_middleware$closure", 3, null, ["call$3"], ["oxview_update_view_middleware"], 4, 0); + _static(A, "reselect_moved_copied_strands__reselect_moved_copied_strands_middleware$closure", 3, null, ["call$3"], ["reselect_moved_copied_strands_middleware"], 4, 0); + _static(D, "reselect_moved_dna_ends__reselect_moved_dna_ends_middleware$closure", 3, null, ["call$3"], ["reselect_moved_dna_ends_middleware"], 4, 0); + _static(A, "reselect_moved_dna_extension_ends__reselect_moved_dna_extension_ends_middleware$closure", 3, null, ["call$3"], ["reselect_moved_dna_extension_ends_middleware"], 4, 0); + _static(T, "reselect_moved_domains__reselect_moved_domains_middleware$closure", 3, null, ["call$3"], ["reselect_moved_domains_middleware"], 4, 0); + _static(A, "reset_local_storage__reset_local_storage_middleware$closure", 3, null, ["call$3"], ["reset_local_storage_middleware"], 4, 0); + _static(U, "strand_create__strand_create_middleware$closure", 3, null, ["call$3"], ["strand_create_middleware"], 4, 0); + _static(G, "system_clipboard__system_clipboard_middleware$closure", 3, null, ["call$3"], ["system_clipboard_middleware"], 4, 0); + _static(Z, "throttle__throttle_middleware$closure", 3, null, ["call$3"], ["throttle_middleware"], 905, 0); + _static(X, "zoom_speed__zoom_speed_middleware$closure", 3, null, ["call$3"], ["zoom_speed_middleware"], 4, 0); + _static_2(R, "assign_or_remove_dna_reducer__remove_dna_reducer$closure", "remove_dna_reducer", 906); + _static(R, "assign_or_remove_dna_reducer__assign_dna_reducer_complement_from_bound_strands$closure", 3, null, ["call$3"], ["assign_dna_reducer_complement_from_bound_strands"], 907, 0); + _static(R, "assign_or_remove_dna_reducer__assign_dna_reducer$closure", 3, null, ["call$3"], ["assign_dna_reducer"], 908, 0); + _static_2(R, "assign_or_remove_dna_reducer__compare_overlap$closure", "compare_overlap", 909); + _static_2(N, "context_menu_reducer__context_menu_show_reducer$closure", "context_menu_show_reducer", 910); + _static_2(N, "context_menu_reducer__context_menu_hide_reducer$closure", "context_menu_hide_reducer", 911); + _static_2(A, "dialog_reducer__dialog_show_reducer$closure", "dialog_show_reducer", 912); + _static_2(A, "dialog_reducer__dialog_hide_reducer$closure", "dialog_hide_reducer", 913); + _static_2(Q, "select_mode_state_reducer__toggle_select_mode_reducer$closure", "toggle_select_mode_reducer", 914); + _static_2(Q, "select_mode_state_reducer__set_select_modes_reducer$closure", "set_select_modes_reducer", 915); + _static_2(Q, "select_mode_state_reducer__add_select_modes_reducer$closure", "add_select_modes_reducer", 610); + })(); + (function inheritance() { + var _mixin = hunkHelpers.mixin, + _inherit = hunkHelpers.inherit, + _inheritMany = hunkHelpers.inheritMany; + _inherit(P.Object, null); + _inheritMany(P.Object, [H.JS_CONST, J.Interceptor, J.ArrayIterator, P.Stream, H.CastStreamSubscription, P.Iterable, H.CastIterator, H.Closure, P.MapMixin, P.Error, P._ListBase_Object_ListMixin, H.ListIterator, P.Iterator, H.ExpandIterator, H.EmptyIterator, H.WhereTypeIterator, H.FixedLengthListMixin, H.UnmodifiableListMixin, H.Symbol, P.MapView, H.ConstantMap, H.JSInvocationMirror, H.TypeErrorDecoder, H.NullThrownFromJavaScriptException, H.ExceptionAndStackTrace, H._StackTrace, H._Required, H.LinkedHashMapCell, H.LinkedHashMapKeyIterator, H.JSSyntaxRegExp, H._MatchImplementation, H._AllMatchesIterator, H.StringMatch, H._StringAllMatchesIterator, H.Rti, H._FunctionParameters, H._Type, P._TimerImpl, P._AsyncAwaitCompleter, P._IterationMarker, P._SyncStarIterator, P.AsyncError, P._BufferingStreamSubscription, P._BroadcastStreamController, P._Completer, P._FutureListener, P._Future, P._AsyncCallbackEntry, P.StreamSubscription, P.StreamTransformerBase, P._StreamController, P._SyncStreamControllerDispatch, P._PendingEvents, P._DelayedEvent, P._DelayedDone, P._DoneStreamSubscription, P._StreamIterator, P._Zone, P._HashMapKeyIterator, P.__SetBase_Object_SetMixin, P._HashSetIterator, P._LinkedHashSetCell, P._LinkedHashSetIterator, P.ListMixin, P._MapBaseValueIterator, P._UnmodifiableMapMixin, P._ListQueueIterator, P.SetMixin, P._SetBase_Object_SetMixin, P._UnmodifiableSetMixin, P.Codec, P._Base64Encoder, P._Base64Decoder, P.ChunkedConversionSink, P.HtmlEscapeMode, P._JsonStringifier, P._JsonPrettyPrintMixin, P._Utf8Encoder, P._Utf8Decoder, P._BigIntImpl, P.DateTime, P.Duration, P.OutOfMemoryError, P.StackOverflowError, P._Exception, P.FormatException, P.IntegerDivisionByZeroException, P.Expando, P.MapEntry, P.Null, P._StringStackTrace, P.RuneIterator, P.StringBuffer, P._Uri, P.UriData, P._SimpleUri, W.CssStyleDeclarationBase, W.Events, W._WrappedEvent, W._BeforeUnloadEventStreamProvider, W.EventStreamProvider, W._Html5NodeValidator, W.ImmutableListMixin, W.NodeValidatorBuilder, W._SimpleNodeValidator, W.FixedSizeListIterator, W._DOMWindowCrossFrame, W._TrustedHtmlTreeSanitizer, W._SameOriginUriPolicy, W._ValidatingTreeSanitizer, P._StructuredClone, P._AcceptStructuredClone, P.JsObject, P.NullRejectionException, P.Point, P._RectangleBase, P.Endian, P.UnmodifiableByteBufferView, P.UnmodifiableByteDataView, P._UnmodifiableListMixin, B.ArchiveFile, A.Bz2BitReader, L.BZip2Decoder, X.FileContent, O.AesDecrypt, T.InputStreamBase, Q.OutputStreamBase, E.ZipDirectory, Q.AesHeader, X.ZipFileHeader, Q.ZipDecoder, K._ZipFileData, K._ZipEncoderData, K.ZipEncoder, T.Deflate, T._DeflaterConfig, T._HuffmanTree, T._StaticTree, Y.HuffmanTable, S.Inflate, Q.CopyOnWriteList, S.CopyOnWriteMap, A.CopyOnWriteSet, D.BuiltList, D.ListBuilder, R.BuiltListMultimap, R.ListMultimapBuilder, A.BuiltMap, A.MapBuilder, X.BuiltSet, X.SetBuilder, M.BuiltSetMultimap, M.SetMultimapBuilder, Y.EnumClass, Y.IndentingBuiltValueToStringHelper, A.JsonObject, U.FullType, O.BigIntSerializer, R.BoolSerializer, Y.BuiltJsonSerializers, Y.BuiltJsonSerializersBuilder, R.BuiltListMultimapSerializer, K.BuiltListSerializer, K.BuiltMapSerializer, R.BuiltSetMultimapSerializer, O.BuiltSetSerializer, Z.DateTimeSerializer, D.DoubleSerializer, K.DurationSerializer, T.Int32Serializer, Q.Int64Serializer, B.IntSerializer, O.JsonObjectSerializer, S.NullSerializer, K.NumSerializer, K.RegExpSerializer, M.StringSerializer, U.Uint8ListSerializer, O.UriSerializer, T.StandardJsonPlugin, M.CanonicalizedMap, U.DefaultEquality, U.IterableEquality, U.ListEquality, U._UnorderedEquality, U._MapEntry, U.MapEquality, U.DeepCollectionEquality, M._DelegatingIterableBase, S.Color, Z.Draggable, Z.DraggableEvent, Z._DragInfo, Z._EventManager, V.Int32, V.Int64, E.BaseClient, G.BaseRequest, T.BaseResponse, E.ClientException, R.MediaType, Y.Level, L.LogRecord, F.Logger, Z.ErrorBoundaryProps, Z.ErrorBoundaryState, V.Component2, S._UiState_Object_MapViewMixin, Z.$ErrorBoundaryProps, Z.$ErrorBoundaryState, O.ErrorBoundaryApi, Q.ReactPropsMixin, Q.DomPropsMixin, Q.SvgPropsMixin, Q.UbiquitousDomPropsMixin, B.GeneratedClass, S.PropsMapViewMixin, S.StateMapViewMixin, S.MapViewMixin, S.PropDescriptor, S.PropsMeta, S._AccessorMetaCollection, Z.UiStatefulMixin2, A.Component2Bridge, B.ComponentTypeMeta, Z.DisposableManagerProxy, M.NotSpecified, X.$ConnectPropsMixin, V.ReactComponentFactoryProxy, X.ConnectPropsMixin, S.CssClassPropsMixin, M.Context2, G.DartValueWrapper0, M.Context0, O.Style, X.ParsedPath, X.PathException, M.Context1, E.ParserException, G.Parser, L.Token, V.GrammarDefinition, Z.CharacterPredicate, U.LookupCharPredicate, G.RangeCharPredicate, Z.WhitespaceCharPredicate, L.Browser, G._HtmlNavigator, N.OperatingSystem, U.CipherParameters, G.BaseBlockCipher, T.BaseDigest, N.BaseKeyDerivator, O.BaseMac, G.Register64, V.NotSpecified0, A.JsBackedMapComponentFactoryMixin, K.Ref, K.ComponentStatics2, M.Context, Z._NsmEmulatedFunctionWithNameProperty, F.DartValueWrapper, X.Store, B.TypedReducer, U.DesignChangingAction, U.UndoableAction, U._SkipUndo_Object_BuiltJsonSerializable, U._Undo_Object_BuiltJsonSerializable, U._Redo_Object_BuiltJsonSerializable, U._UndoRedoClear_Object_BuiltJsonSerializable, U._BatchAction_Object_BuiltJsonSerializable, U._ThrottledActionFast_Object_BuiltJsonSerializable, U._ThrottledActionNonFast_Object_BuiltJsonSerializable, U._LocalStorageDesignChoiceSet_Object_BuiltJsonSerializable, U._ResetLocalStorage_Object_BuiltJsonSerializable, U._ClearHelixSelectionWhenLoadingNewDesignSet_Object_BuiltJsonSerializable, U._EditModeToggle_Object_BuiltJsonSerializable, U._EditModesSet_Object_BuiltJsonSerializable, U._SelectModeToggle_Object_BuiltJsonSerializable, U._SelectModesAdd_Object_BuiltJsonSerializable, U._SelectModesSet_Object_BuiltJsonSerializable, U._StrandNameSet_Object_BuiltJsonSerializable, U._StrandLabelSet_Object_BuiltJsonSerializable, U._SubstrandNameSet_Object_BuiltJsonSerializable, U._SubstrandLabelSet_Object_BuiltJsonSerializable, U._SetAppUIStateStorable_Object_BuiltJsonSerializable, U._ShowDNASet_Object_BuiltJsonSerializable, U._ShowDomainNamesSet_Object_BuiltJsonSerializable, U._ShowStrandNamesSet_Object_BuiltJsonSerializable, U._ShowStrandLabelsSet_Object_BuiltJsonSerializable, U._ShowDomainLabelsSet_Object_BuiltJsonSerializable, U._ShowModificationsSet_Object_BuiltJsonSerializable, U._DomainNameFontSizeSet_Object_BuiltJsonSerializable, U._DomainLabelFontSizeSet_Object_BuiltJsonSerializable, U._StrandNameFontSizeSet_Object_BuiltJsonSerializable, U._StrandLabelFontSizeSet_Object_BuiltJsonSerializable, U._ModificationFontSizeSet_Object_BuiltJsonSerializable, U._MajorTickOffsetFontSizeSet_Object_BuiltJsonSerializable, U._MajorTickWidthFontSizeSet_Object_BuiltJsonSerializable, U._SetModificationDisplayConnector_Object_BuiltJsonSerializable, U._ShowMismatchesSet_Object_BuiltJsonSerializable, U._ShowDomainNameMismatchesSet_Object_BuiltJsonSerializable, U._ShowUnpairedInsertionDeletionsSet_Object_BuiltJsonSerializable, U._OxviewShowSet_Object_BuiltJsonSerializable, U._SetDisplayBaseOffsetsOfMajorTicksOnlyFirstHelix_Object_BuiltJsonSerializable, U._DisplayMajorTicksOffsetsSet_Object_BuiltJsonSerializable, U._SetDisplayMajorTickWidthsAllHelices_Object_BuiltJsonSerializable, U._SetDisplayMajorTickWidths_Object_BuiltJsonSerializable, U._SetOnlyDisplaySelectedHelices_Object_BuiltJsonSerializable, U._InvertYSet_Object_BuiltJsonSerializable, U._DynamicHelixUpdateSet_Object_BuiltJsonSerializable, U._WarnOnExitIfUnsavedSet_Object_BuiltJsonSerializable, U._LoadingDialogShow_Object_BuiltJsonSerializable, U._LoadingDialogHide_Object_BuiltJsonSerializable, U._CopySelectedStandsToClipboardImage_Object_BuiltJsonSerializable, U._SaveDNAFile_Object_BuiltJsonSerializable, U._LoadDNAFile_Object_BuiltJsonSerializable, U._PrepareToLoadDNAFile_Object_BuiltJsonSerializable, U._NewDesignSet_Object_BuiltJsonSerializable, U._ExportCadnanoFile_Object_BuiltJsonSerializable, U._ExportCodenanoFile_Object_BuiltJsonSerializable, U._ShowMouseoverDataSet_Object_BuiltJsonSerializable, U._MouseoverDataClear_Object_BuiltJsonSerializable, U._MouseoverDataUpdate_Object_BuiltJsonSerializable, U._HelixRollSet_Object_BuiltJsonSerializable, U._HelixRollSetAtOther_Object_BuiltJsonSerializable, U._RelaxHelixRolls_Object_BuiltJsonSerializable, U._ErrorMessageSet_Object_BuiltJsonSerializable, U._SelectionBoxCreate_Object_BuiltJsonSerializable, U._SelectionBoxSizeChange_Object_BuiltJsonSerializable, U._SelectionBoxRemove_Object_BuiltJsonSerializable, U._SelectionRopeCreate_Object_BuiltJsonSerializable, U._SelectionRopeMouseMove_Object_BuiltJsonSerializable, U._SelectionRopeAddPoint_Object_BuiltJsonSerializable, U._SelectionRopeRemove_Object_BuiltJsonSerializable, U._MouseGridPositionSideUpdate_Object_BuiltJsonSerializable, U._MouseGridPositionSideClear_Object_BuiltJsonSerializable, U._MousePositionSideUpdate_Object_BuiltJsonSerializable, U._MousePositionSideClear_Object_BuiltJsonSerializable, U._GeometrySet_Object_BuiltJsonSerializable, U._SelectionBoxIntersectionRuleSet_Object_BuiltJsonSerializable, U._Select_Object_BuiltJsonSerializable, U._SelectionsClear_Object_BuiltJsonSerializable, U._SelectionsAdjustMainView_Object_BuiltJsonSerializable, U._SelectOrToggleItems_Object_BuiltJsonSerializable, U._SelectAll_Object_BuiltJsonSerializable, U._SelectAllSelectable_Object_BuiltJsonSerializable, U._SelectAllWithSameAsSelected_Object_BuiltJsonSerializable, U._DeleteAllSelected_Object_BuiltJsonSerializable, U._HelixAdd_Object_BuiltJsonSerializable, U._HelixRemove_Object_BuiltJsonSerializable, U._HelixRemoveAllSelected_Object_BuiltJsonSerializable, U._HelixSelect_Object_BuiltJsonSerializable, U._HelixSelectionsClear_Object_BuiltJsonSerializable, U._HelixSelectionsAdjust_Object_BuiltJsonSerializable, U._HelixMajorTickDistanceChange_Object_BuiltJsonSerializable, U._HelixMajorTickDistanceChangeAll_Object_BuiltJsonSerializable, U._HelixMajorTickStartChange_Object_BuiltJsonSerializable, U._HelixMajorTickStartChangeAll_Object_BuiltJsonSerializable, U._HelixMajorTicksChange_Object_BuiltJsonSerializable, U._HelixMajorTicksChangeAll_Object_BuiltJsonSerializable, U._HelixMajorTickPeriodicDistancesChange_Object_BuiltJsonSerializable, U._HelixMajorTickPeriodicDistancesChangeAll_Object_BuiltJsonSerializable, U._HelixIdxsChange_Object_BuiltJsonSerializable, U._HelixOffsetChange_Object_BuiltJsonSerializable, U._HelixMinOffsetSetByDomains_Object_BuiltJsonSerializable, U._HelixMaxOffsetSetByDomains_Object_BuiltJsonSerializable, U._HelixMinOffsetSetByDomainsAll_Object_BuiltJsonSerializable, U._HelixMaxOffsetSetByDomainsAll_Object_BuiltJsonSerializable, U._HelixMaxOffsetSetByDomainsAllSameMax_Object_BuiltJsonSerializable, U._HelixOffsetChangeAll_Object_BuiltJsonSerializable, U._ShowMouseoverRectSet_Object_BuiltJsonSerializable, U._ShowMouseoverRectToggle_Object_BuiltJsonSerializable, U._ExportDNA_Object_BuiltJsonSerializable, U._ExportCanDoDNA_Object_BuiltJsonSerializable, U.ExportSvgType, U._ExportSvg_Object_BuiltJsonSerializable, U._ExportSvgTextSeparatelySet_Object_BuiltJsonSerializable, U._ExtensionDisplayLengthAngleSet_Object_BuiltJsonSerializable, U._ExtensionAdd_Object_BuiltJsonSerializable, U._ExtensionNumBasesChange_Object_BuiltJsonSerializable, U._ExtensionsNumBasesChange_Object_BuiltJsonSerializable, U._LoopoutLengthChange_Object_BuiltJsonSerializable, U._LoopoutsLengthChange_Object_BuiltJsonSerializable, U._ConvertCrossoverToLoopout_Object_BuiltJsonSerializable, U._ConvertCrossoversToLoopouts_Object_BuiltJsonSerializable, U._Nick_Object_BuiltJsonSerializable, U._Ligate_Object_BuiltJsonSerializable, U._JoinStrandsByCrossover_Object_BuiltJsonSerializable, U._MoveLinker_Object_BuiltJsonSerializable, U._JoinStrandsByMultipleCrossovers_Object_BuiltJsonSerializable, U._StrandsReflect_Object_BuiltJsonSerializable, U._ReplaceStrands_Object_BuiltJsonSerializable, U._StrandCreateStart_Object_BuiltJsonSerializable, U._StrandCreateAdjustOffset_Object_BuiltJsonSerializable, U._StrandCreateStop_Object_BuiltJsonSerializable, U._StrandCreateCommit_Object_BuiltJsonSerializable, U._PotentialCrossoverCreate_Object_BuiltJsonSerializable, U._PotentialCrossoverMove_Object_BuiltJsonSerializable, U._PotentialCrossoverRemove_Object_BuiltJsonSerializable, U._ManualPasteInitiate_Object_BuiltJsonSerializable, U._AutoPasteInitiate_Object_BuiltJsonSerializable, U._CopySelectedStrands_Object_BuiltJsonSerializable, U._StrandsMoveStart_Object_BuiltJsonSerializable, U._StrandsMoveStartSelectedStrands_Object_BuiltJsonSerializable, U._StrandsMoveStop_Object_BuiltJsonSerializable, U._StrandsMoveAdjustAddress_Object_BuiltJsonSerializable, U._StrandsMoveCommit_Object_BuiltJsonSerializable, U._DomainsMoveStartSelectedDomains_Object_BuiltJsonSerializable, U._DomainsMoveStop_Object_BuiltJsonSerializable, U._DomainsMoveAdjustAddress_Object_BuiltJsonSerializable, U._DomainsMoveCommit_Object_BuiltJsonSerializable, U._DNAEndsMoveStart_Object_BuiltJsonSerializable, U._DNAEndsMoveSetSelectedEnds_Object_BuiltJsonSerializable, U._DNAEndsMoveAdjustOffset_Object_BuiltJsonSerializable, U._DNAEndsMoveStop_Object_BuiltJsonSerializable, U._DNAEndsMoveCommit_Object_BuiltJsonSerializable, U._DNAExtensionsMoveStart_Object_BuiltJsonSerializable, U._DNAExtensionsMoveSetSelectedExtensionEnds_Object_BuiltJsonSerializable, U._DNAExtensionsMoveAdjustPosition_Object_BuiltJsonSerializable, U._DNAExtensionsMoveStop_Object_BuiltJsonSerializable, U._DNAExtensionsMoveCommit_Object_BuiltJsonSerializable, U._HelixGroupMoveStart_Object_BuiltJsonSerializable, U._HelixGroupMoveCreate_Object_BuiltJsonSerializable, U._HelixGroupMoveAdjustTranslation_Object_BuiltJsonSerializable, U._HelixGroupMoveStop_Object_BuiltJsonSerializable, U._HelixGroupMoveCommit_Object_BuiltJsonSerializable, U._AssignDNA_Object_BuiltJsonSerializable, U._AssignDNAComplementFromBoundStrands_Object_BuiltJsonSerializable, U._AssignDomainNameComplementFromBoundStrands_Object_BuiltJsonSerializable, U._AssignDomainNameComplementFromBoundDomains_Object_BuiltJsonSerializable, U._RemoveDNA_Object_BuiltJsonSerializable, U._InsertionAdd_Object_BuiltJsonSerializable, U._InsertionLengthChange_Object_BuiltJsonSerializable, U._InsertionsLengthChange_Object_BuiltJsonSerializable, U._DeletionAdd_Object_BuiltJsonSerializable, U._InsertionRemove_Object_BuiltJsonSerializable, U._DeletionRemove_Object_BuiltJsonSerializable, U._ScalePurificationVendorFieldsAssign_Object_BuiltJsonSerializable, U._PlateWellVendorFieldsAssign_Object_BuiltJsonSerializable, U._PlateWellVendorFieldsRemove_Object_BuiltJsonSerializable, U._VendorFieldsRemove_Object_BuiltJsonSerializable, U._ModificationAdd_Object_BuiltJsonSerializable, U._ModificationRemove_Object_BuiltJsonSerializable, U._ModificationConnectorLengthSet_Object_BuiltJsonSerializable, U._ModificationEdit_Object_BuiltJsonSerializable, U._Modifications5PrimeEdit_Object_BuiltJsonSerializable, U._Modifications3PrimeEdit_Object_BuiltJsonSerializable, U._ModificationsInternalEdit_Object_BuiltJsonSerializable, U._GridChange_Object_BuiltJsonSerializable, U._GroupDisplayedChange_Object_BuiltJsonSerializable, U._GroupAdd_Object_BuiltJsonSerializable, U._GroupRemove_Object_BuiltJsonSerializable, U._GroupChange_Object_BuiltJsonSerializable, U._MoveHelicesToGroup_Object_BuiltJsonSerializable, U._DialogShow_Object_BuiltJsonSerializable, U._DialogHide_Object_BuiltJsonSerializable, U._ContextMenuShow_Object_BuiltJsonSerializable, U._ContextMenuHide_Object_BuiltJsonSerializable, U._StrandOrSubstrandColorPickerShow_Object_BuiltJsonSerializable, U._StrandOrSubstrandColorPickerHide_Object_BuiltJsonSerializable, U._ScaffoldSet_Object_BuiltJsonSerializable, U._StrandOrSubstrandColorSet_Object_BuiltJsonSerializable, U._StrandPasteKeepColorSet_Object_BuiltJsonSerializable, U._ExampleDesignsLoad_Object_BuiltJsonSerializable, U._BasePairTypeSet_Object_BuiltJsonSerializable, U._HelixPositionSet_Object_BuiltJsonSerializable, U._HelixGridPositionSet_Object_BuiltJsonSerializable, U._HelicesPositionsSetBasedOnCrossovers_Object_BuiltJsonSerializable, U._InlineInsertionsDeletions_Object_BuiltJsonSerializable, U._DefaultCrossoverTypeForSettingHelixRollsSet_Object_BuiltJsonSerializable, U._AutofitSet_Object_BuiltJsonSerializable, U._ShowHelixCirclesMainViewSet_Object_BuiltJsonSerializable, U._ShowHelixComponentsMainViewSet_Object_BuiltJsonSerializable, U._ShowEditMenuToggle_Object_BuiltJsonSerializable, U._ShowGridCoordinatesSideViewSet_Object_BuiltJsonSerializable, U._ShowAxisArrowsSet_Object_BuiltJsonSerializable, U._ShowLoopoutExtensionLengthSet_Object_BuiltJsonSerializable, U._LoadDnaSequenceImageUri_Object_BuiltJsonSerializable, U._SetIsZoomAboveThreshold_Object_BuiltJsonSerializable, U._SetExportSvgActionDelayedForPngCache_Object_BuiltJsonSerializable, U._ShowBasePairLinesSet_Object_BuiltJsonSerializable, U._ShowBasePairLinesWithMismatchesSet_Object_BuiltJsonSerializable, U._ShowSliceBarSet_Object_BuiltJsonSerializable, U._SliceBarOffsetSet_Object_BuiltJsonSerializable, U._DisablePngCachingDnaSequencesSet_Object_BuiltJsonSerializable, U._RetainStrandColorOnSelectionSet_Object_BuiltJsonSerializable, U._DisplayReverseDNARightSideUpSet_Object_BuiltJsonSerializable, U._SliceBarMoveStart_Object_BuiltJsonSerializable, U._SliceBarMoveStop_Object_BuiltJsonSerializable, U._Autostaple_Object_BuiltJsonSerializable, U._Autobreak_Object_BuiltJsonSerializable, U._ZoomSpeedSet_Object_BuiltJsonSerializable, U._OxdnaExport_Object_BuiltJsonSerializable, U._OxviewExport_Object_BuiltJsonSerializable, U._OxExportOnlySelectedStrandsSet_Object_BuiltJsonSerializable, U._$UndoSerializer, U._$RedoSerializer, U._$UndoRedoClearSerializer, U._$BatchActionSerializer, U._$ThrottledActionFastSerializer, U._$ThrottledActionNonFastSerializer, U._$LocalStorageDesignChoiceSetSerializer, U._$ResetLocalStorageSerializer, U._$ClearHelixSelectionWhenLoadingNewDesignSetSerializer, U._$EditModeToggleSerializer, U._$EditModesSetSerializer, U._$SelectModeToggleSerializer, U._$SelectModesAddSerializer, U._$SelectModesSetSerializer, U._$StrandNameSetSerializer, U._$StrandLabelSetSerializer, U._$SubstrandNameSetSerializer, U._$SubstrandLabelSetSerializer, U._$SetAppUIStateStorableSerializer, U._$ShowDNASetSerializer, U._$ShowDomainNamesSetSerializer, U._$ShowStrandNamesSetSerializer, U._$ShowStrandLabelsSetSerializer, U._$ShowDomainLabelsSetSerializer, U._$ShowModificationsSetSerializer, U._$DomainNameFontSizeSetSerializer, U._$DomainLabelFontSizeSetSerializer, U._$StrandNameFontSizeSetSerializer, U._$StrandLabelFontSizeSetSerializer, U._$ModificationFontSizeSetSerializer, U._$MajorTickOffsetFontSizeSetSerializer, U._$MajorTickWidthFontSizeSetSerializer, U._$SetModificationDisplayConnectorSerializer, U._$ShowMismatchesSetSerializer, U._$ShowDomainNameMismatchesSetSerializer, U._$ShowUnpairedInsertionDeletionsSetSerializer, U._$OxviewShowSetSerializer, U._$SetDisplayBaseOffsetsOfMajorTicksOnlyFirstHelixSerializer, U._$DisplayMajorTicksOffsetsSetSerializer, U._$SetDisplayMajorTickWidthsAllHelicesSerializer, U._$SetDisplayMajorTickWidthsSerializer, U._$SetOnlyDisplaySelectedHelicesSerializer, U._$InvertYSetSerializer, U._$DynamicHelixUpdateSetSerializer, U._$WarnOnExitIfUnsavedSetSerializer, U._$LoadingDialogShowSerializer, U._$LoadingDialogHideSerializer, U._$CopySelectedStandsToClipboardImageSerializer, U._$SaveDNAFileSerializer, U._$LoadDNAFileSerializer, U._$PrepareToLoadDNAFileSerializer, U._$NewDesignSetSerializer, U._$ExportCadnanoFileSerializer, U._$ExportCodenanoFileSerializer, U._$ShowMouseoverDataSetSerializer, U._$MouseoverDataClearSerializer, U._$MouseoverDataUpdateSerializer, U._$HelixRollSetSerializer, U._$HelixRollSetAtOtherSerializer, U._$RelaxHelixRollsSerializer, U._$ErrorMessageSetSerializer, U._$SelectionBoxCreateSerializer, U._$SelectionBoxSizeChangeSerializer, U._$SelectionBoxRemoveSerializer, U._$SelectionRopeCreateSerializer, U._$SelectionRopeMouseMoveSerializer, U._$SelectionRopeAddPointSerializer, U._$SelectionRopeRemoveSerializer, U._$MouseGridPositionSideUpdateSerializer, U._$MouseGridPositionSideClearSerializer, U._$MousePositionSideUpdateSerializer, U._$MousePositionSideClearSerializer, U._$GeometrySetSerializer, U._$SelectionBoxIntersectionRuleSetSerializer, U._$SelectSerializer, U._$SelectionsClearSerializer, U._$SelectionsAdjustMainViewSerializer, U._$SelectOrToggleItemsSerializer, U._$SelectAllSerializer, U._$SelectAllSelectableSerializer, U._$SelectAllWithSameAsSelectedSerializer, U._$DeleteAllSelectedSerializer, U._$HelixAddSerializer, U._$HelixRemoveSerializer, U._$HelixRemoveAllSelectedSerializer, U._$HelixSelectSerializer, U._$HelixSelectionsClearSerializer, U._$HelixSelectionsAdjustSerializer, U._$HelixMajorTickDistanceChangeSerializer, U._$HelixMajorTickDistanceChangeAllSerializer, U._$HelixMajorTickStartChangeSerializer, U._$HelixMajorTickStartChangeAllSerializer, U._$HelixMajorTicksChangeSerializer, U._$HelixMajorTicksChangeAllSerializer, U._$HelixMajorTickPeriodicDistancesChangeSerializer, U._$HelixMajorTickPeriodicDistancesChangeAllSerializer, U._$HelixIdxsChangeSerializer, U._$HelixOffsetChangeSerializer, U._$HelixMinOffsetSetByDomainsSerializer, U._$HelixMaxOffsetSetByDomainsSerializer, U._$HelixMinOffsetSetByDomainsAllSerializer, U._$HelixMaxOffsetSetByDomainsAllSerializer, U._$HelixMaxOffsetSetByDomainsAllSameMaxSerializer, U._$HelixOffsetChangeAllSerializer, U._$ShowMouseoverRectSetSerializer, U._$ShowMouseoverRectToggleSerializer, U._$ExportDNASerializer, U._$ExportSvgSerializer, U._$ExportSvgTextSeparatelySetSerializer, U._$ExtensionDisplayLengthAngleSetSerializer, U._$ExtensionAddSerializer, U._$ExtensionNumBasesChangeSerializer, U._$ExtensionsNumBasesChangeSerializer, U._$LoopoutLengthChangeSerializer, U._$LoopoutsLengthChangeSerializer, U._$ConvertCrossoverToLoopoutSerializer, U._$ConvertCrossoversToLoopoutsSerializer, U._$NickSerializer, U._$LigateSerializer, U._$JoinStrandsByCrossoverSerializer, U._$MoveLinkerSerializer, U._$JoinStrandsByMultipleCrossoversSerializer, U._$StrandsReflectSerializer, U._$ReplaceStrandsSerializer, U._$StrandCreateStartSerializer, U._$StrandCreateAdjustOffsetSerializer, U._$StrandCreateStopSerializer, U._$StrandCreateCommitSerializer, U._$PotentialCrossoverCreateSerializer, U._$PotentialCrossoverMoveSerializer, U._$PotentialCrossoverRemoveSerializer, U._$ManualPasteInitiateSerializer, U._$AutoPasteInitiateSerializer, U._$CopySelectedStrandsSerializer, U._$StrandsMoveStartSerializer, U._$StrandsMoveStartSelectedStrandsSerializer, U._$StrandsMoveStopSerializer, U._$StrandsMoveAdjustAddressSerializer, U._$StrandsMoveCommitSerializer, U._$DomainsMoveStartSelectedDomainsSerializer, U._$DomainsMoveStopSerializer, U._$DomainsMoveAdjustAddressSerializer, U._$DomainsMoveCommitSerializer, U._$DNAEndsMoveStartSerializer, U._$DNAEndsMoveSetSelectedEndsSerializer, U._$DNAEndsMoveAdjustOffsetSerializer, U._$DNAEndsMoveStopSerializer, U._$DNAEndsMoveCommitSerializer, U._$DNAExtensionsMoveStartSerializer, U._$DNAExtensionsMoveSetSelectedExtensionEndsSerializer, U._$DNAExtensionsMoveAdjustPositionSerializer, U._$DNAExtensionsMoveStopSerializer, U._$DNAExtensionsMoveCommitSerializer, U._$HelixGroupMoveStartSerializer, U._$HelixGroupMoveCreateSerializer, U._$HelixGroupMoveAdjustTranslationSerializer, U._$HelixGroupMoveStopSerializer, U._$HelixGroupMoveCommitSerializer, U._$AssignDNASerializer, U._$AssignDNAComplementFromBoundStrandsSerializer, U._$AssignDomainNameComplementFromBoundStrandsSerializer, U._$AssignDomainNameComplementFromBoundDomainsSerializer, U._$RemoveDNASerializer, U._$InsertionAddSerializer, U._$InsertionLengthChangeSerializer, U._$InsertionsLengthChangeSerializer, U._$DeletionAddSerializer, U._$InsertionRemoveSerializer, U._$DeletionRemoveSerializer, U._$ScalePurificationVendorFieldsAssignSerializer, U._$PlateWellVendorFieldsAssignSerializer, U._$PlateWellVendorFieldsRemoveSerializer, U._$VendorFieldsRemoveSerializer, U._$ModificationAddSerializer, U._$ModificationRemoveSerializer, U._$ModificationConnectorLengthSetSerializer, U._$ModificationEditSerializer, U._$Modifications5PrimeEditSerializer, U._$Modifications3PrimeEditSerializer, U._$ModificationsInternalEditSerializer, U._$GridChangeSerializer, U._$GroupDisplayedChangeSerializer, U._$GroupAddSerializer, U._$GroupRemoveSerializer, U._$GroupChangeSerializer, U._$MoveHelicesToGroupSerializer, U._$DialogShowSerializer, U._$DialogHideSerializer, U._$ContextMenuShowSerializer, U._$ContextMenuHideSerializer, U._$StrandOrSubstrandColorPickerShowSerializer, U._$StrandOrSubstrandColorPickerHideSerializer, U._$ScaffoldSetSerializer, U._$StrandOrSubstrandColorSetSerializer, U._$StrandPasteKeepColorSetSerializer, U._$ExampleDesignsLoadSerializer, U._$BasePairTypeSetSerializer, U._$HelixPositionSetSerializer, U._$HelixGridPositionSetSerializer, U._$HelicesPositionsSetBasedOnCrossoversSerializer, U._$InlineInsertionsDeletionsSerializer, U._$DefaultCrossoverTypeForSettingHelixRollsSetSerializer, U._$AutofitSetSerializer, U._$ShowHelixCirclesMainViewSetSerializer, U._$ShowHelixComponentsMainViewSetSerializer, U._$ShowEditMenuToggleSerializer, U._$ShowGridCoordinatesSideViewSetSerializer, U._$ShowAxisArrowsSetSerializer, U._$ShowLoopoutExtensionLengthSetSerializer, U._$LoadDnaSequenceImageUriSerializer, U._$SetIsZoomAboveThresholdSerializer, U._$SetExportSvgActionDelayedForPngCacheSerializer, U._$ShowBasePairLinesSetSerializer, U._$ShowBasePairLinesWithMismatchesSetSerializer, U._$ShowSliceBarSetSerializer, U._$SliceBarOffsetSetSerializer, U._$DisablePngCachingDnaSequencesSetSerializer, U._$RetainStrandColorOnSelectionSetSerializer, U._$DisplayReverseDNARightSideUpSetSerializer, U._$SliceBarMoveStartSerializer, U._$SliceBarMoveStopSerializer, U._$AutostapleSerializer, U._$AutobreakSerializer, U._$ZoomSpeedSetSerializer, U._$OxdnaExportSerializer, U._$OxviewExportSerializer, U._$OxExportOnlySelectedStrandsSetSerializer, U.SkipUndoBuilder, U.UndoBuilder, U.RedoBuilder, U.BatchActionBuilder, U.ThrottledActionFastBuilder, U.ThrottledActionNonFastBuilder, U.LocalStorageDesignChoiceSetBuilder, U.ClearHelixSelectionWhenLoadingNewDesignSetBuilder, U.EditModeToggleBuilder, U.EditModesSetBuilder, U.SelectModeToggleBuilder, U.SelectModesAddBuilder, U.SelectModesSetBuilder, U.StrandNameSetBuilder, U.StrandLabelSetBuilder, U.SubstrandNameSetBuilder, U.SubstrandLabelSetBuilder, U.SetAppUIStateStorableBuilder, U.ShowDNASetBuilder, U.ShowDomainNamesSetBuilder, U.ShowStrandNamesSetBuilder, U.ShowStrandLabelsSetBuilder, U.ShowDomainLabelsSetBuilder, U.ShowModificationsSetBuilder, U.DomainNameFontSizeSetBuilder, U.DomainLabelFontSizeSetBuilder, U.StrandNameFontSizeSetBuilder, U.StrandLabelFontSizeSetBuilder, U.ModificationFontSizeSetBuilder, U.MajorTickOffsetFontSizeSetBuilder, U.MajorTickWidthFontSizeSetBuilder, U.SetModificationDisplayConnectorBuilder, U.ShowMismatchesSetBuilder, U.ShowDomainNameMismatchesSetBuilder, U.ShowUnpairedInsertionDeletionsSetBuilder, U.OxviewShowSetBuilder, U.SetDisplayBaseOffsetsOfMajorTicksOnlyFirstHelixBuilder, U.DisplayMajorTicksOffsetsSetBuilder, U.SetDisplayMajorTickWidthsAllHelicesBuilder, U.SetDisplayMajorTickWidthsBuilder, U.SetOnlyDisplaySelectedHelicesBuilder, U.InvertYSetBuilder, U.DynamicHelixUpdateSetBuilder, U.WarnOnExitIfUnsavedSetBuilder, U.CopySelectedStandsToClipboardImageBuilder, U.SaveDNAFileBuilder, U.LoadDNAFileBuilder, U.PrepareToLoadDNAFileBuilder, U.NewDesignSetBuilder, U.ExportCadnanoFileBuilder, U.ShowMouseoverDataSetBuilder, U.MouseoverDataClearBuilder, U.MouseoverDataUpdateBuilder, U.HelixRollSetBuilder, U.HelixRollSetAtOtherBuilder, U.RelaxHelixRollsBuilder, U.ErrorMessageSetBuilder, U.SelectionBoxCreateBuilder, U.SelectionBoxSizeChangeBuilder, U.SelectionBoxRemoveBuilder, U.SelectionRopeCreateBuilder, U.SelectionRopeMouseMoveBuilder, U.SelectionRopeAddPointBuilder, U.MouseGridPositionSideUpdateBuilder, U.MouseGridPositionSideClearBuilder, U.MousePositionSideUpdateBuilder, U.MousePositionSideClearBuilder, U.GeometrySetBuilder, U.SelectionBoxIntersectionRuleSetBuilder, U.SelectBuilder, U.SelectionsClearBuilder, U.SelectionsAdjustMainViewBuilder, U.SelectOrToggleItemsBuilder, U.SelectAllBuilder, U.SelectAllSelectableBuilder, U.SelectAllWithSameAsSelectedBuilder, U.DeleteAllSelectedBuilder, U.HelixAddBuilder, U.HelixRemoveBuilder, U.HelixRemoveAllSelectedBuilder, U.HelixSelectBuilder, U.HelixSelectionsClearBuilder, U.HelixSelectionsAdjustBuilder, U.HelixMajorTickDistanceChangeBuilder, U.HelixMajorTickDistanceChangeAllBuilder, U.HelixMajorTickStartChangeBuilder, U.HelixMajorTickStartChangeAllBuilder, U.HelixMajorTicksChangeBuilder, U.HelixMajorTicksChangeAllBuilder, U.HelixMajorTickPeriodicDistancesChangeBuilder, U.HelixMajorTickPeriodicDistancesChangeAllBuilder, U.HelixIdxsChangeBuilder, U.HelixOffsetChangeBuilder, U.HelixMinOffsetSetByDomainsBuilder, U.HelixMaxOffsetSetByDomainsBuilder, U.HelixMinOffsetSetByDomainsAllBuilder, U.HelixMaxOffsetSetByDomainsAllBuilder, U.HelixMaxOffsetSetByDomainsAllSameMaxBuilder, U.HelixOffsetChangeAllBuilder, U.ShowMouseoverRectSetBuilder, U.ExportDNABuilder, U.ExportCanDoDNABuilder, U.ExportSvgBuilder, U.ExportSvgTextSeparatelySetBuilder, U.ExtensionDisplayLengthAngleSetBuilder, U.ExtensionAddBuilder, U.ExtensionNumBasesChangeBuilder, U.ExtensionsNumBasesChangeBuilder, U.LoopoutLengthChangeBuilder, U.LoopoutsLengthChangeBuilder, U.ConvertCrossoverToLoopoutBuilder, U.ConvertCrossoversToLoopoutsBuilder, U.NickBuilder, U.LigateBuilder, U.JoinStrandsByCrossoverBuilder, U.MoveLinkerBuilder, U.JoinStrandsByMultipleCrossoversBuilder, U.StrandsReflectBuilder, U.ReplaceStrandsBuilder, U.StrandCreateStartBuilder, U.StrandCreateAdjustOffsetBuilder, U.StrandCreateStopBuilder, U.StrandCreateCommitBuilder, U.PotentialCrossoverCreateBuilder, U.PotentialCrossoverMoveBuilder, U.PotentialCrossoverRemoveBuilder, U.ManualPasteInitiateBuilder, U.AutoPasteInitiateBuilder, U.CopySelectedStrandsBuilder, U.StrandsMoveStartBuilder, U.StrandsMoveStartSelectedStrandsBuilder, U.StrandsMoveStopBuilder, U.StrandsMoveAdjustAddressBuilder, U.StrandsMoveCommitBuilder, U.DomainsMoveStartSelectedDomainsBuilder, U.DomainsMoveStopBuilder, U.DomainsMoveAdjustAddressBuilder, U.DomainsMoveCommitBuilder, U.DNAEndsMoveStartBuilder, U.DNAEndsMoveSetSelectedEndsBuilder, U.DNAEndsMoveAdjustOffsetBuilder, U.DNAEndsMoveCommitBuilder, U.DNAExtensionsMoveStartBuilder, U.DNAExtensionsMoveSetSelectedExtensionEndsBuilder, U.DNAExtensionsMoveAdjustPositionBuilder, U.DNAExtensionsMoveCommitBuilder, U.HelixGroupMoveStartBuilder, U.HelixGroupMoveCreateBuilder, U.HelixGroupMoveAdjustTranslationBuilder, U.HelixGroupMoveStopBuilder, U.HelixGroupMoveCommitBuilder, U.AssignDNABuilder, U.AssignDNAComplementFromBoundStrandsBuilder, U.AssignDomainNameComplementFromBoundStrandsBuilder, U.AssignDomainNameComplementFromBoundDomainsBuilder, U.RemoveDNABuilder, U.InsertionAddBuilder, U.InsertionLengthChangeBuilder, U.InsertionsLengthChangeBuilder, U.DeletionAddBuilder, U.InsertionRemoveBuilder, U.DeletionRemoveBuilder, U.ScalePurificationVendorFieldsAssignBuilder, U.PlateWellVendorFieldsAssignBuilder, U.PlateWellVendorFieldsRemoveBuilder, U.VendorFieldsRemoveBuilder, U.ModificationAddBuilder, U.ModificationRemoveBuilder, U.ModificationConnectorLengthSetBuilder, U.ModificationEditBuilder, U.Modifications5PrimeEditBuilder, U.Modifications3PrimeEditBuilder, U.ModificationsInternalEditBuilder, U.GridChangeBuilder, U.GroupDisplayedChangeBuilder, U.GroupAddBuilder, U.GroupRemoveBuilder, U.GroupChangeBuilder, U.MoveHelicesToGroupBuilder, U.DialogShowBuilder, U.DialogHideBuilder, U.ContextMenuShowBuilder, U.ContextMenuHideBuilder, U.StrandOrSubstrandColorPickerShowBuilder, U.StrandOrSubstrandColorPickerHideBuilder, U.ScaffoldSetBuilder, U.StrandOrSubstrandColorSetBuilder, U.StrandPasteKeepColorSetBuilder, U.ExampleDesignsLoadBuilder, U.BasePairTypeSetBuilder, U.HelixPositionSetBuilder, U.HelixGridPositionSetBuilder, U.HelicesPositionsSetBasedOnCrossoversBuilder, U.InlineInsertionsDeletionsBuilder, U.DefaultCrossoverTypeForSettingHelixRollsSetBuilder, U.AutofitSetBuilder, U.ShowHelixCirclesMainViewSetBuilder, U.ShowHelixComponentsMainViewSetBuilder, U.ShowGridCoordinatesSideViewSetBuilder, U.ShowAxisArrowsSetBuilder, U.ShowLoopoutExtensionLengthSetBuilder, U.LoadDnaSequenceImageUriBuilder, U.SetIsZoomAboveThresholdBuilder, U.SetExportSvgActionDelayedForPngCacheBuilder, U.ShowBasePairLinesSetBuilder, U.ShowBasePairLinesWithMismatchesSetBuilder, U.ShowSliceBarSetBuilder, U.SliceBarOffsetSetBuilder, U.DisablePngCachingDnaSequencesSetBuilder, U.RetainStrandColorOnSelectionSetBuilder, U.DisplayReverseDNARightSideUpSetBuilder, U.SliceBarMoveStartBuilder, U.SliceBarMoveStopBuilder, U.AutostapleBuilder, U.AutobreakBuilder, U.ZoomSpeedSetBuilder, U.OxdnaExportBuilder, U.OxviewExportBuilder, U.OxExportOnlySelectedStrandsSetBuilder, G.App, A.strand_bounds_status, F._$DNAFileTypeSerializer, E._$DNASequencePredefinedSerializer, K.JSONSerializable, K.NoIndent, K.Replacer, B.RollXY, N.OxdnaVector, N.OxdnaNucleotide, N.OxdnaStrand, N.OxdnaSystem, Q.Box, E.InsertionDeletionRecord, X.TypedGlobalReducer, K.BuiltJsonSerializable, K.PointSerializer, K.ColorSerializer, Z._Address_Object_BuiltJsonSerializable, Z._AddressDifference_Object_BuiltJsonSerializable, Z._$AddressSerializer, Z._$AddressDifferenceSerializer, Z.AddressBuilder, Z.AddressDifferenceBuilder, T.AppState, T.AppStateBuilder, Q._AppUIState_Object_BuiltJsonSerializable, Q._$AppUIStateSerializer, Q.AppUIStateBuilder, B._AppUIStateStorables_Object_BuiltJsonSerializable, B._$AppUIStateStorablesSerializer, B.AppUIStateStorablesBuilder, L._$BasePairDisplayTypeSerializer, T.BrowserClipboard, B._ContextMenu_Object_BuiltJsonSerializable, B._ContextMenuItem_Object_BuiltJsonSerializable, B._$ContextMenuSerializer, B._$ContextMenuItemSerializer, B.ContextMenuBuilder, B.ContextMenuItemBuilder, B._CopyInfo_Object_BuiltJsonSerializable, B._$CopyInfoSerializer, B.CopyInfoBuilder, T._Crossover_Object_SelectableMixin, T._$CrossoverSerializer, T.CrossoverBuilder, N._Design_Object_UnusedFields, N.Mismatch, N.IllegalDesignError, N.IllegalCadnanoDesignError, N.HelixPitchYaw, N.DesignBuilder, V._DesignSideRotationParams_Object_BuiltJsonSerializable, V._DesignSideRotationData_Object_BuiltJsonSerializable, V._$DesignSideRotationParamsSerializer, V._$DesignSideRotationDataSerializer, V.DesignSideRotationParamsBuilder, V.DesignSideRotationDataBuilder, E._Dialog_Object_BuiltJsonSerializable, E._DialogInteger_Object_BuiltJsonSerializable, E._DialogFloat_Object_BuiltJsonSerializable, E._DialogText_Object_BuiltJsonSerializable, E._DialogTextArea_Object_BuiltJsonSerializable, E._DialogCheckbox_Object_BuiltJsonSerializable, E._DialogRadio_Object_BuiltJsonSerializable, E._DialogLink_Object_BuiltJsonSerializable, E._DialogLabel_Object_BuiltJsonSerializable, E._$DialogTypeSerializer, E._$DialogSerializer, E._$DialogIntegerSerializer, E._$DialogFloatSerializer, E._$DialogTextSerializer, E._$DialogTextAreaSerializer, E._$DialogCheckboxSerializer, E._$DialogRadioSerializer, E._$DialogLinkSerializer, E.DialogBuilder, E.DialogIntegerBuilder, E.DialogFloatBuilder, E.DialogTextBuilder, E.DialogTextAreaBuilder, E.DialogCheckboxBuilder, E.DialogRadioBuilder, E.DialogLinkBuilder, E.DialogLabelBuilder, X._DNAAssignOptions_Object_BuiltJsonSerializable, X._$DNAAssignOptionsSerializer, X.DNAAssignOptionsBuilder, Z._DNAEnd_Object_SelectableMixin, Z._$DNAEndSerializer, Z.DNAEndBuilder, B._DNAEndsMove_Object_BuiltJsonSerializable, B._DNAEndMove_Object_BuiltJsonSerializable, B._$DNAEndsMoveSerializer, B._$DNAEndMoveSerializer, B.DNAEndsMoveBuilder, B.DNAEndMoveBuilder, K._DNAExtensionsMove_Object_BuiltJsonSerializable, K._DNAExtensionMove_Object_BuiltJsonSerializable, K._$DNAExtensionsMoveSerializer, K._$DNAExtensionMoveSerializer, K.DNAExtensionsMoveBuilder, K.DNAExtensionMoveBuilder, G._Insertion_Object_BuiltJsonSerializable, G._Domain_Object_SelectableMixin, G._$InsertionSerializer, G._$DomainSerializer, G.InsertionBuilder, G.DomainBuilder, B._DomainNameMismatch_Object_BuiltJsonSerializable, B._$DomainNameMismatchSerializer, B.DomainNameMismatchBuilder, V._DomainsMove_Object_BuiltJsonSerializable, V._$DomainsMoveSerializer, V.DomainsMoveBuilder, M._$EditModeChoiceSerializer, K._ExampleDesigns_Object_BuiltJsonSerializable, K._$ExampleDesignsSerializer, K.ExampleDesignsBuilder, D.ExportDNAException, D.PlateType, D._$ExportDNAFormatSerializer, O._$StrandOrderSerializer, S._Extension_Object_SelectableMixin, S._$ExtensionSerializer, S.ExtensionBuilder, N._Geometry_Object_BuiltJsonSerializable, N._$GeometrySerializer, N.GeometryBuilder, S._$GridSerializer, D._GridPosition_Object_BuiltJsonSerializable, D._$GridPositionSerializer, D.GridPositionBuilder, O._HelixGroup_Object_BuiltJsonSerializable, O._$HelixGroupSerializer, O.HelixGroupBuilder, O._Helix_Object_BuiltJsonSerializable, O._$HelixSerializer, O.HelixBuilder, G._HelixGroupMove_Object_BuiltJsonSerializable, G._$HelixGroupMoveSerializer, G.HelixGroupMoveBuilder, Y._LocalStorageDesignChoice_Object_BuiltJsonSerializable, Y._$LocalStorageDesignOptionSerializer, Y._$LocalStorageDesignChoiceSerializer, Y.LocalStorageDesignChoiceBuilder, G._Loopout_Object_SelectableMixin, G._$LoopoutSerializer, G.LoopoutBuilder, Z._Modification5Prime_Object_BuiltJsonSerializable, Z._Modification3Prime_Object_BuiltJsonSerializable, Z._ModificationInternal_Object_BuiltJsonSerializable, Z._$Modification5PrimeSerializer, Z._$Modification3PrimeSerializer, Z._$ModificationInternalSerializer, Z.Modification5PrimeBuilder, Z.Modification3PrimeBuilder, Z.ModificationInternalBuilder, Y._$ModificationTypeSerializer, K._MouseoverParams_Object_BuiltJsonSerializable, K._MouseoverData_Object_BuiltJsonSerializable, K._$MouseoverParamsSerializer, K._$MouseoverDataSerializer, K.MouseoverParamsBuilder, K.MouseoverDataBuilder, X._Position3D_Object_BuiltJsonSerializable, X._$Position3DSerializer, X.Position3DBuilder, S._PotentialCrossover_Object_BuiltJsonSerializable, S._$PotentialCrossoverSerializer, S.PotentialCrossoverBuilder, Z._PotentialVerticalCrossover_Object_BuiltJsonSerializable, Z._$PotentialVerticalCrossoverSerializer, Z.PotentialVerticalCrossoverBuilder, D._$SelectModeChoiceSerializer, N.SelectModeState, N._$SelectModeStateSerializer, N.SelectModeStateBuilder, E._SelectablesStore_Object_BuiltJsonSerializable, E._SelectableDeletion_Object_SelectableMixin, E._SelectableInsertion_Object_SelectableMixin, E.SelectableModification, E._SelectableModification5Prime_Object_SelectableModification, E._SelectableModification3Prime_Object_SelectableModification, E._SelectableModificationInternal_Object_SelectableModification, E.SelectableMixin, E._$SelectablesStoreSerializer, E._$SelectableDeletionSerializer, E._$SelectableInsertionSerializer, E._$SelectableModification5PrimeSerializer, E._$SelectableModification3PrimeSerializer, E._$SelectableModificationInternalSerializer, E._$SelectableTraitSerializer, E.SelectablesStoreBuilder, E.SelectableDeletionBuilder, E.SelectableInsertionBuilder, E.SelectableModification5PrimeBuilder, E.SelectableModification3PrimeBuilder, E.SelectableModificationInternalBuilder, E._SelectionBox_Object_BuiltJsonSerializable, E._$SelectionBoxSerializer, E.SelectionBoxBuilder, F._SelectionRope_Object_BuiltJsonSerializable, F._Line_Object_BuiltJsonSerializable, F.Orientation, F._$SelectionRopeSerializer, F._$LineSerializer, F.SelectionRopeBuilder, F.LineBuilder, E._Strand_Object_SelectableMixin, E._$StrandSerializer, E.StrandBuilder, U._StrandCreation_Object_BuiltJsonSerializable, U._$StrandCreationSerializer, U.StrandCreationBuilder, U._StrandsMove_Object_BuiltJsonSerializable, U._$StrandsMoveSerializer, U.StrandsMoveBuilder, T._UndoRedo_Object_BuiltJsonSerializable, T._UndoRedoItem_Object_BuiltJsonSerializable, T._$UndoRedoItemSerializer, T.UndoRedoBuilder, T.UndoRedoItemBuilder, U.UnusedFields, T._VendorFields_Object_BuiltJsonSerializable, T._$VendorFieldsSerializer, T.VendorFieldsBuilder, E.ColorCycler, E.Version, E.HexGridCoordinateSystem, E.BlobType, B.End3PrimeProps, B.$End3PrimeProps, A.End5PrimeProps, A.$End5PrimeProps, U.DraggableComponent, U.DesignViewComponent, S.DesignContextMenuProps, S.DesignContextMenuState, S.DesignContextSubmenuProps, S.DesignContextSubmenuState, S.$DesignContextMenuProps, S.$DesignContextSubmenuProps, S.$DesignContextMenuState, S.$DesignContextSubmenuState, S.DesignDialogFormProps, S.DesignDialogFormState, S.$DesignDialogFormProps, S.$DesignDialogFormState, V.DesignFooterProps, V.$DesignFooterProps, Q.DesignLoadingDialogProps, Q.$DesignLoadingDialogProps, V.DesignMainPropsMixin, V.$DesignMainPropsMixin, Q.DesignMainArrowsProps, Q.$DesignMainArrowsProps, Z.DesignMainBasePairLinesProps, Z.$DesignMainBasePairLinesProps, V.DesignMainBasePairRectangleProps, V.$DesignMainBasePairRectangleProps, O.DesignMainDNAMismatchesProps, O.$DesignMainDNAMismatchesProps, U.DesignMainDNASequencePropsMixin, U.$DesignMainDNASequencePropsMixin, M.DesignMainDNASequencesProps, M.$DesignMainDNASequencesProps, T.DesignMainDomainMovingPropsMixin, T.$DesignMainDomainMovingPropsMixin, R.DesignMainDomainNameMismatchesProps, R.$DesignMainDomainNameMismatchesProps, Y.DesignMainDomainsMovingProps, Y.$DesignMainDomainsMovingProps, X.DesignMainErrorBoundaryStateMixin, X.$DesignMainErrorBoundaryStateMixin, V.DesignMainHelicesProps, V.$DesignMainHelicesProps, T.DesignMainHelixProps, T.$DesignMainHelixProps, K.DesignMainLoopoutExtensionLengthPropsMixin, K.$DesignMainLoopoutExtensionLengthPropsMixin, Z.DesignMainLoopoutExtensionLengthsProps, Z.$DesignMainLoopoutExtensionLengthsProps, K.DesignMainPotentialVerticalCrossoverPropsMixin, K.$DesignMainPotentialVerticalCrossoverPropsMixin, S.DesignMainPotentialVerticalCrossoversProps, S.$DesignMainPotentialVerticalCrossoversProps, M.DesignMainSliceBarProps, M.$DesignMainSliceBarProps, M.DesignMainStrandPropsMixin, M.$DesignMainStrandPropsMixin, S.DesignMainStrandAndDomainTextsPropsMixin, S.$DesignMainStrandAndDomainTextsPropsMixin, R.DesignMainStrandCreatingPropsMixin, R.$DesignMainStrandCreatingPropsMixin, Q.DesignMainStrandCrossoverPropsMixin, Q.DesignMainStrandCrossoverState, Q.$DesignMainStrandCrossoverPropsMixin, Q.$DesignMainStrandCrossoverState, A.DesignMainStrandDeletionPropsMixin, A.$DesignMainStrandDeletionPropsMixin, S.DesignMainDNAEndPropsMixin, S.$DesignMainDNAEndPropsMixin, F.EndMovingProps, F.$EndMovingProps, T.ExtensionEndMovingProps, T.$ExtensionEndMovingProps, T.DesignMainDomainPropsMixin, T.$DesignMainDomainPropsMixin, B.DesignMainStrandDomainTextPropsMixin, B.$DesignMainStrandDomainTextPropsMixin, Q.DesignMainExtensionPropsMixin, Q.$DesignMainExtensionPropsMixin, R.DesignMainStrandExtensionTextPropsMixin, R.$DesignMainStrandExtensionTextPropsMixin, A.DesignMainStrandInsertionPropsMixin, A.$DesignMainStrandInsertionPropsMixin, R.DesignMainLoopoutPropsMixin, R.DesignMainLoopoutState, R.$DesignMainLoopoutPropsMixin, R.$DesignMainLoopoutState, S.DesignMainStrandLoopoutTextPropsMixin, S.$DesignMainStrandLoopoutTextPropsMixin, X.DesignMainStrandModificationProps, X.$DesignMainStrandModificationProps, R.DesignMainStrandModificationsPropsMixin, R.$DesignMainStrandModificationsPropsMixin, T.DesignMainStrandMovingPropsMixin, T.$DesignMainStrandMovingPropsMixin, B.DesignMainStrandPathsPropsMixin, B.$DesignMainStrandPathsPropsMixin, E.DesignMainStrandsProps, E.$DesignMainStrandsProps, F.DesignMainStrandsMovingProps, F.$DesignMainStrandsMovingProps, B.DesignMainUnpairedInsertionDeletionsProps, B.$DesignMainUnpairedInsertionDeletionsProps, R.DesignMainWarningStarProps, R.$DesignMainWarningStarProps, U.DesignSideProps, U.$DesignSideProps, S.DesignSideArrowsProps, S.$DesignSideArrowsProps, B.DesignSideHelixProps, B.$DesignSideHelixProps, Y.DesignSidePotentialHelixProps, Y.$DesignSidePotentialHelixProps, O.DesignSideRotationProps, O.$DesignSideRotationProps, E.DesignSideRotationArrowProps, E.$DesignSideRotationArrowProps, Z.EditAndSelectModesProps, Z.$EditAndSelectModesProps, M.EditModeProps, M.$EditModeProps, L.ErrorMessageComponent, O.HelixGroupMovingProps, O.$HelixGroupMovingProps, D.MenuPropsMixin, D.$MenuPropsMixin, Z.MenuBooleanPropsMixin, Z.$MenuBooleanPropsMixin, N.MenuDropdownItemPropsMixin, N.$MenuDropdownItemPropsMixin, M.MenuDropdownRightProps, M.MenuDropdownRightState, M.$MenuDropdownRightProps, M.$MenuDropdownRightState, O.MenuFormFileProps, O.$MenuFormFileProps, M.MenuNumberPropsMixin, M.$MenuNumberPropsMixin, Q.SideMenuPropsMixin, Q.$SideMenuPropsMixin, D.OxviewViewComponent, M.PotentialCrossoverViewProps, M.$PotentialCrossoverViewProps, R.PotentialExtensionsViewProps, R.$PotentialExtensionsViewProps, K.PureComponent, A.RedrawCounterMixin, D.SelectModePropsMixin, D.$SelectModePropsMixin, Y.SelectionBoxViewProps, Y.$SelectionBoxViewProps, A.SelectionRopeViewProps, A.$SelectionRopeViewProps, A.StrandOrSubstrandColorPickerProps, A.StrandOrSubstrandColorPickerState, A.$StrandOrSubstrandColorPickerProps, A.$StrandOrSubstrandColorPickerState, R.TransformByHelixGroupPropsMixin, R.TransformByHelixGroup, R.$TransformByHelixGroupPropsMixin, Q.View, Y.SourceFile, D.SourceLocationMixin, Y.SourceSpanMixin, U.Highlighter, U._Highlight, U._Line, V.SourceLocation, G.SourceSpanException, U.SpreadsheetDecoder, U.SpreadsheetTable, X.StringScanner, S.Tuple2, S.Tuple3, S.Tuple5, L.ManagedDisposer, L._ObservableTimer, L.Disposable, D.DisposableState, S.XmlEntityMapping, Z.XmlAttributesBase, Z.XmlHasAttributes, Y.XmlChildrenBase, Y.XmlHasChildren, X.XmlHasName, E.XmlParentBase, E.XmlHasParent, V.XmlHasText, E.XmlHasVisitor, L.XmlHasWriter, R.XmlHasXml, B._XmlNode_Object_XmlParentBase, D.XmlAttributeType, B.XmlCache, T.XmlException, Q._XmlName_Object_XmlHasVisitor, E.XmlNodeType, B.XmlVisitor, X._XmlWriter_Object_XmlVisitor]); + _inheritMany(J.Interceptor, [J.JSBool, J.JSNull, J.JavaScriptObject, J.JSArray, J.JSNumber, J.JSString, H.NativeByteBuffer, H.NativeTypedData, W.EventTarget, W.AccessibleNodeList, W.Event, W.Blob, W.BluetoothRemoteGattDescriptor, W.CacheStorage, W.CanvasRenderingContext2D, W.CssStyleValue, W.CssTransformComponent, W.CssRule, W._CssStyleDeclaration_Interceptor_CssStyleDeclarationBase, W.StyleSheet, W.DataTransfer, W.DataTransferItemList, W.ReportBody, W.DomError, W.DomException, W.DomImplementation, W.DomPointReadOnly, W._DomRectList_Interceptor_ListMixin, W.DomRectReadOnly, W._DomStringList_Interceptor_ListMixin, W.DomTokenList, W.Entry, W._FileList_Interceptor_ListMixin, W.FontFace, W.Gamepad, W.GamepadButton, W.History, W._HtmlCollection_Interceptor_ListMixin, W.ImageData, W.IntersectionObserverEntry, W.Location, W.MediaError, W.MediaList, W._MidiInputMap_Interceptor_MapMixin, W._MidiOutputMap_Interceptor_MapMixin, W.MimeType, W._MimeTypeArray_Interceptor_ListMixin, W.MutationRecord, W.NavigatorUserMediaError, W._NodeList_Interceptor_ListMixin, W.OverconstrainedError, W.PaymentInstruments, W.Plugin, W._PluginArray_Interceptor_ListMixin, W.PositionError, W.ResizeObserverEntry, W._RtcStatsReport_Interceptor_MapMixin, W.SpeechGrammar, W._SpeechGrammarList_Interceptor_ListMixin, W.SpeechRecognitionResult, W._Storage_Interceptor_MapMixin, W._TextTrackCueList_Interceptor_ListMixin, W.TimeRanges, W.Touch, W._TouchList_Interceptor_ListMixin, W.TrackDefaultList, W.Url, W.VREyeParameters, W.XmlSerializer, W.__CssRuleList_Interceptor_ListMixin, W.__GamepadList_Interceptor_ListMixin, W.__NamedNodeMap_Interceptor_ListMixin, W.__SpeechRecognitionResultList_Interceptor_ListMixin, W.__StyleSheetList_Interceptor_ListMixin, P.Cursor, P.KeyRange, P.ObjectStore, P.Observation, P.Angle, P.Length, P._LengthList_Interceptor_ListMixin, P.Number, P._NumberList_Interceptor_ListMixin, P.Point0, P.PointList, P._StringList_Interceptor_ListMixin, P.Transform, P._TransformList_Interceptor_ListMixin, P.AudioBuffer, P.AudioParam, P._AudioParamMap_Interceptor_MapMixin, P.SqlError, P._SqlResultSetRowList_Interceptor_ListMixin]); + _inheritMany(J.JavaScriptObject, [J.PlainJavaScriptObject, J.UnknownJavaScriptObject, J.JavaScriptFunction, Y._ReduxDevToolsExtensionConnection, X.JsReactRedux, X.JsReactReduxStore, X.JsConnectOptions, S.NodeCrypto, L.JsMap, L._Object, L._Reflect, K.React, K.JsRef, K.ReactDomServer, K.PropTypes, K.ReactClass, K.ReactClassConfig, K.ReactElementStore, K.ReactElement, K.ReactPortal, K.ReactComponent, K.InteropContextValue, K.ReactContext, K.InteropProps, K.JsError, K.ReactDartInteropStatics, K.JsComponentConfig, K.JsComponentConfig2, K.ReactErrorInfo, Z._PropertyDescriptor, O.JsPropertyDescriptor, O.Promise, K.ReactDOM, Q.SyntheticEvent, Q.NonNativeDataTransfer, E.Pan, Q.ReactBootstrap, Q.ReactColor, A.JSColor]); + _inherit(J.JSUnmodifiableArray, J.JSArray); + _inheritMany(J.JSNumber, [J.JSInt, J.JSNumNotInt]); + _inheritMany(P.Stream, [H.CastStream, P._StreamImpl, P.StreamView, P._ForwardingStream, W._EventStream]); + _inheritMany(P.Iterable, [H._CastIterableBase, H.EfficientLengthIterable, H.MappedIterable, H.WhereIterable, H.ExpandIterable, H.TakeIterable, H.TakeWhileIterable, H.SkipIterable, H.SkipWhileIterable, H.WhereTypeIterable, H._ConstantMapKeyIterable, P.IterableBase, H._StringAllMatchesIterable, P.Runes]); + _inheritMany(H._CastIterableBase, [H.CastIterable, H.__CastListBase__CastIterableBase_ListMixin, H.CastSet, H.CastQueue]); + _inherit(H._EfficientLengthCastIterable, H.CastIterable); + _inherit(H._CastListBase, H.__CastListBase__CastIterableBase_ListMixin); + _inheritMany(H.Closure, [H._CastListBase_sort_closure, H._CastListBase_removeWhere_closure, H.CastSet_removeWhere_closure, H.CastMap_forEach_closure, H.CastMap_entries_closure, H.CastMap_removeWhere_closure, H.nullFuture_closure, H.ConstantMap_map_closure, H.ConstantStringMap_values_closure, H.Instantiation, H.Primitives_functionNoSuchMethod_closure, H.TearOffClosure, H.JsLinkedHashMap_values_closure, H.JsLinkedHashMap_addAll_closure, H.initHooks_closure, H.initHooks_closure0, H.initHooks_closure1, P._AsyncRun__initializeScheduleImmediate_internalCallback, P._AsyncRun__initializeScheduleImmediate_closure, P._AsyncRun__scheduleImmediateJsOverride_internalCallback, P._AsyncRun__scheduleImmediateWithSetImmediate_internalCallback, P._TimerImpl_internalCallback, P._TimerImpl$periodic_closure, P._awaitOnObject_closure, P._awaitOnObject_closure0, P._wrapJsFunctionForAsync_closure, P._SyncBroadcastStreamController__sendData_closure, P.Future_Future_closure, P.Future_Future$delayed_closure, P.Future_wait__error_set, P.Future_wait__stackTrace_set, P.Future_wait__error_get, P.Future_wait__stackTrace_get, P.Future_wait_handleError, P.Future_wait_closure, P._Future__addListener_closure, P._Future__prependListeners_closure, P._Future__chainForeignFuture_closure, P._Future__chainForeignFuture_closure0, P._Future__chainForeignFuture_closure1, P._Future__asyncCompleteWithValue_closure, P._Future__chainFuture_closure, P._Future__asyncCompleteError_closure, P._Future__propagateToListeners_handleWhenCompleteCallback, P._Future__propagateToListeners_handleWhenCompleteCallback_closure, P._Future__propagateToListeners_handleValueCallback, P._Future__propagateToListeners_handleError, P.Stream_Stream$fromIterable_closure, P.Stream_length_closure, P.Stream_length_closure0, P.Stream_first_closure, P.Stream_first_closure0, P._StreamController__subscribe_closure, P._StreamController__recordCancel_complete, P._BufferingStreamSubscription__sendError_sendError, P._BufferingStreamSubscription__sendDone_sendDone, P._PendingEvents_schedule_closure, P._cancelAndValue_closure, P._rootHandleUncaughtError_closure, P._RootZone_bindCallbackGuarded_closure, P._RootZone_bindUnaryCallbackGuarded_closure, P._HashMap_values_closure, P._CustomHashMap_closure, P._LinkedCustomHashMap_closure, P.LinkedHashMap_LinkedHashMap$from_closure, P.MapBase_mapToString_closure, P.MapMixin_entries_closure, P._JsonMap_values_closure, P.Utf8Decoder__decoder_closure, P.Utf8Decoder__decoderNonfatal_closure, P._JsonStringifier_writeMap_closure, P._JsonPrettyPrintMixin_writeMap_closure, P.NoSuchMethodError_toString_closure, P._BigIntImpl_hashCode_combine, P._BigIntImpl_hashCode_finish, P.DateTime_parse_parseIntOrZero, P.DateTime_parse_parseMilliAndMicroseconds, P.Duration_toString_sixDigits, P.Duration_toString_twoDigits, P.Uri__parseIPv4Address_error, P.Uri_parseIPv6Address_error, P.Uri_parseIPv6Address_parseHex, P._createTables_build, P._createTables_setChars, P._createTables_setRange, W.CanvasElement_toBlob_closure, W.Element_Element$html_closure, W.Entry_remove_closure, W.Entry_remove_closure0, W.HttpRequest_getString_closure, W.HttpRequest_request_closure, W.MidiInputMap_keys_closure, W.MidiInputMap_values_closure, W.MidiOutputMap_keys_closure, W.MidiOutputMap_values_closure, W.RtcStatsReport_keys_closure, W.RtcStatsReport_values_closure, W.Storage_keys_closure, W.Storage_values_closure, W._BeforeUnloadEventStreamProvider_forTarget_closure, W._EventStreamSubscription_closure, W._EventStreamSubscription_onData_closure, W.NodeValidatorBuilder_allowsElement_closure, W.NodeValidatorBuilder_allowsAttribute_closure, W._SimpleNodeValidator_closure, W._SimpleNodeValidator_closure0, W._TemplatingNodeValidator_closure, W._ValidatingTreeSanitizer_sanitizeTree_walk, P._StructuredClone_walk_closure, P._StructuredClone_walk_closure0, P._AcceptStructuredClone_walk_closure, P._convertDartToNative_Value_closure, P.convertDartToNative_Dictionary_closure, P.CssClassSetImpl_add_closure, P.CssClassSetImpl_addAll_closure, P.CssClassSetImpl_removeAll_closure, P.CssClassSetImpl_removeWhere_closure, P.CssClassSetImpl_clear_closure, P.FilteredElementList__iterable_closure, P.FilteredElementList__iterable_closure0, P.FilteredElementList_removeRange_closure, P._completeRequest_closure, P._convertToJS_closure, P._convertToJS_closure0, P._wrapToDart_closure, P._wrapToDart_closure0, P._wrapToDart_closure1, P._convertDataTree__convert0, P.promiseToFuture_closure, P.promiseToFuture_closure0, P.AudioParamMap_keys_closure, P.AudioParamMap_values_closure, A.hashObjects_closure, R.BuiltListMultimap_BuiltListMultimap_closure, R.BuiltListMultimap_hashCode_closure, R.ListMultimapBuilder_replace_closure, A.BuiltMap_BuiltMap_closure, A.BuiltMap_BuiltMap$from_closure, A.BuiltMap_BuiltMap$of_closure, A.BuiltMap_hashCode_closure, A.MapBuilder_replace_closure, A.MapBuilder_replace_closure0, X.BuiltSet_hashCode_closure, M.BuiltSetMultimap_hashCode_closure, M.SetMultimapBuilder_replace_closure, Y.newBuiltValueToStringHelper_closure, U.Serializers_Serializers_closure, U.Serializers_Serializers_closure0, U.Serializers_Serializers_closure1, U.Serializers_Serializers_closure2, U.Serializers_Serializers_closure3, R.BuiltListMultimapSerializer_serialize_closure, R.BuiltListMultimapSerializer_deserialize_closure, K.BuiltListSerializer_serialize_closure, K.BuiltListSerializer_deserialize_closure, R.BuiltSetMultimapSerializer_serialize_closure, R.BuiltSetMultimapSerializer_deserialize_closure, O.BuiltSetSerializer_serialize_closure, O.BuiltSetSerializer_deserialize_closure, T.StandardJsonPlugin__toList_closure, T.StandardJsonPlugin__toList_closure0, T.StandardJsonPlugin__toListUsingDiscriminator_closure, T.StandardJsonPlugin__toListUsingDiscriminator_closure0, M.CanonicalizedMap_addAll_closure, M.CanonicalizedMap_entries_closure, M.CanonicalizedMap_forEach_closure, M.CanonicalizedMap_keys_closure, M.CanonicalizedMap_map_closure, M.CanonicalizedMap_removeWhere_closure, M.CanonicalizedMap_values_closure, Z.Draggable_onDragStart_closure, Z.Draggable_onDrag_closure, Z.Draggable_onDragEnd_closure, Z.Draggable__suppressClickEvent_closure, Z.Draggable__suppressClickEvent_closure0, Z.Draggable_destroy_closure, Z.Draggable__resetCurrentDrag_closure, Z._EventManager_closure, Z._EventManager_installEscAndBlur_closure, Z._EventManager_installEscAndBlur_closure0, Z._EventManager_reset_closure, Z._EventManager_destroy_closure, Z._EventManager_destroy_closure0, Z._TouchManager_installStart_closure, Z._TouchManager_installStart__closure, Z._TouchManager_installMove_closure, Z._TouchManager_installEnd_closure, Z._TouchManager_installCancel_closure, Z._MouseManager_installStart_closure, Z._MouseManager_installStart__closure, Z._MouseManager_installMove_closure, Z._MouseManager_installEnd_closure, Z._PointerManager_installStart_closure, Z._PointerManager_installStart__closure, Z._PointerManager_installMove_closure, Z._PointerManager_installEnd_closure, Z._PointerManager_installCancel_closure, G.post_closure, G.BaseRequest_closure, G.BaseRequest_closure0, O.BrowserClient_send_closure, O.BrowserClient_send__closure, O.BrowserClient_send__closure0, O.BrowserClient_send_closure0, Z.ByteStream_toBytes_closure, Z.CaseInsensitiveMap$from_closure, Z.CaseInsensitiveMap$from_closure0, R.MediaType_MediaType$parse_closure, R.MediaType_toString_closure, R.MediaType_toString__closure, N.expectQuotedString_closure, F.Logger_Logger_closure, Z.$ErrorBoundaryComponentFactory_closure, E.$RecoverableErrorBoundaryComponentFactory_closure, S.UiProps_call_closure, S._AccessorMetaCollection_keys_closure, Z.UiComponent2_addUnconsumedProps_closure, X.connect_closure, X.connect_closure0, X.connect_wrapWithConnect, X.connect_wrapWithConnect_jsMapFromProps, X.connect_wrapWithConnect_jsPropsToTProps, X.connect_wrapWithConnect_allowInteropWithArgCount, X.connect_wrapWithConnect_handleMapStateToProps, X.connect_wrapWithConnect_handleMapStateToPropsWithOwnProps, X.connect_wrapWithConnect_handleMakeMapStateToProps, X.connect_wrapWithConnect_handleMakeMapStateToProps_handleMakeMapStateToPropsFactory, X.connect_wrapWithConnect_handleMakeMapStateToPropsWithOwnProps, X.connect_wrapWithConnect_handleMakeMapStateToPropsWithOwnProps_handleMakeMapStateToPropsWithOwnPropsFactory, X.connect_wrapWithConnect_handleMapDispatchToProps, X.connect_wrapWithConnect_handleMapDispatchToPropsWithOwnProps, X.connect_wrapWithConnect_handleMakeMapDispatchToProps, X.connect_wrapWithConnect_handleMakeMapDispatchToProps_handleMakeMapDispatchToPropsFactory, X.connect_wrapWithConnect_handleMakeMapDispatchToPropsWithOwnProps, X.connect_wrapWithConnect_handleMakeMapDispatchToPropsWithOwnProps_handleMakeMapDispatchToPropsWithOwnPropsFactory, X.connect_wrapWithConnect_handleAreOwnPropsEqual, X.connect_wrapWithConnect_handleAreStatePropsEqual, X.connect_wrapWithConnect_handleAreMergedPropsEqual, X.connect_wrapWithConnect_interopMapStateToPropsHandler, X.connect_wrapWithConnect_interopMapDispatchToPropsHandler, X.connect_wrapWithConnect_connectedFactory, X.ReduxProvider_closure, X._reduxifyStore_closure, X._reduxifyStore_closure0, X._reduxifyStore__closure, X._reduxifyStore_closure1, M._indentString_closure, M._prettyObj_closure, M._prettyObj_closure0, M._prettyObj_closure1, M._prettyObj_closure_renderSubKey, M._prettyObj__closure, M._prettyObj_closure2, M._prettyObj_closure3, M.Context_joinAll_closure, M.Context_split_closure, M._validateArgList_closure, X.ParsedPath__splitExtension_closure, X.ParsedPath__splitExtension_closure0, S.optimizedRanges_closure, S.optimizedRanges_closure0, E._single_closure, E._range_closure, E._sequence_closure, E._pattern_closure, D.string_closure, X.SeparatedBy_separatedBy_closure, L.Browser_getCurrentBrowser_closure, L.Browser_getCurrentBrowser_closure0, N.OperatingSystem_getCurrentOperatingSystem_closure, N.OperatingSystem_getCurrentOperatingSystem_closure0, N.linux_closure, N.mac_closure, N.unix_closure, N.windows_closure, A.hashObjects_closure0, S.zip_closure, S.zip_closure0, S.zip_closure1, V.ReactComponentFactoryProxy_call_closure, V.registerComponent2_closure, V.a_closure, V.br_closure, V.button_closure, V.div_closure, V.form_closure, V.img_closure, V.input_closure, V.label_closure, V.li_closure, V.option_closure, V.p_closure, V.select_closure, V.span_closure, V.textarea_closure, V.title_closure, V.ul_closure, V.circle_closure, V.g_closure, V.image_closure, V.line_closure, V.path_closure, V.polygon_closure, V.polyline_closure, V.rect_closure, V.text_closure, V.textPath_closure, A.ReactJsContextComponentFactoryProxy_build_closure, L.JsBackedMap__values_closure, R._convertDataTree__convert, R.render_closure, R.findDOMNode_closure, M.createContext_jsifyCalculateChangedBitsArgs, Z.isBugPresent_closure, Q.ReactDartInteropStatics2_initComponent_closure, Q.ReactDartInteropStatics2_handleComponentDidMount_closure, Q.ReactDartInteropStatics2_handleShouldComponentUpdate_closure, Q.ReactDartInteropStatics2_handleGetDerivedStateFromProps_closure, Q.ReactDartInteropStatics2_handleGetSnapshotBeforeUpdate_closure, Q.ReactDartInteropStatics2_handleComponentDidUpdate_closure, Q.ReactDartInteropStatics2_handleComponentWillUnmount_closure, Q.ReactDartInteropStatics2_handleComponentDidCatch_closure, Q.ReactDartInteropStatics2_handleGetDerivedStateFromError_closure, Q.ReactDartInteropStatics2_handleRender_closure, E.convertRefValue2_closure, X.Store__createReduceAndNotify_closure, X.Store__createDispatchers_closure, B.combineReducers_closure, U.SkipUndo_SkipUndo_closure, U.Undo_Undo_closure, U.Redo_Redo_closure, U.BatchAction_BatchAction_closure, U.ThrottledActionFast_ThrottledActionFast_closure, U.ThrottledActionNonFast_ThrottledActionNonFast_closure, U.EditModeToggle_EditModeToggle_closure, U.SelectModeToggle_SelectModeToggle_closure, U.SetAppUIStateStorable_SetAppUIStateStorable_closure, U.ShowDNASet_ShowDNASet_closure, U.ShowDomainNamesSet_ShowDomainNamesSet_closure, U.ShowStrandNamesSet_ShowStrandNamesSet_closure, U.ShowStrandLabelsSet_ShowStrandLabelsSet_closure, U.ShowDomainLabelsSet_ShowDomainLabelsSet_closure, U.ShowModificationsSet_ShowModificationsSet_closure, U.ModificationFontSizeSet_ModificationFontSizeSet_closure, U.MajorTickOffsetFontSizeSet_MajorTickOffsetFontSizeSet_closure, U.MajorTickWidthFontSizeSet_MajorTickWidthFontSizeSet_closure, U.SetModificationDisplayConnector_SetModificationDisplayConnector_closure, U.ShowMismatchesSet_ShowMismatchesSet_closure, U.ShowDomainNameMismatchesSet_ShowDomainNameMismatchesSet_closure, U.ShowUnpairedInsertionDeletionsSet_ShowUnpairedInsertionDeletionsSet_closure, U.OxviewShowSet_OxviewShowSet_closure, U.SetDisplayBaseOffsetsOfMajorTicksOnlyFirstHelix_SetDisplayBaseOffsetsOfMajorTicksOnlyFirstHelix_closure, U.DisplayMajorTicksOffsetsSet_DisplayMajorTicksOffsetsSet_closure, U.SetDisplayMajorTickWidthsAllHelices_SetDisplayMajorTickWidthsAllHelices_closure, U.SetDisplayMajorTickWidths_SetDisplayMajorTickWidths_closure, U.SetOnlyDisplaySelectedHelices_SetOnlyDisplaySelectedHelices_closure, U.LoadDNAFile_LoadDNAFile_closure, U.PrepareToLoadDNAFile_PrepareToLoadDNAFile_closure, U.NewDesignSet_NewDesignSet_closure, U.ShowMouseoverDataSet_ShowMouseoverDataSet_closure, U.HelixRollSetAtOther_HelixRollSetAtOther_closure, U.ErrorMessageSet_ErrorMessageSet_closure, U.SelectionBoxCreate_SelectionBoxCreate_closure, U.SelectionBoxSizeChange_SelectionBoxSizeChange_closure, U.SelectionBoxRemove_SelectionBoxRemove_closure, U.MouseGridPositionSideUpdate_MouseGridPositionSideUpdate_closure, U.MouseGridPositionSideClear_MouseGridPositionSideClear_closure, U.Select_Select_closure, U.SelectionsClear_SelectionsClear_closure, U.SelectAllSelectable_SelectAllSelectable_closure, U.DeleteAllSelected_DeleteAllSelected_closure, U.HelixAdd_HelixAdd_closure, U.HelixRemove_HelixRemove_closure, U.HelixSelect_HelixSelect_closure, U.HelixSelectionsClear_HelixSelectionsClear_closure, U.HelixSelectionsAdjust_HelixSelectionsAdjust_closure, U.HelixIdxsChange_HelixIdxsChange_closure, U.ExportDNA_ExportDNA_closure, U.ExportCanDoDNA_ExportCanDoDNA_closure, U.ExportSvgTextSeparatelySet_ExportSvgTextSeparatelySet_closure, U.ExtensionDisplayLengthAngleSet_ExtensionDisplayLengthAngleSet_closure, U.ExtensionAdd_ExtensionAdd_closure, U.ExtensionNumBasesChange_ExtensionNumBasesChange_closure, U.ExtensionsNumBasesChange_ExtensionsNumBasesChange_closure, U.LoopoutLengthChange_LoopoutLengthChange_closure, U.LoopoutsLengthChange_LoopoutsLengthChange_closure, U.ConvertCrossoverToLoopout_ConvertCrossoverToLoopout_closure, U.ConvertCrossoversToLoopouts_ConvertCrossoversToLoopouts_closure, U.ManualPasteInitiate_ManualPasteInitiate_closure, U.AutoPasteInitiate_AutoPasteInitiate_closure, U.AssignDNAComplementFromBoundStrands_AssignDNAComplementFromBoundStrands_closure, U.AssignDomainNameComplementFromBoundStrands_AssignDomainNameComplementFromBoundStrands_closure, U.AssignDomainNameComplementFromBoundDomains_AssignDomainNameComplementFromBoundDomains_closure, U.InsertionAdd_clone_for_other_domain_closure, U.InsertionLengthChange_clone_for_other_domain_closure, U.InsertionLengthChange_InsertionLengthChange_closure, U.InsertionsLengthChange_InsertionsLengthChange_closure, U.DeletionAdd_clone_for_other_domain_closure, U.InsertionRemove_clone_for_other_domain_closure, U.InsertionRemove_InsertionRemove_closure, U.DeletionRemove_DeletionRemove_closure, U.Modifications5PrimeEdit_Modifications5PrimeEdit_closure, U.Modifications3PrimeEdit_Modifications3PrimeEdit_closure, U.ModificationsInternalEdit_ModificationsInternalEdit_closure, U.StrandOrSubstrandColorPickerHide_StrandOrSubstrandColorPickerHide_closure, U.LoadDnaSequenceImageUri_LoadDnaSequenceImageUri_closure, U.SetIsZoomAboveThreshold_SetIsZoomAboveThreshold_closure, U.SetExportSvgActionDelayedForPngCache_SetExportSvgActionDelayedForPngCache_closure, U.ShowSliceBarSet_ShowSliceBarSet_closure, U.SliceBarOffsetSet_SliceBarOffsetSet_closure, U.DisablePngCachingDnaSequencesSet_DisablePngCachingDnaSequencesSet_closure, U.RetainStrandColorOnSelectionSet_RetainStrandColorOnSelectionSet_closure, U.DisplayReverseDNARightSideUpSet_DisplayReverseDNARightSideUpSet_closure, U.Autobreak_Autobreak_closure, U.OxdnaExport_OxdnaExport_closure, U.OxviewExport_OxviewExport_closure, G.App_start_closure, G.App_setup_warning_before_unload_closure, G.App_setup_save_design_to_localStorage_before_unload_closure, G.setup_undo_redo_keyboard_listeners_closure, G.setup_save_open_dna_file_keyboard_listeners_closure, G.copy_selected_strands_to_clipboard_image_keyboard_listeners_closure, N.BuiltMapValues_map_values_closure, Z.horizontal_reflection_of_strands_closure, Z.horizontal_reflection_of_strands_closure0, Z.reflect_insertions_closure, Z.reflect_insertions_closure0, Z.vertical_reflection_of_strands_closure, Z.vertical_reflection_of_strands_closure0, E.find_allowable_offset_closure, E.find_allowable_offset_closure0, E.find_allowable_offset_closure1, A._save_file_codenano_closure, F.export_dna_sequences_middleware_closure, F.export_dna_sequences_middleware_closure0, F.export_dna_sequences_middleware_closure1, F.export_dna_sequences_middleware_closure2, F.export_dna_closure, F.export_dna_closure0, F.cando_compatible_csv_export_closure, V.get_svg_elements_of_base_pairs_closure, V.make_portable_closure, X.forbid_create_circular_strand_no_crossovers_middleware_closure, B._get_helices_to_process_closure, B._first_crossover_addresses_between_helices_closure, B._first_crossover_addresses_between_helices_closure0, B._calculate_rolls_and_positions_closure, R.helix_idxs_change_middleware_closure, R.helix_idxs_change_middleware_closure0, K.load_file_middleware_closure, F.start_timer_periodic_design_save_local_storage_closure, T._save_file_closure, U.app_state_reducer_closure, U.app_state_reducer_closure0, K.ui_state_local_reducer_closure, K.example_designs_idx_set_reducer_closure, K.app_ui_state_storable_global_reducer_closure, K.app_ui_state_storable_global_reducer_closure0, K.app_ui_state_storable_global_reducer_closure1, K.app_ui_state_storable_local_reducer_closure, K.ui_state_global_reducer_closure, M.compute_domain_name_complements_closure, M.compute_domain_name_complements_closure0, M.compute_domain_name_complements_for_bound_domains_closure, M.compute_domain_name_complements_for_bound_domains_closure0, X.convert_crossover_to_loopout_reducer_closure, X.convert_crossovers_to_loopouts_reducer_closure, X.convert_crossovers_to_loopouts_reducer_closure0, X.loopouts_length_change_reducer_closure, X.loopouts_length_change_reducer_closure0, X.loopouts_length_change_reducer_closure1, X.extensions_num_bases_change_reducer_closure, X.extensions_num_bases_change_reducer_closure0, X.loopout_length_change_reducer_closure, X.loopout_length_change_reducer_closure0, X.extension_num_bases_change_reducer_closure, X.extension_num_bases_change_reducer_closure0, X.extension_display_length_angle_change_reducer_closure, X.extension_display_length_angle_change_reducer_closure0, G.delete_all_reducer_closure, G.delete_all_reducer_closure0, G.delete_all_reducer_closure1, G.delete_all_reducer_closure2, G.delete_all_reducer_closure3, G.delete_all_reducer_closure4, G.delete_all_reducer_closure5, G.delete_all_reducer_closure6, G.delete_all_reducer_closure7, G.delete_all_reducer_closure8, G._remove_strands_closure, G._remove_strands__closure, G.remove_linkers_from_strand_closure, G.remove_linkers_from_strand_closure0, G.create_new_strands_from_substrand_lists_closure, G.create_new_strands_from_substrand_lists_closure0, G.create_new_strands_from_substrand_lists_closure1, G._remove_extension_from_strand_closure, G._remove_domains_from_strand_closure, G.remove_deletions_and_insertions_closure, G.remove_deletions_and_insertions_closure0, G.remove_deletions_and_insertions_closure1, G.remove_deletions_and_insertions_closure2, G.remove_modifications_closure, U.design_composed_local_reducer_closure, U.design_composed_global_reducer_closure, U.design_geometry_set_reducer_closure, U.design_geometry_set_reducer_closure0, Z.dna_ends_move_adjust_reducer_closure, A.dna_extensions_move_adjust_reducer_closure, Q.domains_move_start_selected_domains_reducer_closure, Q.domains_adjust_address_reducer_closure, Q.domains_adjust_address_reducer_closure0, Q.is_allowable_closure3, Q.is_allowable_closure4, Q.is_allowable_closure5, Q.is_allowable_closure6, Q.move_domain_closure, Q.move_domain__closure, Q.move_domain__closure0, Q.move_domain___closure, B.toggle_edit_mode_reducer_closure, B.toggle_edit_mode_reducer_closure0, O.grid_change_reducer_closure, O.grid_change_reducer__closure, O.group_add_reducer_closure, O.group_remove_reducer_closure, O.group_change_reducer_closure, O.move_helices_to_group_groups_reducer_closure, O.move_helices_to_group_groups_reducer_closure0, V.helix_idx_change_reducer_closure, V.helix_idx_change_reducer_closure0, V.helix_idx_change_reducer_closure1, V.helix_idx_change_reducer_closure2, V.helix_idx_change_reducer_closure3, V.change_groups_closure, V._change_offset_one_helix_closure, V.helix_offset_change_all_with_moving_strands_reducer_closure, V.helix_offset_change_all_with_moving_strands_reducer_map_func, V.helix_offset_change_all_with_moving_strands_reducer_map_func0, V.helix_offset_change_all_while_creating_strand_reducer_closure, V.helix_offset_change_all_while_creating_strand_reducer_closure0, V.helix_offset_change_all_while_creating_strand_reducer_closure1, V.helix_offset_change_all_while_creating_strand_reducer_closure2, V.first_replace_strands_reducer_closure, V.first_replace_strands_reducer_closure0, V.reset_helices_offsets_closure, V.reset_helices_offsets_closure0, V.helix_offset_change_all_reducer_map_func, V._min_offset_set_by_domains_one_helix_closure, V._max_offset_set_by_domains_one_helix_closure, V.helix_min_offset_set_by_domains_all_reducer_map_func, V.helix_max_offset_set_by_domains_all_reducer_map_func, V.helix_max_offset_set_by_domains_all_same_max_reducer_closure, V.helix_max_offset_set_by_domains_all_same_max_reducer__closure, V.helix_major_tick_distance_change_all_reducer_closure, V.helix_major_ticks_change_all_reducer_closure, V.helix_major_tick_start_change_all_reducer_closure, V.helix_major_tick_periodic_distances_change_all_reducer_closure, V._change_major_tick_distance_one_helix_closure, V._change_major_tick_start_one_helix_closure, V._change_major_tick_periodic_distances_one_helix_closure, V._change_major_ticks_one_helix_closure, V.helix_roll_set_reducer_closure, V.helix_roll_set_at_other_reducer_closure, V.helix_add_design_reducer_closure, V.helix_add_design_reducer_closure0, V.helix_remove_design_global_reducer_closure, V.helix_remove_design_global_reducer_closure0, V.helix_remove_all_selected_design_global_reducer_closure, V.helix_remove_all_selected_design_global_reducer_closure0, V.remove_helix_assuming_no_domains_closure, V.remove_helices_assuming_no_domains_closure, V.remove_helices_assuming_no_domains__closure, V.helix_group_change_reducer_closure, V.helix_group_change_reducer__closure, V.helix_individual_grid_position_set_reducer_closure, V.helix_individual_position_set_reducer_closure, V.move_helices_to_group_helices_reducer_closure, Z.helix_group_move_adjust_translation_reducer_closure, Z.helix_group_move_commit_global_reducer_closure, Z.helix_group_move_commit_global_reducer_closure0, R.inline_insertions_deletions_reducer_closure, R.inline_insertions_deletions_reducer_closure0, R.inline_insertions_deletions_reducer_closure1, R._inline_deletions_insertions_on_helix_closure, R._inline_deletions_insertions_on_helix_closure0, R._inline_deletions_insertions_on_helix_closure1, R._inline_deletions_insertions_on_helix_closure2, R._inline_deletions_insertions_on_helix_closure3, R._inline_deletions_insertions_on_helix_closure4, R._inline_deletions_insertions_on_helix_closure5, D.insertion_deletion_reducer_closure, D.insertion_add_reducer_closure, D.insertion_add_reducer_closure0, D.insertion_remove_reducer_closure, D.deletion_add_reducer_closure, D.deletion_remove_reducer_closure, D.insertion_length_change_reducer_closure, D.insertion_length_change_reducer_closure0, D.insertions_length_change_reducer_closure, D.insertions_length_change_reducer_closure0, D.insertions_length_change_reducer_closure1, S.load_dna_file_reducer_closure, S.load_dna_file_reducer_closure0, S.load_dna_file_reducer__closure0, S.load_dna_file_reducer_closure1, S.load_dna_file_reducer_closure2, S.load_dna_file_reducer__closure, U._update_mouseover_datas_with_helix_rotation_closure, U._update_mouseover_datas_with_helix_rotation_closure0, F.nick_reducer_closure, F.nick_reducer_closure0, F.nick_reducer_closure1, F.nick_reducer_closure2, F.nick_reducer_closure3, F.nick_reducer_closure4, F.nick_reducer_closure5, F.nick_reducer_closure6, F.nick_reducer_closure7, F.nick_reducer_closure8, F.nick_reducer_closure9, F.ligate_reducer_closure, F.find_end_pairs_to_connect_in_group_closure, F._join_strands_with_crossover_closure, F._join_strands_with_crossover_closure0, F._join_strands_with_crossover_closure1, F.potential_crossover_move_reducer_closure, D.select_all_selectables_reducer_closure, D.select_all_selectables_reducer_closure0, D.select_all_selectables_reducer_closure1, D.select_all_selectables_reducer_closure2, D.select_all_with_same_reducer_closure, D.helix_selections_adjust_reducer_closure, D.helix_selections_adjust_reducer_closure0, D.helix_select_reducer_closure, D.helix_select_reducer_closure0, D.helix_remove_selected_reducer_closure, D.selection_box_size_changed_reducer_closure, D.selection_rope_mouse_move_reducer_closure, D.selection_rope_mouse_move_reducer_closure0, D.selection_rope_add_point_reducer_closure, D.selection_rope_add_point_reducer_closure0, M.strand_create_adjust_offset_reducer_closure, M.strand_create_adjust_offset_reducer_closure0, X.parse_strands_and_helices_view_order_from_clipboard_closure, X.compute_default_next_address_closure, X.compute_default_next_address_closure0, X.compute_default_next_address_closure1, X.compute_default_next_address_closure2, X.manual_paste_copy_info_reducer_closure, X.manual_paste_copy_info_reducer_closure0, D.strands_move_start_selected_strands_reducer_closure, D.strands_adjust_address_reducer_closure, D.strands_adjust_address_reducer_closure0, D.is_allowable_closure, D.is_allowable_closure0, D.is_allowable_closure1, D.is_allowable_closure2, E.substrand_name_set_reducer_closure, E.substrand_name_set_reducer_closure0, E.substrand_name_set_reducer_closure1, E.substrand_name_set_reducer_closure2, E.substrand_label_set_reducer_closure, E.substrand_label_set_reducer_closure0, E.substrand_label_set_reducer_closure1, E.substrand_label_set_reducer_closure2, E.one_strand_strands_move_copy_commit_reducer_closure, E.move_strand_closure, E.move_strand__closure, E.move_strand__closure0, E.move_strand___closure, E.move_strand_closure0, E.one_strand_domains_move_commit_reducer_closure, E.strands_dna_ends_move_commit_reducer_closure, E.strands_dna_extensions_move_commit_reducer_closure, E.strands_dna_extensions_move_commit_reducer_closure0, E.single_strand_dna_ends_commit_stop_reducer_closure, E.single_strand_dna_ends_commit_stop_reducer_closure0, E.single_strand_dna_ends_commit_stop_reducer_closure1, E.single_strand_dna_ends_commit_stop_reducer_closure2, E.single_strand_dna_ends_commit_stop_reducer_closure3, E.single_strand_dna_ends_commit_stop_reducer_closure4, E.get_remaining_deletions_closure, E.get_remaining_insertions_closure, E.strand_create_closure, E.vendor_fields_remove_reducer_closure, E.plate_well_vendor_fields_remove_reducer_closure, E.plate_well_vendor_fields_assign_reducer_closure, E.scale_purification_vendor_fields_assign_reducer_closure, E.strand_name_set_reducer_closure, E.strand_label_set_reducer_closure, E.extension_add_reducer_closure, E.modification_add_reducer_closure, E.modification_add_reducer_closure0, E.modification_add_reducer_closure1, E.modification_remove_reducer_closure, E.modification_remove_reducer_closure0, E.modification_remove_reducer_closure1, E.modification_edit_reducer_closure, E.modification_edit_reducer_closure0, E.modification_edit_reducer_closure1, E.scaffold_set_reducer_closure, E.strand_or_substrand_color_set_reducer_closure, E.strand_or_substrand_color_set_reducer_closure0, E.strand_or_substrand_color_set_reducer_closure1, E.strand_or_substrand_color_set_reducer_closure2, E.strand_or_substrand_color_set_reducer_closure3, E.modifications_5p_edit_reducer_closure, E.modifications_3p_edit_reducer_closure, E.modifications_int_edit_reducer_closure, S.create_new_state_with_new_design_and_undo_redo_closure, S.create_new_state_with_new_design_and_undo_redo__closure, S.create_new_state_with_new_design_and_undo_redo__closure0, S.redo_reducer_closure, S.redo_reducer__closure, S.redo_reducer__closure0, S.undo_redo_clear_reducer_closure, S.undoable_action_typed_reducer_closure, S.undoable_action_typed_reducer__closure, X.combineGlobalReducers_closure, K.standard_serializers_closure, K._$serializers_closure, K._$serializers_closure0, K._$serializers_closure1, K._$serializers_closure2, K._$serializers_closure3, K._$serializers_closure4, K._$serializers_closure5, K._$serializers_closure6, K._$serializers_closure7, K._$serializers_closure8, K._$serializers_closure9, K._$serializers_closure10, K._$serializers_closure11, K._$serializers_closure12, K._$serializers_closure13, K._$serializers_closure14, K._$serializers_closure15, K._$serializers_closure16, K._$serializers_closure17, K._$serializers_closure18, K._$serializers_closure19, K._$serializers_closure20, K._$serializers_closure21, K._$serializers_closure22, K._$serializers_closure23, K._$serializers_closure24, K._$serializers_closure25, K._$serializers_closure26, K._$serializers_closure27, K._$serializers_closure28, K._$serializers_closure29, K._$serializers_closure30, K._$serializers_closure31, K._$serializers_closure32, K._$serializers_closure33, K._$serializers_closure34, K._$serializers_closure35, K._$serializers_closure36, K._$serializers_closure37, K._$serializers_closure38, K._$serializers_closure39, K._$serializers_closure40, K._$serializers_closure41, K._$serializers_closure42, K._$serializers_closure43, K._$serializers_closure44, K._$serializers_closure45, K._$serializers_closure46, K._$serializers_closure47, K._$serializers_closure48, K._$serializers_closure49, K._$serializers_closure50, K._$serializers_closure51, K._$serializers_closure52, K._$serializers_closure53, K._$serializers_closure54, K._$serializers_closure55, K._$serializers_closure56, K._$serializers_closure57, K._$serializers_closure58, K._$serializers_closure59, K._$serializers_closure60, K._$serializers_closure61, K._$serializers_closure62, K._$serializers_closure63, K._$serializers_closure64, K._$serializers_closure65, K._$serializers_closure66, K._$serializers_closure67, K._$serializers_closure68, K._$serializers_closure69, K._$serializers_closure70, K._$serializers_closure71, K._$serializers_closure72, K._$serializers_closure73, K._$serializers_closure74, K._$serializers_closure75, K._$serializers_closure76, K._$serializers_closure77, K._$serializers_closure78, K._$serializers_closure79, K._$serializers_closure80, B.ContextMenuItem_ContextMenuItem_closure, B.CopyInfo_CopyInfo_closure, B.CopyInfo_create_strands_move_closure, B.CopyInfo_create_strands_move_closure0, T.Crossover_Crossover_closure, N.Design_Design_closure, N.Design_Design_closure0, N.Design_Design_closure1, N.Design__initializeBuilder_closure, N.Design_helices_in_group_closure, N.Design_address_crossover_pairs_by_helix_idx_closure, N.Design_domain_mismatches_map_closure, N.Design_unpaired_insertion_deletion_map_closure, N.Design_max_offset_closure, N.Design_min_offset_closure, N.Design_add_strands_closure, N.Design_remove_strands_closure, N.Design_remove_strands__closure, N.Design_has_nondefault_min_offset_closure, N.Design__groups_from_json_closure, N.Design__groups_from_json_closure0, N.Design_from_json_closure, N.Design_from_json_closure0, N.Design_assign_modifications_to_strands_closure, N.Design_assign_modifications_to_strands_closure0, N.Design_assign_modifications_to_strands_closure1, N.Design_check_strands_overlap_legally_err_msg, N.Design_check_strands_overlap_legally_closure, N.Design_domains_on_helix_closure, N.Design_domains_on_helix_overlapping_closure, N.Design_domain_name_mismatches_closure, N.Design_base_pairs_with_domain_strand_closure, N.Design_base_pairs_with_domain_strand_closure0, N.Design_base_pairs_with_domain_strand_closure1, N.Design_base_pairs_with_domain_strand_closure2, N.Design__base_pairs_closure, N.Design_find_overlapping_domains_on_helix_closure, N.Design_find_overlapping_domains_on_helix_closure0, N.Design__cadnano_v2_import_circular_strands_merge_first_last_domains_closure, N._calculate_groups_from_helix_builder_closure, N.assign_default_helices_view_orders_to_groups_closure, N.construct_helix_idx_to_domains_map_closure, V.DesignSideRotationParams_DesignSideRotationParams_closure, V.DesignSideRotationData_DesignSideRotationData_closure, E.Dialog_Dialog_closure, E.DialogInteger_DialogInteger_closure, E.DialogFloat_DialogFloat_closure, E.DialogText_DialogText_closure, E.DialogTextArea_DialogTextArea_closure, E.DialogCheckbox_DialogCheckbox_closure, E.DialogRadio_DialogRadio_closure, E.DialogLink_DialogLink_closure, E.DialogLabel_DialogLabel_closure, X.DNAAssignOptions_DNAAssignOptions_closure, Z.DNAEnd_DNAEnd_closure, G.Insertion_Insertion_closure, G.Domain_Domain_closure, G.Domain_set_dna_sequence_closure, G.Domain_to_json_serializable_closure, G.Domain_parse_json_insertions_closure, G.Domain_dna_length_in_closure, G.Domain_dna_length_in_closure0, G.Domain_dna_sequence_deletions_insertions_to_spaces_closure, G.Domain_dna_sequence_deletions_insertions_to_spaces_closure0, G.Domain_dna_sequence_deletions_insertions_to_spaces_offset_out_of_bounds, G.Domain_net_ins_del_length_increase_from_5p_to_closure, G.Domain_net_ins_del_length_increase_from_5p_to_closure0, V.DomainsMove_DomainsMove_closure, D.strands_comparison_function_compare, D.csv_export_closure, D.idt_bulk_export_closure, S.Extension_Extension_closure, S.Extension_set_dna_sequence_closure, N.Geometry_Geometry_closure, N.Geometry_from_json_closure, N.Geometry_from_json_closure0, D.GridPosition_GridPosition_closure, O.HelixGroup_HelixGroup_closure, O.Helix_Helix_closure, O.Helix_relax_roll_closure, G.HelixGroupMove_HelixGroupMove_closure, G.HelixGroupMove_current_position_closure, Y.LocalStorageDesignChoice_LocalStorageDesignChoice_closure, Y.LocalStorageDesignChoice_to_on_edit_closure, Y.LocalStorageDesignChoice_to_on_exit_closure, Y.LocalStorageDesignChoice_to_never_closure, Y.LocalStorageDesignChoice_to_periodic_closure, Y.LocalStorageDesignChoice_change_period_closure, G.Loopout_Loopout_closure, G.Loopout_set_dna_sequence_closure, Z.Modification_from_json_closure, Z.Modification_from_json_closure0, Z.Modification_from_json_closure1, Z.Modification5Prime_Modification5Prime_closure, Z.Modification3Prime_Modification3Prime_closure, Z.ModificationInternal_ModificationInternal_closure, K.MouseoverParams_MouseoverParams_closure, K.MouseoverData_MouseoverData_closure, X.Position3D_Position3D_closure, S.PotentialCrossover_PotentialCrossover_closure, N.SelectModeState_add_mode_closure, N.SelectModeState_remove_mode_closure, N.SelectModeState_add_modes_closure, N.SelectModeState_remove_modes_closure, N.SelectModeState_set_modes_closure, E.SelectablesStore_selected_strands_closure, E.SelectablesStore_selected_crossovers_closure, E.SelectablesStore_selected_loopouts_closure, E.SelectablesStore_selected_extensions_closure, E.SelectablesStore_selected_domains_closure, E.SelectablesStore_selected_dna_ends_closure, E.SelectablesStore_selected_dna_ends_on_domains_closure, E.SelectablesStore_selected_dna_ends_on_extensions_closure, E.SelectablesStore_selected_deletions_closure, E.SelectablesStore_selected_insertions_closure, E.SelectablesStore_selected_modifications_closure, E.SelectablesStore_select_closure, E.SelectablesStore_unselect_closure, E.SelectablesStore_clear_closure, E.SelectablesStore_select_all_closure, E.SelectablesStore_toggle_all_closure, E.SelectionBox_SelectionBox_closure, F.SelectionRope_SelectionRope_closure, F.Line_Line_closure, E.Strand_Strand_closure, E.Strand__finalizeBuilder_closure, E.Strand__finalizeBuilder_closure0, E.Strand__finalizeBuilder_closure1, E.Strand__finalizeBuilder_closure2, E.Strand__rebuild_substrands_with_new_fields_based_on_strand_closure, E.Strand__rebuild_domain_with_new_fields_based_on_strand_closure, E.Strand__rebuild_loopout_with_new_fields_based_on_strand_closure, E.Strand__rebuild_extension_with_new_fields_based_on_strand_closure, E.Strand__rebuild_substrands_with_new_dna_sequences_based_on_strand_closure, E.Strand__at_least_one_substrand_has_dna_sequence_closure, E.Strand_remove_dna_sequence_closure, E.Strand_set_dna_sequence_closure, E.Strand__net_ins_del_length_increase_from_5p_to_closure, E.Strand__net_ins_del_length_increase_from_5p_to_closure0, E.Strand_from_json_closure, E.Strand_from_json_closure0, E.Strand_from_json_closure1, U.StrandCreation_StrandCreation_closure, U.StrandsMove_StrandsMove_closure, T.UndoRedo_UndoRedo_closure, T.UndoRedoItem_UndoRedoItem_closure, T.VendorFields_VendorFields_closure, T.VendorFields_from_json_closure, E.are_all_close_closure, E.get_text_file_content_closure, E.get_binary_file_content_closure, E.dialog_closure, E.dialog__closure, E.copy_svg_as_png_closure, E.wc_closure, E.svg_to_png_data_closure, E.async_alert_closure, E.average_angle_closure, B.$End3PrimeComponentFactory_closure, A.$End5PrimeComponentFactory_closure, U.DesignViewComponent_handle_keyboard_mouse_events_closure, U.DesignViewComponent_handle_keyboard_mouse_events_closure0, U.DesignViewComponent_handle_keyboard_mouse_events_closure1, U.DesignViewComponent_handle_keyboard_mouse_events_closure2, U.DesignViewComponent_handle_keyboard_mouse_events_closure3, U.DesignViewComponent_handle_keyboard_mouse_events_closure4, U.DesignViewComponent_handle_keyboard_mouse_events_end_select_mode, U.DesignViewComponent_handle_keyboard_mouse_events_closure5, U.DesignViewComponent_handle_keyboard_mouse_events_closure6, U.DesignViewComponent_handle_keyboard_mouse_events_closure7, U.DesignViewComponent_handle_keyboard_mouse_events_closure8, U.DesignViewComponent_install_draggable_closure, U.DesignViewComponent_install_draggable_closure0, U.DesignViewComponent_install_draggable_closure1, U.paste_strands_manually_closure, U.paste_strands_auto_closure, S.ConnectedDesignContextMenu_closure, S.context_menu_to_ul_closure, S.$DesignContextMenuComponentFactory_closure, S.$DesignContextSubmenuComponentFactory_closure, S.ConnectedDesignDialogForm_closure, S.DesignDialogFormComponent_getDerivedStateFromProps_closure, S.DesignDialogFormComponent_render_closure, S.DesignDialogFormComponent_dialog_for_closure, S.DesignDialogFormComponent_dialog_for__closure6, S.DesignDialogFormComponent_dialog_for__closure7, S.DesignDialogFormComponent_dialog_for_closure0, S.DesignDialogFormComponent_dialog_for__closure5, S.DesignDialogFormComponent_dialog_for_closure1, S.DesignDialogFormComponent_dialog_for__closure4, S.DesignDialogFormComponent_dialog_for_closure2, S.DesignDialogFormComponent_dialog_for__closure3, S.DesignDialogFormComponent_dialog_for_closure3, S.DesignDialogFormComponent_dialog_for__closure2, S.DesignDialogFormComponent_dialog_for_closure4, S.DesignDialogFormComponent_dialog_for__closure1, S.DesignDialogFormComponent_dialog_for_closure5, S.DesignDialogFormComponent_dialog_for__closure0, S.DesignDialogFormComponent_dialog_for_closure6, S.DesignDialogFormComponent_dialog_for__closure, S.$DesignDialogFormComponentFactory_closure, V.ConnectedDesignFooter_closure, V.$DesignFooterComponentFactory_closure, Q.ConnectedLoadingDialog_closure, Q.$DesignLoadingDialogComponentFactory_closure, V.ConnectedDesignMain_closure, V.DesignMainComponent_render_closure, V.DesignMainComponent_render_closure0, V.DesignMainComponent_render_closure1, V.DesignMainComponent_render_closure2, V.DesignMainComponent_render_closure3, V.DesignMainComponent_render_closure4, V.DesignMainComponent_render_closure5, V.$DesignMainComponentFactory_closure, Q.ConnectedDesignMainArrows_closure, Q.$DesignMainArrowsComponentFactory_closure0, Z.$DesignMainBasePairLinesComponentFactory_closure, V.$DesignMainBasePairRectangleComponentFactory_closure, O.$DesignMainDNAMismatchesComponentFactory_closure, U.$DesignMainDNASequenceComponentFactory_closure, M.$DesignMainDNASequencesComponentFactory_closure, T.$DesignMainDomainMovingComponentFactory_closure, R.$DesignMainDomainNameMismatchesComponentFactory_closure, Y.ConnectedDesignMainDomainsMoving_closure, Y.ConnectedDesignMainDomainsMoving__closure, Y.$DesignMainDomainsMovingComponentFactory_closure, X.$DesignMainErrorBoundaryComponentFactory_closure, V.$DesignMainHelicesComponentFactory_closure, T.DesignMainHelixComponent_render_closure, T.DesignMainHelixComponent_render_closure0, T.DesignMainHelixComponent_render_closure1, T.DesignMainHelixComponent_render_closure2, T.DesignMainHelixComponent_render_closure3, T.DesignMainHelixComponent_render_closure4, T.$DesignMainHelixComponentFactory_closure, K.$DesignMainLoopoutExtensionLengthComponentFactory_closure, Z.$DesignMainLoopoutExtensionLengthsComponentFactory_closure, K.DesignMainPotentialVerticalCrossoverComponent_render_closure, K.$DesignMainPotentialVerticalCrossoverComponentFactory_closure, S.DesignMainPotentialVerticalCrossoversComponent_render_closure, S.$DesignMainPotentialVerticalCrossoversComponentFactory_closure, M.DesignMainSliceBarComponent_render_closure, M.$DesignMainSliceBarComponentFactory_closure, M.DesignMainStrandComponent_render_closure, M.DesignMainStrandComponent_assign_dna_closure, M.DesignMainStrandComponent_add_modification_closure, M.DesignMainStrandComponent_set_strand_name_closure, M.DesignMainStrandComponent_set_strand_label_closure, M.DesignMainStrandComponent_set_domain_names_closure, M.DesignMainStrandComponent_set_domain_labels_closure, M.DesignMainStrandComponent_remove_dna_closure, M.DesignMainStrandComponent_reflect_closure, M.DesignMainStrandComponent_context_menu_strand_closure, M.DesignMainStrandComponent_context_menu_strand_closure0, M.DesignMainStrandComponent_context_menu_strand_closure1, M.DesignMainStrandComponent_context_menu_strand_closure2, M.DesignMainStrandComponent_context_menu_strand_closure3, M.DesignMainStrandComponent_context_menu_strand_closure4, M.DesignMainStrandComponent_context_menu_strand_closure5, M.DesignMainStrandComponent_context_menu_strand_closure6, M.DesignMainStrandComponent_context_menu_strand_closure7, M.DesignMainStrandComponent_context_menu_strand_closure8, M.DesignMainStrandComponent_context_menu_strand_closure9, M.DesignMainStrandComponent_context_menu_strand__closure3, M.DesignMainStrandComponent_context_menu_strand_closure10, M.DesignMainStrandComponent_context_menu_strand_closure11, M.DesignMainStrandComponent_context_menu_strand_closure12, M.DesignMainStrandComponent_context_menu_strand__closure2, M.DesignMainStrandComponent_context_menu_strand_closure13, M.DesignMainStrandComponent_context_menu_strand__closure1, M.DesignMainStrandComponent_context_menu_strand_closure14, M.DesignMainStrandComponent_context_menu_strand_closure15, M.DesignMainStrandComponent_context_menu_strand__closure0, M.DesignMainStrandComponent_context_menu_strand_closure16, M.DesignMainStrandComponent_context_menu_strand_closure17, M.DesignMainStrandComponent_context_menu_strand_closure18, M.DesignMainStrandComponent_context_menu_strand_closure19, M.DesignMainStrandComponent_context_menu_strand_closure20, M.DesignMainStrandComponent_context_menu_strand__closure, M.DesignMainStrandComponent_select_scale_index_for_multiple_strands_closure, M.DesignMainStrandComponent_select_scale_index_for_multiple_strands_closure0, M.DesignMainStrandComponent_custom_scale_value_closure, M.DesignMainStrandComponent_custom_purification_value_closure, M.DesignMainStrandComponent_select_purification_index_for_multiple_strands_closure, M.DesignMainStrandComponent_select_purification_index_for_multiple_strands_closure0, M.DesignMainStrandComponent_select_plate_number_closure, M.DesignMainStrandComponent_ask_for_assign_scale_purification_fields_closure, M.DesignMainStrandComponent_ask_for_assign_scale_purification_fields_closure0, M.DesignMainStrandComponent_ask_for_domain_names_closure, M.ask_for_label_closure, M.batch_if_multiple_selected_closure, M.get_selected_domains_closure, M.get_selected_domains_closure0, M.scaffold_set_strand_action_creator_closure, M.remove_dna_strand_action_creator_closure, M.name_set_strand_action_creator_closure, M.label_set_strand_action_creator_closure, M.$DesignMainStrandComponentFactory_closure, S.$DesignMainStrandAndDomainTextsComponentFactory_closure, R.$DesignMainStrandCreatingComponentFactory_closure, Q.DesignMainStrandCrossoverComponent_render_closure, Q.DesignMainStrandCrossoverComponent_render_closure0, Q.DesignMainStrandCrossoverComponent_render_closure1, Q.DesignMainStrandCrossoverComponent_render_closure2, Q.$DesignMainStrandCrossoverComponentFactory_closure, A.DesignMainStrandDeletionComponent_render_closure, A.DesignMainStrandDeletionComponent_render_closure0, A.DesignMainStrandDeletionComponent_render_closure1, A.DesignMainStrandDeletionComponent_render_closure2, A.$DesignMainStrandDeletionComponentFactory_closure, S.$DesignMainDNAEndComponentFactory_closure, F.ConnectedEndMoving_closure, F.$EndMovingComponentFactory_closure, T.ConnectedExtensionEndMoving_closure, T.$ExtensionEndMovingComponentFactory_closure, T.DesignMainDomainComponent_render_closure, T.DesignMainDomainComponent_render_closure0, T.DesignMainDomainComponent_render_closure1, T.$DesignMainDomainComponentFactory_closure, B.$DesignMainStrandDomainTextComponentFactory_closure, Q.DesignMainExtensionComponent_context_menu_extension_closure, Q.DesignMainExtensionComponent_context_menu_extension__closure0, Q.DesignMainExtensionComponent_context_menu_extension_closure0, Q.DesignMainExtensionComponent_context_menu_extension__closure, Q.DesignMainExtensionComponent_context_menu_extension_closure1, Q.DesignMainExtensionComponent_context_menu_extension_closure2, Q.DesignMainExtensionComponent_extension_num_bases_change_closure, Q.DesignMainExtensionComponent_set_extension_label_closure, Q.DesignMainExtensionComponent_ask_for_extension_name_closure, Q.$DesignMainExtensionComponentFactory_closure, R.$DesignMainStrandExtensionTextComponentFactory_closure, A.DesignMainStrandInsertionComponent_render_closure, A.DesignMainStrandInsertionComponent_render_closure0, A.DesignMainStrandInsertionComponent__insertion_background_closure, A.$DesignMainStrandInsertionComponentFactory_closure, R.DesignMainLoopoutComponent_render_closure, R.DesignMainLoopoutComponent_render_closure0, R.DesignMainLoopoutComponent_render_closure1, R.DesignMainLoopoutComponent_render_closure2, R.DesignMainLoopoutComponent_context_menu_loopout_closure, R.DesignMainLoopoutComponent_context_menu_loopout__closure0, R.DesignMainLoopoutComponent_context_menu_loopout_closure0, R.DesignMainLoopoutComponent_context_menu_loopout__closure, R.DesignMainLoopoutComponent_context_menu_loopout_closure1, R.DesignMainLoopoutComponent_context_menu_loopout_closure2, R.DesignMainLoopoutComponent_loopout_length_change_closure, R.DesignMainLoopoutComponent_set_loopout_label_closure, R.DesignMainLoopoutComponent_ask_for_loopout_name_closure, R.$DesignMainLoopoutComponentFactory_closure, S.$DesignMainStrandLoopoutTextComponentFactory_closure, X.DesignMainStrandModificationComponent_render_closure, X.DesignMainStrandModificationComponent_render_closure0, X.DesignMainStrandModificationComponent_context_menu_modification_closure, X.edit_modification_closure, X.edit_modification_closure0, X.edit_modification_closure1, X.$DesignMainStrandModificationComponentFactory_closure, R.$DesignMainStrandModificationsComponentFactory_closure, T.$DesignMainStrandMovingComponentFactory_closure, B.$DesignMainStrandPathsComponentFactory_closure, E.ConnectedDesignMainStrands_closure, E.DesignMainStrandsComponent_render_closure, E.$DesignMainStrandsComponentFactory_closure, F.ConnectedDesignMainStrandsMoving_closure, F.$DesignMainStrandsMovingComponentFactory_closure, B.$DesignMainUnpairedInsertionDeletionsComponentFactory_closure, R.$DesignMainWarningStarComponentFactory_closure, U.ConnectedDesignSide_closure, U.DesignSideComponent_render_closure, U.$DesignSideComponentFactory_closure, S.ConnectedDesignSideArrows_closure, S.$DesignMainArrowsComponentFactory_closure, B.DesignSideHelixComponent_render_closure, B.DesignSideHelixComponent_render_closure0, B.$DesignSideHelixComponentFactory_closure, Y.$DesignSidePotentialHelixComponentFactory_closure, O.$DesignSideRotationComponentFactory_closure, E.$DesignSideRotationArrowComponentFactory_closure, Z.ConnectedEditAndSelectModes_closure, Z.EditAndSelectModesComponent_render_closure, Z.$EditAndSelectModesComponentFactory_closure, M.EditModeComponent__button_for_choice_closure, M.$EditModeComponentFactory_closure, V.context_menu_helix_dialog_helix_set_min_offset, V.context_menu_helix_dialog_helix_set_max_offset, V.context_menu_helix_dialog_helix_set_idx, V.context_menu_helix_dialog_helix_set_roll, V.context_menu_helix_dialog_helix_set_major_tick_marks, V.context_menu_helix_dialog_helix_set_grid_position, V.context_menu_helix_dialog_helix_set_position, V.context_menu_helix_dialog_helix_set_group, V.context_menu_helix_helix_set_min_offset, V.context_menu_helix_helix_set_max_offset, V.context_menu_helix_helix_set_idx, V.context_menu_helix_helix_set_major_tick_marks, V.context_menu_helix_helix_set_roll, V.context_menu_helix_helix_set_position, V.context_menu_helix_helix_set_grid_position, V.context_menu_helix_helix_set_group, V.parse_major_ticks_and_check_validity_closure, V.parse_major_ticks_and_check_validity_closure0, V.parse_major_ticks_and_check_validity_closure1, V.parse_major_ticks_and_check_validity_closure2, V.parse_major_ticks_and_check_validity_closure3, V.parse_major_tick_distances_and_check_validity_closure, V.parse_helix_idxs_and_check_validity_closure, O.ConnectedHelixGroupMoving_closure, O.HelixGroupMovingComponent_render_closure, O.$HelixGroupMovingComponentFactory_closure, D.ConnectedMenu_closure, D.ConnectedMenu__closure, D.MenuComponent_file_menu_closure, D.MenuComponent_file_menu_closure0, D.MenuComponent_file_menu_closure1, D.MenuComponent_file_menu_closure2, D.MenuComponent_file_menu_closure3, D.MenuComponent_file_menu_closure4, D.MenuComponent_file_menu_closure5, D.MenuComponent_file_menu_closure6, D.MenuComponent_file_menu_save_design_local_storage_options_closure, D.MenuComponent_file_menu_save_design_local_storage_options_closure0, D.MenuComponent_file_menu_save_design_local_storage_options_closure1, D.MenuComponent_file_menu_save_design_local_storage_options_closure2, D.MenuComponent_file_menu_save_design_local_storage_options_closure3, D.MenuComponent_edit_menu_closure, D.MenuComponent_edit_menu_closure0, D.MenuComponent_edit_menu_closure1, D.MenuComponent_edit_menu_closure2, D.MenuComponent_edit_menu_closure3, D.MenuComponent_edit_menu_closure4, D.MenuComponent_undo_dropdowns_closure, D.MenuComponent_redo_dropdowns_closure, D.MenuComponent_undo_or_redo_dropdown_closure, D.MenuComponent_edit_menu_copy_paste_closure, D.MenuComponent_edit_menu_copy_paste_closure0, D.MenuComponent_edit_menu_copy_paste_closure1, D.MenuComponent_edit_menu_copy_paste_closure2, D.MenuComponent_edit_menu_copy_paste_closure3, D.MenuComponent_edit_menu_copy_paste_closure4, D.MenuComponent_edit_menu_copy_paste_closure5, D.MenuComponent_edit_menu_copy_paste_closure6, D.MenuComponent_edit_menu_copy_paste_closure7, D.MenuComponent_edit_menu_helix_rolls_closure, D.MenuComponent_edit_menu_helix_rolls_closure0, D.MenuComponent_edit_menu_helix_rolls_closure1, D.MenuComponent_edit_menu_helix_rolls_closure2, D.MenuComponent_edit_menu_helix_rolls_closure3, D.MenuComponent_view_menu_autofit_closure, D.MenuComponent_view_menu_autofit_closure0, D.MenuComponent_view_menu_warnings_closure, D.MenuComponent_view_menu_warnings_closure0, D.MenuComponent_view_menu_warnings_closure1, D.MenuComponent_view_menu_show_labels_closure, D.MenuComponent_view_menu_show_labels_closure0, D.MenuComponent_view_menu_show_labels_closure1, D.MenuComponent_view_menu_show_labels_closure2, D.MenuComponent_view_menu_show_labels_closure3, D.MenuComponent_view_menu_show_labels_closure4, D.MenuComponent_view_menu_show_labels_closure5, D.MenuComponent_view_menu_show_labels_closure6, D.MenuComponent_view_menu_mods_closure, D.MenuComponent_view_menu_mods_closure0, D.MenuComponent_view_menu_mods_closure1, D.MenuComponent_view_menu_helices_closure, D.MenuComponent_view_menu_helices_closure0, D.MenuComponent_view_menu_helices_closure1, D.MenuComponent_view_menu_helices_closure2, D.MenuComponent_view_menu_display_major_ticks_options_closure, D.MenuComponent_view_menu_display_major_ticks_options_closure0, D.MenuComponent_view_menu_display_major_ticks_options_closure1, D.MenuComponent_view_menu_display_major_ticks_options_closure2, D.MenuComponent_view_menu_display_major_ticks_options_closure3, D.MenuComponent_view_menu_display_major_ticks_options_closure4, D.MenuComponent_view_menu_base_pairs_closure, D.MenuComponent_view_menu_base_pairs_closure0, D.MenuComponent_view_menu_base_pairs_closure1, D.MenuComponent_view_menu_dna_closure, D.MenuComponent_view_menu_dna_closure0, D.MenuComponent_view_menu_show_oxview_closure, D.MenuComponent_view_menu_zoom_speed_closure, D.MenuComponent_view_menu_misc_closure, D.MenuComponent_view_menu_misc_closure0, D.MenuComponent_view_menu_misc_closure1, D.MenuComponent_view_menu_misc_closure2, D.MenuComponent_view_menu_misc_closure3, D.MenuComponent_view_menu_misc_closure4, D.MenuComponent_view_menu_misc_closure5, D.MenuComponent_export_menu_closure, D.MenuComponent_export_menu_closure0, D.MenuComponent_export_menu_closure1, D.MenuComponent_export_menu_closure2, D.MenuComponent_export_menu_closure3, D.MenuComponent_export_menu_closure4, D.MenuComponent_export_menu_closure5, D.MenuComponent_export_menu_closure6, D.MenuComponent_export_menu_closure7, D.MenuComponent_export_menu_closure8, D.MenuComponent_export_menu_closure9, D.MenuComponent_help_menu_closure, D.request_load_file_from_file_chooser_closure, D.request_load_file_from_file_chooser_closure0, D.$MenuComponentFactory_closure, Z.$MenuBooleanComponentFactory_closure, N.$MenuDropdownItemComponentFactory_closure, M.$MenuDropdownRightComponentFactory_closure, O.MenuFormFileComponent_render_closure, O.$MenuFormFileComponentFactory_closure, M.MenuNumberComponent_render_closure, M.$MenuNumberComponentFactory_closure, Q.ConnectedSideMenu_closure, Q.SideMenuComponent_groups_menu_closure, Q.SideMenuComponent_groups_menu_closure0, Q.SideMenuComponent_groups_menu_closure1, Q.SideMenuComponent_groups_menu_closure2, Q.SideMenuComponent_groups_menu_closure3, Q.SideMenuComponent_grid_menu_closure, Q.SideMenuComponent_add_new_group_closure, Q.SideMenuComponent_ask_new_helix_indices_for_current_group_closure, Q.SideMenuComponent_ask_new_helix_indices_for_current_group__closure, Q.$SideMenuComponentFactory_closure, M.ConnectedPotentialCrossoverView_closure, M.$PotentialCrossoverViewComponentFactory_closure, R.ConnectedPotentialExtensionsView_closure, R.PotentialExtensionsViewComponent_render_closure, R.$PotentialExtensionsViewComponentFactory_closure, D.SelectModeComponent_render_closure, D.SelectModeComponent_render_closure0, D.$SelectModeComponentFactory_closure, Y.ConnectedSelectionBoxView_closure, Y.$SelectionBoxViewComponentFactory_closure, A.ConnectedSelectionRopeView_closure, A.$SelectionRopeViewComponentFactory_closure, A.ConnectedStrandOrSubstrandColorPicker_closure, A.StrandOrSubstrandColorPickerComponent_color_set_strand_action_creator_closure, A.StrandOrSubstrandColorPickerComponent_color_set_substrand_action_creator_closure, A.StrandOrSubstrandColorPickerComponent_batch_if_multiple_selected_strands_closure, A.$StrandOrSubstrandColorPickerComponentFactory_closure, Q.setup_file_drag_and_drop_listener_closure, Q.setup_file_drag_and_drop_listener_closure0, Q.setup_file_drag_and_drop_listener__closure, Q.setup_file_drag_and_drop_listener__closure0, Q.setup_file_drag_and_drop_listener__closure1, U.Highlighter_closure, U.Highlighter$__closure, U.Highlighter$___closure, U.Highlighter$__closure0, U.Highlighter__collateLines_closure, U.Highlighter__collateLines_closure0, U.Highlighter__collateLines_closure1, U.Highlighter__collateLines__closure, U.Highlighter_highlight_closure, U.Highlighter__writeFileStart_closure, U.Highlighter__writeMultilineHighlights_closure, U.Highlighter__writeMultilineHighlights_closure0, U.Highlighter__writeMultilineHighlights_closure1, U.Highlighter__writeMultilineHighlights_closure2, U.Highlighter__writeMultilineHighlights__closure, U.Highlighter__writeMultilineHighlights__closure0, U.Highlighter__writeHighlightedText_closure, U.Highlighter__writeIndicator_closure, U.Highlighter__writeIndicator_closure0, U.Highlighter__writeIndicator_closure1, U.Highlighter__writeSidebar_closure, U._Highlight_closure, U.OdsDecoder__parseContent_closure, U.OdsDecoder__parseStyles_closure, U.OdsDecoder__parseTable_closure, U.OdsDecoder__parseTable_closure0, U.OdsDecoder__parseRow_closure, U.OdsDecoder__parseRow_closure0, U.OdsDecoder__readCell_closure, U.OdsDecoder__readString_closure, U.SpreadsheetDecoder__cloneArchive_closure, U.SpreadsheetDecoder__isEmptyRow_closure, U.cellCoordsFromCellId_closure, U.XlsxDecoder_insertRow_closure, U.XlsxDecoder_insertRow_closure0, U.XlsxDecoder_insertRow__closure, U.XlsxDecoder__parseRelations_closure, U.XlsxDecoder__parseStyles_closure, U.XlsxDecoder__parseSharedStrings_closure, U.XlsxDecoder__parseSharedString_closure, U.XlsxDecoder__parseContent_closure, U.XlsxDecoder__parseTable_closure, U.XlsxDecoder__parseRow_closure, U.XlsxDecoder__parseValue_closure, L.ManagedDisposer_dispose_closure, L._ObservableTimer_closure, L.Disposable__addObservableTimerDisposable_closure, L.Disposable__addObservableTimerDisposable_closure0, V.XmlGrammarDefinition_attribute_closure, V.XmlGrammarDefinition_attributeValueDouble_closure, V.XmlGrammarDefinition_attributeValueSingle_closure, V.XmlGrammarDefinition_comment_closure, V.XmlGrammarDefinition_declaration_closure, V.XmlGrammarDefinition_cdata_closure, V.XmlGrammarDefinition_doctype_closure, V.XmlGrammarDefinition_document_closure, V.XmlGrammarDefinition_element_closure, V.XmlGrammarDefinition_processing_closure, L.XmlDeclaration_copy_closure, S.XmlDocument_copy_closure, S.documentParserCache_closure, G.XmlElement_copy_closure, G.XmlElement_copy_closure0, N.createNameMatcher_closure, N.createNameMatcher_closure0, N.createNameMatcher_closure1, N.createNameMatcher_closure2, N.createNameMatcher_closure3, B.XmlNodeList_removeWhere_closure, B.XmlNodeList__expandFragment_closure]); + _inherit(H.CastList, H._CastListBase); + _inherit(P.MapBase, P.MapMixin); + _inheritMany(P.MapBase, [H.CastMap, H.JsLinkedHashMap, P._HashMap, P._JsonMap, W._AttributeMap, S._UiProps_MapBase_MapViewMixin, L.JsBackedMap]); + _inheritMany(P.Error, [H.LateError, H.ReachabilityError, H.NotNullableError, P.TypeError, H.JsNoSuchMethodError, H.UnknownJsTypeError, H.RuntimeError, P.AssertionError, H._Error, P.JsonUnsupportedObjectError, P.NullThrownError, P.ArgumentError, P.NoSuchMethodError, P.UnsupportedError, P.UnimplementedError, P.StateError, P.ConcurrentModificationError, P.CyclicInitializationError, Y.BuiltValueNullFieldError, Y.BuiltValueNestedFieldError, U.DeserializationError, B.UngeneratedError]); + _inherit(P.ListBase, P._ListBase_Object_ListMixin); + _inheritMany(P.ListBase, [H.UnmodifiableListBase, W._FrozenElementList, W._ChildNodeListLazy, P.FilteredElementList]); + _inheritMany(H.UnmodifiableListBase, [H.CodeUnits, P.UnmodifiableListView, P._UnmodifiableUint8ListView_UnmodifiableListBase__UnmodifiableListMixin, P._UnmodifiableInt32ListView_UnmodifiableListBase__UnmodifiableListMixin]); + _inheritMany(H.EfficientLengthIterable, [H.ListIterable, H.EmptyIterable, H.LinkedHashMapKeyIterable, P._HashMapKeyIterable, P._MapBaseValueIterable]); + _inheritMany(H.ListIterable, [H.SubListIterable, H.MappedListIterable, H.ReversedListIterable, P.ListQueue, P._JsonMapKeyIterable]); + _inherit(H.EfficientLengthMappedIterable, H.MappedIterable); + _inheritMany(P.Iterator, [H.MappedIterator, H.WhereIterator, H.TakeIterator, H.TakeWhileIterator, H.SkipIterator, H.SkipWhileIterator, U.XmlDescendantsIterator]); + _inherit(H.EfficientLengthTakeIterable, H.TakeIterable); + _inherit(H.EfficientLengthSkipIterable, H.SkipIterable); + _inherit(P._UnmodifiableMapView_MapView__UnmodifiableMapMixin, P.MapView); + _inherit(P.UnmodifiableMapView, P._UnmodifiableMapView_MapView__UnmodifiableMapMixin); + _inherit(H.ConstantMapView, P.UnmodifiableMapView); + _inheritMany(H.ConstantMap, [H.ConstantStringMap, H.GeneralConstantMap]); + _inherit(H.Instantiation1, H.Instantiation); + _inherit(H.NullError, P.TypeError); + _inheritMany(H.TearOffClosure, [H.StaticClosure, H.BoundClosure]); + _inherit(H._AssertionError, P.AssertionError); + _inheritMany(P.IterableBase, [H._AllMatchesIterable, P._SyncStarIterable, D.Archive, U.XmlDescendantsIterable]); + _inheritMany(H.NativeTypedData, [H.NativeByteData, H.NativeTypedArray]); + _inheritMany(H.NativeTypedArray, [H._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin, H._NativeTypedArrayOfInt_NativeTypedArray_ListMixin]); + _inherit(H._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin_FixedLengthListMixin, H._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin); + _inherit(H.NativeTypedArrayOfDouble, H._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin_FixedLengthListMixin); + _inherit(H._NativeTypedArrayOfInt_NativeTypedArray_ListMixin_FixedLengthListMixin, H._NativeTypedArrayOfInt_NativeTypedArray_ListMixin); + _inherit(H.NativeTypedArrayOfInt, H._NativeTypedArrayOfInt_NativeTypedArray_ListMixin_FixedLengthListMixin); + _inheritMany(H.NativeTypedArrayOfDouble, [H.NativeFloat32List, H.NativeFloat64List]); + _inheritMany(H.NativeTypedArrayOfInt, [H.NativeInt16List, H.NativeInt32List, H.NativeInt8List, H.NativeUint16List, H.NativeUint32List, H.NativeUint8ClampedList, H.NativeUint8List]); + _inherit(H._TypeError, H._Error); + _inheritMany(P._StreamImpl, [P._ControllerStream, P._GeneratedStreamImpl]); + _inherit(P._BroadcastStream, P._ControllerStream); + _inheritMany(P._BufferingStreamSubscription, [P._ControllerSubscription, P._ForwardingStreamSubscription]); + _inherit(P._BroadcastSubscription, P._ControllerSubscription); + _inheritMany(P._BroadcastStreamController, [P._SyncBroadcastStreamController, P._AsyncBroadcastStreamController]); + _inheritMany(P._Completer, [P._AsyncCompleter, P._SyncCompleter]); + _inherit(P._SyncStreamController, P._StreamController); + _inheritMany(P._PendingEvents, [P._IterablePendingEvents, P._StreamImplEvents]); + _inheritMany(P._DelayedEvent, [P._DelayedData, P._DelayedError]); + _inherit(P._MapStream, P._ForwardingStream); + _inherit(P._RootZone, P._Zone); + _inheritMany(P._HashMap, [P._IdentityHashMap, P._CustomHashMap]); + _inheritMany(H.JsLinkedHashMap, [P._LinkedIdentityHashMap, P._LinkedCustomHashMap]); + _inherit(P._SetBase, P.__SetBase_Object_SetMixin); + _inheritMany(P._SetBase, [P._HashSet, P._LinkedHashSet, P.__UnmodifiableSet__SetBase__UnmodifiableSetMixin]); + _inherit(P.SetBase, P._SetBase_Object_SetMixin); + _inherit(P._UnmodifiableSet, P.__UnmodifiableSet__SetBase__UnmodifiableSetMixin); + _inheritMany(P.Codec, [P.Encoding, P.Base64Codec, P.JsonCodec]); + _inheritMany(P.Encoding, [P.AsciiCodec, P.Latin1Codec, P.Utf8Codec]); + _inherit(P.Converter, P.StreamTransformerBase); + _inheritMany(P.Converter, [P._UnicodeSubsetEncoder, P._UnicodeSubsetDecoder, P.Base64Encoder, P.Base64Decoder, P.HtmlEscape, P.JsonEncoder, P.JsonDecoder, P.Utf8Encoder, P.Utf8Decoder]); + _inheritMany(P._UnicodeSubsetEncoder, [P.AsciiEncoder, P.Latin1Encoder]); + _inheritMany(P._UnicodeSubsetDecoder, [P.AsciiDecoder, P.Latin1Decoder]); + _inherit(P.ByteConversionSink, P.ChunkedConversionSink); + _inherit(P.ByteConversionSinkBase, P.ByteConversionSink); + _inherit(P._ByteCallbackSink, P.ByteConversionSinkBase); + _inherit(P.JsonCyclicError, P.JsonUnsupportedObjectError); + _inherit(P._JsonStringStringifier, P._JsonStringifier); + _inherit(P.__JsonStringStringifierPretty__JsonStringStringifier__JsonPrettyPrintMixin, P._JsonStringStringifier); + _inherit(P._JsonStringStringifierPretty, P.__JsonStringStringifierPretty__JsonStringStringifier__JsonPrettyPrintMixin); + _inheritMany(P.ArgumentError, [P.RangeError, P.IndexError]); + _inherit(P._DataUri, P._Uri); + _inheritMany(W.EventTarget, [W.Node, W.AccessibleNode, W.FileReader, W.FileWriter, W.FontFaceSet, W.HttpRequestEventTarget, W.MediaKeySession, W.MessagePort, W.PresentationAvailability, W.SourceBuffer, W._SourceBufferList_EventTarget_ListMixin, W.TextTrack, W.TextTrackCue, W._TextTrackList_EventTarget_ListMixin, W.VideoTrackList, W.Window, W.WorkerGlobalScope, P.Request0, P.AudioNode, P.AudioTrackList, P.BaseAudioContext]); + _inheritMany(W.Node, [W.Element, W.CharacterData, W.Document, W._Attr]); + _inheritMany(W.Element, [W.HtmlElement, P.SvgElement]); + _inheritMany(W.HtmlElement, [W.AnchorElement, W.AreaElement, W.BaseElement, W.BodyElement, W.ButtonElement, W.CanvasElement, W.DataElement, W.DivElement, W.FormElement, W.IFrameElement, W.ImageElement, W.InputElement, W.LIElement, W.MediaElement, W.MeterElement, W.OptionElement, W.OutputElement, W.ParamElement, W.PreElement, W.ProgressElement, W.SelectElement, W.TemplateElement, W.TextAreaElement]); + _inheritMany(W.Event, [W.ApplicationCacheErrorEvent, W.BeforeUnloadEvent, W.ErrorEvent, W.UIEvent, W.MediaKeyMessageEvent, W.PresentationConnectionCloseEvent, W.ProgressEvent, W.SpeechRecognitionError, P.VersionChangeEvent]); + _inheritMany(W.CssStyleValue, [W.CssKeywordValue, W.CssNumericValue, W.CssTransformValue, W.CssUnparsedValue]); + _inherit(W.CssPerspective, W.CssTransformComponent); + _inherit(W.CssStyleDeclaration, W._CssStyleDeclaration_Interceptor_CssStyleDeclarationBase); + _inherit(W.CssStyleRule, W.CssRule); + _inherit(W.CssStyleSheet, W.StyleSheet); + _inherit(W.CssUnitValue, W.CssNumericValue); + _inheritMany(W.ReportBody, [W.DeprecationReport, W.InterventionReport]); + _inherit(W.DomPoint, W.DomPointReadOnly); + _inherit(W._DomRectList_Interceptor_ListMixin_ImmutableListMixin, W._DomRectList_Interceptor_ListMixin); + _inherit(W.DomRectList, W._DomRectList_Interceptor_ListMixin_ImmutableListMixin); + _inherit(W._DomStringList_Interceptor_ListMixin_ImmutableListMixin, W._DomStringList_Interceptor_ListMixin); + _inherit(W.DomStringList, W._DomStringList_Interceptor_ListMixin_ImmutableListMixin); + _inherit(W.ElementEvents, W.Events); + _inherit(W.File, W.Blob); + _inherit(W._FileList_Interceptor_ListMixin_ImmutableListMixin, W._FileList_Interceptor_ListMixin); + _inherit(W.FileList, W._FileList_Interceptor_ListMixin_ImmutableListMixin); + _inherit(W._HtmlCollection_Interceptor_ListMixin_ImmutableListMixin, W._HtmlCollection_Interceptor_ListMixin); + _inherit(W.HtmlCollection, W._HtmlCollection_Interceptor_ListMixin_ImmutableListMixin); + _inherit(W.HtmlDocument, W.Document); + _inherit(W.HttpRequest, W.HttpRequestEventTarget); + _inheritMany(W.UIEvent, [W.KeyboardEvent, W.MouseEvent, W.TouchEvent]); + _inherit(W.MidiInputMap, W._MidiInputMap_Interceptor_MapMixin); + _inherit(W.MidiOutputMap, W._MidiOutputMap_Interceptor_MapMixin); + _inherit(W._MimeTypeArray_Interceptor_ListMixin_ImmutableListMixin, W._MimeTypeArray_Interceptor_ListMixin); + _inherit(W.MimeTypeArray, W._MimeTypeArray_Interceptor_ListMixin_ImmutableListMixin); + _inherit(W._NodeList_Interceptor_ListMixin_ImmutableListMixin, W._NodeList_Interceptor_ListMixin); + _inherit(W.NodeList, W._NodeList_Interceptor_ListMixin_ImmutableListMixin); + _inherit(W._PluginArray_Interceptor_ListMixin_ImmutableListMixin, W._PluginArray_Interceptor_ListMixin); + _inherit(W.PluginArray, W._PluginArray_Interceptor_ListMixin_ImmutableListMixin); + _inherit(W.PointerEvent, W.MouseEvent); + _inherit(W.ProcessingInstruction, W.CharacterData); + _inherit(W.RtcStatsReport, W._RtcStatsReport_Interceptor_MapMixin); + _inherit(W._SourceBufferList_EventTarget_ListMixin_ImmutableListMixin, W._SourceBufferList_EventTarget_ListMixin); + _inherit(W.SourceBufferList, W._SourceBufferList_EventTarget_ListMixin_ImmutableListMixin); + _inherit(W._SpeechGrammarList_Interceptor_ListMixin_ImmutableListMixin, W._SpeechGrammarList_Interceptor_ListMixin); + _inherit(W.SpeechGrammarList, W._SpeechGrammarList_Interceptor_ListMixin_ImmutableListMixin); + _inherit(W.Storage, W._Storage_Interceptor_MapMixin); + _inherit(W._TextTrackCueList_Interceptor_ListMixin_ImmutableListMixin, W._TextTrackCueList_Interceptor_ListMixin); + _inherit(W.TextTrackCueList, W._TextTrackCueList_Interceptor_ListMixin_ImmutableListMixin); + _inherit(W._TextTrackList_EventTarget_ListMixin_ImmutableListMixin, W._TextTrackList_EventTarget_ListMixin); + _inherit(W.TextTrackList, W._TextTrackList_EventTarget_ListMixin_ImmutableListMixin); + _inherit(W._TouchList_Interceptor_ListMixin_ImmutableListMixin, W._TouchList_Interceptor_ListMixin); + _inherit(W.TouchList, W._TouchList_Interceptor_ListMixin_ImmutableListMixin); + _inherit(W.VideoElement, W.MediaElement); + _inheritMany(W._WrappedEvent, [W._BeforeUnloadEvent, W.KeyEvent]); + _inherit(W.__CssRuleList_Interceptor_ListMixin_ImmutableListMixin, W.__CssRuleList_Interceptor_ListMixin); + _inherit(W._CssRuleList, W.__CssRuleList_Interceptor_ListMixin_ImmutableListMixin); + _inherit(W._DomRect, W.DomRectReadOnly); + _inherit(W.__GamepadList_Interceptor_ListMixin_ImmutableListMixin, W.__GamepadList_Interceptor_ListMixin); + _inherit(W._GamepadList, W.__GamepadList_Interceptor_ListMixin_ImmutableListMixin); + _inherit(W.__NamedNodeMap_Interceptor_ListMixin_ImmutableListMixin, W.__NamedNodeMap_Interceptor_ListMixin); + _inherit(W._NamedNodeMap, W.__NamedNodeMap_Interceptor_ListMixin_ImmutableListMixin); + _inherit(W.__SpeechRecognitionResultList_Interceptor_ListMixin_ImmutableListMixin, W.__SpeechRecognitionResultList_Interceptor_ListMixin); + _inherit(W._SpeechRecognitionResultList, W.__SpeechRecognitionResultList_Interceptor_ListMixin_ImmutableListMixin); + _inherit(W.__StyleSheetList_Interceptor_ListMixin_ImmutableListMixin, W.__StyleSheetList_Interceptor_ListMixin); + _inherit(W._StyleSheetList, W.__StyleSheetList_Interceptor_ListMixin_ImmutableListMixin); + _inherit(W._ElementAttributeMap, W._AttributeMap); + _inherit(P.CssClassSetImpl, P.SetBase); + _inheritMany(P.CssClassSetImpl, [W._ElementCssClassSet, P.AttributeClassSet]); + _inherit(W._ElementEventStreamImpl, W._EventStream); + _inherit(W._EventStreamSubscription, P.StreamSubscription); + _inherit(W._TemplatingNodeValidator, W._SimpleNodeValidator); + _inherit(P._StructuredCloneDart2Js, P._StructuredClone); + _inherit(P._AcceptStructuredCloneDart2Js, P._AcceptStructuredClone); + _inherit(P.CursorWithValue, P.Cursor); + _inheritMany(P.JsObject, [P.JsFunction, P._JsArray_JsObject_ListMixin]); + _inherit(P.JsArray, P._JsArray_JsObject_ListMixin); + _inherit(P.Rectangle, P._RectangleBase); + _inheritMany(P.SvgElement, [P.GraphicsElement, P.FEGaussianBlurElement, P.FEMergeElement, P.FEMergeNodeElement, P.FilterElement]); + _inheritMany(P.GraphicsElement, [P.AElement, P.GeometryElement, P.DefsElement, P.GElement, P.SvgSvgElement, P.TextContentElement]); + _inheritMany(P.GeometryElement, [P.CircleElement, P.PolygonElement, P.RectElement]); + _inherit(P._LengthList_Interceptor_ListMixin_ImmutableListMixin, P._LengthList_Interceptor_ListMixin); + _inherit(P.LengthList, P._LengthList_Interceptor_ListMixin_ImmutableListMixin); + _inherit(P._NumberList_Interceptor_ListMixin_ImmutableListMixin, P._NumberList_Interceptor_ListMixin); + _inherit(P.NumberList, P._NumberList_Interceptor_ListMixin_ImmutableListMixin); + _inherit(P._StringList_Interceptor_ListMixin_ImmutableListMixin, P._StringList_Interceptor_ListMixin); + _inherit(P.StringList, P._StringList_Interceptor_ListMixin_ImmutableListMixin); + _inheritMany(P.TextContentElement, [P.TextPositioningElement, P.TextPathElement]); + _inherit(P.TextElement, P.TextPositioningElement); + _inherit(P._TransformList_Interceptor_ListMixin_ImmutableListMixin, P._TransformList_Interceptor_ListMixin); + _inherit(P.TransformList, P._TransformList_Interceptor_ListMixin_ImmutableListMixin); + _inherit(P.UnmodifiableUint8ListView, P._UnmodifiableUint8ListView_UnmodifiableListBase__UnmodifiableListMixin); + _inherit(P.UnmodifiableInt32ListView, P._UnmodifiableInt32ListView_UnmodifiableListBase__UnmodifiableListMixin); + _inherit(P.AudioParamMap, P._AudioParamMap_Interceptor_MapMixin); + _inherit(P.AudioScheduledSourceNode, P.AudioNode); + _inherit(P.ConstantSourceNode, P.AudioScheduledSourceNode); + _inherit(P.OfflineAudioContext, P.BaseAudioContext); + _inherit(P._SqlResultSetRowList_Interceptor_ListMixin_ImmutableListMixin, P._SqlResultSetRowList_Interceptor_ListMixin); + _inherit(P.SqlResultSetRowList, P._SqlResultSetRowList_Interceptor_ListMixin_ImmutableListMixin); + _inherit(R.ArchiveException, P.FormatException); + _inherit(T.InputStream, T.InputStreamBase); + _inherit(Q.OutputStream, Q.OutputStreamBase); + _inherit(Q.ZipFile, X.FileContent); + _inherit(D._BuiltList, D.BuiltList); + _inherit(R._BuiltListMultimap, R.BuiltListMultimap); + _inherit(A._BuiltMap, A.BuiltMap); + _inherit(X._BuiltSet, X.BuiltSet); + _inherit(M._BuiltSetMultimap, M.BuiltSetMultimap); + _inheritMany(A.JsonObject, [A.BoolJsonObject, A.ListJsonObject, A.MapJsonObject, A.NumJsonObject, A.StringJsonObject]); + _inherit(U.SetEquality, U._UnorderedEquality); + _inherit(M.DelegatingList, M._DelegatingIterableBase); + _inherit(S.RgbColor, S.Color); + _inherit(S.HexColor, S.RgbColor); + _inheritMany(Z._EventManager, [Z._TouchManager, Z._MouseManager, Z._PointerManager]); + _inherit(O.BrowserClient, E.BaseClient); + _inherit(Z.ByteStream, P.StreamView); + _inherit(O.Request, G.BaseRequest); + _inheritMany(T.BaseResponse, [U.Response, X.StreamedResponse]); + _inherit(Z.CaseInsensitiveMap, M.CanonicalizedMap); + _inherit(S._UiProps_MapBase_MapViewMixin_PropsMapViewMixin, S._UiProps_MapBase_MapViewMixin); + _inherit(S._UiProps_MapBase_MapViewMixin_PropsMapViewMixin_ReactPropsMixin, S._UiProps_MapBase_MapViewMixin_PropsMapViewMixin); + _inherit(S._UiProps_MapBase_MapViewMixin_PropsMapViewMixin_ReactPropsMixin_UbiquitousDomPropsMixin, S._UiProps_MapBase_MapViewMixin_PropsMapViewMixin_ReactPropsMixin); + _inherit(S._UiProps_MapBase_MapViewMixin_PropsMapViewMixin_ReactPropsMixin_UbiquitousDomPropsMixin_CssClassPropsMixin, S._UiProps_MapBase_MapViewMixin_PropsMapViewMixin_ReactPropsMixin_UbiquitousDomPropsMixin); + _inherit(S.UiProps, S._UiProps_MapBase_MapViewMixin_PropsMapViewMixin_ReactPropsMixin_UbiquitousDomPropsMixin_CssClassPropsMixin); + _inherit(B._UiProps_UiProps_GeneratedClass, S.UiProps); + _inherit(B.UiProps0, B._UiProps_UiProps_GeneratedClass); + _inheritMany(B.UiProps0, [A._DomProps_UiProps_DomPropsMixin, A._SvgProps_UiProps_DomPropsMixin, Z.__$$ErrorBoundaryProps_UiProps_ErrorBoundaryProps, E.__$$RecoverableErrorBoundaryProps_UiProps_ErrorBoundaryProps, X.ReduxProviderProps, B.__$$End3PrimeProps_UiProps_End3PrimeProps, A.__$$End5PrimeProps_UiProps_End5PrimeProps, S.__$$DesignContextMenuProps_UiProps_DesignContextMenuProps, S.__$$DesignContextSubmenuProps_UiProps_DesignContextSubmenuProps, S.__$$DesignDialogFormProps_UiProps_DesignDialogFormProps, V.__$$DesignFooterProps_UiProps_DesignFooterProps, Q.__$$DesignLoadingDialogProps_UiProps_DesignLoadingDialogProps, V.__$$DesignMainProps_UiProps_DesignMainPropsMixin, Q.__$$DesignMainArrowsProps_UiProps_DesignMainArrowsProps, Z.__$$DesignMainBasePairLinesProps_UiProps_DesignMainBasePairLinesProps, V.__$$DesignMainBasePairRectangleProps_UiProps_DesignMainBasePairRectangleProps, O.__$$DesignMainDNAMismatchesProps_UiProps_DesignMainDNAMismatchesProps, U.__$$DesignMainDNASequenceProps_UiProps_DesignMainDNASequencePropsMixin, M.__$$DesignMainDNASequencesProps_UiProps_DesignMainDNASequencesProps, T.__$$DesignMainDomainMovingProps_UiProps_DesignMainDomainMovingPropsMixin, R.__$$DesignMainDomainNameMismatchesProps_UiProps_DesignMainDomainNameMismatchesProps, Y.__$$DesignMainDomainsMovingProps_UiProps_DesignMainDomainsMovingProps, X.__$$DesignMainErrorBoundaryProps_UiProps_ErrorBoundaryProps, V.__$$DesignMainHelicesProps_UiProps_DesignMainHelicesProps, T.__$$DesignMainHelixProps_UiProps_DesignMainHelixProps, K.__$$DesignMainLoopoutExtensionLengthProps_UiProps_DesignMainLoopoutExtensionLengthPropsMixin, Z.__$$DesignMainLoopoutExtensionLengthsProps_UiProps_DesignMainLoopoutExtensionLengthsProps, K.__$$DesignMainPotentialVerticalCrossoverProps_UiProps_DesignMainPotentialVerticalCrossoverPropsMixin, S.__$$DesignMainPotentialVerticalCrossoversProps_UiProps_DesignMainPotentialVerticalCrossoversProps, M.__$$DesignMainSliceBarProps_UiProps_DesignMainSliceBarProps, M.__$$DesignMainStrandProps_UiProps_DesignMainStrandPropsMixin, S.__$$DesignMainStrandAndDomainTextsProps_UiProps_DesignMainStrandAndDomainTextsPropsMixin, R.__$$DesignMainStrandCreatingProps_UiProps_DesignMainStrandCreatingPropsMixin, Q.__$$DesignMainStrandCrossoverProps_UiProps_DesignMainStrandCrossoverPropsMixin, A.__$$DesignMainStrandDeletionProps_UiProps_DesignMainStrandDeletionPropsMixin, S.__$$DesignMainDNAEndProps_UiProps_DesignMainDNAEndPropsMixin, F.__$$EndMovingProps_UiProps_EndMovingProps, T.__$$ExtensionEndMovingProps_UiProps_ExtensionEndMovingProps, T.__$$DesignMainDomainProps_UiProps_DesignMainDomainPropsMixin, B.__$$DesignMainStrandDomainTextProps_UiProps_DesignMainStrandDomainTextPropsMixin, Q.__$$DesignMainExtensionProps_UiProps_DesignMainExtensionPropsMixin, R.__$$DesignMainStrandExtensionTextProps_UiProps_DesignMainStrandExtensionTextPropsMixin, A.__$$DesignMainStrandInsertionProps_UiProps_DesignMainStrandInsertionPropsMixin, R.__$$DesignMainLoopoutProps_UiProps_DesignMainLoopoutPropsMixin, S.__$$DesignMainStrandLoopoutTextProps_UiProps_DesignMainStrandLoopoutTextPropsMixin, X.__$$DesignMainStrandModificationProps_UiProps_DesignMainStrandModificationProps, R.__$$DesignMainStrandModificationsProps_UiProps_DesignMainStrandModificationsPropsMixin, T.__$$DesignMainStrandMovingProps_UiProps_DesignMainStrandMovingPropsMixin, B.__$$DesignMainStrandPathsProps_UiProps_DesignMainStrandPathsPropsMixin, E.__$$DesignMainStrandsProps_UiProps_DesignMainStrandsProps, F.__$$DesignMainStrandsMovingProps_UiProps_DesignMainStrandsMovingProps, B.__$$DesignMainUnpairedInsertionDeletionsProps_UiProps_DesignMainUnpairedInsertionDeletionsProps, R.__$$DesignMainWarningStarProps_UiProps_DesignMainWarningStarProps, U.__$$DesignSideProps_UiProps_DesignSideProps, S.__$$DesignSideArrowsProps_UiProps_DesignSideArrowsProps, B.__$$DesignSideHelixProps_UiProps_DesignSideHelixProps, Y.__$$DesignSidePotentialHelixProps_UiProps_DesignSidePotentialHelixProps, O.__$$DesignSideRotationProps_UiProps_DesignSideRotationProps, E.__$$DesignSideRotationArrowProps_UiProps_DesignSideRotationArrowProps, Z.__$$EditAndSelectModesProps_UiProps_EditAndSelectModesProps, M.__$$EditModeProps_UiProps_EditModeProps, O.__$$HelixGroupMovingProps_UiProps_HelixGroupMovingProps, D.__$$MenuProps_UiProps_MenuPropsMixin, Z.__$$MenuBooleanProps_UiProps_MenuBooleanPropsMixin, N.__$$MenuDropdownItemProps_UiProps_MenuDropdownItemPropsMixin, M.__$$MenuDropdownRightProps_UiProps_MenuDropdownRightProps, O.__$$MenuFormFileProps_UiProps_MenuFormFileProps, M.__$$MenuNumberProps_UiProps_MenuNumberPropsMixin, Q.__$$SideMenuProps_UiProps_SideMenuPropsMixin, M.__$$PotentialCrossoverViewProps_UiProps_PotentialCrossoverViewProps, R.__$$PotentialExtensionsViewProps_UiProps_PotentialExtensionsViewProps, D.__$$SelectModeProps_UiProps_SelectModePropsMixin, Y.__$$SelectionBoxViewProps_UiProps_SelectionBoxViewProps, A.__$$SelectionRopeViewProps_UiProps_SelectionRopeViewProps, A.__$$StrandOrSubstrandColorPickerProps_UiProps_StrandOrSubstrandColorPickerProps]); + _inherit(A.DomProps, A._DomProps_UiProps_DomPropsMixin); + _inherit(A._SvgProps_UiProps_DomPropsMixin_SvgPropsMixin, A._SvgProps_UiProps_DomPropsMixin); + _inherit(A.SvgProps, A._SvgProps_UiProps_DomPropsMixin_SvgPropsMixin); + _inherit(Z._UiComponent2_Component2_DisposableManagerProxy, V.Component2); + _inherit(Z._UiComponent2_Component2_DisposableManagerProxy_GeneratedClass, Z._UiComponent2_Component2_DisposableManagerProxy); + _inherit(Z.UiComponent2, Z._UiComponent2_Component2_DisposableManagerProxy_GeneratedClass); + _inheritMany(Z.UiComponent2, [Z._UiStatefulComponent2_UiComponent2_UiStatefulMixin2, B.End3PrimeComponent, A.End5PrimeComponent, V.DesignFooterComponent, Q.DesignLoadingDialogComponent, V.DesignMainComponent, Q.DesignMainArrowsComponent, Z._DesignMainBasePairLinesComponent_UiComponent2_PureComponent, V._DesignMainBasePairRectangleComponent_UiComponent2_PureComponent, O._DesignMainDNAMismatchesComponent_UiComponent2_PureComponent, U._DesignMainDNASequenceComponent_UiComponent2_PureComponent, M._DesignMainDNASequencesComponent_UiComponent2_PureComponent, T._DesignMainDomainMovingComponent_UiComponent2_PureComponent, R._DesignMainDomainNameMismatchesComponent_UiComponent2_PureComponent, Y._DesignMainDomainsMovingComponent_UiComponent2_PureComponent, V._DesignMainHelicesComponent_UiComponent2_PureComponent, T._DesignMainHelixComponent_UiComponent2_PureComponent, K._DesignMainLoopoutExtensionLengthComponent_UiComponent2_PureComponent, Z._DesignMainLoopoutExtensionLengthsComponent_UiComponent2_PureComponent, K._DesignMainPotentialVerticalCrossoverComponent_UiComponent2_PureComponent, S.DesignMainPotentialVerticalCrossoversComponent, M._DesignMainSliceBarComponent_UiComponent2_PureComponent, M._DesignMainStrandComponent_UiComponent2_PureComponent, S._DesignMainStrandAndDomainTextsComponent_UiComponent2_PureComponent, R._DesignMainStrandCreatingComponent_UiComponent2_PureComponent, A._DesignMainStrandDeletionComponent_UiComponent2_PureComponent, S._DesignMainDNAEndComponent_UiComponent2_PureComponent, F.EndMovingComponent, T.ExtensionEndMovingComponent, T._DesignMainDomainComponent_UiComponent2_PureComponent, B._DesignMainStrandDomainTextComponent_UiComponent2_PureComponent, Q._DesignMainExtensionComponent_UiComponent2_PureComponent, R._DesignMainStrandExtensionTextComponent_UiComponent2_PureComponent, A._DesignMainStrandInsertionComponent_UiComponent2_PureComponent, S._DesignMainStrandLoopoutTextComponent_UiComponent2_PureComponent, X.DesignMainStrandModificationComponent, R._DesignMainStrandModificationsComponent_UiComponent2_PureComponent, T._DesignMainStrandMovingComponent_UiComponent2_PureComponent, B._DesignMainStrandPathsComponent_UiComponent2_PureComponent, E._DesignMainStrandsComponent_UiComponent2_PureComponent, F.DesignMainStrandsMovingComponent, B._DesignMainUnpairedInsertionDeletionsComponent_UiComponent2_PureComponent, R.DesignMainWarningStarComponent, U._DesignSideComponent_UiComponent2_PureComponent, S.DesignMainArrowsComponent0, B._DesignSideHelixComponent_UiComponent2_PureComponent, Y.DesignSidePotentialHelixComponent, O._DesignSideRotationComponent_UiComponent2_PureComponent, E.DesignSideRotationArrowComponent, Z._EditAndSelectModesComponent_UiComponent2_RedrawCounterMixin, M._EditModeComponent_UiComponent2_RedrawCounterMixin, O._HelixGroupMovingComponent_UiComponent2_PureComponent, D._MenuComponent_UiComponent2_RedrawCounterMixin, Z.MenuBooleanComponent, N.MenuDropdownItemComponent, O.MenuFormFileComponent, M.MenuNumberComponent, Q._SideMenuComponent_UiComponent2_RedrawCounterMixin, M.PotentialCrossoverViewComponent, R.PotentialExtensionsViewComponent, D._SelectModeComponent_UiComponent2_RedrawCounterMixin, Y.SelectionBoxViewComponent, A.SelectionRopeViewComponent]); + _inherit(Z.UiStatefulComponent2, Z._UiStatefulComponent2_UiComponent2_UiStatefulMixin2); + _inheritMany(Z.UiStatefulComponent2, [Z._ErrorBoundaryComponent_UiStatefulComponent2_ErrorBoundaryApi, E._RecoverableErrorBoundaryComponent_UiStatefulComponent2_ErrorBoundaryApi, S._DesignContextMenuComponent_UiStatefulComponent2_PureComponent, S._DesignContextSubmenuComponent_UiStatefulComponent2_PureComponent, S._DesignDialogFormComponent_UiStatefulComponent2_PureComponent, X._DesignMainErrorBoundaryComponent_UiStatefulComponent2_ErrorBoundaryApi, Q._DesignMainStrandCrossoverComponent_UiStatefulComponent2_PureComponent, R._DesignMainLoopoutComponent_UiStatefulComponent2_PureComponent, M.MenuDropdownRightComponent, A.StrandOrSubstrandColorPickerComponent]); + _inherit(Z.ErrorBoundaryComponent, Z._ErrorBoundaryComponent_UiStatefulComponent2_ErrorBoundaryApi); + _inherit(Z.__$$ErrorBoundaryProps_UiProps_ErrorBoundaryProps_$ErrorBoundaryProps, Z.__$$ErrorBoundaryProps_UiProps_ErrorBoundaryProps); + _inherit(Z._$$ErrorBoundaryProps, Z.__$$ErrorBoundaryProps_UiProps_ErrorBoundaryProps_$ErrorBoundaryProps); + _inheritMany(Z._$$ErrorBoundaryProps, [Z._$$ErrorBoundaryProps$PlainMap, Z._$$ErrorBoundaryProps$JsMap]); + _inherit(S._UiState_Object_MapViewMixin_StateMapViewMixin, S._UiState_Object_MapViewMixin); + _inherit(S.UiState0, S._UiState_Object_MapViewMixin_StateMapViewMixin); + _inherit(B._UiState_UiState_GeneratedClass, S.UiState0); + _inherit(B.UiState, B._UiState_UiState_GeneratedClass); + _inheritMany(B.UiState, [Z.__$$ErrorBoundaryState_UiState_ErrorBoundaryState, E.__$$RecoverableErrorBoundaryState_UiState_ErrorBoundaryState, S.__$$DesignContextMenuState_UiState_DesignContextMenuState, S.__$$DesignContextSubmenuState_UiState_DesignContextSubmenuState, S.__$$DesignDialogFormState_UiState_DesignDialogFormState, X.__$$DesignMainErrorBoundaryState_UiState_ErrorBoundaryState, Q.__$$DesignMainStrandCrossoverState_UiState_DesignMainStrandCrossoverState, R.__$$DesignMainLoopoutState_UiState_DesignMainLoopoutState, M.__$$MenuDropdownRightState_UiState_MenuDropdownRightState, A.__$$StrandOrSubstrandColorPickerState_UiState_StrandOrSubstrandColorPickerState]); + _inherit(Z.__$$ErrorBoundaryState_UiState_ErrorBoundaryState_$ErrorBoundaryState, Z.__$$ErrorBoundaryState_UiState_ErrorBoundaryState); + _inherit(Z._$$ErrorBoundaryState, Z.__$$ErrorBoundaryState_UiState_ErrorBoundaryState_$ErrorBoundaryState); + _inherit(Z._$$ErrorBoundaryState$JsMap, Z._$$ErrorBoundaryState); + _inherit(Z._$ErrorBoundaryComponent, Z.ErrorBoundaryComponent); + _inherit(E.RecoverableErrorBoundaryComponent, E._RecoverableErrorBoundaryComponent_UiStatefulComponent2_ErrorBoundaryApi); + _inherit(E.__$$RecoverableErrorBoundaryProps_UiProps_ErrorBoundaryProps_$ErrorBoundaryProps, E.__$$RecoverableErrorBoundaryProps_UiProps_ErrorBoundaryProps); + _inherit(E._$$RecoverableErrorBoundaryProps, E.__$$RecoverableErrorBoundaryProps_UiProps_ErrorBoundaryProps_$ErrorBoundaryProps); + _inheritMany(E._$$RecoverableErrorBoundaryProps, [E._$$RecoverableErrorBoundaryProps$PlainMap, E._$$RecoverableErrorBoundaryProps$JsMap]); + _inherit(E.__$$RecoverableErrorBoundaryState_UiState_ErrorBoundaryState_$ErrorBoundaryState, E.__$$RecoverableErrorBoundaryState_UiState_ErrorBoundaryState); + _inherit(E._$$RecoverableErrorBoundaryState, E.__$$RecoverableErrorBoundaryState_UiState_ErrorBoundaryState_$ErrorBoundaryState); + _inherit(E._$$RecoverableErrorBoundaryState$JsMap, E._$$RecoverableErrorBoundaryState); + _inherit(E._$RecoverableErrorBoundaryComponent, E.RecoverableErrorBoundaryComponent); + _inherit(S.PropsMetaCollection, S._AccessorMetaCollection); + _inherit(A.Component2BridgeImpl, A.Component2Bridge); + _inherit(Z.UiComponent2BridgeImpl, A.Component2BridgeImpl); + _inheritMany(V.ReactComponentFactoryProxy, [A.ReactJsComponentFactoryProxy, A._ReactDartComponentFactoryProxy2_ReactComponentFactoryProxy_JsBackedMapComponentFactoryMixin, A.ReactDomComponentFactoryProxy]); + _inherit(A.ReactJsContextComponentFactoryProxy, A.ReactJsComponentFactoryProxy); + _inherit(X.ReactJsReactReduxComponentFactoryProxy, A.ReactJsContextComponentFactoryProxy); + _inherit(B.InternalStyle, O.Style); + _inheritMany(B.InternalStyle, [E.PosixStyle, F.UrlStyle, L.WindowsStyle]); + _inherit(E.Result, M.Context1); + _inheritMany(E.Result, [B.Failure, D.Success]); + _inheritMany(G.Parser, [F.ReferenceParser, Z.DelegateParser, G.CharacterParser, D.ListParser, U.EndOfInputParser, E.EpsilonParser, V.AnyParser, Z.PredicateParser, L.XmlCharacterDataParser]); + _inheritMany(Z.DelegateParser, [T.CastParser, K.FlattenParser, A.MapParser, R.PickParser, L.TokenParser, M.OptionalParser, N.RepeatingParser]); + _inheritMany(Z.CharacterPredicate, [G.SingleCharPredicate, L.ConstantCharPredicate, A.NotCharacterPredicate]); + _inheritMany(D.ListParser, [O.ChoiceParser, Q.SequenceParser]); + _inheritMany(N.RepeatingParser, [G.LimitedRepeatingParser, Z.PossessiveRepeatingParser]); + _inherit(U.LazyRepeatingParser, G.LimitedRepeatingParser); + _inheritMany(L.Browser, [L._Chrome, L._Firefox, L._Safari, L._WKWebView, L._InternetExplorer]); + _inheritMany(U.CipherParameters, [U.KeyParameter, N.Pbkdf2Parameters]); + _inherit(F.AESEngine, G.BaseBlockCipher); + _inherit(G.MD4FamilyDigest, T.BaseDigest); + _inherit(A.SHA1Digest, G.MD4FamilyDigest); + _inherit(D.PBKDF2KeyDerivator, N.BaseKeyDerivator); + _inherit(A.HMac, O.BaseMac); + _inherit(A.ReactDartComponentFactoryProxy2, A._ReactDartComponentFactoryProxy2_ReactComponentFactoryProxy_JsBackedMapComponentFactoryMixin); + _inheritMany(Q.SyntheticEvent, [Q.SyntheticClipboardEvent, Q.SyntheticKeyboardEvent, Q.SyntheticCompositionEvent, Q.SyntheticFocusEvent, Q.SyntheticFormEvent, Q.SyntheticMouseEvent, Q.SyntheticPointerEvent, Q.SyntheticTouchEvent, Q.SyntheticTransitionEvent, Q.SyntheticAnimationEvent, Q.SyntheticUIEvent, Q.SyntheticWheelEvent]); + _inherit(U.SkipUndo, U._SkipUndo_Object_BuiltJsonSerializable); + _inherit(U._Undo_Object_BuiltJsonSerializable_DesignChangingAction, U._Undo_Object_BuiltJsonSerializable); + _inherit(U.Undo, U._Undo_Object_BuiltJsonSerializable_DesignChangingAction); + _inherit(U._Redo_Object_BuiltJsonSerializable_DesignChangingAction, U._Redo_Object_BuiltJsonSerializable); + _inherit(U.Redo, U._Redo_Object_BuiltJsonSerializable_DesignChangingAction); + _inherit(U.UndoRedoClear, U._UndoRedoClear_Object_BuiltJsonSerializable); + _inherit(U._BatchAction_Object_BuiltJsonSerializable_UndoableAction, U._BatchAction_Object_BuiltJsonSerializable); + _inherit(U.BatchAction, U._BatchAction_Object_BuiltJsonSerializable_UndoableAction); + _inherit(U.ThrottledActionFast, U._ThrottledActionFast_Object_BuiltJsonSerializable); + _inherit(U.ThrottledActionNonFast, U._ThrottledActionNonFast_Object_BuiltJsonSerializable); + _inherit(U.LocalStorageDesignChoiceSet, U._LocalStorageDesignChoiceSet_Object_BuiltJsonSerializable); + _inherit(U.ResetLocalStorage, U._ResetLocalStorage_Object_BuiltJsonSerializable); + _inherit(U.ClearHelixSelectionWhenLoadingNewDesignSet, U._ClearHelixSelectionWhenLoadingNewDesignSet_Object_BuiltJsonSerializable); + _inherit(U.EditModeToggle, U._EditModeToggle_Object_BuiltJsonSerializable); + _inherit(U.EditModesSet, U._EditModesSet_Object_BuiltJsonSerializable); + _inherit(U.SelectModeToggle, U._SelectModeToggle_Object_BuiltJsonSerializable); + _inherit(U.SelectModesAdd, U._SelectModesAdd_Object_BuiltJsonSerializable); + _inherit(U.SelectModesSet, U._SelectModesSet_Object_BuiltJsonSerializable); + _inherit(U._StrandNameSet_Object_BuiltJsonSerializable_UndoableAction, U._StrandNameSet_Object_BuiltJsonSerializable); + _inherit(U.StrandNameSet, U._StrandNameSet_Object_BuiltJsonSerializable_UndoableAction); + _inherit(U._StrandLabelSet_Object_BuiltJsonSerializable_UndoableAction, U._StrandLabelSet_Object_BuiltJsonSerializable); + _inherit(U.StrandLabelSet, U._StrandLabelSet_Object_BuiltJsonSerializable_UndoableAction); + _inherit(U._SubstrandNameSet_Object_BuiltJsonSerializable_UndoableAction, U._SubstrandNameSet_Object_BuiltJsonSerializable); + _inherit(U.SubstrandNameSet, U._SubstrandNameSet_Object_BuiltJsonSerializable_UndoableAction); + _inherit(U._SubstrandLabelSet_Object_BuiltJsonSerializable_UndoableAction, U._SubstrandLabelSet_Object_BuiltJsonSerializable); + _inherit(U.SubstrandLabelSet, U._SubstrandLabelSet_Object_BuiltJsonSerializable_UndoableAction); + _inherit(U.SetAppUIStateStorable, U._SetAppUIStateStorable_Object_BuiltJsonSerializable); + _inherit(U.ShowDNASet, U._ShowDNASet_Object_BuiltJsonSerializable); + _inherit(U.ShowDomainNamesSet, U._ShowDomainNamesSet_Object_BuiltJsonSerializable); + _inherit(U.ShowStrandNamesSet, U._ShowStrandNamesSet_Object_BuiltJsonSerializable); + _inherit(U.ShowStrandLabelsSet, U._ShowStrandLabelsSet_Object_BuiltJsonSerializable); + _inherit(U.ShowDomainLabelsSet, U._ShowDomainLabelsSet_Object_BuiltJsonSerializable); + _inherit(U.ShowModificationsSet, U._ShowModificationsSet_Object_BuiltJsonSerializable); + _inherit(U.DomainNameFontSizeSet, U._DomainNameFontSizeSet_Object_BuiltJsonSerializable); + _inherit(U.DomainLabelFontSizeSet, U._DomainLabelFontSizeSet_Object_BuiltJsonSerializable); + _inherit(U.StrandNameFontSizeSet, U._StrandNameFontSizeSet_Object_BuiltJsonSerializable); + _inherit(U.StrandLabelFontSizeSet, U._StrandLabelFontSizeSet_Object_BuiltJsonSerializable); + _inherit(U.ModificationFontSizeSet, U._ModificationFontSizeSet_Object_BuiltJsonSerializable); + _inherit(U.MajorTickOffsetFontSizeSet, U._MajorTickOffsetFontSizeSet_Object_BuiltJsonSerializable); + _inherit(U.MajorTickWidthFontSizeSet, U._MajorTickWidthFontSizeSet_Object_BuiltJsonSerializable); + _inherit(U.SetModificationDisplayConnector, U._SetModificationDisplayConnector_Object_BuiltJsonSerializable); + _inherit(U.ShowMismatchesSet, U._ShowMismatchesSet_Object_BuiltJsonSerializable); + _inherit(U.ShowDomainNameMismatchesSet, U._ShowDomainNameMismatchesSet_Object_BuiltJsonSerializable); + _inherit(U.ShowUnpairedInsertionDeletionsSet, U._ShowUnpairedInsertionDeletionsSet_Object_BuiltJsonSerializable); + _inherit(U.OxviewShowSet, U._OxviewShowSet_Object_BuiltJsonSerializable); + _inherit(U.SetDisplayBaseOffsetsOfMajorTicksOnlyFirstHelix, U._SetDisplayBaseOffsetsOfMajorTicksOnlyFirstHelix_Object_BuiltJsonSerializable); + _inherit(U.DisplayMajorTicksOffsetsSet, U._DisplayMajorTicksOffsetsSet_Object_BuiltJsonSerializable); + _inherit(U.SetDisplayMajorTickWidthsAllHelices, U._SetDisplayMajorTickWidthsAllHelices_Object_BuiltJsonSerializable); + _inherit(U.SetDisplayMajorTickWidths, U._SetDisplayMajorTickWidths_Object_BuiltJsonSerializable); + _inherit(U.SetOnlyDisplaySelectedHelices, U._SetOnlyDisplaySelectedHelices_Object_BuiltJsonSerializable); + _inherit(U.InvertYSet, U._InvertYSet_Object_BuiltJsonSerializable); + _inherit(U.DynamicHelixUpdateSet, U._DynamicHelixUpdateSet_Object_BuiltJsonSerializable); + _inherit(U.WarnOnExitIfUnsavedSet, U._WarnOnExitIfUnsavedSet_Object_BuiltJsonSerializable); + _inherit(U.LoadingDialogShow, U._LoadingDialogShow_Object_BuiltJsonSerializable); + _inherit(U.LoadingDialogHide, U._LoadingDialogHide_Object_BuiltJsonSerializable); + _inherit(U.CopySelectedStandsToClipboardImage, U._CopySelectedStandsToClipboardImage_Object_BuiltJsonSerializable); + _inherit(U.SaveDNAFile, U._SaveDNAFile_Object_BuiltJsonSerializable); + _inherit(U._LoadDNAFile_Object_BuiltJsonSerializable_DesignChangingAction, U._LoadDNAFile_Object_BuiltJsonSerializable); + _inherit(U.LoadDNAFile, U._LoadDNAFile_Object_BuiltJsonSerializable_DesignChangingAction); + _inherit(U._PrepareToLoadDNAFile_Object_BuiltJsonSerializable_DesignChangingAction, U._PrepareToLoadDNAFile_Object_BuiltJsonSerializable); + _inherit(U.PrepareToLoadDNAFile, U._PrepareToLoadDNAFile_Object_BuiltJsonSerializable_DesignChangingAction); + _inherit(U._NewDesignSet_Object_BuiltJsonSerializable_UndoableAction, U._NewDesignSet_Object_BuiltJsonSerializable); + _inherit(U.NewDesignSet, U._NewDesignSet_Object_BuiltJsonSerializable_UndoableAction); + _inherit(U.ExportCadnanoFile, U._ExportCadnanoFile_Object_BuiltJsonSerializable); + _inherit(U.ExportCodenanoFile, U._ExportCodenanoFile_Object_BuiltJsonSerializable); + _inherit(U.ShowMouseoverDataSet, U._ShowMouseoverDataSet_Object_BuiltJsonSerializable); + _inherit(U.MouseoverDataClear, U._MouseoverDataClear_Object_BuiltJsonSerializable); + _inherit(U.MouseoverDataUpdate, U._MouseoverDataUpdate_Object_BuiltJsonSerializable); + _inherit(U._HelixRollSet_Object_BuiltJsonSerializable_UndoableAction, U._HelixRollSet_Object_BuiltJsonSerializable); + _inherit(U.HelixRollSet, U._HelixRollSet_Object_BuiltJsonSerializable_UndoableAction); + _inherit(U._HelixRollSetAtOther_Object_BuiltJsonSerializable_UndoableAction, U._HelixRollSetAtOther_Object_BuiltJsonSerializable); + _inherit(U.HelixRollSetAtOther, U._HelixRollSetAtOther_Object_BuiltJsonSerializable_UndoableAction); + _inherit(U._RelaxHelixRolls_Object_BuiltJsonSerializable_UndoableAction, U._RelaxHelixRolls_Object_BuiltJsonSerializable); + _inherit(U.RelaxHelixRolls, U._RelaxHelixRolls_Object_BuiltJsonSerializable_UndoableAction); + _inherit(U.ErrorMessageSet, U._ErrorMessageSet_Object_BuiltJsonSerializable); + _inherit(U.SelectionBoxCreate, U._SelectionBoxCreate_Object_BuiltJsonSerializable); + _inherit(U.SelectionBoxSizeChange, U._SelectionBoxSizeChange_Object_BuiltJsonSerializable); + _inherit(U.SelectionBoxRemove, U._SelectionBoxRemove_Object_BuiltJsonSerializable); + _inherit(U.SelectionRopeCreate, U._SelectionRopeCreate_Object_BuiltJsonSerializable); + _inherit(U.SelectionRopeMouseMove, U._SelectionRopeMouseMove_Object_BuiltJsonSerializable); + _inherit(U.SelectionRopeAddPoint, U._SelectionRopeAddPoint_Object_BuiltJsonSerializable); + _inherit(U.SelectionRopeRemove, U._SelectionRopeRemove_Object_BuiltJsonSerializable); + _inherit(U.MouseGridPositionSideUpdate, U._MouseGridPositionSideUpdate_Object_BuiltJsonSerializable); + _inherit(U.MouseGridPositionSideClear, U._MouseGridPositionSideClear_Object_BuiltJsonSerializable); + _inherit(U.MousePositionSideUpdate, U._MousePositionSideUpdate_Object_BuiltJsonSerializable); + _inherit(U.MousePositionSideClear, U._MousePositionSideClear_Object_BuiltJsonSerializable); + _inherit(U._GeometrySet_Object_BuiltJsonSerializable_UndoableAction, U._GeometrySet_Object_BuiltJsonSerializable); + _inherit(U.GeometrySet, U._GeometrySet_Object_BuiltJsonSerializable_UndoableAction); + _inherit(U.SelectionBoxIntersectionRuleSet, U._SelectionBoxIntersectionRuleSet_Object_BuiltJsonSerializable); + _inherit(U.Select, U._Select_Object_BuiltJsonSerializable); + _inherit(U.SelectionsClear, U._SelectionsClear_Object_BuiltJsonSerializable); + _inherit(U.SelectionsAdjustMainView, U._SelectionsAdjustMainView_Object_BuiltJsonSerializable); + _inherit(U.SelectOrToggleItems, U._SelectOrToggleItems_Object_BuiltJsonSerializable); + _inherit(U.SelectAll, U._SelectAll_Object_BuiltJsonSerializable); + _inherit(U.SelectAllSelectable, U._SelectAllSelectable_Object_BuiltJsonSerializable); + _inherit(U.SelectAllWithSameAsSelected, U._SelectAllWithSameAsSelected_Object_BuiltJsonSerializable); + _inherit(U._DeleteAllSelected_Object_BuiltJsonSerializable_UndoableAction, U._DeleteAllSelected_Object_BuiltJsonSerializable); + _inherit(U.DeleteAllSelected, U._DeleteAllSelected_Object_BuiltJsonSerializable_UndoableAction); + _inherit(U._HelixAdd_Object_BuiltJsonSerializable_UndoableAction, U._HelixAdd_Object_BuiltJsonSerializable); + _inherit(U.HelixAdd, U._HelixAdd_Object_BuiltJsonSerializable_UndoableAction); + _inherit(U._HelixRemove_Object_BuiltJsonSerializable_UndoableAction, U._HelixRemove_Object_BuiltJsonSerializable); + _inherit(U.HelixRemove, U._HelixRemove_Object_BuiltJsonSerializable_UndoableAction); + _inherit(U._HelixRemoveAllSelected_Object_BuiltJsonSerializable_UndoableAction, U._HelixRemoveAllSelected_Object_BuiltJsonSerializable); + _inherit(U.HelixRemoveAllSelected, U._HelixRemoveAllSelected_Object_BuiltJsonSerializable_UndoableAction); + _inherit(U.HelixSelect, U._HelixSelect_Object_BuiltJsonSerializable); + _inherit(U.HelixSelectionsClear, U._HelixSelectionsClear_Object_BuiltJsonSerializable); + _inherit(U.HelixSelectionsAdjust, U._HelixSelectionsAdjust_Object_BuiltJsonSerializable); + _inherit(U._HelixMajorTickDistanceChange_Object_BuiltJsonSerializable_UndoableAction, U._HelixMajorTickDistanceChange_Object_BuiltJsonSerializable); + _inherit(U.HelixMajorTickDistanceChange, U._HelixMajorTickDistanceChange_Object_BuiltJsonSerializable_UndoableAction); + _inherit(U._HelixMajorTickDistanceChangeAll_Object_BuiltJsonSerializable_UndoableAction, U._HelixMajorTickDistanceChangeAll_Object_BuiltJsonSerializable); + _inherit(U.HelixMajorTickDistanceChangeAll, U._HelixMajorTickDistanceChangeAll_Object_BuiltJsonSerializable_UndoableAction); + _inherit(U._HelixMajorTickStartChange_Object_BuiltJsonSerializable_UndoableAction, U._HelixMajorTickStartChange_Object_BuiltJsonSerializable); + _inherit(U.HelixMajorTickStartChange, U._HelixMajorTickStartChange_Object_BuiltJsonSerializable_UndoableAction); + _inherit(U._HelixMajorTickStartChangeAll_Object_BuiltJsonSerializable_UndoableAction, U._HelixMajorTickStartChangeAll_Object_BuiltJsonSerializable); + _inherit(U.HelixMajorTickStartChangeAll, U._HelixMajorTickStartChangeAll_Object_BuiltJsonSerializable_UndoableAction); + _inherit(U._HelixMajorTicksChange_Object_BuiltJsonSerializable_UndoableAction, U._HelixMajorTicksChange_Object_BuiltJsonSerializable); + _inherit(U.HelixMajorTicksChange, U._HelixMajorTicksChange_Object_BuiltJsonSerializable_UndoableAction); + _inherit(U._HelixMajorTicksChangeAll_Object_BuiltJsonSerializable_UndoableAction, U._HelixMajorTicksChangeAll_Object_BuiltJsonSerializable); + _inherit(U.HelixMajorTicksChangeAll, U._HelixMajorTicksChangeAll_Object_BuiltJsonSerializable_UndoableAction); + _inherit(U._HelixMajorTickPeriodicDistancesChange_Object_BuiltJsonSerializable_UndoableAction, U._HelixMajorTickPeriodicDistancesChange_Object_BuiltJsonSerializable); + _inherit(U.HelixMajorTickPeriodicDistancesChange, U._HelixMajorTickPeriodicDistancesChange_Object_BuiltJsonSerializable_UndoableAction); + _inherit(U._HelixMajorTickPeriodicDistancesChangeAll_Object_BuiltJsonSerializable_UndoableAction, U._HelixMajorTickPeriodicDistancesChangeAll_Object_BuiltJsonSerializable); + _inherit(U.HelixMajorTickPeriodicDistancesChangeAll, U._HelixMajorTickPeriodicDistancesChangeAll_Object_BuiltJsonSerializable_UndoableAction); + _inherit(U._HelixIdxsChange_Object_BuiltJsonSerializable_UndoableAction, U._HelixIdxsChange_Object_BuiltJsonSerializable); + _inherit(U.HelixIdxsChange, U._HelixIdxsChange_Object_BuiltJsonSerializable_UndoableAction); + _inherit(U._HelixOffsetChange_Object_BuiltJsonSerializable_UndoableAction, U._HelixOffsetChange_Object_BuiltJsonSerializable); + _inherit(U.HelixOffsetChange, U._HelixOffsetChange_Object_BuiltJsonSerializable_UndoableAction); + _inherit(U._HelixMinOffsetSetByDomains_Object_BuiltJsonSerializable_UndoableAction, U._HelixMinOffsetSetByDomains_Object_BuiltJsonSerializable); + _inherit(U.HelixMinOffsetSetByDomains, U._HelixMinOffsetSetByDomains_Object_BuiltJsonSerializable_UndoableAction); + _inherit(U._HelixMaxOffsetSetByDomains_Object_BuiltJsonSerializable_UndoableAction, U._HelixMaxOffsetSetByDomains_Object_BuiltJsonSerializable); + _inherit(U.HelixMaxOffsetSetByDomains, U._HelixMaxOffsetSetByDomains_Object_BuiltJsonSerializable_UndoableAction); + _inherit(U._HelixMinOffsetSetByDomainsAll_Object_BuiltJsonSerializable_UndoableAction, U._HelixMinOffsetSetByDomainsAll_Object_BuiltJsonSerializable); + _inherit(U.HelixMinOffsetSetByDomainsAll, U._HelixMinOffsetSetByDomainsAll_Object_BuiltJsonSerializable_UndoableAction); + _inherit(U._HelixMaxOffsetSetByDomainsAll_Object_BuiltJsonSerializable_UndoableAction, U._HelixMaxOffsetSetByDomainsAll_Object_BuiltJsonSerializable); + _inherit(U.HelixMaxOffsetSetByDomainsAll, U._HelixMaxOffsetSetByDomainsAll_Object_BuiltJsonSerializable_UndoableAction); + _inherit(U._HelixMaxOffsetSetByDomainsAllSameMax_Object_BuiltJsonSerializable_UndoableAction, U._HelixMaxOffsetSetByDomainsAllSameMax_Object_BuiltJsonSerializable); + _inherit(U.HelixMaxOffsetSetByDomainsAllSameMax, U._HelixMaxOffsetSetByDomainsAllSameMax_Object_BuiltJsonSerializable_UndoableAction); + _inherit(U._HelixOffsetChangeAll_Object_BuiltJsonSerializable_UndoableAction, U._HelixOffsetChangeAll_Object_BuiltJsonSerializable); + _inherit(U.HelixOffsetChangeAll, U._HelixOffsetChangeAll_Object_BuiltJsonSerializable_UndoableAction); + _inherit(U.ShowMouseoverRectSet, U._ShowMouseoverRectSet_Object_BuiltJsonSerializable); + _inherit(U.ShowMouseoverRectToggle, U._ShowMouseoverRectToggle_Object_BuiltJsonSerializable); + _inherit(U.ExportDNA, U._ExportDNA_Object_BuiltJsonSerializable); + _inherit(U.ExportCanDoDNA, U._ExportCanDoDNA_Object_BuiltJsonSerializable); + _inherit(U.ExportSvg, U._ExportSvg_Object_BuiltJsonSerializable); + _inherit(U.ExportSvgTextSeparatelySet, U._ExportSvgTextSeparatelySet_Object_BuiltJsonSerializable); + _inherit(U._ExtensionDisplayLengthAngleSet_Object_BuiltJsonSerializable_UndoableAction, U._ExtensionDisplayLengthAngleSet_Object_BuiltJsonSerializable); + _inherit(U.ExtensionDisplayLengthAngleSet, U._ExtensionDisplayLengthAngleSet_Object_BuiltJsonSerializable_UndoableAction); + _inherit(U._ExtensionAdd_Object_BuiltJsonSerializable_UndoableAction, U._ExtensionAdd_Object_BuiltJsonSerializable); + _inherit(U.ExtensionAdd, U._ExtensionAdd_Object_BuiltJsonSerializable_UndoableAction); + _inherit(U._ExtensionNumBasesChange_Object_BuiltJsonSerializable_UndoableAction, U._ExtensionNumBasesChange_Object_BuiltJsonSerializable); + _inherit(U.ExtensionNumBasesChange, U._ExtensionNumBasesChange_Object_BuiltJsonSerializable_UndoableAction); + _inherit(U._ExtensionsNumBasesChange_Object_BuiltJsonSerializable_UndoableAction, U._ExtensionsNumBasesChange_Object_BuiltJsonSerializable); + _inherit(U.ExtensionsNumBasesChange, U._ExtensionsNumBasesChange_Object_BuiltJsonSerializable_UndoableAction); + _inherit(U._LoopoutLengthChange_Object_BuiltJsonSerializable_UndoableAction, U._LoopoutLengthChange_Object_BuiltJsonSerializable); + _inherit(U.LoopoutLengthChange, U._LoopoutLengthChange_Object_BuiltJsonSerializable_UndoableAction); + _inherit(U._LoopoutsLengthChange_Object_BuiltJsonSerializable_UndoableAction, U._LoopoutsLengthChange_Object_BuiltJsonSerializable); + _inherit(U.LoopoutsLengthChange, U._LoopoutsLengthChange_Object_BuiltJsonSerializable_UndoableAction); + _inherit(U._ConvertCrossoverToLoopout_Object_BuiltJsonSerializable_UndoableAction, U._ConvertCrossoverToLoopout_Object_BuiltJsonSerializable); + _inherit(U.ConvertCrossoverToLoopout, U._ConvertCrossoverToLoopout_Object_BuiltJsonSerializable_UndoableAction); + _inherit(U._ConvertCrossoversToLoopouts_Object_BuiltJsonSerializable_UndoableAction, U._ConvertCrossoversToLoopouts_Object_BuiltJsonSerializable); + _inherit(U.ConvertCrossoversToLoopouts, U._ConvertCrossoversToLoopouts_Object_BuiltJsonSerializable_UndoableAction); + _inherit(U._Nick_Object_BuiltJsonSerializable_UndoableAction, U._Nick_Object_BuiltJsonSerializable); + _inherit(U.Nick, U._Nick_Object_BuiltJsonSerializable_UndoableAction); + _inherit(U._Ligate_Object_BuiltJsonSerializable_UndoableAction, U._Ligate_Object_BuiltJsonSerializable); + _inherit(U.Ligate, U._Ligate_Object_BuiltJsonSerializable_UndoableAction); + _inherit(U._JoinStrandsByCrossover_Object_BuiltJsonSerializable_UndoableAction, U._JoinStrandsByCrossover_Object_BuiltJsonSerializable); + _inherit(U.JoinStrandsByCrossover, U._JoinStrandsByCrossover_Object_BuiltJsonSerializable_UndoableAction); + _inherit(U._MoveLinker_Object_BuiltJsonSerializable_UndoableAction, U._MoveLinker_Object_BuiltJsonSerializable); + _inherit(U.MoveLinker, U._MoveLinker_Object_BuiltJsonSerializable_UndoableAction); + _inherit(U._JoinStrandsByMultipleCrossovers_Object_BuiltJsonSerializable_UndoableAction, U._JoinStrandsByMultipleCrossovers_Object_BuiltJsonSerializable); + _inherit(U.JoinStrandsByMultipleCrossovers, U._JoinStrandsByMultipleCrossovers_Object_BuiltJsonSerializable_UndoableAction); + _inherit(U.StrandsReflect, U._StrandsReflect_Object_BuiltJsonSerializable); + _inherit(U._ReplaceStrands_Object_BuiltJsonSerializable_UndoableAction, U._ReplaceStrands_Object_BuiltJsonSerializable); + _inherit(U.ReplaceStrands, U._ReplaceStrands_Object_BuiltJsonSerializable_UndoableAction); + _inherit(U.StrandCreateStart, U._StrandCreateStart_Object_BuiltJsonSerializable); + _inherit(U.StrandCreateAdjustOffset, U._StrandCreateAdjustOffset_Object_BuiltJsonSerializable); + _inherit(U.StrandCreateStop, U._StrandCreateStop_Object_BuiltJsonSerializable); + _inherit(U._StrandCreateCommit_Object_BuiltJsonSerializable_UndoableAction, U._StrandCreateCommit_Object_BuiltJsonSerializable); + _inherit(U.StrandCreateCommit, U._StrandCreateCommit_Object_BuiltJsonSerializable_UndoableAction); + _inherit(U.PotentialCrossoverCreate, U._PotentialCrossoverCreate_Object_BuiltJsonSerializable); + _inherit(U.PotentialCrossoverMove, U._PotentialCrossoverMove_Object_BuiltJsonSerializable); + _inherit(U.PotentialCrossoverRemove, U._PotentialCrossoverRemove_Object_BuiltJsonSerializable); + _inherit(U.ManualPasteInitiate, U._ManualPasteInitiate_Object_BuiltJsonSerializable); + _inherit(U.AutoPasteInitiate, U._AutoPasteInitiate_Object_BuiltJsonSerializable); + _inherit(U.CopySelectedStrands, U._CopySelectedStrands_Object_BuiltJsonSerializable); + _inherit(U.StrandsMoveStart, U._StrandsMoveStart_Object_BuiltJsonSerializable); + _inherit(U.StrandsMoveStartSelectedStrands, U._StrandsMoveStartSelectedStrands_Object_BuiltJsonSerializable); + _inherit(U.StrandsMoveStop, U._StrandsMoveStop_Object_BuiltJsonSerializable); + _inherit(U.StrandsMoveAdjustAddress, U._StrandsMoveAdjustAddress_Object_BuiltJsonSerializable); + _inherit(U._StrandsMoveCommit_Object_BuiltJsonSerializable_UndoableAction, U._StrandsMoveCommit_Object_BuiltJsonSerializable); + _inherit(U.StrandsMoveCommit, U._StrandsMoveCommit_Object_BuiltJsonSerializable_UndoableAction); + _inherit(U.DomainsMoveStartSelectedDomains, U._DomainsMoveStartSelectedDomains_Object_BuiltJsonSerializable); + _inherit(U.DomainsMoveStop, U._DomainsMoveStop_Object_BuiltJsonSerializable); + _inherit(U.DomainsMoveAdjustAddress, U._DomainsMoveAdjustAddress_Object_BuiltJsonSerializable); + _inherit(U._DomainsMoveCommit_Object_BuiltJsonSerializable_UndoableAction, U._DomainsMoveCommit_Object_BuiltJsonSerializable); + _inherit(U.DomainsMoveCommit, U._DomainsMoveCommit_Object_BuiltJsonSerializable_UndoableAction); + _inherit(U.DNAEndsMoveStart, U._DNAEndsMoveStart_Object_BuiltJsonSerializable); + _inherit(U.DNAEndsMoveSetSelectedEnds, U._DNAEndsMoveSetSelectedEnds_Object_BuiltJsonSerializable); + _inherit(U.DNAEndsMoveAdjustOffset, U._DNAEndsMoveAdjustOffset_Object_BuiltJsonSerializable); + _inherit(U.DNAEndsMoveStop, U._DNAEndsMoveStop_Object_BuiltJsonSerializable); + _inherit(U._DNAEndsMoveCommit_Object_BuiltJsonSerializable_UndoableAction, U._DNAEndsMoveCommit_Object_BuiltJsonSerializable); + _inherit(U.DNAEndsMoveCommit, U._DNAEndsMoveCommit_Object_BuiltJsonSerializable_UndoableAction); + _inherit(U.DNAExtensionsMoveStart, U._DNAExtensionsMoveStart_Object_BuiltJsonSerializable); + _inherit(U.DNAExtensionsMoveSetSelectedExtensionEnds, U._DNAExtensionsMoveSetSelectedExtensionEnds_Object_BuiltJsonSerializable); + _inherit(U.DNAExtensionsMoveAdjustPosition, U._DNAExtensionsMoveAdjustPosition_Object_BuiltJsonSerializable); + _inherit(U.DNAExtensionsMoveStop, U._DNAExtensionsMoveStop_Object_BuiltJsonSerializable); + _inherit(U._DNAExtensionsMoveCommit_Object_BuiltJsonSerializable_UndoableAction, U._DNAExtensionsMoveCommit_Object_BuiltJsonSerializable); + _inherit(U.DNAExtensionsMoveCommit, U._DNAExtensionsMoveCommit_Object_BuiltJsonSerializable_UndoableAction); + _inherit(U.HelixGroupMoveStart, U._HelixGroupMoveStart_Object_BuiltJsonSerializable); + _inherit(U.HelixGroupMoveCreate, U._HelixGroupMoveCreate_Object_BuiltJsonSerializable); + _inherit(U.HelixGroupMoveAdjustTranslation, U._HelixGroupMoveAdjustTranslation_Object_BuiltJsonSerializable); + _inherit(U.HelixGroupMoveStop, U._HelixGroupMoveStop_Object_BuiltJsonSerializable); + _inherit(U._HelixGroupMoveCommit_Object_BuiltJsonSerializable_UndoableAction, U._HelixGroupMoveCommit_Object_BuiltJsonSerializable); + _inherit(U.HelixGroupMoveCommit, U._HelixGroupMoveCommit_Object_BuiltJsonSerializable_UndoableAction); + _inherit(U._AssignDNA_Object_BuiltJsonSerializable_UndoableAction, U._AssignDNA_Object_BuiltJsonSerializable); + _inherit(U.AssignDNA, U._AssignDNA_Object_BuiltJsonSerializable_UndoableAction); + _inherit(U._AssignDNAComplementFromBoundStrands_Object_BuiltJsonSerializable_UndoableAction, U._AssignDNAComplementFromBoundStrands_Object_BuiltJsonSerializable); + _inherit(U.AssignDNAComplementFromBoundStrands, U._AssignDNAComplementFromBoundStrands_Object_BuiltJsonSerializable_UndoableAction); + _inherit(U._AssignDomainNameComplementFromBoundStrands_Object_BuiltJsonSerializable_UndoableAction, U._AssignDomainNameComplementFromBoundStrands_Object_BuiltJsonSerializable); + _inherit(U.AssignDomainNameComplementFromBoundStrands, U._AssignDomainNameComplementFromBoundStrands_Object_BuiltJsonSerializable_UndoableAction); + _inherit(U._AssignDomainNameComplementFromBoundDomains_Object_BuiltJsonSerializable_UndoableAction, U._AssignDomainNameComplementFromBoundDomains_Object_BuiltJsonSerializable); + _inherit(U.AssignDomainNameComplementFromBoundDomains, U._AssignDomainNameComplementFromBoundDomains_Object_BuiltJsonSerializable_UndoableAction); + _inherit(U._RemoveDNA_Object_BuiltJsonSerializable_UndoableAction, U._RemoveDNA_Object_BuiltJsonSerializable); + _inherit(U.RemoveDNA, U._RemoveDNA_Object_BuiltJsonSerializable_UndoableAction); + _inherit(U._InsertionAdd_Object_BuiltJsonSerializable_UndoableAction, U._InsertionAdd_Object_BuiltJsonSerializable); + _inherit(U.InsertionAdd, U._InsertionAdd_Object_BuiltJsonSerializable_UndoableAction); + _inherit(U._InsertionLengthChange_Object_BuiltJsonSerializable_UndoableAction, U._InsertionLengthChange_Object_BuiltJsonSerializable); + _inherit(U.InsertionLengthChange, U._InsertionLengthChange_Object_BuiltJsonSerializable_UndoableAction); + _inherit(U._InsertionsLengthChange_Object_BuiltJsonSerializable_UndoableAction, U._InsertionsLengthChange_Object_BuiltJsonSerializable); + _inherit(U.InsertionsLengthChange, U._InsertionsLengthChange_Object_BuiltJsonSerializable_UndoableAction); + _inherit(U._DeletionAdd_Object_BuiltJsonSerializable_UndoableAction, U._DeletionAdd_Object_BuiltJsonSerializable); + _inherit(U.DeletionAdd, U._DeletionAdd_Object_BuiltJsonSerializable_UndoableAction); + _inherit(U._InsertionRemove_Object_BuiltJsonSerializable_UndoableAction, U._InsertionRemove_Object_BuiltJsonSerializable); + _inherit(U.InsertionRemove, U._InsertionRemove_Object_BuiltJsonSerializable_UndoableAction); + _inherit(U._DeletionRemove_Object_BuiltJsonSerializable_UndoableAction, U._DeletionRemove_Object_BuiltJsonSerializable); + _inherit(U.DeletionRemove, U._DeletionRemove_Object_BuiltJsonSerializable_UndoableAction); + _inherit(U._ScalePurificationVendorFieldsAssign_Object_BuiltJsonSerializable_UndoableAction, U._ScalePurificationVendorFieldsAssign_Object_BuiltJsonSerializable); + _inherit(U.ScalePurificationVendorFieldsAssign, U._ScalePurificationVendorFieldsAssign_Object_BuiltJsonSerializable_UndoableAction); + _inherit(U._PlateWellVendorFieldsAssign_Object_BuiltJsonSerializable_UndoableAction, U._PlateWellVendorFieldsAssign_Object_BuiltJsonSerializable); + _inherit(U.PlateWellVendorFieldsAssign, U._PlateWellVendorFieldsAssign_Object_BuiltJsonSerializable_UndoableAction); + _inherit(U._PlateWellVendorFieldsRemove_Object_BuiltJsonSerializable_UndoableAction, U._PlateWellVendorFieldsRemove_Object_BuiltJsonSerializable); + _inherit(U.PlateWellVendorFieldsRemove, U._PlateWellVendorFieldsRemove_Object_BuiltJsonSerializable_UndoableAction); + _inherit(U._VendorFieldsRemove_Object_BuiltJsonSerializable_UndoableAction, U._VendorFieldsRemove_Object_BuiltJsonSerializable); + _inherit(U.VendorFieldsRemove, U._VendorFieldsRemove_Object_BuiltJsonSerializable_UndoableAction); + _inherit(U._ModificationAdd_Object_BuiltJsonSerializable_UndoableAction, U._ModificationAdd_Object_BuiltJsonSerializable); + _inherit(U.ModificationAdd, U._ModificationAdd_Object_BuiltJsonSerializable_UndoableAction); + _inherit(U._ModificationRemove_Object_BuiltJsonSerializable_UndoableAction, U._ModificationRemove_Object_BuiltJsonSerializable); + _inherit(U.ModificationRemove, U._ModificationRemove_Object_BuiltJsonSerializable_UndoableAction); + _inherit(U.ModificationConnectorLengthSet, U._ModificationConnectorLengthSet_Object_BuiltJsonSerializable); + _inherit(U._ModificationEdit_Object_BuiltJsonSerializable_UndoableAction, U._ModificationEdit_Object_BuiltJsonSerializable); + _inherit(U.ModificationEdit, U._ModificationEdit_Object_BuiltJsonSerializable_UndoableAction); + _inherit(U._Modifications5PrimeEdit_Object_BuiltJsonSerializable_UndoableAction, U._Modifications5PrimeEdit_Object_BuiltJsonSerializable); + _inherit(U.Modifications5PrimeEdit, U._Modifications5PrimeEdit_Object_BuiltJsonSerializable_UndoableAction); + _inherit(U._Modifications3PrimeEdit_Object_BuiltJsonSerializable_UndoableAction, U._Modifications3PrimeEdit_Object_BuiltJsonSerializable); + _inherit(U.Modifications3PrimeEdit, U._Modifications3PrimeEdit_Object_BuiltJsonSerializable_UndoableAction); + _inherit(U._ModificationsInternalEdit_Object_BuiltJsonSerializable_UndoableAction, U._ModificationsInternalEdit_Object_BuiltJsonSerializable); + _inherit(U.ModificationsInternalEdit, U._ModificationsInternalEdit_Object_BuiltJsonSerializable_UndoableAction); + _inherit(U._GridChange_Object_BuiltJsonSerializable_UndoableAction, U._GridChange_Object_BuiltJsonSerializable); + _inherit(U.GridChange, U._GridChange_Object_BuiltJsonSerializable_UndoableAction); + _inherit(U.GroupDisplayedChange, U._GroupDisplayedChange_Object_BuiltJsonSerializable); + _inherit(U._GroupAdd_Object_BuiltJsonSerializable_UndoableAction, U._GroupAdd_Object_BuiltJsonSerializable); + _inherit(U.GroupAdd, U._GroupAdd_Object_BuiltJsonSerializable_UndoableAction); + _inherit(U._GroupRemove_Object_BuiltJsonSerializable_UndoableAction, U._GroupRemove_Object_BuiltJsonSerializable); + _inherit(U.GroupRemove, U._GroupRemove_Object_BuiltJsonSerializable_UndoableAction); + _inherit(U._GroupChange_Object_BuiltJsonSerializable_UndoableAction, U._GroupChange_Object_BuiltJsonSerializable); + _inherit(U.GroupChange, U._GroupChange_Object_BuiltJsonSerializable_UndoableAction); + _inherit(U._MoveHelicesToGroup_Object_BuiltJsonSerializable_UndoableAction, U._MoveHelicesToGroup_Object_BuiltJsonSerializable); + _inherit(U.MoveHelicesToGroup, U._MoveHelicesToGroup_Object_BuiltJsonSerializable_UndoableAction); + _inherit(U.DialogShow, U._DialogShow_Object_BuiltJsonSerializable); + _inherit(U.DialogHide, U._DialogHide_Object_BuiltJsonSerializable); + _inherit(U.ContextMenuShow, U._ContextMenuShow_Object_BuiltJsonSerializable); + _inherit(U.ContextMenuHide, U._ContextMenuHide_Object_BuiltJsonSerializable); + _inherit(U.StrandOrSubstrandColorPickerShow, U._StrandOrSubstrandColorPickerShow_Object_BuiltJsonSerializable); + _inherit(U.StrandOrSubstrandColorPickerHide, U._StrandOrSubstrandColorPickerHide_Object_BuiltJsonSerializable); + _inherit(U._ScaffoldSet_Object_BuiltJsonSerializable_UndoableAction, U._ScaffoldSet_Object_BuiltJsonSerializable); + _inherit(U.ScaffoldSet, U._ScaffoldSet_Object_BuiltJsonSerializable_UndoableAction); + _inherit(U._StrandOrSubstrandColorSet_Object_BuiltJsonSerializable_UndoableAction, U._StrandOrSubstrandColorSet_Object_BuiltJsonSerializable); + _inherit(U.StrandOrSubstrandColorSet, U._StrandOrSubstrandColorSet_Object_BuiltJsonSerializable_UndoableAction); + _inherit(U.StrandPasteKeepColorSet, U._StrandPasteKeepColorSet_Object_BuiltJsonSerializable); + _inherit(U.ExampleDesignsLoad, U._ExampleDesignsLoad_Object_BuiltJsonSerializable); + _inherit(U.BasePairTypeSet, U._BasePairTypeSet_Object_BuiltJsonSerializable); + _inherit(U._HelixPositionSet_Object_BuiltJsonSerializable_UndoableAction, U._HelixPositionSet_Object_BuiltJsonSerializable); + _inherit(U.HelixPositionSet, U._HelixPositionSet_Object_BuiltJsonSerializable_UndoableAction); + _inherit(U._HelixGridPositionSet_Object_BuiltJsonSerializable_UndoableAction, U._HelixGridPositionSet_Object_BuiltJsonSerializable); + _inherit(U.HelixGridPositionSet, U._HelixGridPositionSet_Object_BuiltJsonSerializable_UndoableAction); + _inherit(U.HelicesPositionsSetBasedOnCrossovers, U._HelicesPositionsSetBasedOnCrossovers_Object_BuiltJsonSerializable); + _inherit(U._InlineInsertionsDeletions_Object_BuiltJsonSerializable_UndoableAction, U._InlineInsertionsDeletions_Object_BuiltJsonSerializable); + _inherit(U.InlineInsertionsDeletions, U._InlineInsertionsDeletions_Object_BuiltJsonSerializable_UndoableAction); + _inherit(U.DefaultCrossoverTypeForSettingHelixRollsSet, U._DefaultCrossoverTypeForSettingHelixRollsSet_Object_BuiltJsonSerializable); + _inherit(U.AutofitSet, U._AutofitSet_Object_BuiltJsonSerializable); + _inherit(U.ShowHelixCirclesMainViewSet, U._ShowHelixCirclesMainViewSet_Object_BuiltJsonSerializable); + _inherit(U.ShowHelixComponentsMainViewSet, U._ShowHelixComponentsMainViewSet_Object_BuiltJsonSerializable); + _inherit(U.ShowEditMenuToggle, U._ShowEditMenuToggle_Object_BuiltJsonSerializable); + _inherit(U.ShowGridCoordinatesSideViewSet, U._ShowGridCoordinatesSideViewSet_Object_BuiltJsonSerializable); + _inherit(U.ShowAxisArrowsSet, U._ShowAxisArrowsSet_Object_BuiltJsonSerializable); + _inherit(U.ShowLoopoutExtensionLengthSet, U._ShowLoopoutExtensionLengthSet_Object_BuiltJsonSerializable); + _inherit(U.LoadDnaSequenceImageUri, U._LoadDnaSequenceImageUri_Object_BuiltJsonSerializable); + _inherit(U.SetIsZoomAboveThreshold, U._SetIsZoomAboveThreshold_Object_BuiltJsonSerializable); + _inherit(U.SetExportSvgActionDelayedForPngCache, U._SetExportSvgActionDelayedForPngCache_Object_BuiltJsonSerializable); + _inherit(U.ShowBasePairLinesSet, U._ShowBasePairLinesSet_Object_BuiltJsonSerializable); + _inherit(U.ShowBasePairLinesWithMismatchesSet, U._ShowBasePairLinesWithMismatchesSet_Object_BuiltJsonSerializable); + _inherit(U.ShowSliceBarSet, U._ShowSliceBarSet_Object_BuiltJsonSerializable); + _inherit(U.SliceBarOffsetSet, U._SliceBarOffsetSet_Object_BuiltJsonSerializable); + _inherit(U.DisablePngCachingDnaSequencesSet, U._DisablePngCachingDnaSequencesSet_Object_BuiltJsonSerializable); + _inherit(U.RetainStrandColorOnSelectionSet, U._RetainStrandColorOnSelectionSet_Object_BuiltJsonSerializable); + _inherit(U.DisplayReverseDNARightSideUpSet, U._DisplayReverseDNARightSideUpSet_Object_BuiltJsonSerializable); + _inherit(U.SliceBarMoveStart, U._SliceBarMoveStart_Object_BuiltJsonSerializable); + _inherit(U.SliceBarMoveStop, U._SliceBarMoveStop_Object_BuiltJsonSerializable); + _inherit(U.Autostaple, U._Autostaple_Object_BuiltJsonSerializable); + _inherit(U.Autobreak, U._Autobreak_Object_BuiltJsonSerializable); + _inherit(U.ZoomSpeedSet, U._ZoomSpeedSet_Object_BuiltJsonSerializable); + _inherit(U.OxdnaExport, U._OxdnaExport_Object_BuiltJsonSerializable); + _inherit(U.OxviewExport, U._OxviewExport_Object_BuiltJsonSerializable); + _inherit(U.OxExportOnlySelectedStrandsSet, U._OxExportOnlySelectedStrandsSet_Object_BuiltJsonSerializable); + _inherit(U._$SkipUndo, U.SkipUndo); + _inherit(U._$Undo, U.Undo); + _inherit(U._$Redo, U.Redo); + _inherit(U._$UndoRedoClear, U.UndoRedoClear); + _inherit(U._$BatchAction, U.BatchAction); + _inherit(U._$ThrottledActionFast, U.ThrottledActionFast); + _inherit(U._$ThrottledActionNonFast, U.ThrottledActionNonFast); + _inherit(U._$LocalStorageDesignChoiceSet, U.LocalStorageDesignChoiceSet); + _inherit(U._$ResetLocalStorage, U.ResetLocalStorage); + _inherit(U._$ClearHelixSelectionWhenLoadingNewDesignSet, U.ClearHelixSelectionWhenLoadingNewDesignSet); + _inherit(U._$EditModeToggle, U.EditModeToggle); + _inherit(U._$EditModesSet, U.EditModesSet); + _inherit(U._$SelectModeToggle, U.SelectModeToggle); + _inherit(U._$SelectModesAdd, U.SelectModesAdd); + _inherit(U._$SelectModesSet, U.SelectModesSet); + _inherit(U._$StrandNameSet, U.StrandNameSet); + _inherit(U._$StrandLabelSet, U.StrandLabelSet); + _inherit(U._$SubstrandNameSet, U.SubstrandNameSet); + _inherit(U._$SubstrandLabelSet, U.SubstrandLabelSet); + _inherit(U._$SetAppUIStateStorable, U.SetAppUIStateStorable); + _inherit(U._$ShowDNASet, U.ShowDNASet); + _inherit(U._$ShowDomainNamesSet, U.ShowDomainNamesSet); + _inherit(U._$ShowStrandNamesSet, U.ShowStrandNamesSet); + _inherit(U._$ShowStrandLabelsSet, U.ShowStrandLabelsSet); + _inherit(U._$ShowDomainLabelsSet, U.ShowDomainLabelsSet); + _inherit(U._$ShowModificationsSet, U.ShowModificationsSet); + _inherit(U._$DomainNameFontSizeSet, U.DomainNameFontSizeSet); + _inherit(U._$DomainLabelFontSizeSet, U.DomainLabelFontSizeSet); + _inherit(U._$StrandNameFontSizeSet, U.StrandNameFontSizeSet); + _inherit(U._$StrandLabelFontSizeSet, U.StrandLabelFontSizeSet); + _inherit(U._$ModificationFontSizeSet, U.ModificationFontSizeSet); + _inherit(U._$MajorTickOffsetFontSizeSet, U.MajorTickOffsetFontSizeSet); + _inherit(U._$MajorTickWidthFontSizeSet, U.MajorTickWidthFontSizeSet); + _inherit(U._$SetModificationDisplayConnector, U.SetModificationDisplayConnector); + _inherit(U._$ShowMismatchesSet, U.ShowMismatchesSet); + _inherit(U._$ShowDomainNameMismatchesSet, U.ShowDomainNameMismatchesSet); + _inherit(U._$ShowUnpairedInsertionDeletionsSet, U.ShowUnpairedInsertionDeletionsSet); + _inherit(U._$OxviewShowSet, U.OxviewShowSet); + _inherit(U._$SetDisplayBaseOffsetsOfMajorTicksOnlyFirstHelix, U.SetDisplayBaseOffsetsOfMajorTicksOnlyFirstHelix); + _inherit(U._$DisplayMajorTicksOffsetsSet, U.DisplayMajorTicksOffsetsSet); + _inherit(U._$SetDisplayMajorTickWidthsAllHelices, U.SetDisplayMajorTickWidthsAllHelices); + _inherit(U._$SetDisplayMajorTickWidths, U.SetDisplayMajorTickWidths); + _inherit(U._$SetOnlyDisplaySelectedHelices, U.SetOnlyDisplaySelectedHelices); + _inherit(U._$InvertYSet, U.InvertYSet); + _inherit(U._$DynamicHelixUpdateSet, U.DynamicHelixUpdateSet); + _inherit(U._$WarnOnExitIfUnsavedSet, U.WarnOnExitIfUnsavedSet); + _inherit(U._$LoadingDialogShow, U.LoadingDialogShow); + _inherit(U._$LoadingDialogHide, U.LoadingDialogHide); + _inherit(U._$CopySelectedStandsToClipboardImage, U.CopySelectedStandsToClipboardImage); + _inherit(U._$SaveDNAFile, U.SaveDNAFile); + _inherit(U._$LoadDNAFile, U.LoadDNAFile); + _inherit(U._$PrepareToLoadDNAFile, U.PrepareToLoadDNAFile); + _inherit(U._$NewDesignSet, U.NewDesignSet); + _inherit(U._$ExportCadnanoFile, U.ExportCadnanoFile); + _inherit(U._$ExportCodenanoFile, U.ExportCodenanoFile); + _inherit(U._$ShowMouseoverDataSet, U.ShowMouseoverDataSet); + _inherit(U._$MouseoverDataClear, U.MouseoverDataClear); + _inherit(U._$MouseoverDataUpdate, U.MouseoverDataUpdate); + _inherit(U._$HelixRollSet, U.HelixRollSet); + _inherit(U._$HelixRollSetAtOther, U.HelixRollSetAtOther); + _inherit(U._$RelaxHelixRolls, U.RelaxHelixRolls); + _inherit(U._$ErrorMessageSet, U.ErrorMessageSet); + _inherit(U._$SelectionBoxCreate, U.SelectionBoxCreate); + _inherit(U._$SelectionBoxSizeChange, U.SelectionBoxSizeChange); + _inherit(U._$SelectionBoxRemove, U.SelectionBoxRemove); + _inherit(U._$SelectionRopeCreate, U.SelectionRopeCreate); + _inherit(U._$SelectionRopeMouseMove, U.SelectionRopeMouseMove); + _inherit(U._$SelectionRopeAddPoint, U.SelectionRopeAddPoint); + _inherit(U._$SelectionRopeRemove, U.SelectionRopeRemove); + _inherit(U._$MouseGridPositionSideUpdate, U.MouseGridPositionSideUpdate); + _inherit(U._$MouseGridPositionSideClear, U.MouseGridPositionSideClear); + _inherit(U._$MousePositionSideUpdate, U.MousePositionSideUpdate); + _inherit(U._$MousePositionSideClear, U.MousePositionSideClear); + _inherit(U._$GeometrySet, U.GeometrySet); + _inherit(U._$SelectionBoxIntersectionRuleSet, U.SelectionBoxIntersectionRuleSet); + _inherit(U._$Select, U.Select); + _inherit(U._$SelectionsClear, U.SelectionsClear); + _inherit(U._$SelectionsAdjustMainView, U.SelectionsAdjustMainView); + _inherit(U._$SelectOrToggleItems, U.SelectOrToggleItems); + _inherit(U._$SelectAll, U.SelectAll); + _inherit(U._$SelectAllSelectable, U.SelectAllSelectable); + _inherit(U._$SelectAllWithSameAsSelected, U.SelectAllWithSameAsSelected); + _inherit(U._$DeleteAllSelected, U.DeleteAllSelected); + _inherit(U._$HelixAdd, U.HelixAdd); + _inherit(U._$HelixRemove, U.HelixRemove); + _inherit(U._$HelixRemoveAllSelected, U.HelixRemoveAllSelected); + _inherit(U._$HelixSelect, U.HelixSelect); + _inherit(U._$HelixSelectionsClear, U.HelixSelectionsClear); + _inherit(U._$HelixSelectionsAdjust, U.HelixSelectionsAdjust); + _inherit(U._$HelixMajorTickDistanceChange, U.HelixMajorTickDistanceChange); + _inherit(U._$HelixMajorTickDistanceChangeAll, U.HelixMajorTickDistanceChangeAll); + _inherit(U._$HelixMajorTickStartChange, U.HelixMajorTickStartChange); + _inherit(U._$HelixMajorTickStartChangeAll, U.HelixMajorTickStartChangeAll); + _inherit(U._$HelixMajorTicksChange, U.HelixMajorTicksChange); + _inherit(U._$HelixMajorTicksChangeAll, U.HelixMajorTicksChangeAll); + _inherit(U._$HelixMajorTickPeriodicDistancesChange, U.HelixMajorTickPeriodicDistancesChange); + _inherit(U._$HelixMajorTickPeriodicDistancesChangeAll, U.HelixMajorTickPeriodicDistancesChangeAll); + _inherit(U._$HelixIdxsChange, U.HelixIdxsChange); + _inherit(U._$HelixOffsetChange, U.HelixOffsetChange); + _inherit(U._$HelixMinOffsetSetByDomains, U.HelixMinOffsetSetByDomains); + _inherit(U._$HelixMaxOffsetSetByDomains, U.HelixMaxOffsetSetByDomains); + _inherit(U._$HelixMinOffsetSetByDomainsAll, U.HelixMinOffsetSetByDomainsAll); + _inherit(U._$HelixMaxOffsetSetByDomainsAll, U.HelixMaxOffsetSetByDomainsAll); + _inherit(U._$HelixMaxOffsetSetByDomainsAllSameMax, U.HelixMaxOffsetSetByDomainsAllSameMax); + _inherit(U._$HelixOffsetChangeAll, U.HelixOffsetChangeAll); + _inherit(U._$ShowMouseoverRectSet, U.ShowMouseoverRectSet); + _inherit(U._$ShowMouseoverRectToggle, U.ShowMouseoverRectToggle); + _inherit(U._$ExportDNA, U.ExportDNA); + _inherit(U._$ExportCanDoDNA, U.ExportCanDoDNA); + _inherit(U._$ExportSvg, U.ExportSvg); + _inherit(U._$ExportSvgTextSeparatelySet, U.ExportSvgTextSeparatelySet); + _inherit(U._$ExtensionDisplayLengthAngleSet, U.ExtensionDisplayLengthAngleSet); + _inherit(U._$ExtensionAdd, U.ExtensionAdd); + _inherit(U._$ExtensionNumBasesChange, U.ExtensionNumBasesChange); + _inherit(U._$ExtensionsNumBasesChange, U.ExtensionsNumBasesChange); + _inherit(U._$LoopoutLengthChange, U.LoopoutLengthChange); + _inherit(U._$LoopoutsLengthChange, U.LoopoutsLengthChange); + _inherit(U._$ConvertCrossoverToLoopout, U.ConvertCrossoverToLoopout); + _inherit(U._$ConvertCrossoversToLoopouts, U.ConvertCrossoversToLoopouts); + _inherit(U._$Nick, U.Nick); + _inherit(U._$Ligate, U.Ligate); + _inherit(U._$JoinStrandsByCrossover, U.JoinStrandsByCrossover); + _inherit(U._$MoveLinker, U.MoveLinker); + _inherit(U._$JoinStrandsByMultipleCrossovers, U.JoinStrandsByMultipleCrossovers); + _inherit(U._$StrandsReflect, U.StrandsReflect); + _inherit(U._$ReplaceStrands, U.ReplaceStrands); + _inherit(U._$StrandCreateStart, U.StrandCreateStart); + _inherit(U._$StrandCreateAdjustOffset, U.StrandCreateAdjustOffset); + _inherit(U._$StrandCreateStop, U.StrandCreateStop); + _inherit(U._$StrandCreateCommit, U.StrandCreateCommit); + _inherit(U._$PotentialCrossoverCreate, U.PotentialCrossoverCreate); + _inherit(U._$PotentialCrossoverMove, U.PotentialCrossoverMove); + _inherit(U._$PotentialCrossoverRemove, U.PotentialCrossoverRemove); + _inherit(U._$ManualPasteInitiate, U.ManualPasteInitiate); + _inherit(U._$AutoPasteInitiate, U.AutoPasteInitiate); + _inherit(U._$CopySelectedStrands, U.CopySelectedStrands); + _inherit(U._$StrandsMoveStart, U.StrandsMoveStart); + _inherit(U._$StrandsMoveStartSelectedStrands, U.StrandsMoveStartSelectedStrands); + _inherit(U._$StrandsMoveStop, U.StrandsMoveStop); + _inherit(U._$StrandsMoveAdjustAddress, U.StrandsMoveAdjustAddress); + _inherit(U._$StrandsMoveCommit, U.StrandsMoveCommit); + _inherit(U._$DomainsMoveStartSelectedDomains, U.DomainsMoveStartSelectedDomains); + _inherit(U._$DomainsMoveStop, U.DomainsMoveStop); + _inherit(U._$DomainsMoveAdjustAddress, U.DomainsMoveAdjustAddress); + _inherit(U._$DomainsMoveCommit, U.DomainsMoveCommit); + _inherit(U._$DNAEndsMoveStart, U.DNAEndsMoveStart); + _inherit(U._$DNAEndsMoveSetSelectedEnds, U.DNAEndsMoveSetSelectedEnds); + _inherit(U._$DNAEndsMoveAdjustOffset, U.DNAEndsMoveAdjustOffset); + _inherit(U._$DNAEndsMoveStop, U.DNAEndsMoveStop); + _inherit(U._$DNAEndsMoveCommit, U.DNAEndsMoveCommit); + _inherit(U._$DNAExtensionsMoveStart, U.DNAExtensionsMoveStart); + _inherit(U._$DNAExtensionsMoveSetSelectedExtensionEnds, U.DNAExtensionsMoveSetSelectedExtensionEnds); + _inherit(U._$DNAExtensionsMoveAdjustPosition, U.DNAExtensionsMoveAdjustPosition); + _inherit(U._$DNAExtensionsMoveStop, U.DNAExtensionsMoveStop); + _inherit(U._$DNAExtensionsMoveCommit, U.DNAExtensionsMoveCommit); + _inherit(U._$HelixGroupMoveStart, U.HelixGroupMoveStart); + _inherit(U._$HelixGroupMoveCreate, U.HelixGroupMoveCreate); + _inherit(U._$HelixGroupMoveAdjustTranslation, U.HelixGroupMoveAdjustTranslation); + _inherit(U._$HelixGroupMoveStop, U.HelixGroupMoveStop); + _inherit(U._$HelixGroupMoveCommit, U.HelixGroupMoveCommit); + _inherit(U._$AssignDNA, U.AssignDNA); + _inherit(U._$AssignDNAComplementFromBoundStrands, U.AssignDNAComplementFromBoundStrands); + _inherit(U._$AssignDomainNameComplementFromBoundStrands, U.AssignDomainNameComplementFromBoundStrands); + _inherit(U._$AssignDomainNameComplementFromBoundDomains, U.AssignDomainNameComplementFromBoundDomains); + _inherit(U._$RemoveDNA, U.RemoveDNA); + _inherit(U._$InsertionAdd, U.InsertionAdd); + _inherit(U._$InsertionLengthChange, U.InsertionLengthChange); + _inherit(U._$InsertionsLengthChange, U.InsertionsLengthChange); + _inherit(U._$DeletionAdd, U.DeletionAdd); + _inherit(U._$InsertionRemove, U.InsertionRemove); + _inherit(U._$DeletionRemove, U.DeletionRemove); + _inherit(U._$ScalePurificationVendorFieldsAssign, U.ScalePurificationVendorFieldsAssign); + _inherit(U._$PlateWellVendorFieldsAssign, U.PlateWellVendorFieldsAssign); + _inherit(U._$PlateWellVendorFieldsRemove, U.PlateWellVendorFieldsRemove); + _inherit(U._$VendorFieldsRemove, U.VendorFieldsRemove); + _inherit(U._$ModificationAdd, U.ModificationAdd); + _inherit(U._$ModificationRemove, U.ModificationRemove); + _inherit(U._$ModificationConnectorLengthSet, U.ModificationConnectorLengthSet); + _inherit(U._$ModificationEdit, U.ModificationEdit); + _inherit(U._$Modifications5PrimeEdit, U.Modifications5PrimeEdit); + _inherit(U._$Modifications3PrimeEdit, U.Modifications3PrimeEdit); + _inherit(U._$ModificationsInternalEdit, U.ModificationsInternalEdit); + _inherit(U._$GridChange, U.GridChange); + _inherit(U._$GroupDisplayedChange, U.GroupDisplayedChange); + _inherit(U._$GroupAdd, U.GroupAdd); + _inherit(U._$GroupRemove, U.GroupRemove); + _inherit(U._$GroupChange, U.GroupChange); + _inherit(U._$MoveHelicesToGroup, U.MoveHelicesToGroup); + _inherit(U._$DialogShow, U.DialogShow); + _inherit(U._$DialogHide, U.DialogHide); + _inherit(U._$ContextMenuShow, U.ContextMenuShow); + _inherit(U._$ContextMenuHide, U.ContextMenuHide); + _inherit(U._$StrandOrSubstrandColorPickerShow, U.StrandOrSubstrandColorPickerShow); + _inherit(U._$StrandOrSubstrandColorPickerHide, U.StrandOrSubstrandColorPickerHide); + _inherit(U._$ScaffoldSet, U.ScaffoldSet); + _inherit(U._$StrandOrSubstrandColorSet, U.StrandOrSubstrandColorSet); + _inherit(U._$StrandPasteKeepColorSet, U.StrandPasteKeepColorSet); + _inherit(U._$ExampleDesignsLoad, U.ExampleDesignsLoad); + _inherit(U._$BasePairTypeSet, U.BasePairTypeSet); + _inherit(U._$HelixPositionSet, U.HelixPositionSet); + _inherit(U._$HelixGridPositionSet, U.HelixGridPositionSet); + _inherit(U._$HelicesPositionsSetBasedOnCrossovers, U.HelicesPositionsSetBasedOnCrossovers); + _inherit(U._$InlineInsertionsDeletions, U.InlineInsertionsDeletions); + _inherit(U._$DefaultCrossoverTypeForSettingHelixRollsSet, U.DefaultCrossoverTypeForSettingHelixRollsSet); + _inherit(U._$AutofitSet, U.AutofitSet); + _inherit(U._$ShowHelixCirclesMainViewSet, U.ShowHelixCirclesMainViewSet); + _inherit(U._$ShowHelixComponentsMainViewSet, U.ShowHelixComponentsMainViewSet); + _inherit(U._$ShowEditMenuToggle, U.ShowEditMenuToggle); + _inherit(U._$ShowGridCoordinatesSideViewSet, U.ShowGridCoordinatesSideViewSet); + _inherit(U._$ShowAxisArrowsSet, U.ShowAxisArrowsSet); + _inherit(U._$ShowLoopoutExtensionLengthSet, U.ShowLoopoutExtensionLengthSet); + _inherit(U._$LoadDnaSequenceImageUri, U.LoadDnaSequenceImageUri); + _inherit(U._$SetIsZoomAboveThreshold, U.SetIsZoomAboveThreshold); + _inherit(U._$SetExportSvgActionDelayedForPngCache, U.SetExportSvgActionDelayedForPngCache); + _inherit(U._$ShowBasePairLinesSet, U.ShowBasePairLinesSet); + _inherit(U._$ShowBasePairLinesWithMismatchesSet, U.ShowBasePairLinesWithMismatchesSet); + _inherit(U._$ShowSliceBarSet, U.ShowSliceBarSet); + _inherit(U._$SliceBarOffsetSet, U.SliceBarOffsetSet); + _inherit(U._$DisablePngCachingDnaSequencesSet, U.DisablePngCachingDnaSequencesSet); + _inherit(U._$RetainStrandColorOnSelectionSet, U.RetainStrandColorOnSelectionSet); + _inherit(U._$DisplayReverseDNARightSideUpSet, U.DisplayReverseDNARightSideUpSet); + _inherit(U._$SliceBarMoveStart, U.SliceBarMoveStart); + _inherit(U._$SliceBarMoveStop, U.SliceBarMoveStop); + _inherit(U._$Autostaple, U.Autostaple); + _inherit(U._$Autobreak, U.Autobreak); + _inherit(U._$ZoomSpeedSet, U.ZoomSpeedSet); + _inherit(U._$OxdnaExport, U.OxdnaExport); + _inherit(U._$OxviewExport, U.OxviewExport); + _inherit(U._$OxExportOnlySelectedStrandsSet, U.OxExportOnlySelectedStrandsSet); + _inheritMany(Y.EnumClass, [F.DNAFileType, E.DNASequencePredefined, S.Storable, L.BasePairDisplayType, E.DialogType, M.EditModeChoice, D.ExportDNAFormat, O.StrandOrder, S.Grid, Y.LocalStorageDesignOption, Y.ModificationType, D.SelectModeChoice, E.SelectableTrait]); + _inherit(K.SuppressableIndentEncoder, P.JsonEncoder); + _inherit(Z.Address, Z._Address_Object_BuiltJsonSerializable); + _inherit(Z.AddressDifference, Z._AddressDifference_Object_BuiltJsonSerializable); + _inherit(Z._$Address, Z.Address); + _inherit(Z._$AddressDifference, Z.AddressDifference); + _inherit(T._$AppState, T.AppState); + _inherit(Q.AppUIState, Q._AppUIState_Object_BuiltJsonSerializable); + _inherit(Q._$AppUIState, Q.AppUIState); + _inherit(B.AppUIStateStorables, B._AppUIStateStorables_Object_BuiltJsonSerializable); + _inherit(B._$AppUIStateStorables, B.AppUIStateStorables); + _inherit(B.ContextMenu, B._ContextMenu_Object_BuiltJsonSerializable); + _inherit(B.ContextMenuItem, B._ContextMenuItem_Object_BuiltJsonSerializable); + _inherit(B._$ContextMenu, B.ContextMenu); + _inherit(B._$ContextMenuItem, B.ContextMenuItem); + _inherit(B.CopyInfo, B._CopyInfo_Object_BuiltJsonSerializable); + _inherit(B._$CopyInfo, B.CopyInfo); + _inherit(T._Crossover_Object_SelectableMixin_BuiltJsonSerializable, T._Crossover_Object_SelectableMixin); + _inherit(T.Crossover, T._Crossover_Object_SelectableMixin_BuiltJsonSerializable); + _inherit(T._$Crossover, T.Crossover); + _inherit(N.Design, N._Design_Object_UnusedFields); + _inherit(N.StrandError, N.IllegalDesignError); + _inherit(N._$Design, N.Design); + _inherit(V.DesignSideRotationParams, V._DesignSideRotationParams_Object_BuiltJsonSerializable); + _inherit(V.DesignSideRotationData, V._DesignSideRotationData_Object_BuiltJsonSerializable); + _inherit(V._$DesignSideRotationParams, V.DesignSideRotationParams); + _inherit(V._$DesignSideRotationData, V.DesignSideRotationData); + _inherit(E.Dialog, E._Dialog_Object_BuiltJsonSerializable); + _inherit(E.DialogInteger, E._DialogInteger_Object_BuiltJsonSerializable); + _inherit(E.DialogFloat, E._DialogFloat_Object_BuiltJsonSerializable); + _inherit(E.DialogText, E._DialogText_Object_BuiltJsonSerializable); + _inherit(E.DialogTextArea, E._DialogTextArea_Object_BuiltJsonSerializable); + _inherit(E.DialogCheckbox, E._DialogCheckbox_Object_BuiltJsonSerializable); + _inherit(E.DialogRadio, E._DialogRadio_Object_BuiltJsonSerializable); + _inherit(E.DialogLink, E._DialogLink_Object_BuiltJsonSerializable); + _inherit(E.DialogLabel, E._DialogLabel_Object_BuiltJsonSerializable); + _inherit(E._$Dialog, E.Dialog); + _inherit(E._$DialogInteger, E.DialogInteger); + _inherit(E._$DialogFloat, E.DialogFloat); + _inherit(E._$DialogText, E.DialogText); + _inherit(E._$DialogTextArea, E.DialogTextArea); + _inherit(E._$DialogCheckbox, E.DialogCheckbox); + _inherit(E._$DialogRadio, E.DialogRadio); + _inherit(E._$DialogLink, E.DialogLink); + _inherit(E._$DialogLabel, E.DialogLabel); + _inherit(X.DNAAssignOptions, X._DNAAssignOptions_Object_BuiltJsonSerializable); + _inherit(X._$DNAAssignOptions, X.DNAAssignOptions); + _inherit(Z._DNAEnd_Object_SelectableMixin_BuiltJsonSerializable, Z._DNAEnd_Object_SelectableMixin); + _inherit(Z.DNAEnd, Z._DNAEnd_Object_SelectableMixin_BuiltJsonSerializable); + _inherit(Z._$DNAEnd, Z.DNAEnd); + _inherit(B.DNAEndsMove, B._DNAEndsMove_Object_BuiltJsonSerializable); + _inherit(B.DNAEndMove, B._DNAEndMove_Object_BuiltJsonSerializable); + _inherit(B._$DNAEndsMove, B.DNAEndsMove); + _inherit(B._$DNAEndMove, B.DNAEndMove); + _inherit(K.DNAExtensionsMove, K._DNAExtensionsMove_Object_BuiltJsonSerializable); + _inherit(K.DNAExtensionMove, K._DNAExtensionMove_Object_BuiltJsonSerializable); + _inherit(K._$DNAExtensionsMove, K.DNAExtensionsMove); + _inherit(K._$DNAExtensionMove, K.DNAExtensionMove); + _inherit(G.Insertion, G._Insertion_Object_BuiltJsonSerializable); + _inherit(G._Domain_Object_SelectableMixin_BuiltJsonSerializable, G._Domain_Object_SelectableMixin); + _inherit(G._Domain_Object_SelectableMixin_BuiltJsonSerializable_UnusedFields, G._Domain_Object_SelectableMixin_BuiltJsonSerializable); + _inherit(G.Domain, G._Domain_Object_SelectableMixin_BuiltJsonSerializable_UnusedFields); + _inherit(G._$Insertion, G.Insertion); + _inherit(G._$Domain, G.Domain); + _inherit(B.DomainNameMismatch, B._DomainNameMismatch_Object_BuiltJsonSerializable); + _inherit(B._$DomainNameMismatch, B.DomainNameMismatch); + _inherit(V.DomainsMove, V._DomainsMove_Object_BuiltJsonSerializable); + _inherit(V._$DomainsMove, V.DomainsMove); + _inherit(K.ExampleDesigns, K._ExampleDesigns_Object_BuiltJsonSerializable); + _inherit(K._$ExampleDesigns, K.ExampleDesigns); + _inherit(S._Extension_Object_SelectableMixin_BuiltJsonSerializable, S._Extension_Object_SelectableMixin); + _inherit(S._Extension_Object_SelectableMixin_BuiltJsonSerializable_UnusedFields, S._Extension_Object_SelectableMixin_BuiltJsonSerializable); + _inherit(S.Extension, S._Extension_Object_SelectableMixin_BuiltJsonSerializable_UnusedFields); + _inherit(S._$Extension, S.Extension); + _inherit(N._Geometry_Object_BuiltJsonSerializable_UnusedFields, N._Geometry_Object_BuiltJsonSerializable); + _inherit(N.Geometry, N._Geometry_Object_BuiltJsonSerializable_UnusedFields); + _inherit(N._$Geometry, N.Geometry); + _inherit(D.GridPosition, D._GridPosition_Object_BuiltJsonSerializable); + _inherit(D._$GridPosition, D.GridPosition); + _inherit(O.HelixGroup, O._HelixGroup_Object_BuiltJsonSerializable); + _inherit(O._$HelixGroup, O.HelixGroup); + _inherit(O._Helix_Object_BuiltJsonSerializable_UnusedFields, O._Helix_Object_BuiltJsonSerializable); + _inherit(O.Helix, O._Helix_Object_BuiltJsonSerializable_UnusedFields); + _inherit(O._$Helix, O.Helix); + _inherit(G.HelixGroupMove, G._HelixGroupMove_Object_BuiltJsonSerializable); + _inherit(G._$HelixGroupMove, G.HelixGroupMove); + _inherit(Y.LocalStorageDesignChoice, Y._LocalStorageDesignChoice_Object_BuiltJsonSerializable); + _inherit(Y._$LocalStorageDesignChoice, Y.LocalStorageDesignChoice); + _inherit(G._Loopout_Object_SelectableMixin_BuiltJsonSerializable, G._Loopout_Object_SelectableMixin); + _inherit(G._Loopout_Object_SelectableMixin_BuiltJsonSerializable_UnusedFields, G._Loopout_Object_SelectableMixin_BuiltJsonSerializable); + _inherit(G.Loopout, G._Loopout_Object_SelectableMixin_BuiltJsonSerializable_UnusedFields); + _inherit(G._$Loopout, G.Loopout); + _inherit(Z._Modification5Prime_Object_BuiltJsonSerializable_UnusedFields, Z._Modification5Prime_Object_BuiltJsonSerializable); + _inherit(Z.Modification5Prime, Z._Modification5Prime_Object_BuiltJsonSerializable_UnusedFields); + _inherit(Z._Modification3Prime_Object_BuiltJsonSerializable_UnusedFields, Z._Modification3Prime_Object_BuiltJsonSerializable); + _inherit(Z.Modification3Prime, Z._Modification3Prime_Object_BuiltJsonSerializable_UnusedFields); + _inherit(Z._ModificationInternal_Object_BuiltJsonSerializable_UnusedFields, Z._ModificationInternal_Object_BuiltJsonSerializable); + _inherit(Z.ModificationInternal, Z._ModificationInternal_Object_BuiltJsonSerializable_UnusedFields); + _inherit(Z._$Modification5Prime, Z.Modification5Prime); + _inherit(Z._$Modification3Prime, Z.Modification3Prime); + _inherit(Z._$ModificationInternal, Z.ModificationInternal); + _inherit(K.MouseoverParams, K._MouseoverParams_Object_BuiltJsonSerializable); + _inherit(K.MouseoverData, K._MouseoverData_Object_BuiltJsonSerializable); + _inherit(K._$MouseoverParams, K.MouseoverParams); + _inherit(K._$MouseoverData, K.MouseoverData); + _inherit(X.Position3D, X._Position3D_Object_BuiltJsonSerializable); + _inherit(X._$Position3D, X.Position3D); + _inherit(S.PotentialCrossover, S._PotentialCrossover_Object_BuiltJsonSerializable); + _inherit(S._$PotentialCrossover, S.PotentialCrossover); + _inherit(Z.PotentialVerticalCrossover, Z._PotentialVerticalCrossover_Object_BuiltJsonSerializable); + _inherit(Z._$PotentialVerticalCrossover, Z.PotentialVerticalCrossover); + _inherit(N._$SelectModeState, N.SelectModeState); + _inherit(E.SelectablesStore, E._SelectablesStore_Object_BuiltJsonSerializable); + _inherit(E._SelectableDeletion_Object_SelectableMixin_BuiltJsonSerializable, E._SelectableDeletion_Object_SelectableMixin); + _inherit(E.SelectableDeletion, E._SelectableDeletion_Object_SelectableMixin_BuiltJsonSerializable); + _inherit(E._SelectableInsertion_Object_SelectableMixin_BuiltJsonSerializable, E._SelectableInsertion_Object_SelectableMixin); + _inherit(E.SelectableInsertion, E._SelectableInsertion_Object_SelectableMixin_BuiltJsonSerializable); + _inherit(E._SelectableModification5Prime_Object_SelectableModification_SelectableMixin, E._SelectableModification5Prime_Object_SelectableModification); + _inherit(E._SelectableModification5Prime_Object_SelectableModification_SelectableMixin_BuiltJsonSerializable, E._SelectableModification5Prime_Object_SelectableModification_SelectableMixin); + _inherit(E.SelectableModification5Prime, E._SelectableModification5Prime_Object_SelectableModification_SelectableMixin_BuiltJsonSerializable); + _inherit(E._SelectableModification3Prime_Object_SelectableModification_SelectableMixin, E._SelectableModification3Prime_Object_SelectableModification); + _inherit(E._SelectableModification3Prime_Object_SelectableModification_SelectableMixin_BuiltJsonSerializable, E._SelectableModification3Prime_Object_SelectableModification_SelectableMixin); + _inherit(E.SelectableModification3Prime, E._SelectableModification3Prime_Object_SelectableModification_SelectableMixin_BuiltJsonSerializable); + _inherit(E._SelectableModificationInternal_Object_SelectableModification_SelectableMixin, E._SelectableModificationInternal_Object_SelectableModification); + _inherit(E._SelectableModificationInternal_Object_SelectableModification_SelectableMixin_BuiltJsonSerializable, E._SelectableModificationInternal_Object_SelectableModification_SelectableMixin); + _inherit(E.SelectableModificationInternal, E._SelectableModificationInternal_Object_SelectableModification_SelectableMixin_BuiltJsonSerializable); + _inherit(E._$SelectablesStore, E.SelectablesStore); + _inherit(E._$SelectableDeletion, E.SelectableDeletion); + _inherit(E._$SelectableInsertion, E.SelectableInsertion); + _inherit(E._$SelectableModification5Prime, E.SelectableModification5Prime); + _inherit(E._$SelectableModification3Prime, E.SelectableModification3Prime); + _inherit(E._$SelectableModificationInternal, E.SelectableModificationInternal); + _inherit(E.SelectionBox, E._SelectionBox_Object_BuiltJsonSerializable); + _inherit(E._$SelectionBox, E.SelectionBox); + _inherit(F.SelectionRope, F._SelectionRope_Object_BuiltJsonSerializable); + _inherit(F.Line, F._Line_Object_BuiltJsonSerializable); + _inherit(F._$SelectionRope, F.SelectionRope); + _inherit(F._$Line, F.Line); + _inherit(E._Strand_Object_SelectableMixin_BuiltJsonSerializable, E._Strand_Object_SelectableMixin); + _inherit(E._Strand_Object_SelectableMixin_BuiltJsonSerializable_UnusedFields, E._Strand_Object_SelectableMixin_BuiltJsonSerializable); + _inherit(E._Strand_Object_SelectableMixin_BuiltJsonSerializable_UnusedFields_JSONSerializable, E._Strand_Object_SelectableMixin_BuiltJsonSerializable_UnusedFields); + _inherit(E.Strand, E._Strand_Object_SelectableMixin_BuiltJsonSerializable_UnusedFields_JSONSerializable); + _inherit(E._$Strand, E.Strand); + _inherit(U.StrandCreation, U._StrandCreation_Object_BuiltJsonSerializable); + _inherit(U._$StrandCreation, U.StrandCreation); + _inherit(U.StrandsMove, U._StrandsMove_Object_BuiltJsonSerializable); + _inherit(U._$StrandsMove, U.StrandsMove); + _inherit(T.UndoRedo, T._UndoRedo_Object_BuiltJsonSerializable); + _inherit(T.UndoRedoItem, T._UndoRedoItem_Object_BuiltJsonSerializable); + _inherit(T._$UndoRedo, T.UndoRedo); + _inherit(T._$UndoRedoItem, T.UndoRedoItem); + _inherit(T._VendorFields_Object_BuiltJsonSerializable_UnusedFields, T._VendorFields_Object_BuiltJsonSerializable); + _inherit(T.VendorFields, T._VendorFields_Object_BuiltJsonSerializable_UnusedFields); + _inherit(T._$VendorFields, T.VendorFields); + _inherit(B.__$$End3PrimeProps_UiProps_End3PrimeProps_$End3PrimeProps, B.__$$End3PrimeProps_UiProps_End3PrimeProps); + _inherit(B._$$End3PrimeProps, B.__$$End3PrimeProps_UiProps_End3PrimeProps_$End3PrimeProps); + _inheritMany(B._$$End3PrimeProps, [B._$$End3PrimeProps$PlainMap, B._$$End3PrimeProps$JsMap]); + _inherit(B._$End3PrimeComponent, B.End3PrimeComponent); + _inherit(A.__$$End5PrimeProps_UiProps_End5PrimeProps_$End5PrimeProps, A.__$$End5PrimeProps_UiProps_End5PrimeProps); + _inherit(A._$$End5PrimeProps, A.__$$End5PrimeProps_UiProps_End5PrimeProps_$End5PrimeProps); + _inheritMany(A._$$End5PrimeProps, [A._$$End5PrimeProps$PlainMap, A._$$End5PrimeProps$JsMap]); + _inherit(A._$End5PrimeComponent, A.End5PrimeComponent); + _inherit(S.DesignContextMenuComponent, S._DesignContextMenuComponent_UiStatefulComponent2_PureComponent); + _inherit(S.DesignContextSubmenuComponent, S._DesignContextSubmenuComponent_UiStatefulComponent2_PureComponent); + _inherit(S.__$$DesignContextMenuProps_UiProps_DesignContextMenuProps_$DesignContextMenuProps, S.__$$DesignContextMenuProps_UiProps_DesignContextMenuProps); + _inherit(S._$$DesignContextMenuProps, S.__$$DesignContextMenuProps_UiProps_DesignContextMenuProps_$DesignContextMenuProps); + _inheritMany(S._$$DesignContextMenuProps, [S._$$DesignContextMenuProps$PlainMap, S._$$DesignContextMenuProps$JsMap]); + _inherit(S.__$$DesignContextMenuState_UiState_DesignContextMenuState_$DesignContextMenuState, S.__$$DesignContextMenuState_UiState_DesignContextMenuState); + _inherit(S._$$DesignContextMenuState, S.__$$DesignContextMenuState_UiState_DesignContextMenuState_$DesignContextMenuState); + _inherit(S._$$DesignContextMenuState$JsMap, S._$$DesignContextMenuState); + _inherit(S._$DesignContextMenuComponent, S.DesignContextMenuComponent); + _inherit(S.__$$DesignContextSubmenuProps_UiProps_DesignContextSubmenuProps_$DesignContextSubmenuProps, S.__$$DesignContextSubmenuProps_UiProps_DesignContextSubmenuProps); + _inherit(S._$$DesignContextSubmenuProps, S.__$$DesignContextSubmenuProps_UiProps_DesignContextSubmenuProps_$DesignContextSubmenuProps); + _inheritMany(S._$$DesignContextSubmenuProps, [S._$$DesignContextSubmenuProps$PlainMap, S._$$DesignContextSubmenuProps$JsMap]); + _inherit(S.__$$DesignContextSubmenuState_UiState_DesignContextSubmenuState_$DesignContextSubmenuState, S.__$$DesignContextSubmenuState_UiState_DesignContextSubmenuState); + _inherit(S._$$DesignContextSubmenuState, S.__$$DesignContextSubmenuState_UiState_DesignContextSubmenuState_$DesignContextSubmenuState); + _inherit(S._$$DesignContextSubmenuState$JsMap, S._$$DesignContextSubmenuState); + _inherit(S._$DesignContextSubmenuComponent, S.DesignContextSubmenuComponent); + _inherit(S.DesignDialogFormComponent, S._DesignDialogFormComponent_UiStatefulComponent2_PureComponent); + _inherit(S.__$$DesignDialogFormProps_UiProps_DesignDialogFormProps_$DesignDialogFormProps, S.__$$DesignDialogFormProps_UiProps_DesignDialogFormProps); + _inherit(S._$$DesignDialogFormProps, S.__$$DesignDialogFormProps_UiProps_DesignDialogFormProps_$DesignDialogFormProps); + _inheritMany(S._$$DesignDialogFormProps, [S._$$DesignDialogFormProps$PlainMap, S._$$DesignDialogFormProps$JsMap]); + _inherit(S.__$$DesignDialogFormState_UiState_DesignDialogFormState_$DesignDialogFormState, S.__$$DesignDialogFormState_UiState_DesignDialogFormState); + _inherit(S._$$DesignDialogFormState, S.__$$DesignDialogFormState_UiState_DesignDialogFormState_$DesignDialogFormState); + _inherit(S._$$DesignDialogFormState$JsMap, S._$$DesignDialogFormState); + _inherit(S._$DesignDialogFormComponent, S.DesignDialogFormComponent); + _inherit(V.__$$DesignFooterProps_UiProps_DesignFooterProps_$DesignFooterProps, V.__$$DesignFooterProps_UiProps_DesignFooterProps); + _inherit(V._$$DesignFooterProps, V.__$$DesignFooterProps_UiProps_DesignFooterProps_$DesignFooterProps); + _inheritMany(V._$$DesignFooterProps, [V._$$DesignFooterProps$PlainMap, V._$$DesignFooterProps$JsMap]); + _inherit(V._$DesignFooterComponent, V.DesignFooterComponent); + _inherit(Q.__$$DesignLoadingDialogProps_UiProps_DesignLoadingDialogProps_$DesignLoadingDialogProps, Q.__$$DesignLoadingDialogProps_UiProps_DesignLoadingDialogProps); + _inherit(Q._$$DesignLoadingDialogProps, Q.__$$DesignLoadingDialogProps_UiProps_DesignLoadingDialogProps_$DesignLoadingDialogProps); + _inheritMany(Q._$$DesignLoadingDialogProps, [Q._$$DesignLoadingDialogProps$PlainMap, Q._$$DesignLoadingDialogProps$JsMap]); + _inherit(Q._$DesignLoadingDialogComponent, Q.DesignLoadingDialogComponent); + _inherit(V.__$$DesignMainProps_UiProps_DesignMainPropsMixin_$DesignMainPropsMixin, V.__$$DesignMainProps_UiProps_DesignMainPropsMixin); + _inherit(V._$$DesignMainProps, V.__$$DesignMainProps_UiProps_DesignMainPropsMixin_$DesignMainPropsMixin); + _inheritMany(V._$$DesignMainProps, [V._$$DesignMainProps$PlainMap, V._$$DesignMainProps$JsMap]); + _inherit(V._$DesignMainComponent, V.DesignMainComponent); + _inherit(Q.__$$DesignMainArrowsProps_UiProps_DesignMainArrowsProps_$DesignMainArrowsProps, Q.__$$DesignMainArrowsProps_UiProps_DesignMainArrowsProps); + _inherit(Q._$$DesignMainArrowsProps, Q.__$$DesignMainArrowsProps_UiProps_DesignMainArrowsProps_$DesignMainArrowsProps); + _inheritMany(Q._$$DesignMainArrowsProps, [Q._$$DesignMainArrowsProps$PlainMap, Q._$$DesignMainArrowsProps$JsMap]); + _inherit(Q._$DesignMainArrowsComponent0, Q.DesignMainArrowsComponent); + _inherit(Z.DesignMainBasePairLinesComponent, Z._DesignMainBasePairLinesComponent_UiComponent2_PureComponent); + _inherit(Z.__$$DesignMainBasePairLinesProps_UiProps_DesignMainBasePairLinesProps_$DesignMainBasePairLinesProps, Z.__$$DesignMainBasePairLinesProps_UiProps_DesignMainBasePairLinesProps); + _inherit(Z._$$DesignMainBasePairLinesProps, Z.__$$DesignMainBasePairLinesProps_UiProps_DesignMainBasePairLinesProps_$DesignMainBasePairLinesProps); + _inheritMany(Z._$$DesignMainBasePairLinesProps, [Z._$$DesignMainBasePairLinesProps$PlainMap, Z._$$DesignMainBasePairLinesProps$JsMap]); + _inherit(Z._$DesignMainBasePairLinesComponent, Z.DesignMainBasePairLinesComponent); + _inherit(V.DesignMainBasePairRectangleComponent, V._DesignMainBasePairRectangleComponent_UiComponent2_PureComponent); + _inherit(V.__$$DesignMainBasePairRectangleProps_UiProps_DesignMainBasePairRectangleProps_$DesignMainBasePairRectangleProps, V.__$$DesignMainBasePairRectangleProps_UiProps_DesignMainBasePairRectangleProps); + _inherit(V._$$DesignMainBasePairRectangleProps, V.__$$DesignMainBasePairRectangleProps_UiProps_DesignMainBasePairRectangleProps_$DesignMainBasePairRectangleProps); + _inheritMany(V._$$DesignMainBasePairRectangleProps, [V._$$DesignMainBasePairRectangleProps$PlainMap, V._$$DesignMainBasePairRectangleProps$JsMap]); + _inherit(V._$DesignMainBasePairRectangleComponent, V.DesignMainBasePairRectangleComponent); + _inherit(O.DesignMainDNAMismatchesComponent, O._DesignMainDNAMismatchesComponent_UiComponent2_PureComponent); + _inherit(O.__$$DesignMainDNAMismatchesProps_UiProps_DesignMainDNAMismatchesProps_$DesignMainDNAMismatchesProps, O.__$$DesignMainDNAMismatchesProps_UiProps_DesignMainDNAMismatchesProps); + _inherit(O._$$DesignMainDNAMismatchesProps, O.__$$DesignMainDNAMismatchesProps_UiProps_DesignMainDNAMismatchesProps_$DesignMainDNAMismatchesProps); + _inheritMany(O._$$DesignMainDNAMismatchesProps, [O._$$DesignMainDNAMismatchesProps$PlainMap, O._$$DesignMainDNAMismatchesProps$JsMap]); + _inherit(O._$DesignMainDNAMismatchesComponent, O.DesignMainDNAMismatchesComponent); + _inherit(U._DesignMainDNASequenceComponent_UiComponent2_PureComponent_TransformByHelixGroup, U._DesignMainDNASequenceComponent_UiComponent2_PureComponent); + _inherit(U.DesignMainDNASequenceComponent, U._DesignMainDNASequenceComponent_UiComponent2_PureComponent_TransformByHelixGroup); + _inherit(U.__$$DesignMainDNASequenceProps_UiProps_DesignMainDNASequencePropsMixin_$DesignMainDNASequencePropsMixin, U.__$$DesignMainDNASequenceProps_UiProps_DesignMainDNASequencePropsMixin); + _inherit(U.__$$DesignMainDNASequenceProps_UiProps_DesignMainDNASequencePropsMixin_$DesignMainDNASequencePropsMixin_TransformByHelixGroupPropsMixin, U.__$$DesignMainDNASequenceProps_UiProps_DesignMainDNASequencePropsMixin_$DesignMainDNASequencePropsMixin); + _inherit(U.__$$DesignMainDNASequenceProps_UiProps_DesignMainDNASequencePropsMixin_$DesignMainDNASequencePropsMixin_TransformByHelixGroupPropsMixin_$TransformByHelixGroupPropsMixin, U.__$$DesignMainDNASequenceProps_UiProps_DesignMainDNASequencePropsMixin_$DesignMainDNASequencePropsMixin_TransformByHelixGroupPropsMixin); + _inherit(U._$$DesignMainDNASequenceProps, U.__$$DesignMainDNASequenceProps_UiProps_DesignMainDNASequencePropsMixin_$DesignMainDNASequencePropsMixin_TransformByHelixGroupPropsMixin_$TransformByHelixGroupPropsMixin); + _inheritMany(U._$$DesignMainDNASequenceProps, [U._$$DesignMainDNASequenceProps$PlainMap, U._$$DesignMainDNASequenceProps$JsMap]); + _inherit(U._$DesignMainDNASequenceComponent, U.DesignMainDNASequenceComponent); + _inherit(M.DesignMainDNASequencesComponent, M._DesignMainDNASequencesComponent_UiComponent2_PureComponent); + _inherit(M.__$$DesignMainDNASequencesProps_UiProps_DesignMainDNASequencesProps_$DesignMainDNASequencesProps, M.__$$DesignMainDNASequencesProps_UiProps_DesignMainDNASequencesProps); + _inherit(M._$$DesignMainDNASequencesProps, M.__$$DesignMainDNASequencesProps_UiProps_DesignMainDNASequencesProps_$DesignMainDNASequencesProps); + _inheritMany(M._$$DesignMainDNASequencesProps, [M._$$DesignMainDNASequencesProps$PlainMap, M._$$DesignMainDNASequencesProps$JsMap]); + _inherit(M._$DesignMainDNASequencesComponent, M.DesignMainDNASequencesComponent); + _inherit(T._DesignMainDomainMovingComponent_UiComponent2_PureComponent_TransformByHelixGroup, T._DesignMainDomainMovingComponent_UiComponent2_PureComponent); + _inherit(T.DesignMainDomainMovingComponent, T._DesignMainDomainMovingComponent_UiComponent2_PureComponent_TransformByHelixGroup); + _inherit(T.__$$DesignMainDomainMovingProps_UiProps_DesignMainDomainMovingPropsMixin_$DesignMainDomainMovingPropsMixin, T.__$$DesignMainDomainMovingProps_UiProps_DesignMainDomainMovingPropsMixin); + _inherit(T.__$$DesignMainDomainMovingProps_UiProps_DesignMainDomainMovingPropsMixin_$DesignMainDomainMovingPropsMixin_TransformByHelixGroupPropsMixin, T.__$$DesignMainDomainMovingProps_UiProps_DesignMainDomainMovingPropsMixin_$DesignMainDomainMovingPropsMixin); + _inherit(T.__$$DesignMainDomainMovingProps_UiProps_DesignMainDomainMovingPropsMixin_$DesignMainDomainMovingPropsMixin_TransformByHelixGroupPropsMixin_$TransformByHelixGroupPropsMixin, T.__$$DesignMainDomainMovingProps_UiProps_DesignMainDomainMovingPropsMixin_$DesignMainDomainMovingPropsMixin_TransformByHelixGroupPropsMixin); + _inherit(T._$$DesignMainDomainMovingProps, T.__$$DesignMainDomainMovingProps_UiProps_DesignMainDomainMovingPropsMixin_$DesignMainDomainMovingPropsMixin_TransformByHelixGroupPropsMixin_$TransformByHelixGroupPropsMixin); + _inheritMany(T._$$DesignMainDomainMovingProps, [T._$$DesignMainDomainMovingProps$PlainMap, T._$$DesignMainDomainMovingProps$JsMap]); + _inherit(T._$DesignMainDomainMovingComponent, T.DesignMainDomainMovingComponent); + _inherit(R.DesignMainDomainNameMismatchesComponent, R._DesignMainDomainNameMismatchesComponent_UiComponent2_PureComponent); + _inherit(R.__$$DesignMainDomainNameMismatchesProps_UiProps_DesignMainDomainNameMismatchesProps_$DesignMainDomainNameMismatchesProps, R.__$$DesignMainDomainNameMismatchesProps_UiProps_DesignMainDomainNameMismatchesProps); + _inherit(R._$$DesignMainDomainNameMismatchesProps, R.__$$DesignMainDomainNameMismatchesProps_UiProps_DesignMainDomainNameMismatchesProps_$DesignMainDomainNameMismatchesProps); + _inheritMany(R._$$DesignMainDomainNameMismatchesProps, [R._$$DesignMainDomainNameMismatchesProps$PlainMap, R._$$DesignMainDomainNameMismatchesProps$JsMap]); + _inherit(R._$DesignMainDomainNameMismatchesComponent, R.DesignMainDomainNameMismatchesComponent); + _inherit(Y.DesignMainDomainsMovingComponent, Y._DesignMainDomainsMovingComponent_UiComponent2_PureComponent); + _inherit(Y.__$$DesignMainDomainsMovingProps_UiProps_DesignMainDomainsMovingProps_$DesignMainDomainsMovingProps, Y.__$$DesignMainDomainsMovingProps_UiProps_DesignMainDomainsMovingProps); + _inherit(Y._$$DesignMainDomainsMovingProps, Y.__$$DesignMainDomainsMovingProps_UiProps_DesignMainDomainsMovingProps_$DesignMainDomainsMovingProps); + _inheritMany(Y._$$DesignMainDomainsMovingProps, [Y._$$DesignMainDomainsMovingProps$PlainMap, Y._$$DesignMainDomainsMovingProps$JsMap]); + _inherit(Y._$DesignMainDomainsMovingComponent, Y.DesignMainDomainsMovingComponent); + _inherit(X.DesignMainErrorBoundaryComponent, X._DesignMainErrorBoundaryComponent_UiStatefulComponent2_ErrorBoundaryApi); + _inherit(X.__$$DesignMainErrorBoundaryProps_UiProps_ErrorBoundaryProps_$ErrorBoundaryProps, X.__$$DesignMainErrorBoundaryProps_UiProps_ErrorBoundaryProps); + _inherit(X._$$DesignMainErrorBoundaryProps, X.__$$DesignMainErrorBoundaryProps_UiProps_ErrorBoundaryProps_$ErrorBoundaryProps); + _inheritMany(X._$$DesignMainErrorBoundaryProps, [X._$$DesignMainErrorBoundaryProps$PlainMap, X._$$DesignMainErrorBoundaryProps$JsMap]); + _inherit(X.__$$DesignMainErrorBoundaryState_UiState_ErrorBoundaryState_$ErrorBoundaryState, X.__$$DesignMainErrorBoundaryState_UiState_ErrorBoundaryState); + _inherit(X.__$$DesignMainErrorBoundaryState_UiState_ErrorBoundaryState_$ErrorBoundaryState_DesignMainErrorBoundaryStateMixin, X.__$$DesignMainErrorBoundaryState_UiState_ErrorBoundaryState_$ErrorBoundaryState); + _inherit(X.__$$DesignMainErrorBoundaryState_UiState_ErrorBoundaryState_$ErrorBoundaryState_DesignMainErrorBoundaryStateMixin_$DesignMainErrorBoundaryStateMixin, X.__$$DesignMainErrorBoundaryState_UiState_ErrorBoundaryState_$ErrorBoundaryState_DesignMainErrorBoundaryStateMixin); + _inherit(X._$$DesignMainErrorBoundaryState, X.__$$DesignMainErrorBoundaryState_UiState_ErrorBoundaryState_$ErrorBoundaryState_DesignMainErrorBoundaryStateMixin_$DesignMainErrorBoundaryStateMixin); + _inherit(X._$$DesignMainErrorBoundaryState$JsMap, X._$$DesignMainErrorBoundaryState); + _inherit(X._$DesignMainErrorBoundaryComponent, X.DesignMainErrorBoundaryComponent); + _inherit(V.DesignMainHelicesComponent, V._DesignMainHelicesComponent_UiComponent2_PureComponent); + _inherit(V.__$$DesignMainHelicesProps_UiProps_DesignMainHelicesProps_$DesignMainHelicesProps, V.__$$DesignMainHelicesProps_UiProps_DesignMainHelicesProps); + _inherit(V._$$DesignMainHelicesProps, V.__$$DesignMainHelicesProps_UiProps_DesignMainHelicesProps_$DesignMainHelicesProps); + _inheritMany(V._$$DesignMainHelicesProps, [V._$$DesignMainHelicesProps$PlainMap, V._$$DesignMainHelicesProps$JsMap]); + _inherit(V._$DesignMainHelicesComponent, V.DesignMainHelicesComponent); + _inherit(T.DesignMainHelixComponent, T._DesignMainHelixComponent_UiComponent2_PureComponent); + _inherit(T.__$$DesignMainHelixProps_UiProps_DesignMainHelixProps_$DesignMainHelixProps, T.__$$DesignMainHelixProps_UiProps_DesignMainHelixProps); + _inherit(T._$$DesignMainHelixProps, T.__$$DesignMainHelixProps_UiProps_DesignMainHelixProps_$DesignMainHelixProps); + _inheritMany(T._$$DesignMainHelixProps, [T._$$DesignMainHelixProps$PlainMap, T._$$DesignMainHelixProps$JsMap]); + _inherit(T._$DesignMainHelixComponent, T.DesignMainHelixComponent); + _inherit(K.DesignMainLoopoutExtensionLengthComponent, K._DesignMainLoopoutExtensionLengthComponent_UiComponent2_PureComponent); + _inherit(K.__$$DesignMainLoopoutExtensionLengthProps_UiProps_DesignMainLoopoutExtensionLengthPropsMixin_$DesignMainLoopoutExtensionLengthPropsMixin, K.__$$DesignMainLoopoutExtensionLengthProps_UiProps_DesignMainLoopoutExtensionLengthPropsMixin); + _inherit(K._$$DesignMainLoopoutExtensionLengthProps, K.__$$DesignMainLoopoutExtensionLengthProps_UiProps_DesignMainLoopoutExtensionLengthPropsMixin_$DesignMainLoopoutExtensionLengthPropsMixin); + _inheritMany(K._$$DesignMainLoopoutExtensionLengthProps, [K._$$DesignMainLoopoutExtensionLengthProps$PlainMap, K._$$DesignMainLoopoutExtensionLengthProps$JsMap]); + _inherit(K._$DesignMainLoopoutExtensionLengthComponent, K.DesignMainLoopoutExtensionLengthComponent); + _inherit(Z.DesignMainLoopoutExtensionLengthsComponent, Z._DesignMainLoopoutExtensionLengthsComponent_UiComponent2_PureComponent); + _inherit(Z.__$$DesignMainLoopoutExtensionLengthsProps_UiProps_DesignMainLoopoutExtensionLengthsProps_$DesignMainLoopoutExtensionLengthsProps, Z.__$$DesignMainLoopoutExtensionLengthsProps_UiProps_DesignMainLoopoutExtensionLengthsProps); + _inherit(Z._$$DesignMainLoopoutExtensionLengthsProps, Z.__$$DesignMainLoopoutExtensionLengthsProps_UiProps_DesignMainLoopoutExtensionLengthsProps_$DesignMainLoopoutExtensionLengthsProps); + _inheritMany(Z._$$DesignMainLoopoutExtensionLengthsProps, [Z._$$DesignMainLoopoutExtensionLengthsProps$PlainMap, Z._$$DesignMainLoopoutExtensionLengthsProps$JsMap]); + _inherit(Z._$DesignMainLoopoutExtensionLengthsComponent, Z.DesignMainLoopoutExtensionLengthsComponent); + _inherit(K._DesignMainPotentialVerticalCrossoverComponent_UiComponent2_PureComponent_TransformByHelixGroup, K._DesignMainPotentialVerticalCrossoverComponent_UiComponent2_PureComponent); + _inherit(K.DesignMainPotentialVerticalCrossoverComponent, K._DesignMainPotentialVerticalCrossoverComponent_UiComponent2_PureComponent_TransformByHelixGroup); + _inherit(K.__$$DesignMainPotentialVerticalCrossoverProps_UiProps_DesignMainPotentialVerticalCrossoverPropsMixin_$DesignMainPotentialVerticalCrossoverPropsMixin, K.__$$DesignMainPotentialVerticalCrossoverProps_UiProps_DesignMainPotentialVerticalCrossoverPropsMixin); + _inherit(K.__$$DesignMainPotentialVerticalCrossoverProps_UiProps_DesignMainPotentialVerticalCrossoverPropsMixin_$DesignMainPotentialVerticalCrossoverPropsMixin_TransformByHelixGroupPropsMixin, K.__$$DesignMainPotentialVerticalCrossoverProps_UiProps_DesignMainPotentialVerticalCrossoverPropsMixin_$DesignMainPotentialVerticalCrossoverPropsMixin); + _inherit(K.__$$DesignMainPotentialVerticalCrossoverProps_UiProps_DesignMainPotentialVerticalCrossoverPropsMixin_$DesignMainPotentialVerticalCrossoverPropsMixin_TransformByHelixGroupPropsMixin_$TransformByHelixGroupPropsMixin, K.__$$DesignMainPotentialVerticalCrossoverProps_UiProps_DesignMainPotentialVerticalCrossoverPropsMixin_$DesignMainPotentialVerticalCrossoverPropsMixin_TransformByHelixGroupPropsMixin); + _inherit(K._$$DesignMainPotentialVerticalCrossoverProps, K.__$$DesignMainPotentialVerticalCrossoverProps_UiProps_DesignMainPotentialVerticalCrossoverPropsMixin_$DesignMainPotentialVerticalCrossoverPropsMixin_TransformByHelixGroupPropsMixin_$TransformByHelixGroupPropsMixin); + _inheritMany(K._$$DesignMainPotentialVerticalCrossoverProps, [K._$$DesignMainPotentialVerticalCrossoverProps$PlainMap, K._$$DesignMainPotentialVerticalCrossoverProps$JsMap]); + _inherit(K._$DesignMainPotentialVerticalCrossoverComponent, K.DesignMainPotentialVerticalCrossoverComponent); + _inherit(S.__$$DesignMainPotentialVerticalCrossoversProps_UiProps_DesignMainPotentialVerticalCrossoversProps_$DesignMainPotentialVerticalCrossoversProps, S.__$$DesignMainPotentialVerticalCrossoversProps_UiProps_DesignMainPotentialVerticalCrossoversProps); + _inherit(S._$$DesignMainPotentialVerticalCrossoversProps, S.__$$DesignMainPotentialVerticalCrossoversProps_UiProps_DesignMainPotentialVerticalCrossoversProps_$DesignMainPotentialVerticalCrossoversProps); + _inheritMany(S._$$DesignMainPotentialVerticalCrossoversProps, [S._$$DesignMainPotentialVerticalCrossoversProps$PlainMap, S._$$DesignMainPotentialVerticalCrossoversProps$JsMap]); + _inherit(S._$DesignMainPotentialVerticalCrossoversComponent, S.DesignMainPotentialVerticalCrossoversComponent); + _inherit(M.DesignMainSliceBarComponent, M._DesignMainSliceBarComponent_UiComponent2_PureComponent); + _inherit(M.__$$DesignMainSliceBarProps_UiProps_DesignMainSliceBarProps_$DesignMainSliceBarProps, M.__$$DesignMainSliceBarProps_UiProps_DesignMainSliceBarProps); + _inherit(M._$$DesignMainSliceBarProps, M.__$$DesignMainSliceBarProps_UiProps_DesignMainSliceBarProps_$DesignMainSliceBarProps); + _inheritMany(M._$$DesignMainSliceBarProps, [M._$$DesignMainSliceBarProps$PlainMap, M._$$DesignMainSliceBarProps$JsMap]); + _inherit(M._$DesignMainSliceBarComponent, M.DesignMainSliceBarComponent); + _inherit(M._DesignMainStrandComponent_UiComponent2_PureComponent_TransformByHelixGroup, M._DesignMainStrandComponent_UiComponent2_PureComponent); + _inherit(M.DesignMainStrandComponent, M._DesignMainStrandComponent_UiComponent2_PureComponent_TransformByHelixGroup); + _inherit(M.__$$DesignMainStrandProps_UiProps_DesignMainStrandPropsMixin_$DesignMainStrandPropsMixin, M.__$$DesignMainStrandProps_UiProps_DesignMainStrandPropsMixin); + _inherit(M.__$$DesignMainStrandProps_UiProps_DesignMainStrandPropsMixin_$DesignMainStrandPropsMixin_TransformByHelixGroupPropsMixin, M.__$$DesignMainStrandProps_UiProps_DesignMainStrandPropsMixin_$DesignMainStrandPropsMixin); + _inherit(M.__$$DesignMainStrandProps_UiProps_DesignMainStrandPropsMixin_$DesignMainStrandPropsMixin_TransformByHelixGroupPropsMixin_$TransformByHelixGroupPropsMixin, M.__$$DesignMainStrandProps_UiProps_DesignMainStrandPropsMixin_$DesignMainStrandPropsMixin_TransformByHelixGroupPropsMixin); + _inherit(M._$$DesignMainStrandProps, M.__$$DesignMainStrandProps_UiProps_DesignMainStrandPropsMixin_$DesignMainStrandPropsMixin_TransformByHelixGroupPropsMixin_$TransformByHelixGroupPropsMixin); + _inheritMany(M._$$DesignMainStrandProps, [M._$$DesignMainStrandProps$PlainMap, M._$$DesignMainStrandProps$JsMap]); + _inherit(M._$DesignMainStrandComponent, M.DesignMainStrandComponent); + _inherit(S._DesignMainStrandAndDomainTextsComponent_UiComponent2_PureComponent_TransformByHelixGroup, S._DesignMainStrandAndDomainTextsComponent_UiComponent2_PureComponent); + _inherit(S.DesignMainStrandAndDomainTextsComponent, S._DesignMainStrandAndDomainTextsComponent_UiComponent2_PureComponent_TransformByHelixGroup); + _inherit(S.__$$DesignMainStrandAndDomainTextsProps_UiProps_DesignMainStrandAndDomainTextsPropsMixin_$DesignMainStrandAndDomainTextsPropsMixin, S.__$$DesignMainStrandAndDomainTextsProps_UiProps_DesignMainStrandAndDomainTextsPropsMixin); + _inherit(S.__$$DesignMainStrandAndDomainTextsProps_UiProps_DesignMainStrandAndDomainTextsPropsMixin_$DesignMainStrandAndDomainTextsPropsMixin_TransformByHelixGroupPropsMixin, S.__$$DesignMainStrandAndDomainTextsProps_UiProps_DesignMainStrandAndDomainTextsPropsMixin_$DesignMainStrandAndDomainTextsPropsMixin); + _inherit(S.__$$DesignMainStrandAndDomainTextsProps_UiProps_DesignMainStrandAndDomainTextsPropsMixin_$DesignMainStrandAndDomainTextsPropsMixin_TransformByHelixGroupPropsMixin_$TransformByHelixGroupPropsMixin, S.__$$DesignMainStrandAndDomainTextsProps_UiProps_DesignMainStrandAndDomainTextsPropsMixin_$DesignMainStrandAndDomainTextsPropsMixin_TransformByHelixGroupPropsMixin); + _inherit(S._$$DesignMainStrandAndDomainTextsProps, S.__$$DesignMainStrandAndDomainTextsProps_UiProps_DesignMainStrandAndDomainTextsPropsMixin_$DesignMainStrandAndDomainTextsPropsMixin_TransformByHelixGroupPropsMixin_$TransformByHelixGroupPropsMixin); + _inheritMany(S._$$DesignMainStrandAndDomainTextsProps, [S._$$DesignMainStrandAndDomainTextsProps$PlainMap, S._$$DesignMainStrandAndDomainTextsProps$JsMap]); + _inherit(S._$DesignMainStrandAndDomainTextsComponent, S.DesignMainStrandAndDomainTextsComponent); + _inherit(R._DesignMainStrandCreatingComponent_UiComponent2_PureComponent_TransformByHelixGroup, R._DesignMainStrandCreatingComponent_UiComponent2_PureComponent); + _inherit(R.DesignMainStrandCreatingComponent, R._DesignMainStrandCreatingComponent_UiComponent2_PureComponent_TransformByHelixGroup); + _inherit(R.__$$DesignMainStrandCreatingProps_UiProps_DesignMainStrandCreatingPropsMixin_$DesignMainStrandCreatingPropsMixin, R.__$$DesignMainStrandCreatingProps_UiProps_DesignMainStrandCreatingPropsMixin); + _inherit(R.__$$DesignMainStrandCreatingProps_UiProps_DesignMainStrandCreatingPropsMixin_$DesignMainStrandCreatingPropsMixin_TransformByHelixGroupPropsMixin, R.__$$DesignMainStrandCreatingProps_UiProps_DesignMainStrandCreatingPropsMixin_$DesignMainStrandCreatingPropsMixin); + _inherit(R.__$$DesignMainStrandCreatingProps_UiProps_DesignMainStrandCreatingPropsMixin_$DesignMainStrandCreatingPropsMixin_TransformByHelixGroupPropsMixin_$TransformByHelixGroupPropsMixin, R.__$$DesignMainStrandCreatingProps_UiProps_DesignMainStrandCreatingPropsMixin_$DesignMainStrandCreatingPropsMixin_TransformByHelixGroupPropsMixin); + _inherit(R._$$DesignMainStrandCreatingProps, R.__$$DesignMainStrandCreatingProps_UiProps_DesignMainStrandCreatingPropsMixin_$DesignMainStrandCreatingPropsMixin_TransformByHelixGroupPropsMixin_$TransformByHelixGroupPropsMixin); + _inheritMany(R._$$DesignMainStrandCreatingProps, [R._$$DesignMainStrandCreatingProps$PlainMap, R._$$DesignMainStrandCreatingProps$JsMap]); + _inherit(R._$DesignMainStrandCreatingComponent, R.DesignMainStrandCreatingComponent); + _inherit(Q._DesignMainStrandCrossoverComponent_UiStatefulComponent2_PureComponent_TransformByHelixGroup, Q._DesignMainStrandCrossoverComponent_UiStatefulComponent2_PureComponent); + _inherit(Q.DesignMainStrandCrossoverComponent, Q._DesignMainStrandCrossoverComponent_UiStatefulComponent2_PureComponent_TransformByHelixGroup); + _inherit(Q.__$$DesignMainStrandCrossoverProps_UiProps_DesignMainStrandCrossoverPropsMixin_$DesignMainStrandCrossoverPropsMixin, Q.__$$DesignMainStrandCrossoverProps_UiProps_DesignMainStrandCrossoverPropsMixin); + _inherit(Q.__$$DesignMainStrandCrossoverProps_UiProps_DesignMainStrandCrossoverPropsMixin_$DesignMainStrandCrossoverPropsMixin_TransformByHelixGroupPropsMixin, Q.__$$DesignMainStrandCrossoverProps_UiProps_DesignMainStrandCrossoverPropsMixin_$DesignMainStrandCrossoverPropsMixin); + _inherit(Q.__$$DesignMainStrandCrossoverProps_UiProps_DesignMainStrandCrossoverPropsMixin_$DesignMainStrandCrossoverPropsMixin_TransformByHelixGroupPropsMixin_$TransformByHelixGroupPropsMixin, Q.__$$DesignMainStrandCrossoverProps_UiProps_DesignMainStrandCrossoverPropsMixin_$DesignMainStrandCrossoverPropsMixin_TransformByHelixGroupPropsMixin); + _inherit(Q._$$DesignMainStrandCrossoverProps, Q.__$$DesignMainStrandCrossoverProps_UiProps_DesignMainStrandCrossoverPropsMixin_$DesignMainStrandCrossoverPropsMixin_TransformByHelixGroupPropsMixin_$TransformByHelixGroupPropsMixin); + _inheritMany(Q._$$DesignMainStrandCrossoverProps, [Q._$$DesignMainStrandCrossoverProps$PlainMap, Q._$$DesignMainStrandCrossoverProps$JsMap]); + _inherit(Q.__$$DesignMainStrandCrossoverState_UiState_DesignMainStrandCrossoverState_$DesignMainStrandCrossoverState, Q.__$$DesignMainStrandCrossoverState_UiState_DesignMainStrandCrossoverState); + _inherit(Q._$$DesignMainStrandCrossoverState, Q.__$$DesignMainStrandCrossoverState_UiState_DesignMainStrandCrossoverState_$DesignMainStrandCrossoverState); + _inherit(Q._$$DesignMainStrandCrossoverState$JsMap, Q._$$DesignMainStrandCrossoverState); + _inherit(Q._$DesignMainStrandCrossoverComponent, Q.DesignMainStrandCrossoverComponent); + _inherit(A.DesignMainStrandDeletionComponent, A._DesignMainStrandDeletionComponent_UiComponent2_PureComponent); + _inherit(A.__$$DesignMainStrandDeletionProps_UiProps_DesignMainStrandDeletionPropsMixin_$DesignMainStrandDeletionPropsMixin, A.__$$DesignMainStrandDeletionProps_UiProps_DesignMainStrandDeletionPropsMixin); + _inherit(A._$$DesignMainStrandDeletionProps, A.__$$DesignMainStrandDeletionProps_UiProps_DesignMainStrandDeletionPropsMixin_$DesignMainStrandDeletionPropsMixin); + _inheritMany(A._$$DesignMainStrandDeletionProps, [A._$$DesignMainStrandDeletionProps$PlainMap, A._$$DesignMainStrandDeletionProps$JsMap]); + _inherit(A._$DesignMainStrandDeletionComponent, A.DesignMainStrandDeletionComponent); + _inherit(S.DesignMainDNAEndComponent, S._DesignMainDNAEndComponent_UiComponent2_PureComponent); + _inherit(S.__$$DesignMainDNAEndProps_UiProps_DesignMainDNAEndPropsMixin_$DesignMainDNAEndPropsMixin, S.__$$DesignMainDNAEndProps_UiProps_DesignMainDNAEndPropsMixin); + _inherit(S._$$DesignMainDNAEndProps, S.__$$DesignMainDNAEndProps_UiProps_DesignMainDNAEndPropsMixin_$DesignMainDNAEndPropsMixin); + _inheritMany(S._$$DesignMainDNAEndProps, [S._$$DesignMainDNAEndProps$PlainMap, S._$$DesignMainDNAEndProps$JsMap]); + _inherit(S._$DesignMainDNAEndComponent, S.DesignMainDNAEndComponent); + _inherit(F.__$$EndMovingProps_UiProps_EndMovingProps_$EndMovingProps, F.__$$EndMovingProps_UiProps_EndMovingProps); + _inherit(F._$$EndMovingProps, F.__$$EndMovingProps_UiProps_EndMovingProps_$EndMovingProps); + _inheritMany(F._$$EndMovingProps, [F._$$EndMovingProps$PlainMap, F._$$EndMovingProps$JsMap]); + _inherit(F._$EndMovingComponent, F.EndMovingComponent); + _inherit(T.__$$ExtensionEndMovingProps_UiProps_ExtensionEndMovingProps_$ExtensionEndMovingProps, T.__$$ExtensionEndMovingProps_UiProps_ExtensionEndMovingProps); + _inherit(T._$$ExtensionEndMovingProps, T.__$$ExtensionEndMovingProps_UiProps_ExtensionEndMovingProps_$ExtensionEndMovingProps); + _inheritMany(T._$$ExtensionEndMovingProps, [T._$$ExtensionEndMovingProps$PlainMap, T._$$ExtensionEndMovingProps$JsMap]); + _inherit(T._$ExtensionEndMovingComponent, T.ExtensionEndMovingComponent); + _inherit(T._DesignMainDomainComponent_UiComponent2_PureComponent_TransformByHelixGroup, T._DesignMainDomainComponent_UiComponent2_PureComponent); + _inherit(T.DesignMainDomainComponent, T._DesignMainDomainComponent_UiComponent2_PureComponent_TransformByHelixGroup); + _inherit(T.__$$DesignMainDomainProps_UiProps_DesignMainDomainPropsMixin_$DesignMainDomainPropsMixin, T.__$$DesignMainDomainProps_UiProps_DesignMainDomainPropsMixin); + _inherit(T.__$$DesignMainDomainProps_UiProps_DesignMainDomainPropsMixin_$DesignMainDomainPropsMixin_TransformByHelixGroupPropsMixin, T.__$$DesignMainDomainProps_UiProps_DesignMainDomainPropsMixin_$DesignMainDomainPropsMixin); + _inherit(T.__$$DesignMainDomainProps_UiProps_DesignMainDomainPropsMixin_$DesignMainDomainPropsMixin_TransformByHelixGroupPropsMixin_$TransformByHelixGroupPropsMixin, T.__$$DesignMainDomainProps_UiProps_DesignMainDomainPropsMixin_$DesignMainDomainPropsMixin_TransformByHelixGroupPropsMixin); + _inherit(T._$$DesignMainDomainProps, T.__$$DesignMainDomainProps_UiProps_DesignMainDomainPropsMixin_$DesignMainDomainPropsMixin_TransformByHelixGroupPropsMixin_$TransformByHelixGroupPropsMixin); + _inheritMany(T._$$DesignMainDomainProps, [T._$$DesignMainDomainProps$PlainMap, T._$$DesignMainDomainProps$JsMap]); + _inherit(T._$DesignMainDomainComponent, T.DesignMainDomainComponent); + _inherit(B.DesignMainStrandDomainTextComponent, B._DesignMainStrandDomainTextComponent_UiComponent2_PureComponent); + _inherit(B.__$$DesignMainStrandDomainTextProps_UiProps_DesignMainStrandDomainTextPropsMixin_$DesignMainStrandDomainTextPropsMixin, B.__$$DesignMainStrandDomainTextProps_UiProps_DesignMainStrandDomainTextPropsMixin); + _inherit(B._$$DesignMainStrandDomainTextProps, B.__$$DesignMainStrandDomainTextProps_UiProps_DesignMainStrandDomainTextPropsMixin_$DesignMainStrandDomainTextPropsMixin); + _inheritMany(B._$$DesignMainStrandDomainTextProps, [B._$$DesignMainStrandDomainTextProps$PlainMap, B._$$DesignMainStrandDomainTextProps$JsMap]); + _inherit(B._$DesignMainStrandDomainTextComponent, B.DesignMainStrandDomainTextComponent); + _inherit(Q._DesignMainExtensionComponent_UiComponent2_PureComponent_TransformByHelixGroup, Q._DesignMainExtensionComponent_UiComponent2_PureComponent); + _inherit(Q.DesignMainExtensionComponent, Q._DesignMainExtensionComponent_UiComponent2_PureComponent_TransformByHelixGroup); + _inherit(Q.__$$DesignMainExtensionProps_UiProps_DesignMainExtensionPropsMixin_$DesignMainExtensionPropsMixin, Q.__$$DesignMainExtensionProps_UiProps_DesignMainExtensionPropsMixin); + _inherit(Q.__$$DesignMainExtensionProps_UiProps_DesignMainExtensionPropsMixin_$DesignMainExtensionPropsMixin_TransformByHelixGroupPropsMixin, Q.__$$DesignMainExtensionProps_UiProps_DesignMainExtensionPropsMixin_$DesignMainExtensionPropsMixin); + _inherit(Q.__$$DesignMainExtensionProps_UiProps_DesignMainExtensionPropsMixin_$DesignMainExtensionPropsMixin_TransformByHelixGroupPropsMixin_$TransformByHelixGroupPropsMixin, Q.__$$DesignMainExtensionProps_UiProps_DesignMainExtensionPropsMixin_$DesignMainExtensionPropsMixin_TransformByHelixGroupPropsMixin); + _inherit(Q._$$DesignMainExtensionProps, Q.__$$DesignMainExtensionProps_UiProps_DesignMainExtensionPropsMixin_$DesignMainExtensionPropsMixin_TransformByHelixGroupPropsMixin_$TransformByHelixGroupPropsMixin); + _inheritMany(Q._$$DesignMainExtensionProps, [Q._$$DesignMainExtensionProps$PlainMap, Q._$$DesignMainExtensionProps$JsMap]); + _inherit(Q._$DesignMainExtensionComponent, Q.DesignMainExtensionComponent); + _inherit(R.DesignMainStrandExtensionTextComponent, R._DesignMainStrandExtensionTextComponent_UiComponent2_PureComponent); + _inherit(R.__$$DesignMainStrandExtensionTextProps_UiProps_DesignMainStrandExtensionTextPropsMixin_$DesignMainStrandExtensionTextPropsMixin, R.__$$DesignMainStrandExtensionTextProps_UiProps_DesignMainStrandExtensionTextPropsMixin); + _inherit(R._$$DesignMainStrandExtensionTextProps, R.__$$DesignMainStrandExtensionTextProps_UiProps_DesignMainStrandExtensionTextPropsMixin_$DesignMainStrandExtensionTextPropsMixin); + _inheritMany(R._$$DesignMainStrandExtensionTextProps, [R._$$DesignMainStrandExtensionTextProps$PlainMap, R._$$DesignMainStrandExtensionTextProps$JsMap]); + _inherit(R._$DesignMainStrandExtensionTextComponent, R.DesignMainStrandExtensionTextComponent); + _inherit(A.DesignMainStrandInsertionComponent, A._DesignMainStrandInsertionComponent_UiComponent2_PureComponent); + _inherit(A.__$$DesignMainStrandInsertionProps_UiProps_DesignMainStrandInsertionPropsMixin_$DesignMainStrandInsertionPropsMixin, A.__$$DesignMainStrandInsertionProps_UiProps_DesignMainStrandInsertionPropsMixin); + _inherit(A._$$DesignMainStrandInsertionProps, A.__$$DesignMainStrandInsertionProps_UiProps_DesignMainStrandInsertionPropsMixin_$DesignMainStrandInsertionPropsMixin); + _inheritMany(A._$$DesignMainStrandInsertionProps, [A._$$DesignMainStrandInsertionProps$PlainMap, A._$$DesignMainStrandInsertionProps$JsMap]); + _inherit(A._$DesignMainStrandInsertionComponent, A.DesignMainStrandInsertionComponent); + _inherit(R._DesignMainLoopoutComponent_UiStatefulComponent2_PureComponent_TransformByHelixGroup, R._DesignMainLoopoutComponent_UiStatefulComponent2_PureComponent); + _inherit(R.DesignMainLoopoutComponent, R._DesignMainLoopoutComponent_UiStatefulComponent2_PureComponent_TransformByHelixGroup); + _inherit(R.__$$DesignMainLoopoutProps_UiProps_DesignMainLoopoutPropsMixin_$DesignMainLoopoutPropsMixin, R.__$$DesignMainLoopoutProps_UiProps_DesignMainLoopoutPropsMixin); + _inherit(R.__$$DesignMainLoopoutProps_UiProps_DesignMainLoopoutPropsMixin_$DesignMainLoopoutPropsMixin_TransformByHelixGroupPropsMixin, R.__$$DesignMainLoopoutProps_UiProps_DesignMainLoopoutPropsMixin_$DesignMainLoopoutPropsMixin); + _inherit(R.__$$DesignMainLoopoutProps_UiProps_DesignMainLoopoutPropsMixin_$DesignMainLoopoutPropsMixin_TransformByHelixGroupPropsMixin_$TransformByHelixGroupPropsMixin, R.__$$DesignMainLoopoutProps_UiProps_DesignMainLoopoutPropsMixin_$DesignMainLoopoutPropsMixin_TransformByHelixGroupPropsMixin); + _inherit(R._$$DesignMainLoopoutProps, R.__$$DesignMainLoopoutProps_UiProps_DesignMainLoopoutPropsMixin_$DesignMainLoopoutPropsMixin_TransformByHelixGroupPropsMixin_$TransformByHelixGroupPropsMixin); + _inheritMany(R._$$DesignMainLoopoutProps, [R._$$DesignMainLoopoutProps$PlainMap, R._$$DesignMainLoopoutProps$JsMap]); + _inherit(R.__$$DesignMainLoopoutState_UiState_DesignMainLoopoutState_$DesignMainLoopoutState, R.__$$DesignMainLoopoutState_UiState_DesignMainLoopoutState); + _inherit(R._$$DesignMainLoopoutState, R.__$$DesignMainLoopoutState_UiState_DesignMainLoopoutState_$DesignMainLoopoutState); + _inherit(R._$$DesignMainLoopoutState$JsMap, R._$$DesignMainLoopoutState); + _inherit(R._$DesignMainLoopoutComponent, R.DesignMainLoopoutComponent); + _inherit(S.DesignMainStrandLoopoutTextComponent, S._DesignMainStrandLoopoutTextComponent_UiComponent2_PureComponent); + _inherit(S.__$$DesignMainStrandLoopoutTextProps_UiProps_DesignMainStrandLoopoutTextPropsMixin_$DesignMainStrandLoopoutTextPropsMixin, S.__$$DesignMainStrandLoopoutTextProps_UiProps_DesignMainStrandLoopoutTextPropsMixin); + _inherit(S._$$DesignMainStrandLoopoutTextProps, S.__$$DesignMainStrandLoopoutTextProps_UiProps_DesignMainStrandLoopoutTextPropsMixin_$DesignMainStrandLoopoutTextPropsMixin); + _inheritMany(S._$$DesignMainStrandLoopoutTextProps, [S._$$DesignMainStrandLoopoutTextProps$PlainMap, S._$$DesignMainStrandLoopoutTextProps$JsMap]); + _inherit(S._$DesignMainStrandLoopoutTextComponent, S.DesignMainStrandLoopoutTextComponent); + _inherit(X.__$$DesignMainStrandModificationProps_UiProps_DesignMainStrandModificationProps_$DesignMainStrandModificationProps, X.__$$DesignMainStrandModificationProps_UiProps_DesignMainStrandModificationProps); + _inherit(X._$$DesignMainStrandModificationProps, X.__$$DesignMainStrandModificationProps_UiProps_DesignMainStrandModificationProps_$DesignMainStrandModificationProps); + _inheritMany(X._$$DesignMainStrandModificationProps, [X._$$DesignMainStrandModificationProps$PlainMap, X._$$DesignMainStrandModificationProps$JsMap]); + _inherit(X._$DesignMainStrandModificationComponent, X.DesignMainStrandModificationComponent); + _inherit(R._DesignMainStrandModificationsComponent_UiComponent2_PureComponent_TransformByHelixGroup, R._DesignMainStrandModificationsComponent_UiComponent2_PureComponent); + _inherit(R.DesignMainStrandModificationsComponent, R._DesignMainStrandModificationsComponent_UiComponent2_PureComponent_TransformByHelixGroup); + _inherit(R.__$$DesignMainStrandModificationsProps_UiProps_DesignMainStrandModificationsPropsMixin_$DesignMainStrandModificationsPropsMixin, R.__$$DesignMainStrandModificationsProps_UiProps_DesignMainStrandModificationsPropsMixin); + _inherit(R.__$$DesignMainStrandModificationsProps_UiProps_DesignMainStrandModificationsPropsMixin_$DesignMainStrandModificationsPropsMixin_TransformByHelixGroupPropsMixin, R.__$$DesignMainStrandModificationsProps_UiProps_DesignMainStrandModificationsPropsMixin_$DesignMainStrandModificationsPropsMixin); + _inherit(R.__$$DesignMainStrandModificationsProps_UiProps_DesignMainStrandModificationsPropsMixin_$DesignMainStrandModificationsPropsMixin_TransformByHelixGroupPropsMixin_$TransformByHelixGroupPropsMixin, R.__$$DesignMainStrandModificationsProps_UiProps_DesignMainStrandModificationsPropsMixin_$DesignMainStrandModificationsPropsMixin_TransformByHelixGroupPropsMixin); + _inherit(R._$$DesignMainStrandModificationsProps, R.__$$DesignMainStrandModificationsProps_UiProps_DesignMainStrandModificationsPropsMixin_$DesignMainStrandModificationsPropsMixin_TransformByHelixGroupPropsMixin_$TransformByHelixGroupPropsMixin); + _inheritMany(R._$$DesignMainStrandModificationsProps, [R._$$DesignMainStrandModificationsProps$PlainMap, R._$$DesignMainStrandModificationsProps$JsMap]); + _inherit(R._$DesignMainStrandModificationsComponent, R.DesignMainStrandModificationsComponent); + _inherit(T._DesignMainStrandMovingComponent_UiComponent2_PureComponent_TransformByHelixGroup, T._DesignMainStrandMovingComponent_UiComponent2_PureComponent); + _inherit(T.DesignMainStrandMovingComponent, T._DesignMainStrandMovingComponent_UiComponent2_PureComponent_TransformByHelixGroup); + _inherit(T.__$$DesignMainStrandMovingProps_UiProps_DesignMainStrandMovingPropsMixin_$DesignMainStrandMovingPropsMixin, T.__$$DesignMainStrandMovingProps_UiProps_DesignMainStrandMovingPropsMixin); + _inherit(T.__$$DesignMainStrandMovingProps_UiProps_DesignMainStrandMovingPropsMixin_$DesignMainStrandMovingPropsMixin_TransformByHelixGroupPropsMixin, T.__$$DesignMainStrandMovingProps_UiProps_DesignMainStrandMovingPropsMixin_$DesignMainStrandMovingPropsMixin); + _inherit(T.__$$DesignMainStrandMovingProps_UiProps_DesignMainStrandMovingPropsMixin_$DesignMainStrandMovingPropsMixin_TransformByHelixGroupPropsMixin_$TransformByHelixGroupPropsMixin, T.__$$DesignMainStrandMovingProps_UiProps_DesignMainStrandMovingPropsMixin_$DesignMainStrandMovingPropsMixin_TransformByHelixGroupPropsMixin); + _inherit(T._$$DesignMainStrandMovingProps, T.__$$DesignMainStrandMovingProps_UiProps_DesignMainStrandMovingPropsMixin_$DesignMainStrandMovingPropsMixin_TransformByHelixGroupPropsMixin_$TransformByHelixGroupPropsMixin); + _inheritMany(T._$$DesignMainStrandMovingProps, [T._$$DesignMainStrandMovingProps$PlainMap, T._$$DesignMainStrandMovingProps$JsMap]); + _inherit(T._$DesignMainStrandMovingComponent, T.DesignMainStrandMovingComponent); + _inherit(B._DesignMainStrandPathsComponent_UiComponent2_PureComponent_TransformByHelixGroup, B._DesignMainStrandPathsComponent_UiComponent2_PureComponent); + _inherit(B.DesignMainStrandPathsComponent, B._DesignMainStrandPathsComponent_UiComponent2_PureComponent_TransformByHelixGroup); + _inherit(B.__$$DesignMainStrandPathsProps_UiProps_DesignMainStrandPathsPropsMixin_$DesignMainStrandPathsPropsMixin, B.__$$DesignMainStrandPathsProps_UiProps_DesignMainStrandPathsPropsMixin); + _inherit(B.__$$DesignMainStrandPathsProps_UiProps_DesignMainStrandPathsPropsMixin_$DesignMainStrandPathsPropsMixin_TransformByHelixGroupPropsMixin, B.__$$DesignMainStrandPathsProps_UiProps_DesignMainStrandPathsPropsMixin_$DesignMainStrandPathsPropsMixin); + _inherit(B.__$$DesignMainStrandPathsProps_UiProps_DesignMainStrandPathsPropsMixin_$DesignMainStrandPathsPropsMixin_TransformByHelixGroupPropsMixin_$TransformByHelixGroupPropsMixin, B.__$$DesignMainStrandPathsProps_UiProps_DesignMainStrandPathsPropsMixin_$DesignMainStrandPathsPropsMixin_TransformByHelixGroupPropsMixin); + _inherit(B._$$DesignMainStrandPathsProps, B.__$$DesignMainStrandPathsProps_UiProps_DesignMainStrandPathsPropsMixin_$DesignMainStrandPathsPropsMixin_TransformByHelixGroupPropsMixin_$TransformByHelixGroupPropsMixin); + _inheritMany(B._$$DesignMainStrandPathsProps, [B._$$DesignMainStrandPathsProps$PlainMap, B._$$DesignMainStrandPathsProps$JsMap]); + _inherit(B._$DesignMainStrandPathsComponent, B.DesignMainStrandPathsComponent); + _inherit(E.DesignMainStrandsComponent, E._DesignMainStrandsComponent_UiComponent2_PureComponent); + _inherit(E.__$$DesignMainStrandsProps_UiProps_DesignMainStrandsProps_$DesignMainStrandsProps, E.__$$DesignMainStrandsProps_UiProps_DesignMainStrandsProps); + _inherit(E._$$DesignMainStrandsProps, E.__$$DesignMainStrandsProps_UiProps_DesignMainStrandsProps_$DesignMainStrandsProps); + _inheritMany(E._$$DesignMainStrandsProps, [E._$$DesignMainStrandsProps$PlainMap, E._$$DesignMainStrandsProps$JsMap]); + _inherit(E._$DesignMainStrandsComponent, E.DesignMainStrandsComponent); + _inherit(F.__$$DesignMainStrandsMovingProps_UiProps_DesignMainStrandsMovingProps_$DesignMainStrandsMovingProps, F.__$$DesignMainStrandsMovingProps_UiProps_DesignMainStrandsMovingProps); + _inherit(F._$$DesignMainStrandsMovingProps, F.__$$DesignMainStrandsMovingProps_UiProps_DesignMainStrandsMovingProps_$DesignMainStrandsMovingProps); + _inheritMany(F._$$DesignMainStrandsMovingProps, [F._$$DesignMainStrandsMovingProps$PlainMap, F._$$DesignMainStrandsMovingProps$JsMap]); + _inherit(F._$DesignMainStrandsMovingComponent, F.DesignMainStrandsMovingComponent); + _inherit(B.DesignMainUnpairedInsertionDeletionsComponent, B._DesignMainUnpairedInsertionDeletionsComponent_UiComponent2_PureComponent); + _inherit(B.__$$DesignMainUnpairedInsertionDeletionsProps_UiProps_DesignMainUnpairedInsertionDeletionsProps_$DesignMainUnpairedInsertionDeletionsProps, B.__$$DesignMainUnpairedInsertionDeletionsProps_UiProps_DesignMainUnpairedInsertionDeletionsProps); + _inherit(B._$$DesignMainUnpairedInsertionDeletionsProps, B.__$$DesignMainUnpairedInsertionDeletionsProps_UiProps_DesignMainUnpairedInsertionDeletionsProps_$DesignMainUnpairedInsertionDeletionsProps); + _inheritMany(B._$$DesignMainUnpairedInsertionDeletionsProps, [B._$$DesignMainUnpairedInsertionDeletionsProps$PlainMap, B._$$DesignMainUnpairedInsertionDeletionsProps$JsMap]); + _inherit(B._$DesignMainUnpairedInsertionDeletionsComponent, B.DesignMainUnpairedInsertionDeletionsComponent); + _inherit(R.__$$DesignMainWarningStarProps_UiProps_DesignMainWarningStarProps_$DesignMainWarningStarProps, R.__$$DesignMainWarningStarProps_UiProps_DesignMainWarningStarProps); + _inherit(R._$$DesignMainWarningStarProps, R.__$$DesignMainWarningStarProps_UiProps_DesignMainWarningStarProps_$DesignMainWarningStarProps); + _inheritMany(R._$$DesignMainWarningStarProps, [R._$$DesignMainWarningStarProps$PlainMap, R._$$DesignMainWarningStarProps$JsMap]); + _inherit(R._$DesignMainWarningStarComponent, R.DesignMainWarningStarComponent); + _inherit(U.DesignSideComponent, U._DesignSideComponent_UiComponent2_PureComponent); + _inherit(U.__$$DesignSideProps_UiProps_DesignSideProps_$DesignSideProps, U.__$$DesignSideProps_UiProps_DesignSideProps); + _inherit(U._$$DesignSideProps, U.__$$DesignSideProps_UiProps_DesignSideProps_$DesignSideProps); + _inheritMany(U._$$DesignSideProps, [U._$$DesignSideProps$PlainMap, U._$$DesignSideProps$JsMap]); + _inherit(U._$DesignSideComponent, U.DesignSideComponent); + _inherit(S.__$$DesignSideArrowsProps_UiProps_DesignSideArrowsProps_$DesignSideArrowsProps, S.__$$DesignSideArrowsProps_UiProps_DesignSideArrowsProps); + _inherit(S._$$DesignSideArrowsProps, S.__$$DesignSideArrowsProps_UiProps_DesignSideArrowsProps_$DesignSideArrowsProps); + _inheritMany(S._$$DesignSideArrowsProps, [S._$$DesignSideArrowsProps$PlainMap, S._$$DesignSideArrowsProps$JsMap]); + _inherit(S._$DesignMainArrowsComponent, S.DesignMainArrowsComponent0); + _inherit(B.DesignSideHelixComponent, B._DesignSideHelixComponent_UiComponent2_PureComponent); + _inherit(B.__$$DesignSideHelixProps_UiProps_DesignSideHelixProps_$DesignSideHelixProps, B.__$$DesignSideHelixProps_UiProps_DesignSideHelixProps); + _inherit(B._$$DesignSideHelixProps, B.__$$DesignSideHelixProps_UiProps_DesignSideHelixProps_$DesignSideHelixProps); + _inheritMany(B._$$DesignSideHelixProps, [B._$$DesignSideHelixProps$PlainMap, B._$$DesignSideHelixProps$JsMap]); + _inherit(B._$DesignSideHelixComponent, B.DesignSideHelixComponent); + _inherit(Y.__$$DesignSidePotentialHelixProps_UiProps_DesignSidePotentialHelixProps_$DesignSidePotentialHelixProps, Y.__$$DesignSidePotentialHelixProps_UiProps_DesignSidePotentialHelixProps); + _inherit(Y._$$DesignSidePotentialHelixProps, Y.__$$DesignSidePotentialHelixProps_UiProps_DesignSidePotentialHelixProps_$DesignSidePotentialHelixProps); + _inheritMany(Y._$$DesignSidePotentialHelixProps, [Y._$$DesignSidePotentialHelixProps$PlainMap, Y._$$DesignSidePotentialHelixProps$JsMap]); + _inherit(Y._$DesignSidePotentialHelixComponent, Y.DesignSidePotentialHelixComponent); + _inherit(O.DesignSideRotationComponent, O._DesignSideRotationComponent_UiComponent2_PureComponent); + _inherit(O.__$$DesignSideRotationProps_UiProps_DesignSideRotationProps_$DesignSideRotationProps, O.__$$DesignSideRotationProps_UiProps_DesignSideRotationProps); + _inherit(O._$$DesignSideRotationProps, O.__$$DesignSideRotationProps_UiProps_DesignSideRotationProps_$DesignSideRotationProps); + _inheritMany(O._$$DesignSideRotationProps, [O._$$DesignSideRotationProps$PlainMap, O._$$DesignSideRotationProps$JsMap]); + _inherit(O._$DesignSideRotationComponent, O.DesignSideRotationComponent); + _inherit(E.__$$DesignSideRotationArrowProps_UiProps_DesignSideRotationArrowProps_$DesignSideRotationArrowProps, E.__$$DesignSideRotationArrowProps_UiProps_DesignSideRotationArrowProps); + _inherit(E._$$DesignSideRotationArrowProps, E.__$$DesignSideRotationArrowProps_UiProps_DesignSideRotationArrowProps_$DesignSideRotationArrowProps); + _inheritMany(E._$$DesignSideRotationArrowProps, [E._$$DesignSideRotationArrowProps$PlainMap, E._$$DesignSideRotationArrowProps$JsMap]); + _inherit(E._$DesignSideRotationArrowComponent, E.DesignSideRotationArrowComponent); + _inherit(Z.EditAndSelectModesComponent, Z._EditAndSelectModesComponent_UiComponent2_RedrawCounterMixin); + _inherit(Z.__$$EditAndSelectModesProps_UiProps_EditAndSelectModesProps_$EditAndSelectModesProps, Z.__$$EditAndSelectModesProps_UiProps_EditAndSelectModesProps); + _inherit(Z._$$EditAndSelectModesProps, Z.__$$EditAndSelectModesProps_UiProps_EditAndSelectModesProps_$EditAndSelectModesProps); + _inheritMany(Z._$$EditAndSelectModesProps, [Z._$$EditAndSelectModesProps$PlainMap, Z._$$EditAndSelectModesProps$JsMap]); + _inherit(Z._$EditAndSelectModesComponent, Z.EditAndSelectModesComponent); + _inherit(M.EditModeComponent, M._EditModeComponent_UiComponent2_RedrawCounterMixin); + _inherit(M.__$$EditModeProps_UiProps_EditModeProps_$EditModeProps, M.__$$EditModeProps_UiProps_EditModeProps); + _inherit(M._$$EditModeProps, M.__$$EditModeProps_UiProps_EditModeProps_$EditModeProps); + _inheritMany(M._$$EditModeProps, [M._$$EditModeProps$PlainMap, M._$$EditModeProps$JsMap]); + _inherit(M._$EditModeComponent, M.EditModeComponent); + _inherit(O.HelixGroupMovingComponent, O._HelixGroupMovingComponent_UiComponent2_PureComponent); + _inherit(O.__$$HelixGroupMovingProps_UiProps_HelixGroupMovingProps_$HelixGroupMovingProps, O.__$$HelixGroupMovingProps_UiProps_HelixGroupMovingProps); + _inherit(O._$$HelixGroupMovingProps, O.__$$HelixGroupMovingProps_UiProps_HelixGroupMovingProps_$HelixGroupMovingProps); + _inheritMany(O._$$HelixGroupMovingProps, [O._$$HelixGroupMovingProps$PlainMap, O._$$HelixGroupMovingProps$JsMap]); + _inherit(O._$HelixGroupMovingComponent, O.HelixGroupMovingComponent); + _inherit(D.MenuComponent, D._MenuComponent_UiComponent2_RedrawCounterMixin); + _inherit(D.__$$MenuProps_UiProps_MenuPropsMixin_$MenuPropsMixin, D.__$$MenuProps_UiProps_MenuPropsMixin); + _inherit(D.__$$MenuProps_UiProps_MenuPropsMixin_$MenuPropsMixin_ConnectPropsMixin, D.__$$MenuProps_UiProps_MenuPropsMixin_$MenuPropsMixin); + _inherit(D.__$$MenuProps_UiProps_MenuPropsMixin_$MenuPropsMixin_ConnectPropsMixin_$ConnectPropsMixin, D.__$$MenuProps_UiProps_MenuPropsMixin_$MenuPropsMixin_ConnectPropsMixin); + _inherit(D._$$MenuProps, D.__$$MenuProps_UiProps_MenuPropsMixin_$MenuPropsMixin_ConnectPropsMixin_$ConnectPropsMixin); + _inheritMany(D._$$MenuProps, [D._$$MenuProps$PlainMap, D._$$MenuProps$JsMap]); + _inherit(D._$MenuComponent, D.MenuComponent); + _inherit(Z.__$$MenuBooleanProps_UiProps_MenuBooleanPropsMixin_$MenuBooleanPropsMixin, Z.__$$MenuBooleanProps_UiProps_MenuBooleanPropsMixin); + _inherit(Z._$$MenuBooleanProps, Z.__$$MenuBooleanProps_UiProps_MenuBooleanPropsMixin_$MenuBooleanPropsMixin); + _inheritMany(Z._$$MenuBooleanProps, [Z._$$MenuBooleanProps$PlainMap, Z._$$MenuBooleanProps$JsMap]); + _inherit(Z._$MenuBooleanComponent, Z.MenuBooleanComponent); + _inherit(N.__$$MenuDropdownItemProps_UiProps_MenuDropdownItemPropsMixin_$MenuDropdownItemPropsMixin, N.__$$MenuDropdownItemProps_UiProps_MenuDropdownItemPropsMixin); + _inherit(N._$$MenuDropdownItemProps, N.__$$MenuDropdownItemProps_UiProps_MenuDropdownItemPropsMixin_$MenuDropdownItemPropsMixin); + _inheritMany(N._$$MenuDropdownItemProps, [N._$$MenuDropdownItemProps$PlainMap, N._$$MenuDropdownItemProps$JsMap]); + _inherit(N._$MenuDropdownItemComponent, N.MenuDropdownItemComponent); + _inherit(M.__$$MenuDropdownRightProps_UiProps_MenuDropdownRightProps_$MenuDropdownRightProps, M.__$$MenuDropdownRightProps_UiProps_MenuDropdownRightProps); + _inherit(M._$$MenuDropdownRightProps, M.__$$MenuDropdownRightProps_UiProps_MenuDropdownRightProps_$MenuDropdownRightProps); + _inheritMany(M._$$MenuDropdownRightProps, [M._$$MenuDropdownRightProps$PlainMap, M._$$MenuDropdownRightProps$JsMap]); + _inherit(M.__$$MenuDropdownRightState_UiState_MenuDropdownRightState_$MenuDropdownRightState, M.__$$MenuDropdownRightState_UiState_MenuDropdownRightState); + _inherit(M._$$MenuDropdownRightState, M.__$$MenuDropdownRightState_UiState_MenuDropdownRightState_$MenuDropdownRightState); + _inherit(M._$$MenuDropdownRightState$JsMap, M._$$MenuDropdownRightState); + _inherit(M._$MenuDropdownRightComponent, M.MenuDropdownRightComponent); + _inherit(O.__$$MenuFormFileProps_UiProps_MenuFormFileProps_$MenuFormFileProps, O.__$$MenuFormFileProps_UiProps_MenuFormFileProps); + _inherit(O._$$MenuFormFileProps, O.__$$MenuFormFileProps_UiProps_MenuFormFileProps_$MenuFormFileProps); + _inheritMany(O._$$MenuFormFileProps, [O._$$MenuFormFileProps$PlainMap, O._$$MenuFormFileProps$JsMap]); + _inherit(O._$MenuFormFileComponent, O.MenuFormFileComponent); + _inherit(M.__$$MenuNumberProps_UiProps_MenuNumberPropsMixin_$MenuNumberPropsMixin, M.__$$MenuNumberProps_UiProps_MenuNumberPropsMixin); + _inherit(M._$$MenuNumberProps, M.__$$MenuNumberProps_UiProps_MenuNumberPropsMixin_$MenuNumberPropsMixin); + _inheritMany(M._$$MenuNumberProps, [M._$$MenuNumberProps$PlainMap, M._$$MenuNumberProps$JsMap]); + _inherit(M._$MenuNumberComponent, M.MenuNumberComponent); + _inherit(Q.SideMenuComponent, Q._SideMenuComponent_UiComponent2_RedrawCounterMixin); + _inherit(Q.__$$SideMenuProps_UiProps_SideMenuPropsMixin_$SideMenuPropsMixin, Q.__$$SideMenuProps_UiProps_SideMenuPropsMixin); + _inherit(Q.__$$SideMenuProps_UiProps_SideMenuPropsMixin_$SideMenuPropsMixin_ConnectPropsMixin, Q.__$$SideMenuProps_UiProps_SideMenuPropsMixin_$SideMenuPropsMixin); + _inherit(Q.__$$SideMenuProps_UiProps_SideMenuPropsMixin_$SideMenuPropsMixin_ConnectPropsMixin_$ConnectPropsMixin, Q.__$$SideMenuProps_UiProps_SideMenuPropsMixin_$SideMenuPropsMixin_ConnectPropsMixin); + _inherit(Q._$$SideMenuProps, Q.__$$SideMenuProps_UiProps_SideMenuPropsMixin_$SideMenuPropsMixin_ConnectPropsMixin_$ConnectPropsMixin); + _inheritMany(Q._$$SideMenuProps, [Q._$$SideMenuProps$PlainMap, Q._$$SideMenuProps$JsMap]); + _inherit(Q._$SideMenuComponent, Q.SideMenuComponent); + _inherit(M.__$$PotentialCrossoverViewProps_UiProps_PotentialCrossoverViewProps_$PotentialCrossoverViewProps, M.__$$PotentialCrossoverViewProps_UiProps_PotentialCrossoverViewProps); + _inherit(M._$$PotentialCrossoverViewProps, M.__$$PotentialCrossoverViewProps_UiProps_PotentialCrossoverViewProps_$PotentialCrossoverViewProps); + _inheritMany(M._$$PotentialCrossoverViewProps, [M._$$PotentialCrossoverViewProps$PlainMap, M._$$PotentialCrossoverViewProps$JsMap]); + _inherit(M._$PotentialCrossoverViewComponent, M.PotentialCrossoverViewComponent); + _inherit(R.__$$PotentialExtensionsViewProps_UiProps_PotentialExtensionsViewProps_$PotentialExtensionsViewProps, R.__$$PotentialExtensionsViewProps_UiProps_PotentialExtensionsViewProps); + _inherit(R._$$PotentialExtensionsViewProps, R.__$$PotentialExtensionsViewProps_UiProps_PotentialExtensionsViewProps_$PotentialExtensionsViewProps); + _inheritMany(R._$$PotentialExtensionsViewProps, [R._$$PotentialExtensionsViewProps$PlainMap, R._$$PotentialExtensionsViewProps$JsMap]); + _inherit(R._$PotentialExtensionsViewComponent, R.PotentialExtensionsViewComponent); + _inherit(D.SelectModeComponent, D._SelectModeComponent_UiComponent2_RedrawCounterMixin); + _inherit(D.__$$SelectModeProps_UiProps_SelectModePropsMixin_$SelectModePropsMixin, D.__$$SelectModeProps_UiProps_SelectModePropsMixin); + _inherit(D.__$$SelectModeProps_UiProps_SelectModePropsMixin_$SelectModePropsMixin_ConnectPropsMixin, D.__$$SelectModeProps_UiProps_SelectModePropsMixin_$SelectModePropsMixin); + _inherit(D.__$$SelectModeProps_UiProps_SelectModePropsMixin_$SelectModePropsMixin_ConnectPropsMixin_$ConnectPropsMixin, D.__$$SelectModeProps_UiProps_SelectModePropsMixin_$SelectModePropsMixin_ConnectPropsMixin); + _inherit(D._$$SelectModeProps, D.__$$SelectModeProps_UiProps_SelectModePropsMixin_$SelectModePropsMixin_ConnectPropsMixin_$ConnectPropsMixin); + _inheritMany(D._$$SelectModeProps, [D._$$SelectModeProps$PlainMap, D._$$SelectModeProps$JsMap]); + _inherit(D._$SelectModeComponent, D.SelectModeComponent); + _inherit(Y.__$$SelectionBoxViewProps_UiProps_SelectionBoxViewProps_$SelectionBoxViewProps, Y.__$$SelectionBoxViewProps_UiProps_SelectionBoxViewProps); + _inherit(Y._$$SelectionBoxViewProps, Y.__$$SelectionBoxViewProps_UiProps_SelectionBoxViewProps_$SelectionBoxViewProps); + _inheritMany(Y._$$SelectionBoxViewProps, [Y._$$SelectionBoxViewProps$PlainMap, Y._$$SelectionBoxViewProps$JsMap]); + _inherit(Y._$SelectionBoxViewComponent, Y.SelectionBoxViewComponent); + _inherit(A.__$$SelectionRopeViewProps_UiProps_SelectionRopeViewProps_$SelectionRopeViewProps, A.__$$SelectionRopeViewProps_UiProps_SelectionRopeViewProps); + _inherit(A._$$SelectionRopeViewProps, A.__$$SelectionRopeViewProps_UiProps_SelectionRopeViewProps_$SelectionRopeViewProps); + _inheritMany(A._$$SelectionRopeViewProps, [A._$$SelectionRopeViewProps$PlainMap, A._$$SelectionRopeViewProps$JsMap]); + _inherit(A._$SelectionRopeViewComponent, A.SelectionRopeViewComponent); + _inherit(A.__$$StrandOrSubstrandColorPickerProps_UiProps_StrandOrSubstrandColorPickerProps_$StrandOrSubstrandColorPickerProps, A.__$$StrandOrSubstrandColorPickerProps_UiProps_StrandOrSubstrandColorPickerProps); + _inherit(A._$$StrandOrSubstrandColorPickerProps, A.__$$StrandOrSubstrandColorPickerProps_UiProps_StrandOrSubstrandColorPickerProps_$StrandOrSubstrandColorPickerProps); + _inheritMany(A._$$StrandOrSubstrandColorPickerProps, [A._$$StrandOrSubstrandColorPickerProps$PlainMap, A._$$StrandOrSubstrandColorPickerProps$JsMap]); + _inherit(A.__$$StrandOrSubstrandColorPickerState_UiState_StrandOrSubstrandColorPickerState_$StrandOrSubstrandColorPickerState, A.__$$StrandOrSubstrandColorPickerState_UiState_StrandOrSubstrandColorPickerState); + _inherit(A._$$StrandOrSubstrandColorPickerState, A.__$$StrandOrSubstrandColorPickerState_UiState_StrandOrSubstrandColorPickerState_$StrandOrSubstrandColorPickerState); + _inherit(A._$$StrandOrSubstrandColorPickerState$JsMap, A._$$StrandOrSubstrandColorPickerState); + _inherit(A._$StrandOrSubstrandColorPickerComponent, A.StrandOrSubstrandColorPickerComponent); + _inherit(Y.FileLocation, D.SourceLocationMixin); + _inheritMany(Y.SourceSpanMixin, [Y._FileSpan, V.SourceSpanBase]); + _inherit(G.SourceSpanFormatException, G.SourceSpanException); + _inherit(X.SourceSpanWithContext, V.SourceSpanBase); + _inheritMany(U.SpreadsheetDecoder, [U.OdsDecoder, U.XlsxDecoder]); + _inherit(E.StringScannerException, G.SourceSpanFormatException); + _inherit(T.XmlDefaultEntityMapping, S.XmlEntityMapping); + _inherit(M.XmlProductionDefinition, V.GrammarDefinition); + _inherit(V.XmlGrammarDefinition, M.XmlProductionDefinition); + _inherit(B._XmlNode_Object_XmlParentBase_XmlAttributesBase, B._XmlNode_Object_XmlParentBase); + _inherit(B._XmlNode_Object_XmlParentBase_XmlAttributesBase_XmlChildrenBase, B._XmlNode_Object_XmlParentBase_XmlAttributesBase); + _inherit(B._XmlNode_Object_XmlParentBase_XmlAttributesBase_XmlChildrenBase_XmlHasText, B._XmlNode_Object_XmlParentBase_XmlAttributesBase_XmlChildrenBase); + _inherit(B._XmlNode_Object_XmlParentBase_XmlAttributesBase_XmlChildrenBase_XmlHasText_XmlHasVisitor, B._XmlNode_Object_XmlParentBase_XmlAttributesBase_XmlChildrenBase_XmlHasText); + _inherit(B._XmlNode_Object_XmlParentBase_XmlAttributesBase_XmlChildrenBase_XmlHasText_XmlHasVisitor_XmlHasWriter, B._XmlNode_Object_XmlParentBase_XmlAttributesBase_XmlChildrenBase_XmlHasText_XmlHasVisitor); + _inherit(B._XmlNode_Object_XmlParentBase_XmlAttributesBase_XmlChildrenBase_XmlHasText_XmlHasVisitor_XmlHasWriter_XmlHasXml, B._XmlNode_Object_XmlParentBase_XmlAttributesBase_XmlChildrenBase_XmlHasText_XmlHasVisitor_XmlHasWriter); + _inherit(B.XmlNode, B._XmlNode_Object_XmlParentBase_XmlAttributesBase_XmlChildrenBase_XmlHasText_XmlHasVisitor_XmlHasWriter_XmlHasXml); + _inheritMany(B.XmlNode, [N._XmlAttribute_XmlNode_XmlHasParent, N._XmlData_XmlNode_XmlHasParent, L._XmlDeclaration_XmlNode_XmlHasParent, S._XmlDocument_XmlNode_XmlHasChildren, G._XmlElement_XmlNode_XmlHasParent]); + _inherit(N._XmlAttribute_XmlNode_XmlHasParent_XmlHasName, N._XmlAttribute_XmlNode_XmlHasParent); + _inherit(N.XmlAttribute, N._XmlAttribute_XmlNode_XmlHasParent_XmlHasName); + _inherit(N.XmlData, N._XmlData_XmlNode_XmlHasParent); + _inheritMany(N.XmlData, [L.XmlCDATA, R.XmlComment, Q.XmlDoctype, R.XmlProcessing, L.XmlText]); + _inherit(L._XmlDeclaration_XmlNode_XmlHasParent_XmlHasAttributes, L._XmlDeclaration_XmlNode_XmlHasParent); + _inherit(L.XmlDeclaration, L._XmlDeclaration_XmlNode_XmlHasParent_XmlHasAttributes); + _inherit(S.XmlDocument, S._XmlDocument_XmlNode_XmlHasChildren); + _inherit(G._XmlElement_XmlNode_XmlHasParent_XmlHasName, G._XmlElement_XmlNode_XmlHasParent); + _inherit(G._XmlElement_XmlNode_XmlHasParent_XmlHasName_XmlHasAttributes, G._XmlElement_XmlNode_XmlHasParent_XmlHasName); + _inherit(G._XmlElement_XmlNode_XmlHasParent_XmlHasName_XmlHasAttributes_XmlHasChildren, G._XmlElement_XmlNode_XmlHasParent_XmlHasName_XmlHasAttributes); + _inherit(G.XmlElement, G._XmlElement_XmlNode_XmlHasParent_XmlHasName_XmlHasAttributes_XmlHasChildren); + _inherit(G.XmlParserDefinition, V.XmlGrammarDefinition); + _inheritMany(T.XmlException, [T.XmlParserException, T.XmlNodeTypeException, T.XmlParentException]); + _inherit(Q._XmlName_Object_XmlHasVisitor_XmlHasWriter, Q._XmlName_Object_XmlHasVisitor); + _inherit(Q._XmlName_Object_XmlHasVisitor_XmlHasWriter_XmlHasParent, Q._XmlName_Object_XmlHasVisitor_XmlHasWriter); + _inherit(Q.XmlName, Q._XmlName_Object_XmlHasVisitor_XmlHasWriter_XmlHasParent); + _inherit(B.XmlNodeList, M.DelegatingList); + _inheritMany(Q.XmlName, [B.XmlPrefixName, R.XmlSimpleName]); + _inherit(X.XmlWriter, X._XmlWriter_Object_XmlVisitor); + _mixin(H.UnmodifiableListBase, H.UnmodifiableListMixin); + _mixin(H.__CastListBase__CastIterableBase_ListMixin, P.ListMixin); + _mixin(H._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin, P.ListMixin); + _mixin(H._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin_FixedLengthListMixin, H.FixedLengthListMixin); + _mixin(H._NativeTypedArrayOfInt_NativeTypedArray_ListMixin, P.ListMixin); + _mixin(H._NativeTypedArrayOfInt_NativeTypedArray_ListMixin_FixedLengthListMixin, H.FixedLengthListMixin); + _mixin(P._SyncStreamController, P._SyncStreamControllerDispatch); + _mixin(P._ListBase_Object_ListMixin, P.ListMixin); + _mixin(P._SetBase_Object_SetMixin, P.SetMixin); + _mixin(P._UnmodifiableMapView_MapView__UnmodifiableMapMixin, P._UnmodifiableMapMixin); + _mixin(P.__SetBase_Object_SetMixin, P.SetMixin); + _mixin(P.__UnmodifiableSet__SetBase__UnmodifiableSetMixin, P._UnmodifiableSetMixin); + _mixin(P.__JsonStringStringifierPretty__JsonStringStringifier__JsonPrettyPrintMixin, P._JsonPrettyPrintMixin); + _mixin(W._CssStyleDeclaration_Interceptor_CssStyleDeclarationBase, W.CssStyleDeclarationBase); + _mixin(W._DomRectList_Interceptor_ListMixin, P.ListMixin); + _mixin(W._DomRectList_Interceptor_ListMixin_ImmutableListMixin, W.ImmutableListMixin); + _mixin(W._DomStringList_Interceptor_ListMixin, P.ListMixin); + _mixin(W._DomStringList_Interceptor_ListMixin_ImmutableListMixin, W.ImmutableListMixin); + _mixin(W._FileList_Interceptor_ListMixin, P.ListMixin); + _mixin(W._FileList_Interceptor_ListMixin_ImmutableListMixin, W.ImmutableListMixin); + _mixin(W._HtmlCollection_Interceptor_ListMixin, P.ListMixin); + _mixin(W._HtmlCollection_Interceptor_ListMixin_ImmutableListMixin, W.ImmutableListMixin); + _mixin(W._MidiInputMap_Interceptor_MapMixin, P.MapMixin); + _mixin(W._MidiOutputMap_Interceptor_MapMixin, P.MapMixin); + _mixin(W._MimeTypeArray_Interceptor_ListMixin, P.ListMixin); + _mixin(W._MimeTypeArray_Interceptor_ListMixin_ImmutableListMixin, W.ImmutableListMixin); + _mixin(W._NodeList_Interceptor_ListMixin, P.ListMixin); + _mixin(W._NodeList_Interceptor_ListMixin_ImmutableListMixin, W.ImmutableListMixin); + _mixin(W._PluginArray_Interceptor_ListMixin, P.ListMixin); + _mixin(W._PluginArray_Interceptor_ListMixin_ImmutableListMixin, W.ImmutableListMixin); + _mixin(W._RtcStatsReport_Interceptor_MapMixin, P.MapMixin); + _mixin(W._SourceBufferList_EventTarget_ListMixin, P.ListMixin); + _mixin(W._SourceBufferList_EventTarget_ListMixin_ImmutableListMixin, W.ImmutableListMixin); + _mixin(W._SpeechGrammarList_Interceptor_ListMixin, P.ListMixin); + _mixin(W._SpeechGrammarList_Interceptor_ListMixin_ImmutableListMixin, W.ImmutableListMixin); + _mixin(W._Storage_Interceptor_MapMixin, P.MapMixin); + _mixin(W._TextTrackCueList_Interceptor_ListMixin, P.ListMixin); + _mixin(W._TextTrackCueList_Interceptor_ListMixin_ImmutableListMixin, W.ImmutableListMixin); + _mixin(W._TextTrackList_EventTarget_ListMixin, P.ListMixin); + _mixin(W._TextTrackList_EventTarget_ListMixin_ImmutableListMixin, W.ImmutableListMixin); + _mixin(W._TouchList_Interceptor_ListMixin, P.ListMixin); + _mixin(W._TouchList_Interceptor_ListMixin_ImmutableListMixin, W.ImmutableListMixin); + _mixin(W.__CssRuleList_Interceptor_ListMixin, P.ListMixin); + _mixin(W.__CssRuleList_Interceptor_ListMixin_ImmutableListMixin, W.ImmutableListMixin); + _mixin(W.__GamepadList_Interceptor_ListMixin, P.ListMixin); + _mixin(W.__GamepadList_Interceptor_ListMixin_ImmutableListMixin, W.ImmutableListMixin); + _mixin(W.__NamedNodeMap_Interceptor_ListMixin, P.ListMixin); + _mixin(W.__NamedNodeMap_Interceptor_ListMixin_ImmutableListMixin, W.ImmutableListMixin); + _mixin(W.__SpeechRecognitionResultList_Interceptor_ListMixin, P.ListMixin); + _mixin(W.__SpeechRecognitionResultList_Interceptor_ListMixin_ImmutableListMixin, W.ImmutableListMixin); + _mixin(W.__StyleSheetList_Interceptor_ListMixin, P.ListMixin); + _mixin(W.__StyleSheetList_Interceptor_ListMixin_ImmutableListMixin, W.ImmutableListMixin); + _mixin(P._JsArray_JsObject_ListMixin, P.ListMixin); + _mixin(P._LengthList_Interceptor_ListMixin, P.ListMixin); + _mixin(P._LengthList_Interceptor_ListMixin_ImmutableListMixin, W.ImmutableListMixin); + _mixin(P._NumberList_Interceptor_ListMixin, P.ListMixin); + _mixin(P._NumberList_Interceptor_ListMixin_ImmutableListMixin, W.ImmutableListMixin); + _mixin(P._StringList_Interceptor_ListMixin, P.ListMixin); + _mixin(P._StringList_Interceptor_ListMixin_ImmutableListMixin, W.ImmutableListMixin); + _mixin(P._TransformList_Interceptor_ListMixin, P.ListMixin); + _mixin(P._TransformList_Interceptor_ListMixin_ImmutableListMixin, W.ImmutableListMixin); + _mixin(P._UnmodifiableInt32ListView_UnmodifiableListBase__UnmodifiableListMixin, P._UnmodifiableListMixin); + _mixin(P._UnmodifiableUint8ListView_UnmodifiableListBase__UnmodifiableListMixin, P._UnmodifiableListMixin); + _mixin(P._AudioParamMap_Interceptor_MapMixin, P.MapMixin); + _mixin(P._SqlResultSetRowList_Interceptor_ListMixin, P.ListMixin); + _mixin(P._SqlResultSetRowList_Interceptor_ListMixin_ImmutableListMixin, W.ImmutableListMixin); + _mixin(A._DomProps_UiProps_DomPropsMixin, Q.DomPropsMixin); + _mixin(A._SvgProps_UiProps_DomPropsMixin, Q.DomPropsMixin); + _mixin(A._SvgProps_UiProps_DomPropsMixin_SvgPropsMixin, Q.SvgPropsMixin); + _mixin(Z._ErrorBoundaryComponent_UiStatefulComponent2_ErrorBoundaryApi, O.ErrorBoundaryApi); + _mixin(Z.__$$ErrorBoundaryProps_UiProps_ErrorBoundaryProps, Z.ErrorBoundaryProps); + _mixin(Z.__$$ErrorBoundaryProps_UiProps_ErrorBoundaryProps_$ErrorBoundaryProps, Z.$ErrorBoundaryProps); + _mixin(Z.__$$ErrorBoundaryState_UiState_ErrorBoundaryState, Z.ErrorBoundaryState); + _mixin(Z.__$$ErrorBoundaryState_UiState_ErrorBoundaryState_$ErrorBoundaryState, Z.$ErrorBoundaryState); + _mixin(E._RecoverableErrorBoundaryComponent_UiStatefulComponent2_ErrorBoundaryApi, O.ErrorBoundaryApi); + _mixin(E.__$$RecoverableErrorBoundaryProps_UiProps_ErrorBoundaryProps, Z.ErrorBoundaryProps); + _mixin(E.__$$RecoverableErrorBoundaryProps_UiProps_ErrorBoundaryProps_$ErrorBoundaryProps, Z.$ErrorBoundaryProps); + _mixin(E.__$$RecoverableErrorBoundaryState_UiState_ErrorBoundaryState, Z.ErrorBoundaryState); + _mixin(E.__$$RecoverableErrorBoundaryState_UiState_ErrorBoundaryState_$ErrorBoundaryState, Z.$ErrorBoundaryState); + _mixin(B._UiProps_UiProps_GeneratedClass, B.GeneratedClass); + _mixin(B._UiState_UiState_GeneratedClass, B.GeneratedClass); + _mixin(S._UiProps_MapBase_MapViewMixin, S.MapViewMixin); + _mixin(S._UiProps_MapBase_MapViewMixin_PropsMapViewMixin, S.PropsMapViewMixin); + _mixin(S._UiProps_MapBase_MapViewMixin_PropsMapViewMixin_ReactPropsMixin, Q.ReactPropsMixin); + _mixin(S._UiProps_MapBase_MapViewMixin_PropsMapViewMixin_ReactPropsMixin_UbiquitousDomPropsMixin, Q.UbiquitousDomPropsMixin); + _mixin(S._UiProps_MapBase_MapViewMixin_PropsMapViewMixin_ReactPropsMixin_UbiquitousDomPropsMixin_CssClassPropsMixin, S.CssClassPropsMixin); + _mixin(S._UiState_Object_MapViewMixin, S.MapViewMixin); + _mixin(S._UiState_Object_MapViewMixin_StateMapViewMixin, S.StateMapViewMixin); + _mixin(Z._UiComponent2_Component2_DisposableManagerProxy, Z.DisposableManagerProxy); + _mixin(Z._UiComponent2_Component2_DisposableManagerProxy_GeneratedClass, B.GeneratedClass); + _mixin(Z._UiStatefulComponent2_UiComponent2_UiStatefulMixin2, Z.UiStatefulMixin2); + _mixin(A._ReactDartComponentFactoryProxy2_ReactComponentFactoryProxy_JsBackedMapComponentFactoryMixin, A.JsBackedMapComponentFactoryMixin); + _mixin(U._AssignDNA_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(U._AssignDNA_Object_BuiltJsonSerializable_UndoableAction, U.UndoableAction); + _mixin(U._AssignDNAComplementFromBoundStrands_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(U._AssignDNAComplementFromBoundStrands_Object_BuiltJsonSerializable_UndoableAction, U.UndoableAction); + _mixin(U._AssignDomainNameComplementFromBoundDomains_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(U._AssignDomainNameComplementFromBoundDomains_Object_BuiltJsonSerializable_UndoableAction, U.UndoableAction); + _mixin(U._AssignDomainNameComplementFromBoundStrands_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(U._AssignDomainNameComplementFromBoundStrands_Object_BuiltJsonSerializable_UndoableAction, U.UndoableAction); + _mixin(U._AutoPasteInitiate_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(U._Autobreak_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(U._AutofitSet_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(U._Autostaple_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(U._BasePairTypeSet_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(U._BatchAction_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(U._BatchAction_Object_BuiltJsonSerializable_UndoableAction, U.UndoableAction); + _mixin(U._ClearHelixSelectionWhenLoadingNewDesignSet_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(U._ContextMenuHide_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(U._ContextMenuShow_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(U._ConvertCrossoverToLoopout_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(U._ConvertCrossoverToLoopout_Object_BuiltJsonSerializable_UndoableAction, U.UndoableAction); + _mixin(U._ConvertCrossoversToLoopouts_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(U._ConvertCrossoversToLoopouts_Object_BuiltJsonSerializable_UndoableAction, U.UndoableAction); + _mixin(U._CopySelectedStandsToClipboardImage_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(U._CopySelectedStrands_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(U._DNAEndsMoveAdjustOffset_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(U._DNAEndsMoveCommit_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(U._DNAEndsMoveCommit_Object_BuiltJsonSerializable_UndoableAction, U.UndoableAction); + _mixin(U._DNAEndsMoveSetSelectedEnds_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(U._DNAEndsMoveStart_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(U._DNAEndsMoveStop_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(U._DNAExtensionsMoveAdjustPosition_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(U._DNAExtensionsMoveCommit_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(U._DNAExtensionsMoveCommit_Object_BuiltJsonSerializable_UndoableAction, U.UndoableAction); + _mixin(U._DNAExtensionsMoveSetSelectedExtensionEnds_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(U._DNAExtensionsMoveStart_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(U._DNAExtensionsMoveStop_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(U._DefaultCrossoverTypeForSettingHelixRollsSet_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(U._DeleteAllSelected_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(U._DeleteAllSelected_Object_BuiltJsonSerializable_UndoableAction, U.UndoableAction); + _mixin(U._DeletionAdd_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(U._DeletionAdd_Object_BuiltJsonSerializable_UndoableAction, U.UndoableAction); + _mixin(U._DeletionRemove_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(U._DeletionRemove_Object_BuiltJsonSerializable_UndoableAction, U.UndoableAction); + _mixin(U._DialogHide_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(U._DialogShow_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(U._DisablePngCachingDnaSequencesSet_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(U._DisplayMajorTicksOffsetsSet_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(U._DisplayReverseDNARightSideUpSet_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(U._DomainLabelFontSizeSet_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(U._DomainNameFontSizeSet_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(U._DomainsMoveAdjustAddress_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(U._DomainsMoveCommit_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(U._DomainsMoveCommit_Object_BuiltJsonSerializable_UndoableAction, U.UndoableAction); + _mixin(U._DomainsMoveStartSelectedDomains_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(U._DomainsMoveStop_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(U._DynamicHelixUpdateSet_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(U._EditModeToggle_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(U._EditModesSet_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(U._ErrorMessageSet_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(U._ExampleDesignsLoad_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(U._ExportCadnanoFile_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(U._ExportCanDoDNA_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(U._ExportCodenanoFile_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(U._ExportDNA_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(U._ExportSvg_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(U._ExportSvgTextSeparatelySet_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(U._ExtensionAdd_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(U._ExtensionAdd_Object_BuiltJsonSerializable_UndoableAction, U.UndoableAction); + _mixin(U._ExtensionDisplayLengthAngleSet_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(U._ExtensionDisplayLengthAngleSet_Object_BuiltJsonSerializable_UndoableAction, U.UndoableAction); + _mixin(U._ExtensionNumBasesChange_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(U._ExtensionNumBasesChange_Object_BuiltJsonSerializable_UndoableAction, U.UndoableAction); + _mixin(U._ExtensionsNumBasesChange_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(U._ExtensionsNumBasesChange_Object_BuiltJsonSerializable_UndoableAction, U.UndoableAction); + _mixin(U._GeometrySet_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(U._GeometrySet_Object_BuiltJsonSerializable_UndoableAction, U.UndoableAction); + _mixin(U._GridChange_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(U._GridChange_Object_BuiltJsonSerializable_UndoableAction, U.UndoableAction); + _mixin(U._GroupAdd_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(U._GroupAdd_Object_BuiltJsonSerializable_UndoableAction, U.UndoableAction); + _mixin(U._GroupChange_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(U._GroupChange_Object_BuiltJsonSerializable_UndoableAction, U.UndoableAction); + _mixin(U._GroupDisplayedChange_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(U._GroupRemove_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(U._GroupRemove_Object_BuiltJsonSerializable_UndoableAction, U.UndoableAction); + _mixin(U._HelicesPositionsSetBasedOnCrossovers_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(U._HelixAdd_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(U._HelixAdd_Object_BuiltJsonSerializable_UndoableAction, U.UndoableAction); + _mixin(U._HelixGridPositionSet_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(U._HelixGridPositionSet_Object_BuiltJsonSerializable_UndoableAction, U.UndoableAction); + _mixin(U._HelixGroupMoveAdjustTranslation_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(U._HelixGroupMoveCommit_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(U._HelixGroupMoveCommit_Object_BuiltJsonSerializable_UndoableAction, U.UndoableAction); + _mixin(U._HelixGroupMoveCreate_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(U._HelixGroupMoveStart_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(U._HelixGroupMoveStop_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(U._HelixIdxsChange_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(U._HelixIdxsChange_Object_BuiltJsonSerializable_UndoableAction, U.UndoableAction); + _mixin(U._HelixMajorTickDistanceChange_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(U._HelixMajorTickDistanceChange_Object_BuiltJsonSerializable_UndoableAction, U.UndoableAction); + _mixin(U._HelixMajorTickDistanceChangeAll_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(U._HelixMajorTickDistanceChangeAll_Object_BuiltJsonSerializable_UndoableAction, U.UndoableAction); + _mixin(U._HelixMajorTickPeriodicDistancesChange_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(U._HelixMajorTickPeriodicDistancesChange_Object_BuiltJsonSerializable_UndoableAction, U.UndoableAction); + _mixin(U._HelixMajorTickPeriodicDistancesChangeAll_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(U._HelixMajorTickPeriodicDistancesChangeAll_Object_BuiltJsonSerializable_UndoableAction, U.UndoableAction); + _mixin(U._HelixMajorTickStartChange_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(U._HelixMajorTickStartChange_Object_BuiltJsonSerializable_UndoableAction, U.UndoableAction); + _mixin(U._HelixMajorTickStartChangeAll_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(U._HelixMajorTickStartChangeAll_Object_BuiltJsonSerializable_UndoableAction, U.UndoableAction); + _mixin(U._HelixMajorTicksChange_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(U._HelixMajorTicksChange_Object_BuiltJsonSerializable_UndoableAction, U.UndoableAction); + _mixin(U._HelixMajorTicksChangeAll_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(U._HelixMajorTicksChangeAll_Object_BuiltJsonSerializable_UndoableAction, U.UndoableAction); + _mixin(U._HelixMaxOffsetSetByDomains_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(U._HelixMaxOffsetSetByDomains_Object_BuiltJsonSerializable_UndoableAction, U.UndoableAction); + _mixin(U._HelixMaxOffsetSetByDomainsAll_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(U._HelixMaxOffsetSetByDomainsAll_Object_BuiltJsonSerializable_UndoableAction, U.UndoableAction); + _mixin(U._HelixMaxOffsetSetByDomainsAllSameMax_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(U._HelixMaxOffsetSetByDomainsAllSameMax_Object_BuiltJsonSerializable_UndoableAction, U.UndoableAction); + _mixin(U._HelixMinOffsetSetByDomains_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(U._HelixMinOffsetSetByDomains_Object_BuiltJsonSerializable_UndoableAction, U.UndoableAction); + _mixin(U._HelixMinOffsetSetByDomainsAll_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(U._HelixMinOffsetSetByDomainsAll_Object_BuiltJsonSerializable_UndoableAction, U.UndoableAction); + _mixin(U._HelixOffsetChange_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(U._HelixOffsetChange_Object_BuiltJsonSerializable_UndoableAction, U.UndoableAction); + _mixin(U._HelixOffsetChangeAll_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(U._HelixOffsetChangeAll_Object_BuiltJsonSerializable_UndoableAction, U.UndoableAction); + _mixin(U._HelixPositionSet_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(U._HelixPositionSet_Object_BuiltJsonSerializable_UndoableAction, U.UndoableAction); + _mixin(U._HelixRemove_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(U._HelixRemove_Object_BuiltJsonSerializable_UndoableAction, U.UndoableAction); + _mixin(U._HelixRemoveAllSelected_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(U._HelixRemoveAllSelected_Object_BuiltJsonSerializable_UndoableAction, U.UndoableAction); + _mixin(U._HelixRollSet_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(U._HelixRollSet_Object_BuiltJsonSerializable_UndoableAction, U.UndoableAction); + _mixin(U._HelixRollSetAtOther_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(U._HelixRollSetAtOther_Object_BuiltJsonSerializable_UndoableAction, U.UndoableAction); + _mixin(U._HelixSelect_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(U._HelixSelectionsAdjust_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(U._HelixSelectionsClear_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(U._InlineInsertionsDeletions_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(U._InlineInsertionsDeletions_Object_BuiltJsonSerializable_UndoableAction, U.UndoableAction); + _mixin(U._InsertionAdd_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(U._InsertionAdd_Object_BuiltJsonSerializable_UndoableAction, U.UndoableAction); + _mixin(U._InsertionLengthChange_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(U._InsertionLengthChange_Object_BuiltJsonSerializable_UndoableAction, U.UndoableAction); + _mixin(U._InsertionRemove_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(U._InsertionRemove_Object_BuiltJsonSerializable_UndoableAction, U.UndoableAction); + _mixin(U._InsertionsLengthChange_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(U._InsertionsLengthChange_Object_BuiltJsonSerializable_UndoableAction, U.UndoableAction); + _mixin(U._InvertYSet_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(U._JoinStrandsByCrossover_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(U._JoinStrandsByCrossover_Object_BuiltJsonSerializable_UndoableAction, U.UndoableAction); + _mixin(U._JoinStrandsByMultipleCrossovers_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(U._JoinStrandsByMultipleCrossovers_Object_BuiltJsonSerializable_UndoableAction, U.UndoableAction); + _mixin(U._Ligate_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(U._Ligate_Object_BuiltJsonSerializable_UndoableAction, U.UndoableAction); + _mixin(U._LoadDNAFile_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(U._LoadDNAFile_Object_BuiltJsonSerializable_DesignChangingAction, U.DesignChangingAction); + _mixin(U._LoadDnaSequenceImageUri_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(U._LoadingDialogHide_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(U._LoadingDialogShow_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(U._LocalStorageDesignChoiceSet_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(U._LoopoutLengthChange_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(U._LoopoutLengthChange_Object_BuiltJsonSerializable_UndoableAction, U.UndoableAction); + _mixin(U._LoopoutsLengthChange_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(U._LoopoutsLengthChange_Object_BuiltJsonSerializable_UndoableAction, U.UndoableAction); + _mixin(U._MajorTickOffsetFontSizeSet_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(U._MajorTickWidthFontSizeSet_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(U._ManualPasteInitiate_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(U._ModificationAdd_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(U._ModificationAdd_Object_BuiltJsonSerializable_UndoableAction, U.UndoableAction); + _mixin(U._ModificationConnectorLengthSet_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(U._ModificationEdit_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(U._ModificationEdit_Object_BuiltJsonSerializable_UndoableAction, U.UndoableAction); + _mixin(U._ModificationFontSizeSet_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(U._ModificationRemove_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(U._ModificationRemove_Object_BuiltJsonSerializable_UndoableAction, U.UndoableAction); + _mixin(U._Modifications3PrimeEdit_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(U._Modifications3PrimeEdit_Object_BuiltJsonSerializable_UndoableAction, U.UndoableAction); + _mixin(U._Modifications5PrimeEdit_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(U._Modifications5PrimeEdit_Object_BuiltJsonSerializable_UndoableAction, U.UndoableAction); + _mixin(U._ModificationsInternalEdit_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(U._ModificationsInternalEdit_Object_BuiltJsonSerializable_UndoableAction, U.UndoableAction); + _mixin(U._MouseGridPositionSideClear_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(U._MouseGridPositionSideUpdate_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(U._MousePositionSideClear_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(U._MousePositionSideUpdate_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(U._MouseoverDataClear_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(U._MouseoverDataUpdate_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(U._MoveHelicesToGroup_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(U._MoveHelicesToGroup_Object_BuiltJsonSerializable_UndoableAction, U.UndoableAction); + _mixin(U._MoveLinker_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(U._MoveLinker_Object_BuiltJsonSerializable_UndoableAction, U.UndoableAction); + _mixin(U._NewDesignSet_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(U._NewDesignSet_Object_BuiltJsonSerializable_UndoableAction, U.UndoableAction); + _mixin(U._Nick_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(U._Nick_Object_BuiltJsonSerializable_UndoableAction, U.UndoableAction); + _mixin(U._OxExportOnlySelectedStrandsSet_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(U._OxdnaExport_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(U._OxviewExport_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(U._OxviewShowSet_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(U._PlateWellVendorFieldsAssign_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(U._PlateWellVendorFieldsAssign_Object_BuiltJsonSerializable_UndoableAction, U.UndoableAction); + _mixin(U._PlateWellVendorFieldsRemove_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(U._PlateWellVendorFieldsRemove_Object_BuiltJsonSerializable_UndoableAction, U.UndoableAction); + _mixin(U._PotentialCrossoverCreate_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(U._PotentialCrossoverMove_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(U._PotentialCrossoverRemove_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(U._PrepareToLoadDNAFile_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(U._PrepareToLoadDNAFile_Object_BuiltJsonSerializable_DesignChangingAction, U.DesignChangingAction); + _mixin(U._Redo_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(U._Redo_Object_BuiltJsonSerializable_DesignChangingAction, U.DesignChangingAction); + _mixin(U._RelaxHelixRolls_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(U._RelaxHelixRolls_Object_BuiltJsonSerializable_UndoableAction, U.UndoableAction); + _mixin(U._RemoveDNA_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(U._RemoveDNA_Object_BuiltJsonSerializable_UndoableAction, U.UndoableAction); + _mixin(U._ReplaceStrands_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(U._ReplaceStrands_Object_BuiltJsonSerializable_UndoableAction, U.UndoableAction); + _mixin(U._ResetLocalStorage_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(U._RetainStrandColorOnSelectionSet_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(U._SaveDNAFile_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(U._ScaffoldSet_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(U._ScaffoldSet_Object_BuiltJsonSerializable_UndoableAction, U.UndoableAction); + _mixin(U._ScalePurificationVendorFieldsAssign_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(U._ScalePurificationVendorFieldsAssign_Object_BuiltJsonSerializable_UndoableAction, U.UndoableAction); + _mixin(U._Select_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(U._SelectAll_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(U._SelectAllSelectable_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(U._SelectAllWithSameAsSelected_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(U._SelectModeToggle_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(U._SelectModesAdd_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(U._SelectModesSet_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(U._SelectOrToggleItems_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(U._SelectionBoxCreate_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(U._SelectionBoxIntersectionRuleSet_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(U._SelectionBoxRemove_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(U._SelectionBoxSizeChange_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(U._SelectionRopeAddPoint_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(U._SelectionRopeCreate_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(U._SelectionRopeMouseMove_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(U._SelectionRopeRemove_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(U._SelectionsAdjustMainView_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(U._SelectionsClear_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(U._SetAppUIStateStorable_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(U._SetDisplayBaseOffsetsOfMajorTicksOnlyFirstHelix_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(U._SetDisplayMajorTickWidths_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(U._SetDisplayMajorTickWidthsAllHelices_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(U._SetExportSvgActionDelayedForPngCache_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(U._SetIsZoomAboveThreshold_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(U._SetModificationDisplayConnector_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(U._SetOnlyDisplaySelectedHelices_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(U._ShowAxisArrowsSet_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(U._ShowBasePairLinesSet_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(U._ShowBasePairLinesWithMismatchesSet_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(U._ShowDNASet_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(U._ShowDomainLabelsSet_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(U._ShowDomainNameMismatchesSet_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(U._ShowDomainNamesSet_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(U._ShowEditMenuToggle_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(U._ShowGridCoordinatesSideViewSet_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(U._ShowHelixCirclesMainViewSet_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(U._ShowHelixComponentsMainViewSet_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(U._ShowLoopoutExtensionLengthSet_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(U._ShowMismatchesSet_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(U._ShowModificationsSet_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(U._ShowMouseoverDataSet_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(U._ShowMouseoverRectSet_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(U._ShowMouseoverRectToggle_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(U._ShowSliceBarSet_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(U._ShowStrandLabelsSet_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(U._ShowStrandNamesSet_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(U._ShowUnpairedInsertionDeletionsSet_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(U._SkipUndo_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(U._SliceBarMoveStart_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(U._SliceBarMoveStop_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(U._SliceBarOffsetSet_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(U._StrandCreateAdjustOffset_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(U._StrandCreateCommit_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(U._StrandCreateCommit_Object_BuiltJsonSerializable_UndoableAction, U.UndoableAction); + _mixin(U._StrandCreateStart_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(U._StrandCreateStop_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(U._StrandLabelFontSizeSet_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(U._StrandLabelSet_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(U._StrandLabelSet_Object_BuiltJsonSerializable_UndoableAction, U.UndoableAction); + _mixin(U._StrandNameFontSizeSet_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(U._StrandNameSet_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(U._StrandNameSet_Object_BuiltJsonSerializable_UndoableAction, U.UndoableAction); + _mixin(U._StrandOrSubstrandColorPickerHide_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(U._StrandOrSubstrandColorPickerShow_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(U._StrandOrSubstrandColorSet_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(U._StrandOrSubstrandColorSet_Object_BuiltJsonSerializable_UndoableAction, U.UndoableAction); + _mixin(U._StrandPasteKeepColorSet_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(U._StrandsMoveAdjustAddress_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(U._StrandsMoveCommit_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(U._StrandsMoveCommit_Object_BuiltJsonSerializable_UndoableAction, U.UndoableAction); + _mixin(U._StrandsMoveStart_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(U._StrandsMoveStartSelectedStrands_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(U._StrandsMoveStop_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(U._StrandsReflect_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(U._SubstrandLabelSet_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(U._SubstrandLabelSet_Object_BuiltJsonSerializable_UndoableAction, U.UndoableAction); + _mixin(U._SubstrandNameSet_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(U._SubstrandNameSet_Object_BuiltJsonSerializable_UndoableAction, U.UndoableAction); + _mixin(U._ThrottledActionFast_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(U._ThrottledActionNonFast_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(U._Undo_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(U._Undo_Object_BuiltJsonSerializable_DesignChangingAction, U.DesignChangingAction); + _mixin(U._UndoRedoClear_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(U._VendorFieldsRemove_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(U._VendorFieldsRemove_Object_BuiltJsonSerializable_UndoableAction, U.UndoableAction); + _mixin(U._WarnOnExitIfUnsavedSet_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(U._ZoomSpeedSet_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(Z._Address_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(Z._AddressDifference_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(Q._AppUIState_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(B._AppUIStateStorables_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(B._ContextMenu_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(B._ContextMenuItem_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(B._CopyInfo_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(T._Crossover_Object_SelectableMixin, E.SelectableMixin); + _mixin(T._Crossover_Object_SelectableMixin_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(N._Design_Object_UnusedFields, U.UnusedFields); + _mixin(V._DesignSideRotationData_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(V._DesignSideRotationParams_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(E._Dialog_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(E._DialogCheckbox_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(E._DialogFloat_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(E._DialogInteger_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(E._DialogLabel_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(E._DialogLink_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(E._DialogRadio_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(E._DialogText_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(E._DialogTextArea_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(X._DNAAssignOptions_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(Z._DNAEnd_Object_SelectableMixin, E.SelectableMixin); + _mixin(Z._DNAEnd_Object_SelectableMixin_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(B._DNAEndMove_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(B._DNAEndsMove_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(K._DNAExtensionMove_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(K._DNAExtensionsMove_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(G._Domain_Object_SelectableMixin, E.SelectableMixin); + _mixin(G._Domain_Object_SelectableMixin_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(G._Domain_Object_SelectableMixin_BuiltJsonSerializable_UnusedFields, U.UnusedFields); + _mixin(G._Insertion_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(B._DomainNameMismatch_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(V._DomainsMove_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(K._ExampleDesigns_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(S._Extension_Object_SelectableMixin, E.SelectableMixin); + _mixin(S._Extension_Object_SelectableMixin_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(S._Extension_Object_SelectableMixin_BuiltJsonSerializable_UnusedFields, U.UnusedFields); + _mixin(N._Geometry_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(N._Geometry_Object_BuiltJsonSerializable_UnusedFields, U.UnusedFields); + _mixin(D._GridPosition_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(O._HelixGroup_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(O._Helix_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(O._Helix_Object_BuiltJsonSerializable_UnusedFields, U.UnusedFields); + _mixin(G._HelixGroupMove_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(Y._LocalStorageDesignChoice_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(G._Loopout_Object_SelectableMixin, E.SelectableMixin); + _mixin(G._Loopout_Object_SelectableMixin_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(G._Loopout_Object_SelectableMixin_BuiltJsonSerializable_UnusedFields, U.UnusedFields); + _mixin(Z._Modification3Prime_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(Z._Modification3Prime_Object_BuiltJsonSerializable_UnusedFields, U.UnusedFields); + _mixin(Z._Modification5Prime_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(Z._Modification5Prime_Object_BuiltJsonSerializable_UnusedFields, U.UnusedFields); + _mixin(Z._ModificationInternal_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(Z._ModificationInternal_Object_BuiltJsonSerializable_UnusedFields, U.UnusedFields); + _mixin(K._MouseoverData_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(K._MouseoverParams_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(X._Position3D_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(S._PotentialCrossover_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(Z._PotentialVerticalCrossover_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(E._SelectableDeletion_Object_SelectableMixin, E.SelectableMixin); + _mixin(E._SelectableDeletion_Object_SelectableMixin_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(E._SelectableInsertion_Object_SelectableMixin, E.SelectableMixin); + _mixin(E._SelectableInsertion_Object_SelectableMixin_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(E._SelectableModification3Prime_Object_SelectableModification, E.SelectableModification); + _mixin(E._SelectableModification3Prime_Object_SelectableModification_SelectableMixin, E.SelectableMixin); + _mixin(E._SelectableModification3Prime_Object_SelectableModification_SelectableMixin_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(E._SelectableModification5Prime_Object_SelectableModification, E.SelectableModification); + _mixin(E._SelectableModification5Prime_Object_SelectableModification_SelectableMixin, E.SelectableMixin); + _mixin(E._SelectableModification5Prime_Object_SelectableModification_SelectableMixin_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(E._SelectableModificationInternal_Object_SelectableModification, E.SelectableModification); + _mixin(E._SelectableModificationInternal_Object_SelectableModification_SelectableMixin, E.SelectableMixin); + _mixin(E._SelectableModificationInternal_Object_SelectableModification_SelectableMixin_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(E._SelectablesStore_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(E._SelectionBox_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(F._Line_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(F._SelectionRope_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(E._Strand_Object_SelectableMixin, E.SelectableMixin); + _mixin(E._Strand_Object_SelectableMixin_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(E._Strand_Object_SelectableMixin_BuiltJsonSerializable_UnusedFields, U.UnusedFields); + _mixin(E._Strand_Object_SelectableMixin_BuiltJsonSerializable_UnusedFields_JSONSerializable, K.JSONSerializable); + _mixin(U._StrandCreation_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(U._StrandsMove_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(T._UndoRedo_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(T._UndoRedoItem_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(T._VendorFields_Object_BuiltJsonSerializable, K.BuiltJsonSerializable); + _mixin(T._VendorFields_Object_BuiltJsonSerializable_UnusedFields, U.UnusedFields); + _mixin(B.__$$End3PrimeProps_UiProps_End3PrimeProps, B.End3PrimeProps); + _mixin(B.__$$End3PrimeProps_UiProps_End3PrimeProps_$End3PrimeProps, B.$End3PrimeProps); + _mixin(A.__$$End5PrimeProps_UiProps_End5PrimeProps, A.End5PrimeProps); + _mixin(A.__$$End5PrimeProps_UiProps_End5PrimeProps_$End5PrimeProps, A.$End5PrimeProps); + _mixin(S._DesignContextMenuComponent_UiStatefulComponent2_PureComponent, K.PureComponent); + _mixin(S._DesignContextSubmenuComponent_UiStatefulComponent2_PureComponent, K.PureComponent); + _mixin(S.__$$DesignContextMenuProps_UiProps_DesignContextMenuProps, S.DesignContextMenuProps); + _mixin(S.__$$DesignContextMenuProps_UiProps_DesignContextMenuProps_$DesignContextMenuProps, S.$DesignContextMenuProps); + _mixin(S.__$$DesignContextMenuState_UiState_DesignContextMenuState, S.DesignContextMenuState); + _mixin(S.__$$DesignContextMenuState_UiState_DesignContextMenuState_$DesignContextMenuState, S.$DesignContextMenuState); + _mixin(S.__$$DesignContextSubmenuProps_UiProps_DesignContextSubmenuProps, S.DesignContextSubmenuProps); + _mixin(S.__$$DesignContextSubmenuProps_UiProps_DesignContextSubmenuProps_$DesignContextSubmenuProps, S.$DesignContextSubmenuProps); + _mixin(S.__$$DesignContextSubmenuState_UiState_DesignContextSubmenuState, S.DesignContextSubmenuState); + _mixin(S.__$$DesignContextSubmenuState_UiState_DesignContextSubmenuState_$DesignContextSubmenuState, S.$DesignContextSubmenuState); + _mixin(S._DesignDialogFormComponent_UiStatefulComponent2_PureComponent, K.PureComponent); + _mixin(S.__$$DesignDialogFormProps_UiProps_DesignDialogFormProps, S.DesignDialogFormProps); + _mixin(S.__$$DesignDialogFormProps_UiProps_DesignDialogFormProps_$DesignDialogFormProps, S.$DesignDialogFormProps); + _mixin(S.__$$DesignDialogFormState_UiState_DesignDialogFormState, S.DesignDialogFormState); + _mixin(S.__$$DesignDialogFormState_UiState_DesignDialogFormState_$DesignDialogFormState, S.$DesignDialogFormState); + _mixin(V.__$$DesignFooterProps_UiProps_DesignFooterProps, V.DesignFooterProps); + _mixin(V.__$$DesignFooterProps_UiProps_DesignFooterProps_$DesignFooterProps, V.$DesignFooterProps); + _mixin(Q.__$$DesignLoadingDialogProps_UiProps_DesignLoadingDialogProps, Q.DesignLoadingDialogProps); + _mixin(Q.__$$DesignLoadingDialogProps_UiProps_DesignLoadingDialogProps_$DesignLoadingDialogProps, Q.$DesignLoadingDialogProps); + _mixin(V.__$$DesignMainProps_UiProps_DesignMainPropsMixin, V.DesignMainPropsMixin); + _mixin(V.__$$DesignMainProps_UiProps_DesignMainPropsMixin_$DesignMainPropsMixin, V.$DesignMainPropsMixin); + _mixin(Q.__$$DesignMainArrowsProps_UiProps_DesignMainArrowsProps, Q.DesignMainArrowsProps); + _mixin(Q.__$$DesignMainArrowsProps_UiProps_DesignMainArrowsProps_$DesignMainArrowsProps, Q.$DesignMainArrowsProps); + _mixin(Z._DesignMainBasePairLinesComponent_UiComponent2_PureComponent, K.PureComponent); + _mixin(Z.__$$DesignMainBasePairLinesProps_UiProps_DesignMainBasePairLinesProps, Z.DesignMainBasePairLinesProps); + _mixin(Z.__$$DesignMainBasePairLinesProps_UiProps_DesignMainBasePairLinesProps_$DesignMainBasePairLinesProps, Z.$DesignMainBasePairLinesProps); + _mixin(V._DesignMainBasePairRectangleComponent_UiComponent2_PureComponent, K.PureComponent); + _mixin(V.__$$DesignMainBasePairRectangleProps_UiProps_DesignMainBasePairRectangleProps, V.DesignMainBasePairRectangleProps); + _mixin(V.__$$DesignMainBasePairRectangleProps_UiProps_DesignMainBasePairRectangleProps_$DesignMainBasePairRectangleProps, V.$DesignMainBasePairRectangleProps); + _mixin(O._DesignMainDNAMismatchesComponent_UiComponent2_PureComponent, K.PureComponent); + _mixin(O.__$$DesignMainDNAMismatchesProps_UiProps_DesignMainDNAMismatchesProps, O.DesignMainDNAMismatchesProps); + _mixin(O.__$$DesignMainDNAMismatchesProps_UiProps_DesignMainDNAMismatchesProps_$DesignMainDNAMismatchesProps, O.$DesignMainDNAMismatchesProps); + _mixin(U._DesignMainDNASequenceComponent_UiComponent2_PureComponent, K.PureComponent); + _mixin(U._DesignMainDNASequenceComponent_UiComponent2_PureComponent_TransformByHelixGroup, R.TransformByHelixGroup); + _mixin(U.__$$DesignMainDNASequenceProps_UiProps_DesignMainDNASequencePropsMixin, U.DesignMainDNASequencePropsMixin); + _mixin(U.__$$DesignMainDNASequenceProps_UiProps_DesignMainDNASequencePropsMixin_$DesignMainDNASequencePropsMixin, U.$DesignMainDNASequencePropsMixin); + _mixin(U.__$$DesignMainDNASequenceProps_UiProps_DesignMainDNASequencePropsMixin_$DesignMainDNASequencePropsMixin_TransformByHelixGroupPropsMixin, R.TransformByHelixGroupPropsMixin); + _mixin(U.__$$DesignMainDNASequenceProps_UiProps_DesignMainDNASequencePropsMixin_$DesignMainDNASequencePropsMixin_TransformByHelixGroupPropsMixin_$TransformByHelixGroupPropsMixin, R.$TransformByHelixGroupPropsMixin); + _mixin(M._DesignMainDNASequencesComponent_UiComponent2_PureComponent, K.PureComponent); + _mixin(M.__$$DesignMainDNASequencesProps_UiProps_DesignMainDNASequencesProps, M.DesignMainDNASequencesProps); + _mixin(M.__$$DesignMainDNASequencesProps_UiProps_DesignMainDNASequencesProps_$DesignMainDNASequencesProps, M.$DesignMainDNASequencesProps); + _mixin(T._DesignMainDomainMovingComponent_UiComponent2_PureComponent, K.PureComponent); + _mixin(T._DesignMainDomainMovingComponent_UiComponent2_PureComponent_TransformByHelixGroup, R.TransformByHelixGroup); + _mixin(T.__$$DesignMainDomainMovingProps_UiProps_DesignMainDomainMovingPropsMixin, T.DesignMainDomainMovingPropsMixin); + _mixin(T.__$$DesignMainDomainMovingProps_UiProps_DesignMainDomainMovingPropsMixin_$DesignMainDomainMovingPropsMixin, T.$DesignMainDomainMovingPropsMixin); + _mixin(T.__$$DesignMainDomainMovingProps_UiProps_DesignMainDomainMovingPropsMixin_$DesignMainDomainMovingPropsMixin_TransformByHelixGroupPropsMixin, R.TransformByHelixGroupPropsMixin); + _mixin(T.__$$DesignMainDomainMovingProps_UiProps_DesignMainDomainMovingPropsMixin_$DesignMainDomainMovingPropsMixin_TransformByHelixGroupPropsMixin_$TransformByHelixGroupPropsMixin, R.$TransformByHelixGroupPropsMixin); + _mixin(R._DesignMainDomainNameMismatchesComponent_UiComponent2_PureComponent, K.PureComponent); + _mixin(R.__$$DesignMainDomainNameMismatchesProps_UiProps_DesignMainDomainNameMismatchesProps, R.DesignMainDomainNameMismatchesProps); + _mixin(R.__$$DesignMainDomainNameMismatchesProps_UiProps_DesignMainDomainNameMismatchesProps_$DesignMainDomainNameMismatchesProps, R.$DesignMainDomainNameMismatchesProps); + _mixin(Y._DesignMainDomainsMovingComponent_UiComponent2_PureComponent, K.PureComponent); + _mixin(Y.__$$DesignMainDomainsMovingProps_UiProps_DesignMainDomainsMovingProps, Y.DesignMainDomainsMovingProps); + _mixin(Y.__$$DesignMainDomainsMovingProps_UiProps_DesignMainDomainsMovingProps_$DesignMainDomainsMovingProps, Y.$DesignMainDomainsMovingProps); + _mixin(X._DesignMainErrorBoundaryComponent_UiStatefulComponent2_ErrorBoundaryApi, O.ErrorBoundaryApi); + _mixin(X.__$$DesignMainErrorBoundaryProps_UiProps_ErrorBoundaryProps, Z.ErrorBoundaryProps); + _mixin(X.__$$DesignMainErrorBoundaryProps_UiProps_ErrorBoundaryProps_$ErrorBoundaryProps, Z.$ErrorBoundaryProps); + _mixin(X.__$$DesignMainErrorBoundaryState_UiState_ErrorBoundaryState, Z.ErrorBoundaryState); + _mixin(X.__$$DesignMainErrorBoundaryState_UiState_ErrorBoundaryState_$ErrorBoundaryState, Z.$ErrorBoundaryState); + _mixin(X.__$$DesignMainErrorBoundaryState_UiState_ErrorBoundaryState_$ErrorBoundaryState_DesignMainErrorBoundaryStateMixin, X.DesignMainErrorBoundaryStateMixin); + _mixin(X.__$$DesignMainErrorBoundaryState_UiState_ErrorBoundaryState_$ErrorBoundaryState_DesignMainErrorBoundaryStateMixin_$DesignMainErrorBoundaryStateMixin, X.$DesignMainErrorBoundaryStateMixin); + _mixin(V._DesignMainHelicesComponent_UiComponent2_PureComponent, K.PureComponent); + _mixin(V.__$$DesignMainHelicesProps_UiProps_DesignMainHelicesProps, V.DesignMainHelicesProps); + _mixin(V.__$$DesignMainHelicesProps_UiProps_DesignMainHelicesProps_$DesignMainHelicesProps, V.$DesignMainHelicesProps); + _mixin(T._DesignMainHelixComponent_UiComponent2_PureComponent, K.PureComponent); + _mixin(T.__$$DesignMainHelixProps_UiProps_DesignMainHelixProps, T.DesignMainHelixProps); + _mixin(T.__$$DesignMainHelixProps_UiProps_DesignMainHelixProps_$DesignMainHelixProps, T.$DesignMainHelixProps); + _mixin(K._DesignMainLoopoutExtensionLengthComponent_UiComponent2_PureComponent, K.PureComponent); + _mixin(K.__$$DesignMainLoopoutExtensionLengthProps_UiProps_DesignMainLoopoutExtensionLengthPropsMixin, K.DesignMainLoopoutExtensionLengthPropsMixin); + _mixin(K.__$$DesignMainLoopoutExtensionLengthProps_UiProps_DesignMainLoopoutExtensionLengthPropsMixin_$DesignMainLoopoutExtensionLengthPropsMixin, K.$DesignMainLoopoutExtensionLengthPropsMixin); + _mixin(Z._DesignMainLoopoutExtensionLengthsComponent_UiComponent2_PureComponent, K.PureComponent); + _mixin(Z.__$$DesignMainLoopoutExtensionLengthsProps_UiProps_DesignMainLoopoutExtensionLengthsProps, Z.DesignMainLoopoutExtensionLengthsProps); + _mixin(Z.__$$DesignMainLoopoutExtensionLengthsProps_UiProps_DesignMainLoopoutExtensionLengthsProps_$DesignMainLoopoutExtensionLengthsProps, Z.$DesignMainLoopoutExtensionLengthsProps); + _mixin(K._DesignMainPotentialVerticalCrossoverComponent_UiComponent2_PureComponent, K.PureComponent); + _mixin(K._DesignMainPotentialVerticalCrossoverComponent_UiComponent2_PureComponent_TransformByHelixGroup, R.TransformByHelixGroup); + _mixin(K.__$$DesignMainPotentialVerticalCrossoverProps_UiProps_DesignMainPotentialVerticalCrossoverPropsMixin, K.DesignMainPotentialVerticalCrossoverPropsMixin); + _mixin(K.__$$DesignMainPotentialVerticalCrossoverProps_UiProps_DesignMainPotentialVerticalCrossoverPropsMixin_$DesignMainPotentialVerticalCrossoverPropsMixin, K.$DesignMainPotentialVerticalCrossoverPropsMixin); + _mixin(K.__$$DesignMainPotentialVerticalCrossoverProps_UiProps_DesignMainPotentialVerticalCrossoverPropsMixin_$DesignMainPotentialVerticalCrossoverPropsMixin_TransformByHelixGroupPropsMixin, R.TransformByHelixGroupPropsMixin); + _mixin(K.__$$DesignMainPotentialVerticalCrossoverProps_UiProps_DesignMainPotentialVerticalCrossoverPropsMixin_$DesignMainPotentialVerticalCrossoverPropsMixin_TransformByHelixGroupPropsMixin_$TransformByHelixGroupPropsMixin, R.$TransformByHelixGroupPropsMixin); + _mixin(S.__$$DesignMainPotentialVerticalCrossoversProps_UiProps_DesignMainPotentialVerticalCrossoversProps, S.DesignMainPotentialVerticalCrossoversProps); + _mixin(S.__$$DesignMainPotentialVerticalCrossoversProps_UiProps_DesignMainPotentialVerticalCrossoversProps_$DesignMainPotentialVerticalCrossoversProps, S.$DesignMainPotentialVerticalCrossoversProps); + _mixin(M._DesignMainSliceBarComponent_UiComponent2_PureComponent, K.PureComponent); + _mixin(M.__$$DesignMainSliceBarProps_UiProps_DesignMainSliceBarProps, M.DesignMainSliceBarProps); + _mixin(M.__$$DesignMainSliceBarProps_UiProps_DesignMainSliceBarProps_$DesignMainSliceBarProps, M.$DesignMainSliceBarProps); + _mixin(M._DesignMainStrandComponent_UiComponent2_PureComponent, K.PureComponent); + _mixin(M._DesignMainStrandComponent_UiComponent2_PureComponent_TransformByHelixGroup, R.TransformByHelixGroup); + _mixin(M.__$$DesignMainStrandProps_UiProps_DesignMainStrandPropsMixin, M.DesignMainStrandPropsMixin); + _mixin(M.__$$DesignMainStrandProps_UiProps_DesignMainStrandPropsMixin_$DesignMainStrandPropsMixin, M.$DesignMainStrandPropsMixin); + _mixin(M.__$$DesignMainStrandProps_UiProps_DesignMainStrandPropsMixin_$DesignMainStrandPropsMixin_TransformByHelixGroupPropsMixin, R.TransformByHelixGroupPropsMixin); + _mixin(M.__$$DesignMainStrandProps_UiProps_DesignMainStrandPropsMixin_$DesignMainStrandPropsMixin_TransformByHelixGroupPropsMixin_$TransformByHelixGroupPropsMixin, R.$TransformByHelixGroupPropsMixin); + _mixin(S._DesignMainStrandAndDomainTextsComponent_UiComponent2_PureComponent, K.PureComponent); + _mixin(S._DesignMainStrandAndDomainTextsComponent_UiComponent2_PureComponent_TransformByHelixGroup, R.TransformByHelixGroup); + _mixin(S.__$$DesignMainStrandAndDomainTextsProps_UiProps_DesignMainStrandAndDomainTextsPropsMixin, S.DesignMainStrandAndDomainTextsPropsMixin); + _mixin(S.__$$DesignMainStrandAndDomainTextsProps_UiProps_DesignMainStrandAndDomainTextsPropsMixin_$DesignMainStrandAndDomainTextsPropsMixin, S.$DesignMainStrandAndDomainTextsPropsMixin); + _mixin(S.__$$DesignMainStrandAndDomainTextsProps_UiProps_DesignMainStrandAndDomainTextsPropsMixin_$DesignMainStrandAndDomainTextsPropsMixin_TransformByHelixGroupPropsMixin, R.TransformByHelixGroupPropsMixin); + _mixin(S.__$$DesignMainStrandAndDomainTextsProps_UiProps_DesignMainStrandAndDomainTextsPropsMixin_$DesignMainStrandAndDomainTextsPropsMixin_TransformByHelixGroupPropsMixin_$TransformByHelixGroupPropsMixin, R.$TransformByHelixGroupPropsMixin); + _mixin(R._DesignMainStrandCreatingComponent_UiComponent2_PureComponent, K.PureComponent); + _mixin(R._DesignMainStrandCreatingComponent_UiComponent2_PureComponent_TransformByHelixGroup, R.TransformByHelixGroup); + _mixin(R.__$$DesignMainStrandCreatingProps_UiProps_DesignMainStrandCreatingPropsMixin, R.DesignMainStrandCreatingPropsMixin); + _mixin(R.__$$DesignMainStrandCreatingProps_UiProps_DesignMainStrandCreatingPropsMixin_$DesignMainStrandCreatingPropsMixin, R.$DesignMainStrandCreatingPropsMixin); + _mixin(R.__$$DesignMainStrandCreatingProps_UiProps_DesignMainStrandCreatingPropsMixin_$DesignMainStrandCreatingPropsMixin_TransformByHelixGroupPropsMixin, R.TransformByHelixGroupPropsMixin); + _mixin(R.__$$DesignMainStrandCreatingProps_UiProps_DesignMainStrandCreatingPropsMixin_$DesignMainStrandCreatingPropsMixin_TransformByHelixGroupPropsMixin_$TransformByHelixGroupPropsMixin, R.$TransformByHelixGroupPropsMixin); + _mixin(Q._DesignMainStrandCrossoverComponent_UiStatefulComponent2_PureComponent, K.PureComponent); + _mixin(Q._DesignMainStrandCrossoverComponent_UiStatefulComponent2_PureComponent_TransformByHelixGroup, R.TransformByHelixGroup); + _mixin(Q.__$$DesignMainStrandCrossoverProps_UiProps_DesignMainStrandCrossoverPropsMixin, Q.DesignMainStrandCrossoverPropsMixin); + _mixin(Q.__$$DesignMainStrandCrossoverProps_UiProps_DesignMainStrandCrossoverPropsMixin_$DesignMainStrandCrossoverPropsMixin, Q.$DesignMainStrandCrossoverPropsMixin); + _mixin(Q.__$$DesignMainStrandCrossoverProps_UiProps_DesignMainStrandCrossoverPropsMixin_$DesignMainStrandCrossoverPropsMixin_TransformByHelixGroupPropsMixin, R.TransformByHelixGroupPropsMixin); + _mixin(Q.__$$DesignMainStrandCrossoverProps_UiProps_DesignMainStrandCrossoverPropsMixin_$DesignMainStrandCrossoverPropsMixin_TransformByHelixGroupPropsMixin_$TransformByHelixGroupPropsMixin, R.$TransformByHelixGroupPropsMixin); + _mixin(Q.__$$DesignMainStrandCrossoverState_UiState_DesignMainStrandCrossoverState, Q.DesignMainStrandCrossoverState); + _mixin(Q.__$$DesignMainStrandCrossoverState_UiState_DesignMainStrandCrossoverState_$DesignMainStrandCrossoverState, Q.$DesignMainStrandCrossoverState); + _mixin(A._DesignMainStrandDeletionComponent_UiComponent2_PureComponent, K.PureComponent); + _mixin(A.__$$DesignMainStrandDeletionProps_UiProps_DesignMainStrandDeletionPropsMixin, A.DesignMainStrandDeletionPropsMixin); + _mixin(A.__$$DesignMainStrandDeletionProps_UiProps_DesignMainStrandDeletionPropsMixin_$DesignMainStrandDeletionPropsMixin, A.$DesignMainStrandDeletionPropsMixin); + _mixin(S._DesignMainDNAEndComponent_UiComponent2_PureComponent, K.PureComponent); + _mixin(S.__$$DesignMainDNAEndProps_UiProps_DesignMainDNAEndPropsMixin, S.DesignMainDNAEndPropsMixin); + _mixin(S.__$$DesignMainDNAEndProps_UiProps_DesignMainDNAEndPropsMixin_$DesignMainDNAEndPropsMixin, S.$DesignMainDNAEndPropsMixin); + _mixin(F.__$$EndMovingProps_UiProps_EndMovingProps, F.EndMovingProps); + _mixin(F.__$$EndMovingProps_UiProps_EndMovingProps_$EndMovingProps, F.$EndMovingProps); + _mixin(T.__$$ExtensionEndMovingProps_UiProps_ExtensionEndMovingProps, T.ExtensionEndMovingProps); + _mixin(T.__$$ExtensionEndMovingProps_UiProps_ExtensionEndMovingProps_$ExtensionEndMovingProps, T.$ExtensionEndMovingProps); + _mixin(T._DesignMainDomainComponent_UiComponent2_PureComponent, K.PureComponent); + _mixin(T._DesignMainDomainComponent_UiComponent2_PureComponent_TransformByHelixGroup, R.TransformByHelixGroup); + _mixin(T.__$$DesignMainDomainProps_UiProps_DesignMainDomainPropsMixin, T.DesignMainDomainPropsMixin); + _mixin(T.__$$DesignMainDomainProps_UiProps_DesignMainDomainPropsMixin_$DesignMainDomainPropsMixin, T.$DesignMainDomainPropsMixin); + _mixin(T.__$$DesignMainDomainProps_UiProps_DesignMainDomainPropsMixin_$DesignMainDomainPropsMixin_TransformByHelixGroupPropsMixin, R.TransformByHelixGroupPropsMixin); + _mixin(T.__$$DesignMainDomainProps_UiProps_DesignMainDomainPropsMixin_$DesignMainDomainPropsMixin_TransformByHelixGroupPropsMixin_$TransformByHelixGroupPropsMixin, R.$TransformByHelixGroupPropsMixin); + _mixin(B._DesignMainStrandDomainTextComponent_UiComponent2_PureComponent, K.PureComponent); + _mixin(B.__$$DesignMainStrandDomainTextProps_UiProps_DesignMainStrandDomainTextPropsMixin, B.DesignMainStrandDomainTextPropsMixin); + _mixin(B.__$$DesignMainStrandDomainTextProps_UiProps_DesignMainStrandDomainTextPropsMixin_$DesignMainStrandDomainTextPropsMixin, B.$DesignMainStrandDomainTextPropsMixin); + _mixin(Q._DesignMainExtensionComponent_UiComponent2_PureComponent, K.PureComponent); + _mixin(Q._DesignMainExtensionComponent_UiComponent2_PureComponent_TransformByHelixGroup, R.TransformByHelixGroup); + _mixin(Q.__$$DesignMainExtensionProps_UiProps_DesignMainExtensionPropsMixin, Q.DesignMainExtensionPropsMixin); + _mixin(Q.__$$DesignMainExtensionProps_UiProps_DesignMainExtensionPropsMixin_$DesignMainExtensionPropsMixin, Q.$DesignMainExtensionPropsMixin); + _mixin(Q.__$$DesignMainExtensionProps_UiProps_DesignMainExtensionPropsMixin_$DesignMainExtensionPropsMixin_TransformByHelixGroupPropsMixin, R.TransformByHelixGroupPropsMixin); + _mixin(Q.__$$DesignMainExtensionProps_UiProps_DesignMainExtensionPropsMixin_$DesignMainExtensionPropsMixin_TransformByHelixGroupPropsMixin_$TransformByHelixGroupPropsMixin, R.$TransformByHelixGroupPropsMixin); + _mixin(R._DesignMainStrandExtensionTextComponent_UiComponent2_PureComponent, K.PureComponent); + _mixin(R.__$$DesignMainStrandExtensionTextProps_UiProps_DesignMainStrandExtensionTextPropsMixin, R.DesignMainStrandExtensionTextPropsMixin); + _mixin(R.__$$DesignMainStrandExtensionTextProps_UiProps_DesignMainStrandExtensionTextPropsMixin_$DesignMainStrandExtensionTextPropsMixin, R.$DesignMainStrandExtensionTextPropsMixin); + _mixin(A._DesignMainStrandInsertionComponent_UiComponent2_PureComponent, K.PureComponent); + _mixin(A.__$$DesignMainStrandInsertionProps_UiProps_DesignMainStrandInsertionPropsMixin, A.DesignMainStrandInsertionPropsMixin); + _mixin(A.__$$DesignMainStrandInsertionProps_UiProps_DesignMainStrandInsertionPropsMixin_$DesignMainStrandInsertionPropsMixin, A.$DesignMainStrandInsertionPropsMixin); + _mixin(R._DesignMainLoopoutComponent_UiStatefulComponent2_PureComponent, K.PureComponent); + _mixin(R._DesignMainLoopoutComponent_UiStatefulComponent2_PureComponent_TransformByHelixGroup, R.TransformByHelixGroup); + _mixin(R.__$$DesignMainLoopoutProps_UiProps_DesignMainLoopoutPropsMixin, R.DesignMainLoopoutPropsMixin); + _mixin(R.__$$DesignMainLoopoutProps_UiProps_DesignMainLoopoutPropsMixin_$DesignMainLoopoutPropsMixin, R.$DesignMainLoopoutPropsMixin); + _mixin(R.__$$DesignMainLoopoutProps_UiProps_DesignMainLoopoutPropsMixin_$DesignMainLoopoutPropsMixin_TransformByHelixGroupPropsMixin, R.TransformByHelixGroupPropsMixin); + _mixin(R.__$$DesignMainLoopoutProps_UiProps_DesignMainLoopoutPropsMixin_$DesignMainLoopoutPropsMixin_TransformByHelixGroupPropsMixin_$TransformByHelixGroupPropsMixin, R.$TransformByHelixGroupPropsMixin); + _mixin(R.__$$DesignMainLoopoutState_UiState_DesignMainLoopoutState, R.DesignMainLoopoutState); + _mixin(R.__$$DesignMainLoopoutState_UiState_DesignMainLoopoutState_$DesignMainLoopoutState, R.$DesignMainLoopoutState); + _mixin(S._DesignMainStrandLoopoutTextComponent_UiComponent2_PureComponent, K.PureComponent); + _mixin(S.__$$DesignMainStrandLoopoutTextProps_UiProps_DesignMainStrandLoopoutTextPropsMixin, S.DesignMainStrandLoopoutTextPropsMixin); + _mixin(S.__$$DesignMainStrandLoopoutTextProps_UiProps_DesignMainStrandLoopoutTextPropsMixin_$DesignMainStrandLoopoutTextPropsMixin, S.$DesignMainStrandLoopoutTextPropsMixin); + _mixin(X.__$$DesignMainStrandModificationProps_UiProps_DesignMainStrandModificationProps, X.DesignMainStrandModificationProps); + _mixin(X.__$$DesignMainStrandModificationProps_UiProps_DesignMainStrandModificationProps_$DesignMainStrandModificationProps, X.$DesignMainStrandModificationProps); + _mixin(R._DesignMainStrandModificationsComponent_UiComponent2_PureComponent, K.PureComponent); + _mixin(R._DesignMainStrandModificationsComponent_UiComponent2_PureComponent_TransformByHelixGroup, R.TransformByHelixGroup); + _mixin(R.__$$DesignMainStrandModificationsProps_UiProps_DesignMainStrandModificationsPropsMixin, R.DesignMainStrandModificationsPropsMixin); + _mixin(R.__$$DesignMainStrandModificationsProps_UiProps_DesignMainStrandModificationsPropsMixin_$DesignMainStrandModificationsPropsMixin, R.$DesignMainStrandModificationsPropsMixin); + _mixin(R.__$$DesignMainStrandModificationsProps_UiProps_DesignMainStrandModificationsPropsMixin_$DesignMainStrandModificationsPropsMixin_TransformByHelixGroupPropsMixin, R.TransformByHelixGroupPropsMixin); + _mixin(R.__$$DesignMainStrandModificationsProps_UiProps_DesignMainStrandModificationsPropsMixin_$DesignMainStrandModificationsPropsMixin_TransformByHelixGroupPropsMixin_$TransformByHelixGroupPropsMixin, R.$TransformByHelixGroupPropsMixin); + _mixin(T._DesignMainStrandMovingComponent_UiComponent2_PureComponent, K.PureComponent); + _mixin(T._DesignMainStrandMovingComponent_UiComponent2_PureComponent_TransformByHelixGroup, R.TransformByHelixGroup); + _mixin(T.__$$DesignMainStrandMovingProps_UiProps_DesignMainStrandMovingPropsMixin, T.DesignMainStrandMovingPropsMixin); + _mixin(T.__$$DesignMainStrandMovingProps_UiProps_DesignMainStrandMovingPropsMixin_$DesignMainStrandMovingPropsMixin, T.$DesignMainStrandMovingPropsMixin); + _mixin(T.__$$DesignMainStrandMovingProps_UiProps_DesignMainStrandMovingPropsMixin_$DesignMainStrandMovingPropsMixin_TransformByHelixGroupPropsMixin, R.TransformByHelixGroupPropsMixin); + _mixin(T.__$$DesignMainStrandMovingProps_UiProps_DesignMainStrandMovingPropsMixin_$DesignMainStrandMovingPropsMixin_TransformByHelixGroupPropsMixin_$TransformByHelixGroupPropsMixin, R.$TransformByHelixGroupPropsMixin); + _mixin(B._DesignMainStrandPathsComponent_UiComponent2_PureComponent, K.PureComponent); + _mixin(B._DesignMainStrandPathsComponent_UiComponent2_PureComponent_TransformByHelixGroup, R.TransformByHelixGroup); + _mixin(B.__$$DesignMainStrandPathsProps_UiProps_DesignMainStrandPathsPropsMixin, B.DesignMainStrandPathsPropsMixin); + _mixin(B.__$$DesignMainStrandPathsProps_UiProps_DesignMainStrandPathsPropsMixin_$DesignMainStrandPathsPropsMixin, B.$DesignMainStrandPathsPropsMixin); + _mixin(B.__$$DesignMainStrandPathsProps_UiProps_DesignMainStrandPathsPropsMixin_$DesignMainStrandPathsPropsMixin_TransformByHelixGroupPropsMixin, R.TransformByHelixGroupPropsMixin); + _mixin(B.__$$DesignMainStrandPathsProps_UiProps_DesignMainStrandPathsPropsMixin_$DesignMainStrandPathsPropsMixin_TransformByHelixGroupPropsMixin_$TransformByHelixGroupPropsMixin, R.$TransformByHelixGroupPropsMixin); + _mixin(E._DesignMainStrandsComponent_UiComponent2_PureComponent, K.PureComponent); + _mixin(E.__$$DesignMainStrandsProps_UiProps_DesignMainStrandsProps, E.DesignMainStrandsProps); + _mixin(E.__$$DesignMainStrandsProps_UiProps_DesignMainStrandsProps_$DesignMainStrandsProps, E.$DesignMainStrandsProps); + _mixin(F.__$$DesignMainStrandsMovingProps_UiProps_DesignMainStrandsMovingProps, F.DesignMainStrandsMovingProps); + _mixin(F.__$$DesignMainStrandsMovingProps_UiProps_DesignMainStrandsMovingProps_$DesignMainStrandsMovingProps, F.$DesignMainStrandsMovingProps); + _mixin(B._DesignMainUnpairedInsertionDeletionsComponent_UiComponent2_PureComponent, K.PureComponent); + _mixin(B.__$$DesignMainUnpairedInsertionDeletionsProps_UiProps_DesignMainUnpairedInsertionDeletionsProps, B.DesignMainUnpairedInsertionDeletionsProps); + _mixin(B.__$$DesignMainUnpairedInsertionDeletionsProps_UiProps_DesignMainUnpairedInsertionDeletionsProps_$DesignMainUnpairedInsertionDeletionsProps, B.$DesignMainUnpairedInsertionDeletionsProps); + _mixin(R.__$$DesignMainWarningStarProps_UiProps_DesignMainWarningStarProps, R.DesignMainWarningStarProps); + _mixin(R.__$$DesignMainWarningStarProps_UiProps_DesignMainWarningStarProps_$DesignMainWarningStarProps, R.$DesignMainWarningStarProps); + _mixin(U._DesignSideComponent_UiComponent2_PureComponent, K.PureComponent); + _mixin(U.__$$DesignSideProps_UiProps_DesignSideProps, U.DesignSideProps); + _mixin(U.__$$DesignSideProps_UiProps_DesignSideProps_$DesignSideProps, U.$DesignSideProps); + _mixin(S.__$$DesignSideArrowsProps_UiProps_DesignSideArrowsProps, S.DesignSideArrowsProps); + _mixin(S.__$$DesignSideArrowsProps_UiProps_DesignSideArrowsProps_$DesignSideArrowsProps, S.$DesignSideArrowsProps); + _mixin(B._DesignSideHelixComponent_UiComponent2_PureComponent, K.PureComponent); + _mixin(B.__$$DesignSideHelixProps_UiProps_DesignSideHelixProps, B.DesignSideHelixProps); + _mixin(B.__$$DesignSideHelixProps_UiProps_DesignSideHelixProps_$DesignSideHelixProps, B.$DesignSideHelixProps); + _mixin(Y.__$$DesignSidePotentialHelixProps_UiProps_DesignSidePotentialHelixProps, Y.DesignSidePotentialHelixProps); + _mixin(Y.__$$DesignSidePotentialHelixProps_UiProps_DesignSidePotentialHelixProps_$DesignSidePotentialHelixProps, Y.$DesignSidePotentialHelixProps); + _mixin(O._DesignSideRotationComponent_UiComponent2_PureComponent, K.PureComponent); + _mixin(O.__$$DesignSideRotationProps_UiProps_DesignSideRotationProps, O.DesignSideRotationProps); + _mixin(O.__$$DesignSideRotationProps_UiProps_DesignSideRotationProps_$DesignSideRotationProps, O.$DesignSideRotationProps); + _mixin(E.__$$DesignSideRotationArrowProps_UiProps_DesignSideRotationArrowProps, E.DesignSideRotationArrowProps); + _mixin(E.__$$DesignSideRotationArrowProps_UiProps_DesignSideRotationArrowProps_$DesignSideRotationArrowProps, E.$DesignSideRotationArrowProps); + _mixin(Z._EditAndSelectModesComponent_UiComponent2_RedrawCounterMixin, A.RedrawCounterMixin); + _mixin(Z.__$$EditAndSelectModesProps_UiProps_EditAndSelectModesProps, Z.EditAndSelectModesProps); + _mixin(Z.__$$EditAndSelectModesProps_UiProps_EditAndSelectModesProps_$EditAndSelectModesProps, Z.$EditAndSelectModesProps); + _mixin(M._EditModeComponent_UiComponent2_RedrawCounterMixin, A.RedrawCounterMixin); + _mixin(M.__$$EditModeProps_UiProps_EditModeProps, M.EditModeProps); + _mixin(M.__$$EditModeProps_UiProps_EditModeProps_$EditModeProps, M.$EditModeProps); + _mixin(O._HelixGroupMovingComponent_UiComponent2_PureComponent, K.PureComponent); + _mixin(O.__$$HelixGroupMovingProps_UiProps_HelixGroupMovingProps, O.HelixGroupMovingProps); + _mixin(O.__$$HelixGroupMovingProps_UiProps_HelixGroupMovingProps_$HelixGroupMovingProps, O.$HelixGroupMovingProps); + _mixin(D._MenuComponent_UiComponent2_RedrawCounterMixin, A.RedrawCounterMixin); + _mixin(D.__$$MenuProps_UiProps_MenuPropsMixin, D.MenuPropsMixin); + _mixin(D.__$$MenuProps_UiProps_MenuPropsMixin_$MenuPropsMixin, D.$MenuPropsMixin); + _mixin(D.__$$MenuProps_UiProps_MenuPropsMixin_$MenuPropsMixin_ConnectPropsMixin, X.ConnectPropsMixin); + _mixin(D.__$$MenuProps_UiProps_MenuPropsMixin_$MenuPropsMixin_ConnectPropsMixin_$ConnectPropsMixin, X.$ConnectPropsMixin); + _mixin(Z.__$$MenuBooleanProps_UiProps_MenuBooleanPropsMixin, Z.MenuBooleanPropsMixin); + _mixin(Z.__$$MenuBooleanProps_UiProps_MenuBooleanPropsMixin_$MenuBooleanPropsMixin, Z.$MenuBooleanPropsMixin); + _mixin(N.__$$MenuDropdownItemProps_UiProps_MenuDropdownItemPropsMixin, N.MenuDropdownItemPropsMixin); + _mixin(N.__$$MenuDropdownItemProps_UiProps_MenuDropdownItemPropsMixin_$MenuDropdownItemPropsMixin, N.$MenuDropdownItemPropsMixin); + _mixin(M.__$$MenuDropdownRightProps_UiProps_MenuDropdownRightProps, M.MenuDropdownRightProps); + _mixin(M.__$$MenuDropdownRightProps_UiProps_MenuDropdownRightProps_$MenuDropdownRightProps, M.$MenuDropdownRightProps); + _mixin(M.__$$MenuDropdownRightState_UiState_MenuDropdownRightState, M.MenuDropdownRightState); + _mixin(M.__$$MenuDropdownRightState_UiState_MenuDropdownRightState_$MenuDropdownRightState, M.$MenuDropdownRightState); + _mixin(O.__$$MenuFormFileProps_UiProps_MenuFormFileProps, O.MenuFormFileProps); + _mixin(O.__$$MenuFormFileProps_UiProps_MenuFormFileProps_$MenuFormFileProps, O.$MenuFormFileProps); + _mixin(M.__$$MenuNumberProps_UiProps_MenuNumberPropsMixin, M.MenuNumberPropsMixin); + _mixin(M.__$$MenuNumberProps_UiProps_MenuNumberPropsMixin_$MenuNumberPropsMixin, M.$MenuNumberPropsMixin); + _mixin(Q._SideMenuComponent_UiComponent2_RedrawCounterMixin, A.RedrawCounterMixin); + _mixin(Q.__$$SideMenuProps_UiProps_SideMenuPropsMixin, Q.SideMenuPropsMixin); + _mixin(Q.__$$SideMenuProps_UiProps_SideMenuPropsMixin_$SideMenuPropsMixin, Q.$SideMenuPropsMixin); + _mixin(Q.__$$SideMenuProps_UiProps_SideMenuPropsMixin_$SideMenuPropsMixin_ConnectPropsMixin, X.ConnectPropsMixin); + _mixin(Q.__$$SideMenuProps_UiProps_SideMenuPropsMixin_$SideMenuPropsMixin_ConnectPropsMixin_$ConnectPropsMixin, X.$ConnectPropsMixin); + _mixin(M.__$$PotentialCrossoverViewProps_UiProps_PotentialCrossoverViewProps, M.PotentialCrossoverViewProps); + _mixin(M.__$$PotentialCrossoverViewProps_UiProps_PotentialCrossoverViewProps_$PotentialCrossoverViewProps, M.$PotentialCrossoverViewProps); + _mixin(R.__$$PotentialExtensionsViewProps_UiProps_PotentialExtensionsViewProps, R.PotentialExtensionsViewProps); + _mixin(R.__$$PotentialExtensionsViewProps_UiProps_PotentialExtensionsViewProps_$PotentialExtensionsViewProps, R.$PotentialExtensionsViewProps); + _mixin(D._SelectModeComponent_UiComponent2_RedrawCounterMixin, A.RedrawCounterMixin); + _mixin(D.__$$SelectModeProps_UiProps_SelectModePropsMixin, D.SelectModePropsMixin); + _mixin(D.__$$SelectModeProps_UiProps_SelectModePropsMixin_$SelectModePropsMixin, D.$SelectModePropsMixin); + _mixin(D.__$$SelectModeProps_UiProps_SelectModePropsMixin_$SelectModePropsMixin_ConnectPropsMixin, X.ConnectPropsMixin); + _mixin(D.__$$SelectModeProps_UiProps_SelectModePropsMixin_$SelectModePropsMixin_ConnectPropsMixin_$ConnectPropsMixin, X.$ConnectPropsMixin); + _mixin(Y.__$$SelectionBoxViewProps_UiProps_SelectionBoxViewProps, Y.SelectionBoxViewProps); + _mixin(Y.__$$SelectionBoxViewProps_UiProps_SelectionBoxViewProps_$SelectionBoxViewProps, Y.$SelectionBoxViewProps); + _mixin(A.__$$SelectionRopeViewProps_UiProps_SelectionRopeViewProps, A.SelectionRopeViewProps); + _mixin(A.__$$SelectionRopeViewProps_UiProps_SelectionRopeViewProps_$SelectionRopeViewProps, A.$SelectionRopeViewProps); + _mixin(A.__$$StrandOrSubstrandColorPickerProps_UiProps_StrandOrSubstrandColorPickerProps, A.StrandOrSubstrandColorPickerProps); + _mixin(A.__$$StrandOrSubstrandColorPickerProps_UiProps_StrandOrSubstrandColorPickerProps_$StrandOrSubstrandColorPickerProps, A.$StrandOrSubstrandColorPickerProps); + _mixin(A.__$$StrandOrSubstrandColorPickerState_UiState_StrandOrSubstrandColorPickerState, A.StrandOrSubstrandColorPickerState); + _mixin(A.__$$StrandOrSubstrandColorPickerState_UiState_StrandOrSubstrandColorPickerState_$StrandOrSubstrandColorPickerState, A.$StrandOrSubstrandColorPickerState); + _mixin(N._XmlAttribute_XmlNode_XmlHasParent, E.XmlHasParent); + _mixin(N._XmlAttribute_XmlNode_XmlHasParent_XmlHasName, X.XmlHasName); + _mixin(N._XmlData_XmlNode_XmlHasParent, E.XmlHasParent); + _mixin(L._XmlDeclaration_XmlNode_XmlHasParent, E.XmlHasParent); + _mixin(L._XmlDeclaration_XmlNode_XmlHasParent_XmlHasAttributes, Z.XmlHasAttributes); + _mixin(S._XmlDocument_XmlNode_XmlHasChildren, Y.XmlHasChildren); + _mixin(G._XmlElement_XmlNode_XmlHasParent, E.XmlHasParent); + _mixin(G._XmlElement_XmlNode_XmlHasParent_XmlHasName, X.XmlHasName); + _mixin(G._XmlElement_XmlNode_XmlHasParent_XmlHasName_XmlHasAttributes, Z.XmlHasAttributes); + _mixin(G._XmlElement_XmlNode_XmlHasParent_XmlHasName_XmlHasAttributes_XmlHasChildren, Y.XmlHasChildren); + _mixin(B._XmlNode_Object_XmlParentBase, E.XmlParentBase); + _mixin(B._XmlNode_Object_XmlParentBase_XmlAttributesBase, Z.XmlAttributesBase); + _mixin(B._XmlNode_Object_XmlParentBase_XmlAttributesBase_XmlChildrenBase, Y.XmlChildrenBase); + _mixin(B._XmlNode_Object_XmlParentBase_XmlAttributesBase_XmlChildrenBase_XmlHasText, V.XmlHasText); + _mixin(B._XmlNode_Object_XmlParentBase_XmlAttributesBase_XmlChildrenBase_XmlHasText_XmlHasVisitor, E.XmlHasVisitor); + _mixin(B._XmlNode_Object_XmlParentBase_XmlAttributesBase_XmlChildrenBase_XmlHasText_XmlHasVisitor_XmlHasWriter, L.XmlHasWriter); + _mixin(B._XmlNode_Object_XmlParentBase_XmlAttributesBase_XmlChildrenBase_XmlHasText_XmlHasVisitor_XmlHasWriter_XmlHasXml, R.XmlHasXml); + _mixin(Q._XmlName_Object_XmlHasVisitor, E.XmlHasVisitor); + _mixin(Q._XmlName_Object_XmlHasVisitor_XmlHasWriter, L.XmlHasWriter); + _mixin(Q._XmlName_Object_XmlHasVisitor_XmlHasWriter_XmlHasParent, E.XmlHasParent); + _mixin(X._XmlWriter_Object_XmlVisitor, B.XmlVisitor); + })(); + var init = { + typeUniverse: {eC: new Map(), tR: {}, eT: {}, tPV: {}, sEA: []}, + mangledGlobalNames: {int: "int", double: "double", num: "num", String: "String", bool: "bool", Null: "Null", List: "List"}, + mangledNames: {}, + getTypeFromName: getGlobalFromName, + metadata: [], + types: ["~()", "@()", "StrandBuilder*(StrandBuilder*)", "@(SyntheticMouseEvent*)", "@(Store*,@,@(@)*)", "@(SyntheticFormEvent*)", "Future<~>*()", "DomainBuilder*(DomainBuilder*)", "ReactDomComponentFactoryProxy*()", "HelixBuilder*(HelixBuilder*)", "Null(SyntheticFormEvent*)", "Parser<@>()", "Null()", "bool*(Selectable*)", "@(@)", "bool*(Strand*)", "~(XmlElement)", "Null(SyntheticMouseEvent*)", "Null(SyntheticPointerEvent*)", "ExtensionBuilder*(ExtensionBuilder*)", "DesignBuilder*(DesignBuilder*)", "bool*(Domain*)", "ListBuilder*()", "bool*(int*)", "LoopoutBuilder*(LoopoutBuilder*)", "@(Event*)", "HelixGroupBuilder*(HelixGroupBuilder*)", "String*(String*)", "bool*(NavigatorProvider*)", "bool*(Insertion*)", "@(num*)", "~(String,@)", "Null(@)", "Object?(@)", "Helix*(int*,Helix*)", "StrandsMoveBuilder*(StrandsMoveBuilder*)", "~(@)", "ListBuilder*()", "~(StrandBuilder*)", "AppStateBuilder*(AppStateBuilder*)", "Null(MouseEvent*)", "@(SyntheticPointerEvent*)", "~(Event)", "MapEntry*(int*,Point*)", "MapBuilder*()", "~(@,@)", "SelectablesStoreBuilder*(SelectablesStoreBuilder*)", "InsertionBuilder*(InsertionBuilder*)", "bool*(String*)", "int*(@)", "LocalStorageDesignChoiceBuilder*(LocalStorageDesignChoiceBuilder*)", "AppUIStateBuilder*(AppUIStateBuilder*)", "bool(XmlHasName)", "SelectionRopeBuilder*(SelectionRopeBuilder*)", "Null(KeyboardEvent*)", "Null(Event*)", "int*(HelixBuilder*)", "bool*(@)", "Future<~>*(SyntheticMouseEvent*)", "~(Element)", "bool(Object?,Object?)", "bool(String)", "AppUIStateStorablesBuilder*(AppUIStateStorablesBuilder*)", "int(Object?)", "int*(Domain*,Domain*)", "double*()", "~(Set)", "Point*(Domain*)", "Null(StrandBuilder*)", "bool(@)", "AddressBuilder*(AddressBuilder*)", "ListBuilder*()", "~(TouchEvent)", "bool*(int*,Helix*)", "~(Object?)", "UndoRedoBuilder*(UndoRedoBuilder*)", "SelectModeStateBuilder*(SelectModeStateBuilder*)", "~(MouseEvent)", "Null(ProgressEvent*)", "DomainsMoveBuilder*(DomainsMoveBuilder*)", "String(int)", "int*(DialogRadioBuilder*)", "~(ProgressEvent*)", "Null(MapBuilder*)", "@(DraggableEvent*)", "Object?(Object?)", "bool(XmlElement)", "~(~())", "Helix*(@,Helix*)", "bool*(JsMap*,JsMap*)", "ListBuilder*()", "int*(int*,int*)", "bool(_Highlight)", "ListBuilder*()", "~(String,String)", "~(Object?,Object?)", "MapBuilder*()", "~(Object,StackTrace)", "int*(Helix*)", "String(String)", "String(Match)", "bool*(SelectableModification*)", "StrandCreationBuilder*(StrandCreationBuilder*)", "CopyInfoBuilder*(CopyInfoBuilder*)", "Future<@>()", "MapBuilder*>*()", "bool*(SetBuilder*)", "bool(Object?)", "MapBuilder*()", "Insertion*(Insertion*)", "ListBuilder*()", "Modification*(StrandBuilder*)", "SelectionBoxBuilder*(SelectionBoxBuilder*)", "bool*(SetBuilder*)", "DNAEnd*(Domain*)", "MapBuilder*()", "PotentialCrossoverBuilder*(PotentialCrossoverBuilder*)", "Null(int*,ModificationInternal*)", "ListBuilder*()", "MouseoverDataBuilder*(MouseoverDataBuilder*)", "HelixGroupMoveBuilder*(HelixGroupMoveBuilder*)", "@(FileReader*,String*)", "SetBuilder*()", "SetBuilder*()", "BuiltList*(Strand*)", "BuiltList*(BuiltList*)", "bool*(Substrand*)", "DialogBuilder*(DialogBuilder*)", "MapBuilder*(MapBuilder*)", "String*(Strand*)", "GeometryBuilder*(GeometryBuilder*)", "Position3DBuilder*(Position3DBuilder*)", "SetBuilder*(SetBuilder*)", "SetBuilder*()", "bool*(DNAEnd*)", "int*(int*)", "@(MouseEvent*)", "ListBuilder*(ListBuilder*)", "Null(String*)", "bool*(Tuple2*)", "int*(Insertion*,Insertion*)", "ListBuilder*()", "bool*(DialogCheckboxBuilder*)", "JsMap*()", "bool*()", "CharacterPredicate(List<@>)", "Function*()", "JsMap*(@(@)*,JsMap*)", "JsMap*(@(@)*)", "JsMap*(Object*,JsMap*)", "JsMap*(Object*)", "StrandNameSet*(Strand*)", "SubstrandNameSet*(Domain*)", "StrandLabelSet*(Strand*)", "SubstrandNameSet*(Extension*)", "Future*()", "SubstrandNameSet*(Loopout*)", "ListBuilder*()", "~(List*)", "~(StreamSubscription<@>)", "bool*(SyntheticMouseEvent*)", "~(_EventManager)", "BuiltList*(BuiltList*)", "Null(@,@)", "bool(NodeValidator)", "bool(Node)", "~(XmlNode)", "~(Uint8List,String,int)", "List<@>(@)", "XmlAttribute(XmlAttribute)", "XmlNode(XmlNode)", "int(String?)", "int(@,@)", "int(int)", "bool(Element,String,String,_Html5NodeValidator)", "~(Component2*)", "int(int,int)", "bool*(num*,num*,num*,num*)", "bool*(List*>*,Rectangle*)", "bool*(bool*,DefaultCrossoverTypeForSettingHelixRollsSet*)", "num*(num*,LoadDnaSequenceImageUri*)", "String*(String*,String*,String*)", "String*(Match*)", "ShowMismatchesSetBuilder*(ShowMismatchesSetBuilder*)", "ExportSvgTextSeparatelySetBuilder*(ExportSvgTextSeparatelySetBuilder*)", "ExtensionDisplayLengthAngleSetBuilder*(ExtensionDisplayLengthAngleSetBuilder*)", "ExtensionAddBuilder*(ExtensionAddBuilder*)", "ExtensionNumBasesChangeBuilder*(ExtensionNumBasesChangeBuilder*)", "ExtensionsNumBasesChangeBuilder*(ExtensionsNumBasesChangeBuilder*)", "LoopoutLengthChangeBuilder*(LoopoutLengthChangeBuilder*)", "LoopoutsLengthChangeBuilder*(LoopoutsLengthChangeBuilder*)", "ConvertCrossoverToLoopoutBuilder*(ConvertCrossoverToLoopoutBuilder*)", "ConvertCrossoversToLoopoutsBuilder*(ConvertCrossoversToLoopoutsBuilder*)", "ManualPasteInitiateBuilder*(ManualPasteInitiateBuilder*)", "AutoPasteInitiateBuilder*(AutoPasteInitiateBuilder*)", "AssignDNAComplementFromBoundStrandsBuilder*(AssignDNAComplementFromBoundStrandsBuilder*)", "AssignDomainNameComplementFromBoundStrandsBuilder*(AssignDomainNameComplementFromBoundStrandsBuilder*)", "AssignDomainNameComplementFromBoundDomainsBuilder*(AssignDomainNameComplementFromBoundDomainsBuilder*)", "InsertionAddBuilder*(InsertionAddBuilder*)", "Set<0^>()", "InsertionLengthChangeBuilder*(InsertionLengthChangeBuilder*)", "InsertionsLengthChangeBuilder*(InsertionsLengthChangeBuilder*)", "DeletionAddBuilder*(DeletionAddBuilder*)", "InsertionRemoveBuilder*(InsertionRemoveBuilder*)", "DeletionRemoveBuilder*(DeletionRemoveBuilder*)", "Modifications5PrimeEditBuilder*(Modifications5PrimeEditBuilder*)", "Modifications3PrimeEditBuilder*(Modifications3PrimeEditBuilder*)", "ModificationsInternalEditBuilder*(ModificationsInternalEditBuilder*)", "StrandOrSubstrandColorPickerHideBuilder*(StrandOrSubstrandColorPickerHideBuilder*)", "LoadDnaSequenceImageUriBuilder*(LoadDnaSequenceImageUriBuilder*)", "SetIsZoomAboveThresholdBuilder*(SetIsZoomAboveThresholdBuilder*)", "SetExportSvgActionDelayedForPngCacheBuilder*(SetExportSvgActionDelayedForPngCacheBuilder*)", "ShowSliceBarSetBuilder*(ShowSliceBarSetBuilder*)", "SliceBarOffsetSetBuilder*(SliceBarOffsetSetBuilder*)", "DisablePngCachingDnaSequencesSetBuilder*(DisablePngCachingDnaSequencesSetBuilder*)", "RetainStrandColorOnSelectionSetBuilder*(RetainStrandColorOnSelectionSetBuilder*)", "DisplayReverseDNARightSideUpSetBuilder*(DisplayReverseDNARightSideUpSetBuilder*)", "AutobreakBuilder*(AutobreakBuilder*)", "OxdnaExportBuilder*(OxdnaExportBuilder*)", "OxviewExportBuilder*(OxviewExportBuilder*)", "@(@,@)", "bool(Set)", "Set<0^>()", "Element(Node)", "JsFunction(@)", "JsArray<@>(@)", "int*(DNAEnd*)", "JsObject(@)", "Future()", "Grid*(HelixGroup*)", "int(int,@)", "Null(List*)", "String*(ExportDNAFormat*)", "String*(StrandOrder*)", "String*(RegExpMatch*)", "Element*(int*)", "Node*(TextContentElement*)", "IndentingBuiltValueToStringHelper(String)", "int*(Helix*,Helix*)", "ListBuilder()", "bool*(MapEntry*>*)", "String*(MapEntry*>*)", "ListMultimapBuilder()", "Null(Timer*)", "MapBuilder()", "SetBuilder()", "ExampleDesignsBuilder*(ExampleDesignsBuilder*)", "SetMultimapBuilder()", "int*(Crossover*,Crossover*)", "int*(Loopout*,Loopout*)", "Null(@,StackTrace)", "Set<0^>()", "@(Object?)", "Domain*(Selectable*)", "~(int,@)", "int*(Linker*,Linker*)", "~(Symbol0,@)", "@(Object)", "~(KeyboardEvent)", "DNAEndsMoveBuilder*(DNAEndsMoveBuilder*)", "DNAExtensionsMoveBuilder*(DNAExtensionsMoveBuilder*)", "@(StackTrace)", "Object()", "Future*(Client0*)", "bool*(String*,String*)", "int*(String*)", "HelixGroup*(String*,HelixGroup*)", "StackTrace()", "~(String,int)", "~(String[@])", "Uint8List(@,@)", "MediaType*()", "Null(String*,String*)", "Null(~())", "Logger()", "_$ErrorBoundaryComponent*()", "StrandBuilder*(Strand*)", "_$Strand*(StrandBuilder*)", "ReactElement*(@,@)", "_$RecoverableErrorBoundaryComponent*()", "~(SetBuilder*)", "~(Blob?)", "~(Map<@,@>*)", "int*(DNAEnd*,DNAEnd*)", "List*(ConsumedProps*)", "JsMap*(Map<@,@>*)", "0^*(0^*,int*)", "Box*(Helix*)", "~(Object[StackTrace?])", "~(DomException)", "SetBuilder*(SetBuilder*)", "JsMap*(Object*)*(Object*,JsMap*)", "JsMap*(Object*,JsMap*)*(Object*,JsMap*)", "Null(Object,StackTrace)", "String(HttpRequest)", "int*(Insertion*)", "VendorFieldsBuilder*(StrandBuilder*)", "JsMap*(@(@)*)*(@(@)*,JsMap*)", "JsMap*(@(@)*,JsMap*)*(@(@)*,JsMap*)", "ModificationInternal*(StrandBuilder*)", "~(ProgressEvent)", "MapBuilder*>*()", "Future>()", "ListBuilder*()", "ReduxProviderProps*([Map<@,@>*])", "Object*()", "Function*(Function*)", "ListBuilder*()", "ListBuilder*>*()", "MapBuilder*>*>*()", "String*(@)", "String(String?)", "bool(String?)", "int(RangeCharPredicate,RangeCharPredicate)", "int(int,RangeCharPredicate)", "RangeCharPredicate(String)", "RangeCharPredicate(List<@>)", "ListBuilder*()", "~(BeforeUnloadEvent)", "ListBuilder*()", "ListBuilder*()", "ListBuilder*()", "ListBuilder*>*()", "ListBuilder*()", "bool*(Browser*)", "ListBuilder*()", "ListBuilder*()", "ListBuilder*()", "ListBuilder*()", "Browser*()", "ListBuilder*()", "MapBuilder*()", "ListBuilder*()", "bool*(OperatingSystem*)", "MapBuilder*()", "OperatingSystem*()", "SetBuilder*()", "_Future<@>(@)", "SetBuilder*()", "SetBuilder*()", "ContextMenuItemBuilder*(ContextMenuItemBuilder*)", "CrossoverBuilder*(CrossoverBuilder*)", "_$Helix*(HelixBuilder*)", "Grid*(HelixGroupBuilder*)", "int*(Tuple2*,Tuple2*)", "Null(Domain*,ListBuilder*)", "Null(Domain*,List*)", "int*(Domain*)", "Geometry*(@)", "MapEntry*(String*,HelixGroupBuilder*)", "String*(Domain*,Domain*,int*)", "int*(Tuple3*,Tuple3*)", "int*(int*,@)", "ReactDartComponentFactoryProxy2*(Component2*()*{bridgeFactory:Component2Bridge*(Component2*)*,skipMethods:Iterable*})*()", "@(@,String)", "Domain*(Substrand*)", "int*(Tuple5*)", "MapEntry*(String*,HelixGroupBuilder*)", "DesignSideRotationParamsBuilder*(DesignSideRotationParamsBuilder*)", "DesignSideRotationDataBuilder*(DesignSideRotationDataBuilder*)", "ReactComponent*(ReactElement*,Element*)*()", "DialogIntegerBuilder*(DialogIntegerBuilder*)", "DialogFloatBuilder*(DialogFloatBuilder*)", "DialogTextBuilder*(DialogTextBuilder*)", "DialogTextAreaBuilder*(DialogTextAreaBuilder*)", "DialogCheckboxBuilder*(DialogCheckboxBuilder*)", "DialogRadioBuilder*(DialogRadioBuilder*)", "DialogLinkBuilder*(DialogLinkBuilder*)", "DialogLabelBuilder*(DialogLabelBuilder*)", "DNAAssignOptionsBuilder*(DNAAssignOptionsBuilder*)", "DNAEndBuilder*(DNAEndBuilder*)", "@(Insertion*)", "Insertion*(@)", "@(@)*()", "int*(Strand*,Strand*)", "int*(@,@)", "~(@,StackTrace)", "double*(num*)", "GridPositionBuilder*(GridPositionBuilder*)", "Component2*()", "@(String)", "MapBuilder*(Modification5PrimeBuilder*)", "MapBuilder*(Modification3PrimeBuilder*)", "MapBuilder*(ModificationInternalBuilder*)", "Modification5PrimeBuilder*(Modification5PrimeBuilder*)", "Modification3PrimeBuilder*(Modification3PrimeBuilder*)", "ModificationInternalBuilder*(ModificationInternalBuilder*)", "MouseoverParamsBuilder*(MouseoverParamsBuilder*)", "SkipUndoBuilder*(SkipUndoBuilder*)", "SetBuilder*(SelectModeStateBuilder*)", "UndoBuilder*(UndoBuilder*)", "LineBuilder*(LineBuilder*)", "MapBuilder*(StrandBuilder*)", "UndoRedoItemBuilder*(UndoRedoItemBuilder*)", "VendorFieldsBuilder*(VendorFieldsBuilder*)", "MapBuilder*(VendorFieldsBuilder*)", "bool*(List*)", "ByteBuffer*/*(HttpRequest*)", "Null(List*)", "Future*(Event*)", "double*(double*,double*)", "_$End3PrimeComponent*()", "_$End5PrimeComponent*()", "RedoBuilder*(RedoBuilder*)", "BatchActionBuilder*(BatchActionBuilder*)", "ThrottledActionFastBuilder*(ThrottledActionFastBuilder*)", "ThrottledActionNonFastBuilder*(ThrottledActionNonFastBuilder*)", "DesignContextMenuProps*(AppState*)", "EditModeToggleBuilder*(EditModeToggleBuilder*)", "_$DesignContextMenuComponent*()", "_$DesignContextSubmenuComponent*()", "DesignDialogFormProps*(AppState*)", "SelectModeToggleBuilder*(SelectModeToggleBuilder*)", "MapBuilder*>*(MapBuilder*>*)", "SetAppUIStateStorableBuilder*(SetAppUIStateStorableBuilder*)", "ShowDNASetBuilder*(ShowDNASetBuilder*)", "String*(DialogTextBuilder*)", "String*(DialogTextAreaBuilder*)", "num*(DialogIntegerBuilder*)", "num*(DialogFloatBuilder*)", "ShowDomainNamesSetBuilder*(ShowDomainNamesSetBuilder*)", "_$DesignDialogFormComponent*()", "DesignFooterProps*(AppState*,DesignFooterProps*)", "_$DesignFooterComponent*()", "DesignLoadingDialogProps*(AppState*)", "_$DesignLoadingDialogComponent*()", "DesignMainProps*(AppState*)", "ShowStrandNamesSetBuilder*(ShowStrandNamesSetBuilder*)", "_$DesignMainComponent*()", "DesignMainArrowsProps*(AppState*)", "_$DesignMainArrowsComponent0*()", "_$DesignMainBasePairLinesComponent*()", "_$DesignMainBasePairRectangleComponent*()", "_$DesignMainDNAMismatchesComponent*()", "_$DesignMainDNASequenceComponent*()", "_$DesignMainDNASequencesComponent*()", "_$DesignMainDomainMovingComponent*()", "_$DesignMainDomainNameMismatchesComponent*()", "DesignMainDomainsMovingProps*(AppState*)", "_$DesignMainDomainsMovingComponent*()", "_$DesignMainErrorBoundaryComponent*()", "_$DesignMainHelicesComponent*()", "ShowStrandLabelsSetBuilder*(ShowStrandLabelsSetBuilder*)", "ShowDomainLabelsSetBuilder*(ShowDomainLabelsSetBuilder*)", "ShowModificationsSetBuilder*(ShowModificationsSetBuilder*)", "_$DesignMainHelixComponent*()", "_$DesignMainLoopoutExtensionLengthComponent*()", "_$DesignMainLoopoutExtensionLengthsComponent*()", "_$DesignMainPotentialVerticalCrossoverComponent*()", "_$DesignMainPotentialVerticalCrossoversComponent*()", "_$DesignMainSliceBarComponent*()", "ModificationFontSizeSetBuilder*(ModificationFontSizeSetBuilder*)", "List*(Strand*{address:Address*,substrand:Substrand*,type:ModificationType*})", "MajorTickOffsetFontSizeSetBuilder*(MajorTickOffsetFontSizeSetBuilder*)", "MajorTickWidthFontSizeSetBuilder*(MajorTickWidthFontSizeSetBuilder*)", "SetModificationDisplayConnectorBuilder*(SetModificationDisplayConnectorBuilder*)", "~(Node,Node?)", "ShowDomainNameMismatchesSetBuilder*(ShowDomainNameMismatchesSetBuilder*)", "SubstrandLabelSet*(Domain*)", "ScaffoldSet*(Strand*)", "RemoveDNA*(Strand*)", "_$DesignMainStrandComponent*()", "_$DesignMainStrandAndDomainTextsComponent*()", "_$DesignMainStrandCreatingComponent*()", "_$DesignMainStrandCrossoverComponent*()", "_$DesignMainStrandDeletionComponent*()", "_$DesignMainDNAEndComponent*()", "EndMovingProps*(DNAEndsMove*,EndMovingProps*)", "_$EndMovingComponent*()", "ExtensionEndMovingProps*(DNAExtensionsMove*,ExtensionEndMovingProps*)", "_$ExtensionEndMovingComponent*()", "_$DesignMainDomainComponent*()", "_$DesignMainStrandDomainTextComponent*()", "ShowUnpairedInsertionDeletionsSetBuilder*(ShowUnpairedInsertionDeletionsSetBuilder*)", "SubstrandLabelSet*(Extension*)", "OxviewShowSetBuilder*(OxviewShowSetBuilder*)", "_$DesignMainExtensionComponent*()", "_$DesignMainStrandExtensionTextComponent*()", "_$DesignMainStrandInsertionComponent*()", "SetDisplayBaseOffsetsOfMajorTicksOnlyFirstHelixBuilder*(SetDisplayBaseOffsetsOfMajorTicksOnlyFirstHelixBuilder*)", "SubstrandLabelSet*(Loopout*)", "_$DesignMainLoopoutComponent*()", "_$DesignMainStrandLoopoutTextComponent*()", "DisplayMajorTicksOffsetsSetBuilder*(DisplayMajorTicksOffsetsSetBuilder*)", "_$DesignMainStrandModificationComponent*()", "_$DesignMainStrandModificationsComponent*()", "_$DesignMainStrandMovingComponent*()", "_$DesignMainStrandPathsComponent*()", "DesignMainStrandsProps*(AppState*)", "String*(Helix*)", "_$DesignMainStrandsComponent*()", "DesignMainStrandsMovingProps*(AppState*)", "_$DesignMainStrandsMovingComponent*()", "_$DesignMainUnpairedInsertionDeletionsComponent*()", "_$DesignMainWarningStarComponent*()", "DesignSideProps*(AppState*)", "_$DesignSideComponent*()", "DesignSideArrowsProps*(AppState*)", "_$DesignMainArrowsComponent*()", "_$DesignSideHelixComponent*()", "_$DesignSidePotentialHelixComponent*()", "_$DesignSideRotationComponent*()", "_$DesignSideRotationArrowComponent*()", "EditAndSelectModesProps*(AppState*)", "_$EditAndSelectModesComponent*()", "_$EditModeComponent*()", "HelixGroupMovingProps*(HelixGroupMove*,HelixGroupMovingProps*)", "_$HelixGroupMovingComponent*()", "MenuProps*(AppState*)", "bool*(HelixGroup*)", "SetDisplayMajorTickWidthsAllHelicesBuilder*(SetDisplayMajorTickWidthsAllHelicesBuilder*)", "SetDisplayMajorTickWidthsBuilder*(SetDisplayMajorTickWidthsBuilder*)", "Undo*(int*)", "Redo*(int*)", "SetOnlyDisplaySelectedHelicesBuilder*(SetOnlyDisplaySelectedHelicesBuilder*)", "~(SyntheticMouseEvent*)", "LoadDNAFileBuilder*(LoadDNAFileBuilder*)", "_$MenuComponent*()", "_$MenuBooleanComponent*()", "_$MenuDropdownItemComponent*()", "_$MenuDropdownRightComponent*()", "_$MenuFormFileComponent*()", "_$MenuNumberComponent*()", "SideMenuProps*(AppState*)", "PrepareToLoadDNAFileBuilder*(PrepareToLoadDNAFileBuilder*)", "bool*(DialogItem*)", "_$SideMenuComponent*()", "PotentialCrossoverViewProps*(PotentialCrossover*)", "_$PotentialCrossoverViewComponent*()", "PotentialExtensionsViewProps*(DNAExtensionsMove*)", "ReactElement*(DNAExtensionMove*)", "_$PotentialExtensionsViewComponent*()", "_$SelectModeComponent*()", "SelectionBoxViewProps*(SelectionBox*)", "_$SelectionBoxViewComponent*()", "SelectionRopeViewProps*(SelectionRope*)", "_$SelectionRopeViewComponent*()", "StrandOrSubstrandColorPickerProps*(AppState*)", "~(JSColor*,@)", "StrandOrSubstrandColorSet*(Strand*)", "StrandOrSubstrandColorSet*(Strand*,Substrand*)", "_$StrandOrSubstrandColorPickerComponent*()", "@(ProgressEvent*)", "String?()", "int(_Line)", "NewDesignSetBuilder*(NewDesignSetBuilder*)", "Uri?(_Line)", "Uri?(_Highlight)", "int(_Highlight,_Highlight)", "List<_Line>(List<_Highlight>)", "SourceSpanWithContext()", "String(String{color:@})", "ShowMouseoverDataSetBuilder*(ShowMouseoverDataSetBuilder*)", "HelixRollSetAtOtherBuilder*(HelixRollSetAtOtherBuilder*)", "ErrorMessageSetBuilder*(ErrorMessageSetBuilder*)", "~(ArchiveFile)", "bool(bool,@)", "bool(int)", "Null(Null)", "SelectionBoxCreateBuilder*(SelectionBoxCreateBuilder*)", "SelectionBoxSizeChangeBuilder*(SelectionBoxSizeChangeBuilder*)", "SelectionBoxRemoveBuilder*(SelectionBoxRemoveBuilder*)", "MouseGridPositionSideUpdateBuilder*(MouseGridPositionSideUpdateBuilder*)", "Parser<@>(@)", "XmlName(String)", "XmlText(String)", "MouseGridPositionSideClearBuilder*(MouseGridPositionSideClearBuilder*)", "SelectBuilder*(SelectBuilder*)", "SelectionsClearBuilder*(SelectionsClearBuilder*)", "SelectAllSelectableBuilder*(SelectAllSelectableBuilder*)", "0^(0^,0^)", "0^(0^,0^)", "_$$ErrorBoundaryProps*([Map<@,@>*])", "_$$RecoverableErrorBoundaryProps*([Map<@,@>*])", "UiComponent2BridgeImpl*(Component2*)", "String*(Object*)", "Component2BridgeImpl*(Component2*)", "int*(Object*)", "ReactComponent*(ReactElement*,Element*)", "Component2*(ReactComponent*,ComponentStatics2*)", "DeleteAllSelectedBuilder*(DeleteAllSelectedBuilder*)", "bool*(Component2*,JsMap*,JsMap*)", "JsMap*(ComponentStatics2*,JsMap*,JsMap*)", "@(Component2*,JsMap*,JsMap*)", "~(Component2*,ReactComponent*,JsMap*,JsMap*[@])", "~(Component2*,@,ReactErrorInfo*)", "JsMap*(ComponentStatics2*,@)", "@(Component2*,JsMap*,JsMap*,@)", "HelixAddBuilder*(HelixAddBuilder*)", "Element*(Element*)", "HelixRemoveBuilder*(HelixRemoveBuilder*)", "HelixSelectBuilder*(HelixSelectBuilder*)", "AppState*(AppState*,@)", "String*(String*,ErrorMessageSet*)", "bool*(bool*,PotentialCrossoverCreate*)", "bool*(bool*,PotentialCrossoverRemove*)", "bool*(bool*,DNAEndsMoveStart*)", "bool*(bool*,DNAEndsMoveStop*)", "bool*(bool*,DNAExtensionsMoveStart*)", "bool*(bool*,DNAExtensionsMoveStop*)", "bool*(bool*,SliceBarMoveStart*)", "bool*(bool*,SliceBarMoveStop*)", "bool*(bool*,HelixGroupMoveStart*)", "bool*(bool*,HelixGroupMoveStop*)", "bool*(bool*,ShowDNASet*)", "bool*(bool*,LoadingDialogShow*)", "bool*(bool*,LoadingDialogHide*)", "bool*(bool*,ShowStrandNamesSet*)", "bool*(bool*,ShowStrandLabelsSet*)", "bool*(bool*,ShowDomainNamesSet*)", "SelectModeState*(SelectModeState*,SelectModesAdd*)", "bool*(bool*,ShowModificationsSet*)", "bool*(bool*,SetModificationDisplayConnector*)", "num*(num*,ModificationFontSizeSet*)", "num*(num*,ZoomSpeedSet*)", "num*(num*,StrandNameFontSizeSet*)", "num*(num*,DomainNameFontSizeSet*)", "num*(num*,StrandLabelFontSizeSet*)", "num*(num*,DomainLabelFontSizeSet*)", "num*(num*,MajorTickOffsetFontSizeSet*)", "num*(num*,MajorTickWidthFontSizeSet*)", "bool*(bool*,ShowMismatchesSet*)", "bool*(bool*,ShowDomainNameMismatchesSet*)", "bool*(bool*,ShowUnpairedInsertionDeletionsSet*)", "bool*(bool*,InvertYSet*)", "bool*(bool*,DynamicHelixUpdateSet*)", "bool*(bool*,WarnOnExitIfUnsavedSet*)", "bool*(bool*,ShowHelixCirclesMainViewSet*)", "bool*(bool*,ShowHelixComponentsMainViewSet*)", "bool*(bool*,ShowEditMenuToggle*)", "bool*(bool*,ShowGridCoordinatesSideViewSet*)", "bool*(bool*,ShowAxisArrowsSet*)", "bool*(bool*,ShowLoopoutExtensionLengthSet*)", "bool*(bool*,ShowSliceBarSet*)", "int*(int*,SliceBarOffsetSet*)", "bool*(bool*,DisablePngCachingDnaSequencesSet*)", "bool*(bool*,RetainStrandColorOnSelectionSet*)", "bool*(bool*,DisplayReverseDNARightSideUpSet*)", "bool*(bool*,DisplayMajorTicksOffsetsSet*)", "bool*(bool*,SetDisplayBaseOffsetsOfMajorTicksOnlyFirstHelix*)", "bool*(bool*,SetDisplayMajorTickWidthsAllHelices*)", "BasePairDisplayType*(BasePairDisplayType*,BasePairTypeSet*)", "bool*(bool*,ShowBasePairLinesSet*)", "bool*(bool*,ShowBasePairLinesWithMismatchesSet*)", "bool*(bool*,ExportSvgTextSeparatelySet*)", "bool*(bool*,OxExportOnlySelectedStrandsSet*)", "bool*(bool*,SetDisplayMajorTickWidths*)", "bool*(bool*,StrandPasteKeepColorSet*)", "bool*(bool*,AutofitSet*)", "bool*(bool*,OxviewShowSet*)", "bool*(bool*,ShowMouseoverDataSet*)", "bool*(bool*,SetOnlyDisplaySelectedHelices*)", "HelixSelectionsClearBuilder*(HelixSelectionsClearBuilder*)", "DNAAssignOptions*(DNAAssignOptions*,AssignDNA*)", "LocalStorageDesignChoice*(LocalStorageDesignChoice*,LocalStorageDesignChoiceSet*)", "bool*(bool*,ClearHelixSelectionWhenLoadingNewDesignSet*)", "bool*(bool*,UndoableAction*)", "bool*(bool*,SaveDNAFile*)", "ExampleDesigns*(ExampleDesigns*,ExampleDesignsLoad*)", "String*(String*,AppState*,GroupRemove*)", "int*(int*,AppState*,ShowSliceBarSet*)", "int*(int*,AppState*,GroupDisplayedChange*)", "int*(int*,AppState*,GroupRemove*)", "int*(int*,AppState*,HelixOffsetChange*)", "int*(int*,AppState*,HelixOffsetChangeAll*)", "String*(String*,GroupDisplayedChange*)", "String*(String*,GroupChange*)", "Modification5Prime*(Modification5Prime*,ModificationAdd*)", "Modification3Prime*(Modification3Prime*,ModificationAdd*)", "ModificationInternal*(ModificationInternal*,ModificationAdd*)", "String*(String*,LoadDnaSequenceImageUri*)", "HelixSelectionsAdjustBuilder*(HelixSelectionsAdjustBuilder*)", "ExportSvg*(ExportSvg*,SetExportSvgActionDelayedForPngCache*)", "bool*(bool*,SetIsZoomAboveThreshold*)", "GridPosition*(GridPosition*,MouseGridPositionSideUpdate*)", "GridPosition*(GridPosition*,MouseGridPositionSideClear*)", "Point*(Point*,MousePositionSideUpdate*)", "Point*(Point*,MousePositionSideClear*)", "Strand*(Strand*,StrandOrSubstrandColorPickerShow*)", "Strand*(Strand*,StrandOrSubstrandColorPickerHide*)", "Substrand*(Substrand*,StrandOrSubstrandColorPickerShow*)", "Substrand*(Substrand*,StrandOrSubstrandColorPickerHide*)", "bool*(bool*,SelectionBoxIntersectionRuleSet*)", "BuiltList*(BuiltList*,AppState*,AssignDomainNameComplementFromBoundStrands*)", "BuiltList*(BuiltList*,AppState*,AssignDomainNameComplementFromBoundDomains*)", "Strand*(Strand*,ConvertCrossoverToLoopout*)", "BuiltList*(BuiltList*,AppState*,ConvertCrossoversToLoopouts*)", "BuiltList*(BuiltList*,AppState*,LoopoutsLengthChange*)", "BuiltList*(BuiltList*,AppState*,ExtensionsNumBasesChange*)", "Strand*(Strand*,LoopoutLengthChange*)", "Strand*(Strand*,ExtensionNumBasesChange*)", "Strand*(Strand*,ExtensionDisplayLengthAngleSet*)", "BuiltList*(BuiltList*,AppState*,DeleteAllSelected*)", "Design*(Design*,ErrorMessageSet*)", "Design*(Design*,AppState*,GeometrySet*)", "Design*(Design*,NewDesignSet*)", "DNAEndsMove*(DNAEndsMove*,DNAEndsMoveSetSelectedEnds*)", "DNAEndsMove*(DNAEndsMove*,DNAEndsMoveAdjustOffset*)", "DNAEndsMove*(DNAEndsMove*,DNAEndsMoveStop*)", "DNAExtensionsMove*(DNAExtensionsMove*,DNAExtensionsMoveSetSelectedExtensionEnds*)", "DNAExtensionsMove*(DNAExtensionsMove*,DNAExtensionsMoveAdjustPosition*)", "DNAExtensionsMove*(DNAExtensionsMove*,DNAExtensionsMoveStop*)", "DomainsMove*(DomainsMove*,AppState*,DomainsMoveStartSelectedDomains*)", "DomainsMove*(DomainsMove*,DomainsMoveStop*)", "DomainsMove*(DomainsMove*,AppState*,DomainsMoveAdjustAddress*)", "BuiltSet*(BuiltSet*,EditModeToggle*)", "BuiltSet*(BuiltSet*,EditModesSet*)", "BuiltMap*(BuiltMap*,GridChange*)", "BuiltMap*(BuiltMap*,GroupAdd*)", "BuiltMap*(BuiltMap*,GroupRemove*)", "BuiltMap*(BuiltMap*,GroupChange*)", "BuiltMap*(BuiltMap*,AppState*,MoveHelicesToGroup*)", "BuiltMap*(BuiltMap*,AppState*,HelixIndividualAction*)", "Design*(Design*,AppState*,HelixIdxsChange*)", "Helix*(Helix*,AppState*,HelixOffsetChange*)", "BuiltMap*(BuiltMap*,AppState*,StrandsMoveAdjustAddress*)", "BuiltMap*(BuiltMap*,AppState*,StrandCreateAdjustOffset*)", "BuiltMap*(BuiltMap*,AppState*,ReplaceStrands*)", "BuiltMap*(BuiltMap*,AppState*,SelectionsClear*)", "BuiltMap*(BuiltMap*,AppState*,HelixOffsetChangeAll*)", "Helix*(Helix*,AppState*,HelixMinOffsetSetByDomains*)", "Helix*(Helix*,AppState*,HelixMaxOffsetSetByDomains*)", "BuiltMap*(BuiltMap*,AppState*,HelixMinOffsetSetByDomainsAll*)", "BuiltMap*(BuiltMap*,AppState*,HelixMaxOffsetSetByDomainsAll*)", "BuiltMap*(BuiltMap*,AppState*,HelixMaxOffsetSetByDomainsAllSameMax*)", "BuiltMap*(BuiltMap*,HelixMajorTickDistanceChangeAll*)", "BuiltMap*(BuiltMap*,HelixMajorTicksChangeAll*)", "BuiltMap*(BuiltMap*,HelixMajorTickStartChangeAll*)", "BuiltMap*(BuiltMap*,HelixMajorTickPeriodicDistancesChangeAll*)", "Helix*(Helix*,AppState*,HelixMajorTickDistanceChange*)", "Helix*(Helix*,AppState*,HelixMajorTickPeriodicDistancesChange*)", "Helix*(Helix*,AppState*,HelixMajorTickStartChange*)", "Helix*(Helix*,AppState*,HelixMajorTicksChange*)", "Helix*(Helix*,AppState*,HelixRollSet*)", "BuiltMap*(BuiltMap*,AppState*,HelixRollSetAtOther*)", "Design*(Design*,AppState*,HelixAdd*)", "Design*(Design*,AppState*,HelixRemove*)", "Design*(Design*,AppState*,HelixRemoveAllSelected*)", "BuiltMap*(BuiltMap*,AppState*,GridChange*)", "BuiltMap*(BuiltMap*,AppState*,RelaxHelixRolls*)", "BuiltMap*(BuiltMap*,AppState*,GroupChange*)", "BuiltMap*(BuiltMap*,AppState*,HelixGridPositionSet*)", "BuiltMap*(BuiltMap*,AppState*,HelixPositionSet*)", "BuiltMap*(BuiltMap*,MoveHelicesToGroup*)", "HelixGroupMove*(HelixGroupMove*,HelixGroupMoveCreate*)", "HelixGroupMove*(HelixGroupMove*,HelixGroupMoveAdjustTranslation*)", "HelixGroupMove*(HelixGroupMove*,HelixGroupMoveStop*)", "Design*(Design*,AppState*,HelixGroupMoveCommit*)", "Design*(Design*,InlineInsertionsDeletions*)", "Strand*(Strand*,InsertionOrDeletionAction*)", "Domain*(Domain*,InsertionAdd*)", "Domain*(Domain*,InsertionRemove*)", "Domain*(Domain*,DeletionAdd*)", "Domain*(Domain*,DeletionRemove*)", "Domain*(Domain*,InsertionLengthChange*)", "BuiltList*(BuiltList*,AppState*,InsertionsLengthChange*)", "BuiltList*(@,MouseoverDataClear*)", "BuiltList*(@,AppState*,MouseoverDataUpdate*)", "BuiltList*(BuiltList*,AppState*,HelixRollSetAtOther*)", "BuiltList*(BuiltList*,AppState*,MoveLinker*)", "BuiltList*(BuiltList*,AppState*,Nick*)", "BuiltList*(BuiltList*,AppState*,Ligate*)", "BuiltList*(BuiltList*,AppState*,JoinStrandsByMultipleCrossovers*)", "BuiltList*(BuiltList*,AppState*,JoinStrandsByCrossover*)", "PotentialCrossover*(PotentialCrossover*,PotentialCrossoverCreate*)", "PotentialCrossover*(PotentialCrossover*,PotentialCrossoverMove*)", "PotentialCrossover*(PotentialCrossover*,PotentialCrossoverRemove*)", "SelectablesStore*(SelectablesStore*,AppState*,Select*)", "SelectablesStore*(SelectablesStore*,AppState*,SelectAllSelectable*)", "SelectablesStore*(SelectablesStore*,AppState*,SelectOrToggleItems*)", "SelectablesStore*(SelectablesStore*,DesignChangingAction*)", "SelectablesStore*(SelectablesStore*,SelectAll*)", "SelectablesStore*(SelectablesStore*,@)", "SelectablesStore*(SelectablesStore*,AppState*,SelectAllWithSameAsSelected*)", "BuiltSet*(BuiltSet*,AppState*,HelixSelectionsAdjust*)", "BuiltSet*(BuiltSet*,HelixSelect*)", "BuiltSet*(BuiltSet*,HelixSelectionsClear*)", "BuiltSet*(BuiltSet*,HelixRemoveAllSelected*)", "BuiltSet*(BuiltSet*,HelixRemove*)", "SelectionBox*(SelectionBox*,SelectionBoxCreate*)", "SelectionBox*(SelectionBox*,SelectionBoxSizeChange*)", "SelectionBox*(SelectionBox*,SelectionBoxRemove*)", "SelectionRope*(SelectionRope*,SelectionRopeCreate*)", "SelectionRope*(SelectionRope*,SelectionRopeMouseMove*)", "SelectionRope*(SelectionRope*,SelectionRopeAddPoint*)", "SelectionRope*(SelectionRope*,SelectionRopeRemove*)", "StrandCreation*(StrandCreation*,AppState*,StrandCreateStart*)", "StrandCreation*(StrandCreation*,AppState*,StrandCreateAdjustOffset*)", "StrandCreation*(StrandCreation*,AppState*,StrandCreateStop*)", "CopyInfo*(CopyInfo*,AppState*,CopySelectedStrands*)", "CopyInfo*(CopyInfo*,AppState*,ManualPasteInitiate*)", "CopyInfo*(CopyInfo*,AppState*,AutoPasteInitiate*)", "CopyInfo*(CopyInfo*,AppState*,StrandsMoveCommit*)", "StrandsMove*(StrandsMove*,AppState*,StrandsMoveStart*)", "StrandsMove*(StrandsMove*,AppState*,StrandsMoveStartSelectedStrands*)", "StrandsMove*(StrandsMove*,StrandsMoveStop*)", "StrandsMove*(StrandsMove*,AppState*,StrandsMoveAdjustAddress*)", "int*(Point*,Point*)", "BuiltList*(BuiltList*,ReplaceStrands*)", "BuiltList*(BuiltList*,AppState*,StrandPartAction*)", "Strand*(Strand*,SubstrandNameSet*)", "Strand*(Strand*,SubstrandLabelSet*)", "BuiltList*(BuiltList*,AppState*,StrandsMoveCommit*)", "BuiltList*(BuiltList*,AppState*,DomainsMoveCommit*)", "BuiltList*(BuiltList*,AppState*,DNAEndsMoveCommit*)", "BuiltList*(BuiltList*,AppState*,DNAExtensionsMoveCommit*)", "BuiltList*(BuiltList*,AppState*,StrandCreateCommit*)", "BuiltList*(BuiltList*,SingleStrandAction*)", "Strand*(Strand*,VendorFieldsRemove*)", "Strand*(Strand*,PlateWellVendorFieldsRemove*)", "Strand*(Strand*,PlateWellVendorFieldsAssign*)", "Strand*(Strand*,ScalePurificationVendorFieldsAssign*)", "Strand*(Strand*,StrandNameSet*)", "Strand*(Strand*,StrandLabelSet*)", "Strand*(Strand*,ExtensionAdd*)", "Strand*(Strand*,ModificationAdd*)", "Strand*(Strand*,ModificationRemove*)", "Strand*(Strand*,ModificationEdit*)", "Strand*(Strand*,ScaffoldSet*)", "Strand*(Strand*,StrandOrSubstrandColorSet*)", "BuiltList*(BuiltList*,AppState*,Modifications5PrimeEdit*)", "BuiltList*(BuiltList*,AppState*,Modifications3PrimeEdit*)", "BuiltList*(BuiltList*,AppState*,ModificationsInternalEdit*)", "AppState*(AppState*,Undo*)", "AppState*(AppState*,Redo*)", "AppState*(AppState*,UndoRedoClear*)", "AppState*(AppState*,UndoableAction*)", "Grid*(String*)", "HelixIdxsChangeBuilder*(HelixIdxsChangeBuilder*)", "~(bool*)", "_$$End3PrimeProps*([Map<@,@>*])", "_$$End5PrimeProps*([Map<@,@>*])", "_$$DesignContextMenuProps*([Map<@,@>*])", "_$$DesignContextSubmenuProps*([Map<@,@>*])", "_$$DesignDialogFormProps*([Map<@,@>*])", "_$$DesignFooterProps*([Map<@,@>*])", "_$$DesignLoadingDialogProps*([Map<@,@>*])", "_$$DesignMainProps*([Map<@,@>*])", "_$$DesignMainArrowsProps*([Map<@,@>*])", "_$$DesignMainBasePairLinesProps*([Map<@,@>*])", "_$$DesignMainBasePairRectangleProps*([Map<@,@>*])", "_$$DesignMainDNAMismatchesProps*([Map<@,@>*])", "_$$DesignMainDNASequenceProps*([Map<@,@>*])", "_$$DesignMainDNASequencesProps*([Map<@,@>*])", "_$$DesignMainDomainMovingProps*([Map<@,@>*])", "_$$DesignMainDomainNameMismatchesProps*([Map<@,@>*])", "_$$DesignMainDomainsMovingProps*([Map<@,@>*])", "_$$DesignMainErrorBoundaryProps*([Map<@,@>*])", "_$$DesignMainHelicesProps*([Map<@,@>*])", "_$$DesignMainHelixProps*([Map<@,@>*])", "_$$DesignMainLoopoutExtensionLengthProps*([Map<@,@>*])", "_$$DesignMainLoopoutExtensionLengthsProps*([Map<@,@>*])", "_$$DesignMainPotentialVerticalCrossoverProps*([Map<@,@>*])", "_$$DesignMainPotentialVerticalCrossoversProps*([Map<@,@>*])", "_$$DesignMainSliceBarProps*([Map<@,@>*])", "_$$DesignMainStrandProps*([Map<@,@>*])", "_$$DesignMainStrandAndDomainTextsProps*([Map<@,@>*])", "_$$DesignMainStrandCreatingProps*([Map<@,@>*])", "_$$DesignMainStrandCrossoverProps*([Map<@,@>*])", "_$$DesignMainStrandDeletionProps*([Map<@,@>*])", "_$$DesignMainDNAEndProps*([Map<@,@>*])", "_$$EndMovingProps*([Map<@,@>*])", "_$$ExtensionEndMovingProps*([Map<@,@>*])", "_$$DesignMainDomainProps*([Map<@,@>*])", "_$$DesignMainStrandDomainTextProps*([Map<@,@>*])", "_$$DesignMainExtensionProps*([Map<@,@>*])", "_$$DesignMainStrandExtensionTextProps*([Map<@,@>*])", "_$$DesignMainStrandInsertionProps*([Map<@,@>*])", "_$$DesignMainLoopoutProps*([Map<@,@>*])", "_$$DesignMainStrandLoopoutTextProps*([Map<@,@>*])", "_$$DesignMainStrandModificationProps*([Map<@,@>*])", "_$$DesignMainStrandModificationsProps*([Map<@,@>*])", "_$$DesignMainStrandMovingProps*([Map<@,@>*])", "_$$DesignMainStrandPathsProps*([Map<@,@>*])", "_$$DesignMainStrandsProps*([Map<@,@>*])", "_$$DesignMainStrandsMovingProps*([Map<@,@>*])", "_$$DesignMainUnpairedInsertionDeletionsProps*([Map<@,@>*])", "_$$DesignMainWarningStarProps*([Map<@,@>*])", "_$$DesignSideProps*([Map<@,@>*])", "_$$DesignSideArrowsProps*([Map<@,@>*])", "_$$DesignSideHelixProps*([Map<@,@>*])", "_$$DesignSidePotentialHelixProps*([Map<@,@>*])", "_$$DesignSideRotationProps*([Map<@,@>*])", "_$$DesignSideRotationArrowProps*([Map<@,@>*])", "_$$EditAndSelectModesProps*([Map<@,@>*])", "_$$EditModeProps*([Map<@,@>*])", "_$$HelixGroupMovingProps*([Map<@,@>*])", "ExportDNABuilder*(ExportDNABuilder*)", "_$$MenuProps*([Map<@,@>*])", "_$$MenuBooleanProps*([Map<@,@>*])", "_$$MenuDropdownItemProps*([Map<@,@>*])", "_$$MenuDropdownRightProps*([Map<@,@>*])", "_$$MenuFormFileProps*([Map<@,@>*])", "_$$MenuNumberProps*([Map<@,@>*])", "_$$SideMenuProps*([Map<@,@>*])", "_$$PotentialCrossoverViewProps*([Map<@,@>*])", "_$$PotentialExtensionsViewProps*([Map<@,@>*])", "_$$SelectModeProps*([Map<@,@>*])", "_$$SelectionBoxViewProps*([Map<@,@>*])", "_$$SelectionRopeViewProps*([Map<@,@>*])", "_$$StrandOrSubstrandColorPickerProps*([Map<@,@>*])", "ExportCanDoDNABuilder*(ExportCanDoDNABuilder*)", "bool*(Map<@,@>*,Map<@,@>*)", "Failure<0^>(Failure<0^>,Failure<0^>)", "ReactDartComponentFactoryProxy2*(Component2*()*{bridgeFactory:Component2Bridge*(Component2*)*,skipMethods:Iterable*})", "@(Store<@>*,@,@(@)*)", "BuiltList*(BuiltList*,RemoveDNA*)", "BuiltList*(BuiltList*,AppState*,AssignDNAComplementFromBoundStrands*)", "BuiltList*(BuiltList*,AppState*,AssignDNA*)", "int*(Tuple2*,Domain*>*,Tuple2*,Domain*>*)", "ContextMenu*(ContextMenu*,ContextMenuShow*)", "ContextMenu*(ContextMenu*,ContextMenuHide*)", "Dialog*(Dialog*,DialogShow*)", "Dialog*(Dialog*,DialogHide*)", "SelectModeState*(SelectModeState*,SelectModeToggle*)", "SelectModeState*(SelectModeState*,SelectModesSet*)", "bool*(bool*,ShowDomainLabelsSet*)"], + interceptorsByTag: null, + leafTags: null, + arrayRti: typeof Symbol == "function" && typeof Symbol() == "symbol" ? Symbol("$ti") : "$ti" + }; + H._Universe_addRules(init.typeUniverse, JSON.parse('{"PlainJavaScriptObject":"JavaScriptObject","UnknownJavaScriptObject":"JavaScriptObject","JavaScriptFunction":"JavaScriptObject","_ReduxDevToolsExtensionConnection":"JavaScriptObject","JsReactRedux":"JavaScriptObject","JsReactReduxStore":"JavaScriptObject","JsConnectOptions":"JavaScriptObject","NodeCrypto":"JavaScriptObject","JsMap":"JavaScriptObject","_Object":"JavaScriptObject","_Reflect":"JavaScriptObject","ReactElement":"JavaScriptObject","ReactComponent":"JavaScriptObject","ReactErrorInfo":"JavaScriptObject","React":"JavaScriptObject","JsRef":"JavaScriptObject","ReactDomServer":"JavaScriptObject","PropTypes":"JavaScriptObject","ReactClass":"JavaScriptObject","ReactClassConfig":"JavaScriptObject","ReactElementStore":"JavaScriptObject","ReactPortal":"JavaScriptObject","InteropContextValue":"JavaScriptObject","ReactContext":"JavaScriptObject","InteropProps":"JavaScriptObject","JsError":"JavaScriptObject","ReactDartInteropStatics":"JavaScriptObject","JsComponentConfig":"JavaScriptObject","JsComponentConfig2":"JavaScriptObject","_PropertyDescriptor":"JavaScriptObject","JsPropertyDescriptor":"JavaScriptObject","Promise":"JavaScriptObject","ReactDOM":"JavaScriptObject","SyntheticEvent":"JavaScriptObject","SyntheticFormEvent":"JavaScriptObject","SyntheticMouseEvent":"JavaScriptObject","SyntheticPointerEvent":"JavaScriptObject","SyntheticClipboardEvent":"JavaScriptObject","SyntheticKeyboardEvent":"JavaScriptObject","SyntheticCompositionEvent":"JavaScriptObject","SyntheticFocusEvent":"JavaScriptObject","NonNativeDataTransfer":"JavaScriptObject","SyntheticTouchEvent":"JavaScriptObject","SyntheticTransitionEvent":"JavaScriptObject","SyntheticAnimationEvent":"JavaScriptObject","SyntheticUIEvent":"JavaScriptObject","SyntheticWheelEvent":"JavaScriptObject","Pan":"JavaScriptObject","ReactBootstrap":"JavaScriptObject","ReactColor":"JavaScriptObject","JSColor":"JavaScriptObject","AbortPaymentEvent":"Event","ExtendableEvent":"Event","AnalyserNode":"AudioNode","AudioBufferSourceNode":"AudioScheduledSourceNode","AudioContext":"BaseAudioContext","AnimateElement":"SvgElement","AnimationElement":"SvgElement","ClipPathElement":"GraphicsElement","TSpanElement":"TextPositioningElement","EllipseElement":"GeometryElement","AbsoluteOrientationSensor":"EventTarget","OrientationSensor":"EventTarget","Sensor":"EventTarget","OpenDBRequest":"Request0","_ResourceProgressEvent":"ProgressEvent","BRElement":"HtmlElement","ShadowRoot":"Node","DocumentFragment":"Node","XmlDocument0":"Document","WheelEvent":"MouseEvent","VttCue":"TextTrackCue","CompositionEvent":"UIEvent","DedicatedWorkerGlobalScope":"WorkerGlobalScope","HttpRequestUpload":"HttpRequestEventTarget","HtmlFormControlsCollection":"HtmlCollection","CssCharsetRule":"CssRule","CDataSection":"CharacterData","Text":"CharacterData","AudioElement":"MediaElement","JavaScriptObject":{"JSObject":[],"JsConnectOptions":[],"JsMap":[],"JsRef":[],"ReactClass":[],"ReactElement":[],"ReactComponent":[],"ReactContext":[],"ReactErrorInfo":[],"SyntheticFormEvent":[],"SyntheticMouseEvent":[],"SyntheticPointerEvent":[],"JSColor":[]},"JSBool":{"bool":[]},"JSNull":{"Null":[]},"JSArray":{"List":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"],"JSIndexable":["1"]},"JSUnmodifiableArray":{"JSArray":["1"],"List":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"],"JSIndexable":["1"]},"ArrayIterator":{"Iterator":["1"]},"JSNumber":{"double":[],"num":[],"Comparable":["num"]},"JSInt":{"double":[],"int":[],"num":[],"Comparable":["num"]},"JSNumNotInt":{"double":[],"num":[],"Comparable":["num"]},"JSString":{"String":[],"Comparable":["String"],"Pattern":[],"JSIndexable":["@"]},"EfficientLengthIterable":{"Iterable":["1"]},"CastStream":{"Stream":["2"],"Stream.T":"2"},"CastStreamSubscription":{"StreamSubscription":["2"]},"_CastIterableBase":{"Iterable":["2"]},"CastIterator":{"Iterator":["2"]},"CastIterable":{"_CastIterableBase":["1","2"],"Iterable":["2"],"Iterable.E":"2"},"_EfficientLengthCastIterable":{"CastIterable":["1","2"],"_CastIterableBase":["1","2"],"EfficientLengthIterable":["2"],"Iterable":["2"],"Iterable.E":"2"},"_CastListBase":{"ListMixin":["2"],"List":["2"],"_CastIterableBase":["1","2"],"EfficientLengthIterable":["2"],"Iterable":["2"]},"CastList":{"_CastListBase":["1","2"],"ListMixin":["2"],"List":["2"],"_CastIterableBase":["1","2"],"EfficientLengthIterable":["2"],"Iterable":["2"],"ListMixin.E":"2","Iterable.E":"2"},"CastSet":{"Set":["2"],"_CastIterableBase":["1","2"],"EfficientLengthIterable":["2"],"Iterable":["2"],"Iterable.E":"2"},"CastMap":{"MapMixin":["3","4"],"Map":["3","4"],"MapMixin.K":"3","MapMixin.V":"4"},"CastQueue":{"Queue":["2"],"_CastIterableBase":["1","2"],"EfficientLengthIterable":["2"],"Iterable":["2"],"Iterable.E":"2"},"LateError":{"Error":[]},"ReachabilityError":{"Error":[]},"CodeUnits":{"ListMixin":["int"],"UnmodifiableListMixin":["int"],"List":["int"],"EfficientLengthIterable":["int"],"Iterable":["int"],"ListMixin.E":"int","UnmodifiableListMixin.E":"int"},"NotNullableError":{"Error":[]},"ListIterable":{"EfficientLengthIterable":["1"],"Iterable":["1"]},"SubListIterable":{"ListIterable":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"],"Iterable.E":"1","ListIterable.E":"1"},"ListIterator":{"Iterator":["1"]},"MappedIterable":{"Iterable":["2"],"Iterable.E":"2"},"EfficientLengthMappedIterable":{"MappedIterable":["1","2"],"EfficientLengthIterable":["2"],"Iterable":["2"],"Iterable.E":"2"},"MappedIterator":{"Iterator":["2"]},"MappedListIterable":{"ListIterable":["2"],"EfficientLengthIterable":["2"],"Iterable":["2"],"Iterable.E":"2","ListIterable.E":"2"},"WhereIterable":{"Iterable":["1"],"Iterable.E":"1"},"WhereIterator":{"Iterator":["1"]},"ExpandIterable":{"Iterable":["2"],"Iterable.E":"2"},"ExpandIterator":{"Iterator":["2"]},"TakeIterable":{"Iterable":["1"],"Iterable.E":"1"},"EfficientLengthTakeIterable":{"TakeIterable":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"],"Iterable.E":"1"},"TakeIterator":{"Iterator":["1"]},"TakeWhileIterable":{"Iterable":["1"],"Iterable.E":"1"},"TakeWhileIterator":{"Iterator":["1"]},"SkipIterable":{"Iterable":["1"],"Iterable.E":"1"},"EfficientLengthSkipIterable":{"SkipIterable":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"],"Iterable.E":"1"},"SkipIterator":{"Iterator":["1"]},"SkipWhileIterable":{"Iterable":["1"],"Iterable.E":"1"},"SkipWhileIterator":{"Iterator":["1"]},"EmptyIterable":{"EfficientLengthIterable":["1"],"Iterable":["1"],"Iterable.E":"1"},"EmptyIterator":{"Iterator":["1"]},"WhereTypeIterable":{"Iterable":["1"],"Iterable.E":"1"},"WhereTypeIterator":{"Iterator":["1"]},"UnmodifiableListBase":{"ListMixin":["1"],"UnmodifiableListMixin":["1"],"List":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"]},"ReversedListIterable":{"ListIterable":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"],"Iterable.E":"1","ListIterable.E":"1"},"Symbol":{"Symbol0":[]},"ConstantMapView":{"UnmodifiableMapView":["1","2"],"_UnmodifiableMapView_MapView__UnmodifiableMapMixin":["1","2"],"MapView":["1","2"],"_UnmodifiableMapMixin":["1","2"],"Map":["1","2"]},"ConstantMap":{"Map":["1","2"]},"ConstantStringMap":{"ConstantMap":["1","2"],"Map":["1","2"]},"_ConstantMapKeyIterable":{"Iterable":["1"],"Iterable.E":"1"},"GeneralConstantMap":{"ConstantMap":["1","2"],"Map":["1","2"]},"Instantiation":{"Closure":[],"Function":[]},"Instantiation1":{"Closure":[],"Function":[]},"JSInvocationMirror":{"Invocation":[]},"NullError":{"NoSuchMethodError":[],"Error":[]},"JsNoSuchMethodError":{"NoSuchMethodError":[],"Error":[]},"UnknownJsTypeError":{"Error":[]},"NullThrownFromJavaScriptException":{"Exception":[]},"_StackTrace":{"StackTrace":[]},"Closure":{"Function":[]},"TearOffClosure":{"Closure":[],"Function":[]},"StaticClosure":{"Closure":[],"Function":[]},"BoundClosure":{"Closure":[],"Function":[]},"RuntimeError":{"Error":[]},"_AssertionError":{"Error":[]},"JsLinkedHashMap":{"MapMixin":["1","2"],"LinkedHashMap":["1","2"],"Map":["1","2"],"MapMixin.K":"1","MapMixin.V":"2"},"LinkedHashMapKeyIterable":{"EfficientLengthIterable":["1"],"Iterable":["1"],"Iterable.E":"1"},"LinkedHashMapKeyIterator":{"Iterator":["1"]},"JSSyntaxRegExp":{"RegExp":[],"Pattern":[]},"_MatchImplementation":{"RegExpMatch":[],"Match":[]},"_AllMatchesIterable":{"Iterable":["RegExpMatch"],"Iterable.E":"RegExpMatch"},"_AllMatchesIterator":{"Iterator":["RegExpMatch"]},"StringMatch":{"Match":[]},"_StringAllMatchesIterable":{"Iterable":["Match"],"Iterable.E":"Match"},"_StringAllMatchesIterator":{"Iterator":["Match"]},"NativeByteBuffer":{"ByteBuffer":[]},"NativeTypedData":{"TypedData":[]},"NativeByteData":{"NativeTypedData":[],"ByteData":[],"TypedData":[]},"NativeTypedArray":{"JavaScriptIndexingBehavior":["1"],"NativeTypedData":[],"TypedData":[],"JSIndexable":["1"]},"NativeTypedArrayOfDouble":{"NativeTypedArray":["double"],"ListMixin":["double"],"JavaScriptIndexingBehavior":["double"],"List":["double"],"NativeTypedData":[],"EfficientLengthIterable":["double"],"TypedData":[],"JSIndexable":["double"],"Iterable":["double"],"FixedLengthListMixin":["double"]},"NativeTypedArrayOfInt":{"NativeTypedArray":["int"],"ListMixin":["int"],"JavaScriptIndexingBehavior":["int"],"List":["int"],"NativeTypedData":[],"EfficientLengthIterable":["int"],"TypedData":[],"JSIndexable":["int"],"Iterable":["int"],"FixedLengthListMixin":["int"]},"NativeFloat32List":{"NativeTypedArrayOfDouble":[],"NativeTypedArray":["double"],"ListMixin":["double"],"JavaScriptIndexingBehavior":["double"],"List":["double"],"NativeTypedData":[],"EfficientLengthIterable":["double"],"TypedData":[],"JSIndexable":["double"],"Iterable":["double"],"FixedLengthListMixin":["double"],"ListMixin.E":"double","FixedLengthListMixin.E":"double"},"NativeFloat64List":{"NativeTypedArrayOfDouble":[],"NativeTypedArray":["double"],"ListMixin":["double"],"JavaScriptIndexingBehavior":["double"],"List":["double"],"NativeTypedData":[],"EfficientLengthIterable":["double"],"TypedData":[],"JSIndexable":["double"],"Iterable":["double"],"FixedLengthListMixin":["double"],"ListMixin.E":"double","FixedLengthListMixin.E":"double"},"NativeInt16List":{"NativeTypedArrayOfInt":[],"NativeTypedArray":["int"],"ListMixin":["int"],"JavaScriptIndexingBehavior":["int"],"List":["int"],"NativeTypedData":[],"EfficientLengthIterable":["int"],"TypedData":[],"JSIndexable":["int"],"Iterable":["int"],"FixedLengthListMixin":["int"],"ListMixin.E":"int","FixedLengthListMixin.E":"int"},"NativeInt32List":{"NativeTypedArrayOfInt":[],"NativeTypedArray":["int"],"ListMixin":["int"],"Int32List":[],"JavaScriptIndexingBehavior":["int"],"List":["int"],"NativeTypedData":[],"EfficientLengthIterable":["int"],"TypedData":[],"JSIndexable":["int"],"Iterable":["int"],"FixedLengthListMixin":["int"],"ListMixin.E":"int","FixedLengthListMixin.E":"int"},"NativeInt8List":{"NativeTypedArrayOfInt":[],"NativeTypedArray":["int"],"ListMixin":["int"],"JavaScriptIndexingBehavior":["int"],"List":["int"],"NativeTypedData":[],"EfficientLengthIterable":["int"],"TypedData":[],"JSIndexable":["int"],"Iterable":["int"],"FixedLengthListMixin":["int"],"ListMixin.E":"int","FixedLengthListMixin.E":"int"},"NativeUint16List":{"NativeTypedArrayOfInt":[],"NativeTypedArray":["int"],"ListMixin":["int"],"Uint16List":[],"JavaScriptIndexingBehavior":["int"],"List":["int"],"NativeTypedData":[],"EfficientLengthIterable":["int"],"TypedData":[],"JSIndexable":["int"],"Iterable":["int"],"FixedLengthListMixin":["int"],"ListMixin.E":"int","FixedLengthListMixin.E":"int"},"NativeUint32List":{"NativeTypedArrayOfInt":[],"NativeTypedArray":["int"],"ListMixin":["int"],"Uint32List":[],"JavaScriptIndexingBehavior":["int"],"List":["int"],"NativeTypedData":[],"EfficientLengthIterable":["int"],"TypedData":[],"JSIndexable":["int"],"Iterable":["int"],"FixedLengthListMixin":["int"],"ListMixin.E":"int","FixedLengthListMixin.E":"int"},"NativeUint8ClampedList":{"NativeTypedArrayOfInt":[],"NativeTypedArray":["int"],"ListMixin":["int"],"JavaScriptIndexingBehavior":["int"],"List":["int"],"NativeTypedData":[],"EfficientLengthIterable":["int"],"TypedData":[],"JSIndexable":["int"],"Iterable":["int"],"FixedLengthListMixin":["int"],"ListMixin.E":"int","FixedLengthListMixin.E":"int"},"NativeUint8List":{"NativeTypedArrayOfInt":[],"NativeTypedArray":["int"],"ListMixin":["int"],"Uint8List":[],"JavaScriptIndexingBehavior":["int"],"List":["int"],"NativeTypedData":[],"EfficientLengthIterable":["int"],"TypedData":[],"JSIndexable":["int"],"Iterable":["int"],"FixedLengthListMixin":["int"],"ListMixin.E":"int","FixedLengthListMixin.E":"int"},"_Type":{"Type":[]},"_Error":{"Error":[]},"_TypeError":{"Error":[]},"_Future":{"Future":["1"]},"_BufferingStreamSubscription":{"StreamSubscription":["1"],"_EventSink":["1"],"_EventDispatch":["1"],"_BufferingStreamSubscription.T":"1"},"_IterablePendingEvents":{"_PendingEvents":["1"]},"_TimerImpl":{"Timer":[]},"_AsyncAwaitCompleter":{"Completer":["1"]},"_SyncStarIterator":{"Iterator":["1"]},"_SyncStarIterable":{"Iterable":["1"],"Iterable.E":"1"},"AsyncError":{"Error":[]},"_BroadcastStream":{"_ControllerStream":["1"],"_StreamImpl":["1"],"Stream":["1"],"Stream.T":"1"},"_BroadcastSubscription":{"_ControllerSubscription":["1"],"_BufferingStreamSubscription":["1"],"StreamSubscription":["1"],"_EventSink":["1"],"_EventDispatch":["1"],"_BufferingStreamSubscription.T":"1"},"_BroadcastStreamController":{"StreamController":["1"],"_StreamControllerLifecycle":["1"],"_EventSink":["1"],"_EventDispatch":["1"]},"_SyncBroadcastStreamController":{"_BroadcastStreamController":["1"],"StreamController":["1"],"_StreamControllerLifecycle":["1"],"_EventSink":["1"],"_EventDispatch":["1"]},"_AsyncBroadcastStreamController":{"_BroadcastStreamController":["1"],"StreamController":["1"],"_StreamControllerLifecycle":["1"],"_EventSink":["1"],"_EventDispatch":["1"]},"_Completer":{"Completer":["1"]},"_AsyncCompleter":{"_Completer":["1"],"Completer":["1"]},"_SyncCompleter":{"_Completer":["1"],"Completer":["1"]},"StreamView":{"Stream":["1"]},"_StreamController":{"StreamController":["1"],"_StreamControllerLifecycle":["1"],"_EventSink":["1"],"_EventDispatch":["1"]},"_SyncStreamController":{"_SyncStreamControllerDispatch":["1"],"_StreamController":["1"],"StreamController":["1"],"_StreamControllerLifecycle":["1"],"_EventSink":["1"],"_EventDispatch":["1"]},"_ControllerStream":{"_StreamImpl":["1"],"Stream":["1"],"Stream.T":"1"},"_ControllerSubscription":{"_BufferingStreamSubscription":["1"],"StreamSubscription":["1"],"_EventSink":["1"],"_EventDispatch":["1"],"_BufferingStreamSubscription.T":"1"},"_StreamImpl":{"Stream":["1"]},"_GeneratedStreamImpl":{"_StreamImpl":["1"],"Stream":["1"],"Stream.T":"1"},"_DelayedData":{"_DelayedEvent":["1"]},"_DelayedError":{"_DelayedEvent":["@"]},"_DelayedDone":{"_DelayedEvent":["@"]},"_StreamImplEvents":{"_PendingEvents":["1"]},"_DoneStreamSubscription":{"StreamSubscription":["1"]},"_ForwardingStream":{"Stream":["2"]},"_ForwardingStreamSubscription":{"_BufferingStreamSubscription":["2"],"StreamSubscription":["2"],"_EventSink":["2"],"_EventDispatch":["2"],"_BufferingStreamSubscription.T":"2","_ForwardingStreamSubscription.S":"1","_ForwardingStreamSubscription.T":"2"},"_MapStream":{"_ForwardingStream":["1","2"],"Stream":["2"],"Stream.T":"2","_ForwardingStream.T":"2","_ForwardingStream.S":"1"},"_Zone":{"Zone":[]},"_RootZone":{"_Zone":[],"Zone":[]},"MapBase":{"MapMixin":["1","2"],"Map":["1","2"]},"MapMixin":{"Map":["1","2"]},"_HashMap":{"MapMixin":["1","2"],"Map":["1","2"],"MapMixin.K":"1","MapMixin.V":"2"},"_IdentityHashMap":{"_HashMap":["1","2"],"MapMixin":["1","2"],"Map":["1","2"],"MapMixin.K":"1","MapMixin.V":"2"},"_CustomHashMap":{"_HashMap":["1","2"],"MapMixin":["1","2"],"Map":["1","2"],"MapMixin.K":"1","MapMixin.V":"2"},"_HashMapKeyIterable":{"EfficientLengthIterable":["1"],"Iterable":["1"],"Iterable.E":"1"},"_HashMapKeyIterator":{"Iterator":["1"]},"_LinkedIdentityHashMap":{"JsLinkedHashMap":["1","2"],"MapMixin":["1","2"],"LinkedHashMap":["1","2"],"Map":["1","2"],"MapMixin.K":"1","MapMixin.V":"2"},"_LinkedCustomHashMap":{"JsLinkedHashMap":["1","2"],"MapMixin":["1","2"],"LinkedHashMap":["1","2"],"Map":["1","2"],"MapMixin.K":"1","MapMixin.V":"2"},"_HashSet":{"_SetBase":["1"],"SetMixin":["1"],"HashSet":["1"],"Set":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"],"SetMixin.E":"1"},"_HashSetIterator":{"Iterator":["1"]},"_LinkedHashSet":{"_SetBase":["1"],"SetMixin":["1"],"LinkedHashSet":["1"],"Set":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"],"SetMixin.E":"1"},"_LinkedHashSetIterator":{"Iterator":["1"]},"UnmodifiableListView":{"ListMixin":["1"],"UnmodifiableListMixin":["1"],"List":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"],"ListMixin.E":"1","UnmodifiableListMixin.E":"1"},"IterableBase":{"Iterable":["1"]},"ListBase":{"ListMixin":["1"],"List":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"]},"_MapBaseValueIterable":{"EfficientLengthIterable":["2"],"Iterable":["2"],"Iterable.E":"2"},"_MapBaseValueIterator":{"Iterator":["2"]},"MapView":{"Map":["1","2"]},"UnmodifiableMapView":{"_UnmodifiableMapView_MapView__UnmodifiableMapMixin":["1","2"],"MapView":["1","2"],"_UnmodifiableMapMixin":["1","2"],"Map":["1","2"]},"ListQueue":{"ListIterable":["1"],"Queue":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"],"Iterable.E":"1","ListIterable.E":"1"},"_ListQueueIterator":{"Iterator":["1"]},"SetBase":{"SetMixin":["1"],"Set":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"]},"_SetBase":{"SetMixin":["1"],"Set":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"]},"_UnmodifiableSet":{"_SetBase":["1"],"SetMixin":["1"],"_UnmodifiableSetMixin":["1"],"Set":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"],"SetMixin.E":"1"},"Encoding":{"Codec":["String","List"]},"_JsonMap":{"MapMixin":["String","@"],"Map":["String","@"],"MapMixin.K":"String","MapMixin.V":"@"},"_JsonMapKeyIterable":{"ListIterable":["String"],"EfficientLengthIterable":["String"],"Iterable":["String"],"Iterable.E":"String","ListIterable.E":"String"},"AsciiCodec":{"Encoding":[],"Codec":["String","List"],"Codec.S":"String"},"_UnicodeSubsetEncoder":{"Converter":["String","List"]},"AsciiEncoder":{"Converter":["String","List"]},"_UnicodeSubsetDecoder":{"Converter":["List","String"]},"AsciiDecoder":{"Converter":["List","String"]},"Base64Codec":{"Codec":["List","String"],"Codec.S":"List"},"Base64Encoder":{"Converter":["List","String"]},"Base64Decoder":{"Converter":["String","List"]},"ByteConversionSink":{"ChunkedConversionSink":["List"]},"ByteConversionSinkBase":{"ChunkedConversionSink":["List"]},"_ByteCallbackSink":{"ChunkedConversionSink":["List"]},"HtmlEscape":{"Converter":["String","String"]},"JsonUnsupportedObjectError":{"Error":[]},"JsonCyclicError":{"Error":[]},"JsonCodec":{"Codec":["Object?","String"],"Codec.S":"Object?"},"JsonEncoder":{"Converter":["Object?","String"]},"JsonDecoder":{"Converter":["String","Object?"]},"Latin1Codec":{"Encoding":[],"Codec":["String","List"],"Codec.S":"String"},"Latin1Encoder":{"Converter":["String","List"]},"Latin1Decoder":{"Converter":["List","String"]},"Utf8Codec":{"Encoding":[],"Codec":["String","List"],"Codec.S":"String"},"Utf8Encoder":{"Converter":["String","List"]},"Utf8Decoder":{"Converter":["List","String"]},"BigInt":{"Comparable":["BigInt"]},"DateTime":{"Comparable":["DateTime"]},"double":{"num":[],"Comparable":["num"]},"Duration":{"Comparable":["Duration"]},"int":{"num":[],"Comparable":["num"]},"List":{"EfficientLengthIterable":["1"],"Iterable":["1"]},"num":{"Comparable":["num"]},"RegExp":{"Pattern":[]},"RegExpMatch":{"Match":[]},"Set":{"EfficientLengthIterable":["1"],"Iterable":["1"]},"String":{"Comparable":["String"],"Pattern":[]},"_BigIntImpl":{"BigInt":[],"Comparable":["BigInt"]},"AssertionError":{"Error":[]},"TypeError":{"Error":[]},"NullThrownError":{"Error":[]},"ArgumentError":{"Error":[]},"RangeError":{"Error":[]},"IndexError":{"Error":[]},"NoSuchMethodError":{"Error":[]},"UnsupportedError":{"Error":[]},"UnimplementedError":{"Error":[]},"StateError":{"Error":[]},"ConcurrentModificationError":{"Error":[]},"OutOfMemoryError":{"Error":[]},"StackOverflowError":{"Error":[]},"CyclicInitializationError":{"Error":[]},"_Exception":{"Exception":[]},"FormatException":{"Exception":[]},"IntegerDivisionByZeroException":{"Exception":[]},"_StringStackTrace":{"StackTrace":[]},"Runes":{"Iterable":["int"],"Iterable.E":"int"},"RuneIterator":{"Iterator":["int"]},"StringBuffer":{"StringSink":[]},"_Uri":{"Uri":[]},"_SimpleUri":{"Uri":[]},"_DataUri":{"Uri":[]},"HtmlElement":{"Element":[],"Node":[],"EventTarget":[]},"BeforeUnloadEvent":{"Event":[]},"DivElement":{"Element":[],"Node":[],"EventTarget":[]},"Element":{"Node":[],"EventTarget":[]},"File":{"Blob":[]},"FileReader":{"EventTarget":[]},"HttpRequest":{"EventTarget":[]},"HttpRequestEventTarget":{"EventTarget":[]},"KeyboardEvent":{"Event":[]},"MouseEvent":{"Event":[]},"Node":{"EventTarget":[]},"ProgressEvent":{"Event":[]},"SourceBuffer":{"EventTarget":[]},"TextTrack":{"EventTarget":[]},"TextTrackCue":{"EventTarget":[]},"TouchEvent":{"Event":[]},"UIEvent":{"Event":[]},"_Html5NodeValidator":{"NodeValidator":[]},"AccessibleNode":{"EventTarget":[]},"AnchorElement":{"Element":[],"Node":[],"EventTarget":[]},"ApplicationCacheErrorEvent":{"Event":[]},"AreaElement":{"Element":[],"Node":[],"EventTarget":[]},"BaseElement":{"Element":[],"Node":[],"EventTarget":[]},"BodyElement":{"Element":[],"Node":[],"EventTarget":[]},"ButtonElement":{"Element":[],"Node":[],"EventTarget":[]},"CanvasElement":{"Element":[],"Node":[],"EventTarget":[],"CanvasImageSource":[]},"CharacterData":{"Node":[],"EventTarget":[]},"CssStyleRule":{"CssRule":[]},"CssStyleSheet":{"StyleSheet":[]},"CssUnitValue":{"CssNumericValue":[]},"DataElement":{"Element":[],"Node":[],"EventTarget":[]},"Document":{"Node":[],"EventTarget":[]},"DomRectList":{"ListMixin":["Rectangle"],"ImmutableListMixin":["Rectangle"],"List":["Rectangle"],"JavaScriptIndexingBehavior":["Rectangle"],"EfficientLengthIterable":["Rectangle"],"Iterable":["Rectangle"],"JSIndexable":["Rectangle"],"ImmutableListMixin.E":"Rectangle","ListMixin.E":"Rectangle"},"DomRectReadOnly":{"Rectangle":["num"]},"DomStringList":{"ListMixin":["String"],"ImmutableListMixin":["String"],"List":["String"],"JavaScriptIndexingBehavior":["String"],"EfficientLengthIterable":["String"],"Iterable":["String"],"JSIndexable":["String"],"ImmutableListMixin.E":"String","ListMixin.E":"String"},"_FrozenElementList":{"ListMixin":["1"],"List":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"],"ListMixin.E":"1"},"ErrorEvent":{"Event":[]},"FileList":{"ListMixin":["File"],"ImmutableListMixin":["File"],"List":["File"],"JavaScriptIndexingBehavior":["File"],"EfficientLengthIterable":["File"],"Iterable":["File"],"JSIndexable":["File"],"ImmutableListMixin.E":"File","ListMixin.E":"File"},"FileWriter":{"EventTarget":[]},"FontFaceSet":{"EventTarget":[]},"FormElement":{"Element":[],"Node":[],"EventTarget":[]},"HtmlCollection":{"ListMixin":["Node"],"ImmutableListMixin":["Node"],"List":["Node"],"JavaScriptIndexingBehavior":["Node"],"EfficientLengthIterable":["Node"],"Iterable":["Node"],"JSIndexable":["Node"],"ImmutableListMixin.E":"Node","ListMixin.E":"Node"},"HtmlDocument":{"Document":[],"Node":[],"EventTarget":[]},"IFrameElement":{"Element":[],"Node":[],"EventTarget":[]},"ImageElement":{"Element":[],"Node":[],"EventTarget":[],"CanvasImageSource":[]},"InputElement":{"FileUploadInputElement":[],"Element":[],"Node":[],"EventTarget":[]},"LIElement":{"Element":[],"Node":[],"EventTarget":[]},"MediaElement":{"Element":[],"Node":[],"EventTarget":[]},"MediaKeyMessageEvent":{"Event":[]},"MediaKeySession":{"EventTarget":[]},"MessagePort":{"EventTarget":[]},"MeterElement":{"Element":[],"Node":[],"EventTarget":[]},"MidiInputMap":{"MapMixin":["String","@"],"Map":["String","@"],"MapMixin.K":"String","MapMixin.V":"@"},"MidiOutputMap":{"MapMixin":["String","@"],"Map":["String","@"],"MapMixin.K":"String","MapMixin.V":"@"},"MimeTypeArray":{"ListMixin":["MimeType"],"ImmutableListMixin":["MimeType"],"List":["MimeType"],"JavaScriptIndexingBehavior":["MimeType"],"EfficientLengthIterable":["MimeType"],"Iterable":["MimeType"],"JSIndexable":["MimeType"],"ImmutableListMixin.E":"MimeType","ListMixin.E":"MimeType"},"_ChildNodeListLazy":{"ListMixin":["Node"],"List":["Node"],"EfficientLengthIterable":["Node"],"Iterable":["Node"],"ListMixin.E":"Node"},"NodeList":{"ListMixin":["Node"],"ImmutableListMixin":["Node"],"List":["Node"],"JavaScriptIndexingBehavior":["Node"],"EfficientLengthIterable":["Node"],"Iterable":["Node"],"JSIndexable":["Node"],"ImmutableListMixin.E":"Node","ListMixin.E":"Node"},"OptionElement":{"Element":[],"Node":[],"EventTarget":[]},"OutputElement":{"Element":[],"Node":[],"EventTarget":[]},"ParamElement":{"Element":[],"Node":[],"EventTarget":[]},"PluginArray":{"ListMixin":["Plugin"],"ImmutableListMixin":["Plugin"],"List":["Plugin"],"JavaScriptIndexingBehavior":["Plugin"],"EfficientLengthIterable":["Plugin"],"Iterable":["Plugin"],"JSIndexable":["Plugin"],"ImmutableListMixin.E":"Plugin","ListMixin.E":"Plugin"},"PointerEvent":{"MouseEvent":[],"Event":[]},"PreElement":{"Element":[],"Node":[],"EventTarget":[]},"PresentationAvailability":{"EventTarget":[]},"PresentationConnectionCloseEvent":{"Event":[]},"ProcessingInstruction":{"Node":[],"EventTarget":[]},"ProgressElement":{"Element":[],"Node":[],"EventTarget":[]},"RtcStatsReport":{"MapMixin":["String","@"],"Map":["String","@"],"MapMixin.K":"String","MapMixin.V":"@"},"SelectElement":{"Element":[],"Node":[],"EventTarget":[]},"SourceBufferList":{"ListMixin":["SourceBuffer"],"ImmutableListMixin":["SourceBuffer"],"List":["SourceBuffer"],"JavaScriptIndexingBehavior":["SourceBuffer"],"EventTarget":[],"EfficientLengthIterable":["SourceBuffer"],"Iterable":["SourceBuffer"],"JSIndexable":["SourceBuffer"],"ImmutableListMixin.E":"SourceBuffer","ListMixin.E":"SourceBuffer"},"SpeechGrammarList":{"ListMixin":["SpeechGrammar"],"ImmutableListMixin":["SpeechGrammar"],"List":["SpeechGrammar"],"JavaScriptIndexingBehavior":["SpeechGrammar"],"EfficientLengthIterable":["SpeechGrammar"],"Iterable":["SpeechGrammar"],"JSIndexable":["SpeechGrammar"],"ImmutableListMixin.E":"SpeechGrammar","ListMixin.E":"SpeechGrammar"},"SpeechRecognitionError":{"Event":[]},"Storage":{"MapMixin":["String","String"],"Map":["String","String"],"MapMixin.K":"String","MapMixin.V":"String"},"TemplateElement":{"Element":[],"Node":[],"EventTarget":[]},"TextAreaElement":{"Element":[],"Node":[],"EventTarget":[]},"TextTrackCueList":{"ListMixin":["TextTrackCue"],"ImmutableListMixin":["TextTrackCue"],"List":["TextTrackCue"],"JavaScriptIndexingBehavior":["TextTrackCue"],"EfficientLengthIterable":["TextTrackCue"],"Iterable":["TextTrackCue"],"JSIndexable":["TextTrackCue"],"ImmutableListMixin.E":"TextTrackCue","ListMixin.E":"TextTrackCue"},"TextTrackList":{"ListMixin":["TextTrack"],"ImmutableListMixin":["TextTrack"],"List":["TextTrack"],"JavaScriptIndexingBehavior":["TextTrack"],"EventTarget":[],"EfficientLengthIterable":["TextTrack"],"Iterable":["TextTrack"],"JSIndexable":["TextTrack"],"ImmutableListMixin.E":"TextTrack","ListMixin.E":"TextTrack"},"TouchList":{"ListMixin":["Touch"],"ImmutableListMixin":["Touch"],"List":["Touch"],"JavaScriptIndexingBehavior":["Touch"],"EfficientLengthIterable":["Touch"],"Iterable":["Touch"],"JSIndexable":["Touch"],"ImmutableListMixin.E":"Touch","ListMixin.E":"Touch"},"VideoElement":{"Element":[],"Node":[],"EventTarget":[],"CanvasImageSource":[]},"VideoTrackList":{"EventTarget":[]},"Window":{"WindowBase":[],"EventTarget":[]},"_BeforeUnloadEvent":{"BeforeUnloadEvent":[],"Event":[]},"WorkerGlobalScope":{"EventTarget":[]},"_Attr":{"Node":[],"EventTarget":[]},"_CssRuleList":{"ListMixin":["CssRule"],"ImmutableListMixin":["CssRule"],"List":["CssRule"],"JavaScriptIndexingBehavior":["CssRule"],"EfficientLengthIterable":["CssRule"],"Iterable":["CssRule"],"JSIndexable":["CssRule"],"ImmutableListMixin.E":"CssRule","ListMixin.E":"CssRule"},"_DomRect":{"Rectangle":["num"]},"_GamepadList":{"ListMixin":["Gamepad?"],"ImmutableListMixin":["Gamepad?"],"List":["Gamepad?"],"JavaScriptIndexingBehavior":["Gamepad?"],"EfficientLengthIterable":["Gamepad?"],"Iterable":["Gamepad?"],"JSIndexable":["Gamepad?"],"ImmutableListMixin.E":"Gamepad?","ListMixin.E":"Gamepad?"},"_NamedNodeMap":{"ListMixin":["Node"],"ImmutableListMixin":["Node"],"List":["Node"],"JavaScriptIndexingBehavior":["Node"],"EfficientLengthIterable":["Node"],"Iterable":["Node"],"JSIndexable":["Node"],"ImmutableListMixin.E":"Node","ListMixin.E":"Node"},"_SpeechRecognitionResultList":{"ListMixin":["SpeechRecognitionResult"],"ImmutableListMixin":["SpeechRecognitionResult"],"List":["SpeechRecognitionResult"],"JavaScriptIndexingBehavior":["SpeechRecognitionResult"],"EfficientLengthIterable":["SpeechRecognitionResult"],"Iterable":["SpeechRecognitionResult"],"JSIndexable":["SpeechRecognitionResult"],"ImmutableListMixin.E":"SpeechRecognitionResult","ListMixin.E":"SpeechRecognitionResult"},"_StyleSheetList":{"ListMixin":["StyleSheet"],"ImmutableListMixin":["StyleSheet"],"List":["StyleSheet"],"JavaScriptIndexingBehavior":["StyleSheet"],"EfficientLengthIterable":["StyleSheet"],"Iterable":["StyleSheet"],"JSIndexable":["StyleSheet"],"ImmutableListMixin.E":"StyleSheet","ListMixin.E":"StyleSheet"},"_AttributeMap":{"MapMixin":["String","String"],"Map":["String","String"]},"_ElementAttributeMap":{"MapMixin":["String","String"],"Map":["String","String"],"MapMixin.K":"String","MapMixin.V":"String"},"_ElementCssClassSet":{"SetMixin":["String"],"Set":["String"],"EfficientLengthIterable":["String"],"Iterable":["String"],"SetMixin.E":"String"},"_EventStream":{"Stream":["1"],"Stream.T":"1"},"_ElementEventStreamImpl":{"_EventStream":["1"],"Stream":["1"],"Stream.T":"1"},"_EventStreamSubscription":{"StreamSubscription":["1"]},"NodeValidatorBuilder":{"NodeValidator":[]},"_SimpleNodeValidator":{"NodeValidator":[]},"_TemplatingNodeValidator":{"NodeValidator":[]},"FixedSizeListIterator":{"Iterator":["1"]},"_DOMWindowCrossFrame":{"WindowBase":[],"EventTarget":[]},"KeyEvent":{"KeyboardEvent":[],"Event":[]},"_WrappedEvent":{"Event":[]},"_TrustedHtmlTreeSanitizer":{"NodeTreeSanitizer":[]},"_SameOriginUriPolicy":{"UriPolicy":[]},"_ValidatingTreeSanitizer":{"NodeTreeSanitizer":[]},"CssClassSetImpl":{"SetMixin":["String"],"Set":["String"],"EfficientLengthIterable":["String"],"Iterable":["String"]},"FilteredElementList":{"ListMixin":["Element"],"List":["Element"],"EfficientLengthIterable":["Element"],"Iterable":["Element"],"ListMixin.E":"Element"},"Request0":{"EventTarget":[]},"VersionChangeEvent":{"Event":[]},"JsArray":{"ListMixin":["1"],"List":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"],"ListMixin.E":"1"},"NullRejectionException":{"Exception":[]},"Rectangle":{"_RectangleBase":["1"]},"GraphicsElement":{"SvgElement":[],"Element":[],"Node":[],"EventTarget":[]},"SvgElement":{"Element":[],"Node":[],"EventTarget":[]},"SvgSvgElement":{"GraphicsElement":[],"SvgElement":[],"Element":[],"Node":[],"EventTarget":[]},"TextContentElement":{"GraphicsElement":[],"SvgElement":[],"Element":[],"Node":[],"EventTarget":[]},"AElement":{"GraphicsElement":[],"SvgElement":[],"Element":[],"Node":[],"EventTarget":[]},"CircleElement":{"GraphicsElement":[],"SvgElement":[],"Element":[],"Node":[],"EventTarget":[]},"DefsElement":{"GraphicsElement":[],"SvgElement":[],"Element":[],"Node":[],"EventTarget":[]},"FEGaussianBlurElement":{"SvgElement":[],"Element":[],"Node":[],"EventTarget":[]},"FEMergeElement":{"SvgElement":[],"Element":[],"Node":[],"EventTarget":[]},"FEMergeNodeElement":{"SvgElement":[],"Element":[],"Node":[],"EventTarget":[]},"FilterElement":{"SvgElement":[],"Element":[],"Node":[],"EventTarget":[]},"GElement":{"GraphicsElement":[],"SvgElement":[],"Element":[],"Node":[],"EventTarget":[]},"GeometryElement":{"GraphicsElement":[],"SvgElement":[],"Element":[],"Node":[],"EventTarget":[]},"LengthList":{"ListMixin":["Length"],"ImmutableListMixin":["Length"],"List":["Length"],"EfficientLengthIterable":["Length"],"Iterable":["Length"],"ImmutableListMixin.E":"Length","ListMixin.E":"Length"},"NumberList":{"ListMixin":["Number"],"ImmutableListMixin":["Number"],"List":["Number"],"EfficientLengthIterable":["Number"],"Iterable":["Number"],"ImmutableListMixin.E":"Number","ListMixin.E":"Number"},"PolygonElement":{"GraphicsElement":[],"SvgElement":[],"Element":[],"Node":[],"EventTarget":[]},"RectElement":{"GraphicsElement":[],"SvgElement":[],"Element":[],"Node":[],"EventTarget":[]},"StringList":{"ListMixin":["String"],"ImmutableListMixin":["String"],"List":["String"],"EfficientLengthIterable":["String"],"Iterable":["String"],"ImmutableListMixin.E":"String","ListMixin.E":"String"},"AttributeClassSet":{"SetMixin":["String"],"Set":["String"],"EfficientLengthIterable":["String"],"Iterable":["String"],"SetMixin.E":"String"},"TextElement":{"TextContentElement":[],"GraphicsElement":[],"SvgElement":[],"Element":[],"Node":[],"EventTarget":[]},"TextPathElement":{"TextContentElement":[],"GraphicsElement":[],"SvgElement":[],"Element":[],"Node":[],"EventTarget":[]},"TextPositioningElement":{"TextContentElement":[],"GraphicsElement":[],"SvgElement":[],"Element":[],"Node":[],"EventTarget":[]},"TransformList":{"ListMixin":["Transform"],"ImmutableListMixin":["Transform"],"List":["Transform"],"EfficientLengthIterable":["Transform"],"Iterable":["Transform"],"ImmutableListMixin.E":"Transform","ListMixin.E":"Transform"},"ByteData":{"TypedData":[]},"Int8List":{"List":["int"],"EfficientLengthIterable":["int"],"Iterable":["int"],"TypedData":[]},"Uint8List":{"List":["int"],"EfficientLengthIterable":["int"],"Iterable":["int"],"TypedData":[]},"Uint8ClampedList":{"List":["int"],"EfficientLengthIterable":["int"],"Iterable":["int"],"TypedData":[]},"Int16List":{"List":["int"],"EfficientLengthIterable":["int"],"Iterable":["int"],"TypedData":[]},"Uint16List":{"List":["int"],"EfficientLengthIterable":["int"],"Iterable":["int"],"TypedData":[]},"Int32List":{"List":["int"],"EfficientLengthIterable":["int"],"Iterable":["int"],"TypedData":[]},"Uint32List":{"List":["int"],"EfficientLengthIterable":["int"],"Iterable":["int"],"TypedData":[]},"Float32List":{"List":["double"],"EfficientLengthIterable":["double"],"Iterable":["double"],"TypedData":[]},"Float64List":{"List":["double"],"EfficientLengthIterable":["double"],"Iterable":["double"],"TypedData":[]},"UnmodifiableByteBufferView":{"ByteBuffer":[]},"UnmodifiableByteDataView":{"ByteData":[],"TypedData":[]},"UnmodifiableUint8ListView":{"ListMixin":["int"],"UnmodifiableListMixin":["int"],"Uint8List":[],"List":["int"],"EfficientLengthIterable":["int"],"Iterable":["int"],"_UnmodifiableListMixin":["int","Uint8List","Uint8List"],"TypedData":[],"ListMixin.E":"int","UnmodifiableListMixin.E":"int","_UnmodifiableListMixin.2":"Uint8List"},"UnmodifiableInt32ListView":{"ListMixin":["int"],"UnmodifiableListMixin":["int"],"Int32List":[],"List":["int"],"EfficientLengthIterable":["int"],"Iterable":["int"],"_UnmodifiableListMixin":["int","Int32List","Int32List"],"TypedData":[],"ListMixin.E":"int","UnmodifiableListMixin.E":"int","_UnmodifiableListMixin.2":"Int32List"},"AudioNode":{"EventTarget":[]},"AudioParamMap":{"MapMixin":["String","@"],"Map":["String","@"],"MapMixin.K":"String","MapMixin.V":"@"},"AudioScheduledSourceNode":{"EventTarget":[]},"AudioTrackList":{"EventTarget":[]},"BaseAudioContext":{"EventTarget":[]},"ConstantSourceNode":{"EventTarget":[]},"OfflineAudioContext":{"EventTarget":[]},"SqlResultSetRowList":{"ListMixin":["Map<@,@>"],"ImmutableListMixin":["Map<@,@>"],"List":["Map<@,@>"],"EfficientLengthIterable":["Map<@,@>"],"Iterable":["Map<@,@>"],"ImmutableListMixin.E":"Map<@,@>","ListMixin.E":"Map<@,@>"},"Archive":{"Iterable":["ArchiveFile"],"Iterable.E":"ArchiveFile"},"ArchiveException":{"FormatException":[],"Exception":[]},"InputStream":{"InputStreamBase":[]},"OutputStream":{"OutputStreamBase":[]},"CopyOnWriteList":{"List":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"]},"CopyOnWriteMap":{"Map":["1","2"]},"CopyOnWriteSet":{"Set":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"]},"BuiltList":{"BuiltIterable":["1"],"Iterable":["1"]},"_BuiltList":{"BuiltList":["1"],"BuiltIterable":["1"],"Iterable":["1"]},"_BuiltListMultimap":{"BuiltListMultimap":["1","2"]},"_BuiltMap":{"BuiltMap":["1","2"]},"BuiltSet":{"BuiltIterable":["1"],"Iterable":["1"]},"_BuiltSet":{"BuiltSet":["1"],"BuiltIterable":["1"],"Iterable":["1"]},"_BuiltSetMultimap":{"BuiltSetMultimap":["1","2"]},"BuiltValueNullFieldError":{"Error":[]},"BuiltValueNestedFieldError":{"Error":[]},"BoolJsonObject":{"JsonObject":[]},"ListJsonObject":{"JsonObject":[]},"MapJsonObject":{"JsonObject":[]},"NumJsonObject":{"JsonObject":[]},"StringJsonObject":{"JsonObject":[]},"DeserializationError":{"Error":[]},"BigIntSerializer":{"PrimitiveSerializer":["BigInt"],"Serializer":["BigInt"]},"BoolSerializer":{"PrimitiveSerializer":["bool"],"Serializer":["bool"]},"BuiltJsonSerializers":{"Serializers":[]},"BuiltListMultimapSerializer":{"StructuredSerializer":["BuiltListMultimap<@,@>"],"Serializer":["BuiltListMultimap<@,@>"]},"BuiltListSerializer":{"StructuredSerializer":["BuiltList<@>"],"Serializer":["BuiltList<@>"]},"BuiltMapSerializer":{"StructuredSerializer":["BuiltMap<@,@>"],"Serializer":["BuiltMap<@,@>"]},"BuiltSetMultimapSerializer":{"StructuredSerializer":["BuiltSetMultimap<@,@>"],"Serializer":["BuiltSetMultimap<@,@>"]},"BuiltSetSerializer":{"StructuredSerializer":["BuiltSet<@>"],"Serializer":["BuiltSet<@>"]},"DateTimeSerializer":{"PrimitiveSerializer":["DateTime"],"Serializer":["DateTime"]},"DoubleSerializer":{"PrimitiveSerializer":["double"],"Serializer":["double"]},"DurationSerializer":{"PrimitiveSerializer":["Duration"],"Serializer":["Duration"]},"Int32Serializer":{"PrimitiveSerializer":["Int32"],"Serializer":["Int32"]},"Int64Serializer":{"PrimitiveSerializer":["Int64"],"Serializer":["Int64"]},"IntSerializer":{"PrimitiveSerializer":["int"],"Serializer":["int"]},"JsonObjectSerializer":{"PrimitiveSerializer":["JsonObject"],"Serializer":["JsonObject"]},"NullSerializer":{"PrimitiveSerializer":["Null"],"Serializer":["Null"]},"NumSerializer":{"PrimitiveSerializer":["num"],"Serializer":["num"]},"RegExpSerializer":{"PrimitiveSerializer":["RegExp"],"Serializer":["RegExp"]},"StringSerializer":{"PrimitiveSerializer":["String"],"Serializer":["String"]},"Uint8ListSerializer":{"PrimitiveSerializer":["Uint8List"],"Serializer":["Uint8List"]},"UriSerializer":{"PrimitiveSerializer":["Uri"],"Serializer":["Uri"]},"StandardJsonPlugin":{"SerializerPlugin":[]},"CanonicalizedMap":{"Map":["2","3"]},"DefaultEquality":{"Equality":["1"]},"IterableEquality":{"Equality":["Iterable<1>"]},"ListEquality":{"Equality":["List<1>"]},"_UnorderedEquality":{"Equality":["2"]},"SetEquality":{"_UnorderedEquality":["1","Set<1>"],"Equality":["Set<1>"],"_UnorderedEquality.T":"Set<1>","_UnorderedEquality.E":"1"},"MapEquality":{"Equality":["Map<1,2>"]},"DeepCollectionEquality":{"Equality":["@"]},"_DelegatingIterableBase":{"Iterable":["1"]},"DelegatingList":{"List":["1"],"_DelegatingIterableBase":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"]},"RgbColor":{"Color":[]},"HexColor":{"RgbColor":[],"Color":[]},"_TouchManager":{"_EventManager":[]},"_MouseManager":{"_EventManager":[]},"_PointerManager":{"_EventManager":[]},"Int32":{"Comparable":["Object"]},"Int64":{"Comparable":["Object"]},"BaseClient":{"Client0":[]},"BrowserClient":{"Client0":[]},"ByteStream":{"StreamView":["List*"],"Stream":["List*"],"Stream.T":"List*","StreamView.T":"List*"},"ClientException":{"Exception":[]},"Request":{"BaseRequest":[]},"CaseInsensitiveMap":{"CanonicalizedMap":["String*","String*","1*"],"Map":["String*","1*"],"CanonicalizedMap.V":"1*","CanonicalizedMap.K":"String*","CanonicalizedMap.C":"String*"},"Level":{"Comparable":["Level"]},"DomProps":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"SvgProps":{"DomProps":[],"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"ErrorBoundaryProps":{"UiProps0":[],"UiProps":[],"Map":["@","@"]},"ErrorBoundaryState":{"Map":["@","@"]},"ErrorBoundaryComponent":{"UiComponent2":["ErrorBoundaryProps*"],"Component2":[],"Component":[]},"_$$ErrorBoundaryProps":{"ErrorBoundaryProps":[],"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$ErrorBoundaryComponent":{"UiComponent2":["ErrorBoundaryProps*"],"Component2":[],"Component":[]},"_$$ErrorBoundaryProps$PlainMap":{"ErrorBoundaryProps":[],"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$ErrorBoundaryProps$JsMap":{"ErrorBoundaryProps":[],"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$ErrorBoundaryState":{"MapViewMixin":["@","@"],"Map":["@","@"]},"_$$ErrorBoundaryState$JsMap":{"MapViewMixin":["@","@"],"Map":["@","@"],"MapViewMixin.K":"@","MapViewMixin.V":"@"},"RecoverableErrorBoundaryProps":{"ErrorBoundaryProps":[],"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"Map":["@","@"]},"RecoverableErrorBoundaryState":{"Map":["@","@"]},"RecoverableErrorBoundaryComponent":{"UiComponent2":["1*"],"Component2":[],"Component":[]},"_$$RecoverableErrorBoundaryProps":{"RecoverableErrorBoundaryProps":[],"ErrorBoundaryProps":[],"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$RecoverableErrorBoundaryComponent":{"UiComponent2":["RecoverableErrorBoundaryProps*"],"Component2":[],"Component":[]},"_$$RecoverableErrorBoundaryProps$PlainMap":{"RecoverableErrorBoundaryProps":[],"ErrorBoundaryProps":[],"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$RecoverableErrorBoundaryProps$JsMap":{"RecoverableErrorBoundaryProps":[],"ErrorBoundaryProps":[],"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$RecoverableErrorBoundaryState":{"MapViewMixin":["@","@"],"Map":["@","@"]},"_$$RecoverableErrorBoundaryState$JsMap":{"MapViewMixin":["@","@"],"Map":["@","@"],"MapViewMixin.K":"@","MapViewMixin.V":"@"},"UiProps0":{"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"UiState":{"MapViewMixin":["@","@"],"Map":["@","@"]},"UngeneratedError":{"Error":[]},"UiState0":{"MapViewMixin":["@","@"],"Map":["@","@"]},"UiProps":{"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"PropsMeta":{"ConsumedProps":[]},"PropsMetaCollection":{"_AccessorMetaCollection":["PropDescriptor*","PropsMeta*"],"PropsMeta":[],"ConsumedProps":[],"_AccessorMetaCollection.U":"PropsMeta*"},"UiComponent2":{"Component2":[],"Component":[]},"UiStatefulComponent2":{"UiComponent2":["1*"],"Component2":[],"Component":[]},"UiComponent2BridgeImpl":{"Component2Bridge":[]},"ReduxProviderProps":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"ReactJsReactReduxComponentFactoryProxy":{"ReactJsContextComponentFactoryProxy":[],"ReactComponentFactoryProxy":[]},"ProviderProps":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"ConsumerProps":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"PathException":{"Exception":[]},"PosixStyle":{"InternalStyle":[]},"UrlStyle":{"InternalStyle":[]},"WindowsStyle":{"InternalStyle":[]},"Failure":{"Result":["1"],"Context1":[]},"Result":{"Context1":[]},"Success":{"Result":["1"],"Context1":[]},"ParserException":{"FormatException":[],"Exception":[]},"ReferenceParser":{"ResolvableParser":["1"],"Parser":["1"]},"CastParser":{"DelegateParser":["1","2"],"Parser":["2"],"DelegateParser.T":"1"},"FlattenParser":{"DelegateParser":["1","String"],"Parser":["String"],"DelegateParser.T":"1"},"MapParser":{"DelegateParser":["1","2"],"Parser":["2"],"DelegateParser.T":"1"},"PickParser":{"DelegateParser":["List<1>","1"],"Parser":["1"],"DelegateParser.T":"List<1>"},"TokenParser":{"DelegateParser":["1","Token<1>"],"Parser":["Token<1>"],"DelegateParser.T":"1"},"SingleCharPredicate":{"CharacterPredicate":[]},"ConstantCharPredicate":{"CharacterPredicate":[]},"LookupCharPredicate":{"CharacterPredicate":[]},"NotCharacterPredicate":{"CharacterPredicate":[]},"CharacterParser":{"Parser":["String"]},"RangeCharPredicate":{"CharacterPredicate":[]},"WhitespaceCharPredicate":{"CharacterPredicate":[]},"ChoiceParser":{"ListParser":["1","1"],"Parser":["1"],"ListParser.T":"1"},"DelegateParser":{"Parser":["2"]},"ListParser":{"Parser":["2"]},"OptionalParser":{"DelegateParser":["1","1"],"Parser":["1"],"DelegateParser.T":"1"},"SequenceParser":{"ListParser":["1","List<1>"],"Parser":["List<1>"],"ListParser.T":"1"},"EndOfInputParser":{"Parser":["~"]},"EpsilonParser":{"Parser":["1"]},"AnyParser":{"Parser":["String"]},"PredicateParser":{"Parser":["String"]},"LazyRepeatingParser":{"LimitedRepeatingParser":["1"],"RepeatingParser":["1"],"DelegateParser":["1","List<1>"],"Parser":["List<1>"],"DelegateParser.T":"1"},"LimitedRepeatingParser":{"RepeatingParser":["1"],"DelegateParser":["1","List<1>"],"Parser":["List<1>"]},"PossessiveRepeatingParser":{"RepeatingParser":["1"],"DelegateParser":["1","List<1>"],"Parser":["List<1>"],"DelegateParser.T":"1"},"RepeatingParser":{"DelegateParser":["1","List<1>"],"Parser":["List<1>"]},"_Chrome":{"Browser":[]},"_Firefox":{"Browser":[]},"_Safari":{"Browser":[]},"_WKWebView":{"Browser":[]},"_InternetExplorer":{"Browser":[]},"_HtmlNavigator":{"NavigatorProvider":[]},"SHA1Digest":{"Digest":[]},"HMac":{"Mac":[]},"BaseDigest":{"Digest":[]},"BaseMac":{"Mac":[]},"MD4FamilyDigest":{"Digest":[]},"Component2":{"Component":[]},"Component2BridgeImpl":{"Component2Bridge":[]},"ReactDartComponentFactoryProxy2":{"ReactComponentFactoryProxy":[]},"ReactDomComponentFactoryProxy":{"ReactComponentFactoryProxy":[]},"ReactJsContextComponentFactoryProxy":{"ReactComponentFactoryProxy":[]},"ReactJsComponentFactoryProxy":{"ReactComponentFactoryProxy":[]},"JsBackedMap":{"MapMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@"},"DesignChangingAction":{"SvgPngCacheInvalidatingAction":[],"Action":[]},"UndoableAction":{"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"SkipUndo":{"Action":[]},"Undo":{"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"Redo":{"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"UndoRedoClear":{"Action":[]},"BatchAction":{"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"ThrottledActionFast":{"ThrottledAction":[],"FastAction":[],"Action":[]},"ThrottledActionNonFast":{"ThrottledAction":[],"Action":[]},"LocalStorageDesignChoiceSet":{"Action":[]},"ResetLocalStorage":{"Action":[]},"ClearHelixSelectionWhenLoadingNewDesignSet":{"Action":[]},"EditModeToggle":{"Action":[]},"EditModesSet":{"Action":[]},"SelectModeToggle":{"Action":[]},"SelectModesAdd":{"Action":[]},"SelectModesSet":{"Action":[]},"StrandNameSet":{"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"SingleStrandAction":[],"Action":[]},"StrandLabelSet":{"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"SingleStrandAction":[],"Action":[]},"SubstrandNameSet":{"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"StrandPartAction":[],"Action":[]},"SubstrandLabelSet":{"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"StrandPartAction":[],"Action":[]},"SetAppUIStateStorable":{"Action":[]},"ShowDNASet":{"Action":[]},"ShowDomainNamesSet":{"Action":[]},"ShowStrandNamesSet":{"Action":[]},"ShowStrandLabelsSet":{"Action":[]},"ShowDomainLabelsSet":{"Action":[]},"ShowModificationsSet":{"Action":[]},"DomainNameFontSizeSet":{"Action":[]},"DomainLabelFontSizeSet":{"Action":[]},"StrandNameFontSizeSet":{"Action":[]},"StrandLabelFontSizeSet":{"Action":[]},"ModificationFontSizeSet":{"Action":[]},"MajorTickOffsetFontSizeSet":{"Action":[]},"MajorTickWidthFontSizeSet":{"Action":[]},"SetModificationDisplayConnector":{"Action":[]},"ShowMismatchesSet":{"Action":[]},"ShowDomainNameMismatchesSet":{"Action":[]},"ShowUnpairedInsertionDeletionsSet":{"Action":[]},"OxviewShowSet":{"Action":[]},"SetDisplayBaseOffsetsOfMajorTicksOnlyFirstHelix":{"Action":[]},"DisplayMajorTicksOffsetsSet":{"Action":[]},"SetDisplayMajorTickWidthsAllHelices":{"Action":[]},"SetDisplayMajorTickWidths":{"Action":[]},"SetOnlyDisplaySelectedHelices":{"SvgPngCacheInvalidatingAction":[],"Action":[]},"InvertYSet":{"SvgPngCacheInvalidatingAction":[],"Action":[]},"DynamicHelixUpdateSet":{"SvgPngCacheInvalidatingAction":[],"Action":[]},"WarnOnExitIfUnsavedSet":{"Action":[]},"LoadingDialogShow":{"Action":[]},"LoadingDialogHide":{"Action":[]},"CopySelectedStandsToClipboardImage":{"Action":[]},"SaveDNAFile":{"Action":[]},"LoadDNAFile":{"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"PrepareToLoadDNAFile":{"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"NewDesignSet":{"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"ExportCadnanoFile":{"Action":[]},"ExportCodenanoFile":{"Action":[]},"ShowMouseoverDataSet":{"Action":[]},"MouseoverDataClear":{"Action":[]},"MouseoverDataUpdate":{"Action":[]},"HelixRollSet":{"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"HelixIndividualAction":[],"Action":[]},"HelixRollSetAtOther":{"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"RelaxHelixRolls":{"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"ErrorMessageSet":{"Action":[]},"SelectionBoxCreate":{"Action":[]},"SelectionBoxSizeChange":{"FastAction":[],"Action":[]},"SelectionBoxRemove":{"Action":[]},"SelectionRopeCreate":{"Action":[]},"SelectionRopeMouseMove":{"FastAction":[],"Action":[]},"SelectionRopeAddPoint":{"Action":[]},"SelectionRopeRemove":{"Action":[]},"MouseGridPositionSideUpdate":{"Action":[]},"MouseGridPositionSideClear":{"Action":[]},"MousePositionSideUpdate":{"Action":[]},"MousePositionSideClear":{"Action":[]},"GeometrySet":{"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"SelectionBoxIntersectionRuleSet":{"Action":[]},"Select":{"Action":[]},"SelectionsClear":{"Action":[]},"SelectionsAdjustMainView":{"Action":[]},"SelectOrToggleItems":{"Action":[]},"SelectAll":{"Action":[]},"SelectAllSelectable":{"Action":[]},"SelectAllWithSameAsSelected":{"Action":[]},"DeleteAllSelected":{"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"HelixAdd":{"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"HelixRemove":{"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"HelixRemoveAllSelected":{"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"HelixSelect":{"HelixSelectSvgPngCacheInvalidatingAction":[],"Action":[]},"HelixSelectionsClear":{"HelixSelectSvgPngCacheInvalidatingAction":[],"Action":[]},"HelixSelectionsAdjust":{"HelixSelectSvgPngCacheInvalidatingAction":[],"Action":[]},"HelixIndividualAction":{"Action":[]},"HelixMajorTickDistanceChange":{"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"HelixIndividualAction":[],"Action":[]},"HelixMajorTickDistanceChangeAll":{"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"HelixMajorTickStartChange":{"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"HelixIndividualAction":[],"Action":[]},"HelixMajorTickStartChangeAll":{"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"HelixMajorTicksChange":{"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"HelixIndividualAction":[],"Action":[]},"HelixMajorTicksChangeAll":{"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"HelixMajorTickPeriodicDistancesChange":{"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"HelixIndividualAction":[],"Action":[]},"HelixMajorTickPeriodicDistancesChangeAll":{"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"HelixIdxsChange":{"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"HelixOffsetChange":{"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"HelixIndividualAction":[],"Action":[]},"HelixMinOffsetSetByDomains":{"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"HelixIndividualAction":[],"Action":[]},"HelixMaxOffsetSetByDomains":{"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"HelixIndividualAction":[],"Action":[]},"HelixMinOffsetSetByDomainsAll":{"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"HelixMaxOffsetSetByDomainsAll":{"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"HelixMaxOffsetSetByDomainsAllSameMax":{"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"HelixOffsetChangeAll":{"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"ShowMouseoverRectSet":{"Action":[]},"ShowMouseoverRectToggle":{"Action":[]},"ExportDNA":{"Action":[]},"ExportCanDoDNA":{"Action":[]},"ExportSvg":{"Action":[]},"ExportSvgTextSeparatelySet":{"Action":[]},"StrandPartAction":{"Action":[]},"ExtensionDisplayLengthAngleSet":{"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"StrandPartAction":[],"Action":[]},"ExtensionAdd":{"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"SingleStrandAction":[],"Action":[]},"ExtensionNumBasesChange":{"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"StrandPartAction":[],"Action":[]},"ExtensionsNumBasesChange":{"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"LoopoutLengthChange":{"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"StrandPartAction":[],"Action":[]},"LoopoutsLengthChange":{"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"ConvertCrossoverToLoopout":{"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"StrandPartAction":[],"Action":[]},"ConvertCrossoversToLoopouts":{"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"Nick":{"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"Ligate":{"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"JoinStrandsByCrossover":{"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"MoveLinker":{"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"JoinStrandsByMultipleCrossovers":{"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"StrandsReflect":{"Action":[]},"ReplaceStrands":{"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"StrandCreateStart":{"Action":[]},"StrandCreateAdjustOffset":{"Action":[]},"StrandCreateStop":{"Action":[]},"StrandCreateCommit":{"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"PotentialCrossoverCreate":{"Action":[]},"PotentialCrossoverMove":{"FastAction":[],"Action":[]},"PotentialCrossoverRemove":{"Action":[]},"ManualPasteInitiate":{"Action":[]},"AutoPasteInitiate":{"Action":[]},"CopySelectedStrands":{"Action":[]},"StrandsMoveStart":{"Action":[]},"StrandsMoveStartSelectedStrands":{"Action":[]},"StrandsMoveStop":{"Action":[]},"StrandsMoveAdjustAddress":{"Action":[]},"StrandsMoveCommit":{"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"DomainsMoveStartSelectedDomains":{"Action":[]},"DomainsMoveStop":{"Action":[]},"DomainsMoveAdjustAddress":{"Action":[]},"DomainsMoveCommit":{"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"DNAEndsMoveStart":{"Action":[]},"DNAEndsMoveSetSelectedEnds":{"Action":[]},"DNAEndsMoveAdjustOffset":{"FastAction":[],"Action":[]},"DNAEndsMoveStop":{"Action":[]},"DNAEndsMoveCommit":{"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"DNAExtensionsMoveStart":{"Action":[]},"DNAExtensionsMoveSetSelectedExtensionEnds":{"Action":[]},"DNAExtensionsMoveAdjustPosition":{"FastAction":[],"Action":[]},"DNAExtensionsMoveStop":{"Action":[]},"DNAExtensionsMoveCommit":{"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"HelixGroupMoveStart":{"Action":[]},"HelixGroupMoveCreate":{"Action":[]},"HelixGroupMoveAdjustTranslation":{"FastAction":[],"Action":[]},"HelixGroupMoveStop":{"Action":[]},"HelixGroupMoveCommit":{"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"AssignDNA":{"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"AssignDNAComplementFromBoundStrands":{"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"AssignDomainNameComplementFromBoundStrands":{"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"AssignDomainNameComplementFromBoundDomains":{"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"RemoveDNA":{"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"SingleStrandAction":[],"Action":[]},"InsertionOrDeletionAction":{"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"StrandPartAction":[],"Action":[]},"InsertionAdd":{"InsertionOrDeletionAction":[],"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"StrandPartAction":[],"Action":[]},"InsertionLengthChange":{"InsertionOrDeletionAction":[],"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"StrandPartAction":[],"Action":[]},"InsertionsLengthChange":{"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"DeletionAdd":{"InsertionOrDeletionAction":[],"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"StrandPartAction":[],"Action":[]},"InsertionRemove":{"InsertionOrDeletionAction":[],"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"StrandPartAction":[],"Action":[]},"DeletionRemove":{"InsertionOrDeletionAction":[],"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"StrandPartAction":[],"Action":[]},"ScalePurificationVendorFieldsAssign":{"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"SingleStrandAction":[],"Action":[]},"PlateWellVendorFieldsAssign":{"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"SingleStrandAction":[],"Action":[]},"PlateWellVendorFieldsRemove":{"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"SingleStrandAction":[],"Action":[]},"VendorFieldsRemove":{"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"SingleStrandAction":[],"Action":[]},"ModificationAdd":{"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"SingleStrandAction":[],"Action":[]},"ModificationRemove":{"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"SingleStrandAction":[],"Action":[]},"ModificationConnectorLengthSet":{"Action":[]},"ModificationEdit":{"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"SingleStrandAction":[],"Action":[]},"Modifications5PrimeEdit":{"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"Modifications3PrimeEdit":{"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"ModificationsInternalEdit":{"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"GridChange":{"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"GroupDisplayedChange":{"Action":[]},"GroupAdd":{"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"GroupRemove":{"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"GroupChange":{"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"MoveHelicesToGroup":{"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"DialogShow":{"Action":[]},"DialogHide":{"Action":[]},"ContextMenuShow":{"Action":[]},"ContextMenuHide":{"Action":[]},"StrandOrSubstrandColorPickerShow":{"Action":[]},"StrandOrSubstrandColorPickerHide":{"Action":[]},"SingleStrandAction":{"Action":[]},"ScaffoldSet":{"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"SingleStrandAction":[],"Action":[]},"StrandOrSubstrandColorSet":{"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"SingleStrandAction":[],"Action":[]},"StrandPasteKeepColorSet":{"Action":[]},"ExampleDesignsLoad":{"Action":[]},"BasePairTypeSet":{"Action":[]},"HelixPositionSet":{"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"HelixIndividualAction":[],"Action":[]},"HelixGridPositionSet":{"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"HelixIndividualAction":[],"Action":[]},"InlineInsertionsDeletions":{"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"DefaultCrossoverTypeForSettingHelixRollsSet":{"Action":[]},"AutofitSet":{"Action":[]},"ShowHelixCirclesMainViewSet":{"Action":[]},"ShowHelixComponentsMainViewSet":{"Action":[]},"ShowEditMenuToggle":{"Action":[]},"ShowGridCoordinatesSideViewSet":{"Action":[]},"ShowAxisArrowsSet":{"Action":[]},"LoadDnaSequenceImageUri":{"Action":[]},"SetIsZoomAboveThreshold":{"Action":[]},"SetExportSvgActionDelayedForPngCache":{"Action":[]},"ShowBasePairLinesSet":{"Action":[]},"ShowBasePairLinesWithMismatchesSet":{"Action":[]},"ShowSliceBarSet":{"Action":[]},"SliceBarOffsetSet":{"Action":[]},"DisablePngCachingDnaSequencesSet":{"Action":[]},"RetainStrandColorOnSelectionSet":{"Action":[]},"DisplayReverseDNARightSideUpSet":{"Action":[]},"SliceBarMoveStart":{"Action":[]},"SliceBarMoveStop":{"Action":[]},"Autostaple":{"Action":[]},"Autobreak":{"Action":[]},"ZoomSpeedSet":{"Action":[]},"OxdnaExport":{"Action":[]},"OxviewExport":{"Action":[]},"OxExportOnlySelectedStrandsSet":{"Action":[]},"_$UndoSerializer":{"StructuredSerializer":["Undo*"],"Serializer":["Undo*"]},"_$RedoSerializer":{"StructuredSerializer":["Redo*"],"Serializer":["Redo*"]},"_$UndoRedoClearSerializer":{"StructuredSerializer":["UndoRedoClear*"],"Serializer":["UndoRedoClear*"]},"_$BatchActionSerializer":{"StructuredSerializer":["BatchAction*"],"Serializer":["BatchAction*"]},"_$ThrottledActionFastSerializer":{"StructuredSerializer":["ThrottledActionFast*"],"Serializer":["ThrottledActionFast*"]},"_$ThrottledActionNonFastSerializer":{"StructuredSerializer":["ThrottledActionNonFast*"],"Serializer":["ThrottledActionNonFast*"]},"_$LocalStorageDesignChoiceSetSerializer":{"StructuredSerializer":["LocalStorageDesignChoiceSet*"],"Serializer":["LocalStorageDesignChoiceSet*"]},"_$ResetLocalStorageSerializer":{"StructuredSerializer":["ResetLocalStorage*"],"Serializer":["ResetLocalStorage*"]},"_$ClearHelixSelectionWhenLoadingNewDesignSetSerializer":{"StructuredSerializer":["ClearHelixSelectionWhenLoadingNewDesignSet*"],"Serializer":["ClearHelixSelectionWhenLoadingNewDesignSet*"]},"_$EditModeToggleSerializer":{"StructuredSerializer":["EditModeToggle*"],"Serializer":["EditModeToggle*"]},"_$EditModesSetSerializer":{"StructuredSerializer":["EditModesSet*"],"Serializer":["EditModesSet*"]},"_$SelectModeToggleSerializer":{"StructuredSerializer":["SelectModeToggle*"],"Serializer":["SelectModeToggle*"]},"_$SelectModesAddSerializer":{"StructuredSerializer":["SelectModesAdd*"],"Serializer":["SelectModesAdd*"]},"_$SelectModesSetSerializer":{"StructuredSerializer":["SelectModesSet*"],"Serializer":["SelectModesSet*"]},"_$StrandNameSetSerializer":{"StructuredSerializer":["StrandNameSet*"],"Serializer":["StrandNameSet*"]},"_$StrandLabelSetSerializer":{"StructuredSerializer":["StrandLabelSet*"],"Serializer":["StrandLabelSet*"]},"_$SubstrandNameSetSerializer":{"StructuredSerializer":["SubstrandNameSet*"],"Serializer":["SubstrandNameSet*"]},"_$SubstrandLabelSetSerializer":{"StructuredSerializer":["SubstrandLabelSet*"],"Serializer":["SubstrandLabelSet*"]},"_$SetAppUIStateStorableSerializer":{"StructuredSerializer":["SetAppUIStateStorable*"],"Serializer":["SetAppUIStateStorable*"]},"_$ShowDNASetSerializer":{"StructuredSerializer":["ShowDNASet*"],"Serializer":["ShowDNASet*"]},"_$ShowDomainNamesSetSerializer":{"StructuredSerializer":["ShowDomainNamesSet*"],"Serializer":["ShowDomainNamesSet*"]},"_$ShowStrandNamesSetSerializer":{"StructuredSerializer":["ShowStrandNamesSet*"],"Serializer":["ShowStrandNamesSet*"]},"_$ShowStrandLabelsSetSerializer":{"StructuredSerializer":["ShowStrandLabelsSet*"],"Serializer":["ShowStrandLabelsSet*"]},"_$ShowDomainLabelsSetSerializer":{"StructuredSerializer":["ShowDomainLabelsSet*"],"Serializer":["ShowDomainLabelsSet*"]},"_$ShowModificationsSetSerializer":{"StructuredSerializer":["ShowModificationsSet*"],"Serializer":["ShowModificationsSet*"]},"_$DomainNameFontSizeSetSerializer":{"StructuredSerializer":["DomainNameFontSizeSet*"],"Serializer":["DomainNameFontSizeSet*"]},"_$DomainLabelFontSizeSetSerializer":{"StructuredSerializer":["DomainLabelFontSizeSet*"],"Serializer":["DomainLabelFontSizeSet*"]},"_$StrandNameFontSizeSetSerializer":{"StructuredSerializer":["StrandNameFontSizeSet*"],"Serializer":["StrandNameFontSizeSet*"]},"_$StrandLabelFontSizeSetSerializer":{"StructuredSerializer":["StrandLabelFontSizeSet*"],"Serializer":["StrandLabelFontSizeSet*"]},"_$ModificationFontSizeSetSerializer":{"StructuredSerializer":["ModificationFontSizeSet*"],"Serializer":["ModificationFontSizeSet*"]},"_$MajorTickOffsetFontSizeSetSerializer":{"StructuredSerializer":["MajorTickOffsetFontSizeSet*"],"Serializer":["MajorTickOffsetFontSizeSet*"]},"_$MajorTickWidthFontSizeSetSerializer":{"StructuredSerializer":["MajorTickWidthFontSizeSet*"],"Serializer":["MajorTickWidthFontSizeSet*"]},"_$SetModificationDisplayConnectorSerializer":{"StructuredSerializer":["SetModificationDisplayConnector*"],"Serializer":["SetModificationDisplayConnector*"]},"_$ShowMismatchesSetSerializer":{"StructuredSerializer":["ShowMismatchesSet*"],"Serializer":["ShowMismatchesSet*"]},"_$ShowDomainNameMismatchesSetSerializer":{"StructuredSerializer":["ShowDomainNameMismatchesSet*"],"Serializer":["ShowDomainNameMismatchesSet*"]},"_$ShowUnpairedInsertionDeletionsSetSerializer":{"StructuredSerializer":["ShowUnpairedInsertionDeletionsSet*"],"Serializer":["ShowUnpairedInsertionDeletionsSet*"]},"_$OxviewShowSetSerializer":{"StructuredSerializer":["OxviewShowSet*"],"Serializer":["OxviewShowSet*"]},"_$SetDisplayBaseOffsetsOfMajorTicksOnlyFirstHelixSerializer":{"StructuredSerializer":["SetDisplayBaseOffsetsOfMajorTicksOnlyFirstHelix*"],"Serializer":["SetDisplayBaseOffsetsOfMajorTicksOnlyFirstHelix*"]},"_$DisplayMajorTicksOffsetsSetSerializer":{"StructuredSerializer":["DisplayMajorTicksOffsetsSet*"],"Serializer":["DisplayMajorTicksOffsetsSet*"]},"_$SetDisplayMajorTickWidthsAllHelicesSerializer":{"StructuredSerializer":["SetDisplayMajorTickWidthsAllHelices*"],"Serializer":["SetDisplayMajorTickWidthsAllHelices*"]},"_$SetDisplayMajorTickWidthsSerializer":{"StructuredSerializer":["SetDisplayMajorTickWidths*"],"Serializer":["SetDisplayMajorTickWidths*"]},"_$SetOnlyDisplaySelectedHelicesSerializer":{"StructuredSerializer":["SetOnlyDisplaySelectedHelices*"],"Serializer":["SetOnlyDisplaySelectedHelices*"]},"_$InvertYSetSerializer":{"StructuredSerializer":["InvertYSet*"],"Serializer":["InvertYSet*"]},"_$DynamicHelixUpdateSetSerializer":{"StructuredSerializer":["DynamicHelixUpdateSet*"],"Serializer":["DynamicHelixUpdateSet*"]},"_$WarnOnExitIfUnsavedSetSerializer":{"StructuredSerializer":["WarnOnExitIfUnsavedSet*"],"Serializer":["WarnOnExitIfUnsavedSet*"]},"_$LoadingDialogShowSerializer":{"StructuredSerializer":["LoadingDialogShow*"],"Serializer":["LoadingDialogShow*"]},"_$LoadingDialogHideSerializer":{"StructuredSerializer":["LoadingDialogHide*"],"Serializer":["LoadingDialogHide*"]},"_$CopySelectedStandsToClipboardImageSerializer":{"StructuredSerializer":["CopySelectedStandsToClipboardImage*"],"Serializer":["CopySelectedStandsToClipboardImage*"]},"_$SaveDNAFileSerializer":{"StructuredSerializer":["SaveDNAFile*"],"Serializer":["SaveDNAFile*"]},"_$LoadDNAFileSerializer":{"StructuredSerializer":["LoadDNAFile*"],"Serializer":["LoadDNAFile*"]},"_$PrepareToLoadDNAFileSerializer":{"StructuredSerializer":["PrepareToLoadDNAFile*"],"Serializer":["PrepareToLoadDNAFile*"]},"_$NewDesignSetSerializer":{"StructuredSerializer":["NewDesignSet*"],"Serializer":["NewDesignSet*"]},"_$ExportCadnanoFileSerializer":{"StructuredSerializer":["ExportCadnanoFile*"],"Serializer":["ExportCadnanoFile*"]},"_$ExportCodenanoFileSerializer":{"StructuredSerializer":["ExportCodenanoFile*"],"Serializer":["ExportCodenanoFile*"]},"_$ShowMouseoverDataSetSerializer":{"StructuredSerializer":["ShowMouseoverDataSet*"],"Serializer":["ShowMouseoverDataSet*"]},"_$MouseoverDataClearSerializer":{"StructuredSerializer":["MouseoverDataClear*"],"Serializer":["MouseoverDataClear*"]},"_$MouseoverDataUpdateSerializer":{"StructuredSerializer":["MouseoverDataUpdate*"],"Serializer":["MouseoverDataUpdate*"]},"_$HelixRollSetSerializer":{"StructuredSerializer":["HelixRollSet*"],"Serializer":["HelixRollSet*"]},"_$HelixRollSetAtOtherSerializer":{"StructuredSerializer":["HelixRollSetAtOther*"],"Serializer":["HelixRollSetAtOther*"]},"_$RelaxHelixRollsSerializer":{"StructuredSerializer":["RelaxHelixRolls*"],"Serializer":["RelaxHelixRolls*"]},"_$ErrorMessageSetSerializer":{"StructuredSerializer":["ErrorMessageSet*"],"Serializer":["ErrorMessageSet*"]},"_$SelectionBoxCreateSerializer":{"StructuredSerializer":["SelectionBoxCreate*"],"Serializer":["SelectionBoxCreate*"]},"_$SelectionBoxSizeChangeSerializer":{"StructuredSerializer":["SelectionBoxSizeChange*"],"Serializer":["SelectionBoxSizeChange*"]},"_$SelectionBoxRemoveSerializer":{"StructuredSerializer":["SelectionBoxRemove*"],"Serializer":["SelectionBoxRemove*"]},"_$SelectionRopeCreateSerializer":{"StructuredSerializer":["SelectionRopeCreate*"],"Serializer":["SelectionRopeCreate*"]},"_$SelectionRopeMouseMoveSerializer":{"StructuredSerializer":["SelectionRopeMouseMove*"],"Serializer":["SelectionRopeMouseMove*"]},"_$SelectionRopeAddPointSerializer":{"StructuredSerializer":["SelectionRopeAddPoint*"],"Serializer":["SelectionRopeAddPoint*"]},"_$SelectionRopeRemoveSerializer":{"StructuredSerializer":["SelectionRopeRemove*"],"Serializer":["SelectionRopeRemove*"]},"_$MouseGridPositionSideUpdateSerializer":{"StructuredSerializer":["MouseGridPositionSideUpdate*"],"Serializer":["MouseGridPositionSideUpdate*"]},"_$MouseGridPositionSideClearSerializer":{"StructuredSerializer":["MouseGridPositionSideClear*"],"Serializer":["MouseGridPositionSideClear*"]},"_$MousePositionSideUpdateSerializer":{"StructuredSerializer":["MousePositionSideUpdate*"],"Serializer":["MousePositionSideUpdate*"]},"_$MousePositionSideClearSerializer":{"StructuredSerializer":["MousePositionSideClear*"],"Serializer":["MousePositionSideClear*"]},"_$GeometrySetSerializer":{"StructuredSerializer":["GeometrySet*"],"Serializer":["GeometrySet*"]},"_$SelectionBoxIntersectionRuleSetSerializer":{"StructuredSerializer":["SelectionBoxIntersectionRuleSet*"],"Serializer":["SelectionBoxIntersectionRuleSet*"]},"_$SelectSerializer":{"StructuredSerializer":["Select*"],"Serializer":["Select*"]},"_$SelectionsClearSerializer":{"StructuredSerializer":["SelectionsClear*"],"Serializer":["SelectionsClear*"]},"_$SelectionsAdjustMainViewSerializer":{"StructuredSerializer":["SelectionsAdjustMainView*"],"Serializer":["SelectionsAdjustMainView*"]},"_$SelectOrToggleItemsSerializer":{"StructuredSerializer":["SelectOrToggleItems*"],"Serializer":["SelectOrToggleItems*"]},"_$SelectAllSerializer":{"StructuredSerializer":["SelectAll*"],"Serializer":["SelectAll*"]},"_$SelectAllSelectableSerializer":{"StructuredSerializer":["SelectAllSelectable*"],"Serializer":["SelectAllSelectable*"]},"_$SelectAllWithSameAsSelectedSerializer":{"StructuredSerializer":["SelectAllWithSameAsSelected*"],"Serializer":["SelectAllWithSameAsSelected*"]},"_$DeleteAllSelectedSerializer":{"StructuredSerializer":["DeleteAllSelected*"],"Serializer":["DeleteAllSelected*"]},"_$HelixAddSerializer":{"StructuredSerializer":["HelixAdd*"],"Serializer":["HelixAdd*"]},"_$HelixRemoveSerializer":{"StructuredSerializer":["HelixRemove*"],"Serializer":["HelixRemove*"]},"_$HelixRemoveAllSelectedSerializer":{"StructuredSerializer":["HelixRemoveAllSelected*"],"Serializer":["HelixRemoveAllSelected*"]},"_$HelixSelectSerializer":{"StructuredSerializer":["HelixSelect*"],"Serializer":["HelixSelect*"]},"_$HelixSelectionsClearSerializer":{"StructuredSerializer":["HelixSelectionsClear*"],"Serializer":["HelixSelectionsClear*"]},"_$HelixSelectionsAdjustSerializer":{"StructuredSerializer":["HelixSelectionsAdjust*"],"Serializer":["HelixSelectionsAdjust*"]},"_$HelixMajorTickDistanceChangeSerializer":{"StructuredSerializer":["HelixMajorTickDistanceChange*"],"Serializer":["HelixMajorTickDistanceChange*"]},"_$HelixMajorTickDistanceChangeAllSerializer":{"StructuredSerializer":["HelixMajorTickDistanceChangeAll*"],"Serializer":["HelixMajorTickDistanceChangeAll*"]},"_$HelixMajorTickStartChangeSerializer":{"StructuredSerializer":["HelixMajorTickStartChange*"],"Serializer":["HelixMajorTickStartChange*"]},"_$HelixMajorTickStartChangeAllSerializer":{"StructuredSerializer":["HelixMajorTickStartChangeAll*"],"Serializer":["HelixMajorTickStartChangeAll*"]},"_$HelixMajorTicksChangeSerializer":{"StructuredSerializer":["HelixMajorTicksChange*"],"Serializer":["HelixMajorTicksChange*"]},"_$HelixMajorTicksChangeAllSerializer":{"StructuredSerializer":["HelixMajorTicksChangeAll*"],"Serializer":["HelixMajorTicksChangeAll*"]},"_$HelixMajorTickPeriodicDistancesChangeSerializer":{"StructuredSerializer":["HelixMajorTickPeriodicDistancesChange*"],"Serializer":["HelixMajorTickPeriodicDistancesChange*"]},"_$HelixMajorTickPeriodicDistancesChangeAllSerializer":{"StructuredSerializer":["HelixMajorTickPeriodicDistancesChangeAll*"],"Serializer":["HelixMajorTickPeriodicDistancesChangeAll*"]},"_$HelixIdxsChangeSerializer":{"StructuredSerializer":["HelixIdxsChange*"],"Serializer":["HelixIdxsChange*"]},"_$HelixOffsetChangeSerializer":{"StructuredSerializer":["HelixOffsetChange*"],"Serializer":["HelixOffsetChange*"]},"_$HelixMinOffsetSetByDomainsSerializer":{"StructuredSerializer":["HelixMinOffsetSetByDomains*"],"Serializer":["HelixMinOffsetSetByDomains*"]},"_$HelixMaxOffsetSetByDomainsSerializer":{"StructuredSerializer":["HelixMaxOffsetSetByDomains*"],"Serializer":["HelixMaxOffsetSetByDomains*"]},"_$HelixMinOffsetSetByDomainsAllSerializer":{"StructuredSerializer":["HelixMinOffsetSetByDomainsAll*"],"Serializer":["HelixMinOffsetSetByDomainsAll*"]},"_$HelixMaxOffsetSetByDomainsAllSerializer":{"StructuredSerializer":["HelixMaxOffsetSetByDomainsAll*"],"Serializer":["HelixMaxOffsetSetByDomainsAll*"]},"_$HelixMaxOffsetSetByDomainsAllSameMaxSerializer":{"StructuredSerializer":["HelixMaxOffsetSetByDomainsAllSameMax*"],"Serializer":["HelixMaxOffsetSetByDomainsAllSameMax*"]},"_$HelixOffsetChangeAllSerializer":{"StructuredSerializer":["HelixOffsetChangeAll*"],"Serializer":["HelixOffsetChangeAll*"]},"_$ShowMouseoverRectSetSerializer":{"StructuredSerializer":["ShowMouseoverRectSet*"],"Serializer":["ShowMouseoverRectSet*"]},"_$ShowMouseoverRectToggleSerializer":{"StructuredSerializer":["ShowMouseoverRectToggle*"],"Serializer":["ShowMouseoverRectToggle*"]},"_$ExportDNASerializer":{"StructuredSerializer":["ExportDNA*"],"Serializer":["ExportDNA*"]},"_$ExportSvgSerializer":{"StructuredSerializer":["ExportSvg*"],"Serializer":["ExportSvg*"]},"_$ExportSvgTextSeparatelySetSerializer":{"StructuredSerializer":["ExportSvgTextSeparatelySet*"],"Serializer":["ExportSvgTextSeparatelySet*"]},"_$ExtensionDisplayLengthAngleSetSerializer":{"StructuredSerializer":["ExtensionDisplayLengthAngleSet*"],"Serializer":["ExtensionDisplayLengthAngleSet*"]},"_$ExtensionAddSerializer":{"StructuredSerializer":["ExtensionAdd*"],"Serializer":["ExtensionAdd*"]},"_$ExtensionNumBasesChangeSerializer":{"StructuredSerializer":["ExtensionNumBasesChange*"],"Serializer":["ExtensionNumBasesChange*"]},"_$ExtensionsNumBasesChangeSerializer":{"StructuredSerializer":["ExtensionsNumBasesChange*"],"Serializer":["ExtensionsNumBasesChange*"]},"_$LoopoutLengthChangeSerializer":{"StructuredSerializer":["LoopoutLengthChange*"],"Serializer":["LoopoutLengthChange*"]},"_$LoopoutsLengthChangeSerializer":{"StructuredSerializer":["LoopoutsLengthChange*"],"Serializer":["LoopoutsLengthChange*"]},"_$ConvertCrossoverToLoopoutSerializer":{"StructuredSerializer":["ConvertCrossoverToLoopout*"],"Serializer":["ConvertCrossoverToLoopout*"]},"_$ConvertCrossoversToLoopoutsSerializer":{"StructuredSerializer":["ConvertCrossoversToLoopouts*"],"Serializer":["ConvertCrossoversToLoopouts*"]},"_$NickSerializer":{"StructuredSerializer":["Nick*"],"Serializer":["Nick*"]},"_$LigateSerializer":{"StructuredSerializer":["Ligate*"],"Serializer":["Ligate*"]},"_$JoinStrandsByCrossoverSerializer":{"StructuredSerializer":["JoinStrandsByCrossover*"],"Serializer":["JoinStrandsByCrossover*"]},"_$MoveLinkerSerializer":{"StructuredSerializer":["MoveLinker*"],"Serializer":["MoveLinker*"]},"_$JoinStrandsByMultipleCrossoversSerializer":{"StructuredSerializer":["JoinStrandsByMultipleCrossovers*"],"Serializer":["JoinStrandsByMultipleCrossovers*"]},"_$StrandsReflectSerializer":{"StructuredSerializer":["StrandsReflect*"],"Serializer":["StrandsReflect*"]},"_$ReplaceStrandsSerializer":{"StructuredSerializer":["ReplaceStrands*"],"Serializer":["ReplaceStrands*"]},"_$StrandCreateStartSerializer":{"StructuredSerializer":["StrandCreateStart*"],"Serializer":["StrandCreateStart*"]},"_$StrandCreateAdjustOffsetSerializer":{"StructuredSerializer":["StrandCreateAdjustOffset*"],"Serializer":["StrandCreateAdjustOffset*"]},"_$StrandCreateStopSerializer":{"StructuredSerializer":["StrandCreateStop*"],"Serializer":["StrandCreateStop*"]},"_$StrandCreateCommitSerializer":{"StructuredSerializer":["StrandCreateCommit*"],"Serializer":["StrandCreateCommit*"]},"_$PotentialCrossoverCreateSerializer":{"StructuredSerializer":["PotentialCrossoverCreate*"],"Serializer":["PotentialCrossoverCreate*"]},"_$PotentialCrossoverMoveSerializer":{"StructuredSerializer":["PotentialCrossoverMove*"],"Serializer":["PotentialCrossoverMove*"]},"_$PotentialCrossoverRemoveSerializer":{"StructuredSerializer":["PotentialCrossoverRemove*"],"Serializer":["PotentialCrossoverRemove*"]},"_$ManualPasteInitiateSerializer":{"StructuredSerializer":["ManualPasteInitiate*"],"Serializer":["ManualPasteInitiate*"]},"_$AutoPasteInitiateSerializer":{"StructuredSerializer":["AutoPasteInitiate*"],"Serializer":["AutoPasteInitiate*"]},"_$CopySelectedStrandsSerializer":{"StructuredSerializer":["CopySelectedStrands*"],"Serializer":["CopySelectedStrands*"]},"_$StrandsMoveStartSerializer":{"StructuredSerializer":["StrandsMoveStart*"],"Serializer":["StrandsMoveStart*"]},"_$StrandsMoveStartSelectedStrandsSerializer":{"StructuredSerializer":["StrandsMoveStartSelectedStrands*"],"Serializer":["StrandsMoveStartSelectedStrands*"]},"_$StrandsMoveStopSerializer":{"StructuredSerializer":["StrandsMoveStop*"],"Serializer":["StrandsMoveStop*"]},"_$StrandsMoveAdjustAddressSerializer":{"StructuredSerializer":["StrandsMoveAdjustAddress*"],"Serializer":["StrandsMoveAdjustAddress*"]},"_$StrandsMoveCommitSerializer":{"StructuredSerializer":["StrandsMoveCommit*"],"Serializer":["StrandsMoveCommit*"]},"_$DomainsMoveStartSelectedDomainsSerializer":{"StructuredSerializer":["DomainsMoveStartSelectedDomains*"],"Serializer":["DomainsMoveStartSelectedDomains*"]},"_$DomainsMoveStopSerializer":{"StructuredSerializer":["DomainsMoveStop*"],"Serializer":["DomainsMoveStop*"]},"_$DomainsMoveAdjustAddressSerializer":{"StructuredSerializer":["DomainsMoveAdjustAddress*"],"Serializer":["DomainsMoveAdjustAddress*"]},"_$DomainsMoveCommitSerializer":{"StructuredSerializer":["DomainsMoveCommit*"],"Serializer":["DomainsMoveCommit*"]},"_$DNAEndsMoveStartSerializer":{"StructuredSerializer":["DNAEndsMoveStart*"],"Serializer":["DNAEndsMoveStart*"]},"_$DNAEndsMoveSetSelectedEndsSerializer":{"StructuredSerializer":["DNAEndsMoveSetSelectedEnds*"],"Serializer":["DNAEndsMoveSetSelectedEnds*"]},"_$DNAEndsMoveAdjustOffsetSerializer":{"StructuredSerializer":["DNAEndsMoveAdjustOffset*"],"Serializer":["DNAEndsMoveAdjustOffset*"]},"_$DNAEndsMoveStopSerializer":{"StructuredSerializer":["DNAEndsMoveStop*"],"Serializer":["DNAEndsMoveStop*"]},"_$DNAEndsMoveCommitSerializer":{"StructuredSerializer":["DNAEndsMoveCommit*"],"Serializer":["DNAEndsMoveCommit*"]},"_$DNAExtensionsMoveStartSerializer":{"StructuredSerializer":["DNAExtensionsMoveStart*"],"Serializer":["DNAExtensionsMoveStart*"]},"_$DNAExtensionsMoveSetSelectedExtensionEndsSerializer":{"StructuredSerializer":["DNAExtensionsMoveSetSelectedExtensionEnds*"],"Serializer":["DNAExtensionsMoveSetSelectedExtensionEnds*"]},"_$DNAExtensionsMoveAdjustPositionSerializer":{"StructuredSerializer":["DNAExtensionsMoveAdjustPosition*"],"Serializer":["DNAExtensionsMoveAdjustPosition*"]},"_$DNAExtensionsMoveStopSerializer":{"StructuredSerializer":["DNAExtensionsMoveStop*"],"Serializer":["DNAExtensionsMoveStop*"]},"_$DNAExtensionsMoveCommitSerializer":{"StructuredSerializer":["DNAExtensionsMoveCommit*"],"Serializer":["DNAExtensionsMoveCommit*"]},"_$HelixGroupMoveStartSerializer":{"StructuredSerializer":["HelixGroupMoveStart*"],"Serializer":["HelixGroupMoveStart*"]},"_$HelixGroupMoveCreateSerializer":{"StructuredSerializer":["HelixGroupMoveCreate*"],"Serializer":["HelixGroupMoveCreate*"]},"_$HelixGroupMoveAdjustTranslationSerializer":{"StructuredSerializer":["HelixGroupMoveAdjustTranslation*"],"Serializer":["HelixGroupMoveAdjustTranslation*"]},"_$HelixGroupMoveStopSerializer":{"StructuredSerializer":["HelixGroupMoveStop*"],"Serializer":["HelixGroupMoveStop*"]},"_$HelixGroupMoveCommitSerializer":{"StructuredSerializer":["HelixGroupMoveCommit*"],"Serializer":["HelixGroupMoveCommit*"]},"_$AssignDNASerializer":{"StructuredSerializer":["AssignDNA*"],"Serializer":["AssignDNA*"]},"_$AssignDNAComplementFromBoundStrandsSerializer":{"StructuredSerializer":["AssignDNAComplementFromBoundStrands*"],"Serializer":["AssignDNAComplementFromBoundStrands*"]},"_$AssignDomainNameComplementFromBoundStrandsSerializer":{"StructuredSerializer":["AssignDomainNameComplementFromBoundStrands*"],"Serializer":["AssignDomainNameComplementFromBoundStrands*"]},"_$AssignDomainNameComplementFromBoundDomainsSerializer":{"StructuredSerializer":["AssignDomainNameComplementFromBoundDomains*"],"Serializer":["AssignDomainNameComplementFromBoundDomains*"]},"_$RemoveDNASerializer":{"StructuredSerializer":["RemoveDNA*"],"Serializer":["RemoveDNA*"]},"_$InsertionAddSerializer":{"StructuredSerializer":["InsertionAdd*"],"Serializer":["InsertionAdd*"]},"_$InsertionLengthChangeSerializer":{"StructuredSerializer":["InsertionLengthChange*"],"Serializer":["InsertionLengthChange*"]},"_$InsertionsLengthChangeSerializer":{"StructuredSerializer":["InsertionsLengthChange*"],"Serializer":["InsertionsLengthChange*"]},"_$DeletionAddSerializer":{"StructuredSerializer":["DeletionAdd*"],"Serializer":["DeletionAdd*"]},"_$InsertionRemoveSerializer":{"StructuredSerializer":["InsertionRemove*"],"Serializer":["InsertionRemove*"]},"_$DeletionRemoveSerializer":{"StructuredSerializer":["DeletionRemove*"],"Serializer":["DeletionRemove*"]},"_$ScalePurificationVendorFieldsAssignSerializer":{"StructuredSerializer":["ScalePurificationVendorFieldsAssign*"],"Serializer":["ScalePurificationVendorFieldsAssign*"]},"_$PlateWellVendorFieldsAssignSerializer":{"StructuredSerializer":["PlateWellVendorFieldsAssign*"],"Serializer":["PlateWellVendorFieldsAssign*"]},"_$PlateWellVendorFieldsRemoveSerializer":{"StructuredSerializer":["PlateWellVendorFieldsRemove*"],"Serializer":["PlateWellVendorFieldsRemove*"]},"_$VendorFieldsRemoveSerializer":{"StructuredSerializer":["VendorFieldsRemove*"],"Serializer":["VendorFieldsRemove*"]},"_$ModificationAddSerializer":{"StructuredSerializer":["ModificationAdd*"],"Serializer":["ModificationAdd*"]},"_$ModificationRemoveSerializer":{"StructuredSerializer":["ModificationRemove*"],"Serializer":["ModificationRemove*"]},"_$ModificationConnectorLengthSetSerializer":{"StructuredSerializer":["ModificationConnectorLengthSet*"],"Serializer":["ModificationConnectorLengthSet*"]},"_$ModificationEditSerializer":{"StructuredSerializer":["ModificationEdit*"],"Serializer":["ModificationEdit*"]},"_$Modifications5PrimeEditSerializer":{"StructuredSerializer":["Modifications5PrimeEdit*"],"Serializer":["Modifications5PrimeEdit*"]},"_$Modifications3PrimeEditSerializer":{"StructuredSerializer":["Modifications3PrimeEdit*"],"Serializer":["Modifications3PrimeEdit*"]},"_$ModificationsInternalEditSerializer":{"StructuredSerializer":["ModificationsInternalEdit*"],"Serializer":["ModificationsInternalEdit*"]},"_$GridChangeSerializer":{"StructuredSerializer":["GridChange*"],"Serializer":["GridChange*"]},"_$GroupDisplayedChangeSerializer":{"StructuredSerializer":["GroupDisplayedChange*"],"Serializer":["GroupDisplayedChange*"]},"_$GroupAddSerializer":{"StructuredSerializer":["GroupAdd*"],"Serializer":["GroupAdd*"]},"_$GroupRemoveSerializer":{"StructuredSerializer":["GroupRemove*"],"Serializer":["GroupRemove*"]},"_$GroupChangeSerializer":{"StructuredSerializer":["GroupChange*"],"Serializer":["GroupChange*"]},"_$MoveHelicesToGroupSerializer":{"StructuredSerializer":["MoveHelicesToGroup*"],"Serializer":["MoveHelicesToGroup*"]},"_$DialogShowSerializer":{"StructuredSerializer":["DialogShow*"],"Serializer":["DialogShow*"]},"_$DialogHideSerializer":{"StructuredSerializer":["DialogHide*"],"Serializer":["DialogHide*"]},"_$ContextMenuShowSerializer":{"StructuredSerializer":["ContextMenuShow*"],"Serializer":["ContextMenuShow*"]},"_$ContextMenuHideSerializer":{"StructuredSerializer":["ContextMenuHide*"],"Serializer":["ContextMenuHide*"]},"_$StrandOrSubstrandColorPickerShowSerializer":{"StructuredSerializer":["StrandOrSubstrandColorPickerShow*"],"Serializer":["StrandOrSubstrandColorPickerShow*"]},"_$StrandOrSubstrandColorPickerHideSerializer":{"StructuredSerializer":["StrandOrSubstrandColorPickerHide*"],"Serializer":["StrandOrSubstrandColorPickerHide*"]},"_$ScaffoldSetSerializer":{"StructuredSerializer":["ScaffoldSet*"],"Serializer":["ScaffoldSet*"]},"_$StrandOrSubstrandColorSetSerializer":{"StructuredSerializer":["StrandOrSubstrandColorSet*"],"Serializer":["StrandOrSubstrandColorSet*"]},"_$StrandPasteKeepColorSetSerializer":{"StructuredSerializer":["StrandPasteKeepColorSet*"],"Serializer":["StrandPasteKeepColorSet*"]},"_$ExampleDesignsLoadSerializer":{"StructuredSerializer":["ExampleDesignsLoad*"],"Serializer":["ExampleDesignsLoad*"]},"_$BasePairTypeSetSerializer":{"StructuredSerializer":["BasePairTypeSet*"],"Serializer":["BasePairTypeSet*"]},"_$HelixPositionSetSerializer":{"StructuredSerializer":["HelixPositionSet*"],"Serializer":["HelixPositionSet*"]},"_$HelixGridPositionSetSerializer":{"StructuredSerializer":["HelixGridPositionSet*"],"Serializer":["HelixGridPositionSet*"]},"_$HelicesPositionsSetBasedOnCrossoversSerializer":{"StructuredSerializer":["HelicesPositionsSetBasedOnCrossovers*"],"Serializer":["HelicesPositionsSetBasedOnCrossovers*"]},"_$InlineInsertionsDeletionsSerializer":{"StructuredSerializer":["InlineInsertionsDeletions*"],"Serializer":["InlineInsertionsDeletions*"]},"_$DefaultCrossoverTypeForSettingHelixRollsSetSerializer":{"StructuredSerializer":["DefaultCrossoverTypeForSettingHelixRollsSet*"],"Serializer":["DefaultCrossoverTypeForSettingHelixRollsSet*"]},"_$AutofitSetSerializer":{"StructuredSerializer":["AutofitSet*"],"Serializer":["AutofitSet*"]},"_$ShowHelixCirclesMainViewSetSerializer":{"StructuredSerializer":["ShowHelixCirclesMainViewSet*"],"Serializer":["ShowHelixCirclesMainViewSet*"]},"_$ShowHelixComponentsMainViewSetSerializer":{"StructuredSerializer":["ShowHelixComponentsMainViewSet*"],"Serializer":["ShowHelixComponentsMainViewSet*"]},"_$ShowEditMenuToggleSerializer":{"StructuredSerializer":["ShowEditMenuToggle*"],"Serializer":["ShowEditMenuToggle*"]},"_$ShowGridCoordinatesSideViewSetSerializer":{"StructuredSerializer":["ShowGridCoordinatesSideViewSet*"],"Serializer":["ShowGridCoordinatesSideViewSet*"]},"_$ShowAxisArrowsSetSerializer":{"StructuredSerializer":["ShowAxisArrowsSet*"],"Serializer":["ShowAxisArrowsSet*"]},"_$ShowLoopoutExtensionLengthSetSerializer":{"StructuredSerializer":["ShowLoopoutExtensionLengthSet*"],"Serializer":["ShowLoopoutExtensionLengthSet*"]},"_$LoadDnaSequenceImageUriSerializer":{"StructuredSerializer":["LoadDnaSequenceImageUri*"],"Serializer":["LoadDnaSequenceImageUri*"]},"_$SetIsZoomAboveThresholdSerializer":{"StructuredSerializer":["SetIsZoomAboveThreshold*"],"Serializer":["SetIsZoomAboveThreshold*"]},"_$SetExportSvgActionDelayedForPngCacheSerializer":{"StructuredSerializer":["SetExportSvgActionDelayedForPngCache*"],"Serializer":["SetExportSvgActionDelayedForPngCache*"]},"_$ShowBasePairLinesSetSerializer":{"StructuredSerializer":["ShowBasePairLinesSet*"],"Serializer":["ShowBasePairLinesSet*"]},"_$ShowBasePairLinesWithMismatchesSetSerializer":{"StructuredSerializer":["ShowBasePairLinesWithMismatchesSet*"],"Serializer":["ShowBasePairLinesWithMismatchesSet*"]},"_$ShowSliceBarSetSerializer":{"StructuredSerializer":["ShowSliceBarSet*"],"Serializer":["ShowSliceBarSet*"]},"_$SliceBarOffsetSetSerializer":{"StructuredSerializer":["SliceBarOffsetSet*"],"Serializer":["SliceBarOffsetSet*"]},"_$DisablePngCachingDnaSequencesSetSerializer":{"StructuredSerializer":["DisablePngCachingDnaSequencesSet*"],"Serializer":["DisablePngCachingDnaSequencesSet*"]},"_$RetainStrandColorOnSelectionSetSerializer":{"StructuredSerializer":["RetainStrandColorOnSelectionSet*"],"Serializer":["RetainStrandColorOnSelectionSet*"]},"_$DisplayReverseDNARightSideUpSetSerializer":{"StructuredSerializer":["DisplayReverseDNARightSideUpSet*"],"Serializer":["DisplayReverseDNARightSideUpSet*"]},"_$SliceBarMoveStartSerializer":{"StructuredSerializer":["SliceBarMoveStart*"],"Serializer":["SliceBarMoveStart*"]},"_$SliceBarMoveStopSerializer":{"StructuredSerializer":["SliceBarMoveStop*"],"Serializer":["SliceBarMoveStop*"]},"_$AutostapleSerializer":{"StructuredSerializer":["Autostaple*"],"Serializer":["Autostaple*"]},"_$AutobreakSerializer":{"StructuredSerializer":["Autobreak*"],"Serializer":["Autobreak*"]},"_$ZoomSpeedSetSerializer":{"StructuredSerializer":["ZoomSpeedSet*"],"Serializer":["ZoomSpeedSet*"]},"_$OxdnaExportSerializer":{"StructuredSerializer":["OxdnaExport*"],"Serializer":["OxdnaExport*"]},"_$OxviewExportSerializer":{"StructuredSerializer":["OxviewExport*"],"Serializer":["OxviewExport*"]},"_$OxExportOnlySelectedStrandsSetSerializer":{"StructuredSerializer":["OxExportOnlySelectedStrandsSet*"],"Serializer":["OxExportOnlySelectedStrandsSet*"]},"_$SkipUndo":{"SkipUndo":[],"Action":[]},"_$Undo":{"Undo":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"_$Redo":{"Redo":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"_$UndoRedoClear":{"UndoRedoClear":[],"Action":[]},"_$BatchAction":{"BatchAction":[],"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"_$ThrottledActionFast":{"ThrottledActionFast":[],"ThrottledAction":[],"FastAction":[],"Action":[]},"_$ThrottledActionNonFast":{"ThrottledActionNonFast":[],"ThrottledAction":[],"Action":[]},"_$LocalStorageDesignChoiceSet":{"LocalStorageDesignChoiceSet":[],"Action":[]},"_$ResetLocalStorage":{"ResetLocalStorage":[],"Action":[]},"_$ClearHelixSelectionWhenLoadingNewDesignSet":{"ClearHelixSelectionWhenLoadingNewDesignSet":[],"Action":[]},"_$EditModeToggle":{"EditModeToggle":[],"Action":[]},"_$EditModesSet":{"EditModesSet":[],"Action":[]},"_$SelectModeToggle":{"SelectModeToggle":[],"Action":[]},"_$SelectModesAdd":{"SelectModesAdd":[],"Action":[]},"_$SelectModesSet":{"SelectModesSet":[],"Action":[]},"_$StrandNameSet":{"StrandNameSet":[],"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"SingleStrandAction":[],"Action":[]},"_$StrandLabelSet":{"StrandLabelSet":[],"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"SingleStrandAction":[],"Action":[]},"_$SubstrandNameSet":{"SubstrandNameSet":[],"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"StrandPartAction":[],"Action":[]},"_$SubstrandLabelSet":{"SubstrandLabelSet":[],"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"StrandPartAction":[],"Action":[]},"_$SetAppUIStateStorable":{"SetAppUIStateStorable":[],"Action":[]},"_$ShowDNASet":{"ShowDNASet":[],"Action":[]},"_$ShowDomainNamesSet":{"ShowDomainNamesSet":[],"Action":[]},"_$ShowStrandNamesSet":{"ShowStrandNamesSet":[],"Action":[]},"_$ShowStrandLabelsSet":{"ShowStrandLabelsSet":[],"Action":[]},"_$ShowDomainLabelsSet":{"ShowDomainLabelsSet":[],"Action":[]},"_$ShowModificationsSet":{"ShowModificationsSet":[],"Action":[]},"_$DomainNameFontSizeSet":{"DomainNameFontSizeSet":[],"Action":[]},"_$DomainLabelFontSizeSet":{"DomainLabelFontSizeSet":[],"Action":[]},"_$StrandNameFontSizeSet":{"StrandNameFontSizeSet":[],"Action":[]},"_$StrandLabelFontSizeSet":{"StrandLabelFontSizeSet":[],"Action":[]},"_$ModificationFontSizeSet":{"ModificationFontSizeSet":[],"Action":[]},"_$MajorTickOffsetFontSizeSet":{"MajorTickOffsetFontSizeSet":[],"Action":[]},"_$MajorTickWidthFontSizeSet":{"MajorTickWidthFontSizeSet":[],"Action":[]},"_$SetModificationDisplayConnector":{"SetModificationDisplayConnector":[],"Action":[]},"_$ShowMismatchesSet":{"ShowMismatchesSet":[],"Action":[]},"_$ShowDomainNameMismatchesSet":{"ShowDomainNameMismatchesSet":[],"Action":[]},"_$ShowUnpairedInsertionDeletionsSet":{"ShowUnpairedInsertionDeletionsSet":[],"Action":[]},"_$OxviewShowSet":{"OxviewShowSet":[],"Action":[]},"_$SetDisplayBaseOffsetsOfMajorTicksOnlyFirstHelix":{"SetDisplayBaseOffsetsOfMajorTicksOnlyFirstHelix":[],"Action":[]},"_$DisplayMajorTicksOffsetsSet":{"DisplayMajorTicksOffsetsSet":[],"Action":[]},"_$SetDisplayMajorTickWidthsAllHelices":{"SetDisplayMajorTickWidthsAllHelices":[],"Action":[]},"_$SetDisplayMajorTickWidths":{"SetDisplayMajorTickWidths":[],"Action":[]},"_$SetOnlyDisplaySelectedHelices":{"SetOnlyDisplaySelectedHelices":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"_$InvertYSet":{"InvertYSet":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"_$DynamicHelixUpdateSet":{"DynamicHelixUpdateSet":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"_$WarnOnExitIfUnsavedSet":{"WarnOnExitIfUnsavedSet":[],"Action":[]},"_$LoadingDialogShow":{"LoadingDialogShow":[],"Action":[]},"_$LoadingDialogHide":{"LoadingDialogHide":[],"Action":[]},"_$CopySelectedStandsToClipboardImage":{"CopySelectedStandsToClipboardImage":[],"Action":[]},"_$SaveDNAFile":{"SaveDNAFile":[],"Action":[]},"_$LoadDNAFile":{"LoadDNAFile":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"_$PrepareToLoadDNAFile":{"PrepareToLoadDNAFile":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"_$NewDesignSet":{"NewDesignSet":[],"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"_$ExportCadnanoFile":{"ExportCadnanoFile":[],"Action":[]},"_$ExportCodenanoFile":{"ExportCodenanoFile":[],"Action":[]},"_$ShowMouseoverDataSet":{"ShowMouseoverDataSet":[],"Action":[]},"_$MouseoverDataClear":{"MouseoverDataClear":[],"Action":[]},"_$MouseoverDataUpdate":{"MouseoverDataUpdate":[],"Action":[]},"_$HelixRollSet":{"HelixRollSet":[],"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"HelixIndividualAction":[],"Action":[]},"_$HelixRollSetAtOther":{"HelixRollSetAtOther":[],"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"_$RelaxHelixRolls":{"RelaxHelixRolls":[],"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"_$ErrorMessageSet":{"ErrorMessageSet":[],"Action":[]},"_$SelectionBoxCreate":{"SelectionBoxCreate":[],"Action":[]},"_$SelectionBoxSizeChange":{"SelectionBoxSizeChange":[],"FastAction":[],"Action":[]},"_$SelectionBoxRemove":{"SelectionBoxRemove":[],"Action":[]},"_$SelectionRopeCreate":{"SelectionRopeCreate":[],"Action":[]},"_$SelectionRopeMouseMove":{"SelectionRopeMouseMove":[],"FastAction":[],"Action":[]},"_$SelectionRopeAddPoint":{"SelectionRopeAddPoint":[],"Action":[]},"_$SelectionRopeRemove":{"SelectionRopeRemove":[],"Action":[]},"_$MouseGridPositionSideUpdate":{"MouseGridPositionSideUpdate":[],"Action":[]},"_$MouseGridPositionSideClear":{"MouseGridPositionSideClear":[],"Action":[]},"_$MousePositionSideUpdate":{"MousePositionSideUpdate":[],"Action":[]},"_$MousePositionSideClear":{"MousePositionSideClear":[],"Action":[]},"_$GeometrySet":{"GeometrySet":[],"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"_$SelectionBoxIntersectionRuleSet":{"SelectionBoxIntersectionRuleSet":[],"Action":[]},"_$Select":{"Select":[],"Action":[]},"_$SelectionsClear":{"SelectionsClear":[],"Action":[]},"_$SelectionsAdjustMainView":{"SelectionsAdjustMainView":[],"Action":[]},"_$SelectOrToggleItems":{"SelectOrToggleItems":[],"Action":[]},"_$SelectAll":{"SelectAll":[],"Action":[]},"_$SelectAllSelectable":{"SelectAllSelectable":[],"Action":[]},"_$SelectAllWithSameAsSelected":{"SelectAllWithSameAsSelected":[],"Action":[]},"_$DeleteAllSelected":{"DeleteAllSelected":[],"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"_$HelixAdd":{"HelixAdd":[],"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"_$HelixRemove":{"HelixRemove":[],"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"_$HelixRemoveAllSelected":{"HelixRemoveAllSelected":[],"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"_$HelixSelect":{"HelixSelect":[],"HelixSelectSvgPngCacheInvalidatingAction":[],"Action":[]},"_$HelixSelectionsClear":{"HelixSelectionsClear":[],"HelixSelectSvgPngCacheInvalidatingAction":[],"Action":[]},"_$HelixSelectionsAdjust":{"HelixSelectionsAdjust":[],"HelixSelectSvgPngCacheInvalidatingAction":[],"Action":[]},"_$HelixMajorTickDistanceChange":{"HelixMajorTickDistanceChange":[],"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"HelixIndividualAction":[],"Action":[]},"_$HelixMajorTickDistanceChangeAll":{"HelixMajorTickDistanceChangeAll":[],"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"_$HelixMajorTickStartChange":{"HelixMajorTickStartChange":[],"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"HelixIndividualAction":[],"Action":[]},"_$HelixMajorTickStartChangeAll":{"HelixMajorTickStartChangeAll":[],"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"_$HelixMajorTicksChange":{"HelixMajorTicksChange":[],"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"HelixIndividualAction":[],"Action":[]},"_$HelixMajorTicksChangeAll":{"HelixMajorTicksChangeAll":[],"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"_$HelixMajorTickPeriodicDistancesChange":{"HelixMajorTickPeriodicDistancesChange":[],"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"HelixIndividualAction":[],"Action":[]},"_$HelixMajorTickPeriodicDistancesChangeAll":{"HelixMajorTickPeriodicDistancesChangeAll":[],"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"_$HelixIdxsChange":{"HelixIdxsChange":[],"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"_$HelixOffsetChange":{"HelixOffsetChange":[],"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"HelixIndividualAction":[],"Action":[]},"_$HelixMinOffsetSetByDomains":{"HelixMinOffsetSetByDomains":[],"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"HelixIndividualAction":[],"Action":[]},"_$HelixMaxOffsetSetByDomains":{"HelixMaxOffsetSetByDomains":[],"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"HelixIndividualAction":[],"Action":[]},"_$HelixMinOffsetSetByDomainsAll":{"HelixMinOffsetSetByDomainsAll":[],"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"_$HelixMaxOffsetSetByDomainsAll":{"HelixMaxOffsetSetByDomainsAll":[],"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"_$HelixMaxOffsetSetByDomainsAllSameMax":{"HelixMaxOffsetSetByDomainsAllSameMax":[],"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"_$HelixOffsetChangeAll":{"HelixOffsetChangeAll":[],"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"_$ShowMouseoverRectSet":{"ShowMouseoverRectSet":[],"Action":[]},"_$ShowMouseoverRectToggle":{"ShowMouseoverRectToggle":[],"Action":[]},"_$ExportDNA":{"ExportDNA":[],"Action":[]},"_$ExportCanDoDNA":{"ExportCanDoDNA":[],"Action":[]},"_$ExportSvg":{"ExportSvg":[],"Action":[]},"_$ExportSvgTextSeparatelySet":{"ExportSvgTextSeparatelySet":[],"Action":[]},"_$ExtensionDisplayLengthAngleSet":{"ExtensionDisplayLengthAngleSet":[],"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"StrandPartAction":[],"Action":[]},"_$ExtensionAdd":{"ExtensionAdd":[],"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"SingleStrandAction":[],"Action":[]},"_$ExtensionNumBasesChange":{"ExtensionNumBasesChange":[],"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"StrandPartAction":[],"Action":[]},"_$ExtensionsNumBasesChange":{"ExtensionsNumBasesChange":[],"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"_$LoopoutLengthChange":{"LoopoutLengthChange":[],"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"StrandPartAction":[],"Action":[]},"_$LoopoutsLengthChange":{"LoopoutsLengthChange":[],"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"_$ConvertCrossoverToLoopout":{"ConvertCrossoverToLoopout":[],"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"StrandPartAction":[],"Action":[]},"_$ConvertCrossoversToLoopouts":{"ConvertCrossoversToLoopouts":[],"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"_$Nick":{"Nick":[],"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"_$Ligate":{"Ligate":[],"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"_$JoinStrandsByCrossover":{"JoinStrandsByCrossover":[],"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"_$MoveLinker":{"MoveLinker":[],"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"_$JoinStrandsByMultipleCrossovers":{"JoinStrandsByMultipleCrossovers":[],"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"_$StrandsReflect":{"StrandsReflect":[],"Action":[]},"_$ReplaceStrands":{"ReplaceStrands":[],"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"_$StrandCreateStart":{"StrandCreateStart":[],"Action":[]},"_$StrandCreateAdjustOffset":{"StrandCreateAdjustOffset":[],"Action":[]},"_$StrandCreateStop":{"StrandCreateStop":[],"Action":[]},"_$StrandCreateCommit":{"StrandCreateCommit":[],"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"_$PotentialCrossoverCreate":{"PotentialCrossoverCreate":[],"Action":[]},"_$PotentialCrossoverMove":{"PotentialCrossoverMove":[],"FastAction":[],"Action":[]},"_$PotentialCrossoverRemove":{"PotentialCrossoverRemove":[],"Action":[]},"_$ManualPasteInitiate":{"ManualPasteInitiate":[],"Action":[]},"_$AutoPasteInitiate":{"AutoPasteInitiate":[],"Action":[]},"_$CopySelectedStrands":{"CopySelectedStrands":[],"Action":[]},"_$StrandsMoveStart":{"StrandsMoveStart":[],"Action":[]},"_$StrandsMoveStartSelectedStrands":{"StrandsMoveStartSelectedStrands":[],"Action":[]},"_$StrandsMoveStop":{"StrandsMoveStop":[],"Action":[]},"_$StrandsMoveAdjustAddress":{"StrandsMoveAdjustAddress":[],"Action":[]},"_$StrandsMoveCommit":{"StrandsMoveCommit":[],"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"_$DomainsMoveStartSelectedDomains":{"DomainsMoveStartSelectedDomains":[],"Action":[]},"_$DomainsMoveStop":{"DomainsMoveStop":[],"Action":[]},"_$DomainsMoveAdjustAddress":{"DomainsMoveAdjustAddress":[],"Action":[]},"_$DomainsMoveCommit":{"DomainsMoveCommit":[],"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"_$DNAEndsMoveStart":{"DNAEndsMoveStart":[],"Action":[]},"_$DNAEndsMoveSetSelectedEnds":{"DNAEndsMoveSetSelectedEnds":[],"Action":[]},"_$DNAEndsMoveAdjustOffset":{"DNAEndsMoveAdjustOffset":[],"FastAction":[],"Action":[]},"_$DNAEndsMoveStop":{"DNAEndsMoveStop":[],"Action":[]},"_$DNAEndsMoveCommit":{"DNAEndsMoveCommit":[],"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"_$DNAExtensionsMoveStart":{"DNAExtensionsMoveStart":[],"Action":[]},"_$DNAExtensionsMoveSetSelectedExtensionEnds":{"DNAExtensionsMoveSetSelectedExtensionEnds":[],"Action":[]},"_$DNAExtensionsMoveAdjustPosition":{"DNAExtensionsMoveAdjustPosition":[],"FastAction":[],"Action":[]},"_$DNAExtensionsMoveStop":{"DNAExtensionsMoveStop":[],"Action":[]},"_$DNAExtensionsMoveCommit":{"DNAExtensionsMoveCommit":[],"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"_$HelixGroupMoveStart":{"HelixGroupMoveStart":[],"Action":[]},"_$HelixGroupMoveCreate":{"HelixGroupMoveCreate":[],"Action":[]},"_$HelixGroupMoveAdjustTranslation":{"HelixGroupMoveAdjustTranslation":[],"FastAction":[],"Action":[]},"_$HelixGroupMoveStop":{"HelixGroupMoveStop":[],"Action":[]},"_$HelixGroupMoveCommit":{"HelixGroupMoveCommit":[],"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"_$AssignDNA":{"AssignDNA":[],"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"_$AssignDNAComplementFromBoundStrands":{"AssignDNAComplementFromBoundStrands":[],"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"_$AssignDomainNameComplementFromBoundStrands":{"AssignDomainNameComplementFromBoundStrands":[],"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"_$AssignDomainNameComplementFromBoundDomains":{"AssignDomainNameComplementFromBoundDomains":[],"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"_$RemoveDNA":{"RemoveDNA":[],"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"SingleStrandAction":[],"Action":[]},"_$InsertionAdd":{"InsertionAdd":[],"InsertionOrDeletionAction":[],"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"StrandPartAction":[],"Action":[]},"_$InsertionLengthChange":{"InsertionLengthChange":[],"InsertionOrDeletionAction":[],"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"StrandPartAction":[],"Action":[]},"_$InsertionsLengthChange":{"InsertionsLengthChange":[],"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"_$DeletionAdd":{"DeletionAdd":[],"InsertionOrDeletionAction":[],"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"StrandPartAction":[],"Action":[]},"_$InsertionRemove":{"InsertionRemove":[],"InsertionOrDeletionAction":[],"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"StrandPartAction":[],"Action":[]},"_$DeletionRemove":{"DeletionRemove":[],"InsertionOrDeletionAction":[],"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"StrandPartAction":[],"Action":[]},"_$ScalePurificationVendorFieldsAssign":{"ScalePurificationVendorFieldsAssign":[],"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"SingleStrandAction":[],"Action":[]},"_$PlateWellVendorFieldsAssign":{"PlateWellVendorFieldsAssign":[],"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"SingleStrandAction":[],"Action":[]},"_$PlateWellVendorFieldsRemove":{"PlateWellVendorFieldsRemove":[],"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"SingleStrandAction":[],"Action":[]},"_$VendorFieldsRemove":{"VendorFieldsRemove":[],"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"SingleStrandAction":[],"Action":[]},"_$ModificationAdd":{"ModificationAdd":[],"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"SingleStrandAction":[],"Action":[]},"_$ModificationRemove":{"ModificationRemove":[],"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"SingleStrandAction":[],"Action":[]},"_$ModificationConnectorLengthSet":{"ModificationConnectorLengthSet":[],"Action":[]},"_$ModificationEdit":{"ModificationEdit":[],"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"SingleStrandAction":[],"Action":[]},"_$Modifications5PrimeEdit":{"Modifications5PrimeEdit":[],"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"_$Modifications3PrimeEdit":{"Modifications3PrimeEdit":[],"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"_$ModificationsInternalEdit":{"ModificationsInternalEdit":[],"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"_$GridChange":{"GridChange":[],"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"_$GroupDisplayedChange":{"GroupDisplayedChange":[],"Action":[]},"_$GroupAdd":{"GroupAdd":[],"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"_$GroupRemove":{"GroupRemove":[],"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"_$GroupChange":{"GroupChange":[],"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"_$MoveHelicesToGroup":{"MoveHelicesToGroup":[],"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"_$DialogShow":{"DialogShow":[],"Action":[]},"_$DialogHide":{"DialogHide":[],"Action":[]},"_$ContextMenuShow":{"ContextMenuShow":[],"Action":[]},"_$ContextMenuHide":{"ContextMenuHide":[],"Action":[]},"_$StrandOrSubstrandColorPickerShow":{"StrandOrSubstrandColorPickerShow":[],"Action":[]},"_$StrandOrSubstrandColorPickerHide":{"StrandOrSubstrandColorPickerHide":[],"Action":[]},"_$ScaffoldSet":{"ScaffoldSet":[],"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"SingleStrandAction":[],"Action":[]},"_$StrandOrSubstrandColorSet":{"StrandOrSubstrandColorSet":[],"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"SingleStrandAction":[],"Action":[]},"_$StrandPasteKeepColorSet":{"StrandPasteKeepColorSet":[],"Action":[]},"_$ExampleDesignsLoad":{"ExampleDesignsLoad":[],"Action":[]},"_$BasePairTypeSet":{"BasePairTypeSet":[],"Action":[]},"_$HelixPositionSet":{"HelixPositionSet":[],"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"HelixIndividualAction":[],"Action":[]},"_$HelixGridPositionSet":{"HelixGridPositionSet":[],"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"HelixIndividualAction":[],"Action":[]},"_$HelicesPositionsSetBasedOnCrossovers":{"HelicesPositionsSetBasedOnCrossovers":[]},"_$InlineInsertionsDeletions":{"InlineInsertionsDeletions":[],"UndoableAction":[],"DesignChangingAction":[],"SvgPngCacheInvalidatingAction":[],"Action":[]},"_$DefaultCrossoverTypeForSettingHelixRollsSet":{"DefaultCrossoverTypeForSettingHelixRollsSet":[],"Action":[]},"_$AutofitSet":{"AutofitSet":[],"Action":[]},"_$ShowHelixCirclesMainViewSet":{"ShowHelixCirclesMainViewSet":[],"Action":[]},"_$ShowHelixComponentsMainViewSet":{"ShowHelixComponentsMainViewSet":[],"Action":[]},"_$ShowEditMenuToggle":{"ShowEditMenuToggle":[],"Action":[]},"_$ShowGridCoordinatesSideViewSet":{"ShowGridCoordinatesSideViewSet":[],"Action":[]},"_$ShowAxisArrowsSet":{"ShowAxisArrowsSet":[],"Action":[]},"_$ShowLoopoutExtensionLengthSet":{"ShowLoopoutExtensionLengthSet":[]},"_$LoadDnaSequenceImageUri":{"LoadDnaSequenceImageUri":[],"Action":[]},"_$SetIsZoomAboveThreshold":{"SetIsZoomAboveThreshold":[],"Action":[]},"_$SetExportSvgActionDelayedForPngCache":{"SetExportSvgActionDelayedForPngCache":[],"Action":[]},"_$ShowBasePairLinesSet":{"ShowBasePairLinesSet":[],"Action":[]},"_$ShowBasePairLinesWithMismatchesSet":{"ShowBasePairLinesWithMismatchesSet":[],"Action":[]},"_$ShowSliceBarSet":{"ShowSliceBarSet":[],"Action":[]},"_$SliceBarOffsetSet":{"SliceBarOffsetSet":[],"Action":[]},"_$DisablePngCachingDnaSequencesSet":{"DisablePngCachingDnaSequencesSet":[],"Action":[]},"_$RetainStrandColorOnSelectionSet":{"RetainStrandColorOnSelectionSet":[],"Action":[]},"_$DisplayReverseDNARightSideUpSet":{"DisplayReverseDNARightSideUpSet":[],"Action":[]},"_$SliceBarMoveStart":{"SliceBarMoveStart":[],"Action":[]},"_$SliceBarMoveStop":{"SliceBarMoveStop":[],"Action":[]},"_$Autostaple":{"Autostaple":[],"Action":[]},"_$Autobreak":{"Autobreak":[],"Action":[]},"_$ZoomSpeedSet":{"ZoomSpeedSet":[],"Action":[]},"_$OxdnaExport":{"OxdnaExport":[],"Action":[]},"_$OxviewExport":{"OxviewExport":[],"Action":[]},"_$OxExportOnlySelectedStrandsSet":{"OxExportOnlySelectedStrandsSet":[],"Action":[]},"_$DNAFileTypeSerializer":{"PrimitiveSerializer":["DNAFileType*"],"Serializer":["DNAFileType*"]},"_$DNASequencePredefinedSerializer":{"PrimitiveSerializer":["DNASequencePredefined*"],"Serializer":["DNASequencePredefined*"]},"SuppressableIndentEncoder":{"JsonEncoder":[],"Converter":["Object*","String*"]},"PointSerializer":{"PrimitiveSerializer":["Point<1*>*"],"Serializer":["Point<1*>*"]},"ColorSerializer":{"PrimitiveSerializer":["Color*"],"Serializer":["Color*"]},"_$AddressSerializer":{"StructuredSerializer":["Address*"],"Serializer":["Address*"]},"_$AddressDifferenceSerializer":{"StructuredSerializer":["AddressDifference*"],"Serializer":["AddressDifference*"]},"_$Address":{"Address":[]},"_$AddressDifference":{"AddressDifference":[]},"_$AppState":{"AppState":[]},"_$AppUIStateSerializer":{"StructuredSerializer":["AppUIState*"],"Serializer":["AppUIState*"]},"_$AppUIState":{"AppUIState":[]},"_$AppUIStateStorablesSerializer":{"StructuredSerializer":["AppUIStateStorables*"],"Serializer":["AppUIStateStorables*"]},"_$AppUIStateStorables":{"AppUIStateStorables":[]},"_$BasePairDisplayTypeSerializer":{"PrimitiveSerializer":["BasePairDisplayType*"],"Serializer":["BasePairDisplayType*"]},"_$ContextMenuSerializer":{"StructuredSerializer":["ContextMenu*"],"Serializer":["ContextMenu*"]},"_$ContextMenuItemSerializer":{"StructuredSerializer":["ContextMenuItem*"],"Serializer":["ContextMenuItem*"]},"_$ContextMenu":{"ContextMenu":[]},"_$ContextMenuItem":{"ContextMenuItem":[]},"_$CopyInfoSerializer":{"StructuredSerializer":["CopyInfo*"],"Serializer":["CopyInfo*"]},"_$CopyInfo":{"CopyInfo":[]},"Crossover":{"SelectableMixin":[],"Selectable":[],"Linker":[]},"_$CrossoverSerializer":{"StructuredSerializer":["Crossover*"],"Serializer":["Crossover*"]},"_$Crossover":{"Crossover":[],"SelectableMixin":[],"Selectable":[],"Linker":[]},"IllegalDesignError":{"Exception":[]},"IllegalCadnanoDesignError":{"IllegalDesignError":[],"Exception":[]},"StrandError":{"IllegalDesignError":[],"Exception":[]},"_$Design":{"Design":[]},"_$DesignSideRotationParamsSerializer":{"StructuredSerializer":["DesignSideRotationParams*"],"Serializer":["DesignSideRotationParams*"]},"_$DesignSideRotationDataSerializer":{"StructuredSerializer":["DesignSideRotationData*"],"Serializer":["DesignSideRotationData*"]},"_$DesignSideRotationParams":{"DesignSideRotationParams":[]},"_$DesignSideRotationData":{"DesignSideRotationData":[]},"DialogInteger":{"DialogItem":[]},"DialogFloat":{"DialogItem":[]},"DialogText":{"DialogItem":[]},"DialogTextArea":{"DialogItem":[]},"DialogCheckbox":{"DialogItem":[]},"DialogRadio":{"DialogItem":[]},"DialogLink":{"DialogItem":[]},"DialogLabel":{"DialogItem":[]},"_$DialogTypeSerializer":{"PrimitiveSerializer":["DialogType*"],"Serializer":["DialogType*"]},"_$DialogSerializer":{"StructuredSerializer":["Dialog*"],"Serializer":["Dialog*"]},"_$DialogIntegerSerializer":{"StructuredSerializer":["DialogInteger*"],"Serializer":["DialogInteger*"]},"_$DialogFloatSerializer":{"StructuredSerializer":["DialogFloat*"],"Serializer":["DialogFloat*"]},"_$DialogTextSerializer":{"StructuredSerializer":["DialogText*"],"Serializer":["DialogText*"]},"_$DialogTextAreaSerializer":{"StructuredSerializer":["DialogTextArea*"],"Serializer":["DialogTextArea*"]},"_$DialogCheckboxSerializer":{"StructuredSerializer":["DialogCheckbox*"],"Serializer":["DialogCheckbox*"]},"_$DialogRadioSerializer":{"StructuredSerializer":["DialogRadio*"],"Serializer":["DialogRadio*"]},"_$DialogLinkSerializer":{"StructuredSerializer":["DialogLink*"],"Serializer":["DialogLink*"]},"_$Dialog":{"Dialog":[]},"_$DialogInteger":{"DialogInteger":[],"DialogItem":[]},"_$DialogFloat":{"DialogFloat":[],"DialogItem":[]},"_$DialogText":{"DialogText":[],"DialogItem":[]},"_$DialogTextArea":{"DialogTextArea":[],"DialogItem":[]},"_$DialogCheckbox":{"DialogCheckbox":[],"DialogItem":[]},"_$DialogRadio":{"DialogRadio":[],"DialogItem":[]},"_$DialogLink":{"DialogLink":[],"DialogItem":[]},"_$DialogLabel":{"DialogLabel":[],"DialogItem":[]},"_$DNAAssignOptionsSerializer":{"StructuredSerializer":["DNAAssignOptions*"],"Serializer":["DNAAssignOptions*"]},"_$DNAAssignOptions":{"DNAAssignOptions":[]},"DNAEnd":{"SelectableMixin":[],"Selectable":[]},"_$DNAEndSerializer":{"StructuredSerializer":["DNAEnd*"],"Serializer":["DNAEnd*"]},"_$DNAEnd":{"DNAEnd":[],"SelectableMixin":[],"Selectable":[]},"_$DNAEndsMoveSerializer":{"StructuredSerializer":["DNAEndsMove*"],"Serializer":["DNAEndsMove*"]},"_$DNAEndMoveSerializer":{"StructuredSerializer":["DNAEndMove*"],"Serializer":["DNAEndMove*"]},"_$DNAEndsMove":{"DNAEndsMove":[]},"_$DNAEndMove":{"DNAEndMove":[]},"_$DNAExtensionsMoveSerializer":{"StructuredSerializer":["DNAExtensionsMove*"],"Serializer":["DNAExtensionsMove*"]},"_$DNAExtensionMoveSerializer":{"StructuredSerializer":["DNAExtensionMove*"],"Serializer":["DNAExtensionMove*"]},"_$DNAExtensionsMove":{"DNAExtensionsMove":[]},"_$DNAExtensionMove":{"DNAExtensionMove":[]},"Domain":{"SelectableMixin":[],"Substrand":[],"Selectable":[]},"_$InsertionSerializer":{"StructuredSerializer":["Insertion*"],"Serializer":["Insertion*"]},"_$DomainSerializer":{"StructuredSerializer":["Domain*"],"Serializer":["Domain*"]},"_$Insertion":{"Insertion":[]},"_$Domain":{"Domain":[],"SelectableMixin":[],"Substrand":[],"Selectable":[]},"_$DomainNameMismatchSerializer":{"StructuredSerializer":["DomainNameMismatch*"],"Serializer":["DomainNameMismatch*"]},"_$DomainNameMismatch":{"DomainNameMismatch":[]},"_$DomainsMoveSerializer":{"StructuredSerializer":["DomainsMove*"],"Serializer":["DomainsMove*"]},"_$DomainsMove":{"DomainsMove":[]},"_$EditModeChoiceSerializer":{"PrimitiveSerializer":["EditModeChoice*"],"Serializer":["EditModeChoice*"]},"_$ExampleDesignsSerializer":{"StructuredSerializer":["ExampleDesigns*"],"Serializer":["ExampleDesigns*"]},"_$ExampleDesigns":{"ExampleDesigns":[]},"ExportDNAException":{"Exception":[]},"_$ExportDNAFormatSerializer":{"PrimitiveSerializer":["ExportDNAFormat*"],"Serializer":["ExportDNAFormat*"]},"_$StrandOrderSerializer":{"PrimitiveSerializer":["StrandOrder*"],"Serializer":["StrandOrder*"]},"Extension":{"SelectableMixin":[],"Substrand":[],"Selectable":[]},"_$ExtensionSerializer":{"StructuredSerializer":["Extension*"],"Serializer":["Extension*"]},"_$Extension":{"Extension":[],"SelectableMixin":[],"Substrand":[],"Selectable":[]},"_$GeometrySerializer":{"StructuredSerializer":["Geometry*"],"Serializer":["Geometry*"]},"_$Geometry":{"Geometry":[]},"_$GridSerializer":{"PrimitiveSerializer":["Grid*"],"Serializer":["Grid*"]},"_$GridPositionSerializer":{"StructuredSerializer":["GridPosition*"],"Serializer":["GridPosition*"]},"_$GridPosition":{"GridPosition":[]},"_$HelixGroup":{"HelixGroup":[]},"_$HelixGroupSerializer":{"StructuredSerializer":["HelixGroup*"],"Serializer":["HelixGroup*"]},"_$Helix":{"Helix":[]},"_$HelixSerializer":{"StructuredSerializer":["Helix*"],"Serializer":["Helix*"]},"_$HelixGroupMoveSerializer":{"StructuredSerializer":["HelixGroupMove*"],"Serializer":["HelixGroupMove*"]},"_$HelixGroupMove":{"HelixGroupMove":[]},"_$LocalStorageDesignOptionSerializer":{"PrimitiveSerializer":["LocalStorageDesignOption*"],"Serializer":["LocalStorageDesignOption*"]},"_$LocalStorageDesignChoiceSerializer":{"StructuredSerializer":["LocalStorageDesignChoice*"],"Serializer":["LocalStorageDesignChoice*"]},"_$LocalStorageDesignChoice":{"LocalStorageDesignChoice":[]},"Loopout":{"SelectableMixin":[],"Substrand":[],"Selectable":[],"Linker":[]},"_$LoopoutSerializer":{"StructuredSerializer":["Loopout*"],"Serializer":["Loopout*"]},"_$Loopout":{"Loopout":[],"SelectableMixin":[],"Substrand":[],"Selectable":[],"Linker":[]},"Modification5Prime":{"Modification":[]},"Modification3Prime":{"Modification":[]},"ModificationInternal":{"Modification":[]},"_$Modification5PrimeSerializer":{"StructuredSerializer":["Modification5Prime*"],"Serializer":["Modification5Prime*"]},"_$Modification3PrimeSerializer":{"StructuredSerializer":["Modification3Prime*"],"Serializer":["Modification3Prime*"]},"_$ModificationInternalSerializer":{"StructuredSerializer":["ModificationInternal*"],"Serializer":["ModificationInternal*"]},"_$Modification5Prime":{"Modification5Prime":[],"Modification":[]},"_$Modification3Prime":{"Modification3Prime":[],"Modification":[]},"_$ModificationInternal":{"ModificationInternal":[],"Modification":[]},"_$ModificationTypeSerializer":{"PrimitiveSerializer":["ModificationType*"],"Serializer":["ModificationType*"]},"_$MouseoverParamsSerializer":{"StructuredSerializer":["MouseoverParams*"],"Serializer":["MouseoverParams*"]},"_$MouseoverDataSerializer":{"StructuredSerializer":["MouseoverData*"],"Serializer":["MouseoverData*"]},"_$MouseoverParams":{"MouseoverParams":[]},"_$MouseoverData":{"MouseoverData":[]},"_$Position3DSerializer":{"StructuredSerializer":["Position3D*"],"Serializer":["Position3D*"]},"_$Position3D":{"Position3D":[]},"_$PotentialCrossoverSerializer":{"StructuredSerializer":["PotentialCrossover*"],"Serializer":["PotentialCrossover*"]},"_$PotentialCrossover":{"PotentialCrossover":[]},"_$PotentialVerticalCrossoverSerializer":{"StructuredSerializer":["PotentialVerticalCrossover*"],"Serializer":["PotentialVerticalCrossover*"]},"_$PotentialVerticalCrossover":{"PotentialVerticalCrossover":[]},"_$SelectModeChoiceSerializer":{"PrimitiveSerializer":["SelectModeChoice*"],"Serializer":["SelectModeChoice*"]},"_$SelectModeStateSerializer":{"StructuredSerializer":["SelectModeState*"],"Serializer":["SelectModeState*"]},"_$SelectModeState":{"SelectModeState":[]},"SelectableDeletion":{"SelectableMixin":[],"Selectable":[]},"SelectableInsertion":{"SelectableMixin":[],"Selectable":[]},"SelectableModification":{"Selectable":[]},"SelectableModification5Prime":{"SelectableModification":[],"SelectableMixin":[],"Selectable":[]},"SelectableModification3Prime":{"SelectableModification":[],"SelectableMixin":[],"Selectable":[]},"SelectableModificationInternal":{"SelectableModification":[],"SelectableMixin":[],"Selectable":[]},"SelectableMixin":{"Selectable":[]},"_$SelectablesStoreSerializer":{"StructuredSerializer":["SelectablesStore*"],"Serializer":["SelectablesStore*"]},"_$SelectableDeletionSerializer":{"StructuredSerializer":["SelectableDeletion*"],"Serializer":["SelectableDeletion*"]},"_$SelectableInsertionSerializer":{"StructuredSerializer":["SelectableInsertion*"],"Serializer":["SelectableInsertion*"]},"_$SelectableModification5PrimeSerializer":{"StructuredSerializer":["SelectableModification5Prime*"],"Serializer":["SelectableModification5Prime*"]},"_$SelectableModification3PrimeSerializer":{"StructuredSerializer":["SelectableModification3Prime*"],"Serializer":["SelectableModification3Prime*"]},"_$SelectableModificationInternalSerializer":{"StructuredSerializer":["SelectableModificationInternal*"],"Serializer":["SelectableModificationInternal*"]},"_$SelectableTraitSerializer":{"PrimitiveSerializer":["SelectableTrait*"],"Serializer":["SelectableTrait*"]},"_$SelectablesStore":{"SelectablesStore":[]},"_$SelectableDeletion":{"SelectableDeletion":[],"SelectableMixin":[],"Selectable":[]},"_$SelectableInsertion":{"SelectableInsertion":[],"SelectableMixin":[],"Selectable":[]},"_$SelectableModification5Prime":{"SelectableModification5Prime":[],"SelectableModification":[],"SelectableMixin":[],"Selectable":[]},"_$SelectableModification3Prime":{"SelectableModification3Prime":[],"SelectableModification":[],"SelectableMixin":[],"Selectable":[]},"_$SelectableModificationInternal":{"SelectableModificationInternal":[],"SelectableModification":[],"SelectableMixin":[],"Selectable":[]},"_$SelectionBoxSerializer":{"StructuredSerializer":["SelectionBox*"],"Serializer":["SelectionBox*"]},"_$SelectionBox":{"SelectionBox":[]},"_$SelectionRopeSerializer":{"StructuredSerializer":["SelectionRope*"],"Serializer":["SelectionRope*"]},"_$LineSerializer":{"StructuredSerializer":["Line*"],"Serializer":["Line*"]},"_$SelectionRope":{"SelectionRope":[]},"_$Line":{"Line":[]},"Strand":{"SelectableMixin":[],"Selectable":[]},"_$Strand":{"Strand":[],"SelectableMixin":[],"Selectable":[]},"_$StrandSerializer":{"StructuredSerializer":["Strand*"],"Serializer":["Strand*"]},"_$StrandCreationSerializer":{"StructuredSerializer":["StrandCreation*"],"Serializer":["StrandCreation*"]},"_$StrandCreation":{"StrandCreation":[]},"_$StrandsMoveSerializer":{"StructuredSerializer":["StrandsMove*"],"Serializer":["StrandsMove*"]},"_$StrandsMove":{"StrandsMove":[]},"_$UndoRedoItemSerializer":{"StructuredSerializer":["UndoRedoItem*"],"Serializer":["UndoRedoItem*"]},"_$UndoRedo":{"UndoRedo":[]},"_$UndoRedoItem":{"UndoRedoItem":[]},"_$VendorFieldsSerializer":{"StructuredSerializer":["VendorFields*"],"Serializer":["VendorFields*"]},"_$VendorFields":{"VendorFields":[]},"End3PrimeProps":{"UiProps0":[],"UiProps":[],"Map":["@","@"]},"End3PrimeComponent":{"UiComponent2":["End3PrimeProps*"],"Component2":[],"Component":[]},"_$$End3PrimeProps":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$End3PrimeComponent":{"UiComponent2":["End3PrimeProps*"],"Component2":[],"Component":[]},"_$$End3PrimeProps$PlainMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$End3PrimeProps$JsMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"End5PrimeProps":{"UiProps0":[],"UiProps":[],"Map":["@","@"]},"End5PrimeComponent":{"UiComponent2":["End5PrimeProps*"],"Component2":[],"Component":[]},"_$$End5PrimeProps":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$End5PrimeComponent":{"UiComponent2":["End5PrimeProps*"],"Component2":[],"Component":[]},"_$$End5PrimeProps$PlainMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$End5PrimeProps$JsMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"DesignContextMenuProps":{"UiProps0":[],"UiProps":[],"Map":["@","@"]},"DesignContextMenuState":{"Map":["@","@"]},"DesignContextMenuComponent":{"UiComponent2":["DesignContextMenuProps*"],"Component2":[],"Component":[]},"DesignContextSubmenuProps":{"UiProps0":[],"UiProps":[],"Map":["@","@"]},"DesignContextSubmenuState":{"Map":["@","@"]},"DesignContextSubmenuComponent":{"UiComponent2":["DesignContextSubmenuProps*"],"Component2":[],"Component":[]},"_$$DesignContextMenuProps":{"DesignContextMenuProps":[],"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$DesignContextMenuComponent":{"UiComponent2":["DesignContextMenuProps*"],"Component2":[],"Component":[]},"_$$DesignContextSubmenuProps":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$DesignContextSubmenuComponent":{"UiComponent2":["DesignContextSubmenuProps*"],"Component2":[],"Component":[]},"_$$DesignContextMenuProps$PlainMap":{"DesignContextMenuProps":[],"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$DesignContextMenuProps$JsMap":{"DesignContextMenuProps":[],"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$DesignContextMenuState":{"MapViewMixin":["@","@"],"Map":["@","@"]},"_$$DesignContextMenuState$JsMap":{"MapViewMixin":["@","@"],"Map":["@","@"],"MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$DesignContextSubmenuProps$PlainMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$DesignContextSubmenuProps$JsMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$DesignContextSubmenuState":{"MapViewMixin":["@","@"],"Map":["@","@"]},"_$$DesignContextSubmenuState$JsMap":{"MapViewMixin":["@","@"],"Map":["@","@"],"MapViewMixin.K":"@","MapViewMixin.V":"@"},"DesignDialogFormProps":{"UiProps0":[],"UiProps":[],"Map":["@","@"]},"DesignDialogFormState":{"Map":["@","@"]},"DesignDialogFormComponent":{"UiComponent2":["DesignDialogFormProps*"],"Component2":[],"Component":[]},"_$$DesignDialogFormProps":{"DesignDialogFormProps":[],"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$DesignDialogFormComponent":{"UiComponent2":["DesignDialogFormProps*"],"Component2":[],"Component":[]},"_$$DesignDialogFormProps$PlainMap":{"DesignDialogFormProps":[],"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$DesignDialogFormProps$JsMap":{"DesignDialogFormProps":[],"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$DesignDialogFormState":{"MapViewMixin":["@","@"],"Map":["@","@"]},"_$$DesignDialogFormState$JsMap":{"MapViewMixin":["@","@"],"Map":["@","@"],"MapViewMixin.K":"@","MapViewMixin.V":"@"},"DesignFooterProps":{"UiProps0":[],"UiProps":[],"Map":["@","@"]},"DesignFooterComponent":{"UiComponent2":["DesignFooterProps*"],"Component2":[],"Component":[]},"_$$DesignFooterProps":{"DesignFooterProps":[],"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$DesignFooterComponent":{"UiComponent2":["DesignFooterProps*"],"Component2":[],"Component":[]},"_$$DesignFooterProps$PlainMap":{"DesignFooterProps":[],"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$DesignFooterProps$JsMap":{"DesignFooterProps":[],"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"DesignLoadingDialogProps":{"UiProps0":[],"UiProps":[],"Map":["@","@"]},"DesignLoadingDialogComponent":{"UiComponent2":["DesignLoadingDialogProps*"],"Component2":[],"Component":[]},"_$$DesignLoadingDialogProps":{"DesignLoadingDialogProps":[],"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$DesignLoadingDialogComponent":{"UiComponent2":["DesignLoadingDialogProps*"],"Component2":[],"Component":[]},"_$$DesignLoadingDialogProps$PlainMap":{"DesignLoadingDialogProps":[],"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$DesignLoadingDialogProps$JsMap":{"DesignLoadingDialogProps":[],"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"DesignMainPropsMixin":{"UiProps0":[],"UiProps":[],"Map":["@","@"]},"DesignMainProps":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"Map":["@","@"]},"DesignMainComponent":{"UiComponent2":["DesignMainProps*"],"Component2":[],"Component":[]},"_$$DesignMainProps":{"DesignMainProps":[],"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$DesignMainComponent":{"UiComponent2":["DesignMainProps*"],"Component2":[],"Component":[]},"_$$DesignMainProps$PlainMap":{"DesignMainProps":[],"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$DesignMainProps$JsMap":{"DesignMainProps":[],"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"DesignMainArrowsProps":{"UiProps0":[],"UiProps":[],"Map":["@","@"]},"DesignMainArrowsComponent":{"UiComponent2":["DesignMainArrowsProps*"],"Component2":[],"Component":[]},"_$$DesignMainArrowsProps":{"DesignMainArrowsProps":[],"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$DesignMainArrowsComponent0":{"UiComponent2":["DesignMainArrowsProps*"],"Component2":[],"Component":[]},"_$$DesignMainArrowsProps$PlainMap":{"DesignMainArrowsProps":[],"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$DesignMainArrowsProps$JsMap":{"DesignMainArrowsProps":[],"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"DesignMainBasePairLinesProps":{"UiProps0":[],"UiProps":[],"Map":["@","@"]},"DesignMainBasePairLinesComponent":{"UiComponent2":["DesignMainBasePairLinesProps*"],"Component2":[],"Component":[]},"_$$DesignMainBasePairLinesProps":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$DesignMainBasePairLinesComponent":{"UiComponent2":["DesignMainBasePairLinesProps*"],"Component2":[],"Component":[]},"_$$DesignMainBasePairLinesProps$PlainMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$DesignMainBasePairLinesProps$JsMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"DesignMainBasePairRectangleProps":{"UiProps0":[],"UiProps":[],"Map":["@","@"]},"DesignMainBasePairRectangleComponent":{"UiComponent2":["DesignMainBasePairRectangleProps*"],"Component2":[],"Component":[]},"_$$DesignMainBasePairRectangleProps":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$DesignMainBasePairRectangleComponent":{"UiComponent2":["DesignMainBasePairRectangleProps*"],"Component2":[],"Component":[]},"_$$DesignMainBasePairRectangleProps$PlainMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$DesignMainBasePairRectangleProps$JsMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"DesignMainDNAMismatchesProps":{"UiProps0":[],"UiProps":[],"Map":["@","@"]},"DesignMainDNAMismatchesComponent":{"UiComponent2":["DesignMainDNAMismatchesProps*"],"Component2":[],"Component":[]},"_$$DesignMainDNAMismatchesProps":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$DesignMainDNAMismatchesComponent":{"UiComponent2":["DesignMainDNAMismatchesProps*"],"Component2":[],"Component":[]},"_$$DesignMainDNAMismatchesProps$PlainMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$DesignMainDNAMismatchesProps$JsMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"DesignMainDNASequenceProps":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"Map":["@","@"]},"DesignMainDNASequenceComponent":{"UiComponent2":["DesignMainDNASequenceProps*"],"Component2":[],"Component":[]},"_$$DesignMainDNASequenceProps":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$DesignMainDNASequenceComponent":{"UiComponent2":["DesignMainDNASequenceProps*"],"Component2":[],"Component":[]},"_$$DesignMainDNASequenceProps$PlainMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$DesignMainDNASequenceProps$JsMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"DesignMainDNASequencesProps":{"UiProps0":[],"UiProps":[],"Map":["@","@"]},"DesignMainDNASequencesComponent":{"UiComponent2":["DesignMainDNASequencesProps*"],"Component2":[],"Component":[]},"_$$DesignMainDNASequencesProps":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$DesignMainDNASequencesComponent":{"UiComponent2":["DesignMainDNASequencesProps*"],"Component2":[],"Component":[]},"_$$DesignMainDNASequencesProps$PlainMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$DesignMainDNASequencesProps$JsMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"DesignMainDomainMovingProps":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"Map":["@","@"]},"DesignMainDomainMovingComponent":{"UiComponent2":["DesignMainDomainMovingProps*"],"Component2":[],"Component":[]},"_$$DesignMainDomainMovingProps":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$DesignMainDomainMovingComponent":{"UiComponent2":["DesignMainDomainMovingProps*"],"Component2":[],"Component":[]},"_$$DesignMainDomainMovingProps$PlainMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$DesignMainDomainMovingProps$JsMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"DesignMainDomainNameMismatchesProps":{"UiProps0":[],"UiProps":[],"Map":["@","@"]},"DesignMainDomainNameMismatchesComponent":{"UiComponent2":["DesignMainDomainNameMismatchesProps*"],"Component2":[],"Component":[]},"_$$DesignMainDomainNameMismatchesProps":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$DesignMainDomainNameMismatchesComponent":{"UiComponent2":["DesignMainDomainNameMismatchesProps*"],"Component2":[],"Component":[]},"_$$DesignMainDomainNameMismatchesProps$PlainMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$DesignMainDomainNameMismatchesProps$JsMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"DesignMainDomainsMovingProps":{"UiProps0":[],"UiProps":[],"Map":["@","@"]},"DesignMainDomainsMovingComponent":{"UiComponent2":["DesignMainDomainsMovingProps*"],"Component2":[],"Component":[]},"_$$DesignMainDomainsMovingProps":{"DesignMainDomainsMovingProps":[],"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$DesignMainDomainsMovingComponent":{"UiComponent2":["DesignMainDomainsMovingProps*"],"Component2":[],"Component":[]},"_$$DesignMainDomainsMovingProps$PlainMap":{"DesignMainDomainsMovingProps":[],"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$DesignMainDomainsMovingProps$JsMap":{"DesignMainDomainsMovingProps":[],"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"DesignMainErrorBoundaryProps":{"ErrorBoundaryProps":[],"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"Map":["@","@"]},"DesignMainErrorBoundaryState":{"Map":["@","@"]},"DesignMainErrorBoundaryComponent":{"UiComponent2":["1*"],"Component2":[],"Component":[]},"_$$DesignMainErrorBoundaryProps":{"ErrorBoundaryProps":[],"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$DesignMainErrorBoundaryComponent":{"UiComponent2":["DesignMainErrorBoundaryProps*"],"Component2":[],"Component":[]},"_$$DesignMainErrorBoundaryProps$PlainMap":{"ErrorBoundaryProps":[],"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$DesignMainErrorBoundaryProps$JsMap":{"ErrorBoundaryProps":[],"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$DesignMainErrorBoundaryState":{"MapViewMixin":["@","@"],"Map":["@","@"]},"_$$DesignMainErrorBoundaryState$JsMap":{"MapViewMixin":["@","@"],"Map":["@","@"],"MapViewMixin.K":"@","MapViewMixin.V":"@"},"DesignMainHelicesProps":{"UiProps0":[],"UiProps":[],"Map":["@","@"]},"DesignMainHelicesComponent":{"UiComponent2":["DesignMainHelicesProps*"],"Component2":[],"Component":[]},"_$$DesignMainHelicesProps":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$DesignMainHelicesComponent":{"UiComponent2":["DesignMainHelicesProps*"],"Component2":[],"Component":[]},"_$$DesignMainHelicesProps$PlainMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$DesignMainHelicesProps$JsMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"DesignMainHelixProps":{"UiProps0":[],"UiProps":[],"Map":["@","@"]},"DesignMainHelixComponent":{"UiComponent2":["DesignMainHelixProps*"],"Component2":[],"Component":[]},"_$$DesignMainHelixProps":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$DesignMainHelixComponent":{"UiComponent2":["DesignMainHelixProps*"],"Component2":[],"Component":[]},"_$$DesignMainHelixProps$PlainMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$DesignMainHelixProps$JsMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"DesignMainLoopoutExtensionLengthProps":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"Map":["@","@"]},"DesignMainLoopoutExtensionLengthComponent":{"UiComponent2":["DesignMainLoopoutExtensionLengthProps*"],"Component2":[],"Component":[]},"_$$DesignMainLoopoutExtensionLengthProps":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$DesignMainLoopoutExtensionLengthComponent":{"UiComponent2":["DesignMainLoopoutExtensionLengthProps*"],"Component2":[],"Component":[]},"_$$DesignMainLoopoutExtensionLengthProps$PlainMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$DesignMainLoopoutExtensionLengthProps$JsMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"DesignMainLoopoutExtensionLengthsProps":{"UiProps0":[],"UiProps":[],"Map":["@","@"]},"DesignMainLoopoutExtensionLengthsComponent":{"UiComponent2":["DesignMainLoopoutExtensionLengthsProps*"],"Component2":[],"Component":[]},"_$$DesignMainLoopoutExtensionLengthsProps":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$DesignMainLoopoutExtensionLengthsComponent":{"UiComponent2":["DesignMainLoopoutExtensionLengthsProps*"],"Component2":[],"Component":[]},"_$$DesignMainLoopoutExtensionLengthsProps$PlainMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$DesignMainLoopoutExtensionLengthsProps$JsMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"DesignMainPotentialVerticalCrossoverProps":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"Map":["@","@"]},"DesignMainPotentialVerticalCrossoverComponent":{"UiComponent2":["DesignMainPotentialVerticalCrossoverProps*"],"Component2":[],"Component":[]},"_$$DesignMainPotentialVerticalCrossoverProps":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$DesignMainPotentialVerticalCrossoverComponent":{"UiComponent2":["DesignMainPotentialVerticalCrossoverProps*"],"Component2":[],"Component":[]},"_$$DesignMainPotentialVerticalCrossoverProps$PlainMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$DesignMainPotentialVerticalCrossoverProps$JsMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"DesignMainPotentialVerticalCrossoversProps":{"UiProps0":[],"UiProps":[],"Map":["@","@"]},"DesignMainPotentialVerticalCrossoversComponent":{"UiComponent2":["DesignMainPotentialVerticalCrossoversProps*"],"Component2":[],"Component":[]},"_$$DesignMainPotentialVerticalCrossoversProps":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$DesignMainPotentialVerticalCrossoversComponent":{"UiComponent2":["DesignMainPotentialVerticalCrossoversProps*"],"Component2":[],"Component":[]},"_$$DesignMainPotentialVerticalCrossoversProps$PlainMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$DesignMainPotentialVerticalCrossoversProps$JsMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"DesignMainSliceBarProps":{"UiProps0":[],"UiProps":[],"Map":["@","@"]},"DesignMainSliceBarComponent":{"UiComponent2":["DesignMainSliceBarProps*"],"Component2":[],"Component":[]},"_$$DesignMainSliceBarProps":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$DesignMainSliceBarComponent":{"UiComponent2":["DesignMainSliceBarProps*"],"Component2":[],"Component":[]},"_$$DesignMainSliceBarProps$PlainMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$DesignMainSliceBarProps$JsMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"DesignMainStrandProps":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"Map":["@","@"]},"DesignMainStrandComponent":{"UiComponent2":["DesignMainStrandProps*"],"Component2":[],"Component":[]},"_$$DesignMainStrandProps":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$DesignMainStrandComponent":{"UiComponent2":["DesignMainStrandProps*"],"Component2":[],"Component":[]},"_$$DesignMainStrandProps$PlainMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$DesignMainStrandProps$JsMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"DesignMainStrandAndDomainTextsProps":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"Map":["@","@"]},"DesignMainStrandAndDomainTextsComponent":{"UiComponent2":["DesignMainStrandAndDomainTextsProps*"],"Component2":[],"Component":[]},"_$$DesignMainStrandAndDomainTextsProps":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$DesignMainStrandAndDomainTextsComponent":{"UiComponent2":["DesignMainStrandAndDomainTextsProps*"],"Component2":[],"Component":[]},"_$$DesignMainStrandAndDomainTextsProps$PlainMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$DesignMainStrandAndDomainTextsProps$JsMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"DesignMainStrandCreatingProps":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"Map":["@","@"]},"DesignMainStrandCreatingComponent":{"UiComponent2":["DesignMainStrandCreatingProps*"],"Component2":[],"Component":[]},"_$$DesignMainStrandCreatingProps":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$DesignMainStrandCreatingComponent":{"UiComponent2":["DesignMainStrandCreatingProps*"],"Component2":[],"Component":[]},"_$$DesignMainStrandCreatingProps$PlainMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$DesignMainStrandCreatingProps$JsMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"DesignMainStrandCrossoverProps":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"Map":["@","@"]},"DesignMainStrandCrossoverState":{"Map":["@","@"]},"DesignMainStrandCrossoverComponent":{"UiComponent2":["DesignMainStrandCrossoverProps*"],"Component2":[],"Component":[]},"_$$DesignMainStrandCrossoverProps":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$DesignMainStrandCrossoverComponent":{"UiComponent2":["DesignMainStrandCrossoverProps*"],"Component2":[],"Component":[]},"_$$DesignMainStrandCrossoverProps$PlainMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$DesignMainStrandCrossoverProps$JsMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$DesignMainStrandCrossoverState":{"MapViewMixin":["@","@"],"Map":["@","@"]},"_$$DesignMainStrandCrossoverState$JsMap":{"MapViewMixin":["@","@"],"Map":["@","@"],"MapViewMixin.K":"@","MapViewMixin.V":"@"},"DesignMainStrandDeletionProps":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"Map":["@","@"]},"DesignMainStrandDeletionComponent":{"UiComponent2":["DesignMainStrandDeletionProps*"],"Component2":[],"Component":[]},"_$$DesignMainStrandDeletionProps":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$DesignMainStrandDeletionComponent":{"UiComponent2":["DesignMainStrandDeletionProps*"],"Component2":[],"Component":[]},"_$$DesignMainStrandDeletionProps$PlainMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$DesignMainStrandDeletionProps$JsMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"DesignMainDNAEndProps":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"Map":["@","@"]},"DesignMainDNAEndComponent":{"UiComponent2":["DesignMainDNAEndProps*"],"Component2":[],"Component":[]},"_$$DesignMainDNAEndProps":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$DesignMainDNAEndComponent":{"UiComponent2":["DesignMainDNAEndProps*"],"Component2":[],"Component":[]},"_$$DesignMainDNAEndProps$PlainMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$DesignMainDNAEndProps$JsMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"EndMovingProps":{"UiProps0":[],"UiProps":[],"Map":["@","@"]},"EndMovingComponent":{"UiComponent2":["EndMovingProps*"],"Component2":[],"Component":[]},"_$$EndMovingProps":{"EndMovingProps":[],"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$EndMovingComponent":{"UiComponent2":["EndMovingProps*"],"Component2":[],"Component":[]},"_$$EndMovingProps$PlainMap":{"EndMovingProps":[],"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$EndMovingProps$JsMap":{"EndMovingProps":[],"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"ExtensionEndMovingProps":{"UiProps0":[],"UiProps":[],"Map":["@","@"]},"ExtensionEndMovingComponent":{"UiComponent2":["ExtensionEndMovingProps*"],"Component2":[],"Component":[]},"_$$ExtensionEndMovingProps":{"ExtensionEndMovingProps":[],"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$ExtensionEndMovingComponent":{"UiComponent2":["ExtensionEndMovingProps*"],"Component2":[],"Component":[]},"_$$ExtensionEndMovingProps$PlainMap":{"ExtensionEndMovingProps":[],"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$ExtensionEndMovingProps$JsMap":{"ExtensionEndMovingProps":[],"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"DesignMainDomainProps":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"Map":["@","@"]},"DesignMainDomainComponent":{"UiComponent2":["DesignMainDomainProps*"],"Component2":[],"Component":[]},"_$$DesignMainDomainProps":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$DesignMainDomainComponent":{"UiComponent2":["DesignMainDomainProps*"],"Component2":[],"Component":[]},"_$$DesignMainDomainProps$PlainMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$DesignMainDomainProps$JsMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"DesignMainStrandDomainTextProps":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"Map":["@","@"]},"DesignMainStrandDomainTextComponent":{"UiComponent2":["DesignMainStrandDomainTextProps*"],"Component2":[],"Component":[]},"_$$DesignMainStrandDomainTextProps":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$DesignMainStrandDomainTextComponent":{"UiComponent2":["DesignMainStrandDomainTextProps*"],"Component2":[],"Component":[]},"_$$DesignMainStrandDomainTextProps$PlainMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$DesignMainStrandDomainTextProps$JsMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"DesignMainExtensionProps":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"Map":["@","@"]},"DesignMainExtensionComponent":{"UiComponent2":["DesignMainExtensionProps*"],"Component2":[],"Component":[]},"_$$DesignMainExtensionProps":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$DesignMainExtensionComponent":{"UiComponent2":["DesignMainExtensionProps*"],"Component2":[],"Component":[]},"_$$DesignMainExtensionProps$PlainMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$DesignMainExtensionProps$JsMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"DesignMainStrandExtensionTextProps":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"Map":["@","@"]},"DesignMainStrandExtensionTextComponent":{"UiComponent2":["DesignMainStrandExtensionTextProps*"],"Component2":[],"Component":[]},"_$$DesignMainStrandExtensionTextProps":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$DesignMainStrandExtensionTextComponent":{"UiComponent2":["DesignMainStrandExtensionTextProps*"],"Component2":[],"Component":[]},"_$$DesignMainStrandExtensionTextProps$PlainMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$DesignMainStrandExtensionTextProps$JsMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"DesignMainStrandInsertionProps":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"Map":["@","@"]},"DesignMainStrandInsertionComponent":{"UiComponent2":["DesignMainStrandInsertionProps*"],"Component2":[],"Component":[]},"_$$DesignMainStrandInsertionProps":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$DesignMainStrandInsertionComponent":{"UiComponent2":["DesignMainStrandInsertionProps*"],"Component2":[],"Component":[]},"_$$DesignMainStrandInsertionProps$PlainMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$DesignMainStrandInsertionProps$JsMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"DesignMainLoopoutProps":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"Map":["@","@"]},"DesignMainLoopoutState":{"Map":["@","@"]},"DesignMainLoopoutComponent":{"UiComponent2":["DesignMainLoopoutProps*"],"Component2":[],"Component":[]},"_$$DesignMainLoopoutProps":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$DesignMainLoopoutComponent":{"UiComponent2":["DesignMainLoopoutProps*"],"Component2":[],"Component":[]},"_$$DesignMainLoopoutProps$PlainMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$DesignMainLoopoutProps$JsMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$DesignMainLoopoutState":{"MapViewMixin":["@","@"],"Map":["@","@"]},"_$$DesignMainLoopoutState$JsMap":{"MapViewMixin":["@","@"],"Map":["@","@"],"MapViewMixin.K":"@","MapViewMixin.V":"@"},"DesignMainStrandLoopoutTextProps":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"Map":["@","@"]},"DesignMainStrandLoopoutTextComponent":{"UiComponent2":["DesignMainStrandLoopoutTextProps*"],"Component2":[],"Component":[]},"_$$DesignMainStrandLoopoutTextProps":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$DesignMainStrandLoopoutTextComponent":{"UiComponent2":["DesignMainStrandLoopoutTextProps*"],"Component2":[],"Component":[]},"_$$DesignMainStrandLoopoutTextProps$PlainMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$DesignMainStrandLoopoutTextProps$JsMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"DesignMainStrandModificationProps":{"UiProps0":[],"UiProps":[],"Map":["@","@"]},"DesignMainStrandModificationComponent":{"UiComponent2":["DesignMainStrandModificationProps*"],"Component2":[],"Component":[]},"_$$DesignMainStrandModificationProps":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$DesignMainStrandModificationComponent":{"UiComponent2":["DesignMainStrandModificationProps*"],"Component2":[],"Component":[]},"_$$DesignMainStrandModificationProps$PlainMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$DesignMainStrandModificationProps$JsMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"DesignMainStrandModificationsProps":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"Map":["@","@"]},"DesignMainStrandModificationsComponent":{"UiComponent2":["DesignMainStrandModificationsProps*"],"Component2":[],"Component":[]},"_$$DesignMainStrandModificationsProps":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$DesignMainStrandModificationsComponent":{"UiComponent2":["DesignMainStrandModificationsProps*"],"Component2":[],"Component":[]},"_$$DesignMainStrandModificationsProps$PlainMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$DesignMainStrandModificationsProps$JsMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"DesignMainStrandMovingProps":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"Map":["@","@"]},"DesignMainStrandMovingComponent":{"UiComponent2":["DesignMainStrandMovingProps*"],"Component2":[],"Component":[]},"_$$DesignMainStrandMovingProps":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$DesignMainStrandMovingComponent":{"UiComponent2":["DesignMainStrandMovingProps*"],"Component2":[],"Component":[]},"_$$DesignMainStrandMovingProps$PlainMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$DesignMainStrandMovingProps$JsMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"DesignMainStrandPathsProps":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"Map":["@","@"]},"DesignMainStrandPathsComponent":{"UiComponent2":["DesignMainStrandPathsProps*"],"Component2":[],"Component":[]},"_$$DesignMainStrandPathsProps":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$DesignMainStrandPathsComponent":{"UiComponent2":["DesignMainStrandPathsProps*"],"Component2":[],"Component":[]},"_$$DesignMainStrandPathsProps$PlainMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$DesignMainStrandPathsProps$JsMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"DesignMainStrandsProps":{"UiProps0":[],"UiProps":[],"Map":["@","@"]},"DesignMainStrandsComponent":{"UiComponent2":["DesignMainStrandsProps*"],"Component2":[],"Component":[]},"_$$DesignMainStrandsProps":{"DesignMainStrandsProps":[],"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$DesignMainStrandsComponent":{"UiComponent2":["DesignMainStrandsProps*"],"Component2":[],"Component":[]},"_$$DesignMainStrandsProps$PlainMap":{"DesignMainStrandsProps":[],"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$DesignMainStrandsProps$JsMap":{"DesignMainStrandsProps":[],"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"DesignMainStrandsMovingProps":{"UiProps0":[],"UiProps":[],"Map":["@","@"]},"DesignMainStrandsMovingComponent":{"UiComponent2":["DesignMainStrandsMovingProps*"],"Component2":[],"Component":[]},"_$$DesignMainStrandsMovingProps":{"DesignMainStrandsMovingProps":[],"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$DesignMainStrandsMovingComponent":{"UiComponent2":["DesignMainStrandsMovingProps*"],"Component2":[],"Component":[]},"_$$DesignMainStrandsMovingProps$PlainMap":{"DesignMainStrandsMovingProps":[],"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$DesignMainStrandsMovingProps$JsMap":{"DesignMainStrandsMovingProps":[],"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"DesignMainUnpairedInsertionDeletionsProps":{"UiProps0":[],"UiProps":[],"Map":["@","@"]},"DesignMainUnpairedInsertionDeletionsComponent":{"UiComponent2":["DesignMainUnpairedInsertionDeletionsProps*"],"Component2":[],"Component":[]},"_$$DesignMainUnpairedInsertionDeletionsProps":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$DesignMainUnpairedInsertionDeletionsComponent":{"UiComponent2":["DesignMainUnpairedInsertionDeletionsProps*"],"Component2":[],"Component":[]},"_$$DesignMainUnpairedInsertionDeletionsProps$PlainMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$DesignMainUnpairedInsertionDeletionsProps$JsMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"DesignMainWarningStarProps":{"UiProps0":[],"UiProps":[],"Map":["@","@"]},"DesignMainWarningStarComponent":{"UiComponent2":["DesignMainWarningStarProps*"],"Component2":[],"Component":[]},"_$$DesignMainWarningStarProps":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$DesignMainWarningStarComponent":{"UiComponent2":["DesignMainWarningStarProps*"],"Component2":[],"Component":[]},"_$$DesignMainWarningStarProps$PlainMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$DesignMainWarningStarProps$JsMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"DesignSideProps":{"UiProps0":[],"UiProps":[],"Map":["@","@"]},"DesignSideComponent":{"UiComponent2":["DesignSideProps*"],"Component2":[],"Component":[]},"_$$DesignSideProps":{"DesignSideProps":[],"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$DesignSideComponent":{"UiComponent2":["DesignSideProps*"],"Component2":[],"Component":[]},"_$$DesignSideProps$PlainMap":{"DesignSideProps":[],"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$DesignSideProps$JsMap":{"DesignSideProps":[],"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"DesignSideArrowsProps":{"UiProps0":[],"UiProps":[],"Map":["@","@"]},"DesignMainArrowsComponent0":{"UiComponent2":["DesignSideArrowsProps*"],"Component2":[],"Component":[]},"_$$DesignSideArrowsProps":{"DesignSideArrowsProps":[],"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$DesignMainArrowsComponent":{"UiComponent2":["DesignSideArrowsProps*"],"Component2":[],"Component":[]},"_$$DesignSideArrowsProps$PlainMap":{"DesignSideArrowsProps":[],"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$DesignSideArrowsProps$JsMap":{"DesignSideArrowsProps":[],"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"DesignSideHelixProps":{"UiProps0":[],"UiProps":[],"Map":["@","@"]},"DesignSideHelixComponent":{"UiComponent2":["DesignSideHelixProps*"],"Component2":[],"Component":[]},"_$$DesignSideHelixProps":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$DesignSideHelixComponent":{"UiComponent2":["DesignSideHelixProps*"],"Component2":[],"Component":[]},"_$$DesignSideHelixProps$PlainMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$DesignSideHelixProps$JsMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"DesignSidePotentialHelixProps":{"UiProps0":[],"UiProps":[],"Map":["@","@"]},"DesignSidePotentialHelixComponent":{"UiComponent2":["DesignSidePotentialHelixProps*"],"Component2":[],"Component":[]},"_$$DesignSidePotentialHelixProps":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$DesignSidePotentialHelixComponent":{"UiComponent2":["DesignSidePotentialHelixProps*"],"Component2":[],"Component":[]},"_$$DesignSidePotentialHelixProps$PlainMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$DesignSidePotentialHelixProps$JsMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"DesignSideRotationProps":{"UiProps0":[],"UiProps":[],"Map":["@","@"]},"DesignSideRotationComponent":{"UiComponent2":["DesignSideRotationProps*"],"Component2":[],"Component":[]},"_$$DesignSideRotationProps":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$DesignSideRotationComponent":{"UiComponent2":["DesignSideRotationProps*"],"Component2":[],"Component":[]},"_$$DesignSideRotationProps$PlainMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$DesignSideRotationProps$JsMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"DesignSideRotationArrowProps":{"UiProps0":[],"UiProps":[],"Map":["@","@"]},"DesignSideRotationArrowComponent":{"UiComponent2":["DesignSideRotationArrowProps*"],"Component2":[],"Component":[]},"_$$DesignSideRotationArrowProps":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$DesignSideRotationArrowComponent":{"UiComponent2":["DesignSideRotationArrowProps*"],"Component2":[],"Component":[]},"_$$DesignSideRotationArrowProps$PlainMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$DesignSideRotationArrowProps$JsMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"EditAndSelectModesProps":{"UiProps0":[],"UiProps":[],"Map":["@","@"]},"EditAndSelectModesComponent":{"UiComponent2":["EditAndSelectModesProps*"],"Component2":[],"Component":[]},"_$$EditAndSelectModesProps":{"EditAndSelectModesProps":[],"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$EditAndSelectModesComponent":{"UiComponent2":["EditAndSelectModesProps*"],"Component2":[],"Component":[]},"_$$EditAndSelectModesProps$PlainMap":{"EditAndSelectModesProps":[],"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$EditAndSelectModesProps$JsMap":{"EditAndSelectModesProps":[],"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"EditModeProps":{"UiProps0":[],"UiProps":[],"Map":["@","@"]},"EditModeComponent":{"UiComponent2":["EditModeProps*"],"Component2":[],"Component":[]},"_$$EditModeProps":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$EditModeComponent":{"UiComponent2":["EditModeProps*"],"Component2":[],"Component":[]},"_$$EditModeProps$PlainMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$EditModeProps$JsMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"HelixGroupMovingProps":{"UiProps0":[],"UiProps":[],"Map":["@","@"]},"HelixGroupMovingComponent":{"UiComponent2":["HelixGroupMovingProps*"],"Component2":[],"Component":[]},"_$$HelixGroupMovingProps":{"HelixGroupMovingProps":[],"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$HelixGroupMovingComponent":{"UiComponent2":["HelixGroupMovingProps*"],"Component2":[],"Component":[]},"_$$HelixGroupMovingProps$PlainMap":{"HelixGroupMovingProps":[],"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$HelixGroupMovingProps$JsMap":{"HelixGroupMovingProps":[],"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"MenuPropsMixin":{"UiProps0":[],"UiProps":[],"Map":["@","@"]},"MenuProps":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"Map":["@","@"]},"MenuComponent":{"UiComponent2":["MenuProps*"],"Component2":[],"Component":[]},"_$$MenuProps":{"MenuProps":[],"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$MenuComponent":{"UiComponent2":["MenuProps*"],"Component2":[],"Component":[]},"_$$MenuProps$PlainMap":{"MenuProps":[],"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$MenuProps$JsMap":{"MenuProps":[],"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"MenuBooleanProps":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"Map":["@","@"]},"MenuBooleanComponent":{"UiComponent2":["MenuBooleanProps*"],"Component2":[],"Component":[]},"_$$MenuBooleanProps":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$MenuBooleanComponent":{"UiComponent2":["MenuBooleanProps*"],"Component2":[],"Component":[]},"_$$MenuBooleanProps$PlainMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$MenuBooleanProps$JsMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"MenuDropdownItemProps":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"Map":["@","@"]},"MenuDropdownItemComponent":{"UiComponent2":["MenuDropdownItemProps*"],"Component2":[],"Component":[]},"_$$MenuDropdownItemProps":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$MenuDropdownItemComponent":{"UiComponent2":["MenuDropdownItemProps*"],"Component2":[],"Component":[]},"_$$MenuDropdownItemProps$PlainMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$MenuDropdownItemProps$JsMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"MenuDropdownRightProps":{"UiProps0":[],"UiProps":[],"Map":["@","@"]},"MenuDropdownRightState":{"Map":["@","@"]},"MenuDropdownRightComponent":{"UiComponent2":["MenuDropdownRightProps*"],"Component2":[],"Component":[]},"_$$MenuDropdownRightProps":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$MenuDropdownRightComponent":{"UiComponent2":["MenuDropdownRightProps*"],"Component2":[],"Component":[]},"_$$MenuDropdownRightProps$PlainMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$MenuDropdownRightProps$JsMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$MenuDropdownRightState":{"MapViewMixin":["@","@"],"Map":["@","@"]},"_$$MenuDropdownRightState$JsMap":{"MapViewMixin":["@","@"],"Map":["@","@"],"MapViewMixin.K":"@","MapViewMixin.V":"@"},"MenuFormFileProps":{"UiProps0":[],"UiProps":[],"Map":["@","@"]},"MenuFormFileComponent":{"UiComponent2":["MenuFormFileProps*"],"Component2":[],"Component":[]},"_$$MenuFormFileProps":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$MenuFormFileComponent":{"UiComponent2":["MenuFormFileProps*"],"Component2":[],"Component":[]},"_$$MenuFormFileProps$PlainMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$MenuFormFileProps$JsMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"MenuNumberProps":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"Map":["@","@"]},"MenuNumberComponent":{"UiComponent2":["MenuNumberProps*"],"Component2":[],"Component":[]},"_$$MenuNumberProps":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$MenuNumberComponent":{"UiComponent2":["MenuNumberProps*"],"Component2":[],"Component":[]},"_$$MenuNumberProps$PlainMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$MenuNumberProps$JsMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"SideMenuPropsMixin":{"UiProps0":[],"UiProps":[],"Map":["@","@"]},"SideMenuProps":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"Map":["@","@"]},"SideMenuComponent":{"UiComponent2":["SideMenuProps*"],"Component2":[],"Component":[]},"_$$SideMenuProps":{"SideMenuProps":[],"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$SideMenuComponent":{"UiComponent2":["SideMenuProps*"],"Component2":[],"Component":[]},"_$$SideMenuProps$PlainMap":{"SideMenuProps":[],"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$SideMenuProps$JsMap":{"SideMenuProps":[],"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"PotentialCrossoverViewProps":{"UiProps0":[],"UiProps":[],"Map":["@","@"]},"PotentialCrossoverViewComponent":{"UiComponent2":["PotentialCrossoverViewProps*"],"Component2":[],"Component":[]},"_$$PotentialCrossoverViewProps":{"PotentialCrossoverViewProps":[],"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$PotentialCrossoverViewComponent":{"UiComponent2":["PotentialCrossoverViewProps*"],"Component2":[],"Component":[]},"_$$PotentialCrossoverViewProps$PlainMap":{"PotentialCrossoverViewProps":[],"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$PotentialCrossoverViewProps$JsMap":{"PotentialCrossoverViewProps":[],"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"PotentialExtensionsViewProps":{"UiProps0":[],"UiProps":[],"Map":["@","@"]},"PotentialExtensionsViewComponent":{"UiComponent2":["PotentialExtensionsViewProps*"],"Component2":[],"Component":[]},"_$$PotentialExtensionsViewProps":{"PotentialExtensionsViewProps":[],"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$PotentialExtensionsViewComponent":{"UiComponent2":["PotentialExtensionsViewProps*"],"Component2":[],"Component":[]},"_$$PotentialExtensionsViewProps$PlainMap":{"PotentialExtensionsViewProps":[],"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$PotentialExtensionsViewProps$JsMap":{"PotentialExtensionsViewProps":[],"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"SelectModePropsMixin":{"UiProps0":[],"UiProps":[],"Map":["@","@"]},"SelectModeProps":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"Map":["@","@"]},"SelectModeComponent":{"UiComponent2":["SelectModeProps*"],"Component2":[],"Component":[]},"_$$SelectModeProps":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$SelectModeComponent":{"UiComponent2":["SelectModeProps*"],"Component2":[],"Component":[]},"_$$SelectModeProps$PlainMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$SelectModeProps$JsMap":{"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"SelectionBoxViewProps":{"UiProps0":[],"UiProps":[],"Map":["@","@"]},"SelectionBoxViewComponent":{"UiComponent2":["SelectionBoxViewProps*"],"Component2":[],"Component":[]},"_$$SelectionBoxViewProps":{"SelectionBoxViewProps":[],"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$SelectionBoxViewComponent":{"UiComponent2":["SelectionBoxViewProps*"],"Component2":[],"Component":[]},"_$$SelectionBoxViewProps$PlainMap":{"SelectionBoxViewProps":[],"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$SelectionBoxViewProps$JsMap":{"SelectionBoxViewProps":[],"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"SelectionRopeViewProps":{"UiProps0":[],"UiProps":[],"Map":["@","@"]},"SelectionRopeViewComponent":{"UiComponent2":["SelectionRopeViewProps*"],"Component2":[],"Component":[]},"_$$SelectionRopeViewProps":{"SelectionRopeViewProps":[],"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$SelectionRopeViewComponent":{"UiComponent2":["SelectionRopeViewProps*"],"Component2":[],"Component":[]},"_$$SelectionRopeViewProps$PlainMap":{"SelectionRopeViewProps":[],"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$SelectionRopeViewProps$JsMap":{"SelectionRopeViewProps":[],"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"StrandOrSubstrandColorPickerProps":{"UiProps0":[],"UiProps":[],"Map":["@","@"]},"StrandOrSubstrandColorPickerState":{"Map":["@","@"]},"StrandOrSubstrandColorPickerComponent":{"UiComponent2":["StrandOrSubstrandColorPickerProps*"],"Component2":[],"Component":[]},"_$$StrandOrSubstrandColorPickerProps":{"StrandOrSubstrandColorPickerProps":[],"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$StrandOrSubstrandColorPickerComponent":{"UiComponent2":["StrandOrSubstrandColorPickerProps*"],"Component2":[],"Component":[]},"_$$StrandOrSubstrandColorPickerProps$PlainMap":{"StrandOrSubstrandColorPickerProps":[],"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$StrandOrSubstrandColorPickerProps$JsMap":{"StrandOrSubstrandColorPickerProps":[],"UiProps0":[],"UiProps":[],"MapMixin":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapMixin.K":"@","MapMixin.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$StrandOrSubstrandColorPickerState":{"MapViewMixin":["@","@"],"Map":["@","@"]},"_$$StrandOrSubstrandColorPickerState$JsMap":{"MapViewMixin":["@","@"],"Map":["@","@"],"MapViewMixin.K":"@","MapViewMixin.V":"@"},"FileLocation":{"SourceLocation":[],"Comparable":["SourceLocation"]},"_FileSpan":{"FileSpan":[],"SourceSpanWithContext":[],"SourceSpan":[],"Comparable":["SourceSpan"]},"SourceLocation":{"Comparable":["SourceLocation"]},"SourceLocationMixin":{"SourceLocation":[],"Comparable":["SourceLocation"]},"SourceSpan":{"Comparable":["SourceSpan"]},"SourceSpanBase":{"SourceSpan":[],"Comparable":["SourceSpan"]},"SourceSpanException":{"Exception":[]},"SourceSpanFormatException":{"FormatException":[],"Exception":[]},"SourceSpanMixin":{"SourceSpan":[],"Comparable":["SourceSpan"]},"SourceSpanWithContext":{"SourceSpan":[],"Comparable":["SourceSpan"]},"StringScannerException":{"FormatException":[],"Exception":[]},"ManagedDisposer":{"_Disposable":[]},"_ObservableTimer":{"Timer":[]},"Disposable":{"_Disposable":[]},"XmlDefaultEntityMapping":{"XmlEntityMapping":[]},"XmlDescendantsIterable":{"Iterable":["XmlNode"],"Iterable.E":"XmlNode"},"XmlDescendantsIterator":{"Iterator":["XmlNode"]},"XmlAttribute":{"XmlNode":[],"XmlHasParent":["XmlNode"],"XmlHasVisitor":[],"XmlHasName":[],"XmlHasParent.T":"XmlNode"},"XmlCDATA":{"XmlNode":[],"XmlHasParent":["XmlNode"],"XmlHasVisitor":[],"XmlHasParent.T":"XmlNode"},"XmlComment":{"XmlNode":[],"XmlHasParent":["XmlNode"],"XmlHasVisitor":[],"XmlHasParent.T":"XmlNode"},"XmlData":{"XmlNode":[],"XmlHasParent":["XmlNode"],"XmlHasVisitor":[]},"XmlDeclaration":{"XmlNode":[],"XmlHasParent":["XmlNode"],"XmlHasAttributes":[],"XmlHasVisitor":[],"XmlHasParent.T":"XmlNode"},"XmlDoctype":{"XmlNode":[],"XmlHasParent":["XmlNode"],"XmlHasVisitor":[],"XmlHasParent.T":"XmlNode"},"XmlDocument":{"XmlNode":[],"XmlHasVisitor":[]},"XmlElement":{"XmlNode":[],"XmlHasParent":["XmlNode"],"XmlHasAttributes":[],"XmlHasVisitor":[],"XmlHasName":[],"XmlHasParent.T":"XmlNode"},"XmlNode":{"XmlHasVisitor":[]},"XmlProcessing":{"XmlNode":[],"XmlHasParent":["XmlNode"],"XmlHasVisitor":[],"XmlHasParent.T":"XmlNode"},"XmlText":{"XmlNode":[],"XmlHasParent":["XmlNode"],"XmlHasVisitor":[],"XmlHasParent.T":"XmlNode"},"XmlParserDefinition":{"XmlGrammarDefinition":["XmlNode","XmlName"],"XmlGrammarDefinition.0":"XmlNode","XmlGrammarDefinition.1":"XmlName"},"XmlCharacterDataParser":{"Parser":["String"]},"XmlException":{"Exception":[]},"XmlParserException":{"FormatException":[],"Exception":[]},"XmlNodeTypeException":{"Exception":[]},"XmlParentException":{"Exception":[]},"XmlName":{"XmlHasParent":["XmlNode"],"XmlHasVisitor":[]},"XmlNodeList":{"DelegatingList":["1"],"List":["1"],"_DelegatingIterableBase":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"]},"XmlPrefixName":{"XmlName":[],"XmlHasParent":["XmlNode"],"XmlHasVisitor":[],"XmlHasParent.T":"XmlNode"},"XmlSimpleName":{"XmlName":[],"XmlHasParent":["XmlNode"],"XmlHasVisitor":[],"XmlHasParent.T":"XmlNode"},"XmlWriter":{"XmlVisitor":[]},"ResolvableParser":{"Parser":["1"]}}')); + H._Universe_addErasedTypes(init.typeUniverse, JSON.parse('{"UnmodifiableListBase":1,"__CastListBase__CastIterableBase_ListMixin":2,"NativeTypedArray":1,"StreamTransformerBase":2,"MapBase":2,"IterableBase":1,"ListBase":1,"SetBase":1,"_ListBase_Object_ListMixin":1,"_SetBase_Object_SetMixin":1,"__SetBase_Object_SetMixin":1,"__UnmodifiableSet__SetBase__UnmodifiableSetMixin":1,"Comparable":1,"_JsArray_JsObject_ListMixin":1,"ErrorBoundaryApi":2,"RecoverableErrorBoundaryComponent":2,"_RecoverableErrorBoundaryComponent_UiStatefulComponent2_ErrorBoundaryApi":2,"UiStatefulComponent2":2,"_UiStatefulComponent2_UiComponent2_UiStatefulMixin2":2,"UiStatefulMixin2":2,"DesignMainErrorBoundaryComponent":2,"_DesignMainErrorBoundaryComponent_UiStatefulComponent2_ErrorBoundaryApi":2,"RedrawCounterMixin":1,"TransformByHelixGroup":1}')); + var string$ = { + x0ax0aThis: "\n\nThis error may be due to using @Component() instead of @Component2() on your component extending from UiComponent2.", + x0ax20and_: "\n and second-to-last substrand is Loopout: ", + x20for_a: " for a new group because it is already in use.", + x20is_no: " is not a valid distance because it is not positive.", + x20must_: " must not be greater than the number of characters in the file, ", + x27updat: "'update' should be set to 'true' on constructor", + x32_stap: "2_staple_2_helix_origami_deletions_insertions_mods", + x3cp_sca: '

scadnano is a program for designing synthetic DNA structures such as DNA origami.\nscadnano is a standalone project developed and maintained by the UC Davis Molecular Computing group.\nThough similar in design, it is distinct from cadnano (https://cadnano.org/), \nwhich is developed and maintained by the Douglas lab at UCSF.\n\nIf you find scadnano useful in a scientific project, please cite its associated paper:\n\nscadnano: A browser-based, scriptable tool for designing DNA nanostructures.\nDavid Doty, Benjamin L Lee, and Tristan St\xe9rin.\nDNA 2020: Proceedings of the 26th International Conference on DNA Computing and Molecular Programming\n[ paper | BibTeX ]\n\nNo design is loaded.\nTry loading an example by selecting File→Load example,\nor select File→Open to load a .sc file from your local drive.\nYou can also drag and drop a .sc file from your file system to the browser.

', + ABCDEF: "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/", + An_unr: "An unrecoverable error was caught by an ErrorBoundary (attempting to remount it was unsuccessful): \nInfo: ", + AssignD: "AssignDomainNameComplementFromBoundDomains", + AssignS: "AssignDomainNameComplementFromBoundStrands", + Cannoteff: "Cannot extract a file path from a URI with a fragment component", + Cannotefq: "Cannot extract a file path from a URI with a query component", + Cannoten: "Cannot extract a non-Windows file path from a file URI with an authority", + Cannotf: "Cannot fire new event. Controller is already firing an event", + ClearH: "ClearHelixSelectionWhenLoadingNewDesignSet", + DNAExt: "DNAExtensionsMoveSetSelectedExtensionEnds", + Defaul: "DefaultCrossoverTypeForSettingHelixRollsSet", + DesignCM: "DesignContextMenuState.menu_HTML_element_ref", + DesignCS: "DesignContextSubmenuState.submenu_HTML_element_ref", + DesignF: "DesignFooterProps.strand_first_mouseover_data", + DesignMA: "DesignMainArrowsProps.show_helices_axis_arrows", + DesignMBLh: "DesignMainBasePairLinesProps.helix_idx_to_svg_position_y_map", + DesignMBLo: "DesignMainBasePairLinesProps.only_display_selected_helices", + DesignMBLs: "DesignMainBasePairLinesProps.side_selected_helix_idxs", + DesignMBLw: "DesignMainBasePairLinesProps.with_mismatches", + DesignMBRh: "DesignMainBasePairRectangleProps.helix_idx_to_svg_position_y_map", + DesignMBRo: "DesignMainBasePairRectangleProps.only_display_selected_helices", + DesignMBRs: "DesignMainBasePairRectangleProps.side_selected_helix_idxs", + DesignMBRw: "DesignMainBasePairRectangleProps.with_mismatches", + DesignMDNEc: "DesignMainDNAEndPropsMixin.context_menu_strand", + DesignMDNEd: "DesignMainDNAEndPropsMixin.drawing_potential_crossover", + DesignMDNEh: "DesignMainDNAEndPropsMixin.helix_svg_position", + DesignMDNEi: "DesignMainDNAEndPropsMixin.is_on_extension", + DesignMDNEm: "DesignMainDNAEndPropsMixin.moving_this_dna_end", + DesignMDNEr: "DesignMainDNAEndPropsMixin.retain_strand_color_on_selection", + DesignMDNMh: "DesignMainDNAMismatchesProps.helix_idx_to_svg_position_y_map", + DesignMDNMo: "DesignMainDNAMismatchesProps.only_display_selected_helices", + DesignMDNMs: "DesignMainDNAMismatchesProps.side_selected_helix_idxs", + DesignMDNSPd: "DesignMainDNASequencePropsMixin.display_reverse_DNA_right_side_up", + DesignMDNSPh: "DesignMainDNASequencePropsMixin.helix_idx_to_svg_position_map", + DesignMDNSPo: "DesignMainDNASequencePropsMixin.only_display_selected_helices", + DesignMDNSPs: "DesignMainDNASequencePropsMixin.side_selected_helix_idxs", + DesignMDNSsdia: "DesignMainDNASequencesProps.disable_png_caching_dna_sequences", + DesignMDNSsdip: "DesignMainDNASequencesProps.display_reverse_DNA_right_side_up", + DesignMDNSsdnh: "DesignMainDNASequencesProps.dna_sequence_png_horizontal_offset", + DesignMDNSsdnu: "DesignMainDNASequencesProps.dna_sequence_png_uri", + DesignMDNSsdnv: "DesignMainDNASequencesProps.dna_sequence_png_vertical_offset", + DesignMDNSse: "DesignMainDNASequencesProps.export_svg_action_delayed_for_png_cache", + DesignMDNSsh: "DesignMainDNASequencesProps.helix_idx_to_svg_position_map", + DesignMDNSsi: "DesignMainDNASequencesProps.is_zoom_above_threshold", + DesignMDNSso: "DesignMainDNASequencesProps.only_display_selected_helices", + DesignMDNSsr: "DesignMainDNASequencesProps.retain_strand_color_on_selection", + DesignMDNSss: "DesignMainDNASequencesProps.side_selected_helix_idxs", + DesignMDoMa: "DesignMainDomainMovingPropsMixin.allowable", + DesignMDoMc: "DesignMainDomainMovingPropsMixin.current_group", + DesignMDoMdef: "DesignMainDomainMovingPropsMixin.delta_forward", + DesignMDoMdeo: "DesignMainDomainMovingPropsMixin.delta_offset", + DesignMDoMdev: "DesignMainDomainMovingPropsMixin.delta_view_order", + DesignMDoMdoh: "DesignMainDomainMovingPropsMixin.domain_helix_svg_position_y", + DesignMDoMdom: "DesignMainDomainMovingPropsMixin.domain_moved", + DesignMDoMg: "DesignMainDomainMovingPropsMixin.geometry", + DesignMDoMo: "DesignMainDomainMovingPropsMixin.original_group", + DesignMDoMs: "DesignMainDomainMovingPropsMixin.side_selected_helix_idxs", + DesignMDoNd: "DesignMainDomainNameMismatchesProps.design", + DesignMDoNh: "DesignMainDomainNameMismatchesProps.helix_idx_to_svg_position_map", + DesignMDoNo: "DesignMainDomainNameMismatchesProps.only_display_selected_helices", + DesignMDoNs: "DesignMainDomainNameMismatchesProps.side_selected_helix_idxs", + DesignMDoPc: "DesignMainDomainPropsMixin.context_menu_strand", + DesignMDoPh: "DesignMainDomainPropsMixin.helix_svg_position", + DesignMDoPr: "DesignMainDomainPropsMixin.retain_strand_color_on_selection", + DesignMDoPs: "DesignMainDomainPropsMixin.strand_tooltip", + DesignMDosco: "DesignMainDomainsMovingProps.color_of_domain", + DesignMDoscu: "DesignMainDomainsMovingProps.current_group", + DesignMDosd: "DesignMainDomainsMovingProps.domains_move", + DesignMDosh: "DesignMainDomainsMovingProps.helix_idx_to_svg_position_y_map", + DesignMDoso: "DesignMainDomainsMovingProps.original_group", + DesignMDoss: "DesignMainDomainsMovingProps.side_selected_helix_idxs", + DesignMEad: "DesignMainExtensionPropsMixin.adjacent_domain", + DesignMEah: "DesignMainExtensionPropsMixin.adjacent_helix", + DesignMEah_: "DesignMainExtensionPropsMixin.adjacent_helix_svg_position", + DesignMEr: "DesignMainExtensionPropsMixin.retain_strand_color_on_selection", + DesignMEsc: "DesignMainExtensionPropsMixin.strand_color", + DesignMEst: "DesignMainExtensionPropsMixin.strand_tooltip", + DesignMHcdb: "DesignMainHelicesProps.display_base_offsets_of_major_ticks", + DesignMHcdb_: "DesignMainHelicesProps.display_base_offsets_of_major_ticks_only_first_helix", + DesignMHcdm: "DesignMainHelicesProps.display_major_tick_widths", + DesignMHcdm_: "DesignMainHelicesProps.display_major_tick_widths_all_helices", + DesignMHchc: "DesignMainHelicesProps.helix_change_apply_to_all", + DesignMHchi_: "DesignMainHelicesProps.helix_idx_to_svg_position_map", + DesignMHchis: "DesignMainHelicesProps.helix_idxs_in_group", + DesignMHcmo: "DesignMainHelicesProps.major_tick_offset_font_size", + DesignMHcmw: "DesignMainHelicesProps.major_tick_width_font_size", + DesignMHco: "DesignMainHelicesProps.only_display_selected_helices", + DesignMHcshd: "DesignMainHelicesProps.show_domain_labels", + DesignMHcshh: "DesignMainHelicesProps.show_helix_circles", + DesignMHcsi: "DesignMainHelicesProps.side_selected_helix_idxs", + DesignMHxdb: "DesignMainHelixProps.display_base_offsets_of_major_ticks", + DesignMHxdm: "DesignMainHelixProps.display_major_tick_widths", + DesignMHxh: "DesignMainHelixProps.helix_change_apply_to_all", + DesignMHxmo: "DesignMainHelixProps.major_tick_offset_font_size", + DesignMHxmw: "DesignMainHelixProps.major_tick_width_font_size", + DesignMHxs: "DesignMainHelixProps.strand_create_enabled", + DesignMLEPg: "DesignMainLoopoutExtensionLengthPropsMixin.geometry", + DesignMLEPs: "DesignMainLoopoutExtensionLengthPropsMixin.substrand", + DesignMLEsg: "DesignMainLoopoutExtensionLengthsProps.geometry", + DesignMLEssh: "DesignMainLoopoutExtensionLengthsProps.show_length", + DesignMLEsst: "DesignMainLoopoutExtensionLengthsProps.strands", + DesignMLPn: "DesignMainLoopoutPropsMixin.next_helix_svg_position_y", + DesignMLPp: "DesignMainLoopoutPropsMixin.prev_helix_svg_position_y", + DesignMLPr: "DesignMainLoopoutPropsMixin.retain_strand_color_on_selection", + DesignMLPs: "DesignMainLoopoutPropsMixin.show_domain_names", + DesignMPoPge: "DesignMainPotentialVerticalCrossoverPropsMixin.geometry", + DesignMPoPgr: "DesignMainPotentialVerticalCrossoverPropsMixin.groups", + DesignMPoPhc: "DesignMainPotentialVerticalCrossoverPropsMixin.helices", + DesignMPoPhx: "DesignMainPotentialVerticalCrossoverPropsMixin.helix_idx_to_svg_position_y_map", + DesignMPoPp: "DesignMainPotentialVerticalCrossoverPropsMixin.potential_vertical_crossover", + DesignMPosge: "DesignMainPotentialVerticalCrossoversProps.geometry", + DesignMPosgr: "DesignMainPotentialVerticalCrossoversProps.groups", + DesignMPoshc: "DesignMainPotentialVerticalCrossoversProps.helices", + DesignMPoshx: "DesignMainPotentialVerticalCrossoversProps.helix_idx_to_svg_position_y_map", + DesignMPoso: "DesignMainPotentialVerticalCrossoversProps.only_display_selected_helices", + DesignMPosp: "DesignMainPotentialVerticalCrossoversProps.potential_vertical_crossovers", + DesignMPoss: "DesignMainPotentialVerticalCrossoversProps.side_selected_helix_idxs", + DesignMPrb: "DesignMainPropsMixin.base_pair_display_type", + DesignMPrdia: "DesignMainPropsMixin.disable_png_caching_dna_sequences", + DesignMPrdip_b: "DesignMainPropsMixin.display_base_offsets_of_major_ticks", + DesignMPrdip_b_: "DesignMainPropsMixin.display_base_offsets_of_major_ticks_only_first_helix", + DesignMPrdip_m: "DesignMainPropsMixin.display_major_tick_widths", + DesignMPrdip_m_: "DesignMainPropsMixin.display_major_tick_widths_all_helices", + DesignMPrdip_r: "DesignMainPropsMixin.display_reverse_DNA_right_side_up", + DesignMPrdipe: "DesignMainPropsMixin.displayed_group_name", + DesignMPrdnh: "DesignMainPropsMixin.dna_sequence_png_horizontal_offset", + DesignMPrdnu: "DesignMainPropsMixin.dna_sequence_png_uri", + DesignMPrdnv: "DesignMainPropsMixin.dna_sequence_png_vertical_offset", + DesignMPrdo: "DesignMainPropsMixin.domain_label_font_size", + DesignMPrdr: "DesignMainPropsMixin.drawing_potential_crossover", + DesignMPre: "DesignMainPropsMixin.export_svg_action_delayed_for_png_cache", + DesignMPrhc: "DesignMainPropsMixin.helix_change_apply_to_all", + DesignMPrhg: "DesignMainPropsMixin.helix_group_is_moving", + DesignMPrhi: "DesignMainPropsMixin.helix_idx_to_svg_position_map", + DesignMPri: "DesignMainPropsMixin.is_zoom_above_threshold", + DesignMPrmo: "DesignMainPropsMixin.major_tick_offset_font_size", + DesignMPrmw: "DesignMainPropsMixin.major_tick_width_font_size", + DesignMPro: "DesignMainPropsMixin.only_display_selected_helices", + DesignMPrp: "DesignMainPropsMixin.potential_vertical_crossovers", + DesignMPrr: "DesignMainPropsMixin.retain_strand_color_on_selection", + DesignMPrshb: "DesignMainPropsMixin.show_base_pair_lines", + DesignMPrshb_: "DesignMainPropsMixin.show_base_pair_lines_with_mismatches", + DesignMPrshd: "DesignMainPropsMixin.show_domain_name_mismatches", + DesignMPrshh: "DesignMainPropsMixin.show_helix_components", + DesignMPrshl: "DesignMainPropsMixin.show_loopout_extension_length", + DesignMPrshu: "DesignMainPropsMixin.show_unpaired_insertion_deletions", + DesignMPrsi: "DesignMainPropsMixin.side_selected_helix_idxs", + DesignMSld: "DesignMainSliceBarProps.displayed_group_name", + DesignMSlh_: "DesignMainSliceBarProps.helix_idx_to_svg_position_map", + DesignMSlhs: "DesignMainSliceBarProps.helix_idxs_in_group", + DesignMSlo: "DesignMainSliceBarProps.only_display_selected_helices", + DesignMSls: "DesignMainSliceBarProps.side_selected_helix_idxs", + DesignMStAc: "DesignMainStrandAndDomainTextsPropsMixin.context_menu_strand", + DesignMStAdl: "DesignMainStrandAndDomainTextsPropsMixin.domain_label_font_size", + DesignMStAdn: "DesignMainStrandAndDomainTextsPropsMixin.domain_name_font_size", + DesignMStAge: "DesignMainStrandAndDomainTextsPropsMixin.geometry", + DesignMStAgr: "DesignMainStrandAndDomainTextsPropsMixin.groups", + DesignMStAhc: "DesignMainStrandAndDomainTextsPropsMixin.helices", + DesignMStAhx: "DesignMainStrandAndDomainTextsPropsMixin.helix_idx_to_svg_position", + DesignMStAo: "DesignMainStrandAndDomainTextsPropsMixin.only_display_selected_helices", + DesignMStAshdn: "DesignMainStrandAndDomainTextsPropsMixin.show_dna", + DesignMStAshdol: "DesignMainStrandAndDomainTextsPropsMixin.show_domain_labels", + DesignMStAshdon: "DesignMainStrandAndDomainTextsPropsMixin.show_domain_names", + DesignMStAshsl: "DesignMainStrandAndDomainTextsPropsMixin.show_strand_labels", + DesignMStAshsn: "DesignMainStrandAndDomainTextsPropsMixin.show_strand_names", + DesignMStAsi: "DesignMainStrandAndDomainTextsPropsMixin.side_selected_helix_idxs", + DesignMStAst: "DesignMainStrandAndDomainTextsPropsMixin.strand", + DesignMStAst_l: "DesignMainStrandAndDomainTextsPropsMixin.strand_label_font_size", + DesignMStAst_n: "DesignMainStrandAndDomainTextsPropsMixin.strand_name_font_size", + DesignMStCef: "DesignMainStrandCreatingPropsMixin.forward", + DesignMStCege: "DesignMainStrandCreatingPropsMixin.geometry", + DesignMStCegr: "DesignMainStrandCreatingPropsMixin.groups", + DesignMStCeh: "DesignMainStrandCreatingPropsMixin.helices", + DesignMStCes: "DesignMainStrandCreatingPropsMixin.svg_position_y", + DesignMStCoc: "DesignMainStrandCrossoverPropsMixin.crossover", + DesignMStCoge: "DesignMainStrandCrossoverPropsMixin.geometry", + DesignMStCogr: "DesignMainStrandCrossoverPropsMixin.groups", + DesignMStCoh: "DesignMainStrandCrossoverPropsMixin.helices", + DesignMStCon: "DesignMainStrandCrossoverPropsMixin.next_domain", + DesignMStCon_: "DesignMainStrandCrossoverPropsMixin.next_domain_helix_svg_position_y", + DesignMStCop: "DesignMainStrandCrossoverPropsMixin.prev_domain", + DesignMStCop_: "DesignMainStrandCrossoverPropsMixin.prev_domain_helix_svg_position_y", + DesignMStCor: "DesignMainStrandCrossoverPropsMixin.retain_strand_color_on_selection", + DesignMStCose: "DesignMainStrandCrossoverPropsMixin.selected", + DesignMStCost: "DesignMainStrandCrossoverPropsMixin.strand", + DesignMStDer: "DesignMainStrandDeletionPropsMixin.retain_strand_color_on_selection", + DesignMStDesea: "DesignMainStrandDeletionPropsMixin.selectable_deletion", + DesignMStDesee: "DesignMainStrandDeletionPropsMixin.selected", + DesignMStDesv: "DesignMainStrandDeletionPropsMixin.svg_position_y", + DesignMStDet: "DesignMainStrandDeletionPropsMixin.transform", + DesignMStDoco: "DesignMainStrandDomainTextPropsMixin.context_menu_strand", + DesignMStDocs: "DesignMainStrandDomainTextPropsMixin.css_selector_text", + DesignMStDod: "DesignMainStrandDomainTextPropsMixin.domain", + DesignMStDof: "DesignMainStrandDomainTextPropsMixin.font_size", + DesignMStDog: "DesignMainStrandDomainTextPropsMixin.geometry", + DesignMStDoh: "DesignMainStrandDomainTextPropsMixin.helix", + DesignMStDoh_g: "DesignMainStrandDomainTextPropsMixin.helix_groups", + DesignMStDoh_s: "DesignMainStrandDomainTextPropsMixin.helix_svg_position", + DesignMStDon: "DesignMainStrandDomainTextPropsMixin.num_stacked", + DesignMStDos: "DesignMainStrandDomainTextPropsMixin.strand", + DesignMStDote: "DesignMainStrandDomainTextPropsMixin.text", + DesignMStDotr: "DesignMainStrandDomainTextPropsMixin.transform", + DesignMStEc: "DesignMainStrandExtensionTextPropsMixin.css_selector_text", + DesignMStEe: "DesignMainStrandExtensionTextPropsMixin.ext", + DesignMStEf: "DesignMainStrandExtensionTextPropsMixin.font_size", + DesignMStEg: "DesignMainStrandExtensionTextPropsMixin.geometry", + DesignMStEn: "DesignMainStrandExtensionTextPropsMixin.num_stacked", + DesignMStEt: "DesignMainStrandExtensionTextPropsMixin.text", + DesignMStIc: "DesignMainStrandInsertionPropsMixin.color", + DesignMStId: "DesignMainStrandInsertionPropsMixin.display_reverse_DNA_right_side_up", + DesignMStIh: "DesignMainStrandInsertionPropsMixin.helix", + DesignMStIr: "DesignMainStrandInsertionPropsMixin.retain_strand_color_on_selection", + DesignMStIsea: "DesignMainStrandInsertionPropsMixin.selectable_insertion", + DesignMStIsee: "DesignMainStrandInsertionPropsMixin.selected", + DesignMStIsv: "DesignMainStrandInsertionPropsMixin.svg_position_y", + DesignMStIt: "DesignMainStrandInsertionPropsMixin.transform", + DesignMStLc: "DesignMainStrandLoopoutTextPropsMixin.css_selector_text", + DesignMStLf: "DesignMainStrandLoopoutTextPropsMixin.font_size", + DesignMStLg: "DesignMainStrandLoopoutTextPropsMixin.geometry", + DesignMStLl: "DesignMainStrandLoopoutTextPropsMixin.loopout", + DesignMStLne: "DesignMainStrandLoopoutTextPropsMixin.next_domain", + DesignMStLnu: "DesignMainStrandLoopoutTextPropsMixin.num_stacked", + DesignMStLp: "DesignMainStrandLoopoutTextPropsMixin.prev_domain", + DesignMStLt: "DesignMainStrandLoopoutTextPropsMixin.text", + DesignMStMdPdi: "DesignMainStrandModificationProps.display_connector", + DesignMStMdPdn: "DesignMainStrandModificationProps.dna_idx_mod", + DesignMStMdPf: "DesignMainStrandModificationProps.font_size", + DesignMStMdPg: "DesignMainStrandModificationProps.geometry", + DesignMStMdPh: "DesignMainStrandModificationProps.helix_svg_position_y", + DesignMStMdPi: "DesignMainStrandModificationProps.invert_y", + DesignMStMdPr: "DesignMainStrandModificationProps.retain_strand_color_on_selection", + DesignMStMdPsa: "DesignMainStrandModificationProps.selectable_modification", + DesignMStMdPse: "DesignMainStrandModificationProps.selected", + DesignMStMdPt: "DesignMainStrandModificationProps.transform", + DesignMStMdsd: "DesignMainStrandModificationsPropsMixin.display_connector", + DesignMStMdsf: "DesignMainStrandModificationsPropsMixin.font_size", + DesignMStMdsge: "DesignMainStrandModificationsPropsMixin.geometry", + DesignMStMdsgr: "DesignMainStrandModificationsPropsMixin.groups", + DesignMStMdshc: "DesignMainStrandModificationsPropsMixin.helices", + DesignMStMdshx: "DesignMainStrandModificationsPropsMixin.helix_idx_to_svg_position_y_map", + DesignMStMdso: "DesignMainStrandModificationsPropsMixin.only_display_selected_helices", + DesignMStMdsr: "DesignMainStrandModificationsPropsMixin.retain_strand_color_on_selection", + DesignMStMdsse: "DesignMainStrandModificationsPropsMixin.selected_modifications_in_strand", + DesignMStMdssi: "DesignMainStrandModificationsPropsMixin.side_selected_helix_idxs", + DesignMStMdsst: "DesignMainStrandModificationsPropsMixin.strand", + DesignMStMva: "DesignMainStrandMovingPropsMixin.allowable", + DesignMStMvc: "DesignMainStrandMovingPropsMixin.current_group", + DesignMStMvdf: "DesignMainStrandMovingPropsMixin.delta_forward", + DesignMStMvdo: "DesignMainStrandMovingPropsMixin.delta_offset", + DesignMStMvdv: "DesignMainStrandMovingPropsMixin.delta_view_order", + DesignMStMvg: "DesignMainStrandMovingPropsMixin.geometry", + DesignMStMvh: "DesignMainStrandMovingPropsMixin.helix_idx_to_svg_position_map", + DesignMStMvo: "DesignMainStrandMovingPropsMixin.original_helices_view_order_inverse", + DesignMStMvs: "DesignMainStrandMovingPropsMixin.side_selected_helix_idxs", + DesignMStPac: "DesignMainStrandPathsPropsMixin.context_menu_strand", + DesignMStPad: "DesignMainStrandPathsPropsMixin.drawing_potential_crossover", + DesignMStPah: "DesignMainStrandPathsPropsMixin.helix_idx_to_svg_position_map", + DesignMStPam: "DesignMainStrandPathsPropsMixin.moving_dna_ends", + DesignMStPaon: "DesignMainStrandPathsPropsMixin.only_display_selected_helices", + DesignMStPaor: "DesignMainStrandPathsPropsMixin.origami_type_is_selectable", + DesignMStPar: "DesignMainStrandPathsPropsMixin.retain_strand_color_on_selection", + DesignMStPasec: "DesignMainStrandPathsPropsMixin.selected_crossovers_in_strand", + DesignMStPased: "DesignMainStrandPathsPropsMixin.selected_domains_in_strand", + DesignMStPaseen: "DesignMainStrandPathsPropsMixin.selected_ends_in_strand", + DesignMStPaseex: "DesignMainStrandPathsPropsMixin.selected_extensions_in_strand", + DesignMStPasel: "DesignMainStrandPathsPropsMixin.selected_loopouts_in_strand", + DesignMStPashd: "DesignMainStrandPathsPropsMixin.show_domain_names", + DesignMStPashs: "DesignMainStrandPathsPropsMixin.show_strand_names", + DesignMStPasi: "DesignMainStrandPathsPropsMixin.side_selected_helix_idxs", + DesignMStPast: "DesignMainStrandPathsPropsMixin.strand_tooltip", + DesignMStPrdi: "DesignMainStrandPropsMixin.display_reverse_DNA_right_side_up", + DesignMStPrdn: "DesignMainStrandPropsMixin.dna_assign_options", + DesignMStPrdol: "DesignMainStrandPropsMixin.domain_label_font_size", + DesignMStPrdon: "DesignMainStrandPropsMixin.domain_name_font_size", + DesignMStPrdr: "DesignMainStrandPropsMixin.drawing_potential_crossover", + DesignMStPrh: "DesignMainStrandPropsMixin.helix_idx_to_svg_position_map", + DesignMStPrmdd: "DesignMainStrandPropsMixin.modification_display_connector", + DesignMStPrmdf: "DesignMainStrandPropsMixin.modification_font_size", + DesignMStPrmv: "DesignMainStrandPropsMixin.moving_dna_ends", + DesignMStPro: "DesignMainStrandPropsMixin.only_display_selected_helices", + DesignMStPrr: "DesignMainStrandPropsMixin.retain_strand_color_on_selection", + DesignMStPrsec: "DesignMainStrandPropsMixin.selected_crossovers_in_strand", + DesignMStPrsede: "DesignMainStrandPropsMixin.selected_deletions_in_strand", + DesignMStPrsedo: "DesignMainStrandPropsMixin.selected_domains_in_strand", + DesignMStPrseen: "DesignMainStrandPropsMixin.selected_ends_in_strand", + DesignMStPrseex: "DesignMainStrandPropsMixin.selected_extensions_in_strand", + DesignMStPrsei: "DesignMainStrandPropsMixin.selected_insertions_in_strand", + DesignMStPrsel: "DesignMainStrandPropsMixin.selected_loopouts_in_strand", + DesignMStPrsem: "DesignMainStrandPropsMixin.selected_modifications_in_strand", + DesignMStPrshdl: "DesignMainStrandPropsMixin.show_domain_labels", + DesignMStPrshdn: "DesignMainStrandPropsMixin.show_domain_names", + DesignMStPrshm: "DesignMainStrandPropsMixin.show_modifications", + DesignMStPrshsl: "DesignMainStrandPropsMixin.show_strand_labels", + DesignMStPrshsn: "DesignMainStrandPropsMixin.show_strand_names", + DesignMStPrsi: "DesignMainStrandPropsMixin.side_selected_helix_idxs", + DesignMStPrstl: "DesignMainStrandPropsMixin.strand_label_font_size", + DesignMStPrstn: "DesignMainStrandPropsMixin.strand_name_font_size", + DesignMStsMc: "DesignMainStrandsMovingProps.current_group", + DesignMStsMh: "DesignMainStrandsMovingProps.helix_idx_to_svg_position_map", + DesignMStsMo: "DesignMainStrandsMovingProps.original_helices_view_order_inverse", + DesignMStsMsi: "DesignMainStrandsMovingProps.side_selected_helix_idxs", + DesignMStsMst: "DesignMainStrandsMovingProps.strands_move", + DesignMStsPdi: "DesignMainStrandsProps.display_reverse_DNA_right_side_up", + DesignMStsPdn: "DesignMainStrandsProps.dna_assign_options", + DesignMStsPdol: "DesignMainStrandsProps.domain_label_font_size", + DesignMStsPdon: "DesignMainStrandsProps.domain_name_font_size", + DesignMStsPdr: "DesignMainStrandsProps.drawing_potential_crossover", + DesignMStsPh: "DesignMainStrandsProps.helix_idx_to_svg_position_map", + DesignMStsPmd: "DesignMainStrandsProps.modification_display_connector", + DesignMStsPmf: "DesignMainStrandsProps.modification_font_size", + DesignMStsPo: "DesignMainStrandsProps.only_display_selected_helices", + DesignMStsPr: "DesignMainStrandsProps.retain_strand_color_on_selection", + DesignMStsPshd: "DesignMainStrandsProps.show_domain_labels", + DesignMStsPshm: "DesignMainStrandsProps.show_modifications", + DesignMStsPshs: "DesignMainStrandsProps.show_strand_labels", + DesignMStsPsi: "DesignMainStrandsProps.side_selected_helix_idxs", + DesignMStsPstl: "DesignMainStrandsProps.strand_label_font_size", + DesignMStsPstn: "DesignMainStrandsProps.strand_name_font_size", + DesignMUd: "DesignMainUnpairedInsertionDeletionsProps.design", + DesignMUh: "DesignMainUnpairedInsertionDeletionsProps.helix_idx_to_svg_position_y_map", + DesignMUo: "DesignMainUnpairedInsertionDeletionsProps.only_display_selected_helices", + DesignMUs: "DesignMainUnpairedInsertionDeletionsProps.side_selected_helix_idxs", + DesignSA: "DesignSideArrowsProps.show_helices_axis_arrows", + DesignSHh: "DesignSideHelixProps.helix_change_apply_to_all", + DesignSHs: "DesignSideHelixProps.show_grid_coordinates", + DesignSPog: "DesignSidePotentialHelixProps.grid_position", + DesignSPom: "DesignSidePotentialHelixProps.mouse_svg_pos", + DesignSPrg: "DesignSideProps.grid_position_mouse_cursor", + DesignSPrh: "DesignSideProps.helix_change_apply_to_all", + DesignSR: "DesignSideRotationArrowProps.angle_degrees", + EditAne: "EditAndSelectModesProps.edit_mode_menu_visible", + EditAns: "EditAndSelectModesProps.select_mode_state", + ErrorB_: "ErrorBoundary.unrecoverableErrorInnerHtmlContainerNode", + ErrorBPi: "ErrorBoundaryProps.identicalErrorFrequencyTolerance", + ErrorBPo: "ErrorBoundaryProps.onComponentIsUnrecoverable", + For_in: "For internal modifications that are attached to a base, this field specifies the bases to which \nit can be attached. (Any symbols other than ACGTacgt are ignored in this field). For instance,\nIDT can only attach a biotin modification /iBiodT/ to a T base, so one would enter T in this field.", + HelixGh: "HelixGroupMovingProps.helix_idx_to_svg_position_map", + HelixGo: "HelixGroupMovingProps.only_display_selected_helices", + HelixGs: "HelixGroupMovingProps.side_selected_helix_idxs", + If_che: 'If checked, then this internal modification is attached to a DNA base (such as internal biotin /iBiodT/). \nIn that case the list of allowed DNA bases to which it can attach must be specified in the field \n"allowed bases". If unchecked, then this internal modification goes in between bases (e.g., a carbon linker\nsuch as /iSp9/).', + M__6_3: "M -6.32 -6.32 L 6.32 6.32 M 6.32 -6.32 L -6.32 6.32", + M_0_0_: "M 0 0 v -46.5 m 7.75 11.625 L 0 -46.5 m -7.75 11.625 L 0 -46.5 ", + MenuDr: "MenuDropdownItemPropsMixin.keyboard_shortcut", + MenuPrc: "MenuPropsMixin.clear_helix_selection_when_loading_new_design", + MenuPrdefc: "MenuPropsMixin.default_crossover_type_scaffold_for_setting_helix_rolls", + MenuPrdeft: "MenuPropsMixin.default_crossover_type_staple_for_setting_helix_rolls", + MenuPrdes: "MenuPropsMixin.design_has_insertions_or_deletions", + MenuPrdia: "MenuPropsMixin.disable_png_caching_dna_sequences", + MenuPrdipb: "MenuPropsMixin.display_base_offsets_of_major_ticks_only_first_helix", + MenuPrdipm: "MenuPropsMixin.display_major_tick_widths_all_helices", + MenuPrdipo: "MenuPropsMixin.display_of_major_ticks_offsets", + MenuPrdipr: "MenuPropsMixin.display_reverse_DNA_right_side_up", + MenuPrdy: "MenuPropsMixin.dynamically_update_helices", + MenuPre: "MenuPropsMixin.export_svg_text_separately", + MenuPrl: "MenuPropsMixin.local_storage_design_choice", + MenuPrmao: "MenuPropsMixin.major_tick_offset_font_size", + MenuPrmaw: "MenuPropsMixin.major_tick_width_font_size", + MenuPrmo: "MenuPropsMixin.modification_display_connector", + MenuPron: "MenuPropsMixin.only_display_selected_helices", + MenuProx: "MenuPropsMixin.ox_export_only_selected_strands", + MenuPrr: "MenuPropsMixin.retain_strand_color_on_selection", + MenuPrse: "MenuPropsMixin.selection_box_intersection", + MenuPrshb: "MenuPropsMixin.show_base_pair_lines_with_mismatches", + MenuPrshd: "MenuPropsMixin.show_domain_name_mismatches", + MenuPrshg: "MenuPropsMixin.show_grid_coordinates_side_view", + MenuPrshhi: "MenuPropsMixin.show_helix_circles_main_view", + MenuPrshho: "MenuPropsMixin.show_helix_components_main_view", + MenuPrshl: "MenuPropsMixin.show_loopout_extension_length", + MenuPrshu: "MenuPropsMixin.show_unpaired_insertion_deletions", + Node_a: "Node already has a parent, copy or remove it first: ", + PotentC: "PotentialCrossoverViewProps.potential_crossover", + PotentE: "PotentialExtensionsViewProps.potential_extensions", + SelectB: "SelectionBoxViewProps.stroke_width_getter", + SelectR: "SelectionRopeViewProps.stroke_width_getter", + SetDis: "SetDisplayBaseOffsetsOfMajorTicksOnlyFirstHelix", + Strand: "StrandOrSubstrandColorPickerProps.substrand", + The_nu: 'The number of lines in the "connector" displayed to separate the modification "display text" \nfrom the strand.', + This_i_: 'This is the "vendor code" of the modification, for instance /5Biosg/ for 5\' biotin when ordering\nfrom the vendor IDT DNA.', + This_it: "This is the text displayed in the scadnano web interface to depict the modification.", + WARNINn: "WARNING: no element found on page with group ID = ", + WARNINs: "WARNING: selectable_mods should have at least one element in it by this line", + You_ha: "You have discovered a bug. Please send this entire error message to\n https://github.com/UC-Davis-molecular-computing/scadnano/issues", + x60jsCla: "`jsClass` must not be null. Ensure that the JS component class you're referencing is available and being accessed correctly.", + x60null_: "`null` encountered as the result from expression with type `Never`.", + applic: "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet", + assign: "assign domain name complement from bound strands", + cannotc: "cannot convert grid coordinates for grid unless it is one of square, hex, or honeycomb", + cannothf: "cannot have Extension adjacent to Loopout, but first substrand is Extension: ", + cannothl: "cannot have Extension adjacent to Loopout, but last substrand is Extension: ", + clear_: "clear_helix_selection_when_loading_new_design", + defaulc: "default_crossover_type_scaffold_for_setting_helix_rolls", + default: "default_crossover_type_staple_for_setting_helix_rolls", + displa: "display_base_offsets_of_major_ticks_only_first_helix", + extens: "extension must have positive number of bases", + handle: "handleError callback must take either an Object (the error), or both an Object (the error) and a StackTrace.", + https_: "https://sulcgroup.github.io/oxdna-viewer/", + serial: "serializer must be StructuredSerializer or PrimitiveSerializer", + substr: "substrand must be Domain, Loopout, or Extension" + }; + var type$ = (function rtii() { + var findType = H.findType; + return { + $env_1_1_dynamic: findType("@<@>"), + $env_1_1_void: findType("@<~>"), + ArchiveFile: findType("ArchiveFile"), + AsyncError: findType("AsyncError"), + Base64Codec: findType("Base64Codec"), + BaseElement: findType("BaseElement"), + BeforeUnloadEvent: findType("BeforeUnloadEvent"), + BigInt: findType("BigInt"), + Blob: findType("Blob"), + BodyElement: findType("BodyElement"), + BuiltIterable_dynamic: findType("BuiltIterable<@>"), + BuiltListMultimap_dynamic_dynamic: findType("BuiltListMultimap<@,@>"), + BuiltList_dynamic: findType("BuiltList<@>"), + BuiltMap_dynamic_dynamic: findType("BuiltMap<@,@>"), + BuiltSetMultimap_dynamic_dynamic: findType("BuiltSetMultimap<@,@>"), + BuiltSet_dynamic: findType("BuiltSet<@>"), + ButtonElement: findType("ButtonElement"), + ByteBuffer: findType("ByteBuffer"), + CastParser_dynamic_String: findType("CastParser<@,String>"), + CastParser_void_dynamic: findType("CastParser<~,@>"), + CharacterPredicate: findType("CharacterPredicate"), + CircleElement: findType("CircleElement"), + CodeUnits: findType("CodeUnits"), + Comparable_dynamic: findType("Comparable<@>"), + ConstantMapView_Symbol_dynamic: findType("ConstantMapView"), + ConstantStringMap_of_legacy_String_and_legacy_String: findType("ConstantStringMap"), + CssNumericValue: findType("CssNumericValue"), + CssRule: findType("CssRule"), + DateTime: findType("DateTime"), + DefsElement: findType("DefsElement"), + Document: findType("Document"), + DomException: findType("DomException"), + DraggableEvent: findType("DraggableEvent"), + Duration: findType("Duration"), + EfficientLengthIterable_dynamic: findType("EfficientLengthIterable<@>"), + Element: findType("Element"), + EpsilonParser_String: findType("EpsilonParser"), + Error: findType("Error"), + Event: findType("Event"), + Exception: findType("Exception"), + FEGaussianBlurElement: findType("FEGaussianBlurElement"), + FEMergeElement: findType("FEMergeElement"), + FEMergeNodeElement: findType("FEMergeNodeElement"), + Failure_String: findType("Failure"), + Failure_dynamic: findType("Failure<@>"), + Failure_dynamic_Function_2_Failure_dynamic_and_Failure_dynamic: findType("Failure<@>(Failure<@>,Failure<@>)"), + Failure_void: findType("Failure<~>"), + File: findType("File"), + FileList: findType("FileList"), + FileSpan: findType("FileSpan"), + FilterElement: findType("FilterElement"), + FlattenParser_List_String: findType("FlattenParser>"), + FlattenParser_List_dynamic: findType("FlattenParser>"), + FlattenParser_dynamic: findType("FlattenParser<@>"), + FontFace: findType("FontFace"), + FullType: findType("FullType"), + Function: findType("Function"), + Future_dynamic: findType("Future<@>"), + Future_void: findType("Future<~>"), + GElement: findType("GElement"), + GeneralConstantMap_of_legacy_Type_and_legacy_PropsMeta: findType("GeneralConstantMap"), + GeneralConstantMap_of_legacy_XmlNodeType_and_Null: findType("GeneralConstantMap"), + HttpRequest: findType("HttpRequest"), + ImageData: findType("ImageData"), + InputElement: findType("InputElement"), + Instantiation1_legacy_int: findType("Instantiation1"), + Int32: findType("Int32"), + Int32List: findType("Int32List"), + Int64: findType("Int64"), + Invocation: findType("Invocation"), + IterableEquality_dynamic: findType("IterableEquality<@>"), + Iterable_Element: findType("Iterable"), + Iterable_Node: findType("Iterable"), + Iterable_String: findType("Iterable"), + Iterable_XmlHasVisitor: findType("Iterable"), + Iterable_XmlNode: findType("Iterable"), + Iterable_double: findType("Iterable"), + Iterable_dynamic: findType("Iterable<@>"), + Iterable_int: findType("Iterable"), + Iterable_nullable_Object: findType("Iterable"), + Iterator_Match: findType("Iterator"), + JSArray_ArchiveFile: findType("JSArray"), + JSArray_Element: findType("JSArray"), + JSArray_List_dynamic: findType("JSArray>"), + JSArray_Map_dynamic_dynamic: findType("JSArray>"), + JSArray_NodeValidator: findType("JSArray"), + JSArray_Null: findType("JSArray"), + JSArray_Object: findType("JSArray"), + JSArray_Parser_dynamic: findType("JSArray>"), + JSArray_Parser_void: findType("JSArray>"), + JSArray_RangeCharPredicate: findType("JSArray"), + JSArray_StreamSubscription_dynamic: findType("JSArray>"), + JSArray_String: findType("JSArray"), + JSArray_Token_dynamic: findType("JSArray>"), + JSArray_XmlAttribute: findType("JSArray"), + JSArray_XmlElement: findType("JSArray"), + JSArray_XmlNode: findType("JSArray"), + JSArray_ZipFileHeader: findType("JSArray"), + JSArray__EventManager: findType("JSArray<_EventManager>"), + JSArray__Highlight: findType("JSArray<_Highlight>"), + JSArray__Line: findType("JSArray<_Line>"), + JSArray__ZipFileData: findType("JSArray<_ZipFileData>"), + JSArray_dynamic: findType("JSArray<@>"), + JSArray_int: findType("JSArray"), + JSArray_legacy_Address: findType("JSArray"), + JSArray_legacy_Blob: findType("JSArray"), + JSArray_legacy_BuiltList_legacy_int: findType("JSArray*>"), + JSArray_legacy_BuiltMap_of_legacy_int_and_legacy_ModificationInternal: findType("JSArray*>"), + JSArray_legacy_ConsumedProps: findType("JSArray"), + JSArray_legacy_ContextMenuItem: findType("JSArray"), + JSArray_legacy_Crossover: findType("JSArray"), + JSArray_legacy_DNAEnd: findType("JSArray"), + JSArray_legacy_DNAEndMove: findType("JSArray"), + JSArray_legacy_DNAExtensionMove: findType("JSArray"), + JSArray_legacy_DesignSideRotationData: findType("JSArray"), + JSArray_legacy_DesignSideRotationParams: findType("JSArray"), + JSArray_legacy_DialogItem: findType("JSArray"), + JSArray_legacy_Domain: findType("JSArray"), + JSArray_legacy_DomainNameMismatch: findType("JSArray"), + JSArray_legacy_EditModeChoice: findType("JSArray"), + JSArray_legacy_Element: findType("JSArray"), + JSArray_legacy_Extension: findType("JSArray"), + JSArray_legacy_FullType: findType("JSArray"), + JSArray_legacy_Helix: findType("JSArray"), + JSArray_legacy_HelixBuilder: findType("JSArray"), + JSArray_legacy_Insertion: findType("JSArray"), + JSArray_legacy_InsertionDeletionRecord: findType("JSArray"), + JSArray_legacy_InsertionOrDeletionAction: findType("JSArray"), + JSArray_legacy_Iterable_legacy_double: findType("JSArray*>"), + JSArray_legacy_Iterable_legacy_int: findType("JSArray*>"), + JSArray_legacy_Line: findType("JSArray"), + JSArray_legacy_Linker: findType("JSArray"), + JSArray_legacy_List_legacy_Substrand: findType("JSArray*>"), + JSArray_legacy_List_legacy_double: findType("JSArray*>"), + JSArray_legacy_List_legacy_int: findType("JSArray*>"), + JSArray_legacy_Loopout: findType("JSArray"), + JSArray_legacy_Map_of_legacy_String_and_dynamic: findType("JSArray*>"), + JSArray_legacy_Map_of_legacy_String_and_legacy_Object: findType("JSArray*>"), + JSArray_legacy_Map_of_legacy_int_and_legacy_ModificationInternal: findType("JSArray*>"), + JSArray_legacy_ModificationAdd: findType("JSArray"), + JSArray_legacy_MouseoverData: findType("JSArray"), + JSArray_legacy_Object: findType("JSArray"), + JSArray_legacy_OxdnaNucleotide: findType("JSArray"), + JSArray_legacy_OxdnaStrand: findType("JSArray"), + JSArray_legacy_Point: findType("JSArray"), + JSArray_legacy_Point_legacy_num: findType("JSArray*>"), + JSArray_legacy_PotentialVerticalCrossover: findType("JSArray"), + JSArray_legacy_PropDescriptor: findType("JSArray"), + JSArray_legacy_ReactElement: findType("JSArray"), + JSArray_legacy_ReactErrorInfo: findType("JSArray"), + JSArray_legacy_RollXY: findType("JSArray"), + JSArray_legacy_SelectModeChoice: findType("JSArray"), + JSArray_legacy_Selectable: findType("JSArray"), + JSArray_legacy_SelectableDeletion: findType("JSArray"), + JSArray_legacy_SelectableInsertion: findType("JSArray"), + JSArray_legacy_SelectableTrait: findType("JSArray"), + JSArray_legacy_Strand: findType("JSArray"), + JSArray_legacy_String: findType("JSArray"), + JSArray_legacy_Substrand: findType("JSArray"), + JSArray_legacy_SvgElement: findType("JSArray"), + JSArray_legacy_TextContentElement: findType("JSArray"), + JSArray_legacy_Tuple2_of_legacy_Address_and_legacy_Address: findType("JSArray*>"), + JSArray_legacy_Tuple2_of_legacy_Address_and_legacy_Crossover: findType("JSArray*>"), + JSArray_legacy_Tuple2_of_legacy_DNAEnd_and_legacy_DNAEnd: findType("JSArray*>"), + JSArray_legacy_Tuple2_of_legacy_Domain_and_legacy_Domain: findType("JSArray*>"), + JSArray_legacy_Tuple2_of_legacy_OxdnaStrand_and_legacy_bool: findType("JSArray*>"), + JSArray_legacy_Tuple2_of_legacy_Tuple2_of_legacy_int_and_legacy_int_and_legacy_Domain: findType("JSArray*,Domain*>*>"), + JSArray_legacy_Tuple2_of_legacy_double_and_legacy_double: findType("JSArray*>"), + JSArray_legacy_Tuple3_of_legacy_int_and_legacy_bool_and_legacy_Domain: findType("JSArray*>"), + JSArray_legacy_Tuple5_of_legacy_int_and_legacy_Domain_and_legacy_Domain_and_legacy_Strand_and_legacy_Strand: findType("JSArray*>"), + JSArray_legacy_Type: findType("JSArray"), + JSArray_legacy_UndoableAction: findType("JSArray"), + JSArray_legacy_double: findType("JSArray"), + JSArray_legacy_int: findType("JSArray"), + JSArray_legacy_num: findType("JSArray"), + JSArray_nullable_String: findType("JSArray"), + JSArray_of_legacy_dynamic_Function_3_legacy_Store_legacy_DNAEndsMove_and_dynamic_and_legacy_dynamic_Function_dynamic: findType("JSArray<@(Store*,@,@(@)*)*>"), + JSArray_of_legacy_dynamic_Function_3_legacy_Store_legacy_DNAExtensionsMove_and_dynamic_and_legacy_dynamic_Function_dynamic: findType("JSArray<@(Store*,@,@(@)*)*>"), + JSArray_of_legacy_dynamic_Function_3_legacy_Store_legacy_HelixGroupMove_and_dynamic_and_legacy_dynamic_Function_dynamic: findType("JSArray<@(Store*,@,@(@)*)*>"), + JSArray_of_legacy_dynamic_Function_3_legacy_Store_legacy_PotentialCrossover_and_dynamic_and_legacy_dynamic_Function_dynamic: findType("JSArray<@(Store*,@,@(@)*)*>"), + JSArray_of_legacy_dynamic_Function_3_legacy_Store_legacy_SelectionBox_and_dynamic_and_legacy_dynamic_Function_dynamic: findType("JSArray<@(Store*,@,@(@)*)*>"), + JSArray_of_legacy_dynamic_Function_3_legacy_Store_legacy_SelectionRope_and_dynamic_and_legacy_dynamic_Function_dynamic: findType("JSArray<@(Store*,@,@(@)*)*>"), + JSArray_of_legacy_dynamic_Function_dynamic: findType("JSArray<@(@)*>"), + JSArray_of_legacy_legacy_bool_Function_2_legacy_bool_and_dynamic: findType("JSArray"), + JSIndexable_dynamic: findType("JSIndexable<@>"), + JSNull: findType("JSNull"), + JSObject: findType("JSObject"), + JavaScriptFunction: findType("JavaScriptFunction"), + JavaScriptIndexingBehavior_dynamic: findType("JavaScriptIndexingBehavior<@>"), + JsArray_dynamic: findType("JsArray<@>"), + JsLinkedHashMap_Symbol_dynamic: findType("JsLinkedHashMap"), + JsLinkedHashMap_of_legacy_Address_and_legacy_DNAEnd: findType("JsLinkedHashMap"), + JsLinkedHashMap_of_legacy_Address_and_legacy_Domain: findType("JsLinkedHashMap"), + JsLinkedHashMap_of_legacy_Address_and_legacy_Strand: findType("JsLinkedHashMap"), + JsLinkedHashMap_of_legacy_Crossover_and_legacy_Strand: findType("JsLinkedHashMap"), + JsLinkedHashMap_of_legacy_DNAEnd_and_legacy_Address: findType("JsLinkedHashMap"), + JsLinkedHashMap_of_legacy_Domain_and_legacy_BuiltList_legacy_Address: findType("JsLinkedHashMap*>"), + JsLinkedHashMap_of_legacy_Domain_and_legacy_List_legacy_Address: findType("JsLinkedHashMap*>"), + JsLinkedHashMap_of_legacy_Linker_and_legacy_Strand: findType("JsLinkedHashMap"), + JsLinkedHashMap_of_legacy_Strand_and_legacy_int: findType("JsLinkedHashMap"), + JsLinkedHashMap_of_legacy_String_and_dynamic: findType("JsLinkedHashMap"), + JsLinkedHashMap_of_legacy_Substrand_and_legacy_Map_of_legacy_int_and_legacy_ModificationInternal: findType("JsLinkedHashMap*>"), + JsLinkedHashMap_of_legacy_int_and_legacy_BuiltList_legacy_Domain: findType("JsLinkedHashMap*>"), + JsLinkedHashMap_of_legacy_int_and_legacy_BuiltList_legacy_Tuple5_of_legacy_int_and_legacy_Domain_and_legacy_Domain_and_legacy_Strand_and_legacy_Strand: findType("JsLinkedHashMap*>*>"), + JsLinkedHashMap_of_legacy_int_and_legacy_BuiltList_legacy_int: findType("JsLinkedHashMap*>"), + JsLinkedHashMap_of_legacy_int_and_legacy_List_legacy_Domain: findType("JsLinkedHashMap*>"), + JsLinkedHashMap_of_legacy_int_and_legacy_List_legacy_int: findType("JsLinkedHashMap*>"), + JsLinkedHashMap_of_legacy_int_and_legacy_ModificationInternal: findType("JsLinkedHashMap"), + JsLinkedHashMap_of_legacy_int_and_legacy_int: findType("JsLinkedHashMap"), + JsonObject: findType("JsonObject"), + KeyRange: findType("KeyRange"), + KeyboardEvent: findType("KeyboardEvent"), + Length: findType("Length"), + Level: findType("Level"), + ListBuilder_dynamic: findType("ListBuilder<@>"), + ListBuilder_legacy_BuiltList_legacy_int: findType("ListBuilder*>"), + ListBuilder_legacy_ContextMenuItem: findType("ListBuilder"), + ListBuilder_legacy_Crossover: findType("ListBuilder"), + ListBuilder_legacy_DNAEndMove: findType("ListBuilder"), + ListBuilder_legacy_DNAExtensionMove: findType("ListBuilder"), + ListBuilder_legacy_DialogItem: findType("ListBuilder"), + ListBuilder_legacy_Domain: findType("ListBuilder"), + ListBuilder_legacy_Extension: findType("ListBuilder"), + ListBuilder_legacy_Insertion: findType("ListBuilder"), + ListBuilder_legacy_Loopout: findType("ListBuilder"), + ListBuilder_legacy_MouseoverData: findType("ListBuilder"), + ListBuilder_legacy_MouseoverParams: findType("ListBuilder"), + ListBuilder_legacy_Point_legacy_num: findType("ListBuilder*>"), + ListBuilder_legacy_SelectModeChoice: findType("ListBuilder"), + ListBuilder_legacy_Selectable: findType("ListBuilder"), + ListBuilder_legacy_SelectableModification3Prime: findType("ListBuilder"), + ListBuilder_legacy_SelectableModification5Prime: findType("ListBuilder"), + ListBuilder_legacy_SelectableModificationInternal: findType("ListBuilder"), + ListBuilder_legacy_SelectableTrait: findType("ListBuilder"), + ListBuilder_legacy_Strand: findType("ListBuilder"), + ListBuilder_legacy_String: findType("ListBuilder"), + ListBuilder_legacy_Substrand: findType("ListBuilder"), + ListBuilder_legacy_UndoableAction: findType("ListBuilder"), + ListBuilder_legacy_int: findType("ListBuilder"), + ListEquality_dynamic: findType("ListEquality<@>"), + ListMultimapBuilder_dynamic_dynamic: findType("ListMultimapBuilder<@,@>"), + List_Element: findType("List"), + List_Int32List: findType("List"), + List_String: findType("List"), + List_Uint8List: findType("List"), + List__Highlight: findType("List<_Highlight>"), + List__ZipFileData: findType("List<_ZipFileData>"), + List_dynamic: findType("List<@>"), + List_int: findType("List"), + List_legacy_BuiltList_legacy_int: findType("List*>"), + List_legacy_ContextMenuItem: findType("List"), + List_legacy_Crossover: findType("List"), + List_legacy_DNAEndMove: findType("List"), + List_legacy_DNAExtensionMove: findType("List"), + List_legacy_DialogItem: findType("List"), + List_legacy_Domain: findType("List"), + List_legacy_Extension: findType("List"), + List_legacy_Insertion: findType("List"), + List_legacy_Loopout: findType("List"), + List_legacy_MouseoverData: findType("List"), + List_legacy_MouseoverParams: findType("List"), + List_legacy_Point_legacy_num: findType("List*>"), + List_legacy_SelectModeChoice: findType("List"), + List_legacy_Selectable: findType("List"), + List_legacy_SelectableModification3Prime: findType("List"), + List_legacy_SelectableModification5Prime: findType("List"), + List_legacy_SelectableModificationInternal: findType("List"), + List_legacy_SelectableTrait: findType("List"), + List_legacy_Strand: findType("List"), + List_legacy_String: findType("List"), + List_legacy_Substrand: findType("List"), + List_legacy_UndoableAction: findType("List"), + List_legacy_int: findType("List"), + List_nullable_Object: findType("List"), + List_nullable__Highlight: findType("List<_Highlight?>"), + Logger: findType("Logger"), + MapBuilder_dynamic_dynamic: findType("MapBuilder<@,@>"), + MapBuilder_of_legacy_String_and_legacy_HelixGroup: findType("MapBuilder"), + MapBuilder_of_legacy_String_and_legacy_Object: findType("MapBuilder"), + MapBuilder_of_legacy_int_and_legacy_BuiltList_legacy_int: findType("MapBuilder*>"), + MapBuilder_of_legacy_int_and_legacy_Helix: findType("MapBuilder"), + MapBuilder_of_legacy_int_and_legacy_ModificationInternal: findType("MapBuilder"), + MapBuilder_of_legacy_int_and_legacy_Strand: findType("MapBuilder"), + MapBuilder_of_legacy_int_and_legacy_int: findType("MapBuilder"), + MapEntry_of_legacy_String_and_legacy_HelixGroup: findType("MapEntry"), + MapEntry_of_legacy_String_and_legacy_int: findType("MapEntry"), + MapEntry_of_legacy_int_and_legacy_num: findType("MapEntry"), + MapEquality_dynamic_dynamic: findType("MapEquality<@,@>"), + Map_String_ArchiveFile: findType("Map"), + Map_String_SpreadsheetTable: findType("Map"), + Map_String_String: findType("Map"), + Map_String_XmlDocument: findType("Map"), + Map_String_XmlElement: findType("Map"), + Map_dynamic_dynamic: findType("Map<@,@>"), + Map_of_String_and_nullable_Object: findType("Map"), + MappedListIterable_String_dynamic: findType("MappedListIterable"), + MappedListIterable_of_String_and_legacy_String: findType("MappedListIterable"), + MappedListIterable_of_legacy_String_and_String: findType("MappedListIterable"), + MessagePort: findType("MessagePort"), + MimeType: findType("MimeType"), + MouseEvent: findType("MouseEvent"), + NativeByteBuffer: findType("NativeByteBuffer"), + NativeTypedArrayOfDouble: findType("NativeTypedArrayOfDouble"), + NativeTypedArrayOfInt: findType("NativeTypedArrayOfInt"), + NativeTypedData: findType("NativeTypedData"), + NativeUint8List: findType("NativeUint8List"), + Node: findType("Node"), + NodeValidator: findType("NodeValidator"), + Null: findType("Null"), + Number: findType("Number"), + Object: findType("Object"), + OptionElement: findType("OptionElement"), + OptionalParser_dynamic: findType("OptionalParser<@>"), + Parser_dynamic: findType("Parser<@>"), + Parser_void: findType("Parser<~>"), + Pattern: findType("Pattern"), + PickParser_dynamic: findType("PickParser<@>"), + PickParser_void: findType("PickParser<~>"), + Plugin: findType("Plugin"), + Point_legacy_int: findType("Point"), + Point_legacy_num: findType("Point"), + Point_num: findType("Point"), + PointerEvent: findType("PointerEvent"), + PrimitiveSerializer_dynamic: findType("PrimitiveSerializer<@>"), + ProgressEvent: findType("ProgressEvent"), + PropsMetaCollection: findType("PropsMetaCollection"), + RangeCharPredicate: findType("RangeCharPredicate"), + ReactDartComponentFactoryProxy2_legacy_Component2: findType("ReactDartComponentFactoryProxy2"), + Rectangle_num: findType("Rectangle"), + Ref_legacy_DivElement: findType("Ref"), + ReferenceParser_dynamic: findType("ReferenceParser<@>"), + RegExp: findType("RegExp"), + Request: findType("Request0"), + ResolvableParser_dynamic: findType("ResolvableParser<@>"), + ReversedListIterable_String: findType("ReversedListIterable"), + ReversedListIterable_legacy_OxdnaNucleotide: findType("ReversedListIterable"), + ReversedListIterable_legacy_Strand: findType("ReversedListIterable"), + ReversedListIterable_legacy_String: findType("ReversedListIterable"), + ReversedListIterable_legacy_int: findType("ReversedListIterable"), + ReversedListIterable_of_legacy_dynamic_Function_dynamic: findType("ReversedListIterable<@(@)*>"), + Runes: findType("Runes"), + SelectElement: findType("SelectElement"), + SequenceParser_dynamic: findType("SequenceParser<@>"), + SequenceParser_void: findType("SequenceParser<~>"), + SerializerPlugin: findType("SerializerPlugin"), + Serializer_dynamic: findType("Serializer<@>"), + SetBuilder_dynamic: findType("SetBuilder<@>"), + SetBuilder_legacy_EditModeChoice: findType("SetBuilder"), + SetBuilder_legacy_SelectModeChoice: findType("SetBuilder"), + SetBuilder_legacy_Selectable: findType("SetBuilder"), + SetBuilder_legacy_Strand: findType("SetBuilder"), + SetBuilder_legacy_String: findType("SetBuilder"), + SetBuilder_legacy_int: findType("SetBuilder"), + SetEquality_dynamic: findType("SetEquality<@>"), + SetMultimapBuilder_dynamic_dynamic: findType("SetMultimapBuilder<@,@>"), + Set_String: findType("Set"), + Set_XmlNodeType: findType("Set"), + Set_dynamic: findType("Set<@>"), + SourceBuffer: findType("SourceBuffer"), + SourceLocation: findType("SourceLocation"), + SourceSpan: findType("SourceSpan"), + SourceSpanWithContext: findType("SourceSpanWithContext"), + SpeechGrammar: findType("SpeechGrammar"), + SpeechRecognitionResult: findType("SpeechRecognitionResult"), + SpreadsheetTable: findType("SpreadsheetTable"), + StackTrace: findType("StackTrace"), + StreamSubscription_dynamic: findType("StreamSubscription<@>"), + String: findType("String"), + String_Function_Match: findType("String(Match)"), + String_Function_legacy_String: findType("String(String*)"), + StructuredSerializer_dynamic: findType("StructuredSerializer<@>"), + StyleSheet: findType("StyleSheet"), + Success_String: findType("Success"), + Success_dynamic: findType("Success<@>"), + Success_void: findType("Success<~>"), + SvgElement: findType("SvgElement"), + SvgSvgElement: findType("SvgSvgElement"), + Symbol: findType("Symbol0"), + TemplateElement: findType("TemplateElement"), + TextAreaElement: findType("TextAreaElement"), + TextTrack: findType("TextTrack"), + TextTrackCue: findType("TextTrackCue"), + Timer: findType("Timer"), + TokenParser_String: findType("TokenParser"), + TokenParser_dynamic: findType("TokenParser<@>"), + Token_dynamic: findType("Token<@>"), + Touch: findType("Touch"), + TouchEvent: findType("TouchEvent"), + Transform: findType("Transform"), + Tuple2_of_legacy_Address_and_legacy_Address: findType("Tuple2"), + Tuple2_of_legacy_Address_and_legacy_Crossover: findType("Tuple2"), + Tuple2_of_legacy_DNAEnd_and_legacy_DNAEnd: findType("Tuple2"), + Tuple2_of_legacy_Domain_and_legacy_Domain: findType("Tuple2"), + Tuple2_of_legacy_List_legacy_Strand_and_legacy_List_legacy_int: findType("Tuple2*,List*>"), + Tuple2_of_legacy_List_legacy_num_and_legacy_List_legacy_num: findType("Tuple2*,List*>"), + Tuple2_of_legacy_Map_of_legacy_int_and_legacy_HelixBuilder_and_legacy_Map_of_legacy_String_and_legacy_HelixGroupBuilder: findType("Tuple2*,Map*>"), + Tuple2_of_legacy_OxdnaStrand_and_legacy_bool: findType("Tuple2"), + Tuple2_of_legacy_Strand_and_legacy_List_legacy_InsertionDeletionRecord: findType("Tuple2*>"), + Tuple2_of_legacy_String_and_legacy_Map_of_legacy_String_and_legacy_Modification3Prime: findType("Tuple2*>"), + Tuple2_of_legacy_String_and_legacy_Map_of_legacy_String_and_legacy_Modification5Prime: findType("Tuple2*>"), + Tuple2_of_legacy_String_and_legacy_Map_of_legacy_String_and_legacy_ModificationInternal: findType("Tuple2*>"), + Tuple2_of_legacy_String_and_legacy_String: findType("Tuple2"), + Tuple2_of_legacy_Substrand_and_legacy_int: findType("Tuple2"), + Tuple2_of_legacy_Tuple2_of_legacy_int_and_legacy_int_and_legacy_Domain: findType("Tuple2*,Domain*>"), + Tuple2_of_legacy_double_and_legacy_double: findType("Tuple2"), + Tuple2_of_legacy_int_and_legacy_int: findType("Tuple2"), + Tuple2_of_legacy_num_and_legacy_num: findType("Tuple2"), + Tuple3_of_legacy_Map_of_legacy_int_and_legacy_HelixBuilder_and_legacy_Map_of_legacy_String_and_legacy_HelixPitchYaw_and_legacy_Map_of_legacy_HelixPitchYaw_and_legacy_List_legacy_HelixBuilder: findType("Tuple3*,Map*,Map*>*>"), + Tuple3_of_legacy_OxdnaVector_and_legacy_OxdnaVector_and_legacy_OxdnaVector: findType("Tuple3"), + Tuple3_of_legacy_int_and_legacy_bool_and_legacy_Domain: findType("Tuple3"), + Tuple3_of_legacy_int_and_legacy_int_and_legacy_bool: findType("Tuple3"), + Tuple5_of_legacy_int_and_legacy_Domain_and_legacy_Domain_and_legacy_Strand_and_legacy_Strand: findType("Tuple5"), + Type: findType("Type"), + TypedData: findType("TypedData"), + TypedGlobalReducer_of_legacy_String_and_legacy_AppState_and_legacy_GroupRemove: findType("TypedGlobalReducer"), + TypedReducer_of_legacy_BasePairDisplayType_and_legacy_BasePairTypeSet: findType("TypedReducer"), + TypedReducer_of_legacy_DNAAssignOptions_and_legacy_AssignDNA: findType("TypedReducer"), + TypedReducer_of_legacy_ExampleDesigns_and_legacy_ExampleDesignsLoad: findType("TypedReducer"), + TypedReducer_of_legacy_LocalStorageDesignChoice_and_legacy_LocalStorageDesignChoiceSet: findType("TypedReducer"), + TypedReducer_of_legacy_Modification3Prime_and_legacy_ModificationAdd: findType("TypedReducer"), + TypedReducer_of_legacy_Modification5Prime_and_legacy_ModificationAdd: findType("TypedReducer"), + TypedReducer_of_legacy_ModificationInternal_and_legacy_ModificationAdd: findType("TypedReducer"), + TypedReducer_of_legacy_String_and_legacy_ErrorMessageSet: findType("TypedReducer"), + TypedReducer_of_legacy_bool_and_legacy_AutofitSet: findType("TypedReducer"), + TypedReducer_of_legacy_bool_and_legacy_ClearHelixSelectionWhenLoadingNewDesignSet: findType("TypedReducer"), + TypedReducer_of_legacy_bool_and_legacy_DefaultCrossoverTypeForSettingHelixRollsSet: findType("TypedReducer"), + TypedReducer_of_legacy_bool_and_legacy_DisablePngCachingDnaSequencesSet: findType("TypedReducer"), + TypedReducer_of_legacy_bool_and_legacy_DisplayMajorTicksOffsetsSet: findType("TypedReducer"), + TypedReducer_of_legacy_bool_and_legacy_DisplayReverseDNARightSideUpSet: findType("TypedReducer"), + TypedReducer_of_legacy_bool_and_legacy_DynamicHelixUpdateSet: findType("TypedReducer"), + TypedReducer_of_legacy_bool_and_legacy_ExportSvgTextSeparatelySet: findType("TypedReducer"), + TypedReducer_of_legacy_bool_and_legacy_InvertYSet: findType("TypedReducer"), + TypedReducer_of_legacy_bool_and_legacy_OxExportOnlySelectedStrandsSet: findType("TypedReducer"), + TypedReducer_of_legacy_bool_and_legacy_OxviewShowSet: findType("TypedReducer"), + TypedReducer_of_legacy_bool_and_legacy_RetainStrandColorOnSelectionSet: findType("TypedReducer"), + TypedReducer_of_legacy_bool_and_legacy_SelectionBoxIntersectionRuleSet: findType("TypedReducer"), + TypedReducer_of_legacy_bool_and_legacy_SetDisplayBaseOffsetsOfMajorTicksOnlyFirstHelix: findType("TypedReducer"), + TypedReducer_of_legacy_bool_and_legacy_SetDisplayMajorTickWidths: findType("TypedReducer"), + TypedReducer_of_legacy_bool_and_legacy_SetDisplayMajorTickWidthsAllHelices: findType("TypedReducer"), + TypedReducer_of_legacy_bool_and_legacy_SetModificationDisplayConnector: findType("TypedReducer"), + TypedReducer_of_legacy_bool_and_legacy_SetOnlyDisplaySelectedHelices: findType("TypedReducer"), + TypedReducer_of_legacy_bool_and_legacy_ShowAxisArrowsSet: findType("TypedReducer"), + TypedReducer_of_legacy_bool_and_legacy_ShowBasePairLinesSet: findType("TypedReducer"), + TypedReducer_of_legacy_bool_and_legacy_ShowBasePairLinesWithMismatchesSet: findType("TypedReducer"), + TypedReducer_of_legacy_bool_and_legacy_ShowDNASet: findType("TypedReducer"), + TypedReducer_of_legacy_bool_and_legacy_ShowDomainLabelsSet: findType("TypedReducer"), + TypedReducer_of_legacy_bool_and_legacy_ShowDomainNameMismatchesSet: findType("TypedReducer"), + TypedReducer_of_legacy_bool_and_legacy_ShowDomainNamesSet: findType("TypedReducer"), + TypedReducer_of_legacy_bool_and_legacy_ShowEditMenuToggle: findType("TypedReducer"), + TypedReducer_of_legacy_bool_and_legacy_ShowGridCoordinatesSideViewSet: findType("TypedReducer"), + TypedReducer_of_legacy_bool_and_legacy_ShowHelixCirclesMainViewSet: findType("TypedReducer"), + TypedReducer_of_legacy_bool_and_legacy_ShowHelixComponentsMainViewSet: findType("TypedReducer"), + TypedReducer_of_legacy_bool_and_legacy_ShowLoopoutExtensionLengthSet: findType("TypedReducer"), + TypedReducer_of_legacy_bool_and_legacy_ShowMismatchesSet: findType("TypedReducer"), + TypedReducer_of_legacy_bool_and_legacy_ShowModificationsSet: findType("TypedReducer"), + TypedReducer_of_legacy_bool_and_legacy_ShowMouseoverDataSet: findType("TypedReducer"), + TypedReducer_of_legacy_bool_and_legacy_ShowSliceBarSet: findType("TypedReducer"), + TypedReducer_of_legacy_bool_and_legacy_ShowStrandLabelsSet: findType("TypedReducer"), + TypedReducer_of_legacy_bool_and_legacy_ShowStrandNamesSet: findType("TypedReducer"), + TypedReducer_of_legacy_bool_and_legacy_ShowUnpairedInsertionDeletionsSet: findType("TypedReducer"), + TypedReducer_of_legacy_bool_and_legacy_StrandPasteKeepColorSet: findType("TypedReducer"), + TypedReducer_of_legacy_bool_and_legacy_WarnOnExitIfUnsavedSet: findType("TypedReducer"), + TypedReducer_of_legacy_int_and_legacy_SliceBarOffsetSet: findType("TypedReducer"), + TypedReducer_of_legacy_num_and_legacy_DomainLabelFontSizeSet: findType("TypedReducer"), + TypedReducer_of_legacy_num_and_legacy_DomainNameFontSizeSet: findType("TypedReducer"), + TypedReducer_of_legacy_num_and_legacy_MajorTickOffsetFontSizeSet: findType("TypedReducer"), + TypedReducer_of_legacy_num_and_legacy_MajorTickWidthFontSizeSet: findType("TypedReducer"), + TypedReducer_of_legacy_num_and_legacy_ModificationFontSizeSet: findType("TypedReducer"), + TypedReducer_of_legacy_num_and_legacy_StrandLabelFontSizeSet: findType("TypedReducer"), + TypedReducer_of_legacy_num_and_legacy_StrandNameFontSizeSet: findType("TypedReducer"), + TypedReducer_of_legacy_num_and_legacy_ZoomSpeedSet: findType("TypedReducer"), + Uint8List: findType("Uint8List"), + UnknownJavaScriptObject: findType("UnknownJavaScriptObject"), + UnmodifiableListView_nullable_Object: findType("UnmodifiableListView"), + UnmodifiableMapView_String_Logger: findType("UnmodifiableMapView"), + UnmodifiableMapView_of_String_and_nullable_Object: findType("UnmodifiableMapView"), + UnmodifiableMapView_of_legacy_String_and_legacy_String: findType("UnmodifiableMapView"), + Uri: findType("Uri"), + Utf8Codec: findType("Utf8Codec"), + WhereIterable_String: findType("WhereIterable"), + WhereIterable_legacy_int: findType("WhereIterable"), + WhereTypeIterable_String: findType("WhereTypeIterable"), + WhereTypeIterable_XmlElement: findType("WhereTypeIterable"), + Window: findType("Window"), + WindowBase: findType("WindowBase"), + WorkerGlobalScope: findType("WorkerGlobalScope"), + XmlAttribute: findType("XmlAttribute"), + XmlAttributeType: findType("XmlAttributeType"), + XmlDocument: findType("XmlDocument"), + XmlElement: findType("XmlElement"), + XmlEntityMapping: findType("XmlEntityMapping"), + XmlHasName: findType("XmlHasName"), + XmlHasVisitor: findType("XmlHasVisitor"), + XmlName: findType("XmlName"), + XmlNode: findType("XmlNode"), + _AsyncCompleter_Blob: findType("_AsyncCompleter"), + _AsyncCompleter_HttpRequest: findType("_AsyncCompleter"), + _AsyncCompleter_Null: findType("_AsyncCompleter"), + _AsyncCompleter_dynamic: findType("_AsyncCompleter<@>"), + _AsyncCompleter_legacy_List_legacy_DialogItem: findType("_AsyncCompleter*>"), + _AsyncCompleter_legacy_StreamedResponse: findType("_AsyncCompleter"), + _AsyncCompleter_legacy_Uint8List: findType("_AsyncCompleter"), + _AsyncCompleter_legacy_int: findType("_AsyncCompleter"), + _Attr: findType("_Attr"), + _BigIntImpl: findType("_BigIntImpl"), + _BuiltList_legacy_Address: findType("_BuiltList"), + _BuiltList_legacy_DialogItem: findType("_BuiltList"), + _BuiltList_legacy_Domain: findType("_BuiltList"), + _BuiltList_legacy_DomainNameMismatch: findType("_BuiltList"), + _BuiltList_legacy_Tuple5_of_legacy_int_and_legacy_Domain_and_legacy_Domain_and_legacy_Strand_and_legacy_Strand: findType("_BuiltList*>"), + _BuiltList_legacy_int: findType("_BuiltList"), + _ChildNodeListLazy: findType("_ChildNodeListLazy"), + _DelayedEvent_dynamic: findType("_DelayedEvent<@>"), + _ElementEventStreamImpl_Event: findType("_ElementEventStreamImpl"), + _ElementEventStreamImpl_legacy_Event: findType("_ElementEventStreamImpl"), + _ElementEventStreamImpl_legacy_KeyboardEvent: findType("_ElementEventStreamImpl"), + _ElementEventStreamImpl_legacy_MouseEvent: findType("_ElementEventStreamImpl"), + _ElementEventStreamImpl_legacy_TouchEvent: findType("_ElementEventStreamImpl"), + _EventManager: findType("_EventManager"), + _EventStream_Event: findType("_EventStream"), + _EventStream_legacy_ProgressEvent: findType("_EventStream"), + _FrozenElementList_legacy_Element: findType("_FrozenElementList"), + _Future_Blob: findType("_Future"), + _Future_HttpRequest: findType("_Future"), + _Future_Null: findType("_Future"), + _Future_dynamic: findType("_Future<@>"), + _Future_int: findType("_Future"), + _Future_legacy_List_legacy_DialogItem: findType("_Future*>"), + _Future_legacy_StreamedResponse: findType("_Future"), + _Future_legacy_Uint8List: findType("_Future"), + _Future_legacy_int: findType("_Future"), + _Future_void: findType("_Future<~>"), + _Highlight: findType("_Highlight"), + _Html5NodeValidator: findType("_Html5NodeValidator"), + _IdentityHashMap_dynamic_dynamic: findType("_IdentityHashMap<@,@>"), + _Line: findType("_Line"), + _MapEntry: findType("_MapEntry"), + _StreamControllerAddStreamState_nullable_Object: findType("_StreamControllerAddStreamState"), + _SyncStreamController_BeforeUnloadEvent: findType("_SyncStreamController"), + _UnmodifiableSet_legacy_XmlNodeType: findType("_UnmodifiableSet"), + bool: findType("bool"), + bool_Function_Node: findType("bool(Node)"), + bool_Function_Object: findType("bool(Object)"), + bool_Function_String: findType("bool(String)"), + bool_Function__Highlight: findType("bool(_Highlight)"), + bool_Function_legacy_int: findType("bool(int*)"), + double: findType("double"), + dynamic: findType("@"), + dynamic_Function: findType("@()"), + dynamic_Function_Object: findType("@(Object)"), + dynamic_Function_Object_StackTrace: findType("@(Object,StackTrace)"), + dynamic_Function_Set_String: findType("@(Set)"), + dynamic_Function_String: findType("@(String)"), + dynamic_Function_dynamic_dynamic: findType("@(@,@)"), + int: findType("int"), + legacy_Action: findType("Action*"), + legacy_Address: findType("Address*"), + legacy_AddressDifference: findType("AddressDifference*"), + legacy_AppState: findType("AppState*"), + legacy_AppUIState: findType("AppUIState*"), + legacy_AppUIStateStorables: findType("AppUIStateStorables*"), + legacy_AssignDNA: findType("AssignDNA*"), + legacy_AssignDNAComplementFromBoundStrands: findType("AssignDNAComplementFromBoundStrands*"), + legacy_AssignDomainNameComplementFromBoundDomains: findType("AssignDomainNameComplementFromBoundDomains*"), + legacy_AssignDomainNameComplementFromBoundStrands: findType("AssignDomainNameComplementFromBoundStrands*"), + legacy_AutoPasteInitiate: findType("AutoPasteInitiate*"), + legacy_Autobreak: findType("Autobreak*"), + legacy_AutofitSet: findType("AutofitSet*"), + legacy_Autostaple: findType("Autostaple*"), + legacy_BasePairDisplayType: findType("BasePairDisplayType*"), + legacy_BasePairTypeSet: findType("BasePairTypeSet*"), + legacy_BatchAction: findType("BatchAction*"), + legacy_BeforeUnloadEvent: findType("BeforeUnloadEvent*"), + legacy_Blob: findType("Blob*"), + legacy_Box: findType("Box*"), + legacy_Browser: findType("Browser*"), + legacy_BuiltList_legacy_Address: findType("BuiltList*"), + legacy_BuiltList_legacy_BuiltMap_of_legacy_int_and_legacy_ModificationInternal: findType("BuiltList*>*"), + legacy_BuiltList_legacy_Crossover: findType("BuiltList*"), + legacy_BuiltList_legacy_DNAEnd: findType("BuiltList*"), + legacy_BuiltList_legacy_DesignSideRotationData: findType("BuiltList*"), + legacy_BuiltList_legacy_DialogItem: findType("BuiltList*"), + legacy_BuiltList_legacy_Domain: findType("BuiltList*"), + legacy_BuiltList_legacy_DomainNameMismatch: findType("BuiltList*"), + legacy_BuiltList_legacy_Extension: findType("BuiltList*"), + legacy_BuiltList_legacy_Line: findType("BuiltList*"), + legacy_BuiltList_legacy_Linker: findType("BuiltList*"), + legacy_BuiltList_legacy_Loopout: findType("BuiltList*"), + legacy_BuiltList_legacy_Mismatch: findType("BuiltList*"), + legacy_BuiltList_legacy_MouseoverData: findType("BuiltList*"), + legacy_BuiltList_legacy_Object: findType("BuiltList*"), + legacy_BuiltList_legacy_PotentialVerticalCrossover: findType("BuiltList*"), + legacy_BuiltList_legacy_Selectable: findType("BuiltList*"), + legacy_BuiltList_legacy_SelectableDeletion: findType("BuiltList*"), + legacy_BuiltList_legacy_SelectableInsertion: findType("BuiltList*"), + legacy_BuiltList_legacy_Strand: findType("BuiltList*"), + legacy_BuiltList_legacy_String: findType("BuiltList*"), + legacy_BuiltList_legacy_Substrand: findType("BuiltList*"), + legacy_BuiltList_legacy_Tuple2_of_legacy_Address_and_legacy_Crossover: findType("BuiltList*>*"), + legacy_BuiltList_legacy_Tuple5_of_legacy_int_and_legacy_Domain_and_legacy_Domain_and_legacy_Strand_and_legacy_Strand: findType("BuiltList*>*"), + legacy_BuiltList_legacy_UndoRedoItem: findType("BuiltList*"), + legacy_BuiltList_legacy_int: findType("BuiltList*"), + legacy_BuiltMap_of_legacy_Address_and_legacy_DNAEnd: findType("BuiltMap*"), + legacy_BuiltMap_of_legacy_Address_and_legacy_Domain: findType("BuiltMap*"), + legacy_BuiltMap_of_legacy_Address_and_legacy_Strand: findType("BuiltMap*"), + legacy_BuiltMap_of_legacy_Crossover_and_legacy_Strand: findType("BuiltMap*"), + legacy_BuiltMap_of_legacy_DNAEnd_and_legacy_Address: findType("BuiltMap*"), + legacy_BuiltMap_of_legacy_DNAEnd_and_legacy_Domain: findType("BuiltMap*"), + legacy_BuiltMap_of_legacy_DNAEnd_and_legacy_Extension: findType("BuiltMap*"), + legacy_BuiltMap_of_legacy_DialogType_and_legacy_BuiltList_legacy_DialogItem: findType("BuiltMap*>*"), + legacy_BuiltMap_of_legacy_Domain_and_legacy_BuiltList_legacy_Address: findType("BuiltMap*>*"), + legacy_BuiltMap_of_legacy_Domain_and_legacy_BuiltList_legacy_Mismatch: findType("BuiltMap*>*"), + legacy_BuiltMap_of_legacy_Domain_and_legacy_Color: findType("BuiltMap*"), + legacy_BuiltMap_of_legacy_Linker_and_legacy_Strand: findType("BuiltMap*"), + legacy_BuiltMap_of_legacy_Strand_and_legacy_BuiltList_legacy_Strand: findType("BuiltMap*>*"), + legacy_BuiltMap_of_legacy_Strand_and_legacy_int: findType("BuiltMap*"), + legacy_BuiltMap_of_legacy_String_and_legacy_BuiltList_legacy_int: findType("BuiltMap*>*"), + legacy_BuiltMap_of_legacy_String_and_legacy_Crossover: findType("BuiltMap*"), + legacy_BuiltMap_of_legacy_String_and_legacy_DNAEnd: findType("BuiltMap*"), + legacy_BuiltMap_of_legacy_String_and_legacy_Domain: findType("BuiltMap*"), + legacy_BuiltMap_of_legacy_String_and_legacy_Extension: findType("BuiltMap*"), + legacy_BuiltMap_of_legacy_String_and_legacy_HelixGroup: findType("BuiltMap*"), + legacy_BuiltMap_of_legacy_String_and_legacy_Loopout: findType("BuiltMap*"), + legacy_BuiltMap_of_legacy_String_and_legacy_Selectable: findType("BuiltMap*"), + legacy_BuiltMap_of_legacy_String_and_legacy_SelectableDeletion: findType("BuiltMap*"), + legacy_BuiltMap_of_legacy_String_and_legacy_SelectableInsertion: findType("BuiltMap*"), + legacy_BuiltMap_of_legacy_String_and_legacy_SelectableModification: findType("BuiltMap*"), + legacy_BuiltMap_of_legacy_String_and_legacy_Strand: findType("BuiltMap*"), + legacy_BuiltMap_of_legacy_Substrand_and_legacy_BuiltMap_of_legacy_int_and_legacy_ModificationInternal: findType("BuiltMap*>*"), + legacy_BuiltMap_of_legacy_Substrand_and_legacy_Strand: findType("BuiltMap*"), + legacy_BuiltMap_of_legacy_int_and_legacy_BuiltList_legacy_Address: findType("BuiltMap*>*"), + legacy_BuiltMap_of_legacy_int_and_legacy_BuiltList_legacy_Domain: findType("BuiltMap*>*"), + legacy_BuiltMap_of_legacy_int_and_legacy_BuiltList_legacy_DomainNameMismatch: findType("BuiltMap*>*"), + legacy_BuiltMap_of_legacy_int_and_legacy_BuiltList_legacy_String: findType("BuiltMap*>*"), + legacy_BuiltMap_of_legacy_int_and_legacy_BuiltList_legacy_Tuple2_of_legacy_Address_and_legacy_Crossover: findType("BuiltMap*>*>*"), + legacy_BuiltMap_of_legacy_int_and_legacy_Helix: findType("BuiltMap*"), + legacy_BuiltMap_of_legacy_int_and_legacy_ModificationInternal: findType("BuiltMap*"), + legacy_BuiltMap_of_legacy_int_and_legacy_Point_legacy_num: findType("BuiltMap*>*"), + legacy_BuiltMap_of_legacy_int_and_legacy_SelectableModificationInternal: findType("BuiltMap*"), + legacy_BuiltMap_of_legacy_int_and_legacy_int: findType("BuiltMap*"), + legacy_BuiltMap_of_legacy_int_and_legacy_num: findType("BuiltMap*"), + legacy_BuiltSet_legacy_Crossover: findType("BuiltSet*"), + legacy_BuiltSet_legacy_DNAEnd: findType("BuiltSet*"), + legacy_BuiltSet_legacy_Domain: findType("BuiltSet*"), + legacy_BuiltSet_legacy_EditModeChoice: findType("BuiltSet*"), + legacy_BuiltSet_legacy_Extension: findType("BuiltSet*"), + legacy_BuiltSet_legacy_Loopout: findType("BuiltSet*"), + legacy_BuiltSet_legacy_Object: findType("BuiltSet*"), + legacy_BuiltSet_legacy_SelectableDeletion: findType("BuiltSet*"), + legacy_BuiltSet_legacy_SelectableInsertion: findType("BuiltSet*"), + legacy_BuiltSet_legacy_SelectableModification: findType("BuiltSet*"), + legacy_BuiltSet_legacy_Strand: findType("BuiltSet*"), + legacy_BuiltSet_legacy_String: findType("BuiltSet*"), + legacy_BuiltSet_legacy_int: findType("BuiltSet*"), + legacy_ByteBuffer: findType("ByteBuffer*"), + legacy_CanvasElement: findType("CanvasElement*"), + legacy_CanvasRenderingContext2D: findType("CanvasRenderingContext2D*"), + legacy_ClearHelixSelectionWhenLoadingNewDesignSet: findType("ClearHelixSelectionWhenLoadingNewDesignSet*"), + legacy_Color: findType("Color*"), + legacy_Completer_legacy_int: findType("Completer*"), + legacy_Component: findType("Component*"), + legacy_Component2: findType("Component2*"), + legacy_ComponentStatics2: findType("ComponentStatics2*"), + legacy_ConsumedProps: findType("ConsumedProps*"), + legacy_ContextMenu: findType("ContextMenu*"), + legacy_ContextMenuHide: findType("ContextMenuHide*"), + legacy_ContextMenuItem: findType("ContextMenuItem*"), + legacy_ContextMenuShow: findType("ContextMenuShow*"), + legacy_ConvertCrossoverToLoopout: findType("ConvertCrossoverToLoopout*"), + legacy_ConvertCrossoversToLoopouts: findType("ConvertCrossoversToLoopouts*"), + legacy_CopyInfo: findType("CopyInfo*"), + legacy_CopySelectedStandsToClipboardImage: findType("CopySelectedStandsToClipboardImage*"), + legacy_CopySelectedStrands: findType("CopySelectedStrands*"), + legacy_Crossover: findType("Crossover*"), + legacy_CssStyleRule: findType("CssStyleRule*"), + legacy_CssStyleSheet: findType("CssStyleSheet*"), + legacy_DNAAssignOptions: findType("DNAAssignOptions*"), + legacy_DNAEnd: findType("DNAEnd*"), + legacy_DNAEndMove: findType("DNAEndMove*"), + legacy_DNAEndsMove: findType("DNAEndsMove*"), + legacy_DNAEndsMoveAdjustOffset: findType("DNAEndsMoveAdjustOffset*"), + legacy_DNAEndsMoveCommit: findType("DNAEndsMoveCommit*"), + legacy_DNAEndsMoveSetSelectedEnds: findType("DNAEndsMoveSetSelectedEnds*"), + legacy_DNAEndsMoveStart: findType("DNAEndsMoveStart*"), + legacy_DNAEndsMoveStop: findType("DNAEndsMoveStop*"), + legacy_DNAExtensionMove: findType("DNAExtensionMove*"), + legacy_DNAExtensionsMove: findType("DNAExtensionsMove*"), + legacy_DNAExtensionsMoveAdjustPosition: findType("DNAExtensionsMoveAdjustPosition*"), + legacy_DNAExtensionsMoveCommit: findType("DNAExtensionsMoveCommit*"), + legacy_DNAExtensionsMoveSetSelectedExtensionEnds: findType("DNAExtensionsMoveSetSelectedExtensionEnds*"), + legacy_DNAExtensionsMoveStart: findType("DNAExtensionsMoveStart*"), + legacy_DNAExtensionsMoveStop: findType("DNAExtensionsMoveStop*"), + legacy_DNAFileType: findType("DNAFileType*"), + legacy_DNASequencePredefined: findType("DNASequencePredefined*"), + legacy_DefaultCrossoverTypeForSettingHelixRollsSet: findType("DefaultCrossoverTypeForSettingHelixRollsSet*"), + legacy_DeleteAllSelected: findType("DeleteAllSelected*"), + legacy_DeletionAdd: findType("DeletionAdd*"), + legacy_DeletionRemove: findType("DeletionRemove*"), + legacy_Design: findType("Design*"), + legacy_DesignChangingAction: findType("DesignChangingAction*"), + legacy_DesignFooterProps: findType("DesignFooterProps*"), + legacy_DesignSideRotationData: findType("DesignSideRotationData*"), + legacy_DesignSideRotationParams: findType("DesignSideRotationParams*"), + legacy_Dialog: findType("Dialog*"), + legacy_DialogCheckbox: findType("DialogCheckbox*"), + legacy_DialogFloat: findType("DialogFloat*"), + legacy_DialogHide: findType("DialogHide*"), + legacy_DialogInteger: findType("DialogInteger*"), + legacy_DialogItem: findType("DialogItem*"), + legacy_DialogLink: findType("DialogLink*"), + legacy_DialogRadio: findType("DialogRadio*"), + legacy_DialogShow: findType("DialogShow*"), + legacy_DialogText: findType("DialogText*"), + legacy_DialogTextArea: findType("DialogTextArea*"), + legacy_DialogType: findType("DialogType*"), + legacy_DisablePngCachingDnaSequencesSet: findType("DisablePngCachingDnaSequencesSet*"), + legacy_DisplayMajorTicksOffsetsSet: findType("DisplayMajorTicksOffsetsSet*"), + legacy_DisplayReverseDNARightSideUpSet: findType("DisplayReverseDNARightSideUpSet*"), + legacy_DivElement: findType("DivElement*"), + legacy_Domain: findType("Domain*"), + legacy_DomainLabelFontSizeSet: findType("DomainLabelFontSizeSet*"), + legacy_DomainNameFontSizeSet: findType("DomainNameFontSizeSet*"), + legacy_DomainNameMismatch: findType("DomainNameMismatch*"), + legacy_DomainsMove: findType("DomainsMove*"), + legacy_DomainsMoveAdjustAddress: findType("DomainsMoveAdjustAddress*"), + legacy_DomainsMoveCommit: findType("DomainsMoveCommit*"), + legacy_DomainsMoveStartSelectedDomains: findType("DomainsMoveStartSelectedDomains*"), + legacy_DomainsMoveStop: findType("DomainsMoveStop*"), + legacy_Draggable: findType("Draggable*"), + legacy_DraggableComponent: findType("DraggableComponent*"), + legacy_DraggableEvent: findType("DraggableEvent*"), + legacy_Duration: findType("Duration*"), + legacy_DynamicHelixUpdateSet: findType("DynamicHelixUpdateSet*"), + legacy_EditModeChoice: findType("EditModeChoice*"), + legacy_EditModeToggle: findType("EditModeToggle*"), + legacy_EditModesSet: findType("EditModesSet*"), + legacy_Element: findType("Element*"), + legacy_EndMovingProps: findType("EndMovingProps*"), + legacy_Error: findType("Error*"), + legacy_ErrorMessageSet: findType("ErrorMessageSet*"), + legacy_Event: findType("Event*"), + legacy_ExampleDesigns: findType("ExampleDesigns*"), + legacy_ExampleDesignsLoad: findType("ExampleDesignsLoad*"), + legacy_Exception: findType("Exception*"), + legacy_ExportCadnanoFile: findType("ExportCadnanoFile*"), + legacy_ExportCodenanoFile: findType("ExportCodenanoFile*"), + legacy_ExportDNA: findType("ExportDNA*"), + legacy_ExportDNAFormat: findType("ExportDNAFormat*"), + legacy_ExportSvg: findType("ExportSvg*"), + legacy_ExportSvgTextSeparatelySet: findType("ExportSvgTextSeparatelySet*"), + legacy_ExportSvgType: findType("ExportSvgType*"), + legacy_Extension: findType("Extension*"), + legacy_ExtensionAdd: findType("ExtensionAdd*"), + legacy_ExtensionDisplayLengthAngleSet: findType("ExtensionDisplayLengthAngleSet*"), + legacy_ExtensionEndMovingProps: findType("ExtensionEndMovingProps*"), + legacy_ExtensionNumBasesChange: findType("ExtensionNumBasesChange*"), + legacy_ExtensionsNumBasesChange: findType("ExtensionsNumBasesChange*"), + legacy_FastAction: findType("FastAction*"), + legacy_FileReader: findType("FileReader*"), + legacy_FileUploadInputElement: findType("FileUploadInputElement*"), + legacy_FormatException: findType("FormatException*"), + legacy_Function: findType("Function*"), + legacy_FutureOr_legacy_ByteBuffer: findType("ByteBuffer*/*"), + legacy_Future_dynamic: findType("Future<@>*"), + legacy_Future_legacy_List_legacy_int: findType("Future*>*"), + legacy_Geometry: findType("Geometry*"), + legacy_GeometrySet: findType("GeometrySet*"), + legacy_GraphicsElement: findType("GraphicsElement*"), + legacy_Grid: findType("Grid*"), + legacy_GridChange: findType("GridChange*"), + legacy_GridPosition: findType("GridPosition*"), + legacy_GroupAdd: findType("GroupAdd*"), + legacy_GroupChange: findType("GroupChange*"), + legacy_GroupDisplayedChange: findType("GroupDisplayedChange*"), + legacy_GroupRemove: findType("GroupRemove*"), + legacy_HelicesPositionsSetBasedOnCrossovers: findType("HelicesPositionsSetBasedOnCrossovers*"), + legacy_Helix: findType("Helix*"), + legacy_HelixAdd: findType("HelixAdd*"), + legacy_HelixBuilder: findType("HelixBuilder*"), + legacy_HelixGridPositionSet: findType("HelixGridPositionSet*"), + legacy_HelixGroup: findType("HelixGroup*"), + legacy_HelixGroupBuilder: findType("HelixGroupBuilder*"), + legacy_HelixGroupMove: findType("HelixGroupMove*"), + legacy_HelixGroupMoveAdjustTranslation: findType("HelixGroupMoveAdjustTranslation*"), + legacy_HelixGroupMoveCommit: findType("HelixGroupMoveCommit*"), + legacy_HelixGroupMoveCreate: findType("HelixGroupMoveCreate*"), + legacy_HelixGroupMoveStart: findType("HelixGroupMoveStart*"), + legacy_HelixGroupMoveStop: findType("HelixGroupMoveStop*"), + legacy_HelixGroupMovingProps: findType("HelixGroupMovingProps*"), + legacy_HelixIdxsChange: findType("HelixIdxsChange*"), + legacy_HelixIndividualAction: findType("HelixIndividualAction*"), + legacy_HelixMajorTickDistanceChange: findType("HelixMajorTickDistanceChange*"), + legacy_HelixMajorTickDistanceChangeAll: findType("HelixMajorTickDistanceChangeAll*"), + legacy_HelixMajorTickPeriodicDistancesChange: findType("HelixMajorTickPeriodicDistancesChange*"), + legacy_HelixMajorTickPeriodicDistancesChangeAll: findType("HelixMajorTickPeriodicDistancesChangeAll*"), + legacy_HelixMajorTickStartChange: findType("HelixMajorTickStartChange*"), + legacy_HelixMajorTickStartChangeAll: findType("HelixMajorTickStartChangeAll*"), + legacy_HelixMajorTicksChange: findType("HelixMajorTicksChange*"), + legacy_HelixMajorTicksChangeAll: findType("HelixMajorTicksChangeAll*"), + legacy_HelixMaxOffsetSetByDomains: findType("HelixMaxOffsetSetByDomains*"), + legacy_HelixMaxOffsetSetByDomainsAll: findType("HelixMaxOffsetSetByDomainsAll*"), + legacy_HelixMaxOffsetSetByDomainsAllSameMax: findType("HelixMaxOffsetSetByDomainsAllSameMax*"), + legacy_HelixMinOffsetSetByDomains: findType("HelixMinOffsetSetByDomains*"), + legacy_HelixMinOffsetSetByDomainsAll: findType("HelixMinOffsetSetByDomainsAll*"), + legacy_HelixOffsetChange: findType("HelixOffsetChange*"), + legacy_HelixOffsetChangeAll: findType("HelixOffsetChangeAll*"), + legacy_HelixPitchYaw: findType("HelixPitchYaw*"), + legacy_HelixPositionSet: findType("HelixPositionSet*"), + legacy_HelixRemove: findType("HelixRemove*"), + legacy_HelixRemoveAllSelected: findType("HelixRemoveAllSelected*"), + legacy_HelixRollSet: findType("HelixRollSet*"), + legacy_HelixRollSetAtOther: findType("HelixRollSetAtOther*"), + legacy_HelixSelect: findType("HelixSelect*"), + legacy_HelixSelectSvgPngCacheInvalidatingAction: findType("HelixSelectSvgPngCacheInvalidatingAction*"), + legacy_HelixSelectionsAdjust: findType("HelixSelectionsAdjust*"), + legacy_HelixSelectionsClear: findType("HelixSelectionsClear*"), + legacy_HttpRequest: findType("HttpRequest*"), + legacy_IllegalDesignError: findType("IllegalDesignError*"), + legacy_InlineInsertionsDeletions: findType("InlineInsertionsDeletions*"), + legacy_InputElement: findType("InputElement*"), + legacy_Insertion: findType("Insertion*"), + legacy_InsertionAdd: findType("InsertionAdd*"), + legacy_InsertionLengthChange: findType("InsertionLengthChange*"), + legacy_InsertionOrDeletionAction: findType("InsertionOrDeletionAction*"), + legacy_InsertionRemove: findType("InsertionRemove*"), + legacy_InsertionsLengthChange: findType("InsertionsLengthChange*"), + legacy_InvertYSet: findType("InvertYSet*"), + legacy_Invocation: findType("Invocation*"), + legacy_Iterable_dynamic: findType("Iterable<@>*"), + legacy_Iterable_legacy_DNAEnd: findType("Iterable*"), + legacy_Iterable_legacy_Domain: findType("Iterable*"), + legacy_Iterable_legacy_Object: findType("Iterable*"), + legacy_Iterable_legacy_SelectModeChoice: findType("Iterable*"), + legacy_Iterable_legacy_Selectable: findType("Iterable*"), + legacy_Iterable_legacy_Strand: findType("Iterable*"), + legacy_Iterable_legacy_String: findType("Iterable*"), + legacy_Iterable_legacy_int: findType("Iterable*"), + legacy_JSColor: findType("JSColor*"), + legacy_JoinStrandsByCrossover: findType("JoinStrandsByCrossover*"), + legacy_JoinStrandsByMultipleCrossovers: findType("JoinStrandsByMultipleCrossovers*"), + legacy_JsMap: findType("JsMap*"), + legacy_KeyboardEvent: findType("KeyboardEvent*"), + legacy_Ligate: findType("Ligate*"), + legacy_Line: findType("Line*"), + legacy_Linker: findType("Linker*"), + legacy_ListBuilder_legacy_BuiltList_legacy_int: findType("ListBuilder*>*"), + legacy_ListBuilder_legacy_ContextMenuItem: findType("ListBuilder*"), + legacy_ListBuilder_legacy_Crossover: findType("ListBuilder*"), + legacy_ListBuilder_legacy_DNAEndMove: findType("ListBuilder*"), + legacy_ListBuilder_legacy_DNAExtensionMove: findType("ListBuilder*"), + legacy_ListBuilder_legacy_DialogItem: findType("ListBuilder*"), + legacy_ListBuilder_legacy_Domain: findType("ListBuilder*"), + legacy_ListBuilder_legacy_Extension: findType("ListBuilder*"), + legacy_ListBuilder_legacy_Insertion: findType("ListBuilder*"), + legacy_ListBuilder_legacy_Loopout: findType("ListBuilder*"), + legacy_ListBuilder_legacy_Mismatch: findType("ListBuilder*"), + legacy_ListBuilder_legacy_MouseoverData: findType("ListBuilder*"), + legacy_ListBuilder_legacy_MouseoverParams: findType("ListBuilder*"), + legacy_ListBuilder_legacy_Point_legacy_num: findType("ListBuilder*>*"), + legacy_ListBuilder_legacy_SelectModeChoice: findType("ListBuilder*"), + legacy_ListBuilder_legacy_Selectable: findType("ListBuilder*"), + legacy_ListBuilder_legacy_SelectableModification3Prime: findType("ListBuilder*"), + legacy_ListBuilder_legacy_SelectableModification5Prime: findType("ListBuilder*"), + legacy_ListBuilder_legacy_SelectableModificationInternal: findType("ListBuilder*"), + legacy_ListBuilder_legacy_SelectableTrait: findType("ListBuilder*"), + legacy_ListBuilder_legacy_Strand: findType("ListBuilder*"), + legacy_ListBuilder_legacy_String: findType("ListBuilder*"), + legacy_ListBuilder_legacy_Substrand: findType("ListBuilder*"), + legacy_ListBuilder_legacy_UndoRedoItem: findType("ListBuilder*"), + legacy_ListBuilder_legacy_UndoableAction: findType("ListBuilder*"), + legacy_ListBuilder_legacy_int: findType("ListBuilder*"), + legacy_List_dynamic: findType("List<@>*"), + legacy_List_legacy_Address: findType("List*"), + legacy_List_legacy_Crossover: findType("List*"), + legacy_List_legacy_DNAEnd: findType("List*"), + legacy_List_legacy_DialogItem: findType("List*"), + legacy_List_legacy_Domain: findType("List*"), + legacy_List_legacy_DomainNameMismatch: findType("List*"), + legacy_List_legacy_Extension: findType("List*"), + legacy_List_legacy_HelixBuilder: findType("List*"), + legacy_List_legacy_Insertion: findType("List*"), + legacy_List_legacy_Linker: findType("List*"), + legacy_List_legacy_Loopout: findType("List*"), + legacy_List_legacy_Map_of_legacy_String_and_dynamic: findType("List*>*"), + legacy_List_legacy_Object: findType("List*"), + legacy_List_legacy_OxdnaNucleotide: findType("List*"), + legacy_List_legacy_Point_legacy_num: findType("List*>*"), + legacy_List_legacy_ReactErrorInfo: findType("List*"), + legacy_List_legacy_Strand: findType("List*"), + legacy_List_legacy_String: findType("List*"), + legacy_List_legacy_Substrand: findType("List*"), + legacy_List_legacy_SvgElement: findType("List*"), + legacy_List_legacy_Tuple2_of_legacy_Address_and_legacy_Address: findType("List*>*"), + legacy_List_legacy_Tuple2_of_legacy_Address_and_legacy_Crossover: findType("List*>*"), + legacy_List_legacy_UndoableAction: findType("List*"), + legacy_List_legacy_double: findType("List*"), + legacy_List_legacy_int: findType("List*"), + legacy_List_of_legacy_dynamic_Function_dynamic: findType("List<@(@)*>*"), + legacy_LoadDNAFile: findType("LoadDNAFile*"), + legacy_LoadDnaSequenceImageUri: findType("LoadDnaSequenceImageUri*"), + legacy_LoadingDialogHide: findType("LoadingDialogHide*"), + legacy_LoadingDialogShow: findType("LoadingDialogShow*"), + legacy_LocalStorageDesignChoice: findType("LocalStorageDesignChoice*"), + legacy_LocalStorageDesignChoiceSet: findType("LocalStorageDesignChoiceSet*"), + legacy_LocalStorageDesignOption: findType("LocalStorageDesignOption*"), + legacy_Logger: findType("Logger*"), + legacy_Loopout: findType("Loopout*"), + legacy_LoopoutLengthChange: findType("LoopoutLengthChange*"), + legacy_LoopoutsLengthChange: findType("LoopoutsLengthChange*"), + legacy_MajorTickOffsetFontSizeSet: findType("MajorTickOffsetFontSizeSet*"), + legacy_MajorTickWidthFontSizeSet: findType("MajorTickWidthFontSizeSet*"), + legacy_ManualPasteInitiate: findType("ManualPasteInitiate*"), + legacy_MapBuilder_of_legacy_DialogType_and_legacy_BuiltList_legacy_DialogItem: findType("MapBuilder*>*"), + legacy_MapBuilder_of_legacy_String_and_legacy_HelixGroup: findType("MapBuilder*"), + legacy_MapBuilder_of_legacy_String_and_legacy_Object: findType("MapBuilder*"), + legacy_MapBuilder_of_legacy_int_and_legacy_BuiltList_legacy_int: findType("MapBuilder*>*"), + legacy_MapBuilder_of_legacy_int_and_legacy_BuiltMap_of_legacy_int_and_legacy_BuiltList_legacy_String: findType("MapBuilder*>*>*"), + legacy_MapBuilder_of_legacy_int_and_legacy_Helix: findType("MapBuilder*"), + legacy_MapBuilder_of_legacy_int_and_legacy_ModificationInternal: findType("MapBuilder*"), + legacy_MapBuilder_of_legacy_int_and_legacy_Strand: findType("MapBuilder*"), + legacy_MapBuilder_of_legacy_int_and_legacy_int: findType("MapBuilder*"), + legacy_MapEntry_of_legacy_int_and_legacy_List_legacy_int: findType("MapEntry*>*"), + legacy_Map_dynamic_dynamic: findType("Map<@,@>*"), + legacy_Map_of_legacy_Domain_and_legacy_List_legacy_Insertion: findType("Map*>*"), + legacy_Map_of_legacy_Domain_and_legacy_Set_legacy_SelectableDeletion: findType("Map*>*"), + legacy_Map_of_legacy_Domain_and_legacy_Set_legacy_SelectableInsertion: findType("Map*>*"), + legacy_Map_of_legacy_Strand_and_legacy_List_legacy_Domain: findType("Map*>*"), + legacy_Map_of_legacy_String_and_dynamic: findType("Map*"), + legacy_Map_of_legacy_String_and_legacy_String: findType("Map*"), + legacy_Map_of_legacy_Tuple2_of_legacy_int_and_legacy_int_and_legacy_bool: findType("Map*,bool*>*"), + legacy_Map_of_legacy_int_and_legacy_BuiltList_legacy_String: findType("Map*>*"), + legacy_Map_of_legacy_int_and_legacy_Iterable_legacy_String: findType("Map*>*"), + legacy_Map_of_legacy_int_and_legacy_List_legacy_Domain: findType("Map*>*"), + legacy_Map_of_legacy_int_and_legacy_ModificationInternal: findType("Map*"), + legacy_MediaType: findType("MediaType*"), + legacy_Mismatch: findType("Mismatch*"), + legacy_Modification: findType("Modification*"), + legacy_Modification3Prime: findType("Modification3Prime*"), + legacy_Modification5Prime: findType("Modification5Prime*"), + legacy_ModificationAdd: findType("ModificationAdd*"), + legacy_ModificationConnectorLengthSet: findType("ModificationConnectorLengthSet*"), + legacy_ModificationEdit: findType("ModificationEdit*"), + legacy_ModificationFontSizeSet: findType("ModificationFontSizeSet*"), + legacy_ModificationInternal: findType("ModificationInternal*"), + legacy_ModificationRemove: findType("ModificationRemove*"), + legacy_ModificationType: findType("ModificationType*"), + legacy_Modifications3PrimeEdit: findType("Modifications3PrimeEdit*"), + legacy_Modifications5PrimeEdit: findType("Modifications5PrimeEdit*"), + legacy_ModificationsInternalEdit: findType("ModificationsInternalEdit*"), + legacy_MouseEvent: findType("MouseEvent*"), + legacy_MouseGridPositionSideClear: findType("MouseGridPositionSideClear*"), + legacy_MouseGridPositionSideUpdate: findType("MouseGridPositionSideUpdate*"), + legacy_MousePositionSideClear: findType("MousePositionSideClear*"), + legacy_MousePositionSideUpdate: findType("MousePositionSideUpdate*"), + legacy_MouseoverData: findType("MouseoverData*"), + legacy_MouseoverDataClear: findType("MouseoverDataClear*"), + legacy_MouseoverDataUpdate: findType("MouseoverDataUpdate*"), + legacy_MouseoverParams: findType("MouseoverParams*"), + legacy_MoveHelicesToGroup: findType("MoveHelicesToGroup*"), + legacy_MoveLinker: findType("MoveLinker*"), + legacy_NavigatorProvider: findType("NavigatorProvider*"), + legacy_Never: findType("0&*"), + legacy_NewDesignSet: findType("NewDesignSet*"), + legacy_Nick: findType("Nick*"), + legacy_NoIndent: findType("NoIndent*"), + legacy_NoSuchMethodError: findType("NoSuchMethodError*"), + legacy_Object: findType("Object*"), + legacy_OperatingSystem: findType("OperatingSystem*"), + legacy_OxExportOnlySelectedStrandsSet: findType("OxExportOnlySelectedStrandsSet*"), + legacy_OxdnaExport: findType("OxdnaExport*"), + legacy_OxdnaNucleotide: findType("OxdnaNucleotide*"), + legacy_OxdnaVector: findType("OxdnaVector*"), + legacy_OxviewExport: findType("OxviewExport*"), + legacy_OxviewShowSet: findType("OxviewShowSet*"), + legacy_PlateWellVendorFieldsAssign: findType("PlateWellVendorFieldsAssign*"), + legacy_PlateWellVendorFieldsRemove: findType("PlateWellVendorFieldsRemove*"), + legacy_Point_legacy_num: findType("Point*"), + legacy_PolygonElement: findType("PolygonElement*"), + legacy_Position3D: findType("Position3D*"), + legacy_PotentialCrossover: findType("PotentialCrossover*"), + legacy_PotentialCrossoverCreate: findType("PotentialCrossoverCreate*"), + legacy_PotentialCrossoverMove: findType("PotentialCrossoverMove*"), + legacy_PotentialCrossoverRemove: findType("PotentialCrossoverRemove*"), + legacy_PotentialVerticalCrossover: findType("PotentialVerticalCrossover*"), + legacy_PrepareToLoadDNAFile: findType("PrepareToLoadDNAFile*"), + legacy_ProgressEvent: findType("ProgressEvent*"), + legacy_ReactClass: findType("ReactClass*"), + legacy_ReactComponent: findType("ReactComponent*"), + legacy_ReactComponentFactoryProxy: findType("ReactComponentFactoryProxy*"), + legacy_ReactDomComponentFactoryProxy: findType("ReactDomComponentFactoryProxy*"), + legacy_ReactElement: findType("ReactElement*"), + legacy_ReactErrorInfo: findType("ReactErrorInfo*"), + legacy_RectElement: findType("RectElement*"), + legacy_Rectangle_legacy_num: findType("Rectangle*"), + legacy_Redo: findType("Redo*"), + legacy_Ref_legacy_DivElement: findType("Ref*"), + legacy_RegExpMatch: findType("RegExpMatch*"), + legacy_RelaxHelixRolls: findType("RelaxHelixRolls*"), + legacy_RemoveDNA: findType("RemoveDNA*"), + legacy_ReplaceStrands: findType("ReplaceStrands*"), + legacy_ResetLocalStorage: findType("ResetLocalStorage*"), + legacy_Response: findType("Response*"), + legacy_RetainStrandColorOnSelectionSet: findType("RetainStrandColorOnSelectionSet*"), + legacy_SaveDNAFile: findType("SaveDNAFile*"), + legacy_ScaffoldSet: findType("ScaffoldSet*"), + legacy_ScalePurificationVendorFieldsAssign: findType("ScalePurificationVendorFieldsAssign*"), + legacy_Select: findType("Select*"), + legacy_SelectAll: findType("SelectAll*"), + legacy_SelectAllSelectable: findType("SelectAllSelectable*"), + legacy_SelectAllWithSameAsSelected: findType("SelectAllWithSameAsSelected*"), + legacy_SelectModeChoice: findType("SelectModeChoice*"), + legacy_SelectModeState: findType("SelectModeState*"), + legacy_SelectModeToggle: findType("SelectModeToggle*"), + legacy_SelectModesAdd: findType("SelectModesAdd*"), + legacy_SelectModesSet: findType("SelectModesSet*"), + legacy_SelectOrToggleItems: findType("SelectOrToggleItems*"), + legacy_Selectable: findType("Selectable*"), + legacy_SelectableDeletion: findType("SelectableDeletion*"), + legacy_SelectableInsertion: findType("SelectableInsertion*"), + legacy_SelectableModification: findType("SelectableModification*"), + legacy_SelectableModification3Prime: findType("SelectableModification3Prime*"), + legacy_SelectableModification5Prime: findType("SelectableModification5Prime*"), + legacy_SelectableModificationInternal: findType("SelectableModificationInternal*"), + legacy_SelectableTrait: findType("SelectableTrait*"), + legacy_SelectablesStore: findType("SelectablesStore*"), + legacy_SelectionBox: findType("SelectionBox*"), + legacy_SelectionBoxCreate: findType("SelectionBoxCreate*"), + legacy_SelectionBoxIntersectionRuleSet: findType("SelectionBoxIntersectionRuleSet*"), + legacy_SelectionBoxRemove: findType("SelectionBoxRemove*"), + legacy_SelectionBoxSizeChange: findType("SelectionBoxSizeChange*"), + legacy_SelectionRope: findType("SelectionRope*"), + legacy_SelectionRopeAddPoint: findType("SelectionRopeAddPoint*"), + legacy_SelectionRopeCreate: findType("SelectionRopeCreate*"), + legacy_SelectionRopeMouseMove: findType("SelectionRopeMouseMove*"), + legacy_SelectionRopeRemove: findType("SelectionRopeRemove*"), + legacy_SelectionsAdjustMainView: findType("SelectionsAdjustMainView*"), + legacy_SelectionsClear: findType("SelectionsClear*"), + legacy_SetAppUIStateStorable: findType("SetAppUIStateStorable*"), + legacy_SetBuilder_legacy_EditModeChoice: findType("SetBuilder*"), + legacy_SetBuilder_legacy_SelectModeChoice: findType("SetBuilder*"), + legacy_SetBuilder_legacy_Selectable: findType("SetBuilder*"), + legacy_SetBuilder_legacy_Strand: findType("SetBuilder*"), + legacy_SetBuilder_legacy_String: findType("SetBuilder*"), + legacy_SetBuilder_legacy_int: findType("SetBuilder*"), + legacy_SetDisplayBaseOffsetsOfMajorTicksOnlyFirstHelix: findType("SetDisplayBaseOffsetsOfMajorTicksOnlyFirstHelix*"), + legacy_SetDisplayMajorTickWidths: findType("SetDisplayMajorTickWidths*"), + legacy_SetDisplayMajorTickWidthsAllHelices: findType("SetDisplayMajorTickWidthsAllHelices*"), + legacy_SetExportSvgActionDelayedForPngCache: findType("SetExportSvgActionDelayedForPngCache*"), + legacy_SetIsZoomAboveThreshold: findType("SetIsZoomAboveThreshold*"), + legacy_SetModificationDisplayConnector: findType("SetModificationDisplayConnector*"), + legacy_SetOnlyDisplaySelectedHelices: findType("SetOnlyDisplaySelectedHelices*"), + legacy_Set_legacy_Domain: findType("Set*"), + legacy_Set_legacy_Extension: findType("Set*"), + legacy_Set_legacy_SelectableDeletion: findType("Set*"), + legacy_Set_legacy_SelectableInsertion: findType("Set*"), + legacy_Set_legacy_SelectableModification: findType("Set*"), + legacy_Set_legacy_SelectableModificationInternal: findType("Set*"), + legacy_Set_legacy_String: findType("Set*"), + legacy_Set_legacy_Type: findType("Set*"), + legacy_ShowAxisArrowsSet: findType("ShowAxisArrowsSet*"), + legacy_ShowBasePairLinesSet: findType("ShowBasePairLinesSet*"), + legacy_ShowBasePairLinesWithMismatchesSet: findType("ShowBasePairLinesWithMismatchesSet*"), + legacy_ShowDNASet: findType("ShowDNASet*"), + legacy_ShowDomainLabelsSet: findType("ShowDomainLabelsSet*"), + legacy_ShowDomainNameMismatchesSet: findType("ShowDomainNameMismatchesSet*"), + legacy_ShowDomainNamesSet: findType("ShowDomainNamesSet*"), + legacy_ShowEditMenuToggle: findType("ShowEditMenuToggle*"), + legacy_ShowGridCoordinatesSideViewSet: findType("ShowGridCoordinatesSideViewSet*"), + legacy_ShowHelixCirclesMainViewSet: findType("ShowHelixCirclesMainViewSet*"), + legacy_ShowHelixComponentsMainViewSet: findType("ShowHelixComponentsMainViewSet*"), + legacy_ShowLoopoutExtensionLengthSet: findType("ShowLoopoutExtensionLengthSet*"), + legacy_ShowMismatchesSet: findType("ShowMismatchesSet*"), + legacy_ShowModificationsSet: findType("ShowModificationsSet*"), + legacy_ShowMouseoverDataSet: findType("ShowMouseoverDataSet*"), + legacy_ShowMouseoverRectSet: findType("ShowMouseoverRectSet*"), + legacy_ShowMouseoverRectToggle: findType("ShowMouseoverRectToggle*"), + legacy_ShowSliceBarSet: findType("ShowSliceBarSet*"), + legacy_ShowStrandLabelsSet: findType("ShowStrandLabelsSet*"), + legacy_ShowStrandNamesSet: findType("ShowStrandNamesSet*"), + legacy_ShowUnpairedInsertionDeletionsSet: findType("ShowUnpairedInsertionDeletionsSet*"), + legacy_SingleStrandAction: findType("SingleStrandAction*"), + legacy_SliceBarMoveStart: findType("SliceBarMoveStart*"), + legacy_SliceBarMoveStop: findType("SliceBarMoveStop*"), + legacy_SliceBarOffsetSet: findType("SliceBarOffsetSet*"), + legacy_Store_dynamic: findType("Store<@>*"), + legacy_Store_legacy_AppState: findType("Store*"), + legacy_Store_legacy_DNAEndsMove: findType("Store*"), + legacy_Store_legacy_DNAExtensionsMove: findType("Store*"), + legacy_Store_legacy_HelixGroupMove: findType("Store*"), + legacy_Store_legacy_PotentialCrossover: findType("Store*"), + legacy_Store_legacy_SelectionBox: findType("Store*"), + legacy_Store_legacy_SelectionRope: findType("Store*"), + legacy_Strand: findType("Strand*"), + legacy_StrandBuilder: findType("StrandBuilder*"), + legacy_StrandCreateAdjustOffset: findType("StrandCreateAdjustOffset*"), + legacy_StrandCreateCommit: findType("StrandCreateCommit*"), + legacy_StrandCreateStart: findType("StrandCreateStart*"), + legacy_StrandCreateStop: findType("StrandCreateStop*"), + legacy_StrandCreation: findType("StrandCreation*"), + legacy_StrandLabelFontSizeSet: findType("StrandLabelFontSizeSet*"), + legacy_StrandLabelSet: findType("StrandLabelSet*"), + legacy_StrandNameFontSizeSet: findType("StrandNameFontSizeSet*"), + legacy_StrandNameSet: findType("StrandNameSet*"), + legacy_StrandOrSubstrandColorPickerHide: findType("StrandOrSubstrandColorPickerHide*"), + legacy_StrandOrSubstrandColorPickerShow: findType("StrandOrSubstrandColorPickerShow*"), + legacy_StrandOrSubstrandColorSet: findType("StrandOrSubstrandColorSet*"), + legacy_StrandOrder: findType("StrandOrder*"), + legacy_StrandPartAction: findType("StrandPartAction*"), + legacy_StrandPasteKeepColorSet: findType("StrandPasteKeepColorSet*"), + legacy_StrandsMove: findType("StrandsMove*"), + legacy_StrandsMoveAdjustAddress: findType("StrandsMoveAdjustAddress*"), + legacy_StrandsMoveCommit: findType("StrandsMoveCommit*"), + legacy_StrandsMoveStart: findType("StrandsMoveStart*"), + legacy_StrandsMoveStartSelectedStrands: findType("StrandsMoveStartSelectedStrands*"), + legacy_StrandsMoveStop: findType("StrandsMoveStop*"), + legacy_StrandsReflect: findType("StrandsReflect*"), + legacy_StreamedResponse: findType("StreamedResponse*"), + legacy_String: findType("String*"), + legacy_String_Function_String: findType("String*(String)"), + legacy_Substrand: findType("Substrand*"), + legacy_SubstrandLabelSet: findType("SubstrandLabelSet*"), + legacy_SubstrandNameSet: findType("SubstrandNameSet*"), + legacy_SvgElement: findType("SvgElement*"), + legacy_SvgPngCacheInvalidatingAction: findType("SvgPngCacheInvalidatingAction*"), + legacy_SvgSvgElement: findType("SvgSvgElement*"), + legacy_SyntheticFormEvent: findType("SyntheticFormEvent*"), + legacy_SyntheticMouseEvent: findType("SyntheticMouseEvent*"), + legacy_SyntheticPointerEvent: findType("SyntheticPointerEvent*"), + legacy_TextContentElement: findType("TextContentElement*"), + legacy_TextElement: findType("TextElement*"), + legacy_TextPathElement: findType("TextPathElement*"), + legacy_ThrottledAction: findType("ThrottledAction*"), + legacy_ThrottledActionFast: findType("ThrottledActionFast*"), + legacy_ThrottledActionNonFast: findType("ThrottledActionNonFast*"), + legacy_Timer: findType("Timer*"), + legacy_TouchEvent: findType("TouchEvent*"), + legacy_Tuple2_of_legacy_Address_and_legacy_Crossover: findType("Tuple2*"), + legacy_Tuple2_of_legacy_Tuple2_of_legacy_int_and_legacy_int_and_legacy_Domain: findType("Tuple2*,Domain*>*"), + legacy_Tuple2_of_legacy_int_and_legacy_int: findType("Tuple2*"), + legacy_Tuple3_of_legacy_OxdnaVector_and_legacy_OxdnaVector_and_legacy_OxdnaVector: findType("Tuple3*"), + legacy_Tuple3_of_legacy_int_and_legacy_bool_and_legacy_Domain: findType("Tuple3*"), + legacy_Tuple5_of_legacy_int_and_legacy_Domain_and_legacy_Domain_and_legacy_Strand_and_legacy_Strand: findType("Tuple5*"), + legacy_Type: findType("Type*"), + legacy_TypedData: findType("TypedData*"), + legacy_Uint8List: findType("Uint8List*"), + legacy_Undo: findType("Undo*"), + legacy_UndoRedo: findType("UndoRedo*"), + legacy_UndoRedoClear: findType("UndoRedoClear*"), + legacy_UndoRedoItem: findType("UndoRedoItem*"), + legacy_UndoableAction: findType("UndoableAction*"), + legacy_VendorFields: findType("VendorFields*"), + legacy_VendorFieldsRemove: findType("VendorFieldsRemove*"), + legacy_WarnOnExitIfUnsavedSet: findType("WarnOnExitIfUnsavedSet*"), + legacy_ZoomSpeedSet: findType("ZoomSpeedSet*"), + legacy__$HelixGroup: findType("_$HelixGroup*"), + legacy__Disposable: findType("_Disposable*"), + legacy_bool: findType("bool*"), + legacy_double: findType("double*"), + legacy_dynamic_Function: findType("@()*"), + legacy_dynamic_Function_2_dynamic_and_legacy_ReactErrorInfo: findType("@(@,ReactErrorInfo*)*"), + legacy_dynamic_Function_Null: findType("@(Null)*"), + legacy_dynamic_Function_dynamic: findType("@(@)*"), + legacy_dynamic_Function_legacy_BuiltList_legacy_DialogItem: findType("@(BuiltList*)*"), + legacy_dynamic_Function_legacy_Map_dynamic_dynamic: findType("@(Map<@,@>*)*"), + legacy_dynamic_Function_legacy_SyntheticFormEvent: findType("@(SyntheticFormEvent*)*"), + legacy_dynamic_Function_legacy_SyntheticMouseEvent: findType("@(SyntheticMouseEvent*)*"), + legacy_dynamic_Function_legacy_SyntheticPointerEvent: findType("@(SyntheticPointerEvent*)*"), + legacy_dynamic_Function_legacy_num: findType("@(num*)*"), + legacy_int: findType("int*"), + legacy_legacy_Action_Function_legacy_int: findType("Action*(int*)*"), + legacy_legacy_Component2Bridge_Function_legacy_Component2: findType("Component2Bridge*(Component2*)*"), + legacy_legacy_Component2_Function: findType("Component2*()*"), + legacy_legacy_Function_Function_legacy_Function: findType("Function*(Function*)*"), + legacy_legacy_Future_dynamic_Function: findType("Future<@>*()*"), + legacy_legacy_JsMap_Function_2_legacy_Object_and_legacy_JsMap: findType("JsMap*(Object*,JsMap*)*"), + legacy_legacy_JsMap_Function_2_legacy_dynamic_Function_dynamic_and_legacy_JsMap: findType("JsMap*(@(@)*,JsMap*)*"), + legacy_legacy_JsMap_Function_legacy_Object: findType("JsMap*(Object*)*"), + legacy_legacy_JsMap_Function_legacy_dynamic_Function_dynamic: findType("JsMap*(@(@)*)*"), + legacy_legacy_List_legacy_ContextMenuItem_Function_legacy_Strand_$named_address_legacy_Address_and_substrand_legacy_Substrand_and_type_legacy_ModificationType: findType("List*(Strand*{address:Address*,substrand:Substrand*,type:ModificationType*})*"), + legacy_legacy_Object_Function: findType("Object*()*"), + legacy_legacy_ReactElement_Function_2_dynamic_and_legacy_ReactErrorInfo: findType("ReactElement*(@,ReactErrorInfo*)*"), + legacy_legacy_UndoableAction_Function_2_legacy_Strand_and_legacy_Substrand: findType("UndoableAction*(Strand*,Substrand*)*"), + legacy_legacy_UndoableAction_Function_legacy_Strand: findType("UndoableAction*(Strand*)*"), + legacy_legacy_bool_Function_2_legacy_JsMap_and_legacy_JsMap: findType("bool*(JsMap*,JsMap*)*"), + legacy_legacy_int_Function_dynamic_dynamic: findType("int*(@,@)*"), + legacy_legacy_num_Function: findType("num*()*"), + legacy_num: findType("num*"), + legacy_strand_bounds_status: findType("strand_bounds_status*"), + legacy_void_Function: findType("~()*"), + legacy_void_Function_legacy_AddressBuilder: findType("~(AddressBuilder*)*"), + legacy_void_Function_legacy_AppStateBuilder: findType("~(AppStateBuilder*)*"), + legacy_void_Function_legacy_AppUIStateBuilder: findType("~(AppUIStateBuilder*)*"), + legacy_void_Function_legacy_AppUIStateStorablesBuilder: findType("~(AppUIStateStorablesBuilder*)*"), + legacy_void_Function_legacy_AssignDNAComplementFromBoundStrandsBuilder: findType("~(AssignDNAComplementFromBoundStrandsBuilder*)*"), + legacy_void_Function_legacy_AssignDomainNameComplementFromBoundDomainsBuilder: findType("~(AssignDomainNameComplementFromBoundDomainsBuilder*)*"), + legacy_void_Function_legacy_AssignDomainNameComplementFromBoundStrandsBuilder: findType("~(AssignDomainNameComplementFromBoundStrandsBuilder*)*"), + legacy_void_Function_legacy_AutoPasteInitiateBuilder: findType("~(AutoPasteInitiateBuilder*)*"), + legacy_void_Function_legacy_AutobreakBuilder: findType("~(AutobreakBuilder*)*"), + legacy_void_Function_legacy_AutostapleBuilder: findType("~(AutostapleBuilder*)*"), + legacy_void_Function_legacy_BatchActionBuilder: findType("~(BatchActionBuilder*)*"), + legacy_void_Function_legacy_ContextMenuHideBuilder: findType("~(ContextMenuHideBuilder*)*"), + legacy_void_Function_legacy_ContextMenuItemBuilder: findType("~(ContextMenuItemBuilder*)*"), + legacy_void_Function_legacy_ConvertCrossoverToLoopoutBuilder: findType("~(ConvertCrossoverToLoopoutBuilder*)*"), + legacy_void_Function_legacy_ConvertCrossoversToLoopoutsBuilder: findType("~(ConvertCrossoversToLoopoutsBuilder*)*"), + legacy_void_Function_legacy_CopyInfoBuilder: findType("~(CopyInfoBuilder*)*"), + legacy_void_Function_legacy_CopySelectedStandsToClipboardImageBuilder: findType("~(CopySelectedStandsToClipboardImageBuilder*)*"), + legacy_void_Function_legacy_CopySelectedStrandsBuilder: findType("~(CopySelectedStrandsBuilder*)*"), + legacy_void_Function_legacy_CrossoverBuilder: findType("~(CrossoverBuilder*)*"), + legacy_void_Function_legacy_DNAAssignOptionsBuilder: findType("~(DNAAssignOptionsBuilder*)*"), + legacy_void_Function_legacy_DNAEndBuilder: findType("~(DNAEndBuilder*)*"), + legacy_void_Function_legacy_DNAEndsMoveBuilder: findType("~(DNAEndsMoveBuilder*)*"), + legacy_void_Function_legacy_DNAExtensionsMoveBuilder: findType("~(DNAExtensionsMoveBuilder*)*"), + legacy_void_Function_legacy_DeleteAllSelectedBuilder: findType("~(DeleteAllSelectedBuilder*)*"), + legacy_void_Function_legacy_DeletionAddBuilder: findType("~(DeletionAddBuilder*)*"), + legacy_void_Function_legacy_DeletionRemoveBuilder: findType("~(DeletionRemoveBuilder*)*"), + legacy_void_Function_legacy_DesignBuilder: findType("~(DesignBuilder*)*"), + legacy_void_Function_legacy_DesignSideRotationDataBuilder: findType("~(DesignSideRotationDataBuilder*)*"), + legacy_void_Function_legacy_DesignSideRotationParamsBuilder: findType("~(DesignSideRotationParamsBuilder*)*"), + legacy_void_Function_legacy_DialogBuilder: findType("~(DialogBuilder*)*"), + legacy_void_Function_legacy_DialogCheckboxBuilder: findType("~(DialogCheckboxBuilder*)*"), + legacy_void_Function_legacy_DialogFloatBuilder: findType("~(DialogFloatBuilder*)*"), + legacy_void_Function_legacy_DialogHideBuilder: findType("~(DialogHideBuilder*)*"), + legacy_void_Function_legacy_DialogIntegerBuilder: findType("~(DialogIntegerBuilder*)*"), + legacy_void_Function_legacy_DialogLabelBuilder: findType("~(DialogLabelBuilder*)*"), + legacy_void_Function_legacy_DialogLinkBuilder: findType("~(DialogLinkBuilder*)*"), + legacy_void_Function_legacy_DialogRadioBuilder: findType("~(DialogRadioBuilder*)*"), + legacy_void_Function_legacy_DialogTextAreaBuilder: findType("~(DialogTextAreaBuilder*)*"), + legacy_void_Function_legacy_DialogTextBuilder: findType("~(DialogTextBuilder*)*"), + legacy_void_Function_legacy_DisablePngCachingDnaSequencesSetBuilder: findType("~(DisablePngCachingDnaSequencesSetBuilder*)*"), + legacy_void_Function_legacy_DisplayMajorTicksOffsetsSetBuilder: findType("~(DisplayMajorTicksOffsetsSetBuilder*)*"), + legacy_void_Function_legacy_DisplayReverseDNARightSideUpSetBuilder: findType("~(DisplayReverseDNARightSideUpSetBuilder*)*"), + legacy_void_Function_legacy_DomainBuilder: findType("~(DomainBuilder*)*"), + legacy_void_Function_legacy_DomainsMoveBuilder: findType("~(DomainsMoveBuilder*)*"), + legacy_void_Function_legacy_DomainsMoveStopBuilder: findType("~(DomainsMoveStopBuilder*)*"), + legacy_void_Function_legacy_EditModeToggleBuilder: findType("~(EditModeToggleBuilder*)*"), + legacy_void_Function_legacy_ErrorMessageSetBuilder: findType("~(ErrorMessageSetBuilder*)*"), + legacy_void_Function_legacy_ExampleDesignsBuilder: findType("~(ExampleDesignsBuilder*)*"), + legacy_void_Function_legacy_ExportCanDoDNABuilder: findType("~(ExportCanDoDNABuilder*)*"), + legacy_void_Function_legacy_ExportDNABuilder: findType("~(ExportDNABuilder*)*"), + legacy_void_Function_legacy_ExportSvgTextSeparatelySetBuilder: findType("~(ExportSvgTextSeparatelySetBuilder*)*"), + legacy_void_Function_legacy_ExtensionAddBuilder: findType("~(ExtensionAddBuilder*)*"), + legacy_void_Function_legacy_ExtensionBuilder: findType("~(ExtensionBuilder*)*"), + legacy_void_Function_legacy_ExtensionDisplayLengthAngleSetBuilder: findType("~(ExtensionDisplayLengthAngleSetBuilder*)*"), + legacy_void_Function_legacy_ExtensionNumBasesChangeBuilder: findType("~(ExtensionNumBasesChangeBuilder*)*"), + legacy_void_Function_legacy_ExtensionsNumBasesChangeBuilder: findType("~(ExtensionsNumBasesChangeBuilder*)*"), + legacy_void_Function_legacy_GeometryBuilder: findType("~(GeometryBuilder*)*"), + legacy_void_Function_legacy_GridPositionBuilder: findType("~(GridPositionBuilder*)*"), + legacy_void_Function_legacy_HelicesPositionsSetBasedOnCrossoversBuilder: findType("~(HelicesPositionsSetBasedOnCrossoversBuilder*)*"), + legacy_void_Function_legacy_HelixAddBuilder: findType("~(HelixAddBuilder*)*"), + legacy_void_Function_legacy_HelixBuilder: findType("~(HelixBuilder*)*"), + legacy_void_Function_legacy_HelixGroupBuilder: findType("~(HelixGroupBuilder*)*"), + legacy_void_Function_legacy_HelixGroupMoveBuilder: findType("~(HelixGroupMoveBuilder*)*"), + legacy_void_Function_legacy_HelixGroupMoveStopBuilder: findType("~(HelixGroupMoveStopBuilder*)*"), + legacy_void_Function_legacy_HelixIdxsChangeBuilder: findType("~(HelixIdxsChangeBuilder*)*"), + legacy_void_Function_legacy_HelixMaxOffsetSetByDomainsAllBuilder: findType("~(HelixMaxOffsetSetByDomainsAllBuilder*)*"), + legacy_void_Function_legacy_HelixMaxOffsetSetByDomainsAllSameMaxBuilder: findType("~(HelixMaxOffsetSetByDomainsAllSameMaxBuilder*)*"), + legacy_void_Function_legacy_HelixMinOffsetSetByDomainsAllBuilder: findType("~(HelixMinOffsetSetByDomainsAllBuilder*)*"), + legacy_void_Function_legacy_HelixRemoveAllSelectedBuilder: findType("~(HelixRemoveAllSelectedBuilder*)*"), + legacy_void_Function_legacy_HelixRemoveBuilder: findType("~(HelixRemoveBuilder*)*"), + legacy_void_Function_legacy_HelixRollSetAtOtherBuilder: findType("~(HelixRollSetAtOtherBuilder*)*"), + legacy_void_Function_legacy_HelixSelectBuilder: findType("~(HelixSelectBuilder*)*"), + legacy_void_Function_legacy_HelixSelectionsAdjustBuilder: findType("~(HelixSelectionsAdjustBuilder*)*"), + legacy_void_Function_legacy_HelixSelectionsClearBuilder: findType("~(HelixSelectionsClearBuilder*)*"), + legacy_void_Function_legacy_InlineInsertionsDeletionsBuilder: findType("~(InlineInsertionsDeletionsBuilder*)*"), + legacy_void_Function_legacy_InsertionAddBuilder: findType("~(InsertionAddBuilder*)*"), + legacy_void_Function_legacy_InsertionBuilder: findType("~(InsertionBuilder*)*"), + legacy_void_Function_legacy_InsertionLengthChangeBuilder: findType("~(InsertionLengthChangeBuilder*)*"), + legacy_void_Function_legacy_InsertionRemoveBuilder: findType("~(InsertionRemoveBuilder*)*"), + legacy_void_Function_legacy_InsertionsLengthChangeBuilder: findType("~(InsertionsLengthChangeBuilder*)*"), + legacy_void_Function_legacy_JoinStrandsByMultipleCrossoversBuilder: findType("~(JoinStrandsByMultipleCrossoversBuilder*)*"), + legacy_void_Function_legacy_LineBuilder: findType("~(LineBuilder*)*"), + legacy_void_Function_legacy_List_legacy_DialogItem: findType("~(List*)*"), + legacy_void_Function_legacy_LoadDNAFileBuilder: findType("~(LoadDNAFileBuilder*)*"), + legacy_void_Function_legacy_LoadDnaSequenceImageUriBuilder: findType("~(LoadDnaSequenceImageUriBuilder*)*"), + legacy_void_Function_legacy_LocalStorageDesignChoiceBuilder: findType("~(LocalStorageDesignChoiceBuilder*)*"), + legacy_void_Function_legacy_LoopoutBuilder: findType("~(LoopoutBuilder*)*"), + legacy_void_Function_legacy_LoopoutLengthChangeBuilder: findType("~(LoopoutLengthChangeBuilder*)*"), + legacy_void_Function_legacy_LoopoutsLengthChangeBuilder: findType("~(LoopoutsLengthChangeBuilder*)*"), + legacy_void_Function_legacy_MajorTickOffsetFontSizeSetBuilder: findType("~(MajorTickOffsetFontSizeSetBuilder*)*"), + legacy_void_Function_legacy_MajorTickWidthFontSizeSetBuilder: findType("~(MajorTickWidthFontSizeSetBuilder*)*"), + legacy_void_Function_legacy_ManualPasteInitiateBuilder: findType("~(ManualPasteInitiateBuilder*)*"), + legacy_void_Function_legacy_Modification3PrimeBuilder: findType("~(Modification3PrimeBuilder*)*"), + legacy_void_Function_legacy_Modification5PrimeBuilder: findType("~(Modification5PrimeBuilder*)*"), + legacy_void_Function_legacy_ModificationFontSizeSetBuilder: findType("~(ModificationFontSizeSetBuilder*)*"), + legacy_void_Function_legacy_ModificationInternalBuilder: findType("~(ModificationInternalBuilder*)*"), + legacy_void_Function_legacy_Modifications3PrimeEditBuilder: findType("~(Modifications3PrimeEditBuilder*)*"), + legacy_void_Function_legacy_Modifications5PrimeEditBuilder: findType("~(Modifications5PrimeEditBuilder*)*"), + legacy_void_Function_legacy_ModificationsInternalEditBuilder: findType("~(ModificationsInternalEditBuilder*)*"), + legacy_void_Function_legacy_MouseGridPositionSideClearBuilder: findType("~(MouseGridPositionSideClearBuilder*)*"), + legacy_void_Function_legacy_MouseGridPositionSideUpdateBuilder: findType("~(MouseGridPositionSideUpdateBuilder*)*"), + legacy_void_Function_legacy_MousePositionSideClearBuilder: findType("~(MousePositionSideClearBuilder*)*"), + legacy_void_Function_legacy_MouseoverDataBuilder: findType("~(MouseoverDataBuilder*)*"), + legacy_void_Function_legacy_MouseoverDataClearBuilder: findType("~(MouseoverDataClearBuilder*)*"), + legacy_void_Function_legacy_MouseoverParamsBuilder: findType("~(MouseoverParamsBuilder*)*"), + legacy_void_Function_legacy_NewDesignSetBuilder: findType("~(NewDesignSetBuilder*)*"), + legacy_void_Function_legacy_OxdnaExportBuilder: findType("~(OxdnaExportBuilder*)*"), + legacy_void_Function_legacy_OxviewExportBuilder: findType("~(OxviewExportBuilder*)*"), + legacy_void_Function_legacy_OxviewShowSetBuilder: findType("~(OxviewShowSetBuilder*)*"), + legacy_void_Function_legacy_Position3DBuilder: findType("~(Position3DBuilder*)*"), + legacy_void_Function_legacy_PotentialCrossoverBuilder: findType("~(PotentialCrossoverBuilder*)*"), + legacy_void_Function_legacy_PotentialCrossoverRemoveBuilder: findType("~(PotentialCrossoverRemoveBuilder*)*"), + legacy_void_Function_legacy_PrepareToLoadDNAFileBuilder: findType("~(PrepareToLoadDNAFileBuilder*)*"), + legacy_void_Function_legacy_RedoBuilder: findType("~(RedoBuilder*)*"), + legacy_void_Function_legacy_RetainStrandColorOnSelectionSetBuilder: findType("~(RetainStrandColorOnSelectionSetBuilder*)*"), + legacy_void_Function_legacy_SaveDNAFileBuilder: findType("~(SaveDNAFileBuilder*)*"), + legacy_void_Function_legacy_SelectAllSelectableBuilder: findType("~(SelectAllSelectableBuilder*)*"), + legacy_void_Function_legacy_SelectBuilder: findType("~(SelectBuilder*)*"), + legacy_void_Function_legacy_SelectModeStateBuilder: findType("~(SelectModeStateBuilder*)*"), + legacy_void_Function_legacy_SelectModeToggleBuilder: findType("~(SelectModeToggleBuilder*)*"), + legacy_void_Function_legacy_SelectablesStoreBuilder: findType("~(SelectablesStoreBuilder*)*"), + legacy_void_Function_legacy_SelectionBoxBuilder: findType("~(SelectionBoxBuilder*)*"), + legacy_void_Function_legacy_SelectionBoxCreateBuilder: findType("~(SelectionBoxCreateBuilder*)*"), + legacy_void_Function_legacy_SelectionBoxRemoveBuilder: findType("~(SelectionBoxRemoveBuilder*)*"), + legacy_void_Function_legacy_SelectionBoxSizeChangeBuilder: findType("~(SelectionBoxSizeChangeBuilder*)*"), + legacy_void_Function_legacy_SelectionRopeBuilder: findType("~(SelectionRopeBuilder*)*"), + legacy_void_Function_legacy_SelectionsClearBuilder: findType("~(SelectionsClearBuilder*)*"), + legacy_void_Function_legacy_SetAppUIStateStorableBuilder: findType("~(SetAppUIStateStorableBuilder*)*"), + legacy_void_Function_legacy_SetDisplayBaseOffsetsOfMajorTicksOnlyFirstHelixBuilder: findType("~(SetDisplayBaseOffsetsOfMajorTicksOnlyFirstHelixBuilder*)*"), + legacy_void_Function_legacy_SetDisplayMajorTickWidthsAllHelicesBuilder: findType("~(SetDisplayMajorTickWidthsAllHelicesBuilder*)*"), + legacy_void_Function_legacy_SetDisplayMajorTickWidthsBuilder: findType("~(SetDisplayMajorTickWidthsBuilder*)*"), + legacy_void_Function_legacy_SetExportSvgActionDelayedForPngCacheBuilder: findType("~(SetExportSvgActionDelayedForPngCacheBuilder*)*"), + legacy_void_Function_legacy_SetIsZoomAboveThresholdBuilder: findType("~(SetIsZoomAboveThresholdBuilder*)*"), + legacy_void_Function_legacy_SetModificationDisplayConnectorBuilder: findType("~(SetModificationDisplayConnectorBuilder*)*"), + legacy_void_Function_legacy_SetOnlyDisplaySelectedHelicesBuilder: findType("~(SetOnlyDisplaySelectedHelicesBuilder*)*"), + legacy_void_Function_legacy_ShowDNASetBuilder: findType("~(ShowDNASetBuilder*)*"), + legacy_void_Function_legacy_ShowDomainLabelsSetBuilder: findType("~(ShowDomainLabelsSetBuilder*)*"), + legacy_void_Function_legacy_ShowDomainNameMismatchesSetBuilder: findType("~(ShowDomainNameMismatchesSetBuilder*)*"), + legacy_void_Function_legacy_ShowDomainNamesSetBuilder: findType("~(ShowDomainNamesSetBuilder*)*"), + legacy_void_Function_legacy_ShowMismatchesSetBuilder: findType("~(ShowMismatchesSetBuilder*)*"), + legacy_void_Function_legacy_ShowModificationsSetBuilder: findType("~(ShowModificationsSetBuilder*)*"), + legacy_void_Function_legacy_ShowMouseoverDataSetBuilder: findType("~(ShowMouseoverDataSetBuilder*)*"), + legacy_void_Function_legacy_ShowSliceBarSetBuilder: findType("~(ShowSliceBarSetBuilder*)*"), + legacy_void_Function_legacy_ShowStrandLabelsSetBuilder: findType("~(ShowStrandLabelsSetBuilder*)*"), + legacy_void_Function_legacy_ShowStrandNamesSetBuilder: findType("~(ShowStrandNamesSetBuilder*)*"), + legacy_void_Function_legacy_ShowUnpairedInsertionDeletionsSetBuilder: findType("~(ShowUnpairedInsertionDeletionsSetBuilder*)*"), + legacy_void_Function_legacy_SkipUndoBuilder: findType("~(SkipUndoBuilder*)*"), + legacy_void_Function_legacy_SliceBarMoveStartBuilder: findType("~(SliceBarMoveStartBuilder*)*"), + legacy_void_Function_legacy_SliceBarMoveStopBuilder: findType("~(SliceBarMoveStopBuilder*)*"), + legacy_void_Function_legacy_SliceBarOffsetSetBuilder: findType("~(SliceBarOffsetSetBuilder*)*"), + legacy_void_Function_legacy_StrandBuilder: findType("~(StrandBuilder*)*"), + legacy_void_Function_legacy_StrandCreateStopBuilder: findType("~(StrandCreateStopBuilder*)*"), + legacy_void_Function_legacy_StrandCreationBuilder: findType("~(StrandCreationBuilder*)*"), + legacy_void_Function_legacy_StrandOrSubstrandColorPickerHideBuilder: findType("~(StrandOrSubstrandColorPickerHideBuilder*)*"), + legacy_void_Function_legacy_StrandsMoveBuilder: findType("~(StrandsMoveBuilder*)*"), + legacy_void_Function_legacy_StrandsMoveStopBuilder: findType("~(StrandsMoveStopBuilder*)*"), + legacy_void_Function_legacy_SyntheticMouseEvent: findType("~(SyntheticMouseEvent*)*"), + legacy_void_Function_legacy_SyntheticPointerEvent: findType("~(SyntheticPointerEvent*)*"), + legacy_void_Function_legacy_ThrottledActionFastBuilder: findType("~(ThrottledActionFastBuilder*)*"), + legacy_void_Function_legacy_ThrottledActionNonFastBuilder: findType("~(ThrottledActionNonFastBuilder*)*"), + legacy_void_Function_legacy_UndoBuilder: findType("~(UndoBuilder*)*"), + legacy_void_Function_legacy_UndoRedoBuilder: findType("~(UndoRedoBuilder*)*"), + legacy_void_Function_legacy_UndoRedoItemBuilder: findType("~(UndoRedoItemBuilder*)*"), + legacy_void_Function_legacy_VendorFieldsBuilder: findType("~(VendorFieldsBuilder*)*"), + legacy_void_Function_legacy_bool: findType("~(bool*)*"), + nullable_Blob: findType("Blob?"), + nullable_EventTarget: findType("EventTarget?"), + nullable_Future_Null: findType("Future?"), + nullable_Gamepad: findType("Gamepad?"), + nullable_List_Element: findType("List?"), + nullable_List_Int32List: findType("List?"), + nullable_List_List_int: findType("List>?"), + nullable_List_String: findType("List?"), + nullable_List_Uint8List: findType("List?"), + nullable_List_dynamic: findType("List<@>?"), + nullable_List_int: findType("List?"), + nullable_Map_String_ArchiveFile: findType("Map?"), + nullable_Map_String_SpreadsheetTable: findType("Map?"), + nullable_Map_String_XmlDocument: findType("Map?"), + nullable_Map_String_XmlElement: findType("Map?"), + nullable_Object: findType("Object?"), + nullable_Object_Function: findType("Object?()"), + nullable_Point_num: findType("Point?"), + nullable_Set_XmlNodeType: findType("Set?"), + nullable_StackTrace: findType("StackTrace?"), + nullable_StreamController_DraggableEvent: findType("StreamController?"), + nullable_String_Function_Match: findType("String(Match)?"), + nullable_Uri: findType("Uri?"), + nullable__DelayedEvent_dynamic: findType("_DelayedEvent<@>?"), + nullable__FutureListener_dynamic_dynamic: findType("_FutureListener<@,@>?"), + nullable__Highlight: findType("_Highlight?"), + nullable__LinkedHashSetCell: findType("_LinkedHashSetCell?"), + nullable_bool_Function_Object: findType("bool(Object)?"), + nullable_bool_Function_XmlAttribute: findType("bool(XmlAttribute)?"), + nullable_bool_Function_XmlNode: findType("bool(XmlNode)?"), + nullable_dynamic_Function_Event: findType("@(Event)?"), + nullable_int_Function_2_legacy_Tuple2_of_legacy_Tuple2_of_legacy_int_and_legacy_int_and_legacy_Domain_and_legacy_$1: findType("int(Tuple2*,Domain*>*,Tuple2*,Domain*>*)?"), + nullable_int_Function_2_legacy_Tuple3_of_legacy_int_and_legacy_bool_and_legacy_Domain_and_legacy_$1: findType("int(Tuple3*,Tuple3*)?"), + nullable_int_Function_Element_Element: findType("int(Element,Element)?"), + nullable_int_Function_Node_Node: findType("int(Node,Node)?"), + nullable_int_Function_XmlAttribute_XmlAttribute: findType("int(XmlAttribute,XmlAttribute)?"), + nullable_nullable_Object_Function_2_nullable_Object_and_nullable_Object: findType("Object?(Object?,Object?)?"), + nullable_nullable_Object_Function_dynamic: findType("Object?(@)?"), + nullable_void_Function: findType("~()?"), + nullable_void_Function_BeforeUnloadEvent: findType("~(BeforeUnloadEvent)?"), + nullable_void_Function_DomException: findType("~(DomException)?"), + nullable_void_Function_Event: findType("~(Event)?"), + nullable_void_Function_legacy_Event: findType("~(Event*)?"), + nullable_void_Function_legacy_KeyboardEvent: findType("~(KeyboardEvent*)?"), + nullable_void_Function_legacy_MouseEvent: findType("~(MouseEvent*)?"), + nullable_void_Function_legacy_ProgressEvent: findType("~(ProgressEvent*)?"), + nullable_void_Function_legacy_TouchEvent: findType("~(TouchEvent*)?"), + num: findType("num"), + void: findType("~"), + void_Function: findType("~()"), + void_Function_Element: findType("~(Element)"), + void_Function_Object: findType("~(Object)"), + void_Function_Object_StackTrace: findType("~(Object,StackTrace)"), + void_Function_String: findType("~(String)"), + void_Function_String_String: findType("~(String,String)"), + void_Function_String_dynamic: findType("~(String,@)"), + void_Function_Timer: findType("~(Timer)"), + void_Function_nullable_Blob: findType("~(Blob?)") + }; + })(); + (function constants() { + var makeConstList = hunkHelpers.makeConstList; + C.AnchorElement_methods = W.AnchorElement.prototype; + C.BodyElement_methods = W.BodyElement.prototype; + C.CanvasElement_methods = W.CanvasElement.prototype; + C.CircleElement_methods = P.CircleElement.prototype; + C.CssStyleDeclaration_methods = W.CssStyleDeclaration.prototype; + C.CssStyleSheet_methods = W.CssStyleSheet.prototype; + C.DataTransfer_methods = W.DataTransfer.prototype; + C.DefsElement_methods = P.DefsElement.prototype; + C.DivElement_methods = W.DivElement.prototype; + C.DomImplementation_methods = W.DomImplementation.prototype; + C.DomPoint_methods = W.DomPoint.prototype; + C.FEGaussianBlurElement_methods = P.FEGaussianBlurElement.prototype; + C.FEMergeElement_methods = P.FEMergeElement.prototype; + C.FEMergeNodeElement_methods = P.FEMergeNodeElement.prototype; + C.FileList_methods = W.FileList.prototype; + C.FileReader_methods = W.FileReader.prototype; + C.FilterElement_methods = P.FilterElement.prototype; + C.GElement_methods = P.GElement.prototype; + C.HtmlDocument_methods = W.HtmlDocument.prototype; + C.HttpRequest_methods = W.HttpRequest.prototype; + C.IFrameElement_methods = W.IFrameElement.prototype; + C.ImageElement_methods = W.ImageElement.prototype; + C.Interceptor_methods = J.Interceptor.prototype; + C.JSArray_methods = J.JSArray.prototype; + C.JSBool_methods = J.JSBool.prototype; + C.JSInt_methods = J.JSInt.prototype; + C.JSNull_methods = J.JSNull.prototype; + C.JSNumber_methods = J.JSNumber.prototype; + C.JSString_methods = J.JSString.prototype; + C.JavaScriptFunction_methods = J.JavaScriptFunction.prototype; + C.KeyboardEvent_methods = W.KeyboardEvent.prototype; + C.NativeByteBuffer_methods = H.NativeByteBuffer.prototype; + C.NativeByteData_methods = H.NativeByteData.prototype; + C.NativeUint16List_methods = H.NativeUint16List.prototype; + C.NativeUint32List_methods = H.NativeUint32List.prototype; + C.NativeUint8List_methods = H.NativeUint8List.prototype; + C.NodeList_methods = W.NodeList.prototype; + C.PlainJavaScriptObject_methods = J.PlainJavaScriptObject.prototype; + C.Point_methods = P.Point0.prototype; + C.PreElement_methods = W.PreElement.prototype; + C.Storage_methods = W.Storage.prototype; + C.SvgSvgElement_methods = P.SvgSvgElement.prototype; + C.TextElement_methods = P.TextElement.prototype; + C.UnknownJavaScriptObject_methods = J.UnknownJavaScriptObject.prototype; + C.Window_methods = W.Window.prototype; + C._CssRuleList_methods = W._CssRuleList.prototype; + C.AsciiDecoder_false_127 = new P.AsciiDecoder(false, 127); + C.AsciiEncoder_127 = new P.AsciiEncoder(127); + C.BasePairDisplayType_lines = new L.BasePairDisplayType("lines"); + C.BasePairDisplayType_none = new L.BasePairDisplayType("none"); + C.BasePairDisplayType_rectangle = new L.BasePairDisplayType("rectangle"); + C.BlobType_0 = new E.BlobType("BlobType.text"); + C.BlobType_1 = new E.BlobType("BlobType.binary"); + C.BlobType_2 = new E.BlobType("BlobType.image"); + C.BlobType_3 = new E.BlobType("BlobType.excel"); + C.CONSTANT = new H.Instantiation1(P.math__max$closure(), type$.Instantiation1_legacy_int); + C.CONSTANT0 = new H.Instantiation1(P.math__min$closure(), type$.Instantiation1_legacy_int); + C.C_AsciiCodec = new P.AsciiCodec(); + C.C_Base64Encoder = new P.Base64Encoder(); + C.C_Base64Codec = new P.Base64Codec(); + C.C_Base64Decoder = new P.Base64Decoder(); + C.C_Component2BridgeImpl = new A.Component2BridgeImpl(); + C.C_DefaultEquality = new U.DefaultEquality(H.findType("DefaultEquality<0&*>")); + C.C_DeepCollectionEquality = new U.DeepCollectionEquality(); + C.C_EmptyIterator = new H.EmptyIterator(H.findType("EmptyIterator<0&*>")); + C.C_Endian0 = new P.Endian(); + C.C_Endian = new P.Endian(); + C.C_HtmlEscapeMode = new P.HtmlEscapeMode(); + C.C_IntegerDivisionByZeroException = new P.IntegerDivisionByZeroException(); + C.C_JS_CONST = function getTagFallback(o) { + var s = Object.prototype.toString.call(o); + return s.substring(8, s.length - 1); +}; + C.C_JS_CONST0 = function() { + var toStringFunction = Object.prototype.toString; + function getTag(o) { + var s = toStringFunction.call(o); + return s.substring(8, s.length - 1); + } + function getUnknownTag(object, tag) { + if (/^HTML[A-Z].*Element$/.test(tag)) { + var name = toStringFunction.call(object); + if (name == "[object Object]") return null; + return "HTMLElement"; + } + } + function getUnknownTagGenericBrowser(object, tag) { + if (self.HTMLElement && object instanceof HTMLElement) return "HTMLElement"; + return getUnknownTag(object, tag); + } + function prototypeForTag(tag) { + if (typeof window == "undefined") return null; + if (typeof window[tag] == "undefined") return null; + var constructor = window[tag]; + if (typeof constructor != "function") return null; + return constructor.prototype; + } + function discriminator(tag) { return null; } + var isBrowser = typeof navigator == "object"; + return { + getTag: getTag, + getUnknownTag: isBrowser ? getUnknownTagGenericBrowser : getUnknownTag, + prototypeForTag: prototypeForTag, + discriminator: discriminator }; +}; + C.C_JS_CONST6 = function(getTagFallback) { + return function(hooks) { + if (typeof navigator != "object") return hooks; + var ua = navigator.userAgent; + if (ua.indexOf("DumpRenderTree") >= 0) return hooks; + if (ua.indexOf("Chrome") >= 0) { + function confirm(p) { + return typeof window == "object" && window[p] && window[p].name == p; + } + if (confirm("Window") && confirm("HTMLElement")) return hooks; + } + hooks.getTag = getTagFallback; + }; +}; + C.C_JS_CONST1 = function(hooks) { + if (typeof dartExperimentalFixupGetTag != "function") return hooks; + hooks.getTag = dartExperimentalFixupGetTag(hooks.getTag); +}; + C.C_JS_CONST2 = function(hooks) { + var getTag = hooks.getTag; + var prototypeForTag = hooks.prototypeForTag; + function getTagFixed(o) { + var tag = getTag(o); + if (tag == "Document") { + if (!!o.xmlVersion) return "!Document"; + return "!HTMLDocument"; + } + return tag; + } + function prototypeForTagFixed(tag) { + if (tag == "Document") return null; + return prototypeForTag(tag); + } + hooks.getTag = getTagFixed; + hooks.prototypeForTag = prototypeForTagFixed; +}; + C.C_JS_CONST5 = function(hooks) { + var userAgent = typeof navigator == "object" ? navigator.userAgent : ""; + if (userAgent.indexOf("Firefox") == -1) return hooks; + var getTag = hooks.getTag; + var quickMap = { + "BeforeUnloadEvent": "Event", + "DataTransfer": "Clipboard", + "GeoGeolocation": "Geolocation", + "Location": "!Location", + "WorkerMessageEvent": "MessageEvent", + "XMLDocument": "!Document"}; + function getTagFirefox(o) { + var tag = getTag(o); + return quickMap[tag] || tag; + } + hooks.getTag = getTagFirefox; +}; + C.C_JS_CONST4 = function(hooks) { + var userAgent = typeof navigator == "object" ? navigator.userAgent : ""; + if (userAgent.indexOf("Trident/") == -1) return hooks; + var getTag = hooks.getTag; + var quickMap = { + "BeforeUnloadEvent": "Event", + "DataTransfer": "Clipboard", + "HTMLDDElement": "HTMLElement", + "HTMLDTElement": "HTMLElement", + "HTMLPhraseElement": "HTMLElement", + "Position": "Geoposition" + }; + function getTagIE(o) { + var tag = getTag(o); + var newTag = quickMap[tag]; + if (newTag) return newTag; + if (tag == "Object") { + if (window.DataView && (o instanceof window.DataView)) return "DataView"; + } + return tag; + } + function prototypeForTagIE(tag) { + var constructor = window[tag]; + if (constructor == null) return null; + return constructor.prototype; + } + hooks.getTag = getTagIE; + hooks.prototypeForTag = prototypeForTagIE; +}; + C.C_JS_CONST3 = function(hooks) { return hooks; } +; + C.C_JsonCodec = new P.JsonCodec(); + C.C_Latin1Codec = new P.Latin1Codec(); + C.C_NotSpecified = new M.NotSpecified(); + C.C_NotSpecified0 = new V.NotSpecified0(); + C.C_OutOfMemoryError = new P.OutOfMemoryError(); + C.C_UiComponent2BridgeImpl = new Z.UiComponent2BridgeImpl(); + C.C_Utf8Codec = new P.Utf8Codec(); + C.C_Utf8Encoder = new P.Utf8Encoder(); + C.C_WhitespaceCharPredicate = new Z.WhitespaceCharPredicate(); + C.List_2EQ = H.setRuntimeTypeInfo(makeConstList(["amp", "apos", "gt", "lt", "quot"]), type$.JSArray_legacy_String); + C.Map_2EUwe = new H.ConstantStringMap(5, {amp: "&", apos: "'", gt: ">", lt: "<", quot: '"'}, C.List_2EQ, type$.ConstantStringMap_of_legacy_String_and_legacy_String); + C.C_XmlDefaultEntityMapping = new T.XmlDefaultEntityMapping(); + C.C__BeforeUnloadEventStreamProvider = new W._BeforeUnloadEventStreamProvider(); + C.C__DelayedDone = new P._DelayedDone(); + C.C__Required = new H._Required(); + C.C__RootZone = new P._RootZone(); + C.C__StringStackTrace = new P._StringStackTrace(); + C.C__TrustedHtmlTreeSanitizer = new W._TrustedHtmlTreeSanitizer(); + C.ConstantCharPredicate_false = new L.ConstantCharPredicate(false); + C.ConstantCharPredicate_true = new L.ConstantCharPredicate(true); + C.DNAFileType_cadnano_file = new F.DNAFileType("cadnano_file"); + C.DNAFileType_scadnano_file = new F.DNAFileType("scadnano_file"); + C.DNASequencePredefined_M13p7249 = new E.DNASequencePredefined("M13p7249"); + C.DNASequencePredefined_M13p7560 = new E.DNASequencePredefined("M13p7560"); + C.DNASequencePredefined_M13p8064 = new E.DNASequencePredefined("M13p8064"); + C.DNASequencePredefined_M13p8634 = new E.DNASequencePredefined("M13p8634"); + C.DialogType_0i1 = new E.DialogType("select_all_with_same_as_selected"); + C.DialogType_2jN = new E.DialogType("set_extension_display_length_angle"); + C.DialogType_add_extension = new E.DialogType("add_extension"); + C.DialogType_add_modification = new E.DialogType("add_modification"); + C.DialogType_adjust_current_helix_group = new E.DialogType("adjust_current_helix_group"); + C.DialogType_adjust_geometric_parameters = new E.DialogType("adjust_geometric_parameters"); + C.DialogType_adjust_helix_indices = new E.DialogType("adjust_helix_indices"); + C.DialogType_assign_dna_sequence = new E.DialogType("assign_dna_sequence"); + C.DialogType_assign_plate_well = new E.DialogType("assign_plate_well"); + C.DialogType_assign_scale_purification = new E.DialogType("assign_scale_purification"); + C.DialogType_base_pair_display = new E.DialogType("base_pair_display"); + C.DialogType_choose_autobreak_parameters = new E.DialogType("choose_autobreak_parameters"); + C.DialogType_create_new_helix_group = new E.DialogType("create_new_helix_group"); + C.DialogType_edit_modification = new E.DialogType("edit_modification"); + C.DialogType_export_dna_sequences = new E.DialogType("export_dna_sequences"); + C.DialogType_load_example_dna_design = new E.DialogType("load_example_dna_design"); + C.DialogType_move_selected_helices_to_group = new E.DialogType("move_selected_helices_to_group"); + C.DialogType_remove_dna_sequence = new E.DialogType("remove_dna_sequence"); + C.DialogType_set_color = new E.DialogType("set_color"); + C.DialogType_set_domain_name = new E.DialogType("set_domain_name"); + C.DialogType_set_extension_name = new E.DialogType("set_extension_name"); + C.DialogType_set_extension_num_bases = new E.DialogType("set_extension_num_bases"); + C.DialogType_set_helix_grid_position = new E.DialogType("set_helix_grid_position"); + C.DialogType_set_helix_index = new E.DialogType("set_helix_index"); + C.DialogType_set_helix_maximum_offset = new E.DialogType("set_helix_maximum_offset"); + C.DialogType_set_helix_minimum_offset = new E.DialogType("set_helix_minimum_offset"); + C.DialogType_set_helix_position = new E.DialogType("set_helix_position"); + C.DialogType_set_helix_roll_degrees = new E.DialogType("set_helix_roll_degrees"); + C.DialogType_set_helix_tick_marks = new E.DialogType("set_helix_tick_marks"); + C.DialogType_set_insertion_length = new E.DialogType("set_insertion_length"); + C.DialogType_set_loopout_length = new E.DialogType("set_loopout_length"); + C.DialogType_set_loopout_name = new E.DialogType("set_loopout_name"); + C.DialogType_set_strand_label = new E.DialogType("set_strand_label"); + C.DialogType_set_strand_name = new E.DialogType("set_strand_name"); + C.DialogType_set_substrand_label = new E.DialogType("set_substrand_label"); + C.DisposableState_0 = new D.DisposableState("DisposableState.initialized"); + C.DisposableState_1 = new D.DisposableState("DisposableState.awaitingDisposal"); + C.DisposableState_2 = new D.DisposableState("DisposableState.disposing"); + C.DisposableState_3 = new D.DisposableState("DisposableState.disposed"); + C.DraggableComponent_0 = new U.DraggableComponent("DraggableComponent.main"); + C.DraggableComponent_1 = new U.DraggableComponent("DraggableComponent.side"); + C.Duration_0 = new P.Duration(0); + C.Duration_50000 = new P.Duration(50000); + C.EditModeChoice_deletion = new M.EditModeChoice("deletion"); + C.EditModeChoice_insertion = new M.EditModeChoice("insertion"); + C.EditModeChoice_ligate = new M.EditModeChoice("ligate"); + C.EditModeChoice_move_group = new M.EditModeChoice("move_group"); + C.EditModeChoice_nick = new M.EditModeChoice("nick"); + C.EditModeChoice_pencil = new M.EditModeChoice("pencil"); + C.EditModeChoice_rope_select = new M.EditModeChoice("rope_select"); + C.EditModeChoice_select = new M.EditModeChoice("select"); + C.ExportDNAFormat_csv = new D.ExportDNAFormat("csv"); + C.ExportDNAFormat_idt_bulk = new D.ExportDNAFormat("idt_bulk"); + C.ExportDNAFormat_idt_plates384 = new D.ExportDNAFormat("idt_plates384"); + C.ExportDNAFormat_idt_plates96 = new D.ExportDNAFormat("idt_plates96"); + C.ExportSvgType_0 = new U.ExportSvgType("ExportSvgType.main"); + C.ExportSvgType_1 = new U.ExportSvgType("ExportSvgType.side"); + C.ExportSvgType_2 = new U.ExportSvgType("ExportSvgType.both"); + C.ExportSvgType_3 = new U.ExportSvgType("ExportSvgType.selected"); + C.Type_BuiltList_iTR = H.typeLiteral("BuiltList<@>"); + C.Type_Strand_CKH = H.typeLiteral("Strand"); + C.List_empty5 = H.setRuntimeTypeInfo(makeConstList([]), type$.JSArray_legacy_FullType); + C.FullType_w0x = new U.FullType(C.Type_Strand_CKH, C.List_empty5, false); + C.List_AyI0 = H.setRuntimeTypeInfo(makeConstList([C.FullType_w0x]), type$.JSArray_legacy_FullType); + C.FullType_2No = new U.FullType(C.Type_BuiltList_iTR, C.List_AyI0, false); + C.Type_BuiltSet_fcN = H.typeLiteral("BuiltSet<@>"); + C.Type_SelectModeChoice_a75 = H.typeLiteral("SelectModeChoice"); + C.FullType_gg40 = new U.FullType(C.Type_SelectModeChoice_a75, C.List_empty5, false); + C.List_dEZ = H.setRuntimeTypeInfo(makeConstList([C.FullType_gg40]), type$.JSArray_legacy_FullType); + C.FullType_2aQ = new U.FullType(C.Type_BuiltSet_fcN, C.List_dEZ, false); + C.Type_num_cv7 = H.typeLiteral("num"); + C.FullType_2ru = new U.FullType(C.Type_num_cv7, C.List_empty5, false); + C.Type_Substrand_wOi = H.typeLiteral("Substrand"); + C.FullType_S4t = new U.FullType(C.Type_Substrand_wOi, C.List_empty5, false); + C.List_wsa = H.setRuntimeTypeInfo(makeConstList([C.FullType_S4t]), type$.JSArray_legacy_FullType); + C.FullType_3HJ = new U.FullType(C.Type_BuiltList_iTR, C.List_wsa, false); + C.Type_Action_omH = H.typeLiteral("Action"); + C.FullType_3lI = new U.FullType(C.Type_Action_omH, C.List_empty5, false); + C.Type_int_tHn = H.typeLiteral("int"); + C.FullType_kjq = new U.FullType(C.Type_int_tHn, C.List_empty5, false); + C.List_omH = H.setRuntimeTypeInfo(makeConstList([C.FullType_kjq]), type$.JSArray_legacy_FullType); + C.FullType_4QF0 = new U.FullType(C.Type_BuiltList_iTR, C.List_omH, false); + C.Type_BuiltMap_qd4 = H.typeLiteral("BuiltMap<@,@>"); + C.Type_String_k8F = H.typeLiteral("String"); + C.FullType_h8g = new U.FullType(C.Type_String_k8F, C.List_empty5, false); + C.List_CVN = H.setRuntimeTypeInfo(makeConstList([C.FullType_h8g]), type$.JSArray_legacy_FullType); + C.FullType_6m4 = new U.FullType(C.Type_BuiltList_iTR, C.List_CVN, false); + C.List_YaH = H.setRuntimeTypeInfo(makeConstList([C.FullType_kjq, C.FullType_6m4]), type$.JSArray_legacy_FullType); + C.FullType_vFp = new U.FullType(C.Type_BuiltMap_qd4, C.List_YaH, false); + C.List_yhx = H.setRuntimeTypeInfo(makeConstList([C.FullType_kjq, C.FullType_vFp]), type$.JSArray_legacy_FullType); + C.FullType_4QF = new U.FullType(C.Type_BuiltMap_qd4, C.List_yhx, false); + C.Type_BuiltListMultimap_2Mt = H.typeLiteral("BuiltListMultimap<@,@>"); + C.Type_Object_xQ6 = H.typeLiteral("Object"); + C.FullType_1MH = new U.FullType(C.Type_Object_xQ6, C.List_empty5, false); + C.List_a1A = H.setRuntimeTypeInfo(makeConstList([C.FullType_1MH, C.FullType_1MH]), type$.JSArray_legacy_FullType); + C.FullType_4Wf = new U.FullType(C.Type_BuiltListMultimap_2Mt, C.List_a1A, false); + C.List_yym = H.setRuntimeTypeInfo(makeConstList([C.FullType_1MH]), type$.JSArray_legacy_FullType); + C.FullType_4e8 = new U.FullType(C.Type_BuiltSet_fcN, C.List_yym, false); + C.Type_SelectModeState_qx4 = H.typeLiteral("SelectModeState"); + C.FullType_6ha = new U.FullType(C.Type_SelectModeState_qx4, C.List_empty5, false); + C.Type_DNAFileType_bQh = H.typeLiteral("DNAFileType"); + C.FullType_8L0 = new U.FullType(C.Type_DNAFileType_bQh, C.List_empty5, false); + C.List_OPt = H.setRuntimeTypeInfo(makeConstList([C.FullType_h8g, C.FullType_1MH]), type$.JSArray_legacy_FullType); + C.FullType_8aB = new U.FullType(C.Type_BuiltMap_qd4, C.List_OPt, false); + C.Type_Point_Yua = H.typeLiteral("Point"); + C.List_FCG = H.setRuntimeTypeInfo(makeConstList([C.FullType_2ru]), type$.JSArray_legacy_FullType); + C.FullType_8eb = new U.FullType(C.Type_Point_Yua, C.List_FCG, false); + C.Type_ContextMenuItem_c0h = H.typeLiteral("ContextMenuItem"); + C.FullType_gQA = new U.FullType(C.Type_ContextMenuItem_c0h, C.List_empty5, false); + C.List_qYY = H.setRuntimeTypeInfo(makeConstList([C.FullType_gQA]), type$.JSArray_legacy_FullType); + C.FullType_91n = new U.FullType(C.Type_BuiltList_iTR, C.List_qYY, false); + C.Type_ExportSvgType_QBc = H.typeLiteral("ExportSvgType"); + C.FullType_A0M = new U.FullType(C.Type_ExportSvgType_QBc, C.List_empty5, false); + C.Type_MouseoverParams_ArU = H.typeLiteral("MouseoverParams"); + C.FullType_YCE = new U.FullType(C.Type_MouseoverParams_ArU, C.List_empty5, false); + C.List_AJU = H.setRuntimeTypeInfo(makeConstList([C.FullType_YCE]), type$.JSArray_legacy_FullType); + C.FullType_AFm = new U.FullType(C.Type_BuiltList_iTR, C.List_AJU, false); + C.FullType_AgZ = new U.FullType(C.Type_BuiltList_iTR, C.List_dEZ, false); + C.Type_ExportSvg_Gt8 = H.typeLiteral("ExportSvg"); + C.FullType_AqW = new U.FullType(C.Type_ExportSvg_Gt8, C.List_empty5, false); + C.Type_ExampleDesigns_cWU = H.typeLiteral("ExampleDesigns"); + C.FullType_Auo = new U.FullType(C.Type_ExampleDesigns_cWU, C.List_empty5, false); + C.Type_Dialog_eAf = H.typeLiteral("Dialog"); + C.FullType_Azp = new U.FullType(C.Type_Dialog_eAf, C.List_empty5, false); + C.Type_Insertion_Gxl = H.typeLiteral("Insertion"); + C.FullType_EKW = new U.FullType(C.Type_Insertion_Gxl, C.List_empty5, false); + C.Type_Crossover_w3m = H.typeLiteral("Crossover"); + C.FullType_jPf = new U.FullType(C.Type_Crossover_w3m, C.List_empty5, false); + C.List_vry = H.setRuntimeTypeInfo(makeConstList([C.FullType_jPf]), type$.JSArray_legacy_FullType); + C.FullType_EOY = new U.FullType(C.Type_BuiltList_iTR, C.List_vry, false); + C.List_QcD = H.setRuntimeTypeInfo(makeConstList([C.FullType_8eb]), type$.JSArray_legacy_FullType); + C.FullType_EyI = new U.FullType(C.Type_BuiltList_iTR, C.List_QcD, false); + C.Type_MEg = H.typeLiteral("SelectableModificationInternal"); + C.FullType_MYu = new U.FullType(C.Type_MEg, C.List_empty5, false); + C.List_79j = H.setRuntimeTypeInfo(makeConstList([C.FullType_MYu]), type$.JSArray_legacy_FullType); + C.FullType_Gat = new U.FullType(C.Type_BuiltList_iTR, C.List_79j, false); + C.Type_SelectionRope_0Rd = H.typeLiteral("SelectionRope"); + C.FullType_H1G = new U.FullType(C.Type_SelectionRope_0Rd, C.List_empty5, false); + C.Type_Loopout_AQw = H.typeLiteral("Loopout"); + C.FullType_Ttf = new U.FullType(C.Type_Loopout_AQw, C.List_empty5, false); + C.List_gzi = H.setRuntimeTypeInfo(makeConstList([C.FullType_Ttf]), type$.JSArray_legacy_FullType); + C.FullType_H9I = new U.FullType(C.Type_BuiltList_iTR, C.List_gzi, false); + C.Type_Modification_WlM = H.typeLiteral("Modification"); + C.FullType_IvI = new U.FullType(C.Type_Modification_WlM, C.List_empty5, false); + C.Type_BasePairDisplayType_hjk = H.typeLiteral("BasePairDisplayType"); + C.FullType_K2v = new U.FullType(C.Type_BasePairDisplayType_hjk, C.List_empty5, false); + C.Type_DomainsMove_Js5 = H.typeLiteral("DomainsMove"); + C.FullType_KIf = new U.FullType(C.Type_DomainsMove_Js5, C.List_empty5, false); + C.Type_Address_WHr = H.typeLiteral("Address"); + C.FullType_KlG = new U.FullType(C.Type_Address_WHr, C.List_empty5, false); + C.Type_AddressDifference_p4P = H.typeLiteral("AddressDifference"); + C.FullType_KlG0 = new U.FullType(C.Type_AddressDifference_p4P, C.List_empty5, false); + C.Type_double_K1J = H.typeLiteral("double"); + C.FullType_MME = new U.FullType(C.Type_double_K1J, C.List_empty5, false); + C.FullType_MQk = new U.FullType(C.Type_BuiltSet_fcN, C.List_omH, false); + C.FullType_Mnt = new U.FullType(C.Type_BuiltSet_fcN, C.List_CVN, false); + C.Type_bool_lhE = H.typeLiteral("bool"); + C.FullType_MtR = new U.FullType(C.Type_bool_lhE, C.List_empty5, false); + C.Type_DialogType_Zuq = H.typeLiteral("DialogType"); + C.FullType_Npb = new U.FullType(C.Type_DialogType_Zuq, C.List_empty5, false); + C.Type_StrandCreation_A2Y = H.typeLiteral("StrandCreation"); + C.FullType_O92 = new U.FullType(C.Type_StrandCreation_A2Y, C.List_empty5, false); + C.Type_BuiltSetMultimap_9Fi = H.typeLiteral("BuiltSetMultimap<@,@>"); + C.FullType_Ofx = new U.FullType(C.Type_BuiltSetMultimap_9Fi, C.List_a1A, false); + C.Type_ExportDNAFormat_QK8 = H.typeLiteral("ExportDNAFormat"); + C.FullType_Otz = new U.FullType(C.Type_ExportDNAFormat_QK8, C.List_empty5, false); + C.Type_Modification3Prime_wsa = H.typeLiteral("Modification3Prime"); + C.FullType_Q1p0 = new U.FullType(C.Type_Modification3Prime_wsa, C.List_empty5, false); + C.Type_Modification5Prime_wsa = H.typeLiteral("Modification5Prime"); + C.FullType_Q1p = new U.FullType(C.Type_Modification5Prime_wsa, C.List_empty5, false); + C.Type_DNAEnd_s8p = H.typeLiteral("DNAEnd"); + C.FullType_QR4 = new U.FullType(C.Type_DNAEnd_s8p, C.List_empty5, false); + C.Type_Helix_cIf = H.typeLiteral("Helix"); + C.FullType_wEV = new U.FullType(C.Type_Helix_cIf, C.List_empty5, false); + C.List_Guj = H.setRuntimeTypeInfo(makeConstList([C.FullType_kjq, C.FullType_wEV]), type$.JSArray_legacy_FullType); + C.FullType_Qc0 = new U.FullType(C.Type_BuiltMap_qd4, C.List_Guj, false); + C.Type_SelectableModification3Prime_sBE = H.typeLiteral("SelectableModification3Prime"); + C.FullType_chs = new U.FullType(C.Type_SelectableModification3Prime_sBE, C.List_empty5, false); + C.List_RHh = H.setRuntimeTypeInfo(makeConstList([C.FullType_chs]), type$.JSArray_legacy_FullType); + C.FullType_SGU = new U.FullType(C.Type_BuiltList_iTR, C.List_RHh, false); + C.Type_SelectableModification5Prime_sBE = H.typeLiteral("SelectableModification5Prime"); + C.FullType_chs0 = new U.FullType(C.Type_SelectableModification5Prime_sBE, C.List_empty5, false); + C.List_RHh0 = H.setRuntimeTypeInfo(makeConstList([C.FullType_chs0]), type$.JSArray_legacy_FullType); + C.FullType_SGU0 = new U.FullType(C.Type_BuiltList_iTR, C.List_RHh0, false); + C.Type_DNAEndMove_brX = H.typeLiteral("DNAEndMove"); + C.FullType_omH = new U.FullType(C.Type_DNAEndMove_brX, C.List_empty5, false); + C.List_HYo = H.setRuntimeTypeInfo(makeConstList([C.FullType_omH]), type$.JSArray_legacy_FullType); + C.FullType_TgZ = new U.FullType(C.Type_BuiltList_iTR, C.List_HYo, false); + C.Type_DialogItem_qpY = H.typeLiteral("DialogItem"); + C.FullType_LtR = new U.FullType(C.Type_DialogItem_qpY, C.List_empty5, false); + C.List_oGx = H.setRuntimeTypeInfo(makeConstList([C.FullType_LtR]), type$.JSArray_legacy_FullType); + C.FullType_UGn = new U.FullType(C.Type_BuiltList_iTR, C.List_oGx, false); + C.List_IoD = H.setRuntimeTypeInfo(makeConstList([C.FullType_4QF0]), type$.JSArray_legacy_FullType); + C.FullType_UWS = new U.FullType(C.Type_BuiltList_iTR, C.List_IoD, false); + C.Type_LocalStorageDesignChoice_wMy = H.typeLiteral("LocalStorageDesignChoice"); + C.FullType_UeR = new U.FullType(C.Type_LocalStorageDesignChoice_wMy, C.List_empty5, false); + C.Type_DNAExtensionsMove_0My = H.typeLiteral("DNAExtensionsMove"); + C.FullType_Ugm = new U.FullType(C.Type_DNAExtensionsMove_0My, C.List_empty5, false); + C.Type_VendorFields_9Ml = H.typeLiteral("VendorFields"); + C.FullType_Unx = new U.FullType(C.Type_VendorFields_9Ml, C.List_empty5, false); + C.Type_StrandsMove_Icb = H.typeLiteral("StrandsMove"); + C.FullType_VSS = new U.FullType(C.Type_StrandsMove_Icb, C.List_empty5, false); + C.Type_Design_GVQ = H.typeLiteral("Design"); + C.FullType_WnR = new U.FullType(C.Type_Design_GVQ, C.List_empty5, false); + C.FullType_Y8O = new U.FullType(C.Type_BuiltSet_fcN, C.List_AyI0, false); + C.Type_UndoableAction_2n3 = H.typeLiteral("UndoableAction"); + C.FullType_fny = new U.FullType(C.Type_UndoableAction_2n3, C.List_empty5, false); + C.List_EEn = H.setRuntimeTypeInfo(makeConstList([C.FullType_fny]), type$.JSArray_legacy_FullType); + C.FullType_YGD = new U.FullType(C.Type_BuiltList_iTR, C.List_EEn, false); + C.Type_ContextMenu_u5x = H.typeLiteral("ContextMenu"); + C.FullType_Z6u = new U.FullType(C.Type_ContextMenu_u5x, C.List_empty5, false); + C.Type_Position3D_kqK = H.typeLiteral("Position3D"); + C.FullType_cgM = new U.FullType(C.Type_Position3D_kqK, C.List_empty5, false); + C.Type_ModificationInternal_7vk = H.typeLiteral("ModificationInternal"); + C.FullType_eR6 = new U.FullType(C.Type_ModificationInternal_7vk, C.List_empty5, false); + C.List_qg40 = H.setRuntimeTypeInfo(makeConstList([C.FullType_kjq, C.FullType_eR6]), type$.JSArray_legacy_FullType); + C.FullType_d1y = new U.FullType(C.Type_BuiltMap_qd4, C.List_qg40, false); + C.Type_Domain_ECn = H.typeLiteral("Domain"); + C.FullType_fnc = new U.FullType(C.Type_Domain_ECn, C.List_empty5, false); + C.List_8cK = H.setRuntimeTypeInfo(makeConstList([C.FullType_fnc]), type$.JSArray_legacy_FullType); + C.FullType_dli = new U.FullType(C.Type_BuiltList_iTR, C.List_8cK, false); + C.FullType_eLJ = new U.FullType(C.Type_BuiltList_iTR, C.List_yym, false); + C.Type_DNAAssignOptions_Ub0 = H.typeLiteral("DNAAssignOptions"); + C.FullType_eRS = new U.FullType(C.Type_DNAAssignOptions_Ub0, C.List_empty5, false); + C.Type_EditModeChoice_hod = H.typeLiteral("EditModeChoice"); + C.FullType_eX4 = new U.FullType(C.Type_EditModeChoice_hod, C.List_empty5, false); + C.Type_Extension_dwE = H.typeLiteral("Extension"); + C.FullType_gT2 = new U.FullType(C.Type_Extension_dwE, C.List_empty5, false); + C.List_kyy = H.setRuntimeTypeInfo(makeConstList([C.FullType_gT2]), type$.JSArray_legacy_FullType); + C.FullType_gg4 = new U.FullType(C.Type_BuiltList_iTR, C.List_kyy, false); + C.Type_DNAEndsMove_AKW = H.typeLiteral("DNAEndsMove"); + C.FullType_gg9 = new U.FullType(C.Type_DNAEndsMove_AKW, C.List_empty5, false); + C.Type_PotentialCrossover_RkP = H.typeLiteral("PotentialCrossover"); + C.FullType_gkc = new U.FullType(C.Type_PotentialCrossover_RkP, C.List_empty5, false); + C.List_izV = H.setRuntimeTypeInfo(makeConstList([C.FullType_kjq, C.FullType_4QF0]), type$.JSArray_legacy_FullType); + C.FullType_i3t = new U.FullType(C.Type_BuiltMap_qd4, C.List_izV, false); + C.List_gkJ = H.setRuntimeTypeInfo(makeConstList([C.FullType_EKW]), type$.JSArray_legacy_FullType); + C.FullType_i7r = new U.FullType(C.Type_BuiltList_iTR, C.List_gkJ, false); + C.Type_DNAExtensionMove_iVD = H.typeLiteral("DNAExtensionMove"); + C.FullType_GRA = new U.FullType(C.Type_DNAExtensionMove_iVD, C.List_empty5, false); + C.List_TLI = H.setRuntimeTypeInfo(makeConstList([C.FullType_GRA]), type$.JSArray_legacy_FullType); + C.FullType_j5B = new U.FullType(C.Type_BuiltList_iTR, C.List_TLI, false); + C.Type_LocalStorageDesignOption_xgQ = H.typeLiteral("LocalStorageDesignOption"); + C.FullType_kOK = new U.FullType(C.Type_LocalStorageDesignOption_xgQ, C.List_empty5, false); + C.Type_StrandOrder_Jrj = H.typeLiteral("StrandOrder"); + C.FullType_kaS = new U.FullType(C.Type_StrandOrder_Jrj, C.List_empty5, false); + C.List_aLp = H.setRuntimeTypeInfo(makeConstList([C.FullType_eX4]), type$.JSArray_legacy_FullType); + C.FullType_kiE = new U.FullType(C.Type_BuiltSet_fcN, C.List_aLp, false); + C.Type_Selectable_4i6 = H.typeLiteral("Selectable"); + C.FullType_kn0 = new U.FullType(C.Type_Selectable_4i6, C.List_empty5, false); + C.Type_HelixGroup_tsp = H.typeLiteral("HelixGroup"); + C.FullType_yfz = new U.FullType(C.Type_HelixGroup_tsp, C.List_empty5, false); + C.List_IQI = H.setRuntimeTypeInfo(makeConstList([C.FullType_h8g, C.FullType_yfz]), type$.JSArray_legacy_FullType); + C.FullType_m48 = new U.FullType(C.Type_BuiltMap_qd4, C.List_IQI, false); + C.Type_SelectableTrait_SXj = H.typeLiteral("SelectableTrait"); + C.FullType_61T = new U.FullType(C.Type_SelectableTrait_SXj, C.List_empty5, false); + C.List_Eit = H.setRuntimeTypeInfo(makeConstList([C.FullType_61T]), type$.JSArray_legacy_FullType); + C.FullType_mPa = new U.FullType(C.Type_BuiltList_iTR, C.List_Eit, false); + C.Type_CopyInfo_aTW = H.typeLiteral("CopyInfo"); + C.FullType_miO = new U.FullType(C.Type_CopyInfo_aTW, C.List_empty5, false); + C.FullType_null_List_empty_false = new U.FullType(null, C.List_empty5, false); + C.Type_HelixGroupMove_sE6 = H.typeLiteral("HelixGroupMove"); + C.FullType_oKF = new U.FullType(C.Type_HelixGroupMove_sE6, C.List_empty5, false); + C.List_kS5 = H.setRuntimeTypeInfo(makeConstList([C.FullType_kn0]), type$.JSArray_legacy_FullType); + C.FullType_ox4 = new U.FullType(C.Type_BuiltList_iTR, C.List_kS5, false); + C.List_CyS = H.setRuntimeTypeInfo(makeConstList([C.FullType_kjq, C.FullType_kjq]), type$.JSArray_legacy_FullType); + C.FullType_oyU = new U.FullType(C.Type_BuiltMap_qd4, C.List_CyS, false); + C.Type_GridPosition_IuH = H.typeLiteral("GridPosition"); + C.FullType_q96 = new U.FullType(C.Type_GridPosition_IuH, C.List_empty5, false); + C.Type_Geometry_CC0 = H.typeLiteral("Geometry"); + C.FullType_qNW = new U.FullType(C.Type_Geometry_CC0, C.List_empty5, false); + C.Type_Color_w6F = H.typeLiteral("Color"); + C.FullType_uHx = new U.FullType(C.Type_Color_w6F, C.List_empty5, false); + C.Type_SelectionBox_cdS = H.typeLiteral("SelectionBox"); + C.FullType_vfJ = new U.FullType(C.Type_SelectionBox_cdS, C.List_empty5, false); + C.List_MEl = H.setRuntimeTypeInfo(makeConstList([C.FullType_kjq, C.FullType_w0x]), type$.JSArray_legacy_FullType); + C.FullType_vpC = new U.FullType(C.Type_BuiltMap_qd4, C.List_MEl, false); + C.Type_AppUIStateStorables_AS6 = H.typeLiteral("AppUIStateStorables"); + C.FullType_wEo = new U.FullType(C.Type_AppUIStateStorables_AS6, C.List_empty5, false); + C.FullType_wIv = new U.FullType(C.Type_BuiltMap_qd4, C.List_a1A, false); + C.Type_SelectablesStore_xd9 = H.typeLiteral("SelectablesStore"); + C.FullType_y5f = new U.FullType(C.Type_SelectablesStore_xd9, C.List_empty5, false); + C.Type_Linker_ypq = H.typeLiteral("Linker"); + C.FullType_yCn = new U.FullType(C.Type_Linker_ypq, C.List_empty5, false); + C.Type_MouseoverData_qTC = H.typeLiteral("MouseoverData"); + C.FullType_FKj = new U.FullType(C.Type_MouseoverData_qTC, C.List_empty5, false); + C.List_qrv = H.setRuntimeTypeInfo(makeConstList([C.FullType_FKj]), type$.JSArray_legacy_FullType); + C.FullType_yLX = new U.FullType(C.Type_BuiltList_iTR, C.List_qrv, false); + C.Type_Grid_zSh = H.typeLiteral("Grid"); + C.FullType_yXb = new U.FullType(C.Type_Grid_zSh, C.List_empty5, false); + C.FullType_zrt = new U.FullType(C.Type_BuiltSet_fcN, C.List_kS5, false); + C.Grid_hex = new S.Grid("hex"); + C.Grid_honeycomb = new S.Grid("honeycomb"); + C.Grid_none = new S.Grid("none"); + C.Grid_square = new S.Grid("square"); + C.HexGridCoordinateSystem_0 = new E.HexGridCoordinateSystem("HexGridCoordinateSystem.odd_r"); + C.HexGridCoordinateSystem_2 = new E.HexGridCoordinateSystem("HexGridCoordinateSystem.odd_q"); + C.HexGridCoordinateSystem_3 = new E.HexGridCoordinateSystem("HexGridCoordinateSystem.even_q"); + C.JsonDecoder_null = new P.JsonDecoder(null); + C.JsonEncoder_null_null = new P.JsonEncoder(null, null); + C.Latin1Decoder_false_255 = new P.Latin1Decoder(false, 255); + C.Latin1Encoder_255 = new P.Latin1Encoder(255); + C.Level_INFO_800 = new Y.Level("INFO", 800); + C.Level_SEVERE_1000 = new Y.Level("SEVERE", 1000); + C.ListEquality_DefaultEquality = new U.ListEquality(C.C_DefaultEquality, type$.ListEquality_dynamic); + C.Type_DomainsMoveCommit_IVQ = H.typeLiteral("DomainsMoveCommit"); + C.Type__$DomainsMoveCommit_46y = H.typeLiteral("_$DomainsMoveCommit"); + C.List_0 = H.setRuntimeTypeInfo(makeConstList([C.Type_DomainsMoveCommit_IVQ, C.Type__$DomainsMoveCommit_46y]), type$.JSArray_legacy_Type); + C.Type_SelectAll_613 = H.typeLiteral("SelectAll"); + C.Type__$SelectAll_rJr = H.typeLiteral("_$SelectAll"); + C.List_00 = H.setRuntimeTypeInfo(makeConstList([C.Type_SelectAll_613, C.Type__$SelectAll_rJr]), type$.JSArray_legacy_Type); + C.Type_InlineInsertionsDeletions_Pog = H.typeLiteral("InlineInsertionsDeletions"); + C.Type__$InlineInsertionsDeletions_oCX = H.typeLiteral("_$InlineInsertionsDeletions"); + C.List_07S = H.setRuntimeTypeInfo(makeConstList([C.Type_InlineInsertionsDeletions_Pog, C.Type__$InlineInsertionsDeletions_oCX]), type$.JSArray_legacy_Type); + C.Type_MouseoverDataClear_YSW = H.typeLiteral("MouseoverDataClear"); + C.Type__$MouseoverDataClear_nuW = H.typeLiteral("_$MouseoverDataClear"); + C.List_07o = H.setRuntimeTypeInfo(makeConstList([C.Type_MouseoverDataClear_YSW, C.Type__$MouseoverDataClear_nuW]), type$.JSArray_legacy_Type); + C.Type_gDL = H.typeLiteral("ExtensionDisplayLengthAngleSet"); + C.Type_TPi = H.typeLiteral("_$ExtensionDisplayLengthAngleSet"); + C.List_0RG = H.setRuntimeTypeInfo(makeConstList([C.Type_gDL, C.Type_TPi]), type$.JSArray_legacy_Type); + C.Type_FGJ = H.typeLiteral("AssignDNAComplementFromBoundStrands"); + C.Type_PLc = H.typeLiteral("_$AssignDNAComplementFromBoundStrands"); + C.List_1YD = H.setRuntimeTypeInfo(makeConstList([C.Type_FGJ, C.Type_PLc]), type$.JSArray_legacy_Type); + C.Type_HelixGroupMoveCreate_8eb = H.typeLiteral("HelixGroupMoveCreate"); + C.Type__$HelixGroupMoveCreate_sJO = H.typeLiteral("_$HelixGroupMoveCreate"); + C.List_1nx = H.setRuntimeTypeInfo(makeConstList([C.Type_HelixGroupMoveCreate_8eb, C.Type__$HelixGroupMoveCreate_sJO]), type$.JSArray_legacy_Type); + C.Type_AutoPasteInitiate_cEX = H.typeLiteral("AutoPasteInitiate"); + C.Type__$AutoPasteInitiate_alm = H.typeLiteral("_$AutoPasteInitiate"); + C.List_1yH = H.setRuntimeTypeInfo(makeConstList([C.Type_AutoPasteInitiate_cEX, C.Type__$AutoPasteInitiate_alm]), type$.JSArray_legacy_Type); + C.Type_ModificationsInternalEdit_M80 = H.typeLiteral("ModificationsInternalEdit"); + C.Type__$ModificationsInternalEdit_axI = H.typeLiteral("_$ModificationsInternalEdit"); + C.List_2BF = H.setRuntimeTypeInfo(makeConstList([C.Type_ModificationsInternalEdit_M80, C.Type__$ModificationsInternalEdit_axI]), type$.JSArray_legacy_Type); + C.List_2Bc = H.setRuntimeTypeInfo(makeConstList([8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 8, 8, 8, 8, 8, 8, 8, 8]), type$.JSArray_legacy_int); + C.List_2Vk = H.setRuntimeTypeInfo(makeConstList([0, 0, 32776, 33792, 1, 10240, 0, 0]), type$.JSArray_legacy_int); + C.Type_U05 = H.typeLiteral("HelixMaxOffsetSetByDomainsAll"); + C.Type_RkP = H.typeLiteral("_$HelixMaxOffsetSetByDomainsAll"); + C.List_2Vu = H.setRuntimeTypeInfo(makeConstList([C.Type_U05, C.Type_RkP]), type$.JSArray_legacy_Type); + C.Type_Modifications5PrimeEdit_iag = H.typeLiteral("Modifications5PrimeEdit"); + C.Type__$Modifications5PrimeEdit_QGy = H.typeLiteral("_$Modifications5PrimeEdit"); + C.List_2Zi0 = H.setRuntimeTypeInfo(makeConstList([C.Type_Modifications5PrimeEdit_iag, C.Type__$Modifications5PrimeEdit_QGy]), type$.JSArray_legacy_Type); + C.List_2Zi = H.setRuntimeTypeInfo(makeConstList(["*::class", "*::dir", "*::draggable", "*::hidden", "*::id", "*::inert", "*::itemprop", "*::itemref", "*::itemscope", "*::lang", "*::spellcheck", "*::title", "*::translate", "A::accesskey", "A::coords", "A::hreflang", "A::name", "A::shape", "A::tabindex", "A::target", "A::type", "AREA::accesskey", "AREA::alt", "AREA::coords", "AREA::nohref", "AREA::shape", "AREA::tabindex", "AREA::target", "AUDIO::controls", "AUDIO::loop", "AUDIO::mediagroup", "AUDIO::muted", "AUDIO::preload", "BDO::dir", "BODY::alink", "BODY::bgcolor", "BODY::link", "BODY::text", "BODY::vlink", "BR::clear", "BUTTON::accesskey", "BUTTON::disabled", "BUTTON::name", "BUTTON::tabindex", "BUTTON::type", "BUTTON::value", "CANVAS::height", "CANVAS::width", "CAPTION::align", "COL::align", "COL::char", "COL::charoff", "COL::span", "COL::valign", "COL::width", "COLGROUP::align", "COLGROUP::char", "COLGROUP::charoff", "COLGROUP::span", "COLGROUP::valign", "COLGROUP::width", "COMMAND::checked", "COMMAND::command", "COMMAND::disabled", "COMMAND::label", "COMMAND::radiogroup", "COMMAND::type", "DATA::value", "DEL::datetime", "DETAILS::open", "DIR::compact", "DIV::align", "DL::compact", "FIELDSET::disabled", "FONT::color", "FONT::face", "FONT::size", "FORM::accept", "FORM::autocomplete", "FORM::enctype", "FORM::method", "FORM::name", "FORM::novalidate", "FORM::target", "FRAME::name", "H1::align", "H2::align", "H3::align", "H4::align", "H5::align", "H6::align", "HR::align", "HR::noshade", "HR::size", "HR::width", "HTML::version", "IFRAME::align", "IFRAME::frameborder", "IFRAME::height", "IFRAME::marginheight", "IFRAME::marginwidth", "IFRAME::width", "IMG::align", "IMG::alt", "IMG::border", "IMG::height", "IMG::hspace", "IMG::ismap", "IMG::name", "IMG::usemap", "IMG::vspace", "IMG::width", "INPUT::accept", "INPUT::accesskey", "INPUT::align", "INPUT::alt", "INPUT::autocomplete", "INPUT::autofocus", "INPUT::checked", "INPUT::disabled", "INPUT::inputmode", "INPUT::ismap", "INPUT::list", "INPUT::max", "INPUT::maxlength", "INPUT::min", "INPUT::multiple", "INPUT::name", "INPUT::placeholder", "INPUT::readonly", "INPUT::required", "INPUT::size", "INPUT::step", "INPUT::tabindex", "INPUT::type", "INPUT::usemap", "INPUT::value", "INS::datetime", "KEYGEN::disabled", "KEYGEN::keytype", "KEYGEN::name", "LABEL::accesskey", "LABEL::for", "LEGEND::accesskey", "LEGEND::align", "LI::type", "LI::value", "LINK::sizes", "MAP::name", "MENU::compact", "MENU::label", "MENU::type", "METER::high", "METER::low", "METER::max", "METER::min", "METER::value", "OBJECT::typemustmatch", "OL::compact", "OL::reversed", "OL::start", "OL::type", "OPTGROUP::disabled", "OPTGROUP::label", "OPTION::disabled", "OPTION::label", "OPTION::selected", "OPTION::value", "OUTPUT::for", "OUTPUT::name", "P::align", "PRE::width", "PROGRESS::max", "PROGRESS::min", "PROGRESS::value", "SELECT::autocomplete", "SELECT::disabled", "SELECT::multiple", "SELECT::name", "SELECT::required", "SELECT::size", "SELECT::tabindex", "SOURCE::type", "TABLE::align", "TABLE::bgcolor", "TABLE::border", "TABLE::cellpadding", "TABLE::cellspacing", "TABLE::frame", "TABLE::rules", "TABLE::summary", "TABLE::width", "TBODY::align", "TBODY::char", "TBODY::charoff", "TBODY::valign", "TD::abbr", "TD::align", "TD::axis", "TD::bgcolor", "TD::char", "TD::charoff", "TD::colspan", "TD::headers", "TD::height", "TD::nowrap", "TD::rowspan", "TD::scope", "TD::valign", "TD::width", "TEXTAREA::accesskey", "TEXTAREA::autocomplete", "TEXTAREA::cols", "TEXTAREA::disabled", "TEXTAREA::inputmode", "TEXTAREA::name", "TEXTAREA::placeholder", "TEXTAREA::readonly", "TEXTAREA::required", "TEXTAREA::rows", "TEXTAREA::tabindex", "TEXTAREA::wrap", "TFOOT::align", "TFOOT::char", "TFOOT::charoff", "TFOOT::valign", "TH::abbr", "TH::align", "TH::axis", "TH::bgcolor", "TH::char", "TH::charoff", "TH::colspan", "TH::headers", "TH::height", "TH::nowrap", "TH::rowspan", "TH::scope", "TH::valign", "TH::width", "THEAD::align", "THEAD::char", "THEAD::charoff", "THEAD::valign", "TR::align", "TR::bgcolor", "TR::char", "TR::charoff", "TR::valign", "TRACK::default", "TRACK::kind", "TRACK::label", "TRACK::srclang", "UL::compact", "UL::type", "VIDEO::controls", "VIDEO::height", "VIDEO::loop", "VIDEO::mediagroup", "VIDEO::muted", "VIDEO::preload", "VIDEO::width"]), type$.JSArray_legacy_String); + C.Type__$Loopout_5Rp = H.typeLiteral("_$Loopout"); + C.List_2ad = H.setRuntimeTypeInfo(makeConstList([C.Type_Loopout_AQw, C.Type__$Loopout_5Rp]), type$.JSArray_legacy_Type); + C.Type_ContextMenuHide_MQy = H.typeLiteral("ContextMenuHide"); + C.Type__$ContextMenuHide_4CA = H.typeLiteral("_$ContextMenuHide"); + C.List_2jN = H.setRuntimeTypeInfo(makeConstList([C.Type_ContextMenuHide_MQy, C.Type__$ContextMenuHide_4CA]), type$.JSArray_legacy_Type); + C.Type_oqh = H.typeLiteral("RetainStrandColorOnSelectionSet"); + C.Type_C9B = H.typeLiteral("_$RetainStrandColorOnSelectionSet"); + C.List_3Qm = H.setRuntimeTypeInfo(makeConstList([C.Type_oqh, C.Type_C9B]), type$.JSArray_legacy_Type); + C.Type_I6i = H.typeLiteral("DNAExtensionsMoveSetSelectedExtensionEnds"); + C.Type_OVZ = H.typeLiteral("_$DNAExtensionsMoveSetSelectedExtensionEnds"); + C.List_43h = H.setRuntimeTypeInfo(makeConstList([C.Type_I6i, C.Type_OVZ]), type$.JSArray_legacy_Type); + C.Type_zPV = H.typeLiteral("JoinStrandsByMultipleCrossovers"); + C.Type_qEO = H.typeLiteral("_$JoinStrandsByMultipleCrossovers"); + C.List_43h0 = H.setRuntimeTypeInfo(makeConstList([C.Type_zPV, C.Type_qEO]), type$.JSArray_legacy_Type); + C.Type_SelectableDeletion_eNF = H.typeLiteral("SelectableDeletion"); + C.Type__$SelectableDeletion_QHC = H.typeLiteral("_$SelectableDeletion"); + C.List_43h1 = H.setRuntimeTypeInfo(makeConstList([C.Type_SelectableDeletion_eNF, C.Type__$SelectableDeletion_QHC]), type$.JSArray_legacy_Type); + C.Type_DialogRadio_oSr = H.typeLiteral("DialogRadio"); + C.Type__$DialogRadio_wy4 = H.typeLiteral("_$DialogRadio"); + C.List_4AN = H.setRuntimeTypeInfo(makeConstList([C.Type_DialogRadio_oSr, C.Type__$DialogRadio_wy4]), type$.JSArray_legacy_Type); + C.Type_HelixRollSet_Sfm = H.typeLiteral("HelixRollSet"); + C.Type__$HelixRollSet_McD = H.typeLiteral("_$HelixRollSet"); + C.List_4QF = H.setRuntimeTypeInfo(makeConstList([C.Type_HelixRollSet_Sfm, C.Type__$HelixRollSet_McD]), type$.JSArray_legacy_Type); + C.Type_anB = H.typeLiteral("ShowBasePairLinesWithMismatchesSet"); + C.Type_4uu = H.typeLiteral("_$ShowBasePairLinesWithMismatchesSet"); + C.List_4QF0 = H.setRuntimeTypeInfo(makeConstList([C.Type_anB, C.Type_4uu]), type$.JSArray_legacy_Type); + C.List_4m4 = H.setRuntimeTypeInfo(makeConstList(["", "", "Whichever of 5' or 3' appears first is used", "The \"top-left-most\" (smallest helix/smallest offset) domain is used for sorting,\nregardless of whether it is 5', 3', or internal."]), type$.JSArray_legacy_String); + C.Type_StrandCreateAdjustOffset_MWH = H.typeLiteral("StrandCreateAdjustOffset"); + C.Type__$StrandCreateAdjustOffset_EsU = H.typeLiteral("_$StrandCreateAdjustOffset"); + C.List_5Bm = H.setRuntimeTypeInfo(makeConstList([C.Type_StrandCreateAdjustOffset_MWH, C.Type__$StrandCreateAdjustOffset_EsU]), type$.JSArray_legacy_Type); + C.Type_ShowMouseoverDataSet_IYl = H.typeLiteral("ShowMouseoverDataSet"); + C.Type__$ShowMouseoverDataSet_5YJ = H.typeLiteral("_$ShowMouseoverDataSet"); + C.List_5HG = H.setRuntimeTypeInfo(makeConstList([C.Type_ShowMouseoverDataSet_IYl, C.Type__$ShowMouseoverDataSet_5YJ]), type$.JSArray_legacy_Type); + C.Type_Autobreak_kOG = H.typeLiteral("Autobreak"); + C.Type__$Autobreak_4UN = H.typeLiteral("_$Autobreak"); + C.List_5Q6 = H.setRuntimeTypeInfo(makeConstList([C.Type_Autobreak_kOG, C.Type__$Autobreak_4UN]), type$.JSArray_legacy_Type); + C.Type_Nick_a4f = H.typeLiteral("Nick"); + C.Type__$Nick_KRx = H.typeLiteral("_$Nick"); + C.List_5sE = H.setRuntimeTypeInfo(makeConstList([C.Type_Nick_a4f, C.Type__$Nick_KRx]), type$.JSArray_legacy_Type); + C.Type_InsertionsLengthChange_iD3 = H.typeLiteral("InsertionsLengthChange"); + C.Type__$InsertionsLengthChange_rfj = H.typeLiteral("_$InsertionsLengthChange"); + C.List_5uk = H.setRuntimeTypeInfo(makeConstList([C.Type_InsertionsLengthChange_iD3, C.Type__$InsertionsLengthChange_rfj]), type$.JSArray_legacy_Type); + C.Type_StrandLabelSet_9Ea = H.typeLiteral("StrandLabelSet"); + C.Type__$StrandLabelSet_ww8 = H.typeLiteral("_$StrandLabelSet"); + C.List_69P = H.setRuntimeTypeInfo(makeConstList([C.Type_StrandLabelSet_9Ea, C.Type__$StrandLabelSet_ww8]), type$.JSArray_legacy_Type); + C.List_69n = H.setRuntimeTypeInfo(makeConstList(['Format for IDT\'s "bulk input" webpage when specifying strands\nin individual test tubes.\n', "Excel file formatted for IDT's plate upload webpage for 96-well plates.\n", "Excel file formatted for IDT's plate upload webpage for 384-well plates.\n", "Simple CSV (comma-separated value) format. Not a format used by any biotech company."]), type$.JSArray_legacy_String); + C.Type_DNAEndsMoveSetSelectedEnds_dmU = H.typeLiteral("DNAEndsMoveSetSelectedEnds"); + C.Type__$DNAEndsMoveSetSelectedEnds_RsV = H.typeLiteral("_$DNAEndsMoveSetSelectedEnds"); + C.List_6Hc = H.setRuntimeTypeInfo(makeConstList([C.Type_DNAEndsMoveSetSelectedEnds_dmU, C.Type__$DNAEndsMoveSetSelectedEnds_RsV]), type$.JSArray_legacy_Type); + C.Type__$DNAAssignOptions_oqK = H.typeLiteral("_$DNAAssignOptions"); + C.List_6hp = H.setRuntimeTypeInfo(makeConstList([C.Type_DNAAssignOptions_Ub0, C.Type__$DNAAssignOptions_oqK]), type$.JSArray_legacy_Type); + C.Type__$DNAEnd_UWS = H.typeLiteral("_$DNAEnd"); + C.List_6iC = H.setRuntimeTypeInfo(makeConstList([C.Type_DNAEnd_s8p, C.Type__$DNAEnd_UWS]), type$.JSArray_legacy_Type); + C.Type_ShowHelixCirclesMainViewSet_MUU = H.typeLiteral("ShowHelixCirclesMainViewSet"); + C.Type_mtf = H.typeLiteral("_$ShowHelixCirclesMainViewSet"); + C.List_6iW = H.setRuntimeTypeInfo(makeConstList([C.Type_ShowHelixCirclesMainViewSet_MUU, C.Type_mtf]), type$.JSArray_legacy_Type); + C.Type__$DNAEndsMove_MYz = H.typeLiteral("_$DNAEndsMove"); + C.List_6pZ = H.setRuntimeTypeInfo(makeConstList([C.Type_DNAEndsMove_AKW, C.Type__$DNAEndsMove_MYz]), type$.JSArray_legacy_Type); + C.Type_MsJ = H.typeLiteral("SelectionBoxIntersectionRuleSet"); + C.Type_wca = H.typeLiteral("_$SelectionBoxIntersectionRuleSet"); + C.List_7Ah = H.setRuntimeTypeInfo(makeConstList([C.Type_MsJ, C.Type_wca]), type$.JSArray_legacy_Type); + C.Type_Ligate_A5k = H.typeLiteral("Ligate"); + C.Type__$Ligate_wDR = H.typeLiteral("_$Ligate"); + C.List_7BT = H.setRuntimeTypeInfo(makeConstList([C.Type_Ligate_A5k, C.Type__$Ligate_wDR]), type$.JSArray_legacy_Type); + C.Type_G9g = H.typeLiteral("ShowUnpairedInsertionDeletionsSet"); + C.Type_gsm = H.typeLiteral("_$ShowUnpairedInsertionDeletionsSet"); + C.List_7Re = H.setRuntimeTypeInfo(makeConstList([C.Type_G9g, C.Type_gsm]), type$.JSArray_legacy_Type); + C.Type_ShowBasePairLinesSet_SnW = H.typeLiteral("ShowBasePairLinesSet"); + C.Type__$ShowBasePairLinesSet_uzu = H.typeLiteral("_$ShowBasePairLinesSet"); + C.List_7YB = H.setRuntimeTypeInfo(makeConstList([C.Type_ShowBasePairLinesSet_SnW, C.Type__$ShowBasePairLinesSet_uzu]), type$.JSArray_legacy_Type); + C.Type_InsertionLengthChange_eIg = H.typeLiteral("InsertionLengthChange"); + C.Type__$InsertionLengthChange_Ifo = H.typeLiteral("_$InsertionLengthChange"); + C.List_86y = H.setRuntimeTypeInfo(makeConstList([C.Type_InsertionLengthChange_eIg, C.Type__$InsertionLengthChange_Ifo]), type$.JSArray_legacy_Type); + C.List_8RB = H.setRuntimeTypeInfo(makeConstList(["fill", "stroke", "stroke-width", "stroke-linecap", "stroke-opacity", "visibility", "transform-box", "transform-origin"]), type$.JSArray_legacy_String); + C.Storable_design = new S.Storable("design"); + C.Storable_app_ui_state_storables = new S.Storable("app_ui_state_storables"); + C.List_948 = H.setRuntimeTypeInfo(makeConstList([C.Storable_design, C.Storable_app_ui_state_storables]), H.findType("JSArray")); + C.Type_HelixPositionSet_14u = H.typeLiteral("HelixPositionSet"); + C.Type__$HelixPositionSet_MSI = H.typeLiteral("_$HelixPositionSet"); + C.List_9Aw = H.setRuntimeTypeInfo(makeConstList([C.Type_HelixPositionSet_14u, C.Type__$HelixPositionSet_MSI]), type$.JSArray_legacy_Type); + C.Type_SelectAllSelectable_mnK = H.typeLiteral("SelectAllSelectable"); + C.Type__$SelectAllSelectable_uva = H.typeLiteral("_$SelectAllSelectable"); + C.List_9ED = H.setRuntimeTypeInfo(makeConstList([C.Type_SelectAllSelectable_mnK, C.Type__$SelectAllSelectable_uva]), type$.JSArray_legacy_Type); + C.Type__$Domain_QAb = H.typeLiteral("_$Domain"); + C.List_9YS = H.setRuntimeTypeInfo(makeConstList([C.Type_Domain_ECn, C.Type__$Domain_QAb]), type$.JSArray_legacy_Type); + C.Type_DNAEndsMoveCommit_Z6B = H.typeLiteral("DNAEndsMoveCommit"); + C.Type__$DNAEndsMoveCommit_2rX = H.typeLiteral("_$DNAEndsMoveCommit"); + C.List_9pj = H.setRuntimeTypeInfo(makeConstList([C.Type_DNAEndsMoveCommit_Z6B, C.Type__$DNAEndsMoveCommit_2rX]), type$.JSArray_legacy_Type); + C.Type__$DNAEndMove_5Qm = H.typeLiteral("_$DNAEndMove"); + C.List_A2Y = H.setRuntimeTypeInfo(makeConstList([C.Type_DNAEndMove_brX, C.Type__$DNAEndMove_5Qm]), type$.JSArray_legacy_Type); + C.Type_SelectionRopeAddPoint_4eX = H.typeLiteral("SelectionRopeAddPoint"); + C.Type__$SelectionRopeAddPoint_ajn = H.typeLiteral("_$SelectionRopeAddPoint"); + C.List_A2g = H.setRuntimeTypeInfo(makeConstList([C.Type_SelectionRopeAddPoint_4eX, C.Type__$SelectionRopeAddPoint_ajn]), type$.JSArray_legacy_Type); + C.Type_SelectionsAdjustMainView_Qw3 = H.typeLiteral("SelectionsAdjustMainView"); + C.Type__$SelectionsAdjustMainView_vH3 = H.typeLiteral("_$SelectionsAdjustMainView"); + C.List_A9i = H.setRuntimeTypeInfo(makeConstList([C.Type_SelectionsAdjustMainView_Qw3, C.Type__$SelectionsAdjustMainView_vH3]), type$.JSArray_legacy_Type); + C.Type_MajorTickOffsetFontSizeSet_yhk = H.typeLiteral("MajorTickOffsetFontSizeSet"); + C.Type__$MajorTickOffsetFontSizeSet_OkG = H.typeLiteral("_$MajorTickOffsetFontSizeSet"); + C.List_AW6 = H.setRuntimeTypeInfo(makeConstList([C.Type_MajorTickOffsetFontSizeSet_yhk, C.Type__$MajorTickOffsetFontSizeSet_OkG]), type$.JSArray_legacy_Type); + C.Type_yL6 = H.typeLiteral("ScalePurificationVendorFieldsAssign"); + C.Type_1mI = H.typeLiteral("_$ScalePurificationVendorFieldsAssign"); + C.List_AeS = H.setRuntimeTypeInfo(makeConstList([C.Type_yL6, C.Type_1mI]), type$.JSArray_legacy_Type); + C.Type_44Q = H.typeLiteral("DisablePngCachingDnaSequencesSet"); + C.Type_wST = H.typeLiteral("_$DisablePngCachingDnaSequencesSet"); + C.List_AiQ = H.setRuntimeTypeInfo(makeConstList([C.Type_44Q, C.Type_wST]), type$.JSArray_legacy_Type); + C.Type_ShowDomainNamesSet_ke4 = H.typeLiteral("ShowDomainNamesSet"); + C.Type__$ShowDomainNamesSet_0 = H.typeLiteral("_$ShowDomainNamesSet"); + C.List_Au4 = H.setRuntimeTypeInfo(makeConstList([C.Type_ShowDomainNamesSet_ke4, C.Type__$ShowDomainNamesSet_0]), type$.JSArray_legacy_Type); + C.Type_BatchAction_aJC = H.typeLiteral("BatchAction"); + C.Type__$BatchAction_jvJ = H.typeLiteral("_$BatchAction"); + C.List_AuK = H.setRuntimeTypeInfo(makeConstList([C.Type_BatchAction_aJC, C.Type__$BatchAction_jvJ]), type$.JSArray_legacy_Type); + C.Type_ShowAxisArrowsSet_g2D = H.typeLiteral("ShowAxisArrowsSet"); + C.Type__$ShowAxisArrowsSet_I4V = H.typeLiteral("_$ShowAxisArrowsSet"); + C.List_AuK0 = H.setRuntimeTypeInfo(makeConstList([C.Type_ShowAxisArrowsSet_g2D, C.Type__$ShowAxisArrowsSet_I4V]), type$.JSArray_legacy_Type); + C.Type_HelixRollSetAtOther_699 = H.typeLiteral("HelixRollSetAtOther"); + C.Type__$HelixRollSetAtOther_7FR = H.typeLiteral("_$HelixRollSetAtOther"); + C.List_AyI1 = H.setRuntimeTypeInfo(makeConstList([C.Type_HelixRollSetAtOther_699, C.Type__$HelixRollSetAtOther_7FR]), type$.JSArray_legacy_Type); + C.List_AyI = H.setRuntimeTypeInfo(makeConstList([0, 1, 2, 3, 4, 4, 5, 5, 6, 6, 6, 6, 7, 7, 7, 7, 8, 8, 8, 8, 8, 8, 8, 8, 9, 9, 9, 9, 9, 9, 9, 9, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 0, 0, 16, 17, 18, 18, 19, 19, 20, 20, 20, 20, 21, 21, 21, 21, 22, 22, 22, 22, 22, 22, 22, 22, 23, 23, 23, 23, 23, 23, 23, 23, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29]), type$.JSArray_legacy_int); + C.List_B8J = H.setRuntimeTypeInfo(makeConstList([0, 1996959894, 3993919788, 2567524794, 124634137, 1886057615, 3915621685, 2657392035, 249268274, 2044508324, 3772115230, 2547177864, 162941995, 2125561021, 3887607047, 2428444049, 498536548, 1789927666, 4089016648, 2227061214, 450548861, 1843258603, 4107580753, 2211677639, 325883990, 1684777152, 4251122042, 2321926636, 335633487, 1661365465, 4195302755, 2366115317, 997073096, 1281953886, 3579855332, 2724688242, 1006888145, 1258607687, 3524101629, 2768942443, 901097722, 1119000684, 3686517206, 2898065728, 853044451, 1172266101, 3705015759, 2882616665, 651767980, 1373503546, 3369554304, 3218104598, 565507253, 1454621731, 3485111705, 3099436303, 671266974, 1594198024, 3322730930, 2970347812, 795835527, 1483230225, 3244367275, 3060149565, 1994146192, 31158534, 2563907772, 4023717930, 1907459465, 112637215, 2680153253, 3904427059, 2013776290, 251722036, 2517215374, 3775830040, 2137656763, 141376813, 2439277719, 3865271297, 1802195444, 476864866, 2238001368, 4066508878, 1812370925, 453092731, 2181625025, 4111451223, 1706088902, 314042704, 2344532202, 4240017532, 1658658271, 366619977, 2362670323, 4224994405, 1303535960, 984961486, 2747007092, 3569037538, 1256170817, 1037604311, 2765210733, 3554079995, 1131014506, 879679996, 2909243462, 3663771856, 1141124467, 855842277, 2852801631, 3708648649, 1342533948, 654459306, 3188396048, 3373015174, 1466479909, 544179635, 3110523913, 3462522015, 1591671054, 702138776, 2966460450, 3352799412, 1504918807, 783551873, 3082640443, 3233442989, 3988292384, 2596254646, 62317068, 1957810842, 3939845945, 2647816111, 81470997, 1943803523, 3814918930, 2489596804, 225274430, 2053790376, 3826175755, 2466906013, 167816743, 2097651377, 4027552580, 2265490386, 503444072, 1762050814, 4150417245, 2154129355, 426522225, 1852507879, 4275313526, 2312317920, 282753626, 1742555852, 4189708143, 2394877945, 397917763, 1622183637, 3604390888, 2714866558, 953729732, 1340076626, 3518719985, 2797360999, 1068828381, 1219638859, 3624741850, 2936675148, 906185462, 1090812512, 3747672003, 2825379669, 829329135, 1181335161, 3412177804, 3160834842, 628085408, 1382605366, 3423369109, 3138078467, 570562233, 1426400815, 3317316542, 2998733608, 733239954, 1555261956, 3268935591, 3050360625, 752459403, 1541320221, 2607071920, 3965973030, 1969922972, 40735498, 2617837225, 3943577151, 1913087877, 83908371, 2512341634, 3803740692, 2075208622, 213261112, 2463272603, 3855990285, 2094854071, 198958881, 2262029012, 4057260610, 1759359992, 534414190, 2176718541, 4139329115, 1873836001, 414664567, 2282248934, 4279200368, 1711684554, 285281116, 2405801727, 4167216745, 1634467795, 376229701, 2685067896, 3608007406, 1308918612, 956543938, 2808555105, 3495958263, 1231636301, 1047427035, 2932959818, 3654703836, 1088359270, 936918000, 2847714899, 3736837829, 1202900863, 817233897, 3183342108, 3401237130, 1404277552, 615818150, 3134207493, 3453421203, 1423857449, 601450431, 3009837614, 3294710456, 1567103746, 711928724, 3020668471, 3272380065, 1510334235, 755167117]), type$.JSArray_legacy_int); + C.Type_SelectAllWithSameAsSelected_EOY = H.typeLiteral("SelectAllWithSameAsSelected"); + C.Type_iZe = H.typeLiteral("_$SelectAllWithSameAsSelected"); + C.List_C43 = H.setRuntimeTypeInfo(makeConstList([C.Type_SelectAllWithSameAsSelected_EOY, C.Type_iZe]), type$.JSArray_legacy_Type); + C.Type__$Strand_UaF = H.typeLiteral("_$Strand"); + C.List_CC0 = H.setRuntimeTypeInfo(makeConstList([C.Type_Strand_CKH, C.Type__$Strand_UaF]), type$.JSArray_legacy_Type); + C.Type__$Insertion_8bg = H.typeLiteral("_$Insertion"); + C.List_CJJ = H.setRuntimeTypeInfo(makeConstList([C.Type_Insertion_Gxl, C.Type__$Insertion_8bg]), type$.JSArray_legacy_Type); + C.List_CVk = H.setRuntimeTypeInfo(makeConstList([0, 0, 65490, 45055, 65535, 34815, 65534, 18431]), type$.JSArray_legacy_int); + C.Type_DNAEndsMoveAdjustOffset_Hi7 = H.typeLiteral("DNAEndsMoveAdjustOffset"); + C.Type__$DNAEndsMoveAdjustOffset_MUB = H.typeLiteral("_$DNAEndsMoveAdjustOffset"); + C.List_CZB = H.setRuntimeTypeInfo(makeConstList([C.Type_DNAEndsMoveAdjustOffset_Hi7, C.Type__$DNAEndsMoveAdjustOffset_MUB]), type$.JSArray_legacy_Type); + C.Type_HelixIdxsChange_fld = H.typeLiteral("HelixIdxsChange"); + C.Type__$HelixIdxsChange_CHy = H.typeLiteral("_$HelixIdxsChange"); + C.List_CrS = H.setRuntimeTypeInfo(makeConstList([C.Type_HelixIdxsChange_fld, C.Type__$HelixIdxsChange_CHy]), type$.JSArray_legacy_Type); + C.Type_Line_UGn = H.typeLiteral("Line"); + C.Type__$Line_xYO = H.typeLiteral("_$Line"); + C.List_Cu4 = H.setRuntimeTypeInfo(makeConstList([C.Type_Line_UGn, C.Type__$Line_xYO]), type$.JSArray_legacy_Type); + C.Type_DeleteAllSelected_vEy = H.typeLiteral("DeleteAllSelected"); + C.Type__$DeleteAllSelected_ah5 = H.typeLiteral("_$DeleteAllSelected"); + C.List_D7h = H.setRuntimeTypeInfo(makeConstList([C.Type_DeleteAllSelected_vEy, C.Type__$DeleteAllSelected_ah5]), type$.JSArray_legacy_Type); + C.Type_InvertYSet_23B = H.typeLiteral("InvertYSet"); + C.Type__$InvertYSet_4QF = H.typeLiteral("_$InvertYSet"); + C.List_Db0 = H.setRuntimeTypeInfo(makeConstList([C.Type_InvertYSet_23B, C.Type__$InvertYSet_4QF]), type$.JSArray_legacy_Type); + C.Type_MouseGridPositionSideClear_wu8 = H.typeLiteral("MouseGridPositionSideClear"); + C.Type__$MouseGridPositionSideClear_g3y = H.typeLiteral("_$MouseGridPositionSideClear"); + C.List_Dn0 = H.setRuntimeTypeInfo(makeConstList([C.Type_MouseGridPositionSideClear_wu8, C.Type__$MouseGridPositionSideClear_g3y]), type$.JSArray_legacy_Type); + C.List_E4S = H.setRuntimeTypeInfo(makeConstList([0, 79764919, 159529838, 222504665, 319059676, 398814059, 445009330, 507990021, 638119352, 583659535, 797628118, 726387553, 890018660, 835552979, 1015980042, 944750013, 1276238704, 1221641927, 1167319070, 1095957929, 1595256236, 1540665371, 1452775106, 1381403509, 1780037320, 1859660671, 1671105958, 1733955601, 2031960084, 2111593891, 1889500026, 1952343757, 2552477408, 2632100695, 2443283854, 2506133561, 2334638140, 2414271883, 2191915858, 2254759653, 3190512472, 3135915759, 3081330742, 3009969537, 2905550212, 2850959411, 2762807018, 2691435357, 3560074640, 3505614887, 3719321342, 3648080713, 3342211916, 3287746299, 3467911202, 3396681109, 4063920168, 4143685023, 4223187782, 4286162673, 3779000052, 3858754371, 3904687514, 3967668269, 881225847, 809987520, 1023691545, 969234094, 662832811, 591600412, 771767749, 717299826, 311336399, 374308984, 453813921, 533576470, 25881363, 88864420, 134795389, 214552010, 2023205639, 2086057648, 1897238633, 1976864222, 1804852699, 1867694188, 1645340341, 1724971778, 1587496639, 1516133128, 1461550545, 1406951526, 1302016099, 1230646740, 1142491917, 1087903418, 2896545431, 2825181984, 2770861561, 2716262478, 3215044683, 3143675388, 3055782693, 3001194130, 2326604591, 2389456536, 2200899649, 2280525302, 2578013683, 2640855108, 2418763421, 2498394922, 3769900519, 3832873040, 3912640137, 3992402750, 4088425275, 4151408268, 4197601365, 4277358050, 3334271071, 3263032808, 3476998961, 3422541446, 3585640067, 3514407732, 3694837229, 3640369242, 1762451694, 1842216281, 1619975040, 1682949687, 2047383090, 2127137669, 1938468188, 2001449195, 1325665622, 1271206113, 1183200824, 1111960463, 1543535498, 1489069629, 1434599652, 1363369299, 622672798, 568075817, 748617968, 677256519, 907627842, 853037301, 1067152940, 995781531, 51762726, 131386257, 177728840, 240578815, 269590778, 349224269, 429104020, 491947555, 4046411278, 4126034873, 4172115296, 4234965207, 3794477266, 3874110821, 3953728444, 4016571915, 3609705398, 3555108353, 3735388376, 3664026991, 3290680682, 3236090077, 3449943556, 3378572211, 3174993278, 3120533705, 3032266256, 2961025959, 2923101090, 2868635157, 2813903052, 2742672763, 2604032198, 2683796849, 2461293480, 2524268063, 2284983834, 2364738477, 2175806836, 2238787779, 1569362073, 1498123566, 1409854455, 1355396672, 1317987909, 1246755826, 1192025387, 1137557660, 2072149281, 2135122070, 1912620623, 1992383480, 1753615357, 1816598090, 1627664531, 1707420964, 295390185, 358241886, 404320391, 483945776, 43990325, 106832002, 186451547, 266083308, 932423249, 861060070, 1041341759, 986742920, 613929101, 542559546, 756411363, 701822548, 3316196985, 3244833742, 3425377559, 3370778784, 3601682597, 3530312978, 3744426955, 3689838204, 3819031489, 3881883254, 3928223919, 4007849240, 4037393693, 4100235434, 4180117107, 4259748804, 2310601993, 2373574846, 2151335527, 2231098320, 2596047829, 2659030626, 2470359227, 2550115596, 2947551409, 2876312838, 2788305887, 2733848168, 3165939309, 3094707162, 3040238851, 2985771188]), type$.JSArray_legacy_int); + C.Type_Modifications3PrimeEdit_iag = H.typeLiteral("Modifications3PrimeEdit"); + C.Type__$Modifications3PrimeEdit_wrR = H.typeLiteral("_$Modifications3PrimeEdit"); + C.List_ECG = H.setRuntimeTypeInfo(makeConstList([C.Type_Modifications3PrimeEdit_iag, C.Type__$Modifications3PrimeEdit_wrR]), type$.JSArray_legacy_Type); + C.Type__$StrandsMove_knt = H.typeLiteral("_$StrandsMove"); + C.List_ECG0 = H.setRuntimeTypeInfo(makeConstList([C.Type_StrandsMove_Icb, C.Type__$StrandsMove_knt]), type$.JSArray_legacy_Type); + C.Type_HelixOffsetChange_QuS = H.typeLiteral("HelixOffsetChange"); + C.Type__$HelixOffsetChange_76O = H.typeLiteral("_$HelixOffsetChange"); + C.List_EIw = H.setRuntimeTypeInfo(makeConstList([C.Type_HelixOffsetChange_QuS, C.Type__$HelixOffsetChange_76O]), type$.JSArray_legacy_Type); + C.Type_ExportDNA_kfn = H.typeLiteral("ExportDNA"); + C.Type__$ExportDNA_wsa = H.typeLiteral("_$ExportDNA"); + C.List_EVy = H.setRuntimeTypeInfo(makeConstList([C.Type_ExportDNA_kfn, C.Type__$ExportDNA_wsa]), type$.JSArray_legacy_Type); + C.Type_HelixRemove_Iq6 = H.typeLiteral("HelixRemove"); + C.Type__$HelixRemove_Yqr = H.typeLiteral("_$HelixRemove"); + C.List_Esr = H.setRuntimeTypeInfo(makeConstList([C.Type_HelixRemove_Iq6, C.Type__$HelixRemove_Yqr]), type$.JSArray_legacy_Type); + C.List_Ewu = H.setRuntimeTypeInfo(makeConstList([619, 720, 127, 481, 931, 816, 813, 233, 566, 247, 985, 724, 205, 454, 863, 491, 741, 242, 949, 214, 733, 859, 335, 708, 621, 574, 73, 654, 730, 472, 419, 436, 278, 496, 867, 210, 399, 680, 480, 51, 878, 465, 811, 169, 869, 675, 611, 697, 867, 561, 862, 687, 507, 283, 482, 129, 807, 591, 733, 623, 150, 238, 59, 379, 684, 877, 625, 169, 643, 105, 170, 607, 520, 932, 727, 476, 693, 425, 174, 647, 73, 122, 335, 530, 442, 853, 695, 249, 445, 515, 909, 545, 703, 919, 874, 474, 882, 500, 594, 612, 641, 801, 220, 162, 819, 984, 589, 513, 495, 799, 161, 604, 958, 533, 221, 400, 386, 867, 600, 782, 382, 596, 414, 171, 516, 375, 682, 485, 911, 276, 98, 553, 163, 354, 666, 933, 424, 341, 533, 870, 227, 730, 475, 186, 263, 647, 537, 686, 600, 224, 469, 68, 770, 919, 190, 373, 294, 822, 808, 206, 184, 943, 795, 384, 383, 461, 404, 758, 839, 887, 715, 67, 618, 276, 204, 918, 873, 777, 604, 560, 951, 160, 578, 722, 79, 804, 96, 409, 713, 940, 652, 934, 970, 447, 318, 353, 859, 672, 112, 785, 645, 863, 803, 350, 139, 93, 354, 99, 820, 908, 609, 772, 154, 274, 580, 184, 79, 626, 630, 742, 653, 282, 762, 623, 680, 81, 927, 626, 789, 125, 411, 521, 938, 300, 821, 78, 343, 175, 128, 250, 170, 774, 972, 275, 999, 639, 495, 78, 352, 126, 857, 956, 358, 619, 580, 124, 737, 594, 701, 612, 669, 112, 134, 694, 363, 992, 809, 743, 168, 974, 944, 375, 748, 52, 600, 747, 642, 182, 862, 81, 344, 805, 988, 739, 511, 655, 814, 334, 249, 515, 897, 955, 664, 981, 649, 113, 974, 459, 893, 228, 433, 837, 553, 268, 926, 240, 102, 654, 459, 51, 686, 754, 806, 760, 493, 403, 415, 394, 687, 700, 946, 670, 656, 610, 738, 392, 760, 799, 887, 653, 978, 321, 576, 617, 626, 502, 894, 679, 243, 440, 680, 879, 194, 572, 640, 724, 926, 56, 204, 700, 707, 151, 457, 449, 797, 195, 791, 558, 945, 679, 297, 59, 87, 824, 713, 663, 412, 693, 342, 606, 134, 108, 571, 364, 631, 212, 174, 643, 304, 329, 343, 97, 430, 751, 497, 314, 983, 374, 822, 928, 140, 206, 73, 263, 980, 736, 876, 478, 430, 305, 170, 514, 364, 692, 829, 82, 855, 953, 676, 246, 369, 970, 294, 750, 807, 827, 150, 790, 288, 923, 804, 378, 215, 828, 592, 281, 565, 555, 710, 82, 896, 831, 547, 261, 524, 462, 293, 465, 502, 56, 661, 821, 976, 991, 658, 869, 905, 758, 745, 193, 768, 550, 608, 933, 378, 286, 215, 979, 792, 961, 61, 688, 793, 644, 986, 403, 106, 366, 905, 644, 372, 567, 466, 434, 645, 210, 389, 550, 919, 135, 780, 773, 635, 389, 707, 100, 626, 958, 165, 504, 920, 176, 193, 713, 857, 265, 203, 50, 668, 108, 645, 990, 626, 197, 510, 357, 358, 850, 858, 364, 936, 638]), type$.JSArray_legacy_int); + C.Type__$Dialog_rJT = H.typeLiteral("_$Dialog"); + C.List_FCG0 = H.setRuntimeTypeInfo(makeConstList([C.Type_Dialog_eAf, C.Type__$Dialog_rJT]), type$.JSArray_legacy_Type); + C.Type_PotentialCrossoverMove_Ekc = H.typeLiteral("PotentialCrossoverMove"); + C.Type__$PotentialCrossoverMove_pkN = H.typeLiteral("_$PotentialCrossoverMove"); + C.List_FIw = H.setRuntimeTypeInfo(makeConstList([C.Type_PotentialCrossoverMove_Ekc, C.Type__$PotentialCrossoverMove_pkN]), type$.JSArray_legacy_Type); + C.List_FYo = H.setRuntimeTypeInfo(makeConstList([C.ExportDNAFormat_idt_bulk, C.ExportDNAFormat_idt_plates96, C.ExportDNAFormat_idt_plates384, C.ExportDNAFormat_csv]), H.findType("JSArray")); + C.Type_Dba = H.typeLiteral("_$SelectableModification3Prime"); + C.List_Fy5 = H.setRuntimeTypeInfo(makeConstList([C.Type_SelectableModification3Prime_sBE, C.Type_Dba]), type$.JSArray_legacy_Type); + C.Type_Dba0 = H.typeLiteral("_$SelectableModification5Prime"); + C.List_Fy50 = H.setRuntimeTypeInfo(makeConstList([C.Type_SelectableModification5Prime_sBE, C.Type_Dba0]), type$.JSArray_legacy_Type); + C.Type_MoveHelicesToGroup_gjq = H.typeLiteral("MoveHelicesToGroup"); + C.Type__$MoveHelicesToGroup_EIc = H.typeLiteral("_$MoveHelicesToGroup"); + C.List_G31 = H.setRuntimeTypeInfo(makeConstList([C.Type_MoveHelicesToGroup_gjq, C.Type__$MoveHelicesToGroup_EIc]), type$.JSArray_legacy_Type); + C.Type_StrandsMoveAdjustAddress_fgL = H.typeLiteral("StrandsMoveAdjustAddress"); + C.Type__$StrandsMoveAdjustAddress_9FL = H.typeLiteral("_$StrandsMoveAdjustAddress"); + C.List_G7M = H.setRuntimeTypeInfo(makeConstList([C.Type_StrandsMoveAdjustAddress_fgL, C.Type__$StrandsMoveAdjustAddress_9FL]), type$.JSArray_legacy_Type); + C.Type_QPD = H.typeLiteral("HelixMajorTickPeriodicDistancesChange"); + C.Type_kqK = H.typeLiteral("_$HelixMajorTickPeriodicDistancesChange"); + C.List_GQ1 = H.setRuntimeTypeInfo(makeConstList([C.Type_QPD, C.Type_kqK]), type$.JSArray_legacy_Type); + C.Type_MouseoverDataUpdate_UcM = H.typeLiteral("MouseoverDataUpdate"); + C.Type__$MouseoverDataUpdate_8hR = H.typeLiteral("_$MouseoverDataUpdate"); + C.List_GVa = H.setRuntimeTypeInfo(makeConstList([C.Type_MouseoverDataUpdate_UcM, C.Type__$MouseoverDataUpdate_8hR]), type$.JSArray_legacy_Type); + C.Type_HelixMajorTicksChangeAll_ato = H.typeLiteral("HelixMajorTicksChangeAll"); + C.Type__$HelixMajorTicksChangeAll_Yf3 = H.typeLiteral("_$HelixMajorTicksChangeAll"); + C.List_GxI = H.setRuntimeTypeInfo(makeConstList([C.Type_HelixMajorTicksChangeAll_ato, C.Type__$HelixMajorTicksChangeAll_Yf3]), type$.JSArray_legacy_Type); + C.Type_IAG = H.typeLiteral("SetOnlyDisplaySelectedHelices"); + C.Type_cop = H.typeLiteral("_$SetOnlyDisplaySelectedHelices"); + C.List_HFe = H.setRuntimeTypeInfo(makeConstList([C.Type_IAG, C.Type_cop]), type$.JSArray_legacy_Type); + C.Type_CopySelectedStrands_kWQ = H.typeLiteral("CopySelectedStrands"); + C.Type__$CopySelectedStrands_mFb = H.typeLiteral("_$CopySelectedStrands"); + C.List_HJj = H.setRuntimeTypeInfo(makeConstList([C.Type_CopySelectedStrands_kWQ, C.Type__$CopySelectedStrands_mFb]), type$.JSArray_legacy_Type); + C.Type_VuJ = H.typeLiteral("ModificationConnectorLengthSet"); + C.Type_Heh = H.typeLiteral("_$ModificationConnectorLengthSet"); + C.List_HVo = H.setRuntimeTypeInfo(makeConstList([C.Type_VuJ, C.Type_Heh]), type$.JSArray_legacy_Type); + C.Type_StrandCreateCommit_P7e = H.typeLiteral("StrandCreateCommit"); + C.Type__$StrandCreateCommit_k02 = H.typeLiteral("_$StrandCreateCommit"); + C.List_HYb = H.setRuntimeTypeInfo(makeConstList([C.Type_StrandCreateCommit_P7e, C.Type__$StrandCreateCommit_k02]), type$.JSArray_legacy_Type); + C.Type__$ContextMenu_ouN = H.typeLiteral("_$ContextMenu"); + C.List_IAF = H.setRuntimeTypeInfo(makeConstList([C.Type_ContextMenu_u5x, C.Type__$ContextMenu_ouN]), type$.JSArray_legacy_Type); + C.Type_LoopoutLengthChange_Khy = H.typeLiteral("LoopoutLengthChange"); + C.Type__$LoopoutLengthChange_zkE = H.typeLiteral("_$LoopoutLengthChange"); + C.List_IFE = H.setRuntimeTypeInfo(makeConstList([C.Type_LoopoutLengthChange_Khy, C.Type__$LoopoutLengthChange_zkE]), type$.JSArray_legacy_Type); + C.Type_ExportCadnanoFile_yzl = H.typeLiteral("ExportCadnanoFile"); + C.Type__$ExportCadnanoFile_h8q = H.typeLiteral("_$ExportCadnanoFile"); + C.List_IGS = H.setRuntimeTypeInfo(makeConstList([C.Type_ExportCadnanoFile_yzl, C.Type__$ExportCadnanoFile_h8q]), type$.JSArray_legacy_Type); + C.Type_j7j = H.typeLiteral("CopySelectedStandsToClipboardImage"); + C.Type_6TW = H.typeLiteral("_$CopySelectedStandsToClipboardImage"); + C.List_IIj = H.setRuntimeTypeInfo(makeConstList([C.Type_j7j, C.Type_6TW]), type$.JSArray_legacy_Type); + C.Type_SetIsZoomAboveThreshold_2bx = H.typeLiteral("SetIsZoomAboveThreshold"); + C.Type__$SetIsZoomAboveThreshold_2jN = H.typeLiteral("_$SetIsZoomAboveThreshold"); + C.List_IO4 = H.setRuntimeTypeInfo(makeConstList([C.Type_SetIsZoomAboveThreshold_2bx, C.Type__$SetIsZoomAboveThreshold_2jN]), type$.JSArray_legacy_Type); + C.Type_RelaxHelixRolls_7dz = H.typeLiteral("RelaxHelixRolls"); + C.Type__$RelaxHelixRolls_omH = H.typeLiteral("_$RelaxHelixRolls"); + C.List_IYw = H.setRuntimeTypeInfo(makeConstList([C.Type_RelaxHelixRolls_7dz, C.Type__$RelaxHelixRolls_omH]), type$.JSArray_legacy_Type); + C.Type_StrandCreateStart_23B = H.typeLiteral("StrandCreateStart"); + C.Type__$StrandCreateStart_yXb = H.typeLiteral("_$StrandCreateStart"); + C.List_IbS = H.setRuntimeTypeInfo(makeConstList([C.Type_StrandCreateStart_23B, C.Type__$StrandCreateStart_yXb]), type$.JSArray_legacy_Type); + C.Type_Redo_Ual = H.typeLiteral("Redo"); + C.Type__$Redo_y1j = H.typeLiteral("_$Redo"); + C.List_Isn = H.setRuntimeTypeInfo(makeConstList([C.Type_Redo_Ual, C.Type__$Redo_y1j]), type$.JSArray_legacy_Type); + C.List_JYB = H.setRuntimeTypeInfo(makeConstList([0, 0, 26624, 1023, 65534, 2047, 65534, 2047]), type$.JSArray_legacy_int); + C.Type__$Geometry_YZL = H.typeLiteral("_$Geometry"); + C.List_JYK = H.setRuntimeTypeInfo(makeConstList([C.Type_Geometry_CC0, C.Type__$Geometry_YZL]), type$.JSArray_legacy_Type); + C.Type_46y = H.typeLiteral("ShowGridCoordinatesSideViewSet"); + C.Type_fXI = H.typeLiteral("_$ShowGridCoordinatesSideViewSet"); + C.List_Jik = H.setRuntimeTypeInfo(makeConstList([C.Type_46y, C.Type_fXI]), type$.JSArray_legacy_Type); + C.Type_ContextMenuShow_MQy = H.typeLiteral("ContextMenuShow"); + C.Type__$ContextMenuShow_Crw = H.typeLiteral("_$ContextMenuShow"); + C.List_KdY = H.setRuntimeTypeInfo(makeConstList([C.Type_ContextMenuShow_MQy, C.Type__$ContextMenuShow_Crw]), type$.JSArray_legacy_Type); + C.Type_ConvertCrossoverToLoopout_mC8 = H.typeLiteral("ConvertCrossoverToLoopout"); + C.Type__$ConvertCrossoverToLoopout_Y3F = H.typeLiteral("_$ConvertCrossoverToLoopout"); + C.List_KeE = H.setRuntimeTypeInfo(makeConstList([C.Type_ConvertCrossoverToLoopout_mC8, C.Type__$ConvertCrossoverToLoopout_Y3F]), type$.JSArray_legacy_Type); + C.List_KxA = H.setRuntimeTypeInfo(makeConstList([C.BasePairDisplayType_none, C.BasePairDisplayType_lines, C.BasePairDisplayType_rectangle]), H.findType("JSArray")); + C.Type_MousePositionSideUpdate_gml = H.typeLiteral("MousePositionSideUpdate"); + C.Type__$MousePositionSideUpdate_Qgv = H.typeLiteral("_$MousePositionSideUpdate"); + C.List_L2O = H.setRuntimeTypeInfo(makeConstList([C.Type_MousePositionSideUpdate_gml, C.Type__$MousePositionSideUpdate_Qgv]), type$.JSArray_legacy_Type); + C.Type_ShowEditMenuToggle_GZS = H.typeLiteral("ShowEditMenuToggle"); + C.Type__$ShowEditMenuToggle_epE = H.typeLiteral("_$ShowEditMenuToggle"); + C.List_LJp = H.setRuntimeTypeInfo(makeConstList([C.Type_ShowEditMenuToggle_GZS, C.Type__$ShowEditMenuToggle_epE]), type$.JSArray_legacy_Type); + C.Type_PotentialVerticalCrossover_ifn = H.typeLiteral("PotentialVerticalCrossover"); + C.Type__$PotentialVerticalCrossover_q0I = H.typeLiteral("_$PotentialVerticalCrossover"); + C.List_LQu = H.setRuntimeTypeInfo(makeConstList([C.Type_PotentialVerticalCrossover_ifn, C.Type__$PotentialVerticalCrossover_q0I]), type$.JSArray_legacy_Type); + C.Type__$CopyInfo_ruJ = H.typeLiteral("_$CopyInfo"); + C.List_LU9 = H.setRuntimeTypeInfo(makeConstList([C.Type_CopyInfo_aTW, C.Type__$CopyInfo_ruJ]), type$.JSArray_legacy_Type); + C.Type__$StrandCreation_cGl = H.typeLiteral("_$StrandCreation"); + C.List_Ltx = H.setRuntimeTypeInfo(makeConstList([C.Type_StrandCreation_A2Y, C.Type__$StrandCreation_cGl]), type$.JSArray_legacy_Type); + C.Type_DomainLabelFontSizeSet_fsZ = H.typeLiteral("DomainLabelFontSizeSet"); + C.Type__$DomainLabelFontSizeSet_q0y = H.typeLiteral("_$DomainLabelFontSizeSet"); + C.List_M8C = H.setRuntimeTypeInfo(makeConstList([C.Type_DomainLabelFontSizeSet_fsZ, C.Type__$DomainLabelFontSizeSet_q0y]), type$.JSArray_legacy_Type); + C.Type_MousePositionSideClear_ebu = H.typeLiteral("MousePositionSideClear"); + C.Type__$MousePositionSideClear_c0h = H.typeLiteral("_$MousePositionSideClear"); + C.List_MCX = H.setRuntimeTypeInfo(makeConstList([C.Type_MousePositionSideClear_ebu, C.Type__$MousePositionSideClear_c0h]), type$.JSArray_legacy_Type); + C.Type_Qat = H.typeLiteral("StrandOrSubstrandColorPickerHide"); + C.Type_lq4 = H.typeLiteral("_$StrandOrSubstrandColorPickerHide"); + C.List_MCv = H.setRuntimeTypeInfo(makeConstList([C.Type_Qat, C.Type_lq4]), type$.JSArray_legacy_Type); + C.Type_LoadDNAFile_tXF = H.typeLiteral("LoadDNAFile"); + C.Type__$LoadDNAFile_oSC = H.typeLiteral("_$LoadDNAFile"); + C.List_MIe = H.setRuntimeTypeInfo(makeConstList([C.Type_LoadDNAFile_tXF, C.Type__$LoadDNAFile_oSC]), type$.JSArray_legacy_Type); + C.Type_HelixSelect_kUZ = H.typeLiteral("HelixSelect"); + C.Type__$HelixSelect_eBn = H.typeLiteral("_$HelixSelect"); + C.List_MQk = H.setRuntimeTypeInfo(makeConstList([C.Type_HelixSelect_kUZ, C.Type__$HelixSelect_eBn]), type$.JSArray_legacy_Type); + C.Type_HelixGridPositionSet_uMl = H.typeLiteral("HelixGridPositionSet"); + C.Type__$HelixGridPositionSet_7L0 = H.typeLiteral("_$HelixGridPositionSet"); + C.List_MUw = H.setRuntimeTypeInfo(makeConstList([C.Type_HelixGridPositionSet_uMl, C.Type__$HelixGridPositionSet_7L0]), type$.JSArray_legacy_Type); + C.Type_GroupRemove_fTF = H.typeLiteral("GroupRemove"); + C.Type__$GroupRemove_WwU = H.typeLiteral("_$GroupRemove"); + C.List_Mbm = H.setRuntimeTypeInfo(makeConstList([C.Type_GroupRemove_fTF, C.Type__$GroupRemove_WwU]), type$.JSArray_legacy_Type); + C.Type_TUj = H.typeLiteral("DNAExtensionsMoveAdjustPosition"); + C.Type_Tvq = H.typeLiteral("_$DNAExtensionsMoveAdjustPosition"); + C.List_Mhf = H.setRuntimeTypeInfo(makeConstList([C.Type_TUj, C.Type_Tvq]), type$.JSArray_legacy_Type); + C.Type__$PotentialCrossover_66S = H.typeLiteral("_$PotentialCrossover"); + C.List_Mli = H.setRuntimeTypeInfo(makeConstList([C.Type_PotentialCrossover_RkP, C.Type__$PotentialCrossover_66S]), type$.JSArray_legacy_Type); + C.List_MmH = H.setRuntimeTypeInfo(makeConstList([1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048, 4096, 8192, 16384, 32768, 65536, 131072, 262144, 524288, 1048576, 2097152, 4194304, 8388608, 16777216, 33554432, 67108864, 134217728, 268435456, 536870912, 1073741824, 2147483648]), type$.JSArray_legacy_int); + C.Type_OxviewExport_oWu = H.typeLiteral("OxviewExport"); + C.Type__$OxviewExport_2jN = H.typeLiteral("_$OxviewExport"); + C.List_N9s = H.setRuntimeTypeInfo(makeConstList([C.Type_OxviewExport_oWu, C.Type__$OxviewExport_2jN]), type$.JSArray_legacy_Type); + C.Type__$DNAExtensionMove_kaS = H.typeLiteral("_$DNAExtensionMove"); + C.List_NDM = H.setRuntimeTypeInfo(makeConstList([C.Type_DNAExtensionMove_iVD, C.Type__$DNAExtensionMove_kaS]), type$.JSArray_legacy_Type); + C.Type_DialogShow_oSb = H.typeLiteral("DialogShow"); + C.Type__$DialogShow_yVV = H.typeLiteral("_$DialogShow"); + C.List_NO4 = H.setRuntimeTypeInfo(makeConstList([C.Type_DialogShow_oSb, C.Type__$DialogShow_yVV]), type$.JSArray_legacy_Type); + C.List_NUU = H.setRuntimeTypeInfo(makeConstList([0, 1, 2, 3, 4, 5, 6, 7, 8, 8, 9, 9, 10, 10, 11, 11, 12, 12, 12, 12, 13, 13, 13, 13, 14, 14, 14, 14, 15, 15, 15, 15, 16, 16, 16, 16, 16, 16, 16, 16, 17, 17, 17, 17, 17, 17, 17, 17, 18, 18, 18, 18, 18, 18, 18, 18, 19, 19, 19, 19, 19, 19, 19, 19, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 28]), type$.JSArray_legacy_int); + C.Type_StrandPasteKeepColorSet_8FR = H.typeLiteral("StrandPasteKeepColorSet"); + C.Type__$StrandPasteKeepColorSet_86y = H.typeLiteral("_$StrandPasteKeepColorSet"); + C.List_NYu = H.setRuntimeTypeInfo(makeConstList([C.Type_StrandPasteKeepColorSet_8FR, C.Type__$StrandPasteKeepColorSet_86y]), type$.JSArray_legacy_Type); + C.Type__$Position3D_8o7 = H.typeLiteral("_$Position3D"); + C.List_Ns6 = H.setRuntimeTypeInfo(makeConstList([C.Type_Position3D_kqK, C.Type__$Position3D_8o7]), type$.JSArray_legacy_Type); + C.Type_ShowStrandLabelsSet_WPt = H.typeLiteral("ShowStrandLabelsSet"); + C.Type__$ShowStrandLabelsSet_H37 = H.typeLiteral("_$ShowStrandLabelsSet"); + C.List_Nw8 = H.setRuntimeTypeInfo(makeConstList([C.Type_ShowStrandLabelsSet_WPt, C.Type__$ShowStrandLabelsSet_H37]), type$.JSArray_legacy_Type); + C.Type_axY = H.typeLiteral("HelixMajorTickDistanceChangeAll"); + C.Type_CyI = H.typeLiteral("_$HelixMajorTickDistanceChangeAll"); + C.List_Nws = H.setRuntimeTypeInfo(makeConstList([C.Type_axY, C.Type_CyI]), type$.JSArray_legacy_Type); + C.Type_UndoRedoClear_wsa = H.typeLiteral("UndoRedoClear"); + C.Type__$UndoRedoClear_D1h = H.typeLiteral("_$UndoRedoClear"); + C.List_O5Z = H.setRuntimeTypeInfo(makeConstList([C.Type_UndoRedoClear_wsa, C.Type__$UndoRedoClear_D1h]), type$.JSArray_legacy_Type); + C.Type_DialogCheckbox_Uj8 = H.typeLiteral("DialogCheckbox"); + C.Type__$DialogCheckbox_ASw = H.typeLiteral("_$DialogCheckbox"); + C.List_OPy = H.setRuntimeTypeInfo(makeConstList([C.Type_DialogCheckbox_Uj8, C.Type__$DialogCheckbox_ASw]), type$.JSArray_legacy_Type); + C.Type_DNAExtensionsMoveCommit_gkc = H.typeLiteral("DNAExtensionsMoveCommit"); + C.Type__$DNAExtensionsMoveCommit_R4i = H.typeLiteral("_$DNAExtensionsMoveCommit"); + C.List_OPz = H.setRuntimeTypeInfo(makeConstList([C.Type_DNAExtensionsMoveCommit_gkc, C.Type__$DNAExtensionsMoveCommit_R4i]), type$.JSArray_legacy_Type); + C.Type_SubstrandNameSet_6Vr = H.typeLiteral("SubstrandNameSet"); + C.Type__$SubstrandNameSet_xw8 = H.typeLiteral("_$SubstrandNameSet"); + C.List_Ol2 = H.setRuntimeTypeInfo(makeConstList([C.Type_SubstrandNameSet_6Vr, C.Type__$SubstrandNameSet_xw8]), type$.JSArray_legacy_Type); + C.Type_DialogText_gkJ = H.typeLiteral("DialogText"); + C.Type__$DialogText_yPV = H.typeLiteral("_$DialogText"); + C.List_Opk = H.setRuntimeTypeInfo(makeConstList([C.Type_DialogText_gkJ, C.Type__$DialogText_yPV]), type$.JSArray_legacy_Type); + C.Type__$LocalStorageDesignChoice_cOY = H.typeLiteral("_$LocalStorageDesignChoice"); + C.List_OzL = H.setRuntimeTypeInfo(makeConstList([C.Type_LocalStorageDesignChoice_wMy, C.Type__$LocalStorageDesignChoice_cOY]), type$.JSArray_legacy_Type); + C.Type_ShowMismatchesSet_2ix = H.typeLiteral("ShowMismatchesSet"); + C.Type__$ShowMismatchesSet_9IG = H.typeLiteral("_$ShowMismatchesSet"); + C.List_P2J = H.setRuntimeTypeInfo(makeConstList([C.Type_ShowMismatchesSet_2ix, C.Type__$ShowMismatchesSet_9IG]), type$.JSArray_legacy_Type); + C.Type_HelixOffsetChangeAll_wsa = H.typeLiteral("HelixOffsetChangeAll"); + C.Type__$HelixOffsetChangeAll_B8J = H.typeLiteral("_$HelixOffsetChangeAll"); + C.List_P50 = H.setRuntimeTypeInfo(makeConstList([C.Type_HelixOffsetChangeAll_wsa, C.Type__$HelixOffsetChangeAll_B8J]), type$.JSArray_legacy_Type); + C.Type_HelixGroupMoveStop_ACp = H.typeLiteral("HelixGroupMoveStop"); + C.Type__$HelixGroupMoveStop_kyU = H.typeLiteral("_$HelixGroupMoveStop"); + C.List_PcW = H.setRuntimeTypeInfo(makeConstList([C.Type_HelixGroupMoveStop_ACp, C.Type__$HelixGroupMoveStop_kyU]), type$.JSArray_legacy_Type); + C.SelectableTrait_strand_name = new E.SelectableTrait("strand_name"); + C.SelectableTrait_strand_label = new E.SelectableTrait("strand_label"); + C.SelectableTrait_color = new E.SelectableTrait("color"); + C.SelectableTrait_modification_5p = new E.SelectableTrait("modification_5p"); + C.SelectableTrait_modification_3p = new E.SelectableTrait("modification_3p"); + C.SelectableTrait_modification_int = new E.SelectableTrait("modification_int"); + C.SelectableTrait_dna_sequence = new E.SelectableTrait("dna_sequence"); + C.SelectableTrait_vendor_fields = new E.SelectableTrait("vendor_fields"); + C.SelectableTrait_circular = new E.SelectableTrait("circular"); + C.SelectableTrait_helices = new E.SelectableTrait("helices"); + C.List_Q8F = H.setRuntimeTypeInfo(makeConstList([C.SelectableTrait_strand_name, C.SelectableTrait_strand_label, C.SelectableTrait_color, C.SelectableTrait_modification_5p, C.SelectableTrait_modification_3p, C.SelectableTrait_modification_int, C.SelectableTrait_dna_sequence, C.SelectableTrait_vendor_fields, C.SelectableTrait_circular, C.SelectableTrait_helices]), type$.JSArray_legacy_SelectableTrait); + C.Type_HelixMinOffsetSetByDomains_MIw = H.typeLiteral("HelixMinOffsetSetByDomains"); + C.Type__$HelixMinOffsetSetByDomains_MDT = H.typeLiteral("_$HelixMinOffsetSetByDomains"); + C.List_QG0 = H.setRuntimeTypeInfo(makeConstList([C.Type_HelixMinOffsetSetByDomains_MIw, C.Type__$HelixMinOffsetSetByDomains_MDT]), type$.JSArray_legacy_Type); + C.Type_guV = H.typeLiteral("HelixMajorTickPeriodicDistancesChangeAll"); + C.Type_zPV0 = H.typeLiteral("_$HelixMajorTickPeriodicDistancesChangeAll"); + C.List_QVp = H.setRuntimeTypeInfo(makeConstList([C.Type_guV, C.Type_zPV0]), type$.JSArray_legacy_Type); + C.Type__$Modification3Prime_EyN = H.typeLiteral("_$Modification3Prime"); + C.List_Qkz = H.setRuntimeTypeInfo(makeConstList([C.Type_Modification3Prime_wsa, C.Type__$Modification3Prime_EyN]), type$.JSArray_legacy_Type); + C.Type__$Modification5Prime_EyN = H.typeLiteral("_$Modification5Prime"); + C.List_Qkz0 = H.setRuntimeTypeInfo(makeConstList([C.Type_Modification5Prime_wsa, C.Type__$Modification5Prime_EyN]), type$.JSArray_legacy_Type); + C.Type__$MouseoverData_g78 = H.typeLiteral("_$MouseoverData"); + C.List_Qw7 = H.setRuntimeTypeInfo(makeConstList([C.Type_MouseoverData_qTC, C.Type__$MouseoverData_g78]), type$.JSArray_legacy_Type); + C.Type_NewDesignSet_yT7 = H.typeLiteral("NewDesignSet"); + C.Type__$NewDesignSet_6L0 = H.typeLiteral("_$NewDesignSet"); + C.List_RyU = H.setRuntimeTypeInfo(makeConstList([C.Type_NewDesignSet_yT7, C.Type__$NewDesignSet_6L0]), type$.JSArray_legacy_Type); + C.Type_ConvertCrossoversToLoopouts_qFy = H.typeLiteral("ConvertCrossoversToLoopouts"); + C.Type_Sg2 = H.typeLiteral("_$ConvertCrossoversToLoopouts"); + C.List_SLS = H.setRuntimeTypeInfo(makeConstList([C.Type_ConvertCrossoversToLoopouts_qFy, C.Type_Sg2]), type$.JSArray_legacy_Type); + C.Type_WarnOnExitIfUnsavedSet_LFH = H.typeLiteral("WarnOnExitIfUnsavedSet"); + C.Type__$WarnOnExitIfUnsavedSet_v9O = H.typeLiteral("_$WarnOnExitIfUnsavedSet"); + C.List_SQp = H.setRuntimeTypeInfo(makeConstList([C.Type_WarnOnExitIfUnsavedSet_LFH, C.Type__$WarnOnExitIfUnsavedSet_v9O]), type$.JSArray_legacy_Type); + C.Type_ahs = H.typeLiteral("HelixMaxOffsetSetByDomainsAllSameMax"); + C.Type_2fh = H.typeLiteral("_$HelixMaxOffsetSetByDomainsAllSameMax"); + C.List_SRR = H.setRuntimeTypeInfo(makeConstList([C.Type_ahs, C.Type_2fh]), type$.JSArray_legacy_Type); + C.Type_DNAExtensionsMoveStart_sC8 = H.typeLiteral("DNAExtensionsMoveStart"); + C.Type__$DNAExtensionsMoveStart_UkW = H.typeLiteral("_$DNAExtensionsMoveStart"); + C.List_SbI = H.setRuntimeTypeInfo(makeConstList([C.Type_DNAExtensionsMoveStart_sC8, C.Type__$DNAExtensionsMoveStart_UkW]), type$.JSArray_legacy_Type); + C.Type_DisplayMajorTicksOffsetsSet_kqK = H.typeLiteral("DisplayMajorTicksOffsetsSet"); + C.Type_Yhr = H.typeLiteral("_$DisplayMajorTicksOffsetsSet"); + C.List_TfG = H.setRuntimeTypeInfo(makeConstList([C.Type_DisplayMajorTicksOffsetsSet_kqK, C.Type_Yhr]), type$.JSArray_legacy_Type); + C.Type_HelixSelectionsClear_Ka6 = H.typeLiteral("HelixSelectionsClear"); + C.Type__$HelixSelectionsClear_g4I = H.typeLiteral("_$HelixSelectionsClear"); + C.List_TfU = H.setRuntimeTypeInfo(makeConstList([C.Type_HelixSelectionsClear_Ka6, C.Type__$HelixSelectionsClear_g4I]), type$.JSArray_legacy_Type); + C.List_Type_BasePairDisplayType_hjk = H.setRuntimeTypeInfo(makeConstList([C.Type_BasePairDisplayType_hjk]), type$.JSArray_legacy_Type); + C.List_Type_DNAFileType_bQh = H.setRuntimeTypeInfo(makeConstList([C.Type_DNAFileType_bQh]), type$.JSArray_legacy_Type); + C.Type_DNASequencePredefined_1Sb = H.typeLiteral("DNASequencePredefined"); + C.List_Type_DNASequencePredefined_1Sb = H.setRuntimeTypeInfo(makeConstList([C.Type_DNASequencePredefined_1Sb]), type$.JSArray_legacy_Type); + C.List_Type_DialogType_Zuq = H.setRuntimeTypeInfo(makeConstList([C.Type_DialogType_Zuq]), type$.JSArray_legacy_Type); + C.List_Type_EditModeChoice_hod = H.setRuntimeTypeInfo(makeConstList([C.Type_EditModeChoice_hod]), type$.JSArray_legacy_Type); + C.List_Type_ExportDNAFormat_QK8 = H.setRuntimeTypeInfo(makeConstList([C.Type_ExportDNAFormat_QK8]), type$.JSArray_legacy_Type); + C.List_Type_Grid_zSh = H.setRuntimeTypeInfo(makeConstList([C.Type_Grid_zSh]), type$.JSArray_legacy_Type); + C.List_Type_LocalStorageDesignOption_xgQ = H.setRuntimeTypeInfo(makeConstList([C.Type_LocalStorageDesignOption_xgQ]), type$.JSArray_legacy_Type); + C.Type_ModificationType_EWG = H.typeLiteral("ModificationType"); + C.List_Type_ModificationType_EWG = H.setRuntimeTypeInfo(makeConstList([C.Type_ModificationType_EWG]), type$.JSArray_legacy_Type); + C.List_Type_SelectModeChoice_a75 = H.setRuntimeTypeInfo(makeConstList([C.Type_SelectModeChoice_a75]), type$.JSArray_legacy_Type); + C.List_Type_SelectableTrait_SXj = H.setRuntimeTypeInfo(makeConstList([C.Type_SelectableTrait_SXj]), type$.JSArray_legacy_Type); + C.List_Type_StrandOrder_Jrj = H.setRuntimeTypeInfo(makeConstList([C.Type_StrandOrder_Jrj]), type$.JSArray_legacy_Type); + C.List_Tzo = H.setRuntimeTypeInfo(makeConstList([C.DNASequencePredefined_M13p7249, C.DNASequencePredefined_M13p7560, C.DNASequencePredefined_M13p8064, C.DNASequencePredefined_M13p8634]), H.findType("JSArray")); + C.Type_sKC = H.typeLiteral("ClearHelixSelectionWhenLoadingNewDesignSet"); + C.Type_0 = H.typeLiteral("_$ClearHelixSelectionWhenLoadingNewDesignSet"); + C.List_U05 = H.setRuntimeTypeInfo(makeConstList([C.Type_sKC, C.Type_0]), type$.JSArray_legacy_Type); + C.Type_5eO = H.typeLiteral("DisplayReverseDNARightSideUpSet"); + C.Type_kUw = H.typeLiteral("_$DisplayReverseDNARightSideUpSet"); + C.List_U050 = H.setRuntimeTypeInfo(makeConstList([C.Type_5eO, C.Type_kUw]), type$.JSArray_legacy_Type); + C.Type_SetDisplayMajorTickWidths_wIv = H.typeLiteral("SetDisplayMajorTickWidths"); + C.Type__$SetDisplayMajorTickWidths_Bzt = H.typeLiteral("_$SetDisplayMajorTickWidths"); + C.List_U7q = H.setRuntimeTypeInfo(makeConstList([C.Type_SetDisplayMajorTickWidths_wIv, C.Type__$SetDisplayMajorTickWidths_Bzt]), type$.JSArray_legacy_Type); + C.Type__$SelectablesStore_mdj = H.typeLiteral("_$SelectablesStore"); + C.List_U8I = H.setRuntimeTypeInfo(makeConstList([C.Type_SelectablesStore_xd9, C.Type__$SelectablesStore_mdj]), type$.JSArray_legacy_Type); + C.Type_RemoveDNA_izW = H.typeLiteral("RemoveDNA"); + C.Type__$RemoveDNA_uuM = H.typeLiteral("_$RemoveDNA"); + C.List_URr = H.setRuntimeTypeInfo(makeConstList([C.Type_RemoveDNA_izW, C.Type__$RemoveDNA_uuM]), type$.JSArray_legacy_Type); + C.Type_SliceBarOffsetSet_kyu = H.typeLiteral("SliceBarOffsetSet"); + C.Type__$SliceBarOffsetSet_uIL = H.typeLiteral("_$SliceBarOffsetSet"); + C.List_UgE = H.setRuntimeTypeInfo(makeConstList([C.Type_SliceBarOffsetSet_kyu, C.Type__$SliceBarOffsetSet_uIL]), type$.JSArray_legacy_Type); + C.Type_PotentialCrossoverCreate_AGY = H.typeLiteral("PotentialCrossoverCreate"); + C.Type__$PotentialCrossoverCreate_EmC = H.typeLiteral("_$PotentialCrossoverCreate"); + C.List_Uxx = H.setRuntimeTypeInfo(makeConstList([C.Type_PotentialCrossoverCreate_AGY, C.Type__$PotentialCrossoverCreate_EmC]), type$.JSArray_legacy_Type); + C.Type_StrandNameFontSizeSet_qHn = H.typeLiteral("StrandNameFontSizeSet"); + C.Type__$StrandNameFontSizeSet_e7Z = H.typeLiteral("_$StrandNameFontSizeSet"); + C.List_V0W = H.setRuntimeTypeInfo(makeConstList([C.Type_StrandNameFontSizeSet_qHn, C.Type__$StrandNameFontSizeSet_e7Z]), type$.JSArray_legacy_Type); + C.Type_AutofitSet_X7A = H.typeLiteral("AutofitSet"); + C.Type__$AutofitSet_i7r = H.typeLiteral("_$AutofitSet"); + C.List_V5x = H.setRuntimeTypeInfo(makeConstList([C.Type_AutofitSet_X7A, C.Type__$AutofitSet_i7r]), type$.JSArray_legacy_Type); + C.Type__$SelectionRope_2No = H.typeLiteral("_$SelectionRope"); + C.List_VQM = H.setRuntimeTypeInfo(makeConstList([C.Type_SelectionRope_0Rd, C.Type__$SelectionRope_2No]), type$.JSArray_legacy_Type); + C.Type_MoveLinker_4m4 = H.typeLiteral("MoveLinker"); + C.Type__$MoveLinker_O0I = H.typeLiteral("_$MoveLinker"); + C.List_W34 = H.setRuntimeTypeInfo(makeConstList([C.Type_MoveLinker_4m4, C.Type__$MoveLinker_O0I]), type$.JSArray_legacy_Type); + C.Type_OxviewShowSet_FKj = H.typeLiteral("OxviewShowSet"); + C.Type__$OxviewShowSet_FGJ = H.typeLiteral("_$OxviewShowSet"); + C.List_W7l = H.setRuntimeTypeInfo(makeConstList([C.Type_OxviewShowSet_FKj, C.Type__$OxviewShowSet_FGJ]), type$.JSArray_legacy_Type); + C.Type_ExampleDesignsLoad_TT0 = H.typeLiteral("ExampleDesignsLoad"); + C.Type__$ExampleDesignsLoad_zzp = H.typeLiteral("_$ExampleDesignsLoad"); + C.List_WMt = H.setRuntimeTypeInfo(makeConstList([C.Type_ExampleDesignsLoad_TT0, C.Type__$ExampleDesignsLoad_zzp]), type$.JSArray_legacy_Type); + C.Type_SelectionRopeCreate_FC3 = H.typeLiteral("SelectionRopeCreate"); + C.Type__$SelectionRopeCreate_atQ = H.typeLiteral("_$SelectionRopeCreate"); + C.List_WfA = H.setRuntimeTypeInfo(makeConstList([C.Type_SelectionRopeCreate_FC3, C.Type__$SelectionRopeCreate_atQ]), type$.JSArray_legacy_Type); + C.Type_ExtensionNumBasesChange_wzu = H.typeLiteral("ExtensionNumBasesChange"); + C.Type__$ExtensionNumBasesChange_aBG = H.typeLiteral("_$ExtensionNumBasesChange"); + C.List_WjS = H.setRuntimeTypeInfo(makeConstList([C.Type_ExtensionNumBasesChange_wzu, C.Type__$ExtensionNumBasesChange_aBG]), type$.JSArray_legacy_Type); + C.List_WrN = H.setRuntimeTypeInfo(makeConstList([0, 0, 1048576, 531441, 1048576, 390625, 279936, 823543, 262144, 531441, 1000000, 161051, 248832, 371293, 537824, 759375, 1048576, 83521, 104976, 130321, 160000, 194481, 234256, 279841, 331776, 390625, 456976, 531441, 614656, 707281, 810000, 923521, 1048576, 35937, 39304, 42875, 46656]), type$.JSArray_legacy_int); + C.Type_ShowMouseoverRectToggle_iL9 = H.typeLiteral("ShowMouseoverRectToggle"); + C.Type__$ShowMouseoverRectToggle_MuN = H.typeLiteral("_$ShowMouseoverRectToggle"); + C.List_Wvz = H.setRuntimeTypeInfo(makeConstList([C.Type_ShowMouseoverRectToggle_iL9, C.Type__$ShowMouseoverRectToggle_MuN]), type$.JSArray_legacy_Type); + C.List_X3d = H.setRuntimeTypeInfo(makeConstList([0, 0, 0, 0, 1, 1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6, 7, 7, 8, 8, 9, 9, 10, 10, 11, 11, 12, 12, 13, 13]), type$.JSArray_legacy_int); + C.List_X3d0 = H.setRuntimeTypeInfo(makeConstList([0, 1, 2, 3, 4, 6, 8, 12, 16, 24, 32, 48, 64, 96, 128, 192, 256, 384, 512, 768, 1024, 1536, 2048, 3072, 4096, 6144, 8192, 12288, 16384, 24576]), type$.JSArray_legacy_int); + C.List_X3d1 = H.setRuntimeTypeInfo(makeConstList([5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5]), type$.JSArray_legacy_int); + C.List_Xg4 = H.setRuntimeTypeInfo(makeConstList([12, 8, 140, 8, 76, 8, 204, 8, 44, 8, 172, 8, 108, 8, 236, 8, 28, 8, 156, 8, 92, 8, 220, 8, 60, 8, 188, 8, 124, 8, 252, 8, 2, 8, 130, 8, 66, 8, 194, 8, 34, 8, 162, 8, 98, 8, 226, 8, 18, 8, 146, 8, 82, 8, 210, 8, 50, 8, 178, 8, 114, 8, 242, 8, 10, 8, 138, 8, 74, 8, 202, 8, 42, 8, 170, 8, 106, 8, 234, 8, 26, 8, 154, 8, 90, 8, 218, 8, 58, 8, 186, 8, 122, 8, 250, 8, 6, 8, 134, 8, 70, 8, 198, 8, 38, 8, 166, 8, 102, 8, 230, 8, 22, 8, 150, 8, 86, 8, 214, 8, 54, 8, 182, 8, 118, 8, 246, 8, 14, 8, 142, 8, 78, 8, 206, 8, 46, 8, 174, 8, 110, 8, 238, 8, 30, 8, 158, 8, 94, 8, 222, 8, 62, 8, 190, 8, 126, 8, 254, 8, 1, 8, 129, 8, 65, 8, 193, 8, 33, 8, 161, 8, 97, 8, 225, 8, 17, 8, 145, 8, 81, 8, 209, 8, 49, 8, 177, 8, 113, 8, 241, 8, 9, 8, 137, 8, 73, 8, 201, 8, 41, 8, 169, 8, 105, 8, 233, 8, 25, 8, 153, 8, 89, 8, 217, 8, 57, 8, 185, 8, 121, 8, 249, 8, 5, 8, 133, 8, 69, 8, 197, 8, 37, 8, 165, 8, 101, 8, 229, 8, 21, 8, 149, 8, 85, 8, 213, 8, 53, 8, 181, 8, 117, 8, 245, 8, 13, 8, 141, 8, 77, 8, 205, 8, 45, 8, 173, 8, 109, 8, 237, 8, 29, 8, 157, 8, 93, 8, 221, 8, 61, 8, 189, 8, 125, 8, 253, 8, 19, 9, 275, 9, 147, 9, 403, 9, 83, 9, 339, 9, 211, 9, 467, 9, 51, 9, 307, 9, 179, 9, 435, 9, 115, 9, 371, 9, 243, 9, 499, 9, 11, 9, 267, 9, 139, 9, 395, 9, 75, 9, 331, 9, 203, 9, 459, 9, 43, 9, 299, 9, 171, 9, 427, 9, 107, 9, 363, 9, 235, 9, 491, 9, 27, 9, 283, 9, 155, 9, 411, 9, 91, 9, 347, 9, 219, 9, 475, 9, 59, 9, 315, 9, 187, 9, 443, 9, 123, 9, 379, 9, 251, 9, 507, 9, 7, 9, 263, 9, 135, 9, 391, 9, 71, 9, 327, 9, 199, 9, 455, 9, 39, 9, 295, 9, 167, 9, 423, 9, 103, 9, 359, 9, 231, 9, 487, 9, 23, 9, 279, 9, 151, 9, 407, 9, 87, 9, 343, 9, 215, 9, 471, 9, 55, 9, 311, 9, 183, 9, 439, 9, 119, 9, 375, 9, 247, 9, 503, 9, 15, 9, 271, 9, 143, 9, 399, 9, 79, 9, 335, 9, 207, 9, 463, 9, 47, 9, 303, 9, 175, 9, 431, 9, 111, 9, 367, 9, 239, 9, 495, 9, 31, 9, 287, 9, 159, 9, 415, 9, 95, 9, 351, 9, 223, 9, 479, 9, 63, 9, 319, 9, 191, 9, 447, 9, 127, 9, 383, 9, 255, 9, 511, 9, 0, 7, 64, 7, 32, 7, 96, 7, 16, 7, 80, 7, 48, 7, 112, 7, 8, 7, 72, 7, 40, 7, 104, 7, 24, 7, 88, 7, 56, 7, 120, 7, 4, 7, 68, 7, 36, 7, 100, 7, 20, 7, 84, 7, 52, 7, 116, 7, 3, 8, 131, 8, 67, 8, 195, 8, 35, 8, 163, 8, 99, 8, 227, 8]), type$.JSArray_legacy_int); + C.Type_ThrottledActionFast_tax = H.typeLiteral("ThrottledActionFast"); + C.Type__$ThrottledActionFast_nyx = H.typeLiteral("_$ThrottledActionFast"); + C.List_YLN = H.setRuntimeTypeInfo(makeConstList([C.Type_ThrottledActionFast_tax, C.Type__$ThrottledActionFast_nyx]), type$.JSArray_legacy_Type); + C.Type_HelixMajorTickStartChangeAll_e1W = H.typeLiteral("HelixMajorTickStartChangeAll"); + C.Type_iNt = H.typeLiteral("_$HelixMajorTickStartChangeAll"); + C.List_YNa = H.setRuntimeTypeInfo(makeConstList([C.Type_HelixMajorTickStartChangeAll_e1W, C.Type_iNt]), type$.JSArray_legacy_Type); + C.Type_StrandsMoveCommit_mV5 = H.typeLiteral("StrandsMoveCommit"); + C.Type__$StrandsMoveCommit_3KU = H.typeLiteral("_$StrandsMoveCommit"); + C.List_YZn = H.setRuntimeTypeInfo(makeConstList([C.Type_StrandsMoveCommit_mV5, C.Type__$StrandsMoveCommit_3KU]), type$.JSArray_legacy_Type); + C.Type_ShowDNASet_iXr = H.typeLiteral("ShowDNASet"); + C.Type__$ShowDNASet_WJv = H.typeLiteral("_$ShowDNASet"); + C.List_Yap = H.setRuntimeTypeInfo(makeConstList([C.Type_ShowDNASet_iXr, C.Type__$ShowDNASet_WJv]), type$.JSArray_legacy_Type); + C.Type_n9b = H.typeLiteral("ShowHelixComponentsMainViewSet"); + C.Type_AyI = H.typeLiteral("_$ShowHelixComponentsMainViewSet"); + C.List_ZGD = H.setRuntimeTypeInfo(makeConstList([C.Type_n9b, C.Type_AyI]), type$.JSArray_legacy_Type); + C.Type_StrandNameSet_Tvy = H.typeLiteral("StrandNameSet"); + C.Type__$StrandNameSet_EJD = H.typeLiteral("_$StrandNameSet"); + C.List_ZYL = H.setRuntimeTypeInfo(makeConstList([C.Type_StrandNameSet_Tvy, C.Type__$StrandNameSet_EJD]), type$.JSArray_legacy_Type); + C.Type_ResetLocalStorage_Fcu = H.typeLiteral("ResetLocalStorage"); + C.Type__$ResetLocalStorage_akw = H.typeLiteral("_$ResetLocalStorage"); + C.List_Zuu = H.setRuntimeTypeInfo(makeConstList([C.Type_ResetLocalStorage_Fcu, C.Type__$ResetLocalStorage_akw]), type$.JSArray_legacy_Type); + C.List_Zyt = H.setRuntimeTypeInfo(makeConstList(["getDerivedStateFromError", "componentDidCatch"]), type$.JSArray_legacy_String); + C.Type_SelectionBoxCreate_2No = H.typeLiteral("SelectionBoxCreate"); + C.Type__$SelectionBoxCreate_Qgx = H.typeLiteral("_$SelectionBoxCreate"); + C.List_a0G = H.setRuntimeTypeInfo(makeConstList([C.Type_SelectionBoxCreate_2No, C.Type__$SelectionBoxCreate_Qgx]), type$.JSArray_legacy_Type); + C.Type_ErrorMessageSet_MEo = H.typeLiteral("ErrorMessageSet"); + C.Type__$ErrorMessageSet_Drw = H.typeLiteral("_$ErrorMessageSet"); + C.List_a3r = H.setRuntimeTypeInfo(makeConstList([C.Type_ErrorMessageSet_MEo, C.Type__$ErrorMessageSet_Drw]), type$.JSArray_legacy_Type); + C.Type_dGP = H.typeLiteral("StrandsMoveStartSelectedStrands"); + C.Type_QAb = H.typeLiteral("_$StrandsMoveStartSelectedStrands"); + C.List_aJC = H.setRuntimeTypeInfo(makeConstList([C.Type_dGP, C.Type_QAb]), type$.JSArray_legacy_Type); + C.Type_HelixRemoveAllSelected_8Gl = H.typeLiteral("HelixRemoveAllSelected"); + C.Type__$HelixRemoveAllSelected_46y = H.typeLiteral("_$HelixRemoveAllSelected"); + C.List_aTx = H.setRuntimeTypeInfo(makeConstList([C.Type_HelixRemoveAllSelected_8Gl, C.Type__$HelixRemoveAllSelected_46y]), type$.JSArray_legacy_Type); + C.Type_ShowDomainNameMismatchesSet_yXb = H.typeLiteral("ShowDomainNameMismatchesSet"); + C.Type_br2 = H.typeLiteral("_$ShowDomainNameMismatchesSet"); + C.List_aZ8 = H.setRuntimeTypeInfo(makeConstList([C.Type_ShowDomainNameMismatchesSet_yXb, C.Type_br2]), type$.JSArray_legacy_Type); + C.Type_Undo_spY = H.typeLiteral("Undo"); + C.Type__$Undo_b5x = H.typeLiteral("_$Undo"); + C.List_ab8 = H.setRuntimeTypeInfo(makeConstList([C.Type_Undo_spY, C.Type__$Undo_b5x]), type$.JSArray_legacy_Type); + C.Type_DialogLink_8Gl = H.typeLiteral("DialogLink"); + C.Type__$DialogLink_W3x = H.typeLiteral("_$DialogLink"); + C.List_app = H.setRuntimeTypeInfo(makeConstList([C.Type_DialogLink_8Gl, C.Type__$DialogLink_W3x]), type$.JSArray_legacy_Type); + C.Type_ExportCodenanoFile_7R9 = H.typeLiteral("ExportCodenanoFile"); + C.Type__$ExportCodenanoFile_OLT = H.typeLiteral("_$ExportCodenanoFile"); + C.List_avb = H.setRuntimeTypeInfo(makeConstList([C.Type_ExportCodenanoFile_7R9, C.Type__$ExportCodenanoFile_OLT]), type$.JSArray_legacy_Type); + C.Type_DynamicHelixUpdateSet_y5I = H.typeLiteral("DynamicHelixUpdateSet"); + C.Type__$DynamicHelixUpdateSet_5dd = H.typeLiteral("_$DynamicHelixUpdateSet"); + C.List_bD1 = H.setRuntimeTypeInfo(makeConstList([C.Type_DynamicHelixUpdateSet_y5I, C.Type__$DynamicHelixUpdateSet_5dd]), type$.JSArray_legacy_Type); + C.Type_ModificationEdit_KP7 = H.typeLiteral("ModificationEdit"); + C.Type__$ModificationEdit_61T = H.typeLiteral("_$ModificationEdit"); + C.List_bpf = H.setRuntimeTypeInfo(makeConstList([C.Type_ModificationEdit_KP7, C.Type__$ModificationEdit_61T]), type$.JSArray_legacy_Type); + C.Type_ExportSvgTextSeparatelySet_jRE = H.typeLiteral("ExportSvgTextSeparatelySet"); + C.Type__$ExportSvgTextSeparatelySet_mBr = H.typeLiteral("_$ExportSvgTextSeparatelySet"); + C.List_cIc = H.setRuntimeTypeInfo(makeConstList([C.Type_ExportSvgTextSeparatelySet_jRE, C.Type__$ExportSvgTextSeparatelySet_mBr]), type$.JSArray_legacy_Type); + C.Type_DomainNameFontSizeSet_8YE = H.typeLiteral("DomainNameFontSizeSet"); + C.Type__$DomainNameFontSizeSet_15V = H.typeLiteral("_$DomainNameFontSizeSet"); + C.List_cIf = H.setRuntimeTypeInfo(makeConstList([C.Type_DomainNameFontSizeSet_8YE, C.Type__$DomainNameFontSizeSet_15V]), type$.JSArray_legacy_Type); + C.Type_LocalStorageDesignChoiceSet_kmH = H.typeLiteral("LocalStorageDesignChoiceSet"); + C.Type_WNy = H.typeLiteral("_$LocalStorageDesignChoiceSet"); + C.List_cKo = H.setRuntimeTypeInfo(makeConstList([C.Type_LocalStorageDesignChoiceSet_kmH, C.Type_WNy]), type$.JSArray_legacy_Type); + C.Type_AppUIState_KY7 = H.typeLiteral("AppUIState"); + C.Type__$AppUIState_wMy = H.typeLiteral("_$AppUIState"); + C.List_cMx = H.setRuntimeTypeInfo(makeConstList([C.Type_AppUIState_KY7, C.Type__$AppUIState_wMy]), type$.JSArray_legacy_Type); + C.Type_SelectionsClear_yrN = H.typeLiteral("SelectionsClear"); + C.Type__$SelectionsClear_u2C = H.typeLiteral("_$SelectionsClear"); + C.List_cQL = H.setRuntimeTypeInfo(makeConstList([C.Type_SelectionsClear_yrN, C.Type__$SelectionsClear_u2C]), type$.JSArray_legacy_Type); + C.Type_ScaffoldSet_kSJ = H.typeLiteral("ScaffoldSet"); + C.Type__$ScaffoldSet_8Tq = H.typeLiteral("_$ScaffoldSet"); + C.List_cdS = H.setRuntimeTypeInfo(makeConstList([C.Type_ScaffoldSet_kSJ, C.Type__$ScaffoldSet_8Tq]), type$.JSArray_legacy_Type); + C.Type_HelixMajorTicksChange_gg4 = H.typeLiteral("HelixMajorTicksChange"); + C.Type__$HelixMajorTicksChange_Uo4 = H.typeLiteral("_$HelixMajorTicksChange"); + C.List_ciW = H.setRuntimeTypeInfo(makeConstList([C.Type_HelixMajorTicksChange_gg4, C.Type__$HelixMajorTicksChange_Uo4]), type$.JSArray_legacy_Type); + C.Type_SaveDNAFile_maS = H.typeLiteral("SaveDNAFile"); + C.Type__$SaveDNAFile_uGT = H.typeLiteral("_$SaveDNAFile"); + C.List_dDf = H.setRuntimeTypeInfo(makeConstList([C.Type_SaveDNAFile_maS, C.Type__$SaveDNAFile_uGT]), type$.JSArray_legacy_Type); + C.Type_ShowStrandNamesSet_Yuq = H.typeLiteral("ShowStrandNamesSet"); + C.Type__$ShowStrandNamesSet_O1M = H.typeLiteral("_$ShowStrandNamesSet"); + C.List_dmq = H.setRuntimeTypeInfo(makeConstList([C.Type_ShowStrandNamesSet_Yuq, C.Type__$ShowStrandNamesSet_O1M]), type$.JSArray_legacy_Type); + C.List_dna_json = H.setRuntimeTypeInfo(makeConstList(["dna", "json"]), type$.JSArray_legacy_String); + C.List_dna_sequence = H.setRuntimeTypeInfo(makeConstList(["dna_sequence"]), type$.JSArray_legacy_String); + C.Type_EO3 = H.typeLiteral("SetModificationDisplayConnector"); + C.Type_6xV = H.typeLiteral("_$SetModificationDisplayConnector"); + C.List_e1J = H.setRuntimeTypeInfo(makeConstList([C.Type_EO3, C.Type_6xV]), type$.JSArray_legacy_Type); + C.Type__$Extension_oMs = H.typeLiteral("_$Extension"); + C.List_eAf = H.setRuntimeTypeInfo(makeConstList([C.Type_Extension_dwE, C.Type__$Extension_oMs]), type$.JSArray_legacy_Type); + C.Type_SelectionRopeRemove_EIc = H.typeLiteral("SelectionRopeRemove"); + C.Type__$SelectionRopeRemove_APm = H.typeLiteral("_$SelectionRopeRemove"); + C.List_eDH = H.setRuntimeTypeInfo(makeConstList([C.Type_SelectionRopeRemove_EIc, C.Type__$SelectionRopeRemove_APm]), type$.JSArray_legacy_Type); + C.Type_nVn = H.typeLiteral("AssignDomainNameComplementFromBoundStrands"); + C.Type_25d = H.typeLiteral("_$AssignDomainNameComplementFromBoundStrands"); + C.List_eZu = H.setRuntimeTypeInfo(makeConstList([C.Type_nVn, C.Type_25d]), type$.JSArray_legacy_Type); + C.List_eea = H.setRuntimeTypeInfo(makeConstList([0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 2, 2, 2, 2, 3, 3, 3, 3, 4, 4, 4, 4, 5, 5, 5, 5, 0, 0, 0]), type$.JSArray_legacy_int); + C.Type_StrandsMoveStop_iGN = H.typeLiteral("StrandsMoveStop"); + C.Type__$StrandsMoveStop_ckK = H.typeLiteral("_$StrandsMoveStop"); + C.List_egL = H.setRuntimeTypeInfo(makeConstList([C.Type_StrandsMoveStop_iGN, C.Type__$StrandsMoveStop_ckK]), type$.JSArray_legacy_Type); + C.List_ego = H.setRuntimeTypeInfo(makeConstList(["HEAD", "AREA", "BASE", "BASEFONT", "BR", "COL", "COLGROUP", "EMBED", "FRAME", "FRAMESET", "HR", "IMAGE", "IMG", "INPUT", "ISINDEX", "LINK", "META", "PARAM", "SOURCE", "STYLE", "TITLE", "WBR"]), type$.JSArray_legacy_String); + C.List_empty = H.setRuntimeTypeInfo(makeConstList([]), type$.JSArray_dynamic); + C.List_empty6 = H.setRuntimeTypeInfo(makeConstList([]), H.findType("JSArray<@(Store*,@,@(@)*)*>")); + C.List_empty1 = H.setRuntimeTypeInfo(makeConstList([]), type$.JSArray_legacy_Iterable_legacy_int); + C.List_empty4 = H.setRuntimeTypeInfo(makeConstList([]), H.findType("JSArray*>")); + C.List_empty7 = H.setRuntimeTypeInfo(makeConstList([]), type$.JSArray_legacy_Strand); + C.List_empty0 = H.setRuntimeTypeInfo(makeConstList([]), type$.JSArray_legacy_String); + C.List_empty3 = H.setRuntimeTypeInfo(makeConstList([]), H.findType("JSArray")); + C.List_empty2 = H.setRuntimeTypeInfo(makeConstList([]), H.findType("JSArray")); + C.Type_DNAExtensionsMoveStop_ww8 = H.typeLiteral("DNAExtensionsMoveStop"); + C.Type__$DNAExtensionsMoveStop_oSr = H.typeLiteral("_$DNAExtensionsMoveStop"); + C.List_etd = H.setRuntimeTypeInfo(makeConstList([C.Type_DNAExtensionsMoveStop_ww8, C.Type__$DNAExtensionsMoveStop_oSr]), type$.JSArray_legacy_Type); + C.Type_VendorFieldsRemove_bDN = H.typeLiteral("VendorFieldsRemove"); + C.Type__$VendorFieldsRemove_jfn = H.typeLiteral("_$VendorFieldsRemove"); + C.List_ezA = H.setRuntimeTypeInfo(makeConstList([C.Type_VendorFieldsRemove_bDN, C.Type__$VendorFieldsRemove_jfn]), type$.JSArray_legacy_Type); + C.Type_ManualPasteInitiate_S8r = H.typeLiteral("ManualPasteInitiate"); + C.Type__$ManualPasteInitiate_UW6 = H.typeLiteral("_$ManualPasteInitiate"); + C.List_fXI = H.setRuntimeTypeInfo(makeConstList([C.Type_ManualPasteInitiate_S8r, C.Type__$ManualPasteInitiate_UW6]), type$.JSArray_legacy_Type); + C.Type_AssignDNA_Mi7 = H.typeLiteral("AssignDNA"); + C.Type__$AssignDNA_OBE = H.typeLiteral("_$AssignDNA"); + C.List_fvk = H.setRuntimeTypeInfo(makeConstList([C.Type_AssignDNA_Mi7, C.Type__$AssignDNA_OBE]), type$.JSArray_legacy_Type); + C.Type_DomainsMoveStop_a5W = H.typeLiteral("DomainsMoveStop"); + C.Type__$DomainsMoveStop_QTd = H.typeLiteral("_$DomainsMoveStop"); + C.List_gDw = H.setRuntimeTypeInfo(makeConstList([C.Type_DomainsMoveStop_a5W, C.Type__$DomainsMoveStop_QTd]), type$.JSArray_legacy_Type); + C.Type_lub = H.typeLiteral("SetDisplayMajorTickWidthsAllHelices"); + C.Type_eAf = H.typeLiteral("_$SetDisplayMajorTickWidthsAllHelices"); + C.List_gJ1 = H.setRuntimeTypeInfo(makeConstList([C.Type_lub, C.Type_eAf]), type$.JSArray_legacy_Type); + C.List_gRj = H.setRuntimeTypeInfo(makeConstList([0, 0, 32722, 12287, 65534, 34815, 65534, 18431]), type$.JSArray_legacy_int); + C.Type_DomainNameMismatch_8Gl = H.typeLiteral("DomainNameMismatch"); + C.Type__$DomainNameMismatch_uEV = H.typeLiteral("_$DomainNameMismatch"); + C.List_gUw = H.setRuntimeTypeInfo(makeConstList([C.Type_DomainNameMismatch_8Gl, C.Type__$DomainNameMismatch_uEV]), type$.JSArray_legacy_Type); + C.Type_SliceBarMoveStop_Zlp = H.typeLiteral("SliceBarMoveStop"); + C.Type__$SliceBarMoveStop_t6A = H.typeLiteral("_$SliceBarMoveStop"); + C.List_gaI = H.setRuntimeTypeInfo(makeConstList([C.Type_SliceBarMoveStop_Zlp, C.Type__$SliceBarMoveStop_t6A]), type$.JSArray_legacy_Type); + C.Type_ekJ = H.typeLiteral("AssignDomainNameComplementFromBoundDomains"); + C.Type_OvP = H.typeLiteral("_$AssignDomainNameComplementFromBoundDomains"); + C.List_gc6 = H.setRuntimeTypeInfo(makeConstList([C.Type_ekJ, C.Type_OvP]), type$.JSArray_legacy_Type); + C.Type_43h = H.typeLiteral("OxExportOnlySelectedStrandsSet"); + C.Type_VQ4 = H.typeLiteral("_$OxExportOnlySelectedStrandsSet"); + C.List_ggc = H.setRuntimeTypeInfo(makeConstList([C.Type_43h, C.Type_VQ4]), type$.JSArray_legacy_Type); + C.Type_DesignSideRotationParams_EQs = H.typeLiteral("DesignSideRotationParams"); + C.Type__$DesignSideRotationParams_T3V = H.typeLiteral("_$DesignSideRotationParams"); + C.List_gn0 = H.setRuntimeTypeInfo(makeConstList([C.Type_DesignSideRotationParams_EQs, C.Type__$DesignSideRotationParams_T3V]), type$.JSArray_legacy_Type); + C.Type__$Crossover_mpd = H.typeLiteral("_$Crossover"); + C.List_go8 = H.setRuntimeTypeInfo(makeConstList([C.Type_Crossover_w3m, C.Type__$Crossover_mpd]), type$.JSArray_legacy_Type); + C.Type_StrandCreateStop_Ak6 = H.typeLiteral("StrandCreateStop"); + C.Type__$StrandCreateStop_89t = H.typeLiteral("_$StrandCreateStop"); + C.List_goM = H.setRuntimeTypeInfo(makeConstList([C.Type_StrandCreateStop_Ak6, C.Type__$StrandCreateStop_89t]), type$.JSArray_legacy_Type); + C.Type__$DNAExtensionsMove_ES1 = H.typeLiteral("_$DNAExtensionsMove"); + C.List_grL = H.setRuntimeTypeInfo(makeConstList([C.Type_DNAExtensionsMove_0My, C.Type__$DNAExtensionsMove_ES1]), type$.JSArray_legacy_Type); + C.List_groove_angle = H.setRuntimeTypeInfo(makeConstList(["groove_angle"]), type$.JSArray_legacy_String); + C.Type_PlateWellVendorFieldsAssign_d1W = H.typeLiteral("PlateWellVendorFieldsAssign"); + C.Type_NME = H.typeLiteral("_$PlateWellVendorFieldsAssign"); + C.List_gsm = H.setRuntimeTypeInfo(makeConstList([C.Type_PlateWellVendorFieldsAssign_d1W, C.Type_NME]), type$.JSArray_legacy_Type); + C.Type_SelectModesSet_erW = H.typeLiteral("SelectModesSet"); + C.Type__$SelectModesSet_P5Z = H.typeLiteral("_$SelectModesSet"); + C.List_gsm0 = H.setRuntimeTypeInfo(makeConstList([C.Type_SelectModesSet_erW, C.Type__$SelectModesSet_P5Z]), type$.JSArray_legacy_Type); + C.List_hLM = H.setRuntimeTypeInfo(makeConstList([C.Grid_square, C.Grid_hex, C.Grid_honeycomb, C.Grid_none]), H.findType("JSArray")); + C.Type_HelixGroupMoveStart_RyU = H.typeLiteral("HelixGroupMoveStart"); + C.Type__$HelixGroupMoveStart_0 = H.typeLiteral("_$HelixGroupMoveStart"); + C.List_hkU = H.setRuntimeTypeInfo(makeConstList([C.Type_HelixGroupMoveStart_RyU, C.Type__$HelixGroupMoveStart_0]), type$.JSArray_legacy_Type); + C.List_i3t = H.setRuntimeTypeInfo(makeConstList([1, 2, 3, 4, 5, 7, 9, 13, 17, 25, 33, 49, 65, 97, 129, 193, 257, 385, 513, 769, 1025, 1537, 2049, 3073, 4097, 6145, 8193, 12289, 16385, 24577]), type$.JSArray_legacy_int); + C.Type_Autostaple_aZ8 = H.typeLiteral("Autostaple"); + C.Type__$Autostaple_EyI = H.typeLiteral("_$Autostaple"); + C.List_i9o = H.setRuntimeTypeInfo(makeConstList([C.Type_Autostaple_aZ8, C.Type__$Autostaple_EyI]), type$.JSArray_legacy_Type); + C.Type_uUr = H.typeLiteral("HelixGroupMoveAdjustTranslation"); + C.Type_irK = H.typeLiteral("_$HelixGroupMoveAdjustTranslation"); + C.List_iHz = H.setRuntimeTypeInfo(makeConstList([C.Type_uUr, C.Type_irK]), type$.JSArray_legacy_Type); + C.List_iYO = H.setRuntimeTypeInfo(makeConstList([0, 5, 16, 5, 8, 5, 24, 5, 4, 5, 20, 5, 12, 5, 28, 5, 2, 5, 18, 5, 10, 5, 26, 5, 6, 5, 22, 5, 14, 5, 30, 5, 1, 5, 17, 5, 9, 5, 25, 5, 5, 5, 21, 5, 13, 5, 29, 5, 3, 5, 19, 5, 11, 5, 27, 5, 7, 5, 23, 5]), type$.JSArray_legacy_int); + C.Type__$GridPosition_aU7 = H.typeLiteral("_$GridPosition"); + C.List_ibp = H.setRuntimeTypeInfo(makeConstList([C.Type_GridPosition_IuH, C.Type__$GridPosition_aU7]), type$.JSArray_legacy_Type); + C.List_idt = H.setRuntimeTypeInfo(makeConstList(["idt"]), type$.JSArray_legacy_String); + C.List_idt_text = H.setRuntimeTypeInfo(makeConstList(["idt_text"]), type$.JSArray_legacy_String); + C.Type_DNAEndsMoveStart_J4X = H.typeLiteral("DNAEndsMoveStart"); + C.Type__$DNAEndsMoveStart_8I8 = H.typeLiteral("_$DNAEndsMoveStart"); + C.List_ifL = H.setRuntimeTypeInfo(makeConstList([C.Type_DNAEndsMoveStart_J4X, C.Type__$DNAEndsMoveStart_8I8]), type$.JSArray_legacy_Type); + C.Type_SelectModeToggle_2Hm = H.typeLiteral("SelectModeToggle"); + C.Type__$SelectModeToggle_RWp = H.typeLiteral("_$SelectModeToggle"); + C.List_ifn = H.setRuntimeTypeInfo(makeConstList([C.Type_SelectModeToggle_2Hm, C.Type__$SelectModeToggle_RWp]), type$.JSArray_legacy_Type); + C.Type_DialogFloat_cQL = H.typeLiteral("DialogFloat"); + C.Type__$DialogFloat_EOY = H.typeLiteral("_$DialogFloat"); + C.List_ijl = H.setRuntimeTypeInfo(makeConstList([C.Type_DialogFloat_cQL, C.Type__$DialogFloat_EOY]), type$.JSArray_legacy_Type); + C.List_in0 = H.setRuntimeTypeInfo(makeConstList(["font-size", "font-family", "font-weight", "text-anchor", "dominant-baseline", "fill", "letter-spacing"]), type$.JSArray_legacy_String); + C.Type_SelectModesAdd_erW = H.typeLiteral("SelectModesAdd"); + C.Type__$SelectModesAdd_cgC = H.typeLiteral("_$SelectModesAdd"); + C.List_ivT = H.setRuntimeTypeInfo(makeConstList([C.Type_SelectModesAdd_erW, C.Type__$SelectModesAdd_cgC]), type$.JSArray_legacy_Type); + C.Type_SliceBarMoveStart_3p4 = H.typeLiteral("SliceBarMoveStart"); + C.Type__$SliceBarMoveStart_yd2 = H.typeLiteral("_$SliceBarMoveStart"); + C.List_izV0 = H.setRuntimeTypeInfo(makeConstList([C.Type_SliceBarMoveStart_3p4, C.Type__$SliceBarMoveStart_yd2]), type$.JSArray_legacy_Type); + C.Type_GroupDisplayedChange_RtW = H.typeLiteral("GroupDisplayedChange"); + C.Type__$GroupDisplayedChange_4aQ = H.typeLiteral("_$GroupDisplayedChange"); + C.List_j6U = H.setRuntimeTypeInfo(makeConstList([C.Type_GroupDisplayedChange_RtW, C.Type__$GroupDisplayedChange_4aQ]), type$.JSArray_legacy_Type); + C.Type_ModificationAdd_zkc = H.typeLiteral("ModificationAdd"); + C.Type__$ModificationAdd_YfA = H.typeLiteral("_$ModificationAdd"); + C.List_jDT = H.setRuntimeTypeInfo(makeConstList([C.Type_ModificationAdd_zkc, C.Type__$ModificationAdd_YfA]), type$.JSArray_legacy_Type); + C.Type_SelectionBoxRemove_WXD = H.typeLiteral("SelectionBoxRemove"); + C.Type__$SelectionBoxRemove_6Ps = H.typeLiteral("_$SelectionBoxRemove"); + C.List_jYc = H.setRuntimeTypeInfo(makeConstList([C.Type_SelectionBoxRemove_WXD, C.Type__$SelectionBoxRemove_6Ps]), type$.JSArray_legacy_Type); + C.Type__$MouseoverParams_3GN = H.typeLiteral("_$MouseoverParams"); + C.List_jlU = H.setRuntimeTypeInfo(makeConstList([C.Type_MouseoverParams_ArU, C.Type__$MouseoverParams_3GN]), type$.JSArray_legacy_Type); + C.Type_ZoomSpeedSet_429 = H.typeLiteral("ZoomSpeedSet"); + C.Type__$ZoomSpeedSet_4CA = H.typeLiteral("_$ZoomSpeedSet"); + C.List_joV = H.setRuntimeTypeInfo(makeConstList([C.Type_ZoomSpeedSet_429, C.Type__$ZoomSpeedSet_4CA]), type$.JSArray_legacy_Type); + C.Type_LoopoutsLengthChange_sDv = H.typeLiteral("LoopoutsLengthChange"); + C.Type__$LoopoutsLengthChange_Odg = H.typeLiteral("_$LoopoutsLengthChange"); + C.List_kTd = H.setRuntimeTypeInfo(makeConstList([C.Type_LoopoutsLengthChange_sDv, C.Type__$LoopoutsLengthChange_Odg]), type$.JSArray_legacy_Type); + C.Type_GroupAdd_0 = H.typeLiteral("GroupAdd"); + C.Type__$GroupAdd_33h = H.typeLiteral("_$GroupAdd"); + C.List_kWG = H.setRuntimeTypeInfo(makeConstList([C.Type_GroupAdd_0, C.Type__$GroupAdd_33h]), type$.JSArray_legacy_Type); + C.Type_OxdnaExport_fsZ = H.typeLiteral("OxdnaExport"); + C.Type__$OxdnaExport_Lln = H.typeLiteral("_$OxdnaExport"); + C.List_kaS = H.setRuntimeTypeInfo(makeConstList([C.Type_OxdnaExport_fsZ, C.Type__$OxdnaExport_Lln]), type$.JSArray_legacy_Type); + C.List_key_ref_children = H.setRuntimeTypeInfo(makeConstList(["key", "ref", "children"]), type$.JSArray_legacy_String); + C.Type_DeletionAdd_66k = H.typeLiteral("DeletionAdd"); + C.Type__$DeletionAdd_6hp = H.typeLiteral("_$DeletionAdd"); + C.List_kjq = H.setRuntimeTypeInfo(makeConstList([C.Type_DeletionAdd_66k, C.Type__$DeletionAdd_6hp]), type$.JSArray_legacy_Type); + C.Type_DNAEndsMoveStop_0 = H.typeLiteral("DNAEndsMoveStop"); + C.Type__$DNAEndsMoveStop_oTd = H.typeLiteral("_$DNAEndsMoveStop"); + C.List_kmC = H.setRuntimeTypeInfo(makeConstList([C.Type_DNAEndsMoveStop_0, C.Type__$DNAEndsMoveStop_oTd]), type$.JSArray_legacy_Type); + C.Type_HelixMaxOffsetSetByDomains_6i0 = H.typeLiteral("HelixMaxOffsetSetByDomains"); + C.Type__$HelixMaxOffsetSetByDomains_MDT = H.typeLiteral("_$HelixMaxOffsetSetByDomains"); + C.List_kmC0 = H.setRuntimeTypeInfo(makeConstList([C.Type_HelixMaxOffsetSetByDomains_6i0, C.Type__$HelixMaxOffsetSetByDomains_MDT]), type$.JSArray_legacy_Type); + C.Type_idv = H.typeLiteral("ShowLoopoutExtensionLengthSet"); + C.Type_1Ch = H.typeLiteral("_$ShowLoopoutExtensionLengthSet"); + C.List_knt0 = H.setRuntimeTypeInfo(makeConstList([C.Type_idv, C.Type_1Ch]), type$.JSArray_legacy_Type); + C.Type_ShowSliceBarSet_wo4 = H.typeLiteral("ShowSliceBarSet"); + C.Type__$ShowSliceBarSet_EyI = H.typeLiteral("_$ShowSliceBarSet"); + C.List_knt1 = H.setRuntimeTypeInfo(makeConstList([C.Type_ShowSliceBarSet_wo4, C.Type__$ShowSliceBarSet_EyI]), type$.JSArray_legacy_Type); + C.List_knt = H.setRuntimeTypeInfo(makeConstList([0, 1, 3, 7, 15, 31, 63, 127, 255]), type$.JSArray_legacy_int); + C.Type_cFY = H.typeLiteral("StrandOrSubstrandColorPickerShow"); + C.Type_lq40 = H.typeLiteral("_$StrandOrSubstrandColorPickerShow"); + C.List_ky0 = H.setRuntimeTypeInfo(makeConstList([C.Type_cFY, C.Type_lq40]), type$.JSArray_legacy_Type); + C.Type_oKc = H.typeLiteral("SetDisplayBaseOffsetsOfMajorTicksOnlyFirstHelix"); + C.Type_uMb = H.typeLiteral("_$SetDisplayBaseOffsetsOfMajorTicksOnlyFirstHelix"); + C.List_kzZ = H.setRuntimeTypeInfo(makeConstList([C.Type_oKc, C.Type_uMb]), type$.JSArray_legacy_Type); + C.Type__$Address_wPM = H.typeLiteral("_$Address"); + C.List_liY = H.setRuntimeTypeInfo(makeConstList([C.Type_Address_WHr, C.Type__$Address_wPM]), type$.JSArray_legacy_Type); + C.List_loopout_label_name_color = H.setRuntimeTypeInfo(makeConstList(["loopout", "label", "name", "color"]), type$.JSArray_legacy_String); + C.Type_StrandOrSubstrandColorSet_uSA = H.typeLiteral("StrandOrSubstrandColorSet"); + C.Type__$StrandOrSubstrandColorSet_UAS = H.typeLiteral("_$StrandOrSubstrandColorSet"); + C.List_m1u = H.setRuntimeTypeInfo(makeConstList([C.Type_StrandOrSubstrandColorSet_uSA, C.Type__$StrandOrSubstrandColorSet_UAS]), type$.JSArray_legacy_Type); + C.Type__$SelectionBox_i7R = H.typeLiteral("_$SelectionBox"); + C.List_mHo = H.setRuntimeTypeInfo(makeConstList([C.Type_SelectionBox_cdS, C.Type__$SelectionBox_i7R]), type$.JSArray_legacy_Type); + C.Type_SetAppUIStateStorable_yFU = H.typeLiteral("SetAppUIStateStorable"); + C.Type__$SetAppUIStateStorable_SvO = H.typeLiteral("_$SetAppUIStateStorable"); + C.List_mOq = H.setRuntimeTypeInfo(makeConstList([C.Type_SetAppUIStateStorable_yFU, C.Type__$SetAppUIStateStorable_SvO]), type$.JSArray_legacy_Type); + C.Type_5qD = H.typeLiteral("HelicesPositionsSetBasedOnCrossovers"); + C.Type_xeg = H.typeLiteral("_$HelicesPositionsSetBasedOnCrossovers"); + C.List_mio = H.setRuntimeTypeInfo(makeConstList([C.Type_5qD, C.Type_xeg]), type$.JSArray_legacy_Type); + C.Type_JoinStrandsByCrossover_AKW = H.typeLiteral("JoinStrandsByCrossover"); + C.Type__$JoinStrandsByCrossover_wZL = H.typeLiteral("_$JoinStrandsByCrossover"); + C.List_mq4 = H.setRuntimeTypeInfo(makeConstList([C.Type_JoinStrandsByCrossover_AKW, C.Type__$JoinStrandsByCrossover_wZL]), type$.JSArray_legacy_Type); + C.Type_ExtensionsNumBasesChange_uww = H.typeLiteral("ExtensionsNumBasesChange"); + C.Type__$ExtensionsNumBasesChange_69t = H.typeLiteral("_$ExtensionsNumBasesChange"); + C.List_mtF = H.setRuntimeTypeInfo(makeConstList([C.Type_ExtensionsNumBasesChange_uww, C.Type__$ExtensionsNumBasesChange_69t]), type$.JSArray_legacy_Type); + C.Type__$HelixGroup_8aB = H.typeLiteral("_$HelixGroup"); + C.List_n7k = H.setRuntimeTypeInfo(makeConstList([C.Type_HelixGroup_tsp, C.Type__$HelixGroup_8aB]), type$.JSArray_legacy_Type); + C.Type_PrepareToLoadDNAFile_0qq = H.typeLiteral("PrepareToLoadDNAFile"); + C.Type__$PrepareToLoadDNAFile_mdk = H.typeLiteral("_$PrepareToLoadDNAFile"); + C.List_nFv = H.setRuntimeTypeInfo(makeConstList([C.Type_PrepareToLoadDNAFile_0qq, C.Type__$PrepareToLoadDNAFile_mdk]), type$.JSArray_legacy_Type); + C.Type_DialogInteger_gsm = H.typeLiteral("DialogInteger"); + C.Type__$DialogInteger_q4m = H.typeLiteral("_$DialogInteger"); + C.List_nKT = H.setRuntimeTypeInfo(makeConstList([C.Type_DialogInteger_gsm, C.Type__$DialogInteger_q4m]), type$.JSArray_legacy_Type); + C.Type_GridChange_3ad = H.typeLiteral("GridChange"); + C.Type__$GridChange_Ohn = H.typeLiteral("_$GridChange"); + C.List_nNZ = H.setRuntimeTypeInfo(makeConstList([C.Type_GridChange_3ad, C.Type__$GridChange_Ohn]), type$.JSArray_legacy_Type); + C.Type_PlateWellVendorFieldsRemove_ZKs = H.typeLiteral("PlateWellVendorFieldsRemove"); + C.Type_NME0 = H.typeLiteral("_$PlateWellVendorFieldsRemove"); + C.List_nXg = H.setRuntimeTypeInfo(makeConstList([C.Type_PlateWellVendorFieldsRemove_ZKs, C.Type_NME0]), type$.JSArray_legacy_Type); + C.Type__$ModificationInternal_cUt = H.typeLiteral("_$ModificationInternal"); + C.List_neG = H.setRuntimeTypeInfo(makeConstList([C.Type_ModificationInternal_7vk, C.Type__$ModificationInternal_cUt]), type$.JSArray_legacy_Type); + C.Type_SelectOrToggleItems_iDZ = H.typeLiteral("SelectOrToggleItems"); + C.Type__$SelectOrToggleItems_Guu = H.typeLiteral("_$SelectOrToggleItems"); + C.List_ntz = H.setRuntimeTypeInfo(makeConstList([C.Type_SelectOrToggleItems_iDZ, C.Type__$SelectOrToggleItems_Guu]), type$.JSArray_legacy_Type); + C.List_nxB = H.setRuntimeTypeInfo(makeConstList([0, 0, 24576, 1023, 65534, 34815, 65534, 18431]), type$.JSArray_legacy_int); + C.Type_StrandsMoveStart_6rf = H.typeLiteral("StrandsMoveStart"); + C.Type__$StrandsMoveStart_2rX = H.typeLiteral("_$StrandsMoveStart"); + C.List_nz1 = H.setRuntimeTypeInfo(makeConstList([C.Type_StrandsMoveStart_6rf, C.Type__$StrandsMoveStart_2rX]), type$.JSArray_legacy_Type); + C.Type__$ExportSvg_bFE = H.typeLiteral("_$ExportSvg"); + C.List_oBb = H.setRuntimeTypeInfo(makeConstList([C.Type_ExportSvg_Gt8, C.Type__$ExportSvg_bFE]), type$.JSArray_legacy_Type); + C.Type_8eb = H.typeLiteral("DefaultCrossoverTypeForSettingHelixRollsSet"); + C.Type_JfL = H.typeLiteral("_$DefaultCrossoverTypeForSettingHelixRollsSet"); + C.List_oXN = H.setRuntimeTypeInfo(makeConstList([C.Type_8eb, C.Type_JfL]), type$.JSArray_legacy_Type); + C.Type_GeometrySet_GR2 = H.typeLiteral("GeometrySet"); + C.Type__$GeometrySet_xHw = H.typeLiteral("_$GeometrySet"); + C.List_olV = H.setRuntimeTypeInfo(makeConstList([C.Type_GeometrySet_GR2, C.Type__$GeometrySet_xHw]), type$.JSArray_legacy_Type); + C.List_origin = H.setRuntimeTypeInfo(makeConstList(["origin"]), type$.JSArray_legacy_String); + C.Type__$ExampleDesigns_Am8 = H.typeLiteral("_$ExampleDesigns"); + C.List_ouD = H.setRuntimeTypeInfo(makeConstList([C.Type_ExampleDesigns_cWU, C.Type__$ExampleDesigns_Am8]), type$.JSArray_legacy_Type); + C.Type_InsertionAdd_bXX = H.typeLiteral("InsertionAdd"); + C.Type__$InsertionAdd_cJC = H.typeLiteral("_$InsertionAdd"); + C.List_oyU = H.setRuntimeTypeInfo(makeConstList([C.Type_InsertionAdd_bXX, C.Type__$InsertionAdd_cJC]), type$.JSArray_legacy_Type); + C.Type_StrandLabelFontSizeSet_EjN = H.typeLiteral("StrandLabelFontSizeSet"); + C.Type__$StrandLabelFontSizeSet_YKi = H.typeLiteral("_$StrandLabelFontSizeSet"); + C.List_oyn = H.setRuntimeTypeInfo(makeConstList([C.Type_StrandLabelFontSizeSet_EjN, C.Type__$StrandLabelFontSizeSet_YKi]), type$.JSArray_legacy_Type); + C.Type__$ContextMenuItem_aOd = H.typeLiteral("_$ContextMenuItem"); + C.List_pU4 = H.setRuntimeTypeInfo(makeConstList([C.Type_ContextMenuItem_c0h, C.Type__$ContextMenuItem_aOd]), type$.JSArray_legacy_Type); + C.Type_GroupChange_6pr = H.typeLiteral("GroupChange"); + C.Type__$GroupChange_Wnx = H.typeLiteral("_$GroupChange"); + C.List_pUC = H.setRuntimeTypeInfo(makeConstList([C.Type_GroupChange_6pr, C.Type__$GroupChange_Wnx]), type$.JSArray_legacy_Type); + C.List_parameters = H.setRuntimeTypeInfo(makeConstList(["parameters"]), type$.JSArray_legacy_String); + C.Type_EditModeToggle_gsM = H.typeLiteral("EditModeToggle"); + C.Type__$EditModeToggle_ef1 = H.typeLiteral("_$EditModeToggle"); + C.List_q7D = H.setRuntimeTypeInfo(makeConstList([C.Type_EditModeToggle_gsM, C.Type__$EditModeToggle_ef1]), type$.JSArray_legacy_Type); + C.Type_WVp = H.typeLiteral("HelixMinOffsetSetByDomainsAll"); + C.Type_RkP0 = H.typeLiteral("_$HelixMinOffsetSetByDomainsAll"); + C.List_q96 = H.setRuntimeTypeInfo(makeConstList([C.Type_WVp, C.Type_RkP0]), type$.JSArray_legacy_Type); + C.Type_ShowMouseoverRectSet_9we = H.typeLiteral("ShowMouseoverRectSet"); + C.Type__$ShowMouseoverRectSet_G3z = H.typeLiteral("_$ShowMouseoverRectSet"); + C.List_qKv = H.setRuntimeTypeInfo(makeConstList([C.Type_ShowMouseoverRectSet_9we, C.Type__$ShowMouseoverRectSet_G3z]), type$.JSArray_legacy_Type); + C.Type__$SelectModeState_uYn = H.typeLiteral("_$SelectModeState"); + C.List_qLL = H.setRuntimeTypeInfo(makeConstList([C.Type_SelectModeState_qx4, C.Type__$SelectModeState_uYn]), type$.JSArray_legacy_Type); + C.Type_DeletionRemove_6PY = H.typeLiteral("DeletionRemove"); + C.Type__$DeletionRemove_Vyt = H.typeLiteral("_$DeletionRemove"); + C.List_qNA0 = H.setRuntimeTypeInfo(makeConstList([C.Type_DeletionRemove_6PY, C.Type__$DeletionRemove_Vyt]), type$.JSArray_legacy_Type); + C.List_qNA = H.setRuntimeTypeInfo(makeConstList([0, 0, 32754, 11263, 65534, 34815, 65534, 18431]), type$.JSArray_legacy_int); + C.List_qQn = H.setRuntimeTypeInfo(makeConstList([0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 2, 2, 2, 2, 3, 3, 3, 3, 4, 4, 4, 4, 5, 5, 5, 5, 0]), type$.JSArray_legacy_int); + C.List_qQn0 = H.setRuntimeTypeInfo(makeConstList([0, 1, 2, 3, 4, 5, 6, 7, 8, 10, 12, 14, 16, 20, 24, 28, 32, 40, 48, 56, 64, 80, 96, 112, 128, 160, 192, 224, 0]), type$.JSArray_legacy_int); + C.List_qQn1 = H.setRuntimeTypeInfo(makeConstList([3, 4, 5, 6, 7, 8, 9, 10, 11, 13, 15, 17, 19, 23, 27, 31, 35, 43, 51, 59, 67, 83, 99, 115, 131, 163, 195, 227, 258]), type$.JSArray_legacy_int); + C.Type_LoadDnaSequenceImageUri_DtQ = H.typeLiteral("LoadDnaSequenceImageUri"); + C.Type__$LoadDnaSequenceImageUri_L1G = H.typeLiteral("_$LoadDnaSequenceImageUri"); + C.List_qbL = H.setRuntimeTypeInfo(makeConstList([C.Type_LoadDnaSequenceImageUri_DtQ, C.Type__$LoadDnaSequenceImageUri_L1G]), type$.JSArray_legacy_Type); + C.List_qg4 = H.setRuntimeTypeInfo(makeConstList([0, 0, 65490, 12287, 65535, 34815, 65534, 18431]), type$.JSArray_legacy_int); + C.Type_HelixSelectionsAdjust_Gx1 = H.typeLiteral("HelixSelectionsAdjust"); + C.Type__$HelixSelectionsAdjust_iV0 = H.typeLiteral("_$HelixSelectionsAdjust"); + C.List_qr1 = H.setRuntimeTypeInfo(makeConstList([C.Type_HelixSelectionsAdjust_Gx1, C.Type__$HelixSelectionsAdjust_iV0]), type$.JSArray_legacy_Type); + C.List_right = H.setRuntimeTypeInfo(makeConstList(["right"]), type$.JSArray_legacy_String); + C.Type_DialogHide_0a1 = H.typeLiteral("DialogHide"); + C.Type__$DialogHide_at4 = H.typeLiteral("_$DialogHide"); + C.List_ro0 = H.setRuntimeTypeInfo(makeConstList([C.Type_DialogHide_0a1, C.Type__$DialogHide_at4]), type$.JSArray_legacy_Type); + C.Type_PotentialCrossoverRemove_wsa = H.typeLiteral("PotentialCrossoverRemove"); + C.Type__$PotentialCrossoverRemove_7BT = H.typeLiteral("_$PotentialCrossoverRemove"); + C.List_rv4 = H.setRuntimeTypeInfo(makeConstList([C.Type_PotentialCrossoverRemove_wsa, C.Type__$PotentialCrossoverRemove_7BT]), type$.JSArray_legacy_Type); + C.Type__$AppUIStateStorables_fqj = H.typeLiteral("_$AppUIStateStorables"); + C.List_s9c = H.setRuntimeTypeInfo(makeConstList([C.Type_AppUIStateStorables_AS6, C.Type__$AppUIStateStorables_fqj]), type$.JSArray_legacy_Type); + C.List_sEI = H.setRuntimeTypeInfo(makeConstList(["name", "scale", "purification", "plate", "well"]), type$.JSArray_legacy_String); + C.Type_EditModesSet_u3m = H.typeLiteral("EditModesSet"); + C.Type__$EditModesSet_fTF = H.typeLiteral("_$EditModesSet"); + C.List_sI7 = H.setRuntimeTypeInfo(makeConstList([C.Type_EditModesSet_u3m, C.Type__$EditModesSet_fTF]), type$.JSArray_legacy_Type); + C.Type_BasePairTypeSet_Fcu = H.typeLiteral("BasePairTypeSet"); + C.Type__$BasePairTypeSet_ES6 = H.typeLiteral("_$BasePairTypeSet"); + C.List_sNW = H.setRuntimeTypeInfo(makeConstList([C.Type_BasePairTypeSet_Fcu, C.Type__$BasePairTypeSet_ES6]), type$.JSArray_legacy_Type); + C.Type_DomainsMoveAdjustAddress_woc = H.typeLiteral("DomainsMoveAdjustAddress"); + C.Type__$DomainsMoveAdjustAddress_8FR = H.typeLiteral("_$DomainsMoveAdjustAddress"); + C.List_ssD = H.setRuntimeTypeInfo(makeConstList([C.Type_DomainsMoveAdjustAddress_woc, C.Type__$DomainsMoveAdjustAddress_8FR]), type$.JSArray_legacy_Type); + C.List_substrands = H.setRuntimeTypeInfo(makeConstList(["substrands"]), type$.JSArray_legacy_String); + C.Type__$HelixGroupMove_gcy = H.typeLiteral("_$HelixGroupMove"); + C.List_sxw = H.setRuntimeTypeInfo(makeConstList([C.Type_HelixGroupMove_sE6, C.Type__$HelixGroupMove_gcy]), type$.JSArray_legacy_Type); + C.Type_LoadingDialogShow_X3n = H.typeLiteral("LoadingDialogShow"); + C.Type__$LoadingDialogShow_mqK = H.typeLiteral("_$LoadingDialogShow"); + C.List_t3J = H.setRuntimeTypeInfo(makeConstList([C.Type_LoadingDialogShow_X3n, C.Type__$LoadingDialogShow_mqK]), type$.JSArray_legacy_Type); + C.Type_ExtensionAdd_6eX = H.typeLiteral("ExtensionAdd"); + C.Type__$ExtensionAdd_qns = H.typeLiteral("_$ExtensionAdd"); + C.List_tI7 = H.setRuntimeTypeInfo(makeConstList([C.Type_ExtensionAdd_6eX, C.Type__$ExtensionAdd_qns]), type$.JSArray_legacy_Type); + C.Type_EmR = H.typeLiteral("SetExportSvgActionDelayedForPngCache"); + C.Type_ia7 = H.typeLiteral("_$SetExportSvgActionDelayedForPngCache"); + C.List_tqs = H.setRuntimeTypeInfo(makeConstList([C.Type_EmR, C.Type_ia7]), type$.JSArray_legacy_Type); + C.Type__$DomainsMove_4QF = H.typeLiteral("_$DomainsMove"); + C.List_u2S = H.setRuntimeTypeInfo(makeConstList([C.Type_DomainsMove_Js5, C.Type__$DomainsMove_4QF]), type$.JSArray_legacy_Type); + C.Type_MouseGridPositionSideUpdate_fvk = H.typeLiteral("MouseGridPositionSideUpdate"); + C.Type_Lpb = H.typeLiteral("_$MouseGridPositionSideUpdate"); + C.List_u77 = H.setRuntimeTypeInfo(makeConstList([C.Type_MouseGridPositionSideUpdate_fvk, C.Type_Lpb]), type$.JSArray_legacy_Type); + C.Type_MajorTickWidthFontSizeSet_ORm = H.typeLiteral("MajorTickWidthFontSizeSet"); + C.Type__$MajorTickWidthFontSizeSet_h2N = H.typeLiteral("_$MajorTickWidthFontSizeSet"); + C.List_u9T = H.setRuntimeTypeInfo(makeConstList([C.Type_MajorTickWidthFontSizeSet_ORm, C.Type__$MajorTickWidthFontSizeSet_h2N]), type$.JSArray_legacy_Type); + C.Type__$Helix_gkc = H.typeLiteral("_$Helix"); + C.List_uHJ = H.setRuntimeTypeInfo(makeConstList([C.Type_Helix_cIf, C.Type__$Helix_gkc]), type$.JSArray_legacy_Type); + C.List_uSC0 = H.setRuntimeTypeInfo(makeConstList([0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 3, 7]), type$.JSArray_legacy_int); + C.List_uSC = H.setRuntimeTypeInfo(makeConstList([16, 17, 18, 0, 8, 7, 9, 6, 10, 5, 11, 4, 12, 3, 13, 2, 14, 1, 15]), type$.JSArray_legacy_int); + C.Type_SubstrandLabelSet_hid = H.typeLiteral("SubstrandLabelSet"); + C.Type__$SubstrandLabelSet_0Iu = H.typeLiteral("_$SubstrandLabelSet"); + C.List_ucM = H.setRuntimeTypeInfo(makeConstList([C.Type_SubstrandLabelSet_hid, C.Type__$SubstrandLabelSet_0Iu]), type$.JSArray_legacy_Type); + C.Type_ShowModificationsSet_ouN = H.typeLiteral("ShowModificationsSet"); + C.Type__$ShowModificationsSet_H6l = H.typeLiteral("_$ShowModificationsSet"); + C.List_urY = H.setRuntimeTypeInfo(makeConstList([C.Type_ShowModificationsSet_ouN, C.Type__$ShowModificationsSet_H6l]), type$.JSArray_legacy_Type); + C.Type_DialogTextArea_fPs = H.typeLiteral("DialogTextArea"); + C.Type__$DialogTextArea_8kG = H.typeLiteral("_$DialogTextArea"); + C.List_uwZ = H.setRuntimeTypeInfo(makeConstList([C.Type_DialogTextArea_fPs, C.Type__$DialogTextArea_8kG]), type$.JSArray_legacy_Type); + C.Type_893 = H.typeLiteral("_$SelectableModificationInternal"); + C.List_v3C = H.setRuntimeTypeInfo(makeConstList([C.Type_MEg, C.Type_893]), type$.JSArray_legacy_Type); + C.Type_DesignSideRotationData_EGJ = H.typeLiteral("DesignSideRotationData"); + C.Type__$DesignSideRotationData_6Tu = H.typeLiteral("_$DesignSideRotationData"); + C.List_vEs = H.setRuntimeTypeInfo(makeConstList([C.Type_DesignSideRotationData_EGJ, C.Type__$DesignSideRotationData_6Tu]), type$.JSArray_legacy_Type); + C.Type_LoadingDialogHide_eHy = H.typeLiteral("LoadingDialogHide"); + C.Type__$LoadingDialogHide_wk6 = H.typeLiteral("_$LoadingDialogHide"); + C.List_wEo = H.setRuntimeTypeInfo(makeConstList([C.Type_LoadingDialogHide_eHy, C.Type__$LoadingDialogHide_wk6]), type$.JSArray_legacy_Type); + C.Type_Select_eR6 = H.typeLiteral("Select"); + C.Type__$Select_WQs = H.typeLiteral("_$Select"); + C.List_wEo0 = H.setRuntimeTypeInfo(makeConstList([C.Type_Select_eR6, C.Type__$Select_WQs]), type$.JSArray_legacy_Type); + C.Type_SelectionRopeMouseMove_Hx1 = H.typeLiteral("SelectionRopeMouseMove"); + C.Type__$SelectionRopeMouseMove_8I8 = H.typeLiteral("_$SelectionRopeMouseMove"); + C.List_wEo1 = H.setRuntimeTypeInfo(makeConstList([C.Type_SelectionRopeMouseMove_Hx1, C.Type__$SelectionRopeMouseMove_8I8]), type$.JSArray_legacy_Type); + C.Type_SelectionBoxSizeChange_kWM = H.typeLiteral("SelectionBoxSizeChange"); + C.Type__$SelectionBoxSizeChange_uDM = H.typeLiteral("_$SelectionBoxSizeChange"); + C.List_wEs = H.setRuntimeTypeInfo(makeConstList([C.Type_SelectionBoxSizeChange_kWM, C.Type__$SelectionBoxSizeChange_uDM]), type$.JSArray_legacy_Type); + C.List_wSV = H.setRuntimeTypeInfo(makeConstList(["bind", "if", "ref", "repeat", "syntax"]), type$.JSArray_legacy_String); + C.Type_ModificationFontSizeSet_H3E = H.typeLiteral("ModificationFontSizeSet"); + C.Type__$ModificationFontSizeSet_eZY = H.typeLiteral("_$ModificationFontSizeSet"); + C.List_wbQ = H.setRuntimeTypeInfo(makeConstList([C.Type_ModificationFontSizeSet_H3E, C.Type__$ModificationFontSizeSet_eZY]), type$.JSArray_legacy_Type); + C.Type_aPH = H.typeLiteral("DomainsMoveStartSelectedDomains"); + C.Type_gg9 = H.typeLiteral("_$DomainsMoveStartSelectedDomains"); + C.List_wsf = H.setRuntimeTypeInfo(makeConstList([C.Type_aPH, C.Type_gg9]), type$.JSArray_legacy_Type); + C.List_ww80 = H.setRuntimeTypeInfo(makeConstList([23, 114, 69, 56, 80, 144]), type$.JSArray_legacy_int); + C.List_ww8 = H.setRuntimeTypeInfo(makeConstList([49, 65, 89, 38, 83, 89]), type$.JSArray_legacy_int); + C.Type_StrandsReflect_8qt = H.typeLiteral("StrandsReflect"); + C.Type__$StrandsReflect_h00 = H.typeLiteral("_$StrandsReflect"); + C.List_wwi = H.setRuntimeTypeInfo(makeConstList([C.Type_StrandsReflect_8qt, C.Type__$StrandsReflect_h00]), type$.JSArray_legacy_Type); + C.Type__$AddressDifference_IXT = H.typeLiteral("_$AddressDifference"); + C.List_xTK = H.setRuntimeTypeInfo(makeConstList([C.Type_AddressDifference_p4P, C.Type__$AddressDifference_IXT]), type$.JSArray_legacy_Type); + C.Type_ShowDomainLabelsSet_GbU = H.typeLiteral("ShowDomainLabelsSet"); + C.Type__$ShowDomainLabelsSet_oKF = H.typeLiteral("_$ShowDomainLabelsSet"); + C.List_xTV = H.setRuntimeTypeInfo(makeConstList([C.Type_ShowDomainLabelsSet_GbU, C.Type__$ShowDomainLabelsSet_oKF]), type$.JSArray_legacy_Type); + C.Type_HelixAdd_yzz = H.typeLiteral("HelixAdd"); + C.Type__$HelixAdd_690 = H.typeLiteral("_$HelixAdd"); + C.List_xw8 = H.setRuntimeTypeInfo(makeConstList([C.Type_HelixAdd_yzz, C.Type__$HelixAdd_690]), type$.JSArray_legacy_Type); + C.Type_UndoRedoItem_upI = H.typeLiteral("UndoRedoItem"); + C.Type__$UndoRedoItem_Aec = H.typeLiteral("_$UndoRedoItem"); + C.List_y1j = H.setRuntimeTypeInfo(makeConstList([C.Type_UndoRedoItem_upI, C.Type__$UndoRedoItem_Aec]), type$.JSArray_legacy_Type); + C.StrandOrder_five_prime = new O.StrandOrder("five_prime"); + C.StrandOrder_three_prime = new O.StrandOrder("three_prime"); + C.StrandOrder_five_or_three_prime = new O.StrandOrder("five_or_three_prime"); + C.StrandOrder_top_left_domain_start = new O.StrandOrder("top_left_domain_start"); + C.List_yHF = H.setRuntimeTypeInfo(makeConstList([C.StrandOrder_five_prime, C.StrandOrder_three_prime, C.StrandOrder_five_or_three_prime, C.StrandOrder_top_left_domain_start]), H.findType("JSArray")); + C.Type_ThrottledActionNonFast_mpZ = H.typeLiteral("ThrottledActionNonFast"); + C.Type__$ThrottledActionNonFast_UEW = H.typeLiteral("_$ThrottledActionNonFast"); + C.List_yJg = H.setRuntimeTypeInfo(makeConstList([C.Type_ThrottledActionNonFast_mpZ, C.Type__$ThrottledActionNonFast_UEW]), type$.JSArray_legacy_Type); + C.Type_HelixMajorTickDistanceChange_yTb = H.typeLiteral("HelixMajorTickDistanceChange"); + C.Type_G3O = H.typeLiteral("_$HelixMajorTickDistanceChange"); + C.List_yP5 = H.setRuntimeTypeInfo(makeConstList([C.Type_HelixMajorTickDistanceChange_yTb, C.Type_G3O]), type$.JSArray_legacy_Type); + C.Type_ReplaceStrands_aoE = H.typeLiteral("ReplaceStrands"); + C.Type__$ReplaceStrands_yTp = H.typeLiteral("_$ReplaceStrands"); + C.List_yS0 = H.setRuntimeTypeInfo(makeConstList([C.Type_ReplaceStrands_aoE, C.Type__$ReplaceStrands_yTp]), type$.JSArray_legacy_Type); + C.Type_InsertionRemove_KKi = H.typeLiteral("InsertionRemove"); + C.Type__$InsertionRemove_irL = H.typeLiteral("_$InsertionRemove"); + C.List_yXb = H.setRuntimeTypeInfo(makeConstList([C.Type_InsertionRemove_KKi, C.Type__$InsertionRemove_irL]), type$.JSArray_legacy_Type); + C.Type_HelixMajorTickStartChange_4QF = H.typeLiteral("HelixMajorTickStartChange"); + C.Type__$HelixMajorTickStartChange_uPC = H.typeLiteral("_$HelixMajorTickStartChange"); + C.List_ygQ = H.setRuntimeTypeInfo(makeConstList([C.Type_HelixMajorTickStartChange_4QF, C.Type__$HelixMajorTickStartChange_uPC]), type$.JSArray_legacy_Type); + C.List_yjH = H.setRuntimeTypeInfo(makeConstList([C.EditModeChoice_select, C.EditModeChoice_rope_select, C.EditModeChoice_pencil, C.EditModeChoice_nick, C.EditModeChoice_ligate, C.EditModeChoice_insertion, C.EditModeChoice_deletion, C.EditModeChoice_move_group]), type$.JSArray_legacy_EditModeChoice); + C.List_yrN = H.setRuntimeTypeInfo(makeConstList(["A::href", "AREA::href", "BLOCKQUOTE::cite", "BODY::background", "COMMAND::icon", "DEL::cite", "FORM::action", "IMG::src", "INPUT::src", "INS::cite", "Q::cite", "VIDEO::poster"]), type$.JSArray_legacy_String); + C.Type__$VendorFields_MEg = H.typeLiteral("_$VendorFields"); + C.List_zLk = H.setRuntimeTypeInfo(makeConstList([C.Type_VendorFields_9Ml, C.Type__$VendorFields_MEg]), type$.JSArray_legacy_Type); + C.List_zNb = H.setRuntimeTypeInfo(makeConstList(["extension_num_bases", "is_5p", "display_length", "display_angle", "label", "name", "color"]), type$.JSArray_legacy_String); + C.List_z_step = H.setRuntimeTypeInfo(makeConstList(["z_step"]), type$.JSArray_legacy_String); + C.Type_SelectableInsertion_omH = H.typeLiteral("SelectableInsertion"); + C.Type__$SelectableInsertion_8RJ = H.typeLiteral("_$SelectableInsertion"); + C.List_zc5 = H.setRuntimeTypeInfo(makeConstList([C.Type_SelectableInsertion_omH, C.Type__$SelectableInsertion_8RJ]), type$.JSArray_legacy_Type); + C.Type_HelixGroupMoveCommit_gc6 = H.typeLiteral("HelixGroupMoveCommit"); + C.Type__$HelixGroupMoveCommit_cKo = H.typeLiteral("_$HelixGroupMoveCommit"); + C.List_ziQ = H.setRuntimeTypeInfo(makeConstList([C.Type_HelixGroupMoveCommit_gc6, C.Type__$HelixGroupMoveCommit_cKo]), type$.JSArray_legacy_Type); + C.Type_ModificationRemove_1Te = H.typeLiteral("ModificationRemove"); + C.Type__$ModificationRemove_yry = H.typeLiteral("_$ModificationRemove"); + C.List_zrt = H.setRuntimeTypeInfo(makeConstList([C.Type_ModificationRemove_1Te, C.Type__$ModificationRemove_yry]), type$.JSArray_legacy_Type); + C.LocalStorageDesignOption_never = new Y.LocalStorageDesignOption("never"); + C.LocalStorageDesignOption_on_edit = new Y.LocalStorageDesignOption("on_edit"); + C.LocalStorageDesignOption_on_exit = new Y.LocalStorageDesignOption("on_exit"); + C.LocalStorageDesignOption_periodic = new Y.LocalStorageDesignOption("periodic"); + C.Type_End3PrimeProps_sDv = H.typeLiteral("End3PrimeProps"); + C.PropDescriptor_4iC = new S.PropDescriptor("End3PrimeProps.on_pointer_down"); + C.PropDescriptor_WnR = new S.PropDescriptor("End3PrimeProps.on_pointer_up"); + C.PropDescriptor_4YV = new S.PropDescriptor("End3PrimeProps.on_mouse_up"); + C.PropDescriptor_Dv6 = new S.PropDescriptor("End3PrimeProps.on_mouse_move"); + C.PropDescriptor_iTd = new S.PropDescriptor("End3PrimeProps.on_mouse_enter"); + C.PropDescriptor_iTd0 = new S.PropDescriptor("End3PrimeProps.on_mouse_leave"); + C.PropDescriptor_uFp = new S.PropDescriptor("End3PrimeProps.classname"); + C.PropDescriptor_eXe = new S.PropDescriptor("End3PrimeProps.pos"); + C.PropDescriptor_OnH = new S.PropDescriptor("End3PrimeProps.color"); + C.PropDescriptor_kEm = new S.PropDescriptor("End3PrimeProps.forward"); + C.PropDescriptor_qrZ = new S.PropDescriptor("End3PrimeProps.id"); + C.PropDescriptor_sgq = new S.PropDescriptor("End3PrimeProps.transform"); + C.List_8kG = H.setRuntimeTypeInfo(makeConstList([C.PropDescriptor_4iC, C.PropDescriptor_WnR, C.PropDescriptor_4YV, C.PropDescriptor_Dv6, C.PropDescriptor_iTd, C.PropDescriptor_iTd0, C.PropDescriptor_uFp, C.PropDescriptor_eXe, C.PropDescriptor_OnH, C.PropDescriptor_kEm, C.PropDescriptor_qrZ, C.PropDescriptor_sgq]), type$.JSArray_legacy_PropDescriptor); + C.List_wEo2 = H.setRuntimeTypeInfo(makeConstList(["End3PrimeProps.on_pointer_down", "End3PrimeProps.on_pointer_up", "End3PrimeProps.on_mouse_up", "End3PrimeProps.on_mouse_move", "End3PrimeProps.on_mouse_enter", "End3PrimeProps.on_mouse_leave", "End3PrimeProps.classname", "End3PrimeProps.pos", "End3PrimeProps.color", "End3PrimeProps.forward", "End3PrimeProps.id", "End3PrimeProps.transform"]), type$.JSArray_legacy_String); + C.PropsMeta_T1X = new S.PropsMeta(C.List_8kG, C.List_wEo2); + C.Map_04CA = new H.GeneralConstantMap([C.Type_End3PrimeProps_sDv, C.PropsMeta_T1X], type$.GeneralConstantMap_of_legacy_Type_and_legacy_PropsMeta); + C.Type_EndMovingProps_idk = H.typeLiteral("EndMovingProps"); + C.PropDescriptor_JmU = new S.PropDescriptor("EndMovingProps.dna_end"); + C.PropDescriptor_3Ds = new S.PropDescriptor("EndMovingProps.helix"); + C.PropDescriptor_Dfi = new S.PropDescriptor("EndMovingProps.color"); + C.PropDescriptor_BkP = new S.PropDescriptor("EndMovingProps.forward"); + C.PropDescriptor_OrN = new S.PropDescriptor("EndMovingProps.is_5p"); + C.PropDescriptor_Q4o = new S.PropDescriptor("EndMovingProps.allowable"); + C.PropDescriptor_RLv = new S.PropDescriptor("EndMovingProps.current_offset"); + C.PropDescriptor_9WE = new S.PropDescriptor("EndMovingProps.render"); + C.PropDescriptor_2Vk = new S.PropDescriptor("EndMovingProps.svg_position_y"); + C.PropDescriptor_Mgg = new S.PropDescriptor("EndMovingProps.transform"); + C.List_ECv = H.setRuntimeTypeInfo(makeConstList([C.PropDescriptor_JmU, C.PropDescriptor_3Ds, C.PropDescriptor_Dfi, C.PropDescriptor_BkP, C.PropDescriptor_OrN, C.PropDescriptor_Q4o, C.PropDescriptor_RLv, C.PropDescriptor_9WE, C.PropDescriptor_2Vk, C.PropDescriptor_Mgg]), type$.JSArray_legacy_PropDescriptor); + C.List_EOY = H.setRuntimeTypeInfo(makeConstList(["EndMovingProps.dna_end", "EndMovingProps.helix", "EndMovingProps.color", "EndMovingProps.forward", "EndMovingProps.is_5p", "EndMovingProps.allowable", "EndMovingProps.current_offset", "EndMovingProps.render", "EndMovingProps.svg_position_y", "EndMovingProps.transform"]), type$.JSArray_legacy_String); + C.PropsMeta_Y3P = new S.PropsMeta(C.List_ECv, C.List_EOY); + C.Map_2NACG = new H.GeneralConstantMap([C.Type_EndMovingProps_idk, C.PropsMeta_Y3P], type$.GeneralConstantMap_of_legacy_Type_and_legacy_PropsMeta); + C.Type_DesignMainWarningStarProps_lCo = H.typeLiteral("DesignMainWarningStarProps"); + C.PropDescriptor_cGl = new S.PropDescriptor("DesignMainWarningStarProps.base_svg_pos"); + C.PropDescriptor_Npb = new S.PropDescriptor("DesignMainWarningStarProps.forward"); + C.PropDescriptor_kYz = new S.PropDescriptor("DesignMainWarningStarProps.geometry"); + C.PropDescriptor_gkc = new S.PropDescriptor("DesignMainWarningStarProps.color"); + C.List_Nm5 = H.setRuntimeTypeInfo(makeConstList([C.PropDescriptor_cGl, C.PropDescriptor_Npb, C.PropDescriptor_kYz, C.PropDescriptor_gkc]), type$.JSArray_legacy_PropDescriptor); + C.List_43h2 = H.setRuntimeTypeInfo(makeConstList(["DesignMainWarningStarProps.base_svg_pos", "DesignMainWarningStarProps.forward", "DesignMainWarningStarProps.geometry", "DesignMainWarningStarProps.color"]), type$.JSArray_legacy_String); + C.PropsMeta_gn0 = new S.PropsMeta(C.List_Nm5, C.List_43h2); + C.Map_2Rifx = new H.GeneralConstantMap([C.Type_DesignMainWarningStarProps_lCo, C.PropsMeta_gn0], type$.GeneralConstantMap_of_legacy_Type_and_legacy_PropsMeta); + C.Map_2Vy1w = new H.GeneralConstantMap([83, C.EditModeChoice_select, 82, C.EditModeChoice_rope_select, 80, C.EditModeChoice_pencil, 78, C.EditModeChoice_nick, 76, C.EditModeChoice_ligate, 73, C.EditModeChoice_insertion, 68, C.EditModeChoice_deletion, 77, C.EditModeChoice_move_group], H.findType("GeneralConstantMap")); + C.Type_DesignMainStrandPropsMixin_22d = H.typeLiteral("DesignMainStrandPropsMixin"); + C.Type_I2O = H.typeLiteral("TransformByHelixGroupPropsMixin"); + C.PropDescriptor_s2f = new S.PropDescriptor("DesignMainStrandPropsMixin.strand"); + C.PropDescriptor_e5Z = new S.PropDescriptor(string$.DesignMStPrsi); + C.PropDescriptor_iFT = new S.PropDescriptor(string$.DesignMStPro); + C.PropDescriptor_mfA = new S.PropDescriptor(string$.DesignMStPrseen); + C.PropDescriptor_ESz = new S.PropDescriptor(string$.DesignMStPrsec); + C.PropDescriptor_MyV = new S.PropDescriptor(string$.DesignMStPrsel); + C.PropDescriptor_efp = new S.PropDescriptor(string$.DesignMStPrseex); + C.PropDescriptor_J6P = new S.PropDescriptor(string$.DesignMStPrsedo); + C.PropDescriptor_Gno = new S.PropDescriptor(string$.DesignMStPrsede); + C.PropDescriptor_iZu = new S.PropDescriptor(string$.DesignMStPrsei); + C.PropDescriptor_yHZ = new S.PropDescriptor(string$.DesignMStPrsem); + C.PropDescriptor_UM5 = new S.PropDescriptor("DesignMainStrandPropsMixin.helices"); + C.PropDescriptor_0 = new S.PropDescriptor("DesignMainStrandPropsMixin.groups"); + C.PropDescriptor_ufl = new S.PropDescriptor("DesignMainStrandPropsMixin.geometry"); + C.PropDescriptor_OWS = new S.PropDescriptor("DesignMainStrandPropsMixin.selected"); + C.PropDescriptor_0m8 = new S.PropDescriptor(string$.DesignMStPrdr); + C.PropDescriptor_IuH = new S.PropDescriptor(string$.DesignMStPrmv); + C.PropDescriptor_wEo = new S.PropDescriptor(string$.DesignMStPrdn); + C.PropDescriptor_BKQ = new S.PropDescriptor(string$.DesignMStPrmdd); + C.PropDescriptor_ufl0 = new S.PropDescriptor("DesignMainStrandPropsMixin.show_dna"); + C.PropDescriptor_U8N = new S.PropDescriptor(string$.DesignMStPrshm); + C.PropDescriptor_adS = new S.PropDescriptor(string$.DesignMStPrdi); + C.PropDescriptor_QON = new S.PropDescriptor(string$.DesignMStPrshsn); + C.PropDescriptor_bLp = new S.PropDescriptor(string$.DesignMStPrshsl); + C.PropDescriptor_bVw = new S.PropDescriptor(string$.DesignMStPrshdn); + C.PropDescriptor_WDQ = new S.PropDescriptor(string$.DesignMStPrshdl); + C.PropDescriptor_Opr = new S.PropDescriptor(string$.DesignMStPrstn); + C.PropDescriptor_4CA = new S.PropDescriptor(string$.DesignMStPrstl); + C.PropDescriptor_0i0 = new S.PropDescriptor(string$.DesignMStPrdon); + C.PropDescriptor_bpI = new S.PropDescriptor(string$.DesignMStPrdol); + C.PropDescriptor_kuk = new S.PropDescriptor(string$.DesignMStPrmdf); + C.PropDescriptor_I6G = new S.PropDescriptor("DesignMainStrandPropsMixin.invert_y"); + C.PropDescriptor_GRE = new S.PropDescriptor(string$.DesignMStPrh); + C.PropDescriptor_GJj = new S.PropDescriptor(string$.DesignMStPrr); + C.List_Kox = H.setRuntimeTypeInfo(makeConstList([C.PropDescriptor_s2f, C.PropDescriptor_e5Z, C.PropDescriptor_iFT, C.PropDescriptor_mfA, C.PropDescriptor_ESz, C.PropDescriptor_MyV, C.PropDescriptor_efp, C.PropDescriptor_J6P, C.PropDescriptor_Gno, C.PropDescriptor_iZu, C.PropDescriptor_yHZ, C.PropDescriptor_UM5, C.PropDescriptor_0, C.PropDescriptor_ufl, C.PropDescriptor_OWS, C.PropDescriptor_0m8, C.PropDescriptor_IuH, C.PropDescriptor_wEo, C.PropDescriptor_BKQ, C.PropDescriptor_ufl0, C.PropDescriptor_U8N, C.PropDescriptor_adS, C.PropDescriptor_QON, C.PropDescriptor_bLp, C.PropDescriptor_bVw, C.PropDescriptor_WDQ, C.PropDescriptor_Opr, C.PropDescriptor_4CA, C.PropDescriptor_0i0, C.PropDescriptor_bpI, C.PropDescriptor_kuk, C.PropDescriptor_I6G, C.PropDescriptor_GRE, C.PropDescriptor_GJj]), type$.JSArray_legacy_PropDescriptor); + C.List_Cxb = H.setRuntimeTypeInfo(makeConstList(["DesignMainStrandPropsMixin.strand", string$.DesignMStPrsi, string$.DesignMStPro, string$.DesignMStPrseen, string$.DesignMStPrsec, string$.DesignMStPrsel, string$.DesignMStPrseex, string$.DesignMStPrsedo, string$.DesignMStPrsede, string$.DesignMStPrsei, string$.DesignMStPrsem, "DesignMainStrandPropsMixin.helices", "DesignMainStrandPropsMixin.groups", "DesignMainStrandPropsMixin.geometry", "DesignMainStrandPropsMixin.selected", string$.DesignMStPrdr, string$.DesignMStPrmv, string$.DesignMStPrdn, string$.DesignMStPrmdd, "DesignMainStrandPropsMixin.show_dna", string$.DesignMStPrshm, string$.DesignMStPrdi, string$.DesignMStPrshsn, string$.DesignMStPrshsl, string$.DesignMStPrshdn, string$.DesignMStPrshdl, string$.DesignMStPrstn, string$.DesignMStPrstl, string$.DesignMStPrdon, string$.DesignMStPrdol, string$.DesignMStPrmdf, "DesignMainStrandPropsMixin.invert_y", string$.DesignMStPrh, string$.DesignMStPrr]), type$.JSArray_legacy_String); + C.PropsMeta_0 = new S.PropsMeta(C.List_Kox, C.List_Cxb); + C.PropDescriptor_EuK = new S.PropDescriptor("TransformByHelixGroupPropsMixin.helices"); + C.PropDescriptor_eXe0 = new S.PropDescriptor("TransformByHelixGroupPropsMixin.groups"); + C.PropDescriptor_axY = new S.PropDescriptor("TransformByHelixGroupPropsMixin.geometry"); + C.List_YIq = H.setRuntimeTypeInfo(makeConstList([C.PropDescriptor_EuK, C.PropDescriptor_eXe0, C.PropDescriptor_axY]), type$.JSArray_legacy_PropDescriptor); + C.List_0Z9 = H.setRuntimeTypeInfo(makeConstList(["TransformByHelixGroupPropsMixin.helices", "TransformByHelixGroupPropsMixin.groups", "TransformByHelixGroupPropsMixin.geometry"]), type$.JSArray_legacy_String); + C.PropsMeta_Me9 = new S.PropsMeta(C.List_YIq, C.List_0Z9); + C.Map_2bMLw = new H.GeneralConstantMap([C.Type_DesignMainStrandPropsMixin_22d, C.PropsMeta_0, C.Type_I2O, C.PropsMeta_Me9], type$.GeneralConstantMap_of_legacy_Type_and_legacy_PropsMeta); + C.Type_y1j = H.typeLiteral("DesignMainStrandCreatingPropsMixin"); + C.PropDescriptor_a9d = new S.PropDescriptor("DesignMainStrandCreatingPropsMixin.helix"); + C.PropDescriptor_gkc0 = new S.PropDescriptor(string$.DesignMStCef); + C.PropDescriptor_gg9 = new S.PropDescriptor("DesignMainStrandCreatingPropsMixin.start"); + C.PropDescriptor_Q4o0 = new S.PropDescriptor("DesignMainStrandCreatingPropsMixin.end"); + C.PropDescriptor_a9d0 = new S.PropDescriptor("DesignMainStrandCreatingPropsMixin.color"); + C.PropDescriptor_qpT = new S.PropDescriptor(string$.DesignMStCeh); + C.PropDescriptor_oEy = new S.PropDescriptor(string$.DesignMStCegr); + C.PropDescriptor_gc6 = new S.PropDescriptor(string$.DesignMStCege); + C.PropDescriptor_9OB = new S.PropDescriptor(string$.DesignMStCes); + C.List_8iF = H.setRuntimeTypeInfo(makeConstList([C.PropDescriptor_a9d, C.PropDescriptor_gkc0, C.PropDescriptor_gg9, C.PropDescriptor_Q4o0, C.PropDescriptor_a9d0, C.PropDescriptor_qpT, C.PropDescriptor_oEy, C.PropDescriptor_gc6, C.PropDescriptor_9OB]), type$.JSArray_legacy_PropDescriptor); + C.List_wNz = H.setRuntimeTypeInfo(makeConstList(["DesignMainStrandCreatingPropsMixin.helix", string$.DesignMStCef, "DesignMainStrandCreatingPropsMixin.start", "DesignMainStrandCreatingPropsMixin.end", "DesignMainStrandCreatingPropsMixin.color", string$.DesignMStCeh, string$.DesignMStCegr, string$.DesignMStCege, string$.DesignMStCes]), type$.JSArray_legacy_String); + C.PropsMeta_mJx = new S.PropsMeta(C.List_8iF, C.List_wNz); + C.Map_2e2Vk = new H.GeneralConstantMap([C.Type_y1j, C.PropsMeta_mJx, C.Type_I2O, C.PropsMeta_Me9], type$.GeneralConstantMap_of_legacy_Type_and_legacy_PropsMeta); + C.Type_EditAndSelectModesProps_Y2Z = H.typeLiteral("EditAndSelectModesProps"); + C.PropDescriptor_988 = new S.PropDescriptor("EditAndSelectModesProps.edit_modes"); + C.PropDescriptor_6qE = new S.PropDescriptor(string$.EditAns); + C.PropDescriptor_iL9 = new S.PropDescriptor("EditAndSelectModesProps.is_origami"); + C.PropDescriptor_UNt = new S.PropDescriptor(string$.EditAne); + C.List_yw9 = H.setRuntimeTypeInfo(makeConstList([C.PropDescriptor_988, C.PropDescriptor_6qE, C.PropDescriptor_iL9, C.PropDescriptor_UNt]), type$.JSArray_legacy_PropDescriptor); + C.List_w23 = H.setRuntimeTypeInfo(makeConstList(["EditAndSelectModesProps.edit_modes", string$.EditAns, "EditAndSelectModesProps.is_origami", string$.EditAne]), type$.JSArray_legacy_String); + C.PropsMeta_sBE = new S.PropsMeta(C.List_yw9, C.List_w23); + C.Map_2foCX = new H.GeneralConstantMap([C.Type_EditAndSelectModesProps_Y2Z, C.PropsMeta_sBE], type$.GeneralConstantMap_of_legacy_Type_and_legacy_PropsMeta); + C.Type_PotentialCrossoverViewProps_ytr = H.typeLiteral("PotentialCrossoverViewProps"); + C.PropDescriptor_2rE = new S.PropDescriptor(string$.PotentC); + C.PropDescriptor_23h = new S.PropDescriptor("PotentialCrossoverViewProps.id"); + C.List_5Eb = H.setRuntimeTypeInfo(makeConstList([C.PropDescriptor_2rE, C.PropDescriptor_23h]), type$.JSArray_legacy_PropDescriptor); + C.List_9I8 = H.setRuntimeTypeInfo(makeConstList([string$.PotentC, "PotentialCrossoverViewProps.id"]), type$.JSArray_legacy_String); + C.PropsMeta_co5 = new S.PropsMeta(C.List_5Eb, C.List_9I8); + C.Map_2jmTs = new H.GeneralConstantMap([C.Type_PotentialCrossoverViewProps_ytr, C.PropsMeta_co5], type$.GeneralConstantMap_of_legacy_Type_and_legacy_PropsMeta); + C.Type_DesignSideRotationProps_oqF = H.typeLiteral("DesignSideRotationProps"); + C.PropDescriptor_EkO = new S.PropDescriptor("DesignSideRotationProps.radius"); + C.PropDescriptor_Aym = new S.PropDescriptor("DesignSideRotationProps.data"); + C.PropDescriptor_hqS = new S.PropDescriptor("DesignSideRotationProps.invert_y"); + C.List_8eb = H.setRuntimeTypeInfo(makeConstList([C.PropDescriptor_EkO, C.PropDescriptor_Aym, C.PropDescriptor_hqS]), type$.JSArray_legacy_PropDescriptor); + C.List_ejq = H.setRuntimeTypeInfo(makeConstList(["DesignSideRotationProps.radius", "DesignSideRotationProps.data", "DesignSideRotationProps.invert_y"]), type$.JSArray_legacy_String); + C.PropsMeta_GBe = new S.PropsMeta(C.List_8eb, C.List_ejq); + C.Map_36wX4 = new H.GeneralConstantMap([C.Type_DesignSideRotationProps_oqF, C.PropsMeta_GBe], type$.GeneralConstantMap_of_legacy_Type_and_legacy_PropsMeta); + C.Type_jzp = H.typeLiteral("DesignMainLoopoutExtensionLengthsProps"); + C.PropDescriptor_Isn = new S.PropDescriptor(string$.DesignMLEsg); + C.PropDescriptor_B8J = new S.PropDescriptor(string$.DesignMLEsst); + C.PropDescriptor_ide = new S.PropDescriptor(string$.DesignMLEssh); + C.List_Yap0 = H.setRuntimeTypeInfo(makeConstList([C.PropDescriptor_Isn, C.PropDescriptor_B8J, C.PropDescriptor_ide]), type$.JSArray_legacy_PropDescriptor); + C.List_gkc = H.setRuntimeTypeInfo(makeConstList([string$.DesignMLEsg, string$.DesignMLEsst, string$.DesignMLEssh]), type$.JSArray_legacy_String); + C.PropsMeta_YXH = new S.PropsMeta(C.List_Yap0, C.List_gkc); + C.Map_46xLp = new H.GeneralConstantMap([C.Type_jzp, C.PropsMeta_YXH], type$.GeneralConstantMap_of_legacy_Type_and_legacy_PropsMeta); + C.Type_DesignMainHelixProps_Q06 = H.typeLiteral("DesignMainHelixProps"); + C.PropDescriptor_P5P = new S.PropDescriptor("DesignMainHelixProps.helix"); + C.PropDescriptor_OPy = new S.PropDescriptor("DesignMainHelixProps.selected"); + C.PropDescriptor_3BT = new S.PropDescriptor("DesignMainHelixProps.view_order"); + C.PropDescriptor_2jN = new S.PropDescriptor(string$.DesignMHxs); + C.PropDescriptor_a9d1 = new S.PropDescriptor(string$.DesignMHxmo); + C.PropDescriptor_Gps = new S.PropDescriptor(string$.DesignMHxmw); + C.PropDescriptor_CKW = new S.PropDescriptor(string$.DesignMHxh); + C.PropDescriptor_6dl = new S.PropDescriptor("DesignMainHelixProps.show_dna"); + C.PropDescriptor_c8w = new S.PropDescriptor("DesignMainHelixProps.show_domain_labels"); + C.PropDescriptor_2No = new S.PropDescriptor(string$.DesignMHxdb); + C.PropDescriptor_Ucj = new S.PropDescriptor(string$.DesignMHxdm); + C.PropDescriptor_Iwp = new S.PropDescriptor("DesignMainHelixProps.show_helix_circles"); + C.PropDescriptor_nil = new S.PropDescriptor("DesignMainHelixProps.helix_svg_position"); + C.List_hsC = H.setRuntimeTypeInfo(makeConstList([C.PropDescriptor_P5P, C.PropDescriptor_OPy, C.PropDescriptor_3BT, C.PropDescriptor_2jN, C.PropDescriptor_a9d1, C.PropDescriptor_Gps, C.PropDescriptor_CKW, C.PropDescriptor_6dl, C.PropDescriptor_c8w, C.PropDescriptor_2No, C.PropDescriptor_Ucj, C.PropDescriptor_Iwp, C.PropDescriptor_nil]), type$.JSArray_legacy_PropDescriptor); + C.List_y5m = H.setRuntimeTypeInfo(makeConstList(["DesignMainHelixProps.helix", "DesignMainHelixProps.selected", "DesignMainHelixProps.view_order", string$.DesignMHxs, string$.DesignMHxmo, string$.DesignMHxmw, string$.DesignMHxh, "DesignMainHelixProps.show_dna", "DesignMainHelixProps.show_domain_labels", string$.DesignMHxdb, string$.DesignMHxdm, "DesignMainHelixProps.show_helix_circles", "DesignMainHelixProps.helix_svg_position"]), type$.JSArray_legacy_String); + C.PropsMeta_sCO = new S.PropsMeta(C.List_hsC, C.List_y5m); + C.Map_4qL5U = new H.GeneralConstantMap([C.Type_DesignMainHelixProps_Q06, C.PropsMeta_sCO], type$.GeneralConstantMap_of_legacy_Type_and_legacy_PropsMeta); + C.Type_DesignContextSubmenuProps_sxB = H.typeLiteral("DesignContextSubmenuProps"); + C.PropDescriptor_IZS = new S.PropDescriptor("DesignContextSubmenuProps.context_menu"); + C.List_nV5 = H.setRuntimeTypeInfo(makeConstList([C.PropDescriptor_IZS]), type$.JSArray_legacy_PropDescriptor); + C.List_iDY = H.setRuntimeTypeInfo(makeConstList(["DesignContextSubmenuProps.context_menu"]), type$.JSArray_legacy_String); + C.PropsMeta_0fX = new S.PropsMeta(C.List_nV5, C.List_iDY); + C.Map_5a3n5 = new H.GeneralConstantMap([C.Type_DesignContextSubmenuProps_sxB, C.PropsMeta_0fX], type$.GeneralConstantMap_of_legacy_Type_and_legacy_PropsMeta); + C.Type_DesignMainBasePairLinesProps_1O8 = H.typeLiteral("DesignMainBasePairLinesProps"); + C.PropDescriptor_qJ4 = new S.PropDescriptor(string$.DesignMBLw); + C.PropDescriptor_AgZ = new S.PropDescriptor("DesignMainBasePairLinesProps.design"); + C.PropDescriptor_nlp = new S.PropDescriptor(string$.DesignMBLo); + C.PropDescriptor_Iwp0 = new S.PropDescriptor(string$.DesignMBLs); + C.PropDescriptor_tIQ = new S.PropDescriptor(string$.DesignMBLh); + C.List_mt1 = H.setRuntimeTypeInfo(makeConstList([C.PropDescriptor_qJ4, C.PropDescriptor_AgZ, C.PropDescriptor_nlp, C.PropDescriptor_Iwp0, C.PropDescriptor_tIQ]), type$.JSArray_legacy_PropDescriptor); + C.List_YIF = H.setRuntimeTypeInfo(makeConstList([string$.DesignMBLw, "DesignMainBasePairLinesProps.design", string$.DesignMBLo, string$.DesignMBLs, string$.DesignMBLh]), type$.JSArray_legacy_String); + C.PropsMeta_0yw = new S.PropsMeta(C.List_mt1, C.List_YIF); + C.Map_67ECL = new H.GeneralConstantMap([C.Type_DesignMainBasePairLinesProps_1O8, C.PropsMeta_0yw], type$.GeneralConstantMap_of_legacy_Type_and_legacy_PropsMeta); + C.Type_DesignMainStrandsMovingProps_MCv = H.typeLiteral("DesignMainStrandsMovingProps"); + C.PropDescriptor_qJx = new S.PropDescriptor(string$.DesignMStsMst); + C.PropDescriptor_CSI = new S.PropDescriptor(string$.DesignMStsMo); + C.PropDescriptor_M6i = new S.PropDescriptor(string$.DesignMStsMc); + C.PropDescriptor_8Gl = new S.PropDescriptor("DesignMainStrandsMovingProps.helices"); + C.PropDescriptor_GRA = new S.PropDescriptor("DesignMainStrandsMovingProps.groups"); + C.PropDescriptor_00 = new S.PropDescriptor(string$.DesignMStsMsi); + C.PropDescriptor_ZoA = new S.PropDescriptor("DesignMainStrandsMovingProps.geometry"); + C.PropDescriptor_lG3 = new S.PropDescriptor(string$.DesignMStsMh); + C.List_86y0 = H.setRuntimeTypeInfo(makeConstList([C.PropDescriptor_qJx, C.PropDescriptor_CSI, C.PropDescriptor_M6i, C.PropDescriptor_8Gl, C.PropDescriptor_GRA, C.PropDescriptor_00, C.PropDescriptor_ZoA, C.PropDescriptor_lG3]), type$.JSArray_legacy_PropDescriptor); + C.List_8Aq = H.setRuntimeTypeInfo(makeConstList([string$.DesignMStsMst, string$.DesignMStsMo, string$.DesignMStsMc, "DesignMainStrandsMovingProps.helices", "DesignMainStrandsMovingProps.groups", string$.DesignMStsMsi, "DesignMainStrandsMovingProps.geometry", string$.DesignMStsMh]), type$.JSArray_legacy_String); + C.PropsMeta_cJC = new S.PropsMeta(C.List_86y0, C.List_8Aq); + C.Map_6VgCs = new H.GeneralConstantMap([C.Type_DesignMainStrandsMovingProps_MCv, C.PropsMeta_cJC], type$.GeneralConstantMap_of_legacy_Type_and_legacy_PropsMeta); + C.List_ACQ = H.setRuntimeTypeInfo(makeConstList(["aliceblue", "antiquewhite", "aqua", "aquamarine", "azure", "beige", "bisque", "black", "blanchedalmond", "blue", "blueviolet", "brown", "burlywood", "cadetblue", "chartreuse", "chocolate", "coral", "cornflowerblue", "cornsilk", "crimson", "cyan", "darkblue", "darkcyan", "darkgoldenrod", "darkgray", "darkgreen", "darkgrey", "darkkhaki", "darkmagenta", "darkolivegreen", "darkorange", "darkorchid", "darkred", "darksalmon", "darkseagreen", "darkslateblue", "darkslategray", "darkslategrey", "darkturquoise", "darkviolet", "deeppink", "deepskyblue", "dimgray", "dimgrey", "dodgerblue", "firebrick", "floralwhite", "forestgreen", "fuchsia", "gainsboro", "ghostwhite", "gold", "goldenrod", "gray", "green", "greenyellow", "grey", "honeydew", "hotpink", "indianred", "indigo", "ivory", "khaki", "lavender", "lavenderblush", "lawngreen", "lemonchiffon", "lightblue", "lightcoral", "lightcyan", "lightgoldenrodyellow", "lightgray", "lightgreen", "lightgrey", "lightpink", "lightsalmon", "lightseagreen", "lightskyblue", "lightslategray", "lightslategrey", "lightsteelblue", "lightyellow", "lime", "limegreen", "linen", "magenta", "maroon", "mediumaquamarine", "mediumblue", "mediumorchid", "mediumpurple", "mediumseagreen", "mediumslateblue", "mediumspringgreen", "mediumturquoise", "mediumvioletred", "midnightblue", "mintcream", "mistyrose", "moccasin", "navajowhite", "navy", "oldlace", "olive", "olivedrab", "orange", "orangered", "orchid", "palegoldenrod", "palegreen", "paleturquoise", "palevioletred", "papayawhip", "peachpuff", "peru", "pink", "plum", "powderblue", "purple", "rebeccapurple", "red", "rosybrown", "royalblue", "saddlebrown", "salmon", "sandybrown", "seagreen", "seashell", "sienna", "silver", "skyblue", "slateblue", "slategray", "slategrey", "snow", "springgreen", "steelblue", "tan", "teal", "thistle", "tomato", "turquoise", "violet", "wheat", "white", "whitesmoke", "yellow", "yellowgreen"]), type$.JSArray_legacy_String); + C.RgbColor_240_248_255 = new S.RgbColor(240, 248, 255); + C.RgbColor_250_235_215 = new S.RgbColor(250, 235, 215); + C.RgbColor_0_255_255 = new S.RgbColor(0, 255, 255); + C.RgbColor_127_255_212 = new S.RgbColor(127, 255, 212); + C.RgbColor_240_255_255 = new S.RgbColor(240, 255, 255); + C.RgbColor_245_245_220 = new S.RgbColor(245, 245, 220); + C.RgbColor_255_228_196 = new S.RgbColor(255, 228, 196); + C.RgbColor_0_0_0 = new S.RgbColor(0, 0, 0); + C.RgbColor_255_235_205 = new S.RgbColor(255, 235, 205); + C.RgbColor_0_0_255 = new S.RgbColor(0, 0, 255); + C.RgbColor_138_43_226 = new S.RgbColor(138, 43, 226); + C.RgbColor_165_42_42 = new S.RgbColor(165, 42, 42); + C.RgbColor_222_184_135 = new S.RgbColor(222, 184, 135); + C.RgbColor_95_158_160 = new S.RgbColor(95, 158, 160); + C.RgbColor_127_255_0 = new S.RgbColor(127, 255, 0); + C.RgbColor_210_105_30 = new S.RgbColor(210, 105, 30); + C.RgbColor_255_127_80 = new S.RgbColor(255, 127, 80); + C.RgbColor_100_149_237 = new S.RgbColor(100, 149, 237); + C.RgbColor_255_248_220 = new S.RgbColor(255, 248, 220); + C.RgbColor_220_20_60 = new S.RgbColor(220, 20, 60); + C.RgbColor_0_0_139 = new S.RgbColor(0, 0, 139); + C.RgbColor_0_139_139 = new S.RgbColor(0, 139, 139); + C.RgbColor_184_134_11 = new S.RgbColor(184, 134, 11); + C.RgbColor_169_169_169 = new S.RgbColor(169, 169, 169); + C.RgbColor_0_100_0 = new S.RgbColor(0, 100, 0); + C.RgbColor_189_183_107 = new S.RgbColor(189, 183, 107); + C.RgbColor_139_0_139 = new S.RgbColor(139, 0, 139); + C.RgbColor_85_107_47 = new S.RgbColor(85, 107, 47); + C.RgbColor_255_140_0 = new S.RgbColor(255, 140, 0); + C.RgbColor_153_50_204 = new S.RgbColor(153, 50, 204); + C.RgbColor_139_0_0 = new S.RgbColor(139, 0, 0); + C.RgbColor_233_150_122 = new S.RgbColor(233, 150, 122); + C.RgbColor_143_188_143 = new S.RgbColor(143, 188, 143); + C.RgbColor_72_61_139 = new S.RgbColor(72, 61, 139); + C.RgbColor_47_79_79 = new S.RgbColor(47, 79, 79); + C.RgbColor_0_206_209 = new S.RgbColor(0, 206, 209); + C.RgbColor_148_0_211 = new S.RgbColor(148, 0, 211); + C.RgbColor_255_20_147 = new S.RgbColor(255, 20, 147); + C.RgbColor_0_191_255 = new S.RgbColor(0, 191, 255); + C.RgbColor_105_105_105 = new S.RgbColor(105, 105, 105); + C.RgbColor_30_144_255 = new S.RgbColor(30, 144, 255); + C.RgbColor_178_34_34 = new S.RgbColor(178, 34, 34); + C.RgbColor_255_250_240 = new S.RgbColor(255, 250, 240); + C.RgbColor_34_139_34 = new S.RgbColor(34, 139, 34); + C.RgbColor_255_0_255 = new S.RgbColor(255, 0, 255); + C.RgbColor_220_220_220 = new S.RgbColor(220, 220, 220); + C.RgbColor_248_248_255 = new S.RgbColor(248, 248, 255); + C.RgbColor_255_215_0 = new S.RgbColor(255, 215, 0); + C.RgbColor_218_165_32 = new S.RgbColor(218, 165, 32); + C.RgbColor_128_128_128 = new S.RgbColor(128, 128, 128); + C.RgbColor_0_128_0 = new S.RgbColor(0, 128, 0); + C.RgbColor_173_255_47 = new S.RgbColor(173, 255, 47); + C.RgbColor_240_255_240 = new S.RgbColor(240, 255, 240); + C.RgbColor_255_105_180 = new S.RgbColor(255, 105, 180); + C.RgbColor_205_92_92 = new S.RgbColor(205, 92, 92); + C.RgbColor_75_0_130 = new S.RgbColor(75, 0, 130); + C.RgbColor_255_255_240 = new S.RgbColor(255, 255, 240); + C.RgbColor_240_230_140 = new S.RgbColor(240, 230, 140); + C.RgbColor_230_230_250 = new S.RgbColor(230, 230, 250); + C.RgbColor_255_240_245 = new S.RgbColor(255, 240, 245); + C.RgbColor_124_252_0 = new S.RgbColor(124, 252, 0); + C.RgbColor_255_250_205 = new S.RgbColor(255, 250, 205); + C.RgbColor_173_216_230 = new S.RgbColor(173, 216, 230); + C.RgbColor_240_128_128 = new S.RgbColor(240, 128, 128); + C.RgbColor_224_255_255 = new S.RgbColor(224, 255, 255); + C.RgbColor_250_250_210 = new S.RgbColor(250, 250, 210); + C.RgbColor_211_211_211 = new S.RgbColor(211, 211, 211); + C.RgbColor_144_238_144 = new S.RgbColor(144, 238, 144); + C.RgbColor_255_182_193 = new S.RgbColor(255, 182, 193); + C.RgbColor_255_160_122 = new S.RgbColor(255, 160, 122); + C.RgbColor_32_178_170 = new S.RgbColor(32, 178, 170); + C.RgbColor_135_206_250 = new S.RgbColor(135, 206, 250); + C.RgbColor_119_136_153 = new S.RgbColor(119, 136, 153); + C.RgbColor_176_196_222 = new S.RgbColor(176, 196, 222); + C.RgbColor_255_255_224 = new S.RgbColor(255, 255, 224); + C.RgbColor_0_255_0 = new S.RgbColor(0, 255, 0); + C.RgbColor_50_205_50 = new S.RgbColor(50, 205, 50); + C.RgbColor_250_240_230 = new S.RgbColor(250, 240, 230); + C.RgbColor_128_0_0 = new S.RgbColor(128, 0, 0); + C.RgbColor_102_205_170 = new S.RgbColor(102, 205, 170); + C.RgbColor_0_0_205 = new S.RgbColor(0, 0, 205); + C.RgbColor_186_85_211 = new S.RgbColor(186, 85, 211); + C.RgbColor_147_112_219 = new S.RgbColor(147, 112, 219); + C.RgbColor_60_179_113 = new S.RgbColor(60, 179, 113); + C.RgbColor_123_104_238 = new S.RgbColor(123, 104, 238); + C.RgbColor_0_250_154 = new S.RgbColor(0, 250, 154); + C.RgbColor_72_209_204 = new S.RgbColor(72, 209, 204); + C.RgbColor_199_21_133 = new S.RgbColor(199, 21, 133); + C.RgbColor_25_25_112 = new S.RgbColor(25, 25, 112); + C.RgbColor_245_255_250 = new S.RgbColor(245, 255, 250); + C.RgbColor_255_228_225 = new S.RgbColor(255, 228, 225); + C.RgbColor_255_228_181 = new S.RgbColor(255, 228, 181); + C.RgbColor_255_222_173 = new S.RgbColor(255, 222, 173); + C.RgbColor_0_0_128 = new S.RgbColor(0, 0, 128); + C.RgbColor_253_245_230 = new S.RgbColor(253, 245, 230); + C.RgbColor_128_128_0 = new S.RgbColor(128, 128, 0); + C.RgbColor_107_142_35 = new S.RgbColor(107, 142, 35); + C.RgbColor_255_165_0 = new S.RgbColor(255, 165, 0); + C.RgbColor_255_69_0 = new S.RgbColor(255, 69, 0); + C.RgbColor_218_112_214 = new S.RgbColor(218, 112, 214); + C.RgbColor_238_232_170 = new S.RgbColor(238, 232, 170); + C.RgbColor_152_251_152 = new S.RgbColor(152, 251, 152); + C.RgbColor_175_238_238 = new S.RgbColor(175, 238, 238); + C.RgbColor_219_112_147 = new S.RgbColor(219, 112, 147); + C.RgbColor_255_239_213 = new S.RgbColor(255, 239, 213); + C.RgbColor_255_218_185 = new S.RgbColor(255, 218, 185); + C.RgbColor_205_133_63 = new S.RgbColor(205, 133, 63); + C.RgbColor_255_192_203 = new S.RgbColor(255, 192, 203); + C.RgbColor_221_160_221 = new S.RgbColor(221, 160, 221); + C.RgbColor_176_224_230 = new S.RgbColor(176, 224, 230); + C.RgbColor_128_0_128 = new S.RgbColor(128, 0, 128); + C.RgbColor_102_51_153 = new S.RgbColor(102, 51, 153); + C.RgbColor_255_0_0 = new S.RgbColor(255, 0, 0); + C.RgbColor_188_143_143 = new S.RgbColor(188, 143, 143); + C.RgbColor_65_105_225 = new S.RgbColor(65, 105, 225); + C.RgbColor_139_69_19 = new S.RgbColor(139, 69, 19); + C.RgbColor_250_128_114 = new S.RgbColor(250, 128, 114); + C.RgbColor_244_164_96 = new S.RgbColor(244, 164, 96); + C.RgbColor_46_139_87 = new S.RgbColor(46, 139, 87); + C.RgbColor_255_245_238 = new S.RgbColor(255, 245, 238); + C.RgbColor_160_82_45 = new S.RgbColor(160, 82, 45); + C.RgbColor_192_192_192 = new S.RgbColor(192, 192, 192); + C.RgbColor_135_206_235 = new S.RgbColor(135, 206, 235); + C.RgbColor_106_90_205 = new S.RgbColor(106, 90, 205); + C.RgbColor_112_128_144 = new S.RgbColor(112, 128, 144); + C.RgbColor_255_250_250 = new S.RgbColor(255, 250, 250); + C.RgbColor_0_255_127 = new S.RgbColor(0, 255, 127); + C.RgbColor_70_130_180 = new S.RgbColor(70, 130, 180); + C.RgbColor_210_180_140 = new S.RgbColor(210, 180, 140); + C.RgbColor_0_128_128 = new S.RgbColor(0, 128, 128); + C.RgbColor_216_191_216 = new S.RgbColor(216, 191, 216); + C.RgbColor_255_99_71 = new S.RgbColor(255, 99, 71); + C.RgbColor_64_224_208 = new S.RgbColor(64, 224, 208); + C.RgbColor_238_130_238 = new S.RgbColor(238, 130, 238); + C.RgbColor_245_222_179 = new S.RgbColor(245, 222, 179); + C.RgbColor_255_255_255 = new S.RgbColor(255, 255, 255); + C.RgbColor_245_245_245 = new S.RgbColor(245, 245, 245); + C.RgbColor_255_255_0 = new S.RgbColor(255, 255, 0); + C.RgbColor_154_205_50 = new S.RgbColor(154, 205, 50); + C.Map_ACwDL = new H.ConstantStringMap(148, {aliceblue: C.RgbColor_240_248_255, antiquewhite: C.RgbColor_250_235_215, aqua: C.RgbColor_0_255_255, aquamarine: C.RgbColor_127_255_212, azure: C.RgbColor_240_255_255, beige: C.RgbColor_245_245_220, bisque: C.RgbColor_255_228_196, black: C.RgbColor_0_0_0, blanchedalmond: C.RgbColor_255_235_205, blue: C.RgbColor_0_0_255, blueviolet: C.RgbColor_138_43_226, brown: C.RgbColor_165_42_42, burlywood: C.RgbColor_222_184_135, cadetblue: C.RgbColor_95_158_160, chartreuse: C.RgbColor_127_255_0, chocolate: C.RgbColor_210_105_30, coral: C.RgbColor_255_127_80, cornflowerblue: C.RgbColor_100_149_237, cornsilk: C.RgbColor_255_248_220, crimson: C.RgbColor_220_20_60, cyan: C.RgbColor_0_255_255, darkblue: C.RgbColor_0_0_139, darkcyan: C.RgbColor_0_139_139, darkgoldenrod: C.RgbColor_184_134_11, darkgray: C.RgbColor_169_169_169, darkgreen: C.RgbColor_0_100_0, darkgrey: C.RgbColor_169_169_169, darkkhaki: C.RgbColor_189_183_107, darkmagenta: C.RgbColor_139_0_139, darkolivegreen: C.RgbColor_85_107_47, darkorange: C.RgbColor_255_140_0, darkorchid: C.RgbColor_153_50_204, darkred: C.RgbColor_139_0_0, darksalmon: C.RgbColor_233_150_122, darkseagreen: C.RgbColor_143_188_143, darkslateblue: C.RgbColor_72_61_139, darkslategray: C.RgbColor_47_79_79, darkslategrey: C.RgbColor_47_79_79, darkturquoise: C.RgbColor_0_206_209, darkviolet: C.RgbColor_148_0_211, deeppink: C.RgbColor_255_20_147, deepskyblue: C.RgbColor_0_191_255, dimgray: C.RgbColor_105_105_105, dimgrey: C.RgbColor_105_105_105, dodgerblue: C.RgbColor_30_144_255, firebrick: C.RgbColor_178_34_34, floralwhite: C.RgbColor_255_250_240, forestgreen: C.RgbColor_34_139_34, fuchsia: C.RgbColor_255_0_255, gainsboro: C.RgbColor_220_220_220, ghostwhite: C.RgbColor_248_248_255, gold: C.RgbColor_255_215_0, goldenrod: C.RgbColor_218_165_32, gray: C.RgbColor_128_128_128, green: C.RgbColor_0_128_0, greenyellow: C.RgbColor_173_255_47, grey: C.RgbColor_128_128_128, honeydew: C.RgbColor_240_255_240, hotpink: C.RgbColor_255_105_180, indianred: C.RgbColor_205_92_92, indigo: C.RgbColor_75_0_130, ivory: C.RgbColor_255_255_240, khaki: C.RgbColor_240_230_140, lavender: C.RgbColor_230_230_250, lavenderblush: C.RgbColor_255_240_245, lawngreen: C.RgbColor_124_252_0, lemonchiffon: C.RgbColor_255_250_205, lightblue: C.RgbColor_173_216_230, lightcoral: C.RgbColor_240_128_128, lightcyan: C.RgbColor_224_255_255, lightgoldenrodyellow: C.RgbColor_250_250_210, lightgray: C.RgbColor_211_211_211, lightgreen: C.RgbColor_144_238_144, lightgrey: C.RgbColor_211_211_211, lightpink: C.RgbColor_255_182_193, lightsalmon: C.RgbColor_255_160_122, lightseagreen: C.RgbColor_32_178_170, lightskyblue: C.RgbColor_135_206_250, lightslategray: C.RgbColor_119_136_153, lightslategrey: C.RgbColor_119_136_153, lightsteelblue: C.RgbColor_176_196_222, lightyellow: C.RgbColor_255_255_224, lime: C.RgbColor_0_255_0, limegreen: C.RgbColor_50_205_50, linen: C.RgbColor_250_240_230, magenta: C.RgbColor_255_0_255, maroon: C.RgbColor_128_0_0, mediumaquamarine: C.RgbColor_102_205_170, mediumblue: C.RgbColor_0_0_205, mediumorchid: C.RgbColor_186_85_211, mediumpurple: C.RgbColor_147_112_219, mediumseagreen: C.RgbColor_60_179_113, mediumslateblue: C.RgbColor_123_104_238, mediumspringgreen: C.RgbColor_0_250_154, mediumturquoise: C.RgbColor_72_209_204, mediumvioletred: C.RgbColor_199_21_133, midnightblue: C.RgbColor_25_25_112, mintcream: C.RgbColor_245_255_250, mistyrose: C.RgbColor_255_228_225, moccasin: C.RgbColor_255_228_181, navajowhite: C.RgbColor_255_222_173, navy: C.RgbColor_0_0_128, oldlace: C.RgbColor_253_245_230, olive: C.RgbColor_128_128_0, olivedrab: C.RgbColor_107_142_35, orange: C.RgbColor_255_165_0, orangered: C.RgbColor_255_69_0, orchid: C.RgbColor_218_112_214, palegoldenrod: C.RgbColor_238_232_170, palegreen: C.RgbColor_152_251_152, paleturquoise: C.RgbColor_175_238_238, palevioletred: C.RgbColor_219_112_147, papayawhip: C.RgbColor_255_239_213, peachpuff: C.RgbColor_255_218_185, peru: C.RgbColor_205_133_63, pink: C.RgbColor_255_192_203, plum: C.RgbColor_221_160_221, powderblue: C.RgbColor_176_224_230, purple: C.RgbColor_128_0_128, rebeccapurple: C.RgbColor_102_51_153, red: C.RgbColor_255_0_0, rosybrown: C.RgbColor_188_143_143, royalblue: C.RgbColor_65_105_225, saddlebrown: C.RgbColor_139_69_19, salmon: C.RgbColor_250_128_114, sandybrown: C.RgbColor_244_164_96, seagreen: C.RgbColor_46_139_87, seashell: C.RgbColor_255_245_238, sienna: C.RgbColor_160_82_45, silver: C.RgbColor_192_192_192, skyblue: C.RgbColor_135_206_235, slateblue: C.RgbColor_106_90_205, slategray: C.RgbColor_112_128_144, slategrey: C.RgbColor_112_128_144, snow: C.RgbColor_255_250_250, springgreen: C.RgbColor_0_255_127, steelblue: C.RgbColor_70_130_180, tan: C.RgbColor_210_180_140, teal: C.RgbColor_0_128_128, thistle: C.RgbColor_216_191_216, tomato: C.RgbColor_255_99_71, turquoise: C.RgbColor_64_224_208, violet: C.RgbColor_238_130_238, wheat: C.RgbColor_245_222_179, white: C.RgbColor_255_255_255, whitesmoke: C.RgbColor_245_245_245, yellow: C.RgbColor_255_255_0, yellowgreen: C.RgbColor_154_205_50}, C.List_ACQ, H.findType("ConstantStringMap")); + C.Type_nuu = H.typeLiteral("DesignMainStrandDeletionPropsMixin"); + C.PropDescriptor_8KD = new S.PropDescriptor(string$.DesignMStDesea); + C.PropDescriptor_wW3 = new S.PropDescriptor("DesignMainStrandDeletionPropsMixin.helix"); + C.PropDescriptor_01 = new S.PropDescriptor(string$.DesignMStDet); + C.PropDescriptor_8eb = new S.PropDescriptor(string$.DesignMStDesee); + C.PropDescriptor_Odg = new S.PropDescriptor(string$.DesignMStDesv); + C.PropDescriptor_UWz = new S.PropDescriptor(string$.DesignMStDer); + C.List_UEo = H.setRuntimeTypeInfo(makeConstList([C.PropDescriptor_8KD, C.PropDescriptor_wW3, C.PropDescriptor_01, C.PropDescriptor_8eb, C.PropDescriptor_Odg, C.PropDescriptor_UWz]), type$.JSArray_legacy_PropDescriptor); + C.List_zwW = H.setRuntimeTypeInfo(makeConstList([string$.DesignMStDesea, "DesignMainStrandDeletionPropsMixin.helix", string$.DesignMStDet, string$.DesignMStDesee, string$.DesignMStDesv, string$.DesignMStDer]), type$.JSArray_legacy_String); + C.PropsMeta_YfJ = new S.PropsMeta(C.List_UEo, C.List_zwW); + C.Map_AsCdv = new H.GeneralConstantMap([C.Type_nuu, C.PropsMeta_YfJ], type$.GeneralConstantMap_of_legacy_Type_and_legacy_PropsMeta); + C.Type_vdM = H.typeLiteral("DesignMainPotentialVerticalCrossoversProps"); + C.PropDescriptor_2Qn = new S.PropDescriptor(string$.DesignMPosp); + C.PropDescriptor_ynv = new S.PropDescriptor(string$.DesignMPoshc); + C.PropDescriptor_c0h = new S.PropDescriptor(string$.DesignMPosgr); + C.PropDescriptor_gUw = new S.PropDescriptor(string$.DesignMPosge); + C.PropDescriptor_Cxl = new S.PropDescriptor(string$.DesignMPoso); + C.PropDescriptor_YyH = new S.PropDescriptor(string$.DesignMPoss); + C.PropDescriptor_eXR = new S.PropDescriptor(string$.DesignMPoshx); + C.List_eVB = H.setRuntimeTypeInfo(makeConstList([C.PropDescriptor_2Qn, C.PropDescriptor_ynv, C.PropDescriptor_c0h, C.PropDescriptor_gUw, C.PropDescriptor_Cxl, C.PropDescriptor_YyH, C.PropDescriptor_eXR]), type$.JSArray_legacy_PropDescriptor); + C.List_qJs = H.setRuntimeTypeInfo(makeConstList([string$.DesignMPosp, string$.DesignMPoshc, string$.DesignMPosgr, string$.DesignMPosge, string$.DesignMPoso, string$.DesignMPoss, string$.DesignMPoshx]), type$.JSArray_legacy_String); + C.PropsMeta_TS4 = new S.PropsMeta(C.List_eVB, C.List_qJs); + C.Map_C8A0L = new H.GeneralConstantMap([C.Type_vdM, C.PropsMeta_TS4], type$.GeneralConstantMap_of_legacy_Type_and_legacy_PropsMeta); + C.List_CNb = H.setRuntimeTypeInfo(makeConstList(["filter", "stroke", "stroke-width", "visibility"]), type$.JSArray_legacy_String); + C.Map_CNaF8 = new H.ConstantStringMap(4, {filter: 'url("#shadow")', stroke: "black", "stroke-width": "1pt", visibility: "visible"}, C.List_CNb, type$.ConstantStringMap_of_legacy_String_and_legacy_String); + C.Type_DesignSideArrowsProps_2bL = H.typeLiteral("DesignSideArrowsProps"); + C.PropDescriptor_6ra = new S.PropDescriptor("DesignSideArrowsProps.invert_y"); + C.PropDescriptor_6dL = new S.PropDescriptor(string$.DesignSA); + C.List_1YB = H.setRuntimeTypeInfo(makeConstList([C.PropDescriptor_6ra, C.PropDescriptor_6dL]), type$.JSArray_legacy_PropDescriptor); + C.List_DyI = H.setRuntimeTypeInfo(makeConstList(["DesignSideArrowsProps.invert_y", string$.DesignSA]), type$.JSArray_legacy_String); + C.PropsMeta_StX = new S.PropsMeta(C.List_1YB, C.List_DyI); + C.Map_DRc9P = new H.GeneralConstantMap([C.Type_DesignSideArrowsProps_2bL, C.PropsMeta_StX], type$.GeneralConstantMap_of_legacy_Type_and_legacy_PropsMeta); + C.Type_DesignMainDNAEndPropsMixin_xHq = H.typeLiteral("DesignMainDNAEndPropsMixin"); + C.PropDescriptor_0SZ = new S.PropDescriptor("DesignMainDNAEndPropsMixin.strand"); + C.PropDescriptor_GFX = new S.PropDescriptor("DesignMainDNAEndPropsMixin.domain"); + C.PropDescriptor_i78 = new S.PropDescriptor("DesignMainDNAEndPropsMixin.ext"); + C.PropDescriptor_yHZ0 = new S.PropDescriptor("DesignMainDNAEndPropsMixin.strand_color"); + C.PropDescriptor_Me4 = new S.PropDescriptor("DesignMainDNAEndPropsMixin.is_5p"); + C.PropDescriptor_mmR = new S.PropDescriptor("DesignMainDNAEndPropsMixin.is_scaffold"); + C.PropDescriptor_cWg = new S.PropDescriptor(string$.DesignMDNEi); + C.PropDescriptor_Hbf = new S.PropDescriptor("DesignMainDNAEndPropsMixin.transform"); + C.PropDescriptor_0Ke = new S.PropDescriptor("DesignMainDNAEndPropsMixin.helix"); + C.PropDescriptor_U71 = new S.PropDescriptor("DesignMainDNAEndPropsMixin.group"); + C.PropDescriptor_uRK = new S.PropDescriptor("DesignMainDNAEndPropsMixin.geometry"); + C.PropDescriptor_qwW = new S.PropDescriptor("DesignMainDNAEndPropsMixin.selected"); + C.PropDescriptor_mdt = new S.PropDescriptor(string$.DesignMDNEc); + C.PropDescriptor_IqA = new S.PropDescriptor(string$.DesignMDNEd); + C.PropDescriptor_q1T = new S.PropDescriptor(string$.DesignMDNEm); + C.PropDescriptor_23h0 = new S.PropDescriptor(string$.DesignMDNEh); + C.PropDescriptor_W3w = new S.PropDescriptor(string$.DesignMDNEr); + C.List_MrF = H.setRuntimeTypeInfo(makeConstList([C.PropDescriptor_0SZ, C.PropDescriptor_GFX, C.PropDescriptor_i78, C.PropDescriptor_yHZ0, C.PropDescriptor_Me4, C.PropDescriptor_mmR, C.PropDescriptor_cWg, C.PropDescriptor_Hbf, C.PropDescriptor_0Ke, C.PropDescriptor_U71, C.PropDescriptor_uRK, C.PropDescriptor_qwW, C.PropDescriptor_mdt, C.PropDescriptor_IqA, C.PropDescriptor_q1T, C.PropDescriptor_23h0, C.PropDescriptor_W3w]), type$.JSArray_legacy_PropDescriptor); + C.List_gHO = H.setRuntimeTypeInfo(makeConstList(["DesignMainDNAEndPropsMixin.strand", "DesignMainDNAEndPropsMixin.domain", "DesignMainDNAEndPropsMixin.ext", "DesignMainDNAEndPropsMixin.strand_color", "DesignMainDNAEndPropsMixin.is_5p", "DesignMainDNAEndPropsMixin.is_scaffold", string$.DesignMDNEi, "DesignMainDNAEndPropsMixin.transform", "DesignMainDNAEndPropsMixin.helix", "DesignMainDNAEndPropsMixin.group", "DesignMainDNAEndPropsMixin.geometry", "DesignMainDNAEndPropsMixin.selected", string$.DesignMDNEc, string$.DesignMDNEd, string$.DesignMDNEm, string$.DesignMDNEh, string$.DesignMDNEr]), type$.JSArray_legacy_String); + C.PropsMeta_g6t = new S.PropsMeta(C.List_MrF, C.List_gHO); + C.Map_EQPDw = new H.GeneralConstantMap([C.Type_DesignMainDNAEndPropsMixin_xHq, C.PropsMeta_g6t], type$.GeneralConstantMap_of_legacy_Type_and_legacy_PropsMeta); + C.Type_ErrorBoundaryProps_LAZ = H.typeLiteral("ErrorBoundaryProps"); + C.PropDescriptor_Eb0 = new S.PropDescriptor("ErrorBoundaryProps.onComponentDidCatch"); + C.PropDescriptor_61T = new S.PropDescriptor(string$.ErrorBPo); + C.PropDescriptor_kvD = new S.PropDescriptor("ErrorBoundaryProps.fallbackUIRenderer"); + C.PropDescriptor_HVt = new S.PropDescriptor(string$.ErrorBPi); + C.PropDescriptor_qVK = new S.PropDescriptor("ErrorBoundaryProps.loggerName"); + C.PropDescriptor_MyV0 = new S.PropDescriptor("ErrorBoundaryProps.shouldLogErrors"); + C.PropDescriptor_oWp = new S.PropDescriptor("ErrorBoundaryProps.logger"); + C.List_ckJ = H.setRuntimeTypeInfo(makeConstList([C.PropDescriptor_Eb0, C.PropDescriptor_61T, C.PropDescriptor_kvD, C.PropDescriptor_HVt, C.PropDescriptor_qVK, C.PropDescriptor_MyV0, C.PropDescriptor_oWp]), type$.JSArray_legacy_PropDescriptor); + C.List_gw4 = H.setRuntimeTypeInfo(makeConstList(["ErrorBoundaryProps.onComponentDidCatch", string$.ErrorBPo, "ErrorBoundaryProps.fallbackUIRenderer", string$.ErrorBPi, "ErrorBoundaryProps.loggerName", "ErrorBoundaryProps.shouldLogErrors", "ErrorBoundaryProps.logger"]), type$.JSArray_legacy_String); + C.PropsMeta_66y = new S.PropsMeta(C.List_ckJ, C.List_gw4); + C.Map_EU4AN = new H.GeneralConstantMap([C.Type_ErrorBoundaryProps_LAZ, C.PropsMeta_66y], type$.GeneralConstantMap_of_legacy_Type_and_legacy_PropsMeta); + C.Type_SelectionBoxViewProps_kWM = H.typeLiteral("SelectionBoxViewProps"); + C.PropDescriptor_9sr = new S.PropDescriptor("SelectionBoxViewProps.selection_box"); + C.PropDescriptor_qZL = new S.PropDescriptor(string$.SelectB); + C.PropDescriptor_NoS = new S.PropDescriptor("SelectionBoxViewProps.id"); + C.PropDescriptor_O5s = new S.PropDescriptor("SelectionBoxViewProps.is_main"); + C.List_AKW = H.setRuntimeTypeInfo(makeConstList([C.PropDescriptor_9sr, C.PropDescriptor_qZL, C.PropDescriptor_NoS, C.PropDescriptor_O5s]), type$.JSArray_legacy_PropDescriptor); + C.List_dAZ = H.setRuntimeTypeInfo(makeConstList(["SelectionBoxViewProps.selection_box", string$.SelectB, "SelectionBoxViewProps.id", "SelectionBoxViewProps.is_main"]), type$.JSArray_legacy_String); + C.PropsMeta_bWd = new S.PropsMeta(C.List_AKW, C.List_dAZ); + C.Map_Ek5C1 = new H.GeneralConstantMap([C.Type_SelectionBoxViewProps_kWM, C.PropsMeta_bWd], type$.GeneralConstantMap_of_legacy_Type_and_legacy_PropsMeta); + C.Type_MenuDropdownItemPropsMixin_g78 = H.typeLiteral("MenuDropdownItemPropsMixin"); + C.PropDescriptor_yHT = new S.PropDescriptor("MenuDropdownItemPropsMixin.display"); + C.PropDescriptor_AgZ0 = new S.PropDescriptor("MenuDropdownItemPropsMixin.on_click"); + C.PropDescriptor_Rm5 = new S.PropDescriptor(string$.MenuDr); + C.PropDescriptor_U4G = new S.PropDescriptor("MenuDropdownItemPropsMixin.disabled"); + C.PropDescriptor_2jN0 = new S.PropDescriptor("MenuDropdownItemPropsMixin.active"); + C.PropDescriptor_Ekq = new S.PropDescriptor("MenuDropdownItemPropsMixin.tooltip"); + C.List_QPf = H.setRuntimeTypeInfo(makeConstList([C.PropDescriptor_yHT, C.PropDescriptor_AgZ0, C.PropDescriptor_Rm5, C.PropDescriptor_U4G, C.PropDescriptor_2jN0, C.PropDescriptor_Ekq]), type$.JSArray_legacy_PropDescriptor); + C.List_8D4 = H.setRuntimeTypeInfo(makeConstList(["MenuDropdownItemPropsMixin.display", "MenuDropdownItemPropsMixin.on_click", string$.MenuDr, "MenuDropdownItemPropsMixin.disabled", "MenuDropdownItemPropsMixin.active", "MenuDropdownItemPropsMixin.tooltip"]), type$.JSArray_legacy_String); + C.PropsMeta_QGQ = new S.PropsMeta(C.List_QPf, C.List_8D4); + C.Map_FcoMM = new H.GeneralConstantMap([C.Type_MenuDropdownItemPropsMixin_g78, C.PropsMeta_QGQ], type$.GeneralConstantMap_of_legacy_Type_and_legacy_PropsMeta); + C.List_GNi = H.setRuntimeTypeInfo(makeConstList(["stroke", "stroke-width"]), type$.JSArray_legacy_String); + C.Map_GN46y = new H.ConstantStringMap(2, {stroke: "hotpink", "stroke-width": "5pt"}, C.List_GNi, type$.ConstantStringMap_of_legacy_String_and_legacy_String); + C.Type_MenuDropdownRightProps_APm = H.typeLiteral("MenuDropdownRightProps"); + C.PropDescriptor_6yz = new S.PropDescriptor("MenuDropdownRightProps.tooltip"); + C.PropDescriptor_Gf5 = new S.PropDescriptor("MenuDropdownRightProps.title"); + C.PropDescriptor_wa9 = new S.PropDescriptor("MenuDropdownRightProps.id"); + C.PropDescriptor_eTJ = new S.PropDescriptor("MenuDropdownRightProps.disallow_overflow"); + C.PropDescriptor_MIo = new S.PropDescriptor("MenuDropdownRightProps.disabled"); + C.PropDescriptor_FGd = new S.PropDescriptor("MenuDropdownRightProps.keyboard_shortcut"); + C.List_V86 = H.setRuntimeTypeInfo(makeConstList([C.PropDescriptor_6yz, C.PropDescriptor_Gf5, C.PropDescriptor_wa9, C.PropDescriptor_eTJ, C.PropDescriptor_MIo, C.PropDescriptor_FGd]), type$.JSArray_legacy_PropDescriptor); + C.List_UAS = H.setRuntimeTypeInfo(makeConstList(["MenuDropdownRightProps.tooltip", "MenuDropdownRightProps.title", "MenuDropdownRightProps.id", "MenuDropdownRightProps.disallow_overflow", "MenuDropdownRightProps.disabled", "MenuDropdownRightProps.keyboard_shortcut"]), type$.JSArray_legacy_String); + C.PropsMeta_oas = new S.PropsMeta(C.List_V86, C.List_UAS); + C.Map_HPeUt = new H.GeneralConstantMap([C.Type_MenuDropdownRightProps_APm, C.PropsMeta_oas], type$.GeneralConstantMap_of_legacy_Type_and_legacy_PropsMeta); + C.Type_ExtensionEndMovingProps_omH = H.typeLiteral("ExtensionEndMovingProps"); + C.PropDescriptor_UVN = new S.PropDescriptor("ExtensionEndMovingProps.dna_end"); + C.PropDescriptor_axY0 = new S.PropDescriptor("ExtensionEndMovingProps.ext"); + C.PropDescriptor_1KU = new S.PropDescriptor("ExtensionEndMovingProps.geometry"); + C.PropDescriptor_Dbk = new S.PropDescriptor("ExtensionEndMovingProps.attached_end_svg"); + C.PropDescriptor_06g = new S.PropDescriptor("ExtensionEndMovingProps.helix"); + C.PropDescriptor_06g0 = new S.PropDescriptor("ExtensionEndMovingProps.group"); + C.PropDescriptor_06g1 = new S.PropDescriptor("ExtensionEndMovingProps.color"); + C.PropDescriptor_EOZ = new S.PropDescriptor("ExtensionEndMovingProps.forward"); + C.PropDescriptor_06g2 = new S.PropDescriptor("ExtensionEndMovingProps.is_5p"); + C.PropDescriptor_kEm0 = new S.PropDescriptor("ExtensionEndMovingProps.allowable"); + C.PropDescriptor_wxU = new S.PropDescriptor("ExtensionEndMovingProps.current_point"); + C.PropDescriptor_gc60 = new S.PropDescriptor("ExtensionEndMovingProps.render"); + C.List_zr7 = H.setRuntimeTypeInfo(makeConstList([C.PropDescriptor_UVN, C.PropDescriptor_axY0, C.PropDescriptor_1KU, C.PropDescriptor_Dbk, C.PropDescriptor_06g, C.PropDescriptor_06g0, C.PropDescriptor_06g1, C.PropDescriptor_EOZ, C.PropDescriptor_06g2, C.PropDescriptor_kEm0, C.PropDescriptor_wxU, C.PropDescriptor_gc60]), type$.JSArray_legacy_PropDescriptor); + C.List_KFk = H.setRuntimeTypeInfo(makeConstList(["ExtensionEndMovingProps.dna_end", "ExtensionEndMovingProps.ext", "ExtensionEndMovingProps.geometry", "ExtensionEndMovingProps.attached_end_svg", "ExtensionEndMovingProps.helix", "ExtensionEndMovingProps.group", "ExtensionEndMovingProps.color", "ExtensionEndMovingProps.forward", "ExtensionEndMovingProps.is_5p", "ExtensionEndMovingProps.allowable", "ExtensionEndMovingProps.current_point", "ExtensionEndMovingProps.render"]), type$.JSArray_legacy_String); + C.PropsMeta_SVF = new S.PropsMeta(C.List_zr7, C.List_KFk); + C.Map_HYskt = new H.GeneralConstantMap([C.Type_ExtensionEndMovingProps_omH, C.PropsMeta_SVF], type$.GeneralConstantMap_of_legacy_Type_and_legacy_PropsMeta); + C.Type_DesignSideHelixProps_kSE = H.typeLiteral("DesignSideHelixProps"); + C.PropDescriptor_gg4 = new S.PropDescriptor("DesignSideHelixProps.helix"); + C.PropDescriptor_OPD = new S.PropDescriptor("DesignSideHelixProps.slice_bar_offset"); + C.PropDescriptor_EOZ0 = new S.PropDescriptor("DesignSideHelixProps.selected"); + C.PropDescriptor_EUT = new S.PropDescriptor("DesignSideHelixProps.mouse_is_over"); + C.PropDescriptor_UrL = new S.PropDescriptor(string$.DesignSHh); + C.PropDescriptor_Mup = new S.PropDescriptor(string$.DesignSHs); + C.PropDescriptor_UOW = new S.PropDescriptor("DesignSideHelixProps.invert_y"); + C.PropDescriptor_3xj = new S.PropDescriptor("DesignSideHelixProps.grid"); + C.PropDescriptor_Zqn = new S.PropDescriptor("DesignSideHelixProps.rotation_data"); + C.PropDescriptor_2No0 = new S.PropDescriptor("DesignSideHelixProps.edit_modes"); + C.List_ePe = H.setRuntimeTypeInfo(makeConstList([C.PropDescriptor_gg4, C.PropDescriptor_OPD, C.PropDescriptor_EOZ0, C.PropDescriptor_EUT, C.PropDescriptor_UrL, C.PropDescriptor_Mup, C.PropDescriptor_UOW, C.PropDescriptor_3xj, C.PropDescriptor_Zqn, C.PropDescriptor_2No0]), type$.JSArray_legacy_PropDescriptor); + C.List_69P0 = H.setRuntimeTypeInfo(makeConstList(["DesignSideHelixProps.helix", "DesignSideHelixProps.slice_bar_offset", "DesignSideHelixProps.selected", "DesignSideHelixProps.mouse_is_over", string$.DesignSHh, string$.DesignSHs, "DesignSideHelixProps.invert_y", "DesignSideHelixProps.grid", "DesignSideHelixProps.rotation_data", "DesignSideHelixProps.edit_modes"]), type$.JSArray_legacy_String); + C.PropsMeta_nZd = new S.PropsMeta(C.List_ePe, C.List_69P0); + C.Map_IIA4m = new H.GeneralConstantMap([C.Type_DesignSideHelixProps_kSE, C.PropsMeta_nZd], type$.GeneralConstantMap_of_legacy_Type_and_legacy_PropsMeta); + C.XmlAttributeType_0 = new D.XmlAttributeType("XmlAttributeType.SINGLE_QUOTE"); + C.XmlAttributeType_1 = new D.XmlAttributeType("XmlAttributeType.DOUBLE_QUOTE"); + C.Map_IZFmR = new H.GeneralConstantMap([C.XmlAttributeType_0, "'", C.XmlAttributeType_1, '"'], H.findType("GeneralConstantMap")); + C.Type_DesignLoadingDialogProps_rSH = H.typeLiteral("DesignLoadingDialogProps"); + C.PropDescriptor_QPD = new S.PropDescriptor("DesignLoadingDialogProps.show"); + C.List_bvR = H.setRuntimeTypeInfo(makeConstList([C.PropDescriptor_QPD]), type$.JSArray_legacy_PropDescriptor); + C.List_Gn1 = H.setRuntimeTypeInfo(makeConstList(["DesignLoadingDialogProps.show"]), type$.JSArray_legacy_String); + C.PropsMeta_Wbs = new S.PropsMeta(C.List_bvR, C.List_Gn1); + C.Map_KFCtt = new H.GeneralConstantMap([C.Type_DesignLoadingDialogProps_rSH, C.PropsMeta_Wbs], type$.GeneralConstantMap_of_legacy_Type_and_legacy_PropsMeta); + C.Type_DesignMainDNASequencesProps_MXq = H.typeLiteral("DesignMainDNASequencesProps"); + C.PropDescriptor_IG8 = new S.PropDescriptor("DesignMainDNASequencesProps.helices"); + C.PropDescriptor_EKW = new S.PropDescriptor("DesignMainDNASequencesProps.groups"); + C.PropDescriptor_86y = new S.PropDescriptor("DesignMainDNASequencesProps.geometry"); + C.PropDescriptor_ww8 = new S.PropDescriptor("DesignMainDNASequencesProps.strands"); + C.PropDescriptor_dmL = new S.PropDescriptor(string$.DesignMDNSss); + C.PropDescriptor_wIv = new S.PropDescriptor(string$.DesignMDNSsdnu); + C.PropDescriptor_Aq1 = new S.PropDescriptor(string$.DesignMDNSsdnh); + C.PropDescriptor_ASA = new S.PropDescriptor(string$.DesignMDNSsdnv); + C.PropDescriptor_Fwu = new S.PropDescriptor(string$.DesignMDNSsi); + C.PropDescriptor_Q4o1 = new S.PropDescriptor(string$.DesignMDNSse); + C.PropDescriptor_G3K = new S.PropDescriptor(string$.DesignMDNSso); + C.PropDescriptor_Q4o2 = new S.PropDescriptor(string$.DesignMDNSsh); + C.PropDescriptor_KST = new S.PropDescriptor(string$.DesignMDNSsdia); + C.PropDescriptor_QG5 = new S.PropDescriptor(string$.DesignMDNSsr); + C.PropDescriptor_ivT = new S.PropDescriptor(string$.DesignMDNSsdip); + C.List_KlB = H.setRuntimeTypeInfo(makeConstList([C.PropDescriptor_IG8, C.PropDescriptor_EKW, C.PropDescriptor_86y, C.PropDescriptor_ww8, C.PropDescriptor_dmL, C.PropDescriptor_wIv, C.PropDescriptor_Aq1, C.PropDescriptor_ASA, C.PropDescriptor_Fwu, C.PropDescriptor_Q4o1, C.PropDescriptor_G3K, C.PropDescriptor_Q4o2, C.PropDescriptor_KST, C.PropDescriptor_QG5, C.PropDescriptor_ivT]), type$.JSArray_legacy_PropDescriptor); + C.List_chs = H.setRuntimeTypeInfo(makeConstList(["DesignMainDNASequencesProps.helices", "DesignMainDNASequencesProps.groups", "DesignMainDNASequencesProps.geometry", "DesignMainDNASequencesProps.strands", string$.DesignMDNSss, string$.DesignMDNSsdnu, string$.DesignMDNSsdnh, string$.DesignMDNSsdnv, string$.DesignMDNSsi, string$.DesignMDNSse, string$.DesignMDNSso, string$.DesignMDNSsh, string$.DesignMDNSsdia, string$.DesignMDNSsr, string$.DesignMDNSsdip]), type$.JSArray_legacy_String); + C.PropsMeta_U0W = new S.PropsMeta(C.List_KlB, C.List_chs); + C.Map_KYQSU = new H.GeneralConstantMap([C.Type_DesignMainDNASequencesProps_MXq, C.PropsMeta_U0W], type$.GeneralConstantMap_of_legacy_Type_and_legacy_PropsMeta); + C.Type_DesignMainDomainsMovingProps_U06 = H.typeLiteral("DesignMainDomainsMovingProps"); + C.PropDescriptor_IFE = new S.PropDescriptor(string$.DesignMDosd); + C.PropDescriptor_wsf = new S.PropDescriptor(string$.DesignMDosco); + C.PropDescriptor_YM6 = new S.PropDescriptor(string$.DesignMDoso); + C.PropDescriptor_4CA0 = new S.PropDescriptor(string$.DesignMDoscu); + C.PropDescriptor_OtA = new S.PropDescriptor("DesignMainDomainsMovingProps.helices"); + C.PropDescriptor_USr = new S.PropDescriptor("DesignMainDomainsMovingProps.groups"); + C.PropDescriptor_uq7 = new S.PropDescriptor(string$.DesignMDoss); + C.PropDescriptor_ceN = new S.PropDescriptor("DesignMainDomainsMovingProps.geometry"); + C.PropDescriptor_sEt = new S.PropDescriptor(string$.DesignMDosh); + C.List_Oc0 = H.setRuntimeTypeInfo(makeConstList([C.PropDescriptor_IFE, C.PropDescriptor_wsf, C.PropDescriptor_YM6, C.PropDescriptor_4CA0, C.PropDescriptor_OtA, C.PropDescriptor_USr, C.PropDescriptor_uq7, C.PropDescriptor_ceN, C.PropDescriptor_sEt]), type$.JSArray_legacy_PropDescriptor); + C.List_ArU = H.setRuntimeTypeInfo(makeConstList([string$.DesignMDosd, string$.DesignMDosco, string$.DesignMDoso, string$.DesignMDoscu, "DesignMainDomainsMovingProps.helices", "DesignMainDomainsMovingProps.groups", string$.DesignMDoss, "DesignMainDomainsMovingProps.geometry", string$.DesignMDosh]), type$.JSArray_legacy_String); + C.PropsMeta_gDj = new S.PropsMeta(C.List_Oc0, C.List_ArU); + C.Map_LBHde = new H.GeneralConstantMap([C.Type_DesignMainDomainsMovingProps_U06, C.PropsMeta_gDj], type$.GeneralConstantMap_of_legacy_Type_and_legacy_PropsMeta); + C.Type_QTB = H.typeLiteral("DesignMainStrandModificationsPropsMixin"); + C.PropDescriptor_KeI = new S.PropDescriptor(string$.DesignMStMdsst); + C.PropDescriptor_23h1 = new S.PropDescriptor(string$.DesignMStMdshc); + C.PropDescriptor_KeI0 = new S.PropDescriptor(string$.DesignMStMdsgr); + C.PropDescriptor_YHK = new S.PropDescriptor(string$.DesignMStMdsge); + C.PropDescriptor_89t = new S.PropDescriptor(string$.DesignMStMdssi); + C.PropDescriptor_JmU0 = new S.PropDescriptor(string$.DesignMStMdso); + C.PropDescriptor_1Cr = new S.PropDescriptor(string$.DesignMStMdsd); + C.PropDescriptor_IuH0 = new S.PropDescriptor(string$.DesignMStMdsf); + C.PropDescriptor_QE6 = new S.PropDescriptor(string$.DesignMStMdsse); + C.PropDescriptor_yXb = new S.PropDescriptor(string$.DesignMStMdshx); + C.PropDescriptor_gGN = new S.PropDescriptor(string$.DesignMStMdsr); + C.List_GjJ = H.setRuntimeTypeInfo(makeConstList([C.PropDescriptor_KeI, C.PropDescriptor_23h1, C.PropDescriptor_KeI0, C.PropDescriptor_YHK, C.PropDescriptor_89t, C.PropDescriptor_JmU0, C.PropDescriptor_1Cr, C.PropDescriptor_IuH0, C.PropDescriptor_QE6, C.PropDescriptor_yXb, C.PropDescriptor_gGN]), type$.JSArray_legacy_PropDescriptor); + C.List_iPb = H.setRuntimeTypeInfo(makeConstList([string$.DesignMStMdsst, string$.DesignMStMdshc, string$.DesignMStMdsgr, string$.DesignMStMdsge, string$.DesignMStMdssi, string$.DesignMStMdso, string$.DesignMStMdsd, string$.DesignMStMdsf, string$.DesignMStMdsse, string$.DesignMStMdshx, string$.DesignMStMdsr]), type$.JSArray_legacy_String); + C.PropsMeta_NQk = new S.PropsMeta(C.List_GjJ, C.List_iPb); + C.Map_M6Tnb = new H.GeneralConstantMap([C.Type_QTB, C.PropsMeta_NQk, C.Type_I2O, C.PropsMeta_Me9], type$.GeneralConstantMap_of_legacy_Type_and_legacy_PropsMeta); + C.Type_DesignContextMenuProps_W5U = H.typeLiteral("DesignContextMenuProps"); + C.PropDescriptor_UWz0 = new S.PropDescriptor("DesignContextMenuProps.context_menu"); + C.List_aZ80 = H.setRuntimeTypeInfo(makeConstList([C.PropDescriptor_UWz0]), type$.JSArray_legacy_PropDescriptor); + C.List_yXb0 = H.setRuntimeTypeInfo(makeConstList(["DesignContextMenuProps.context_menu"]), type$.JSArray_legacy_String); + C.PropsMeta_JmU = new S.PropsMeta(C.List_aZ80, C.List_yXb0); + C.Map_MC6L0 = new H.GeneralConstantMap([C.Type_DesignContextMenuProps_W5U, C.PropsMeta_JmU], type$.GeneralConstantMap_of_legacy_Type_and_legacy_PropsMeta); + C.Type_DesignDialogFormProps_gkJ = H.typeLiteral("DesignDialogFormProps"); + C.PropDescriptor_I5l = new S.PropDescriptor("DesignDialogFormProps.dialog"); + C.List_U4d = H.setRuntimeTypeInfo(makeConstList([C.PropDescriptor_I5l]), type$.JSArray_legacy_PropDescriptor); + C.List_RYF = H.setRuntimeTypeInfo(makeConstList(["DesignDialogFormProps.dialog"]), type$.JSArray_legacy_String); + C.PropsMeta_ujo = new S.PropsMeta(C.List_U4d, C.List_RYF); + C.Map_MIIFE = new H.GeneralConstantMap([C.Type_DesignDialogFormProps_gkJ, C.PropsMeta_ujo], type$.GeneralConstantMap_of_legacy_Type_and_legacy_PropsMeta); + C.Type_DesignSideRotationArrowProps_bVZ = H.typeLiteral("DesignSideRotationArrowProps"); + C.PropDescriptor_6BT = new S.PropDescriptor(string$.DesignSR); + C.PropDescriptor_Ek9 = new S.PropDescriptor("DesignSideRotationArrowProps.radius"); + C.PropDescriptor_PVK = new S.PropDescriptor("DesignSideRotationArrowProps.color"); + C.PropDescriptor_IbN = new S.PropDescriptor("DesignSideRotationArrowProps.invert_y"); + C.List_irL = H.setRuntimeTypeInfo(makeConstList([C.PropDescriptor_6BT, C.PropDescriptor_Ek9, C.PropDescriptor_PVK, C.PropDescriptor_IbN]), type$.JSArray_legacy_PropDescriptor); + C.List_qNf = H.setRuntimeTypeInfo(makeConstList([string$.DesignSR, "DesignSideRotationArrowProps.radius", "DesignSideRotationArrowProps.color", "DesignSideRotationArrowProps.invert_y"]), type$.JSArray_legacy_String); + C.PropsMeta_sx4 = new S.PropsMeta(C.List_irL, C.List_qNf); + C.Map_OPgUw = new H.GeneralConstantMap([C.Type_DesignSideRotationArrowProps_bVZ, C.PropsMeta_sx4], type$.GeneralConstantMap_of_legacy_Type_and_legacy_PropsMeta); + C.List_Ogi = H.setRuntimeTypeInfo(makeConstList(["filter", "stroke-width"]), type$.JSArray_legacy_String); + C.Map_OgmUV = new H.ConstantStringMap(2, {filter: 'url("#shadow")', "stroke-width": "5pt"}, C.List_Ogi, type$.ConstantStringMap_of_legacy_String_and_legacy_String); + C.Type_DesignMainSliceBarProps_2fK = H.typeLiteral("DesignMainSliceBarProps"); + C.PropDescriptor_coJ = new S.PropDescriptor("DesignMainSliceBarProps.slice_bar_offset"); + C.PropDescriptor_YyH0 = new S.PropDescriptor(string$.DesignMSld); + C.PropDescriptor_wEo0 = new S.PropDescriptor(string$.DesignMSls); + C.PropDescriptor_fsw = new S.PropDescriptor("DesignMainSliceBarProps.groups"); + C.PropDescriptor_UIv = new S.PropDescriptor(string$.DesignMSlhs); + C.PropDescriptor_02 = new S.PropDescriptor("DesignMainSliceBarProps.helices"); + C.PropDescriptor_oyn = new S.PropDescriptor(string$.DesignMSlo); + C.PropDescriptor_43h = new S.PropDescriptor("DesignMainSliceBarProps.geometry"); + C.PropDescriptor_UsI = new S.PropDescriptor(string$.DesignMSlh_); + C.List_49I = H.setRuntimeTypeInfo(makeConstList([C.PropDescriptor_coJ, C.PropDescriptor_YyH0, C.PropDescriptor_wEo0, C.PropDescriptor_fsw, C.PropDescriptor_UIv, C.PropDescriptor_02, C.PropDescriptor_oyn, C.PropDescriptor_43h, C.PropDescriptor_UsI]), type$.JSArray_legacy_PropDescriptor); + C.List_Djg = H.setRuntimeTypeInfo(makeConstList(["DesignMainSliceBarProps.slice_bar_offset", string$.DesignMSld, string$.DesignMSls, "DesignMainSliceBarProps.groups", string$.DesignMSlhs, "DesignMainSliceBarProps.helices", string$.DesignMSlo, "DesignMainSliceBarProps.geometry", string$.DesignMSlh_]), type$.JSArray_legacy_String); + C.PropsMeta_Exl = new S.PropsMeta(C.List_49I, C.List_Djg); + C.Map_Okkyu = new H.GeneralConstantMap([C.Type_DesignMainSliceBarProps_2fK, C.PropsMeta_Exl], type$.GeneralConstantMap_of_legacy_Type_and_legacy_PropsMeta); + C.Type_MenuBooleanPropsMixin_mqK = H.typeLiteral("MenuBooleanPropsMixin"); + C.PropDescriptor_kGg = new S.PropDescriptor("MenuBooleanPropsMixin.value"); + C.PropDescriptor_kvp = new S.PropDescriptor("MenuBooleanPropsMixin.tooltip"); + C.PropDescriptor_IE7 = new S.PropDescriptor("MenuBooleanPropsMixin.display"); + C.PropDescriptor_jR6 = new S.PropDescriptor("MenuBooleanPropsMixin.onChange"); + C.PropDescriptor_IuH1 = new S.PropDescriptor("MenuBooleanPropsMixin.name"); + C.PropDescriptor_yLs = new S.PropDescriptor("MenuBooleanPropsMixin.hide"); + C.List_gUa = H.setRuntimeTypeInfo(makeConstList([C.PropDescriptor_kGg, C.PropDescriptor_kvp, C.PropDescriptor_IE7, C.PropDescriptor_jR6, C.PropDescriptor_IuH1, C.PropDescriptor_yLs]), type$.JSArray_legacy_PropDescriptor); + C.List_ivD = H.setRuntimeTypeInfo(makeConstList(["MenuBooleanPropsMixin.value", "MenuBooleanPropsMixin.tooltip", "MenuBooleanPropsMixin.display", "MenuBooleanPropsMixin.onChange", "MenuBooleanPropsMixin.name", "MenuBooleanPropsMixin.hide"]), type$.JSArray_legacy_String); + C.PropsMeta_Aec = new S.PropsMeta(C.List_gUa, C.List_ivD); + C.Map_PES8J = new H.GeneralConstantMap([C.Type_MenuBooleanPropsMixin_mqK, C.PropsMeta_Aec], type$.GeneralConstantMap_of_legacy_Type_and_legacy_PropsMeta); + C.Type_GC7 = H.typeLiteral("DesignMainDomainMovingPropsMixin"); + C.PropDescriptor_Drw = new S.PropDescriptor(string$.DesignMDoMdom); + C.PropDescriptor_EYt = new S.PropDescriptor("DesignMainDomainMovingPropsMixin.color"); + C.PropDescriptor_29X = new S.PropDescriptor(string$.DesignMDoMo); + C.PropDescriptor_ODT = new S.PropDescriptor(string$.DesignMDoMc); + C.PropDescriptor_wMy = new S.PropDescriptor(string$.DesignMDoMs); + C.PropDescriptor_WQ8 = new S.PropDescriptor(string$.DesignMDoMdev); + C.PropDescriptor_slV = new S.PropDescriptor(string$.DesignMDoMdeo); + C.PropDescriptor_Snq = new S.PropDescriptor(string$.DesignMDoMdef); + C.PropDescriptor_AmY = new S.PropDescriptor(string$.DesignMDoMa); + C.PropDescriptor_GIS = new S.PropDescriptor("DesignMainDomainMovingPropsMixin.helices"); + C.PropDescriptor_efV = new S.PropDescriptor("DesignMainDomainMovingPropsMixin.groups"); + C.PropDescriptor_M9d = new S.PropDescriptor(string$.DesignMDoMg); + C.PropDescriptor_03 = new S.PropDescriptor(string$.DesignMDoMdoh); + C.List_q71 = H.setRuntimeTypeInfo(makeConstList([C.PropDescriptor_Drw, C.PropDescriptor_EYt, C.PropDescriptor_29X, C.PropDescriptor_ODT, C.PropDescriptor_wMy, C.PropDescriptor_WQ8, C.PropDescriptor_slV, C.PropDescriptor_Snq, C.PropDescriptor_AmY, C.PropDescriptor_GIS, C.PropDescriptor_efV, C.PropDescriptor_M9d, C.PropDescriptor_03]), type$.JSArray_legacy_PropDescriptor); + C.List_w7k = H.setRuntimeTypeInfo(makeConstList([string$.DesignMDoMdom, "DesignMainDomainMovingPropsMixin.color", string$.DesignMDoMo, string$.DesignMDoMc, string$.DesignMDoMs, string$.DesignMDoMdev, string$.DesignMDoMdeo, string$.DesignMDoMdef, string$.DesignMDoMa, "DesignMainDomainMovingPropsMixin.helices", "DesignMainDomainMovingPropsMixin.groups", string$.DesignMDoMg, string$.DesignMDoMdoh]), type$.JSArray_legacy_String); + C.PropsMeta_EoM = new S.PropsMeta(C.List_q71, C.List_w7k); + C.Map_QLeii = new H.GeneralConstantMap([C.Type_GC7, C.PropsMeta_EoM, C.Type_I2O, C.PropsMeta_Me9], type$.GeneralConstantMap_of_legacy_Type_and_legacy_PropsMeta); + C.Type_DesignMainStrandsProps_yEF = H.typeLiteral("DesignMainStrandsProps"); + C.PropDescriptor_0Ci = new S.PropDescriptor("DesignMainStrandsProps.strands"); + C.PropDescriptor_Vul = new S.PropDescriptor("DesignMainStrandsProps.helices"); + C.PropDescriptor_Cjg = new S.PropDescriptor("DesignMainStrandsProps.groups"); + C.PropDescriptor_yvr = new S.PropDescriptor(string$.DesignMStsPsi); + C.PropDescriptor_oGx = new S.PropDescriptor("DesignMainStrandsProps.selectables_store"); + C.PropDescriptor_OG5 = new S.PropDescriptor("DesignMainStrandsProps.show_dna"); + C.PropDescriptor_IMQ = new S.PropDescriptor(string$.DesignMStsPshm); + C.PropDescriptor_w3P = new S.PropDescriptor("DesignMainStrandsProps.show_strand_names"); + C.PropDescriptor_1Cr0 = new S.PropDescriptor(string$.DesignMStsPshs); + C.PropDescriptor_oyU = new S.PropDescriptor("DesignMainStrandsProps.show_domain_names"); + C.PropDescriptor_Jik = new S.PropDescriptor(string$.DesignMStsPshd); + C.PropDescriptor_AWu = new S.PropDescriptor(string$.DesignMStsPstn); + C.PropDescriptor_04 = new S.PropDescriptor(string$.DesignMStsPstl); + C.PropDescriptor_IqZ = new S.PropDescriptor(string$.DesignMStsPdon); + C.PropDescriptor_wEo1 = new S.PropDescriptor(string$.DesignMStsPdol); + C.PropDescriptor_8aB = new S.PropDescriptor(string$.DesignMStsPmf); + C.PropDescriptor_m1I = new S.PropDescriptor(string$.DesignMStsPdr); + C.PropDescriptor_Art = new S.PropDescriptor("DesignMainStrandsProps.moving_dna_ends"); + C.PropDescriptor_TzM = new S.PropDescriptor(string$.DesignMStsPdn); + C.PropDescriptor_UaF = new S.PropDescriptor(string$.DesignMStsPo); + C.PropDescriptor_wgt = new S.PropDescriptor(string$.DesignMStsPmd); + C.PropDescriptor_k0I = new S.PropDescriptor(string$.DesignMStsPdi); + C.PropDescriptor_9xB = new S.PropDescriptor("DesignMainStrandsProps.geometry"); + C.PropDescriptor_ASA0 = new S.PropDescriptor(string$.DesignMStsPh); + C.PropDescriptor_jvN = new S.PropDescriptor(string$.DesignMStsPr); + C.List_WjT = H.setRuntimeTypeInfo(makeConstList([C.PropDescriptor_0Ci, C.PropDescriptor_Vul, C.PropDescriptor_Cjg, C.PropDescriptor_yvr, C.PropDescriptor_oGx, C.PropDescriptor_OG5, C.PropDescriptor_IMQ, C.PropDescriptor_w3P, C.PropDescriptor_1Cr0, C.PropDescriptor_oyU, C.PropDescriptor_Jik, C.PropDescriptor_AWu, C.PropDescriptor_04, C.PropDescriptor_IqZ, C.PropDescriptor_wEo1, C.PropDescriptor_8aB, C.PropDescriptor_m1I, C.PropDescriptor_Art, C.PropDescriptor_TzM, C.PropDescriptor_UaF, C.PropDescriptor_wgt, C.PropDescriptor_k0I, C.PropDescriptor_9xB, C.PropDescriptor_ASA0, C.PropDescriptor_jvN]), type$.JSArray_legacy_PropDescriptor); + C.List_B8J0 = H.setRuntimeTypeInfo(makeConstList(["DesignMainStrandsProps.strands", "DesignMainStrandsProps.helices", "DesignMainStrandsProps.groups", string$.DesignMStsPsi, "DesignMainStrandsProps.selectables_store", "DesignMainStrandsProps.show_dna", string$.DesignMStsPshm, "DesignMainStrandsProps.show_strand_names", string$.DesignMStsPshs, "DesignMainStrandsProps.show_domain_names", string$.DesignMStsPshd, string$.DesignMStsPstn, string$.DesignMStsPstl, string$.DesignMStsPdon, string$.DesignMStsPdol, string$.DesignMStsPmf, string$.DesignMStsPdr, "DesignMainStrandsProps.moving_dna_ends", string$.DesignMStsPdn, string$.DesignMStsPo, string$.DesignMStsPmd, string$.DesignMStsPdi, "DesignMainStrandsProps.geometry", string$.DesignMStsPh, string$.DesignMStsPr]), type$.JSArray_legacy_String); + C.PropsMeta_ciW = new S.PropsMeta(C.List_WjT, C.List_B8J0); + C.Map_S7AjA = new H.GeneralConstantMap([C.Type_DesignMainStrandsProps_yEF, C.PropsMeta_ciW], type$.GeneralConstantMap_of_legacy_Type_and_legacy_PropsMeta); + C.Type_DesignMainPropsMixin_8aB = H.typeLiteral("DesignMainPropsMixin"); + C.PropDescriptor_j7z = new S.PropDescriptor("DesignMainPropsMixin.design"); + C.PropDescriptor_kWj = new S.PropDescriptor(string$.DesignMPrp); + C.PropDescriptor_woc = new S.PropDescriptor(string$.DesignMPrsi); + C.PropDescriptor_EWB = new S.PropDescriptor("DesignMainPropsMixin.edit_modes"); + C.PropDescriptor_yT3 = new S.PropDescriptor("DesignMainPropsMixin.strands_move"); + C.PropDescriptor_y5u = new S.PropDescriptor("DesignMainPropsMixin.strand_creation"); + C.PropDescriptor_qNW = new S.PropDescriptor("DesignMainPropsMixin.has_error"); + C.PropDescriptor_c9P = new S.PropDescriptor("DesignMainPropsMixin.show_mismatches"); + C.PropDescriptor_qx4 = new S.PropDescriptor(string$.DesignMPrshd); + C.PropDescriptor_QW6 = new S.PropDescriptor(string$.DesignMPrshu); + C.PropDescriptor_W3K = new S.PropDescriptor("DesignMainPropsMixin.show_dna"); + C.PropDescriptor_U43 = new S.PropDescriptor(string$.DesignMPrb); + C.PropDescriptor_M2b = new S.PropDescriptor(string$.DesignMPrshb); + C.PropDescriptor_2fE = new S.PropDescriptor(string$.DesignMPrshb_); + C.PropDescriptor_L1t = new S.PropDescriptor("DesignMainPropsMixin.show_domain_names"); + C.PropDescriptor_L1t0 = new S.PropDescriptor("DesignMainPropsMixin.show_strand_names"); + C.PropDescriptor_qFu = new S.PropDescriptor(string$.DesignMPrdo); + C.PropDescriptor_NO4 = new S.PropDescriptor(string$.DesignMPrmo); + C.PropDescriptor_yv8 = new S.PropDescriptor(string$.DesignMPrmw); + C.PropDescriptor_KA9 = new S.PropDescriptor(string$.DesignMPrdr); + C.PropDescriptor_evJ = new S.PropDescriptor(string$.DesignMPrdnu); + C.PropDescriptor_YAS = new S.PropDescriptor(string$.DesignMPrdnh); + C.PropDescriptor_eDD = new S.PropDescriptor(string$.DesignMPrdnv); + C.PropDescriptor_u88 = new S.PropDescriptor(string$.DesignMPre); + C.PropDescriptor_sid = new S.PropDescriptor(string$.DesignMPri); + C.PropDescriptor_Art0 = new S.PropDescriptor(string$.DesignMPro); + C.PropDescriptor_QqF = new S.PropDescriptor(string$.DesignMPrhc); + C.PropDescriptor_oyU0 = new S.PropDescriptor(string$.DesignMPrdip_b); + C.PropDescriptor_u5W = new S.PropDescriptor(string$.DesignMPrdip_b_); + C.PropDescriptor_q96 = new S.PropDescriptor(string$.DesignMPrdip_m); + C.PropDescriptor_Gn1 = new S.PropDescriptor(string$.DesignMPrdip_m_); + C.PropDescriptor_FuN = new S.PropDescriptor("DesignMainPropsMixin.show_helix_circles"); + C.PropDescriptor_ebT = new S.PropDescriptor(string$.DesignMPrshh); + C.PropDescriptor_YyH1 = new S.PropDescriptor(string$.DesignMPrhg); + C.PropDescriptor_qd4 = new S.PropDescriptor(string$.DesignMPrshl); + C.PropDescriptor_an4 = new S.PropDescriptor("DesignMainPropsMixin.show_slice_bar"); + C.PropDescriptor_etK = new S.PropDescriptor("DesignMainPropsMixin.slice_bar_offset"); + C.PropDescriptor_uz7 = new S.PropDescriptor(string$.DesignMPrdipe); + C.PropDescriptor_AVc = new S.PropDescriptor("DesignMainPropsMixin.selection_rope"); + C.PropDescriptor_chs = new S.PropDescriptor(string$.DesignMPrdia); + C.PropDescriptor_Iex = new S.PropDescriptor(string$.DesignMPrr); + C.PropDescriptor_u880 = new S.PropDescriptor(string$.DesignMPrdip_r); + C.PropDescriptor_qVS = new S.PropDescriptor(string$.DesignMPrhi); + C.PropDescriptor_wXI = new S.PropDescriptor("DesignMainPropsMixin.invert_y"); + C.List_ftt = H.setRuntimeTypeInfo(makeConstList([C.PropDescriptor_j7z, C.PropDescriptor_kWj, C.PropDescriptor_woc, C.PropDescriptor_EWB, C.PropDescriptor_yT3, C.PropDescriptor_y5u, C.PropDescriptor_qNW, C.PropDescriptor_c9P, C.PropDescriptor_qx4, C.PropDescriptor_QW6, C.PropDescriptor_W3K, C.PropDescriptor_U43, C.PropDescriptor_M2b, C.PropDescriptor_2fE, C.PropDescriptor_L1t, C.PropDescriptor_L1t0, C.PropDescriptor_qFu, C.PropDescriptor_NO4, C.PropDescriptor_yv8, C.PropDescriptor_KA9, C.PropDescriptor_evJ, C.PropDescriptor_YAS, C.PropDescriptor_eDD, C.PropDescriptor_u88, C.PropDescriptor_sid, C.PropDescriptor_Art0, C.PropDescriptor_QqF, C.PropDescriptor_oyU0, C.PropDescriptor_u5W, C.PropDescriptor_q96, C.PropDescriptor_Gn1, C.PropDescriptor_FuN, C.PropDescriptor_ebT, C.PropDescriptor_YyH1, C.PropDescriptor_qd4, C.PropDescriptor_an4, C.PropDescriptor_etK, C.PropDescriptor_uz7, C.PropDescriptor_AVc, C.PropDescriptor_chs, C.PropDescriptor_Iex, C.PropDescriptor_u880, C.PropDescriptor_qVS, C.PropDescriptor_wXI]), type$.JSArray_legacy_PropDescriptor); + C.List_fDQ = H.setRuntimeTypeInfo(makeConstList(["DesignMainPropsMixin.design", string$.DesignMPrp, string$.DesignMPrsi, "DesignMainPropsMixin.edit_modes", "DesignMainPropsMixin.strands_move", "DesignMainPropsMixin.strand_creation", "DesignMainPropsMixin.has_error", "DesignMainPropsMixin.show_mismatches", string$.DesignMPrshd, string$.DesignMPrshu, "DesignMainPropsMixin.show_dna", string$.DesignMPrb, string$.DesignMPrshb, string$.DesignMPrshb_, "DesignMainPropsMixin.show_domain_names", "DesignMainPropsMixin.show_strand_names", string$.DesignMPrdo, string$.DesignMPrmo, string$.DesignMPrmw, string$.DesignMPrdr, string$.DesignMPrdnu, string$.DesignMPrdnh, string$.DesignMPrdnv, string$.DesignMPre, string$.DesignMPri, string$.DesignMPro, string$.DesignMPrhc, string$.DesignMPrdip_b, string$.DesignMPrdip_b_, string$.DesignMPrdip_m, string$.DesignMPrdip_m_, "DesignMainPropsMixin.show_helix_circles", string$.DesignMPrshh, string$.DesignMPrhg, string$.DesignMPrshl, "DesignMainPropsMixin.show_slice_bar", "DesignMainPropsMixin.slice_bar_offset", string$.DesignMPrdipe, "DesignMainPropsMixin.selection_rope", string$.DesignMPrdia, string$.DesignMPrr, string$.DesignMPrdip_r, string$.DesignMPrhi, "DesignMainPropsMixin.invert_y"]), type$.JSArray_legacy_String); + C.PropsMeta_acO = new S.PropsMeta(C.List_ftt, C.List_fDQ); + C.Map_SCwEo = new H.GeneralConstantMap([C.Type_DesignMainPropsMixin_8aB, C.PropsMeta_acO], type$.GeneralConstantMap_of_legacy_Type_and_legacy_PropsMeta); + C.Type_MenuNumberPropsMixin_gYy = H.typeLiteral("MenuNumberPropsMixin"); + C.PropDescriptor_C0t = new S.PropDescriptor("MenuNumberPropsMixin.display"); + C.PropDescriptor_2QU = new S.PropDescriptor("MenuNumberPropsMixin.default_value"); + C.PropDescriptor_uk0 = new S.PropDescriptor("MenuNumberPropsMixin.on_new_value"); + C.PropDescriptor_Q0M = new S.PropDescriptor("MenuNumberPropsMixin.min_value"); + C.PropDescriptor_Mi2 = new S.PropDescriptor("MenuNumberPropsMixin.hide"); + C.PropDescriptor_aDD = new S.PropDescriptor("MenuNumberPropsMixin.tooltip"); + C.PropDescriptor_zvr = new S.PropDescriptor("MenuNumberPropsMixin.input_elt_id"); + C.PropDescriptor_OLP = new S.PropDescriptor("MenuNumberPropsMixin.step"); + C.List_B8J1 = H.setRuntimeTypeInfo(makeConstList([C.PropDescriptor_C0t, C.PropDescriptor_2QU, C.PropDescriptor_uk0, C.PropDescriptor_Q0M, C.PropDescriptor_Mi2, C.PropDescriptor_aDD, C.PropDescriptor_zvr, C.PropDescriptor_OLP]), type$.JSArray_legacy_PropDescriptor); + C.List_EOZ = H.setRuntimeTypeInfo(makeConstList(["MenuNumberPropsMixin.display", "MenuNumberPropsMixin.default_value", "MenuNumberPropsMixin.on_new_value", "MenuNumberPropsMixin.min_value", "MenuNumberPropsMixin.hide", "MenuNumberPropsMixin.tooltip", "MenuNumberPropsMixin.input_elt_id", "MenuNumberPropsMixin.step"]), type$.JSArray_legacy_String); + C.PropsMeta_NYu = new S.PropsMeta(C.List_B8J1, C.List_EOZ); + C.Map_Uc9nB = new H.GeneralConstantMap([C.Type_MenuNumberPropsMixin_gYy, C.PropsMeta_NYu], type$.GeneralConstantMap_of_legacy_Type_and_legacy_PropsMeta); + C.Type_2jN = H.typeLiteral("DesignMainStrandLoopoutTextPropsMixin"); + C.PropDescriptor_OTG = new S.PropDescriptor(string$.DesignMStLl); + C.PropDescriptor_spY = new S.PropDescriptor(string$.DesignMStLg); + C.PropDescriptor_wKi = new S.PropDescriptor(string$.DesignMStLp); + C.PropDescriptor_wKi0 = new S.PropDescriptor(string$.DesignMStLne); + C.PropDescriptor_9XU = new S.PropDescriptor(string$.DesignMStLt); + C.PropDescriptor_JMh = new S.PropDescriptor(string$.DesignMStLc); + C.PropDescriptor_ORf = new S.PropDescriptor(string$.DesignMStLnu); + C.PropDescriptor_ytB = new S.PropDescriptor(string$.DesignMStLf); + C.List_ufO = H.setRuntimeTypeInfo(makeConstList([C.PropDescriptor_OTG, C.PropDescriptor_spY, C.PropDescriptor_wKi, C.PropDescriptor_wKi0, C.PropDescriptor_9XU, C.PropDescriptor_JMh, C.PropDescriptor_ORf, C.PropDescriptor_ytB]), type$.JSArray_legacy_PropDescriptor); + C.List_wIq = H.setRuntimeTypeInfo(makeConstList([string$.DesignMStLl, string$.DesignMStLg, string$.DesignMStLp, string$.DesignMStLne, string$.DesignMStLt, string$.DesignMStLc, string$.DesignMStLnu, string$.DesignMStLf]), type$.JSArray_legacy_String); + C.PropsMeta_EOZ = new S.PropsMeta(C.List_ufO, C.List_wIq); + C.Map_Vyq82 = new H.GeneralConstantMap([C.Type_2jN, C.PropsMeta_EOZ], type$.GeneralConstantMap_of_legacy_Type_and_legacy_PropsMeta); + C.Type_End5PrimeProps_n3g = H.typeLiteral("End5PrimeProps"); + C.PropDescriptor_EOZ1 = new S.PropDescriptor("End5PrimeProps.on_pointer_down"); + C.PropDescriptor_7xV = new S.PropDescriptor("End5PrimeProps.on_pointer_up"); + C.PropDescriptor_Wvs = new S.PropDescriptor("End5PrimeProps.on_mouse_up"); + C.PropDescriptor_R8h = new S.PropDescriptor("End5PrimeProps.on_mouse_move"); + C.PropDescriptor_YQd = new S.PropDescriptor("End5PrimeProps.on_mouse_enter"); + C.PropDescriptor_YQd0 = new S.PropDescriptor("End5PrimeProps.on_mouse_leave"); + C.PropDescriptor_TBl = new S.PropDescriptor("End5PrimeProps.classname"); + C.PropDescriptor_05 = new S.PropDescriptor("End5PrimeProps.pos"); + C.PropDescriptor_A0t = new S.PropDescriptor("End5PrimeProps.color"); + C.PropDescriptor_wz6 = new S.PropDescriptor("End5PrimeProps.forward"); + C.PropDescriptor_ImU = new S.PropDescriptor("End5PrimeProps.id"); + C.PropDescriptor_2No1 = new S.PropDescriptor("End5PrimeProps.transform"); + C.List_61m = H.setRuntimeTypeInfo(makeConstList([C.PropDescriptor_EOZ1, C.PropDescriptor_7xV, C.PropDescriptor_Wvs, C.PropDescriptor_R8h, C.PropDescriptor_YQd, C.PropDescriptor_YQd0, C.PropDescriptor_TBl, C.PropDescriptor_05, C.PropDescriptor_A0t, C.PropDescriptor_wz6, C.PropDescriptor_ImU, C.PropDescriptor_2No1]), type$.JSArray_legacy_PropDescriptor); + C.List_fXI0 = H.setRuntimeTypeInfo(makeConstList(["End5PrimeProps.on_pointer_down", "End5PrimeProps.on_pointer_up", "End5PrimeProps.on_mouse_up", "End5PrimeProps.on_mouse_move", "End5PrimeProps.on_mouse_enter", "End5PrimeProps.on_mouse_leave", "End5PrimeProps.classname", "End5PrimeProps.pos", "End5PrimeProps.color", "End5PrimeProps.forward", "End5PrimeProps.id", "End5PrimeProps.transform"]), type$.JSArray_legacy_String); + C.PropsMeta_NcA = new S.PropsMeta(C.List_61m, C.List_fXI0); + C.Map_Wbc8n = new H.GeneralConstantMap([C.Type_End5PrimeProps_n3g, C.PropsMeta_NcA], type$.GeneralConstantMap_of_legacy_Type_and_legacy_PropsMeta); + C.Type_kMT = H.typeLiteral("DesignMainUnpairedInsertionDeletionsProps"); + C.PropDescriptor_3Zi = new S.PropDescriptor(string$.DesignMUd); + C.PropDescriptor_bHr = new S.PropDescriptor(string$.DesignMUo); + C.PropDescriptor_Isw = new S.PropDescriptor(string$.DesignMUs); + C.PropDescriptor_gc61 = new S.PropDescriptor(string$.DesignMUh); + C.List_kUw = H.setRuntimeTypeInfo(makeConstList([C.PropDescriptor_3Zi, C.PropDescriptor_bHr, C.PropDescriptor_Isw, C.PropDescriptor_gc61]), type$.JSArray_legacy_PropDescriptor); + C.List_C1h = H.setRuntimeTypeInfo(makeConstList([string$.DesignMUd, string$.DesignMUo, string$.DesignMUs, string$.DesignMUh]), type$.JSArray_legacy_String); + C.PropsMeta_a33 = new S.PropsMeta(C.List_kUw, C.List_C1h); + C.Map_Yqc7R = new H.GeneralConstantMap([C.Type_kMT, C.PropsMeta_a33], type$.GeneralConstantMap_of_legacy_Type_and_legacy_PropsMeta); + C.Type_0zK = H.typeLiteral("DesignMainBasePairRectangleProps"); + C.PropDescriptor_w3P0 = new S.PropDescriptor(string$.DesignMBRw); + C.PropDescriptor_COe = new S.PropDescriptor("DesignMainBasePairRectangleProps.design"); + C.PropDescriptor_kEm1 = new S.PropDescriptor(string$.DesignMBRo); + C.PropDescriptor_gkc1 = new S.PropDescriptor(string$.DesignMBRs); + C.PropDescriptor_RtW = new S.PropDescriptor(string$.DesignMBRh); + C.List_U48 = H.setRuntimeTypeInfo(makeConstList([C.PropDescriptor_w3P0, C.PropDescriptor_COe, C.PropDescriptor_kEm1, C.PropDescriptor_gkc1, C.PropDescriptor_RtW]), type$.JSArray_legacy_PropDescriptor); + C.List_yT3 = H.setRuntimeTypeInfo(makeConstList([string$.DesignMBRw, "DesignMainBasePairRectangleProps.design", string$.DesignMBRo, string$.DesignMBRs, string$.DesignMBRh]), type$.JSArray_legacy_String); + C.PropsMeta_00 = new S.PropsMeta(C.List_U48, C.List_yT3); + C.Map_ZRMrB = new H.GeneralConstantMap([C.Type_0zK, C.PropsMeta_00], type$.GeneralConstantMap_of_legacy_Type_and_legacy_PropsMeta); + C.Type_EditModeProps_kxj = H.typeLiteral("EditModeProps"); + C.PropDescriptor_ePs = new S.PropDescriptor("EditModeProps.modes"); + C.List_Aec = H.setRuntimeTypeInfo(makeConstList([C.PropDescriptor_ePs]), type$.JSArray_legacy_PropDescriptor); + C.List_iZu = H.setRuntimeTypeInfo(makeConstList(["EditModeProps.modes"]), type$.JSArray_legacy_String); + C.PropsMeta_SjW = new S.PropsMeta(C.List_Aec, C.List_iZu); + C.Map_bdWrY = new H.GeneralConstantMap([C.Type_EditModeProps_kxj, C.PropsMeta_SjW], type$.GeneralConstantMap_of_legacy_Type_and_legacy_PropsMeta); + C.Map_bv0 = new H.GeneralConstantMap([C.ExportDNAFormat_csv, "CSV (.csv)", C.ExportDNAFormat_idt_bulk, "IDT Bulk (.txt)", C.ExportDNAFormat_idt_plates96, "IDT 96-well plate(s) (.xlsx)", C.ExportDNAFormat_idt_plates384, "IDT 384-well plate(s) (.xlsx)"], H.findType("GeneralConstantMap")); + C.Type_HelixGroupMovingProps_ivX = H.typeLiteral("HelixGroupMovingProps"); + C.PropDescriptor_yXb0 = new S.PropDescriptor("HelixGroupMovingProps.helix_group_move"); + C.PropDescriptor_vjC = new S.PropDescriptor(string$.HelixGs); + C.PropDescriptor_TCG = new S.PropDescriptor(string$.HelixGo); + C.PropDescriptor_h4d = new S.PropDescriptor("HelixGroupMovingProps.show_helix_circles"); + C.PropDescriptor_EyN = new S.PropDescriptor(string$.HelixGh); + C.List_0zQ = H.setRuntimeTypeInfo(makeConstList([C.PropDescriptor_yXb0, C.PropDescriptor_vjC, C.PropDescriptor_TCG, C.PropDescriptor_h4d, C.PropDescriptor_EyN]), type$.JSArray_legacy_PropDescriptor); + C.List_maS = H.setRuntimeTypeInfo(makeConstList(["HelixGroupMovingProps.helix_group_move", string$.HelixGs, string$.HelixGo, "HelixGroupMovingProps.show_helix_circles", string$.HelixGh]), type$.JSArray_legacy_String); + C.PropsMeta_ACQ = new S.PropsMeta(C.List_0zQ, C.List_maS); + C.Map_cKPcW = new H.GeneralConstantMap([C.Type_HelixGroupMovingProps_ivX, C.PropsMeta_ACQ], type$.GeneralConstantMap_of_legacy_Type_and_legacy_PropsMeta); + C.Type_DesignMainDomainPropsMixin_Gh9 = H.typeLiteral("DesignMainDomainPropsMixin"); + C.PropDescriptor_GF2 = new S.PropDescriptor("DesignMainDomainPropsMixin.domain"); + C.PropDescriptor_qVS0 = new S.PropDescriptor("DesignMainDomainPropsMixin.strand_color"); + C.PropDescriptor_Q1p = new S.PropDescriptor("DesignMainDomainPropsMixin.helix"); + C.PropDescriptor_e96 = new S.PropDescriptor(string$.DesignMDoPs); + C.PropDescriptor_iZu0 = new S.PropDescriptor("DesignMainDomainPropsMixin.strand"); + C.PropDescriptor_q5u = new S.PropDescriptor("DesignMainDomainPropsMixin.transform"); + C.PropDescriptor_qd9 = new S.PropDescriptor(string$.DesignMDoPh); + C.PropDescriptor_1OK = new S.PropDescriptor(string$.DesignMDoPc); + C.PropDescriptor_H1k = new S.PropDescriptor("DesignMainDomainPropsMixin.selected"); + C.PropDescriptor_A2Y = new S.PropDescriptor("DesignMainDomainPropsMixin.helices"); + C.PropDescriptor_JQR = new S.PropDescriptor("DesignMainDomainPropsMixin.groups"); + C.PropDescriptor_M2b0 = new S.PropDescriptor("DesignMainDomainPropsMixin.geometry"); + C.PropDescriptor_oCX = new S.PropDescriptor(string$.DesignMDoPr); + C.List_CFv = H.setRuntimeTypeInfo(makeConstList([C.PropDescriptor_GF2, C.PropDescriptor_qVS0, C.PropDescriptor_Q1p, C.PropDescriptor_e96, C.PropDescriptor_iZu0, C.PropDescriptor_q5u, C.PropDescriptor_qd9, C.PropDescriptor_1OK, C.PropDescriptor_H1k, C.PropDescriptor_A2Y, C.PropDescriptor_JQR, C.PropDescriptor_M2b0, C.PropDescriptor_oCX]), type$.JSArray_legacy_PropDescriptor); + C.List_8aB = H.setRuntimeTypeInfo(makeConstList(["DesignMainDomainPropsMixin.domain", "DesignMainDomainPropsMixin.strand_color", "DesignMainDomainPropsMixin.helix", string$.DesignMDoPs, "DesignMainDomainPropsMixin.strand", "DesignMainDomainPropsMixin.transform", string$.DesignMDoPh, string$.DesignMDoPc, "DesignMainDomainPropsMixin.selected", "DesignMainDomainPropsMixin.helices", "DesignMainDomainPropsMixin.groups", "DesignMainDomainPropsMixin.geometry", string$.DesignMDoPr]), type$.JSArray_legacy_String); + C.PropsMeta_eHO = new S.PropsMeta(C.List_CFv, C.List_8aB); + C.Map_cKYuU = new H.GeneralConstantMap([C.Type_DesignMainDomainPropsMixin_Gh9, C.PropsMeta_eHO, C.Type_I2O, C.PropsMeta_Me9], type$.GeneralConstantMap_of_legacy_Type_and_legacy_PropsMeta); + C.Type_MenuFormFileProps_afF = H.typeLiteral("MenuFormFileProps"); + C.PropDescriptor_a9w = new S.PropDescriptor("MenuFormFileProps.id"); + C.PropDescriptor_cwZ = new S.PropDescriptor("MenuFormFileProps.accept"); + C.PropDescriptor_mfA0 = new S.PropDescriptor("MenuFormFileProps.onChange"); + C.PropDescriptor_6Db = new S.PropDescriptor("MenuFormFileProps.display"); + C.PropDescriptor_3NO = new S.PropDescriptor("MenuFormFileProps.keyboard_shortcut"); + C.List_MIo = H.setRuntimeTypeInfo(makeConstList([C.PropDescriptor_a9w, C.PropDescriptor_cwZ, C.PropDescriptor_mfA0, C.PropDescriptor_6Db, C.PropDescriptor_3NO]), type$.JSArray_legacy_PropDescriptor); + C.List_2No = H.setRuntimeTypeInfo(makeConstList(["MenuFormFileProps.id", "MenuFormFileProps.accept", "MenuFormFileProps.onChange", "MenuFormFileProps.display", "MenuFormFileProps.keyboard_shortcut"]), type$.JSArray_legacy_String); + C.PropsMeta_uQo = new S.PropsMeta(C.List_MIo, C.List_2No); + C.Map_caa5W = new H.GeneralConstantMap([C.Type_MenuFormFileProps_afF, C.PropsMeta_uQo], type$.GeneralConstantMap_of_legacy_Type_and_legacy_PropsMeta); + C.Type_Zma = H.typeLiteral("StrandOrSubstrandColorPickerProps"); + C.PropDescriptor_27z = new S.PropDescriptor("StrandOrSubstrandColorPickerProps.color"); + C.PropDescriptor_Dfi0 = new S.PropDescriptor("StrandOrSubstrandColorPickerProps.show"); + C.PropDescriptor_A66 = new S.PropDescriptor("StrandOrSubstrandColorPickerProps.strand"); + C.PropDescriptor_qlj = new S.PropDescriptor(string$.Strand); + C.List_qxo = H.setRuntimeTypeInfo(makeConstList([C.PropDescriptor_27z, C.PropDescriptor_Dfi0, C.PropDescriptor_A66, C.PropDescriptor_qlj]), type$.JSArray_legacy_PropDescriptor); + C.List_dy4 = H.setRuntimeTypeInfo(makeConstList(["StrandOrSubstrandColorPickerProps.color", "StrandOrSubstrandColorPickerProps.show", "StrandOrSubstrandColorPickerProps.strand", string$.Strand]), type$.JSArray_legacy_String); + C.PropsMeta_Iyu = new S.PropsMeta(C.List_qxo, C.List_dy4); + C.Map_cskMT = new H.GeneralConstantMap([C.Type_Zma, C.PropsMeta_Iyu], type$.GeneralConstantMap_of_legacy_Type_and_legacy_PropsMeta); + C.Type_qVI = H.typeLiteral("DesignMainDomainNameMismatchesProps"); + C.PropDescriptor_H1k0 = new S.PropDescriptor(string$.DesignMDoNd); + C.PropDescriptor_ml5 = new S.PropDescriptor(string$.DesignMDoNo); + C.PropDescriptor_Tvc = new S.PropDescriptor(string$.DesignMDoNs); + C.PropDescriptor_06 = new S.PropDescriptor(string$.DesignMDoNh); + C.List_Vuq = H.setRuntimeTypeInfo(makeConstList([C.PropDescriptor_H1k0, C.PropDescriptor_ml5, C.PropDescriptor_Tvc, C.PropDescriptor_06]), type$.JSArray_legacy_PropDescriptor); + C.List_rxd = H.setRuntimeTypeInfo(makeConstList([string$.DesignMDoNd, string$.DesignMDoNo, string$.DesignMDoNs, string$.DesignMDoNh]), type$.JSArray_legacy_String); + C.PropsMeta_yXb = new S.PropsMeta(C.List_Vuq, C.List_rxd); + C.Map_cwekJ = new H.GeneralConstantMap([C.Type_qVI, C.PropsMeta_yXb], type$.GeneralConstantMap_of_legacy_Type_and_legacy_PropsMeta); + C.Type_IUx = H.typeLiteral("DesignMainLoopoutExtensionLengthPropsMixin"); + C.PropDescriptor_EO3 = new S.PropDescriptor(string$.DesignMLEPg); + C.PropDescriptor_y0E = new S.PropDescriptor(string$.DesignMLEPs); + C.List_xw80 = H.setRuntimeTypeInfo(makeConstList([C.PropDescriptor_EO3, C.PropDescriptor_y0E]), type$.JSArray_legacy_PropDescriptor); + C.List_CVg = H.setRuntimeTypeInfo(makeConstList([string$.DesignMLEPg, string$.DesignMLEPs]), type$.JSArray_legacy_String); + C.PropsMeta_nlo = new S.PropsMeta(C.List_xw80, C.List_CVg); + C.Map_dMfrF = new H.GeneralConstantMap([C.Type_IUx, C.PropsMeta_nlo], type$.GeneralConstantMap_of_legacy_Type_and_legacy_PropsMeta); + C.Type_PotentialExtensionsViewProps_cQL = H.typeLiteral("PotentialExtensionsViewProps"); + C.PropDescriptor_08U = new S.PropDescriptor(string$.PotentE); + C.PropDescriptor_YuC = new S.PropDescriptor("PotentialExtensionsViewProps.id"); + C.List_ebN = H.setRuntimeTypeInfo(makeConstList([C.PropDescriptor_08U, C.PropDescriptor_YuC]), type$.JSArray_legacy_PropDescriptor); + C.List_MAi = H.setRuntimeTypeInfo(makeConstList([string$.PotentE, "PotentialExtensionsViewProps.id"]), type$.JSArray_legacy_String); + C.PropsMeta_edb = new S.PropsMeta(C.List_ebN, C.List_MAi); + C.Map_dyoqK = new H.GeneralConstantMap([C.Type_PotentialExtensionsViewProps_cQL, C.PropsMeta_edb], type$.GeneralConstantMap_of_legacy_Type_and_legacy_PropsMeta); + C.Map_empty = new H.ConstantStringMap(0, {}, C.List_empty, H.findType("ConstantStringMap<@,@>")); + C.Map_empty1 = new H.ConstantStringMap(0, {}, C.List_empty0, H.findType("ConstantStringMap")); + C.Map_empty5 = new H.ConstantStringMap(0, {}, C.List_empty0, type$.ConstantStringMap_of_legacy_String_and_legacy_String); + C.List_empty8 = H.setRuntimeTypeInfo(makeConstList([]), H.findType("JSArray")); + C.Map_empty4 = new H.ConstantStringMap(0, {}, C.List_empty8, H.findType("ConstantStringMap")); + C.List_empty9 = H.setRuntimeTypeInfo(makeConstList([]), type$.JSArray_legacy_int); + C.Map_empty2 = new H.ConstantStringMap(0, {}, C.List_empty9, H.findType("ConstantStringMap*>")); + C.Map_empty3 = new H.ConstantStringMap(0, {}, C.List_empty9, H.findType("ConstantStringMap*>*>")); + C.Map_empty0 = new H.ConstantStringMap(0, {}, C.List_empty9, H.findType("ConstantStringMap")); + C.Type_AiQ = H.typeLiteral("DesignMainStrandCrossoverPropsMixin"); + C.PropDescriptor_GF20 = new S.PropDescriptor(string$.DesignMStCoc); + C.PropDescriptor_izR = new S.PropDescriptor(string$.DesignMStCost); + C.PropDescriptor_ECL = new S.PropDescriptor(string$.DesignMStCop); + C.PropDescriptor_ivu = new S.PropDescriptor(string$.DesignMStCon); + C.PropDescriptor_kWg = new S.PropDescriptor(string$.DesignMStCose); + C.PropDescriptor_Lpb = new S.PropDescriptor(string$.DesignMStCoh); + C.PropDescriptor_cz1 = new S.PropDescriptor(string$.DesignMStCogr); + C.PropDescriptor_kWg0 = new S.PropDescriptor(string$.DesignMStCoge); + C.PropDescriptor_ntV = new S.PropDescriptor(string$.DesignMStCop_); + C.PropDescriptor_Sjg = new S.PropDescriptor(string$.DesignMStCon_); + C.PropDescriptor_LVz = new S.PropDescriptor(string$.DesignMStCor); + C.List_Qew = H.setRuntimeTypeInfo(makeConstList([C.PropDescriptor_GF20, C.PropDescriptor_izR, C.PropDescriptor_ECL, C.PropDescriptor_ivu, C.PropDescriptor_kWg, C.PropDescriptor_Lpb, C.PropDescriptor_cz1, C.PropDescriptor_kWg0, C.PropDescriptor_ntV, C.PropDescriptor_Sjg, C.PropDescriptor_LVz]), type$.JSArray_legacy_PropDescriptor); + C.List_1GN = H.setRuntimeTypeInfo(makeConstList([string$.DesignMStCoc, string$.DesignMStCost, string$.DesignMStCop, string$.DesignMStCon, string$.DesignMStCose, string$.DesignMStCoh, string$.DesignMStCogr, string$.DesignMStCoge, string$.DesignMStCop_, string$.DesignMStCon_, string$.DesignMStCor]), type$.JSArray_legacy_String); + C.PropsMeta_FPr = new S.PropsMeta(C.List_Qew, C.List_1GN); + C.Map_g8IUw = new H.GeneralConstantMap([C.Type_AiQ, C.PropsMeta_FPr, C.Type_I2O, C.PropsMeta_Me9], type$.GeneralConstantMap_of_legacy_Type_and_legacy_PropsMeta); + C.Type_DesignSideProps_ifx = H.typeLiteral("DesignSideProps"); + C.PropDescriptor_mfA1 = new S.PropDescriptor("DesignSideProps.helices"); + C.PropDescriptor_yoW = new S.PropDescriptor("DesignSideProps.helix_idxs_selected"); + C.PropDescriptor_W5k = new S.PropDescriptor("DesignSideProps.rotation_datas"); + C.PropDescriptor_3dk = new S.PropDescriptor("DesignSideProps.edit_modes"); + C.PropDescriptor_Met = new S.PropDescriptor("DesignSideProps.geometry"); + C.PropDescriptor_kWj0 = new S.PropDescriptor("DesignSideProps.slice_bar_offset"); + C.PropDescriptor_M9F = new S.PropDescriptor("DesignSideProps.mouse_svg_pos"); + C.PropDescriptor_O7y = new S.PropDescriptor(string$.DesignSPrg); + C.PropDescriptor_oXg = new S.PropDescriptor("DesignSideProps.invert_y"); + C.PropDescriptor_IMB = new S.PropDescriptor(string$.DesignSPrh); + C.PropDescriptor_LIV = new S.PropDescriptor("DesignSideProps.show_grid_coordinates"); + C.PropDescriptor_K1g = new S.PropDescriptor("DesignSideProps.displayed_group"); + C.List_yCL = H.setRuntimeTypeInfo(makeConstList([C.PropDescriptor_mfA1, C.PropDescriptor_yoW, C.PropDescriptor_W5k, C.PropDescriptor_3dk, C.PropDescriptor_Met, C.PropDescriptor_kWj0, C.PropDescriptor_M9F, C.PropDescriptor_O7y, C.PropDescriptor_oXg, C.PropDescriptor_IMB, C.PropDescriptor_LIV, C.PropDescriptor_K1g]), type$.JSArray_legacy_PropDescriptor); + C.List_MMm = H.setRuntimeTypeInfo(makeConstList(["DesignSideProps.helices", "DesignSideProps.helix_idxs_selected", "DesignSideProps.rotation_datas", "DesignSideProps.edit_modes", "DesignSideProps.geometry", "DesignSideProps.slice_bar_offset", "DesignSideProps.mouse_svg_pos", string$.DesignSPrg, "DesignSideProps.invert_y", string$.DesignSPrh, "DesignSideProps.show_grid_coordinates", "DesignSideProps.displayed_group"]), type$.JSArray_legacy_String); + C.PropsMeta_whb = new S.PropsMeta(C.List_yCL, C.List_MMm); + C.Map_gGYZj = new H.GeneralConstantMap([C.Type_DesignSideProps_ifx, C.PropsMeta_whb], type$.GeneralConstantMap_of_legacy_Type_and_legacy_PropsMeta); + C.Type_8YY = H.typeLiteral("DesignMainDNASequencePropsMixin"); + C.PropDescriptor_gkJ = new S.PropDescriptor("DesignMainDNASequencePropsMixin.strand"); + C.PropDescriptor_kKA = new S.PropDescriptor(string$.DesignMDNSPs); + C.PropDescriptor_gc62 = new S.PropDescriptor(string$.DesignMDNSPo); + C.PropDescriptor_ivT0 = new S.PropDescriptor(string$.DesignMDNSPd); + C.PropDescriptor_jvD = new S.PropDescriptor("DesignMainDNASequencePropsMixin.helices"); + C.PropDescriptor_AgZ1 = new S.PropDescriptor("DesignMainDNASequencePropsMixin.groups"); + C.PropDescriptor_WTG = new S.PropDescriptor("DesignMainDNASequencePropsMixin.geometry"); + C.PropDescriptor_cje = new S.PropDescriptor(string$.DesignMDNSPh); + C.List_8Bb = H.setRuntimeTypeInfo(makeConstList([C.PropDescriptor_gkJ, C.PropDescriptor_kKA, C.PropDescriptor_gc62, C.PropDescriptor_ivT0, C.PropDescriptor_jvD, C.PropDescriptor_AgZ1, C.PropDescriptor_WTG, C.PropDescriptor_cje]), type$.JSArray_legacy_PropDescriptor); + C.List_gT2 = H.setRuntimeTypeInfo(makeConstList(["DesignMainDNASequencePropsMixin.strand", string$.DesignMDNSPs, string$.DesignMDNSPo, string$.DesignMDNSPd, "DesignMainDNASequencePropsMixin.helices", "DesignMainDNASequencePropsMixin.groups", "DesignMainDNASequencePropsMixin.geometry", string$.DesignMDNSPh]), type$.JSArray_legacy_String); + C.PropsMeta_ZGG = new S.PropsMeta(C.List_8Bb, C.List_gT2); + C.Map_gRswd = new H.GeneralConstantMap([C.Type_8YY, C.PropsMeta_ZGG, C.Type_I2O, C.PropsMeta_Me9], type$.GeneralConstantMap_of_legacy_Type_and_legacy_PropsMeta); + C.Type_sED = H.typeLiteral("DesignMainStrandMovingPropsMixin"); + C.PropDescriptor_mfA2 = new S.PropDescriptor("DesignMainStrandMovingPropsMixin.strand"); + C.PropDescriptor_Gxg = new S.PropDescriptor(string$.DesignMStMvo); + C.PropDescriptor_GDx = new S.PropDescriptor(string$.DesignMStMvc); + C.PropDescriptor_UnH = new S.PropDescriptor(string$.DesignMStMvs); + C.PropDescriptor_uP5 = new S.PropDescriptor(string$.DesignMStMvdv); + C.PropDescriptor_GFE = new S.PropDescriptor(string$.DesignMStMvdo); + C.PropDescriptor_cua = new S.PropDescriptor(string$.DesignMStMvdf); + C.PropDescriptor_gZu = new S.PropDescriptor(string$.DesignMStMva); + C.PropDescriptor_kiE = new S.PropDescriptor("DesignMainStrandMovingPropsMixin.helices"); + C.PropDescriptor_i1E = new S.PropDescriptor("DesignMainStrandMovingPropsMixin.groups"); + C.PropDescriptor_xbF = new S.PropDescriptor(string$.DesignMStMvg); + C.PropDescriptor_03m = new S.PropDescriptor(string$.DesignMStMvh); + C.List_QPV = H.setRuntimeTypeInfo(makeConstList([C.PropDescriptor_mfA2, C.PropDescriptor_Gxg, C.PropDescriptor_GDx, C.PropDescriptor_UnH, C.PropDescriptor_uP5, C.PropDescriptor_GFE, C.PropDescriptor_cua, C.PropDescriptor_gZu, C.PropDescriptor_kiE, C.PropDescriptor_i1E, C.PropDescriptor_xbF, C.PropDescriptor_03m]), type$.JSArray_legacy_PropDescriptor); + C.List_3CF = H.setRuntimeTypeInfo(makeConstList(["DesignMainStrandMovingPropsMixin.strand", string$.DesignMStMvo, string$.DesignMStMvc, string$.DesignMStMvs, string$.DesignMStMvdv, string$.DesignMStMvdo, string$.DesignMStMvdf, string$.DesignMStMva, "DesignMainStrandMovingPropsMixin.helices", "DesignMainStrandMovingPropsMixin.groups", string$.DesignMStMvg, string$.DesignMStMvh]), type$.JSArray_legacy_String); + C.PropsMeta_ibu = new S.PropsMeta(C.List_QPV, C.List_3CF); + C.Map_gaMMc = new H.GeneralConstantMap([C.Type_sED, C.PropsMeta_ibu, C.Type_I2O, C.PropsMeta_Me9], type$.GeneralConstantMap_of_legacy_Type_and_legacy_PropsMeta); + C.Type_DesignMainArrowsProps_6TA = H.typeLiteral("DesignMainArrowsProps"); + C.PropDescriptor_kaN = new S.PropDescriptor("DesignMainArrowsProps.invert_y"); + C.PropDescriptor_Au4 = new S.PropDescriptor(string$.DesignMA); + C.List_W5l = H.setRuntimeTypeInfo(makeConstList([C.PropDescriptor_kaN, C.PropDescriptor_Au4]), type$.JSArray_legacy_PropDescriptor); + C.List_bwO = H.setRuntimeTypeInfo(makeConstList(["DesignMainArrowsProps.invert_y", string$.DesignMA]), type$.JSArray_legacy_String); + C.PropsMeta_9Fi = new S.PropsMeta(C.List_W5l, C.List_bwO); + C.Map_gk6D9 = new H.GeneralConstantMap([C.Type_DesignMainArrowsProps_6TA, C.PropsMeta_9Fi], type$.GeneralConstantMap_of_legacy_Type_and_legacy_PropsMeta); + C.Type_DZ5 = H.typeLiteral("DesignMainExtensionPropsMixin"); + C.PropDescriptor_Q0M0 = new S.PropDescriptor("DesignMainExtensionPropsMixin.ext"); + C.PropDescriptor_gg40 = new S.PropDescriptor(string$.DesignMEad); + C.PropDescriptor_IuH2 = new S.PropDescriptor(string$.DesignMEah); + C.PropDescriptor_wMy0 = new S.PropDescriptor(string$.DesignMEsc); + C.PropDescriptor_m4s = new S.PropDescriptor("DesignMainExtensionPropsMixin.strand"); + C.PropDescriptor_IuH3 = new S.PropDescriptor(string$.DesignMEst); + C.PropDescriptor_rtW = new S.PropDescriptor("DesignMainExtensionPropsMixin.transform"); + C.PropDescriptor_CRT = new S.PropDescriptor(string$.DesignMEah_); + C.PropDescriptor_4qq = new S.PropDescriptor("DesignMainExtensionPropsMixin.selected"); + C.PropDescriptor_Eb00 = new S.PropDescriptor("DesignMainExtensionPropsMixin.helices"); + C.PropDescriptor_m4s0 = new S.PropDescriptor("DesignMainExtensionPropsMixin.groups"); + C.PropDescriptor_rH7 = new S.PropDescriptor("DesignMainExtensionPropsMixin.geometry"); + C.PropDescriptor_ssz = new S.PropDescriptor(string$.DesignMEr); + C.List_hCr = H.setRuntimeTypeInfo(makeConstList([C.PropDescriptor_Q0M0, C.PropDescriptor_gg40, C.PropDescriptor_IuH2, C.PropDescriptor_wMy0, C.PropDescriptor_m4s, C.PropDescriptor_IuH3, C.PropDescriptor_rtW, C.PropDescriptor_CRT, C.PropDescriptor_4qq, C.PropDescriptor_Eb00, C.PropDescriptor_m4s0, C.PropDescriptor_rH7, C.PropDescriptor_ssz]), type$.JSArray_legacy_PropDescriptor); + C.List_MMc = H.setRuntimeTypeInfo(makeConstList(["DesignMainExtensionPropsMixin.ext", string$.DesignMEad, string$.DesignMEah, string$.DesignMEsc, "DesignMainExtensionPropsMixin.strand", string$.DesignMEst, "DesignMainExtensionPropsMixin.transform", string$.DesignMEah_, "DesignMainExtensionPropsMixin.selected", "DesignMainExtensionPropsMixin.helices", "DesignMainExtensionPropsMixin.groups", "DesignMainExtensionPropsMixin.geometry", string$.DesignMEr]), type$.JSArray_legacy_String); + C.PropsMeta_kqo = new S.PropsMeta(C.List_hCr, C.List_MMc); + C.Map_gkibp = new H.GeneralConstantMap([C.Type_DZ5, C.PropsMeta_kqo, C.Type_I2O, C.PropsMeta_Me9], type$.GeneralConstantMap_of_legacy_Type_and_legacy_PropsMeta); + C.Type_RSK = H.typeLiteral("DesignMainStrandDomainTextPropsMixin"); + C.PropDescriptor_vTu = new S.PropDescriptor(string$.DesignMStDos); + C.PropDescriptor_69t = new S.PropDescriptor(string$.DesignMStDod); + C.PropDescriptor_GFE0 = new S.PropDescriptor(string$.DesignMStDoh); + C.PropDescriptor_cAS = new S.PropDescriptor(string$.DesignMStDog); + C.PropDescriptor_jBe = new S.PropDescriptor(string$.DesignMStDoh_g); + C.PropDescriptor_07 = new S.PropDescriptor(string$.DesignMStDote); + C.PropDescriptor_w7S = new S.PropDescriptor(string$.DesignMStDocs); + C.PropDescriptor_s0y = new S.PropDescriptor(string$.DesignMStDof); + C.PropDescriptor_gkc2 = new S.PropDescriptor(string$.DesignMStDon); + C.PropDescriptor_3Lo = new S.PropDescriptor(string$.DesignMStDotr); + C.PropDescriptor_qfi = new S.PropDescriptor(string$.DesignMStDoh_s); + C.PropDescriptor_6xG = new S.PropDescriptor(string$.DesignMStDoco); + C.List_a9P = H.setRuntimeTypeInfo(makeConstList([C.PropDescriptor_vTu, C.PropDescriptor_69t, C.PropDescriptor_GFE0, C.PropDescriptor_cAS, C.PropDescriptor_jBe, C.PropDescriptor_07, C.PropDescriptor_w7S, C.PropDescriptor_s0y, C.PropDescriptor_gkc2, C.PropDescriptor_3Lo, C.PropDescriptor_qfi, C.PropDescriptor_6xG]), type$.JSArray_legacy_PropDescriptor); + C.List_U0y = H.setRuntimeTypeInfo(makeConstList([string$.DesignMStDos, string$.DesignMStDod, string$.DesignMStDoh, string$.DesignMStDog, string$.DesignMStDoh_g, string$.DesignMStDote, string$.DesignMStDocs, string$.DesignMStDof, string$.DesignMStDon, string$.DesignMStDotr, string$.DesignMStDoh_s, string$.DesignMStDoco]), type$.JSArray_legacy_String); + C.PropsMeta_Go2 = new S.PropsMeta(C.List_a9P, C.List_U0y); + C.Map_gv9c8 = new H.GeneralConstantMap([C.Type_RSK, C.PropsMeta_Go2], type$.GeneralConstantMap_of_legacy_Type_and_legacy_PropsMeta); + C.Type_MenuPropsMixin_yrN = H.typeLiteral("MenuPropsMixin"); + C.Type_ConnectPropsMixin_gkc = H.typeLiteral("ConnectPropsMixin"); + C.PropDescriptor_IuH4 = new S.PropDescriptor("MenuPropsMixin.selected_ends"); + C.PropDescriptor_kS6 = new S.PropDescriptor(string$.MenuPrse); + C.PropDescriptor_kEm2 = new S.PropDescriptor("MenuPropsMixin.no_grid_is_none"); + C.PropDescriptor_h4d0 = new S.PropDescriptor("MenuPropsMixin.show_oxview"); + C.PropDescriptor_izW = new S.PropDescriptor("MenuPropsMixin.show_dna"); + C.PropDescriptor_Gw8 = new S.PropDescriptor("MenuPropsMixin.show_strand_names"); + C.PropDescriptor_2Vk0 = new S.PropDescriptor("MenuPropsMixin.show_strand_labels"); + C.PropDescriptor_Gw80 = new S.PropDescriptor("MenuPropsMixin.show_domain_names"); + C.PropDescriptor_2Vk1 = new S.PropDescriptor("MenuPropsMixin.show_domain_labels"); + C.PropDescriptor_SnW = new S.PropDescriptor("MenuPropsMixin.strand_name_font_size"); + C.PropDescriptor_gc63 = new S.PropDescriptor("MenuPropsMixin.strand_label_font_size"); + C.PropDescriptor_SnW0 = new S.PropDescriptor("MenuPropsMixin.domain_name_font_size"); + C.PropDescriptor_gc64 = new S.PropDescriptor("MenuPropsMixin.domain_label_font_size"); + C.PropDescriptor_KQb = new S.PropDescriptor("MenuPropsMixin.zoom_speed"); + C.PropDescriptor_Y8h = new S.PropDescriptor("MenuPropsMixin.show_modifications"); + C.PropDescriptor_qoL = new S.PropDescriptor("MenuPropsMixin.modification_font_size"); + C.PropDescriptor_kjq = new S.PropDescriptor(string$.MenuPrmao); + C.PropDescriptor_ekJ = new S.PropDescriptor(string$.MenuPrmaw); + C.PropDescriptor_swd = new S.PropDescriptor(string$.MenuPrmo); + C.PropDescriptor_oyn0 = new S.PropDescriptor("MenuPropsMixin.show_mismatches"); + C.PropDescriptor_WV2 = new S.PropDescriptor(string$.MenuPrshd); + C.PropDescriptor_Iwp1 = new S.PropDescriptor(string$.MenuPrshu); + C.PropDescriptor_W7l = new S.PropDescriptor("MenuPropsMixin.strand_paste_keep_color"); + C.PropDescriptor_2vz = new S.PropDescriptor("MenuPropsMixin.autofit"); + C.PropDescriptor_Qs5 = new S.PropDescriptor(string$.MenuPron); + C.PropDescriptor_699 = new S.PropDescriptor("MenuPropsMixin.example_designs"); + C.PropDescriptor_2jN1 = new S.PropDescriptor("MenuPropsMixin.base_pair_display_type"); + C.PropDescriptor_UAO = new S.PropDescriptor(string$.MenuPrdes); + C.PropDescriptor_PTV = new S.PropDescriptor("MenuPropsMixin.undo_stack_empty"); + C.PropDescriptor_PTV0 = new S.PropDescriptor("MenuPropsMixin.redo_stack_empty"); + C.PropDescriptor_opF = new S.PropDescriptor("MenuPropsMixin.enable_copy"); + C.PropDescriptor_D34 = new S.PropDescriptor(string$.MenuPrdy); + C.PropDescriptor_gkc3 = new S.PropDescriptor("MenuPropsMixin.show_base_pair_lines"); + C.PropDescriptor_ep7 = new S.PropDescriptor(string$.MenuPrshb); + C.PropDescriptor_wCJ = new S.PropDescriptor(string$.MenuPrdipo); + C.PropDescriptor_I2a = new S.PropDescriptor(string$.MenuPrdipb); + C.PropDescriptor_CqR = new S.PropDescriptor("MenuPropsMixin.display_major_tick_widths"); + C.PropDescriptor_cA6 = new S.PropDescriptor(string$.MenuPrdipm); + C.PropDescriptor_kEm3 = new S.PropDescriptor("MenuPropsMixin.invert_y"); + C.PropDescriptor_u8x = new S.PropDescriptor("MenuPropsMixin.warn_on_exit_if_unsaved"); + C.PropDescriptor_ilz = new S.PropDescriptor(string$.MenuPrshhi); + C.PropDescriptor_M6L = new S.PropDescriptor(string$.MenuPrshho); + C.PropDescriptor_MvI = new S.PropDescriptor(string$.MenuPrshg); + C.PropDescriptor_08 = new S.PropDescriptor("MenuPropsMixin.show_helices_axis_arrows"); + C.PropDescriptor_Tre = new S.PropDescriptor(string$.MenuPrshl); + C.PropDescriptor_Wmw = new S.PropDescriptor("MenuPropsMixin.show_mouseover_data"); + C.PropDescriptor_EKW0 = new S.PropDescriptor(string$.MenuPrdia); + C.PropDescriptor_woc0 = new S.PropDescriptor(string$.MenuPrr); + C.PropDescriptor_iil = new S.PropDescriptor(string$.MenuPrdipr); + C.PropDescriptor_oqF = new S.PropDescriptor(string$.MenuPrdefc); + C.PropDescriptor_PHH = new S.PropDescriptor(string$.MenuPrdeft); + C.PropDescriptor_8aB0 = new S.PropDescriptor(string$.MenuPre); + C.PropDescriptor_cGl0 = new S.PropDescriptor(string$.MenuProx); + C.PropDescriptor_uva = new S.PropDescriptor(string$.MenuPrl); + C.PropDescriptor_IEl = new S.PropDescriptor(string$.MenuPrc); + C.PropDescriptor_hce = new S.PropDescriptor("MenuPropsMixin.show_slice_bar"); + C.PropDescriptor_ura = new S.PropDescriptor("MenuPropsMixin.geometry"); + C.PropDescriptor_gg41 = new S.PropDescriptor("MenuPropsMixin.undo_redo"); + C.List_sCc = H.setRuntimeTypeInfo(makeConstList([C.PropDescriptor_IuH4, C.PropDescriptor_kS6, C.PropDescriptor_kEm2, C.PropDescriptor_h4d0, C.PropDescriptor_izW, C.PropDescriptor_Gw8, C.PropDescriptor_2Vk0, C.PropDescriptor_Gw80, C.PropDescriptor_2Vk1, C.PropDescriptor_SnW, C.PropDescriptor_gc63, C.PropDescriptor_SnW0, C.PropDescriptor_gc64, C.PropDescriptor_KQb, C.PropDescriptor_Y8h, C.PropDescriptor_qoL, C.PropDescriptor_kjq, C.PropDescriptor_ekJ, C.PropDescriptor_swd, C.PropDescriptor_oyn0, C.PropDescriptor_WV2, C.PropDescriptor_Iwp1, C.PropDescriptor_W7l, C.PropDescriptor_2vz, C.PropDescriptor_Qs5, C.PropDescriptor_699, C.PropDescriptor_2jN1, C.PropDescriptor_UAO, C.PropDescriptor_PTV, C.PropDescriptor_PTV0, C.PropDescriptor_opF, C.PropDescriptor_D34, C.PropDescriptor_gkc3, C.PropDescriptor_ep7, C.PropDescriptor_wCJ, C.PropDescriptor_I2a, C.PropDescriptor_CqR, C.PropDescriptor_cA6, C.PropDescriptor_kEm3, C.PropDescriptor_u8x, C.PropDescriptor_ilz, C.PropDescriptor_M6L, C.PropDescriptor_MvI, C.PropDescriptor_08, C.PropDescriptor_Tre, C.PropDescriptor_Wmw, C.PropDescriptor_EKW0, C.PropDescriptor_woc0, C.PropDescriptor_iil, C.PropDescriptor_oqF, C.PropDescriptor_PHH, C.PropDescriptor_8aB0, C.PropDescriptor_cGl0, C.PropDescriptor_uva, C.PropDescriptor_IEl, C.PropDescriptor_hce, C.PropDescriptor_ura, C.PropDescriptor_gg41]), type$.JSArray_legacy_PropDescriptor); + C.List_sBb = H.setRuntimeTypeInfo(makeConstList(["MenuPropsMixin.selected_ends", string$.MenuPrse, "MenuPropsMixin.no_grid_is_none", "MenuPropsMixin.show_oxview", "MenuPropsMixin.show_dna", "MenuPropsMixin.show_strand_names", "MenuPropsMixin.show_strand_labels", "MenuPropsMixin.show_domain_names", "MenuPropsMixin.show_domain_labels", "MenuPropsMixin.strand_name_font_size", "MenuPropsMixin.strand_label_font_size", "MenuPropsMixin.domain_name_font_size", "MenuPropsMixin.domain_label_font_size", "MenuPropsMixin.zoom_speed", "MenuPropsMixin.show_modifications", "MenuPropsMixin.modification_font_size", string$.MenuPrmao, string$.MenuPrmaw, string$.MenuPrmo, "MenuPropsMixin.show_mismatches", string$.MenuPrshd, string$.MenuPrshu, "MenuPropsMixin.strand_paste_keep_color", "MenuPropsMixin.autofit", string$.MenuPron, "MenuPropsMixin.example_designs", "MenuPropsMixin.base_pair_display_type", string$.MenuPrdes, "MenuPropsMixin.undo_stack_empty", "MenuPropsMixin.redo_stack_empty", "MenuPropsMixin.enable_copy", string$.MenuPrdy, "MenuPropsMixin.show_base_pair_lines", string$.MenuPrshb, string$.MenuPrdipo, string$.MenuPrdipb, "MenuPropsMixin.display_major_tick_widths", string$.MenuPrdipm, "MenuPropsMixin.invert_y", "MenuPropsMixin.warn_on_exit_if_unsaved", string$.MenuPrshhi, string$.MenuPrshho, string$.MenuPrshg, "MenuPropsMixin.show_helices_axis_arrows", string$.MenuPrshl, "MenuPropsMixin.show_mouseover_data", string$.MenuPrdia, string$.MenuPrr, string$.MenuPrdipr, string$.MenuPrdefc, string$.MenuPrdeft, string$.MenuPre, string$.MenuProx, string$.MenuPrl, string$.MenuPrc, "MenuPropsMixin.show_slice_bar", "MenuPropsMixin.geometry", "MenuPropsMixin.undo_redo"]), type$.JSArray_legacy_String); + C.PropsMeta_mT8 = new S.PropsMeta(C.List_sCc, C.List_sBb); + C.PropDescriptor_dispatch = new S.PropDescriptor("dispatch"); + C.List_PropDescriptor_dispatch = H.setRuntimeTypeInfo(makeConstList([C.PropDescriptor_dispatch]), type$.JSArray_legacy_PropDescriptor); + C.List_dispatch = H.setRuntimeTypeInfo(makeConstList(["dispatch"]), type$.JSArray_legacy_String); + C.PropsMeta_U7K = new S.PropsMeta(C.List_PropDescriptor_dispatch, C.List_dispatch); + C.Map_iSA0t = new H.GeneralConstantMap([C.Type_MenuPropsMixin_yrN, C.PropsMeta_mT8, C.Type_ConnectPropsMixin_gkc, C.PropsMeta_U7K], type$.GeneralConstantMap_of_legacy_Type_and_legacy_PropsMeta); + C.Type_Bzp = H.typeLiteral("DesignMainStrandAndDomainTextsPropsMixin"); + C.PropDescriptor_wW30 = new S.PropDescriptor(string$.DesignMStAst); + C.PropDescriptor_8e5 = new S.PropDescriptor(string$.DesignMStAhc); + C.PropDescriptor_wW31 = new S.PropDescriptor(string$.DesignMStAgr); + C.PropDescriptor_4QF = new S.PropDescriptor(string$.DesignMStAge); + C.PropDescriptor_gyR = new S.PropDescriptor(string$.DesignMStAsi); + C.PropDescriptor_4AN = new S.PropDescriptor(string$.DesignMStAo); + C.PropDescriptor_ino = new S.PropDescriptor(string$.DesignMStAshdn); + C.PropDescriptor_6nc = new S.PropDescriptor(string$.DesignMStAshsn); + C.PropDescriptor_E4S = new S.PropDescriptor(string$.DesignMStAshsl); + C.PropDescriptor_M1J = new S.PropDescriptor(string$.DesignMStAshdon); + C.PropDescriptor_2TY = new S.PropDescriptor(string$.DesignMStAshdol); + C.PropDescriptor_OX8 = new S.PropDescriptor(string$.DesignMStAst_n); + C.PropDescriptor_mt1 = new S.PropDescriptor(string$.DesignMStAst_l); + C.PropDescriptor_OX80 = new S.PropDescriptor(string$.DesignMStAdn); + C.PropDescriptor_mt10 = new S.PropDescriptor(string$.DesignMStAdl); + C.PropDescriptor_WX3 = new S.PropDescriptor(string$.DesignMStAhx); + C.PropDescriptor_BmO = new S.PropDescriptor(string$.DesignMStAc); + C.List_3Kn = H.setRuntimeTypeInfo(makeConstList([C.PropDescriptor_wW30, C.PropDescriptor_8e5, C.PropDescriptor_wW31, C.PropDescriptor_4QF, C.PropDescriptor_gyR, C.PropDescriptor_4AN, C.PropDescriptor_ino, C.PropDescriptor_6nc, C.PropDescriptor_E4S, C.PropDescriptor_M1J, C.PropDescriptor_2TY, C.PropDescriptor_OX8, C.PropDescriptor_mt1, C.PropDescriptor_OX80, C.PropDescriptor_mt10, C.PropDescriptor_WX3, C.PropDescriptor_BmO]), type$.JSArray_legacy_PropDescriptor); + C.List_PHl = H.setRuntimeTypeInfo(makeConstList([string$.DesignMStAst, string$.DesignMStAhc, string$.DesignMStAgr, string$.DesignMStAge, string$.DesignMStAsi, string$.DesignMStAo, string$.DesignMStAshdn, string$.DesignMStAshsn, string$.DesignMStAshsl, string$.DesignMStAshdon, string$.DesignMStAshdol, string$.DesignMStAst_n, string$.DesignMStAst_l, string$.DesignMStAdn, string$.DesignMStAdl, string$.DesignMStAhx, string$.DesignMStAc]), type$.JSArray_legacy_String); + C.PropsMeta_1AX = new S.PropsMeta(C.List_3Kn, C.List_PHl); + C.Map_k6K6o = new H.GeneralConstantMap([C.Type_Bzp, C.PropsMeta_1AX, C.Type_I2O, C.PropsMeta_Me9], type$.GeneralConstantMap_of_legacy_Type_and_legacy_PropsMeta); + C.Type_mly = H.typeLiteral("DesignMainStrandModificationProps"); + C.PropDescriptor_Zq7 = new S.PropDescriptor(string$.DesignMStMdPdn); + C.PropDescriptor_Gxp = new S.PropDescriptor("DesignMainStrandModificationProps.helix"); + C.PropDescriptor_0O7 = new S.PropDescriptor(string$.DesignMStMdPdi); + C.PropDescriptor_hyT = new S.PropDescriptor(string$.DesignMStMdPf); + C.PropDescriptor_adc = new S.PropDescriptor(string$.DesignMStMdPi); + C.PropDescriptor_HbX = new S.PropDescriptor(string$.DesignMStMdPt); + C.PropDescriptor_LMA = new S.PropDescriptor(string$.DesignMStMdPg); + C.PropDescriptor_0vw = new S.PropDescriptor(string$.DesignMStMdPsa); + C.PropDescriptor_adc0 = new S.PropDescriptor(string$.DesignMStMdPse); + C.PropDescriptor_Qtf = new S.PropDescriptor(string$.DesignMStMdPh); + C.PropDescriptor_fN9 = new S.PropDescriptor("DesignMainStrandModificationProps.ext"); + C.PropDescriptor_IQp = new S.PropDescriptor(string$.DesignMStMdPr); + C.List_wwd = H.setRuntimeTypeInfo(makeConstList([C.PropDescriptor_Zq7, C.PropDescriptor_Gxp, C.PropDescriptor_0O7, C.PropDescriptor_hyT, C.PropDescriptor_adc, C.PropDescriptor_HbX, C.PropDescriptor_LMA, C.PropDescriptor_0vw, C.PropDescriptor_adc0, C.PropDescriptor_Qtf, C.PropDescriptor_fN9, C.PropDescriptor_IQp]), type$.JSArray_legacy_PropDescriptor); + C.List_OGl = H.setRuntimeTypeInfo(makeConstList([string$.DesignMStMdPdn, "DesignMainStrandModificationProps.helix", string$.DesignMStMdPdi, string$.DesignMStMdPf, string$.DesignMStMdPi, string$.DesignMStMdPt, string$.DesignMStMdPg, string$.DesignMStMdPsa, string$.DesignMStMdPse, string$.DesignMStMdPh, "DesignMainStrandModificationProps.ext", string$.DesignMStMdPr]), type$.JSArray_legacy_String); + C.PropsMeta_V43 = new S.PropsMeta(C.List_wwd, C.List_OGl); + C.Map_l5Ymk = new H.GeneralConstantMap([C.Type_mly, C.PropsMeta_V43], type$.GeneralConstantMap_of_legacy_Type_and_legacy_PropsMeta); + C.Type_7N7 = H.typeLiteral("DesignMainStrandInsertionPropsMixin"); + C.PropDescriptor_W3P = new S.PropDescriptor(string$.DesignMStIsea); + C.PropDescriptor_xw8 = new S.PropDescriptor(string$.DesignMStIh); + C.PropDescriptor_zHF = new S.PropDescriptor(string$.DesignMStIt); + C.PropDescriptor_Nd1 = new S.PropDescriptor(string$.DesignMStIc); + C.PropDescriptor_DV7 = new S.PropDescriptor(string$.DesignMStIsee); + C.PropDescriptor_yiu = new S.PropDescriptor(string$.DesignMStId); + C.PropDescriptor_m3D = new S.PropDescriptor(string$.DesignMStIsv); + C.PropDescriptor_Qgx = new S.PropDescriptor(string$.DesignMStIr); + C.List_MUs = H.setRuntimeTypeInfo(makeConstList([C.PropDescriptor_W3P, C.PropDescriptor_xw8, C.PropDescriptor_zHF, C.PropDescriptor_Nd1, C.PropDescriptor_DV7, C.PropDescriptor_yiu, C.PropDescriptor_m3D, C.PropDescriptor_Qgx]), type$.JSArray_legacy_PropDescriptor); + C.List_4em = H.setRuntimeTypeInfo(makeConstList([string$.DesignMStIsea, string$.DesignMStIh, string$.DesignMStIt, string$.DesignMStIc, string$.DesignMStIsee, string$.DesignMStId, string$.DesignMStIsv, string$.DesignMStIr]), type$.JSArray_legacy_String); + C.PropsMeta_a4k = new S.PropsMeta(C.List_MUs, C.List_4em); + C.Map_mu0ib = new H.GeneralConstantMap([C.Type_7N7, C.PropsMeta_a4k], type$.GeneralConstantMap_of_legacy_Type_and_legacy_PropsMeta); + C.Type_DesignFooterProps_qRH = H.typeLiteral("DesignFooterProps"); + C.PropDescriptor_2jR = new S.PropDescriptor("DesignFooterProps.mouseover_datas"); + C.PropDescriptor_chs0 = new S.PropDescriptor(string$.DesignF); + C.PropDescriptor_QAM = new S.PropDescriptor("DesignFooterProps.loaded_filename"); + C.List_ewF = H.setRuntimeTypeInfo(makeConstList([C.PropDescriptor_2jR, C.PropDescriptor_chs0, C.PropDescriptor_QAM]), type$.JSArray_legacy_PropDescriptor); + C.List_uh9 = H.setRuntimeTypeInfo(makeConstList(["DesignFooterProps.mouseover_datas", string$.DesignF, "DesignFooterProps.loaded_filename"]), type$.JSArray_legacy_String); + C.PropsMeta_8GZ = new S.PropsMeta(C.List_ewF, C.List_uh9); + C.Map_np2PZ = new H.GeneralConstantMap([C.Type_DesignFooterProps_qRH, C.PropsMeta_8GZ], type$.GeneralConstantMap_of_legacy_Type_and_legacy_PropsMeta); + C.Type_DesignMainHelicesProps_Jik = H.typeLiteral("DesignMainHelicesProps"); + C.PropDescriptor_Sk7 = new S.PropDescriptor("DesignMainHelicesProps.helices"); + C.PropDescriptor_kqK = new S.PropDescriptor(string$.DesignMHchis); + C.PropDescriptor_G3F = new S.PropDescriptor("DesignMainHelicesProps.groups"); + C.PropDescriptor_MyV1 = new S.PropDescriptor(string$.DesignMHcsi); + C.PropDescriptor_EuN = new S.PropDescriptor(string$.DesignMHcmo); + C.PropDescriptor_TOw = new S.PropDescriptor(string$.DesignMHcmw); + C.PropDescriptor_Kro = new S.PropDescriptor(string$.DesignMHco); + C.PropDescriptor_IoN = new S.PropDescriptor(string$.DesignMHchc); + C.PropDescriptor_2jM = new S.PropDescriptor("DesignMainHelicesProps.show_dna"); + C.PropDescriptor_a1A = new S.PropDescriptor(string$.DesignMHcshd); + C.PropDescriptor_k8l = new S.PropDescriptor(string$.DesignMHcdb); + C.PropDescriptor_Tbh = new S.PropDescriptor(string$.DesignMHcdb_); + C.PropDescriptor_gkJ0 = new S.PropDescriptor(string$.DesignMHcdm); + C.PropDescriptor_Wbs = new S.PropDescriptor(string$.DesignMHcdm_); + C.PropDescriptor_kB8 = new S.PropDescriptor("DesignMainHelicesProps.geometry"); + C.PropDescriptor_Xbg = new S.PropDescriptor(string$.DesignMHcshh); + C.PropDescriptor_mt11 = new S.PropDescriptor(string$.DesignMHchi_); + C.PropDescriptor_5m4 = new S.PropDescriptor("DesignMainHelicesProps.invert_y"); + C.List_4aQ = H.setRuntimeTypeInfo(makeConstList([C.PropDescriptor_Sk7, C.PropDescriptor_kqK, C.PropDescriptor_G3F, C.PropDescriptor_MyV1, C.PropDescriptor_EuN, C.PropDescriptor_TOw, C.PropDescriptor_Kro, C.PropDescriptor_IoN, C.PropDescriptor_2jM, C.PropDescriptor_a1A, C.PropDescriptor_k8l, C.PropDescriptor_Tbh, C.PropDescriptor_gkJ0, C.PropDescriptor_Wbs, C.PropDescriptor_kB8, C.PropDescriptor_Xbg, C.PropDescriptor_mt11, C.PropDescriptor_5m4]), type$.JSArray_legacy_PropDescriptor); + C.List_AeS0 = H.setRuntimeTypeInfo(makeConstList(["DesignMainHelicesProps.helices", string$.DesignMHchis, "DesignMainHelicesProps.groups", string$.DesignMHcsi, string$.DesignMHcmo, string$.DesignMHcmw, string$.DesignMHco, string$.DesignMHchc, "DesignMainHelicesProps.show_dna", string$.DesignMHcshd, string$.DesignMHcdb, string$.DesignMHcdb_, string$.DesignMHcdm, string$.DesignMHcdm_, "DesignMainHelicesProps.geometry", string$.DesignMHcshh, string$.DesignMHchi_, "DesignMainHelicesProps.invert_y"]), type$.JSArray_legacy_String); + C.PropsMeta_2Hq = new S.PropsMeta(C.List_4aQ, C.List_AeS0); + C.Map_qZ0 = new H.GeneralConstantMap([C.Type_DesignMainHelicesProps_Jik, C.PropsMeta_2Hq], type$.GeneralConstantMap_of_legacy_Type_and_legacy_PropsMeta); + C.Type_v1a = H.typeLiteral("DesignSidePotentialHelixProps"); + C.PropDescriptor_U8c = new S.PropDescriptor("DesignSidePotentialHelixProps.grid"); + C.PropDescriptor_2Zs = new S.PropDescriptor(string$.DesignSPog); + C.PropDescriptor_EgC = new S.PropDescriptor(string$.DesignSPom); + C.PropDescriptor_NIe = new S.PropDescriptor("DesignSidePotentialHelixProps.invert_y"); + C.PropDescriptor_NIe0 = new S.PropDescriptor("DesignSidePotentialHelixProps.geometry"); + C.List_OnH = H.setRuntimeTypeInfo(makeConstList([C.PropDescriptor_U8c, C.PropDescriptor_2Zs, C.PropDescriptor_EgC, C.PropDescriptor_NIe, C.PropDescriptor_NIe0]), type$.JSArray_legacy_PropDescriptor); + C.List_I2O = H.setRuntimeTypeInfo(makeConstList(["DesignSidePotentialHelixProps.grid", string$.DesignSPog, string$.DesignSPom, "DesignSidePotentialHelixProps.invert_y", "DesignSidePotentialHelixProps.geometry"]), type$.JSArray_legacy_String); + C.PropsMeta_UW6 = new S.PropsMeta(C.List_OnH, C.List_I2O); + C.Map_qpW5w = new H.GeneralConstantMap([C.Type_v1a, C.PropsMeta_UW6], type$.GeneralConstantMap_of_legacy_Type_and_legacy_PropsMeta); + C.Type_FKj = H.typeLiteral("DesignMainStrandExtensionTextPropsMixin"); + C.PropDescriptor_enb = new S.PropDescriptor(string$.DesignMStEe); + C.PropDescriptor_fx3 = new S.PropDescriptor(string$.DesignMStEg); + C.PropDescriptor_4oR = new S.PropDescriptor(string$.DesignMStEt); + C.PropDescriptor_kUZ = new S.PropDescriptor(string$.DesignMStEc); + C.PropDescriptor_W6l = new S.PropDescriptor(string$.DesignMStEn); + C.PropDescriptor_Gxp0 = new S.PropDescriptor(string$.DesignMStEf); + C.List_RsV = H.setRuntimeTypeInfo(makeConstList([C.PropDescriptor_enb, C.PropDescriptor_fx3, C.PropDescriptor_4oR, C.PropDescriptor_kUZ, C.PropDescriptor_W6l, C.PropDescriptor_Gxp0]), type$.JSArray_legacy_PropDescriptor); + C.List_VOd = H.setRuntimeTypeInfo(makeConstList([string$.DesignMStEe, string$.DesignMStEg, string$.DesignMStEt, string$.DesignMStEc, string$.DesignMStEn, string$.DesignMStEf]), type$.JSArray_legacy_String); + C.PropsMeta_ubj = new S.PropsMeta(C.List_RsV, C.List_VOd); + C.Map_qrwEo = new H.GeneralConstantMap([C.Type_FKj, C.PropsMeta_ubj], type$.GeneralConstantMap_of_legacy_Type_and_legacy_PropsMeta); + C.Type_SideMenuPropsMixin_2jN = H.typeLiteral("SideMenuPropsMixin"); + C.PropDescriptor_ATp = new S.PropDescriptor("SideMenuPropsMixin.groups"); + C.PropDescriptor_yzJ = new S.PropDescriptor("SideMenuPropsMixin.displayed_group_name"); + C.List_jFK = H.setRuntimeTypeInfo(makeConstList([C.PropDescriptor_ATp, C.PropDescriptor_yzJ]), type$.JSArray_legacy_PropDescriptor); + C.List_RA5 = H.setRuntimeTypeInfo(makeConstList(["SideMenuPropsMixin.groups", "SideMenuPropsMixin.displayed_group_name"]), type$.JSArray_legacy_String); + C.PropsMeta_DV7 = new S.PropsMeta(C.List_jFK, C.List_RA5); + C.Map_savdf = new H.GeneralConstantMap([C.Type_SideMenuPropsMixin_2jN, C.PropsMeta_DV7, C.Type_ConnectPropsMixin_gkc, C.PropsMeta_U7K], type$.GeneralConstantMap_of_legacy_Type_and_legacy_PropsMeta); + C.Type_SelectModePropsMixin_kqe = H.typeLiteral("SelectModePropsMixin"); + C.PropDescriptor_lG30 = new S.PropDescriptor("SelectModePropsMixin.select_mode_state"); + C.PropDescriptor_Sxd = new S.PropDescriptor("SelectModePropsMixin.is_origami"); + C.List_2ev = H.setRuntimeTypeInfo(makeConstList([C.PropDescriptor_lG30, C.PropDescriptor_Sxd]), type$.JSArray_legacy_PropDescriptor); + C.List_wkm = H.setRuntimeTypeInfo(makeConstList(["SelectModePropsMixin.select_mode_state", "SelectModePropsMixin.is_origami"]), type$.JSArray_legacy_String); + C.PropsMeta_paF = new S.PropsMeta(C.List_2ev, C.List_wkm); + C.Map_scECG = new H.GeneralConstantMap([C.Type_SelectModePropsMixin_kqe, C.PropsMeta_paF, C.Type_ConnectPropsMixin_gkc, C.PropsMeta_U7K], type$.GeneralConstantMap_of_legacy_Type_and_legacy_PropsMeta); + C.Type_DesignMainDNAMismatchesProps_138 = H.typeLiteral("DesignMainDNAMismatchesProps"); + C.PropDescriptor_IuH5 = new S.PropDescriptor("DesignMainDNAMismatchesProps.design"); + C.PropDescriptor_2jN2 = new S.PropDescriptor(string$.DesignMDNMo); + C.PropDescriptor_Q4o3 = new S.PropDescriptor(string$.DesignMDNMs); + C.PropDescriptor_s0y0 = new S.PropDescriptor(string$.DesignMDNMh); + C.List_K7U = H.setRuntimeTypeInfo(makeConstList([C.PropDescriptor_IuH5, C.PropDescriptor_2jN2, C.PropDescriptor_Q4o3, C.PropDescriptor_s0y0]), type$.JSArray_legacy_PropDescriptor); + C.List_9Mg = H.setRuntimeTypeInfo(makeConstList(["DesignMainDNAMismatchesProps.design", string$.DesignMDNMo, string$.DesignMDNMs, string$.DesignMDNMh]), type$.JSArray_legacy_String); + C.PropsMeta_cgN = new S.PropsMeta(C.List_K7U, C.List_9Mg); + C.Map_utYMy = new H.GeneralConstantMap([C.Type_DesignMainDNAMismatchesProps_138, C.PropsMeta_cgN], type$.GeneralConstantMap_of_legacy_Type_and_legacy_PropsMeta); + C.Type_SelectionRopeViewProps_qMs = H.typeLiteral("SelectionRopeViewProps"); + C.PropDescriptor_BLu = new S.PropDescriptor("SelectionRopeViewProps.selection_rope"); + C.PropDescriptor_w6D = new S.PropDescriptor(string$.SelectR); + C.PropDescriptor_kEm4 = new S.PropDescriptor("SelectionRopeViewProps.id"); + C.PropDescriptor_ynF = new S.PropDescriptor("SelectionRopeViewProps.is_main"); + C.List_Ctj = H.setRuntimeTypeInfo(makeConstList([C.PropDescriptor_BLu, C.PropDescriptor_w6D, C.PropDescriptor_kEm4, C.PropDescriptor_ynF]), type$.JSArray_legacy_PropDescriptor); + C.List_Sof = H.setRuntimeTypeInfo(makeConstList(["SelectionRopeViewProps.selection_rope", string$.SelectR, "SelectionRopeViewProps.id", "SelectionRopeViewProps.is_main"]), type$.JSArray_legacy_String); + C.PropsMeta_43h = new S.PropsMeta(C.List_Ctj, C.List_Sof); + C.Map_vS6pM = new H.GeneralConstantMap([C.Type_SelectionRopeViewProps_qMs, C.PropsMeta_43h], type$.GeneralConstantMap_of_legacy_Type_and_legacy_PropsMeta); + C.Type_kOw = H.typeLiteral("DesignMainStrandPathsPropsMixin"); + C.PropDescriptor_IuH6 = new S.PropDescriptor("DesignMainStrandPathsPropsMixin.strand"); + C.PropDescriptor_xnT = new S.PropDescriptor(string$.DesignMStPasi); + C.PropDescriptor_gkc4 = new S.PropDescriptor(string$.DesignMStPaseen); + C.PropDescriptor_IY7 = new S.PropDescriptor(string$.DesignMStPasec); + C.PropDescriptor_chs1 = new S.PropDescriptor(string$.DesignMStPasel); + C.PropDescriptor_cw1 = new S.PropDescriptor(string$.DesignMStPaseex); + C.PropDescriptor_2Vk2 = new S.PropDescriptor(string$.DesignMStPased); + C.PropDescriptor_7SI = new S.PropDescriptor("DesignMainStrandPathsPropsMixin.helices"); + C.PropDescriptor_uAl = new S.PropDescriptor("DesignMainStrandPathsPropsMixin.groups"); + C.PropDescriptor_Gfp = new S.PropDescriptor("DesignMainStrandPathsPropsMixin.geometry"); + C.PropDescriptor_QAM0 = new S.PropDescriptor(string$.DesignMStPashd); + C.PropDescriptor_woc1 = new S.PropDescriptor(string$.DesignMStPashs); + C.PropDescriptor_kEm5 = new S.PropDescriptor(string$.DesignMStPad); + C.PropDescriptor_o8I = new S.PropDescriptor(string$.DesignMStPam); + C.PropDescriptor_xEb = new S.PropDescriptor(string$.DesignMStPaor); + C.PropDescriptor_kJI = new S.PropDescriptor(string$.DesignMStPast); + C.PropDescriptor_aTF = new S.PropDescriptor(string$.DesignMStPaon); + C.PropDescriptor_wEQ = new S.PropDescriptor(string$.DesignMStPac); + C.PropDescriptor_ExF = new S.PropDescriptor(string$.DesignMStPah); + C.PropDescriptor_fGP = new S.PropDescriptor(string$.DesignMStPar); + C.List_WzB = H.setRuntimeTypeInfo(makeConstList([C.PropDescriptor_IuH6, C.PropDescriptor_xnT, C.PropDescriptor_gkc4, C.PropDescriptor_IY7, C.PropDescriptor_chs1, C.PropDescriptor_cw1, C.PropDescriptor_2Vk2, C.PropDescriptor_7SI, C.PropDescriptor_uAl, C.PropDescriptor_Gfp, C.PropDescriptor_QAM0, C.PropDescriptor_woc1, C.PropDescriptor_kEm5, C.PropDescriptor_o8I, C.PropDescriptor_xEb, C.PropDescriptor_kJI, C.PropDescriptor_aTF, C.PropDescriptor_wEQ, C.PropDescriptor_ExF, C.PropDescriptor_fGP]), type$.JSArray_legacy_PropDescriptor); + C.List_oyU0 = H.setRuntimeTypeInfo(makeConstList(["DesignMainStrandPathsPropsMixin.strand", string$.DesignMStPasi, string$.DesignMStPaseen, string$.DesignMStPasec, string$.DesignMStPasel, string$.DesignMStPaseex, string$.DesignMStPased, "DesignMainStrandPathsPropsMixin.helices", "DesignMainStrandPathsPropsMixin.groups", "DesignMainStrandPathsPropsMixin.geometry", string$.DesignMStPashd, string$.DesignMStPashs, string$.DesignMStPad, string$.DesignMStPam, string$.DesignMStPaor, string$.DesignMStPast, string$.DesignMStPaon, string$.DesignMStPac, string$.DesignMStPah, string$.DesignMStPar]), type$.JSArray_legacy_String); + C.PropsMeta_suM = new S.PropsMeta(C.List_WzB, C.List_oyU0); + C.Map_wo7xB = new H.GeneralConstantMap([C.Type_kOw, C.PropsMeta_suM, C.Type_I2O, C.PropsMeta_Me9], type$.GeneralConstantMap_of_legacy_Type_and_legacy_PropsMeta); + C.Type_66y = H.typeLiteral("DesignMainPotentialVerticalCrossoverPropsMixin"); + C.PropDescriptor_aRc = new S.PropDescriptor(string$.DesignMPoPp); + C.PropDescriptor_kOw = new S.PropDescriptor(string$.DesignMPoPhc); + C.PropDescriptor_yPV = new S.PropDescriptor(string$.DesignMPoPgr); + C.PropDescriptor_yfz = new S.PropDescriptor(string$.DesignMPoPge); + C.PropDescriptor_gNF = new S.PropDescriptor(string$.DesignMPoPhx); + C.List_Q5Z = H.setRuntimeTypeInfo(makeConstList([C.PropDescriptor_aRc, C.PropDescriptor_kOw, C.PropDescriptor_yPV, C.PropDescriptor_yfz, C.PropDescriptor_gNF]), type$.JSArray_legacy_PropDescriptor); + C.List_YBU = H.setRuntimeTypeInfo(makeConstList([string$.DesignMPoPp, string$.DesignMPoPhc, string$.DesignMPoPgr, string$.DesignMPoPge, string$.DesignMPoPhx]), type$.JSArray_legacy_String); + C.PropsMeta_5Ea = new S.PropsMeta(C.List_Q5Z, C.List_YBU); + C.Map_xiMwM = new H.GeneralConstantMap([C.Type_66y, C.PropsMeta_5Ea, C.Type_I2O, C.PropsMeta_Me9], type$.GeneralConstantMap_of_legacy_Type_and_legacy_PropsMeta); + C.Map_yHyvP = new H.GeneralConstantMap([C.StrandOrder_five_prime, "5'", C.StrandOrder_three_prime, "3'", C.StrandOrder_five_or_three_prime, "5' or 3'", C.StrandOrder_top_left_domain_start, "top left domain"], H.findType("GeneralConstantMap")); + C.Type_DesignMainLoopoutPropsMixin_QyV = H.typeLiteral("DesignMainLoopoutPropsMixin"); + C.PropDescriptor_iml = new S.PropDescriptor("DesignMainLoopoutPropsMixin.loopout"); + C.PropDescriptor_IuH7 = new S.PropDescriptor("DesignMainLoopoutPropsMixin.strand"); + C.PropDescriptor_EK0 = new S.PropDescriptor("DesignMainLoopoutPropsMixin.strand_color"); + C.PropDescriptor_MYA = new S.PropDescriptor("DesignMainLoopoutPropsMixin.prev_domain"); + C.PropDescriptor_sMl = new S.PropDescriptor("DesignMainLoopoutPropsMixin.next_domain"); + C.PropDescriptor_wAg = new S.PropDescriptor("DesignMainLoopoutPropsMixin.prev_helix"); + C.PropDescriptor_h4U = new S.PropDescriptor("DesignMainLoopoutPropsMixin.next_helix"); + C.PropDescriptor_m7u = new S.PropDescriptor("DesignMainLoopoutPropsMixin.selected"); + C.PropDescriptor_8fc = new S.PropDescriptor("DesignMainLoopoutPropsMixin.edit_modes"); + C.PropDescriptor_ChN = new S.PropDescriptor(string$.DesignMLPs); + C.PropDescriptor_O9i = new S.PropDescriptor("DesignMainLoopoutPropsMixin.helices"); + C.PropDescriptor_Mtn = new S.PropDescriptor("DesignMainLoopoutPropsMixin.groups"); + C.PropDescriptor_m7u0 = new S.PropDescriptor("DesignMainLoopoutPropsMixin.geometry"); + C.PropDescriptor_mlC = new S.PropDescriptor(string$.DesignMLPp); + C.PropDescriptor_XHL = new S.PropDescriptor(string$.DesignMLPn); + C.PropDescriptor_Esr = new S.PropDescriptor(string$.DesignMLPr); + C.List_Y3m = H.setRuntimeTypeInfo(makeConstList([C.PropDescriptor_iml, C.PropDescriptor_IuH7, C.PropDescriptor_EK0, C.PropDescriptor_MYA, C.PropDescriptor_sMl, C.PropDescriptor_wAg, C.PropDescriptor_h4U, C.PropDescriptor_m7u, C.PropDescriptor_8fc, C.PropDescriptor_ChN, C.PropDescriptor_O9i, C.PropDescriptor_Mtn, C.PropDescriptor_m7u0, C.PropDescriptor_mlC, C.PropDescriptor_XHL, C.PropDescriptor_Esr]), type$.JSArray_legacy_PropDescriptor); + C.List_ouf = H.setRuntimeTypeInfo(makeConstList(["DesignMainLoopoutPropsMixin.loopout", "DesignMainLoopoutPropsMixin.strand", "DesignMainLoopoutPropsMixin.strand_color", "DesignMainLoopoutPropsMixin.prev_domain", "DesignMainLoopoutPropsMixin.next_domain", "DesignMainLoopoutPropsMixin.prev_helix", "DesignMainLoopoutPropsMixin.next_helix", "DesignMainLoopoutPropsMixin.selected", "DesignMainLoopoutPropsMixin.edit_modes", string$.DesignMLPs, "DesignMainLoopoutPropsMixin.helices", "DesignMainLoopoutPropsMixin.groups", "DesignMainLoopoutPropsMixin.geometry", string$.DesignMLPp, string$.DesignMLPn, string$.DesignMLPr]), type$.JSArray_legacy_String); + C.PropsMeta_bRy = new S.PropsMeta(C.List_Y3m, C.List_ouf); + C.Map_zgaN4 = new H.GeneralConstantMap([C.Type_DesignMainLoopoutPropsMixin_QyV, C.PropsMeta_bRy, C.Type_I2O, C.PropsMeta_Me9], type$.GeneralConstantMap_of_legacy_Type_and_legacy_PropsMeta); + C.ModificationType_five_prime = new Y.ModificationType("five_prime"); + C.ModificationType_internal = new Y.ModificationType("internal"); + C.ModificationType_three_prime = new Y.ModificationType("three_prime"); + C.Orientation_0 = new F.Orientation("Orientation.collinear"); + C.Orientation_1 = new F.Orientation("Orientation.counterclockwise"); + C.Orientation_2 = new F.Orientation("Orientation.clockwise"); + C.PlateType_0 = new D.PlateType("PlateType.wells96"); + C.PlateType_1 = new D.PlateType("PlateType.wells384"); + C.PlateType_2 = new D.PlateType("PlateType.none"); + C.Point_0_0 = new P.Point(0, 0, type$.Point_legacy_num); + C.PropsMetaCollection_Map_SCwEo = new S.PropsMetaCollection(C.Map_SCwEo); + C.PropsMetaCollection_Map_iSA0t = new S.PropsMetaCollection(C.Map_iSA0t); + C.PropsMetaCollection_Map_savdf = new S.PropsMetaCollection(C.Map_savdf); + C.PropsMetaCollection_Map_scECG = new S.PropsMetaCollection(C.Map_scECG); + C.List_empty10 = H.setRuntimeTypeInfo(makeConstList([]), type$.JSArray_legacy_PropDescriptor); + C.PropsMeta_List_empty_List_empty = new S.PropsMeta(C.List_empty10, C.List_empty0); + C.SelectModeChoice_crossover = new D.SelectModeChoice("crossover"); + C.SelectModeChoice_deletion = new D.SelectModeChoice("deletion"); + C.SelectModeChoice_domain = new D.SelectModeChoice("domain"); + C.SelectModeChoice_end_3p_domain = new D.SelectModeChoice("end_3p_domain"); + C.SelectModeChoice_end_3p_strand = new D.SelectModeChoice("end_3p_strand"); + C.SelectModeChoice_end_5p_domain = new D.SelectModeChoice("end_5p_domain"); + C.SelectModeChoice_end_5p_strand = new D.SelectModeChoice("end_5p_strand"); + C.SelectModeChoice_extension_ = new D.SelectModeChoice("extension_"); + C.SelectModeChoice_insertion = new D.SelectModeChoice("insertion"); + C.SelectModeChoice_loopout = new D.SelectModeChoice("loopout"); + C.SelectModeChoice_modification = new D.SelectModeChoice("modification"); + C.SelectModeChoice_scaffold = new D.SelectModeChoice("scaffold"); + C.SelectModeChoice_staple = new D.SelectModeChoice("staple"); + C.SelectModeChoice_strand = new D.SelectModeChoice("strand"); + C.XmlNodeType_0 = new E.XmlNodeType("XmlNodeType.ATTRIBUTE"); + C.Map_EeEOF = new H.GeneralConstantMap([C.XmlNodeType_0, null], type$.GeneralConstantMap_of_legacy_XmlNodeType_and_Null); + C.Set_EeIxt = new P._UnmodifiableSet(C.Map_EeEOF, type$._UnmodifiableSet_legacy_XmlNodeType); + C.XmlNodeType_1 = new E.XmlNodeType("XmlNodeType.CDATA"); + C.XmlNodeType_2 = new E.XmlNodeType("XmlNodeType.COMMENT"); + C.XmlNodeType_3 = new E.XmlNodeType("XmlNodeType.DECLARATION"); + C.XmlNodeType_4 = new E.XmlNodeType("XmlNodeType.DOCUMENT_TYPE"); + C.XmlNodeType_7 = new E.XmlNodeType("XmlNodeType.ELEMENT"); + C.XmlNodeType_8 = new E.XmlNodeType("XmlNodeType.PROCESSING"); + C.XmlNodeType_9 = new E.XmlNodeType("XmlNodeType.TEXT"); + C.Map_QYoWp = new H.GeneralConstantMap([C.XmlNodeType_1, null, C.XmlNodeType_2, null, C.XmlNodeType_3, null, C.XmlNodeType_4, null, C.XmlNodeType_7, null, C.XmlNodeType_8, null, C.XmlNodeType_9, null], type$.GeneralConstantMap_of_legacy_XmlNodeType_and_Null); + C.Set_QYFY4 = new P._UnmodifiableSet(C.Map_QYoWp, type$._UnmodifiableSet_legacy_XmlNodeType); + C.Map_empty6 = new H.ConstantStringMap(0, {}, C.List_empty9, H.findType("ConstantStringMap")); + C.Set_empty = new P._UnmodifiableSet(C.Map_empty6, H.findType("_UnmodifiableSet")); + C.Map_q8pX9 = new H.GeneralConstantMap([C.XmlNodeType_1, null, C.XmlNodeType_2, null, C.XmlNodeType_7, null, C.XmlNodeType_8, null, C.XmlNodeType_9, null], type$.GeneralConstantMap_of_legacy_XmlNodeType_and_Null); + C.Set_q81d9 = new P._UnmodifiableSet(C.Map_q8pX9, type$._UnmodifiableSet_legacy_XmlNodeType); + C.Symbol_$defaultConsumedProps = new H.Symbol("$defaultConsumedProps"); + C.Symbol_call = new H.Symbol("call"); + C.Symbol_props = new H.Symbol("props"); + C.Symbol_state = new H.Symbol("state"); + C.Type_23h = H.typeLiteral("DesignMainStrandsMovingComponent"); + C.Type_2bx = H.typeLiteral("DesignMainLoopoutExtensionLengthsComponent"); + C.Type_3dV = H.typeLiteral("DesignMainDomainMovingComponent"); + C.Type_6Lu = H.typeLiteral("StrandOrSubstrandColorPickerComponent"); + C.Type_6eO = H.typeLiteral("DesignMainStrandMovingComponent"); + C.Type_8sg = H.typeLiteral("DesignMainStrandDomainTextComponent"); + C.Type_AeS = H.typeLiteral("DesignMainBasePairRectangleComponent"); + C.Type_B8J = H.typeLiteral("PotentialCrossoverViewComponent"); + C.Type_BigInt_8OV = H.typeLiteral("BigInt"); + C.Type_BoolJsonObject_8HQ = H.typeLiteral("BoolJsonObject"); + C.Type_ByteBuffer_RkP = H.typeLiteral("ByteBuffer"); + C.Type_ByteData_zNC = H.typeLiteral("ByteData"); + C.Type_DNd = H.typeLiteral("DesignSideRotationArrowComponent"); + C.Type_DateTime_8AS = H.typeLiteral("DateTime"); + C.Type_DesignContextMenuComponent_CB6 = H.typeLiteral("DesignContextMenuComponent"); + C.Type_DesignDialogFormComponent_qsu = H.typeLiteral("DesignDialogFormComponent"); + C.Type_DesignFooterComponent_2jN = H.typeLiteral("DesignFooterComponent"); + C.Type_DesignLoadingDialogComponent_UAO = H.typeLiteral("DesignLoadingDialogComponent"); + C.Type_DesignMainArrowsComponent_Shv = H.typeLiteral("DesignMainArrowsComponent0"); + C.Type_DesignMainArrowsComponent_gsm = H.typeLiteral("DesignMainArrowsComponent"); + C.Type_DesignMainComponent_zC4 = H.typeLiteral("DesignMainComponent"); + C.Type_DesignMainDNAEndComponent_dcz = H.typeLiteral("DesignMainDNAEndComponent"); + C.Type_DesignMainDomainComponent_WvD = H.typeLiteral("DesignMainDomainComponent"); + C.Type_DesignMainExtensionComponent_aJt = H.typeLiteral("DesignMainExtensionComponent"); + C.Type_DesignMainHelicesComponent_m81 = H.typeLiteral("DesignMainHelicesComponent"); + C.Type_DesignMainHelixComponent_etC = H.typeLiteral("DesignMainHelixComponent"); + C.Type_DesignMainLoopoutComponent_Tng = H.typeLiteral("DesignMainLoopoutComponent"); + C.Type_DesignMainSliceBarComponent_E8w = H.typeLiteral("DesignMainSliceBarComponent"); + C.Type_DesignMainStrandComponent_Met = H.typeLiteral("DesignMainStrandComponent"); + C.Type_DesignMainStrandsComponent_qBX = H.typeLiteral("DesignMainStrandsComponent"); + C.Type_DesignSideComponent_G7N = H.typeLiteral("DesignSideComponent"); + C.Type_DesignSideHelixComponent_Uq5 = H.typeLiteral("DesignSideHelixComponent"); + C.Type_DesignSideRotationComponent_I27 = H.typeLiteral("DesignSideRotationComponent"); + C.Type_Duration_SnA = H.typeLiteral("Duration"); + C.Type_EditAndSelectModesComponent_yz6 = H.typeLiteral("EditAndSelectModesComponent"); + C.Type_EditModeComponent_sLD = H.typeLiteral("EditModeComponent"); + C.Type_End3PrimeComponent_Eo2 = H.typeLiteral("End3PrimeComponent"); + C.Type_End5PrimeComponent_E4y = H.typeLiteral("End5PrimeComponent"); + C.Type_EndMovingComponent_wbZ = H.typeLiteral("EndMovingComponent"); + C.Type_ErrorBoundaryComponent_uYe = H.typeLiteral("ErrorBoundaryComponent"); + C.Type_ExtensionEndMovingComponent_wIq = H.typeLiteral("ExtensionEndMovingComponent"); + C.Type_F7U = H.typeLiteral("DesignMainDNASequenceComponent"); + C.Type_Float32List_LB7 = H.typeLiteral("Float32List"); + C.Type_Float64List_LB7 = H.typeLiteral("Float64List"); + C.Type_HelixGroupMovingComponent_ahM = H.typeLiteral("HelixGroupMovingComponent"); + C.Type_IJa = H.typeLiteral("DesignMainPotentialVerticalCrossoversComponent"); + C.Type_Int16List_uXf = H.typeLiteral("Int16List"); + C.Type_Int32List_O50 = H.typeLiteral("Int32List"); + C.Type_Int32_MYA = H.typeLiteral("Int32"); + C.Type_Int64_gc6 = H.typeLiteral("Int64"); + C.Type_Int8List_ekJ = H.typeLiteral("Int8List"); + C.Type_JSObject_8k0 = H.typeLiteral("JSObject"); + C.Type_JsonObject_gyf = H.typeLiteral("JsonObject"); + C.Type_L5J = H.typeLiteral("PotentialExtensionsViewComponent"); + C.Type_ListJsonObject_yPV = H.typeLiteral("ListJsonObject"); + C.Type_MapJsonObject_bBG = H.typeLiteral("MapJsonObject"); + C.Type_MenuBooleanComponent_2Lo = H.typeLiteral("MenuBooleanComponent"); + C.Type_MenuComponent_4CA = H.typeLiteral("MenuComponent"); + C.Type_MenuDropdownItemComponent_YEs = H.typeLiteral("MenuDropdownItemComponent"); + C.Type_MenuDropdownRightComponent_4QF = H.typeLiteral("MenuDropdownRightComponent"); + C.Type_MenuFormFileComponent_6TA = H.typeLiteral("MenuFormFileComponent"); + C.Type_MenuNumberComponent_qRH = H.typeLiteral("MenuNumberComponent"); + C.Type_NQk = H.typeLiteral("DesignMainStrandDeletionComponent"); + C.Type_Null_Yyn = H.typeLiteral("Null"); + C.Type_NumJsonObject_H9C = H.typeLiteral("NumJsonObject"); + C.Type_QfR = H.typeLiteral("DesignSidePotentialHelixComponent"); + C.Type_QtW = H.typeLiteral("DesignMainDNAMismatchesComponent"); + C.Type_RegExp_Eeh = H.typeLiteral("RegExp"); + C.Type_RoN = H.typeLiteral("DesignContextSubmenuComponent"); + C.Type_SelectModeComponent_uvy = H.typeLiteral("SelectModeComponent"); + C.Type_SelectionBoxViewComponent_Wzb = H.typeLiteral("SelectionBoxViewComponent"); + C.Type_SelectionRopeViewComponent_6D4 = H.typeLiteral("SelectionRopeViewComponent"); + C.Type_Sfe = H.typeLiteral("DesignMainDomainNameMismatchesComponent"); + C.Type_SideMenuComponent_oEK = H.typeLiteral("SideMenuComponent"); + C.Type_StringJsonObject_GAC = H.typeLiteral("StringJsonObject"); + C.Type_TRH = H.typeLiteral("DesignMainStrandInsertionComponent"); + C.Type_Ucj = H.typeLiteral("DesignMainDomainsMovingComponent"); + C.Type_Uint16List_2bx = H.typeLiteral("Uint16List"); + C.Type_Uint32List_2bx = H.typeLiteral("Uint32List"); + C.Type_Uint8ClampedList_Jik = H.typeLiteral("Uint8ClampedList"); + C.Type_Uint8List_WLA = H.typeLiteral("Uint8List"); + C.Type_Uri_EFX = H.typeLiteral("Uri"); + C.Type_Wbn = H.typeLiteral("DesignMainStrandModificationsComponent"); + C.Type_YX3 = H.typeLiteral("DesignMainLoopoutExtensionLengthComponent"); + C.Type_Ykb = H.typeLiteral("DesignMainStrandPathsComponent"); + C.Type_bbH = H.typeLiteral("DesignMainUnpairedInsertionDeletionsComponent"); + C.Type_eTF = H.typeLiteral("DesignMainStrandAndDomainTextsComponent"); + C.Type_ej4 = H.typeLiteral("DesignMainStrandCreatingComponent"); + C.Type_fVV = H.typeLiteral("DesignMainStrandLoopoutTextComponent"); + C.Type_gc6 = H.typeLiteral("RecoverableErrorBoundaryComponent"); + C.Type_gzy = H.typeLiteral("DesignMainErrorBoundaryComponent"); + C.Type_k1a = H.typeLiteral("DesignMainWarningStarComponent"); + C.Type_k2a = H.typeLiteral("DesignMainStrandCrossoverComponent"); + C.Type_o8I = H.typeLiteral("DesignMainStrandModificationComponent"); + C.Type_qJx = H.typeLiteral("DesignMainDNASequencesComponent"); + C.Type_qlj = H.typeLiteral("DesignMainPotentialVerticalCrossoverComponent"); + C.Type_qxd = H.typeLiteral("DesignMainStrandExtensionTextComponent"); + C.Type_y0U = H.typeLiteral("DesignMainBasePairLinesComponent"); + C.Utf8Decoder_false = new P.Utf8Decoder(false); + C.XmlNodeType_5 = new E.XmlNodeType("XmlNodeType.DOCUMENT"); + C.XmlNodeType_6 = new E.XmlNodeType("XmlNodeType.DOCUMENT_FRAGMENT"); + C._IterationMarker_null_2 = new P._IterationMarker(null, 2); + C.strand_bounds_status_0 = new A.strand_bounds_status("strand_bounds_status.helix_not_in_design"); + C.strand_bounds_status_1 = new A.strand_bounds_status("strand_bounds_status.helix_out_of_bounds"); + C.strand_bounds_status_2 = new A.strand_bounds_status("strand_bounds_status.min_offset_out_of_bounds"); + C.strand_bounds_status_3 = new A.strand_bounds_status("strand_bounds_status.max_offset_out_of_bounds"); + C.strand_bounds_status_4 = new A.strand_bounds_status("strand_bounds_status.in_bounds_with_min_offset_changes"); + C.strand_bounds_status_5 = new A.strand_bounds_status("strand_bounds_status.in_bounds_with_max_offset_changes"); + C.strand_bounds_status_6 = new A.strand_bounds_status("strand_bounds_status.in_bounds"); + })(); + (function staticFields() { + $._JS_INTEROP_INTERCEPTOR_TAG = null; + $.Closure_functionCounter = 0; + $.BoundClosure_selfFieldNameCache = null; + $.BoundClosure_receiverFieldNameCache = null; + $.getTagFunction = null; + $.alternateTagFunction = null; + $.prototypeForTagFunction = null; + $.dispatchRecordsForInstanceTags = null; + $.interceptorsForUncacheableTags = null; + $.initNativeDispatchFlag = null; + $._nextCallback = null; + $._lastCallback = null; + $._lastPriorityCallback = null; + $._isInCallbackLoop = false; + $.Zone__current = C.C__RootZone; + $._toStringVisiting = H.setRuntimeTypeInfo([], type$.JSArray_Object); + $.Encoding__nameToEncoding = P.LinkedHashMap_LinkedHashMap$_literal(["iso_8859-1:1987", C.C_Latin1Codec, "iso-ir-100", C.C_Latin1Codec, "iso_8859-1", C.C_Latin1Codec, "iso-8859-1", C.C_Latin1Codec, "latin1", C.C_Latin1Codec, "l1", C.C_Latin1Codec, "ibm819", C.C_Latin1Codec, "cp819", C.C_Latin1Codec, "csisolatin1", C.C_Latin1Codec, "iso-ir-6", C.C_AsciiCodec, "ansi_x3.4-1968", C.C_AsciiCodec, "ansi_x3.4-1986", C.C_AsciiCodec, "iso_646.irv:1991", C.C_AsciiCodec, "iso646-us", C.C_AsciiCodec, "us-ascii", C.C_AsciiCodec, "us", C.C_AsciiCodec, "ibm367", C.C_AsciiCodec, "cp367", C.C_AsciiCodec, "csascii", C.C_AsciiCodec, "ascii", C.C_AsciiCodec, "csutf8", C.C_Utf8Codec, "utf-8", C.C_Utf8Codec], type$.String, H.findType("Encoding")); + $.Expando__keyCount = 0; + $._BigIntImpl__lastDividendDigits = null; + $._BigIntImpl__lastDividendUsed = null; + $._BigIntImpl__lastDivisorDigits = null; + $._BigIntImpl__lastDivisorUsed = null; + $._BigIntImpl____lastQuoRemDigits = $; + $._BigIntImpl____lastQuoRemUsed = $; + $._BigIntImpl____lastRemUsed = $; + $._BigIntImpl____lastRem_nsh = $; + $.Element__parseDocument = null; + $.Element__parseRange = null; + $.Element__defaultValidator = null; + $.Element__defaultSanitizer = null; + $.ElementEvents_webkitEvents = function() { + var t1 = type$.String; + return P.LinkedHashMap_LinkedHashMap$_literal(["animationend", "webkitAnimationEnd", "animationiteration", "webkitAnimationIteration", "animationstart", "webkitAnimationStart", "fullscreenchange", "webkitfullscreenchange", "fullscreenerror", "webkitfullscreenerror", "keyadded", "webkitkeyadded", "keyerror", "webkitkeyerror", "keymessage", "webkitkeymessage", "needkey", "webkitneedkey", "pointerlockchange", "webkitpointerlockchange", "pointerlockerror", "webkitpointerlockerror", "resourcetimingbufferfull", "webkitresourcetimingbufferfull", "transitionend", "webkitTransitionEnd", "speechchange", "webkitSpeechChange"], t1, t1); + }(); + $._Html5NodeValidator__attributeValidators = P.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.Function); + $.Deflate____config = $; + $._indentingBuiltValueToStringHelperIndent = 0; + $._currentDrag = null; + $.Draggable_idCounter = 0; + $._DragEventDispatcher_previousTarget = null; + $.LogRecord__nextNumber = 0; + $.Logger__loggers = P.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.Logger); + $._currentUriBase = null; + $._current = null; + $.Browser_navigator = null; + $._browser = null; + $._operatingSystem = null; + $.OperatingSystem_navigator = null; + $._MASK32_HI_BITS = H.setRuntimeTypeInfo([4294967295, 2147483647, 1073741823, 536870911, 268435455, 134217727, 67108863, 33554431, 16777215, 8388607, 4194303, 2097151, 1048575, 524287, 262143, 131071, 65535, 32767, 16383, 8191, 4095, 2047, 1023, 511, 255, 127, 63, 31, 15, 7, 3, 1, 0], type$.JSArray_int); + $._isJsApiValid = false; + $.app = null; + $.scadnano_older_versions_to_link = H.setRuntimeTypeInfo(["0.19.3", "0.18.10", "0.17.14", "0.16.3", "0.15.3", "0.14.0", "0.13.4", "0.12.2"], type$.JSArray_legacy_String); + $.timer = null; + $._throttled_types = P.LinkedHashMap_LinkedHashMap$_empty(type$.legacy_Type, type$.legacy_int); + $._spreasheetExtensionMap = function() { + var t1 = type$.String; + return P.LinkedHashMap_LinkedHashMap$_literal(["ods", "application/vnd.oasis.opendocument.spreadsheet", "xlsx", string$.applic], t1, t1); + }(); + })(); + (function lazyInitializers() { + var _lazyFinal = hunkHelpers.lazyFinal, + _lazy = hunkHelpers.lazy, + _lazyOld = hunkHelpers.lazyOld; + _lazyFinal($, "DART_CLOSURE_PROPERTY_NAME", "$get$DART_CLOSURE_PROPERTY_NAME", function() { + return H.getIsolateAffinityTag("_$dart_dartClosure"); + }); + _lazyFinal($, "nullFuture", "$get$nullFuture", function() { + return C.C__RootZone.run$1$1(new H.nullFuture_closure(), H.findType("Future")); + }); + _lazyFinal($, "TypeErrorDecoder_noSuchMethodPattern", "$get$TypeErrorDecoder_noSuchMethodPattern", function() { + return H.TypeErrorDecoder_extractPattern(H.TypeErrorDecoder_provokeCallErrorOn({ + toString: function() { + return "$receiver$"; + } + })); + }); + _lazyFinal($, "TypeErrorDecoder_notClosurePattern", "$get$TypeErrorDecoder_notClosurePattern", function() { + return H.TypeErrorDecoder_extractPattern(H.TypeErrorDecoder_provokeCallErrorOn({$method$: null, + toString: function() { + return "$receiver$"; + } + })); + }); + _lazyFinal($, "TypeErrorDecoder_nullCallPattern", "$get$TypeErrorDecoder_nullCallPattern", function() { + return H.TypeErrorDecoder_extractPattern(H.TypeErrorDecoder_provokeCallErrorOn(null)); + }); + _lazyFinal($, "TypeErrorDecoder_nullLiteralCallPattern", "$get$TypeErrorDecoder_nullLiteralCallPattern", function() { + return H.TypeErrorDecoder_extractPattern(function() { + var $argumentsExpr$ = "$arguments$"; + try { + null.$method$($argumentsExpr$); + } catch (e) { + return e.message; + } + }()); + }); + _lazyFinal($, "TypeErrorDecoder_undefinedCallPattern", "$get$TypeErrorDecoder_undefinedCallPattern", function() { + return H.TypeErrorDecoder_extractPattern(H.TypeErrorDecoder_provokeCallErrorOn(void 0)); + }); + _lazyFinal($, "TypeErrorDecoder_undefinedLiteralCallPattern", "$get$TypeErrorDecoder_undefinedLiteralCallPattern", function() { + return H.TypeErrorDecoder_extractPattern(function() { + var $argumentsExpr$ = "$arguments$"; + try { + (void 0).$method$($argumentsExpr$); + } catch (e) { + return e.message; + } + }()); + }); + _lazyFinal($, "TypeErrorDecoder_nullPropertyPattern", "$get$TypeErrorDecoder_nullPropertyPattern", function() { + return H.TypeErrorDecoder_extractPattern(H.TypeErrorDecoder_provokePropertyErrorOn(null)); + }); + _lazyFinal($, "TypeErrorDecoder_nullLiteralPropertyPattern", "$get$TypeErrorDecoder_nullLiteralPropertyPattern", function() { + return H.TypeErrorDecoder_extractPattern(function() { + try { + null.$method$; + } catch (e) { + return e.message; + } + }()); + }); + _lazyFinal($, "TypeErrorDecoder_undefinedPropertyPattern", "$get$TypeErrorDecoder_undefinedPropertyPattern", function() { + return H.TypeErrorDecoder_extractPattern(H.TypeErrorDecoder_provokePropertyErrorOn(void 0)); + }); + _lazyFinal($, "TypeErrorDecoder_undefinedLiteralPropertyPattern", "$get$TypeErrorDecoder_undefinedLiteralPropertyPattern", function() { + return H.TypeErrorDecoder_extractPattern(function() { + try { + (void 0).$method$; + } catch (e) { + return e.message; + } + }()); + }); + _lazyFinal($, "_AsyncRun__scheduleImmediateClosure", "$get$_AsyncRun__scheduleImmediateClosure", function() { + return P._AsyncRun__initializeScheduleImmediate(); + }); + _lazyFinal($, "Future__nullFuture", "$get$Future__nullFuture", function() { + return type$._Future_Null._as($.$get$nullFuture()); + }); + _lazyFinal($, "Utf8Decoder__decoder", "$get$Utf8Decoder__decoder", function() { + return new P.Utf8Decoder__decoder_closure().call$0(); + }); + _lazyFinal($, "Utf8Decoder__decoderNonfatal", "$get$Utf8Decoder__decoderNonfatal", function() { + return new P.Utf8Decoder__decoderNonfatal_closure().call$0(); + }); + _lazyFinal($, "_Base64Decoder__inverseAlphabet", "$get$_Base64Decoder__inverseAlphabet", function() { + return H.NativeInt8List__create1(H._ensureNativeList(H.setRuntimeTypeInfo([-2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -1, -2, -2, -2, -2, -2, 62, -2, 62, -2, 63, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, -2, -2, -2, -1, -2, -2, -2, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, -2, -2, -2, -2, 63, -2, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, -2, -2, -2, -2, -2], type$.JSArray_int))); + }); + _lazy($, "_Base64Decoder__emptyBuffer", "$get$_Base64Decoder__emptyBuffer", function() { + return H.NativeUint8List_NativeUint8List(0); + }); + _lazyFinal($, "_Uri__isWindowsCached", "$get$_Uri__isWindowsCached", function() { + return typeof process != "undefined" && Object.prototype.toString.call(process) == "[object process]" && process.platform == "win32"; + }); + _lazy($, "_hasErrorStackProperty", "$get$_hasErrorStackProperty", function() { + return new Error().stack != void 0; + }); + _lazyFinal($, "_BigIntImpl_zero", "$get$_BigIntImpl_zero", function() { + return P._BigIntImpl__BigIntImpl$_fromInt(0); + }); + _lazyFinal($, "_BigIntImpl_one", "$get$_BigIntImpl_one", function() { + return P._BigIntImpl__BigIntImpl$_fromInt(1); + }); + _lazyFinal($, "_BigIntImpl__minusOne", "$get$_BigIntImpl__minusOne", function() { + return $.$get$_BigIntImpl_one().$negate(0); + }); + _lazyFinal($, "_BigIntImpl__bigInt10000", "$get$_BigIntImpl__bigInt10000", function() { + return P._BigIntImpl__BigIntImpl$_fromInt(10000); + }); + _lazy($, "_BigIntImpl__parseRE", "$get$_BigIntImpl__parseRE", function() { + return P.RegExp_RegExp("^\\s*([+-]?)((0x[a-f0-9]+)|(\\d+)|([a-z0-9]+))\\s*$", false); + }); + _lazyFinal($, "DateTime__parseFormat", "$get$DateTime__parseFormat", function() { + return P.RegExp_RegExp("^([+-]?\\d{4,6})-?(\\d\\d)-?(\\d\\d)(?:[ T](\\d\\d)(?::?(\\d\\d)(?::?(\\d\\d)(?:[.,](\\d+))?)?)?( ?[zZ]| ?([-+])(\\d\\d)(?::?(\\d\\d))?)?)?$", true); + }); + _lazyFinal($, "_scannerTables", "$get$_scannerTables", function() { + return P._createTables(); + }); + _lazyFinal($, "CssStyleDeclaration__propertyCache", "$get$CssStyleDeclaration__propertyCache", function() { + return {}; + }); + _lazyFinal($, "_Html5NodeValidator__allowedElements", "$get$_Html5NodeValidator__allowedElements", function() { + return P.LinkedHashSet_LinkedHashSet$from(["A", "ABBR", "ACRONYM", "ADDRESS", "AREA", "ARTICLE", "ASIDE", "AUDIO", "B", "BDI", "BDO", "BIG", "BLOCKQUOTE", "BR", "BUTTON", "CANVAS", "CAPTION", "CENTER", "CITE", "CODE", "COL", "COLGROUP", "COMMAND", "DATA", "DATALIST", "DD", "DEL", "DETAILS", "DFN", "DIR", "DIV", "DL", "DT", "EM", "FIELDSET", "FIGCAPTION", "FIGURE", "FONT", "FOOTER", "FORM", "H1", "H2", "H3", "H4", "H5", "H6", "HEADER", "HGROUP", "HR", "I", "IFRAME", "IMG", "INPUT", "INS", "KBD", "LABEL", "LEGEND", "LI", "MAP", "MARK", "MENU", "METER", "NAV", "NOBR", "OL", "OPTGROUP", "OPTION", "OUTPUT", "P", "PRE", "PROGRESS", "Q", "S", "SAMP", "SECTION", "SELECT", "SMALL", "SOURCE", "SPAN", "STRIKE", "STRONG", "SUB", "SUMMARY", "SUP", "TABLE", "TBODY", "TD", "TEXTAREA", "TFOOT", "TH", "THEAD", "TIME", "TR", "TRACK", "TT", "U", "UL", "VAR", "VIDEO", "WBR"], type$.String); + }); + _lazyFinal($, "KeyEvent__keyboardEventDispatchRecord", "$get$KeyEvent__keyboardEventDispatchRecord", function() { + return H.makeLeafDispatchRecord(C.KeyboardEvent_methods); + }); + _lazyFinal($, "CssClassSetImpl__validTokenRE", "$get$CssClassSetImpl__validTokenRE", function() { + return P.RegExp_RegExp("^\\S+$", true); + }); + _lazyFinal($, "Device_isOpera", "$get$Device_isOpera", function() { + return J.contains$2$asx(P.Device_userAgent(), "Opera", 0); + }); + _lazyFinal($, "Device_isIE", "$get$Device_isIE", function() { + return !H.boolConversionCheck($.$get$Device_isOpera()) && J.contains$2$asx(P.Device_userAgent(), "Trident/", 0); + }); + _lazyFinal($, "Device_isFirefox", "$get$Device_isFirefox", function() { + return J.contains$2$asx(P.Device_userAgent(), "Firefox", 0); + }); + _lazyFinal($, "Device_isWebKit", "$get$Device_isWebKit", function() { + return !H.boolConversionCheck($.$get$Device_isOpera()) && J.contains$2$asx(P.Device_userAgent(), "WebKit", 0); + }); + _lazyFinal($, "Device_cssPrefix", "$get$Device_cssPrefix", function() { + return "-" + $.$get$Device_propertyPrefix() + "-"; + }); + _lazyFinal($, "Device_propertyPrefix", "$get$Device_propertyPrefix", function() { + if (H.boolConversionCheck($.$get$Device_isFirefox())) + var t1 = "moz"; + else if ($.$get$Device_isIE()) + t1 = "ms"; + else + t1 = H.boolConversionCheck($.$get$Device_isOpera()) ? "o" : "webkit"; + return t1; + }); + _lazyFinal($, "_DART_OBJECT_PROPERTY_NAME", "$get$_DART_OBJECT_PROPERTY_NAME", function() { + return H.getIsolateAffinityTag("_$dart_dartObject"); + }); + _lazyFinal($, "_dartProxyCtor", "$get$_dartProxyCtor", function() { + return function DartObject(o) { + this.o = o; + }; + }); + _lazyFinal($, "BZip2_emptyUint8List", "$get$BZip2_emptyUint8List", function() { + return P.UnmodifiableUint8ListView$(H.NativeUint8List_NativeUint8List(0)); + }); + _lazyFinal($, "BZip2_emptyInt32List", "$get$BZip2_emptyInt32List", function() { + return new P.UnmodifiableInt32ListView(H.NativeInt32List_NativeInt32List(0)); + }); + _lazyFinal($, "_StaticTree_staticLDesc", "$get$_StaticTree_staticLDesc", function() { + return T._StaticTree$(C.List_Xg4, C.List_qQn, 257, 286, 15); + }); + _lazyFinal($, "_StaticTree_staticDDesc", "$get$_StaticTree_staticDDesc", function() { + return T._StaticTree$(C.List_iYO, C.List_X3d, 0, 30, 15); + }); + _lazyFinal($, "_StaticTree_staticBlDesc", "$get$_StaticTree_staticBlDesc", function() { + return T._StaticTree$(null, C.List_uSC0, 0, 19, 7); + }); + _lazyFinal($, "isSoundMode", "$get$isSoundMode", function() { + return !type$.List_int._is(H.setRuntimeTypeInfo([], H.findType("JSArray"))); + }); + _lazy($, "newBuiltValueToStringHelper", "$get$newBuiltValueToStringHelper", function() { + return new Y.newBuiltValueToStringHelper_closure(); + }); + _lazyFinal($, "_runtimeType", "$get$_runtimeType", function() { + return H.getRuntimeType(P.RegExp_RegExp("", true)); + }); + _lazyFinal($, "StandardJsonPlugin__unsupportedTypes", "$get$StandardJsonPlugin__unsupportedTypes", function() { + return X.BuiltSet_BuiltSet([C.Type_BuiltListMultimap_2Mt, C.Type_BuiltSetMultimap_9Fi], type$.Type); + }); + _lazyOld($, "_escapedChar", "$get$_escapedChar", function() { + return P.RegExp_RegExp('["\\x00-\\x1F\\x7F]', true); + }); + _lazyOld($, "token", "$get$token", function() { + return P.RegExp_RegExp('[^()<>@,;:"\\\\/[\\]?={} \\t\\x00-\\x1F\\x7F]+', true); + }); + _lazyOld($, "_lws", "$get$_lws", function() { + return P.RegExp_RegExp("(?:\\r\\n)?[ \\t]+", true); + }); + _lazyOld($, "_quotedString", "$get$_quotedString", function() { + return P.RegExp_RegExp('"(?:[^"\\x00-\\x1F\\x7F]|\\\\.)*"', true); + }); + _lazyOld($, "_quotedPair", "$get$_quotedPair", function() { + return P.RegExp_RegExp("\\\\(.)", true); + }); + _lazyOld($, "nonToken", "$get$nonToken", function() { + return P.RegExp_RegExp('[()<>@,;:"\\\\/\\[\\]?={} \\t\\x00-\\x1F\\x7F]', true); + }); + _lazyOld($, "whitespace", "$get$whitespace", function() { + return P.RegExp_RegExp("(?:" + $.$get$_lws().pattern + ")*", true); + }); + _lazyFinal($, "Logger_root", "$get$Logger_root", function() { + return F.Logger_Logger(""); + }); + _lazyOld($, "ErrorBoundary", "$get$ErrorBoundary", function() { + return M.castUiFactory(Z.error_boundary___$ErrorBoundary$closure(), H.findType("ErrorBoundaryProps*")); + }); + _lazyOld($, "$ErrorBoundaryComponentFactory", "$get$$ErrorBoundaryComponentFactory", function() { + return Z.registerComponent2(new Z.$ErrorBoundaryComponentFactory_closure(), Z.error_boundary___$ErrorBoundary$closure(), C.Type_ErrorBoundaryComponent_uYe, true, null, C.List_empty0); + }); + _lazyOld($, "RecoverableErrorBoundary", "$get$RecoverableErrorBoundary", function() { + return M.castUiFactory(E.error_boundary_recoverable___$RecoverableErrorBoundary$closure(), H.findType("RecoverableErrorBoundaryProps*")); + }); + _lazyOld($, "$RecoverableErrorBoundaryComponentFactory", "$get$$RecoverableErrorBoundaryComponentFactory", function() { + return Z.registerComponent2(new E.$RecoverableErrorBoundaryComponentFactory_closure(), E.error_boundary_recoverable___$RecoverableErrorBoundary$closure(), C.Type_gc6, true, null, C.List_empty0); + }); + _lazyOld($, "_typeAliasToFactory", "$get$_typeAliasToFactory", function() { + return P.Expando$(null, type$.legacy_ReactComponentFactoryProxy); + }); + _lazyOld($, "ReduxProvider", "$get$ReduxProvider", function() { + return new X.ReduxProvider_closure(); + }); + _lazyOld($, "DartValueWrapper__functionWrapperCache", "$get$DartValueWrapper__functionWrapperCache", function() { + return P.Expando$("_functionWrapperCache", H.findType("DartValueWrapper0*")); + }); + _lazyFinal($, "context", "$get$context", function() { + return new M.Context0($.$get$Style_platform()); + }); + _lazyFinal($, "Style_posix", "$get$Style_posix", function() { + return new E.PosixStyle(P.RegExp_RegExp("/", true), P.RegExp_RegExp("[^/]$", true), P.RegExp_RegExp("^/", true)); + }); + _lazyFinal($, "Style_windows", "$get$Style_windows", function() { + return new L.WindowsStyle(P.RegExp_RegExp("[/\\\\]", true), P.RegExp_RegExp("[^/\\\\]$", true), P.RegExp_RegExp("^(\\\\\\\\[^\\\\]+\\\\[^\\\\/]+|[a-zA-Z]:[/\\\\])", true), P.RegExp_RegExp("^[/\\\\](?![/\\\\])", true)); + }); + _lazyFinal($, "Style_url", "$get$Style_url", function() { + return new F.UrlStyle(P.RegExp_RegExp("/", true), P.RegExp_RegExp("(^[a-zA-Z][-+.a-zA-Z\\d]*://|[^/])$", true), P.RegExp_RegExp("[a-zA-Z][-+.a-zA-Z\\d]*://[^/]*", true), P.RegExp_RegExp("^/", true)); + }); + _lazyFinal($, "Style_platform", "$get$Style_platform", function() { + return O.Style__getPlatformStyle(); + }); + _lazyFinal($, "Token__newlineParser", "$get$Token__newlineParser", function() { + return O.ChoiceParserExtension_or(G.char("\n", null), Q.SequenceParserExtension_seq(G.char("\r", null), M.OptionalParserExtension_optional(G.char("\n", null), type$.String))); + }); + _lazyFinal($, "_single", "$get$_single", function() { + return A.MapParserExtension_map(V.any(), new E._single_closure(), false, type$.String, type$.RangeCharPredicate); + }); + _lazyFinal($, "_range", "$get$_range", function() { + return A.MapParserExtension_map(Q.SequenceParserExtension_seq(Q.SequenceParserExtension_seq(V.any(), G.char("-", null)), V.any()), new E._range_closure(), false, type$.List_dynamic, type$.RangeCharPredicate); + }); + _lazyFinal($, "_sequence", "$get$_sequence", function() { + return A.MapParserExtension_map(Z.PossessiveRepeatingParserExtension_star(O.ChoiceParserExtension_or($.$get$_range(), $.$get$_single()), type$.dynamic), new E._sequence_closure(), false, type$.List_dynamic, type$.CharacterPredicate); + }); + _lazyFinal($, "_pattern", "$get$_pattern", function() { + return A.MapParserExtension_map(Q.SequenceParserExtension_seq(M.OptionalParserExtension_optional(G.char("^", null), type$.String), $.$get$_sequence()), new E._pattern_closure(), false, type$.List_dynamic, type$.CharacterPredicate); + }); + _lazyOld($, "Browser_UnknownBrowser", "$get$Browser_UnknownBrowser", function() { + return L.Browser$("Unknown", null, null, null); + }); + _lazyOld($, "Browser__knownBrowsers", "$get$Browser__knownBrowsers", function() { + return H.setRuntimeTypeInfo([$.$get$chrome(), $.$get$firefox(), $.$get$safari(), $.$get$internetExplorer(), $.$get$wkWebView()], H.findType("JSArray")); + }); + _lazyOld($, "chrome", "$get$chrome", function() { + return new L._Chrome("Chrome", L.browser__Chrome__isChrome$closure()); + }); + _lazyOld($, "firefox", "$get$firefox", function() { + return new L._Firefox("Firefox", L.browser__Firefox__isFirefox$closure()); + }); + _lazyOld($, "safari", "$get$safari", function() { + return new L._Safari("Safari", L.browser__Safari__isSafari$closure()); + }); + _lazyOld($, "internetExplorer", "$get$internetExplorer", function() { + return new L._InternetExplorer("Internet Explorer", L.browser__InternetExplorer__isInternetExplorer$closure()); + }); + _lazyOld($, "wkWebView", "$get$wkWebView", function() { + return new L._WKWebView("WKWebView", L.browser__WKWebView__isWKWebView$closure()); + }); + _lazyOld($, "OperatingSystem_UnknownOS", "$get$OperatingSystem_UnknownOS", function() { + return N.OperatingSystem$("Unknown", null); + }); + _lazyOld($, "OperatingSystem__knownSystems", "$get$OperatingSystem__knownSystems", function() { + return H.setRuntimeTypeInfo([$.$get$mac(), $.$get$windows(), $.$get$linux(), $.$get$unix()], H.findType("JSArray")); + }); + _lazyOld($, "linux", "$get$linux", function() { + return N.OperatingSystem$("Linux", new N.linux_closure()); + }); + _lazyOld($, "mac", "$get$mac", function() { + return N.OperatingSystem$("Mac", new N.mac_closure()); + }); + _lazyOld($, "unix", "$get$unix", function() { + return N.OperatingSystem$("Unix", new N.unix_closure()); + }); + _lazyOld($, "windows", "$get$windows", function() { + return N.OperatingSystem$("Windows", new N.windows_closure()); + }); + _lazyOld($, "registerComponent21", "$get$registerComponent2", function() { + return F.validateJsApiThenReturn(new V.registerComponent2_closure(), H.findType("ReactDartComponentFactoryProxy2*(Component2*()*{bridgeFactory:Component2Bridge*(Component2*)*,skipMethods:Iterable*})*")); + }); + _lazyOld($, "a", "$get$a", function() { + return F.validateJsApiThenReturn(new V.a_closure(), type$.legacy_ReactDomComponentFactoryProxy); + }); + _lazyOld($, "br", "$get$br", function() { + return F.validateJsApiThenReturn(new V.br_closure(), type$.legacy_ReactDomComponentFactoryProxy); + }); + _lazyOld($, "button", "$get$button", function() { + return F.validateJsApiThenReturn(new V.button_closure(), type$.legacy_ReactDomComponentFactoryProxy); + }); + _lazyOld($, "div", "$get$div", function() { + return F.validateJsApiThenReturn(new V.div_closure(), type$.legacy_ReactDomComponentFactoryProxy); + }); + _lazyOld($, "form", "$get$form", function() { + return F.validateJsApiThenReturn(new V.form_closure(), type$.legacy_ReactDomComponentFactoryProxy); + }); + _lazyOld($, "img", "$get$img", function() { + return F.validateJsApiThenReturn(new V.img_closure(), type$.legacy_ReactDomComponentFactoryProxy); + }); + _lazyOld($, "input", "$get$input", function() { + return F.validateJsApiThenReturn(new V.input_closure(), type$.legacy_ReactDomComponentFactoryProxy); + }); + _lazyOld($, "label", "$get$label", function() { + return F.validateJsApiThenReturn(new V.label_closure(), type$.legacy_ReactDomComponentFactoryProxy); + }); + _lazyOld($, "li", "$get$li", function() { + return F.validateJsApiThenReturn(new V.li_closure(), type$.legacy_ReactDomComponentFactoryProxy); + }); + _lazyOld($, "option", "$get$option", function() { + return F.validateJsApiThenReturn(new V.option_closure(), type$.legacy_ReactDomComponentFactoryProxy); + }); + _lazyOld($, "p", "$get$p", function() { + return F.validateJsApiThenReturn(new V.p_closure(), type$.legacy_ReactDomComponentFactoryProxy); + }); + _lazyOld($, "select", "$get$select", function() { + return F.validateJsApiThenReturn(new V.select_closure(), type$.legacy_ReactDomComponentFactoryProxy); + }); + _lazyOld($, "span", "$get$span", function() { + return F.validateJsApiThenReturn(new V.span_closure(), type$.legacy_ReactDomComponentFactoryProxy); + }); + _lazyOld($, "textarea", "$get$textarea", function() { + return F.validateJsApiThenReturn(new V.textarea_closure(), type$.legacy_ReactDomComponentFactoryProxy); + }); + _lazyOld($, "title", "$get$title", function() { + return F.validateJsApiThenReturn(new V.title_closure(), type$.legacy_ReactDomComponentFactoryProxy); + }); + _lazyOld($, "ul", "$get$ul", function() { + return F.validateJsApiThenReturn(new V.ul_closure(), type$.legacy_ReactDomComponentFactoryProxy); + }); + _lazyOld($, "circle", "$get$circle", function() { + return F.validateJsApiThenReturn(new V.circle_closure(), type$.legacy_ReactDomComponentFactoryProxy); + }); + _lazyOld($, "g", "$get$g", function() { + return F.validateJsApiThenReturn(new V.g_closure(), type$.legacy_ReactDomComponentFactoryProxy); + }); + _lazyOld($, "image", "$get$image", function() { + return F.validateJsApiThenReturn(new V.image_closure(), type$.legacy_ReactDomComponentFactoryProxy); + }); + _lazyOld($, "line", "$get$line", function() { + return F.validateJsApiThenReturn(new V.line_closure(), type$.legacy_ReactDomComponentFactoryProxy); + }); + _lazyOld($, "path", "$get$path", function() { + return F.validateJsApiThenReturn(new V.path_closure(), type$.legacy_ReactDomComponentFactoryProxy); + }); + _lazyOld($, "polygon", "$get$polygon", function() { + return F.validateJsApiThenReturn(new V.polygon_closure(), type$.legacy_ReactDomComponentFactoryProxy); + }); + _lazyOld($, "polyline", "$get$polyline", function() { + return F.validateJsApiThenReturn(new V.polyline_closure(), type$.legacy_ReactDomComponentFactoryProxy); + }); + _lazyOld($, "rect", "$get$rect", function() { + return F.validateJsApiThenReturn(new V.rect_closure(), type$.legacy_ReactDomComponentFactoryProxy); + }); + _lazyOld($, "text", "$get$text", function() { + return F.validateJsApiThenReturn(new V.text_closure(), type$.legacy_ReactDomComponentFactoryProxy); + }); + _lazyOld($, "textPath", "$get$textPath", function() { + return F.validateJsApiThenReturn(new V.textPath_closure(), type$.legacy_ReactDomComponentFactoryProxy); + }); + _lazyOld($, "Component2Bridge_bridgeForComponent", "$get$Component2Bridge_bridgeForComponent", function() { + return P.Expando$(null, H.findType("Component2Bridge*")); + }); + _lazyOld($, "render", "$get$render", function() { + return F.validateJsApiThenReturn(new R.render_closure(), type$.legacy_Function); + }); + _lazyOld($, "findDOMNode", "$get$findDOMNode", function() { + return F.validateJsApiThenReturn(new R.findDOMNode_closure(), type$.legacy_Function); + }); + _lazyOld($, "isBugPresent", "$get$isBugPresent", function() { + return new Z.isBugPresent_closure().call$0(); + }); + _lazyOld($, "ReactDartInteropStatics2_staticsForJs", "$get$ReactDartInteropStatics2_staticsForJs", function() { + return type$.legacy_JsMap._as(R.jsifyAndAllowInterop(P.LinkedHashMap_LinkedHashMap$_literal(["initComponent", Q.dart_interop_statics_ReactDartInteropStatics2_initComponent$closure(), "handleComponentDidMount", Q.dart_interop_statics_ReactDartInteropStatics2_handleComponentDidMount$closure(), "handleGetDerivedStateFromProps", Q.dart_interop_statics_ReactDartInteropStatics2_handleGetDerivedStateFromProps$closure(), "handleShouldComponentUpdate", Q.dart_interop_statics_ReactDartInteropStatics2_handleShouldComponentUpdate$closure(), "handleGetSnapshotBeforeUpdate", Q.dart_interop_statics_ReactDartInteropStatics2_handleGetSnapshotBeforeUpdate$closure(), "handleComponentDidUpdate", Q.dart_interop_statics_ReactDartInteropStatics2_handleComponentDidUpdate$closure(), "handleComponentWillUnmount", Q.dart_interop_statics_ReactDartInteropStatics2_handleComponentWillUnmount$closure(), "handleComponentDidCatch", Q.dart_interop_statics_ReactDartInteropStatics2_handleComponentDidCatch$closure(), "handleGetDerivedStateFromError", Q.dart_interop_statics_ReactDartInteropStatics2_handleGetDerivedStateFromError$closure(), "handleRender", Q.dart_interop_statics_ReactDartInteropStatics2_handleRender$closure()], type$.legacy_String, type$.legacy_Function))); + }); + _lazyOld($, "_$undoSerializer", "$get$_$undoSerializer", function() { + return new U._$UndoSerializer(); + }); + _lazyOld($, "_$redoSerializer", "$get$_$redoSerializer", function() { + return new U._$RedoSerializer(); + }); + _lazyOld($, "_$undoRedoClearSerializer", "$get$_$undoRedoClearSerializer", function() { + return new U._$UndoRedoClearSerializer(); + }); + _lazyOld($, "_$batchActionSerializer", "$get$_$batchActionSerializer", function() { + return new U._$BatchActionSerializer(); + }); + _lazyOld($, "_$throttledActionFastSerializer", "$get$_$throttledActionFastSerializer", function() { + return new U._$ThrottledActionFastSerializer(); + }); + _lazyOld($, "_$throttledActionNonFastSerializer", "$get$_$throttledActionNonFastSerializer", function() { + return new U._$ThrottledActionNonFastSerializer(); + }); + _lazyOld($, "_$localStorageDesignChoiceSetSerializer", "$get$_$localStorageDesignChoiceSetSerializer", function() { + return new U._$LocalStorageDesignChoiceSetSerializer(); + }); + _lazyOld($, "_$resetLocalStorageSerializer", "$get$_$resetLocalStorageSerializer", function() { + return new U._$ResetLocalStorageSerializer(); + }); + _lazyOld($, "_$clearHelixSelectionWhenLoadingNewDesignSetSerializer", "$get$_$clearHelixSelectionWhenLoadingNewDesignSetSerializer", function() { + return new U._$ClearHelixSelectionWhenLoadingNewDesignSetSerializer(); + }); + _lazyOld($, "_$editModeToggleSerializer", "$get$_$editModeToggleSerializer", function() { + return new U._$EditModeToggleSerializer(); + }); + _lazyOld($, "_$editModesSetSerializer", "$get$_$editModesSetSerializer", function() { + return new U._$EditModesSetSerializer(); + }); + _lazyOld($, "_$selectModeToggleSerializer", "$get$_$selectModeToggleSerializer", function() { + return new U._$SelectModeToggleSerializer(); + }); + _lazyOld($, "_$selectModesAddSerializer", "$get$_$selectModesAddSerializer", function() { + return new U._$SelectModesAddSerializer(); + }); + _lazyOld($, "_$selectModesSetSerializer", "$get$_$selectModesSetSerializer", function() { + return new U._$SelectModesSetSerializer(); + }); + _lazyOld($, "_$strandNameSetSerializer", "$get$_$strandNameSetSerializer", function() { + return new U._$StrandNameSetSerializer(); + }); + _lazyOld($, "_$strandLabelSetSerializer", "$get$_$strandLabelSetSerializer", function() { + return new U._$StrandLabelSetSerializer(); + }); + _lazyOld($, "_$substrandNameSetSerializer", "$get$_$substrandNameSetSerializer", function() { + return new U._$SubstrandNameSetSerializer(); + }); + _lazyOld($, "_$substrandLabelSetSerializer", "$get$_$substrandLabelSetSerializer", function() { + return new U._$SubstrandLabelSetSerializer(); + }); + _lazyOld($, "_$setAppUIStateStorableSerializer", "$get$_$setAppUIStateStorableSerializer", function() { + return new U._$SetAppUIStateStorableSerializer(); + }); + _lazyOld($, "_$showDNASetSerializer", "$get$_$showDNASetSerializer", function() { + return new U._$ShowDNASetSerializer(); + }); + _lazyOld($, "_$showDomainNamesSetSerializer", "$get$_$showDomainNamesSetSerializer", function() { + return new U._$ShowDomainNamesSetSerializer(); + }); + _lazyOld($, "_$showStrandNamesSetSerializer", "$get$_$showStrandNamesSetSerializer", function() { + return new U._$ShowStrandNamesSetSerializer(); + }); + _lazyOld($, "_$showStrandLabelsSetSerializer", "$get$_$showStrandLabelsSetSerializer", function() { + return new U._$ShowStrandLabelsSetSerializer(); + }); + _lazyOld($, "_$showDomainLabelsSetSerializer", "$get$_$showDomainLabelsSetSerializer", function() { + return new U._$ShowDomainLabelsSetSerializer(); + }); + _lazyOld($, "_$showModificationsSetSerializer", "$get$_$showModificationsSetSerializer", function() { + return new U._$ShowModificationsSetSerializer(); + }); + _lazyOld($, "_$domainNameFontSizeSetSerializer", "$get$_$domainNameFontSizeSetSerializer", function() { + return new U._$DomainNameFontSizeSetSerializer(); + }); + _lazyOld($, "_$domainLabelFontSizeSetSerializer", "$get$_$domainLabelFontSizeSetSerializer", function() { + return new U._$DomainLabelFontSizeSetSerializer(); + }); + _lazyOld($, "_$strandNameFontSizeSetSerializer", "$get$_$strandNameFontSizeSetSerializer", function() { + return new U._$StrandNameFontSizeSetSerializer(); + }); + _lazyOld($, "_$strandLabelFontSizeSetSerializer", "$get$_$strandLabelFontSizeSetSerializer", function() { + return new U._$StrandLabelFontSizeSetSerializer(); + }); + _lazyOld($, "_$modificationFontSizeSetSerializer", "$get$_$modificationFontSizeSetSerializer", function() { + return new U._$ModificationFontSizeSetSerializer(); + }); + _lazyOld($, "_$majorTickOffsetFontSizeSetSerializer", "$get$_$majorTickOffsetFontSizeSetSerializer", function() { + return new U._$MajorTickOffsetFontSizeSetSerializer(); + }); + _lazyOld($, "_$majorTickWidthFontSizeSetSerializer", "$get$_$majorTickWidthFontSizeSetSerializer", function() { + return new U._$MajorTickWidthFontSizeSetSerializer(); + }); + _lazyOld($, "_$setModificationDisplayConnectorSerializer", "$get$_$setModificationDisplayConnectorSerializer", function() { + return new U._$SetModificationDisplayConnectorSerializer(); + }); + _lazyOld($, "_$showMismatchesSetSerializer", "$get$_$showMismatchesSetSerializer", function() { + return new U._$ShowMismatchesSetSerializer(); + }); + _lazyOld($, "_$showDomainNameMismatchesSetSerializer", "$get$_$showDomainNameMismatchesSetSerializer", function() { + return new U._$ShowDomainNameMismatchesSetSerializer(); + }); + _lazyOld($, "_$showUnpairedInsertionDeletionsSetSerializer", "$get$_$showUnpairedInsertionDeletionsSetSerializer", function() { + return new U._$ShowUnpairedInsertionDeletionsSetSerializer(); + }); + _lazyOld($, "_$oxviewShowSetSerializer", "$get$_$oxviewShowSetSerializer", function() { + return new U._$OxviewShowSetSerializer(); + }); + _lazyOld($, "_$setDisplayBaseOffsetsOfMajorTicksOnlyFirstHelixSerializer", "$get$_$setDisplayBaseOffsetsOfMajorTicksOnlyFirstHelixSerializer", function() { + return new U._$SetDisplayBaseOffsetsOfMajorTicksOnlyFirstHelixSerializer(); + }); + _lazyOld($, "_$displayMajorTicksOffsetsSetSerializer", "$get$_$displayMajorTicksOffsetsSetSerializer", function() { + return new U._$DisplayMajorTicksOffsetsSetSerializer(); + }); + _lazyOld($, "_$setDisplayMajorTickWidthsAllHelicesSerializer", "$get$_$setDisplayMajorTickWidthsAllHelicesSerializer", function() { + return new U._$SetDisplayMajorTickWidthsAllHelicesSerializer(); + }); + _lazyOld($, "_$setDisplayMajorTickWidthsSerializer", "$get$_$setDisplayMajorTickWidthsSerializer", function() { + return new U._$SetDisplayMajorTickWidthsSerializer(); + }); + _lazyOld($, "_$setOnlyDisplaySelectedHelicesSerializer", "$get$_$setOnlyDisplaySelectedHelicesSerializer", function() { + return new U._$SetOnlyDisplaySelectedHelicesSerializer(); + }); + _lazyOld($, "_$invertYSetSerializer", "$get$_$invertYSetSerializer", function() { + return new U._$InvertYSetSerializer(); + }); + _lazyOld($, "_$dynamicHelixUpdateSetSerializer", "$get$_$dynamicHelixUpdateSetSerializer", function() { + return new U._$DynamicHelixUpdateSetSerializer(); + }); + _lazyOld($, "_$warnOnExitIfUnsavedSetSerializer", "$get$_$warnOnExitIfUnsavedSetSerializer", function() { + return new U._$WarnOnExitIfUnsavedSetSerializer(); + }); + _lazyOld($, "_$loadingDialogShowSerializer", "$get$_$loadingDialogShowSerializer", function() { + return new U._$LoadingDialogShowSerializer(); + }); + _lazyOld($, "_$loadingDialogHideSerializer", "$get$_$loadingDialogHideSerializer", function() { + return new U._$LoadingDialogHideSerializer(); + }); + _lazyOld($, "_$copySelectedStandsToClipboardImageSerializer", "$get$_$copySelectedStandsToClipboardImageSerializer", function() { + return new U._$CopySelectedStandsToClipboardImageSerializer(); + }); + _lazyOld($, "_$saveDNAFileSerializer", "$get$_$saveDNAFileSerializer", function() { + return new U._$SaveDNAFileSerializer(); + }); + _lazyOld($, "_$loadDNAFileSerializer", "$get$_$loadDNAFileSerializer", function() { + return new U._$LoadDNAFileSerializer(); + }); + _lazyOld($, "_$prepareToLoadDNAFileSerializer", "$get$_$prepareToLoadDNAFileSerializer", function() { + return new U._$PrepareToLoadDNAFileSerializer(); + }); + _lazyOld($, "_$newDesignSetSerializer", "$get$_$newDesignSetSerializer", function() { + return new U._$NewDesignSetSerializer(); + }); + _lazyOld($, "_$exportCadnanoFileSerializer", "$get$_$exportCadnanoFileSerializer", function() { + return new U._$ExportCadnanoFileSerializer(); + }); + _lazyOld($, "_$exportCodenanoFileSerializer", "$get$_$exportCodenanoFileSerializer", function() { + return new U._$ExportCodenanoFileSerializer(); + }); + _lazyOld($, "_$showMouseoverDataSetSerializer", "$get$_$showMouseoverDataSetSerializer", function() { + return new U._$ShowMouseoverDataSetSerializer(); + }); + _lazyOld($, "_$mouseoverDataClearSerializer", "$get$_$mouseoverDataClearSerializer", function() { + return new U._$MouseoverDataClearSerializer(); + }); + _lazyOld($, "_$mouseoverDataUpdateSerializer", "$get$_$mouseoverDataUpdateSerializer", function() { + return new U._$MouseoverDataUpdateSerializer(); + }); + _lazyOld($, "_$helixRollSetSerializer", "$get$_$helixRollSetSerializer", function() { + return new U._$HelixRollSetSerializer(); + }); + _lazyOld($, "_$helixRollSetAtOtherSerializer", "$get$_$helixRollSetAtOtherSerializer", function() { + return new U._$HelixRollSetAtOtherSerializer(); + }); + _lazyOld($, "_$relaxHelixRollsSerializer", "$get$_$relaxHelixRollsSerializer", function() { + return new U._$RelaxHelixRollsSerializer(); + }); + _lazyOld($, "_$errorMessageSetSerializer", "$get$_$errorMessageSetSerializer", function() { + return new U._$ErrorMessageSetSerializer(); + }); + _lazyOld($, "_$selectionBoxCreateSerializer", "$get$_$selectionBoxCreateSerializer", function() { + return new U._$SelectionBoxCreateSerializer(); + }); + _lazyOld($, "_$selectionBoxSizeChangeSerializer", "$get$_$selectionBoxSizeChangeSerializer", function() { + return new U._$SelectionBoxSizeChangeSerializer(); + }); + _lazyOld($, "_$selectionBoxRemoveSerializer", "$get$_$selectionBoxRemoveSerializer", function() { + return new U._$SelectionBoxRemoveSerializer(); + }); + _lazyOld($, "_$selectionRopeCreateSerializer", "$get$_$selectionRopeCreateSerializer", function() { + return new U._$SelectionRopeCreateSerializer(); + }); + _lazyOld($, "_$selectionRopeMouseMoveSerializer", "$get$_$selectionRopeMouseMoveSerializer", function() { + return new U._$SelectionRopeMouseMoveSerializer(); + }); + _lazyOld($, "_$selectionRopeAddPointSerializer", "$get$_$selectionRopeAddPointSerializer", function() { + return new U._$SelectionRopeAddPointSerializer(); + }); + _lazyOld($, "_$selectionRopeRemoveSerializer", "$get$_$selectionRopeRemoveSerializer", function() { + return new U._$SelectionRopeRemoveSerializer(); + }); + _lazyOld($, "_$mouseGridPositionSideUpdateSerializer", "$get$_$mouseGridPositionSideUpdateSerializer", function() { + return new U._$MouseGridPositionSideUpdateSerializer(); + }); + _lazyOld($, "_$mouseGridPositionSideClearSerializer", "$get$_$mouseGridPositionSideClearSerializer", function() { + return new U._$MouseGridPositionSideClearSerializer(); + }); + _lazyOld($, "_$mousePositionSideUpdateSerializer", "$get$_$mousePositionSideUpdateSerializer", function() { + return new U._$MousePositionSideUpdateSerializer(); + }); + _lazyOld($, "_$mousePositionSideClearSerializer", "$get$_$mousePositionSideClearSerializer", function() { + return new U._$MousePositionSideClearSerializer(); + }); + _lazyOld($, "_$geometrySetSerializer", "$get$_$geometrySetSerializer", function() { + return new U._$GeometrySetSerializer(); + }); + _lazyOld($, "_$selectionBoxIntersectionRuleSetSerializer", "$get$_$selectionBoxIntersectionRuleSetSerializer", function() { + return new U._$SelectionBoxIntersectionRuleSetSerializer(); + }); + _lazyOld($, "_$selectSerializer", "$get$_$selectSerializer", function() { + return new U._$SelectSerializer(); + }); + _lazyOld($, "_$selectionsClearSerializer", "$get$_$selectionsClearSerializer", function() { + return new U._$SelectionsClearSerializer(); + }); + _lazyOld($, "_$selectionsAdjustMainViewSerializer", "$get$_$selectionsAdjustMainViewSerializer", function() { + return new U._$SelectionsAdjustMainViewSerializer(); + }); + _lazyOld($, "_$selectOrToggleItemsSerializer", "$get$_$selectOrToggleItemsSerializer", function() { + return new U._$SelectOrToggleItemsSerializer(); + }); + _lazyOld($, "_$selectAllSerializer", "$get$_$selectAllSerializer", function() { + return new U._$SelectAllSerializer(); + }); + _lazyOld($, "_$selectAllSelectableSerializer", "$get$_$selectAllSelectableSerializer", function() { + return new U._$SelectAllSelectableSerializer(); + }); + _lazyOld($, "_$selectAllWithSameAsSelectedSerializer", "$get$_$selectAllWithSameAsSelectedSerializer", function() { + return new U._$SelectAllWithSameAsSelectedSerializer(); + }); + _lazyOld($, "_$deleteAllSelectedSerializer", "$get$_$deleteAllSelectedSerializer", function() { + return new U._$DeleteAllSelectedSerializer(); + }); + _lazyOld($, "_$helixAddSerializer", "$get$_$helixAddSerializer", function() { + return new U._$HelixAddSerializer(); + }); + _lazyOld($, "_$helixRemoveSerializer", "$get$_$helixRemoveSerializer", function() { + return new U._$HelixRemoveSerializer(); + }); + _lazyOld($, "_$helixRemoveAllSelectedSerializer", "$get$_$helixRemoveAllSelectedSerializer", function() { + return new U._$HelixRemoveAllSelectedSerializer(); + }); + _lazyOld($, "_$helixSelectSerializer", "$get$_$helixSelectSerializer", function() { + return new U._$HelixSelectSerializer(); + }); + _lazyOld($, "_$helixSelectionsClearSerializer", "$get$_$helixSelectionsClearSerializer", function() { + return new U._$HelixSelectionsClearSerializer(); + }); + _lazyOld($, "_$helixSelectionsAdjustSerializer", "$get$_$helixSelectionsAdjustSerializer", function() { + return new U._$HelixSelectionsAdjustSerializer(); + }); + _lazyOld($, "_$helixMajorTickDistanceChangeSerializer", "$get$_$helixMajorTickDistanceChangeSerializer", function() { + return new U._$HelixMajorTickDistanceChangeSerializer(); + }); + _lazyOld($, "_$helixMajorTickDistanceChangeAllSerializer", "$get$_$helixMajorTickDistanceChangeAllSerializer", function() { + return new U._$HelixMajorTickDistanceChangeAllSerializer(); + }); + _lazyOld($, "_$helixMajorTickStartChangeSerializer", "$get$_$helixMajorTickStartChangeSerializer", function() { + return new U._$HelixMajorTickStartChangeSerializer(); + }); + _lazyOld($, "_$helixMajorTickStartChangeAllSerializer", "$get$_$helixMajorTickStartChangeAllSerializer", function() { + return new U._$HelixMajorTickStartChangeAllSerializer(); + }); + _lazyOld($, "_$helixMajorTicksChangeSerializer", "$get$_$helixMajorTicksChangeSerializer", function() { + return new U._$HelixMajorTicksChangeSerializer(); + }); + _lazyOld($, "_$helixMajorTicksChangeAllSerializer", "$get$_$helixMajorTicksChangeAllSerializer", function() { + return new U._$HelixMajorTicksChangeAllSerializer(); + }); + _lazyOld($, "_$helixMajorTickPeriodicDistancesChangeSerializer", "$get$_$helixMajorTickPeriodicDistancesChangeSerializer", function() { + return new U._$HelixMajorTickPeriodicDistancesChangeSerializer(); + }); + _lazyOld($, "_$helixMajorTickPeriodicDistancesChangeAllSerializer", "$get$_$helixMajorTickPeriodicDistancesChangeAllSerializer", function() { + return new U._$HelixMajorTickPeriodicDistancesChangeAllSerializer(); + }); + _lazyOld($, "_$helixIdxsChangeSerializer", "$get$_$helixIdxsChangeSerializer", function() { + return new U._$HelixIdxsChangeSerializer(); + }); + _lazyOld($, "_$helixOffsetChangeSerializer", "$get$_$helixOffsetChangeSerializer", function() { + return new U._$HelixOffsetChangeSerializer(); + }); + _lazyOld($, "_$helixMinOffsetSetByDomainsSerializer", "$get$_$helixMinOffsetSetByDomainsSerializer", function() { + return new U._$HelixMinOffsetSetByDomainsSerializer(); + }); + _lazyOld($, "_$helixMaxOffsetSetByDomainsSerializer", "$get$_$helixMaxOffsetSetByDomainsSerializer", function() { + return new U._$HelixMaxOffsetSetByDomainsSerializer(); + }); + _lazyOld($, "_$helixMinOffsetSetByDomainsAllSerializer", "$get$_$helixMinOffsetSetByDomainsAllSerializer", function() { + return new U._$HelixMinOffsetSetByDomainsAllSerializer(); + }); + _lazyOld($, "_$helixMaxOffsetSetByDomainsAllSerializer", "$get$_$helixMaxOffsetSetByDomainsAllSerializer", function() { + return new U._$HelixMaxOffsetSetByDomainsAllSerializer(); + }); + _lazyOld($, "_$helixMaxOffsetSetByDomainsAllSameMaxSerializer", "$get$_$helixMaxOffsetSetByDomainsAllSameMaxSerializer", function() { + return new U._$HelixMaxOffsetSetByDomainsAllSameMaxSerializer(); + }); + _lazyOld($, "_$helixOffsetChangeAllSerializer", "$get$_$helixOffsetChangeAllSerializer", function() { + return new U._$HelixOffsetChangeAllSerializer(); + }); + _lazyOld($, "_$showMouseoverRectSetSerializer", "$get$_$showMouseoverRectSetSerializer", function() { + return new U._$ShowMouseoverRectSetSerializer(); + }); + _lazyOld($, "_$showMouseoverRectToggleSerializer", "$get$_$showMouseoverRectToggleSerializer", function() { + return new U._$ShowMouseoverRectToggleSerializer(); + }); + _lazyOld($, "_$exportDNASerializer", "$get$_$exportDNASerializer", function() { + return new U._$ExportDNASerializer(); + }); + _lazyOld($, "_$exportSvgSerializer", "$get$_$exportSvgSerializer", function() { + return new U._$ExportSvgSerializer(); + }); + _lazyOld($, "_$exportSvgTextSeparatelySetSerializer", "$get$_$exportSvgTextSeparatelySetSerializer", function() { + return new U._$ExportSvgTextSeparatelySetSerializer(); + }); + _lazyOld($, "_$extensionDisplayLengthAngleSetSerializer", "$get$_$extensionDisplayLengthAngleSetSerializer", function() { + return new U._$ExtensionDisplayLengthAngleSetSerializer(); + }); + _lazyOld($, "_$extensionAddSerializer", "$get$_$extensionAddSerializer", function() { + return new U._$ExtensionAddSerializer(); + }); + _lazyOld($, "_$extensionNumBasesChangeSerializer", "$get$_$extensionNumBasesChangeSerializer", function() { + return new U._$ExtensionNumBasesChangeSerializer(); + }); + _lazyOld($, "_$extensionsNumBasesChangeSerializer", "$get$_$extensionsNumBasesChangeSerializer", function() { + return new U._$ExtensionsNumBasesChangeSerializer(); + }); + _lazyOld($, "_$loopoutLengthChangeSerializer", "$get$_$loopoutLengthChangeSerializer", function() { + return new U._$LoopoutLengthChangeSerializer(); + }); + _lazyOld($, "_$loopoutsLengthChangeSerializer", "$get$_$loopoutsLengthChangeSerializer", function() { + return new U._$LoopoutsLengthChangeSerializer(); + }); + _lazyOld($, "_$convertCrossoverToLoopoutSerializer", "$get$_$convertCrossoverToLoopoutSerializer", function() { + return new U._$ConvertCrossoverToLoopoutSerializer(); + }); + _lazyOld($, "_$convertCrossoversToLoopoutsSerializer", "$get$_$convertCrossoversToLoopoutsSerializer", function() { + return new U._$ConvertCrossoversToLoopoutsSerializer(); + }); + _lazyOld($, "_$nickSerializer", "$get$_$nickSerializer", function() { + return new U._$NickSerializer(); + }); + _lazyOld($, "_$ligateSerializer", "$get$_$ligateSerializer", function() { + return new U._$LigateSerializer(); + }); + _lazyOld($, "_$joinStrandsByCrossoverSerializer", "$get$_$joinStrandsByCrossoverSerializer", function() { + return new U._$JoinStrandsByCrossoverSerializer(); + }); + _lazyOld($, "_$moveLinkerSerializer", "$get$_$moveLinkerSerializer", function() { + return new U._$MoveLinkerSerializer(); + }); + _lazyOld($, "_$joinStrandsByMultipleCrossoversSerializer", "$get$_$joinStrandsByMultipleCrossoversSerializer", function() { + return new U._$JoinStrandsByMultipleCrossoversSerializer(); + }); + _lazyOld($, "_$strandsReflectSerializer", "$get$_$strandsReflectSerializer", function() { + return new U._$StrandsReflectSerializer(); + }); + _lazyOld($, "_$replaceStrandsSerializer", "$get$_$replaceStrandsSerializer", function() { + return new U._$ReplaceStrandsSerializer(); + }); + _lazyOld($, "_$strandCreateStartSerializer", "$get$_$strandCreateStartSerializer", function() { + return new U._$StrandCreateStartSerializer(); + }); + _lazyOld($, "_$strandCreateAdjustOffsetSerializer", "$get$_$strandCreateAdjustOffsetSerializer", function() { + return new U._$StrandCreateAdjustOffsetSerializer(); + }); + _lazyOld($, "_$strandCreateStopSerializer", "$get$_$strandCreateStopSerializer", function() { + return new U._$StrandCreateStopSerializer(); + }); + _lazyOld($, "_$strandCreateCommitSerializer", "$get$_$strandCreateCommitSerializer", function() { + return new U._$StrandCreateCommitSerializer(); + }); + _lazyOld($, "_$potentialCrossoverCreateSerializer", "$get$_$potentialCrossoverCreateSerializer", function() { + return new U._$PotentialCrossoverCreateSerializer(); + }); + _lazyOld($, "_$potentialCrossoverMoveSerializer", "$get$_$potentialCrossoverMoveSerializer", function() { + return new U._$PotentialCrossoverMoveSerializer(); + }); + _lazyOld($, "_$potentialCrossoverRemoveSerializer", "$get$_$potentialCrossoverRemoveSerializer", function() { + return new U._$PotentialCrossoverRemoveSerializer(); + }); + _lazyOld($, "_$manualPasteInitiateSerializer", "$get$_$manualPasteInitiateSerializer", function() { + return new U._$ManualPasteInitiateSerializer(); + }); + _lazyOld($, "_$autoPasteInitiateSerializer", "$get$_$autoPasteInitiateSerializer", function() { + return new U._$AutoPasteInitiateSerializer(); + }); + _lazyOld($, "_$copySelectedStrandsSerializer", "$get$_$copySelectedStrandsSerializer", function() { + return new U._$CopySelectedStrandsSerializer(); + }); + _lazyOld($, "_$strandsMoveStartSerializer", "$get$_$strandsMoveStartSerializer", function() { + return new U._$StrandsMoveStartSerializer(); + }); + _lazyOld($, "_$strandsMoveStartSelectedStrandsSerializer", "$get$_$strandsMoveStartSelectedStrandsSerializer", function() { + return new U._$StrandsMoveStartSelectedStrandsSerializer(); + }); + _lazyOld($, "_$strandsMoveStopSerializer", "$get$_$strandsMoveStopSerializer", function() { + return new U._$StrandsMoveStopSerializer(); + }); + _lazyOld($, "_$strandsMoveAdjustAddressSerializer", "$get$_$strandsMoveAdjustAddressSerializer", function() { + return new U._$StrandsMoveAdjustAddressSerializer(); + }); + _lazyOld($, "_$strandsMoveCommitSerializer", "$get$_$strandsMoveCommitSerializer", function() { + return new U._$StrandsMoveCommitSerializer(); + }); + _lazyOld($, "_$domainsMoveStartSelectedDomainsSerializer", "$get$_$domainsMoveStartSelectedDomainsSerializer", function() { + return new U._$DomainsMoveStartSelectedDomainsSerializer(); + }); + _lazyOld($, "_$domainsMoveStopSerializer", "$get$_$domainsMoveStopSerializer", function() { + return new U._$DomainsMoveStopSerializer(); + }); + _lazyOld($, "_$domainsMoveAdjustAddressSerializer", "$get$_$domainsMoveAdjustAddressSerializer", function() { + return new U._$DomainsMoveAdjustAddressSerializer(); + }); + _lazyOld($, "_$domainsMoveCommitSerializer", "$get$_$domainsMoveCommitSerializer", function() { + return new U._$DomainsMoveCommitSerializer(); + }); + _lazyOld($, "_$dNAEndsMoveStartSerializer", "$get$_$dNAEndsMoveStartSerializer", function() { + return new U._$DNAEndsMoveStartSerializer(); + }); + _lazyOld($, "_$dNAEndsMoveSetSelectedEndsSerializer", "$get$_$dNAEndsMoveSetSelectedEndsSerializer", function() { + return new U._$DNAEndsMoveSetSelectedEndsSerializer(); + }); + _lazyOld($, "_$dNAEndsMoveAdjustOffsetSerializer", "$get$_$dNAEndsMoveAdjustOffsetSerializer", function() { + return new U._$DNAEndsMoveAdjustOffsetSerializer(); + }); + _lazyOld($, "_$dNAEndsMoveStopSerializer", "$get$_$dNAEndsMoveStopSerializer", function() { + return new U._$DNAEndsMoveStopSerializer(); + }); + _lazyOld($, "_$dNAEndsMoveCommitSerializer", "$get$_$dNAEndsMoveCommitSerializer", function() { + return new U._$DNAEndsMoveCommitSerializer(); + }); + _lazyOld($, "_$dNAExtensionsMoveStartSerializer", "$get$_$dNAExtensionsMoveStartSerializer", function() { + return new U._$DNAExtensionsMoveStartSerializer(); + }); + _lazyOld($, "_$dNAExtensionsMoveSetSelectedExtensionEndsSerializer", "$get$_$dNAExtensionsMoveSetSelectedExtensionEndsSerializer", function() { + return new U._$DNAExtensionsMoveSetSelectedExtensionEndsSerializer(); + }); + _lazyOld($, "_$dNAExtensionsMoveAdjustPositionSerializer", "$get$_$dNAExtensionsMoveAdjustPositionSerializer", function() { + return new U._$DNAExtensionsMoveAdjustPositionSerializer(); + }); + _lazyOld($, "_$dNAExtensionsMoveStopSerializer", "$get$_$dNAExtensionsMoveStopSerializer", function() { + return new U._$DNAExtensionsMoveStopSerializer(); + }); + _lazyOld($, "_$dNAExtensionsMoveCommitSerializer", "$get$_$dNAExtensionsMoveCommitSerializer", function() { + return new U._$DNAExtensionsMoveCommitSerializer(); + }); + _lazyOld($, "_$helixGroupMoveStartSerializer", "$get$_$helixGroupMoveStartSerializer", function() { + return new U._$HelixGroupMoveStartSerializer(); + }); + _lazyOld($, "_$helixGroupMoveCreateSerializer", "$get$_$helixGroupMoveCreateSerializer", function() { + return new U._$HelixGroupMoveCreateSerializer(); + }); + _lazyOld($, "_$helixGroupMoveAdjustTranslationSerializer", "$get$_$helixGroupMoveAdjustTranslationSerializer", function() { + return new U._$HelixGroupMoveAdjustTranslationSerializer(); + }); + _lazyOld($, "_$helixGroupMoveStopSerializer", "$get$_$helixGroupMoveStopSerializer", function() { + return new U._$HelixGroupMoveStopSerializer(); + }); + _lazyOld($, "_$helixGroupMoveCommitSerializer", "$get$_$helixGroupMoveCommitSerializer", function() { + return new U._$HelixGroupMoveCommitSerializer(); + }); + _lazyOld($, "_$assignDNASerializer", "$get$_$assignDNASerializer", function() { + return new U._$AssignDNASerializer(); + }); + _lazyOld($, "_$assignDNAComplementFromBoundStrandsSerializer", "$get$_$assignDNAComplementFromBoundStrandsSerializer", function() { + return new U._$AssignDNAComplementFromBoundStrandsSerializer(); + }); + _lazyOld($, "_$assignDomainNameComplementFromBoundStrandsSerializer", "$get$_$assignDomainNameComplementFromBoundStrandsSerializer", function() { + return new U._$AssignDomainNameComplementFromBoundStrandsSerializer(); + }); + _lazyOld($, "_$assignDomainNameComplementFromBoundDomainsSerializer", "$get$_$assignDomainNameComplementFromBoundDomainsSerializer", function() { + return new U._$AssignDomainNameComplementFromBoundDomainsSerializer(); + }); + _lazyOld($, "_$removeDNASerializer", "$get$_$removeDNASerializer", function() { + return new U._$RemoveDNASerializer(); + }); + _lazyOld($, "_$insertionAddSerializer", "$get$_$insertionAddSerializer", function() { + return new U._$InsertionAddSerializer(); + }); + _lazyOld($, "_$insertionLengthChangeSerializer", "$get$_$insertionLengthChangeSerializer", function() { + return new U._$InsertionLengthChangeSerializer(); + }); + _lazyOld($, "_$insertionsLengthChangeSerializer", "$get$_$insertionsLengthChangeSerializer", function() { + return new U._$InsertionsLengthChangeSerializer(); + }); + _lazyOld($, "_$deletionAddSerializer", "$get$_$deletionAddSerializer", function() { + return new U._$DeletionAddSerializer(); + }); + _lazyOld($, "_$insertionRemoveSerializer", "$get$_$insertionRemoveSerializer", function() { + return new U._$InsertionRemoveSerializer(); + }); + _lazyOld($, "_$deletionRemoveSerializer", "$get$_$deletionRemoveSerializer", function() { + return new U._$DeletionRemoveSerializer(); + }); + _lazyOld($, "_$scalePurificationVendorFieldsAssignSerializer", "$get$_$scalePurificationVendorFieldsAssignSerializer", function() { + return new U._$ScalePurificationVendorFieldsAssignSerializer(); + }); + _lazyOld($, "_$plateWellVendorFieldsAssignSerializer", "$get$_$plateWellVendorFieldsAssignSerializer", function() { + return new U._$PlateWellVendorFieldsAssignSerializer(); + }); + _lazyOld($, "_$plateWellVendorFieldsRemoveSerializer", "$get$_$plateWellVendorFieldsRemoveSerializer", function() { + return new U._$PlateWellVendorFieldsRemoveSerializer(); + }); + _lazyOld($, "_$vendorFieldsRemoveSerializer", "$get$_$vendorFieldsRemoveSerializer", function() { + return new U._$VendorFieldsRemoveSerializer(); + }); + _lazyOld($, "_$modificationAddSerializer", "$get$_$modificationAddSerializer", function() { + return new U._$ModificationAddSerializer(); + }); + _lazyOld($, "_$modificationRemoveSerializer", "$get$_$modificationRemoveSerializer", function() { + return new U._$ModificationRemoveSerializer(); + }); + _lazyOld($, "_$modificationConnectorLengthSetSerializer", "$get$_$modificationConnectorLengthSetSerializer", function() { + return new U._$ModificationConnectorLengthSetSerializer(); + }); + _lazyOld($, "_$modificationEditSerializer", "$get$_$modificationEditSerializer", function() { + return new U._$ModificationEditSerializer(); + }); + _lazyOld($, "_$modifications5PrimeEditSerializer", "$get$_$modifications5PrimeEditSerializer", function() { + return new U._$Modifications5PrimeEditSerializer(); + }); + _lazyOld($, "_$modifications3PrimeEditSerializer", "$get$_$modifications3PrimeEditSerializer", function() { + return new U._$Modifications3PrimeEditSerializer(); + }); + _lazyOld($, "_$modificationsInternalEditSerializer", "$get$_$modificationsInternalEditSerializer", function() { + return new U._$ModificationsInternalEditSerializer(); + }); + _lazyOld($, "_$gridChangeSerializer", "$get$_$gridChangeSerializer", function() { + return new U._$GridChangeSerializer(); + }); + _lazyOld($, "_$groupDisplayedChangeSerializer", "$get$_$groupDisplayedChangeSerializer", function() { + return new U._$GroupDisplayedChangeSerializer(); + }); + _lazyOld($, "_$groupAddSerializer", "$get$_$groupAddSerializer", function() { + return new U._$GroupAddSerializer(); + }); + _lazyOld($, "_$groupRemoveSerializer", "$get$_$groupRemoveSerializer", function() { + return new U._$GroupRemoveSerializer(); + }); + _lazyOld($, "_$groupChangeSerializer", "$get$_$groupChangeSerializer", function() { + return new U._$GroupChangeSerializer(); + }); + _lazyOld($, "_$moveHelicesToGroupSerializer", "$get$_$moveHelicesToGroupSerializer", function() { + return new U._$MoveHelicesToGroupSerializer(); + }); + _lazyOld($, "_$dialogShowSerializer", "$get$_$dialogShowSerializer", function() { + return new U._$DialogShowSerializer(); + }); + _lazyOld($, "_$dialogHideSerializer", "$get$_$dialogHideSerializer", function() { + return new U._$DialogHideSerializer(); + }); + _lazyOld($, "_$contextMenuShowSerializer", "$get$_$contextMenuShowSerializer", function() { + return new U._$ContextMenuShowSerializer(); + }); + _lazyOld($, "_$contextMenuHideSerializer", "$get$_$contextMenuHideSerializer", function() { + return new U._$ContextMenuHideSerializer(); + }); + _lazyOld($, "_$strandOrSubstrandColorPickerShowSerializer", "$get$_$strandOrSubstrandColorPickerShowSerializer", function() { + return new U._$StrandOrSubstrandColorPickerShowSerializer(); + }); + _lazyOld($, "_$strandOrSubstrandColorPickerHideSerializer", "$get$_$strandOrSubstrandColorPickerHideSerializer", function() { + return new U._$StrandOrSubstrandColorPickerHideSerializer(); + }); + _lazyOld($, "_$scaffoldSetSerializer", "$get$_$scaffoldSetSerializer", function() { + return new U._$ScaffoldSetSerializer(); + }); + _lazyOld($, "_$strandOrSubstrandColorSetSerializer", "$get$_$strandOrSubstrandColorSetSerializer", function() { + return new U._$StrandOrSubstrandColorSetSerializer(); + }); + _lazyOld($, "_$strandPasteKeepColorSetSerializer", "$get$_$strandPasteKeepColorSetSerializer", function() { + return new U._$StrandPasteKeepColorSetSerializer(); + }); + _lazyOld($, "_$exampleDesignsLoadSerializer", "$get$_$exampleDesignsLoadSerializer", function() { + return new U._$ExampleDesignsLoadSerializer(); + }); + _lazyOld($, "_$basePairTypeSetSerializer", "$get$_$basePairTypeSetSerializer", function() { + return new U._$BasePairTypeSetSerializer(); + }); + _lazyOld($, "_$helixPositionSetSerializer", "$get$_$helixPositionSetSerializer", function() { + return new U._$HelixPositionSetSerializer(); + }); + _lazyOld($, "_$helixGridPositionSetSerializer", "$get$_$helixGridPositionSetSerializer", function() { + return new U._$HelixGridPositionSetSerializer(); + }); + _lazyOld($, "_$helicesPositionsSetBasedOnCrossoversSerializer", "$get$_$helicesPositionsSetBasedOnCrossoversSerializer", function() { + return new U._$HelicesPositionsSetBasedOnCrossoversSerializer(); + }); + _lazyOld($, "_$inlineInsertionsDeletionsSerializer", "$get$_$inlineInsertionsDeletionsSerializer", function() { + return new U._$InlineInsertionsDeletionsSerializer(); + }); + _lazyOld($, "_$defaultCrossoverTypeForSettingHelixRollsSetSerializer", "$get$_$defaultCrossoverTypeForSettingHelixRollsSetSerializer", function() { + return new U._$DefaultCrossoverTypeForSettingHelixRollsSetSerializer(); + }); + _lazyOld($, "_$autofitSetSerializer", "$get$_$autofitSetSerializer", function() { + return new U._$AutofitSetSerializer(); + }); + _lazyOld($, "_$showHelixCirclesMainViewSetSerializer", "$get$_$showHelixCirclesMainViewSetSerializer", function() { + return new U._$ShowHelixCirclesMainViewSetSerializer(); + }); + _lazyOld($, "_$showHelixComponentsMainViewSetSerializer", "$get$_$showHelixComponentsMainViewSetSerializer", function() { + return new U._$ShowHelixComponentsMainViewSetSerializer(); + }); + _lazyOld($, "_$showEditMenuToggleSerializer", "$get$_$showEditMenuToggleSerializer", function() { + return new U._$ShowEditMenuToggleSerializer(); + }); + _lazyOld($, "_$showGridCoordinatesSideViewSetSerializer", "$get$_$showGridCoordinatesSideViewSetSerializer", function() { + return new U._$ShowGridCoordinatesSideViewSetSerializer(); + }); + _lazyOld($, "_$showAxisArrowsSetSerializer", "$get$_$showAxisArrowsSetSerializer", function() { + return new U._$ShowAxisArrowsSetSerializer(); + }); + _lazyOld($, "_$showLoopoutExtensionLengthSetSerializer", "$get$_$showLoopoutExtensionLengthSetSerializer", function() { + return new U._$ShowLoopoutExtensionLengthSetSerializer(); + }); + _lazyOld($, "_$loadDnaSequenceImageUriSerializer", "$get$_$loadDnaSequenceImageUriSerializer", function() { + return new U._$LoadDnaSequenceImageUriSerializer(); + }); + _lazyOld($, "_$setIsZoomAboveThresholdSerializer", "$get$_$setIsZoomAboveThresholdSerializer", function() { + return new U._$SetIsZoomAboveThresholdSerializer(); + }); + _lazyOld($, "_$setExportSvgActionDelayedForPngCacheSerializer", "$get$_$setExportSvgActionDelayedForPngCacheSerializer", function() { + return new U._$SetExportSvgActionDelayedForPngCacheSerializer(); + }); + _lazyOld($, "_$showBasePairLinesSetSerializer", "$get$_$showBasePairLinesSetSerializer", function() { + return new U._$ShowBasePairLinesSetSerializer(); + }); + _lazyOld($, "_$showBasePairLinesWithMismatchesSetSerializer", "$get$_$showBasePairLinesWithMismatchesSetSerializer", function() { + return new U._$ShowBasePairLinesWithMismatchesSetSerializer(); + }); + _lazyOld($, "_$showSliceBarSetSerializer", "$get$_$showSliceBarSetSerializer", function() { + return new U._$ShowSliceBarSetSerializer(); + }); + _lazyOld($, "_$sliceBarOffsetSetSerializer", "$get$_$sliceBarOffsetSetSerializer", function() { + return new U._$SliceBarOffsetSetSerializer(); + }); + _lazyOld($, "_$disablePngCachingDnaSequencesSetSerializer", "$get$_$disablePngCachingDnaSequencesSetSerializer", function() { + return new U._$DisablePngCachingDnaSequencesSetSerializer(); + }); + _lazyOld($, "_$retainStrandColorOnSelectionSetSerializer", "$get$_$retainStrandColorOnSelectionSetSerializer", function() { + return new U._$RetainStrandColorOnSelectionSetSerializer(); + }); + _lazyOld($, "_$displayReverseDNARightSideUpSetSerializer", "$get$_$displayReverseDNARightSideUpSetSerializer", function() { + return new U._$DisplayReverseDNARightSideUpSetSerializer(); + }); + _lazyOld($, "_$sliceBarMoveStartSerializer", "$get$_$sliceBarMoveStartSerializer", function() { + return new U._$SliceBarMoveStartSerializer(); + }); + _lazyOld($, "_$sliceBarMoveStopSerializer", "$get$_$sliceBarMoveStopSerializer", function() { + return new U._$SliceBarMoveStopSerializer(); + }); + _lazyOld($, "_$autostapleSerializer", "$get$_$autostapleSerializer", function() { + return new U._$AutostapleSerializer(); + }); + _lazyOld($, "_$autobreakSerializer", "$get$_$autobreakSerializer", function() { + return new U._$AutobreakSerializer(); + }); + _lazyOld($, "_$zoomSpeedSetSerializer", "$get$_$zoomSpeedSetSerializer", function() { + return new U._$ZoomSpeedSetSerializer(); + }); + _lazyOld($, "_$oxdnaExportSerializer", "$get$_$oxdnaExportSerializer", function() { + return new U._$OxdnaExportSerializer(); + }); + _lazyOld($, "_$oxviewExportSerializer", "$get$_$oxviewExportSerializer", function() { + return new U._$OxviewExportSerializer(); + }); + _lazyOld($, "_$oxExportOnlySelectedStrandsSetSerializer", "$get$_$oxExportOnlySelectedStrandsSetSerializer", function() { + return new U._$OxExportOnlySelectedStrandsSetSerializer(); + }); + _lazyOld($, "scadnano_versions_to_link", "$get$scadnano_versions_to_link", function() { + return C.JSArray_methods.$add(H.setRuntimeTypeInfo(["0.19.4"], type$.JSArray_legacy_String), $.scadnano_older_versions_to_link); + }); + _lazyOld($, "KEY_CODE_COMMAND_MAC", "$get$KEY_CODE_COMMAND_MAC", function() { + return G.browser().get$isFirefox() ? 224 : 91; + }); + _lazyOld($, "KEY_CODE_TOGGLE_SELECT_MAC", "$get$KEY_CODE_TOGGLE_SELECT_MAC", function() { + return $.$get$KEY_CODE_COMMAND_MAC(); + }); + _lazyOld($, "default_geometry", "$get$default_geometry", function() { + return N.Geometry_Geometry(10.5, 1, 1, 150, 0.332); + }); + _lazyOld($, "all_scadnano_file_extensions", "$get$all_scadnano_file_extensions", function() { + return C.JSArray_methods.$add(H.setRuntimeTypeInfo(["sc"], type$.JSArray_legacy_String), C.List_dna_json); + }); + _lazyOld($, "color_forward_rotation_arrow_no_strand", "$get$color_forward_rotation_arrow_no_strand", function() { + return S.RgbColor$(0, 0, 0); + }); + _lazyOld($, "default_scaffold_color", "$get$default_scaffold_color", function() { + return S.RgbColor$(0, 102, 204); + }); + _lazyOld($, "default_cadnano_strand_color", "$get$default_cadnano_strand_color", function() { + return S.HexColor_HexColor("#BFBFBF"); + }); + _lazyOld($, "design_keys", "$get$design_keys", function() { + return C.JSArray_methods.$add(H.setRuntimeTypeInfo(["version", "grid", "helices", "helices_view_order", "potential_helices", "strands", "modifications_in_design", "modifications_5p_in_design", "modifications_3p_in_design", "modifications_int_in_design", "groups"], type$.JSArray_legacy_String), C.List_parameters); + }); + _lazyOld($, "geometry_keys", "$get$geometry_keys", function() { + return C.JSArray_methods.$add(C.JSArray_methods.$add(H.setRuntimeTypeInfo(["rise_per_base_pair", "helix_radius", "bases_per_turn", "minor_groove_angle", "inter_helix_gap"], type$.JSArray_legacy_String), C.List_groove_angle), C.List_z_step); + }); + _lazyOld($, "helix_keys", "$get$helix_keys", function() { + return C.JSArray_methods.$add(H.setRuntimeTypeInfo(["idx", "max_offset", "min_offset", "roll", "pitch", "yaw", "grid_position", "svg_position", "position", "major_ticks", "major_tick_distance", "major_tick_start", "major_tick_periodic_distances", "group"], type$.JSArray_legacy_String), C.List_origin); + }); + _lazyOld($, "strand_keys", "$get$strand_keys", function() { + return C.JSArray_methods.$add(C.JSArray_methods.$add(C.JSArray_methods.$add(H.setRuntimeTypeInfo(["color", "sequence", "vendor_fields", "is_scaffold", "domains", "5prime_modification", "3prime_modification", "internal_modifications", "label", "name"], type$.JSArray_legacy_String), C.List_dna_sequence), C.List_idt), C.List_substrands); + }); + _lazyOld($, "modification_keys", "$get$modification_keys", function() { + return C.JSArray_methods.$add(H.setRuntimeTypeInfo(["location", "display_text", "vendor_code", "allowed_bases", "connector_length"], type$.JSArray_legacy_String), C.List_idt_text); + }); + _lazyOld($, "domain_keys", "$get$domain_keys", function() { + return C.JSArray_methods.$add(H.setRuntimeTypeInfo(["helix", "forward", "start", "end", "deletions", "insertions", "label", "name", "color"], type$.JSArray_legacy_String), C.List_right); + }); + _lazyOld($, "_$dNAFileTypeSerializer", "$get$_$dNAFileTypeSerializer", function() { + return new F._$DNAFileTypeSerializer(); + }); + _lazyOld($, "_m13_p7249", "$get$_m13_p7249", function() { + return C.JSString_methods.replaceAll$2("AATGCTACTACTATTAGTAGAATTGATGCCACCTTTTCAGCTCGCGCCCCAAATGAAAATATAGCTAAACAGGTTATTGACCATTTGCGAAATGTATCTA\nATGGTCAAACTAAATCTACTCGTTCGCAGAATTGGGAATCAACTGTTATATGGAATGAAACTTCCAGACACCGTACTTTAGTTGCATATTTAAAACATGT\nTGAGCTACAGCATTATATTCAGCAATTAAGCTCTAAGCCATCCGCAAAAATGACCTCTTATCAAAAGGAGCAATTAAAGGTACTCTCTAATCCTGACCTG\nTTGGAGTTTGCTTCCGGTCTGGTTCGCTTTGAAGCTCGAATTAAAACGCGATATTTGAAGTCTTTCGGGCTTCCTCTTAATCTTTTTGATGCAATCCGCT\nTTGCTTCTGACTATAATAGTCAGGGTAAAGACCTGATTTTTGATTTATGGTCATTCTCGTTTTCTGAACTGTTTAAAGCATTTGAGGGGGATTCAATGAA\nTATTTATGACGATTCCGCAGTATTGGACGCTATCCAGTCTAAACATTTTACTATTACCCCCTCTGGCAAAACTTCTTTTGCAAAAGCCTCTCGCTATTTT\nGGTTTTTATCGTCGTCTGGTAAACGAGGGTTATGATAGTGTTGCTCTTACTATGCCTCGTAATTCCTTTTGGCGTTATGTATCTGCATTAGTTGAATGTG\nGTATTCCTAAATCTCAACTGATGAATCTTTCTACCTGTAATAATGTTGTTCCGTTAGTTCGTTTTATTAACGTAGATTTTTCTTCCCAACGTCCTGACTG\nGTATAATGAGCCAGTTCTTAAAATCGCATAAGGTAATTCACAATGATTAAAGTTGAAATTAAACCATCTCAAGCCCAATTTACTACTCGTTCTGGTGTTT\nCTCGTCAGGGCAAGCCTTATTCACTGAATGAGCAGCTTTGTTACGTTGATTTGGGTAATGAATATCCGGTTCTTGTCAAGATTACTCTTGATGAAGGTCA\nGCCAGCCTATGCGCCTGGTCTGTACACCGTTCATCTGTCCTCTTTCAAAGTTGGTCAGTTCGGTTCCCTTATGATTGACCGTCTGCGCCTCGTTCCGGCT\nAAGTAACATGGAGCAGGTCGCGGATTTCGACACAATTTATCAGGCGATGATACAAATCTCCGTTGTACTTTGTTTCGCGCTTGGTATAATCGCTGGGGGT\nCAAAGATGAGTGTTTTAGTGTATTCTTTTGCCTCTTTCGTTTTAGGTTGGTGCCTTCGTAGTGGCATTACGTATTTTACCCGTTTAATGGAAACTTCCTC\nATGAAAAAGTCTTTAGTCCTCAAAGCCTCTGTAGCCGTTGCTACCCTCGTTCCGATGCTGTCTTTCGCTGCTGAGGGTGACGATCCCGCAAAAGCGGCCT\nTTAACTCCCTGCAAGCCTCAGCGACCGAATATATCGGTTATGCGTGGGCGATGGTTGTTGTCATTGTCGGCGCAACTATCGGTATCAAGCTGTTTAAGAA\nATTCACCTCGAAAGCAAGCTGATAAACCGATACAATTAAAGGCTCCTTTTGGAGCCTTTTTTTTGGAGATTTTCAACGTGAAAAAATTATTATTCGCAAT\nTCCTTTAGTTGTTCCTTTCTATTCTCACTCCGCTGAAACTGTTGAAAGTTGTTTAGCAAAATCCCATACAGAAAATTCATTTACTAACGTCTGGAAAGAC\nGACAAAACTTTAGATCGTTACGCTAACTATGAGGGCTGTCTGTGGAATGCTACAGGCGTTGTAGTTTGTACTGGTGACGAAACTCAGTGTTACGGTACAT\nGGGTTCCTATTGGGCTTGCTATCCCTGAAAATGAGGGTGGTGGCTCTGAGGGTGGCGGTTCTGAGGGTGGCGGTTCTGAGGGTGGCGGTACTAAACCTCC\nTGAGTACGGTGATACACCTATTCCGGGCTATACTTATATCAACCCTCTCGACGGCACTTATCCGCCTGGTACTGAGCAAAACCCCGCTAATCCTAATCCT\nTCTCTTGAGGAGTCTCAGCCTCTTAATACTTTCATGTTTCAGAATAATAGGTTCCGAAATAGGCAGGGGGCATTAACTGTTTATACGGGCACTGTTACTC\nAAGGCACTGACCCCGTTAAAACTTATTACCAGTACACTCCTGTATCATCAAAAGCCATGTATGACGCTTACTGGAACGGTAAATTCAGAGACTGCGCTTT\nCCATTCTGGCTTTAATGAGGATTTATTTGTTTGTGAATATCAAGGCCAATCGTCTGACCTGCCTCAACCTCCTGTCAATGCTGGCGGCGGCTCTGGTGGT\nGGTTCTGGTGGCGGCTCTGAGGGTGGTGGCTCTGAGGGTGGCGGTTCTGAGGGTGGCGGCTCTGAGGGAGGCGGTTCCGGTGGTGGCTCTGGTTCCGGTG\nATTTTGATTATGAAAAGATGGCAAACGCTAATAAGGGGGCTATGACCGAAAATGCCGATGAAAACGCGCTACAGTCTGACGCTAAAGGCAAACTTGATTC\nTGTCGCTACTGATTACGGTGCTGCTATCGATGGTTTCATTGGTGACGTTTCCGGCCTTGCTAATGGTAATGGTGCTACTGGTGATTTTGCTGGCTCTAAT\nTCCCAAATGGCTCAAGTCGGTGACGGTGATAATTCACCTTTAATGAATAATTTCCGTCAATATTTACCTTCCCTCCCTCAATCGGTTGAATGTCGCCCTT\nTTGTCTTTGGCGCTGGTAAACCATATGAATTTTCTATTGATTGTGACAAAATAAACTTATTCCGTGGTGTCTTTGCGTTTCTTTTATATGTTGCCACCTT\nTATGTATGTATTTTCTACGTTTGCTAACATACTGCGTAATAAGGAGTCTTAATCATGCCAGTTCTTTTGGGTATTCCGTTATTATTGCGTTTCCTCGGTT\nTCCTTCTGGTAACTTTGTTCGGCTATCTGCTTACTTTTCTTAAAAAGGGCTTCGGTAAGATAGCTATTGCTATTTCATTGTTTCTTGCTCTTATTATTGG\nGCTTAACTCAATTCTTGTGGGTTATCTCTCTGATATTAGCGCTCAATTACCCTCTGACTTTGTTCAGGGTGTTCAGTTAATTCTCCCGTCTAATGCGCTT\nCCCTGTTTTTATGTTATTCTCTCTGTAAAGGCTGCTATTTTCATTTTTGACGTTAAACAAAAAATCGTTTCTTATTTGGATTGGGATAAATAATATGGCT\nGTTTATTTTGTAACTGGCAAATTAGGCTCTGGAAAGACGCTCGTTAGCGTTGGTAAGATTCAGGATAAAATTGTAGCTGGGTGCAAAATAGCAACTAATC\nTTGATTTAAGGCTTCAAAACCTCCCGCAAGTCGGGAGGTTCGCTAAAACGCCTCGCGTTCTTAGAATACCGGATAAGCCTTCTATATCTGATTTGCTTGC\nTATTGGGCGCGGTAATGATTCCTACGATGAAAATAAAAACGGCTTGCTTGTTCTCGATGAGTGCGGTACTTGGTTTAATACCCGTTCTTGGAATGATAAG\nGAAAGACAGCCGATTATTGATTGGTTTCTACATGCTCGTAAATTAGGATGGGATATTATTTTTCTTGTTCAGGACTTATCTATTGTTGATAAACAGGCGC\nGTTCTGCATTAGCTGAACATGTTGTTTATTGTCGTCGTCTGGACAGAATTACTTTACCTTTTGTCGGTACTTTATATTCTCTTATTACTGGCTCGAAAAT\nGCCTCTGCCTAAATTACATGTTGGCGTTGTTAAATATGGCGATTCTCAATTAAGCCCTACTGTTGAGCGTTGGCTTTATACTGGTAAGAATTTGTATAAC\nGCATATGATACTAAACAGGCTTTTTCTAGTAATTATGATTCCGGTGTTTATTCTTATTTAACGCCTTATTTATCACACGGTCGGTATTTCAAACCATTAA\nATTTAGGTCAGAAGATGAAATTAACTAAAATATATTTGAAAAAGTTTTCTCGCGTTCTTTGTCTTGCGATTGGATTTGCATCAGCATTTACATATAGTTA\nTATAACCCAACCTAAGCCGGAGGTTAAAAAGGTAGTCTCTCAGACCTATGATTTTGATAAATTCACTATTGACTCTTCTCAGCGTCTTAATCTAAGCTAT\nCGCTATGTTTTCAAGGATTCTAAGGGAAAATTAATTAATAGCGACGATTTACAGAAGCAAGGTTATTCACTCACATATATTGATTTATGTACTGTTTCCA\nTTAAAAAAGGTAATTCAAATGAAATTGTTAAATGTAATTAATTTTGTTTTCTTGATGTTTGTTTCATCATCTTCTTTTGCTCAGGTAATTGAAATGAATA\nATTCGCCTCTGCGCGATTTTGTAACTTGGTATTCAAAGCAATCAGGCGAATCCGTTATTGTTTCTCCCGATGTAAAAGGTACTGTTACTGTATATTCATC\nTGACGTTAAACCTGAAAATCTACGCAATTTCTTTATTTCTGTTTTACGTGCAAATAATTTTGATATGGTAGGTTCTAACCCTTCCATTATTCAGAAGTAT\nAATCCAAACAATCAGGATTATATTGATGAATTGCCATCATCTGATAATCAGGAATATGATGATAATTCCGCTCCTTCTGGTGGTTTCTTTGTTCCGCAAA\nATGATAATGTTACTCAAACTTTTAAAATTAATAACGTTCGGGCAAAGGATTTAATACGAGTTGTCGAATTGTTTGTAAAGTCTAATACTTCTAAATCCTC\nAAATGTATTATCTATTGACGGCTCTAATCTATTAGTTGTTAGTGCTCCTAAAGATATTTTAGATAACCTTCCTCAATTCCTTTCAACTGTTGATTTGCCA\nACTGACCAGATATTGATTGAGGGTTTGATATTTGAGGTTCAGCAAGGTGATGCTTTAGATTTTTCATTTGCTGCTGGCTCTCAGCGTGGCACTGTTGCAG\nGCGGTGTTAATACTGACCGCCTCACCTCTGTTTTATCTTCTGCTGGTGGTTCGTTCGGTATTTTTAATGGCGATGTTTTAGGGCTATCAGTTCGCGCATT\nAAAGACTAATAGCCATTCAAAAATATTGTCTGTGCCACGTATTCTTACGCTTTCAGGTCAGAAGGGTTCTATCTCTGTTGGCCAGAATGTCCCTTTTATT\nACTGGTCGTGTGACTGGTGAATCTGCCAATGTAAATAATCCATTTCAGACGATTGAGCGTCAAAATGTAGGTATTTCCATGAGCGTTTTTCCTGTTGCAA\nTGGCTGGCGGTAATATTGTTCTGGATATTACCAGCAAGGCCGATAGTTTGAGTTCTTCTACTCAGGCAAGTGATGTTATTACTAATCAAAGAAGTATTGC\nTACAACGGTTAATTTGCGTGATGGACAGACTCTTTTACTCGGTGGCCTCACTGATTATAAAAACACTTCTCAGGATTCTGGCGTACCGTTCCTGTCTAAA\nATCCCTTTAATCGGCCTCCTGTTTAGCTCCCGCTCTGATTCTAACGAGGAAAGCACGTTATACGTGCTCGTCAAAGCAACCATAGTACGCGCCCTGTAGC\nGGCGCATTAAGCGCGGCGGGTGTGGTGGTTACGCGCAGCGTGACCGCTACACTTGCCAGCGCCCTAGCGCCCGCTCCTTTCGCTTTCTTCCCTTCCTTTC\nTCGCCACGTTCGCCGGCTTTCCCCGTCAAGCTCTAAATCGGGGGCTCCCTTTAGGGTTCCGATTTAGTGCTTTACGGCACCTCGACCCCAAAAAACTTGA\nTTTGGGTGATGGTTCACGTAGTGGGCCATCGCCCTGATAGACGGTTTTTCGCCCTTTGACGTTGGAGTCCACGTTCTTTAATAGTGGACTCTTGTTCCAA\nACTGGAACAACACTCAACCCTATCTCGGGCTATTCTTTTGATTTATAAGGGATTTTGCCGATTTCGGAACCACCATCAAACAGGATTTTCGCCTGCTGGG\nGCAAACCAGCGTGGACCGCTTGCTGCAACTCTCTCAGGGCCAGGCGGTGAAGGGCAATCAGCTGTTGCCCGTCTCACTGGTGAAAAGAAAAACCACCCTG\nGCGCCCAATACGCAAACCGCCTCTCCCCGCGCGTTGGCCGATTCATTAATGCAGCTGGCACGACAGGTTTCCCGACTGGAAAGCGGGCAGTGAGCGCAAC\nGCAATTAATGTGAGTTAGCTCACTCATTAGGCACCCCAGGCTTTACACTTTATGCTTCCGGCTCGTATGTTGTGTGGAATTGTGAGCGGATAACAATTTC\nACACAGGAAACAGCTATGACCATGATTACGAATTCGAGCTCGGTACCCGGGGATCCTCTAGAGTCGACCTGCAGGCATGCAAGCTTGGCACTGGCCGTCG\nTTTTACAACGTCGTGACTGGGAAAACCCTGGCGTTACCCAACTTAATCGCCTTGCAGCACATCCCCCTTTCGCCAGCTGGCGTAATAGCGAAGAGGCCCG\nCACCGATCGCCCTTCCCAACAGTTGCGCAGCCTGAATGGCGAATGGCGCTTTGCCTGGTTTCCGGCACCAGAAGCGGTGCCGGAAAGCTGGCTGGAGTGC\nGATCTTCCTGAGGCCGATACTGTCGTCGTCCCCTCAAACTGGCAGATGCACGGTTACGATGCGCCCATCTACACCAACGTGACCTATCCCATTACGGTCA\nATCCGCCGTTTGTTCCCACGGAGAATCCGACGGGTTGTTACTCGCTCACATTTAATGTTGATGAAAGCTGGCTACAGGAAGGCCAGACGCGAATTATTTT\nTGATGGCGTTCCTATTGGTTAAAAAATGAGCTGATTTAACAAAAATTTAATGCGAATTTTAACAAAATATTAACGTTTACAATTTAAATATTTGCTTATA\nCAATCTTCCTGTTTTTGGGGCTTTTCTGATTATCAACCGGGGTACATATGATTGACATGCTAGTTTTACGATTACCGTTCATCGATTCTCTTGTTTGCTC\nCAGACTCTCAGGCAATGACCTGATAGCCTTTGTAGATCTCTCAAAAATAGCTACCCTCTCCGGCATTAATTTATCAGCTAGAACGGTTGAATATCATATT\nGATGGTGATTTGACTGTCTCCGGCCTTTCTCACCCTTTTGAATCTTTACCTACACATTACTCAGGCATTGCATTTAAAATATATGAGGGTTCTAAAAATT\nTTTATCCTTGCGTTGAAATAAAGGCTTCTCCCGCAAAAGTATTACAGGGTCATAATGTTTTTGGTACAACCGATTTAGCTTTATGCTCTGAGGCTTTATT\nGCTTAATTTTGCTAATTCTTTGCCTTGCCTGTATGATTTATTGGATGTT\n", P.RegExp_RegExp("\\s", true), ""); + }); + _lazyOld($, "_m13_p7560", "$get$_m13_p7560", function() { + return C.JSString_methods.replaceAll$2("AGCTTGGCACTGGCCGTCGTTTTACAACGTCGTGACTGGGAAAACCCTGGCGTTACCCAACTTAATCGCCTTGCAGCACATCCCCCTTTCGCCAGCTGGC\nGTAATAGCGAAGAGGCCCGCACCGATCGCCCTTCCCAACAGTTGCGCAGCCTGAATGGCGAATGGCGCTTTGCCTGGTTTCCGGCACCAGAAGCGGTGCC\nGGAAAGCTGGCTGGAGTGCGATCTTCCTGAGGCCGATACTGTCGTCGTCCCCTCAAACTGGCAGATGCACGGTTACGATGCGCCCATCTACACCAACGTG\nACCTATCCCATTACGGTCAATCCGCCGTTTGTTCCCACGGAGAATCCGACGGGTTGTTACTCGCTCACATTTAATGTTGATGAAAGCTGGCTACAGGAAG\nGCCAGACGCGAATTATTTTTGATGGCGTTCCTATTGGTTAAAAAATGAGCTGATTTAACAAAAATTTAATGCGAATTTTAACAAAATATTAACGTTTACA\nATTTAAATATTTGCTTATACAATCTTCCTGTTTTTGGGGCTTTTCTGATTATCAACCGGGGTACATATGATTGACATGCTAGTTTTACGATTACCGTTCA\nTCGATTCTCTTGTTTGCTCCAGACTCTCAGGCAATGACCTGATAGCCTTTGTAGATCTCTCAAAAATAGCTACCCTCTCCGGCATTAATTTATCAGCTAG\nAACGGTTGAATATCATATTGATGGTGATTTGACTGTCTCCGGCCTTTCTCACCCTTTTGAATCTTTACCTACACATTACTCAGGCATTGCATTTAAAATA\nTATGAGGGTTCTAAAAATTTTTATCCTTGCGTTGAAATAAAGGCTTCTCCCGCAAAAGTATTACAGGGTCATAATGTTTTTGGTACAACCGATTTAGCTT\nTATGCTCTGAGGCTTTATTGCTTAATTTTGCTAATTCTTTGCCTTGCCTGTATGATTTATTGGATGTTAATGCTACTACTATTAGTAGAATTGATGCCAC\nCTTTTCAGCTCGCGCCCCAAATGAAAATATAGCTAAACAGGTTATTGACCATTTGCGAAATGTATCTAATGGTCAAACTAAATCTACTCGTTCGCAGAAT\nTGGGAATCAACTGTTATATGGAATGAAACTTCCAGACACCGTACTTTAGTTGCATATTTAAAACATGTTGAGCTACAGCATTATATTCAGCAATTAAGCT\nCTAAGCCATCCGCAAAAATGACCTCTTATCAAAAGGAGCAATTAAAGGTACTCTCTAATCCTGACCTGTTGGAGTTTGCTTCCGGTCTGGTTCGCTTTGA\nAGCTCGAATTAAAACGCGATATTTGAAGTCTTTCGGGCTTCCTCTTAATCTTTTTGATGCAATCCGCTTTGCTTCTGACTATAATAGTCAGGGTAAAGAC\nCTGATTTTTGATTTATGGTCATTCTCGTTTTCTGAACTGTTTAAAGCATTTGAGGGGGATTCAATGAATATTTATGACGATTCCGCAGTATTGGACGCTA\nTCCAGTCTAAACATTTTACTATTACCCCCTCTGGCAAAACTTCTTTTGCAAAAGCCTCTCGCTATTTTGGTTTTTATCGTCGTCTGGTAAACGAGGGTTA\nTGATAGTGTTGCTCTTACTATGCCTCGTAATTCCTTTTGGCGTTATGTATCTGCATTAGTTGAATGTGGTATTCCTAAATCTCAACTGATGAATCTTTCT\nACCTGTAATAATGTTGTTCCGTTAGTTCGTTTTATTAACGTAGATTTTTCTTCCCAACGTCCTGACTGGTATAATGAGCCAGTTCTTAAAATCGCATAAG\nGTAATTCACAATGATTAAAGTTGAAATTAAACCATCTCAAGCCCAATTTACTACTCGTTCTGGTGTTTCTCGTCAGGGCAAGCCTTATTCACTGAATGAG\nCAGCTTTGTTACGTTGATTTGGGTAATGAATATCCGGTTCTTGTCAAGATTACTCTTGATGAAGGTCAGCCAGCCTATGCGCCTGGTCTGTACACCGTTC\nATCTGTCCTCTTTCAAAGTTGGTCAGTTCGGTTCCCTTATGATTGACCGTCTGCGCCTCGTTCCGGCTAAGTAACATGGAGCAGGTCGCGGATTTCGACA\nCAATTTATCAGGCGATGATACAAATCTCCGTTGTACTTTGTTTCGCGCTTGGTATAATCGCTGGGGGTCAAAGATGAGTGTTTTAGTGTATTCTTTTGCC\nTCTTTCGTTTTAGGTTGGTGCCTTCGTAGTGGCATTACGTATTTTACCCGTTTAATGGAAACTTCCTCATGAAAAAGTCTTTAGTCCTCAAAGCCTCTGT\nAGCCGTTGCTACCCTCGTTCCGATGCTGTCTTTCGCTGCTGAGGGTGACGATCCCGCAAAAGCGGCCTTTAACTCCCTGCAAGCCTCAGCGACCGAATAT\nATCGGTTATGCGTGGGCGATGGTTGTTGTCATTGTCGGCGCAACTATCGGTATCAAGCTGTTTAAGAAATTCACCTCGAAAGCAAGCTGATAAACCGATA\nCAATTAAAGGCTCCTTTTGGAGCCTTTTTTTTGGAGATTTTCAACGTGAAAAAATTATTATTCGCAATTCCTTTAGTTGTTCCTTTCTATTCTCACTCCG\nCTGAAACTGTTGAAAGTTGTTTAGCAAAATCCCATACAGAAAATTCATTTACTAACGTCTGGAAAGACGACAAAACTTTAGATCGTTACGCTAACTATGA\nGGGCTGTCTGTGGAATGCTACAGGCGTTGTAGTTTGTACTGGTGACGAAACTCAGTGTTACGGTACATGGGTTCCTATTGGGCTTGCTATCCCTGAAAAT\nGAGGGTGGTGGCTCTGAGGGTGGCGGTTCTGAGGGTGGCGGTTCTGAGGGTGGCGGTACTAAACCTCCTGAGTACGGTGATACACCTATTCCGGGCTATA\nCTTATATCAACCCTCTCGACGGCACTTATCCGCCTGGTACTGAGCAAAACCCCGCTAATCCTAATCCTTCTCTTGAGGAGTCTCAGCCTCTTAATACTTT\nCATGTTTCAGAATAATAGGTTCCGAAATAGGCAGGGGGCATTAACTGTTTATACGGGCACTGTTACTCAAGGCACTGACCCCGTTAAAACTTATTACCAG\nTACACTCCTGTATCATCAAAAGCCATGTATGACGCTTACTGGAACGGTAAATTCAGAGACTGCGCTTTCCATTCTGGCTTTAATGAGGATTTATTTGTTT\nGTGAATATCAAGGCCAATCGTCTGACCTGCCTCAACCTCCTGTCAATGCTGGCGGCGGCTCTGGTGGTGGTTCTGGTGGCGGCTCTGAGGGTGGTGGCTC\nTGAGGGTGGCGGTTCTGAGGGTGGCGGCTCTGAGGGAGGCGGTTCCGGTGGTGGCTCTGGTTCCGGTGATTTTGATTATGAAAAGATGGCAAACGCTAAT\nAAGGGGGCTATGACCGAAAATGCCGATGAAAACGCGCTACAGTCTGACGCTAAAGGCAAACTTGATTCTGTCGCTACTGATTACGGTGCTGCTATCGATG\nGTTTCATTGGTGACGTTTCCGGCCTTGCTAATGGTAATGGTGCTACTGGTGATTTTGCTGGCTCTAATTCCCAAATGGCTCAAGTCGGTGACGGTGATAA\nTTCACCTTTAATGAATAATTTCCGTCAATATTTACCTTCCCTCCCTCAATCGGTTGAATGTCGCCCTTTTGTCTTTGGCGCTGGTAAACCATATGAATTT\nTCTATTGATTGTGACAAAATAAACTTATTCCGTGGTGTCTTTGCGTTTCTTTTATATGTTGCCACCTTTATGTATGTATTTTCTACGTTTGCTAACATAC\nTGCGTAATAAGGAGTCTTAATCATGCCAGTTCTTTTGGGTATTCCGTTATTATTGCGTTTCCTCGGTTTCCTTCTGGTAACTTTGTTCGGCTATCTGCTT\nACTTTTCTTAAAAAGGGCTTCGGTAAGATAGCTATTGCTATTTCATTGTTTCTTGCTCTTATTATTGGGCTTAACTCAATTCTTGTGGGTTATCTCTCTG\nATATTAGCGCTCAATTACCCTCTGACTTTGTTCAGGGTGTTCAGTTAATTCTCCCGTCTAATGCGCTTCCCTGTTTTTATGTTATTCTCTCTGTAAAGGC\nTGCTATTTTCATTTTTGACGTTAAACAAAAAATCGTTTCTTATTTGGATTGGGATAAATAATATGGCTGTTTATTTTGTAACTGGCAAATTAGGCTCTGG\nAAAGACGCTCGTTAGCGTTGGTAAGATTCAGGATAAAATTGTAGCTGGGTGCAAAATAGCAACTAATCTTGATTTAAGGCTTCAAAACCTCCCGCAAGTC\nGGGAGGTTCGCTAAAACGCCTCGCGTTCTTAGAATACCGGATAAGCCTTCTATATCTGATTTGCTTGCTATTGGGCGCGGTAATGATTCCTACGATGAAA\nATAAAAACGGCTTGCTTGTTCTCGATGAGTGCGGTACTTGGTTTAATACCCGTTCTTGGAATGATAAGGAAAGACAGCCGATTATTGATTGGTTTCTACA\nTGCTCGTAAATTAGGATGGGATATTATTTTTCTTGTTCAGGACTTATCTATTGTTGATAAACAGGCGCGTTCTGCATTAGCTGAACATGTTGTTTATTGT\nCGTCGTCTGGACAGAATTACTTTACCTTTTGTCGGTACTTTATATTCTCTTATTACTGGCTCGAAAATGCCTCTGCCTAAATTACATGTTGGCGTTGTTA\nAATATGGCGATTCTCAATTAAGCCCTACTGTTGAGCGTTGGCTTTATACTGGTAAGAATTTGTATAACGCATATGATACTAAACAGGCTTTTTCTAGTAA\nTTATGATTCCGGTGTTTATTCTTATTTAACGCCTTATTTATCACACGGTCGGTATTTCAAACCATTAAATTTAGGTCAGAAGATGAAATTAACTAAAATA\nTATTTGAAAAAGTTTTCTCGCGTTCTTTGTCTTGCGATTGGATTTGCATCAGCATTTACATATAGTTATATAACCCAACCTAAGCCGGAGGTTAAAAAGG\nTAGTCTCTCAGACCTATGATTTTGATAAATTCACTATTGACTCTTCTCAGCGTCTTAATCTAAGCTATCGCTATGTTTTCAAGGATTCTAAGGGAAAATT\nAATTAATAGCGACGATTTACAGAAGCAAGGTTATTCACTCACATATATTGATTTATGTACTGTTTCCATTAAAAAAGGTAATTCAAATGAAATTGTTAAA\nTGTAATTAATTTTGTTTTCTTGATGTTTGTTTCATCATCTTCTTTTGCTCAGGTAATTGAAATGAATAATTCGCCTCTGCGCGATTTTGTAACTTGGTAT\nTCAAAGCAATCAGGCGAATCCGTTATTGTTTCTCCCGATGTAAAAGGTACTGTTACTGTATATTCATCTGACGTTAAACCTGAAAATCTACGCAATTTCT\nTTATTTCTGTTTTACGTGCAAATAATTTTGATATGGTAGGTTCTAACCCTTCCATTATTCAGAAGTATAATCCAAACAATCAGGATTATATTGATGAATT\nGCCATCATCTGATAATCAGGAATATGATGATAATTCCGCTCCTTCTGGTGGTTTCTTTGTTCCGCAAAATGATAATGTTACTCAAACTTTTAAAATTAAT\nAACGTTCGGGCAAAGGATTTAATACGAGTTGTCGAATTGTTTGTAAAGTCTAATACTTCTAAATCCTCAAATGTATTATCTATTGACGGCTCTAATCTAT\nTAGTTGTTAGTGCTCCTAAAGATATTTTAGATAACCTTCCTCAATTCCTTTCAACTGTTGATTTGCCAACTGACCAGATATTGATTGAGGGTTTGATATT\nTGAGGTTCAGCAAGGTGATGCTTTAGATTTTTCATTTGCTGCTGGCTCTCAGCGTGGCACTGTTGCAGGCGGTGTTAATACTGACCGCCTCACCTCTGTT\nTTATCTTCTGCTGGTGGTTCGTTCGGTATTTTTAATGGCGATGTTTTAGGGCTATCAGTTCGCGCATTAAAGACTAATAGCCATTCAAAAATATTGTCTG\nTGCCACGTATTCTTACGCTTTCAGGTCAGAAGGGTTCTATCTCTGTTGGCCAGAATGTCCCTTTTATTACTGGTCGTGTGACTGGTGAATCTGCCAATGT\nAAATAATCCATTTCAGACGATTGAGCGTCAAAATGTAGGTATTTCCATGAGCGTTTTTCCTGTTGCAATGGCTGGCGGTAATATTGTTCTGGATATTACC\nAGCAAGGCCGATAGTTTGAGTTCTTCTACTCAGGCAAGTGATGTTATTACTAATCAAAGAAGTATTGCTACAACGGTTAATTTGCGTGATGGACAGACTC\nTTTTACTCGGTGGCCTCACTGATTATAAAAACACTTCTCAGGATTCTGGCGTACCGTTCCTGTCTAAAATCCCTTTAATCGGCCTCCTGTTTAGCTCCCG\nCTCTGATTCTAACGAGGAAAGCACGTTATACGTGCTCGTCAAAGCAACCATAGTACGCGCCCTGTAGCGGCGCATTAAGCGCGGCGGGTGTGGTGGTTAC\nGCGCAGCGTGACCGCTACACTTGCCAGCGCCCTAGCGCCCGCTCCTTTCGCTTTCTTCCCTTCCTTTCTCGCCACGTTCGCCGGCTTTCCCCGTCAAGCT\nCTAAATCGGGGGCTCCCTTTAGGGTTCCGATTTAGTGCTTTACGGCACCTCGACCCCAAAAAACTTGATTTGGGTGATGGTTCACGTAGTGGGCCATCGC\nCCTGATAGACGGTTTTTCGCCCTTTGACGTTGGAGTCCACGTTCTTTAATAGTGGACTCTTGTTCCAAACTGGAACAACACTCAACCCTATCTCGGGCTA\nTTCTTTTGATTTATAAGGGATTTTGCCGATTTCGGAACCACCATCAAACAGGATTTTCGCCTGCTGGGGCAAACCAGCGTGGACCGCTTGCTGCAACTCT\nCTCAGGGCCAGGCGGTGAAGGGCAATCAGCTGTTGCCCGTCTCACTGGTGAAAAGAAAAACCACCCTGGCGCCCAATACGCAAACCGCCTCTCCCCGCGC\nGTTGGCCGATTCATTAATGCAGCTGGCACGACAGGTTTCCCGACTGGAAAGCGGGCAGTGAGCGCAACGCAATTAATGTGAGTTAGCTCACTCATTAGGC\nACCCCAGGCTTTACACTTTATGCTTCCGGCTCGTATGTTGTGTGGAATTGTGAGCGGATAACAATTTCACACAGGAAACAGCTATGACCATGATTACGAA\nTTCGAGCTCGGTACCCGGGGATCCTCCGTCTTTATCGAGGTAACAAGCACCACGTAGCTTAAGCCCTGTTTACTCATTACACCAACCAGGAGGTCAGAGT\nTCGGAGAAATGATTTATGTGAAATGCGTCAGCCGATTCAAGGCCCCTATATTCGTGCCCACCGACGAGTTGCTTACAGATGGCAGGGCCGCACTGTCGGT\nATCATAGAGTCACTCCAGGGCGAGCGTAAATAGATTAGAAGCGGGGTTATTTTGGCGGGACATTGTCATAAGGTTGACAATTCAGCACTAAGGACACTTA\nAGTCGTGCGCATGAATTCACAACCACTTAGAAGAACATCCACCCTGGCTTCTCCTGAGAA\n", P.RegExp_RegExp("\\s", true), ""); + }); + _lazyOld($, "_m13_p8064", "$get$_m13_p8064", function() { + return C.JSString_methods.replaceAll$2("GGCAATGACCTGATAGCCTTTGTAGATCTCTCAAAAATAGCTACCCTCTCCGGCATTAATTTATCAGCTAGAACGGTTGAATATCATATTGATGGTGATT\nTGACTGTCTCCGGCCTTTCTCACCCTTTTGAATCTTTACCTACACATTACTCAGGCATTGCATTTAAAATATATGAGGGTTCTAAAAATTTTTATCCTTG\nCGTTGAAATAAAGGCTTCTCCCGCAAAAGTATTACAGGGTCATAATGTTTTTGGTACAACCGATTTAGCTTTATGCTCTGAGGCTTTATTGCTTAATTTT\nGCTAATTCTTTGCCTTGCCTGTATGATTTATTGGATGTTAATGCTACTACTATTAGTAGAATTGATGCCACCTTTTCAGCTCGCGCCCCAAATGAAAATA\nTAGCTAAACAGGTTATTGACCATTTGCGAAATGTATCTAATGGTCAAACTAAATCTACTCGTTCGCAGAATTGGGAATCAACTGTTATATGGAATGAAAC\nTTCCAGACACCGTACTTTAGTTGCATATTTAAAACATGTTGAGCTACAGCATTATATTCAGCAATTAAGCTCTAAGCCATCCGCAAAAATGACCTCTTAT\nCAAAAGGAGCAATTAAAGGTACTCTCTAATCCTGACCTGTTGGAGTTTGCTTCCGGTCTGGTTCGCTTTGAAGCTCGAATTAAAACGCGATATTTGAAGT\nCTTTCGGGCTTCCTCTTAATCTTTTTGATGCAATCCGCTTTGCTTCTGACTATAATAGTCAGGGTAAAGACCTGATTTTTGATTTATGGTCATTCTCGTT\nTTCTGAACTGTTTAAAGCATTTGAGGGGGATTCAATGAATATTTATGACGATTCCGCAGTATTGGACGCTATCCAGTCTAAACATTTTACTATTACCCCC\nTCTGGCAAAACTTCTTTTGCAAAAGCCTCTCGCTATTTTGGTTTTTATCGTCGTCTGGTAAACGAGGGTTATGATAGTGTTGCTCTTACTATGCCTCGTA\nATTCCTTTTGGCGTTATGTATCTGCATTAGTTGAATGTGGTATTCCTAAATCTCAACTGATGAATCTTTCTACCTGTAATAATGTTGTTCCGTTAGTTCG\nTTTTATTAACGTAGATTTTTCTTCCCAACGTCCTGACTGGTATAATGAGCCAGTTCTTAAAATCGCATAAGGTAATTCACAATGATTAAAGTTGAAATTA\nAACCATCTCAAGCCCAATTTACTACTCGTTCTGGTGTTTCTCGTCAGGGCAAGCCTTATTCACTGAATGAGCAGCTTTGTTACGTTGATTTGGGTAATGA\nATATCCGGTTCTTGTCAAGATTACTCTTGATGAAGGTCAGCCAGCCTATGCGCCTGGTCTGTACACCGTTCATCTGTCCTCTTTCAAAGTTGGTCAGTTC\nGGTTCCCTTATGATTGACCGTCTGCGCCTCGTTCCGGCTAAGTAACATGGAGCAGGTCGCGGATTTCGACACAATTTATCAGGCGATGATACAAATCTCC\nGTTGTACTTTGTTTCGCGCTTGGTATAATCGCTGGGGGTCAAAGATGAGTGTTTTAGTGTATTCTTTTGCCTCTTTCGTTTTAGGTTGGTGCCTTCGTAG\nTGGCATTACGTATTTTACCCGTTTAATGGAAACTTCCTCATGAAAAAGTCTTTAGTCCTCAAAGCCTCTGTAGCCGTTGCTACCCTCGTTCCGATGCTGT\nCTTTCGCTGCTGAGGGTGACGATCCCGCAAAAGCGGCCTTTAACTCCCTGCAAGCCTCAGCGACCGAATATATCGGTTATGCGTGGGCGATGGTTGTTGT\nCATTGTCGGCGCAACTATCGGTATCAAGCTGTTTAAGAAATTCACCTCGAAAGCAAGCTGATAAACCGATACAATTAAAGGCTCCTTTTGGAGCCTTTTT\nTTTGGAGATTTTCAACGTGAAAAAATTATTATTCGCAATTCCTTTAGTTGTTCCTTTCTATTCTCACTCCGCTGAAACTGTTGAAAGTTGTTTAGCAAAA\nTCCCATACAGAAAATTCATTTACTAACGTCTGGAAAGACGACAAAACTTTAGATCGTTACGCTAACTATGAGGGCTGTCTGTGGAATGCTACAGGCGTTG\nTAGTTTGTACTGGTGACGAAACTCAGTGTTACGGTACATGGGTTCCTATTGGGCTTGCTATCCCTGAAAATGAGGGTGGTGGCTCTGAGGGTGGCGGTTC\nTGAGGGTGGCGGTTCTGAGGGTGGCGGTACTAAACCTCCTGAGTACGGTGATACACCTATTCCGGGCTATACTTATATCAACCCTCTCGACGGCACTTAT\nCCGCCTGGTACTGAGCAAAACCCCGCTAATCCTAATCCTTCTCTTGAGGAGTCTCAGCCTCTTAATACTTTCATGTTTCAGAATAATAGGTTCCGAAATA\nGGCAGGGGGCATTAACTGTTTATACGGGCACTGTTACTCAAGGCACTGACCCCGTTAAAACTTATTACCAGTACACTCCTGTATCATCAAAAGCCATGTA\nTGACGCTTACTGGAACGGTAAATTCAGAGACTGCGCTTTCCATTCTGGCTTTAATGAGGATTTATTTGTTTGTGAATATCAAGGCCAATCGTCTGACCTG\nCCTCAACCTCCTGTCAATGCTGGCGGCGGCTCTGGTGGTGGTTCTGGTGGCGGCTCTGAGGGTGGTGGCTCTGAGGGTGGCGGTTCTGAGGGTGGCGGCT\nCTGAGGGAGGCGGTTCCGGTGGTGGCTCTGGTTCCGGTGATTTTGATTATGAAAAGATGGCAAACGCTAATAAGGGGGCTATGACCGAAAATGCCGATGA\nAAACGCGCTACAGTCTGACGCTAAAGGCAAACTTGATTCTGTCGCTACTGATTACGGTGCTGCTATCGATGGTTTCATTGGTGACGTTTCCGGCCTTGCT\nAATGGTAATGGTGCTACTGGTGATTTTGCTGGCTCTAATTCCCAAATGGCTCAAGTCGGTGACGGTGATAATTCACCTTTAATGAATAATTTCCGTCAAT\nATTTACCTTCCCTCCCTCAATCGGTTGAATGTCGCCCTTTTGTCTTTGGCGCTGGTAAACCATATGAATTTTCTATTGATTGTGACAAAATAAACTTATT\nCCGTGGTGTCTTTGCGTTTCTTTTATATGTTGCCACCTTTATGTATGTATTTTCTACGTTTGCTAACATACTGCGTAATAAGGAGTCTTAATCATGCCAG\nTTCTTTTGGGTATTCCGTTATTATTGCGTTTCCTCGGTTTCCTTCTGGTAACTTTGTTCGGCTATCTGCTTACTTTTCTTAAAAAGGGCTTCGGTAAGAT\nAGCTATTGCTATTTCATTGTTTCTTGCTCTTATTATTGGGCTTAACTCAATTCTTGTGGGTTATCTCTCTGATATTAGCGCTCAATTACCCTCTGACTTT\nGTTCAGGGTGTTCAGTTAATTCTCCCGTCTAATGCGCTTCCCTGTTTTTATGTTATTCTCTCTGTAAAGGCTGCTATTTTCATTTTTGACGTTAAACAAA\nAAATCGTTTCTTATTTGGATTGGGATAAATAATATGGCTGTTTATTTTGTAACTGGCAAATTAGGCTCTGGAAAGACGCTCGTTAGCGTTGGTAAGATTC\nAGGATAAAATTGTAGCTGGGTGCAAAATAGCAACTAATCTTGATTTAAGGCTTCAAAACCTCCCGCAAGTCGGGAGGTTCGCTAAAACGCCTCGCGTTCT\nTAGAATACCGGATAAGCCTTCTATATCTGATTTGCTTGCTATTGGGCGCGGTAATGATTCCTACGATGAAAATAAAAACGGCTTGCTTGTTCTCGATGAG\nTGCGGTACTTGGTTTAATACCCGTTCTTGGAATGATAAGGAAAGACAGCCGATTATTGATTGGTTTCTACATGCTCGTAAATTAGGATGGGATATTATTT\nTTCTTGTTCAGGACTTATCTATTGTTGATAAACAGGCGCGTTCTGCATTAGCTGAACATGTTGTTTATTGTCGTCGTCTGGACAGAATTACTTTACCTTT\nTGTCGGTACTTTATATTCTCTTATTACTGGCTCGAAAATGCCTCTGCCTAAATTACATGTTGGCGTTGTTAAATATGGCGATTCTCAATTAAGCCCTACT\nGTTGAGCGTTGGCTTTATACTGGTAAGAATTTGTATAACGCATATGATACTAAACAGGCTTTTTCTAGTAATTATGATTCCGGTGTTTATTCTTATTTAA\nCGCCTTATTTATCACACGGTCGGTATTTCAAACCATTAAATTTAGGTCAGAAGATGAAATTAACTAAAATATATTTGAAAAAGTTTTCTCGCGTTCTTTG\nTCTTGCGATTGGATTTGCATCAGCATTTACATATAGTTATATAACCCAACCTAAGCCGGAGGTTAAAAAGGTAGTCTCTCAGACCTATGATTTTGATAAA\nTTCACTATTGACTCTTCTCAGCGTCTTAATCTAAGCTATCGCTATGTTTTCAAGGATTCTAAGGGAAAATTAATTAATAGCGACGATTTACAGAAGCAAG\nGTTATTCACTCACATATATTGATTTATGTACTGTTTCCATTAAAAAAGGTAATTCAAATGAAATTGTTAAATGTAATTAATTTTGTTTTCTTGATGTTTG\nTTTCATCATCTTCTTTTGCTCAGGTAATTGAAATGAATAATTCGCCTCTGCGCGATTTTGTAACTTGGTATTCAAAGCAATCAGGCGAATCCGTTATTGT\nTTCTCCCGATGTAAAAGGTACTGTTACTGTATATTCATCTGACGTTAAACCTGAAAATCTACGCAATTTCTTTATTTCTGTTTTACGTGCAAATAATTTT\nGATATGGTAGGTTCTAACCCTTCCATTATTCAGAAGTATAATCCAAACAATCAGGATTATATTGATGAATTGCCATCATCTGATAATCAGGAATATGATG\nATAATTCCGCTCCTTCTGGTGGTTTCTTTGTTCCGCAAAATGATAATGTTACTCAAACTTTTAAAATTAATAACGTTCGGGCAAAGGATTTAATACGAGT\nTGTCGAATTGTTTGTAAAGTCTAATACTTCTAAATCCTCAAATGTATTATCTATTGACGGCTCTAATCTATTAGTTGTTAGTGCTCCTAAAGATATTTTA\nGATAACCTTCCTCAATTCCTTTCAACTGTTGATTTGCCAACTGACCAGATATTGATTGAGGGTTTGATATTTGAGGTTCAGCAAGGTGATGCTTTAGATT\nTTTCATTTGCTGCTGGCTCTCAGCGTGGCACTGTTGCAGGCGGTGTTAATACTGACCGCCTCACCTCTGTTTTATCTTCTGCTGGTGGTTCGTTCGGTAT\nTTTTAATGGCGATGTTTTAGGGCTATCAGTTCGCGCATTAAAGACTAATAGCCATTCAAAAATATTGTCTGTGCCACGTATTCTTACGCTTTCAGGTCAG\nAAGGGTTCTATCTCTGTTGGCCAGAATGTCCCTTTTATTACTGGTCGTGTGACTGGTGAATCTGCCAATGTAAATAATCCATTTCAGACGATTGAGCGTC\nAAAATGTAGGTATTTCCATGAGCGTTTTTCCTGTTGCAATGGCTGGCGGTAATATTGTTCTGGATATTACCAGCAAGGCCGATAGTTTGAGTTCTTCTAC\nTCAGGCAAGTGATGTTATTACTAATCAAAGAAGTATTGCTACAACGGTTAATTTGCGTGATGGACAGACTCTTTTACTCGGTGGCCTCACTGATTATAAA\nAACACTTCTCAGGATTCTGGCGTACCGTTCCTGTCTAAAATCCCTTTAATCGGCCTCCTGTTTAGCTCCCGCTCTGATTCTAACGAGGAAAGCACGTTAT\nACGTGCTCGTCAAAGCAACCATAGTACGCGCCCTGTAGCGGCGCATTAAGCGCGGCGGGTGTGGTGGTTACGCGCAGCGTGACCGCTACACTTGCCAGCG\nCCCTAGCGCCCGCTCCTTTCGCTTTCTTCCCTTCCTTTCTCGCCACGTTCGCCGGCTTTCCCCGTCAAGCTCTAAATCGGGGGCTCCCTTTAGGGTTCCG\nATTTAGTGCTTTACGGCACCTCGACCCCAAAAAACTTGATTTGGGTGATGGTTCACGTAGTGGGCCATCGCCCTGATAGACGGTTTTTCGCCCTTTGACG\nTTGGAGTCCACGTTCTTTAATAGTGGACTCTTGTTCCAAACTGGAACAACACTCAACCCTATCTCGGGCTATTCTTTTGATTTATAAGGGATTTTGCCGA\nTTTCGGAACCACCATCAAACAGGATTTTCGCCTGCTGGGGCAAACCAGCGTGGACCGCTTGCTGCAACTCTCTCAGGGCCAGGCGGTGAAGGGCAATCAG\nCTGTTGCCCGTCTCACTGGTGAAAAGAAAAACCACCCTGGCGCCCAATACGCAAACCGCCTCTCCCCGCGCGTTGGCCGATTCATTAATGCAGCTGGCAC\nGACAGGTTTCCCGACTGGAAAGCGGGCAGTGAGCGCAACGCAATTAATGTGAGTTAGCTCACTCATTAGGCACCCCAGGCTTTACACTTTATGCTTCCGG\nCTCGTATGTTGTGTGGAATTGTGAGCGGATAACAATTTCACACAGGAAACAGCTATGACCATGATTACGAATTCGAGCTCGGTACCCGGGGATCCTCAAC\nTGTGAGGAGGCTCACGGACGCGAAGAACAGGCACGCGTGCTGGCAGAAACCCCCGGTATGACCGTGAAAACGGCCCGCCGCATTCTGGCCGCAGCACCAC\nAGAGTGCACAGGCGCGCAGTGACACTGCGCTGGATCGTCTGATGCAGGGGGCACCGGCACCGCTGGCTGCAGGTAACCCGGCATCTGATGCCGTTAACGA\nTTTGCTGAACACACCAGTGTAAGGGATGTTTATGACGAGCAAAGAAACCTTTACCCATTACCAGCCGCAGGGCAACAGTGACCCGGCTCATACCGCAACC\nGCGCCCGGCGGATTGAGTGCGAAAGCGCCTGCAATGACCCCGCTGATGCTGGACACCTCCAGCCGTAAGCTGGTTGCGTGGGATGGCACCACCGACGGTG\nCTGCCGTTGGCATTCTTGCGGTTGCTGCTGACCAGACCAGCACCACGCTGACGTTCTACAAGTCCGGCACGTTCCGTTATGAGGATGTGCTCTGGCCGGA\nGGCTGCCAGCGACGAGACGAAAAAACGGACCGCGTTTGCCGGAACGGCAATCAGCATCGTTTAACTTTACCCTTCATCACTAAAGGCCGCCTGTGCGGCT\nTTTTTTACGGGATTTTTTTATGTCGATGTACACAACCGCCCAACTGCTGGCGGCAAATGAGCAGAAATTTAAGTTTGATCCGCTGTTTCTGCGTCTCTTT\nTTCCGTGAGAGCTATCCCTTCACCACGGAGAAAGTCTATCTCTCACAAATTCCGGGACTGGTAAACATGGCGCTGTACGTTTCGCCGATTGTTTCCGGTG\nAGGTTATCCGTTCCCGTGGCGGCTCCACCTCTGAAAGCTTGGCACTGGCCGTCGTTTTACAACGTCGTGACTGGGAAAACCCTGGCGTTACCCAACTTAA\nTCGCCTTGCAGCACATCCCCCTTTCGCCAGCTGGCGTAATAGCGAAGAGGCCCGCACCGATCGCCCTTCCCAACAGTTGCGCAGCCTGAATGGCGAATGG\nCGCTTTGCCTGGTTTCCGGCACCAGAAGCGGTGCCGGAAAGCTGGCTGGAGTGCGATCTTCCTGAGGCCGATACTGTCGTCGTCCCCTCAAACTGGCAGA\nTGCACGGTTACGATGCGCCCATCTACACCAACGTGACCTATCCCATTACGGTCAATCCGCCGTTTGTTCCCACGGAGAATCCGACGGGTTGTTACTCGCT\nCACATTTAATGTTGATGAAAGCTGGCTACAGGAAGGCCAGACGCGAATTATTTTTGATGGCGTTCCTATTGGTTAAAAAATGAGCTGATTTAACAAAAAT\nTTAATGCGAATTTTAACAAAATATTAACGTTTACAATTTAAATATTTGCTTATACAATCTTCCTGTTTTTGGGGCTTTTCTGATTATCAACCGGGGTACA\nTATGATTGACATGCTAGTTTTACGATTACCGTTCATCGATTCTCTTGTTTGCTCCAGACTCTCA\n", P.RegExp_RegExp("\\s", true), ""); + }); + _lazyOld($, "_m13_p8634", "$get$_m13_p8634", function() { + return C.JSString_methods.replaceAll$2("GAGTCCACGTTCTTTAATAGTGGACTCTTGTTCCAAACTGGAACAACACTCAACCCTATCTCGGGCTATTCTTTTGATTTATAAGGGATTTTGCCGATTT\nCGGAACCACCATCAAACAGGATTTTCGCCTGCTGGGGCAAACCAGCGTGGACCGCTTGCTGCAACTCTCTCAGGGCCAGGCGGTGAAGGGCAATCAGCTG\nTTGCCCGTCTCACTGGTGAAAAGAAAAACCACCCTGGCGCCCAATACGCAAACCGCCTCTCCCCGCGCGTTGGCCGATTCATTAATGCAGCTGGCACGAC\nAGGTTTCCCGACTGGAAAGCGGGCAGTGAGCGCAACGCAATTAATGTGAGTTAGCTCACTCATTAGGCACCCCAGGCTTTACACTTTATGCTTCCGGCTC\nGTATGTTGTGTGGAATTGTGAGCGGATAACAATTTCACACAGGAAACAGCTATGACCATGATTACGAATTCGAGCTCGGTACCCGGGGATCCATTCTCCT\nGTGACTCGGAAGTGCATTTATCATCTCCATAAAACAAAACCCGCCGTAGCGAGTTCAGATAAAATAAATCCCCGCGAGTGCGAGGATTGTTATGTAATAT\nTGGGTTTAATCATCTATATGTTTTGTACAGAGAGGGCAAGTATCGTTTCCACCGTACTCGTGATAATAATTTTGCACGGTATCAGTCATTTCTCGCACAT\nTGCAGAATGGGGATTTGTCTTCATTAGACTTATAAACCTTCATGGAATATTTGTATGCCGACTCTATATCTATACCTTCATCTACATAAACACCTTCGTG\nATGTCTGCATGGAGACAAGACACCGGATCTGCACAACATTGATAACGCCCAATCTTTTTGCTCAGACTCTAACTCATTGATACTCATTTATAAACTCCTT\nGCAATGTATGTCGTTTCAGCTAAACGGTATCAGCAATGTTTATGTAAAGAAACAGTAAGATAATACTCAACCCGATGTTTGAGTACGGTCATCATCTGAC\nACTACAGACTCTGGCATCGCTGTGAAGACGACGCGAAATTCAGCATTTTCACAAGCGTTATCTTTTACAAAACCGATCTCACTCTCCTTTGATGCGAATG\nCCAGCGTCAGACATCATATGCAGATACTCACCTGCATCCTGAACCCATTGACCTCCAACCCCGTAATAGCGATGCGTAATGATGTCGATAGTTACTAACG\nGGTCTTGTTCGATTAACTGCCGCAGAAACTCTTCCAGGTCACCAGTGCAGTGCTTGATAACAGGAGTCTTCCCAGGATGGCGAACAACAAGAAACTGGTT\nTCCGTCTTCACGGACTTCGTTGCTTTCCAGTTTAGCAATACGCTTACTCCCATCCGAGATAACACCTTCGTAATACTCACGCTGCTCGTTGAGTTTTGAT\nTTTGCTGTTTCAAGCTCAACACGCAGTTTCCCTACTGTTAGCGCAATATCCTCGTTCTCCTGGTCGCGGCGTTTGATGTATTGCTGGTTTCTTTCCCGTT\nCATCCAGCAGTTCCAGCACAATCGATGGTGTTACCAATTCATGGAAAAGGTCTGCGTCAAATCCCCAGTCGTCATGCATTGCCTGCTCTGCCGCTTCACG\nCAGTGCCTGAGAGTTAATTTCGCTCACTTCGAACCTCTCTGTTTACTGATAAGTTCCAGATCCTCCTGGCAACTTGCACAAGTCCGACAACCCTGAACGA\nCCAGGCGTCTTCGTTCATCTATCGGATCGCCACACTCACAACAATGAGTGGCAGATATAGCCTGGTGGTTCAGGCGGCGCATTTTTATTGCTGTGTTGCG\nCTGTAATTCTTCTATTTCTGATGCTGAATCAATGATGTCTGCCATCTTTCATTAATCCCTGAACTGTTGGTTAATACGCATGAGGGTGAATGCGAATAAT\nAAAGCTTGGCACTGGCCGTCGTTTTACAACGTCGTGACTGGGAAAACCCTGGCGTTACCCAACTTAATCGCCTTGCAGCACATCCCCCTTTCGCCAGCTG\nGCGTAATAGCGAAGAGGCCCGCACCGATCGCCCTTCCCAACAGTTGCGCAGCCTGAATGGCGAATGGCGCTTTGCCTGGTTTCCGGCACCAGAAGCGGTG\nCCGGAAAGCTGGCTGGAGTGCGATCTTCCTGAGGCCGATACTGTCGTCGTCCCCTCAAACTGGCAGATGCACGGTTACGATGCGCCCATCTACACCAACG\nTGACCTATCCCATTACGGTCAATCCGCCGTTTGTTCCCACGGAGAATCCGACGGGTTGTTACTCGCTCACATTTAATGTTGATGAAAGCTGGCTACAGGA\nAGGCCAGACGCGAATTATTTTTGATGGCGTTCCTATTGGTTAAAAAATGAGCTGATTTAACAAAAATTTAATGCGAATTTTAACAAAATATTAACGTTTA\nCAATTTAAATATTTGCTTATACAATCTTCCTGTTTTTGGGGCTTTTCTGATTATCAACCGGGGTACATATGATTGACATGCTAGTTTTACGATTACCGTT\nCATCGATTCTCTTGTTTGCTCCAGACTCTCAGGCAATGACCTGATAGCCTTTGTAGATCTCTCAAAAATAGCTACCCTCTCCGGCATTAATTTATCAGCT\nAGAACGGTTGAATATCATATTGATGGTGATTTGACTGTCTCCGGCCTTTCTCACCCTTTTGAATCTTTACCTACACATTACTCAGGCATTGCATTTAAAA\nTATATGAGGGTTCTAAAAATTTTTATCCTTGCGTTGAAATAAAGGCTTCTCCCGCAAAAGTATTACAGGGTCATAATGTTTTTGGTACAACCGATTTAGC\nTTTATGCTCTGAGGCTTTATTGCTTAATTTTGCTAATTCTTTGCCTTGCCTGTATGATTTATTGGATGTTAATGCTACTACTATTAGTAGAATTGATGCC\nACCTTTTCAGCTCGCGCCCCAAATGAAAATATAGCTAAACAGGTTATTGACCATTTGCGAAATGTATCTAATGGTCAAACTAAATCTACTCGTTCGCAGA\nATTGGGAATCAACTGTTATATGGAATGAAACTTCCAGACACCGTACTTTAGTTGCATATTTAAAACATGTTGAGCTACAGCATTATATTCAGCAATTAAG\nCTCTAAGCCATCCGCAAAAATGACCTCTTATCAAAAGGAGCAATTAAAGGTACTCTCTAATCCTGACCTGTTGGAGTTTGCTTCCGGTCTGGTTCGCTTT\nGAAGCTCGAATTAAAACGCGATATTTGAAGTCTTTCGGGCTTCCTCTTAATCTTTTTGATGCAATCCGCTTTGCTTCTGACTATAATAGTCAGGGTAAAG\nACCTGATTTTTGATTTATGGTCATTCTCGTTTTCTGAACTGTTTAAAGCATTTGAGGGGGATTCAATGAATATTTATGACGATTCCGCAGTATTGGACGC\nTATCCAGTCTAAACATTTTACTATTACCCCCTCTGGCAAAACTTCTTTTGCAAAAGCCTCTCGCTATTTTGGTTTTTATCGTCGTCTGGTAAACGAGGGT\nTATGATAGTGTTGCTCTTACTATGCCTCGTAATTCCTTTTGGCGTTATGTATCTGCATTAGTTGAATGTGGTATTCCTAAATCTCAACTGATGAATCTTT\nCTACCTGTAATAATGTTGTTCCGTTAGTTCGTTTTATTAACGTAGATTTTTCTTCCCAACGTCCTGACTGGTATAATGAGCCAGTTCTTAAAATCGCATA\nAGGTAATTCACAATGATTAAAGTTGAAATTAAACCATCTCAAGCCCAATTTACTACTCGTTCTGGTGTTTCTCGTCAGGGCAAGCCTTATTCACTGAATG\nAGCAGCTTTGTTACGTTGATTTGGGTAATGAATATCCGGTTCTTGTCAAGATTACTCTTGATGAAGGTCAGCCAGCCTATGCGCCTGGTCTGTACACCGT\nTCATCTGTCCTCTTTCAAAGTTGGTCAGTTCGGTTCCCTTATGATTGACCGTCTGCGCCTCGTTCCGGCTAAGTAACATGGAGCAGGTCGCGGATTTCGA\nCACAATTTATCAGGCGATGATACAAATCTCCGTTGTACTTTGTTTCGCGCTTGGTATAATCGCTGGGGGTCAAAGATGAGTGTTTTAGTGTATTCTTTTG\nCCTCTTTCGTTTTAGGTTGGTGCCTTCGTAGTGGCATTACGTATTTTACCCGTTTAATGGAAACTTCCTCATGAAAAAGTCTTTAGTCCTCAAAGCCTCT\nGTAGCCGTTGCTACCCTCGTTCCGATGCTGTCTTTCGCTGCTGAGGGTGACGATCCCGCAAAAGCGGCCTTTAACTCCCTGCAAGCCTCAGCGACCGAAT\nATATCGGTTATGCGTGGGCGATGGTTGTTGTCATTGTCGGCGCAACTATCGGTATCAAGCTGTTTAAGAAATTCACCTCGAAAGCAAGCTGATAAACCGA\nTACAATTAAAGGCTCCTTTTGGAGCCTTTTTTTTGGAGATTTTCAACGTGAAAAAATTATTATTCGCAATTCCTTTAGTTGTTCCTTTCTATTCTCACTC\nCGCTGAAACTGTTGAAAGTTGTTTAGCAAAATCCCATACAGAAAATTCATTTACTAACGTCTGGAAAGACGACAAAACTTTAGATCGTTACGCTAACTAT\nGAGGGCTGTCTGTGGAATGCTACAGGCGTTGTAGTTTGTACTGGTGACGAAACTCAGTGTTACGGTACATGGGTTCCTATTGGGCTTGCTATCCCTGAAA\nATGAGGGTGGTGGCTCTGAGGGTGGCGGTTCTGAGGGTGGCGGTTCTGAGGGTGGCGGTACTAAACCTCCTGAGTACGGTGATACACCTATTCCGGGCTA\nTACTTATATCAACCCTCTCGACGGCACTTATCCGCCTGGTACTGAGCAAAACCCCGCTAATCCTAATCCTTCTCTTGAGGAGTCTCAGCCTCTTAATACT\nTTCATGTTTCAGAATAATAGGTTCCGAAATAGGCAGGGGGCATTAACTGTTTATACGGGCACTGTTACTCAAGGCACTGACCCCGTTAAAACTTATTACC\nAGTACACTCCTGTATCATCAAAAGCCATGTATGACGCTTACTGGAACGGTAAATTCAGAGACTGCGCTTTCCATTCTGGCTTTAATGAGGATTTATTTGT\nTTGTGAATATCAAGGCCAATCGTCTGACCTGCCTCAACCTCCTGTCAATGCTGGCGGCGGCTCTGGTGGTGGTTCTGGTGGCGGCTCTGAGGGTGGTGGC\nTCTGAGGGTGGCGGTTCTGAGGGTGGCGGCTCTGAGGGAGGCGGTTCCGGTGGTGGCTCTGGTTCCGGTGATTTTGATTATGAAAAGATGGCAAACGCTA\nATAAGGGGGCTATGACCGAAAATGCCGATGAAAACGCGCTACAGTCTGACGCTAAAGGCAAACTTGATTCTGTCGCTACTGATTACGGTGCTGCTATCGA\nTGGTTTCATTGGTGACGTTTCCGGCCTTGCTAATGGTAATGGTGCTACTGGTGATTTTGCTGGCTCTAATTCCCAAATGGCTCAAGTCGGTGACGGTGAT\nAATTCACCTTTAATGAATAATTTCCGTCAATATTTACCTTCCCTCCCTCAATCGGTTGAATGTCGCCCTTTTGTCTTTGGCGCTGGTAAACCATATGAAT\nTTTCTATTGATTGTGACAAAATAAACTTATTCCGTGGTGTCTTTGCGTTTCTTTTATATGTTGCCACCTTTATGTATGTATTTTCTACGTTTGCTAACAT\nACTGCGTAATAAGGAGTCTTAATCATGCCAGTTCTTTTGGGTATTCCGTTATTATTGCGTTTCCTCGGTTTCCTTCTGGTAACTTTGTTCGGCTATCTGC\nTTACTTTTCTTAAAAAGGGCTTCGGTAAGATAGCTATTGCTATTTCATTGTTTCTTGCTCTTATTATTGGGCTTAACTCAATTCTTGTGGGTTATCTCTC\nTGATATTAGCGCTCAATTACCCTCTGACTTTGTTCAGGGTGTTCAGTTAATTCTCCCGTCTAATGCGCTTCCCTGTTTTTATGTTATTCTCTCTGTAAAG\nGCTGCTATTTTCATTTTTGACGTTAAACAAAAAATCGTTTCTTATTTGGATTGGGATAAATAATATGGCTGTTTATTTTGTAACTGGCAAATTAGGCTCT\nGGAAAGACGCTCGTTAGCGTTGGTAAGATTCAGGATAAAATTGTAGCTGGGTGCAAAATAGCAACTAATCTTGATTTAAGGCTTCAAAACCTCCCGCAAG\nTCGGGAGGTTCGCTAAAACGCCTCGCGTTCTTAGAATACCGGATAAGCCTTCTATATCTGATTTGCTTGCTATTGGGCGCGGTAATGATTCCTACGATGA\nAAATAAAAACGGCTTGCTTGTTCTCGATGAGTGCGGTACTTGGTTTAATACCCGTTCTTGGAATGATAAGGAAAGACAGCCGATTATTGATTGGTTTCTA\nCATGCTCGTAAATTAGGATGGGATATTATTTTTCTTGTTCAGGACTTATCTATTGTTGATAAACAGGCGCGTTCTGCATTAGCTGAACATGTTGTTTATT\nGTCGTCGTCTGGACAGAATTACTTTACCTTTTGTCGGTACTTTATATTCTCTTATTACTGGCTCGAAAATGCCTCTGCCTAAATTACATGTTGGCGTTGT\nTAAATATGGCGATTCTCAATTAAGCCCTACTGTTGAGCGTTGGCTTTATACTGGTAAGAATTTGTATAACGCATATGATACTAAACAGGCTTTTTCTAGT\nAATTATGATTCCGGTGTTTATTCTTATTTAACGCCTTATTTATCACACGGTCGGTATTTCAAACCATTAAATTTAGGTCAGAAGATGAAATTAACTAAAA\nTATATTTGAAAAAGTTTTCTCGCGTTCTTTGTCTTGCGATTGGATTTGCATCAGCATTTACATATAGTTATATAACCCAACCTAAGCCGGAGGTTAAAAA\nGGTAGTCTCTCAGACCTATGATTTTGATAAATTCACTATTGACTCTTCTCAGCGTCTTAATCTAAGCTATCGCTATGTTTTCAAGGATTCTAAGGGAAAA\nTTAATTAATAGCGACGATTTACAGAAGCAAGGTTATTCACTCACATATATTGATTTATGTACTGTTTCCATTAAAAAAGGTAATTCAAATGAAATTGTTA\nAATGTAATTAATTTTGTTTTCTTGATGTTTGTTTCATCATCTTCTTTTGCTCAGGTAATTGAAATGAATAATTCGCCTCTGCGCGATTTTGTAACTTGGT\nATTCAAAGCAATCAGGCGAATCCGTTATTGTTTCTCCCGATGTAAAAGGTACTGTTACTGTATATTCATCTGACGTTAAACCTGAAAATCTACGCAATTT\nCTTTATTTCTGTTTTACGTGCAAATAATTTTGATATGGTAGGTTCTAACCCTTCCATTATTCAGAAGTATAATCCAAACAATCAGGATTATATTGATGAA\nTTGCCATCATCTGATAATCAGGAATATGATGATAATTCCGCTCCTTCTGGTGGTTTCTTTGTTCCGCAAAATGATAATGTTACTCAAACTTTTAAAATTA\nATAACGTTCGGGCAAAGGATTTAATACGAGTTGTCGAATTGTTTGTAAAGTCTAATACTTCTAAATCCTCAAATGTATTATCTATTGACGGCTCTAATCT\nATTAGTTGTTAGTGCTCCTAAAGATATTTTAGATAACCTTCCTCAATTCCTTTCAACTGTTGATTTGCCAACTGACCAGATATTGATTGAGGGTTTGATA\nTTTGAGGTTCAGCAAGGTGATGCTTTAGATTTTTCATTTGCTGCTGGCTCTCAGCGTGGCACTGTTGCAGGCGGTGTTAATACTGACCGCCTCACCTCTG\nTTTTATCTTCTGCTGGTGGTTCGTTCGGTATTTTTAATGGCGATGTTTTAGGGCTATCAGTTCGCGCATTAAAGACTAATAGCCATTCAAAAATATTGTC\nTGTGCCACGTATTCTTACGCTTTCAGGTCAGAAGGGTTCTATCTCTGTTGGCCAGAATGTCCCTTTTATTACTGGTCGTGTGACTGGTGAATCTGCCAAT\nGTAAATAATCCATTTCAGACGATTGAGCGTCAAAATGTAGGTATTTCCATGAGCGTTTTTCCTGTTGCAATGGCTGGCGGTAATATTGTTCTGGATATTA\nCCAGCAAGGCCGATAGTTTGAGTTCTTCTACTCAGGCAAGTGATGTTATTACTAATCAAAGAAGTATTGCTACAACGGTTAATTTGCGTGATGGACAGAC\nTCTTTTACTCGGTGGCCTCACTGATTATAAAAACACTTCTCAGGATTCTGGCGTACCGTTCCTGTCTAAAATCCCTTTAATCGGCCTCCTGTTTAGCTCC\nCGCTCTGATTCTAACGAGGAAAGCACGTTATACGTGCTCGTCAAAGCAACCATAGTACGCGCCCTGTAGCGGCGCATTAAGCGCGGCGGGTGTGGTGGTT\nACGCGCAGCGTGACCGCTACACTTGCCAGCGCCCTAGCGCCCGCTCCTTTCGCTTTCTTCCCTTCCTTTCTCGCCACGTTCGCCGGCTTTCCCCGTCAAG\nCTCTAAATCGGGGGCTCCCTTTAGGGTTCCGATTTAGTGCTTTACGGCACCTCGACCCCAAAAAACTTGATTTGGGTGATGGTTCACGTAGTGGGCCATC\nGCCCTGATAGACGGTTTTTCGCCCTTTGACGTTG\n", P.RegExp_RegExp("\\s", true), ""); + }); + _lazyOld($, "_$values", "$get$_$values0", function() { + return X.BuiltSet_BuiltSet(C.List_Tzo, type$.legacy_DNASequencePredefined); + }); + _lazyOld($, "_$dNASequencePredefinedSerializer", "$get$_$dNASequencePredefinedSerializer", function() { + return new E._$DNASequencePredefinedSerializer(); + }); + _lazyOld($, "all_middleware", "$get$all_middleware", function() { + return P.List_List$unmodifiable([A.reset_local_storage__reset_local_storage_middleware$closure(), S.local_storage__local_storage_middleware$closure(), B.move_ensure_same_group__move_ensure_all_in_same_helix_group_middleware$closure(), X.forbid_create_circular_strand_no_crossovers_middleware__forbid_create_circular_strand_no_crossovers_middleware$closure(), V.export_svg__export_svg_middleware$closure(), T.save_file__save_file_middleware$closure(), K.load_file__load_file_middleware$closure(), A.export_cadnano_or_codenano_file__export_cadnano_or_codenano_file_middleware$closure(), O.example_design_selected__example_design_selected_middleware$closure(), Z.throttle__throttle_middleware$closure(), X.assign_dna__assign_dna_middleware$closure(), U.strand_create__strand_create_middleware$closure(), L.helix_remove__helix_remove_middleware$closure(), F.group_remove__group_remove_middleware$closure(), M.helix_group_move_start__helix_group_move_start_middleware$closure(), R.helix_offsets_change__helix_change_offsets_middleware$closure(), R.helix_idxs_change__helix_idxs_change_middleware$closure(), X.helix_grid_change__helix_grid_offsets_middleware$closure(), G.helix_hide_all__helix_hide_all_middleware$closure(), B.helices_positions_set_based_on_crossovers__helix_positions_set_based_on_crossovers_middleware$closure(), E.dna_ends_move_start__dna_ends_move_start_middleware$closure(), T.dna_extensions_move_start__dna_extensions_move_start_middleware$closure(), F.export_dna_sequences__export_dna_sequences_middleware$closure(), D.reselect_moved_dna_ends__reselect_moved_dna_ends_middleware$closure(), A.reselect_moved_dna_extension_ends__reselect_moved_dna_extension_ends_middleware$closure(), A.reselect_moved_copied_strands__reselect_moved_copied_strands_middleware$closure(), T.reselect_moved_domains__reselect_moved_domains_middleware$closure(), Q.selections_intersect_box_compute__selections_intersect_box_compute_middleware$closure(), S.insertion_deletion_batching__insertion_deletion_batching_middleware$closure(), O.adjust_grid_position__adjust_grid_position_middleware$closure(), V.invalidate_png__invalidate_png_middleware$closure(), Z.check_mirror_strands_legal__check_reflect_strands_legal_middleware$closure(), D.edit_select_mode_change__edit_select_mode_change_middleware$closure(), F.periodic_save_design_local_storage__periodic_design_save_local_storage_middleware$closure(), U.autostaple_and_autobreak__autostaple_and_autobreak_middleware$closure(), G.system_clipboard__system_clipboard_middleware$closure(), X.zoom_speed__zoom_speed_middleware$closure(), N.oxdna_export__oxdna_export_middleware$closure(), N.oxview_update_view__oxview_update_view_middleware$closure()], H.findType("@(Store*,@,@(@)*)*")); + }); + _lazyOld($, "relevant_styles", "$get$relevant_styles", function() { + return P.LinkedHashMap_LinkedHashMap$_literal(["rect", C.List_8RB, "polygon", C.List_8RB, "path", C.List_8RB, "circle", C.List_8RB, "line", C.List_8RB, "text", C.List_in0, "textPath", C.JSArray_methods.$add(C.List_in0, C.List_empty0)], type$.legacy_String, type$.legacy_List_legacy_String); + }); + _lazyOld($, "_$values0", "$get$_$values5", function() { + return X.BuiltSet_BuiltSet(C.List_948, H.findType("Storable*")); + }); + _lazyOld($, "_OXDNA_ORIGIN", "$get$_OXDNA_ORIGIN", function() { + return N.OxdnaVector$(0, 0, 0); + }); + _lazyOld($, "clipboard", "$get$clipboard", function() { + return new T.BrowserClipboard(); + }); + _lazyOld($, "drawing_potential_crossover_reducer", "$get$drawing_potential_crossover_reducer", function() { + var t1 = type$.legacy_bool, + t2 = B.TypedReducer$(K.app_ui_state_reducer__potential_crossover_create_app_ui_state_reducer$closure(), t1, type$.legacy_PotentialCrossoverCreate), + t3 = B.TypedReducer$(K.app_ui_state_reducer__potential_crossover_remove_app_ui_state_reducer$closure(), t1, type$.legacy_PotentialCrossoverRemove); + return B.combineReducers(H.setRuntimeTypeInfo([t2.get$$call(), t3.get$$call()], type$.JSArray_of_legacy_legacy_bool_Function_2_legacy_bool_and_dynamic), t1); + }); + _lazyOld($, "moving_dna_ends_reducer", "$get$moving_dna_ends_reducer", function() { + var t1 = type$.legacy_bool, + t2 = B.TypedReducer$(K.app_ui_state_reducer__dna_ends_move_start_app_ui_state_reducer$closure(), t1, type$.legacy_DNAEndsMoveStart), + t3 = B.TypedReducer$(K.app_ui_state_reducer__dna_ends_move_stop_app_ui_state_reducer$closure(), t1, type$.legacy_DNAEndsMoveStop), + t4 = B.TypedReducer$(K.app_ui_state_reducer__dna_extensions_move_start_app_ui_state_reducer$closure(), t1, type$.legacy_DNAExtensionsMoveStart), + t5 = B.TypedReducer$(K.app_ui_state_reducer__dna_extensions_move_stop_app_ui_state_reducer$closure(), t1, type$.legacy_DNAExtensionsMoveStop); + return B.combineReducers(H.setRuntimeTypeInfo([t2.get$$call(), t3.get$$call(), t4.get$$call(), t5.get$$call()], type$.JSArray_of_legacy_legacy_bool_Function_2_legacy_bool_and_dynamic), t1); + }); + _lazyOld($, "slice_bar_is_moving_reducer", "$get$slice_bar_is_moving_reducer", function() { + var t1 = type$.legacy_bool, + t2 = B.TypedReducer$(K.app_ui_state_reducer__slice_bar_move_start_app_ui_state_reducer$closure(), t1, type$.legacy_SliceBarMoveStart), + t3 = B.TypedReducer$(K.app_ui_state_reducer__slice_bar_move_stop_app_ui_state_reducer$closure(), t1, type$.legacy_SliceBarMoveStop); + return B.combineReducers(H.setRuntimeTypeInfo([t2.get$$call(), t3.get$$call()], type$.JSArray_of_legacy_legacy_bool_Function_2_legacy_bool_and_dynamic), t1); + }); + _lazyOld($, "helix_group_is_moving_reducer", "$get$helix_group_is_moving_reducer", function() { + var t1 = type$.legacy_bool, + t2 = B.TypedReducer$(K.app_ui_state_reducer__helix_group_move_start_app_ui_state_reducer$closure(), t1, type$.legacy_HelixGroupMoveStart), + t3 = B.TypedReducer$(K.app_ui_state_reducer__helix_group_move_stop_app_ui_state_reducer$closure(), t1, type$.legacy_HelixGroupMoveStop); + return B.combineReducers(H.setRuntimeTypeInfo([t2.get$$call(), t3.get$$call()], type$.JSArray_of_legacy_legacy_bool_Function_2_legacy_bool_and_dynamic), t1); + }); + _lazyOld($, "load_dialog_reducer", "$get$load_dialog_reducer", function() { + var t1 = type$.legacy_bool, + t2 = B.TypedReducer$(K.app_ui_state_reducer__load_dialog_show_app_ui_state_reducer$closure(), t1, type$.legacy_LoadingDialogShow), + t3 = B.TypedReducer$(K.app_ui_state_reducer__load_dialog_hide_app_ui_state_reducer$closure(), t1, type$.legacy_LoadingDialogHide); + return B.combineReducers(H.setRuntimeTypeInfo([t2.get$$call(), t3.get$$call()], type$.JSArray_of_legacy_legacy_bool_Function_2_legacy_bool_and_dynamic), t1); + }); + _lazyOld($, "changed_since_last_save_reducer", "$get$changed_since_last_save_reducer", function() { + var t1 = type$.legacy_bool, + t2 = B.TypedReducer$(K.app_ui_state_reducer__changed_since_last_save_undoable_action_reducer$closure(), t1, type$.legacy_UndoableAction), + t3 = B.TypedReducer$(K.app_ui_state_reducer__changed_since_last_save_just_saved_reducer$closure(), t1, type$.legacy_SaveDNAFile); + return B.combineReducers(H.setRuntimeTypeInfo([t2.get$$call(), t3.get$$call()], type$.JSArray_of_legacy_legacy_bool_Function_2_legacy_bool_and_dynamic), t1); + }); + _lazyOld($, "mouseover_data_reducer", "$get$mouseover_data_reducer", function() { + var t1 = type$.legacy_BuiltList_legacy_MouseoverData, + t2 = B.TypedReducer$(U.mouseover_datas_reducer__mouseover_data_clear_reducer$closure(), t1, type$.legacy_MouseoverDataClear); + return B.combineReducers(H.setRuntimeTypeInfo([t2.get$$call()], H.findType("JSArray*(BuiltList*,@)*>")), t1); + }); + _lazyOld($, "slice_bar_offset_global_reducer", "$get$slice_bar_offset_global_reducer", function() { + var t1 = type$.legacy_int, + t2 = type$.legacy_AppState, + t3 = X.TypedGlobalReducer$(K.app_ui_state_reducer__slice_bar_offset_show_slice_bar_set_reducer$closure(), t1, t2, type$.legacy_ShowSliceBarSet), + t4 = X.TypedGlobalReducer$(K.app_ui_state_reducer__slice_bar_offset_group_displayed_change_reducer$closure(), t1, t2, type$.legacy_GroupDisplayedChange), + t5 = X.TypedGlobalReducer$(K.app_ui_state_reducer__slice_bar_offset_group_remove_reducer$closure(), t1, t2, type$.legacy_GroupRemove), + t6 = X.TypedGlobalReducer$(K.app_ui_state_reducer__slice_bar_offset_helix_offset_change_reducer$closure(), t1, t2, type$.legacy_HelixOffsetChange), + t7 = X.TypedGlobalReducer$(K.app_ui_state_reducer__slice_bar_offset_helix_offset_change_all_reducer$closure(), t1, t2, type$.legacy_HelixOffsetChangeAll); + return X.combineGlobalReducers(H.setRuntimeTypeInfo([t3.get$$call(), t4.get$$call(), t5.get$$call(), t6.get$$call(), t7.get$$call()], H.findType("JSArray")), t1, t2); + }); + _lazyOld($, "displayed_group_name_reducer", "$get$displayed_group_name_reducer", function() { + var t1 = type$.legacy_String, + t2 = B.TypedReducer$(K.app_ui_state_reducer__displayed_group_name_change_displayed_group_reducer$closure(), t1, type$.legacy_GroupDisplayedChange), + t3 = B.TypedReducer$(K.app_ui_state_reducer__displayed_group_name_change_name_reducer$closure(), t1, type$.legacy_GroupChange); + return B.combineReducers(H.setRuntimeTypeInfo([t2.get$$call(), t3.get$$call()], H.findType("JSArray")), t1); + }); + _lazyOld($, "dna_sequence_png_uri_reducer", "$get$dna_sequence_png_uri_reducer", function() { + var t1 = type$.legacy_String, + t2 = B.TypedReducer$(K.app_ui_state_reducer__load_dna_sequence_image_uri$closure(), t1, type$.legacy_LoadDnaSequenceImageUri); + return B.combineReducers(H.setRuntimeTypeInfo([t2.get$$call()], H.findType("JSArray")), t1); + }); + _lazyOld($, "dna_sequence_horizontal_offset_reducer", "$get$dna_sequence_horizontal_offset_reducer", function() { + var t1 = type$.legacy_num, + t2 = B.TypedReducer$(K.app_ui_state_reducer__load_dna_sequence_png_horizontal_offset$closure(), t1, type$.legacy_LoadDnaSequenceImageUri); + return B.combineReducers(H.setRuntimeTypeInfo([t2.get$$call()], H.findType("JSArray")), t1); + }); + _lazyOld($, "dna_sequence_vertical_offset_reducer", "$get$dna_sequence_vertical_offset_reducer", function() { + var t1 = type$.legacy_num, + t2 = B.TypedReducer$(K.app_ui_state_reducer__load_dna_sequence_png_vertical_offset$closure(), t1, type$.legacy_LoadDnaSequenceImageUri); + return B.combineReducers(H.setRuntimeTypeInfo([t2.get$$call()], H.findType("JSArray")), t1); + }); + _lazyOld($, "export_svg_action_delayed_for_png_cache_reducer", "$get$export_svg_action_delayed_for_png_cache_reducer", function() { + var t1 = type$.legacy_ExportSvg, + t2 = B.TypedReducer$(K.app_ui_state_reducer__set_export_svg_action_delayed_for_png_cache$closure(), t1, type$.legacy_SetExportSvgActionDelayedForPngCache); + return B.combineReducers(H.setRuntimeTypeInfo([t2.get$$call()], H.findType("JSArray")), t1); + }); + _lazyOld($, "is_zoom_above_threshold_reducer", "$get$is_zoom_above_threshold_reducer", function() { + var t1 = type$.legacy_bool, + t2 = B.TypedReducer$(K.app_ui_state_reducer__set_is_zoom_above_threshold$closure(), t1, type$.legacy_SetIsZoomAboveThreshold); + return B.combineReducers(H.setRuntimeTypeInfo([t2.get$$call()], type$.JSArray_of_legacy_legacy_bool_Function_2_legacy_bool_and_dynamic), t1); + }); + _lazyOld($, "side_view_mouse_grid_pos_reducer", "$get$side_view_mouse_grid_pos_reducer", function() { + var t1 = type$.legacy_GridPosition, + t2 = B.TypedReducer$(K.app_ui_state_reducer__side_view_mouse_grid_pos_update_reducer$closure(), t1, type$.legacy_MouseGridPositionSideUpdate), + t3 = B.TypedReducer$(K.app_ui_state_reducer__side_view_mouse_grid_pos_clear_reducer$closure(), t1, type$.legacy_MouseGridPositionSideClear); + return B.combineReducers(H.setRuntimeTypeInfo([t2.get$$call(), t3.get$$call()], H.findType("JSArray")), t1); + }); + _lazyOld($, "side_view_position_mouse_cursor_reducer", "$get$side_view_position_mouse_cursor_reducer", function() { + var t1 = type$.legacy_Point_legacy_num, + t2 = B.TypedReducer$(K.app_ui_state_reducer__side_view_mouse_pos_update_reducer$closure(), t1, type$.legacy_MousePositionSideUpdate), + t3 = B.TypedReducer$(K.app_ui_state_reducer__side_view_mouse_pos_clear_reducer$closure(), t1, type$.legacy_MousePositionSideClear); + return B.combineReducers(H.setRuntimeTypeInfo([t2.get$$call(), t3.get$$call()], H.findType("JSArray*(Point*,@)*>")), t1); + }); + _lazyOld($, "color_picker_strand_reducer", "$get$color_picker_strand_reducer", function() { + var t1 = type$.legacy_Strand, + t2 = B.TypedReducer$(K.app_ui_state_reducer__color_picker_strand_show_reducer$closure(), t1, type$.legacy_StrandOrSubstrandColorPickerShow), + t3 = B.TypedReducer$(K.app_ui_state_reducer__color_picker_strand_hide_reducer$closure(), t1, type$.legacy_StrandOrSubstrandColorPickerHide); + return B.combineReducers(H.setRuntimeTypeInfo([t2.get$$call(), t3.get$$call()], H.findType("JSArray")), t1); + }); + _lazyOld($, "color_picker_substrand_reducer", "$get$color_picker_substrand_reducer", function() { + var t1 = type$.legacy_Substrand, + t2 = B.TypedReducer$(K.app_ui_state_reducer__color_picker_substrand_show_reducer$closure(), t1, type$.legacy_StrandOrSubstrandColorPickerShow), + t3 = B.TypedReducer$(K.app_ui_state_reducer__color_picker_substrand_hide_reducer$closure(), t1, type$.legacy_StrandOrSubstrandColorPickerHide); + return B.combineReducers(H.setRuntimeTypeInfo([t2.get$$call(), t3.get$$call()], H.findType("JSArray")), t1); + }); + _lazyOld($, "mouseover_datas_global_reducer", "$get$mouseover_datas_global_reducer", function() { + var t1 = type$.legacy_BuiltList_legacy_MouseoverData, + t2 = type$.legacy_AppState, + t3 = X.TypedGlobalReducer$(U.mouseover_datas_reducer__helix_rotation_set_at_other_mouseover_reducer$closure(), t1, t2, type$.legacy_HelixRollSetAtOther), + t4 = X.TypedGlobalReducer$(U.mouseover_datas_reducer__mouseover_data_update_reducer$closure(), t1, t2, type$.legacy_MouseoverDataUpdate); + return X.combineGlobalReducers(H.setRuntimeTypeInfo([t3.get$$call(), t4.get$$call()], H.findType("JSArray*(BuiltList*,AppState*,@)*>")), t1, t2); + }); + _lazyOld($, "context_menu_reducer", "$get$context_menu_reducer", function() { + var t1 = type$.legacy_ContextMenu, + t2 = B.TypedReducer$(N.context_menu_reducer__context_menu_show_reducer$closure(), t1, type$.legacy_ContextMenuShow), + t3 = B.TypedReducer$(N.context_menu_reducer__context_menu_hide_reducer$closure(), t1, type$.legacy_ContextMenuHide); + return B.combineReducers(H.setRuntimeTypeInfo([t2.get$$call(), t3.get$$call()], H.findType("JSArray")), t1); + }); + _lazyOld($, "design_whole_local_reducer", "$get$design_whole_local_reducer", function() { + var t1 = type$.legacy_Design, + t2 = B.TypedReducer$(U.design_reducer__design_error_message_set_reducer$closure(), t1, type$.legacy_ErrorMessageSet), + t3 = B.TypedReducer$(R.inline_insertions_deletions_reducer__inline_insertions_deletions_reducer$closure(), t1, type$.legacy_InlineInsertionsDeletions), + t4 = B.TypedReducer$(U.design_reducer__new_design_set_reducer$closure(), t1, type$.legacy_NewDesignSet); + return B.combineReducers(H.setRuntimeTypeInfo([t2.get$$call(), t3.get$$call(), t4.get$$call()], H.findType("JSArray")), t1); + }); + _lazyOld($, "design_whole_global_reducer", "$get$design_whole_global_reducer", function() { + var t1 = type$.legacy_Design, + t2 = type$.legacy_AppState, + t3 = X.TypedGlobalReducer$(U.design_reducer__design_geometry_set_reducer$closure(), t1, t2, type$.legacy_GeometrySet), + t4 = X.TypedGlobalReducer$(V.helices_reducer__helix_idx_change_reducer$closure(), t1, t2, type$.legacy_HelixIdxsChange), + t5 = X.TypedGlobalReducer$(V.helices_reducer__helix_add_design_reducer$closure(), t1, t2, type$.legacy_HelixAdd), + t6 = X.TypedGlobalReducer$(V.helices_reducer__helix_remove_design_global_reducer$closure(), t1, t2, type$.legacy_HelixRemove), + t7 = X.TypedGlobalReducer$(V.helices_reducer__helix_remove_all_selected_design_global_reducer$closure(), t1, t2, type$.legacy_HelixRemoveAllSelected), + t8 = X.TypedGlobalReducer$(Z.helix_group_move_reducer__helix_group_move_commit_global_reducer$closure(), t1, t2, type$.legacy_HelixGroupMoveCommit); + return X.combineGlobalReducers(H.setRuntimeTypeInfo([t3.get$$call(), t4.get$$call(), t5.get$$call(), t6.get$$call(), t7.get$$call(), t8.get$$call()], H.findType("JSArray")), t1, t2); + }); + _lazyOld($, "dialog_reducer", "$get$dialog_reducer", function() { + var t1 = type$.legacy_Dialog, + t2 = B.TypedReducer$(A.dialog_reducer__dialog_show_reducer$closure(), t1, type$.legacy_DialogShow), + t3 = B.TypedReducer$(A.dialog_reducer__dialog_hide_reducer$closure(), t1, type$.legacy_DialogHide); + return B.combineReducers(H.setRuntimeTypeInfo([t2.get$$call(), t3.get$$call()], H.findType("JSArray")), t1); + }); + _lazyOld($, "optimized_dna_ends_move_reducer", "$get$optimized_dna_ends_move_reducer", function() { + return B.combineReducers(H.setRuntimeTypeInfo([$.$get$dna_ends_move_reducer()], H.findType("JSArray")), type$.legacy_DNAEndsMove); + }); + _lazyOld($, "dna_ends_move_reducer", "$get$dna_ends_move_reducer", function() { + var t1 = type$.legacy_DNAEndsMove, + t2 = B.TypedReducer$(Z.dna_ends_move_reducer__dna_ends_move_set_selected_ends_reducer$closure(), t1, type$.legacy_DNAEndsMoveSetSelectedEnds), + t3 = B.TypedReducer$(Z.dna_ends_move_reducer__dna_ends_move_adjust_reducer$closure(), t1, type$.legacy_DNAEndsMoveAdjustOffset), + t4 = B.TypedReducer$(Z.dna_ends_move_reducer__dna_ends_move_stop_reducer$closure(), t1, type$.legacy_DNAEndsMoveStop); + return B.combineReducers(H.setRuntimeTypeInfo([t2.get$$call(), t3.get$$call(), t4.get$$call()], H.findType("JSArray")), t1); + }); + _lazyOld($, "optimized_dna_extensions_move_reducer", "$get$optimized_dna_extensions_move_reducer", function() { + return B.combineReducers(H.setRuntimeTypeInfo([$.$get$dna_extensions_move_reducer()], H.findType("JSArray")), type$.legacy_DNAExtensionsMove); + }); + _lazyOld($, "dna_extensions_move_reducer", "$get$dna_extensions_move_reducer", function() { + var t1 = type$.legacy_DNAExtensionsMove, + t2 = B.TypedReducer$(A.dna_extensions_move_reducer__dna_extensions_move_set_selected_extension_ends_reducer$closure(), t1, type$.legacy_DNAExtensionsMoveSetSelectedExtensionEnds), + t3 = B.TypedReducer$(A.dna_extensions_move_reducer__dna_extensions_move_adjust_reducer$closure(), t1, type$.legacy_DNAExtensionsMoveAdjustPosition), + t4 = B.TypedReducer$(A.dna_extensions_move_reducer__dna_extensions_move_stop_reducer$closure(), t1, type$.legacy_DNAExtensionsMoveStop); + return B.combineReducers(H.setRuntimeTypeInfo([t2.get$$call(), t3.get$$call(), t4.get$$call()], H.findType("JSArray")), t1); + }); + _lazyOld($, "domains_move_global_reducer", "$get$domains_move_global_reducer", function() { + var t1 = type$.legacy_DomainsMove, + t2 = type$.legacy_AppState, + t3 = X.TypedGlobalReducer$(Q.domains_move_reducer__domains_move_start_selected_domains_reducer$closure(), t1, t2, type$.legacy_DomainsMoveStartSelectedDomains), + t4 = X.TypedGlobalReducer$(Q.domains_move_reducer__domains_adjust_address_reducer$closure(), t1, t2, type$.legacy_DomainsMoveAdjustAddress); + return X.combineGlobalReducers(H.setRuntimeTypeInfo([t3.get$$call(), t4.get$$call()], H.findType("JSArray")), t1, t2); + }); + _lazyOld($, "domains_move_local_reducer", "$get$domains_move_local_reducer", function() { + var t1 = type$.legacy_DomainsMove, + t2 = B.TypedReducer$(Q.domains_move_reducer__domains_move_stop_reducer$closure(), t1, type$.legacy_DomainsMoveStop); + return B.combineReducers(H.setRuntimeTypeInfo([t2.get$$call()], H.findType("JSArray")), t1); + }); + _lazyOld($, "edit_modes_reducer", "$get$edit_modes_reducer", function() { + var t1 = type$.legacy_BuiltSet_legacy_EditModeChoice, + t2 = B.TypedReducer$(B.edit_modes_reducer__toggle_edit_mode_reducer$closure(), t1, type$.legacy_EditModeToggle), + t3 = B.TypedReducer$(B.edit_modes_reducer__set_edit_modes_reducer$closure(), t1, type$.legacy_EditModesSet); + return B.combineReducers(H.setRuntimeTypeInfo([t2.get$$call(), t3.get$$call()], H.findType("JSArray*(BuiltSet*,@)*>")), t1); + }); + _lazyOld($, "groups_local_reducer", "$get$groups_local_reducer", function() { + var t1 = type$.legacy_BuiltMap_of_legacy_String_and_legacy_HelixGroup, + t2 = B.TypedReducer$(O.groups_reducer__group_add_reducer$closure(), t1, type$.legacy_GroupAdd), + t3 = B.TypedReducer$(O.groups_reducer__group_remove_reducer$closure(), t1, type$.legacy_GroupRemove), + t4 = B.TypedReducer$(O.groups_reducer__group_change_reducer$closure(), t1, type$.legacy_GroupChange), + t5 = B.TypedReducer$(O.groups_reducer__grid_change_reducer$closure(), t1, type$.legacy_GridChange); + return B.combineReducers(H.setRuntimeTypeInfo([t2.get$$call(), t3.get$$call(), t4.get$$call(), t5.get$$call()], H.findType("JSArray*(BuiltMap*,@)*>")), t1); + }); + _lazyOld($, "groups_global_reducer", "$get$groups_global_reducer", function() { + var t1 = type$.legacy_BuiltMap_of_legacy_String_and_legacy_HelixGroup, + t2 = type$.legacy_AppState, + t3 = X.TypedGlobalReducer$(O.groups_reducer__move_helices_to_group_groups_reducer$closure(), t1, t2, type$.legacy_MoveHelicesToGroup); + return X.combineGlobalReducers(H.setRuntimeTypeInfo([t3.get$$call()], H.findType("JSArray*(BuiltMap*,AppState*,@)*>")), t1, t2); + }); + _lazyOld($, "helices_local_reducer", "$get$helices_local_reducer", function() { + var t1 = type$.legacy_BuiltMap_of_legacy_int_and_legacy_Helix, + t2 = B.TypedReducer$(V.helices_reducer__move_helices_to_group_helices_reducer$closure(), t1, type$.legacy_MoveHelicesToGroup), + t3 = B.TypedReducer$(V.helices_reducer__helix_major_tick_distance_change_all_reducer$closure(), t1, type$.legacy_HelixMajorTickDistanceChangeAll), + t4 = B.TypedReducer$(V.helices_reducer__helix_major_ticks_change_all_reducer$closure(), t1, type$.legacy_HelixMajorTicksChangeAll), + t5 = B.TypedReducer$(V.helices_reducer__helix_major_tick_start_change_all_reducer$closure(), t1, type$.legacy_HelixMajorTickStartChangeAll), + t6 = B.TypedReducer$(V.helices_reducer__helix_major_tick_periodic_distances_change_all_reducer$closure(), t1, type$.legacy_HelixMajorTickPeriodicDistancesChangeAll); + return B.combineReducers(H.setRuntimeTypeInfo([t2.get$$call(), t3.get$$call(), t4.get$$call(), t5.get$$call(), t6.get$$call()], H.findType("JSArray*(BuiltMap*,@)*>")), t1); + }); + _lazyOld($, "helices_global_reducer", "$get$helices_global_reducer", function() { + var t1 = type$.legacy_BuiltMap_of_legacy_int_and_legacy_Helix, + t2 = type$.legacy_AppState, + t3 = X.TypedGlobalReducer$(V.helices_reducer__relax_helix_rolls_reducer$closure(), t1, t2, type$.legacy_RelaxHelixRolls), + t4 = X.TypedGlobalReducer$(V.helices_reducer__helix_group_change_reducer$closure(), t1, t2, type$.legacy_GroupChange), + t5 = X.TypedGlobalReducer$(V.helices_reducer__helix_grid_change_reducer$closure(), t1, t2, type$.legacy_GridChange), + t6 = X.TypedGlobalReducer$(V.helices_reducer__helix_grid_position_set_reducer$closure(), t1, t2, type$.legacy_HelixGridPositionSet), + t7 = X.TypedGlobalReducer$(V.helices_reducer__helix_position_set_reducer$closure(), t1, t2, type$.legacy_HelixPositionSet), + t8 = X.TypedGlobalReducer$(V.helices_reducer__helix_offset_change_all_reducer$closure(), t1, t2, type$.legacy_HelixOffsetChangeAll), + t9 = X.TypedGlobalReducer$(V.helices_reducer__helix_min_offset_set_by_domains_all_reducer$closure(), t1, t2, type$.legacy_HelixMinOffsetSetByDomainsAll), + t10 = X.TypedGlobalReducer$(V.helices_reducer__helix_max_offset_set_by_domains_all_reducer$closure(), t1, t2, type$.legacy_HelixMaxOffsetSetByDomainsAll), + t11 = X.TypedGlobalReducer$(V.helices_reducer__helix_individual_reducer$closure(), t1, t2, type$.legacy_HelixIndividualAction), + t12 = X.TypedGlobalReducer$(V.helices_reducer__helix_roll_set_at_other_reducer$closure(), t1, t2, type$.legacy_HelixRollSetAtOther), + t13 = X.TypedGlobalReducer$(V.helices_reducer__helix_max_offset_set_by_domains_all_same_max_reducer$closure(), t1, t2, type$.legacy_HelixMaxOffsetSetByDomainsAllSameMax), + t14 = X.TypedGlobalReducer$(V.helices_reducer__helix_offset_change_all_with_moving_strands_reducer$closure(), t1, t2, type$.legacy_StrandsMoveAdjustAddress), + t15 = X.TypedGlobalReducer$(V.helices_reducer__helix_offset_change_all_while_creating_strand_reducer$closure(), t1, t2, type$.legacy_StrandCreateAdjustOffset), + t16 = X.TypedGlobalReducer$(V.helices_reducer__first_replace_strands_reducer$closure(), t1, t2, type$.legacy_ReplaceStrands), + t17 = X.TypedGlobalReducer$(V.helices_reducer__reset_helices_offsets_after_selections_clear$closure(), t1, t2, type$.legacy_SelectionsClear); + return X.combineGlobalReducers(H.setRuntimeTypeInfo([t3.get$$call(), t4.get$$call(), t5.get$$call(), t6.get$$call(), t7.get$$call(), t8.get$$call(), t9.get$$call(), t10.get$$call(), t11.get$$call(), t12.get$$call(), t13.get$$call(), t14.get$$call(), t15.get$$call(), t16.get$$call(), t17.get$$call()], H.findType("JSArray*(BuiltMap*,AppState*,@)*>")), t1, t2); + }); + _lazyOld($, "_helix_individual_reducers", "$get$_helix_individual_reducers", function() { + var t1 = type$.legacy_Helix, + t2 = type$.legacy_AppState, + t3 = X.TypedGlobalReducer$(V.helices_reducer__helix_offset_change_reducer$closure(), t1, t2, type$.legacy_HelixOffsetChange), + t4 = X.TypedGlobalReducer$(V.helices_reducer__helix_min_offset_set_by_domains_reducer$closure(), t1, t2, type$.legacy_HelixMinOffsetSetByDomains), + t5 = X.TypedGlobalReducer$(V.helices_reducer__helix_max_offset_set_by_domains_reducer$closure(), t1, t2, type$.legacy_HelixMaxOffsetSetByDomains), + t6 = X.TypedGlobalReducer$(V.helices_reducer__helix_major_tick_distance_change_reducer$closure(), t1, t2, type$.legacy_HelixMajorTickDistanceChange), + t7 = X.TypedGlobalReducer$(V.helices_reducer__helix_major_tick_periodic_distances_change_reducer$closure(), t1, t2, type$.legacy_HelixMajorTickPeriodicDistancesChange), + t8 = X.TypedGlobalReducer$(V.helices_reducer__helix_major_tick_start_change_reducer$closure(), t1, t2, type$.legacy_HelixMajorTickStartChange), + t9 = X.TypedGlobalReducer$(V.helices_reducer__helix_major_ticks_change_reducer$closure(), t1, t2, type$.legacy_HelixMajorTicksChange), + t10 = X.TypedGlobalReducer$(V.helices_reducer__helix_roll_set_reducer$closure(), t1, t2, type$.legacy_HelixRollSet); + return X.combineGlobalReducers(H.setRuntimeTypeInfo([t3.get$$call(), t4.get$$call(), t5.get$$call(), t6.get$$call(), t7.get$$call(), t8.get$$call(), t9.get$$call(), t10.get$$call()], H.findType("JSArray")), t1, t2); + }); + _lazyOld($, "optimized_helix_group_move_reducer", "$get$optimized_helix_group_move_reducer", function() { + var t1 = type$.legacy_HelixGroupMove, + t2 = B.TypedReducer$(Z.helix_group_move_reducer__helix_group_move_create_translation_reducer$closure(), t1, type$.legacy_HelixGroupMoveCreate), + t3 = B.TypedReducer$(Z.helix_group_move_reducer__helix_group_move_adjust_translation_reducer$closure(), t1, type$.legacy_HelixGroupMoveAdjustTranslation), + t4 = B.TypedReducer$(Z.helix_group_move_reducer__helix_group_move_stop_translation_reducer$closure(), t1, type$.legacy_HelixGroupMoveStop); + return B.combineReducers(H.setRuntimeTypeInfo([t2.get$$call(), t3.get$$call(), t4.get$$call()], H.findType("JSArray")), t1); + }); + _lazyOld($, "insertion_deletion_domain_reducer", "$get$insertion_deletion_domain_reducer", function() { + var t1 = type$.legacy_Domain, + t2 = B.TypedReducer$(D.insertion_deletion_reducer__insertion_add_reducer$closure(), t1, type$.legacy_InsertionAdd), + t3 = B.TypedReducer$(D.insertion_deletion_reducer__insertion_remove_reducer$closure(), t1, type$.legacy_InsertionRemove), + t4 = B.TypedReducer$(D.insertion_deletion_reducer__deletion_add_reducer$closure(), t1, type$.legacy_DeletionAdd), + t5 = B.TypedReducer$(D.insertion_deletion_reducer__deletion_remove_reducer$closure(), t1, type$.legacy_DeletionRemove), + t6 = B.TypedReducer$(D.insertion_deletion_reducer__insertion_length_change_reducer$closure(), t1, type$.legacy_InsertionLengthChange); + return B.combineReducers(H.setRuntimeTypeInfo([t2.get$$call(), t3.get$$call(), t4.get$$call(), t5.get$$call(), t6.get$$call()], H.findType("JSArray")), t1); + }); + _lazyOld($, "hline", "$get$hline", function() { + return C.JSString_methods.$mul("*", 100); + }); + _lazyOld($, "optimized_potential_crossover_reducer", "$get$optimized_potential_crossover_reducer", function() { + return B.combineReducers(H.setRuntimeTypeInfo([$.$get$potential_crossover_reducer()], H.findType("JSArray")), type$.legacy_PotentialCrossover); + }); + _lazyOld($, "potential_crossover_reducer", "$get$potential_crossover_reducer", function() { + var t1 = type$.legacy_PotentialCrossover, + t2 = B.TypedReducer$(F.potential_crossover_reducer__potential_crossover_create_reducer$closure(), t1, type$.legacy_PotentialCrossoverCreate), + t3 = B.TypedReducer$(F.potential_crossover_reducer__potential_crossover_move_reducer$closure(), t1, type$.legacy_PotentialCrossoverMove), + t4 = B.TypedReducer$(F.potential_crossover_reducer__potential_crossover_remove_reducer$closure(), t1, type$.legacy_PotentialCrossoverRemove); + return B.combineReducers(H.setRuntimeTypeInfo([t2.get$$call(), t3.get$$call(), t4.get$$call()], H.findType("JSArray")), t1); + }); + _lazyOld($, "select_mode_state_reducer", "$get$select_mode_state_reducer", function() { + var t1 = type$.legacy_SelectModeState, + t2 = B.TypedReducer$(Q.select_mode_state_reducer__toggle_select_mode_reducer$closure(), t1, type$.legacy_SelectModeToggle), + t3 = B.TypedReducer$(Q.select_mode_state_reducer__set_select_modes_reducer$closure(), t1, type$.legacy_SelectModesSet), + t4 = B.TypedReducer$(Q.select_mode_state_reducer__add_select_modes_reducer$closure(), t1, type$.legacy_SelectModesAdd); + return B.combineReducers(H.setRuntimeTypeInfo([t2.get$$call(), t3.get$$call(), t4.get$$call()], H.findType("JSArray")), t1); + }); + _lazyOld($, "selectables_store_global_reducer", "$get$selectables_store_global_reducer", function() { + var t1 = type$.legacy_SelectablesStore, + t2 = type$.legacy_AppState, + t3 = X.TypedGlobalReducer$(D.selection_reducer__select_reducer$closure(), t1, t2, type$.legacy_Select), + t4 = X.TypedGlobalReducer$(D.selection_reducer__select_or_toggle_items_reducer$closure(), t1, t2, type$.legacy_SelectOrToggleItems), + t5 = X.TypedGlobalReducer$(D.selection_reducer__select_all_selectables_reducer$closure(), t1, t2, type$.legacy_SelectAllSelectable), + t6 = X.TypedGlobalReducer$(D.selection_reducer__select_all_with_same_reducer$closure(), t1, t2, type$.legacy_SelectAllWithSameAsSelected); + return X.combineGlobalReducers(H.setRuntimeTypeInfo([t3.get$$call(), t4.get$$call(), t5.get$$call(), t6.get$$call()], H.findType("JSArray")), t1, t2); + }); + _lazyOld($, "selectables_store_local_reducer", "$get$selectables_store_local_reducer", function() { + var t1 = type$.legacy_SelectablesStore, + t2 = B.TypedReducer$(D.selection_reducer__select_all_reducer$closure(), t1, type$.legacy_SelectAll), + t3 = B.TypedReducer$(D.selection_reducer__selections_clear_reducer$closure(), t1, type$.legacy_SelectionsClear), + t4 = B.TypedReducer$(D.selection_reducer__design_changing_action_reducer$closure(), t1, type$.legacy_DesignChangingAction), + t5 = B.TypedReducer$(D.selection_reducer__selections_clear_reducer$closure(), t1, type$.legacy_SelectModeToggle), + t6 = B.TypedReducer$(D.selection_reducer__selections_clear_reducer$closure(), t1, type$.legacy_SelectModesSet), + t7 = B.TypedReducer$(D.selection_reducer__selections_clear_reducer$closure(), t1, type$.legacy_SelectModesAdd); + return B.combineReducers(H.setRuntimeTypeInfo([t2.get$$call(), t3.get$$call(), t4.get$$call(), t5.get$$call(), t6.get$$call(), t7.get$$call()], H.findType("JSArray")), t1); + }); + _lazyOld($, "side_selected_helices_global_reducer", "$get$side_selected_helices_global_reducer", function() { + var t1 = type$.legacy_BuiltSet_legacy_int, + t2 = type$.legacy_AppState, + t3 = X.TypedGlobalReducer$(D.selection_reducer__helix_selections_adjust_reducer$closure(), t1, t2, type$.legacy_HelixSelectionsAdjust); + return X.combineGlobalReducers(H.setRuntimeTypeInfo([t3.get$$call()], H.findType("JSArray*(BuiltSet*,AppState*,@)*>")), t1, t2); + }); + _lazyOld($, "side_selected_helices_reducer", "$get$side_selected_helices_reducer", function() { + var t1 = type$.legacy_BuiltSet_legacy_int, + t2 = B.TypedReducer$(D.selection_reducer__helix_select_reducer$closure(), t1, type$.legacy_HelixSelect), + t3 = B.TypedReducer$(D.selection_reducer__helices_selected_clear_reducer$closure(), t1, type$.legacy_HelixSelectionsClear), + t4 = B.TypedReducer$(D.selection_reducer__helices_remove_all_selected_reducer$closure(), t1, type$.legacy_HelixRemoveAllSelected), + t5 = B.TypedReducer$(D.selection_reducer__helix_remove_selected_reducer$closure(), t1, type$.legacy_HelixRemove); + return B.combineReducers(H.setRuntimeTypeInfo([t2.get$$call(), t3.get$$call(), t4.get$$call(), t5.get$$call()], H.findType("JSArray*(BuiltSet*,@)*>")), t1); + }); + _lazyOld($, "optimized_selection_box_reducer", "$get$optimized_selection_box_reducer", function() { + return B.combineReducers(H.setRuntimeTypeInfo([$.$get$selection_box_reducer()], H.findType("JSArray")), type$.legacy_SelectionBox); + }); + _lazyOld($, "selection_box_reducer", "$get$selection_box_reducer", function() { + var t1 = type$.legacy_SelectionBox, + t2 = B.TypedReducer$(D.selection_reducer__selection_box_create_reducer$closure(), t1, type$.legacy_SelectionBoxCreate), + t3 = B.TypedReducer$(D.selection_reducer__selection_box_size_changed_reducer$closure(), t1, type$.legacy_SelectionBoxSizeChange), + t4 = B.TypedReducer$(D.selection_reducer__selection_box_remove_reducer$closure(), t1, type$.legacy_SelectionBoxRemove); + return B.combineReducers(H.setRuntimeTypeInfo([t2.get$$call(), t3.get$$call(), t4.get$$call()], H.findType("JSArray")), t1); + }); + _lazyOld($, "optimized_selection_rope_reducer", "$get$optimized_selection_rope_reducer", function() { + return B.combineReducers(H.setRuntimeTypeInfo([$.$get$selection_rope_reducer()], H.findType("JSArray")), type$.legacy_SelectionRope); + }); + _lazyOld($, "selection_rope_reducer", "$get$selection_rope_reducer", function() { + var t1 = type$.legacy_SelectionRope, + t2 = B.TypedReducer$(D.selection_reducer__selection_rope_create_reducer$closure(), t1, type$.legacy_SelectionRopeCreate), + t3 = B.TypedReducer$(D.selection_reducer__selection_rope_mouse_move_reducer$closure(), t1, type$.legacy_SelectionRopeMouseMove), + t4 = B.TypedReducer$(D.selection_reducer__selection_rope_add_point_reducer$closure(), t1, type$.legacy_SelectionRopeAddPoint), + t5 = B.TypedReducer$(D.selection_reducer__selection_rope_remove_reducer$closure(), t1, type$.legacy_SelectionRopeRemove); + return B.combineReducers(H.setRuntimeTypeInfo([t2.get$$call(), t3.get$$call(), t4.get$$call(), t5.get$$call()], H.findType("JSArray")), t1); + }); + _lazyOld($, "strand_creation_global_reducer", "$get$strand_creation_global_reducer", function() { + var t1 = type$.legacy_StrandCreation, + t2 = type$.legacy_AppState, + t3 = X.TypedGlobalReducer$(M.strand_creation_reducer__strand_create_start_reducer$closure(), t1, t2, type$.legacy_StrandCreateStart), + t4 = X.TypedGlobalReducer$(M.strand_creation_reducer__strand_create_adjust_offset_reducer$closure(), t1, t2, type$.legacy_StrandCreateAdjustOffset), + t5 = X.TypedGlobalReducer$(M.strand_creation_reducer__strand_create_stop_reducer$closure(), t1, t2, type$.legacy_StrandCreateStop); + return X.combineGlobalReducers(H.setRuntimeTypeInfo([t3.get$$call(), t4.get$$call(), t5.get$$call()], H.findType("JSArray")), t1, t2); + }); + _lazyOld($, "copy_info_global_reducer", "$get$copy_info_global_reducer", function() { + var t1 = type$.legacy_CopyInfo, + t2 = type$.legacy_AppState, + t3 = X.TypedGlobalReducer$(X.strands_copy_info_reducer__copy_selected_strands_reducer$closure(), t1, t2, type$.legacy_CopySelectedStrands), + t4 = X.TypedGlobalReducer$(X.strands_copy_info_reducer__manual_paste_initiate_reducer$closure(), t1, t2, type$.legacy_ManualPasteInitiate), + t5 = X.TypedGlobalReducer$(X.strands_copy_info_reducer__autopaste_initiate_reducer$closure(), t1, t2, type$.legacy_AutoPasteInitiate), + t6 = X.TypedGlobalReducer$(X.strands_copy_info_reducer__manual_paste_copy_info_reducer$closure(), t1, t2, type$.legacy_StrandsMoveCommit); + return X.combineGlobalReducers(H.setRuntimeTypeInfo([t3.get$$call(), t4.get$$call(), t5.get$$call(), t6.get$$call()], H.findType("JSArray")), t1, t2); + }); + _lazyOld($, "strands_move_global_reducer", "$get$strands_move_global_reducer", function() { + var t1 = type$.legacy_StrandsMove, + t2 = type$.legacy_AppState, + t3 = X.TypedGlobalReducer$(D.strands_move_reducer__strands_move_start_reducer$closure(), t1, t2, type$.legacy_StrandsMoveStart), + t4 = X.TypedGlobalReducer$(D.strands_move_reducer__strands_move_start_selected_strands_reducer$closure(), t1, t2, type$.legacy_StrandsMoveStartSelectedStrands), + t5 = X.TypedGlobalReducer$(D.strands_move_reducer__strands_adjust_address_reducer$closure(), t1, t2, type$.legacy_StrandsMoveAdjustAddress); + return X.combineGlobalReducers(H.setRuntimeTypeInfo([t3.get$$call(), t4.get$$call(), t5.get$$call()], H.findType("JSArray")), t1, t2); + }); + _lazyOld($, "strands_move_local_reducer", "$get$strands_move_local_reducer", function() { + var t1 = type$.legacy_StrandsMove, + t2 = B.TypedReducer$(D.strands_move_reducer__strands_move_stop_reducer$closure(), t1, type$.legacy_StrandsMoveStop); + return B.combineReducers(H.setRuntimeTypeInfo([t2.get$$call()], H.findType("JSArray")), t1); + }); + _lazyOld($, "strands_local_reducer", "$get$strands_local_reducer", function() { + var t1 = type$.legacy_BuiltList_legacy_Strand, + t2 = B.TypedReducer$(R.assign_or_remove_dna_reducer__remove_dna_reducer$closure(), t1, type$.legacy_RemoveDNA), + t3 = B.TypedReducer$(E.strands_reducer__replace_strands_reducer$closure(), t1, type$.legacy_ReplaceStrands), + t4 = B.TypedReducer$(E.strands_reducer__strands_single_strand_reducer$closure(), t1, type$.legacy_SingleStrandAction); + return B.combineReducers(H.setRuntimeTypeInfo([t2.get$$call(), t3.get$$call(), t4.get$$call()], H.findType("JSArray*(BuiltList*,@)*>")), t1); + }); + _lazyOld($, "strands_global_reducer", "$get$strands_global_reducer", function() { + var t1 = type$.legacy_BuiltList_legacy_Strand, + t2 = type$.legacy_AppState, + t3 = X.TypedGlobalReducer$(R.assign_or_remove_dna_reducer__assign_dna_reducer$closure(), t1, t2, type$.legacy_AssignDNA), + t4 = X.TypedGlobalReducer$(M.assign_domain_names_reducer__assign_domain_name_complement_from_bound_strands_reducer$closure(), t1, t2, type$.legacy_AssignDomainNameComplementFromBoundStrands), + t5 = X.TypedGlobalReducer$(M.assign_domain_names_reducer__assign_domain_name_complement_from_bound_domains_reducer$closure(), t1, t2, type$.legacy_AssignDomainNameComplementFromBoundDomains), + t6 = X.TypedGlobalReducer$(R.assign_or_remove_dna_reducer__assign_dna_reducer_complement_from_bound_strands$closure(), t1, t2, type$.legacy_AssignDNAComplementFromBoundStrands), + t7 = X.TypedGlobalReducer$(E.strands_reducer__strands_move_commit_reducer$closure(), t1, t2, type$.legacy_StrandsMoveCommit), + t8 = X.TypedGlobalReducer$(E.strands_reducer__domains_move_commit_reducer$closure(), t1, t2, type$.legacy_DomainsMoveCommit), + t9 = X.TypedGlobalReducer$(E.strands_reducer__strands_dna_ends_move_commit_reducer$closure(), t1, t2, type$.legacy_DNAEndsMoveCommit), + t10 = X.TypedGlobalReducer$(E.strands_reducer__strands_dna_extensions_move_commit_reducer$closure(), t1, t2, type$.legacy_DNAExtensionsMoveCommit), + t11 = X.TypedGlobalReducer$(E.strands_reducer__strands_part_reducer$closure(), t1, t2, type$.legacy_StrandPartAction), + t12 = X.TypedGlobalReducer$(E.strands_reducer__strand_create$closure(), t1, t2, type$.legacy_StrandCreateCommit), + t13 = X.TypedGlobalReducer$(G.delete_reducer__delete_all_reducer$closure(), t1, t2, type$.legacy_DeleteAllSelected), + t14 = X.TypedGlobalReducer$(F.nick_ligate_join_by_crossover_reducers__move_linker_reducer$closure(), t1, t2, type$.legacy_MoveLinker), + t15 = X.TypedGlobalReducer$(F.nick_ligate_join_by_crossover_reducers__nick_reducer$closure(), t1, t2, type$.legacy_Nick), + t16 = X.TypedGlobalReducer$(F.nick_ligate_join_by_crossover_reducers__ligate_reducer$closure(), t1, t2, type$.legacy_Ligate), + t17 = X.TypedGlobalReducer$(F.nick_ligate_join_by_crossover_reducers__join_strands_by_crossover_reducer$closure(), t1, t2, type$.legacy_JoinStrandsByCrossover), + t18 = X.TypedGlobalReducer$(F.nick_ligate_join_by_crossover_reducers__join_strands_by_multiple_crossovers_reducer$closure(), t1, t2, type$.legacy_JoinStrandsByMultipleCrossovers), + t19 = X.TypedGlobalReducer$(X.change_loopout_ext_properties__convert_crossovers_to_loopouts_reducer$closure(), t1, t2, type$.legacy_ConvertCrossoversToLoopouts), + t20 = X.TypedGlobalReducer$(X.change_loopout_ext_properties__loopouts_length_change_reducer$closure(), t1, t2, type$.legacy_LoopoutsLengthChange), + t21 = X.TypedGlobalReducer$(X.change_loopout_ext_properties__extensions_num_bases_change_reducer$closure(), t1, t2, type$.legacy_ExtensionsNumBasesChange), + t22 = X.TypedGlobalReducer$(D.insertion_deletion_reducer__insertions_length_change_reducer$closure(), t1, t2, type$.legacy_InsertionsLengthChange), + t23 = X.TypedGlobalReducer$(E.strands_reducer__modifications_5p_edit_reducer$closure(), t1, t2, type$.legacy_Modifications5PrimeEdit), + t24 = X.TypedGlobalReducer$(E.strands_reducer__modifications_3p_edit_reducer$closure(), t1, t2, type$.legacy_Modifications3PrimeEdit), + t25 = X.TypedGlobalReducer$(E.strands_reducer__modifications_int_edit_reducer$closure(), t1, t2, type$.legacy_ModificationsInternalEdit); + return X.combineGlobalReducers(H.setRuntimeTypeInfo([t3.get$$call(), t4.get$$call(), t5.get$$call(), t6.get$$call(), t7.get$$call(), t8.get$$call(), t9.get$$call(), t10.get$$call(), t11.get$$call(), t12.get$$call(), t13.get$$call(), t14.get$$call(), t15.get$$call(), t16.get$$call(), t17.get$$call(), t18.get$$call(), t19.get$$call(), t20.get$$call(), t21.get$$call(), t22.get$$call(), t23.get$$call(), t24.get$$call(), t25.get$$call()], H.findType("JSArray*(BuiltList*,AppState*,@)*>")), t1, t2); + }); + _lazyOld($, "strand_part_reducer", "$get$strand_part_reducer", function() { + var t1 = type$.legacy_Strand, + t2 = B.TypedReducer$(X.change_loopout_ext_properties__convert_crossover_to_loopout_reducer$closure(), t1, type$.legacy_ConvertCrossoverToLoopout), + t3 = B.TypedReducer$(X.change_loopout_ext_properties__loopout_length_change_reducer$closure(), t1, type$.legacy_LoopoutLengthChange), + t4 = B.TypedReducer$(X.change_loopout_ext_properties__extension_num_bases_change_reducer$closure(), t1, type$.legacy_ExtensionNumBasesChange), + t5 = B.TypedReducer$(X.change_loopout_ext_properties__extension_display_length_angle_change_reducer$closure(), t1, type$.legacy_ExtensionDisplayLengthAngleSet), + t6 = B.TypedReducer$(D.insertion_deletion_reducer__insertion_deletion_reducer$closure(), t1, type$.legacy_InsertionOrDeletionAction), + t7 = B.TypedReducer$(E.strands_reducer__substrand_name_set_reducer$closure(), t1, type$.legacy_SubstrandNameSet), + t8 = B.TypedReducer$(E.strands_reducer__substrand_label_set_reducer$closure(), t1, type$.legacy_SubstrandLabelSet); + return B.combineReducers(H.setRuntimeTypeInfo([t2.get$$call(), t3.get$$call(), t4.get$$call(), t5.get$$call(), t6.get$$call(), t7.get$$call(), t8.get$$call()], H.findType("JSArray")), t1); + }); + _lazyOld($, "single_strand_reducer", "$get$single_strand_reducer", function() { + var t1 = type$.legacy_Strand, + t2 = B.TypedReducer$(E.strands_reducer__scaffold_set_reducer$closure(), t1, type$.legacy_ScaffoldSet), + t3 = B.TypedReducer$(E.strands_reducer__strand_or_substrand_color_set_reducer$closure(), t1, type$.legacy_StrandOrSubstrandColorSet), + t4 = B.TypedReducer$(E.strands_reducer__modification_add_reducer$closure(), t1, type$.legacy_ModificationAdd), + t5 = B.TypedReducer$(E.strands_reducer__extension_add_reducer$closure(), t1, type$.legacy_ExtensionAdd), + t6 = B.TypedReducer$(E.strands_reducer__modification_remove_reducer$closure(), t1, type$.legacy_ModificationRemove), + t7 = B.TypedReducer$(E.strands_reducer__modification_edit_reducer$closure(), t1, type$.legacy_ModificationEdit), + t8 = B.TypedReducer$(E.strands_reducer__strand_name_set_reducer$closure(), t1, type$.legacy_StrandNameSet), + t9 = B.TypedReducer$(E.strands_reducer__strand_label_set_reducer$closure(), t1, type$.legacy_StrandLabelSet), + t10 = B.TypedReducer$(E.strands_reducer__scale_purification_vendor_fields_assign_reducer$closure(), t1, type$.legacy_ScalePurificationVendorFieldsAssign), + t11 = B.TypedReducer$(E.strands_reducer__plate_well_vendor_fields_assign_reducer$closure(), t1, type$.legacy_PlateWellVendorFieldsAssign), + t12 = B.TypedReducer$(E.strands_reducer__plate_well_vendor_fields_remove_reducer$closure(), t1, type$.legacy_PlateWellVendorFieldsRemove), + t13 = B.TypedReducer$(E.strands_reducer__vendor_fields_remove_reducer$closure(), t1, type$.legacy_VendorFieldsRemove); + return B.combineReducers(H.setRuntimeTypeInfo([t2.get$$call(), t3.get$$call(), t4.get$$call(), t5.get$$call(), t6.get$$call(), t7.get$$call(), t8.get$$call(), t9.get$$call(), t10.get$$call(), t11.get$$call(), t12.get$$call(), t13.get$$call()], H.findType("JSArray")), t1); + }); + _lazyOld($, "undo_redo_reducer", "$get$undo_redo_reducer", function() { + var t1 = type$.legacy_AppState, + t2 = B.TypedReducer$(S.undo_redo_reducer__undo_reducer$closure(), t1, type$.legacy_Undo), + t3 = B.TypedReducer$(S.undo_redo_reducer__redo_reducer$closure(), t1, type$.legacy_Redo), + t4 = B.TypedReducer$(S.undo_redo_reducer__undo_redo_clear_reducer$closure(), t1, type$.legacy_UndoRedoClear); + return B.combineReducers(H.setRuntimeTypeInfo([t2.get$$call(), t3.get$$call(), t4.get$$call()], H.findType("JSArray")), t1); + }); + _lazyOld($, "undoable_action_reducer", "$get$undoable_action_reducer", function() { + var t1 = type$.legacy_AppState, + t2 = B.TypedReducer$(S.undo_redo_reducer__undoable_action_typed_reducer$closure(), t1, type$.legacy_UndoableAction); + return B.combineReducers(H.setRuntimeTypeInfo([t2.get$$call()], H.findType("JSArray")), t1); + }); + _lazyOld($, "serializers", "$get$serializers", function() { + return $.$get$_$serializers(); + }); + _lazyOld($, "standard_serializers", "$get$standard_serializers", function() { + var t1 = $.$get$serializers().toBuilder$0(), + t2 = type$.legacy_Type; + t1.add$1(0, new K.PointSerializer(D.BuiltList_BuiltList([C.Type_Point_Yua], t2), H.findType("PointSerializer"))); + t1.add$1(0, new K.ColorSerializer(D.BuiltList_BuiltList([C.Type_Color_w6F], t2))); + t1._plugins.add$1(0, new T.StandardJsonPlugin()); + t1.addBuilderFactory$2(C.FullType_vFp, new K.standard_serializers_closure()); + return t1.build$0(); + }); + _lazyOld($, "_$serializers", "$get$_$serializers", function() { + var t1 = U.Serializers_Serializers().toBuilder$0(); + t1.add$1(0, $.$get$_$addressSerializer()); + t1.add$1(0, $.$get$_$addressDifferenceSerializer()); + t1.add$1(0, $.$get$_$appUIStateSerializer()); + t1.add$1(0, $.$get$_$appUIStateStorablesSerializer()); + t1.add$1(0, $.$get$_$assignDNASerializer()); + t1.add$1(0, $.$get$_$assignDNAComplementFromBoundStrandsSerializer()); + t1.add$1(0, $.$get$_$assignDomainNameComplementFromBoundDomainsSerializer()); + t1.add$1(0, $.$get$_$assignDomainNameComplementFromBoundStrandsSerializer()); + t1.add$1(0, $.$get$_$autoPasteInitiateSerializer()); + t1.add$1(0, $.$get$_$autobreakSerializer()); + t1.add$1(0, $.$get$_$autofitSetSerializer()); + t1.add$1(0, $.$get$_$autostapleSerializer()); + t1.add$1(0, $.$get$_$basePairDisplayTypeSerializer()); + t1.add$1(0, $.$get$_$basePairTypeSetSerializer()); + t1.add$1(0, $.$get$_$batchActionSerializer()); + t1.add$1(0, $.$get$_$clearHelixSelectionWhenLoadingNewDesignSetSerializer()); + t1.add$1(0, $.$get$_$contextMenuSerializer()); + t1.add$1(0, $.$get$_$contextMenuHideSerializer()); + t1.add$1(0, $.$get$_$contextMenuItemSerializer()); + t1.add$1(0, $.$get$_$contextMenuShowSerializer()); + t1.add$1(0, $.$get$_$convertCrossoverToLoopoutSerializer()); + t1.add$1(0, $.$get$_$convertCrossoversToLoopoutsSerializer()); + t1.add$1(0, $.$get$_$copyInfoSerializer()); + t1.add$1(0, $.$get$_$copySelectedStandsToClipboardImageSerializer()); + t1.add$1(0, $.$get$_$copySelectedStrandsSerializer()); + t1.add$1(0, $.$get$_$crossoverSerializer()); + t1.add$1(0, $.$get$_$dNAAssignOptionsSerializer()); + t1.add$1(0, $.$get$_$dNAEndSerializer()); + t1.add$1(0, $.$get$_$dNAEndMoveSerializer()); + t1.add$1(0, $.$get$_$dNAEndsMoveSerializer()); + t1.add$1(0, $.$get$_$dNAEndsMoveAdjustOffsetSerializer()); + t1.add$1(0, $.$get$_$dNAEndsMoveCommitSerializer()); + t1.add$1(0, $.$get$_$dNAEndsMoveSetSelectedEndsSerializer()); + t1.add$1(0, $.$get$_$dNAEndsMoveStartSerializer()); + t1.add$1(0, $.$get$_$dNAEndsMoveStopSerializer()); + t1.add$1(0, $.$get$_$dNAExtensionMoveSerializer()); + t1.add$1(0, $.$get$_$dNAExtensionsMoveSerializer()); + t1.add$1(0, $.$get$_$dNAExtensionsMoveAdjustPositionSerializer()); + t1.add$1(0, $.$get$_$dNAExtensionsMoveCommitSerializer()); + t1.add$1(0, $.$get$_$dNAExtensionsMoveSetSelectedExtensionEndsSerializer()); + t1.add$1(0, $.$get$_$dNAExtensionsMoveStartSerializer()); + t1.add$1(0, $.$get$_$dNAExtensionsMoveStopSerializer()); + t1.add$1(0, $.$get$_$dNAFileTypeSerializer()); + t1.add$1(0, $.$get$_$dNASequencePredefinedSerializer()); + t1.add$1(0, $.$get$_$defaultCrossoverTypeForSettingHelixRollsSetSerializer()); + t1.add$1(0, $.$get$_$deleteAllSelectedSerializer()); + t1.add$1(0, $.$get$_$deletionAddSerializer()); + t1.add$1(0, $.$get$_$deletionRemoveSerializer()); + t1.add$1(0, $.$get$_$designSideRotationDataSerializer()); + t1.add$1(0, $.$get$_$designSideRotationParamsSerializer()); + t1.add$1(0, $.$get$_$dialogSerializer()); + t1.add$1(0, $.$get$_$dialogCheckboxSerializer()); + t1.add$1(0, $.$get$_$dialogFloatSerializer()); + t1.add$1(0, $.$get$_$dialogHideSerializer()); + t1.add$1(0, $.$get$_$dialogIntegerSerializer()); + t1.add$1(0, $.$get$_$dialogLinkSerializer()); + t1.add$1(0, $.$get$_$dialogRadioSerializer()); + t1.add$1(0, $.$get$_$dialogShowSerializer()); + t1.add$1(0, $.$get$_$dialogTextSerializer()); + t1.add$1(0, $.$get$_$dialogTextAreaSerializer()); + t1.add$1(0, $.$get$_$dialogTypeSerializer()); + t1.add$1(0, $.$get$_$disablePngCachingDnaSequencesSetSerializer()); + t1.add$1(0, $.$get$_$displayMajorTicksOffsetsSetSerializer()); + t1.add$1(0, $.$get$_$displayReverseDNARightSideUpSetSerializer()); + t1.add$1(0, $.$get$_$domainSerializer()); + t1.add$1(0, $.$get$_$domainLabelFontSizeSetSerializer()); + t1.add$1(0, $.$get$_$domainNameFontSizeSetSerializer()); + t1.add$1(0, $.$get$_$domainNameMismatchSerializer()); + t1.add$1(0, $.$get$_$domainsMoveSerializer()); + t1.add$1(0, $.$get$_$domainsMoveAdjustAddressSerializer()); + t1.add$1(0, $.$get$_$domainsMoveCommitSerializer()); + t1.add$1(0, $.$get$_$domainsMoveStartSelectedDomainsSerializer()); + t1.add$1(0, $.$get$_$domainsMoveStopSerializer()); + t1.add$1(0, $.$get$_$dynamicHelixUpdateSetSerializer()); + t1.add$1(0, $.$get$_$editModeChoiceSerializer()); + t1.add$1(0, $.$get$_$editModeToggleSerializer()); + t1.add$1(0, $.$get$_$editModesSetSerializer()); + t1.add$1(0, $.$get$_$errorMessageSetSerializer()); + t1.add$1(0, $.$get$_$exampleDesignsSerializer()); + t1.add$1(0, $.$get$_$exampleDesignsLoadSerializer()); + t1.add$1(0, $.$get$_$exportCadnanoFileSerializer()); + t1.add$1(0, $.$get$_$exportCodenanoFileSerializer()); + t1.add$1(0, $.$get$_$exportDNASerializer()); + t1.add$1(0, $.$get$_$exportDNAFormatSerializer()); + t1.add$1(0, $.$get$_$exportSvgSerializer()); + t1.add$1(0, $.$get$_$exportSvgTextSeparatelySetSerializer()); + t1.add$1(0, $.$get$_$extensionSerializer()); + t1.add$1(0, $.$get$_$extensionAddSerializer()); + t1.add$1(0, $.$get$_$extensionDisplayLengthAngleSetSerializer()); + t1.add$1(0, $.$get$_$extensionNumBasesChangeSerializer()); + t1.add$1(0, $.$get$_$extensionsNumBasesChangeSerializer()); + t1.add$1(0, $.$get$_$geometrySerializer()); + t1.add$1(0, $.$get$_$geometrySetSerializer()); + t1.add$1(0, $.$get$_$gridSerializer()); + t1.add$1(0, $.$get$_$gridChangeSerializer()); + t1.add$1(0, $.$get$_$gridPositionSerializer()); + t1.add$1(0, $.$get$_$groupAddSerializer()); + t1.add$1(0, $.$get$_$groupChangeSerializer()); + t1.add$1(0, $.$get$_$groupDisplayedChangeSerializer()); + t1.add$1(0, $.$get$_$groupRemoveSerializer()); + t1.add$1(0, $.$get$_$helicesPositionsSetBasedOnCrossoversSerializer()); + t1.add$1(0, $.$get$_$helixSerializer()); + t1.add$1(0, $.$get$_$helixAddSerializer()); + t1.add$1(0, $.$get$_$helixGridPositionSetSerializer()); + t1.add$1(0, $.$get$_$helixGroupSerializer()); + t1.add$1(0, $.$get$_$helixGroupMoveSerializer()); + t1.add$1(0, $.$get$_$helixGroupMoveAdjustTranslationSerializer()); + t1.add$1(0, $.$get$_$helixGroupMoveCommitSerializer()); + t1.add$1(0, $.$get$_$helixGroupMoveCreateSerializer()); + t1.add$1(0, $.$get$_$helixGroupMoveStartSerializer()); + t1.add$1(0, $.$get$_$helixGroupMoveStopSerializer()); + t1.add$1(0, $.$get$_$helixIdxsChangeSerializer()); + t1.add$1(0, $.$get$_$helixMajorTickDistanceChangeSerializer()); + t1.add$1(0, $.$get$_$helixMajorTickDistanceChangeAllSerializer()); + t1.add$1(0, $.$get$_$helixMajorTickPeriodicDistancesChangeSerializer()); + t1.add$1(0, $.$get$_$helixMajorTickPeriodicDistancesChangeAllSerializer()); + t1.add$1(0, $.$get$_$helixMajorTickStartChangeSerializer()); + t1.add$1(0, $.$get$_$helixMajorTickStartChangeAllSerializer()); + t1.add$1(0, $.$get$_$helixMajorTicksChangeSerializer()); + t1.add$1(0, $.$get$_$helixMajorTicksChangeAllSerializer()); + t1.add$1(0, $.$get$_$helixMaxOffsetSetByDomainsSerializer()); + t1.add$1(0, $.$get$_$helixMaxOffsetSetByDomainsAllSerializer()); + t1.add$1(0, $.$get$_$helixMaxOffsetSetByDomainsAllSameMaxSerializer()); + t1.add$1(0, $.$get$_$helixMinOffsetSetByDomainsSerializer()); + t1.add$1(0, $.$get$_$helixMinOffsetSetByDomainsAllSerializer()); + t1.add$1(0, $.$get$_$helixOffsetChangeSerializer()); + t1.add$1(0, $.$get$_$helixOffsetChangeAllSerializer()); + t1.add$1(0, $.$get$_$helixPositionSetSerializer()); + t1.add$1(0, $.$get$_$helixRemoveSerializer()); + t1.add$1(0, $.$get$_$helixRemoveAllSelectedSerializer()); + t1.add$1(0, $.$get$_$helixRollSetSerializer()); + t1.add$1(0, $.$get$_$helixRollSetAtOtherSerializer()); + t1.add$1(0, $.$get$_$helixSelectSerializer()); + t1.add$1(0, $.$get$_$helixSelectionsAdjustSerializer()); + t1.add$1(0, $.$get$_$helixSelectionsClearSerializer()); + t1.add$1(0, $.$get$_$inlineInsertionsDeletionsSerializer()); + t1.add$1(0, $.$get$_$insertionSerializer()); + t1.add$1(0, $.$get$_$insertionAddSerializer()); + t1.add$1(0, $.$get$_$insertionLengthChangeSerializer()); + t1.add$1(0, $.$get$_$insertionRemoveSerializer()); + t1.add$1(0, $.$get$_$insertionsLengthChangeSerializer()); + t1.add$1(0, $.$get$_$invertYSetSerializer()); + t1.add$1(0, $.$get$_$joinStrandsByCrossoverSerializer()); + t1.add$1(0, $.$get$_$joinStrandsByMultipleCrossoversSerializer()); + t1.add$1(0, $.$get$_$ligateSerializer()); + t1.add$1(0, $.$get$_$lineSerializer()); + t1.add$1(0, $.$get$_$loadDNAFileSerializer()); + t1.add$1(0, $.$get$_$loadDnaSequenceImageUriSerializer()); + t1.add$1(0, $.$get$_$loadingDialogHideSerializer()); + t1.add$1(0, $.$get$_$loadingDialogShowSerializer()); + t1.add$1(0, $.$get$_$localStorageDesignChoiceSerializer()); + t1.add$1(0, $.$get$_$localStorageDesignChoiceSetSerializer()); + t1.add$1(0, $.$get$_$localStorageDesignOptionSerializer()); + t1.add$1(0, $.$get$_$loopoutSerializer()); + t1.add$1(0, $.$get$_$loopoutLengthChangeSerializer()); + t1.add$1(0, $.$get$_$loopoutsLengthChangeSerializer()); + t1.add$1(0, $.$get$_$majorTickOffsetFontSizeSetSerializer()); + t1.add$1(0, $.$get$_$majorTickWidthFontSizeSetSerializer()); + t1.add$1(0, $.$get$_$manualPasteInitiateSerializer()); + t1.add$1(0, $.$get$_$modification3PrimeSerializer()); + t1.add$1(0, $.$get$_$modification5PrimeSerializer()); + t1.add$1(0, $.$get$_$modificationAddSerializer()); + t1.add$1(0, $.$get$_$modificationConnectorLengthSetSerializer()); + t1.add$1(0, $.$get$_$modificationEditSerializer()); + t1.add$1(0, $.$get$_$modificationFontSizeSetSerializer()); + t1.add$1(0, $.$get$_$modificationInternalSerializer()); + t1.add$1(0, $.$get$_$modificationRemoveSerializer()); + t1.add$1(0, $.$get$_$modificationTypeSerializer()); + t1.add$1(0, $.$get$_$modifications3PrimeEditSerializer()); + t1.add$1(0, $.$get$_$modifications5PrimeEditSerializer()); + t1.add$1(0, $.$get$_$modificationsInternalEditSerializer()); + t1.add$1(0, $.$get$_$mouseGridPositionSideClearSerializer()); + t1.add$1(0, $.$get$_$mouseGridPositionSideUpdateSerializer()); + t1.add$1(0, $.$get$_$mousePositionSideClearSerializer()); + t1.add$1(0, $.$get$_$mousePositionSideUpdateSerializer()); + t1.add$1(0, $.$get$_$mouseoverDataSerializer()); + t1.add$1(0, $.$get$_$mouseoverDataClearSerializer()); + t1.add$1(0, $.$get$_$mouseoverDataUpdateSerializer()); + t1.add$1(0, $.$get$_$mouseoverParamsSerializer()); + t1.add$1(0, $.$get$_$moveHelicesToGroupSerializer()); + t1.add$1(0, $.$get$_$moveLinkerSerializer()); + t1.add$1(0, $.$get$_$newDesignSetSerializer()); + t1.add$1(0, $.$get$_$nickSerializer()); + t1.add$1(0, $.$get$_$oxExportOnlySelectedStrandsSetSerializer()); + t1.add$1(0, $.$get$_$oxdnaExportSerializer()); + t1.add$1(0, $.$get$_$oxviewExportSerializer()); + t1.add$1(0, $.$get$_$oxviewShowSetSerializer()); + t1.add$1(0, $.$get$_$plateWellVendorFieldsAssignSerializer()); + t1.add$1(0, $.$get$_$plateWellVendorFieldsRemoveSerializer()); + t1.add$1(0, $.$get$_$position3DSerializer()); + t1.add$1(0, $.$get$_$potentialCrossoverSerializer()); + t1.add$1(0, $.$get$_$potentialCrossoverCreateSerializer()); + t1.add$1(0, $.$get$_$potentialCrossoverMoveSerializer()); + t1.add$1(0, $.$get$_$potentialCrossoverRemoveSerializer()); + t1.add$1(0, $.$get$_$potentialVerticalCrossoverSerializer()); + t1.add$1(0, $.$get$_$prepareToLoadDNAFileSerializer()); + t1.add$1(0, $.$get$_$redoSerializer()); + t1.add$1(0, $.$get$_$relaxHelixRollsSerializer()); + t1.add$1(0, $.$get$_$removeDNASerializer()); + t1.add$1(0, $.$get$_$replaceStrandsSerializer()); + t1.add$1(0, $.$get$_$resetLocalStorageSerializer()); + t1.add$1(0, $.$get$_$retainStrandColorOnSelectionSetSerializer()); + t1.add$1(0, $.$get$_$saveDNAFileSerializer()); + t1.add$1(0, $.$get$_$scaffoldSetSerializer()); + t1.add$1(0, $.$get$_$scalePurificationVendorFieldsAssignSerializer()); + t1.add$1(0, $.$get$_$selectSerializer()); + t1.add$1(0, $.$get$_$selectAllSerializer()); + t1.add$1(0, $.$get$_$selectAllSelectableSerializer()); + t1.add$1(0, $.$get$_$selectAllWithSameAsSelectedSerializer()); + t1.add$1(0, $.$get$_$selectModeChoiceSerializer()); + t1.add$1(0, $.$get$_$selectModeStateSerializer()); + t1.add$1(0, $.$get$_$selectModeToggleSerializer()); + t1.add$1(0, $.$get$_$selectModesAddSerializer()); + t1.add$1(0, $.$get$_$selectModesSetSerializer()); + t1.add$1(0, $.$get$_$selectOrToggleItemsSerializer()); + t1.add$1(0, $.$get$_$selectableDeletionSerializer()); + t1.add$1(0, $.$get$_$selectableInsertionSerializer()); + t1.add$1(0, $.$get$_$selectableModification3PrimeSerializer()); + t1.add$1(0, $.$get$_$selectableModification5PrimeSerializer()); + t1.add$1(0, $.$get$_$selectableModificationInternalSerializer()); + t1.add$1(0, $.$get$_$selectableTraitSerializer()); + t1.add$1(0, $.$get$_$selectablesStoreSerializer()); + t1.add$1(0, $.$get$_$selectionBoxSerializer()); + t1.add$1(0, $.$get$_$selectionBoxCreateSerializer()); + t1.add$1(0, $.$get$_$selectionBoxIntersectionRuleSetSerializer()); + t1.add$1(0, $.$get$_$selectionBoxRemoveSerializer()); + t1.add$1(0, $.$get$_$selectionBoxSizeChangeSerializer()); + t1.add$1(0, $.$get$_$selectionRopeSerializer()); + t1.add$1(0, $.$get$_$selectionRopeAddPointSerializer()); + t1.add$1(0, $.$get$_$selectionRopeCreateSerializer()); + t1.add$1(0, $.$get$_$selectionRopeMouseMoveSerializer()); + t1.add$1(0, $.$get$_$selectionRopeRemoveSerializer()); + t1.add$1(0, $.$get$_$selectionsAdjustMainViewSerializer()); + t1.add$1(0, $.$get$_$selectionsClearSerializer()); + t1.add$1(0, $.$get$_$setAppUIStateStorableSerializer()); + t1.add$1(0, $.$get$_$setDisplayBaseOffsetsOfMajorTicksOnlyFirstHelixSerializer()); + t1.add$1(0, $.$get$_$setDisplayMajorTickWidthsSerializer()); + t1.add$1(0, $.$get$_$setDisplayMajorTickWidthsAllHelicesSerializer()); + t1.add$1(0, $.$get$_$setExportSvgActionDelayedForPngCacheSerializer()); + t1.add$1(0, $.$get$_$setIsZoomAboveThresholdSerializer()); + t1.add$1(0, $.$get$_$setModificationDisplayConnectorSerializer()); + t1.add$1(0, $.$get$_$setOnlyDisplaySelectedHelicesSerializer()); + t1.add$1(0, $.$get$_$showAxisArrowsSetSerializer()); + t1.add$1(0, $.$get$_$showBasePairLinesSetSerializer()); + t1.add$1(0, $.$get$_$showBasePairLinesWithMismatchesSetSerializer()); + t1.add$1(0, $.$get$_$showDNASetSerializer()); + t1.add$1(0, $.$get$_$showDomainLabelsSetSerializer()); + t1.add$1(0, $.$get$_$showDomainNameMismatchesSetSerializer()); + t1.add$1(0, $.$get$_$showDomainNamesSetSerializer()); + t1.add$1(0, $.$get$_$showEditMenuToggleSerializer()); + t1.add$1(0, $.$get$_$showGridCoordinatesSideViewSetSerializer()); + t1.add$1(0, $.$get$_$showHelixCirclesMainViewSetSerializer()); + t1.add$1(0, $.$get$_$showHelixComponentsMainViewSetSerializer()); + t1.add$1(0, $.$get$_$showLoopoutExtensionLengthSetSerializer()); + t1.add$1(0, $.$get$_$showMismatchesSetSerializer()); + t1.add$1(0, $.$get$_$showModificationsSetSerializer()); + t1.add$1(0, $.$get$_$showMouseoverDataSetSerializer()); + t1.add$1(0, $.$get$_$showMouseoverRectSetSerializer()); + t1.add$1(0, $.$get$_$showMouseoverRectToggleSerializer()); + t1.add$1(0, $.$get$_$showSliceBarSetSerializer()); + t1.add$1(0, $.$get$_$showStrandLabelsSetSerializer()); + t1.add$1(0, $.$get$_$showStrandNamesSetSerializer()); + t1.add$1(0, $.$get$_$showUnpairedInsertionDeletionsSetSerializer()); + t1.add$1(0, $.$get$_$sliceBarMoveStartSerializer()); + t1.add$1(0, $.$get$_$sliceBarMoveStopSerializer()); + t1.add$1(0, $.$get$_$sliceBarOffsetSetSerializer()); + t1.add$1(0, $.$get$_$strandSerializer()); + t1.add$1(0, $.$get$_$strandCreateAdjustOffsetSerializer()); + t1.add$1(0, $.$get$_$strandCreateCommitSerializer()); + t1.add$1(0, $.$get$_$strandCreateStartSerializer()); + t1.add$1(0, $.$get$_$strandCreateStopSerializer()); + t1.add$1(0, $.$get$_$strandCreationSerializer()); + t1.add$1(0, $.$get$_$strandLabelFontSizeSetSerializer()); + t1.add$1(0, $.$get$_$strandLabelSetSerializer()); + t1.add$1(0, $.$get$_$strandNameFontSizeSetSerializer()); + t1.add$1(0, $.$get$_$strandNameSetSerializer()); + t1.add$1(0, $.$get$_$strandOrSubstrandColorPickerHideSerializer()); + t1.add$1(0, $.$get$_$strandOrSubstrandColorPickerShowSerializer()); + t1.add$1(0, $.$get$_$strandOrSubstrandColorSetSerializer()); + t1.add$1(0, $.$get$_$strandOrderSerializer()); + t1.add$1(0, $.$get$_$strandPasteKeepColorSetSerializer()); + t1.add$1(0, $.$get$_$strandsMoveSerializer()); + t1.add$1(0, $.$get$_$strandsMoveAdjustAddressSerializer()); + t1.add$1(0, $.$get$_$strandsMoveCommitSerializer()); + t1.add$1(0, $.$get$_$strandsMoveStartSerializer()); + t1.add$1(0, $.$get$_$strandsMoveStartSelectedStrandsSerializer()); + t1.add$1(0, $.$get$_$strandsMoveStopSerializer()); + t1.add$1(0, $.$get$_$strandsReflectSerializer()); + t1.add$1(0, $.$get$_$substrandLabelSetSerializer()); + t1.add$1(0, $.$get$_$substrandNameSetSerializer()); + t1.add$1(0, $.$get$_$throttledActionFastSerializer()); + t1.add$1(0, $.$get$_$throttledActionNonFastSerializer()); + t1.add$1(0, $.$get$_$undoSerializer()); + t1.add$1(0, $.$get$_$undoRedoClearSerializer()); + t1.add$1(0, $.$get$_$undoRedoItemSerializer()); + t1.add$1(0, $.$get$_$vendorFieldsSerializer()); + t1.add$1(0, $.$get$_$vendorFieldsRemoveSerializer()); + t1.add$1(0, $.$get$_$warnOnExitIfUnsavedSetSerializer()); + t1.add$1(0, $.$get$_$zoomSpeedSetSerializer()); + t1.addBuilderFactory$2(C.FullType_91n, new K._$serializers_closure()); + t1.addBuilderFactory$2(C.FullType_91n, new K._$serializers_closure0()); + t1.addBuilderFactory$2(C.FullType_EOY, new K._$serializers_closure1()); + t1.addBuilderFactory$2(C.FullType_TgZ, new K._$serializers_closure2()); + t1.addBuilderFactory$2(C.FullType_TgZ, new K._$serializers_closure3()); + t1.addBuilderFactory$2(C.FullType_Y8O, new K._$serializers_closure4()); + t1.addBuilderFactory$2(C.FullType_j5B, new K._$serializers_closure5()); + t1.addBuilderFactory$2(C.FullType_j5B, new K._$serializers_closure6()); + t1.addBuilderFactory$2(C.FullType_Y8O, new K._$serializers_closure7()); + t1.addBuilderFactory$2(C.FullType_UGn, new K._$serializers_closure8()); + t1.addBuilderFactory$2(C.FullType_UWS, new K._$serializers_closure9()); + t1.addBuilderFactory$2(C.FullType_4QF, new K._$serializers_closure10()); + t1.addBuilderFactory$2(C.FullType_i3t, new K._$serializers_closure11()); + t1.addBuilderFactory$2(C.FullType_i3t, new K._$serializers_closure12()); + t1.addBuilderFactory$2(C.FullType_4QF0, new K._$serializers_closure13()); + t1.addBuilderFactory$2(C.FullType_dli, new K._$serializers_closure14()); + t1.addBuilderFactory$2(C.FullType_dli, new K._$serializers_closure15()); + t1.addBuilderFactory$2(C.FullType_dli, new K._$serializers_closure16()); + t1.addBuilderFactory$2(C.FullType_Qc0, new K._$serializers_closure17()); + t1.addBuilderFactory$2(C.FullType_m48, new K._$serializers_closure18()); + t1.addBuilderFactory$2(C.FullType_2No, new K._$serializers_closure19()); + t1.addBuilderFactory$2(C.FullType_oyU, new K._$serializers_closure20()); + t1.addBuilderFactory$2(C.FullType_gg4, new K._$serializers_closure21()); + t1.addBuilderFactory$2(C.FullType_i7r, new K._$serializers_closure22()); + t1.addBuilderFactory$2(C.FullType_dli, new K._$serializers_closure23()); + t1.addBuilderFactory$2(C.FullType_H9I, new K._$serializers_closure24()); + t1.addBuilderFactory$2(C.FullType_yLX, new K._$serializers_closure25()); + t1.addBuilderFactory$2(C.FullType_i3t, new K._$serializers_closure26()); + t1.addBuilderFactory$2(C.FullType_AFm, new K._$serializers_closure27()); + t1.addBuilderFactory$2(C.FullType_EyI, new K._$serializers_closure28()); + t1.addBuilderFactory$2(C.FullType_AgZ, new K._$serializers_closure29()); + t1.addBuilderFactory$2(C.FullType_ox4, new K._$serializers_closure30()); + t1.addBuilderFactory$2(C.FullType_ox4, new K._$serializers_closure31()); + t1.addBuilderFactory$2(C.FullType_ox4, new K._$serializers_closure32()); + t1.addBuilderFactory$2(C.FullType_mPa, new K._$serializers_closure33()); + t1.addBuilderFactory$2(C.FullType_SGU, new K._$serializers_closure34()); + t1.addBuilderFactory$2(C.FullType_SGU0, new K._$serializers_closure35()); + t1.addBuilderFactory$2(C.FullType_Gat, new K._$serializers_closure36()); + t1.addBuilderFactory$2(C.FullType_2No, new K._$serializers_closure37()); + t1.addBuilderFactory$2(C.FullType_2No, new K._$serializers_closure38()); + t1.addBuilderFactory$2(C.FullType_2No, new K._$serializers_closure39()); + t1.addBuilderFactory$2(C.FullType_2No, new K._$serializers_closure40()); + t1.addBuilderFactory$2(C.FullType_2No, new K._$serializers_closure41()); + t1.addBuilderFactory$2(C.FullType_Qc0, new K._$serializers_closure42()); + t1.addBuilderFactory$2(C.FullType_m48, new K._$serializers_closure43()); + t1.addBuilderFactory$2(C.FullType_oyU, new K._$serializers_closure44()); + t1.addBuilderFactory$2(C.FullType_2No, new K._$serializers_closure45()); + t1.addBuilderFactory$2(C.FullType_4QF0, new K._$serializers_closure46()); + t1.addBuilderFactory$2(C.FullType_oyU, new K._$serializers_closure47()); + t1.addBuilderFactory$2(C.FullType_2No, new K._$serializers_closure48()); + t1.addBuilderFactory$2(C.FullType_oyU, new K._$serializers_closure49()); + t1.addBuilderFactory$2(C.FullType_6m4, new K._$serializers_closure50()); + t1.addBuilderFactory$2(C.FullType_6m4, new K._$serializers_closure51()); + t1.addBuilderFactory$2(C.FullType_6m4, new K._$serializers_closure52()); + t1.addBuilderFactory$2(C.FullType_3HJ, new K._$serializers_closure53()); + t1.addBuilderFactory$2(C.FullType_d1y, new K._$serializers_closure54()); + t1.addBuilderFactory$2(C.FullType_YGD, new K._$serializers_closure55()); + t1.addBuilderFactory$2(C.FullType_4QF0, new K._$serializers_closure56()); + t1.addBuilderFactory$2(C.FullType_4QF0, new K._$serializers_closure57()); + t1.addBuilderFactory$2(C.FullType_4QF0, new K._$serializers_closure58()); + t1.addBuilderFactory$2(C.FullType_4QF0, new K._$serializers_closure59()); + t1.addBuilderFactory$2(C.FullType_4QF0, new K._$serializers_closure60()); + t1.addBuilderFactory$2(C.FullType_4QF0, new K._$serializers_closure61()); + t1.addBuilderFactory$2(C.FullType_4QF0, new K._$serializers_closure62()); + t1.addBuilderFactory$2(C.FullType_i7r, new K._$serializers_closure63()); + t1.addBuilderFactory$2(C.FullType_4QF0, new K._$serializers_closure64()); + t1.addBuilderFactory$2(C.FullType_4QF0, new K._$serializers_closure65()); + t1.addBuilderFactory$2(C.FullType_8aB, new K._$serializers_closure66()); + t1.addBuilderFactory$2(C.FullType_8aB, new K._$serializers_closure67()); + t1.addBuilderFactory$2(C.FullType_Qc0, new K._$serializers_closure68()); + t1.addBuilderFactory$2(C.FullType_vpC, new K._$serializers_closure69()); + t1.addBuilderFactory$2(C.FullType_oyU, new K._$serializers_closure70()); + t1.addBuilderFactory$2(C.FullType_oyU, new K._$serializers_closure71()); + t1.addBuilderFactory$2(C.FullType_oyU, new K._$serializers_closure72()); + t1.addBuilderFactory$2(C.FullType_kiE, new K._$serializers_closure73()); + t1.addBuilderFactory$2(C.FullType_kiE, new K._$serializers_closure74()); + t1.addBuilderFactory$2(C.FullType_MQk, new K._$serializers_closure75()); + t1.addBuilderFactory$2(C.FullType_2aQ, new K._$serializers_closure76()); + t1.addBuilderFactory$2(C.FullType_2aQ, new K._$serializers_closure77()); + t1.addBuilderFactory$2(C.FullType_zrt, new K._$serializers_closure78()); + t1.addBuilderFactory$2(C.FullType_Mnt, new K._$serializers_closure79()); + t1.addBuilderFactory$2(C.FullType_8aB, new K._$serializers_closure80()); + return t1.build$0(); + }); + _lazyOld($, "_$addressSerializer", "$get$_$addressSerializer", function() { + return new Z._$AddressSerializer(); + }); + _lazyOld($, "_$addressDifferenceSerializer", "$get$_$addressDifferenceSerializer", function() { + return new Z._$AddressDifferenceSerializer(); + }); + _lazyOld($, "DEFAULT_AppState", "$get$DEFAULT_AppState", function() { + return T.AppStateBuilder$().build$0(); + }); + _lazyOld($, "DEFAULT_AppUIState", "$get$DEFAULT_AppUIState", function() { + return Q.AppUIStateBuilder$().build$0(); + }); + _lazyOld($, "_$appUIStateSerializer", "$get$_$appUIStateSerializer", function() { + return new Q._$AppUIStateSerializer(); + }); + _lazyOld($, "DEFAULT_AppUIStateStorable", "$get$DEFAULT_AppUIStateStorable", function() { + return B.AppUIStateStorablesBuilder$().build$0(); + }); + _lazyOld($, "_$appUIStateStorablesSerializer", "$get$_$appUIStateStorablesSerializer", function() { + return new B._$AppUIStateStorablesSerializer(); + }); + _lazyOld($, "BasePairDisplayType_types", "$get$BasePairDisplayType_types", function() { + return D.BuiltListIterableExtension_toBuiltList(C.List_KxA, type$.legacy_BasePairDisplayType); + }); + _lazyOld($, "_$basePairDisplayTypeSerializer", "$get$_$basePairDisplayTypeSerializer", function() { + return new L._$BasePairDisplayTypeSerializer(); + }); + _lazyOld($, "_$contextMenuSerializer", "$get$_$contextMenuSerializer", function() { + return new B._$ContextMenuSerializer(); + }); + _lazyOld($, "_$contextMenuItemSerializer", "$get$_$contextMenuItemSerializer", function() { + return new B._$ContextMenuItemSerializer(); + }); + _lazyOld($, "_$copyInfoSerializer", "$get$_$copyInfoSerializer", function() { + return new B._$CopyInfoSerializer(); + }); + _lazyOld($, "_$crossoverSerializer", "$get$_$crossoverSerializer", function() { + return new T._$CrossoverSerializer(); + }); + _lazyOld($, "_wc_table", "$get$_wc_table", function() { + var t1 = type$.legacy_int; + return P.LinkedHashMap_LinkedHashMap$_literal([65, 84, 84, 65, 71, 67, 67, 71, 97, 116, 116, 97, 103, 99, 99, 103], t1, t1); + }); + _lazyOld($, "_$designSideRotationParamsSerializer", "$get$_$designSideRotationParamsSerializer", function() { + return new V._$DesignSideRotationParamsSerializer(); + }); + _lazyOld($, "_$designSideRotationDataSerializer", "$get$_$designSideRotationDataSerializer", function() { + return new V._$DesignSideRotationDataSerializer(); + }); + _lazyOld($, "_$dialogTypeSerializer", "$get$_$dialogTypeSerializer", function() { + return new E._$DialogTypeSerializer(); + }); + _lazyOld($, "_$dialogSerializer", "$get$_$dialogSerializer", function() { + return new E._$DialogSerializer(); + }); + _lazyOld($, "_$dialogIntegerSerializer", "$get$_$dialogIntegerSerializer", function() { + return new E._$DialogIntegerSerializer(); + }); + _lazyOld($, "_$dialogFloatSerializer", "$get$_$dialogFloatSerializer", function() { + return new E._$DialogFloatSerializer(); + }); + _lazyOld($, "_$dialogTextSerializer", "$get$_$dialogTextSerializer", function() { + return new E._$DialogTextSerializer(); + }); + _lazyOld($, "_$dialogTextAreaSerializer", "$get$_$dialogTextAreaSerializer", function() { + return new E._$DialogTextAreaSerializer(); + }); + _lazyOld($, "_$dialogCheckboxSerializer", "$get$_$dialogCheckboxSerializer", function() { + return new E._$DialogCheckboxSerializer(); + }); + _lazyOld($, "_$dialogRadioSerializer", "$get$_$dialogRadioSerializer", function() { + return new E._$DialogRadioSerializer(); + }); + _lazyOld($, "_$dialogLinkSerializer", "$get$_$dialogLinkSerializer", function() { + return new E._$DialogLinkSerializer(); + }); + _lazyOld($, "DEFAULT_dna_assign_options_builder", "$get$DEFAULT_dna_assign_options_builder", function() { + return X.DNAAssignOptionsBuilder$(); + }); + _lazyOld($, "_$dNAAssignOptionsSerializer", "$get$_$dNAAssignOptionsSerializer", function() { + return new X._$DNAAssignOptionsSerializer(); + }); + _lazyOld($, "_$dNAEndSerializer", "$get$_$dNAEndSerializer", function() { + return new Z._$DNAEndSerializer(); + }); + _lazyOld($, "_$dNAEndsMoveSerializer", "$get$_$dNAEndsMoveSerializer", function() { + return new B._$DNAEndsMoveSerializer(); + }); + _lazyOld($, "_$dNAEndMoveSerializer", "$get$_$dNAEndMoveSerializer", function() { + return new B._$DNAEndMoveSerializer(); + }); + _lazyOld($, "_$dNAExtensionsMoveSerializer", "$get$_$dNAExtensionsMoveSerializer", function() { + return new K._$DNAExtensionsMoveSerializer(); + }); + _lazyOld($, "_$dNAExtensionMoveSerializer", "$get$_$dNAExtensionMoveSerializer", function() { + return new K._$DNAExtensionMoveSerializer(); + }); + _lazyOld($, "_$insertionSerializer", "$get$_$insertionSerializer", function() { + return new G._$InsertionSerializer(); + }); + _lazyOld($, "_$domainSerializer", "$get$_$domainSerializer", function() { + return new G._$DomainSerializer(); + }); + _lazyOld($, "_$domainNameMismatchSerializer", "$get$_$domainNameMismatchSerializer", function() { + return new B._$DomainNameMismatchSerializer(); + }); + _lazyOld($, "_$domainsMoveSerializer", "$get$_$domainsMoveSerializer", function() { + return new V._$DomainsMoveSerializer(); + }); + _lazyOld($, "_$values1", "$get$_$values", function() { + return X.BuiltSet_BuiltSet(C.List_yjH, type$.legacy_EditModeChoice); + }); + _lazyOld($, "_$editModeChoiceSerializer", "$get$_$editModeChoiceSerializer", function() { + return new M._$EditModeChoiceSerializer(); + }); + _lazyOld($, "DEFAULT_example_designs_builder", "$get$DEFAULT_example_designs_builder", function() { + return K.ExampleDesignsBuilder$(); + }); + _lazyOld($, "_$exampleDesignsSerializer", "$get$_$exampleDesignsSerializer", function() { + return new K._$ExampleDesignsSerializer(); + }); + _lazyOld($, "_$values2", "$get$_$values2", function() { + return X.BuiltSet_BuiltSet(C.List_FYo, type$.legacy_ExportDNAFormat); + }); + _lazyOld($, "_$exportDNAFormatSerializer", "$get$_$exportDNAFormatSerializer", function() { + return new D._$ExportDNAFormatSerializer(); + }); + _lazyOld($, "_$values3", "$get$_$values3", function() { + return X.BuiltSet_BuiltSet(C.List_yHF, type$.legacy_StrandOrder); + }); + _lazyOld($, "_$strandOrderSerializer", "$get$_$strandOrderSerializer", function() { + return new O._$StrandOrderSerializer(); + }); + _lazyOld($, "_$extensionSerializer", "$get$_$extensionSerializer", function() { + return new S._$ExtensionSerializer(); + }); + _lazyOld($, "_$geometrySerializer", "$get$_$geometrySerializer", function() { + return new N._$GeometrySerializer(); + }); + _lazyOld($, "_$values4", "$get$_$values1", function() { + return X.BuiltSet_BuiltSet(C.List_hLM, type$.legacy_Grid); + }); + _lazyOld($, "_$gridSerializer", "$get$_$gridSerializer", function() { + return new S._$GridSerializer(); + }); + _lazyOld($, "_$gridPositionSerializer", "$get$_$gridPositionSerializer", function() { + return new D._$GridPositionSerializer(); + }); + _lazyOld($, "DEFAULT_HelixGroup", "$get$DEFAULT_HelixGroup", function() { + return O.HelixGroupBuilder$().build$0(); + }); + _lazyOld($, "_$helixGroupSerializer", "$get$_$helixGroupSerializer", function() { + return new O._$HelixGroupSerializer(); + }); + _lazyOld($, "_$helixSerializer", "$get$_$helixSerializer", function() { + return new O._$HelixSerializer(); + }); + _lazyOld($, "_$helixGroupMoveSerializer", "$get$_$helixGroupMoveSerializer", function() { + return new G._$HelixGroupMoveSerializer(); + }); + _lazyOld($, "_$localStorageDesignOptionSerializer", "$get$_$localStorageDesignOptionSerializer", function() { + return new Y._$LocalStorageDesignOptionSerializer(); + }); + _lazyOld($, "_$localStorageDesignChoiceSerializer", "$get$_$localStorageDesignChoiceSerializer", function() { + return new Y._$LocalStorageDesignChoiceSerializer(); + }); + _lazyOld($, "_$loopoutSerializer", "$get$_$loopoutSerializer", function() { + return new G._$LoopoutSerializer(); + }); + _lazyOld($, "_$modification5PrimeSerializer", "$get$_$modification5PrimeSerializer", function() { + return new Z._$Modification5PrimeSerializer(); + }); + _lazyOld($, "_$modification3PrimeSerializer", "$get$_$modification3PrimeSerializer", function() { + return new Z._$Modification3PrimeSerializer(); + }); + _lazyOld($, "_$modificationInternalSerializer", "$get$_$modificationInternalSerializer", function() { + return new Z._$ModificationInternalSerializer(); + }); + _lazyOld($, "_$modificationTypeSerializer", "$get$_$modificationTypeSerializer", function() { + return new Y._$ModificationTypeSerializer(); + }); + _lazyOld($, "_$mouseoverParamsSerializer", "$get$_$mouseoverParamsSerializer", function() { + return new K._$MouseoverParamsSerializer(); + }); + _lazyOld($, "_$mouseoverDataSerializer", "$get$_$mouseoverDataSerializer", function() { + return new K._$MouseoverDataSerializer(); + }); + _lazyOld($, "Position3D_origin", "$get$Position3D_origin", function() { + return X.Position3D_Position3D(0, 0, 0); + }); + _lazyOld($, "_$position3DSerializer", "$get$_$position3DSerializer", function() { + return new X._$Position3DSerializer(); + }); + _lazyOld($, "_$potentialCrossoverSerializer", "$get$_$potentialCrossoverSerializer", function() { + return new S._$PotentialCrossoverSerializer(); + }); + _lazyOld($, "_$potentialVerticalCrossoverSerializer", "$get$_$potentialVerticalCrossoverSerializer", function() { + return new Z._$PotentialVerticalCrossoverSerializer(); + }); + _lazyOld($, "SelectModeChoice_all_choices", "$get$SelectModeChoice_all_choices", function() { + return D.BuiltList_BuiltList($.$get$SelectModeChoice_non_origami_choices().toList$0(0).$add(0, H.setRuntimeTypeInfo([C.SelectModeChoice_scaffold, C.SelectModeChoice_staple], type$.JSArray_legacy_SelectModeChoice)), type$.legacy_SelectModeChoice); + }); + _lazyOld($, "SelectModeChoice_non_origami_choices", "$get$SelectModeChoice_non_origami_choices", function() { + return D.BuiltList_BuiltList(C.JSArray_methods.$add(H.setRuntimeTypeInfo([C.SelectModeChoice_strand], type$.JSArray_legacy_SelectModeChoice), $.$get$SelectModeChoice_strand_parts().toList$0(0)), type$.legacy_SelectModeChoice); + }); + _lazyOld($, "SelectModeChoice_strand_parts", "$get$SelectModeChoice_strand_parts", function() { + return D.BuiltList_BuiltList([C.SelectModeChoice_domain, C.SelectModeChoice_end_5p_strand, C.SelectModeChoice_end_3p_strand, C.SelectModeChoice_end_5p_domain, C.SelectModeChoice_end_3p_domain, C.SelectModeChoice_crossover, C.SelectModeChoice_loopout, C.SelectModeChoice_extension_, C.SelectModeChoice_insertion, C.SelectModeChoice_deletion, C.SelectModeChoice_modification], type$.legacy_SelectModeChoice); + }); + _lazyOld($, "SelectModeChoice_ends", "$get$SelectModeChoice_ends", function() { + return D.BuiltList_BuiltList([C.SelectModeChoice_end_5p_strand, C.SelectModeChoice_end_3p_strand, C.SelectModeChoice_end_5p_domain, C.SelectModeChoice_end_3p_domain], type$.legacy_SelectModeChoice); + }); + _lazyOld($, "_$selectModeChoiceSerializer", "$get$_$selectModeChoiceSerializer", function() { + return new D._$SelectModeChoiceSerializer(); + }); + _lazyOld($, "DEFAULT_SelectModeStateBuilder", "$get$DEFAULT_SelectModeStateBuilder", function() { + return N.SelectModeStateBuilder$(); + }); + _lazyOld($, "_$selectModeStateSerializer", "$get$_$selectModeStateSerializer", function() { + return new N._$SelectModeStateSerializer(); + }); + _lazyOld($, "_$values5", "$get$_$values4", function() { + return X.BuiltSet_BuiltSet(C.List_Q8F, type$.legacy_SelectableTrait); + }); + _lazyOld($, "_$selectablesStoreSerializer", "$get$_$selectablesStoreSerializer", function() { + return new E._$SelectablesStoreSerializer(); + }); + _lazyOld($, "_$selectableDeletionSerializer", "$get$_$selectableDeletionSerializer", function() { + return new E._$SelectableDeletionSerializer(); + }); + _lazyOld($, "_$selectableInsertionSerializer", "$get$_$selectableInsertionSerializer", function() { + return new E._$SelectableInsertionSerializer(); + }); + _lazyOld($, "_$selectableModification5PrimeSerializer", "$get$_$selectableModification5PrimeSerializer", function() { + return new E._$SelectableModification5PrimeSerializer(); + }); + _lazyOld($, "_$selectableModification3PrimeSerializer", "$get$_$selectableModification3PrimeSerializer", function() { + return new E._$SelectableModification3PrimeSerializer(); + }); + _lazyOld($, "_$selectableModificationInternalSerializer", "$get$_$selectableModificationInternalSerializer", function() { + return new E._$SelectableModificationInternalSerializer(); + }); + _lazyOld($, "_$selectableTraitSerializer", "$get$_$selectableTraitSerializer", function() { + return new E._$SelectableTraitSerializer(); + }); + _lazyOld($, "_$selectionBoxSerializer", "$get$_$selectionBoxSerializer", function() { + return new E._$SelectionBoxSerializer(); + }); + _lazyOld($, "_$selectionRopeSerializer", "$get$_$selectionRopeSerializer", function() { + return new F._$SelectionRopeSerializer(); + }); + _lazyOld($, "_$lineSerializer", "$get$_$lineSerializer", function() { + return new F._$LineSerializer(); + }); + _lazyOld($, "Strand_DEFAULT_STRAND_COLOR", "$get$Strand_DEFAULT_STRAND_COLOR", function() { + return S.RgbColor_RgbColor$name("black"); + }); + _lazyOld($, "_$strandSerializer", "$get$_$strandSerializer", function() { + return new E._$StrandSerializer(); + }); + _lazyOld($, "_$strandCreationSerializer", "$get$_$strandCreationSerializer", function() { + return new U._$StrandCreationSerializer(); + }); + _lazyOld($, "_$strandsMoveSerializer", "$get$_$strandsMoveSerializer", function() { + return new U._$StrandsMoveSerializer(); + }); + _lazyOld($, "DEFAULT_UndoRedoBuilder", "$get$DEFAULT_UndoRedoBuilder", function() { + return T.UndoRedoBuilder$(); + }); + _lazyOld($, "DEFAULT_UndoRedo", "$get$DEFAULT_UndoRedo", function() { + return $.$get$DEFAULT_UndoRedoBuilder().build$0(); + }); + _lazyOld($, "_$undoRedoItemSerializer", "$get$_$undoRedoItemSerializer", function() { + return new T._$UndoRedoItemSerializer(); + }); + _lazyOld($, "_$vendorFieldsSerializer", "$get$_$vendorFieldsSerializer", function() { + return new T._$VendorFieldsSerializer(); + }); + _lazyOld($, "color_cycler", "$get$color_cycler", function() { + return new E.ColorCycler(); + }); + _lazyOld($, "ColorCycler_colors", "$get$ColorCycler_colors", function() { + return H.setRuntimeTypeInfo([S.RgbColor$(204, 0, 0), S.RgbColor$(50, 184, 108), S.RgbColor$(247, 67, 8), S.RgbColor$(87, 187, 0), S.RgbColor$(0, 114, 0), S.RgbColor$(170, 170, 0), S.RgbColor$(3, 182, 162), S.RgbColor$(247, 147, 30), S.RgbColor$(50, 0, 150), S.RgbColor$(184, 5, 108), S.RgbColor$(51, 51, 51), S.RgbColor$(115, 0, 222), S.RgbColor$(136, 136, 136)], H.findType("JSArray")); + }); + _lazyOld($, "ColorCycler_scaffold_color", "$get$ColorCycler_scaffold_color", function() { + return $.$get$default_scaffold_color(); + }); + _lazyOld($, "scaffold_color", "$get$scaffold_color", function() { + return $.$get$ColorCycler_scaffold_color(); + }); + _lazyOld($, "set_equality", "$get$set_equality", function() { + return U.SetEquality$(C.C_DefaultEquality, type$.dynamic); + }); + _lazyOld($, "$End3PrimeComponentFactory", "$get$$End3PrimeComponentFactory", function() { + return Z.registerComponent2(new B.$End3PrimeComponentFactory_closure(), B.lib_3p_end___$End3Prime$closure(), C.Type_End3PrimeComponent_Eo2, false, null, C.List_Zyt); + }); + _lazyOld($, "$End5PrimeComponentFactory", "$get$$End5PrimeComponentFactory", function() { + return Z.registerComponent2(new A.$End5PrimeComponentFactory_closure(), A.lib_5p_end___$End5Prime$closure(), C.Type_End5PrimeComponent_E4y, false, null, C.List_Zyt); + }); + _lazyOld($, "ConnectedDesignContextMenu", "$get$ConnectedDesignContextMenu", function() { + return X.connect(null, false, new S.ConnectedDesignContextMenu_closure(), null, type$.legacy_AppState, H.findType("DesignContextMenuProps*")).call$1(S.design_context_menu___$DesignContextMenu$closure()); + }); + _lazyOld($, "$DesignContextMenuComponentFactory", "$get$$DesignContextMenuComponentFactory", function() { + return Z.registerComponent2(new S.$DesignContextMenuComponentFactory_closure(), S.design_context_menu___$DesignContextMenu$closure(), C.Type_DesignContextMenuComponent_CB6, false, null, C.List_Zyt); + }); + _lazyOld($, "$DesignContextSubmenuComponentFactory", "$get$$DesignContextSubmenuComponentFactory", function() { + return Z.registerComponent2(new S.$DesignContextSubmenuComponentFactory_closure(), S.design_context_menu___$DesignContextSubmenu$closure(), C.Type_RoN, false, null, C.List_Zyt); + }); + _lazyOld($, "ConnectedDesignDialogForm", "$get$ConnectedDesignDialogForm", function() { + return X.connect(null, false, new S.ConnectedDesignDialogForm_closure(), null, type$.legacy_AppState, H.findType("DesignDialogFormProps*")).call$1(S.design_dialog_form___$DesignDialogForm$closure()); + }); + _lazyOld($, "$DesignDialogFormComponentFactory", "$get$$DesignDialogFormComponentFactory", function() { + return Z.registerComponent2(new S.$DesignDialogFormComponentFactory_closure(), S.design_dialog_form___$DesignDialogForm$closure(), C.Type_DesignDialogFormComponent_qsu, false, null, C.List_Zyt); + }); + _lazyOld($, "ConnectedDesignFooter", "$get$ConnectedDesignFooter", function() { + return X.connect(null, false, null, new V.ConnectedDesignFooter_closure(), type$.legacy_AppState, type$.legacy_DesignFooterProps).call$1(V.design_footer___$DesignFooter$closure()); + }); + _lazyOld($, "$DesignFooterComponentFactory", "$get$$DesignFooterComponentFactory", function() { + return Z.registerComponent2(new V.$DesignFooterComponentFactory_closure(), V.design_footer___$DesignFooter$closure(), C.Type_DesignFooterComponent_2jN, false, null, C.List_Zyt); + }); + _lazyOld($, "ConnectedLoadingDialog", "$get$ConnectedLoadingDialog", function() { + return X.connect(null, false, new Q.ConnectedLoadingDialog_closure(), null, type$.legacy_AppState, H.findType("DesignLoadingDialogProps*")).call$1(Q.design_loading_dialog___$DesignLoadingDialog$closure()); + }); + _lazyOld($, "$DesignLoadingDialogComponentFactory", "$get$$DesignLoadingDialogComponentFactory", function() { + return Z.registerComponent2(new Q.$DesignLoadingDialogComponentFactory_closure(), Q.design_loading_dialog___$DesignLoadingDialog$closure(), C.Type_DesignLoadingDialogComponent_UAO, false, null, C.List_Zyt); + }); + _lazyOld($, "ConnectedDesignMain", "$get$ConnectedDesignMain", function() { + return X.connect(null, false, new V.ConnectedDesignMain_closure(), null, type$.legacy_AppState, H.findType("DesignMainProps*")).call$1(V.design_main___$DesignMain$closure()); + }); + _lazyOld($, "$DesignMainComponentFactory", "$get$$DesignMainComponentFactory", function() { + return Z.registerComponent2(new V.$DesignMainComponentFactory_closure(), V.design_main___$DesignMain$closure(), C.Type_DesignMainComponent_zC4, false, null, C.List_Zyt); + }); + _lazyOld($, "ConnectedDesignMainArrows", "$get$ConnectedDesignMainArrows", function() { + return X.connect(null, false, new Q.ConnectedDesignMainArrows_closure(), null, type$.legacy_AppState, H.findType("DesignMainArrowsProps*")).call$1(Q.design_main_arrows___$DesignMainArrows$closure()); + }); + _lazyOld($, "$DesignMainArrowsComponentFactory", "$get$$DesignMainArrowsComponentFactory0", function() { + return Z.registerComponent2(new Q.$DesignMainArrowsComponentFactory_closure0(), Q.design_main_arrows___$DesignMainArrows$closure(), C.Type_DesignMainArrowsComponent_gsm, false, null, C.List_Zyt); + }); + _lazyOld($, "$DesignMainBasePairLinesComponentFactory", "$get$$DesignMainBasePairLinesComponentFactory", function() { + return Z.registerComponent2(new Z.$DesignMainBasePairLinesComponentFactory_closure(), Z.design_main_base_pair_lines___$DesignMainBasePairLines$closure(), C.Type_y0U, false, null, C.List_Zyt); + }); + _lazyOld($, "$DesignMainBasePairRectangleComponentFactory", "$get$$DesignMainBasePairRectangleComponentFactory", function() { + return Z.registerComponent2(new V.$DesignMainBasePairRectangleComponentFactory_closure(), V.design_main_base_pair_rectangle___$DesignMainBasePairRectangle$closure(), C.Type_AeS, false, null, C.List_Zyt); + }); + _lazyOld($, "$DesignMainDNAMismatchesComponentFactory", "$get$$DesignMainDNAMismatchesComponentFactory", function() { + return Z.registerComponent2(new O.$DesignMainDNAMismatchesComponentFactory_closure(), O.design_main_dna_mismatches___$DesignMainDNAMismatches$closure(), C.Type_QtW, false, null, C.List_Zyt); + }); + _lazyOld($, "$DesignMainDNASequenceComponentFactory", "$get$$DesignMainDNASequenceComponentFactory", function() { + return Z.registerComponent2(new U.$DesignMainDNASequenceComponentFactory_closure(), U.design_main_dna_sequence___$DesignMainDNASequence$closure(), C.Type_F7U, false, null, C.List_Zyt); + }); + _lazyOld($, "$DesignMainDNASequencesComponentFactory", "$get$$DesignMainDNASequencesComponentFactory", function() { + return Z.registerComponent2(new M.$DesignMainDNASequencesComponentFactory_closure(), M.design_main_dna_sequences___$DesignMainDNASequences$closure(), C.Type_qJx, false, null, C.List_Zyt); + }); + _lazyOld($, "$DesignMainDomainMovingComponentFactory", "$get$$DesignMainDomainMovingComponentFactory", function() { + return Z.registerComponent2(new T.$DesignMainDomainMovingComponentFactory_closure(), T.design_main_domain_moving___$DesignMainDomainMoving$closure(), C.Type_3dV, false, null, C.List_Zyt); + }); + _lazyOld($, "$DesignMainDomainNameMismatchesComponentFactory", "$get$$DesignMainDomainNameMismatchesComponentFactory", function() { + return Z.registerComponent2(new R.$DesignMainDomainNameMismatchesComponentFactory_closure(), R.design_main_domain_name_mismatches___$DesignMainDomainNameMismatches$closure(), C.Type_Sfe, false, null, C.List_Zyt); + }); + _lazyOld($, "ConnectedDesignMainDomainsMoving", "$get$ConnectedDesignMainDomainsMoving", function() { + return X.connect(null, false, new Y.ConnectedDesignMainDomainsMoving_closure(), null, type$.legacy_AppState, H.findType("DesignMainDomainsMovingProps*")).call$1(Y.design_main_domains_moving___$DesignMainDomainsMoving$closure()); + }); + _lazyOld($, "$DesignMainDomainsMovingComponentFactory", "$get$$DesignMainDomainsMovingComponentFactory", function() { + return Z.registerComponent2(new Y.$DesignMainDomainsMovingComponentFactory_closure(), Y.design_main_domains_moving___$DesignMainDomainsMoving$closure(), C.Type_Ucj, false, null, C.List_Zyt); + }); + _lazyOld($, "$DesignMainErrorBoundaryComponentFactory", "$get$$DesignMainErrorBoundaryComponentFactory", function() { + return Z.registerComponent2(new X.$DesignMainErrorBoundaryComponentFactory_closure(), X.design_main_error_boundary___$DesignMainErrorBoundary$closure(), C.Type_gzy, true, null, C.List_empty0); + }); + _lazyOld($, "$DesignMainHelicesComponentFactory", "$get$$DesignMainHelicesComponentFactory", function() { + return Z.registerComponent2(new V.$DesignMainHelicesComponentFactory_closure(), V.design_main_helices___$DesignMainHelices$closure(), C.Type_DesignMainHelicesComponent_m81, false, null, C.List_Zyt); + }); + _lazyOld($, "$DesignMainHelixComponentFactory", "$get$$DesignMainHelixComponentFactory", function() { + return Z.registerComponent2(new T.$DesignMainHelixComponentFactory_closure(), T.design_main_helix___$DesignMainHelix$closure(), C.Type_DesignMainHelixComponent_etC, false, null, C.List_Zyt); + }); + _lazyOld($, "$DesignMainLoopoutExtensionLengthComponentFactory", "$get$$DesignMainLoopoutExtensionLengthComponentFactory", function() { + return Z.registerComponent2(new K.$DesignMainLoopoutExtensionLengthComponentFactory_closure(), K.design_main_loopout_extension_length___$DesignMainLoopoutExtensionLength$closure(), C.Type_YX3, false, null, C.List_Zyt); + }); + _lazyOld($, "$DesignMainLoopoutExtensionLengthsComponentFactory", "$get$$DesignMainLoopoutExtensionLengthsComponentFactory", function() { + return Z.registerComponent2(new Z.$DesignMainLoopoutExtensionLengthsComponentFactory_closure(), Z.design_main_loopout_extension_lengths___$DesignMainLoopoutExtensionLengths$closure(), C.Type_2bx, false, null, C.List_Zyt); + }); + _lazyOld($, "$DesignMainPotentialVerticalCrossoverComponentFactory", "$get$$DesignMainPotentialVerticalCrossoverComponentFactory", function() { + return Z.registerComponent2(new K.$DesignMainPotentialVerticalCrossoverComponentFactory_closure(), K.design_main_potential_vertical_crossover___$DesignMainPotentialVerticalCrossover$closure(), C.Type_qlj, false, null, C.List_Zyt); + }); + _lazyOld($, "$DesignMainPotentialVerticalCrossoversComponentFactory", "$get$$DesignMainPotentialVerticalCrossoversComponentFactory", function() { + return Z.registerComponent2(new S.$DesignMainPotentialVerticalCrossoversComponentFactory_closure(), S.design_main_potential_vertical_crossovers___$DesignMainPotentialVerticalCrossovers$closure(), C.Type_IJa, false, null, C.List_Zyt); + }); + _lazyOld($, "$DesignMainSliceBarComponentFactory", "$get$$DesignMainSliceBarComponentFactory", function() { + return Z.registerComponent2(new M.$DesignMainSliceBarComponentFactory_closure(), M.design_main_slice_bar___$DesignMainSliceBar$closure(), C.Type_DesignMainSliceBarComponent_E8w, false, null, C.List_Zyt); + }); + _lazyOld($, "$DesignMainStrandComponentFactory", "$get$$DesignMainStrandComponentFactory", function() { + return Z.registerComponent2(new M.$DesignMainStrandComponentFactory_closure(), M.design_main_strand___$DesignMainStrand$closure(), C.Type_DesignMainStrandComponent_Met, false, null, C.List_Zyt); + }); + _lazyOld($, "$DesignMainStrandAndDomainTextsComponentFactory", "$get$$DesignMainStrandAndDomainTextsComponentFactory", function() { + return Z.registerComponent2(new S.$DesignMainStrandAndDomainTextsComponentFactory_closure(), S.design_main_strand_and_domain_texts___$DesignMainStrandAndDomainTexts$closure(), C.Type_eTF, false, null, C.List_Zyt); + }); + _lazyOld($, "$DesignMainStrandCreatingComponentFactory", "$get$$DesignMainStrandCreatingComponentFactory", function() { + return Z.registerComponent2(new R.$DesignMainStrandCreatingComponentFactory_closure(), R.design_main_strand_creating___$DesignMainStrandCreating$closure(), C.Type_ej4, false, null, C.List_Zyt); + }); + _lazyOld($, "$DesignMainStrandCrossoverComponentFactory", "$get$$DesignMainStrandCrossoverComponentFactory", function() { + return Z.registerComponent2(new Q.$DesignMainStrandCrossoverComponentFactory_closure(), Q.design_main_strand_crossover___$DesignMainStrandCrossover$closure(), C.Type_k2a, false, null, C.List_Zyt); + }); + _lazyOld($, "$DesignMainStrandDeletionComponentFactory", "$get$$DesignMainStrandDeletionComponentFactory", function() { + return Z.registerComponent2(new A.$DesignMainStrandDeletionComponentFactory_closure(), A.design_main_strand_deletion___$DesignMainStrandDeletion$closure(), C.Type_NQk, false, null, C.List_Zyt); + }); + _lazyOld($, "$DesignMainDNAEndComponentFactory", "$get$$DesignMainDNAEndComponentFactory", function() { + return Z.registerComponent2(new S.$DesignMainDNAEndComponentFactory_closure(), S.design_main_strand_dna_end___$DesignMainDNAEnd$closure(), C.Type_DesignMainDNAEndComponent_dcz, false, null, C.List_Zyt); + }); + _lazyOld($, "ConnectedEndMoving", "$get$ConnectedEndMoving", function() { + return X.connect($.app.context_dna_ends_move, false, null, new F.ConnectedEndMoving_closure(), type$.legacy_DNAEndsMove, type$.legacy_EndMovingProps).call$1(F.design_main_strand_dna_end_moving___$EndMoving$closure()); + }); + _lazyOld($, "$EndMovingComponentFactory", "$get$$EndMovingComponentFactory", function() { + return Z.registerComponent2(new F.$EndMovingComponentFactory_closure(), F.design_main_strand_dna_end_moving___$EndMoving$closure(), C.Type_EndMovingComponent_wbZ, false, null, C.List_Zyt); + }); + _lazyOld($, "ConnectedExtensionEndMoving", "$get$ConnectedExtensionEndMoving", function() { + return X.connect($.app.context_extensions_move, false, null, new T.ConnectedExtensionEndMoving_closure(), type$.legacy_DNAExtensionsMove, type$.legacy_ExtensionEndMovingProps).call$1(T.design_main_strand_dna_extension_end_moving___$ExtensionEndMoving$closure()); + }); + _lazyOld($, "$ExtensionEndMovingComponentFactory", "$get$$ExtensionEndMovingComponentFactory", function() { + return Z.registerComponent2(new T.$ExtensionEndMovingComponentFactory_closure(), T.design_main_strand_dna_extension_end_moving___$ExtensionEndMoving$closure(), C.Type_ExtensionEndMovingComponent_wIq, false, null, C.List_Zyt); + }); + _lazyOld($, "$DesignMainDomainComponentFactory", "$get$$DesignMainDomainComponentFactory", function() { + return Z.registerComponent2(new T.$DesignMainDomainComponentFactory_closure(), T.design_main_strand_domain___$DesignMainDomain$closure(), C.Type_DesignMainDomainComponent_WvD, false, null, C.List_Zyt); + }); + _lazyOld($, "$DesignMainStrandDomainTextComponentFactory", "$get$$DesignMainStrandDomainTextComponentFactory", function() { + return Z.registerComponent2(new B.$DesignMainStrandDomainTextComponentFactory_closure(), B.design_main_strand_domain_text___$DesignMainStrandDomainText$closure(), C.Type_8sg, false, null, C.List_Zyt); + }); + _lazyOld($, "$DesignMainExtensionComponentFactory", "$get$$DesignMainExtensionComponentFactory", function() { + return Z.registerComponent2(new Q.$DesignMainExtensionComponentFactory_closure(), Q.design_main_strand_extension___$DesignMainExtension$closure(), C.Type_DesignMainExtensionComponent_aJt, false, null, C.List_Zyt); + }); + _lazyOld($, "$DesignMainStrandExtensionTextComponentFactory", "$get$$DesignMainStrandExtensionTextComponentFactory", function() { + return Z.registerComponent2(new R.$DesignMainStrandExtensionTextComponentFactory_closure(), R.design_main_strand_extension_text___$DesignMainStrandExtensionText$closure(), C.Type_qxd, false, null, C.List_Zyt); + }); + _lazyOld($, "$DesignMainStrandInsertionComponentFactory", "$get$$DesignMainStrandInsertionComponentFactory", function() { + return Z.registerComponent2(new A.$DesignMainStrandInsertionComponentFactory_closure(), A.design_main_strand_insertion___$DesignMainStrandInsertion$closure(), C.Type_TRH, false, null, C.List_Zyt); + }); + _lazyOld($, "$DesignMainLoopoutComponentFactory", "$get$$DesignMainLoopoutComponentFactory", function() { + return Z.registerComponent2(new R.$DesignMainLoopoutComponentFactory_closure(), R.design_main_strand_loopout___$DesignMainLoopout$closure(), C.Type_DesignMainLoopoutComponent_Tng, false, null, C.List_Zyt); + }); + _lazyOld($, "$DesignMainStrandLoopoutTextComponentFactory", "$get$$DesignMainStrandLoopoutTextComponentFactory", function() { + return Z.registerComponent2(new S.$DesignMainStrandLoopoutTextComponentFactory_closure(), S.design_main_strand_loopout_name___$DesignMainStrandLoopoutText$closure(), C.Type_fVV, false, null, C.List_Zyt); + }); + _lazyOld($, "$DesignMainStrandModificationComponentFactory", "$get$$DesignMainStrandModificationComponentFactory", function() { + return Z.registerComponent2(new X.$DesignMainStrandModificationComponentFactory_closure(), X.design_main_strand_modification___$DesignMainStrandModification$closure(), C.Type_o8I, false, null, C.List_Zyt); + }); + _lazyOld($, "$DesignMainStrandModificationsComponentFactory", "$get$$DesignMainStrandModificationsComponentFactory", function() { + return Z.registerComponent2(new R.$DesignMainStrandModificationsComponentFactory_closure(), R.design_main_strand_modifications___$DesignMainStrandModifications$closure(), C.Type_Wbn, false, null, C.List_Zyt); + }); + _lazyOld($, "$DesignMainStrandMovingComponentFactory", "$get$$DesignMainStrandMovingComponentFactory", function() { + return Z.registerComponent2(new T.$DesignMainStrandMovingComponentFactory_closure(), T.design_main_strand_moving___$DesignMainStrandMoving$closure(), C.Type_6eO, false, null, C.List_Zyt); + }); + _lazyOld($, "$DesignMainStrandPathsComponentFactory", "$get$$DesignMainStrandPathsComponentFactory", function() { + return Z.registerComponent2(new B.$DesignMainStrandPathsComponentFactory_closure(), B.design_main_strand_paths___$DesignMainStrandPaths$closure(), C.Type_Ykb, false, null, C.List_Zyt); + }); + _lazyOld($, "ConnectedDesignMainStrands", "$get$ConnectedDesignMainStrands", function() { + return X.connect(null, false, new E.ConnectedDesignMainStrands_closure(), null, type$.legacy_AppState, H.findType("DesignMainStrandsProps*")).call$1(E.design_main_strands___$DesignMainStrands$closure()); + }); + _lazyOld($, "$DesignMainStrandsComponentFactory", "$get$$DesignMainStrandsComponentFactory", function() { + return Z.registerComponent2(new E.$DesignMainStrandsComponentFactory_closure(), E.design_main_strands___$DesignMainStrands$closure(), C.Type_DesignMainStrandsComponent_qBX, false, null, C.List_Zyt); + }); + _lazyOld($, "ConnectedDesignMainStrandsMoving", "$get$ConnectedDesignMainStrandsMoving", function() { + return X.connect(null, false, new F.ConnectedDesignMainStrandsMoving_closure(), null, type$.legacy_AppState, H.findType("DesignMainStrandsMovingProps*")).call$1(F.design_main_strands_moving___$DesignMainStrandsMoving$closure()); + }); + _lazyOld($, "$DesignMainStrandsMovingComponentFactory", "$get$$DesignMainStrandsMovingComponentFactory", function() { + return Z.registerComponent2(new F.$DesignMainStrandsMovingComponentFactory_closure(), F.design_main_strands_moving___$DesignMainStrandsMoving$closure(), C.Type_23h, false, null, C.List_Zyt); + }); + _lazyOld($, "$DesignMainUnpairedInsertionDeletionsComponentFactory", "$get$$DesignMainUnpairedInsertionDeletionsComponentFactory", function() { + return Z.registerComponent2(new B.$DesignMainUnpairedInsertionDeletionsComponentFactory_closure(), B.design_main_unpaired_insertion_deletions___$DesignMainUnpairedInsertionDeletions$closure(), C.Type_bbH, false, null, C.List_Zyt); + }); + _lazyOld($, "$DesignMainWarningStarComponentFactory", "$get$$DesignMainWarningStarComponentFactory", function() { + return Z.registerComponent2(new R.$DesignMainWarningStarComponentFactory_closure(), R.design_main_warning_star___$DesignMainWarningStar$closure(), C.Type_k1a, false, null, C.List_Zyt); + }); + _lazyOld($, "ConnectedDesignSide", "$get$ConnectedDesignSide", function() { + return X.connect(null, false, new U.ConnectedDesignSide_closure(), null, type$.legacy_AppState, H.findType("DesignSideProps*")).call$1(U.design_side___$DesignSide$closure()); + }); + _lazyOld($, "$DesignSideComponentFactory", "$get$$DesignSideComponentFactory", function() { + return Z.registerComponent2(new U.$DesignSideComponentFactory_closure(), U.design_side___$DesignSide$closure(), C.Type_DesignSideComponent_G7N, false, null, C.List_Zyt); + }); + _lazyOld($, "ConnectedDesignSideArrows", "$get$ConnectedDesignSideArrows", function() { + return X.connect(null, false, new S.ConnectedDesignSideArrows_closure(), null, type$.legacy_AppState, H.findType("DesignSideArrowsProps*")).call$1(S.design_side_arrows___$DesignSideArrows$closure()); + }); + _lazyOld($, "$DesignMainArrowsComponentFactory0", "$get$$DesignMainArrowsComponentFactory", function() { + return Z.registerComponent2(new S.$DesignMainArrowsComponentFactory_closure(), S.design_side_arrows___$DesignSideArrows$closure(), C.Type_DesignMainArrowsComponent_Shv, false, null, C.List_Zyt); + }); + _lazyOld($, "$DesignSideHelixComponentFactory", "$get$$DesignSideHelixComponentFactory", function() { + return Z.registerComponent2(new B.$DesignSideHelixComponentFactory_closure(), B.design_side_helix___$DesignSideHelix$closure(), C.Type_DesignSideHelixComponent_Uq5, false, null, C.List_Zyt); + }); + _lazyOld($, "$DesignSidePotentialHelixComponentFactory", "$get$$DesignSidePotentialHelixComponentFactory", function() { + return Z.registerComponent2(new Y.$DesignSidePotentialHelixComponentFactory_closure(), Y.design_side_potential_helix___$DesignSidePotentialHelix$closure(), C.Type_QfR, false, null, C.List_Zyt); + }); + _lazyOld($, "$DesignSideRotationComponentFactory", "$get$$DesignSideRotationComponentFactory", function() { + return Z.registerComponent2(new O.$DesignSideRotationComponentFactory_closure(), O.design_side_rotation___$DesignSideRotation$closure(), C.Type_DesignSideRotationComponent_I27, false, null, C.List_Zyt); + }); + _lazyOld($, "$DesignSideRotationArrowComponentFactory", "$get$$DesignSideRotationArrowComponentFactory", function() { + return Z.registerComponent2(new E.$DesignSideRotationArrowComponentFactory_closure(), E.design_side_rotation_arrow___$DesignSideRotationArrow$closure(), C.Type_DNd, false, null, C.List_Zyt); + }); + _lazyOld($, "ConnectedEditAndSelectModes", "$get$ConnectedEditAndSelectModes", function() { + return X.connect(null, true, new Z.ConnectedEditAndSelectModes_closure(), null, type$.legacy_AppState, H.findType("EditAndSelectModesProps*")).call$1(Z.edit_and_select_modes___$EditAndSelectModes$closure()); + }); + _lazyOld($, "$EditAndSelectModesComponentFactory", "$get$$EditAndSelectModesComponentFactory", function() { + return Z.registerComponent2(new Z.$EditAndSelectModesComponentFactory_closure(), Z.edit_and_select_modes___$EditAndSelectModes$closure(), C.Type_EditAndSelectModesComponent_yz6, false, null, C.List_Zyt); + }); + _lazyOld($, "$EditModeComponentFactory", "$get$$EditModeComponentFactory", function() { + return Z.registerComponent2(new M.$EditModeComponentFactory_closure(), M.edit_mode___$EditMode$closure(), C.Type_EditModeComponent_sLD, false, null, C.List_Zyt); + }); + _lazyOld($, "ConnectedHelixGroupMoving", "$get$ConnectedHelixGroupMoving", function() { + return X.connect($.app.context_helix_group_move, false, null, new O.ConnectedHelixGroupMoving_closure(), type$.legacy_HelixGroupMove, type$.legacy_HelixGroupMovingProps).call$1(O.helix_group_moving___$HelixGroupMoving$closure()); + }); + _lazyOld($, "$HelixGroupMovingComponentFactory", "$get$$HelixGroupMovingComponentFactory", function() { + return Z.registerComponent2(new O.$HelixGroupMovingComponentFactory_closure(), O.helix_group_moving___$HelixGroupMoving$closure(), C.Type_HelixGroupMovingComponent_ahM, false, null, C.List_Zyt); + }); + _lazyOld($, "ConnectedMenu", "$get$ConnectedMenu", function() { + return X.connect(null, true, new D.ConnectedMenu_closure(), null, type$.legacy_AppState, H.findType("MenuProps*")).call$1(D.menu___$Menu$closure()); + }); + _lazyOld($, "$MenuComponentFactory", "$get$$MenuComponentFactory", function() { + return Z.registerComponent2(new D.$MenuComponentFactory_closure(), D.menu___$Menu$closure(), C.Type_MenuComponent_4CA, false, null, C.List_Zyt); + }); + _lazyOld($, "$MenuBooleanComponentFactory", "$get$$MenuBooleanComponentFactory", function() { + return Z.registerComponent2(new Z.$MenuBooleanComponentFactory_closure(), Z.menu_boolean___$MenuBoolean$closure(), C.Type_MenuBooleanComponent_2Lo, false, null, C.List_Zyt); + }); + _lazyOld($, "$MenuDropdownItemComponentFactory", "$get$$MenuDropdownItemComponentFactory", function() { + return Z.registerComponent2(new N.$MenuDropdownItemComponentFactory_closure(), N.menu_dropdown_item___$MenuDropdownItem$closure(), C.Type_MenuDropdownItemComponent_YEs, false, null, C.List_Zyt); + }); + _lazyOld($, "$MenuDropdownRightComponentFactory", "$get$$MenuDropdownRightComponentFactory", function() { + return Z.registerComponent2(new M.$MenuDropdownRightComponentFactory_closure(), M.menu_dropdown_right___$MenuDropdownRight$closure(), C.Type_MenuDropdownRightComponent_4QF, false, null, C.List_Zyt); + }); + _lazyOld($, "$MenuFormFileComponentFactory", "$get$$MenuFormFileComponentFactory", function() { + return Z.registerComponent2(new O.$MenuFormFileComponentFactory_closure(), O.menu_form_file___$MenuFormFile$closure(), C.Type_MenuFormFileComponent_6TA, false, null, C.List_Zyt); + }); + _lazyOld($, "$MenuNumberComponentFactory", "$get$$MenuNumberComponentFactory", function() { + return Z.registerComponent2(new M.$MenuNumberComponentFactory_closure(), M.menu_number___$MenuNumber$closure(), C.Type_MenuNumberComponent_qRH, false, null, C.List_Zyt); + }); + _lazyOld($, "ConnectedSideMenu", "$get$ConnectedSideMenu", function() { + return X.connect(null, true, new Q.ConnectedSideMenu_closure(), null, type$.legacy_AppState, H.findType("SideMenuProps*")).call$1(Q.menu_side___$SideMenu$closure()); + }); + _lazyOld($, "$SideMenuComponentFactory", "$get$$SideMenuComponentFactory", function() { + return Z.registerComponent2(new Q.$SideMenuComponentFactory_closure(), Q.menu_side___$SideMenu$closure(), C.Type_SideMenuComponent_oEK, false, null, C.List_Zyt); + }); + _lazyOld($, "ConnectedPotentialCrossoverView", "$get$ConnectedPotentialCrossoverView", function() { + return X.connect($.app.context_potential_crossover, false, new M.ConnectedPotentialCrossoverView_closure(), null, type$.legacy_PotentialCrossover, H.findType("PotentialCrossoverViewProps*")).call$1(M.potential_crossover_view___$PotentialCrossoverView$closure()); + }); + _lazyOld($, "$PotentialCrossoverViewComponentFactory", "$get$$PotentialCrossoverViewComponentFactory", function() { + return Z.registerComponent2(new M.$PotentialCrossoverViewComponentFactory_closure(), M.potential_crossover_view___$PotentialCrossoverView$closure(), C.Type_B8J, false, null, C.List_Zyt); + }); + _lazyOld($, "ConnectedPotentialExtensionsView", "$get$ConnectedPotentialExtensionsView", function() { + return X.connect($.app.context_extensions_move, false, new R.ConnectedPotentialExtensionsView_closure(), null, type$.legacy_DNAExtensionsMove, H.findType("PotentialExtensionsViewProps*")).call$1(R.potential_extensions_view___$PotentialExtensionsView$closure()); + }); + _lazyOld($, "$PotentialExtensionsViewComponentFactory", "$get$$PotentialExtensionsViewComponentFactory", function() { + return Z.registerComponent2(new R.$PotentialExtensionsViewComponentFactory_closure(), R.potential_extensions_view___$PotentialExtensionsView$closure(), C.Type_L5J, false, null, C.List_Zyt); + }); + _lazyOld($, "DropdownButton", "$get$DropdownButton", function() { + return A.ReactJsComponentFactoryProxy$(self.ReactBootstrap.DropdownButton, true); + }); + _lazyOld($, "DropdownDivider", "$get$DropdownDivider", function() { + return A.ReactJsComponentFactoryProxy$(self.ReactBootstrap.DropdownDivider, true); + }); + _lazyOld($, "DropdownItem", "$get$DropdownItem", function() { + return A.ReactJsComponentFactoryProxy$(self.ReactBootstrap.DropdownItem, true); + }); + _lazyOld($, "Navbar", "$get$Navbar", function() { + return A.ReactJsComponentFactoryProxy$(self.ReactBootstrap.Navbar, true); + }); + _lazyOld($, "NavbarBrand", "$get$NavbarBrand", function() { + return A.ReactJsComponentFactoryProxy$(self.ReactBootstrap.NavbarBrand, true); + }); + _lazyOld($, "NavDropdown", "$get$NavDropdown", function() { + return A.ReactJsComponentFactoryProxy$(self.ReactBootstrap.NavDropdown, true); + }); + _lazyOld($, "FormFile", "$get$FormFile", function() { + return A.ReactJsComponentFactoryProxy$(self.ReactBootstrap.FormFile, true); + }); + _lazyOld($, "SketchPicker", "$get$SketchPicker", function() { + return A.ReactJsComponentFactoryProxy$(self.ReactColor.SketchPicker, true); + }); + _lazyOld($, "$SelectModeComponentFactory", "$get$$SelectModeComponentFactory", function() { + return Z.registerComponent2(new D.$SelectModeComponentFactory_closure(), D.select_mode___$SelectMode$closure(), C.Type_SelectModeComponent_uvy, false, null, C.List_Zyt); + }); + _lazyOld($, "ConnectedSelectionBoxView", "$get$ConnectedSelectionBoxView", function() { + return X.connect($.app.context_selection_box, false, new Y.ConnectedSelectionBoxView_closure(), null, type$.legacy_SelectionBox, H.findType("SelectionBoxViewProps*")).call$1(Y.selection_box_view___$SelectionBoxView$closure()); + }); + _lazyOld($, "$SelectionBoxViewComponentFactory", "$get$$SelectionBoxViewComponentFactory", function() { + return Z.registerComponent2(new Y.$SelectionBoxViewComponentFactory_closure(), Y.selection_box_view___$SelectionBoxView$closure(), C.Type_SelectionBoxViewComponent_Wzb, false, null, C.List_Zyt); + }); + _lazyOld($, "ConnectedSelectionRopeView", "$get$ConnectedSelectionRopeView", function() { + return X.connect($.app.context_selection_rope, false, new A.ConnectedSelectionRopeView_closure(), null, type$.legacy_SelectionRope, H.findType("SelectionRopeViewProps*")).call$1(A.selection_rope_view___$SelectionRopeView$closure()); + }); + _lazyOld($, "$SelectionRopeViewComponentFactory", "$get$$SelectionRopeViewComponentFactory", function() { + return Z.registerComponent2(new A.$SelectionRopeViewComponentFactory_closure(), A.selection_rope_view___$SelectionRopeView$closure(), C.Type_SelectionRopeViewComponent_6D4, false, null, C.List_Zyt); + }); + _lazyOld($, "ConnectedStrandOrSubstrandColorPicker", "$get$ConnectedStrandOrSubstrandColorPicker", function() { + return X.connect(null, false, new A.ConnectedStrandOrSubstrandColorPicker_closure(), null, type$.legacy_AppState, H.findType("StrandOrSubstrandColorPickerProps*")).call$1(A.strand_color_picker___$StrandOrSubstrandColorPicker$closure()); + }); + _lazyOld($, "$StrandOrSubstrandColorPickerComponentFactory", "$get$$StrandOrSubstrandColorPickerComponentFactory", function() { + return Z.registerComponent2(new A.$StrandOrSubstrandColorPickerComponentFactory_closure(), A.strand_color_picker___$StrandOrSubstrandColorPicker$closure(), C.Type_6Lu, false, null, C.List_Zyt); + }); + _lazyFinal($, "_textPattern", "$get$_textPattern", function() { + return P.RegExp_RegExp("[&<]|]]>", true); + }); + _lazyFinal($, "_singeQuoteAttributePattern", "$get$_singeQuoteAttributePattern", function() { + return P.RegExp_RegExp("['&<\\n\\r\\t]", true); + }); + _lazyFinal($, "_doubleQuoteAttributePattern", "$get$_doubleQuoteAttributePattern", function() { + return P.RegExp_RegExp('["&<\\n\\r\\t]', true); + }); + _lazyFinal($, "documentParserCache", "$get$documentParserCache", function() { + return new B.XmlCache(new S.documentParserCache_closure(), 5, P.LinkedHashMap_LinkedHashMap$_empty(type$.XmlEntityMapping, type$.Parser_dynamic), H.findType("XmlCache>")); + }); + })(); + (function nativeSupport() { + !function() { + var intern = function(s) { + var o = {}; + o[s] = 1; + return Object.keys(hunkHelpers.convertToFastObject(o))[0]; + }; + init.getIsolateTag = function(name) { + return intern("___dart_" + name + init.isolateTag); + }; + var tableProperty = "___dart_isolate_tags_"; + var usedProperties = Object[tableProperty] || (Object[tableProperty] = Object.create(null)); + var rootProperty = "_ZxYxX"; + for (var i = 0;; i++) { + var property = intern(rootProperty + "_" + i + "_"); + if (!(property in usedProperties)) { + usedProperties[property] = 1; + init.isolateTag = property; + break; + } + } + init.dispatchPropertyName = init.getIsolateTag("dispatch_record"); + }(); + hunkHelpers.setOrUpdateInterceptorsByTag({AnimationEffectReadOnly: J.Interceptor, AnimationEffectTiming: J.Interceptor, AnimationEffectTimingReadOnly: J.Interceptor, AnimationTimeline: J.Interceptor, AnimationWorkletGlobalScope: J.Interceptor, AuthenticatorAssertionResponse: J.Interceptor, AuthenticatorAttestationResponse: J.Interceptor, AuthenticatorResponse: J.Interceptor, BackgroundFetchFetch: J.Interceptor, BackgroundFetchManager: J.Interceptor, BackgroundFetchSettledFetch: J.Interceptor, BarProp: J.Interceptor, BarcodeDetector: J.Interceptor, Body: J.Interceptor, BudgetState: J.Interceptor, CanvasGradient: J.Interceptor, CanvasPattern: J.Interceptor, Client: J.Interceptor, Clients: J.Interceptor, CookieStore: J.Interceptor, Coordinates: J.Interceptor, Credential: J.Interceptor, CredentialUserData: J.Interceptor, CredentialsContainer: J.Interceptor, Crypto: J.Interceptor, CryptoKey: J.Interceptor, CSS: J.Interceptor, CSSVariableReferenceValue: J.Interceptor, CustomElementRegistry: J.Interceptor, DataTransferItem: J.Interceptor, DeprecatedStorageInfo: J.Interceptor, DeprecatedStorageQuota: J.Interceptor, DetectedBarcode: J.Interceptor, DetectedFace: J.Interceptor, DetectedText: J.Interceptor, DeviceAcceleration: J.Interceptor, DeviceRotationRate: J.Interceptor, DirectoryReader: J.Interceptor, DocumentOrShadowRoot: J.Interceptor, DocumentTimeline: J.Interceptor, Iterator: J.Interceptor, DOMMatrix: J.Interceptor, DOMMatrixReadOnly: J.Interceptor, DOMParser: J.Interceptor, DOMQuad: J.Interceptor, DOMStringMap: J.Interceptor, External: J.Interceptor, FaceDetector: J.Interceptor, FederatedCredential: J.Interceptor, DOMFileSystem: J.Interceptor, FontFaceSource: J.Interceptor, FormData: J.Interceptor, GamepadPose: J.Interceptor, Geolocation: J.Interceptor, Position: J.Interceptor, Headers: J.Interceptor, HTMLHyperlinkElementUtils: J.Interceptor, IdleDeadline: J.Interceptor, ImageBitmap: J.Interceptor, ImageBitmapRenderingContext: J.Interceptor, ImageCapture: J.Interceptor, InputDeviceCapabilities: J.Interceptor, IntersectionObserver: J.Interceptor, KeyframeEffect: J.Interceptor, KeyframeEffectReadOnly: J.Interceptor, MediaCapabilities: J.Interceptor, MediaCapabilitiesInfo: J.Interceptor, MediaDeviceInfo: J.Interceptor, MediaKeyStatusMap: J.Interceptor, MediaKeySystemAccess: J.Interceptor, MediaKeys: J.Interceptor, MediaKeysPolicy: J.Interceptor, MediaMetadata: J.Interceptor, MediaSession: J.Interceptor, MediaSettingsRange: J.Interceptor, MemoryInfo: J.Interceptor, MessageChannel: J.Interceptor, Metadata: J.Interceptor, MutationObserver: J.Interceptor, WebKitMutationObserver: J.Interceptor, NavigationPreloadManager: J.Interceptor, Navigator: J.Interceptor, NavigatorAutomationInformation: J.Interceptor, NavigatorConcurrentHardware: J.Interceptor, NavigatorCookies: J.Interceptor, NodeFilter: J.Interceptor, NodeIterator: J.Interceptor, NonDocumentTypeChildNode: J.Interceptor, NonElementParentNode: J.Interceptor, NoncedElement: J.Interceptor, OffscreenCanvasRenderingContext2D: J.Interceptor, PaintRenderingContext2D: J.Interceptor, PaintSize: J.Interceptor, PaintWorkletGlobalScope: J.Interceptor, PasswordCredential: J.Interceptor, Path2D: J.Interceptor, PaymentAddress: J.Interceptor, PaymentManager: J.Interceptor, PaymentResponse: J.Interceptor, PerformanceEntry: J.Interceptor, PerformanceLongTaskTiming: J.Interceptor, PerformanceMark: J.Interceptor, PerformanceMeasure: J.Interceptor, PerformanceNavigation: J.Interceptor, PerformanceNavigationTiming: J.Interceptor, PerformanceObserver: J.Interceptor, PerformanceObserverEntryList: J.Interceptor, PerformancePaintTiming: J.Interceptor, PerformanceResourceTiming: J.Interceptor, PerformanceServerTiming: J.Interceptor, PerformanceTiming: J.Interceptor, Permissions: J.Interceptor, PhotoCapabilities: J.Interceptor, Presentation: J.Interceptor, PresentationReceiver: J.Interceptor, PublicKeyCredential: J.Interceptor, PushManager: J.Interceptor, PushMessageData: J.Interceptor, PushSubscription: J.Interceptor, PushSubscriptionOptions: J.Interceptor, Range: J.Interceptor, RelatedApplication: J.Interceptor, ReportingObserver: J.Interceptor, ResizeObserver: J.Interceptor, RTCCertificate: J.Interceptor, RTCIceCandidate: J.Interceptor, mozRTCIceCandidate: J.Interceptor, RTCLegacyStatsReport: J.Interceptor, RTCRtpContributingSource: J.Interceptor, RTCRtpReceiver: J.Interceptor, RTCRtpSender: J.Interceptor, RTCSessionDescription: J.Interceptor, mozRTCSessionDescription: J.Interceptor, RTCStatsResponse: J.Interceptor, Screen: J.Interceptor, ScrollState: J.Interceptor, ScrollTimeline: J.Interceptor, Selection: J.Interceptor, SharedArrayBuffer: J.Interceptor, SpeechRecognitionAlternative: J.Interceptor, SpeechSynthesisVoice: J.Interceptor, StaticRange: J.Interceptor, StorageManager: J.Interceptor, StyleMedia: J.Interceptor, StylePropertyMap: J.Interceptor, StylePropertyMapReadonly: J.Interceptor, SyncManager: J.Interceptor, TaskAttributionTiming: J.Interceptor, TextDetector: J.Interceptor, TextMetrics: J.Interceptor, TrackDefault: J.Interceptor, TreeWalker: J.Interceptor, TrustedHTML: J.Interceptor, TrustedScriptURL: J.Interceptor, TrustedURL: J.Interceptor, UnderlyingSourceBase: J.Interceptor, URLSearchParams: J.Interceptor, VRCoordinateSystem: J.Interceptor, VRDisplayCapabilities: J.Interceptor, VRFrameData: J.Interceptor, VRFrameOfReference: J.Interceptor, VRPose: J.Interceptor, VRStageBounds: J.Interceptor, VRStageBoundsPoint: J.Interceptor, VRStageParameters: J.Interceptor, ValidityState: J.Interceptor, VideoPlaybackQuality: J.Interceptor, VideoTrack: J.Interceptor, VTTRegion: J.Interceptor, WindowClient: J.Interceptor, WorkletAnimation: J.Interceptor, WorkletGlobalScope: J.Interceptor, XPathEvaluator: J.Interceptor, XPathExpression: J.Interceptor, XPathNSResolver: J.Interceptor, XPathResult: J.Interceptor, XSLTProcessor: J.Interceptor, Bluetooth: J.Interceptor, BluetoothCharacteristicProperties: J.Interceptor, BluetoothRemoteGATTServer: J.Interceptor, BluetoothRemoteGATTService: J.Interceptor, BluetoothUUID: J.Interceptor, BudgetService: J.Interceptor, Cache: J.Interceptor, DOMFileSystemSync: J.Interceptor, DirectoryEntrySync: J.Interceptor, DirectoryReaderSync: J.Interceptor, EntrySync: J.Interceptor, FileEntrySync: J.Interceptor, FileReaderSync: J.Interceptor, FileWriterSync: J.Interceptor, HTMLAllCollection: J.Interceptor, Mojo: J.Interceptor, MojoHandle: J.Interceptor, MojoWatcher: J.Interceptor, NFC: J.Interceptor, PagePopupController: J.Interceptor, Report: J.Interceptor, Request: J.Interceptor, Response: J.Interceptor, SubtleCrypto: J.Interceptor, USBAlternateInterface: J.Interceptor, USBConfiguration: J.Interceptor, USBDevice: J.Interceptor, USBEndpoint: J.Interceptor, USBInTransferResult: J.Interceptor, USBInterface: J.Interceptor, USBIsochronousInTransferPacket: J.Interceptor, USBIsochronousInTransferResult: J.Interceptor, USBIsochronousOutTransferPacket: J.Interceptor, USBIsochronousOutTransferResult: J.Interceptor, USBOutTransferResult: J.Interceptor, WorkerLocation: J.Interceptor, WorkerNavigator: J.Interceptor, Worklet: J.Interceptor, IDBFactory: J.Interceptor, IDBIndex: J.Interceptor, IDBObserver: J.Interceptor, IDBObserverChanges: J.Interceptor, SVGAnimatedAngle: J.Interceptor, SVGAnimatedBoolean: J.Interceptor, SVGAnimatedEnumeration: J.Interceptor, SVGAnimatedInteger: J.Interceptor, SVGAnimatedLength: J.Interceptor, SVGAnimatedLengthList: J.Interceptor, SVGAnimatedNumber: J.Interceptor, SVGAnimatedNumberList: J.Interceptor, SVGAnimatedPreserveAspectRatio: J.Interceptor, SVGAnimatedRect: J.Interceptor, SVGAnimatedString: J.Interceptor, SVGAnimatedTransformList: J.Interceptor, SVGMatrix: J.Interceptor, SVGPreserveAspectRatio: J.Interceptor, SVGRect: J.Interceptor, SVGUnitTypes: J.Interceptor, AudioListener: J.Interceptor, AudioTrack: J.Interceptor, AudioWorkletGlobalScope: J.Interceptor, AudioWorkletProcessor: J.Interceptor, PeriodicWave: J.Interceptor, WebGLActiveInfo: J.Interceptor, ANGLEInstancedArrays: J.Interceptor, ANGLE_instanced_arrays: J.Interceptor, WebGLBuffer: J.Interceptor, WebGLCanvas: J.Interceptor, WebGLColorBufferFloat: J.Interceptor, WebGLCompressedTextureASTC: J.Interceptor, WebGLCompressedTextureATC: J.Interceptor, WEBGL_compressed_texture_atc: J.Interceptor, WebGLCompressedTextureETC1: J.Interceptor, WEBGL_compressed_texture_etc1: J.Interceptor, WebGLCompressedTextureETC: J.Interceptor, WebGLCompressedTexturePVRTC: J.Interceptor, WEBGL_compressed_texture_pvrtc: J.Interceptor, WebGLCompressedTextureS3TC: J.Interceptor, WEBGL_compressed_texture_s3tc: J.Interceptor, WebGLCompressedTextureS3TCsRGB: J.Interceptor, WebGLDebugRendererInfo: J.Interceptor, WEBGL_debug_renderer_info: J.Interceptor, WebGLDebugShaders: J.Interceptor, WEBGL_debug_shaders: J.Interceptor, WebGLDepthTexture: J.Interceptor, WEBGL_depth_texture: J.Interceptor, WebGLDrawBuffers: J.Interceptor, WEBGL_draw_buffers: J.Interceptor, EXTsRGB: J.Interceptor, EXT_sRGB: J.Interceptor, EXTBlendMinMax: J.Interceptor, EXT_blend_minmax: J.Interceptor, EXTColorBufferFloat: J.Interceptor, EXTColorBufferHalfFloat: J.Interceptor, EXTDisjointTimerQuery: J.Interceptor, EXTDisjointTimerQueryWebGL2: J.Interceptor, EXTFragDepth: J.Interceptor, EXT_frag_depth: J.Interceptor, EXTShaderTextureLOD: J.Interceptor, EXT_shader_texture_lod: J.Interceptor, EXTTextureFilterAnisotropic: J.Interceptor, EXT_texture_filter_anisotropic: J.Interceptor, WebGLFramebuffer: J.Interceptor, WebGLGetBufferSubDataAsync: J.Interceptor, WebGLLoseContext: J.Interceptor, WebGLExtensionLoseContext: J.Interceptor, WEBGL_lose_context: J.Interceptor, OESElementIndexUint: J.Interceptor, OES_element_index_uint: J.Interceptor, OESStandardDerivatives: J.Interceptor, OES_standard_derivatives: J.Interceptor, OESTextureFloat: J.Interceptor, OES_texture_float: J.Interceptor, OESTextureFloatLinear: J.Interceptor, OES_texture_float_linear: J.Interceptor, OESTextureHalfFloat: J.Interceptor, OES_texture_half_float: J.Interceptor, OESTextureHalfFloatLinear: J.Interceptor, OES_texture_half_float_linear: J.Interceptor, OESVertexArrayObject: J.Interceptor, OES_vertex_array_object: J.Interceptor, WebGLProgram: J.Interceptor, WebGLQuery: J.Interceptor, WebGLRenderbuffer: J.Interceptor, WebGLRenderingContext: J.Interceptor, WebGL2RenderingContext: J.Interceptor, WebGLSampler: J.Interceptor, WebGLShader: J.Interceptor, WebGLShaderPrecisionFormat: J.Interceptor, WebGLSync: J.Interceptor, WebGLTexture: J.Interceptor, WebGLTimerQueryEXT: J.Interceptor, WebGLTransformFeedback: J.Interceptor, WebGLUniformLocation: J.Interceptor, WebGLVertexArrayObject: J.Interceptor, WebGLVertexArrayObjectOES: J.Interceptor, WebGL: J.Interceptor, WebGL2RenderingContextBase: J.Interceptor, Database: J.Interceptor, SQLResultSet: J.Interceptor, SQLTransaction: J.Interceptor, ArrayBuffer: H.NativeByteBuffer, ArrayBufferView: H.NativeTypedData, DataView: H.NativeByteData, Float32Array: H.NativeFloat32List, Float64Array: H.NativeFloat64List, Int16Array: H.NativeInt16List, Int32Array: H.NativeInt32List, Int8Array: H.NativeInt8List, Uint16Array: H.NativeUint16List, Uint32Array: H.NativeUint32List, Uint8ClampedArray: H.NativeUint8ClampedList, CanvasPixelArray: H.NativeUint8ClampedList, Uint8Array: H.NativeUint8List, HTMLBRElement: W.HtmlElement, HTMLContentElement: W.HtmlElement, HTMLDListElement: W.HtmlElement, HTMLDataListElement: W.HtmlElement, HTMLDetailsElement: W.HtmlElement, HTMLDialogElement: W.HtmlElement, HTMLEmbedElement: W.HtmlElement, HTMLFieldSetElement: W.HtmlElement, HTMLHRElement: W.HtmlElement, HTMLHeadElement: W.HtmlElement, HTMLHeadingElement: W.HtmlElement, HTMLHtmlElement: W.HtmlElement, HTMLLabelElement: W.HtmlElement, HTMLLegendElement: W.HtmlElement, HTMLLinkElement: W.HtmlElement, HTMLMapElement: W.HtmlElement, HTMLMenuElement: W.HtmlElement, HTMLMetaElement: W.HtmlElement, HTMLModElement: W.HtmlElement, HTMLOListElement: W.HtmlElement, HTMLObjectElement: W.HtmlElement, HTMLOptGroupElement: W.HtmlElement, HTMLParagraphElement: W.HtmlElement, HTMLPictureElement: W.HtmlElement, HTMLQuoteElement: W.HtmlElement, HTMLScriptElement: W.HtmlElement, HTMLShadowElement: W.HtmlElement, HTMLSlotElement: W.HtmlElement, HTMLSourceElement: W.HtmlElement, HTMLSpanElement: W.HtmlElement, HTMLStyleElement: W.HtmlElement, HTMLTableCaptionElement: W.HtmlElement, HTMLTableCellElement: W.HtmlElement, HTMLTableDataCellElement: W.HtmlElement, HTMLTableHeaderCellElement: W.HtmlElement, HTMLTableColElement: W.HtmlElement, HTMLTableElement: W.HtmlElement, HTMLTableRowElement: W.HtmlElement, HTMLTableSectionElement: W.HtmlElement, HTMLTimeElement: W.HtmlElement, HTMLTitleElement: W.HtmlElement, HTMLTrackElement: W.HtmlElement, HTMLUListElement: W.HtmlElement, HTMLUnknownElement: W.HtmlElement, HTMLDirectoryElement: W.HtmlElement, HTMLFontElement: W.HtmlElement, HTMLFrameElement: W.HtmlElement, HTMLFrameSetElement: W.HtmlElement, HTMLMarqueeElement: W.HtmlElement, HTMLElement: W.HtmlElement, AccessibleNode: W.AccessibleNode, AccessibleNodeList: W.AccessibleNodeList, HTMLAnchorElement: W.AnchorElement, ApplicationCacheErrorEvent: W.ApplicationCacheErrorEvent, HTMLAreaElement: W.AreaElement, HTMLBaseElement: W.BaseElement, BeforeUnloadEvent: W.BeforeUnloadEvent, Blob: W.Blob, BluetoothRemoteGATTDescriptor: W.BluetoothRemoteGattDescriptor, HTMLBodyElement: W.BodyElement, HTMLButtonElement: W.ButtonElement, CacheStorage: W.CacheStorage, HTMLCanvasElement: W.CanvasElement, CanvasRenderingContext2D: W.CanvasRenderingContext2D, CDATASection: W.CharacterData, Comment: W.CharacterData, Text: W.CharacterData, CharacterData: W.CharacterData, CSSKeywordValue: W.CssKeywordValue, CSSNumericValue: W.CssNumericValue, CSSPerspective: W.CssPerspective, CSSCharsetRule: W.CssRule, CSSConditionRule: W.CssRule, CSSFontFaceRule: W.CssRule, CSSGroupingRule: W.CssRule, CSSImportRule: W.CssRule, CSSKeyframeRule: W.CssRule, MozCSSKeyframeRule: W.CssRule, WebKitCSSKeyframeRule: W.CssRule, CSSKeyframesRule: W.CssRule, MozCSSKeyframesRule: W.CssRule, WebKitCSSKeyframesRule: W.CssRule, CSSMediaRule: W.CssRule, CSSNamespaceRule: W.CssRule, CSSPageRule: W.CssRule, CSSSupportsRule: W.CssRule, CSSViewportRule: W.CssRule, CSSRule: W.CssRule, CSSStyleDeclaration: W.CssStyleDeclaration, MSStyleCSSProperties: W.CssStyleDeclaration, CSS2Properties: W.CssStyleDeclaration, CSSStyleRule: W.CssStyleRule, CSSStyleSheet: W.CssStyleSheet, CSSImageValue: W.CssStyleValue, CSSPositionValue: W.CssStyleValue, CSSResourceValue: W.CssStyleValue, CSSURLImageValue: W.CssStyleValue, CSSStyleValue: W.CssStyleValue, CSSMatrixComponent: W.CssTransformComponent, CSSRotation: W.CssTransformComponent, CSSScale: W.CssTransformComponent, CSSSkew: W.CssTransformComponent, CSSTranslation: W.CssTransformComponent, CSSTransformComponent: W.CssTransformComponent, CSSTransformValue: W.CssTransformValue, CSSUnitValue: W.CssUnitValue, CSSUnparsedValue: W.CssUnparsedValue, HTMLDataElement: W.DataElement, DataTransfer: W.DataTransfer, DataTransferItemList: W.DataTransferItemList, DeprecationReport: W.DeprecationReport, HTMLDivElement: W.DivElement, XMLDocument: W.Document, Document: W.Document, DOMError: W.DomError, DOMException: W.DomException, DOMImplementation: W.DomImplementation, DOMPoint: W.DomPoint, DOMPointReadOnly: W.DomPointReadOnly, ClientRectList: W.DomRectList, DOMRectList: W.DomRectList, DOMRectReadOnly: W.DomRectReadOnly, DOMStringList: W.DomStringList, DOMTokenList: W.DomTokenList, Element: W.Element, DirectoryEntry: W.Entry, Entry: W.Entry, FileEntry: W.Entry, ErrorEvent: W.ErrorEvent, AbortPaymentEvent: W.Event, AnimationEvent: W.Event, AnimationPlaybackEvent: W.Event, BackgroundFetchClickEvent: W.Event, BackgroundFetchEvent: W.Event, BackgroundFetchFailEvent: W.Event, BackgroundFetchedEvent: W.Event, BeforeInstallPromptEvent: W.Event, BlobEvent: W.Event, CanMakePaymentEvent: W.Event, ClipboardEvent: W.Event, CloseEvent: W.Event, CustomEvent: W.Event, DeviceMotionEvent: W.Event, DeviceOrientationEvent: W.Event, ExtendableEvent: W.Event, ExtendableMessageEvent: W.Event, FetchEvent: W.Event, FontFaceSetLoadEvent: W.Event, ForeignFetchEvent: W.Event, GamepadEvent: W.Event, HashChangeEvent: W.Event, InstallEvent: W.Event, MediaEncryptedEvent: W.Event, MediaQueryListEvent: W.Event, MediaStreamEvent: W.Event, MediaStreamTrackEvent: W.Event, MessageEvent: W.Event, MIDIConnectionEvent: W.Event, MIDIMessageEvent: W.Event, MutationEvent: W.Event, NotificationEvent: W.Event, PageTransitionEvent: W.Event, PaymentRequestEvent: W.Event, PaymentRequestUpdateEvent: W.Event, PopStateEvent: W.Event, PresentationConnectionAvailableEvent: W.Event, PromiseRejectionEvent: W.Event, PushEvent: W.Event, RTCDataChannelEvent: W.Event, RTCDTMFToneChangeEvent: W.Event, RTCPeerConnectionIceEvent: W.Event, RTCTrackEvent: W.Event, SecurityPolicyViolationEvent: W.Event, SensorErrorEvent: W.Event, SpeechRecognitionEvent: W.Event, SpeechSynthesisEvent: W.Event, StorageEvent: W.Event, SyncEvent: W.Event, TrackEvent: W.Event, TransitionEvent: W.Event, WebKitTransitionEvent: W.Event, VRDeviceEvent: W.Event, VRDisplayEvent: W.Event, VRSessionEvent: W.Event, MojoInterfaceRequestEvent: W.Event, USBConnectionEvent: W.Event, AudioProcessingEvent: W.Event, OfflineAudioCompletionEvent: W.Event, WebGLContextEvent: W.Event, Event: W.Event, InputEvent: W.Event, SubmitEvent: W.Event, AbsoluteOrientationSensor: W.EventTarget, Accelerometer: W.EventTarget, AmbientLightSensor: W.EventTarget, Animation: W.EventTarget, ApplicationCache: W.EventTarget, DOMApplicationCache: W.EventTarget, OfflineResourceList: W.EventTarget, BackgroundFetchRegistration: W.EventTarget, BatteryManager: W.EventTarget, BroadcastChannel: W.EventTarget, CanvasCaptureMediaStreamTrack: W.EventTarget, EventSource: W.EventTarget, Gyroscope: W.EventTarget, LinearAccelerationSensor: W.EventTarget, Magnetometer: W.EventTarget, MediaDevices: W.EventTarget, MediaQueryList: W.EventTarget, MediaRecorder: W.EventTarget, MediaSource: W.EventTarget, MediaStream: W.EventTarget, MediaStreamTrack: W.EventTarget, MIDIAccess: W.EventTarget, MIDIInput: W.EventTarget, MIDIOutput: W.EventTarget, MIDIPort: W.EventTarget, NetworkInformation: W.EventTarget, Notification: W.EventTarget, OffscreenCanvas: W.EventTarget, OrientationSensor: W.EventTarget, PaymentRequest: W.EventTarget, Performance: W.EventTarget, PermissionStatus: W.EventTarget, PresentationConnection: W.EventTarget, PresentationConnectionList: W.EventTarget, PresentationRequest: W.EventTarget, RelativeOrientationSensor: W.EventTarget, RemotePlayback: W.EventTarget, RTCDataChannel: W.EventTarget, DataChannel: W.EventTarget, RTCDTMFSender: W.EventTarget, RTCPeerConnection: W.EventTarget, webkitRTCPeerConnection: W.EventTarget, mozRTCPeerConnection: W.EventTarget, ScreenOrientation: W.EventTarget, Sensor: W.EventTarget, ServiceWorker: W.EventTarget, ServiceWorkerContainer: W.EventTarget, ServiceWorkerRegistration: W.EventTarget, SharedWorker: W.EventTarget, SpeechRecognition: W.EventTarget, SpeechSynthesis: W.EventTarget, SpeechSynthesisUtterance: W.EventTarget, VR: W.EventTarget, VRDevice: W.EventTarget, VRDisplay: W.EventTarget, VRSession: W.EventTarget, VisualViewport: W.EventTarget, WebSocket: W.EventTarget, Worker: W.EventTarget, WorkerPerformance: W.EventTarget, BluetoothDevice: W.EventTarget, BluetoothRemoteGATTCharacteristic: W.EventTarget, Clipboard: W.EventTarget, MojoInterfaceInterceptor: W.EventTarget, USB: W.EventTarget, IDBDatabase: W.EventTarget, IDBTransaction: W.EventTarget, EventTarget: W.EventTarget, File: W.File, FileList: W.FileList, FileReader: W.FileReader, FileWriter: W.FileWriter, FontFace: W.FontFace, FontFaceSet: W.FontFaceSet, HTMLFormElement: W.FormElement, Gamepad: W.Gamepad, GamepadButton: W.GamepadButton, History: W.History, HTMLCollection: W.HtmlCollection, HTMLFormControlsCollection: W.HtmlCollection, HTMLOptionsCollection: W.HtmlCollection, HTMLDocument: W.HtmlDocument, XMLHttpRequest: W.HttpRequest, XMLHttpRequestUpload: W.HttpRequestEventTarget, XMLHttpRequestEventTarget: W.HttpRequestEventTarget, HTMLIFrameElement: W.IFrameElement, ImageData: W.ImageData, HTMLImageElement: W.ImageElement, HTMLInputElement: W.InputElement, IntersectionObserverEntry: W.IntersectionObserverEntry, InterventionReport: W.InterventionReport, KeyboardEvent: W.KeyboardEvent, HTMLLIElement: W.LIElement, Location: W.Location, HTMLAudioElement: W.MediaElement, HTMLMediaElement: W.MediaElement, MediaError: W.MediaError, MediaKeyMessageEvent: W.MediaKeyMessageEvent, MediaKeySession: W.MediaKeySession, MediaList: W.MediaList, MessagePort: W.MessagePort, HTMLMeterElement: W.MeterElement, MIDIInputMap: W.MidiInputMap, MIDIOutputMap: W.MidiOutputMap, MimeType: W.MimeType, MimeTypeArray: W.MimeTypeArray, WheelEvent: W.MouseEvent, MouseEvent: W.MouseEvent, DragEvent: W.MouseEvent, MutationRecord: W.MutationRecord, NavigatorUserMediaError: W.NavigatorUserMediaError, DocumentFragment: W.Node, ShadowRoot: W.Node, DocumentType: W.Node, Node: W.Node, NodeList: W.NodeList, RadioNodeList: W.NodeList, HTMLOptionElement: W.OptionElement, HTMLOutputElement: W.OutputElement, OverconstrainedError: W.OverconstrainedError, HTMLParamElement: W.ParamElement, PaymentInstruments: W.PaymentInstruments, Plugin: W.Plugin, PluginArray: W.PluginArray, PointerEvent: W.PointerEvent, PositionError: W.PositionError, HTMLPreElement: W.PreElement, PresentationAvailability: W.PresentationAvailability, PresentationConnectionCloseEvent: W.PresentationConnectionCloseEvent, ProcessingInstruction: W.ProcessingInstruction, HTMLProgressElement: W.ProgressElement, ProgressEvent: W.ProgressEvent, ResourceProgressEvent: W.ProgressEvent, ReportBody: W.ReportBody, ResizeObserverEntry: W.ResizeObserverEntry, RTCStatsReport: W.RtcStatsReport, HTMLSelectElement: W.SelectElement, SourceBuffer: W.SourceBuffer, SourceBufferList: W.SourceBufferList, SpeechGrammar: W.SpeechGrammar, SpeechGrammarList: W.SpeechGrammarList, SpeechRecognitionError: W.SpeechRecognitionError, SpeechRecognitionResult: W.SpeechRecognitionResult, Storage: W.Storage, StyleSheet: W.StyleSheet, HTMLTemplateElement: W.TemplateElement, HTMLTextAreaElement: W.TextAreaElement, TextTrack: W.TextTrack, TextTrackCue: W.TextTrackCue, VTTCue: W.TextTrackCue, TextTrackCueList: W.TextTrackCueList, TextTrackList: W.TextTrackList, TimeRanges: W.TimeRanges, Touch: W.Touch, TouchEvent: W.TouchEvent, TouchList: W.TouchList, TrackDefaultList: W.TrackDefaultList, CompositionEvent: W.UIEvent, FocusEvent: W.UIEvent, TextEvent: W.UIEvent, UIEvent: W.UIEvent, URL: W.Url, VREyeParameters: W.VREyeParameters, HTMLVideoElement: W.VideoElement, VideoTrackList: W.VideoTrackList, Window: W.Window, DOMWindow: W.Window, DedicatedWorkerGlobalScope: W.WorkerGlobalScope, ServiceWorkerGlobalScope: W.WorkerGlobalScope, SharedWorkerGlobalScope: W.WorkerGlobalScope, WorkerGlobalScope: W.WorkerGlobalScope, XMLSerializer: W.XmlSerializer, Attr: W._Attr, CSSRuleList: W._CssRuleList, ClientRect: W._DomRect, DOMRect: W._DomRect, GamepadList: W._GamepadList, NamedNodeMap: W._NamedNodeMap, MozNamedAttrMap: W._NamedNodeMap, SpeechRecognitionResultList: W._SpeechRecognitionResultList, StyleSheetList: W._StyleSheetList, IDBCursor: P.Cursor, IDBCursorWithValue: P.CursorWithValue, IDBKeyRange: P.KeyRange, IDBObjectStore: P.ObjectStore, IDBObservation: P.Observation, IDBOpenDBRequest: P.Request0, IDBVersionChangeRequest: P.Request0, IDBRequest: P.Request0, IDBVersionChangeEvent: P.VersionChangeEvent, SVGAElement: P.AElement, SVGAngle: P.Angle, SVGCircleElement: P.CircleElement, SVGDefsElement: P.DefsElement, SVGFEGaussianBlurElement: P.FEGaussianBlurElement, SVGFEMergeElement: P.FEMergeElement, SVGFEMergeNodeElement: P.FEMergeNodeElement, SVGFilterElement: P.FilterElement, SVGGElement: P.GElement, SVGEllipseElement: P.GeometryElement, SVGLineElement: P.GeometryElement, SVGPathElement: P.GeometryElement, SVGPolylineElement: P.GeometryElement, SVGGeometryElement: P.GeometryElement, SVGClipPathElement: P.GraphicsElement, SVGForeignObjectElement: P.GraphicsElement, SVGImageElement: P.GraphicsElement, SVGSwitchElement: P.GraphicsElement, SVGUseElement: P.GraphicsElement, SVGGraphicsElement: P.GraphicsElement, SVGLength: P.Length, SVGLengthList: P.LengthList, SVGNumber: P.Number, SVGNumberList: P.NumberList, SVGPoint: P.Point0, SVGPointList: P.PointList, SVGPolygonElement: P.PolygonElement, SVGRectElement: P.RectElement, SVGStringList: P.StringList, SVGAnimateElement: P.SvgElement, SVGAnimateMotionElement: P.SvgElement, SVGAnimateTransformElement: P.SvgElement, SVGAnimationElement: P.SvgElement, SVGDescElement: P.SvgElement, SVGDiscardElement: P.SvgElement, SVGFEBlendElement: P.SvgElement, SVGFEColorMatrixElement: P.SvgElement, SVGFEComponentTransferElement: P.SvgElement, SVGFECompositeElement: P.SvgElement, SVGFEConvolveMatrixElement: P.SvgElement, SVGFEDiffuseLightingElement: P.SvgElement, SVGFEDisplacementMapElement: P.SvgElement, SVGFEDistantLightElement: P.SvgElement, SVGFEFloodElement: P.SvgElement, SVGFEFuncAElement: P.SvgElement, SVGFEFuncBElement: P.SvgElement, SVGFEFuncGElement: P.SvgElement, SVGFEFuncRElement: P.SvgElement, SVGFEImageElement: P.SvgElement, SVGFEMorphologyElement: P.SvgElement, SVGFEOffsetElement: P.SvgElement, SVGFEPointLightElement: P.SvgElement, SVGFESpecularLightingElement: P.SvgElement, SVGFESpotLightElement: P.SvgElement, SVGFETileElement: P.SvgElement, SVGFETurbulenceElement: P.SvgElement, SVGLinearGradientElement: P.SvgElement, SVGMarkerElement: P.SvgElement, SVGMaskElement: P.SvgElement, SVGMetadataElement: P.SvgElement, SVGPatternElement: P.SvgElement, SVGRadialGradientElement: P.SvgElement, SVGScriptElement: P.SvgElement, SVGSetElement: P.SvgElement, SVGStopElement: P.SvgElement, SVGStyleElement: P.SvgElement, SVGSymbolElement: P.SvgElement, SVGTitleElement: P.SvgElement, SVGViewElement: P.SvgElement, SVGGradientElement: P.SvgElement, SVGComponentTransferFunctionElement: P.SvgElement, SVGFEDropShadowElement: P.SvgElement, SVGMPathElement: P.SvgElement, SVGElement: P.SvgElement, SVGSVGElement: P.SvgSvgElement, SVGTextContentElement: P.TextContentElement, SVGTextElement: P.TextElement, SVGTextPathElement: P.TextPathElement, SVGTSpanElement: P.TextPositioningElement, SVGTextPositioningElement: P.TextPositioningElement, SVGTransform: P.Transform, SVGTransformList: P.TransformList, AudioBuffer: P.AudioBuffer, AnalyserNode: P.AudioNode, RealtimeAnalyserNode: P.AudioNode, AudioDestinationNode: P.AudioNode, AudioWorkletNode: P.AudioNode, BiquadFilterNode: P.AudioNode, ChannelMergerNode: P.AudioNode, AudioChannelMerger: P.AudioNode, ChannelSplitterNode: P.AudioNode, AudioChannelSplitter: P.AudioNode, ConvolverNode: P.AudioNode, DelayNode: P.AudioNode, DynamicsCompressorNode: P.AudioNode, GainNode: P.AudioNode, AudioGainNode: P.AudioNode, IIRFilterNode: P.AudioNode, MediaElementAudioSourceNode: P.AudioNode, MediaStreamAudioDestinationNode: P.AudioNode, MediaStreamAudioSourceNode: P.AudioNode, PannerNode: P.AudioNode, AudioPannerNode: P.AudioNode, webkitAudioPannerNode: P.AudioNode, ScriptProcessorNode: P.AudioNode, JavaScriptAudioNode: P.AudioNode, StereoPannerNode: P.AudioNode, WaveShaperNode: P.AudioNode, AudioNode: P.AudioNode, AudioParam: P.AudioParam, AudioParamMap: P.AudioParamMap, AudioBufferSourceNode: P.AudioScheduledSourceNode, OscillatorNode: P.AudioScheduledSourceNode, Oscillator: P.AudioScheduledSourceNode, AudioScheduledSourceNode: P.AudioScheduledSourceNode, AudioTrackList: P.AudioTrackList, AudioContext: P.BaseAudioContext, webkitAudioContext: P.BaseAudioContext, BaseAudioContext: P.BaseAudioContext, ConstantSourceNode: P.ConstantSourceNode, OfflineAudioContext: P.OfflineAudioContext, SQLError: P.SqlError, SQLResultSetRowList: P.SqlResultSetRowList}); + hunkHelpers.setOrUpdateLeafTags({AnimationEffectReadOnly: true, AnimationEffectTiming: true, AnimationEffectTimingReadOnly: true, AnimationTimeline: true, AnimationWorkletGlobalScope: true, AuthenticatorAssertionResponse: true, AuthenticatorAttestationResponse: true, AuthenticatorResponse: true, BackgroundFetchFetch: true, BackgroundFetchManager: true, BackgroundFetchSettledFetch: true, BarProp: true, BarcodeDetector: true, Body: true, BudgetState: true, CanvasGradient: true, CanvasPattern: true, Client: true, Clients: true, CookieStore: true, Coordinates: true, Credential: true, CredentialUserData: true, CredentialsContainer: true, Crypto: true, CryptoKey: true, CSS: true, CSSVariableReferenceValue: true, CustomElementRegistry: true, DataTransferItem: true, DeprecatedStorageInfo: true, DeprecatedStorageQuota: true, DetectedBarcode: true, DetectedFace: true, DetectedText: true, DeviceAcceleration: true, DeviceRotationRate: true, DirectoryReader: true, DocumentOrShadowRoot: true, DocumentTimeline: true, Iterator: true, DOMMatrix: true, DOMMatrixReadOnly: true, DOMParser: true, DOMQuad: true, DOMStringMap: true, External: true, FaceDetector: true, FederatedCredential: true, DOMFileSystem: true, FontFaceSource: true, FormData: true, GamepadPose: true, Geolocation: true, Position: true, Headers: true, HTMLHyperlinkElementUtils: true, IdleDeadline: true, ImageBitmap: true, ImageBitmapRenderingContext: true, ImageCapture: true, InputDeviceCapabilities: true, IntersectionObserver: true, KeyframeEffect: true, KeyframeEffectReadOnly: true, MediaCapabilities: true, MediaCapabilitiesInfo: true, MediaDeviceInfo: true, MediaKeyStatusMap: true, MediaKeySystemAccess: true, MediaKeys: true, MediaKeysPolicy: true, MediaMetadata: true, MediaSession: true, MediaSettingsRange: true, MemoryInfo: true, MessageChannel: true, Metadata: true, MutationObserver: true, WebKitMutationObserver: true, NavigationPreloadManager: true, Navigator: true, NavigatorAutomationInformation: true, NavigatorConcurrentHardware: true, NavigatorCookies: true, NodeFilter: true, NodeIterator: true, NonDocumentTypeChildNode: true, NonElementParentNode: true, NoncedElement: true, OffscreenCanvasRenderingContext2D: true, PaintRenderingContext2D: true, PaintSize: true, PaintWorkletGlobalScope: true, PasswordCredential: true, Path2D: true, PaymentAddress: true, PaymentManager: true, PaymentResponse: true, PerformanceEntry: true, PerformanceLongTaskTiming: true, PerformanceMark: true, PerformanceMeasure: true, PerformanceNavigation: true, PerformanceNavigationTiming: true, PerformanceObserver: true, PerformanceObserverEntryList: true, PerformancePaintTiming: true, PerformanceResourceTiming: true, PerformanceServerTiming: true, PerformanceTiming: true, Permissions: true, PhotoCapabilities: true, Presentation: true, PresentationReceiver: true, PublicKeyCredential: true, PushManager: true, PushMessageData: true, PushSubscription: true, PushSubscriptionOptions: true, Range: true, RelatedApplication: true, ReportingObserver: true, ResizeObserver: true, RTCCertificate: true, RTCIceCandidate: true, mozRTCIceCandidate: true, RTCLegacyStatsReport: true, RTCRtpContributingSource: true, RTCRtpReceiver: true, RTCRtpSender: true, RTCSessionDescription: true, mozRTCSessionDescription: true, RTCStatsResponse: true, Screen: true, ScrollState: true, ScrollTimeline: true, Selection: true, SharedArrayBuffer: true, SpeechRecognitionAlternative: true, SpeechSynthesisVoice: true, StaticRange: true, StorageManager: true, StyleMedia: true, StylePropertyMap: true, StylePropertyMapReadonly: true, SyncManager: true, TaskAttributionTiming: true, TextDetector: true, TextMetrics: true, TrackDefault: true, TreeWalker: true, TrustedHTML: true, TrustedScriptURL: true, TrustedURL: true, UnderlyingSourceBase: true, URLSearchParams: true, VRCoordinateSystem: true, VRDisplayCapabilities: true, VRFrameData: true, VRFrameOfReference: true, VRPose: true, VRStageBounds: true, VRStageBoundsPoint: true, VRStageParameters: true, ValidityState: true, VideoPlaybackQuality: true, VideoTrack: true, VTTRegion: true, WindowClient: true, WorkletAnimation: true, WorkletGlobalScope: true, XPathEvaluator: true, XPathExpression: true, XPathNSResolver: true, XPathResult: true, XSLTProcessor: true, Bluetooth: true, BluetoothCharacteristicProperties: true, BluetoothRemoteGATTServer: true, BluetoothRemoteGATTService: true, BluetoothUUID: true, BudgetService: true, Cache: true, DOMFileSystemSync: true, DirectoryEntrySync: true, DirectoryReaderSync: true, EntrySync: true, FileEntrySync: true, FileReaderSync: true, FileWriterSync: true, HTMLAllCollection: true, Mojo: true, MojoHandle: true, MojoWatcher: true, NFC: true, PagePopupController: true, Report: true, Request: true, Response: true, SubtleCrypto: true, USBAlternateInterface: true, USBConfiguration: true, USBDevice: true, USBEndpoint: true, USBInTransferResult: true, USBInterface: true, USBIsochronousInTransferPacket: true, USBIsochronousInTransferResult: true, USBIsochronousOutTransferPacket: true, USBIsochronousOutTransferResult: true, USBOutTransferResult: true, WorkerLocation: true, WorkerNavigator: true, Worklet: true, IDBFactory: true, IDBIndex: true, IDBObserver: true, IDBObserverChanges: true, SVGAnimatedAngle: true, SVGAnimatedBoolean: true, SVGAnimatedEnumeration: true, SVGAnimatedInteger: true, SVGAnimatedLength: true, SVGAnimatedLengthList: true, SVGAnimatedNumber: true, SVGAnimatedNumberList: true, SVGAnimatedPreserveAspectRatio: true, SVGAnimatedRect: true, SVGAnimatedString: true, SVGAnimatedTransformList: true, SVGMatrix: true, SVGPreserveAspectRatio: true, SVGRect: true, SVGUnitTypes: true, AudioListener: true, AudioTrack: true, AudioWorkletGlobalScope: true, AudioWorkletProcessor: true, PeriodicWave: true, WebGLActiveInfo: true, ANGLEInstancedArrays: true, ANGLE_instanced_arrays: true, WebGLBuffer: true, WebGLCanvas: true, WebGLColorBufferFloat: true, WebGLCompressedTextureASTC: true, WebGLCompressedTextureATC: true, WEBGL_compressed_texture_atc: true, WebGLCompressedTextureETC1: true, WEBGL_compressed_texture_etc1: true, WebGLCompressedTextureETC: true, WebGLCompressedTexturePVRTC: true, WEBGL_compressed_texture_pvrtc: true, WebGLCompressedTextureS3TC: true, WEBGL_compressed_texture_s3tc: true, WebGLCompressedTextureS3TCsRGB: true, WebGLDebugRendererInfo: true, WEBGL_debug_renderer_info: true, WebGLDebugShaders: true, WEBGL_debug_shaders: true, WebGLDepthTexture: true, WEBGL_depth_texture: true, WebGLDrawBuffers: true, WEBGL_draw_buffers: true, EXTsRGB: true, EXT_sRGB: true, EXTBlendMinMax: true, EXT_blend_minmax: true, EXTColorBufferFloat: true, EXTColorBufferHalfFloat: true, EXTDisjointTimerQuery: true, EXTDisjointTimerQueryWebGL2: true, EXTFragDepth: true, EXT_frag_depth: true, EXTShaderTextureLOD: true, EXT_shader_texture_lod: true, EXTTextureFilterAnisotropic: true, EXT_texture_filter_anisotropic: true, WebGLFramebuffer: true, WebGLGetBufferSubDataAsync: true, WebGLLoseContext: true, WebGLExtensionLoseContext: true, WEBGL_lose_context: true, OESElementIndexUint: true, OES_element_index_uint: true, OESStandardDerivatives: true, OES_standard_derivatives: true, OESTextureFloat: true, OES_texture_float: true, OESTextureFloatLinear: true, OES_texture_float_linear: true, OESTextureHalfFloat: true, OES_texture_half_float: true, OESTextureHalfFloatLinear: true, OES_texture_half_float_linear: true, OESVertexArrayObject: true, OES_vertex_array_object: true, WebGLProgram: true, WebGLQuery: true, WebGLRenderbuffer: true, WebGLRenderingContext: true, WebGL2RenderingContext: true, WebGLSampler: true, WebGLShader: true, WebGLShaderPrecisionFormat: true, WebGLSync: true, WebGLTexture: true, WebGLTimerQueryEXT: true, WebGLTransformFeedback: true, WebGLUniformLocation: true, WebGLVertexArrayObject: true, WebGLVertexArrayObjectOES: true, WebGL: true, WebGL2RenderingContextBase: true, Database: true, SQLResultSet: true, SQLTransaction: true, ArrayBuffer: true, ArrayBufferView: false, DataView: true, Float32Array: true, Float64Array: true, Int16Array: true, Int32Array: true, Int8Array: true, Uint16Array: true, Uint32Array: true, Uint8ClampedArray: true, CanvasPixelArray: true, Uint8Array: false, HTMLBRElement: true, HTMLContentElement: true, HTMLDListElement: true, HTMLDataListElement: true, HTMLDetailsElement: true, HTMLDialogElement: true, HTMLEmbedElement: true, HTMLFieldSetElement: true, HTMLHRElement: true, HTMLHeadElement: true, HTMLHeadingElement: true, HTMLHtmlElement: true, HTMLLabelElement: true, HTMLLegendElement: true, HTMLLinkElement: true, HTMLMapElement: true, HTMLMenuElement: true, HTMLMetaElement: true, HTMLModElement: true, HTMLOListElement: true, HTMLObjectElement: true, HTMLOptGroupElement: true, HTMLParagraphElement: true, HTMLPictureElement: true, HTMLQuoteElement: true, HTMLScriptElement: true, HTMLShadowElement: true, HTMLSlotElement: true, HTMLSourceElement: true, HTMLSpanElement: true, HTMLStyleElement: true, HTMLTableCaptionElement: true, HTMLTableCellElement: true, HTMLTableDataCellElement: true, HTMLTableHeaderCellElement: true, HTMLTableColElement: true, HTMLTableElement: true, HTMLTableRowElement: true, HTMLTableSectionElement: true, HTMLTimeElement: true, HTMLTitleElement: true, HTMLTrackElement: true, HTMLUListElement: true, HTMLUnknownElement: true, HTMLDirectoryElement: true, HTMLFontElement: true, HTMLFrameElement: true, HTMLFrameSetElement: true, HTMLMarqueeElement: true, HTMLElement: false, AccessibleNode: true, AccessibleNodeList: true, HTMLAnchorElement: true, ApplicationCacheErrorEvent: true, HTMLAreaElement: true, HTMLBaseElement: true, BeforeUnloadEvent: true, Blob: false, BluetoothRemoteGATTDescriptor: true, HTMLBodyElement: true, HTMLButtonElement: true, CacheStorage: true, HTMLCanvasElement: true, CanvasRenderingContext2D: true, CDATASection: true, Comment: true, Text: true, CharacterData: false, CSSKeywordValue: true, CSSNumericValue: false, CSSPerspective: true, CSSCharsetRule: true, CSSConditionRule: true, CSSFontFaceRule: true, CSSGroupingRule: true, CSSImportRule: true, CSSKeyframeRule: true, MozCSSKeyframeRule: true, WebKitCSSKeyframeRule: true, CSSKeyframesRule: true, MozCSSKeyframesRule: true, WebKitCSSKeyframesRule: true, CSSMediaRule: true, CSSNamespaceRule: true, CSSPageRule: true, CSSSupportsRule: true, CSSViewportRule: true, CSSRule: false, CSSStyleDeclaration: true, MSStyleCSSProperties: true, CSS2Properties: true, CSSStyleRule: true, CSSStyleSheet: true, CSSImageValue: true, CSSPositionValue: true, CSSResourceValue: true, CSSURLImageValue: true, CSSStyleValue: false, CSSMatrixComponent: true, CSSRotation: true, CSSScale: true, CSSSkew: true, CSSTranslation: true, CSSTransformComponent: false, CSSTransformValue: true, CSSUnitValue: true, CSSUnparsedValue: true, HTMLDataElement: true, DataTransfer: true, DataTransferItemList: true, DeprecationReport: true, HTMLDivElement: true, XMLDocument: true, Document: false, DOMError: true, DOMException: true, DOMImplementation: true, DOMPoint: true, DOMPointReadOnly: false, ClientRectList: true, DOMRectList: true, DOMRectReadOnly: false, DOMStringList: true, DOMTokenList: true, Element: false, DirectoryEntry: true, Entry: true, FileEntry: true, ErrorEvent: true, AbortPaymentEvent: true, AnimationEvent: true, AnimationPlaybackEvent: true, BackgroundFetchClickEvent: true, BackgroundFetchEvent: true, BackgroundFetchFailEvent: true, BackgroundFetchedEvent: true, BeforeInstallPromptEvent: true, BlobEvent: true, CanMakePaymentEvent: true, ClipboardEvent: true, CloseEvent: true, CustomEvent: true, DeviceMotionEvent: true, DeviceOrientationEvent: true, ExtendableEvent: true, ExtendableMessageEvent: true, FetchEvent: true, FontFaceSetLoadEvent: true, ForeignFetchEvent: true, GamepadEvent: true, HashChangeEvent: true, InstallEvent: true, MediaEncryptedEvent: true, MediaQueryListEvent: true, MediaStreamEvent: true, MediaStreamTrackEvent: true, MessageEvent: true, MIDIConnectionEvent: true, MIDIMessageEvent: true, MutationEvent: true, NotificationEvent: true, PageTransitionEvent: true, PaymentRequestEvent: true, PaymentRequestUpdateEvent: true, PopStateEvent: true, PresentationConnectionAvailableEvent: true, PromiseRejectionEvent: true, PushEvent: true, RTCDataChannelEvent: true, RTCDTMFToneChangeEvent: true, RTCPeerConnectionIceEvent: true, RTCTrackEvent: true, SecurityPolicyViolationEvent: true, SensorErrorEvent: true, SpeechRecognitionEvent: true, SpeechSynthesisEvent: true, StorageEvent: true, SyncEvent: true, TrackEvent: true, TransitionEvent: true, WebKitTransitionEvent: true, VRDeviceEvent: true, VRDisplayEvent: true, VRSessionEvent: true, MojoInterfaceRequestEvent: true, USBConnectionEvent: true, AudioProcessingEvent: true, OfflineAudioCompletionEvent: true, WebGLContextEvent: true, Event: false, InputEvent: false, SubmitEvent: false, AbsoluteOrientationSensor: true, Accelerometer: true, AmbientLightSensor: true, Animation: true, ApplicationCache: true, DOMApplicationCache: true, OfflineResourceList: true, BackgroundFetchRegistration: true, BatteryManager: true, BroadcastChannel: true, CanvasCaptureMediaStreamTrack: true, EventSource: true, Gyroscope: true, LinearAccelerationSensor: true, Magnetometer: true, MediaDevices: true, MediaQueryList: true, MediaRecorder: true, MediaSource: true, MediaStream: true, MediaStreamTrack: true, MIDIAccess: true, MIDIInput: true, MIDIOutput: true, MIDIPort: true, NetworkInformation: true, Notification: true, OffscreenCanvas: true, OrientationSensor: true, PaymentRequest: true, Performance: true, PermissionStatus: true, PresentationConnection: true, PresentationConnectionList: true, PresentationRequest: true, RelativeOrientationSensor: true, RemotePlayback: true, RTCDataChannel: true, DataChannel: true, RTCDTMFSender: true, RTCPeerConnection: true, webkitRTCPeerConnection: true, mozRTCPeerConnection: true, ScreenOrientation: true, Sensor: true, ServiceWorker: true, ServiceWorkerContainer: true, ServiceWorkerRegistration: true, SharedWorker: true, SpeechRecognition: true, SpeechSynthesis: true, SpeechSynthesisUtterance: true, VR: true, VRDevice: true, VRDisplay: true, VRSession: true, VisualViewport: true, WebSocket: true, Worker: true, WorkerPerformance: true, BluetoothDevice: true, BluetoothRemoteGATTCharacteristic: true, Clipboard: true, MojoInterfaceInterceptor: true, USB: true, IDBDatabase: true, IDBTransaction: true, EventTarget: false, File: true, FileList: true, FileReader: true, FileWriter: true, FontFace: true, FontFaceSet: true, HTMLFormElement: true, Gamepad: true, GamepadButton: true, History: true, HTMLCollection: true, HTMLFormControlsCollection: true, HTMLOptionsCollection: true, HTMLDocument: true, XMLHttpRequest: true, XMLHttpRequestUpload: true, XMLHttpRequestEventTarget: false, HTMLIFrameElement: true, ImageData: true, HTMLImageElement: true, HTMLInputElement: true, IntersectionObserverEntry: true, InterventionReport: true, KeyboardEvent: true, HTMLLIElement: true, Location: true, HTMLAudioElement: true, HTMLMediaElement: false, MediaError: true, MediaKeyMessageEvent: true, MediaKeySession: true, MediaList: true, MessagePort: true, HTMLMeterElement: true, MIDIInputMap: true, MIDIOutputMap: true, MimeType: true, MimeTypeArray: true, WheelEvent: true, MouseEvent: false, DragEvent: false, MutationRecord: true, NavigatorUserMediaError: true, DocumentFragment: true, ShadowRoot: true, DocumentType: true, Node: false, NodeList: true, RadioNodeList: true, HTMLOptionElement: true, HTMLOutputElement: true, OverconstrainedError: true, HTMLParamElement: true, PaymentInstruments: true, Plugin: true, PluginArray: true, PointerEvent: true, PositionError: true, HTMLPreElement: true, PresentationAvailability: true, PresentationConnectionCloseEvent: true, ProcessingInstruction: true, HTMLProgressElement: true, ProgressEvent: true, ResourceProgressEvent: true, ReportBody: false, ResizeObserverEntry: true, RTCStatsReport: true, HTMLSelectElement: true, SourceBuffer: true, SourceBufferList: true, SpeechGrammar: true, SpeechGrammarList: true, SpeechRecognitionError: true, SpeechRecognitionResult: true, Storage: true, StyleSheet: false, HTMLTemplateElement: true, HTMLTextAreaElement: true, TextTrack: true, TextTrackCue: true, VTTCue: true, TextTrackCueList: true, TextTrackList: true, TimeRanges: true, Touch: true, TouchEvent: true, TouchList: true, TrackDefaultList: true, CompositionEvent: true, FocusEvent: true, TextEvent: true, UIEvent: false, URL: true, VREyeParameters: true, HTMLVideoElement: true, VideoTrackList: true, Window: true, DOMWindow: true, DedicatedWorkerGlobalScope: true, ServiceWorkerGlobalScope: true, SharedWorkerGlobalScope: true, WorkerGlobalScope: true, XMLSerializer: true, Attr: true, CSSRuleList: true, ClientRect: true, DOMRect: true, GamepadList: true, NamedNodeMap: true, MozNamedAttrMap: true, SpeechRecognitionResultList: true, StyleSheetList: true, IDBCursor: false, IDBCursorWithValue: true, IDBKeyRange: true, IDBObjectStore: true, IDBObservation: true, IDBOpenDBRequest: true, IDBVersionChangeRequest: true, IDBRequest: true, IDBVersionChangeEvent: true, SVGAElement: true, SVGAngle: true, SVGCircleElement: true, SVGDefsElement: true, SVGFEGaussianBlurElement: true, SVGFEMergeElement: true, SVGFEMergeNodeElement: true, SVGFilterElement: true, SVGGElement: true, SVGEllipseElement: true, SVGLineElement: true, SVGPathElement: true, SVGPolylineElement: true, SVGGeometryElement: false, SVGClipPathElement: true, SVGForeignObjectElement: true, SVGImageElement: true, SVGSwitchElement: true, SVGUseElement: true, SVGGraphicsElement: false, SVGLength: true, SVGLengthList: true, SVGNumber: true, SVGNumberList: true, SVGPoint: true, SVGPointList: true, SVGPolygonElement: true, SVGRectElement: true, SVGStringList: true, SVGAnimateElement: true, SVGAnimateMotionElement: true, SVGAnimateTransformElement: true, SVGAnimationElement: true, SVGDescElement: true, SVGDiscardElement: true, SVGFEBlendElement: true, SVGFEColorMatrixElement: true, SVGFEComponentTransferElement: true, SVGFECompositeElement: true, SVGFEConvolveMatrixElement: true, SVGFEDiffuseLightingElement: true, SVGFEDisplacementMapElement: true, SVGFEDistantLightElement: true, SVGFEFloodElement: true, SVGFEFuncAElement: true, SVGFEFuncBElement: true, SVGFEFuncGElement: true, SVGFEFuncRElement: true, SVGFEImageElement: true, SVGFEMorphologyElement: true, SVGFEOffsetElement: true, SVGFEPointLightElement: true, SVGFESpecularLightingElement: true, SVGFESpotLightElement: true, SVGFETileElement: true, SVGFETurbulenceElement: true, SVGLinearGradientElement: true, SVGMarkerElement: true, SVGMaskElement: true, SVGMetadataElement: true, SVGPatternElement: true, SVGRadialGradientElement: true, SVGScriptElement: true, SVGSetElement: true, SVGStopElement: true, SVGStyleElement: true, SVGSymbolElement: true, SVGTitleElement: true, SVGViewElement: true, SVGGradientElement: true, SVGComponentTransferFunctionElement: true, SVGFEDropShadowElement: true, SVGMPathElement: true, SVGElement: false, SVGSVGElement: true, SVGTextContentElement: false, SVGTextElement: true, SVGTextPathElement: true, SVGTSpanElement: true, SVGTextPositioningElement: false, SVGTransform: true, SVGTransformList: true, AudioBuffer: true, AnalyserNode: true, RealtimeAnalyserNode: true, AudioDestinationNode: true, AudioWorkletNode: true, BiquadFilterNode: true, ChannelMergerNode: true, AudioChannelMerger: true, ChannelSplitterNode: true, AudioChannelSplitter: true, ConvolverNode: true, DelayNode: true, DynamicsCompressorNode: true, GainNode: true, AudioGainNode: true, IIRFilterNode: true, MediaElementAudioSourceNode: true, MediaStreamAudioDestinationNode: true, MediaStreamAudioSourceNode: true, PannerNode: true, AudioPannerNode: true, webkitAudioPannerNode: true, ScriptProcessorNode: true, JavaScriptAudioNode: true, StereoPannerNode: true, WaveShaperNode: true, AudioNode: false, AudioParam: true, AudioParamMap: true, AudioBufferSourceNode: true, OscillatorNode: true, Oscillator: true, AudioScheduledSourceNode: false, AudioTrackList: true, AudioContext: true, webkitAudioContext: true, BaseAudioContext: false, ConstantSourceNode: true, OfflineAudioContext: true, SQLError: true, SQLResultSetRowList: true}); + H.NativeTypedArray.$nativeSuperclassTag = "ArrayBufferView"; + H._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin.$nativeSuperclassTag = "ArrayBufferView"; + H._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin_FixedLengthListMixin.$nativeSuperclassTag = "ArrayBufferView"; + H.NativeTypedArrayOfDouble.$nativeSuperclassTag = "ArrayBufferView"; + H._NativeTypedArrayOfInt_NativeTypedArray_ListMixin.$nativeSuperclassTag = "ArrayBufferView"; + H._NativeTypedArrayOfInt_NativeTypedArray_ListMixin_FixedLengthListMixin.$nativeSuperclassTag = "ArrayBufferView"; + H.NativeTypedArrayOfInt.$nativeSuperclassTag = "ArrayBufferView"; + W._SourceBufferList_EventTarget_ListMixin.$nativeSuperclassTag = "EventTarget"; + W._SourceBufferList_EventTarget_ListMixin_ImmutableListMixin.$nativeSuperclassTag = "EventTarget"; + W._TextTrackList_EventTarget_ListMixin.$nativeSuperclassTag = "EventTarget"; + W._TextTrackList_EventTarget_ListMixin_ImmutableListMixin.$nativeSuperclassTag = "EventTarget"; + })(); + Function.prototype.call$1 = function(a) { + return this(a); + }; + Function.prototype.call$2 = function(a, b) { + return this(a, b); + }; + Function.prototype.call$0 = function() { + return this(); + }; + Function.prototype.call$3 = function(a, b, c) { + return this(a, b, c); + }; + Function.prototype.call$1$1 = function(a) { + return this(a); + }; + Function.prototype.call$1$2 = function(a, b) { + return this(a, b); + }; + Function.prototype.call$4 = function(a, b, c, d) { + return this(a, b, c, d); + }; + Function.prototype.call$2$1 = function(a) { + return this(a); + }; + Function.prototype.call$8 = function(a, b, c, d, e, f, g, h) { + return this(a, b, c, d, e, f, g, h); + }; + Function.prototype.call$7 = function(a, b, c, d, e, f, g) { + return this(a, b, c, d, e, f, g); + }; + Function.prototype.call$12 = function(a, b, c, d, e, f, g, h, i, j, k, l) { + return this(a, b, c, d, e, f, g, h, i, j, k, l); + }; + Function.prototype.call$16 = function(a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p) { + return this(a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p); + }; + Function.prototype.call$18 = function(a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r) { + return this(a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r); + }; + Function.prototype.call$10 = function(a, b, c, d, e, f, g, h, i, j) { + return this(a, b, c, d, e, f, g, h, i, j); + }; + Function.prototype.call$15 = function(a, b, c, d, e, f, g, h, i, j, k, l, m, n, o) { + return this(a, b, c, d, e, f, g, h, i, j, k, l, m, n, o); + }; + Function.prototype.call$2$0 = function() { + return this(); + }; + Function.prototype.call$1$0 = function() { + return this(); + }; + convertAllToFastObject(holders); + convertToFastObject($); + (function(callback) { + if (typeof document === "undefined") { + callback(null); + return; + } + if (typeof document.currentScript != "undefined") { + callback(document.currentScript); + return; + } + var scripts = document.scripts; + function onLoad(event) { + for (var i = 0; i < scripts.length; ++i) + scripts[i].removeEventListener("load", onLoad, false); + callback(event.target); + } + for (var i = 0; i < scripts.length; ++i) + scripts[i].addEventListener("load", onLoad, false); + })(function(currentScript) { + init.currentScript = currentScript; + var callMain = F.main; + if (typeof dartMainRunner === "function") + dartMainRunner(callMain, []); + else + callMain([]); + }); +})(); + +//# sourceMappingURL=main.dart.js.map diff --git a/v0.19.4/origami_rectangle.py b/v0.19.4/origami_rectangle.py new file mode 100644 index 000000000..5881ba8d9 --- /dev/null +++ b/v0.19.4/origami_rectangle.py @@ -0,0 +1,474 @@ +""" +Defines function :py:func:`origami_rectangle.create` for creating a DNA origami rectangle. +""" + +from dataclasses import dataclass, field + +import scadnano as sc +from enum import Enum, auto + + +class NickPattern(Enum): + """Represents options for where to place nicks between staples.""" + + staggered = auto() + """A nick appears in a given helix and column + if the parity of the helix and column match (both even or both odd).""" + + staggered_opposite = auto() + """A nick appears in a given helix and column + if the parity of the helix and column don't match (one is even and the other is odd).""" + + even = auto() + """A nick appears in every column and only even-index helices.""" + + odd = auto() + """A nick appears in every column and only odd-index helices.""" + + +staggered = NickPattern.staggered +"""Convenience reference defined so one can type :const:`origami_rectangle.staggered` +instead of :const:`origami_rectangle.NickPattern.staggered`.""" + +staggered_opposite = NickPattern.staggered_opposite +"""Convenience reference defined so one can type :const:`origami_rectangle.staggered_opposite` +instead of :const:`origami_rectangle.NickPattern.staggered_opposite`.""" + +even = NickPattern.even +"""Convenience reference defined so one can type :const:`origami_rectangle.even` +instead of :const:`origami_rectangle.NickPattern.even`.""" + +odd = NickPattern.odd +"""Convenience reference defined so one can type :const:`origami_rectangle.odd` +instead of :const:`origami_rectangle.NickPattern.odd`.""" + + +# @dataclass +# class OrigamiDNADesign(sc.DNADesign): +# scaffold: sc.Strand = None + +# TODO: figure out how to make create return a subclass that has a scaffold field + +def create(*, num_helices: int, num_cols: int, assign_seq: bool = True, seam_left_column=-1, + nick_pattern: NickPattern = NickPattern.staggered, + twist_correction_deletion_spacing: int = 0, twist_correction_start_col: int = 1, + twist_correction_deletion_offset=-1, + num_flanking_columns: int = 1, num_flanking_helices=0, + custom_scaffold: str = None, edge_staples: bool = True, + scaffold_nick_offset: int = -1, idt: bool = False) -> sc.DNADesign: + """ + Creates a DNA origami rectangle with a given number of helices and + "columns" (16-base-wide region in each helix). The columns include + the 16-base regions on the end where potential "edge staples" go, + as well as the two-column-wide "seam" region in the middle. + + Below is an example diagram of the staples created by this function. + + Consider for example the function call + ``origami_rectangle.create(num_helices=8, num_cols=10, nick_pattern=origami_rectangle.staggered)``. + The scaffold strand resulting from this call is shown below: + + .. code-block:: none + + # C0 # C1 # C2 # C3 # C4 # C5 # C6 # C7 # C8 # C9 # + H0 +--------------- ---------------- ---------------- ---------------- ---------------- ---------------- ---------------- ---------------- ---------------- ---------------+ + | | + H1 +--------------- ---------------- ---------------- ---------------- ---------------+ +--------------- ---------------- ---------------- ---------------- ---------------+ + | | + H2 +--------------- ---------------- ---------------- ---------------- ---------------+ +--------------- ---------------- ---------------- ---------------- ---------------+ + | | + H3 +--------------- ---------------- ---------------- ---------------- ---------------+ +--------------- ---------------- ---------------- ---------------- ---------------+ + | | + H4 +--------------- ---------------- ---------------- ---------------- ---------------+ +--------------- ---------------- ---------------- ---------------- ---------------+ + | | + H5 +--------------- ---------------- ---------------- ---------------- ---------------+ +--------------- ---------------- ---------------- ---------------- ---------------+ + | | + H6 +--------------- ---------------- ---------------- ---------------- ---------------+ +--------------- ---------------- ---------------- ---------------- ---------------+ + | | + H7 +--------------- ---------------- ---------------- ---------------- ---------------] <--------------- ---------------- ---------------- ---------------- ---------------+ + + + Helix indices are labelled ``H0``, ``H1``, ... and column indices are labeled ``C0``, ``C1``, ... + Each single symbol ``-``, ``+``, ``<``, ``>``, ``[``, ``]``, ``+`` + represents one DNA base, so each column is 16 bases wide. + The ``#`` is a visual delimiter between columns and does not represent any bases, + nor do spaces between the base-representing symbols. + The 5' end of a strand is indicated with ``[`` or ``]`` + and the 3' end is indicated with ``>`` or ``<``. + A crossover is indicated with + + .. code-block:: none + + + + | + + + + Below are the staples resulting from this same call. + + .. code-block:: none + + # C0 # C1 # C2 # C3 # C4 # C5 # C6 # C7 # C8 # C9 # + H0 <--------------+ +--------------- -------]<------+ +--------------- -------]<------+ +--------------- -------]<------+ +--------------- -------]<------+ +--------------] + | | | | | | | | + H1 [--------------+ +------>[------+ +--------------+ +------>[------+ +--------------+ +------>[------+ +--------------+ +------>[------+ +--------------+ +--------------> + | | | | | | | | + H2 <--------------+ +--------------+ +------]<------+ +--------------+ +------]<------+ +--------------+ +------]<------+ +--------------+ +------]<------+ +--------------] + | | | | | | | | + H3 [--------------+ +------>[------+ +--------------+ +------>[------+ +--------------+ +------>[------+ +--------------+ +------>[------+ +--------------+ +--------------> + | | | | | | | | + H4 <--------------+ +--------------+ +------]<------+ +--------------+ +------]<------+ +--------------+ +------]<------+ +--------------+ +------]<------+ +--------------] + | | | | | | | | + H5 [--------------+ +------>[------+ +--------------+ +------>[------+ +--------------+ +------>[------+ +--------------+ +------>[------+ +--------------+ +--------------> + | | | | | | | | + H6 <--------------+ +--------------+ +------]<------+ +--------------+ +------]<------+ +--------------+ +------]<------+ +--------------+ +------]<------+ +--------------] + | | | | | | | | + H7 [--------------+ +------>[------- ---------------+ +------>[------- ---------------+ +------>[------- ---------------+ +------>[------- ---------------+ +--------------> + + The seam crosses columns ``C4`` and ``C5``. + The left and right edge staples respectively are in columns ``C0`` and ``C9``. + + Prints warning if number of bases exceeds 7249 (length of standard M13 scaffold strand), + but does not otherwise cause an error. + + `num_cols` must be 6 plus a nonnegative multiple of 4: 6, 10, 14, 18, 22, 26, ... + + `seam_left_column` specifies the location of the seam. (i.e., scaffold crossovers in the middle of the + origami.) + If positive, the seam occupies two columns, and `seam_left_column` specifies the column on the left. + To make the crossover geometry work out, a nonnegative `seam_left_column` must be even, + greater than 0, and less than `num_helices` - 2. + If negative, it is calculated automatically to be roughly in the middle. + + If `twist_correction_deletion_spacing` > 0, adds deletions between crossovers in one out of + every `twist_correction_deletion_spacing` columns. (TODO: cite Sungwook's paper) + + `twist_correction_start_col` is ignored if `twist_correction_deletion_spacing` <= 0, otherwise + it indicates the column at which to put the first deletions. Default = 1. + + `num_flanking_columns` is the number of empty columns on the helix on each side of the origami. + + `num_flanking_helices` is the number of empty helices above and below the origami. + + `nick_pattern` describes whether nicks between staples should be "staggered" or not. + See :class:`origami_rectangle.NickPattern` for details. + + `custom_scaffold` is the scaffold sequence to use. + If set to ``None``, the standard 7249-base M13 is used. + + `edge_staples` indicates whether to include the edge staples. (Leaving them out prevents multiple + origami rectangles from polymerizing in solution due to base stacking interactions on the left and + right edges of the origami rectangle.) + + `scaffold_nick_offset` is the position of the "nick" on the scaffold (the M13 scaffold is circular, + so for such a scaffold this really represents where any unused and undepicted bases of the scaffold will + form a loop-out). If negative (default value) then it will be chosen to be along the origami seam. + + `idt`, if ``True``, creates an :any:`VendorFields` in each staple strand suitable for + calling :py:meth:`DNADesign.write_idt_file` or :py:meth:`DNADesign.write_idt_plate_excel_file` + + Here's an example of using :any:`origami_rectangle.create` to create a design for a + 16-helix rectangle and write it to a file readable by scadnano. + (By default the output file name is the same as the script calling :any:`DNADesign.write_scadnano_file` + but with the extension ``.py`` changed to ``.dna``.) + + .. code-block:: Python + + import origami_rectangle as rect + + # XXX: ensure num_cols is even since we divide it by 2 + design = rect.create(num_helices=16, num_cols=24, nick_pattern=rect.staggered) + design.write_scadnano_file() + + However, we caution that :any:`origami_rectangle.create` is not intended to be very + extensible for creating many different types of DNA origami. It is more intended as an + example whose source code can be an efficient reference to learn the :mod:`scadnano` API. + """ # noqa (This line is here to suppress a PEP warning about long lines in the source code) + + if num_cols < 4: + raise ValueError(f'num_cols must be at least 4 but is {num_cols}') + # if num_cols % 4 != 2: + # raise ValueError(f'num_cols must be congruent to 2 mod 4 (6, 10, 14, 18, 22, ...) but is {num_cols}') + if num_cols % 2 != 0: + raise ValueError(f'num_cols must be even, but is {num_cols}') + if num_helices % 2 != 0: + raise ValueError(f'num_helices must be even but is {num_helices}') + if num_cols * num_helices * BASES_PER_COLUMN > 7249: + print(f'WARNING: you chose {num_cols} columns and {num_helices} helices, ' + f'which requires {num_cols * num_helices * BASES_PER_COLUMN} bases, ' + f'greater than the 7249 available in standard M13.') + if seam_left_column < 0: + seam_left_column = num_cols // 2 - 1 + if seam_left_column % 2 == 1: + raise ValueError(f'seam_left_column must be even but is {seam_left_column}') + + # allow empty "flanking" columns on each side + num_bases_per_helix = BASES_PER_COLUMN * (num_cols + 2 * num_flanking_columns) + # leftmost x offset + offset_start = BASES_PER_COLUMN * num_flanking_columns + # rightmost x offset + offset_end = offset_start + BASES_PER_COLUMN * num_cols + # x offset just to left of seam + offset_mid = offset_start + BASES_PER_COLUMN * (seam_left_column + 1) + + helices = _create_helices(num_helices + 2 * num_flanking_helices, num_bases_per_helix) + scaffold = _create_scaffold(offset_start, offset_end, offset_mid, num_helices, num_flanking_helices, + scaffold_nick_offset) + staples = _create_staples(offset_start, offset_end, offset_mid, num_helices, num_flanking_helices, + num_cols, nick_pattern, edge_staples, idt) + + design = sc.DNADesign(helices=helices, strands=[scaffold] + staples, grid=sc.square) + + if twist_correction_deletion_spacing > 0: + add_twist_correction_deletions(design=design, + offset_start=offset_start, + deletion_spacing=twist_correction_deletion_spacing, + deletion_start_col=twist_correction_start_col, + deletion_offset=twist_correction_deletion_offset, + num_helices=num_helices, + num_cols=num_cols, + num_flanking_helices=num_flanking_helices) + + if assign_seq: + scaffold_seq = sc.m13_sequence if custom_scaffold is None else custom_scaffold + design.assign_dna(scaffold, scaffold_seq) + + design.scaffold = scaffold + + if idt: + design.set_default_idt(True) + scaffold.set_default_idt(False) + + return design + + +BASES_PER_COLUMN = 16 + + +def _create_helices(num_helices: int, num_bases_per_helix: int): + return [sc.Helix(max_bases=num_bases_per_helix) for _ in range(num_helices)] + + +def _create_scaffold(offset_start: int, offset_end: int, offset_mid: int, num_helices: int, + num_flanking_helices: int, scaffold_nick_offset: int): + # top substrand is continguous + top_substrand = sc.Substrand(helix=0 + num_flanking_helices, forward=True, + start=offset_start, end=offset_end) + substrands_left = [] + substrands_right = [] + if scaffold_nick_offset < 0: + scaffold_nick_offset = offset_mid + for helix in range(1 + num_flanking_helices, num_helices + num_flanking_helices): + # otherwise there's a nick (bottom helix) or the seam crossover (all other than top and bottom) + # possibly nick on bottom helix is not along seam + center_offset = offset_mid if helix < num_helices + num_flanking_helices - 1 else scaffold_nick_offset + forward = (helix % 2 == num_flanking_helices % 2) + left_substrand = sc.Substrand(helix=helix, forward=forward, + start=offset_start, end=center_offset) + right_substrand = sc.Substrand(helix=helix, forward=forward, + start=center_offset, end=offset_end) + substrands_left.append(left_substrand) + substrands_right.append(right_substrand) + substrands_left.reverse() + substrands = substrands_left + [top_substrand] + substrands_right + return sc.Strand(substrands=substrands, color=sc.default_scaffold_color) + + +def _create_staples(offset_start: int, offset_end: int, offset_mid: int, num_helices: int, + num_flanking_helices: int, num_cols: int, + nick_pattern: NickPattern, edge_staples, idt: bool): + if edge_staples: + left_edge_staples = _create_left_edge_staples(offset_start, num_helices, num_flanking_helices, idt) + right_edge_staples = _create_right_edge_staples(offset_end, num_helices, num_flanking_helices, idt) + else: + left_edge_staples = [] + right_edge_staples = [] + seam_staples = _create_seam_staples(offset_mid, num_helices, num_flanking_helices, idt) + inner_staples = _create_inner_staples(offset_start, offset_end, offset_mid, num_helices, + num_flanking_helices, num_cols, nick_pattern, idt) + return left_edge_staples + right_edge_staples + seam_staples + inner_staples + + +def _create_seam_staples(offset_mid: int, num_helices: int, num_flanking_helices: int, idt: bool): + staples = [] + crossover_left = offset_mid - BASES_PER_COLUMN + crossover_right = offset_mid + BASES_PER_COLUMN + nick_bot = crossover_left + 8 + nick_top = crossover_right - 8 + for helix in range(1 + num_flanking_helices, num_helices + num_flanking_helices - 1, 2): + bot_helix_forward = False + ss_left_top = sc.Substrand(helix=helix, forward=not bot_helix_forward, + start=crossover_left, end=nick_top) + ss_left_bot = sc.Substrand(helix=helix + 1, forward=bot_helix_forward, + start=crossover_left, end=nick_bot) + ss_right_bot = sc.Substrand(helix=helix + 1, forward=bot_helix_forward, + start=nick_bot, end=crossover_right) + ss_right_top = sc.Substrand(helix=helix, forward=not bot_helix_forward, + start=nick_top, end=crossover_right) + staple_left = sc.Strand(substrands=[ss_left_bot, ss_left_top]) + staple_right = sc.Strand(substrands=[ss_right_top, ss_right_bot]) + staples.append(staple_left) + staples.append(staple_right) + + first_helix = num_flanking_helices + last_helix = num_flanking_helices + num_helices - 1 + first_staple_ss = sc.Substrand(helix=first_helix, forward=False, + start=nick_bot, end=nick_bot + BASES_PER_COLUMN * 2) + last_staple_ss = sc.Substrand(helix=last_helix, forward=True, + start=nick_top - BASES_PER_COLUMN * 2, end=nick_top) + first_staple = sc.Strand(substrands=[first_staple_ss]) + last_staple = sc.Strand(substrands=[last_staple_ss]) + + return [first_staple] + staples + [last_staple] + + +def _create_left_edge_staples(offset_start: int, num_helices: int, num_flanking_helices: int, idt: bool): + staples = [] + crossover_right = offset_start + BASES_PER_COLUMN + for helix in range(0 + num_flanking_helices, num_helices + num_flanking_helices, 2): + bot_helix_forward = True + ss_5p_bot = sc.Substrand(helix=helix + 1, forward=bot_helix_forward, + start=offset_start, end=crossover_right) + ss_3p_top = sc.Substrand(helix=helix, forward=not bot_helix_forward, + start=offset_start, end=crossover_right) + staple = sc.Strand(substrands=[ss_5p_bot, ss_3p_top]) + staples.append(staple) + return staples + + +def _create_right_edge_staples(offset_end: int, num_helices: int, num_flanking_helices: int, idt: bool): + staples = [] + crossover_left = offset_end - BASES_PER_COLUMN + for helix in range(0 + num_flanking_helices, num_helices + num_flanking_helices, 2): + bot_helix_forward = True + ss_5p_top = sc.Substrand(helix=helix, forward=not bot_helix_forward, + start=crossover_left, end=offset_end) + ss_3p_bot = sc.Substrand(helix=helix + 1, forward=bot_helix_forward, + start=crossover_left, end=offset_end) + staple = sc.Strand(substrands=[ss_5p_top, ss_3p_bot]) + staples.append(staple) + return staples + + +def _create_inner_staples(offset_start: int, offset_end: int, offset_mid: int, num_helices: int, + num_flanking_helices: int, num_cols: int, + nick_pattern: NickPattern, idt: bool): + if nick_pattern is not NickPattern.staggered: + raise NotImplementedError("Currently can only handle staggered nick pattern") + # if ((num_cols - 4) // 2) % 2 != 0: + # raise NotImplementedError("Currently can only handle num_cols such that an even number of " + # "columns appear between each edge column and seam column, " + # "i.e., ((num_cols - 4) // 2) % 2 == 0") + len_half_col = BASES_PER_COLUMN // 2 + + staples = [] + for col in range(num_cols): + x_l = offset_start + BASES_PER_COLUMN * col + x_r = offset_start + BASES_PER_COLUMN * (col + 1) + x_mid_col = x_l + len_half_col + if (x_l == offset_start # skip left edge column + or x_r == offset_mid # skip left seam column + or x_l == offset_mid # skip right seam column + or x_r == offset_end): # skip right edge column + continue + if col % 2 == 1: + # special staple in odd column is 24-base staple along top helix + h1_forward = True + ss_top_5p_h0 = sc.Substrand(helix=0 + num_flanking_helices, forward=not h1_forward, + start=x_l, end=x_mid_col + BASES_PER_COLUMN) + ss_top_3p_h1 = sc.Substrand(helix=1 + num_flanking_helices, forward=h1_forward, + start=x_l, end=x_mid_col) + staple_top = sc.Strand(substrands=[ss_top_5p_h0, ss_top_3p_h1]) + staples.append(staple_top) + + for helix in range(1 + num_flanking_helices, num_helices + num_flanking_helices - 2, 2): + helix_i_forward = True + ss_helix_i = sc.Substrand(helix=helix, forward=helix_i_forward, + start=x_mid_col, end=x_r) + ss_helix_ip1 = sc.Substrand(helix=helix + 1, forward=not helix_i_forward, + start=x_l, end=x_r) + ss_helix_ip2 = sc.Substrand(helix=helix + 2, forward=helix_i_forward, + start=x_l, end=x_mid_col) + staple = sc.Strand(substrands=[ss_helix_i, ss_helix_ip1, ss_helix_ip2]) + staples.append(staple) + + else: + # special staple in even column is 24-base staple along bottom helix (hm1="helix minus 1") + hm1_forward = True + ss_bot_5p_hm1 = sc.Substrand(helix=num_helices + num_flanking_helices - 1, forward=hm1_forward, + start=x_mid_col - BASES_PER_COLUMN, end=x_r) + ss_bot_3p_hm2 = sc.Substrand(helix=num_helices + num_flanking_helices - 2, + forward=not hm1_forward, + start=x_mid_col, end=x_r) + staple_bot = sc.Strand(substrands=[ss_bot_5p_hm1, ss_bot_3p_hm2]) + staples.append(staple_bot) + + for helix in range(0 + num_flanking_helices, num_helices + num_flanking_helices - 3, 2): + helix_i_forward = False + ss_helix_i = sc.Substrand(helix=helix, forward=helix_i_forward, + start=x_mid_col, end=x_r) + ss_helix_ip1 = sc.Substrand(helix=helix + 1, forward=not helix_i_forward, + start=x_l, end=x_r) + ss_helix_ip2 = sc.Substrand(helix=helix + 2, forward=helix_i_forward, + start=x_l, end=x_mid_col) + staple = sc.Strand(substrands=[ss_helix_ip2, ss_helix_ip1, ss_helix_i]) + staples.append(staple) + + return staples + + +def add_deletion_in_range(design: sc.DNADesign, helix: int, start: int, end: int, deletion_offset: int): + """Inserts deletion somewhere in given range. + + `offset` is the relative offset within a column at which to put the deletions. + If negative, chooses first available offset.""" + candidate_offsets = [] + for candidate_deletion_offset in range(start, end): + if valid_deletion_offset(design, helix, candidate_deletion_offset): + candidate_offsets.append(candidate_deletion_offset) + if len(candidate_offsets) == 0: + raise ValueError(f"no pair of Substrands found on Helix {helix} " + f"overlapping interval [{start},{end})") + if deletion_offset < 0: + # pick offset furthest from edges of interval + candidate_offsets.sort(key=lambda offset: min(offset - start, end - offset)) + deletion_absolute_offset = candidate_offsets[0] + else: + deletion_absolute_offset = start + deletion_offset + design.add_deletion(helix, deletion_absolute_offset) + + +def valid_deletion_offset(design: sc.DNADesign, helix: int, offset: int): + substrands_at_offset = design.substrands_at(helix, offset) + if len(substrands_at_offset) > 2: + raise ValueError(f'Invalid DNADesign; more than two Substrands found at ' + f'helix {helix} and offset {offset}: ' + f'{substrands_at_offset}') + elif len(substrands_at_offset) != 2: + return False + for ss in substrands_at_offset: + if offset in ss.deletions: + return False # already a deletion there + if offset in (insertion[0] for insertion in ss.insertions): + return False # already an insertion there + if offset == ss.start: + return False # no 5' end + if offset == ss.end - 1: + return False # no 3' end + return True + + +def add_twist_correction_deletions(design: sc.DNADesign, + offset_start: int, + deletion_spacing: int, + deletion_start_col: int, + deletion_offset: int, + num_helices: int, + num_cols: int, + num_flanking_helices: int): + for col in range(deletion_start_col, num_cols): + col_start = offset_start + col * BASES_PER_COLUMN + col_end = offset_start + (col + 1) * BASES_PER_COLUMN + if (col - deletion_start_col) % deletion_spacing == 0: + for helix in range(num_flanking_helices, num_flanking_helices + num_helices): + add_deletion_in_range(design=design, helix=helix, start=col_start + 1, + end=col_end - 1, deletion_offset=deletion_offset) diff --git a/v0.19.4/package-lock.json b/v0.19.4/package-lock.json new file mode 100644 index 000000000..5f8515241 --- /dev/null +++ b/v0.19.4/package-lock.json @@ -0,0 +1,11 @@ +{ + "requires": true, + "lockfileVersion": 1, + "dependencies": { + "event-source-polyfill": { + "version": "1.0.11", + "resolved": "https://registry.npmjs.org/event-source-polyfill/-/event-source-polyfill-1.0.11.tgz", + "integrity": "sha512-fbo96OutP0Bb+gIYTTy8LGhNWySdetsFElCn/vhOzQL3cXWsS70TP/aRUe32U7F+PuOZH/tvb40tZgoJV8/Ilw==" + } + } +} diff --git a/v0.19.4/packages/$sdk/_internal/strong.sum b/v0.19.4/packages/$sdk/_internal/strong.sum new file mode 100644 index 000000000..5622a3dfd --- /dev/null +++ b/v0.19.4/packages/$sdk/_internal/strong.sum @@ -0,0 +1,13044 @@ + §{ + "version": 1, + "experimentSets": { + "sdkExperiments": [ + "non-nullable", + "triple-shift" + ], + "nullSafety": [ + "non-nullable" + ] + }, + "sdk": { + "default": { + "experimentSet": "sdkExperiments" + }, + "_example_libraries": { + "ui": { + "experimentSet": "nullSafety" + } + } + }, + "packages": { + "async": { + "experimentSet": "nullSafety" + }, + "boolean_selector": { + "experimentSet": "nullSafety" + }, + "characters": { + "experimentSet": "nullSafety" + }, + "charcode": { + "experimentSet": "nullSafety" + }, + "clock": { + "experimentSet": "nullSafety" + }, + "collection": { + "experimentSet": "nullSafety" + }, + "connectivity": { + "experimentSet": "nullSafety" + }, + "connectivity_platform_interface": { + "experimentSet": "nullSafety" + }, + "convert": { + "experimentSet": "nullSafety" + }, + "crypto": { + "experimentSet": "nullSafety" + }, + "csslib": { + "experimentSet": "nullSafety" + }, + "dart_internal": { + "experimentSet": "nullSafety" + }, + "device_info": { + "experimentSet": "nullSafety" + }, + "device_info_platform_interface": { + "experimentSet": "nullSafety" + }, + "fake_async": { + "experimentSet": "nullSafety" + }, + "file": { + "experimentSet": "nullSafety" + }, + "fixnum": { + "experimentSet": "nullSafety" + }, + "flutter": { + "experimentSet": "nullSafety" + }, + "flutter_driver": { + "experimentSet": "nullSafety" + }, + "flutter_test": { + "experimentSet": "nullSafety" + }, + "flutter_goldens": { + "experimentSet": "nullSafety" + }, + "flutter_goldens_client": { + "experimentSet": "nullSafety" + }, + "http": { + "experimentSet": "nullSafety" + }, + "http_parser": { + "experimentSet": "nullSafety" + }, + "intl": { + "experimentSet": "nullSafety" + }, + "js": { + "experimentSet": "nullSafety" + }, + "logging": { + "experimentSet": "nullSafety" + }, + "matcher": { + "experimentSet": "nullSafety" + }, + "meta": { + "experimentSet": "nullSafety" + }, + "native_stack_traces": { + "experimentSet": "nullSafety" + }, + "observatory": { + "experimentSet": "nullSafety" + }, + "observatory_test_package": { + "experimentSet": "nullSafety" + }, + "path": { + "experimentSet": "nullSafety" + }, + "pedantic": { + "experimentSet": "nullSafety" + }, + "platform": { + "experimentSet": "nullSafety" + }, + "plugin_platform_interface": { + "experimentSet": "nullSafety" + }, + "pool": { + "experimentSet": "nullSafety" + }, + "process": { + "experimentSet": "nullSafety" + }, + "pub_semver": { + "experimentSet": "nullSafety" + }, + "sky_engine": { + "experimentSet": "nullSafety" + }, + "source_maps": { + "experimentSet": "nullSafety" + }, + "source_map_stack_trace": { + "experimentSet": "nullSafety" + }, + "source_span": { + "experimentSet": "nullSafety" + }, + "stack_trace": { + "experimentSet": "nullSafety" + }, + "stream_channel": { + "experimentSet": "nullSafety" + }, + "string_scanner": { + "experimentSet": "nullSafety" + }, + "term_glyph": { + "experimentSet": "nullSafety" + }, + "test": { + "experimentSet": "nullSafety" + }, + "test_api": { + "experimentSet": "nullSafety" + }, + "test_core": { + "experimentSet": "nullSafety" + }, + "typed_data": { + "experimentSet": "nullSafety" + }, + "url_launcher": { + "experimentSet": "nullSafety" + }, + "url_launcher_linux": { + "experimentSet": "nullSafety" + }, + "url_launcher_macos": { + "experimentSet": "nullSafety" + }, + "url_launcher_platform_interface": { + "experimentSet": "nullSafety" + }, + "url_launcher_windows": { + "experimentSet": "nullSafety" + }, + "vector_math": { + "experimentSet": "nullSafety" + }, + "video_player": { + "experimentSet": "nullSafety" + }, + "video_player_platform_interface": { + "experimentSet": "nullSafety" + }, + "video_player_web": { + "experimentSet": "nullSafety" + } + } +} +%dart:typed_datadart:typed_data,dart:typed_data/unmodifiable_typed_data.dart dart:convert dart:convertdart:convert/ascii.dartdart:convert/base64.dart!dart:convert/byte_conversion.dart$dart:convert/chunked_conversion.dartdart:convert/codec.dartdart:convert/converter.dartdart:convert/encoding.dartdart:convert/html_escape.dartdart:convert/json.dartdart:convert/latin1.dartdart:convert/line_splitter.dart#dart:convert/string_conversion.dartdart:convert/utf.dart dart:math dart:mathdart:math/point.dartdart:math/random.dartdart:math/rectangle.dart dart:core# dart:coredart:core/annotations.dartdart:core/bigint.dartdart:core/bool.dartdart:core/comparable.dartdart:core/date_time.dartdart:core/double.dartdart:core/duration.dartdart:core/errors.dartdart:core/exceptions.dartdart:core/expando.dartdart:core/function.dartdart:core/identical.dartdart:core/int.dartdart:core/invocation.dartdart:core/iterable.dartdart:core/iterator.dartdart:core/list.dartdart:core/map.dartdart:core/null.dartdart:core/num.dartdart:core/object.dartdart:core/pattern.dartdart:core/print.dartdart:core/regexp.dartdart:core/set.dartdart:core/sink.dartdart:core/stacktrace.dartdart:core/stopwatch.dartdart:core/string.dartdart:core/string_buffer.dartdart:core/string_sink.dartdart:core/symbol.dartdart:core/type.dartdart:core/uri.dartdart:_internal dart:_internaldart:_internal/async_cast.dart!dart:_internal/bytes_builder.dartdart:_internal/cast.dartdart:_internal/errors.dartdart:_internal/iterable.dartdart:_internal/list.dartdart:_internal/linked_list.dartdart:_internal/print.dartdart:_internal/sort.dartdart:_internal/symbol.dartdart:collectiondart:collection dart:collection/collections.dartdart:collection/hash_map.dartdart:collection/hash_set.dartdart:collection/iterable.dartdart:collection/iterator.dart$dart:collection/linked_hash_map.dart$dart:collection/linked_hash_set.dart dart:collection/linked_list.dartdart:collection/list.dartdart:collection/maps.dartdart:collection/queue.dartdart:collection/set.dartdart:collection/splay_tree.dart +dart:async +dart:asyncdart:async/async_error.dart+dart:async/broadcast_stream_controller.dartdart:async/deferred_load.dartdart:async/future.dartdart:async/future_impl.dart"dart:async/schedule_microtask.dartdart:async/stream.dart!dart:async/stream_controller.dartdart:async/stream_impl.dartdart:async/stream_pipe.dart#dart:async/stream_transformers.dartdart:async/timer.dartdart:async/zone.dart dart:isolate dart:isolatedart:isolate/capability.dartdart:developerdart:developerdart:developer/extension.dartdart:developer/profiler.dartdart:developer/service.dartdart:developer/timeline.dartdart:ffidart:ffidart:ffi/native_type.dartdart:ffi/allocation.dartdart:ffi/annotations.dartdart:ffi/dynamic_library.dartdart:ffi/struct.dartdart:_js_embedded_namesdart:_js_embedded_namesdart:_js_namesdart:_js_namesdart:_recipe_syntaxdart:_recipe_syntax dart:_rti dart:_rtidart:_foreign_helperdart:_foreign_helperdart:_js_helperdart:_js_helper dart:_js_helper/annotations.dart!dart:_js_helper/constant_map.dart"dart:_js_helper/instantiation.dart"dart:_js_helper/native_helper.dart"dart:_js_helper/regexp_helper.dart"dart:_js_helper/string_helper.dart$dart:_js_helper/linked_hash_map.dartdart:_interceptorsdart:_interceptors dart:_interceptors/js_array.dart!dart:_interceptors/js_number.dart!dart:_interceptors/js_string.dartdart:_native_typed_datadart:_native_typed_data dart:web_gl dart:web_gl dart:js_util dart:js_utildart:_metadatadart:_metadatadart:html_commondart:html_common#dart:html_common/css_class_set.dart!dart:html_common/conversions.dart)dart:html_common/conversions_dart2js.dartdart:html_common/device.dart+dart:html_common/filtered_element_list.dartdart:html_common/lists.dartdart:indexed_dbdart:indexed_dbdart:svgdart:svgdart:web_audiodart:web_audio dart:web_sql dart:web_sql dart:html dart:htmldart:iodart:iodart:io/common.dartdart:io/data_transformer.dartdart:io/directory.dartdart:io/directory_impl.dartdart:io/embedder_config.dartdart:io/eventhandler.dartdart:io/file.dartdart:io/file_impl.dartdart:io/file_system_entity.dartdart:io/io_resource_info.dartdart:io/io_sink.dartdart:io/io_service.dartdart:io/link.dartdart:io/namespace_impl.dartdart:io/network_policy.dartdart:io/network_profiling.dartdart:io/overrides.dartdart:io/platform.dartdart:io/platform_impl.dartdart:io/process.dart!dart:io/secure_server_socket.dartdart:io/secure_socket.dartdart:io/security_context.dartdart:io/service_object.dartdart:io/socket.dartdart:io/stdio.dartdart:io/string_transformer.dartdart:io/sync_socket.dart +dart:_http + +dart:_httpdart:_http/crypto.dartdart:_http/http_date.dartdart:_http/http_headers.dartdart:_http/http_impl.dartdart:_http/http_parser.dartdart:_http/http_session.dartdart:_http/overrides.dartdart:_http/websocket.dartdart:_http/websocket_impl.dartdart:jsdart:jsdart:_jsdart:_js dart:mirrors dart:mirrorsdart:nativewrappersdart:nativewrappersdart:clidart:clidart:cli/wait_for.dartdart:_js_primitivesdart:_js_primitivesdart:_async_await_error_codesdart:_async_await_error_codesdart:_js_annotationsdart:_js_annotationsÀ!v  @Î##!##$ !#$$# # +'# # '# "'# #"'# ##'#"'# #"'# ##'#"'# #"'# ##'#"'# #"'# ##'#"'# #"'# ##'#"'# #"'# # #'#"'# #"'# # +#'#"'# #"'# # #'#"'# #"'# # # '#!"'# #"'# # #"'##"'# #"'# ##$'#%"'# #"'# ##&'#'"'# #"'# ##('#)"'# #"'# ##*'#+"'# #"'# #IU +X €ˆ€¸€èHx¨Ø‚ ‚8"‚h$‚˜&‚È(‚ø*#,#-'# #'# # +'# #.'# ƒtU-ƒƒUƒ’U +ƒ¡U. '#,#/#0'#1&'# "'#1&'# #2ƒÔ0 '#,#3#0'#1&'#4"'#1&'#4 #2„0#5+'#6*#7*#5#8 #7@+'#5*#9' #5#8@+'#5*#:' #5#8 @+'#5*#;!„T7„h8„~9„¢:„Æ;'#,#+"’#+"'# ##<$=>#0#+#?"'# #."'# #"'# #$0#+#@"'#, #A"'# #B"'# #C#$DE%#F'# "'# #G&#H'#I"'# #G"'# #J'#K'# "'# #G(#L'#I"'# #G"'# #J)#M'# "'# #G"'#5 #N #5#9*#O'#I"'# #G"'# #J"'#5 #N #5#9+#P'# "'# #G"'#5 #N #5#9,#Q'#I"'# #G"'# #J"'#5 #N #5#9-#R'# "'# #G"'#5 #N #5#9.#S'#I"'# #G"'# #J"'#5 #N #5#9/#T'# "'# #G"'#5 #N #5#90#U'#I"'# #G"'# #J"'#5 #N #5#91#V'# "'# #G"'#5 #N #5#92#W'#I"'# #G"'# #J"'#5 #N #5#93#X'# "'# #G"'#5 #N #5#94#Y'#I"'# #G"'# #J"'#5 #N #5#95#Z'#4"'# #G"'#5 #N #5#96#['#I"'# #G"'#4 #J"'#5 #N #5#97#\'#4"'# #G"'#5 #N #5#98#]'#I"'# #G"'#4 #J"'#5 #N #5#99…^…)?…`@…¢F…¿H…çK†L†,M†\O†—P†ÇQ‡R‡2S‡mT‡U‡ØVˆWˆCXˆsYˆ®ZˆÞ[‰\‰I]'#1&'# '#/#:’#"'# #;²##_"'#1&'# #`<0##?"'# #."'# #"'# #=0##@"'#, #A"'# #B"'# #C#$DE>#a'#"'# #B"'# #C?@+'# *#b@Š^Š_Š8?Šo@Š±aŠÜb'#1&'# '#/# A’# "'# #B²# #_"'#1&'# #`C0# #?"'# #."'# #"'# #D0# #@"'#, #A"'# #B"'# #C#$DEE#0'#1&'# "'#1&'# #2F#a'# "'# #B"'# #CG@+'# *#bH‹,^‹C_‹c?‹š@‹Ü0ŒaŒ2b'#1&'# '#/#I’#"'# #J²##_"'#1&'# #`K0##?"'# #."'# #"'# #L0##@"'#, #A"'# #B"'# #C#$DEM#a'#"'# #B"'# #CN@+'# *#bOŒ†^Œ_Œ½?Œô@6aab'#1&'# '#/#P’#"'# #Q²##_"'#1&'# #`R0##?"'# #."'# #"'# #S0##@"'#, #A"'# #B"'# #C#$DET#a'#"'# #B"'# #CU@+'# *#bV±^È_è?Ž@ŽaaŽŒb'#1&'# '#/#W’#"'# #X²##_"'#1&'# #`Y0##?"'# #."'# #"'# #Z0##@"'#, #A"'# #B"'# #C#$DE[#a'#"'# #B"'# #C\@+'# *#b]ŽÜ^Žó_?J@Œa·b'#1&'# '#/#^’#"'# #_²##_"'#1&'# #``0##?"'# #."'# #"'# #a0##@"'#, #A"'# #B"'# #C#$DEb#a'#"'# #B"'# #Cc@+'# *#bd^_>?u@·aâb'#1&'# '#/#e’#"'# #f²##_"'#1&'# #`g0##?"'# #."'# #"'# #h0##@"'#, #A"'# #B"'# #C#$DEi#a'#"'# #B"'# #Cj@+'# *#bk‘2^‘I_‘i?‘ @‘âa’ b'#1&'# '#/#l’#"'# #m²##_"'#1&'# #`n0##?"'# #."'# #"'# #o0##@"'#, #A"'# #B"'# #C#$DEp#a'#"'# #B"'# #Cq@+'# *#br’]^’t_’”?’Ë@“ a“8b'#1&'# '#/#s’#"'# #t²##_"'#1&'# #`u0##?"'# #."'# #"'# #v0##@"'#, #A"'# #B"'# #C#$DEw#a'#"'# #B"'# #Cx@+'# *#by“ˆ^“Ÿ_“¿?“ö@”8a”cb'#1&'#4'#3##z’##"'# #{²###_"'#1&'#4 #`|0###?"'# #."'# #"'# #}0###@"'#, #A"'# #B"'# #C#$DE~#a'##"'# #B"'# #C@+'# *#b€€”³^”Ê_”ê?•!@•ca•Žb'#1&'#4'#3#%€’#%"'# #€‚²#%#_"'#1&'#4 #`€ƒ0#%#?"'# #."'# #"'# #€„0#%#@"'#, #A"'# #B"'# #C#$DE€…#a'#%"'# #B"'# #C€†@+'# *#b€‡•à^•ø_–?–Q@–”a–Àb'#1&'#c'#,#'€ˆ’#'"'# #€‰²#'#_"'#1&'#c #`€Š0#'#?"'# #."'# #"'# #€‹0#'#@"'#, #A"'# #B"'# #C#$DE€Œ#0'#1&'#c"'#1&'#c #2€#a'#'"'# #B"'# #C€Ž@+'# *#b€—^—*_—K?—ƒ@—Æ0—òa˜b'#1&'#d'#,#!€’#!"'# #€‘²#!#_"'#1&'#d #`€’0#!#?"'# #."'# #"'# #€“0#!#@"'#, #A"'# #B"'# #C#$DE€”#0'#1&'#d"'#1&'#d #2€•#a'#!"'# #B"'# #C€–@+'# *#b€—˜t^˜Œ_˜­?˜å@™(0™Ta™€b'#1&'#e'#,#)€˜’#)"'# #€™²#)#_"'#1&'#e #`€š#0'#1&'#e"'#1&'#e #2€›0#)#?"'# #."'# #"'# #€œ0#)#@"'#, #A"'# #B"'# #C#$DE€#a'#)"'# #B"'# #C€ž@+'# *#b€Ÿ™Ö^™î_š0š;?šs@š¶ašâb#c€ #’#c"'#4 #f"'#4 #g"'#4 #h"'#4 #i€¡²#c#j"'#4 #k€¢²#c#l€£²#c#m"'#d #f€¤²#c#n"'#e #k€¥#0'#c"'#c #2€¦#o'#c€§#o'#c"'#c #2€¨#p'#c"'#c #2€©#q'#c"'#c #2€ª#r'#d"'#c #2€«#s'#d"'#c #2€¬#t'#d"'#c #2€­#u'#d"'#c #2€®#v'#d"'#c #2€¯#w'#d"'#c #2€°#x'#c"'#4 #y€±#z'#c€²#{'#c"'#c #|"'#c #}€³#f'#4€´#g'#4€µ#h'#4€¶#i'#4€·#~'# €¸@+'# *#€¹@+'# *#€€@€º@+'# *#€€€»@+'# *#€‚À€¼@+'# *#€ƒ€½@+'# *#€„P€¾@+'# *#€…€¿@+'# *#€†ЀÀ@+'# *#€‡ €Á@+'# *#€ˆ`€Â@+'# *#€‰ €Ã@+'# *#€Šà€Ä@+'# *#€‹0€Å@+'# *#€Œp€Æ@+'# *#€°€Ç@+'# *#€Žð€È@+'# *#€€É@+'# *#€D€Ê@+'# *#€‘„€Ë@+'# *#€’Ä€Ì@+'# *#€“€Í@+'# *#€”T€Î@+'# *#€•”€Ï@+'# *#€–Ô€Ð@+'# *#€—$€Ñ@+'# *#€˜d€Ò@+'# *#€™¤€Ó@+'# *#€šä€Ô@+'# *#€›4€Õ@+'# *#€œt€Ö@+'# *#€´€×@+'# *#€žô€Ø@+'# *#€Ÿ€Ù@+'# *#€ H€Ú@+'# *#€¡ˆ€Û@+'# *#€¢È€Ü@+'# *#€£€Ý@+'# *#€¤X€Þ@+'# *#€¥˜€ß@+'# *#€¦Ø€à@+'# *#€§(€á@+'# *#€¨h€â@+'# *#€©¨€ã@+'# *#€ªè€ä@+'# *#€«8€å@+'# *#€¬x€æ@+'# *#€­¸€ç@+'# *#€®ø€è@+'# *#€¯ €é@+'# *#€°L€ê@+'# *#€±Œ€ë@+'# *#€²Ì€ì@+'# *#€³€í@+'# *#€´\€î@+'# *#€µœ€ï@+'# *#€¶Ü€ð@+'# *#€·,€ñ@+'# *#€¸l€ò@+'# *#€¹¬€ó@+'# *#€ºì€ô@+'# *#€»<€õ@+'# *#€¼|€ö@+'# *#€½¼€÷@+'# *#€¾ü€ø@+'# *#€¿€ù@+'# *#€ÀA€ú@+'# *#€Á€û@+'# *#€ÂÁ€ü@+'# *#€Ã€ý@+'# *#€ÄQ€þ@+'# *#€Å‘€ÿ@+'# *#€ÆÑ@+'# *#€Ç!@+'# *#€Èa@+'# *#€É¡@+'# *#€Êá@+'# *#€Ë1@+'# *#€Ìq@+'# *#€Í±@+'# *#€Îñ@+'# *#€Ï @+'# *#€ÐE +@+'# *#€Ñ… @+'# *#€ÒÅ @+'# *#€Ó @+'# *#€ÔU@+'# *#€Õ•@+'# *#€ÖÕ@+'# *#€×%@+'# *#€Øe@+'# *#€Ù¥@+'# *#€Úå@+'# *#€Û5@+'# *#€Üu@+'# *#€Ýµ@+'# *#€Þõ@+'# *#€ß @+'# *#€àI@+'# *#€á‰@+'# *#€âÉ@+'# *#€ã@+'# *#€äY@+'# *#€å™@+'# *#€æÙ @+'# *#€ç)!@+'# *#€èi"@+'# *#€é©#@+'# *#€êé$@+'# *#€ë9%@+'# *#€ìy&@+'# *#€í¹'@+'# *#€îù(@+'# *#€ï )@+'# *#€ðM*@+'# *#€ñ+@+'# *#€òÍ,@+'# *#€ó-@+'# *#€ô].@+'# *#€õ/@+'# *#€öÝ0@+'# *#€÷-1@+'# *#€øm2@+'# *#€ù­3@+'# *#€úí4@+'# *#€û=5@+'# *#€ü}6@+'# *#€ý½7@+'# *#€þý8@+'# *#€ÿ9@+'# *#B:@+'# *#‚;@+'# *#Â<@+'# *#=@+'# *#R>@+'# *#’?@+'# *#Ò@@+'# *#"A@+'# *#bB@+'# *# ¢C@+'# *# +âD@+'# *# 2E@+'# *# rF@+'# *# ²G@+'# *#òH@+'# *#I@+'# *#FJ@+'# *#†K@+'# *#ÆL@+'# *#M@+'# *#VN@+'# *#–O@+'# *#ÖP@+'# *#&Q@+'# *#fR@+'# *#¦S@+'# *#æT@+'# *#6U@+'# *#vV@+'# *#¶W@+'# *#öX@+'# *# +Y@+'# *# JZ@+'# *#!Š[@+'# *#"Ê\@+'# *##]@+'# *#$Z^@+'# *#%š_@+'# *#&Ú`@+'# *#'*a@+'# *#(jb@+'# *#)ªc@+'# *#*êd@+'# *#+:e@+'# *#,zf@+'# *#-ºg@+'# *#.úh@+'# *#/i@+'# *#0Nj@+'# *#1Žk@+'# *#2Îl@+'# *#3m@+'# *#4^n@+'# *#5žo@+'# *#6Þp@+'# *#7.q@+'# *#8nr@+'# *#9®s@+'# *#:ît@+'# *#;>u@+'# *#<~v@+'# *#=¾w@+'# *#>þx@+'# *#?y@+'# *#@Cz@+'# *#Aƒ{@+'# *#BÃ|@+'# *#C}@+'# *#DS~@+'# *#E“@+'# *#FÓ€@+'# *#G#@+'# *#Hc‚@+'# *#I£ƒ@+'# *#Jã„@+'# *#K3…@+'# *#Ls†@+'# *#M³‡@+'# *#Nóˆ@+'# *#O‰@+'# *#PGŠ@+'# *#Q‡‹@+'# *#RÇŒ@+'# *#S@+'# *#TWŽ@+'# *#U—@+'# *#V×@+'# *#W'‘@+'# *#Xg’@+'# *#Y§“@+'# *#Zç”@+'# *#[7•@+'# *#\w–@+'# *#]·—@+'# *#^÷˜@+'# *#_ ™@+'# *#`Kš@+'# *#a‹›@+'# *#bËœ@+'# *#c@+'# *#d[ž@+'# *#e›Ÿ@+'# *#fÛ @+'# *#g+¡@+'# *#hk¢@+'# *#i«£@+'# *#jë¤@+'# *#k;¥@+'# *#l{¦@+'# *#m»§@+'# *#nû¨@+'# *#o©@+'# *#pOª@+'# *#q«@+'# *#rϬ@+'# *#s­@+'# *#t_®@+'# *#uŸ¯@+'# *#vß°@+'# *#w/±@+'# *#xo²@+'# *#y¯³@+'# *#zï´@+'# *#{?µ@+'# *#|¶@+'# *#}¿·@+'# *#~ÿ¸#'#c"'# #€¹#'#c"'#c #2"'# #€º#‚'#c"'#4 #f»#ƒ'#c"'#4 #g¼#„'#c"'#4 #h½#…'#c"'#4 #i¾#†'#c"'#c #2¿#‡'#c"'#c #2À#ˆ'#cÁ#‰'#cÂ#Š'#cÃ#›&^›_j›yl›ˆm›¢n›¼0›Úo›íoœ pœ)qœGrœesœƒtœ¡uœ¿vœÝwœûxz,{UUfeUguUh…Ui•U~¥¼€€Ô€ì€‚ž€ƒž€„ž4€…žL€†žd€‡ž|€ˆž”€‰ž¬€ŠžÄ€‹žÜ€Œžô€Ÿ €ŽŸ$€Ÿ<€ŸT€‘Ÿl€’Ÿ„€“Ÿœ€”Ÿ´€•ŸÌ€–Ÿä€—Ÿü€˜ €™ ,€š D€› \€œ t€ Œ€ž ¤€Ÿ ¼€  Ô€¡ ì€¢¡€£¡€¤¡4€¥¡L€¦¡d€§¡|€¨¡”€©¡¬€ª¡Ä€«¡Ü€¬¡ô€­¢ €®¢$€¯¢<€°¢T€±¢l€²¢„€³¢œ€´¢´€µ¢Ì€¶¢ä€·¢ü€¸£€¹£,€º£D€»£\€¼£t€½£Œ€¾£¤€¿£¼€À£Ô€Á£ì€Â¤€Ã¤€Ä¤4€Å¤L€Æ¤d€Ç¤|€È¤”€É¤¬€Ê¤Ä€Ë¤Ü€Ì¤ô€Í¥ €Î¥$€Ï¥<€Ð¥T€Ñ¥l€Ò¥„€Ó¥œ€Ô¥´€Õ¥Ì€Ö¥ä€×¥ü€Ø¦€Ù¦,€Ú¦D€Û¦\€Ü¦t€Ý¦Œ€Þ¦¤€ß¦¼€à¦Ô€á¦ì€â§€ã§€ä§4€å§L€æ§d€ç§|€è§”€é§¬€ê§Ä€ë§Ü€ì§ô€í¨ €î¨$€ï¨<€ð¨T€ñ¨l€ò¨„€ó¨œ€ô¨´€õ¨Ì€ö¨ä€÷¨ü€ø©€ù©,€ú©D€û©\€ü©t€ý©Œ€þ©¤€ÿ©¼©Ô©ìªªª4ªLªdª|ª” ª¬ +ªÄ ªÜ ªô « «$«<«T«l«„«œ«´«Ì«ä«ü¬¬,¬D¬\¬t¬Œ¬¤¬¼ ¬Ô!¬ì"­#­$­4%­L&­d'­|(­”)­¬*­Ä+­Ü,­ô-® .®$/®<0®T1®l2®„3®œ4®´5®Ì6®ä7®ü8¯9¯,:¯D;¯\<¯t=¯Œ>¯¤?¯¼@¯ÔA¯ìB°C°D°4E°LF°dG°|H°”I°¬J°ÄK°ÜL°ôM± N±$O±<P±TQ±lR±„S±œT±´U±ÌV±äW±üX²Y²,Z²D[²\\²t]²Œ^²¤_²¼`²Ôa²ìb³c³d³4e³Lf³dg³|h³”i³¬j³Äk³Ül³ôm´ n´$o´<p´Tq´lr´„s´œt´´u´Ìv´äw´üxµyµ,zµD{µ\|µt}µŒ~µ¤µÄµï‚¶ƒ¶-„¶L…¶k†¶Š‡¶©ˆ¶½‰¶ÑŠ#dÄ’#d"'# #f"'# #g"'# #h"'# #iŲ#d#6"'#6 #f"'#6 #g"'#6 #h"'#6 #iƲ#d#‹"'#c #fÇ#Œ'#d"'#d #2È#'#d"'#d #2É#Ž'#d"'#d #2Ê#0'#d"'#d #2Ë#o'#d"'#d #2Ì#f'# Í#g'# Î#h'# Ï#i'# Ð#~'# Ñ@+'# *#Ò@+'# *#€€@Ó@+'# *#€€Ô@+'# *#€‚ÀÕ@+'# *#€ƒÖ@+'# *#€„P×@+'# *#€…Ø@+'# *#€†ÐÙ@+'# *#€‡ Ú@+'# *#€ˆ`Û@+'# *#€‰ Ü@+'# *#€ŠàÝ@+'# *#€‹0Þ@+'# *#€Œpß@+'# *#€°à@+'# *#€Žðá@+'# *#€â@+'# *#€Dã@+'# *#€‘„ä@+'# *#€’Äå@+'# *#€“æ@+'# *#€”Tç@+'# *#€•”è@+'# *#€–Ôé@+'# *#€—$ê@+'# *#€˜dë@+'# *#€™¤ì@+'# *#€šäí@+'# *#€›4î@+'# *#€œtï@+'# *#€´ð@+'# *#€žôñ@+'# *#€Ÿò@+'# *#€ Hó@+'# *#€¡ˆô@+'# *#€¢Èõ@+'# *#€£ö@+'# *#€¤X÷@+'# *#€¥˜ø@+'# *#€¦Øù@+'# *#€§(ú@+'# *#€¨hû@+'# *#€©¨ü@+'# *#€ªèý@+'# *#€«8þ@+'# *#€¬xÿ@+'# *#€­¸‚@+'# *#€®ø‚@+'# *#€¯ ‚@+'# *#€°L‚@+'# *#€±Œ‚@+'# *#€²Ì‚@+'# *#€³‚@+'# *#€´\‚@+'# *#€µœ‚@+'# *#€¶Ü‚ @+'# *#€·,‚ +@+'# *#€¸l‚ @+'# *#€¹¬‚ @+'# *#€ºì‚ @+'# *#€»<‚@+'# *#€¼|‚@+'# *#€½¼‚@+'# *#€¾ü‚@+'# *#€¿‚@+'# *#€ÀA‚@+'# *#€Á‚@+'# *#€ÂÁ‚@+'# *#€Ã‚@+'# *#€ÄQ‚@+'# *#€Å‘‚@+'# *#€ÆÑ‚@+'# *#€Ç!‚@+'# *#€Èa‚@+'# *#€É¡‚@+'# *#€Êá‚@+'# *#€Ë1‚@+'# *#€Ìq‚@+'# *#€Í±‚ @+'# *#€Îñ‚!@+'# *#€Ï‚"@+'# *#€ÐE‚#@+'# *#€Ñ…‚$@+'# *#€ÒÅ‚%@+'# *#€Ó‚&@+'# *#€ÔU‚'@+'# *#€Õ•‚(@+'# *#€ÖÕ‚)@+'# *#€×%‚*@+'# *#€Øe‚+@+'# *#€Ù¥‚,@+'# *#€Úå‚-@+'# *#€Û5‚.@+'# *#€Üu‚/@+'# *#€Ýµ‚0@+'# *#€Þõ‚1@+'# *#€ß ‚2@+'# *#€àI‚3@+'# *#€á‰‚4@+'# *#€âÉ‚5@+'# *#€ã‚6@+'# *#€äY‚7@+'# *#€å™‚8@+'# *#€æÙ‚9@+'# *#€ç)‚:@+'# *#€èi‚;@+'# *#€é©‚<@+'# *#€êé‚=@+'# *#€ë9‚>@+'# *#€ìy‚?@+'# *#€í¹‚@@+'# *#€îù‚A@+'# *#€ï ‚B@+'# *#€ðM‚C@+'# *#€ñ‚D@+'# *#€òÍ‚E@+'# *#€ó‚F@+'# *#€ô]‚G@+'# *#€õ‚H@+'# *#€öÝ‚I@+'# *#€÷-‚J@+'# *#€øm‚K@+'# *#€ù­‚L@+'# *#€úí‚M@+'# *#€û=‚N@+'# *#€ü}‚O@+'# *#€ý½‚P@+'# *#€þý‚Q@+'# *#€ÿ‚R@+'# *#B‚S@+'# *#‚‚T@+'# *#‚U@+'# *#‚V@+'# *#R‚W@+'# *#’‚X@+'# *#Ò‚Y@+'# *#"‚Z@+'# *#b‚[@+'# *# ¢‚\@+'# *# +â‚]@+'# *# 2‚^@+'# *# r‚_@+'# *# ²‚`@+'# *#ò‚a@+'# *#‚b@+'# *#F‚c@+'# *#†‚d@+'# *#Æ‚e@+'# *#‚f@+'# *#V‚g@+'# *#–‚h@+'# *#Ö‚i@+'# *#&‚j@+'# *#f‚k@+'# *#¦‚l@+'# *#æ‚m@+'# *#6‚n@+'# *#v‚o@+'# *#¶‚p@+'# *#ö‚q@+'# *# +‚r@+'# *# J‚s@+'# *#!Š‚t@+'# *#"Ê‚u@+'# *##‚v@+'# *#$Z‚w@+'# *#%š‚x@+'# *#&Ú‚y@+'# *#'*‚z@+'# *#(j‚{@+'# *#)ª‚|@+'# *#*ê‚}@+'# *#+:‚~@+'# *#,z‚@+'# *#-º‚€@+'# *#.ú‚@+'# *#/‚‚@+'# *#0N‚ƒ@+'# *#1Ž‚„@+'# *#2΂…@+'# *#3‚†@+'# *#4^‚‡@+'# *#5ž‚ˆ@+'# *#6Þ‚‰@+'# *#7.‚Š@+'# *#8n‚‹@+'# *#9®‚Œ@+'# *#:î‚@+'# *#;>‚Ž@+'# *#<~‚@+'# *#=¾‚@+'# *#>þ‚‘@+'# *#?‚’@+'# *#@C‚“@+'# *#Aƒ‚”@+'# *#B•@+'# *#C‚–@+'# *#DS‚—@+'# *#E“‚˜@+'# *#FÓ‚™@+'# *#G#‚š@+'# *#Hc‚›@+'# *#I£‚œ@+'# *#Jã‚@+'# *#K3‚ž@+'# *#Ls‚Ÿ@+'# *#M³‚ @+'# *#Nó‚¡@+'# *#O‚¢@+'# *#PG‚£@+'# *#Q‡‚¤@+'# *#RÇ‚¥@+'# *#S‚¦@+'# *#TW‚§@+'# *#U—‚¨@+'# *#Vׂ©@+'# *#W'‚ª@+'# *#Xg‚«@+'# *#Y§‚¬@+'# *#Zç‚­@+'# *#[7‚®@+'# *#\w‚¯@+'# *#]·‚°@+'# *#^÷‚±@+'# *#_ ‚²@+'# *#`K‚³@+'# *#a‹‚´@+'# *#bË‚µ@+'# *#c‚¶@+'# *#d[‚·@+'# *#e›‚¸@+'# *#fÛ‚¹@+'# *#g+‚º@+'# *#hk‚»@+'# *#i«‚¼@+'# *#j낽@+'# *#k;‚¾@+'# *#l{‚¿@+'# *#m»‚À@+'# *#nû‚Á@+'# *#o‚Â@+'# *#pO‚Ã@+'# *#q‚Ä@+'# *#rÏ‚Å@+'# *#s‚Æ@+'# *#t_‚Ç@+'# *#uŸ‚È@+'# *#vß‚É@+'# *#w/‚Ê@+'# *#xo‚Ë@+'# *#y¯‚Ì@+'# *#zï‚Í@+'# *#{?‚Î@+'# *#|‚Ï@+'# *#}¿‚Ð@+'# *#~ÿ‚Ñ#'#d"'# #€‚Ò#'#d"'#d #2"'# #€‚Ó#‚'#d"'# #f‚Ô#ƒ'#d"'# #g‚Õ#„'#d"'# #h‚Ö#…'#d"'# #i‚×#'#6‚Ø#'#6‚Ù#‘'#6‚Ú#’'#6‚Û#“'#d"'#6 #f‚Ü#”'#d"'#6 #g‚Ý#•'#d"'#6 #h‚Þ#–'#d"'#6 #i‚ß#—'#c"'#c #˜"'#c #™‚ཌ^½Å6¾‹¾Œ¾:¾YŽ¾x0¾–o¾´Uf¾ÄUg¾ÔUh¾äUi¾ôU~¿¿€€¿3€¿K€‚¿c€ƒ¿{€„¿“€…¿«€†¿Ã€‡¿Û€ˆ¿ó€‰À@ €ŠÀ@#€‹À@;€ŒÀ@S€À@k€ŽÀ@ƒ€À@›€À@³€‘À@Ë€’À@〓À@û€”ÀA€•ÀA+€–ÀAC€—ÀA[€˜ÀAs€™ÀA‹€šÀA£€›ÀA»€œÀAÓ€ÀA뀞ÀB€ŸÀB€ ÀB3€¡ÀBK€¢ÀBc€£ÀB{€¤ÀB“€¥ÀB«€¦ÀBÀ§ÀBÛ€¨ÀBó€©ÀC €ªÀC#€«ÀC;€¬ÀCS€­ÀCk€®ÀCƒ€¯ÀC›€°ÀC³€±ÀCË€²ÀC〳ÀCû€´ÀD€µÀD+€¶ÀDC€·ÀD[€¸ÀDs€¹ÀD‹€ºÀD£€»ÀD»€¼ÀDÓ€½ÀD뀾ÀE€¿ÀE€ÀÀE3€ÁÀEK€ÂÀEc€ÃÀE{€ÄÀE“€ÅÀE«€ÆÀEÀÇÀEÛ€ÈÀEó€ÉÀF €ÊÀF#€ËÀF;€ÌÀFS€ÍÀFk€ÎÀFƒ€ÏÀF›€ÐÀF³€ÑÀFË€ÒÀFã€ÓÀFû€ÔÀG€ÕÀG+€ÖÀGC€×ÀG[€ØÀGs€ÙÀG‹€ÚÀG£€ÛÀG»€ÜÀGÓ€ÝÀGë€ÞÀH€ßÀH€àÀH3€áÀHK€âÀHc€ãÀH{€äÀH“€åÀH«€æÀHÀçÀHÛ€èÀHó€éÀI €êÀI#€ëÀI;€ìÀIS€íÀIk€îÀIƒ€ïÀI›€ðÀI³€ñÀIË€òÀIã€óÀIû€ôÀJ€õÀJ+€öÀJC€÷ÀJ[€øÀJs€ùÀJ‹€úÀJ£€ûÀJ»€üÀJÓ€ýÀJë€þÀK€ÿÀKÀK3ÀKKÀKcÀK{ÀK“ÀK«ÀKÃÀKÛÀKó ÀL  +ÀL# ÀL; ÀLS ÀLkÀLƒÀL›ÀL³ÀLËÀLãÀLûÀMÀM+ÀMCÀM[ÀMsÀM‹ÀM£ÀM»ÀMÓÀMëÀNÀN ÀN3!ÀNK"ÀNc#ÀN{$ÀN“%ÀN«&ÀNÃ'ÀNÛ(ÀNó)ÀO *ÀO#+ÀO;,ÀOS-ÀOk.ÀOƒ/ÀO›0ÀO³1ÀOË2ÀOã3ÀOû4ÀP5ÀP+6ÀPC7ÀP[8ÀPs9ÀP‹:ÀP£;ÀP»<ÀPÓ=ÀPë>ÀQ?ÀQ@ÀQ3AÀQKBÀQcCÀQ{DÀQ“EÀQ«FÀQÃGÀQÛHÀQóIÀR JÀR#KÀR;LÀRSMÀRkNÀRƒOÀR›PÀR³QÀRËRÀRãSÀRûTÀSUÀS+VÀSCWÀS[XÀSsYÀS‹ZÀS£[ÀS»\ÀSÓ]ÀSë^ÀT_ÀT`ÀT3aÀTKbÀTccÀT{dÀT“eÀT«fÀTÃgÀTÛhÀTóiÀU jÀU#kÀU;lÀUSmÀUknÀUƒoÀU›pÀU³qÀUËrÀUãsÀUûtÀVuÀV+vÀVCwÀV[xÀVsyÀV‹zÀV£{ÀV»|ÀVÓ}ÀVë~ÀWÀW#ÀWN‚ÀWmƒÀWŒ„ÀW«…ÀWÊUÀWÛUÀWìU‘ÀWýU’ÀX“ÀX-”ÀXL•ÀXk–ÀXŠ—#e‚á’#e"'#4 #f"'#4 #g‚â²#e#j"'#4 #k‚ã²#e#l‚ä²#e#š"'#c #k‚å#0'#e"'#e #2‚æ#o'#e‚ç#o'#e"'#e #2‚è#p'#e"'#e #2‚é#q'#e"'#e #2‚ê#x'#e"'#4 #y‚ë#z'#e‚ì#{'#e"'#e #|"'#e #}‚í#f'#4‚î#g'#4‚ï#~'# ‚ð#‚'#e"'#4 #f‚ñ#ƒ'#e"'#4 #g‚ò#†'#e"'#e #2‚ó#‡'#e"'#e #2‚ô#ˆ'#e‚õÀaP^ÀasjÀalÀaœšÀa·0ÀaÕoÀaèoÀbpÀb$qÀbBxÀb`zÀbs{ÀbœUfÀb¬UgÀb¼U~ÀbÌ‚ÀbëƒÀc +†Àc)‡ÀcHˆ< ƒ(ƒg,ƒ°ƒÁ/ƒÿ„3„B„G5„Ú„ó+‰„‰áŠò‹  ŒHŒfw‘Ž¢Ž¼Íçø‘’#’=“N“h”y”“#•¥•¿%–×–ñ'˜5˜S!™—™µ)šù›c¶å½}dÀX¶ÀaBeÀc\  @Î##'# #›+'# *#œ#›"'# #A# +'# # '# "'# #"'# ##'#"'# #"'# ##'#"'# #"'# ##'#"'# #"'# ##'#"'# #"'# ##'#"'# #"'# # #'#"'# #"'# # +#'#"'# #"'# # #'#"'# #"'# # # '#!"'# #"'# # #"'##"'# #"'# ##$'#%"'# #"'# ##&'#'"'# #"'# ##('#)"'# #"'# ##*'#+"'# #"'# #ÀdœÀd²^ÀdÊU +ÀdÙ Àe Àe9ÀeiÀe™ÀeÉÀeùÀf)ÀfYÀf‰ Àf¹"Àfé$Àg&ÀgI(Àgy*'#+#+'#+*#œ#"'#+ #A#F'# "'# #G#H'#I"'# #G"'# #J#K'# "'# #G#L'#I"'# #G"'# #J#M'# "'# #G"'#5 #N #5#9#O'#I"'# #G"'# #J"'#5 #N #5#9#P'# "'# #G"'#5 #N #5#9#Q'#I"'# #G"'# #J"'#5 #N #5#9#R'# "'# #G"'#5 #N #5#9#S'#I"'# #G"'# #J"'#5 #N #5#9#T'# "'# #G"'#5 #N #5#9 #U'#I"'# #G"'# #J"'#5 #N #5#9!#V'# "'# #G"'#5 #N #5#9"#W'#I"'# #G"'# #J"'#5 #N #5#9##X'# "'# #G"'#5 #N #5#9$#Y'#I"'# #G"'# #J"'#5 #N #5#9%#Z'#4"'# #G"'#5 #N #5#9&#['#I"'# #G"'#4 #J"'#5 #N #5#9'#\'#4"'# #G"'#5 #N #5#9(#]'#I"'# #G"'#4 #J"'#5 #N #5#9)#-'# *#'# +# +'# ,#.'# -#ž'#I.Àh-œÀhB^ÀhZFÀhwHÀhŸKÀh¼LÀhäMÀiOÀiOPÀiQÀiºRÀiêSÀj%TÀjUUÀjVÀjÀWÀjûXÀk+YÀkfZÀk–[ÀkÑ\Àl]Àl+'#*#£?#©"'# #¨@#¦'#"'# #AÀoV£Àok^Ào„¦ '#&'# -'#¢&'# '#'#'##ªB+'#*#£C#ª"'# #¨D#¦'#"'# #EÀoó£Àp^Àp!¦ '#&'# -'#¢&'# '#'#'##«F+'#*#£G#«"'# #¨H#¦'#"'# #IÀp£Àp¥^Àp¾¦ '#&'# -'#¢&'# '#'#'##¬J+'#*#£K#¬"'# #¨L#¦'#"'# #MÀq-£ÀqB^Àq[¦ '#&'# -'#¢&'# '#'#'##­N+'#*#£O#­"'# #¨P#¦'#"'# #QÀqÊ£Àqß^Àqø¦ '#&'# -'#¢&'# '#'#'##®R+'#*#£S#®"'# #¨T#¦'#"'# #UÀrg£Àr|^Àr•¦ '#&'# -'#¢&'# '#'#'##¯V+'#*#£W#¯"'# #¨X#¦'#"'# #YÀs£Às^Às2¦ '#&'# -'#¢&'# '#'#'##°Z+'#*#£[#°"'# #¨\#¦'#"'# #]Às¡£Às¶^ÀsϦ '#&'#d-'#¢&'#d'#!'#!'#!#±^+'#!*#£_#±"'#! #¨`#¦'#!"'# #aÀt>£ÀtS^Àtl¦ '#&'#c-'#¢&'#c'#''#''#'#²b+'#'*#£c#²"'#' #¨d#¦'#'"'# #eÀtÛ£Àtð^Àu ¦ '#&'#e-'#¢&'#e'#)'#)'#)#³f+'#)*#£g#³"'#) #¨h#¦'#)"'# #iÀux£Àu^Àu¦¦ '#&'#4-'#¢&'#4'##'##'###´j+'##*#£k#´"'## #¨l#¦'##"'# #mÀv£Àv*^ÀvC¦ '#&'#4-'#¢&'#4'#%'#%'#%#µn+'#%*#£o#µ"'#% #¨p#¦'#%"'# #qÀv²£ÀvÇ^Àvà¦ÀdlÀdˆ›Àg©ÀhÀl‹Àm1¢Àn=Àn~§ÀoÀo©Ào¢Ào¸ªÀp?ÀpU«ÀpÜÀpò¬ÀqyÀq­ÀrÀr,®Àr³ÀrɯÀsPÀsf°ÀsíÀt±ÀtŠÀt ²Àu'Àu=³ÀuÄÀuÚ´ÀvaÀvwµÀvþ¶úÀcÛÀw  @Î##·$¸¹$º»!#¼#½#¾$¿$ÀÁ$ÂÃ$ÄÅ$ÆÇ$ÈÉ$ÊË$ÌÍ$ÎÏ$ÐÑ$ÒÓ$ÔÕ$Ö×$ØÙÀwã  @Î##·%+'#Ú*#Û;#Ú%+'# *#Ü '#Ý#Ú+'#6*#Þ #Ú"'#6 #ß2#Þ#ß#à'#á#â'# "'#á #ã#ä'#á"'#1&'# #å"'#6 #ß#æ'#ç#è'#é ÀxòÞÀy^Ày-UàÀy>âÀy^äÀy”UæÀy¥Uè '#ê&'#á'#1&'# #ë ++'# *#ì  +#ë #ì #·'# "'#á #í"'# #B"'# #C #î'#ï"'#ð&'#1&'# #ñ#ò'#ó&'#1&'# "'#ó&'#á #ôÀzìÀz&^Àz<·ÀzzîÀz©ò '#ë#ç #çE#ÜÀ{^ '#õ#ö+'#÷*#ø+'# *#ì#ö #ì #ø#ù'#I#ú'#I"'#á #ã"'# #B"'# #C"'#6 #ûÀ{IøÀ{_ìÀ{t^À{“ùÀ{¦ú '#ê&'#1&'# '#á#ü+'#6*#Þ+'# *#ì +#ü #Þ #ì#·'#á"'#1&'# #å"'# #B"'# #C#ý'#á"'#1&'# #å"'# #B"'# #C#î'#÷"'#ð&'#á #ñ#ò'#ó&'#á"'#ó&'#1&'# #ôÀ|6ÞÀ|KìÀ|`^À|·À|ÄýÀ}îÀ}*ò '#ü#é  #é"'#6 #ßE#ß#Ü!#î'#÷"'#ð&'#á #ñ"À}©^À}Ñî '#þ#ÿ#+'#÷*#‚$#ÿ #‚%#ù'#I&#‚'#I"'#1&'# #ã'#ú'#I"'#1&'# #ã"'# #B"'# #C"'#6 #û(À~‚À~3^À~IùÀ~\‚À~‚ú '#þ#‚)+'#ð*#ø*#‚ #ø+#ù'#I,#‚'#I"'#1&'# #ã-#ú'#I"'#1&'# #ã"'# #B"'# #C"'#6 #û.ÀøÀ^À/ùÀB‚ÀhúÀxŠ +Àx§%ÛÀxÆ%ÜÀxÝÚÀy¶ÀyèëÀzàÀ{çÀ{-À{4öÀ{èÀ| üÀ}aÀ}”éÀ}úÀ~ÿÀ~ÊÀ~î‚À°  @Î##·%+'#‚*#‚;#‚%+'#‚*#‚;#‚#‚"'#1&'# #å'#á#‚"'#1&'# #å'#á#‚"'#á #ã'# #‚ %+'# *#‚ += '#‚ &'#1&'# '#á#‚+'#‚ *#‚  #‚2#‚ '#‚ +#‚#‚2#‚ ' #‚ #‚ #æ'#‚ +#è'#‚ #ä'# "'#á #‚ #‚'#á"'#á #ã"'# #B"'# #C @#‚'#I"'#á #ã"'# #‚"'# #‚"'# #‚"'# #‚"'# #ÀS‚ Ài^À‡‚À¬UæÀ½UèÀÎäÀî‚À‚-‚ '#ê&'#1&'# '#á#‚ +'#6*#‚ #‚ 2#‚+#‚ #‚2#‚#·'#á"'#1&'# #‚#î'#÷"'#ð&'#á #ñÀ‚ê‚À‚ÿ^Àƒ‚Àƒ*·ÀƒQî#‚@+'#á*#‚$‚‚@+'#á*#‚$‚‚@+'# *#‚@+'# *#‚ @+'# *#‚!?+'# *#‚"+'#á*#‚##‚"'#6 #‚@#‚$'# "'# #‚%"'# #‚&@#‚''# "'# #‚(@#‚)'# "'# #‚( #‚*'# "'# #‚+!#â'# "'#1&'# #å"'# #B"'# #C"'#6 #û"@#‚,'# "'#á #‚-"'#1&'# #å"'# #B"'# #C"'#6 #û"'# #‚."'# #‚/"'# #‚(#@#‚0'#I"'#á #‚-"'# #‚."'# #‚/"'# #‚%"'# #‚&$Àƒ¬‚ÀƒÇ‚Àƒâ‚Àƒù‚ À„‚!À„'‚"À„<‚#À„R^À„k‚$À„–‚'À„µ‚)À„Ô‚*À„óâÀ…;‚,À…´‚0 '#‚#‚1%+'# *#‚2&#‚1"'#6 #‚'#‚*'# "'# #‚+(À†‰‚2À†ž^À†·‚* '#þ#‚3)#‚'#I"'#1&'# #ã*#ù'#I+#ú'#I"'#1&'# #ã"'# #B"'# #C"'#6 #û,#‚4'#I"'#1&'# #ã"'# #B"'# #C"'#6 #û-À‡‚À‡'ùÀ‡:úÀ‡‚‚4 '#‚3#‚5.+'#ð&'#á*#ø/+'#‚*#‚ 0#‚5 #ø"'#6 #‚1#‚4'#I"'#1&'# #ã"'# #B"'# #C"'#6 #û2À‡üøÀˆ‚ Àˆ0^ÀˆR‚4 '#‚3#‚63+'#÷*#ø4+'#‚*#‚ 5#‚6 #ø"'#6 #‚6#‚4'#I"'#1&'# #ã"'# #B"'# #C"'#6 #û7ÀˆÍøÀˆã‚ Àˆù^À‰‚4 '#ê&'#á'#1&'# #‚8 +#‚9#·'# "'#á #‚"'# #B"'# #C:#î'#ï"'#ð&'#1&'# #ñ;À‰ª^À‰··À‰õî#‚7<@+'# *#‚=@+'# *#‚ >@+'# *#‚8OO?@+'# *#‚9OO@@+'# *#‚:#‚8A@+'# *#‚;#‚9B@+'#1&'# *#‚<C@+'# *#‚=%D@+'# *#‚>3E@+'# *#‚?dF+'# *#‚"G@#‚@'# "'# #‚%"'# #‚&H@#‚)'# "'# #‚(I@#‚''# "'# #‚(J@#‚A'# "'# #‚BK@#‚C'# "'# #‚(L@#‚D'#6"'# #‚(M#ä'# "'#á #‚"'# #B"'# #CN#ù'#I"'#á #‚"'# #CO@#‚E'# "'#á #‚"'# #B"'# #C"'# #‚."'# #‚F"'# #‚(P@+'# *#‚GQ@#‚H'# "'#á #‚"'# #B"'# #C"'# #‚(R@#‚I'# "'#á #‚"'# #B"'# #CS@#‚'# "'#á #‚"'# #B"'# #C"'# #‚(TÀŠG‚ÀŠ^‚ ÀŠu‚8ÀŠŽ‚9ÀŠ§‚:ÀŠ¿‚;ÀŠ×‚<ÀŠó‚=À‹ +‚>À‹!‚?À‹8‚"À‹M‚@À‹x‚)À‹—‚'À‹¶‚AÀ‹Õ‚CÀ‹ô‚DÀŒäÀŒIùÀŒt‚EÀŒÎ‚GÀŒã‚HÀ%‚IÀ[‚ '#õ#‚JU+'#ð&'#1&'# *#øV+'#‚7*#‚KW#‚J #øX#‚'#I"'#á #íY#ù'#IZ#ú'#I"'#á #í"'# #B"'# #C"'#6 #û[ÀŽgøÀŽ‹‚KÀŽ¡^ÀŽ·‚ÀŽ×ùÀŽêúÀ€AÀ€^%‚À€}%‚À€Ÿ‚À€È‚À€ñ‚ À%‚ +À*‚À‚ˆÀ‚Á‚ ÀƒzÀƒž‚À†À†t‚1À†ÖÀ†ì‚3À‡ÊÀ‡ç‚5ÀˆšÀˆ¸‚6À‰cÀ‰‚ÀŠ$ÀŠ9‚7ÀÀŽR‚JÀ,  @Î##· '#‚L&'#1&'# #÷#÷6#÷#‚M'#I"'#1&'# #‚N #‚O'#‚P6#÷#‚Q"'#ð&'#1&'# #ñ'#‚R#ú'#I"'#1&'# #‚S"'# #B"'# #C"'#6 #ûÀ8^ÀE‚MÀ€‚QÀ³ú '#÷#þ#‚'#I"'#1&'# #‚S#ù'#I#ú'#I"'#1&'# #‚S"'# #B"'# #C"'#6 #ûÀ‘,‚À‘RùÀ‘eú '#þ#‚R +'#ð&'#1&'# *#ø +#‚R #ø #‚'#I"'#1&'# #‚S #ù'#I À‘ØøÀ‘ü^À’‚À’8ù '#þ#‚P@+*#‚TH+'#I"'#1&'# *#‚U+'#1&'# *#‚V+'# *#‚W#‚P'#I"'#1&'# #‚N #‚O#‚'#I"'#‚X&'# #‚S@#‚Y'# "'# #k#ù'#IÀ’}‚TÀ’–‚UÀ’‚VÀ’Þ‚WÀ’ó^À“#‚À“J‚YÀ“hùÀøÀ÷ÀûÀ‘þÀ‘­À‘ÂRÀ’KÀ’h‚PÀ“{  @Î##·)(#‚Z'#ð&'#‚Z#‚L#‚L6#‚L#‚M'#I"'#1&'#‚Z #‚N #‚O'#‚[&'#‚Z#‚'#I"'#‚Z #‚S#ù'#IÀ”+^À”8‚MÀ”|‚À”œù)(#‚Z '#‚L&'#‚Z#‚[+'#I"'#1&'#‚Z*#‚U+'#1&'#‚Z*#‚\#‚[ #‚U#‚'#I"'#‚Z #‚S #ù'#I +À”ð‚UÀ•‚\À•:^À•P‚À•pù)(#‚](#‚Z'#‚^&'#‚]#‚_ +'#‚^&'#‚Z*#‚` +'#ð&'#‚]*#‚a #‚_"'#ê&'#‚]'#‚Z #‚b"'#‚^&'#‚Z #ñ#‚'#I"'#‚] #‚c#‚d'#I"'#‚e #‚f"'#‚g #‚h#ù'#IÀ•Ô‚`À•ò‚aÀ–^À–M‚À–m‚dÀ–ùÀ“èÀ”‚LÀ”¯À”Ë‚[À•ƒÀ•¨‚_À–°  @Î##·)(#‚](#‚Z#‚  +#‚ #â'#‚Z"'#‚] #‚#ä'#‚]"'#‚Z #‚#æ'#ê&'#‚]'#‚Z#è'#ê&'#‚Z'#‚]#‚i)(#‚j'#‚ &'#‚]'#‚j"'#‚ &'#‚Z'#‚j #2#‚k'#‚ &'#‚Z'#‚]À—;^À—HâÀ—iäÀ—ŠUæÀ—©UèÀ—È‚iÀ˜ U‚k)(#‚](#‚l(#‚Z '#‚ &'#‚]'#‚Z#‚m+'#‚ &'#‚]'#‚l*#‚n +'#‚ &'#‚l'#‚Z*#‚o +#æ'#ê&'#‚]'#‚Z #è'#ê&'#‚Z'#‚] #‚m #‚n #‚o À˜“‚nÀ˜·‚oÀ˜ÛUæÀ˜úUèÀ™^)(#‚Z(#‚] '#‚ &'#‚Z'#‚]#‚p+'#‚ &'#‚]'#‚Z*#‚q#‚p"'#‚ &'#‚]'#‚Z #‚r#æ'#ê&'#‚Z'#‚]#è'#ê&'#‚]'#‚Z#‚k'#‚ &'#‚]'#‚ZÀ™Ž‚qÀ™²^À™ÚUæÀ™ùUèÀšU‚kÀ—À—‚ À˜+À˜\‚mÀ™8À™]‚pÀš7  @Î##·)(#‚](#‚Z '#‚s&'#‚]'#‚Z#ê +#ê@#‚t)(#‚u(#‚v(#‚w(#‚x'#ê&'#‚w'#‚x"'#ê&'#‚u'#‚v #ã#·'#‚Z"'#‚] #‚#‚i)(#‚x'#ê&'#‚]'#‚x"'#ê&'#‚Z'#‚x #2#î'#ð&'#‚]"'#ð&'#‚Z #ñ#ò'#ó&'#‚Z"'#ó&'#‚] #ô#‚y)(#‚z(#‚{'#ê&'#‚z'#‚{ÀšÏ^ÀšÜ‚tÀ›3·À›T‚iÀ›˜îÀ›ÉòÀ›ú‚y)(#‚](#‚l(#‚Z '#ê&'#‚]'#‚Z#‚|+'#ê&'#‚]'#‚l*#‚n +'#ê&'#‚l'#‚Z*#‚o +#‚| #‚n #‚o #·'#‚Z"'#‚] #‚ #î'#ð&'#‚]"'#ð&'#‚Z #ñ Àœ’‚nÀœ¶‚oÀœÚ^Àœù·ÀîÀšÀšžêÀœ*Àœ[‚|ÀK  @Î##· '#‚ &'#á'#1&'# #Ý +#Ý#æ'#ê&'#á'#1&'# #è'#ê&'#1&'# '#á#‚}'#‚~&'#á"'#ó&'#1&'# #‚#à'#á@+'#‚€&'#á'#Ý*#‚@#‚‚'#Ý"'#á #àÀÑ^ÀÞUæÀžUèÀž(‚}Àž_UàÀžp‚Àž”‚‚À‹À¨ÝÀžµ  @Î##·%+'#‚ƒ*#‚„;#‚ƒ#‚… +'#á*#‚†+'#6*#‚‡+'#6*#‚ˆ+'#6*#‚‰+'#6*#‚Š@+'#‚…*#‚‹;#‚…#8$‚Œ‚‹@+'#‚…*#‚;#‚…#8$‚Ž‚@+'#‚…*#‚;#‚…#8$‚Ž‚ @+'#‚…*#‚;#‚…#8$‚‘‚ +*#‚…#8 #‚† #‚‡ #‚ˆ #‚‰ #‚Š  #‚…"'#á #à$‚’‚“ #‚‡ #‚ˆ #‚‰ #‚Š2#‚†#à #‚”'#á ÀŸA‚†ÀŸW‚‡ÀŸl‚ˆÀŸ‚‰ÀŸ–‚ŠÀŸ«‚‹ÀŸÙ‚À ‚À 5‚À c8À Ÿ^À¡‚” '#ê&'#á'#á#‚ƒ+'#‚…*#‚• +#‚ƒ #‚• #‚…#‚‹#·'#á"'#á #‚–#‚—'#á"'#á #‚–"'# #B"'# #C#î'#ï"'#ð&'#á #ñÀ¡”‚•À¡ª^À¡Ê·À¡ë‚—À¢"î '#õ#‚˜+'#‚ƒ*#‚™+'#ï*#ø#‚˜ #‚™ #ø#ú'#I"'#á #‚S"'# #B"'# #C"'#6 #û#ù'#IÀ¢„‚™À¢šøÀ¢°^À¢ÏúÀ£ùÀž÷ÀŸ%‚„ÀŸ3‚…À¡À¡q‚ƒÀ¢KÀ¢o‚˜À£$  @Î##· '#‚š#‚›+'#‚e*#‚œ+'#‚e*#‚+'#á*#‚ž#‚› #‚œ #‚ #‚ž#‚”'#áÀ£©‚œÀ£¿‚À£Õ‚žÀ£ë^À¤‚” '#‚›#‚Ÿ#‚Ÿ"'#‚e #‚ #‚”'#áÀ¤h^À¤‚‚”%+'#‚¡*#‚¢;#‚¡ "'#‚e #‚ '#‚e"'#‚e #‚£ #‚¤'#á#‚¥ +"'#á #ã'#‚e"'#‚e #‚¦"'#‚e #J #‚§'#‚¨#‚©  '#‚ &'#‚e'#á#‚¡ +'#‚e"'#‚e #‚¦"'#‚e #J*#‚ª +'#‚e"'#‚¨*#‚« #‚¡'#‚e"'#‚e #‚¦"'#‚e #J #‚§'#‚e"'#‚¨ #‚  #‚¤2#‚ª#‚§2#‚«#‚¤##‚¡#‚¬'#‚¨"'#‚e #‚¦"'#‚e #J #‚§#ä'#‚¨"'#á #ã'#‚e"'#‚e #‚¦"'#‚e #J #‚§#â'#á"'#‚e #J'#‚e"'#‚¨ #‚  #‚¤#æ'#‚­#è'#‚®À¥z‚ªÀ¥°‚«À¥×^À¦B‚¬À¦|äÀ¦ÊâÀ§ UæÀ§Uè '#ê&'#‚e'#á#‚­+'#á*#‚¯+'#‚e"'#‚¨*#‚« #‚­'#‚e"'#‚¨ #‚  #‚¤2#‚¯12#‚«#‚¤+#‚­#‚° #‚¯'#‚e"'#‚¨ #‚  #‚¤2#‚«#‚¤#·'#á"'#‚e #‚ #î'#‚L&'#‚e"'#ð&'#á #ñ#ò'#ó&'#á"'#ó&'#‚e #ô#‚i)(#‚Z'#ê&'#‚e'#‚Z"'#ê&'#á'#‚Z #2À§Š‚¯À§ ‚«À§Ç^À¨‚°À¨E·À¨fîÀ¨—òÀ¨È‚i '#ê&'#‚e'#1&'# #‚± +@+'# *#‚²H@+'# *#‚³#‚²#‚´ +'#1&'# *#‚µ!+'#‚e"'#‚¨*#‚«"+'# *#‚¶##‚±"'#á #‚¯'#‚¨"'#‚¨ #‚  #‚¤"'# #‚·$@#‚¸'#1&'# "'#á #í%#·'#1&'# "'#‚e #‚ &#î'#‚L&'#‚e"'#ð&'#1&'# #ñ'#ò'#ó&'#1&'# "'#ó&'#‚e #ô( +À©o‚²À©‚³À©¬‚µÀ©È‚«À©ï‚¶Àª^ÀªQ‚¸Àªx·ÀªŸîÀªÖò '#‚L&'#‚e#‚¹)+'#á*#‚µ*+'#‚e"'#‚¨*#‚«++'#ï*#ø,+'#6*#‚º-#‚¹ #ø #‚« #‚µ.#‚'#I"'#‚e #‚c/#ù'#I0À«u‚µÀ«‹‚«À«²øÀ«È‚ºÀ«Ý^À¬‚À¬%ù '#‚L&'#‚e#‚»1 +'#÷*#ø2+'#1&'# *#‚µ3+'#‚e"'#‚¨*#‚«4+'# *#‚¶5+'#6*#‚º6#‚» #ø #‚« #‚µ #‚¶7#‚¼'#I"'# #‚S"'# #B"'# #C8#‚'#I"'#‚e #‚ 9#ù'#I: À¬ŠøÀ¬ ‚µÀ¬¼‚«À¬ã‚¶À¬ø‚ºÀ­ ^À­>‚¼À­s‚À­“ù '#ê&'#á'#‚e#‚®;+'#‚e"'#‚e #‚¦"'#‚e #J*#‚ª< #‚®'#‚e"'#‚e #‚¦"'#‚e #J #‚§2#‚ª#‚§=#·'#‚¨"'#á #‚>€‚#î'#ï"'#ð&'#‚e #ñ?#ò'#ó&'#‚e"'#ó&'#á #ô@À® ‚ªÀ®C^À®…·À®¦îÀ®Ðò€"'#á #ã" #‚¦" #J #‚§'#‚¨#‚½A"'#‚¨ #‚ '#‚¨#‚¾B#‚¿C#@+'# *#‚ÀD@+'# *#‚Á E@+'# *#‚ +F@+'# *#‚à G@+'# *#‚Ä H@+'# *#‚Å"I@+'# *#‚Æ0J@+'# *#‚Ç\K@+'# *#‚ÈbL@+'# *#‚ÉdM@+'# *#‚ÊfN@+'# *#‚ËnO@+'# *#‚ÌrP@+'# *#‚ÍtQ@+'# *#‚ÎuR@+'# *#‚ÏHØS@+'# *#‚ÐHüT@+'# *#‚ÑHØU@+'# *#‚ÒHÜV+'#1*#‚ÓW+"'#‚¨*#‚«X#‚¿'#‚¨"'#‚¨ #‚c #‚¤Y#‚Ô'#áZ#‚Õ'#I"'#á #‚Ö[#‚×'#I"'#á #‚Ö"'# #B"'# #C\#‚Ø'#I"'# #‚Ù]#‚Ú'#I"'#‚Û #‚Ü^@#‚Ý'# "'# #f_#‚Þ'#I"'#á #y`#‚ß'#I"'#‚e #‚ a#‚à'#I"'#‚e #‚ b#‚á'#I"'#‚e #‚ c#‚â'#6"'#‚e #‚ d#‚ã'#I"'#1&'#‚e #¨e#‚ä'#6"'#‚€&'#‚e'#‚e #‚åf#À¯‘‚ÀÀ¯¨‚ÁÀ¯¿‚ÂÀ¯Ö‚ÃÀ¯í‚ÄÀ°‚ÅÀ°‚ÆÀ°2‚ÇÀ°I‚ÈÀ°`‚ÉÀ°w‚ÊÀ°Ž‚ËÀ°¥‚ÌÀ°¼‚ÍÀ°Ó‚ÎÀ°ê‚ÏÀ±‚ÐÀ±&‚ÑÀ±D‚ÒÀ±b‚ÓÀ±w‚«À±˜^À±ÃU‚ÔÀ±Ô‚ÕÀ±ô‚×À²*‚ØÀ²I‚ÚÀ²i‚ÝÀ²‡‚ÞÀ²¦‚ßÀ²Æ‚àÀ²æ‚áÀ³‚âÀ³&‚ãÀ³M‚ä'#‚¿#‚æg+'# *#‚çh#‚è'#I"'# #‚éi#‚ã'#I"'#1&'#‚e #¨j#‚ä'#6"'#‚€&'#‚e'#‚e #‚åkÀ´›‚çÀ´°‚èÀ´Ï‚ãÀ´ö‚ä '#‚¿#‚êl +'#‚ë*#øm#‚ê #ø"'#‚¨"'#‚¨ #‚  #‚«n@#‚ì'#á"'#‚e #‚ '#‚¨"'#‚¨ #‚  #‚¤"'#á #‚¯o@#‚í'#I"'#‚e #‚ "'#‚ë #‚.'#‚¨"'#‚¨ #‚c #‚¤"'#á #‚¯p#‚Ô'#áq#‚Ú'#I"'#‚Û #‚Ür#‚Õ'#I"'#á #ís#‚×'#I"'#á #í"'# #B"'# #Ct#‚Ø'#I"'# #‚Ùu ÀµWøÀµm^Àµ¤‚ìÀµð‚íÀ¶HU‚ÔÀ¶Y‚ÚÀ¶y‚ÕÀ¶™‚×À¶Ï‚Ø '#‚ê-'#‚æ#‚îv+'#á*#‚µw#‚î"'#‚ë #ñ'#‚¨"'#‚¨ #‚c #‚¤ #‚µx#‚è'#I"'# #‚%yÀ·K‚µÀ·a^À·¢‚è '#‚¿#‚ïz+'# *#‚·{+'#I"'# #¨"'# #B"'# #C*#‚ð|+'# *#.}+'# *#¥~#‚ï'#‚¨"'#‚¨ #‚c #‚¤ #‚· #‚ð@#‚ì'#I"'#‚e #‚ "'#1&'# #‚¯'#‚¨"'#‚¨ #‚c #‚¤"'# #‚·'#I"'# #‚S"'# #B"'# #C #‚ð€€#‚ñ'#I€#‚Ô'#ဂ#‚Ú'#I"'#‚Û #‚Ü€ƒ#‚ò'#I"'#á #퀄#‚Õ'#I"'#á #퀅#‚×'#I"'#á #í"'# #B"'# #C€†#‚Ø'#I"'# #‚Ù€‡#‚ó'#I"'# #‚Ù€ˆ#‚ô'#I"'# #‚Ù€‰#‚õ'#I"'# #‚ö€ŠÀ·ì‚·À¸‚ðÀ¸?.À¸S¥À¸h^À¸¥‚ìÀ¹5‚ñÀ¹IU‚ÔÀ¹[‚ÚÀ¹|‚òÀ¹‚ÕÀ¹¾‚×À¹õ‚ØÀº‚óÀº5‚ôÀºU‚õ '#‚ï-'#‚æ#‚÷€‹+'#1&'# *#‚¯€Œ#‚÷'#‚¨"'#‚¨ #‚c #‚¤ #‚¯"'# #‚·'#I"'# #."'# #B"'# #C #‚ð€#‚è'#I"'# #‚%€ŽÀ»‚¯À»#^À»•‚èÀ£wÀ£”‚›À¤-À¤S‚ŸÀ¤–À¤¤%‚¢À¤Ã‚¥À¥‚©À¥W‚¡À§-À§g‚­À© À©F‚±À« À«X‚¹À¬8À¬m‚»À­¦À­ê‚®À¯À¯%‚½À¯`‚¾À¯ƒ‚¿À³{À´…‚æÀµ$ÀµB‚êÀ¶îÀ·.‚îÀ·ÁÀ·×‚ïÀºuÀºè‚÷À»µ  @Î##·%+'#‚ø*#‚ù;#‚ø%+'# *#‚úÿ '#Ý#‚ø+'#6*#Þ #‚ø"'#6 #ß2#Þ#ß#à'#á#â'# "'#á #ã#ä'#á"'#1&'# #å"'#6 #ß#æ'#‚û#è'#‚ü À¼öÞÀ½ ^À½1UàÀ½BâÀ½bäÀ½˜UæÀ½©Uè '#ë#‚û + #‚ûE#‚ú À¾^ '#ü#‚ü  #‚ü"'#6 #ßE#ß#‚ú #î'#÷"'#ð&'#á #ñÀ¾1^À¾Yî '#þ#‚ý+'#ï*#ø#‚ý #ø#ù'#I#‚'#I"'#1&'# #ã#‚þ'#I"'#1&'# #ã"'# #B"'# #C"'#6 #û#ú'#I"'#1&'# #ã"'# #B"'# #C"'#6 #û@#‚ÿ'#I"'#1&'# #ã"'# #B"'# #C@#ƒ'#I"'#1&'# #ã"'# #B"'# #CÀ¾¥øÀ¾»^À¾ÑùÀ¾ä‚À¿ +‚þÀ¿RúÀ¿š‚ÿÀ¿Öƒ '#‚ý#ƒ#ƒ"'#ï #ñ#ú'#I"'#1&'# #ã"'# #B"'# #C"'#6 #ûÀÀ`^ÀÀzúÀ¼ŽÀ¼«%‚ùÀ¼Ê%‚úÀ¼á‚øÀ½ºÀ½ì‚ûÀ¾À¾‚üÀ¾‚À¾‚ýÀÀÀÀKƒÀÀ  @Î##·%+'# *#ƒ +%+'# *#ƒ  '#‚s&'#á'#á#ƒ +#ƒH#ƒ'#‚X&'#á"'#á #ƒ"'# #B"'# #C#·'#1&'#á"'#á #A#î'#ï"'#ð&'#á #ñ#ò'#ó&'#á"'#ó&'#á #ôÀÁŠ^ÀÁ—ƒÀÁÞ·ÀÂîÀÂ.ò '#õ#ƒ+'#ï*#ø +'#á*#ƒ ++'#6*#ƒ #ƒ #ø #ú'#I"'#á #‚S"'# #B"'# #C"'#6 #û #ù'#I#ƒ +'#I"'#á #ƒ"'# #B"'# #CÀ—øÀ­ƒÀÂà ÀÂØ^ÀÂîúÀÃ0ùÀÃCƒ + '#ƒ'#‚^&'#á#ƒ +'#‚^&'#á*#‚`#ƒ "'#‚^&'#á #ƒ #‚d'#I"'#‚e #‚c"'#‚g #‚hÀÃÒ‚`ÀÃð^ÀÄ‚dÀÁÀÁ9%ƒÀÁP%ƒÀÁgƒÀÂ_À‚ƒÀÃyÀíƒ ÀÄB  @Î##· '#‚L&'#á#ï#ï6#ï#‚M'#I"'#á #‚N #‚O'#ƒ 6#ï#‚Q"'#ð&'#á #ñ'#ƒ6#ï#ƒ"'#‚ë #ñ'#ƒ&'#‚ë#ú'#I"'#á #‚S"'# #B"'# #C"'#6 #û#ƒ'#÷"'#6 #ƒ#ƒ'#ƒÀÄÈ^ÀÄÕ‚MÀÅ +‚QÀÅ7ƒÀÅdúÀŦƒÀÅƃ '#‚ë#ƒ6#ƒ#ƒ"'#‚ë #ñ'#I #ƒ'#ƒ #ù'#I +ÀÆ ƒÀÆUù'#ƒ#ƒ +'#I*#‚U +'#‚ë*#ø #ƒ #ø #‚U#ù'#I#‚Ø'#I"'# #‚Ù#ƒ'#I"'#‚e #‚c#ƒ'#I"'#‚e #‚c$ƒ^#ƒ'#I"'#‚X #ƒ"'#á #ƒ$ƒ^ÀÆ‚UÀÆ©øÀÆ¿^ÀÆÞùÀÆñ‚ØÀǃÀÇ0ƒÀÇWƒ'#ƒ#ƒ +@+*#ƒ+'#ƒ*#‚V+'#ï*#‚a#ƒ #‚a#ù'#I#‚Ø'#I"'# #‚Ù#ƒ'#I"'#‚e #‚c#ƒ'#I"'#‚e #‚c$ƒ^#ƒ'#I"'#‚X #ƒ"'#á #ƒ$ƒ^#ƒ '#I +ÀÇÛƒÀÇí‚VÀÈ‚aÀÈ^ÀÈ/ùÀÈB‚ØÀÈaƒÀȃÀȨƒÀÈ܃  '#ƒ!#õ'#ï#ƒ! #ú'#I"'#á #ƒ""'# #B"'# #C"'#6 #û!#ù'#I"#‚'#I"'#á #ƒ"##ƒ'#÷"'#6 #ƒ$#ƒ'#ƒ%ÀÉdúÀɦùÀɹ‚ÀÉÙƒÀÉùƒ)(#ƒ#'#‚ë '#õ#ƒ&+'#ƒ#*#ƒ$'#ƒ #ƒ$(#ù'#I)#ú'#I"'#á #ƒ""'# #B"'# #C"'#6 #û*#‚'#I"'#á #ƒ"+#ƒ'#÷"'#6 #ƒ,#ƒ'#ƒ-ÀÊTƒ$ÀÊj^ÀÊ€ùÀÊ“úÀÊÕ‚ÀÊõƒÀ˃ '#ƒ&'#ƒ#ƒ .+'#I"'#á*#‚U/#ƒ  #‚U0#ù'#I1#ƒ'#÷"'#6 #ƒ2ÀËx‚UÀËž^ÀË´ùÀËǃ '#õ#ƒ3+'#ð&'#á*#ø4#ƒ #ø5#‚'#I"'#á #ƒ"6#ú'#I"'#á #ƒ""'# #B"'# #C"'#6 #û7#ù'#I8ÀÌøÀÌ7^ÀÌM‚ÀÌmúÀ̯ù '#÷#ƒ%9+'#ƒ&*#‚K:+'#ð&'#‚e*#ø;+'#‚ë*#ƒ$<#ƒ% #ø #ƒ$"'#6 #ƒ=#ù'#I>#‚'#I"'#1&'# #‚S?#ú'#I"'#1&'# #ƒ'"'# #ƒ("'# #ƒ)"'#6 #û@ÀÌû‚KÀÍøÀÍ/ƒ$ÀÍE^ÀÍpùÀ̓‚ÀÍ©ú '#÷#ƒ*A+'#ƒ&*#‚KB+'#ï*#‚aC+'#ƒ*#‚VD#ƒ*"'#ï #ñ"'#6 #ƒE##ƒ*#8 #‚a"'#ƒ #ƒ+"'#6 #ƒF#ù'#IG#‚'#I"'#1&'# #‚SH#ú'#I"'#1&'# #‚S"'# #ƒ("'# #ƒ)"'#6 #ûIÀÎ<‚KÀÎR‚aÀÎh‚VÀÎ~^ÀΤ8ÀÎÕùÀÎè‚ÀÏúÀÄŽ ÀÄ«ïÀÅÚÀÆ ƒÀÆhÀÆwƒÀÇ‹ÀÇŃÀÈïÀÉ8õÀÉMÀÉNƒ!ÀÊ ÀÊ1ƒÀË)ÀË[ƒ ÀËçÀ̃ÀÌÂÀÌæƒ%ÀÍóÀÎ'ƒ*ÀÏX  @Î##·%+'# *#ƒ,Hÿý%+'# *#ƒ-Hþÿ%+'#ƒ.*#ƒ/;#ƒ. '#Ý#ƒ.+'#6*#ƒ0 #ƒ."'#6 #ƒ2#ƒ0#ƒ#à'#á#ä'#á"'#1&'# #ƒ'"'#6 #ƒ#æ'#ƒ1#è'#ƒ2 ÀЃ0Àв^ÀÐØUàÀÐéäÀÑUæÀÑ0Uè '#ê&'#á'#1&'# #ƒ1 + +#ƒ1 #·'# "'#á #í"'# #B"'# #C #î'#ï"'#ð&'#1&'# #ñ #ò'#ó&'#1&'# "'#ó&'#á #ôÀÑ•^ÀÑ¢·ÀÑàîÀÒò#ƒ3 ++'# *#ƒ+'# *#‚W+'# *#‚V@+*#ƒ4H#ƒ3##ƒ3#ƒ5"'# #‚·@#ƒ6'# "'# #ƒ7#ƒ8'#I#ƒ9'#6"'# #ƒ:"'# #ƒ;#ƒ<'# "'#á #ƒ""'# #B"'# #C +ÀÒpƒÀÒ…‚WÀÒš‚VÀÒ¯ƒ4ÀÒÈ^ÀÒÕƒ5ÀÒñƒ6ÀÓƒ8ÀÓ#ƒ9ÀÓNƒ< '#ƒ3-'#ƒ!#ƒ=+'#÷*#ø#ƒ= #ø#ù'#I#ú'#I"'#á #ƒ""'# #B"'# #C"'#6 #ûÀÓëøÀÔ^ÀÔùÀÔ*ú '#ê&'#1&'# '#á#ƒ2+'#6*#ƒ0  #ƒ2"'#6 #ƒ2#ƒ0#ƒ!#·'#á"'#1&'# #ƒ'"'# #B"'# #C"#î'#÷"'#ð&'#á #ñ##ò'#ó&'#á"'#ó&'#1&'# #ô$€‚#‚i)(#‚Z'#ê&'#1&'# '#‚Z"'#ê&'#á'#‚Z #ƒ>%€Â#ƒ?'#á"'#6 #ƒ"'#1&'# #ƒ'"'# #B"'# #C&ÀÔ²ƒ0ÀÔÇ^ÀÔí·ÀÕ2îÀÕ[òÀÕ’‚iÀÕÞƒ?%+'# *#ƒ@'%+'# *#ƒAHÿ(%+'# *#ƒBHÿÿ)%+'# *#ƒCHÿÿ*%+'# *#ƒDHü+%+'# *#ƒEHÿ,%+'# *#ƒFHØ-%+'# *#ƒGHÜ."'# #ƒH'#6#ƒI/"'# #ƒH'#6#ƒJ0"'# #ƒK"'# #ƒL'# #ƒM1#ƒ&2B+'#6*#ƒ3+'# *#‚"4+'# *#ƒN5@+'# *#ƒO6@+'# *#ƒPHðþ7@+'#á*#ƒQK $ƒ^$ƒRƒS$ƒRƒS$ƒRƒS$ƒRƒS$ƒTƒU$ƒVƒW$ƒXƒY$ƒZƒ[8@+'# *#ƒ\9@+'# *#ƒ]:@+'# *#ƒ^ ;@+'# *#ƒ_0<@+'# *#ƒ`:=@+'# *#ƒaD>@+'# *#ƒbN?@+'# *#‚wX@@+'# *#ƒcbA@+'# *#ƒdlB@+'# *#ƒevC@+'# *#ƒf€D@+'# *#ƒgAE@+'# *#ƒhCF@+'# *#ƒiEG@+'# *#ƒjGH@+'# *#ƒkII@+'# *#ƒlKJ@+'# *#ƒmMK@+'#á*#ƒn$ƒoƒpL@+'#á*#ƒq$ƒrƒsM@+'#á*#ƒt$ƒuƒvN@+'#á*#ƒw$ƒxƒyO@+'#á*#ƒz$ƒ{ƒ|P@+'#á*#ƒ}$ƒ~ƒQ@+'#á*#ƒ€$ƒŸR@+'#á*#ƒ‚$ƒƒƒ„S@+'#á*#ƒ…$ƒ†ƒ‡T@+'#á*#ƒˆ$ƒ‰ƒŠU@+'#á*#ƒ‹$ƒŒkV@+'#á*#ƒ$ƒŽƒW@+'#á*#ƒ$ƒ‘ƒ’X@+'#á*#ƒ“$ƒ”ƒ•Y@+'#á*#ƒ–$ƒ—ƒ˜Z@+'#á*#ƒ™$ƒšƒ›[@+'#á*#ƒœ$ƒƒž\@+'#á*#ƒŸ$ƒ ƒ¡]@+'#á*#ƒ¢$ƒ£‚l^@+'#á*#ƒ¤K $ƒ¥ƒvLN^M#ƒnN^M#ƒwN^M#ƒzN^M#ƒ‚N^M#ƒ–N^M#ƒ“N^M#ƒ“N^M#ƒ“N^M#ƒ“N^M#ƒ“N^M#ƒ€N^M#ƒzN^M#ƒˆN^M#ƒ}N^M#ƒ…NƒvLN^M#ƒnN^M#ƒwN^M#ƒzN^M#ƒ‚N^M#ƒ–N^M#ƒ“N^M#ƒ“N^M#ƒ“N^M#ƒ“N^M#ƒ“N^M#ƒ€N^M#ƒ‹N^M#ƒˆN^M#ƒ}N^M#ƒ…NƒvLN^M#ƒnN^M#ƒwN^M#ƒzN^M#ƒ‚N^M#ƒ–N^M#ƒ“N^M#ƒ“N^M#ƒ“N^M#ƒ“N^M#ƒ“N^M#ƒ€N^M#ƒzN^M#ƒˆN^M#ƒ}N^M#ƒ…NƒvLN^M#ƒN^M#ƒN^M#ƒN^M#ƒN^M#ƒN^M#ƒnN^M#ƒnN^M#ƒnN^M#ƒnN^M#ƒnN^LN^M#ƒN^M#ƒN^M#ƒN^M#ƒN^M#ƒN^M#ƒwN^M#ƒwN^M#ƒwN^M#ƒwN^M#ƒwN^LN^M#ƒN^M#ƒN^M#ƒN^M#ƒN^M#ƒN^M#ƒzN^M#ƒzN^M#ƒzN^M#ƒzN^M#ƒzN^LN^M#ƒN^M#ƒN^M#ƒN^M#ƒN^M#ƒN^M#ƒ™N^M#ƒ™N^M#ƒwN^M#ƒwN^M#ƒwN^LN^M#ƒN^M#ƒN^M#ƒN^M#ƒN^M#ƒN^M#ƒwN^M#ƒwN^M#ƒŸN^M#ƒŸN^M#ƒŸN^LN^M#ƒN^M#ƒN^M#ƒN^M#ƒN^M#ƒN^M#ƒ™N^M#ƒzN^M#ƒzN^M#ƒzN^M#ƒzN^LN^M#ƒN^M#ƒN^M#ƒN^M#ƒN^M#ƒN^M#ƒzN^M#ƒœN^M#ƒœN^M#ƒœN^M#ƒœN^LN^M#ƒN^M#ƒN^M#ƒN^M#ƒN^M#ƒN^M#ƒwN^M#ƒwN^M#ƒwN^M#ƒN^M#ƒwN^LN^M#ƒN^M#ƒN^M#ƒN^M#ƒN^M#ƒN^M#ƒnN^M#ƒnN^M#ƒnN^M#ƒnN^M#ƒtN^M#ƒN^M#ƒN^M#ƒN^M#ƒN^M#ƒN^_@+'# *#ƒ¦#ƒ\`@+'# *#ƒ§#ƒ\a@+'# *#ƒ¨#ƒ]b@+'# *#ƒ©#ƒ^c@+'# *#ƒª#ƒgd@+'# *#ƒ«#ƒhe@+'# *#ƒ¬#ƒif@+'# *#ƒ­#ƒjg@+'# *#ƒ®#ƒkh@+'# *#ƒ¯#ƒli@+'# *#ƒ°#ƒmj@#ƒ±'#6"'# #‚(#<$ƒ²ƒ³k@#ƒ´'#á"'# #‚(l‚#ƒ&"'#6 #ƒm€‚#ƒµ'#á"'#1&'# #ƒ'"'# #B"'# #ƒ¶n€‚#ƒ·'#á"'#1&'# #ƒ'"'# #B"'# #ƒ¶o#ƒ¸'#á"'#1&'# #ƒ'"'# #B"'# #ƒ¶"'#6 #ƒ¹p#ƒº'#á"'# #å"'# #B"'# #C"'#6 #ƒ¹q#‚ñ'#I"'#‚ë #ñr#ƒ»'#á"'# #å"'# #B"'# #C"'#6 #ƒ¹s@#ƒ¼'# "'#1&'# #ƒ'"'# #B"'# #CtBÀ×ÀƒÀ×Õ‚"À×êƒNÀ×ÿƒOÀ؃PÀØ4ƒQÀØxƒ\À؃]Àئƒ^Àؽƒ_ÀØÔƒ`ÀØëƒaÀÙƒbÀÙ‚wÀÙ0ƒcÀÙGƒdÀÙ^ƒeÀÙuƒfÀÙŒƒgÀÙ£ƒhÀÙºƒiÀÙуjÀÙèƒkÀÙÿƒlÀÚƒmÀÚ-ƒnÀÚHƒqÀÚcƒtÀÚ~ƒwÀÚ™ƒzÀÚ´ƒ}ÀÚσ€ÀÚꃂÀÛƒ…ÀÛ ƒˆÀÛ;ƒ‹ÀÛUƒÀÛpƒÀÛ‹ƒ“ÀÛ¦ƒ–ÀÛÁƒ™ÀÛ܃œÀÛ÷ƒŸÀ܃¢ÀÜ-ƒ¤ÀàQƒ¦Ààiƒ§Ààƒ¨Àà™ƒ©ÀృªÀàɃ«ÀàწÀàùƒ­ÀხÀá)ƒ¯ÀáAƒ°ÀáYƒ±Àá…ƒ´Àá¥^ÀᾃµÀáýƒ·Àâ<ƒ¸ÀↃºÀâÈ‚ñÀâ胻Àã*ƒ¼ÀÐÀÐ-%ƒ,ÀÐK%ƒ-ÀÐi%ƒ/ÀЈƒ.ÀÑAÀÑlƒ1ÀÒFÀÒbƒ3ÀÓ„ÀÓ΃=ÀÔlÀÔ‰ƒ2ÀÖ(ÀÖZ%ƒ@ÀÖq%ƒAÀÖ%ƒBÀÖ­%ƒCÀÖË%ƒDÀÖé%ƒEÀ×%ƒFÀ×%%ƒGÀ×CƒIÀ×dƒJÀ×…ƒMÀײƒ&Àãfƒ½ˆ Àx…ÀÔÀXÀ“·À–ÜÀš[ÀpÀžçÀ£IÀ»ËÀÀÐÀÄXÀÏ’Àål  @Î##ƒ¾!#ƒ¿$$ƒÀƒÁ$ƒÂƒÃ$ƒÄƒÅ%+'#4*#ƒÆ iW‹ +¿@%+'#4*#ƒÇ Uµ»±k@%+'#4*#ƒÈ ï9úþB.æ?%+'#4*#ƒÉ þ‚+eG÷?%+'#4*#ƒÊ å&{ËÛ?%+'#4*#ƒË -DTû! @%+'#4*#ƒÌ Í;fž æ?%+'#4*#ƒÍ Í;fž ö?€)(#‚Z'#‚Û"'#‚Z #ƒÎ"'#‚Z #ƒ‡'#‚Z#† €)(#‚Z'#‚Û"'#‚Z #ƒÎ"'#‚Z #ƒ‡'#‚Z#‡ +€"'#‚Û #ƒÎ"'#‚Û #ƒ‡'#4#ƒÏ €"'#‚Û #f"'#‚Û #ƒÐ'#‚Û#ƒÑ €"'#‚Û #ƒÒ'#4#ƒÓ €"'#‚Û #ƒÒ'#4#ƒÔ€"'#‚Û #ƒÒ'#4#ƒÕ€"'#‚Û #f'#4#ƒÖ€"'#‚Û #f'#4#ƒ×€"'#‚Û #f'#4#ƒØ€"'#‚Û #f'#4#ˆ€"'#‚Û #f'#4#ƒÙ€"'#‚Û #f'#4#ƒÚÀæ_Àæž%ƒÆÀæ¼%ƒÇÀæÚ%ƒÈÀæø%ƒÉÀç%ƒÊÀç4%ƒËÀçR%ƒÌÀçp%ƒÍÀ玆Àç̇Àè +ƒÏÀè9ƒÑÀèhƒÓÀ芃ÔÀ謃ÕÀè΃ÖÀèïƒ×ÀéƒØÀé1ˆÀéRƒÙÀésƒÚ  @Î##ƒ¾)(#‚Z'#‚Û#ƒÛ +'#‚Z*#f+'#‚Z*#g #ƒÛ"'#‚Z #f"'#‚Z #g2#f#f2#g#g#‚”'#á#ƒÜ'#6"'#‚e #2#ƒÝ'# #0'#ƒÛ&'#‚Z"'#ƒÛ&'#‚Z #2#o'#ƒÛ&'#‚Z"'#ƒÛ&'#‚Z #2#p'#ƒÛ&'#‚Z"'#‚Û #ƒÞ #ƒß'#4 +#ƒà'#4"'#ƒÛ&'#‚Z #2 #ƒá'#‚Z"'#ƒÛ&'#‚Z #2 ÀêmfÀê‚gÀê—^ÀêÈ‚”Àê܃ÜÀêûUƒÝÀë 0Àë:oÀëipÀë‘UƒßÀ롃àÀëȃáÀê4ÀêQƒÛÀëð  @Î##ƒ¾#ƒâ’#ƒâ"'# #ƒã²#ƒâ#ƒä#ƒå'# "'# #‡#ƒæ'#4#ƒç'#6Àì|^À옃äÀ쨃åÀìǃæÀìÚƒçÀìQÀìnƒâÀìí  @Î##ƒ¾)(#‚Z'#‚Û#ƒè +#ƒè#ƒé'#‚Z#ƒê'#‚Z#ƒë'#‚Z#ƒì'#‚Z#ƒí'#‚Z#ƒî'#‚Z#‚”'#á#ƒÜ'#6"'#‚e #2 #ƒÝ'# +#ƒï'#ƒð&'#‚Z"'#ƒð&'#‚Z #2 #ƒñ'#6"'#ƒð&'#‚Û #2 #ƒò'#ƒð&'#‚Z"'#ƒð&'#‚Z #2 #ƒó'#6"'#ƒð&'#‚Û #ƒô#ƒõ'#6"'#ƒÛ&'#‚Û #ƒô#ƒö'#ƒÛ&'#‚Z#ƒ÷'#ƒÛ&'#‚Z#ƒø'#ƒÛ&'#‚Z#ƒù'#ƒÛ&'#‚ZÀíY^ÀífUƒéÀíwUƒêÀíˆUƒëÀí™UƒìÀíªUƒíÀí»UƒîÀíÌ‚”ÀíàƒÜÀíÿUƒÝÀîƒïÀî?ƒñÀîfƒòÀî–ƒóÀõÀîæUƒöÀîÿUƒ÷ÀïUƒøÀï1Uƒù)(#‚Z'#‚Û '#ƒè&'#‚Z#ƒð+'#‚Z*#ƒé+'#‚Z*#ƒê+'#‚Z*#ƒë+'#‚Z*#ƒì #ƒð #ƒé #ƒê"'#‚Z #ƒë"'#‚Z #ƒì2#ƒë354#ƒëKT54OO#ƒëw'#‚¨#ƒë2#ƒì354#ƒìKT54OO#ƒìw'#‚¨#ƒì0#ƒð#ƒú"'#ƒÛ&'#‚Z #ƒÎ"'#ƒÛ&'#‚Z #ƒ‡ÀïúƒéÀðƒêÀð&ƒëÀð<ƒìÀðR^Àðσú)(#‚Z'#‚Û '#ƒè&'#‚Z'#ƒð&'#‚Z#ƒû ++'#‚Z*#ƒé+'#‚Z*#ƒê+'#‚Z*#ƒü+'#‚Z*#ƒý#ƒû #ƒé #ƒê"'#‚Z #ƒë"'#‚Z #ƒì 0#ƒû#ƒú"'#ƒÛ&'#‚Z #ƒÎ"'#ƒÛ&'#‚Z #ƒ‡!#ƒë'#‚Z" #ƒë"'#‚Z #ƒë##ƒì'#‚Z$ #ƒì"'#‚Z #ƒì% +ÀñrƒéÀñˆƒêÀñžƒüÀñ´ƒýÀñÊ^ÀòƒúÀò=UƒëÀòNVƒëÀòiUƒìÀòzVƒì)(#‚Z'#‚Û"'#‚Z #J'#‚Z#ƒþ&Àí Àí=ƒèÀïJÀïσðÀñ Àñ7ƒûÀò•Àò߃þƒÿ— Àé”ÀìAÀíÀó  @Î+##„$„„0#„#„#„$„!#„$!#Û#‚#‚#Ý#‚ù#ï#ƒ/$„„!#ƒâ$„ „ +!# $„ » !#‚~#ó$„ ¹#$„ „ !#„$„ ¹#$„„$„„$„„$„„$„„$„„$„„$„„$„ „!$„"„#$„$„%$„&„'$„(„)$„*„+$„,„-$„.„/$„0„1$„2„3$„4„5$„6„7$„8„9$„:„;$„<„=$„>„?$„@„A$„B„C$„D„E$„F„G$„H„I$„J„K$„L„M$„N„O$„P„Q$„R„S$„T„UÀóS  @Î##„#„V+'#á*#„W +#„V #„W#„X'#á#„V$„Y„Z#‚”'#áÀõ8„WÀõN^ÀõdU„XÀõƒ‚”%+'#„V*#‚´;#„V$„[„\#„] +#„]Àõæ^%+'#‚e*#„^;#„]#„_#‚´ #„W'#á + +#„_"'#á #„W Àö.U„WÀö?^%+'#„`*#„a1#‚´ %+'#„`*#„b1#‚´ #<#<$„c>+'#á*#à+'#‚e*#„d#<"'#á #à"'#‚e #„d' #<#8*#<#8 #à #„dÀö¿àÀöÕ„dÀöë^À÷8Àõ Àõ*„VÀõ—Àõ´%‚´ÀõØ„]ÀõóÀõú%„^Àö„_Àö\Àöj%„aÀöˆ%„bÀö¦<À÷A  @Î##„'#„e&'#„f#„f*€Ò#l'#„f€Ò#„g'#„f€Ò#„h'#„f€Â#„i'#„f"'#á #ã"'# #„j€Â#„k'#„f"'#á #ã"'# #„j²#„f#‚Q"'#‚Û #J#z'#„f#o'#„f#0'#„f"'#„f #2 #o'#„f"'#„f #2 +#p'#„f"'#„f #2 #q'#4"'#„f #2 #„l'#„f"'#„f #2 #„m'#„f"'#„f #2#„n'#„f"'#„f #2#„o'#„f"'# #„p#„q'#„f"'# #„p#'#„f"'#„f #2#Œ'#„f"'#„f #2#Ž'#„f"'#„f #2#„r'#„f#„s'#6"'#„f #2#„t'#6"'#„f #2#„u'#6"'#„f #2#„v'#6"'#„f #2#„w'# "'#„f #2#„x'# #„y'# #„z'#6#„{'#6#„|'#6#ƒÑ'#„f"'# #ƒÐ #„}'#„f"'#„f #ƒÐ"'#„f #„~!#„'#„f"'#„f #„~"#„€'#„f"'#„f #2##„'#„f"'# #ƒë$#„‚'#„f"'# #ƒë%#„ƒ'#6&#„„'# '#„…'#4(#‚”'#á)#„†'#á"'# #„j**À÷éUlÀ÷úU„gÀø U„hÀø„iÀøO„kÀø€‚QÀøœzÀø¯oÀøÂ0ÀøáoÀùpÀùqÀù=„lÀù]„mÀù}„nÀù„oÀù½„qÀùÝÀùýŒÀúŽÀú=„rÀúQ„sÀúp„tÀú„uÀú®„vÀúÍ„wÀúìU„xÀúüU„yÀû U„zÀûU„{Àû,U„|Àû<ƒÑÀû\„}ÀûŠ„Àû«„€ÀûË„Àûë„‚Àü U„ƒÀü„„Àü.„…ÀüA‚”ÀüU„†À÷®À÷Ë„fÀüu  @Î##„#6#<$=>º#6#„‡"'#á #à"'#6 #„ˆº#6#„‰"'#á #à€’#ƒÝ'# #'#6"'#6 #2#$„ „#Œ'#6"'#6 #2#$„ „#Ž'#6"'#6 #2#$„ „#‚”'#áÀýÚ„‡Àþ„‰Àþ#UƒÝÀþ4Àþ_ŒÀþŠŽÀþµ‚”Àý¥ÀýÂ6ÀþÉ  @Î##„)(#‚Z'# "'#‚Z #ƒÎ"'#‚Z #ƒ‡#„Š)(#‚Z#„e#„w'# "'#‚Z #2@#„‹'# "'#„e #ƒÎ"'#„e #ƒ‡Àÿs„wÀÿ’„‹Àÿ +Àÿ'„ŠÀÿ]„eÀÿ¿  @Î##„'#„e&'#„Œ#„ŒB@+'# *#„@+'# *#„Ž@+'# *#„@+'# *#„@+'# *#„‘@+'# *#„’@+'# *#„“@+'# *#„”@+'# *#„• @+'# *#„– +@+'# *#„— @+'# *#„˜ @+'# *#„™ @+'# *#„š@+'# *#„›@+'# *#„œ@+'# *#„ @+'# *#„ž +@+'# *#„Ÿ @+'# *#„  @+'# *#„¡ +'# *#„¢+'#6*#„£#„Œ"'# #„¤"'# #„¥"'# #„¦"'# #„§"'# #„¨"'# #„©"'# #„ª"'# #„«##„Œ#„¬"'# #„¤"'# #„¥"'# #„¦"'# #„§"'# #„¨"'# #„©"'# #„ª"'# #„«##„Œ#„­@#„i'#„Œ"'#á #„®@#„k'#„Œ"'#á #„®@+'# *#„¯H²ÂÜ¢#„Œ#„°"'# #„±"'#6 #„£¢#„Œ#„²"'# #„³"'#6 #„£ #„Œ#„´ #„¢!#„£ €ƒ#ƒÜ'#6"'#‚e #2!€‚#„µ'#6"'#„Œ #2"€‚#„¶'#6"'#„Œ #2#€‚#„·'#6"'#„Œ #2$€‚#„w'# "'#„Œ #2%#ƒÝ'# &#„¸'#„Œ'#„¹'#„Œ(@#„º'#á"'# #„»)@#„¼'#á"'# #„»*@#„½'#á"'# #„»+@#„¾'#á"'# #„»,#‚”'#á-#„¿'#á.€‚#‚'#„Œ"'#„À #„Á/€‚#„Â'#„Œ"'#„À #„Á0€‚#„Ã'#„À"'#„Œ #21¢#„Œ#„Ä "'# #„¤"'# #„¥"'# #„¦"'# #„§"'# #„¨"'# #„©"'# #„ª"'# #„«"'#6 #„£2¢#„Œ#„Å3€Â#„Æ'#  "'# #„¤"'# #„¥"'# #„¦"'# #„§"'# #„¨"'# #„©"'# #„ª"'# #„«"'#6 #„£4€’#„±'# 5€’#„³'# 6€’#„Ç'#á7€’#„È'#„À8€’#„¤'# 9€’#„¥'# :€’#„¦'# ;€’#„§'# <€’#„¨'# =€’#„©'# >€’#„ª'# ?€’#„«'# @€’#„É'# A@+'#„Ê*#„ËBBÀ „À7„ŽÀN„Àe„À|„‘À“„’Àª„“ÀÁ„”ÀØ„•Àï„–À„—À„˜À4„™ÀK„šÀb„›Ày„œÀ„À§„žÀ¾„ŸÀÕ„ Àì„¡À„¢À„£À-^À½„¬ÀP„­À`„iÀ„kÀ¢„¯ÀÀ„°À턲À„´À?ƒÜÀ_„µÀ„¶ÀŸ„·À¿„wÀßUƒÝÀÀ„¹À„ºÀ7„¼ÀW„½Àw„¾À—‚”À«„¿À¿‚Àá„ÂÀ„ÃÀ$„ÄÀ „ÅÀ°„ÆÀ0U„±ÀAU„³ÀRU„ÇÀdU„ÈÀvU„¤À‡U„¥À˜U„¦À©U„§ÀºU„¨ÀËU„©ÀÜU„ªÀíU„«ÀþU„ÉÀ„ËÀÿåÀ„ŒÀ%  @Î##„ '#‚Û#4@+'#4*#„Ì4 t@+'#4*#„Í4 ð? t@+'#4*#„ÎOO#„Í@+'#4*#„Ï @+'#4*#„Ð ÿÿÿÿÿÿï#„n'#4"'#‚Û #2#0'#4"'#‚Û #2#o'#4"'#‚Û #2#p'#4"'#‚Û #2 #„m'#4"'#‚Û #2 +#q'#4"'#‚Û #2 #„l'# "'#‚Û #2 #o'#4 #z'#4#„y'#4#„Ñ'# #„Ò'# #„Ó'# #„Ô'# #„Õ'#4#„Ö'#4#„×'#4#„Ø'#4#‚”'#á€Â#„i'#4"'#á #ã'#4"'#á #ã #‚´#„Ù€Â#„k'#4"'#á #ãÀ +M„ÌÀ +v„ÍÀ +Ÿ„ÎÀ +¹„ÏÀ +ׄÐÀ +õ„nÀ 0À 2oÀ PpÀ n„mÀ qÀ «„lÀ ÊoÀ ÜzÀ îU„yÀ þ„ÑÀ „ÒÀ $„ÓÀ 7„ÔÀ J„ÕÀ ]„ÖÀ p„×À ƒ„ØÀ –‚”À ª„iÀ ò„kÀ +À +94À   @Î##„'#„e&'#„À#„À(@+'# *#„ÚHè@+'# *#„ÛHè@+'# *#„Ü<@+'# *#„Ý<@+'# *#„Þ@+'# *#„ß4#„Ú#„Ûw@+'# *#„à4#„ß#„Üw@+'# *#„á4#„à#„Ýw@+'# *#„â4#„á#„Þw @+'# *#„ã4#„Û#„Üw +@+'# *#„ä4#„ã#„Ýw @+'# *#„å4#„ä#„Þw @+'# *#„æ4#„Ü#„Ýw @+'# *#„ç4#„æ#„Þw@+'# *#„è4#„Ý#„Þw@+'#„À*#l;#„À<„é+'# *#„ê #„À"'# #„ë"'# #„ì"'# #„í"'# #„é"'# #„î"'# #„ï6#„ð444444#„â#„ëw4#„á#„ìwe4#„à#„íwe4#„ß#„éwe4#„Ú#„îwe#„ïe*#„À#„ð #„ê#0'#„À"'#„À #2#o'#„À"'#„À #2#p'#„À"'#‚Û #ƒÞ#„l'#„À"'# #„ñ#„s'#6"'#„À #2#„u'#6"'#„À #2#„t'#6"'#„À #2#„v'#6"'#„À #2#„ò'# #„ó'# #„ô'# #„õ'# #„ö'# #„÷'# !#ƒÜ'#6"'#‚e #2"#ƒÝ'# ##„w'# "'#„À #2$#‚”'#á%#„|'#6&#z'#„À'#o'#„À((À„ÚÀ1„ÛÀO„ÜÀf„ÝÀ}„ÞÀ”„ßÀ±„àÀ΄áÀë„âÀ„ãÀ%„äÀB„åÀ_„æÀ|„çÀ™„èÀ¶lÀÙ„êÀî^À„ðÀ¶0ÀÕoÀôpÀ„lÀ4„sÀS„uÀr„tÀ‘„vÀ°U„òÀÀU„óÀÐU„ôÀàU„õÀðU„öÀU„÷ÀƒÜÀ/UƒÝÀ?„wÀ^‚”ÀrU„|À‚zÀ•oÀ ØÀ õ„ÀÀ¨  @Î##„#‚š#‚š@#„ø'#á"'#‚e #‚ €Â#„ù'#á"'#á #í€Â#„ú'#á"'#‚e #‚ €’#‚h'#‚gÀ^À„øÀ4„ùÀV„úÀxU‚h '#‚š#„û+'#‚e*#„W#„û #„W#‚”'#á À„WÀØ^Àñ‚” '#‚š#„ü + '#‚š#„ý#„V$„þ„ÿ  '#‚š#… #…#<$=> #‚”'#áÀj^À‚‚” '#‚š#… +'#6*#…+'#‚¨*#…+'#á*#à+'#‚¨*#„W#… #„W#<$=>##…#J" #J #à #„W#<$=>##…#… #à@#…)(#‚Z#$DE'#‚Z"'#‚Z #…"'#á #à#$„ „#…'#á#…'#á#‚”'#á À¹…ÀÎ…ÀäàÀú„WÀ^À4JÀl…Àˆ…ÀÙU…ÀêU…Àû‚” '#…#…  +'#‚Û*#B+'#‚Û*#C#… ""#„W#<$=>##… #J"'#‚Û #J"'#á #à"'#á #„W##… #… +"'#‚Û #…"'# #… "'# #… "'#á #à"'#á #„W#<$=> 6#… #¥"'# #¥"'#‚¨ #… "'#á #à"'#á #„W"'# #'#…!@#…'# "'# #J"'# #… "'# #… "'#á #à"'#á #„W"@#…'# "'# #¥"'#‚¨ #… "'#á #à"'# #"'#á #„W#@#…'# "'# #B"'# #C"'# #"'#á #…"'#á #…"'#á #„W$@#…'# "'# #J"'#á #à"'#á #„W%#…'#á&#…'#á' ÀtBÀ‰CÀž^À½JÀø… +ÀX¥À·…À …Àg…ÀË…À U…ÀU… '#…'#… #…(+*#… )+'# *#*#…"'# #…"'#‚¨ #… "'#á #à"'#á #„W"'# #+#B'# ,#C'# -#…'#á.#…'#á/À›… À«À¿^ÀUBÀ"UCÀ1U…ÀBU… '#‚š#…0#…1¢#…#…"'#á #…"'# #…#<$=>2€‚#‚”'#á3À˜^À¥…ÀÙ‚” '#‚š#…4+'#á*#…5#…"'#á #…6€‚#‚”'#á7À…À.^ÀH‚” '#‚š#…8²#…#…"'#‚e #…"'#… #… 9‚#…"'#‚e #…"'#„ #…!"'#1 #…""'#‚€&'#„'#‚¨ #…##„V$…$…%:€‚#‚”'#á;Àˆ…À²^À‚” '#‚š#…&#<$=><+'#á*#„W=#…&'#á #„W#<$=>>#‚”'#á?ÀX„WÀn^À•‚” '#‚š'#…&#…'@+'#á*#„WA#…' #„WB#‚”'#áCÀÜ„WÀò^À ‚” '#‚š#…(D+'#á*#„WE#…( #„WF#‚”'#áGÀJ„WÀ`^Àv‚” '#‚š#…)H+'#‚e*#…*I#…) #…*J#‚”'#áKÀµ…*ÀË^Àä‚”'#‚š#…+L +#…+#<$=>M#‚”'#áN#‚h'#‚gOÀ$^À<‚”ÀPU‚h'#‚š#…,P +#…,#<$=>Q#‚”'#áR#‚h'#‚gSÀŒ^À¤‚”À¸U‚h '#‚š#…-T+'#á*#….U#…- #….#<$=>V#‚”'#áWÀó….À ^À -‚”ÀÛÀø‚šÀŠÀ­„ûÀÀ„üÀ0À1„ýÀTÀU…À–À¤…ÀÀ_… À+À~…ÀSÀƒ…ÀîÀ…À]Às…À#À8…&À©À¿…'ÀÀ5…(ÀŠÀ …)ÀøÀ…+ÀaÀv…,ÀÉÀÞ…-À A  @Î##„#…/#…/""#„WÀ!M^'#…/#…0+'#‚¨*#„W#…0 #„W#‚”'#áÀ!„WÀ!—^À!°‚”'#…/#…1+'#á*#„W+'#‚¨*#ã+'# *#…2  +#…1 #„W$ƒ^ #ã #…2#<$=> +#‚”'#á À!ð„WÀ"ãÀ"…2À"1^À"q‚”'#…/#…3  +#…3#<$=> #‚”'#áÀ"Á^À"Ù‚”À!"À!?…/À!dÀ!k…0À!ÄÀ!Ú…1À"…À"«…3À"í  @Î##„)(#‚Z'#‚e#…4+'#á*#à‚#…4"'#á #à#‚”'#ဃ#¤'#‚Z"'#‚e #‚ €ƒ#…5'#I"'#‚e #‚ "'#‚Z #JÀ#eàÀ#{^À#˜‚”À#¬¤À#Î…5À#,À#I…4À#û  @Î##„#…6€Â#…7"'#…6 #…8"'#1&'#‚¨ #…""'#‚€&'#„'#‚¨ #…##ƒÝ'# #ƒÜ'#6"'#‚e #2À$Z…7À$¨UƒÝÀ$¸ƒÜÀ$/À$L…6À$×  @Î##„€"'#‚e #ƒÎ"'#‚e #ƒ‡'#6#…9€"'#‚e #‚ '# #…:#<$=>À$ýÀ%…9À%I…:  @Î##„ '#‚Û# º# #„‡"'#á #à"'# #„ˆ#'# "'# #2#Œ'# "'# #2#Ž'# "'# #2#„r'# #„o'# "'# #„p#„q'# "'# #„p#…;'# "'# #„p#„}'# "'# #ƒÐ"'# #„~ #„'# "'# #„~ +#„€'# "'# #2 #„z'#6 #„{'#6 #„x'# #„'# "'# #ƒë#„‚'# "'# #ƒë#o'# #z'# #„y'# #„Ñ'# #„Ò'# #„Ó'# #„Ô'# #„Õ'#4#„Ö'#4#„×'#4#„Ø'#4#‚”'#á#„†'#á"'# #„j€Â#„i'# "'#á #ã"'# #„j'# "'#á #ã #‚´#„Ù€Â#„k'# "'#á #ã"'# #„jÀ%º„‡À%çÀ&ŒÀ&#ŽÀ&A„rÀ&T„oÀ&s„qÀ&’…;À&±„}À&Ü„À&û„€À'U„zÀ')U„{À'9U„xÀ'I„À'h„‚À'‡oÀ'™zÀ'«U„yÀ'»„ÑÀ'΄ÒÀ'á„ÓÀ'ô„ÔÀ(„ÕÀ(„ÖÀ(-„×À(@„ØÀ(S‚”À(g„†À(‡„iÀ(Þ„kÀ%‰À%¦ À)  @Î##„#… #…0#…#…<"'#„ #…!"'#‚X&'#‚e #…""'#‚€&'#„'#‚e #…#0#…#…="'#„ #…!"'#‚X&'#…> #…?"'#‚X&'#‚e #…""'#‚€&'#„'#‚e #…#6#…#…@"'#„ #à' #…A#…@6#…#…B"'#„ #…!"'#‚e #…' #…A#…B#…!'#„#…?'#1&'#…>#…"'#1&'#‚¨#…#'#‚€&'#„'#‚¨ #…C'#6 +#…D'#6 #…E'#6 #…F'#6 À* ^À*-…<À*}…=À*â…@À+ …BÀ+AU…!À+RU…?À+jU…"À+‚U…#À+¡U…CÀ+±U…DÀ+ÁU…EÀ+ÑU…F'#…#…A+'#„*#…!+'#1&'#…>*#…?+'#1&'#‚e*#…G+'#‚€&'#„'#‚e*#…H##…A#…< #…!"'#‚X&'#…> #…I"'#‚X&'#‚e #…J"'#‚€&'#„'#‚e #…K##…A#…@ #…!##…A#…B #…!"'#‚e #…#…"'#1&'#‚¨#…#'#‚€&'#„'#‚¨#…C'#6#…D'#6#…E'#6#…F'#6@#…L'#1&'#…>"'#‚X&'#…> #…IÀ,R…!À,h…?À,……GÀ,¢…HÀ,Æ…<À-$…@À-=…BÀ-cU…"À-{U…#À-šU…CÀ-ªU…DÀ-ºU…EÀ-ÊU…FÀ-Ú…LÀ)õÀ*…À+áÀ,<…AÀ. +  @Î##„)(#ƒ˜#‚X# +#‚X0#‚X#…M"'# #‚%'#ƒ˜"'# #¥ #…N>#‚X#…O'#…P&'#ƒ˜@#‚t)(#‚](#‚Z'#‚X&'#‚Z"'#‚X&'#‚] #ã#…Q'#…R&'#ƒ˜#‚y)(#‚j'#‚X&'#‚j#…S'#‚X&'#ƒ˜"'#‚X&'#ƒ˜ #2#‚å)(#‚Z'#‚X&'#‚Z'#‚Z"'#ƒ˜ #ƒÆ #…T#…U'#‚X&'#ƒ˜'#6"'#ƒ˜ #‚ #…V #…W)(#‚Z'#‚X&'#‚Z +#…X)(#‚Z'#‚X&'#‚Z'#‚X&'#‚Z"'#ƒ˜ #‚ #…T #…Y'#6"'#‚e #‚ #…Z'#I'#I"'#ƒ˜ #‚ #…T #…['#ƒ˜'#ƒ˜"'#ƒ˜ #J"'#ƒ˜ #‚ #…\#…])(#‚Z'#‚Z"'#‚Z #…^'#‚Z"'#‚Z #…_"'#ƒ˜ #‚ #…\#…`'#6'#6"'#ƒ˜ #‚ #…V#…a'#á"'#á #ƒ$ƒ^#…b'#6'#6"'#ƒ˜ #‚ #…V#…c'#1&'#ƒ˜"'#6 #…d#…e'#…f&'#ƒ˜#'# #…g'#6#…h'#6#…i'#‚X&'#ƒ˜"'# #‚%#…j'#‚X&'#ƒ˜'#6"'#ƒ˜ #J #…V#…k'#‚X&'#ƒ˜"'# #‚%#…l'#‚X&'#ƒ˜'#6"'#ƒ˜ #J #…V#…m'#ƒ˜#…n'#ƒ˜#ƒ¹'#ƒ˜#…o'#ƒ˜'#6"'#ƒ˜ #‚ #…V'#ƒ˜ #…p#…q'#ƒ˜'#6"'#ƒ˜ #‚ #…V'#ƒ˜ #…p #…r'#ƒ˜'#6"'#ƒ˜ #‚ #…V'#ƒ˜ #…p!#…s'#ƒ˜"'# #¥"#‚”'#á##À.¿^À.Ì…MÀ/…OÀ/(‚tÀ/gU…QÀ/€‚yÀ/¤…SÀ/Ô‚åÀ0…UÀ0O…WÀ0s…XÀ0½…YÀ0Ý…ZÀ1 …[À1K…]À1Ÿ…`À1Ï…aÀ1÷…bÀ2'…cÀ2S…eÀ2oUÀ2~U…gÀ2ŽU…hÀ2ž…iÀ2Æ…jÀ2þ…kÀ3&…lÀ3^U…mÀ3oU…nÀ3€Uƒ¹À3‘…oÀ3Ö…qÀ4…rÀ4`…sÀ4€‚”)(#ƒ˜ '#…t&'#ƒ˜#…u$+'# *#%+'#ƒ˜"'# *#…v&#…u #'#ƒ˜"'# #¥ #…N'#…s'#ƒ˜"'# #¥(@#…w'# "'# #„»)À5­À5Á…vÀ5ç^À6…sÀ69…w)(#ƒ˜'#…R&'#ƒ˜#…x*#…y'#6+À6¢…yÀ.ŒÀ.©‚XÀ4”À5ˆ…uÀ6XÀ6|…xÀ6µ  @Î##„)(#ƒ˜#…R#…z'#6#…{'#ƒ˜À7…zÀ7)U…{À6ãÀ7…RÀ7:  @Î##„)(#ƒ˜'#…|&'#ƒ˜#1,’#1"'# ##„V$…}…~²#1#…"'# #"'#ƒ˜ #…€"'#6 #…d²#1#…O"'#6 #…d#$……‚²#1#‚Q"'#‚X #`"'#6 #…d²#1#…ƒ"'#‚X&'#ƒ˜ #`"'#6 #…d²#1#…M"'# #'#ƒ˜"'# #¥ #…N"'#6 #…d²#1#…„"'#‚X #`@#‚t)(#‚](#‚Z'#1&'#‚Z"'#1&'#‚] #ã@#……)(#‚Z'#I"'#1&'#‚Z #…†"'# #…‡"'#1&'#‚Z #ã"'# #B"'# #C @#…ˆ)(#‚Z'#I"'#1&'#‚Z #…†"'# #…‡"'#‚X&'#‚Z #ã +#‚y)(#‚j'#1&'#‚j #¤'#ƒ˜"'# #¥ #…5'#I"'# #¥"'#ƒ˜ #J "#…m'#I"'#ƒ˜ #J"#…n'#I"'#ƒ˜ #J#'# "#"'# #…‰#‚'#I"'#ƒ˜ #J#…Š'#I"'#‚X&'#ƒ˜ #…‹#…Œ'#‚X&'#ƒ˜#…'#I'# "'#ƒ˜ #ƒÎ"'#ƒ˜ #ƒ‡ #„‹#'#I"'#ƒâ #…Ž#…'# "'#ƒ˜ #‚"'# #B#…'# '#6"'#ƒ˜ #‚ #…V"'# #B#…‘'# '#6"'#ƒ˜ #‚ #…V"'# #B#…’'# "'#ƒ˜ #‚"'# #B#…“'#I#…”'#I"'# #¥"'#ƒ˜ #‚#…•'#I"'# #¥"'#‚X&'#ƒ˜ #…‹#…–'#I"'# #¥"'#‚X&'#ƒ˜ #…‹#…—'#6"'#‚e #J#…˜'#ƒ˜"'# #¥ #…™'#ƒ˜!#…š'#I'#6"'#ƒ˜ #‚ #…V"#…›'#I'#6"'#ƒ˜ #‚ #…V##0'#1&'#ƒ˜"'#1&'#ƒ˜ #2$#a'#1&'#ƒ˜"'# #B"'# #C%#…œ'#‚X&'#ƒ˜"'# #B"'# #C&#…'#I"'# #B"'# #C"'#‚X&'#ƒ˜ #…‹"'# #…ž'#…Ÿ'#I"'# #B"'# #C(#… '#I"'# #B"'# #C"'#ƒ˜ #…¡)#…¢'#I"'# #B"'# #C"'#‚X&'#ƒ˜ #…£*#…¤'#‚€&'# '#ƒ˜+#ƒÜ'#6"'#‚e #2,,À7›^À7Ã…À7û…OÀ8(‚QÀ8T…ƒÀ8ˆ…MÀ8Ð…„À8ë‚tÀ9(……À9“…ˆÀ9ã‚yÀ:¤À:&…5À:QV…mÀ:pV…nÀ:UÀ:žVÀ:·‚À:Ö…ŠÀ:þU…ŒÀ;…À;WÀ;z…À;ª…À;ê…‘À<(…’À…œÀ>B…À>‘…ŸÀ>º… À>ó…¢À?1…¤À?RƒÜÀ7YÀ7v1À?q  @Î##„)(#ƒ¡(#…¥#‚€’#‚€6#‚€#‚Q"'#‚€ #2'#…¦&'#ƒ¡'#…¥#‚Q6#‚€#…ƒ"'#‚€&'#ƒ¡'#…¥ #2'#…¦&'#ƒ¡'#…¥#…ƒ²#‚€#…„"'#‚€&'#‚¨'#‚¨ #26#‚€#…§'#…¦&'#ƒ¡'#…¥#…§6#‚€#…¨"'#‚X #…‹'#ƒ¡"'#‚¨ #‚ #‚¦'#…¥"'#‚¨ #‚ #J'#…¦&'#ƒ¡'#…¥#…¨6#‚€#…©"'#‚X&'#ƒ¡ #…ª"'#‚X&'#…¥ #…«'#…¦&'#ƒ¡'#…¥#…©@#‚t)(#ƒ¡(#…¥(#…¬(#…­'#‚€&'#…¬'#…­"'#‚€&'#ƒ¡'#…¥ #ã0#‚€#…®"'#‚X&'#…¯&'#ƒ¡'#…¥ #…° #‚y)(#…±(#…²'#‚€&'#…±'#…² +#…³'#6"'#‚e #J #…´'#6"'#‚e #‚¦ #¤'#…¥"'#‚e #‚¦ #…5'#I"'#ƒ¡ #‚¦"'#…¥ #J#…°'#‚X&'#…¯&'#ƒ¡'#…¥#‚å)(#…¬(#…­'#‚€&'#…¬'#…­'#…¯&'#…¬'#…­"'#ƒ¡ #‚¦"'#…¥ #J #·#…µ'#I"'#‚X&'#…¯&'#ƒ¡'#…¥ #…¶#…·'#…¥"'#ƒ¡ #‚¦'#…¥"'#…¥ #J #…·'#…¥ #…¸#…¹'#I'#…¥"'#ƒ¡ #‚¦"'#…¥ #J #…·#…š'#I'#6"'#ƒ¡ #‚¦"'#…¥ #J #…V#…º'#…¥"'#ƒ¡ #‚¦'#…¥ #…¸#…Š'#I"'#‚€&'#ƒ¡'#…¥ #2#…—'#…¥"'#‚e #‚¦#…“'#I#…Z'#I'#I"'#ƒ¡ #‚¦"'#…¥ #J #…»#…ª'#‚X&'#ƒ¡#…«'#‚X&'#…¥#'# #…g'#6#…h'#6À@é^À@ö‚QÀA+…ƒÀAn…„ÀA˜…§ÀAÁ…¨ÀB8…©ÀB‹‚tÀBâ…®ÀC‚yÀCE…³ÀCd…´ÀC„¤ÀC¥…5ÀCÑU…°ÀCø‚åÀD`…µÀD–…·ÀDè…¹ÀE%…šÀEa…ºÀE“…ŠÀEÀ…—ÀEá…“ÀEô…ZÀF0U…ªÀFIU…«ÀFbUÀFqU…gÀFU…h)(#ƒ¡(#…¥#…¯+'#ƒ¡*#‚¦ +'#…¥*#J!#…¯"'#ƒ¡ #‚¦"'#…¥ #J'#…¯&'#ƒ¡'#…¥#8"*#…¯#8 #‚¦ #J##‚”'#á$ÀG~‚¦ÀG”JÀG©^ÀGç8ÀH‚”À@°À@Í‚€ÀF‘ÀGb…¯ÀH  @Î##„#„`#<$=>0#„`#…¼€’#ƒÝ'# #‚”'#áÀH…¼ÀHŸUƒÝÀH°‚”ÀHYÀHv„`ÀHÄ  @Î##„'#„e&'#‚Û#‚Û&#ƒÜ'#6"'#‚e #2#ƒÝ'# #„w'# "'#‚Û #2#0'#‚Û"'#‚Û #2#o'#‚Û"'#‚Û #2#p'#‚Û"'#‚Û #2#„m'#‚Û"'#‚Û #2#q'#4"'#‚Û #2#„l'# "'#‚Û #2 #o'#‚Û +#„n'#‚Û"'#‚Û #2 #„s'#6"'#‚Û #2 #„t'#6"'#‚Û #2 #„u'#6"'#‚Û #2#„v'#6"'#‚Û #2#…½'#6#„|'#6#…¾'#6#…¿'#6#z'#‚Û#„y'#‚Û#„Ñ'# #„Ò'# #„Ó'# #„Ô'# #„Õ'#4#„Ö'#4#„×'#4#„Ø'#4#{'#‚Û"'#‚Û #|"'#‚Û #}#„„'# #„…'#4 #…À'#á"'# #…Á!#…Â'#á"'# #…Á"#…Ã'#á"'# #…Ä##‚”'#á$@#„i'#‚Û"'#á #‚'#‚Û"'#á #‚ #‚´#„Ù%@#„k'#‚Û"'#á #‚&&ÀI%ƒÜÀIDUƒÝÀIT„wÀIs0ÀI’oÀI±pÀIЄmÀIðqÀJ„lÀJ-oÀJ@„nÀJ`„sÀJ„tÀJž„uÀJ½„vÀJÜU…½ÀJìU„|ÀJüU…¾ÀK U…¿ÀKzÀK/U„yÀK@„ÑÀKS„ÒÀKf„ÓÀKy„ÔÀKŒ„ÕÀKŸ„ÖÀK²„×ÀKÅ„ØÀKØ{ÀL„„ÀL„…ÀL)…ÀÀLI…ÂÀLl…ÃÀLŒ‚”ÀL „iÀLé„kÀHêÀI‚ÛÀM +  @Î##„#‚e#<$=> +#‚e#<$…Å…Æ$…Ç2€ƒ#ƒÜ'#6"'#‚e #2€’#ƒÝ'# €‚#‚”'#ဂ#…È'#‚¨"'#… #… #<$=>€’#…É'#…>ÀNT^ÀNrƒÜÀN’UƒÝÀN£‚”ÀN¸…ÈÀNåU…ÉÀNÀN;‚eÀN÷  @Î##„#…Ê#…Ë'#‚X&'#…Ì"'#á #í"'# #B#…Í'#…Ì"'#á #í"'# #BÀO\…ËÀO•…Í#…Ì#B'# #C'# #…Î'#á"'# #…Î#¤'#á"'# #…Î#…Ï'#1&'#á"'#1&'# #…Ð#…Ñ'# #‚'#á +#…Ò'#…Ê ÀOãUBÀOòUCÀP…ÎÀP!¤ÀPA…ÏÀPoU…ÑÀPU‚ÀPU…ÒÀO1ÀON…ÊÀOÆÀOÕ…ÌÀP¡  @Î##„"'#‚e #‚ '#I#…ÓÀPóÀQ…Ó  @Î##„'#…Ê#„Ê ’#„Ê"'#á #ã"'#6 #…Ô"'#6 #…Õ"'#6 #$…Ö…×#…Ø"'#6 #$…Ö…×#…Ù€Â#…Ú'#á"'#á #‚–#…Û'#…Ü"'#á #‚#…Ë'#‚X&'#…Ü"'#á #‚"'# #B#…Ý'#6"'#á #‚#…Þ'#á"'#á #‚#…Ò'#á#…ß'#6#…à'#6 #…á'#6#$…Ö…× +#…â'#6#$…Ö…× ÀQq^ÀQé…ÚÀR …ÛÀR,…ËÀRe…ÝÀR……ÞÀR¦U…ÒÀR·U…ßÀRÇU…àÀR×U…áÀRôU…â'#…Ì#…Ü#$…ã…ä #…å'#á"'#á #à #…æ'#‚X&'#áÀS…åÀS¢U…æÀQ>ÀQ[„ÊÀSÀS^…ÜÀS»  @Î##„)(#ƒ˜ '#…|&'#ƒ˜#…f#…f'#…ç&'#ƒ˜6#…f#…§'#…ç&'#ƒ˜#…§6#…f#‚Q"'#‚X #`'#…ç&'#ƒ˜#‚Q6#…f#…ƒ"'#‚X&'#ƒ˜ #`'#…ç&'#ƒ˜#…ƒ0#…f#…„"'#‚X&'#ƒ˜ #`#$„„@#‚t)(#‚](#‚Z'#…f&'#‚Z"'#…f&'#‚] #ã")(#‚j'#…f&'#‚j #…è#‚y)(#‚j'#…f&'#‚j#…Q'#…R&'#ƒ˜#…Y'#6"'#‚e #J #‚'#6"'#ƒ˜ #J +#…Š'#I"'#‚X&'#ƒ˜ #` #…—'#6"'#‚e #J #…é'#ƒ˜"'#‚e #‚  #…ê'#I"'#‚X&'#‚e #`#…ë'#I"'#‚X&'#‚e #`#…š'#I'#6"'#ƒ˜ #‚ #…V#…›'#I'#6"'#ƒ˜ #‚ #…V#…ì'#6"'#‚X&'#‚e #2#ƒï'#…f&'#ƒ˜"'#…f&'#‚e #2#…í'#…f&'#ƒ˜"'#…f&'#ƒ˜ #2#„Ã'#…f&'#ƒ˜"'#…f&'#‚e #2#…“'#I#…e'#…f&'#ƒ˜ÀT'^ÀTD…§ÀTg‚QÀT–…ƒÀTÍ…„ÀTþ‚tÀUd‚yÀUˆU…QÀU¡…YÀUÀ‚ÀUß…ŠÀV…—ÀV%…éÀVF…êÀVm…ëÀV”…šÀVÄ…›ÀVô…ìÀWƒïÀWK…íÀW{„ÃÀW«…“ÀW¾…eÀSåÀT…fÀWÚ  @Î##„)(#‚Z#ð#‚'#I"'#‚Z #A#ù'#IÀX¾‚ÀXÝùÀX‹ÀX¨ðÀXð  @Î##„#‚g@+*#…O'#…î$ƒ^#$DE#‚g6#‚g#…ï"'#á #…ð'#…î€Ò#…{'#‚g#‚”'#áÀY:…OÀYe^ÀYr…ïÀY—U…{ÀY©‚”'#‚g#…î+'#á*#…ñ +#…î #…ñ#‚”'#á ÀY÷…ñÀZ ^ÀZ#‚”ÀYÀY,‚gÀY½ÀYá…îÀZ7  @Î##„#…ò@+'# *#…ó+'# *#…ô+'# *#…õ#…ò#…ö'# #B'#I#…÷'#I#…ø'#I#…ù'# #…ú'#„À +€’#…û'# €’#…ü'# #…ý'#6 €Â#…þ'# €Â#„Å'# ÀZ“…óÀZ¨…ôÀZ½…õÀZÒ^ÀZßU…öÀZïBÀ[…÷À[…øÀ['U…ùÀ[7U…úÀ[HU…ûÀ[YU…üÀ[jU…ýÀ[z…þÀ[Ž„ÅÀZhÀZ……òÀ[¢  @Î##„'#„e&'#á'#…Ê#á#<$„c>#²#á#…ÿ"'#‚X&'# #†"'# #B"'# #C²#á#†"'# #‚Ùº#á#„‡"'#á #à"'#á #„ˆ$ƒ^#¤'#á"'# #¥#†'# "'# #¥#'# #ƒÝ'# #ƒÜ'#6"'#‚e #2#„w'# "'#á #2 #†'#6"'#á #2 +#†'#6"'#…Ê #…Ò"'# #¥ #…'# "'#…Ê #…Ò"'# #B #…’'# "'#…Ê #…Ò"'# #B #…g'#6#…h'#6#0'#á"'#á #2#†'#á"'# #B"'# #C#†'#á#†'#á#†'#á#p'#á"'# #† #† +'#á"'# #ƒë"'#á #† $† ƒv#† '#á"'# #ƒë"'#á #† $† ƒv#…Y'#6"'#…Ê #2"'# #ƒ(#†'#á"'#…Ê #‚Q"'#á #†"'# #ƒ(#†'#á"'#…Ê #‚Q'#á"'#…Ì #† #†"'# #ƒ(#†'#á"'#…Ê #‚Q"'#á #†#†'#á"'#…Ê #‚Q"'#á"'#…Ì #† #†#…¢'#á"'# #B"'# #C"'#á #†#ƒ'#1&'#á"'#…Ê #…Ò#†'#á"'#…Ê #…Ò"'#á"'#…Ì #†"'#á"'#á #†#ƒ''#1&'# #†'#†!#†'#á"#†'#á##À\j…ÿÀ\¬†À\È„‡À\ù¤À]†À]8UÀ]GUƒÝÀ]WƒÜÀ]v„wÀ]•†À]´†À]å…À^…’À^CU…gÀ^SU…hÀ^c0À^‚†À^¯†À^ÆÀ^׆À^ëpÀ_ +† +À_?† À_t…YÀ_¤†À_ã†À`3†À`a†À`£…¢À`ÚƒÀa†ÀaeUƒ'Àa|U†Àa†Àa¡† '#‚X&'# #†$+'#á*#í%#† #í&#…Q'#†'#…n'# (ÀbÄíÀbÚ^ÀbðU…QÀcU…n"'# #†'#6#ƒI)"'# #†'#6#†*"'# #B"'# #C'# #ƒM+'#…x&'# #†,+'#á*#í-+'# *#† .+'# *#†!/+'# *#†"0#†"'#á #í1!#†#…‡"'#á #í"'# #¥2#†#'#I"'# #¥3#†$'# 4 #†$'#I"'# #†$5#…ø'#I"'# #†$6#…{'# 7#†%'# 8#†&'#á9#…z'#6:#…y'#6;Àc¸íÀcΆ Àcã†!Àcø†"Àd ^Àd'…‡ÀdP†#ÀdoU†$ÀdV†$Àdž…øÀdÂU…{ÀdÒU†%ÀdâU†&Àdó…zÀe…yÀ\À\:áÀaµÀb¨†ÀcÀc.ƒIÀcO†ÀcpƒMÀc›†Àe  @Î##„'#‚ë#ƒ +‚#ƒ"'#‚e #†'$ƒ^€’#'# #…g'#6#…h'#6€‚#ƒ'#I"'#‚e #‚ €‚#‚Ø'#I"'# #‚Ù€‚#ƒ'#I"'#‚X&'#‚¨ #ƒ"'#á #ƒ$ƒ^€‚#ƒ'#I"'#‚e #†($ƒ^€‚#…“'#I €‚#‚”'#á + +Àeô^ÀfUÀf%U…gÀf5U…hÀfEƒÀff‚ØÀf†ƒÀfÃÀfë…“Àfÿ‚”ÀeÁÀeÞƒÀg  @Î##„#‚ë#ƒ'#I"'#‚e #‚ #ƒ'#I"'#‚X&'#‚¨ #ƒ"'#á #ƒ$ƒ^#ƒ'#I"'#‚e #‚ $ƒ^#‚Ø'#I"'# #‚ÙÀg”ƒÀg´ƒÀgðƒÀh‚ØÀgiÀg†‚ëÀh6  @Î##„#„@+'#„*#†);#„$†*†+@+'#„*#…O;#„$ƒ^#„"'#á #à' #„#„#ƒÝ'# #ƒÜ'#6"'#‚e #2ÀhŽ†)Àh²…OÀhÕ^ÀhûUƒÝÀi ƒÜÀhcÀh€„Ài*  @Î##„#…>#ƒÝ'# #ƒÜ'#6"'#‚e #2#‚”'#áÀiŠUƒÝÀišƒÜÀi¹‚”Ài_Ài|…>ÀiÍ  @Î##„%+'# *#†, %+'# *#†-%%+'# *#†.&%+'# *#†/+%+'# *#†0.%+'# *#†1/%+'# *#†2:%+'# *#†3=%+'# *#†4A%+'# *#†5Z %+'# *#†6[ +%+'# *#†7\ %+'# *#†8] %+'# *#†9a %+'# *#†:f%+'# *#†;z%+'#á*#†<$†=†>#†?3€Ò#†@'#†?#†? "'#á #†A"'#á #†B"'#á #;"'# #†C"'#á #†D"'#‚X&'#á #†E"'#á #†F"'#‚€&'#á'#‚¨ #†G"'#á #†H'#†I6#†?#†J"'#á #†K"'#á #†L"'#‚€&'#á'#‚¨ #†G' #†I#†J6#†?#†M"'#á #†K"'#á #†L"'#‚€&'#á'#‚¨ #†G' #†I#†M6#†?#†N"'#á #†D"'#6 #†O' #†I#†N6#†?#†P"'#á #†D"'#6 #†O' #†I#†P0#†?#†Q"'#á #†'"'#á #†R"'#Ý #†S"'#‚€&'#á'#á #†T"'#6 #‚0#†?#†U"'#1&'# #å"'#á #†R$†V†W"'#‚€&'#á'#á #†T"'#6 #†X#†A'#á#†K'#á#†B'#á#;'#á#†C'# #†D'#á#†F'#á #†H'#á!#†E'#1&'#á"#†G'#‚€&'#á'#á##†Y'#‚€&'#á'#1&'#á$#†Z'#6%#†['#6&#†\'#6'#†]'#6(#†^'#6)#†_'#6*#†`'#6+#†a'#6,#†b'#á-#†c'#6"'#á #†A.#†d'#á"'#6 #†O/#A'#†e0#ƒÝ'# 1#ƒÜ'#6"'#‚e #22#‚”'#á3#†'#†? "'#á #†A"'#á #†B"'#á #;"'# #†C"'#á #†D"'#‚X&'#á #†E"'#á #†F"'#‚€&'#á'#‚¨ #†G"'#á #†H4#†f'#†?5#†g'#†?"'#á #†h6#†i'#†?"'#†? #†h7#†j'#†?8@#„i'#†?"'#á #†k"'# #B"'# #C9@#„k'#†?"'#á #†k"'# #B"'# #C:@#†l'#á"'#á #†m;@#†n'#á"'#á #†m"'#Ý #†S#ƒ/<@#†o'#á"'#á #†p=@#†q'#á"'#á #†p"'#Ý #†S#ƒ/>@#†r'#á"'#á #†k?@#†s'#á"'#á #†k@@#†t'#‚€&'#á'#á"'#á #†F"'#Ý #†S#ƒ/A@#†u'#1&'# "'#á #;B@#†v'#1&'# "'#á #;"'# #B"'# #CC@#†w'#1&'# "'#á #;"'# #B"'# #CD3Àk©U†@Àk»^Àlt†JÀlȆMÀm†NÀmT†PÀmŒ†QÀmø†UÀn_U†AÀnpU†KÀnU†BÀn’U;Àn¢U†CÀn²U†DÀnÃU†FÀnÔU†HÀnåU†EÀnýU†GÀoU†YÀoBU†ZÀoRU†[ÀobU†\ÀorU†]Ào‚U†^Ào’U†_Ào¢U†`Ào²U†aÀoÂU†bÀoÓ†cÀoó†dÀpUAÀp&UƒÝÀp6ƒÜÀpU‚”Àpi†Àq!†fÀq5†gÀqV†iÀqw†jÀq‹„iÀqÊ„kÀr †lÀr*†nÀr^†oÀr†qÀr³†rÀrÔ†sÀrõ†tÀs7†uÀs]†vÀs™†w'#†?#†IEh+'#á*#†AF+'#á*#†xG+'#á*#†yH+'# *#†zI+'#á*#†DJ+'#á*#†{K+'#á*#†|L+'#á*#†}M+'#1&'#á*#†EN+'# *#ƒÝO+'#‚€&'#á'#á*#†GP+'#‚€&'#á'#1&'#á*#†YQ"#†I#„Ä #†A #†x #†y #†z #†D #†{ #†|R0#†I#†~ +"'#á #†k"'# #B"'# #C"'# #†"'# #†€"'# #†"'# #†‚"'# #†ƒ"'# #†„"'#á #†AS#†I "'#á #†A"'#á #†B"'#á #;"'# #†C"'#á #†D"'#‚X&'#á #†E"'#á #†F"'#‚€&'#á'#‚¨ #†G"'#á #†HT0#†I#†J"'#á #†K"'#á #†L"'#‚€&'#á'#‚¨ #†GU0#†I#†M"'#á #†K"'#á #†L"'#‚€&'#á'#‚¨ #†GV#†K'#áW#†B'#áX#;'#áY#†C'# Z@#†…'# "'#á #†A[#†F'#á\#†H'#á]#†c'#6"'#á #†A^@#††'#6"'#á #†A"'#á #†k_@#†‡'#†ˆ"'#á #†k"'# #¥"'#á #„W`@#†‰'#†I"'#á #†A"'#á #†K"'#á #†L"'#‚€&'#á'#‚¨ #†Ga0#†I#†N"'#á #†D"'#6 #†Ob0#†I#†P"'#á #†D"'#6 #†Oc€Ò#†Š'#6d@#†‹'#I"'#1&'#á #†Œ"'#6 #†e@#†Ž'#I"'#1&'#á #†Œ"'#6 #†"'# #†f@#†'#I"'# #‚Ù"'#6 #†g@#†‘'#†?"'#á #†D"'#6 #†’h@#†“"'#á #†D"'#6 #†’i#†'#†? "'#á #†A"'#á #†B"'#á #;"'# #†C"'#á #†D"'#‚X&'#á #†E"'#á #†F"'#‚€&'#á'#‚¨ #†G"'#á #†Hj#†f'#†?k@#†”'#1&'#á"'#á #†•l@#†–'#‚€&'#á'#1&'#á"'#á #†Fm#†j'#†?n@#†—'# "'# #†C"'#á #†Ao@#†˜'#á"'#á #;"'# #B"'# #C"'#6 #†™p@#†š'# "'#á #;"'# #B"'# #Cq@#†›'#6"'# #†œr@#†'#á"'#á #;"'# #B"'# #C"'#á #†ž$†Ÿ^s@#† '#6"'# #†œt@#†¡'#á"'#á #;"'# #B"'# #Cu@#†¢'#á"'#á #†A"'# #B"'# #Cv@#†£'#á"'#á #†Aw@#†¤'#á"'#á #†B"'# #B"'# #Cx@#†¥'#á"'#á #†D"'# #B"'# #C"'#‚X&'#á #†E"'#á #†A"'#6 #†\y@#†¦'#á"'#á #†D"'#á #†A"'#6 #†\z@#†§'#á"'#á #†F"'# #B"'# #C"'#‚€&'#á'#‚¨ #†G{@#†¨'#á"'#á #†H"'# #B"'# #C|@#†©'#á"'#á #ã"'# #¥"'#6 #†ª}@#†«'#á"'# #†œ~@#†¬'#á"'#á #†m"'# #B"'# #C"'#1&'# #†­"'#6 #†®@#†¯'#á"'#á #†m"'# #B"'# #C"'#1&'# #†­"'#6 #†®€€@#†°'#6"'# #†±€@#†²'#6"'# #†±€‚#†Z'#6€ƒ#†³'#á"'#á #†@"'#á #†h€„@#†´'#6"'#á #†D€…@#†µ'#á"'#á #†D€†@#†¶'#á"'#á #†D"'#6 #†·€‡@#†¸'#á"'#á #†D€ˆ#†g'#†?"'#á #†h€‰@#†¹'# "'#†? #†k"'#á #†D€Š#†i'#†?"'#†? #†h€‹#†['#6€Œ#†\'#6€#†]'#6€Ž#†^'#6€#†_'#6€#†`'#6€‘#†a'#6€’#†b'#ဓ#†d'#á"'#6 #†O€”#†º'#ပ@#†»'#á"'#†? #†k€–#†¼'#I"'#‚ë #†½€—#A'#†e€˜#‚”'#မ#†¾'#ယ#ƒÜ'#6"'#‚e #2€›@#¦'#1&'#လ@#†¿'#‚€&'#á'#1&'#á"'#á #†F"'#Ý #†S#ƒ/€€Â#†À'#á"'#1&'# #†Á"'#á #‚–"'#Ý #†S"'#6 #†Â€ž@#†Ã'# "'#á #y"'# #†Ä€Ÿ@#†Å'#á"'#á #‚–"'# #B"'# #C"'#Ý #†S"'#6 #†Æ€ @#†Ç'#6"'# #ƒH€¡@#†È'#6"'# #†œ€¢@+*#†É8&'# H`HÿHÿþH‡ÿHÿþHGÿ€£@+*#†Ê8&'# Hg‚HÿHÿþH‡ÿHÿþHGÿ€¤@+*#†Ë8&'# HÿÚH¯ÿHÿÿH‡ÿHÿþHGÿ€¥@+*#†Ì8&'# HhHÿHÿþHÿHÿþHÿ€¦@+*#†Í8&'# H€H„H(€§@+*#†Î8&'# HÒH/ÿHÿþH‡ÿHÿþHGÿ€¨@+*#†Ï8&'# HòH+ÿHÿþH‡ÿHÿþHGÿ€©@+*#†Ð8&'# HÒH/ÿHÿÿH‡ÿHÿþHGÿ€ª@+*#†Ñ8HÿÒH/ÿHÿÿH‡ÿHÿþHGÿ€«@+*#†Ò8HÿÒH¯ÿHÿÿH‡ÿHÿþHGÿ€¬@+*#†Ó8&'# H`HÿHÿþH‡ÿHÿþHGÿ€­hÀuV†AÀul†xÀu‚†yÀu˜†zÀu­†DÀuÆ{ÀuÙ†|Àuï†}Àv†EÀv"ƒÝÀv7†GÀv[†YÀv†„ÄÀvÕ†~Àw]^Àx†JÀxV†MÀxžU†KÀx¯U†BÀxÀU;ÀxÐU†CÀxà†…ÀyU†FÀyU†HÀy"†cÀyB††Àyo†‡Ày©†‰Àyÿ†NÀz+†PÀzWU†ŠÀzh†‹Àz›†ŽÀz߆À{ +†‘À{7†“À{^†À|†fÀ|*†”À|R†–À|ˆ†jÀ|œ†—À|Ȇ˜À} +†šÀ}?†›À}^†À}¨† À}dž¡À}ý†¢À~4†£À~U†¤À~Œ†¥À~ñ†¦À+†§À}†¨À´†©À톫À€ †¬À€h†¯À€Ä†°À€ä†²ÀU†ZÀ†³ÀD†´Àe†µÀ‡†¶Àµ†¸À׆gÀù†¹À‚'†iÀ‚IU†[À‚ZU†\À‚kU†]À‚|U†^À‚U†_À‚žU†`À‚¯U†aÀ‚ÀU†bÀ‚Ò†dÀ‚ö†ºÀƒ †»Àƒ-†¼ÀƒNUAÀƒ_‚”Àƒt†¾Àƒ‰ƒÜÀƒ©¦ÀƒÅ†¿À„†ÀÀ„^†ÃÀ„Š†ÅÀ„Û†ÇÀ„û†ÈÀ…†ÉÀ…q†ÊÀ…džËÀ††ÌÀ†s†ÍÀ†´†ÎÀ‡ +†ÏÀ‡`†ÐÀ‡¶†ÑÀˆ†ÒÀˆT†Ó#†e€®@+'# *#†ÔOO€¯+'#á*#†}€°+'#1&'# *#†Õ€±+'#†?*#†Ö€²"#†e#8 #†} #†Õ #†Ö€³@+'#‚*#†×#‚€´0#†e#…ï"'#á #†'"'#á #†R"'#Ý #†S"'#‚€&'#á'#á #†T"'#6 #‚€µ0#†e#†Ø"'#1&'# #å"'#á #†R$†V†W"'#‚€&'#á'#á #†T"'#6 #†X€¶0#†e#†Ù"'#†? #†k€·@#†Ú'#I"'#á #†R"'#á #†Û"'#‚€&'#á'#á #†T"'#ƒ #."'#1&'# #†Ü€¸@#†Ý'# "'#á #†R€¹@#„i'#†e"'#á #†k€º#†k'#†?€»#†Þ'#†?€¼#†R'#ွ#†ß'#ှ#†à'#6€¿#†á'#á€À#†â'# €Á#†ã'#á"'#Ý #†S€Â#†T'#‚€&'#á'#á€Ã@#†ä'#†e"'#á #‚–"'# #B"'#†? #†å€Ä@#†æ'#I"'#1&'# #†Á"'#1&'# #å"'#‚ë #.€Å#‚”'#á€Æ@+*#†ç8HlÒHÿHÿþHÇÿHÿÿHÿ€Ç@+*#†è #†I#†Ò€ÈÀ‹¦†ÔÀ‹À†}À‹×†ÕÀ‹ô†ÖÀŒ 8ÀŒ6†×ÀŒP…ïÀŒ½†ØÀ%†ÙÀC†ÚÀ«†ÝÀÌ„iÀîU†kÀŽ†ÞÀŽU†RÀŽ'U†ßÀŽ9U†àÀŽJU†áÀŽ\†âÀŽp†ãÀŽ•U†TÀŽµ†äÀŽï†æÀ5‚”ÀJ†çÀ™†è%+'# *#†é€É%+'# *#†ê€Ê%+'# *#†ë€Ë%+'# *#†ì€Ì%+'# *#†í€Í%+'# *#†î€Î%+'# *#†ï€Ï%+'# *#†ð€Ð%+'# *#†ñ€Ñ%+'# *#†ò€Ò%+'#1&'# *#†ó€Ó'#1&'# #†ô€Ô"'#á #†k"'# #B"'# #C"'# #‚("'#1&'# #†Ü'# #†õ€Õ'#†?#†ö€Ö5+'#á*#†÷€×+'# *#†ø€Ø+'# *#†ù€Ù+'# *#†ú€Ú+'# *#†û€Û+'# *#†ü€Ü+'# *#†ý€Ý+'#á*#†þ€Þ+'# *#†ÿ€ß#†ö #†÷ #†ø #†ù #†ú #†û #†ü #†ý #†þ€à#†['#6€á#†\'#6€â#‡'#6€ã#†]'#6€ä#†^'#6€å#†_'#6€æ#‡'#6€ç#‡'#6€è#‡'#6€é#‡'#6€ê#‡'#6"'#á #†A€ë#†a'#6€ì#†`'#6€í#†Z'#6€î#†c'#6"'#á #†A€ï#†A'#á€ð#‡'#á€ñ#†K'#á€ò#†B'#á€ó#;'#á€ô#†C'# €õ#†D'#á€ö#†F'#á€÷#†H'#á€ø#†b'#á€ù#†E'#1&'#á€ú#†G'#‚€&'#á'#á€û#†Y'#‚€&'#á'#1&'#á€ü#‡'#6"'#á #†C€ý#†j'#†?€þ#†f'#†?€ÿ#†'#†? "'#á #†A"'#á #†B"'#á #;"'# #†C"'#á #†D"'#‚X&'#á #†E"'#á #†F"'#‚€&'#á'#‚¨ #†G"'#á #†H#†g'#†?"'#á #†h#†i'#†?"'#†? #†h@#†¹'# "'#†ö #†k#‡'#†?"'#†ö #†@"'#†ö #‡ #†d'#á"'#6 #†O#†º'#á#A'#†e#ƒÝ'# #ƒÜ'#6"'#‚e #2 #‡ +'#†? +#‚”'#á 5À’†÷À’†øÀ’4†ùÀ’J†úÀ’`†ûÀ’v†üÀ’Œ†ýÀ’¢†þÀ’¹†ÿÀ’Ï^À“%U†[À“6U†\À“GU‡À“XU†]À“iU†^À“zU†_À“‹U‡À“œU‡À“­U‡À“¾U‡À“χÀ“ðU†aÀ”U†`À”U†ZÀ”#†cÀ”DU†AÀ”V‡À”kU†KÀ”}U†BÀ”U;À” U†CÀ”±U†DÀ”ÃU†FÀ”ÕU†HÀ”çU†bÀ”ùU†EÀ•U†GÀ•2U†YÀ•Y‡À•z†jÀ•†fÀ•¤†À–]†gÀ–†iÀ–¡†¹À–‡À–ñ†dÀ—†ºÀ—*UAÀ—;UƒÝÀ—LƒÜÀ—l‡ +À—‚” '#†I#‡ +'#†e*#œ #‡  #œ"'#á #†D"'#á #†F#A'#†eÀ™&œÀ™=^À™nUA"'#á #‚–"'# #B'# #‡ "'#á #y'# #‡ "'#á #‚¦"'#1&'#á #¨'#1&'#á#‡"'#á #ã"'# #B"'# #C'# #‡Àió'Àj%†,Àj'%†-Àj>%†.ÀjU%†/Àjl%†0Àjƒ%†1Àjš%†2Àj±%†3ÀjÈ%†4Àjß%†5Àjö%†6Àk %†7Àk$%†8Àk;%†9ÀkR%†:Àki%†;Àk€%†<Àk›†?ÀsÝÀu@†IÀˆªÀ‹—†eÀ±Àn%†éÀ†%†êÀž%†ëÀ¶%†ìÀÎ%†íÀæ%†îÀþ%†ïÀ‘%†ðÀ‘.%†ñÀ‘F%†òÀ‘^%†óÀ‘{†ôÀ‘˜†õÀ‘ð†öÀ—–À™‡ À™À™”‡ À™Â‡ À™ä‡Àš#‡‡–& #ÀõÀ÷^Àý•ÀþûÀÿÎÀ + À ÉÀËÀ WÀ"ûÀ$À$íÀ%vÀ)æÀ.qÀ6½À7IÀ@¡ÀH>ÀHÚÀNÀO!ÀPØÀQ2ÀSÊÀX{ÀXÿÀZMÀ\ Àe†ÀgYÀhSÀiOÀiãÀš\  @Î##„Ä$‡„!#‚~#ó#‡#‡#‚s#‡$¸¹!#ê$‡„0#„$‡‡„!#„$‡‡!#ƒâ$‡„ +!# $º»$‡‡$‡‡$‡‡$‡„!$‡ „/$‡!„3$‡"‡#$‡$„?$‡%‡&$‡'„Q€)(#‚Z'#6#‡(%+*#‡)8 ð? $@ Y@ @@ ˆÃ@ jø@ €„.A ÐcA „×—A eÍÍA _ B èvH7B ¢”mB @åœ0¢B ļÖB 4&õk C €à7yÃAC  Ø…W4vC ÈNgmÁ«C =‘`äXáC @Œµx¯D PïâÖäKD ’ÕMÏð€D '#&'# #‡* +'#á*#‡+ +#‡* #‡+ #'# #¤'# "'# #‡, @#‡-'#á"'#‡* #‡.Àž-‡+ÀžC^ÀžYUÀžh¤Àž‡‡-#‡/+'#á*#à +#‡/ #àÀžÙàÀžï^"'# #†œ'# #‡0"'#á #ã"'# #¥'# #¾%+'#‚~&'#„`*#‡1#ƒ¿#$‡2‡3 @#…\'# "'# #‡4"'# #J@#‡5'# "'# #‡4@#‡6'# "'# #‡7"'# #‡8@#‡9'# "'# #‡7"'# #‡8"'# #‡:@#‡;'# "'# #‡7"'# #‡8"'# #‡:"'# #‡<@#‡='# "'# #‡7"'# #‡8"'# #‡:"'# #‡<"'# #‡>@#‡?'# "'# #‡7"'# #‡8"'# #‡:"'# #‡<"'# #‡>"'# #‡@@#‡A'# "'# #‡7"'# #‡8"'# #‡:"'# #‡<"'# #‡>"'# #‡@"'# #‡B@#‡C'# "'# #‡7"'# #‡8"'# #‡:"'# #‡<"'# #‡>"'# #‡@"'# #‡B"'# #‡D@#‡E'#  "'# #‡7"'# #‡8"'# #‡:"'# #‡<"'# #‡>"'# #‡@"'# #‡B"'# #‡D"'# #‡F@#‡G'#  +"'# #‡7"'# #‡8"'# #‡:"'# #‡<"'# #‡>"'# #‡@"'# #‡B"'# #‡D"'# #‡F"'# #‡H @#‡I'# "'# #f! ÀŸœ…\ÀŸÆ‡5ÀŸå‡6À ‡9À G‡;À Š‡=À Ù‡?À¡4‡AÀ¡›‡CÀ¢‡EÀ¢‡GÀ£‡I€)(#‚Z"'#‚Z #‡J"'#…6 #‡K'#‚e#‡L"##$‡M‡N#+'#á*#‡O$ +# #‡O%À£Ý‡OÀ£ó^)(#‚Z'#‚e"'#‚Z #J"'#á #à'#‚Z#½&)(#‚Z '#‚š'#„ü#‡P'+'#á*#‚†(#‡P #‚†)#‚”'#á*À¤y‚†À¤^À¤¥‚”)(#‚Z'#‚e"'#‚Z #J"'#‚Z #‡Q'#‚Z#‡R+#‡S,j@+'# *#‡Td-@+'# *#‡Ue.@+'# *#‡Vf#$„ „/@+'# *#‡WÈ0@+'# *#‡XÉ1@+'# *#‡YÊ2@+'# *#‡ZË3@+'# *#‡[Ì4@+'# *#‡\Í5@+'# *#‡]Î6@+'# *#‡^Ï#$„ „7@+'# *#‡_Ð#$„ „8@+'# *#‡`â#$„ „9@+'# *#‡aH,:@+'# *#‡bH-;@+'# *#‡cH.<@+'# *#‡dH.=@+'# *#‡eH/>@+'# *#‡fH0?@+'# *#‡gH1@@+'# *#‡hH3A@+'# *#‡iH4#$„ „B@+'# *#‡jHC@+'# *#‡kH‘D@+'# *#‡lH’E@+'# *#‡mH“F@+'# *#‡nH”G@+'# *#‡oH•H@+'# *#‡pH–I@+'# *#‡qH—J@+'# *#‡rH˜K@+'# *#‡sH™L@+'# *#‡tHšM@+'# *#‡uH›N@+'# *#‡vHœO@+'# *#‡wHP@+'# *#‡xHžQ@+'# *#‡yHŸR@+'# *#‡zH S@+'# *#‡{H¡T@+'# *#‡|H¥#$„ „U@+'# *#‡}H¦#$„ „V@+'# *#‡~H§#$„ „W@+'# *#‡H¨#$„ „X@+'# *#‡€HªY@+'# *#‡H¬#$„ „Z@+'# *#‡‚H­#$„ „[@+'# *#‡ƒH¯#$„ „\@+'# *#‡„H¼#$„ „]@+'# *#‡…HÃ#$„ „^@+'# *#‡†Hó#$„ „_@+'# *#‡‡Hô`@+'# *#‡ˆHõa@+'# *#‡‰Höb@+'# *#‡ŠH÷c@+'# *#‡‹Hød@+'# *#‡ŒHùe@+'# *#‡Hú#$„ „f@+'# *#‡ŽHû#$„ „g@+'# *#‡Hü#$„ „h@+'# *#‡Hþ#$„ „i@+'# *#‡‘Hÿ#$„ „j@+'# *#‡’HWk@+'# *#‡“#‡T#„V$‡”‡•l@+'# *#‡–#‡U#„V$‡—‡˜m@+'# *#‡™#‡W#„V$‡š‡›n@+'# *#‡œ#‡X#„V$‡‡žo@+'# *#‡Ÿ#‡Y#„V$‡ ‡¡p@+'# *#‡¢#‡Z#„V$‡£‡¤q@+'# *#‡¥#‡[#„V$‡¦‡§r@+'# *#‡¨#‡\#„V$‡©‡ªs@+'# *#‡«#‡]#„V$‡¬‡­t@+'# *#‡®#‡a#„V$‡¯‡°u@+'# *#‡±#‡b#„V$‡²‡³v@+'# *#‡´#‡c#„V$‡µ‡¶w@+'# *#‡·#‡d#„V$‡¸‡¹x@+'# *#‡º#‡e#„V$‡»‡¼y@+'# *#‡½#‡f#„V$‡¾‡¿z@+'# *#‡À#‡g#„V$‡Á‡Â{@+'# *#‡Ã#‡h#„V$‡Ä‡Å|@+'# *#‡Æ#‡j#„V$‡Ç‡È}@+'# *#‡É#‡k#„V$‡Ê‡Ë~@+'# *#‡Ì#‡l#„V$‡Í‡Î@+'# *#‡Ï#‡m#„V$‡Ð‡Ñ€€@+'# *#‡Ò#‡n#„V$‡Ó‡Ô€@+'# *#‡Õ#‡o#„V$‡Ö‡×€‚@+'# *#‡Ø#‡p#„V$‡Ù‡Ú€ƒ@+'# *#‡Û#‡q#„V$‡Ü‡Ý€„@+'# *#‡Þ#‡r#„V$‡ß‡à€…@+'# *#‡á#‡s#„V$‡â‡ã€†@+'# *#‡ä#‡t#„V$‡å‡æ€‡@+'# *#‡ç#‡u#„V$‡è‡é€ˆ@+'# *#‡ê#‡v#„V$‡ë‡ì€‰@+'# *#‡í#‡w#„V$‡î‡ï€Š@+'# *#‡ð#‡x#„V$‡ñ‡ò€‹@+'# *#‡ó#‡y#„V$‡ô‡õ€Œ@+'# *#‡ö#‡z#„V$‡÷‡ø€@+'# *#‡ù#‡{#„V$‡ú‡û€Ž@+'# *#‡ü#‡€#„V$‡ý‡þ€@+'# *#‡ÿ#‡‡#„V$ˆˆ€@+'# *#ˆ#‡ˆ#„V$ˆˆ€‘@+'# *#ˆ#‡‰#„V$ˆˆ€’@+'# *#ˆ#‡Š#„V$ˆ ˆ +€“@+'# *#ˆ #‡‹#„V$ˆ ˆ €”@+'# *#ˆ#‡Œ#„V$ˆˆ€•@+'# *#ˆ#‡’#„V$ˆˆ€–jÀ¥‡TÀ¥1‡UÀ¥H‡VÀ¥l‡WÀ¥ƒ‡XÀ¥š‡YÀ¥±‡ZÀ¥È‡[À¥ß‡\À¥ö‡]À¦ ‡^À¦1‡_À¦U‡`À¦y‡aÀ¦—‡bÀ¦µ‡cÀ¦Ó‡dÀ¦ñ‡eÀ§‡fÀ§-‡gÀ§K‡hÀ§i‡iÀ§”‡jÀ§²‡kÀ§Ð‡lÀ§î‡mÀ¨ ‡nÀ¨*‡oÀ¨H‡pÀ¨f‡qÀ¨„‡rÀ¨¢‡sÀ¨À‡tÀ¨Þ‡uÀ¨ü‡vÀ©‡wÀ©8‡xÀ©V‡yÀ©t‡zÀ©’‡{À©°‡|À©Û‡}Àª‡~Àª1‡Àª\‡€Àªz‡Àª¥‡‚ÀªÐ‡ƒÀªû‡„À«&‡…À«Q‡†À«|‡‡À«š‡ˆÀ«¸‡‰À«Ö‡ŠÀ«ô‡‹À¬‡ŒÀ¬0‡À¬[‡ŽÀ¬†‡À¬±‡À¬Ü‡‘À­‡’À­%‡“À­K‡–À­q‡™À­—‡œÀ­½‡ŸÀ­ã‡¢À® ‡¥À®/‡¨À®U‡«À®{‡®À®¡‡±À®Ç‡´À®í‡·À¯‡ºÀ¯9‡½À¯_‡ÀÀ¯…‡ÃÀ¯«‡ÆÀ¯Ñ‡ÉÀ¯÷‡ÌÀ°‡ÏÀ°D‡ÒÀ°k‡ÕÀ°’‡ØÀ°¹‡ÛÀ°à‡ÞÀ±‡áÀ±.‡äÀ±U‡çÀ±|‡êÀ±£‡íÀ±Ê‡ðÀ±ñ‡óÀ²‡öÀ²?‡ùÀ²f‡üÀ²‡ÿÀ²´ˆÀ²ÛˆÀ³ˆÀ³)ˆ À³PˆÀ³wˆÀœ5À‡(À/%‡)Àž‡*Àž¨ÀžË‡/ÀŸÀŸ‡0ÀŸ5¾ÀŸc%‡1ÀŸƒ¿À£6À£‹‡LÀ£ÃÀ¤À¤½À¤T‡PÀ¤¹À¤Ï‡RÀ¥ ‡SÀ³ž  @Î##„Ä)(#‚](#‚Z '#ó&'#‚Z#ˆ+'#ó&'#‚]*#ˆ#ˆ #ˆ#ˆ'#6#ˆ'#‡&'#‚Z"'#I"'#‚Z #A #ˆ"'#…6 #„Ù"'#I #ˆ"'#6 #ˆ#‚y)(#‚j'#ó&'#‚jÀ··ˆÀ·Õ^À·ëUˆÀ·ûˆÀ¸k‚y)(#‚](#‚Z'#‡&'#‚Z#ˆ+'#‡&'#‚]*#ˆ+'#‡*#ˆ+'#I"'#‚Z*#ˆ +'#…6*#ˆ +#ˆ #ˆ #ˆ'#‚~ #ˆ'#I"'#I"'#‚Z #A #ˆ #„Ù'#I"'#…6 #ˆ!#ˆ'#I'#I #ˆ"#ˆ#'#I"'#‚] #A#ˆ$'#I"'#‚~ #ˆ%#ˆ&'#I#ˆ''#6#ˆ()(#ƒ˜'#‚~&'#ƒ˜"'#ƒ˜ #ˆ)À¸ßˆÀ¸ýˆÀ¹ˆÀ¹9ˆÀ¹O^À¹eˆÀ¹yˆÀ¹«„ÙÀ¹ËˆÀ¹îˆ#Àº ˆ$Àº0ˆ&ÀºCUˆ'ÀºSˆ()(#‚u(#‚v(#‚w(#‚x '#‚s&'#‚w'#‚x#ˆ*+'#‡&'#‚u'#‚v*#ˆ#ˆ* #ˆ#‚y)(#‚z(#‚{'#‡&'#‚z'#‚{#ò'#ó&'#‚x"'#ó&'#‚w #ôÀ»*ˆÀ»N^À»d‚yÀ»”ò)(#‚u(#‚v(#‚w(#‚x '#ê&'#‚w'#‚x#¼+'#ê&'#‚u'#‚v*#ˆ#¼ #ˆ#·'#‚x"'#‚w #‚#ò'#ó&'#‚x"'#ó&'#‚w #ô#‚y)(#‚z(#‚{'#ê&'#‚z'#‚{À¼ˆÀ¼C^À¼Y·À¼zòÀ¼«‚yÀ·oÀ·ŒˆÀ¸À¸³ˆÀº‡Àºíˆ*À»ÅÀ»â¼À¼Û  @Î##„Ä# #"'#6 #ˆ+#‚'#I"'#1&'# #å#ˆ,'#I"'# #‚ö#ˆ-'# #ˆ.'# #'# #…g'#6#…h'#6#…“'#I À½Z^À½w‚À½ˆ,À½¼ˆ-À½Ïˆ.À½âUÀ½ñU…gÀ¾U…hÀ¾…“'##ˆ/ +@+'# *#ˆ0H @+*#ˆ1 +'# *#ˆ2 +'# *#‚V#ˆ/#‚'#I"'#1&'# #å#ˆ,'#I"'# #‚ö#ˆ3'#I"'# #ˆ4#ˆ-'# #ˆ.'# #'# #…g'#6#…h'#6#…“'#I#ˆ5'#I@#ˆ6'# "'# #fÀ¾wˆ0À¾•ˆ1À¾¥ˆ2À¾º‚VÀ¾Ï^À¾Ü‚À¿ˆ,À¿!ˆ3À¿@ˆ-À¿Sˆ.À¿fUÀ¿uU…gÀ¿…U…hÀ¿•…“À¿¨ˆ5À¿»ˆ6'##ˆ7 +'# *#ˆ2+'#1&'# *#ˆ8#‚'#I"'#1&'# #å#ˆ,'#I"'# #‚ö#ˆ-'#  #ˆ.'# !#'# "#…g'#6##…h'#6$#…“'#I%#ˆ5'#I& ÀÀaˆ2ÀÀvˆ8ÀÀ’‚ÀÀ¸ˆ,ÀÀ׈-ÀÀêˆ.ÀÀýUÀÁ U…gÀÁU…hÀÁ,…“ÀÁ?ˆ5À½0À½MÀ¾$À¾bˆ/À¿ÙÀÀLˆ7ÀÁR  @Î##„Ä)(#‚](#‚Z '#‚X&'#‚Z#ˆ9#ˆ'#‚X&'#‚]#…Q'#…R&'#‚Z#'# #…g'#6#…h'#6#…k'#‚X&'#‚Z"'# #‚%#…i'#‚X&'#‚Z"'# #‚%#…s'#‚Z"'# #¥#…m'#‚Z #…n'#‚Z +#ƒ¹'#‚Z #…Y'#6"'#‚e #2 #…q'#‚Z'#6"'#‚Z #‚ #…V"'#‚Z #…p #‚”'#áÀÂUˆÀÂ'U…QÀÂ@UÀÂOU…gÀÂ_U…hÀÂo…kÀ—…iÀ¿…sÀÂßU…mÀÂðU…nÀÃUƒ¹ÀÃ…YÀÃ1…qÀÃy‚”)(#‚](#‚Z'#…R&'#‚Z#ˆ:+'#…R&'#‚]*#ˆ#ˆ: #ˆ#…z'#6#…{'#‚ZÀĈÀÄ9^ÀÄO…zÀÄbU…{)(#‚](#‚Z '#ˆ9&'#‚]'#‚Z#ˆ;+'#‚X&'#‚]*#ˆ"#ˆ;#8 #ˆ#ˆ;"'#‚X&'#‚] #ã#‚y)(#‚j'#‚X&'#‚jÀÄÁˆÀÄß8ÀÄ÷^ÀÅ‚y)(#‚](#‚Z '#ˆ;&'#‚]'#‚Z'#…|&'#‚Z#ˆ<#ˆ<"'#…|&'#‚] #ãÀÅš^)(#‚](#‚Z '#ˆ9&'#‚]'#‚Z-'#ˆ=&'#‚Z#ˆ>#ˆ'#1&'#‚]#¤'#‚Z"'# #¥#…5'#I"'# #¥"'#‚Z #J #'#I"'# ##‚'#I"'#‚Z #J #…Š'#I"'#‚X&'#‚Z #…«!#…'#I"'# "'#‚Z #‡7"'#‚Z #‡8 #„‹"#'#I"'#ƒâ #…Ž##…”'#I"'# #¥"'#‚Z #‚$#…•'#I"'# #¥"'#‚X&'#‚Z #`%#…–'#I"'# #¥"'#‚X&'#‚Z #`&#…—'#6"'#‚e #J'#…˜'#‚Z"'# #¥(#…™'#‚Z)#…š'#I'#6"'#‚Z #‚ #…V*#…›'#I'#6"'#‚Z #‚ #…V+#…œ'#‚X&'#‚Z"'# #B"'# #C,#…'#I"'# #B"'# #C"'#‚X&'#‚Z #…‹"'# #…ž-#…Ÿ'#I"'# #B"'# #C.#… '#I"'# #B"'# #C"'#‚Z #…¡/#…¢'#I"'# #B"'# #C"'#‚X&'#‚Z #†0ÀÆUˆÀƤÀÆ<…5ÀÆgVÀÆ„‚ÀÆ£…ŠÀÆË…ÀÇÀÇ1…”ÀÇ]…•ÀÇ…–ÀÇÃ…—ÀÇâ…˜ÀÈ…™ÀÈ…šÀÈF…›ÀÈv…œÀȨ…ÀÈ÷…ŸÀÉ … ÀÉY…¢)(#‚](#‚Z '#ˆ>&'#‚]'#‚Z#ˆ?1+'#1&'#‚]*#ˆ2#ˆ? #ˆ3#‚y)(#‚j'#1&'#‚j4ÀÊ[ˆÀÊx^ÀÊŽ‚y)(#‚](#‚Z '#ˆ9&'#‚]'#‚Z'#…f&'#‚Z#ˆ@5+'#…f&'#‚]*#ˆ6+)(#‚j'#…f&'#‚j*#ˆA7#ˆ@ #ˆ #ˆA8@#ˆB)(#‚j'#…f&'#‚j9#‚y)(#‚j'#…f&'#‚j:#‚'#6"'#‚Z #J;#…Š'#I"'#‚X&'#‚Z #`<#…—'#6"'#‚e #‚ =#…ê'#I"'#‚X&'#‚e #ƒ>#…ë'#I"'#‚X&'#‚e #ƒ?#…š'#I'#6"'#‚Z #‚ #…V@#…›'#I'#6"'#‚Z #‚ #…VA#…ì'#6"'#‚X&'#‚e #ƒB#ƒï'#…f&'#‚Z"'#…f&'#‚e #2C#„Ã'#…f&'#‚Z"'#…f&'#‚e #2D#ˆC'#…f&'#‚Z"'#…f&'#‚e #2"'#6 #ˆDE#…í'#…f&'#‚Z"'#…f&'#‚Z #2F#…“'#IG#ˆE'#…f&'#‚ZH#…e'#…f&'#‚ZI#…é'#‚Z"'#‚e #‚¦JÀˈÀË&ˆAÀËS^ÀËrˆBÀË–‚yÀ˺‚ÀËÙ…ŠÀÌ…—ÀÌ …êÀÌH…ëÀÌp…šÀÌ …›ÀÌÐ…ìÀÌøƒïÀÍ(„ÃÀÍXˆCÀÍ”…íÀÍÄ…“ÀÍ׈EÀÍó…eÀÎ…é)(#ˆF(#ˆG(#ƒ¡(#…¥ '#ˆH&'#ƒ¡'#…¥#ˆIK+'#‚€&'#ˆF'#ˆG*#ˆL#ˆI #ˆM#‚y)(#…±(#…²'#‚€&'#…±'#…²N#…³'#6"'#‚e #JO#…´'#6"'#‚e #‚¦P#¤'#…¥"'#‚e #‚¦Q#…5'#I"'#ƒ¡ #‚¦"'#…¥ #JR#…º'#…¥"'#ƒ¡ #‚¦"'#…¥ #…¸S#…Š'#I"'#‚€&'#ƒ¡'#…¥ #2T#…—'#…¥"'#‚e #‚¦U#…“'#IV#…Z'#I'#I"'#ƒ¡ #‚¦"'#…¥ #J #…TW#…ª'#‚X&'#ƒ¡X#…«'#‚X&'#…¥Y#'# Z#…g'#6[#…h'#6\#…·'#…¥"'#ƒ¡ #‚¦'#…¥"'#…¥ #J #…·"'#…¥ #…¸]#…¹'#I'#…¥"'#ƒ¡ #‚¦"'#…¥ #J #…·^#…°'#‚X&'#…¯&'#ƒ¡'#…¥_#…µ'#I"'#‚X&'#…¯&'#ƒ¡'#…¥ #…°`#…š'#I'#6"'#ƒ¡ #‚¦"'#…¥ #J #…VaÀψÀÏ&^ÀÏ<‚yÀÏl…³ÀÏ‹…´ÀÏ«¤ÀÏÌ…5ÀÏø…ºÀÐ-…ŠÀÐZ…—ÀÐ{…“ÀÐŽ…ZÀÐÊU…ªÀÐãU…«ÀÐüUÀÑ U…gÀÑU…hÀÑ+…·ÀÑ€…¹ÀѽU…°ÀÑä…µÀÒ…š)(#‚](#‚Z '#ˆ9&'#‚]'#‚Z'#ˆJ&'#‚Z#ˆKb +'#ˆJ&'#‚]*#ˆc#ˆK #ˆd#‚y)(#‚j'#ˆJ&'#‚je#ˆL'#‚Zf#…™'#‚Zg#‚'#I"'#‚Z #Jh#ˆM'#I"'#‚Z #Ji#ˆN'#I"'#‚Z #Jj#…—'#6"'#‚e #2k#…Š'#I"'#‚X&'#‚Z #`l#…š'#I'#6"'#‚Z #‚ #…Vm#…›'#I'#6"'#‚Z #‚ #…Vn#…“'#Io ÀÓ1ˆÀÓO^ÀÓe‚yÀÓ‰ˆLÀÓ…™ÀÓ±‚ÀÓЈMÀÓïˆNÀÔ…—ÀÔ-…ŠÀÔT…šÀÔ„…›ÀÔ´…“ÀÁÆ ÀÁãˆ9ÀÃÀÃïˆ:ÀÄsÀĈ;ÀÅ=ÀÅYˆ<ÀżÀÅÈ>ÀÉ—ÀÊ*ˆ?ÀʱÀÊLj@ÀÎ0ÀÎňIÀÒVÀÒðˆKÀÔÇ  @Î##„Ä '#‚š#ˆO +'#á*#ˆP#ˆO #ˆP##ˆO#ˆQ"'#á #ˆR#<$=>##ˆO#ˆS"'#á #ˆT##ˆO#ˆU"'#á #ˆR#<$=>##ˆO#ˆV"'#á #ˆT##ˆO#ˆW"'#á #ˆR##ˆO#ˆX"'#á #ˆT#‚”'#á ÀÕ½ˆPÀÕÓ^ÀÕìˆQÀÖˆSÀÖ1ˆUÀÖYˆVÀÖvˆWÀÖ“ˆXÀÖ°‚” '#‚š#ˆY ++'#á*#ˆP #ˆY #ˆP #‚”'#á À׈PÀ×/^À×H‚”ÀÕ‹ÀÕ¨ˆOÀÖÄÀ׈YÀ×\  @Î##„Ä)(#‚Z '#‚X&'#‚Z#…| +#…|#'# À×Ï^À×ÜU)(#ƒ˜ '#…|&'#ƒ˜#…t#'# #…s'#ƒ˜"'# #‡, +#…t#…Q'#…R&'#ƒ˜#…Z'#I'#I"'#ƒ˜ #‚ #…»#…g'#6 #…m'#ƒ˜ +#…n'#ƒ˜ #ƒ¹'#ƒ˜ #…Y'#6"'#‚e #‚ #…`'#6'#6"'#ƒ˜ #‚ #…V#…b'#6'#6"'#ƒ˜ #‚ #…V#…o'#ƒ˜'#6"'#ƒ˜ #‚ #…V"'#ƒ˜ #…p#…q'#ƒ˜'#6"'#ƒ˜ #‚ #…V"'#ƒ˜ #…p#…r'#ƒ˜'#6"'#ƒ˜ #‚ #…V"'#ƒ˜ #…p#…a'#á"'#á #ƒ$ƒ^#…U'#‚X&'#ƒ˜'#6"'#ƒ˜ #‚ #…V#‚å)(#‚Z'#‚X&'#‚Z'#‚Z"'#ƒ˜ #‚ #…T#…['#ƒ˜'#ƒ˜"'#ƒ˜ #J"'#ƒ˜ #‚ #…\#…])(#‚Z'#‚Z"'#‚Z #…^'#‚Z"'#‚Z #…_"'#ƒ˜ #‚ #…\#…k'#‚X&'#ƒ˜"'# #‚%#…l'#‚X&'#ƒ˜'#6"'#ƒ˜ #‚ #…V#…i'#‚X&'#ƒ˜"'# #‚%#…j'#‚X&'#ƒ˜'#6"'#ƒ˜ #‚ #…V#…c'#1&'#ƒ˜"'#6 #…d#…e'#…f&'#ƒ˜ÀØUÀØ,…sÀØL^ÀØYU…QÀØr…ZÀØ¢U…gÀزU…mÀØÃU…nÀØÔUƒ¹ÀØå…YÀÙ…`ÀÙ5…bÀÙe…oÀÙ­…qÀÙõ…rÀÚ=…aÀÚe…UÀÚž‚åÀÚà…[ÀÛ…]ÀÛr…kÀÛš…lÀÛÓ…iÀÛû…jÀÜ4…cÀÜ`…e)(#ƒ˜ '#…t&'#ƒ˜#ˆZ +'#‚X&'#ƒ˜*#ˆ[+'# *#…ô +'# *#ˆ\!#ˆZ #ˆ[ #…ô #ˆ\"#ˆ]'# ##ˆ^'# $#'# %#…s'#ƒ˜"'# #¥&#…k'#‚X&'#ƒ˜"'# #‚%'#…i'#‚X&'#ƒ˜"'# #‚%(#…c'#1&'#ƒ˜"'#6 #…d) ÀÝVˆ[ÀÝt…ôÀ݉ˆ\ÀÝž^ÀÝÆUˆ]ÀÝÖUˆ^ÀÝæUÀÝõ…sÀÞ…kÀÞ=…iÀÞe…c)(#ƒ˜'#…R&'#ƒ˜#ˆ_*+'#‚X&'#ƒ˜*#ˆ[++'# *#ˆ2,+'# *#ˆ`-+'#ƒ˜*#ˆa.#ˆ_"'#‚X&'#ƒ˜ #…‹/#…{'#ƒ˜0#…z'#6#<$ƒ²ƒ³1À߈[Àß$ˆ2Àß9ˆ`ÀßNˆaÀßd^À߆U…{Àß—…z7)(#‚](#‚Z'#‚Z"'#‚] #J#ˆb2)(#‚](#‚Z '#‚X&'#‚Z#ˆc3 +'#‚X&'#‚]*#ˆ[4+'#ˆb&'#‚]'#‚Z*#ˆd5#ˆc"'#‚X&'#‚] #…‹'#‚Z"'#‚] #J #…86"#ˆc#8 #ˆ[ #ˆd7#…Q'#…R&'#‚Z8#'# 9#…g'#6:#…m'#‚Z;#…n'#‚Z<#ƒ¹'#‚Z=#…s'#‚Z"'# #¥> ÀàCˆ[ÀàaˆdÀà…^ÀàÄ8ÀàåU…QÀàþUÀá U…gÀáU…mÀá.U…nÀá?Uƒ¹ÀáP…s)(#‚](#‚Z '#ˆc&'#‚]'#‚Z'#…|&'#‚Z#ˆe?#ˆe"'#‚X&'#‚] #…‹'#‚Z"'#‚] #J #…8@Àáþ^)(#‚](#‚Z '#…R&'#‚Z#ˆfA+'#‚Z*#ˆaB+'#…R&'#‚]*#ˆgC+'#ˆb&'#‚]'#‚Z*#ˆdD#ˆf #ˆg #ˆdE#…z'#6F#…{'#‚ZGÀâoˆaÀâ…ˆgÀ⣈dÀâÇ^Àâæ…zÀâùU…{)(#‚](#‚Z '#…t&'#‚Z#ˆhH+'#‚X&'#‚]*#ˆI+'#ˆb&'#‚]'#‚Z*#ˆdJ#ˆh #ˆ #ˆdK#'# L#…s'#‚Z"'# #¥MÀãbˆÀ〈dÀã¤^ÀãÃUÀãÒ…s7)(#ƒ˜'#6"'#ƒ˜ #‚#ˆiN)(#ƒ˜ '#‚X&'#ƒ˜#ˆjO+'#‚X&'#ƒ˜*#ˆ[P+'#ˆi&'#ƒ˜*#ˆdQ#ˆj #ˆ[ #ˆdR#…Q'#…R&'#ƒ˜S#‚å)(#‚Z'#‚X&'#‚Z'#‚Z"'#ƒ˜ #‚ #…TTÀäaˆ[ÀäˆdÀä^Àä¼U…QÀäÕ‚å)(#ƒ˜ '#…R&'#ƒ˜#ˆkU+'#…R&'#ƒ˜*#ˆgV+'#ˆi&'#ƒ˜*#ˆdW#ˆk #ˆg #ˆdX#…z'#6Y#…{'#ƒ˜ZÀåaˆgÀåˆdÀå^Àå¼…zÀåÏU…{7)(#‚](#‚Z'#‚X&'#‚Z"'#‚] #ˆl#ˆm[)(#‚](#‚Z '#‚X&'#‚Z#ˆn\+'#‚X&'#‚]*#ˆ[]+'#ˆm&'#‚]'#‚Z*#ˆd^#ˆn #ˆ[ #ˆd_#…Q'#…R&'#‚Z`Àæeˆ[À惈dÀæ§^ÀæÆU…Q)(#‚](#‚Z'#…R&'#‚Z#ˆoa+'#…R&'#‚]*#ˆgb+'#ˆm&'#‚]'#‚Z*#ˆdc+'#…R&'#‚Z*#ˆpd+'#‚Z*#ˆae#ˆo #ˆg #ˆdf#…{'#‚Zg#…z'#6hÀç)ˆgÀçGˆdÀçkˆpÀ版aÀçŸ^Àç¾U…{ÀçÏ…z)(#ƒ˜ '#‚X&'#ƒ˜#ˆqi+'#‚X&'#ƒ˜*#ˆ[j+'# *#ˆrk#ˆq"'#‚X&'#ƒ˜ #…‹"'# #ˆsl"#ˆq#8 #ˆ[ #ˆrm#…Q'#…R&'#ƒ˜nÀè<ˆ[ÀèZˆrÀèo^Àè8Àè¾U…Q)(#ƒ˜ '#ˆq&'#ƒ˜'#…|&'#ƒ˜#ˆto#ˆt"'#‚X&'#ƒ˜ #…‹"'# #ˆsp#'# qÀé0^Àé^U)(#ƒ˜ '#…R&'#ƒ˜#ˆur+'#…R&'#ƒ˜*#ˆgs+'# *#ˆvt#ˆu #ˆg #ˆvu#…z'#6v#…{'#ƒ˜wÀ韈gÀ齈vÀéÒ^Àéñ…zÀêU…{)(#ƒ˜ '#‚X&'#ƒ˜#ˆwx+'#‚X&'#ƒ˜*#ˆ[y+'#ˆi&'#ƒ˜*#ˆdz#ˆw #ˆ[ #ˆd{#…Q'#…R&'#ƒ˜|Àê_ˆ[Àê}ˆdÀê›^ÀêºU…Q)(#ƒ˜ '#…R&'#ƒ˜#ˆx}+'#…R&'#ƒ˜*#ˆg~+'#ˆi&'#ƒ˜*#ˆd+'#6*#ˆy€€#ˆx #ˆg #ˆd€#…z'#6€‚#…{'#ƒ˜€ƒÀëˆgÀë4ˆdÀëRˆyÀëh^À눅zÀëœU…{)(#ƒ˜ '#‚X&'#ƒ˜#ˆz€„+'#‚X&'#ƒ˜*#ˆ[€…+'# *#ˆ{€†#ˆz"'#‚X&'#ƒ˜ #…‹"'# #‚%€‡"#ˆz#8 #ˆ[ #ˆ{€ˆ#…k'#‚X&'#ƒ˜"'# #‚%€‰#…Q'#…R&'#ƒ˜€ŠÀìˆ[Àì ˆ{Àì6^Àìe8À쇅kÀì°U…Q)(#ƒ˜ '#ˆz&'#ƒ˜'#…|&'#ƒ˜#ˆ|€‹#ˆ|"'#‚X&'#ƒ˜ #…‹"'# #‚%€Œ##ˆ|#8"'#‚X&'#ƒ˜ #…‹"'# #‚%€#'# €Ž#…k'#‚X&'#ƒ˜"'# #‚%€Àí+^ÀíZ8Àí‹UÀí›…k"'# #‚%'# #ˆ}€)(#ƒ˜ '#…R&'#ƒ˜#ˆ~€‘+'#…R&'#ƒ˜*#ˆg€’+'# *#ˆ{€“#ˆ~ #ˆg #ˆ{€”#…z'#6€•#…{'#ƒ˜€–Àî&ˆgÀîEˆ{Àî[^Àî{…zÀîU…{)(#ƒ˜ '#‚X&'#ƒ˜#ˆ€—+'#‚X&'#ƒ˜*#ˆ[€˜+'#ˆi&'#ƒ˜*#ˆd€™#ˆ #ˆ[ #ˆd€š#…Q'#…R&'#ƒ˜€›Àîìˆ[Àï ˆdÀï*^ÀïJU…Q)(#ƒ˜ '#…R&'#ƒ˜#ˆ€€œ+'#…R&'#ƒ˜*#ˆg€+'#ˆi&'#ƒ˜*#ˆd€ž+'#6*#ˆ€Ÿ#ˆ€ #ˆg #ˆd€ #…z'#6€¡#…{'#ƒ˜€¢À行gÀïLjdÀïæˆÀïü^Àð…zÀð0U…{)(#ƒ˜ '#…|&'#ƒ˜#…P€£ +#…P€¤#…Q'#…R&'#ƒ˜€¥#…Z'#I'#I"'#ƒ˜ #‚ #…»€¦#…g'#6€§#'# €¨#…m'#ƒ˜€©#…n'#ƒ˜€ª#ƒ¹'#ƒ˜€«#…s'#ƒ˜"'# #¥€¬#…Y'#6"'#‚e #‚€­#…`'#6'#6"'#ƒ˜ #‚ #…V€®#…b'#6'#6"'#ƒ˜ #‚ #…V€¯#…o'#ƒ˜'#6"'#ƒ˜ #‚ #…V"'#ƒ˜ #…p€°#…q'#ƒ˜'#6"'#ƒ˜ #‚ #…V"'#ƒ˜ #…p€±#…r'#ƒ˜'#6"'#ƒ˜ #‚ #…V"'#ƒ˜ #…p€²#…a'#á"'#á #ƒ$ƒ^€³#…U'#‚X&'#ƒ˜'#6"'#ƒ˜ #‚ #…V€´#‚å)(#‚Z'#‚X&'#‚Z'#‚Z"'#ƒ˜ #‚ #…T€µ#…['#ƒ˜'#ƒ˜"'#ƒ˜ #J"'#ƒ˜ #‚ #…\€¶#…])(#‚Z'#‚Z"'#‚Z #…^'#‚Z"'#‚Z #…_"'#ƒ˜ #‚ #…\€·#…k'#‚X&'#ƒ˜"'# #‚%€¸#…l'#‚X&'#ƒ˜'#6"'#ƒ˜ #‚ #…V€¹#…i'#‚X&'#ƒ˜"'# #‚%€º#…j'#‚X&'#ƒ˜'#6"'#ƒ˜ #‚ #…V€»#…c'#1&'#ƒ˜"'#6 #…d€¼#…e'#…f&'#ƒ˜€½Àð•^Àð£U…QÀð½…ZÀðîU…gÀðÿUÀñU…mÀñ!U…nÀñ3Uƒ¹ÀñE…sÀñf…YÀñ‡…`Àñ¸…bÀñé…oÀò2…qÀò{…rÀòÄ…aÀòí…UÀó'‚åÀój…[Àó©…]Àóþ…kÀô'…lÀôa…iÀôŠ…jÀôÄ…cÀôñ…e)(#ƒ˜'#…R&'#ƒ˜#ˆ‚€¾ +#ˆ‚€¿#…z'#6€À#…{'#ƒ˜€ÁÀõê^Àõø…zÀö U…{)(#ƒ˜ '#‚X&'#ƒ˜#ˆƒ€Â +'#‚X&'#ƒ˜*#‚n€Ã+'#‚X&'#ƒ˜*#‚o€Ä#ˆƒ #‚n #‚o€Å0#ˆƒ#ˆ„"'#…|&'#ƒ˜ #…m"'#‚X&'#ƒ˜ #„©€Æ#…Q'#…R&'#ƒ˜€Ç#'# €È#…g'#6€É#…h'#6€Ê#…Y'#6"'#‚e #J€Ë#…m'#ƒ˜€Ì#…n'#ƒ˜€Í ÀöY‚nÀöx‚oÀö—^Àö·ˆ„ÀöòU…QÀ÷ UÀ÷U…gÀ÷-U…hÀ÷>…YÀ÷^U…mÀ÷pU…n)(#ƒ˜ '#ˆƒ&'#ƒ˜'#…|&'#ƒ˜#ˆ…€Î#ˆ…"'#…|&'#ƒ˜ #…m"'#…|&'#ƒ˜ #„©€Ï#…s'#ƒ˜"'# #¥€Ð#…m'#ƒ˜€Ñ#…n'#ƒ˜€ÒÀø^Àø>…sÀø_U…mÀøqU…n)(#ƒ˜'#…R&'#ƒ˜#ˆ†€Ó+'#…R&'#ƒ˜*#ˆ‡€Ô+'#‚X&'#ƒ˜*#ˆˆ€Õ#ˆ†"'#‚X&'#ƒ˜ #…m #ˆˆ€Ö#…z'#6€×#…{'#ƒ˜€ØÀøƈ‡Àø刈Àù^Àù0…zÀùDU…{)(#‚Z '#‚X&'#‚Z#ˆ‰€Ù+'#‚X&'#‚e*#ˆ€Ú#ˆ‰ #ˆ€Û#…Q'#…R&'#‚Z€ÜÀù¡ˆÀùÀ^Àù×U…Q)(#‚Z'#…R&'#‚Z#ˆŠ€Ý+'#…R&'#‚e*#ˆ€Þ#ˆŠ #ˆ€ß#…z'#6€à#…{'#‚Z€áÀú.ˆÀúM^Àúd…zÀúxU…{#ˆ‹€â@#ˆŒ'#…(€ã@#ˆ'#…(€ä@#ˆŽ'#…(€åÀú¶ˆŒÀúˈÀúàˆŽÀ×"Àת…|À×ëÀ×ø…tÀÜ|ÀÝ1ˆZÀÞ‘ÀÞàˆ_Àß·Àßì7ˆbÀàˆcÀápÀὈeÀâ=ÀâDˆfÀã +Àã7ˆhÀãòÀä7ˆiÀä<ˆjÀåÀå<ˆkÀåàÀæ7ˆmÀæ:ˆnÀæßÀæýˆoÀçâÀèˆqÀè×ÀèûˆtÀémÀézˆuÀêÀê:ˆwÀêÓÀêñˆxÀë®ÀëÛˆzÀìÊÀìõˆ|ÀíÄÀíÞˆ}Àîˆ~Àî¡ÀîƈÀïdÀ€ÀðBÀðo…PÀõÀõÈ‚ÀöÀö3ˆƒÀ÷‚À÷Ј…ÀøƒÀøŸˆ†ÀùVÀù{ˆ‰ÀùñÀúˆŠÀúŠÀú§ˆ‹Àúõ  @Î##„Ä)(#ƒ˜#ˆ  #"'# #…‰#‚'#I"'#ƒ˜ #J#…”'#I"'# #¥"'#ƒ˜ #J#…•'#I"'# #…‡"'#‚X&'#ƒ˜ #…‹#…Š'#I"'#‚X&'#ƒ˜ #…‹#…—'#6"'#‚e #‚#…š'#I'#6"'#ƒ˜ #‚ #…V#…›'#I'#6"'#ƒ˜ #‚ #…V#…“'#I #…˜'#ƒ˜"'# #¥ +#…™'#ƒ˜ #…Ÿ'#I"'# #B"'# #C #…¢'#I"'# #B"'# #C"'#‚X&'#ƒ˜ #…‹ Àü©VÀü‚Àüá…”Àý …•Àý@…ŠÀýh…—Àýˆ…šÀý¸…›Àýè…“Àýû…˜Àþ…™Àþ/…ŸÀþX…¢)(#ƒ˜'#1&'#ƒ˜#ˆ#…5'#I"'# #¥"'#ƒ˜ #J #"'# #…‰ #…m"'#ƒ˜ #‚ #…n"'#ƒ˜ #‚#…–'#I"'# #…‡"'#‚X&'#ƒ˜ #…‹#‚'#I"'#ƒ˜ #J#…”'#I"'# #¥"'#ƒ˜ #‚#…•'#I"'# #…‡"'#‚X&'#ƒ˜ #…‹#…Š'#I"'#‚X&'#ƒ˜ #…‹#…—'#6"'#‚e #‚#…š'#I'#6"'#ƒ˜ #‚ #…V#…›'#I'#6"'#ƒ˜ #‚ #…V#…'#I"'#„Š&'#ƒ˜ #„‹#'#I"'#ƒâ #…Ž#…“'#I#…˜'#ƒ˜"'# #¥#…™'#ƒ˜#…'#I"'# #B"'# #C"'#‚X&'#ƒ˜ #…‹"'# #…ž #…Ÿ'#I"'# #B"'# #C!#…¢'#I"'# #B"'# #C"'#‚X&'#ƒ˜ #…‹"#… '#I"'# #B"'# #C"'#ƒ˜ #…¡#Àÿ…5ÀÿAVÀÿZV…mÀÿuV…nÀÿ…–ÀÿÄ‚Àÿã…”À…•ÀC…ŠÀk…—À‹…šÀ»…›Àë…ÀÀ9…“ÀL…˜Àl…™À€…ÀÏ…ŸÀø…¢À6… ,)(#ƒ˜'#ˆ‘&'#ƒ˜-'#ˆ&'#ƒ˜#ˆ’$,)(#ƒ˜'#ˆ‘&'#ƒ˜-'#ˆ&'#ƒ˜#% '#…t&'# #ˆ“&+'#1*#ˆ”'#ˆ“ #ˆ”(#'# )#…s'# "'# #¥*À}ˆ”À’^À¨UÀ·…s)(#ƒ˜ '#ˆ•&'# '#ƒ˜#ˆ–+ +'#1&'#ƒ˜*#ˆ—,#ˆ– #ˆ—-#¤'#ƒ˜"'#‚e #‚¦.#'# /#…«'#‚X&'#ƒ˜0#…ª'#‚X&'# 1#…g'#62#…h'#63#…³'#6"'#‚e #J4#…´'#6"'#‚e #‚¦5#…Z'#I'#I"'# #‚¦"'#ƒ˜ #J #…T6 Àˆ—À9^ÀO¤ÀpUÀU…«À˜U…ªÀ°U…gÀÀU…hÀÐ…³Àï…´À…Z)(#ƒ˜ '#…t&'#ƒ˜#ˆ˜7+'#‚X&'#ƒ˜*#ˆ8#ˆ˜ #ˆ9#'# :#…s'#ƒ˜"'# #¥;À¼ˆÀÚ^ÀðUÀÿ…s#ˆ™<@#‚'#…&=@#ˆš'#…&>@#'#…&?@#…—'#…&@ÀI‚À]ˆšÀqÀ„…—#ˆ›A@#‚'#…&B@#'#…&C@#…—'#…&DÀ‚ÀÖÀé…—€)(#‚Z"'#1&'#‚Z #ˆœ'#1&'#‚Z#ˆE€)(#‚Z"'#1&'#‚Z #ˆž'#1&'#‚Z#ˆŸFÀüv Àü“ˆÀþ–ÀþñˆÀoÀ,ˆ’À2,Àaˆ“ÀÖÀòˆ–ÀJÀ—ˆ˜ÀÀ;ˆ™À˜À´ˆ›ÀýÀˆÀKˆŸ  @Î##„Ä)(#‚Z'#„&'#‚Z '#ˆ &'#‚Z#„ +#…m'#‚Z+'#‚Z*#‚n#…n'#‚Z+'#‚Z*#ˆ¡+'# *##…g'#6#‚'#I"'#‚Z #ˆ¢#ˆM'#I"'#‚Z #ˆ£#…—'#I"'#‚Z #ˆ¤ #…Q'#…R&'#‚Z + +ÀAU…mÀR‚nÀhU…nÀyˆ¡ÀÀ£U…gÀ³‚ÀÓˆMÀó…—À U…Q)(#‚Z'#„&'#‚Z#„ +'#‚Z*#ˆ¥ +'#‚Z*#ˆ¦ +'#„&'#‚Z*#£#ˆ§'#IÀ ™ˆ¥À ¯ˆ¦À Å£À ㈧)(#‚Z'#„&'#‚Z'#…R&'#‚Z#ˆ¨+'#‚Z*#ˆa#…{'#‚Z+'#„&'#‚Z*#£#ˆ¨"'#„&'#‚Z #¨#…z'#6À +JˆaÀ +`U…{À +q£À +^À +±…zÀñÀ„À ,À u„À öÀ +ˆ¨À +Ä  @Î##„Ä%+'#I"'#á*#ˆ©€"'#á #…'#I#ˆªÀ À ,%ˆ©À Rˆª  @Î##„Ä#ˆ«@+'# *#ˆ¬ @#…)(#ƒ˜'#I"'#1&'#ƒ˜ #ƒÎ'# "'#ƒ˜ #ƒÎ"'#ƒ˜ #ƒ‡ #„‹@#ˆ­)(#ƒ˜'#I"'#1&'#ƒ˜ #ƒÎ"'# #‚Q"'# #†'# "'#ƒ˜ #ƒÎ"'#ƒ˜ #ƒ‡ #„‹@#ˆ®)(#ƒ˜'#I"'#1&'#ƒ˜ #ƒÎ"'# #ƒé"'# #ƒí'# "'#ƒ˜ #ƒÎ"'#ƒ˜ #ƒ‡ #„‹@#ˆ¯)(#ƒ˜'#I"'#1&'#ƒ˜ #ƒÎ"'# #ƒé"'# #ƒí'# "'#ƒ˜ #ƒÎ"'#ƒ˜ #ƒ‡ #„‹@#ˆ°)(#ƒ˜'#I"'#1&'#ƒ˜ #ƒÎ"'# #ƒé"'# #ƒí'# "'#ƒ˜ #ƒÎ"'#ƒ˜ #ƒ‡ #„‹À ³ˆ¬À Ê…À #ˆ­À ”ˆ®À ˆ¯À vˆ°À ˆÀ ¥ˆ«À ç  @Î##„Ä' #„#„#„+'#á*#‚†@+'#á*#ˆ±K$ˆ²ˆ³$ˆ´ˆµ$ˆ¶ˆ·$ˆ¸ˆ¹@+'#á*#ˆºK$ˆ»ˆ¼LN^M#ˆ±N^$ˆ½ˆ¾@+'#á*#ˆ¿K$ˆ»ˆ¼LN^M#ˆ±N^$ˆÀˆÁ@+'#á*#ˆÂ$ˆÃˆÄ@+'#„Ê*#ˆÅ@+'#„Ê*#ˆÆŠ#„"'#á #à*#„#ˆÇ #‚† ##„#ˆÈ"'#á #à +#ƒÜ'#6"'#‚e #2 €’#ƒÝ'# €‚#‚” @#ˆÉ'#á"'#„ #ˆÊ@#ˆË'#á"'#á #à@#ˆÌ'#6"'#á #à€Â#ˆÍ'#á"'#„ #ˆÊÀZ‚†Àpˆ±ÀœˆºÀɈ¿ÀöˆÂÀˆÅÀ'ˆÆÀ=^ÀWˆÇÀpˆÈÀƒÜÀ¬UƒÝÀ½‚”À̈ÉÀíˆËÀˆÌÀ.ˆÍÀ#À@„ÀPˆÎ€â À¶ïÀ¼ÿÀÁ¡ÀÕ#À×rÀû À„À +éÀ tÀÀÎ  @Î##ˆÏ0#„$¿!#ƒâ$‡„ +$ˆÐˆÑ$ˆÒˆÓ$ˆÔˆÕ$‡ „/$ˆÖ„1$ˆ×ˆØ$ˆÙˆÚ$‡"‡#$‡!„3$ˆÛˆÜ$ˆÝˆÞ$ˆß„C$ˆàˆáÀ  @Î##ˆÏ)(#ƒ˜ '#&'#ƒ˜#ˆâ+'#‚X&'#ƒ˜*#ˆ#ˆâ"'#‚X&'#ƒ˜ #ã#‚y)(#‚j'#1&'#‚j#'# #¤'#ƒ˜"'# #¥ÀíˆÀ ^À-‚yÀPUÀ_¤À¬ÀɈâÀ  @Î##ˆÏ"'#‚e #ƒÎ"'#‚e #ƒ‡'#6#ˆã"'#‚e #ƒÎ'# #ˆä)(#ƒ¡'#6"'#ƒ¡ #ƒÎ"'#ƒ¡ #ƒ‡#ˆå)(#ƒ¡'# "'#ƒ¡ #‚ #ˆæ)(#ƒ¡(#…¥'#‚€&'#ƒ¡'#…¥#ˆç’#ˆç"'#6"'#ƒ¡"'#ƒ¡ #ˆè"'# "'#ƒ¡ #ƒÝ"'#6"'#‚¨ #ˆé²#ˆç#…§0#ˆç#‚Q"'#‚€&'#‚¨'#‚¨ #20#ˆç#…ƒ"'#‚€&'#ƒ¡'#…¥ #20#ˆç#…¨"'#‚X #…‹"'#ƒ¡"'#‚¨ #‚ #‚¦"'#…¥"'#‚¨ #‚ #J 0#ˆç#…©"'#‚X&'#ƒ¡ #…ª"'#‚X&'#…¥ #…« +0#ˆç#…®"'#‚X&'#…¯&'#ƒ¡'#…¥ #…°#$„ „ À±^À(…§À8‚QÀb…ƒÀŒ…¨Àð…©À*…®À²ÀψãÀþˆäÀ ˆåÀVˆæÀˆçÀj  @Î##ˆÏ)(#ƒ˜'#…f&'#ƒ˜#ˆê’#ˆê"'#6"'#ƒ˜"'#ƒ˜ #ˆè"'# "'#ƒ˜ #ƒÝ"'#6"'#‚¨ #ˆé²#ˆê#…§0#ˆê#‚Q"'#‚X&'#‚¨ #`0#ˆê#…ƒ"'#‚X&'#ƒ˜ #`#…Q'#…R&'#ƒ˜À +^À…§À‘‚QÀµ…ƒÀÙU…QÀÇÀäˆêÀò  @Î##ˆÏ)(#ƒ˜'#‚X&'#ƒ˜#ˆë#‚y)(#‚j'#‚X&'#‚j#‚å)(#‚Z'#‚X&'#‚Z'#‚Z"'#ƒ˜ #‚ #…T#…U'#‚X&'#ƒ˜'#6"'#ƒ˜ #‚ #…T#…W)(#‚Z'#‚X&'#‚Z#…X)(#‚Z'#‚X&'#‚Z'#‚X&'#‚Z"'#ƒ˜ #‚ #…T#…S'#‚X&'#ƒ˜"'#‚X&'#ƒ˜ #2#…Y'#6"'#‚e #‚#…Z'#I'#I"'#ƒ˜ #‚ #…T#…['#ƒ˜'#ƒ˜"'#ƒ˜ #J"'#ƒ˜ #‚ #…\ #…])(#‚Z'#‚Z"'#‚Z #…^'#‚Z"'#‚Z #…_"'#ƒ˜ #‚ #…\ +#…`'#6'#6"'#ƒ˜ #‚ #…T #…a'#á"'#á #ƒ$ƒ^ #…b'#6'#6"'#ƒ˜ #‚ #…V #…c'#1&'#ƒ˜"'#6 #…d#…e'#…f&'#ƒ˜#'# #…g'#6#…h'#6#…i'#‚X&'#ƒ˜"'# #‚%#…j'#‚X&'#ƒ˜'#6"'#ƒ˜ #J #…V#…k'#‚X&'#ƒ˜"'# #‚%#…l'#‚X&'#ƒ˜'#6"'#ƒ˜ #J #…V#…m'#ƒ˜#…n'#ƒ˜#ƒ¹'#ƒ˜#…o'#ƒ˜'#6"'#ƒ˜ #J #…V"'#ƒ˜ #…p#…q'#ƒ˜'#6"'#ƒ˜ #J #…V"'#ƒ˜ #…p#…r'#ƒ˜'#6"'#ƒ˜ #‚ #…V"'#ƒ˜ #…p#…s'#ƒ˜"'# #¥#‚”'#áÀh‚yÀŒ‚åÀÎ…UÀ…WÀ+…XÀu…SÀ¥…YÀÅ…ZÀõ…[À3…]À‡…`À·…aÀß…bÀ…cÀ;…eÀWUÀfU…gÀvU…hÀ†…iÀ®…jÀæ…kÀ…lÀFU…mÀWU…nÀhUƒ¹Ày…oÀÀ…qÀ…rÀO…sÀo‚”)(#ƒ˜ '#‚X&'#ƒ˜#ˆ  +#ˆ  @#ˆì'#á"'#‚X #…‹"'#á #ˆí$ˆîˆï"'#á #ˆð$ˆñˆò!@#ˆó'#á"'#‚X #…‹"'#á #ˆí$ˆîˆï"'#á #ˆð$ˆñˆò"Àz^À‡ˆìÀÒˆó%+'#1&'#‚e*#ˆô#"'#‚e #‚c'#6#ˆõ$"'#‚X&'#‚e #…‹"'#1&'#á #ˆö'#I#ˆ÷%À%ÀBˆëÀƒÀUˆ ÀÀ2%ˆôÀOˆõÀqˆ÷  @Î##ˆÏ)(#ƒ˜#ˆø @+'# *#ˆù@+'# *#ˆú@+'# *#ˆû+'#…R&'#ƒ˜*#ˆg+'# *#‚"#ˆø #ˆg#ˆü'#6#ƒ>'#ƒ˜#ˆý'#I ÀˆùÀ*ˆúÀAˆûÀXˆgÀv‚"À‹^À¡UˆüÀ±ƒ>ÀňýÀàÀýˆøÀØ  @Î##ˆÏ)(#ƒ¡(#…¥'#‚€&'#ƒ¡'#…¥#…¦’#…¦"'#6"'#ƒ¡"'#ƒ¡ #ˆè"'# "'#ƒ¡ #ƒÝ"'#6"'#‚¨ #ˆé²#…¦#…§0#…¦#‚Q"'#‚€&'#‚¨'#‚¨ #20#…¦#…ƒ"'#‚€&'#ƒ¡'#…¥ #20#…¦#…¨"'#‚X #…‹"'#ƒ¡"'#‚¨ #‚ #‚¦"'#…¥"'#‚¨ #‚ #J0#…¦#…©"'#‚X&'#ƒ¡ #…ª"'#‚X&'#…¥ #…«0#…¦#…®"'#‚X&'#…¯&'#ƒ¡'#…¥ #…°#$„ „À {^À ò…§À!‚QÀ!,…ƒÀ!V…¨À!º…©À!ô…®À ,À I…¦À"4  @Î##ˆÏ)(#ƒ˜'#…f&'#ƒ˜#…ç’#…ç"'#6"'#ƒ˜"'#ƒ˜ #ˆè"'# "'#ƒ˜ #ƒÝ"'#6"'#‚¨ #ˆé²#…ç#…§0#…ç#‚Q"'#‚X&'#‚¨ #`0#…ç#…ƒ"'#‚X&'#ƒ˜ #`#…Z'#I'#I"'#ƒ˜ #‚ #…»#…Q'#…R&'#ƒ˜À"¸^À#/…§À#?‚QÀ#c…ƒÀ#‡…ZÀ#·U…QÀ"uÀ"’…çÀ#Ð  @Î##ˆÏ)(#ƒ˜'#„&'#ƒ˜ '#‚X&'#ƒ˜#„+'# *#ˆþ+'# *#ˆ2+'#ƒ˜*#‚n#„#ˆM'#I"'#ƒ˜ #ˆÿ#‚'#I"'#ƒ˜ #ˆÿ#…Š'#I"'#‚X&'#ƒ˜ #…°#…—'#6"'#ƒ˜ #ˆÿ#…Y'#6"'#‚e #ˆÿ #…Q'#…R&'#ƒ˜ +#'# #…“'#I #…m'#ƒ˜ #…n'#ƒ˜#ƒ¹'#ƒ˜#…Z'#I'#I"'#ƒ˜ #ˆÿ #…»#…g'#6#‰'#I"'#ƒ˜ #ˆÿ"'#ƒ˜ #‰"'#6!#‰#‰'#I"'#ƒ˜ #ˆÿÀ$ZˆþÀ$oˆ2À$„‚nÀ$š^À$§ˆMÀ$Ç‚À$ç…ŠÀ%…—À%/…YÀ%OU…QÀ%hUÀ%w…“À%ŠU…mÀ%›U…nÀ%¬Uƒ¹À%½…ZÀ%íU…gÀ%ý‰À&9‰)(#ƒ˜'#„&'#ƒ˜'#…R&'#ƒ˜#ˆ¨+'#„&'#ƒ˜*#£+'# *#ˆþ+'#ƒ˜*#ˆa+'#ƒ˜*#ˆ¥+'#6*#‰#ˆ¨"'#„&'#ƒ˜ #¨#…{'#ƒ˜#…z'#6À'£À'2ˆþÀ'GˆaÀ']ˆ¥À's‰À'ˆ^À'ªU…{À'»…z)(#ƒ˜'#„&'#ƒ˜#„ +'#„&'#ƒ˜*#£+'#ƒ˜*#ˆ¥+'#ƒ˜*#ˆ¦ #¨'#„&'#ƒ˜!#ˆ§'#I"#ƒ>'#ƒ˜##‰'#ƒ˜$#‰'#I"'#ƒ˜ #ˆÿ%#‰'#I"'#ƒ˜ #ˆÿ& À(/£À(Mˆ¥À(cˆ¦À(yU¨À(’ˆ§À(¥Uƒ>À(¶U‰À(ljÀ(ç‰À$ +À$'„À&YÀ&àˆ¨À'ÎÀ( „À)  @Î##ˆÏ)(#ƒ˜ '#‚e-'#ˆ=&'#ƒ˜#ˆ‘@#‰'#á"'#1 #¨À)º‰)(#ƒ˜'#1&'#ƒ˜#ˆ==#…Q'#…R&'#ƒ˜#…s'#ƒ˜"'# #¥#…S'#‚X&'#ƒ˜"'#‚X&'#ƒ˜ #2#…Z'#I'#I"'#ƒ˜ #‚ #…»#…g'#6#<$ƒ²ƒ³#…h'#6#…m'#ƒ˜  #…m'#I"'#ƒ˜ #J +#…n'#ƒ˜  #…n'#I"'#ƒ˜ #J #ƒ¹'#ƒ˜ #…Y'#6"'#‚e #‚#…`'#6'#6"'#ƒ˜ #‚ #…V#…b'#6'#6"'#ƒ˜ #‚ #…V#…o'#ƒ˜'#6"'#ƒ˜ #‚ #…V"'#ƒ˜ #…p#…q'#ƒ˜'#6"'#ƒ˜ #‚ #…V"'#ƒ˜ #…p#…r'#ƒ˜'#6"'#ƒ˜ #‚ #…V"'#ƒ˜ #…p#…a'#á"'#á #ƒ$ƒ^#…U'#‚X&'#ƒ˜'#6"'#ƒ˜ #‚ #…V#…W)(#‚Z'#‚X&'#‚Z#‚å)(#‚Z'#‚X&'#‚Z'#‚Z"'#ƒ˜ #‚ #…T#…X)(#‚Z'#‚X&'#‚Z'#‚X&'#‚Z"'#ƒ˜ #‚ #…T#…['#ƒ˜'#ƒ˜"'#ƒ˜ #…_"'#ƒ˜ #‚ #…\#…])(#‚Z'#‚Z"'#‚Z #…^'#‚Z"'#‚Z #…_"'#ƒ˜ #‚ #…\#…k'#‚X&'#ƒ˜"'# #‚%#…l'#‚X&'#ƒ˜'#6"'#ƒ˜ #‚ #…V#…i'#‚X&'#ƒ˜"'# #‚%#…j'#‚X&'#ƒ˜'#6"'#ƒ˜ #‚ #…V#…c'#1&'#ƒ˜"'#6 #…d#…e'#…f&'#ƒ˜ #‚'#I"'#ƒ˜ #‚!#…Š'#I"'#‚X&'#ƒ˜ #…‹"#…—'#6"'#‚e #‚##‰ '#I"'# #B"'# #C$#…š'#I'#6"'#ƒ˜ #‚ #…V%#…›'#I'#6"'#ƒ˜ #‚ #…V&#‰ +'#I'#6"'#ƒ˜ #‚ #…V"'#6 #‰ '#…“'#I(#‚y)(#‚j'#1&'#‚j)#…™'#ƒ˜*#…'#I"'# "'#ƒ˜ #ƒÎ"'#ƒ˜ #ƒ‡ #„‹+@#‰ '# "'#‚¨ #ƒÎ"'#‚¨ #ƒ‡,#'#I"'#ƒâ #…Ž-#…¤'#‚€&'# '#ƒ˜.#0'#1&'#ƒ˜"'#1&'#ƒ˜ #2/#a'#1&'#ƒ˜"'# #B"'# #C0#…œ'#‚X&'#ƒ˜"'# #B"'# #C1#…Ÿ'#I"'# #B"'# #C2#… '#I"'# #B"'# #C"'#ƒ˜ #…€3#…'#I"'# #B"'# #C"'#‚X&'#ƒ˜ #…‹"'# #…ž4#…¢'#I"'# #B"'# #C"'#‚X&'#ƒ˜ #‰ 5#…'# "'#‚e #‚"'# #B6#…'# '#6"'#ƒ˜ #‚ #…V"'# #B7#…’'# "'#‚e #‚"'# #B8#…‘'# '#6"'#ƒ˜ #‚ #…V"'# #B9#…”'#I"'# #¥"'#ƒ˜ #‚:#…˜'#ƒ˜"'# #¥;#…•'#I"'# #¥"'#‚X&'#ƒ˜ #…‹<#…–'#I"'# #¥"'#‚X&'#ƒ˜ #…‹=#…Œ'#‚X&'#ƒ˜>#‚”'#á?=À*U…QÀ* …sÀ*@…SÀ*p…ZÀ* U…gÀ*½U…hÀ*ÍU…mÀ*ÞV…mÀ*ýU…nÀ+V…nÀ+-Uƒ¹À+>…YÀ+^…`À+Ž…bÀ+¾…oÀ,…qÀ,N…rÀ,–…aÀ,¾…UÀ,÷…WÀ-‚åÀ-]…XÀ-§…[À-æ…]À.:…kÀ.b…lÀ.›…iÀ.Ã…jÀ.ü…cÀ/(…eÀ/D‚À/d…ŠÀ/Œ…—À/¬‰ À/Õ…šÀ0…›À05‰ +À0q…“À0„‚yÀ0§…™À0»…À0þ‰ À1+À1N…¤À1o0À1œaÀ1Ï…œÀ2…ŸÀ2*… À2c…À2²…¢À2ð…À3 …À3`…’À3Ž…‘À3Ì…”À3ø…˜À4…•À4L…–À4€U…ŒÀ4™‚”À)pÀ)ˆ‘À)ÚÀ)âˆ=À4­  @Î##ˆÏ)(#ƒ¡(#…¥ '#‰&'#ƒ¡'#…¥#ˆH@#‰'#á"'#‚€&'#‚e'#‚e #‰@#…w'#‚e"'#‚e #f@#‰'#I"'#‚€&'#‚e'#‚e #‚å"'#‚X&'#‚e #…‹"'#‚e"'#‚e #‚ #‚¦"'#‚e"'#‚e #‚ #J@#‰'#I"'#‚€&'#‚e'#‚e #‚å"'#‚X&'#‚e #…ª"'#‚X&'#‚e #…«À6À‰À6ï…wÀ7‰À7“‰)(#ƒ¡(#…¥'#‚€&'#ƒ¡'#…¥#‰#…ª'#‚X&'#ƒ¡#¤'#…¥"'#‚e #‚¦#…5"'#ƒ¡ #‚¦"'#…¥ #J#…—'#…¥"'#‚e #‚¦ #…“'#I +#‚y)(#…±(#…²'#‚€&'#…±'#…² #…Z'#I'#I"'#ƒ¡ #‚¦"'#…¥ #J #…» #…Š'#I"'#‚€&'#ƒ¡'#…¥ #2 #…³'#6"'#‚e #J#…º'#…¥"'#ƒ¡ #‚¦'#…¥ #…¸#…·'#…¥"'#ƒ¡ #‚¦'#…¥"'#…¥ #J #…·"'#…¥ #…¸#…¹'#I'#…¥"'#ƒ¡ #‚¦"'#…¥ #J #…·#…°'#‚X&'#…¯&'#ƒ¡'#…¥#‚å)(#…¬(#…­'#‚€&'#…¬'#…­'#…¯&'#…¬'#…­"'#ƒ¡ #‚¦"'#…¥ #J #‰#…µ'#I"'#‚X&'#…¯&'#ƒ¡'#…¥ #…¶#…š'#I'#6"'#ƒ¡ #‚¦"'#…¥ #J #…V#…´'#6"'#‚e #‚¦#'# #…g'#6#…h'#6#…«'#‚X&'#…¥#‚”'#áÀ8:U…ªÀ8S¤À8t…5À8›…—À8¼…“À8Ï‚yÀ8ÿ…ZÀ9;…ŠÀ9h…³À9‡…ºÀ9¹…·À:…¹À:KU…°À:r‚åÀ:Ú…µÀ;…šÀ;L…´À;lUÀ;{U…gÀ;‹U…hÀ;›U…«À;´‚”,)(#ƒ¡(#…¥'#ˆH&'#ƒ¡'#…¥-'#‰&'#ƒ¡'#…¥#ˆ•)(#ƒ¡(#…¥ '#…|&'#…¥#‰ +'#‚€&'#ƒ¡'#…¥*#‰#‰ #‰#'# #…g'#6!#…h'#6"#…m'#…¥##ƒ¹'#…¥$#…n'#…¥%#…Q'#…R&'#…¥& À<ωÀ<ó^À= UÀ=U…gÀ=(U…hÀ=8U…mÀ=IUƒ¹À=ZU…nÀ=kU…Q)(#ƒ¡(#…¥'#…R&'#…¥#‰'+'#…R&'#ƒ¡*#‰(+'#‚€&'#ƒ¡'#…¥*#‰)+'#…¥*#ˆa*#‰"'#‚€&'#ƒ¡'#…¥ #‚å+#…z'#6,#…{'#…¥-À=ï‰À> ‰À>1ˆaÀ>G^À>o…zÀ>‚U…{)(#ƒ¡(#…¥'#‚€&'#ƒ¡'#…¥#‰. #…5'#I"'#ƒ¡ #‚¦"'#…¥ #J/#…Š'#I"'#‚€&'#ƒ¡'#…¥ #20#…µ'#I"'#‚X&'#…¯&'#ƒ¡'#…¥ #…°1#…“'#I2#…—'#…¥"'#‚e #‚¦3#…š'#I'#6"'#ƒ¡ #‚¦"'#…¥ #J #…V4#…º'#…¥"'#ƒ¡ #‚¦'#…¥ #…¸5#…·'#…¥"'#ƒ¡ #‚¦'#…¥"'#…¥ #J #…·"'#…¥ #…¸6#…¹'#I'#…¥"'#ƒ¡ #‚¦"'#…¥ #J #…·7 À>ò…5À?…ŠÀ?K…µÀ?…“À?”…—À?µ…šÀ?ñ…ºÀ@#…·À@x…¹)(#ƒ¡(#…¥'#‚€&'#ƒ¡'#…¥#‰8+'#‚€&'#ƒ¡'#…¥*#‰9 #‰"'#‚€&'#ƒ¡'#…¥ #‚å2#‰#‚å:#‚y)(#…±(#…²'#‚€&'#…±'#…²;#¤'#…¥"'#‚e #‚¦<#…5'#I"'#ƒ¡ #‚¦"'#…¥ #J=#…Š'#I"'#‚€&'#ƒ¡'#…¥ #2>#…“'#I?#…º'#…¥"'#ƒ¡ #‚¦'#…¥ #…¸@#…´'#6"'#‚e #‚¦A#…³'#6"'#‚e #JB#…Z'#I'#I"'#ƒ¡ #‚¦"'#…¥ #J #…»C#…g'#6D#…h'#6E#'# F#…ª'#‚X&'#ƒ¡G#…—'#…¥"'#‚e #‚¦H#‚”'#áI#…«'#‚X&'#…¥J#…°'#‚X&'#…¯&'#ƒ¡'#…¥K#…µ'#I"'#‚X&'#…¯&'#ƒ¡'#…¥ #…°L#‚å)(#…¬(#…­'#‚€&'#…¬'#…­'#…¯&'#…¬'#…­"'#ƒ¡ #‚¦"'#…¥ #J #‰M#…·'#…¥"'#ƒ¡ #‚¦'#…¥"'#…¥ #J #…·"'#…¥ #…¸N#…¹'#I'#…¥"'#ƒ¡ #‚¦"'#…¥ #J #…·O#…š'#I'#6"'#ƒ¡ #‚¦"'#…¥ #J #…VPÀA'‰ÀAK^ÀA{‚yÀA«¤ÀAÌ…5ÀAø…ŠÀB%…“ÀB8…ºÀBj…´ÀBŠ…³ÀB©…ZÀBåU…gÀBõU…hÀCUÀCU…ªÀC-…—ÀCN‚”ÀCbU…«ÀC{U…°ÀC¢…µÀCØ‚åÀD@…·ÀD•…¹ÀDÒ…š)(#ƒ¡(#…¥ '#‰&'#ƒ¡'#…¥-'#‰&'#ƒ¡'#…¥#‰Q#‰"'#‚€&'#ƒ¡'#…¥ #‚åR#‚y)(#…±(#…²'#‚€&'#…±'#…²SÀEý^ÀF%‚yÀ6rÀ6ˆHÀ7ëÀ8‰À;ÈÀ“À>À‰À@µÀ@õ‰ÀEÀE¶‰ÀFU  @Î##ˆÏ)(#ƒ˜'#…|&'#ƒ˜#ˆJ#ˆJ'#‰&'#ƒ˜6#ˆJ#‚Q"'#‚X #`'#‰&'#ƒ˜#‚Q6#ˆJ#…ƒ"'#‚X&'#ƒ˜ #`'#‰&'#ƒ˜#…ƒ@#‚t)(#‚](#‚Z'#ˆJ&'#‚Z"'#ˆJ&'#‚] #ã#‚y)(#‚j'#ˆJ&'#‚j#ˆL'#ƒ˜#…™'#ƒ˜#ˆM'#I"'#ƒ˜ #J#ˆN'#I"'#ƒ˜ #J #‚'#I"'#ƒ˜ #J +#…—'#6"'#‚e #J #…Š'#I"'#‚X&'#ƒ˜ #…‹ #…š'#I'#6"'#ƒ˜ #‚ #…V #…›'#I'#6"'#ƒ˜ #‚ #…V#…“'#IÀFÿ^ÀG‚QÀGK…ƒÀG‚‚tÀGÁ‚yÀGåˆLÀGù…™ÀH ˆMÀH,ˆNÀHK‚ÀHj…—ÀH‰…ŠÀH±…šÀHá…›ÀI…“)(#‰'#‰&'#‰#‰+'#‰*#‰+'#‰*#‰#‰ '#I"'#‰ #‰"'#‰ #ƒ>#‰'#IÀI±‰ÀIljÀI݉ ÀJ +‰)(#ƒ˜ '#‰&'#‰!&'#ƒ˜#‰! +'#ƒ˜*#‰"#‚'#ƒ˜ #‚"'#ƒ˜ #‚#‰! #‰"#‰#'#I"'#ƒ˜ #ƒÆ#‰$'#I"'#ƒ˜ #ƒÆ#…—'#ƒ˜#‰%'#‰!&'#ƒ˜#‰&'#‰!&'#ƒ˜ ÀJi‰"ÀJU‚ÀJV‚ÀJ«^ÀJÁ‰#ÀJá‰$ÀK…—ÀK‰%ÀK1‰&)(#ƒ˜ '#‰!&'#ƒ˜#‰' +'#‰(&'#ƒ˜*#‰) #‰'"'#ƒ˜ #‚ #‰)!#‰*'#‰!&'#ƒ˜"#‰+'#I"'#ƒ˜ #ƒÆ##‰,'#I"'#ƒ˜ #ƒÆ$#‰-'#ƒ˜%#‰"'#ƒ˜&#‰&'#‰!&'#ƒ˜'#‰%'#‰!&'#ƒ˜( ÀK²‰)ÀKÐ^ÀKó‰*ÀL‰+ÀL/‰,ÀLO‰-ÀLcU‰"ÀLt‰&ÀL‰%)(#ƒ˜ '#‰'&'#ƒ˜#‰.)#‰."'#ƒ˜ #‚"'#‰(&'#ƒ˜ #‰/*#‰#'#I"'#ƒ˜ #ƒÆ+#‰$'#I"'#ƒ˜ #ƒÆ,#‰-'#ƒ˜-#…—'#ƒ˜.#‰*'#‰.&'#ƒ˜/ÀM^ÀM@‰#ÀM`‰$ÀM€‰-ÀM”…—ÀM¨‰*)(#ƒ˜ '#‰'&'#ƒ˜#‰00#‰0"'#‰(&'#ƒ˜ #‰/1#‰*'#‰!&'#ƒ˜2#‰-'#ƒ˜3#‰"'#ƒ˜4ÀN^ÀN5‰*ÀNQ‰-ÀNeU‰")(#ƒ˜ '#‚X&'#ƒ˜'#ˆJ&'#ƒ˜#‰(5+'#‰0&'#ƒ˜*#‰16+'# *#‰27#‰(80#‰(#‚Q"'#‚X&'#‚¨ #`90#‰(#…ƒ"'#‚X&'#ƒ˜ #`:#‚y)(#‚j'#ˆJ&'#‚j;#'# <#ˆN'#I"'#ƒ˜ #J=#ˆM'#I"'#ƒ˜ #J>#‚'#I"'#ƒ˜ #J?#…Š'#I"'#‚X&'#ƒ˜ #…‹@#…™'#ƒ˜A#ˆL'#ƒ˜B#…—'#6"'#‚e #‚cC#‰ +'#I'#6"'#ƒ˜ #‚ #…V"'#6 #‰3D#…š'#I'#6"'#ƒ˜ #‚ #…VE#…›'#I'#6"'#ƒ˜ #‚ #…VF#…m'#ƒ˜G#…n'#ƒ˜H#ƒ¹'#ƒ˜I#‰4'#‰!&'#ƒ˜J#‰5'#‰!&'#ƒ˜K#…g'#6L#…“'#IM#‰6'#I'#I"'#‰!&'#ƒ˜ #‚ #…»N#…Q'#‰7&'#ƒ˜O#‚”'#áPÀNlj1ÀNå‰2ÀNú^ÀO‚QÀO+…ƒÀOO‚yÀOsUÀO‚ˆNÀO¡ˆMÀOÀ‚ÀOß…ŠÀP…™ÀPˆLÀP/…—ÀPO‰ +ÀP‹…šÀP»…›ÀPëU…mÀPüU…nÀQ Uƒ¹ÀQ‰4ÀQ:‰5ÀQVU…gÀQf…“ÀQy‰6ÀQ±U…QÀQÊ‚”)(#ƒ˜'#…R&'#ƒ˜#‰7Q+'#‰0&'#ƒ˜*#‰1R+'#‰!&'#ƒ˜*#‰8S+'#ƒ˜*#ˆaT#‰7"'#‰0&'#ƒ˜ #‰9U#…z'#6V#…{'#ƒ˜WÀR‰1ÀRà‰8ÀRþˆaÀS^ÀS6…zÀSIU…{)(#ƒ˜ '#…t&'#ƒ˜'#ˆJ&'#ƒ˜#‰X'@+'# *#‰:Y+'#1&'#ƒ˜*#‰;Z+'# *#‰<[+'# *#‰=\+'# *#ˆþ]#‰"'# #‰>^@#‰?'# "'# #‰>_0#‰#‚Q"'#‚X&'#‚¨ #``0#‰#…ƒ"'#‚X&'#ƒ˜ #`a#‚y)(#‚j'#ˆJ&'#‚jb#…Q'#…R&'#ƒ˜c#…Z'#I'#I"'#ƒ˜ #‚ #…Td#…g'#6e#'# f#…m'#ƒ˜g#…n'#ƒ˜h#ƒ¹'#ƒ˜i#…s'#ƒ˜"'# #¥j#…c'#1&'#ƒ˜"'#6 #…dk#‚'#I"'#ƒ˜ #Jl#…Š'#I"'#‚X&'#ƒ˜ #`m#…—'#6"'#‚e #Jn#‰@'#I'#6"'#ƒ˜ #‚ #…V"'#6 #‰3o#…š'#I'#6"'#ƒ˜ #‚ #…Vp#…›'#I'#6"'#ƒ˜ #‚ #…Vq#…“'#Ir#‚”'#ás#ˆN'#I"'#ƒ˜ #Jt#ˆM'#I"'#ƒ˜ #Ju#ˆL'#ƒ˜v#…™'#ƒ˜w@#‰A'#6"'# #‚Üx@#‰B'# "'# #‚Üy#‰C'#I"'# #‰Dz#‚4'#I"'#ƒ˜ #‚{#‰-'# "'# #…2|#ˆ3'#I}#‰E'# "'#1&'#ƒ˜ #…†~#‰F'#I"'# #‰G'ÀS¼‰:ÀSÓ‰;ÀSð‰<ÀT‰=ÀTˆþÀT/^ÀTK‰?ÀTj‚QÀTŽ…ƒÀT²‚yÀTÖU…QÀTï…ZÀUU…gÀU/UÀU>U…mÀUOU…nÀU`Uƒ¹ÀUq…sÀU‘…cÀU½‚ÀUÜ…ŠÀV…—ÀV"‰@ÀV^…šÀVŽ…›ÀV¾…“ÀVÑ‚”ÀVåˆNÀWˆMÀW#ˆLÀW7…™ÀWK‰AÀWj‰BÀW‰‰CÀW¨‚4ÀWȉ-ÀWçˆ3ÀWú‰EÀX!‰F)(#ƒ˜'#…R&'#ƒ˜#‰H€€+'#‰&'#ƒ˜*#‰)€+'# *#‰I€‚+'# *#ˆþ€ƒ+'# *#† €„+'#ƒ˜*#ˆa€…#‰H"'#‰&'#ƒ˜ #‰/€†#…{'#ƒ˜€‡#…z'#6€ˆÀY|‰)ÀY›‰IÀY±ˆþÀYdž ÀY݈aÀYô^ÀZU…{ÀZ)…zÀF¼ +ÀFÙˆJÀI$ÀI‰ÀJÀJ<‰!ÀKMÀK‰'ÀL¬ÀLì‰.ÀMÄÀMî‰0ÀNvÀN’‰(ÀQÞÀRœ‰7ÀSZÀS‡‰ÀX@ÀYU‰HÀZ=  @Î##ˆÏ)(#ƒ˜'#…f&'#ƒ˜#‰J,#‚'#6"'#ƒ˜ #J#…Y'#6"'#‚e #‚#…é'#ƒ˜"'#‚e #‚#…—'#6"'#‚e #J#…Q'#…R&'#ƒ˜#…e'#…f&'#ƒ˜#'# #…g'#6#…h'#6 #‚y)(#‚j'#…f&'#‚j +#…S'#‚X&'#ƒ˜"'#‚X&'#ƒ˜ #2 #…W)(#‚Z'#‚X&'#‚Z #…“'#I #…Š'#I"'#‚X&'#ƒ˜ #`#…ê'#I"'#‚X&'#‚e #`#…ë'#I"'#‚X&'#‚e #`#…š'#I'#6"'#ƒ˜ #‚ #…V#…›'#I'#6"'#ƒ˜ #‚ #…V#…ì'#6"'#‚X&'#‚e #2#…í'#…f&'#ƒ˜"'#…f&'#ƒ˜ #2#ƒï'#…f&'#ƒ˜"'#…f&'#‚e #2#„Ã'#…f&'#ƒ˜"'#…f&'#‚e #2#…c'#1&'#ƒ˜"'#6 #…d#‚å)(#‚Z'#‚X&'#‚Z'#‚Z"'#ƒ˜ #‚ #…T#ƒ¹'#ƒ˜#‚”'#á#…U'#‚X&'#ƒ˜'#6"'#ƒ˜ #‚ #…T#…X)(#‚Z'#‚X&'#‚Z'#‚X&'#‚Z"'#ƒ˜ #‚ #…T#…Z'#I'#I"'#ƒ˜ #‚ #…T#…['#ƒ˜'#ƒ˜"'#ƒ˜ #J"'#ƒ˜ #‚ #…\#…])(#‚Z'#‚Z"'#‚Z #…^'#‚Z"'#‚Z #…_"'#ƒ˜ #‚ #…\#…`'#6'#6"'#ƒ˜ #‚ #…T #…a'#á"'#á #ƒ$ƒ^!#…b'#6'#6"'#ƒ˜ #‚ #…V"#…i'#‚X&'#ƒ˜"'# #„»##…j'#‚X&'#ƒ˜'#6"'#ƒ˜ #J #…V$#…k'#‚X&'#ƒ˜"'# #„»%#…l'#‚X&'#ƒ˜'#6"'#ƒ˜ #J #…V&#…m'#ƒ˜'#…n'#ƒ˜(#…o'#ƒ˜'#6"'#ƒ˜ #J #…V"'#ƒ˜ #…p)#…q'#ƒ˜'#6"'#ƒ˜ #J #…V"'#ƒ˜ #…p*#…r'#ƒ˜'#6"'#ƒ˜ #J #…V"'#ƒ˜ #…p+#…s'#ƒ˜"'# #¥,,À[0‚À[O…YÀ[o…éÀ[…—À[¯U…QÀ[È…eÀ[äUÀ[óU…gÀ\U…hÀ\‚yÀ\7…SÀ\g…WÀ\‹…“À\ž…ŠÀ\Å…êÀ\ì…ëÀ]…šÀ]C…›À]s…ìÀ]š…íÀ]ʃïÀ]ú„ÃÀ^*…cÀ^V‚åÀ^˜Uƒ¹À^©‚”À^½…UÀ^ö…XÀ_@…ZÀ_p…[À_®…]À`…`À`2…aÀ`Z…bÀ`Š…iÀ`²…jÀ`ê…kÀa…lÀaJU…mÀa[U…nÀal…oÀa³…qÀaú…rÀbA…s)(#ƒ˜-'#‰J&'#ƒ˜#‰K-@#‰L'#á"'#…f #‰M.Àc»‰L)(#ƒ˜-'#‰J&'#ƒ˜#‰N/ +#‰N0#‰O'#…f&'#ƒ˜1#‰P)(#‚j'#…f&'#‚j2#‚y)(#‚j'#…f&'#‚j3#„Ã'#…f&'#ƒ˜"'#…f&'#‚e #24#ƒï'#…f&'#ƒ˜"'#…f&'#‚e #25#…e'#…f&'#ƒ˜6Àd +^Àd‰OÀd3‰PÀdW‚yÀd{„ÃÀd«ƒïÀdÛ…e)(#ƒ˜'#…f&'#ƒ˜#‰Q7 @#‰R'#†ˆ8#‚'#6"'#ƒ˜ #J9#…“'#I:#…Š'#I"'#‚X&'#ƒ˜ #`;#…ê'#I"'#‚X&'#‚e #`<#…ë'#I"'#‚X&'#‚e #`=#…š'#I'#6"'#ƒ˜ #‚ #…V>#…›'#I'#6"'#ƒ˜ #‚ #…V?#…—'#6"'#‚e #J@ ÀeN‰RÀeb‚Àe…“Àe”…ŠÀe»…êÀeâ…ëÀf …šÀf9…›Àfi…—)(#ƒ˜ '#‰N&'#ƒ˜-'#‰Q&'#ƒ˜#‰SA+'#‚€&'#ƒ˜'#„`*#‰B +#‰S #‰C#‰O'#…f&'#ƒ˜D#‰P)(#‚j'#…f&'#‚jE#…Y'#6"'#‚e #‚F#…Q'#…R&'#ƒ˜G#'# H#…é'#ƒ˜"'#‚e #‚IÀfý‰Àg!^Àg7‰OÀgS‰PÀgw…YÀg—U…QÀg°UÀg¿…é)(#ƒ˜ '#‰K&'#ƒ˜-'#‰Q&'#ƒ˜#‰T#$„„J+'#…f&'#ƒ˜*#ˆK#‰T"'#…f&'#ƒ˜ #ãL#…Y'#6"'#‚e #‚M#…é'#ƒ˜"'#‚e #‚N#'# O#…Q'#…R&'#ƒ˜P#…e'#…f&'#ƒ˜QÀhZˆÀhx^Àhš…YÀhº…éÀhÛUÀhêU…QÀi…eÀZíÀ[ +‰JÀbaÀc•‰KÀcÜÀcä‰NÀd÷Àe(‰QÀfˆÀfȉSÀgàÀh‰TÀi  @Î##ˆÏ)(#‚Z'#6"'#‚Z #J#‰U)(#ƒ¡(#‰V'#‰W&'#ƒ¡'#‰V#‰W+'#ƒ¡*#‚¦+'#‰V*#‰X+'#‰V*#‰Y#‰W #‚¦Àj ‚¦Àj"‰XÀj8‰YÀjN^)(#ƒ¡ '#‰W&'#ƒ¡'#‰Z&'#ƒ¡#‰Z#‰Z"'#ƒ¡ #‚¦Àj¶^)(#ƒ¡(#…¥ '#‰W&'#ƒ¡'#‰[&'#ƒ¡'#…¥'#…¯&'#ƒ¡'#…¥#‰[+'#…¥*#J #‰["'#ƒ¡ #‚¦ #J +#‰\'#‰[&'#ƒ¡'#…¥"'#…¥ #J #‚”'#á Àk,JÀkA^Àkc‰\Àk‘‚”)(#ƒ¡(#‰V'#‰W&'#ƒ¡'#‰V#‰] #‰^'#‰V"#‰^"'#‰V #‰_+'# *#‰`+'# *#ˆþ+'# *#‰a#‰b'#„Š&'#ƒ¡#‰c'#‰U#‰d'# "'#ƒ¡ #‚¦#‰e'#‰V"'#‰V #ˆ¤#‰f'#‰V"'#‰V #ˆ¤#‰-'#‰V"'#ƒ¡ #‚¦#‰g'#I"'#‰V #ˆ¤"'# #‰h#‚n'#‰V#ˆ¡'#‰V#ˆ5'#I#‰i'#6"'#‚e #‚¦ÀkñU‰^ÀlV‰^Àl‰`Àl2ˆþÀlG‰aÀl\U‰bÀluU‰cÀl†‰dÀl¦‰eÀlljfÀlè‰-Àm ‰gÀm5U‚nÀmFUˆ¡ÀmWˆ5Àmj‰i"'#‚¨ #ƒÎ"'#‚¨ #ƒ‡'# #‰j)(#ƒ¡'#„Š&'#ƒ¡#‰k)(#ƒ¡(#…¥ '#‰]&'#ƒ¡'#‰[&'#ƒ¡'#…¥-'#‰&'#ƒ¡'#…¥#‰l +'#‰[&'#ƒ¡'#…¥*#‰^!+'#„Š&'#ƒ¡*#‰b"+'#‰U*#‰c##‰l"'# "'#ƒ¡ #‰m"'#ƒ¡ #‰n #„‹"'#6"'#‚¨ #‰o #ˆé$0#‰l#‚Q"'#‚€&'#‚¨'#‚¨ #2"'# "'#ƒ¡ #‰m"'#ƒ¡ #‰n #„‹"'#6"'#‚¨ #‰o #ˆé%0#‰l#…ƒ"'#‚€&'#ƒ¡'#…¥ #2"'# "'#ƒ¡ #‰m"'#ƒ¡ #‰n #„‹"'#6"'#‚¨ #‰o #ˆé&0#‰l#…¨"'#‚X #…‹"'#ƒ¡"'#‚¨ #‚ #‚¦"'#…¥"'#‚¨ #‚ #J"'# "'#ƒ¡ #‰m"'#ƒ¡ #‰n #„‹"'#6"'#‚¨ #‰o #ˆé'0#‰l#…©"'#‚X&'#ƒ¡ #…ª"'#‚X&'#…¥ #…«"'# "'#ƒ¡ #‰m"'#ƒ¡ #‰n #„‹"'#6"'#‚¨ #‰o #ˆé(#¤'#…¥"'#‚e #‚¦)#…—'#…¥"'#‚e #‚¦*#…5'#I"'#ƒ¡ #‚¦"'#…¥ #J+#…º'#…¥"'#ƒ¡ #‚¦'#…¥ #…¸,#…·'#…¥"'#ƒ¡ #‚¦'#…¥"'#…¥ #J #…·"'#…¥ #…¸-#…¹'#I'#…¥"'#ƒ¡ #‚¦"'#…¥ #J #…·.#…Š'#I"'#‚€&'#ƒ¡'#…¥ #2/#…g'#60#…h'#61#…Z'#I'#I"'#ƒ¡ #‚¦"'#…¥ #J #…T2#'# 3#…“'#I4#…´'#6"'#‚e #‚¦5#…³'#6"'#‚e #J6#…ª'#‚X&'#ƒ¡7#…«'#‚X&'#…¥8#…°'#‚X&'#…¯&'#ƒ¡'#…¥9#‰p'#ƒ¡:#‰q'#ƒ¡;#‰r'#ƒ¡"'#ƒ¡ #‚¦<#‰s'#ƒ¡"'#ƒ¡ #‚¦=Àn¨‰^Àn̉bÀnê‰cÀo^Ào`‚QÀoÝ…ƒÀpZ…¨Àq…©Àqž¤Àq¿…—Àqà…5Àr …ºÀr>…·Àr“…¹ÀrÐ…ŠÀrýU…gÀs U…hÀs…ZÀsYUÀsh…“Às{…´Às›…³ÀsºU…ªÀsÓU…«ÀsìU…°Àt‰pÀt'‰qÀt;‰rÀt\‰s)(#ƒ¡(#‰V'#‰W&'#ƒ¡'#‰V(#‚Z'#…R&'#‚Z#‰t> ++'#‰]&'#ƒ¡'#‰V*#‰u?+'#1&'#‰V*#‰v@+'# *#ˆþA+'# *#‰aB#‰t"'#‰]&'#ƒ¡'#‰V #‰wC#…{'#‚ZD#‰x'#I"'#ƒ¡ #‚¦E#‰y'#I"'#‰V #ˆ¤F#…z'#6G#‰z'#‚Z"'#‰V #ˆ¤H +Àu‰uÀu´‰vÀuшþÀuæ‰aÀuû^Àv#U…{Àv4‰xÀvT‰yÀvt…zÀv‡‰z)(#ƒ¡(#‰V'#‰W&'#ƒ¡'#‰V '#…|&'#ƒ¡#‰{I+'#‰]&'#ƒ¡'#‰V*#‰uJ#‰{ #‰uK#'# L#…g'#6M#…Q'#…R&'#ƒ¡N#…Y'#6"'#‚e #‚cO#…e'#…f&'#ƒ¡PÀw1‰uÀwU^ÀwkUÀwzU…gÀwŠU…QÀw£…YÀwÃ…e)(#ƒ¡(#…¥ '#…|&'#…¥#‰|Q+'#‰l&'#ƒ¡'#…¥*#‰R#‰| #‰S#'# T#…g'#6U#…Q'#…R&'#…¥VÀx;‰Àx_^ÀxuUÀx„U…gÀx”U…Q)(#ƒ¡(#…¥ '#…|&'#…¯&'#ƒ¡'#…¥#‰}W+'#‰l&'#ƒ¡'#…¥*#‰X#‰} #‰Y#'# Z#…g'#6[#…Q'#…R&'#…¯&'#ƒ¡'#…¥\Ày ‰Ày-^ÀyCUÀyRU…gÀybU…Q)(#ƒ¡(#‰V'#‰W&'#ƒ¡'#‰V '#‰t&'#ƒ¡'#‰V'#ƒ¡#‰~]#‰~"'#‰]&'#ƒ¡'#‰V #‚å^#‰z'#ƒ¡"'#‰V #ˆ¤_Ày÷^Àz‰z)(#ƒ¡(#…¥ '#‰t&'#ƒ¡'#‰[&'#ƒ¡'#…¥'#…¥#‰`#‰"'#‰l&'#ƒ¡'#…¥ #‚åa#‰z'#…¥"'#‰[&'#ƒ¡'#…¥ #ˆ¤bÀz“^Àz»‰z)(#ƒ¡(#…¥ '#‰t&'#ƒ¡'#‰[&'#ƒ¡'#…¥'#…¯&'#ƒ¡'#…¥#‰€c#‰€"'#‰l&'#ƒ¡'#…¥ #‰wd#‰z'#…¯&'#ƒ¡'#…¥"'#‰[&'#ƒ¡'#…¥ #ˆ¤e#‰\'#I"'#…¥ #JfÀ{K^À{s‰zÀ{°‰\)(#ƒ˜ '#‰]&'#ƒ˜'#‰Z&'#ƒ˜-'#ˆë&'#ƒ˜'#‰J&'#ƒ˜#‰g+'#‰Z&'#ƒ˜*#‰^h+'#„Š&'#ƒ˜*#‰bi+'#‰U*#‰cj#‰"'# "'#ƒ˜ #‰m"'#ƒ˜ #‰n #„‹"'#6"'#‚¨ #‰o #ˆék0#‰#‚Q"'#‚X #`"'# "'#ƒ˜ #‰m"'#ƒ˜ #‰n #„‹"'#6"'#‚¨ #‰o #ˆél0#‰#…ƒ"'#‚X&'#ƒ˜ #`"'# "'#ƒ˜ #‰m"'#ƒ˜ #‰n #„‹"'#6"'#‚¨ #‰o #ˆém#‰O)(#‚Z'#…f&'#‚Zn#‚y)(#‚j'#…f&'#‚jo#…Q'#…R&'#ƒ˜p#'# q#…g'#6r#…h'#6s#…m'#ƒ˜t#…n'#ƒ˜u#ƒ¹'#ƒ˜v#…Y'#6"'#‚e #‚w#‚'#6"'#ƒ˜ #‚x#‚4'#6"'#ƒ˜ #‚y#…—'#6"'#‚e #‚ z#…Š'#I"'#‚X&'#ƒ˜ #`{#…ê'#I"'#‚X&'#‚e #`|#…ë'#I"'#‚X&'#‚e #`}#…é'#ƒ˜"'#‚e #‚ ~#ƒï'#…f&'#ƒ˜"'#…f&'#‚e #2#„Ã'#…f&'#ƒ˜"'#…f&'#‚e #2€€#…í'#…f&'#ƒ˜"'#…f&'#ƒ˜ #2€#ˆE'#‰&'#ƒ˜€‚#‰‚)(#‰V'#‰W&'#ƒ˜'#‰V'#‰Z&'#ƒ˜"'#‰V #ˆ¤€ƒ#…“'#I€„#…e'#…f&'#ƒ˜€…#‚”'#ဆÀ|5‰^À|S‰bÀ|q‰cÀ|‡^À|ç‚QÀ}V…ƒÀ}͉OÀ}ñ‚yÀ~U…QÀ~.UÀ~=U…gÀ~MU…hÀ~]U…mÀ~nU…nÀ~Uƒ¹À~…YÀ~°‚À~Ђ4À~ð…—À…ŠÀ7…êÀ^…ëÀ……éÀ¦ƒïÀÖ„ÃÀ€…íÀ€8ˆEÀ€U‰‚À€›…“À€¯…eÀ€Ì‚”Ài—Ài´‰UÀi܉WÀjdÀjƒ‰ZÀjÐÀj׉[Àk¥ÀkÁ‰]ÀmŠÀmþ‰jÀn-‰kÀnS‰lÀt}ÀuJ‰tÀv¨Àvò‰{ÀwßÀx‰|Àx­ÀxЉ}Ày‰Ày¬‰~Àz@ÀzN‰ÀzêÀzø‰€À{ÏÀ{ä‰À€á‰ƒ¢À§À¢À›ÀÀ¯À À"eÀ#úÀ)JÀ6WÀFcÀZzÀiPÀ¼  @Î##‰„!#ˆç$„„! +#ˆ#ˆ*#½#ˆ‚#ˆ‹#‡1#ˆ©#ˆª##‡($$‰…‰†$‰‡‰ˆ$‰‰‰Š$‰‹‰Œ$‰‰Ž$‰‰$‰‘‰’$‰“‰”$‰•‰–$‰—‰˜$‰™‰š$‰›‰œ$‰‰žÀ‚¤  @Î##‰„'#‚š#‰Ÿ+'#‚e*#‚f+'#‚g*#‚h#‰Ÿ"'#‚e #‚f"'#‚g #‚h@#‰ '#‚g"'#‚e #‚f#‚”'#áÀƒ‹‚fÀƒ¡‚hÀƒ·^ÀƒÞ‰ Àƒÿ‚”"'#…6 #‰¡"'#‚e #‚f"'#‚g #‚h#‰¢ÀƒXÀƒu‰ŸÀ„À„8‰¢  @Î##‰„)(#‚Z '#‰£&'#‚Z#‰¤#‰¤"'#‰¥&'#‚Z #‰¦#ˆ'#6À„È^À„êUˆ)(#‚Z '#‰§&'#‚Z#‰¨@+'# *#‰©@+'# *#‰ª@+'# *#‰«+'# *#‰¬+'#‰¨&'#‚Z*#ˆ¥+'#‰¨&'#‚Z*#ˆ¦ #‰¨"'#‰¥&'#‚Z #‰¦'#I"'#‚Z #A #ˆ"'#…6 #„Ù'#I #ˆ"'#6 #ˆ +#‰­'#6"'# #‰® #‰¯'#I #‰°'#6 #‰±'#I#‰²'#6#‰³'#I#‰´'#IÀ…-‰©À…D‰ªÀ…[‰«À…r‰¬À…‡ˆ¥À…¥ˆ¦À…Ã^À†*‰­À†I‰¯À†\U‰°À†l‰±À†U‰²À†‰³À†¢‰´)(#‚Z'#‰µ&'#‚Z#‰¶-@+'# *#‰·@+'# *#‰©@+'# *#‰ª@+'# *#‰¸@+'# *#‰¹+'#I*#‰º+'#‰»&'#I*#‰¼+'# *#‚"+'#‰¨&'#‚Z*#‰½+'#‰¨&'#‚Z*#‰¾+'#‰¿&'#‚Z*#‰À+'#‰Á&'#I*#‰Â#‰¶ #‰º #‰¼#‰Ã'#I  #‰Ã'#I'#I #‰Ä!#‰Å'#I" #‰Å'#I'#I #‰Æ##ô'#ó&'#‚Z$#ñ'#‰Ç&'#‚Z%#‰È'#6&#ˆ''#6'#‰É'#6(#‰Ê'#6)#‰°'#6*#‰Ë'#6+#‰Ì'#6,#‰Í'#‰Á&'#I-#‰Î'#6.#‰Ï'#I"'#‰¨&'#‚Z #‰Ð/#‰Ñ'#I"'#‰¨&'#‚Z #‰Ð0#‰Ò'#‡&'#‚Z'#I"'#‚Z #A #ˆ"'#…6 #„Ù'#I #ˆ"'#6 #ˆ1#‰Ó'#‚~&'#I"'#‡&'#‚Z #‰Ô2#‰Õ'#I"'#‡&'#‚Z #‰Ð3#‰Ö'#I"'#‡&'#‚Z #‰Ð4#‰×'#‚š5#‚'#I"'#‚Z #A6#‚d'#I"'#‚e #‚f"'#‚g #‚h7#ù'#‚~8#‰Ø'#‚~&'#I9#‰Ù'#‚~"'#ó&'#‚Z #ô"'#6 #ˆ:#‚4'#I"'#‚Z #A;#‰Ú'#I"'#‚e #‚f"'#‚g #‚h<#‰Û'#I=#‰Ü'#I'#I"'#‰Ý&'#‚Z #‰Ð #…»>#‰Þ'#I?-À‡C‰·À‡Z‰©À‡q‰ªÀ‡ˆ‰¸À‡Ÿ‰¹À‡¶‰ºÀ‡Ò‰¼À‡ö‚"Àˆ ‰½Àˆ)‰¾ÀˆG‰ÀÀˆe‰ÂÀˆ‚^Àˆ¡U‰ÃÀˆ¸V‰ÃÀˆÛU‰ÅÀˆòV‰ÅÀ‰UôÀ‰.UñÀ‰GU‰ÈÀ‰WUˆ'À‰gU‰ÉÀ‰wU‰ÊÀ‰‡U‰°À‰—U‰ËÀ‰§U‰ÌÀ‰·‰ÍÀ‰ÒU‰ÎÀ‰â‰ÏÀŠ +‰ÑÀŠ2‰ÒÀŠ“‰ÓÀŠÃ‰ÕÀŠë‰ÖÀ‹‰×À‹'‚À‹F‚dÀ‹vùÀ‹ŠU‰ØÀ‹¢‰ÙÀ‹Ú‚4À‹ù‰ÚÀŒ&‰ÛÀŒ9‰ÜÀŒq‰Þ)(#‚Z '#‰¶&'#‚Z'#‰ß&'#‚Z#‰à@#‰à'#I #‰º'#I #‰¼A#‰Ì'#6B#‰×C#‰á'#I"'#‚Z #AD#‰â'#I"'#‚e #‚f"'#‚g #‚hE#‰ã'#IFÀŽ^ÀŽ-U‰ÌÀŽ=‰×ÀŽK‰áÀŽj‰âÀŽ—‰ã)(#‚Z '#‰¶&'#‚Z#‰äG#‰ä'#I #‰º'#I #‰¼H#‰á'#I"'#‚Z #AI#‰â'#I"'#‚e #‚f"'#‚g #‚hJ#‰ã'#IKÀŽù^À&‰áÀE‰âÀr‰ã)(#‚Z '#‰à&'#‚Z'#‰å&'#‚Z#‰æL +'#‰ç&'#‚Z*#‰èM#‰æ'#I #‰º'#I #‰¼N#‰é'#6O#‰ê'#I"'#‰ë #‰ìP#‚'#I"'#‚Z #AQ#‚d'#I"'#‚e #‚f"'#‚g #‚hR#‰í'#IS#ù'#‚~T#‰Þ'#IU ÀÖ‰èÀô^À!U‰éÀ1‰êÀQ‚Àp‚dÀ ‰íÀ³ùÀljÞÀ„†À„£‰¤À„úÀ…‰¨À†µÀ‡‰¶ÀŒ„ÀˉàÀŽªÀŽÔ‰äÀ…À¡‰æÀÚ  @Î##‰„#‰î#„V$‰ï‰ð+'#á*#‰ñ+'#á*#†k +#‰î #‰ñ #†k€‚#‰ò'#‚~&'#„`À‘š‰ñÀ‘°†kÀ‘Æ^À‘è‰ò'#…/#‰ó#‰ó"'#á #„W#‚”'#á+'#á*#‰ôÀ’9^À’S‚”À’g‰ôÀ‘aÀ‘~‰îÀ’À’#‰óÀ’}  @Î##‰„)(#‚Z#‰»#<$=> #‰»#8À’ì8)(#‚Z#‚~@+'#‰Á&'#„`*#‰õ@+'#‰Á&'#6*#‰ö#‚~'#‰»&'#‚Z #‰÷0#‚~#‰ø'#‰»&'#‚Z #‰÷0#‚~#‰ù'#‰»&'#‚Z #‰÷0#‚~#J"'#‰»&'#‚Z #J#<$=>#<$ƒ²ƒ³0#‚~#‚f"'#‚e #‚f"'#‚g #‚h 0#‚~#‰ú"'#„À #„Á'#‰»&'#‚Z #‰÷ +@#‰û)(#‚Z'#‚~&'#1&'#‚Z"'#‚X&'#‚~&'#‚Z #‰ü"'#6 #‰ý'#I"'#‚Z #‰þ #‰ÿ#<$…Å…Æ$…Ç2 @#…b)(#‚Z'#‚~&'#‚Z"'#‚X&'#‚~&'#‚Z #‰ü @#…Z)(#‚Z'#‚~"'#‚X&'#‚Z #`'#‰»"'#‚Z #‚ #…» @#Š'#6"'#‚e #8@#Š'#‚~'#‰»&'#6 #…»#Š)(#‚j'#‚~&'#‚j'#‰»&'#‚j"'#‚Z #J #Š"'#…6 #„Ù#Š'#‚~&'#‚Z"'#…6 #„Ù'#6"'#‚e #‚f #…V#Š'#‚~&'#‚Z'#‰»&'#I #…»#Š'#ó&'#‚Z#Š'#‚~&'#‚Z"'#„À #Š'#‰»&'#‚Z #Š À“‰õÀ“6‰öÀ“S^À“y‰øÀ“¢‰ùÀ“ËJÀ” ‚fÀ”6‰úÀ”o‰ûÀ”ù…bÀ•:…ZÀ•ˆŠÀ•§ŠÀ•ÓŠÀ–,ŠÀ–uŠÀ–©ŠÀ–ÅŠ)(#‚Z'#‚~&'#‚Z#„#$„„#„Ù)(#ƒ˜'#‚e'#‚~&'#‚Z'#‰»&'#‚Z"'#ƒ˜ #‚f"'#‚g #‚h #ˆ!'#6"'#ƒ˜ #‚f #…VÀ—¶„Ù'#…/#Š ++'#á*#„W+'#„À*#„Á#Š + #„W #„Á#‚”'#áÀ˜Q„WÀ˜g„ÁÀ˜}^À˜Ÿ‚”)(#‚Z#Š #Š 0#Š #‰ù#Š '#‚~&'#‚Z#Š '#I"'#‰»&'#‚Z #J #Š'#I"'#‚e #‚f"'#‚g #‚h!#Š'#6"À˜ç^À˜ô‰ùÀ™UŠ À™Š À™GŠÀ™wUŠ"'#‰Á #Š"'#‚e #‚f"'#‚g #‚h'#I#Š#"'#‰Á #Š"'#‚e #‚f"'#‚g #‚h'#I#Š$À’®À’ˉ»À’ûÀ“‚~À— +À—‰„À˜3À˜;Š +À˜³À˜ÑŠ À™‡À™±ŠÀ™íŠ  @Î##‰„7)(#‚](#‚Z'#‰»&'#‚Z"'#‚] #J#Š7'#6"'#‚e #‚f#Š7'#‚¨#Š)(#‚Z'#Š &'#‚Z#Š+'#‰Á&'#‚Z*#Š #Š '#I"'#‰»&'#‚Z #J#Š'#I"'#‚e #‚f"'#‚g #‚h#Š'#I"'#‚e #‚f"'#‚g #‚h#Š'#6À›Š À›8Š À›bŠÀ›’ŠÀ›¿UŠ)(#‚Z '#Š&'#‚Z#Š #Š '#I"'#‰»&'#‚Z #J +#Š'#I"'#‚e #‚f"'#‚g #‚h ÀœŠ ÀœCŠ)(#‚Z '#Š&'#‚Z#Š #Š '#I"'#‰»&'#‚Z #J #Š'#I"'#‚e #‚f"'#‚g #‚hÀœ¤Š ÀœÎŠ)(#‚](#‚Z#Š%@+'# *#Š@+'# *#Š@+'# *#Š@+'# *#Š@+'# *#Š@+'# *#Š #Š@+'# *#Š!4#Š#Š@+'# *#Š"#Š@+'# *#Š#4#Š#Š@+'# *#Š$#Š@+'# *#Š%444#Š#Š#Š#Š@+'# *#Š&+'#Š*#Š'+'#‰Á&'#‚Z*#Š#<$=>+'# *#‚(#<$=>+'#…6*#‚O#<$=>+'#…6*#Š( ##Š#Š #Š"'#‰»&'#‚Z"'#‚] #Š"'#…6 #Š(!##Š#Š) #Š"'#Š&'#‚]'#‚Z #Š"'#…6 #Š("##Š#Š #Š #Š( #‚O###Š#Š #Š #‚O$#ˆ'#Š*%#Š+'#6&#Š,'#6'#Š-'#6(#Š.'#6)#Š/'#6*#Š0'#‰»&'#‚Z"'#‚]+#Š1'#…6,#Š2'#Š-#Š3'#Š.#Š4'#6/#Š5'#‰»&'#‚Z"'#‚] #Š6#<$…Å…Æ$…Ç2#<$Š7Š80#Š9'#6"'#‰Ÿ #Š:1#ˆ!'#‰»&'#‚Z"'#‰Ÿ #Š:2#Š;'#‚¨3#Š<'#6"'#‚~&'#‚¨ #J4%À&ŠÀ=ŠÀTŠÀkŠÀ‚ŠÀ™Š À±Š!ÀΊ"ÀæŠ#ÀžŠ$ÀžŠ%ÀžBŠ&ÀžYŠ'ÀžoŠÀž˜‚(Àž¸‚OÀžÙŠ(ÀžïŠÀŸ;Š)ÀŸ|ŠÀŸ§ŠÀŸÉUˆÀŸÚUŠ+ÀŸêUŠ,ÀŸúUŠ-À  +UŠ.À UŠ/À *UŠ0À TUŠ1À eUŠ2À vUŠ3À ‡UŠ4À —Š5À ÞŠ9À þˆ!À¡'Š;À¡;Š<)(#‚Z'#‚~&'#‚Z#‰Á51@+'# *#Š=6@+'# *#Š>7@+'# *#Š?8@+'# *#Š@9@+'# *#ŠA:+'# *#‚";+'#Š**#ˆ<+*#ŠB#<$=>=#‰Á>!#‰Á#ŠC"'#‰»&'#‚Z #Š? #‰Á#ŠD"'#‚Z #J #ˆ@!#‰Á#ŠE""#‚f"'#‚g #‚hA##‰Á#J"'#‚Z #JB#ŠF'#6C#ŠG'#6D#ŠH'#6E#ŠI'#6F#ŠJ'#6G#ŠK'#6H@#ŠL'#1&'#…6"'#‰Á&'#‚e #Š I#ŠM'#I"'#‰Á #ãJ#Š)(#‚j'#‚~&'#‚j'#‰»&'#‚j"'#‚Z #J #…T"'#…6 #„ÙK#ŠN)(#ƒ˜'#‚~&'#ƒ˜'#‰»&'#ƒ˜"'#‚Z #J #…T"'#…6 #„ÙL#Š'#‚~&'#‚Z"'#…6 #„Ù'#6"'#‚e #‚f #…VM#Š'#‚~&'#‚Z'#‚¨ #…»N#Š'#ó&'#‚ZO#ŠO'#IP#ŠP'#IQ#ŠQ'#‰ŸR#ŠR'#‰ÁS#ŠS'#I"'#‚Z #JT#ŠT'#I"'#‰Ÿ #‚fU#ŠU'#I"'#‚e #‚f"'#‚g #‚hV#ŠV'#I"'#‰Á #ãW#‰Ï'#I"'#Š #ŠWX#ŠX'#I"'#Š #ŠYY#ŠZ'#ŠZ#Š['#Š"'#Š #ŠY[#Š\'#I"'#‚~ #ã\@#Š]'#I"'#‰Á #ã"'#‰Á #…†]#Š^'#I"'#‰»&'#‚Z #J^#Š_'#I"'#‚Z #J_#Š'#I"'#‚e #‚f"'#‚g #‚h`#Š`'#I"'#‰»&'#‚Z #Ja#Ša'#I"'#‚Z #Jb#Šb'#I"'#‚~&'#‚Z #Jc#Šc'#I"'#‚e #‚f"'#‚g #‚hd@#Šd'#I"'#‰Á #ã"'#Š #ŠYe#Š'#‚~&'#‚Z"'#„À #Š'#‰»&'#‚Z #Š #<$…Å…Æ$…Ç2#<$=>f1À¢Š=À¢´Š>À¢ËŠ?À¢âŠ@À¢ùŠAÀ£‚"À£%ˆÀ£;ŠBÀ£V^À£cŠCÀ£ˆŠDÀ£­ŠEÀ£ÑJÀ£ìUŠFÀ£üUŠGÀ¤ UŠHÀ¤UŠIÀ¤,UŠJÀ¤#Šh #‚OÀ«0‚OÀ«Fƒ>À«\^%+'#Šh*#Ši%+'#Šh*#Šj%+'#Šh*#Šk%+'#6*#Šl'#I#Šm '#I#Šn +"'#Šg #‚O'#I#Šo "'#Šg #‚O'#I#Šp "'#I #‚O'#I#Šq#<$„c>$ŠrŠs #Št€Â#Šu'#I"'#I #‚OÀ¬•ŠuÀªô À«7ŠgÀ«"ŠhÀ«rÀ«‰%ŠiÀ«Ÿ%ŠjÀ«µ%ŠkÀ«Ë%ŠlÀ«àŠmÀ«õŠnÀ¬ +ŠoÀ¬,ŠpÀ¬NŠqÀ¬‡ŠtÀ¬¼  @Î##‰„7'#I#Šv)(#‚Z#ó1#ó*#ó#„Ä>#ó#…O'#Šw&'#‚Z0#ó#J"'#‚Z #J#$ŠxŠy0#ó#‚f"'#‚e #‚f"'#‚g #‚h#$ŠxŠy0#ó#Šz"'#‚~&'#‚Z #Š 0#ó#Š{"'#‚X&'#‚~&'#‚Z #‰ü0#ó#…¨"'#‚X&'#‚Z #` 0#ó#Š|"'#I"'#Š}&'#‚Z #‰º"'#6 #ˆ#$……‚ +0#ó#Š~"'#„À #Š'#‚Z"'# #Š€ #‰÷ 0#ó#Š"'#ó&'#‚¨ #ã'#‚^&'#‚¨"'#‚^&'#‚Z #ñ #Š‚ @#‚t)(#‚](#‚Z'#ó&'#‚Z"'#ó&'#‚] #ã #ˆ'#6#Šƒ'#ó&'#‚Z'#I"'#‡&'#‚Z #‰Ð #‰º'#I"'#‡&'#‚Z #‰Ð #‰¼#ˆ'#‡&'#‚Z'#I"'#‚Z #‰ì #ˆ"'#…6 #„Ù'#I #ˆ"'#6 #ˆ#…U'#ó&'#‚Z'#6"'#‚Z #‰ì #…V#‚å)(#‚]'#ó&'#‚]'#‚]"'#‚Z #‰ì #·#Š„)(#ƒ˜'#ó&'#ƒ˜'#‰»&'#ƒ˜"'#‚Z #‰ì #·#Š…)(#ƒ˜'#ó&'#ƒ˜'#ó&'#ƒ˜"'#‚Z #‰ì #·#ˆ!'#ó&'#‚Z"'#…6 #„Ù'#6" #‚f #…V#…X)(#‚]'#ó&'#‚]'#‚X&'#‚]"'#‚Z #‚ #·#Š†'#‚~"'#Š‡&'#‚Z #Šˆ#‰)(#‚]'#ó&'#‚]"'#‡&'#‚Z'#‚] #Š‰#…['#‚~&'#‚Z'#‚Z"'#‚Z #‰"'#‚Z #‚ #…\#…])(#‚]'#‚~&'#‚]"'#‚] #…^'#‚]"'#‚] #‰"'#‚Z #‚ #…\#…a'#‚~&'#á"'#á #ƒ$ƒ^#…Y'#‚~&'#6"'#‚e #ŠŠ#…Z'#‚~'#I"'#‚Z #‚ #…»#…`'#‚~&'#6'#6"'#‚Z #‚ #…V#…b'#‚~&'#6'#6"'#‚Z #‚ #…V#'#‚~&'# #…g'#‚~&'#6!#‚y)(#‚j'#ó&'#‚j"#…c'#‚~&'#1&'#‚Z##…e'#‚~&'#…f&'#‚Z$#Š‹)(#ƒ˜'#‚~&'#ƒ˜"'#ƒ˜ #ˆ)%#…i'#ó&'#‚Z"'# #‚%&#…j'#ó&'#‚Z'#6"'#‚Z #‚ #…V'#…k'#ó&'#‚Z"'# #‚%(#…l'#ó&'#‚Z'#6"'#‚Z #‚ #…V)#ŠŒ'#ó&'#‚Z'#6"'#‚Z #‰"'#‚Z #ƒ> #ˆè*#…m'#‚~&'#‚Z+#…n'#‚~&'#‚Z,#ƒ¹'#‚~&'#‚Z-#…o'#‚~&'#‚Z'#6"'#‚Z #‚ #…V'#‚Z #…p.#…q'#‚~&'#‚Z'#6"'#‚Z #‚ #…V'#‚Z #…p/#…r'#‚~&'#‚Z'#6"'#‚Z #‚ #…V'#‚Z #…p0#…s'#‚~&'#‚Z"'# #¥1#Š'#ó&'#‚Z"'#„À #Š'#I"'#‚^&'#‚Z #ñ #Š 21À­m^À­z„ÄÀ­Š…OÀ­ªJÀ­Ò‚fÀ® ŠzÀ®1Š{À®^…¨À®‚Š|À®ÕŠ~À¯ŠÀ¯e‚tÀ¯¤UˆÀ¯´ŠƒÀ° ˆÀ°‹…UÀ°Ä‚åÀ±Š„À±PŠ…À±šˆ!À±Ý…XÀ²'Š†À²P‰À²…[À²Ö…]À³2…aÀ³b…YÀ³Š…ZÀ³»…`À³ó…bÀ´+UÀ´BU…gÀ´Z‚yÀ´~…cÀ´¡…eÀ´ÅŠ‹À´ù…iÀµ!…jÀµZ…kÀµ‚…lÀµ»ŠŒÀ¶U…mÀ¶U…nÀ¶6Uƒ¹À¶O…oÀ¶œ…qÀ¶é…rÀ·6…sÀ·^Š)(#‚Z#‡3#ˆ'#‚~&'#I4#ˆ'#I'#I"'#‚Z #A #ˆ 5#„Ù'#I"'#…6 #ˆ!6#ˆ'#I'#I #ˆ"7#ˆ$'#I"'#‚~&'#I #ˆ%8#ˆ&'#I9#ˆ''#6:#ˆ()(#ƒ˜'#‚~&'#ƒ˜"'#ƒ˜ #ˆ);À¹ˆÀ¹5ˆÀ¹d„ÙÀ¹„ˆÀ¹§ˆ$À¹Ñˆ&À¹äUˆ'À¹ôˆ()(#‚Z'#ð&'#‚Z#‚^<#‚'#I"'#‚Z #‰ì=#‚d'#I"'#‚e #‚f"'#‚g #‚h>#ù'#I?Àº‡‚Àº§‚dÀº×ù)(#‚Z '#ó&'#‚Z#Š@+'#ó&'#‚Z*#ŠŽA #Š"'#ó&'#‚Z #ô2#ŠŽ#ôE#„ÄB#ˆ'#6C#Šƒ'#ó&'#‚Z'#I"'#‡&'#‚Z #‰Ð #‰º'#I"'#‡&'#‚Z #‰Ð #‰¼D#ˆ'#‡&'#‚Z'#I"'#‚Z #J #ˆ"'#…6 #„Ù'#I #ˆ"'#6 #ˆEÀ»%ŠŽÀ»C^À»tUˆÀ»„ŠƒÀ»ðˆ)(#‚]#Š‡F#‰Ù'#‚~"'#ó&'#‚] #ôG#ù'#‚~HÀ¼”‰ÙÀ¼½ù)(#‚]'#‚^&'#‚]'#Š‡&'#‚]#‰ÇI#ù'#‚~J#‰Ø'#‚~KÀ½ùÀ½(U‰Ø)(#‚](#‚Z#‡L#‡'#‡&'#‚Z"'#ó&'#‚] #ô"'#6 #ˆ #‰º'#Š&'#‚]'#‚ZM6#‡#Š'#I"'#‚] #A"'#‚^&'#‚Z #ñ #ˆ '#I"'#‚e #‚f"'#‚g #‚h"'#‚^&'#‚Z #ñ #ˆ!'#I"'#‚^&'#‚Z #ñ #ˆ"'#Š‘&'#‚]'#‚ZN6#‡#Š’"'#ó&'#‚Z"'#ó&'#‚] #ò'#Š“&'#‚]'#‚Z#$„ „O@#‚t)(#‚u(#‚v(#‚w(#‚x'#‡&'#‚w'#‚x"'#‡&'#‚u'#‚v #ãP#ò'#ó&'#‚Z"'#ó&'#‚] #ôQ#‚y)(#‚z(#‚{'#‡&'#‚z'#‚{RÀ½d^À½ÁŠÀ¾…Š’À¾æ‚tÀ¿=òÀ¿n‚y)(#‚](#‚Z'#‡&'#‚]'#‚Z#‚sS +#‚sT#‚y)(#‚z(#‚{'#‡&'#‚z'#‚{UÀ¿ú^ÀÀ‚y)(#‚Z#Š”V#Š”"'#ó&'#‚Z #ôW#…z'#‚~&'#6X#…{'#‚ZY#ˆ'#‚~ZÀÀ[^ÀÀ}…zÀÀ˜U…{ÀÀ©ˆ)(#‚Z'#‚^&'#‚Z#Š•[+'#‚^*#ø\#Š• #ø]#Š–'#‚^^#‚'#I"'#‚Z #A_#‚d'#I" #‚f"'#‚g #‚h`#ù'#IaÀÀÿøÀÁ^ÀÁ+Š–ÀÁ?‚ÀÁ^‚dÀÁˆù)(#‚Z'#Š—&'#‚Z#Š}#$……‚b#Š˜'#I"'#‚Z #Jc#Š™'#I"'#‚e #‚f"'#‚g #‚hd#Šš'#IeÀÁùŠ˜ÀŠ™ÀÂHŠšÀ­) À­F7ŠvÀ­WóÀ·¯À¹‡Àº(Àºa‚^ÀºêÀ»ŠÀ¼ZÀ¼~Š‡À¼ÑÀ¼à‰ÇÀ½9À½H‡À¿žÀ¿È‚sÀÀ7ÀÀEŠ”ÀÀ½ÀÀÙŠ•ÀÁ›ÀÁÆŠ}ÀÂ[  @Î##‰„7'#I#Š›7'#‰»&'#I#Šœ)(#‚Z'#‰Ç&'#‚Z#Š—#ô'#ó&'#‚Z#Š—'#I #‰º'#I #‰Ã'#I #‰Å'#‰»&'#I #‰¼"'#6 #‰ù0#Š—#Š'#I #‰º'#I #‰¼"'#6 #‰ù+'#I*#‰º+'#I*#‰Ã+'#I*#‰Å+'#‰»&'#I*#‰¼ #ñ'#‰Ç&'#‚Z +#‰È'#6 #ˆ''#6 #‰É'#6 #‚'#I"'#‚Z #‰ì#‚d'#I"'#‚e #‚f"'#‚g #‚h#ù'#‚~#‰Ø'#‚~#‰Ù'#‚~"'#ó&'#‚Z #ã"'#6 #ˆÀÃcUôÀÃ|^ÀÃîŠÀÄ5‰ºÀÄQ‰ÃÀÄm‰ÅÀĉ‰¼ÀÄ­UñÀÄÆU‰ÈÀÄÖUˆ'ÀÄæU‰ÉÀÄö‚ÀÅ‚dÀÅFùÀÅZU‰ØÀÅk‰Ù)(#‚Z'#Š—&'#‚Z#‰ß#‚'#I"'#‚Z #A#‚d'#I"'#‚e #‚f"'#‚g #‚h#ù'#‚~ÀÆ=‚ÀÆ\‚dÀÆŒù)(#‚Z#‰¥#‰Ò'#‡&'#‚Z'#I"'#‚Z #A #ˆ"'#…6 #„Ù'#I #ˆ"'#6 #ˆ#‰Õ'#I"'#‡&'#‚Z #‰Ð#‰Ö'#I"'#‡&'#‚Z #‰Ð#‰Ó'#‚~&'#I"'#‡&'#‚Z #‰ÐÀÆ̉ÒÀÇ-‰ÕÀÇU‰ÖÀÇ}‰Ó)(#‚Z'#Š—&'#‚Z'#‰¥&'#‚Z'#Šž&'#‚Z'#‰å&'#‚Z#‰µ)(#‚Z'#‰µ&'#‚Z#ŠŸ)@+'# *#‰·@+'# *#Š @+'# *#Š¡ @+'# *#Š¢!@+'# *#‰¸"@+'# *#‰¹#+'#‚e*#Š£#<$=>$+'# *#‚"#<$=>%+'#‰Á&'#I*#‰Â&+'#I*#‰º'+'#I*#‰Ã(+'#I*#‰Å)+'#‰»&'#I*#‰¼*#ŠŸ #‰º #‰Ã #‰Å #‰¼+#ô'#ó&'#‚Z,#ñ'#‰Ç&'#‚Z-#Š¤'#6.#‰É'#6/#Š¥'#60#‰È'#61#ˆ''#62#‰Ë'#63#‰Ì'#64#Š¦'#Š§&'#‚Z5#Š¨'#‰ç&'#‚Z6#Š©'#‰§&'#‚Z7#Šª'#‚š8#‰Ù'#‚~"'#ó&'#‚Z #ã"'#6 #ˆ9#‰Ø'#‚~&'#I:#‰Í'#‚~&'#I;#‚'#I"'#‚Z #J<#‚d'#I"'#‚e #‚f"'#‚g #‚h=#ù'#‚~>#Š«'#I?#‚4'#I"'#‚Z #J@#‰Ú'#I"'#‚e #‚f"'#‚g #‚hA#‰Û'#IB#‰Ò'#‡&'#‚Z'#I"'#‚Z #A #ˆ"'#…6 #„Ù'#I #ˆ"'#6 #ˆC#‰Ó'#‚~&'#I"'#‡&'#‚Z #‰ÐD#‰Õ'#I"'#‡&'#‚Z #‰ÐE#‰Ö'#I"'#‡&'#‚Z #‰ÐF)ÀÈA‰·ÀÈXŠ ÀÈoŠ¡ÀȆŠ¢Àȉ¸ÀÈ´‰¹ÀÈËŠ£ÀÈì‚"ÀÉ ‰ÂÀÉ)‰ºÀÉE‰ÃÀÉa‰ÅÀÉ}‰¼ÀÉ¡^ÀÉÒUôÀÉëUñÀÊUŠ¤ÀÊU‰ÉÀÊ$UŠ¥ÀÊ4U‰ÈÀÊDUˆ'ÀÊTU‰ËÀÊdU‰ÌÀÊtUŠ¦ÀÊŠ¨ÀÊ©UŠ©ÀÊŠªÀÊÖ‰ÙÀËU‰ØÀË&‰ÍÀËA‚ÀË`‚dÀËùÀˤŠ«ÀË·‚4ÀËÖ‰ÚÀ̉ÛÀ̉ÒÀÌw‰ÓÀ̧‰ÕÀÌωÖ)(#‚Z'#ŠŸ&'#‚Z'#‰ß&'#‚Z#Š¬G#‰á'#I"'#‚Z #AH#‰â'#I"'#‚e #‚f"'#‚g #‚hI#‰ã'#IJÀÎW‰áÀÎv‰âÀΣ‰ã)(#‚Z'#ŠŸ&'#‚Z#Š­K#‰á'#I"'#‚Z #AL#‰â'#I"'#‚e #‚f"'#‚g #‚hM#‰ã'#INÀÎò‰áÀωâÀÏ>‰ã,)(#‚Z'#ŠŸ&'#‚Z-'#Š­&'#‚Z#Š®#<$=>O,)(#‚Z'#ŠŸ&'#‚Z-'#Š¬&'#‚Z#Š¯P"'#I #Š°'#I#Š±Q)(#‚Z '#Š²&'#‚Z#‰£R+'#‰¥&'#‚Z*#Š³S#‰£ #Š³T#Š´'#‡&'#‚Z'#I"'#‚Z #A #ˆ"'#…6 #„Ù'#I #ˆ"'#6 #ˆU#ƒÝ'# V#ƒÜ'#6"'#‚e #2WÀЊ³ÀÐ=^ÀÐSŠ´ÀдUƒÝÀÐăÜ)(#‚Z '#‰Ý&'#‚Z#‰§X+'#‰¥&'#‚Z*#Š³Y#‰§ #Š³'#I"'#‚Z #A #ˆ"'#…6 #„Ù'#I #ˆ"'#6 #ˆZ#Šµ'#‚~&'#I[#‰³'#I\#‰´'#I]ÀÑ,Š³ÀÑJ^ÀÑ¥ŠµÀÑÀ‰³ÀÑÓ‰´)(#‚Z'#‰Ç&'#‚Z#Š¶^+'#Š—*#Š·_#Š¶ #Š·`#‚'#I"'#‚Z #Aa#‚d'#I"'#‚e #‚f"'#‚g #‚hb#ù'#‚~c#‰Ù'#‚~"'#ó&'#‚Z #ãd#‰Ø'#‚~eÀÒ0Š·ÀÒF^ÀÒ\‚ÀÒ{‚dÀÒ«ùÀÒ¿‰ÙÀÒèU‰Ø)(#‚Z#‰¿f+'#‰Á*#Š¸g+'#‡*#Š¹h#‰¿"'#Šž&'#‚Z #‰¦"'#ó&'#‚Z #ã"'#6 #ˆi@#Šº"'#Šž #‰¦j#ˆ$'#Ik#ˆ&'#Il#ˆ'#‚~&'#Im#Š '#InÀÓAŠ¸ÀÓWŠ¹ÀÓm^ÀÓ°ŠºÀÓˈ$ÀÓÞˆ&ÀÓñˆÀÔ Š )(#‚Z '#‰¿&'#‚Z#Š»o+*#Š¼p#Š»"'#ŠŸ&'#‚Z #‰¦ #Š¼"'#ó&'#‚Z #ã"'#6 #ˆqÀÔ~Š¼ÀÔŽ^ÀÂöÀÃ7Š›ÀÃ$7ŠœÀÃ=Š—ÀÅ£ÀƉßÀÆ Àƶ‰¥ÀÇ­ÀÇʉµÀÈÀÈŠŸÀÌ÷ÀÎ#Š¬ÀζÀÎÌŠ­ÀÏQÀÏg,Š®ÀÏ¢,Š¯ÀÏÒŠ±ÀÏú‰£ÀÐãÀщ§ÀÑæÀÒ +Š¶ÀÒùÀÓ+‰¿ÀÔÀÔYŠ»ÀÔÚ  @Î##‰„)(#‚Z#Šž#‚4'#I"'#‚Z #A#‰Ú'#I"'#‚e #‚f"'#‚g #‚h#‰Û'#IÀÕÈ‚4ÀÕç‰ÚÀÖ‰Û)(#‚Z#‰å#‰á'#I"'#‚Z #A#‰â'#I"'#‚e #‚f"'#‚g #‚h#‰ã'#IÀÖS‰áÀÖr‰âÀÖŸ‰ã)(#‚Z'#‡&'#‚Z'#Šž&'#‚Z'#‰å&'#‚Z#‰Ý5@+'# *#Š½ @+'# *#‰¸ +@+'# *#Š¾ @+'# *#Š¡ @+'# *#Š¿ @+'# *#ŠÀ @+'# *#ŠÁ@@+'# *#ŠÂ€+'#ŠÃ&'#‚Z*#ˆ##<$=>+'#…6*#Š1+'#ŠÄ*#ŠÅ+'#‡*#ˆ+'# *#‚"+'#‚~*#ŠÆ+'#Š§&'#‚Z*#‰è#‰Ý'#I"'#‚Z #A #ˆ"'#…6 #„Ù'#I #ˆ"'#6 #ˆ##‰Ý#ŠÇ #ˆ'#I"'#‚Z #A #ˆ"'#…6 #„Ù'#I #ˆ"'#6 #ˆ#ŠÈ'#I"'#Š§&'#‚Z #ŠÉ#ˆ'#I'#I"'#‚Z #‰ì #ˆ @#ŠÊ)(#‚Z'#I"'#‚Z"'#‡ #Še"'#I"'#‚Z #ˆ #„Ù'#I"'#…6 #ˆ!@#Šf'#…6"'#‡ #Še"'#…6 #ˆ!#ˆ'#I'#I #ˆ"@#ŠË'#I"'#‡ #Še"'#I #ˆ" #ˆ$'#I"'#‚~&'#I #ˆ%!#ˆ&'#I"#ˆ'#‚~##ˆ()(#ƒ˜'#‚~&'#ƒ˜"'#ƒ˜ #ˆ)$#ŠÌ'#6%#ŠÍ'#6&#Š¤'#6'#ŠÎ'#6(#ŠÏ'#6)#‰é'#6*#ŠÐ'#6+#ŠÑ'#6,#ŠÒ'#6-#ŠÓ'#6.#ˆ''#6/#ŠÔ'#I0#ŠÕ'#I1#‚4'#I"'#‚Z #A2#‰Ú'#I"'#‚e #‚f"'#‚g #‚h3#‰Û'#I4#‰³'#I5#‰´'#I6#Šµ'#‚~&'#I7#ŠÖ'#I"'#‰ë #‰ì8#‰á'#I"'#‚Z #A9#‰â'#I"'#‚e #‚f"'#‚g #‚h:#‰ã'#I;#Š×'#I"'#I #‚O<#ŠØ'#I"'#6 #ŠÙ=5À× +Š½À×!‰¸À×8Š¾À×OŠ¡À×fŠ¿À×}ŠÀÀ×”ŠÁÀ׫ŠÂÀ׈#À×ëŠ1ÀØŠÅÀ؈ÀØ-‚"ÀØBŠÆÀØX‰èÀØv^ÀØÈŠÇÀÙ&ŠÈÀÙNˆÀÙ~ŠÊÀÙÔ„ÙÀÙôŠfÀÚ"ˆÀÚEŠËÀÚˆ$ÀÚ©ˆ&ÀÚ¼ˆÀÚЈ(ÀÛUŠÌÀÛUŠÍÀÛ$UŠ¤ÀÛ4UŠÎÀÛDUŠÏÀÛTU‰éÀÛdUŠÐÀÛtUŠÑÀÛ„UŠÒÀÛ”UŠÓÀÛ¤Uˆ'ÀÛ´ŠÔÀÛÇŠÕÀÛÚ‚4ÀÛù‰ÚÀÜ&‰ÛÀÜ9‰³ÀÜL‰´ÀÜ_ŠµÀÜzŠÖÀÜš‰áÀܹ‰âÀÜæ‰ãÀÜùŠ×ÀÝŠØ)(#‚Z '#ó&'#‚Z#Š²>#ˆ'#‡&'#‚Z'#I"'#‚Z #A #ˆ"'#…6 #„Ù'#I #ˆ"'#6 #ˆ?#Š´'#‡&'#‚Z'#I"'#‚Z #A #ˆ"'#…6 #„Ù'#I #ˆ"'#6 #ˆ@#ŠÚ'#I"'#‡ #‰ÐAÀÞåˆÀßOŠ´Àß°ŠÚ7)(#‚Z'#Š§&'#‚Z#ŠÛB)(#‚Z '#Š²&'#‚Z#ŠÜC+'#ŠÛ&'#‚Z*#‰èD+'#6*#ŠÝE#ŠÜ #‰èF#Š´'#‡&'#‚Z'#I"'#‚Z #A #ˆ"'#…6 #„Ù'#I #ˆ"'#6 #ˆGÀà-‰èÀàKŠÝÀà`^ÀàvŠ´)(#‚Z '#Š§&'#‚Z#ŠÞH+'#…R&'#‚Z*#ˆgI#ŠÞ"'#‚X&'#‚Z #AJ#…g'#6K#Šß'#I"'#‰å&'#‚Z #ŠàL#…“'#IMÀáˆgÀá8^ÀáYU…gÀáiŠßÀá‘…“7)(#‚Z'#I"'#‚Z #J#ŠÃN7'#I#ŠÄO"'#‚¨ #J'#I#ŠáP"'#‚e #‚f"'#‚g #‚h'#I#ŠâQ'#I#ŠãR)(#‚Z#‰ëS+'#‰ë*#ƒ>T#Šä'#I"'#‰å&'#‚Z #ŠàUÀâyƒ>ÀâŠä)(#‚Z '#‰ë&'#‚Z#ŠåV+'#‚Z*#JW#Šå #JX#Šä'#I"'#‰å&'#‚Z #ŠàYÀâìJÀã^ÀãŠä '#‰ë#ŠæZ+'#‚e*#‚f[+'#‚g*#‚h\#Šæ #‚f #‚h]#Šä'#I"'#‰å #Šà^Àãh‚fÀã~‚hÀã”^À㳊ä'#‰ë#Šç_ +#Šç`#Šä'#I"'#‰å #Šàa#ƒ>'#‰ëb #ƒ>'#I"'#‰ë #8cÀä^ÀäŠäÀä4Uƒ>ÀäEVƒ>)(#‚Z#Š§d @+'# *#Šèe@+'# *#Šéf@+'# *#Š¡g+'# *#‚"h#…g'#6i#Šê'#6j#Šë'#6k#Šì'#I"'#‰å&'#‚Z #Šàl#Ší'#Im#Šß'#I"'#‰å&'#‚Z #Šàn#…“'#Io Àä–ŠèÀä­ŠéÀäÄŠ¡ÀäÛ‚"ÀäðU…gÀåUŠêÀåUŠëÀå ŠìÀåHŠíÀå[ŠßÀ僅“)(#‚Z '#Š§&'#‚Z#‰çp+'#‰ë*#Šîq+'#‰ë*#Šïr#…g'#6s#‚'#I"'#‰ë #‰ìt#Šß'#I"'#‰å&'#‚Z #Šàu#…“'#IvÀæ ŠîÀæ#ŠïÀæ9U…gÀæI‚ÀæiŠßÀæ‘…“7)(#‚Z'#I"'#‡&'#‚Z #‰Ð#Šðw)(#‚Z'#‡&'#‚Z#Šñx@+'# *#Šòy@+'# *#Šóz@+'# *#Šô{+'#‡*#ˆ|+'# *#‚"}+'#ŠÄ*#ŠÅ~#Šñ #ŠÅ#Šõ'#6€€#Šö'#6€#ˆ''#6€‚#Š÷'#I€ƒ#ˆ'#I'#I"'#‚Z #A #ˆ €„#„Ù'#I"'#…6 #ˆ!€…#ˆ'#I'#I #ˆ"€†#ˆ$'#I"'#‚~&'#I #ˆ%€‡#ˆ&'#I€ˆ#ˆ'#‚~€‰#ˆ()(#ƒ˜'#‚~&'#ƒ˜"'#ƒ˜ #ˆ)€Š#‰ã'#I€‹Àç%ŠòÀç<ŠóÀçSŠôÀçjˆÀ瀂"Àç•ŠÅÀç«^ÀçÁUŠõÀçÒUŠöÀçãUˆ'ÀçôŠ÷ÀèˆÀè8„ÙÀèYˆÀè}ˆ$À計&À輈Àèш(Àé‰ã)(#‚Z '#ó&'#‚Z#Šø€Œ+'#ó&'#‚Z*#ˆ€+'#Šð&'#‚Z*#Šù€Ž+'#Šð&'#‚Z*#Šú€+'#‡*#ˆ€+'#‰æ&'#‚Z*#Š³€‘+'#‡&'#‚Z*#Š©€’#Šø #ˆ'#I"'#‡&'#‚Z #‰Ð #Šû'#I"'#‡&'#‚Z #‰Ð #Šü€“#ˆ'#6€”#ˆ'#‡&'#‚Z'#I"'#‚Z #A #ˆ"'#…6 #„Ù'#I #ˆ"'#6 #ˆ€•#Šµ'#I€–#ŠÚ'#I€—#Šý'#I€˜#Šþ'#I"'#‚~&'#I #ˆ%€™#Šÿ'#I€š#‹'#6€›ÀéˈÀéêŠùÀê ŠúÀê(ˆÀê?Š³Àê^Š©Àê}^ÀêÞUˆÀêïˆÀëZŠµÀënŠÚÀë‚ŠýÀë–ŠþÀ뾊ÿÀëÒU‹)(#‚Z'#‡&'#‚Z#‹€œ ++'#Šø*#ŠŽ€#‹ #ŠŽ€ž#ˆ'#I'#I"'#‚Z #A #ˆ €Ÿ#„Ù'#I"'#…6 #ˆ!€ #ˆ'#I'#I #ˆ"€¡#ˆ$'#I"'#‚~&'#I #ˆ%€¢#ˆ&'#I€£#ˆ'#‚~€¤#ˆ''#6€¥#ˆ()(#ƒ˜'#‚~&'#ƒ˜"'#ƒ˜ #ˆ)€¦ +ÀìyŠŽÀì^À질ÀìׄÙÀìøˆÀíˆ$ÀíGˆ&Àí[ˆÀípUˆ'Àíˆ()(#‚Z'#Š”&'#‚Z#‹€§ +'#‡&'#‚Z*#Š©€¨+'#‚e*#‹#<$=>€©+'#6*#…€ª#‹"'#ó&'#‚Z0#ô€«#…{'#‚Z€¬#…z'#‚~&'#6€­#‹'#‚~&'#6€®#ˆ'#‚~€¯#ˆ#'#I"'#‚Z #A€°#Š1'#I"'#‚e #‚f"'#‚g #‚h€±#ŠÅ'#I€² Àî$Š©ÀîC‹Àîe…Àî{^ÀîžU…{Àî°…zÀîÌ‹ÀîèˆÀîýˆ#ÀïŠ1ÀïKŠÅ)(#‚Z '#ó&'#‚Z#Šw€³ #ŠwE#„Ä€´#ˆ'#6€µ#ˆ'#‡&'#‚Z'#I"'#‚Z #A #ˆ"'#…6 #„Ù'#I #ˆ"'#6 #ˆ€¶ÀïÕ^ÀïêUˆÀïûˆ)(#‚Z '#ó&'#‚Z#‹€·+'#6*#ˆ€¸+'#I"'#Š}&'#‚Z*#ŠÚ€¹#‹ #ŠÚ #ˆ€º#ˆ'#‡&'#‚Z'#I"'#‚Z #‰ì #ˆ"'#…6 #„Ù'#I #ˆ"'#6 #ˆ€»Àð¡ˆÀð·ŠÚÀðæ^Àñˆ)(#‚Z '#Š®&'#‚Z'#Š}&'#‚Z#‹€¼#‹€½#Š˜'#I"'#‚Z #A€¾#Š™'#I"'#‚e #‚f"'#‚g #‚h€¿#Šš'#I€À#ô'#ó&'#‚Z€ÁÀñÆ^ÀñÔŠ˜ÀñôŠ™Àò%ŠšÀò9UôÀÕ•ÀÕ²ŠžÀÖ'ÀÖ=‰åÀÖ²ÀÖȉÝÀÝ>ÀÞÀŠ²ÀßÐÀßæ7ŠÛÀàŠÜÀà×ÀàõŠÞÀá¤ÀáÈ7ŠÃÀáí7ŠÄÀáþŠáÀâŠâÀâNŠãÀâc‰ëÀâ·ÀâÇŠåÀã>ÀãSŠæÀãÓÀãñŠçÀädÀ䀊§Àå–Àåè‰çÀæ¤ÀæÑ7ŠðÀæÿŠñÀéÀ饊øÀëãÀìR‹Àí¶Àíý‹Àï_À﯊wÀðfÀð{‹ÀñrÀñ‹ÀòS  @Î##‰„)(#‚Z'#‚Z #‹"'#‚Z #J #‹"'#‚e #‚f"'#‚g #‚h #„Ù#‹ "'#‡ #‰Ð"'#‰Á #Š "'#‚e #‚f"'#‚g #‚h'#I#‹ +"'#‡ #‰Ð"'#‰Á #Š "'#‚e #‚f"'#‚g #‚h'#I#‹ "'#‡ #‰Ð"'#‰Á #Š '#I"'#‚e #‚f"'#‚g #‚h#‹ "'#‡ #‰Ð"'#‰Á #Š " #J'#I#‹ )(#‚](#‚Z '#ó&'#‚Z#‹+'#ó&'#‚]*#ˆ#‹ #ˆ#ˆ'#6#ˆ'#‡&'#‚Z'#I"'#‚Z #J #ˆ"'#…6 #„Ù'#I #ˆ"'#6 #ˆ #Š´'#‡&'#‚Z'#I"'#‚Z #A #ˆ"'#…6 #„Ù'#I #ˆ"'#6 #ˆ +#ˆ'#I"'#‚] #A"'#Šž&'#‚Z #ñ #ˆ'#I"'#‚e #‚f"'#‚g #‚h"'#Šž&'#‚Z #ñ #‹'#I"'#Šž&'#‚Z #ñ ÀõAˆÀõ_^ÀõuUˆÀõ…ˆÀõÀöPˆÀö„ˆÀöÆ‹)(#‚](#‚Z '#‰Ý&'#‚Z#‹ +'#‹&'#‚]'#‚Z*#ŠŽ+'#‡&'#‚]*#Š©#‹ #ŠŽ'#I"'#‚Z #A #ˆ"'#…6 #„Ù'#I #ˆ"'#6 #ˆ#‚4'#I"'#‚Z #A#‰Ú'#I"'#‚e #‚f"'#‚g #‚h#‰³'#I#‰´'#I#Šµ'#‚~&'#I#ˆ'#I"'#‚] #A#ˆ'#I" #‚f"'#‚g #‚h#‹'#I À÷RŠŽÀ÷vŠ©À÷”^À÷ï‚4Àø‰ÚÀø;‰³ÀøN‰´ÀøaŠµÀø|ˆÀø›ˆÀø‹"'#Šž #ñ"'#‚e #‚f"'#‚g #‚h'#I#‹)(#‚Z '#‹&'#‚Z'#‚Z#‹+'#6"'#‚Z*#‹#‹"'#ó&'#‚Z #ã'#6"'#‚Z #J #…V#ˆ'#I"'#‚Z #‹"'#Šž&'#‚Z #ñÀù‹‹Àù±^Àùïˆ7)(#‚](#‚Z'#‚Z"'#‚] #J#ˆb)(#‚](#‚Z '#‹&'#‚]'#‚Z#‹ +'#ˆb&'#‚]'#‚Z*#‹!#‹"'#ó&'#‚] #ã'#‚Z"'#‚] #‰ì #‰"#ˆ'#I"'#‚] #‹"'#Šž&'#‚Z #ñ#Àú—‹Àú»^Àúûˆ)(#‚](#‚Z '#‹&'#‚]'#‚Z#‹$+'#ˆb&'#‚]'#‚X&'#‚Z*#‹%#‹"'#ó&'#‚] #ã'#‚X&'#‚Z"'#‚] #‰ì #…X&#ˆ'#I"'#‚] #‹"'#Šž&'#‚Z #ñ'Àûw‹Àû£^Àûëˆ)(#‚Z '#‹&'#‚Z'#‚Z#‹(+'#…6*#‹)+'#6"'#‚e*#‹*#‹"'#ó&'#‚Z #ã"'#…6 #„Ù'#6"'#‚e #‚f #…V+#ˆ'#I"'#‚Z #A"'#Šž&'#‚Z #ñ,#ˆ'#I"'#‚e #‚f"'#‚g #‚h"'#Šž&'#‚Z #ñ-Àüa‹Àüw‹Àü^ÀüéˆÀýˆ)(#‚Z '#‹&'#‚Z'#‚Z#‹.+'# *#‰`/#‹"'#ó&'#‚Z #ã"'# #‚%0#Š´'#‡&'#‚Z'#I"'#‚Z #A #ˆ"'#…6 #„Ù'#I #ˆ"'#6 #ˆ1#ˆ'#I"'#‚Z #‹"'#Šž&'#‚Z #ñ2Àý¯‰`ÀýÄ^ÀýòŠ´ÀþSˆ)(#‚](#‚Z '#‹&'#‚Z'#‚Z#‹3+'#‚]*#‹4#‹"'#‹&'#‚Z'#‚Z #ô'#I"'#‚Z #A #ˆ"'#…6 #„Ù'#I #ˆ"'#6 #ˆ #‹5ÀþÖ‹Àþì^)(#‚Z '#‹&'#‚Z'#‚Z#‹6+'#6"'#‚Z*#‹7#‹"'#ó&'#‚Z #ã'#6"'#‚Z #J #…V8#ˆ'#I"'#‚Z #‹"'#Šž&'#‚Z #ñ9Àÿœ‹ÀÿÂ^Àˆ)(#‚Z '#‹&'#‚Z'#‚Z#‹:+'# *#‰`;#‹"'#ó&'#‚Z #ã"'# #‚%<#Š´'#‡&'#‚Z'#I"'#‚Z #A #ˆ"'#…6 #„Ù'#I #ˆ"'#6 #ˆ=#ˆ'#I"'#‚Z #‹"'#Šž&'#‚Z #ñ>Àv‰`À‹^À¹Š´Àˆ)(#‚Z '#‹&'#‚Z'#‚Z#‹?+'#6"'#‚Z*#‹@#‹"'#ó&'#‚Z #ã'#6"'#‚Z #J #…VA#Š´'#‡&'#‚Z'#I"'#‚Z #A #ˆ"'#…6 #„Ù'#I #ˆ"'#6 #ˆB#ˆ'#I"'#‚Z #‹"'#Šž&'#‚Z #ñCÀ—‹À½^ÀûŠ´À\ˆ)(#‚Z '#‹&'#‚Z'#‚Z#‹ D@+*#‹!E+'#6"'#‚Z"'#‚Z*#‹"F#‹ "'#ó&'#‚Z #ã'#6"'#‚Z #ƒÎ"'#‚Z #ƒ‡ #ˆèG#Š´'#‡&'#‚Z'#I"'#‚Z #A #ˆ"'#…6 #„Ù'#I #ˆ"'#6 #ˆH#ˆ'#I"'#‚Z #‹"'#Šž&'#‚Z #ñIÀÙ‹!Àé‹"À^ÀeŠ´ÀƈÀó}Àóš‹ Àóÿ‹ +ÀôH‹ Àô‘‹ Àôá‹ Àõ‹ÀöîÀ÷'‹ÀøÕÀù$‹Àù`‹Àú$Àú:7ˆbÀúf‹Àû0ÀûF‹Àü Àü6‹Àý_Àý„‹ÀþˆÀþ¥‹ÀÿbÀÿq‹À5ÀK‹ÀOÀl‹À‘À®‹ Àû  @Î##‰„)(#‚Z'#‚^&'#‚Z#‹#+'#Šž&'#‚Z*#ø#‹# #ø#‚'#I"'#‚Z #A#‚d'#I"'#‚e #‚f"'#‚g #‚h#ù'#IÀøÀ;^ÀQ‚Àp‚dÀ ù)(#‚](#‚Z '#‰Ý&'#‚Z#‹$ +'#‚^&'#‚]*#‹%+'#‡&'#‚]*#Š©#‹$"'#ó&'#‚] #ã"'#‹&&'#‚]'#‚Z #‹''#I"'#‚Z #A #ˆ"'#…6 #„Ù'#I #ˆ"'#6 #ˆ #‚4'#I"'#‚Z #A +#‰Ú'#I"'#‚e #‚f"'#‚g #‚h #‰Û'#I #‰³'#I #‰´'#I#Šµ'#‚~&'#I#ˆ'#I"'#‚] #A#ˆ'#I"'#‚e #‚f"'#‚g #‚h#‹'#I À‹%À Š©À>^ÀÀ‚4À߉ÚÀ ‰ÛÀ‰³À2‰´ÀEŠµÀ`ˆÀˆÀ¬‹7)(#‚](#‚Z'#‚^&'#‚]"'#‚^&'#‚Z #‚.#‹&)(#‚](#‚Z '#‚s&'#‚]'#‚Z#‹(+'#‹&&'#‚]'#‚Z*#‹) +#‹( #‹)#ò'#ó&'#‚Z"'#ó&'#‚] #ôÀƒ‹)À§^À½ò)(#‚](#‚Z '#ó&'#‚Z#‹*+'#‹&&'#‚]'#‚Z*#‹)+'#ó&'#‚]*#ŠŽ#ˆ'#6#‹* #ŠŽ #‹)#ˆ'#‡&'#‚Z'#I"'#‚Z #‰ì #ˆ"'#…6 #„Ù'#I #ˆ"'#6 #ˆÀ /‹)À SŠŽÀ qUˆÀ ^À  ˆ7)(#‚](#‚Z'#I"'#‚] #A"'#‚^&'#‚Z #ñ#‹+7)(#‚Z'#I"'#‚e #‚f"'#‚g #‚h"'#‚^&'#‚Z #ñ#‹,7)(#‚Z'#I"'#‚^&'#‚Z #ñ#‹- )(#‚](#‚Z'#‚^&'#‚]#‹.!+'#‹+&'#‚]'#‚Z*#ˆ"+'#‹,&'#‚Z*#ˆ#+'#‹-&'#‚Z*#‹$+'#‚^&'#‚Z*#ø%#‹. #ˆ #ˆ #‹'#‚^&'#‚Z #ø&#‚'#I"'#‚] #A'#‚d'#I"'#‚e #‚f"'#‚g #‚h(#ù'#I)À ˆÀ 6ˆÀ T‹À røÀ ^À Ï‚À î‚dÀ ù)(#‚](#‚Z '#‹(&'#‚]'#‚Z#Š‘*#Š‘'#I"'#‚] #A"'#‚^&'#‚Z #ñ #ˆ '#I"'#‚e #‚f"'#‚g #‚h"'#‚^&'#‚Z #ñ #ˆ!'#I"'#‚^&'#‚Z #ñ #ˆ"+#ò'#ó&'#‚Z"'#ó&'#‚] #ô,À ž^À Iò)(#‚](#‚Z '#‚s&'#‚]'#‚Z#Š“-+'#ó&'#‚Z"'#ó&'#‚]*#‹/.#Š“ #‹//#ò'#ó&'#‚Z"'#ó&'#‚] #ô0À ¹‹/À ð^Àò7)(#‚](#‚Z'#‡&'#‚Z"'#ó&'#‚] #ô"'#6 #ˆ#‹01)(#‚](#‚Z '#‚s&'#‚]'#‚Z#Š2+'#‹0&'#‚]'#‚Z*#ŠÚ3 +#Š #ŠÚ4#ò'#ó&'#‚Z"'#ó&'#‚] #ô5ÀÇŠÚÀë^Àò)(#‚](#‚Z '#ó&'#‚Z#‹16+'#‹0&'#‚]'#‚Z*#ŠÚ7+'#ó&'#‚]*#ŠŽ8#ˆ'#69#‹1 #ŠŽ #ŠÚ:#ˆ'#‡&'#‚Z'#I"'#‚Z #‰ì #ˆ"'#…6 #„Ù'#I #ˆ"'#6 #ˆ;ÀsŠÚÀ—ŠŽÀµUˆÀÅ^ÀäˆÀÚÀ÷‹#À³À׋$À¿À7‹&ÀR‹(ÀîÀ ‹*À + À +07‹+À +p7‹,À +¸7‹-À +æ‹.À 1À mŠ‘À zÀ ˆŠ“À7ÀM7‹0À–ŠÀ2ÀH‹1ÀO  @Î##‰„#‹2#‹2"'#„À #„Á"'#I #‚O0#‹2#Š~"'#„À #„Á'#I"'#‹2 #‹3 #‚O@#‹4'#I"'#I #‚O#ˆ'#I#‹5'# #‹6'#6€Â#‹7'#‹2"'#„À #„Á"'#I #‚O€Â#‹8'#‹2"'#„À #„Á'#I"'#‹2 #‹3 #‚OÀ*^ÀWŠ~À‘‹4À·ˆÀÊU‹5ÀÚU‹6Àê‹7À‹8ÀÿÀ‹2À^  @Î##‰„7)(#‚j'#‚j#‹97)(#‚j(#‚Z'#‚j"'#‚Z #‹:#‹;7)(#‚j(#‹<(#‹='#‚j"'#‹< #‹>"'#‹= #‹?#‹@'#I"'#‡ #‹A"'#‹B #‹C"'#‡ #Še"'#‚e #‚f"'#‚g #‚h#‹D)(#‚j'#‚j"'#‡ #‹A"'#‹B #‹C"'#‡ #Še"'#‚j #…T#‹E)(#‚j(#‚Z'#‚j"'#‡ #‹A"'#‹B #‹C"'#‡ #Še"'#‚j"'#‚Z #‹: #…T"'#‚Z #‹:#‹F)(#‚j(#‹<(#‹='#‚j"'#‡ #‹A"'#‹B #‹C"'#‡ #Še"'#‚j"'#‹< #‹>"'#‹= #‹? #…T"'#‹< #‹>"'#‹= #‹?#‹G)(#‚j'#‹9&'#‚j"'#‡ #‹A"'#‹B #‹C"'#‡ #Še"'#‚j #…T#‹H)(#‚j(#‚Z'#‹;&'#‚j'#‚Z"'#‡ #‹A"'#‹B #‹C"'#‡ #Še"'#‚j"'#‚Z #‹: #…T#‹I)(#‚j(#‹<(#‹='#‹@&'#‚j'#‹<'#‹="'#‡ #‹A"'#‹B #‹C"'#‡ #Še"'#‚j"'#‹< #‹>"'#‹= #‹? #…T#‹J 7'#‰Ÿ"'#‡ #‹A"'#‹B #‹C"'#‡ #Še"'#‚e #‚f"'#‚g #‚h#‹K +7'#I"'#‡ #‹A"'#‹B #‹C"'#‡ #Še'#I #…T#‹L 7'#‹2"'#‡ #‹A"'#‹B #‹C"'#‡ #Še"'#„À #„Á'#I #…T#‹M 7'#‹2"'#‡ #‹A"'#‹B #‹C"'#‡ #Še"'#„À #Š'#I"'#‹2 #‹3 #…T#‹N 7'#I"'#‡ #‹A"'#‹B #‹C"'#‡ #Še"'#á #…#‹O7'#‡"'#‡ #‹A"'#‹B #‹C"'#‡ #Še"'#‹P #‹Q"'#‚€&'#‚e'#‚e #‹R#‹S)(#‚Z'#…6#‹T+'#Š**#Še+'#‚Z*#…8 +#‹T #Še #…8ÀˆŠeÀž…8À´^#‹U+'#Š**#Še+'#‹E*#…8 +#‹U #Še #…8ÀøŠeÀ…8À$^#‹V+'#Š**#Še+'#‹F*#…8 +#‹V #Še #…8ÀhŠeÀ~…8À”^#‹W+'#Š**#Še+'#‹G*#…8 +#‹W #Še #…8ÀØŠeÀî…8À^#‹X +'#Š**#Še!+'#‹H*#…8" +#‹X #Še #…8#ÀHŠeÀ^…8Àt^#‹Y$+'#Š**#Še%+'#‹I*#…8& +#‹Y #Še #…8'À¸ŠeÀÎ…8Àä^#‹Z(+'#Š**#Še)+'#‹J*#…8* +#‹Z #Še #…8+À(ŠeÀ>…8ÀT^#‹P,#‹P "'#‹D #‹["'#‹E #‹4"'#‹F #‹\"'#‹G #‹]"'#‹H #‹^"'#‹I #‹_"'#‹J #‹`"'#‹K #Š("'#‹L #Šq"'#‹M #‹a"'#‹N #‹b"'#‹O #…Ó"'#‹S #‹c'#‹d-0#‹P#‚Q"'#‹P #2"'#‹D #‹["'#‹E #‹4"'#‹F #‹\"'#‹G #‹]"'#‹H #‹^"'#‹I #‹_"'#‹J #‹`"'#‹K #Š("'#‹L #Šq"'#‹M #‹a"'#‹N #‹b"'#‹O #…Ó"'#‹S #‹c.#‹['#‹D/#‹4'#‹E0#‹\'#‹F1#‹]'#‹G2#‹^'#‹H3#‹_'#‹I4#‹`'#‹J5#Š('#‹K6#Šq'#‹L7#‹a'#‹M8#‹b'#‹N9#…Ó'#‹O:#‹c'#‹S;À˜^À}‚QÀiU‹[ÀzU‹4À‹U‹\ÀœU‹]À­U‹^À¾U‹_ÀÏU‹`ÀàUŠ(ÀñUŠqÀU‹aÀU‹bÀ$U…ÓÀ5U‹c'#‹P#‹d< +#‹d  #‹[ #‹4 #‹\ #‹] #‹^ #‹_ #‹` #Š( #Šq #‹a #‹b #…Ó #‹c=+'#‹D*#‹[>+'#‹E*#‹4?+'#‹F*#‹\@+'#‹G*#‹]A+'#‹H*#‹^B+'#‹I*#‹_C+'#‹J*#‹`D+'#‹K*#Š(E+'#‹L*#ŠqF+'#‹M*#‹aG+'#‹N*#‹bH+'#‹O*#…ÓI+'#‹S*#‹cJÀÅ^Àn‹[À„‹4Àš‹\À°‹]ÀÆ‹^ÀÜ‹_Àò‹`À Š(À ŠqÀ 4‹aÀ J‹bÀ `…ÓÀ v‹c#‹BK #‹['#I"'#‡ #Še"'#‚e #‚f"'#‚g #‚hL#‹4)(#‚j'#‚j"'#‡ #Še'#‚j #…TM#‹\)(#‚j(#‚Z'#‚j"'#‡ #Še'#‚j"'#‚Z #‹: #…T"'#‚Z #‹:N#‹])(#‚j(#‹<(#‹='#‚j"'#‡ #Še'#‚j"'#‹< #‹>"'#‹= #‹? #…T"'#‹< #‹>"'#‹= #‹?O#‹^)(#‚j'#‹9&'#‚j"'#‡ #Še'#‚j #…TP#‹_)(#‚j(#‚Z'#‹;&'#‚j'#‚Z"'#‡ #Še'#‚j"'#‚Z #‹: #…TQ#‹`)(#‚j(#‹<(#‹='#‹@&'#‚j'#‹<'#‹="'#‡ #Še'#‚j"'#‹< #‹>"'#‹= #‹? #…TR#Š('#‰Ÿ"'#‡ #Še"'#‚e #‚f"'#‚g #‚hS#Šq'#I"'#‡ #Še'#I #…TT#‹a'#‹2"'#‡ #Še"'#„À #„Á'#I #…TU#‹b'#‹2"'#‡ #Še"'#„À #Š'#I"'#‹2 #‹3 #…TV#…Ó'#I"'#‡ #Še"'#á #…W#‹c'#‡"'#‡ #Še"'#‹P #‹Q"'#‚€ #‹RX À! ‹[À!C‹4À!}‹\À!׋]À"Q‹^À"“‹_À"î‹`À#bŠ(À#ŠqÀ#Í‹aÀ$ ‹bÀ$V…ÓÀ$ƒ‹c#‡Y "#‡#8Z@+'#‡*#‹e#‹f[@+'#Š**#ˆa\P#…{'#‡]#‹['#I"'#‚e #‚f"'#‚g #‚h^#‹C'#‡_#‹g'#‡`#‹h'#6"'#‡ #‹ia#‹c'#‡"'#‹P #‹Q"'#‚€&'#‚e'#‚e #‹Rb#‹4)(#‚j'#‚j'#‚j #…»c#‹\)(#‚j(#‚Z'#‚j'#‚j"'#‚Z #… #…»"'#‚Z #…d#‹])(#‚j(#‹<(#‹='#‚j'#‚j"'#‹< #‹j"'#‹= #‹k #…»"'#‹< #‹j"'#‹= #‹ke#‹l'#I'#I #…»f#‹m)(#‚Z'#I'#I"'#‚Z #… #…»"'#‚Z #…g#‹n)(#‹<(#‹='#I'#I"'#‹< #‹j"'#‹= #‹k #…»"'#‹< #‹j"'#‹= #‹kh#‹^)(#‚j'#‹9&'#‚j'#‚j #‚Oi#‹_)(#‚j(#‚Z'#‹;&'#‚j'#‚Z'#‚j"'#‚Z #‹: #‚Oj#‹`)(#‚j(#‹<(#‹='#‹@&'#‚j'#‹<'#‹='#‚j"'#‹< #‹>"'#‹= #‹? #‚Ok#‹o)(#‚j'#‹9&'#‚j'#‚j #‚Ol#‹p)(#‚j(#‚Z'#‹;&'#‚j'#‚Z'#‚j"'#‚Z #… #‚Om#‹q)(#‚j(#‹<(#‹='#‹@&'#‚j'#‹<'#‹='#‚j"'#‹< #‹j"'#‹= #‹k #‚On#‹r'#I"'#I #‚Oo#‹s)(#‚Z'#I"'#‚Z'#I"'#‚Z #… #‚Op#‹t)(#‹<(#‹='#I"'#‹<"'#‹='#I"'#‹< #‹j"'#‹= #‹k #‚Oq#Š('#‰Ÿ"'#‚e #‚f"'#‚g #‚hr#Šq'#I"'#I #‚Os#‹a'#‹2"'#„À #„Á"'#I #‚Ot#‹b'#‹2"'#„À #Š'#I"'#‹2 #‹3 #‚Ou#…Ó'#I"'#á #…v@#‹u'#Š*"'#Š* #Šew@#‹v'#I"'#Š* #‰x#¤'#‚¨"'#‚e #‚¦y À%(8À%7‹eÀ%PˆaÀ%fU…{À%w‹[À%¤U‹CÀ%µU‹gÀ%Æ‹hÀ%æ‹cÀ&(‹4À&U‹\À&¢‹]À'‹lÀ'2‹mÀ'w‹nÀ'Ü‹^À(‹_À(_‹`À(Æ‹oÀ(û‹pÀ)I‹qÀ)°‹rÀ)Ý‹sÀ*&‹tÀ*ŒŠ(À*ºŠqÀ*à‹aÀ+‹bÀ+R…ÓÀ+r‹uÀ+“‹vÀ+³¤'#‹B#‹wz+'#Š**#‹x{#‹w #‹x|#‹['#I"'#‡ #Še"'#‚e #‚f"'#‚g #‚h}#‹4)(#‚j'#‚j"'#‡ #Še'#‚j #…T~#‹\)(#‚j(#‚Z'#‚j"'#‡ #Še'#‚j"'#‚Z #‹: #…T"'#‚Z #‹:#‹])(#‚j(#‹<(#‹='#‚j"'#‡ #Še'#‚j"'#‹< #‹>"'#‹= #‹? #…T"'#‹< #‹>"'#‹= #‹?€€#‹^)(#‚j'#‹9&'#‚j"'#‡ #Še'#‚j #…T€#‹_)(#‚j(#‚Z'#‹;&'#‚j'#‚Z"'#‡ #Še'#‚j"'#‚Z #‹: #…T€‚#‹`)(#‚j(#‹<(#‹='#‹@&'#‚j'#‹<'#‹="'#‡ #Še'#‚j"'#‹< #‹>"'#‹= #‹? #…T€ƒ#Š('#‰Ÿ"'#‡ #Še"'#‚e #‚f"'#‚g #‚h€„#Šq'#I"'#‡ #Še #…T€…#‹a'#‹2"'#‡ #Še"'#„À #„Á'#I #…T€†#‹b'#‹2"'#‡ #Še"'#„À #Š'#I"'#‹2 #‹3 #…T€‡#…Ó'#I"'#‡ #Še"'#á #…€ˆ#‹c'#‡"'#‡ #Še"'#‹P #‹Q"'#‚€&'#‚e'#‚e #‹R€‰À,Ì‹xÀ,â^À,ø‹[À-2‹4À-l‹\À-Æ‹]À.A‹^À.„‹_À.à‹`À/UŠ(À/‘ŠqÀ/½‹aÀ/ü‹bÀ0H…ÓÀ0v‹c'#‡#Š*€Š +#Š*€‹#‹y'#‹U€Œ#‹z'#‹V€#‹{'#‹W€Ž#‹|'#‹X€#‹}'#‹Y€#‹~'#‹Z€‘#‹'#‹T&'#‹K€’#‹€'#‹T&'#‹L€“#‹7'#‹T&'#‹M€”#‹8'#‹T&'#‹N€•#‹'#‹T&'#‹O€–#‹‚'#‹T&'#‹S€—#‹ƒ'#‹T&'#‹D€˜#‹C'#Š*€™#‹„'#‹B€š#‹…'#‹B€›#‰'#‚€&'#‚e'#‚e€œ#‹h'#6"'#‡ #‹i€À1A^À1OU‹yÀ1aU‹zÀ1sU‹{À1…U‹|À1—U‹}À1©U‹~À1»U‹À1ÕU‹€À1ïU‹7À2 U‹8À2#U‹À2=U‹‚À2WU‹ƒÀ2qU‹CÀ2ƒU‹„À2•U‹…À2§U‰À2Ç‹h '#Š*#‹†€ž++'#‹U*#‹y€Ÿ+'#‹V*#‹z€ +'#‹W*#‹{€¡+'#‹X*#‹|€¢+'#‹Y*#‹}€£+'#‹Z*#‹~€¤+'#‹T&'#‹K*#‹€¥+'#‹T&'#‹L*#‹€€¦+'#‹T&'#‹M*#‹7€§+'#‹T&'#‹N*#‹8€¨+'#‹T&'#‹O*#‹€©+'#‹T&'#‹S*#‹‚€ª+'#‹T&'#‹D*#‹ƒ€«+'#‹B*#‹‡€¬+'#Š**#‹C€­+'#‚€&'#‚e'#‚e*#‰€®#‹„'#‹B€¯#‹…'#‹B€°#‹† #‹C"'#‹P #‹Q #‰€±#‹g'#‡€²#‹l'#I'#I #…T€³#‹m)(#‚Z'#I'#I"'#‚Z #‹: #…T"'#‚Z #‹:€´#‹n)(#‹<(#‹='#I'#I"'#‹< #‹>"'#‹= #‹? #…T"'#‹< #‹>"'#‹= #‹?€µ#‹o)(#‚j'#‹9&'#‚j'#‚j #…T€¶#‹p)(#‚j(#‚Z'#‹;&'#‚j'#‚Z'#‚j"'#‚Z #‹: #…T€·#‹q)(#‚j(#‹<(#‹='#‹@&'#‚j'#‹<'#‹='#‚j"'#‹< #‹>"'#‹= #‹? #…T€¸#‹r'#I'#I #…T€¹#‹s)(#‚Z'#I"'#‚Z'#I"'#‚Z #‹: #…T€º#‹t)(#‹<(#‹='#I"'#‹<"'#‹='#I"'#‹< #‹>"'#‹= #‹? #…T€»#¤'#‚¨"'#‚e #‚¦€¼#‹['#I"'#‚e #‚f"'#‚g #‚h€½#‹c'#‡"'#‹P #‹Q"'#‚€&'#‚e'#‚e #‹R€¾#‹4)(#‚j'#‚j'#‚j #…T€¿#‹\)(#‚j(#‚Z'#‚j'#‚j"'#‚Z #‹: #…T"'#‚Z #‹:€À#‹])(#‚j(#‹<(#‹='#‚j'#‚j"'#‹< #‹>"'#‹= #‹? #…T"'#‹< #‹>"'#‹= #‹?€Á#‹^)(#‚j'#‹9&'#‚j'#‚j #‚O€Â#‹_)(#‚j(#‚Z'#‹;&'#‚j'#‚Z'#‚j"'#‚Z #‹: #‚O€Ã#‹`)(#‚j(#‹<(#‹='#‹@&'#‚j'#‹<'#‹='#‚j"'#‹< #‹>"'#‹= #‹? #‚O€Ä#Š('#‰Ÿ"'#‚e #‚f"'#‚g #‚h€Å#Šq'#I'#I #…T€Æ#‹a'#‹2"'#„À #„Á'#I #…T€Ç#‹b'#‹2"'#„À #„Á'#I"'#‹2 #‹3 #…T€È#…Ó'#I"'#á #…€É+À3ƒ‹yÀ3š‹zÀ3±‹{À3È‹|À3ß‹}À3ö‹~À4 ‹À4,‹€À4K‹7À4j‹8À4‰‹À4¨‹‚À4Ç‹ƒÀ4拇À4ý‹CÀ5‰À59U‹„À5KU‹…À5]^À5ŠU‹gÀ5œ‹lÀ5À‹mÀ6‹nÀ6l‹oÀ6¢‹pÀ6ñ‹qÀ7Y‹rÀ7„‹sÀ7΋tÀ85¤À8W‹[À8…‹cÀ8È‹4À8ö‹\À9D‹]À9²‹^À9è‹_À:7‹`À:ŸŠ(À:ΊqÀ:ò‹aÀ;$‹bÀ;c…Ó"'#‡ #‹A"'#‹B #‹C"'#‡ #Še"'#‚e #‚f"'#‚g #‚h'#I#‹ˆ€Ê€"'#‚e #‚f"'#‚g #‚h'#I#‹‰€Ë)(#‚j"'#‡ #‹A"'#‹B #‹C"'#‡ #Še'#‚j #…T'#‚j#‹Š€Ì)(#‚j(#‚Z"'#‡ #‹A"'#‹B #‹C"'#‡ #Še'#‚j"'#‚Z #‹: #…T"'#‚Z #‹:'#‚j#‹‹€Í)(#‚j(#‹<(#‹="'#‡ #‹A"'#‹B #‹C"'#‡ #Še'#‚j"'#‹< #‹>"'#‹= #‹? #…T"'#‹< #‹>"'#‹= #‹?'#‚j#‹Œ€Î)(#‚j"'#‡ #‹A"'#‹B #‹C"'#‡ #Še'#‚j #…T'#‹9&'#‚j#‹€Ï)(#‚j(#‚Z"'#‡ #‹A"'#‹B #‹C"'#‡ #Še'#‚j"'#‚Z #‹: #…T'#‹;&'#‚j'#‚Z#‹Ž€Ð)(#‚j(#‹<(#‹="'#‡ #‹A"'#‹B #‹C"'#‡ #Še'#‚j"'#‹< #‹>"'#‹= #‹? #…T'#‹@&'#‚j'#‹<'#‹=#‹€Ñ"'#‡ #‹A"'#‹B #‹C"'#‡ #Še"'#‚e #‚f"'#‚g #‚h'#‰Ÿ#‹€Ò"'#‡ #‹A"'#‹B #‹C"'#‡ #Še'#I #…T'#I#‹‘€Ó"'#‡ #‹A"'#‹B #‹C"'#‡ #Še"'#„À #„Á"'#I #‚O'#‹2#‹’€Ô"'#‡ #‹A"'#‹B #‹C"'#‡ #Še"'#„À #„Á'#I"'#‹2 #‹3 #‚O'#‹2#‹“€Õ"'#‡ #‹A"'#‹B #‹C"'#‡ #Še"'#á #…'#I#‹”€Ö"'#á #…'#I#‹•€×"'#‡ #‹A"'#‹B #‹C"'#‡ #Še"'#‹P #‹Q"'#‚€&'#‚e'#‚e #‹R'#‡#‹–€Ø '#Š*#‹—€Ù, +#‹—€Ú#‹y'#‹U€Û#‹z'#‹V€Ü#‹{'#‹W€Ý#‹|'#‹X€Þ#‹}'#‹Y€ß#‹~'#‹Z€à#‹'#‹T&'#‹K€á#‹€'#‹T&'#‹L€â#‹7'#‹T&'#‹M€ã#‹8'#‹T&'#‹N€ä#‹'#‹T&'#‹O€å#‹‚'#‹T&'#‹S€æ#‹ƒ'#‹T&'#‹D€ç#‹C'#Š*€è#‰'#‚€&'#‚e'#‚e€é@+*#‹˜€ê@+'#‹B*#‹™€ë#‹„'#‹B€ì#‹…'#‹B€í#‹g'#‡€î#‹l'#I'#I #…T€ï#‹m)(#‚Z'#I'#I"'#‚Z #‹: #…T"'#‚Z #‹:€ð#‹n)(#‹<(#‹='#I'#I"'#‹< #‹>"'#‹= #‹? #…T"'#‹< #‹>"'#‹= #‹?€ñ#‹o)(#‚j'#‹9&'#‚j'#‚j #…T€ò#‹p)(#‚j(#‚Z'#‹;&'#‚j'#‚Z'#‚j"'#‚Z #‹: #…T€ó#‹q)(#‚j(#‹<(#‹='#‹@&'#‚j'#‹<'#‹='#‚j"'#‹< #‹>"'#‹= #‹? #…T€ô#‹r'#I'#I #…T€õ#‹s)(#‚Z'#I"'#‚Z'#I"'#‚Z #‹: #…T€ö#‹t)(#‹<(#‹='#I"'#‹<"'#‹='#I"'#‹< #‹>"'#‹= #‹? #…T€÷#¤'#‚¨"'#‚e #‚¦€ø#‹['#I"'#‚e #‚f"'#‚g #‚h€ù#‹c'#‡"'#‹P #‹Q"'#‚€&'#‚e'#‚e #‹R€ú#‹4)(#‚j'#‚j'#‚j #…T€û#‹\)(#‚j(#‚Z'#‚j'#‚j"'#‚Z #‹: #…T"'#‚Z #‹:#<$…Å…Æ$…Ç2€ü#‹])(#‚j(#‹<(#‹='#‚j'#‚j"'#‹< #‹>"'#‹= #‹? #…T"'#‹< #‹>"'#‹= #‹?€ý#‹^)(#‚j'#‹9&'#‚j'#‚j #…T€þ#‹_)(#‚j(#‚Z'#‹;&'#‚j'#‚Z'#‚j"'#‚Z #‹: #…T€ÿ#‹`)(#‚j(#‹<(#‹='#‹@&'#‚j'#‹<'#‹='#‚j"'#‹< #‹>"'#‹= #‹? #…T#Š('#‰Ÿ"'#‚e #‚f"'#‚g #‚h#Šq'#I'#I #…T#‹a'#‹2"'#„À #„Á'#I #…T#‹b'#‹2"'#„À #„Á'#I"'#‹2 #‹3 #…T#…Ó'#I"'#á #…,ÀBi^ÀBwU‹yÀB‰U‹zÀB›U‹{ÀB­U‹|ÀB¿U‹}ÀBÑU‹~ÀBãU‹ÀBýU‹€ÀCU‹7ÀC1U‹8ÀCKU‹ÀCeU‹‚ÀCU‹ƒÀC™U‹CÀC«U‰ÀCË‹˜ÀCÜ‹™ÀCóU‹„ÀDU‹…ÀDU‹gÀD)‹lÀDM‹mÀD“‹nÀDù‹oÀE/‹pÀE~‹qÀEæ‹rÀF‹sÀF[‹tÀF¤ÀFä‹[ÀG‹cÀGU‹4ÀGƒ‹\ÀGâ‹]ÀHP‹^ÀH†‹_ÀHÕ‹`ÀI=Š(ÀIlŠqÀI‹aÀI‹bÀJ…Ó%+'#Š**#‹f'#‹—)(#‚j'#‚j #‹š"'#‚€&'#‚e'#‚e #‹R"'#‹P #‹›"'#…6 #„V$‹œ‹#„Ù'#‚j#‹ž)(#‚j'#‚j #‹š'#I"'#‚e #‚f"'#‚g #‹Ÿ #„Ù"'#‚€&'#‚e'#‚e #‹R"'#‹P #‹›'#‚j#‹ #$DE)(#‚j'#‚j #‹š"'#‚€&'#‚e'#‚e #‹R"'#‹P #‹Q'#‚j#‹¡ À¦2ÀÃ7‹9ÀÝ7‹;À +7‹@ÀJ‹DÀŸ‹EÀ÷‹FÀo‹GÀ‹HÀg‹IÀà‹JÀr7‹KÀÅ7‹LÀ 7‹MÀc7‹NÀÆ7‹OÀ 7‹SÀl‹TÀÓÀê‹UÀCÀZ‹VÀ³ÀÊ‹WÀ#À:‹XÀ“Àª‹YÀÀ‹ZÀsÀŠ‹PÀFÀ¯‹dÀ ŒÀ û‹BÀ$¾À%‡À+ÔÀ,¶‹wÀ0ÀÀ1*Š*À2èÀ3m‹†À;„À<Á‹ˆÀ=‹‰À=H‹ŠÀ=Ÿ‹‹À>‹ŒÀ>­‹À? ‹ŽÀ?„‹À@‹À@m‹‘À@º‹’ÀA‹“ÀA€‹”ÀAÊ‹•ÀAí‹–ÀBS‹—ÀJ"ÀKX%‹fÀK{‹žÀK÷‹ ÀLŠ‹¡‹¢‘ +ÀƒSÀ„oÀ‘À’“Àš)ÀªœÀ¬ÄÀÂqÀÔéÀòvÀ ÀtÀ–ÀLâ  @Î##‹£$„ ¹!#$!# #,# $„ »$‹¤‹¥'#…/#‹¦+'#á*#„W#‹¦ #„W#<$=>#‚”'#áÀO%„WÀO;^ÀO\‚”#‹§@+'# *#ŠC@+'# *#‹¨ +'#‹©*#‹ª ++'#‹«*#‹¬ +'#‹«*#‹­ €’#‹®'#á#$…ã…ä #‹§ #‹ª #‹¬ #‹­€Ò#…{'#‹§€Ò#‹¯'#‚~&'#†?#„V$‹°‹±€Ò#‹²'#‚~&'#†?€Â#‹³'#‚~&'#†?"'#†? #‹´€Â#‹µ)(#‚Z'#‚~&'#‹§'#I"'#‚Z #„W #‹¶"'#‚Z #„W"'#6 #‹·"'#6 #‹¸"'#‹© #‹¹"'#‹© #„Ù"'#á #$…ã…ä#‹®€Â#‹º'#‚~&'#‹§ "'#†? #†k"'#1&'#á #‹»""#„W"'#6 #‹·"'#‹© #‹¹"'#‹© #„Ù"'#6 #‹¸"'#6 #‹¼"'#‚€&'#á'#á #‹½"'#†? #„V$‹¾‹¿#‹¯"'#†? #‹²"'#6 #‹À"'#á #$…ã…ä#‹®#ˆ$'#‹«"'#‹« #‹Á€‚#‹Â'#I"'#‹« #‹Á€‚#ˆ&'#I"'#‹« #‹Á€‚#‹Ã'#I"'#‹© #‹Ä"'#‚e #‹Å€‚#‹Æ'#I"'#‹© #‹Ä€‚#‹Ç'#I"'#6 #‹¸€‚#‹È'#I"'# #‹É#‹¨€‚#‹Ê'#I"'#‹© #‹Ä"'#‚e #‹Å"'# #‹É#ŠC€‚#‹Ë'#I"'#‹© #†C€‚#‹Ì'#I"'#‹© #†C#‹Í'#óÀO”ŠCÀO«‹¨ÀO‹ªÀOØ‹¬ÀOî‹­ÀPU‹®ÀP#^ÀPQU…{ÀPcU‹¯ÀP‹U‹²ÀP¥‹³ÀPÏ‹µÀQ}‹ºÀRˆ$ÀR±‹ÂÀRÒˆ&ÀRó‹ÃÀS$‹ÆÀSE‹ÇÀSe‹ÈÀS‹‹ÊÀS΋ËÀSï‹ÌÀTU‹Í'#‹«#‹© #‹Î'#I"'#‚e #„W!#ƒÜ'#6""#2"#ƒÝ'# #ÀTä‹ÎÀUƒÜÀUUƒÝ'#ó&'#‚¨#‹Ï$’#‹Ï"'#á #‹®$†Ÿ^%²#‹Ï#‹Ð"'#‹Ñ #‹Ò&#ˆ'#‡&'#‚¨'#I""#„W #ˆ"'#…6 #„Ù'#I #ˆ"'#6 #ˆ'#ù'#I(#‹Ó'#‹©)ÀUa^ÀU‚‹ÐÀUŸˆÀVùÀVU‹Ó#‹Ñ*’#‹Ñ"'#…6 #‹Ô"'#á #‹®$†Ÿ^+"#‹Ô'#I"'#…6 #‹Õ,#ù'#I-#‹Ó'#‹©.ÀVY^ÀVŠV‹ÔÀVªùÀV½U‹Ó'#‚š#‹Ö/+'#á*#‹×0+'#‚g*#‚h1#‹Ö"'#á #‹Ø"'#á #‹Ù2#‚”'#á3ÀW‹×ÀW‚hÀW,^ÀWS‚”#‹Ú#$‹Û‹Ü4²#‹Ú#_"'#1&'#, #¨5#‹Ý'# 6ÀW _ÀW‹ÝÀNÁÀO‹¦ÀOpÀO†‹§ÀT!ÀT΋©ÀU-ÀUC‹ÏÀV(ÀVK‹ÑÀVÎÀVê‹ÖÀWgÀW…‹ÚÀWÕ  @Î##‹£#‹«’#‹«ÀX`^ÀX5ÀXR‹«ÀXm‹Þð ÀWãÀXt  @Î##‹ß$¸¹$‡„!#‹§#‹Ñ#‹©$‹à‹á$‹â‹ã$‹ä‹å$‹æ‹ç$‹è‹é€"'#6 #‹ê"'#á #„W'#6#‹ë€"'#‚e #‚ '#‚e#‹ì€"'#á #„W"'#„Œ #‹í"'# #‹î"'# #‹ï"'#á #à$†Ÿ^"'#‡ #Še"'#‚e #‚f"'#‚g #‚h'#I#ƒÚÀX“ÀX÷‹ëÀY-‹ìÀYPƒÚ  @Î##‹ß#‹ð+'#á*#Š+'# *#‹ñ+'#á*#‹ò!#‹ð#Š"'#á #Š!#‹ð#‚f"'# #‹ñ"'#á #‹ò@+*#‹ó#‹ô#‚´@+*#‹õ#‹ö#‚´@+*#‹÷#‹ø#‚´@+*#‹ù#‹ú#‚´ @+*#‹ôOOHZ +@+*#‹öOOH} @+*#‹øOOH} @+*#‹úOOH} @#‹û'#á"'# #‹ñ@#‹ü"'# #‹ñ#‹ý'#6#‹þ'#áÀZ+ŠÀZA‹ñÀZV‹òÀZlŠÀZ‰‚fÀZ²‹óÀZÌ‹õÀZæ‹÷À[‹ùÀ[‹ôÀ[5‹öÀ[P‹øÀ[k‹úÀ[†‹ûÀ[¦‹üÀ[À‹ýÀ[Ó‹þ7'#‚~&'#‹ð"'#á #…<"'#‚€&'#á'#á #†T#‹ÿ"'#á #…<"'#‹ÿ #‹Ô'#I#Œ"'#á #Œ"'#‚€ #Œ'#I#Œ€"'#á #Œ"'#á #Œ'#I#Œ€"'#á #…<'#‹ÿ#Œ€"'#á #…<"'#‹ÿ #‹Ô#ŒÀZÀZ‹ðÀ[çÀ\j7‹ÿÀ\¬ŒÀ\ÛŒÀ] +ŒÀ]9ŒÀ]\Œ  @Î##‹ß#Œ@+*#Œ@’#Œ"'#á #Œ #Œ '#á#Œ +'#Œ€Ò#Œ '#ŒÀ]ëŒÀ]ý^À^UŒ À^(Œ +À^O ' #6#„‡$ŒŒ@#Œ'#á#<$=>O ' #6#„‡$ŒŒÀ`ÉŒÀ`íŒÀa ŒÀa-ŒÀaoŒÀ]ÀÀ]ÝŒÀ^NÀ^rŒ À^ˆŒ À^õÀ_ŒÀ_ÛÀ` ŒÀ`™À`»ŒÀa¤  @Î##‹ß#Œ+'# *#Œ+'# *#Œ+'#†?*#Œ#Œ #Œ#‚”'#áÀb7ŒÀbLŒÀbaŒÀbw^Àb‚”#ŒD#Œ '#‚~&'#ŒD#Œ!'#‚~&'#Œ"'#6 #Œ""'#6 #Œ#@#Œ$'#á"'#‹§ #‹£ ÀbÕŒ ÀbñŒ!Àc-Œ$€"'#‹© #‹Ó'#I#Œ% +€"'#‹© #‹Ó"'#6 #Œ""'#6 #Œ#'#I#Œ& €'# #Œ' €'# #Œ( €"'#‹© #‹Ó'#á#Œ)Àb Àb)ŒÀb¡ÀbÇŒÀcNÀcdŒ%Àc†Œ&ÀcÀŒ'ÀcÕŒ(ÀcêŒ)  @Î##‹ß%+'#6*#Œ*' #6#„‡$Œ+Œ,<„ˆ)(#‚Z'#‚Z#Œ-7'#‚~#Œ.#Œ/ @+'# *#Œ0 @+'# *#Œ1 +@+'# *#‰I +'# *#Œ2+'# *#Œ"#Œ/#8 #Œ2 #Œ @#Œ3'#Œ/"'# #Œ +@#Œ4'#Œ/"'# #Œ @#C'#Œ/"'# #Œ ÀdÓŒ0ÀdêŒ1Àe‰IÀeŒ2Àe-ŒÀeB8ÀecŒ3Àe†Œ4Àe¦C#Œ5 @#Œ6'#I"'#á #à"'#‚€ #Œ7"'#Œ/ #Œ8@#Œ9'#I@#Œ:'#I"'#á #à"'#‚€ #Œ7@#Œ;)(#‚Z'#‚Z"'#á #à"'#Œ-&'#‚Z #…8"'#‚€ #Œ7"'#Œ/ #Œ8P#„­'# @+'#1&'#Œ<*#Œ=ÀfŒ6ÀfVŒ9ÀfiŒ:Àf™Œ;Àf÷U„­ÀgŒ=#Œ> #Œ>"'#Œ> #‹C"'#á #Œ?!#Œ>#Œ@"'# #ŒA"'#á #Œ?#B'#I"'#á #à"'#‚€ #Œ7#ŒB'#I"'#á #à"'#‚€ #Œ7#‡5'#I"'#‚€ #Œ7#ŒC'# @+'#á*#ŒD$ŒEŒ?+'#Œ>*#ŒF+'#á*#ŒG+'# *#ŒH+'#1&'#ŒI*#Œ= Àg^^Àg‹Œ@Àg·BÀgæŒBÀh‡5Àh9ŒCÀhLŒDÀhgŒFÀh}ŒGÀh“ŒHÀh¨Œ=#ŒI +'#á*#ŒJ!+'#á*#à"+'# *#ŒH#"#ŒI#8 #à #ŒH$#…ô'#I"'#‚€ #Œ7%#ŒK'#I"'#‚€ #Œ7&Ài$ŒJÀi:àÀiPŒHÀie8Ài†…ôÀi¦ŒK#Œ<'+'#á*#ŒJ(+'#á*#à)+'#‚€*#ŒL*+'#Œ/*#ŒM+"#Œ<#8 #à,#ŒN'#I-#‡5'#I. #Œ8'#I"'#Œ/ #…T/ÀjŒJÀjàÀj-ŒLÀjCŒMÀjY8ÀjqŒNÀj„‡5Àj—VŒ8"'#‚€ #Œ7'#á#ŒO0€'#6#ŒP#<$…Å…Æ$ŒQŒR1€'# #ŒS2€'# #ŒT3€"'# #ŒA"'#á #ŒU"'#á #ŒJ"'#á #à"'#á #ŒV'#I#ŒW4€"'#á #ŒJ"'#á #à"'# #ŒX"'# #Œ"'#á #ŒV'#I#ŒY5€"'#á #ŒJ"'#á #à"'#á #ŒV'#I#ŒZ6ÀdKÀdh%Œ*Àd–Œ-Àd³7Œ.ÀdÅŒ/ÀeÅÀfŒ5Àg$ÀgPŒ>ÀhÅÀiŒIÀiÆÀióŒ<Àj·ÀjóŒOÀkŒPÀk=ŒSÀkRŒTÀkgŒWÀk¼ŒYÀlŒZŒ[‚6ÀYæÀ]†ÀaÉÀd ÀlL  @Î##Œ\$‹à‹á$º»$Œ]Œ^$Œ_Œ`$„„$ŒaŒb$ŒcŒd€)(#‚Z'#Œe'# #Œf%+'#Œg&'#†ˆ*#Œh)(#‚Z'#Œe '#Œe#Œg#<$=>²#Œg#Œi"'# #Œj€Â#Œk)(#‚Z'#…6'#Œg&'#Œl&'#‚Z"'#…6 #Œm$Œn‚Z#…T"'#‚e #Œo€’#Œp'# €‚#…s'#Œg&'#‚Z"'# #¥€‚#‚y)(#Œq'#Œe'#Œg&'#Œq #ƒÜ'#6"'#‚e #2 +#ƒÝ'# Àm®ŒiÀmÊŒkÀn(UŒpÀn9…sÀnb‚yÀnƒÜÀn¬UƒÝ)(#‚Z'#Œe '#Œe#Œr #Œr"'# #Œs"'# #Œt"'# #Œu"'# #Œv"'# #Œw'#Œx&'#‚Z >#Œr#Š|"'#1&'# #Œy'#Œx&'#‚Z#Š|Ào^ÀovŠ|)(#‚Z'#Œe'#Œr&'#‚Z#Œx+'# *#Œs+'# *#Œt+'# *#Œu+'# *#Œv+'# *#Œw+'#1&'# *#Œy #Œx #Œs #Œt #Œu #Œv #Œw2#Œy1+#Œx#Š| #Œy2#Œs12#Œt12#Œu12#Œv12#Œw1ÀoæŒsÀoûŒtÀpŒuÀp%ŒvÀp:ŒwÀpOŒyÀpk^Àp·Š|)(#Œz'#…6'#Œg&'#Œl&'#Œz#Œ{€‚#Œ|)(#Œ}'#…6#Œm$Œ~Œz'#Œ}ÀqZŒ|'#Œg&'#Œ#Œ€€’#J'# €¢#J'#I"'# #J€ƒ#¤'# "'# #¥€ƒ#…5'#I"'# #¥"'# #J€‚#Œ'#"'# #Àq«UJÀq»VJÀqÙ¤Àqù…5Àr$Œ'#Œg&'#Œ‚#Œƒ €’#J'# !€¢#J'#I"'# #J"€ƒ#¤'# "'# #¥#€ƒ#…5'#I"'# #¥"'# #J$€‚#Œ'#"'# #%Àr}UJÀrVJÀr«¤ÀrË…5ÀröŒ'#Œg&'#Œ„#Œ…&€’#J'# '€¢#J'#I"'# #J(€ƒ#¤'# "'# #¥)€ƒ#…5'#I"'# #¥"'# #J*€‚#Œ'#"'# #+ÀsOUJÀs_VJÀs}¤Às…5ÀsÈŒ'#Œg&'#Œ†#Œ‡,€’#J'# -€¢#J'#I"'# #J.€ƒ#¤'# "'# #¥/€ƒ#…5'#I"'# #¥"'# #J0€‚#Œ'#"'# #1Àt!UJÀt1VJÀtO¤Àto…5ÀtšŒ'#Œg&'#Œˆ#Œ‰2€’#J'# 3€¢#J'#I"'# #J4€ƒ#¤'# "'# #¥5€ƒ#…5'#I"'# #¥"'# #J6€‚#Œ'# "'# #7ÀtóUJÀuVJÀu!¤ÀuA…5ÀulŒ'#Œg&'#ŒŠ#Œ‹8€’#J'# 9€¢#J'#I"'# #J:€ƒ#¤'# "'# #¥;€ƒ#…5'#I"'# #¥"'# #J<€‚#Œ'#"'# #=ÀuÅUJÀuÕVJÀuó¤Àv…5Àv>Œ'#Œg&'#ŒŒ#Œ>€’#J'# ?€¢#J'#I"'# #J@€ƒ#¤'# "'# #¥A€ƒ#…5'#I"'# #¥"'# #JB€‚#Œ'#"'# #CÀv—UJÀv§VJÀvŤÀvå…5ÀwŒ'#Œg&'#ŒŽ#ŒD€’#J'# E€¢#J'#I"'# #JF€ƒ#¤'# "'# #¥G€ƒ#…5'#I"'# #¥"'# #JH€‚#Œ'#"'# #IÀwiUJÀwyVJÀw—¤Àw·…5ÀwâŒ'#Œg&'#Œ#Œ‘J€’#J'# K€¢#J'#I"'# #JL€ƒ#¤'# "'# #¥M€ƒ#…5'#I"'# #¥"'# #JNÀx;UJÀxKVJÀxi¤Àx‰…5'#Œg&'#Œ’#Œ“O€’#J'#4P€¢#J'#I"'#4 #JQ€ƒ#¤'#4"'# #¥R€ƒ#…5'#I"'# #¥"'#4 #JS€‚#Œ'##"'# #TÀxçUJÀx÷VJÀy¤Ày5…5Ày`Œ'#Œg&'#Œ”#Œ•U€’#J'#4V€¢#J'#I"'#4 #JW€ƒ#¤'#4"'# #¥X€ƒ#…5'#I"'# #¥"'#4 #JY€‚#Œ'#%"'# #ZÀy¹UJÀyÉVJÀyç¤Àz…5Àz2Œ'#Œr&'#Œ#Œ–[€ƒ#¤'# "'# #¥\€ƒ#…5'#I"'# #¥"'# #J]Àz‹¤Àz«…5'#Œr&'#Œ‚#Œ—^€ƒ#¤'# "'# #¥_€ƒ#…5'#I"'# #¥"'# #J`Àzý¤À{…5'#Œr&'#Œ„#Œ˜a€ƒ#¤'# "'# #¥b€ƒ#…5'#I"'# #¥"'# #JcÀ{o¤À{…5'#Œr&'#Œ†#Œ™d€ƒ#¤'# "'# #¥e€ƒ#…5'#I"'# #¥"'# #JfÀ{á¤À|…5'#Œr&'#Œˆ#Œšg€ƒ#¤'# "'# #¥h€ƒ#…5'#I"'# #¥"'# #JiÀ|S¤À|s…5'#Œr&'#ŒŠ#Œ›j€ƒ#¤'# "'# #¥k€ƒ#…5'#I"'# #¥"'# #JlÀ|ŤÀ|å…5'#Œr&'#ŒŒ#Œœm€ƒ#¤'# "'# #¥n€ƒ#…5'#I"'# #¥"'# #JoÀ}7¤À}W…5'#Œr&'#ŒŽ#Œp€ƒ#¤'# "'# #¥q€ƒ#…5'#I"'# #¥"'# #JrÀ}©¤À}É…5'#Œr&'#Œ#Œžs€ƒ#¤'# "'# #¥t€ƒ#…5'#I"'# #¥"'# #JuÀ~¤À~;…5'#Œr&'#Œ’#ŒŸv€ƒ#¤'#4"'# #¥w€ƒ#…5'#I"'# #¥"'#4 #JxÀ~¤À~­…5'#Œr&'#Œ”#Œ y€ƒ#¤'#4"'# #¥z€ƒ#…5'#I"'# #¥"'#4 #J{À~ÿ¤À…5)(#‚Z'#Œe'#Œg&'#Œg&'#‚Z#Œ¡|€’#J'#Œg&'#‚Z}€¢#J'#I"'#Œg&'#‚Z #J~€ƒ#¤'#Œg&'#‚Z"'# #¥€ƒ#…5'#I"'# #¥"'#Œg&'#‚Z #J€€À‡UJÀ VJÀǤÀð…5)(#‚Z'#Œ¢'#Œg&'#‚Z#Œ£€€’#‡ '#‚Z€‚€ƒ#¤'#‚Z"'# #¥€ƒÀ€gU‡ À€z¤)(#‚Z'#Œe'#Œr&'#Œg&'#‚Z#Œ¤€„€ƒ#¤'#Œg&'#‚Z"'# #¥€…€ƒ#…5'#I"'# #¥"'#Œg&'#‚Z #J€†À€Ú¤À…5)(#‚Z'#Œ¢'#Œr&'#‚Z#Œ¥€‡€ƒ#¤'#‚Z"'# #¥€ˆÀo¤)(#‚Z'#Œe'#Œr&'#Œr&'#‚Z#Œ¦€‰€ƒ#¤'#Œr&'#‚Z"'# #¥€Š€ƒ#…5'#I"'# #¥"'#Œr&'#‚Z #J€‹ÀȤÀò…5'#‹©#Œ§€Œ€’#Œ¨'# €À‚GUŒ¨ '#Œ©#Œª€Ž'#Œ«"'#Œ†"'#Œg&'#Œª#Œ¬€#Œ­€€Ò#Œ'# €‘€Ò#Œ'# €’€Ò#Œ®'#Œg&'#Œl&'#Œ"'#Œ†"'#Œg&'#Œª€“€Ò#Œ¯'#Œg&'#Œl&'#Œ†"'#Œg&'#Œˆ"'#Œg&'#Œl&'#Œ¬"'#Œ€”€Ò#Œ°'#Œg&'#Œl&'#Œ"'#Œ†€•€Ò#Œ±'#Œg&'#Œ«€–À‚¹UŒÀ‚ËUŒÀ‚ÝUŒ®Àƒ#UŒ¯ÀƒƒUŒ°Àƒ·UŒ±Àlê%Àm?ŒfÀmb%ŒhÀm€ŒgÀn¼ÀnîŒrÀo¬ÀoºŒxÀpîÀq,Œ{Àq‹Àq“Œ€ÀrCÀreŒƒÀsÀs7Œ…ÀsçÀt Œ‡Àt¹ÀtÛŒ‰Àu‹Àu­Œ‹Àv]ÀvŒÀw/ÀwQŒÀxÀx#Œ‘Àx´ÀxÏŒ“ÀyÀy¡Œ•ÀzQÀzsŒ–ÀzÖÀz北À{HÀ{WŒ˜À{ºÀ{ÉŒ™À|,À|;ŒšÀ|žÀ|­Œ›À}À}ŒœÀ}‚À}‘ŒÀ}ôÀ~ŒžÀ~fÀ~uŒŸÀ~ØÀ~猠ÀJÀYŒ¡À€%À€@Œ£À€œÀ€«Œ¤À9ÀHŒ¥À‘À™Œ¦À‚'À‚6Œ§À‚YÀ‚aŒªÀ‚wÀ‚xŒ¬À‚ªŒ­ÀƒÒ  @Î##Œ\#Œe +#ŒeÀ…¹^ '#Œe#Œ© '#Œe#Œ² +#Œ²À…ø^ '#Œe#Œ³ +#Œ³À†!^ '#Œ²#Œ +#ŒÀ†J^ '#Œ²#Œ‚  +#Œ‚ +À†s^ '#Œ²#Œ„  +#Œ„ À†œ^ '#Œ²#Œ†  +#Œ†À†Å^ '#Œ²#Œˆ +#ŒˆÀ†î^ '#Œ²#ŒŠ +#ŒŠÀ‡^ '#Œ²#ŒŒ +#ŒŒÀ‡@^ '#Œ²#ŒŽ +#ŒŽÀ‡i^ '#Œ²#Œ +#ŒÀ‡’^ '#Œ³#Œ’ +#Œ’À‡»^ '#Œ³#Œ” +#Œ”À‡ä^ '#Œe#Œ«#Œ´ '#Œe#Œµ)(#‚Z'#…6 '#Œe#Œl#Œ´À…ŽÀ…«ŒeÀ…ÆÀ…ÍŒ©À…âÀ…㌲À†À† Œ³À†.À†5ŒÀ†WÀ†^Œ‚À†€À†‡Œ„À†©À†°Œ†À†ÒÀ†ÙŒˆÀ†ûÀ‡ŒŠÀ‡$À‡+ŒŒÀ‡MÀ‡TŒŽÀ‡vÀ‡}ŒÀ‡ŸÀ‡¦Œ’À‡ÈÀ‡ÏŒ”À‡ñÀ‡øŒ«ÀˆÀˆŒµÀˆ*Àˆ+ŒlÀˆU  @Î##Œ\#Œ¶ #Œ¶#8#Œ·)(#‚Z'#Œe'#Œg&'#‚Z"'# #Œ¸"'# #Œ¹#Œº'#I"'#Œg #Œ»À‰L8À‰[Œ·À‰ Œº'#Œ¶#Œ¼€‚#Šs)(#‚Z'#Œe'#Œg&'#‚Z"'# #‚%À‰åŠsÀ‰!À‰>Œ¶À‰ÀÀ‰ÕŒ¼ÀŠ!  @Î##Œ\#Œm +#Œm"'#á #Œ½ÀŠo^#Œ¾ +#Œ¾ÀŠž^%+*#Œ´'#Œ¾ÀŠDÀŠaŒmÀŠ‰ÀŠŒ¾ÀŠ«ÀŠ²%Œ´  @Î##Œ\#Œ¿²#Œ¿#ŒÀ²#Œ¿#ŒÁ²#Œ¿#ŒÂ"'#á #†D€‚#…é)(#‚Z'#Œe'#Œg&'#‚Z"'#á #ŒÃ€ƒ#ƒÜ'#6"'#‚e #2€’#ƒÝ'# €’#ŒÄ'#Œg&'#Œ«À‹ŒÀÀ‹,ŒÁÀ‹<ŒÂÀ‹Y…éÀ‹‘ƒÜÀ‹±UƒÝÀ‹ÂUŒÄ'#Œ¿#ŒÅ€‚#ŒÆ)(#‚Z'#…6(#ŒÇ'#…6'#ŒÇ"'#á #ŒÃ ÀŒŒÆÀŠñÀ‹Œ¿À‹ÜÀŒŒÅÀŒZ  @Î##Œ\ '#Œe#Œ¢+'#‚e*#ŒÈ#<$=>#Œ¢"#Œ¢#ŒÉ #ŒÈÀŒ¯ŒÈÀŒÐ^ÀŒÝŒÉ#ŒÊ+'# *#ŒË +#ŒÊ #ŒËÀŒËÀ/^ÀŒ}ÀŒšŒ¢ÀŒöÀ ŒÊÀEŒÌ›ÀƒýÀˆVÀŠ)ÀŠÎÀŒbÀT  @Î#ŒÍ#ŒÎ%+*#ŒÏ$ŒÐŒÑ%+*#ŒÒ$ŒÓŒÔ%+*#ŒÕ$ŒÖŒ×%+*#ŒØ$ŒÙŒÚ%+*#ŒÛ$ŒÜ…I%+*#ŒÝ$ŒÞŒß%+*#Œà$ŒáŒâ%+*#Œã$ŒäŒå%+*#Œæ$ŒçŒè%+*#Œé$ŒêŒë %+*#Œì$ŒíŒî +%+*#Œï$ŒðŒñ %+*#Œò$ŒóŒô %+*#Œõ$ŒöŒ÷ %+*#Œø$ŒùŒú%+*#Œû$ŒüŒý%+*#Œþ$Œÿ%+*#$%+*#$%+*#$ %+*# +$ %+*# $%+*#$%+*#$  +# +# +# +# +# +# +# +# +#! +#" +# # +#!$ +#"% +##& +#$' +#%( +#&) +#'* +#(+ +#), +#*- +#+. +#,/ +#-0#.  +#/2 +#03 +#14 +#25 +#36#41#57@+'#á*#68@+'#á*#79@+'#á*#8:@+'#á*#9;@+'#á*#:<ÀŒ6À¢7À¸8ÀÎ9Àä:ÀŽÀ«%ŒÏÀÀ%ŒÒÀÕ%ŒÕÀê%ŒØÀÿ%ŒÛÀŽ%ŒÝÀŽ)%ŒàÀŽ>%ŒãÀŽS%ŒæÀŽh%ŒéÀŽ}%ŒìÀŽ’%ŒïÀŽ§%ŒòÀŽ¼%ŒõÀŽÑ%ŒøÀŽæ%ŒûÀŽû%ŒþÀ%À%%À:%ÀO% +Àd% Ày%ÀŽ%À£ .ÀS 4À~5Àú;þÀ‘#  @Î##<!#.#Œà#Œã$=>!#?#@#A$BC!#D#E$FG!#H$IJ#K%+'#L*#Œå%+'#M*#N%+'#L*#Œâ%+'#M*#O#L +*#P +#L #P #¤'#á"'#á #‚¦ À’íPÀ’ý^À“¤ '#L#Q #Q" #P#¤'#á"'#á #‚¦À“_^À“s¤#M+*#P+'#6*#R+'# *#S+'#‚€&'#á'#á*#T#M #P #R#U'#‚€&'#á'#á#V'# #¤'#á"'#á #‚¦À“°PÀ“ÀRÀ“ÕSÀ“êTÀ”^À”-UÀ”OUVÀ”_¤" #W'#1#X#<$YZ"'#á #à'#á#["'#á #ƒ"'#á#\À’ À’wKÀ’‡%ŒåÀ’%NÀ’³%ŒâÀ’É%OÀ’ßLÀ“4À“JQÀ“”À“¢MÀ”€À”¼XÀ”å[À•\]€âÀ•+  @Î#ŒÍ#^#_z"#_#8@+'# *#ƒ#`@+'#á*#a#b@+'# *#c#d@+'#á*#e#f@+'# *#g#h@+'#á*#i#j@+'# *#k#l@+'#á*#m#n @+'# *#o#p +@+'#á*#q#r @+'# *#s#t @+'#á*#u#v @+'# *#w#x@+'#á*#y#z@+'# *#{#|@+'#á*#}#~@+'# *##€@+'#á*##‚@+'# *#ƒ#„@+'#á*#…#†@+'# *#‡#ˆ@+'#á*#‰#Š@+'# *#‹#Œ@+'#á*##Ž@+'# *##@+'#á*#‘#’@+'# *#“#”@+'#á*#•#–@+'# *#—#˜@+'#á*#™#š@+'# *#›#œ @+'#á*##ž!@+'# *#Ÿ# "@+'#á*#¡#¢#@+'# *#£#¤$@+'#á*#¥#¦%@+'# *#§#¨&@+'#á*#©#ª'@+'# *#«#¬(@+'#á*#­#®)@+'# *#¯*@+'#á*#°LN^M#¯N^+@+'# *#±,@+'#á*#²LN^M#±N^-@#³'#6"'# #†.@#´'# "'# #†/@#µ'#6"'# #†±0@+'# *#Š#¶1@+'# *#· 2@+'#á*#¸$¹º3@+'# *#» 4@+'#á*#¼$† ƒv5@+'# *#¤!6@+'#á*#¦$½¾7@+'# *#h#8@+'#á*#j$¿À9@+'# *#Á$:@+'#á*#Â$ÃÄ;@+'# *#Å%<@+'#á*#Æ$Ç„m=@+'# *#¬&>@+'#á*#®$È?@+'# *#É'@@+'#á*#Ê$ËÌA@+'# *#ˆ(B@+'#á*#Š$ˆîˆïC@+'# *#Œ)D@+'#á*#Ž$ˆñˆòE@+'# *#t*F@+'#á*#v$ÍpG@+'# *#Î+H@+'#á*#Ï$Ð0I@+'# *#`,J@+'#á*#b$ÑÒK@+'# *#Ó-L@+'#á*#Ô$ÕoM@+'# *#¶.N@+'#á*#Ö$×ØO@+'# *#|/P@+'#á*#~$ÙqQ@+'# *#Ú0R@+'# *#Û9S@+'# *# :T@+'#á*#¢$܃|U@+'# *#d;V@+'#á*#f$ÝÞW@+'# *#€<X@+'#á*#‚$ß„sY@+'# *#‹"=Z@+'#á*#à$áâ[@+'# *#„>\@+'#á*#†$ã„u]@+'# *#x?^@+'#á*#z$äå_@+'# *#l@`@+'#á*#n$æça@+'# *#èAb@+'# *#éZc@+'# *#[d@+'#á*#’$êëe@+'# *#ì\f@+'#á*#í$îïg@+'# *#”]h@+'#á*#–$ðñi@+'# *#¨^j@+'#á*#ª$òŽk@+'# *#ó_l@+'#á*#ô$õ8m@+'# *#ö`n@+'#á*#÷$øùo@+'# *#úap@+'# *#ûzq@+'# *#˜{r@+'#á*#š$üýs@+'# *#þ|t@+'#á*#ÿ$ŽŒu@+'# *#œ}v@+'#á*#ž$ŽŽw@+'# *#p~x@+'#á*#r$Ž„ry@#Ž'#IzzÀ•Ã8À•ÒƒÀ•êaÀ–cÀ–eÀ–4gÀ–LiÀ–ekÀ–}mÀ––oÀ–®qÀ–ÇsÀ–ßuÀ–øwÀ—yÀ—){À—A}À—ZÀ—rÀ—‹ƒÀ—£…À—¼‡À—Ô‰À—í‹À˜À˜À˜6‘À˜O“À˜g•À˜€—À˜˜™À˜±›À˜ÉÀ˜âŸÀ˜ú¡À™£À™+¥À™D§À™\©À™u«À™­À™¦¯À™½°À™Þ±À™õ²Àš³Àš5´ÀšTµÀšsŠÀš‹·Àš¢¸Àš½»ÀšÔ¼Àšï¤À›¦À›!hÀ›8jÀ›SÁÀ›jÂÀ›…ÅÀ›œÆÀ›·¬À›Î®À›éÉÀœÊÀœˆÀœ2ŠÀœMŒÀœdŽÀœtÀœ–vÀœ°ÎÀœÇÏÀœá`ÀœøbÀÓÀ*ÔÀD¶À[ÖÀv|À~À§ÚÀ¾ÛÀÕ Àì¢ÀždÀžfÀž9€ÀžP‚Àžk‹"Àž‚àÀž„Àž´†ÀžÏxÀžæzÀŸlÀŸnÀŸ3èÀŸJéÀŸaÀŸx’ÀŸ“ìÀŸªíÀŸÅ”ÀŸÜ–ÀŸ÷¨À ªÀ )óÀ @ôÀ ZöÀ q÷À ŒúÀ £ûÀ º˜À ÑšÀ ìþÀ¡ÿÀ¡œÀ¡5žÀ¡PpÀ¡grÀ¡‚ŽÀ•˜À•µ_À¡•ŽxÀ¥`  @Î#Ž! #Ž#Ž#?#Ž #@#Ž +#A#Ž #Ž #Ž #Ž$BC!#Ž#H#Ž#Ž$IJ!#[$ŽŽ!#4#.#5#Œò#ŒÕ##ŒÛ$=>$ŽŽ#ŽD+'#‚e*#Ž#<$ŽŽ+'#‚e*#Ž#<$ŽŽ@#Ž'#I"'#Ž #Ž"'#‚e #Ž@#Ž'#I"'#Ž #Ž"'#‚e #Ž @#Ž'#6"'#Ž #Ž"'#‚e #‚ #<$ŽŽ +@#Ž!'#6"'#Ž #Ž"'#‚e #‚ #<$ŽŽ #Ž"'#Ž"'#‚e #Ž# #‹/'#Ž"'#‚e #Ž$ #Ž%'#Ž"'#‚e #Ž$+'#‚e*#Ž&#<$ŽŽ@#Ž''#‚e"'#Ž #Ž@#Ž('#I"'#Ž #Ž"'#‚e #Ž)@#Ž*'#Ž"'#‚e #Ž+"'#Ž #Ž@#Ž,'#Ž"'#‚e #Ž+"'#Ž #Ž+'#‚e*#Ž-+'#‚e*#Ž.+'#‚e*#Ž/+'#‚e*#Ž0#<$ŽŽ@#Ž1'#‚e"'#Ž #Ž@#Ž2'#I"'#Ž #Ž"'#‚e #J+'#‚e*#Ž3@#Ž4'#Ž5"'#Ž #Ž@#Ž6'#I"'#Ž #Ž"'#Ž5 #ŒX+'#‚e*#Ž7@#Ž8'# "'#Ž #Ž@#Ž9'#I"'#Ž #Ž"'# #Ž:@+'# *#Ž; @+'# *#Ž<!@+'# *#Ž="@+'# *#Ž>#@+'# *#Ž?$@+'# *#Ž@%@+'# *#ŽA&@+'# *#ŽB'@+'# *#ŽC (@+'# *#ŽD +)@+'# *#ŽE *@+'# *#ŽF +@+'# *#ŽG ,@#ŽH'#6"'#Ž #Ž-+'#‚e*#ŽI.@#ŽJ'#‚e"'#Ž #Ž/@#ŽK'#I"'#Ž #Ž"'#‚e #J0+'#‚e*#ŽL1@#ŽM'#‚e"'#Ž #Ž2@#ŽN'#I"'#Ž #Ž"'#‚e #J3@#ŽO'#á"'#Ž #Ž4@#ŽP'#H"'#Ž #Ž5@#ŽQ'#Ž"'#Ž #Ž6@#ŽR'#H"'#Ž #Ž7@#ŽS'#Ž"'#Ž #Ž8@#ŽT'#Ž"'#Ž #Ž9@#ŽU'#Ž"'#Ž #Ž:@#ŽV'#Ž"'#Ž #Ž;@#ŽW'#ŽX"'#Ž #Ž<@#ŽY'#Ž"'#Ž #Ž=@#ŽZ'#H"'#Ž #Ž>@#Ž['# "'#Ž #Ž?+'#‚e*#Ž\@@#Ž]'#‚e"'#Ž #ŽA@#Ž^'#I"'#Ž #Ž"'#‚e #JB+'#‚e*#Ž_C@#Ž`'#‚e"'#Ž #ŽD@#Ža'#I"'#Ž #Ž"'#‚e #JE@#Œ·'#ŽF+'#‚e*#ŽbG@#Žc'#á"'#Ž #ŽH@#Žd'#I"'#Ž #Ž"'#á #yIDÀ¦'ŽÀ¦JŽÀ¦mŽÀ¦šŽÀ¦ÇŽÀ§Ž!À§;Ž"À§\‹/À§}Ž%À§žŽ&À§ÁŽ'À§âŽ(À¨Ž*À¨=Ž,À¨kŽ-À¨Ž.À¨—Ž/À¨­Ž0À¨ÐŽ1À¨ñŽ2À©Ž3À©3Ž4À©TŽ6À©Ž7À©—Ž8À©·Ž9À©ãŽ;À©úŽ<ÀªŽ=Àª(Ž>Àª?Ž?ÀªVŽ@ÀªmŽAÀª„ŽBÀª›ŽCÀª²ŽDÀªÉŽEÀªàŽFÀª÷ŽGÀ«ŽHÀ«.ŽIÀ«DŽJÀ«eŽKÀ«‘ŽLÀ«§ŽMÀ«ÈŽNÀ«ôŽOÀ¬ŽPÀ¬6ŽQÀ¬WŽRÀ¬xŽSÀ¬™ŽTÀ¬ºŽUÀ¬ÛŽVÀ¬üŽWÀ­ŽYÀ­>ŽZÀ­_Ž[À­Ž\À­•Ž]À­¶Ž^À­âŽ_À­øŽ`À®ŽaÀ®EŒ·À®YŽbÀ®oŽcÀ®Žd#ŽXJ +@#Œ·'#ŽXK+'#‚e*#ŽeL@#Žf'#H"'#ŽX #†TM@#Žg'#I"'#ŽX #†T"'#‚e #ŽhN+'#‚e*#ŽiO@#Žj'#H"'#ŽX #†TP@#Žk'#I"'#ŽX #†T"'#‚e #ŽlQ+'#‚e*#…HR@#Žm'#H"'#ŽX #†TS@#Žn'#I"'#ŽX #†T"'#‚e #…KT +À°ÂŒ·À°ÖŽeÀ°ìŽfÀ± ŽgÀ±:ŽiÀ±PŽjÀ±qŽkÀ±ž…HÀ±´ŽmÀ±ÕŽn'#‚e#ŽoU"'#Ž #‹½"'#á #Ž#'#Ž#ŽpV"'#Ž #‹½"'#Ž #…I'#Ž#ŽqW"'#Ž #‹½"'#Ž #…I'#Ž#ŽrX"'#á #Ž#'#Ž#ŽsY"'#‚e #‡J"'#á #Ž#'#Ž#ŽtZ"'#Ž #Žu"'#Ž #Žv'#Ž#Žw#<$YZ["'#‚e #Ž+"'#Ž #Ž"'#‚e #…?"'# #Žx'#Ž#Žy\"'#‚e #Ž+"'#‚e #Žz"'#‚e #…?"'# #Žx'#‚e#Ž{]"'#‚e #Ž+"'#‚e #Ž|"'#‚e #…?"'# #Žx'#‚e#Ž}^"'#‚e #Ž+"'#ŽX #Ž~"'#‚e #…?"'# #Žx'#ŽX#Ž_"'#‚e #‚ '#6#Ž€`"'#‚e #‚ '#6#Ža"'#‚e #…†"'#‚e #Ž'#‚e#Ž‚#<$YZb"'#‚e #Žƒ'#Ž#Ž„c"'#‚e #‚ "'#Ž #Ž…'#Ž#Ž†d"'#‚e #‚ '#Ž#Ž‡e"'#‚e #‚ '#Ž#Žˆf"'#‚e #‚ '#Ž#Ž‰g"'#‚e #‚ '#á#ŽŠh"'#‚e #‡J'#Ž#Ž‹i"'#‚e #‡J"'#‚e #ŽŒ'#Ž#Ž#<$YZj"'#‚e #‚ '#Ž#ŽŽk"'# #¥'#Ž#Žl"'#‚e #‚ '#…>#Žm"'#Ž #Ž'#…>#Ž‘n"'#á #Ž#'#…>#Ž’o'#…>#Ž5p+'#Ž*#Ž“q#Ž5 #Ž“r#‚”'#á#„^sÀ·*Ž“À·@^À·V‚”"'#‚e #‚ '#6#Ž”t"'#Ž #Ž…"'#‚e #‚ "'#‚e #Ž•'#6#Ž–#<$YZu"'#Ž #Ž…'#‚e#Ž—v"'#‚e #‚ '#6#Ž˜w"'#Ž #Ž…'#6#Ž™x"'#‚e #‚ '#6#Žšy"'#‚e #‚ '#6#Ž›z"'#‚e #‚ '#6#Žœ{"'#‚e #‚ '#‚e#Ž|"'#‚e #‚ '#‚e#Žž}"'#‚e #‚ "'#Ž #Ž…'#I#ŽŸ~"'#Ž #ŒX"'#Ž #Ž "'#á #Ž¡"'#á #Ž¢'#Ž#Ž£"'#á #„W#Ž¤€€ '#‚š#Ž¥€+'#á*#ˆP€‚#Ž¥ #ˆP€ƒ@#Ž¦'#á"'#‚e #‚ "'#Ž #Ž§"'#á #Ž¨€„#‚”'#á#„^€…À¹²ˆPÀ¹É^À¹àŽ¦Àº‚” '#Ž¥'#„ü'#„ý#Ž©€†##Ž©#Žª"'#á #„W€‡0#Ž©#Ž«" #‚ "'#á #ŒX€ˆ#„W'#á#„^€‰ÀºyŽªÀº—Ž«Àº¼U„W"'#‚e #‚ '#6#Ž¬€Š"'#‚e #‚ '#‚e#Ž­€‹"'#‚e #‚ '#6#Ž®€Œ"'#‚e #‚ '#‚e#Ž¯€"'#‚e #‚ '#6#Ž°€Ž"'#‚e #‚ '#6#Ž±€"'#‚¨ #‚ '#6#Ž²€"'#‚¨ #‚ '#6#Ž³€‘"'#‚e #‚ '#4#Ž´€’"'#‚¨ #‚ '#4#Žµ€“"'#‚¨ #‚ '#4#Ž¶€”"'#‚e #‚ '#6#Ž·€•"'#‚e #‚ '# #Ž¸€–"'#‚¨ #‚ '# #Ž¹€—"'#‚¨ #‚ '# #Žº€˜"'#‚e #‚ '#6#Ž»€™"'#‚e #‚ '#‚Û#Ž¼€š"'#‚¨ #‚ '#‚Û#Ž½€›"'#‚¨ #‚ '#‚Û#Ž¾€œ"'#‚e #‚ '#6#Ž¿€"'#‚e #‚ '#á#ŽÀ€ž"'#‚¨ #‚ '#á#ŽÁ€Ÿ"'#‚¨ #‚ '#á#ŽÂ€ "'#‚e #ŽÃ"'#1&'#á #ŽÄ'#á#ŽÅ€¡"'#Ž #ŽÆ"'#1&'#á #ŽÄ"'#‚e #ŽÇ1'#á#ŽÈ€¢"'#Ž #Ž"'#1&'#á #ŽÄ'#á#ŽÉ€£"'#á #ŽÊ'#á#ŽË€¤"'#‚e #ŽÃ'#á#ŽÌ€¥"'#ŽX #†T'#á#ŽÍ€¦"'#Ž #Ž'#á#ŽÎ€§#ŽÏ€¨B #ŽÏ#8€©@#ŽÐ'#‚e#<$YZ€ª@#6'#‚e"'#‚e #Ž+€«@#7'#‚e"'#‚e #Ž+€¬@#8'#‚e"'#‚e #Ž+€­@#9'#‚e"'#‚e #Ž+€®@#ŽÑ'#‚e"'#‚e #Ž+"'#á #ŽÒ€¯@#ŽÓ'#‚e"'#‚e #Ž+"'#á #ŽÒ€°@#ŽÔ'#Ž"'#‚e #Ž+"'#á #ŽÕ€±@#ŽÖ'#‚e"'#‚e #Ž+"'#á #ŽÕ€²@#Ž×'#I"'#‚e #Ž+"'#‚e #ŽØ€³@#ŽÙ'#I"'#‚e #Ž+"'#‚e #…I€´@#ŽÚ'#I"'#‚e #Ž+"'#‚e #ŽÛ€µ@#:'#H"'#‚e #Ž+€¶@#ŽÜ'#Ž"'#‚e #Ž+"'#á #Ž#"'#6 #‚€·@#ŽÝ'#Ž"'#‚e #Ž+"'#Ž #‹½"'#á #Ž#€¸@#ò'#Ž"'#‚e #Ž+"'#Ž #‹½"'#Ž #ŽÞ€¹@#Žß'#Ž"'#‚e #Ž+"'#Ž #‹½"'#Ž #ŽÞ€º@#Žà'#Ž"'#‚e #Ž+"'#Ž #‹½"'#á #à€»@#Žá'#Ž"'#‚e #Ž+"'#‚e #‹½"'#á #Ž#"'#6 #‚€¼@#Žâ'#Ž"'#‚e #Ž+"'#Ž #Ž€½@#Žã'#Ž"'#‚e #Ž+"'#á #‚¦"'#Ž #Ž€¾@#Žä'#á"'#á #Žå"'#á #Žæ€¿@#Žç'#á"'#á #Žå"'#á #Žæ"'#á #Žè€À@#Žé'#á"'#á #Žå"'#á #Žæ"'#á #Žè"'#á #Žê€Á@#Žë'#á"'#á #Žå"'#á #Žæ"'#á #Žè"'#á #Žê"'#á #Žì€Â@#Ží'#á€Ã@#Žî'#á€Ä@#Žï'#á€Å@#Žð'#á€Æ@#Žñ'#á€Ç@#Žò'#á"'#Ž #Žó€È@#Žô'#á"'#Ž #Žó€É@#Žõ'#á"'#Ž #Žó€Ê@#Žö'#á"'# #¥€Ë@#Ž÷'#Ž"'#‚e #Ž+€Ì@#Žø'#Ž"'#‚e #Ž+€Í@#Žù'#Ž"'#‚e #Ž+€Î@#Žú'#Ž"'#‚e #Ž+€Ï@#Žû'#Ž"'#‚e #Ž+€Ð@#Žü'#Ž"'#‚e #Ž+"'# #Ž:"'#á #‚¦€Ñ@#Žý'#Ž"'#‚e #Ž+"'# #Ž:"'#á #‚¦€Ò@#Žþ'#Ž"'#‚e #Ž+"'#Ž #Žó"'#6 #‚€Ó@#Žÿ'#Ž"'#‚e #Ž+"'#Ž #Žó"'#á #‚¦"'#6 #‚€Ô@#'#Ž"'#‚e #Ž+"'#Ž #Žó"'#6 #‚€Õ@#'#Ž"'#‚e #Ž+"'#Ž #Žó"'#á #‚¦"'#6 #‚€Ö@#'#Ž"'#‚e #Ž+"'#Ž #Žó"'#6 #‚€×@#'#Ž"'#‚e #Ž+"'#Ž #Žó"'#á #‚¦"'#6 #‚€Ø@#'#Ž"'#‚e #Ž+"'# #¥€Ù@#'#Ž"'#‚e #Ž+"'# #¥"'#á #‚¦€Ú@#'#á"'#‚e #Œ7€Û@#'#á"'#‚e #Œ7€Ü@#'#á"'#á #à"'#‚e #Œ7€Ý@# '#Ž"'#‚e #Ž+"'#á #à"'#‚e #Œ7€Þ@# +'#Ž"'#‚e #Ž+"'#á #à"'#‚e #…?"'#á #‚¦€ß@# '#Ž"'#‚e #Ž+"'#Ž #†@€à@# '#á"'#Ž #†@"'#‚e #Œ7€á@# '#Ž"'#‚e #Ž+"'#Ž #†@"'#‚e #Œ7€â@#'#Ž"'#‚e #Ž+"'#Ž #†@"'#‚e #Œ7"'#á #‚¦€ã@#'#á"'#Ž #"'#ŽX #†T€ä@#'#á"'#ŽX #†T€å@#'#Ž"'#‚e #Ž+"'#Ž #"'#ŽX #†T€æ@#'#Ž"'#‚e #Ž+"'#Ž #"'#ŽX #†T"'#á #‚¦€ç@#'#á"'#Ž #"'#‚e #ŽÇ€è@#'#Ž"'#‚e #Ž+"'#Ž #"'#‚e #ŽÇ"'#6 #‚€é@#'#Ž"'#‚e #Ž+"'#Ž #"'#‚e #ŽÇ"'#á #‚¦"'#6 #‚€êBÀ¿p8À¿€ŽÐÀ¿¢6À¿Ä7À¿æ8ÀÀ9ÀÀ*ŽÑÀÀYŽÓÀÀˆŽÔÀÀ·ŽÖÀÀæŽ×ÀÁŽÙÀÁBŽÚÀÁp:ÀÁ’ŽÜÀÁÍŽÝÀ òÀÂEŽßÀÂŽàÀ½ŽáÀÃŽâÀÃ4ŽãÀÃpŽäÀߎçÀÃÛŽéÀÄ$ŽëÀÄzŽíÀÄŽîÀĤŽïÀĹŽðÀÄÎŽñÀÄãŽòÀÅŽôÀÅ'ŽõÀÅIŽöÀÅjŽ÷ÀÅŒŽøÀÅ®ŽùÀÅÐŽúÀÅòŽûÀÆŽüÀÆOŽýÀÆŠŽþÀÆÅŽÿÀÇ ÀÇHÀÇÀÇËÀÈÀÈAÀÈ|ÀÈžÀÈÀÀÈï ÀÉ+ +ÀÉt ÀÉ£ ÀÉÒ ÀÊÀÊWÀʆÀʨÀÊäÀË-ÀË\Àˤ#€ë ##8€ì@#ŽÐ'#‚e"'#‚e #Ž+"'#‚e #‹½"'#á #Ž#"'#6 #‚#<$YZ€í@#Ž+'#‚e"'#‚e #€î@#‹½'#Ž"'#‚e #€ï@#Ž#'#á"'#‚e #€ð@#‹Ÿ'#‚e"'#‚e #€ñ@#'# "'#‚e #€ò@#'#I"'#‚e #"'# #€ó@#‚'#6"'#‚e #€ô@#'# "'#á #y"'# #‡,€õ@#'#I"'#‚e #‹Ÿ"'#‚e #J€ö@#'#‚e"'#‚e #‹Ÿ€÷@#„i'#Ž"'#‚e #€ø@# '#I"'#‚e #"'#‚e #‹Ÿ€ù@#!'# "'# #‡,"'# #""'#á #ã"'#‚e #‹Ÿ€ú@##'# "'#‚e #"'# #B"'#á #ã"'#‚e #‹Ÿ"'#6 #$€û@#%'#I"'#‚e #"'#‚e #‹Ÿ€ü@+'# *#&OO€ý@+'# *#'OO€þ@#('#I"'#‚e #"'#‚e #‹Ÿ€ÿ@#)'#I"'#‚e #"'#‚e #‹Ÿ@#*'#I"'#‚e #"'#‚e #‹Ÿ@#+'#I"'#‚e #"'#‚e #‹Ÿ@#,'#H"'#‚e #"'#‚e #‹Ÿ@#-'#H"'#‚e #"'#‚e #‹Ÿ@#c'#Ž"'#‚e #Ž+"'#Ž #‹½"'#‚e #.@#/'#I"'#‚e #Ž+"'#Ž #‹½"'#‚e #0@#1'#I"'#‚e #Ž+"'#Ž #‹½"'#‚e #0@#2'#Ž"'#‚e #Ž+"'#Ž #‹½"'# #¥@#3'#Ž"'#‚e #Ž+"'#‚e #. ÀÍÖ8ÀÍæŽÐÀÎ;Ž+ÀÎ]‹½ÀÎŽ#ÀΡ‹ŸÀÎÃÀÎäÀÏ‚ÀÏ2ÀÏ^ÀÏ‹ÀÏ­„iÀÏÏ ÀÏý!ÀÐC#ÀЕ%ÀÐÃ&ÀÐÝ'ÀÐ÷(ÀÑ%)ÀÑS*ÀÑ+Àѯ,ÀÑÞ-ÀÒ cÀÒI/ÀÒ„1ÀÒ¿2ÀÒú3#4 + #4#8 @#5'#á"'#‚e #6"'#á #7 @#8'#H"'#‚e #6"'#á #9 ÀÔ 8ÀÔ5ÀÔK8#:@+'# *#;@+'# *#<@+'# *#=@+'# *#>ÀÔž;ÀÔ¶<ÀÔÎ=ÀÔæ>"'#‚e #Ž+"'#Ž #y"'#Ž #?'#6#@"'#‚e #Ž+"'#Ž #y"'#‚e #A"'#Ž #?"'#‚e #B'#6#C"'#‚e #Ž+"'#Ž #y"'#‚e #A"'#Ž #?"'#‚e #B'#6#D"'#‚e #Ž+"'#Ž #y"'#‚e #A"'#Ž #?"'#‚e #B'#6#E"'#Ž #?'#6#F"'#Ž #?'#6#G#<$HI"'#Ž #?'#6#J"'#Ž #?'#6#K"'#Ž #?'#6#L"'#Ž #?'#6#M"'#Ž #?'#6#N"'#Ž #?'#6#O"'#Ž #?'#6#P"'#Ž #?'#6#Q #R!@#S'#6"'#‚e #‚c"@#T'#4"'#‚e #‚c#@#U'# "'#‚e #‚c$@#V'#‚Û"'#‚e #‚c%@#W'#á"'#‚e #‚c&@#X'#Ž"'#‚e #y'@#Y'#Ž"'#‚e #y(@#Z'#6"'#‚e #‚c)@#['#6"'#‚e #‚c*@#\'#6"'#‚e #‚c"'#‚e #ŽŒ+@#]'#6"'#‚e #y"'#‚e #?,@#^'#6"'#‚e #y"'#‚e #?-@#_'#6"'# #„»"'# #`.@#a'#H"'#‚e #‚c/@#b'#I"'#‚e #‚c"'#‚e #20@#c'#6"'#‚e #‚c1@#d'# "'#‚e #ŽÃ2@#e'#‚e"'#‚e #ŽÃ"'# #‡,3@#f'#I"'#‚e #ŽÃ"'# #‡,"'#‚e #J4@#g'#H"'#‚e #ŽÃ5@#h'#H"'#‚e #ŽÃ"'# #6@#i'#H"'#‚e #j"'#‚e #k7@#l'#I"'#‚e #ŽÃ"'#‚e #J8@#†'#á"'#á #y"'# #B"'# #C9@#m'#6"'#á #Žå"'#á #Žæ:@#n'#‚e"'#‚e #o"'#‚e #‚¦;@#p'#I"'#‚e #o"'#‚e #‚¦"'#‚e #J<À××SÀ×øTÀØUÀØ:VÀØ\WÀØ~XÀØŸYÀØÀZÀØá[ÀÙ\ÀÙ0]ÀÙ]^ÀÙŠ_ÀÙ¶aÀÙØbÀÚcÀÚ&dÀÚGeÀÚufÀÚ®gÀÚÐhÀÚþiÀÛ-lÀÛZ†ÀÛ‘mÀÛ¿nÀÛîp"'#Ž #Ž'#á#q="'#Ž #Ž'#á#r>"'#Ž #Ž'#á#s?'#‚e#t@"'#‚e #Ž+"'#‚e #ŽØ'#I#uA"'#‚e #Ž+"'#‚e #ŽÛ'#I#vB"'#‚e #Ž+"'#Ž #w"'#Ž #x'#6#yC"'#‚e #Ž+"'#á #Ž#'#Ž#zD"'#‚e #Ž+"'#á #Ž#"'#Ž #Ž'#I#{E"'#‚e #Ž+"'#Ž #‹½"'#á #Ž#'#Ž#|F"'#‚e #Ž+"'#Ž #‹½"'#Ž #Œ7'#Ž#}GÀ¥{iÀ¦ŽÀ®¼À°´ŽXÀ²À²LŽoÀ²bŽpÀ²’ŽqÀ²ÂŽrÀ²òŽsÀ³ŽtÀ³EŽwÀ³‚ŽyÀ³ËŽ{À´Ž}À´]ŽÀ´¦Ž€À´ÈŽÀ´êŽ‚Àµ'Ž„ÀµJŽ†ÀµzŽ‡ÀµŽˆÀµÀŽ‰ÀµãŽŠÀ¶Ž‹À¶)ŽÀ¶fŽŽÀ¶‰ŽÀ¶«ŽÀ¶ÎŽ‘À¶ñŽ’À·Ž5À·qÀ·‡Ž”À·©Ž–À·òŽ—À¸Ž˜À¸7Ž™À¸YŽšÀ¸{Ž›À¸ŽœÀ¸¿ŽÀ¸âŽžÀ¹ŽŸÀ¹4Ž£À¹~Ž¤À¹œŽ¥Àº8ÀºUŽ©ÀºÕÀºëŽ¬À»Ž­À»2Ž®À»UŽ¯À»yŽ°À»œŽ±À»¿Ž²À»âŽ³À¼Ž´À¼(ŽµÀ¼KŽ¶À¼nŽ·À¼‘Ž¸À¼´Ž¹À¼×ŽºÀ¼úŽ»À½Ž¼À½AŽ½À½eŽ¾À½‰Ž¿À½¬ŽÀÀ½ÐŽÁÀ½ôŽÂÀ¾ŽÅÀ¾PŽÈÀ¾™ŽÉÀ¾ÑŽËÀ¾õŽÌÀ¿ŽÍÀ¿=ŽÎÀ¿aŽÏÀËùÀÍÇÀÓ)ÀÓý4ÀÔzÀÔ:ÀÔþÀÕ@ÀÕ[CÀÕ±DÀÖEÀÖ]FÀÖ€GÀÖ°JÀÖÓKÀÖöLÀ×MÀ×<NÀ×_OÀׂPÀ×¥QÀ×ÈRÀÜ(ÀÜæqÀÝ +rÀÝ.sÀÝRtÀÝiuÀÝ™vÀÝÉyÀÞzÀÞ7{ÀÞt|ÀÞ²}Ž"ÀÞð  @Î#~!#.#4$=>!#Ž$€€)(#‚Z"'#á #"'#á #‚" #ƒ" #‹>" #‹?" #„" #…" #†" #‡" #ˆ" #‰" #Š" #‹" #Œ" #" #Ž" #" #" #‘" #’" #“" #”'#‚Z#?€"'#…6 #…8#•€"'#…6 #…8#Ž €" #–'#I#—€"'#…> #ŒX#˜€" #‚ #Ž€'#‚e#Ž€#™ €"'#. #à'#á#A +€"'#á #"'#á #à#@ €"'#á #"'#4 #š" #ƒ" #‹>" #‹?" #„" #…" #†" #‡" #ˆ" #‰" #Š" #‹" #Œ#Ž €"'#á #à'#6#Ž + €)(#‚Z'#Ž#Ž €)(#‚Z'#Ž#Ž"'#…6 #†'#I#›#œ+'#á*#† +#œ #†Àåq†Àå‡^"'#á #ƒÎ"'#á #ƒ‡'#á#Ž €)(#‚Z'#‚Z#€"'#‚¨ #J'#6#žÀâÀâD?ÀãD•ÀãaŽ Àã~—À㚘Àã·ŽÀãÎŽÀãä™ÀãôAÀä@ÀäAŽ Àä㎠+ÀåŽ Àå#ŽÀåA›ÀåcœÀåÀ嬎 ÀåÜÀåúž~€âÀæ  @Î#Ÿ!#Œò#Œû#Œþ###ŒÝ#Œì## #Œæ# +# #4#.#Œé#ŒÏ#ŒÒ$=>$‡„!#Š #‰ó#‚~$¸¹! #•#Ž#?#Ž #œ#›#@#Ž +#A#˜#Ž #Ž $BC$IJ¡$¿!#…|#ˆO#ˆc#ˆ‹#ˆZ$¿$¢£!#X#[#\$ŽŽ¤!#Ž‘#Žt#Ž#Ž#ŽŠ#Žw#Ž¤$€ $¥„$¦§$¨©$ª«$¬­$®¯$ˆ×ˆØ#° +"'#á #ŽÊ'#á#± "'# #¥#2#<$ŽŽ "'# #¥#3#<$ŽŽ #²""#‚ ""#³'#6#´" #J'#á#‚]"'#á #à" #µ" #Ž:" #Œ7" #¶" #…I#·"'#„ #ˆÊ" #µ" #Ž:" #Œ7" #¶" #…I#¸"'#á #…!'#I#¹"'#‚¨ #Œ"'#‚¨ #º'#I#»#<$YZ'#…#¼@+*#½@+*#¾@+*#¿+*#À+'#á*#Á+'# *#Ž7+'#1*#ŒL+'#1*#Â+'# *#Ã#¼ #À #Á #Ž7 #ŒL # #Ã#…!'#„ #…C'#6!#…D'#6"#…E'#6##…F'#6$#…?'#1&'#…>%#…"'#1&#…#'#‚€&'#„'#‚¨'ÀéϽÀéá¾Àéó¿ÀêÀÀêÁÀê+Ž7Àê@ŒLÀêUÂÀêjÃÀê^ÀêÂU…!ÀêÓU…CÀêãU…DÀêóU…EÀëU…FÀëU…?Àë+U…"Àë;U…##Ä('@#Å'# " #‚ )@#Æ'# "'#á #ã"'# #„j*@#Ç'#4"'#á #ã+@+'# *#È$,@#É'#á"'#‚e #‚ #<$YZ-@#Ê'#á"'#‚e #‚ .@#Ë'#6" #à/@#Ì'#á"'#‚e #‚ 0@#Í'# 1@#Î'#I2@+'# *#Ï3@+'# *#Ð4@#Ñ'#á5@#Ò'#á"'#1 #ŽÃ6@#Ó'#á" #Ô7@#Õ'#á" #†8@#Ö'#á"'#× #†"'# #B"'# #C9@#Ø'#á" #‚Ù:@#Ù'#á"'#á #Ú"'#á #Û;@#Ü'#á"'#á #ƒ"<@#Ý'#á"'#„Œ #…=@#Þ'# "'#„Œ #…>@#ß'# " #à" #„¥" #„¦" #„ì" #„í" #„é" #„î" #„£?@#á"'#„Œ #…@@#â"'#„Œ #…#<$ãä#<$åæ#<$YZA@#ç"'#„Œ #…#<$ãä#<$åæ#<$YZB@#è"'#„Œ #…#<$ãä#<$åæ#<$YZC@#é"'#„Œ #…#<$ãä#<$åæ#<$YZD@#ê"'#„Œ #…#<$ãä#<$åæ#<$YZE@#ë"'#„Œ #…#<$ãä#<$åæ#<$YZF@#ì"'#„Œ #…#<$ãä#<$åæ#<$YZG@#í"'#„Œ #…#<$ãä#<$åæ#<$YZH@#î" #ƒ"I@#ï" #‚ " #‚¦J@#ð'#I" #‚ " #‚¦" #JK@#ñ" #…8"'#1 #…""'#‚€&'#á'#‚¨ #…#L@#ò"'#…6 #…8"'#1 #…""'#‚€&'#á'#‚¨ #…#M@#ó"'#…6 #…8"'#1 #…""'#‚€&'#á'#‚¨ #…#N@#ô'#‚g"'#‚š #‚fO'ÀëïÅÀì ÆÀì5ÇÀìUÈÀìlÉÀìšÊÀì»ËÀìÕÌÀìöÍÀí ÎÀíÏÀí1ÐÀíMÑÀíaÒÀíÓÀíœÕÀí·ÖÀíîØÀî ÙÀî7ÜÀîXÝÀîyÞÀî™ßÀîäáÀîÿâÀïAçÀïƒèÀïÅéÀðêÀðIëÀð‹ìÀðÍíÀñîÀñ$ïÀñ@ðÀñgñÀñ£òÀñåóÀò'ô#DP@#Œ·Q@#õ" #o"'#á #‚¦R@#…·'#I" #o"'#á #‚¦" #JSÀókŒ·ÀóyõÀó›…·" #…#ö#<$YZT" #…" #¥#÷#<$YZU" #… " #¥'#‚š#ø#<$YZV" #B" #C" #'#‚š#ù#<$YZW" #…" #‚" #B#úX" #‚ '#…#û#<$YZY" #‚ #üZ" #J'#‚Û#ý#<$YZ[" #J'# #þ\" #J'#6#ÿ]" #J'#á#^" ###<$YZ_#`" ##a" #„W#b" #" #ˆÏ##<$YZc" #ˆÏ##<$YZd# e+'#á*# +f+'# *#ŒLg+'# *# h+'# *# i+'# *# j+'# *#k@+'# *#l@+'# *#m@+'# *#n@+'# *#o@+'# *#p@+'# *#q@+'# *#r@+'# *#s@+'# *#t@+'# *#u#  #ŒL #  #  #  # # +v#" #„Ww@#x@#y@#"'#á #„Wz@#'#á" #{@#'#á|@# '#á}@#!'#á" #~@#"'#á@##'#ကÀö2 +ÀöHŒLÀö] Àör Àö‡ ÀöœÀö±ÀöÇÀöÝÀöóÀ÷ À÷À÷5À÷KÀ÷aÀ÷wÀ÷^À÷ÐÀ÷åÀ÷óÀøÀøÀø7ÀøK Àø_!Àøz"ÀøŽ# '#„ü'#…#$€+'#á*#ˆP€‚+'#á*# €ƒ#$ #ˆP" #†€„#‚”'#စÀùŽˆPÀù¥ Àù¼^ÀùÚ‚” '#‚š'#…#%€†+'#á*#ˆP€‡+'#á*# €ˆ+'#á*#€‰#% #ˆP" #†€Š#‚”'#ဋÀú+ˆPÀúB ÀúYÀúp^ÀúŽ‚” '#‚š#&€Œ+'#á*#ˆP€#& #ˆP€Ž#‚”'#á€Àú߈PÀúö^Àû ‚”'#…/#'€+'#‚¨*#(€‘#' #(€’#‚”'#á#„^€“ÀûO(Àûf^Àû}‚”#)€”+'#‚¨*#*€•+'#‚g*#‚h€–#) #* #‚h€—Àû¾*ÀûÕ‚hÀûì^"'#‚e #'#‚e#+€˜"'#‚e #"'#‚e #‚f'#‚e#,€™"'#‚e #'#‚e#-€š" #'#á#.€›" #/'#‚g#0€œ'#‚g#1€+*#2€ž+'#á*#3€Ÿ#1 #2€ #‚”'#အÀüï2Àý3Àý^Àý.‚”""#‚ '# #Å€¢" #4"'#‚€ #Š#5€£" #…«"'#…f #Š#6€¤""#ŽÃ"'# #¥#7€¥""#ŽÃ'# #8€¦"'#…6 #Žƒ"'# #9""#‹>""#‹?""#„""#…#:€§" #Žƒ"'# #;#<€¨'#…6#=€©@+*#>€ª@+*#?€«@+*#@€¬@+*#A€­@+*#B€®@+*#C€¯@+'# *#D€°#=€±@#E" #…"'#1 #F"'# #G""#H"'#6 #I"'#6 #J"'#á #K€²@#L"'#‚e #ŽÆ"'#6 #I"'#6 #J€³@#M"'# #;"'#6 #N"'#á #O" #…8€´P#P'#6€µ@#Q" #…" #…8"'#6 #J€¶@#R"'# #;"'#6 #N"'#á #à" #…8€·@#S" #…" #…8€¸#‚”'#္ÀþŠ>Àþ?Àþ°@ÀþÃAÀþÖBÀþéCÀþüDÀÿ^Àÿ EÀÿzLÀÿ®MÀÿéUPÀÿúQÀ#RÀ^SÀ{‚”" #…" #F" #G" #H" #I" #J" #à#T€º '#=#U€» '#U#V€¼#‚”'#ွÀv‚” '#U#W€¾+*#X€¿+*#Š·€À+*#€Á+'#á*#‚†€Â#W #X #Š· # #‚†€Ã#ƒÜ'#6" #2€Ä#ƒÝ'# €Å#‚”€Æ@#Y"'#W #Žƒ"'#á #Ž##<$HI€Ç@#Z"'#W #Žƒ"'#á #Ž##<$HI€È@#["'#W #Žƒ#<$YZ#<$HI€É@#\"'#W #Žƒ#<$HI€Ê@#]"'#W #Žƒ#<$YZ#<$HI€Ë@#^"'#W #Žƒ#<$HI€Ì@+'#á*#_€Í@#`'#á€Î@+'#á*#a€Ï@#b'#á€Ð@#c'#á"'#á #ˆR#<$YZ#<$ãä€ÑÀ©XÀºŠ·ÀËÀÜ‚†Àó^À%ƒÜÀ?UƒÝÀP‚”À_YÀ•ZÀË[À\À*]À`^À‰_À `ÀµaÀÌbÀác""#d"'#á #e'#6#f€Ò""#d"'#á #e#g€Ó#h€Ô#i€Õ+'#á*#…I€Ö +#i #…I€×À…IÀ.^#j€Ø+'#á*#…I€Ù +#j #…I€ÚÀc…IÀz^#k€Û+'#á*#à€Ü +#k #à€ÝÀ¯àÀÆ^" #J'#6#l€Þ"'#á #m'#I#n#<$YZ€ß)(#ƒ˜ '#o&'#ƒ˜#p€à '#…#q€á#q€â#‚”'#á€ãÀu^Àƒ‚”" #r'#6#s€ä"'#‚e #„W'#I#t€å" #r'#I#u#<$YZ€æ" #†(" #à" #Œ7" #v'#I#w€ç"'#á #x'#I#y€è '#‚š#z€é+*#„W€ê#z #„W€ë#‚”'#á€ìÀ{„WÀŒ^À£‚” '#‚š'#…#{€í+'#á*#‰ñ€î#{ #‰ñ€ï#‚”'#á€ðÀì‰ñÀ^À‚” '#‚š'#…#|€ñ+'#á*#ˆP€ò#| #ˆP€ó#‚”'#á€ôÀcˆPÀz^À‘‚”'# #}€õ"'#á #í'#á#~€ö"'#á #à'#á#€÷7'#‚~&'#„`#€€ø"'#á #m'#€#€ù%+'#‚€&'#á'#‚~&'#„`*#‚€ú%+'#…f&'#á*#ƒ€û%+'#1&'#á*#„€ü7'#I#…€ý%+'#…*#†€þ"'#á #m'#‚~&'#„`#‡€ÿ%+'#á*#ˆ'#á#‰%+'#á*#Š'#á#‹'#6#Œ%+'#á*#'#á#Ž'#á#"'#á #'#‚~&'#„`#‘"'#‚e #‹»'#1&'#á#’  '#„û#“ +#“"'#‚e #„W #‚”'#á À <^À W‚” '#„û#” #”#‚”'#áÀ ^À ž‚”'#†ˆ#•#<$YZ" #‚ '#I#–" #à" #—'#I#˜"'#1&'#á #™'#I#š%+'#á*#›;#á#„‡$œ<„ˆ$žŸ'#á# #¡ +#¡À ¦^%+*#¢'#¡"'#‚e #J'#6#£"'#á #à'#I#¤"'#…6 #…T'#6#¥#<$ŽŽ "'#‚e #J'#I#¦"'#1&'#‚e #‹»'#I#§Àæ´mÀè°ÀèÀè±Àè:2Àèc3À茲À蜴Àè¿‚]ÀèÛ·Àé¸Àé[¹Àé}»Àé¹¼ÀëZÀëáÄÀòHÀó]DÀóÈÀóÞöÀô÷Àô-øÀô^ùÀô“úÀô·ûÀôáüÀôøýÀõ!þÀõ<ÿÀõWÀõsÀõ—Àõ§Àõ¾ÀõÕÀöÀö$ Àø£Àùp$ÀùïÀú %Àú£ÀúÉ&Àû"Àû8'Àû™Àû¯)Àü Àü#+ÀüG,Àüx-Àüœ.Àüº0ÀüØ1ÀýCÀýaÅÀý~5Àý£6ÀýÈ7Àýì8Àþ :ÀþO<Àþs=ÀÀTÀIUÀ_À`VÀ‹À“WÀÀ¨fÀÒgÀ÷hÀiÀEÀTjÀ‘À kÀÝÀìlÀnÀ8pÀ^À_qÀ˜À¦sÀÃtÀæuÀwÀByÀezÀ¸ÀÎ{À/ÀE|À¦À¼}ÀÒ~ÀöÀ 7€À 5À Y%‚À †%ƒÀ ¥%„À Ã7…À Õ%†À ì‡À +%ˆÀ +/‰À +F%ŠÀ +]‹À +tŒÀ +Š%À +¡ŽÀ +¸À +Ï‘À +û’À &“À lÀ z”À ³À Á•À å–À ˜À &šÀ P%›À € À —¡À ´À »%¢À Ø£À ú¤À ¥À M¦À o§  @Î#Ÿ#¨+'#á*#à +#¨ #àÀ3àÀI^#© +#©À|^%+'#©*#ª'#©À +À%¨À_Àn©À‰À%ª  @Î#Ÿ)(#ƒ¡(#…¥ '#‰&'#ƒ¡'#…¥'#«&'#ƒ¡'#…¥#¬#¬"'#‚€&'#ƒ¡'#…¥ #†@À7^)(#ƒ¡(#…¥'#‚€&'#ƒ¡'#…¥#«0#«#‚Q"'#‚€ #2*#«#8#‚y)(#…±(#…²'#‚€&'#…±'#…²#…g'#6#…h'#6#‚”'#á@#‰R'#†ˆ #…5'#I"'#ƒ¡ #‚¦"'#…¥ #­ +#…º'#…¥"'#ƒ¡ #‚¦'#…¥ #…¸ #…—'#…¥"'#‚e #‚¦ #…“'#I #…Š'#I"'#‚€&'#ƒ¡'#…¥ #2#…°'#‚X&'#…¯&'#ƒ¡'#…¥#…µ'#I"'#‚X&'#…¯&'#ƒ¡'#…¥ #…°#‚å)(#…¬(#…­'#‚€&'#…¬'#…­'#…¯&'#…¬'#…­"'#ƒ¡ #‚¦"'#…¥ #J #‰#…·'#…¥"'#ƒ¡ #‚¦'#…¥"'#…¥ #J #…·'#…¥ #…¸#…¹'#I'#…¥"'#ƒ¡ #‚¦"'#…¥ #J #…·#…š'#I'#6"'#ƒ¡ #‚¦"'#…¥ #J #…VÀ˜‚QÀ´8ÀÂyÀóU…gÀU…hÀ‚”À'‰RÀ;…5Àh…ºÀš…—À»…“ÀÎ…ŠÀûU…°À"…µÀX‚åÀÀ…·À…¹ÀO…š)(#ƒ¡(#…¥ '#«&'#ƒ¡'#…¥#® +#®#8 #ˆ2 #¯ #‰E#8+'# *#ˆ2+*#¯+'#1&'#ƒ¡*#‰#'# #°'#1&'#ƒ¡#…³'#6"'#‚e #ŠŠ#…´'#6"'#‚e #‚¦#¤'#…¥"'#‚e #‚¦#±" #‚¦#…Z'#I'#I"'#ƒ¡ #‚¦"'#…¥ #J #…T #…ª'#‚X&'#ƒ¡!#…«'#‚X&'#…¥" À:8Àjˆ2À¯À‰À¬UÀ»U°ÀÓ…³Àó…´À¤À4±ÀI…ZÀ…U…ªÀžU…«)(#ƒ¡(#…¥ '#®&'#ƒ¡'#…¥#²###²#8" #" #d" #…ª #³$+'#…¥*#³%#…´'#6"'#‚e #‚¦&#±" #‚¦'ÀE8Àq³À‡…´À§±)(#ƒ¡ '#‚X&'#ƒ¡#´(+'#®&'#ƒ¡'#‚¨*#‰)#´ #‰*#…Q'#…R&'#ƒ¡+#'# ,Àþ‰À"^À8U…QÀQU)(#ƒ¡(#…¥ '#«&'#ƒ¡'#…¥#µ- +#µ #¶.+*#¶/#·'#‚€&'#ƒ¡'#…¥0#…³'#6"'#‚e #ŠŠ1#…´'#6"'#‚e #‚¦2#¤'#…¥"'#‚e #‚¦3#…Z'#I'#I"'#ƒ¡ #‚¦"'#…¥ #J #…T4#…ª'#‚X&'#ƒ¡5#…«'#‚X&'#…¥6#'# 7 +À­^ÀöÀÓ·Àõ…³À…´À5¤ÀV…ZÀ’U…ªÀ«U…«ÀÄUÀÕÀð¬À_Àf«À‹À ®À·À²À¼ÀÙ´À`À|µÀÓ  @Î#Ÿ '#=#¸+'#=*#¹#¸ #¹#º'#1#‚”'#áÀ¹À¦^À¼UºÀÌ‚”)(#‹< '#¸#»#»"'#= #…T#º'#1À^À4Uº)(#‹<(#‹= '#¸#¼#¼"'#= #…T #º'#1 +Àu^ÀUº)(#‹<(#‹=(#½ '#¸#¾ #¾"'#= #…T #º'#1 ÀÖ^ÀðUº)(#‹<(#‹=(#½(#¿ '#¸#À#À"'#= #…T#º'#1À=^ÀWUº)(#‹<(#‹=(#½(#¿(#Á '#¸#Â#Â"'#= #…T#º'#1Àª^ÀÄUº)(#‹<(#‹=(#½(#¿(#Á(#à '#¸#Ä#Ä"'#= #…T#º'#1À^À7Uº)(#‹<(#‹=(#½(#¿(#Á(#Ã(#Å '#¸#Æ#Æ"'#= #…T#º'#1À–^À°Uº)(#‹<(#‹=(#½(#¿(#Á(#Ã(#Å(#Ç '#¸#È#È"'#= #…T#º'#1À^À/Uº) (#‹<(#‹=(#½(#¿(#Á(#Ã(#Å(#Ç(#É '#¸#Ê#Ê"'#= #…T#º'#1Àš^À´Uº) +(#‹<(#‹=(#½(#¿(#Á(#Ã(#Å(#Ç(#É(#Ë '#¸#Ì #Ì"'#= #…T!#º'#1"À %^À ?Uº) (#‹<(#‹=(#½(#¿(#Á(#Ã(#Å(#Ç(#É(#Ë(#Í '#¸#Î##Î"'#= #…T$#º'#1%À ¶^À ÐUº) (#‹<(#‹=(#½(#¿(#Á(#Ã(#Å(#Ç(#É(#Ë(#Í(#Ï '#¸#Ð&#Ð"'#= #…T'#º'#1(À!M^À!gUº) (#‹<(#‹=(#½(#¿(#Á(#Ã(#Å(#Ç(#É(#Ë(#Í(#Ï(#Ñ '#¸#Ò)#Ò"'#= #…T*#º'#1+À!ê^À"Uº)(#‹<(#‹=(#½(#¿(#Á(#Ã(#Å(#Ç(#É(#Ë(#Í(#Ï(#Ñ(#Ó '#¸#Ô,#Ô"'#= #…T-#º'#1.À"^À"§Uº)(#‹<(#‹=(#½(#¿(#Á(#Ã(#Å(#Ç(#É(#Ë(#Í(#Ï(#Ñ(#Ó(#Õ '#¸#Ö/#Ö"'#= #…T0#º'#11À#6^À#PUº)(#‹<(#‹=(#½(#¿(#Á(#Ã(#Å(#Ç(#É(#Ë(#Í(#Ï(#Ñ(#Ó(#Õ(#× '#¸#Ø2#Ø"'#= #…T3#º'#14À#å^À#ÿUº)(#‹<(#‹=(#½(#¿(#Á(#Ã(#Å(#Ç(#É(#Ë(#Í(#Ï(#Ñ(#Ó(#Õ(#×(#Ù '#¸#Ú5#Ú"'#= #…T6#º'#17À$š^À$´Uº)(#‹<(#‹=(#½(#¿(#Á(#Ã(#Å(#Ç(#É(#Ë(#Í(#Ï(#Ñ(#Ó(#Õ(#×(#Ù(#Û '#¸#Ü8#Ü"'#= #…T9#º'#1:À%U^À%oUº)(#‹<(#‹=(#½(#¿(#Á(#Ã(#Å(#Ç(#É(#Ë(#Í(#Ï(#Ñ(#Ó(#Õ(#×(#Ù(#Û(#Ý '#¸#Þ;#Þ"'#= #…T<#º'#1=À&^À&0Uº)(#‹<(#‹=(#½(#¿(#Á(#Ã(#Å(#Ç(#É(#Ë(#Í(#Ï(#Ñ(#Ó(#Õ(#×(#Ù(#Û(#Ý(#ß '#¸#à>#à"'#= #…T?#º'#1@À&Ý^À&÷Uº)(#‹<"'#= #…T'#¸#áA)(#‹<(#‹="'#= #…T'#¸#âB)(#‹<(#‹=(#½"'#= #…T'#¸#ãC)(#‹<(#‹=(#½(#¿"'#= #…T'#¸#äD)(#‹<(#‹=(#½(#¿(#Á"'#= #…T'#¸#åE)(#‹<(#‹=(#½(#¿(#Á(#Ã"'#= #…T'#¸#æF)(#‹<(#‹=(#½(#¿(#Á(#Ã(#Å"'#= #…T'#¸#çG)(#‹<(#‹=(#½(#¿(#Á(#Ã(#Å(#Ç"'#= #…T'#¸#èH) (#‹<(#‹=(#½(#¿(#Á(#Ã(#Å(#Ç(#É"'#= #…T'#¸#éI) +(#‹<(#‹=(#½(#¿(#Á(#Ã(#Å(#Ç(#É(#Ë"'#= #…T'#¸#êJ) (#‹<(#‹=(#½(#¿(#Á(#Ã(#Å(#Ç(#É(#Ë(#Í"'#= #…T'#¸#ëK) (#‹<(#‹=(#½(#¿(#Á(#Ã(#Å(#Ç(#É(#Ë(#Í(#Ï"'#= #…T'#¸#ìL) (#‹<(#‹=(#½(#¿(#Á(#Ã(#Å(#Ç(#É(#Ë(#Í(#Ï(#Ñ"'#= #…T'#¸#íM)(#‹<(#‹=(#½(#¿(#Á(#Ã(#Å(#Ç(#É(#Ë(#Í(#Ï(#Ñ(#Ó"'#= #…T'#¸#îN)(#‹<(#‹=(#½(#¿(#Á(#Ã(#Å(#Ç(#É(#Ë(#Í(#Ï(#Ñ(#Ó(#Õ"'#= #…T'#¸#ïO)(#‹<(#‹=(#½(#¿(#Á(#Ã(#Å(#Ç(#É(#Ë(#Í(#Ï(#Ñ(#Ó(#Õ(#×"'#= #…T'#¸#ðP)(#‹<(#‹=(#½(#¿(#Á(#Ã(#Å(#Ç(#É(#Ë(#Í(#Ï(#Ñ(#Ó(#Õ(#×(#Ù"'#= #…T'#¸#ñQ)(#‹<(#‹=(#½(#¿(#Á(#Ã(#Å(#Ç(#É(#Ë(#Í(#Ï(#Ñ(#Ó(#Õ(#×(#Ù(#Û"'#= #…T'#¸#òR)(#‹<(#‹=(#½(#¿(#Á(#Ã(#Å(#Ç(#É(#Ë(#Í(#Ï(#Ñ(#Ó(#Õ(#×(#Ù(#Û(#Ý"'#= #…T'#¸#óS)(#‹<(#‹=(#½(#¿(#Á(#Ã(#Å(#Ç(#É(#Ë(#Í(#Ï(#Ñ(#Ó(#Õ(#×(#Ù(#Û(#Ý(#ß"'#= #…T'#¸#ôTÀ`)À{¸ÀàÀý»ÀDÀR¼ÀŸÀ­¾ÀÀÀÀgÀuÂÀÔÀâÄÀGÀUÆÀÀÀÎÈÀ?ÀMÊÀÄÀÒÌÀ OÀ ]ÎÀ àÀ îÐÀ!wÀ!…ÒÀ"À""ÔÀ"·À"ÅÖÀ#`À#nØÀ$À$ÚÀ$ÄÀ$ÒÜÀ%À%ÞÀ&@À&NàÀ'À'áÀ'@âÀ'qãÀ'¨äÀ'ååÀ((æÀ(qçÀ(ÀèÀ)éÀ)pêÀ)ÑëÀ*8ìÀ*¥íÀ+îÀ+‘ïÀ,ðÀ,•ñÀ- òÀ-±óÀ.Hô  @Î#Ÿ"'#á #õ"'#á #à'#6#…Y"'#1 #ŽÃ'# #d"'#1 #ŽÃ"'# #¥#ö"'#1 #ŽÃ"'# #¥""#J'#I#÷""#‚ "'#á #e#ø""#…8""#‚ "'#á #e'#6#ù""#‚ "'#á #e""#J'#I#ú""#‚ "'#á #à#û%+'#…6*#ü%+'#…6*#ý %+'#…6*#þ +""#†('#á#ÿ " #‚ '# #‘ ""#†("'#á #e""#J'#I#‘ " #†('#6#‘#Œè#Œë" #‘'#á#‘%+*#‘%+*#‘"'#á #‘#‘%+*#‘ $Ž„r%+*#‘ +$½¾%+*#‘ $Õo%+*#‘ $Ð0%+*#‘ $Íp" #†(#‘#<$YZ" #†(" #³#‘" #†(" #³#‘" #†(" #‘#‘" #‘#‘" #‘" #‘" #‘#‘" #‘" #‘#‘ " #‚ '#á#‘!%+*#‘"'#I#‘#<$YZ#'#I#‘#<$YZ$'#I#‘%" #‘" #‘#‘&%+*#‘ '#œ$‘!‘"'%+*#‘#'#œ$‘$‘%(%+*#‘&'#œ$‘'‘()%+*#‘)'#œ$‘*‘+*%+*#‘,'#œ$‘-‘.+%+*#‘/'#œ$‘0‘1,%+*#‘2'#œ$‘3‘4-%+*#‘5'#œ$‘3‘4.%+*#‘6'#œ$‘7‘8/À0]0À0x…YÀ0§dÀ0ÈöÀ0ð÷À1#øÀ1GùÀ1wúÀ1¦ûÀ1Ê%üÀ1à%ýÀ1ö%þÀ2 ÿÀ2)‘À2E‘À2t‘À29ŒèÀ29ŒëÀ2ª‘À2Ç%‘À2×%‘À2ç‘À3%‘ À3%‘ +À3.%‘ À3B%‘ À3V%‘ À3j‘À3Ž‘À3¬‘À3Ê‘À3è‘À3ÿ‘À4$‘À4B‘À4_%‘À4o‘À4‘‘À4³‘À4È‘À4æ%‘ À5%‘#À5(%‘&À5I%‘)À5j%‘,À5‹%‘/À5¬%‘2À5Í%‘5À5î%‘6  @Î#Ÿ"'#‘9 #‘:#‘;"'#‘9 #‘:#‘<"'#‘9 #‘:'# #‘='#„Ê#‘9+'#á*#…Ò+*#‘>+*#‘?+*#‘@#‚”'#á#‘9"'#á #ã"'#6 #…Ô"'#6 #…Õ"'#6 #…Ø"'#6 #…Ù #‘A +#‘B #‘C'#6 #‘D'#6 #‘E'#6#‘F'#6@#‘G"'#á #ã"'#6 #…Ô"'#6 #…Õ"'#6 #…Ø"'#6 #…Ù"'#6 #‘H#…Û'#…Ü"'#á #í#…Ý'#6"'#á #í#…Þ'#á"'#á #í#…Ë'#‚X&'#…Ü"'#á #í"'# #B#‘I'#…Ü"'#á #í"'# #B#‘J'#…Ü"'#á #í"'# #B#…Í'#…Ü"'#á #í"'# #B#…ß'#6#…à'#6#…á'#6#…â'#6À8…ÒÀ8‘>À8+‘?À8;‘@À8K‚”À8_^À8½U‘AÀ8ÈU‘BÀ8ÓU‘CÀ8ãU‘DÀ8óU‘EÀ9U‘FÀ9‘GÀ9j…ÛÀ9‹…ÝÀ9«…ÞÀ9Ì…ËÀ:‘IÀ:1‘JÀ:]…ÍÀ:ŽU…ßÀ:žU…àÀ:®U…áÀ:¾U…â'#…Ü#‘K +'#…Ê*#…Ò+'#H*#‘L#‘K #…Ò #‘L#‚'#á #B'# !#C'# "#…Î'#á"'# #¥##¤'#á"'# #¥$#…Ñ'# %#…Ï'#1&'#á"'#1&'# #…Ï&#…å'#á"'#á #à'#…æ'#‚X&'#á( À;…ÒÀ;¦‘LÀ;¼^À;ÛU‚À;ìUBÀ;ûUCÀ< +…ÎÀ<*¤À‡+À>%‘QÀ>:ˆaÀ>P^À>xU…{À>‰ƒIÀ>¨†À>Ç…z"'#‘9 #‘S"'#á #í"'# #B'#…Ü#‘T9À7xÀ7“‘;À7°‘<À7Í‘=À7ï‘9À:ÎÀ;z‘KÀ<ÂÀ=‘MÀ=µÀ=Û‘OÀ>ÚÀ?‘T  @Î#Ÿ" #…" #2" #ƒ(#‘U" #…" #ƒ(#‘V" #…" #ƒ(" #ƒ)#‘W" #…" #2" #ƒ(#‘X"'#á #…" #…Ò'#1&'#á#‘Y'#…Ì#‘Z  +#‘Z'# #B'#á #‚'#á #…Ò#C'# #¤'#á"'# #‘[#…Ñ'# #…Î'#á"'# #‘\ +#…Ï'#1&'#á"'#1&'# #‘] +'# *#B +'#á*#‚ +'#á*#…Ò À@’^À@ÊUCÀ@Ù¤À@ùU…ÑÀA …ÎÀA)…ÏÀAWBÀAk‚ÀA…Ò"'#á #…Ò"'#á #í"'# #ƒ('#‚X&'#…Ì#‘^ '#‚X&'#…Ì#‘_+'#á*#‘`+'#á*# ++'# *#ˆ`#‘_ #‘` # + #ˆ`#…Q'#…R&'#…Ì#…m'#…ÌÀB8‘`ÀBN +ÀBdˆ`ÀBy^ÀB¡U…QÀBºU…m'#…R&'#…Ì#‘a+'#á*#‘`+'#á*# ++'# *#ˆ`+'#…Ì*#ˆa#‘a #‘` # + #ˆ`#…z'#6#…{'#…ÌÀC‘`ÀC, +ÀCBˆ`ÀCWˆaÀCm^ÀC•…zÀC¨U…{" #…" #2" #ƒ(#‘b"'#á #…" #‘c"'#á #†'#á#‘d "'#á #†'#á#‘e!" #…" #‘:" #†" #ƒ(#‘f"" #í#‘g#" #…" #…Ò" #†#‘h$"'#á #…"'#á #…Ò"'#á #†'#á#‘i%" #…" #…Ò" #†'#á#‘j&"'#…Ì #†'#á#‘k'"'#á #í'#á#‘l(" #…" #…Ò" #†" #†#‘m)" #…" #†" #†#‘n*" #…" #…Ò" #†" #†#‘o+" #…" #…Ò" #†"'# #ƒ(#‘p," #…" #…Ò" #†"'# #ƒ(#‘q-" #ŽÃ" #ƒ#‘r."'#á #…"'# #B"'# #C"'#á #†'#á#‘s/À?¥À?À‘UÀ?ä‘VÀ@‘WÀ@'‘XÀ@K‘YÀ@|‘ZÀA—ÀAב^ÀB‘_ÀBËÀBø‘aÀC¹ÀCî‘bÀD‘dÀDI‘eÀDl‘fÀD˜‘gÀD¯‘hÀDÔ‘iÀE‘jÀE<‘kÀE_‘lÀE‚‘mÀE®‘nÀEÓ‘oÀEÿ‘pÀF0‘qÀFa‘rÀF‘s  @Î#Ÿ%+*#‘t' #6#„‡$‘u‘v)(#ƒ¡(#…¥ '#ˆH&'#ƒ¡'#…¥'#…¦&'#ƒ¡'#…¥'#°#‘w-+'# *#ˆ2+*#‘x+*#‘y+*#ŽL+'#‘z*#‚n+'#‘z*#ˆ¡+'# *#‘{P#‘|'#6 #‘w +0#‘w#‘}#<$ŽŽ #'# #…g'#6 #…h'#6#…ª'#‚X&'#ƒ¡#…«'#‚X&'#…¥#…´'#6"'#‚e #‚¦#‘~'#6"'#‚e #‚¦#…³'#6"'#‚e #J#…Š'#I"'#‚€&'#ƒ¡'#…¥ #2#¤'#…¥"'#‚e #‚¦#‘'#…¥"'#‚e #‚¦#…5'#I"'#ƒ¡ #‚¦"'#…¥ #J#‘€'#I"'#ƒ¡ #‚¦"'#…¥ #J#…º'#…¥"'#ƒ¡ #‚¦'#…¥ #…¸#…—'#…¥"'#‚e #‚¦#‘'#…¥"'#‚e #‚¦#…“'#I#…Z'#I'#I"'#ƒ¡ #‚¦"'#…¥ #J #…»#‘‚'#I""#‘ƒ"'#ƒ¡ #‚¦"'#…¥ #J#‘„'#…¥""#‘ƒ"'#‚e #‚¦#‘…'#I #‘†'#‘z"'#ƒ¡ #‚¦"'#…¥ #J!#‘‡'#I"'#‘z #‘ˆ"@#‘‰'#6""#‚¦#@#‘Š'#6""#‚¦$#‘‹'# ""#‚¦%#‘Œ'#1&'#‘z""#‘ƒ""#‚¦&#‘'# ""#‘Ž""#‚¦'#‚”'#á(#‘'#‘z""#‘ƒ""#‚¦)#‘'#1&'#‘z""#‘ƒ""#‚¦*#‘‘'#I""#‘ƒ""#‚¦""#J+#‘’'#I""#‘ƒ""#‚¦,#‘“'#6""#‘ƒ""#‚¦-#‘”.-ÀHˆ2ÀH-‘xÀH=‘yÀHMŽLÀH]‚nÀHsˆ¡ÀH‰‘{ÀHžU‘|ÀH®^ÀH»‘}ÀHØUÀHçU…gÀH÷U…hÀIU…ªÀI U…«ÀI9…´ÀIY‘~ÀIy…³ÀI˜…ŠÀIŤÀIæ‘ÀJ…5ÀJ3‘€ÀJ_…ºÀJ‘…—ÀJ²‘ÀJÓ…“ÀJæ…ZÀK"‘‚ÀKU‘„ÀK}‘…ÀK‘†ÀK½‘‡ÀKÝ‘‰ÀK÷‘ŠÀL‘‹ÀL+‘ŒÀLT‘ÀLu‚”ÀL‰‘ÀL«‘ÀLÔ‘‘ÀLû‘’ÀM‘“ÀM=‘”)(#ƒ¡(#…¥ '#‘w&'#ƒ¡'#…¥#‘•/#‘'#‘z""#‘ƒ""#‚¦#„^0#‘'#1&'#‘z""#‘ƒ""#‚¦#„^1#‘‘'#I""#‘ƒ""#‚¦""#J#„^2#‘’'#I""#‘ƒ""#‚¦#„^3#‘“'#6""#‘ƒ""#‚¦#„^4#‘”#„^5ÀN½‘ÀNæ‘ÀO‘‘ÀOD‘’ÀOl‘“ÀO”‘”#‘z6+'#‚¨*#‘–7+'#‚¨*#‘—8+'#‘z*#ˆ¥9+'#‘z*#ˆ¦:#‘z #‘– #‘—;ÀOâ‘–ÀOø‘—ÀPˆ¥ÀP$ˆ¦ÀP:^)(#ƒ˜ '#…|&'#ƒ˜#‘˜<+'#‚¨*#‰=#‘˜ #‰>#'# ?#…g'#6@#…Q'#…R&'#ƒ˜A#…Y'#6"'#‚e #‚B#…Z'#I'#I"'#ƒ˜ #‚ #…TCÀP¥‰ÀP»^ÀPÑUÀPàU…gÀPðU…QÀQ …YÀQ)…Z)(#ƒ˜'#…R&'#ƒ˜#‘™D+'#‚¨*#‰E+'# *#‘{F+'#‘z*#‘šG+'#ƒ˜*#ˆaH#‘™ #‰ #‘{I#…{'#ƒ˜J#…z'#6KÀQ°‰ÀQÆ‘{ÀQÛ‘šÀQñˆaÀR^ÀR&U…{ÀR7…zÀGŒÀG§%‘tÀGË‘wÀMKÀNŒ‘•ÀO©ÀOÔ‘zÀPYÀP€‘˜ÀQYÀQŠ‘™ÀRJŸ€â +À ™À²ÀÀ.åÀ6À?XÀFÅÀR  @Î #‘›!#Œõ#Œø$=>0#„#„$‡„0#„$¿¡!#„$!#‘^#‘9#Ä#û#ÿ#þ#ü#ý##‘#ø##‘#‘#‘;#‘=#‘b#‘U#ú#‘m#‘h#‘p#‘q#‘s#‘Y##‘#‘Z#‘T#E$FG!#Ž#?#›#@#˜#Ž $BC!#Ž$€!#ƒâ#ƒÈ$‡„ +$‘œ‘$‘ž‘Ÿ$‘ ‘¡%+'#á*#‘¢" #‚ #‘£ " #‚ " #J#‘¤ +" #‘" #‘" #‘¥" #‘¦#‘§#<$YZ " #³#‘¨ " #³#‘© " #³#‘ª" #³'#6#‘«" #‚ #‘¬%+'#‚¨*#‘­#‘®" #ŽŒ#‘¯" #ŽŒ" #‘'#I#‘°%+*#‘±" #ŽŒ#‘²" #ŽŒ" #‘'#I#‘³#Œú"'#…> #ŒX'# #‘´"'#…> #ŒX#‘µ"'#…> #ŒX"'#á #à#‘¶"'#…> #ŒX#‘·#‘¸ +#‘¸#ƒÜ'#6" #2#ƒÝ'# #‚”'#á!#…È'#‚¨"'#… #… "#…É'#…>#ÀVJ^ÀVWƒÜÀVpUƒÝÀV€‚”ÀV”…ÈÀVµU…É '#‘¸'#6#‘¹$ +#‘¹%#‚”'#á&#'#6"'#6 #2'#Œ'#6"'#6 #2(#Ž'#6"'#6 #2)#ƒÝ'# *#…É'#…>+ÀW ^ÀW‚”ÀW-ÀWKŒÀWiŽÀW‡UƒÝÀW—U…É '#‘¸'#„`#Ž, +#Ž-#ƒÜ'#6" #2.#‚”'#á/#ƒÝ'# 0#…É'#…>1#…È'#‚¨"'#… #… 2ÀWö^ÀXƒÜÀX‚”ÀX0UƒÝÀX@U…ÉÀXQ…È)(#ƒ˜#‘º3#'# 4#¤'#ƒ˜"'# #¥5ÀX²UÀXÁ¤)(#ƒ˜ '#‘º&'#ƒ˜#o6#…5"'# #¥"'#ƒ˜ #J7ÀY…5#‘»8 '#‘¸'#‘»#‘¼9 +#‘¼:#ƒÝ'# ;#…É'#…><#‚”'#á=ÀYn^ÀY{UƒÝÀY‹U…ÉÀYœ‚” '#‘¼#‘½> +#‘½?ÀYá^ '#‘¼#‘¾@ +#‘¾AÀZ +^ '#‘¼'#…6#ŽB +#ŽC#‚”'#áDÀZ;^ÀZH‚”ÀRêÀT%‘¢ÀT‘£ÀT4‘¤ÀTQ‘§ÀTŠ‘¨ÀT¡‘©ÀT¸‘ªÀTÏ‘«ÀT둬ÀU%‘­ÀU9‘®ÀU%‘¯ÀU<‘°ÀU_%‘±ÀUo‘²ÀU†‘³ÀU©9ŒúÀU¶‘´ÀUØ‘µÀUõ‘¶ÀV‘·ÀV<‘¸ÀVÆÀVð‘¹ÀW¨ÀWÙŽÀXrÀXœ‘ºÀXáÀXïoÀY:ÀYB‘»ÀYPÀYQ‘¼ÀY°ÀYÌ‘½ÀYîÀYõ‘¾ÀZÀZŽÀZ\  @Î#‘›#‘¿ +#‘¿À[œ^%+*#‘À'#‘¿)(#ƒ˜ '#‘¸'#1&'#ƒ˜'#‘º&'#ƒ˜#HW +#H0#H#¨" ##‘À0#H#‘Á"'# #0#H#‘Â"'# #0#H#‘Ã0#H#…d"'# # 0#H#‘Ä"'# # +0#H#‘Å" #‘Æ 0#H#‘Ç" #‘Æ 0#H#‘È" #‘Æ @#‘É)(#‚Z'#1&'#‚Z"'#1&'#‚Z #¨@#‘Ê)(#‚Z'#1&'#‚Z"'#1 #¨@#‘Ë'#6"'#H #ƒÎ@#‘Ì'#6"'#H #ƒÎ@#‘Í'#6"'#H #ƒÎ@#‘Î'#6"'#H #ƒÎ#‘Ï"'#á #‘Ð#‘Ñ"'#á #‘Ð#‚y)(#‚j'#1&'#‚j#‚'#I"'#ƒ˜ #J#…˜'#ƒ˜"'# #¥#…”'#I"'# #¥"'#ƒ˜ #J#…•'#I"'# #¥"'#‚X&'#ƒ˜ #…‹#…–'#I"'# #¥"'#‚X&'#ƒ˜ #…‹#…™'#ƒ˜#…—'#6"'#‚e #‚#…š'#I'#6"'#ƒ˜ #‚ #…V#…›'#I'#6"'#ƒ˜ #‚ #…V#‘Ò'#I'#6"'#ƒ˜ #‚ #…V"'#6 #‰3 #…U'#‚X&'#ƒ˜'#6"'#ƒ˜ #‚ #…T!#…X)(#‚Z'#‚X&'#‚Z'#‚X&'#‚Z"'#ƒ˜ #‚ #…T"#…Š'#I"'#‚X&'#ƒ˜ #ˆÏ##‘Ó'#I"'#H #ŽÃ$#…“'#I%#…Z'#I'#I"'#ƒ˜ #‚ #…T&#‚å)(#‚Z'#‚X&'#‚Z'#‚Z"'#ƒ˜ #‚ #…T'#…a'#á"'#á #ƒ$†Ÿ^(#…i'#‚X&'#ƒ˜"'# #„»)#…j'#‚X&'#ƒ˜'#6"'#ƒ˜ #J #…V*#…k'#‚X&'#ƒ˜"'# #„»+#…l'#‚X&'#ƒ˜'#6"'#ƒ˜ #J #…V,#…['#ƒ˜'#ƒ˜"'#ƒ˜ #…_"'#ƒ˜ #‚ #…\-#…])(#‚Z'#‚Z"'#‚Z #…^'#‚Z"'#‚Z #…_"'#ƒ˜ #‚ #…\.#…o'#ƒ˜"'#6"'#ƒ˜ #…V"'#ƒ˜ #…p/#…q'#ƒ˜"'#6"'#ƒ˜ #…V"'#ƒ˜ #…p0#…r'#ƒ˜"'#6"'#ƒ˜ #…V"'#ƒ˜ #…p1#…s'#ƒ˜"'# #¥2#a'#1&'#ƒ˜"'# #B"'# #C3#…œ'#‚X&'#ƒ˜"'# #B"'# #C4#…m'#ƒ˜5#…n'#ƒ˜6#ƒ¹'#ƒ˜7#…Ÿ'#I"'# #B"'# #C8#…'#I"'# #B"'# #C"'#‚X&'#ƒ˜ #…‹"'# #…ž9#… '#I"'# #B"'# #C"'#ƒ˜ #…¡:#…¢'#I"'# #B"'# #C"'#‚X&'#ƒ˜ #†;#…b'#6'#6"'#ƒ˜ #‚ #…V<#…`'#6'#6"'#ƒ˜ #‚ #…V=#…Œ'#‚X&'#ƒ˜>#…'#I"'# "'#ƒ˜"'#ƒ˜ #„‹?@#‰ '# " #ƒÎ" #ƒ‡@#'#I"'#ƒâ #…ŽA#…'# "'#‚e #‚"'# #BB#…’'# "'#‚e #‚"'# #ƒ(C#…Y'#6"'#‚e #2D#…g'#6E#…h'#6F#‚”'#áG#…c'#1&'#ƒ˜"'#6 #…dH#‘Ô'#1&'#ƒ˜I#‘Õ'#1&'#ƒ˜J#…e'#…f&'#ƒ˜K#…Q'#…R&'#ƒ˜L#ƒÝ'# M#'# N #"'# #…‰O#‘Ö'#I"'# #…‰P#¤'#ƒ˜"'# #¥Q#…5'#I"'# #¥"'#ƒ˜ #JR#…¤'#‚€&'# '#ƒ˜S#…S'#‚X&'#ƒ˜"'#‚X&'#ƒ˜ #2T#…W)(#‚Z'#‚X&'#‚ZU#0'#1&'#ƒ˜"'#1&'#ƒ˜ #2V#…'# '#6"'#ƒ˜ #‚ #…V"'# #BW#…‘'# '#6"'#ƒ˜ #‚ #…V"'# #BX #…m'#I"'#ƒ˜ #‚Y #…n'#I"'#ƒ˜ #‚ZWÀ\^À\¨À\/‘ÁÀ\J‘ÂÀ\e‘ÃÀ\u…dÀ\‘ÄÀ\«‘ÅÀ\‘ÇÀ\Ù‘ÈÀ\ð‘ÉÀ]'‘ÊÀ]V‘ËÀ]v‘ÌÀ]–‘ÍÀ]¶‘ÎÀ]Ö‘ÏÀ]ñ‘ÑÀ^ ‚yÀ^/‚À^N…˜À^n…”À^™…•À^Í…–À_…™À_…—À_5…šÀ_e…›À_•‘ÒÀ_Ñ…UÀ` +…XÀ`T…ŠÀ`|‘ÓÀ`œ…“À`¯…ZÀ`ß‚åÀa!…aÀaI…iÀaq…jÀa©…kÀaÑ…lÀb …[ÀbH…]Àbœ…oÀbä…qÀc,…rÀct…sÀc”aÀcÇ…œÀcùU…mÀd +U…nÀdUƒ¹Àd,…ŸÀdU…Àd¤… ÀdÝ…¢Àe…bÀeK…`Àe{U…ŒÀe”…Àeщ ÀeòÀf…ÀfE…’Àft…YÀf“U…gÀf£U…hÀf³‚”ÀfÇ…cÀfó‘ÔÀg‘ÕÀg)…eÀgEU…QÀg^UƒÝÀgnUÀg}VÀg–‘ÖÀgµ¤ÀgÕ…5Àh…¤Àh!…SÀhQ…WÀhu0Àh¢…Àhâ…‘Ài V…mÀi@V…n)(#ƒ˜ '#H&'#ƒ˜'#o&'#ƒ˜#‘×[)(#ƒ˜ '#‘×&'#ƒ˜#‘Ø\)(#ƒ˜ '#‘×&'#ƒ˜#‘Ù])(#ƒ˜ '#H&'#ƒ˜#Ž^)(#ƒ˜'#…R&'#ƒ˜#‘Ú_+'#H&'#ƒ˜*#ˆ[`+'# *#ˆ2a+'# *#ˆ`b+'#ƒ˜*#ˆac#‘Ú"'#H&'#ƒ˜ #…‹d#…{'#ƒ˜e#…z'#6fÀl‹ˆ[Àl©ˆ2Àl¾ˆ`ÀlÓˆaÀlé^Àm U…{Àm…zÀ[sÀ[Ž‘¿À[©À[°%‘ÀÀ[ÌHÀi`Àk½‘×ÀkòÀkó‘ØÀlÀl‘ÙÀl>Àl?ŽÀldÀle‘ÚÀm/  @Î#‘› '#‘¸'#4#‘Û7 +#‘Û#„w'# "'#‚Û #ƒ‡#„|'#6#…½'#6#…¾'#6#…¿'#6#„n'#‘Û"'#‚Û #ƒ‡#z'#‘Û#<$YZ#„y'#‘Û @+'# *#‘ÜOOH€ +@+'# *#‘ÝHÿÿÿ #„„'#  #„Ô'#  #„Ó'# #„Ò'# #„Ñ'# #„×'#4#„Ö'#4#„Õ'#4#„Ø'#4#{'#‚Û" #|" #}#„…#…À'#á"'# #…Á#…Â'#á"'# #…Á#…Ã'#á"'# #…Ä#„†'#á"'# #„j@#‘Þ'#á"'#á #Š#‚”'#á#ƒÝ'# #o'#‘Û#0'#‘Û"'#‚Û #2#o'#‘Û"'#‚Û #2 #q'#4"'#‚Û #2!#p'#‘Û"'#‚Û #2"#„m'#‘Û"'#‚Û #2##‘ß'#6" #J$#„l'# "'#‚Û #2%#‘à'# "'#‚Û #2&#‘á'# "'#‚Û #2'#„o'#‚Û"'#‚Û #2(#‘â'#‚Û"'#‚Û #2)#„q'#‚Û"'#‚Û #2*#‘ã'#‚Û"'#‚Û #2+#‘ä'#‚Û"'#‚Û #2,#‘å'#‚Û"'#‚Û #2-#…;'#‚Û"'#‚Û #2.#‘æ'#‚Û"'#‚Û #2/#'#‚Û"'#‚Û #20#Œ'#‚Û"'#‚Û #21#Ž'#‚Û"'#‚Û #22#„s'#6"'#‚Û #23#„u'#6"'#‚Û #24#„t'#6"'#‚Û #25#„v'#6"'#‚Û #26#…É'#…>77Àmõ^Àn„wÀn"U„|Àn2U…½ÀnBU…¾ÀnRU…¿Ànb„nÀnƒzÀn£U„yÀn´‘ÜÀnÔ‘ÝÀnò„„Ào„ÔÀo„ÓÀo+„ÒÀo>„ÑÀoQ„×Àod„ÖÀow„ÕÀoŠ„ØÀo{Ào¼„…ÀoÊ…ÀÀoê…ÂÀp …ÃÀp-„†ÀpM‘ÞÀpn‚”Àp‚UƒÝÀp’oÀp¥0ÀpÄoÀpãqÀqpÀq „mÀq@‘ßÀqY„lÀqx‘àÀq—‘áÀq¶„oÀqÖ‘âÀqö„qÀr‘ãÀr6‘äÀrV‘åÀrv…;Àr–‘æÀr¶ÀrÖŒÀröŽÀs„sÀs5„uÀsT„tÀss„vÀs’U…É '#‘Û'# #‘ç8 +#‘ç9#z'#‘ç#„^#<$YZ:#„y'#‘ç#„^;#o'#‘ç#„^<#„z'#6=#„{'#6>#„'# "'# #ƒë?#„‚'# "'# #ƒë@#„x'# A@#‘è'# "'# #‘éB#„}'# "'# #ƒÆ"'# #‰C@#‘ê'# "'# #f"'# #g"'#6 #‘ëD#„'# "'# #‰E#„€'# "'# #2F@#‘ì'# "'# #‡,G@#‘í'# "'# #J"'# #‘îH@#‘ï'# "'# #J"'# #‘îI@#‘ð'# "'# #ƒÎ"'# #ƒ‡J@#‘ñ'# "'# #‡,K#…É'#…>L#„r'# MÀu;^ÀuHzÀuoU„yÀu‡oÀu¡U„zÀu±U„{ÀuÁ„Àuà„‚ÀuÿU„xÀv‘èÀv.„}ÀvY‘êÀvŽ„Àv­„€ÀvË‘ìÀvê‘íÀw‘ïÀw>‘ðÀwi‘ñÀwˆU…ÉÀw™„r '#‘Û'#4#‘òN +#‘òO#…É'#…>PÀxY^ÀxfU…É '#‘ç#‘óQ '#‘ó#‘ôR '#‘ô#‘õSÀm¾ÀmÙ‘ÛÀs£Àu‘çÀw¬Àx=‘òÀxwÀx…‘óÀxšÀx›‘ôÀx°Àx±‘õÀxÆ  @Î#‘› '#‘¸'#á'#‘º#‘ö) +#‘ö#†'# "'# #¥#<$YZ#‘÷'# "'# #¥#…Ë'#‚X&'#…Ì"'#á #í"'# #B#…Í'#…Ì"'#á #í"'# #B#0'#á"'#á #2#†'#6"'#á #2#†'#á"'#…Ê #‚Q"'#á #†#†'#á"'#…Ê #‚Q"'#á"'#…Ì #· #†'#á"'#…Ê #‚Q"'#á"'#…Ì #†"'#á"'#á #† +#†'#á"'#…Ê #‚Q"'#á #†"'# #ƒ( #†'#á"'#…Ê #‚Q'#á"'#…Ì #† #†"'# #ƒ( #ƒ'#1&'#á"'#…Ê #…Ò #…¢'#á"'# #B"'# #C"'#á #†#‘ø'#1&'#á"'#…Ê #…Ò#†'#6"'#…Ê #…Ò"'# #¥#†'#á"'# #ƒ("'# #ƒ)#†'#á#†'#á@#‘ù'#6"'# #ƒH@#‘ú'# "'#á #í"'# #¥@#‘û'# "'#á #í"'# #¥#†'#á#†'#á#†'#á#p'#á"'# #† #† +'#á"'# #ƒë"'#á #† $† ƒv#† '#á"'# #ƒë"'#á #† $† ƒv#ƒ''#1&'# #†'#†#…'# "'#…Ê #…Ò"'# #B#…’'# "'#…Ê #…Ò"'# #B #…Y'#6"'#…Ê #2"'# #ƒ(!#…g'#6"#…h'#6##„w'# "'#á #2$#‚”'#á%#ƒÝ'# &#…É'#…>'#'# (#¤'#á"'# #¥))ÀyL^ÀyY†Ày…‘÷Ày¤…ËÀyÝ…ÍÀz0Àz-†ÀzL†Àzz†Àz¹†À{†À{[†À{«ƒÀ{Ó…¢À| +‘øÀ|2†À|c†À|’†À|¦†À|º‘ùÀ|Ù‘úÀ}‘ûÀ}1†À}E†À}Y†À}mpÀ}Œ† +À}Á† À}öUƒ'À~ U†À~…À~N…’À~|…YÀ~¬U…gÀ~¼U…hÀ~Ì„wÀ~ë‚”À~ÿUƒÝÀU…ÉÀ UÀ/¤ÀyÀy)‘öÀO‘›€â ÀZjÀmdÀxÇÀ€k  @Î###‘ü!#ˆ=$‡„!#ˆ0#„$¿!#‘º#‘ô#‘õ$IJ!#ý#i#p#k#¨#j#ø#ù$FG!#?$BC‘ý$‡„ +$º»'# #‘þ#¨$‘ÿ’# +'# #k$’’#…É'#…> # '# "'# #"'# # +#'#"'# #"'# # #'#"'# #"'# # #'#"'# #"'# # #'#"'# #"'# ##'#"'# #"'# ##'#"'# #"'# ##'#"'# #"'# ##'#"'# #"'# ## '#!"'# #"'# ##"'##"'# #"'# ##$'#%"'# #"'# ##&'#'"'# #"'# ##('#)"'# #"'# ##*'#+"'# #"'# #ÀZU +ÀxU…ÉÀ‰ À¹ÀéÀ‚À‚IÀ‚yÀ‚©À‚ÙÀƒ Àƒ9 Àƒi"Àƒ™$ÀƒÉ&Àƒù(À„)* '#‚e-'#ˆ=&'#c'#ˆ&'#c'#'#’+'##*#’#’"'# #"#’#’ #’!#’#’"'#1&'#c #¨#…É'#…>0#’#_"'#1&'#c #¨#.'# # +'# !#'# "#-'# ##'# $#¤'#c"'# #¥%#…5'#I"'# #¥"'#c #J&#a'#'"'# #B"'# #C'À„ù’À…^À…&’À…?’À…bU…ÉÀ…s_À…•U.À…¤U +À…³UÀ…ÂU-À…ÑUÀ…à¤À…ÿ…5À†)a '#‚e-'#ˆ=&'#d'#ˆ&'#d'#!#’(+'#*#’)#’"'# #*##’#’"'# #’+!#’#’"'#1&'#d #¨,#…É'#…>-0#’#_"'#1&'#d #¨.#.'# /# +'# 0#'# 1#-'# 2#'# 3#¤'#d"'# #¥4#…5'#I"'# #¥"'#d #J5#a'#!"'# #B"'# #C6À†è’À†ý^À‡’À‡1’À‡TU…ÉÀ‡e_À‡‡U.À‡–U +À‡¥UÀ‡´U-À‡ÃUÀ‡Ò¤À‡ñ…5Àˆa '#‚e-'#ˆ=&'#e'#ˆ&'#e'#)#’ 7+'#%*#’8#’ "'# #9"#’ #’ #’:!#’ #’"'#1&'#e #¨;0#’ #_"'#1&'#e #¨<#…É'#…>=#.'# ># +'# ?#'# @#-'# A#'# B#¤'#e"'# #¥C#…5'#I"'# #¥"'#e #JD#a'#)"'# #B"'# #CEÀˆÚ’Àˆï^À‰’À‰ ’À‰C_À‰eU…ÉÀ‰vU.À‰…U +À‰”UÀ‰£U-À‰²UÀ‰Á¤À‰à…5ÀŠ +a'#,#’ +#¨$’ ’ F#.'# #i$’ ‘þ#j$’ ‘þG# +'# #k$’’H#'# #k$’GI#-'# #k$’’J#’'#I"'# #"'# #"'#á #àK#’'#I"'# #"'# #"'#á #àLÀŠ´U.ÀŠàU +ÀŠþUÀ‹U-À‹9’À‹p’" #'# #’M" #." #" #'#I#’N"'#1 #¨'#1#’O '#’ +'#+#’#¨$’’P'#’"'# #Q0#’#?"'# #."'# #"'# #R#…É'#…>S#-'# T#Z'#4"'# #G"'#5 #N #5#9U#’'#4"'# #G"'#6 #’#k$’Z#j$’4V#\'#4"'# #G"'#5 #N #5#9W#’'#4"'# #G"'#6 #’#k$’\#j$’4X#M'# "'# #G"'#5 #N #5#9Y#’'# "'# #G"'#6 #’#k$’ M#j$’! Z#R'# "'# #G"'#5 #N #5#9[#’"'# "'# #G"'#6 #’#k$’#R#j$’! \#V'# "'# #G"'#5 #N #5#9]#F'# "'# #G^#P'# "'# #G"'#5 #N #5#9_#’$'# "'# #G"'#6 #’#k$’%P#j$’&‘õ`#T'# "'# #G"'#5 #N #5#9a#’''# "'# #G"'#6 #’#k$’(T#j$’)‘ôb#X'# "'# #G"'#5 #N #5#9c#K'# "'# #Gd#['#I"'# #G"'#‚Û #J"'#5 #N #5#9e#’*'#I"'# #G"'#‚Û #J"'#6 #’#k$’+[f#]'#I"'# #G"'#‚Û #J"'#5 #N #5#9g#’,'#I"'# #G"'#‚Û #J"'#6 #’#k$’-]h#O'#I"'# #G"'# #J"'#5 #N #5#9i#’.'#I"'# #G"'# #J"'#6 #’#k$’/Oj#S'#I"'# #G"'# #J"'#5 #N #5#9k#’0'#I"'# #G"'# #J"'#6 #’#k$’1Sl#W'#I"'# #G"'# #J"'#5 #N #5#9m#H'#I"'# #G"'# #Jn#Q'#I"'# #G"'# #J"'#5 #N #5#9o#’2'#I"'# #G"'# #J"'#6 #’#k$’3Qp#U'#I"'# #G"'# #J"'#5 #N #5#9q#’4'#I"'# #G"'# #J"'#6 #’#k$’5Ur#Y'#I"'# #G"'# #J"'#5 #N #5#9s#L'#I"'# #G"'# #Jt@#’6'#’" #‹:u@#’7'#’" #‹>" #‹?v@#’8'#’" #‹>" #‹?" #„w'ÀŒ[^ÀŒs?ÀŒ£U…ÉÀŒ´U-ÀŒÃZÀŒó’À;\Àk’À³MÀã’ÀŽ+RÀŽ[’"ÀŽ£VÀŽÓFÀŽñPÀ!’$ÀjTÀš’'ÀãXÀKÀ1[Àm’*À´]Àð’,À‘7OÀ‘r’.À‘¸SÀ‘ó’0À’9WÀ’tHÀ’QÀ’Ø’2À“UÀ“Y’4À“ŸYÀ“ÚLÀ”’6À”’7À”@’8)(#ƒ˜ '#’ +'#p&'#ƒ˜#’9x#'# y#’:'#I"'# #B"'# #C"'#’9 #ã"'# #…žzÀ•‘UÀ• ’: '#’9&'#4-'#ˆ=&'#4'#ˆ&'#4#’;{#¤'#4"'# #¥|#…5'#I"'# #¥"'#4 #J}#…'#I"'# #B"'# #C"'#‚X&'#4 #…‹"'# #…ž~À–(¤À–G…5À–q… '#’9&'# -'#ˆ=&'# '#ˆ&'# '#1&'# #’<#…5'#I"'# #¥"'# #J€€#…'#I"'# #B"'# #C"'#‚X&'# #…‹"'# #…ž€À—…5À—F… '#’;'###’=#¨$’>’?€‚#’="'# #€ƒ0#’=#_"'#1&'#4 #`€„0#’=#?"'# #."'# #"'# #€…#…É'#…>€†#a'##"'# #B"'# #C€‡@#’@'#’="'# #‹:€ˆ@#’6'#’=" #‹:€‰@#’8'#’=" #‹>" #‹?" #„€ŠÀ—Ï^À—è_À˜ +?À˜;U…ÉÀ˜MaÀ˜y’@À˜š’6À˜¶’8 '#’;'#%#’A#¨$’B’C€‹#’A"'# #€Œ0#’A#_"'#1&'#4 #`€0#’A#?"'# #."'# #"'# #€Ž#…É'#…>€#a'#%"'# #B"'# #C€@#’@'#’A"'# #‹:€‘@#’6'#’A" #‹:€’@#’8'#’A" #‹>" #‹?" #„€“À™@^À™Y_À™{?À™¬U…ÉÀ™¾aÀ™ê’@Àš ’6Àš'’8 '#’<'##’D#¨$’EŒ—€” #’D"'# #€•0#’D#_"'#1&'# #`€–0#’D#?"'#‘þ #."'# #"'# #€—#…É'#…>€˜#¤'# "'# #¥€™#a'#"'# #B"'# #C€š@#’@'#’D"'# #‹:€›@#’6'#’D" #‹:€œ@#’8'#’D" #‹>" #‹?" #„€ Àš±^ÀšÊ_Àšì?À›U…ÉÀ›0¤À›PaÀ›|’@À›’6À›¹’8 '#’<'##’F#¨$’GŒ˜€ž #’F"'# #€Ÿ0#’F#_"'#1&'# #`€ 0#’F#?"'# #."'# #"'# #€¡#…É'#…>€¢#¤'# "'# #¥€£#a'#"'# #B"'# #C€¤@#’@'#’F"'# #‹:€¥@#’6'#’F" #‹:€¦@#’8'#’F" #‹>" #‹?" #„€§ ÀœJ^Àœc_Àœ…?Àœ¶U…ÉÀœÈ¤ÀœèaÀ’@À5’6ÀQ’8 '#’<'##’H#¨$’IŒ–€¨ +#’H"'# #€©0#’H#_"'#1&'# #`€ª0#’H#?"'# #."'# #"'# #€«#…É'#…>€¬#¤'# "'# #¥€­#a'#"'# #B"'# #C€®@#’@'#’H"'# #‹:€¯@#’6'#’H" #‹:€°@#’7'#’H" #‹>" #‹?€±@#’8'#’H" #‹>" #‹?" #„€² +Àâ^Àû_Àž?ÀžNU…ÉÀž`¤Àž€aÀž¬’@ÀžÍ’6Àžé’7ÀŸ ’8 '#’<'##’J#¨$’KŒ›€³ #’J"'# #€´0#’J#_"'#1&'# #¨€µ0#’J#?"'# #."'# #"'# #€¶#…É'#…>€·#¤'# "'# #¥€¸#a'#"'# #B"'# #C€¹@#’@'#’J"'# #‹:€º@#’6'#’J" #‹:€»@#’8'#’J" #‹>" #‹?" #„€¼ ÀŸ¤^ÀŸ½_ÀŸà?À U…ÉÀ #¤À CaÀ o’@À ’6À ¬’8 '#’<'##’L#¨$’MŒœ€½ #’L"'# #€¾0#’L#_"'#1&'# #`€¿0#’L#?"'# #."'# #"'# #€À#…É'#…>€Á#¤'# "'# #¥€Â#a'#"'# #B"'# #C€Ã@#’@'#’L"'# #‹:€Ä@#’6'#’L" #‹:€Å@#’8'#’L" #‹>" #‹?" #„€Æ À¡=^À¡V_À¡x?À¡©U…ÉÀ¡»¤À¡ÛaÀ¢’@À¢(’6À¢D’8 '#’<'##’N#¨$’O’P€Ç #’N"'# #€È0#’N#_"'#1&'# #`€É0#’N#?"'# #."'# #"'# #€Ê#…É'#…>€Ë#'# €Ì#¤'# "'# #¥€Í#a'#"'# #B"'# #C€Î@#’@'#’N"'# #‹:€Ï@#’6'#’N" #‹:€Ð@#’7'#’N" #‹>" #‹?€Ñ@#’8'#’N" #‹>" #‹?" #„€Ò À¢Õ^À¢î_À£?À£AU…ÉÀ£SUÀ£c¤À£ƒaÀ£¯’@À£Ð’6À£ì’7À¤’8 '#’<'# #×#¨$’Q’R€Ó #×"'# #€Ô0#×#_"'#1&'# #`€Õ0#×#?"'# #."'# #"'# #€Ö#…É'#…>€×#'# €Ø#¤'# "'# #¥€Ù#a'# "'# #B"'# #C€Ú@#’@'#×"'# #‹:€Û@#’6'#×" #‹:€Ü@#’7'#×" #‹>" #‹?€Ý@#’8'#×" #‹>" #‹?" #„€Þ À¤­^À¤Æ_À¤è?À¥U…ÉÀ¥+UÀ¥;¤À¥[aÀ¥‡’@À¥¨’6À¥Ä’7À¥ç’8'#c#’S€ß)+'#4*#f€à+'#4*#g€á+'#4*#h€â+'#4*#i€ã@+'#’=*#£€ä@+'#*#’T€å@#’U" #f€æ#’S"'#4 #f"'#4 #g"'#4 #h"'#4 #i€ç##’S#j"'#4 #k€è##’S#l€é0#’S#m"'#d #‡,€ê##’S#n"'#e #k€ë##’S#’V"'#4 #f"'#4 #g"'#4 #h"'#4 #i€ì"#’S#’W #f #g #h #i€í#‚”'#á€î#0'#c"'#c #2€ï#o'#c€ð#o'#c"'#c #2€ñ#p'#c"'#c #2€ò#q'#c"'#c #2€ó#r'#d"'#c #2€ô#s'#d"'#c #2€õ#t'#d"'#c #2€ö#u'#d"'#c #2€÷#v'#d"'#c #2€ø#w'#d"'#c #2€ù#x'#c"'#4 #y€ú#z'#c€û#{'#c"'#c #|"'#c #}€ü#~'# €ý#'#c"'# #€€þ#'#c"'#c #2"'# #€€ÿ#‚'#c"'#4 #’X#ƒ'#c"'#4 #’Y#„'#c"'#4 #’Z#…'#c"'#4 #’[#†'#c"'#c #2#‡'#c"'#c #2#ˆ'#c#‰'#c#Š'#c)À¦pfÀ¦…gÀ¦šhÀ¦¯iÀ¦Ä£À¦Û’TÀ¦ñ’UÀ§^À§@jÀ§[lÀ§kmÀ§‡nÀ§¢’VÀ§ß’WÀ¨‚”À¨%0À¨CoÀ¨VoÀ¨tpÀ¨’qÀ¨°rÀ¨ÎsÀ¨ìtÀ© +uÀ©(vÀ©FwÀ©dxÀ©‚zÀ©•{À©¾U~À©ÎÀ©îÀª‚Àª9ƒÀªY„Àªy…Àª™†Àª¸‡Àª×ˆÀªë‰ÀªÿŠ'#d#’\ !+'# *#f ++'# *#g +'# *#h +'# *#i @+*#£@#’U" #f#’\"'# #f"'# #g"'# #h"'# #i##’\#6"'#6 #f"'#6 #g"'#6 #h"'#6 #i0#’\#‹"'#c #…T"#’\#’W #f #g #h #i#‚”'#á#Œ'#d"'#d #2#'#d"'#d #2#Ž'#d"'#d #2#0'#d"'#d #2#o'#d"'#d #2#o'#d#~'# #'#d"'# #€#'#d"'#d #2"'# #€#‚'#d"'# #f#ƒ'#d"'# #g#„'#d"'# #h #…'#d"'# #i!#'#6"#'#6##‘'#6$#’'#6%#“'#d"'#6 #&#”'#d"'#6 #'#•'#d"'#6 #‘(#–'#d"'#6 #’)#—'#c"'#c #˜"'#c #™*!À¬7fÀ¬LgÀ¬ahÀ¬viÀ¬‹£À¬œ’UÀ¬±^À¬ë6À­'‹À­D’WÀ­u‚”À­ŠŒÀ­©À­ÈŽÀ­ç0À®oÀ®#oÀ®6U~À®FÀ®fÀ®‘‚À®°ƒÀ®Ï„À®î…À¯ UÀ¯UÀ¯/U‘À¯@U’À¯Q“À¯q”À¯‘•À¯±–À¯Ñ—'#e#’]++'#4*#f,+'#4*#g-@+'#’A*#£.@+'#*#’^/#’] #f #g0##’]#j"'#4 #k1##’]#l2##’]#š"'#c #k3"#’]#’V #f #g4#‚”'#á5#0'#e"'#e #26#o'#e7#o'#e"'#e #28#p'#e"'#e #29#q'#e"'#e #2:#x'#e"'#4 #y;#z'#e<#{'#e"'#e #|"'#e #}=#~'# >#‚'#e"'#4 #f?#ƒ'#e"'#4 #g@#†'#e"'#e #2A#‡'#e"'#e #2B#ˆ'#eCÀ°öfÀ± gÀ± £À±7’^À±M^À±kjÀ±†lÀ±–šÀ±²’VÀ±Ó‚”À±è0À²oÀ²oÀ²7pÀ²UqÀ²sxÀ²‘zÀ²¤{À²ÍU~À²Ý‚À²üƒÀ³†À³:‡À³Yˆ"'# #¥'#6#’_D"'# #¥"'#1 #¨"'# #'#I#’`E"'# #B"'# #C"'# #'# #’aFÀ€’À7‘þÀ„YÀ„Á’À†TÀ†°’ÀˆFÀˆ¢’ ÀŠ5ÀŠ‘’ +À‹§À‹Î’À‹é’ÀŒ’ÀŒ1’À”iÀ•d’9À•âÀ•ð’;À–¿À–Õ’<À—•À—¤’=À˜àÀ™’AÀšQÀš†’DÀ›ãÀœ’FÀ{À·’HÀŸ6ÀŸy’JÀ ÖÀ¡’LÀ¢nÀ¢ª’NÀ¤9À¤‚×À¦À¦Z’SÀ«À¬!’\À¯ýÀ°à’]À³mÀ´ ’_À´.’`À´g’a’bBÀ´ž  @Î ##’c#’d$¸¹0#„#„$‡„!#ˆ$¿$’e’f$’g’h$¢£$º»!#i#k#¨#j#<$FG!#?$BC!#‘¸#‘Ù$IJ  '#‘¸#’i#’j#¨$’k’l +0#’i#8 #à'#á #ƒ7'# #ŒX'# À¶¢8À¶±UàÀ¶ÃUƒ7À¶ÔUŒX '#‘¸#’m#¨$’n’o0#’m#8@+'# *#’pHˆþ#’q'#I"'# #‚•"'# #…m"'# #‚%"'# #’r#k$’s’t#’u'#I"'# #‚•"'# #‚%"'# #ŒX"'# #…2"'# #’r#k$’v’w#’x'#I"'# #¥"'# #’y#k$’z’{À·$8À·3’pÀ·Q’qÀ·£’uÀ¸’x '#‘¸#’|#’j#¨$’}’~0#’|#8À¸‹8 '#‘¸#’#¨$’€’0#’#8#’‚'#’ƒ#k$’„’‚#’…'#’†#k$’„’‚À¸Ä8À¸ÓU’‚À¸óU’… '#‘¸#’‡#¨$’ˆ’‰0#’‡#8À¹K8 '#‘¸#’Š#¨$’‹’Œ0#’Š#8@+'# *#’H“»@+'# *#’ŽH“¸ @+'# *#’H“¹!@+'# *#’H“º"@+'# *#’‘H“¼#@+'# *#’’H“½$@+'# *#’“H“°%@+'# *#’”H“±&@+'# *#’•H“²'@+'# *#’–H“³(@+'# *#’—H“´)@+'# *#’˜H“µ*@+'# *#’™H“¶+@+'# *#’šH“·,@+'# *#’›H“Û-@+'# *#’œH“Ø.@+'# *#’H“Ù/@+'# *#’žH“Ú0@+'# *#’ŸH“Ü1@+'# *#’ H“Ý2@+'# *#’¡H“Ð3@+'# *#’¢H“Ñ4@+'# *#’£H“Ò5@+'# *#’¤H“Ó6@+'# *#’¥H“Ô7@+'# *#’¦H“Õ8@+'# *#’§H“Ö9@+'# *#’¨H“×:À¹„8À¹“’À¹±’ŽÀ¹Ï’À¹í’Àº ’‘Àº)’’ÀºG’“Àºe’”Àºƒ’•Àº¡’–Àº¿’—ÀºÝ’˜Àºû’™À»’šÀ»7’›À»U’œÀ»s’À»‘’žÀ»¯’ŸÀ»Í’ À»ë’¡À¼ ’¢À¼'’£À¼E’¤À¼c’¥À¼’¦À¼Ÿ’§À¼½’¨ '#‘¸#’©#¨$’ª’«;0#’©#8<@+'# *#’¬HŒ“=@+'# *#’­H‡î>@+'# *#’®HŒ’?À½å8À½ô’¬À¾’­À¾0’® '#‘¸#’¯#¨$’°’±@0#’¯#8A@+'# *#’²HdBÀ¾8À¾Ÿ’² '#‘¸#’³#¨$’´’µC 0#’³#8D@+'# *#’¶H’pE@+'# *#’·H’rF@+'# *#’¸H’tG@+'# *#’¹H’vH@+'# *#’ºH’xI@+'# *#’»H’qJ@+'# *#’¼H’sK@+'# *#’½H’yL@+'# *#’¾H’uM@+'# *#’¿H’wN À¾ï8À¾þ’¶À¿’·À¿:’¸À¿X’¹À¿v’ºÀ¿”’»À¿²’¼À¿Ð’½À¿î’¾ÀÀ ’¿ '#‘¸#’À#¨$’Á’ÂO0#’À#8P@+'# *#’ÃHŒQ@+'# *#’ÄHŒR@+'# *#’ÅHŒS@+'# *#’ÆHŒTÀÀ¤8ÀÀ³’ÃÀÀÑ’ÄÀÀï’ÅÀÁ ’Æ '#‘¸#’Ç#¨$’È’ÉU0#’Ç#8V@+'# *#’ÊHƒñW@+'# *#’ËHƒòX@+'# *#’ÌHƒóY@+'# *#’ÍHƒðZÀÁu8ÀÁ„’ÊÀÁ¢’ËÀÁÀ’ÌÀÁÞ’Í '#‘¸#’Î#¨$’Ï’Ð[0#’Î#8\@+'# *#’ÑHŒM]@+'# *#’ÒHŒN^@+'# *#’ÓHŒO_@+'# *#’ÔHŒL`ÀÂF8ÀÂU’ÑÀÂs’ÒÀ‘’ÓÀ¯’Ô '#’Õ#’Ö#’j#¨$’×’Øa0#’Ö#8b#’Ö"'#á #ŒX"'#‚€ #’Ùc@#’Ú'#’Ö" #ŒX" #’Ùd@#’Û'#’Ö" #ŒXe#’Ü'#áfÀà 8ÀÃ/^ÀÃY’ÚÀÃ{’ÛÀÖU’Ü '#‘¸#’Ý#¨$’Þ’ßg0#’Ý#8h@+'# *#’àH’Fi@+'# *#’áH’EjÀÃí8ÀÃü’àÀÄ’á '#‘¸#’â#¨$’ã’äk0#’â#8l#’å'#á"'#’æ #’çmÀÄr8ÀÄ’å '#‘¸#’è#¨$’é’ên0#’è#8o@+'# *#’ëH„úpÀÄÔ8ÀÄã’ë '#‘¸#’ì#¨$’í’îq0#’ì#8r#’ï'#I"'#1&'# #’ð#k$’ñ’òsÀÅ38ÀÅB’ï '#‘¸#’ó#¨$’ô’õt0#’ó#8u@+'# *#’öH‚v@+'# *#’÷HŒCw@+'# *#’øHŒBx@+'# *#’ùHŒ@yÀŨ8ÀÅ·’öÀÅÕ’÷ÀÅó’øÀÆ’ù '#‘¸#’ú#¨$’û’üz0#’ú#8{@+'# *#’ýH€|@+'# *#’þH€}ÀÆy8Àƈ’ýÀƦ’þ '#‘¸#’ÿ#¨$““~0#’ÿ#8ÀÆþ8 '#‘¸#“#¨$““€€0#“#8€ÀÇ88 '#‘¸#“#¨$““€‚0#“#8€ƒ@+'# *#“Hˆe€„@+'# *#“ H»€…@+'# *#“ +Hˆd€†@+'# *#“ Hˆg€‡@+'# *#“ Hˆf€ˆ@+'# *#“ HŽ(€‰@+'# *#“Hˆ¿€Š#“'#I"'# #…†"'#“ #†F#k$““€‹#“'#“#k$““€Œ#“'#I"'#“ #†F#k$““€#“'#I"'# #…†#k$““€Ž#“'#‚e"'# #…†"'# #“#k$““€#“ '#‚e"'#“ #†F"'# #“#k$“!“"€#“#'#6"'#“ #†F#k$“$“%€‘#“&'#I"'#“ #†F"'# #…†#k$“'“(€’ÀÇs8Àǃ“ÀÇ¢“ ÀÇÁ“ +ÀÇà“ ÀÇÿ“ ÀÈ“ ÀÈ=“ÀÈ\“ÀȘ“Àȼ“ÀÈì“ÀÉ“ÀÉW“ ÀÉ”“#ÀÉÄ“& '#‘¸#“)#¨$“*“+€“0#“)#8€”@+'# *#“ H»€•@+'# *#“ +Hˆd€–@+'# *#“ HŽ(€—@+'# *#“Hˆ¿€˜#“&'#I"'#“, #†F"'# #…†#k$“'“(€™ÀÊ›8ÀÊ«“ ÀÊÊ“ +ÀÊé“ ÀË“ÀË'“& '#‘¸#“-#¨$“.“/€š0#“-#8€›À˵8 '#‘¸#“0#¨$“1“2€œ0#“0#8€ÀËð8 '#‘¸#“3#¨$“4“5€ž0#“3#8€Ÿ@+'# *#“6H„ÿ€ @+'# *#“7H„þ€¡ÀÌ+8ÀÌ;“6ÀÌZ“7 '#‘¸#“8#’j#¨$“9“:€¢0#“8#8€£À̽8 '#‘¸#“;#¨$“<“=€¤0#“;#8€¥#“>'#‚~"'# #…†"'# #“?"'#, #“@"'# #“A"'# #€¦ÀÌø8ÀÍ“> '#‘¸#“B#¨$“C“D€§0#“B#8€¨#“E'#I€©#“F'#I€ªÀÍ8ÀÍ “EÀ͵“F '#‘¸#“G#¨$“H“I€«0#“G#8€¬ÀÎ8 '#‘¸#“J#¨$“K“L€­0#“J#8€®@+'# *#“MH‹‹€¯ÀÎ>8ÀÎN“M '#‘¸#“N#¨$“O“P€°0#“N#8€±ÀΠ8 '#‘¸#“Q#¨$“R“S€²0#“Q#8€³ÀÎÛ8 '#‘¸#“T#¨$“U“V€´0#“T#8€µ@+'# *#“WHa€¶ÀÏ8ÀÏ&“W '#‘¸#“X#¨$“Y“Z€·0#“X#8€¸ÀÏx8 '#‘¸#“[#¨$“\“]€¹0#“[#8€º@+'# *#“^H…µ€»#“_'#I"'#“` #“a#k$“b“c€¼#“d'#“`#k$“e“f€½#“g'#I"'#“` #“a#k$“h“i€¾#“j'#6"'#“` #“a#k$“k“l€¿Àϳ8ÀÏÓ^ÀÏâ“_ÀГdÀÐ6“gÀÐf“j '#‘¸#“m#’j#¨$“n“o€À0#“m#8€ÁÀÐî8 '#‘¸#“,#¨$“p“q€Â0#“,#8€ÃÀÑ)8 '#‘¸#“r#’j#¨$“s“t€Ä0#“r#8€ÅÀÑm8 '#‘¸'#“u#“v#“w #“w#“x#“w #“w#“y#’j#¨$“z“{€Æ€¢0#“v#8€ÇP#“|'#6€È#’‚'#’ƒ€É#“}'# €Ê#“~'# €Ë#“'#I"'# #“€€Ì#“'#I"'#“m #“‚"'#’æ #’ç€Í#“ƒ'#I"'#“m #“‚"'# #¥"'#á #à€Î#“„'#I"'# #…†"'#’| #.€Ï#“…'#I"'# #…†"'#“8 #“†€Ð#“‡'#I"'# #…†"'#“r #“ˆ€Ñ#“‰'#I"'# #…†"'#“Š #“€€Ò#“‹'#I"'#‚Û #“Œ"'#‚Û #“"'#‚Û #“Ž"'#‚Û #“€Ó#“'#I"'# #‚•€Ô#“‘'#I"'# #“’"'# #““€Õ#“”'#I"'# #“•"'# #“–€Ö#“—'#I"'# #“˜"'# #“™"'# #“š"'# #“›€×#“œ'#I"'# #…†" #“"'# #“ž€Ø#“Ÿ'#I"'# #…†"'# #…2" #A€Ù#“ '# "'# #…†€Ú#…“'#I"'# #€€Û#“¡'#I"'#‚Û #“Œ"'#‚Û #“"'#‚Û #“Ž"'#‚Û #“€Ü#“¢'#I"'#‚Û #Žx€Ý#“£'#I"'# #y€Þ#“¤'#I"'#6 #“Œ"'#6 #“"'#6 #“Ž"'#6 #“€ß#“¥'#‚~€à#“¦'#I"'#’æ #’ç€á#“§'#I"'# #…†"'# #‹ï"'# #“¨"'# #ƒë"'# #ƒì"'# #“©"'#, #A€â#“ª'#I"'# #…†"'# #‹ï"'# #“«"'# #“¬"'# #ƒë"'# #ƒì"'# #“­"'#, #A€ã#“®'#I"'# #…†"'# #‹ï"'# #“¨"'# #f"'# #g"'# #ƒë"'# #ƒì"'# #“©€ä#“¯'#I"'# #…†"'# #‹ï"'# #“«"'# #“¬"'# #f"'# #g"'# #ƒë"'# #ƒì€å#‚*'#’|€æ#“°'#“8€ç#“±'#“m€è#“²'#“r€é#“³'#’æ"'# #ŒX€ê#“´'#“Š€ë#“µ'#I"'# #‚•€ì#“¶'#I"'#’| #.€í#“·'#I"'#“8 #“†€î#“¸'#I"'#“m #“‚€ï#“¹'#I"'#“r #“ˆ€ð#“º'#I"'#’æ #’ç€ñ#“»'#I"'#“Š #“€€ò#“¼'#I"'# #“½€ó#“¾'#I"'#6 #“¿€ô#“À'#I"'#‚Û #“Á"'#‚Û #“€õ#“Ã'#I"'#“m #“‚"'#’æ #’ç€ö#“Ä'#I"'# #“Å€÷#“Æ'#I"'# #¥€ø#“Ç'#I"'# #‚•"'# #…m"'# #‚%€ù#“È'#I"'# #‚•"'# #‚%"'# #ŒX"'# #…2€ú#Œ"'#I"'# #“Å€û#“É'#I"'# #¥€ü#‡5'#I€ý#‚ñ'#I€þ#“Ê'#I"'# #…†"'# #“Ë"'# #“Ì"'#“r #“ˆ€ÿ#“Í'#I"'# #…†"'# #“Ë"'# #“Î"'#“Š #“€"'# #‹ï#“Ï'#I"'# #‚•#“Ð'#I"'# #…†#“Ñ'#’i"'#“m #“‚"'# #¥#“Ò'#’i"'#“m #“‚"'# #¥#“Ó'#1&'#’æ"'#“m #“‚#“Ô'# "'#“m #“‚"'#á #à#“Õ'#‚e"'# #…†"'# #“#i$“Ö“×#j$“Ö“×#“Ø'#‚€#i$“Ù“Ú#“Û#k$“Ü“Ø#i$“Ù“Ú #“Ý'#  +#“Þ'#‚e"'#á #à #“ß'#‚e"'# #…†"'# #“Ë"'# #“#i$“à“á#j$“à“á #“â'#‚e"'# #“#i$“ã“ä#j$“ã“ä #“å'#á"'#“m #“‚#“æ'#‚e"'#“m #“‚"'# #“#i$“ç“è#j$“ç“è#“é'#‚e"'# #…†"'# #“#i$“Ö“×#j$“Ö“×#“ê'#á"'#’æ #’ç#“ë'#‚e"'#’æ #’ç"'# #“#i$“ç“è#j$“ç“è#“ì'#“í"'# #“î"'# #“ï#“ð'#á"'#’æ #’ç#“ñ'#1&'#á#“ò'#‚e"'# #…†"'# #“#i$“Ö“×#j$“Ö“×#“ó'#‚e"'#“m #“‚"'#“ô #“õ#i$“ö“÷#j$“ö“÷#“ø'#“ô"'#“m #“‚"'#á #à#“ù'#‚e"'# #¥"'# #“#i$“ú“û#j$“ú“û#“ü'# "'# #¥"'# #“#“ý'#I"'# #…†"'# #‚•#“þ'#6"'#’| #.#“ÿ'#6#”'#6"'# #“Å#”'#6"'#“8 #“†#”'#6"'#“m #“‚ #”'#6"'#“r #“ˆ!#”'#6"'#’æ #’ç"#”'#6"'#“Š #“€##”'#I"'#‚Û #ƒë$#”'#I"'#“m #“‚%#”'#I"'# #“"'# #” &#” +'#I"'#‚Û #ƒÞ"'#‚Û #” '#” '#I"'# #f"'# #g"'# #ƒë"'# #ƒì"'# #“­"'# #ŒX"'#, #” #k$””(#”'#I"'# #…†"'# #“¨"'# #ƒë"'# #ƒì)#”'#I"'#‚Û #J"'#6 #”*#”'#I"'# #f"'# #g"'# #ƒë"'# #ƒì+#”'#I"'#’æ #’ç"'#á #í,#”'#I"'# #“½"'# #‡ "'# #€-#”'#I"'# #”"'# #“½"'# #‡ "'# #€.#”'#I"'# #€/#”'#I"'# #”"'# #€0#”'#I"'# #”"'# #”"'# #”1#”'#I"'# #”"'# #”"'# #”"'# #”2#”'#I "'# #…†"'# #‹ï"'# #“¨"'# #” "'# #”!" #”""'# #“­"'# #ŒX"'#, #” 3#”#'#I " #…†" #‹ï" #“¨" #ƒë" #ƒì"'# #“©" #“­" #ŒX"'#, #” #k$”$”4#”%'#I" #…†" #‹ï" #“¨" #“­" #ŒX" #” #k$”$”5#”&'#I" #…†" #‹ï" #“¨" #“­" #ŒX"'#”' #”(#k$”$”6#”)'#I" #…†" #‹ï" #“¨" #“­" #ŒX"'#’ƒ #’‚#k$”$”7#”*'#I" #…†" #‹ï" #“¨" #“­" #ŒX"'#”+ #”,#k$”$”8#”-'#I" #…†" #‹ï" #“¨" #“­" #ŒX"'#”. #”/#k$”$”9#”0'#I"'# #…†"'# #“"'#‚Û #” :#”1'#I"'# #…†"'# #“"'# #” ;#”2'#I "'# #…†"'# #‹ï"'# #“«"'# #“¬"'# #” "'# #”!" #”3"'# #ŒX"'#, #” <#”4'#I " #…†" #‹ï" #“«" #“¬" #ƒë" #ƒì"'# #“­" #ŒX"'#, #” #k$”5”2=#”6'#I" #…†" #‹ï" #“«" #“¬" #“­" #ŒX" #” #k$”5”2>#”7'#I" #…†" #‹ï" #“«" #“¬" #“­" #ŒX"'#”' #”(#k$”5”2?#”8'#I" #…†" #‹ï" #“«" #“¬" #“­" #ŒX"'#’ƒ #’‚#k$”5”2@#”9'#I" #…†" #‹ï" #“«" #“¬" #“­" #ŒX"'#”+ #”,#k$”5”2A#”:'#I" #…†" #‹ï" #“«" #“¬" #“­" #ŒX"'#”. #”/#k$”5”2B#”;'#I"'#“ô #“õ"'#‚Û #fC#”<'#I"'#“ô #“õ" #kD#”='#I"'#“ô #“õ"'# #fE#”>'#I"'#“ô #“õ" #kF#”?'#I"'#“ô #“õ"'#‚Û #f"'#‚Û #gG#”@'#I"'#“ô #“õ" #kH#”A'#I"'#“ô #“õ"'# #f"'# #gI#”B'#I"'#“ô #“õ" #kJ#”C'#I"'#“ô #“õ"'#‚Û #f"'#‚Û #g"'#‚Û #hK#”D'#I"'#“ô #“õ" #kL#”E'#I"'#“ô #“õ"'# #f"'# #g"'# #hM#”F'#I"'#“ô #“õ" #kN#”G'#I"'#“ô #“õ"'#‚Û #f"'#‚Û #g"'#‚Û #h"'#‚Û #iO#”H'#I"'#“ô #“õ" #kP#”I'#I"'#“ô #“õ"'# #f"'# #g"'# #h"'# #iQ#”J'#I"'#“ô #“õ" #kR#”K'#I"'#“ô #“õ"'#6 #”L" #ŽÃS#”M'#I"'#“ô #“õ"'#6 #”L" #ŽÃT#”N'#I"'#“ô #“õ"'#6 #”L" #ŽÃU#”O'#I"'#“m #“‚V#”P'#I"'#“m #“‚W#”Q'#I"'# #”R"'#‚Û #fX#”S'#I"'# #”R" #…«Y#”T'#I"'# #”R"'#‚Û #f"'#‚Û #gZ#”U'#I"'# #”R" #…«[#”V'#I"'# #”R"'#‚Û #f"'#‚Û #g"'#‚Û #h\#”W'#I"'# #”R" #…«]#”X'#I"'# #”R"'#‚Û #f"'#‚Û #g"'#‚Û #h"'#‚Û #i^#”Y'#I"'# #”R" #…«_#”Z'#I"'# #”R"'# #ƒ7"'# #ŒX"'#6 #”["'# #”\"'# #…2`#”]'#I"'# #f"'# #g"'# #ƒë"'# #ƒìa#”'#I"'# #f"'# #g"'# #ƒë"'# #ƒì"'# #“­"'# #ŒX"'#, #” b#”^'#I"'# #”_"'# #”`"'# #”a"'# #“­"'# #ŒX" #A#„V$”b”cc#”d'#I "'# #”_"'# #”`"'# #”a"'# #ƒë"'# #ƒì"'# #“©"'# #“­"'# #ŒX"'#, #A#„V$”b”cd#”e'#I"'# #”_"'# #”`"'# #”f"'# #”g"'# #“­"'# #ŒX" #A#„V$”h”ie#”j'#I +"'# #”_"'# #”`"'# #”f"'# #”g"'# #ƒë"'# #ƒì"'# #“©"'# #“­"'# #ŒX"'#, #A#„V$”h”if#”k'#I"'# #…†"'#, #A"'# #“ž#„V$”l”mg#”n'#I"'# #…†"'# #…2"'#, #A#„V$”o”ph€¢ÀÑÚ8ÀÑêU“|ÀÑûU’‚ÀÒU“}ÀÒ U“~ÀÒ2“ÀÒS“ÀÒ‚“ƒÀÒ½“„ÀÒê“…ÀÓ“‡ÀÓF“‰ÀÓt“‹ÀÓ½“ÀÓÞ“‘ÀÔ “”ÀÔ8“—ÀÔ}“œÀÔ±“ŸÀÔä“ ÀÕ…“ÀÕ&“¡ÀÕo“¢ÀÕ‘“£ÀÕ±“¤ÀÕö“¥ÀÖ “¦ÀÖ-“§ÀÖ•“ªÀ× “®À×|“¯À×ï‚*ÀØ“°ÀØ“±ÀØ1“²ÀØG“³ÀØi“´ÀØ“µÀØ “¶ÀØÁ“·ÀØ㓸ÀÙ“¹ÀÙ'“ºÀÙI“»ÀÙk“¼ÀÙŒ“¾ÀÙ­“ÀÀÙÜ“ÃÀÚ “ÄÀÚ,“ÆÀÚM“ÇÀÚ†“ÈÀÚËŒ"ÀÚì“ÉÀÛ ‡5ÀÛ"‚ñÀÛ7“ÊÀÛ}“ÍÀÛÏ“ÏÀÛð“ÐÀÜ“ÑÀÜ@“ÒÀÜo“ÓÀÜ™“ÔÀÜÈ“ÕÀÝ“ØÀÝ5“ÛÀÝa“ÝÀÝv“ÞÀÝ™“ßÀÝï“âÀÞ-“åÀÞP“æÀÞ›“éÀÞå“êÀß“ëÀßS“ìÀß“ðÀߤ“ñÀßÁ“òÀà “óÀàW“øÀà‡“ùÀàÑ“üÀàþ“ýÀá+“þÀáL“ÿÀáa”Àá‚”ÀᤔÀáÆ”Àáè”Àâ +”Àâ,”ÀâN”Àâp”Àâ” +ÀâÌ” ÀãA”À㆔Àã³”Àãö”Àä%”Àä^”À䣔ÀäÄ”Àäñ”Àå*”Àåo”Àåó”#Àæ_”%À欔&Àæÿ”)ÀçR”*À祔-Àçø”0Àè2”1Àèk”2Àèì”4ÀéX”6À鬔7Àê”8Àê`”9À꺔:Àë”;ÀëB”<Àëj”=Àë—”>Àë¿”?Àëù”@Àì!”AÀìY”BÀì”CÀìÇ”DÀìï”EÀí2”FÀíZ”GÀí¬”HÀíÔ”IÀî"”JÀîJ”KÀî”MÀî´”NÀîé”OÀï ”PÀï-”QÀïZ”SÀï‚”TÀï»”UÀïã”VÀð(”WÀðP”XÀð¡”YÀðÉ”ZÀñ&”]Àñi”ÀñÏ”^Àò3”dÀòÀ”eÀó0”jÀóÉ”kÀô”n '#‘¸'#”q'#”r#”s#¨$”t”ui)0#”s#8j#’‚'#’k#”v'#I"'# #…†"'#“, #†Fl#”w'#I"'# #”xm#”y'#I"'# #…†"'# #¥"'#’| #.n#”z'#I"'# #…†"'# #¥"'#’| #."'# #…2"'# #ƒ7o#”{'#I"'# #”|"'#”} #”~p#”'#I"'# #…†"'#”€ #”q#“_'#I"'#”‚ #”ƒr#”„'#I +"'# #”…"'# #”†"'# #”‡"'# #”ˆ"'# #”‰"'# #”Š"'# #”‹"'# #”Œ"'# #€"'# #”s#”Ž'#I"'# #…†"'#, #”"'# #“ž"'# #”"'# ##k$”‘“œt#”’'#I"'# #…†"'# #”“"'#, #”"'# #”"'# ##k$””“Ÿu#”•'#I"'# #."'# #”–"'#‚Û #Žx"'# #”—v#”˜'#I"'# #."'# #”–" #J"'# #”w#”™'#I"'# #."'# #”–" #J"'# #”x#”š'#I"'# #."'# #”–" #J"'# #”y#”›'# "'#”œ #‰ù"'# #”"'# #Šz#”ž'#I "'# #…†"'# #‹ï"'# #“¨"'# #ƒë"'# #ƒì"'# #“©"'#, #A"'# #”"'# #”Ÿ#k$” “§{#”¡'#I"'# #…†"'# #‹ï"'# #“¨"'# #ƒë"'# #ƒì"'# #“©"'# #”¢"'# #…2#k$” “§|#”£'#I +"'# #…†"'# #‹ï"'# #“¨"'# #ƒë"'# #ƒì"'# #Žx"'# #“©"'#, #A"'# #”"'# #”Ÿ}#”¤'#I "'# #…†"'# #‹ï"'# #“¨"'# #ƒë"'# #ƒì"'# #Žx"'# #“©"'# #”¢"'# #…2#k$”¥”£~#”¦'#I +"'# #…†"'# #‹ï"'# #“«"'# #“¬"'# #ƒë"'# #ƒì"'# #“­"'#, #A"'# #”"'# #”Ÿ#k$”§“ª#”¨'#I "'# #…†"'# #‹ï"'# #“«"'# #“¬"'# #ƒë"'# #ƒì"'# #“­"'# #”¢"'# #…2#k$”§“ª€#”©'#I "'# #…†"'# #‹ï"'# #“«"'# #“¬"'# #”ª"'# #ƒë"'# #ƒì"'# #Žx"'# #“­"'#, #A"'# #”"'# #”Ÿ#”«'#I "'# #…†"'# #‹ï"'# #“«"'# #“¬"'# #”ª"'# #ƒë"'# #ƒì"'# #Žx"'# #“­"'# #”¢"'# #…2#k$”¬”©‚#”­'#I"'# #”®"'# #”¯"'# #”°"'# #”±"'# #ƒ7ƒ#”²'#I "'# #…†"'# #‹ï"'# #“«"'# #“¬"'# #”ª"'# #f"'# #g"'# #ƒë"'# #ƒì„#”³'#“,…#”´'#”}†#”µ'#”€‡#“d'#”‚ˆ#”¶'#I"'#“, #†F‰#”·'#I"'#”} #”~Š#”¸'#I"'#”œ #‰ù‹#”¹'#I"'#”€ #”Œ#“g'#I"'#”‚ #”ƒ#”º'#I"'# #‚•"'# #…m"'# #‚%"'# #”»Ž#”¼'#I"'#1&'# #’ð#”½'#I"'# #‚•"'# #‚%"'# #ŒX"'# #…2"'# #”»#”¾'#I"'# #‚•"'# #B"'# #C"'# #‚%"'# #ŒX"'# #…2‘#”¿'#I"'# #…†’#”À'#I“#”Á'#”œ"'# #r"'# #””#”Â'#I"'# #…†"'# #“Ë"'#“Š #“€"'# #‹ï"'# #”Õ#”Ä'#á"'#“m #“‚"'# #”Å–#”Æ'#‚e"'#“m #“‚"'# #”Å"'# #“—#”Ç'#‚e"'#“m #“‚"'#1&'# #”È"'# #“˜#”É'#I"'# #…†"'# #“?"'#, #“@"'# #“A"'# #™#”Ê'# "'#“m #“‚"'#á #àš#”Ë'#‚e"'# #…†"'# #¥›#”Ì'#‚e"'# #…†"'# #“¨"'# #“œ#”Í'#‚e"'# #…†"'# #“#”Î'#‚e"'#“, #†F"'# #“ž#”Ï'#‚e"'#”} #”~"'# #“Ÿ#”Ð'#‚e"'#”œ #‰ù"'# #“ #”Ñ'#’i"'#“m #“‚"'# #¥¡#”Ò'# "'#“m #“‚"'#á #”Ó¢#”Ô'#1&'# "'#“m #“‚"'#1&'#á #”Õ£#”Ö'#1&'# "'#“m #“‚"'#1 #”Õ#k$”×”Ô¤#”Ø'#I"'# #…†"'#1&'# #”Ù¥#”Ú'#I"'# #…†"'#1&'# #”Ù"'# #f"'# #g"'# #ƒë"'# #ƒì¦#”Û'#6"'#“, #†F§#”Ü'#6"'#”} #”~¨#”Ý'#6"'#”œ #‰ù©#”Þ'#6"'#”€ #”ª#“j'#6"'#”‚ #”ƒ«#”ß'#I¬#”à'#I"'# #‚•­#”á'#I"'# #f"'# #g"'# #ƒë"'# #ƒì"'# #“­"'# #ŒX" #”â"'# #…2#k$””®#”ã'#I"'# #…†"'# #”ä"'# #“¨"'# #ƒë"'# #ƒì¯#”å'#I°#”æ'#I"'#”} #”~"'# #“"'#‚Û #” ±#”ç'#I"'#”} #”~"'# #“"'# #” ²#”è'#I +"'# #…†"'# #‹ï"'# #“¨"'# #ƒë"'# #ƒì"'# #“©"'# #“­"'# #ŒX" #”é"'# #”³#”ê'#I " #…†" #‹ï" #“¨" #ƒë" #ƒì" #“©" #“­" #ŒX"'# #…2#k$”$”´#”ë'#I " #…†" #‹ï" #“¨" #ƒë" #ƒì" #“©" #“­" #ŒX" #A#k$”$”µ#”ì'#I " #…†" #‹ï" #“¨" #ƒë" #ƒì" #“©" #“­" #ŒX"'#”' #”(#k$”$”¶#”í'#I " #…†" #‹ï" #“¨" #ƒë" #ƒì" #“©" #“­" #ŒX"'#’ƒ #’‚#k$”$”·#”î'#I " #…†" #‹ï" #“¨" #ƒë" #ƒì" #“©" #“­" #ŒX"'#”+ #”,#k$”$”¸#”ï'#I " #…†" #‹ï" #“¨" #ƒë" #ƒì" #“©" #“­" #ŒX"'#”. #”/#k$”$”¹#”ð'#I +" #…†" #‹ï" #“¨" #ƒë" #ƒì" #“©" #“­" #ŒX"'#, #”" #”#k$”$”º#”ñ'#I "'# #…†"'# #‹ï"'# #“¨"'# #ƒë"'# #ƒì"'# #Žx"'# #“©"'# #“­"'# #ŒX" #”ò"'# #”»#”ó'#I +" #…†" #‹ï" #“¨" #ƒë" #ƒì" #Žx" #“©" #“­" #ŒX"'# #…2#k$”ô”ñ¼#”õ'#I +" #…†" #‹ï" #“¨" #ƒë" #ƒì" #Žx" #“©" #“­" #ŒX" #A#k$”ô”ñ½#”ö'#I +" #…†" #‹ï" #“¨" #ƒë" #ƒì" #Žx" #“©" #“­" #ŒX"'#”' #”(#k$”ô”ñ¾#”÷'#I +" #…†" #‹ï" #“¨" #ƒë" #ƒì" #Žx" #“©" #“­" #ŒX"'#’ƒ #’‚#k$”ô”ñ¿#”ø'#I +" #…†" #‹ï" #“¨" #ƒë" #ƒì" #Žx" #“©" #“­" #ŒX"'#”+ #”,#k$”ô”ñÀ#”ù'#I +" #…†" #‹ï" #“¨" #ƒë" #ƒì" #Žx" #“©" #“­" #ŒX"'#”. #”/#k$”ô”ñÁ#”ú'#I +" #…†" #‹ï" #“¨" #ƒë" #ƒì" #Žx" #“©" #“­" #ŒX"'#, #” #k$”ô”ñÂ#”û'#I " #…†" #‹ï" #“¨" #ƒë" #ƒì" #Žx" #“©" #“­" #ŒX"'#, #” " #”#k$”ô”ñÃ#”ü'#I"'# #…†"'# #”ý"'# #“¨"'# #ƒë"'# #ƒìÄ#”þ'#I"'# #…†"'# #”ý"'# #“¨"'# #ƒë"'# #ƒì"'# #ŽxÅ#”ÿ'#I +"'# #…†"'# #‹ï"'# #“«"'# #“¬"'# #ƒë"'# #ƒì"'# #“­"'# #ŒX" #”é"'# #”Æ#•'#I " #…†" #‹ï" #“«" #“¬" #ƒë" #ƒì" #“­" #ŒX"'# #…2#k$”5”2Ç#•'#I " #…†" #‹ï" #“«" #“¬" #ƒë" #ƒì" #“­" #ŒX" #A#k$”5”2È#•'#I " #…†" #‹ï" #“«" #“¬" #ƒë" #ƒì" #“­" #ŒX"'#”' #”(#k$”5”2É#•'#I " #…†" #‹ï" #“«" #“¬" #ƒë" #ƒì" #“­" #ŒX"'#’ƒ #’‚#k$”5”2Ê#•'#I " #…†" #‹ï" #“«" #“¬" #ƒë" #ƒì" #“­" #ŒX"'#”+ #”,#k$”5”2Ë#•'#I " #…†" #‹ï" #“«" #“¬" #ƒë" #ƒì" #“­" #ŒX"'#”. #”/#k$”5”2Ì#•'#I +" #…†" #‹ï" #“«" #“¬" #ƒë" #ƒì" #“­" #ŒX"'#, #”" #”#k$”5”2Í#•'#I "'# #…†"'# #‹ï"'# #“«"'# #“¬"'# #”ª"'# #ƒë"'# #ƒì"'# #Žx"'# #“­"'# #ŒX" #”ò"'# #”Î#•'#I " #…†" #‹ï" #“«" #“¬" #”ª" #ƒë" #ƒì" #Žx" #“­" #ŒX"'# #…2#k$• •Ï#• +'#I " #…†" #‹ï" #“«" #“¬" #”ª" #ƒë" #ƒì" #Žx" #“­" #ŒX" #A#k$• •Ð#• '#I " #…†" #‹ï" #“«" #“¬" #”ª" #ƒë" #ƒì" #Žx" #“­" #ŒX"'#”' #”(#k$• •Ñ#• '#I " #…†" #‹ï" #“«" #“¬" #”ª" #ƒë" #ƒì" #Žx" #“­" #ŒX"'#’ƒ #’‚#k$• •Ò#• '#I " #…†" #‹ï" #“«" #“¬" #”ª" #ƒë" #ƒì" #Žx" #“­" #ŒX"'#”+ #”,#k$• •Ó#•'#I " #…†" #‹ï" #“«" #“¬" #”ª" #ƒë" #ƒì" #Žx" #“­" #ŒX"'#”. #”/#k$• •Ô#•'#I " #…†" #‹ï" #“«" #“¬" #”ª" #ƒë" #ƒì" #Žx" #“­" #ŒX"'#, #” #k$• •Õ#•'#I " #…†" #‹ï" #“«" #“¬" #”ª" #ƒë" #ƒì" #Žx" #“­" #ŒX"'#, #” " #”#k$• •Ö#•'#I"'#“m #“‚"'#1&'#á #•"'# #•×#•'#I"'#“m #“‚"'#1 #•" #•#k$••Ø#•'#I"'#“ô #“õ" #k"'# #”"'# #•#k$•”<Ù#•'#I"'#“ô #“õ" #k"'# #”"'# #•#k$•”>Ú#•'#I"'#“ô #“õ"'# #•Û#•'#I"'#“ô #“õ" #k"'# #”"'# #•Ü#•'#I"'#“ô #“õ" #k"'# #”"'# #•#k$•”@Ý#• '#I"'#“ô #“õ" #k"'# #”"'# #•#k$•!”BÞ#•"'#I"'#“ô #“õ"'# #•"'# #‡7ß#•#'#I"'#“ô #“õ" #k"'# #”"'# #•à#•$'#I"'#“ô #“õ" #k"'# #”"'# #•#k$•%”Dá#•&'#I"'#“ô #“õ" #k"'# #”"'# #•#k$•'”Fâ#•('#I"'#“ô #“õ"'# #•"'# #‡7"'# #‡8ã#•)'#I"'#“ô #“õ" #k"'# #”"'# #•ä#•*'#I"'#“ô #“õ" #k"'# #”"'# #•#k$•+”Hå#•,'#I"'#“ô #“õ" #k"'# #”"'# #•#k$•-”Jæ#•.'#I"'#“ô #“õ"'# #•"'# #‡7"'# #‡8"'# #‡:ç#•/'#I"'#“ô #“õ" #k"'# #”"'# #•è#•0'#I"'#“m #“‚"'# #”Å"'# #•0é#•1'#I"'#“ô #“õ"'#6 #”L" #ŽÃ"'# #”"'# #•#k$•2”Kê#•3'#I"'#“ô #“õ"'#6 #”L" #J"'# #”"'# #•ë#•4'#I"'#“ô #“õ"'#6 #”L" #J"'# #”"'# #•ì#•5'#I"'#“ô #“õ"'#6 #”L" #ŽÃ"'# #”"'# #•#k$•6”Mí#•7'#I"'#“ô #“õ"'#6 #”L" #J"'# #”"'# #•î#•8'#I"'#“ô #“õ"'#6 #”L" #J"'# #”"'# #•ï#•9'#I"'#“ô #“õ"'#6 #”L" #ŽÃ"'# #”"'# #•#k$•:”Nð#•;'#I"'#“ô #“õ"'#6 #”L" #J"'# #”"'# #•ñ#•<'#I"'#“ô #“õ"'#6 #”L" #J"'# #”"'# #•ò#•='#I"'# #¥"'# #’yó#•>'#I"'# #¥"'# #f"'# #g"'# #h"'# #iô#•?'#I"'# #¥" #kõ#•@'#I"'# #¥"'# #f"'# #g"'# #h"'# #iö#•A'#I"'# #¥" #k÷#•B'#I"'# #¥"'# #ƒ7"'# #ŒX"'# #”\"'# #…2ø#•C'#I"'#”œ #‰ù"'# #”"'# #Šù#“}'# ú#“~'# û#“'#I"'# #“€ü#“'#I"'#“m #“‚"'#’æ #’çý#“ƒ'#I"'#“m #“‚"'# #¥"'#á #àþ#“„'#I"'# #…†"'#’| #.ÿ#“…'#I"'# #…†"'#“8 #“†‚#“‡'#I"'# #…†"'#“r #“ˆ‚#“‰'#I"'# #…†"'#“Š #“€‚#“‹'#I"'#‚Û #“Œ"'#‚Û #“"'#‚Û #“Ž"'#‚Û #“‚#“'#I"'# #‚•‚#“‘'#I"'# #“’"'# #““‚#“”'#I"'# #“•"'# #“–‚#“—'#I"'# #“˜"'# #“™"'# #“š"'# #“›‚#“œ'#I"'# #…†" #“"'# #“ž‚#“Ÿ'#I"'# #…†"'# #…2" #A‚ #“ '# "'# #…†‚ +#…“'#I"'# #€‚ #“¡'#I"'#‚Û #“Œ"'#‚Û #“"'#‚Û #“Ž"'#‚Û #“‚ #“¢'#I"'#‚Û #Žx‚ #“£'#I"'# #y‚#“¤'#I"'#6 #“Œ"'#6 #“"'#6 #“Ž"'#6 #“‚#“¥'#‚~‚#“¦'#I"'#’æ #’ç‚#“§'#I"'# #…†"'# #‹ï"'# #“¨"'# #ƒë"'# #ƒì"'# #“©"'#, #A‚#“ª'#I"'# #…†"'# #‹ï"'# #“«"'# #“¬"'# #ƒë"'# #ƒì"'# #“­"'#, #A‚#“®'#I"'# #…†"'# #‹ï"'# #“¨"'# #f"'# #g"'# #ƒë"'# #ƒì"'# #“©‚#“¯'#I"'# #…†"'# #‹ï"'# #“«"'# #“¬"'# #f"'# #g"'# #ƒë"'# #ƒì‚#‚*'#’|‚#“°'#“8‚#“±'#“m‚#“²'#“r‚#“³'#’æ"'# #ŒX‚#“´'#“Š‚#“µ'#I"'# #‚•‚#“¶'#I"'#’| #.‚#“·'#I"'#“8 #“†‚#“¸'#I"'#“m #“‚‚#“¹'#I"'#“r #“ˆ‚ #“º'#I"'#’æ #’ç‚!#“»'#I"'#“Š #“€‚"#“¼'#I"'# #“½‚##“¾'#I"'#6 #“¿‚$#“À'#I"'#‚Û #“Á"'#‚Û #“‚%#“Ã'#I"'#“m #“‚"'#’æ #’ç‚&#“Ä'#I"'# #“Å‚'#“Æ'#I"'# #¥‚(#“Ç'#I"'# #‚•"'# #…m"'# #‚%‚)#“È'#I"'# #‚•"'# #‚%"'# #ŒX"'# #…2‚*#Œ"'#I"'# #“Å‚+#“É'#I"'# #¥‚,#‡5'#I‚-#‚ñ'#I‚.#“Ê'#I"'# #…†"'# #“Ë"'# #“Ì"'#“r #“ˆ‚/#“Í'#I"'# #…†"'# #“Ë"'# #“Î"'#“Š #“€"'# #‹ï‚0#“Ï'#I"'# #‚•‚1#“Ð'#I"'# #…†‚2#“Ñ'#’i"'#“m #“‚"'# #¥‚3#“Ò'#’i"'#“m #“‚"'# #¥‚4#“Ó'#1&'#’æ"'#“m #“‚‚5#“Ô'# "'#“m #“‚"'#á #à‚6#“Õ'#‚e"'# #…†"'# #“‚7#“Ø'#‚€‚8#“Û#k$“Ü“Ø‚9#“Ý'# ‚:#“Þ'#‚e"'#á #à‚;#“ß'#‚e"'# #…†"'# #“Ë"'# #“‚<#“â'#‚e"'# #“‚=#“å'#á"'#“m #“‚‚>#“æ'#‚e"'#“m #“‚"'# #“‚?#“é'#‚e"'# #…†"'# #“‚@#“ê'#á"'#’æ #’ç‚A#“ë'#‚e"'#’æ #’ç"'# #“‚B#“ì'#“í"'# #“î"'# #“ï‚C#“ð'#á"'#’æ #’ç‚D#“ñ'#1&'#á‚E#“ò'#‚e"'# #…†"'# #“‚F#“ó'#‚e"'#“m #“‚"'#“ô #“õ‚G#“ø'#“ô"'#“m #“‚"'#á #à‚H#“ù'#‚e"'# #¥"'# #“‚I#“ü'# "'# #¥"'# #“‚J#“ý'#I"'# #…†"'# #‚•‚K#“þ'#6"'#’| #.‚L#“ÿ'#6‚M#”'#6"'# #“Å‚N#”'#6"'#“8 #“†‚O#”'#6"'#“m #“‚‚P#”'#6"'#“r #“ˆ‚Q#”'#6"'#’æ #’ç‚R#”'#6"'#“Š #“€‚S#”'#I"'#‚Û #ƒë‚T#”'#I"'#“m #“‚‚U#”'#I"'# #“"'# #” ‚V#” +'#I"'#‚Û #ƒÞ"'#‚Û #” ‚W#” '#I"'# #f"'# #g"'# #ƒë"'# #ƒì"'# #“­"'# #ŒX"'#, #” #k$””‚X#”'#I"'# #…†"'# #“¨"'# #ƒë"'# #ƒì‚Y#”'#I"'#‚Û #J"'#6 #”‚Z#”'#I"'# #f"'# #g"'# #ƒë"'# #ƒì‚[#”'#I"'#’æ #’ç"'#á #í‚\#”'#I"'# #“½"'# #‡ "'# #€‚]#”'#I"'# #”"'# #“½"'# #‡ "'# #€‚^#”'#I"'# #€‚_#”'#I"'# #”"'# #€‚`#”'#I"'# #”"'# #”"'# #”‚a#”'#I"'# #”"'# #”"'# #”"'# #”‚b#”'#I "'# #…†"'# #‹ï"'# #“¨"'# #” "'# #”!" #”""'# #“­"'# #ŒX"'#, #” ‚c#”#'#I " #…†" #‹ï" #“¨" #ƒë" #ƒì"'# #“©" #“­" #ŒX"'#, #” #k$”$”‚d#”%'#I" #…†" #‹ï" #“¨" #“­" #ŒX" #” #k$”$”‚e#”&'#I" #…†" #‹ï" #“¨" #“­" #ŒX"'#”' #”(#k$”$”‚f#”)'#I" #…†" #‹ï" #“¨" #“­" #ŒX"'#’ƒ #’‚#k$”$”‚g#”*'#I" #…†" #‹ï" #“¨" #“­" #ŒX"'#”+ #”,#k$”$”‚h#”-'#I" #…†" #‹ï" #“¨" #“­" #ŒX"'#”. #”/#k$”$”‚i#”0'#I"'# #…†"'# #“"'#‚Û #” ‚j#”1'#I"'# #…†"'# #“"'# #” ‚k#”2'#I "'# #…†"'# #‹ï"'# #“«"'# #“¬"'# #” "'# #”!" #”3"'# #ŒX"'#, #” ‚l#”4'#I " #…†" #‹ï" #“«" #“¬" #ƒë" #ƒì"'# #“­" #ŒX"'#, #” #k$”5”2‚m#”6'#I" #…†" #‹ï" #“«" #“¬" #“­" #ŒX" #” #k$”5”2‚n#”7'#I" #…†" #‹ï" #“«" #“¬" #“­" #ŒX"'#”' #”(#k$”5”2‚o#”8'#I" #…†" #‹ï" #“«" #“¬" #“­" #ŒX"'#’ƒ #’‚#k$”5”2‚p#”9'#I" #…†" #‹ï" #“«" #“¬" #“­" #ŒX"'#”+ #”,#k$”5”2‚q#”:'#I" #…†" #‹ï" #“«" #“¬" #“­" #ŒX"'#”. #”/#k$”5”2‚r#”;'#I"'#“ô #“õ"'#‚Û #f‚s#”<'#I"'#“ô #“õ" #k‚t#”='#I"'#“ô #“õ"'# #f‚u#”>'#I"'#“ô #“õ" #k‚v#”?'#I"'#“ô #“õ"'#‚Û #f"'#‚Û #g‚w#”@'#I"'#“ô #“õ" #k‚x#”A'#I"'#“ô #“õ"'# #f"'# #g‚y#”B'#I"'#“ô #“õ" #k‚z#”C'#I"'#“ô #“õ"'#‚Û #f"'#‚Û #g"'#‚Û #h‚{#”D'#I"'#“ô #“õ" #k‚|#”E'#I"'#“ô #“õ"'# #f"'# #g"'# #h‚}#”F'#I"'#“ô #“õ" #k‚~#”G'#I"'#“ô #“õ"'#‚Û #f"'#‚Û #g"'#‚Û #h"'#‚Û #i‚#”H'#I"'#“ô #“õ" #k‚€#”I'#I"'#“ô #“õ"'# #f"'# #g"'# #h"'# #i‚#”J'#I"'#“ô #“õ" #k‚‚#”K'#I"'#“ô #“õ"'#6 #”L" #ŽÃ‚ƒ#”M'#I"'#“ô #“õ"'#6 #”L" #ŽÃ‚„#”N'#I"'#“ô #“õ"'#6 #”L" #ŽÃ‚…#”O'#I"'#“m #“‚‚†#”P'#I"'#“m #“‚‚‡#”Q'#I"'# #”R"'#‚Û #f‚ˆ#”S'#I"'# #”R" #…«‚‰#”T'#I"'# #”R"'#‚Û #f"'#‚Û #g‚Š#”U'#I"'# #”R" #…«‚‹#”V'#I"'# #”R"'#‚Û #f"'#‚Û #g"'#‚Û #h‚Œ#”W'#I"'# #”R" #…«‚#”X'#I"'# #”R"'#‚Û #f"'#‚Û #g"'#‚Û #h"'#‚Û #i‚Ž#”Y'#I"'# #”R" #…«‚#”Z'#I"'# #”R"'# #ƒ7"'# #ŒX"'#6 #”["'# #”\"'# #…2‚#”]'#I"'# #f"'# #g"'# #ƒë"'# #ƒì‚‘#”'#I"'# #f"'# #g"'# #ƒë"'# #ƒì"'# #“­"'# #ŒX"'#, #” ‚’)Àøõ8ÀùU’‚Àù”vÀùF”wÀùg”yÀù ”zÀùñ”{Àú”ÀúM“_Àúo”„Àúü”ŽÀû]”’Àû¾”•Àü”˜ÀüD”™Àü…”šÀüÆ”›Àý”žÀý‘”¡Àþ”£Àþ¦”¤Àÿ5”¦ÀÿÒ”¨Àa”©À ”«À²”­À”²À‚”³À˜”´À®”µÀÄ“dÀÚ”¶Àü”·À”¸À@”¹Àb“gÀ„”ºÀÉ”¼Àñ”½ÀB”¾À”¿À¾”ÀÀÓ”ÁÀ”ÂÀS”ÄÀ‚”ÆÀ½”ÇÀÿ”ÉÀU”ÊÀ„”ËÀ²”ÌÀì”ÍÀ”ÎÀI”ÏÀx”ÐÀ§”ÑÀÖ”ÒÀ”ÔÀA”ÖÀ„”ØÀ¸”ÚÀ ”ÛÀ <”ÜÀ ^”ÝÀ €”ÞÀ ¢“jÀ Ä”ßÀ Ù”àÀ ú”áÀ +y”ãÀ +Ê”åÀ +ß”æÀ ”çÀ T”èÀ Þ”êÀ E”ëÀ ¦”ìÀ ”íÀ v”îÀ Þ”ïÀF”ðÀ´”ñÀJ”óÀ¸”õÀ ”öÀ”÷Àþ”øÀm”ùÀÜ”úÀJ”ûÀ¿”üÀ”þÀm”ÿÀ÷•À^•À¿•À'•À•À÷•À_•ÀÍ•Ào•Àä• +ÀS• ÀÉ• À?• Àµ•À+•À •À•À]•À •Àñ•ÀB•Àp•À¶•À• ÀX•"À’•#ÀØ•$À)•&Àz•(ÀÀ•)À•*ÀW•,À¨•.Àú•/À @•0À z•1À Ø•3À!*•4À!|•5À!Ú•7À",•8À"~•9À"Ü•;À#.•<À#€•=À#­•>À#ú•?À$!•@À$n•AÀ$••BÀ$æ•CÀ% U“}À%2U“~À%D“À%e“À%”“ƒÀ%Ï“„À%ü“…À&*“‡À&X“‰À&†“‹À&Ï“À&ð“‘À'“”À'J“—À'“œÀ'ÓŸÀ'ö“ À(…“À(8“¡À(“¢À(£“£À(Ó¤À)“¥À)“¦À)?“§À)§“ªÀ*“®À*Ž“¯À+‚*À+“°À+-“±À+C“²À+Y“³À+{“´À+‘“µÀ+²“¶À+Ó“·À+õ“¸À,“¹À,9“ºÀ,[“»À,}“¼À,ž“¾À,¿“ÀÀ,î“ÃÀ-“ÄÀ->“ÆÀ-_“ÇÀ-˜“ÈÀ-ÝŒ"À-þ“ÉÀ.‡5À.4‚ñÀ.I“ÊÀ.“ÍÀ.á“ÏÀ/“ÐÀ/#“ÑÀ/R“ÒÀ/“ÓÀ/«“ÔÀ/Ú“ÕÀ0“ØÀ0“ÛÀ0;“ÝÀ0P“ÞÀ0s“ßÀ0­“âÀ0Ï“åÀ0ò“æÀ1!“éÀ1O“êÀ1r“ëÀ1¡“ìÀ1Ï“ðÀ1ò“ñÀ2“òÀ2=“óÀ2m“øÀ2“ùÀ2Ë“üÀ2ø“ýÀ3%“þÀ3F“ÿÀ3[”À3|”À3ž”À3À”À3â”À4”À4&”À4H”À4j”À4—” +À4Æ” À5;”À5€”À5­”À5ð”À6”À6X”À6”À6¾”À6ë”À7$”À7i”À7í”#À8Y”%À8¦”&À8ù”)À9L”*À9Ÿ”-À9ò”0À:,”1À:e”2À:æ”4À;R”6À;¦”7À<”8ÀÀ=¹”?À=ó”@À>”AÀ>S”BÀ>{”CÀ>Á”DÀ>é”EÀ?,”FÀ?T”GÀ?¦”HÀ?ΔIÀ@”JÀ@D”KÀ@y”MÀ@®”NÀ@ã”OÀA”PÀA'”QÀAT”SÀA|”TÀAµ”UÀAÝ”VÀB"”WÀBJ”XÀB›”YÀBÔZÀC ”]ÀCc” '#‘¸#”}#¨$•D•E‚“0#”}#8‚”ÀL 8 '#‘¸#’æ#¨$•F•G‚•0#’æ#8‚–ÀLH8 '#‘¸#“í#¨$•H•I‚—0#“í#8‚˜#…Ä'# ‚™#•J'# ‚š#•K'# ‚›ÀLƒ8ÀL“U…ÄÀL¥U•JÀL·U•K '#‘¸#”œ#¨$•L•M‚œ0#”œ#8‚ÀM 8 '#‘¸#“Š#¨$•N•O‚ž0#“Š#8‚Ÿ#•P'#6‚ #•Q'# ‚¡#•R'#‚Û‚¢#•S'# ‚£ÀMD8ÀMTU•PÀMfU•QÀMxU•RÀM‹U•S '#‘¸#“#¨$•T•U‚¤0#“#8‚¥ÀMä8 '#‘¸#”€#¨$•V•W‚¦0#”€#8‚§ÀN8 '#‘¸#“ô#¨$•X•Y‚¨0#“ô#8‚©ÀNZ8 '#‘¸#”‚#¨$•Z•[‚ª0#”‚#8‚«ÀN•8 '#‘¸#“`#¨$•\•]‚¬0#“`#8‚­ÀNÐ8#•^#¨$•_•^‚®‚R0#•^#8‚¯@+'# *#•`H‹‰‚°@+'# *#•aH„à‚±@+'# *#•bH‹†‚²@+'# *#•cHŠ6‚³@+'# *#•dH„n‚´@+'# *#•eH„m‚µ@+'# *#•fH‚¶@+'# *#•gH U‚·@+'# *#•hH‘‚¸@+'# *#•iH‚¹@+'# *#•jHŒ/‚º@+'# *#•kHj‚»@+'# *#•lHˆ’‚¼@+'# *#•mHˆ”‚½@+'# *#•nH‹…‚¾@+'# *#•oH‚¿@+'# *#•pH â‚À@+'# *#•qH€‚Á@+'# *#•rH€Ê‚Â@+'# *#•sH€È‚Ã@+'# *#•tH€ ‚Ä@+'# *#•uHˆ=‚Å@+'# *#•vH€ ‚Æ@+'# *#•wH€Ë‚Ç@+'# *#•xH€É‚È@+'# *#•yH T‚É@+'# *#•zH‹V‚Ê@+'# *#•{H‹W‚Ë@+'# *#•|H‹X‚Ì@+'# *#•}H‹Y‚Í@+'# *#•~H’D‚Î@+'# *#•H‡d‚Ï@+'# *#•€H‡e‚Ð@+'# *#•H‚Ñ@+'# *#•‚H ‚Ò@+'# *#•ƒH/‚Ó@+'# *#•„H‚Ô@+'# *#•…HŒà‚Õ@+'# *#•†HŒà‚Ö@+'# *#•‡HŒá‚×@+'# *#•ˆHŒê‚Ø@+'# *#•‰HŒê‚Ù@+'# *#•ŠHŒë‚Ú@+'# *#•‹HŒë‚Û@+'# *#•ŒHŒì‚Ü@+'# *#•HŒì‚Ý@+'# *#•ŽHŒí‚Þ@+'# *#•HŒí‚ß@+'# *#•HŒî‚à@+'# *#•‘HŒî‚á@+'# *#•’HŒï‚â@+'# *#•“HŒï‚ã@+'# *#•”HŒá‚ä@+'# *#••HŒâ‚å@+'# *#•–HŒâ‚æ@+'# *#•—HŒã‚ç@+'# *#•˜HŒã‚è@+'# *#•™HŒä‚é@+'# *#•šHŒä‚ê@+'# *#•›HŒå‚ë@+'# *#•œHŒå‚ì@+'# *#•HŒæ‚í@+'# *#•žHŒæ‚î@+'# *#•ŸHŒç‚ï@+'# *#• HŒç‚ð@+'# *#•¡HŒè‚ñ@+'# *#•¢HŒè‚ò@+'# *#•£HŒé‚ó@+'# *#•¤HŒé‚ô@+'# *#•¥H@‚õ@+'# *#•¦H "‚ö@+'# *#•§H #‚÷@+'# *#•¨HˆN‚ø@+'# *#•©H‹‚ù@+'# *#•ªH†£‚ú@+'# *#•«H‘‚û@+'# *#•¬H€‚ü@+'# *#•­H€‚ý@+'# *#•®H’B‚þ@+'# *#•¯H6‚ÿ@+'# *#•°H6ƒ@+'# *#•±H7ƒ@+'# *#•²H7ƒ@+'# *#•³H Dƒ@+'# *#•´H Eƒ@+'# *#•µH‹ƒ@+'# *#•¶Hˆeƒ@+'# *#•·H†&ƒ@+'# *#•¸H ƒ@+'# *#•¹Hƒ @+'# *#•ºH…ƒ +@+'# *#•»H‹€ƒ @+'# *#•¼Hƒ @+'# *#•½Hˆðƒ @+'# *#•¾HŒ­ƒ@+'# *#•¿Hƒ@+'# *#•ÀH Vƒ@+'# *#•ÁHƒ@+'# *#•ÂH sƒ@+'# *#•ÃHƒ@+'# *#•ÄH¥ƒ@+'# *#•ÅH¦ƒ@+'# *#•ÆHŒ¬ƒ@+'# *#•ÇH tƒ@+'# *#•ÈH pƒ@+'# *#•ÉH„ùƒ@+'# *#•ÊH‚ƒ@+'# *#•ËH qƒ@+'# *#•ÌH rƒ@+'# *#•ÍH Ѓ@+'# *#•ÎHƒ@+'# *#•ÏHˆ%ƒ@+'# *#•ÐHˆ%ƒ @+'# *#•ÑHˆ&ƒ!@+'# *#•ÒHˆ/ƒ"@+'# *#•ÓHˆ/ƒ#@+'# *#•ÔHˆ0ƒ$@+'# *#•ÕHˆ0ƒ%@+'# *#•ÖHˆ1ƒ&@+'# *#•×Hˆ1ƒ'@+'# *#•ØHˆ2ƒ(@+'# *#•ÙHˆ2ƒ)@+'# *#•ÚHˆ3ƒ*@+'# *#•ÛHˆ3ƒ+@+'# *#•ÜHˆ4ƒ,@+'# *#•ÝHˆ4ƒ-@+'# *#•ÞHˆ&ƒ.@+'# *#•ßHˆ'ƒ/@+'# *#•àHˆ'ƒ0@+'# *#•áHˆ(ƒ1@+'# *#•âHˆ(ƒ2@+'# *#•ãHˆ)ƒ3@+'# *#•äHˆ)ƒ4@+'# *#•åHˆ*ƒ5@+'# *#•æHˆ*ƒ6@+'# *#•çHˆ+ƒ7@+'# *#•èHˆ+ƒ8@+'# *#•éHˆ,ƒ9@+'# *#•êHˆ,ƒ:@+'# *#•ëHˆ-ƒ;@+'# *#•ìHˆ-ƒ<@+'# *#•íHˆ.ƒ=@+'# *#•îHˆ.ƒ>@+'# *#•ïHŒ©ƒ?@+'# *#•ðHŒ¦ƒ@@+'# *#•ñHƒA@+'# *#•òHƒB@+'# *#•óHˆêƒC@+'# *#•ôHˆèƒD@+'# *#•õHˆéƒE@+'# *#•öHˆ“ƒF@+'# *#•÷Hˆ•ƒG@+'# *#•øHƒH@+'# *#•ùHƒI@+'# *#•úHƒJ@+'# *#•ûH­ƒK@+'# *#•üH‹ZƒL@+'# *#•ýH‹eƒM@+'# *#•þH‹fƒN@+'# *#•ÿH‹[ƒO@+'# *#–H‹gƒP@+'# *#–H‹hƒQ@+'# *#–H‹\ƒR@+'# *#–H‹iƒS@+'# *#–H‹jƒT@+'# *#–H‹PƒU@+'# *#–H‹QƒV@+'# *#–H‹RƒW@+'# *#–H‹0ƒX@+'# *#– H‹‹ƒY@+'# *#– +H@ƒZ@+'# *#– H‚ƒ[@+'# *#– H‚ƒ\@+'# *#– H‚ƒ]@+'# *#–H‚ƒ^@+'# *#–H‚ƒ_@+'# *#–H‚ƒ`@+'# *#–HŒÑƒa@+'# *#–HŒÐƒb@+'# *#–H‚ƒc@+'# *#–H‚ƒd@+'# *#–HŒÓƒe@+'# *#–HŒÔƒf@+'# *#–HŒÒƒg@+'# *#–HŒ¦ƒh@+'# *#–HŒÕƒi@+'# *#–H‚ƒj@+'# *#–HŒÖƒk@+'# *#–HŒÙƒl@+'# *#–HŒ×ƒm@+'# *#–HVƒn@+'# *#–HŒÝƒo@+'# *#– Hƒp@+'# *#–!Hƒq@+'# *#–"H Fƒr@+'# *#–#H€ƒs@+'# *#–$H€ ƒt@+'# *#–%H€ +ƒu@+'# *#–&H’ƒv@+'# *#–'Hƒw@+'# *#–(Hƒx@+'# *#–)H Sƒy@+'# *#–*H ƒz@+'# *#–+Hòƒ{@+'# *#–,Hõƒ|@+'# *#–-H‹›ƒ}@+'# *#–.H‹šƒ~@+'# *#–/Hƒ@+'# *#–0H…ƒ€@+'# *#–1Hƒ@+'# *#–2HŒŒƒ‚@+'# *#–3HŸƒƒ@+'# *#–4Hʃ„@+'# *#–5Hσ…@+'# *#–6H˃†@+'# *#–7H̃‡@+'# *#–8H‹Sƒˆ@+'# *#–9H‹Tƒ‰@+'# *#–:H‹UƒŠ@+'# *#–;Hƒ‹@+'# *#–<HƒŒ@+'# *#–=Hÿÿÿÿƒ@+'# *#–>HƒŽ@+'# *#–?Hƒ@+'# *#–@H +ƒ@+'# *#–AHƒ‘@+'# *#–BHƒ’@+'# *#–CHƒ“@+'# *#–DH&ƒ”@+'# *#–EH'ƒ•@+'# *#–FH'ƒ–@+'# *#–Gƒ—@+'# *#–Hƒ˜@+'# *#–Iƒ™@+'# *#–JH !ƒš@+'# *#–KH‹‚ƒ›@+'# *#–LHðƒœ@+'# *#–MHóƒ@+'# *#–NH ƒž@+'# *#–OH +ƒŸ@+'# *#–PH€ƒ @+'# *#–QH€sƒ¡@+'# *#–RHˆÿƒ¢@+'# *#–SH’Gƒ£@+'# *#–THŒßƒ¤@+'# *#–UHŒßƒ¥@+'# *#–VHŠ3ƒ¦@+'# *#–WH‹Mƒ§@+'# *#–XHŠ.ƒ¨@+'# *#–YHŠ1ƒ©@+'# *#–ZH…ƒª@+'# *#–[Hˆ$ƒ«@+'# *#–\Hˆ$ƒ¬@+'# *#–]H€éƒ­@+'# *#–^H€èƒ®@+'# *#–_Hkƒ¯@+'# *#–`H‘%ƒ°@+'# *#–aHŠ-ƒ±@+'# *#–bH‹Iƒ²@+'# *#–cHýƒ³@+'# *#–dH‰ƒ´@+'# *#–eH„胵@+'# *#–fHWƒ¶@+'# *#–gH‘ƒ·@+'# *#–hHˆrƒ¸@+'# *#–iH„ýƒ¹@+'# *#–jH 3ƒº@+'# *#–kHŒŠƒ»@+'# *#–lHŒ‹ƒ¼@+'# *#–mHŒ€ƒ½@+'# *#–nHŠ0ƒ¾@+'# *#–oHŠ/ƒ¿@+'# *#–pH‹KƒÀ@+'# *#–qHüƒÁ@+'# *#–rHˆiƒÂ@+'# *#–sH‘"ƒÃ@+'# *#–tH‹LƒÄ@+'# *#–uHŠ+ƒÅ@+'# *#–vH‹JƒÆ@+'# *#–wHûƒÇ@+'# *#–xH :ƒÈ@+'# *#–yHñƒÉ@+'# *#–zHôƒÊ@+'# *#–{H€ƒË@+'# *#–|H‰ƒÌ@+'# *#–}HƒpƒÍ@+'# *#–~H&ƒÎ@+'# *#–H'ƒÏ@+'# *#–€H'ƒÐ@+'# *#–HƒÑ@+'# *#–‚HƒÒ@+'# *#–ƒƒÓ@+'# *#–„HƒÔ@+'# *#–…ƒÕ@+'# *#–†H‘ƒÖ@+'# *#–‡ƒ×@+'# *#–ˆH€ƒØ@+'# *#–‰H€ƒÙ@+'# *#–ŠHƒÚ@+'# *#–‹HƒÛ@+'# *#–ŒHƒÜ@+'# *#–HƒÝ@+'# *#–ŽHƒÞ@+'# *#–H ƒß@+'# *#–H ƒà@+'# *#–‘H ƒá@+'# *#–’H ƒâ@+'# *#–“Hˆëƒã@+'# *#–”Hˆíƒä@+'# *#–•Hˆìƒå@+'# *#––Hˆïƒæ@+'# *#–—ƒç@+'# *#–˜H€8ƒè@+'# *#–™H€7ƒé@+'# *#–šH*ƒê@+'# *#–›Hˆfƒë@+'# *#–œHˆgƒì@+'# *#–HŒ:ƒí@+'# *#–žH‚-ƒî@+'# *#–ŸH‚3ƒï@+'# *#– H‚4ƒð@+'# *#–¡H‚.ƒñ@+'# *#–¢H‚5ƒò@+'# *#–£H‚6ƒó@+'# *#–¤H‚)ƒô@+'# *#–¥H‚1ƒõ@+'# *#–¦H‚2ƒö@+'# *#–§H”ƒ÷@+'# *#–¨HŒ‰ƒø@+'# *#–©H ƒù@+'# *#–ªHŒ¨ƒú@+'# *#–«HŒªƒû@+'# *#–¬Hƒü@+'# *#–­H Rƒý@+'# *#–®H”ƒþ@+'# *#–¯HAƒÿ@+'# *#–°HS„@+'# *#–±HŒ§„@+'# *#–²HR„@+'# *#–³HT„@+'# *#–´HQ„@+'# *#–µHC„@+'# *#–¶HD„@+'# *#–·HP„@+'# *#–¸HŒ«„@+'# *#–¹HU„ @+'# *#–ºHB„ +@+'# *#–»H„ @+'# *#–¼H)„ @+'# *#–½H„ @+'# *#–¾H‚'„@+'# *#–¿H‚/„@+'# *#–ÀH‚9„@+'# *#–ÁH‚:„@+'# *#–ÂH‚0„@+'# *#–ÃH‚;„@+'# *#–ÄH‚<„@+'# *#–ÅH‚+„@+'# *#–ÆH‚7„@+'# *#–ÇH‚8„@+'# *#–ÈH•„@+'# *#–ÉH„@+'# *#–ÊH€Y„@+'# *#–ËHo„@+'# *#–ÌHˆ„@+'# *#–ÍH‰„@+'# *#–ÎHw„@+'# *#–ÏHˆ„@+'# *#–ÐHƒ„ @+'# *#–ÑHq„!@+'# *#–ÒHb„"@+'# *#–ÓH€W„#@+'# *#–ÔH€Q„$@+'# *#–ÕH„%@+'# *#–ÖH}„&@+'# *#–×H–„'@+'# *#–ØHŒ=„(@+'# *#–ÙH„)@+'# *#–ÚHˆ„*@+'# *#–ÛHˆ„+@+'# *#–ÜHv„,@+'# *#–ÝHˆ„-@+'# *#–ÞH‚„.@+'# *#–ßHp„/@+'# *#–àH€V„0@+'# *#–áH€X„1@+'# *#–âHŽ„2@+'# *#–ãH|„3@+'# *#–äH—„4@+'# *#–åH™„5@+'# *#–æH˜„6@+'# *#–çH‚(„7@+'# *#–èH‹^„8@+'# *#–éHÁ„9@+'# *#–êHÄ„:@+'# *#–ëH‹b„;@+'# *#–ìH‹_„<@+'# *#–íH‰„=@+'# *#–îH‹`„>@+'# *#–ïHÅ„?@+'# *#–ðH€©„@@+'# *#–ñH€ž„A@+'# *#–òH€¨„B@+'# *#–óH€ „C@+'# *#–ôH€«„D@+'# *#–õH€ª„E@+'# *#–öH „F@+'# *#–÷H „G@+'# *#–øHŒ„H@+'# *#–ùH‹O„I@+'# *#–úH‹Œ„J@+'# *#–ûH„K@+'# *#–üH‘„L@+'# *#–ýHœ„M@+'# *#–þH„N@+'# *#–ÿH„O@+'# *#—H„P@+'# *#—HŒ@„Q@+'# *#—HŒA„R@+'# *#—HŒC„S@+'# *#—Hˆæ„T@+'# *#—Hˆä„U@+'# *#—Hˆå„V@+'# *#—H„W@+'# *#—H „X@+'# *#— Hˆ„Y@+'# *#— +Hˆ„Z@+'# *#— Hˆ„[@+'# *#— Hˆ„\@+'# *#— HŒ£„]@+'# *#—HŒ¤„^@+'# *#—HŒ¥„_@+'# *#—H W„`@+'# *#—H„a@+'# *#—H ‘„b@+'# *#—H ”„c@+'# *#—H ’„d@+'# *#—HH„e@+'# *#—H •„f@+'# *#—H –„g@+'# *#—H —„h@+'# *#—H „i@+'# *#—H “„j@+'# *#—H ˜„k@+'# *#—Hˆâ„l@+'# *#—Hˆà„m@+'# *#—Hˆá„n@+'# *#—H P„o@+'# *#— H‘„p@+'# *#—!H‘„q@+'# *#—"H‘„r@+'# *#—#„s@+'# *#—$H‘„t@+'# *#—%H‘„u@+'# *#—&H„v@+'# *#—'H„À„w@+'# *#—(H„Á„x@+'# *#—)H„Ê„y@+'# *#—*H„Ë„z@+'# *#—+H„Ì„{@+'# *#—,H„Í„|@+'# *#—-H„΄}@+'# *#—.H„Ï„~@+'# *#—/H„Є@+'# *#—0H„Ñ„€@+'# *#—1H„Ò„@+'# *#—2H„Ó„‚@+'# *#—3H„„ƒ@+'# *#—4H„Ô„„@+'# *#—5H„Õ„…@+'# *#—6H„Ö„†@+'# *#—7H„ׄ‡@+'# *#—8H„Ø„ˆ@+'# *#—9H„Ù„‰@+'# *#—:H„Ú„Š@+'# *#—;H„Û„‹@+'# *#—<H„Ü„Œ@+'# *#—=H„Ý„@+'# *#—>H„ÄŽ@+'# *#—?H„Þ„@+'# *#—@H„ß„@+'# *#—AH„Ä„‘@+'# *#—BH„Å„’@+'# *#—CH„Æ„“@+'# *#—DH„Ç„”@+'# *#—EH„È„•@+'# *#—FH„É„–@+'# *#—GH á„—@+'# *#—HHŒ„˜@+'# *#—IH€o„™@+'# *#—JH<„š@+'# *#—KH€i„›@+'# *#—LHŒ„œ@+'# *#—MH€j„@+'# *#—NH…„ž@+'# *#—OHˆM„Ÿ@+'# *#—PHˆL„ @+'# *#—QH…„¡@+'# *#—RH…„¢@+'# *#—SH…„£@+'# *#—TH…„¤@+'# *#—UH…„¥@+'# *#—VH…„¦@+'# *#—WH…„§@+'# *#—XH‘/„¨@+'# *#—YH‚ß„©@+'# *#—ZH(„ª@+'# *#—[H=„«@+'# *#—\H;„¬@+'# *#—]H(„­@+'# *#—^H:„®@+'# *#—_H€r„¯@+'# *#—`H(„°@+'# *#—aH(„±@+'# *#—bH‘„²@+'# *#—cOO„³@+'# *#—dHŽ"„´@+'# *#—eHŽ$„µ@+'# *#—fHŽ%„¶@+'# *#—gHŒŽ„·@+'# *#—hHŒ„¸@+'# *#—iHŒ„¹@+'# *#—jHŒ…„º@+'# *#—kHŒ„„»@+'# *#—lHŽ#„¼@+'# *#—mHŒˆ„½@+'# *#—nHŒƒ„¾@+'# *#—o„¿@+'# *#—p„À@+'# *#—q„Á@+'# *#—rHŠ<„Â@+'# *#—sHŠB„Ã@+'# *#—tHŠC„Ä@+'# *#—uHŠ?„Å@+'# *#—vHŠ@„Æ@+'# *#—wHŠ:„Ç@+'# *#—xHŠF„È@+'# *#—yHŠD„É@+'# *#—zHŠ„Ê@+'# *#—{HŠ(„Ë@+'# *#—|HŠ4„Ì@+'# *#—}HŠ*„Í@+'# *#—~HŠ)„Î@+'# *#—HŠ>„Ï@+'# *#—€HŠ=„Ð@+'# *#—HŠ;„Ñ@+'# *#—‚HŠ8„Ò@+'# *#—ƒHŠ7„Ó@+'# *#—„H õ„Ô@+'# *#—…H’C„Õ@+'# *#—†H’@„Ö@+'# *#—‡H€n„×@+'# *#—ˆH’A„Ø@+'# *#—‰H ò„Ù@+'# *#—ŠH€m„Ú@+'# *#—‹H ô„Û@+'# *#—ŒH ó„Ü@+'# *#—H‘„Ý@+'# *#—ŽH„Þ@+'# *#—H„ß@+'# *#—HŒ;„à@+'# *#—‘H„ú„á@+'# *#—’Hƒh„â@+'# *#—“HŒ>„ã@+'# *#—”HÒ„ä@+'# *#—•Hׄå@+'# *#—–HÓ„æ@+'# *#——HÔ„ç@+'# *#—˜HÆ„è@+'# *#—™HÇ„é@+'# *#—šHÈ„ê@+'# *#—›HŒ„ë@+'# *#—œH„ì@+'# *#—H€3„í@+'# *#—žH€4„î@+'# *#—ŸHƒc„ï@+'# *#— H‹ƒ„ð@+'# *#—¡H„ñ@+'# *#—¢H„ò@+'# *#—£H…µ„ó@+'# *#—¤HˆŸ„ô@+'# *#—¥Hˆþ„õ@+'# *#—¦H†"„ö@+'# *#—§Hˆý„÷@+'# *#—¨Hˆj„ø@+'# *#—©H†E„ù@+'# *#—ªH†#„ú@+'# *#—«H†$„û@+'# *#—¬H†%„ü@+'# *#—­H‹1„ý@+'# *#—®H ¢„þ@+'# *#—¯H‘„ÿ@+'# *#—°…‚RÀO8ÀO•`ÀO4•aÀOS•bÀOr•cÀO‘•dÀO°•eÀOÏ•fÀOî•gÀP •hÀP,•iÀPK•jÀPj•kÀP‰•lÀP¨•mÀPÇ•nÀPæ•oÀQ•pÀQ$•qÀQC•rÀQb•sÀQ•tÀQ •uÀQ¿•vÀQÞ•wÀQý•xÀR•yÀR;•zÀRZ•{ÀRy•|ÀR˜•}ÀR·•~ÀRÖ•ÀRõ•€ÀS•ÀS3•‚ÀSR•ƒÀSq•„ÀS•…ÀS¯•†ÀSΕ‡ÀS핈ÀT •‰ÀT+•ŠÀTJ•‹ÀTi•ŒÀTˆ•ÀT§•ŽÀTÆ•ÀTå•ÀU•‘ÀU#•’ÀUB•“ÀUa•”ÀU€••ÀUŸ•–ÀU¾•—ÀUÝ•˜ÀUü•™ÀV•šÀV:•›ÀVY•œÀVx•ÀV—•žÀV¶•ŸÀVÕ• ÀVô•¡ÀW•¢ÀW2•£ÀWQ•¤ÀWp•¥ÀW•¦ÀW®•§ÀWÍ•¨ÀWì•©ÀX •ªÀX*•«ÀXI•¬ÀXh•­ÀX‡•®ÀX¦•¯ÀXÅ•°ÀX䕱ÀY•²ÀY"•³ÀYA•´ÀY`•µÀY•¶ÀYž•·ÀY½•¸ÀYÜ•¹ÀYû•ºÀZ•»ÀZ9•¼ÀZX•½ÀZw•¾ÀZ–•¿ÀZµ•ÀÀZÔ•ÁÀZó•ÂÀ[•ÃÀ[1•ÄÀ[P•ÅÀ[o•ÆÀ[Ž•ÇÀ[­•ÈÀ[Ì•ÉÀ[ë•ÊÀ\ +•ËÀ\)•ÌÀ\H•ÍÀ\g•ÎÀ\†•ÏÀ\¥•ÐÀ\Ä•ÑÀ\ã•ÒÀ]•ÓÀ]!•ÔÀ]@•ÕÀ]_•ÖÀ]~•×À]•ØÀ]¼•ÙÀ]Û•ÚÀ]ú•ÛÀ^•ÜÀ^8•ÝÀ^W•ÞÀ^v•ßÀ^••àÀ^´•áÀ^Ó•âÀ^ò•ãÀ_•äÀ_0•åÀ_O•æÀ_n•çÀ_•èÀ_¬•éÀ_Ë•êÀ_ê•ëÀ` •ìÀ`(•íÀ`G•îÀ`f•ïÀ`…•ðÀ`¤•ñÀ`ÕòÀ`â•óÀa•ôÀa •õÀa?•öÀa^•÷Àa}•øÀaœ•ùÀa»•úÀaÚ•ûÀaù•üÀb•ýÀb7•þÀbV•ÿÀbu–Àb”–Àb³–ÀbÒ–Àbñ–Àc–Àc/–ÀcN–Àcm–ÀcŒ– Àc«– +ÀcÊ– Àcé– Àd– Àd'–ÀdF–Àde–Àd„–Àd£–Àd–Àdá–Àe–Àe–Àe>–Àe]–Àe|–Àe›–Àeº–ÀeÙ–Àeø–Àf–Àf6–ÀfU– Àft–!Àf“–"Àf²–#ÀfÑ–$Àfð–%Àg–&Àg.–'ÀgM–(Àgl–)Àg‹–*Àgª–+ÀgÉ–,Àgè–-Àh–.Àh&–/ÀhE–0Àhd–1Àhƒ–2Àh¢–3ÀhÁ–4Àhà–5Àhÿ–6Ài–7Ài=–8Ài\–9Ài{–:Àiš–;Ài¹–<ÀiØ–=Ài÷–>Àj–?Àj5–@ÀjT–AÀjs–BÀj’–CÀj±–DÀjЖEÀjï–FÀk–GÀk&–HÀk>–IÀkV–JÀku–KÀk”–LÀk³–MÀkÒ–NÀkñ–OÀl–PÀl/–QÀlN–RÀlm–SÀlŒ–TÀl«–UÀlÊ–VÀlé–WÀm–XÀm'–YÀmF–ZÀme–[Àm„–\Àm£–]Àm–^Àmá–_Àn–`Àn–aÀn>–bÀn]–cÀn|–dÀn›–eÀnº–fÀnÙ–gÀnø–hÀo–iÀo6–jÀoU–kÀot–lÀo“–mÀo²–nÀoÑ–oÀoð–pÀp–qÀp.–rÀpM–sÀpl–tÀp‹–uÀpª–vÀpÉ–wÀpè–xÀq–yÀq&–zÀqE–{Àqd–|Àqƒ–}Àq¢–~ÀqÁ–Àqà–€Àqÿ–Àr–‚Àr=–ƒÀrU–„Àrt–…ÀrŒ–†Àr«–‡ÀrÖˆÀrâ–‰Às–ŠÀs –‹Às?–ŒÀs^–Às}–ŽÀsœ–Às»–ÀsÚ–‘Àsù–’Àt–“Àt7–”ÀtV–•Àtu––Àt”–—Àt¬–˜ÀtË–™Àtê–šÀu –›Àu(–œÀuG–Àuf–žÀu…–ŸÀu¤– ÀuÖ¡Àuâ–¢Àv–£Àv –¤Àv?–¥Àv^–¦Àv}–§Àvœ–¨Àv»–©ÀvÚ–ªÀvù–«Àw–¬Àw7–­ÀwV–®Àwu–¯Àw”–°Àw³–±ÀwÒ–²Àwñ–³Àx–´Àx/–µÀxN–¶Àxm–·ÀxŒ–¸Àx«–¹ÀxÊ–ºÀxé–»Ày–¼Ày'–½ÀyF–¾Àye–¿Ày„–ÀÀy£–ÁÀy–ÂÀyá–ÃÀz–ÄÀz–ÅÀz>–ÆÀz]–ÇÀz|–ÈÀz›–ÉÀzº–ÊÀzÙ–ËÀzø–ÌÀ{–ÍÀ{6–ÎÀ{U–ÏÀ{t–ÐÀ{“–ÑÀ{²–ÒÀ{Ñ–ÓÀ{ð–ÔÀ|–ÕÀ|.–ÖÀ|M–×À|l–ØÀ|‹–ÙÀ|ª–ÚÀ|É–ÛÀ|è–ÜÀ}–ÝÀ}&–ÞÀ}E–ßÀ}d–àÀ}ƒ–áÀ}¢–âÀ}Á–ãÀ}à–äÀ}ÿ–åÀ~–æÀ~=–çÀ~\–èÀ~{–éÀ~š–êÀ~¹–ëÀ~Ø–ìÀ~÷–íÀ–îÀ5–ïÀT–ðÀs–ñÀ’–òÀ±–óÀЖôÀï–õÀ€–öÀ€-–÷À€L–øÀ€k–ùÀ€Š–úÀ€©–ûÀ€È–üÀ€ç–ýÀ–þÀ%–ÿÀD—Àc—À‚—À¡—ÀÀ—Àß—Àþ—À‚—À‚<—À‚[— À‚z— +À‚™— À‚¸— À‚×— À‚ö—Àƒ—Àƒ4—ÀƒS—Àƒr—Àƒ‘—Àƒ°—ÀƒÏ—Àƒî—À„ —À„,—À„K—À„j—À„‰—À„¨—À„Ç—À„æ—À…—À…$— À…C—!À…b—"À…—#À…™—$À…¸—%À…×—&À…ö—'À†—(À†4—)À†S—*À†r—+À†‘—,À†°—-À†Ï—.À†î—/À‡ —0À‡,—1À‡K—2À‡j—3À‡‰—4À‡¨—5À‡Ç—6À‡æ—7Àˆ—8Àˆ$—9ÀˆC—:Àˆb—;Àˆ—<Àˆ —=Àˆ¿—>ÀˆÞ—?Àˆý—@À‰—AÀ‰;—BÀ‰Z—CÀ‰y—DÀ‰˜—EÀ‰·—FÀ‰Ö—GÀ‰õ—HÀŠ—IÀŠ3—JÀŠR—KÀŠq—LÀŠ—MÀŠ¯—NÀŠÎ—OÀŠí—PÀ‹ —QÀ‹+—RÀ‹J—SÀ‹i—TÀ‹ˆ—UÀ‹§—VÀ‹Æ—WÀ‹å—XÀŒ—YÀŒ#—ZÀŒB—[ÀŒa—\ÀŒ€—]ÀŒŸ—^ÀŒ¾—_ÀŒÝ—`ÀŒü—aÀ—bÀ:—cÀT—dÀs—eÀ’—fÀ±—gÀЗhÀï—iÀŽ—jÀŽ-—kÀŽL—lÀŽk—mÀŽŠ—nÀŽ©—oÀŽÁ—pÀŽÙ—qÀŽñ—rÀ—sÀ/—tÀN—uÀm—vÀŒ—wÀ«—xÀÊ—yÀé—zÀ—{À'—|ÀF—}Àe—~À„—À£—€À—Àá—‚À‘—ƒÀ‘—„À‘>—…À‘]—†À‘|—‡À‘›—ˆÀ‘º—‰À‘Ù—ŠÀ‘ø—‹À’—ŒÀ’6—À’U—ŽÀ’t—À’“—À’²—‘À’Ñ—’À’ð—“À“—”À“.—•À“M—–À“l——À“‹—˜À“ª—™À“É—šÀ“è—›À”—œÀ”&—À”E—žÀ”d—ŸÀ”ƒ— À”¢—¡À”Á—¢À”à—£À”ÿ—¤À•—¥À•=—¦À•\—§À•{—¨À•š—©À•¹—ªÀ•Ø—«À•÷—¬À–—­À–5—®À–T—¯À–s—° '#‘¸'#”r#”q#¨$—±—²…0#”q#8…À©G8 '#‘¸#”r…0#”r#8…À©t8Àµ¿6À¶v’iÀ¶åÀ·’mÀ¸;À¸_’|À¸šÀ¸¡’À¹À¹(’‡À¹ZÀ¹a’ŠÀ¼ÛÀ½Â’©À¾NÀ¾m’¯À¾½À¾Ì’³ÀÀ*ÀÀ’ÀÀÁ+ÀÁR’ÇÀÁüÀÂ#’ÎÀÂÍÀÂô’ÖÀèÀÃÊ’ÝÀÄ8ÀÄO’âÀÄ£Àı’èÀÅÀÅ’ìÀÅwÀÅ…’óÀÆ/ÀÆV’úÀÆÄÀÆÛ’ÿÀÇ ÀÇ“ÀÇHÀÇO“ÀÊÀÊw“)ÀËcÀË‘“-ÀËÅÀËÌ“0ÀÌÀÌ“3ÀÌyÀÌ“8ÀÌÍÀÌÔ“;ÀÍ^ÀÍl“BÀÍÊÀÍß“GÀÎÀΓJÀÎmÀÎ|“NÀΰÀη“QÀÎëÀÎò“TÀÏEÀÏT“XÀψÀÏ“[ÀЖÀÐÁ“mÀÐþÀÑ“,ÀÑ9ÀÑ@“rÀÑ}ÀÑ„“vÀôSÀø”sÀCÉÀKé”}ÀLÀL$’æÀLXÀL_“íÀLÉÀL唜ÀMÀM “ŠÀMÀMÀ“ÀMôÀMû”€ÀN/ÀN6“ôÀNjÀNq”‚ÀN¥ÀN¬“`ÀNàÀNç•^À–‹À©”qÀ©WÀ©^”rÀ©„—³IÀ©‹  @Î##—´!#?$BC!#ˆç$‡„!#Š $¸¹!#<#¦#§$FG"'#‚e #‚ '#‚¨#—µ"'#‚e #A'#‚e#—¶'#‚¨#—·"'#‚e #‚c"'#‚e #à'#6#—¸"'#‚e #‚c"'#‚e #à'#‚¨#ï"'#‚e #‚c"'#‚e #à"'#‚e #J'#‚¨#ð "'#‚e #‚c"'#á #…<"'#1&'#‚e #‹»'#‚¨#—¹ +"'#‚e #‚c"'#‚e #ŒX'#6#—º "'#‚e #—»"'#1&'#‚e #Œ7'#‚¨#—¼ '#…/#—½ +'#6*#—¾"#—½#8 #—¾#‚”'#á#„^À®—¾À®8À®1‚”)(#‚Z"'#‚e #—¿'#‚~&'#‚Z#—ÀÀ«ì À¬N—µÀ¬q—¶À¬“—·À¬©—¸À¬ØïÀ­ðÀ­D—¹À­ˆ—ºÀ­·—¼À­î—½À®LÀ®b—À—Áû À®•  @Î#ŒÚ#“w@+'#á*#“x$——Ã@+'#á*#“y$—Ä—Å@+'#á*#—Æ$—Ç—È@+'#á*#—É$—Ê—Ë@+'#á*#—Ì$—Í—Î+'#á*#—Ï+'#á*#—Ð +#“w #—Ï #—ÐÀ¯“xÀ¯9“yÀ¯T—ÆÀ¯o—ÉÀ¯Š—ÌÀ¯¥—ÏÀ¯»—ÐÀ¯Ñ^#—Ñ  +#—Ñ +À°@^#—Ò +'#á*#à  +#—Ò #à À°bàÀ°x^#—Ó +#—ÓÀ°«^#’j +#’jÀ°Í^À®öÀ¯“wÀ¯óÀ°2—ÑÀ°MÀ°T—ÒÀ°ŽÀ°—ÓÀ°¸À°¿’jÀ°ÚŒÚ€âÀ°á  @Î#—Ô$¸¹$‡„$’e’f!#ˆj$¿—Õ$—Ö—×$º»$¢£!#i#j#<$FG!#?$BC!#‘¸#‘Ù#‘»$IJ !#—À$—Ø—Ù + !#—À$—Ø—Ù $—Ú—Û $—Ú—Û $—Ü—Ý$—Þ—ß$—à—á$—â—ã$—ä—å$—æ—çÀ±(  @Î#—Ô '#‰K&'#á'#—è#—é1@+'#„Ê*#—ê#—ë'#á"'#á #J#‚”'#á#—ì'#6"'#á #J"'#6 #—í#—î'#6#…Q'#…R&'#á#…Z'#I'#I"'#á #‚ #…T#…a'#á"'#á #ƒ$ƒ^#‚å)(#‚Z'#‚X&'#‚Z'#‚Z"'#á #ƒÆ #…T #…U'#‚X&'#á'#6"'#á #‚ #…T +#…X)(#‚Z'#‚X&'#‚Z'#‚X&'#‚Z"'#á #‚ #…T #…`'#6'#6"'#á #‚ #…T #…b'#6'#6"'#á #‚ #…T #…g'#6#…h'#6#'# #…['#á'#á"'#á #J"'#á #‚ #…\#…])(#‚Z'#‚Z"'#‚Z #…^'#‚Z"'#‚Z #…_"'#á #‚ #…\#…Y'#6"'#‚e #J#…é'#á"'#‚e #J#‚'#6"'#á #J#…—'#6"'#‚e #J#…Š'#I"'#‚X&'#á #…‹#…ê'#I"'#‚X&'#‚e #…‹#—ï'#I"'#‚X&'#á #…‹"'#6 #—í#…ë'#I"'#‚X&'#‚e #…‹#…š'#I'#6"'#á #à #…V#…›'#I'#6"'#á #à #…V#…ì'#6"'#‚X&'#‚e #ˆÏ#ƒï'#…f&'#á"'#…f&'#‚e #2#…í'#…f&'#á"'#…f&'#á #2#„Ã'#…f&'#á"'#…f&'#‚e #2 #…m'#á!#…n'#á"#ƒ¹'#á##…c'#1&'#á"'#6 #…d$#…e'#…f&'#á%#…i'#‚X&'#á"'# #„»&#…j'#‚X&'#á'#6"'#á #J #…V'#…k'#‚X&'#á"'# #„»(#…l'#‚X&'#á'#6"'#á #J #…V)#…o'#á'#6"'#á #J #…V'#á #…p*#…q'#á'#6"'#á #J #…V'#á #…p+#…r'#á'#6"'#á #J #…V'#á #…p,#…s'#á"'# #¥-#…“'#I.#—ð"'#…f&'#á #y #…T/#—ñ'#…f&'#á0#—ò'#I"'#…f&'#á #y11À²t—êÀ²Š—ëÀ²ª‚”À²¾—ìÀ²ìU—îÀ²üU…QÀ³…ZÀ³E…aÀ³m‚åÀ³¯…UÀ³è…XÀ´2…`À´b…bÀ´’U…gÀ´¢U…hÀ´²UÀ´Á…[À´ÿ…]ÀµS…YÀµr…éÀµ’‚Àµ±…—ÀµÐ…ŠÀµø…êÀ¶ —ïÀ¶W…ëÀ¶…šÀ¶¯…›À¶ß…ìÀ·ƒïÀ·7…íÀ·g„ÃÀ·—U…mÀ·¨U…nÀ·¹Uƒ¹À·Ê…cÀ·ö…eÀ¸…iÀ¸:…jÀ¸r…kÀ¸š…lÀ¸Ò…oÀ¹…qÀ¹Z…rÀ¹ž…sÀ¹¾…“À¹Ñ—ðÀ¹þ—ñÀº—òÀ²4À²O—éÀºA  @Î#—Ô" #J#—ó" #‚ #—ô#—õ+*#…«+*#—ö#—÷'# " #J#—ø"'# #‡,#—ù"'# #‡," #f#—ú#—û'#6" #‚  #—ü'#‘» +#—ý'#I" #‚ " #‚¦" #J #…» #—þ'#I" #‚ " #‚¦" #J #—ÿ #˜'#1" ##˜'#I" #‚å" #‚¦" #J#˜" #ƒÆ#˜'#1"'#1 #ƒÆ"'# #˜#˜" #JÀ»ÿ…«À¼—öÀ¼—÷À¼8—øÀ¼R—ùÀ¼r—úÀ¼€—ûÀ¼š—üÀ¼®—ýÀ¼à—þÀ½—ÿÀ½˜À½.˜À½U˜À½j˜À½•˜#˜ +*#…«+*#—ö+'#6*#˜#—÷'# " #J#˜'#6" #ƒÎ" #ƒ‡#—ø"'# #‡,#—ù"'# #‡," #f#˜ " #‚ " #‚¦" #J #…»#˜ +'#1" ##˜" #ƒÆ#˜ " #‚ " #˜ À¾*…«À¾:—öÀ¾J˜À¾_—÷À¾x˜À¾™—øÀ¾³—ùÀ¾Ó˜ À¿˜ +À¿˜À¿.˜ #˜ +'#6*#“ +'#6*#˜ !+'#6*#Žx"+'#6*#˜#+'#6*#˜$+'#6*#”—%+'#6*#˜&#˜  #“ #˜  #Žx #˜ #˜ #˜ #”—'À¿®“À¿Ã˜ À¿ØŽxÀ¿í˜ÀÀ˜ÀÀ”—ÀÀ,˜ÀÀA^" #˜#˜('#˜#˜)+'#*#A*+'# *#ƒì++'# *#ƒë,#˜ #A #ƒì #ƒë-ÀÀùAÀÁ ƒìÀÁ"ƒëÀÁ7^" #˜'#˜#˜."'#˜ #˜#˜/À»© À»Ä—óÀ»Ú—ôÀ»ñ—õÀ½©À¾˜À¿OÀ¿ ˜ ÀÀÀÀ̘ÀÀã˜ÀÁ^ÀÁ|˜ÀÁ™˜  @Î#—Ô" #‚ '#‚€&'#á'#‚¨#˜"'#‚e #J#˜"'#‚€ #˜'#I"'#‚e #…T #˜#˜"'#1&'#á #‚'#1#˜" #˜'#„Œ#˜ "'#„Œ #˜#˜!" #J#˜" #‚ " #˜#˜  '#—õ#˜"#—ü'#‘» #—ý'#I" #‚ " #‚¦" #J #…» +#—þ'#I" #‚ " #‚¦" #J #—ÿ #˜" #‚å" #‚¦" #J #˜" ##—û" #ƒÆÀÃZ—üÀÃn—ýÀà—þÀÃÇ—ÿÀÃÕ˜ÀÃ÷˜ÀÄ —û '#˜#˜##˜'#1" ##˜ +'#1" ##˜'#6" #ƒÎ" #ƒ‡#˜ '#I" #‚ " #‚¦" #J #…»ÀÄg˜ÀÄ€˜ +ÀÄ™˜Àĺ˜ " #J'#6#˜$" #J'#6#˜%" #J'#6#˜&" #J'#6#˜'" #J'#6#˜(" #J'#6#˜)%+'#á*#˜*K$˜+˜,$˜-˜.$˜/˜0%+*#˜1'#i#˜*%+*#˜2'#j#˜*À +ÀÂ%˜ÀÂP˜ÀÂl˜À©˜ÀÂÒ˜ ÀÂï˜!Àà ˜ÀÃ"˜ ÀÃE˜"ÀÄ ÀÄR˜#ÀÄìÀÅ ˜$ÀÅ$˜%ÀÅ?˜&ÀÅZ˜'ÀÅu˜(ÀŘ)ÀÅ«%˜*ÀÅÒ%˜1ÀÅñ%˜2  @Î#—Ô#˜3P#õ'#á@+'#6*#˜4@+'#6*#˜5@+'#6*#˜6@+'#6*#˜7@+'#á*#˜8@+'#á*#˜9@#˜:'#6"'#á #˜;ÀÆÎUõÀÆߘ4ÀÆô˜5ÀÇ ˜6Àǘ7ÀÇ3˜8ÀÇI˜9ÀÇ_˜:ÀÆ¥ÀÆÀ˜3ÀÇ  @Î#—Ô '#ˆ‘&'#˜<'#˜=#˜>+'#‰V*#˜?+'#1&'#‰V*#˜@#˜>"'#‰V #ˆ¤#ˆ['#‚X&'#˜<#˜A'#1&'#˜<#…Z'#I'#I"'#˜< #‚ #…T#…5'#I"'# #¥"'#˜< #J #"'# #…‰#‚'#I"'#˜< #J #…Š'#I"'#‚X&'#˜< #…‹ +#…Y'#6"'#‚e #ŠŠ #…Œ'#‚X&'#˜< #…'#I'# "'#˜< #ƒÎ"'#˜< #ƒ‡ #„‹ #…'#I"'# #B"'# #C"'#‚X&'#˜< #…‹"'# #…ž#… '#I"'# #B"'# #C"'#˜< #…¡#…¢'#I"'# #B"'# #C"'#‚X&'#˜< #…‹#…Ÿ'#I"'# #B"'# #C#…“'#I#…™'#˜<#…”'#I"'# #¥"'#˜< #J#…•'#I"'# #¥"'#‚X&'#˜< #…‹#…˜'#˜<"'# #¥#…—'#6"'#‚e #‚#'# #¤'#˜<"'# #¥#…Q'#…R&'#˜<#˜B'#1&'#‰VÀȘ?ÀÈ$˜@ÀÈA^ÀÈ[Uˆ[ÀÈtU˜AÀÈŒ…ZÀȼ…5ÀÈçVÀÉ‚ÀÉ…ŠÀÉG…YÀÉgU…ŒÀÉ€…ÀÉÀ…ÀÊ… ÀÊH…¢Àʆ…ŸÀʯ…“ÀÊÂ…™ÀÊÖ…”ÀË…•ÀË5…˜ÀËU…—ÀËuUÀË„¤ÀˤU…QÀ˽U˜BÀÇÎÀÇé˜>ÀËÕ  @Î#—Ô#˜C@#…'# "'#1 #ƒÎ"'#‚e #‚"'# #ƒ("'# #ƒ)@#…’'# "'#1 #ƒÎ"'#‚e #‚"'# #ƒ(@#…œ'#1"'#1 #ƒÎ"'# #B"'# #C"'#1 #˜DÀÌË…ÀÍ…’ÀÍG…œ#˜=#˜B'#1&'#‰VÀͬU˜BÀÌ¢À̽˜CÀ͈ÀÍž˜=ÀÍÄ—Ô€â À²/À»™ÀÁ¶ÀÆÀǾÀÌ’ÀÍÌ  @Î +##’c#˜E$¸¹$’e’f$’g’h$¢£$º»!#i#j#k#¨$FG!#?$BC!#‘¸#‘Ù$IJ!#<$FG#˜F @#˜G'#˜H" #J +@#˜I'#˜H" #Ž "'#6 #ŒÂ @#˜J'#˜H" #Ž "'#6 #ŒÂ @#˜K'#˜H" #˜L" #˜M"'#6 #˜N"'#6 #˜O @+*#˜P@#˜Q@#˜R@#˜S" #˜T@#˜U'#˜H" #ŽÕ" #J@#˜V'#˜H" #ŽÕ" #Ž " #ŒÂ@#˜W'#˜H" #ŽÕ" #Ž " #ŒÂ@#˜X'#˜H" #ŽÕ" #˜L" #˜M" #˜N" #˜O Àκ˜GÀÎÔ˜IÀϘJÀÏ,˜KÀÏp˜PÀÏ€˜QÀÏŽ˜RÀÏœ˜SÀϱ˜UÀÏÒ˜VÀÏû˜WÀÐ$˜X" #˜Y#˜Z" #˜[#˜\" #‚ #˜]%+'#á*#˜^$˜_˜`%+*#˜a'#i#˜^%+*#˜b'#j#˜^ '#‘¸#˜c#’j#¨$˜d˜e #˜f'#‚~#…·'#‚~" #J#ƒ>'#I"'#‚e #‚¦#k$˜g˜h0#˜c#8 #˜i'#á!#‚¦'#‚e#˜a#˜b"#˜j'#‚e#˜a#˜b##ã'#‚e#i$˜k„`#j$˜l˜m$#˜n'#I"'# #‚%%#˜o'#I"'#‚e #‚¦"'#‚e #˜j&#˜p'#˜q#k$˜r˜f'#˜s'#˜q" #J(#˜t'#˜q" #J#k$˜u…·) ÀÑ{˜fÀÑ…·ÀÑ©ƒ>ÀÑÚ8ÀÑéU˜iÀÑûU‚¦ÀÒU˜jÀÒ;UãÀÒi˜nÀÒ‰˜oÀÒ·˜pÀÒÚ˜sÀÒô˜t '#˜c#˜v#’j#¨$˜w˜x*0#˜v#8+#J'#‚¨,#˜y'#‚¨#k$˜zJ#˜1#˜2-ÀÓ¤8ÀÓ³UJÀÓÃU˜y '#˜{#˜|#“w #“w#“x#“w #“w#“y$˜}˜~#“w #“w#—Æ$˜˜€#’j#¨$˜˜‚.#˜ƒ'#˜„"'#á #à" #˜…"'#6 #˜†/#˜‡'#˜ˆ" #˜‰"'#á #‚•0#˜Š'#˜ˆ"'#á #˜‹"'#á #‚•1#˜Œ'#˜ˆ"'#1&'#á #˜"'#á #‚•2#˜Ž'#˜ˆ"'#˜ #˜"'#á #‚•3#˜'#˜ˆ" #˜‘" #‚•#k$˜’˜‡40#˜|#85@+'#˜“&'#’Õ*#˜”'#˜“&'#’Õ$˜•˜–6@+'#˜“&'#’Õ*#˜—'#˜“&'#’Õ$˜˜ù7@+'#˜“&'#’Õ*#˜™'#˜“&'#’Õ$˜š‚f8@+'#˜“&'#˜›*#˜œ'#˜“&'#˜›$˜˜ž9#à'#á:#˜Ÿ'#1&'#á#j$˜ ˜#i$˜ ˜;#‡O'# #i$˜¡˜¢#j$˜¡˜¢<#ù'#I=#˜£'#˜„"'#á #à"'#‚€ #„d>#˜¤'#˜„" #à" #„d#k$˜¥˜ƒ?#˜¦'#˜„" #à#k$˜¥˜ƒ@#˜§'#I"'#á #àA#˜¨'#ó&'#’ÕB#ƒ'#ó&'#’ÕC#„Ù'#ó&'#’ÕD#˜©'#ó&'#˜›EÀÔj˜ƒÀÔ¤˜‡ÀÔ̘ŠÀÔú˜ŒÀÕ/˜ŽÀÕ]˜ÀÕŽ8ÀÕ˜”ÀÕÔ˜—ÀÖ ˜™ÀÖB˜œÀÖyUàÀÖ‹U˜ŸÀÖÀU‡OÀÖíùÀט£À×2˜¤À×c˜¦Àט§À×®U˜¨À×ÇUƒÀ×àU„ÙÀ×ùU˜©7'#I"'#˜ª #˜«#˜¬F '#‘¸#˜­#“w #“w#“x#“w #“w#“y$˜}˜~#“w #“w#—Æ$˜˜€#’j#¨$˜®˜¯GP#“|'#6H#ŒÂ'#‚~&'#˜|"'#á #à"'# #‡O'#I"'#˜› #‰ì #˜°'#I"'#’Õ #‰ì #˜±I#˜²'#‚~&'#˜­"'#á #à'#I"'#’Õ #ƒÆ #˜±J#˜³'#6K0#˜­#8L#˜´'# "'#‚e #…m"'#‚e #„©M#˜µ'#˜¶"'#á #à#k$˜·˜²N#˜¸'#˜¶"'#á #à"'# #‡O#k$˜¹ŒÂ#j$˜º˜q#i$˜º˜q#i$˜»˜|OÀÙ;U“|ÀÙKŒÂÀÙزÀÚ U˜³ÀÚ8ÀÚ+˜´ÀÚY˜µÀÚ‰˜¸)(#‚Z"'#˜q #˜¼'#‚~&'#‚Z#˜½P '#‘¸#˜¾#’j#¨$˜¿˜ÀQ#‚%'#‚~&'# " #˜ÁR#˜Â'#‚~" #‚¦S#˜Ã'#‚~" #‚¦T#˜Ä'#ó&'#˜v" #‚¦"'#˜H #… +"'#á #˜i"'#6 #˜ÅU#˜Æ'#ó&'#˜c" #‚¦"'#˜H #… +"'#á #˜i"'#6 #˜ÅV0#˜¾#8W#˜…'#‚e#˜1X#˜Ç'#6Y#à'#áZ #à"'#á #J[#˜È'#˜„\#˜É'#6]#‰`'#˜q"'#‚e #‚¦#k$˜Ê‚%^#˜Ë'#˜q"'#‚e #‚¦#k$˜Ì˜Â#j$˜º˜q#i$˜º˜q#˜1_#˜Í'#˜q"'#‚e #†F"'# #‚%`#˜Î'#˜q"'#‚e #†F"'# #‚%a#˜Ï'#˜q"'#‚e #‚¦#k$˜Ð˜Ã#j$˜º˜q#i$˜º˜q#˜1#i$˜Ñ˜„b#˜Ò'#˜q"'#‚e #… +"'#á #˜i#k$˜Ó˜Ä#j$˜º˜q#i$˜º˜q#i$˜Ô˜cc#˜Õ'#˜q"'#‚e #… +"'#á #˜i#k$˜Ö˜Æ#j$˜º˜q#i$˜º˜q#i$˜Ô˜cdÀÛ‰‚%ÀÛ®˜ÂÀÛɘÃÀÛä˜ÄÀÜ9˜ÆÀÜŽ8ÀÜU˜…ÀܶU˜ÇÀÜÇUàÀÜÙVàÀÜôU˜ÈÀÝU˜ÉÀ݉`ÀÝG˜ËÀÝš˜ÍÀݢÎÀÝü˜ÏÀÞ]˜ÒÀÞÇ˜Õ '#‘¸#˜H#’j#¨$˜×˜Øe0#˜H#˜Ù" #Jf0#˜H#˜Ú" #Ž "'#6 #ŒÂg0#˜H#˜Û" #Ž "'#6 #ŒÂh0#˜H#Ž " #˜L" #˜M"'#6 #˜N"'#6 #˜Oi0#˜H#8j#˜L'#‚e#˜1k#˜N'#6l#˜M'#‚e#˜1m#˜O'#6n@#˜Ü'#˜H"'#‚e #˜L"'#‚e #˜M"'#6 #˜N"'#6 #˜O#k$˜ÝŽ o#˜Þ'#6"'#‚e #‚¦p@#˜ß'#˜H"'#‚e #Ž "'#6 #ŒÂ#k$˜à˜Úq@#˜á'#˜H"'#‚e #J#k$˜â˜Ùr@#˜ã'#˜H"'#‚e #Ž "'#6 #ŒÂ#k$˜ä˜ÛsÀßâ˜ÙÀßø˜ÚÀà ˜ÛÀàHŽ Ààˆ8Àà—U˜LÀà°U˜NÀàÁU˜MÀàÚU˜OÀàë˜ÜÀáF˜ÞÀág˜ßÀᦘáÀáÕ˜ã '#‘¸#˜„#’j#¨$˜å˜æt$#‚'#‚~" #J" #‚¦u#…“'#‚~v#˜f'#‚~" #˜çw#‚%'#‚~&'# " #˜Áx#˜è'#‚~" #J" #‚¦y#˜é'#‚~" #‚¦z#˜Ä'#ó&'#˜v" #‚¦"'#˜H #… +"'#á #˜i"'#6 #˜Å{#˜ê'#˜¾"'#á #à" #˜…"'#6 #˜É"'#6 #˜Ç|0#˜„#8}#˜†'#6~#˜ë'#1&'#á#j$˜ ˜#i$˜ ˜#˜…'#‚e#˜1€€#à'#ဠ#à"'#á #J€‚#˜‡'#˜ˆ€ƒ#‚4'#˜q" #J" #‚¦#j$˜º˜q#i$˜º˜q#˜a€„#˜ì'#˜q" #J" #‚¦#k$˜í‚#j$˜º˜q#i$˜º˜q#˜a€…#˜î'#˜q" #J#k$˜í‚#j$˜º˜q#i$˜º˜q#˜a€†#ˆ5'#˜q#k$˜ï…“€‡#‰`'#˜q"'#‚e #‚¦#k$˜Ê‚%€ˆ#˜ð'#˜¾"'#á #à"'#‚e #˜…"'#‚€ #„d€‰#˜ñ'#˜¾" #à" #˜…" #„d#k$˜ò˜ê€Š#˜ó'#˜¾" #à" #˜…#k$˜ò˜ê€‹#˜p'#˜q"'#‚e #‚¦#k$˜r˜f€Œ#˜ô'#I"'#á #à€#˜Ë'#˜q"'#‚e #‚¦#k$˜Ì˜Â#j$˜º˜q#i$˜º˜q#˜1€Ž#˜Í'#˜q"'#‚e #†F"'# #‚%€#˜Î'#˜q"'#‚e #†F"'# #‚%€#˜Ã'#˜q"'#‚e #‚¦€‘#¥'#˜¾"'#á #à€’#˜Ò'#˜q"'#‚e #… +"'#á #˜i#k$˜Ó˜Ä#j$˜º˜q#i$˜º˜q#i$˜Ô˜c€“#˜Æ'#˜q"'#‚e #… +"'#á #˜i€”#˜õ'#˜q" #J" #‚¦#j$˜º˜q#i$˜º˜q#˜a€•#˜ö'#˜q" #J" #‚¦#k$˜÷˜è#j$˜º˜q#i$˜º˜q#˜a€–#˜ø'#˜q" #J#k$˜÷˜è#j$˜º˜q#i$˜º˜q#˜a€—@#˜ù)(#‚Z'#˜c'#ó&'#‚Z"'#˜q #˜¼"'#6 #˜Å€˜$À⢂ÀâÆ…“ÀâÚ˜fÀâõ‚%Àã˜èÀã>˜éÀãY˜ÄÀ㮘êÀãô8ÀäU˜†ÀäU˜ëÀäIU˜…ÀäcUàÀävVàÀä’U˜‡À䥂4Àäí˜ìÀåA˜îÀ厈5À岉`Àåã˜ðÀæ"˜ñÀæ[˜óÀæ˜pÀ澘ôÀæà˜ËÀç4˜ÍÀçf˜ÎÀ瘘ÃÀ绥ÀçÞ˜ÒÀèI˜ÆÀè|˜õÀèĘöÀé˜øÀée˜ù '#‘¸#˜ú#¨$˜û˜ü€™0#˜ú#8€š#‚¦'#‚e€›#ŒX'#လ#J'#‚e€ÀêÉ8ÀêÙU‚¦ÀêìUŒXÀêÿUJ '#‘¸#˜ý#¨$˜þ˜ÿ€ž0#˜ý#8€Ÿ#˜ý"'#˜¬ #‚O€ @#’Ú'#˜ý" #‚O€¡#™'#I"'#˜| #™"'#˜ˆ #™"'#‚€ #„d€¢#™'#I"'#˜| #™"'#˜ˆ #™" #„d#k$™™€£#™'#I"'#˜| #™€¤ÀëP8Àë`^Àë{’ÚÀë—™ÀëÒ™Àì™ '#‘¸#˜ª#¨$™™€¥0#˜ª#8€¦#™'#˜|€§#™ '#‚e€¨#˜‡'#˜ˆ€©Àì…8Àì•U™Àì¨U™ Àì»U˜‡ '#˜q#˜¶#’j#¨$™ +™ €ª0#˜¶#8€«@+'#˜“&'#’Õ*#™ '#˜“&'#’Õ$™ ™€¬@+'#˜“&'#˜›*#™'#˜“&'#˜›$™™€­#˜±'#ó&'#’Õ€®#˜°'#ó&'#˜›€¯Àí8Àí'™ Àí_™Àí—U˜±Àí±U˜° '#˜{#˜q#’j#¨$™™€° 0#˜q#8€±@+'#˜“&'#’Õ*#˜™'#˜“&'#’Õ$˜š‚f€²@+'#˜“&'#’Õ*#™'#˜“&'#’Õ$™™€³#‚f'#™€´#™'#ဵ#Š'#‚¨€¶#™'#‚¨#k$™Š#i$˜k„`€·#ã'#‚e#i$˜k„`€¸#˜‡'#˜ˆ€¹#„Ù'#ó&'#’Õ€º#‹'#ó&'#’Õ€» Àî8Àî-˜™Àîe™ÀîU‚fÀî°U™ÀîÃUŠÀîÕU™ÀïUãÀï%U˜‡Àï8U„ÙÀïRU‹ '#˜{#˜ˆ#’j#¨$™™€¼#™'#‚~&'#˜|€½0#˜ˆ#8€¾@+'#˜“&'#’Õ*#˜”'#˜“&'#’Õ$˜•˜–€¿@+'#˜“&'#’Õ*#™'#˜“&'#’Õ$™Š €À@+'#˜“&'#’Õ*#˜™'#˜“&'#’Õ$˜š‚f€Á#™'#˜|€Â#‚f'#™€Ã#‚•'#á€Ä#˜Ÿ'#1&'#á#j$˜ ˜#i$˜ ˜€Å#˜–'#I€Æ#˜È'#˜„"'#á #à€Ç#˜¨'#ó&'#’Õ€È#™ '#ó&'#’Õ€É#„Ù'#ó&'#’Õ€ÊÀïèU™Àð8Àð˜”ÀðJ™Àð‚˜™ÀðºU™ÀðÍU‚fÀðàU‚•ÀðóU˜ŸÀñ)˜–Àñ>˜ÈÀñaU˜¨Àñ{U™ Àñ•U„Ù '#’Õ#˜›#’j#¨$™!™"€Ë 0#˜›#8€Ì#˜›"'#á #ŒX"'#‚€ #™#€Í@#’Ú'#˜›" #ŒX" #™#€Î@#’Û'#˜›" #ŒX€Ï#™$'#á€Ð#™%'#á€Ñ#™&'# #i$˜¡˜¢#j$˜¡˜¢€Ò#™''# #i$˜¡˜¢#j$˜¡˜¢€Ó#…†'#˜¶#k$™(…†€Ô ÀòA8ÀòQ^Àò|’ÚÀòŸ’ÛÀò»U™$ÀòÎU™%ÀòáU™&ÀóU™'Àó=U…†ÀÎ +Àά˜FÀÐ[Àб˜ZÀÐȘ\ÀÐߘ]ÀÐö%˜^ÀÑ%˜aÀÑ0%˜bÀÑO˜cÀÓÀÓx˜vÀÓðÀÔ˜|ÀØÀØ·7˜¬ÀØÕ˜­ÀÚòÀÛ*˜½ÀÛ]˜¾Àß1À߶˜HÀâÀâv˜„Àé©À꥘úÀëÀë,˜ýÀì8Àìa˜ªÀìÎÀì꘶ÀíËÀíð˜qÀïlÀﻘˆÀñ¯Àò˜›Àó^™)ˆÅÀóœ  @Î ##’c#™*$¸¹0#„#„$‡„!#ˆ$¿$’e’f$’g’h!#i#j#k#¨$FG!#?$BC!#‘¸$IJ#™+@#™,'#™-"'#á #‘ Àõ5™, '#™.'#™/#™0#’j#¨$™1™2 +0#™0#8 #™0 ##™0#‡X #…†'#™3#™4'#™3Àõ’8Àõ¡^Àõ®‡XÀõ¾U…†ÀõÐU™4 '#‘¸#™5#’j#¨$™6™70#™5#8@+'# *#™8@+'# *#™9@+'# *#™:@+'# *#™;@+'# *#™<#™='# #J'#‚Û #J"'#‚Û #J#™>'#á #™>"'#á #J#™?'#‚Û #™?"'#‚Û #J#™@'#I"'# #™=#™A'#I"'# #™="'#‚Û #™?Àö08Àö?™8ÀöV™9Àöm™:Àö„™;Àö›™<Àö²U™=ÀöÃUJÀöÔVJÀöîU™>À÷V™>À÷U™?À÷-V™?À÷H™@À÷h™A '#™B#™C#“w #“w#“x#“w #“w#“y#“w #“w#—Ì#’j#¨$™D™E 0#™C#8!#™C"##™C#‡X#P#“|'#6$Àø]8Àøl^Àøy‡XÀø‰U“| '#™B#™F#“w #“w#“x#“w #“w#“y#“w #“w#—Ì#’j#¨$™G™H%0#™F#8&#™F'##™F#‡X(P#“|'#6)Àù8Àù^Àù,‡XÀù#™O'# ?#™P'# @ #™P"'# #JAÀûà8ÀûïU™OÀüU™PÀüV™P '#‘¸#™Z#’j#¨$™[™\B0#™Z#8C#™O'#™]D#™P'#™]EÀüs8Àü‚U™OÀü”U™P '#‘¸#™^#’j#¨$™_™`F0#™^#8G#™O'#™aH#™P'#™aIÀüç8ÀüöU™OÀýU™P '#‘¸#™b#’j#¨$™c™dJ0#™b#8K#™O'#‚ÛL#™P'#‚ÛM #™P"'#‚Û #JNÀý[8ÀýjU™OÀý|U™PÀýŽV™P '#‘¸#™e#’j#¨$™f™gO0#™e#8P#™O'#™hQ#™P'#™hRÀýñ8ÀþU™OÀþU™P '#‘¸#™i#’j#¨$™j™kS0#™i#8T#™O'#™lU#™P'#™lVÀþe8ÀþtU™OÀþ†U™P '#‘¸#™m#’j#¨$™n™oW0#™m#8X#™O'#™pY#™P'#™pZÀþÙ8ÀþèU™OÀþúU™P '#‘¸#™3#’j#¨$™q™r[0#™3#8\#™O'#á]#™P'#á^ #™P"'#á #J_ÀÿM8Àÿ\U™OÀÿnU™PÀÿ€V™P '#‘¸#™s#’j#¨$™t™u`0#™s#8a#™O'#™vb#™P'#™vcÀÿã8ÀÿòU™OÀU™P '#™-'#™w#™B#’j#¨$™x™yd 0#™B#8e#™Bf##™B#‡Xg#™z'#™-h#™{'#Ii#™|'#I"'#‚Û #…2j#™}'#Ik#™~'#I"'#‚Û #…2l#™'#4m#™€'#4n#™'#4o#™‚'#™ƒp#™„'#™ƒq À_8Àn^À{‡XÀ‹U™zÀ™{À±™|ÀÒ™}Àæ™~À™À™€À/™ÀCU™‚ÀUU™„ '#™…#™†#’j#¨$™‡™ˆr0#™†#8s#™†t##™†#‡Xu#™‰'#™Zv#™Š'#™Zw#™‹'#™ZxÀí8Àü^À ‡XÀU™‰À+U™ŠÀ=U™‹ '#™.#™Œ#’j#¨$™™Žy0#™Œ#8z#™Œ{##™Œ#‡X|#™'#™T}À¤8À³^ÀÀ‡XÀÐU™ '#™.#™#’j#¨$™‘™’~0#™#8#™€€##™#‡X€À)8À8^ÀF‡X '#™-#™“#’j#¨$™”™•€‚0#™“#8€ƒ#™“€„##™“#‡X€…À˜8À¨^À¶‡X '#™-#™–#¨$™—™˜€†0#™–#8€‡##™–#‡X€ˆÀÿ8À‡X '#™…#™™#’j#¨$™š™›€‰0#™™#8€Š#™™€‹##™™#‡X€Œ#™‰'#™Z€#™Š'#™Z€Ž#™œ'#™Z€#™'#™Z€À[8Àk^Ày‡XÀŠU™‰ÀU™ŠÀ°U™œÀÃU™ '#™-'#™ž#™Ÿ#“w #“w#“x#“w #“w#“y#“w #“w#—Æ$˜˜€#“w #“w#—Ì#’j#¨$™ ™¡€‘0#™Ÿ#8€’#™Ÿ€“##™Ÿ#‡X€”P#“|'#6€•@+'# *#™¢€–@+'# *#™£€—@+'# *#™¤€˜@+'# *#™¥€™@+'# *#™¦€š@+'# *#™§€›#™¨'#™3€œ#™©'#™3€#‚•'#™T€ž#ƒì'#™Z€Ÿ#Š'#™3€ #ƒë'#™Z€¡#f'#™Z€¢#g'#™Z€£À€8À^Àž‡XÀ¯U“|ÀÀ™¢ÀØ™£Àð™¤À™¥À ™¦À8™§ÀPU™¨ÀcU™©ÀvU‚•À‰UƒìÀœUŠÀ¯UƒëÀÂUfÀÔUg '#™-'#™ž#™ª#“w #“w#“x#“w #“w#“y#“w #“w#—Æ$˜˜€#“w #“w#—Ì#’j#¨$™«™¬€¤0#™ª#8€¥#™ª€¦##™ª#‡X€§P#“|'#6€¨@+'# *#™­€©@+'# *#™®€ª@+'# *#™¯€«@+'# *#™°€¬@+'# *#™±€­#™¨'#™3€®#ŒX'#™T€¯#…«'#™e€°#ƒì'#™Z€±#Š'#™3€²#ƒë'#™Z€³#f'#™Z€´#g'#™Z€µÀá8Àñ^Àÿ‡XÀU“|À!™­À9™®ÀQ™¯Ài™°À™±À™U™¨À¬UŒXÀ¿U…«ÀÒUƒìÀåUŠÀøUƒëÀ UfÀ Ug '#™-'#™ž#™²#“w #“w#“x#“w #“w#“y#“w #“w#—Æ$˜˜€#“w #“w#—Ì#’j#¨$™³™´€¶ +0#™²#8€·#™²€¸##™²#‡X€¹P#“|'#6€º#™¨'#™3€»#ƒì'#™Z€¼#Š'#™3€½#ƒë'#™Z€¾#f'#™Z€¿#g'#™Z€À +À +"8À +2^À +@‡XÀ +QU“|À +bU™¨À +uUƒìÀ +ˆUŠÀ +›UƒëÀ +®UfÀ +ÀUg '#™-'#™ž#™µ#’j#¨$™¶™·€Á0#™µ#8€Â##™µ#‡X€Ã@+'# *#™¸€Ä@+'# *#™¹€Å@+'# *#™º€Æ@+'# *#™»€Ç@+'# *#™¼€È@+'# *#™½€É@+'# *#™¾€Ê#™¨'#™3€Ë#™©'#™3€Ì#™¿'#™b€Í#™À'#™b€Î#™Á'#™b€Ï#™Â'#™b€Ð#™Ã'#™T€Ñ#ƒì'#™Z€Ò#Š'#™3€Ó#ƒë'#™Z€Ô#f'#™Z€Õ#g'#™Z€ÖÀ J8À Z‡XÀ k™¸À ƒ™¹À ›™ºÀ ³™»À Ë™¼À 㙽À û™¾À U™¨À &U™©À 9U™¿À LU™ÀÀ _U™ÁÀ rU™ÂÀ …U™ÃÀ ˜UƒìÀ «UŠÀ ¾UƒëÀ ÑUfÀ ãUg '#™-'#™ž#™Ä#“w #“w#“x#“w #“w#“y#“w #“w#—Æ$˜˜€#“w #“w#—Ì#’j#¨$™Å™Æ€×0#™Ä#8€Ø#™Ä€Ù##™Ä#‡X€ÚP#“|'#6€Û@+'# *#™Ç€Ü@+'# *#™È€Ý@+'# *#™É€Þ@+'# *#™Ê€ß#™Ë'#™b€à#’y'#™b€á#™Ì'#™T€â#™¨'#™3€ã#™Í'#™e€ä#™Î'#™b€å#™Ï'#™b€æ#™Ð'#™W€ç#™Ñ'#™W€è#™Ò'#™Q€é#™Ó'#™W€ê#™Ô'#™W€ë#ƒì'#™Z€ì#Š'#™3€í#ƒë'#™Z€î#f'#™Z€ï#g'#™Z€ðÀ8À^À%‡XÀ6U“|ÀG™ÇÀ_™ÈÀw™ÉÀ™ÊÀ§U™ËÀºU’yÀÍU™ÌÀàU™¨ÀóU™ÍÀU™ÎÀU™ÏÀ,U™ÐÀ?U™ÑÀRU™ÒÀeU™ÓÀxU™ÔÀ‹UƒìÀžUŠÀ±UƒëÀÄUfÀÖUg '#™-'#™ž#™Õ#“w #“w#“x#“w #“w#“y#“w #“w#—Æ$˜˜€#“w #“w#—Ì#’j#¨$™Ö™×€ñ0#™Õ#8€ò#™Õ€ó##™Õ#‡X€ôP#“|'#6€õ#™Ø'#™b€ö#™¨'#™3€÷#™Î'#™b€ø#™Ï'#™b€ù#™Ù'#™b€ú#ƒì'#™Z€û#Š'#™3€ü#ƒë'#™Z€ý#f'#™Z€þ#g'#™Z€ÿÀ8À"^À0‡XÀAU“|ÀRU™ØÀeU™¨ÀxU™ÎÀ‹U™ÏÀžU™ÙÀ±UƒìÀÄUŠÀ×UƒëÀêUfÀüUg '#™-'#™ž#™Ú#“w #“w#“x#“w #“w#“y#“w #“w#—Æ$˜˜€#“w #“w#—Ì#’j#¨$™Û™Ü0#™Ú#8#™Ú##™Ú#‡XP#“|'#6@+'# *#™Ý@+'# *#™Þ@+'# *#™ß@+'# *#™à@+'# *#™á #™¨'#™3 +#™©'#™3 #x'#™b #™â'#™T #™ã'#™T#ƒì'#™Z#Š'#™3#ƒë'#™Z#f'#™Z#g'#™ZÀç8À÷^À‡XÀU“|À'™ÝÀ?™ÞÀW™ßÀo™àÀ‡™áÀŸU™¨À²U™©ÀÅUxÀ×U™âÀêU™ãÀýUƒìÀUŠÀ#UƒëÀ6UfÀHUg '#™-#™ä#“w #“w#“x#“w #“w#“y#“w #“w#—Æ$˜˜€#“w #“w#—Ì#’j#¨$™å™æ0#™ä#8#™ä##™ä#‡XP#“|'#6#™ç'#™b#™è'#™bÀR8Àb^Àp‡XÀU“|À’U™çÀ¥U™è '#™-'#™ž#™é#“w #“w#“x#“w #“w#“y#“w #“w#—Æ$˜˜€#“w #“w#—Ì#’j#¨$™ê™ë 0#™é#8#™é##™é#‡XP#“|'#6#ƒì'#™Z #Š'#™3!#ƒë'#™Z"#f'#™Z##g'#™Z$ À[8Àk^Ày‡XÀŠU“|À›UƒìÀ®UŠÀÁUƒëÀÔUfÀæUg '#™ì#™í#“w #“w#“x#“w #“w#“y#“w #“w#—Æ$˜˜€#“w #“w#—Ì#’j#¨$™î™ï%0#™í#8&#™í'##™í#‡X(P#“|'#6)À¦8À¶^ÀćXÀÕU“| '#™ì#™ð#“w #“w#“x#“w #“w#“y#“w #“w#—Æ$˜˜€#“w #“w#—Ì#’j#¨$™ñ™ò*0#™ð#8+#™ð,##™ð#‡X-P#“|'#6.Às8Àƒ^À‘‡XÀ¢U“| '#™ì#™ó#“w #“w#“x#“w #“w#“y#“w #“w#—Æ$˜˜€#“w #“w#—Ì#’j#¨$™ô™õ/0#™ó#80#™ó1##™ó#‡X2P#“|'#63À@8ÀP^À^‡XÀoU“| '#™ì#™ö#“w #“w#“x#“w #“w#“y#“w #“w#—Æ$˜˜€#“w #“w#—Ì#’j#¨$™÷™ø40#™ö#85#™ö6##™ö#‡X7P#“|'#68À 8À^À+‡XÀ#™ü'#™b?#™ý'#™b@#™þ'#I"'#‚Û #™ü"'#‚Û #™ýA#ƒì'#™ZB#Š'#™3C#ƒë'#™ZD#f'#™ZE#g'#™ZF Àâ8Àò^À‡XÀU“|À"U™¨À5U™üÀHU™ýÀ[™þÀŠUƒìÀUŠÀ°UƒëÀÃUfÀÕUg '#™-'#™ž'#™/#™ÿ#“w #“w#“x#“w #“w#“y#“w #“w#—Æ$˜˜€#“w #“w#—Ì#’j#¨$ššG 0#™ÿ#8H#™ÿI##™ÿ#‡XJP#“|'#6K#š'#™iL#ƒì'#™ZM#Š'#™3N#ƒë'#™ZO#f'#™ZP#g'#™ZQ#™4'#™3R À¿8ÀÏ^À݇XÀîU“|ÀÿUšÀUƒìÀ%UŠÀ8UƒëÀKUfÀ]UgÀoU™4 '#™-'#™ž#š#“w #“w#“x#“w #“w#“y#“w #“w#—Æ$˜˜€#“w #“w#—Ì#’j#¨$ššS 0#š#8T#šU##š#‡XVP#“|'#6W#ƒì'#™ZX#Š'#™3Y#ƒë'#™ZZ#f'#™Z[#g'#™Z\ ÀF8ÀV^Àd‡XÀuU“|À†UƒìÀ™UŠÀ¬UƒëÀ¿UfÀÑUg '#™-#š#“w #“w#“x#“w #“w#“y#“w #“w#—Æ$˜˜€#“w #“w#—Ì#’j#¨$šš]0#š#8^#š_##š#‡X`P#“|'#6a#™¨'#™3bÀ‘8À¡^À¯‡XÀÀU“|ÀÑU™¨ '#™-'#™ž#š #“w #“w#“x#“w #“w#“y#“w #“w#—Æ$˜˜€#“w #“w#—Ì#’j#¨$š +š c0#š #8d##š #‡Xe@+'# *#š f@+'# *#š g@+'# *#šh#™¨'#™3i#™Ã'#™Tj#š'#™bk#š'#™bl#ƒì'#™Zm#Š'#™3n#ƒë'#™Zo#f'#™Zp#g'#™ZqÀ €8À ‡XÀ ¡š À ¹š À ÑšÀ éU™¨À üU™ÃÀ!UšÀ!"UšÀ!5UƒìÀ!HUŠÀ![UƒëÀ!nUfÀ!€Ug '#™-'#™ž#š#“w #“w#“x#“w #“w#“y#“w #“w#—Æ$˜˜€#“w #“w#—Ì#’j#¨$ššr 0#š#8s#št##š#‡XuP#“|'#6v#š'#™bw#š'#™bx#™¨'#™3y#ƒì'#™Zz#Š'#™3{#ƒë'#™Z|#f'#™Z}#g'#™Z~ À"o8À"^À"‡XÀ"žU“|À"¯UšÀ"ÂUšÀ"ÕU™¨À"èUƒìÀ"ûUŠÀ#UƒëÀ#!UfÀ#3Ug '#™-#š#“w #“w#“x#“w #“w#“y#“w #“w#—Æ$˜˜€#“w #“w#—Ì#’j#¨$šš0#š#8€#š##š#‡X‚P#“|'#6ƒ#f'#™b„#g'#™b…#h'#™b†À$8À$^À$&‡XÀ$7U“|À$HUfÀ$ZUgÀ$lUh '#™-'#™ž#š#“w #“w#“x#“w #“w#“y#“w #“w#—Æ$˜˜€#“w #“w#—Ì#’j#¨$šš‡0#š#8ˆ#š‰##š#‡XŠP#“|'#6‹#™¨'#™3Œ#™Î'#™b#™Ï'#™bŽ#š'#™b#š'#™b#™Ù'#™b‘#ƒì'#™Z’#Š'#™3“#ƒë'#™Z”#f'#™Z•#g'#™Z–À%%8À%5^À%C‡XÀ%TU“|À%eU™¨À%xU™ÎÀ%‹U™ÏÀ%žUšÀ%±UšÀ%ÄU™ÙÀ%×UƒìÀ%êUŠÀ%ýUƒëÀ&UfÀ&"Ug '#™-#š#“w #“w#“x#“w #“w#“y#“w #“w#—Æ$˜˜€#“w #“w#—Ì#’j#¨$šš — 0#š#8˜#š™##š#‡XšP#“|'#6›#š!'#™bœ#š"'#™b#š#'#™bž#š$'#™bŸ#š'#™b #f'#™b¡#g'#™b¢#h'#™b£ À' 8À'^À'*‡XÀ';U“|À'LUš!À'_Uš"À'rUš#À'…Uš$À'˜UšÀ'«UfÀ'½UgÀ'ÏUh '#™-'#™ž#š%#“w #“w#“x#“w #“w#“y#“w #“w#—Æ$˜˜€#“w #“w#—Ì#’j#¨$š&š'¤ +0#š%#8¥#š%¦##š%#‡X§P#“|'#6¨#™¨'#™3©#ƒì'#™Zª#Š'#™3«#ƒë'#™Z¬#f'#™Z­#g'#™Z® +À(«8À(»^À(ɇXÀ(ÚU“|À(ëU™¨À(þUƒìÀ)UŠÀ)$UƒëÀ)7UfÀ)IUg '#™-'#™ž#š(#“w #“w#“x#“w #“w#“y#“w #“w#—Æ$˜˜€#“w #“w#—Ì#’j#¨$š)š*¯0#š(#8°#š(±##š(#‡X²P#“|'#6³@+'# *#š+´@+'# *#š,µ@+'# *#š-¶@+'# *#š.·@+'# *#š/¸@+'# *#š0¹#š1'#™bº#š2'#™b»#š3'#™W¼#ƒã'#™b½#š4'#™T¾#ŒX'#™T¿#ƒì'#™ZÀ#Š'#™3Á#ƒë'#™ZÂ#f'#™ZÃ#g'#™ZÄÀ*8À*(^À*6‡XÀ*GU“|À*Xš+À*pš,À*ˆš-À* š.À*¸š/À*К0À*èUš1À*ûUš2À+Uš3À+!UƒãÀ+4Uš4À+GUŒXÀ+ZUƒìÀ+mUŠÀ+€UƒëÀ+“UfÀ+¥Ug '#™-'#™/#š5#“w #“w#“x#“w #“w#“y#“w #“w#—Æ$˜˜€#“w #“w#—Ì#’j#¨$š6š7Å 0#š5#8Æ#š5Ç##š5#‡XÈP#“|'#6É#š8'#™TÊ#ƒì'#™ZË#š9'#™TÌ#ƒë'#™ZÍ#f'#™ZÎ#g'#™ZÏ#™4'#™3Ð À,Ç8À,×^À,å‡XÀ,öU“|À-Uš8À-UƒìÀ--Uš9À-@UƒëÀ-SUfÀ-eUgÀ-wU™4 '#‘¸#™ž#’jÑ0#™ž#8Ò#ƒì'#™ZÓ#Š'#™3Ô#ƒë'#™ZÕ#f'#™ZÖ#g'#™Z×À-ó8À.UƒìÀ.UŠÀ.)UƒëÀ.Ü0#š<#8Ý#š<Þ##š<#‡XßP#“|'#6à#ƒì'#™Zá#ƒë'#™Zâ#f'#™Zã#g'#™ZäÀ/O8À/_^À/m‡XÀ/~U“|À/UƒìÀ/¢UƒëÀ/µUfÀ/ÇUg '#™.#š?#’j#¨$š@šAå0#š?#8æ#š?ç##š?#‡XèÀ0;8À0K^À0Y‡X '#™.#™…#¨$šBšCé0#™…#8ê##™…#‡Xë#šD'#™bì#šE'#ƒÛ"'#‚Û #šFí#šG'#4î#šH'#6"'#ƒÛ #šIï#šJ'#6"'#ƒÛ #šIðÀ0¢8À0²‡XÀ0ÃUšDÀ0ÖšEÀ0ùšGÀ1šHÀ10šJ '#™-'#™w#™.#¨$šKšLñ +0#™.#8ò##™.#‡Xó#šM'#™-ô#šN'#™-õ#‰'#™sö#šO'#™p÷#šP'#šQ#k$šRšSø#šT'#šQ#k$šUšVù#™‚'#™ƒú#™„'#™ƒû +À1¯8À1¿‡XÀ1ÐUšMÀ1ãUšNÀ1öU‰À2 šOÀ2šPÀ2CšTÀ2gU™‚À2zU™„ '#™.'#™/#”'#’j#¨$šWšXü 0#”'#8ý#”'þ##”'#‡Xÿ#‰„'#á‚ #‰„"'#á #J‚#ƒì'#™Z‚#š'#™i‚#ƒë'#™Z‚#f'#™Z‚#g'#™Z‚#ä'#‚~‚#™4'#™3‚ À38À3^À3&‡XÀ37U‰„À3JV‰„À3fUƒìÀ3yUšÀ3ŒUƒëÀ3ŸUfÀ3±UgÀ3ÃäÀ3ØU™4 '#‘¸#™]#’j#¨$šYšZ‚ 0#™]#8‚ +@+'# *#š[‚ @+'# *#š\‚ @+'# *#š]‚ @+'# *#š^‚@+'# *#š_‚@+'# *#š`‚@+'# *#ša +‚@+'# *#šb‚@+'# *#šc ‚@+'# *#šd‚@+'# *#še‚#™='# ‚#J'#‚Û‚ #J"'#‚Û #J‚#™>'#á‚ #™>"'#á #J‚#™?'#‚Û‚ #™?"'#‚Û #J‚#™@'#I"'# #™=‚#™A'#I"'# #™="'#‚Û #™?‚À4i8À4yš[À4‘š\À4©š]À4Áš^À4Ùš_À4ñš`À5 šaÀ5!šbÀ59šcÀ5QšdÀ5išeÀ5U™=À5“UJÀ5¥VJÀ5ÀU™>À5ÓV™>À5ïU™?À6V™?À6™@À6?™A '#‘¸-'#ˆ=&'#™]'#šf&'#™]'#1&'#™]#™a#’j#¨$šgšh‚0#™a#8‚ #'# ‚!#ši'# ‚"#¤'#™]"'# #¥‚##…5'#I"'# #¥"'#™] #J‚$ #"'# #J‚%#…m'#™]‚&#…n'#™]‚'#ƒ¹'#™]‚(#…s'#™]"'# #¥‚)#šj'#I"'# #¥"'#™] #šk‚*#šl'#™]"'#™] #šk‚+#…“'#I‚,#šm'#™]"'# #¥‚-#šn'#™]"'#™] #šk‚.#šo'#™]"'#™] #šk"'# #¥‚/#šp'#™]"'# #¥‚0#šq'#™]"'#™] #šk"'# #¥‚1À7c8À7sUÀ7ƒUšiÀ7•¤À7¶…5À7âVÀ7ûU…mÀ8 U…nÀ8Uƒ¹À81…sÀ8RšjÀ8€šlÀ8£…“À8¸šmÀ8ÚšnÀ8ýšoÀ9,špÀ9Nšq '#™…#šr#’j#¨$šsšt‚20#šr#8‚3#šr‚4##šr#‡X‚5#šu'#™Z‚6#šv'#™Z‚7#šw'#™Z‚8#šx'#™Z‚9À:&8À:6^À:D‡XÀ:UUšuÀ:hUšvÀ:{UšwÀ:ŽUšx '#šy#šz#’j#¨$š{š|‚:0#šz#8‚;#šz‚<##šz#‡X‚=#šu'#™Z‚>#šv'#™Z‚?#šw'#™Z‚@#šx'#™Z‚AÀ:þ8À;^À;‡XÀ;-UšuÀ;@UšvÀ;SUšwÀ;fUšx '#™-'#š:#š}#’j#¨$š~š‚B0#š}#8‚C#š}‚D##š}#‡X‚E@+'# *#š€‚F@+'# *#š‚G@+'# *#š‚‚H@+'# *#šƒ‚I@+'# *#š„‚J@+'# *#š…‚K#š†'#™Z‚L#š‡'#™T‚M#šˆ'#™Z‚N#š‰'#™L‚O#šŠ'#™T‚P#š‹'#™Z‚Q#šŒ'#™Z‚R#š'#I"'#™5 #šŽ‚S#š'#I‚T#š'#™i‚U#š;'#™m‚VÀ;Þ8À;î^À;ü‡XÀ< š€À<%šÀ<=š‚ÀE8À>U^À>c‡XÀ>tUƒìÀ>‡Uš“À>šUš”À>­UƒëÀ>ÀUfÀ>ÒUgÀ>äU™‚À>÷U™„ '#‘¸#šQ#’j#¨$š•š–‚c0#šQ#8‚d#ƒÎ'#‚Û‚e #ƒÎ"'#‚Û #J‚f#ƒ‡'#‚Û‚g #ƒ‡"'#‚Û #J‚h#‘R'#‚Û‚i #‘R"'#‚Û #J‚j#`'#‚Û‚k #`"'#‚Û #J‚l#ƒÆ'#‚Û‚m #ƒÆ"'#‚Û #J‚n#…T'#‚Û‚o #…T"'#‚Û #J‚p#š—'#šQ‚q#š˜'#šQ‚r#š™'#šQ‚s#šš'#šQ"'#šQ #š›‚t#šœ'#šQ"'#‚Û #šŽ‚u#š'#šQ"'#‚Û #f"'#‚Û #g‚v#x'#šQ"'#‚Û #šž‚w#šŸ'#šQ"'#‚Û #š "'#‚Û #š¡‚x#š¢'#šQ"'#‚Û #šŽ‚y#š£'#šQ"'#‚Û #šŽ‚z#š¤'#šQ"'#‚Û #f"'#‚Û #g‚{À?8À?‘UƒÎÀ?¤VƒÎÀ?ÀUƒ‡À?ÓVƒ‡À?ïU‘RÀ@V‘RÀ@U`À@1V`À@MUƒÆÀ@`VƒÆÀ@|U…TÀ@V…TÀ@«š—À@Áš˜À@ך™À@íššÀAšœÀA3šÀAaxÀAƒšŸÀA³š¢ÀAÖš£ÀAùš¤ '#™-#š¥#’j#¨$š¦š§‚|0#š¥#8‚}##š¥#‡X‚~ÀBû8ÀC ‡X '#‘¸#š¨#’j#¨$š©šª‚0#š¨#8‚€#J'#‚Û‚ #J"'#‚Û #J‚‚ÀCW8ÀCgUJÀCyVJ '#‘¸-'#ˆ=&'#š¨'#šf&'#š¨'#1&'#š¨#™h#’j#¨$š«š¬‚ƒ0#™h#8‚„#'# ‚…#ši'# ‚†#¤'#š¨"'# #¥‚‡#…5'#I"'# #¥"'#š¨ #J‚ˆ #"'# #J‚‰#…m'#š¨‚Š#…n'#š¨‚‹#ƒ¹'#š¨‚Œ#…s'#š¨"'# #¥‚#šj'#I"'# #¥"'#š¨ #šk‚Ž#šl'#š¨"'#š¨ #šk‚#…“'#I‚#šm'#š¨"'# #¥‚‘#šn'#š¨"'#š¨ #šk‚’#šo'#š¨"'#š¨ #šk"'# #¥‚“#šp'#š¨"'# #¥‚”#šq'#š¨"'#š¨ #šk"'# #¥‚•ÀD8ÀDUÀD!UšiÀD3¤ÀDT…5ÀD€VÀD™U…mÀD«U…nÀD½Uƒ¹ÀDÏ…sÀDðšjÀEšlÀEA…“ÀEVšmÀExšnÀE›šoÀEÊšpÀEìšq '#™…#š­#’j#¨$š®š¯‚–0#š­#8‚—#š­‚˜##š­#‡X‚™ÀFÄ8ÀFÔ^ÀFâ‡X '#™-'#š:'#™/'#™w#š°#’j#¨$š±š²‚š0#š°#8‚›#š°‚œ##š°#‡X‚#ƒì'#™Z‚ž#š³'#™T‚Ÿ#š´'#™s‚ #šµ'#™T‚¡#ƒë'#™Z‚¢#f'#™Z‚£#g'#™Z‚¤#š'#™i‚¥#š;'#™m‚¦#™‚'#™ƒ‚§#™„'#™ƒ‚¨#™4'#™3‚©ÀGH8ÀGX^ÀGf‡XÀGwUƒìÀGŠUš³ÀGUš´ÀG°UšµÀGÃUƒëÀGÖUfÀGèUgÀGúUšÀH Uš;ÀH U™‚ÀH3U™„ÀHFU™4 '#‘¸#ƒÛ#’j#¨$š¶š·‚ª0#ƒÛ#8‚«#f'#‚Û‚¬ #f"'#‚Û #J‚­#g'#‚Û‚® #g"'#‚Û #J‚¯#š¸'#ƒÛ"'#šQ #š¹‚°ÀHì8ÀHüUfÀIVfÀI)UgÀI;VgÀIVš¸ '#‘¸#šº#’j#¨$š»š¼‚± 0#šº#8‚²#'# ‚³#ši'# ‚´#šj'#I"'# #¥"'#ƒÛ #šk‚µ#šl'#ƒÛ"'#ƒÛ #šk‚¶#…“'#I‚·#šm'#ƒÛ"'# #¥‚¸#šn'#ƒÛ"'#ƒÛ #šk‚¹#šo'#ƒÛ"'#ƒÛ #šk"'# #¥‚º#šp'#ƒÛ"'# #¥‚»#šq'#ƒÛ"'#ƒÛ #šk"'# #¥‚¼ ÀIÌ8ÀIÜUÀIíUšiÀIÿšjÀJ-šlÀJP…“ÀJešmÀJ‡šnÀJªšoÀJÙšpÀJûšq '#™…#š½#’j#¨$š¾š¿‚½0#š½#8‚¾#š½‚¿##š½#‡X‚À#šÀ'#šº‚Á#šÁ'#šº‚ÂÀK£8ÀK³^ÀKÁ‡XÀKÒUšÀÀKåUšÁ '#™…#šÂ#’j#¨$šÃšÄ‚Ã0#šÂ#8‚Ä#šÂ‚Å##šÂ#‡X‚Æ#šÀ'#šº‚Ç#šÁ'#šº‚ÈÀLG8ÀLW^ÀLe‡XÀLvUšÀÀL‰UšÁ '#‘¸#™l#’j#¨$šÅšÆ‚É0#™l#8‚Ê@+'# *#šÇ‚Ë@+'# *#šÈ‚Ì@+'# *#šÉ‚Í@+'# *#šÊ‚Î@+'# *#šË‚Ï@+'# *#šÌ +‚Ð@+'# *#šÍ‚Ñ@+'# *#šÎ‚Ò@+'# *#šÏ ‚Ó@+'# *#šÐ‚Ô@+'# *#šÑ‚Õ@+'# *#šÒ‚Ö@+'# *#šÓ‚×@+'# *#šÔ‚Ø#šÕ'# ‚Ù #šÕ"'# #J‚Ú#šÖ'# ‚Û #šÖ"'# #J‚ÜÀLë8ÀLûšÇÀMšÈÀM+šÉÀMCšÊÀM[šËÀMsšÌÀM‹šÍÀM£šÎÀM»šÏÀMÓšÐÀMëšÑÀNšÒÀNšÓÀN3šÔÀNKUšÕÀN]VšÕÀNxUšÖÀNŠVšÖ '#šy#š×#’j#¨$šØšÙ‚Ý 0#š×#8‚Þ#š×‚ß##š×#‡X‚à#™‰'#™Z‚á#™Š'#™Z‚â#šÚ'#™Z‚ã#šÛ'#™Z‚ä#šÜ'#™Z‚å#™‹'#™Z‚æ ÀOe8ÀOu^ÀOƒ‡XÀO”U™‰ÀO§U™ŠÀOºUšÚÀOÍUšÛÀOàUšÜÀOóU™‹ '#‘¸#™p#’j#¨$šÝšÞ‚ç 0#™p#8‚è#ƒì'#‚Û‚é #ƒì"'#‚Û #J‚ê#ƒë'#‚Û‚ë #ƒë"'#‚Û #J‚ì#f'#‚Û‚í #f"'#‚Û #J‚î#g'#‚Û‚ï #g"'#‚Û #J‚ð ÀPq8ÀPUƒìÀP”VƒìÀP°UƒëÀPÃVƒëÀPßUfÀPñVfÀQ UgÀQVg '#™…#šß#’j#¨$šàšá‚ñ 0#šß#8‚ò#šß‚ó##šß#‡X‚ô#ƒì'#™Z‚õ#™œ'#™Z‚ö#™'#™Z‚÷#ƒë'#™Z‚ø#f'#™Z‚ù#g'#™Z‚ú ÀQ¡8ÀQ±^ÀQ¿‡XÀQÐUƒìÀQãU™œÀQöU™ÀR UƒëÀRUfÀR.Ug '#™-'#™/#šâ#’j#¨$šãšä‚û0#šâ#8‚ü#šâ‚ý##šâ#‡X‚þ#ŒX'#á‚ÿ #ŒX"'#á #Jƒ#™4'#™3ƒÀR±8ÀRÁ^ÀRχXÀRàUŒXÀRóVŒXÀSU™4 '#™B#šå#“w #“w#“x#“w #“w#“y#“w #“w#—Ì#’j#¨$šæšçƒ0#šå#8ƒ#šåƒ##šå#‡XƒP#“|'#6ƒÀS¨8ÀS¸^ÀSƇXÀS×U“| '#™-#šè#’j#¨$šéšêƒ0#šè#8ƒ#šèƒ ##šè#‡Xƒ +#šë'#™b#k$šì…2ƒ ÀT08ÀT@^ÀTN‡XÀT_Ušë '#‘¸-'#ˆ=&'#á'#šf&'#á'#1&'#á#™ƒ#’j#¨$šíšîƒ 0#™ƒ#8ƒ #'# ƒ#ši'# ƒ#¤'#á"'# #¥ƒ#…5'#I"'# #¥"'#á #Jƒ #"'# #Jƒ#…m'#áƒ#…n'#áƒ#ƒ¹'#áƒ#…s'#á"'# #¥ƒ#šj'#I"'# #¥"'#á #škƒ#šl'#á"'#á #škƒ#…“'#Iƒ#šm'#á"'# #¥ƒ#šn'#á"'#á #škƒ#šo'#á"'#á #."'# #¥ƒ#šp'#á"'# #¥ƒ#šq'#á"'#á #šk"'# #¥ƒÀTõ8ÀUUÀUUšiÀU'¤ÀUH…5ÀUtVÀUU…mÀUŸU…nÀU±Uƒ¹ÀUÃ…sÀUäšjÀVšlÀV5…“ÀVJšmÀVlšnÀVšoÀV¾špÀVàšq '#™-#šï#¨$šðšñƒ +0#šï#8ƒ #šïƒ!##šï#‡Xƒ"#šò'#6ƒ# #šò"'#6 #Jƒ$#šó'#áƒ% #šó"'#á #Jƒ&#šô'#šõƒ'#ŒX'#áƒ( #ŒX"'#á #Jƒ) +ÀW¯8ÀW¿^ÀW͇XÀWÞUšòÀWðVšòÀX UšóÀXVšóÀX:UšôÀXMUŒXÀX`VŒX '#—é#šöƒ*+'#˜<*#‰"ƒ+#šö #‰"ƒ,#—ñ'#…f&'#áƒ-#—ò'#I"'#…f #yƒ.ÀX׉"ÀXî^ÀY—ñÀY"—ò '#˜<'#š÷'#šø#™-#’j#¨$šùšúƒ/€Œ@+*#šûƒ00#™-#‘"'#á #‘ƒ10#™-#™*"'#á #™*"'#šü #šý"'#šþ #šÿƒ2#›'#—èƒ3#›'#1&'#˜<ƒ4 #›"'#1&'#˜< #Jƒ5#›'#áƒ6#›'#áƒ7 #›"'#á #Jƒ8#›'#›"'#á #™*"'#šü #šý"'#šþ #šÿƒ9#›'#I"'#á #…U"'#á #‚–ƒ:#›'#I"'#á #…U"'#á #‚–"'#šü #šý"'#šþ #šÿƒ;#›'#˜<"'#á #…U"'#˜< #‚ƒ<#› '#› +ƒ=#› '#6ƒ>#› '#Iƒ?@#› '#6"'#á #‘ƒ@0#™-#8ƒA@+'#˜“&'#’Õ*#˜”'#˜“&'#’Õ$˜•˜–ƒB@+'#˜“&'#’Õ*#›'#˜“&'#’Õ$››ƒC@+'#˜“&'#’Õ*#›'#˜“&'#’Õ$››ƒD@+'#˜“&'#’Õ*#›'#˜“&'#’Õ$››ƒE@+'#˜“&'#’Õ*#›'#˜“&'#’Õ$›ˆšƒF@+'#˜“&'#›*#›'#˜“&'#›$›› ƒG@+'#˜“&'#›*#›'#˜“&'#›$››ƒH@+'#˜“&'#’Õ*#›'#˜“&'#’Õ$› ›!#—Ò$›"›#ƒI@+'#˜“&'#›*#›$'#˜“&'#›$›%›&ƒJ@+'#˜“&'#›*#›''#˜“&'#›$›(›)ƒK@+'#˜“&'#›*#›*'#˜“&'#›$›+›,ƒL@+'#˜“&'#›*#›-'#˜“&'#›$›.›/ƒM@+'#˜“&'#›*#›0'#˜“&'#›$›1›2ƒN@+'#˜“&'#›*#›3'#˜“&'#›$›4›5ƒO@+'#˜“&'#›*#›6'#˜“&'#›$›7›8ƒP@+'#˜“&'#’Õ*#›9'#˜“&'#’Õ$›:›;ƒQ@+'#˜“&'#’Õ*#›<'#˜“&'#’Õ$›=›>ƒR@+'#˜“&'#’Õ*#›?'#˜“&'#’Õ$›@›AƒS@+'#˜“&'#’Õ*#˜™'#˜“&'#’Õ$˜š‚fƒT@+'#˜“&'#’Õ*#›B'#˜“&'#’Õ$›C›DƒU@+'#˜“&'#’Õ*#‹'#˜“&'#’Õ$›E‚ƒV@+'#˜“&'#’Õ*#›F'#˜“&'#’Õ$›G›HƒW@+'#˜“&'#›I*#›J'#˜“&'#›I$›K›LƒX@+'#˜“&'#›I*#›M'#˜“&'#›I$›N›OƒY@+'#˜“&'#›I*#›P'#˜“&'#›I$›Q›RƒZ@+'#˜“&'#’Õ*#›S'#˜“&'#’Õ$›T‰òƒ[@+'#˜“&'#’Õ*#›U'#˜“&'#’Õ$›V›Wƒ\@+'#˜“&'#’Õ*#›X'#˜“&'#’Õ$›Y›Zƒ]@+'#˜“&'#›*#›['#˜“&'#›$›\›]ƒ^@+'#˜“&'#›*#›^'#˜“&'#›$›_›`ƒ_@+'#˜“&'#›*#›a'#˜“&'#›$›b›cƒ`@+'#˜“&'#›*#›d'#˜“&'#›$›e›fƒa@+'#˜“&'#›*#›g'#˜“&'#›$›h›iƒb@+'#˜“&'#›*#›j'#˜“&'#›$›k›lƒc@+'#˜“&'#›*#›m'#˜“&'#›$›n›oƒd@+'#˜“&'#›p*#›q'#˜“&'#›p$›r›sƒe@+'#˜“&'#’Õ*#›t'#˜“&'#’Õ$›uˆ$ƒf@+'#˜“&'#’Õ*#›v'#˜“&'#’Õ$›w›xƒg@+'#˜“&'#’Õ*#›y'#˜“&'#’Õ$›z›{ƒh@+'#˜“&'#’Õ*#›|'#˜“&'#’Õ$›}›~ƒi@+'#˜“&'#’Õ*#›'#˜“&'#’Õ$›€…øƒj@+'#˜“&'#’Õ*#›'#˜“&'#’Õ$›‚›ƒƒk@+'#˜“&'#’Õ*#›„'#˜“&'#’Õ$›…›†ƒl@+'#˜“&'#’Õ*#›‡'#˜“&'#’Õ$›ˆ›‰ƒm@+'#˜“&'#’Õ*#›Š'#˜“&'#’Õ$›‹›Œƒn@+'#˜“&'#’Õ*#›'#˜“&'#’Õ$›Ž—ƒo@+'#˜“&'#’Õ*#›'#˜“&'#’Õ$››‘ƒp@+'#˜“&'#’Õ*#›’'#˜“&'#’Õ$›“›”ƒq@+'#˜“&'#’Õ*#›•'#˜“&'#’Õ$›–›—ƒr@+'#˜“&'#’Õ*#›˜'#˜“&'#’Õ$›™›šƒs@+'#˜“&'#››*#›œ'#˜“&'#››$››žƒt@+'#˜“&'#››*#›Ÿ'#˜“&'#››$› ›¡ƒu@+'#˜“&'#››*#›¢'#˜“&'#››$›£›¤ƒv@+'#˜“&'#››*#›¥'#˜“&'#››$›¦›§ƒw@+'#˜“&'#’Õ*#›¨'#˜“&'#’Õ$›©›ªƒx@+'#˜“&'#’Õ*#›«'#˜“&'#’Õ$›¬›­ƒy@+'#˜“&'#›p*#›®'#˜“&'#›p$›¯›°ƒz##™-#‡Xƒ{#›±'#™3#k$›²…ƒ|#›³'#›´#k$›µ›¶ƒ}#›·'#™-ƒ~#›'#Iƒ#›D'#Iƒ€#›¸'#რ#›¸"'#á #Jƒ‚#˜¨'#›¹&'#’Õƒƒ#›º'#›¹&'#’Õƒ„#›»'#›¹&'#’Õƒ…#›¼'#›¹&'#’Õƒ†#›½'#›¹&'#’Õƒ‡#›¾'#›¹&'#›ƒˆ#›¿'#›¹&'#›ƒ‰#›À'#›¹&'#’Õ#—Ò$›Á›ÂƒŠ#›Ã'#›¹&'#›ƒ‹#›Ä'#›¹&'#›ƒŒ#›Å'#›¹&'#›ƒ#›Æ'#›¹&'#›ƒŽ#›Ç'#›¹&'#›ƒ#›È'#›¹&'#›ƒ#›É'#›¹&'#›ƒ‘#›Ê'#›¹&'#’Õƒ’#›Ë'#›¹&'#’Õƒ“#›Ì'#›¹&'#’Õƒ”#„Ù'#›¹&'#’Õƒ•#›Í'#›¹&'#’Õƒ–#›Î'#›¹&'#’Õƒ—#›Ï'#›¹&'#’Õƒ˜#›Ð'#›¹&'#›Iƒ™#›Ñ'#›¹&'#›Iƒš#›Ò'#›¹&'#›Iƒ›#›Ó'#›¹&'#’Õƒœ#›Ô'#›¹&'#’Õƒ#›Õ'#›¹&'#’Õƒž#›Ö'#›¹&'#›ƒŸ#›×'#›¹&'#›ƒ #›Ø'#›¹&'#›ƒ¡#›Ù'#›¹&'#›ƒ¢#›Ú'#›¹&'#›ƒ£#›Û'#›¹&'#›ƒ¤#›Ü'#›¹&'#›ƒ¥#›Ý'#›¹&'#›pƒ¦#‰Ã'#›¹&'#’Õƒ§#›Þ'#›¹&'#’Õƒ¨#›ß'#›¹&'#’Õƒ©#›à'#›¹&'#’Õƒª#›á'#›¹&'#’Õƒ«#›â'#›¹&'#’Õƒ¬#›ã'#›¹&'#’Õƒ­#›ä'#›¹&'#’Õƒ®#›å'#›¹&'#’Õƒ¯#›æ'#›¹&'#’Õƒ°#›ç'#›¹&'#’Õƒ±#›è'#›¹&'#’Õƒ²#›é'#›¹&'#’Õƒ³#›ê'#›¹&'#’Õƒ´#›ë'#›¹&'#››ƒµ#›ì'#›¹&'#››ƒ¶#›í'#›¹&'#››ƒ·#›î'#›¹&'#››ƒ¸#›ï'#›¹&'#’Õƒ¹#›ð'#›¹&'#’Õƒº#›ñ'#›¹&'#›pƒ»€ŒÀY›šûÀY¬‘ÀYÊ™*ÀZU›ÀZU›ÀZ3V›ÀZUU›ÀZgU›ÀZyV›ÀZ”›ÀZÖ›À[›À[R›À[U› À[“U› À[¤› À[¸› À[Ù8À[阔À\!›À\Y›À\‘›À\É›À]›À]9›À]q›À]·›$À]ï›'À^'›*À^_›-À^—›0À^Ï›3À_›6À_?›9À_w›<À_¯›?À_瘙À`›BÀ`W‹À`›FÀ`Ç›JÀ`ÿ›MÀa7›PÀao›SÀa§›UÀaß›XÀb›[ÀbO›^Àb‡›aÀb¿›dÀb÷›gÀc/›jÀcg›mÀcŸ›qÀc×›tÀd›vÀdG›yÀd›|Àd·›Àdï›Àe'›„Àe_›‡Àe—›ŠÀeÏ›Àf›Àf?›’Àfw›•Àf¯›˜Àf盜Àg›ŸÀgW›¢Àg›¥ÀgÇ›¨Àgÿ›«Àh7›®Àho‡XÀh€U›±Àh¡U›³ÀhÂU›·ÀhÕ›Àhê›DÀhÿU›¸ÀiV›¸Ài.U˜¨ÀiHU›ºÀibU›»Ài|U›¼Ài–U›½Ài°U›¾ÀiÊU›¿ÀiäU›ÀÀj U›ÃÀj&U›ÄÀj@U›ÅÀjZU›ÆÀjtU›ÇÀjŽU›ÈÀj¨U›ÉÀjÂU›ÊÀjÜU›ËÀjöU›ÌÀkU„ÙÀk*U›ÍÀkDU›ÎÀk^U›ÏÀkxU›ÐÀk’U›ÑÀk¬U›ÒÀkÆU›ÓÀkàU›ÔÀkúU›ÕÀlU›ÖÀl.U›×ÀlHU›ØÀlbU›ÙÀl|U›ÚÀl–U›ÛÀl°U›ÜÀlÊU›ÝÀläU‰ÃÀlþU›ÞÀmU›ßÀm2U›àÀmLU›áÀmfU›âÀm€U›ãÀmšU›äÀm´U›åÀmÎU›æÀmèU›çÀnU›èÀnU›éÀn6U›êÀnPU›ëÀnjU›ìÀn„U›íÀnžU›îÀn¸U›ïÀnÒU›ðÀnìU›ñ '#™.'#š:'#›ò#›´#’j#¨$›ó›ôƒ¼%#›´ƒ½0#›´#8ƒ¾##›´#‡Xƒ¿#›õ'#‚ÛƒÀ #›õ"'#‚Û #JƒÁ#›ö'#ƒÛƒÂ#ƒì'#™ZƒÃ#ƒë'#™ZƒÄ#f'#™ZƒÅ#g'#™ZƒÆ#›÷'#6ƒÇ#›ø'#6"'#™- #‚"'#™p #›ùƒÈ#›ú'#6"'#™- #‚"'#™p #›ùƒÉ#›û'#™5#k$›ü›ýƒÊ#›þ'#™]#k$›ÿœƒË#œ'#šQ#k$œœƒÌ#œ'#š¨#k$œœƒÍ#œ'#ƒÛ#k$œœ ƒÎ#œ +'#™p#k$œ œ ƒÏ#œ '#œ#k$œœƒÐ#œ'#œ"'#šQ #š¹#k$œœƒÑ#œ'#IƒÒ#œ'#IƒÓ#™'#4ƒÔ#œ'#˜<"'#á #œƒÕ#œ'#1&'#‰V"'#™p #›ù"'#™- #œ#j$œœ#i$œœƒÖ#œ'#1&'#‰V"'#™p #›ù"'#™- #œ#j$œœ#i$œœƒ×#œ'#IƒØ#œ'#I"'#‚Û #„éƒÙ#œ'# "'# #œ ƒÚ#œ!'#IƒÛ#œ"'#I"'# #œ#ƒÜ#œ$'#IƒÝ#š'#™iƒÞ#š;'#™mƒß#œ%'# ƒà #œ%"'# #Jƒá%ÀsP^Às^8Àsn‡XÀsU›õÀs’V›õÀs®U›öÀsÁUƒìÀsÔUƒëÀsçUfÀsùUgÀt ›÷Àt ›øÀtO›úÀt~›ûÀt¢›þÀtÆœÀtêœÀuœÀu2œ +ÀuVœ ÀuzœÀu«œÀuÀœÀuÕ™ÀuêœÀv œÀv`œÀv³œÀvÈœÀvêœÀw œ!Àw œ"ÀwAœ$ÀwVUšÀwiUš;Àw|Uœ%ÀwŽVœ% '#™.#œ&#’j#¨$œ'œ(ƒâ0#œƒã#œ&ƒä##œ&#‡XƒåÀxÖ8Àxæ^Àxô‡X '#™-'#š:#œ)#’j#¨$œ*œ+ƒæ0#œ)#8ƒç#œ)ƒè##œ)#‡Xƒé#š'#™iƒê#š;'#™mƒëÀyN8Ày^^Àyl‡XÀy}UšÀyUš; '#œ,#œ-#’j#¨$œ.œ/ƒì0#œ-#8ƒí#œ-ƒî##œ-#‡XƒïÀyò8Àz^Àz‡X '#‘¸#™w#’jƒð0#™w#8ƒñ#™‚'#™ƒƒò#™„'#™ƒƒóÀzT8ÀzdU™‚ÀzwU™„ '#™.#œ0#’j#¨$œ1œ2ƒô0#œ0#8ƒõ##œ0#‡Xƒö@+'# *#œ3ƒ÷@+'# *#œ4ƒø@+'# *#œ5ƒù#œ6'#™Tƒú#œ7'#™Zƒû#œ8'# "'#ƒÛ #šIƒü#œ9'#4ƒý#œ:'#ƒÛ"'# #œ;ƒþ#œ<'#™p"'# #œ;ƒÿ#œ='# „#œ>'#4"'# #œ;„#œ?'#ƒÛ"'# #œ;„#œ@'#4"'# #œ;"'# #œA„#œB'#I"'# #œ;"'# #œA„ÀzÌ8Àz܇XÀzíœ3À{œ4À{œ5À{5Uœ6À{HUœ7À{[œ8À{}œ9À{’œ:À{´œ<À{Öœ=À{ëœ>À| œ?À|.œ@À|[œB '#œ,#œC#’j#¨$œDœE„0#œC#8„#œC„##œC#‡X„À}(8À}8^À}F‡X '#œ0'#™/#œF#’j#¨$œGœH„ 0#œF#8„ +##œF#‡X„ @+'# *#œI„ @+'# *#œJ„ @+'# *#œK„@+'# *#œL„@+'# *#œM„@+'# *#œN„#…<'#™T„#œO'#™T„#œP'#™Z„#™4'#™3„ À} 8À}°‡XÀ}ÁœIÀ}ÙœJÀ}ñœKÀ~ œLÀ~!œMÀ~9œNÀ~QU…<À~dUœOÀ~wUœPÀ~ŠU™4 '#œ0#œ,#’j#¨$œQœR„0#œ,#8„##œ,#‡X„#š'#™^„#š'#™^„#šœ'#™e„#f'#™^„#g'#™^„À$8À4‡XÀEUšÀXUšÀkUšœÀ~UfÀUg '#™-#œS#’j#¨$œTœU„0#œS#8„#œS„ ##œS#‡X„!Àþ8À€^À€‡X '#‘¸#œ#’j#¨$œVœW„"0#œ#8„#@+'# *#œX„$@+'# *#œY„%@+'# *#œZ„&@+'# *#œ[„'@+'# *#œ\„(@+'# *#œ]„)@+'# *#œ^„*#šŽ'#‚Û„+#š¹'#šQ„,#ŒX'# „-#œ_'#I"'#šQ #š¹„.#œ`'#I"'#‚Û #šŽ"'#‚Û #™‰"'#‚Û #™Š„/#œa'#I"'#‚Û #œb"'#‚Û #œc„0#œd'#I"'#‚Û #šŽ„1#œe'#I"'#‚Û #šŽ„2#œf'#I"'#‚Û #™"'#‚Û #œg„3À€n8À€~œXÀ€–œYÀ€®œZÀ€Æœ[À€Þœ\À€öœ]Àœ^À&UšŽÀ9Uš¹ÀLUŒXÀ^œ_À€œ`À¼œaÀëœdÀ‚ œeÀ‚/œf '#‘¸-'#ˆ=&'#œ'#šf&'#œ'#1&'#œ#™v#’j#¨$œhœi„40#™v#8„5#'# „6#ši'# „7#¤'#œ"'# #¥„8#…5'#I"'# #¥"'#œ #J„9 #"'# #J„:#…m'#œ„;#…n'#œ„<#ƒ¹'#œ„=#…s'#œ"'# #¥„>#šj'#I"'# #¥"'#œ #šk„?#šl'#œ"'#œ #šk„@#…“'#I„A#œj'#œ„B#œ'#œ"'#šQ #š¹#k$œœ„C#šm'#œ"'# #¥„D#šn'#œ"'#œ #šk„E#šo'#œ"'#œ #šk"'# #¥„F#šp'#œ"'# #¥„G#šq'#œ"'#œ #šk"'# #¥„HÀƒ68ÀƒFUÀƒVUšiÀƒh¤Àƒ‰…5ÀƒµVÀƒÎU…mÀƒàU…nÀƒòUƒ¹À„…sÀ„%šjÀ„SšlÀ„v…“À„‹œjÀ„¡œÀ„ÒšmÀ„ôšnÀ…šoÀ…FšpÀ…hšq '#‘¸#œk#’j#¨$œlœm„I0#œk#8„J@+'# *#œn„K@+'# *#œo„L@+'# *#œp„MÀ†N8À†^œnÀ†vœoÀ†Žœp '#‘¸#™/#’j„N0#™/#8„O#™4'#™3„PÀ†ä8À†ôU™4 '#™.'#™/#œq#’j#¨$œrœs„Q0#œq#8„R#œq„S##œq#‡X„T#ƒì'#™Z„U#ƒë'#™Z„V#f'#™Z„W#g'#™Z„X#™4'#™3„YÀ‡J8À‡Z^À‡h‡XÀ‡yUƒìÀ‡ŒUƒëÀ‡ŸUfÀ‡±UgÀ‡ÃU™4 '#™-'#š:'#›ò#œt#’j#¨$œuœv„Z0#œt#8„[#œt„\##œt#‡X„]#š'#™i„^#š;'#™m„_#œ%'# „` #œ%"'# #J„aÀˆF8ÀˆV^Àˆd‡XÀˆuUšÀˆˆUš;Àˆ›Uœ%Àˆ­Vœ% '#‘¸#›ò#’j„b0#›ò#8„c@+'# *#œw„d@+'# *#œx„e@+'# *#œy„f#œ%'# „g #œ%"'# #J„hÀ‰8À‰'œwÀ‰?œxÀ‰WœyÀ‰oUœ%À‰Vœ% '#™-'#™/#šy#’j#¨$œzœ{„i +0#šy#8„j##šy#‡X„k@+'# *#œ|„l@+'# *#œ}„m@+'# *#œ~„n@+'# *#œ„o#œ€'#™s„p#œ'#™T„q#œ‚'#™T„r#™4'#™3„s +À‰þ8ÀŠ‡XÀŠœ|ÀŠ7œ}ÀŠOœ~ÀŠgœÀŠUœ€ÀŠ’UœÀŠ¥Uœ‚ÀŠ¸U™4 '#™-#™ì#’j#¨$œƒœ„„t0#™ì#8„u##™ì#‡X„vÀ‹B8À‹R‡X '#™-'#™ž#œ…#¨$œ†œ‡„w0#œ…#8„x##œ…#‡X„yÀ‹8À‹­‡X '#™-'#™/#œˆ#¨$œ‰œŠ„z0#œˆ#8„{#œˆ„|##œˆ#‡X„}À‹ø8ÀŒ^ÀŒ‡XÀôŒiÀõ'™+ÀõVÀõ^™0ÀõâÀö™5À÷•Àø™CÀø™Àø´™FÀùLÀùg™IÀùÿÀú™LÀúyÀúŽ™QÀûÀû!™TÀû˜Àû´™WÀü+ÀüG™ZÀü¦Àü»™^ÀýÀý/™bÀý©ÀýÅ™eÀþ$Àþ9™iÀþ˜Àþ­™mÀÿ Àÿ!™3Àÿ›Àÿ·™sÀÀ+™BÀgÀÁ™†ÀOÀx™ŒÀâÀý™ÀWÀk™“ÀÇÀÛ™–À À.™™ÀÖÀ™ŸÀæÀg™ªÀ /À ¨™²À +ÒÀ ™µÀ õÀ ™ÄÀèÀ˜™ÕÀÀm™ÚÀZÀà™äÀ¸Àá™éÀøÀ4™íÀæÀ™ðÀ³ÀΙóÀ€À›™öÀMÀh™ùÀçÀ?™ÿÀ‚ÀÌšÀãÀšÀäÀ š À!’À!õšÀ#EÀ#–šÀ$~À$«šÀ&4À&ššÀ'áÀ(1š%À)[À)žš(À+·À,Mš5À-ŠÀ-Ô™žÀ.`À.ˆš:À.ÝÀ.òš<À/ÙÀ0š?À0jÀ0~™…À1RÀ1ƒ™.À2À2Ó”'À3ëÀ4<™]À6mÀ7 ™aÀ9}À9ùšrÀ:¡À:ÑšzÀ;yÀ;©š}À=À>šÀ? +À?TšQÀB'ÀBΚ¥ÀCÀC*š¨ÀC”ÀC§™hÀFÀF—š­ÀFóÀGš°ÀHYÀH¿ƒÛÀIyÀIŸšºÀK*ÀKvš½ÀKøÀLšÂÀLœÀL¾™lÀN¥ÀO8š×ÀPÀPD™pÀQ9ÀQtšßÀR@ÀR|šâÀS"ÀSKšåÀSèÀTšèÀT€ÀT›™ƒÀWÀW‹šïÀX|ÀXÁšöÀYBÀY_™-ÀoÀs›´Àw©Àx©œ&ÀyÀyœ)Ày£ÀyÅœ-Àz!Àz5™wÀzŠÀzŸœ0À|ˆÀ|ûœCÀ}WÀ}kœFÀ~À~÷œ,À¢ÀÑœSÀ€-À€AœÀ‚^À‚Ü™vÀ…—À†!œkÀ†¦À†Å™/À‡À‡œqÀ‡ÖÀˆ œtÀˆÈÀˆø›òÀ‰œÀ‰ÉšyÀŠËÀ‹™ìÀ‹cÀ‹qœ…À‹¾À‹ÌœˆÀŒ'œ‹. ÀŒ;  @Î ##’c#œŒ$¸¹0#„#„$‡„!#ˆ$¿$’e’f$’g’h$¢£$º»!#?$BC!#‘¸$IJ!#i#p#k#¨#j#<$FG  '#œ#œŽ#¨$œœ +0#œŽ#8 #œŽ"'#œ‘ #œ’"'#‚€ #„d @#’Ú'#œŽ" #œ’" #„d @#’Û'#œŽ" #œ’#œ“'#  #œ“"'# #J#œ”'# #œ•'#‚Û #œ•"'#‚Û #J#œ–'#‚Û #œ–"'#‚Û #J#œ—'#‚Û #œ—"'#‚Û #J#œ˜'#I"'# #ŽÃ#œ™'#I"'# #ŽÃ#œš'#I"'## #ŽÃ#œ›'#I"'## #ŽÃÀ‘¨8À‘·^À‘á’ÚÀ’’ÛÀ’Uœ“À’/Vœ“À’IUœ”À’ZUœ•À’lVœ•À’‡Uœ–À’™Vœ–À’´Uœ—À’ÆVœ—À’᜘À“œ™À“!œšÀ“Aœ› '#‘¸#œœ#¨$œœœ +0#œœ#8#œœ"'#‚€ #„d@#’Ú'#œœ" #„d#„Á'#‚Û #'# !#œž'# "#œŸ'#‚Û##œ '#I"'## #œ¡"'# #œ¢"'# #œ£$#œ¤'#I"'## #ã"'# #œ¢"'# #œ£%#œ¥'##"'# #œ¦& +À“ú8À” ^À”#’ÚÀ”>U„ÁÀ”PUÀ”`UœžÀ”qUœŸÀ”ƒœ À”¾œ¤À”ùœ¥ '#œ§#œ¨#“w #“w#“x#“w #“w#“y#¨$œ©œ¨'0#œ¨#8(#œ¨"'#œ‘ #œ’"'#‚€ #„d)@#’Ú'#œ¨" #œ’" #„d*@#’Û'#œ¨" #œ’+#.'#œœ, #."'#œœ #J-#œª'#œ«.#œ¬'#6/ #œ¬"'#6 #J0#œ­'#‚Û1 #œ­"'#‚Û #J2#œ®'#‚Û3 #œ®"'#‚Û #J4#œ¯'#œ«5#B'#I"'#‚Û #‹ê"'#‚Û #œ°"'#‚Û #œ±6À• 8À•¯^À•Ù’ÚÀ•û’ÛÀ–U.À–'V.À–AUœªÀ–SUœ¬À–dVœ¬À–~Uœ­À–Vœ­À–«Uœ®À–½Vœ®À–ØUœ¯À–êB '#œ‘#œ²#“w #“w#“x#“w #“w#“y#¨$œ³œ´7 0#œ²#88P#“|'#69#œµ'#‚Û:#ù'#‚~;#œ¶'#‚€<#œ·#k$œ¸œ¶=#›—'#‚~>#œ²?#œ¹'#œº@#œ»'#œ¼"'# #‚·"'# #œ½"'# #œ¾A#œ¿'#‚~&'#œœ"'# #œÀ"'#œÁ #œÂ"'#œÃ #Š(#k$œÄœÅB#œÅ'#‚~&'#œœ"'# #œÀ"'#œÁ #œÂ"'#œÃ #Š(C À—Õ8À—äU“|À—ôUœµÀ˜ùÀ˜œ¶À˜.œ·À˜K›—À˜_^À˜lœ¹À˜€œ»À˜Áœ¿À™œÅ '#œ#œÆ#¨$œÇœÆD0#œÆ#8E#œÈ'# FÀ™Ö8À™åUœÈ '#‘¸#œÉ#¨$œÊœÉG 0#œÉ#8H#œË'#œ«I#œÌ'#œ«J#œÍ'#œ«K#œÎ'#œ«L#œÏ'#œ«M#œÐ'#œ«N#œÑ'#œ«O#œÒ'#œ«P#œÓ'#œ«Q#œÔ'#I"'#‚Û #f"'#‚Û #g"'#‚Û #h"'#‚Û #œÕ"'#‚Û #œÖ"'#‚Û #œ×R#'#I"'#‚Û #f"'#‚Û #g"'#‚Û #hS Àš'8Àš6UœËÀšHUœÌÀšZUœÍÀšlUœÎÀš~UœÏÀšUœÐÀš¢UœÑÀš´UœÒÀšÆUœÓÀšØœÔÀ›7 '#˜{#œ#¨$œØœT0#œ#8U#œÙ'# V #œÙ"'# #JW#œÚ'#áX #œÚ"'#á #JY#œÛ'#áZ #œÛ"'#á #J[#œ’'#œ‘\#œÜ'# ]#œÝ'# ^#œÞ'#œ" #œ¡"'# #‚."'# #‚#k$œßœà_#œá'#I" #œâ"'# #‚."'# #‚`#œã'#I"'#œ #œ¡"'# #‚."'# #‚a#œä'#I"'#œ« #œ¡"'# #‚.bÀ›æ8À›õUœÙÀœVœÙÀœ UœÚÀœ2VœÚÀœMUœÛÀœ_VœÛÀœzUœ’ÀœŒUœÜÀœUœÝÀœ®œÞÀœöœáÀ2œãÀtœä '#‘¸#œ«#¨$œåœ«c 0#œ«#8d#„ˆ'#‚Ûe#… '#‚Ûf#… '#‚Ûg#J'#‚Ûh #J"'#‚Û #Ji#œæ'#œ«"'#‚Û #œçj#œè'#œ«"'#‚Û #œçk#œé'#œ«"'#‚Û #J"'#‚Û #‹íl#œê'#œ«"'#‚Û #J"'#‚Û #‹ím#œë'#œ«"'#‚Û #…†"'#‚Û #‹í"'#‚Û #œìn#œí'#œ«"'#‚Û #J"'#‚Û #‹ío#œî'#œ«"'#1&'#‚Û #…«"'#‚Û #‹í"'#‚Û #„Áp Àž*8Àž9U„ˆÀžKU… Àž]U… ÀžoUJÀž€VJÀžšœæÀž¼œèÀžÞœéÀŸ œêÀŸ:œëÀŸvœíÀŸ¤œî '#‘¸-'#‰&'#á'#‚¨#œï#¨$œðœïq0#œï#8r#œñ'#‚€"'#á #‚¦s#…Š'#I"'#‚€&'#á'#‚¨ #2t#…³'#6"'#‚¨ #Ju#…´'#6"'#‚¨ #‚¦v#¤'#‚€"'#‚¨ #‚¦w#…Z'#I'#I"'#á #‚¦"'#‚¨ #J #…Tx#…ª'#‚X&'#áy#…«'#‚X&'#‚€z#'# {#…g'#6|#…h'#6}#…5'#I"'#á #‚¦"'#‚¨ #J~#…º'#‚¨"'#á #‚¦'#‚¨ #…¸#…—'#á"'#‚¨ #‚¦€€#…“'#I€À y8À ˆœñÀ ©…ŠÀ Ö…³À õ…´À¡¤À¡6…ZÀ¡rU…ªÀ¡‹U…«À¡¤UÀ¡³U…gÀ¡ÃU…hÀ¡Ó…5À¡ÿ…ºÀ¢1…—À¢S…“ '#’Õ#œò#¨$œóœò€‚0#œò#8€ƒ#œò"'#á #ŒX"'#‚€ #™#€„@#’Ú'#œò" #ŒX" #™#€…#œô'#œœ€†#œõ'#œœ€‡#œö'#‚Û€ˆÀ¢ú8À£ +^À£2’ÚÀ£UUœôÀ£hUœõÀ£{Uœö '#œ#œ§#¨$œ÷œ§€‰0#œ§#8€Š@+'#˜“&'#’Õ*#›?'#˜“&'#’Õ$›@›A€‹#œø'#I"'#‚Û #‹ê#k$œùB€Œ#…÷'#I"'#‚Û #‹ê€#›Ì'#ó&'#’Õ€ŽÀ£Û8À£ë›?À¤#œøÀ¤U…÷À¤zU›Ì '#‘¸#œú#¨$œûœú€0#œú#8€#œü'#6€‘ #œü"'#6 #J€’#Œ'#ဓ#Ž:'#န#Œ '#ပ#œý'#ဖ#œþ'#œÿ€—À¤Ü8À¤ìUœüÀ¤þVœüÀ¥UŒÀ¥,UŽ:À¥?UŒ À¥RUœýÀ¥eUœþ '#˜{##¨$€˜0##8€™@+'#˜“&'#’Õ*#›'#˜“&'#’Õ$›ˆš€š#'# €›#'#œú"'# #¥€œ#'#œú"'#á #Œ€#›½'#ó&'#’Õ€žÀ¥Ô8À¥ä›À¦UÀ¦-À¦OÀ¦rU›½ '###¨$€Ÿ0##8€ #'#‚Û€¡#œŸ'#‚Û€¢#'#I"'#á #à"'#‚e # €£À¦Ú8À¦êUÀ¦ýUœŸÀ§ '#œ# +#¨$ +€¤0# +#8€¥# +"'#œ‘ #œ’"'#á #à"'#‚€ #„d€¦@#’Ú'# +" #œ’" #à" #„d€§@#’Û'# +" #œ’" #à€¨#†T'#œï€©À§8À§^À§Ç’ÚÀ§ñ’ÛÀ¨U†T '#‘¸# #¨$ €ª0# #8€«À¨m8 '#˜{#œ‘#¨$œ‘€¬0#œ‘#8€­#'#‚Û€®#œ¡'#œÆ€¯#ŠW'#œÉ€°#œŸ'#‚Û€±#‚('#ဲ#'#œŽ€³#'#€´#‚*'#œœ"'# #œž"'# #"'#‚Û #œŸ€µ#'#œ¨€¶#'#"'# #œÜ€·#'#"'# #œÝ€¸#'#€¹#'#€º#'#"'#‚Û #€»#'# €¼#œ¹'#œº€½#!'#""'#1&'#‚Û ##"'#1&'#‚Û #$#k$%&€¾#''#("'#) #*€¿#+'#,€À#-'#."'#/ #0€Á#1'#2€Â#3'#4€Ã#5'#6"'#1&'#‚Û #7"'#1&'#‚Û #8"'#‚€ #„d€Ä#9'#6"'#1&'#‚Û #7"'#1&'#‚Û #8" #„d#k$:5€Å#;'#6"'#1&'#‚Û #7"'#1&'#‚Û #8#k$:5€Æ#œ»'#œ¼"'# #‚·"'# #œ½"'# #œ¾€Ç#<'#=€È#>'#?€É#œÅ'#‚~&'#œœ"'# #œÀ"'#œÁ #œÂ"'#œÃ #Š(€Ê#ˆ&'#‚~€ËÀ¨¨8À¨¸UÀ¨ËUœ¡À¨ÞUŠWÀ¨ñUœŸÀ©U‚(À©À©-À©C‚*À©~À©”À©¹À©ÞÀ©ôÀª +Àª0ÀªFœ¹Àª\!Àª¨'ÀªË+Àªá-À«1À«3À«05À«}9À«Ð;À¬œ»À¬_<À¬u>À¬‹œÅÀ¬Ôˆ& '#œ##¨$@€Ì 0##8€Í#"'#œ‘ #œ’"'#‚€ #„d€Î@#’Ú'#" #œ’" #„d€Ï@#’Û'#" #œ’€Ð#A'#œ«€Ñ#œª'#œ«€Ò#…ö'#œ«€Ó#B'#œ«€Ô#ŒX'#á€Õ #ŒX"'#á #J€Ö#C'#I"'## #D"'## #E"'## #F€× À­æ8À­ö^À®!’ÚÀ®D’ÛÀ®`UAÀ®sUœªÀ®†U…öÀ®™UBÀ®¬UŒXÀ®¿VŒXÀ®ÛC '#œ##¨$GH€Ø0##8€Ù#"'#œ‘ #œ’"'#‚€ #„d€Ú@#’Ú'#" #œ’" #„d€Û@#’Û'#" #œ’€ÜÀ¯„8À¯”^À¯¿’ÚÀ¯â’Û '#œ##¨$IJ€Ý0##8€Þ#"'#œ‘ #œ’"'#‚€ #„d€ß@#’Ú'#" #œ’" #„d€à@#’Û'#" #œ’€áÀ°=8À°M^À°x’ÚÀ°›’Û '#œ§##¨$K€â0##8€ã#"'#œ‘ #œ’"'#‚€ #„d€ä@#’Ú'#" #œ’" #„d€å@#’Û'#" #œ’€æ#…2'#œ«€çÀ°ö8À±^À±1’ÚÀ±T’ÛÀ±pU…2 '#œ##¨$L€è0##8€é#"'#œ‘ #œ’"'#‚€ #„d€ê@#’Ú'#" #œ’" #„d€ë@#’Û'#" #œ’€ì#.'#œœ€í #."'#œœ #J€î#‚'#6€ï #‚"'#6 #J€ðÀ±É8À±Ù^À²’ÚÀ²'’ÛÀ²CU.À²UV.À²pU‚À²‚V‚ '#œ##¨$M€ñ0##8€ò#"'#œ‘ #œ’"'#‚€ #„d€ó@#’Ú'#" #œ’" #„d€ô@#’Û'#" #œ’€õ#N'#œ«€öÀ²ö8À³^À³1’ÚÀ³T’ÛÀ³pUN '#œ# #¨$O €÷ +0# #8€ø# "'#œ‘ #œ’"'#‚€ #„d€ù@#’Ú'# " #œ’" #„d€ú@#’Û'# " #œ’€û#P'#œ«€ü#Q'#œ«€ý#R'#œ«€þ#S'#‚Û€ÿ#T'#œ«#U'#œ« +À³É8À³Ù^À´’ÚÀ´'’ÛÀ´CUPÀ´VUQÀ´iURÀ´|USÀ´UTÀ´¢UU '#œ#œº#¨$VW0#œº#8#œº"'#œ‘ #œ’"'#‚€ #„d@#’Ú'#œº" #œ’" #„d@#’Û'#œº" #œ’#B'#œ«Àµ8Àµ.^ÀµY’ÚÀµ|’ÛÀµ˜UB '#œ#"#¨$XY0#"#8 #""'#œ‘ #œ’"'#‚€ #„d +@#’Ú'#"" #œ’" #„d #C'#I"'## #D"'## #E"'## #F Àµñ8À¶^À¶)’ÚÀ¶LC '#œ#(#¨$Z( 0#(#8#("'#œ‘ #œ’"'#‚€ #„d@#’Ú'#(" #œ’" #„d#*'#)À¶Ä8À¶Ô^À¶ü’ÚÀ·U* '#œ#,#¨$[,0#,#8#,"'#œ‘ #œ’"'#‚€ #„d@#’Ú'#," #œ’" #„d@#’Û'#," #œ’#ô'#/À·q8À·^À·¬’ÚÀ·Ï’ÛÀ·ëUô '#œ#.#¨$\.0#.#8#."'#œ‘ #œ’"'#‚€ #„d@#’Ú'#." #œ’" #„d#0'#/À¸D8À¸T^À¸|’ÚÀ¸ŸU0 '#’Õ#]#¨$^]0#]#8#]"'#á #ŒX"'#‚€ #™#@#’Ú'#]" #ŒX" #™# #_'#œœ!À¸ñ8À¹^À¹)’ÚÀ¹LU_ '#œ‘#`#¨$a`"0#`#8##`" #b"'# #"'#‚Û #œŸ$@#’Ú'#`" #b" #" #œŸ%@#’Û'#`" #b&#'# '#c'#‚~&'#œœ(#d'#‚~"'#‚Û #e#k$›–›—)À¹ž8À¹®^À¹â’ÚÀº ’ÛÀº(UÀº9cÀºVd '#œ§#2#¨$fg* 0#2#8+#2"'#œ‘ #œ’"'#‚€ #„d,@#’Ú'#2" #œ’" #„d-@#’Û'#2" #œ’.#œª'#œ«/#…ö'#œ«0#ŒX'#á1 #ŒX"'#á #J2#h'#I"'#6 #i3 ÀºÙ8Àºé^À»’ÚÀ»7’ÛÀ»SUœªÀ»fU…öÀ»yUŒXÀ»ŒVŒXÀ»¨h '#œ#4#¨$jk40#4#85#4"'#œ‘ #œ’"'#‚€ #„d6@#’Ú'#4" #œ’" #„d7@#’Û'#4" #œ’8#l'#‚Û9 #l"'#‚Û #J:#m'#‚Û; #m"'#‚Û #J<#n'#‚Û= #n"'#‚Û #J>#o'#á? #o"'#á #J@#p'#‚ÛA #p"'#‚Û #JB#q'#œ«C#r'#œ«D#s'#œ«E#t'#áF #t"'#á #JG#œÎ'#œ«H#œÏ'#œ«I#œÐ'#œ«J#u'#‚ÛK #u"'#‚Û #JL#v'#‚ÛM #v"'#‚Û #JN#œÔ'#I"'#‚Û #f"'#‚Û #g"'#‚Û #hO#'#I"'#‚Û #f"'#‚Û #g"'#‚Û #hPÀ¼,8À¼<^À¼g’ÚÀ¼Š’ÛÀ¼¦UlÀ¼¹VlÀ¼ÕUmÀ¼èVmÀ½UnÀ½VnÀ½3UoÀ½FVoÀ½bUpÀ½uVpÀ½‘UqÀ½¤UrÀ½·UsÀ½ÊUtÀ½ÝVtÀ½ùUœÎÀ¾ UœÏÀ¾UœÐÀ¾2UuÀ¾EVuÀ¾aUvÀ¾tVvÀ¾œÔÀ¾É '#‘¸#6#¨$w6Q0#6#8R#6"'#œ‘ #œ’"'#‚€ #„dS@#’Ú'#6" #œ’" #„dT@#’Û'#6" #œ’UÀ¿é8À¿ù^ÀÀ$’ÚÀÀG’Û '#œ#œ¼#¨$xyV0#œ¼#8W@+'#˜“&'#œò*#z'#˜“&'#œò${|X#‚·'# Y#}'#I"'#~ #Z#€'#ó&'#œò[ÀÀ¢8ÀÀ²zÀÀêU‚·ÀÀü}ÀÁU€ '#œ#=#¨$=\0#=#8]#="'#œ‘ #œ’"'#‚€ #„d^@#’Ú'#=" #œ’" #„d_@#’Û'#=" #œ’`#‚'#œ«aÀÁ€8ÀÁ^ÀÁ»’ÚÀÁÞ’ÛÀÁúU‚ '#œ#?#¨$ƒ?b0#?#8c#?"'#œ‘ #œ’"'#‚€ #„dd@#’Ú'#?" #œ’" #„de@#’Û'#?" #œ’f#„'##g #„"'## #Jh#…'#ái #…"'#á #JjÀÂS8ÀÂc^ÀÂŽ’ÚÀ±’ÛÀÂÍU„ÀÂßV„ÀÂúU…Àà V…ÀÎ%À‘…œŽÀ“aÀ“לœÀ•À•]œ¨À—-À—’œ²À™`À™³œÆÀ™öÀšœÉÀ›oÀ›ÃœÀ¥Àžœ«ÀŸçÀ @œïÀ¢gÀ¢ÖœòÀ£ŽÀ£·œ§À¤”À¤¸œúÀ¥xÀ¥°À¦ŒÀ¦¶À§?À§[ +À¨'À¨I À¨}À¨„œ‘À¬éÀ­ÂÀ¯À¯`À¯þÀ°À°·À°ÒÀ±ƒÀ±¥À²À²ÒÀ³ƒÀ³¥ À´µÀ´úœºÀµ«ÀµÍ"À¶…À¶ (À·2À·M,À·þÀ¸ .À¸²À¸Í]À¹_À¹z`Àº†Àºµ2À»ÊÀ¼4À¿À¿Å6ÀÀcÀÀ~œ¼ÀÁ8ÀÁ\=À ÀÂ/?ÀÃ)†ZÀÃ`  @Î ##’c#‡$¸¹0#„#„$‡„!#ˆ$¿$’e’f$’g’h!#?$BC!#‘¸$IJ!#˜#<#i#k#¨#p#j$FG7'#I"'#ˆ #˜‡"'#‰ #Š#‹7'#I"'#ˆ #˜‡"'#Œ #‚f# 7'#I"'#ˆ #˜‡#Ž +7'#I"'#Œ #‚f#  '#‘¸##“w #“w#“x#“w #“w#—Ì#¨$‘˜| 0##8 P#“|'#6#‡O'#á#’'#I"'#á #™'"'#á #™&"'#Ž #‚O"'# #Š("'#“ #œÂ#k$”•#•'#‚~&'#ˆ"'#á #™'"'#á #™&#k$”•#–'#I"'#Ž #‚O"'# #Š("'#“ #œÂ#k$—˜#˜'#‚~&'#ˆ#k$—˜#˜‡'#I"'#Ž #‚O"'# #Š("'#“ #œÂ#™'#‚~&'#ˆ#k$˜’˜‡ ÀÆ8ÀÆŽU“|ÀÆžU‡OÀÆ°’ÀÇ•ÀÇ`–Àǯ˜ÀÇÙ˜‡ÀÈ™ '#‘¸#Œ#¨$š› 0#Œ#8@+'# *#œ@+'# *#@+'# *#ž@+'# *#Ÿ@+'# *# @+'# *#¡@+'# *#¢@+'# *#£#†'# #„W'#á! ÀȦ8ÀȵœÀÈÌÀÈãžÀÈúŸÀÉ ÀÉ(¡ÀÉ?¢ÀÉV£ÀÉmU†ÀÉ~U„W '#‘¸#‰#¨$¤¥"0#‰#8##¦'# $#§'#¨%#©'# &ÀÊ8ÀÊU¦ÀÊ(U§ÀÊ:U© '#‘¸-'#ˆ=&'#‚€'#šf&'#‚€'#1&'#‚€#¨#¨$ª«' 0#¨#8(#'# )#¤'#‚€"'# #¥*#…5'#I"'# #¥"'#‚€ #J+ #"'# #J,#…m'#‚€-#…n'#‚€.#ƒ¹'#‚€/#…s'#‚€"'# #¥0#.'#‚€"'# #¥1#¬" #¥#k$­.2 ÀÊ·8ÀÊÆUÀÊÕ¤ÀÊõ…5ÀË VÀË8U…mÀËIU…nÀËZUƒ¹ÀËk…sÀË‹.ÀË«¬ '#‘¸#ˆ#“w #“w#“x#“w #“w#—Ì#‚´#¨$®¯30#ˆ#84#°'#I"'#á #±"'#1 #Œ7"'#‹ #‚O"'# #Š(#k$²³5#³'#‚~&'#‰"'#á #±"'#1 #Œ7#k$²³6ÀÌd8ÀÌs°ÀÌѳÀÅ ÀŪ7‹ÀÅÕ7ÀÆ7ŽÀÆ7ÀÆ<ÀÈDÀȃŒÀÉÀÉå‰ÀÊKÀÊg¨ÀËÏÀ̈ÀÍ´«ÀÍ,  @Î##’c#µ$¸¹0#„#„$‡„0#„$¿$’g’h$¶·$„„$‡„ +$¢£$º»™*$¸¹ !#šQ$¸¹ +!#›´$¸¹ œŒ$º» !#œœ#œú#$º» —Õ$—Ö—×!#“v#”s$—Ö—×$¼½!#?#˜$BC! #<#i#p#k#¨#j#¾#‘#‘#‘#–#˜$FG!#‘¸#Ž#‘Ù#‘õ#‘µ#‘¶#‘¬#‘¤$IJ !#‡S$¿ !#—À$’g’h !#ƒð#ƒÛ$‡„ +'#¿#À'#Á#Â" #—¿'#‚~&'#‚€&'#á'#‚¨#à '#˜<'#šø#Ä#¨$ÅÆ#Ä##Ä#‡X#›¸'#á #›¸"'#á #JÀÏ´^ÀÏÁ‡XÀÏÑU›¸ÀÏãV›¸7'#I"'#Ç #È"'#Ç #É"'#Ê #‰M#Ë'#Ì#Í  '#Î#Ï#¨$ÐÏ!0#Ï#8"#Ï"'#á #ŒX"'#‚€ #™##@#’Ú'#Ï" #ŒX" #™#$#Ñ'#I"'#‚~ #Ò%ÀЈ8ÀЗ^Àо’ÚÀÐàÑ '#Ó#Ô#¨$ÕÔ&0#Ô#8'#Ô"'#‚€ #Ö(@#’Ú'#Ô" #Ö)@#’Û'#Ô*ÀÑ?8ÀÑN^ÀÑk’ÚÀц’Û '#‘¸'#˜{#×+0#×#8,@+'#˜“&'#’Õ*#˜™'#˜“&'#’Õ$˜š‚f-#„Ù'#ó&'#’Õ.ÀÑÒ8ÀÑᘙÀÒU„Ù '#Ø#Ù#¨$ÚÙ/0#Ù#80#Ù"'#‚€ #Ö1@#’Ú'#Ù" #Ö2@#’Û'#Ù3#f'#‚Û4#g'#‚Û5#h'#‚Û6ÀÒj8ÀÒy^ÀÒ–’ÚÀÒ±’ÛÀÒÅUfÀÒÖUgÀÒçUh '#˜{#Û#¨$ÜÛ7n0#Û#88@+'#˜“&'#’Õ*#Ý'#˜“&'#’Õ$Þß9@+'#˜“&'#’Õ*#à'#˜“&'#’Õ$áâ:@+'#˜“&'#’Õ*#ã'#˜“&'#’Õ$äå;@+'#˜“&'#’Õ*#æ'#˜“&'#’Õ$çè<@+'#˜“&'#’Õ*#é'#˜“&'#’Õ$êë=@+'#˜“&'#’Õ*#ì'#˜“&'#’Õ$íî>#Û?@#’Ú'#Û@#ï'#ÛA #ï"'#Û #JB#ð'#6C #ð"'#6 #JD#ñ'#áE #ñ"'#á #JF#ò'#6G #ò"'#6 #JH#‹¼'#áI #‹¼"'#á #JJ#ó'# K #ó"'# #JL#ô'# M #ô"'# #JN#õ'# O #õ"'# #JP#ö'#÷Q #ö"'#÷ #JR#…{'#áS #…{"'#á #JT#ø'#÷U #ø"'#÷ #JV#ù'#ÛW #ù"'#Û #JX#šò'#6Y #šò"'#6 #JZ#ú'#Û[ #ú"'#Û #J\#û'#6] #û"'#6 #J^#ü'#÷_ #ü"'#÷ #J`#ý'#áa #ý"'#á #Jb#þ'#6c #þ"'#6 #Jd#›H'#áe #›H"'#á #Jf#ÿ'#ág #ÿ"'#á #Jh#Œ '#ái #Œ "'#á #Jj#ž'#÷k #ž"'#÷ #Jl#‹ï'# m #‹ï"'# #Jn#ž'#áo #ž"'#á #Jp#ž'#6q #ž"'#6 #Jr#ž'#6s #ž"'#6 #Jt#ž'#6u #ž"'#6 #Jv#ž'#áw #ž"'#á #Jx#ž'#÷y #ž"'#÷ #Jz#ž'#á{ #ž"'#á #J|#ž'# } #ž"'# #J~#ž '#á #ž "'#á #J€€#ž +'#6€ #ž +"'#6 #J€‚#ž '#ဃ #ž "'#á #J€„#ˆ4'#6€… #ˆ4"'#6 #J€†#ž '#ဇ #ž "'#á #J€ˆ#ž '#ဉ #ž "'#á #J€Š#ž'# €‹ #ž"'# #J€Œ#ž'# € #ž"'# #J€Ž#ž'# € #ž"'# #J€#ž'#6€‘ #ž"'#6 #J€’#ž'# €“ #ž"'# #J€”#…'#ပ #…"'#á #J€–#ž'#‚Û€— #ž"'#‚Û #J€˜#ž'#‚Û€™ #ž"'#‚Û #J€š#ž'#‚Û€› #ž"'#‚Û #J€œ#ž'#ဠ#ž"'#á #J€ž#ž'#I"'#Û #ž€Ÿ#ž'#ó&'#’Õ€ #ž'#ó&'#’Õ€¡#ž'#ó&'#’Õ€¢#ž'#ó&'#’Õ€£#ž'#ó&'#’Õ€¤#ž'#ó&'#’Õ€¥nÀÓH8ÀÓWÝÀÓŽàÀÓÅãÀÓüæÀÔ3éÀÔjìÀÔ¡^ÀÔ®’ÚÀÔÂUïÀÔÔVïÀÔïUðÀÕVðÀÕUñÀÕ,VñÀÕGUòÀÕXVòÀÕrU‹¼ÀÕ„V‹¼ÀÕŸUóÀÕ°VóÀÕÊUôÀÕÛVôÀÕõUõÀÖVõÀÖ UöÀÖ2VöÀÖMU…{ÀÖ_V…{ÀÖzUøÀÖŒVøÀÖ§UùÀÖ¹VùÀÖÔUšòÀÖåVšòÀÖÿUúÀ×VúÀ×,UûÀ×=VûÀ×WUüÀ×iVüÀׄUýÀ×–VýÀ×±UþÀ×ÂVþÀ×ÜU›HÀ×îV›HÀØ UÿÀØVÿÀØ6UŒ ÀØHVŒ ÀØcUžÀØuVžÀØU‹ïÀØ¡V‹ïÀØ»UžÀØÍVžÀØèUžÀØùVžÀÙUžÀÙ$VžÀÙ>UžÀÙOVžÀÙiUžÀÙ{VžÀÙ–UžÀÙ¨VžÀÙÃUžÀÙÕVžÀÙðUžÀÚVžÀÚUž ÀÚ-Vž ÀÚIUž +ÀÚ[Vž +ÀÚvUž ÀÚ‰Vž ÀÚ¥Uˆ4ÀÚ·Vˆ4ÀÚÒUž ÀÚåVž ÀÛUž ÀÛVž ÀÛ0UžÀÛBVžÀÛ]UžÀÛoVžÀÛŠUžÀÛœVžÀÛ·UžÀÛÉVžÀÛäUžÀÛöVžÀÜU…ÀÜ$V…ÀÜ@UžÀÜSVžÀÜoUžÀÜ‚VžÀÜžUžÀܱVžÀÜÍUžÀÜàVžÀÜüžÀÝUžÀÝ8UžÀÝRUžÀÝlUžÀ݆UžÀÝ Už '#‘¸#÷#¨$ž÷€¦ +0#÷#8€§#÷"'#1&'#Û #ž €¨@#’Ú'#÷" #ž €©@#’Û'#÷€ª#'# €« #"'# #J€¬#šj'#I"'# #¥"'#Û #ˆ¤€­#‚'#I"'#Û #ˆ¤"'#Û #ž!€®#.'#Û"'# #¥€¯#…—'#I"'# #¥€° +Ààå8Ààõ^Àá’ÚÀá6’ÛÀáKUÀá\VÀávšjÀᤂÀáÓ.Àáõ…— '#Ø#ž"#¨$ž#ž"€±0#ž"#8€²#ž""'#‚€ #Ö€³@#’Ú'#ž"" #Ö€´@#’Û'#ž"€µ#ž$'#‚Û€¶Àâ}8Àâ^Àâ«’ÚÀâÇ’ÛÀâÜUž$ '#Ä'#ž%#ž&#¨$ž'ž(€·%0#ž€¸#ž&"'#á #™4€¹##ž&#‡X€º#ž)'#ျ #ž)"'#á #J€¼#ž*'#ွ #ž*"'#á #J€¾#ž+'#ဿ #ž+"'#á #J€À#ž,'#á€Á #ž,"'#á #J€Â#…†'#á€Ã #…†"'#á #J€Ä#ŒX'#á€Å #ŒX"'#á #J€Æ#‡4'#á€Ç #‡4"'#á #J€È#;'#á€É #;"'#á #J€Ê#ž-'#á€Ë #ž-"'#á #J€Ì#™4'#á€Í #™4"'#á #J€Î#†b'#á€Ï#ž.'#á€Ð #ž."'#á #J€Ñ#ž/'#á€Ò #ž/"'#á #J€Ó#†C'#á€Ô #†C"'#á #J€Õ#ž0'#á€Ö #ž0"'#á #J€×#ž1'#á€Ø #ž1"'#á #J€Ù#ž2'#á€Ú #ž2"'#á #J€Û#‚”'#á€Ü%Àã=8ÀãM^Àãk‡XÀã|Už)ÀãVž)Àã«Už*Àã¾Vž*ÀãÚUž+ÀãíVž+Àä Už,ÀäVž,Àä8U…†ÀäKV…†ÀägUŒXÀäzVŒXÀä–U‡4Àä©V‡4ÀäÅU;Àä×V;ÀäòUž-ÀåVž-Àå!U™4Àå4V™4ÀåPU†bÀåcUž.ÀåvVž.Àå’Už/Àå¥Vž/ÀåÁU†CÀåÔV†CÀåðUž0ÀæVž0ÀæUž1Àæ2Vž1ÀæNUž2ÀæaVž2Àæ}‚” '#˜{#ž3#¨$ž4ž3€Ý0#ž3#8€Þ@+'#˜“&'#’Õ*#ž5'#˜“&'#’Õ$ž6ˆ€ß@+'#˜“&'#’Õ*#ž7'#˜“&'#’Õ$ž8‡5€à#ž3"'#ž9 #ž:"'#ž; #ž<€á@#’Ú'#ž3" #ž:" #ž<€â@#’Û'#ž3" #ž:€ã@#ž='#ž3€äP#“|'#6€å#'#‚Û€æ #"'#‚Û #J€ç#ž:'#ž9€è #ž:"'#ž9 #J€é#ž>'#‚~&'#ž3€ê#Œ'#á€ë #Œ"'#á #J€ì#ž?'#á€í#œ¯'#‚Û€î #œ¯"'#‚Û #J€ï#ž@'#‚~&'#ž3€ð#œç'#‚Û€ñ #œç"'#‚Û #J€ò#ž<'#ž;€ó#ˆ'#I€ô#‡5'#I€õ#ˆ$'#I€ö#›x'#I€÷#žA'#I€ø#‰¼'#ó&'#’Õ€ù#žB'#ó&'#’Õ€úÀç¶8ÀçÆž5Àçþž7Àè6^Àèd’ÚÀ臒ÛÀ裞=Àè¸U“|ÀèÉUÀèÜVÀèøUž:Àé Vž:Àé'Už>ÀéAUŒÀéTVŒÀépUž?ÀéƒUœ¯Àé–Vœ¯Àé²Už@ÀéÌUœçÀéßVœçÀéûUž<ÀêˆÀê#‡5Àê8ˆ$ÀêM›xÀêbžAÀêwU‰¼Àê‘UžB '#‘¸#ž9#¨$žCž9€û0#ž9#8€ü#žD'#žE€ý#žF'#‚€€þ#žG#k$žHžF€ÿÀë›8Àë«UžDÀ뾞FÀëÓžG '#žE#žI#¨$žJžI0#žI#8#žK'#‚Û #žK"'#‚Û #J#˜i'#á #˜i"'#á #J#„Á'#‚e#j$žLžM #„Á"'#‚e #J#žN'#á #žN"'#á #J #žO'#‚Û + #žO"'#‚Û #J #…€'#á  #…€"'#á #J #žP'#‚Û #žP"'#‚Û #J#žQ'#‚Û #žQ"'#‚Û #JÀì18ÀìAUžKÀìTVžKÀìpU˜iÀìƒV˜iÀìŸU„ÁÀìÀV„ÁÀìÜUžNÀìïVžNÀí UžOÀíVžOÀí:U…€ÀíMV…€ÀíiUžPÀí|VžPÀí˜UžQÀí«VžQ '#‘¸#žE#¨$žRžE 0#žE#8#žK'#‚Û#˜i'#á#„Á'#‚e#žN'#á#žO'#‚Û#…€'#á#žP'#‚Û#žQ'#‚Û Àîb8ÀîrUžKÀî…U˜iÀî˜U„ÁÀî«UžNÀî¾UžOÀîÑU…€ÀîäUžPÀî÷UžQ '#’Õ#žS#¨$žTžS0#žS#8#žS"'#á #ŒX"'#‚€ #™#@#’Ú'#žS" #ŒX" #™#@#’Û'#žS" #ŒX #žU'#á!#žV'#‚Û"Àïm8Àï}^À晴ÚÀïË’ÛÀïçUžUÀïúUžV '#’Õ#žW#¨$žXžW#0#žW#8$#žW"'#á #ŒX"'#‚€ #™#%@#’Ú'#žW" #ŒX" #™#&@#’Û'#žW" #ŒX'#'#‚Û(#žY'#‚Û)ÀðZ8Àðj^Àð•’ÚÀð¸’ÛÀðÔUÀðçUžY '#‘¸#ž;#¨$žZž;*0#ž;#8+#'#‚Û,ÀñG8ÀñWU '##ž[#¨$ž\ž[-0#ž[#8.#ž]'#I"'#á #à"'#‚e #ž^/Àñœ8Àñ¬ž] '#˜{#ž_#“w #“w#“x#“w #“w#“y#“w #“w#—Æ$˜˜€#“w #“w#—É#“w #“w#—Ì#’j#¨$ž`ža00#ž_#81@+'#˜“&'#’Õ*#žb'#˜“&'#’Õ$žcžd2@+'#˜“&'#’Õ*#že'#˜“&'#’Õ$žfžg3@+'#˜“&'#’Õ*#žh'#˜“&'#’Õ$žižj4@+'#˜“&'#’Õ*#˜™'#˜“&'#’Õ$˜š‚f5@+'#˜“&'#’Õ*#žk'#˜“&'#’Õ$žlžm6@+'#˜“&'#’Õ*#žn'#˜“&'#’Õ$žožp7@+'#˜“&'#žq*#žr'#˜“&'#žq$žsžt8@+'#˜“&'#’Õ*#žu'#˜“&'#’Õ$žvžw9P#“|'#6:@+'# *#žx;@+'# *#žy<@+'# *#žz=@+'# *#ž{>@+'# *#ž|?@+'# *#ž}@#ž~'# A#˜–'#IB#ž'#IC#…·'#ID#ž€'#ó&'#’ÕE#ž'#ó&'#’ÕF#ž‚'#ó&'#’ÕG#„Ù'#ó&'#’ÕH#žƒ'#ó&'#’ÕI#ž„'#ó&'#’ÕJ#ž…'#ó&'#žqK#ž†'#ó&'#’ÕLÀòk8Àò{žbÀò³žeÀòëžhÀó#˜™Àó[žkÀó“žnÀóËžrÀôžuÀô;U“|ÀôLžxÀôdžyÀô|žzÀô”ž{Àô¬ž|ÀôÄž}ÀôÜUž~ÀôÀõžÀõ…·Àõ-Už€ÀõGUžÀõaUž‚Àõ{U„ÙÀõ•UžƒÀõ¯Už„ÀõÉUž…ÀõãUž† '#’Õ#ž‡#¨$žˆž‡M0#ž‡#8N#ž‡"'#á #ŒX"'#‚€ #™#O@#’Ú'#ž‡" #ŒX" #™#P@#’Û'#ž‡" #ŒXQ#„W'#áR#‘Ð'#áS#ž~'# T#…'#áUÀöó8À÷^À÷.’ÚÀ÷Q’ÛÀ÷mU„WÀ÷€U‘ÐÀ÷“Už~À÷¥U… '#Ä'#ž%#ž‰#¨$žŠž‹V'0#ž‰#8W#ž‰X##ž‰#‡XY#žŒ'#áZ #žŒ"'#á #J[#ž'#á\ #ž"'#á #J]#ž)'#á^ #ž)"'#á #J_#ž+'#á` #ž+"'#á #Ja#ž,'#áb #ž,"'#á #Jc#žŽ'#ád #žŽ"'#á #Je#…†'#áf #…†"'#á #Jg#‡4'#áh #‡4"'#á #Ji#;'#áj #;"'#á #Jk#ž-'#ál #ž-"'#á #Jm#™4'#án #™4"'#á #Jo#†b'#áp#ž.'#áq #ž."'#á #Jr#ž/'#ás #ž/"'#á #Jt#†C'#áu #†C"'#á #Jv#ž0'#áw #ž0"'#á #Jx#ž1'#áy #ž1"'#á #Jz#ž2'#á{ #ž2"'#á #J|#‚”'#á}'Àø8Àø+^Àø9‡XÀøJUžŒÀø]VžŒÀøyUžÀøŒVžÀø¨Už)Àø»Vž)Àø×Už+ÀøêVž+ÀùUž,ÀùVž,Àù5UžŽÀùHVžŽÀùdU…†ÀùwV…†Àù“U‡4Àù¦V‡4ÀùÂU;ÀùÔV;ÀùïUž-ÀúVž-ÀúU™4Àú1V™4ÀúMU†bÀú`Už.ÀúsVž.ÀúUž/Àú¢Vž/Àú¾U†CÀúÑV†CÀúíUž0ÀûVž0ÀûUž1Àû/Vž1ÀûKUž2Àû^Vž2Àûz‚” '#)#ž#¨$žž‘~0#ž#8"'#á #ž’@#’Ú'#ž" #ž’€@#’Û'#ž##ž#‡X‚#ž"'#á #ž’ƒÀüÁ8Àüá’ÚÀüý’ÛÀý‡XÀý#^ '#ž“#ž”#¨$ž•ž”„0#ž”#8…#ž–'# †#ž—'# ‡Àý‡8Àý—Už–Àý©Už— '#ž“#ž˜#¨$ž™ž˜ˆ0#ž˜#8‰#žš'# ŠÀýô8ÀþUžš '#‘¸#ž“#¨$ž›ž“‹0#ž“#8Œ#žœ'# #k$žžžÀþH8ÀþXUžœ '#Ä#žŸ#¨$ž ž¡Ž0#žŸ#8#žŸ##žŸ#‡X‘Àþª8Àþº^ÀþȇX '#ž¢#ž£#¨$ž¤ž£’0#ž£#8“#ž£"'#á #ŒX"'#‚€ #ž¥”@#’Ú'#ž£" #ŒX" #ž¥•#‚('#á–Àÿ8Àÿ!^ÀÿI’ÚÀÿlU‚( '#Î#ž¢#¨$ž¦ž¢—0#ž¢#8˜#ž¢"'#á #ŒX"'#‚€ #ž¥™@#’Ú'#ž¢" #ŒX" #ž¥š#Œ'#á›Àÿ¾8ÀÿÎ^Àÿö’ÚÀUŒ '#ž¢#ž§#¨$ž¨ž§œ0#ž§#8#ž§"'#á #ŒX"'#‚€ #ž¥ž@#’Ú'#ž§" #ŒX" #ž¥Ÿ#ž©'#1&'#žª Àk8À{^À£’ÚÀÆUž© '#‘¸#ž«#¨$ž¬ž«¡0#ž«#8¢#˜¼'#ž­£À8À/U˜¼ '#‘¸#ž®#¨$ž¯ž®¤0#ž®#8¥#õ'#‚~&'#ž°"'#á #Œ"'#‚e #ž±"'#‚€ #„d¦#˜Â'#‚~&'#ž°"'#á #Œ§#ž²'#‚~&'#1&'#‚¨¨Àt8À„õÀ˘ÂÀõž² '#˜{#ž°#¨$ž³ž°© 0#ž°#8ª#ž´'# «#žµ'# ¬#Œ'#á­#ž¶'#á®#ž·'# ¯#ž¸'# °#ž¹'# ±#˜–'#‚~&'#6² ÀY8ÀiUž´À{UžµÀUŒÀ Už¶À³Už·ÀÅUž¸À×Už¹À阖 '#ž«#žª#¨$žºžª³0#žª#8´#žª"'#ž­ #˜¼"'#ž» #‹Åµ@#’Ú'#žª" #˜¼" #‹Å¶#‹Å'#ž»·Àh8Àx^À ’ÚÀÃU‹Å '#ž¢#ž¼#¨$ž½ž¼¸0#ž¼#8¹#ž¼"'#á #ŒX"'#‚€ #ž¥º@#’Ú'#ž¼" #ŒX" #ž¥»#ž©'#1&'#žª¼#ž¾'#‚~"'#á #ž¶½À8À%^ÀM’ÚÀpUž©ÀŠž¾ '#‘¸#ž¿#‚´#¨$žÀž¿¾0#ž¿#8¿#žÁ'#6ÀÀù8À UžÁ '#‘¸#žÂ#¨$žÃžÂÁ0#žÂ#8Â#žÂÃ@#’Ú'#žÂÄ#žÄ'#‚~&'#1&'#‚¨" #”(ÅÀM8À]^Àk’ÚÀ€žÄ '#Ä#žÅ#¨$žÆžÇÆ0#žÅ#8Ç#žÅÈ##žÅ#‡XÉ#™4'#áÊ #™4"'#á #JË#…†'#áÌ #…†"'#á #JÍÀê8Àú^À‡XÀU™4À,V™4ÀHU…†À[V…† '#˜{#žÈ#¨$žÉžÈÎ0#žÈ#8Ï#žÊ'#6Ð#žË'#‚ÛÑ#žÌ'#‚ÛÒ#‹ï'#‚ÛÓÀË8ÀÛUžÊÀíUžËÀUžÌÀU‹ï '#’Õ#žÍ#¨$žÎžÍÔ0#žÍ#8Õ#žÍ"'#á #ŒX"'#‚€ #™#Ö@#’Ú'#žÍ" #ŒX" #™#×@#’Û'#žÍ" #ŒXØ#žÏ'#1&'#áÙ#žÐ'#‚~&'#‚€&'#á'#‚¨Ú#žÑ'#‚~ÛÀm8À}^À¨’ÚÀË’ÛÀçUžÏÀUžÐÀ)žÑ '#’Õ#žÒ#¨$žÓžÒÜ0#žÒ#8Ý#žÔ'#áÞ #žÔ"'#á #JßÀ’8À¢UžÔÀµVžÔ '#‘¸#žÕ#¨$žÖžÕà 0#žÕ#8á#ƒ7'# â#ŒX'#áã#ž×'#žÕ"'# #B"'# #C"'#á #žØä#žÕ"'#1 #žÙ"'#á #ŒX"'#á #žÚå@#’Ú" #ˆöæ@#’Û" #ˆö" #žÛç@#žÜè@#žÝ" #žÛ" #‚¦" #Jé À +8À Uƒ7À ,UŒXÀ ?ž×À ^À »’ÚÀ Ñ’ÛÀ îžÜÀ ýžÝ7'#I"'#žÕ #žÞ#žßê '#’Õ#žà#¨$žážàë0#žà#8ì#žà"'#á #ŒX"'#‚€ #™#í@#’Ú'#žà" #ŒX" #™#î#A'#žÕï#žâ'#‚ÛðÀ +¡8À +±^À +Ù’ÚÀ +üUAÀ Užâ '#‘¸#žã#¨$žäžåñ0#žã#8ò#žæ'#žçó#žè'#áô#J'#+õ#žé'#‚~ö#žê'#‚~" #J÷À f8À vUžæÀ ‰UžèÀ œUJÀ ­žéÀ žê '#‘¸#žë#¨$žìžëø0#žë#8ù#ží'#6ú#žî'#‚~û#žÞ'#‚~&'#žÕü#žï'#‚~&'#žðý#‚¢'#‚~þ#‚–'#‚~&'#áÿÀ *8À :UžíÀ LžîÀ ažÞÀ ~žïÀ ›‚¢À °‚– '#Ä'#žñ#žò#¨$žóžô‚0#žò#8‚@+'#˜“&'#’Õ*#›'#˜“&'#’Õ$››‚@+'#˜“&'#’Õ*#˜™'#˜“&'#’Õ$˜š‚f‚@+'#˜“&'#’Õ*#›B'#˜“&'#’Õ$›C›D‚@+'#˜“&'#’Õ*#žõ'#˜“&'#’Õ$žöž÷‚@+'#˜“&'#’Õ*#›S'#˜“&'#’Õ$›T‰ò‚@+'#˜“&'#žø*#žù'#˜“&'#žø$žú„W‚@+'#˜“&'#’Õ*#žû'#˜“&'#’Õ$žüžý‚@+'#˜“&'#’Õ*#žþ'#˜“&'#’Õ$žÿŸ‚ @+'#˜“&'#Ÿ*#Ÿ'#˜“&'#Ÿ$ŸŸ‚ +@+'#˜“&'#’Õ*#›'#˜“&'#’Õ$›‚›ƒ‚ @+'#˜“&'#’Õ*#›„'#˜“&'#’Õ$›…›†‚ @+'#˜“&'#Ÿ*#Ÿ'#˜“&'#Ÿ$Ÿ’‚ @+'#˜“&'#’Õ*#Ÿ'#˜“&'#’Õ$Ÿ Ÿ +‚#žò‚##žò#‡X‚#›º'#›¹&'#’Õ‚#„Ù'#›¹&'#’Õ‚#›Í'#›¹&'#’Õ‚#Ÿ '#›¹&'#’Õ‚#›Ó'#›¹&'#’Õ‚#Ÿ '#›¹&'#žø‚#Ÿ '#›¹&'#’Õ‚#Ÿ'#›¹&'#’Õ‚#Ÿ'#›¹&'#Ÿ‚#›â'#›¹&'#’Õ‚#›ã'#›¹&'#’Õ‚#Ÿ'#›¹&'#Ÿ‚#Ÿ'#›¹&'#’Õ‚À *8À :›À r˜™À ª›BÀ âžõÀ›SÀRžùÀŠžûÀžþÀúŸÀ2›Àj›„À¢ŸÀÚŸÀ^À ‡XÀ1U›ºÀKU„ÙÀeU›ÍÀUŸ À™U›ÓÀ³UŸ ÀÍUŸ ÀçUŸÀUŸÀU›âÀ5U›ãÀOUŸÀiUŸ '#˜{#Ÿ#¨$ŸŸ‚0#Ÿ#8‚@+'#˜“&'#žø*#žù'#˜“&'#žø$žú„W‚ #Ÿ"'#á #à‚!@#’Ú'#Ÿ" #à‚"#à'#á‚##ù'#I‚$#Ÿ'#I"'#‚e #„W‚%#Ÿ '#ó&'#žø‚&À~8ÀŽžùÀÆ^Àá’ÚÀýUàÀùÀ%ŸÀGUŸ  '#‘¸#Ÿ#¨$ŸŸ‚'0#Ÿ#8‚(#Ÿ'#‚Û‚)#‹í'# ‚*À½8ÀÍUŸÀàU‹í '#Ä#Ÿ#¨$ŸŸ‚+0#Ÿ#8‚,#Ÿ‚-##Ÿ#‡X‚.#Ÿ'#6‚/ #Ÿ"'#6 #J‚0#šò'#6‚1 #šò"'#6 #J‚2#Ÿ'#Ÿ‚3#Ÿ'#á‚4 #Ÿ"'#á #J‚5#Ÿ'#á‚6 #Ÿ"'#á #J‚7#Ÿ '#á‚8 #Ÿ "'#á #J‚9#Ÿ!'#6‚: #Ÿ!"'#6 #J‚;#Ÿ"'#á‚< #Ÿ""'#á #J‚=#Ÿ#'#1&'#‰V#’j#j$œœ#i$œœ‚>#à'#á‚? #à"'#á #J‚@#ŒX'#á‚A #ŒX"'#á #J‚B#Ÿ$'#á‚C#Ÿ%'#Ÿ&‚D#J'#á‚E #J"'#á #J‚F#Ÿ''#6‚G#Ÿ('#6‚H#Ÿ)'#6‚I#Ÿ*'#I"'#á #‚f‚JÀ+8À;^ÀI‡XÀZUŸÀlVŸÀ‡UšòÀ™VšòÀ´UŸÀÇUŸÀÚVŸÀöUŸÀ VŸÀ%UŸ À8VŸ ÀTUŸ!ÀfVŸ!ÀUŸ"À”VŸ"À°UŸ#ÀïUàÀVàÀUŒXÀ1VŒXÀMUŸ$À`UŸ%ÀsUJÀ…VJÀ UŸ'À²Ÿ(ÀÇŸ)ÀÜŸ* '#Ÿ+#Ÿ,#‚´#¨$Ÿ-Ÿ.‚K0#Ÿ,#8‚LÀÿ8 '#‘¸#Ÿ/#¨$Ÿ0Ÿ/‚M0#Ÿ/#8‚N#˜f'#‚~"'#á #Ÿ1‚O#Ÿ2'#‚~"'#á #Ÿ1‚P#…ª'#‚~‚Q#†'#‚~" #˜¼"'#‚€ #„d‚R#ŒÂ'#‚~"'#á #Ÿ1‚SÀ:8ÀJ˜fÀlŸ2ÀŽ…ªÀ£†Àό '#Î#Ÿ3#¨$Ÿ4Ÿ3‚T0#Ÿ3#8‚U#Ÿ3"'#á #ŒX"'#‚€ #™#‚V@#’Ú'#Ÿ3" #ŒX" #™#‚W#Ÿ5'#1‚X#Ÿ6'#1‚Y#Ÿ7'#á‚Z#Ÿ8'#á‚[#Ñ'#I"'#‚~ #Ÿ9‚\À?8ÀO^Àw’ÚÀšUŸ5À¬UŸ6À¾UŸ7ÀÑUŸ8ÀäÑ '#Ÿ:#Ÿ;#¨$Ÿ<Ÿ;‚]0#Ÿ;#8‚^#’‚'#’ƒ‚_#Ÿ='#I‚`Àa8ÀqU’‚À„Ÿ= '#Ä'#Ÿ>#’ƒ#¨$Ÿ?Ÿ@‚a0#’ƒ#8‚b@+'#˜“&' #—Õ#’Ö*#ŸA'#˜“&' #—Õ#’Ö$ŸBŸC‚c@+'#˜“&' #—Õ#’Ö*#ŸD'#˜“&' #—Õ#’Ö$ŸEŸF‚d#’ƒ"'# #ƒë"'# #ƒì‚e##’ƒ#‡X‚f#ƒì'# ‚g #ƒì"'# #J‚h#ƒë'# ‚i #ƒë"'# #J‚j#ŸG'#/"'#‚Û #ŸH‚k#ŸI'#‚e"'#á #ŸJ"'#‚€ #ŸK#i$ŸLŸM#j$ŸNŸO‚l#ŸP'#‚e" #ŸJ" #ŸK#k$ŸQŸI#i$ŸLŸM#j$ŸNŸO‚m#ŸR'#‚e" #ŸJ#k$ŸQŸI#i$ŸLŸM#j$ŸNŸO‚n#ŸS'#á"'#á #ŒX" #ŸT#k$ŸUŸV‚o#ŸW'#’†‚p#ŸX'#›¹&' #—Õ#’Ö‚q#ŸY'#›¹&' #—Õ#’Ö‚r#ŸZ'#Ÿ[‚s#Ÿ\' #—Õ#“v" #“" #Žx" #”—" #˜ " #˜" #˜#“w #“w#“x#“w #“w#“y‚t#Ÿ]'#á"'#á #ŒX$Ÿ^Ÿ_"'#‚Û #Ÿ`‚u#Ÿa'#I"'#žß #‚O"'#á #ŒX"'#‚e #Œ7#k$ŸbŸc‚v#Ÿc'#‚~&'#žÕ"'#á #ŒX"'#‚e #Œ7‚wÀÚ8ÀêŸAÀ*ŸDÀj^À–‡XÀ§UƒìÀ¹VƒìÀÔUƒëÀæVƒëÀŸGÀ'ŸIÀuŸPÀßRÀ +ŸSÀEŸWÀ[UŸXÀyUŸYÀ—UŸZÀ©Ÿ\À*Ÿ]ÀdŸaÀ´Ÿc '#‘¸#Ÿd#¨$ŸeŸd‚x0#Ÿd#8‚y#Ÿf'#I"'#‚Û #…2"'#á #Ÿg‚zÀ°8ÀÀŸf '#‘¸#Ÿh#¨$ŸiŸh‚{0#Ÿh#8‚|#Ÿj'#I"'#šQ #‰‚}À !8À 1Ÿj#“u‚~#’‚'#’ƒ‚À pU’‚ '#‘¸'#“u#Ÿ[#¨$ŸkŸ[‚€p0#Ÿ[#8‚#’‚'#’ƒ‚‚#Ÿl'#šQ‚ƒ #Ÿl"'#šQ #J‚„#˜i'#á‚… #˜i"'#á #J‚†#Ÿm'#‚e#i$ŸnŸo#j$ŸnŸo‚‡ #Ÿm"'#‚e #J‚ˆ#”'#ႉ #”"'#á #J‚Š#Ÿp'#á‚‹ #Ÿp"'#á #J‚Œ#Ÿq'#‚Û‚ #Ÿq"'#‚Û #J‚Ž#Ÿr'#á‚ #Ÿr"'#á #J‚#Ÿs'#6‚‘ #Ÿs"'#6 #J‚’#Ÿt'#á‚“ #Ÿt"'#á #J‚”#Ÿu'#á‚• #Ÿu"'#á #J‚–#Ÿv'#á‚— #Ÿv"'#á #J‚˜#”'#‚Û‚™ #”"'#‚Û #J‚š#Ÿw'#‚Û‚› #Ÿw"'#‚Û #J‚œ#Ÿx'#‚Û‚ #Ÿx"'#‚Û #J‚ž#Ÿy'#á‚Ÿ #Ÿy"'#á #J‚ #Ÿz'#‚Û‚¡ #Ÿz"'#‚Û #J‚¢#Ÿ{'#‚Û‚£ #Ÿ{"'#‚Û #J‚¤#Ÿ|'#‚e#i$ŸnŸo#j$ŸnŸo‚¥ #Ÿ|"'#‚e #J‚¦#Ÿ}'#Ⴇ #Ÿ}"'#á #J‚¨#Ÿ~'#á‚© #Ÿ~"'#á #J‚ª#Ÿ'#I"'#‚€ #„d‚«#Ÿ€'#I" #„d#k$ŸŸ‚¬#Ÿ‚'#I#k$ŸŸ‚­#Ÿƒ'#I‚®#Ÿ„'#I‚¯#Ÿ…'#I"'#‚Û #f"'#‚Û #g"'#‚Û #ƒë"'#‚Û #ƒì‚°#Ÿ†'#I" #Ÿ‡"'#á #Ÿˆ‚±#Ÿ‰'#˜" #ŸŠ"'# #Ÿ‹" #ŸŒ"'#‚€ #Ÿ#i$ŸŽŸ‚²#Ÿ" #Ÿ‘#k$Ÿ’Ÿ‰#i$ŸŽŸ‚³#Ÿ“"'# #Ÿ”" #Ÿ•#k$Ÿ’Ÿ‰#i$ŸŽŸ‚´#Ÿ–"'# #Ÿ”" #Ÿ•" #Ÿ#k$Ÿ’Ÿ‰#i$ŸŽŸ‚µ#Ÿ—" #A" #Ÿ”"'# #Ÿ•#k$Ÿ’Ÿ‰#i$ŸŽŸ‚¶#Ÿ˜" #A" #Ÿ”"'# #Ÿ•" #Ÿ#k$Ÿ’Ÿ‰#i$ŸŽŸ‚·#Ÿ™'#Ÿd"'#‚Û #Ÿš"'#‚Û #Ÿ›"'#‚Û #šu"'#‚Û #šw‚¸#Ÿœ'#Ÿh"'#‚e #”("'#á #Ÿ‚¹#Ÿž'#Ÿd"'#‚Û #Ÿš"'#‚Û #Ÿ›"'#‚Û #ŸŸ"'#‚Û #šu"'#‚Û #šw"'#‚Û #Ÿ ‚º#Ÿ¡'#I" #Ÿ¢"'#˜< #‚‚»#…€'#I" #Ÿ‡"'#á #Ÿˆ‚¼#Ÿ£'#I"'#‚Û #f"'#‚Û #g"'#‚Û #ƒë"'#‚Û #ƒì‚½#“Ø'#‚€‚¾#“Û#k$“Ü“Ø‚¿#Ÿ¤'#˜"'# #œb"'# #œc"'# #Ÿ”"'# #Ÿ•#i$ŸŽŸ‚À#Ÿ¥" #œb" #œc" #Ÿ”" #Ÿ•#k$Ÿ¦Ÿ¤#i$ŸŽŸ‚Á#Ÿ§'#1&'#‚Û#k$Ÿ¨Ÿ©‚Â#“ÿ'#6‚Ã#Ÿª'#6" #Ÿ«"'#‚Û #Ÿ¬" #Ÿ­"'#á #Ÿˆ‚Ä#šJ'#6" #Ÿ«"'#‚Û #Ÿ¬"'#‚Û #g‚Å#Ÿ®'#Ÿ¯"'#á #‚–‚Æ#Ÿ°'#I"'#˜ #Ÿ‘"'# #š"'# #š"'# #Ÿ±"'# #Ÿ²"'# #Ÿ³"'# #Ÿ´‚Ç#Ÿµ'#I" #Ÿ‘" #š" #š#k$Ÿ¶Ÿ°‚È#Ÿ·'#I" #Ÿ‘" #š" #š" #Ÿ±" #Ÿ²" #Ÿ³" #Ÿ´#k$Ÿ¶Ÿ°‚É#Ÿ¸'#I"'#á #Œ‚Ê#Ÿ¹'#I‚Ë#Ÿº'#I‚Ì#šœ'#I"'#‚Û #šŽ‚Í#Ÿ»'#I‚Î#x'#I"'#‚Û #f"'#‚Û #g‚Ï#Ÿ¼'#I"'#Ÿ½ #†D‚Ð#Ÿj'#I"'#‚Û #ƒÎ"'#‚Û #ƒ‡"'#‚Û #‘R"'#‚Û #`"'#‚Û #ƒÆ"'#‚Û #…T‚Ñ#Ÿ¾'#I"'#Ÿ½ #†D‚Ò#Ÿ¿'#I"'#‚Û #f"'#‚Û #g"'#‚Û #ƒë"'#‚Û #ƒì‚Ó#ŸÀ'#I"'#á #‚–"'#‚Û #f"'#‚Û #g"'#‚Û #ŸÁ‚Ô#‰'#I"'#‚Û #ƒÎ"'#‚Û #ƒ‡"'#‚Û #‘R"'#‚Û #`"'#‚Û #ƒÆ"'#‚Û #…T‚Õ#š¤'#I"'#‚Û #f"'#‚Û #g‚Ö#ŸÂ'#I"'#‚Û #f"'#‚Û #g"'#‚Û #ŸÃ"'#‚Û #ŸÄ"'#‚Û #ŸÅ"'#6 #ŸÆ#k$ŸÇŸÈ‚×#ŸÉ'#I"'#‚Û #šu"'#‚Û #šw"'#‚Û #šv"'#‚Û #šx"'#‚Û #ŸÃ‚Ø#ŸÊ'#I"'#‚Û #ŸË"'#‚Û #ŸÌ"'#‚Û #ŸÍ"'#‚Û #ŸÎ"'#‚Û #f"'#‚Û #g‚Ù#ŸÏ'#I‚Ú#ŸÐ'#I"'#‚Û #f"'#‚Û #g"'#‚Û #š"'#‚Û #š"'#‚Û #ŸÑ"'#‚Û #ŸÄ"'#‚Û #ŸÅ"'#6 #ŸÆ‚Û#ŸÒ'#I"'#‚Û #f"'#‚Û #g‚Ü#ŸÓ'#I"'#‚Û #f"'#‚Û #g‚Ý#ŸÔ'#I"'#‚Û #ŸÕ"'#‚Û #ŸÖ"'#‚Û #f"'#‚Û #g‚Þ#›ù'#I"'#‚Û #f"'#‚Û #g"'#‚Û #ƒë"'#‚Û #ƒì‚ß#Ÿ×'#˜"'#˜ #Ÿ‘‚à#ŸØ'#I"'# #™‹"'# #‘["'# #ƒ‡"'#‚Û #ƒÎ‚á#ŸÙ'#I"'# #ŸÚ"'#‚Û #y"'#‚Û #ƒŠ"'#‚Û #ƒÎ‚â#ŸÛ'#I"'# #™‹"'# #‘["'# #ƒ‡"'#‚Û #ƒÎ‚ã#ŸÜ'#I"'# #ŸÚ"'#‚Û #y"'#‚Û #ƒŠ"'#‚Û #ƒÎ‚ä#ŸÈ'#I"'#‚Û #f"'#‚Û #g"'#‚Û #ŸÃ"'#‚Û #ŸÄ"'#‚Û #ŸÅ"'#6 #ŸÆ‚å#ŸÝ'#Ÿh"'#”' #”("'#á #Ÿ‚æ#ŸÞ'#I"'#Ÿ> #ã"'#ƒð #Ÿß"'#ƒð #Ÿà‚ç#Ÿá'#I"'#Ÿ> #ã"'#‚Û #Ÿâ"'#‚Û #Ÿã#k$ŸäŸá‚è#Ÿå'#I"'#Ÿ> #ã"'#‚Û #Ÿâ"'#‚Û #Ÿã"'#‚Û #Ÿæ"'#‚Û #Ÿç#k$ŸäŸá‚é#Ÿè'#I "'#Ÿ> #ã"'#‚Û #Ÿé"'#‚Û #Ÿê"'#‚Û #Ÿë"'#‚Û #Ÿì"'#‚Û #Ÿâ"'#‚Û #Ÿã"'#‚Û #Ÿæ"'#‚Û #Ÿç#k$ŸäŸá‚ê#Ÿí'#‚Û#“w #“w#“x#“w #“w#—Ì#“w #“w#—Æ$ŸîŸï#’j‚ë #Ÿí"'#‚Û #J#“w #“w#“x#“w #“w#—Ì#“w #“w#—Æ$ŸîŸï#’j‚ì#Ÿ©'#1&'#‚Û#“w #“w#“x#“w #“w#—Ì#“w #“w#—Æ$ŸîŸï#’j‚í#Ÿð'#I"'#1&'#‚Û #Ÿñ#“w #“w#“x#“w #“w#—Ì#“w #“w#—Æ$ŸîŸï#’j‚î#Ÿò'#I"'#á #‚–"'#‚Û #f"'#‚Û #g"'#‚Û #ŸÁ‚ï#Ÿó'#4#‚´‚ðpÀ ¶8À ÆU’‚À ÙUŸlÀ ìVŸlÀ!U˜iÀ!V˜iÀ!7UŸmÀ!fVŸmÀ!‚U”À!•V”À!±UŸpÀ!ÄVŸpÀ!àUŸqÀ!óVŸqÀ"UŸrÀ""VŸrÀ">UŸsÀ"PVŸsÀ"kUŸtÀ"~VŸtÀ"šUŸuÀ"­VŸuÀ"ÉUŸvÀ"ÜVŸvÀ"øU”À# V”À#'UŸwÀ#:VŸwÀ#VUŸxÀ#iVŸxÀ#…UŸyÀ#˜VŸyÀ#´UŸzÀ#ÇVŸzÀ#ãUŸ{À#öVŸ{À$UŸ|À$AVŸ|À$]UŸ}À$pVŸ}À$ŒUŸ~À$ŸVŸ~À$»ŸÀ$ߟ€À% Ÿ‚À%,ŸƒÀ%AŸ„À%VŸ…À%Ÿ†À%ÌŸ‰À&ŸÀ&RŸ“À&‘Ÿ–À&ן—À'Ÿ˜À'hŸ™À'²ŸœÀ'⟞À(FŸ¡À(r…€À(¡Ÿ£À(è“ØÀ(ý“ÛÀ)Ÿ¤À)nŸ¥À)¶Ÿ§À)á“ÿÀ)öŸªÀ*9šJÀ*qŸ®À*”Ÿ°À+ ŸµÀ+AŸ·À+•Ÿ¸À+·Ÿ¹À+ÌŸºÀ+ášœÀ,Ÿ»À,xÀ,DŸ¼À,iŸjÀ,ÌŸ¾À,ñŸ¿À-8ŸÀÀ-‚‰À-嚤À.ŸÂÀ.€ŸÉÀ.ÖŸÊÀ/7ŸÏÀ/LŸÐÀ/ÆŸÒÀ/óŸÓÀ0 ŸÔÀ0g›ùÀ0®Ÿ×À0ПØÀ1ŸÙÀ1eŸÛÀ1¯ŸÜÀ1úŸÈÀ2^ŸÝÀ2ŸÞÀ2ËŸáÀ3ŸåÀ3yŸèÀ4UŸíÀ4aVŸíÀ4ºŸ©À5ŸðÀ5zŸòÀ5ÃUŸó '#‰V'#Ÿô'#Ÿõ#Ÿö#¨$Ÿ÷Ÿö‚ñ 0#Ÿö#8‚ò#A'#á‚ó #A"'#á #J‚ô#'# ‚õ#Ÿø'#I"'#á #A‚ö#Ÿù'#I"'# #…2"'# #‚%‚÷#Ÿú'#I"'# #…2"'#á #A‚ø#Ÿû'#I"'# #…2"'# #‚%"'#á #A‚ù#Ÿü'#á"'# #…2"'# #‚%‚ú#Ÿý'#I"'#‚e #ž ‚û#ž!'#I"'#‚e #ž ‚ü#Ÿþ'#˜<‚ý#Ÿÿ'#˜<‚þ À98À9,UAÀ9>VAÀ9YUÀ9jŸøÀ9‹ŸùÀ9¸ŸúÀ9åŸûÀ:ŸüÀ:LŸýÀ:nž!À:UŸþÀ:£UŸÿ '#‘¸#Ÿõ‚ÿ0#Ÿõ#8ƒ#Ÿý'#I"'#‚e #ž ƒ#ž!'#I"'#‚e #ž ƒ#…—'#IƒÀ;$8À;4ŸýÀ;Už!À;v…— '#‘¸# #¨$  ƒ0# #8ƒ# '#áƒ#Œ'#áƒ#ŒX'#áƒ#…'#რ#Ÿ'#I"'#‚e #„W"'#1&'#‚e # ƒ +À;Ê8À;ÚU À;íUŒÀ<UŒXÀ<U…À<&Ÿ '#‘¸# #¨$  ƒ 0# #8ƒ # '#‚~ƒ #˜Â'#‚~"'#á #Œƒ# '#‚~&'#1&'#‚¨"'#‚€ #„dƒ# '#‚~&'#  "'#á #…ƒÀ<­8À<½ À<Ò˜ÂÀ<ô À=(  '#’Õ#  +#¨$    +ƒ0#  +#8ƒ#  +"'#á #ŒX"'#‚€ #™#ƒ@#’Ú'#  +" #ŒX" #™#ƒ@#’Û'#  +" #ŒXƒ#  '#  ƒÀ=™8À=©^À=Ô’ÚÀ=÷’ÛÀ>U   '#’Õ# #¨$  ƒ0# #8ƒ# "'#á #ŒX"'#‚€ #™#ƒ@#’Ú'# " #ŒX" #™#ƒ@#’Û'# " #ŒXƒ#†'# ƒ#‘Ð'#áƒ# '#6ƒÀ>l8À>|^À>§’ÚÀ>Ê’ÛÀ>æU†À>øU‘ÐÀ? U  '#Ÿö# #¨$  ƒ# "'#á #Aƒ 0# #8ƒ!À?q^À?Ž8 '# # #¨$  ƒ"# "'#á #ŒX"'#6 # "'#6 # "'#¿ #?"'#á #A"'#á # ƒ#0# #8"'#á #ŒX"'#‚€ #™#ƒ$@#’Ú'# " #ŒX" #™#ƒ%@#’Û'# " #ŒXƒ&#A'#áƒ'# '#I"'#á #ŒX"'#6 # "'#6 # "'#¿ #?"'#á #A#k$  ƒ(À?Ï^À@:8À@g’ÚÀ@Š’ÛÀ@¦UAÀ@¸  '#Ä# #“w #“w#“x$  #¨$   !ƒ)0# #8ƒ*# ƒ+## #‡Xƒ,P#“|'#6ƒ-#—'#áƒ. #—"'#á #Jƒ/# "'#1&'#‰V#j$œœ#i$œœƒ0ÀAy8ÀA‰^ÀA—‡XÀA¨U“|ÀA¹U—ÀAÌV—ÀAè " '#‘¸# ##¨$ $ #ƒ10# ##8ƒ2#˜Í'#‚~"'#‚€ #„dƒ3#‰M'#‚~"'#á #à"'#á #J"'#‚€ #„dƒ4ÀBu8ÀB…˜ÍÀBª‰M '#‘¸# %#¨$ & %ƒ50# %#8ƒ6# ''#‚Ûƒ7# ('#‚Ûƒ8# )'#‚Ûƒ9# *'#‚Ûƒ:# +'#‚Ûƒ;# ,'#‚Ûƒ<# -'#‚Ûƒ=ÀC!8ÀC1U 'ÀCDU (ÀCWU )ÀCjU *ÀC}U +ÀCU ,ÀC£U - '#‘¸# .#¨$ / .ƒ>0# .#8ƒ?#Œ'#áƒ@#ŒX'#áƒAÀD8ÀD"UŒÀD5UŒX '#‘¸# 0#¨$ 1 0ƒB0# 0#8ƒC# 2'#á#k$ 3 4ƒD#à'#áƒEÀD8ÀD‘U 2ÀD²Uà '#‘¸# 5#¨$ 6 5ƒF0# 5#8ƒG#ŽÐ'#‚~"'#‚€ #„dƒH#˜Â'#‚~"'#‚€ #„dƒI# 7'#‚~ƒJ# 8'#‚~ƒK# 9'#‚~"'# . # :ƒLÀDþ8ÀEŽÐÀE3˜ÂÀEX 7ÀEm 8ÀE‚ 9 '#‘¸# ;#“w #“w#“x#“w #“w#—Ì#¨$ < ;ƒM# ='#,"'#, #ŽÃƒN0# ;#8ƒOP#“|'#6ƒP# >'# ?ƒQ# @'#,"'#, #ŽÃ#k$ A =#i$ B,#j$ C DƒRÀF =ÀF28ÀFBU“|ÀFSU >ÀFf @ '#‘¸# E#¨$ F EƒS0# E#8ƒT# G'#‚e#i$˜k„`ƒU# H'#6ƒV#ŒX'#áƒW# I'#‚eƒXÀF÷8ÀGU GÀG(U HÀG:UŒXÀGMU I '#‘¸# J#¨$ K LƒY#0# J#8ƒZP# M'# Nƒ[@# O'# P"'#‚Û #Jƒ\@#†±'# P"'#‚Û #Jƒ]@# Q'# P"'#‚Û #Jƒ^@# R'# P"'#‚Û #Jƒ_@# S'# P"'#‚Û #Jƒ`@# T'# P"'#‚Û #Jƒa@# U'# P"'#‚Û #Jƒb@# V'# P"'#‚Û #Jƒc@#…Ú'#á"'#á # Wƒd@#'# P"'#‚Û #Jƒe@#šÚ'# P"'#‚Û #Jƒf@# X'# P"'#‚Û #Jƒg@# Y'# P"'#‚Û #J#k$ Z [ƒh@# \'# P"'#‚Û #Jƒi@# ]'# P"'#‚Û #Jƒj@# ^'# P"'#‚Û #Jƒk@#‚Ü'# P"'#‚Û #Jƒl@# _'# P"'#‚Û #Jƒm@# `'# P"'#‚Û #Jƒn@# a'# P"'#‚Û #Jƒo@# b'# P"'#‚Û #Jƒp@# c'# P"'#‚Û #Jƒq@# d'#I"'#‚€ # eƒr@# f'#I" # e#k$ g dƒs@# h'# P"'#‚Û #Jƒt@#y'# P"'#‚Û #Jƒu@# i'#6"'#á #e"'#á #Jƒv@# j'#6"'#á # k#k$ l iƒw@# m'# P"'#‚Û #Jƒx@# n'# P"'#‚Û #Jƒy@# o'# P"'#‚Û #Jƒz@# p'# P"'#‚Û #Jƒ{@# q'# P"'#‚Û #Jƒ|#ÀG§8ÀG·U MÀGÊ OÀG솱ÀH QÀH0 RÀHR SÀHt TÀH– UÀH¸ VÀHÚ…ÚÀHýÀIšÚÀIA XÀIc YÀI“ \ÀIµ ]ÀI× ^ÀIù‚ÜÀJ _ÀJ= `ÀJ_ aÀJ bÀJ£ cÀJÅ dÀJæ fÀK hÀK2yÀKS iÀK jÀK± mÀKÓ nÀKõ oÀL pÀL9 q '# r# s#¨$ t uƒ}0# s#8ƒ~#†S'#რ#†S"'#á #Jƒ€ÀMs8ÀMƒU†SÀM–V†S '# v# w#¨$ x yƒ0# w#8ƒ‚# k'#ჃÀMë8ÀMûU k '# r# z#¨$ { |ƒ„0# z#8ƒ…# }'# ~ƒ†ÀN@8ÀNPU } '# r# v#¨$  €ƒ‡0# v#8ƒˆ# '#1&'# r#j$ ‚ ƒ#i$ ‚ ƒƒ‰# „'#I"'# #¥ƒŠ# …'# "'#á #6"'# #¥ƒ‹ÀN•8ÀN¥U ÀNÛ „ÀNü … '# †# ‡#¨$ ˆ ‰ƒŒ0# ‡#8ƒ# Š'#‚ÛƒŽ# ‹'#‚Ûƒ# Œ'#‚ÛƒÀOj8ÀOzU ŠÀOU ‹ÀO U Œ '# r# #¨$ Ž ƒ‘0# #8ƒ’#™4'#დ#šó'# ƒ”# ‘'# ’ƒ•ÀOó8ÀPU™4ÀPUšóÀP)U ‘ '# r# “#¨$ ” •ƒ–0# “#8ƒ—# –'#ი # –"'#á #Jƒ™# }'# ~ƒšÀP|8ÀPŒU –ÀPŸV –ÀP»U } '# r# —#¨$ ˜ ™ƒ›0# —#8ƒœ# '#1&'# r#j$ ‚ ƒ#i$ ‚ ƒƒ#à'#პ #à"'#á #JƒŸ#'# “"'# #¥ƒ # š'#I"'#á #6ƒ¡# „'#I"'#á #—ƒ¢#ŽÓ'# “"'#á #—ƒ£ÀQ8ÀQU ÀQTUàÀQgVàÀQƒÀQ¥ šÀQÇ „ÀQéŽÓ '# ›# œ#¨$  žƒ¤0# œ#8ƒ¥# œ"'#á # Ÿƒ¦@#’Ú'# œ" # Ÿƒ§#J'#შ #J"'#á #Jƒ©ÀRh8ÀRx^ÀR“’ÚÀR¯UJÀRÁVJ '#  # ¡#¨$ ¢ £ƒª0# ¡#8ƒ«# ¡"'# ¤ #š¹"'#‚€ #„dƒ¬@#’Ú'# ¡" #š¹" #„dƒ­@#’Û'# ¡" #š¹ƒ®#š¹'# ¥ƒ¯ #š¹"'# ¥ #Jƒ°ÀS 8ÀS0^ÀS[’ÚÀS~’ÛÀSšUš¹ÀS­Vš¹ '# w# ¦#¨$ § ¨ƒ±0# ¦#8ƒ²#šó'# ƒ³ÀT8ÀT&Ušó '# r# ©#¨$ ª «ƒ´0# ©#8ƒµ# ¬'#á#k$ ­ ®ƒ¶#†ž'#ჷÀTk8ÀT{U ¬ÀTœU†ž '# ›# ¯#¨$ ° ±ƒ¸0# ¯#8ƒ¹#‚'# ¯"'# ¯ #Jƒº# ²'# ¯"'#‚Û #Jƒ»# ³'# ¯"'#‚Û #Jƒ¼@#„i'# ¯"'#á # ´ƒ½#‰Ô'# ¯"'# ¯ #Jƒ¾#†'# ¯"'#á #”|ƒ¿ÀTè8ÀTø‚ÀU ²ÀU< ³ÀU^„iÀU‰ÔÀU£† '# r# µ#¨$ ¶ ·ƒÀ0# µ#8ƒÁ# ¸'#áƒÂ # ¸"'#á #JƒÃ# }'# ~ƒÄÀV8ÀV+U ¸ÀV>V ¸ÀVZU } '#  # ¹#¨$ º »ƒÅ0# ¹#8ƒÆ# ¹"'# ¯ #ƒÇ@#’Ú'# ¹" #ƒÈ#'# ¯ƒÉ #"'# ¯ #JƒÊÀV­8ÀV½^ÀV×’ÚÀVòUÀWV '# ›# ¼#¨$ ½ ¾ƒË0# ¼#8ƒÌ# ¼"'# ¯ #f"'# ¯ #gƒÍ@#’Ú'# ¼" #f" #gƒÎ#f'# ¯ƒÏ #f"'# ¯ #JƒÐ#g'# ¯ƒÑ #g"'# ¯ #JƒÒÀWc8ÀWs^ÀW™’ÚÀWºUfÀWÌVfÀWçUgÀWùVg '# ›# †#¨$ ¿ ÀƒÓ0# †#8ƒÔ#‚('#áƒÕÀXd8ÀXtU‚( '#  # Á#¨$ Â ÃƒÖ 0# Á#8ƒ×# Á" # Ä"'#‚Û #g"'#‚Û #h"'# ¯ #šŽƒØ@#’Ú'# Á" # ÄƒÙ@#’Û'# Á" # Ä" #g" #h" #šŽƒÚ#šŽ'# ¯ƒÛ #šŽ"'# ¯ #JƒÜ#f'#‚ÛƒÝ #f"'#‚Û #JƒÞ#g'#‚Ûƒß #g"'#‚Û #Jƒà#h'#‚Ûƒá #h"'#‚Û #Jƒâ ÀX¹8ÀXÉ^ÀY ’ÚÀY(’ÛÀYWUšŽÀYjVšŽÀY†UfÀY˜VfÀY³UgÀYÅVgÀYàUhÀYòVh '#‘¸# r#¨$ Å Æƒã0# r#8ƒä@+'# *# Çƒå@+'# *# Èƒæ@+'# *# Éƒç@+'# *# Êƒè@+'# *# Ëƒé@+'# *# Ìƒê@+'# *# Í +ƒë@+'# *# Îƒì@+'# *# Ïƒí@+'# *# Ð ƒî@+'# *# Ñƒï# ´'#áƒð # ´"'#á #Jƒñ# Ò'# rƒò# Ó'# ’ƒó#ŒX'# ƒôÀZ~8ÀZŽ ÇÀZ¦ ÈÀZ¾ ÉÀZÖ ÊÀZî ËÀ[ ÌÀ[ ÍÀ[6 ÎÀ[N ÏÀ[f ÐÀ[~ ÑÀ[–U ´À[©V ´À[ÅU ÒÀ[ØU ÓÀ[ëUŒX '#  # Ô#¨$ Õ Öƒõ +0# Ô#8ƒö# Ô"'#‚Û #f"'#‚Û #g"'#‚Û #hƒ÷@#’Ú'# Ô" #f" #gƒø@#’Û'# Ô" #f" #g" #hƒù#f'#‚Ûƒú #f"'#‚Û #Jƒû#g'#‚Ûƒü #g"'#‚Û #Jƒý#h'#‚Ûƒþ #h"'#‚Û #Jƒÿ +À\£8À\³^À\è’ÚÀ] ’ÛÀ]0UfÀ]BVfÀ]]UgÀ]oVgÀ]ŠUhÀ]œVh '#  # ×#¨$ Ø Ù„0# ×#8„# ×"'# ¯ # Ú"'# ¯ # Û„@#’Ú'# ×" # Ú" # Û„# Ú'# ¯„ # Ú"'# ¯ #J„# Û'# ¯„ # Û"'# ¯ #J„À^8À^*^À^R’ÚÀ^uU ÚÀ^ˆV ÚÀ^¤U ÛÀ^·V Û '#‘¸-'# Ü# ~#¨$ Ý Þ„‚# ~„ 0# ~# ß"'#á # ß„ +# à'#á"'#á #K„ # á'#á"'#á #K„ # â'#6"'#á #K„ # ã'#6"'#á #K„#ð'#I"'#á #K"'#á #J"'#á #‹É„# ä'#á"'#á #K„# å'#á"'#á #K„@+*# æ„@# ç'#á"'#á #‚¦„@# è'#I"'#á #‚¦"'#á #J„@# é'#á"'#á # ê„# ë'#I"'#á #K"'#á #J"'#á #‹É„P# ì'#6„0# ~#8„# í'#á„ # í"'#á #J„# ´'#á„ # ´"'#á #J„#'# „# Ò'# r„# î'#á"'#á #e„# ï'#á"'#á #e#k$ ð à„ #.'#á"'# #¥„!# ñ'#á"'#á #e„"# ò'#á„# # ò"'#á #J„$# ó'#á#j$ ôá#k$ õ ò„% # ó"'#á #J#k$ õ ò„&# ö'#á„' # ö"'#á #J„(# ÷'#á#j$ ôá#k$ ø ö„) # ÷"'#á #J#k$ ø ö„*# ù'#á„+ # ù"'#á #J„,# ú'#á#j$ ôá#k$ û ù„- # ú"'#á #J#k$ û ù„.# ü'#á„/ # ü"'#á #J„0# ý'#á#j$ ôá#k$ þ ü„1 # ý"'#á #J#k$ þ ü„2# ÿ'#á„3 # ÿ"'#á #J„4#¡'#á#j$ ôá#k$¡ ÿ„5 #¡"'#á #J#k$¡ ÿ„6#¡'#á„7 #¡"'#á #J„8#¡'#á#j$ ôá#k$¡¡„9 #¡"'#á #J#k$¡¡„:#“©'#á„; #“©"'#á #J„<#¡'#á#j$ ôá#k$¡“©„= #¡"'#á #J#k$¡“©„>#¡'#á„? #¡"'#á #J„@#¡'#á#j$ ôá#k$¡ ¡„A #¡"'#á #J#k$¡ ¡„B#¡ +'#á„C #¡ +"'#á #J„D#¡ '#á#j$ ôá#k$¡ ¡ +„E #¡ "'#á #J#k$¡ ¡ +„F#¡ '#á„G #¡ "'#á #J„H#¡'#á#j$ ôá#k$¡¡ „I #¡"'#á #J#k$¡¡ „J#¡'#á„K #¡"'#á #J„L#¡'#á#j$ ôá#k$¡¡„M #¡"'#á #J#k$¡¡„N#¡'#á„O #¡"'#á #J„P#¡'#á#j$ ôá#k$¡¡„Q #¡"'#á #J#k$¡¡„R#¡'#á„S #¡"'#á #J„T#¡'#á#j$ ôá#k$¡¡„U #¡"'#á #J#k$¡¡„V#¡'#á„W #¡"'#á #J„X#¡'#á#j$ ôá#k$¡¡„Y #¡"'#á #J#k$¡¡„Z#¡'#á„[ #¡"'#á #J„\#¡'#á#j$ ôá#k$¡¡„] #¡"'#á #J#k$¡¡„^#¡'#á„_ #¡"'#á #J„`#¡ '#á#j$ ôá#k$¡!¡„a #¡ "'#á #J#k$¡!¡„b#¡"'#á„c #¡""'#á #J„d#¡#'#á#j$ ôá#k$¡$¡"„e #¡#"'#á #J#k$¡$¡"„f#¡%'#á„g #¡%"'#á #J„h#¡&'#á#j$ ôá#k$¡'¡%„i #¡&"'#á #J#k$¡'¡%„j#¡('#á„k #¡("'#á #J„l#¡)'#á#j$ ôá#k$¡*¡(„m #¡)"'#á #J#k$¡*¡(„n#¡+'#á„o #¡+"'#á #J„p#¡,'#á#j$ ôá#k$¡-¡+„q #¡,"'#á #J#k$¡-¡+„r#¡.'#á„s #¡."'#á #J„t#¡/'#á#j$ ôá#k$¡0¡.„u #¡/"'#á #J#k$¡0¡.„v#¡1'#á„w #¡1"'#á #J„x#¡2'#á#j$ ôá#k$¡3¡1„y #¡2"'#á #J#k$¡3¡1„z#¡4'#á„{ #¡4"'#á #J„|#¡5'#á#j$ ôá#k$¡6¡4„} #¡5"'#á #J#k$¡6¡4„~#¡7'#á„ #¡7"'#á #J„€#¡8'#á#j$ ôá#k$¡9¡7„ #¡8"'#á #J#k$¡9¡7„‚#¡:'#ᄃ #¡:"'#á #J„„#¡;'#á#j$ ôá#k$¡<¡:„… #¡;"'#á #J#k$¡<¡:„†#¡='#ᄇ #¡="'#á #J„ˆ#¡>'#á#j$ ôá#k$¡?¡=„‰ #¡>"'#á #J#k$¡?¡=„Š#¡@'#á„‹ #¡@"'#á #J„Œ#¡A'#á#j$ ôá#k$¡B¡@„ #¡A"'#á #J#k$¡B¡@„Ž#¡C'#á„ #¡C"'#á #J„#¡D'#á#j$ ôá#k$¡E¡C„‘ #¡D"'#á #J#k$¡E¡C„’#ƒî'#á„“ #ƒî"'#á #J„”#¡F'#á#j$ ôá#k$¡Gƒî„• #¡F"'#á #J#k$¡Gƒî„–#¡H'#á„— #¡H"'#á #J„˜#¡I'#á#j$ ôá#k$¡J¡H„™ #¡I"'#á #J#k$¡J¡H„š#…“'#á„› #…“"'#á #J„œ#ˆ5'#á#j$ ôá#k$˜ï…“„ #ˆ5"'#á #J#k$˜ï…“„ž#Ÿ†'#á„Ÿ #Ÿ†"'#á #J„ #¡K'#á#j$ ôá#k$¡LŸ†„¡ #¡K"'#á #J#k$¡LŸ†„¢#Ÿg'#á„£ #Ÿg"'#á #J„¤#¡M'#á#j$ ôá#k$¡NŸg„¥ #¡M"'#á #J#k$¡NŸg„¦#†''#ᄧ #†'"'#á #J„¨#¡O'#á#j$ ôá#k$¡P†'„© #¡O"'#á #J#k$¡P†'„ª#¡Q'#á„« #¡Q"'#á #J„¬#¡R'#á#j$ ôá#k$¡S¡Q„­ #¡R"'#á #J#k$¡S¡Q„®#˜i'#ᄯ #˜i"'#á #J„°#¡T'#á#j$ ôá#k$¡U˜i„± #¡T"'#á #J#k$¡U˜i„²#¡V'#ᄳ #¡V"'#á #J„´#¡W'#á#j$ ôá#k$¡X¡V„µ #¡W"'#á #J#k$¡X¡V„¶#¡Y'#á„· #¡Y"'#á #J„¸#¡Z'#á#j$ ôá#k$¡[¡Y„¹ #¡Z"'#á #J#k$¡[¡Y„º#Ÿp'#á„» #Ÿp"'#á #J„¼#¡\'#á#j$ ôá#k$¡]Ÿp„½ #¡\"'#á #J#k$¡]Ÿp„¾#¡^'#á„¿ #¡^"'#á #J„À#¡_'#á#j$ ôá#k$¡`¡^„Á #¡_"'#á #J#k$¡`¡^„Â#¡a'#á„à #¡a"'#á #J„Ä#¡b'#á#j$ ôá#k$¡c¡a„Å #¡b"'#á #J#k$¡c¡a„Æ#¡d'#á„Ç #¡d"'#á #J„È#¡e'#á#j$ ôá#k$¡f¡d„É #¡e"'#á #J#k$¡f¡d„Ê#¡g'#á„Ë #¡g"'#á #J„Ì#¡h'#á#j$ ôá#k$¡i¡g„Í #¡h"'#á #J#k$¡i¡g„Î#¡j'#á„Ï #¡j"'#á #J„Ð#¡k'#á#j$ ôá#k$¡l¡j„Ñ #¡k"'#á #J#k$¡l¡j„Ò#ƒì'#á„Ó #ƒì"'#á #J„Ô#ƒý'#á#j$ ôá#k$¡mƒì„Õ #ƒý"'#á #J#k$¡mƒì„Ö#ƒé'#á„× #ƒé"'#á #J„Ø#‰X'#á#j$ ôá#k$¡nƒé„Ù #‰X"'#á #J#k$¡nƒé„Ú#¡o'#á„Û #¡o"'#á #J„Ü#¡p'#á#j$ ôá#k$¡q¡o„Ý #¡p"'#á #J#k$¡q¡o„Þ#¡r'#á„ß #¡r"'#á #J„à#¡s'#á#j$ ôá#k$¡t¡r„á #¡s"'#á #J#k$¡t¡r„â#¡u'#á„ã #¡u"'#á #J„ä#¡v'#á#j$ ôá#k$¡w¡u„å #¡v"'#á #J#k$¡w¡u„æ#¡x'#á„ç #¡x"'#á #J„è#¡y'#á#j$ ôá#k$¡z¡x„é #¡y"'#á #J#k$¡z¡x„ê#¡{'#á„ë #¡{"'#á #J„ì#¡|'#á#j$ ôá#k$¡}¡{„í #¡|"'#á #J#k$¡}¡{„î#¡~'#á„ï #¡~"'#á #J„ð#¡'#á#j$ ôá#k$¡€¡~„ñ #¡"'#á #J#k$¡€¡~„ò#¡'#á„ó #¡"'#á #J„ô#¡‚'#á#j$ ôá#k$¡ƒ¡„õ #¡‚"'#á #J#k$¡ƒ¡„ö#¡„'#á„÷ #¡„"'#á #J„ø#¡…'#á#j$ ôá#k$¡†¡„„ù #¡…"'#á #J#k$¡†¡„„ú#¡‡'#á„û #¡‡"'#á #J„ü#¡ˆ'#á#j$ ôá#k$¡‰¡‡„ý #¡ˆ"'#á #J#k$¡‰¡‡„þ#¡Š'#á„ÿ #¡Š"'#á #J…#¡‹'#á#j$ ôá#k$¡Œ¡Š… #¡‹"'#á #J#k$¡Œ¡Š…#¡'#á… #¡"'#á #J…#¡Ž'#á#j$ ôá#k$¡¡… #¡Ž"'#á #J#k$¡¡…#¡'#á… #¡"'#á #J…#¡‘'#á#j$ ôá#k$¡’¡…  #¡‘"'#á #J#k$¡’¡… +#ŸÁ'#á…  #ŸÁ"'#á #J… #¡“'#á#j$ ôá#k$¡”ŸÁ…  #¡“"'#á #J#k$¡”ŸÁ…#¡•'#á… #¡•"'#á #J…#¡–'#á#j$ ôá#k$¡—¡•… #¡–"'#á #J#k$¡—¡•…#¡˜'#á… #¡˜"'#á #J…#¡™'#á#j$ ôá#k$¡š¡˜… #¡™"'#á #J#k$¡š¡˜…#¡›'#á… #¡›"'#á #J…#¡œ'#á#j$ ôá#k$¡¡›… #¡œ"'#á #J#k$¡¡›…#¡ž'#á… #¡ž"'#á #J…#¡Ÿ'#á#j$ ôá#k$¡ ¡ž… #¡Ÿ"'#á #J#k$¡ ¡ž…#¡¡'#á… #¡¡"'#á #J… #¡¢'#á#j$ ôá#k$¡£¡¡…! #¡¢"'#á #J#k$¡£¡¡…"#¡¤'#á…# #¡¤"'#á #J…$#¡¥'#á#j$ ôá#k$¡¦¡¤…% #¡¥"'#á #J#k$¡¦¡¤…&#¡§'#á…' #¡§"'#á #J…(#¡¨'#á#j$ ôá#k$¡©¡§…) #¡¨"'#á #J#k$¡©¡§…*#† '#á…+ #† "'#á #J…,#‚9'#á#j$ ôá#k$¡ª† …- #‚9"'#á #J#k$¡ª† ….#¡«'#á…/ #¡«"'#á #J…0#¡¬'#á#j$ ôá#k$¡­¡«…1 #¡¬"'#á #J#k$¡­¡«…2#¡®'#á…3 #¡®"'#á #J…4#¡¯'#á#j$ ôá#k$¡°¡®…5 #¡¯"'#á #J#k$¡°¡®…6#¡±'#á…7 #¡±"'#á #J…8#¡²'#á#j$ ôá#k$¡³¡±…9 #¡²"'#á #J#k$¡³¡±…:#¡´'#á…; #¡´"'#á #J…<#¡µ'#á#j$ ôá#k$¡¶¡´…= #¡µ"'#á #J#k$¡¶¡´…>#¡·'#á…? #¡·"'#á #J…@#¡¸'#á#j$ ôá#k$¡¹¡·…A #¡¸"'#á #J#k$¡¹¡·…B#¡º'#á…C #¡º"'#á #J…D#¡»'#á#j$ ôá#k$¡¼¡º…E #¡»"'#á #J#k$¡¼¡º…F#¡½'#á…G #¡½"'#á #J…H#¡¾'#á#j$ ôá#k$¡¿¡½…I #¡¾"'#á #J#k$¡¿¡½…J#'#á…K #"'#á #J…L#† '#á#j$ ôá#k$¡À…M #† "'#á #J#k$¡À…N#¡Á'#á…O #¡Á"'#á #J…P#¡Â'#á#j$ ôá#k$¡Ã¡Á…Q #¡Â"'#á #J#k$¡Ã¡Á…R#ƒí'#á…S #ƒí"'#á #J…T#‰Y'#á#j$ ôá#k$¡Äƒí…U #‰Y"'#á #J#k$¡Äƒí…V#¡Å'#á…W #¡Å"'#á #J…X#¡Æ'#á#j$ ôá#k$¡Ç¡Å…Y #¡Æ"'#á #J#k$¡Ç¡Å…Z#Ÿ}'#á…[ #Ÿ}"'#á #J…\#¡È'#á#j$ ôá#k$¡ÉŸ}…] #¡È"'#á #J#k$¡ÉŸ}…^#¡Ê'#á…_ #¡Ê"'#á #J…`#¡Ë'#á#j$ ôá#k$¡Ì¡Ê…a #¡Ë"'#á #J#k$¡Ì¡Ê…b#¡Í'#á…c #¡Í"'#á #J…d#¡Î'#á#j$ ôá#k$¡Ï¡Í…e #¡Î"'#á #J#k$¡Ï¡Í…f#¡Ð'#á…g #¡Ð"'#á #J…h#¡Ñ'#á#j$ ôá#k$¡Ò¡Ð…i #¡Ñ"'#á #J#k$¡Ò¡Ð…j#ƒê'#á…k #ƒê"'#á #J…l#¡Ó'#á#j$ ôá#k$¡Ôƒê…m #¡Ó"'#á #J#k$¡Ôƒê…n#¡Õ'#á…o #¡Õ"'#á #J…p#¡Ö'#á#j$ ôá#k$¡×¡Õ…q #¡Ö"'#á #J#k$¡×¡Õ…r#¡Ø'#á…s #¡Ø"'#á #J…t#¡Ù'#á#j$ ôá#k$¡Ú¡Ø…u #¡Ù"'#á #J#k$¡Ú¡Ø…v#¡Û'#á…w #¡Û"'#á #J…x#¡Ü'#á#j$ ôá#k$¡Ý¡Û…y #¡Ü"'#á #J#k$¡Ý¡Û…z#¡Þ'#á…{ #¡Þ"'#á #J…|#¡ß'#á#j$ ôá#k$¡à¡Þ…} #¡ß"'#á #J#k$¡à¡Þ…~#ƒë'#á… #ƒë"'#á #J…€#ƒü'#á#j$ ôá#k$¡áƒë… #ƒü"'#á #J#k$¡áƒë…‚#¡â'#á…ƒ #¡â"'#á #J…„#¡ã'#á#j$ ôá#k$¡ä¡â…… #¡ã"'#á #J#k$¡ä¡â…†#¡å'#á…‡ #¡å"'#á #J…ˆ#¡æ'#á#j$ ôá#k$¡ç¡å…‰ #¡æ"'#á #J#k$¡ç¡å…Š‚À_0^À_> ßÀ_\ àÀ_~ áÀ_  âÀ_Á ãÀ_âðÀ` äÀ`A åÀ`c æÀ`t çÀ`– èÀ`àéÀ`å ëÀa"U ìÀa38ÀaCU íÀaVV íÀarU ´Àa…V ´Àa¡UÀa²U ÒÀaÅ îÀaè ïÀb.Àb; ñÀb^U òÀbpV òÀb‹U óÀbºV óÀbäU öÀböV öÀcU ÷Àc@V ÷ÀcjU ùÀc|V ùÀc—U úÀcÆV úÀcðU üÀdV üÀdU ýÀdLV ýÀdvU ÿÀdˆV ÿÀd£U¡ÀdÒV¡ÀdüU¡ÀeV¡Àe)U¡ÀeXV¡Àe‚U“©Àe”V“©Àe¯U¡ÀeÞV¡ÀfU¡ÀfV¡Àf5U¡ÀfdV¡ÀfŽU¡ +Àf V¡ +Àf»U¡ ÀfêV¡ ÀgU¡ Àg&V¡ ÀgAU¡ÀgpV¡ÀgšU¡Àg¬V¡ÀgÇU¡ÀgöV¡Àh U¡Àh2V¡ÀhMU¡Àh|V¡Àh¦U¡Àh¸V¡ÀhÓU¡ÀiV¡Ài,U¡Ài>V¡ÀiYU¡ÀiˆV¡Ài²U¡ÀiÄV¡ÀißU¡ÀjV¡Àj8U¡ÀjJV¡ÀjeU¡ Àj”V¡ Àj¾U¡"ÀjÐV¡"ÀjëU¡#ÀkV¡#ÀkDU¡%ÀkVV¡%ÀkqU¡&Àk V¡&ÀkÊU¡(ÀkÜV¡(Àk÷U¡)Àl&V¡)ÀlPU¡+ÀlbV¡+Àl}U¡,Àl¬V¡,ÀlÖU¡.ÀlèV¡.ÀmU¡/Àm2V¡/Àm\U¡1ÀmnV¡1Àm‰U¡2Àm¸V¡2ÀmâU¡4ÀmôV¡4ÀnU¡5Àn>V¡5ÀnhU¡7ÀnzV¡7Àn•U¡8ÀnÄV¡8ÀnîU¡:ÀoV¡:ÀoU¡;ÀoJV¡;ÀotU¡=Ào†V¡=Ào¡U¡>ÀoÐV¡>ÀoúU¡@Àp V¡@Àp'U¡AÀpVV¡AÀp€U¡CÀp’V¡CÀp­U¡DÀpÜV¡DÀqUƒîÀqVƒîÀq3U¡FÀqbV¡FÀqŒU¡HÀqžV¡HÀq¹U¡IÀqèV¡IÀrU…“Àr$V…“Àr?Uˆ5ÀrnVˆ5Àr˜UŸ†ÀrªVŸ†ÀrÅU¡KÀrôV¡KÀsUŸgÀs0VŸgÀsKU¡MÀszV¡MÀs¤U†'Às¶V†'ÀsÑU¡OÀtV¡OÀt*U¡QÀtU¡ÍÀŒPV¡ÍÀŒkU¡ÎÀŒšV¡ÎÀŒÄU¡ÐÀŒÖV¡ÐÀŒñU¡ÑÀ V¡ÑÀJUƒêÀ\VƒêÀwU¡ÓÀ¦V¡ÓÀÐU¡ÕÀâV¡ÕÀýU¡ÖÀŽ,V¡ÖÀŽVU¡ØÀŽhV¡ØÀŽƒU¡ÙÀŽ²V¡ÙÀŽÜU¡ÛÀŽîV¡ÛÀ U¡ÜÀ8V¡ÜÀbU¡ÞÀtV¡ÞÀU¡ßÀ¾V¡ßÀèUƒëÀúVƒëÀUƒüÀDVƒüÀnU¡âÀ€V¡âÀ›U¡ãÀÊV¡ãÀôU¡åÀ‘V¡åÀ‘!U¡æÀ‘PV¡æ '#‚e-'# Ü#¡è…‹`+'#‚X&'#˜<*#¡é…Œ+'#‚X&'# ~*#¡ê…#¡è #¡é…Ž# à'#á"'#á #K…#ð'#I"'#á #K"'#á #J"'#á #‹É…#¡ë'#I"'#á #K"'#á #J…‘ # ò"'#á #J…’ # ö"'#á #J…“ # ù"'#á #J…” # ü"'#á #J…• # ÿ"'#á #J…– #¡"'#á #J…— #“©"'#á #J…˜ #¡"'#á #J…™ #¡ +"'#á #J…š #¡ "'#á #J…› #¡"'#á #J…œ #¡"'#á #J… #¡"'#á #J…ž #¡"'#á #J…Ÿ #¡"'#á #J…  #¡"'#á #J…¡ #¡""'#á #J…¢ #¡%"'#á #J…£ #¡("'#á #J…¤ #¡+"'#á #J…¥ #¡."'#á #J…¦ #¡1"'#á #J…§ #¡4"'#á #J…¨ #¡7"'#á #J…© #¡:"'#á #J…ª #¡="'#á #J…« #¡@"'#á #J…¬ #¡C"'#á #J…­ #ƒî"'#á #J…® #¡H"'#á #J…¯ #…“"'#á #J…° #Ÿ†"'#á #J…± #Ÿg"'#á #J…² #†'"'#á #J…³ #¡Q"'#á #J…´ #˜i"'#á #J…µ #¡V"'#á #J…¶ #¡Y"'#á #J…· #Ÿp"'#á #J…¸ #¡^"'#á #J…¹ #¡a"'#á #J…º #¡d"'#á #J…» #¡g"'#á #J…¼ #¡j"'#á #J…½ #ƒì"'#á #J…¾ #ƒé"'#á #J…¿ #¡o"'#á #J…À #¡r"'#á #J…Á #¡u"'#á #J… #¡x"'#á #J…à #¡{"'#á #J…Ä #¡~"'#á #J…Å #¡"'#á #J…Æ #¡„"'#á #J…Ç #¡‡"'#á #J…È #¡Š"'#á #J…É #¡"'#á #J…Ê #¡"'#á #J…Ë #ŸÁ"'#á #J…Ì #¡•"'#á #J…Í #¡˜"'#á #J…Î #¡›"'#á #J…Ï #¡ž"'#á #J…Ð #¡¡"'#á #J…Ñ #¡¤"'#á #J…Ò #¡§"'#á #J…Ó #† "'#á #J…Ô #¡«"'#á #J…Õ #¡®"'#á #J…Ö #¡±"'#á #J…× #¡´"'#á #J…Ø #¡·"'#á #J…Ù #¡º"'#á #J…Ú #¡½"'#á #J…Û #"'#á #J…Ü #¡Á"'#á #J…Ý #ƒí"'#á #J…Þ #¡Å"'#á #J…ß #Ÿ}"'#á #J…à #¡Ê"'#á #J…á #¡Í"'#á #J…â #¡Ð"'#á #J…ã #ƒê"'#á #J…ä #¡Õ"'#á #J…å #¡Ø"'#á #J…æ #¡Û"'#á #J…ç #¡Þ"'#á #J…è #ƒë"'#á #J…é #¡â"'#á #J…ê #¡å"'#á #J…ë`Àœ&¡éÀœE¡êÀœd^Àœ{ àÀœðÀœÚ¡ëÀV òÀ"V öÀ=V ùÀXV üÀsV ÿÀŽV¡À©V“©ÀÄV¡ÀßV¡ +ÀúV¡ ÀžV¡Àž0V¡ÀžKV¡ÀžfV¡ÀžV¡ÀžœV¡Àž·V¡"ÀžÒV¡%ÀžíV¡(ÀŸV¡+ÀŸ#V¡.ÀŸ>V¡1ÀŸYV¡4ÀŸtV¡7ÀŸV¡:ÀŸªV¡=ÀŸÅV¡@ÀŸàV¡CÀŸûVƒîÀ V¡HÀ 1V…“À LVŸ†À gVŸgÀ ‚V†'À V¡QÀ ¸V˜iÀ ÓV¡VÀ îV¡YÀ¡ VŸpÀ¡$V¡^À¡?V¡aÀ¡ZV¡dÀ¡uV¡gÀ¡V¡jÀ¡«VƒìÀ¡ÆVƒéÀ¡áV¡oÀ¡üV¡rÀ¢V¡uÀ¢2V¡xÀ¢MV¡{À¢hV¡~À¢ƒV¡À¢žV¡„À¢¹V¡‡À¢ÔV¡ŠÀ¢ïV¡À£ +V¡À£%VŸÁÀ£@V¡•À£[V¡˜À£vV¡›À£‘V¡žÀ£¬V¡¡À£ÇV¡¤À£âV¡§À£ýV† À¤V¡«À¤3V¡®À¤NV¡±À¤iV¡´À¤„V¡·À¤ŸV¡ºÀ¤ºV¡½À¤ÕVÀ¤ðV¡ÁÀ¥ VƒíÀ¥&V¡ÅÀ¥AVŸ}À¥\V¡ÊÀ¥wV¡ÍÀ¥’V¡ÐÀ¥­VƒêÀ¥ÈV¡ÕÀ¥ãV¡ØÀ¥þV¡ÛÀ¦V¡ÞÀ¦4VƒëÀ¦OV¡âÀ¦jV¡å# Ü…ì‚®# à'#á"'#á #K…í#ð'#I"'#á #K"'#á #J"'#á #‹É…î#¡ì'#á…ï #¡ì"'#á #J…ð#¡í'#á…ñ #¡í"'#á #J…ò#¡î'#á…ó #¡î"'#á #J…ô#¡ï'#á…õ #¡ï"'#á #J…ö#¡ð'#á…÷ #¡ð"'#á #J…ø#¡ñ'#á…ù #¡ñ"'#á #J…ú#¡ò'#á…û #¡ò"'#á #J…ü#¡ó'#á…ý #¡ó"'#á #J…þ#¡ô'#á…ÿ #¡ô"'#á #J†#žU'#ᆠ#žU"'#á #J†#¡õ'#ᆠ#¡õ"'#á #J†#¡ö'#ᆠ#¡ö"'#á #J†#¡÷'#ᆠ#¡÷"'#á #J†#¡ø'#ᆠ #¡ø"'#á #J† +#¡ù'#ᆠ #¡ù"'#á #J† #¡ú'#ᆠ #¡ú"'#á #J†# ò'#ᆠ# ò"'#á #J†# ö'#ᆠ# ö"'#á #J†#¡û'#ᆠ#¡û"'#á #J†#¡ü'#ᆠ#¡ü"'#á #J†# ù'#ᆠ# ù"'#á #J†#¡ý'#ᆠ#¡ý"'#á #J†# ü'#ᆠ# ü"'#á #J†#¡þ'#ᆠ#¡þ"'#á #J†# ÿ'#ᆠ# ÿ"'#á #J† #¡ÿ'#á†! #¡ÿ"'#á #J†"#¢'#á†# #¢"'#á #J†$#¡'#á†% #¡"'#á #J†&#¢'#á†' #¢"'#á #J†(#¢'#á†) #¢"'#á #J†*#¢'#á†+ #¢"'#á #J†,#“©'#á†- #“©"'#á #J†.#¢'#á†/ #¢"'#á #J†0#¢'#á†1 #¢"'#á #J†2#¢'#á†3 #¢"'#á #J†4#¢'#á†5 #¢"'#á #J†6#¢'#á†7 #¢"'#á #J†8#¢ '#á†9 #¢ "'#á #J†:#¢ +'#á†; #¢ +"'#á #J†<#¢ '#á†= #¢ "'#á #J†>#¡'#á†? #¡"'#á #J†@#¡ +'#á†A #¡ +"'#á #J†B#¢ '#á†C #¢ "'#á #J†D#¢ '#á†E #¢ "'#á #J†F#¡ '#á†G #¡ "'#á #J†H#¡'#á†I #¡"'#á #J†J#¡'#á†K #¡"'#á #J†L#¡'#á†M #¡"'#á #J†N#¢'#á†O #¢"'#á #J†P#¢'#á†Q #¢"'#á #J†R#¢'#á†S #¢"'#á #J†T#¢'#á†U #¢"'#á #J†V#¢'#á†W #¢"'#á #J†X#¢'#á†Y #¢"'#á #J†Z#¢'#á†[ #¢"'#á #J†\#¢'#á†] #¢"'#á #J†^#¢'#á†_ #¢"'#á #J†`#¢'#á†a #¢"'#á #J†b#¢'#á†c #¢"'#á #J†d#¢'#á†e #¢"'#á #J†f#¡'#á†g #¡"'#á #J†h#¡'#á†i #¡"'#á #J†j#¡'#á†k #¡"'#á #J†l#¡"'#á†m #¡""'#á #J†n#¢'#á†o #¢"'#á #J†p#¡%'#á†q #¡%"'#á #J†r#¡('#á†s #¡("'#á #J†t#¡+'#á†u #¡+"'#á #J†v#¡.'#á†w #¡."'#á #J†x#¡1'#á†y #¡1"'#á #J†z#¢'#á†{ #¢"'#á #J†|#¢'#á†} #¢"'#á #J†~#¢'#ᆠ#¢"'#á #J†€#¢'#ᆠ#¢"'#á #J†‚#¡4'#ᆃ #¡4"'#á #J†„#¡7'#ᆅ #¡7"'#á #J††#¡:'#ᆇ #¡:"'#á #J†ˆ#¢'#ᆉ #¢"'#á #J†Š#¢ '#ᆋ #¢ "'#á #J†Œ#¡='#ᆠ#¡="'#á #J†Ž#¡@'#ᆠ#¡@"'#á #J†#¢!'#ᆑ #¢!"'#á #J†’#¡C'#ᆓ #¡C"'#á #J†”#ƒî'#ᆕ #ƒî"'#á #J†–#¢"'#ᆗ #¢""'#á #J†˜#¢#'#ᆙ #¢#"'#á #J†š#¢$'#ᆛ #¢$"'#á #J†œ#¢%'#ᆠ#¢%"'#á #J†ž#¢&'#ᆟ #¢&"'#á #J† #¢''#ᆡ #¢'"'#á #J†¢#¢('#ᆣ #¢("'#á #J†¤#¢)'#ᆥ #¢)"'#á #J†¦#¢*'#ᆧ #¢*"'#á #J†¨#¢+'#ᆩ #¢+"'#á #J†ª#¢,'#ᆫ #¢,"'#á #J†¬#¢-'#ᆭ #¢-"'#á #J†®#¡H'#ᆯ #¡H"'#á #J†°#…“'#ᆱ #…“"'#á #J†²#Ÿ†'#ᆳ #Ÿ†"'#á #J†´#¢.'#ᆵ #¢."'#á #J†¶#Ÿg'#ᆷ #Ÿg"'#á #J†¸#¢/'#ᆹ #¢/"'#á #J†º#¢0'#ᆻ #¢0"'#á #J†¼#¢1'#ᆽ #¢1"'#á #J†¾#¢2'#ᆿ #¢2"'#á #J†À#¢3'#á†Á #¢3"'#á #J†Â#¢4'#á†Ã #¢4"'#á #J†Ä#¢5'#á†Å #¢5"'#á #J†Æ#¢6'#á†Ç #¢6"'#á #J†È#¢7'#á†É #¢7"'#á #J†Ê#¢8'#á†Ë #¢8"'#á #J†Ì#¢9'#á†Í #¢9"'#á #J†Î#¢:'#á†Ï #¢:"'#á #J†Ð#¢;'#á†Ñ #¢;"'#á #J†Ò#†''#á†Ó #†'"'#á #J†Ô#¢<'#á†Õ #¢<"'#á #J†Ö#¢='#á†× #¢="'#á #J†Ø#¡Q'#á†Ù #¡Q"'#á #J†Ú#˜i'#á†Û #˜i"'#á #J†Ü#¡V'#á†Ý #¡V"'#á #J†Þ#¡Y'#á†ß #¡Y"'#á #J†à#”'#á†á #”"'#á #J†â#¢>'#á†ã #¢>"'#á #J†ä#¢?'#á†å #¢?"'#á #J†æ#¢@'#á†ç #¢@"'#á #J†è#¢A'#á†é #¢A"'#á #J†ê#¢B'#á†ë #¢B"'#á #J†ì#¢C'#á†í #¢C"'#á #J†î#¢D'#á†ï #¢D"'#á #J†ð#¢E'#á†ñ #¢E"'#á #J†ò#Ÿp'#á†ó #Ÿp"'#á #J†ô#¡^'#á†õ #¡^"'#á #J†ö#¢F'#á†÷ #¢F"'#á #J†ø#¢G'#á†ù #¢G"'#á #J†ú#¡a'#á†û #¡a"'#á #J†ü#¢H'#á†ý #¢H"'#á #J†þ#¢I'#á†ÿ #¢I"'#á #J‡#¢J'#ᇠ#¢J"'#á #J‡#¡d'#ᇠ#¡d"'#á #J‡#¡g'#ᇠ#¡g"'#á #J‡#¢K'#ᇠ#¢K"'#á #J‡#¡j'#ᇠ #¡j"'#á #J‡ +#¢L'#ᇠ #¢L"'#á #J‡ #¢M'#ᇠ #¢M"'#á #J‡#¢N'#ᇠ#¢N"'#á #J‡#¢O'#ᇠ#¢O"'#á #J‡#¢P'#ᇠ#¢P"'#á #J‡#¢Q'#ᇠ#¢Q"'#á #J‡#¢R'#ᇠ#¢R"'#á #J‡#¢S'#ᇠ#¢S"'#á #J‡#¢T'#ᇠ#¢T"'#á #J‡#¢U'#ᇠ#¢U"'#á #J‡#¢V'#ᇠ#¢V"'#á #J‡ #¢W'#á‡! #¢W"'#á #J‡"#¢X'#á‡# #¢X"'#á #J‡$#¢Y'#á‡% #¢Y"'#á #J‡&#¢Z'#á‡' #¢Z"'#á #J‡(#ƒì'#á‡) #ƒì"'#á #J‡*#¢['#á‡+ #¢["'#á #J‡,#¢\'#á‡- #¢\"'#á #J‡.#¢]'#á‡/ #¢]"'#á #J‡0#¢^'#á‡1 #¢^"'#á #J‡2#¢_'#á‡3 #¢_"'#á #J‡4#¢`'#á‡5 #¢`"'#á #J‡6#ƒé'#á‡7 #ƒé"'#á #J‡8#¡o'#á‡9 #¡o"'#á #J‡:#¢a'#á‡; #¢a"'#á #J‡<#¢b'#á‡= #¢b"'#á #J‡>#¢c'#á‡? #¢c"'#á #J‡@#¡r'#á‡A #¡r"'#á #J‡B#¡u'#á‡C #¡u"'#á #J‡D#¡x'#á‡E #¡x"'#á #J‡F#¡{'#á‡G #¡{"'#á #J‡H#¡~'#á‡I #¡~"'#á #J‡J# '#á‡K # "'#á #J‡L#¢d'#á‡M #¢d"'#á #J‡N#¢e'#á‡O #¢e"'#á #J‡P#¡'#á‡Q #¡"'#á #J‡R#¢f'#á‡S #¢f"'#á #J‡T#¢g'#á‡U #¢g"'#á #J‡V#¢h'#á‡W #¢h"'#á #J‡X#¢i'#á‡Y #¢i"'#á #J‡Z#¡„'#á‡[ #¡„"'#á #J‡\#¢j'#á‡] #¢j"'#á #J‡^#¢k'#á‡_ #¢k"'#á #J‡`#¢l'#á‡a #¢l"'#á #J‡b#¡‡'#á‡c #¡‡"'#á #J‡d#¡Š'#á‡e #¡Š"'#á #J‡f#¢m'#á‡g #¢m"'#á #J‡h#¡'#á‡i #¡"'#á #J‡j#¢n'#á‡k #¢n"'#á #J‡l#€'#á‡m #€"'#á #J‡n#¢o'#á‡o #¢o"'#á #J‡p#¢p'#á‡q #¢p"'#á #J‡r#¢q'#á‡s #¢q"'#á #J‡t#¢r'#á‡u #¢r"'#á #J‡v#¢s'#á‡w #¢s"'#á #J‡x#¢t'#á‡y #¢t"'#á #J‡z#¢u'#á‡{ #¢u"'#á #J‡|#¢v'#á‡} #¢v"'#á #J‡~#¢w'#ᇠ#¢w"'#á #J‡€#¢x'#ᇠ#¢x"'#á #J‡‚#¢y'#ᇃ #¢y"'#á #J‡„#¢z'#ᇅ #¢z"'#á #J‡†#¢{'#ᇇ #¢{"'#á #J‡ˆ#¢|'#ᇉ #¢|"'#á #J‡Š#¢}'#ᇋ #¢}"'#á #J‡Œ#¢~'#ᇠ#¢~"'#á #J‡Ž#¢'#ᇠ#¢"'#á #J‡#¢€'#ᇑ #¢€"'#á #J‡’#¡'#ᇓ #¡"'#á #J‡”#¢'#ᇕ #¢"'#á #J‡–#¢‚'#ᇗ #¢‚"'#á #J‡˜#ŸÁ'#ᇙ #ŸÁ"'#á #J‡š#¢ƒ'#ᇛ #¢ƒ"'#á #J‡œ#¡•'#ᇠ#¡•"'#á #J‡ž#¢„'#ᇟ #¢„"'#á #J‡ #¢…'#ᇡ #¢…"'#á #J‡¢#¡˜'#ᇣ #¡˜"'#á #J‡¤#¢†'#ᇥ #¢†"'#á #J‡¦#¢‡'#ᇧ #¢‡"'#á #J‡¨#¢ˆ'#ᇩ #¢ˆ"'#á #J‡ª#¢‰'#ᇫ #¢‰"'#á #J‡¬#¢Š'#ᇭ #¢Š"'#á #J‡®#¢‹'#ᇯ #¢‹"'#á #J‡°#ž'#ᇱ #ž"'#á #J‡²#¢Œ'#ᇳ #¢Œ"'#á #J‡´#¡›'#ᇵ #¡›"'#á #J‡¶#¡ž'#ᇷ #¡ž"'#á #J‡¸#¢'#ᇹ #¢"'#á #J‡º#¡¡'#ᇻ #¡¡"'#á #J‡¼#¡¤'#ᇽ #¡¤"'#á #J‡¾#¡§'#ᇿ #¡§"'#á #J‡À#¢Ž'#á‡Á #¢Ž"'#á #J‡Â#¢'#á‡Ã #¢"'#á #J‡Ä#¢'#á‡Å #¢"'#á #J‡Æ#† '#á‡Ç #† "'#á #J‡È#¢‘'#á‡É #¢‘"'#á #J‡Ê#¢’'#á‡Ë #¢’"'#á #J‡Ì#¡«'#á‡Í #¡«"'#á #J‡Î#¢“'#á‡Ï #¢“"'#á #J‡Ð#¡®'#á‡Ñ #¡®"'#á #J‡Ò#¡±'#á‡Ó #¡±"'#á #J‡Ô#¢”'#á‡Õ #¢”"'#á #J‡Ö#¡´'#á‡× #¡´"'#á #J‡Ø#¢•'#á‡Ù #¢•"'#á #J‡Ú#¡·'#á‡Û #¡·"'#á #J‡Ü#¡º'#á‡Ý #¡º"'#á #J‡Þ#¡½'#á‡ß #¡½"'#á #J‡à#¢–'#á‡á #¢–"'#á #J‡â#¢—'#á‡ã #¢—"'#á #J‡ä#¢˜'#á‡å #¢˜"'#á #J‡æ#¢™'#á‡ç #¢™"'#á #J‡è#¢š'#á‡é #¢š"'#á #J‡ê#'#á‡ë #"'#á #J‡ì#¢›'#á‡í #¢›"'#á #J‡î#¡Á'#á‡ï #¡Á"'#á #J‡ð#›ƒ'#á‡ñ #›ƒ"'#á #J‡ò#ƒí'#á‡ó #ƒí"'#á #J‡ô#¢œ'#á‡õ #¢œ"'#á #J‡ö#¢'#á‡÷ #¢"'#á #J‡ø#¢ž'#á‡ù #¢ž"'#á #J‡ú#¢Ÿ'#á‡û #¢Ÿ"'#á #J‡ü#¢ '#á‡ý #¢ "'#á #J‡þ#¢¡'#á‡ÿ #¢¡"'#á #Jˆ#ƒ7'#ሠ#ƒ7"'#á #Jˆ#¢¢'#ሠ#¢¢"'#á #Jˆ#ž’'#ሠ#ž’"'#á #Jˆ#¢£'#ሠ#¢£"'#á #Jˆ#¡Å'#ሠ #¡Å"'#á #Jˆ +#¢¤'#ሠ #¢¤"'#á #Jˆ #Ÿ}'#ሠ #Ÿ}"'#á #Jˆ#¢¥'#ሠ#¢¥"'#á #Jˆ#¢¦'#ሠ#¢¦"'#á #Jˆ#¡Ê'#ሠ#¡Ê"'#á #Jˆ#¢§'#ሠ#¢§"'#á #Jˆ#¢¨'#ሠ#¢¨"'#á #Jˆ#¢©'#ሠ#¢©"'#á #Jˆ#¢ª'#ሠ#¢ª"'#á #Jˆ#¢«'#ሠ#¢«"'#á #Jˆ#¢¬'#ሠ#¢¬"'#á #Jˆ #¢­'#áˆ! #¢­"'#á #Jˆ"#¢®'#áˆ# #¢®"'#á #Jˆ$#¢¯'#áˆ% #¢¯"'#á #Jˆ&#¡Í'#áˆ' #¡Í"'#á #Jˆ(#¢°'#áˆ) #¢°"'#á #Jˆ*#¢±'#áˆ+ #¢±"'#á #Jˆ,#¢²'#áˆ- #¢²"'#á #Jˆ.#¢³'#áˆ/ #¢³"'#á #Jˆ0#¢´'#áˆ1 #¢´"'#á #Jˆ2#¢µ'#áˆ3 #¢µ"'#á #Jˆ4#¢¶'#áˆ5 #¢¶"'#á #Jˆ6#¢·'#áˆ7 #¢·"'#á #Jˆ8#¢¸'#áˆ9 #¢¸"'#á #Jˆ:#¢¹'#áˆ; #¢¹"'#á #Jˆ<#¢º'#áˆ= #¢º"'#á #Jˆ>#¢»'#áˆ? #¢»"'#á #Jˆ@#¢¼'#áˆA #¢¼"'#á #JˆB#¢½'#áˆC #¢½"'#á #JˆD#¢¾'#áˆE #¢¾"'#á #JˆF#¢¿'#áˆG #¢¿"'#á #JˆH#¢À'#áˆI #¢À"'#á #JˆJ#¡Ð'#áˆK #¡Ð"'#á #JˆL#¢Á'#áˆM #¢Á"'#á #JˆN#¢Â'#áˆO #¢Â"'#á #JˆP#¢Ã'#áˆQ #¢Ã"'#á #JˆR#¢Ä'#áˆS #¢Ä"'#á #JˆT#¢Å'#áˆU #¢Å"'#á #JˆV#ƒê'#áˆW #ƒê"'#á #JˆX#¢Æ'#áˆY #¢Æ"'#á #JˆZ#¢Ç'#áˆ[ #¢Ç"'#á #Jˆ\#‰'#áˆ] #‰"'#á #Jˆ^#¢È'#áˆ_ #¢È"'#á #Jˆ`#¢É'#áˆa #¢É"'#á #Jˆb#¢Ê'#áˆc #¢Ê"'#á #Jˆd#¢Ë'#áˆe #¢Ë"'#á #Jˆf#¢Ì'#áˆg #¢Ì"'#á #Jˆh#¢Í'#á#“w #“w#“x#“w #“w#“y#“w #“w#—Æ$˜˜€#“w #“w#—̈i #¢Í"'#á #J#“w #“w#“x#“w #“w#“y#“w #“w#—Æ$˜˜€#“w #“w#—̈j#¢Î'#áˆk #¢Î"'#á #Jˆl#¢Ï'#áˆm #¢Ï"'#á #Jˆn#¢Ð'#áˆo #¢Ð"'#á #Jˆp#¢Ñ'#áˆq #¢Ñ"'#á #Jˆr#¡Õ'#áˆs #¡Õ"'#á #Jˆt#¢Ò'#áˆu #¢Ò"'#á #Jˆv#¢Ó'#áˆw #¢Ó"'#á #Jˆx#¢Ô'#áˆy #¢Ô"'#á #Jˆz#¢Õ'#áˆ{ #¢Õ"'#á #Jˆ|#¢Ö'#áˆ} #¢Ö"'#á #Jˆ~#¡Ø'#ሠ#¡Ø"'#á #Jˆ€#¡Û'#ሠ#¡Û"'#á #Jˆ‚#¡Þ'#ሃ #¡Þ"'#á #Jˆ„#¢×'#ህ #¢×"'#á #Jˆ†#ƒë'#ሇ #ƒë"'#á #Jˆˆ#¢Ø'#ሉ #¢Ø"'#á #JˆŠ#¢Ù'#ላ #¢Ù"'#á #JˆŒ#¡â'#ሠ#¡â"'#á #JˆŽ#¢Ú'#ሠ#¢Ú"'#á #Jˆ#¢Û'#ሑ #¢Û"'#á #Jˆ’#¢Ü'#ሓ #¢Ü"'#á #Jˆ”#¢Ý'#ሕ #¢Ý"'#á #Jˆ–#¡å'#ሗ #¡å"'#á #Jˆ˜#¢Þ'#ሙ #¢Þ"'#á #Jˆš‚®À©7 àÀ©YðÀ©–U¡ìÀ©¨V¡ìÀ©ÃU¡íÀ©ÕV¡íÀ©ðU¡îÀªV¡îÀªU¡ïÀª/V¡ïÀªJU¡ðÀª\V¡ðÀªwU¡ñÀª‰V¡ñÀª¤U¡òÀª¶V¡òÀªÑU¡óÀªãV¡óÀªþU¡ôÀ«V¡ôÀ«+UžUÀ«=VžUÀ«XU¡õÀ«jV¡õÀ«…U¡öÀ«—V¡öÀ«²U¡÷À«ÄV¡÷À«ßU¡øÀ«ñV¡øÀ¬ U¡ùÀ¬V¡ùÀ¬9U¡úÀ¬KV¡úÀ¬fU òÀ¬xV òÀ¬“U öÀ¬¥V öÀ¬ÀU¡ûÀ¬ÒV¡ûÀ¬íU¡üÀ¬ÿV¡üÀ­U ùÀ­,V ùÀ­GU¡ýÀ­YV¡ýÀ­tU üÀ­†V üÀ­¡U¡þÀ­³V¡þÀ­ÎU ÿÀ­àV ÿÀ­ûU¡ÿÀ® V¡ÿÀ®(U¢À®:V¢À®UU¡À®gV¡À®‚U¢À®”V¢À®¯U¢À®ÁV¢À®ÜU¢À®îV¢À¯ U“©À¯V“©À¯6U¢À¯HV¢À¯cU¢À¯uV¢À¯U¢À¯¢V¢À¯½U¢À¯ÏV¢À¯êU¢À¯üV¢À°U¢ À°)V¢ À°DU¢ +À°VV¢ +À°qU¢ À°ƒV¢ À°žU¡À°°V¡À°ËU¡ +À°ÝV¡ +À°øU¢ À± +V¢ À±%U¢ À±7V¢ À±RU¡ À±dV¡ À±U¡À±‘V¡À±¬U¡À±¾V¡À±ÙU¡À±ëV¡À²U¢À²V¢À²3U¢À²EV¢À²`U¢À²rV¢À²U¢À²ŸV¢À²ºU¢À²ÌV¢À²çU¢À²ùV¢À³U¢À³&V¢À³AU¢À³SV¢À³nU¢À³€V¢À³›U¢À³­V¢À³ÈU¢À³ÚV¢À³õU¢À´V¢À´"U¡À´4V¡À´OU¡À´aV¡À´|U¡À´ŽV¡À´©U¡"À´»V¡"À´ÖU¢À´èV¢ÀµU¡%ÀµV¡%Àµ0U¡(ÀµBV¡(Àµ]U¡+ÀµoV¡+ÀµŠU¡.ÀµœV¡.Àµ·U¡1ÀµÉV¡1ÀµäU¢ÀµöV¢À¶U¢À¶#V¢À¶>U¢À¶PV¢À¶kU¢À¶}V¢À¶˜U¡4À¶ªV¡4À¶ÅU¡7À¶×V¡7À¶òU¡:À·V¡:À·U¢À·1V¢À·LU¢ À·^V¢ À·yU¡=À·‹V¡=À·¦U¡@À·¸V¡@À·ÓU¢!À·åV¢!À¸U¡CÀ¸V¡CÀ¸-UƒîÀ¸?VƒîÀ¸ZU¢"À¸lV¢"À¸‡U¢#À¸™V¢#À¸´U¢$À¸ÆV¢$À¸áU¢%À¸óV¢%À¹U¢&À¹ V¢&À¹;U¢'À¹MV¢'À¹hU¢(À¹zV¢(À¹•U¢)À¹§V¢)À¹ÂU¢*À¹ÔV¢*À¹ïU¢+ÀºV¢+ÀºU¢,Àº.V¢,ÀºIU¢-Àº[V¢-ÀºvU¡HÀºˆV¡HÀº£U…“ÀºµV…“ÀºÐUŸ†ÀºâVŸ†ÀºýU¢.À»V¢.À»*UŸgÀ»À¿V¢>À¿5U¢?À¿GV¢?À¿bU¢@À¿tV¢@À¿U¢AÀ¿¡V¢AÀ¿¼U¢BÀ¿ÎV¢BÀ¿éU¢CÀ¿ûV¢CÀÀU¢DÀÀ(V¢DÀÀCU¢EÀÀUV¢EÀÀpUŸpÀÀ‚VŸpÀÀU¡^ÀÀ¯V¡^ÀÀÊU¢FÀÀÜV¢FÀÀ÷U¢GÀÁ V¢GÀÁ$U¡aÀÁ6V¡aÀÁQU¢HÀÁcV¢HÀÁ~U¢IÀÁV¢IÀÁ«U¢JÀÁ½V¢JÀÁØU¡dÀÁêV¡dÀÂU¡gÀÂV¡gÀÂ2U¢KÀÂDV¢KÀÂ_U¡jÀÂqV¡jÀÂŒU¢LÀžV¢LÀ¹U¢MÀÂËV¢MÀÂæU¢NÀÂøV¢NÀÃU¢OÀÃ%V¢OÀÃ@U¢PÀÃRV¢PÀÃmU¢QÀÃV¢QÀÚU¢RÀìV¢RÀÃÇU¢SÀÃÙV¢SÀÃôU¢TÀÄV¢TÀÄ!U¢UÀÄ3V¢UÀÄNU¢VÀÄ`V¢VÀÄ{U¢WÀÄV¢WÀĨU¢XÀĺV¢XÀÄÕU¢YÀÄçV¢YÀÅU¢ZÀÅV¢ZÀÅ/UƒìÀÅAVƒìÀÅ\U¢[ÀÅnV¢[ÀʼnU¢\ÀÅ›V¢\ÀŶU¢]ÀÅÈV¢]ÀÅãU¢^ÀÅõV¢^ÀÆU¢_ÀÆ"V¢_ÀÆ=U¢`ÀÆOV¢`ÀÆjUƒéÀÆ|VƒéÀÆ—U¡oÀÆ©V¡oÀÆÄU¢aÀÆÖV¢aÀÆñU¢bÀÇV¢bÀÇU¢cÀÇ0V¢cÀÇKU¡rÀÇ]V¡rÀÇxU¡uÀÇŠV¡uÀÇ¥U¡xÀÇ·V¡xÀÇÒU¡{ÀÇäV¡{ÀÇÿU¡~ÀÈV¡~ÀÈ,U ÀÈ>V ÀÈYU¢dÀÈkV¢dÀȆU¢eÀȘV¢eÀȳU¡ÀÈÅV¡ÀÈàU¢fÀÈòV¢fÀÉ U¢gÀÉV¢gÀÉ:U¢hÀÉLV¢hÀÉgU¢iÀÉyV¢iÀÉ”U¡„ÀɦV¡„ÀÉÁU¢jÀÉÓV¢jÀÉîU¢kÀÊV¢kÀÊU¢lÀÊ-V¢lÀÊHU¡‡ÀÊZV¡‡ÀÊuU¡ŠÀʇV¡ŠÀÊ¢U¢mÀÊ´V¢mÀÊÏU¡ÀÊáV¡ÀÊüU¢nÀËV¢nÀË)U€ÀË;V€ÀËVU¢oÀËhV¢oÀ˃U¢pÀË•V¢pÀË°U¢qÀËÂV¢qÀËÝU¢rÀËïV¢rÀÌ +U¢sÀÌV¢sÀÌ7U¢tÀÌIV¢tÀÌdU¢uÀÌvV¢uÀÌ‘U¢vÀÌ£V¢vÀ̾U¢wÀÌÐV¢wÀÌëU¢xÀÌýV¢xÀÍU¢yÀÍ*V¢yÀÍEU¢zÀÍWV¢zÀÍrU¢{ÀÍ„V¢{ÀÍŸU¢|ÀͱV¢|ÀÍÌU¢}ÀÍÞV¢}ÀÍùU¢~ÀÎ V¢~ÀÎ&U¢ÀÎ8V¢ÀÎSU¢€ÀÎeV¢€À΀U¡ÀÎ’V¡ÀέU¢ÀοV¢ÀÎÚU¢‚ÀÎìV¢‚ÀÏUŸÁÀÏVŸÁÀÏ4U¢ƒÀÏFV¢ƒÀÏaU¡•ÀÏsV¡•ÀÏŽU¢„ÀÏ V¢„ÀÏ»U¢…ÀÏÍV¢…ÀÏèU¡˜ÀÏúV¡˜ÀÐU¢†ÀÐ'V¢†ÀÐBU¢‡ÀÐTV¢‡ÀÐoU¢ˆÀÐV¢ˆÀÐœU¢‰ÀЮV¢‰ÀÐÉU¢ŠÀÐÛV¢ŠÀÐöU¢‹ÀÑV¢‹ÀÑ#UžÀÑ5VžÀÑPU¢ŒÀÑbV¢ŒÀÑ}U¡›ÀÑV¡›ÀѪU¡žÀѼV¡žÀÑ×U¢ÀÑéV¢ÀÒU¡¡ÀÒV¡¡ÀÒ1U¡¤ÀÒCV¡¤ÀÒ^U¡§ÀÒpV¡§ÀÒ‹U¢ŽÀÒV¢ŽÀÒ¸U¢ÀÒÊV¢ÀÒåU¢ÀÒ÷V¢ÀÓU† ÀÓ$V† ÀÓ?U¢‘ÀÓQV¢‘ÀÓlU¢’ÀÓ~V¢’ÀÓ™U¡«ÀÓ«V¡«ÀÓÆU¢“ÀÓØV¢“ÀÓóU¡®ÀÔV¡®ÀÔ U¡±ÀÔ2V¡±ÀÔMU¢”ÀÔ_V¢”ÀÔzU¡´ÀÔŒV¡´ÀÔ§U¢•ÀÔ¹V¢•ÀÔÔU¡·ÀÔæV¡·ÀÕU¡ºÀÕV¡ºÀÕ.U¡½ÀÕ@V¡½ÀÕ[U¢–ÀÕmV¢–ÀÕˆU¢—ÀÕšV¢—ÀÕµU¢˜ÀÕÇV¢˜ÀÕâU¢™ÀÕôV¢™ÀÖU¢šÀÖ!V¢šÀÖ#œÁ‰" '#Ì#£?#¨$£@£?‰#0#£?#8‰$@+'#˜“&'#žø*#žù'#˜“&'#žø$žú„W‰%@+'# *#£A‰&@+'# *#£B‰'#ù'#I‰(#Ÿ'#I" #„W"'#1&'#‚e # ‰)#£C'#I" #„W"'#1&'#‚e # #k$£DŸ‰*#£E'#I" #„W#k$£DŸ‰+#£F'#I"'# #ŒX"'# #ƒ7"'#£G #œÂ"'#£H #Š(#k$£I£J#“w #“w#“x#“w #“w#—̉,#£K'#£L"'# #ŒX"'# #ƒ7#k$£M£N#“w #“w#“x#“w #“w#—̉-#£O'#£P"'#á #…#k$£Q£R#“w #“w#“x#“w #“w#—̉.#£S'#I"'#á #…"'#£T #œÂ"'#£H #Š(#k$£U£V#“w #“w#“x#“w #“w#—̉/#Ÿ '#ó&'#žø‰0P#‡J'#£?‰1À M8À ]žùÀ •£AÀ ­£BÀ ÅùÀ ÚŸÀ £CÀ J£EÀ t£FÀ ï£KÀK£OÀœ£SÀ UŸ À#U‡J '#‘¸#£W#¨$£X£W‰20#£W#8‰3@+'# *#£A‰4@+'# *#£B‰5#£Y'#I"'# #£Z"'#£[ #£\"'#£] #Š(‰6#£^'#I"'# #£Z"'# #£_"'#£` #£a"'#£] #Š(‰7À¾8ÀΣAÀæ£BÀþ£YÀ?£^ '#‘¸#£b#¨$£c£b‰80#£b#8‰9#£Y'#I"'#£[ #£\"'#£] #Š(‰:#£^'#I"'# #£_"'#£` #£a"'#£] #Š(‰;ÀÕ8Àå£YÀ£^ '#£d#£e#¨$£f£e‰<0#£e#8‰=#£g'# ‰>#„W'#á‰?#£h'#á‰@À‘8À¡U£gÀ³U„WÀÆU£h '#Ä#£i#“w #“w#“x#“w #“w#—Ì#¨$£j£k‰A0#£i#8‰B#£i‰C##£i#‡X‰DP#“|'#6‰E#ŒÂ'#6‰F #ŒÂ"'#6 #J‰GÀ98ÀI^ÀW‡XÀhU“|ÀyUŒÂÀ‹VŒÂ '#‘¸#£l#¨$£m£l‰H0#£l#8‰I#£l‰J@#’Ú'#£l‰K#ƒò'#ƒð‰L#£n'#1‰M#£o'#á‰NÀó8À^À’ÚÀ&UƒòÀ9U£nÀKU£o '#‘¸#£p#¨$£q£p‰O0#£p#8‰P#£p‰Q@#’Ú'#£p‰R#ƒò'#ƒð‰S#£r'#1‰TÀ«8À»^ÀÉ’ÚÀÞUƒòÀñU£r '#‘¸#£s#¨$£t£s‰U0#£s#8‰V#£s‰W@#’Ú'#£s‰X#ƒò'#ƒð‰Y#£n'#1‰Z#£o'#á‰[ÀI8ÀY^Àg’ÚÀ|UƒòÀU£nÀ¡U£o '#‘¸#£u#¨$£v£u‰\0#£u#8‰]#f'#‚Û‰^#g'#‚Û‰_#h'#‚Û‰`À8ÀUfÀ#UgÀ5Uh '#’Õ#£w#¨$£x£w‰a0#£w#8‰b#£w"'#á #ŒX"'#‚€ #™#‰c@#’Ú'#£w" #ŒX" #™#‰d@#’Û'#£w" #ŒX‰e#£y'#£u‰f#£z'#£u‰g#£{'#‚Û‰h#£|'#£}‰iÀ„8À”^À¿’ÚÀâ’ÛÀþU£yÀU£zÀ$U£{À7U£| '#’Õ#£~#¨$££~‰j0#£~#8‰k#£~"'#á #ŒX"'#‚€ #™#‰l@#’Ú'#£~" #ŒX" #™#‰m@#’Û'#£~" #ŒX‰n#£€'#6‰o#“'#‚Û‰p#£'#‚Û‰q#£‚'#‚Û‰rÀ¥8Àµ^Àà’ÚÀ’ÛÀU£€À1U“ÀDU£ÀWU£‚ '#‘¸#£}#¨$£ƒ£}‰s0#£}#8‰t#“'#‚Û‰u#£'#‚Û‰v#£‚'#‚Û‰wÀÅ8ÀÕU“ÀèU£ÀûU£‚ '#Ä#£„#’j#¨$£…£†‰x 0#£„#8‰y##£„#‡X‰z#ŒÂ'#6‰{ #ŒÂ"'#6 #J‰|#žÔ'#á‰} #žÔ"'#á #J‰~#ù'#I"'#á #žÔ‰#£‡'#I‰€#£ˆ'#I‰ ÀW8Àg‡XÀxUŒÂÀŠVŒÂÀ¥UžÔÀ¸VžÔÀÔùÀù£‡À£ˆ '#£4#£‰#¨$£Š£‰‰‚#£‹'#‚~&'#£4"'#á #†D"'#6 #£Œ‰ƒ#£'#£Ž‰„#£'#‚~&'#£4"'#á #†D‰…#£'#‚~&'#£4"'#á #†D"'#6 #£Œ‰†#£‘'#‚~&'#£4"'#á #†D‰‡0#£‰#8‰ˆ#£’'#£Ž#k$£“£‰‰#£”'#I"'#á #†D"'#‚€ #„d"'#£T #œÂ"'#£H #Š(‰Š#£•'#I" #†D" #„d"'#£T #œÂ"'#£H #Š(#k$£–£‰‹#£—'#I" #†D" #„d"'#£T #œÂ#k$£–£‰Œ#£˜'#I" #†D" #„d#k$£–£‰#£™'#I" #†D#k$£–£‰Ž#£š'#‚~&'#£4"'#á #†D"'#‚€ #„d#k$£–£‰#£›'#I"'#á #†D"'#‚€ #„d"'#£T #œÂ"'#£H #Š(‰#£œ'#I" #†D" #„d"'#£T #œÂ"'#£H #Š(#k$££‘‰‘#£ž'#I" #†D" #„d"'#£T #œÂ#k$££‘‰’#£Ÿ'#I" #†D" #„d#k$££‘‰“#£ '#I" #†D#k$££‘‰”#£¡'#‚~&'#£4"'#á #†D"'#‚€ #„d#k$££‘‰•#£¢'#I"'#“ #œÂ"'#£H #Š(#k$£££¤‰–#£¤'#‚~#k$£££¤‰—À†£‹ÀÁ£ÀÖ£À£À;£‘Àe8Àu£’À™£”À꣕À5£—Às£˜À¤£™ÀΣšÀ£›Àg£œÀ²£žÀð£ŸÀ!£ ÀK£¡À“£¢ÀÓ£¤ '#‘¸#£Ž#¨$£¥£Ž‰˜0#£Ž#8‰™#£¦'#I"'#£§ #œÂ"'#£H #Š(#k$£¨£©‰š#£©'#‚~&'#1&'#£4‰›À­8À½£¦Àý£© '#Ä#£ª#¨$£«£¬‰œ0#£ª#8‰#£ª‰ž##£ª#‡X‰ŸÀZ8Àj^Àx‡X '#‰V#£­#¨$£®£­‰ €«0#£­#8‰¡@+'#˜“&'#’Õ*#£¯'#˜“&'#’Õ$£°£±‰¢@+'#˜“&'#’Õ*#£²'#˜“&'#’Õ$£³£´‰£@+'#˜“&'#’Õ*#£µ'#˜“&'#’Õ$£¶£·‰¤@+'#˜“&'#£¸*#£¹'#˜“&'#£¸$£º£»‰¥@+'#˜“&'#’Õ*#£¼'#˜“&'#’Õ$£½£¾‰¦#£­‰§@#’Ú'#£­‰¨#£¿'#ቩ#£À'#Ä#k$£Á‹š‰ª #£À"'#Ä #J#k$£Á‹š‰«#žØ'#ቬ#£Â'#ቭ #£Â"'#á #J‰®#Œý'#šâ‰¯#À'#£Ã‰°#£Ä'#‚¨#k$£Å£Æ#i$£Ç£È#j$£Ç£È#i$£É£Ê#j$£É£Ê‰±#£Ë'#˜<‰²#£Ì'#ታ#£Í'#6‰´#‰<'#£Î#k$£Ï£Ð‰µ#þ'#6‰¶#‘ü'#£Ñ‰·#£Ò'#á#k$£Ó£Ô‰¸#†b'#ቹ#£Õ'#á#k$£Ö£×‰º#™'#ቻ#£Ø'#á#k$£Ù£Ú‰¼#£Û'#›´‰½#£Ü'#˜<‰¾ #£Ü"'#˜< #J‰¿#£Ý'#˜<‰À#£Þ'#á#k$£ß£à‰Á #£Þ"'#á #J#k$£ß£à‰Â#£á'#á‰Ã#ž<'#£â‰Ä#£ã'#á#k$£äž¶‰Å #£ã"'#á #J#k$£äž¶‰Æ#£å'#á#k$£æ£ç‰Ç#£è'#˜<#k$£é£ê#“w #“w#“x#“w #“w#—̉È#£ë'#6#k$£ì£í#“w #“w#“x#“w #“w#—̉É#£î'#6#k$£ï£ð#“w #“w#“x#“w #“w#—̉Ê#£ñ'#á#k$£ò£ó#“w #“w#“x#“w #“w#—̉Ë#£ô'#‰V"'#‰V #ˆ¤‰Ì#£õ'#£ö"'# #f"'# #g#k$£÷£ø‰Í#£ù'#›‰Î#£ú'#˜<"'#á #£û" #£ü#k$£ý£þ‰Ï#£ÿ'#˜<"'#á # ®"'#á #º" #£ü#k$¤¤‰Ð#¤'#’Õ"'#á #˜;#k$¤¤‰Ñ#¤'#£ö‰Ò#¤'#Ÿ+"'#á #A#k$¤¤‰Ó#¤ '#¤ + "'#¿ #?"'#˜{ #…†"'# #¤ "'#‚Û #¤ "'#‚Û #¤ "'#‚Û #¤"'#‚Û #¤"'#‚Û #š"'#‚Û #š"'#‚Û #¤"'#‚Û #¤‰Ô#¤'#¤ + "'#¿ #?" #…†" #¤ " #¤ " #¤ " #¤" #¤" #š" #š" #¤" #¤#k$¤¤‰Õ#¤'#¤ + +"'#¿ #?" #…†" #¤ " #¤ " #¤ " #¤" #¤" #š" #š" #¤#k$¤¤‰Ö#¤'#¤ + "'#¿ #?" #…†" #¤ " #¤ " #¤ " #¤" #¤" #š" #š#k$¤¤‰×#¤'#¤ +"'#¿ #?" #…†" #¤ " #¤ " #¤ " #¤" #¤" #š#k$¤¤‰Ø#¤'#¤ +"'#¿ #?" #…†" #¤ " #¤ " #¤ " #¤" #¤#k$¤¤‰Ù#¤'#¤"'#¤ + #¤#k$¤¤‰Ú#¤'#6"'#á #¤"'#6 #¤ "'#á #J‰Û#¤!'#I‰Ü#¤"'#I‰Ý#¤#'#1&'#ž3‰Þ#¤$'#1&'#‰V"'#á #¤%#i$¤&¤'#j$¤&¤'‰ß#¤('#1&'#‰V"'#á #¤)#i$¤&¤'#j$¤&¤'‰à#¤*'#1&'#‰V"'#á #ˆT#i$¤&¤'#j$¤&¤'‰á#¤+'#‰V"'#‰V #ˆ¤"'#6 #¤,‰â#¤-'#6"'#á #¤‰ã#¤.'#6"'#á #¤‰ä#¤/'#6"'#á #¤‰å#¤0'#6"'#á #¤‰æ#¤1'#á"'#á #¤‰ç#¤2'#…6"'#á #ŒX"'#‚€ #„d‰è#¤3'#…6" #ŒX" #„d#k$¤4¤5‰é#¤6'#…6" #ŒX#k$¤4¤5‰ê#¤7'#I#k$¤8¤9#“w #“w#“x#“w #“w#—̉ë#œ'#˜<"'#á #œ‰ì#¤:'#˜<‰í#¤;'#˜<‰î#¤<'#˜<‰ï#¤='#1&'#šõ#k$¤>¤?#j$¤@¤A#i$¤@¤A‰ð#¤B'#˜<"'# #f"'# #g#k$¤C¤D‰ñ#¤E'#1&'#˜<"'# #f"'# #g‰ò#¤F'#ʉó#¤G'# #k$¤H¤I‰ô#› '#1&'#‰V#k$¤J›#j$£$› +#i$£$› +‰õ#¤K'#˜<#k$¤L¤M‰ö#¤N'#˜<#k$¤O¤P‰÷#¤Q'#˜<"'#á #¤R‰ø#¤S'#1&'#‰V"'#á #¤R#k$¤T¤U#i$œœ#j$œœ‰ù#˜¨'#ó&'#’Õ‰ú#¤V'#ó&'#’Õ‰û#¤W'#ó&'#’Õ‰ü#¤X'#ó&'#’Õ‰ý#›º'#ó&'#’Õ‰þ#›»'#ó&'#’Õ‰ÿ#›¼'#ó&'#’ÕŠ#›½'#ó&'#’ÕŠ#›¾'#ó&'#›Š#›¿'#ó&'#›Š#¤Y'#ó&'#  +Š#¤Z'#ó&'#  +Š#›À'#ó&'#’Õ#—Ò$¤[¤\Š#›Ã'#ó&'#›Š#›Ä'#ó&'#›Š#›Å'#ó&'#›Š #›Æ'#ó&'#›Š +#›Ç'#ó&'#›Š #›È'#ó&'#›Š #›É'#ó&'#›Š #›Ê'#ó&'#’ÕŠ#›Ë'#ó&'#’ÕŠ#›Ì'#ó&'#’ÕŠ#„Ù'#ó&'#’ÕŠ#›Í'#ó&'#’ÕŠ#›Î'#ó&'#’ÕŠ#›Ï'#ó&'#’ÕŠ#›Ð'#ó&'#›IŠ#›Ñ'#ó&'#›IŠ#›Ò'#ó&'#›IŠ#›Ó'#ó&'#’ÕŠ#›Ô'#ó&'#’ÕŠ#›Õ'#ó&'#’ÕŠ#›Ö'#ó&'#›Š#›×'#ó&'#›Š#›Ø'#ó&'#›Š#›Ù'#ó&'#›Š#›Ú'#ó&'#›Š#›Û'#ó&'#›Š #›Ü'#ó&'#›Š!#›Ý'#ó&'#›pŠ"#¤]'#ó&'#  +Š##‰Ã'#ó&'#’ÕŠ$#›Þ'#ó&'#’ÕŠ%#›ß'#ó&'#’ÕŠ&#¤^'#ó&'#’ÕŠ'#¤_'#ó&'#’ÕŠ(#›à'#ó&'#’ÕŠ)#¤`'#ó&'#’ÕŠ*#›á'#ó&'#’ÕŠ+#›â'#ó&'#’ÕŠ,#›ã'#ó&'#’ÕŠ-#¤a'#ó&'#’ÕŠ.#¤b'#ó&'#£¸Š/#›ä'#ó&'#’ÕŠ0#›å'#ó&'#’ÕŠ1#›æ'#ó&'#’ÕŠ2#¤c'#ó&'#’ÕŠ3#¤d'#ó&'#’ÕŠ4#›ç'#ó&'#’ÕŠ5#›è'#ó&'#’ÕŠ6#›é'#ó&'#’ÕŠ7#›ê'#ó&'#’ÕŠ8#›ë'#ó&'#››Š9#›ì'#ó&'#››Š:#›í'#ó&'#››Š;#›î'#ó&'#››Š<#›ï'#ó&'#’ÕŠ=#›ð'#ó&'#’ÕŠ>#¤e'#ó&'#’ÕŠ?#¤f'#ó&'#’ÕŠ@#¤U)(#‚Z'#˜<'#¤g&'#‚Z"'#á #¤RŠA#¤h'#6ŠB#¤i'#6#‚´ŠC#¤5'#I"'#á #‘"'#…> #¤j"'#á #¤kŠD#£þ'#˜<"'#á #¤l"'#á #¤m#<$ŽŽ ŠE#¤n"'#á #¤lŠF#¤o"'#á # ®"'#á #ºŠG#¤'#˜<"'#á # ®"'#á #º"'#á #¤mŠH#¤p'#¤q"'#‰V #‹e"'# #¤r"'#¤s #”ŠI#¤t'#¤u"'#‰V #‹e"'# #¤r"'#¤s #”ŠJ#£ç'#á#“w #“w#“x#“w #“w#“y#“w #“w#—Æ$˜˜€ŠK€«ÀÂ8ÀÒ£¯À +£²À B£µÀ z£¹À ²£¼À ê^À ø’ÚÀ! U£¿À! U£ÀÀ!AV£ÀÀ!kUžØÀ!~U£ÂÀ!‘V£ÂÀ!­UŒýÀ!ÀUÀÀ!ÒU£ÄÀ"+U£ËÀ">U£ÌÀ"QU£ÍÀ"cU‰<À"„UþÀ"–U‘üÀ"©U£ÒÀ"ÊU†bÀ"ÝU£ÕÀ"þU™À#U£ØÀ#2U£ÛÀ#EU£ÜÀ#XV£ÜÀ#tU£ÝÀ#‡U£ÞÀ#¨V£ÞÀ#ÒU£áÀ#åUž<À#øU£ãÀ$V£ãÀ$CU£åÀ$dU£èÀ$¥U£ëÀ$åU£îÀ%%U£ñÀ%f£ôÀ%‰£õÀ%ãùÀ%Ù£úÀ&£ÿÀ&\¤À&¤À&£¤À&Ó¤ À'¤À'÷¤À(f¤À(ΤÀ)/¤À)‰¤À)º¤À)ú¤!À*¤"À*$¤#À*A¤$À*‡¤(À*ͤ*À+¤+À+E¤-À+g¤.À+‰¤/À+«¤0À+ͤ1À+ð¤2À,"¤3À,T¤6À,¤7À,ÂœÀ,åU¤:À,øU¤;À- U¤<À-U¤=À-b¤BÀ-œ¤EÀ-ÏU¤FÀ-âU¤GÀ.U› À.FU¤KÀ.gU¤NÀ.ˆ¤QÀ.«¤SÀ.ÿU˜¨À/U¤VÀ/3U¤WÀ/MU¤XÀ/gU›ºÀ/U›»À/›U›¼À/µU›½À/ÏU›¾À/éU›¿À0U¤YÀ0U¤ZÀ07U›ÀÀ0_U›ÃÀ0yU›ÄÀ0“U›ÅÀ0­U›ÆÀ0ÇU›ÇÀ0áU›ÈÀ0ûU›ÉÀ1U›ÊÀ1/U›ËÀ1IU›ÌÀ1cU„ÙÀ1}U›ÍÀ1—U›ÎÀ1±U›ÏÀ1ËU›ÐÀ1åU›ÑÀ1ÿU›ÒÀ2U›ÓÀ23U›ÔÀ2MU›ÕÀ2gU›ÖÀ2U›×À2›U›ØÀ2µU›ÙÀ2ÏU›ÚÀ2éU›ÛÀ3U›ÜÀ3U›ÝÀ37U¤]À3QU‰ÃÀ3kU›ÞÀ3…U›ßÀ3ŸU¤^À3¹U¤_À3ÓU›àÀ3íU¤`À4U›áÀ4!U›âÀ4;U›ãÀ4UU¤aÀ4oU¤bÀ4‰U›äÀ4£U›åÀ4½U›æÀ4×U¤cÀ4ñU¤dÀ5 U›çÀ5%U›èÀ5?U›éÀ5YU›êÀ5sU›ëÀ5U›ìÀ5§U›íÀ5ÁU›îÀ5ÛU›ïÀ5õU›ðÀ6U¤eÀ6)U¤fÀ6C¤UÀ6{U¤hÀ6ŒU¤iÀ6¤¤5À6â£þÀ7!¤nÀ7=¤oÀ7f¤À7¥¤pÀ7æ¤tÀ8'U£ç '#‰V'#¤v'#¤w#›#¨$¤x›ŠL#›ŠM0#›#µ"'#á #µ"'#šü #šý"'#šþ #šÿŠN0#›#™*"'#á #¤y"'#šü #šý"'#šþ #šÿŠO#› '#› +ŠP+'#1&'#˜<*#¤z#i$˜k„`ŠQ#›'#1&'#˜<ŠR #›"'#1&'#˜< #JŠS#¤U)(#‚Z'#˜<'#¤g&'#‚Z"'#á #¤RŠT#›'#áŠU #›"'#á #JŠV#¤{'#I"'#á #µ"'#šü #šý"'#šþ #šÿŠW#¤|'#I"'#á #‚–ŠX#¤}'#I"'#á #‚–"'#šü #šý"'#šþ #šÿŠY0#›#8ŠZ#œ'#˜<"'#á #œŠ[#¤G'# #k$¤H¤IŠ\#¤K'#˜<#k$¤L¤MŠ]#¤N'#˜<#k$¤O¤PŠ^#¤Q'#˜<"'#á #¤RŠ_#¤S'#1&'#‰V"'#á #¤R#k$¤T¤U#i$œœ#j$œœŠ`À=R^À=`µÀ=ž™*À=ÜU› À=î¤zÀ>U›À>3V›À>U¤UÀ>U›À>ŸV›À>º¤{À>û¤|À?¤}À?]8À?mœÀ?U¤GÀ?°U¤KÀ?ÑU¤NÀ?ò¤QÀ@¤S '#‘¸#¤~#¨$¤¤~Ša0#¤~#8Šb#¤:'#˜<Šc#¤;'#˜<Šd#¤<'#˜<Še#¤?'#1&'#šõ#j$¤@¤A#i$¤@¤AŠf#¤D'#˜<"'# #f"'# #gŠg#¤E'#1&'#˜<"'# #f"'# #gŠh#¤€'#¤ŠiÀA8ÀA)U¤:ÀA'#‚e"'#‚e #JŠ¢ÀIý8ÀJ ƒ> '# ¤# ¥#¨$¤ñ¤òŠ£E0# ¥#8Š¤# ¥"'#‚e #ž¥Š¥@#’Ú'# ¥" #ž¥Š¦@#’Û'# ¥Š§#ƒÎ'#‚ÛŠ¨ #ƒÎ"'#‚Û #JŠ©#ƒ‡'#‚ÛŠª #ƒ‡"'#‚Û #JŠ«#‘R'#‚ÛŠ¬ #‘R"'#‚Û #JŠ­#`'#‚ÛŠ® #`"'#‚Û #JŠ¯#ƒÆ'#‚ÛŠ° #ƒÆ"'#‚Û #JŠ±#…T'#‚ÛŠ² #…T"'#‚Û #JŠ³#¤ó'#‚ÛŠ´ #¤ó"'#‚Û #JŠµ#¤ô'#‚ÛŠ¶ #¤ô"'#‚Û #JŠ·#¤õ'#‚ÛŠ¸ #¤õ"'#‚Û #JŠ¹#¤ö'#‚ÛŠº #¤ö"'#‚Û #JŠ»#¤÷'#‚ÛŠ¼ #¤÷"'#‚Û #JŠ½#¤ø'#‚ÛŠ¾ #¤ø"'#‚Û #JŠ¿#¤ù'#‚ÛŠÀ #¤ù"'#‚Û #JŠÁ#¤ú'#‚ÛŠÂ #¤ú"'#‚Û #JŠÃ#¤û'#‚ÛŠÄ #¤û"'#‚Û #JŠÅ#¤ü'#‚ÛŠÆ #¤ü"'#‚Û #JŠÇ#¤ý'#‚ÛŠÈ #¤ý"'#‚Û #JŠÉ#¤þ'#‚ÛŠÊ #¤þ"'#‚Û #JŠË#¤ÿ'#‚ÛŠÌ #¤ÿ"'#‚Û #JŠÍ#¥'#‚ÛŠÎ #¥"'#‚Û #JŠÏ#¥'#‚ÛŠÐ #¥"'#‚Û #JŠÑ#¥'#‚ÛŠÒ #¥"'#‚Û #JŠÓ@#¥'# ¥"'## #¥ŠÔ@#¥'# ¥"'#% #¥ŠÕ@#¥'# ¥"'#‚€ #2ŠÖ@#¥'# ¥" #2#k$¥ ¥Š×@#¥ +'# ¥#k$¥ ¥ŠØ#¥ '# ¥ŠÙ#¥ '# ¥"'#‚€ #2ŠÚ#¥ '# ¥" #2#k$¥¥ ŠÛ#¥'# ¥#k$¥¥ ŠÜ#¥'# ¥"'#‚€ #2ŠÝ#¥'# ¥" #2#k$¥¥ŠÞ#¥'# ¥#k$¥¥Šß#¥'# ¥"'#‚Û #f"'#‚Û #g"'#‚Û #h"'#‚Û #šŽŠà#¥'# ¥"'#‚Û #f"'#‚Û #gŠá#¥'# ¥"'#‚Û #¥"'#‚Û #¥"'#‚Û #¥Šâ#¥'# ¥"'#‚Û #x"'#‚Û #¥"'#‚Û #¥"'#‚Û #¥Šã#¥'# ¥"'#‚Û #¥"'#‚Û #¥ "'#‚Û #¥!"'#‚Û #¥"'#‚Û #¥"'#‚Û #¥Šä#¥"'# ¥"'#á #¥#Šå#¥$'# ¥"'#‚Û #œbŠæ#¥%'# ¥"'#‚Û #œcŠç#¥&'# ¥"'#‚Û #™"'#‚Û #œg"'#‚Û #¥'ŠèEÀJd8ÀJt^ÀJ’’ÚÀJ®’ÛÀJÃUƒÎÀJÖVƒÎÀJòUƒ‡ÀKVƒ‡ÀK!U‘RÀK4V‘RÀKPU`ÀKcV`ÀKUƒÆÀK’VƒÆÀK®U…TÀKÁV…TÀKÝU¤óÀKðV¤óÀL U¤ôÀLV¤ôÀL;U¤õÀLNV¤õÀLjU¤öÀL}V¤öÀL™U¤÷ÀL¬V¤÷ÀLÈU¤øÀLÛV¤øÀL÷U¤ùÀM +V¤ùÀM&U¤úÀM9V¤úÀMUU¤ûÀMhV¤ûÀM„U¤üÀM—V¤üÀM³U¤ýÀMÆV¤ýÀMâU¤þÀMõV¤þÀNU¤ÿÀN$V¤ÿÀN@U¥ÀNSV¥ÀNoU¥ÀN‚V¥ÀNžU¥ÀN±V¥ÀNÍ¥ÀNï¥ÀO¥ÀO5¥ÀO_¥ +ÀOƒ¥ ÀO™¥ ÀO½¥ ÀOç¥ÀP ¥ÀP/¥ÀPY¥ÀP}¥ÀPÐ¥ÀQ¥ÀQJ¥ÀQŸ¥ÀR¥"ÀR8¥$ÀR^¥%ÀR„¥& '#‘¸# ¤#¨$¥(¥)Šé40# ¤#8Šê# ¤"'#‚e #ž¥Šë@#’Ú'# ¤" #ž¥Šì@#’Û'# ¤Ší#ƒÎ'#‚ÛŠî#ƒ‡'#‚ÛŠï#‘R'#‚ÛŠð#`'#‚ÛŠñ#ƒÆ'#‚ÛŠò#…T'#‚ÛŠó#¢ï'#6Šô#¥*'#6Šõ#¤ó'#‚ÛŠö#¤ô'#‚ÛŠ÷#¤õ'#‚ÛŠø#¤ö'#‚ÛŠù#¤÷'#‚ÛŠú#¤ø'#‚ÛŠû#¤ù'#‚ÛŠü#¤ú'#‚ÛŠý#¤û'#‚ÛŠþ#¤ü'#‚ÛŠÿ#¤ý'#‚Û‹#¤þ'#‚Û‹#¤ÿ'#‚Û‹#¥'#‚Û‹#¥'#‚Û‹#¥'#‚Û‹#š—'# ¥‹#š˜'# ¥‹@#¥'# ¤"'## #¥‹@#¥'# ¤"'#% #¥‹ @#¥'# ¤"'#‚€ #2‹ +@#¥'# ¤" #2#k$¥ ¥‹ @#¥ +'# ¤#k$¥ ¥‹ #š™'# ¥‹ #šš'# ¥"'#‚€ #2‹#¥+'# ¥" #2#k$¥,šš‹#¥-'# ¥#k$¥,šš‹#šœ'# ¥"'#‚Û #¥"'#‚Û #¥"'#‚Û #¥‹#¥.'# ¥"'#‚Û #f"'#‚Û #g"'#‚Û #h"'#‚Û #šŽ‹#š'# ¥"'#‚Û #f"'#‚Û #g‹#x'# ¥"'#‚Û #¥"'#‚Û #¥ "'#‚Û #¥!"'#‚Û #¥"'#‚Û #¥"'#‚Û #¥‹#¥/'# ¥"'#‚Û #x"'#‚Û #¥"'#‚Û #¥"'#‚Û #¥‹#š¢'# ¥"'#‚Û #œb‹#š£'# ¥"'#‚Û #œc‹#¥0'##‹#¥1'#%‹#¥2'#¥3"'#‚€ #šI‹#¥4'#¥3" #šI#k$¥5¥2‹#¥6'#¥3#k$¥5¥2‹#š¤'# ¥"'#‚Û #™"'#‚Û #œg"'#‚Û #¥'‹4ÀTÐ8ÀTà^ÀTþ’ÚÀU’ÛÀU/UƒÎÀUBUƒ‡ÀUUU‘RÀUhU`ÀU{UƒÆÀUŽU…TÀU¡U¢ïÀU³U¥*ÀUÅU¤óÀUØU¤ôÀUëU¤õÀUþU¤öÀVU¤÷ÀV$U¤øÀV7U¤ùÀVJU¤úÀV]U¤ûÀVpU¤üÀVƒU¤ýÀV–U¤þÀV©U¤ÿÀV¼U¥ÀVÏU¥ÀVâU¥ÀVõš—ÀW š˜ÀW!¥ÀWC¥ÀWe¥ÀW‰¥ÀW³¥ +ÀWך™ÀWíššÀX¥+ÀX;¥-ÀX_šœÀX¥¥.ÀXøšÀY,xÀY¡¥/ÀYöš¢ÀZš£ÀZB¥0ÀZW¥1ÀZl¥2ÀZ‘¥4ÀZ¼¥6ÀZàš¤ '#‘¸#¥7#¨$¥8¥9‹0#¥7#8‹#¥7‹ @#’Ú'#¥7‹!#¥:'#£­"'#á #ƒ""'#á #ŒX‹"À\´8À\Ä^À\Ò’ÚÀ\ç¥: '#¥;#¥3#¨$¥<¥=‹#0#¥3#8‹$#¥3"'#‚Û #f"'#‚Û #g"'#‚Û #h"'#‚Û #i‹%@#’Ú'#¥3" #f" #g" #h" #i‹&@#’Û'#¥3" #f" #g" #h‹'@#ž='#¥3" #f" #g‹(@#¥>'#¥3" #f‹)@#¥?'#¥3‹*P#“|'#6‹+#i'#‚Û‹, #i"'#‚Û #J‹-#f'#‚Û‹. #f"'#‚Û #J‹/#g'#‚Û‹0 #g"'#‚Û #J‹1#h'#‚Û‹2 #h"'#‚Û #J‹3@#¥@'#¥3"'#‚€ #2‹4@#¥A'#¥3" #2#k$¥B¥@‹5@#¥C'#¥3#k$¥B¥@‹6À]V8À]f^À]°’ÚÀ]Ý’ÛÀ^ž=À^%¥>À^@¥?À^UU“|À^fUiÀ^xViÀ^“UfÀ^¥VfÀ^ÀUgÀ^ÒVgÀ^íUhÀ^ÿVhÀ_¥@À_>¥AÀ_h¥C '#‘¸#¥;#¨$¥D¥E‹70#¥;#8‹8#¥;"'#‚Û #f"'#‚Û #g"'#‚Û #h"'#‚Û #i‹9@#’Ú'#¥;" #f" #g" #h" #i‹:@#’Û'#¥;" #f" #g" #h‹;@#ž='#¥;" #f" #g‹<@#¥>'#¥;" #f‹=@#¥?'#¥;‹>#i'#‚Û‹?#f'#‚Û‹@#g'#‚Û‹A#h'#‚Û‹B@#¥@'#¥;"'#‚€ #2‹C@#¥A'#¥;" #2#k$¥B¥@‹D@#¥C'#¥;#k$¥B¥@‹E#š¸'#¥3"'#‚€ #š¹‹F#¥F'#¥3" #š¹#k$¥Gš¸‹G#¥H'#¥3#k$¥Gš¸‹HÀ`,8À`<^À`†’ÚÀ`³’ÛÀ`Úž=À`û¥>Àa¥?Àa+UiÀa=UfÀaOUgÀaaUhÀas¥@Àa—¥AÀaÁ¥CÀa嚸Àb +¥FÀb5¥H '#‘¸#¥I#¨$¥J¥K‹I0#¥I#8‹J#¥I"'#‚€ #¥L"'#‚€ #¥M"'#‚€ #¥N"'#‚€ #¥O‹K@#’Ú'#¥I" #¥L" #¥M" #¥N" #¥O‹L@#’Û'#¥I" #¥L" #¥M" #¥N‹M@#ž='#¥I" #¥L" #¥M‹N@#¥>'#¥I" #¥L‹O@#¥?'#¥I‹P#¥L'#¥3‹Q#¥M'#¥3‹R#¥N'#¥3‹S#¥O'#¥3‹T@#¥P'#¥I"'#‚€ #2‹U@#¥Q'#¥I" #2#k$¥R¥P‹V@#¥S'#¥I#k$¥R¥P‹W@#¥T'#¥I"'#‚€ #2‹X@#¥U'#¥I" #2#k$¥V¥T‹Y@#¥W'#¥I#k$¥V¥T‹Z#¥X'#ƒð‹[Àbï8Àbÿ^ÀcM’ÚÀc~’ÛÀc¨ž=ÀcË¥>Àcç¥?ÀcüU¥LÀdU¥MÀd"U¥NÀd5U¥OÀdH¥PÀdl¥QÀd–¥SÀdº¥TÀdÞ¥UÀe¥WÀe,¥X '#‘¸-'#ˆ=&'#ƒð'#šf&'#ƒð'#1&'#ƒð'#p&'#ƒð#¥Y#¨$¥Z¥[‹\ +0#¥Y#8‹]#'# ‹^#¤'#ƒð"'# #¥‹_#…5'#I"'# #¥"'#ƒð #J‹` #"'# #J‹a#…m'#ƒð‹b#…n'#ƒð‹c#ƒ¹'#ƒð‹d#…s'#ƒð"'# #¥‹e#.'#ƒð"'# #¥‹f +Àf8Àf.UÀf>¤Àf_…5Àf‹VÀf¤U…mÀf¶U…nÀfÈUƒ¹ÀfÚ…sÀfû. '#‘¸'#ƒð#¥\#¨$¥]¥^‹g$#‚”'#á‹h#ƒÜ'#6" #2‹i#ƒÝ'# ‹j#ƒï'#ƒð"'#ƒð #2‹k#ƒñ'#6"'#ƒð&'#‚Û #2‹l#ƒò'#ƒð"'#ƒð #2‹m#ƒó'#6"'#ƒð&'#‚Û #ƒô‹n#ƒõ'#6"'#ƒÛ&'#‚Û #ƒô‹o#ƒö'#ƒÛ‹p#ƒ÷'#ƒÛ‹q#ƒø'#ƒÛ‹r#ƒù'#ƒÛ‹s0#¥\#8‹t#¥\"'#‚Û #f"'#‚Û #g"'#‚Û #ƒë"'#‚Û #ƒì‹u@#’Ú'#¥\" #f" #g" #ƒë" #ƒì‹v@#’Û'#¥\" #f" #g" #ƒë‹w@#ž='#¥\" #f" #g‹x@#¥>'#¥\" #f‹y@#¥?'#¥\‹z#¡F'#‚Û#k$¡Gƒî‹{#ƒî'#‚Û‹|#ƒý'#‚Û#k$¡mƒì‹}#ƒì'#‚Û‹~#‰X'#‚Û#k$¡nƒé‹#ƒé'#‚Û‹€#‰Y'#‚Û#k$¡Äƒí‹#ƒí'#‚Û‹‚#¡Ó'#‚Û#k$¡Ôƒê‹ƒ#ƒê'#‚Û‹„#ƒü'#‚Û#k$¡áƒë‹…#ƒë'#‚Û‹†#f'#‚Û‹‡#g'#‚Û‹ˆ@#¥T'#¥\"'#‚€ #2‹‰@#¥U'#¥\" #2#k$¥V¥T‹Š@#¥W'#¥\#k$¥V¥T‹‹$Àg‚”Àg¢ƒÜÀg¼UƒÝÀg̓ïÀgîƒñÀhƒòÀh7ƒóÀh`ƒõÀh‰UƒöÀh›Uƒ÷Àh­UƒøÀh¿UƒùÀhÑ8Àhá^Ài-’ÚÀi\’ÛÀi„ž=Ài¥¥>ÀiÀ¥?ÀiÕU¡FÀiöUƒîÀjUƒýÀj)UƒìÀj;U‰XÀj\UƒéÀjnU‰YÀjUƒíÀj¡U¡ÓÀjÂUƒêÀjÔUƒüÀjõUƒëÀkUfÀkUgÀk+¥TÀkO¥UÀky¥W '#‘¸-'#ˆ=&'#á'#šf&'#á'#p&'#á'#1&'#á#˜#¨$¥_¥`‹Œ +0#˜#8‹#'# ‹Ž#¤'#á"'# #¥‹#…5'#I"'# #¥"'#á #J‹ #"'# #J‹‘#…m'#á‹’#…n'#á‹“#ƒ¹'#á‹”#…s'#á"'# #¥‹•#.'#á"'# #¥‹– +Àlõ8ÀmUÀm¤Àm6…5ÀmbVÀm{U…mÀmU…nÀmŸUƒ¹Àm±…sÀmÒ. '#‘¸#¥a#¨$¥b¥c‹—0#¥a#8‹˜#¥d'#I"'#á #à‹™#šj'#I"'#á #à"'#á #J‹š#.'#á"'#á #à‹›Àn\8Ànl¥dÀnŽšjÀn¼. '#‘¸#¥e#¨$¥f¥g‹œ 0#¥e#8‹#'# ‹ž#J'#á‹Ÿ #J"'#á #J‹ #‚'#I"'#á #¥h‹¡#…Y'#6"'#á #¥i‹¢#.'#á"'# #¥‹£#…—'#I"'#á #¥h‹¤#†'#I"'#á #¥i"'#á #¥j‹¥# i'#6"'#á #¥i‹¦#—ì'#6"'#á #¥i"'#6 #¤‹§ Ào8Ào/UÀo@UJÀoRVJÀom‚Ào…YÀo±.ÀoÓ…—Àoõ†Àp$ iÀpF—ì '#ˆ‘&'#˜<'#˜=#¥k‹¨#+'#˜<*#‰"‹©+'#› +*#¥l‹ª##¥k#¥m"'#˜< #‚‹«#…Y'#6"'#‚e #‚‹¬#…g'#6‹­#'# ‹®#¤'#˜<"'# #¥‹¯#…5'#I"'# #¥"'#˜< #J‹° #"'# #…‰‹±#‚'#˜<"'#˜< #J‹²#…Q'#…R&'#˜<‹³#…Š'#I"'#‚X&'#˜< #…‹‹´@#¥n'#I"'#˜< #‰""'#‚X&'#˜< #…‹‹µ#…'#I'# "'#˜< #ƒÎ"'#˜< #ƒ‡ #„‹‹¶#'#I"'#ƒâ #…Ž‹·#…š'#I'#6"'#˜< #‚ #…V‹¸#…›'#I'#6"'#˜< #‚ #…V‹¹#‰ +'#I'#6"'#˜< #‚ #…V"'#6 #‰ ‹º#… '#I"'# #B"'# #C"'#˜< #…¡‹»#…¢'#I"'# #B"'# #C"'#‚X&'#˜< #…‹‹¼#…Ÿ'#I"'# #B"'# #C‹½#…'#I"'# #B"'# #C"'#‚X&'#˜< #…‹"'# #…ž‹¾#…—'#6"'#‚e #‚ ‹¿@#‰-'#6"'#˜< #‰""'#‚e #‚ ‹À#…”'#I"'# #¥"'#˜< #‚‹Á#…•'#I"'# #¥"'#‚X&'#˜< #…‹‹Â#…–'#I"'# #¥"'#‚X&'#˜< #…‹‹Ã#…“'#I‹Ä#…˜'#˜<"'# #¥‹Å#…™'#˜<‹Æ#…m'#˜<‹Ç@#‚n'#˜<"'#˜< #‰"#<$YZ‹È#…n'#˜<‹É#ƒ¹'#˜<‹Ê#˜B'#1&'#‰V‹Ë#Àpç‰"Àpþ¥lÀq¥mÀq3…YÀqTU…gÀqeUÀqu¤Àq–…5ÀqÂVÀqÜ‚ÀqýU…QÀr…ŠÀr@¥nÀrv…Àr·ÀrÛ…šÀs …›Às=‰ +Àsz… Às´…¢Àsó…ŸÀt…Àtm…—ÀtŽ‰-Àt¼…”Àté…•Àu…–ÀuS…“Àug…˜Àuˆ…™ÀuU…mÀu¯‚nÀuÞU…nÀuðUƒ¹ÀvU˜B)(#‚Z'#˜< '#ˆ‘&'#‚Z#¤g‹ÌM#›'#—è‹Í"#›"'#‚X&'#á #J‹Î# }'# Ü‹Ï#¥o'#¥p‹Ð#¥q'#¥p‹Ñ#¥r'#¥p‹Ò#¥s'#¥p‹Ó#˜¨'#›¹&'#’Õ‹Ô#¤V'#›¹&'#’Õ‹Õ#¤W'#›¹&'#’Õ‹Ö#¤X'#›¹&'#’Õ‹×#›º'#›¹&'#’Õ‹Ø#›»'#›¹&'#’Õ‹Ù#›¼'#›¹&'#’Õ‹Ú#›½'#›¹&'#’Õ‹Û#›¾'#›¹&'#›‹Ü#›¿'#›¹&'#›‹Ý#¤Y'#›¹&'#  +‹Þ#¤Z'#›¹&'#  +‹ß#›À'#›¹&'#’Õ#—Ò$¥t¥u‹à#›Ã'#›¹&'#›‹á#›Ä'#›¹&'#›‹â#›Å'#›¹&'#›‹ã#›Æ'#›¹&'#›‹ä#›Ç'#›¹&'#›‹å#›È'#›¹&'#›‹æ#›É'#›¹&'#›‹ç#›Ê'#›¹&'#’Õ‹è#›Ë'#›¹&'#’Õ‹é#›Ì'#›¹&'#’Õ‹ê#„Ù'#›¹&'#’Õ‹ë#›Í'#›¹&'#’Õ‹ì#›Î'#›¹&'#’Õ‹í#›Ï'#›¹&'#’Õ‹î#›Ð'#›¹&'#›I‹ï#›Ñ'#›¹&'#›I‹ð#›Ò'#›¹&'#›I‹ñ#›Ó'#›¹&'#’Õ‹ò#›Ô'#›¹&'#’Õ‹ó#›Õ'#›¹&'#’Õ‹ô#›Ö'#›¹&'#›‹õ#›×'#›¹&'#›‹ö#›Ø'#›¹&'#›‹÷#›Ù'#›¹&'#›‹ø#›Ú'#›¹&'#›‹ù#›Û'#›¹&'#›‹ú#›Ü'#›¹&'#›‹û#›Ý'#›¹&'#›p‹ü#¤]'#›¹&'#  +‹ý#‰Ã'#›¹&'#’Õ‹þ#›Þ'#›¹&'#’Õ‹ÿ#›ß'#›¹&'#’ÕŒ#›à'#›¹&'#’ÕŒ#›á'#›¹&'#’ÕŒ#›â'#›¹&'#’ÕŒ#›ã'#›¹&'#’ÕŒ#¤a'#›¹&'#’ÕŒ#›ä'#›¹&'#’ÕŒ#›å'#›¹&'#’ÕŒ#›æ'#›¹&'#’ÕŒ#¤d'#›¹&'#’ÕŒ #›ç'#›¹&'#’ÕŒ +#›è'#›¹&'#’ÕŒ #›é'#›¹&'#’ÕŒ #›ê'#›¹&'#’ÕŒ #›ë'#›¹&'#››Œ#›ì'#›¹&'#››Œ#¥v'#›¹&'#››Œ#¥w'#›¹&'#››Œ#›í'#›¹&'#››Œ#›î'#›¹&'#››Œ#¥x'#›¹&'#¥y#“w #“w#“x#“w #“w#“y#“w #“w#—Æ$˜˜€#“w #“w#—ÌŒ#›ï'#›¹&'#’ÕŒ#›ð'#›¹&'#’ÕŒ#¤e'#›¹&'#’ÕŒ#¤f'#›¹&'#’ÕŒ#›ñ'#›¹&'#›pŒMÀw=U›ÀwOV›ÀwrU }Àw„U¥oÀw–U¥qÀw¨U¥rÀwºU¥sÀwÌU˜¨ÀwæU¤VÀxU¤WÀxU¤XÀx4U›ºÀxNU›»ÀxhU›¼Àx‚U›½ÀxœU›¾Àx¶U›¿ÀxÐU¤YÀxêU¤ZÀyU›ÀÀy,U›ÃÀyFU›ÄÀy`U›ÅÀyzU›ÆÀy”U›ÇÀy®U›ÈÀyÈU›ÉÀyâU›ÊÀyüU›ËÀzU›ÌÀz0U„ÙÀzJU›ÍÀzdU›ÎÀz~U›ÏÀz˜U›ÐÀz²U›ÑÀzÌU›ÒÀzæU›ÓÀ{U›ÔÀ{U›ÕÀ{4U›ÖÀ{NU›×À{hU›ØÀ{‚U›ÙÀ{œU›ÚÀ{¶U›ÛÀ{ÐU›ÜÀ{êU›ÝÀ|U¤]À|U‰ÃÀ|8U›ÞÀ|RU›ßÀ|lU›àÀ|†U›áÀ| U›âÀ|ºU›ãÀ|ÔU¤aÀ|îU›äÀ}U›åÀ}"U›æÀ}#›Ç'#›¹&'#›Œ?#›È'#›¹&'#›Œ@#›É'#›¹&'#›ŒA#›Ê'#›¹&'#’ÕŒB#›Ë'#›¹&'#’ÕŒC#›Ì'#›¹&'#’ÕŒD#„Ù'#›¹&'#’ÕŒE#›Í'#›¹&'#’ÕŒF#›Î'#›¹&'#’ÕŒG#›Ï'#›¹&'#’ÕŒH#›Ð'#›¹&'#›IŒI#›Ñ'#›¹&'#›IŒJ#›Ò'#›¹&'#›IŒK#›Ó'#›¹&'#’ÕŒL#›Ô'#›¹&'#’ÕŒM#›Õ'#›¹&'#’ÕŒN#›Ö'#›¹&'#›ŒO#›×'#›¹&'#›ŒP#›Ø'#›¹&'#›ŒQ#›Ù'#›¹&'#›ŒR#›Ú'#›¹&'#›ŒS#›Û'#›¹&'#›ŒT#›Ü'#›¹&'#›ŒU#›Ý'#›¹&'#›pŒV#¤]'#›¹&'#  +ŒW#‰Ã'#›¹&'#’ÕŒX#›Þ'#›¹&'#’ÕŒY#›ß'#›¹&'#’ÕŒZ#›à'#›¹&'#’ÕŒ[#›á'#›¹&'#’ÕŒ\#›â'#›¹&'#’ÕŒ]#›ã'#›¹&'#’ÕŒ^#¤a'#›¹&'#’ÕŒ_#›ä'#›¹&'#’ÕŒ`#›å'#›¹&'#’ÕŒa#›æ'#›¹&'#’ÕŒb#¤d'#›¹&'#’ÕŒc#›ç'#›¹&'#’ÕŒd#›è'#›¹&'#’ÕŒe#›é'#›¹&'#’ÕŒf#›ê'#›¹&'#’ÕŒg#›ë'#›¹&'#››Œh#›ì'#›¹&'#››Œi#¥v'#›¹&'#››Œj#¥w'#›¹&'#››Œk#›í'#›¹&'#››Œl#›î'#›¹&'#››Œm#¥x'#›¹&'#¥y#“w #“w#“x#“w #“w#“y#“w #“w#—Æ$˜˜€#“w #“w#—ÌŒn#›ï'#›¹&'#’ÕŒo#›ð'#›¹&'#’ÕŒp#¤e'#›¹&'#’ÕŒq#¤f'#›¹&'#’ÕŒr#›ñ'#›¹&'#›pŒsYÀ™¥{À·¥mÀÑUÀá¤À‚…5À‚.VÀ‚H…À‚tÀ‚˜U…mÀ‚ªU…nÀ‚¼Uƒ¹À‚ÎU›À‚àU }À‚òV›ÀƒU¥oÀƒ'U¥qÀƒ9U¥rÀƒKU¥sÀƒ]U˜BÀƒvU˜¨ÀƒU¤VÀƒªU¤WÀƒÄU¤XÀƒÞU›ºÀƒøU›»À„U›¼À„,U›½À„FU›¾À„`U›¿À„zU¤YÀ„”U¤ZÀ„®U›ÀÀ„ÖU›ÃÀ„ðU›ÄÀ… +U›ÅÀ…$U›ÆÀ…>U›ÇÀ…XU›ÈÀ…rU›ÉÀ…ŒU›ÊÀ…¦U›ËÀ…ÀU›ÌÀ…ÚU„ÙÀ…ôU›ÍÀ†U›ÎÀ†(U›ÏÀ†BU›ÐÀ†\U›ÑÀ†vU›ÒÀ†U›ÓÀ†ªU›ÔÀ†ÄU›ÕÀ†ÞU›ÖÀ†øU›×À‡U›ØÀ‡,U›ÙÀ‡FU›ÚÀ‡`U›ÛÀ‡zU›ÜÀ‡”U›ÝÀ‡®U¤]À‡ÈU‰ÃÀ‡âU›ÞÀ‡üU›ßÀˆU›àÀˆ0U›áÀˆJU›âÀˆdU›ãÀˆ~U¤aÀˆ˜U›äÀˆ²U›åÀˆÌU›æÀˆæU¤dÀ‰U›çÀ‰U›èÀ‰4U›éÀ‰NU›êÀ‰hU›ëÀ‰‚U›ìÀ‰œU¥vÀ‰¶U¥wÀ‰ÐU›íÀ‰êU›îÀŠU¥xÀŠcU›ïÀŠ}U›ðÀŠ—U¤eÀŠ±U¤fÀŠËU›ñ '#‰V'#Ÿô'#š÷'#¤w'#Ÿõ#˜<#¨$¥|˜<Œtk0#˜<#µ"'#á #µ"'#šü #šý"'#šþ #šÿŒu##˜<#‡XŒv0#˜<#‘"'#á #‘"'#á #¤mŒw0#˜<#ƒÎŒx0#˜<#¥}Œy0#˜<#¥~Œz0#˜<#¥Œ{0#˜<#¥€Œ|0#˜<#’‚Œ}0#˜<# ²Œ~0#˜<#¥Œ0#˜<#¥‚Œ€0#˜<#¥ƒŒ0#˜<#¥„Œ‚0#˜<#¥…Œƒ0#˜<#¥†Œ„0#˜<#¥‡Œ…0#˜<#¥ˆŒ†0#˜<#¥‰Œ‡0#˜<#Œˆ0#˜<#¥ŠŒ‰0#˜<#¥‹ŒŠ0#˜<#—Œ‹0#˜<#¥ŒŒŒ0#˜<#™*Œ0#˜<#‘ƒŒŽ0#˜<#¥Œ0#˜<#¥ŽŒ0#˜<#¥Œ‘0#˜<#¥Œ’0#˜<#¥‘Œ“0#˜<#”,Œ”#ŸK'#‚€&'#á'#ጕ #ŸK"'#‚€&'#á'#á #JŒ–#¥’'#á"'#á #à#<$ŽŽ Œ—#¥“'#á"'#á # ®"'#á #à#<$ŽŽ Œ˜#¥”'#6"'#á #à#<$ŽŽ Œ™#¥•'#6"'#á # ®"'#á #à#<$ŽŽ Œš#¥–'#I"'#á #à#<$ŽŽ Œ›#¥—'#I"'#á # ®"'#á #à#<$ŽŽ Œœ#¥˜'#I"'#á #à"'#á #J#<$ŽŽ Œ#¥™'#I"'#á # ®"'#á #à"'#á #J#<$ŽŽ Œž#›'#1&'#˜<ŒŸ#› '#1&'#‰VŒ  #›"'#1&'#˜< #JŒ¡#¤U)(#‚Z'#˜<'#¤g&'#‚Z"'#á #¤RŒ¢#¥š'#I"'#¥› #¥œ"'#á #¥#k$¥ž¥ŸŒ£#¥Ÿ'#‚~&'#¥ "'#á #¥Œ¤#¥¡'#I"'#¥› #¥œ"'#á #¥#k$¥¢¥£Œ¥#¥£'#‚~&'#¥ "'#á #¥Œ¦#›'#—茧 #›"'#‚X&'#á #JŒ¨#¥¤'#‚€&'#á'#ጩ #¥¤"'#‚€&'#á'#á #JŒª#¥¥'#‚€&'#á'#á"'#á #¥¦Œ«#¥§'# ~"'#á #¥¨Œ¬#¥©'#ƒðŒ­#…2'#ƒðŒ®#¤|'#I"'#á #‚–Œ¯#¤}'#I"'#á #‚–"'#šü #šý"'#šþ #šÿŒ°@#› '#6"'#á #‘Œ±#¥ª'#IŒ²#¥«'#IŒ³#¥¬'#I#‚´Œ´#¥­'#1&'#ƒðŒµ#¥®'#I#‚´Œ¶#¥¯'#ž3"'#‚X&'#‚€&'#á'#‚¨ #¥°" #žD#“w #“w#“x$¥±¥²Œ·#¥³'#ž3"'#‚e #ž:" #žD#k$¥´¥¯Œ¸#¥µ'#I"'#á #à"'#á #¥¶"'#á #‰_Œ¹#ˆT'#á#j$ ôጺ# ¬'#ጻ#‚”'#ጼ#¥·'#I"'#¥¸ #Œ¹Œ½@+'#˜“&'#›p*#›q'#¥¹&'#›p #˜<#¥ºŒ¾@#¥º'#á"'#˜{ #ƒÆŒ¿@+'#˜“&'#¥y*#¥»'#¥¹&'#¥y #˜<#¥¼ŒÀ@#¥¼'#á"'#˜{ #ƒÆŒÁ#›'#I"'#á #…U"'#á #‚–ŒÂ#¥½'#I"'#á #…U"'#á #‚–#k$¥¾›ŒÃ#›'#I"'#á #…U"'#á #µ"'#šü #šý"'#šþ #šÿŒÄ#¥¿'#I"'#á #…U"'#á #‚–#k$¥À¥ÁŒÅ#›'#˜<"'#á #…U"'#˜< #‚ŒÆ#¥Â'#I"'#á #…U"'#˜< #‚#k$¥Ã›ŒÇ#¥Ä'#I"'#á #…U"'#‰V #ˆ¤ŒÈ#¥Å'#6"'#á #¤RŒÉ#¥Æ'#6"'#á #¤RŒÊ#¥Ç'#¥È#“w #“w#“x$¥É¥ÊŒË#¥Ë'#¥È#“w #“w#“x$¥É¥ÊŒÌ#¥o'#¥pŒÍ#¥q'#¥pŒÎ#¥r'#¥pŒÏ#¥s'#¥pŒÐ#¥Ì'#ƒÛŒÑ#¥Í'#ƒÛ"'#˜< #‹CŒÒ@#¥Î'#ƒÛ"'#˜< #…{"'#˜< #‹CŒÓ@+'#Á*#¥ÏŒÔ@+'#£ö*#¥ÐŒÕ@+'#¥Ñ*#¥ÒŒÖ@+'#¥Ó*#¥ÔŒ×#›'#›"'#á #µ"'#šü #šý"'#šþ #šÿŒØ#¥Õ'#6ŒÙ#¥Ö'#6ŒÚ@+*#¥×8$¥Ø¥Ù$¥Ú¥Û$¥Ü¥Ý$¥Þ¥ß$¥à¥á$¥â¥ã$¥ä¥å$¥æ¥ç$¥è¥é$¥ê¥ë$¥ì¥í$¥î¥ï$¥ð¥ñ$¥ò¥ó$¥ô¥õ$¥ö¥÷$¥ø¥ù$¥ú¥û$¥ü¥ý$¥þ¥ÿ$¦¦$¦¦ŒÛ #›"'#á #µŒÜ#¤{'#I"'#á #µ"'#šü #šý"'#šþ #šÿŒÝ#›'#áŒÞ#¦'#á#k$¦¦Œß #¦"'#á #JŒà#¦'#¦Œá@#¦'#6"'#˜< #‚Œâ@#¦ '#6"'#˜< #‚Œã@#¦ +'#á" #‚Œä#¦ '#˜<Œå#¦ '# Œæ#¦ '# Œç#¦'# Œè#¦'# Œé#¦'# Œê#¦'# Œë #¦"'# #JŒì#¦'# Œí #¦"'# #JŒî#¦'# Œï0#˜<#8Œð@+'#˜“&'#’Õ*#˜”'#˜“&'#’Õ$˜•˜–Œñ@+'#˜“&'#’Õ*#¦'#˜“&'#’Õ$¦¦Œò@+'#˜“&'#’Õ*#¦'#˜“&'#’Õ$¦¦Œó@+'#˜“&'#’Õ*#¦'#˜“&'#’Õ$¦¦Œô@+'#˜“&'#’Õ*#›'#˜“&'#’Õ$››Œõ@+'#˜“&'#’Õ*#›'#˜“&'#’Õ$››Œö@+'#˜“&'#’Õ*#›'#˜“&'#’Õ$››Œ÷@+'#˜“&'#’Õ*#›'#˜“&'#’Õ$›ˆšŒø@+'#˜“&'#›*#›'#˜“&'#›$›› Œù@+'#˜“&'#›*#›'#˜“&'#›$››Œú@+'#˜“&'#  +*#¦'#˜“&'#  +$¦ˆ+Œû@+'#˜“&'#  +*#¦'#˜“&'#  +$¦ ¦!Œü@+'#˜“&'#’Õ*#›'#˜“&'#’Õ$› ›!#—Ò$¦"¦#Œý@+'#˜“&'#›*#›$'#˜“&'#›$›%›&Œþ@+'#˜“&'#›*#›''#˜“&'#›$›(›)Œÿ@+'#˜“&'#›*#›*'#˜“&'#›$›+›,@+'#˜“&'#›*#›-'#˜“&'#›$›.›/@+'#˜“&'#›*#›0'#˜“&'#›$›1›2@+'#˜“&'#›*#›3'#˜“&'#›$›4›5@+'#˜“&'#›*#›6'#˜“&'#›$›7›8@+'#˜“&'#’Õ*#›9'#˜“&'#’Õ$›:›;@+'#˜“&'#’Õ*#›<'#˜“&'#’Õ$›=›>@+'#˜“&'#’Õ*#›?'#˜“&'#’Õ$›@›A@+'#˜“&'#’Õ*#˜™'#˜“&'#’Õ$˜š‚f@+'#˜“&'#’Õ*#›B'#˜“&'#’Õ$›C›D @+'#˜“&'#’Õ*#‹'#˜“&'#’Õ$›E‚ +@+'#˜“&'#’Õ*#›F'#˜“&'#’Õ$›G›H @+'#˜“&'#›I*#›J'#˜“&'#›I$›K›L @+'#˜“&'#›I*#›M'#˜“&'#›I$›N›O @+'#˜“&'#›I*#›P'#˜“&'#›I$›Q›R@+'#˜“&'#’Õ*#›S'#˜“&'#’Õ$›T‰ò@+'#˜“&'#’Õ*#›U'#˜“&'#’Õ$›V›W@+'#˜“&'#’Õ*#›X'#˜“&'#’Õ$›Y›Z@+'#˜“&'#›*#›['#˜“&'#›$›\›]@+'#˜“&'#›*#›^'#˜“&'#›$›_›`@+'#˜“&'#›*#›a'#˜“&'#›$›b›c@+'#˜“&'#›*#›d'#˜“&'#›$›e›f@+'#˜“&'#›*#›g'#˜“&'#›$›h›i@+'#˜“&'#›*#›j'#˜“&'#›$›k›l@+'#˜“&'#›*#›m'#˜“&'#›$›n›o@+'#˜“&'#  +*#¦$'#˜“&'#  +$¦%¦&@+'#˜“&'#’Õ*#›t'#˜“&'#’Õ$›uˆ$@+'#˜“&'#’Õ*#›v'#˜“&'#’Õ$›w›x@+'#˜“&'#’Õ*#›y'#˜“&'#’Õ$›z›{@+'#˜“&'#’Õ*#›|'#˜“&'#’Õ$›}›~@+'#˜“&'#’Õ*#›'#˜“&'#’Õ$›€…ø@+'#˜“&'#’Õ*#›'#˜“&'#’Õ$›‚›ƒ@+'#˜“&'#’Õ*#›„'#˜“&'#’Õ$›…›† @+'#˜“&'#’Õ*#¦''#˜“&'#’Õ$¦(ž1!@+'#˜“&'#’Õ*#›‡'#˜“&'#’Õ$›ˆ›‰"@+'#˜“&'#’Õ*#›Š'#˜“&'#’Õ$›‹›Œ#@+'#˜“&'#’Õ*#›'#˜“&'#’Õ$›Ž—$@+'#˜“&'#’Õ*#¦)'#˜“&'#’Õ$¦*¦+%@+'#˜“&'#’Õ*#›'#˜“&'#’Õ$››‘&@+'#˜“&'#’Õ*#›’'#˜“&'#’Õ$›“›”'@+'#˜“&'#’Õ*#›•'#˜“&'#’Õ$›–›—(@+'#˜“&'#’Õ*#›˜'#˜“&'#’Õ$›™›š)@+'#˜“&'#››*#›œ'#˜“&'#››$››ž*@+'#˜“&'#››*#›Ÿ'#˜“&'#››$› ›¡+@+'#˜“&'#››*#¦,'#˜“&'#››$¦-¦.,@+'#˜“&'#››*#¦/'#˜“&'#››$¦0¦1-@+'#˜“&'#››*#›¢'#˜“&'#››$›£›¤.@+'#˜“&'#››*#›¥'#˜“&'#››$›¦›§/@+'#˜“&'#’Õ*#›¨'#˜“&'#’Õ$›©›ª0@+'#˜“&'#’Õ*#›«'#˜“&'#’Õ$›¬›­1@+'#˜“&'#’Õ*#¦2'#˜“&'#’Õ$¦3¦4#“w #“w#“x#“w #“w#—Ì2@+'#˜“&'#’Õ*#¦5'#˜“&'#’Õ$¦6¦7#“w #“w#“x#“w #“w#—Ì3@+'#˜“&'#›p*#›®'#˜“&'#›p$›¯›°4#¦8'#á5 #¦8"'#á #J6#¦9'#á7 #¦9"'#á #J8#¦:'#69 #¦:"'#6 #J:#þ'#6; #þ"'#6 #J<#¦;'#6= #¦;"'#6 #J>#¦<'#á? #¦<"'#á #J@#› '#6A#¦='#áB #¦="'#á #JC#¦>'#6D #¦>"'#6 #JE# }'# ~F#¦?'# G #¦?"'# #JH#ž¶'#áI #ž¶"'#á #JJ#š¤'#6K #š¤"'#6 #JL#›'#IM#› '#IN#›D'#IO#¦@'#ÛP#¦A'#¦BQ#¦C'#¦D#k$¦EŸKR#…'#áS #…"'#á #JT#¦F'# U#¦G'# V#¦H'# W#¦I'# X#¦J'#áY#¦K'#áZ#Œ'#á[ #Œ"'#á #J\#¦L'#á#k$¦M¦N] #¦L"'#á #J#k$¦M¦N^#¦O'#á#k$¦PˆT_#¦Q'#á#k$ ­ ®`#›'#á#k$¦R¦Sa#¦T'# #k$¦U¦b#¦V'#‚Û#k$¦W¦c #¦V"'#‚Û #J#k$¦W¦d#¦X'#‚Û#k$¦Y¦e #¦X"'#‚Û #J#k$¦Y¦f#¦Z'# #k$¦[¦g#˜'#áh #˜"'#á #Ji#¦\'#¦]j#¤l'#ák#¦^'#¥È"'#‚€ #¦_l#¦`'#¥È" #¦_#k$¦a¦^m#¦b'#˜<"'#á #¤Rn#¤#'#1&'#ž3o#¦c'#á"'#á #à#k$¦d¥’p#¦e'#á"'#á # ®"'#á #ˆT#k$¦f¥“q#¦g'#1&'#ár#¦h'#ƒð#i$¦i¦j#j$¦k¦ls#¦m'#1&'#ƒð#k$¦n¥­#i$¦o¥Y#j$¦p¦qt#¦r'#1&'#‰V#j$œœ#i$œœu#¤$'#1&'#‰V"'#á #¤%#i$¤&¤'#j$¤&¤'v#¦s'#1&'#‰V"'#á #ˆT#k$¦t¤*#i$¤&¤'#j$¤&¤'w#¦u'#6"'#á #à#k$¦v¥”x#¦w'#6"'#á # ®"'#á #ˆT#k$¦x¥•y#¦y'#6"'# #¦zz#¦{'#I"'# #¦z{#¦|'#I"'#á #à#k$¦}¥–|#¦~'#I"'#á # ®"'#á #ˆT#k$¦¥—}#¦€'#I~#›†'#I" #¦"'#‚Û #g#¦‚'#I#k$›…›†€#¦ƒ'#I" #„d#k$›…›†#¦„'#I"'#‚Û #f" #g#k$›…›†‚#¦…'#I" #¦"'#‚Û #gƒ#¦†'#I#k$¦‡¦…„#¦ˆ'#I" #„d#k$¦‡¦……#¦‰'#I"'#‚Û #f" #g#k$¦‡¦…†#¦Š'#I"'#‚e #‹:#k$¦‹¥·‡#¦Œ'#I"'#6 #¦#k$¦Ž¦ˆ#¦'#I" #¦"'#‚Û #g‰#¦‘'#I#k$¦’¦Š#¦“'#I" #„d#k$¦’¦‹#¦”'#I"'#‚Û #f" #g#k$¦’¦Œ#¦•'#I"'#á #à"'#á #J#k$¦–¥˜#¦—'#I"'#á # ®"'#á #à"'#á #J#k$¦˜¥™Ž#¦™'#I"'# #¦z#¦š'#I#k$¦›¦œ#“w #“w#“x#“w #“w#—Ì#Ÿý'#I"'#‚e #ž ‘#ž!'#I"'#‚e #ž ’#Ÿþ'#˜<“#Ÿÿ'#˜<”#¤G'# #k$¤H¤I•#¤K'#˜<#k$¤L¤M–#¤N'#˜<#k$¤O¤P—#¤Q'#˜<"'#á #¤R˜#¤S'#1&'#‰V"'#á #¤R#k$¤T¤U#i$œœ#j$œœ™#˜¨'#›¹&'#’Õš#¤V'#›¹&'#’Õ›#¤W'#›¹&'#’Õœ#¤X'#›¹&'#’Õ#›º'#›¹&'#’Õž#›»'#›¹&'#’ÕŸ#›¼'#›¹&'#’Õ #›½'#›¹&'#’Õ¡#›¾'#›¹&'#›¢#›¿'#›¹&'#›£#¤Y'#›¹&'#  +¤#¤Z'#›¹&'#  +¥#›À'#›¹&'#’Õ#—Ò$¥t¥u¦#›Ã'#›¹&'#›§#›Ä'#›¹&'#›¨#›Å'#›¹&'#›©#›Æ'#›¹&'#›ª#›Ç'#›¹&'#›«#›È'#›¹&'#›¬#›É'#›¹&'#›­#›Ê'#›¹&'#’Õ®#›Ë'#›¹&'#’Õ¯#›Ì'#›¹&'#’Õ°#„Ù'#›¹&'#’Õ±#›Í'#›¹&'#’Õ²#›Î'#›¹&'#’Õ³#›Ï'#›¹&'#’Õ´#›Ð'#›¹&'#›Iµ#›Ñ'#›¹&'#›I¶#›Ò'#›¹&'#›I·#›Ó'#›¹&'#’Õ¸#›Ô'#›¹&'#’Õ¹#›Õ'#›¹&'#’Õº#›Ö'#›¹&'#›»#›×'#›¹&'#›¼#›Ø'#›¹&'#›½#›Ù'#›¹&'#›¾#›Ú'#›¹&'#›¿#›Û'#›¹&'#›À#›Ü'#›¹&'#›Á#›Ý'#›¹&'#›pÂ#¤]'#›¹&'#  +Ã#‰Ã'#›¹&'#’ÕÄ#›Þ'#›¹&'#’ÕÅ#›ß'#›¹&'#’ÕÆ#›à'#›¹&'#’ÕÇ#›á'#›¹&'#’ÕÈ#›â'#›¹&'#’ÕÉ#›ã'#›¹&'#’ÕÊ#¤a'#›¹&'#’ÕË#›ä'#›¹&'#’ÕÌ#›å'#›¹&'#’ÕÍ#›æ'#›¹&'#’ÕÎ#¤d'#›¹&'#’ÕÏ#›ç'#›¹&'#’ÕÐ#›è'#›¹&'#’ÕÑ#›é'#›¹&'#’ÕÒ#›ê'#›¹&'#’ÕÓ#›ë'#›¹&'#››Ô#›ì'#›¹&'#››Õ#¥v'#›¹&'#››Ö#¥w'#›¹&'#››×#›í'#›¹&'#››Ø#›î'#›¹&'#››Ù#¥x'#›¹&'#¥y#“w #“w#“x#“w #“w#“y#“w #“w#—Æ$˜˜€#“w #“w#—ÌÚ#›ï'#›¹&'#’ÕÛ#›ð'#›¹&'#’ÕÜ#¤e'#›¹&'#’ÕÝ#¤f'#›¹&'#’ÕÞ#›ñ'#›¹&'#›pßkÀ“µÀчXÀâ‘ÀŽƒÎÀŽ!¥}ÀŽ2¥~ÀŽC¥ÀŽT¥€ÀŽe’‚ÀŽv ²ÀŽ‡¥ÀŽ˜¥‚ÀŽ©¥ƒÀŽº¥„ÀŽË¥…ÀŽÜ¥†ÀŽí¥‡ÀŽþ¥ˆÀ¥‰À À1¥ŠÀB¥‹ÀS—Àd¥ŒÀu™*À†‘ƒÀ—¥À¨¥ŽÀ¹¥ÀÊ¥ÀÛ¥‘Àì”,ÀýUŸKÀVŸKÀF¥’Àu¥“À±¥”Àߥ•À‘¥–À‘H¥—À‘ƒ¥˜À‘½¥™À’U›À’U› À’6V›À’X¤UÀ’¥šÀ’Í¥ŸÀ’÷¥¡À“4¥£À“^U›À“pV›À““U¥¤À“³V¥¤À“Ü¥¥À” ¥§À”1U¥©À”CU…2À”U¤|À”v¤}À”·› À”Ø¥ªÀ”쥫À•¥¬À•¥­À•7¥®À•R¥¯À•©¥³À•ä¥µÀ–UˆTÀ–?U ¬À–Q‚”À–f¥·À–Š›qÀ–Ä¥ºÀ–楻À— ¥¼À—B›À—p¥½À—­›À—û¥¿À˜8›À˜g¥ÂÀ˜¤¥ÄÀ˜Ò¥ÅÀ˜ó¥ÆÀ™¥ÇÀ™>U¥ËÀ™eU¥oÀ™wU¥qÀ™‰U¥rÀ™›U¥sÀ™­U¥ÌÀ™¿¥ÍÀ™á¥ÎÀš¥ÏÀš'¥ÐÀš>¥ÒÀšU¥ÔÀšl›Àš®U¥ÕÀš¿U¥ÖÀšÐ¥×À›SV›À›o¤{À›°U›À›ÂU¦À›ãV¦À›ÿU¦Àœ¦Àœ2¦ ÀœS¦ +ÀœoU¦ Àœ‚U¦ Àœ“U¦ Àœ¤U¦ÀœµU¦ÀœÆU¦Àœ×U¦ÀœèV¦ÀU¦ÀV¦À-U¦À>8ÀN˜”À†¦À¾¦Àö¦Àž.›Àžf›Àžž›ÀžÖ›ÀŸ›ÀŸF›ÀŸ~¦ÀŸ¶¦ÀŸî›À 4›$À l›'À ¤›*À Ü›-À¡›0À¡L›3À¡„›6À¡¼›9À¡ô›<À¢,›?À¢d˜™À¢œ›BÀ¢Ô‹À£ ›FÀ£D›JÀ£|›MÀ£´›PÀ£ì›SÀ¤$›UÀ¤\›XÀ¤”›[À¤Ì›^À¥›aÀ¥<›dÀ¥t›gÀ¥¬›jÀ¥ä›mÀ¦¦$À¦T›tÀ¦Œ›vÀ¦Ä›yÀ¦ü›|À§4›À§l›À§¤›„À§Ü¦'À¨›‡À¨L›ŠÀ¨„›À¨¼¦)À¨ô›À©,›’À©d›•À©œ›˜À©Ô›œÀª ›ŸÀªD¦,Àª|¦/Àª´›¢Àªì›¥À«$›¨À«\›«À«”¦2À«ì¦5À¬D›®À¬|U¦8À¬V¦8À¬«U¦9À¬¾V¦9À¬ÚU¦:À¬ìV¦:À­UþÀ­VþÀ­4U¦;À­FV¦;À­aU¦<À­tV¦<À­U› À­¢U¦=À­µV¦=À­ÑU¦>À­ãV¦>À­þU }À®U¦?À®#V¦?À®>Už¶À®QVž¶À®mUš¤À®Vš¤À®š›À®¯› À®Ä›DÀ®ÙU¦@À®ìU¦AÀ®ÿU¦CÀ¯ U…À¯3V…À¯OU¦FÀ¯aU¦GÀ¯sU¦HÀ¯…U¦IÀ¯—U¦JÀ¯ªU¦KÀ¯½UŒÀ¯ÐVŒÀ¯ìU¦LÀ° V¦LÀ°7U¦OÀ°XU¦QÀ°yU›À°šU¦TÀ°ºU¦VÀ°ÛV¦VÀ±U¦XÀ±&V¦XÀ±PU¦ZÀ±pU˜À±ƒV˜À±ŸU¦\À±²U¤lÀ±Å¦^À±ç¦`À²¦bÀ²5¤#À²R¦cÀ²ƒ¦eÀ²Á¦gÀ²Þ¦hÀ³¦mÀ³W¦rÀ³¤$À³Ö¦sÀ´*¦uÀ´Z¦wÀ´—¦yÀ´¸¦{À´Ù¦|Àµ ¦~ÀµF¦€Àµ[›†Àµˆ¦‚Àµ«¦ƒÀµÕ¦„À¶ +¦…À¶7¦†À¶Z¦ˆÀ¶„¦‰À¶¹¦ŠÀ¶ì¦ŒÀ·¦À·K¦‘À·n¦“À·˜¦”À·Í¦•À¸ ¦—À¸R¦™À¸s¦šÀ¸¶ŸýÀ¸Øž!À¸úUŸþÀ¹ UŸÿÀ¹ U¤GÀ¹@U¤KÀ¹aU¤NÀ¹‚¤QÀ¹¥¤SÀ¹ùU˜¨ÀºU¤VÀº-U¤WÀºGU¤XÀºaU›ºÀº{U›»Àº•U›¼Àº¯U›½ÀºÉU›¾ÀºãU›¿ÀºýU¤YÀ»U¤ZÀ»1U›ÀÀ»YU›ÃÀ»sU›ÄÀ»U›ÅÀ»§U›ÆÀ»ÁU›ÇÀ»ÛU›ÈÀ»õU›ÉÀ¼U›ÊÀ¼)U›ËÀ¼CU›ÌÀ¼]U„ÙÀ¼wU›ÍÀ¼‘U›ÎÀ¼«U›ÏÀ¼ÅU›ÐÀ¼ßU›ÑÀ¼ùU›ÒÀ½U›ÓÀ½-U›ÔÀ½GU›ÕÀ½aU›ÖÀ½{U›×À½•U›ØÀ½¯U›ÙÀ½ÉU›ÚÀ½ãU›ÛÀ½ýU›ÜÀ¾U›ÝÀ¾1U¤]À¾KU‰ÃÀ¾eU›ÞÀ¾U›ßÀ¾™U›àÀ¾³U›áÀ¾ÍU›âÀ¾çU›ãÀ¿U¤aÀ¿U›äÀ¿5U›åÀ¿OU›æÀ¿iU¤dÀ¿ƒU›çÀ¿U›èÀ¿·U›éÀ¿ÑU›êÀ¿ëU›ëÀÀU›ìÀÀU¥vÀÀ9U¥wÀÀSU›íÀÀmU›îÀÀ‡U¥xÀÀæU›ïÀÁU›ðÀÁU¤eÀÁ4U¤fÀÁNU›ñ#¦à@#¦ž'#‚¨"'#á #‘"'#á #¤máÀË°¦ž#¥¸â+*#„¢ã*#¥¸#„Ä #„¢ä#‚”å@+*#¦Ÿ' #¥¸#„Ä$¦ ¦Ÿæ@+*#¦¡' #¥¸#„Ä$¦¢¦¡ç@+*#¦£' #¥¸#„Ä$¦¤¦£èÀËö„¢ÀÌ„ÄÀÌ!‚”ÀÌ0¦ŸÀÌV¦¡ÀÌ|¦£ '#Ä#¦¥#“w #“w#“x#“w #“w#—Æ#“w #“w#—Ì#’j#¨$¦¦¦§é0#¦¥#8ê#¦¥ë##¦¥#‡XìP#“|'#6í#ƒì'#áî #ƒì"'#á #Jï#à'#áð #à"'#á #Jñ#ž’'#áò #ž’"'#á #Jó#ŒX'#áô #ŒX"'#á #Jõ#ƒë'#áö #ƒë"'#á #J÷#'#‰V"'#á #àø#šj'#I"'#á #à"'#‰V #JùÀÍ.8ÀÍ>^ÀÍL‡XÀÍ]U“|ÀÍnUƒìÀÍVƒìÀÍUàÀÍ°VàÀÍÌUž’ÀÍßVž’ÀÍûUŒXÀÎVŒXÀÎ*UƒëÀÎ=VƒëÀÎYÀÎ|šj7'#I"'#1 #…°#£§ú '#‘¸#£4#¨$¦¨£4û0#£4#8ü#¦©'#¦ªý#¦«'#áþ#¦¬'#6ÿ#¦­'#6Ž#à'#áŽ#¦®'#I"'#£‰ #‹C"'#á #à"'#£T #œÂ"'#£H #Š(#k$¦¯¦°Ž#¦°'#‚~&'#£4"'#£‰ #‹C"'#á #à#k$¦¯¦°Ž#¦±'#I"'#¦² #œÂ"'#£H #Š(#k$¦³2Ž#2'#‚~&'#¦´#k$¦³2Ž#¦µ'#I"'#£T #œÂ"'#£H #Š(#k$¦¶¦·Ž#¦·'#‚~&'#£4#k$¦¶¦·Ž#¦¸'#I"'#£‰ #‹C"'#á #à"'#£T #œÂ"'#£H #Š(#k$¦¹ŸÓŽ#ŸÓ'#‚~&'#£4"'#£‰ #‹C"'#á #à#k$¦¹ŸÓŽ #‰-'#I"'#“ #œÂ"'#£H #Š(#k$¦º…—Ž +#…—'#‚~#k$¦º…—Ž #¦»'#á#k$¦¼¦½Ž ÀÏ[8ÀÏkU¦©ÀÏ~U¦«ÀÏ‘U¦¬ÀÏ£U¦­ÀϵUàÀÏȦ®ÀÐ(¦°ÀÐp¦±Àа2ÀÐÛ¦µÀѦ·ÀÑI¦¸ÀÑ©ŸÓÀÑñ‰-ÀÒ1…—ÀÒT¦»7'#I"'#£4 #ˆÿ#£TŽ 7'#I"'#™ #‚f#£HŽ '#’Õ#¦¾#’j#¨$¦¿¦¾Ž 0#¦¾#8Ž#¦¾"'#á #ŒX"'#‚€ #™#Ž@#’Ú'#¦¾" #ŒX" #™#Ž@#’Û'#¦¾" #ŒXŽ#¦À'# Ž#‚f'#‚e#i$˜k„`Ž#¦Á'#áŽ#¦Â'# Ž#„W'#ᎠÀÓZ8ÀÓj^ÀÓ•’ÚÀÓ¸’ÛÀÓÔU¦ÀÀÓæU‚fÀÔU¦ÁÀÔU¦ÂÀÔ,U„W '#‘¸#’Õ#¨$¦Ã¦ÄŽ#’Õ"'#á #ŒX"'#6 # "'#6 # Ž0#’Õ#˜;"'#á #ŒX"'#á #à"'#6 # "'#6 # Ž#¦Å'#Ꭰ#¦Å"'#á #JŽ#¦Æ'#˜<Ž#†D'#1&'#˜{Ž0#’Õ#8"'#á #ŒX"'#‚€ #™#Ž @#’Ú'#’Õ" #ŒX" #™#Ž!@#’Û'#’Õ" #ŒXŽ"@+'# *#¦ÇŽ#@+'# *#¦ÈŽ$@+'# *#¦ÉŽ%# '#6Ž&# '#6Ž'#¦Ê'#6Ž(#¦Ë'#˜{Ž)#¦Ì'#‚¨#k$¦Í¦Ë#i$˜k„`#j$¦Î¦ÏŽ*#¦Ð'#6Ž+#¦Ñ'# Ž,#¦Ò'#6Ž-#…†'#˜{Ž.#¦Ó'#‚¨#k$™(…†#i$¦Ô‰V#j$¦Õ¦ÖŽ/#¦×'#‚ÛŽ0#ŒX'#áŽ1#¦Ø'#1&'#˜{Ž2#¦Ù'#I"'#á #ŒX"'#6 # "'#6 # #k$¦Ú¦ÛŽ3#¦Ü'#IŽ4#¦Ý'#IŽ5#¦Þ'#IŽ6ÀÔ¡^ÀÔÞ˜;ÀÕ+U¦ÅÀÕ>V¦ÅÀÕZU¦ÆÀÕlU†DÀÕ…8ÀÕ²’ÚÀÕÕ’ÛÀÕñ¦ÇÀÖ ¦ÈÀÖ!¦ÉÀÖ9U ÀÖKU ÀÖ]U¦ÊÀÖoU¦ËÀÖU¦ÌÀÖ¾U¦ÐÀÖÐU¦ÑÀÖâU¦ÒÀÖôU…†À×U¦ÓÀ×CU¦×À×VUŒXÀ×i¦ØÀ׆¦ÙÀ×Ô¦ÜÀ×é¦ÝÀ×þ¦Þ '#˜{#¦ß#¨$¦à¦ßŽ7#¦ß"'#á #…" #¦áŽ80#¦ß#8Ž9@+'#˜“&'#’Õ*#˜™'#˜“&'#’Õ$˜š‚fŽ:@+'#˜“&'#žø*#žù'#˜“&'#žø$žú„WŽ;@+'#˜“&'#’Õ*#¦â'#˜“&'#’Õ$˜¹ŒÂŽ<@#¦ã'#¦ß"'#á #…"'#‚€ #¦äŽ=@#’Ú'#¦ß" #…" #¦äŽ>@#’Û'#¦ß" #…Ž?@+'# *#¦åŽ@@+'# *#¦æŽA@+'# *#¦çŽB#™'# ŽC#…'#áŽD#¦á'#6ŽE#ù'#IŽF#„Ù'#ó&'#’ÕŽG#Ÿ '#ó&'#žøŽH#¦è'#ó&'#’ÕŽIÀÙ^ÀÙ+8ÀÙ;˜™ÀÙsžùÀÙ«¦âÀÙã¦ãÀÚ’ÚÀÚ8’ÛÀÚT¦åÀÚl¦æÀÚ„¦çÀÚœU™ÀÚ®U…ÀÚÁU¦áÀÚÓùÀÚèU„ÙÀÛUŸ ÀÛU¦è#¦éŽJ+'#˜{*#¦êŽK#¦é #¦êŽL#¤'#ó&'#’Õ"'#á #ŒXŽMÀÛȦêÀÛß^ÀÛö¤ '#¦é#¦ŽN@+*#¦ëŽO#¦"'#˜< #ŒjŽP#¤'#ó&'#’Õ"'#á #ŒXŽQÀÜL¦ëÀÜ]^ÀÜx¤ '#‘¸#˜{#¨$¦ì˜{ŽR"#˜{#¦íŽS#¦'#¦éŽT#¦î'#I"'#á #ŒX"'#~ #ŠW"'#6 #¦ïŽU#¦ð'#I"'#á #ŒX"'#~ #ŠW"'#6 #¦ïŽV0#˜{#8ŽW#¦ñ'#I"'#á #ŒX"'#~ #ŠW"'#6 #„d#k$¦ò¦îŽX#¦ó'#6"'#’Õ #‰ìŽY#¦ô'#I"'#á #ŒX"'#~ #ŠW"'#6 #„d#k$¦õ¦ðŽZÀÜܦíÀÜíU¦ÀÜÿ¦îÀÝ<¦ðÀÝy8À݉¦ñÀÝÕ¦óÀÝ÷¦ô '#’Õ#Î#¨$¦öÎŽ[0#Î#8Ž\#Î"'#á #ŒX"'#‚€ #™#Ž]@#’Ú'#Î" #ŒX" #™#Ž^@#’Û'#Î" #ŒXŽ_#¦÷'#I"'#‚~ #…TŽ`ÀÞŸ8ÀÞ¯^ÀÞÚ’ÚÀÞý’ÛÀߦ÷ '#Î#¦ø#¨$¦ù¦øŽa0#¦ø#8Žb#A'#‚e#˜1#˜2Žc#¦ú'#áŽd#†b'#áŽe#¦û'#1&'#¦üŽf#ã'#‚e#i$¦ý¦þ#j$¦ÿ§ŽgÀß8Àß‘UAÀß±U¦úÀßÄU†bÀß×U¦ûÀßñUã '#‘¸#§#¨$§§Žh0#§#8Ži#§'#IŽj#§'#IŽkÀàm8Àà}§Àà’§ '#‘¸#§#¨$§§Žl0#§#8Žm#§"'#‚€ #§Žn@#’Ú'#§" #§Žo@#’Û'#§Žp#žÄ'#‚~&'#1&'#‚¨" #”(ŽqÀàà8Ààð^Àá’ÚÀá*’ÛÀá?žÄ '# .'# 0#§#¨$§ §Žr0#§#8Žs#§"'#‚€ #AŽt@#’Ú'#§" #AŽu#ž0'#áŽv#§ +'#áŽw# 2'#á#k$ 3 4Žx#à'#áŽyÀá¸8ÀáÈ^Àáâ’ÚÀáýUž0ÀâU§ +Àâ#U 2ÀâDUà '#Î#§ #¨$§ § Žz0#§ #8Ž{#§ "'#á #ŒX"'#‚€ #™#Ž|@#’Ú'#§ " #ŒX" #™#Ž}#§ '#áŽ~#§'#6Ž#§'#‚~Ž€#˜¼'#ž­Ž#Ñ'#I"'#‚~ #™‹Ž‚Àâ«8Àâ»^Àâã’ÚÀãU§ ÀãU§Àã+U§Àã=U˜¼ÀãPÑ '#Ä#§#’j#¨$§§Žƒ0#§#8Ž„#§Ž…##§#‡XŽ†#šò'#6Ž‡ #šò"'#6 #JŽˆ#`'#1&'#‰V#j$£$› +#i$£$› +Ž‰#Ÿ'#ŸŽŠ#à'#ᎋ #à"'#á #JŽŒ#ŒX'#áŽ#Ÿ$'#ᎎ#Ÿ%'#Ÿ&Ž#Ÿ''#6Ž#Ÿ('#6Ž‘#Ÿ)'#6Ž’#Ÿ*'#I"'#á #‚fŽ“ÀãÖ8Àãæ^Àãô‡XÀäUšòÀäVšòÀä2U`ÀägUŸÀäzUàÀäVàÀä©UŒXÀä¼UŸ$ÀäÏUŸ%ÀäâUŸ'ÀäôŸ(Àå Ÿ)ÀåŸ* '#žÕ#£)#¨$§£)Ž” 0#£)#8Ž•#£)"'#1&'#‚e #§"'#á #§"'#‚€ #„dŽ–@#’Ú'#£)" #§" #§" #„dŽ—@#’Û'#£)" #§" #§Ž˜#£Ô'# Ž™#§'#„ŒŽš#§'#‚¨#k$§§#i$˜k„`Ž›#à'#᎜#§'#á#k$§§#“w #“w#“x#“w #“w#—ÌŽ ÀåÒ8Àåâ^Àæ!’ÚÀæK’ÛÀænU£ÔÀæ€U§Àæ’U§ÀæÁUàÀæÔU§7'#I"'#£) #†N#§Žž '#£4#§#¨$§§ŽŸ0#§#8Ž #§'#I"'#§ #œÂ"'#£H #Š(#k$§!§"Ž¡#§"'#‚~&'#§##k$§!§"Ž¢#§$'#I"'#§ #œÂ"'#£H #Š(#k$§%†NŽ£#†N'#‚~&'#£)#k$§%†NŽ¤Àç–8À禧Àçæ§"Àè§$ÀèQ†N '#‘¸-'#ˆ=&'#£)'#šf&'#£)'#1&'#£)'#p&'#£)#£+#¨$§&£+Ž¥ +0#£+#8Ž¦#'# Ž§#¤'#£)"'# #¥Ž¨#…5'#I"'# #¥"'#£) #JŽ© #"'# #JŽª#…m'#£)Ž«#…n'#£)Ž¬#ƒ¹'#£)Ž­#…s'#£)"'# #¥Ž®#.'#£)"'# #¥Ž¯ +Àèþ8ÀéUÀé¤Àé?…5ÀékVÀé„U…mÀé–U…nÀé¨Uƒ¹À麅sÀéÛ. '#˜{#§'#¨$§(§'Ž°#Š'#‚eŽ±0#§'#8Ž²@+'#˜“&'#žq*#˜”'#˜“&'#žq$˜•˜–Ž³@+'#˜“&'#žq*#˜™'#˜“&'#žq$˜š‚fŽ´@+'#˜“&'#žq*#›S'#˜“&'#žq$›T‰òŽµ@+'#˜“&'#žq*#§)'#˜“&'#žq$§*§+Ž¶@+'#˜“&'#žq*#§,'#˜“&'#žq$§-§.Ž·@+'#˜“&'#žq*#žr'#˜“&'#žq$žsžtŽ¸#§'Ž¹@#’Ú'#§'Žº@+'# *#§/Ž»@+'# *#§0Ž¼@+'# *#§1Ž½#‚f'#™Ž¾#™'# Ž¿#˜–'#IŽÀ#§2'#I"'#žÕ #žÞŽÁ#§3'#I"'#žÕ #žÞ#k$§4§5ŽÂ#§6'#I"'#žÕ #žÞ"'#á #Œ ŽÃ#˜¨'#ó&'#žqŽÄ#„Ù'#ó&'#žqŽÅ#›Ó'#ó&'#žqŽÆ#§7'#ó&'#žqŽÇ#§8'#ó&'#žqŽÈ#ž…'#ó&'#žqŽÉÀêeUŠÀêw8Àꇘ”À꿘™Àê÷›SÀë/§)Àëg§,À럞rÀë×^Àëå’ÚÀëú§/Àì§0Àì*§1ÀìBU‚fÀìUU™Àìg˜–Àì|§2À잧3ÀìΧ6ÀíU˜¨ÀíU„ÙÀí4U›ÓÀíNU§7ÀíhU§8Àí‚Už… '#‘¸#¦ª#“w #“w#“x#¨$§9§:ŽÊ0#¦ª#8ŽËP#“|'#6ŽÌ#à'#áŽÍ#‹e'#£‰ŽÎÀî‡8Àî—U“|Àî¨UàÀî»U‹e7'#I"'#¦ª #§;#£GŽÏ '#˜{#§##¨$§<§#ŽÐ0#§##8ŽÑ@+'#˜“&'#žq*#˜”'#˜“&'#žq$˜•˜–ŽÒ@+'#˜“&'#’Õ*#˜™'#˜“&'#’Õ$˜š‚fŽÓ@+'#˜“&'#žq*#žr'#˜“&'#žq$žsžtŽÔ@+'#˜“&'#žq*#§='#˜“&'#žq$§>ƒŽÕ@+'#˜“&'#žq*#§?'#˜“&'#žq$§@§AŽÖ@+'#˜“&'#žq*#§B'#˜“&'#žq$§C§DŽ×@+'# *#§/ŽØ@+'# *#§EŽÙ@+'# *#§FŽÚ#‚f'#™ŽÛ#'# ŽÜ#'# ŽÝ#™'# ŽÞ#˜–'#IŽß#§G'#I"'# #Žà#„Ô'#I"'# #ƒ7Žá#ƒ'#I"'#žÕ #AŽâ#˜¨'#ó&'#žqŽã#„Ù'#ó&'#’ÕŽä#ž…'#ó&'#žqŽå#§H'#ó&'#žqŽæ#§I'#ó&'#žqŽç#§J'#ó&'#žqŽèÀï-8Àï=˜”Àïu˜™Àï­žrÀïå§=Àð§?ÀðU§BÀð§/Àð¥§EÀð½§FÀðÕU‚fÀðèUÀðùUÀñ U™Àñ˜–Àñ2§GÀñS„ÔÀñtƒÀñ•U˜¨Àñ¯U„ÙÀñÉUž…ÀñãU§HÀñýU§IÀòU§J7'#I"'#§# #§K#§ Žé '# #§L#¨$§M§LŽê0#§L#8Žë#§L"'#á #ŒX"'#‚€ #™#Žì@#’Ú'#§L" #ŒX" #™#Ží@#’Û'#§L" #ŒXŽî#§N'#˜{Žï#§O'#‚¨#k$§P§N#i$˜k„`ŽðÀó$8Àó4^Àó_’ÚÀó‚’ÛÀóžU§NÀó°U§O '#‘¸#Ç#¨$§QÇŽñ0#Ç#8Žò#Ç"'#á #§R"'#‚e #ã"'#‚€ #§SŽó@#’Ú'#Ç" #§R" #ã" #§SŽô@#’Û'#Ç" #§R" #ãŽõ#¡V'#áŽö #¡V"'#á #JŽ÷#§R'#áŽø #§R"'#á #JŽù#§T'#áŽú #§T"'#á #JŽû#§U'#‚~&'#ÇŽü#ž~'#áŽý#§V'#áŽþ #§V"'#á #JŽÿ# }'#á # }"'#á #J#¢Ò'#á #¢Ò"'#á #J#§W'#á #§W"'#á #J#§X'#á #§X"'#á #J#‰ò'#‚~&'#ÇÀô,8Àô<^Àôt’ÚÀôž’ÛÀôÁU¡VÀôÔV¡VÀôðU§RÀõV§RÀõU§TÀõ2V§TÀõNU§UÀõhUž~Àõ{U§VÀõŽV§VÀõªU }Àõ½V }ÀõÙU¢ÒÀõìV¢ÒÀöU§WÀöV§WÀö7U§XÀöJV§XÀöf‰ò '#˜{#Ê#¨$§YÊ 0#Ê#8 +@+'#˜“&'#§Z*#§['#˜“&'#§Z$§\§] @+'#˜“&'#§Z*#§^'#˜“&'#§Z$§_§` @+'#˜“&'#§Z*#§a'#˜“&'#§Z$§b§c #ž~'#á#‚'#Ê"'#Ç #‹:#§d'#6"'#á #Ÿp"'#á #‚–#…“'#I#˜f'#6"'#Ç #‹:#…Z'#I"'#Ë #‚O"'#‚e #§e#Ÿ2'#6"'#Ç #‹:#§f'#ó&'#§Z#§g'#ó&'#§Z#§h'#ó&'#§ZÀ÷G8À÷W§[À÷§^À÷ǧaÀ÷ÿUž~Àø‚Àø5§dÀøg…“Àø|˜fÀøž…ZÀøП2ÀøòU§fÀù U§gÀù&U§h '#’Õ#§Z#¨$§i§Z0#§Z#8#§Z"'#á #ŒX"'#‚€ #™#@#’Ú'#§Z" #ŒX" #™#@#’Û'#§Z" #ŒX#§j'#1&'#ÇÀùÉ8ÀùÙ^Àú’ÚÀú'’ÛÀúCU§j '#‘¸#§k#¨$§l§k0#§k#8#¤F'#Ê Àú£8Àú³U¤F '#Î#§m#¨$§n§m!0#§m#8"#§m"'#á #ŒX"'#‚€ #™##@#’Ú'#§m" #ŒX" #™#$#†b'#á%#˜¼'#ž­&#Ñ'#I"'#‚~ #™‹'Àúø8Àû^Àû0’ÚÀûSU†bÀûfU˜¼ÀûyÑ '#‘¸#žð#“w #“w#“x#“w #“w#“y#“w #“w#—Æ$˜˜€#“w #“w#—Ì#¨$§ožð( 0#žð#8)#žð"'#Ÿ #Ÿ*@#’Ú'#žð" #Ÿ+@#’Û'#žð,P#“|'#6-#‰#'#I"'#á #à"'#á #J.#§p'#I"'#á #à"'#žÕ #J"'#á #¦Á#k$§q‰#/#˜f'#I"'#á #à0#˜Â'#‚e"'#á #à1#˜Í'#1&'#‚e"'#á #à2#Ÿ2'#6"'#á #à3#‰M'#I"'#á #à" #J"'#á #¦Á4 Àü-8Àü=^Àü[’ÚÀüw’ÛÀüŒU“|Àü‰#Àü˧pÀý˜fÀý9˜ÂÀý\˜ÍÀý†Ÿ2Àý¨‰M '#Ä#Ÿ#¨$§r§s50#Ÿ#86#Ÿ7##Ÿ#‡X8#§t'#á9 #§t"'#á #J:#…»'#á; #…»"'#á #J<#ñ'#á= #ñ"'#á #J>#†S'#á? #†S"'#á #J@#§u'#áA #§u"'#á #JB#'# C#…<'#áD #…<"'#á #JE#à'#áF #à"'#á #JG#§v'#6H #§v"'#6 #JI#…†'#áJ #…†"'#á #JK#'#‚e"'#á #àL#Ÿ('#6M#.'#˜<"'# #¥N#Ÿ)'#6O#§w'#I"'#‚€ #ùP#§x'#I" #ù#k$§y§wQ#…ø'#IR#›”'#ISÀþW8Àþg^Àþu‡XÀþ†U§tÀþ™V§tÀþµU…»ÀþÈV…»ÀþäUñÀþ÷VñÀÿU†SÀÿ&V†SÀÿBU§uÀÿUV§uÀÿqUÀÿ‚U…<Àÿ•V…<Àÿ±UàÀÿÄVàÀÿàU§vÀÿòV§vÀ U…†À V…†À <À _Ÿ(À t.À –Ÿ)À «§wÀ ̧xÀ ö…øÀ  ›”7'#I"'#‚Û #§z#§{T7'#I"'#á #A#§|U '#‘¸#§}#¨$§~§}V 0#§}#8W#§'#1&'#‚ÛX#§€'#1&'#§#i$§‚§ƒ#j$§„‘ÙY#§…'#6Z#§†'# [#§‡'#á\#Œ'#á]#¥'# ^#§ˆ'#á_#§‰'#§Š`#§‹'# a À Q8À aU§À {U§€À ±U§…À ÃU§†À ÕU§‡À èUŒÀ ûU¥À  U§ˆÀ  U§‰À 3U§‹ '#‘¸#§#¨$§Œ§b0#§#8c#ž '#6d#§'#6e#J'#‚ÛfÀ ¶8À ÆUž À ØU§À êUJ '#’Õ#§Ž#¨$§§Žg0#§Ž#8h#§Ž"'#á #ŒX"'#‚€ #™#i@#’Ú'#§Ž" #ŒX" #™#j@#’Û'#§Ž" #ŒXk#§'#§}lÀ ;8À K^À v’ÚÀ ™’ÛÀ µU§ '#‘¸#§Š#¨$§‘§Šm 0#§Š#8n#§’'##o#§“'##p#§”'#6q#§•'#6r#§–'##s#§—'##t#ž'##u#'##v À 8À U§’À 0U§“À BU§”À TU§•À fU§–À xU§—À ŠUžÀ œU '#‘¸#§˜#’j#¨$§™§˜w #§š'#‚~&'#§›"'#6 #§œ"'#„À #Š"'#„À #§x#§ž'#ó&'#§›"'#6 #§œ"'#„À #Š"'#„À #§y#§Ÿ'#§›" #§ z0#§˜#8{#§¡'#I"'# #§¢#k$§£§¤|#§¥'#I"'#§¦ #œÂ"'#§§ #Š("'#‚€ #„d}#§¨'#I" #œÂ"'#§§ #Š(" #„d#k$§©§š~#§ª'#I" #œÂ"'#§§ #Š(#k$§©§š#§«'#I" #œÂ#k$§©§š€#§¬'# "'#§¦ #œÂ"'#§§ #Š("'#‚€ #„d#§­'# " #œÂ"'#§§ #Š(" #„d#k$§®§ž‚#§¯'# " #œÂ"'#§§ #Š(#k$§®§žƒ#§°'# " #œÂ#k$§®§ž„ À §šÀ f§žÀ ²§ŸÀ Î8À Þ§¡À  §¥À N§¨À Œ§ªÀ ç«À í§¬À .§­À l§¯À £§°'#§›#§±…+*#¦ê†#§± #¦ê‡#ž'# %ˆ#§‹'# ‰À ?¦êÀ P^À gUžÀ yU§‹ '#‘¸#§›#¨$§²§³Š0#§›#8‹#ž'# %Œ#§‹'# À Ë8À ÛUžÀ îU§‹'#˜{#š÷Žw#¦î'#I"'#á #ŒX'#‚¨"'#’Õ #‰ì #ŠW"'#6 #¦ï#¦ó'#6"'#’Õ #‰ì#¦ð'#I"'#á #ŒX'#‚¨"'#’Õ #‰ì #ŠW"'#6 #¦ï‘#¦'#¦é’0#š÷#8“@+'#˜“&'#’Õ*#˜”'#˜“&'#’Õ$˜•˜–”@+'#˜“&'#’Õ*#›'#˜“&'#’Õ$››•@+'#˜“&'#’Õ*#›'#˜“&'#’Õ$››–@+'#˜“&'#’Õ*#›'#˜“&'#’Õ$››—@+'#˜“&'#’Õ*#›'#˜“&'#’Õ$›ˆš˜@+'#˜“&'#›*#›'#˜“&'#›$›› ™@+'#˜“&'#›*#›'#˜“&'#›$››š@+'#˜“&'#’Õ*#›'#˜“&'#’Õ$› ›!#—Ò$§´§µ›@+'#˜“&'#›*#›$'#˜“&'#›$›%›&œ@+'#˜“&'#›*#›''#˜“&'#›$›(›)@+'#˜“&'#›*#›*'#˜“&'#›$›+›,ž@+'#˜“&'#›*#›-'#˜“&'#›$›.›/Ÿ@+'#˜“&'#›*#›0'#˜“&'#›$›1›2 @+'#˜“&'#›*#›3'#˜“&'#›$›4›5¡@+'#˜“&'#›*#›6'#˜“&'#›$›7›8¢@+'#˜“&'#’Õ*#›9'#˜“&'#’Õ$›:›;£@+'#˜“&'#’Õ*#›<'#˜“&'#’Õ$›=›>¤@+'#˜“&'#’Õ*#›?'#˜“&'#’Õ$›@›A¥@+'#˜“&'#’Õ*#˜™'#˜“&'#’Õ$˜š‚f¦@+'#˜“&'#’Õ*#›B'#˜“&'#’Õ$›C›D§@+'#˜“&'#’Õ*#‹'#˜“&'#’Õ$›E‚¨@+'#˜“&'#’Õ*#›F'#˜“&'#’Õ$›G›H©@+'#˜“&'#›I*#›J'#˜“&'#›I$›K›Lª@+'#˜“&'#›I*#›M'#˜“&'#›I$›N›O«@+'#˜“&'#›I*#›P'#˜“&'#›I$›Q›R¬@+'#˜“&'#’Õ*#›S'#˜“&'#’Õ$›T‰ò­@+'#˜“&'#’Õ*#›U'#˜“&'#’Õ$›V›W®@+'#˜“&'#’Õ*#›X'#˜“&'#’Õ$›Y›Z¯@+'#˜“&'#›*#›['#˜“&'#›$›\›]°@+'#˜“&'#›*#›^'#˜“&'#›$›_›`±@+'#˜“&'#›*#›a'#˜“&'#›$›b›c²@+'#˜“&'#›*#›d'#˜“&'#›$›e›f³@+'#˜“&'#›*#›g'#˜“&'#›$›h›i´@+'#˜“&'#›*#›j'#˜“&'#›$›k›lµ@+'#˜“&'#›*#›m'#˜“&'#›$›n›o¶@+'#˜“&'#›p*#›q'#˜“&'#›p$›r›s·@+'#˜“&'#’Õ*#›t'#˜“&'#’Õ$›uˆ$¸@+'#˜“&'#’Õ*#›v'#˜“&'#’Õ$›w›x¹@+'#˜“&'#’Õ*#›y'#˜“&'#’Õ$›z›{º@+'#˜“&'#’Õ*#›|'#˜“&'#’Õ$›}›~»@+'#˜“&'#’Õ*#›'#˜“&'#’Õ$›€…ø¼@+'#˜“&'#’Õ*#›'#˜“&'#’Õ$›‚›ƒ½@+'#˜“&'#’Õ*#›„'#˜“&'#’Õ$›…›†¾@+'#˜“&'#’Õ*#›‡'#˜“&'#’Õ$›ˆ›‰¿@+'#˜“&'#’Õ*#›Š'#˜“&'#’Õ$›‹›ŒÀ@+'#˜“&'#’Õ*#›'#˜“&'#’Õ$›Ž—Á@+'#˜“&'#’Õ*#›'#˜“&'#’Õ$››‘Â@+'#˜“&'#’Õ*#›’'#˜“&'#’Õ$›“›”Ã@+'#˜“&'#’Õ*#›•'#˜“&'#’Õ$›–›—Ä@+'#˜“&'#’Õ*#›˜'#˜“&'#’Õ$›™›šÅ@+'#˜“&'#››*#›œ'#˜“&'#››$››žÆ@+'#˜“&'#››*#›Ÿ'#˜“&'#››$› ›¡Ç@+'#˜“&'#››*#›¢'#˜“&'#››$›£›¤È@+'#˜“&'#››*#›¥'#˜“&'#››$›¦›§É@+'#˜“&'#’Õ*#›¨'#˜“&'#’Õ$›©›ªÊ@+'#˜“&'#’Õ*#›«'#˜“&'#’Õ$›¬›­Ë@+'#˜“&'#›p*#›®'#˜“&'#›p$›¯›°Ì#˜¨'#ó&'#’ÕÍ#›º'#ó&'#’ÕÎ#›»'#ó&'#’ÕÏ#›¼'#ó&'#’ÕÐ#›½'#ó&'#’ÕÑ#›¾'#ó&'#›Ò#›¿'#ó&'#›Ó#›À'#ó&'#’Õ#—Ò$§¶§·Ô#›Ã'#ó&'#›Õ#›Ä'#ó&'#›Ö#›Å'#ó&'#›×#›Æ'#ó&'#›Ø#›Ç'#ó&'#›Ù#›È'#ó&'#›Ú#›É'#ó&'#›Û#›Ê'#ó&'#’ÕÜ#›Ë'#ó&'#’ÕÝ#›Ì'#ó&'#’ÕÞ#„Ù'#ó&'#’Õß#›Í'#ó&'#’Õà#›Î'#ó&'#’Õá#›Ï'#ó&'#’Õâ#›Ð'#ó&'#›Iã#›Ñ'#ó&'#›Iä#›Ò'#ó&'#›Iå#›Ó'#ó&'#’Õæ#›Ô'#ó&'#’Õç#›Õ'#ó&'#’Õè#›Ö'#ó&'#›é#›×'#ó&'#›ê#›Ø'#ó&'#›ë#›Ù'#ó&'#›ì#›Ú'#ó&'#›í#›Û'#ó&'#›î#›Ü'#ó&'#›ï#›Ý'#ó&'#›pð#‰Ã'#ó&'#’Õñ#›Þ'#ó&'#’Õò#›ß'#ó&'#’Õó#›à'#ó&'#’Õô#›á'#ó&'#’Õõ#›â'#ó&'#’Õö#›ã'#ó&'#’Õ÷#›ä'#ó&'#’Õø#›å'#ó&'#’Õù#›æ'#ó&'#’Õú#›ç'#ó&'#’Õû#›è'#ó&'#’Õü#›é'#ó&'#’Õý#›ê'#ó&'#’Õþ#›ë'#ó&'#››ÿ#›ì'#ó&'#››#›í'#ó&'#››#›î'#ó&'#››#›ï'#ó&'#’Õ#›ð'#ó&'#’Õ#›ñ'#ó&'#›pwÀ +,¦îÀ +z¦óÀ +›¦ðÀ +éU¦À +û8À ˜”À C›À {›À ³›À ë›À #›À [›À “›À Ù›$À ›'À I›*À ›-À ¹›0À ñ›3À )›6À a›9À ™›<À Ñ›?À  ˜™À A›BÀ y‹À ±›FÀ é›JÀ !›MÀ Y›PÀ ‘›SÀ É›UÀ ›XÀ 9›[À q›^À ©›aÀ á›dÀ ›gÀ Q›jÀ ‰›mÀ Á›qÀ ù›tÀ 1›vÀ i›yÀ ¡›|À Ù›À ›À I›„À ›‡À ¹›ŠÀ ñ›À )›À a›’À ™›•À Ñ›˜À  ›œÀ A›ŸÀ y›¢À ±›¥À 雨À !›«À Y›®À ‘U˜¨À «U›ºÀ ÅU›»À ßU›¼À ùU›½À U›¾À -U›¿À GU›ÀÀ oU›ÃÀ ‰U›ÄÀ £U›ÅÀ ½U›ÆÀ ×U›ÇÀ ñU›ÈÀ  U›ÉÀ %U›ÊÀ ?U›ËÀ YU›ÌÀ sU„ÙÀ U›ÍÀ §U›ÎÀ ÁU›ÏÀ ÛU›ÐÀ õU›ÑÀ U›ÒÀ )U›ÓÀ CU›ÔÀ ]U›ÕÀ wU›ÖÀ ‘U›×À «U›ØÀ ÅU›ÙÀ ßU›ÚÀ ùU›ÛÀ U›ÜÀ -U›ÝÀ GU‰ÃÀ aU›ÞÀ {U›ßÀ •U›àÀ ¯U›áÀ ÉU›âÀ ãU›ãÀ ýU›äÀ U›åÀ 1U›æÀ KU›çÀ eU›èÀ U›éÀ ™U›êÀ ³U›ëÀ ÍU›ìÀ çU›íÀ U›îÀ U›ïÀ 5U›ðÀ OU›ñ '#Ø#§¸#¨$§¹§¸0#§¸#8#§¸"'#‚€ #Ö@#’Ú'#§¸" #Ö @#’Û'#§¸ +#f'#‚Û #g'#‚Û #h'#‚Û À !8À !^À !5’ÚÀ !Q’ÛÀ !fUfÀ !xUgÀ !ŠUh '#Ä#§º#¨$§»§¼0#§º#8#§º##§º#‡X#Ÿg'#á #Ÿg"'#á #JÀ !í8À !ý^À " ‡XÀ "UŸgÀ "/VŸg '#’Õ#§½#“w #“w#“x#“w #“w#“y#“w #“w#—Ì#’j#¨$§¾§½#§½"'#á #ŒX"'#6 # "'#6 # "'#á #§¿"'#á #§À0#§½#8"'#á #ŒX"'#‚€ #™#@#’Ú'#§½" #ŒX" #™#@#’Û'#§½" #ŒXP#“|'#6#§À'#á#k$§Á§Â#§¿'#á#k$§Ã§ÄÀ "Ê^À #'8À #T’ÚÀ #w’ÛÀ #“U“|À #¤U§ÀÀ #ÅU§¿ '#Ä#£Î#¨$§Å§Æ0#£Î#8#£Î##£Î#‡XÀ $:8À $J^À $X‡X '#‘¸#§Ç#¨$§È§Ç 0#§Ç#8!#§Ç"'#‚e #ž¥"@#’Ú'#§Ç" #ž¥#@#’Û'#§Ç$À $¡8À $±^À $Ï’ÚÀ $ë’Û '#Ä#§É#¨$§Ê§Ë%0#§É#8&0#§É#§Ì'0#§É#§Í(0#§É#§Î)0#§É#§Ï*0#§É#§Ð+0#§É#§Ñ,##§É#‡X-À %?8À %O§ÌÀ %`§ÍÀ %q§ÎÀ %‚§ÏÀ %“§ÐÀ %¤§ÑÀ %µ‡X '#‘¸'#§Ò#§Ó#¨$§Ô§Ó.P#§Õ'#6/0#§Ó#80#'# 1#§Ö'#á2 #§Ö"'#á #J3#‚('#‚¨4#§×'#‚¨#k$§Ø‚(#˜1#˜25#§Ù'#I6#§Ú'#I7#§Û'#I"'# #§Ü8#§Ý'#I" #A"'#á #ž¶"'#á #…#“w #“w#“x#“w #“w#“y#“w #“w#—Æ$˜˜€#“w #“w#—Ì9#§Þ'#I" #A" #ž¶" #…#k$§ß§Ý#“w #“w#“x#“w #“w#“y#“w #“w#—Æ$˜˜€#“w #“w#—Ì:#§à'#I" #A"'#á #ž¶"'#á #…#“w #“w#“x#“w #“w#“y#“w #“w#—Æ$˜˜€#“w #“w#—Ì;#§á'#I" #A" #ž¶" #…#k$§â§à#“w #“w#“x#“w #“w#“y#“w #“w#—Æ$˜˜€#“w #“w#—Ì<À &*U§ÕÀ &;8À &KUÀ &\U§ÖÀ &oV§ÖÀ &‹U‚(À &U§×À &̧ÙÀ &á§ÚÀ &ö§ÛÀ '§ÝÀ '“§ÞÀ (§àÀ (ˆ§á '#‘¸-'#ˆ=&'#‰V'#šf&'#‰V'#p&'#‰V'#1&'#‰V#› +#¨$§ã§ä= 0#› +#8>#'# ?#¤'#‰V"'# #¥@#…5'#I"'# #¥"'#‰V #JA #"'# #JB#…m'#‰VC#…n'#‰VD#ƒ¹'#‰VE#…s'#‰V"'# #¥F#.'#‰V"'# #¥G#§å'#‚e"'#á #àH À )Ä8À )ÔUÀ )ä¤À *…5À *1VÀ *JU…mÀ *\U…nÀ *nUƒ¹À *€…sÀ *¡.À *çå '#£­#Á#¨$§æ§çI0#Á#8J#‹š'#žòK #‹š"'#žò #JL#£ø'#£ö"'# #f"'# #g#’jM#¤D'#˜<"'# #f"'# #gN#£Ð'#£ÎO#£Ô'#áP#£×'#áQ#£Ú'#áR#£à'#áS #£à"'#á #JT#¤?'#1&'#šõU#ž¶'#áV #ž¶"'#á #JW#¤!'#I#“w #“w#“x#“w #“w#—ÌX#¤2'#…6"'#á #‘"'#‚€ #„dY#Œ'#I"'#á #‘"'#…> #¤j"'#á #¤k#‚´Z@+'#˜“&'#’Õ*#§è'#¥¹&'#’Õ#§é#“w #“w#“x#“w #“w#“y#“w #“w#—Æ$˜˜€[@#§é'#á"'#˜{ #ƒÆ\#§ê'#ó&'#’Õ#“w #“w#“x#“w #“w#“y#“w #“w#—Æ$˜˜€]#§ë'#§ì"'#…> #ŒX"'#á #¤k^À +U8À +eU‹šÀ +xV‹šÀ +”£øÀ +ȤDÀ +óU£ÐÀ ,U£ÔÀ ,U£×À ,)U£ÚÀ ,;U£àÀ ,MV£àÀ ,hU¤?À ,Už¶À ,“Vž¶À ,®¤!À ,â¤2À -ŒÀ -Y§èÀ -ħéÀ -æU§êÀ .5§ë '#› +#§í#¨$§î§ï_0#§í#8`#§å'#‚e"'#á #àaÀ /8À //§å '#Ä#§ð#¨$§ñ§òb0#§ð#8c#§ðd##§ð#‡XeÀ /„8À /”^À /¢‡X '#‘¸#ž%#¨$§ó§ôf0#ž%#8g#‡4'#áh #‡4"'#á #Ji#;'#áj #;"'#á #Jk#ž-'#ál #ž-"'#á #Jm#™4'#án #™4"'#á #Jo#†b'#áp#ž.'#áq #ž."'#á #Jr#ž/'#ás #ž/"'#á #Jt#†C'#áu #†C"'#á #Jv#ž0'#áw #ž0"'#á #Jx#ž1'#áy #ž1"'#á #Jz#ž2'#á{ #ž2"'#á #J|À /ë8À /ûU‡4À 0V‡4À 0*U;À 0s8 '#Ä#¨&#¨$¨'¨(¼0#¨½#¨&¾##¨&#‡X¿#¨)'#áÀ #¨)"'#á #JÁ#¨*'#6 #¨*"'#6 #JÃ#¨+'#6Ä #¨+"'#6 #JÅ#¨,'#£ÃÆ#¨-'#‚¨#k$¨.¨,#i$£Ç£È#j$£Ç£ÈÇ#¨/'#áÈ #¨/"'#á #JÉ#ƒì'#áÊ #ƒì"'#á #JË#à'#áÌ #à"'#á #JÍ#ž+'#áÎ #ž+"'#á #JÏ#¨0'#¥eÐ#ž’'#áÑ #ž’"'#á #JÒ#¨1'#áÓ #¨1"'#á #JÔ#ƒë'#áÕ #ƒë"'#á #JÖÀ >®8À >¾^À >̇XÀ >ÝU¨)À >ðV¨)À ? U¨*À ?V¨*À ?9U¨+À ?KV¨+À ?fU¨,À ?xU¨-À ?µU¨/À ?ÈV¨/À ?äUƒìÀ ?÷VƒìÀ @UàÀ @&VàÀ @BUž+À @UVž+À @qU¨0À @„Už’À @—Vž’À @³U¨1À @ÆV¨1À @âUƒëÀ @õVƒë '#‘¸#¨2#¨$¨3¨2×0#¨2#8Ø#¨4'#6Ù#¨5'#4ÚÀ Aê8À AúU¨4À B ¨57'#I"'#¨2 #¨6#¨7Û '#‘¸#”.#¨$¨8”.Ü0#”.#8Ý#ƒì'# Þ#ƒë'# ß#ù'#IàÀ By8À B‰UƒìÀ B›UƒëÀ B­ù '#‘¸#¨9#¨$¨:¨9á0#¨9#8â#’‚'#’ƒã#¨;'#I"'#”. #”/äÀ C8À CU’‚À C%¨; '#‘¸#¨<#¨$¨=¨<å 0#¨<#8æ#¨<"'#Ÿ: #¨>ç@#’Ú'#¨<" #¨>è#¨>'#Ÿ:é#¨?'#‚~&'#¨@ê#¨A'#‚~&'#‚€&'#á'#‚¨ë#¨B'#‚~&'#”.ì#¨C'#‚~"'#‚€ #¨Dí#¨E'#‚~&'#žÕ"'#‚€ #¨Dî À C€8À C^À C«’ÚÀ CÇU¨>À CÚ¨?À C÷¨AÀ D"¨BÀ D?¨CÀ Da¨E '#‘¸#˜#¨$¨F˜ï0#˜#8ð#˜" #¨G"'# #Ÿ‹"'# #Ÿ•ñ@#’Ú'#˜" #¨G" #Ÿ‹ò@#’Û'#˜" #¨G" #Ÿ‹ó@#ž='#˜" #¨G" #Ÿ‹" #Ÿ•ô#A'##i$¨H’N#j$¨H’Nõ#ƒì'# ö#ƒë'# ÷À Dð8À E^À E0’ÚÀ ES’ÛÀ Evž=À E UAÀ EÍUƒìÀ EßUƒë '#Ä'#Ÿ>#”'#¨$¨I¨Jø0#”'#8ù#”'"'#á #ž’"'# #ƒë"'# #ƒìú##”'#‡Xû#žŒ'#áü #žŒ"'#á #Jý#‰„'#áþ #‰„"'#á #Jÿ#Š '#6‘#¨K'#á‘ #¨K"'#á #J‘#¨L'#á‘#ƒì'# ‘ #ƒì"'# #J‘#¨M'#6‘ #¨M"'#6 #J‘#¨N'# ‘#¨O'# ‘ #ž+'#á‘ + #ž+"'#á #J‘ #¨P'#á‘  #¨P"'#á #J‘ #ž’'#á‘ #ž’"'#á #J‘#¨Q'#á‘ #¨Q"'#á #J‘#¨R'#á‘ #¨R"'#á #J‘#ƒë'# ‘ #ƒë"'# #J‘#ä'#‚~‘À FS8À Fc^À FŸ‡XÀ F°UžŒÀ FÃVžŒÀ FßU‰„À FòV‰„À GUŠ À G U¨KÀ G3V¨KÀ GOU¨LÀ GbUƒìÀ GtVƒìÀ GU¨MÀ G¡V¨MÀ G¼U¨NÀ GÎU¨OÀ GàUž+À GóVž+À HU¨PÀ H"V¨PÀ H>Už’À HQVž’À HmU¨QÀ H€V¨QÀ HœU¨RÀ H¯V¨RÀ HËUƒëÀ HÝVƒëÀ Høä '#‘¸#¨S#¨$¨T¨S‘0#¨S#8‘#¨S"'#‚€ #¨U‘@#’Ú'#¨S" #¨U‘@#’Û'#¨S‘#¨V'#6‘À J8À J^À J0’ÚÀ JL’ÛÀ JaU¨V '#Ä'#¨W'#¨X'#¨Y'#¨Z'#¨['#¨\'#¨]'#¨^'#¨_'#¨`'#¨a'#¨b'#¨c'#¨d'#¨e'#¨f'#¨g'#¨h'#¨i'#¨j'#¨k#¨l#¨$¨m¨n‘h#¨l"'#á #ŒX‘0#¨l#8‘##¨l#‡X‘ #ƒ§'#á‘! #ƒ§"'#á #J‘"#žŒ'#á‘# #žŒ"'#á #J‘$#¨o'#á‘% #¨o"'#á #J‘&#ñ'#á‘' #ñ"'#á #J‘(#Ÿ'#6‘) #Ÿ"'#6 #J‘*#¨p'#á‘+ #¨p"'#á #J‘,#‹¼'#6‘- #‹¼"'#6 #J‘.#¨q'#6‘/ #¨q"'#6 #J‘0#„ˆ'#á‘1 #„ˆ"'#á #J‘2#¨r'#á‘3 #¨r"'#á #J‘4#šò'#6‘5 #šò"'#6 #J‘6#£('#1&'#£)#j$¨s¨t#i$£*£+‘7 #£("'#1&'#£) #J‘8#Ÿ'#Ÿ‘9#Ÿ'#á‘: #Ÿ"'#á #J‘;#Ÿ'#á‘< #Ÿ"'#á #J‘=#Ÿ '#á‘> #Ÿ "'#á #J‘?#Ÿ!'#6‘@ #Ÿ!"'#6 #J‘A#Ÿ"'#á‘B #Ÿ""'#á #J‘C#ƒì'# ‘D #ƒì"'# #J‘E#¨u'#6‘F #¨u"'#6 #J‘G#¨v'#6‘H #¨v"'#6 #J‘I#Ÿ#'#1&'#‰V#j$œœ#i$œœ‘J#¨'#Ä‘K#‡'#á‘L #‡"'#á #J‘M#¨w'# ‘N #¨w"'# #J‘O#†'#á‘P #†"'#á #J‘Q#¨x'# ‘R #¨x"'# #J‘S#¨y'#6‘T #¨y"'#6 #J‘U#à'#á‘V #à"'#á #J‘W#…Ò'#á‘X #…Ò"'#á #J‘Y#ž'#á‘Z #ž"'#á #J‘[#ž +'#6‘\ #ž +"'#6 #J‘]#ˆ4'#6‘^ #ˆ4"'#6 #J‘_#¨z'#á‘` #¨z"'#á #J‘a#¨{'# ‘b #¨{"'# #J‘c#¨|'# ‘d #¨|"'# #J‘e#ƒ7'# ‘f #ƒ7"'# #J‘g#ž’'#á‘h #ž’"'#á #J‘i#Œ4'#á‘j #Œ4"'#á #J‘k#ŒX'#á‘l #ŒX"'#á #J‘m#Ÿ$'#á‘n#Ÿ%'#Ÿ&‘o#J'#á‘p #J"'#á #J‘q#¨}'#„Œ‘r#¨~'#‚¨#k$¨¨}#i$˜k„`‘s #¨}"'#„Œ #J‘t #¨€" #J‘u#¨'#‚Û‘v #¨"'#‚Û #J‘w#…°'#1&'#£4#k$¨‚¨ƒ#“w #“w#“x#“w #“w#—Ì‘x#†P'#6#k$¨„¨…#“w #“w#“x#“w #“w#—Ì‘y #†P"'#6 #J#k$¨„¨…‘z#ƒë'# ‘{ #ƒë"'# #J‘|#Ÿ''#6‘}#Ÿ('#6‘~#Ÿ)'#6‘#—'#I‘€#Ÿ*'#I"'#á #‚f‘#¨†'#I"'#á #†"'# #B"'# #C"'#á #¨‡‘‚#¨ˆ'#I"'# #B"'# #C"'#á #˜i‘ƒ#¨‰'#I"'# #„»‘„#¨Š'#I"'# #„»‘…hÀ K9^À KW8À Kg‡XÀ KxUƒ§À K‹Vƒ§À K§UžŒÀ KºVžŒÀ KÖU¨oÀ KéV¨oÀ LUñÀ LVñÀ L4UŸÀ LFVŸÀ LaU¨pÀ LtV¨pÀ LU‹¼À L¢V‹¼À L½U¨qÀ LÏV¨qÀ LêU„ˆÀ LýV„ˆÀ MU¨rÀ M,V¨rÀ MHUšòÀ MZVšòÀ MuU£(À M«V£(À MÎUŸÀ MáUŸÀ MôVŸÀ NUŸÀ N#VŸÀ N?UŸ À NRVŸ À NnUŸ!À N€VŸ!À N›UŸ"À N®VŸ"À NÊUƒìÀ NÜVƒìÀ N÷U¨uÀ O V¨uÀ O$U¨vÀ O6V¨vÀ OQUŸ#À O‡U¨À OšU‡À O­V‡À OÉU¨wÀ OÛV¨wÀ OöU†À P V†À P%U¨xÀ P7V¨xÀ PRU¨yÀ PdV¨yÀ PUàÀ P’VàÀ P®U…ÒÀ PÁV…ÒÀ PÝUžÀ PðVžÀ Q Už +À QVž +À Q9Uˆ4À QKVˆ4À QfU¨zÀ QyV¨zÀ Q•U¨{À Q§V¨{À QÂU¨|À QÔV¨|À QïUƒ7À RVƒ7À RUž’À R/Vž’À RKUŒ4À R^VŒ4À RzUŒXÀ RVŒXÀ R©UŸ$À R¼UŸ%À RÏUJÀ RáVJÀ RüU¨}À SU¨~À S=V¨}À SXV¨€À SmU¨À S€V¨À SœU…°À SäU†PÀ T$V†PÀ TMUƒëÀ T_VƒëÀ TzUŸ'À TŒŸ(À T¡Ÿ)À T¶—À TËŸ*À Tí¨†À U;¨ˆÀ Uv¨‰À Uš¨Š'#˜<#¨‹‘†#Ÿ'#6‘‡"#Ÿ"'#6 #J‘ˆ#šò'#6‘‰"#šò"'#6 #J‘Š#¨u'#6‘‹"#¨u"'#6 #J‘Œ#¨v'#6‘"#¨v"'#6 #J‘Ž#à'#á‘"#à"'#á #J‘#J'#á‘‘"#J"'#á #J‘’#Ÿ#'#1&'#‰V‘“#Ÿ$'#á‘”#Ÿ%'#Ÿ&‘•#Ÿ''#6‘–#Ÿ('#6‘—#Ÿ*'#I"'#á #‚f‘˜À XªUŸÀ X»VŸÀ XÕUšòÀ XæVšòÀ YU¨uÀ YV¨uÀ Y+U¨vÀ Y#Ÿ"'#á’?"#Ÿ""'#á #J’@ À m1^À m?UŸÀ mQVŸÀ mlUŸÀ m~VŸÀ m™UŸ À m«VŸ À mÆUŸ!À m×VŸ!À mñUŸ"À nVŸ"'#¨‹#¨i’A#¨i’B#žŒ'#á’C"#žŒ"'#á #J’D#Ÿ'#á’E"#Ÿ"'#á #J’F#Ÿ'#á’G"#Ÿ"'#á #J’H#Ÿ '#á’I"#Ÿ "'#á #J’J#Ÿ!'#6’K"#Ÿ!"'#6 #J’L#Ÿ"'#á’M"#Ÿ""'#á #J’N#ƒì'# ’O"#ƒì"'# #J’P#ž’'#á’Q"#ž’"'#á #J’R#ƒë'# ’S"#ƒë"'# #J’TÀ n‚^À nUžŒÀ n¢VžŒÀ n½UŸÀ nÏVŸÀ nêUŸÀ nüVŸÀ oUŸ À o)VŸ À oDUŸ!À oUVŸ!À ooUŸ"À oVŸ"À oœUƒìÀ o­VƒìÀ oÇUž’À oÙVž’À oôUƒëÀ pVƒë'#¨‹#¨j’U#¨j’VÀ p»^'#¨‹#¨k’W#¨k’XÀ pç^ '#Î#¨Ž#¨$¨¨Ž’Y0#¨Ž#8’Z#¨Ž"'#á #ŒX"'#‚€ #™#’[@#’Ú'#¨Ž" #ŒX" #™#’\@#’Û'#¨Ž" #ŒX’]#¨'#I"'#‚€ #„d’^#¨‘'#I" #„d#k$¨’¨’_À q 8À q0^À q[’ÚÀ q~’ÛÀ qš¨À q»¨‘ '#‘¸#¨“#¨$¨”¨“’` 0#¨“#8’a#¨“"'#¨• #‚O"'#‚€ #„d’b@#’Ú'#¨“" #‚O" #„d’c@#’Û'#¨“" #‚O’d#‹e'#˜<’e#¨–'#á’f#¨—'#1&'#‚Û’g#œá'#I’h#™'#I"'#˜< #…†’i#¨˜'#1&'#¨™’j#™'#I"'#˜< #…†’k À r28À rB^À rm’ÚÀ r’ÛÀ r¬U‹eÀ r¿U¨–À rÒU¨—À rìœáÀ s™À s#¨˜À s@™7'#I"'#1 #…°"'#¨“ #¨š#¨•’l '#‘¸#¨™#¨$¨›¨™’m0#¨™#8’n#¨œ'#¥\’o#¨'#‚Û’p#¨ž'#¥\’q#¨Ÿ'#6’r#¨ '#¥\’s#…†'#˜<’t#‹í'#‚Û’uÀ sý8À t U¨œÀ t U¨À t3U¨žÀ tFU¨ŸÀ tXU¨ À tkU…†À t~U‹í '#£d#¨¡#¨$¨¢¨¡’v0#¨¡#8’w#£g'# ’x#„W'#á’y#£h'#á’zÀ tí8À týU£gÀ uU„WÀ u"U£h '# #›I#¨$¨£›I’{#›I +"'#á #ŒX"'#¿ #?"'#6 # "'#6 # "'# #“õ"'# #¨¤"'#6 #¨¥"'#6 #¨¦"'#6 #¨§"'#6 #¨¨’|#¨©'#I +"'#á #ŒX"'#6 # "'#6 # "'#¿ #?"'#á #¨ª"'# #“õ"'#6 #¨¥"'#6 #¨¦"'#6 #¨§"'#6 #¨¨’}#¨«'# ’~#‚Ù'# ’#¨¬'# ’€0#›I#8"'#á #ŒX"'#‚€ #™#’@#’Ú'#›I" #ŒX" #™#’‚@#’Û'#›I" #ŒX’ƒ@+'# *#¨­’„@+'# *#¨®’…@+'# *#¨¯’†@+'# *#¨°’‡#¨¦'#6’ˆ#¨±'# #k$¨²‚Ù’‰#†'#á’Š#¨¥'#6’‹#¨³'#6’Œ#‚¦'#á’#¨´'# #k$¨µ¨«’Ž#“õ'# ’#¨¨'#6’#¨¶'#6’‘#¨§'#6’’#¨·'#6"'#á #¨¸’“À uu^À v#¨©À v±U¨«À vÃU‚ÙÀ vÕU¨¬À væ8À w’ÚÀ w6’ÛÀ wR¨­À wj¨®À w‚¨¯À wš¨°À w²U¨¦À wÄU¨±À wäU†À w÷U¨¥À x U¨³À xU‚¦À x.U¨´À xNU“õÀ x`U¨¨À xrU¨¶À x„U¨§À x–¨· '#¨¹#¨º#¨$¨»¨º’”0#¨º#8’•#¨º"'#˜< #…†"'#‚e #ž:"'#‚e #„d’–@#’Ú'#¨º" #…†" #ž:" #„d’—@#’Û'#¨º" #…†" #ž:’˜À y‡8À y—^À yÏ’ÚÀ yù’Û '#ž9#¨¹#¨$¨¼¨¹’™0#¨¹#8’š#¨¹"'#˜< #…†"'#‚e #ž:"'#‚e #„d’›@#’Ú'#¨¹" #…†" #ž:" #„d’œ@#’Û'#¨¹" #…†" #ž:’À z[8À zk^À z£’ÚÀ zÍ’Û '#Ä#¨½#¨$¨¾¨¿’ž0#¨½#8’Ÿ#¨½’ ##¨½#‡X’¡#J'# ’¢ #J"'# #J’£À {/8À {?^À {M‡XÀ {^UJÀ {oVJ '#Ä#¨À#¨$¨Á¨Â’¤0#¨À#8’¥#¨À’¦##¨À#‡X’§#¨Ã'#Ä’¨#Ÿ'#Ÿ’©#¨Ä'#á’ª #¨Ä"'#á #J’«À {Í8À {Ý^À {ë‡XÀ {üU¨ÃÀ |UŸÀ |"U¨ÄÀ |5V¨Ä '#Ä#¨Å#¨$¨Æ¨Ç’¬0#¨Å#8’­#¨Å’®##¨Å#‡X’¯#Ÿ'#Ÿ’°À |¥8À |µ^À |ÇXÀ |ÔUŸ '#Ù#¨È#¨$¨É¨È’±0#¨È#8’²#¨È"'#‚€ #Ö’³@#’Ú'#¨È" #Ö’´@#’Û'#¨È’µÀ }&8À }6^À }T’ÚÀ }p’Û '#Ä#¨Ê#¨$¨Ë¨Ì’¶0#¨Ê#8’·#¨Ê’¸##¨Ê#‡X’¹#¨Í'#á’º #¨Í"'#á #J’»#¨K'#á’¼ #¨K"'#á #J’½#šò'#6’¾ #šò"'#6 #J’¿#™4'#á’À #™4"'#á #J’Á#ž*'#á’ #ž*"'#á #J’Ã#¨Î'#£­’Ä#¨Ï'#á’Å #¨Ï"'#á #J’Æ#šó'#á’Ç #šó"'#á #J’È#ž+'#á’É #ž+"'#á #J’Ê#ž,'#á’Ë #ž,"'#á #J’Ì#¨Ð'#¥e’Í#¨Ñ'#á’Î #¨Ñ"'#á #J’Ï#šô'#šõ’Ð#¨P'#¥e’Ñ#ŒX'#á’Ò #ŒX"'#á #J’Ó#¨Ò'#6’ÔÀ }Ä8À }Ô^À }â‡XÀ }óU¨ÍÀ ~V¨ÍÀ ~"U¨KÀ ~5V¨KÀ ~QUšòÀ ~cVšòÀ ~~U™4À ~‘V™4À ~­Už*À ~ÀVž*À ~ÜU¨ÎÀ ~ïU¨ÏÀ V¨ÏÀ UšóÀ 1VšóÀ MUž+À `Vž+À |Už,À Vž,À «U¨ÐÀ ¾U¨ÑÀ ÑV¨ÑÀ íUšôÀ €U¨PÀ €UŒXÀ €&VŒXÀ €BU¨Ò '#‘¸'#¨Ó#¨Ô#¨$¨Õ¨Ô’Õ0#¨Ô#8’Ö#¨Ö'#1&'#á#j$˜ ˜#i$˜ ˜’×#‡4'#á’Ø #‡4"'#á #J’Ù#;'#á’Ú #;"'#á #J’Û#ž-'#á’Ü #ž-"'#á #J’Ý#™4'#á’Þ #™4"'#á #J’ß#ž/'#á’à #ž/"'#á #J’á#†C'#á’â #†C"'#á #J’ã#ž0'#á’ä #ž0"'#á #J’å#ž1'#á’æ #ž1"'#á #J’ç#¨×'#¨Ø’è #¨×"'#¨Ø #J’é#¨Ù'#I"'#á #…’ê#¨Ú'#I’ë#†'#I"'#á #…’ì#†b'#á’í#‚”'#á’îÀ P8À `U¨ÖÀ –U‡4À ©V‡4À ÅU;À ×V;À òUž-À ‚Vž-À ‚!U™4À ‚4V™4À ‚PUž/À ‚cVž/À ‚U†CÀ ‚’V†CÀ ‚®Už0À ‚ÁVž0À ‚ÝUž1À ‚ðVž1À ƒ U¨×À ƒV¨×À ƒ;¨ÙÀ ƒ`¨ÚÀ ƒu†À ƒ—U†bÀ ƒ©‚” '#Ø#¨Û#¨$¨Ü¨Û’ï0#¨Û#8’ð#¨Û"'#‚€ #Ö’ñ@#’Ú'#¨Û" #Ö’ò@#’Û'#¨Û’ó#f'#‚Û’ô#g'#‚Û’õ#h'#‚Û’öÀ „8À „Ÿ^À „½’ÚÀ „Ù’ÛÀ „îUfÀ …UgÀ …Uh '#Ä#¨Ý#¨$¨Þ¨ß’÷0#¨Ý#8’ø#¨Ý’ù##¨Ý#‡X’ú#¨à'#1&'#‰V#j$£$› +#i$£$› +’û#à'#á’ü #à"'#á #J’ýÀ …u8À ……^À …“‡XÀ …¤U¨àÀ …ÚUàÀ …íVà '#‘¸#¨á#¨$¨â¨á’þ0#¨á#8’ÿ#¨ã'#‚~&'#¨ä"'#‚€ #¨å“#¨æ'#‚~&'#¨ä"'#‚€ #¨å“À †V8À †f¨ãÀ †¨æ '#‘¸#¨ä#¨$¨ç¨ä“0#¨ä#8“#¨è'#6“#¨é'#6“#“|'#6“À †ó8À ‡U¨èÀ ‡U¨éÀ ‡'U“| '#‘¸#¨ê#¨$¨ë¨ê“0#¨ê#8“#¨ì'#á“ #¨í'#á“ +#Ž:'#á“ #Œ '#á“ À ‡y8À ‡‰U¨ìÀ ‡œU¨íÀ ‡¯UŽ:À ‡ÂUŒ  '#˜{#¨î#¨$¨ï¨î“ 0#¨î#8“#¨ð'#‚~&'#1&'#‚¨“#¨ñ'#‚€“#¨ò#k$¨ó¨ñ“#¨ô'#‚~&'#/"'#‚€ #¨õ“À ˆ8À ˆ,¨ðÀ ˆP¨ñÀ ˆe¨òÀ ˆƒ¨ô '#Ä#)#’j#¨$¨ö¨÷“C0#)#8“##)#‡X“@+'# *#¨ø“@+'# *#¨ù“@+'# *#¨ú“@+'# *#¨û“@+'# *#¨ü“@+'# *#¨ý“@+'# *#¨þ“@+'# *#¨ÿ“@+'# *#©“#©'#“#©'#6“  #©"'#6 #J“!#©'#©“"#ö'#6“# #ö"'#6 #J“$#©'#¥e“%#¨K'#á“& #¨K"'#á #J“'#¨L'#á“(#'#‚Û“) #"'#‚Û #J“*#©'#6“+ #©"'#6 #J“,#©'#‚Û“- #©"'#‚Û #J“.#©'#6“/ #©"'#6 #J“0#„Á'#‚Û“1#›A'#6“2#‚f'#© “3#œ¬'#6“4 #œ¬"'#6 #J“5#© +'#© “6#© '#6“7 #© "'#6 #J“8#© '# “9#‹·'#6“:#œ¯'#‚Û“; #œ¯"'#‚Û #J“<#©'#©“=#©'#á“> #©"'#á #J“?#™'# “@#©'#©“A#©'#©“B#›Œ'#6“C#©'#á“D#ž’'#á“E #ž’"'#á #J“F#©'#/“G #©"'#/ #J“H#©'#©“I#©'#©“J#©'#‚Û“K #©"'#‚Û #J“L#©'# #k$©©#“w #“w#“x#“w #“w#—Ì“M#©'# #k$©©#“w #“w#“x#“w #“w#—Ì“N#© '#©!"'#á #Ž:"'#á #Œ "'#á #œý“O#©"'#á"'#á #ŒX"'#á #©##’j“P#ŸG'#/“Q#‰ò'#I“R#ˆ$'#I“S#›x'#‚~“T#©$'#‚~"'#© #© +“U#©%'#‚~"'#á #©“VCÀ ‰8À ‰‡XÀ ‰!¨øÀ ‰9¨ùÀ ‰Q¨úÀ ‰i¨ûÀ ‰¨üÀ ‰™¨ýÀ ‰±¨þÀ ‰É¨ÿÀ ‰á©À ‰ùU©À Š U©À ŠV©À Š9U©À ŠLUöÀ Š^VöÀ ŠyU©À ŠŒU¨KÀ ŠŸV¨KÀ Š»U¨LÀ ŠÎUÀ ŠáVÀ ŠýU©À ‹V©À ‹*U©À ‹=V©À ‹YU©À ‹kV©À ‹†U„ÁÀ ‹™U›AÀ ‹«U‚fÀ ‹¾Uœ¬À ‹ÐVœ¬À ‹ëU© +À ‹þU© À ŒV© À Œ+U© À Œ=U‹·À ŒOUœ¯À ŒbVœ¯À Œ~U©À Œ‘U©À Œ¤V©À ŒÀU™À ŒÒU©À ŒåU©À ŒøU›ŒÀ +U©À Už’À 0Vž’À LU©À _V©À {U©À ŽU©À ¡U©À ´V©À ÐU©À ŽU©À ŽP© À Ž“©"À ŽÏŸGÀ Žå‰òÀ Žúˆ$À ›xÀ $©$À F©% '#’Õ#©&#¨$©'©&“W0#©“X#©&"'#á #ŒX"'#‚€ #™#“Y@#’Ú'#©&" #ŒX" #™#“Z@#’Û'#©&" #ŒX“[#©('# “\#©)'#á“]À ‘j8À ‘z^À ‘¥’ÚÀ ‘È’ÛÀ ‘äU©(À ‘öU©) '#‘¸#© #’j#¨$©*© “^0#© #8“_@+'# *#©+“`@+'# *#©,“a@+'# *#©-“b@+'# *#©.“c#†'# “d#„W'#á“eÀ ’_8À ’o©+À ’‡©,À ’Ÿ©-À ’·©.À ’ÏU†À ’áU„W '#’Õ#©/#¨$©0©/“f0#©/#8“g#©/"'#á #ŒX"'#‚€ #™#“h@#’Ú'#©/" #ŒX" #™#“i#„W'# “j#©1'#á“kÀ “M8À “]^À “…’ÚÀ “¨U„WÀ “ºU©1 '#˜{#©2#¨$©3©2“l 0#©2#8“m@+'#˜“&'#žø*#žù'#˜“&'#žø$žú„W“n#©4'#‚~&'#I“o#©5'#‚Û“p#©6'#©7“q#©8'#á“r#ù'#‚~“s#©9'#‚~"'#á #©)" #©(“t#‰ò'#‚~"'#á #©8“u#…—'#‚~“v#˜s'#‚~" #‹Å#k$˜u…·“w#Ÿ '#ó&'#žø“x À ”8À ”#žùÀ ”[U©4À ”tU©5À ”‡U©6À ”šU©8À ”­ùÀ ”©9À ”ë‰òÀ • …—À •"˜sÀ •MUŸ  '#‘¸#©7#¨$©:©7“y0#©7#8“z#ƒ7'# “{#˜Â'#‚e" #©;“|#Ÿ2'#6" #©;“}À •à8À •ðUƒ7À –˜ÂÀ –Ÿ2 '#‘¸#©<#¨$©=©<“~0#©<#8“#©#'#á“€#©>'#‚~“#©?'#‚€“‚#©@#k$©A©?“ƒÀ –{8À –‹U©#À –ž©>À –³©?À –È©@ '#‘¸#© #¨$©B© “„0#© #8“…#©C'#©2"'#á #©D#k$©E©F“†#©G'#‚~"'#©H #©I“‡#©J'#‚~" #©K“ˆÀ —-8À —=©CÀ —q©GÀ —“©J '#‘¸#©H#¨$©L©H“‰0#©H#8“Š#©H"'#‚€ #ž¥“‹@#’Ú'#©H" #ž¥“Œ#©M'#á“À —ï8À —ÿ^À ˜’ÚÀ ˜6U©M '#‘¸# #’j#¨$©N “Ž0# #8“#'# “#©O'#á“‘ #©O"'#á #J“’#©P'#I"'#á #©Q““#©R'#I"'#á #©Q“”#.'#á"'# #¥“•À ˜‘8À ˜¡UÀ ˜²U©OÀ ˜ÅV©OÀ ˜á©PÀ ™©RÀ ™%. '#‘¸#©S#¨$©T©S“– 0#©S#8“—#©S"'#‚€ #ŒÚ“˜@#’Ú'#©S" #ŒÚ“™@#’Û'#©S“š#©U'#á“› #©U"'#á #J“œ#©V'#á“ #©V"'#á #J“ž#©W'#1“Ÿ #©W"'#1 #J“ #ž¶'#á“¡ #ž¶"'#á #J“¢ À ™›8À ™«^À ™É’ÚÀ ™å’ÛÀ ™úU©UÀ š V©UÀ š)U©VÀ š“í#©€'#/“î#©'#1&'#Ÿ:#i$©‚©ƒ#j$§„‘Ù“ï#'#Ÿ:"'#á #©„“ð#©…'#1&'#Ÿ:“ñ#©†'#1&'#Ÿ:#i$©‚©ƒ#j$§„‘Ù“ò#©‡'#I"'#Ÿ: #¨>“ó#©ˆ'#ó&'#’Õ“ô#©‰'#ó&'#’Õ“õP#“|'#6“öÀ £¾8À £Î©wÀ ¤©zÀ ¤>^À ¤V’ÚÀ ¤k’ÛÀ ¤‡ž=À ¤£U©~À ¤µUŒÀ ¤È©À ¤ê©€À ¥©À ¥9À ¥\©…À ¥y©†À ¥²©‡À ¥ÔU©ˆÀ ¥îU©‰À ¦U“| '#’Õ#©Š#“w #“w#“x#¨$©‹©Š“÷0#©Š#8“ø#©Š"'#á #ŒX"'#‚€ #™#“ù@#’Ú'#©Š" #ŒX" #™#“ú@#’Û'#©Š" #ŒX“ûP#“|'#6“ü#ô'#/“ýÀ ¦Ó8À ¦ã^À §’ÚÀ §1’ÛÀ §MU“|À §^Uô '#˜{#Ÿ:#“w #“w#“x#¨$©ŒŸ:“þ0#Ÿ:#8“ÿ@+'#˜“&'#’Õ*#›?'#˜“&'#’Õ$›@›A”@+'#˜“&'#’Õ*#©'#˜“&'#’Õ$©Ž©”@+'#˜“&'#’Õ*#©'#˜“&'#’Õ$©‘©’”#©“'#á” #©“"'#á #J”#œü'#6” #œü"'#6 #J”#Œ'#á”#Ž:'#á”#Œ '#á” #© '#6” +#™'#á” #©”'#‚~"'#‚€ #¨õ” #©€'#Ÿ:” #©•'#‚€”#©–#k$©—©•”#©˜'#‚€”#©™#k$©š©˜”#©›'#‚€”#©œ#k$©©›”#…÷'#I”#›Ì'#ó&'#’Õ”#©ž'#ó&'#’Õ”#©Ÿ'#ó&'#’Õ”À §Î8À §Þ›?À ¨©À ¨N©À ¨†U©“À ¨™V©“À ¨µUœüÀ ¨ÇVœüÀ ¨âUŒÀ ¨õUŽ:À ©UŒ À ©U© À ©-U™À ©@©”À ©e©€À ©{©•À ©©–À ©®©˜À ©Ã©™À ©á©›À ©ö©œÀ ª…÷À ª)U›ÌÀ ªCU©žÀ ª]U©Ÿ '#’Õ#© #“w #“w#“x#¨$©¡© ”0#© #8”#© "'#á #ŒX"'#‚€ #™#”@#’Ú'#© " #ŒX" #™#”P#“|'#6”#¨>'#Ÿ:”À «]8À «m^À «•’ÚÀ «¸U“|À «ÉU¨> '#‘¸#©¢#¨$©£©¢”0#©¢#8”#©¤'# ” #©¥'# ”!#©¦'# ”"À ¬"8À ¬2U©¤À ¬DU©¥À ¬VU©¦ '#Ä#©§#¨$©¨©©”#0#©§#8”$#©§”%##©§#‡X”&À ¬¨8À ¬¸^À ¬Æ‡X7'#I"'#‚€ #„W#©ª”' '#‘¸#©«#’j#¨$©¬©«”(0#©«#8”)#©«”*@#’Ú'#©«”+#©­'#¦ü”,#©®'#¦ü”-À ­78À ­G^À ­U’ÚÀ ­jU©­À ­}U©® '#’Õ#žø#¨$©¯žø”.#žø"'#á #ŒX"'#6 # "'#6 # "'#‚e #A"'#á #†b"'#á #¦ú"'#¿ #ã"'#1&'#¦ü #©°8”/#A'#‚¨”0#©±'#‚¨#k$©²A#˜1#˜2”10#žø#8"'#á #ŒX"'#‚€ #™#”2@#’Ú'#žø" #ŒX" #™#”3@#’Û'#žø" #ŒX”4#¦ú'#á#’j”5#†b'#á”6#¦û'#1&'#¦ü#’j#i$§„‘Ù”7#ã'#˜{”8#©³'#‚¨#k$©´ã#i$˜k„`#j$¦Õ¦Ö”9#£á'#á”:#©µ'#I"'#á #©¶"'#6 #©·"'#6 #©¸"'#‚e #©¹"'#á #©º"'#á #©»"'#˜{ #©¼"'#1&'#¦ü #©½”;#©¾'#I" #©¶" #©·" #©¸" #©¹" #©º" #©»" #©¼"'#1&'#¦ü #©½#k$©¿©À”<À ­Ö^À ®mUAÀ ®~U©±À ®¬8À ®Ù’ÚÀ ®ü’ÛÀ ¯U¦úÀ ¯4U†bÀ ¯GU¦ûÀ ¯xUãÀ ¯ŠU©³À ¯ÇU£áÀ ¯Ú©µÀ °[©¾ '#˜{#¦ü#’j#¨$©Á¦ü”= #¦î'#I"'#á #ŒX"'#~ #ŠW"'#6 #¦ï”>0#¦ü#8”?@+'#˜“&'#žø*#žù'#˜“&'#žø$žú„W”@#ù'#I”A#Ÿ'#I" #„W"'#1&'#‚e # ”B#£C'#I" #„W"'#1&'#‚e # #k$£DŸ”C#£E'#I" #„W#k$£DŸ”D#…ô'#I#k$œùB”E#Ÿ '#ó&'#žø”F À ±P¦îÀ ±8À ±žùÀ ±ÕùÀ ±êŸÀ ²£CÀ ²Z£EÀ ²„…ôÀ ²¦UŸ  '#Ä#©Â#¨$©Ã©Ä”G 0#©Â#8”H#©Â”I##©Â#‡X”J#†''#á”K #†'"'#á #J”L#©Å'#á”M #©Å"'#á #J”N#à'#á”O #à"'#á #J”P À ³$8À ³4^À ³B‡XÀ ³SU†'À ³fV†'À ³‚U©ÅÀ ³•V©ÅÀ ³±UàÀ ³ÄVà '#‘¸#¦´#¨$©Æ¦´”Q0#¦´#8”R#©Ç'#„Œ”S#©È'#‚¨#k$©É©Ç#i$˜k„`”T#ƒ7'# ”UÀ ´B8À ´RU©ÇÀ ´dU©ÈÀ ´“Uƒ77'#I"'#¦´ #ŒÚ#¦²”V '#Ä#©Ê#“w #“w#“x#“w #“w#“y#“w #“w#—Ì#’j#¨$©Ë©Ì”W0#©Ê#8”X#©Ê”Y##©Ê#‡X”ZP#“|'#6”[#©Í'#‚Û”\ #©Í"'#‚Û #J”]#Ÿ#'#1&'#‰V#’j#j$œœ#i$œœ”^#©Î'#‚Û”_ #©Î"'#‚Û #J”`#‡'#‚Û”a #‡"'#‚Û #J”b#†'#‚Û”c #†"'#‚Û #J”d#©Ï'#‚Û”e #©Ï"'#‚Û #J”f#J'#‚Û”g #J"'#‚Û #J”hÀ µ=8À µM^À µ[‡XÀ µlU“|À µ}U©ÍÀ µV©ÍÀ µ¬UŸ#À µëU©ÎÀ µþV©ÎÀ ¶U‡À ¶-V‡À ¶IU†À ¶\V†À ¶xU©ÏÀ ¶‹V©ÏÀ ¶§UJÀ ¶¹VJ '#˜{#©Ð#¨$©Ñ©Ò”i0#©Ð#8”j#©Ó'#©Ô”k#©Õ'#©Ö”l#©×'#6”mÀ ·l8À ·|U©ÓÀ ·U©ÕÀ ·¢U©× '#’Õ#©Ø#¨$©Ù©Ú”n0#©Ø#8”o#©Ø"'#á #ŒX"'#‚€ #™#”p@#’Ú'#©Ø" #ŒX" #™#”q@#’Û'#©Ø" #ŒX”r#†C'#©Û”sÀ ·ô8À ¸^À ¸/’ÚÀ ¸R’ÛÀ ¸nU†C '#©Û#©Ü#¨$©Ý©Þ”t0#©Ü#8”u@+'#˜“&'#©ß*#©à'#˜“&'#©ß$©á©â”v#©ã'#ó&'#©ß”wÀ ¸Ç8À ¸×©àÀ ¹U©ã '#‘¸-'#‰&'#á'#‚¨#©Ô#¨$©ä©å”x0#©Ô#8”y#œñ'#‚€"'#á #‚¦”z#…Š'#I"'#‚€&'#á'#‚¨ #2”{#…³'#6"'#‚¨ #J”|#…´'#6"'#‚¨ #‚¦”}#¤'#‚€"'#‚¨ #‚¦”~#…Z'#I'#I"'#á #‚¦"'#‚¨ #J #…T”#…ª'#‚X&'#ᔀ#…«'#‚X&'#‚€”#'# ”‚#…g'#6”ƒ#…h'#6”„#…5'#I"'#á #‚¦"'#‚¨ #J”…#…º'#‚¨"'#á #‚¦'#‚¨ #…¸”†#…—'#á"'#‚¨ #‚¦”‡#…“'#I”ˆÀ ¹y8À ¹‰œñÀ ¹«…ŠÀ ¹Ù…³À ¹ù…´À º¤À º<…ZÀ ºyU…ªÀ º“U…«À º­UÀ º½U…gÀ ºÎU…hÀ ºß…5À » …ºÀ »?…—À »a…“ '#’Õ#©ß#¨$©æ©ç”‰0#©ß#8”Š#©ß"'#á #ŒX"'#‚€ #™#”‹@#’Ú'#©ß" #ŒX" #™#”Œ@#’Û'#©ß" #ŒX”#A'# ”ŽÀ ¼8À ¼^À ¼C’ÚÀ ¼f’ÛÀ ¼‚UA '#©Û#©è#¨$©é©ê”0#©è#8”#‹Î'#I"'# #A"'#‚Û #§‹”‘À ¼Ø8À ¼è‹Î '#‘¸-'#‰&'#á'#‚¨#©Ö#¨$©ë©ì”’0#©Ö#8”“#œñ'#‚€"'#á #‚¦””#…Š'#I"'#‚€&'#á'#‚¨ #2”•#…³'#6"'#‚¨ #J”–#…´'#6"'#‚¨ #‚¦”—#¤'#‚€"'#‚¨ #‚¦”˜#…Z'#I'#I"'#á #‚¦"'#‚¨ #J #…T”™#…ª'#‚X&'#ᔚ#…«'#‚X&'#‚€”›#'# ”œ#…g'#6”#…h'#6”ž#…5'#I"'#á #‚¦"'#‚¨ #J”Ÿ#…º'#‚¨"'#á #‚¦'#‚¨ #…¸” #…—'#á"'#‚¨ #‚¦”¡#…“'#I”¢À ½`8À ½pœñÀ ½’…ŠÀ ½À…³À ½à…´À ¾¤À ¾#…ZÀ ¾`U…ªÀ ¾zU…«À ¾”UÀ ¾¤U…gÀ ¾µU…hÀ ¾Æ…5À ¾ó…ºÀ ¿&…—À ¿H…“ '#˜{#©Û#¨$©í©î”£ +0#©Û#8”¤#©ï'#ᔥ#Œ'#ᔦ#©ð'#ᔧ#à'#ᔨ#‚('#ᔩ#ŒX'#ᔪ#‡O'#ᔫ#ù'#‚~”¬#ŒÂ'#‚~”­ +À ¿ï8À ¿ÿU©ïÀ ÀUŒÀ À%U©ðÀ À8UàÀ ÀKU‚(À À^UŒXÀ ÀqU‡OÀ À„ùÀ À™ŒÂ '#‘¸#©ñ#¨$©ò©ñ”®0#©ñ#8”¯#‹Ø'#á”°#©ó'#©ô”±#©õ'#ᔲ#ŒX'#ᔳÀ Á8À Á(U‹ØÀ Á;U©óÀ ÁNU©õÀ ÁaUŒX '#‘¸-'#ˆ=&'#©ñ'#šf&'#©ñ'#1&'#©ñ'#p&'#©ñ#©ö#¨$©÷©ö”´ 0#©ö#8”µ#'# ”¶#¤'#©ñ"'# #¥”·#…5'#I"'# #¥"'#©ñ #J”¸ #"'# #J”¹#…m'#©ñ”º#…n'#©ñ”»#ƒ¹'#©ñ”¼#…s'#©ñ"'# #¥”½#.'#©ñ"'# #¥”¾#§å'#©ñ"'#á #à”¿ À Áö8À ÂUÀ ¤À Â7…5À ÂcVÀ Â|U…mÀ ÂŽU…nÀ  Uƒ¹À ²…sÀ ÂÓ.À Âõ§å '#Ä#©ø#’j#¨$©ù©ú”À0#©ø#8”Á##©ø#‡X”Â#©û'#á”à #©û"'#á #J”Ä#©ü'#á”Å #©ü"'#á #J”ÆÀ Ã8À à‡XÀ ñU©ûÀ ÃÄV©ûÀ ÃàU©üÀ ÃóV©ü7'#I"'# #Š#©ý”Ç '# #›#¨$©þ©ÿ”È##›"'#á #ŒX"'#¿ #?"'# #£"'# #¤"'# #¤"'# #ª"'# #ª"'# #ª"'#6 # "'#6 # "'#6 #¨¥"'#6 #¨¦"'#6 #¨§"'#6 #¨¨"'#˜{ #§N”É0#›#8"'#á #ŒX"'#‚€ #™#”Ê@#’Ú'#›" #ŒX" #™#”Ë@#’Û'#›" #ŒX”Ì#¨¦'#6”Í#ª'# ”Î#§€'# ”Ï#ª'#‚Û#k$ªª”Ð#ª'#‚Û#k$ªª”Ñ#¨¥'#6”Ò#ª'#‰V#‚´”Ó#ª'# #k$ª ª +”Ô#ª '# #k$ª ª ”Õ#¨¨'#6”Ö#ª'# #k$ªª”×#ª'# #k$ªª”Ø#ª'#‚Û#k$ª¤ ”Ù#ª'#‚Û#k$ª¤ ”Ú#ª'#á”Û#§N'#˜{”Ü#§O'#‚¨#k$§P§N#i$¦Ô‰V#j$¦Î¦Ï”Ý#ª'#‚Û#k$ª¤”Þ#ª'#‚Û#k$ª¤”ß#¨§'#6”à#ª'#‰V#‚´”á#¨·'#6"'#á #¨¸”â#ª'#I"'#á #ŒX"'#6 # "'#6 # "'#¿ #?"'# #£"'# #¤"'# #¤"'# #ª"'# #ª"'#6 #¨¥"'#6 #¨¦"'#6 #¨§"'#6 #¨¨"'# #ª"'#˜{ #§N”ã#ª'#I" #ŒX" # " # "'#¿ #?" #£" #¤" #¤" #ª" #ª" #¨¥" #¨¦" #¨§" #¨¨" #ª" #§N#k$ª ª!”ä#¥©'#ƒÛ”å#ª"'#ƒÛ#“w #“w#“x#“w #“w#“y”æ#…2'#ƒÛ”ç#ª#'#ƒÛ”è#”Ã'#ƒÛ”é#¢•'#ƒÛ”ê#ª$'#  ”ë#À Ä{^À Å8À Å®’ÚÀ ÅÑ’ÛÀ ÅíU¨¦À ÅÿUªÀ ÆU§€À Æ#UªÀ ÆDUªÀ ÆeU¨¥À ÆwUªÀ Æ‘UªÀ ƱUª À ÆÑU¨¨À ÆãUªÀ ÇUªÀ Ç#UªÀ ÇDUªÀ ÇeUªÀ ÇxU§NÀ ÇŠU§OÀ ÇÇUªÀ ÇèUªÀ È U¨§À ÈUªÀ È5¨·À ÈWªÀ É!ªÀ ɲU¥©À ÉÄUª"À ÉöU…2À ÊUª#À ÊU”ÃÀ Ê,U¢•À Ê>Uª$7'#I"'#1 #ª%"'#ª& #¨š#ª'”ì '#’Õ#ª(#‚´#¨$ª)ª(”í +0#ª(#8”î@+'# *#ª*”ï@+'# *#ª+”ð@+'# *#ª,”ñ#ª-'# ”ò#ª.'#á”ó#‰_'#á”ô#ª/'#á”õ#ª0'#‰V”ö#ª1'#I"'#á #ŒX"'#6 # "'#6 # "'#‰V #ª0"'#á #ª/"'#á #‰_"'#á #ª."'# #ª-”÷ +À Ëš8À ˪ª*À ˪+À ËÚª,À ËòUª-À ÌUª.À ÌU‰_À Ì*Uª/À Ì=Uª0À ÌPª1 '#‘¸#ª&#“w #“w#“x#“w #“w#“y#“w #“w#—Ì#¨$ª2ª3”ø #œá'#I”ù#ª4'#I"'#‰V #…†"'#‚€ #„d”ú#™'#I"'#‰V #…†" #„d#k$™™”û#ª5'#I"'#‰V #…†#k$™™”ü#¨˜'#1&'#ª6”ýP#“|'#6”þ#™'#I"'#‰V #…†"'#6 #ª7"'#6 #ŸK"'#6 #ª8"'#6 #ª9"'#6 #ª:"'#6 #ª;"'#1&'#á #ª<”ÿ@+*#ª=•@#ª>•@#‚4" #‰"'#á #‚¦" #J•@#ª?" #¨•#ª@'#I" #…†" #„d#k$™™•#ª&"'#ª' #‚O• À ÍgœáÀ Í|ª4À Í­™À Íäª5À Ψ˜À Î1U“|À ÎB™À ÎÔª=À Îåª>À Îô‚4À Ϫ?À Ï3ª@À Ïd^ '#‘¸#ª6#¨$ªAª6• +0#ª6#8•#ªB'#1&'#‰V#j$œœ#i$œœ•#ªC'#á• #ªD'#á• +#ªE'#‰V• #¥¶'#á• #ªF'#‰V• #ªG'#1&'#‰V#j$œœ#i$œœ•#…†'#‰V•#ŒX'#á• +À Ïÿ8À ÐUªBÀ ÐEUªCÀ ÐXUªDÀ ÐkUªEÀ Ð~U¥¶À БUªFÀ ФUªGÀ ÐÚU…†À ÐíUŒX '#‘¸#ªH#¨$ªIªH•0#ªH#8•#“Ä'#‚~•#Œ"'#‚~•#ªJ'#‚~&'#‚€&'#á'#‚¨•À Ñj8À Ñz“ÄÀ ÑŒ"À ѤªJ '#ªK'#ªL'#ªM'#ªN'#ªO'#ªP#ªQ#¨$ªRªQ•5#ªS'#1&'#§}•#œý'#á•#¨ô'#‚~&'#/" #¥" #”,#“w #“w#“x•#ªT•#ªU'#I" #„d"'#ªV #™"'#ªW #‚f#k$ªX¨ô•0#ªQ#8•#ªY'#ªZ•#ª['#ª\•#©ï'#ª]•#ª^'# 5• #ª_'#‚Û•!#ª`'#á•"#ªa'#§˜#’j•##ªb'# •$#ªc'#¨á•%#ªd'#¨î•&#ªe'#©e•'#ªf'#©ö•(#ªg'#ªh•)#ªi'#ªj•*#ªk'#ªl•+#ªm'#á#’j•,#ªn'#ªo•-#’'#ªp•.#ªq'#á#’j•/#ªr'#á#’j•0#ªs'#ªt•1#ªu'#£b#k$ªvªw#“w #“w#“x#“w #“w#—Ì•2#ªx'#£b#k$ªyªz#“w #“w#“x#“w #“w#—Ì•3#ª{'#I•4#ª|'#‚~•5#ª}'#1&'#§}#k$ª~ªS#j$ªª€#i$ªª€•6#ª'#‚~&'#ª‚•7#ªƒ'#‚~•8#ª„'#I"'#á #†A"'#á #…"'#á #ž¶#’j•9#ª…'#‚~"'#1&'#á #ª†•:#ª‡'#‚~"'#1 #ª†#k$ªˆª…•;#ª‰'#‚~#k$ªˆª…•<#ªŠ'#‚~"'#‚€ #„d#k$ª‹ªŒ•=#ª'#‚~"'#á #©#"'#1&'#‚€ #ªŽ•>#ª'#6"'#á #…"'#‚e #A•?#ª'#‚~"'#‚€ #A•@#ª‘'#6•A#ª’'#6#’j•B#ª“'#á•C#ª”'#á•D#ª•'#á•E#ª–'#6•F#ª—'#á•G#ª˜'#á#’j•H#õ'#á•I#ª™'#1&'#á•J#ªš'#6#’j•K5À Ò/ªSÀ ÒKUœýÀ Ò]¨ôÀ Ò¢ªTÀ Ò±ªUÀ Òõ8À ÓUªYÀ ÓUª[À Ó+U©ïÀ Ó>Uª^À ÓQUª_À ÓdUª`À ÓwUªaÀ Ó“UªbÀ Ó¥UªcÀ Ó¸UªdÀ ÓËUªeÀ ÓÞUªfÀ ÓñUªgÀ ÔUªiÀ ÔUªkÀ Ô*UªmÀ ÔFUªnÀ ÔYU’À ÔlUªqÀ ÔˆUªrÀ Ô¤UªsÀ Ô·UªuÀ ÔøUªxÀ Õ9ª{À ÕNª|À Õcª}À ÕªªÀ ÕǪƒÀ Õܪ„À Ö!ª…À ÖMª‡À Ö|ª‰À ÖŸªŠÀ ÖÒªÀ תÀ ×6ªÀ ×ZUª‘À ×lUª’À ׇUª“À ךUª”À ×­Uª•À ×ÀUª–À ×ÒUª—À ×åUª˜À ØUõÀ ØUª™À Ø.Uªš '#‘¸#ªO#¨$ª›ªO•L0#ªO#8•M#ª‘'#6•NÀ Ùà8À ÙðUª‘ '#‘¸#ªK#¨$ªœªK•O0#ªK#8•P#ª'# •QÀ Ú48À ÚDUª '#‘¸#ªL#¨$ªžªL•R0#ªL#8•S#ª’'#6•TÀ Úˆ8À Ú˜Uª’ '#‘¸#ªP•U0#ªP#8•V#ª“'#á•W#ª”'#á•X#ª•'#á•Y#ª–'#6•Z#ª—'#á•[#ª˜'#á•\#õ'#á•]À ÚÎ8À ÚÞUª“À ÚñUª”À ÛUª•À ÛUª–À Û)Uª—À ÛÀ ÷R8À ÷b^À ÷p‡XÀ ÷U“|À ÷’U¨,À ÷¤U¨-À ÷áUAÀ ÷óVAÀ øUŸÀ ø!UƒìÀ ø4VƒìÀ øPUàÀ øcVàÀ øUŒXÀ ø’VŒXÀ ø®U¨RÀ øÁV¨RÀ øÝUŸ$À øðUŸ%À ùUƒëÀ ùVƒëÀ ù2UŸ'À ùDÀ ùgšjÀ ù•Ÿ(À ùªŸ)À ù¿Ÿ* '#˜{#’†#¨$«’†–? 0#’†#8–@#’†"'# #ƒë"'# #ƒì–A@#’Ú'#’†" #ƒë" #ƒì–B#ƒì'# –C #ƒì"'# #J–D#ƒë'# –E #ƒë"'# #J–F#«'#‚~&'#žÕ"'#‚€ #„d–G#ŸI'#‚e"'#á #«"'#‚€ #ŸK–H#ŸP'#‚e" #«" #ŸK#k$ŸQŸI–I#ŸR'#‚e" #«#k$ŸQŸI–J#«'#”.–K À ú¿8À úÏ^À úõ’ÚÀ ûUƒìÀ û*VƒìÀ ûEUƒëÀ ûWVƒëÀ ûr«À ûŸŸIÀ ûÑŸPÀ üŸRÀ ü.« '#‘¸'#«#«#¨$««–LX0#«#8–M#’‚'#’†–N#˜i'#á–O #˜i"'#á #J–P#Ÿm'#‚e–Q #Ÿm"'#‚e #J–R#”'#á–S #”"'#á #J–T#Ÿp'#á–U #Ÿp"'#á #J–V#Ÿq'#‚Û–W #Ÿq"'#‚Û #J–X#Ÿr'#á–Y #Ÿr"'#á #J–Z#Ÿs'#6–[ #Ÿs"'#6 #J–\#Ÿt'#á–] #Ÿt"'#á #J–^#Ÿu'#á–_ #Ÿu"'#á #J–`#Ÿí'#‚Û–a #Ÿí"'#‚Û #J–b#Ÿv'#á–c #Ÿv"'#á #J–d#”'#‚Û–e #”"'#‚Û #J–f#Ÿw'#‚Û–g #Ÿw"'#‚Û #J–h#Ÿx'#‚Û–i #Ÿx"'#‚Û #J–j#Ÿy'#á–k #Ÿy"'#á #J–l#Ÿz'#‚Û–m #Ÿz"'#‚Û #J–n#Ÿ{'#‚Û–o #Ÿ{"'#‚Û #J–p#Ÿ|'#‚e–q #Ÿ|"'#‚e #J–r#Ÿ}'#á–s #Ÿ}"'#á #J–t#Ÿ~'#á–u #Ÿ~"'#á #J–v#Ÿƒ'#I–w#Ÿ…'#I"'#‚Û #f"'#‚Û #g"'#‚Û #ƒë"'#‚Û #ƒì–x#Ÿ†'#I"'#Ÿ½ #†D–y#“¥'#‚~–z#Ÿ‰'#˜" #ŸŠ"'# #Ÿ‹" #ŸŒ"'#‚€ #Ÿ–{#Ÿ" #Ÿ‘#k$Ÿ’Ÿ‰–|#Ÿ“"'# #Ÿ”" #Ÿ•#k$Ÿ’Ÿ‰–}#Ÿ–"'# #Ÿ”" #Ÿ•" #Ÿ#k$Ÿ’Ÿ‰–~#Ÿ—" #A" #Ÿ”"'# #Ÿ•" #Ÿ#k$Ÿ’Ÿ‰–#Ÿ™'#Ÿd"'#‚Û #Ÿš"'#‚Û #Ÿ›"'#‚Û #šu"'#‚Û #šw–€#Ÿœ'#Ÿh" #”("'#á #Ÿ–#Ÿž'#Ÿd"'#‚Û #Ÿš"'#‚Û #Ÿ›"'#‚Û #ŸŸ"'#‚Û #šu"'#‚Û #šw"'#‚Û #Ÿ –‚#Ÿá'#I " #”("'#‚Û #«"'#‚Û #«"'#‚Û #«"'#‚Û #«"'#‚Û #š"'#‚Û #š"'#‚Û #«"'#‚Û #«–ƒ#…€'#I" #Ÿ‡"'#á #Ÿˆ–„#Ÿ£'#I"'#‚Û #f"'#‚Û #g"'#‚Û #ƒë"'#‚Û #ƒì–…#Ÿò'#I"'#á #‚–"'#‚Û #f"'#‚Û #g"'#‚Û #ŸÁ–†#Ÿ¤'#˜"'# #œb"'# #œc"'# #Ÿ”"'# #Ÿ•–‡#Ÿ¥" #œb" #œc" #Ÿ”" #Ÿ•#k$Ÿ¦Ÿ¤–ˆ#Ÿ©'#1&'#‚Û–‰#Ÿª'#6" #Ÿ«"'#‚Û #Ÿ¬" #Ÿ­"'#á #Ÿˆ–Š#šJ'#6" #Ÿ«"'#‚Û #Ÿ¬"'#‚Û #g–‹#Ÿ®'#Ÿ¯"'#á #‚––Œ#Ÿ°'#I"'#˜ #Ÿ‘"'# #š"'# #š"'# #Ÿ±"'# #Ÿ²"'# #Ÿ³"'# #Ÿ´–#Ÿµ'#I" #Ÿ‘" #š" #š#k$Ÿ¶Ÿ°–Ž#Ÿ·'#I" #Ÿ‘" #š" #š" #Ÿ±" #Ÿ²" #Ÿ³" #Ÿ´#k$Ÿ¶Ÿ°–#Ÿ¹'#I–#Ÿº'#I–‘#šœ'#I"'#‚Û #šŽ–’#Ÿ»'#I–“#x'#I"'#‚Û #f"'#‚Û #g–”#Ÿð'#I"'#1&'#‚Û #Ÿñ–•#Ÿj'#I"'#‚Û #ƒÎ"'#‚Û #ƒ‡"'#‚Û #‘R"'#‚Û #`"'#‚Û #ƒÆ"'#‚Û #…T––#Ÿ¾'#I"'#Ÿ½ #†D–—#Ÿ¿'#I"'#‚Û #f"'#‚Û #g"'#‚Û #ƒë"'#‚Û #ƒì–˜#ŸÀ'#I"'#á #‚–"'#‚Û #f"'#‚Û #g"'#‚Û #ŸÁ–™#‰'#I"'#‚Û #ƒÎ"'#‚Û #ƒ‡"'#‚Û #‘R"'#‚Û #`"'#‚Û #ƒÆ"'#‚Û #…T–š#š¤'#I"'#‚Û #f"'#‚Û #g–›#ŸÈ'#I"'#‚Û #f"'#‚Û #g"'#‚Û #ŸÃ"'#‚Û #ŸÄ"'#‚Û #ŸÅ"'#6 #ŸÆ–œ#ŸÉ'#I"'#‚Û #šu"'#‚Û #šw"'#‚Û #šv"'#‚Û #šx"'#‚Û #ŸÃ–#ŸÊ'#I"'#‚Û #ŸË"'#‚Û #ŸÌ"'#‚Û #ŸÍ"'#‚Û #ŸÎ"'#‚Û #f"'#‚Û #g–ž#ŸÏ'#I–Ÿ#ŸÐ'#I"'#‚Û #f"'#‚Û #g"'#‚Û #š"'#‚Û #š"'#‚Û #ŸÑ"'#‚Û #ŸÄ"'#‚Û #ŸÅ"'#6 #ŸÆ– #ŸÒ'#I"'#‚Û #f"'#‚Û #g–¡#ŸÓ'#I"'#‚Û #f"'#‚Û #g–¢#ŸÔ'#I"'#‚Û #ŸÕ"'#‚Û #ŸÖ"'#‚Û #f"'#‚Û #g–£#›ù'#I"'#‚Û #f"'#‚Û #g"'#‚Û #ƒë"'#‚Û #ƒì–¤XÀ üÃ8À üÓU’‚À üæU˜iÀ üùV˜iÀ ýUŸmÀ ý(VŸmÀ ýDU”À ýWV”À ýsUŸpÀ ý†VŸpÀ ý¢UŸqÀ ýµVŸqÀ ýÑUŸrÀ ýäVŸrÀ þUŸsÀ þVŸsÀ þ-UŸtÀ þ@VŸtÀ þ\UŸuÀ þoVŸuÀ þ‹UŸíÀ þžVŸíÀ þºUŸvÀ þÍVŸvÀ þéU”À þüV”À ÿUŸwÀ ÿ+VŸwÀ ÿGUŸxÀ ÿZVŸxÀ ÿvUŸyÀ ÿ‰VŸyÀ ÿ¥UŸzÀ ÿ¸VŸzÀ ÿÔUŸ{À ÿçVŸ{À +UŸ|À +VŸ|À +2UŸ}À +EVŸ}À +aUŸ~À +tVŸ~À +ŸƒÀ +¥Ÿ…À +쟆À +“¥À +&Ÿ‰À +kŸÀ +Ÿ“À +ÁŸ–À +ùŸ—À +7Ÿ™À +ŸœÀ +«ŸžÀ +ŸáÀ +¥…€À +ÔŸ£À +ŸòÀ +eŸ¤À +ªŸ¥À +䟩À +ŸªÀ +DšJÀ +|Ÿ®À +ŸŸ°À +ŸµÀ +LŸ·À + Ÿ¹À +µŸºÀ +ÊšœÀ +쟻À +xÀ +-ŸðÀ +VŸjÀ +¹Ÿ¾À +ÞŸ¿À +%ŸÀÀ +o‰À +Òš¤À +ÿŸÈÀ + _ŸÉÀ + µŸÊÀ + +ŸÏÀ + ++ŸÐÀ + +¥ŸÒÀ + +ÒŸÓÀ + +ÿŸÔÀ + F›ù '#Ä#«#¨$«« –¥0#«#8–¦#«–§##«#‡X–¨#šò'#6–© #šò"'#6 #J–ª#Œ '#á–« #Œ "'#á #J–¬À +8À +(^À +6‡XÀ +GUšòÀ +YVšòÀ +tUŒ À +‡VŒ  '#Ä#«!#¨$«"«#–­#«!"'#á #A$†Ÿ^"'#á #J$†Ÿ^"'#6 #ž–®0#«!#8"'#á #A"'#á #J"'#6 #«$"'#6 #ž–¯@#’Ú'#«!" #A" #J" #«$" #ž–°@#’Û'#«!" #A" #J" #«$–±@#ž='#«!" #A" #J–²@#¥>'#«!" #A–³@#¥?'#«!–´##«!#‡X–µ#«$'#6–¶ #«$"'#6 #J–·#šò'#6–¸ #šò"'#6 #J–¹#Ÿ'#Ÿ–º#¥'# –»#Œ '#á–¼ #Œ "'#á #J–½#ž'#6–¾ #ž"'#6 #J–¿#J'#á–À #J"'#á #J–ÁÀ +÷^À +<8À +ˆ’ÚÀ +·’ÛÀ +ßž=À +¥>À +¥?À +0‡XÀ +AU«$À +SV«$À +nUšòÀ +€VšòÀ +›UŸÀ +®U¥À +ÀUŒ À +ÓVŒ À +ïUžÀ +VžÀ +UJÀ +.VJ '#Ø#Ó#¨$«%Ó–Â0#Ó#8–Ã#«&'#1&'#‚Û–Ä#«''#I"'#‚e #«(–ÅÀ +ö8À +U«&À + «' '#Ä#«)#“w #“w#“x#“w #“w#“y#“w #“w#—Ì#¨$«*«+–Æ0#«)#8–Ç#«)–È##«)#‡X–ÉP#“|'#6–Ê#„ˆ'#á–Ë #„ˆ"'#á #J–Ì#Ÿ'#Ÿ–Í#¨Ä'#¥e–Î#Ÿ#'#1&'#‰V#’j#j$œœ#i$œœ–Ï#à'#á–Ð #à"'#á #J–Ñ#ŒX'#á–Ò#Ÿ$'#á–Ó#Ÿ%'#Ÿ&–Ô#J'#á–Õ #J"'#á #J–Ö#Ÿ''#6–×#Ÿ('#6–Ø#Ÿ)'#6–Ù#Ÿ*'#I"'#á #‚f–ÚÀ +«8À +»^À +ɇXÀ +ÚU“|À +ëU„ˆÀ +þV„ˆÀ +UŸÀ +-U¨ÄÀ +@UŸ#À +UàÀ +’VàÀ +®UŒXÀ +ÁUŸ$À +ÔUŸ%À +çUJÀ +ùVJÀ +UŸ'À +&Ÿ(À +;Ÿ)À +PŸ* '#‘¸#«,#¨$«-«,–Û0#«,#8–Ü#«,"'#á #«."'#á #„W–Ý@#’Ú'#«," #«." #„W–Þ#«.'#á–ß#„W'#á–à#à'#á–áÀ +8À +/^À +W’ÚÀ +zU«.À +U„WÀ + Uà '#’Õ#«/#¨$«0«/–â0#«/#8–ã#«/"'#á #ŒX"'#‚€ #™#–ä@#’Ú'#«/" #ŒX" #™#–å@#’Û'#«/" #ŒX–æ#«1'#6–çÀ +8À +^À +;’ÚÀ +^’ÛÀ +zU«1 '#‘¸'#«#«2#¨$«3«2–èC0#«2#8–é#Ÿl'#šQ–ê #Ÿl"'#šQ #J–ë#Ÿm'#‚e–ì #Ÿm"'#‚e #J–í#”'#á–î #”"'#á #J–ï#Ÿq'#‚Û–ð #Ÿq"'#‚Û #J–ñ#Ÿr'#á–ò #Ÿr"'#á #J–ó#Ÿs'#6–ô #Ÿs"'#6 #J–õ#Ÿt'#á–ö #Ÿt"'#á #J–÷#Ÿu'#á–ø #Ÿu"'#á #J–ù#Ÿí'#‚Û–ú #Ÿí"'#‚Û #J–û#Ÿv'#á–ü #Ÿv"'#á #J–ý#”'#‚Û–þ #”"'#‚Û #J–ÿ#Ÿw'#‚Û— #Ÿw"'#‚Û #J—#Ÿx'#‚Û— #Ÿx"'#‚Û #J—#Ÿy'#á— #Ÿy"'#á #J—#Ÿz'#‚Û— #Ÿz"'#‚Û #J—#Ÿ{'#‚Û— #Ÿ{"'#‚Û #J— #Ÿ|'#‚e— + #Ÿ|"'#‚e #J— #Ÿƒ'#I— #Ÿ…'#I"'#‚Û #f"'#‚Û #g"'#‚Û #ƒë"'#‚Û #ƒì— #Ÿ†'#I" #Ÿ‡"'#á #Ÿˆ—#Ÿ™'#Ÿd"'#‚Û #Ÿš"'#‚Û #Ÿ›"'#‚Û #šu"'#‚Û #šw—#Ÿœ'#Ÿh" #”("'#á #Ÿ—#Ÿž'#Ÿd"'#‚Û #Ÿš"'#‚Û #Ÿ›"'#‚Û #ŸŸ"'#‚Û #šu"'#‚Û #šw"'#‚Û #Ÿ —#Ÿá'#I " #”("'#‚Û #«"'#‚Û #«"'#‚Û #«"'#‚Û #«"'#‚Û #š"'#‚Û #š"'#‚Û #«"'#‚Û #«—#…€'#I" #Ÿ‡"'#á #Ÿˆ—#Ÿ£'#I"'#‚Û #f"'#‚Û #g"'#‚Û #ƒë"'#‚Û #ƒì—#Ÿ©'#1&'#‚Û—#Ÿª'#6" #Ÿ«"'#‚Û #Ÿ¬" #Ÿ­"'#á #Ÿˆ—#šJ'#6" #Ÿ«"'#‚Û #Ÿ¬"'#‚Û #g—#Ÿ¹'#I—#Ÿº'#I—#šœ'#I"'#‚Û #šŽ—#Ÿ»'#I—#x'#I"'#‚Û #f"'#‚Û #g—#Ÿð'#I"'#1&'#‚Û #Ÿñ—#Ÿj'#I"'#‚Û #ƒÎ"'#‚Û #ƒ‡"'#‚Û #‘R"'#‚Û #`"'#‚Û #ƒÆ"'#‚Û #…T—#Ÿ¾'#I"'#Ÿ½ #†D—#Ÿ¿'#I"'#‚Û #f"'#‚Û #g"'#‚Û #ƒë"'#‚Û #ƒì— #‰'#I"'#‚Û #ƒÎ"'#‚Û #ƒ‡"'#‚Û #‘R"'#‚Û #`"'#‚Û #ƒÆ"'#‚Û #…T—!#š¤'#I"'#‚Û #f"'#‚Û #g—"#ŸÈ'#I"'#‚Û #f"'#‚Û #g"'#‚Û #ŸÃ"'#‚Û #ŸÄ"'#‚Û #ŸÅ"'#6 #ŸÆ—##ŸÉ'#I"'#‚Û #šu"'#‚Û #šw"'#‚Û #šv"'#‚Û #šx"'#‚Û #ŸÃ—$#ŸÊ'#I"'#‚Û #ŸË"'#‚Û #ŸÌ"'#‚Û #ŸÍ"'#‚Û #ŸÎ"'#‚Û #f"'#‚Û #g—%#ŸÏ'#I—&#ŸÐ'#I"'#‚Û #f"'#‚Û #g"'#‚Û #š"'#‚Û #š"'#‚Û #ŸÑ"'#‚Û #ŸÄ"'#‚Û #ŸÅ"'#6 #ŸÆ—'#ŸÒ'#I"'#‚Û #f"'#‚Û #g—(#ŸÓ'#I"'#‚Û #f"'#‚Û #g—)#ŸÔ'#I"'#‚Û #ŸÕ"'#‚Û #ŸÖ"'#‚Û #f"'#‚Û #g—*#›ù'#I"'#‚Û #f"'#‚Û #g"'#‚Û #ƒë"'#‚Û #ƒì—+CÀ +Ú8À +êUŸlÀ +ýVŸlÀ +UŸmÀ +,VŸmÀ +HU”À +[V”À +wUŸqÀ +ŠVŸqÀ +¦UŸrÀ +¹VŸrÀ +ÕUŸsÀ +çVŸsÀ +UŸtÀ +VŸtÀ +1UŸuÀ +DVŸuÀ +`UŸíÀ +sVŸíÀ +UŸvÀ +¢VŸvÀ +¾U”À +ÑV”À +íUŸwÀ +VŸwÀ +UŸxÀ +/VŸxÀ +KUŸyÀ +^VŸyÀ +zUŸzÀ +VŸzÀ +©UŸ{À +¼VŸ{À +ØUŸ|À +ëVŸ|À +ŸƒÀ +Ÿ…À +cŸ†À +’Ÿ™À +ÜŸœÀ +ŸžÀ +jŸáÀ +…€À +/Ÿ£À +vŸ©À +“ŸªÀ +ÖšJÀ +Ÿ¹À +#ŸºÀ +8šœÀ +ZŸ»À +oxÀ +›ŸðÀ +ÄŸjÀ +'Ÿ¾À +LŸ¿À +“‰À +öš¤À +#ŸÈÀ +ƒŸÉÀ +ÙŸÊÀ + :ŸÏÀ + OŸÐÀ + ÉŸÒÀ + öŸÓÀ +!#ŸÔÀ +!j›ù '#‘¸#«4#¨$«5«4—,0#«4#8—-#ƒì'#‚Û—.#ƒë'#‚Û—/À +#©8À +#¹UƒìÀ +#ÌUƒë '##«6#¨$«7«6—00#«6#8—1#«8'#‚Û—2#«9'#I"'#á #à"'#‚e #«:—3À +$8À +$(U«8À +$;«9 '#Ä#«;#¨$«<«=—40#«;#8—5#«;—6##«;#‡X—7À +$£8À +$³^À +$Á‡X '#Ä#«>#’j#¨$«?«@—80#«>#8—9#«>—:##«>#‡X—;#à'#á—< #à"'#á #J—=#J'#á—> #J"'#á #J—?À +%8À +%#^À +%1‡XÀ +%BUàÀ +%UVàÀ +%qUJÀ +%ƒVJ '#‘¸#¤w—@0#¤w#8—A#¤G'# —B#› '#1&'#‰V—C#¤K'#˜<—D#¤N'#˜<—E#¤Q'#˜<"'#á #¤R—F#¤S'#1&'#‰V"'#á #¤R—GÀ +%â8À +%òU¤GÀ +&U› À +&U¤KÀ +&1U¤NÀ +&D¤QÀ +&f¤S '# .'# 0#«A#¨$«B«A—H 0#«A#8—I#«A" #«C—J@#’Ú'#«A" #«C—K@#’Û'#«A" #«C—L#«D'#‚e—M #«D"'#‚e #J—N#«E'#á—O #«E"'#á #J—P#ž.'#á—Q#«F'#á—R #«F"'#á #J—S# 2'#á#k$ 3 4—T#à'#á—U À +&ì8À +&ü^À +'’ÚÀ +'-’ÛÀ +'IU«DÀ +'\V«DÀ +'xU«EÀ +'‹V«EÀ +'§Už.À +'ºU«FÀ +'ÍV«FÀ +'éU 2À +( +Uà '#‘¸'#«#Ÿ½#¨$«GŸ½—V0#Ÿ½#8—W#Ÿ½" #«H—X@#’Ú'#Ÿ½—Y@#’Û'#Ÿ½" #«H—Z@#ž='#Ÿ½" #«H—[#«I'#I"'#Ÿ½ #†D"'#šQ #‰—\#ŸÈ'#I"'#‚Û #f"'#‚Û #g"'#‚Û #ŸÃ"'#‚Û #ŸÄ"'#‚Û #ŸÅ"'#6 #ŸÆ—]#ŸÉ'#I"'#‚Û #šu"'#‚Û #šw"'#‚Û #šv"'#‚Û #šx"'#‚Û #ŸÃ—^#ŸÊ'#I"'#‚Û #ŸË"'#‚Û #ŸÌ"'#‚Û #ŸÍ"'#‚Û #ŸÎ"'#‚Û #f"'#‚Û #g—_#ŸÏ'#I—`#ŸÐ'#I"'#‚Û #f"'#‚Û #g"'#‚Û #š"'#‚Û #š"'#‚Û #ŸÑ"'#‚Û #ŸÄ"'#‚Û #ŸÅ"'#6 #ŸÆ—a#ŸÒ'#I"'#‚Û #f"'#‚Û #g—b#ŸÓ'#I"'#‚Û #f"'#‚Û #g—c#ŸÔ'#I"'#‚Û #ŸÕ"'#‚Û #ŸÖ"'#‚Û #f"'#‚Û #g—d#›ù'#I"'#‚Û #f"'#‚Û #g"'#‚Û #ƒë"'#‚Û #ƒì—eÀ +(£8À +(³^À +(Ë’ÚÀ +(à’ÛÀ +(üž=À +)«IÀ +)JŸÈÀ +)ªŸÉÀ +*ŸÊÀ +*aŸÏÀ +*vŸÐÀ +*ðŸÒÀ ++ŸÓÀ ++JŸÔÀ ++‘›ù '#‘¸#«J#¨$«K«J—f 0#«J#8—g#«L'#1&'#á—h#«M'#á—i#«N'#á—j#«O'#á—k#«P'#á—l#«Q'#á—m#«R'#á—n#«S'#á—o#«T'#á—p#ª'#á—q#«U'#á—r À +,d8À +,tU«LÀ +,ŽU«MÀ +,¡U«NÀ +,´U«OÀ +,ÇU«PÀ +,ÚU«QÀ +,íU«RÀ +-U«SÀ +-U«TÀ +-&UªÀ +-9U«U '#‘¸#«V#¨$«W«V—s0#«V#8—t#…“'#‚~—u#˜f'#‚~&'#6"'#á #«X—v#˜Â'#‚~&'#‚€&'#á'#‚¨"'#á #«X—w#Ÿ2'#‚~"'#á #«X—x#…ª'#‚~&'#1&'#‚¨—y#‰M'#‚~"'#á #«X"'#‚€ #ù—zÀ +-Ä8À +-Ô…“À +-é˜fÀ +.˜ÂÀ +.JŸ2À +.l…ªÀ +.‰M '#‘¸#«Y#¨$«Z«Y—{0#«Y#8—|#«['#«V—}#«\'#á—~ #«\"'#á #J—À +/8À +/$U«[À +/7U«\À +/JV«\ '#˜{#«]#¨$«^«]—€ #«]"'#1&'#‚€ #Ÿ5"'#‚€ #ù"'#‚€ #„d—@#’Ú'#«]" #Ÿ5" #ù" #„d—‚@#’Û'#«]" #Ÿ5" #ù—ƒ0#«]#8—„#Œ'#á—…#«_'#«J—†#«`'#á—‡#«a'#á—ˆ#˜–'#‚~—‰#«b'#‚~&'#6—Š#£‡'#‚~&'#«c—‹ À +/¦^À +/å’ÚÀ +0’ÛÀ +028À +0BUŒÀ +0UU«_À +0hU«`À +0{U«aÀ +0Ž˜–À +0£«bÀ +0¿£‡ '#Î#«d#¨$«e«d—Œ 0#«d#8—#«d"'#á #ŒX"'#‚€ #™#—Ž@#’Ú'#«d" #ŒX" #™#—#«X'#á—#Ÿ5'#1—‘#Ÿ6'#1—’#«f'#á—“#Ÿ7'#á—”#Ÿ8'#á—•#«g'#‚e—–# '#‚~&'#  "'#á #…——#Ñ'#I"'#‚~ #‹Å—˜ À +1L8À +1\^À +1„’ÚÀ +1§U«XÀ +1ºUŸ5À +1ÌUŸ6À +1ÞU«fÀ +1ñUŸ7À +2UŸ8À +2U«gÀ +2* À +2TÑ '#’Õ#«h#¨$«i«h—™0#«h#8—š#«h"'#á #ŒX"'#‚€ #™#—›@#’Ú'#«h" #ŒX" #™#—œ@#’Û'#«h" #ŒX—#«j'#I"'#‚~ #«k—žÀ +2í8À +2ý^À +3(’ÚÀ +3K’ÛÀ +3g«j '#‘¸#«c#¨$«l«c—Ÿ +0#«c#8— #ù'#‚e—¡#Ž¢'#á—¢#«m'#á—£#«n'#á—¤#«o'#á—¥#«p'#á—¦#«_'#«J—§#«`'#á—¨#Š '#‚~"'#á #«q—© +À +3Ï8À +3ßUùÀ +3òUŽ¢À +4U«mÀ +4U«nÀ +4+U«oÀ +4>U«pÀ +4QU«_À +4dU«`À +4wŠ  '#˜{#«r#“w #“w#“x#“w #“w#“y#“w #“w#—Æ#¨$«s«r—ª0#«r#8—«P#“|'#6—¬#«t'#©¢—­#«u'#«v—®#«w'#‚Û—¯#žD'#«x—°#«y'#I"'#á #«z—±#«{'#I"'#á #«|—²#«}'#I—³#«~'#1&'#«—´#«€'#1&'#«"'#á #à"'#á #«—µ#«‚'#1&'#«"'#á #«—¶#«ƒ'#I"'#á #«z—·#«„'#I"'#á #«|"'#á #«…"'#á #«†—¸#„­'#4—¹#«‡'#I"'# #«ˆ—ºÀ +568À +5FU“|À +5WU«tÀ +5jU«uÀ +5}U«wÀ +5UžDÀ +5£«yÀ +5Å«{À +5ç«}À +5ü«~À +6«€À +6P«‚À +6z«ƒÀ +6œ«„À +6Ø„­À +6í«‡ '#‘¸#«#¨$«‰«—»0#«#8—¼#„Á'#‚Û—½#«'#á—¾#à'#á—¿#œç'#‚Û—ÀÀ +7¢8À +7²U„ÁÀ +7ÅU«À +7ØUàÀ +7ëUœç '#«#«Š#¨$«‹«Š—Á0#«Š#8—Â#«Œ'#1&'#«—ÃÀ +8E8À +8UU«Œ '#«#«Ž#¨$««Ž—Ä0#«Ž#8—ÅÀ +8¡8 '#«#«#¨$«‘«—Æ0#«#8—ÇÀ +8Ü8 '#‘¸#«v#’j#¨$«’«v—È0#«v#8—É@+'# *#«“—Ê@+'# *#«”—Ë@+'# *#«•—Ì@+'# *#«–ÿ—Í#«—'# —Î#ŒX'# —ÏÀ +9 8À +90«“À +9H«”À +9`«•À +9x«–À +9U«—À +9¢UŒX '#«˜#«™#¨$«š«™—Ð 0#«™#8—Ñ#«›'#‚Û—Ò#«œ'#‚Û—Ó#«'#‚Û—Ô#«ž'#‚Û—Õ#«Ÿ'#‚Û—Ö#« '#‚Û—×#«—'# —Ø#ŒX'#á—Ù#«¡'#‚Û—Ú#«¢'#‚Û—Û À +: 8À +:U«›À +:0U«œÀ +:CU«À +:VU«žÀ +:iU«ŸÀ +:|U« À +:U«—À +:¡UŒXÀ +:´U«¡À +:ÇU«¢ '#‘¸#«£#¨$«¤«£—Ü0#«£#8—Ý#«£"'#«¥ #‚O—Þ@#’Ú'#«£" #‚O—ß#œá'#I—à#™'#I"'#‚€ #„d—á#™'#I" #„d#k$™™—âÀ +;K8À +;[^À +;v’ÚÀ +;’œáÀ +;§™À +;È™7'#I"'#«¦ #…°"'#«£ #¨š#«¥—ã '#‘¸#«¦#¨$«§«¦—ä0#«¦#8—å#«~'#1&'#«—æ#«€'#1&'#«"'#á #à"'#á #«—ç#«‚'#1&'#«"'#á #«—èÀ +U«²À +>U«³À +>-U«´À +>@U«µÀ +>SU«¶À +>fU«·À +>yU«¸À +>ŒU«¹À +>ŸU«ºÀ +>¹U«¼À +>ËU«½ '#‘¸#«»#¨$«¾«»—ÿ0#«»#8˜#‹Ø'#á˜#„Á'#‚Û˜#à'#á˜À +?‡8À +?—U‹ØÀ +?ªU„ÁÀ +?½Uà '#‘¸#«x#’j#¨$«¿«x˜0#«x#8˜#««'# ˜#«¬'# ˜#«›'# ˜#«œ'# ˜ #«'# ˜ +#«ž'# ˜ #«À'# ˜ #«®'# ˜ #«¯'# ˜#«±'# ˜#«Ÿ'# ˜#« '# ˜#«Á'# ˜#«´'# ˜#«µ'# ˜#«¶'# ˜#«·'# ˜#«¸'# ˜#«¹'# ˜#«¡'# ˜#«¢'# ˜À +@8À +@)U««À +@;U«¬À +@MU«›À +@_U«œÀ +@qU«À +@ƒU«žÀ +@•U«ÀÀ +@§U«®À +@¹U«¯À +@ËU«±À +@ÝU«ŸÀ +@ïU« À +AU«ÁÀ +AU«´À +A%U«µÀ +A7U«¶À +AIU«·À +A[U«¸À +AmU«¹À +AU«¡À +A‘U«¢ '#˜{#«Â#¨$«Ã«Â˜0#«Â#8˜@+'#˜“&'#’Õ*#›'#˜“&'#’Õ$›ˆš˜#‚('#á˜#›½'#ó&'#’Õ˜À +Ba8À +Bq›À +B©U‚(À +B¼U›½ '#‘¸#ªj#¨$«Äªj˜ 0#ªj#8˜!#†F'#‚~&'#«Â"'#‚€ #ªü˜"#˜¼'#‚~&'#«Â"'#‚€ #ªi˜##«Å'#‚~&'#«Â"'#1&'#‚€ #ªi˜$#«Æ'#‚~&'#«Â"'#‚€ #ªü˜%À +C8À +C'†FÀ +CQ˜¼À +C{«ÅÀ +C¬«Æ '#‘¸#¨@#¨$«Ç¨@˜&0#¨@#8˜'#«È'#1˜(#«É'#©j˜)#«Ê'#©j˜*#«Ë'#á˜+À +D8À +D-U«ÈÀ +D?U«ÉÀ +DRU«ÊÀ +DeU«Ë '#Ä#«Ì#¨$«Í«Î˜,0#«Ì#8˜-##«Ì#‡X˜.À +D¿8À +DχX '#‘¸#©ô#¨$«Ï©ô˜/0#©ô#8˜0#‹Ø'#á˜1#¦Á'#á˜2#'# ˜3#à'#á˜4#.'#©ñ"'# #¥˜5#§å'#©ñ"'#á #à˜6À +E8À +E"U‹ØÀ +E5U¦ÁÀ +EHUÀ +EYUàÀ +El.À +EŽ§å '#‘¸-'#ˆ=&'#©ô'#šf&'#©ô'#p&'#©ô'#1&'#©ô#«Ð#¨$«Ñ«Ð˜7 0#«Ð#8˜8#'# ˜9#¤'#©ô"'# #¥˜:#…5'#I"'# #¥"'#©ô #J˜; #"'# #J˜<#…m'#©ô˜=#…n'#©ô˜>#ƒ¹'#©ô˜?#…s'#©ô"'# #¥˜@#.'#©ô"'# #¥˜A#§å'#©ô"'#á #à˜B#«Ò'#I"'#6 #¨Ú˜C À +F@8À +FPUÀ +F`¤À +F…5À +F­VÀ +FÆU…mÀ +FØU…nÀ +FêUƒ¹À +Fü…sÀ +G.À +G?§åÀ +Gb«Ò '#›#«Ó#¨$«Ô«Ó˜D0#«Ó#8˜E#«Ó"'#á #ŒX"'#‚€ #™#˜F@#’Ú'#«Ó" #ŒX" #™#˜G@#’Û'#«Ó" #ŒX˜H#ƒì'#‚Û˜I#«Õ'#6˜J#¦z'# ˜K#«Ö'#á˜L#«×'#‚Û˜M#«Ø'#‚Û˜N#«Ù'# ˜O#«Ú'# ˜P#«Û'# ˜Q#ƒë'#‚Û˜R#«Ü'#1&'#«Ó˜SP#“|'#6˜TÀ +Gù8À +H ^À +H4’ÚÀ +HW’ÛÀ +HsUƒìÀ +H†U«ÕÀ +H˜U¦zÀ +HªU«ÖÀ +H½U«×À +HÐU«ØÀ +HãU«ÙÀ +HõU«ÚÀ +IU«ÛÀ +IUƒëÀ +I,«ÜÀ +IIU“| '#’Õ#Ÿ#“w #“w#“x#“w #“w#“y#“w #“w#—Æ$˜˜€#“w #“w#—Ì#¨$«ÝŸ˜U0#Ÿ#8˜V#Ÿ"'#á #ŒX"'#‚€ #™#˜W@#’Ú'#Ÿ" #ŒX" #™#˜X@#’Û'#Ÿ" #ŒX˜Y#‚('#‚¨˜Z#§×'#‚¨#k$§Ø‚(#˜1#˜2˜[À +J28À +JB^À +Jm’ÚÀ +J’ÛÀ +J¬U‚(À +J¾U§×7'#I"'#§› ##§¦#’j˜\ '#‘¸#«Þ#’j#¨$«ß«Þ˜]0#«Þ#8˜^@+'# *#«à˜_@+'# *#«á˜`@+'# *#¤½˜a#†'# ˜b#„W'#á˜cÀ +Kk8À +K{«àÀ +K“«áÀ +K«¤½À +KÃU†À +KÕU„W7'#I"'#«Þ #‚f#§§#’j˜d '#Ä#«â#¨$«ã«ä˜e0#«â#8˜f#«â˜g##«â#‡X˜hÀ +La8À +Lq^À +L‡X '#‘¸#ªl#¨$«åªl˜i0#ªl#8˜j#«æ'#«ç˜k #«æ"'#«ç #J˜l#…'#«è˜mÀ +LÈ8À +LØU«æÀ +LëV«æÀ +MU… '#˜{#«é#¨$«ê«é˜n0#«é#8˜o@+'#˜“&'#’Õ*#›'#˜“&'#’Õ$›ˆš˜p#J'#6˜q#›½'#ó&'#’Õ˜rÀ +MZ8À +Mj›À +M¢UJÀ +M³U›½ '#˜{#«ë#¨$«ì«ë˜s 0#«ë#8˜t@+'#˜“&'#žø*#žù'#˜“&'#žø$žú„W˜u#«í'#á˜v #«í"'#á #J˜w#Œ'#á˜x#‚('#á˜y#…'#á˜z#ù'#I˜{#‹Î'#I" #«î˜|#«ï'#I˜}#Ÿ '#ó&'#žø˜~ À +N 8À +NžùÀ +NUU«íÀ +NhV«íÀ +N„UŒÀ +N—U‚(À +NªU…À +N½ùÀ +NÒ‹ÎÀ +Nî«ïÀ +OUŸ  '#’Õ#«ð#¨$«ñ«ð˜0#«ð#8˜€#«ð"'#á #ŒX"'#‚€ #™#˜@#’Ú'#«ð" #ŒX" #™#˜‚#©ï'#«ë˜ƒÀ +O8À +OŸ^À +OÇ’ÚÀ +OêU©ï '#’Õ#«ò#¨$«ó«ò˜„0#«ò#8˜…#«ò"'#á #ŒX"'#‚€ #™#˜†@#’Ú'#«ò" #ŒX" #™#˜‡#„W'#ᘈ#‘Ð'#ᘉÀ +P<8À +PL^À +Pt’ÚÀ +P—U„WÀ +PªU‘Ð '#˜{#«ô#¨$«õ«ô˜Š0#«ô#8˜‹#«ö'#1&'#«ë˜ŒÀ +Q8À +QU«ö '#‘¸#«è#¨$«÷«è˜0#«è#8˜Ž#«ø'#‚~&'#«ô˜À +Q_8À +QoU«ø '#˜{#«ç#¨$«ù«ç˜0#«ç#8˜‘#«ç" #«ú˜’@#’Ú'#«ç" #«ú˜“@#’Û'#«ç" #«ú˜”#«û'#‚~&'#«é˜•#«ü'#‚~&'#«ë"'#á #Œ˜–#B'#‚~&'#«ë˜—À +Q»8À +QË^À +Qà’ÚÀ +Qü’ÛÀ +R«ûÀ +R5«üÀ +R_B '#Ÿö#«ý#’j#¨$«þ«ý˜˜0#«ý#8˜™#šô'#šõ˜š#…†'#ᘛÀ +R×8À +RçUšôÀ +RúU…† '#Ä#«ÿ#“w #“w#“x#“w #“w#“y#“w #“w#—Æ$˜˜€#“w #“w#—Ì#¨$¬¬˜œ +0#«ÿ#8˜#«ÿ˜ž##«ÿ#‡X˜ŸP#“|'#6˜ #Ÿ#'#1&'#‰V#’j#j$œœ#i$œœ˜¡#‡'#‚Û˜¢ #‡"'#‚Û #J˜£#'#‚Û˜¤#J'#‚Û˜¥ #J"'#‚Û #J˜¦ +À +S‹8À +S›^À +S©‡XÀ +SºU“|À +SËUŸ#À +T +U‡À +TV‡À +T9UÀ +TLUJÀ +T^VJ '#’Õ#žq#¨$¬žq˜§0#žq#8˜¨#žq"'#á #ŒX"'#‚€ #™#˜©@#’Ú'#žq" #ŒX" #™#˜ª@#’Û'#žq" #ŒX˜«#¬'#6˜¬#§U'# ˜­#«g'# ˜®À +Tà8À +Tð^À +U’ÚÀ +U>’ÛÀ +UZU¬À +UlU§UÀ +U~U«g '#’Õ#¬#¨$¬¬˜¯0#¬#8˜°#¬"'#á #ŒX"'#‚€ #™#˜±@#’Ú'#¬" #ŒX" #™#˜²#¬'#‚~˜³#‘Ð'#‚e˜´À +Uä8À +Uô^À +V’ÚÀ +V?U¬À +VQU‘Ð '# .#¬#¨$¬¬˜µ0#¬#8˜¶#¬ '# ˜·#‹Å'#ž“˜¸À +Vª8À +VºU¬ À +VÌU‹Å '#Î#¬ +#¨$¬ ¬ +˜¹0#¬ +#8˜º#¬ +"'#á #ŒX"'#‚€ #™#˜»@#’Ú'#¬ +" #ŒX" #™#˜¼@#’Û'#¬ +" #ŒX˜½#A'#¬ ˜¾À +W8À +W(^À +WS’ÚÀ +Wv’ÛÀ +W’UA '#‘¸#¬ #¨$¬¬ ˜¿0#¬ #8˜ÀP#¬'#1&'#á˜Á#¬'#‚~&'#¬˜Â#¬'#‚~"'#‚€ #„d˜Ã#¬'#‚~&'#¬"'#‚€ #„d˜ÄÀ +Wé8À +WùU¬À +X¬À +X0¬À +XU¬ '#‘¸#¬ #¨$¬¬ ˜Å0#¬ #8˜Æ#žî'# ˜Ç#žÞ'#žÕ˜È#‚¢'#‚e˜É#‚–'#á˜ÊÀ +XÉ8À +XÙžîÀ +XîžÞÀ +Y‚¢À +Y‚– '#‘¸#¬#¨$¬¬˜Ë0#¬#8˜Ì#¬'#á˜Í#¬'# ˜Î#„d'#¬˜Ï#˜Ã'# "'#á #à˜Ð#¬'#‚~&'#6˜ÑÀ +Yw8À +Y‡U¬À +YšU¬À +Y¬U„dÀ +Y¿˜ÃÀ +Yᬠ'#‘¸#¬#¨$¬¬˜Ò0#¬#8˜Ó#¬'# ˜Ô#¬'#6˜ÕÀ +ZK8À +Z[U¬À +ZmU¬ '#Ä#¬#¨$¬¬˜Ö0#¬#8˜×#¬˜Ø##¬#‡X˜Ù#©û'#á˜Ú #©û"'#á #J˜ÛÀ +Z¸8À +ZÈ^À +ZÖ‡XÀ +ZçU©ûÀ +ZúV©û7'#I"'#™ #/#¬ ˜Ü7'#I"'#¬! #¬"#¬#˜Ý7'#I"'#¬$ #‹Å#¬%˜Þ '#‘¸#£ö#’j#¨$¬&£ö˜ß&#£ö˜à0#£ö#¥@"'#ƒÛ #šI˜á0#£ö#8˜â@+'# *#¬'˜ã@+'# *#¬(˜ä@+'# *#¬)˜å@+'# *#¬*˜æ#¬+'#6˜ç#¬,'#‰V˜è#¬-'#‰V˜é#¬.'# ˜ê#¬/'#‰V˜ë#œP'# ˜ì#¬0'#›˜í#¬1'#£ö˜î#¬2'#I"'#6 #¬3˜ï#¬4'# "'# #¬5"'#£ö #¬6˜ð#¬7'# "'#‰V #ˆ¤"'# #…2˜ñ#¬8'#›"'#á #†H˜ò#¬9'#I˜ó#ªí'#I˜ô#…X'#I"'#á #”|˜õ#¬:'#›˜ö#¦h'#ƒð˜÷#¦m'#1&'#ƒð#k$¦n¥­#j$¦o¥Y#i$¦o¥Y˜ø#¬;'#I"'#‰V #ˆ¤˜ù#¬<'#6"'#‰V #ˆ¤"'# #…2˜ú#¬='#I"'#‰V #ˆ¤˜û#¬>'#I"'#‰V #ˆ¤˜ü#¬?'#I"'#‰V #ˆ¤"'# #…2˜ý#¬@'#I"'#‰V #ˆ¤˜þ#¬A'#I"'#‰V #ˆ¤˜ÿ#¬B'#I"'#‰V #ˆ¤"'# #…2™#¬C'#I"'#‰V #ˆ¤™#¬D'#I"'#‰V #ˆ¤™#¬E'#I"'#‰V #¬F™#¥­'#1&'#ƒð™P#¬G'#6™&À +[Â^À +[Ð¥@À +[î8À +[þ¬'À +\¬(À +\.¬)À +\F¬*À +\^U¬+À +\pU¬,À +\ƒU¬-À +\–U¬.À +\¨U¬/À +\»UœPÀ +\ͬ0À +\ã¬1À +\ù¬2À +]¬4À +]K¬7À +]y¬8À +]œ¬9À +]±ªíÀ +]Æ…XÀ +]è¬:À +]þ¦hÀ +^¦mÀ +^[¬;À +^}¬<À +^«¬=À +^ͬ>À +^ï¬?À +_¬@À +_?¬AÀ +_a¬BÀ +_¬CÀ +_±¬DÀ +_Ó¬EÀ +_õ¥­À +`U¬G '#‘¸#ª‚#¨$¬Hª‚™0#ª‚#8™#Œ'#á™#ª—'#á™ #…'#á™ +À +aS8À +acUŒÀ +avUª—À +a‰U… '#Ó#¬I#¨$¬J¬I™ 0#¬I#8™ #¬I"'#‚€ #Ö™ @#’Ú'#¬I" #Ö™@#’Û'#¬I™À +aÜ8À +aì^À +b +’ÚÀ +b&’Û '#˜{#©#¨$¬K©™0#©#8™#‚('#á™#¬L'#‚~"'# #Œ™#žÑ'#‚~™#¬M'#‚~&'# "'#¬N #‚O™À +bz8À +bŠU‚(À +b¬LÀ +bÁžÑÀ +bÖ¬M7'#I"'#6 #¬O#¬N™ '#‘¸#£d#¨$¬P£d™0#£d#8™À +cd8 '#‘¸#¬Q#¨$¬R¬Q™0#¬Q#8™#¬Q"'#¬S #‚O™@#’Ú'#¬Q" #‚O™#œá'#I™#™'#I™À +cŸ8À +c¯^À +cÊ’ÚÀ +cæœáÀ +cû™7'#I"'#1 #¬T"'#¬Q #¨š#¬S™7'#I"'#‚Û #§z#¬U™  '#‘¸#¬V#¨$¬W¬V™!0#¬V#8™"#¬V"'#¬X #‚O™#@#’Ú'#¬V" #‚O™$#œá'#I™%#™'#I"'#˜< #…†™&#™'#I"'#˜< #…†™'À +d 8À +d°^À +dË’ÚÀ +dçœáÀ +dü™À +e™7'#I"'#1 #…°"'#¬V #¨š#¬X™( '#‘¸#¬Y#¨$¬Z¬Y™)0#¬Y#8™*#¬['#¥\™+#…†'#˜<™,À +e¸8À +eÈU¬[À +eÛU…† '#‘¸#¬\#¨$¬]¬^™-0#¬\#8™.#„X'# ™/#¬_'#1&'#‚€™0À +f'8À +f7U„XÀ +fI¬_ '#˜{#¬`#¨$¬a¬b™10#¬`#8™2@+'#˜“&'#’Õ*#˜—'#˜“&'#’Õ$˜˜ù™3@+'#˜“&'#’Õ*#˜™'#˜“&'#’Õ$˜š‚f™4@+'#˜“&'#žø*#žù'#˜“&'#žø$žú„W™5@+'#˜“&'#’Õ*#¦â'#˜“&'#’Õ$˜¹ŒÂ™6#«í'#á™7 #«í"'#á #J™8#¬c'# ™9#¬d'# ™: #¬d"'# #J™;#Œ'# ™<#Œ '#á™=#¬e'# ™>#¬f'# ™?#¬g'#6™@#¬h'#6™A#ž0'#á™B#™'#á™C#¬i'#6™D#ù'#I™E#‹Î'#I" #A™F#¬j'#I"'#žÕ #A#k$¬k‹Î™G#¬l'#I"'# #A#k$¬k‹Î™H#¬m'#I"'#á #A#k$¬k‹Î™I#¬n'#I"'#, #A#k$¬k‹Î™J#ƒ'#ó&'#’Õ™K#„Ù'#ó&'#’Õ™L#Ÿ '#ó&'#žø™M#¦è'#ó&'#’Õ™NÀ +fŸ8À +f¯˜—À +f瘙À +gžùÀ +gW¦âÀ +gU«íÀ +g¢V«íÀ +g¾U¬cÀ +gÐU¬dÀ +gâV¬dÀ +gýUŒÀ +hUŒ À +h"U¬eÀ +h4U¬fÀ +hFU¬gÀ +hXU¬hÀ +hjUž0À +h}U™À +hU¬iÀ +h¢ùÀ +h·‹ÎÀ +hÒ¬jÀ +i¬lÀ +i/¬mÀ +i^¬nÀ +iŒUƒÀ +i¦U„ÙÀ +iÀUŸ À +iÚU¦è '#’Õ#¬o#¨$¬p¬q™O0#¬o#8™P#¬o"'#á #ŒX"'#‚€ #™#™Q@#’Ú'#¬o" #ŒX" #™#™R#¬r'#¬`™SÀ +jç8À +j÷^À +k’ÚÀ +kBU¬r '#˜{#¬s#¨$¬t¬u™T 0#¬s#8™U@+'#˜“&'#¬v*#¬w'#˜“&'#¬v$¬x¬y™V#¬z'#6#k$¬{¬|™W#„Á'# ™X#¬}'# ™Y#¬~'#á™Z#¨>'#Ÿ:™[#¬'#I"'#á #¬€"'# #„Á"'# #¬}#k$¬¬‚™\#¬ƒ'#ó&'#¬v™] À +k”8À +k¤¬wÀ +kÜU¬zÀ +küU„ÁÀ +lU¬}À +l U¬~À +l3U¨>À +lF¬À +l”U¬ƒ '#’Õ#¬v#¨$¬„¬…™^0#¬v#8™_#¬v"'#á #ŒX"'#‚€ #™#™`@#’Ú'#¬v" #ŒX" #™#™a#¬†'#á™bÀ +m8À +m"^À +mJ’ÚÀ +mmU¬† '#‘¸#¬‡#“w #“w#“x#¨$¬ˆ¬‰™c#¬‡"'#‚€ #¬Š™d0#¬‡#8™e#¬‹'#á™f #¬‹"'#á #J™g#¬Œ'# ™h #¬Œ"'# #J™i#¬'#á™j #¬"'#á #J™kÀ +mÏ^À +mê8À +múU¬‹À +n V¬‹À +n)U¬ŒÀ +n;V¬ŒÀ +nVU¬À +niV¬ '#‘¸#¬Ž#¨$¬¬™l0#¬Ž#8™m#Œ'#á™n#§‹'#„Œ™o#¬‘'#‚¨#k$¬’§‹™p#ŒX'#á™q#™'#1&'#á™r#¬“'#á"'#á #à™sÀ +nà8À +nðUŒÀ +oU§‹À +oU¬‘À +o6UŒXÀ +oI™À +of¬“ '#˜{#¬”#“w #“w#“x#¨$¬•¬–™t2#¬”"'#‚€ #¬—"'#‚€ #¬˜™uP#“|'#6™v#¬™'#‚~&'#¬$"'#Ÿ: #¢æ™w#¬š'#‚~"'#¬% #œÂ"'#Ÿ: #¢æ#k$¬›¬œ™x@#¬'#‚~" #¬ž™y0#¬”#8™z@+'#˜“&'#©Š*#¬Ÿ'#˜“&'#©Š$¬ ¬¡™{@+'#˜“&'#¬o*#¬¢'#˜“&'#¬o$¬£¬¤™|@+'#˜“&'#¬¥*#¬¦'#˜“&'#¬¥$¬§¬¨™}@+'#˜“&'#’Õ*#¬©'#˜“&'#’Õ$¬ª¬«™~@+'#˜“&'#’Õ*#¬¬'#˜“&'#’Õ$¬­¬®™@+'#˜“&'#©Š*#¬¯'#˜“&'#©Š$¬°¬±™€@+'#˜“&'#’Õ*#¬²'#˜“&'#’Õ$¬³¬´™@+'#˜“&'#¬µ*#¬¶'#˜“&'#¬µ$¬·¨>™‚#¬¸'#ᙃ#¬¹'#ᙄ#¬º'#¬!™…#¬»'#¬!™†#¬¼'#ᙇ#¬½'#‚~"'#‚e #¬‹"'#“ #œÂ"'#¬ #¬¾™ˆ#‰Ù'#I"'#/ #ô"'#‚€ #¬˜™‰#¬¿'#I"'#/ #ô" #¬˜#k$¬À‰Ù™Š#¬Á'#I"'#/ #ô#k$¬À‰Ù™‹#©'#¬Â"'#Ÿ: #¨>"'#/ #¬Ã™Œ#ù'#I™#¬Ä'#‚~&'#¬!"'#‚€ #„d™Ž#¬Å'#¬s"'#Ÿ: #¨>#k$¬Æ¬Ç™#¬È'#¬`"'#á #Œ "'#‚€ #¬É™#¬Ê'#¬`" #Œ " #¬É#k$¬Ë¬È™‘#¬Ì'#¬`" #Œ #k$¬Ë¬È™’#¬Í'#‚~&'#¬!"'#‚€ #„d™“#¬Î'#1&'#/™”#¬Ï'#1&'#¬Ð™•#¬Ñ'#1&'#/™–#¬Ò'#1&'#¬Â™—#¬œ'#‚~&'#¬Ó™˜#¬Ô'#I"'#/ #ô™™#©‡'#I"'#¬Â #¬Õ™š#¬Ö'#I"'#‚€ #¨å™›#¬×'#I" #¨å#k$¬Ø¬Ö™œ#¬Ù'#‚~"'#‚€ #‹Ø™#¬Ú'#‚~"'#‚€ #‹Ø™ž#¬Û'#ó&'#©Š™Ÿ#¬Ü'#ó&'#¬o™ #¬Ý'#ó&'#¬¥™¡#¬Þ'#ó&'#’Õ™¢#¬ß'#ó&'#’Õ™£#¬à'#ó&'#©Š™¤#¬á'#ó&'#’Õ™¥#¬â'#ó&'#¬µ™¦2À +oî^À +pU“|À +p*¬™À +pW¬šÀ +p›¬À +p·8À +pǬŸÀ +pÿ¬¢À +q7¬¦À +qo¬©À +q§¬¬À +q߬¯À +r¬²À +rO¬¶À +r‡U¬¸À +ršU¬¹À +r­U¬ºÀ +rÀU¬»À +rÓU¬¼À +r欽À +s(‰ÙÀ +sY¬¿À +s¬ÁÀ +sÀ©À +sðùÀ +t¬ÄÀ +t2¬ÅÀ +tc¬ÈÀ +t•¬ÊÀ +tǬÌÀ +tò¬ÍÀ +u¬ÎÀ +u<¬ÏÀ +uY¬ÑÀ +uv¬ÒÀ +u“¬œÀ +u°¬ÔÀ +uÒ©‡À +uô¬ÖÀ +v¬×À +v?¬ÙÀ +va¬ÚÀ +vƒU¬ÛÀ +vU¬ÜÀ +v·U¬ÝÀ +vÑU¬ÞÀ +vëU¬ßÀ +wU¬àÀ +wU¬áÀ +w9U¬â '#’Õ#¬¥#¨$¬ã¬ä™§0#¬¥#8™¨#¬¥"'#á #ŒX"'#‚€ #™#™©@#’Ú'#¬¥" #ŒX" #™#™ª@#’Û'#¬¥" #ŒX™«#¬‹'#¬‡™¬À +xÜ8À +xì^À +y’ÚÀ +y:’ÛÀ +yVU¬‹ '#‘¸#¬å#¨$¬æ¬ç™­0#¬å#8™®#ã'# ™¯#§‹'#‚Û™°À +y¯8À +y¿UãÀ +yÑU§‹ '#‘¸#¬Ð#¨$¬è¬é™±0#¬Ð#8™²#¨>'#Ÿ:™³#¬ê'#1&'#¬å™´À +z8À +z-U¨>À +z@¬ê '#‘¸#¬Â#¨$¬ë¬ì™µ0#¬Â#8™¶#¨>'#Ÿ:™·À +z–8À +z¦U¨> '#‘¸#¬!#“w #“w#“x#¨$¬í¬î™¸#¬!"'#‚€ #¬Š™¹0#¬!#8™º#¬"'#á™» #¬""'#á #J™¼#ŒX'#ᙽ #ŒX"'#á #J™¾À +zû^À +{8À +{&U¬"À +{9V¬"À +{UUŒXÀ +{hVŒX '#‘¸-'#‰&'#á'#‚¨#¬Ó#¨$¬ï¬ð™¿0#¬Ó#8™À#œñ'#‚€"'#á #‚¦™Á#…Š'#I"'#‚€&'#á'#‚¨ #2™Â#…³'#6"'#‚¨ #J™Ã#…´'#6"'#‚¨ #‚¦™Ä#¤'#‚€"'#‚¨ #‚¦™Å#…Z'#I'#I"'#á #‚¦"'#‚¨ #J #…T™Æ#…ª'#‚X&'#á™Ç#…«'#‚X&'#‚€™È#'# ™É#…g'#6™Ê#…h'#6™Ë#…5'#I"'#á #‚¦"'#‚¨ #J™Ì#…º'#‚¨"'#á #‚¦'#‚¨ #…¸™Í#…—'#á"'#‚¨ #‚¦™Î#…“'#I™ÏÀ +{ç8À +{÷œñÀ +|…ŠÀ +|G…³À +|g…´À +|ˆ¤À +|ª…ZÀ +|çU…ªÀ +}U…«À +}UÀ +}+U…gÀ +}'#Ÿ:™ÚÀ +~ÿ8À +^À +7’ÚÀ +ZU…À +mU¬ÃÀ +‡U¨> '#‘¸#¬õ#¨$¬ö¬õ™Û #¬O'#ƒð™Ü0#¬õ#8™Ý#¬÷'# #k$¬ø¬ù™Þ#¬ú'# #k$¬û¬ü™ß#¬ý'# #k$¬þ¬ÿ™à#­'# #k$­­™á#­'# ™â#ƒì'# ™ã#­'#6™ä #­"'#6 #J™å#ž'#­™æ#­'# ™ç#ƒë'# ™è À +çU¬OÀ +ù8À +€ U¬÷À +€)U¬úÀ +€IU¬ýÀ +€iU­À +€‰U­À +€›UƒìÀ +€­U­À +€¿V­À +€ÚUžÀ +€íU­À +€ÿUƒë '#˜{#­#¨$­­™é0#­#8™ê@+'#˜“&'#’Õ*#›'#˜“&'#’Õ$›ˆš™ë#šŽ'# ™ì#ŒX'#á™í#­'#‚~"'#á #ž™î#­ '#I™ï#›½'#ó&'#’Õ™ðÀ +8À + ›À +ØUšŽÀ +êUŒXÀ +ý­À +‚­ À +‚4U›½ '#Ä#šâ#¨$­ +­ ™ñ0#šâ#8™ò#šâ™ó##šâ#‡X™ô#‰„'#6™õ #‰„"'#6 #J™ö#†ß'#á™÷ #†ß"'#á #J™ø#¨K'#á™ù #¨K"'#á #J™ú#­ '#6™û #­ "'#6 #J™ü#¨Ï'#á™ý #¨Ï"'#á #J™þ#­ '#6™ÿ #­ "'#6 #Jš#ž’'#áš #ž’"'#á #Jš#ŒX'#áš #ŒX"'#á #JšÀ +‚¤8À +‚´^À +‚‡XÀ +‚ÓU‰„À +‚åV‰„À +ƒU†ßÀ +ƒV†ßÀ +ƒ/U¨KÀ +ƒBV¨KÀ +ƒ^U­ À +ƒpV­ À +ƒ‹U¨ÏÀ +ƒžV¨ÏÀ +ƒºU­ À +ƒÌV­ À +ƒçUž’À +ƒúVž’À +„UŒXÀ +„)VŒX '#‘¸#¥ #¨$­¥ š0#¥ #8š#¥ "'#‚€ #­š@#’Ú'#¥ " #­š@#’Û'#¥ š #­'#‚Ûš +#­'#‚Ûš #­'#‚Ûš #­'#6š #­'#6š#­'#6š#­'#6š#­'#6š#œÎ'# š#œÏ'# š#­'#‚Ûš#­'#‚Ûš#­'#I"'#‚Û #f"'#‚Û #gš#­'#IšÀ +„í8À +„ý^À +…’ÚÀ +…7’ÛÀ +…LU­À +…_U­À +…rU­À +……U­À +…—U­À +…©U­À +…»U­À +…ÍU­À +…ßUœÎÀ +…ñUœÏÀ +†U­À +†U­À +†)­À +†V­7'#I"'#¥  #­#¥›š '#ž;#­#¨$­­š0#­#8š#­"'#‚€ #„dš@#’Ú'#­" #„dš@#’Û'#­š#ž'#áš#­'#˜<š#­ '#‚eš À +‡+8À +‡;^À +‡Y’ÚÀ +‡u’ÛÀ +‡ŠUžÀ +‡U­À +‡°U­  '#’Õ#£¸#¨$­!£¸š!0#£¸#8š"#£¸"'#á #ŒX"'#‚€ #™#š#@#’Ú'#£¸" #ŒX" #™#š$@#’Û'#£¸" #ŒXš%#­"'#á#k$­#­$š&#­%'# š'#­&'#áš(#­''#á#k$­(­)š)#­*'#áš*#£g'# š+#­+'#áš,#£Ú'#áš-#­,'#áš.#£h'#áš/#­-'# š0#­.'#áš1À +ˆ8À +ˆ'^À +ˆR’ÚÀ +ˆu’ÛÀ +ˆ‘U­"À +ˆ²U­%À +ˆÄU­&À +ˆ×U­'À +ˆøU­*À +‰ U£gÀ +‰U­+À +‰0U£ÚÀ +‰CU­,À +‰VU£hÀ +‰iU­-À +‰{U­. '#Ä#­/#¨$­0­1š2$0#­/#8š3#­/š4##­/#‡Xš5#Ÿ'#6š6 #Ÿ"'#6 #Jš7#šò'#6š8 #šò"'#6 #Jš9#Ÿ'#Ÿš:#Ÿ#'#1&'#‰V#’j#j$œœ#i$œœš;#'# š< #"'# #Jš=#¨y'#6š> #¨y"'#6 #Jš?#à'#áš@ #à"'#á #JšA#ˆ4'#6šB #ˆ4"'#6 #JšC#­2'# šD #­2"'# #JšE#ƒ7'# šF #ƒ7"'# #JšG#ŒX'#ášH#Ÿ$'#ášI#Ÿ%'#Ÿ&šJ#J'#ášK #J"'#á #JšL#Ÿ''#6šM#šj'#I"'# #¥"'#«! #¥‰šN#‚'#I"'#‚e #‚"'#‚e #ž!šO#Ÿ('#6šP#.'#˜<"'# #¥šQ#§å'#«!"'#á #àšR#Ÿ)'#6šS#Ÿ*'#I"'#á #‚fšT#„d'#1&'#«!šU#­3'#1&'#«!šV$À +Š!8À +Š1^À +Š?‡XÀ +ŠPUŸÀ +ŠbVŸÀ +Š}UšòÀ +ŠVšòÀ +ŠªUŸÀ +Š½UŸ#À +ŠüUÀ +‹ VÀ +‹'U¨yÀ +‹9V¨yÀ +‹TUàÀ +‹gVàÀ +‹ƒUˆ4À +‹•Vˆ4À +‹°U­2À +‹ÂV­2À +‹ÝUƒ7À +‹ïVƒ7À +Œ +UŒXÀ +ŒUŸ$À +Œ0UŸ%À +ŒCUJÀ +ŒUVJÀ +ŒpUŸ'À +Œ‚šjÀ +Œ°‚À +ŒßŸ(À +Œô.À +§åÀ +9Ÿ)À +NŸ*À +pU„dÀ +‰U­3 '#‘¸#¤#¨$­4¤šW0#¤#8šX#­5'#‰VšY#­6'# šZ#­7'#‰Vš[#­8'# š\#­9'#‰Vš]#­:'# š^#­;'#‰Vš_#­<'# š`#­='#6ša#­>'# šb#ŒX'#ášc#­?'#I"'#£ö #… +šd#¬2'#I"'#‰V #ˆ¤"'# #…2še#­@'#Išf#­A'#Išg#­B'#6"'#‰V #ˆ¤"'#6 #­Cšh#­D'#Iši#…O'#Išj#­E'#I"'#‰V #ˆ¤"'# #…2šk#­F'#£ö"'# #¥šl#—ð'#I"'#á #­G"'#á #˜i"'#á #­Hšm#­I'#Išn#…Ÿ'#I"'#£ö #… +šo#­J'#I"'#‰V #ˆ¤šp#­K'#I"'#‰V #­7"'# #­8"'#‰V #­9"'# #­:šq#'#I"'#‰V #ˆ¤"'# #…2šrÀ +Ž½8À +ŽÍU­5À +ŽàU­6À +ŽòU­7À +U­8À +U­9À +*U­:À +À +…UŒXÀ +˜­?À +º¬2À +ë­@À +­AÀ +­BÀ +F­DÀ +[…OÀ +p­EÀ +¡­FÀ +×ðÀ +ÿ­IÀ +‘…ŸÀ +‘6­JÀ +‘X­KÀ +‘Ÿ '#˜{#Ø#¨$­LØšs0#Ø#8št@+'#˜“&'#’Õ*#˜™'#˜“&'#’Õ$˜š‚fšu#­M'#6šv#­N'#6šw#§‹'#‚Ûšx#B'#Išy#…÷'#Išz#„Ù'#ó&'#’Õš{À +’±8À +’Á˜™À +’ùU­MÀ +“ U­NÀ +“U§‹À +“0BÀ +“D…÷À +“YU„Ù '#’Õ#­O#¨$­P­Oš|0#­O#8š}#­O"'#á #ŒX"'#‚€ #™#š~@#’Ú'#­O" #ŒX" #™#š#‚f'#™š€À +“Ï8À +“ß^À +”’ÚÀ +”*U‚f '#˜{'#×#­Q#¨$­R­Qš0#­Q#8š‚@+'#˜“&'#’Õ*#˜™'#˜“&'#’Õ$˜š‚fšƒ#­S'#á#k$­T­Uš„#‚('#áš…#Ÿ'#I" #„W"'#1&'#‚e # š†#£C'#I" #„W"'#1&'#‚e # #k$£DŸš‡#£E'#I" #„W#k$£DŸšˆ#„Ù'#ó&'#’Õš‰À +”„8À +””˜™À +”ÌU­SÀ +”íU‚(À +•ŸÀ +•2£CÀ +•p£EÀ +•šU„Ù '#˜{#ªo#¨$­VªošŠ0#ªo#8š‹@+'#˜“&'#žø*#žù'#˜“&'#žø$žú„WšŒ#‰¦'#­Qš#ž@'#‚~&'#­WšŽ#­X'#‚~&'#­W"'#á #­Yš#­Z'#‚~&'#1&'#‚¨š#Œ'#‚~&'#­W"'#á #…"'#‚€ #„dš‘#Ÿ '#ó&'#žøš’À +–8À +–!žùÀ +–YU‰¦À +–lUž@À +–†­XÀ +–³­ZÀ +–׌À +—UŸ  '#Ì#­[#¨$­\­[š“0#­[#8š”@+'#˜“&'#’Õ*#­]'#˜“&'#’Õ$­^­_š•@+'#˜“&'#’Õ*#­`'#˜“&'#’Õ$­aõš–@+'#˜“&'#§m*#­b'#˜“&'#§m$­c­dš—@+'#˜“&'#’Õ*#­e'#˜“&'#’Õ$­f­gš˜@+'#˜“&'#žø*#žù'#˜“&'#žø$žú„Wš™#­h'# šš#­i'#­Wš›#­j'#‚~šœ#­k'#ó&'#’Õš#­l'#ó&'#’Õšž#­m'#ó&'#§mšŸ#­n'#ó&'#’Õš #Ÿ '#ó&'#žøš¡P#‡J'#­[š¢À +—ˆ8À +—˜­]À +—Э`À +˜­bÀ +˜@­eÀ +˜xžùÀ +˜°U­hÀ +˜ÃU­iÀ +˜Ö­jÀ +˜ëU­kÀ +™U­lÀ +™U­mÀ +™9U­nÀ +™SUŸ À +™mU‡J '#˜{#­W#¨$­o­Wš£0#­W#8š¤#©~'#­Qš¥#­p'#ž®š¦#­q'#­Qš§#­r'#ªHš¨#­s'#«Yš©#­t'#¬ šª#¨Ñ'#áš«#‰ù'#­uš¬#›­'#­Qš­#­v'#‚~&'#1&'#‚¨"'#‚€ #”š®#­w'#‚~"'#á #ž¶"'#‚€ #„dš¯#­x'#‚~&'#6š°#…·'#‚~š±À +š8À +š!U©~À +š4U­pÀ +šGU­qÀ +šZU­rÀ +šmU­sÀ +š€U­tÀ +š“U¨ÑÀ +š¦U‰ùÀ +š¹U›­À +šÌ­vÀ +›­wÀ +›2­xÀ +›N…· '#Ä#­y#“w #“w#“x$  #¨$­z­{š²0#­y#8š³#­yš´##­y#‡XšµP#“|'#6š¶# "'#1&'#‰V#j$œœ#i$œœš·À +›þ8À +œ^À +œ‡XÀ +œ-U“|À +œ> " '#›'#¤~#¥È#“w #“w#“x$  #¨$­|¥Èš¸0#¥È#8š¹#­}'#6šº#;'#˜<š»#›'#á#k$¦M¦Nš¼ #›"'#á #J#k$¦M¦Nš½#‚•'#áš¾#­~'#¥Èš¿#¤:'#˜<šÀ#¤;'#˜<šÁ#¤<'#˜<šÂ#¤?'#1&'#šõ#j$¤@¤A#i$¤@¤AšÃ#¤D'#˜<"'# #f"'# #gšÄ#¤E'#1&'#˜<"'# #f"'# #gšÅ#¤€'#¤šÆP#“|'#6šÇ@+'#6*#­šÈ@#­€'#IšÉ#­'#6#‚´šÊ #­"'#6 #J#‚´šË#­‚'#6#‚´šÌ #­‚"'#6 #J#‚´šÍÀ +œÚ8À +œêU­}À +œüU;À +U›À +/V›À +YU‚•À +lU­~À +U¤:À +’U¤;À +¥U¤<À +¸U¤?À +î¤DÀ +ž¤EÀ +žM¤€À +žcU“|À +žt­À +žŠ­€À +žžU­À +ž¶V­À +ž×U­‚À +žïV­‚ '#‘¸#­ƒ#¨$­„­ƒšÎ0#­ƒ#8šÏ#’'# šÐÀ +ŸÇ8À +Ÿ×U’ '#˜{'#×#­…#¨$­†­…šÑ0#­…#8šÒ@+'#˜“&'#’Õ*#˜™'#˜“&'#’Õ$˜š‚fšÓ#­…"'#á #­U"'#á #àšÔ@#’Ú'#­…" #­U" #àšÕ@#’Û'#­…" #­UšÖ#†C'#¦üš×#„Ù'#ó&'#’ÕšØÀ + #8À + 3˜™À + k^À + –’ÚÀ + ¹’ÛÀ + ÕU†CÀ + èU„Ù '#Ì#­‡#¨$­ˆ­‡šÙ 0#­‡#8šÚ@+'#˜“&'#’Õ*#­‰'#˜“&'#’Õ$œßœàšÛ@+'# *#£AšÜ@+'# *#£BšÝ#à'#ášÞ#ù'#Išß#£F'#I"'# #ŒX"'# #ƒ7"'#£G #œÂ"'#£H #Š(#k$£I£J#“w #“w#“x#“w #“w#—Ìšà#£K'#£L"'# #ŒX"'# #ƒ7#k$£M£N#“w #“w#“x#“w #“w#—Ìšá#£O'#£P"'#á #…#k$£Q£R#“w #“w#“x#“w #“w#—Ìšâ#£S'#I"'#á #…"'#£T #œÂ"'#£H #Š(#k$£U£V#“w #“w#“x#“w #“w#—Ìšã#­Š'#ó&'#’ÕšäP#‡J'#­‡šå À +¡W8À +¡g­‰À +¡Ÿ£AÀ +¡·£BÀ +¡ÏUàÀ +¡âùÀ +¡÷£FÀ +¢r£KÀ +¢Î£OÀ +££SÀ +£ŒU­ŠÀ +£¦U‡J '#Ä#¦B#¨$­‹­Œšæ0#¦B#8šç##¦B#‡Xšè#à'#ášé #à"'#á #Jšê#­'#1&'#‰V"'#‚€ #„dšë#­Ž'#1&'#‰V" #„d#k$­­šì#­'#1&'#‰V#k$­­šíÀ +¤38À +¤C‡XÀ +¤TUàÀ +¤gVàÀ +¤ƒ­À +¤¯­ŽÀ +¤á­ '#˜{#œÿ#¨$­‘œÿšî0#œÿ#8šï@+'#˜“&'#’Õ*#˜”'#˜“&'#’Õ$˜•˜–šð@+'#˜“&'#’Õ*#˜™'#˜“&'#’Õ$˜š‚fšñ#­’'#‚Ûšò #­’"'#‚Û #Jšó#­“'#‚Ûšô #­“"'#‚Û #Jšõ#©'#šö#©'#©š÷#‚•'#ášø #‚•"'#á #Jšù#­”'#‚Ûšú #­”"'#‚Û #Jšû#­•'#­–šü #­•"'#­– #Jšý#­—'#6šþ#©'#©šÿ#˜–'#I›#­˜'#I"'# #A›#­™'#I"'#, #A#k$­š­˜›#…—'#I"'#‚Û #B"'#‚Û #C›#˜¨'#ó&'#’Õ›#„Ù'#ó&'#’Õ›À +¥a8À +¥q˜”À +¥©˜™À +¥áU­’À +¥ôV­’À +¦U­“À +¦#V­“À +¦?U©À +¦RU©À +¦eU‚•À +¦xV‚•À +¦”U­”À +¦§V­”À +¦ÃU­•À +¦ÖV­•À +¦òU­—À +§U©À +§˜–À +§,­˜À +§L­™À +§z…—À +§§U˜¨À +§ÁU„Ù '#˜{-'#ˆ=&'#œÿ'#šf&'#œÿ'#p&'#œÿ'#1&'#œÿ#©o#¨$­›©o› +0#©o#8›#'# ›#¤'#œÿ"'# #¥› #…5'#I"'# #¥"'#œÿ #J› + #"'# #J› #…m'#œÿ› #…n'#œÿ› #ƒ¹'#œÿ›#…s'#œÿ"'# #¥›#.'#œÿ"'# #¥› +À +¨Ý8À +¨íUÀ +¨ý¤À +©…5À +©JVÀ +©cU…mÀ +©uU…nÀ +©‡Uƒ¹À +©™…sÀ +©º. '#Ä#­œ#¨$­­ž› 0#­œ#8›#­œ›##­œ#‡X›#šó'#á› #šó"'#á #J›#¨P'#á› #¨P"'#á #J›#ž’'#á› #ž’"'#á #J›#¨Q'#á› #¨Q"'#á #J›#ŒX'#á› #ŒX"'#á #J› À +ªD8À +ªT^À +ªb‡XÀ +ªsUšóÀ +ª†VšóÀ +ª¢U¨PÀ +ªµV¨PÀ +ªÑUž’À +ªäVž’À +«U¨QÀ +«V¨QÀ +«/UŒXÀ +«BVŒX '#Ä#­Ÿ#¨$­ ­¡›0#­Ÿ#8› #­Ÿ›!##­Ÿ#‡X›"À +«Ü8À +«ì^À +«ú‡X '#‘¸#­¢#¨$­£­¢›#0#­¢#8›$#­¢›%@#’Ú'#­¢›&#ž’'#á›' #ž’"'#á #J›(#§X'#‚Û›) #§X"'#‚Û #J›*À +¬C8À +¬S^À +¬a’ÚÀ +¬vUž’À +¬‰Vž’À +¬¥U§XÀ +¬¸V§X '#‘¸-'#ˆ=&'#­¢'#šf&'#­¢'#p&'#­¢'#1&'#­¢#­¤#¨$­¥­¤›+0#­¤#8›,#­¤›-@#’Ú'#­¤›.#'# ›/#¤'#­¢"'# #¥›0#…5'#I"'# #¥"'#­¢ #J›1 #"'# #J›2#…m'#­¢›3#…n'#­¢›4#ƒ¹'#­¢›5#…s'#­¢"'# #¥›6#­¦'#I"'#á #í"'#‚Û #§X›7#­§'#I"'#á #ž’"'#‚Û #§X›8#.'#­¢"'# #¥›9À +­c8À +­s^À +­’ÚÀ +­–UÀ +­¦¤À +­Ç…5À +­óVÀ +® U…mÀ +®U…nÀ +®0Uƒ¹À +®B…sÀ +®c­¦À +®•­§À +®Ç. '#˜{#­¨#“w #“w#“x$¥É¥Ê#¨$­©­¨›:(0#­¨#8›;@+'#˜“&'#’Õ*#­ª'#˜“&'#’Õ$­«­¬›<@+'#˜“&'#’Õ*#­­'#˜“&'#’Õ$­®­¯›=@+'#˜“&'#’Õ*#­°'#˜“&'#’Õ$­±C›>@+'#˜“&'#­²*#˜™'#˜“&'#­²$˜š‚f›?@+'#˜“&'#­³*#­´'#˜“&'#­³$­µ­¶›@@+'#˜“&'#­³*#­·'#˜“&'#­³$™Š›A@+'#˜“&'#’Õ*#­¸'#˜“&'#’Õ$­¹­º›B@+'#˜“&'#’Õ*#­»'#˜“&'#’Õ$­¼­½›C@+'#˜“&'#’Õ*#­¾'#˜“&'#’Õ$­¿­À›D@+'#˜“&'#’Õ*#­Á'#˜“&'#’Õ$­Â­Ã›E@+'#˜“&'#’Õ*#­Ä'#˜“&'#’Õ$œùB›FP#“|'#6›G#­Å'#Ÿ:›H #­Å"'#Ÿ: #J›I#­Æ'#6›J #­Æ"'#6 #J›K#­Ç'#­¤›L #­Ç"'#­¤ #J›M#­È'#6›N #­È"'#6 #J›O#¦='#á›P #¦="'#á #J›Q#­É'# ›R #­É"'# #J›S#˜–'#I›T#B'#I›U#…÷'#I›V#­Ê'#ó&'#’Õ›W#­Ë'#ó&'#’Õ›X#­Ì'#ó&'#’Õ›Y#„Ù'#ó&'#­²›Z#­Í'#ó&'#­³›[#­Î'#ó&'#­³›\#­Ï'#ó&'#’Õ›]#­Ð'#ó&'#’Õ›^#­Ñ'#ó&'#’Õ›_#­Ò'#ó&'#’Õ›`#­Ó'#ó&'#’Õ›a#­¨›b(À +¯8À +¯‘­ªÀ +¯É­­À +°­°À +°8˜™À +°p­´À +°¨­·À +°à­¸À +±­»À +±P­¾À +±ˆ­ÁÀ +±À­ÄÀ +±÷U“|À +²U­ÅÀ +²V­ÅÀ +²7U­ÆÀ +²IV­ÆÀ +²dU­ÇÀ +²wV­ÇÀ +²“U­ÈÀ +²¥V­ÈÀ +²ÀU¦=À +²ÓV¦=À +²ïU­ÉÀ +³V­ÉÀ +³˜–À +³1BÀ +³E…÷À +³ZU­ÊÀ +³tU­ËÀ +³ŽU­ÌÀ +³¨U„ÙÀ +³ÂU­ÍÀ +³ÜU­ÎÀ +³öU­ÏÀ +´U­ÐÀ +´*U­ÑÀ +´DU­ÒÀ +´^U­ÓÀ +´x^ '#‘¸#­Ô#“w #“w#“x$¥É¥Ê#¨$­Õ­Ô›c0#­Ô#8›d#­Ö'#‚Û›e#­×'#á›fÀ +µà8À +µðU­ÖÀ +¶U­× '#’Õ#­²#“w #“w#“x$¥É¥Ê#¨$­Ø­²›g0#­²#8›h#­²"'#á #ŒX"'#‚€ #­Ù›i@#’Ú'#­²" #ŒX" #­Ù›j@#’Û'#­²" #ŒX›k#‚f'#á›l#„W'#á›mÀ +¶d8À +¶t^À +¶Ÿ’ÚÀ +¶Â’ÛÀ +¶ÞU‚fÀ +¶ñU„W '#’Õ#­³#“w #“w#“x$¥É¥Ê#¨$­Ú­³›n0#­³#8›o#­³"'#á #ŒX"'#‚€ #­Ù›p@#’Ú'#­³" #ŒX" #­Ù›q@#’Û'#­³" #ŒX›r#­Û'#£­›s#­Ü'#£­›t#­Ý'# ›u#­Þ'#1&'#­ß#j$­à­á#i$­â­ã›vÀ +·f8À +·v^À +·¡’ÚÀ +·Ä’ÛÀ +·àU­ÛÀ +·óU­ÜÀ +¸U­ÝÀ +¸U­Þ '#‘¸#­ß#“w #“w#“x$¥É¥Ê#¨$­ä­ß›w0#­ß#8›x#­å'#6›y#'# ›z#.'#­Ô"'# #¥›{À +¸¾8À +¸ÎU­åÀ +¸àUÀ +¸ñ. '#˜{#­æ#¨$­ç­æ›| +#­è'#1&'#­é›}0#­æ#8›~#‹·'#6›#­ê'#6›€#­ë'#6›#ˆ'#I›‚#­ì'#1&'#­é#k$­í­è›ƒ#ˆ$'#I›„#ˆ&'#I›…#¢¢'#I"'#­î #­ï›† +À +¹R­èÀ +¹n8À +¹~U‹·À +¹U­êÀ +¹¢U­ëÀ +¹´ˆÀ +¹É­ìÀ +¹ôˆ$À +º ˆ&À +º¢¢ '#’Õ#­ð#¨$­ñ­ð›‡0#­ð#8›ˆ#­ò'# ›‰#žV'#‚Û›Š#à'#ᛋ#­ï'#­î›ŒÀ +ºª8À +ººU­òÀ +ºÌUžVÀ +ºßUàÀ +ºòU­ï '#˜{#­î#¨$­ó­î›0#­î#8›Ž@+'#˜“&'#­ð*#­ô'#˜“&'#­ð$­õ­ö›@+'#˜“&'#­ð*#­°'#˜“&'#­ð$­±C›@+'#˜“&'#’Õ*#˜™'#˜“&'#’Õ$˜š‚f›‘@+'#˜“&'#­ð*#­÷'#˜“&'#­ð$­ø«ƒ›’@+'#˜“&'#’Õ*#›t'#˜“&'#’Õ$›uˆ$›“@+'#˜“&'#­ð*#­ù'#˜“&'#­ð$­úˆ&›”@+'#˜“&'#­ð*#­Ä'#˜“&'#­ð$œùB›•#­î"'#á #‚–›–@#’Ú'#­î" #‚–›—@#’Û'#­î›˜#¦='#á›™ #¦="'#á #J›š#­û'#‚Û›› #­û"'#‚Û #J›œ#­ü'#‚Û› #­ü"'#‚Û #J›ž#‚–'#ᛟ #‚–"'#á #J› #­ý'#­é›¡ #­ý"'#­é #J›¢#©'#‚Û›£ #©"'#‚Û #J›¤#­þ'#ó&'#­ð›¥#­Ì'#ó&'#­ð›¦#„Ù'#ó&'#’Õ›§#­ÿ'#ó&'#­ð›¨#‰Ã'#ó&'#’Õ›©#‰Å'#ó&'#­ð›ª#­Ó'#ó&'#­ð›«À +»L8À +»\­ôÀ +»”­°À +»Ë˜™À +¼­÷À +¼;›tÀ +¼s­ùÀ +¼«­ÄÀ +¼â^À +½’ÚÀ +½’ÛÀ +½1U¦=À +½DV¦=À +½`U­ûÀ +½sV­ûÀ +½U­üÀ +½¢V­üÀ +½¾U‚–À +½ÑV‚–À +½íU­ýÀ +¾V­ýÀ +¾U©À +¾/V©À +¾KU­þÀ +¾eU­ÌÀ +¾U„ÙÀ +¾™U­ÿÀ +¾³U‰ÃÀ +¾ÍU‰ÅÀ +¾çU­Ó '#‘¸#­é#¨$®­é›¬0#­é#8›­#„ˆ'#6#k$®®›®#¦='#ᛯ#®'#6›°#à'#á›±#®'#á#k$®®›²À +¿ý8À +À U„ˆÀ +À-U¦=À +À@U®À +ÀRUàÀ +ÀeU® '#‘¸#®#¨$®®›³0#®#8›´#¬+'#6›µ#¬-'#‰V›¶#¬.'# ›·#¬/'#‰V›¸#œP'# ›¹À +ÀÔ8À +ÀäU¬+À +ÀöU¬-À +Á U¬.À +ÁU¬/À +Á.UœP '#‘¸-'#‰&'#á'#á#® #’j#¨$® +® ›º#…Š'#I"'#‚€&'#á'#á #2›»#…³'#6"'#‚e #J›¼#…´'#6"'#‚e #‚¦›½#¤'#á"'#‚e #‚¦›¾#…5'#I"'#á #‚¦"'#á #J›¿#…º'#á"'#á #‚¦'#á #…¸›À#…—'#á"'#‚e #‚¦›Á#…“'#I›Â#…Z'#I'#I"'#á #‚¦"'#á #J #…T›Ã#…ª'#‚X&'#á›Ä#…«'#‚X&'#á›Å#'# ›Æ#…g'#6›Ç#…h'#6›È0#® #8›É#ˆ2'# #k$® ›Ê#ˆ5'#I#k$˜ï…“›Ë#œñ'#á"'#á #‚¦#k$® šm›Ì#® '#á"'# #¥#k$®‚¦›Í#®'#I"'#á #‚¦#k$®šp›Î#®'#I"'#á #‚¦"'#á #J#k$®®›ÏÀ +Á­…ŠÀ +ÁÛ…³À +Áû…´À +¤À +Â>…5À +Âk…ºÀ +ž…—À +ÂÀ…“À +ÂÔ…ZÀ +ÃU…ªÀ +Ã+U…«À +ÃEUÀ +ÃUU…gÀ +ÃfU…hÀ +Ãw8À +ÇUˆ2À +æˆ5À +ÃÉœñÀ +Ãú® À +Ä*®À +ÄZ®7'#I"'#¤ƒ #‚f#£]›Ð '#’Õ#Ÿ#’j#¨$®Ÿ›Ñ +#Ÿ"'#á #ŒX"'#6 # "'#6 # "'#á #‚¦"'#á #¥¶"'#á #‰_"'#á #…"'#® #®›Ò0#Ÿ#8"'#á #ŒX"'#‚€ #™#›Ó@#’Ú'#Ÿ" #ŒX" #™#›Ô@#’Û'#Ÿ" #ŒX›Õ#‚¦'#á›Ö#‰_'#á›×#¥¶'#á›Ø#®'#® ›Ù#…'#á›Ú#®'#I"'#á #©¶"'#6 #©·"'#6 #©¸"'#á #¨¸"'#á #®"'#á #®"'#á #®"'#® #®#k$®®›Û +À +Åt^À +Æ8À +Æ.’ÚÀ +ÆQ’ÛÀ +ÆmU‚¦À +Æ€U‰_À +Æ“U¥¶À +ƦU®À +ƹU…À +ÆÌ® '#‘¸#ªp#¨$®ªp›Ü0#ªp#8›Ý#®'#‚~&'#‚€&'#á'#‚¨›Þ#®'#‚~&'#6›ß#«1'#‚~&'#6›àÀ +Ǿ8À +ÇήÀ +Çù®À +È«17'#I"'# #® #£`›á7'#I"'# #®!"'# #®"#£[›â '#Ä#šï#¨$®#®$›ã +0#šï#8›ä#šï›å##šï#‡X›æ#šò'#6›ç #šò"'#6 #J›è#šó'#á›é #šó"'#á #J›ê#šô'#šõ›ë#ŒX'#á›ì #ŒX"'#á #J›í +À +ȹ8À +ÈÉ^À +ÈׇXÀ +ÈèUšòÀ +ÈúVšòÀ +ÉUšóÀ +É(VšóÀ +ÉDUšôÀ +ÉWUŒXÀ +ÉjVŒX '#‘¸#®%#¨$®&®%›î0#®%#8›ï#ŒX'#á›ð#®''#6"'#á #®(›ñÀ +Éï8À +ÉÿUŒXÀ +Ê®' '#®)#¦]#¨$®*¦]›ò0#¦]#8›ó#‰#'#I"'#á #e"'#‚e #J›ô#˜f'#I"'#á #e›õ#‰M'#I"'#á #e"'#‚e #J›öÀ +Êm8À +Ê}‰#À +Ê«˜fÀ +Ê͉M '#‘¸#®)#¨$®+®)›÷0#®)#8›ø#˜Â'# ›"'#á #e›ù#˜Í'#1&'# ›"'#á #e›ú#®,'#1&'#á›û#Ÿ2'#6"'#á #e›üÀ +Ë;8À +ËK˜ÂÀ +Ën˜ÍÀ +˘®,À +˵Ÿ2 '#‘¸#šõ#¨$®-šõ›ý 0#šõ#8›þ#šò'#6›ÿ #šò"'#6 #Jœ#™4'#áœ#šó'# œ#®.'#‰Vœ# Ó'#šõœ#ž¶'#áœ#ŒX'#ᜠÀ +Ì8À +Ì.UšòÀ +Ì@VšòÀ +Ì[U™4À +ÌnUšóÀ +ÌU®.À +Ì”U ÓÀ +̧Už¶À +̺UŒX '#Î#®/#¨$®0®/œ0#®/#8œ#®/"'#á #ŒX"'#‚€ #ž¥œ @#’Ú'#®/" #ŒX" #ž¥œ +#®1'#6œ #‘'#ᜠÀ +Í08À +Í@^À +Íh’ÚÀ +Í‹U®1À +ÍU‘ '#‘¸#­u#¨$®2­uœ 0#­u#8œ#®3'#‚~&'#1&'#‚¨œ#Œ'#‚~"'#á #‘œÀ +Íö8À +ή3À +Î*Œ '#Ä#®4#¨$®5®6œ0#®4#8œ#®4œ##®4#‡XœÀ +Î…8À +Ε^À +Σ‡X '#Ä#®7#¨$®8®9œ +0#®7#8œ#®7œ##®7#‡Xœ#®:'# œ#õ'# œ #õ"'# #Jœ#®;'#ᜠ#®;"'#á #Jœ#ž'# œ #ž"'# #Jœ +À +Îì8À +Îü^À +Ï +‡XÀ +ÏU®:À +Ï-UõÀ +Ï?VõÀ +ÏZU®;À +ÏmV®;À +ωUžÀ +Ï›Vž '#Ä#®<#¨$®=®>œ 0#®<#8œ!#®<œ"##®<#‡Xœ##¥Œ'# œ$ #¥Œ"'# #Jœ%À +Ð8À +Ð/^À +Ð=‡XÀ +ÐNU¥ŒÀ +Ð`V¥Œ '#Ä#®?#¨$®@®Aœ&#®B'#1&'#®Cœ'#§'#1&'#®Dœ(#®E'#®Dœ)#®F'#®4œ*#®G'#®Cœ+#®H'#®Cœ,#®I'#®Cœ-#®J'#®D"'# #¥œ.#®K'#®Cœ/#®L'#®C#k$®M®Gœ0#›'#›"'#á #µ"'#šü #šý"'#šþ #šÿœ10#®?#8œ2#®?œ3##®?#‡Xœ4#®N'#®4œ5 #®N"'#®4 #Jœ6#®O'#1&'#‰V#k$®P§#j$£$› +#i$£$› +œ7#®Q'#1&'#‰V#k$®R®B#j$£$› +#i$£$› +œ8#®S'#®Cœ9 #®S"'#®C #Jœ:#®T'#®Cœ; #®T"'#®C #Jœ<#®U'#®4#k$®V®Fœ=#®W'#®C#k$®X®Hœ>#®Y'#®C#k$®Z®Iœ?#®['#Iœ@#®\'#I"'# #¥œA#®]'#IœB#®^'#IœC#®_'#®D"'# #¥#k$®`®JœDÀ +ÐÁU®BÀ +ÐÚU§À +Ðó®EÀ +Ñ®FÀ +Ñ®GÀ +Ñ2®HÀ +ÑG®IÀ +Ñ\®JÀ +Ñ}®KÀ +Ñ’®LÀ +Ѷ›À +Ñø8À +Ò^À +Ò‡XÀ +Ò'U®NÀ +Ò:V®NÀ +ÒVU®OÀ +ÒšU®QÀ +ÒÞU®SÀ +ÒñV®SÀ +Ó U®TÀ +Ó V®TÀ +Ó<®UÀ +Ó`®WÀ +Ó„®YÀ +Ó¨®[À +Ó½®\À +ÓÞ®]À +Óó®^À +Ô®_ '#Ä#®D#¨$®a®bœE #®c'#1&'#®7œF#®d'#®7œG#®e'#®7"'# #¥œH#›'#›"'#á #µ"'#šü #šý"'#šþ #šÿœI0#®D#8œJ#®DœK##®D#‡XœL#®f'#1&'#‰V#k$®g®c#j$£$› +#i$£$› +œM#ž'# œN#®h'# œO#®i'#I"'# #¥œP#®j'#Ä"'# #¥#k$®k®eœQ À +Õ0U®cÀ +ÕI®dÀ +Õ^®eÀ +Õ›À +ÕÁ8À +ÕÑ^À +Õ߇XÀ +ÕðU®fÀ +Ö4UžÀ +ÖFU®hÀ +ÖX®iÀ +Öy®j '#Ä#®C#¨$®l®mœR #§'#1&'#®DœS#®E'#®DœT#®J'#®D"'# #¥œU#›'#›"'#á #µ"'#šü #šý"'#šþ #šÿœV0#®C#8œW##®C#‡XœX#®O'#1&'#‰V#k$®P§#j$£$› +#i$£$› +œY#®\'#I"'# #¥œZ#®_'#Ä"'# #¥#k$®`®Jœ[ À +×#U§À +×<®EÀ +×Q®JÀ +×r›À +×´8À +×ćXÀ +×ÕU®OÀ +Ø®\À +Ø:®_ '#«#«#¨$®n«œ\0#«#8œ]#®o'#áœ^#®p'#áœ_#®q'#áœ`#®r'#áœa#­S'#á#k$­T­UœbÀ +ØÐ8À +ØàU®oÀ +ØóU®pÀ +ÙU®qÀ +ÙU®rÀ +Ù,U­S '#Ä#®s#“w #“w#“x#¨$®t®uœc0#®s#8œd#®sœe##®s#‡XœfP#“|'#6œg#†''#›œh#¤{'#I"'#á #µ"'#šü #šý"'#šþ #šÿœiÀ +Ù«8À +Ù»^À +ÙɇXÀ +ÙÚU“|À +ÙëU†'À +Ùþ¤{ '#Ÿö#Ÿ+#¨$®vŸ+œj#Ÿ+"'#á #Aœk0#Ÿ+#8œl#¦A'#¦Bœm#®w'#áœn#¦r'#1&'#‰V#j$œœ#i$œœœo#®x'#Ÿ+"'# #…2œpÀ +ÚŒ^À +Ú¦8À +Ú¶U¦AÀ +ÚÉU®wÀ +ÚܦrÀ +Û®x '#Ä#®y#¨$®z®{œq40#®y#8œr#®yœs##®y#‡Xœt#¨o'#áœu #¨o"'#á #Jœv#Ÿ'#6œw #Ÿ"'#6 #Jœx#®|'# œy #®|"'# #Jœz#„ˆ'#áœ{ #„ˆ"'#á #Jœ|#¨r'#áœ} #¨r"'#á #Jœ~#šò'#6œ #šò"'#6 #Jœ€#Ÿ'#Ÿœ#Ÿ#'#1&'#‰V#’j#j$œœ#i$œœœ‚#¨w'# œƒ #¨w"'# #Jœ„#¨x'# œ… #¨x"'# #Jœ†#à'#ᜇ #à"'#á #Jœˆ#ž'#ᜉ #ž"'#á #JœŠ#ž +'#6œ‹ #ž +"'#6 #JœŒ#ˆ4'#6œ #ˆ4"'#6 #JœŽ#§'# œ #§"'# #Jœ#¨z'#ᜑ #¨z"'#á #Jœ’#¨{'# œ“ #¨{"'# #Jœ”#¨|'# œ• #¨|"'# #Jœ–#œ7'# œ—#ŒX'#᜘#Ÿ$'#᜙#Ÿ%'#Ÿ&œš#J'#᜛ #J"'#á #Jœœ#Ÿ''#6œ#®}'#᜞ #®}"'#á #JœŸ#Ÿ('#6œ #Ÿ)'#6œ¡#—'#Iœ¢#Ÿ*'#I"'#á #‚fœ£#¨†'#I"'#á #†"'# #B"'# #C"'#á #¨‡œ¤#¨ˆ'#I"'# #B"'# #C"'#á #˜iœ¥4À +Û„8À +Û”^À +Û¢‡XÀ +Û³U¨oÀ +ÛÆV¨oÀ +ÛâUŸÀ +ÛôVŸÀ +ÜU®|À +Ü!V®|À +ÜVJÀ +ßYUŸ'À +ßkU®}À +ß~V®}À +ßšŸ(À +߯Ÿ)À +ßÄ—À +ßÙŸ*À +ßû¨†À +àI¨ˆ '#‘¸#®~#¨$®®~œ¦0#®~#8œ§#®~œ¨@#’Ú'#®~œ©#žÄ'#‚~&'#1&'#‚¨" #”(œªÀ +â8À +â!^À +â/’ÚÀ +âDžÄ '# #®€#’j#¨$®®€œ«#®€"'#á #ŒX"'#6 # "'#6 # "'#¿ #?"'#á #Aœ¬0#®€#8œ­#A'#ᜮ#®‚'#I"'#á #ŒX"'#6 # "'#6 # "'#¿ #?"'#á #A#k$®ƒ®„œ¯À +â·^À +ã8À +ã"UAÀ +ã4®‚ '#‘¸#Ÿ¯#¨$®…Ÿ¯œ° 0#Ÿ¯#8œ±#®†'#‚Ûœ²#®‡'#‚Ûœ³#®ˆ'#‚Ûœ´#®‰'#‚Ûœµ#®Š'#‚Ûœ¶#®‹'#‚Ûœ·#®Œ'#‚Ûœ¸#®'#‚Ûœ¹#®Ž'#‚Ûœº#®'#‚Ûœ»#®'#‚Ûœ¼#ƒë'#‚Ûœ½ À +ãÒ8À +ãâU®†À +ãõU®‡À +äU®ˆÀ +äU®‰À +ä.U®ŠÀ +äAU®‹À +äTU®ŒÀ +ägU®À +äzU®ŽÀ +äU®À +ä U®À +ä³Uƒë '#˜{#©!#¨$®‘©!œ¾ 0#©!#8œ¿@+'#˜“&'#’Õ*#®’'#˜“&'#’Õ$®“®”œÀ#®•'#®–œÁ#®—'#®–œÂ#Œ'#áœÃ#Ž:'#áœÄ#Œ '#áœÅ#œý'#áœÆ#‚•'#áœÇ #‚•"'#á #JœÈ#®˜'#I"'#®™ #®šœÉ#®›'#I"'#®™ #®šœÊ#®œ'#ó&'#’ÕœË À +åE8À +åU®’À +åU®•À +å U®—À +å³UŒÀ +åÆUŽ:À +åÙUŒ À +åìUœýÀ +åÿU‚•À +æV‚•À +æ.®˜À +æP®›À +ærU®œ '#˜{#®™#¨$®®™œÌ0#®™#8œÍ@+'#˜“&'#’Õ*#®ž'#˜“&'#’Õ$®Ÿ® œÎ@+'#˜“&'#’Õ*#®¡'#˜“&'#’Õ$®¢®£œÏ#®¤'#‚ۜР#®¤"'#‚Û #JœÑ#Œ'#áœÒ #Œ"'#á #JœÓ#®¥'#6œÔ #®¥"'#6 #JœÕ#œç'#‚ÛœÖ #œç"'#‚Û #Jœ×#¨>'#©!œØ#®¦'#ó&'#’ÕœÙ#‹¹'#ó&'#’ÕœÚÀ +ç 8À +箞À +çT®¡À +çŒU®¤À +çŸV®¤À +ç»UŒÀ +çÎVŒÀ +çêU®¥À +çüV®¥À +èUœçÀ +è*VœçÀ +èFU¨>À +èYU®¦À +èsU‹¹ '#‘¸-'#ˆ=&'#®™'#šf&'#®™'#1&'#®™'#p&'#®™#®–#¨$®§®–œÛ 0#®–#8œÜ#'# œÝ#¤'#®™"'# #¥œÞ#…5'#I"'# #¥"'#®™ #Jœß #"'# #Jœà#…m'#®™œá#…n'#®™œâ#ƒ¹'#®™œã#…s'#®™"'# #¥œä#'#®™"'# #¥œå#®¨'#®™"'#á #Œœæ À +éP8À +é`UÀ +ép¤À +é‘…5À +é½VÀ +éÖU…mÀ +éèU…nÀ +éúUƒ¹À +ê …sÀ +ê-À +êO®¨ '#˜{-'#ˆ=&'#©!'#šf&'#©!'#1&'#©!'#p&'#©!#©#¨$®©©œç0#©#8œè@+'#˜“&'#®ª*#©w'#˜“&'#®ª$©x©yœé@+'#˜“&'#’Õ*#›'#˜“&'#’Õ$›ˆšœê#'# œë#¤'#©!"'# #¥œì#…5'#I"'# #¥"'#©! #Jœí #"'# #Jœî#…m'#©!œï#…n'#©!œð#ƒ¹'#©!œñ#…s'#©!"'# #¥œò#'#©!"'# #¥œó#'#©!"'#á #Œœô#©ˆ'#ó&'#®ªœõ#›½'#ó&'#’ÕœöÀ +ë8À +ë,©wÀ +ëd›À +ëœUÀ +묤À +ëÍ…5À +ëùVÀ +ìU…mÀ +ì$U…nÀ +ì6Uƒ¹À +ìH…sÀ +ìiÀ +ì‹À +ì®U©ˆÀ +ìÈU›½ '#Ä#®«#¨$®¬®­œ÷0#®«#8œø##®«#‡Xœù#©ü'#áœú #©ü"'#á #JœûÀ +ío8À +í‡XÀ +íU©üÀ +í£V©ü '#‘¸#©#’j#¨$®®©œü0#©#8œý#'# œþ#C'#4"'# #¥œÿ#B'#4"'# #¥À +î8À +îUÀ +î)CÀ +îIB7'#I#®¯ '#Ä#œS#¨$®°®±0#œS#8#œS##œS#‡XÀ +î¸8À +îÈ^À +îÖ‡X '#‘¸#¤ +#¨$®²¤ +0#¤ +#8#¤ +"'#‚€ #­Ù@#’Ú'#¤ +" #­Ù #ª'#‚Û#k$ªª +#ª'#‚Û#k$ªª #¤'#‚Û #¤ '# #ª'#‚Û#k$ª¤ #ª'#‚Û#k$ª¤ #®³'#‚Û#k$®´š#®µ'#‚Û#k$®¶š#ª'#á#¤'#‚Û#ª'#‚Û#k$ª¤#ª'#‚Û#k$ª¤#…†'#˜{#¦Ó'#‚¨#k$™(…†#i$®·®¸#j$®·®¸#®¹'# #®º'# #®»'# #®¼'# #®½'# #®¾'# #®¿'# #®À'# #¥©'#ƒÛ #¢•'#ƒÛ!#ª#'#ƒÛ"#š'# #“w #“w#“x#“w #“w#—Ì##š'# #“w #“w#“x#“w #“w#—Ì$À +ï8À +ï/^À +ïJ’ÚÀ +ïfUªÀ +ï‡UªÀ +ï¨U¤À +ï»U¤ À +ïÍUªÀ +ïîUªÀ +ðU®³À +ð0U®µÀ +ðQUªÀ +ðdU¤À +ðwUªÀ +ð˜UªÀ +ð¹U…†À +ðËU¦ÓÀ +ñU®¹À +ñU®ºÀ +ñ*U®»À +ñ;U®¼À +ñLU®½À +ñ]U®¾À +ñnU®¿À +ñU®ÀÀ +ñU¥©À +ñ¢U¢•À +ñ´Uª#À +ñÆUšÀ +ñ÷Uš '# #››#¨$®Á››% 0#››#8&#››"'#á #ŒX"'#‚€ #™#'@#’Ú'#››" #ŒX" #™#(@#’Û'#››" #ŒX)#¨¦'#6*#®Â'#¤+#¨¥'#6,#¨¨'#6-#¨§'#6.#®Ã'#¤/#¤'#¤0P#“|'#61 À +ó8À +ó-^À +óX’ÚÀ +ó{’ÛÀ +ó—U¨¦À +ó©U®ÂÀ +ó¼U¨¥À +óÎU¨¨À +óàU¨§À +óòU®ÃÀ +ôU¤À +ôU“| '#‘¸-'#ˆ=&'#¤ +'#šf&'#¤ +'#p&'#¤ +'#1&'#¤ +#¤#¨$®Ä¤2 0#¤#83P#“|'#64#'# 5#¤'#¤ +"'# #¥6#…5'#I"'# #¥"'#¤ + #J7 #"'# #J8#…m'#¤ +9#…n'#¤ +:#ƒ¹'#¤ +;#…s'#¤ +"'# #¥<#.'#¤ +"'# #¥= À +ôÛ8À +ôëU“|À +ôüUÀ +õ ¤À +õ-…5À +õYVÀ +õrU…mÀ +õ„U…nÀ +õ–Uƒ¹À +õ¨…sÀ +õÉ. '#‘¸#®Å#¨$®Æ®Å> 0#®Å#8?#®Å"'#á #ŒX"'#á #œý"'#á #Œ "'#1&'#á #®Ç"'#á #®È@@#’Ú'#®Å" #ŒX" #œý" #Œ " #®Ç" #®ÈA@#’Û'#®Å" #ŒX" #œý" #Œ " #®ÇB#®È'#áC#®Ç'#‚eD#Œ '#áE#œý'#áF#ŒX'#áG À +öZ8À +öj^À +öÃ’ÚÀ +öû’ÛÀ +÷,U®ÈÀ +÷?U®ÇÀ +÷RUŒ À +÷eUœýÀ +÷xUŒX '#‘¸#­–#¨$®É­–H0#­–#8I#­–"'#1&'#®Å #­•J@#’Ú'#­–" #­•K@#’Û'#­–L#'# M#.'#®Å"'# #¥NÀ +÷í8À +÷ý^À +ø"’ÚÀ +ø>’ÛÀ +øSUÀ +ød. '#Ä#®Ê#“w #“w#“x#“w #“w#—Æ$˜˜€#“w #“w#—Ì#¨$®Ë®ÌO0#®Ê#8P#®ÊQ##®Ê#‡XRP#“|'#6S@+'# *#®ÍT@+'# *#®ÎU@+'# *#§1V@+'# *#–ƒW#„ˆ'#6#k$®®X #„ˆ"'#6 #J#k$®®Y#Ž:'#áZ #Ž:"'#á #J[#Œ '#á\ #Œ "'#á #J]#™'# ^#ž’'#á_ #ž’"'#á #J`#®Ï'#áa #®Ï"'#á #Jb#¨>'#©!cÀ +ù8À +ù^À +ù%‡XÀ +ù6U“|À +ùG®ÍÀ +ù_®ÎÀ +ùw§1À +ù–ƒÀ +ù§U„ˆÀ +ùÇV„ˆÀ +ùðUŽ:À +úVŽ:À +úUŒ À +ú2VŒ À +úNU™À +ú`Už’À +úsVž’À +úU®ÏÀ +ú¢V®ÏÀ +ú¾U¨> '#’Õ#®ª#’j#¨$®Ð®ªd0#®ª#8e#®ª"'#á #ŒX"'#‚€ #™#f@#’Ú'#®ª" #ŒX" #™#g@#’Û'#®ª" #ŒXh#¨>'#‚e#i$˜k„`iÀ +û8À +û^À +ûÈ’ÚÀ +ûë’ÛÀ +üU¨> '#’Õ#¥y#¨$®Ñ®Òj0#¥y#8k#¥y"'#á #ŒX"'#‚€ #™#l@#’Ú'#¥y" #ŒX" #™#m@#’Û'#¥y" #ŒXn#žV'#‚Ûo#K'#áp#¥¨'#áqÀ +ün8À +ü~^À +ü©’ÚÀ +üÌ’ÛÀ +üèUžVÀ +üûUKÀ +ýU¥¨ '#‘¸#¤u#’j#¨$®Ó¤ur#¤u"'#‰V #‹e"'# #¤rs0#¤u#8t#®Ô'#‰Vu #®Ô"'#‰V #Jv#”'#¤sw#‹e'#‰Vx#¤r'# y#ªÀ'#‰Vz#ªÂ'#‰V{#ªÃ'#‰V|#ªE'#‰V}#ªË'#‰V~#ªÌ'#‰V#ªF'#‰V€À +ý~^À +ý¥8À +ýµU®ÔÀ +ýÈV®ÔÀ +ýäU”À +ý÷U‹eÀ +þ +U¤rÀ +þªÀÀ +þ2ªÂÀ +þHªÃÀ +þ^ªEÀ +þtªËÀ +þŠªÌÀ +þ ªF '#‘¸#®Õ#¨$®Ö®×0#®Õ#8‚@#…Ú'#®Õ"'#á #µƒ@#®Ø'#®Õ"'#á #µ„À +ÿ;8À +ÿK…ÚÀ +ÿn®Ø '#‘¸#®Ù#¨$®Ú®Û…0#®Ù#8†@#®Ø'#®Ù"'#á #…‡À +ÿÊ8À +ÿÚ®Ø '#‘¸#¨Ø#¨$®Ü®Ýˆ0#¨Ø#8‰@#ŽÐ'#¨Ø"'#á #…Š@#®Ø'#¨Ø"'#á #…‹À /8À ?ŽÐÀ b®Ø '#’Õ# #¨$®Þ Œ +# "'#á #ŒX"'#¿ #?"'# #£"'#6 # "'#6 # 0# #8"'#á #ŒX"'#‚€ #™#Ž@#’Ú'# " #ŒX" #™#@#’Û'# " #ŒX#£'# ‘#®ß'#¨S’#?'#£Ã“#®à'#‚¨#k$®á?#i$£Ç£È#j$£Ç£È”#®â'# #k$®ã¨¬#’j•#®ä'#I"'#á #ŒX"'#6 # "'#6 # "'#¿ #?"'# #£#k$®å®æ– +À ¾^À 8À H’ÚÀ k’ÛÀ ‡U£À ™U®ßÀ ¬U?À ½U®àÀ ùU®âÀ "®ä '#Ä#®ç#¨$®è®é—0#®ç#8˜#®ç™##®ç#‡XšÀ ê8À ú^À ‡X '#‘¸#®ê#¨$®ë®ê›0#®ê#8œ#ˆ'#‚~"'#‚e #‘Ð#®ì'#Iž#®í'#IŸ#®î'#‚~ #B'#‚~"'#‚e #ô¡À Q8À aˆÀ ƒ®ìÀ ˜®íÀ ­®îÀ ÂB '#Ä#®ï#¨$®ð®ñ¢0#®ï#8£##®ï#‡X¤À 08À @‡X '#‘¸#®ò#¨$®ó®ô¥@#®õ'#á" #®ö¦@#®÷'#á"'#©l #ã§@#®ø'#á"'#/ #ô¨@#®ù'#á"'#žÕ #žÞ©@#®ú'#I"'#á #…ª#‚”'#á«0#®ò#8¬#‡4'#á­ #‡4"'#á #J®#;'#ᯠ#;"'#á #J°#ž-'#á± #ž-"'#á #J²#™4'#á³ #™4"'#á #J´#†b'#áµ#ž.'#ᶠ#ž."'#á #J·#ž/'#Ḡ#ž/"'#á #J¹#†C'#Ạ#†C"'#á #J»#ž0'#á¼ #ž0"'#á #J½#ž1'#á¾ #ž1"'#á #J¿#®û'#®üÀ#ž2'#áÁ #ž2"'#á #JÂÀ ƒ®õÀ Ÿ®÷À Á®øÀ ã®ùÀ ®úÀ &‚”À ;8À KU‡4À ^V‡4À zU;À ŒV;À §Už-À ºVž-À ÖU™4À éV™4À U†bÀ Už.À +Vž.À GUž/À ZVž/À vU†CÀ ‰V†CÀ ¥Už0À ¸Vž0À ÔUž1À çVž1À U®ûÀ Už2À )Vž2 '#‘¸#®ü#¨$®ý®þà 0#®ü#8Ä#®ü"'#‚e #ž¥Å@#’Ú'#®ü" #ž¥Æ@#’Û'#®üÇ#‰#'#I"'#á #à"'#á #JÈ#˜f'#I"'#á #àÉ#˜Â'#á"'#á #àÊ#˜Í'#1&'#á"'#á #àË#Ÿ2'#6"'#á #àÌ#‰M'#I"'#á #à"'#á #JÍ#…'#IÎ À 28À B^À `’ÚÀ |’ÛÀ ‘‰#À ¿˜fÀ á˜ÂÀ ˜ÍÀ .Ÿ2À P‰MÀ ~… '#‘¸#®ÿÏ +0#®ÿ#8Ð#‡4'#áÑ#;'#áÒ#ž-'#áÓ#™4'#áÔ#†b'#áÕ#ž/'#áÖ#†C'#á×#ž0'#áØ#ž1'#áÙ +À õ8À +U‡4À +U;À +*Už-À +=U™4À +PU†bÀ +cUž/À +vU†CÀ +‰Už0À +œUž1 '#˜{#ªt#¨$¯ªtÚ0#ªt#8Û#¯'#‚~ÜÀ 8À (¯ '#‘¸#¯#¨$¯¯Ý0#¯#8Þ#¯'##"'#¯ #2ßÀ o8À ¯ '#˜{#¯#¨$¯¯à0#¯#8á#¯'#áâ#¯'#6ã#¯ '#‚~"'#‚€ #„dä#¯ +'#‚~"'#‚€ #„dåÀ Ò8À âU¯À õU¯À ¯ À ,¯ + '#’Õ#¯ #¨$¯ ¯ æ0#¯ #8ç#¯ "'#á #ŒX"'#‚€ #™#è@#’Ú'#¯ " #ŒX" #™#é#¯ '#¯êÀ ˜8À ¨^À Ð’ÚÀ óU¯  '#˜{#¯#¨$¯¯ë0#¯#8ì#¯'#¯í#¯'#‚Ûî #¯"'#‚Û #Jï#¯'#‚Ûð #¯"'#‚Û #Jñ#§†'# ò#¯'#áó#¯'#6ô#¯'#¯õ#¯'#I"'# #ŒÄö#¯'#‚~÷#¯'#¯"'#á #¯ø#¯'#6"'#¯ #¯ù#¯ '#1&'#‚€ú#¯!'# "'#§{ #‚Oû#¯"'#‚~"'#1&'#‚€ #¯#ü#¯$'#IýÀ E8À UU¯À hU¯À {V¯À —U¯À ªV¯À ÆU§†À ØU¯À ëU¯À ýU¯À ¯À 1¯À F¯À i¯À ‹¯ À ¨¯!À ʯ"À ó¯$ '#‘¸#¯#¨$¯%¯þ0#¯#8ÿ#¯&'#6ž#¯''#6ž#§•'#6ž#¯('# žÀ ª8À ºU¯&À ÌU¯'À ÞU§•À ðU¯( '#’Õ#¯)#¨$¯*¯)ž0#¯)#8ž#¯)"'#á #ŒX"'#‚€ #™#ž@#’Ú'#¯)" #ŒX" #™#ž@#’Û'#¯)" #ŒXž#¡V'#¯ž #‘Ð'#áž +À I8À Y^À „’ÚÀ §’ÛÀ ÃU¡VÀ ÖU‘Ð '#‘¸#¯#¨$¯+¯ž 0#¯#8ž #…2'##ž #¯,'# ž#¯-'# žÀ 68À FU…2À XU¯,À jU¯- '#‘¸#¯#¨$¯.¯ž0#¯#8ž#¯ž@#’Ú'#¯ž#¯/'##ž#¯0'##ž#§‰'#¯1ž#¯2'##ž#¯3'##žÀ ¼8À Ì^À Ú’ÚÀ ïU¯/À U¯0À U§‰À &U¯2À 8U¯3 '#¯#¯4#¨$¯5¯4ž0#¯4#8ž#ŽÇ'#¯6ž#¯7'#‚ÛžÀ ¥8À µUŽÇÀ ÈU¯7 '#‘¸#¯1#¨$¯8¯1ž0#¯1#8ž#§’'##ž#§“'##ž #§–'##ž!#§—'##ž"#ž'##ž##'##ž$À 8À $U§’À 6U§“À HU§–À ZU§—À lUžÀ ~U '#˜{#¯9#¨$¯:¯9ž% 0#¯9#8ž&@+'#˜“&'#’Õ*#›'#˜“&'#’Õ$››ž'@+'#˜“&'#’Õ*#›B'#˜“&'#’Õ$›C›Dž(#¯'#‚Ûž) #¯"'#‚Û #Jž*#¯'#‚Ûž+ #¯"'#‚Û #Jž,#¯ '#¯ž-#£Œ'#6ž.#C'#‚~ž/#¯;'#‚~"'#á #ŒX"'#‚€ #„dž0#›º'#ó&'#’Õž1#›Í'#ó&'#’Õž2 À å8À õ›À -›BÀ eU¯À xV¯À ”U¯À §V¯À ÃU¯ À ÖU£ŒÀ èCÀ ü¯;À .U›ºÀ HU›Í '#’Õ#¯<#¨$¯=¯<ž30#¯<#8ž4#¯<"'#á #ŒX"'#‚€ #™#ž5@#’Ú'#¯<" #ŒX" #™#ž6#¯>'#¯9ž7À â8À ò^À ’ÚÀ =U¯> '#‘¸#¯6#¨$¯?¯6ž80#¯6#8ž9#¯@'#1&'#¯Až:À 8À ŸU¯@ '#‘¸#¯A#¨$¯B¯Až;0#¯A#8ž<#f'#‚Ûž=#h'#‚Ûž>À ë8À ûUfÀ  Uh '#‘¸#¯#¨$¯C¯ž?0#¯#8ž@#¯D'##žA#¯E'#‚ÛžB#¯F'#‚ÛžCÀ V8À fU¯DÀ xU¯EÀ ‹U¯F '#‘¸#Ÿ&#¨$¯GŸ&žD 0#ŸžE#¯H'#6žF#¯I'#6žG#¯J'#6žH#¯K'#6žI#¯L'#6žJ#¯M'#6žK#¯N'#6žL#¯O'#6žM#¯P'#6žN#¯Q'#6žO#¯R'#6žP À Þ8À îU¯HÀ U¯IÀ U¯JÀ $U¯KÀ 6U¯LÀ HU¯MÀ ZU¯NÀ lU¯OÀ ~U¯PÀ U¯QÀ ¢U¯R '#)'#Ÿ>#”+#¨$¯S¯TžQ0#”+#8žR#”+žS##”+#‡XžT#ƒì'# žU #ƒì"'# #JžV#¯U'#ážW #¯U"'#á #JžX#¯V'# žY#¯W'# žZ#¯X'# #k$¯Y¯Z#“w #“w#“x#“w #“w#—Ìž[#¯['# #k$¯\¯]#“w #“w#“x#“w #“w#—Ìž\#ƒë'# ž] #ƒë"'# #Jž^#¯^'#¯_ž_#¯`'#I#k$¯a¯b#“w #“w#“x#“w #“w#—Ìž`#¤!'#I#k$¤8¤9#“w #“w#“x#“w #“w#—ÌžaÀ 48À D^À R‡XÀ cUƒìÀ uVƒìÀ U¯UÀ £V¯UÀ ¿U¯VÀ ÑU¯WÀ ãU¯XÀ #U¯[À cUƒëÀ uVƒëÀ ¯^À ¦¯`À é¤! '#‘¸#¯_#¨$¯c¯_žb0#¯_#8žc#¯d'# žd#¯e'#‚Ûže#¯f'# žf#¯g'# žgÀ ¿8À ÏU¯dÀ áU¯eÀ ôU¯fÀ U¯g '#‘¸#¯h#¨$¯i¯hžh0#¯h#8ži#Œ'#ážj#Ž:'#ážk#Œ '#ážl#œý'#ážm#ž'#6žn #ž"'#6 #Jžo#œþ'#œÿžpÀ _8À oUŒÀ ‚UŽ:À •UŒ À ¨UœýÀ »UžÀ ÍVžÀ èUœþ '#˜{#©#¨$¯j©žq0#©#8žr@+'#˜“&'#’Õ*#›'#˜“&'#’Õ$›ˆšžs#'# žt#­2'# žu#'#¯h"'# #¥žv#'#¯h"'#á #Œžw#›½'#ó&'#’ÕžxÀ W8À g›À ŸUÀ °U­2À ÂÀ äÀ U›½ '#˜{#¯k#¨$¯l¯kžy 0#¯k#8žz@+'#˜“&'#’Õ*#›'#˜“&'#’Õ$›‚›ƒž{@+'#˜“&'#’Õ*#›„'#˜“&'#’Õ$›…›†ž|#ƒì'#‚Ûž}#¦ '#‚Ûž~#¦'#‚Ûž#¯m'#‚Ûž€#¯n'#‚Ûž#x'#‚Ûž‚#ƒë'#‚Ûžƒ#›â'#ó&'#’Õž„#›ã'#ó&'#’Õž… À v8À †›À ¾›„À öUƒìÀ  U¦ À U¦À /U¯mÀ BU¯nÀ UUxÀ gUƒëÀ zU›âÀ ”U›ã7'#I#“ž† '#®™#¯o#¨$¯p¯qž‡0#¯o#8žˆ#¯o"'#‚Û #œç"'#‚Û #®¤"'#á #‚–ž‰@#’Ú'#¯o" #œç" #®¤" #‚–žŠ#šÕ'#áž‹ #šÕ"'#á #JžŒ#…'#‚e#i$˜k„`#j$¯r¯sž #…"'#‚e #JžŽ#'#‚e#i$˜k„`#j$¯r¯sž #"'#‚e #Jž#ª'#¯tž‘ #ª"'#¯t #Jž’#ƒ7'#‚Ûž“ #ƒ7"'#‚Û #Jž”#¯u'#6ž• #¯u"'#6 #Jž–#‚–'#áž— #‚–"'#á #Jž˜#¯v'#áž™ #¯v"'#á #Jžš#¯w'#›#k$¯x¯yž›À 98À I^À ~’ÚÀ ¨UšÕÀ »VšÕÀ ×U…À !V…À !"UÀ !QVÀ !mUªÀ !€VªÀ !œUƒ7À !¯Vƒ7À !ËU¯uÀ !ÝV¯uÀ !øU‚–À " V‚–À "'U¯vÀ ":V¯vÀ "V¯w '#‘¸#¯t#¨$¯z¯{žœ0#¯t#8ž#¯tžž@#’Ú'#¯tžŸ#Œ'#áž  #Œ"'#á #Jž¡#ƒ'# ž¢ #ƒ"'# #Jž£#¯|'#‚Ûž¤ #¯|"'#‚Û #Jž¥#¯}'#‚Ûž¦ #¯}"'#‚Û #Jž§#›†'#ឨ #›†"'#á #Jž©#¯~'#‚Ûžª #¯~"'#‚Û #Jž«#¯'#‚Ûž¬ #¯"'#‚Û #Jž­#ƒë'#‚Ûž® #ƒë"'#‚Û #Jž¯À #)8À #9^À #G’ÚÀ #\UŒÀ #oVŒÀ #‹UƒÀ #VƒÀ #¸U¯|À #ËV¯|À #çU¯}À #úV¯}À $U›†À $)V›†À $EU¯~À $XV¯~À $tU¯À $‡V¯À $£UƒëÀ $¶Vƒë '#˜{#¯€#“w #“w#“x#“w #“w#“y#“w #“w#—Æ$˜˜€#“w #“w#—Ì#’j#¨$¯¯€ž°0#¯€#8ž±@+'#˜“&'# *#˜—'#˜“&'# $˜˜ùž²@+'#˜“&'#’Õ*#˜™'#˜“&'#’Õ$˜š‚fž³@+'#˜“&'#žø*#žù'#˜“&'#žø$žú„Wž´@+'#˜“&'#’Õ*#¦â'#˜“&'#’Õ$˜¹ŒÂžµ#¯€"'#á #…"'#‚e #¯‚ž¶@#’Ú'#¯€" #…" #¯‚ž·@#’Û'#¯€" #…ž¸P#“|'#6ž¹@+'# *#¦åžº@+'# *#¯ƒž»@+'# *#¦æž¼@+'# *#¦çž½#«í'#áž¾ #«í"'#á #Jž¿#¬c'# žÀ#¯„'#ážÁ#ž0'#ážÂ#™'# žÃ#…'#ážÄ#ù'#I"'# #†"'#á #‘ОÅ#‹Î'#I" #AžÆ#¬j'#I"'#žÕ #A#k$¬k‹ÎžÇ#¬l'#I"'# #A#k$¬k‹ÎžÈ#¬m'#I"'#á #A#k$¬k‹ÎžÉ#¬n'#I"'#, #A#k$¬k‹ÎžÊ#ƒ'#ó&'# žË#„Ù'#ó&'#’ÕžÌ#Ÿ '#ó&'#žøžÍ#¦è'#ó&'#’ÕžÎÀ %È8À %ؘ—À &˜™À &HžùÀ &€¦âÀ &¸^À &ã’ÚÀ '’ÛÀ '"U“|À '3¦åÀ 'K¯ƒÀ 'c¦æÀ '{¦çÀ '“U«íÀ '¦V«íÀ 'ÂU¬cÀ 'ÔU¯„À 'çUž0À 'úU™À ( U…À (ùÀ (S‹ÎÀ (n¬jÀ (¬lÀ (ˬmÀ (ú¬nÀ )(UƒÀ )BU„ÙÀ )\UŸ À )vU¦è '#›#›p#¨$¯…›pžÏ#›p"'#á #ŒX"'#¿ #?"'#‚Û #­"'#‚Û #­"'#‚Û #¯†"'# #¯‡"'# #£"'# #¤"'# #¤"'# #ª"'# #ª"'# #ª"'#6 # "'#6 # "'#6 #¨¥"'#6 #¨¦"'#6 #¨§"'#6 #¨¨"'#˜{ #§NžÐ0#›p#8"'#á #ŒX"'#‚€ #™#žÑ@#’Ú'#›p" #ŒX" #™#žÒ@#’Û'#›p" #ŒXžÓ@+'# *#¯ˆžÔ@+'# *#¯‰žÕ@+'# *#¯ŠžÖ#¯‹'#‚Û#k$¯Œ­ž×#¯'#‚Û#k$¯Ž­žØ#¯†'#‚ÛžÙ#­'#‚ÛžÚ#­'#‚ÛžÛ#¯‡'# žÜ#¯'#‚ÛžÝ#¯'#‚ÛžÞ#£'#‚Ûžß#¯‘'#6žà#¯’'#I"'#á #ŒX"'#6 # "'#6 # "'#¿ #?"'# #£"'# #¤"'# #¤"'# #ª"'# #ª"'#6 #¨¥"'#6 #¨¦"'#6 #¨§"'#6 #¨¨"'# #ª"'#˜{ #§N"'# #¯“#k$¯”¯•žá#¯–'#6žâ#¯—'#I"'#á #˜;"'#6 # "'#6 # "'#¿ #?"'# #£"'# #¤"'# #¤"'# #ª"'# #ª"'# #ª"'#˜{ #§N"'#á #¯˜"'# #­"'# #­"'# #¯†"'# #¯‡#k$¯™¯šžãÀ *^À +Ú8À ,’ÚÀ ,*’ÛÀ ,F¯ˆÀ ,^¯‰À ,v¯ŠÀ ,ŽU¯‹À ,¯U¯À ,ÐU¯†À ,ãU­À ,õU­À -U¯‡À -U¯À -*U¯À -#ƒê'#£ÃŸ?#¯÷'#‚¨#k$¡Ôƒê#i$£Ç£È#j$£Ç£ÈŸ@#¯ø'#¯kŸA#À'#£ÃŸB#£Ä'#‚¨#k$¯ùÀ#i$£Ç£È#j$£Ç£ÈŸC#'#£Ã" #¯ú#i$£Ç£È#j$£Ç£ÈŸD#¯û"'# #¥#k$¯ü#i$£Ç£È#j$£Ç£ÈŸE#¯ý"'#á #à#k$¯ü#i$£Ç£È#j$£Ç£ÈŸF#¯þ'#I"'#á #„WŸG#¯ÿ'#I"'# #ŒÄŸH#ù'#IŸI#°'#6"'#á #„WŸJ#õ'#‚~" #‚"'#‚€ #ž¥ŸK#°'#6"'#á #í"'#6 #…Õ"'#6 #°"'#6 #®}"'#6 #°"'#6 #°"'#6 #°ŸL#°'# ~"'#˜< #°"'#á #°#k$° ¥§ŸM#° +'#®)"'#˜< #‚"'#á #¥¨ŸN#° '#1&'# r"'#˜< #‚"'#á #¥¨#k$° ° #j$ ‚ ƒ#i$ ‚ ƒŸO#¤€'#¤ŸP#°'#©X"'#á #†FŸQ#°'#I"'# #f"'# #gŸR#¦¸'#I"'# #f"'# #g#k$¦¹ŸÓŸS#°'#"'#á #à"'#á #‡O"'#á #¯"'# #°"'#£= #°#k$°°#“w #“w#“x#“w #“w#—Ì#i$°ŸT#Ÿ'#I" #„W"'#á #°"'#1&'#‚e # ŸU#£C'#I" #„W" #°"'#1&'#‚e # #k$£DŸŸV#£E'#I" #„W" #°#k$£DŸŸW#…Ó'#IŸX#°'# "'#¨7 #‚O"'#‚€ #„dŸY#°'# " #‚O" #„d#k$°°ŸZ#°'# " #‚O#k$°°Ÿ[#°'#I"'# #f"'# #gŸ\#°'#I"'# #f"'# #gŸ]#›†'#I" #¦" #g"'#‚€ #°Ÿ^#¦‚'#I#k$›…›†Ÿ_#¦ƒ'#I" #„d#k$›…›†Ÿ`#¦„'#I"'#‚Û #f"'#‚Û #g#k$›…›†Ÿa#°'#I"'# #f"'# #g#k$›…›†Ÿb#°'#I"'# #f"'# #g" #°#k$›…›†Ÿc#¦…'#I" #¦" #g"'#‚€ #°Ÿd#¦†'#I#k$¦‡¦…Ÿe#¦ˆ'#I" #„d#k$¦‡¦…Ÿf#¦‰'#I"'#‚Û #f"'#‚Û #g#k$¦‡¦…Ÿg#° '#I"'# #f"'# #g#k$¦‡¦…Ÿh#°!'#I"'# #f"'# #g" #°#k$¦‡¦…Ÿi#¦'#I" #¦" #g"'#‚€ #°Ÿj#¦‘'#I#k$¦’¦Ÿk#¦“'#I" #„d#k$¦’¦Ÿl#¦”'#I"'#‚Û #f"'#‚Û #g#k$¦’¦Ÿm#°"'#I"'# #f"'# #g#k$¦’¦Ÿn#°#'#I"'# #f"'# #g" #°#k$¦’¦Ÿo#…÷'#IŸp#°$'#I"'# #ŒX"'# #ƒ7"'#£G #œÂ"'#£H #Š(#k$£I£J#“w #“w#“xŸq#°%'#‚~&'#¦ª"'# #ŒX"'# #ƒ7#k$£I£J#“w #“w#“xŸr#°&'#I"'#á #…"'#£T #œÂ"'#£H #Š(#k$£U£V#“w #“w#“xŸs#°''#‚~&'#£4"'#á #…#k$£U£V#“w #“w#“xŸt#°('#á"'#á #°(Ÿu#°)'#á"'#á #°)Ÿv#°*'# "'#á #‹Ô"'# #Š"'#‚e #Œ7#k$°+°,Ÿw#°-'# "'#á #‹Ô"'# #Š"'#‚e #Œ7#k$°.°/Ÿx#°0'#I"'# #ŒÄ#k$°1°2Ÿy#°3'#I"'# #ŒÄ#k$°4°5Ÿz#°6'# "'#‚e #‹Ô"'# #Š#k$°+°,Ÿ{#°7'# "'#‚e #‹Ô"'# #Š#k$°.°/Ÿ|#°8'#ó&'#’ÕŸ}#˜¨'#ó&'#’ÕŸ~#›º'#ó&'#’ÕŸ#›»'#ó&'#’ÕŸ€#›¼'#ó&'#’ÕŸ#›½'#ó&'#’ÕŸ‚#›¾'#ó&'#›Ÿƒ#›¿'#ó&'#›Ÿ„#›À'#ó&'#’Õ#—Ò$°9°:Ÿ…#°;'#ó&'#£wŸ†#°<'#ó&'#£~Ÿ‡#›Ã'#ó&'#›Ÿˆ#›Ä'#ó&'#›Ÿ‰#›Å'#ó&'#›ŸŠ#›Æ'#ó&'#›Ÿ‹#›Ç'#ó&'#›ŸŒ#›È'#ó&'#›Ÿ#›É'#ó&'#›ŸŽ#›Ê'#ó&'#’ÕŸ#›Ë'#ó&'#’ÕŸ#›Ì'#ó&'#’ÕŸ‘#„Ù'#ó&'#’ÕŸ’#›Í'#ó&'#’ÕŸ“#Ÿ '#ó&'#’ÕŸ”#›Î'#ó&'#’ÕŸ•#›Ï'#ó&'#’ÕŸ–#›Ð'#ó&'#›IŸ—#›Ñ'#ó&'#›IŸ˜#›Ò'#ó&'#›IŸ™#›Ó'#ó&'#’ÕŸš#›Ô'#ó&'#’ÕŸ›#›Õ'#ó&'#’ÕŸœ#§8'#ó&'#’ÕŸ#Ÿ '#ó&'#žøŸž#›Ö'#ó&'#›ŸŸ#›×'#ó&'#›Ÿ #›Ø'#ó&'#›Ÿ¡#›Ù'#ó&'#›Ÿ¢#›Ú'#ó&'#›Ÿ£#›Û'#ó&'#›Ÿ¤#›Ü'#ó&'#›Ÿ¥#›Ý'#ó&'#›pŸ¦#Ÿ '#ó&'#’ÕŸ§#Ÿ'#ó&'#’ÕŸ¨#°='#ó&'#’ÕŸ©#°>'#ó&'#’ÕŸª#‰Ã'#ó&'#’ÕŸ«#›Þ'#ó&'#’ÕŸ¬#›ß'#ó&'#’ÕŸ­#Ÿ'#ó&'#ŸŸ®#ž…'#ó&'#’ÕŸ¯#›à'#ó&'#’ÕŸ°#›á'#ó&'#’ÕŸ±#›â'#ó&'#’ÕŸ²#›ã'#ó&'#’ÕŸ³#¤a'#ó&'#’ÕŸ´#›ä'#ó&'#’ÕŸµ#›å'#ó&'#’ÕŸ¶#›æ'#ó&'#’ÕŸ·#›ç'#ó&'#’ÕŸ¸#Ÿ'#ó&'#ŸŸ¹#›è'#ó&'#’ÕŸº#›é'#ó&'#’ÕŸ»#›ê'#ó&'#’ÕŸ¼#›ë'#ó&'#››Ÿ½#›ì'#ó&'#››Ÿ¾#›í'#ó&'#››Ÿ¿#›î'#ó&'#››ŸÀ#¥x'#ó&'#¥yŸÁ#Ÿ'#ó&'#’ÕŸÂ#›ï'#ó&'#’ÕŸÃ#›ð'#ó&'#’ÕŸÄ#°?'#ó&'#žSŸÅ#°@'#ó&'#žSŸÆ#°A'#ó&'#žSŸÇ@+'#˜“&'#žÒ*#°B'#°C$°D°EŸÈ#°F'#ó&'#’ÕŸÉ#›ñ'#ó&'#›pŸÊ#ŸÓ'#I"'#ƒÛ #ŸË#°'#"'#á #à"'#á #‡O"'#á #¯"'# #°"'#£= #°#k$°°#“w #“w#“x#“w #“w#—Ì#i$°ŸÌ#¯æ'# ŸÍ#¯é'# ŸÎ#°G'# ŸÏ#°H'# ŸÐ€ìÀ 0U¯ŸÀ 0(UÂÀ 0:¯ À 0]¯¡À 0‡ŒÂÀ 0ÆU“õÀ 0ØV“õÀ 0íU¯¢À 0ÿV¯¢À 1¯!À 15¯À 1U¯£À 1…¯¥À 1´¯§À 1ÃU¯¨À 2U¯¯À 2&¯±À 2`U¯³À 2q8À 2¯´À 2¹¯·À 2ñ¯ºÀ 3)žõÀ 3a§,À 3™žùÀ 3ÑžûÀ 4 žþÀ 4A¯½À 4y¯ÀÀ 4±ŸÀ 4éžrÀ 5!ŸÀ 5YŸÀ 5‘¯ÃÀ 5é¯ÆÀ 6A¯ÉÀ 6™£AÀ 6±£BÀ 6ÉU¯ÌÀ 6ÜU¯ÍÀ 6ïU¯ÎÀ 7U¯ÏÀ 7U©4À 7'U¯ÐÀ 7:U¯ÑÀ 7MU¯ÒÀ 7`U¯ÓÀ 7sV¯ÓÀ 7U¯ÔÀ 7¢V¯ÔÀ 7¾U«8À 7ÑU¯ÕÀ 7äU¯ÖÀ 7÷U¯×À 8 U¯ØÀ 8U¯ÙÀ 8-U¯ÚÀ 8@U¯ÛÀ 8SU¯ÜÀ 8fUàÀ 8yVàÀ 8•U¯ÝÀ 8¨U¯ÞÀ 8ºU¯ßÀ 8ÌU¯àÀ 9 V¯ßÀ 9%UžÀ 97U†bÀ 9JU¯âÀ 9\U¯ãÀ 9nU¯äÀ 9U¯çÀ 9°U‹CÀ 9ÂU¯êÀ 9ÿU¯ìÀ :BUª#À :UU¯íÀ :gU¯îÀ :yU¤À :‹U¤À :U¯ïÀ :°U‹AÀ :ÂU¯ðÀ :ÿU¯òÀ ;U¯óÀ ;%Už~À ;8Vž~À ;TU¯ôÀ ;gU¯õÀ ;zU¯öÀ ;UƒêÀ ;ŸU¯÷À ;ÜU¯øÀ ;ïUÀÀ <U£ÄÀ <>À °À >Z° +À >Š° À >뤀À ?°À ?$°À ?O¦¸À ?ˆ°À @ŸÀ @\£CÀ @¡£EÀ @Ò…ÓÀ @ç°À A°À AI°À As°À Až°À AÉ›†À B¦‚À B#¦ƒÀ BM¦„À Bˆ°À BÁ°À C¦…À C8¦†À C[¦ˆÀ C…¦‰À CÀ° À Cù°!À D9¦À Dp¦‘À D“¦“À D½¦”À Dø°"À E1°#À Eq…÷À E†°$À Eî°%À FA°&À Fž°'À Fæ°(À G °)À G,°*À G{°-À GÊ°0À Gü°3À H.°6À Hm°7À H¬U°8À HÆU˜¨À HàU›ºÀ HúU›»À IU›¼À I.U›½À IHU›¾À IbU›¿À I|U›ÀÀ I¤U°;À I¾U°<À IØU›ÃÀ IòU›ÄÀ J U›ÅÀ J&U›ÆÀ J@U›ÇÀ JZU›ÈÀ JtU›ÉÀ JŽU›ÊÀ J¨U›ËÀ JÂU›ÌÀ JÜU„ÙÀ JöU›ÍÀ KUŸ À K*U›ÎÀ KDU›ÏÀ K^U›ÐÀ KxU›ÑÀ K’U›ÒÀ K¬U›ÓÀ KÆU›ÔÀ KàU›ÕÀ KúU§8À LUŸ À L.U›ÖÀ LHU›×À LbU›ØÀ L|U›ÙÀ L–U›ÚÀ L°U›ÛÀ LÊU›ÜÀ LäU›ÝÀ LþUŸ À MUŸÀ M2U°=À MLU°>À MfU‰ÃÀ M€U›ÞÀ MšU›ßÀ M´UŸÀ MÎUž…À MèU›àÀ NU›áÀ NU›âÀ N6U›ãÀ NPU¤aÀ NjU›äÀ N„U›åÀ NžU›æÀ N¸U›çÀ NÒUŸÀ NìU›èÀ OU›éÀ O U›êÀ O:U›ëÀ OTU›ìÀ OnU›íÀ OˆU›îÀ O¢U¥xÀ O¼UŸÀ OÖU›ïÀ OðU›ðÀ P +U°?À P$U°@À P>U°AÀ PX°BÀ PˆU°FÀ P¢U›ñÀ P¼ŸÓÀ PÝ°À QqU¯æÀ Q‚U¯éÀ Q“U°GÀ Q¤U°H '#°I'#žÒ#°JŸÑ+'#á*#°KŸÒ#°J"'#’Õ #†@ŸÓ#žÔ'#áŸÔ #žÔ"'#á #JŸÕÀ X\°KÀ Xs^À XŽUžÔÀ X VžÔ'#˜“&'#žÒ#°CŸÖ+'#á*#°LŸ× +#°C #°LŸØ#°M'#ó&'#žÒ"'#˜{ #ƒÆ"'#6 #¦ïŸÙ#°N'#á"'#˜{ #…†ŸÚ#°O'#›¹&'#žÒ"'#˜< #ƒÆ"'#6 #¦ïŸÛ#°P'#›¹&'#žÒ"'#¤g&'#˜< #ƒÆ"'#6 #¦ïŸÜÀ X÷°LÀ Y^À Y%°MÀ Y`°NÀ Y‚°OÀ Y½°P '#‘¸#¯œŸÝ0#¯œ#8ŸÞ#°('#á"'#á #°(Ÿß#°)'#á"'#á #°)ŸàÀ ZA8À ZQ°(À Zs°) '# #  #¨$°Q  Ÿá0#  #8Ÿâ#°R'#6Ÿã#£ç'#áŸä#›D'#‚~&'#  Ÿå#°S'#‚~&'#  "'#á #…ŸæÀ ZÎ8À ZÞU°RÀ ZðU£çÀ [›DÀ [ °S '#˜{#žñŸç0#žñ#8Ÿè@+'#˜“&'#’Õ*#žõ'#˜“&'#’Õ$žöž÷Ÿé@+'#˜“&'#žø*#žù'#˜“&'#žø$žú„WŸê@+'#˜“&'#’Õ*#žû'#˜“&'#’Õ$žüžýŸë@+'#˜“&'#’Õ*#žþ'#˜“&'#’Õ$žÿŸŸì@+'#˜“&'#Ÿ*#Ÿ'#˜“&'#Ÿ$ŸŸŸí@+'#˜“&'#Ÿ*#Ÿ'#˜“&'#Ÿ$Ÿ’Ÿî@+'#˜“&'#’Õ*#Ÿ'#˜“&'#’Õ$Ÿ Ÿ +Ÿï#Ÿ '#ó&'#’ÕŸð#Ÿ '#ó&'#žøŸñ#Ÿ '#ó&'#’ÕŸò#Ÿ'#ó&'#’ÕŸó#Ÿ'#ó&'#ŸŸô#Ÿ'#ó&'#ŸŸõ#Ÿ'#ó&'#’ÕŸöÀ [ƒ8À [“žõÀ [ËžùÀ \žûÀ \;žþÀ \sŸÀ \«ŸÀ \ãŸÀ ]UŸ À ]5UŸ À ]OUŸ À ]iUŸÀ ]ƒUŸÀ ]UŸÀ ]·UŸ '#˜{'#×#°T#“w #“w#“x#“w #“w#“y#“w #“w#—Æ$˜˜€#“w #“w#—Ì#¨$°U°TŸ÷ 0#°T#8Ÿø@+'#˜“&'#’Õ*#˜™'#˜“&'#’Õ$˜š‚fŸù@+'#˜“&'#žø*#žù'#˜“&'#žø$žú„WŸú#°T"'#á #­SŸû@#’Ú'#°T" #­SŸüP#“|'#6Ÿý#Ÿ'#I" #„W"'#1&'#‚e # Ÿþ#£C'#I" #„W"'#1&'#‚e # #k$£DŸŸÿ#£E'#I" #„W#k$£DŸ #«ï'#I #„Ù'#ó&'#’Õ #Ÿ '#ó&'#žø  À ^²8À ^˜™À ^úžùÀ _2^À _M’ÚÀ _iU“|À _zŸÀ _¬£CÀ _ê£EÀ `«ïÀ `)U„ÙÀ `CUŸ  '#˜{'#¯›'#¯œ#Ì#¨$°VÌ 0#Ì#8 @+'#˜“&'#’Õ*#˜™'#˜“&'#’Õ$˜š‚f #£¿'#á #¯Ï'#Ÿ/ #¯Ñ'# ;  #¯¨'#˜­  +#¯Ù'#6  #“õ'#°W  #¯Ý'#°X  #†b'#á #¯ì'#°Y #‹A'#Ì #õ'#‚~" #‚"'#‚€ #ž¥ #°Z'#I"'#á #°[ #°('#á"'#á #°( #°)'#á"'#á #°) #°*'# "'#á #‹Ô"'# #Š"'#‚e #Œ7#k$°+°, #°-'# "'#á #‹Ô"'# #Š"'#‚e #Œ7#k$°.°/ #°0'#I"'# #ŒÄ#k$°1°2 #°3'#I"'# #ŒÄ#k$°4°5 #°6'# "'#‚e #‹Ô"'# #Š#k$°+°, #°7'# "'#‚e #‹Ô"'# #Š#k$°.°/ #„Ù'#ó&'#’Õ P#‡J'#Ì À `ä8À `ô˜™À a,U£¿À a?U¯ÏÀ aRU¯ÑÀ aeU¯¨À axU¯ÙÀ aŠU“õÀ aU¯ÝÀ a°U†bÀ aÃU¯ìÀ aÖU‹AÀ aéõÀ b°ZÀ b7°(À bZ°)À b}°*À bÌ°-À c°0À cM°3À c°6À c¾°7À cýU„ÙÀ dU‡J '#˜{#°Y#¨$°\°Y  0#°Y#8 #«t'#©¢ #«w'#‚Û  #«y'#I"'#á #«z !#«{'#I"'#á #«| "#«}'#I ##«~'#1&'#« $#«€'#1&'#«"'#á #à"'#á #« %#«‚'#1&'#«"'#á #« &#«ƒ'#I"'#á #«z '#«„'#I"'#á #«|"'#á #«…"'#á #«† (#„­'#4 )#«‡'#I"'# #«ˆ * À dö8À eU«tÀ eU«wÀ e,«yÀ eN«{À ep«}À e…«~À e¢«€À eÙ«‚À f«ƒÀ f%«„À fa„­À fv«‡ '#‘¸#°]#¨$°^°] +0#°]#8 ,#°]"'#á #°_"'#1&'#¨¹ #°`"'#1&'#‚e #°a" #„d -@#’Ú'#°]" #°_" #°`" #°a" #„d .#ž?'#á /#ˆ'#I 0#›x'#I 1À g8À g&^À gp’ÚÀ g¡Už?À g´ˆÀ gÉ›x '#‘¸##¨$°b 20##8 3À h+8 '#‘¸#°c#‚´#¨$°d°c 40#°c#8 5#°c 6@#’Ú'#°c 7#°e'#°f"'#á #"'#°g #°h 8#°i'#°g"'#‰V #°j 9#°k'#°l"'#á #"'#‰V #°m"'#°g #°h"'# #ŒX"'#‚e #°n :À hm8À h}^À h‹’ÚÀ h °eÀ hаiÀ hó°k '#‘¸#°f#‚´#¨$°o°f ;0#°f#8 <#°k'#°l"'#‰V #°m"'# #ŒX"'#‚e #°n =À i£8À i³°k '#‘¸#°g#‚´#¨$°p°g >0#°g#8 ?#°q'#á"'#á #†ž#k$°r°s @À j.8À j>°q '#‘¸#°l#‚´#¨$°t°l A0#°l#8 B@+'# *#°u C@+'# *#°v D@+'# *#°w E@+'# *#°x  F@+'# *#°y G@+'# *#°z H@+'# *#°{ I@+'# *#°| J@+'# *#°} K@+'# *#°~ L#°'#6 M#°€'#6 N#°'#‚Û O#°‚'#  P#°ƒ'#‰V Q#°„'#  R#°…'#á S#°†'#‰V T#°‡'#‰V"'# #¥ UÀ j¨8À j¸°uÀ jаvÀ jè°wÀ k°xÀ k°yÀ k0°zÀ kH°{À k`°|À kx°}À k°~À k¨U°À kºU°€À kÌU°À kßU°‚À kñU°ƒÀ lU°„À lU°…À l)°†À l?°‡ '#£­#¤å#¨$°ˆ°‰ V0#¤å#8 WÀ m8 '#‘¸#°Š#‚´#¨$°‹°Œ X0#°Š#8 Y#°Š Z@#’Ú'#°Š [#°'#á"'#‰V #‹e \À m]8À mm^À m{’ÚÀ m° '#‘¸#°Ž#“w #“w#“x#“w #“w#“y#“w #“w#—Ì#‚´#¨$°° ] 0#°Ž#8 ^#°Ž _@#’Ú'#°Ž `P#“|'#6 a#°‘'#I b#“â'#á"'#á # ®"'#á #ˆT c#°’'#I"'#‰V # } d#°“'#I"'#á # ®"'#á #ˆT e#…ø'#I f#°”'#I"'#á # ®"'#á #ˆT"'#á #J g#°•'#£­"'#‰V #ã h#°–'#›"'#‰V #ã"'#£­ #‚. i À n)8À n9^À nG’ÚÀ n\U“|À nm°‘À n‚“âÀ n²°’À nÔ°“À o…øÀ o°”À oS°•À ov°– '#‰V#°—#¨$°˜°™ j0#°—#8 k#¦O'#á#k$¦PˆT l#à'#á m#¦Q'#á#k$ ­ ® n#J'#á o #J"'#á #J pÀ p8À p-U¦OÀ pNUàÀ paU¦QÀ p‚UJÀ p”VJ '#‘¸#°š#¨$°›°œ q0#°š#8 rÀ pû8 '#‘¸#°#¨$°ž°Ÿ s0#°#8 tÀ q68 '#˜{#° #¨$°¡°¢ u0#° #8 vÀ qq8 '#˜{#žç#¨$°£°¤ w0#žç#8 xÀ q¬8 '#‘¸#°¥#¨$°¦°§ y0#°¥#8 zÀ qç8 '#‘¸#°¨#¨$°©°ª {0#°¨#8 |À r"8 '#‘¸#°«#¨$°¬°­ }0#°«#8 ~À r]8 '#‘¸#ªZ#¨$°®°¯ 0#ªZ#8 €#°°'#‚~&'#Ÿ #°±'#‚~&'#4"'#á #°² ‚#°³'#‚~&'#6"'#á #°² ƒÀ r˜8À r¨°°À rÅ°±À rî°³ '#‘¸#°´#¨$°µ°¶ „0#°´#8 …À sW8 '#‘¸#« †0#«#8 ‡À s„8 '#˜{#ª\#¨$°·°¸ ˆ0#ª\#8 ‰#°¹'#‚~&'#   Š#°º'#‚~&'#á ‹#ƒ'#‚~"'#  #A Œ#°»'#‚~"'#á #A À s¿8À sÏ°¹À sì°ºÀ t ƒÀ t*°» '#‘¸-'#ˆ=&'# r'#šf&'# r'#p&'# r'#1&'# r# ƒ#¨$°¼°½ Ž +0# ƒ#8 #'#  #¤'# r"'# #¥ ‘#…5'#I"'# #¥"'# r #J ’ #"'# #J “#…m'# r ”#…n'# r •#ƒ¹'# r –#…s'# r"'# #¥ —#.'# r"'# #¥ ˜ +À tÍ8À tÝUÀ tí¤À u…5À u:VÀ uSU…mÀ ueU…nÀ uwUƒ¹À u‰…sÀ uª. '#‘¸#£L#“w #“w#“x#¨$°¾°¿ ™0#£L#8 šÀ vD8 '#£P#°À#¨$°Á°Â ›0#°À#8 œÀ v8 '#‘¸#°Ã#¨$°Ä°Å 0#°Ã#8 žÀ vº8 '#‰V'#Ÿõ#¤æ#‚´#¨$°Æ°Ç Ÿ0#¤æ#8  À w8 '#¥\'#ƒð#¦j#¨$°È°É ¡#‚”'#á ¢#ƒÜ'#6" #2 £#ƒÝ'#  ¤#ƒï'#ƒð"'#ƒð #2 ¥#ƒñ'#6"'#ƒð&'#‚Û #2 ¦#ƒò'#ƒð"'#ƒð #2 §#ƒó'#6"'#ƒð&'#‚Û #ƒô ¨#ƒõ'#6"'#ƒÛ&'#‚Û #ƒô ©#ƒö'#ƒÛ ª#ƒ÷'#ƒÛ «#ƒø'#ƒÛ ¬#ƒù'#ƒÛ ­0#¦j#8 ®#¦j"'#‚Û #f"'#‚Û #g"'#‚Û #ƒë"'#‚Û #ƒì ¯@#’Ú'#¦j" #f" #g" #ƒë" #ƒì °@#’Û'#¦j" #f" #g" #ƒë ±@#ž='#¦j" #f" #g ²@#¥>'#¦j" #f ³@#¥?'#¦j ´#ƒý'#‚Û#k$¡mƒì µ#ƒì'#‚Û ¶ #ƒì"'#‚Û #J ·#ƒü'#‚Û#k$¡áƒë ¸#ƒë'#‚Û ¹ #ƒë"'#‚Û #J º#f'#‚Û » #f"'#‚Û #J ¼#g'#‚Û ½ #g"'#‚Û #J ¾À wG‚”À w\ƒÜÀ wvUƒÝÀ w‡ƒïÀ w¨ƒñÀ wЃòÀ wñƒóÀ xƒõÀ xCUƒöÀ xUUƒ÷À xgUƒøÀ xyUƒùÀ x‹8À x›^À xç’ÚÀ y’ÛÀ y>ž=À y_¥>À yz¥?À yUƒýÀ y°UƒìÀ yÂVƒìÀ yÞUƒüÀ yÿUƒëÀ zVƒëÀ z-UfÀ z?VfÀ zZUgÀ zlVg#°Ê ¿@#…\'# "'# #‡4"'# #J À@#‡5'# "'# #‡4 Á@#‡6'# " #ƒÎ" #ƒ‡ Â@#‡;'# " #ƒÎ" #ƒ‡" #‘R" #` ÃÀ {\…\À {‡‡5À {§‡6À {ɇ; '#‘¸#£P#¨$°Ë°Ì Ä0#£P#8 ÅÀ |:8 '#£P#°Í#¨$°Î°Ï Æ0#°Í#8 ÇÀ |u8 '#‘¸#°Ð#¨$°Ñ°Ò È0#°Ð#8 É#°Ð Ê@#’Ú'#°Ð ËÀ |°8À |À^À |Î’Ú '#‘¸#°Ó#¨$°Ô°Õ Ì0#°Ó#8 ÍÀ }8 '#‘¸-'#ˆ=&'#§}'#šf&'#§}'#1&'#§}'#p&'#§}#ª€#¨$°Ö°× Î +0#ª€#8 Ï#'#  Ð#¤'#§}"'# #¥ Ñ#…5'#I"'# #¥"'#§} #J Ò #"'# #J Ó#…m'#§} Ô#…n'#§} Õ#ƒ¹'#§} Ö#…s'#§}"'# #¥ ×#.'#§}"'# #¥ Ø +À }‘8À }¡UÀ }±¤À }Ò…5À }þVÀ ~U…mÀ ~)U…nÀ ~;Uƒ¹À ~M…sÀ ~n. '#‘¸#°Ø#‚´#¨$°Ù°Ú Ù0#°Ø#8 Ú#§ø'#˜<"'# #¥#k$­. ÛÀ ~ÿ8À §ø '#Ä#°Û#‚´#¨$°Ü°Ý Ü0#°Û#8 Ý##°Û#‡X ÞÀ x8À ˆ‡X '#Ä#°Þ#‚´#¨$°ß°à ß0#°Þ#8 à##°Þ#‡X áÀ Ò8À â‡X '#Ä#°á#‚´#¨$°â°ã â0#°á#8 ã##°á#‡X äÀ €,8À €<‡X '#Ä'#žñ#°ä#‚´#¨$°å°æ å0#°ä#8 æ##°ä#‡X çÀ €Ž8À €ž‡X '#Ä#°ç#‚´#¨$°è°é è0#°ç#8 é##°ç#‡X êÀ €è8À €ø‡X '#‘¸#°ê#¨$°ë°ì ë0#°ê#8 ìÀ ;8 '#‘¸#°í#¨$°î°ï í0#°í#8 îÀ v8 '#˜{#°ð#¨$°ñ°ò ï0#°ð#8 ð#°ð"'#á #°ó"'#á #¨Ñ ñ@#’Ú'#°ð" #°ó" #¨Ñ ò@#’Û'#°ð" #°ó óÀ ±8À Á^À ì’ÚÀ ‚’Û '#’Õ#°ô#¨$°õ°ö ô0#°ô#8 õ#°ô"'#á #ŒX"'#‚€ #™# ö@#’Ú'#°ô" #ŒX" #™# ÷@#’Û'#°ô" #ŒX øÀ ‚j8À ‚z^À ‚¥’ÚÀ ‚È’Û '#‘¸#°÷#¨$°ø°ù ù0#°÷#8 úÀ ƒ#8 '#‘¸#ªh#¨$°ú°û û0#ªh#8 üÀ ƒ^8 '#‘¸-'#ˆ=&'#‰V'#šf&'#‰V'#p&'#‰V'#1&'#‰V#¦D#‚´#¨$°ü°ý ý0#¦D#8 þ#'#  ÿ#¤'#‰V"'# #¥¡#…5'#I"'# #¥"'#‰V #J¡ #"'# #J¡#…m'#‰V¡#…n'#‰V¡#ƒ¹'#‰V¡#…s'#‰V"'# #¥¡#°þ'#°—"'#á #à¡#°ÿ'#°—"'#á # ®"'#á #ˆT¡#.'#°—"'# #¥¡ #±'#°—"'#á #à¡ +#±'#°—"'#á # ®"'#á #ˆT¡ #±'#°—"'#°— #±¡ #±'#°—"'#°— #±¡ À ƒÛ8À ƒëUÀ ƒû¤À „…5À „HVÀ „aU…mÀ „sU…nÀ „…Uƒ¹À „—…sÀ „¸°þÀ „Û°ÿÀ … .À …-±À …P±À …€±À …£± '#‘¸#±#‚´#¨$±±¡0#±#8¡À †_8 '#‘¸#±#¨$± ± +¡0#±#8¡#‹š'#£d¡#ŒX'#á¡#…'#á¡À †š8À †ªU‹šÀ †½UŒXÀ †ÐU… '#žë#ž­#¨$± ˜q¡0#ž­#8¡#ž­"'#‚e #‚"'#‚€ #± ¡@#’Ú'#ž­" #‚" #± ¡@#’Û'#ž­" #‚¡#o'#á¡#ª^'#á¡#®;'#§Ç¡#¨Ï'#á¡#‚•'#á¡#± '#á¡#£Ú'#á¡ #ž+'#á¡!#…'#á¡"#©€'#ž­¡#À ‡#8À ‡3^À ‡^’ÚÀ ‡’ÛÀ ‡UoÀ ‡°Uª^À ‡ÃU®;À ‡ÖU¨ÏÀ ‡éU‚•À ‡üU± À ˆU£ÚÀ ˆ"Už+À ˆ5U…À ˆH©€ '#žq#±#‚´#¨$±±¡$0#±#8¡%À ˆê8 '#žë#ž»#¨$±±¡&0#ž»#8¡'#ž»"'#‚e #‹š"'#‚€ #ž¥¡(@#’Ú'#ž»" #‹š" #ž¥¡)@#’Û'#ž»" #‹š¡*@#ž='#ž»¡+À ‰%8À ‰5^À ‰c’ÚÀ ‰†’ÛÀ ‰¢ž= '#‘¸-'#ˆ=&'#­ß'#šf&'#­ß'#p&'#­ß'#1&'#­ß#­ã#¨$±±¡, +0#­ã#8¡-#'# ¡.#¤'#­ß"'# #¥¡/#…5'#I"'# #¥"'#­ß #J¡0 #"'# #J¡1#…m'#­ß¡2#…n'#­ß¡3#ƒ¹'#­ß¡4#…s'#­ß"'# #¥¡5#.'#­ß"'# #¥¡6 +À Š88À ŠHUÀ ŠX¤À Šy…5À Š¥VÀ Š¾U…mÀ ŠÐU…nÀ ŠâUƒ¹À Šô…sÀ ‹. '#‘¸-'#ˆ=&'#šõ'#šf&'#šõ'#1&'#šõ'#p&'#šõ#¤A#¨$±±¡7 0#¤A#8¡8#'# ¡9#¤'#šõ"'# #¥¡:#…5'#I"'# #¥"'#šõ #J¡; #"'# #J¡<#…m'#šõ¡=#…n'#šõ¡>#ƒ¹'#šõ¡?#…s'#šõ"'# #¥¡@#'# ’"'#á #à¡A#.'#šõ"'# #¥¡B À ‹Ú8À ‹êUÀ ‹ú¤À Œ…5À ŒGVÀ Œ`U…mÀ ŒrU…nÀ Œ„Uƒ¹À Œ–…sÀ Œ·À ŒÚ. '#‘¸# ?#¨$±±¡C0# ?#8¡DÀ k8 '#˜{#±#¨$±±¡E0#±#8¡FÀ ¦8 '#‘¸#±#¨$±±¡G0#±#8¡H#±"'#± #± "'# #±!¡I@#’Ú'#±" #± " #±!¡JÀ á8À ñ^À Ž’Ú '#‘¸#±"#¨$±#±$¡K0#±"#8¡L#±""'#±% #¯ "'# #±&¡M@#’Ú'#±"" #¯ " #±&¡NÀ Žs8À Žƒ^À Žª’Ú '#’Õ#±'#¨$±(±)¡O0#±'#8¡P#±'"'#á #ŒX"'#‚€ #™#¡Q@#’Ú'#±'" #ŒX" #™#¡RÀ 8À ^À =’Ú '#‘¸#±%#¨$±*±+¡S0#±%#8¡TÀ ˜8 '#‘¸#±,#¨$±-±.¡U0#±,#8¡V#±,"'#± #±/"'# #±0"'#á #˜i¡W@#’Ú'#±," #±/" #±0" #˜i¡XÀ Ó8À ã^À ’Ú '#‘¸#±1#¨$±2±3¡Y0#±1#8¡Z#±1"'#á #ž~"'#+ #A¡[@#’Ú'#±1" #ž~" #A¡\@#’Û'#±1" #ž~¡]À y8À ‰^À ²’ÚÀ Ô’Û '#‘¸#±#¨$±4±5¡^0#±#8¡_#±"'#±" #¨å"'# #±6¡`@#’Ú'#±" #¨å" #±6¡aÀ ‘/8À ‘?^À ‘f’Ú '#‘¸#±7#¨$±8±9¡b0#±7#8¡c#±7"'#á #ž~"'#+ #A¡d@#’Ú'#±7" #ž~" #A¡e@#’Û'#±7" #ž~¡fÀ ‘Á8À ‘Ñ^À ‘ú’ÚÀ ’’Û '#‘¸#±:#¨$±;±<¡g0#±:#8¡h#±:"'#1&'#±7 #±="'#+ #A¡i@#’Ú'#±:" #±=" #A¡j@#’Û'#±:" #±=¡kÀ ’w8À ’‡^À ’·’ÚÀ ’Ù’Û '#‘¸#±>#¨$±?±@¡l0#±>#8¡m#±>"'#á #ž~"'# #±A¡n@#’Ú'#±>" #ž~" #±A¡o@#’Û'#±>" #ž~¡pÀ “48À “D^À “n’ÚÀ “‘’Û '#‘¸#±B#¨$±C±D¡q0#±B#8¡r#±B"'#1&'#±> #±=¡s@#’Ú'#±B" #±=¡tÀ “ì8À “ü^À ”’Ú '#‘¸#±E#¨$±F±G¡u0#±E#8¡v#±E"'#á #ž~"'# #±A¡w@#’Ú'#±E" #ž~" #±A¡x@#’Û'#±E" #ž~¡yÀ ”r8À ”‚^À ”¬’ÚÀ ”Ï’Û '#‘¸#¯›¡z0#¯›#8¡{#°*'# "'#á #‹Ô"'# #Š"'#‚e #Œ7¡|#°-'# "'#á #‹Ô"'# #Š"'#‚e #Œ7¡}#°0'#I"'# #ŒÄ¡~#°3'#I"'# #ŒÄ¡#°6'# "'#‚e #‹Ô"'# #Š¡€#°7'# "'#‚e #‹Ô"'# #Š¡À •8À •,°*À •l°-À •¬°0À •Ï°3À •ò°6À –"°7 '#‘¸'#®ÿ#°W#¨$±H±I¡‚0#°W#8¡ƒÀ –¯8 '#ªK'#ªN'#ªP#°X#¨$±J±K¡„0#°X#8¡…À –ø8 '#‘¸# N#¨$±L±M¡†0# N#8¡‡À —38 '#ˆH&'#á'#á#±N¡ˆ +'#˜<*#‰"¡‰#±N #‰"¡Š#…Š'#I"'#‚€&'#á'#á #2¡‹#‚y)(#ƒ¡(#…¥'#‚€&'#ƒ¡'#…¥¡Œ#…³'#6"'#‚e #J¡#…º'#á"'#á #‚¦'#á #…¸¡Ž#…“'#I¡#…Z'#I'#I"'#á #‚¦"'#á #J #…T¡#…ª'#‚X&'#á¡‘#…«'#‚X&'#á¡’#…g'#6¡“#…h'#6¡”#±O'#6"'#°— #ˆ¤¡• À —n‰"À —…^À —œ…ŠÀ —Ê‚yÀ —û…³À ˜…ºÀ ˜N…“À ˜b…ZÀ ˜ŸU…ªÀ ˜¹U…«À ˜ÓU…gÀ ˜äU…hÀ ˜õ±O '#±N#±P¡–#±P"'#˜< #‚¡—#…´'#6"'#‚e #‚¦¡˜#¤'#á"'#‚e #‚¦¡™#…5'#I"'#á #‚¦"'#á #J¡š#…—'#á"'#‚e #‚¦#<$ŽŽ ¡›#'# ¡œ#±O'#6"'#°— #ˆ¤¡@#‰-'#á"'#˜< #‚"'#á #‚¦#<$ŽŽ ¡žÀ ™ˆ^À ™£…´À ™Ä¤À ™æ…5À š…—À šBUÀ šR±OÀ šs‰- '#±N#±Q¡Ÿ +'#á*#±R¡ #±Q"'#˜< #‚ #±R¡¡#…´'#6"'#‚e #‚¦¡¢#¤'#á"'#‚e #‚¦¡£#…5'#I"'#á #‚¦"'#á #J¡¤#…—'#á"'#‚e #‚¦#<$ŽŽ ¡¥#'# ¡¦#±O'#6"'#°— #ˆ¤¡§@#‰-'#á"'#á #¥¦"'#˜< #‚"'#á #‚¦#<$ŽŽ ¡¨ À šü±RÀ ›^À ›7…´À ›X¤À ›z…5À ›§…—À ›ÖUÀ ›æ±OÀ œ‰- '#ˆH&'#á'#á#±S¡©+'#‚€&'#á'#á*#¦C¡ª#±S #¦C¡«#…Š'#I"'#‚€&'#á'#á #2¡¬#‚y)(#ƒ¡(#…¥'#‚€&'#ƒ¡'#…¥¡­#…³'#6"'#‚e #J¡®#…´'#6"'#‚e #‚¦¡¯#¤'#á"'#‚e #‚¦¡°#…5'#I"'#á #‚¦"'#á #J¡±#…º'#á"'#á #‚¦'#á #…¸¡²#…—'#á"'#‚e #‚¦¡³#…“'#I¡´#…Z'#I'#I"'#á #‚¦"'#á #J #…T¡µ#…ª'#‚X&'#ᡶ#…«'#‚X&'#á¡·#'# ¡¸#…g'#6¡¹#…h'#6¡º#±T'#á"'#á #‚¦¡»#±O'#6"'#á #‚¦¡¼#±U'#á"'#á #‚¦¡½#±V'#á"'#á #±W"'#6 #±X¡¾#±Y'#á"'#á #±Z¡¿À œ³¦CÀ œØ^À œï…ŠÀ ‚yÀ N…³À n…´À ¤À ±…5À Þ…ºÀ ž…—À ž3…“À žG…ZÀ ž„U…ªÀ žžU…«À ž¸UÀ žÈU…gÀ žÙU…hÀ žê±TÀ Ÿ ±OÀ Ÿ-±UÀ ŸO±VÀ Ÿ‚±Y#Ÿ>¡À'#˜{#£Ã¡Á#“õ'#¨Ó¡Â#¯Ö'#§Ò¡Ã#©4'#6¡Ä#¯ß'#£Ã¡Å#‹C'#£Ã¡Æ#ƒê'#£Ã¡Ç#ù'#I¡È#Ÿ'#I""#„W"'#á #°"'#1&'#¦ü #©°¡ÉÀ  eU“õÀ  wU¯ÖÀ  ‰U©4À  šU¯ßÀ  ¬U‹CÀ  ¾UƒêÀ  ÐùÀ  äŸ#¨Ó¡Ê"#™4'#I"'#á #­¡ËÀ ¡kV™4#§Ò¡Ì#§Ù'#I¡Í#§Ú'#I¡Î#§Û'#I"'# #šF¡ÏÀ ¡£§ÙÀ ¡·§ÚÀ ¡Ë§Û'#…f&'#á#—è¡Ð#—ì'#6"'#á #J"'#6 #—í¡Ñ#—î'#6¡Ò#…Y'#6"'#‚e #J¡Ó#‚'#6"'#á #J¡Ô#…—'#6"'#‚e #J¡Õ#…Š'#I"'#‚X&'#á #…‹¡Ö#…ê'#I"'#‚X&'#‚e #…‹¡×#—ï'#I"'#‚X&'#á #…‹"'#6 #—í¡ØÀ ¢ —ìÀ ¢OU—îÀ ¢`…YÀ ¢€‚À ¢ …—À ¢À…ŠÀ ¢é…êÀ £—ï '#¥p#±[¡Ù#±["'#˜< #‚¡Ú#ƒì'#‚Û¡Û#ƒë'#‚Û¡Ü #ƒì"'#‚¨ #±\¡Ý #ƒë"'#‚¨ #±]¡Þ#ƒé'#‚Û¡ß#ƒê'#‚Û¡àÀ £™^À £´UƒìÀ £ÆUƒëÀ £ØVƒìÀ £ôVƒëÀ ¤UƒéÀ ¤"Uƒê '#±[#±^¡á+'#1&'#˜<*#±_¡â#±^"'#1&'#˜< #±`¡ã #ƒì" #±\¡ä #ƒë" #±]¡åÀ ¤{±_À ¤™^À ¤»VƒìÀ ¤ÑVƒë '#¥p#±a¡æ#±a" #‚¡ç#ƒì'#‚Û¡è#ƒë'#‚Û¡é#ƒé'#‚Û¡ê#ƒê'#‚Û¡ëÀ ¥^À ¥/UƒìÀ ¥AUƒëÀ ¥SUƒéÀ ¥eUƒê '#¥p#±b¡ì#±b" #‚¡í#ƒì'#‚Û¡î#ƒë'#‚Û¡ï#ƒé'#‚Û¡ð#ƒê'#‚Û¡ñÀ ¥°^À ¥ÅUƒìÀ ¥×UƒëÀ ¥éUƒéÀ ¥ûUƒê '#¥p#±c¡ò#±c" #‚¡ó#ƒì'#‚Û¡ô#ƒë'#‚Û¡õ#ƒé'#‚Û¡ö#ƒê'#‚Û¡÷À ¦F^À ¦[UƒìÀ ¦mUƒëÀ ¦UƒéÀ ¦‘Uƒê'#ƒð&'#‚Û#¥p¡ø+'#˜<*#‰"¡ù#¥p #‰"¡ú#ƒé'#‚Û¡û#ƒê'#‚Û¡ü#ƒì'#‚Û¡ý#ƒë'#‚Û¡þ #ƒì"'#‚¨ #±\¡ÿ #ƒë"'#‚¨ #±]¢#±d'#‚Û"'#1&'#á #Œy"'#á #±e¢#ƒí'#‚Û¢#ƒî'#‚Û¢#‚”'#á¢#ƒÜ'#6" #2¢#ƒÝ'# ¢#ƒï'#ƒð&'#‚Û"'#ƒð&'#‚Û #2¢#ƒñ'#6"'#ƒð&'#‚Û #2¢#ƒò'#ƒð&'#‚Û"'#ƒð&'#‚Û #2¢ #ƒó'#6"'#ƒð&'#‚Û #ƒô¢ +#ƒõ'#6"'#ƒÛ&'#‚Û #ƒô¢ #ƒö'#ƒÛ&'#‚Û¢ #ƒ÷'#ƒÛ&'#‚Û¢ #ƒø'#ƒÛ&'#‚Û¢#ƒù'#ƒÛ&'#‚Û¢À ¦å‰"À ¦ü^À §UƒéÀ §%UƒêÀ §7UƒìÀ §IUƒëÀ §[VƒìÀ §wVƒëÀ §“±dÀ §ÉUƒíÀ §ÛUƒîÀ §í‚”À ¨ƒÜÀ ¨UƒÝÀ ¨-ƒïÀ ¨^ƒñÀ ¨†ƒòÀ ¨·ƒóÀ ¨àƒõÀ © UƒöÀ ©#Uƒ÷À ©=UƒøÀ ©WUƒù%+*#±f¢%+*#±g¢%+*#±h¢%+*#±i¢%+*#±j¢ '#—é#±k¢ +'#‚X&'#˜<*#¡é¢+'#1&'#—é*#±l¢#±k"'#‚X&'#˜< #`¢"#±k#8 #¡é #±l¢#—ñ'#…f&'#á¢#—ò'#I"'#…f&'#á #y¢#—ð"'#…f&'#á #y #…T¢#—ì'#6"'#á #J"'#6 #—í¢#…—'#6"'#‚e #J¢ À ª~¡éÀ ª±lÀ ª»^À ªÝ8À ªÿ—ñÀ «—òÀ «D—ðÀ «r—ìÀ «¡…— '#—é#±m¢"+'#˜<*#‰"¢ #±m #‰"¢!#—ñ'#…f&'#á¢"#—ò'#I"'#…f&'#á #y¢##'# ¢$#…g'#6¢%#…h'#6¢&#…“'#I¢'#…Y'#6"'#‚e #J¢(#‚'#6"'#á #J¢)#…—'#6"'#‚e #J¢*#—ì'#6"'#á #J"'#6 #—í¢+#…Š'#I"'#‚X&'#á #…‹¢,#…ê'#I"'#‚X&'#‚e #…‹¢-#…ë'#I"'#‚X&'#‚e #…‹¢.#…š'#I'#6"'#á #à #…V¢/#…›'#I'#6"'#á #à #…V¢0@#±n'#6"'#˜< #‰""'#‚e #J¢1@#‚4'#6"'#˜< #‰""'#á #J#<$ŽŽ ¢2@#‰-'#6"'#˜< #‰""'#á #J#<$ŽŽ ¢3@#±o'#6"'#˜< #‰""'#á #J"'#6 #—í¢4@#±p'#6"'#˜< #‰""'#á #J¢5@#±q'#6"'#˜< #‰""'#á #J"'#6 #—í¢6@#¥n'#I"'#˜< #‰""'#‚X&'#á #…‹¢7@#±r'#I"'#˜< #‰""'#‚X&'#‚e #…‹¢8@#‘Ò'#I"'#˜< #‰"'#6"'#á #à #…V"'#6 #±s¢9@#±t'#¥e"'#˜< #ƒÆ¢:@#±u'# "'#¥e #¨¢;@#±v'#6"'#¥e #¨"'#á #J¢<@#±w'#6"'#¥e #¨"'#á #J¢=@#±x'#I"'#¥e #¨"'#á #J¢>@#±y'#I"'#¥e #¨"'#á #J¢?@#±z'#6"'#¥e #¨"'#á #J¢@@#±{'#6"'#¥e #¨"'#á #J"'#6 #—í¢A"À ¬‰"À ¬.^À ¬E—ñÀ ¬b—òÀ ¬ŠUÀ ¬šU…gÀ ¬«U…hÀ ¬¼…“À ¬Ð…YÀ ¬ð‚À ­…—À ­0—ìÀ ­_…ŠÀ ­ˆ…êÀ ­±…ëÀ ­Ú…šÀ ® …›À ®<±nÀ ®i‚4À ®£‰-À ®Ý±oÀ ¯±pÀ ¯C±qÀ ¯|¥nÀ ¯²±rÀ ¯è‘ÒÀ °2±tÀ °T±uÀ °u±vÀ °¢±wÀ °Ï±xÀ °ü±yÀ ±)±zÀ ±V±{#±|¢B+'#‚Û*#„¢¢C+'#á*#±}¢D##±|# ` #„¢¢E##±|# b #„¢¢F##±|# _ #„¢¢G##±|# a #„¢¢H##±|# Y #„¢¢I##±|# Q #„¢¢J##±|# ] #„¢¢K##±|# V #„¢¢L##±|# #„¢¢M!#±|# ß"'#á #±~¢N#‚”'#á¢O#J'#‚Û¢PÀ ²Œ„¢À ²£±}À ²º `À ²Ô bÀ ²î _À ³ aÀ ³" YÀ ³< QÀ ³V ]À ³p VÀ ³ŠÀ ³¤ ßÀ ³Â‚”À ³×UJ7"'#’Õ #‰ì#~¢Q)(#‚Z'#’Õ#˜“¢R+'#á*#°L¢S +#˜“ #°L¢T#°M'#ó&'#‚Z"'#˜{ #ƒÆ"'#6 #¦ï¢U#°O'#›¹&'#‚Z"'#˜< #ƒÆ"'#6 #¦ï¢V#°P'#›¹&'#‚Z"'#¤g&'#˜< #ƒÆ"'#6 #¦ï¢W#°N'#á"'#˜{ #…†¢XÀ ´ƒ°LÀ ´š^À ´±°MÀ ´ì°OÀ µ'°PÀ µj°N)(#‚Z'#’Õ'#ó&'#‚Z#›¹¢Y#¥Å'#ó&'#‚Z"'#á #¢æ¢Z#¨p'#‡&'#‚Z'#I"'#‚Z #‰ì #ˆ¢[À µä¥ÅÀ ¶¨p)(#‚Z'#’Õ '#ó&'#‚Z#±¢\+'#˜{*#Š·¢]+'#á*#°L¢^+'#6*#±€¢_#± #Š· #°L #±€¢`#Šƒ'#ó&'#‚Z'#I"'#‡&'#‚Z #‰Ð #‰º'#I"'#‡&'#‚Z #‰Ð #‰¼¢a#ˆ'#6¢b#ˆ'#‡&'#‚Z'#I"'#‚Z #‰ì #ˆ"'#…6 #„Ù'#I #ˆ"'#6 #ˆ#<$ŽŽ ¢cÀ ¶ƒŠ·À ¶š°LÀ ¶±±€À ¶Ç^À ¶ðŠƒÀ ·]UˆÀ ·nˆ"'#’Õ #‰ì"'#á #¢æ'#6#±¢d)(#‚Z'#’Õ '#±&'#‚Z'#›¹&'#‚Z#±‚¢e#±‚" #…†" #˜;" #¦ï¢f#¥Å'#ó&'#‚Z"'#á #¢æ¢g#¨p'#‡&'#‚Z'#I"'#‚Z #‰ì #ˆ¢hÀ ¸‡^À ¸ª¥ÅÀ ¸Ô¨p)(#‚Z'#’Õ '#ó&'#‚Z'#›¹&'#‚Z#±ƒ¢i +'#‚X&'#˜<*#±„¢j+'#6*#±€¢k+'#á*#°L¢l#±ƒ #±„ #°L #±€¢m#¥Å'#ó&'#‚Z"'#á #¢æ¢n#ˆ'#‡&'#‚Z'#I"'#‚Z #‰ì #ˆ"'#…6 #„Ù'#I #ˆ"'#6 #ˆ¢o#¨p'#‡&'#‚Z'#I"'#‚Z #‰ì #ˆ¢p#Šƒ'#ó&'#‚Z'#I"'#‡&'#‚Z #‰Ð #‰º'#I"'#‡&'#‚Z #‰Ð #‰¼¢q#ˆ'#6¢r À ¹_±„À ¹~±€À ¹”°LÀ ¹«^À ¹Ô¥ÅÀ ¹þˆÀ ºj¨pÀ º¤ŠƒÀ »Uˆ7)(#‚Z'#’Õ"'#‚Z #‰ì#±…¢s)(#‚Z'#’Õ '#‡&'#‚Z#±†¢t+'# *#±‡¢u+'#˜{*#Š·¢v+'#á*#°L¢w+'#~*#ˆ#¢x+'#6*#±€¢y#±† #Š· #°L'#I"'#‚Z #‰ì #ˆ #±€¢z#ˆ'#‚~¢{#±ˆ'#6¢|#ˆ'#I'#I"'#‚Z #‰ì #ˆ ¢}#„Ù'#I"'#…6 #ˆ!¢~#ˆ'#I'#I #ˆ"¢#ˆ$'#I"'#‚~ #ˆ%¢€#ˆ''#6¢#ˆ&'#I¢‚#±‰'#I¢ƒ#±Š'#I¢„#ˆ()(#ƒ˜'#‚~&'#ƒ˜"'#ƒ˜ #ˆ)¢…À »¸±‡À »ÎŠ·À »å°LÀ »üˆ#À ¼±€À ¼)^À ¼oˆÀ ¼„U±ˆÀ ¼•ˆÀ ¼Æ„ÙÀ ¼çˆÀ ½ ˆ$À ½/Uˆ'À ½@ˆ&À ½T±‰À ½h±ŠÀ ½|ˆ()(#‚Z'#’Õ'#ó&'#‚Z#±‹¢†#‚'#I"'#‚Z #‰ì¢‡À ¾Z‚)(#‚Z'#’Õ '#ó&'#‚Z'#±‹&'#‚Z#±Œ¢ˆ+'#Š—&'#‚Z*#±¢‰+'#á*#Œ2¢Š#±Œ"'#á #ŒX¢‹#ˆ'#‡&'#‚Z'#I"'#‚Z #‰ì #ˆ"'#…6 #„Ù'#I #ˆ"'#6 #ˆ¢Œ#Šƒ'#ó&'#‚Z'#I"'#‡&'#‚Z #‰Ð #‰º'#I"'#‡&'#‚Z #‰Ð #‰¼¢#ˆ'#6¢Ž#‚'#I"'#‚Z #‰ì¢À ¾¿±À ¾ÞŒ2À ¾õ^À ¿ˆÀ ¿|ŠƒÀ ¿éUˆÀ ¿ú‚ '#±Œ&'#±Ž'#±‹&'#±Ž#±¢#±"'#á #ŒX¢‘#‚'#I"'#±Ž #‰ì¢’À À|^À À—‚)(#‚Z#±¢“+'#Š—&'#‚Z*#Š³¢”+*#±‘¢• #±#Š¢–#ô'#ó&'#‚Z¢—#‚'#I"'#ó&'#‚Z #ô¢˜#…—'#I"'#ó&'#‚Z #ô¢™#ù'#I¢šÀ ÀÝŠ³À Àü±‘À Á ŠÀ ÁUôÀ Á8‚À Áa…—À ÁŠù)(#‚Z'#’Õ'#˜“&'#‚Z#¥¹¢›+*#±’¢œ +#¥¹ #±’¢#°M'#ó&'#‚Z"'#˜{ #ƒÆ"'#6 #¦ï¢ž#°O'#›¹&'#‚Z"'#˜< #ƒÆ"'#6 #¦ï¢Ÿ#°P'#›¹&'#‚Z"'#¤g&'#˜< #ƒÆ"'#6 #¦ï¢ #°N'#á"'#˜{ #…†¢¡#°L'#ᢢÀ Áÿ±’À Â^À Â'°MÀ Âb°OÀ °PÀ Âà°NÀ ÃU°L'#šü#±“¢£ +@+'#…f&'#á*#±”¢¤@+*#±•8&'#á$±–±—$±˜±™$±š±›$±œ±$±ž±Ÿ$± ±¡$±¢±£$±¤±¥$±¦±§$±¨±©$±ª±«$±¬±­$±®±¯$±°±±$±²±³$±´±µ$±¶±·$±¸±¹$±º±»$±¼±½$±¾±¿$±À±Á$±Â±Ã$±Ä±Å$±Æ±Ç$±È±É$±Ê±Ë$±Ì±Í$±Î±Ï$±Ð±Ñ$±Ò±Ó$±Ô±Õ$±Ö±×$±Ø±Ù$±Ú±Û$±Ü±Ý$±Þ±ß$±à±á$±â±ã$±ä±å$±æ±ç$±è±é$±ê±ë$±ì±í$±î±ï$±ð±ñ$±ò±ó$±ô±õ$±ö±÷$±ø±ù$±ú±û$±ü±ý$±þ±ÿ$²²$²²$²²$²²$²² $² +² $² ² $²²$²²$²²$²²$²²$²²$²²$²²$²²$² ²!$²"²#$²$²%$²&²'$²(²)$²*²+$²,²-$².²/$²0²1$²2²3$²4²5$²6²7$²8²9$²:²;$²<²=$²>²?$²@²A$²B²C$²D²E$²F²G$²H²I$²J²K$²L²M$²N²O$²P²Q$²R²S$²T²U$²V²W$²X²Y$²Z²[$²\²]$²^²_$²`²a$²b²c$²d²e$²f²g$²h²i$²j²k$²l²m$²n²o$²p²q$²r²s$²t²u$²v²w$²x²y$²z²{$²|²}$²~²$²€²$²‚²ƒ$²„²…$²†²‡$²ˆ²‰$²Š²‹$²Œ²$²Ž²$²²‘$²’²“$²”²•$²–²—$²˜²™$²š²›$²œ²$²ž²Ÿ$² ²¡$²¢²£$²¤²¥$²¦²§$²¨²©$²ª²«$²¬²­$²®²¯$²°²±$²²²³$²´²µ$²¶²·$²¸²¹$²º²»$²¼²½$²¾²¿$²À²Á$²Â²Ã$²Ä²Å$²Æ²Ç$²È²É$²Ê²Ë$²Ì²Í$²Î²Ï$²Ð²Ñ$²Ò²Ó$²Ô²Õ$²Ö²×$²Ø²Ù$²Ú²Û$²Ü²Ý$²Þ²ß$²à²á$²â²ã$²ä²å$²æ²ç$²è²é$²ê²ë$²ì²í$²î²ï$²ð²ñ$²ò²ó$²ô²õ$²ö²÷$²ø²ù$²ú²û$²ü²ý$²þ²ÿ$³³$³³$³³$³³$³³ $³ +³ $³ ³ $³³$³³$³³$³³$³³$³³$³³$³³$³³$³ ³!$³"³#$³$³%$³&³'$³(³)$³*³+$³,³-$³.³/$³0³1$³2³3$³4³5$³6³7$³8³9$³:³;$³<³=$³>³?$³@³A$³B³C$³D³E$³F³G$³H³I$³J³K$³L³M$³N³O$³P³Q$³R³S$³T³U$³V³W$³X³Y$³Z³[$³\³]$³^³_$³`³a$³b³c$³d³e$³f³g$³h³i$³j³k$³l³m$³n³o$³p³q$³r³s$³t³u$³v³w$³x³y$³z³{$³|³}$³~³$³€³$³‚³ƒ$³„³…$³†³‡$³ˆ³‰$³Š³‹$³Œ³$³Ž³$³³‘$³’³“$³”³•$³–³—$³˜³™$³š³›$³œ³$³ž³Ÿ$³ ³¡¢¥@+*#³¢8&'#á $³£³¤$³¥³¦$³§³¨$³©³ª$³«³¬$³­³®$³¯³°$³±³²$³³³´$³µ³¶$³·³¸$³¹³º¢¦+'#³»*#³¼¢§@+'#‚€&'#á'#…6*#³½¢¨#±“"'#³» #³¼¢©#³¾'#6"'#˜< #‚¢ª#³¿'#6"'#˜< #‚"'#á #ªC"'#á #J¢«@#³À'#6"'#˜< #‚"'#á #ªC"'#á #J"'#±“ #œ’¢¬@#³Á'#6"'#˜< #‚"'#á #ªC"'#á #J"'#±“ #œ’¢­ +À Ã]±”À Ã|±•À ȸ³¢À ɳ¼À É(³½À ÉM^À Ék³¾À ÉŒ³¿À ÉƳÀÀ Ê ³Á)(#ƒ˜'#1&'#ƒ˜#šf¢®#…Q'#…R&'#ƒ˜¢¯#‚'#I"'#ƒ˜ #J¢°#…Š'#I"'#‚X&'#ƒ˜ #…‹¢±#…'#I'# "'#ƒ˜ #ƒÎ"'#ƒ˜ #ƒ‡ #„‹¢²#'#I"'#ƒâ #…Ž¢³#…”'#I"'# #¥"'#ƒ˜ #‚¢´#…•'#I"'# #¥"'#‚X&'#ƒ˜ #…‹¢µ#…–'#I"'# #¥"'#‚X&'#ƒ˜ #…‹¢¶#…˜'#ƒ˜"'# #†Ä¢·#…™'#ƒ˜¢¸#…—'#6"'#‚e #‚ ¢¹#…š'#I'#6"'#ƒ˜ #‚ #…V¢º#…›'#I'#6"'#ƒ˜ #‚ #…V¢»#…'#I"'# #B"'# #C"'#‚X&'#ƒ˜ #…‹"'# #…ž¢¼#…Ÿ'#I"'# #B"'# #C¢½#…¢'#I"'# #B"'# #C"'#‚X&'#ƒ˜ #…‹¢¾#… '#I"'# #B"'# #C"'#ƒ˜ #…¡¢¿À ÊÅU…QÀ Êß‚À Êÿ…ŠÀ Ë(…À ËiÀ Ë…”À ˺…•À Ëï…–À Ì$…˜À ÌE…™À ÌZ…—À Ì{…šÀ ̬…›À ÌÝ…À Í-…ŸÀ ÍW…¢À Í–… #³Â¢À~@+'# *#³Ã¢Á@+'# *#³Ä¢Â@+'# *#³Å¢Ã@+'# *#³Æ ¢Ä@+'# *#³Ç ¢Å@+'# *#³È ¢Æ@+'# *#³É¢Ç@+'# *#³Ê¢È@+'# *#³Ë¢É@+'# *#³Ì¢Ê@+'# *#³Í¢Ë@+'# *#³Î¢Ì@+'# *#³Ï ¢Í@+'# *#³Ð!¢Î@+'# *#³Ñ"¢Ï@+'# *#³Ò#¢Ð@+'# *#³Ó$¢Ñ@+'# *#³Ô%¢Ò@+'# *#³Õ&¢Ó@+'# *#³Ö'¢Ô@+'# *#³×(¢Õ@+'# *#³Ø!¢Ö@+'# *#³Ù"¢×@+'# *#³Ú#¢Ø@+'# *#³Û$¢Ù@+'# *#³Ü%¢Ú@+'# *#³Ý&¢Û@+'# *#³Þ'¢Ü@+'# *#³ß(¢Ý@+'# *#³à,¢Þ@+'# *#³á-¢ß@+'# *#³â-¢à@+'# *#³ã.¢á@+'# *#³ä.¢â@+'# *#—°0¢ã@+'# *#–‡1¢ä@+'# *#³å2¢å@+'# *#³æ3¢æ@+'# *#³ç4¢ç@+'# *#³è5¢è@+'# *#³é6¢é@+'# *#³ê7¢ê@+'# *#³ë8¢ë@+'# *#³ì9¢ì@+'# *#³í;¢í@+'# *#³î=¢î@+'# *#³ï?¢ï@+'# *#ƒ’A¢ð@+'# *#³ðB¢ñ@+'# *#ƒ•C¢ò@+'# *#ƒD¢ó@+'# *#ƒ˜E¢ô@+'# *#ŒÇF¢õ@+'# *#ƒ›G¢ö@+'# *#³ñH¢÷@+'# *#ƒžI¢ø@+'# *#³òJ¢ù@+'# *#ƒ¡K¢ú@+'# *# L¢û@+'# *#‚lM¢ü@+'# *#ŸN¢ý@+'# *#³óO¢þ@+'# *#³ôP¢ÿ@+'# *#AQ£@+'# *#‚jR£@+'# *#‚]S£@+'# *#‚ZT£@+'# *#ŒqU£@+'# *#…¥V£@+'# *#³õW£@+'# *#ƒ„X£@+'# *#³öY£@+'# *#³÷Z£ @+'# *#¥ù[£ +@+'# *#³ø[£ @+'# *#³ù\£ @+'# *#³ú]£ @+'# *#³û`£@+'# *#³üa£@+'# *#³ýb£@+'# *#³þc£@+'# *#³ÿd£@+'# *#´e£@+'# *#´f£@+'# *#´g£@+'# *#´h£@+'# *#´i£@+'# *#´j£@+'# *#´k£@+'# *#´m£@+'# *#´n£@+'# *#´ o£@+'# *#´ +p£@+'# *#´ q£@+'# *#´ r£@+'# *#´ s£ @+'# *#´t£!@+'# *#´u£"@+'# *#´v£#@+'# *#´w£$@+'# *#´x£%@+'# *#´y£&@+'# *#´z£'@+'# *#´{£(@+'# *#´£)@+'# *#´‘£*@+'# *#´¦£+@+'# *#´·£,@+'# *#´º£-@+'# *#´½£.@+'# *#´»£/@+'# *#´¼£0@+'# *#´¾£1@+'# *#´¿£2@+'# *#´ À£3@+'# *#´!À£4@+'# *#´"Þ£5@+'# *#´#Û£6@+'# *#´$Ü£7@+'# *#´%Ý£8@+'# *#´&à£9@+'# *#´'à£:@+'# *#´(å£;@+'# *#¤ÌOO£<@#´)'#6"'# #¨«£=@#´*'#á"'# #¨«£>~À ÎW³ÃÀ Îo³ÄÀ ·³ÅÀ Ο³ÆÀ η³ÇÀ ÎϳÈÀ Îç³ÉÀ Îÿ³ÊÀ ϳËÀ Ï/³ÌÀ ÏG³ÍÀ Ï_³ÎÀ Ïw³ÏÀ ϳÐÀ ϧ³ÑÀ Ï¿³ÒÀ Ï׳ÓÀ Ïï³ÔÀ гÕÀ гÖÀ Ð7³×À ÐO³ØÀ Ðg³ÙÀ гÚÀ З³ÛÀ Я³ÜÀ ÐdzÝÀ Ðß³ÞÀ Ð÷³ßÀ ѳàÀ Ñ'³áÀ Ñ?³âÀ ÑW³ãÀ Ño³äÀ ч—°À ÑŸ–‡À Ñ·³åÀ ÑϳæÀ Ñç³çÀ Ñÿ³èÀ Ò³éÀ Ò/³êÀ ÒG³ëÀ Ò_³ìÀ Òw³íÀ Ò³îÀ Ò§³ïÀ Ò¿ƒ’À Ò׳ðÀ ÒÀ ÓƒÀ Óƒ˜À Ó7ŒÇÀ ÓOƒ›À Óg³ñÀ ÓƒžÀ Ó—³òÀ Ó¯ƒ¡À ÓÇ À Óß‚lÀ Ó÷ŸÀ Ô³óÀ Ô'³ôÀ Ô?AÀ ÔW‚jÀ Ôo‚]À Ô‡‚ZÀ ÔŸŒqÀ Ô·…¥À ÔϳõÀ Ô烄À Ôÿ³öÀ Õ³÷À Õ/¥ùÀ ÕG³øÀ Õ_³ùÀ Õw³úÀ Õ³ûÀ Õ§³üÀ Õ¿³ýÀ Õ׳þÀ Õï³ÿÀ Ö´À Ö´À Ö7´À ÖO´À Ög´À Ö´À Ö—´À Ö¯´À ÖÇ´À Öß´ À Ö÷´ +À ×´ À ×'´ À ×?´ À ×W´À ×o´À ׇ´À ן´À ×·´À ×Ï´À ×ç´À ×ÿ´À Ø´À Ø/´À ØG´À Ø_´À Øw´À Ø´À ا´À Ø¿´À Ø×´À Øï´À Ù´ À Ù´!À Ù7´"À ÙO´#À Ùg´$À Ù´%À Ù—´&À Ù¯´'À ÙÇ´(À ÙߤÌÀ Ùù´)À Ú´*#´+£?@+'# *#´,£@@+'# *#³Ô£A@+'# *#³Ö£B@+'# *#´-£C@+'# *#´.£D@+'# *#´/£EÀ Þ8´,À ÞP³ÔÀ Þh³ÖÀ Þ€´-À Þ˜´.À Þ°´/#´0£F€•@+'#á*#´1$´2´3£G@+'#á*#´4$´5´6£H@+'#á*#´7$´8´9£I@+'#á*#´:$´;´<£J@+'#á*#´=$´>´?£K@+'#á*#³Ë$´@´A£L@+'#á*#´B$´C´D£M@+'#á*#´E$´F´G£N@+'#á*#´H$´I´J£O@+'#á*#´K$´L´M£P@+'#á*#´N$´O´P£Q@+'#á*#´Q$´R´S£R@+'#á*#´T$´U´V£S@+'#á*#´W$´X´Y£T@+'#á*#´Z$´[´\£U@+'#á*#´]$´^´_£V@+'#á*#´`$´a´b£W@+'#á*#³Í$´c´d£X@+'#á*#´e$´f´g£Y@+'#á*#´h$´i´j£Z@+'#á*#´k$´l´m£[@+'#á*#´n$´o´p£\@+'#á*#´q$´r´s£]@+'#á*#´t$´u´v£^@+'#á*#´w$´x´y£_@+'#á*#´z$´{´|£`@+'#á*#´}$´~´£a@+'#á*#´€$´´‚£b@+'#á*#³×$´ƒ´„£c@+'#á*#´…$´†´‡£d@+'#á*#´ˆ$´‰´Š£e@+'#á*#´‹$´Œ´£f@+'#á*#³Ò$´Ž´£g@+'#á*#³È$´´‘£h@+'#á*#´’$´“´”£i@+'#á*#´•$´–´—£j@+'#á*#´˜$´™´š£k@+'#á*#´›$´œ´£l@+'#á*#´ +$´ž´ +£m@+'#á*#´ $´Ÿ´ £n@+'#á*#´ $´ ´ £o@+'#á*#´ $´¡´ £p@+'#á*#´$´¢´£q@+'#á*#´$´£´£r@+'#á*#´$´¤´£s@+'#á*#´$´¥´£t@+'#á*#´$´¦´£u@+'#á*#´$´§´£v@+'#á*#´$´¨´£w@+'#á*#´$´©´£x@+'#á*#´ª$´«´ª£y@+'#á*#´¬$´­´¬£z@+'#á*#´®$´¯´®£{@+'#á*#´°$´±´°£|@+'#á*#´²$´³´²£}@+'#á*#´´$´µ´´£~@+'#á*#´¶$´·´¶£@+'#á*#´¸$´¹´¸£€@+'#á*#´º$´»´º£@+'#á*#´¼$´½´¼£‚@+'#á*#´¾$´¿´¾£ƒ@+'#á*#´À$´Á´À£„@+'#á*#´Â$´Ã´Ä£…@+'#á*#´Å$´Æ´Ç£†@+'#á*#´È$´É´Ê£‡@+'#á*#´Ë$´Ì´Í£ˆ@+'#á*#´Î$´Ï´Ð£‰@+'#á*#´Ñ$´Ò´Ó£Š@+'#á*#´Ô$´Õ´Ö£‹@+'#á*#´×$´Ø´Ù£Œ@+'#á*#³Ó$´Ú´Û£@+'#á*#³á$´Ü´Ý£Ž@+'#á*#´Þ$´ß´à£@+'#á*#´á$´â´ã£@+'#á*#´ä$´å´æ£‘@+'#á*#´ç$´è´é£’@+'#á*#´ê$´ë´ì£“@+'#á*#´í$´î´ï£”@+'#á*#´ð$´ñ´ò£•@+'#á*#´ó$´ô´õ£–@+'#á*#´ö$´÷´ø£—@+'#á*#´ù$´ú´û£˜@+'#á*#³Ô$´ü´ý£™@+'#á*#´þ$´ÿµ£š@+'#á*#¥ù$µµ£›@+'#á*#µ$µµ£œ@+'#á*#µ$µµ£@+'#á*#µ $µ +µ £ž@+'#á*#µ $µ µ£Ÿ@+'#á*#µ$µµ£ @+'#á*#µ$µµ£¡@+'#á*#µ$µµ£¢@+'#á*#µ$µµ££@+'#á*#³Ñ$µµ£¤@+'#á*#³Ð$µµ£¥@+'#á*#µ$µ µ!£¦@+'#á*#³Ì$µ"µ#£§@+'#á*#µ$$µ%µ&£¨@+'#á*#µ'$µ(µ)£©@+'#á*#µ*$µ+µ,£ª@+'#á*#³à$µ-µ.£«@+'#á*#µ/$µ0µ1£¬@+'#á*#µ2$µ3µ4£­@+'#á*#³Ö$µ5µ6£®@+'#á*#µ7$µ8µ9£¯@+'#á*#µ:$µ;µ<£°@+'#á*#µ=$µ>µ?£±@+'#á*#µ@$µAµB£²@+'#á*#µC$µDµE£³@+'#á*#³É$µFµG£´@+'#á*#µH$µIµJ£µ@+'#á*#µK$µLµM£¶@+'#á*#µN$µOµP£·@+'#á*#µQ$µRµS£¸@+'#á*#µT$µUµV£¹@+'#á*#µW$µXµY£º@+'#á*#µZ$µ[µ\£»@+'#á*#³Õ$µ]µ^£¼@+'#á*#µ_$µ`µa£½@+'#á*#µb$µcµd£¾@+'#á*#µe$µfµg£¿@+'#á*#µh$µiµj£À@+'#á*#µk$µlµm£Á@+'#á*#µn$µoµp£Â@+'#á*#µq$µrµs£Ã@+'#á*#µt$µuµv£Ä@+'#á*#³Å$µwµx£Å@+'#á*#³Æ$µyµz£Æ@+'#á*#µ{$µ|µ}£Ç@+'#á*#³Î$µ~µ£È@+'#á*#µ€$µµ‚£É@+'#á*#µƒ$µ„µ…£Ê@+'#á*#µ†$µ‡µˆ£Ë@+'#á*#µ‰$µŠµ‹£Ì@+'#á*#µŒ$µµŽ£Í@+'#á*#µ$µµ‘£Î@+'#á*#µ’$µ“µ”£Ï@+'#á*#µ•$µ–µ—£Ð@+'#á*#µ˜$µ™µš£Ñ@+'#á*#µ›$µœµ£Ò@+'#á*#µž$µŸµ £Ó@+'#á*#µ¡$µ¢µ££Ô@+'#á*#µ¤$µ¥µ¦£Õ@+'#á*#µ§$µ¨µ©£Ö@+'#á*#µª$µ«µ¬£×@+'#á*#µ­$µ®µ¯£Ø@+'#á*#µ°$µ±µ²£Ù@+'#á*#µ³$µ´µµ£Ú@+'#á*#µ¶$µ·µ¸£Û€•À ß ´1À ß%´4À ßA´7À ß]´:À ßy´=À ß•³ËÀ ß±´BÀ ßÍ´EÀ ßé´HÀ à´KÀ à!´NÀ à=´QÀ àY´TÀ àu´WÀ à‘´ZÀ à­´]À àÉ´`À àå³ÍÀ á´eÀ á´hÀ á9´kÀ áU´nÀ áq´qÀ á´tÀ á©´wÀ áÅ´zÀ áá´}À áý´€À â³×À â5´…À âQ´ˆÀ âm´‹À ≳ÒÀ ⥳ÈÀ âÁ´’À âÝ´•À âù´˜À ã´›À ã1´ +À ãM´ À ãi´ À ã…´ À ã¡´À ã½´À ãÙ´À ãõ´À ä´À ä-´À äI´À äe´À ä´ªÀ ä´¬À ä¹´®À äÕ´°À äñ´²À å ´´À å)´¶À åE´¸À åa´ºÀ å}´¼À å™´¾À åµ´ÀÀ åÑ´ÂÀ åí´ÅÀ æ ´ÈÀ æ%´ËÀ æA´ÎÀ æ]´ÑÀ æy´ÔÀ æ•´×À æ±³ÓÀ æͳáÀ æé´ÞÀ ç´áÀ ç!´äÀ ç=´çÀ çY´êÀ çu´íÀ ç‘´ðÀ ç­´óÀ çÉ´öÀ çå´ùÀ è³ÔÀ è´þÀ è9¥ùÀ èUµÀ èqµÀ èµ À 詵 À èŵÀ èáµÀ èýµÀ éµÀ é5³ÑÀ éQ³ÐÀ émµÀ 鉳ÌÀ 饵$À éÁµ'À éݵ*À éù³àÀ êµ/À ê1µ2À êM³ÖÀ êiµ7À ê…µ:À ꡵=À ê½µ@À êÙµCÀ êõ³ÉÀ ëµHÀ ë-µKÀ ëIµNÀ ëeµQÀ ëµTÀ ëµWÀ ë¹µZÀ ëÕ³ÕÀ ëñµ_À ì µbÀ ì)µeÀ ìEµhÀ ìaµkÀ ì}µnÀ 왵qÀ ìµµtÀ ìѳÅÀ ìí³ÆÀ í µ{À í%³ÎÀ íAµ€À í]µƒÀ íyµ†À 핵‰À í±µŒÀ í͵À íéµ’À À î!µ˜À î=µ›À îYµžÀ îuµ¡À ¤À î­µ§À îɵªÀ îåµ­À ïµ°À ïµ³À ï9µ¶ '#˜“&'#±Ž#µ¹£Ü+'#1&'#±Ž*#µº£Ý+'#á*#Œ2£Þ+'#˜{*#Š·£ß@+'# *#µ»£à+'#±*#ŠŽ£á@+*#µ¼$µ½±Ž£â@+'#‚€&'#á'# *#µ¾AB$µ¿µ^ #³Â#³ÕB$µÀ´„ #³Â#³×B$µÁ´ý #³Â#³ÔB$µÂµ6 #³Â#³ÖB$µÃ´‘ #³Â#³ÈB$µÄ´ + #³Â#´ +B$µÅ´ #³Â#´ B$µÆ´ #³Â#´ B$µÇ´ #³Â#´ B$µÈ´ #³Â#´B$µÉ´ #³Â#´B$µÊ´ #³Â#´B$µË´ #³Â#´B$µÌ´ #³Â#´B$µÍ´ #³Â#´B$µÎ´ #³Â#´B$µÏ´ #³Â#´B$µÐµÑ #³Â#³ãB$µÒ´Û #³Â#³ÓB$µÓ´ #³Â#³ÒB$µÔµ #³Â#³ÐB$µÕµ #³Â#³ÑB$µÖ´Ý #³Â#³á£ã#°M'#±‹&'#±Ž"'#˜{ #ƒÆ"'#6 #¦ï£ä#µ¹ #Œ2£å!#µ¹#µ× #Œ2 #Š·£æ#µØ'#6£ç#µÙ'# "'#›I #‰ì£è#µÚ'# "'#›I #‰ì£é#µÛ'#6"'#±Ž #‰ì£ê#µÜ'# "'#›I #‰ì£ë#µÝ'#I"'#›I #ƒÆ£ì#µÞ'#I"'#›I #‰ì£í#µß'#I"'#›I #‰ì£îÀ ôµºÀ ô;Œ2À ôRŠ·À ôiµ»À ôŠŽÀ ô–µ¼À ô¬µ¾À õÿ°MÀ ö:^À öQµ×À ötUµØÀ ö…µÙÀ ö¦µÚÀ öǵÛÀ öèµÜÀ ÷ µÝÀ ÷*µÞÀ ÷Kµß#µà£ï@#›Ñ'#±‹&'#±Ž"'#˜{ #…†£ð@#›Ò'#±‹&'#±Ž"'#˜{ #…†£ñ@#›Ð'#±‹&'#±Ž"'#˜{ #…†£òÀ ø›ÑÀ ø*›ÒÀ øT›Ð'#šü#¥Ñ£ó+'#1&'#šü*#µá£ô#¥Ñ£õ #¥Ñ#µâ£ö#µã'#I"'#³» #³¼£÷#µä'#I"'#³» #³¼£ø#µå'#I£ù#µæ'#I"'#á #¤l£ú#µç'#I"'#³» #³¼£û#µè'#I£ü#µé'#I"'#á #¤l"'#³» #³¼"'#‚X&'#á #ŸK"'#‚X&'#á #µê£ý#µë'#I"'#á #¤l"'#á #µì"'#³» #³¼"'#‚X&'#á #ŸK"'#‚X&'#á #µê£þ#µí'#I"'#á #¤l"'#³» #³¼"'#‚X&'#á #ŸK"'#‚X&'#á #µê£ÿ#µî'#I¤#‚'#I"'#šü #šý¤#³¾'#6"'#˜< #‚¤#³¿'#6"'#˜< #‚"'#á #ªC"'#á #J¤À ø«µáÀ øÉ^À ø×µâÀ øèµãÀ ù µäÀ ù0µåÀ ùDµæÀ ùhµçÀ ùŒµèÀ ù µéÀ úµëÀ úoµíÀ úеîÀ úä‚À û³¾À û&³¿'#šü#µï¤ ++'#…f&'#á*#µð¤+'#…f&'#á*#µñ¤+'#…f&'#á*#µò¤+'#³»*#³¼¤0#µï#µã"'#³» #³¼¤ 0#µï#µä"'#³» #³¼¤ +0#µï#µå¤ #µï #³¼"'#‚X&'#á #µð"'#‚X&'#á #µñ"'#‚X&'#á #µò¤ #³¾'#6"'#˜< #‚¤ #³¿'#6"'#˜< #‚"'#á #ªC"'#á #J¤ +À ûèµðÀ üµñÀ ü&µòÀ üE³¼À ü\µãÀ üzµäÀ ü˜µåÀ ü©^À ý³¾À ý)³¿ '#µï#µó¤+'#6*#µô¤+'#6*#µõ¤#µó"'#³» #³¼"'#‚X&'#á #µð"'#‚X&'#á #µñ"'#‚X&'#á #µò"'#6 #µô"'#6 #µõ¤#³¾'#6"'#˜< #‚¤#³¿'#6"'#˜< #‚"'#á #ªC"'#á #J¤À ýõôÀ ýÙµõÀ ýï^À þa³¾À þ‚³¿ '#µï#µö¤@+*#µ÷8&'#á$µøò$µùµú$µû‡ $µü¨¶$µýµþ¤+'#…f&'#á*#µÿ¤#µö¤#³¿'#6"'#˜< #‚"'#á #ªC"'#á #J¤À þ÷µ÷À ÿ-µÿÀ ÿL^À ÿZ³¿'#šü#¶¤#³¾'#6"'#˜< #‚¤#³¿'#6"'#˜< #‚"'#á #ªC"'#á #J¤À ÿɳ¾À ÿ곿#¶¤@+'#á*#§1$¶§]¤@+'#á*#¶$¶¶¤@+'#á*#¶$¶Š ¤ À B§1À ^¶À z¶)(#ƒ˜'#‰V '#ˆ‘&'#ƒ˜'#˜=#¶¤!+'#1&'#‰V*#£¤"#¶ #£¤##…Q'#…R&'#ƒ˜¤$#'# ¤%#‚'#I"'#ƒ˜ #‚¤&#…—'#6"'#‚e #‚¤'#…“'#I¤(#¤'#ƒ˜"'# #¥¤)#…5'#I"'# #¥"'#ƒ˜ #J¤* #"'# #…‰¤+#…'#I'# "'#ƒ˜ #ƒÎ"'#ƒ˜ #ƒ‡ #„‹¤,#…'# "'#‚e #‚"'# #B¤-#…’'# "'#‚e #‚"'# #B¤.#…”'#I"'# #¥"'#ƒ˜ #‚¤/#…˜'#ƒ˜"'# #¥¤0#…'#I"'# #B"'# #C"'#‚X&'#ƒ˜ #…‹"'# #…ž¤1#…Ÿ'#I"'# #B"'# #C¤2#…¢'#I"'# #B"'# #C"'#‚X&'#ƒ˜ #…‹¤3#… '#I"'# #B"'# #C"'#ƒ˜ #…¡¤4#˜B'#1&'#‰V¤5À ã£À ^À U…QÀ 2UÀ B‚À c…—À „…“À ˜¤À ¹…5À åVÀ ÿ…À @…À q…’À  …”À Í…˜À î…À >…ŸÀ h…¢À §… À áU˜B)(#ƒ˜'#‰V'#…R&'#ƒ˜#¶ ¤6+'#…R&'#‰V*#ˆg¤7#¶  #ˆg¤8#…z'#6¤9#…{'#ƒ˜¤:À ²ˆgÀ Ñ^À è…zÀ üU…{#¶ +¤;@#˜Â'#§ú"'#á #…"'#§ú #˜¼ #™ "'#6 #¦á¤<À :˜Â)(#‚Z'#…R&'#‚Z#¶ ¤=+'#1&'#‚Z*#¶ ¤>+'# *#ˆ2¤?+'# *#† ¤@+'#‚Z*#ˆa¤A#¶ "'#1&'#‚Z #ŽÃ¤B#…z'#6¤C#…{'#‚Z¤DÀ ¯¶ À ͈2À ㆠÀ ùˆaÀ ^À 2…zÀ FU…{)(#‚Z'#…R&'#‚Z#¶ ¤E+'#1&'#‚Z*#¶ ¤F+'# *#† ¤G+'#‚Z*#ˆa¤H#¶ "'#1&'#‚Z #ŽÃ¤I#…z'#6¤J#…{'#‚Z¤KÀ ´¶ À Ò† À èˆaÀ ÿ^À !…zÀ 5U…{#¯°¤L*#¯°#¶¤M@+'#¯°*#¶' #¯°#¶¤N#¶'#6¤O#«t'#©¢¤P#¶'#I"'#6 #r"'#‚e #‹:¤Q#…“'#I"'#‚e #‹:¤R#‚%'#I"'#‚e #‹:¤S#¶'#I"'#á #‹:¤T#¶'#I"'#‚e #‹:¤U#¦9'#I"'#‚e #."'#‚e #„d¤V#¶'#I"'#‚e #‹:¤W#‚f'#I"'#‚e #‹:¤X#…Î'#I"'#‚e #‹:¤Y#¶'#I"'#‚e #‹:¤Z#¶'#I¤[#¶'#I"'#‚e #‹:¤\#ƒÚ'#I"'#‚e #‹:¤]#‘ƒ'#I"'#‚e #¶"'#1&'#á #¶¤^#‹í'#I"'#á #Œ ¤_#¶'#I"'#á #Œ ¤`#¶'#I"'#á #Œ "'#‚e #‹:¤a#¶'#I"'#‚e #‹:¤b#¶'#I"'#‚e #‹:¤c#¶'#I"'#á #ž¶¤d#¶'#I"'#á #ž¶¤e#¦×'#I"'#‚e #‹:¤f#¶ '#I"'#‚e #‹:¤gÀ ƒ¶À ”¶À »U¶À ÌU«tÀ Þ¶À …“À 5‚%À Y¶À }¶À ž¦9À Ò¶À ó‚fÀ …ÎÀ 5¶À V¶À j¶À ‹ƒÚÀ ¬‘ƒÀ ç‹íÀ + ¶À +/¶À +c¶À +„¶À +¥¶À +ɶÀ +í¦×À ¶ " #¶!'#£Ã#¶"¤h" #ƒÆ'#˜{#¶#¤i" #ƒÆ'#˜{#¶$¤j" #‚c#¶%¤k" #ŽŒ" #‘#¶&¤l" #…#¶'¤m" #…#¶(¤n" #…" #à" #¥¶" #‰_#¶)¤o" #‚O#¶*¤p" #‚O#¶+¤q"'#˜< #‚"'#á #¤k"'#á #¶,'#I#¶-¤r" #œ’" #Â"'#á #‘"'#‚€ #„d'#…6#¶.¤s"'#˜< #ƒÆ'#I#¶/¤t'#§ì#¶0¤u+*#¶1¤v+*#¶2¤w+*#¶3¤x#¶0"'#£­ #Â"'#…> #ŒX"'#á #¤k¤y#¶4'#˜<"'#˜< #‚¤zÀ ȶ1À Ù¶2À ê¶3À û^À 0¶4'#£Ã#¶5¤{+*#¶6¤|#¯Ö'#§Ò¤}#“õ'#¨Ó¤~#©4'#6¤#¯ß'#£Ã¤€#‹C'#£Ã¤#ƒê'#£Ã¤‚#ù'#I¤ƒ#Ÿ'#I""#„W"'#á #°"'#1 #©°¤„#¶5 #¶6¤…@#¶7'#£Ã" #i¤†#¦'#¦é¤‡#¦ñ'#I"'#á #ŒX"'#~ #ŠW"'#6 #¦ï¤ˆ#¦î'#I"'#á #ŒX"'#~ #ŠW"'#6 #¦ï¤‰#¦ó'#6"'#’Õ #‰ì¤Š#¦ô'#I"'#á #ŒX"'#~ #ŠW"'#6 #¦ï¤‹#¦ð'#I"'#á #ŒX"'#~ #ŠW"'#6 #¦ï¤ŒÀ ¶6À  U¯ÖÀ ²U“õÀ ÄU©4À ÕU¯ßÀ çU‹CÀ ùUƒêÀ  ùÀ ŸÀ V^À m¶7À ˆU¦À š¦ñÀ צîÀ ¦óÀ 5¦ôÀ r¦ð'#¨Ó#¶8¤+*#¯¢¤Ž #™4"'#á #­¤@#¶9'#I" #“õ" #­¤#¶8 #¯¢¤‘@#¶7'#¨Ó" #“õ¤’À >¯¢À OV™4À k¶9À ^À ¤¶7'#§Ò#¶:¤“+*#¶;¤”#§Ù'#I¤•#§Ú'#I¤–#§Û'#I"'# #šF¤—#¶: #¶;¤˜@#¶7'#§Ò" #ŸÚ¤™À û¶;À  §ÙÀ  §ÚÀ 4§ÛÀ T^À k¶7 '#°I'#›I#±Ž¤š++'#›I*#ŒF¤›+'#6*#¶<¤œ+'# *#¶=¤+'# *#¶>¤ž#¨«'# ¤Ÿ#‚Ù'# ¤ #¨¦'#6¤¡#¨¬'# ¤¢#¶?'# ¤£#¶@'# ¤¤#¶A'#6¤¥+'#˜{*#¶B¤¦#®ß'#¨S¤§@+*#¶C¤¨@#¶D¤©!#±Ž#®}"'#›I #‹C¤ª#±Ž "'#á #ŒX"'#¿ #?"'#6 # "'#6 # "'# #¨«"'# #‚Ù"'# #“õ"'#6 #¨¥"'#6 #¨¦"'#6 #¨§"'#6 #¨¨"'#˜{ #¦Ë¤«P#¶E'#6¤¬#¦Ë'#˜{¤­@#¶F'#á"'# #‚Ù"'# #¨«¤®@+'#˜“&'#±Ž*#›J¤¯@+'#˜“&'#±Ž*#›P¤°@+'#˜“&'#±Ž*#›M¤±#†'#ᤲ#¨¥'#6¤³#£'# ¤´#¨³'#6¤µ#‚¦'#ᤶ#“õ'# ¤·#¨¨'#6¤¸#¨§'#6¤¹#?'#£Ã¤º#®ä'#I"'#á #ŒX"'#6 # "'#6 # "'#¿ #?"'# #£¤»#¶G'#᤼#¨±'# ¤½#¨´'# ¤¾#®â'# ¤¿#µ¾'#á¤À#¨©'#I +"'#á #ŒX"'#6 # "'#6 # "'#¿ #?"'#á #¨ª"'# #“õ"'#6 #¨¥"'#6 #¨¦"'#6 #¨§"'#6 #¨¨¤Á#¨·'#6"'#á #¶H¤Â#¨¶'#6¤Ã#¶I'#6¤Ä#®à'#‚¨¤Å+À ÐŒFÀ ç¶<À ý¶=À ¶>À )U¨«À :U‚ÙÀ KU¨¦À \U¨¬À mU¶?À ~U¶@À U¶AÀ  ¶BÀ ·U®ßÀ ɶCÀ Ú¶DÀ é®}À ^À ÚU¶EÀ ëU¦ËÀ ý¶FÀ *›JÀ I›PÀ h›MÀ ‡U†À ™U¨¥À ªU£À »U¨³À ÌU‚¦À ÞU“õÀ ïU¨¨À U¨§À U?À "®äÀ sU¶GÀ …U¨±À –U¨´À §U®âÀ ¸Uµ¾À ʨ©À X¨·À yU¨¶À ŠU¶IÀ ›U®à#¶J¤Æ@+'#6*#¶K¤Ç@+*#¶L¤ÈÀ ñ¶KÀ ¶L'#’Õ#°I¤É+'#’Õ*#¶M¤Ê+'#á*#¦Å¤Ë#°I #¶M¤Ì# '#6¤Í# '#6¤Î#¦Ê'#6¤Ï#¦Ë'#˜{¤Ð#¦Ð'#6¤Ñ#¦Ñ'# ¤Ò#¦Ò'#6¤Ó#…†'#˜{¤Ô#¦×'#4¤Õ#ŒX'#á¤Ö#¦Ù'#I"'#á #ŒX"'#6 # "'#6 # ¤×#¦Ü'#I¤Ø#¦Ý'#I¤Ù#¦Þ'#I¤Ú#¦Ø'#1&'#˜{¤Û#¦Æ'#˜<¤Ü#†D'#1&'#‰V¤Ý#¦Ì'#‚¨¤Þ#¦Ó'#‚¨¤ßÀ @¶MÀ W¦ÅÀ n^À …U À –U À §U¦ÊÀ ¸U¦ËÀ ÊU¦ÐÀ ÛU¦ÑÀ ìU¦ÒÀ ýU…†À U¦×À  UŒXÀ 2¦ÙÀ q¦ÜÀ …¦ÝÀ ™¦ÞÀ ­¦ØÀ ÉU¦ÆÀ ÛU†DÀ ôU¦ÌÀ U¦Ó)(#‚Z"'#I"'#‚Z #‚O'#I"'#‚Z#¶N¤à)(#‹<(#‹="'#I"'#‹<"'#‹= #‚O'#I"'#‹<"'#‹=#¶O¤á"'#á #¤R'#˜<#¤Q¤â)(#‚Z'#˜<"'#á #¤R'#¤g&'#‚Z#¤U¤ã#§ì¤ä#¶4'#˜<"'#˜< #‚¤åÀ Ó¶4#šü¤æ#šü"'#³» #³¼¤ç0#šü#¶P"'#šü #†@¤è#³¾'#6"'#˜< #‚¤é#³¿'#6"'#˜< #‚"'#á #ªC"'#á #J¤êÀ  ^À *¶PÀ H³¾À i³¿#šþ¤ë#šþ"'#šü #šý¤ì#¶Q'#I"'#‰V #ˆ¤¤í@+*#¶R'#¶S¤îÀ Î^À é¶QÀ  +¶R'#šþ#¶S¤ï +#¶S¤ð#¶Q"'#‰V #ˆ¤¤ñÀ T^À b¶Q#³»¤ò#³»¤ó#¶T'#6"'#á #†k¤ôÀ ›^À ©¶T'#³»#¶U¤õ+'#ž&*#¶V¤ö+'#¨Ô*#¶W¤÷#¶T'#6"'#á #†k¤øÀ ï¶VÀ ¶WÀ ¶T'#šü#¶X¤ù+'#šü*#šý¤ú#¶X #šý¤û#³¾'#6"'#˜< #‚¤ü#³¿'#6"'#˜< #‚"'#á #ªC"'#á #J¤ýÀ mšýÀ „^À ›³¾À ¼³¿'#šþ#¥Ó¤þ+'#šü*#šý¤ÿ+'# *#¶Y¥#¥Ó #šý¥#¶Q'#I"'#‰V #ˆ¤¥#¶Z'#I"'#‰V #ˆ¤"'#‰V #‹C¥#¶['#I" #‚"'#‰V #‹C¥#¶\'#I"'#˜< #‚"'#‰V #‹C"'#6 #¶]"'#á #‚–"'#á #‘"'#‚€ #¶^"'#á #¶_¥#¶`'#I"'#‰V #ˆ¤"'#‰V #‹C¥À *šýÀ A¶YÀ W^À n¶QÀ ¶ZÀ ½¶[À å¶\À !S¶`ÀÍ‚åÀÏ09ÀÀÏC9ÂÀÏVÃÀωÄÀÏþÀÐ7ËÀÐR9ÍÀÐeÏÀÑÀÑÔÀÑšÀѵ×ÀÒ1ÀÒGÙÀÒøÀÓ%ÛÀݺÀàÁ÷ÀâÀâYž"ÀâïÀãž&Àæ’Àç’ž3Àê«Àëwž9ÀëñÀì žIÀíÇÀî>žEÀï +ÀïIžSÀð Àð6žWÀðúÀñ#ž;ÀñjÀñxž[ÀñÛÀñéž_ÀõýÀöÏž‡À÷¸À÷ÀûÀüžÀýAÀýcž”Àý»ÀýО˜ÀþÀþ$ž“ÀþxÀþ†žŸÀþÙÀþ힣ÀÿÀÿšž¢À,ÀGž§ÀàÀûž«ÀBÀPž®ÀÀ5ž°ÀÀDžªÀÖÀñž¼À¬ÀΞ¿ÀÀ)žÂÀ«ÀÆžÅÀwÀ§žÈÀ&ÀIžÍÀ>ÀnžÒÀÑÀæžÕÀ + À +^7žßÀ +}žàÀ !À BžãÀ ÝÀ žëÀ ÍÀ þžòÀƒÀZŸÀaÀ™ŸÀòÀŸÀþÀÔŸ,ÀÀŸ/ÀñÀŸ3ÀÀ=Ÿ;À™À®’ƒÀñÀŒŸdÀïÀýŸhÀ SÀ a“uÀ ‚À ŠŸ[À5ÛÀ8êŸöÀ:¶À;ŸõÀ;ŠÀ;¦ À<_À<‰ À=RÀ=u  +À>&À>H À?À?M À?žÀ?« ÀAÀA@ ÀB!ÀBQ #ÀBèÀBý %ÀC¶ÀCî .ÀDHÀD] 0ÀDÅÀDÚ 5ÀE¤ÀEΠ;ÀF°ÀFÓ EÀG`ÀGƒ JÀL[ÀMO sÀM²ÀMÇ wÀNÀN zÀNcÀNq vÀO*ÀOF ‡ÀO³ÀOÏ ÀP<ÀPX “ÀPÎÀPê —ÀR ÀRD œÀRÜÀRü ¡ÀSÉÀSò ¦ÀT9ÀTG ©ÀT¯ÀTÄ ¯ÀUÆÀU÷ µÀVmÀV‰ ¹ÀWÀW? ¼ÀXÀX@ †ÀX‡ÀX• ÁÀZ ÀZZ rÀ[ýÀ\ ÔÀ]·À]ö ×À^ÓÀ_ ~À‘zÀœ¡èÀ¦…À©' ÜÀæ>Àù¢ßÀùxÀù” ’ÀúøÀû0 ›Àû”Àû¢¢êÀûÖÀûÝ  Àü>ÀüS¢ðÀý8Àýn¢öÀþ¦Àþå PÀÿÑÀ¢ûÀmÀ¢ÿÀÛÀð£À7ÀE£ÀÃÀÞ7£ À÷£ +ÀÀA£ÀèÀ'£ÀzÀŽ£ÀÀ£!ÀùÀ  ÀáÀ B£1À + À +5£,À ŽÀ Ì7£=À ë7œÃÀ +7œÁÀ )£?À5Àš£WÀŒÀ±£bÀXÀm£eÀÙÀõ£iÀ¦ÀÏ£lÀ^À‡£pÀÀ%£sÀ´ÀÝ£uÀGÀ`£wÀJÀ£~ÀjÀ¡£}ÀÀ*£„À#Àb£‰ÀöÀ‰£ŽÀ!À6£ªÀ‰À£­À8nÀ= ›À@iÀ@õ¤~ÀB ÀBE£âÀBÈÀB㤃ÀC§ÀCЙÀG«ÀH¿£ÑÀI¶ÀIÙ¤ïÀJ2ÀJ@ ¥ÀRÊÀT¬ ¤À[&À\¥7À]À]2¥3À_ŒÀ`¥;ÀbYÀbË¥IÀeBÀe¿¥YÀgÀga¥\ÀkÀl–˜ÀmôÀn8¥aÀnßÀnû¥eÀpwÀpÁ¥kÀvÀw¤gÀ;ÀW¥zÀŠåÀT˜<ÀÁhÀË¡¦ÀËßÀË祸ÀÌ¢ÀÌѦ¥ÀΪÀÏ7£§ÀÏ7£4ÀÒxÀÒï7£TÀÓ7£HÀÓ-¦¾ÀÔ?ÀÔ}’ÕÀØÀØà¦ßÀÛ6ÀÛ¹¦éÀÜ ÀÜ6¦ÀÜ¢Àܸ˜{ÀÞCÀÞ{ÎÀß;Àß]¦øÀà ÀàI§Àà§À༧ÀájÀጧÀâWÀ⇧ ÀãrÀ㩧Àå@À宣)ÀçÀçS7§Àçr§Àè|À蟣+ÀéýÀêA§'ÀíœÀîS¦ªÀîÎÀîê7£GÀï §#Àò1Àòá7§ Àó§LÀóßÀôÇÀöƒÀ÷#ÊÀù@Àù¥§ZÀú]Àú§kÀúÆÀúÔ§mÀû›ÀûÄžðÀýàÀþ3ŸÀ  À ð7§{À 7§|À -§}À EÀ ’§À üÀ §ŽÀ ÈÀ ꧊À ®À í§˜À ÍÀ (§±À ŠÀ §§›À +À +š÷À iÀ 㧸À !œÀ !ɧºÀ "KÀ "m§½À #æÀ $£ÎÀ $iÀ $}§ÇÀ %À %§ÉÀ %ÆÀ %þ§ÓÀ )À )e› +À *æÀ +1ÁÀ .gÀ .û§íÀ /RÀ /`§ðÀ /³À /Çž%À 1âÀ 2z§õÀ 2ÞÀ 2ì§úÀ 9¿À :ã§ùÀ =ßÀ >O¨À >ƒÀ >Š¨&À AÀ Aƨ2À B!À B67¨7À BU”.À BÂÀ BÞ¨9À CGÀ C\¨<À DŽÀ D̘À EñÀ F'”'À I À IÞ¨SÀ JsÀ J•¨lÀ U¾À X“¨‹À Z1À Z®¨WÀ ZÓÀ ZÚ¨ŒÀ \õÀ ]¨XÀ ^JÀ ^m¨YÀ ^ÑÀ ^í¨ZÀ _zÀ _¨[À `À `1¨\À bGÀ bÚ¨]À bÿÀ c¨À d)À dw¨^À eEÀ e}¨_À fKÀ fƒ¨`À gQÀ g‰¨aÀ hRÀ hŠ¨bÀ i+À iU¨cÀ j>À jv¨dÀ jÑÀ jߨeÀ kZÀ k}¨fÀ køÀ l¨gÀ láÀ m¨hÀ nÀ nk¨iÀ pÀ p¤¨jÀ pÉÀ pШkÀ põÀ pü¨ŽÀ qåÀ r¨“À sbÀ s®7¨•À sÙ¨™À t‘À tɨ¡À u5À uQ›IÀ x¸À yc¨ºÀ zÀ z7¨¹À zðÀ { ¨½À {‰À {©¨ÀÀ |QÀ |¨ÅÀ |çÀ }¨ÈÀ }…À } ¨ÊÀ €SÀ $¨ÔÀ ƒ¾À „k¨ÛÀ …$À …Q¨ÝÀ † À †2¨áÀ †ºÀ †Ï¨äÀ ‡9À ‡U¨êÀ ‡ÕÀ ‡ø¨îÀ ˆ°À ˆÓ)À hÀ ‘F©&À ’ À ’2© À ’ôÀ “)©/À “ÍÀ “ï©2À •gÀ •¼©7À –;À –W©<À –æÀ — © À —¯À —Ë©HÀ ˜IÀ ˜d À ™GÀ ™w©SÀ š´À ›©XÀ ›ÿÀ œ1©\À œôÀ ©^À ŸUÀ ŸÚ©eÀ  ›À  Å7©iÀ  ×©jÀ ¡DÀ ¡`©lÀ £"À £Š/À ¦À ¦Ÿ©ŠÀ §qÀ §šŸ:À ªwÀ «)© À «ÜÀ «þ©¢À ¬hÀ ¬„©§À ¬×À ¬ë7©ªÀ ­ +©«À ­À ­²žøÀ °ÃÀ ±#¦üÀ ²ÀÀ ³©ÂÀ ³àÀ ´¦´À ´¥À ´Á7¦²À ´à©ÊÀ ¶ÔÀ ·H©ÐÀ ·´À ·Ð©ØÀ ¸À ¸£©ÜÀ ¹)À ¹?©ÔÀ »uÀ »ä©ßÀ ¼“À ¼´©èÀ ½À ½&©ÖÀ ¿\À ¿Ë©ÛÀ À®À Àô©ñÀ ÁtÀ Á—©öÀ ÃÀ Ãc©øÀ ÄÀ Ä97©ýÀ ÄW›À ÊPÀ ËD7ª'À Ëoª(À ÌÊÀ ͪ&À ÏÀ ÏÛª6À ÑÀ ÑFªHÀ ÑÏÀ ÑëªQÀ ØIÀ Ù¼ªOÀ ÚÀ ÚªKÀ ÚVÀ ÚdªLÀ ÚªÀ Ú¸ªPÀ ÛbÀ ÛšªMÀ ÛíÀ ܪNÀ Ü:À ÜHªŸÀ ܵÀ ÜÑ7ªWÀ Üð7ªVÀ ݪ]À ÝóÀ Þ,ª§À âMÀ ã‰VÀ è‹À éÙ¤sÀ ë:À 뙤qÀ ìˆÀ ìÆœÀ î2À îvŸôÀ îÐÀ îå¤vÀ ï<À ïJšøÀ ï­À ïªóÀ óïÀ ôß«À õ—À õÀ7«À õß« À ö¹À öõ«À ùáÀ ú›’†À üDÀ ü—«À + À + ô«À +£À +Ó«!À +IÀ +ÒÓÀ +BÀ +W«)À +rÀ +û«,À +³À +Ü«/À +ŒÀ +®«2À +!±À +#…«4À +#ßÀ +#ô«6À +$jÀ +$«;À +$ÒÀ +$æ«>À +%žÀ +%̤wÀ +&À +&À«AÀ +(À +(wŸ½À ++ØÀ +,@«JÀ +-LÀ +- «VÀ +.¿À +.ð«YÀ +/fÀ +/‚«]À +0ÜÀ +1(«dÀ +2vÀ +2É«hÀ +3‰À +3««cÀ +4œÀ +4â«rÀ +7À +7~«À +7þÀ +8!«ŠÀ +8oÀ +8}«ŽÀ +8±À +8¸«À +8ìÀ +8ó«vÀ +9´À +9é«™À +:ÚÀ +;'«£À +;òÀ +<7«¥À +ÞÀ +?c«»À +?ÐÀ +?ì«xÀ +A£À +B=«ÂÀ +BÖÀ +BóªjÀ +CÖÀ +Cù¨@À +DxÀ +D›«ÌÀ +DàÀ +Dî©ôÀ +E±À +Eá«ÐÀ +GƒÀ +GÕ«ÓÀ +IZÀ +IÉŸÀ +JíÀ +K7§¦À +K>«ÞÀ +KèÀ +L7§§À +L=«âÀ +LÀ +L¤ªlÀ +MÀ +M6«éÀ +MÍÀ +Mé«ëÀ +OÀ +Ok«ðÀ +OýÀ +P«òÀ +P½À +Pß«ôÀ +Q-À +Q;«èÀ +Q‰À +Q—«çÀ +R{À +Rª«ýÀ +S À +S"«ÿÀ +TyÀ +T¼žqÀ +UÀ +UÀ¬À +VdÀ +V†¬À +VßÀ +Vô¬ +À +W¤À +WŬ À +X‚À +X¥¬ À +Y0À +YS¬À +YýÀ +Z'¬À +ZÀ +Z”¬À +[À +[87¬ À +[W7¬#À +[v7¬%À +[•£öÀ +`"À +a/ª‚À +aœÀ +a¸¬IÀ +b;À +bV©À +bÿÀ +c"7¬NÀ +c@£dÀ +ctÀ +c{¬QÀ +dÀ +d27¬SÀ +d]7¬UÀ +d|¬VÀ +e@À +ei7¬XÀ +e”¬YÀ +eîÀ +f¬\À +ffÀ +f{¬`À +iôÀ +jìoÀ +kUÀ +kp¬sÀ +l®À +lî¬vÀ +m€À +m›¬‡À +n…À +n¼¬ŽÀ +o‰À +oº¬”À +wSÀ +x¸¬¥À +yiÀ +y‹¬åÀ +yäÀ +yù¬ÐÀ +z]À +zr¬ÂÀ +z¹À +zǬ!À +{„À +{­¬ÓÀ +}ãÀ +~R¬$À +~ÆÀ +~Û¬µÀ +šÀ +ìõÀ +À +l­À +‚NÀ +‚€šâÀ +„EÀ +„É¥ À +†kÀ +†è7¥›À +‡­À +‡ÃÀ +‡ó£¸À +‰ŽÀ +‰ý­/À +¢À +Ž™¤À +‘ÐÀ +’ØÀ +“sÀ +“«­OÀ +”=À +”X­QÀ +•´À +•íªoÀ +—+À +—d­[À +™À +™í­WÀ +›cÀ +›Å­yÀ +œwÀ +œ™¥ÈÀ +ŸÀ +Ÿ£­ƒÀ +ŸéÀ +Ÿ÷­…À +¡À +¡3­‡À +£¸À +¤¦BÀ +¥ À +¥=œÿÀ +§ÛÀ +¨~©oÀ +©ÜÀ +ª ­œÀ +«^À +«¸­ŸÀ +¬ À +¬­¢À +¬ÔÀ +­­¤À +®éÀ +¯H­¨À +´†À +µ§­ÔÀ +¶À +¶+­²À +·À +·-­³À +¸NÀ +¸…­ßÀ +¹À +¹.­æÀ +º@À +º†­ðÀ +»À +»(­îÀ +¿À +¿Ù­éÀ +À†À +À°®À +Á@À +Áj® À +Ä–À +Å(7£]À +ÅGŸÀ +ÇUÀ +ÇšªpÀ +È1À +ÈM7£`À +Èk7£[À +È•šïÀ +ɆÀ +ÉË®%À +Ê4À +ÊI¦]À +ÊûÀ +Ë®)À +Ë×À +ËúšõÀ +ÌÍÀ +Í ®/À +Í°À +ÍÒ­uÀ +ÎLÀ +Îa®4À +δÀ +ÎÈ®7À +϶À +Ïû®<À +Ð{À +Ю?À +Ô;À +Õ ®DÀ +Ö¬À +Öÿ®CÀ +ØmÀ +ج«À +ÙMÀ +Ùw®sÀ +Ú?À +ÚhŸ+À +Û7À +Û`®yÀ +à„À +áí®~À +âoÀ +⊮€À +ã”À +㮟¯À +äÆÀ +å!©!À +æŒÀ +æè®™À +èÀ +èñ®–À +êrÀ +꽩À +ìâÀ +íK®«À +í¿À +íÛ©À +îiÀ +î‚7®¯À +SÀ +îçÀ +îû¤ +À +ò(À +òù››À +ô)À +ô|¤À +õëÀ +ö6®ÅÀ +÷‹À +÷É­–À +ø†À +ø®®ÊÀ +úÑÀ +û`®ªÀ +ü(À +üJ¥yÀ +ý!À +ýQ¤uÀ +þ¶À +ÿ®ÕÀ +ÿ‘À +ÿ¦®ÙÀ +ÿýÀ ¨ØÀ …À š À ‚À Æ®çÀ À -®êÀ ãÀ  ®ïÀ QÀ _®òÀ EÀ ®üÀ “À ß®ÿÀ +¯À +ôªtÀ =À K¯À  À ®¯À QÀ t¯ À À !¯À À †¯À À %¯)À éÀ ¯À |À ˜¯À JÀ ¯4À ÛÀ ð¯1À À Á¯9À bÀ ¾¯<À PÀ k¯6À ¹À ǯAÀ À 2¯À žÀ ºŸ&À ´À ”+À ,À ›¯_À À ;¯hÀ ûÀ 3©À !À R¯kÀ ®À 7“À ¯oÀ "zÀ #¯tÀ $ÒÀ %V¯€À )À *i›pÀ /;À /É¿À QµÀ X>°JÀ X»À XØ°CÀ ZÀ Z+¯œÀ Z•À Zª  À [JÀ [mžñÀ ]ÑÀ ^A°TÀ `]À `²ÌÀ d)À dÒ°YÀ f—À fò°]À gÞÀ hÀ h;À hB°cÀ iOÀ ix°fÀ iõÀ j°gÀ joÀ j}°lÀ laÀ l÷¤åÀ m+À m2°ŠÀ m³À mΰŽÀ o¦À où°—À p¯À p×°šÀ q À q°À qFÀ qM° À qÀ qˆžçÀ q¼À qð¥À q÷À qþ°¨À r2À r9°«À rmÀ rtªZÀ sÀ s3°´À sgÀ sn«À s”À s›ª\À tKÀ tn ƒÀ uÌÀ v£LÀ vTÀ v[°ÀÀ vÀ v–°ÃÀ vÊÀ vѤæÀ wÀ w¦jÀ z‡À {M°ÊÀ {ùÀ |£PÀ |JÀ |Q°ÍÀ |…À |Œ°ÐÀ |ãÀ |÷°ÓÀ }+À }2ª€À ~À ~Ô°ØÀ ?À M°ÛÀ ™À §°ÞÀ óÀ €°áÀ €MÀ €[°äÀ €¯À €½°çÀ À °êÀ KÀ R°íÀ †À °ðÀ ‚+À ‚F°ôÀ ‚äÀ ‚ÿ°÷À ƒ3À ƒ:ªhÀ ƒnÀ ƒu¦DÀ …ÆÀ †4±À †oÀ †v±À †ãÀ †ÿž­À ˆ^À ˆ¿±À ˆúÀ ‰ž»À ‰·À ‰Ù­ãÀ ‹7À ‹{¤AÀ ŒüÀ G ?À {À ‚±À ¶À ½±À Ž;À ŽO±"À ŽÍÀ Žá±'À `À t±%À ¨À ¯±,À AÀ U±1À ðÀ ‘ ±À ‘‰À ‘±7À ’8À ’S±:À ’õÀ “±>À “­À “ȱBÀ ”:À ”N±EÀ ”ëÀ •¯›À –RÀ –ƒ°WÀ –¿À –Æ°XÀ —À — NÀ —CÀ —J±NÀ ™À ™r±PÀ š¯À šæ±QÀ œPÀ œ±SÀ Ÿ¤À  >Ÿ>À  MÀ  N£ÃÀ ¡#À ¡\¨ÓÀ ¡ŒÀ ¡”§ÒÀ ¡ëÀ ¢—èÀ £JÀ £ƒ±[À ¤4À ¤e±^À ¤çÀ ¥±aÀ ¥wÀ ¥š±bÀ ¦ À ¦0±cÀ ¦£À ¦Æ¥pÀ ©qÀ ª%±fÀ ª$%±gÀ ª5%±hÀ ªF%±iÀ ªW%±jÀ ªh±kÀ «ÁÀ ¬±mÀ ±À ²}±|À ³èÀ ´L7~À ´f˜“À µŒÀ µ·›¹À ¶HÀ ¶W±À ·çÀ ¸±À ¸K±‚À ¹À ¹#±ƒÀ »"À »d7±…À »Œ±†À ½±À ¾-±‹À ¾{À ¾ƒ±ŒÀ ÀÀ ÀN±À À¸À ÀƱÀ ÁžÀ ÁÒ¥¹À ÃÀ ÃF±“À ÊTÀ ÊŸšfÀ ÍÐÀ ÎH³ÂÀ Ú:À Þ)´+À ÞÈÀ Þù´0À ïUÀ óÿµ¹À ÷lÀ ÷ñµàÀ ø~À ø”¥ÑÀ û`À ûѵïÀ ýcÀ ý­µóÀ þ¼À þáµöÀ ÿ”À ÿ²¶À $À 3¶À –À ¯¶À úÀ …¶ À À +¶ +À €À ˆ¶ À XÀ ¶ À GÀ t¯°À 2À ñ¶"À ¶#À -¶$À K¶%À c¶&À ‚¶'À š¶(À ²¶)À ߶*À ÷¶+À ¶-À L¶.À Ž¶/À ±¶0À RÀ x¶5À ¯À '¶8À ÀÀ ä¶:À ‡À ²±ŽÀ ­À â¶JÀ À )°IÀ À ´¶NÀ ¶OÀ f¤QÀ Š¤UÀ ħìÀ õÀ ýšüÀ £À ¿šþÀ 'À =¶SÀ ~À Œ³»À ÊÀ ضUÀ >À V¶XÀ öÀ ¥ÓÀ !¶aÛ À !»  @Î)##¶b$¸¹0#„$¿!#ˆç#ˆê#ˆJ#‰#ˆH#‰$‡„$‡„0#ƒÚ$¶c¶d!#¶e#¶f$¶g¶h$‹à‹á$‡„ +$º» 0#¶f$¶g¶h !#$¿#„V$¶i¶j + !#‡S$¿ $¶k¶l$¶m¶n$¶o¶p$¶q¶r$¶s¶t$¶u¶v$¶w¶x$¶y¶z$¶{¶|$¶}¶~$¶¶€$¶¶‚$¶ƒ¶„$¶…¶†$¶‡¶ˆ$¶‰¶Š$¶‹¶Œ$¶¶Ž$¶¶$¶‘¶’$¶“¶”$¶•¶–$¶—¶˜$¶™¶š$¶›¶œ$¶¶ž$¶Ÿ¶ $¶¡¶¢À @”  @Î##¶b%+'# *#¶£%+'# *#¶¤%+'# *#¶¥%+'# *#¶¦%+'# *#¶§%+'# *#¶¨%+'# *#¶©" #‹Å'#6#¶ª" #‹Å"'#á #„W"'#á #†D#¶«'#…/#¶¬ #‚”'#á +À CZ‚”'#…/#¶­#<$=> @+'# *#¶®OO +'#á*#„W +'# *#‹ñ +#¶­ #„W$ƒ^ #‹ñ#¶®#<$=>#‚”'#áÀ C—¶®À C°„WÀ CÆ‹ñÀ CÛ^À D‚”#¶¯+'#1&'# *#.+'# *#B#¶¯ #. #BÀ DZ.À DuBÀ D‰^"'#1&'# #."'# #B"'# #C'#¶¯#¶°€"'#1&'# #.'#6#¶±#¶²€Â#¶³'# "'# #‚%À E.¶³À B9À BV%¶£À Bm%¶¤À B„%¶¥À B›%¶¦À B²%¶§À BÉ%¶¨À Bà%¶©À B÷¶ªÀ C¶«À CD¶¬À CnÀ Cv¶­À D&À DL¶¯À D¦À D»¶°À Dù¶±À E ¶²À EN  @Î##¶b#¶´@+'# *#¶µ@+'# *#¶¶#„V$¶·¶¸@+'# *#¶¹@+'# *#¶º#„V$¶»¶¼@+'# *#¶½@+'# *#¶¾#„V$¶¿¶À@+'# *#¶ÁOO@+'# *#¶ÂOO#„V$¶Ã¶Ä@+'# *#¶Å @+'# *#¶Æ #„V$¶Ç¶È +@+'# *#¶É @+'# *#¶Ê#„V$¶Ë¶Ì @+'# *#¶Í @+'# *#¶Î#„V$¶Ï¶Ð@+'# *#¶Ñ @+'# *#¶Ò #„V$¶Ó¶Ô@+'# *#¶Õ@+'# *#¶Ö#„V$¶×¶Ø@+'# *#¶Ù@+'# *#¶Ú#„V$¶Û¶Ü@+'# *#¶Ý@+'# *#¶Þ#„V$¶ß¶à@+'# *#¶á@+'# *#¶â#„V$¶ã¶ä@+'# *#¶å@+'# *#¶æ#„V$¶ç¶è@+'# *#¶é@+'# *#¶ê#„V$¶ë¶ìÀ F¶µÀ F¶¶À FB¶¹À FY¶ºÀ F~¶½À F•¶¾À Fº¶ÁÀ FÓ¶ÂÀ Fú¶ÅÀ G¶ÆÀ G6¶ÉÀ GM¶ÊÀ Gr¶ÍÀ G‰¶ÎÀ G®¶ÑÀ GŶÒÀ Gê¶ÕÀ H¶ÖÀ H&¶ÙÀ H=¶ÚÀ Hb¶ÝÀ Hy¶ÞÀ Hž¶áÀ Hµ¶âÀ HÚ¶åÀ Hñ¶æÀ I¶éÀ I-¶ê%+'#¶í*#¶î' #¶í#¶ï%+'#¶í*#¶ð#¶î#„V$¶ñ¶ò '#‚ &'#1&'# '#1&'# #¶í +'#6*#¶ó +'# *#‹ï!+'# *#¶ô"+'# *#¶õ#+'# *#¶ö$+'#6*#¶÷%+'#1&'# *#¬Š&#¶í #‹ï #¶´#¶É #¶ö #¶´#¶½ #¶ô #¶´#¶Õ #¶õ #¶´#¶é #¬Š #¶÷ #¶ó'+#¶í#¶ï2#‹ï #¶´#¶É2#¶ö #¶´#¶½2#¶ô #¶´#¶Õ2#¶õ #¶´#¶é2#¶÷2#¶ó2#¬Š1(#æ'#¶ø)#è'#¶ù* À J¯¶óÀ JÄ‹ïÀ JÙ¶ôÀ Jî¶õÀ K¶öÀ K¶÷À K-¬ŠÀ KI^À KʶïÀ LUæÀ L/Uè%+'#¶ú*#¶ó' #¶ú#¶ï+%+'#¶ú*#¶û#¶ó#„V$¶ü¶ý, '#‚ &'#1&'# '#1&'# #¶ú- +'#6*#¶ó.+'# *#‹ï/+'# *#¶ô0+'# *#¶õ1+'# *#¶ö2+'#1&'# *#¬Š3+'#6*#¶÷4#¶ú #‹ï #¶´#¶É #¶ö #¶´#¶½ #¶ô #¶´#¶Õ #¶õ #¶´#¶é #¬Š #¶÷ #¶ó5+#¶ú#¶ï2#‹ï #¶´#¶É2#¶ö #¶´#¶½2#¶ô #¶´#¶Õ2#¶õ #¶´#¶é2#¶÷2#¶ó2#¬Š16#æ'#¶ø7#è'#¶ù8 À M¶óÀ M%‹ïÀ M:¶ôÀ MO¶õÀ Md¶öÀ My¬ŠÀ M•¶÷À Mª^À N+¶ïÀ NUæÀ NUè '#ê&'#1&'# '#1&'# #¶ø9 ++'#6*#¶ó:+'# *#‹ï;+'# *#¶ô<+'# *#¶õ=+'# *#¶ö>+'#1&'# *#¬Š?+'#6*#¶÷@#¶ø #¶ó #‹ï #¶´#¶É #¶ö #¶´#¶½ #¶ô #¶´#¶Õ #¶õ #¶´#¶é #¬Š #¶÷A#·'#1&'# "'#1&'# #åB#î'#÷"'#ð&'#1&'# #ñC +À O$¶óÀ O9‹ïÀ ON¶ôÀ Oc¶õÀ Ox¶öÀ O¬ŠÀ O©¶÷À O¾^À P?·À Plî '#ê&'#1&'# '#1&'# #¶ùD+'# *#¶öE+'#1&'# *#¬ŠF+'#6*#¶÷G#¶ù #¶ö #¶´#¶½ #¬Š #¶÷H#·'#1&'# "'#1&'# #åI#î'#÷"'#ð&'#1&'# #ñJÀ Q¶öÀ Q,¬ŠÀ QH¶÷À Q]^À Q—·À QÄî#¶þK0#¶þ#¶ÿ"'#6 #¶ó"'# #‹ï #¶´#¶É"'# #¶ö #¶´#¶½"'# #¶ô #¶´#¶Õ"'# #¶õ #¶´#¶é"'#1&'# #¬Š"'#6 #¶÷L0#¶þ#·"'# #¶ö #¶´#¶½"'#1&'# #¬Š"'#6 #¶÷M#ŒÀ'#I"'#1&'# #A"'# #B"'# #CN#·'#1&'# "'#6 #‚ñ"'#6 #CO€Â#·'#¶þ"'#6 #¶ó"'# #‹ï"'# #¶ö"'# #¶ô"'# #¶õ"'#1&'# #¬Š"'#6 #¶÷P€Â#·'#¶þ"'# #¶ö"'#1&'# #¬Š"'#6 #¶÷QÀ R.¶ÿÀ RηÀ SŒÀÀ SV·À S‘·À T· '#÷#·R+'#*#·S#‚'#I"'#1&'# #‚ST#ú'#I"'#1&'# #‚S"'# #B"'# #C"'#6 #ûU#ù'#IVÀ T·À T–‚À T¼úÀ Uù '#·#·W##·#8"'#÷ #ñ"'#6 #¶ó"'# #‹ï"'# #¶ö"'# #¶ô"'# #¶õ"'#1&'# #¬Š"'#6 #¶÷XÀ UJ8 '#·#·Y##·#8"'#÷ #ñ"'# #¶ö"'#1&'# #¬Š"'#6 #¶÷ZÀ UÝ8 '#÷#·[+'#¶þ*#‰ +\+'#÷*#ø]+'#6*#· ^+'#6*#· +_#· #ø #‰ +`#‚'#I"'#1&'# #Aa#ú'#I"'#1&'# #A"'# #B"'# #C"'#6 #ûb#ù'#IcÀ V@‰ +À VVøÀ Vl· À V· +À V–^À Vµ‚À VÚúÀ W!ù"'# #¶ö'#I#· d"'# #‹ï'#I#· e"'# #¶ô'#I#· f"'# #¶õ'#I#·gÀ EÛÀ Eø¶´À IRÀ J3%¶îÀ JY%¶ðÀ J€¶íÀ L@À L”%¶óÀ Lº%¶ûÀ Lá¶úÀ N¡À Nõ¶øÀ P›À Pè¶ùÀ QóÀ R ¶þÀ TAÀ Tl·À UÀ U5·À UÁÀ UÈ·À V$À V+·À W4À Wp· À W‘· À W²· À WÓ·  @Î##¶b'#·#·#<$=>#†D'#á#·"'#á #†D#<$=>0#·#·"'# #†D#<$=>0#·#†Ù"'#†? #†kP#…{'#·#†k'#†?`#…{'#I" #†D#ŽÐ'#‚~&'#·"'#6 #·#·'#I"'#6 #· P#·'#· +#·'#‚~&'#·"'#á #†ž #·'#·"'#á #†ž #·'#‚~&'#á #·'#á#·'#‚~&'#·"'#á #·#·'#·"'#á #·#£€'#·#¨'#ó&'#·"'#6 #·"'#6 #·#·'#1&'#·"'#6 #·"'#6 #·#‚”'#áÀ XáU†DÀ Xò^À Y·À Y>†ÙÀ Y[U…{À YlU†kÀ Y}V…{À Y—ŽÐÀ YÄ·À YèU·À Yù·À Z%·À ZI·À Ze·À Zy·À Z¢·À ZÃU£€À ZÔ¨À [·À [O‚”À X£À XÀ·À [c  @Î##¶b '#·'#·#·#+'#á*#‰v+'# *#·#·"'#á #†D##·#·"'# #· #†D'#á€Â#ˆa"'#·! #¥¦€Â#·""'#·! #¥¦"'# #· €Â#·#"'#·! #¥¦"'# #· €Â#·$'#á"'#·! #¥¦ €Â#·%"'#·! #¥¦"'# #· +€Â#…"'#·! #¥¦"'# #· €Â#·&"'#·! #¥¦"'# #· "'#6 #· €Â#·'"'#·! #¥¦"'# #· "'#á #· €Â#·('#I"'#·! #¥¦"'#1&'#· #¨"'# #· "'#6 #·"'#6 #·P#…{'#·`#…{'#I" #†D#†k'#†?#·)'#‚~&'#6#·*'#6#£€'#·#ŽÐ'#‚~&'#·"'#6 #·#·'#I"'#6 #·P#·'#·#·'#‚~&'#·"'#á #†ž#·'#·"'#á #†ž#˜p'#‚~&'#·"'#6 #·#·+'#I"'#6 #·#·'#‚~&'#·"'#á #·#·'#·"'#á #·#¨'#ó&'#·"'#6 #·"'#6 #·#·'#1&'#·"'#6 #·"'#6 #·#‚”'#á #¶ª'#6" #‹Å!#·," #‹Å"'#á #„W"@#·-)(#‚Z'#‚Z"'#‚Z #?"'#á #à##À \9‰vÀ \O·À \d^À \~·À \šU†DÀ \«ˆaÀ \Ç·"À \ï·#À ]·$À ]9·%À ]a…À ]‰·&À ]½·'À ]ò·(À ^KU…{À ^\V…{À ^vU†kÀ ^‡·)À ^¢·*À ^µU£€À ^ÆŽÐÀ ^ó·À _U·À _(·À _T·À _x˜pÀ _¥·+À _É·À _ò·À `¨À `Q·À `Ž‚”À `¢¶ªÀ `¼·,À `Þ·-#·.$’#·."'# #Œ»%#·/'# &À b^À b2·/#·0'@+'# *#·1(@+'# *#·2)@+'# *#·3*@+'# *#·4+@+'# *#·5,@+'# *#§ÿ-@+'# *#·6.@+'# *#·7/@+'# *#·80+'# *#· 1+'#6*#·2+'#6*#·3+*#‰¦4+'#6*#·95+'#6*#·:6+'#6*#©47+'#·.*#·;8+'#Š *#·<9#·0 #·  #· #·:#·='# ;#ô'#ó&'#·<#‰º'#I=#‰Å'#I>#‰¼'#‚~?#ƒ>'#I@#·>'#IA#ù'#IB#‚f'#I" #„WCÀ ba·1À bx·2À b·3À b¦·4À b½·5À bÔ§ÿÀ bë·6À c·7À c·8À c0· À cE·À cZ·À co‰¦À c·9À c”·:À c©©4À c¾·;À cÔ·<À cê^À d·=À d%UôÀ d>‰ºÀ dQ‰ÅÀ dd‰¼À dxƒ>À d‹·>À džùÀ d±‚fÀ [ÿÀ \·À aÀ b ·.À bEÀ bS·0À dË  @Î##¶b#·?#<$„c>@+'#6*#·@@+'#6*#·A#<$=>@+'#6*#·B#<$„c>@+'#6*#·C#<$„c>@+'#6*#·D#<$„c>@+'#6*#·E#<$„c>@#·F'#I"'#á #·G#<$„c>À eþ·@À f·AÀ f3·BÀ fT·CÀ fu·DÀ f–·EÀ f··FÀ eÇÀ eä·?À fã  @Î##¶b#·H€Â#‰á'#I"'#‚e #¬Õ"'#‹© #‹Ó"'# #AÀ gV‰áÀ g+À gH·HÀ g  @Î##¶b#·I @+*#°¹' #·I#„Ä@+*#·J#°¹#„V$·K·L@+*#ƒ' #·I#„Ä@+*#·M#ƒ#„V$·N·O@+*#‰#' #·I#„Ä@+*#·P#‰##„V$·Q·R@+*#·S' #·I#„Ä@+*#·T#·S#„V$·U·V@+*#·W' #·I#„Ä @+*#·X#·W#„V$·Y·Z ++'# *#·[ *#·I#„Ä #·[ À gÒ°¹À gô·JÀ hƒÀ h7·MÀ hX‰#À hz·PÀ h›·SÀ h½·TÀ hÞ·WÀ i·XÀ i!·[À i6„Ä%+*#·J #·I#°¹#„V$·\·] %+*#·M #·I#ƒ#„V$·^·_%+*#·P #·I#‰##„V$·`·a%+*#·T #·I#·S#„V$·b·c%+*#·X #·I#·W#„V$·d·e#·f +@+*#·g' #·f#„Ä@+*#·h#·g#„V$·i·j@+*#£Œ' #·f#„Ä@+*#·k#£Œ#„V$·l·m@+*#·n' #·f#„Ä@+*#·o#·n#„V$·p·q@+*#·r' #·f#„Ä@+*#·s#·r#„V$·t·u+'# *#Œ2*#·f#„Ä #Œ2 +À jv·gÀ j˜·hÀ j¹£ŒÀ jÛ·kÀ jü·nÀ k·oÀ k?·rÀ ka·sÀ k‚Œ2À k—„Ä'#·#£)#<$=>##£)"'#á #†D#<$=>0#£)#†Ù"'#†? #†k0#£)#·"'# #· #<$=> #ŽÐ'#‚~&'#£)"'#6 #·!#·'#I"'#6 #·"#·'#‚~&'#£)"'#á #·##·'#£)"'#á #·$#ˆ+'#‚~&'#£)"'#á #·%#·v'#£)"'#á #·&#'#‚~&'# '#·w'# (#£€'#£))#·x'#‚~&'#„Œ*#·y'#„Œ+#·z'#‚~"'#„Œ #‹í,#·{'#I"'#„Œ #‹í-#£Ô'#‚~&'#„Œ.#·|'#„Œ/#·}'#‚~"'#„Œ #‹í0#·~'#I"'#„Œ #‹í1#ŒÂ'#‚~&'#·"'#·I #‚• #·I#°¹2#·€'#·"'#·I #‚• #·I#°¹3#·'#ó&'#1&'# "'# #B"'# #C4#·‚'#·ƒ"'#·I #‚• #·I#ƒ"'#Ý #†S#ƒ/5#·„'#‚~&'# 6#·…'# 7#·†'#‚~&'#á"'#Ý #†S#ƒ/8#·‡'#á"'#Ý #†S#ƒ/9#·ˆ'#‚~&'#1&'#á"'#Ý #†S#ƒ/:#·‰'#1&'#á"'#Ý #†S#ƒ/;#·Š'#‚~&'#£)"'#1&'# #å"'#·I #‚• #·I#ƒ"'#6 #‚ñ<#·‹'#I"'#1&'# #å"'#·I #‚• #·I#ƒ"'#6 #‚ñ=#·Œ'#‚~&'#£)"'#á #·"'#·I #‚• #·I#ƒ"'#Ý #†S#ƒ/"'#6 #‚ñ>#·Ž'#I"'#á #·"'#·I #‚• #·I#ƒ"'#Ý #†S#ƒ/"'#6 #‚ñ?#†D'#á@#À l!^À lF†ÙÀ lc·À lŠŽÐÀ l··À lÛ·À m·À m%ˆ+À mN·vÀ moÀ m‰·wÀ mœU£€À m­·xÀ mÉ·yÀ mÝ·zÀ mþ·{À n£ÔÀ n:·|À nN·}À no·~À nŒÂÀ n·€À ní·À o+·‚À oi·„À o„·…À o—·†À oÆ·‡À oí·ˆÀ p#·‰À pQ·ŠÀ p¨·‹À pö·ŒÀ qZ·ŽÀ qµU†D#·A#ù'#‚~&'#IB#Šš'#IC#·'#‚~&'# D#·'# E#°¹'#‚~&'# "'# #‚%F#·‘'# "'# #‚%G#·’'#‚~&'# "'#1&'# #."'# #B"'# #CH#·“'# "'#1&'# #."'# #B"'# #CI#‚õ'#‚~&'#·"'# #JJ#·”'# "'# #JK#·•'#‚~&'#·"'#1&'# #."'# #B"'# #CL#·–'#I"'#1&'# #."'# #B"'# #CM#‚Õ'#‚~&'#·"'#á #í"'#Ý #†S#ƒ/N#·—'#I"'#á #í"'#Ý #†S#ƒ/O#'#‚~&'# P#·˜'# Q#'#‚~&'#·"'# #R#·™'#I"'# #S#„Ô'#‚~&'#·"'# #T#·š'#I"'# #U#'#‚~&'# V#·w'# W#‚ñ'#‚~&'#·X#·›'#IY#­'#‚~&'#·"'#·f #‚• #·f#£Œ"'# #B"'# #COOZ#·œ'#I"'#·f #‚• #·f#£Œ"'# #B"'# #COO[#­ '#‚~&'#·"'# #B"'# #COO\#·'#I"'# #B"'# #COO]#‚”'#á^#†D'#á_À rÈùÀ r㊚À rö·À s·À s$°¹À sK·‘À sj·’À sµ·“À sø‚õÀ t·”À t=·•À t‰·–À tÌ‚ÕÀ u·—À u;À uV·˜À uiÀ u‘·™À u°„ÔÀ u×·šÀ uõÀ v·wÀ v"‚ñÀ v>·›À vQ­À v¦·œÀ vò­ À w0·À we‚”À wyU†D'#¶¬#·ž#<$=>`+'#á*#„Wa+'#á*#†Db+'#¶­*#·Ÿc +#·ž #„W$ƒ^ #†D$ƒ^ #·Ÿ#<$=>d#‚”'#áeÀ x}„WÀ x“†DÀ x©·ŸÀ x¿^À y‚”À g§ +À gÄ·IÀ iOÀ i¯%·JÀ iÔ%·MÀ iù%·PÀ j%·TÀ jC%·XÀ jh·fÀ k°À l£)À qÆÀ rº·À wŠÀ x\·žÀ y  @Î##¶b%+'# *#· 4@Hw '#ó&'#1&'# #·¡+'#Š—&'# *#Š³+'#á*#‰v+'#·*#·¢+'# *#† +'# *#‰I+'#Š *#·£+'#6*#·¤+'#6*#·¥ +'#6*#· ++'#6*#·¦ #·¡ #‰v"'# # #‰I ##·¡#·§ #ˆ'#‡&'# '#I"'# #‰ì #ˆ"'#…6 #„Ù'#I #ˆ"'#6 #ˆ#·¨'#‚~#·©'#I#…ô'#IÀ zŠ³À z ‰vÀ z6·¢À zL† À za‰IÀ zv·£À zŒ·¤À z¡·¥À z¶· À zË·¦À zà^À { ·§À {ˆÀ {„·¨À {˜·©À {«…ô '#Š‡&'#1&'# #·ª+'#£)*#§$+'#‚~&'#·*#·«#·ª"'#£) #†N"'#·I #‚•##·ª#·¬"'# #·­#‰Ù'#‚~&'#£)"'#ó&'#1&'# #ô#ù'#‚~&'#£)À |[§$À |q·«À |^À |¶·¬À |Ò‰ÙÀ } ù '#·'#£)#·®?+'#á*#‰v+'# *#·#·®"'#á #†D##·®#·"'# #· #†D'#á@#·¯'# @#·°'#‚~"'# #˜¼"'#1 #A #·)'#‚~&'#6!€Â#·%"'#·! #¥¦"'# #· "#·*'#6##£€'#£)$#ŽÐ'#‚~&'#£)"'#6 #·%€Â#…"'#·! #¥¦"'# #· &€Â#·±"'#·! #¥¦"'# #· "'#á #…†'€Â#·²"'#·! #¥¦"'# #· (#·'#I"'#6 #·)#˜p'#‚~&'#£)"'#6 #·*€Â#·&"'#·! #¥¦"'# #· +€Â#·³"'#·! #¥¦"'# #· ,#·+'#I"'#6 #·-#·'#‚~&'#£)"'#á #·.€Â#·'"'#·! #¥¦"'# #·´"'#á #·/€Â#·µ"'#·! #¥¦"'# #·´"'#á #·0#·'#£)"'#á #·1#ˆ+'#‚~&'#£)"'#á #·2€Â#·¶"'#·! #¥¦"'# #·´"'#á #·3#·v'#£)"'#á #·4#ŒÂ'#‚~&'#·"'#·I #‚• #·I#°¹5#'#‚~&'# 6€Â#··"'#·! #¥¦"'# #· 7#·w'# 8#·x'#‚~&'#„Œ9€Â#·¸"'#·! #¥¦"'# #· :#·y'#„Œ;#·z'#‚~"'#„Œ #‹í<€Â#·¹"'#·! #¥¦"'# #· "'# #·º=#·{'#I"'#„Œ #‹í>#£Ô'#‚~&'#„Œ?€Â#£Ò"'#·! #¥¦"'# #· @#·|'#„ŒA#·}'#‚~"'#„Œ #‹íB€Â#·»"'#·! #¥¦"'# #· "'# #·ºC#·~'#I"'#„Œ #‹íD€Â#˜¸"'#·! #¥¦"'# #· "'# #‚•E#·€'#·"'#·I #‚• #·I#°¹F€Â#·¼'# "'# #·­G@#·½'#·"'# #·­H#·'#ó&'#1&'# "'# #B"'# #CI#·‚'#·ƒ"'#·I #‚• #·I#ƒ"'#Ý #†S#ƒ/J#·„'#‚~&'# K#·…'# L#·¾'#á"'#1&'# #å"'#Ý #†SM#·†'#‚~&'#á"'#Ý #†S#ƒ/N#·‡'#á"'#Ý #†S#ƒ/O#·ˆ'#‚~&'#1&'#á"'#Ý #†S#ƒ/P#·‰'#1&'#á"'#Ý #†S#ƒ/Q#·Š'#‚~&'#£)"'#1&'# #å"'#·I #‚• #·I#ƒ"'#6 #‚ñR#·‹'#I"'#1&'# #å"'#·I #‚• #·I#ƒ"'#6 #‚ñS#·Œ'#‚~&'#£)"'#á #·"'#·I #‚• #·I#ƒ"'#Ý #†S#ƒ/"'#6 #‚ñT#·Ž'#I"'#á #·"'#·I #‚• #·I#ƒ"'#Ý #†S#ƒ/"'#6 #‚ñU#‚”'#áV@#·¿"'#‚e #Š"'#á #·À"'#á #†DW@#·-)(#‚Z'#‚Z"'#‚Z #?"'#á #àX?À }n‰vÀ }„·À }™^À }³·À }ÏU†DÀ }à·¯À }ó·°À ~·)À ~9·%À ~a·*À ~tU£€À ~…ŽÐÀ ~²…À ~Ú·±À ·²À 7·À [˜pÀ ˆ·&À °·³À Ø·+À ü·À €%·'À €Z·µÀ €·À €°ˆ+À €Ù·¶À ·vÀ /ŒÂÀ bÀ |··À ¤·wÀ ··xÀ Ó·¸À û·yÀ ‚·zÀ ‚0·¹À ‚d·{À ‚„£ÔÀ ‚ £ÒÀ ‚È·|À ‚Ü·}À ‚ý·»À ƒ1·~À ƒQ˜¸À ƒ…·€À ƒ°·¼À ƒÐ·½À ƒð·À „.·‚À „l·„À „‡·…À „š·¾À „η†À „ý·‡À …$·ˆÀ …Z·‰À …ˆ·ŠÀ …ß·‹À †-·ŒÀ †‘·ŽÀ †ì‚”À ‡·¿À ‡5·-#·ÁY’#·Á"'# #Œ»Z#·/'# [#ù'# \#·]#°¹"'# #å^#·’"'#1&'# #."'# #B"'# #C_#‚õ"'# #J`#·•"'#1&'# #."'# #B"'# #Ca#b#"'# #c#„Ô"'# #d#e#‚ñf#­"'# #­"'# #B"'# #CgÀ ‰3^À ‰L·/À ‰_ùÀ ‰r·À ‰€°¹À ‰š·’À ‰Ð‚õÀ ‰é·•À ŠÀ Š-À ŠG„ÔÀ Š`À Šm‚ñÀ Š{­'#·#·Âh*@+'#6*#·Ãi+'#á*#†Dj+'#6*#·Äk+'#·Å*#·Æl+'#·Á*#·;m#·Â"'# #Œ» #†Dn#·Ç'#Io#·Èp#ù'#‚~&'#Iq#Šš'#Ir#·'#‚~&'# s#·'# t#°¹'#‚~&'# "'# #åu#·‘'# "'# #åv#·’'#‚~&'# "'#1&'# #."'# #B"'# #Cw#·“'# "'#1&'# #."'# #B"'# #Cx#‚õ'#‚~&'#·"'# #Jy#·”'# "'# #Jz#·•'#‚~&'#·"'#1&'# #."'# #B"'# #C{#·–'#I"'#1&'# #."'# #B"'# #C|#‚Õ'#‚~&'#·"'#á #í"'#Ý #†S#ƒ/}#·—'#I"'#á #í"'#Ý #†S#ƒ/~#'#‚~&'# #·˜'# €€#'#‚~&'#·"'# #€#·™'#I"'# #€‚#„Ô'#‚~&'#·"'# #€ƒ#·š'#I"'# #€„#'#‚~&'# €…#·w'# €†#‚ñ'#‚~&'#·€‡#·›'#I€ˆ@+'# *#·É€‰#·Ê'# "'#·f #·Ë€Š#­'#‚~&'#·"'#·f #‚• #·f#£Œ"'# #B"'# #COO€‹#­ '#‚~&'#·"'# #B"'# #COO€Œ#·œ'#I"'#·f #‚• #·f#£Œ"'# #B"'# #COO€#·'#I"'# #B"'# #COO€Ž+'#6*#©4€#·='# €#·Ì'#‚~"'# #˜¼"'#1 #A"'#6 #·Í€‘#·Î'#I€’*À ‹"·ÃÀ ‹7†DÀ ‹M·ÄÀ ‹b·ÆÀ ‹x·;À ‹Ž^À ‹°·ÇÀ ‹Ã·ÈÀ ‹ÑùÀ ‹ìŠšÀ ‹ÿ·À Œ·À Œ-°¹À ŒT·‘À Œs·’À Œ¾·“À ‚õÀ (·”À F·•À ’·–À Õ‚ÕÀ Ž·—À ŽDÀ Ž_·˜À ŽsÀ Žœ·™À Ž¼„ÔÀ Žä·šÀ À ·wÀ 2‚ñÀ O·›À c·ÉÀ {·ÊÀ œ­À ò­ À 1·œÀ ~·À ´©4À Ê·=À Þ·ÌÀ ‘·ÎÀ y¡À y¾%· À yà·¡À {¾À |8·ªÀ }%À }Q·®À ‡kÀ ‰%·ÁÀ Š«À ‹ ·ÂÀ ‘/  @Î##¶b#·Ï @+*#†N' #·Ï#„Ä@+*#·Ð#†N#„V$·Ñ·Ò@+*#†P' #·Ï#„Ä@+*#·Ó#†P#„V$·Ô·Õ@+*#·Ö' #·Ï#„Ä@+*#¥÷#·Ö#„V$·×·Ø@+*#‡n' #·Ï#„Ä@+*#‡Ò#‡n#„V$‡Ó‡Ô@+*#·Ù8 #·Ï#†N #·Ï#†P #·Ï#·Ö #·Ï#‡n +'# *#Œ2 +*#·Ï#„Ä #Œ2 @#·Ú'#·Ï"'# #ŒX #‚”'#á À ’ʆNÀ ’ì·ÐÀ “ †PÀ “/·ÓÀ “P·ÖÀ “r¥÷À ““‡nÀ “µ‡ÒÀ “Ö·ÙÀ ”Œ2À ”„ÄÀ ”4·ÚÀ ”T‚”#·Û@+*#Œ2@+*#·Ü@+*#·Ý@+*#·Þ@+*#·[@+*#·ß@+*#·à@+*#·á+'#„Œ*#·â+'#„Œ*#·ã+'#„Œ*#·ä+'#·Ï*#ŒX+'# *#‚•+'# *#ƒ7"#·Û#„Ä #·â #·ã #·ä #ŒX #‚• #ƒ7€Â#·å"'#·! #¥¦"'#á #†D@#·æ'#·Û"'#á #†D@#·ç'#·Û"'#á #†D @#¬“'#‚~&'#·Û"'#á #†D!@#·è'#‚~&'#·Û"'#á #†D"#‚”'#á##·é'#á$À ”ÜŒ2À ”î·ÜÀ •·ÝÀ •·ÞÀ •$·[À •6·ßÀ •H·àÀ •X·áÀ •h·âÀ •~·ãÀ •”·äÀ •ªŒXÀ •À‚•À •Õƒ7À •ê„ÄÀ –0·åÀ –Y·æÀ –z·çÀ –›¬“À –Ä·èÀ –í‚”À —·é#·%:@+*#·ê\&@+*#·ë/'@+*#·ì:(#‰v'#á)#·'# *#†D'#á+#†k'#†?,#·)'#‚~&'#6-#·*'#6.#·'#‚~&'#·"'#á #·/#·'#·"'#á #·0#·'#‚~&'#á1#·'#á2#¬“'#‚~&'#·Û3#·æ'#·Û4#˜f'#‚~&'#·"'#6 #·5#”¸'#I"'#6 #·6#·í'#ó&'#·î"'# #·ï #·î#·ð"'#6 #·7#˜p'#‚~&'#·"'#6 #·8#·+'#I"'#6 #·9@#·ñ'#‚~&'#6"'#á #·ò"'#á #·ó:@#…9'#‚~&'#6"'#á #·ò"'#á #·ó;@+'#„Ê*#·ô<#†Z'#6=@#·õ'#6"'#á #†D>#£€'#·?#·ö'#á@@#·÷'# "'#á #†DA@#·ø'#á"'#á #†DB@#·ù'#6"'#á #·ò"'#á #·óC@#·ú'#6"'#á #·ò"'#á #·óDP#·û'#6E@#·ü'# "'#á #yF@#·ý'# "'# #ƒŠG@#·þ'#á"'# #ƒŠH@#ŒX'#‚~&'#·Ï"'#á #†D"'#6 #·I@#·ÿ'#·Ï"'#á #†D"'#6 #·J@#¸'#‚~&'#6"'#á #†DK@#¸'#‚~&'#6"'# #· L@#¦­'#‚~&'#6"'#á #†DM@#¦¬'#‚~&'#6"'#á #†DN@#¸'#6"'#á #†DO@#¸'#6" #· P@#¸'#6"'#á #†DQ@#¸'#6"'#á #†DR€Â#¸"'#·! #¥¦"'# #· "'#6 #·S€Â#¸"'#·! #¥¦"'#á #·ò"'#á #·óT€Â#¸"'#·! #¥¦"'# #†DU@+'#„Ê*#¸ V@#¸ +'#á"'#á #†DW#‹C'#·X@#¸ '#·Ï"'# #· "'#6 #·Y@#¸ '#·Ï"'# #· "'#6 #·Z@#¸ '#‚~&'#·Ï"'# #· "'#6 #·[@#¸'#‚~&'#·Ï"'# #· "'#6 #·\@#¸"'#‚e #Š"'#á #·À"'#á #†D]@#¸'#á"'#á #†D^@#¸'#á"'#á #†D_:À —Ì·êÀ —Þ·ëÀ —ð·ìÀ ˜U‰vÀ ˜U·À ˜#U†DÀ ˜4U†kÀ ˜E·)À ˜`·*À ˜s·À ˜œ·À ˜½·À ˜Ù·À ˜í¬“À ™ ·æÀ ™˜fÀ ™J”¸À ™n·íÀ ™±˜pÀ ™Þ·+À š·ñÀ š7…9À šl·ôÀ š‚U†ZÀ š’·õÀ š²U£€À šÃU·öÀ šÔ·÷À šô·øÀ ›·ùÀ ›B·úÀ ›oU·ûÀ ›·üÀ ›ž·ýÀ ›½·þÀ ›ÝŒXÀ œ·ÿÀ œI¸À œq¸À œ˜¦­À œÀ¦¬À œè¸À ¸À "¸À B¸À b¸À –¸À ̸À ô¸ À ž +¸ +À ž+U‹CÀ ž<¸ À žh¸ À ž”¸ À žÈ¸À žü¸À Ÿ4¸À ŸU¸#·î`@+'# *#ŽÐ4Ma@+'# *#¸4M#„V$¸¸b@+'# *#—ð4Mc@+'# *#¸4M#„V$¸¸d@+'# *#˜f4Me@+'# *#³ã4M#„V$¸¸f@+'# *#¸4Mg@+'# *#¸4M#„V$¸¸h@+'# *#·ð444#ŽÐ#—ð#˜f#¸i@+'# *#¸444#ŽÐ#—ð#˜f#¸#„V$¸¸ j@+'# *#¸!4Mk@+'# *#¸"4Ml@+'# *#¸#4Mm+'# *#ŒXn+'#á*#†Do+'#6*#¦¬p"#·î#8 #ŒX #†D #¦¬qÀ ¡ ŽÐÀ ¡;¸À ¡d—ðÀ ¡¸À ¡¨˜fÀ ¡Ã³ãÀ ¡ì¸À ¢¸À ¢0·ðÀ ¢W¸À ¢Œ¸!À ¢§¸"À ¢Â¸#À ¢ÝŒXÀ ¢ò†DÀ £¦¬À £8 '#·î#¸$r##¸$#8" #†D" #¦¬s#‚”'#átÀ £ã8À ¤‚” '#·î#¸%u+'#6*#¸&v##¸%#8" #†D" #¦¬ #¸&w#‚”'#áxÀ ¤7¸&À ¤L8À ¤r‚” '#·î#¸'y##¸'#8" #†D" #¦¬z#‚”'#á{À ¤±8À ¤Î‚” '#·î#¸(|+'#á*#œ¡}##¸(#8" #†D" #¦¬ #œ¡~#‚”'#áÀ ¥œ¡À ¥8À ¥A‚”#¸)€€€Â#¸*'#ó&'#·î"'#á #†D"'# #·ï"'#6 #·€€Ò#¸+'#6€‚À ¥z¸*À ¥½U¸+À ’Ÿ À ’¼·ÏÀ ”hÀ ”ηÛÀ —À —¾·À ŸvÀ ¡·îÀ £GÀ £Î¸$À ¤À ¤"¸%À ¤†À ¤œ¸'À ¤âÀ ¤ð¸(À ¥UÀ ¥k¸)À ¥Ï  @Î##¶b#¸, +'#á*#ŒX+'# *#Œ#à'#á@+'# *#‰`@+'#…ò*#¸-@+*#¸.P#§‹'# #¸, #ŒX#¸/'#‚€&'#á'#‚¨ #¸0'#‚€&'#á'#‚¨ +@#¸1'#  À ¦qŒXÀ ¦‡ŒÀ ¦œUàÀ ¦­‰`À ¦Â¸-À ¦Ø¸.À ¦èU§‹À ¦ø^À §U¸/À §-U¸0À §L¸1 '#¸,#¸2 +'# *#¸3 +'# *#¸4+'# *#¸5+'# *#¸6+'# *#¸7+'# *#¸8#¸9'#I"'# #å#¸:'#I#¸;'#I"'# #å#¸2"'#á #ŒX#¸/'#‚€&'#á'#‚¨ À §Æ¸3À §Û¸4À §ð¸5À ¨¸6À ¨¸7À ¨/¸8À ¨D¸9À ¨c¸:À ¨v¸;À ¨•^À ¨¯U¸/ '#¸2#·Å @+'#á*#Œ2$¸<¸=+*#†N@+'#‚€&'# '#·Å*#¸>#·Å #†N@#¸?"'#·Å #¶@#¸@"'#·Å #¶@#¸A'#‚X&'#‚€&'#á'#‚¨@#¸B'#‚~&'#‹ð" #…8" #¸C #¸D'#‚€&'#á'#‚¨!@#¸E'#‚~&'#‹ð" #…8" #¸C"#à'#á# À ©6Œ2À ©Q†NÀ ©a¸>À ©„^À ©š¸?À ©µ¸@À ©Ð¸AÀ ©ú¸BÀ ª$U¸DÀ ªC¸EÀ ªmUà '#¸,#¸F$ @+'#á*#Œ2$¸G¸H%+*#ŒÀ&+'# *#¸I'@+'#‚€&'# '#¸F*#¸J(#¸F #ŒÀ)#à'#á*#¸K'#I+#¸/'#‚€&'#á'#‚¨,@#¸L"'#¸F #¶-@#¸M"'#¸F #¶.@#¸N'#‚X&'#‚€&'#á'#‚¨/@#¸O'#‚~&'#‹ð"'#á #…8"'#‚€&'#á'#á #¸C0@#¸P'#‚~&'#‹ð"'#á #…8"'#‚€&'#á'#á #¸C1 À ªãŒ2À ªþŒÀÀ «¸IÀ «#¸JÀ «F^À «\UàÀ «m¸KÀ «€U¸/À «Ÿ¸LÀ «º¸MÀ «Õ¸NÀ «ÿ¸OÀ ¬C¸PÀ ¦FÀ ¦c¸,À §_À §±¸2À ¨ÎÀ ©!·ÅÀ ª~À ªÎ¸FÀ ¬‡  @Î##¶b'#‰Ç&'#1&'# '#‚ë#·ƒ #·ƒ"'#Š‡&'#1&'# #…†"'#Ý #†S#ƒ/+'#Ý*#†S#‚'#I"'#1&'# #A#ƒ'#I"'#‚e #‚ #ƒ'#I"'#‚X #ƒ"'#á #ƒ$ƒ^#ƒ'#I"'#‚e #‚ $ƒ^#‚Ø'#I"'# #‚Ù#‚d'#I" #‚f"'#‚g #‚h#‰Ù'#‚~"'#ó&'#1&'# #ô #‚ñ'#‚~ +#ù'#‚~ #‰Ø'#‚~ À ­^^À ­™†SÀ ­¯‚À ­ÔƒÀ ­ôƒÀ ®(ƒÀ ®O‚ØÀ ®n‚dÀ ®˜‰ÙÀ ®Ç‚ñÀ ®ÛùÀ ®ïU‰Ø)(#‚Z'#‰Ç&'#‚Z#¸Q +'#Š‡&'#‚Z*#Š·+'#Š *#¸R+'#Š—&'#‚Z*#¸S+'#Š *#¸T+'#6*#ŠÍ+'#6*#¸U+'#6*#ŠK#¸Q #Š·#‚'#I"'#‚Z #A#‚d'#I" #‚f"'#‚g #‚h#‰Ù'#‚~"'#ó&'#‚Z #ô#‚ñ'#‚~#ù'#‚~#¸V'#I#‰Ø'#‚~#¸W'#I" #J#¸X'#I" #‚f"'#‚g #‚h#Š³'#Š—&'#‚ZÀ ¯{Š·À ¯™¸RÀ ¯¯¸SÀ ¯Í¸TÀ ¯ãŠÍÀ ¯ø¸UÀ ° ŠKÀ °"^À °8‚À °W‚dÀ °‰ÙÀ °ª‚ñÀ °¾ùÀ °Ò¸VÀ °åU‰ØÀ °ö¸WÀ ±¸XÀ ±6UŠ³ '#¸Q&'#1&'# '#·ƒ#¸Y +'#Ý*#¸Z!+'#6*#¸["#¸Y"'#Š‡&'#1&'# #…† #¸Z##†S'#Ý$ #†S'#I"'#Ý #J%#ƒ'#I"'#‚e #†(&#ƒ'#I"'#‚X #ƒ"'#á #ƒ$ƒ^'#ƒ'#I"'#‚e #‚ $ƒ^(#‚Ø'#I"'# #‚Ù) À ±ÿ¸ZÀ ²¸[À ²*^À ²[U†SÀ ²lV†SÀ ²‹ƒÀ ²«ƒÀ ²ßƒÀ ³‚ØÀ ­À ­4·ƒÀ ¯À ¯U¸QÀ ±OÀ ±Ô¸YÀ ³%  @Î##¶b#¸\,@+'# *#¸]@+'# *#¸^@+'# *#¸_@+'# *#¸`@+'# *#¸a@+'# *#¸b@+'# *#¸c@+'# *#¸d@+'# *#¸e @+'# *#¸f +@+'# *#¸g + @+'# *#¸h @+'# *#¸i @+'# *#¸j @+'# *#¸k@+'# *#¸l@+'# *#¸m@+'# *#¸n@+'# *#¸o@+'# *#¸p@+'# *#¸q@+'# *#¸r@+'# *#¸s@+'# *#¸t@+'# *#¸u@+'# *#¸v@+'# *#¸w@+'# *#¸x@+'# *#¸y@+'# *#¸z@+'# *#¸{@+'# *#¸| @+'# *#¸} !@+'# *#¸~!"@+'# *#¸"#@+'# *#¸€#$@+'# *#¸$%@+'# *#¸‚%&@+'# *#¸ƒ&'@+'# *#¸„'(@+'# *#¸…()@+'# *#¸†)*@+'# *#¸‡*+€Â#·Ì'#‚~"'# #˜¼"'#1 #A,,À ³·¸]À ³Î¸^À ³å¸_À ³ü¸`À ´¸aÀ ´*¸bÀ ´A¸cÀ ´X¸dÀ ´o¸eÀ ´†¸fÀ ´¸gÀ ´´¸hÀ ´Ë¸iÀ ´â¸jÀ ´ù¸kÀ µ¸lÀ µ'¸mÀ µ>¸nÀ µU¸oÀ µl¸pÀ µƒ¸qÀ µš¸rÀ µ±¸sÀ µÈ¸tÀ µß¸uÀ µö¸vÀ ¶ ¸wÀ ¶$¸xÀ ¶;¸yÀ ¶R¸zÀ ¶i¸{À ¶€¸|À ¶—¸}À ¶®¸~À ¶Å¸À ¶Ü¸€À ¶ó¸À · +¸‚À ·!¸ƒÀ ·8¸„À ·O¸…À ·f¸†À ·}¸‡À ·”·ÌÀ ³ŒÀ ³©¸\À ·À  @Î##¶b'#·#‰#<$=>#‰"'#á #†D#<$=>0#‰#·"'# #· #<$=>0#‰#†Ù"'#†? #†k#ŽÐ'#‚~&'#‰"'#á #…†"'#6 #·#·'#I"'#á #…†"'#6 #·#¸ˆ'#I"'#á #…†#…·'#‚~&'#‰"'#á #…†#·'#‚~&'#á#·'#á #·'#‚~&'#‰"'#á #· +#·'#‰"'#á #· #£€'#‰ #…†'#‚~&'#á #¸‰'#áÀ ¹n^À ¹“·À ¹º†ÙÀ ¹×ŽÐÀ º·À ºB¸ˆÀ ºb…·À º‹·À º§·À º»·À ºä·À »U£€À »…†À »2¸‰ '#·'#‰#¸Š+'#á*#‰v+'# *#·#¸Š"'#á #†D##¸Š#·"'# #· #†D'#á#‚”'#á#·)'#‚~&'#6#·*'#6#£€'#‰#ŽÐ'#‚~&'#‰"'#á #…†"'#6 #·#·'#I"'#á #…†"'#6 #·#¸ˆ'#I"'#á #…†#…·'#‚~&'#‰"'#á #…†#˜p'#‚~&'#‰"'#6 #·#·+'#I"'#6 #·#·'#‚~&'#‰"'#á #·#·'#‰"'#á #· #…†'#‚~&'#á!#¸‰'#á"@#·¿"'#‚e #Š"'#á #·À"'#á #†D$ƒ^##¶ª'#6" #‹Å$#¶«" #‹Å"'#á #„W"'#á #†D%À »Å‰vÀ »Û·À »ð^À ¼ +·À ¼&U†DÀ ¼7‚”À ¼K·)À ¼f·*À ¼yU£€À ¼ŠŽÐÀ ¼Ä·À ¼õ¸ˆÀ ½…·À ½>˜pÀ ½k·+À ½·À ½¸·À ½Ù…†À ½õ¸‰À ¾ ·¿À ¾E¶ªÀ ¾_¶«À ¹0À ¹M‰À »FÀ »¨¸ŠÀ ¾Ž  @Î##¶b#·!€Ò#±R'#·!€Ò#·¯'# €Â#¸‹'#I""#¥¦#<$=>À ¿pU±RÀ ¿‚U·¯À ¿“¸‹À ¿EÀ ¿b·!À ¿¹  @Î##¶b"'#‚¨ #;'#6#¸Œ#¸@+*#¸Ž+'#á*#£Ì+'#6*#¸+'#6*#¸#¸ #£Ì #¸ #¸#¸‘'# "'#á #;#¸’'#6"'#1&'#¸ #¸“#‚”'#á#„^ À À+¸ŽÀ À;£ÌÀ ÀQ¸À Àf¸À À{^À À­¸‘À À̸’À Àó‚”"'#á #£Ì'#¸#¸” +%+'#1&'#¸*#¸• "'#á #¸–'#1&'#¸#¸— À ¿ßÀ ¿ü¸ŒÀ À¸À ÁÀ ÁJ¸”À Ám%¸•À ÁŠ¸—  @Î##¶b%+'# *#¸˜%+'# *#¸™%+'#á*#¸š$¸›¸œ%+'#á*#¸$¸ž¸Ÿ#¸ #<$„c>O ' #6#„‡$ŒŒ@+*#¸¡$¸¢¸£#„V$¸¤¸¥@+*#¸¦$¸§¸¨#„V$¸¤¸¥@+*#¸©$¸ª¸«@+*#¸¬$¸­¸®@+*#¸¯$¸°¸± @+*#¸²$¸³¸´ +@+*#¸µ$¸¶¸· @+*#¸¸$¸¹¸º @+*#¸»$¸¼¸½ @+*#¸¾$¸¿¸À#„V$¸Á¸Â@+*#¸Ã$¸Ä¸Å#„V$¸Á¸Â@+*#¸Æ$¸Ç¸È@#¸É'#I#<$„c>@#¸Ê'#‚~&'#‹ð"'#á #…<"'#‚€&'#á'#á #†T@#¸Ë'#áÀ Â’¸¡À µ¸¦À Âظ©À Âí¸¬À ø¯À ø²À Ã,¸µÀ ÃA¸¸À ÃV¸»À Ãk¸¾À ÃŽ¸ÃÀ ñ¸ÆÀ ÃƸÉÀ Ãå¸ÊÀ Ä)¸Ë'#á#¸Ì"'#á #…"'#‚¨ #J'#á#¸Í"'#á #…'#á#¸Î'#á#¸Ï"'#‚€&'#á'#á #†T'#á#¸Ð"'#‚€&'#á'#á #†T'#á#¸Ñ"'#‚€&'#á'#á #†T'#á#¸Ò#¸Ó @+*#¸Ô$¸Õ¸Ö`#¸×"'#6 #œüP#¸×'#6@+'#6*#¸Ø@+'#‚€&'# '#¸Ù*#¸Ú @#¸Û'#á!@#¸Ü'#I"'# #Œ"'#á #ŒX"'#¸Ý #¸Þ"'# #†C"@#¸ß'#I"'# #Œ"'#¸à #ŒX"'#‚¨ #‚ #@#B'#á$@#ˆ$'#á%@#…“'#á& À ÅÒ¸ÔÀ ÅçV¸×À ÆU¸×À ƸØÀ Æ&¸ÚÀ ÆI¸ÛÀ Æ]¸ÜÀ Æ¢¸ßÀ ÆÞBÀ Æñˆ$À Ç…“  +#œç( +#®¤) +#Œp* +#†C+ +#¸á, +#¸3- +#¸4.#¸à'#¸Ù/ +'# *#Œ0+'# *#œç1+'# *#®¤2+'#á*#Œp3+'# *#†C4+'#á*#¸á5+'# *#¸36+'# *#¸47+'# *#¸88+'# *#¸79#¸Ù #Œ:#¸â'#‚€&'#á'#‚¨;#¸ã'#I"'#‚€&'#á'#‚¨ #‚¢"'#á #‚¦"'#‚e #J< À Ç°ŒÀ ÇÅœçÀ ÇÚ®¤À ÇïŒpÀ ȆCÀ ȸáÀ È0¸3À ÈE¸4À ÈZ¸8À Èo¸7À È„^À Èš¸âÀ ȼ¸ãÀ ÁáÀ Áþ%¸˜À Â%¸™À Â,%¸šÀ ÂG%¸À Âb¸ À Ä=À ij¸ÌÀ ÄɸÍÀ Äø¸ÎÀ ŸÏÀ Å1¸ÐÀ Åb¸ÑÀ Å“¸ÒÀ ÅĸÓÀ ÇÀ Çi ¸àÀ Ç¢¸ÙÀ É  @Î##¶b%+*#¸ä%+*#¸å#‹ž#¸æ@+'#¸æ*#¸çP#…{'#¸æ`#‘H"'#¸æ #¸è@#‹ž)(#‚j'#‚j'#‚j #‹š"'#·"'#á #£‹"'#· #¸é"'#I"'#á #¸ê"'#· #¸ë"'#£)"'#á #£"'#‚~&'#·Û"'#á #¬“"'#·Û"'#á #·æ"'#‚~&'#6"'#á"'#á #¸ì"'#6"'#á"'#á #¸í"'#‚~&'#·Ï"'#á"'#6 #¸î"'#·Ï"'#á"'#6 #¸ï"'#ó&'#·î"'#á"'# "'#6 #¸ð"'#6 #¸ñ"'#‰"'#á #¸ò"'#‚~&'#¸ó"'#‚¨"'# "'#‚¨ #¸ô"'#„À #Š #¸õ"'#‚~&'#¸ö&'#¸ó"'#‚¨"'# "'#‚¨ #¸ô #¸÷"'#‚~&'#¸ø"'#‚¨"'# "'# #¸ù"'#6 #¸ú"'#6 #·g #¸û@#¸ü)(#‚j'#‚j'#‚j #‹š"'#¸æ #¸è#£‹'#·"'#á #†D#¸é'#· #¸ê'#I"'#á #†D +#¸ë'#· #£'#£)"'#á #†D #¬“'#‚~&'#·Û"'#á #†D #·æ'#·Û"'#á #†D#¸ì'#‚~&'#6"'#á #·ò"'#á #·ó#¸í'#6"'#á #·ò"'#á #·ó#¸î'#‚~&'#·Ï"'#á #†D"'#6 #·#¸ï'#·Ï"'#á #†D"'#6 #·#¸ð'#ó&'#·î"'#á #†D"'# #·ï"'#6 #·#¸ñ'#6#¸ò'#‰"'#á #†D#¸õ'#‚~&'#¸ó" #;"'# #†C" #¸ô"'#„À #Š#¸÷'#‚~&'#¸ö&'#¸ó" #;"'# #†C" #¸ô#¸û'#‚~&'#¸ø" #Œp"'# #†C"'# #¸ù"'#6 #¸ú"'#6 #·gÀ Ê4¸çÀ ÊJU…{À Ê[V‘HÀ Êv‹žÀ Í¢¸üÀ ÍÜ£‹À Íý¸éÀ θêÀ Î1¸ëÀ ÎE£À Îf¬“À ηæÀ ΰ¸ìÀ Îå¸íÀ ϸîÀ ÏG¸ïÀ Ït¸ðÀ ϵ¸ñÀ ÏȸòÀ Ïé¸õÀ Ð1¸÷À Ðq¸û '#¸æ#¸ý$+'#¸æ*#ˆ¦+'#·"'#á*#¸þ+'#·*#¸ÿ+'#I"'#á*#¹+'#·*#¹+'#£)"'#á*#¹+'#‚~&'#·Û"'#á*#·è +'#·Û"'#á*#·å!+'#‚~&'#6"'#á"'#á*#¹"+'#6"'#á"'#á*#¹#+'#‚~&'#·Ï"'#á"'#6*#¹$+'#·Ï"'#á"'#6*#¹%+'#ó&'#·î"'#á"'# "'#6*#¹&+'#6*#¹'+'#‰"'#á*#·±(+'#‚~&'#¸ó"'#‚¨"'# "'#‚¨ #¸ô"'#„À #Š*#¹ )+'#‚~&'#¸ö&'#¸ó"'#‚¨"'# "'#‚¨ #¸ô*#¹ +*+'#‚~&'#¸ø"'#‚¨"'# "'# #¸ù"'#6 #¸ú"'#6 #·g*#¹ +#¸ý #¸þ #¸ÿ #¹ #¹ #¹ #·è #·å #¹ #¹ #¹ #¹ #¹ #¹ #·± #¹  #¹ + #¹ ,#£‹'#·"'#á #†D#„^-#¸é'#·#„^.#¸ê'#I"'#á #†D#„^/#¸ë'#·#„^0#£'#£)"'#á #†D#„^1#¬“'#‚~&'#·Û"'#á #†D#„^2#·æ'#·Û"'#á #†D#„^3#¸ì'#‚~&'#6"'#á #·ò"'#á #·ó#„^4#¸í'#6"'#á #·ò"'#á #·ó#„^5#¸î'#‚~&'#·Ï"'#á #†D"'#6 #·#„^6#¸ï'#·Ï"'#á #†D"'#6 #·#„^7#¸ð'#ó&'#·î"'#á #†D"'# #·ï"'#6 #·#„^8#¸ñ'#6#„^9#¸ò'#‰"'#á #†D#„^:#¸õ'#‚~&'#¸ó" #;"'# #†C" #¸ô"'#„À #Š#„^;#¸÷'#‚~&'#¸ö&'#¸ó" #;"'# #†C" #¸ô#„^<#¸û'#‚~&'#¸ø" #Œp"'# #†C"'# #¸ù"'#6 #¸ú"'#6 #·g#„^=$À Ñ„ˆ¦À Ñš¸þÀ ÑÁ¸ÿÀ ÑÞ¹À Ò¹À Ò!¹À ÒH·èÀ Òw·åÀ Òž¹À ÒÖ¹À Ó¹À Ó>¹À Ón¹À Ó¯¹À ÓË·±À Óò¹ À ÔJ¹ +À Ôš¹ À Ôÿ^À Õ¥£‹À Õ͸éÀ Õè¸êÀ Ö¸ëÀ Ö*£À ÖR¬“À Ö‚·æÀ Öª¸ìÀ Öæ¸íÀ ׸îÀ ×V¸ïÀ ׊¸ðÀ ×Ò¸ñÀ ×ì¸òÀ ظõÀ Øc¸÷À ت¸ûÀ ÉæÀ Ê%¸äÀ Ê%¸åÀ Ê&¸æÀ ÐÓÀ Ño¸ýÀ Ù  @Î##¶b#¶J@+*#¹ @+*#¹ @+*#¹@+*#¹@+*#¹@+*#¹P#¹'# P#¹'#áP#¹'#á P#¹'#á +P#¹'#á P#¹'#á @+'#6*#¹ @+'#6*#¹@+'#6*#¹@+'#6*#¹@+'#6*#¹@+'#6*#¹P#‹½'#‚€&'#á'#áP#ŒÁ'#áP#¹'#áP#¹'#†?P#¹ '#1&'#áP#‹¯'#á#„V$¹!¹"P#‹²'#áP#‡O'#áÀ Úw¹ À Ú‡¹ À Ú—¹À Ú§¹À Ú·¹À ÚǹÀ Ú×U¹À ÚçU¹À ÚøU¹À Û U¹À ÛU¹À Û+U¹À Û<¹À ÛQ¹À Ûf¹À Û{¹À Û¹À Û¥¹À ÛºU‹½À ÛÙUŒÁÀ ÛêU¹À ÛûU¹À Ü U¹ À Ü$U‹¯À ÜCU‹²À ÜTU‡OÀ ÚLÀ Úi¶JÀ Üe  @Î##¶b#¹#€Â#¹ '# €Â#¹ '#á€Â#¹'#á€Â#¹€Â#¹€Â#¹$€Â#¹%€Â#¹&€Â#¹''#1&'#á €Â#¹('#á +€Â#¹'#á €Â#¹)'#á €Â#¹*'#†? @+'#á*#ŒÁ@+'#á*#¹@+'#á*#‹²@+'#á*#¹+#<$=>@#¹'#á@+*#¹,P#¹'# P#¹'#áP#¹'#áP#¹'#†?@+'#á*#¹-P#¹'#áP#¹'#áP#¹ '#1&'#áP#‹½'#‚€&'#á'#áP#‡O'#áÀ Ýc¹ À Ýw¹ À ÝŒ¹À Ý¡¹À Ý°¹À Ý¿¹$À Ýι%À Ýݹ&À Ýì¹'À Þ¹(À Þ¹À Þ2¹)À ÞG¹*À Þ\ŒÁÀ Þr¹À Þˆ‹²À Þž¹+À ÞƹÀ ÞÚ¹,À ÞêU¹À ÞúU¹À ß U¹À ßU¹À ß-¹-À ßCU¹À ßTU¹À ßeU¹ À ß}U‹½À ßœU‡O)(#…¥ '#ˆH&'#á'#…¥#¹.+'#‚€&'#á'#…¥*#‰#…´'#6"'#‚e #‚¦ #…³'#6"'#‚e #J!#¤'#…¥"'#‚e #‚¦"#…5'#I"'#á #‚¦"'#…¥ #J##…º'#…¥"'#á #‚¦'#…¥ #…¸$#…Š'#I"'#‚€&'#á'#…¥ #2%#…—'#…¥"'#‚e #‚¦&#…“'#I'#…Z'#I'#I"'#á #‚¦"'#…¥ #J #…T(#…ª'#‚X&'#á)#…«'#‚X&'#…¥*#'# +#…g'#6,#…h'#6-#…°'#‚X&'#…¯&'#á'#…¥.#‚å)(#…¬(#…­'#‚€&'#…¬'#…­'#…¯&'#…¬'#…­"'#á #‚¦"'#…¥ #J #‰/#…·'#…¥"'#á #‚¦'#…¥"'#…¥ #J #…·'#…¥ #…¸0#…¹'#I'#…¥"'#á #‚¦"'#…¥ #J #…·1#…š'#I'#6"'#á #‚¦"'#…¥ #J #…V2#‚”'#á3À ઉÀ àÎ…´À àî…³À á ¤À á.…5À áZ…ºÀ ጅŠÀ á¹…—À áÚ…“À áí…ZÀ â)U…ªÀ âBU…«À â[UÀ âjU…gÀ âzU…hÀ âŠU…°À ⱂåÀ ã…·À ãk…¹À 㨅šÀ ãä‚”À Ý8À ÝU¹#À ß­À à¹.À ãø  @Î##¶b#¹/€Â#¹0'#†ˆ"'# #ž~€Â#¹1'#I"'# #ž~€Â#¹2'# €Â#¹3'#I"'# #·º€Â#¹4'# "'#µ1 #ŒÀ€Â#¹5'#ó&'#¹6"'#¹6 #¹7À äÒ¹0À äó¹1À å¹2À å'¹3À åG¹4À åh¹5"'# #†'#†ˆ#®£ "'# #†'#I#¹8'# #¹8 "'#„À #„Á'#I#¹9 +'# #¹: #¹; €Ò#¹<'# €Ò#¹='# À æTU¹<À æeU¹=#¹> @+*#¹?' #¹>#„Ä@+*#¹@#¹?#„V$¹A¹B@+*#¹C' #¹>#„Ä@+*#¹D#¹C#„V$¹E¹F@+*#¥«' #¹>#„Ä@+*#¹G#¥«#„V$¹H¹I@+*#¹J' #¹>#„Ä@+*#¹K#¹J#„V$¹L¹MP#…«'#1&'#¹>#‚”'#á+'# *#·[*#¹>#„Ä #·[ À 擹?À æµ¹@À æÖ¹CÀ æø¹DÀ 祫À ç;¹GÀ ç\¹JÀ ç~¹KÀ çŸU…«À ç·‚”À çË·[À çà„Ä#µ1 +#¹8'#‚~&'# €Â#B'#‚~&'#µ1"'#á #ŒÁ"'#1&'#á #Œ7"'#á #¹N"'#‚€&'#á'#á #‹½"'#6 #¹O"'#6 #¹P"'#¹> #‚• #¹>#¹?€Â#‹4'#‚~&'#¹Q"'#á #ŒÁ"'#1&'#á #Œ7"'#á #¹N"'#‚€&'#á'#á #‹½"'#6 #¹O"'#6 #¹P"'#Ý #¹R#¹S"'#Ý #¹T#¹S€Â#¹U'#¹Q"'#á #ŒÁ"'#1&'#á #Œ7"'#á #¹N"'#‚€&'#á'#á #‹½"'#6 #¹O"'#6 #¹P"'#Ý #¹R#¹S"'#Ý #¹T#¹S €Â#¹V'#6"'# #¹:"'#¹6 #¹7 #¹6#¹W!#¹X'#ó&'#1&'# "#¹Y'#ó&'#1&'# ##¹Z'#·ƒ$#¹:'# %#‹È'#6"'#¹6 #¹7 #¹6#¹W& +À èeU¹8À è}BÀ é!‹4À éÕ¹UÀ ê¹VÀ ê¸U¹XÀ ê×U¹YÀ êöU¹ZÀ ëU¹:À ë‹È#¹Q'+'# *#¹8(+*#¹X)+*#¹Y*+'# *#¹:+#¹Q #¹: #¹8 #¹X #¹Y,À 땹8À 몹XÀ 뺹YÀ ëʹ:À ëß^#¹6-?@+'#¹6*#¹[' #¹6#8$¹\¹].@+'#¹6*#¹^' #¹6#8$¹_¹`/@+'#¹6*#¹a' #¹6#8$¹b¹c0@+'#¹6*#¹d' #¹6#8$¹e¹f1@+'#¹6*#¹g' #¹6#8$¹h¹i2@+'#¹6*#¹j' #¹6#8$¹k¹l3@+'#¹6*#¹m' #¹6#8$¹n¹o4@+'#¹6*#¹p' #¹6#8$¹q¹r5@+'#¹6*#¹s' #¹6#8 $¹t¹u6@+'#¹6*#¹v' #¹6#8 +$¹w¹x7@+'#¹6*#¹y' #¹6#8 $¹z¹{8@+'#¹6*#¹|' #¹6#8 $¹}¹~9@+'#¹6*#¹' #¹6#8 $¹€¹:@+'#¹6*#¹‚' #¹6#8$¹ƒ¹„;@+'#¹6*#¹W' #¹6#8$¹…¹†<@+'#¹6*#¹‡' #¹6#8$¹ˆ¹‰=@+'#¹6*#¹Š' #¹6#8$¹‹¹Œ>@+'#¹6*#¹' #¹6#8$¹Ž¹?@+'#¹6*#¹' #¹6#8$¹‘¹’@@+'#¹6*#¹“' #¹6#8$¹”¹•A@+'#¹6*#¹–' #¹6#8$¹—¹˜B@+'#¹6*#¹™' #¹6#8$¹š¹›C@+'#¹6*#¹œ' #¹6#8$¹¹žD@+'#¹6*#¹Ÿ' #¹6#8$¹ ¹¡E@+'#¹6*#¹¢' #¹6#8$¹£¹¤F@+'#¹6*#¹¥' #¹6#8$¹¦¹§G@+'#¹6*#¹¨' #¹6#8$¹©¹ªH@+'#¹6*#¹«' #¹6#8$¹¬¹­I@+'#¹6*#¹®' #¹6#8$¹¯¹°J@+'#¹6*#¹]#¹[#„V$¹±¹²K@+'#¹6*#¹`#¹^#„V$¹³¹´L@+'#¹6*#¹c#¹a#„V$¹µ¹¶M@+'#¹6*#¹f#¹d#„V$¹·¹¸N@+'#¹6*#¹i#¹g#„V$¹¹¹ºO@+'#¹6*#¹l#¹j#„V$¹»¹¼P@+'#¹6*#¹o#¹m#„V$¹½¹¾Q@+'#¹6*#¹r#¹p#„V$¹¿¹ÀR@+'#¹6*#¹u#¹s#„V$¹Á¹ÂS@+'#¹6*#¹x#¹v#„V$¹Ã¹ÄT@+'#¹6*#¹{#¹y#„V$¹Å¹ÆU@+'#¹6*#¹~#¹|#„V$¹Ç¹ÈV@+'#¹6*#¹#¹#„V$¹É¹ÊW@+'#¹6*#¹„#¹‚#„V$¹Ë¹ÌX@+'#¹6*#¹†#¹W#„V$¹Í¹ÎY@+'#¹6*#¹‰#¹‡#„V$¹Ï¹ÐZ@+'#¹6*#¹Œ#¹Š#„V$¹Ñ¹Ò[@+'#¹6*#¹#¹#„V$¹Ó¹Ô\@+'#¹6*#¹’#¹#„V$¹Õ¹Ö]@+'#¹6*#¹•#¹“#„V$¹×¹Ø^@+'#¹6*#¹˜#¹–#„V$¹Ù¹Ú_@+'#¹6*#¹›#¹™#„V$¹Û¹Ü`@+'#¹6*#¹ž#¹œ#„V$¹Ý¹Þa@+'#¹6*#¹¡#¹Ÿ#„V$¹ß¹àb@+'#¹6*#¹¤#¹¢#„V$¹á¹âc@+'#¹6*#¹§#¹¥#„V$¹ã¹äd@+'#¹6*#¹ª#¹¨#„V$¹å¹æe@+'#¹6*#¹­#¹«#„V$¹ç¹èf@+'#¹6*#¹°#¹®#„V$¹é¹êg+'# *#¹ëh+'#á*#‚†i*#¹6#8 #¹ë #‚†j#‚”'#ák#·í'#ó&'#¹6l?À ìE¹[À ìq¹^À ì¹aÀ ìɹdÀ ìõ¹gÀ í!¹jÀ íM¹mÀ íy¹pÀ í¥¹sÀ íѹvÀ íý¹yÀ î)¹|À îU¹À À î­¹WÀ îÙ¹‡À ﹊À ï1¹À ï]¹À “À ïµ¹–À ïá¹™À 𠹜À ð9¹ŸÀ ðe¹¢À 𑹥À 𽹨À ð鹫À ñ¹®À ñA¹]À ñh¹`À ñ¹cÀ ñ¶¹fÀ ñݹiÀ ò¹lÀ ò+¹oÀ òR¹rÀ òy¹uÀ ò ¹xÀ òǹ{À òî¹~À ó¹À ó<¹„À óc¹†À 󊹉À 󱹌À óعÀ óÿ¹’À ô&¹•À ôM¹˜À ôt¹›À ô›¹žÀ ô¹¡À ô鹤À õ¹§À õ7¹ªÀ õ^¹­À õ…¹°À õ¬¹ëÀ õÁ‚†À õ×8À õø‚”À ö ·í'#¶¬#¹ìm+'#á*#„Wn+*#·Ÿo +#¹ì #„W #·Ÿp#‚”'#áqÀ ø3„WÀ øI·ŸÀ øY^À ø{‚”'#¶¬#¹ír+'#á*#ŒÁs+'#1&'#á*#Œ7t+'#á*#„Wu+'# *#‹ñv +#¹í #ŒÁ #Œ7 #„W$ƒ^ #‹ñw#‚”'#áxÀ øÃŒÁÀ øÙŒ7À øö„WÀ ù ‹ñÀ ù!^À ù^‚”À ä§ À äĹ/À å’À å½®£À åß:¹8À æ9¹8À æ¹9À æ49¹:À æF¹;À ævÀ æ…¹>À çùÀ èWµ1À ëAÀ 뇹QÀ ìÀ ì7¹6À ö(À ø¹ìÀ øÀ ø­¹íÀ ùr  @Î##¶b '#ó&'#¹î#¹ï+'#¹ð*#¹ñ"#¹ï#8 #¹ñ@#ò'#‚~&'#¹ï " #Œp"'# #†C"'#¹ò #œ’"'# #¸ù"'#6 #¸ú"'#6 #¹ó"'#6 #¹ô"'#1&'#á #¹õ"'#6 #·g#ˆ'#‡&'#¹î'#I"'#¹î #¹ö #ˆ"'#…6 #„Ù'#I #ˆ"'#6 #ˆ#†C'# #Œp'#¸Ý#ù'#‚~&'#¹ï #¹÷'#I" #¹øÀ úZ¹ñÀ úp8À úˆòÀ û0ˆÀ û›U†CÀ û«UŒpÀ û¼ùÀ ûØV¹÷ '#ó&'#¹ù#¹ð +'#¹ú*#¹ñ ++'#Š—&'#¹ù*#Š³ +'#‡&'#¹û*#Š© +'#¹ò*#¹ü +'#6*#¹ó+'#6*#¹ô+'#1&'#á*#¹õ+'#6*#·  #¹ð#8 #¹ñ #¹ü #¹ó #¹ô #¹õ@#ò'#‚~&'#¹ð " #Œp"'# #†C"'#¹ò #œ’"'# #¸ù"'#6 #¸ú"'#6 #¹ó"'#6 #¹ô"'#1&'#á #¹õ"'#6 #·g#ˆ'#‡&'#¹ù'#I"'#¹ù #y #ˆ"'#…6 #„Ù'#I #ˆ"'#6 #ˆ#†C'# #Œp'#¸Ý#ù'#‚~&'#¹ð#ˆ#'#I"'#¹û #©ï#¹ý'#I#¹þ'#I #¹÷'#I" #¹øÀ üH¹ñÀ ü^Š³À ü|Š©À üš¹üÀ ü°¹óÀ üŹôÀ üÚ¹õÀ ü÷· À ý 8À ýHòÀ ýðˆÀ þZU†CÀ þjUŒpÀ þ{ùÀ þ—ˆ#À þ·¹ýÀ þʹþÀ þÝV¹÷À ú À ú=¹ïÀ ûòÀ ü+¹ðÀ þ÷  @Î##¶b'#¸ó#¹î²#¹î#8"'#¹ù #¹ÿ@#œà'#‚~&'#¹î" #;"'# #†C"'#¹ò #œ’'#6"'#º #º #º"'#1&'#á #¹õ"'#„À #Š@#º'#‚~&'#¸ö&'#¹î" #;"'# #†C"'#¹ò #œ’'#6"'#º #º #º"'#1&'#á #¹õ@#ƒä'#‚~&'#¹î"'#¸ó #¹ö" #;"'#¹ò #œ’'#6"'#º #º #º"'#1&'#á #$ºº#¹õ@#º'#‚~&'#¹î"'#¸ó #¹ö"'#¹ò #œ’"'#1&'# #º"'#6 #¹ó"'#6 #¹ô"'#1&'#á #¹õ#º'#º#º '#á#º +'#I"'#6 #º "'#6 #¹ó"'#6 #¹ôÀ ÿË8À ÿçœàÀ lºÀ éƒäÀ oºÀ ôUºÀ Uº À º +'#¹û#¹ù @#œà'#‚~&'#¹ù" #;"'# #†C"'#¹ò #œ’'#6"'#º #º #º"'#1&'#á #¹õ"'#„À #Š +@#º'#‚~&'#¸ö&'#¹ù" #;"'# #†C"'#¹ò #œ’'#6"'#º #º #º"'#1&'#á #¹õ @#ƒä'#‚~&'#¹ù"'#¹û #¹ö"'#‡&'#º #‰Ð" #;"'#¹ò #œ’'#6"'#º #º #º"'#1&'#á #¹õ @#º'#‚~&'#¹ù"'#¹û #¹ö"'#¹ò #œ’"'#‡&'#º #‰Ð"'#1&'# #º"'#6 #¹ó"'#6 #¹ô"'#1&'#á #¹õ #º +'#I"'#6 #º "'#6 #¹ó"'#6 #¹ô#º'#º#º '#áÀ ªœàÀ /ºÀ ¬ƒäÀ =ºÀ Úº +À  UºÀ 1Uº #º#<$=>²#º#8#<$=>#º '# #º'#á#º'# #º'#á#º'#á#º'#„Œ#º'#„ŒÀ 8À §Uº À ·UºÀ ÈUºÀ ØUºÀ éUºÀ úUºÀ  Uº#º+'#6*#žt+'#6*#º+'#6*#º+'#6*#º+'#6*#º+'#6*#º +'#6*#º!#º"À bžtÀ wºÀ ŒºÀ ¡ºÀ ¶ºÀ ˺À àºÀ õ^ '#ó&'#º '#¹ù#º#S@+'# *#ºÉ$@+'# *#ºÊ%@+'# *#ºË&@+'# *#º'@+'# *#º (@+'# *#º!)@+'# *#º"*@+'# *#º#+@#º$'#6"'# #¤ ,+'#¹û*#¹ñ-+'#Š &'#º*#º%.+*#Š³/+'#‡&'#º *#º&0+'#1&'# *#º'1+'# *#º(2+'#¸Ý*#Œp3+'#6*#º)4+'#¹ò*#œ’5+'#6*#¹ó6+'#6*#¹ô7+'#6"'#º #º*#º8+*#º*9+'#6*#º+:+'#6*#º,;+'# *#±‡<+'#6*#º-=+'#6*#º.>+'#6*#º/?+'#6*#º0@+'#6*#º1A+'#Š &'#¹ù*#·£B+'#º*#º2C+'#6*#º3D+'#6*#º4E+'#6*#º5F+'#º6*#º7G+'#á*#º8H@#œà'#‚~&'#º "'#‚¨ #;"'# #º9"'#6 #º)"'#¹û #¹ö"'#¹ò #œ’"'#‡&'#º #‰Ð"'#1&'# #º"'#6 #¹ó"'#6 #¹ô'#6"'#º #º #º"'#1&'#á #¹õI#º  #Œp"'# #º9 #º) #œ’ #¹ñ"'#‡&'#º #‰Ð #º' #¹ó #¹ô #º"'#1&'#á #¹õJ#ˆ'#‡&'#º '#I"'#º #A #ˆ"'#…6 #„Ù'#I #ˆ"'#6 #ˆK@#º:'#I" #;"'# #º9"'#6 #¹ó"'#6 #¹ôL#†C'# M#º;'#¸ÝN#º<'# O #¹÷'#I" #¹øP#¬O'# Q#ù'#‚~&'#¹ùR#º='#I"'#¹û #º>S#‰Û'#IT#º?'#I"'#º@ #˜iU#ºA'#6V #ºA'#I"'#6 #JW#ºB'#6X #ºB'#I"'#6 #JY#°¹'# "'# #Z@#ºC'# "'# #…2[#ƒ'# "'#1&'# #A"'# #…2"'# #å\#º'#º]#º '#á^#ºD'#6"'#º #º_#ºE'#6"'#ºF #¥‰"'#6 #œü`#ºG'# "'#ºH #¥‰a#ºI'#I"'#ºH #¥‰b#ºJ'#I"'#º #‰ìc#ºK'#Id#ºL'#Ie#ºM'#If#ºN'#I" #ƒÆ"'#‚g #‚hg#ºO'#Ih#ºP'#‚~&'#Ii#º +'#I"'#6 #º "'#6 #¹ó"'#6 #¹ôj#ºQ'#Ik#¹ý'#Il#¹þ'#Im#ºR'#‚~&'#In#ºS'#‚~&'#Io#ºT'#1&'# "'# #åp#ºU'#Iq#ºV'#Ir#ºWs#ºXt#ºYu#ºZ'#‚~&'#ºvSÀ fºÀ }ºÀ ”ºÀ «ºÀ º À Ùº!À ðº"À º#À º$À =¹ñÀ Sº%À qŠ³À º&À Ÿº'À »º(À ÐŒpÀ æº)À ûœ’À ¹óÀ &¹ôÀ ;ºÀ dº*À tº+À ‰º,À ž±‡À ³º-À Ⱥ.À ݺ/À òº0À +º1À +·£À +:º2À +Pº3À +eº4À +zº5À +º7À +¥º8À +»œàÀ Ÿ^À )ˆÀ “º:À ÐU†CÀ àUº;À ñUº<À V¹÷À ¬OÀ .ùÀ Jº=À m‰ÛÀ €º?À  UºAÀ °VºAÀ ÎUºBÀ ÞVºBÀ ü°¹À ºCÀ <ƒÀ UºÀ ’Uº À £ºDÀ úEÀ ïºGÀ ºIÀ /ºJÀ OºKÀ bºLÀ uºMÀ ˆºNÀ ²ºOÀ źPÀ ຠ+À &ºQÀ 9¹ýÀ L¹þÀ _ºRÀ zºSÀ •ºTÀ »ºUÀ κVÀ áºWÀ ïºXÀ ýºYÀ  ºZ#º[w+'#1&'# *#A#<$=>$º\‰Mx+'# *#B#<$=>y+'# *#C#<$=>z+'# *#ƒ7{#º["'# #ƒ7|#º]'#I"'# #å}#º^'#I"'# #å~#…g'#6#'# €€#º_'# €#Œº'# €‚#º`'# €ƒ#°¹'# "'# #倄#ƒ'# "'#1&'# #ºa"'# #…2"'# #倅#ºb'# '#1&'# "'# #ºc #£.€†#ºd'#6"'#¹û #¹ö€‡À žAÀ ÉBÀ èCÀ ƒ7À ^À 5º]À Tº^À sU…gÀ ƒUÀ “Uº_À ¤UŒºÀ µUº`À Æ°¹À æƒÀ %ºbÀ \ºd#º6€ˆ²#º6#8€‰#œà'#I"'#á #ºe"'#¹ò #œ’"'#6 #º)"'#6 #¹ó"'#6 #¹ô"'# #¯‚€Š#ºf'#I€‹#ºg'#‚~&'#6€Œ#º '#á€#ºh'#I€Ž#º +'#I"'#6 #º "'#6 #¹ó"'#6 #¹ô€#ž¥'#I€#º'#º€‘#ºi'# "'# #ºj€’#ºk'#I"'#…6 #‚O€“#ºl'#I"'#…6 #ºm€”#·='# €•#’ð'#1&'#º[€–À ü8À  œàÀ jºfÀ ~ºgÀ šº À ¯ºhÀ ú +À ûž¥À UºÀ !ºiÀ AºkÀ bºlÀ ƒ·=À —U’ð'#¶¬#ºn€—+'#á*#ŒX€˜+'#á*#„W€™+'#¶­*#·Ÿ€š #ºn"'#á #„W$ƒ^"'#¶­ #·Ÿ6#8$ºoºn#„W#·Ÿ#<$=>€›*#ºn#8 #ŒX #„W #·Ÿ€œ#‚”'#á€À )ŒXÀ @„WÀ W·ŸÀ n^À ¼8À ç‚” '#ºn#ºp#<$=>€ž #ºp"'#á #„W$ƒ^"'#¶­ #·ŸE#8$ºqºp#„W#·Ÿ#<$=>€ŸÀ I^ '#ºn#ºr€  #ºr"'#á #„W$ƒ^"'#¶­ #·ŸE#8$ºsºr#„W#·Ÿ#<$=>€¡À ´^À ÿ˜ +À ÿµ¹îÀ \À ”¹ùÀ BÀ tºÀ À TºÀ À AºÀ 'À º[À }À íº6À °À ºnÀ üÀ (ºpÀ —À žºrÀ   @Î##¶b#¹ò’#¹ò"'#6 #ºt€Ò#ºu'#¹ò#ºv'#I"'#á #†N"'#á #ž.#ºw'#I"'#1&'# #ºx"'#á #ž.#ºy'#I"'#á #†N"'#á #ž.#ºz'#I"'#1&'# #º{"'#á #ž.#º|'#I"'#á #†N"'#á #ž.#º}'#I"'#1&'# #º~"'#á #ž.#º'#I"'#á #†N"'#á #ž. #º€'#I"'#1&'# #º"'#á #ž. +€Ò#º‚'#6#‚´ #ºƒ'#I"'#1&'#á #¯‚"'#6 #º) @#º„'# "'#1&'#á #¯‚ @#º…'# "'#1&'#á #¯‚À §^À ÅUºuÀ ׺vÀ ºwÀ =ºyÀ mºzÀ £º|À Óº}À  ºÀ 9º€À oUº‚À ‡ºƒÀ ºº„À ẅÀ |À ™¹òÀ   @Î##¶b%+'# *#º†#º‡+'# *#ºˆ#º‰'# #Œ'#‚€"'#6 #‡ #ºŠ'#á#º‹'#á#ºŒ'#á#º'#á"'#6 #‡ À ººˆÀ ÏUº‰À ߌÀ ÿUºŠÀ Uº‹À !UºŒÀ 2ºÀ zÀ —%º†À ¬º‡À R  @Î##¶b#ºŽ @+'#ºŽ*#º' #ºŽ#8@+'#ºŽ*#º' #ºŽ#8@+'#ºŽ*#º‘' #ºŽ#8#$DE@+'#ºŽ*#…b' #ºŽ#8OO@+'#ºŽ*#º’#º#„V$º“º”@+'#ºŽ*#º•#º#„V$º–º—@+'#ºŽ*#º˜#…b#„V$º™ºš+'# *#„¢*#ºŽ#8 #„¢ 0#ºŽ#º›"'# #J +#à'#á #‚”'#á À ȺÀ ïºÀ º‘À H…bÀ qº’À ˜º•À ¿º˜À æ„¢À û8À º›À .UàÀ ?‚”#¸Ý P#ºœ'#¸Ý€Ò#º'#¸Ý#„V$ºžºŸP#º '#¸Ý€Ò#º¡'#¸Ý#„V$º¢º£P#º¤'#¸Ý€Ò#º¥'#¸Ý#„V$º¦º§P#º¨'#¸Ý€Ò#º©'#¸Ý#„V$ºªº«#ŒX'#ºŽ#Œp'#á#;'#á#º¬'# #º­'#6#º®'#6#º¯'#6’#¸Ý"'#á #Œp"'#ºŽ #$DE#ŒX²#¸Ý#º°"'# #º¬"'#ºŽ #$DE#ŒX#žA'#‚~&'#¸Ý€Â#…é'#‚~&'#1&'#¸Ý"'#á #;"'#ºŽ #ŒX #ºŽ#…b €Â#º±'#¸Ý"'#¸Ý #Œp"'#á #;!€Â#„k'#¸Ý"'#á #Œp"À ½UºœÀ ÎUºÀ îUº À ÿUº¡À !Uº¤À !0Uº¥À !PUº¨À !aUº©À !UŒXÀ !’UŒpÀ !£U;À !³Uº¬À !ÃUº­À !ÓUº®À !ãUº¯À !ó^À "(º°À "_žAÀ "{…éÀ "º±À "ð„k#º²##à'#á$#¥'# %#º³'#1&'#¸Ý&€Ò#º´'#6'€Â#¨'#‚~&'#1&'#º²"'#6 #ºµ"'#6 #º¶"'#ºŽ #ŒX #ºŽ#…b(À #²UàÀ #ÃU¥À #ÓUº³À #ëUº´À #ü¨'#ó&'#¹û#¹ú)€Â#ò'#‚~&'#¹ú" #Œp"'# #†C"'# #¸ù"'#6 #¸ú"'#6 #·g*#†C'# +#Œp'#¸Ý,#ù'#‚~&'#¹ú-À $›òÀ $þU†CÀ %UŒpÀ %ù'#ó&'#¸ó#¸ø.@#ò'#‚~&'#¸ø" #Œp"'# #†C"'# #¸ù"'#6 #¸ú"'#6 #·g/€Â#‹/'#‚~&'#¸ø" #Œp"'# #†C"'# #¸ù"'#6 #¸ú"'#6 #·g0#†C'# 1#Œp'#¸Ý2#ù'#‚~&'#¸ø3À %vòÀ %Ø‹/À &;U†CÀ &KUŒpÀ &\ù#º@4@+'#º@*#º·' #º@#85@+'#º@*#‹Î' #º@#86@+'#º@*#º¸' #º@#87@+'#º@*#º¹#º·#„V$ººº»8@+'#º@*#º¼#‹Î#„V$º½º¾9@+'#º@*#º¿#º¸#„V$ºÀºÁ:+*#„¢;*#º@#8 #„¢<À &ªº·À &Ñ‹ÎÀ &øº¸À 'º¹À 'Fº¼À 'mº¿À '”„¢À '¤8#ºF=@+'#ºF*#ºÂ' #ºF#8>@+'#ºF*#ºÃ#ºÂ#„V$ºÄºÅ?@+'#ºF*#ºÆ' #ºF#8@@+'#ºF*#ºÇ' #ºF#8A@+'#ºF*#ºÈ' #ºF#8B@+'#ºF*#ºÉ' #ºF#8C+*#„¢D*#ºF#8 #„¢EÀ ( ºÂÀ (0ºÃÀ (WºÆÀ (~ºÇÀ (¥ºÈÀ (̺ÉÀ (ó„¢À )8  +#ºÊG +#ºËH +#ºÌI +#ºÍJ +#ºÎK +#ºÏL +#ºÐM#ºÑF#ºH#$‡M‡NN +#ºH #‹ï #¥‰ #JO0#ºH#ºÒ"'# #‹ï"'# #¥‰"'# #JP0#ºH#ºÓ"'# #‹ï"'# #¥‰"'#6 #JQ+'# *#‹ïR+'# *#¥‰S+'# *#JTP#ºÔ'# UP#ºÕ'# VP#ºÖ'# WP#º×'# XP#ºØ'# YP#ºÙ'# ZP#ºÚ'# [€Â#ºÛ'# "'# #‚¦\À )®^À )ÕºÒÀ *ºÓÀ *;‹ïÀ *P¥‰À *eJÀ *yUºÔÀ *‰UºÕÀ *™UºÖÀ *©Uº×À *¹UºØÀ *ÉUºÙÀ *ÙUºÚÀ *éºÛ#º ] @+'#º *#°¹' #º #8^@+'#º *#ƒ' #º #8_@+'#º *#ºÜ' #º #8`@+'#º *#©4' #º #8a@+'#º *#·J#°¹#„V$·K·Lb@+'#º *#·M#ƒ#„V$·N·Oc@+'#º *#ºÝ#ºÜ#„V$ºÞºßd@+'#º *#¦å#©4#„V$ºàºáe+'# *#„¢f*#º #8 #„¢g#‚”'#áh À +{°¹À +¢ƒÀ +ɺÜÀ +ð©4À ,·JÀ ,>·MÀ ,eºÝÀ ,Œ¦åÀ ,³„¢À ,È8À ,à‚”)(#‚]#¸öi+'#‚~&'#‚]*#¹öj+'#I*#Šµk##¸ö#8'#‚~&'#‚] #¹ö"'#I #‰¼l#ˆ'#ImÀ -`¹öÀ -~ŠµÀ -š8À -Óˆ'#ó&'#º #¹ûn+'#6*#ºBo+'#6*#ºAp€Â#œà'#‚~&'#¹û" #;"'# #†C" #¸ô"'#„À #Šq€Â#º'#‚~&'#¸ö&'#¹û" #;"'# #†C" #¸ôr#¬O'# s#°¹'# "'# #ºât#ƒ'# "'#1&'# #."'# #…2"'# #‚%u#†C'# v#º<'# w#Œp'#¸Ýx#º;'#¸Ýy#ù'#‚~&'#¹ûz#º?'#I"'#º@ #˜i{#ºE'#6"'#ºF #¥‰"'#6 #œü|#ºG'# "'#ºH #¥‰#$‡M‡N}#ºI'#I"'#ºH #¥‰#$‡M‡N~À ."ºBÀ .7ºAÀ .LœàÀ .•ºÀ .Ö¬OÀ .é°¹À / ƒÀ /PU†CÀ /`Uº<À /pUŒpÀ /Uº;À /’ùÀ /®º?À /κEÀ /úºGÀ 0'ºI'#ó&'# '#·ƒ#¸ó@#œà'#‚~&'#¸ó" #;"'# #†C" #¸ô"'#„À #Š€€@#º'#‚~&'#¸ö&'#¸ó" #;"'# #†C" #¸ô€€Â#œÞ'#‚~&'#¸ó" #;"'# #†C" #¸ô"'#„À #Š€‚€Â#ºã'#‚~&'#¸ö&'#¸ó" #;"'# #†C" #¸ô€ƒ#ºf'#I€„#ºE'#6"'#ºF #¥‰"'#6 #œü€…#ºG'# "'#ºH #¥‰€†#ºI'#I"'#ºH #¥‰€‡#†C'# €ˆ#º<'# €‰#Œp'#¸Ý€Š#º;'#¸Ý€‹#ù'#‚~€Œ#‰Ø'#‚~€À 0êœàÀ 13ºÀ 1tœÞÀ 1¾ºãÀ 2ºfÀ 2ºEÀ 2AºGÀ 2bºIÀ 2ƒU†CÀ 2”Uº<À 2¥UŒpÀ 2·Uº;À 2ÉùÀ 2ÞU‰Ø#ºä€Ž+'# *#A€+'#¸Ý*#Œp€+'# *#†C€‘#ºä #A #Œp #†C€’À 3bAÀ 3wŒpÀ 3Ž†CÀ 3¤^ '#ó&'#º #ºå€“+'#6*#ºB€”+'#6*#ºA€•+'#6*#ºæ€–+'# *#ºç€—+'#º²*#ºè#„VK$ºéºê$ºëºì€˜+'#6*#ºí€™€Â#ò'#‚~&'#ºå" #;"'# #†C"'#6 #ºî"'#6 #ºï"'# #ºð€š#†C'# €›#Œp'#¸Ý€œ#ù'#I€#‹Î'# "'#1&'# #."'#¸Ý #Œp"'# #†C€ž#º·'#ºä€Ÿ#ºñ'#I"'#¸Ý #…Î"'#º² #ºò€ #ºó'#I"'#¸Ý #…Î"'#º² #ºò€¡#ºG'# "'#ºH #¥‰€¢#ºI'#I"'#ºH #¥‰€£À 4ºBÀ 4ºAÀ 44ºæÀ 4JºçÀ 4`ºèÀ 4ŒºíÀ 4¢òÀ 5U†CÀ 5UŒpÀ 5(ùÀ 5<‹ÎÀ 5{º·À 5ºñÀ 5ÁºóÀ 5òºGÀ 6ºI'#¶¬#ºô€¤+'#á*#„W€¥+'#¶­*#·Ÿ€¦+'#¸Ý*#Œp€§+'# *#†C€¨ +#ºô #„W #·Ÿ #Œp #†C€©+#ºô#©42#„W$ºõºö2#·Ÿ12#Œp12#†C1€ª#‚”'#ါÀ 6„WÀ 6Ù·ŸÀ 6ðŒpÀ 7†CÀ 7^À 7X©4À 7…‚”À À ººŽÀ SÀ ¯¸ÝÀ #À #¤º²À $YÀ $}¹úÀ %;À %X¸øÀ &xÀ &œº@À '¼À 'ûºFÀ )À )Z ºÑÀ )“ºHÀ + À +mº À ,ôÀ -J¸öÀ -æÀ .¹ûÀ 0TÀ 0ǸóÀ 2ðÀ 3SºäÀ 3ÌÀ 3êºåÀ 64À 6«ºôÀ 7š  @Î##¶b%+'# *#º÷%+'# *#ºø%+'# *#ºù%+'# *#ºú%+'# *#ºû%+'# *#ºü '#ó&'#1&'# #ºý+'#ó&'#1&'# *#ŠŽ#ºý #ŠŽ#ˆ'#‡&'#1&'# '#I"'#1&'# #‰ì #ˆ"'#…6 #„Ù'#I #ˆ"'#6 #ˆ À 9JŠŽÀ 9n^À 9„ˆ '#ºý'#ó&'#1&'# #ºþ + ++'# *#ºÿ ##ºþ#8"'#ó&'#1&'# #ô #ºÿ #»'#á"'#Ý #†S#¹S"'#6 #» €’#»'#6€¢#»"'#6 #»€’#»'#6€¢#»"'#6 #»€’#»'#6€‚#·'# #»'#6 +À :<ºÿÀ :Q8À :„»À :¼U»À :ÍV»À :èU»À :ùV»À ;U»À ;%·À ;9U» '#»'#·ƒ#» +'# *#ºÿ+'#·ƒ*#»##»#8"'#·ƒ #ñ #ºÿ#»'#6#» '# #» +'# #»'#6€‚#» '#6"'# #·­€‚#» '# "'# #·­€‚#» '# "'# #·­€Â#»'#6"'# #·­ #»'#·ƒ! À ;­ºÿÀ ;»À ;Ø8À ;ýU»À < U» À <U» +À <-U»À <=» À <]» À <}» À <»À <½U»'#¶¬#»"+'#á*#„W#+'#¶­*#·Ÿ$ +#» #„W #·Ÿ%#‚”'#á&À =:„WÀ =P·ŸÀ =f^À =ˆ‚”'#¶¬#»'+'#á*#„W(+'#¶­*#·Ÿ) +#» #„W #·Ÿ*#‚”'#á+À =ЄWÀ =æ·ŸÀ =ü^À >‚”'#Š‡&'#1&'# #»,+*#§$-#»"'# #·­.#‰Ù'#‚~"'#ó&'#1&'# #ô/#ù'#‚~0À >t§$À >„^À >‰ÙÀ >Ìù'#·ƒ#»1+'#·ƒ*#ø2#» #ø3#†S'#Ý4 #†S'#I"'#Ý #†S5#ƒ'#I"'#‚e #‚ 6#ƒ'#I"'#‚e #‚ $ƒ^7#ƒ'#I"'#‚X #ƒ"'#á #»$ƒ^8#‚'#I"'#1&'# #A9#‚d'#I" #‚f"'#‚g #‚h:#‚Ø'#I"'# #‚Ù;#‰Ù'#‚~"'#ó&'#1&'# #ô<#‚ñ'#‚~=#ù'#‚~>#‰Ø'#‚~?À ?øÀ ?)^À ??U†SÀ ?PV†SÀ ?pƒÀ ?ƒÀ ?·ƒÀ ?ë‚À @‚dÀ @:‚ØÀ @Y‰ÙÀ @ˆ‚ñÀ @œùÀ @°U‰Ø#»@ @+'#»*#»' #»#8$»»A@+'#»*#Š†' #»#8$»Š†B@+'#»*#†N' #»#8$»†NC@+'#»*#2' #»#8$…Ç2D@+'#»*#»#»#„V$»»E@+'#»*#»#Š†#„V$»»F@+'#»*#·Ð#†N#„V$·Ñ·ÒG@+'#»*#»#2#„V$» »!H+'#á*#àI*#»#8 #àJ#‚”'#áK À A2»À A\Š†À A††NÀ A°2À AØ»À Aÿ»À B&·ÐÀ BM»À BsàÀ B‰8À B¡‚”%+'#ºþ*#»"L%+'#»*#»#M%+'#»*#»$N%+'# *#»%O%+'# *#»&P%+'# *#»'Q"'# #¹Z"'# #¹X"'# #¹Y'#I#»(#<$„c>$ŠrŠsR'#ºþ#¹ZS'#»#¹XT'#»#¹YU" #‚ '#»#»)V#»*W€Â#»+"'# #·­X€Â#»,'#ºþ"'# #·­Y€Â#»-'# "'#¸ó #¹öZ€Â#»."'# #·­[À D9»+À DT»,À Du»-À D–».À 8€À 8%º÷À 8´%ºøÀ 8Ë%ºùÀ 8â%ºúÀ 8ù%ºûÀ 9%ºüÀ 9'ºýÀ 9ûÀ :ºþÀ ;IÀ ;»À <ÎÀ =$»À =œÀ =º»À >2À >P»À >àÀ >ý»À @ÁÀ A$»À BµÀ C +%»"À C %»#À C6%»$À CL%»%À Ca%»&À Cv%»'À C‹»(À CÕ9¹ZÀ Cè9¹XÀ Cû9¹YÀ D»)À D+»*À D±  @Î##¶b%+'#»/*#¹S'#»/%+'#»/*#»0'#»/#„V$»1»2 '#Ý#»/ +#»/#à'#á#â'#1&'# "'#á #‚#ä'#á"'#1&'# #‚#æ'#ê&'#á'#1&'# #è'#ê&'#1&'# '#áÀ F=^À FJUàÀ F[âÀ F‚äÀ F©UæÀ FÎUè '#ê&'#á'#1&'# #»3  +#»3 +#·'#1&'# "'#á #‚ #î'#ï"'#ð&'#1&'# #ñ €Â#»4'#1&'# "'#á #í À GF^À GS·À GzîÀ G©»4 '#õ#»5+'#ð&'#1&'# *#ø#»5 #ø#ù'#I#‚'#I"'#á #í#ú'#I"'#á #ã"'# #B"'# #C"'#6 #ûÀ HøÀ H&^À H<ùÀ HO‚À Hoú '#ê&'#1&'# '#á#»6 +#»6#·'#á"'#1&'# #‚#î'#÷"'#ð&'#á #ñ€Â#»7'#á"'#1&'# #åÀ Hþ^À I ·À I2îÀ I[»7 '#þ#»8+'#ð&'#á*#ø#»8 #ø#ù'#I#‚'#I"'#1&'# #åÀ I´øÀ IÒ^À IèùÀ Iû‚À E¹À EÖ%¹SÀ Eø%»0À F(»/À FóÀ G»3À GÑÀ Gí»5À H±À HÕ»6À IƒÀ IŸ»8À J!  @Î##¶b#»9 €Â#»:'#»9" #;"'# #†C#¬O'# #Šš'#I#·“'# "'#1&'# #."'# #B"'# #C#·‘'#1&'# "'# #å#º?'#I"'#º@ #˜i#·–'#I"'#1&'# #."'# #B"'# #C#†C'# #º<'# #Œp'#¸Ý +#º;'#¸Ý À Jµ»:À JܬOÀ JÀ K·“À KE·‘À Kkº?À K‹·–À KÎU†CÀ KÞUº<À KîUŒpÀ KÿUº;À JŠÀ J§»9À L»;œoÀ B4À EVÀ WôÀ [ïÀ e¡À gÀ g—À y=À ’[À ¥ÞÀ ¬æÀ ³fÀ ¹ À ¿*À ¿ÏÀ Á´À ÉhÀ Ú!À Ý(À äŒÀ ù À ÿ}À  À jÀ …À 7ÏÀ DÎÀ J>À L^  @Î##»<$¸¹!#ˆç#ˆê#ˆJ#‰#„#„#‰$‡„$‡„0#ƒÚ$¶c¶d!##‡R#‡S$¿!#‹§$‹à‹á$‡„ +$»=»>$º»$»?»@$»A»B$»C»D$»E»F$»G»H$»I»J$¶‹¶Œ$»K»L$»M»N'#ó&'#§ú#»O +'#á*#»P +#»Q'#»R +'#6*#»S +'#„À*#»T @#ò'#‚~&'#»O" #Œp"'# #†C"'# #¸ù"'#6 #¸ú"'#6 #·g@#»U'#‚~&'#»O" #Œp"'# #†C"'#¹ò #œ’"'# #¸ù"'#6 #¸ú"'#6 #¹ó"'#6 #·g0#»O#»V"'#¸ø #»W#ù'#‚~"'#6 #¤#†C'# #Œp'#¸Ý"#»X"'# #Š#»Y'#»Z À Mï»PÀ NU»QÀ N»SÀ N+»TÀ NAòÀ N£»UÀ O#»VÀ O@ùÀ OeU†CÀ OuUŒpÀ O†V»XÀ O »Y#»Z+'# *#«g+'# *#©~+'# *#»[+'# *#»\À P«gÀ P/©~À PD»[À PY»\#»R|@+*#»]$»^ƒ§@+*#»_$»`»a@+*#»b$»c»d@+*#»e$»f»g@+*#»h$»i»j @+*#»k$»l»m!@+*#»n$»o¨)"@+*#»p$»q»r#@+*#»s$»t»u$@+*#»v$»w©ï%@+*#»x$»y»z&@+*#»{$»|»}'@+*#»~$»»€(@+*#»$»‚»ƒ)@+*#»„$»…»†*@+*#»‡$»ˆ»‰+@+*#»Š$»‹»Œ,@+*#»$»Ž˜-@+*#»$»»‘.@+*#»’$»“»”/@+*#»•$»–„X0@+*#»—$»˜‚Q1@+*#»™$»š;2@+*#»›$»œ»3@+*#»ž$»Ÿ» 4@+*#»¡$»¢»£5@+*#»¤$»¥»¦6@+*#»§$»¨»©7@+*#»ª$»«»¬8@+*#»­$»®“õ9@+*#»¯$»°»±:@+*#»²$»³<;@+*#»´$»µ»¶<@+*#»·$»¸»¹=@+*#»º$»»… +>@+*#»¼$»½»¾?@+*#»¿$»À»Á@@+*#»P$»Â»ÃA@+*#»Ä$»Å»ÆB@+*#»Ç$»È»ÉC@+*#»Ê$»Ë»ÌD@+*#»Í$»Î¶4E@+*#»Ï$»Ð»ÑF@+*#»Ò$»Ó»ÔG@+*#»Õ$»Ö»×H@+*#»Ø$»Ù»ÚI@+*#»Û$»Ü»ÝJ@+*#´1#»]#„V$»Þ»ßK@+*#»à#»_#„V$»á»âL@+*#»ã#»b#„V$»ä»åM@+*#»æ#»e#„V$»ç»èN@+*#»é#»h#„V$»ê»ëO@+*#»ì#»k#„V$»í»îP@+*#»ï#»n#„V$»ð»ñQ@+*#»ò#»p#„V$»ó»ôR@+*#»õ#»s#„V$»ö»÷S@+*#»ø#»v#„V$»ù»úT@+*#»û#»x#„V$»ü»ýU@+*#»þ#»{#„V$»ÿ¼V@+*#¼#»~#„V$¼¼W@+*#¼#»#„V$¼¼X@+*#¼#»„#„V$¼¼ Y@+*#¼ +#»‡#„V$¼ ¼ Z@+*#¼ #»Š#„V$¼¼[@+*#¼#»#„V$¼¼\@+*#¼#»#„V$¼¼]@+*#¼#»’#„V$¼¼^@+*#¼#»•#„V$¼¼_@+*#¼#»—#„V$¼¼`@+*#¼#»™#„V$¼ ¼!a@+*#¼"#»›#„V$¼#¼$b@+*#¼%#»ž#„V$¼&¼'c@+*#¼(#»¡#„V$¼)¼*d@+*#¼+#»¤#„V$¼,¼-e@+*#¼.#»§#„V$¼/¼0f@+*#¼1#»ª#„V$¼2¼3g@+*#¼4#»­#„V$¼5¼6h@+*#¼7#»¯#„V$¼8¼9i@+*#¼:#»²#„V$¼;¼¼?k@+*#¼@#»·#„V$¼A¼Bl@+*#¼C#»º#„V$¼D¼Em@+*#¼F#»¼#„V$¼G¼Hn@+*#¼I#»¿#„V$¼J¼Ko@+*#¼L#»P#„V$¼M¼Np@+*#¼O#»Ä#„V$¼P¼Qq@+*#¼R#»Ç#„V$¼S¼Tr@+*#¼U#»Ê#„V$¼V¼Ws@+*#¼X#»Í#„V$¼Y¼Zt@+*#¼[#»Ï#„V$¼\¼]u@+*#¼^#»Ò#„V$¼_¼`v@+*#¼a#»Õ#„V$¼b¼cw@+*#¼d#»Ø#„V$¼e¼fx@+*#¼g#»Û#„V$¼h¼iy@+*#¼j$¼k£Âz@+*#¼l$¼m¼n{@+*#¼o#¼j#„V$¼p¼q|@+*#¼r#¼l#„V$¼s¼t}@+*#¼u8 #»s#»v#»#»²#»Ç#»Ê#»Í#»Õ#»Ø~@+*#¼v#¼u#„V$¼w¼x@+*#¼y8 +#»n#»x#»{#»~#»#»„#»‡#»Š#»•#»ª€€@+*#¼z#¼y#„V$¼{¼|€@+*#¨8 #»h#»k#»#»­#»´#»¿#»P#»Ò#»Û€‚@+*#¼}#¨#„V$¼~¼€ƒ@+*#¨8#»]#»_#»b#»e#»p#»’#»—#»™#»›#»ž#»¡#»¤#»§#»¯#»·#»º#»¼#»Ä#»Ï€„@+*#¼€#¨#„V$¼¼‚€…+'#„Œ*#˜€†+'#„Œ*#„X€‡+'#„Œ*#¼ƒ€ˆ+'#á*#;€‰+'# *#†C€Š+'#¼„*#žØ€‹+'# *#¼…€Œ+'#6*#¼†€+'#6*#¼‡€Ž#¤'#1&'#á"'#á #à€#J'#á"'#á #à€#‚'#I"'#á #à"'#‚e #J"'#6 #$DE#¼ˆ€‘#‰M'#I"'#á #à"'#‚e #J"'#6 #$DE#¼ˆ€’#…—'#I"'#á #à"'#‚e #J€“#…ê'#I"'#á #à€”#…Z'#I'#I"'#á #à"'#1&'#á #…« #…»€•#¼‰'#I"'#á #à€–#…“'#I€—|À P»]À P²»_À PÇ»bÀ PÜ»eÀ Pñ»hÀ Q»kÀ Q»nÀ Q0»pÀ QE»sÀ QZ»vÀ Qo»xÀ Q„»{À Q™»~À Q®»À Qû„À QØ»‡À Qí»ŠÀ R»À R»À R,»’À RA»•À RV»—À Rk»™À R»›À R”»žÀ R©»¡À R¾»¤À RÓ»§À R軪À Rý»­À S»¯À S'»²À S;»´À SP»·À Se»ºÀ Sz»¼À S»¿À S¤»PÀ S¹»ÄÀ SλÇÀ Sã»ÊÀ Sø»ÍÀ T »ÏÀ T"»ÒÀ T7»ÕÀ TL»ØÀ Ta»ÛÀ Tv´1À T—»àÀ T¸»ãÀ TÙ»æÀ Tú»éÀ U»ìÀ U<»ïÀ U]»òÀ U~»õÀ UŸ»øÀ UÀ»ûÀ Uá»þÀ V¼À V#¼À VD¼À Ve¼ +À V†¼ À V§¼À VȼÀ Vé¼À W +¼À W+¼À WL¼À Wm¼"À WŽ¼%À W¯¼(À Wм+À Wñ¼.À X¼1À X3¼4À XT¼7À Xu¼:À X–¼=À X·¼@À XؼCÀ Xù¼FÀ Y¼IÀ Y;¼LÀ Y\¼OÀ Y}¼RÀ Yž¼UÀ Y¿¼XÀ Yà¼[À Z¼^À Z"¼aÀ ZC¼dÀ Zd¼gÀ Z…¼jÀ Zš¼lÀ Z¯¼oÀ ZмrÀ Zñ¼uÀ [ ¼vÀ [A¼yÀ [t¼zÀ [–¨À [Ƽ}À [è¨À \6¼€À \X˜À \o„XÀ \†¼ƒÀ \;À \³†CÀ \ÉžØÀ \༅À \ö¼†À ] ¼‡À ]"¤À ]KJÀ ]l‚À ]µ‰MÀ ]þ…—À ^+…êÀ ^L…ZÀ ^‘¼‰À ^²…“#¼Š€˜#¼Š"'#á #J$ƒ^"'#‚€&'#á'#á #†TA€™@#„i'#¼Š"'#á #J"'#á #¼‹$¼ŒÞ"'#á #¼"'#6 #¼Ž€š#J'#ရ#†T'#‚€&'#á'#လ#‚”'#á€À b«^À bî„iÀ cEUJÀ cVU†TÀ cv‚”'#‚€#¼€ž#Œ'#ဟ#ºf'#I€ "#Š '#I'#I #‚O€¡#¼'#6€¢À cÄUŒÀ cÖºfÀ cêVŠ À dU¼'#¼Š#¼„€£@+*#‚–€¤@+*#¼‘#„V$¼’¼“€¥@+*#µ€¦@+*#¼”#„V$¼•¼–€§@+*#‚¢€¨@+*#¼—#„V$¼˜¼™€©@+*#¼š€ª@+*#¼›#„V$¼œ¼€«#¼„"'#á #¼ž"'#á #¼Ÿ"'#á #†ß"'#‚€&'#á'#á #†TA€¬@#„i'#¼„"'#á #J€­#†R'#ီ#¼ž'#ု#¼Ÿ'#ူ#†ß'#ေÀ dS‚–À dd¼‘À dƒµÀ d”¼”À d³‚¢À dļ—À d㼚À dô¼›À e^À em„iÀ eŽU†RÀ e U¼žÀ e²U¼ŸÀ eÄU†ß#¼ €² +'#á*#à€³+'#á*#J€´+'#„Œ*#„X€µ+'# *#¼¡€¶+'#á*#£Ì€·+'#á*#†D€¸+'#6*#ƒä€¹+'#6*#¼¢€º#¼ "'#á #à"'#á #J€»0#¼ #¼£"'#á #J€¼#‚”'#ွ À fOàÀ ffJÀ f|„XÀ f“¼¡À f©£ÌÀ fÀ†DÀ f׃äÀ fí¼¢À g^À g*¼£À gG‚”'#ó&'# #§ú€¾ #¼…'# €¿#…<'#á€À#†k'#†?€Á#¼¤'#†?€Â#®;'#»R€Ã#¼¥'#1&'#¼ €Ä#¼†'#6€Å#º'#º€Æ#¯>'#¼€Ç#¼¦'#á€È#¼§'#¼¨€É#‹Å'#¼©€Ê À gÎU¼…À gßU…<À gñU†kÀ hU¼¤À hU®;À h'U¼¥À h@U¼†À hQUºÀ hcU¯>À huU¼¦À h‡U¼§À h™U‹Å'#·ƒ#¼©€Ë +'# *#¼…€Ì+'# *#­-€Í+'#á*#¼ª€Î+'#6*#¼†€Ï+'#„À*#¨6€Ð+'#6*#¼«€Ñ#®;'#»R€Ò#¼¥'#1&'#¼ €Ó#± '#‚~"'#†? #“õ"'# #ž~ #‡S#‡d€Ô#¼¬'#‚~&'#¸ó"'#6 #¼­€Õ#¼§'#¼¨€Ö À i¼…À i-­-À iC¼ªÀ iZ¼†À ip¨6À i‡¼«À iU®;À i¯U¼¥À iȱ À j¼¬À j.U¼§#¶e€×#@+'# *#¼®P€Ø@+'# *#¼¯#¼®#„V$¼°¼±€Ù@+'# *#¼²H»€Ú@+'# *#¼³#¼²#„V$¼´¼µ€Û`#¼¶"'#6 #J€ÜP#¼¶'#6€Ý@+'#6*#¼·€Þ+'#„À*#»T€ß+'#„À*#¼¸€à+'# *#¼¹€á+'#6*#¼º€â+'#á*#õ€ã#¶e"'#¹ò #œ’€ä#ŒÂ'#‚~&'#¼»"'#á #…<"'#á #;"'# #†C"'#á #†D€å#¼¼'#‚~&'#¼»"'#á #…<"'#†? #…€æ#˜Â'#‚~&'#¼»"'#á #;"'# #†C"'#á #†D€ç#¼½'#‚~&'#¼»"'#†? #…€è#¼¾'#‚~&'#¼»"'#á #;"'# #†C"'#á #†D€é#¼¿'#‚~&'#¼»"'#†? #…€ê#˜è'#‚~&'#¼»"'#á #;"'# #†C"'#á #†D€ë#¼À'#‚~&'#¼»"'#†? #…€ì#˜f'#‚~&'#¼»"'#á #;"'# #†C"'#á #†D€í#¼Á'#‚~&'#¼»"'#†? #…€î#ª'#‚~&'#¼»"'#á #;"'# #†C"'#á #†D€ï#¼Â'#‚~&'#¼»"'#†? #…€ð#£Ð'#‚~&'#¼»"'#á #;"'# #†C"'#á #†D€ñ#¼Ã'#‚~&'#¼»"'#†? #…€ò"#¼Ä'#I'#‚~&'#6"'#†? #…"'#á #†A"'#á #¼Å #…T€ó#¼Æ'#I"'#†? #…"'#á #¼Å"'#¼Ç #ª^€ô"#¼È'#I'#á"'#†? #… #…T€õ@#¼É'#á"'#†? #…"'#‚€&'#á'#á #‹½€ö"#¼Ê'#I'#‚~&'#6"'#á #;"'# #†C"'#á #†A"'#á #¼Å #…T€÷#¼Ë'#I"'#á #;"'# #†C"'#á #¼Å"'#¼Ç #ª^€ø"#¼Ì'#I'#6"'#º #¼Í"'#á #;"'# #†C #‚O€ù#ù'#I"'#6 #¤€ú#À j£¼®À j»¼¯À jâ¼²À k¼³À k(V¼¶À kBU¼¶À kS¼·À ki»TÀ k€¼¸À k—¼¹À k­¼ºÀ kÃõÀ kÚ^À køŒÂÀ lG¼¼À l~˜ÂÀ lÀ¼½À lê¼¾À m,¼¿À mV˜èÀ m˜¼ÀÀ m˜fÀ n¼ÁÀ n.ªÀ np¼ÂÀ nš£ÐÀ nܼÃÀ oV¼ÄÀ oY¼ÆÀ o”V¼ÈÀ oƼÉÀ pV¼ÊÀ pd¼ËÀ pªV¼ÌÀ póù'#·ƒ#¼»€û +'#6*#¼†€ü+'#6*#¼Î€ý+'# *#¼Ï€þ#…<'#á€ÿ#†k'#†?+'# *#¼…+'#6*#¼«#®;'#»R#¼¥'#1&'#¼ #‰Ø'#‚~&'#¼Ð#ù'#‚~&'#¼Ð#¼§'#¼¨#˜–'#I"'#‚e #/"'#‚g #‚h#$¼Ñ¼Ò À r.¼†À rD¼ÎÀ rZ¼ÏÀ rpU…<À r‚U†kÀ r”¼…À rª¼«À rÀU®;À rÒU¼¥À rëU‰ØÀ sùÀ s"U¼§À s4˜–'#ó&'#1&'# #¼Ð #­-'# +#¼ª'#á #¼…'# #¼Ó'#¼Ô#$…Ö…× #¼†'#6#¼Õ'#6#¼Ö'#1&'#¼×#± '#‚~&'#¼Ð"'#á #…<"'#†? #…"'#6 #¼Ø#®;'#»R#¼¬'#‚~&'#¸ó#¼¥'#1&'#¼ #º'#º#¼§'#¼¨ À sûU­-À t U¼ªÀ tU¼…À t/U¼ÓÀ tNU¼†À t_U¼ÕÀ tpU¼ÖÀ t‰± À tÕU®;À t缬À uU¼¥À uUºÀ u/U¼§  +#¼Ù +#¼Ú +#¼Û#¼Ô#$…Ö…×#¼Ç '#¼Ç#¼Ü#¼Ü"'#á #ž2"'#á #ž.À uñ^ '#¼Ç#¼Ý#¼Ý"'#á #ž2"'#á #ž.À v6^#¼¨ #º;'#¸Ý!#º<'# "#¼Þ'# #À vtUº;À v†Uº<À v—U¼Þ#¼×$#­-'# %#…<'#á&#“õ'#†?'À vÍU­-À vÞU…<À vðU“õ#¼ß(#¹ö'#¸ó)#¼à'#1&'# *À w'U¹öÀ w9U¼à'#¶¬#¼á++'#á*#„W,+'#†?*#†k- +#¼á #„W #†k.#‚”'#á/À ww„WÀ wŽ†kÀ w¥^À wÈ‚”'#¼á#¼â0+'#á*#„W1+'#1&'#¼×*#¼Ö2 +#¼â #„W #¼Ö3#‚”'#á4#†k'#†?5À x„WÀ x)¼ÖÀ xG^À xg‚”À x|U†kÀ LéÀ MÑ»OÀ O´À P »ZÀ PnÀ P»RÀ ^ÆÀ bœ¼ŠÀ c‹À c­¼À dÀ d<¼„À eÖÀ f@¼ À g\À g°§úÀ h«À i¼©À j@À j”¶eÀ qÀ r¼»À suÀ sÖ¼ÐÀ uAÀ u ¼ÔÀ u˼ÇÀ uÚÀ uÛ¼ÜÀ vÀ v ¼ÝÀ v^À ve¼¨À v¨À v¾¼×À wÀ w¼ßÀ wQÀ w`¼áÀ wÝÀ wû¼âÀ xŽ  @Î##»<#¼ã @+'# *#¼ä=@+'# *#¼å @+'# *#¼æ +@+'# *#¼çL@+'#á*#¼è$‚‚@+'#á*#¼é$‚‚@+'#1&'# *#¼ê8OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO>OO>OO?456789:;<=OOOOOOOOOOOO  +   OOOOOOOO?OO !"#$%&'()*+,-./0123OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO@+'#ƒâ*#¼ë@#¶³'# "'# #‚% @#¼ì'#á"'#1&'# #å +@#¼í'#á"'#1&'# #å"'#6 #‚"'#6 #¼î @#¼ï'#1&'# "'#á #‚"'#6 #¼ð À yƼäÀ yݼåÀ yô¼æÀ z ¼çÀ z"¼èÀ z=¼éÀ zX¼êÀ }ó¼ëÀ ~ ¶³À ~(¼ìÀ ~O¼íÀ ~˜¼ï%+*#¼ñÿ %+*#¼òHÿÿÿÿ%+*#¼ó%+*#¼ô#¼õ+'# *#¼ö+'#6*#¼÷+'# *#¼ø+'#1&'# *#¼ù+'#1&'# *#¼ú+'#1&'# *#¼û+'#6*#¼ü#¼õ #¼ö"'# #¼ý #¼÷#‚"'#1&'# #A#ù'#1&'# #¼þ'# #¼ÿ#½"'#1&'# #‰#½" #f" #g#½" #­" #„» #½'# "'# #­"'# #‘î!#½'#1&'# "#½"'#1&'# #A"'# #½##½'#1&'# "'# #±Z$#½%#½ &À Š¼öÀ Ÿ¼÷À ´¼øÀ ɼùÀ å¼úÀ €¼ûÀ €¼üÀ €2^À €]‚À €}ùÀ €—U¼þÀ €§¼ÿÀ €µ½À €Ö½À €ð½À ½À 7½À Q½À }½À £½À ±½  '#¼õ#½ +'#½ +(#¼ÿ'#½ +)@+*#½ 8@H×j¤xHèÇ·VH$ pÛHÁ½ÎîHõ|¯HG‡Æ*H¨0FHýF•Hi€˜ØH‹D÷¯Hÿÿ[±H‰\×¾Hk"Hý˜q“H¦yCŽHI´!Hö%bHÀ@³@H&^ZQHé¶ÇªHÖ/]HDSHØ¡æHçÓûÈH!áÍæHÃ7ÖHôÕ ‡HEZíH©ãéHüï£øHgoÙH*LŠHÿú9BH‡qöHma"Hýå8 H¤¾êDHKÞÏ©Hö»K`H¾¿¼pH(›~ÆHê¡'úHÔï0…HˆHÙÔÐ9HæÛ™åH¢|øHĬVeHô)"DHC*ÿ—H«”#§Hü“ 9He[YÃH Ì’Hÿïô}H…„]ÑHo¨~OHþ,æàH£CHN¡H÷S~‚H½:ò5H*×Ò»Hë†Ó‘*@+*#½ 8@             + + + ++#½'#I"'#1&'# #‰,À ‚n^À ‚{¼ÿÀ ‚½ À „ã½ À …w½ '#¼õ#½ -+'#1&'# *#½.#½ /#¼ÿ'#½ 0#½'#I"'#1&'# #‰1À …×½À …ó^À †¼ÿÀ †½À y›À y¸¼ãÀ ~ÐÀ -%¼ñÀ ?%¼òÀ X%¼óÀ j%¼ôÀ |¼õÀ ¿À ‚Y½ +À …À …½ À †:  @Î##»<#½@#“­'#á"'#„Œ #˜@#„i'#„Œ"'#á #˜@#½'#„Œ"'#á #˜À †Ó“­À †ô„iÀ ‡½À †¨À †Å½À ‡6  @Î##»<'#»R#½>+'#‚€&'#á'#1&'#á*#½+'#‚€&'#á'#á*#½+'#á*#¼¦+'#6*#½+'#1&'#á*#½+'# *#½+'#6*#½+'#6*#½+'#á*#†y +'# *#†z ++'# *#½ #½ #¼¦"'# #½ #¶e#¼®"'#½ #½ #¤'#1&'#á"'#á #à #J'#á"'#á #à#‚'#I"'#á #à" #J"'#6 #¼ˆ#¥n'#I"'#á #à" #J#‰M'#I"'#á #à"'#‚e #J"'#6 #¼ˆ#…—'#I"'#á #à"'#‚e #J#…ê'#I"'#á #à#…Z'#I'#I"'#á #à"'#1&'#á #…« #…»#¼‰'#I"'#á #à#¼†'#6 #¼†'#I"'#6 #¼†#¼…'#  #¼…'#I"'# #¼…#¼‡'#6 #¼‡'#I"'#6 #¼‡#;'#á #;'#I"'#á #;#†C'#  #†C'#I"'# #†C#¼ƒ'#„Œ  #¼ƒ'#I"'#„Œ #¼ƒ!#˜'#„Œ" #˜'#I"'#„Œ #˜##„X'#„Œ$ #„X'#I"'#„Œ #„X%#žØ'#¼„& #žØ'#I"'#¼„ #žØ'#…“'#I(#‚4'#I"'#á #à" #J)#½'#I"'#á #à" #J*#½'#I"'#á #à" #J+#½'#I"'#á #à" #J,#½'#I"'#á #à" #J-#½ '#I"'#á #à" #J.#½!'#I"'#á #à" #J/#½"'#I"'#á #à" #J0#½#'#I"'#á #à" #J1#½$'#I"'#á #à"'#‚e #J2#½%'#á"'#‚e #J3#½&'#I"'#á #à"'#á #J4#½''#I5#½('#I6#½)'#6"'#á #à7#½*'#I8#½+'#I"'# #·9#‚”'#á:#½,'#1&'#¼ ;@#½-'#á"'#á #½.<@#½/'#‚e"'#‚e #J=#½0'#á"'#á #à>>À ‡½À ‡º½À ‡Þ¼¦À ‡ô½À ˆ ½À ˆ&½À ˆ;½À ˆP½À ˆe†yÀ ˆ{†zÀ ˆ½À ˆ¥^À ˆá¤À ‰ JÀ ‰)‚À ‰`¥nÀ ‰†‰MÀ ‰Ã…—À ‰ï…êÀ Š…ZÀ ŠS¼‰À ŠsU¼†À ŠƒV¼†À Š¢U¼…À Š²V¼…À ŠÑU¼‡À ŠáV¼‡À ‹U;À ‹V;À ‹.U†CÀ ‹>V†CÀ ‹]U¼ƒÀ ‹nV¼ƒÀ ‹ŽU˜À ‹ŸV˜À ‹¿U„XÀ ‹ÐV„XÀ ‹ðUžØÀ ŒVžØÀ Œ!…“À Œ4‚4À ŒZ½À Œ€½À Œ¦½À ŒÌ½À Œò½ À ½!À >½"À d½#À Š½$À ¶½%À Ö½&À Ž½'À Ž½(À Ž(½)À ŽH½*À Ž[½+À Žz‚”À ŽŽ½,À Ž©½-À ŽÊ½/À Žê½0'#¼Š#½1? +'#á*#„¢@+'#‚€&'#á'#á*#½2A+'#‚€&'#á'#á*#½3B#½1 #„¢$ƒ^"'#‚€&'#á'#á #†TAC@#„i'#½1"'#á #J"'#á #¼‹$¼ŒÞ"'#á #¼"'#6 #¼ŽD#J'#áE#½4'#‚€&'#á'#áF#†T'#‚€&'#á'#áG@#½5'#6"'#á #¥iH#‚”'#áI#†ä'#I"'#á #y"'#á #¼‹"'#á #¼"'#6 #¼ŽJ À Û„¢À ñ½2À ‘½3À ‘9^À ‘x„iÀ ‘ÎUJÀ ‘Þ½4À ’U†TÀ ’½5À ’?‚”À ’S†ä '#½1'#¼„#½6K +'#á*#½7L+'#á*#½8M#½6"'#á #¼ž"'#á #¼Ÿ"'#á #†ß"'#‚€&'#á'#á #†TN"#½6#8O@#„i'#½6"'#á #JP#†R'#áQ#¼ž'#áR#¼Ÿ'#áS#†ß'#áT À “½7À “½8À “0^À “8À “Ž„iÀ “®U†RÀ “¿U¼žÀ “ÐU¼ŸÀ “áU†ß'#¼ #½9U+'#á*#‚†V+'#á*#„¢W+'#„Œ*#„XX+'# *#¼¡Y+'#á*#£ÌZ+'#á*#‰v[+'#6*#¼¢\+'#6*#ƒä]#½9"'#á #à"'#á #J^#à'#á_#J'#á`#†D'#áa #†D"'#á #·b #à"'#á #½:c #J"'#á #‰_d!#½9#¼£"'#á #Je#½;'#I"'#á #yf#‚”'#ág@#½<'#á"'#á #½:h@#½/'#á"'#á #‰_i@#½='#I"'#á #†DjÀ ”H‚†À ”^„¢À ”t„XÀ ”Š¼¡À ”Ÿ£ÌÀ ”µ‰vÀ ”˼¢À ”àƒäÀ ”õ^À •UàÀ •,UJÀ •½?@+'#‚€&'# '#½@*#½A@#½B'#½@"'#á #…<"'#†? #†k"'#½@ #½C@#½D'#½@"'# #Œ@#…“'#I@#¸Û'#á"'# #½EÀ —C¸ÔÀ —X½AÀ —{½BÀ —¹½DÀ —Ù…“À —ì¸Û#½F#½F #à #Œ7+'# *#§‹ +'#á*#à ++'#‚€*#Œ7 #¸Û'#‚€&'#á'#‚¨ À ˜G^À ˜f§‹À ˜{àÀ ˜‘Œ7À ˜§¸Û#½@ $#½@"'#á #…< #†k"'#Œ> #‹C#½G'#I"'#á #à"'#‚€ #Œ7#½H'#I"'#½I #„b#½J'#I"'# #A#½K'#‚€" #™‹#½L'#‚€" #™‹#½M'#I"'#¼»!#˜¼#½N'#I"'#¼Ð!#‹Å#½O'#I"'#á #‚f#½P'#I#½Q'#I"'#á #‚f#½R'#I"'# #A#¸Û'#‚€&'#á'#‚¨"'#6 #‡ #½S'#I@+'#á*#½T+'#6*#½U+'#6*#½V+'# *#Œ+'#á*#…< +'#†?*#†k!+'# *#½W"+'# *#½X#+'#‚€&'#á'#‚¨*#½Y$+'#‚€&'#á'#‚¨*#½Z%+*#½[&+'#á*#½\'+*#½](+'# *#½^)+'# *#½_*+'#‚€&'#á'#‚¨*#½`++*#½a,+'#á*#·8-#½b'# .+'# *#½c/+'#Œ>*#½d0+'#Œ>*#½e1$À ˜ý^À ™-½GÀ ™]½HÀ ™}½JÀ ™›½KÀ ™¶½LÀ ™Ñ½MÀ ™ô½NÀ š½OÀ š7½PÀ šJ½QÀ šj½RÀ šˆ¸ÛÀ š»½SÀ šÎ½TÀ šä½UÀ šù½VÀ ›ŒÀ ›#…<À ›9†kÀ ›O½WÀ ›d½XÀ ›y½YÀ ›½ZÀ ›Á½[À ›Ñ½\À ›ç½]À ›÷½^À œ ½_À œ!½`À œE½aÀ œU·8À œkU½bÀ œ{½cÀ œ½dÀ œ¦½e%+'# *#º†2#º‡3+'# *#ºˆ4#º‰'# 5#Œ'#‚€"'#6 #‡ 6#ºŠ'#á7#º‹'#á8#ºŒ'#á9#º'#á"'#6 #‡ :À ðºˆÀ žUº‰À žŒÀ ž5UºŠÀ žFUº‹À žWUºŒÀ žhº'##ˆ/;@+'# *#½fH<@+*#ˆ1=+'# *#ˆ2>+'# *#‚V?#ˆ/"'# #‰>@#‚'#I"'#1&'# #åA#ˆ,'#I"'# #‚öB#ˆ3'#I"'# #ˆ4C#ˆ-'# D#ˆ.'# E#'# F#…g'#6G#…h'#6H#…“'#II@#ˆ6'# "'# #fJÀ žÐ½fÀ žîˆ1À žþˆ2À Ÿ‚VÀ Ÿ(^À ŸF‚À Ÿlˆ,À Ÿ‹ˆ3À Ÿªˆ-À Ÿ½ˆ.À ŸÐUÀ ŸßU…gÀ ŸïU…hÀ Ÿÿ…“À  ˆ6%+'# *#½g4HwK7'#I"'#1&'# #å#½hL '#ó&'# #½iM+'# *#½jN+'#Š *#½kO+'#ó&'# *#ŠŽP+'#6*#½lQ+'#½*#®;R+'#6*#½mS+'# *#­-T+'#á*#¼ªU+'#á*#…<V+'#†?*#†kW+'#6*#½nX#½o'# Y#½i #®; #½j #ŠŽZ#ˆ'#‡&'# '#I"'# #‰ì #ˆ"'#…6 #„Ù'#I #ˆ"'#6 #ˆ[#½p'#‚~\#ù'#I"'#6 #»\]À  þ½jÀ ¡½kÀ ¡)ŠŽÀ ¡F½lÀ ¡[®;À ¡q½mÀ ¡†­-À ¡›¼ªÀ ¡±…<À ¡Ç†kÀ ¡Ý½nÀ ¡òU½oÀ ¢^À ¢*ˆÀ ¢“U½pÀ ¢¤ù '#ó&'#1&'# #½q^+'#½i*#½r_+'#1&'#¼ *#½s`#½q #½ra#¼¥'#1&'#¼ b#®;'#½c#¼¦'#ád#¼…'# e#¼†'#6fÀ £a½rÀ £w½sÀ £”^À £ªU¼¥À £ÂU®;À £ÓU¼¦À £äU¼…À £ôU¼† '#ó&'# #½tg+'#½i*#½rh+'#1&'#¼ *#½si#½t #½rj#¼¥'#1&'#¼ k#®;'#½l#¼¦'#ám#¼…'# n#¼†'#6oÀ ¤Z½rÀ ¤p½sÀ ¤^À ¤£U¼¥À ¤»U®;À ¤ÌU¼¦À ¤ÝU¼…À ¤íU¼† '#½t'#§ú#½up +'#¼©*#‹Åq+'#½v*#½wr+'#½x*#½ys+'#½z*#½{t+'#†?*#½|u#½u #‹Å"'#½i #½r #½w #½yv#ˆ'#‡&'# '#I"'# #‰ì #ˆ"'#…6 #„Ù'#I #ˆ"'#6 #ˆw#†k'#†?x#¼¤'#†?y#…<'#áz#¯>'#¼{#¼§'#¼¨|#º'#º} À ¥T‹ÅÀ ¥j½wÀ ¥€½yÀ ¥–½{À ¥¬½|À ¥Â^À ¥÷ˆÀ ¦`U†kÀ ¦qU¼¤À ¦‚U…<À ¦“U¯>À ¦¤U¼§À ¦µUº '#½q'#¼Ð#½}~#¼Ö'#1&'#¼×+'#½~*#½€€+'#½€*#½€+'#¼Ô*#¼Ó€‚+'#½@*#½‚€ƒ#½}"'#½i #½r #½ #½ #½‚€„@#½ƒ'#¼Ô"'#½~ #½„"'#½ #®;€…#­-'# €†#¼ª'#ဇ#º'#º€ˆ#¼¥'#1&'#¼ €‰#¼Õ'#6€Š#± '#‚~&'#¼Ð"'#á #…<"'#†? #…"'#6 #¼Ø€‹#ˆ'#‡&'# '#I"'# #‰ì #ˆ"'#…6 #„Ù'#I #ˆ"'#6 #ˆ€Œ#¼¬'#‚~&'#¸ó€#¼§'#¼¨€Ž#½…'#6€#½†'#6€#½‡'#‚~&'#¼Ð"'#6 #½ˆ€‘À §CU¼ÖÀ §[½À §r½À §‰¼ÓÀ § ½‚À §·^À §í½ƒÀ ¨U­-À ¨-U¼ªÀ ¨?UºÀ ¨QU¼¥À ¨jU¼ÕÀ ¨{± À ¨ÇˆÀ ©1¼¬À ©NU¼§À ©`U½…À ©qU½†À ©‚½‡ '#ê&'#1&'# '# #½‰€’ +#½‰€“#·'# "'#1&'# #‚€”#î'#ð&'#1&'# "'#ð&'# #ñ€•À ª]^À ªk·À ª’î'#ð&'#1&'# #½Š€– +#½Š #Š·€—+'#ð&'# *#Š·€˜#‚'#I"'#1&'# #A€™#ù'#I€šÀ «^À «Š·À «8‚À «^ù)(#‚Z'#‰Ç&'#‚Z#¸Q€›+'#Š‡&'#‚Z*#Š·€œ+*#¸R€+'#Š—&'#‚Z*#¸S€ž+'#Š *#¸T€Ÿ+'#6*#ŠÍ€ +'#6*#¸U€¡+'#6*#ŠK€¢#¸Q #Š·€£#‚'#I"'#‚Z #A€¤#‚d'#I"'#‚e #‚f"'#‚g #‚h€¥#‰Ù'#‚~"'#ó&'#‚Z #ô€¦#‚ñ'#‚~€§#ù'#‚~€¨#¸V'#I€©#‰Ø'#‚~€ª#¸W'#I" #J€«#¸X'#I"'#‚e #‚f"'#‚g #‚h€¬#Š³'#Š—&'#‚Z€­À «¶Š·À «Õ¸RÀ «æ¸SÀ ¬¸TÀ ¬ŠÍÀ ¬2¸UÀ ¬HŠKÀ ¬^^À ¬u‚À ¬•‚dÀ ¬Æ‰ÙÀ ¬ð‚ñÀ ­ùÀ ­¸VÀ ­.U‰ØÀ ­@¸WÀ ­Z¸XÀ ­ˆUŠ³ '#¸Q&'#1&'# '#·ƒ#¸Y€® ++'#Ý*#¸Z€¯+'#6*#¸[€°+'#½@*#½‚€±#¸Y"'#Š‡&'#1&'# #…† #¸Z #½‚€²#†S'#Ý€³ #†S'#I"'#Ý #J€´#ƒ'#I"'#‚e #†(€µ#ƒ'#I"'#‚X #ƒ"'#á #ƒ$ƒ^€¶#ƒ'#I"'#‚e #‚ $ƒ^€·#‚Ø'#I"'# #‚Ù€¸ +À ®S¸ZÀ ®j¸[À ®€½‚À ®—^À ®ÒU†SÀ ®äV†SÀ ¯ƒÀ ¯%ƒÀ ¯ZƒÀ ¯‚‚Ø)(#‚Z '#¸Y#½‹€¹+'#6*#½Œ€º+'#6*#½€»+'#†?*#†÷€¼+'#½Ž*#½€½+'#½*#®;€¾#½‹"'#†? #†k"'#á #¼¦"'#½Ž #½"'#½@ #½‘"'#½ #½€¿#¼…'# €À #¼…'#I"'# #¼…€Á#¼†'#6€Â #¼†'#I"'#6 #€Ã#¼«'#6€Ä #¼«'#I"'#6 #¼«€Å#†S'#Ý€Æ#‚'#I"'#1&'# #A€Ç#‰Ù'#‚~"'#ó&'#1&'# #y€È#ƒ'#I"'#‚e #†(€É#½’'#I€Ê#½“'#6€ËÀ ° ½ŒÀ °½À °5†÷À °L½À °c®;À °z^À °ÌU¼…À °ÝV¼…À °ýU¼†À ±V¼†À ±.U¼«À ±?V¼«À ±_U†SÀ ±q‚À ±—‰ÙÀ ±ÆƒÀ ±ç½’À ±ûU½“ '#½‹&'#¼©'#¼©#½”€Ì+'# *#½•€Í+'#á*#½–€Î+'#1&'#¼ *#½s€Ï+'#½u*#½€Ð+'#„À*#½—€Ñ+'#‹2*#½˜€Ò#½”"'#†? #†k"'#á #¼¦"'#½Ž #½"'#»R #½™"'#á #»P€Ó#½“'#6€Ô#¼¥'#1&'#¼ €Õ#­-'# €Ö #­-'#I"'# #­-€×#¼ª'#á€Ø #¼ª'#I"'#á #¼ª€Ù#± '#‚~"'#†? #“õ"'# #ž~ #‡S#‡d€Ú#¼¬'#‚~&'#¸ó"'#6 #¼­€Û#¼§'#¼¨€Ü#¨6'#„À€Ý #¨6'#I"'#„À #`€Þ#½’'#I€ß#½š'#á"'# #­-€àÀ ²µ½•À ²Ë½–À ²â½sÀ ³½À ³½—À ³.½˜À ³E^À ³”U½“À ³¥U¼¥À ³¾U­-À ³ÏV­-À ³ïU¼ªÀ ´V¼ªÀ ´"± À ´Z¼¬À ´ˆU¼§À ´šU¨6À ´¬V¨6À ´Í½’À ´á½š '#½‹&'#¼Ð'#¼»#½€€á+'#á*#…<€â+'#†?*#†k€ã+'#1&'#¼ *#¼¥€ä+'#½~*#½€å+'#½›*#½œ€æ+'#½@*#½‚€ç+'#Š &'#¼Ð*#½€è+'#½I*#½ž€é+'#‚~&'#¼Ð*#½Ÿ€ê+'#6*#½ €ë+'# *#½¡€ì+'#1&'#¼×*#½¢€í+'#6*#½£€î#½€"'#½Ž #½"'#†? #†k #…< #½ž #½ #½œ #½‚€ï#‰Ø'#‚~&'#¼Ð€ð#ù'#‚~&'#¼Ð€ñ#¼Ï'# €ò #¼Ï'#I"'# #¼Ï€ó#¼Î'#6€ô #¼Î'#I"'#6 #¼Î€õ#¼§'#¼¨€ö#½¤'#I"'#½i #½¥€÷#Š1'#I" #‚f"'#‚g #‚h€ø#½¦'#á€ù#‚'#I"'#1&'# #A€ú#ƒ'#I"'#‚e #†(€û#½’'#I€ü#˜–'#I"'#‚e #/"'#‚g #‚h€ýÀ µº…<À µÑ†kÀ µè¼¥À ¶½À ¶½œÀ ¶4½‚À ¶K½À ¶j½žÀ ¶½ŸÀ ¶ ½ À ¶¶½¡À ¶Ì½¢À ¶ê½£À ·^À ·UU‰ØÀ ·oùÀ ·ŒU¼ÏÀ ·V¼ÏÀ ·½U¼ÎÀ ·ÎV¼ÎÀ ·îU¼§À ¸½¤À ¸!Š1À ¸I½¦À ¸^‚À ¸„ƒÀ ¸¥½’À ¸¹˜– '#÷#½§€þ+'#½h*#½¨€ÿ#½§ #½¨#‚'#I"'#1&'# #‚S#ú'#I"'#1&'# #‚S"'# #B"'# #C"'#6 #û#ù'#IÀ ¹Ô½¨À ¹ë^À º‚À º)úÀ ºrù'#Š‡&'#1&'# #½Ž@+'#1&'# *#½©8 #½ª#¼å #½ª#¼æ0 #½ª#¼å #½ª#¼æ #½ª#¼å #½ª#¼æ@+'#1&'# *#½«80 #½ª#¼å #½ª#¼æ #½ª#¼å #½ª#¼æ+'#Š &'#¸ó*#¸R+'#¸ó*#¹ö+'#6*#½¬ +'#6*#½­ ++'# *#‚V +'# *#ˆ2 +'#‚~*#½® +'#6*#½¯+'# *#½°+'# *#¼…+'# *#½±+'#6*#½²+'#÷*#½³+'#½h*#½´+'# *#½µ+'# *#½¶+'#6*#½·+'#½‹*#½¸#½Ž #¹ö#¼­'#‚~&'#I"'#6 #½¹"'#6 #½º#‰Ù'#‚~"'#ó&'#1&'# #ô#ù'#‚~#‰Ø'#‚~&'#¸ó#½»'#I"'#1&'# #A"'# # #¶ó'#I"'#6 #J#½¼'#6" #‚f #½½'#I"'#1&'# #‚S'#I"'#1&'# #A #‚!#‚¼'#I"'#1&'# #‚S'#I"'#1&'# #A #‚"#½¾'#1&'# "'# ##À ºÏ½©À »½«À »[¸RÀ »z¹öÀ »‘½¬À »§½­À »½‚VÀ »Óˆ2À »é½®À ¼½¯À ¼½°À ¼,¼…À ¼B½±À ¼X½²À ¼n½³À ¼…½´À ¼œ½µÀ ¼²½¶À ¼È½·À ¼Þ½¸À ¼õ^À ½ ¼­À ½J‰ÙÀ ½zùÀ ½U‰ØÀ ½©½»À ½ÚV¶óÀ ½ù½¼À ¾½½À ¾]‚¼À ¾¦½¾#½›$+'#á*#‚¦%+'#¸ó*#¹ñ&+'#6*#½¿'+'#¹ò*#¹ü(+'#½À*#½Á)+'#‡*#Š©*+'#½~*#½++'#6*#½Â,+'#‹2*#½Ã-+'#6*#©4.+'#†?*#½Ä/+'#Š &'#½i*#½Å0+'#‚~&'#¸ó*#½Æ1#½› #‚¦ #¹ñ #½ #½¿ #¹ü2#‹Î'#½€"'#†? #†k"'# #†C"'#á #…<"'#½I #„b"'#½@ #½‘3#¼¬'#‚~&'#¸ó4#ºf'#I5#½Ç'#I6#ù'#I7#½È'#I8#½É'#‚~&'#½›"'#á #;"'# #†C"'#½I #„b'#6"'#º #º #‚O"'#½@ #½‘9#¼§'#¼¨:@#½Ê"'#6 #½Ë"'#á #;"'# #†C;#½Ì'#I<#½Í'#I=À ¿È‚¦À ¿ß¹ñÀ ¿ö½¿À À ¹üÀ À#½ÁÀ À:Š©À ÀQ½À Àh½ÂÀ À~½ÃÀ À•©4À À«½ÄÀ À½ÅÀ Àá½ÆÀ Á^À ÁC‹ÎÀ Á˜¼¬À ÁµºfÀ ÁɽÇÀ ÁÝùÀ Áñ½ÈÀ ½ÉÀ ÂqU¼§À ƒ½ÊÀ ¶½ÌÀ ÂʽÍ#½Î>+'#½›*#©ï?+'#½I*#„b@#½Î #©ï #„bAÀ é©ïÀ ÃÀ„bÀ Ã×^#½ÏB+'#á*#‚¦C+'#á*#;D+'# *#†CE+'#6*#½ËF+'#¹ò*#œ’G+'#…f&'#½›*#½ÐH+'#…f&'#½›*#½ÑI+'#…f&'#¸ö*#½ÒJ+'#ˆJ*#‰èK+'# *#½ÓL#½Ï #‚¦ #; #†C #½Ë #œ’M#…g'#6N#½Ô'#6O#½Õ'#6P#½Ö'#½›Q#½×R#½Ø'#I"'#½› #©ïS#½Ù'#I"'#½› #©ïT#½Ú'#I"'#½› #©ïU#ù'#I"'#6 #¤V#œà'#‚~&'#½Î"'#á #½Û"'# #½Ü"'#½I #„b"'#½~ #¥©"'#½@ #½‘WÀ Ä‚¦À Ä4;À ÄJ†CÀ Ä`½ËÀ Ävœ’À ĽÐÀ Ĭ½ÑÀ Ä˽ÒÀ Äê‰èÀ ŽÓÀ Å^À ÅQU…gÀ ÅbU½ÔÀ ÅsU½ÕÀ Å„½ÖÀ Å™½×À Ũ½ØÀ ÅɽÙÀ Åê½ÚÀ Æ ùÀ Æ+œà7'#6"'#º #½Ý"'#á #;"'# #†C#½ÞX'#¶e#½~Y6+'#6*#½ßZ+'#6*#½à[+'#‚€&'#á'#½Ï*#½á\+'#1&'#½â*#½ã]+'#1&'#½ä*#½å^+'#¹ò*#¹ü_+'#…6*#½‡`+'#…6*#½æa+'#…6*#½çb+'#„À*#½èc+'#½Þ*#½éd#»T'#„Àe+'#„À*#¼¸f+'# *#¼¹g+'#6*#¼ºh+'#á*#õi#½~ #¹üj #»T'#I"'#„À #Šk #¼Ì'#6"'#º #¼Í"'#á #;"'# #†C #‚Ol#ŒÂ'#‚~&'#¼»"'#á #…<"'#á #;"'# #†C"'#á #†Dm#¼¼'#‚~&'#¼»"'#á #…<"'#†? #…n#˜Â'#‚~&'#¼»"'#á #;"'# #†C"'#á #†Do#¼½'#‚~&'#¼»"'#†? #…p#¼¾'#‚~&'#¼»"'#á #;"'# #†C"'#á #†Dq#¼¿'#‚~&'#¼»"'#†? #…r#˜è'#‚~&'#¼»"'#á #;"'# #†C"'#á #†Ds#¼À'#‚~&'#¼»"'#†? #…t#˜f'#‚~&'#¼»"'#á #;"'# #†C"'#á #†Du#¼Á'#‚~&'#¼»"'#†? #…v#£Ð'#‚~&'#¼»"'#á #;"'# #†C"'#á #†Dw#¼Ã'#‚~&'#¼»"'#†? #…x#ª'#‚~&'#¼»"'#á #;"'# #†C"'#á #†Dy#¼Â'#‚~&'#¼»"'#†? #…z#ù'#I"'#6 #¤{ #¼Ä'#‚~&'#6"'#†? #…"'#á #†A"'#á #¼Å #…T|#¼Æ'#I"'#†? #…"'#á #¼Å"'#¼Ç #½Ý} #¼Ê'#‚~&'#6"'#á #;"'# #†C"'#á #†A"'#á #¼Å #…T~#¼Ë'#I"'#á #;"'# #†C"'#á #¼Å"'#¼Ç #½Ý #¼È'#á"'#†? #†k #…T€#½ê'#‚~&'#½€"'#á #…<"'#†? #†k#½ë'#‚~&'#½€"'#á #…<"'#†? #†k"'#½€ #‰‚#½ì'#I"'#½› #©ïƒ#½í'#I"'#½› #©ï„#½î'#I"'#½› #©ï…#½ï'#I†#½ð'#I"'#6 #¤‡#½ñ'#½Ï"'#á #;"'# #†C"'#6 #½Ëˆ#½ò'#‚~&'#½Î"'#á #½Û"'# #½Ü"'#½ó #½ô"'#6 #½Ë"'#½@ #½‘‰#½õ'#½ö"'#†? #…"'#½÷ #†AŠ#½ø'#½ä"'#½I #„b"'#½÷ #†A‹#½ù'#I"'#½â #½ÝŒ#½ú'#I"'#½â #½Ý@#½û'#á"'#†? #…"'#‚€&'#á'#á #‹½Ž@+'#‚€&'#á'#á*#½ü6À Çr½ßÀ Lj½àÀ Çž½áÀ ÇýãÀ Çá½åÀ Çÿ¹üÀ Ƚ‡À È-½æÀ ÈD½çÀ È[½èÀ Èr½éÀ ȉU»TÀ È›¼¸À Ȳ¼¹À ÈȼºÀ ÈÞõÀ Èõ^À É V»TÀ É-V¼ÌÀ ÉqŒÂÀ ÉÀ¼¼À É÷˜ÂÀ Ê9¼½À Êc¼¾À Ê¥¼¿À ÊϘèÀ ˼ÀÀ Ë;˜fÀ Ë}¼ÁÀ ˧£ÐÀ Ëé¼ÃÀ ̪À ÌU¼ÂÀ ÌùÀ ̤V¼ÄÀ Ìò¼ÆÀ Í-V¼ÊÀ ͆¼ËÀ ÍÌV¼ÈÀ Íù½êÀ Î0½ëÀ Ît½ìÀ Ε½íÀ ζ½îÀ Î×½ïÀ Îë½ðÀ Ï ½ñÀ ÏD½òÀ Ï ½õÀ ÏÒ½øÀ нùÀ Ð%½úÀ ÐF½ûÀ Ѓ½ü '#„&'#½x-'#º‡#½x@+*#½ý‘@+*#½þ’@+*#½ÿ“@+*#¾”@+'#‚€&'# '#½x*#¾•+*#¹ñ–+'#½v*#½w—+'#½À*#½Á˜+'# *#‚"™+'#‡*#Š©š+'#6*#¾›+'#‚~*#½Æœ#½x #¹ñ #½w#¾'#Iž#¾'#6Ÿ#ºf'#I #¼¬'#‚~&'#¸ó¡#¼§'#¼¨¢#¾'#6£#¾'#6¤#¾'#6¥#¾'#6¦#º‹'#á§#ºŒ'#á¨#Œ'#‚€"'#6 #‡ ©À ÒX½ýÀ Òk½þÀ Ò~½ÿÀ Ò‘¾À Ò¤¾À ÒȹñÀ ÒÙ½wÀ Òð½ÁÀ Ó‚"À ÓŠ©À Ó4¾À ÓJ½ÆÀ Óa^À Ó¾À Ó•U¾À Ó¦ºfÀ Óº¼¬À Ó×U¼§À ÓéU¾À ÓúU¾À Ô U¾À ÔU¾À Ô-Uº‹À Ô?UºŒÀ ÔQŒ '#ó&'#§ú-'#º‡'#»O#½vª#@+'#‚€&'# '#½v*#¾ «+'#á*#»P¬+'#»R*#»Q­+'#6*#»S®+'#„À*#½è¯+'#‹2*#½Ã°@#ò'#‚~&'#»O" #Œp"'# #†C"'# #¸ù"'#6 #¸ú"'#6 #·g±@#»U'#‚~&'#»O" #Œp"'# #†C"'#¹ò #œ’"'# #¸ù"'#6 #¸ú"'#6 #¹ó"'#6 #·g²!#½v#8 #¾ + #¾ ³!#½v#»V #¾ +´@#¾ '#»Rµ#»T'#„À¶ #»T'#I"'#„À #„Á·#ˆ'#‡&'#§ú'#I"'#§ú #‰ì #ˆ"'#…6 #„Ù'#I #ˆ"'#6 #ˆ¸#ù'#‚~"'#6 #¤¹#·Ç'#Iº#†C'# »#Œp'#¸Ý¼ #»X"'# #Š½#¾ '#I"'#½u #˜¼¾#½í'#I"'#½x #©ï¿#¾'#I"'#½x #©ïÀ#¾'#I"'#½x #©ïÁ#¾'#¾Â#»Y'#»ZÃ#º‹'#áÄ#ºŒ'#áÅ#Œ'#‚€&'#á'#‚¨"'#6 #‡ Æ+'#¾*#¾Ç+'#6*#©4È+'#‚¨*#¾ +É+'#6*#¾ Ê+'#„&'#½x*#¾Ë+'#„&'#½x*#¾Ì+'#Š—&'#§ú*#Š³Í#À Õ[¾ À Õ»PÀ Õ–»QÀ Õ­»SÀ ÕýèÀ ÕÚ½ÃÀ ÕñòÀ ÖE»UÀ Ö²8À ÖÔ»VÀ Öî¾ À ×U»TÀ ×V»TÀ ×6ˆÀ ×¢ùÀ ×È·ÇÀ ×ÜU†CÀ ×íUŒpÀ ×ÿV»XÀ ؾ À Ø;½íÀ Ø\¾À Ø}¾À ØžU¾À Ø°»YÀ ØÅUº‹À Ø×UºŒÀ ØéŒÀ Ù¾À Ù/©4À ÙE¾ +À Ù\¾ À Ùr¾À Ù‘¾À Ù°Š³#½óÎ@+'#á*#¾$¾¾Ï@+'#á*#¾$¾¾Ð#½ó"'#á #¨åÑ+#½ó#¾2#¾8' #½I#¾Ò+'#1&'#½I*#¾ÓÀ Úà¾À Úü¾À Û^À Û3¾À Û]¾#½IÔ+'#á*#;Õ+'# *#†CÖ+'#á*#ž2×+'#á*#ž.Ø+'#6*#¾Ù #½I'#á #;'# #†C #ž2 #ž.2#¾Ú+#½I#¾2#;12#†C12#ž212#ž.12#¾Û#¾'#6ÜÀ Û°;À ÛƆCÀ ÛÜž2À Ûóž.À Ü +¾À Ü ^À Üc¾À Ü’U¾'#¼¨#¾Ý+'#¸Ý*#º;Þ+'# *#º<ß+'# *#¼Þà#¾ #º; #º< #¼Þá@#ŽÐ'#¾"'#¸ó #¹öâÀ Üöº;À Ý º<À Ý#¼ÞÀ Ý9^À ÝbŽÐ '#ó&'# '#¸ó#¾ ã+'#ó&'# *#½rä+'#¸ó*#¹ñå#¾  #¹ñ #½ræ#ˆ'#‡&'# '#I"'# #‰ì #ˆ"'#…6 #„Ù'#I #ˆ"'#6 #ˆç#†S'#Ýè #†S'#I"'#Ý #Jé#ƒ'#I"'#‚e #†(ê#ƒ'#I"'#‚e #†($ƒ^ë#‚Ø'#I"'# #‚Ùì#ƒ'#I"'#‚X #ƒ"'#á #ƒ$ƒ^í#‚'#I"'#1&'# #åî#‚d'#I"'#‚e #‚f"'#‚g #‚hï#‰Ù'#‚~"'#ó&'#1&'# #ôð#ºf'#Iñ#‚ñ'#‚~ò#ù'#‚~ó#‰Ø'#‚~ô#†C'# õ#Œp'#¸Ýö#º;'#¸Ý÷#º<'# ø#ºE'#6"'#ºF #¥‰"'#6 #œüù#ºG'# "'#ºH #¥‰ú#ºI'#I"'#ºH #¥‰û#Œ'#‚€"'#6 #‡ üÀ ÝϽrÀ Ýí¹ñÀ Þ^À Þ$ˆÀ ÞŽU†SÀ Þ V†SÀ ÞÀƒÀ ÞáƒÀ ß ‚ØÀ ß)ƒÀ ß^‚À ß…‚dÀ ߶‰ÙÀ ßæºfÀ ßú‚ñÀ àùÀ à$U‰ØÀ à6U†CÀ àGUŒpÀ àYUº;À àkUº<À à|ºEÀ ੺GÀ àʺIÀ àëŒ#½÷ý+'# *#¾!þ@+*#¤Ì'#½÷OOÿ@+*#¾"'#½÷‚@+*#¾#'#½÷‚ +#½÷ #¾!‚0#½÷#…ï"'#á #†A‚#‚”'#á‚À á̾!À áâ¤ÌÀ â¾"À â"¾#À âA^À âX…ïÀ âv‚”#½â‚ +'#¾$*#ª^‚+'#á*#¼Å‚+'#6*#¾%‚+'#á*#¾&‚ +'#á*#›¸‚ ++'#á*# G‚ +'#á*#¾'‚ +'# *#¾(‚ #½â #ª^ #¼Å‚#†A'#½÷‚#¾)'#I"'#¼» #˜¼‚ À âϪ^À âæ¼ÅÀ âý¾%À ã¾&À ã*›¸À ãA GÀ ãX¾'À ão¾(À ã…^À ã¥U†AÀ ã·¾) '#½â#½ö‚+'#†?*#†k‚#½ö #†k" #¼Å"'#¾$ #¾*‚#¾+'#6"'#†? #†k"'#½÷ #†A‚#¾)'#I"'#¼» #˜¼‚À äC†kÀ äZ^À ä…¾+À ä³¾) '#½â#½ä‚+'#á*#;‚+'# *#†C‚#½ä #; #†C" #¼Å"'#¾$ #¾*‚#¾+'#6"'#½I #„b"'#½÷ #†A‚#¾)'#I"'#¼» #˜¼‚À å;À å†CÀ å3^À åf¾+À 唾)'#¼Ç#¾$‚#†A'#½÷‚#¾)'#I"'#½â #ª^"'#½€ #˜¼‚#¾,'#I"'#½ä #ª^"'#¼» #˜¼‚À åðU†AÀ æ¾)À æ0¾, '#¾$'#¼Ü#¾-‚ +'#á*#ž2‚!+'#á*#ž.‚"#¾- #ž2 #ž.‚##†A'#½÷‚$#»r'#á‚%#¾)'#I"'#½â #8"'#¼» #˜¼‚&#¾,'#I"'#½ä #8"'#¼» #˜¼‚'À æ’ž2À æ©ž.À æÀ^À æàU†AÀ æò»rÀ ç¾)À ç4¾, '#¾$'#¼Ý#¾.‚(+'#á*#ž2‚)+'#á*#ž.‚*#¾. #ž2 #ž.‚+#†A'#½÷‚,#»r'#á"'#½â #ª^"'#½€ #˜¼‚-#¾)'#I"'#½â #ª^"'#¼» #˜¼‚.#¾,'#I"'#½ä #ª^"'#¼» #˜¼‚/À 粞2À çÉž.À çà^À èU†AÀ è»rÀ èA¾)À èo¾,'#¼×#¾/‚0+'# *#­-‚1+'#á*#…<‚2+'#†?*#“õ‚3 +#¾/ #­- #…< #“õ‚4À èç­-À èý…<À é“õÀ é+^'#á#¾0‚5À —*À —5¶fÀ ˜ À ˜9½FÀ ˜ÉÀ ˜ï½@À œ¼À Í%º†À ⺇À žˆÀ ž»ˆ/À  0À  œ%½gÀ  ¾7½hÀ  â½iÀ ¢ÃÀ £>½qÀ ¤À ¤>½tÀ ¤ýÀ ¥7½uÀ ¦ÆÀ §&½}À ©«À ª4½‰À ªÉÀ ªÞ½ŠÀ «rÀ «¸QÀ ­¢À ®'¸YÀ ¯¢À ¯ë½‹À ² À ²½”À µÀ µ”½€À ¸íÀ ¹¾½§À º†À ºª½ŽÀ ¾ÌÀ ¿¹½›À ÂÞÀ Ú½ÎÀ Ã÷À ĽÏÀ ƈÀ Ç$7½ÞÀ Ç[½~À ШÀ Ò2½xÀ ÔrÀ Õ-½vÀ ÙÏÀ ÚѽóÀ Û{À Û¡½IÀ Ü£À Üß¾À Ý„À ݪ¾ À á À á½½÷À â‹À âÀ½âÀ ãØÀ ä-½öÀ äÔÀ äñ½äÀ åµÀ åÙ¾$À æ^À æt¾-À çaÀ 甾.À èÀ èо/À éTÀ és¾0  @Î##»<#¾1@+*#¾28HTTP@+*#¾38HTTP/1.@+*#¾48HTTP/1.0@+*#¾58HTTP/1.1@+'#6*#‚Z@+'#6*#ŒÇ@+*#¾68#ŒÇ#ŒÇ#ŒÇ#ŒÇ#ŒÇ#ŒÇ#ŒÇ#ŒÇ#ŒÇ#‚Z#ŒÇ#ŒÇ#ŒÇ#ŒÇ#ŒÇ#ŒÇ#ŒÇ#ŒÇ#ŒÇ#ŒÇ#ŒÇ#ŒÇ#ŒÇ#ŒÇ#ŒÇ#ŒÇ#ŒÇ#ŒÇ#ŒÇ#ŒÇ#ŒÇ#ŒÇ#‚Z#ŒÇ#‚Z#ŒÇ#ŒÇ#ŒÇ#ŒÇ#ŒÇ#‚Z#‚Z#ŒÇ#ŒÇ#‚Z#ŒÇ#ŒÇ#‚Z#ŒÇ#ŒÇ#ŒÇ#ŒÇ#ŒÇ#ŒÇ#ŒÇ#ŒÇ#ŒÇ#ŒÇ#‚Z#‚Z#‚Z#‚Z#‚Z#‚Z#‚Z#ŒÇ#ŒÇ#ŒÇ#ŒÇ#ŒÇ#ŒÇ#ŒÇ#ŒÇ#ŒÇ#ŒÇ#ŒÇ#ŒÇ#ŒÇ#ŒÇ#ŒÇ#ŒÇ#ŒÇ#ŒÇ#ŒÇ#ŒÇ#ŒÇ#ŒÇ#ŒÇ#ŒÇ#ŒÇ#ŒÇ#‚Z#‚Z#‚Z#ŒÇ#ŒÇ#ŒÇ#ŒÇ#ŒÇ#ŒÇ#ŒÇ#ŒÇ#ŒÇ#ŒÇ#ŒÇ#ŒÇ#ŒÇ#ŒÇ#ŒÇ#ŒÇ#ŒÇ#ŒÇ#ŒÇ#ŒÇ#ŒÇ#ŒÇ#ŒÇ#ŒÇ#ŒÇ#ŒÇ#ŒÇ#ŒÇ#ŒÇ#‚Z#ŒÇ#‚Z#ŒÇ#ŒÇ#ŒÇ#ŒÇ#ŒÇ#ŒÇ#ŒÇ#ŒÇ#ŒÇ#ŒÇ#ŒÇ#ŒÇ#ŒÇ#ŒÇ#ŒÇ#ŒÇ#ŒÇ#ŒÇ#ŒÇ#ŒÇ#ŒÇ#ŒÇ#ŒÇ#ŒÇ#ŒÇ#ŒÇ#ŒÇ#ŒÇ#ŒÇ#ŒÇ#ŒÇ#ŒÇ#ŒÇ#ŒÇ#ŒÇ#ŒÇ#ŒÇ#ŒÇ#ŒÇ#ŒÇ#ŒÇ#ŒÇ#ŒÇ#ŒÇ#ŒÇ#ŒÇ#ŒÇ#ŒÇ#ŒÇ#ŒÇ#ŒÇ#ŒÇ#ŒÇ#ŒÇ#ŒÇ#ŒÇ#ŒÇ#ŒÇ#ŒÇ#ŒÇ#ŒÇ#ŒÇ#ŒÇ#ŒÇ#ŒÇ#ŒÇ#ŒÇ#ŒÇ#ŒÇ#ŒÇ#ŒÇ#ŒÇ#ŒÇ#ŒÇ#ŒÇ#ŒÇ#ŒÇ#ŒÇ#ŒÇ#ŒÇ#ŒÇ#ŒÇ#ŒÇ#ŒÇ#ŒÇ#ŒÇ#ŒÇ#ŒÇ#ŒÇ#ŒÇ#ŒÇ#ŒÇ#ŒÇ#ŒÇ#ŒÇ#ŒÇ#ŒÇ#ŒÇ#ŒÇ#ŒÇ#ŒÇ#ŒÇ#ŒÇ#ŒÇ#ŒÇ#ŒÇ#ŒÇ#ŒÇ#ŒÇ#ŒÇ#ŒÇ#ŒÇ#ŒÇ#ŒÇ#ŒÇ#ŒÇ#ŒÇ#ŒÇ#ŒÇ#ŒÇ#ŒÇ#ŒÇ#ŒÇ#ŒÇ#ŒÇ#ŒÇ#ŒÇ#ŒÇ#ŒÇ#ŒÇÀ ëv¾2À ë’¾3À ë´¾4À ëؾ5À ëü‚ZÀ ìŒÇÀ ì*¾6#½ª @+'# *#¾7 @+'# *#¼æ + +@+'# *#¼å @+'# *#¾8 @+'# *#¾9& @+'# *#´,@+'# *#´-@+'# *#´/@+'# *#—°0@+'# *#–‡1@+'# *#¾::@+'# *#¾;;@+'# *#•ø= À 7À ï¼æÀ ï´¼åÀ ï˾8À ïâ¾9À ïù´À ð´À ð'´À ð>—°À ðU–‡À ðl¾:À ðƒ¾;À ðš•ø#¾<@+'# *#¾=@+'# *#¾>@+'# *#¾?@+'# *#¾@@+'# *#¾A@+'# *#¾B@+'# *#¾C@+'# *#¾D@+'# *#¾E@+'# *#¾F @+'# *#¾G +!@+'# *#¾H "@+'# *#¾I #@+'# *#¾J $@+'# *#¾K%@+'# *#¾L&@+'# *#¾M'@+'# *#¾N(@+'# *#¾O)@+'# *#¾P*@+'# *#¾Q+@+'# *#¾R,@+'# *#¾S-@+'# *#¾T.@+'# *#¾U/@+'# *#¦å0@+'# *#¾V1@+'# *#¾W2@+'# *#¾X#¾N3À ñ(¾=À ñ?¾>À ñV¾?À ñm¾@À ñ„¾AÀ ñ›¾BÀ ñ²¾CÀ ñɾDÀ ñà¾EÀ ñ÷¾FÀ ò¾GÀ ò%¾HÀ ò<¾IÀ òS¾JÀ òj¾KÀ ò¾LÀ ò˜¾MÀ ò¯¾NÀ òƾOÀ òݾPÀ òô¾QÀ ó ¾RÀ ó"¾SÀ ó9¾TÀ óP¾UÀ óg¦åÀ ó~¾VÀ ó•¾WÀ ó¬¾X#¾Y4@+'# *#¾Z5@+'# *#¾46@+'# *#¾57À ô»¾ZÀ ôÒ¾4À ôé¾5#¾[8@+'# *#¾Z9@+'# *#¾\:@+'# *#¾];À õ'¾ZÀ õ>¾\À õU¾]'#‡&'# #¾^<+'#‡&'# *#Š©=+'# *#¾_>+'#…6*#¾`?+'#6*#Š¤@+'#6*#¾aA+'# *#±‡B#¾^ #Š© #¾_ #¾`C#ˆ''#6D#ˆ()(#‚Z'#‚~&'#‚Z"'#‚Z #ˆ)E#ˆ'#‚~F#ˆ'#I'#I"'# #A #ˆ G#ˆ'#I'#I #ˆ"H#„Ù'#I"'#…6 #ˆ!I#ˆ$'#I"'#‚~ #ˆ%J#ˆ&'#IK#¾b'#ILÀ õ¢Š©À õ¿¾_À õÔ¾`À õꊤÀ õÿ¾aÀ ö±‡À ö)^À öQUˆ'À öaˆ(À ö•ˆÀ ö©ˆÀ ö׈À öú„ÙÀ ÷ˆ$À ÷=ˆ&À ÷P¾b '#ó&'# #¾cM+'#‡&'# *#‰ÐN+'# *#ºO#¾c #‰Ð #ºP#ˆ'#‡&'# '#I"'# #‰ì #ˆ"'#…6 #„Ù'#I #ˆ"'#6 #ˆQÀ ÷õ‰ÐÀ øºÀ ø'^À øFˆ '#ó&'#½i#½ÀRC+'#6*#¾dS+'# *#‚VT+'# *#ˆ`U+'#6*#¾eV+'# *#‚"W+'# *#¾fX+'# *#¾gY+'# *#½•Z+'# *#¾h[+'#1&'# *# \+'#1&'# *#¾i]+'#1&'# *#¾j^+'#1&'# *#¾k_@+*#¾l4HHw`+'# *#¾ma+'# *#¾nb+'# *#½jc+'#6*#½d+'#6*#¾oe+'#6*#¾pf+'#6*#¾qg+'# *#¾rh+'#6*#½i+'#6*#¾sj+'#6*#¾tk+'#½*#½l+'# *#¾um+'#½i*#½rn+'#‡&'# *#º&o+'#6*#¾vp+'#6*#¾wq+'#Š—&'#½i*#Š³r+'#Š—&'# *#¾xs0#½À#¾yt0#½À#¾zu!#½À#8 #¾ev#ˆ'#‡&'#½i'#I"'#½i #‰ì #ˆ"'#…6 #„Ù'#I #ˆ"'#6 #ˆw#¾{'#I"'#ó&'# #ôx#†ä'#Iy#¾|'#6z#¾}'#I{#ˆ#'#I"'# #.|#ŠÅ'#I}#‡O'#á~#©1'# #½o'# €€#¶4'#6€#¼†'#6€‚ #¾~'#I"'#6 #J€ƒ#¾'#¾c€„#¾€'# €…#¾'#I€†#¾‚'#I€‡@#¾ƒ'#6"'# #‚ö€ˆ@#¾„'#6"'# #‚ö€‰@#¾…'#1&'#á"'#á #¾†€Š@#¾‡'# "'# #f€‹@#¾ˆ'#6"'#1&'# #¾‰"'#1&'# #J€Œ#¾Š'#I"'# #¾‹"'# #¾Œ€#¾'# "'# #‚ö€Ž#¾Ž'#I"'#1&'# #¨"'# #‚ö€#¾'#I€#¾'#½i"'# #½o€‘#¾‘'#I"'#6 #»\€’#¾’'#I€“#¾“'#I" #‚f" #‚h€”#¾”'#I" #‚f" #‚h€•CÀ øê¾dÀ øÿ‚VÀ ùˆ`À ù)¾eÀ ù>‚"À ùS¾fÀ ùh¾gÀ ù}½•À ù’¾hÀ ù§ À ùþiÀ ùß¾jÀ ùû¾kÀ ú¾lÀ ú;¾mÀ úP¾nÀ úe½jÀ úz½À ú¾oÀ ú¤¾pÀ ú¹¾qÀ úξrÀ úã½À úø¾sÀ û ¾tÀ û"½À û8¾uÀ ûM½rÀ ûcº&À û€¾vÀ û•¾wÀ ûªŠ³À ûȾxÀ ûå¾yÀ ûõ¾zÀ ü8À üˆÀ üˆ¾{À ü¯†äÀ ü¾|À üÕ¾}À üèˆ#À ýŠÅÀ ýU‡OÀ ý*U©1À ý:U½oÀ ýKU¶4À ý\U¼†À ýmV¾~À ýŒ¾À ý¡¾€À ýµ¾À ýɾ‚À ýݾƒÀ ýý¾„À þ¾…À þF¾‡À þe¾ˆÀ þž¾ŠÀ þʾÀ þ꾎À ÿ¾À ÿ1¾À ÿR¾‘À ÿw¾’À ÿ‹¾“À ÿ°¾”À ëKÀ ëh¾1À ï?À ïx½ªÀ ð±À ñ¾<À óÄÀ ô­¾YÀ õÀ õ¾[À õlÀ õ…¾^À ÷cÀ ÷Ù¾cÀ ø¯À øͽÀÀ ÿÕ  @Î##»<%+'#á*#¾•$¾–¾—'#¼#½z%+'#6*#¾˜+'#6*#¾™+'#„Œ*#¾š+'#…6*#¾›+'#¾*#¾+'#½z*#¾œ+'#½z*#ˆ¥+'#á*#Œ +'#‚€*#œ +#½z #¾ #Œ #ºf'#I #¾'#I #¾ž'#„Œ#¼'#6 #Š '#I'#I #‚O#…³'#6" #J#…´'#6" #‚¦#¤" #‚¦#…5'#I" #‚¦" #J#…º" #‚¦" #…¸#…Š"'#‚€ #2#…—" #‚¦#…“'#I#…Z'#I'#I" #‚¦" #J #…T#…°'#‚X&'#…¯#…µ'#I"'#‚X&'#…¯ #…°#‚å)(#ƒ¡(#…¥'#‚€&'#ƒ¡'#…¥'#…¯&'#ƒ¡'#…¥" #‚¦" #J #‰#…š'#I'#6" #‚¦" #J #…V#‚y)(#ƒ¡(#…¥'#‚€&'#ƒ¡'#…¥#…·" #‚¦" #J #…· #…¸#…¹'#I" #‚¦" #J #…· #…ª'#‚X!#…«'#‚X"#'# ##…g'#6$#…h'#6%#‚”'#á&%Àv¾˜À‹¾™À ¾šÀ¶¾›À̾À⾜Àøˆ¥ÀŒÀ$œÀ:^ÀYºfÀl¾ÀU¾žÀU¼À VŠ ÀÃ…³ÀÜ…´Àö¤À …5À+…ºÀG…ŠÀa…—Àv…“À‰…ZÀ¹U…°ÀÒ…µÀú‚åÀV…šÀ†‚yÀ¶…·Àê…¹ÀU…ªÀ&U…«À7UÀFU…gÀVU…hÀf‚”#¾'+'#‚€&'#á'#½z*#¾Ÿ(+'# *#¾ )+'#½z*#‰<*+'#½z*#‰=++'#‹2*#¾¡,#¾-#¾¢'#á.#¾£'#½z"'#á #Œ/#©F'#½z0 #»X'#I"'# #Š1#ù'#I2#¾¤'#I"'#½z #¯>3#¾¥'#I"'#½z #¯>4#¾¦'#I"'#½z #¯>5#¾§'#I6#¾¨'#I7#¾©'#I8À“¾ŸÀ·¾ À̉<Àâ‰=Àø¾¡À^À¾¢À/¾£ÀP©FÀdV»XÀƒùÀ–¾¤À¶¾¥ÀÖ¾¦Àö¾§À ¾¨À ¾©À(ÀE%¾•À`½zÀzÀ…¾À /  @Î##»<%+*#¾ª%+*#¸å#‹ž#¾«@+'#¾«*#¸çP#…{'#¾«`#‘H"'#¾« #¸è@#‹ž)(#‚j'#‚j'#‚j #‹š"'#¶e"'#¹ò #¾¬"'#á"'#†? #†k"'#‚€&'#á'#á #‹½ #¼É@#¾­)(#‚j'#‚j'#‚j #‹š"'#¾« #¸è#¾¬'#¶e"'#¹ò #œ’#¼É'#á"'#†? #…"'#‚€&'#á'#á #‹½ À +¸çÀ +2U…{À +CV‘HÀ +^‹žÀ +ë¾­À %¾¬À F¼É '#¾«#¾® ++'#¾«*#ˆ¦ +'#¶e"'#¹ò*#¾¯ +'#á"'#†? #†k"'#‚€&'#á'#á #‹½*#½û #¾® #¾¯ #½û#¾¬'#¶e"'#¹ò #œ’#„^#¼É'#á"'#†? #…"'#‚€&'#á'#á #‹½#„^À ʈ¦À ྯÀ ½ûÀ L^À k¾¬À “¼ÉÀ ÎÀ ë%¾ªÀ û%¸åÀ +¾«À ‚À µ¾®À Ö  @Î##»<#¾°@+'# *#¾±Hè@+'# *#¾²Hé@+'# *#¾³Hê@+'# *#¾´Hë@+'# *#¾µHì@+'# *#¾¶Hí@+'# *#¾·Hî@+'# *#¾¸Hï@+'# *#¾¹Hð @+'# *#¾ºHñ +@+'# *#¾»Hò @+'# *#‡‡Hó @+'# *#¾¼H÷ @+'# *#¾½#¾±#„V$¾¾¾¿@+'# *#¾À#¾²#„V$¾Á¾Â@+'# *#¾Ã#¾³#„V$¾Ä¾Å@+'# *#¾Æ#¾´#„V$¾Ç¾È@+'# *#¾É#¾µ#„V$¾Ê¾Ë@+'# *#¾Ì#¾¶#„V$¾Í¾Î@+'# *#¾Ï#¾·#„V$¾Ð¾Ñ@+'# *#¾Ò#¾¸#„V$¾Ó¾Ô@+'# *#¾Õ#¾¹#„V$¾Ö¾×@+'# *#¾Ø#¾º#„V$¾Ù¾Ú@+'# *#¾Û#¾»#„V$¾Ü¾Ý@+'# *#‡ÿ#‡‡#„V$ˆˆ@+'# *#¾Þ#¾¼#„V$¾ß¾àÀ Y¾±À w¾²À •¾³À ³¾´À ѾµÀ ᄊÀ ¾·À+¾¸ÀI¾¹Àg¾ºÀ…¾»À£‡‡ÀÁ¾¼Àß¾½À¾ÀÀ+¾ÃÀQ¾ÆÀw¾ÉÀ¾ÌÀþÏÀé¾ÒÀ¾ÕÀ5¾ØÀ[¾ÛÀ‡ÿÀ§¾Þ#¾á @+'#¾á*#¾â'#¾á@+'#¾á*#¾ã#¾â#„V$¾ä¾å@+'#¾á*#¾æ'#¾á<œü@+'#¾á*#¾ç#¾æ#„V$¾è¾é+'#6*#¾ê +'#6*#¾ë!+'# *#¾ì"+'# *#¾í#+'#6*#œü$ +#¾á #¾ê #¾ë #¾ì #¾í #œü%#¾î'#¾ï"'#¼Š #ºc&#¾ð'#á"'#¼Š #ºc"'# #ƒ7'#¾ñ'#¾ï"'#¼Š #ºc( À¬¾âÀξãÀõ¾æÀ¾çÀC¾êÀX¾ëÀm¾ìÀ‚¾íÀ—œüÀ¬^Àû¾îÀ¾ðÀI¾ñ'#‡&'#§ú'#¯€#¾ò)#¾ò"'#1&'#á #¯‚ #¾ó"'#¾á #¾ô #¾á#¾â*@#¶4'#‚~&'#¯€"'#§ú #˜¼"'#1&'#á #¯‚ #¾ó"'#¾á #¾ô #¾á#¾â+@#¾õ'#6"'#§ú #˜¼,Àõ^À;¶4À¾õ'#ó&'#‚¨'#‰Ç&'#‚¨#¯€-@+'# *#¾ö.@+'# *#ŒÂ/@+'# *#»\0@+'# *#©41@+'# *#¦æ#¾ö#„V$¾÷¾ø2@+'# *#¦ç#ŒÂ#„V$¾ù¾ú3@+'# *#¯ƒ#»\#„V$¾û¾ü4@+'# *#¦å#©4#„V$ºàºá5+'#„À*#¾ý6@#œà'#‚~&'#¯€"'#á #…"'#‚X&'#á #¯‚"'#‚€&'#á'#‚¨ #®;"'#¾á #¾ô #¾á#¾â7#¯€#„VK$¾þ¾ÿ$¿¿80#¯€#¿"'#¸ó #¹ö"'#á #ž0"'#6 #¿"'#¾á #¾ô #¾á#¾â9#™'# :#¯„'#á;#ž0'#á<#¿'# =#¿'#á>#ù'#‚~"'# #†"'#á #‘Ð?#‚'#I" #A@#‰Ù'#‚~"'#ó #ôA#¿'#I"'#1&'# #åBP#õ'#áC`#õ"'#á #õDÀþ¾öÀŒÂÀ,»\ÀC©4ÀZ¦æÀ€¦çÀ¦¯ƒÀ̦åÀò¾ýÀœàÀ~^À ¿ÀóU™ÀU¯„ÀUž0À%U¿À5U¿ÀFùÀy‚À’‰ÙÀ³¿ÀÙUõÀêVõ'#¶¬#¿E+'#á*#„WF +#¿ #„W$ƒ^G#‚”'#áHÀÅ„WÀÛ^Àø‚”À .À K¾°ÀÍÀž¾áÀmÀѾòÀ½ÀÒ¯€ÀÀ¯¿À   @Î##»<%+'#á*#¿$¿ ¿ +%+'#á*#¿ $¿ ¿ %+'#á*#¿$¿¿%+'#á*#¿$¿¿%+'#á*#¿$¿¿#¿@+'# *#–ƒ@+'# *#¼‘@+'# *#¼›À–ƒÀ'¼‘À>¼›#¿ @+'# *#¿ +@+'# *#¼‘ @+'# *#¼› @+'# *#¿ @+'# *#¿@+'# *#¿@+'# *#¿@+'# *#¿@+'# *#¿@+'# *#¿  @+'# *#¿! +@+'# *#¿" @+'# *#¿# @+'# *#¿$ @+'# *#¿%@+'# *#¿&À|¿À“¼‘Àª¼›ÀÁ¿ÀØ¿Àï¿À¿À¿À4¿ÀK¿ Àb¿!Ày¿"À¿#À§¿$À¾¿%ÀÕ¿&#¿'+'#1&'# *#å#¿' #åÀ{åÀ—^#¾ï+'#á*#¾†+'# *#¶¹#¾ï #¾† #¶¹ #‚”'#á!Àʾ†ÀඹÀõ^À‚” '#‚s&'#1&'# '#‚¨'#‚^&'#1&'# #¿("+@+'# *#¾=#@+'# *#¿)$@+'# *#¿*%@+'# *#¿+&@+'# *#¿,'@+'# *#¦å(@+'# *#¾W)@+'# *#¿-€*@+'# *#¿.@+@+'# *#¿/ ,@+'# *#¿0-@+'# *#¿1.+'# *#‚"/+'#6*#¿20+'#6*#¿31+'# *#¿42+'# *#¿53+'#6*#¿64+'# *#¿75+'# *#¿86+'# *#¿97+'# *#¿:8+'# *#¿;9+'# *#¿:+'#á*#¿;+'#‚^&'#‚¨*#‚`<+'#6*#¿<=+'# *#¿=>+'#*#¿>?+'#¿?*#¿@@#¿( #¿< #¿@A#ò'#ó&'#‚¨"'#ó&'#1&'# #ôB#‚d'#I"'#‚e #‚f"'#‚g #‚hC#ù'#ID#‚'#I"'#1&'# #åE#¿A'#I"'# #¥"'# #"'# #.F#¿B'#IG#¿C'#IH#¿D'#II#¿E'#IJ#¿F'#IK#¿G'#6L#¿H'#IM+À…¾=Àœ¿)À³¿*ÀÊ¿+Àá¿,Àø¦åÀ¾WÀ&¿-À=¿.ÀT¿/Àk¿0À‚¿1À™‚"À®¿2Àÿ3ÀØ¿4Àí¿5À¿6À¿7À,¿8ÀA¿9ÀV¿:Àk¿;À€¿À•¿À«‚`ÀÉ¿<ÀÞ¿=Àó¿>À ¿@À ^À EòÀ |‚dÀ ¬ùÀ ¿‚À å¿AÀ!¿BÀ!-¿CÀ!@¿DÀ!S¿EÀ!f¿FÀ!y¿GÀ!Œ¿H#¿IN+'#1&'# *#¿JO#¿I #¿J1PÀ"ø¿JÀ#^#¿KQ+'#1&'# *#¿JR#¿K #¿J1SÀ#K¿JÀ#g^7"'#1&'#á #¯‚#¿LT '#‚s&'#§ú'#¯€'#¾ò#¿MU +'#Š—&'#¯€*#Š³V+'#¿L*#¿NW+'#¾á*#¿OX#¿M #¿N #¿OY#ò'#ó&'#¯€"'#ó&'#§ú #ôZ@#¾…'#1&'#á"'#á #¾†[@#¿P'#‚~&'#¯€"'#§ú #˜¼"'#¿L #¾ó"'#¾á #¾ô\@#¿Q'#¿?"'#§ú #˜¼"'#¼© #‹Å"'#¾á #¾ô]@#¿R'#6"'#§ú #˜¼^ À#ÛŠ³À#ù¿NÀ$¿OÀ$%^À$DòÀ$u¾…À$¿PÀ$à¿QÀ%¿R#¿?_ +'#6*#¾ë`+'#6*#¾êa+'# *#¾ìb+'# *#¾íc+'#6*#¿d+'#¶þ*#èe+'#¶þ*#æf#¿? #¾ì #¿S#¶¾ #¾í #¿S#¶¾ #¾ë #¾ê #¿g#¿T'#¶þh#¿U'#¶þi#¿V'# "'#1&'# #·Àj#¿W'#1&'# "'#1&'# #·Àk À%‹¾ëÀ% ¾êÀ%µ¾ìÀ%ʾíÀ%ß¿À%ôèÀ& +æÀ& ^À&}¿TÀ&‘¿UÀ&¥¿VÀ&Ë¿W '#‚s&'#‚¨'#1&'# '#‚^#¿Xl ++'#¿S*#¿Ym+'#‚^&'#1&'# *#‚`n+'#¿?*#¿Zo#¿X #¿Yp#ò'#ó&'#1&'# "'#ó #ôq#‚'#I" #„Wr#‚d'#I"'#‚e #‚f"'#‚g #‚hs#ù'#It#¿['#I"'# #¿\"'#1&'# #Au@#¿]'#‚X&'#1&'# "'# #¿\"'#1&'# #A"'#6 #¿"'#6 #¼Ûv +À'„¿YÀ'š‚`À'¾¿ZÀ'Ô^À'êòÀ(‚À(3‚dÀ(cùÀ(v¿[À(§¿]'#Š‡#¿^w+'#¿S*#¿Yx+'#¸ó*#¹öy+'#Š—*#Š³z+'#‡*#Š©{+'#6*#¿_|+'#6*#· }+'#Š *#·£~+'#Š *#¿`#¿^ #¿Y #¹ö€€#ŠÚ'#I€#‰³'#I€‚#‰´'#I€ƒ#ŠÔ'#I€„#¿a'#Š—€…#¿b'#6"'#‚e #‚f"'#‚g #‚h€†#‰Ù'#‚~"'#ó #ô€‡#ù'#‚~€ˆ#‚'#I" #A€‰#¿c'#I€ŠÀ)^¿YÀ)t¹öÀ)ŠŠ³À) Š©À)¶¿_À)Ë· À)à·£À)ö¿`À* ^À*,ŠÚÀ*@‰³À*T‰´À*hŠÔÀ*|¿aÀ*‘¿bÀ*ʼnÙÀ*çùÀ*ü‚À+¿c '#ó-'#º‡'#¯€#¿S€‹,@+'#‚€&'# '#¿S*#¿d€Œ@+'# *#¶¾€@+'#á*#¿e$¿f¿g€Ž+'#á*#ž0€+'#Š—*#Š³€+'#‡*#Š©€‘+'#‰Ç*#ø€’+'#¸ó*#¹ñ€“+'#6*#¿<€”+'# *#¿h€•+'#6*#¿i€–+'# *#¿j€—+'#á*#¿k€˜+'#„À*#¿l€™+'#‹2*#¿m€š+'#¿^*#¿n€›+'# *#¿o€œ+'#á*#¿p€+'#‹2*#¿q€ž+'#¿?*#¿@€Ÿ@+'#¶e*#½€ @#œà'#‚~&'#¯€"'#á #…"'#‚X&'#á #¯‚"'#‚€&'#á'#‚¨ #®;"'#¾á #¾ô #¾á#¾â€¡@#¿r'#¿?"'#¼Ð #‹Å"'#¾á #¾ô€¢!#¿S#¿s #¹ñ #ž0"'#¾á #¾ô #¿<"'#¿? #¿t€£#ˆ'#‡'#I" #„W #ˆ"'#…6 #„Ù'#I #ˆ"'#6 #ˆ€¤#¾ý'#„À€¥ #¾ý'#I"'#„À #£{€¦#™'# €§#¯„'#ဨ#¿'# €©#¿'#ဪ#‚'#I" #A€«#¿'#I"'#1&'# #倬#‚d'#I"'#‚e #‚f"'#‚g #‚h€­#‰Ù'#‚~"'#ó #ô€®#‰Ø'#‚~€¯#ù'#‚~"'# #†"'#á #‘Ѐ°P#õ'#ေ`#õ"'#á #õ€²#‰Û'#I"'# #†"'#á #‘Ѐ³#º‹'#ဴ#ºŒ'#ဵ#Œ'#‚€&'#á'#‚¨"'#6 #‡ €¶@#¿u'#6"'# #†€·,À+Ý¿dÀ,¶¾À,¿eÀ,5ž0À,LŠ³À,cŠ©À,zøÀ,‘¹ñÀ,¨¿<À,¾¿hÀ,Ô¿iÀ,ê¿jÀ-¿kÀ-¿lÀ-.¿mÀ-E¿nÀ-\¿oÀ-r¿pÀ-‰¿qÀ- ¿@À-·½À-ÎœàÀ.?¿rÀ.n¿sÀ.¼ˆÀ/U¾ýÀ/,V¾ýÀ/MU™À/^U¯„À/pU¿À/U¿À/“‚À/­¿À/Ô‚dÀ0‰ÙÀ0'U‰ØÀ09ùÀ0mUõÀ0VõÀ0›‰ÛÀ0ÎUº‹À0àUºŒÀ0òŒÀ1!¿uÀ^À{%¿À–%¿ À±%¿ÀÌ%¿Àç%¿À¿ÀUÀn¿ÀìÀm¿'À­À¼¾ïÀ(ÀF¿(À!ŸÀ"ê¿IÀ#.À#=¿KÀ#À#7¿LÀ#°¿MÀ%;À%}¿?À&øÀ'S¿XÀ(ÿÀ)H¿^À+*À+·¿SÀ1A¿v€â + +À x³À †WÀ ‡LÀ –çÀ éŠÀËÀ «À À"À2‹  @Î##¿w!#ˆ=$‡„'#¿x#œ’#¿x ’#¿x"'#¿y #ŽŒ"'#1 #Œ7²#¿x#¿z"'#‚e #‚ ²#¿x#—µ"'#‚e #‚ €ƒ#¤'#‚¨"'#‚e #e€ƒ#…5'#I"'#‚e #e"'#‚e #J#ƒÝ'# €ƒ#ƒÜ'#6"'#‚e #2 €‚#—¸'#6"'#‚e #e +€‚#¿{'#I"'#‚e #e €‚#—º'#6"'#¿y #ŒX €‚#‚”'#á €‚#—¹'#‚¨"'#‚e #…<"'#1 #‹» À3¿^À3è¿zÀ4—µÀ4"¤À4D…5À4qUƒÝÀ4ƒÜÀ4¡—¸À4¿{À4ã—ºÀ5‚”À5—¹ '#¿x#¿y²#¿y#¿|"'#…6 #…T€‚#…7'#‚¨"'#1 #‹»" #§eÀ5³¿|À5Ð…7)(#ƒ˜ '#¿x-'#ˆ=&'#ƒ˜#¿}’#¿}²#¿}#‚Q"'#‚X&'#ƒ˜ #2€ƒ#¤'#ƒ˜"'#‚e #¥€ƒ#…5'#I"'#‚e #¥"'#ƒ˜ #J€’#'# €¢#'#I"'# #€‚#‚'#I"'#ƒ˜ #J€‚#…Š'#I"'#‚X&'#ƒ˜ #…‹€‚#…”'#I"'# #¥"'#ƒ˜ #‚€‚#…˜'#ƒ˜"'# #¥€‚#…™'#ƒ˜€‚#…Ÿ'#I"'# #B"'# #C€‚#…'#I"'# #B"'# #C"'#‚X&'#ƒ˜ #…‹"'# #…ž€‚#…'#I'# "'#ƒ˜ #ƒÎ"'#ƒ˜ #ƒ‡ #„‹ À67^À6D‚QÀ6h¤À6Š…5À6·UÀ6ÇVÀ6å‚À7…ŠÀ7.…”À7[…˜À7|…™À7‘…ŸÀ7»…À8 …€)(#ŒÇ'#…6"'#ŒÇ #…T'#ŒÇ#¿~!€"'#…6 #…T'#…6#¿"À3rÀ3ž9œ’À3±¿xÀ5JÀ5ž¿yÀ5ûÀ6 +¿}À8LÀ8¬¿~À8Ý¿¿€ŽZÀ9  @Î##¿€"'#‚¨ #‚c'#6#¿‚€"'#‚¨ #‚c'#‚e#¿ƒÀ9FÀ9b¿‚À9„¿ƒ¿„¸À9§  @Î##¿…!#‚~$¸¹!#$#¿†#¿‡'#‚€&'#†?'#¿ˆ€‚#¿‰'#¿ˆ"'#„ #‰ñ#‹£'#¿Š#¿‹'#¿Œ#¿'#¿Œ#¿Ž'#¿Œ#$DE€Â#ˆÉ'#á"'#„ #ˆÊ €Â#¿'#„"'#á #à"'#¿ˆ #¿ +À: U¿‡À:+¿‰À:MU‹£À:^U¿‹À:oU¿À:€U¿ŽÀ:œˆÉÀ:¾¿€'#¿†#¿‘ €"'#‚¨ #¿’'#¿“#¿” €"'#…> #‚¦'#¿•#¿– €"'#…> #‚¦"'#1&'#…> #…?'#¿Œ#¿—#¿˜'#¿˜#¿Š#‹®'#á#¿™'#6#¿š'#¿ˆ#ƒÜ'#6"'#‚e #2#¿›'#‚~&'#¿ˆ"'#†? #†kÀ;äU‹®À;õU¿™À<U¿šÀ<ƒÜÀ<5¿›'#¿˜#¿œ#¿'#„#º'#„#¹ø'#¿œ#¿ž'#6#¿Ÿ'#6#“õ'#¿ #ŒÚ'#1&'#¿“À<˜U¿À<©UºÀ<ºU¹øÀ<ËU¿žÀ<ÛU¿ŸÀ<ëU“õÀ<üUŒÚ'#¿˜#¿¡#¿¢'#¿“"'#„ #…!"'#1&'#‚¨ #…""'#‚€&'#„'#‚¨ #…#A&'#„'#‚¨#¿£'#¿“"'#„ #ˆR #¿¤'#¿“"'#„ #ˆR"'#‚¨ #J!#¿¥"'#… #… "À=\¿¢À=Á¿£À=⿤À>¿¥'#¿¡#¿“##ŒX'#¿•$#¿¦'#6%#¿’'#‚¨&#ƒÜ'#6"'#‚e #2'À>]UŒXÀ>nU¿¦À>~U¿’À>ƒÜ'#¿“#¿§(#…8'#¿¨)#…7'#¿“"'#1&'#‚¨ #…""'#‚€&'#„'#‚¨ #…#A&'#„'#‚¨*À>áU…8À>ò…7'#¿œ'#¿¡#¿ˆ+#†k'#†?,#¿©'#‚€&'#„'#¿œ-#ƒÜ'#6"'#‚e #2.#¿ª'#1&'#¿«/À?uU†kÀ?†U¿©À?¥ƒÜÀ?ÄU¿ª'#¿˜#¿«0 +#¿¬'#61#¿­'#62#¿®'#63#¿¯'#¿ˆ4#¿°'#¿ˆ5#†ž'#„6#¿±'#1&'#¿²7#“õ'#¿ 8#ŒÚ'#1&'#¿“9#¿³'#‚~&'#¿ˆ: +À@U¿¬À@U¿­À@/U¿®À@?U¿¯À@PU¿°À@aU†žÀ@rU¿±À@ŠU“õÀ@›UŒÚÀ@³¿³'#¿˜#¿²;#¿´'#1&'#„<#¿µ'#6=#¿¶'#6>ÀA,U¿´ÀADU¿µÀATU¿¶'#¿œ#¿Œ?#¿·'#6@#¿¸'#…>A#¿¹'#1&'#¿ºB#…?'#1&'#¿ŒC#¿»'#6D#¿¼'#¿ŒE#¿½'#6"'#¿Œ #2F#¿¾'#6"'#¿Œ #2GÀAU¿·ÀA U¿¸ÀA±U¿¹ÀAÉU…?ÀAáU¿»ÀAñU¿¼ÀB¿½ÀB!¿¾'#¿Œ'#¿¡#¿•H #¿¿'#¿•I#¿À'#1&'#¿•J#¿Á'#6K#¿Â'#6L#¿©'#‚€&'#„'#¿œM#¿Ã'#‚€&'#„'#¿¨N#¿Ä'#‚€&'#„'#¿¨O#¿Å'#¿•P#¼ÿ'#¿“"'#„ #¿Æ"'#1&'#‚¨ #…""'#‚€&'#„'#‚¨ #…#A&'#„'#‚¨Q#ƒÜ'#6"'#‚e #2R#¿Ç'#6"'#¿• #2S ÀB•U¿¿ÀB¦U¿ÀÀB¾U¿ÁÀBÎU¿ÂÀBÞU¿©ÀBýU¿ÃÀCU¿ÄÀC;U¿ÅÀCL¼ÿÀC±ƒÜÀCпÇ'#¿•#¿ÈT#'#¿ŒU#†T'#1&'#¿ÉV#—¹'#¿¨WÀDSUÀDdU†TÀD|U—¹ '#¿Œ#¿ºX#˜Û'#¿ŒY#I'#6Z#ƒÜ'#6"'#‚e #2[ÀD¸U˜ÛÀDÉUIÀDÙƒÜ'#¿Œ#¿Ê\#¿Ë'#¿È]ÀE$U¿Ë'#¿œ#¿¨^#'#¿Œ_#ã'#á`#†T'#1&'#¿Éa#I'#6b#¿Á'#6c#¿Ì'#6d#¿Í'#6e#¿Î'#6f#…D'#6g#…E'#6h#¿Ï'#6i#¿Æ'#„j#¿Ð'#6k#¿Ñ'#6l#¿Ò'#6m#¿Ó'#6n#¿Ô'#6o#ƒÜ'#6"'#‚e #2pÀESUÀEdUãÀEuU†TÀEUIÀEU¿ÁÀE­U¿ÌÀE½U¿ÍÀEÍU¿ÎÀEÝU…DÀEíU…EÀEýU¿ÏÀF U¿ÆÀFU¿ÐÀF.U¿ÑÀF>U¿ÒÀFNU¿ÓÀF^U¿ÔÀFnƒÜ'#¿œ#¿Õq#ŒX'#¿Œr#I'#6s#­å'#6t#¿Ö'#6u#¿Ô'#6v#ƒÜ'#6"'#‚e #2wÀG"UŒXÀG3UIÀGCU­åÀGSU¿ÖÀGcU¿ÔÀGsƒÜ'#¿Õ#¿Éx#ŒX'#¿Œy#¿×'#6z#¿Ø'#6{#¿Ù'#6|#„ˆ'#¿“}ÀGÓUŒXÀGäU¿×ÀGôU¿ØÀHU¿ÙÀHU„ˆ#¿ ~#…'# #¿Ú'# €€#†å'#†?€ÀHWU…ÀHgU¿ÚÀHxU†å# €‚+'#á*#‚–€ƒ+'#á*#¿Û€„+'#6*#¿Ü€… +#  #‚– #¿Û #¿Ü€†ÀH¯‚–ÀHÆ¿ÛÀHÝ¿ÜÀHó^#¿Ý#„V$¿Þ¿ß€‡+*#¿à€ˆ+*#¿á€‰+*#¿â€Š+*#„^€‹ +#¿Ý #¿à #¿á #¿â #„^€ŒÀIX¿àÀIi¿áÀIz¿âÀI‹„^ÀIœ^À9ÅÀ9þ¿†À:ðÀ;)¿‘À;?¿”À;b¿–À;…¿—À;¿¿˜À;ÍÀ;οŠÀ<^À<‚¿œÀ=À=F¿¡À>*À>G¿“À>®À>Ë¿§À?JÀ?Y¿ˆÀ?ÜÀ?ù¿«À@ÏÀA¿²ÀAdÀAz¿ŒÀB@ÀBy¿•ÀCïÀD=¿ÈÀDÀD£¿ºÀDøÀE¿ÊÀE5ÀE=¿¨ÀFÀG ¿ÕÀG’ÀG½¿ÉÀH%ÀHI¿ ÀHŠÀH  ÀIÀI;¿ÝÀIÚ¿ã‰q ÀJ  @Î#¿ä#¿å#¿æ#¿ç#¿èÀKÀK.¿åÀK<ÀK=¿æÀKKÀKL¿çÀKZÀK[¿èÀKi¿ä€âÀKj  @Î##¿é$¸¹$‡„ +$¿ê¿ëÀK¦  @Î##¿é€"'# #¿ì'#I#¿í'#I"'# #¿î#<$=>%+'#I"'# *#¿ï#<$=>#¿ð@#¿ñ'#I"'#„À #ŠÀL¿ñ)(#‚Z"'#‚~&'#‚Z #Š "'#„À #Š'#‚Z#¿òÀKäÀL¿íÀL"¿îÀLR%¿ïÀL‚¿ðÀL³ÀL»¿ò¿óÀKßÀLþ  @Î#ŒÍ#¿ô!#?$BC"'#á #í'#I#¿õÀM:ÀMg¿õ¿öTÀM‰  @Î%+'# *#¿÷%+'# *#®Í%+'# *#¿øÀM ÀM²%¿÷ÀMÉ%®ÍÀMà%¿ø^ÀM÷  @Î#¿ù !#¿~#¿$¿ú¿û#?+'#á*#à +#? #àÀNWàÀNm^#¿ü +#¿üÀN£^%+'#¿ü*#¿ý'#¿üÀNÀNI?ÀN†ÀN•¿üÀN°ÀN·%¿ý¿ù¡ÀNÙ%ÀwÔÀæ Àó<À›¢ÀÞÀ‚eÀN‚ÀX„ÀlÏÀoÀ’À•À¥pÀáüÀæ©ÀRÃÀ€{Àµ´À«âÀ®ëÀ±ÀÍçÀôÀÃÀÄüÀÍ„À @‰À LnÀ3CÀ9;À9ºÀK ÀK›ÀM+ÀM•ÀNÀNüdarttyped_dataSinceUnmodifiableListBase"dart:_internal"dart:_internalBytesBuilder"unmodifiable_typed_data.dart"unmodifiable_typed_data.dartByteBufferlengthInBytesintasUint8ListUint8ListoffsetInByteslengthasInt8ListInt8ListasUint8ClampedListUint8ClampedListasUint16ListUint16ListasInt16ListInt16ListasUint32ListUint32ListasInt32ListInt32ListasUint64ListUint64ListasInt64ListInt64ListasInt32x4ListInt32x4ListasFloat32ListFloat32ListasFloat64ListFloat64ListasFloat32x4ListFloat32x4ListasFloat64x2ListFloat64x2ListasByteDataByteDataTypedDataelementSizeInBytesbuffer_TypedIntList+Listother_TypedFloatListdoubleEndianbool_littleEndian_biglittlehostpragma"vm:entry-point"vm:entry-pointviewsublistViewdatastartend"2.8"2.8getInt8byteOffsetsetInt8voidvaluegetUint8setUint8getInt16endiansetInt16getUint16setUint16getInt32setInt32getUint32setUint32getInt64setInt64getUint64setUint64getFloat32setFloat32getFloat64setFloat64fromListelementssublistbytesPerElementFloat32x4Int32x4Float64x2xyzwsplatvzerofromInt32x4BitsfromFloat64x2-*/lessThanlessThanOrEqualgreaterThangreaterThanOrEqualequalnotEqualscalesabsclamplowerLimitupperLimitsignMaskxxxxxxxyxxxzxxxwxxyxxxyyxxyzxxywxxzxxxzyxxzzxxzwxxwxxxwyxxwzxxwwxyxxxyxyxyxzxyxwxyyxxyyyxyyzxyywxyzxxyzyxyzzxyzwxywxxywyxywzxywwxzxxxzxyxzxzxzxwxzyxxzyyxzyzxzywxzzxxzzyxzzzxzzwxzwxxzwyxzwzxzwwxwxxxwxyxwxzxwxwxwyxxwyyxwyzxwywxwzxxwzyxwzzxwzwxwwxxwwyxwwzxwwwyxxxyxxyyxxzyxxwyxyxyxyyyxyzyxywyxzxyxzyyxzzyxzwyxwxyxwyyxwzyxwwyyxxyyxyyyxzyyxwyyyxyyyyyyyzyyywyyzxyyzyyyzzyyzwyywxyywyyywzyywwyzxxyzxyyzxzyzxwyzyxyzyyyzyzyzywyzzxyzzyyzzzyzzwyzwxyzwyyzwzyzwwywxxywxyywxzywxwywyxywyyywyzywywywzxywzyywzzywzwywwxywwyywwzywwwzxxxzxxyzxxzzxxwzxyxzxyyzxyzzxywzxzxzxzyzxzzzxzwzxwxzxwyzxwzzxwwzyxxzyxyzyxzzyxwzyyxzyyyzyyzzyywzyzxzyzyzyzzzyzwzywxzywyzywzzywwzzxxzzxyzzxzzzxwzzyxzzyyzzyzzzywzzzxzzzyzzzzzzzwzzwxzzwyzzwzzzwwzwxxzwxyzwxzzwxwzwyxzwyyzwyzzwywzwzxzwzyzwzzzwzwzwwxzwwyzwwzzwwwwxxxwxxywxxzwxxwwxyxwxyywxyzwxywwxzxwxzywxzzwxzwwxwxwxwywxwzwxwwwyxxwyxywyxzwyxwwyyxwyyywyyzwyywwyzxwyzywyzzwyzwwywxwywywywzwywwwzxxwzxywzxzwzxwwzyxwzyywzyzwzywwzzxwzzywzzzwzzwwzwxwzwywzwzwzwwwwxxwwxywwxzwwxwwwyxwwyywwyzwwywwwzxwwzywwzzwwzwwwwxwwwywwwzwwwwshufflemaskshuffleMixwithXwithYwithZwithWminmaxsqrtreciprocalreciprocalSqrtfromFloat32x4Bits|&^flagXflagYflagZflagWwithFlagXwithFlagYwithFlagZwithFlagWselecttrueValuefalseValuefromFloat32x4UnmodifiableByteBufferView_dataUnmodifiableByteDataView_unsupportedNLTD_UnmodifiableListMixin_list[]index_createListUnmodifiableUint8ListViewlistUnmodifiableInt8ListViewUnmodifiableUint8ClampedListViewUnmodifiableUint16ListViewUnmodifiableInt16ListViewUnmodifiableUint32ListViewUnmodifiableInt32ListViewUnmodifiableUint64ListViewUnmodifiableInt64ListViewUnmodifiableInt32x4ListViewUnmodifiableFloat32x4ListViewUnmodifiableFloat64x2ListViewUnmodifiableFloat32ListViewUnmodifiableFloat64ListViewdart.typed_dataconvert'dart:async'dart:async'dart:typed_data'dart:typed_dataCastConvertercheckNotNullableparseHexByte'dart:_internal''ascii.dart'ascii.dart'base64.dart'base64.dart'byte_conversion.dart'byte_conversion.dart'chunked_conversion.dart'chunked_conversion.dart'codec.dart'codec.dart'converter.dart'converter.dart'encoding.dart'encoding.dart'html_escape.dart'html_escape.dart'json.dart'json.dart'latin1.dart'latin1.dart'line_splitter.dart'line_splitter.dart'string_conversion.dart'string_conversion.dart'utf.dart'utf.dartAsciiCodecascii_asciiMaskEncoding_allowInvalidallowInvalidnameStringencodesourcedecodebytesencoderAsciiEncoderdecoderAsciiDecoderConverter_UnicodeSubsetEncoder_subsetMaskstringstartChunkedConversionStringConversionSinkSinksinkbindStreamstreamStringConversionSinkBase_UnicodeSubsetEncoderSinkByteConversionSink_sinkcloseaddSliceisLast_UnicodeSubsetDecoder_convertInvalidByteConversionSinkBase_ErrorHandlingAsciiDecoderSink_utf8Sinkadd_SimpleAsciiDecoderSinkBase64Codecbase64base64UrlurlSafebase64Encodebase64UrlEncodebase64Decode_paddingCharCodecBase64Encoder_encoderBase64Decoderencodednormalize_checkPaddingsourceIndexsourceEndfirstPaddingpaddingCount_urlSafeinput_Base64Encoder_base64Alphabet"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/_base64UrlAlphabet"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-__valueShift_countMask_sixBitMask_state_alphabet_encodeStatecountbits_stateBitsstate_stateCountcreateBufferbufferLengthencodeChunkalphabetoutputoutputIndexwriteFinalChunk_BufferCachingBase64EncoderbufferCache_Base64EncoderSink_add_AsciiBase64EncoderSink_Utf8Base64EncoderSink_Base64Decoder_invalid_padding___p_inverseAlphabet_char_percent_char_3_char_d_encodeCharacterState_encodePaddingStateexpectedPadding_statePadding_hasSeenPaddingdecodeChunkoutIndex_emptyBuffer_allocateBuffer_trimPaddingChars_Base64DecoderSink_decoderChunkedConversionSinkwithCallbackaccumulatedcallback_ByteCallbackSinkfrom_ByteAdapterSinkchunk_INITIAL_BUFFER_SIZE_callback_buffer_bufferIndexIterable_roundToPowerOf2T_SimpleCallbackSink_accumulatedSEventSink_ConverterStreamEventSink_eventSink_chunkedSinkconverteroaddErrorObjecterrorStackTracestackTracefuseRinvertedM_FusedCodec_first_second_InvertedCodec_codeccodecStreamTransformerBasecastFromSSSTTSTTcastRSRT_FusedConverterdecodeStreamFuturebyteStreamMap_nameToEncodinggetByNameHtmlEscapehtmlEscapeHtmlEscapeMode_nameescapeLtGtescapeQuotescapeAposescapeSlashunknown'unknown'attribute'attribute'sqAttributeelement'element'"custom"customtoStringmodetext_convert_HtmlEscapeSink_escapeErrorJsonUnsupportedObjectErrorunsupportedObjectcausepartialResultJsonCyclicErrorobjectJsonCodecjsonnonEncodabletoEncodablejsonEncodekeyreviverdynamicjsonDecode_reviver_toEncodablewithReviverJsonEncoderJsonDecoderindentwithIndentJsonUtf8Encoder_defaultBufferSizeDEFAULT_BUFFER_SIZEdeprecated_indent_bufferSizebufferSize_utf8Encode_JsonEncoderSink_isDone_JsonUtf8EncoderSink_addChunk_parseJson_defaultToEncodable_JsonStringifierbackspacetabnewlinecarriageReturnformFeedquotechar_0backslashchar_bchar_dchar_fchar_nchar_rchar_tchar_usurrogateMinsurrogateMasksurrogateLeadsurrogateTrail_seen_partialResultwriteStringcharacterswriteStringSlicewriteCharCodecharCodewriteNumbernumnumberhexDigitwriteStringContent_checkCycle_removeSeenwriteObjectwriteJsonValuewriteListwriteMapmap_JsonPrettyPrintMixin_indentLevelwriteIndentationindentLevel_JsonStringStringifierStringSinkstringifyprintOn_JsonStringStringifierPretty_JsonUtf8StringifieraddChunkflushwriteAsciiStringwriteMultiByteCharCodewriteFourByteCharCodewriteBytebyte_JsonUtf8StringifierPrettyLatin1Codeclatin1_latin1MaskLatin1EncoderLatin1Decoder_Latin1DecoderSink_addSliceToSink_checkValidLatin1_reportInvalidLatin1_Latin1AllowInvalidDecoderSink_LF_CRLineSplittersplitlines_LineSplitterSink_carry_skipLeadingLF_addLines_LineSplitterEventSinkeventSink_StringCallbackSink_StringAdapterSinkfromStringSink_StringSinkConversionSinkasUtf8SinkallowMalformedasStringSinkClosableStringSinkonClose_ClosableStringSinkwritewriteln""writeAllobjectsseparator_StringConversionSinkAsStringSinkAdapter_MIN_STRING_SIZEStringBuffer_flushStringConversionSinkMixinstrTStringSink_stringSink_Utf8StringSinkAdapter_Utf8DecodercodeUnitsstartIndexendIndex_Utf8ConversionSinkstringBufferunicodeReplacementCharacterRuneunicodeBomCharacterRuneUtf8Codecutf8_allowMalformedUtf8EncoderUtf8Decoder_Utf8Encoder_DEFAULT_BYTE_BUFFER_SIZEwithBufferSize_createBuffersize_writeReplacementCharacter_writeSurrogateleadingSurrogatenextCodeUnit_fillBuffer_Utf8EncoderSinknext_convertIntercepted_ONE_BYTE_LIMIT_TWO_BYTE_LIMIT_THREE_BYTE_LIMIT_FOUR_BYTE_LIMIT_SURROGATE_TAG_MASK_SURROGATE_VALUE_MASK_LEAD_SURROGATE_MIN_TAIL_SURROGATE_MINcodeUnit_isLeadSurrogate_isTailSurrogateleadtail_combineSurrogatePair_charOrIndextypeMaskshiftedByteMasktypeTable"AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"FFFFFFFFFFFFFFFFGGGGGGGGGGGGGGGG"FFFFFFFFFFFFFFFFGGGGGGGGGGGGGGGG"HHHHHHHHHHHHHHHHHHHHHHHHHHHIHHHJ"HHHHHHHHHHHHHHHHHHHHHHHHHHHIHHHJ"EEBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB"EEBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB"KCCCCCCCCCCCCDCLONNNMEEEEEEEEEEE"KCCCCCCCCCCCCDCLONNNMEEEEEEEEEEEIABBABX1X2X3TOQOQRB1B2E1E2E3E4E5E6E7_IA'\u0000'_BB'\u0010'_AB'\u0020' _X1'\u0030'0_X2'\u003A':_X3'\u0044'D_TO'\u004E'_TS'\u0058'X_QO'\u0062'b_QR'\u006C'l_B1'\u0076'_B2'\u0080'€_E1'\u0041'A_E2'\u0043'C_E3'\u0045'E_E4'\u0047'G_E5'\u0049'I_E6'\u004B'K_E7'\u004D'transitionTable" "initialacceptbeforeBomafterBomerrorMissingExtensionerrorUnexpectedExtensionerrorInvaliderrorOverlongerrorOutOfRangeerrorSurrogateerrorUnfinishedisErrorState"vm:prefer-inline"vm:prefer-inlineerrorDescriptionconvertSinglemaybeEndconvertChunkedconvertGeneralsingle_convertRecursivedecodeGeneral_makeUint8Listdart.convertmathSystemHash"point.dart"point.dart"random.dart"random.dart"rectangle.dart"rectangle.darteln10ln2log2elog10episqrt1_2sqrt2aatan2exponentpowradianssincostanacosasinatanexplogPoint==hashCodefactormagnitudedistanceTosquaredDistanceToRandomseedsecurenextIntnextDoublenextBool_RectangleBaselefttopwidthheightrightbottomintersectionRectangleintersectsboundingBoxcontainsRectangleanothercontainsPointtopLefttopRightbottomRightbottomLeftfromPointsMutableRectangle_width_height_clampToZerodart.mathcore"dart:collection"dart:collectionSymbolLinkedListLinkedListEntryinternal"dart:convert"dart:convert"dart:math"dart:math"dart:typed_data""dart:async""2.1"2.1FutureExtensions"2.12"2.12"annotations.dart"annotations.dart"bigint.dart"bigint.dart"bool.dart"bool.dart"comparable.dart"comparable.dart"date_time.dart"date_time.dart"double.dart"double.dart"duration.dart"duration.dart"errors.dart"errors.dart"exceptions.dart"exceptions.dart"expando.dart"expando.dart"function.dart"function.dart"identical.dart"identical.dart"int.dart"int.dart"invocation.dart"invocation.dart"iterable.dart"iterable.dart"iterator.dart"iterator.dart"list.dart"list.dart"map.dart"map.dart"null.dart"null.dart"num.dart"num.dart"object.dart"object.dart"pattern.dart"pattern.dart"print.dart"print.dart"regexp.dart"regexp.dart"set.dart"set.dart"sink.dart"sink.dart"stacktrace.dart"stacktrace.dart"stopwatch.dart"stopwatch.dart"string.dart"string.dart"string_buffer.dart"string_buffer.dart"string_sink.dart"string_sink.dart"symbol.dart"symbol.dart"type.dart"type.dart"uri.dart"uri.dartDeprecatedmessageexpires'Use `message` instead. Will be removed in Dart 3.0.0'Use `message` instead. Will be removed in Dart 3.0.0"next release"next release_OverrideoverrideProvisionalNullprovisionalproxy'vm:entry-point'optionsComparableBigIntonetwoparseradixtryParse~/%remainder<>~<<=>>=compareTobitLengthsignisEvenisOddisNegativemodPowmodulusmodInversegcdtoUnsignedtoSignedisValidInttoInttoDoubletoRadixStringfromEnvironmentdefaultValuehasEnvironmentComparatorcompareDateTimemondaytuesdaywednesdaythursdayfridaysaturdaysundaydaysPerWeekjanuaryfebruarymarchaprilmayjunejulyaugustseptemberoctobernovemberdecembermonthsPerYear_valueisUtcyearmonthdayhourminutesecondmillisecondmicrosecondutcnowformattedString_maxMillisecondsSinceEpochfromMillisecondsSinceEpochmillisecondsSinceEpochfromMicrosecondsSinceEpochmicrosecondsSinceEpoch_withValueisBeforeisAfterisAtSameMomentAstoLocaltoUtc_fourDigitsn_sixDigits_threeDigits_twoDigitstoIso8601StringDurationdurationsubtractdifference_internal_now_brokenDownDateToValuetimeZoneNametimeZoneOffsetweekdayRegExp_parseFormatnaninfinitynegativeInfinityminPositivemaxFiniteroundfloorceiltruncateroundToDoublefloorToDoubleceilToDoubletruncateToDoubleonErrormicrosecondsPerMillisecondmillisecondsPerSecondsecondsPerMinuteminutesPerHourhoursPerDaymicrosecondsPerSecondmicrosecondsPerMinutemicrosecondsPerHourmicrosecondsPerDaymillisecondsPerMinutemillisecondsPerHourmillisecondsPerDaysecondsPerHoursecondsPerDayminutesPerDayseconds_durationdayshoursminutesmillisecondsmicroseconds_microsecondsquotientinDaysinHoursinMinutesinSecondsinMillisecondsinMicrosecondssafeToString_stringToSafeString_objectToStringAssertionErrorTypeErrorCastError"Use TypeError instead"Use TypeError insteadNullThrownErrorArgumentError_hasValueinvalidValuenotNullcheckNotNullargument_errorName_errorExplanationRangeErrorrangeminValuemaxValueindexableIndexErrorcheckValueInIntervalcheckValidIndexcheckValidRangestartNameendNamecheckNotNegativeFallThroughError_createurllineAbstractClassInstantiationError_classNameclassNameNoSuchMethodErrorwithInvocationreceiverInvocationinvocationmemberNamepositionalArgumentsnamedArguments"Use NoSuchMethod.withInvocation instead"Use NoSuchMethod.withInvocation insteadUnsupportedErrorUnimplementedErrorStateErrorConcurrentModificationErrormodifiedObjectOutOfMemoryErrorStackOverflowErrorCyclicInitializationErrorvariableNameException_ExceptionFormatExceptionoffsetIntegerDivisionByZeroExceptionExpando[]=FunctionapplyfunctionidenticalidentityHashCode>>>methodgenericMethodTypetypeArgumentsgetter_InvocationsetterisMethodisGetterisSetterisAccessor_positional_namedtypespositionalnamed_ensureNonNullTypesgenerategeneratoremptyEmptyIterableiteratorIteratorfollowedByfwheretestwhereTypeexpandcontainsforEachreducecombinefoldinitialValuepreviousValueeveryjoinanytoListgrowabletoSetSetisEmptyisNotEmptytaketakeWhileskipskipWhilefirstlastfirstWhereorElselastWheresingleWhereelementAtListIterable_GeneratorIterable_generator_idBidirectionalIteratormovePreviousmoveNextcurrentEfficientLengthIterable"Use a list literal, [], or the List.filled constructor instead"Use a list literal, [], or the List.filled constructor insteadfilledfill"2.9"2.9ofunmodifiablecopyRangetargetatwriteIterablenewLengthaddAlliterablereversedsortrandomindexOfindexWherelastIndexWherelastIndexOfclearinsertinsertAllsetAllremoveremoveAtremoveLastremoveWhereretainWheregetRangesetRangeskipCountremoveRangefillRangefillValuereplaceRangereplacementsasMapVLinkedHashMapidentityfromIterablefromIterableskeysvaluesK2V2fromEntriesMapEntryentriesRKRVcontainsValuecontainsKeyaddEntriesnewEntriesupdateifAbsentupdateAllputIfAbsentaction_uninstantiableisNaNisInfiniteisFinitetoStringAsFixedfractionDigitstoStringAsExponentialtoStringAsPrecisionprecision"vm:recognized"vm:recognized"other"noSuchMethodruntimeTypePatternallMatchesMatchmatchAsPrefixgroupgroupsgroupIndicesgroupCountpatternprintmultiLinecaseSensitive"2.4"2.4unicodedotAllescapefirstMatchRegExpMatchhasMatchstringMatchisMultiLineisCaseSensitiveisUnicodeisDotAll"2.3"2.3namedGroupgroupNamesLinkedHashSetnewSetlookupremoveAllretainAllcontainsAllunion_StringStackTracefromStringstackTraceString_stackTraceStopwatch_frequency_start_stopfrequencystopresetelapsedTickselapsedelapsedMicrosecondselapsedMillisecondsisRunning_initTickerfromCharCodescharCodesfromCharCodecodeUnitAtendsWithstartsWithsubstringtrimtrimLefttrimRighttimespadLeftpadding' 'padRightreplaceFirsttoreplaceFirstMappedmatchreplacereplaceAllreplaceAllMappedreplacementsplitMapJoinonMatchonNonMatchrunesRunestoLowerCasetoUpperCaseRuneIteratorcode_isTrailSurrogate_position_nextPosition_currentCodePoint_checkSplitSurrogaterawIndexcurrentSizecurrentAsStringcontentobjunaryMinus"unary-"unary-_SPACE_PERCENT_AMPERSAND_PLUS_DOT_SLASH_COLON_EQUALS_UPPER_CASE_A_UPPER_CASE_Z_LEFT_BRACKET_BACKSLASH_RIGHT_BRACKET_LOWER_CASE_A_LOWER_CASE_F_LOWER_CASE_Z_hexDigits"0123456789ABCDEF"0123456789ABCDEFUribaseschemeuserInfoportpathpathSegmentsqueryqueryParametersfragment_UrihttpauthorityunencodedPathhttpsfilewindowsdirectorydataFromStringmimeTypeencodingparametersdataFromBytes"application/octet-stream"application/octet-streampercentEncodedqueryParametersAllisAbsolutehasSchemehasAuthorityhasPorthasQueryhasFragmenthasEmptyPathhasAbsolutePathoriginisSchemetoFilePathUriDataremoveFragmentresolvereferenceresolveUrinormalizePathuriencodeComponentcomponentencodeQueryComponentdecodeComponentencodedComponentdecodeQueryComponentencodeFulldecodeFullsplitQueryStringparseIPv4Address_parseIPv4AddressparseIPv6Address_userInfo_host_port_query_fragment_textnotSimpleschemeEndhostStartportStartpathStartqueryStartfragmentStart_defaultPort_compareScheme_failNever_makeHttpUri_isWindows_checkNonWindowsPathReservedCharacterssegmentsargumentError_checkWindowsPathReservedCharactersfirstSegment_checkWindowsDriveLetter_makeFileUrislashTerminated_makeWindowsFileUrl_computePathSegmentspathToSplit_computeQueryParametersAll_makePort_makeHoststrictIPv6_checkZoneID_isZoneIDCharchar_normalizeZoneIDprefix''_isRegNameChar_normalizeRegName_makeScheme_canonicalizeScheme_makeUserInfo_makePath_normalizePath_makeQuery_makeFragment_normalizeEscapelowerCase_escapeChar_normalizeOrSubstringcharTableescapeDelimiters_normalize_isSchemeCharacterch_isGeneralDelimiter_mergePaths_mayContainDotSegments_removeDotSegments_normalizeRelativePathallowScheme_escapeScheme_packageNameEnd_toFilePath_toWindowsFilePath_writeAuthorityss_initializeText_splitQueryStringAll_uriEncodecanonicalTablespaceToPlus_hexCharPairToBytepos_uriDecodeplusToSpace_isAlphabeticCharacter_isUnreservedChar_unreservedTable_unreserved2396Table_encodeFullTable_schemeTable_genDelimitersTable_userinfoTable_regNameTable_pathCharTable_pathCharOrSlashTable_queryCharTable_zoneIDTable_noScheme_separatorIndices_uriCache_base64fromBytesfromUri_writeUricharsetNameindices_validateMimeType_computeUricharsetisBase64contentTextcontentAsBytescontentAsString_parsesourceUri_uriEncodeBytes_tokenCharTable_uricTable_schemeEndIndex_hostStartIndex_portStartIndex_pathStartIndex_queryStartIndex_fragmentStartIndex_notSimpleIndex_uriStart_nonSimpleEndStates_schemeStart_scannerTables_createTables_scan_SimpleUri_uri_schemeEnd_hostStart_portStart_pathStart_queryStart_fragmentStart_schemeCache_hashCodeCachehasUserInfo_isFile_isHttp_isHttps_isPackage_isScheme_computeScheme_isPort_simpleMergeref_toNonSimple_DataUri_startsWithData_stringOrNullLength_toUnmodifiableStringList_skipPackageNameCharsdart.core'dart:collection'StreamSubscriptionStreamTransformerZone'dart:convert''dart:core'dart:core'dart:math''async_cast.dart'async_cast.dart'bytes_builder.dart'bytes_builder.dart'cast.dart'cast.dart'errors.dart''iterable.dart''list.dart''linked_list.dart'linked_list.dart'print.dart''sort.dart'sort.dart'symbol.dart'typeAcceptsNullPOWERS_OF_TENCodeUnits_stringistringOfuExternalNamehexDigitValuenullFuture"2.11"2.11hashfinishhash2v1v2hash3v3hash4v4hash5v5hash6v6hash7v7hash8v8hash9v9hash10v10smearinstanceextractextractTypeArguments"2.2"2.2versionNotNullableErrordefaultValvalueOfNonNullableParamWithDefaultHttpStatuscontinue_switchingProtocolsprocessingokcreatedacceptednonAuthoritativeInformationnoContentresetContentpartialContentmultiStatusalreadyReportedimUsedmultipleChoicesmovedPermanentlyfoundmovedTemporarilyseeOthernotModifieduseProxytemporaryRedirectpermanentRedirectbadRequestunauthorizedpaymentRequiredforbiddennotFoundmethodNotAllowednotAcceptableproxyAuthenticationRequiredrequestTimeoutconflictgonelengthRequiredpreconditionFailedrequestEntityTooLargerequestUriTooLongunsupportedMediaTyperequestedRangeNotSatisfiableexpectationFailedmisdirectedRequestunprocessableEntitylockedfailedDependencyupgradeRequiredpreconditionRequiredtooManyRequestsrequestHeaderFieldsTooLargeconnectionClosedWithoutResponseunavailableForLegalReasonsclientClosedRequestinternalServerErrornotImplementedbadGatewayserviceUnavailablegatewayTimeouthttpVersionNotSupportedvariantAlsoNegotiatesinsufficientStorageloopDetectednotExtendednetworkAuthenticationRequirednetworkConnectTimeoutErrorCONTINUE"Use continue_ instead"Use continue_ insteadSWITCHING_PROTOCOLS"Use switchingProtocols instead"Use switchingProtocols insteadOK"Use ok instead"Use ok insteadCREATED"Use created instead"Use created insteadACCEPTED"Use accepted instead"Use accepted insteadNON_AUTHORITATIVE_INFORMATION"Use nonAuthoritativeInformation instead"Use nonAuthoritativeInformation insteadNO_CONTENT"Use noContent instead"Use noContent insteadRESET_CONTENT"Use resetContent instead"Use resetContent insteadPARTIAL_CONTENT"Use partialContent instead"Use partialContent insteadMULTIPLE_CHOICES"Use multipleChoices instead"Use multipleChoices insteadMOVED_PERMANENTLY"Use movedPermanently instead"Use movedPermanently insteadFOUND"Use found instead"Use found insteadMOVED_TEMPORARILY"Use movedTemporarily instead"Use movedTemporarily insteadSEE_OTHER"Use seeOther instead"Use seeOther insteadNOT_MODIFIED"Use notModified instead"Use notModified insteadUSE_PROXY"Use useProxy instead"Use useProxy insteadTEMPORARY_REDIRECT"Use temporaryRedirect instead"Use temporaryRedirect insteadBAD_REQUEST"Use badRequest instead"Use badRequest insteadUNAUTHORIZED"Use unauthorized instead"Use unauthorized insteadPAYMENT_REQUIRED"Use paymentRequired instead"Use paymentRequired insteadFORBIDDEN"Use forbidden instead"Use forbidden insteadNOT_FOUND"Use notFound instead"Use notFound insteadMETHOD_NOT_ALLOWED"Use methodNotAllowed instead"Use methodNotAllowed insteadNOT_ACCEPTABLE"Use notAcceptable instead"Use notAcceptable insteadPROXY_AUTHENTICATION_REQUIRED"Use proxyAuthenticationRequired instead"Use proxyAuthenticationRequired insteadREQUEST_TIMEOUT"Use requestTimeout instead"Use requestTimeout insteadCONFLICT"Use conflict instead"Use conflict insteadGONE"Use gone instead"Use gone insteadLENGTH_REQUIRED"Use lengthRequired instead"Use lengthRequired insteadPRECONDITION_FAILED"Use preconditionFailed instead"Use preconditionFailed insteadREQUEST_ENTITY_TOO_LARGE"Use requestEntityTooLarge instead"Use requestEntityTooLarge insteadREQUEST_URI_TOO_LONG"Use requestUriTooLong instead"Use requestUriTooLong insteadUNSUPPORTED_MEDIA_TYPE"Use unsupportedMediaType instead"Use unsupportedMediaType insteadREQUESTED_RANGE_NOT_SATISFIABLE"Use requestedRangeNotSatisfiable instead"Use requestedRangeNotSatisfiable insteadEXPECTATION_FAILED"Use expectationFailed instead"Use expectationFailed insteadUPGRADE_REQUIRED"Use upgradeRequired instead"Use upgradeRequired insteadINTERNAL_SERVER_ERROR"Use internalServerError instead"Use internalServerError insteadNOT_IMPLEMENTED"Use notImplemented instead"Use notImplemented insteadBAD_GATEWAY"Use badGateway instead"Use badGateway insteadSERVICE_UNAVAILABLE"Use serviceUnavailable instead"Use serviceUnavailable insteadGATEWAY_TIMEOUT"Use gatewayTimeout instead"Use gatewayTimeout insteadHTTP_VERSION_NOT_SUPPORTED"Use httpVersionNotSupported instead"Use httpVersionNotSupported insteadNETWORK_CONNECT_TIMEOUT_ERROR"Use networkConnectTimeoutError instead"Use networkConnectTimeoutError insteadCastStream_sourceisBroadcastlistenonDataonDonecancelOnErrorCastStreamSubscription_zone_handleData_handleErrorcancelhandleDatahandleErrorhandleDone_onDatapauseresumeSignalresumeisPausedasFuturefutureValueCastStreamTransformercopyaddBytetakeBytestoBytes_CopyingBytesBuilder_initSize_emptyList_length_growrequired_clear_pow2roundup_BytesBuilder_chunks_CastIterableBaseCastIteratorCastIterable_EfficientLengthCastIterableListMixin_CastListBaseCastListCastSet_emptySet_defaultEmptySet_conditionalAddotherContains_cloneSKSVMapBaseCastMapQueueCastQueueremoveFirstaddFirstaddLastLateError_messagefieldADIfieldNamelocalADIlocalNamefieldNIlocalNIfieldAIlocalAIReachabilityErrorSubListIterable_iterable_endOrLength_endIndex_startIndexListIterator_index_current_TransformationMappedIterable_fEfficientLengthMappedIterableMappedIterator_iteratorMappedListIterable_ElementPredicateWhereIterableWhereIteratorsourceElement_ExpandFunctionExpandIterableExpandIterator_currentExpansionTakeIterable_takeCounttakeCountEfficientLengthTakeIterableTakeIterator_remainingTakeWhileIterableTakeWhileIterator_isFinishedSkipIterable_skipCountEfficientLengthSkipIterable_checkCountSkipIteratorSkipWhileIterableSkipWhileIterator_hasSkippedEmptyIteratorFollowedByIterablefirstEfficientEfficientLengthFollowedByIterableFollowedByIterator_currentIterator_nextIterableWhereTypeIterableWhereTypeIteratorIterableElementErrornoElementtooManytooFewFixedLengthListMixinUnmodifiableListMixinListBaseFixedLengthListBase_ListIndicesIterable_backedListUnmodifiableMapBaseListMapView_valuesReversedListIterableUnmodifiableListErrorchangeNonGrowableListErrorgrowableListmakeListFixedLengthfixedLengthListmakeFixedListUnmodifiableIterableBase_lastnewLastnewFirstnode_next_previousunlink_LinkedListIteratorprintToZoneprintToConsoleSort_INSERTION_SORT_THRESHOLDsortRange_doSort_insertionSort_dualPivotQuicksortreservedWordREr'(?:assert|break|c(?:a(?:se|tch)|lass|on(?:st|tinue))|d(?:efault|o)|'(?:assert|break|c(?:a(?:se|tch)|lass|on(?:st|tinue))|d(?:efault|o)|r'e(?:lse|num|xtends)|f(?:alse|inal(?:ly)?|or)|i[fns]|n(?:ew|ull)|'e(?:lse|num|xtends)|f(?:alse|inal(?:ly)?|or)|i[fns]|n(?:ew|ull)|r'ret(?:hrow|urn)|s(?:uper|witch)|t(?:h(?:is|row)|r(?:ue|y))|'ret(?:hrow|urn)|s(?:uper|witch)|t(?:h(?:is|row)|r(?:ue|y))|r'v(?:ar|oid)|w(?:hile|ith))'v(?:ar|oid)|w(?:hile|ith))publicIdentifierREr'(?!'(?!r'\b(?!\$))[a-zA-Z$][\w$]*'\b(?!\$))[a-zA-Z$][\w$]*identifierREr'\b(?!\$))[a-zA-Z$_][\w$]*'\b(?!\$))[a-zA-Z$_][\w$]*operatorREr'(?:[\-+*/%&|^]|\[\]=?|==|~/?|<[<=]?|>(?:|=|>>?)|unary-)'(?:[\-+*/%&|^]|\[\]=?|==|~/?|<[<=]?|>(?:|=|>>?)|unary-)publicSymbolPatternsymbolPatternunvalidatedvalidatedgetNamesymbolvalidatePublicSymbolisValidSymbolcomputeUnmangledNamedart._internalcollection'collections.dart'collections.dart'hash_map.dart'hash_map.dart'hash_set.dart'hash_set.dart'iterator.dart''linked_hash_map.dart'linked_hash_map.dart'linked_hash_set.dart'linked_hash_set.dart'maps.dart'maps.dart'queue.dart'queue.dart'set.dart''splay_tree.dart'splay_tree.dartUnmodifiableListView_defaultEquals_defaultHashCode_Equality_HasherHashMapequalsisValidKeyHashSetIterableMixiniterableToShortStringleftDelimiter'('(rightDelimiter')')iterableToFullString_toStringVisiting_isToStringVisitingparts_iterablePartsToStringsHasNextIterator_HAS_NEXT_AND_NEXT_IN_CURRENT_NO_NEXT_NOT_MOVED_YEThasNext_move_modificationCountentry_insertBeforenewEntryupdateFirst_unlink_visitedFirstpreviousinsertAfterinsertBeforelistToString_closeGap_filterretainMatching_compareAnynewContentsMapMixinmapToStringm_fillMapWithMappedIterable_fillMapWithIterablestransform_UnmodifiableMapMixin_MapBaseValueIterable_map_MapBaseValueIterator_keysMapViewUnmodifiableMapViewListQueueLink_DoubleLink_previousLink_nextLink_linkDoubleLinkedQueueEntry_elementappendprependpreviousEntrynextEntry_DoubleLinkedQueueEntryDoubleLinkedQueue_queue_asNonSentinelEntry_append_prepend_remove_DoubleLinkedQueueElementqueue_DoubleLinkedQueueSentinel_sentinel_elementCountremoveMatchingfirstEntrylastEntryforEachEntry_DoubleLinkedQueueIterator_nextEntrysentinel_INITIAL_CAPACITY_table_head_tailinitialCapacity_calculateCapacity_filterWhere_isPowerOf2_nextPowerOf2_checkModificationexpectedModificationCount_writeToList_preGrownewElementCount_ListQueueIterator_endSetMixinSetBasesetToStringset_SetBase_newSet_newSimilarSet_UnmodifiableSetMixin_throwUnmodifiable_UnmodifiableSetUnmodifiableSetView_PredicateNode_SplayTreeNode_left_right_SplayTreeSetNode_SplayTreeMapNode_replaceValue_SplayTree_rootnewValue_count_splayCount_compare_validKey_splay_splayMin_splayMax_addNewRootcomp_containsKey_dynamicCompare_defaultCompareSplayTreeMapkey1key2potentialKeyfirstKeylastKeylastKeyBeforefirstKeyAfter_SplayTreeIterator_tree_pathtree_rebuildPath_findLeftMostDescendent_getValue_SplayTreeKeyIterable_SplayTreeValueIterable_SplayTreeMapEntryIterable_SplayTreeKeyIterator_SplayTreeValueIterator_SplayTreeMapEntryIteratorSplayTreeSet_copyNodedart.collectionasync'async_error.dart'async_error.dart'broadcast_stream_controller.dart'broadcast_stream_controller.dart'deferred_load.dart'deferred_load.dart'future.dart'future.dart'future_impl.dart'future_impl.dart'schedule_microtask.dart'schedule_microtask.dart'stream.dart'stream.dart'stream_controller.dart'stream_controller.dart'stream_impl.dart'stream_impl.dart'stream_pipe.dart'stream_pipe.dart'stream_transformers.dart'stream_transformers.dart'timer.dart'timer.dart'zone.dart'zone.dartAsyncErrordefaultStackTraceerrorHandler_invokeErrorHandler_ControllerStream_BroadcastStream_StreamControllerLifecyclecontroller_ControllerSubscription_BroadcastSubscription_STATE_EVENT_ID_STATE_FIRING_STATE_REMOVE_AFTER_FIRING_eventState_expectsEventeventId_toggleEventId_isFiring_setRemoveAfterFiring_removeAfterFiring_onPause_onResume_StreamControllerBase_BroadcastStreamController_STATE_INITIAL_STATE_CLOSED_STATE_ADDSTREAMonListenFutureOronCancel_firstSubscription_lastSubscription_AddStreamState_addStreamState_Future_doneFutureonPauseonPauseHandleronResumeonResumeHandlerStreamSinkisClosedhasListener_hasOneListener_isAddingStream_mayAddEvent_ensureDoneFuture_isEmpty_addListenersubscription_removeListener_subscribe_recordCancelsub_recordPause_recordResume_addEventErrordoneaddStream_addError_close_forEachListener_BufferingStreamSubscription_callOnCancelSynchronousStreamController_SyncBroadcastStreamController_sendData_sendError_sendDone_AsyncBroadcastStreamController_EventDispatch_AsBroadcastStreamController_StreamImplEvents_pending_hasPending_addPendingEvent_DelayedEventevent_flushPendingDeferredLibrary"Dart sdk v. 1.8"Dart sdk v. 1.8libraryNameloadDeferredLoadException_s_nullFuture_falseFuturecomputationmicrotasksyncdelayedwaitfutureseagerErrorsuccessValuecleanUp_kTruedoWhilethenonValuecatchErrorwhenCompleteasStreamtimeouttimeLimitonTimeoutTimeoutExceptionCompleterfuturecompletecompleteErrorisCompletedresult_completeWithErrorCallback_asyncCompleteWithErrorCallback_FutureOnValue_FutureErrorTest_FutureAction_Completer_completeError_AsyncCompleter_SyncCompleter_FutureListenermaskValuemaskErrormaskTestErrormaskWhenCompletestateChainstateThenstateThenOnerrorstateCatchErrorstateCatchErrorTeststateWhenCompletemaskTypestateIsAwait_nextListenererrorCallbackthenAwait_ZonehandlesValuehandlesErrorhasErrorTesthandlesCompleteisAwait_onValue_onError_errorTest_whenCompleteActionhasErrorCallbackhandleValuesourceResult"vm:never-inline"vm:never-inlinematchesErrorTestasyncErrorhandleWhenCompleteshouldChain_stateIncomplete_statePendingComplete_stateChained_stateValue_stateError_resultOrListenersimmediatezoneValueimmediateError_mayComplete_isPendingComplete_mayAddListener_isChained_isComplete_hasError_continuationFunctions_setChained_thenAwait_setPendingComplete_clearPendingComplete_error_chainSource_setValue_setErrorObject_setError_cloneResultlistener_prependListenerslisteners_removeListeners_reverseListeners_chainForeignFuture_chainCoreFuture_complete_completeWithValue_asyncComplete_asyncCompleteWithValue_chainFuture_asyncCompleteError_propagateToListenerszone_registerErrorHandler_AsyncCallback_AsyncCallbackEntry_nextCallback_lastCallback_lastPriorityCallback_isInCallbackLoop_microtaskLoop_startMicrotaskLoop_scheduleAsyncCallback_schedulePriorityAsyncCallbackscheduleMicrotask'call'call_AsyncRun_scheduleImmediate_TimerCallback_EmptyStream"2.5"2.5fromFuturefromFuturesmultiMultiStreamControllerperiodicperiodcomputationCounteventTransformedmapSinkasBroadcastStreamasyncMapasyncExpandpipeStreamConsumerstreamConsumerstreamTransformerneedledraindistinctStreamView_stream_StreamSubscriptionTransformerfromHandlers_StreamHandlerTransformerfromBind_StreamBindTransformerStreamIterator_ControllerEventSinkWrapper_ensureSinkStreamControlleraddSyncaddErrorSynccloseSyncControllerCallbackControllerCancelCallbackbroadcast_EventSink_StreamController_STATE_SUBSCRIBED_STATE_CANCELED_STATE_SUBSCRIPTION_MASK_varData_isCanceled_isInitialState_pendingEvents_PendingEvents_ensurePendingEvents_subscription_badEventState_closeUnchecked_SyncStreamControllerDispatch_AsyncStreamControllerDispatch_AsyncStreamController_SyncStreamControllernotificationHandler_runGuarded_StreamImpl_controller_createSubscription_onCancel_StreamSinkWrapper_targetaddStreamFutureaddSubscriptionmakeErrorHandler_StreamControllerAddStreamStatevarData_STATE_CANCEL_ON_ERROR_STATE_INPUT_PAUSED_STATE_WAIT_FOR_CANCEL_STATE_IN_CALLBACK_STATE_HAS_PENDING_STATE_PAUSE_COUNT_DataHandler_DoneHandler_onDone_cancelFuturezoned_setPendingEventspendingEvents_registerDataHandler_registerDoneHandler_isInputPaused_isClosed_waitsForCancel_inCallback_isPaused_canFire_mayResumeInput_cancelOnError_cancel_decrementPauseCount_addPending_guardCallback_checkStatewasInputPaused_onListen_EventGenerator_GeneratedStreamImpl_isUsed_IterablePendingEventshandleNextdispatch_nullDataHandler_nullErrorHandler_nullDoneHandlerperform_DelayedData_DelayedError_DelayedDone_STATE_UNSCHEDULED_STATE_SCHEDULEDisScheduled_eventScheduledschedulecancelSchedulefirstPendingEventlastPendingEvent_BroadcastCallback_DoneStreamSubscription_DONE_SENT_SCHEDULED_PAUSED_isSent_isScheduled_schedule_AsBroadcastStream_onListenHandler_onCancelHandleronListenHandleronCancelHandler_cancelSubscription_pauseSubscription_resumeSubscription_isSubscriptionPaused_BroadcastSubscriptionWrapper_StreamIterator_stateData_initializeOrDone_MultiStream_MultiStreamControlleruserCodeonSuccess_runUserCode_cancelAndError_cancelAndErrorWithReplacement_cancelAndErrorClosure_cancelAndValue_ForwardingStream_handleDone_ForwardingStreamSubscription_addErrorWithReplacement_WhereStream_testinputEvent_MapStream_transform_ExpandStream_expand_HandleErrorStream_TakeStream_StateStreamSubscription_subState_TakeWhileStream_SkipStream_SkipWhileStream_DistinctStream_SENTINEL_equals_EventSinkWrapper_SinkTransformerStreamSubscription_transformerSink_SinkMappermapper_StreamSinkTransformer_sinkMapper_BoundSinkStream_TransformDataHandler_TransformErrorHandler_TransformDoneHandler_HandlerEventSink_bind_SubscriptionTransformer_BoundSubscriptionStreamTimertimerruntickisActive_createTimer_createPeriodicTimerZoneCallbackargZoneUnaryCallbackT1T2arg1arg2ZoneBinaryCallbackselfZoneDelegateparentHandleUncaughtErrorHandlerRunHandlerRunUnaryHandlerRunBinaryHandlerRegisterCallbackHandlerRegisterUnaryCallbackHandlerRegisterBinaryCallbackHandlerErrorCallbackHandlerScheduleMicrotaskHandlerCreateTimerHandlerCreatePeriodicTimerHandlerPrintHandlerZoneSpecificationspecificationzoneValuesForkHandler_ZoneFunction_RunNullaryZoneFunction_RunUnaryZoneFunction_RunBinaryZoneFunction_RegisterNullaryZoneFunction_RegisterUnaryZoneFunction_RegisterBinaryZoneFunctionhandleUncaughtErrorrunUnaryrunBinaryregisterCallbackregisterUnaryCallbackregisterBinaryCallbackcreateTimercreatePeriodicTimerfork_ZoneSpecificationroot_rootZoneerrorZoneinSameErrorZoneotherZoneargument1argument2runGuardedrunUnaryGuardedrunBinaryGuardedbindCallbackbindUnaryCallbackbindBinaryCallbackbindCallbackGuardedbindUnaryCallbackGuardedbindBinaryCallbackGuarded_enter_leave_ZoneDelegate_delegationTarget_run_runUnary_runBinary_registerCallback_registerUnaryCallback_registerBinaryCallback_errorCallback_scheduleMicrotask_print_fork_handleUncaughtError_delegate_parentDelegate_CustomZone_delegateCache_rootHandleUncaughtError_rethrow_rootRun_rootRunUnary_rootRunBinary_rootRegisterCallback_rootRegisterUnaryCallback_rootRegisterBinaryCallback_rootErrorCallback_rootScheduleMicrotask_rootCreateTimer_rootCreatePeriodicTimer_rootPrint_printToZone_rootFork_RootZone_rootMap_rootDelegatebodyzoneSpecification"Use runZonedGuarded instead"Use runZonedGuarded insteadrunZonedstackrunZonedGuarded_runZoneddart.asyncisolate"capability.dart"capability.dartIsolateSpawnExceptionIsolatebeforeNextEventSendPortcontrolPortCapabilitypauseCapabilityterminateCapabilitydebugNamepackageRoot'packages/ directory resolution is not supported in Dart 2.'packages/ directory resolution is not supported in Dart 2.packageConfigresolvePackageUripackageUrispawnentryPointpausederrorsAreFatalonExitspawnUriargscheckedenvironment'The packages/ dir is not supported in Dart 2'The packages/ dir is not supported in Dart 2automaticPackageResolutionresumeCapability_pauseaddOnExitListenerresponsePortresponseremoveOnExitListenersetErrorsFatalkillprioritypingaddErrorListenerremoveErrorListenererrorssendReceivePortfromRawReceivePortRawReceivePortrawPortsendPorthandlernewHandlerRemoteError_descriptiondescriptionstackDescriptionTransferableTypedData"2.3.2"2.3.2materializedart.isolatedeveloper'dart:isolate'dart:isolate'extension.dart'extension.dart'profiler.dart'profiler.dart'service.dart'service.dart'timeline.dart'timeline.dartwhendebuggerinspecttimesequenceNumberlevelServiceExtensionResponseerrorCodeerrorDetailkInvalidParamsinvalidParamskExtensionErrorextensionErrorkExtensionErrorMaxextensionErrorMaxkExtensionErrorMinextensionErrorMin_errorCodeMessage_validateErrorCodeisError_toStringServiceExtensionHandlerregisterExtensioneventKindeventDatapostEvent_postEvent_lookupExtension_registerExtensionUserTagMAX_USER_TAGSlabelmakeCurrentdefaultTaggetCurrentTagMetric_toJSONGaugeCounterMetrics_metricsregistermetricderegister_printMetricid"dart.vm.product"dart.vm.product_printMetricsServiceProtocolInfomajorVersionminorVersionserverUriServicegetInfocontrolWebServerenablesilenceOutputgetIsolateID_getServerInfo_webServerControl_getServiceMajorVersion_getServiceMinorVersion_getIsolateIDFromSendPort_hasTimeline"dart.developer.timeline"dart.developer.timelineTimelineSyncFunctionTimelineAsyncFunctionFlow_begin_step_typebeginstepTimelinestartSyncargumentsflowfinishSyncinstantSynctimeSync_SyncBlock_stackTimelineTaskfilterKeywithTaskIdtaskIdinstantpass_kFilterKey'filterKey'_parent_filterKey_taskId_AsyncBlockcategory_finish_arguments_flow_startSync_argumentsAsJson_isDartStreamEnabled"asm-intrinsic"asm-intrinsic_getNextAsyncId_getTraceClockphaseargumentsAsJson_reportTaskEventtype_reportFlowEvent_reportInstantEventdart.developerffi"native_type.dart"native_type.dart"allocation.dart"allocation.dart"dynamic_library.dart"dynamic_library.dart"struct.dart"struct.dartNativeTypesizeOfPointernullptrfromAddressptrfromFunctionNativeFunctionDartRepresentationOf"T"exceptionalReturnaddressUArraydimension1dimension2dimension3dimension4dimension5_ArraySizedimensionsNFNativeFunctionPointerasFunctionDF"NF"Int8Int8PointerasTypedListInt16Int16PointerInt32Int32PointerInt64Int64PointerUint8Uint8PointerUint16Uint16PointerUint32Uint32PointerUint64Uint64PointerIntPtrIntPtrPointerFloatFloatPointerDoubleDoublePointerInt8ArrayInt16ArrayInt32ArrayInt64ArrayUint8ArrayUint16ArrayUint32ArrayUint64ArrayIntPtrArrayFloatArrayDoubleArrayPointerPointerStructStructPointerPointerArrayStructArrayArrayArrayNativePortnativePortOpaqueDart_CObjectVoidDart_NativeMessageHandlerNativeApipostCObjectnewNativePortcloseNativePortinitializeApiDLData_NativeInteger_NativeDoubleunsizedHandleAllocatorallocatebyteCountalignmentfreepointerAllocatorAllocnativeTypeUnsizedDynamicLibraryprocessexecutableopensymbolNamehandleDynamicLibraryExtensionlookupFunctionF_addressOf_fromPointerPackedmemberAlignmentdart.ffidart2js_embedded_namesNATIVE_SUPERCLASS_TAG_NAMEr"$nativeSuperclassTag"$nativeSuperclassTagSTATIC_FUNCTION_NAME_PROPERTY_NAMEr'$static_name'$static_nameCONSTRUCTOR_RTI_CACHE_PROPERTY_NAMEr'$ccache'$ccacheMETADATA'metadata'metadataTYPES'types'GET_TYPE_FROM_NAME'getTypeFromName'getTypeFromNameMANGLED_GLOBAL_NAMES'mangledGlobalNames'mangledGlobalNamesMANGLED_NAMES'mangledNames'mangledNamesINTERCEPTORS_BY_TAG'interceptorsByTag'interceptorsByTagLEAF_TAGS'leafTags'leafTagsGET_ISOLATE_TAG'getIsolateTag'getIsolateTagISOLATE_TAG'isolateTag'isolateTagARRAY_RTI_PROPERTY'arrayRti'arrayRtiDISPATCH_PROPERTY_NAME"dispatchPropertyName"dispatchPropertyNameTYPE_TO_INTERCEPTOR_MAP"typeToInterceptorMap"typeToInterceptorMapCURRENT_SCRIPT'currentScript'currentScriptDEFERRED_LIBRARY_PARTS'deferredLibraryParts'deferredLibraryPartsDEFERRED_PART_URIS'deferredPartUris'deferredPartUrisDEFERRED_PART_HASHES'deferredPartHashes'deferredPartHashesINITIALIZE_LOADED_HUNK'initializeLoadedHunk'initializeLoadedHunkIS_HUNK_LOADED'isHunkLoaded'isHunkLoadedIS_HUNK_INITIALIZED'isHunkInitialized'isHunkInitializedDEFERRED_INITIALIZED'deferredInitialized'deferredInitializedRTI_UNIVERSE'typeUniverse'typeUniverseGETTER_PREFIXSETTER_PREFIXCALL_PREFIXCALL_PREFIX0CALL_PREFIX1CALL_PREFIX2CALL_PREFIX3CALL_PREFIX4CALL_PREFIX5CALL_CATCH_ALLREQUIRED_PARAMETER_PROPERTYDEFAULT_VALUES_PROPERTYCALL_NAME_PROPERTYDEFERRED_ACTION_PROPERTYOPERATOR_AS_PREFIXOPERATOR_IS_PREFIXSIGNATURE_NAMERTI_NAMEFUTURE_CLASS_TYPE_NAMEIS_INDEXABLE_FIELD_NAMENULL_CLASS_TYPE_NAMEOBJECT_CLASS_TYPE_NAMERTI_FIELD_ASRTI_FIELD_ISJsGetNamedartObjectConstructordartClosureConstructorisJsInteropTypeArgumentgetMetadatagetTypeJsBuiltinRtiUniverseFieldNamesevalCachetypeRuleserasedTypestypeParameterVariancessharedEmptyArraydart2js._embedded_names_js_names'dart:_js_embedded_names'dart:_js_embedded_namesJSJS_EMBEDDED_GLOBALJS_GET_NAME'dart:_foreign_helper'dart:_foreign_helperJsCacheNoInline'dart:_js_helper'dart:_js_helperJSArray'dart:_interceptors'dart:_interceptorspreserveNames_LazyMangledNamesMap_LazyReflectiveNamesMapreflectiveNamesreflectiveGlobalNames_jsMangledNames_LazyMangledInstanceNamesMap_isInstance_cacheLength_cache_updateReflectiveNames_jsMangledNamesLengthvictimextractKeys'dart2js:noInline'dart2js:noInlineunmangleGlobalNameIfPreservedAnywaysunmangleAllIdentifiersIfPreservedAnywaysdart._js_names_recipe_syntaxRecipe_commaseparatorString_commaStringtoType_semicolontoTypeString_semicolonStringpushErased_hashpushErasedString_hashStringpushDynamic_atpushDynamicString_atStringpushVoid_tildepushVoidString_tildeStringwrapStar_asteriskwrapStarString_asteriskStringwrapQuestion_questionwrapQuestionString_questionStringwrapFutureOr_slashwrapFutureOrString_slashStringstartTypeArguments_lessThanstartTypeArgumentsString_lessThanStringendTypeArguments_greaterThanendTypeArgumentsString_greaterThanStringstartFunctionArguments_leftParenstartFunctionArgumentsString_leftParenStringendFunctionArguments_rightParenendFunctionArgumentsString_rightParenStringstartOptionalGroup_leftBracketstartOptionalGroupString_leftBracketStringendOptionalGroup_rightBracketendOptionalGroupString_rightBracketStringstartNamedGroup_leftBracestartNamedGroupString_leftBraceStringendNamedGroup_rightBraceendNamedGroupString_rightBraceStringnameSeparator_colonnameSeparatorString_colonStringrequiredNameSeparator_exclamationrequiredNameSeparatorString_exclamationStringgenericFunctionTypeParameterIndex_circumflexgenericFunctionTypeParameterIndexString_circumflexStringextensionOp_ampersandextensionOpString_ampersandStringpushNeverExtensionpushNeverExtensionStringpushAnyExtensionpushAnyExtensionStringisDigitdigitValueisIdentifierStart_period_formfeed_formfeedString'\f' _space_spaceString'!'!'#'#_dollar_dollarStringr'$'$_percent_percentString'%''&'_apostrophe_apostropheString"'"''*'_plus_plusString'+'',',_minus_minusString'-'_periodString'.'.'/'_digit0_digit9':'';';'<'_equalsString'='='>''?'?'@'@_uppercaseA_uppercaseZ'['[_backslash_backslashStringr'\'\']']'^'_underscore_underscoreString'_'_backtick_backtickString'`'`_lowercaseA_lowercaseZ'{'{_vertical_verticalString'|''}'}'~'testEquivalencedart2js._recipe_syntaxrtigetInterceptorgetJSArrayInteropRtiJS_BUILTINJS_GET_FLAGJS_STRING_CONCATRAW_DART_FUNCTION_REFTYPE_REFLEGACY_TYPE_REFJavaScriptFunctionJSNullJSUnmodifiableArray'dart:_js_names'dart:_js_names'dart:_recipe_syntax'dart:_recipe_syntaxRti_as'dart2js:noElision'dart2js:noElision_is_setAsCheckFunctionfn_setIsTestFunction_asCheck'dart2js:tryInline'dart2js:tryInline_isCheck_evalrecipetypeOrTuple_bind1_precomputed1_getPrecomputed1_setPrecomputed1precomputed_getQuestionFromStaruniverse_getFutureFromFutureOr_precomputed2_precomputed3_precomputed4_specializedTestResource_getSpecializedTestResource_setSpecializedTestResource_cachedRuntimeType_getCachedRuntimeType_Type_setCachedRuntimeType_kind_getKind_setKindkindkindNeverkindDynamickindVoidkindAnykindErasedkindStarkindQuestionkindFutureOrkindInterfacekindBindingkindFunctionkindGenericFunctionkindGenericFunctionParameter_isUnionOfFunctionType_primary_getPrimary_setPrimary_rest_getRest_setRest_getInterfaceName_getInterfaceTypeArguments_getBindingBase_getBindingArguments_getStarArgument_getQuestionArgument_getFutureOrArgument_getReturnType_getFunctionParameters_FunctionParameters_getGenericFunctionBase_getGenericFunctionBounds_getGenericFunctionParameterIndex_evalCache_getEvalCache_setEvalCache_bindCache_getBindCache_setBindCache_canonicalRecipe_getCanonicalRecipe_setCanonicalRecipe_requiredPositional_getRequiredPositional_setRequiredPositionalrequiredPositional_optionalPositional_getOptionalPositional_setOptionalPositionaloptionalPositional_getNamed_setNamed_theUniverse_rtiEval_rtiBind1_rtiBindfindTypeevalInInstancegenericFunctionRtiinstantiationRtiinstantiatedGenericFunctionTypedepth_substitutertiArray_substituteArraynamedArray_substituteNamedfunctionParameters_substituteFunctionParameters_isDartObject_isClosuresetRuntimeTypeInfoclosureclosureFunctionTypetestRtiinstanceOrFunctionTypeinstanceType_arrayInstanceType_instanceTypeinstanceTypeName_instanceTypeFromConstructorconstructor_instanceTypeFromConstructorMiss_instanceFunctionTypegetTypeFromTypesTablegetRuntimeTypecreateRuntimeTypetypeLiteral_rti_installSpecializedIsTestisFn_finishIsFn_simpleSpecializedIsTest_installSpecializedAsCheck_nullIs_generalIsTestImplementation_generalNullableIsTestImplementation_isTestViaProperty_generalAsCheckImplementation_generalNullableAsCheckImplementation_failedAsCheckboundvariablemethodNamecheckTypeBoundthrowTypeError_ErrorcomposeobjectRticheckedTypeDescription_TypeErrorfromMessageforType_isObject_asObject_isTop_asTop_isBool_asBool_asBoolS_asBoolQ_asDouble_asDoubleS_asDoubleQ_isInt_asInt_asIntS_asIntQ_isNum_asNum_asNumS_asNumQ_isString_asString_asStringS_asStringQarraygenericContext_rtiArrayToStringfunctionTypebounds_functionRtiToString_rtiToStringrawClassName_unminifyOrTag_rtiArrayToDebugStringfunctionParametersToString_rtiToDebugString_Universecreate_findRuletargetTypefindRulefindErasedTypeclsfindTypeParameterVariancesaddRulesrulesaddErasedTypesaddTypeParameterVariancesvariancesevalevalInEnvironmentargumentsRtibind1evalTypeVariable_parseRecipe_installTypeTests_installRti_recipeJoins1s2_recipeJoin3s3_recipeJoin4s4_recipeJoin5s5_canonicalRecipeOfErased_canonicalRecipeOfDynamic_canonicalRecipeOfVoid_canonicalRecipeOfNever_canonicalRecipeOfAny_canonicalRecipeOfStarbaseType_canonicalRecipeOfQuestion_canonicalRecipeOfFutureOr_canonicalRecipeOfGenericFunctionParameter_lookupErasedRti_lookupDynamicRti_lookupVoidRti_lookupNeverRti_lookupAnyRti_lookupTerminalRti_createTerminalRti_lookupStarRti_createStarRti_lookupQuestionRti_createQuestionRti_lookupFutureOrRti_createFutureOrRti_lookupGenericFunctionParameterRti_createGenericFunctionParameterRti_canonicalRecipeJoin_canonicalRecipeJoinNamed_canonicalRecipeOfInterface_lookupInterfaceRti_createInterfaceRti_lookupFutureRti_canonicalRecipeOfBinding_lookupBindingRti_createBindingRti_canonicalRecipeOfFunctionreturnType_canonicalRecipeOfFunctionParameters_lookupFunctionRti_createFunctionRti_canonicalRecipeOfGenericFunctionbaseFunctionType_lookupGenericFunctionRti_createGenericFunctionRti_ParserparserpositionsetPositionpcharCodeAtpushpoppushStackFramehandleDigitdigithandleIdentifierhasPeriodhandleTypeArgumentsoptionalPositionalSentinelnamedSentinelhandleFunctionArgumentshandleOptionalGrouphandleNamedGrouphandleExtendedOperationscollectArraycollectNameditemtoTypesitemstoTypesNamedindexToTypetoGenericFunctionParameterTypeRulelookupTypeVariableruletypeVariablelookupSupertypesupertypeVariancelegacyCovariantcovariantcontravariantinvarianttisSubtypesEnvtEnv_isSubtype_isFunctionSubtype_isInterfaceSubtypeisNullableisTopType'dart2js:parameter:trust'dart2js:parameter:trustisStrongTopTypeisBottomTypeisObjectTypeisLegacyObjectTypeisNullableObjectTypeisNullTypeisFunctionTypeisJsFunctionType_UtilsasBoolasDoubleasIntasNumasStringasRtiasRtiOrNullisStringisNuminstanceOfisIdenticalisNotIdenticalisMultipleOfdobjectKeysobjectAssignisArrayarrayLengtharrayAtarraySetAtarrayShallowCopyarraySplicearrayConcata1a2arrayPushstringLessThanmapGetcachemapSettestingCanonicalRecipetestingRtiToStringtestingRtiToDebugStringtestingCreateUniversetestingAddRulestestingAddTypeParameterVariancesrti1rti2testingIsSubtypetestingUniverseEvaltestingUniverseEvalOverridetestingEnvironmentEvaltestingEnvironmentBind_foreign_helper'dart:_rti'dart:_rtitypeDescriptioncodeTemplatearg0arg3arg4arg5arg6arg7arg8arg9arg10arg11arg12arg13arg14arg51arg16arg17arg18arg19DART_CLOSURE_TO_JSstaticStateJS_SET_STATIC_STATEJS_INTERCEPTOR_CONSTANTJS_GET_STATIC_STATEbuiltinJS_EFFECTJS_CONSTcreateJsSentinelisJsSentinel_js_helperINTERCEPTED_NAMES_symbol_dev'dart:_native_typed_data'dart:_native_typed_datanewRti'annotations.dart''constant_map.dart'constant_map.dart'instantiation.dart'instantiation.dart'native_helper.dart'native_helper.dart'regexp_helper.dart'regexp_helper.dart'string_helper.dart'string_helper.dartInternalMapunminifyOrTagrequiresPreamblerecordisJsIndexableinternalNameargumentNamescreateInvocationMirrorcreateUnmangledInvocationMirrorthrowInvalidReflectionErrorqualifiedNametraceHelperJSInvocationMirrorMETHODGETTERSETTER_memberName_internalName_namedArgumentNames_typeArgumentCountPrimitivesobjectHashCodeparseIntparseDoubleDOLLAR_CHAR_VALUEobjectTypeName_objectTypeNameNewRti_saneNativeClassNameobjectToHumanReadableStringdateNowinitTickertimerFrequencytimerTickscurrentUri_fromCharCodeApplystringFromCodePointscodePointsstringFromCharCodesstringFromNativeUint8ListNativeUint8ListstringFromCharCodestringConcatUncheckedstring1string2flattenStringgetTimeZoneNamegetTimeZoneOffsetInMinutesvalueFromDecomposedDateyearslazyAsJsDategetYear'dart2js:noSideEffects'dart2js:noSideEffects'dart2js:noThrows'dart2js:noThrowsgetMonthgetDaygetHoursgetMinutesgetSecondsgetMillisecondsgetWeekdayvalueFromDateStringgetPropertysetPropertyfunctionNoSuchMethodapplyFunction_genericApplyFunction2extractStackTracefetchiaeioorediagnoseIndexErrordiagnoseRangeErrorstringLastIndexOfUncheckedargumentErrorValuecheckNullcheckNumcheckIntcheckBoolcheckStringexwrapExceptiontoStringWrapperthrowExpressionthrowUnsupportedErrorsameLengthcheckConcurrentModificationErrorthrowConcurrentModificationErrorTypeErrorDecoder_pattern_argumentsExpr_expr_method_receivernoSuchMethodPatternnotClosurePatternnullCallPatternnullLiteralCallPatternundefinedCallPatternundefinedLiteralCallPatternnullPropertyPatternnullLiteralPropertyPatternundefinedPropertyPatternundefinedLiteralPropertyPatternmatchTypeErrorbuildJavaScriptObjectbuildJavaScriptObjectWithNonClosureextractPatternprovokeCallErrorOnexpressionprovokeCallErrorOnNullprovokeCallErrorOnUndefinedprovokePropertyErrorOnprovokePropertyErrorOnNullprovokePropertyErrorOnUndefinedNullErrorJsNoSuchMethodErrorUnknownJsTypeErrorNullThrownFromJavaScriptException_irritantExceptionAndStackTracedartExceptionunwrapExceptionsaveStackTrace_unwrapNonDartExceptiontryStringifyExceptionexceptiongetTraceFromException_StackTrace_exception_tracekeyValuePairsfillLiteralMapfillLiteralSetgetIndexgetLengthnumberOfArgumentsinvokeClosurearityconvertDartClosureToJSClosureFUNCTION_INDEXNAME_INDEXCALL_NAME_INDEXREQUIRED_PARAMETER_INDEXOPTIONAL_PARAMETER_INDEXDEFAULT_ARGUMENTS_INDEXfunctionCounterfromTearOfffunctionsapplyTrampolineIndexreflectionInfoisStaticisInterceptedpropertyName_computeSignatureFunctionNewRticspForwardCallisSuperCallstubNameisCspforwardCallTocspForwardInterceptedCallforwardInterceptedCallToclosureFromTearOffTearOffClosureStaticClosureBoundClosure_selfevalRecipeevalRecipeInterceptedselfOftargetOfreceiverOfnameOfselfFieldNameCacheselfFieldNamereceiverFieldNameCachereceiverFieldNamecomputeFieldNamedjsObjectpropertyjsHasOwnPropertyjsPropertyAccessgetFallThroughErrorCreatesReturnsJSNameboolConversionCheckloadIdcheckDeferredIsLoadedJSMutableIndexableJavaScriptIndexingBehaviorFallThroughErrorImplementationconditionassertTestassertThrowassertHelperexpectedArgumentNamesthrowNoSuchMethodstaticNamethrowCyclicInitRuntimeErrorDeferredNotLoadedErrorUnimplementedNoSuchMethodErrorrandom64jsonEncodeNativegetIsolateAffinityTagLoadLibraryFunctionType_loadLibraryWrapper_loadingLibraries_loadedLibraries_eventLogDeferredLoadCallbackdeferredLoadHookloadDeferredLibrary_cspNonce_computeCspNonce_crossOrigin_computeCrossOrigin_isWorkerthisScript_computeThisScript_computeThisScriptFromTracehunkName_loadHunkconvertMainArgumentList_AssertionError_UnreachableErrorassertUnreachableregisterGlobalObjectnativeObjectapplyExtensionnamesapplyTestExtensionstestPlatformEnvironmentVariableValue'dart2js.test.platform.environment.variable'dart2js.test.platform.environment.variable'not-specified'not-specifiedtestingGetPlatformEnvironmentVariable_RequiredkRequiredSentinelisRequiredthrowLateInitializationErrorisJSFunctionassertInteropassertInteropArgsNative_PatchpatchConstantMapConstantMapViewvalConstantStringMap_jsObject_keysArray_fetchConstantProtoMap_protoValue_ConstantMapKeyIterableGeneralConstantMap_jsData_getMapInstantiation_genericClosure_typesInstantiation1Instantiation2T3Instantiation3T4Instantiation4T5Instantiation5T6Instantiation6T7Instantiation7T8Instantiation8T9Instantiation9T10Instantiation10T11Instantiation11T12Instantiation12T13Instantiation13T14Instantiation14T15Instantiation15T16Instantiation16T17Instantiation17T18Instantiation18T19Instantiation19T20Instantiation20instantiate1instantiate2instantiate3instantiate4instantiate5instantiate6instantiate7instantiate8instantiate9instantiate10instantiate11instantiate12instantiate13instantiate14instantiate15instantiate16instantiate17instantiate18instantiate19instantiate20userAgentarrayGetarraySetpropertyGetcallHasOwnPropertypropertySetgetPropertyFromPrototypegetTagFunctionalternateTagFunctionprototypeForTagFunctiontoStringForNativeObjecthashCodeForNativeObjectdefinePropertyisDartObjectinterceptorClassConstructorfindDispatchTagForInterceptorClassdispatchRecordsForInstanceTagsinterceptorsForUncacheableTagstaglookupInterceptorUNCACHED_MARKINSTANCE_CACHED_MARKLEAF_MARKINTERIOR_MARKDISCRIMINATED_MARKlookupAndCacheInterceptorpatchInstancepatchProtointerceptorpatchInteriorProtomakeLeafDispatchRecordinterceptorClassprotomakeDefaultDispatchRecordsetNativeSubclassDispatchRecordconstructorNameFallbackinitNativeDispatchFlaginitNativeDispatchinitNativeDispatchContinueinitHookstransformerhooksapplyHooksTransformer_baseHooksr''' +function() { + var toStringFunction = Object.prototype.toString; + function getTag(o) { + var s = toStringFunction.call(o); + return s.substring(8, s.length - 1); + } + function getUnknownTag(object, tag) { + // This code really belongs in [getUnknownTagGenericBrowser] but having it + // here allows [getUnknownTag] to be tested on d8. + if (/^HTML[A-Z].*Element$/.test(tag)) { + // Check that it is not a simple JavaScript object. + var name = toStringFunction.call(object); + if (name == "[object Object]") return null; + return "HTMLElement"; + } + } + function getUnknownTagGenericBrowser(object, tag) { + if (self.HTMLElement && object instanceof HTMLElement) return "HTMLElement"; + return getUnknownTag(object, tag); + } + function prototypeForTag(tag) { + if (typeof window == "undefined") return null; + if (typeof window[tag] == "undefined") return null; + var constructor = window[tag]; + if (typeof constructor != "function") return null; + return constructor.prototype; + } + function discriminator(tag) { return null; } + + var isBrowser = typeof navigator == "object"; + + return { + getTag: getTag, + getUnknownTag: isBrowser ? getUnknownTagGenericBrowser : getUnknownTag, + prototypeForTag: prototypeForTag, + discriminator: discriminator }; +}'''function() { + var toStringFunction = Object.prototype.toString; + function getTag(o) { + var s = toStringFunction.call(o); + return s.substring(8, s.length - 1); + } + function getUnknownTag(object, tag) { + // This code really belongs in [getUnknownTagGenericBrowser] but having it + // here allows [getUnknownTag] to be tested on d8. + if (/^HTML[A-Z].*Element$/.test(tag)) { + // Check that it is not a simple JavaScript object. + var name = toStringFunction.call(object); + if (name == "[object Object]") return null; + return "HTMLElement"; + } + } + function getUnknownTagGenericBrowser(object, tag) { + if (self.HTMLElement && object instanceof HTMLElement) return "HTMLElement"; + return getUnknownTag(object, tag); + } + function prototypeForTag(tag) { + if (typeof window == "undefined") return null; + if (typeof window[tag] == "undefined") return null; + var constructor = window[tag]; + if (typeof constructor != "function") return null; + return constructor.prototype; + } + function discriminator(tag) { return null; } + + var isBrowser = typeof navigator == "object"; + + return { + getTag: getTag, + getUnknownTag: isBrowser ? getUnknownTagGenericBrowser : getUnknownTag, + prototypeForTag: prototypeForTag, + discriminator: discriminator }; +}_constructorNameFallbackr''' +function getTagFallback(o) { + var s = Object.prototype.toString.call(o); + return s.substring(8, s.length - 1); +}'''function getTagFallback(o) { + var s = Object.prototype.toString.call(o); + return s.substring(8, s.length - 1); +}_fallbackConstructorHooksTransformerGeneratorr''' +function(getTagFallback) { + return function(hooks) { + // If we are not in a browser, assume we are in d8. + // TODO(sra): Recognize jsshell. + if (typeof navigator != "object") return hooks; + + var ua = navigator.userAgent; + // TODO(antonm): remove a reference to DumpRenderTree. + if (ua.indexOf("DumpRenderTree") >= 0) return hooks; + if (ua.indexOf("Chrome") >= 0) { + // Confirm constructor name is usable for dispatch. + function confirm(p) { + return typeof window == "object" && window[p] && window[p].name == p; + } + if (confirm("Window") && confirm("HTMLElement")) return hooks; + } + + hooks.getTag = getTagFallback; + }; +}'''function(getTagFallback) { + return function(hooks) { + // If we are not in a browser, assume we are in d8. + // TODO(sra): Recognize jsshell. + if (typeof navigator != "object") return hooks; + + var ua = navigator.userAgent; + // TODO(antonm): remove a reference to DumpRenderTree. + if (ua.indexOf("DumpRenderTree") >= 0) return hooks; + if (ua.indexOf("Chrome") >= 0) { + // Confirm constructor name is usable for dispatch. + function confirm(p) { + return typeof window == "object" && window[p] && window[p].name == p; + } + if (confirm("Window") && confirm("HTMLElement")) return hooks; + } + + hooks.getTag = getTagFallback; + }; +}_ieHooksTransformerr''' +function(hooks) { + var userAgent = typeof navigator == "object" ? navigator.userAgent : ""; + if (userAgent.indexOf("Trident/") == -1) return hooks; + + var getTag = hooks.getTag; + + var quickMap = { + "BeforeUnloadEvent": "Event", + "DataTransfer": "Clipboard", + "HTMLDDElement": "HTMLElement", + "HTMLDTElement": "HTMLElement", + "HTMLPhraseElement": "HTMLElement", + "Position": "Geoposition" + }; + + function getTagIE(o) { + var tag = getTag(o); + var newTag = quickMap[tag]; + if (newTag) return newTag; + // Patches for types which report themselves as Objects. + if (tag == "Object") { + if (window.DataView && (o instanceof window.DataView)) return "DataView"; + } + return tag; + } + + function prototypeForTagIE(tag) { + var constructor = window[tag]; + if (constructor == null) return null; + return constructor.prototype; + } + + hooks.getTag = getTagIE; + hooks.prototypeForTag = prototypeForTagIE; +}'''function(hooks) { + var userAgent = typeof navigator == "object" ? navigator.userAgent : ""; + if (userAgent.indexOf("Trident/") == -1) return hooks; + + var getTag = hooks.getTag; + + var quickMap = { + "BeforeUnloadEvent": "Event", + "DataTransfer": "Clipboard", + "HTMLDDElement": "HTMLElement", + "HTMLDTElement": "HTMLElement", + "HTMLPhraseElement": "HTMLElement", + "Position": "Geoposition" + }; + + function getTagIE(o) { + var tag = getTag(o); + var newTag = quickMap[tag]; + if (newTag) return newTag; + // Patches for types which report themselves as Objects. + if (tag == "Object") { + if (window.DataView && (o instanceof window.DataView)) return "DataView"; + } + return tag; + } + + function prototypeForTagIE(tag) { + var constructor = window[tag]; + if (constructor == null) return null; + return constructor.prototype; + } + + hooks.getTag = getTagIE; + hooks.prototypeForTag = prototypeForTagIE; +}_fixDocumentHooksTransformerr''' +function(hooks) { + var getTag = hooks.getTag; + var prototypeForTag = hooks.prototypeForTag; + function getTagFixed(o) { + var tag = getTag(o); + if (tag == "Document") { + // Some browsers and the polymer polyfill call both HTML and XML documents + // "Document", so we check for the xmlVersion property, which is the empty + // string on HTML documents. Since both dart:html classes Document and + // HtmlDocument share the same type, we must patch the instances and not + // the prototype. + if (!!o.xmlVersion) return "!Document"; + return "!HTMLDocument"; + } + return tag; + } + + function prototypeForTagFixed(tag) { + if (tag == "Document") return null; // Do not pre-patch Document. + return prototypeForTag(tag); + } + + hooks.getTag = getTagFixed; + hooks.prototypeForTag = prototypeForTagFixed; +}'''function(hooks) { + var getTag = hooks.getTag; + var prototypeForTag = hooks.prototypeForTag; + function getTagFixed(o) { + var tag = getTag(o); + if (tag == "Document") { + // Some browsers and the polymer polyfill call both HTML and XML documents + // "Document", so we check for the xmlVersion property, which is the empty + // string on HTML documents. Since both dart:html classes Document and + // HtmlDocument share the same type, we must patch the instances and not + // the prototype. + if (!!o.xmlVersion) return "!Document"; + return "!HTMLDocument"; + } + return tag; + } + + function prototypeForTagFixed(tag) { + if (tag == "Document") return null; // Do not pre-patch Document. + return prototypeForTag(tag); + } + + hooks.getTag = getTagFixed; + hooks.prototypeForTag = prototypeForTagFixed; +}_firefoxHooksTransformerr''' +function(hooks) { + var userAgent = typeof navigator == "object" ? navigator.userAgent : ""; + if (userAgent.indexOf("Firefox") == -1) return hooks; + + var getTag = hooks.getTag; + + var quickMap = { + "BeforeUnloadEvent": "Event", + "DataTransfer": "Clipboard", + "GeoGeolocation": "Geolocation", + "Location": "!Location", // Fixes issue 18151 + "WorkerMessageEvent": "MessageEvent", + "XMLDocument": "!Document"}; + + function getTagFirefox(o) { + var tag = getTag(o); + return quickMap[tag] || tag; + } + + hooks.getTag = getTagFirefox; +}'''function(hooks) { + var userAgent = typeof navigator == "object" ? navigator.userAgent : ""; + if (userAgent.indexOf("Firefox") == -1) return hooks; + + var getTag = hooks.getTag; + + var quickMap = { + "BeforeUnloadEvent": "Event", + "DataTransfer": "Clipboard", + "GeoGeolocation": "Geolocation", + "Location": "!Location", // Fixes issue 18151 + "WorkerMessageEvent": "MessageEvent", + "XMLDocument": "!Document"}; + + function getTagFirefox(o) { + var tag = getTag(o); + return quickMap[tag] || tag; + } + + hooks.getTag = getTagFirefox; +}_operaHooksTransformerr''' +function(hooks) { return hooks; } +'''function(hooks) { return hooks; } +_safariHooksTransformer_dartExperimentalFixupGetTagHooksTransformerr''' +function(hooks) { + if (typeof dartExperimentalFixupGetTag != "function") return hooks; + hooks.getTag = dartExperimentalFixupGetTag(hooks.getTag); +}'''function(hooks) { + if (typeof dartExperimentalFixupGetTag != "function") return hooks; + hooks.getTag = dartExperimentalFixupGetTag(hooks.getTag); +}JSSyntaxRegExpregexpregExpGetNativeregExpGetGlobalNativeregExpCaptureCount_nativeRegExp_nativeGlobalRegExp_nativeAnchoredRegExp_nativeGlobalVersion_nativeAnchoredVersion_isMultiLine_isCaseSensitive_isUnicode_isDotAllmakeNativeglobal_execGlobal_execAnchored_MatchImplementation_match_AllMatchesIterable_re_AllMatchesIterator_regExp_nextIndexcregExpfirstMatchAfterstringIndexOfStringUncheckedsubstring1Uncheckedsubstring2UncheckedstringContainsStringUncheckedstringSplitUncheckedStringMatchggroup_groups_allMatchesInStringUnchecked_StringAllMatchesIterable_input_StringAllMatchesIteratorstringContainsUncheckedjsRegExpstringReplaceJSescapeReplacementstringReplaceFirstREquoteStringForRegExpstringReplaceAllUncheckedstringReplaceAllUncheckedStringstringReplaceAllUsingSplitJoin_matchString_stringIdentitystringReplaceAllFuncUncheckedstringReplaceAllEmptyFuncUncheckedstringReplaceAllStringFuncUncheckedstringReplaceFirstUncheckedstringReplaceFirstMappedUncheckedstringJoinUncheckedstringReplaceRangeUnchecked_USE_ES6_MAPS"dart2js.use.es6.maps"dart2js.use.es6.mapsJsLinkedHashMap_strings_numsLinkedHashMapCell_modifications_supportsEs6Mapses6internalContainsKeyinternalGetinternalSetinternalRemove_addHashTableEntrytable_removeHashTableEntry_modified_newLinkedCell_unlinkCellcell_isStringKey_isNumericKeyinternalComputeHashCode_getBucketinternalFindBucketIndexbucket_getTableCell_getTableBucket_setTableEntry_deleteTableEntry_containsTableEntry_newHashTableEs6LinkedHashMaphashMapCellKeyhashMapCellValueLinkedHashMapKeyIterableLinkedHashMapKeyIterator_cell_interceptors'js_array.dart'js_array.dart'js_number.dart'js_number.dart'js_string.dart'js_string.dartDART_CLOSURE_PROPERTY_NAMEgetDispatchPropertysetDispatchPropertyextensionindexabilitymakeDispatchRecorddispatchRecordInterceptordispatchRecordProtodispatchRecordExtensiondispatchRecordIndexabilitygetNativeInterceptor_JS_INTEROP_INTERCEPTOR_TAGJS_INTEROP_INTERCEPTOR_TAGlookupInterceptorByConstructorcacheInterceptorOnConstructorconstructorToInterceptorXlookupInterceptorByConstructorXcacheInterceptorOnConstructorfindIndexForNativeSubclassTypefindInterceptorConstructorForTypefindConstructorForNativeSubclassTypefindInterceptorForTypeInterceptorJSBoolJSIndexableJSObjectJavaScriptObjectPlainJavaScriptObjectUnknownJavaScriptObject_Growable_ListConstructorSentinelfixedallocateFixedemptyGrowableallocateGrowabletypedallocationmarkFixedmarkGrowablemarkFixedListmarkUnmodifiableListisFixedLengthisUnmodifiableisGrowableisMutablecheckMutablereasoncheckGrowable_removeWhere_addAllFromArray_toListGrowable_toListFixed_setLengthUnsafeJSMutableArrayJSFixedArrayJSExtendableArrayArrayIteratorJSNumber_MIN_INT32_MAX_INT32_handleIEtoString_isInt32_tdivFast_tdivSlow_shlPositive_shrOtherPositive_shrReceiverPositive_shrBothPositive_shruOtherPositiveJSInt_clz32uint32_binaryGcdinv_bitCount_shrushift_shrs_ors_spreadJSNumNotIntJSPositiveIntJSUInt32JSUInt31JSString_codeUnitAt_defaultSplit_isWhitespace_skipLeadingWhitespace_skipTrailingWhitespaceimplementationMathNativeByteBuffer'ArrayBuffer'ArrayBuffer'byteLength'byteLengthNativeFloat32x4List_storage_externalStorage_slowFromListNativeInt32x4ListstorageNativeFloat64x2ListNativeTypedData'ArrayBufferView'ArrayBufferView'NativeByteBuffer''byteOffset''BYTES_PER_ELEMENT'BYTES_PER_ELEMENT_invalidPosition_checkPosition_checkLength_checkViewArguments_ensureNativeListNativeByteData'DataView'DataView_getFloat32littleEndian'getFloat32''double'_getFloat64'getFloat64'_getInt16'getInt16''int'_getInt32'getInt32'_getUint16'getUint16''JSUInt31'_getUint32'getUint32''JSUInt32'_setFloat32'setFloat32'_setFloat64'setFloat64'_setInt16'setInt16'_setInt32'setInt32'_setUint16'setUint16'_setUint32'setUint32'_create1_create2_create3NativeTypedArray_setRangeFastNativeTypedArrayOfDoubleNativeTypedArrayOfIntNativeFloat32List'Float32Array'Float32Array_createLengthNativeFloat64List'Float64Array'Float64ArrayNativeInt16List'Int16Array'NativeInt32List'Int32Array'NativeInt8List'Int8Array'NativeUint16List'Uint16Array'NativeUint32List'Uint32Array'NativeUint8ClampedList'Uint8ClampedArray,CanvasPixelArray'Uint8ClampedArray,CanvasPixelArray'Uint8Array,!nonleaf'Uint8Array,!nonleafNativeFloat32x4_uint32view_truncate_doubles_truncatednewXnewYnewZnewWNativeInt32x4NativeFloat64x2_uint32View_isInvalidArrayIndex_checkValidIndex_checkValidRangedart.typed_data.implementationdomweb_gl'dart:html'dart:html'dart:html_common'dart:html_commonActiveInfoUnstable"WebGLActiveInfo"WebGLActiveInfoAngleInstancedArrays"ANGLEInstancedArrays,ANGLE_instanced_arrays"ANGLEInstancedArrays,ANGLE_instanced_arraysVERTEX_ATTRIB_ARRAY_DIVISOR_ANGLEdrawArraysInstancedAngleprimcount'drawArraysInstancedANGLE'drawArraysInstancedANGLEdrawElementsInstancedAngle'drawElementsInstancedANGLE'drawElementsInstancedANGLEvertexAttribDivisorAngledivisor'vertexAttribDivisorANGLE'vertexAttribDivisorANGLEBuffer"WebGLBuffer"WebGLBufferCanvas"WebGLCanvas"WebGLCanvascanvasCanvasElement'canvas'offscreenCanvasOffscreenCanvasColorBufferFloat"WebGLColorBufferFloat"WebGLColorBufferFloatCompressedTextureAstc"WebGLCompressedTextureASTC"WebGLCompressedTextureASTCCOMPRESSED_RGBA_ASTC_10x10_KHRCOMPRESSED_RGBA_ASTC_10x5_KHRCOMPRESSED_RGBA_ASTC_10x6_KHRCOMPRESSED_RGBA_ASTC_10x8_KHRCOMPRESSED_RGBA_ASTC_12x10_KHRCOMPRESSED_RGBA_ASTC_12x12_KHRCOMPRESSED_RGBA_ASTC_4x4_KHRCOMPRESSED_RGBA_ASTC_5x4_KHRCOMPRESSED_RGBA_ASTC_5x5_KHRCOMPRESSED_RGBA_ASTC_6x5_KHRCOMPRESSED_RGBA_ASTC_6x6_KHRCOMPRESSED_RGBA_ASTC_8x5_KHRCOMPRESSED_RGBA_ASTC_8x6_KHRCOMPRESSED_RGBA_ASTC_8x8_KHRCOMPRESSED_SRGB8_ALPHA8_ASTC_10x10_KHRCOMPRESSED_SRGB8_ALPHA8_ASTC_10x5_KHRCOMPRESSED_SRGB8_ALPHA8_ASTC_10x6_KHRCOMPRESSED_SRGB8_ALPHA8_ASTC_10x8_KHRCOMPRESSED_SRGB8_ALPHA8_ASTC_12x10_KHRCOMPRESSED_SRGB8_ALPHA8_ASTC_12x12_KHRCOMPRESSED_SRGB8_ALPHA8_ASTC_4x4_KHRCOMPRESSED_SRGB8_ALPHA8_ASTC_5x4_KHRCOMPRESSED_SRGB8_ALPHA8_ASTC_5x5_KHRCOMPRESSED_SRGB8_ALPHA8_ASTC_6x5_KHRCOMPRESSED_SRGB8_ALPHA8_ASTC_6x6_KHRCOMPRESSED_SRGB8_ALPHA8_ASTC_8x5_KHRCOMPRESSED_SRGB8_ALPHA8_ASTC_8x6_KHRCOMPRESSED_SRGB8_ALPHA8_ASTC_8x8_KHRCompressedTextureAtc"WebGLCompressedTextureATC,WEBGL_compressed_texture_atc"WebGLCompressedTextureATC,WEBGL_compressed_texture_atcCOMPRESSED_RGBA_ATC_EXPLICIT_ALPHA_WEBGLCOMPRESSED_RGBA_ATC_INTERPOLATED_ALPHA_WEBGLCOMPRESSED_RGB_ATC_WEBGLCompressedTextureETC1"WebGLCompressedTextureETC1,WEBGL_compressed_texture_etc1"WebGLCompressedTextureETC1,WEBGL_compressed_texture_etc1COMPRESSED_RGB_ETC1_WEBGLCompressedTextureEtc"WebGLCompressedTextureETC"WebGLCompressedTextureETCCOMPRESSED_R11_EACCOMPRESSED_RG11_EACCOMPRESSED_RGB8_ETC2COMPRESSED_RGB8_PUNCHTHROUGH_ALPHA1_ETC2COMPRESSED_RGBA8_ETC2_EACCOMPRESSED_SIGNED_R11_EACCOMPRESSED_SIGNED_RG11_EACCOMPRESSED_SRGB8_ALPHA8_ETC2_EACCOMPRESSED_SRGB8_ETC2COMPRESSED_SRGB8_PUNCHTHROUGH_ALPHA1_ETC2CompressedTexturePvrtc"WebGLCompressedTexturePVRTC,WEBGL_compressed_texture_pvrtc"WebGLCompressedTexturePVRTC,WEBGL_compressed_texture_pvrtcCOMPRESSED_RGBA_PVRTC_2BPPV1_IMGCOMPRESSED_RGBA_PVRTC_4BPPV1_IMGCOMPRESSED_RGB_PVRTC_2BPPV1_IMGCOMPRESSED_RGB_PVRTC_4BPPV1_IMGCompressedTextureS3TC"WebGLCompressedTextureS3TC,WEBGL_compressed_texture_s3tc"WebGLCompressedTextureS3TC,WEBGL_compressed_texture_s3tcCOMPRESSED_RGBA_S3TC_DXT1_EXTCOMPRESSED_RGBA_S3TC_DXT3_EXTCOMPRESSED_RGBA_S3TC_DXT5_EXTCOMPRESSED_RGB_S3TC_DXT1_EXTCompressedTextureS3TCsRgb"WebGLCompressedTextureS3TCsRGB"WebGLCompressedTextureS3TCsRGBCOMPRESSED_SRGB_ALPHA_S3TC_DXT1_EXTCOMPRESSED_SRGB_ALPHA_S3TC_DXT3_EXTCOMPRESSED_SRGB_ALPHA_S3TC_DXT5_EXTCOMPRESSED_SRGB_S3TC_DXT1_EXTEventContextEvent"WebGLContextEvent"WebGLContextEventeventInit_create_1_create_2statusMessageDebugRendererInfo"WebGLDebugRendererInfo,WEBGL_debug_renderer_info"WebGLDebugRendererInfo,WEBGL_debug_renderer_infoUNMASKED_RENDERER_WEBGLUNMASKED_VENDOR_WEBGLDebugShaders"WebGLDebugShaders,WEBGL_debug_shaders"WebGLDebugShaders,WEBGL_debug_shadersgetTranslatedShaderSourceShadershaderDepthTexture"WebGLDepthTexture,WEBGL_depth_texture"WebGLDepthTexture,WEBGL_depth_textureUNSIGNED_INT_24_8_WEBGLDrawBuffers"WebGLDrawBuffers,WEBGL_draw_buffers"WebGLDrawBuffers,WEBGL_draw_buffersdrawBuffersWebglbuffers'drawBuffersWEBGL'drawBuffersWEBGLEXTsRgb"EXTsRGB,EXT_sRGB"EXTsRGB,EXT_sRGBFRAMEBUFFER_ATTACHMENT_COLOR_ENCODING_EXTSRGB8_ALPHA8_EXTSRGB_ALPHA_EXTSRGB_EXTExtBlendMinMax"EXTBlendMinMax,EXT_blend_minmax"EXTBlendMinMax,EXT_blend_minmaxMAX_EXTMIN_EXTExtColorBufferFloat"EXTColorBufferFloat"EXTColorBufferFloatExtColorBufferHalfFloat"EXTColorBufferHalfFloat"EXTColorBufferHalfFloatExtDisjointTimerQuery"EXTDisjointTimerQuery"EXTDisjointTimerQueryCURRENT_QUERY_EXTGPU_DISJOINT_EXTQUERY_COUNTER_BITS_EXTQUERY_RESULT_AVAILABLE_EXTQUERY_RESULT_EXTTIMESTAMP_EXTTIME_ELAPSED_EXTbeginQueryExtTimerQueryExt'beginQueryEXT'beginQueryEXTcreateQueryExt'createQueryEXT'createQueryEXTdeleteQueryExt'deleteQueryEXT'deleteQueryEXTendQueryExt'endQueryEXT'endQueryEXTgetQueryExtpname'getQueryEXT'getQueryEXTgetQueryObjectExt'getQueryObjectEXT'getQueryObjectEXTisQueryExt'isQueryEXT'isQueryEXTqueryCounterExt'queryCounterEXT'queryCounterEXTExtDisjointTimerQueryWebGL2"EXTDisjointTimerQueryWebGL2"EXTDisjointTimerQueryWebGL2QueryExtFragDepth"EXTFragDepth,EXT_frag_depth"EXTFragDepth,EXT_frag_depthExtShaderTextureLod"EXTShaderTextureLOD,EXT_shader_texture_lod"EXTShaderTextureLOD,EXT_shader_texture_lodExtTextureFilterAnisotropic"EXTTextureFilterAnisotropic,EXT_texture_filter_anisotropic"EXTTextureFilterAnisotropic,EXT_texture_filter_anisotropicMAX_TEXTURE_MAX_ANISOTROPY_EXTTEXTURE_MAX_ANISOTROPY_EXTFramebuffer"WebGLFramebuffer"WebGLFramebufferGetBufferSubDataAsync"WebGLGetBufferSubDataAsync"WebGLGetBufferSubDataAsyncgetBufferSubDataAsyncsrcByteOffsetdstDatadstOffsetLoseContext"WebGLLoseContext,WebGLExtensionLoseContext,WEBGL_lose_context"WebGLLoseContext,WebGLExtensionLoseContext,WEBGL_lose_contextloseContextrestoreContextOesElementIndexUint"OESElementIndexUint,OES_element_index_uint"OESElementIndexUint,OES_element_index_uintOesStandardDerivatives"OESStandardDerivatives,OES_standard_derivatives"OESStandardDerivatives,OES_standard_derivativesFRAGMENT_SHADER_DERIVATIVE_HINT_OESOesTextureFloat"OESTextureFloat,OES_texture_float"OESTextureFloat,OES_texture_floatOesTextureFloatLinear"OESTextureFloatLinear,OES_texture_float_linear"OESTextureFloatLinear,OES_texture_float_linearOesTextureHalfFloat"OESTextureHalfFloat,OES_texture_half_float"OESTextureHalfFloat,OES_texture_half_floatHALF_FLOAT_OESOesTextureHalfFloatLinear"OESTextureHalfFloatLinear,OES_texture_half_float_linear"OESTextureHalfFloatLinear,OES_texture_half_float_linearOesVertexArrayObject"OESVertexArrayObject,OES_vertex_array_object"OESVertexArrayObject,OES_vertex_array_objectVERTEX_ARRAY_BINDING_OESbindVertexArrayVertexArrayObjectOesarrayObject'bindVertexArrayOES'bindVertexArrayOEScreateVertexArray'createVertexArrayOES'createVertexArrayOESdeleteVertexArray'deleteVertexArrayOES'deleteVertexArrayOESisVertexArray'isVertexArrayOES'isVertexArrayOESProgram"WebGLProgram"WebGLProgram"WebGLQuery"WebGLQueryRenderbuffer"WebGLRenderbuffer"WebGLRenderbufferCanvasRenderingContextRenderingContextSupportedBrowserCHROMEFIREFOX"WebGLRenderingContext"WebGLRenderingContextsupporteddrawingBufferHeightdrawingBufferWidthactiveTexturetextureattachShaderprogrambindAttribLocationbindBufferbindFramebufferframebufferbindRenderbufferrenderbufferbindTextureTextureblendColorredgreenbluealphablendEquationblendEquationSeparatemodeRGBmodeAlphablendFuncsfactordfactorblendFuncSeparatesrcRGBdstRGBsrcAlphadstAlphabufferDatadata_OR_sizeusagebufferSubDatacheckFramebufferStatusclearColorclearDepthclearStencilcolorMaskcommitcompileShadercompressedTexImage2DinternalformatbordercompressedTexSubImage2DxoffsetyoffsetformatcopyTexImage2DcopyTexSubImage2DcreateFramebuffercreateProgramcreateRenderbuffercreateShadercreateTexturecullFacedeleteBufferdeleteFramebufferdeleteProgramdeleteRenderbufferdeleteShaderdeleteTexturedepthFuncfuncdepthMaskflagdepthRangezNearzFardetachShaderdisablecapdisableVertexAttribArraydrawArraysdrawElementsenableVertexAttribArrayframebufferRenderbufferattachmentrenderbuffertargetframebufferTexture2DtextargetfrontFacegenerateMipmapgetActiveAttribgetActiveUniformgetAttachedShadersgetAttribLocationgetBufferParameter'int|Null'int|NullgetContextAttributes'ContextAttributes|Null'ContextAttributes|Null_getContextAttributes_1'getContextAttributes'getErrorgetExtensiongetFramebufferAttachmentParameter'int|Renderbuffer|Texture|Null'int|Renderbuffer|Texture|NullgetParameter'Null|num|String|bool|JSExtendableArray|NativeFloat32List|NativeInt32List|NativeUint32List|Framebuffer|Renderbuffer|Texture'Null|num|String|bool|JSExtendableArray|NativeFloat32List|NativeInt32List|NativeUint32List|Framebuffer|Renderbuffer|TexturegetProgramInfoLoggetProgramParameter'int|bool|Null'int|bool|NullgetRenderbufferParametergetShaderInfoLoggetShaderParametergetShaderPrecisionFormatShaderPrecisionFormatshadertypeprecisiontypegetShaderSourcegetSupportedExtensionsgetTexParametergetUniformUniformLocationlocation'Null|num|String|bool|JSExtendableArray|NativeFloat32List|NativeInt32List|NativeUint32List'Null|num|String|bool|JSExtendableArray|NativeFloat32List|NativeInt32List|NativeUint32ListgetUniformLocationgetVertexAttrib'Null|num|bool|NativeFloat32List|Buffer'Null|num|bool|NativeFloat32List|BuffergetVertexAttribOffsethintisBufferisContextLostisEnabledisFramebufferisProgramisRenderbufferisShaderisTexturelineWidthlinkProgrampixelStoreiparampolygonOffsetunits_readPixelspixels'readPixels'readPixelsrenderbufferStoragesampleCoverageinvertscissorshaderSourcestencilFuncstencilFuncSeparatefacestencilMaskstencilMaskSeparatestencilOpfailzfailzpassstencilOpSeparatetexImage2Dformat_OR_widthheight_OR_typebitmap_OR_border_OR_canvas_OR_image_OR_pixels_OR_video_texImage2D_1'texImage2D'_texImage2D_2_texImage2D_3ImageElementimage_texImage2D_4_texImage2D_5VideoElementvideo_texImage2D_6ImageBitmapbitmaptexParameterftexParameteritexSubImage2Dbitmap_OR_canvas_OR_format_OR_image_OR_pixels_OR_video_texSubImage2D_1'texSubImage2D'_texSubImage2D_2_texSubImage2D_3_texSubImage2D_4_texSubImage2D_5_texSubImage2D_6uniform1funiform1fvuniform1iuniform1ivuniform2funiform2fvuniform2iuniform2ivuniform3funiform3fvuniform3iuniform3ivuniform4funiform4fvuniform4iuniform4ivuniformMatrix2fvtransposeuniformMatrix3fvuniformMatrix4fvuseProgramvalidateProgramvertexAttrib1findxvertexAttrib1fvvertexAttrib2fvertexAttrib2fvvertexAttrib3fvertexAttrib3fvvertexAttrib4fvertexAttrib4fvvertexAttribPointernormalizedstrideviewporttexImage2DUntypedtargetTexturelevelOfDetailinternalFormat"Use texImage2D"Use texImage2DtexImage2DTypedtexSubImage2DUntypedxOffsetyOffset"Use texSubImage2D"Use texSubImage2DtexSubImage2DTypedbufferDataTyped"Use bufferData"Use bufferDatabufferSubDataTyped"Use bufferSubData"Use bufferSubData_WebGL2RenderingContextBase_WebGLRenderingContextBaseRenderingContext2"WebGL2RenderingContext"WebGL2RenderingContextbeginQuerybeginTransformFeedbackprimitiveModebindBufferBasebindBufferRangebindSamplerunitSamplersamplerbindTransformFeedbackTransformFeedbackfeedbackVertexArrayObjectvertexArrayblitFramebuffersrcX0srcY0srcX1srcY1dstX0dstY0dstX1dstY1filterbufferData2srcDatasrcOffset'bufferData'bufferSubData2dstByteOffset'bufferSubData'clearBufferfidrawbufferstencilclearBufferfvclearBufferivclearBufferuivclientWaitSyncSyncflagscompressedTexImage2D2srcLengthOverride'compressedTexImage2D'compressedTexImage2D3imageSizecompressedTexImage3DcompressedTexImage3D2'compressedTexImage3D'compressedTexSubImage2D2'compressedTexSubImage2D'compressedTexSubImage2D3compressedTexSubImage3DzoffsetcompressedTexSubImage3D2'compressedTexSubImage3D'copyBufferSubDatareadTargetwriteTargetreadOffsetwriteOffsetcopyTexSubImage3DcreateQuerycreateSamplercreateTransformFeedbackdeleteQuerydeleteSamplerdeleteSyncdeleteTransformFeedbackdrawArraysInstancedinstanceCountdrawBuffersdrawElementsInstanceddrawRangeElementsendQueryendTransformFeedbackfenceSyncframebufferTextureLayerlayergetActiveUniformBlockNameuniformBlockIndexgetActiveUniformBlockParametergetActiveUniformsuniformIndicesgetBufferSubDatagetFragDataLocationgetIndexedParametergetInternalformatParametergetQuerygetQueryParametergetSamplerParametergetSyncParametergetTransformFeedbackVaryinggetUniformBlockIndexuniformBlockNamegetUniformIndicesuniformNames_getUniformIndices_1'getUniformIndices'invalidateFramebufferattachmentsinvalidateSubFramebufferisQueryisSamplerisSyncisTransformFeedbackpauseTransformFeedbackreadBufferreadPixels2dstData_OR_offsetrenderbufferStorageMultisamplesamplesresumeTransformFeedbacksamplerParameterfsamplerParameteritexImage2D2bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_srcData_OR_video_texImage2D2_1_texImage2D2_2_texImage2D2_3_texImage2D2_4_texImage2D2_5_texImage2D2_6_texImage2D2_7texImage3Dbitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_pixels_OR_video_texImage3D_1'texImage3D'_texImage3D_2_texImage3D_3_texImage3D_4_texImage3D_5_texImage3D_6_texImage3D_7_texImage3D_8texStorage2DlevelstexStorage3DtexSubImage2D2_texSubImage2D2_1_texSubImage2D2_2_texSubImage2D2_3_texSubImage2D2_4_texSubImage2D2_5_texSubImage2D2_6_texSubImage2D2_7texSubImage3D_texSubImage3D_1'texSubImage3D'_texSubImage3D_2_texSubImage3D_3_texSubImage3D_4_texSubImage3D_5_texSubImage3D_6_texSubImage3D_7_texSubImage3D_8transformFeedbackVaryingsvaryingsbufferMode_transformFeedbackVaryings_1'transformFeedbackVaryings'uniform1fv2srcLength'uniform1fv'uniform1iv2'uniform1iv'uniform1uiv0uniform1uivuniform2fv2'uniform2fv'uniform2iv2'uniform2iv'uniform2uiuniform2uivuniform3fv2'uniform3fv'uniform3iv2'uniform3iv'uniform3uiuniform3uivuniform4fv2'uniform4fv'uniform4iv2'uniform4iv'uniform4uiuniform4uivuniformBlockBindinguniformMatrix2fv2'uniformMatrix2fv'uniformMatrix2x3fvuniformMatrix2x4fvuniformMatrix3fv2'uniformMatrix3fv'uniformMatrix3x2fvuniformMatrix3x4fvuniformMatrix4fv2'uniformMatrix4fv'uniformMatrix4x2fvuniformMatrix4x3fvvertexAttribDivisorvertexAttribI4ivertexAttribI4ivvertexAttribI4uivertexAttribI4uivvertexAttribIPointerwaitSync"WebGLSampler"WebGLSampler"WebGLShader"WebGLShader"WebGLShaderPrecisionFormat"WebGLShaderPrecisionFormatrangeMaxrangeMin"WebGLSync"WebGLSync"WebGLTexture"WebGLTexturelastUploadedVideoFrameWasSkippedlastUploadedVideoHeightlastUploadedVideoTimestamplastUploadedVideoWidth"WebGLTimerQueryEXT"WebGLTimerQueryEXT"WebGLTransformFeedback"WebGLTransformFeedback"WebGLUniformLocation"WebGLUniformLocation"WebGLVertexArrayObject"WebGLVertexArrayObject"WebGLVertexArrayObjectOES"WebGLVertexArrayObjectOESWebGL"WebGL"ACTIVE_ATTRIBUTESACTIVE_TEXTUREACTIVE_UNIFORMSACTIVE_UNIFORM_BLOCKSALIASED_LINE_WIDTH_RANGEALIASED_POINT_SIZE_RANGEALPHAALPHA_BITSALREADY_SIGNALEDALWAYSANY_SAMPLES_PASSEDANY_SAMPLES_PASSED_CONSERVATIVEARRAY_BUFFERARRAY_BUFFER_BINDINGATTACHED_SHADERSBACKBLENDBLEND_COLORBLEND_DST_ALPHABLEND_DST_RGBBLEND_EQUATIONBLEND_EQUATION_ALPHABLEND_EQUATION_RGBBLEND_SRC_ALPHABLEND_SRC_RGBBLUE_BITSBOOLBOOL_VEC2BOOL_VEC3BOOL_VEC4BROWSER_DEFAULT_WEBGLBUFFER_SIZEBUFFER_USAGEBYTECCWCLAMP_TO_EDGECOLORCOLOR_ATTACHMENT0COLOR_ATTACHMENT0_WEBGLCOLOR_ATTACHMENT1COLOR_ATTACHMENT10COLOR_ATTACHMENT10_WEBGLCOLOR_ATTACHMENT11COLOR_ATTACHMENT11_WEBGLCOLOR_ATTACHMENT12COLOR_ATTACHMENT12_WEBGLCOLOR_ATTACHMENT13COLOR_ATTACHMENT13_WEBGLCOLOR_ATTACHMENT14COLOR_ATTACHMENT14_WEBGLCOLOR_ATTACHMENT15COLOR_ATTACHMENT15_WEBGLCOLOR_ATTACHMENT1_WEBGLCOLOR_ATTACHMENT2COLOR_ATTACHMENT2_WEBGLCOLOR_ATTACHMENT3COLOR_ATTACHMENT3_WEBGLCOLOR_ATTACHMENT4COLOR_ATTACHMENT4_WEBGLCOLOR_ATTACHMENT5COLOR_ATTACHMENT5_WEBGLCOLOR_ATTACHMENT6COLOR_ATTACHMENT6_WEBGLCOLOR_ATTACHMENT7COLOR_ATTACHMENT7_WEBGLCOLOR_ATTACHMENT8COLOR_ATTACHMENT8_WEBGLCOLOR_ATTACHMENT9COLOR_ATTACHMENT9_WEBGLCOLOR_BUFFER_BITCOLOR_CLEAR_VALUECOLOR_WRITEMASKCOMPARE_REF_TO_TEXTURECOMPILE_STATUSCOMPRESSED_TEXTURE_FORMATSCONDITION_SATISFIEDCONSTANT_ALPHACONSTANT_COLORCONTEXT_LOST_WEBGLCOPY_READ_BUFFERCOPY_READ_BUFFER_BINDINGCOPY_WRITE_BUFFERCOPY_WRITE_BUFFER_BINDINGCULL_FACECULL_FACE_MODECURRENT_PROGRAMCURRENT_QUERYCURRENT_VERTEX_ATTRIBCWDECRDECR_WRAPDELETE_STATUSDEPTHDEPTH24_STENCIL8DEPTH32F_STENCIL8DEPTH_ATTACHMENTDEPTH_BITSDEPTH_BUFFER_BITDEPTH_CLEAR_VALUEDEPTH_COMPONENTDEPTH_COMPONENT16DEPTH_COMPONENT24DEPTH_COMPONENT32FDEPTH_FUNCDEPTH_RANGEDEPTH_STENCILDEPTH_STENCIL_ATTACHMENTDEPTH_TESTDEPTH_WRITEMASKDITHERDONT_CAREDRAW_BUFFER0DRAW_BUFFER0_WEBGLDRAW_BUFFER1DRAW_BUFFER10DRAW_BUFFER10_WEBGLDRAW_BUFFER11DRAW_BUFFER11_WEBGLDRAW_BUFFER12DRAW_BUFFER12_WEBGLDRAW_BUFFER13DRAW_BUFFER13_WEBGLDRAW_BUFFER14DRAW_BUFFER14_WEBGLDRAW_BUFFER15DRAW_BUFFER15_WEBGLDRAW_BUFFER1_WEBGLDRAW_BUFFER2DRAW_BUFFER2_WEBGLDRAW_BUFFER3DRAW_BUFFER3_WEBGLDRAW_BUFFER4DRAW_BUFFER4_WEBGLDRAW_BUFFER5DRAW_BUFFER5_WEBGLDRAW_BUFFER6DRAW_BUFFER6_WEBGLDRAW_BUFFER7DRAW_BUFFER7_WEBGLDRAW_BUFFER8DRAW_BUFFER8_WEBGLDRAW_BUFFER9DRAW_BUFFER9_WEBGLDRAW_FRAMEBUFFERDRAW_FRAMEBUFFER_BINDINGDST_ALPHADST_COLORDYNAMIC_COPYDYNAMIC_DRAWDYNAMIC_READELEMENT_ARRAY_BUFFERELEMENT_ARRAY_BUFFER_BINDINGEQUALFASTESTFLOATFLOAT_32_UNSIGNED_INT_24_8_REVFLOAT_MAT2FLOAT_MAT2x3FLOAT_MAT2x4FLOAT_MAT3FLOAT_MAT3x2FLOAT_MAT3x4FLOAT_MAT4FLOAT_MAT4x2FLOAT_MAT4x3FLOAT_VEC2FLOAT_VEC3FLOAT_VEC4FRAGMENT_SHADERFRAGMENT_SHADER_DERIVATIVE_HINTFRAMEBUFFERFRAMEBUFFER_ATTACHMENT_ALPHA_SIZEFRAMEBUFFER_ATTACHMENT_BLUE_SIZEFRAMEBUFFER_ATTACHMENT_COLOR_ENCODINGFRAMEBUFFER_ATTACHMENT_COMPONENT_TYPEFRAMEBUFFER_ATTACHMENT_DEPTH_SIZEFRAMEBUFFER_ATTACHMENT_GREEN_SIZEFRAMEBUFFER_ATTACHMENT_OBJECT_NAMEFRAMEBUFFER_ATTACHMENT_OBJECT_TYPEFRAMEBUFFER_ATTACHMENT_RED_SIZEFRAMEBUFFER_ATTACHMENT_STENCIL_SIZEFRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACEFRAMEBUFFER_ATTACHMENT_TEXTURE_LAYERFRAMEBUFFER_ATTACHMENT_TEXTURE_LEVELFRAMEBUFFER_BINDINGFRAMEBUFFER_COMPLETEFRAMEBUFFER_DEFAULTFRAMEBUFFER_INCOMPLETE_ATTACHMENTFRAMEBUFFER_INCOMPLETE_DIMENSIONSFRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENTFRAMEBUFFER_INCOMPLETE_MULTISAMPLEFRAMEBUFFER_UNSUPPORTEDFRONTFRONT_AND_BACKFRONT_FACEFUNC_ADDFUNC_REVERSE_SUBTRACTFUNC_SUBTRACTGENERATE_MIPMAP_HINTGEQUALGREATERGREEN_BITSHALF_FLOATHIGH_FLOATHIGH_INTIMPLEMENTATION_COLOR_READ_FORMATIMPLEMENTATION_COLOR_READ_TYPEINCRINCR_WRAPINTINTERLEAVED_ATTRIBSINT_2_10_10_10_REVINT_SAMPLER_2DINT_SAMPLER_2D_ARRAYINT_SAMPLER_3DINT_SAMPLER_CUBEINT_VEC2INT_VEC3INT_VEC4INVALID_ENUMINVALID_FRAMEBUFFER_OPERATIONINVALID_INDEXINVALID_OPERATIONINVALID_VALUEINVERTKEEPLEQUALLESSLINEARLINEAR_MIPMAP_LINEARLINEAR_MIPMAP_NEARESTLINESLINE_LOOPLINE_STRIPLINE_WIDTHLINK_STATUSLOW_FLOATLOW_INTLUMINANCELUMINANCE_ALPHAMAXMAX_3D_TEXTURE_SIZEMAX_ARRAY_TEXTURE_LAYERSMAX_CLIENT_WAIT_TIMEOUT_WEBGLMAX_COLOR_ATTACHMENTSMAX_COLOR_ATTACHMENTS_WEBGLMAX_COMBINED_FRAGMENT_UNIFORM_COMPONENTSMAX_COMBINED_TEXTURE_IMAGE_UNITSMAX_COMBINED_UNIFORM_BLOCKSMAX_COMBINED_VERTEX_UNIFORM_COMPONENTSMAX_CUBE_MAP_TEXTURE_SIZEMAX_DRAW_BUFFERSMAX_DRAW_BUFFERS_WEBGLMAX_ELEMENTS_INDICESMAX_ELEMENTS_VERTICESMAX_ELEMENT_INDEXMAX_FRAGMENT_INPUT_COMPONENTSMAX_FRAGMENT_UNIFORM_BLOCKSMAX_FRAGMENT_UNIFORM_COMPONENTSMAX_FRAGMENT_UNIFORM_VECTORSMAX_PROGRAM_TEXEL_OFFSETMAX_RENDERBUFFER_SIZEMAX_SAMPLESMAX_SERVER_WAIT_TIMEOUTMAX_TEXTURE_IMAGE_UNITSMAX_TEXTURE_LOD_BIASMAX_TEXTURE_SIZEMAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTSMAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBSMAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTSMAX_UNIFORM_BLOCK_SIZEMAX_UNIFORM_BUFFER_BINDINGSMAX_VARYING_COMPONENTSMAX_VARYING_VECTORSMAX_VERTEX_ATTRIBSMAX_VERTEX_OUTPUT_COMPONENTSMAX_VERTEX_TEXTURE_IMAGE_UNITSMAX_VERTEX_UNIFORM_BLOCKSMAX_VERTEX_UNIFORM_COMPONENTSMAX_VERTEX_UNIFORM_VECTORSMAX_VIEWPORT_DIMSMEDIUM_FLOATMEDIUM_INTMINMIN_PROGRAM_TEXEL_OFFSETMIRRORED_REPEATNEARESTNEAREST_MIPMAP_LINEARNEAREST_MIPMAP_NEARESTNEVERNICESTNONENOTEQUALNO_ERROROBJECT_TYPEONEONE_MINUS_CONSTANT_ALPHAONE_MINUS_CONSTANT_COLORONE_MINUS_DST_ALPHAONE_MINUS_DST_COLORONE_MINUS_SRC_ALPHAONE_MINUS_SRC_COLOROUT_OF_MEMORYPACK_ALIGNMENTPACK_ROW_LENGTHPACK_SKIP_PIXELSPACK_SKIP_ROWSPIXEL_PACK_BUFFERPIXEL_PACK_BUFFER_BINDINGPIXEL_UNPACK_BUFFERPIXEL_UNPACK_BUFFER_BINDINGPOINTSPOLYGON_OFFSET_FACTORPOLYGON_OFFSET_FILLPOLYGON_OFFSET_UNITSQUERY_RESULTQUERY_RESULT_AVAILABLER11F_G11F_B10FR16FR16IR16UIR32FR32IR32UIR8R8IR8UIR8_SNORMRASTERIZER_DISCARDREAD_BUFFERREAD_FRAMEBUFFERREAD_FRAMEBUFFER_BINDINGREDRED_BITSRED_INTEGERRENDERBUFFERRENDERBUFFER_ALPHA_SIZERENDERBUFFER_BINDINGRENDERBUFFER_BLUE_SIZERENDERBUFFER_DEPTH_SIZERENDERBUFFER_GREEN_SIZERENDERBUFFER_HEIGHTRENDERBUFFER_INTERNAL_FORMATRENDERBUFFER_RED_SIZERENDERBUFFER_SAMPLESRENDERBUFFER_STENCIL_SIZERENDERBUFFER_WIDTHRENDERERREPEATREPLACERGRG16FRG16IRG16UIRG32FRG32IRG32UIRG8RG8IRG8UIRG8_SNORMRGBRGB10_A2RGB10_A2UIRGB16FRGB16IRGB16UIRGB32FRGB32IRGB32UIRGB565RGB5_A1RGB8RGB8IRGB8UIRGB8_SNORMRGB9_E5RGBARGBA16FRGBA16IRGBA16UIRGBA32FRGBA32IRGBA32UIRGBA4RGBA8RGBA8IRGBA8UIRGBA8_SNORMRGBA_INTEGERRGB_INTEGERRG_INTEGERSAMPLER_2DSAMPLER_2D_ARRAYSAMPLER_2D_ARRAY_SHADOWSAMPLER_2D_SHADOWSAMPLER_3DSAMPLER_BINDINGSAMPLER_CUBESAMPLER_CUBE_SHADOWSAMPLESSAMPLE_ALPHA_TO_COVERAGESAMPLE_BUFFERSSAMPLE_COVERAGESAMPLE_COVERAGE_INVERTSAMPLE_COVERAGE_VALUESCISSOR_BOXSCISSOR_TESTSEPARATE_ATTRIBSSHADER_TYPESHADING_LANGUAGE_VERSIONSHORTSIGNALEDSIGNED_NORMALIZEDSRC_ALPHASRC_ALPHA_SATURATESRC_COLORSRGBSRGB8SRGB8_ALPHA8STATIC_COPYSTATIC_DRAWSTATIC_READSTENCILSTENCIL_ATTACHMENTSTENCIL_BACK_FAILSTENCIL_BACK_FUNCSTENCIL_BACK_PASS_DEPTH_FAILSTENCIL_BACK_PASS_DEPTH_PASSSTENCIL_BACK_REFSTENCIL_BACK_VALUE_MASKSTENCIL_BACK_WRITEMASKSTENCIL_BITSSTENCIL_BUFFER_BITSTENCIL_CLEAR_VALUESTENCIL_FAILSTENCIL_FUNCSTENCIL_INDEX8STENCIL_PASS_DEPTH_FAILSTENCIL_PASS_DEPTH_PASSSTENCIL_REFSTENCIL_TESTSTENCIL_VALUE_MASKSTENCIL_WRITEMASKSTREAM_COPYSTREAM_DRAWSTREAM_READSUBPIXEL_BITSSYNC_CONDITIONSYNC_FENCESYNC_FLAGSSYNC_FLUSH_COMMANDS_BITSYNC_GPU_COMMANDS_COMPLETESYNC_STATUSTEXTURETEXTURE0TEXTURE1TEXTURE10TEXTURE11TEXTURE12TEXTURE13TEXTURE14TEXTURE15TEXTURE16TEXTURE17TEXTURE18TEXTURE19TEXTURE2TEXTURE20TEXTURE21TEXTURE22TEXTURE23TEXTURE24TEXTURE25TEXTURE26TEXTURE27TEXTURE28TEXTURE29TEXTURE3TEXTURE30TEXTURE31TEXTURE4TEXTURE5TEXTURE6TEXTURE7TEXTURE8TEXTURE9TEXTURE_2DTEXTURE_2D_ARRAYTEXTURE_3DTEXTURE_BASE_LEVELTEXTURE_BINDING_2DTEXTURE_BINDING_2D_ARRAYTEXTURE_BINDING_3DTEXTURE_BINDING_CUBE_MAPTEXTURE_COMPARE_FUNCTEXTURE_COMPARE_MODETEXTURE_CUBE_MAPTEXTURE_CUBE_MAP_NEGATIVE_XTEXTURE_CUBE_MAP_NEGATIVE_YTEXTURE_CUBE_MAP_NEGATIVE_ZTEXTURE_CUBE_MAP_POSITIVE_XTEXTURE_CUBE_MAP_POSITIVE_YTEXTURE_CUBE_MAP_POSITIVE_ZTEXTURE_IMMUTABLE_FORMATTEXTURE_IMMUTABLE_LEVELSTEXTURE_MAG_FILTERTEXTURE_MAX_LEVELTEXTURE_MAX_LODTEXTURE_MIN_FILTERTEXTURE_MIN_LODTEXTURE_WRAP_RTEXTURE_WRAP_STEXTURE_WRAP_TTIMEOUT_EXPIREDTIMEOUT_IGNOREDTRANSFORM_FEEDBACKTRANSFORM_FEEDBACK_ACTIVETRANSFORM_FEEDBACK_BINDINGTRANSFORM_FEEDBACK_BUFFERTRANSFORM_FEEDBACK_BUFFER_BINDINGTRANSFORM_FEEDBACK_BUFFER_MODETRANSFORM_FEEDBACK_BUFFER_SIZETRANSFORM_FEEDBACK_BUFFER_STARTTRANSFORM_FEEDBACK_PAUSEDTRANSFORM_FEEDBACK_PRIMITIVES_WRITTENTRANSFORM_FEEDBACK_VARYINGSTRIANGLESTRIANGLE_FANTRIANGLE_STRIPUNIFORM_ARRAY_STRIDEUNIFORM_BLOCK_ACTIVE_UNIFORMSUNIFORM_BLOCK_ACTIVE_UNIFORM_INDICESUNIFORM_BLOCK_BINDINGUNIFORM_BLOCK_DATA_SIZEUNIFORM_BLOCK_INDEXUNIFORM_BLOCK_REFERENCED_BY_FRAGMENT_SHADERUNIFORM_BLOCK_REFERENCED_BY_VERTEX_SHADERUNIFORM_BUFFERUNIFORM_BUFFER_BINDINGUNIFORM_BUFFER_OFFSET_ALIGNMENTUNIFORM_BUFFER_SIZEUNIFORM_BUFFER_STARTUNIFORM_IS_ROW_MAJORUNIFORM_MATRIX_STRIDEUNIFORM_OFFSETUNIFORM_SIZEUNIFORM_TYPEUNPACK_ALIGNMENTUNPACK_COLORSPACE_CONVERSION_WEBGLUNPACK_FLIP_Y_WEBGLUNPACK_IMAGE_HEIGHTUNPACK_PREMULTIPLY_ALPHA_WEBGLUNPACK_ROW_LENGTHUNPACK_SKIP_IMAGESUNPACK_SKIP_PIXELSUNPACK_SKIP_ROWSUNSIGNALEDUNSIGNED_BYTEUNSIGNED_INTUNSIGNED_INT_10F_11F_11F_REVUNSIGNED_INT_24_8UNSIGNED_INT_2_10_10_10_REVUNSIGNED_INT_5_9_9_9_REVUNSIGNED_INT_SAMPLER_2DUNSIGNED_INT_SAMPLER_2D_ARRAYUNSIGNED_INT_SAMPLER_3DUNSIGNED_INT_SAMPLER_CUBEUNSIGNED_INT_VEC2UNSIGNED_INT_VEC3UNSIGNED_INT_VEC4UNSIGNED_NORMALIZEDUNSIGNED_SHORTUNSIGNED_SHORT_4_4_4_4UNSIGNED_SHORT_5_5_5_1UNSIGNED_SHORT_5_6_5VALIDATE_STATUSVENDORVERSIONVERTEX_ARRAY_BINDINGVERTEX_ATTRIB_ARRAY_BUFFER_BINDINGVERTEX_ATTRIB_ARRAY_DIVISORVERTEX_ATTRIB_ARRAY_ENABLEDVERTEX_ATTRIB_ARRAY_INTEGERVERTEX_ATTRIB_ARRAY_NORMALIZEDVERTEX_ATTRIB_ARRAY_POINTERVERTEX_ATTRIB_ARRAY_SIZEVERTEX_ATTRIB_ARRAY_STRIDEVERTEX_ATTRIB_ARRAY_TYPEVERTEX_SHADERVIEWPORTWAIT_FAILEDZERO"WebGL2RenderingContextBase"WebGL2RenderingContextBasedart.dom.web_gljs_utiljsify_convertDataTreenewObjecthasPropertycallMethodinstanceofconstrcallConstructorNullRejectionExceptionisUndefinedjsPromisepromiseToFuturedart.js_util"Chrome"Chrome"Firefox"FirefoxIE"Internet Explorer"Internet ExplorerOPERA"Opera"OperaSAFARI"Safari"SafaribrowserNameminimumVersionExperimentalDomNameDocsEditablehtml_commongl'dart:web_gl'dart:web_gl'dart:js_util'dart:js_util'dart:_metadata'dart:_metadata'css_class_set.dart'css_class_set.dart'conversions.dart'conversions.dart'conversions_dart2js.dart'conversions_dart2js.dart'device.dart'device.dart'filtered_element_list.dart'filtered_element_list.dart'lists.dart'lists.dartCssClassSetCssClassSetImpl_validTokenRE_validateTokentoggleshouldAddfrozentoggleAllmodifyreadClasseswriteClassesconvertDartToNative_SerializedScriptValueconvertNativeToDart_SerializedScriptValue_StructuredClonecopiesfindSlotreadSlotwriteSlotcleanupSlotscloneNotRequirednewJsObjectforEachObjectKeyputIntoObjectnewJsMapnewJsListputIntoMapwalkcopyListslotconvertDartToNative_PrepareForStructuredClone_AcceptStructuredClonemustCopyidenticalInJsforEachJsFieldnewDartListconvertNativeToDart_AcceptStructuredCloneContextAttributesantialiaspremultipliedAlphapreserveDrawingBufferfailIfMajorPerformanceCaveatnativeContextAttributesconvertNativeToDart_ContextAttributesImageData_TypedImageDatanativeImageDataconvertNativeToDart_ImageDataimageDataconvertDartToNative_ImageDataconvertNativeToDart_Dictionary_convertDartToNative_ValuedictpostCreateconvertDartToNative_DictionaryconvertDartToNative_StringArraydateconvertNativeToDart_DateTimeconvertDartToNative_DateTime_StructuredCloneDart2Js_AcceptStructuredCloneDart2JsisJavaScriptDateisJavaScriptRegExpisJavaScriptArrayisJavaScriptSimpleObjectisImmutableJavaScriptArrayisJavaScriptPromise_serializedScriptValue'num|String|bool|'num|String|bool|'JSExtendableArray|=Object|'JSExtendableArray|=Object|'Blob|File|NativeByteBuffer|NativeTypedData|MessagePort'Blob|File|NativeByteBuffer|NativeTypedData|MessagePortannotation_Creates_SerializedScriptValueannotation_Returns_SerializedScriptValueDeviceisOperaisIEisFirefoxisWebKitcssPrefixpropertyPrefixisEventTypeSupportedeventTypeElementNodeListWrapperFilteredElementList_node_childNodes_filteredrawListListsaccumulatorindexed_db_KeyRangeFactoryProvidercreateKeyRange_onlyKeyRangecreateKeyRange_lowerBoundcreateKeyRange_upperBoundcreateKeyRange_boundlowerupperlowerOpenupperOpen_cachedClass_class_uncachedClass_translateKeyidbkey_only_lowerBound_upperBound_boundnativeKey_convertNativeToDart_IDBKeydartKey_convertDartToNative_IDBKey_convertNativeToDart_IDBAny_idbKey'JSExtendableArray|=Object|num|String'JSExtendableArray|=Object|num|String_annotation_Creates_IDBKey_annotation_Returns_IDBKeyCursor"IDBCursor"IDBCursordelete'continue'continuedirectionprimaryKey'Null''ObjectStore|Index|Null'ObjectStore|Index|NulladvancecontinuePrimaryKey_deleteRequest'delete'_update_update_1'update'CursorWithValue"IDBCursorWithValue"IDBCursorWithValue_get_value'value'EventTargetDatabase'15'15'10'10"IDBDatabase"IDBDatabasecreateObjectStoreObjectStorekeyPathautoIncrementtransactionTransactionstoreName_OR_storeNamestransactionStorestoreNametransactionListstoreNamestransactionStoresDomStringList_transactionstores'transaction'EventStreamProviderabortEvent'abort'abortcloseEvent'close'errorEvent'error'VersionChangeEventversionChangeEvent'versionchange'versionchangeobjectStoreNames'DomStringList''int|String|Null'int|String|Null_createObjectStore_createObjectStore_1'createObjectStore'_createObjectStore_2deleteObjectStoreonAbortonVersionChangeObserverChangeschangesObserverCallbackIdbFactory"IDBFactory"IDBFactoryonUpgradeNeededonBlockeddeleteDatabasesupportsDatabaseNamescmp_deleteDatabaseOpenDBRequest'deleteDatabase'_open'open''Request''Database'request_completeRequestIndex"IDBIndex"IDBIndexkey_OR_rangegetgetKeyopenCursorautoAdvanceopenKeyCursormultiEntryobjectStoreunique'count'_get'get'getAllgetAllKeys_getKey'getKey''ObjectStore'_openCursor'openCursor''Cursor'_openKeyCursor'openKeyCursor'"IDBKeyRange"IDBKeyRangeonlylowerBoundupperBoundbound_'bound'includeslowerBound_'lowerBound'only_'only'upperBound_'upperBound'"IDBObjectStore"IDBObjectStorekey_OR_keyRangeputgetObjectcreateIndexindexNames_add_1'add'_add_2'clear'_createIndex_createIndex_1'createIndex'_createIndex_2deleteIndex_put_put_1'put'_put_2_cursorStreamFromResultObservation"IDBObservation"IDBObservationObserver"IDBObserver"IDBObserverobservedbtx_observe_1'observe'unobserve"IDBObserverChanges"IDBObserverChangesdatabaserecords"IDBOpenDBRequest,IDBVersionChangeRequest"IDBOpenDBRequest,IDBVersionChangeRequestblockedEvent'blocked'blockedupgradeNeededEvent'upgradeneeded'upgradeneeded"IDBRequest"IDBRequestsuccessEvent'success'successDomExceptionreadyState_get_result'result'"IDBTransaction"IDBTransactioncompletedcompleteEvent'complete'onComplete"IDBVersionChangeEvent"IDBVersionChangeEventeventInitDictdataLossdataLossMessagenewVersionoldVersion'target'dart.dom.indexed_dbsvg_SvgElementFactoryProvidercreateSvgElement_tagSvgElementGraphicsElementUriReferenceAElement"SVGAElement"SVGAElementAnimatedStringhrefAngle"SVGAngle"SVGAngleSVG_ANGLETYPE_DEGSVG_ANGLETYPE_GRADSVG_ANGLETYPE_RADSVG_ANGLETYPE_UNKNOWNSVG_ANGLETYPE_UNSPECIFIEDunitTypevalueAsStringvalueInSpecifiedUnitsconvertToSpecifiedUnitsnewValueSpecifiedUnitsAnimationElementAnimateElement"SVGAnimateElement"SVGAnimateElementAnimateMotionElement"SVGAnimateMotionElement"SVGAnimateMotionElementAnimateTransformElement"SVGAnimateTransformElement"SVGAnimateTransformElementAnimatedAngle"SVGAnimatedAngle"SVGAnimatedAngleanimValbaseValAnimatedBoolean"SVGAnimatedBoolean"SVGAnimatedBooleanAnimatedEnumeration"SVGAnimatedEnumeration"SVGAnimatedEnumerationAnimatedInteger"SVGAnimatedInteger"SVGAnimatedIntegerAnimatedLength"SVGAnimatedLength"SVGAnimatedLengthLengthAnimatedLengthList"SVGAnimatedLengthList"SVGAnimatedLengthListLengthListAnimatedNumber"SVGAnimatedNumber"SVGAnimatedNumberAnimatedNumberList"SVGAnimatedNumberList"SVGAnimatedNumberListNumberListAnimatedPreserveAspectRatio"SVGAnimatedPreserveAspectRatio"SVGAnimatedPreserveAspectRatioPreserveAspectRatioAnimatedRect"SVGAnimatedRect"SVGAnimatedRectRect"SVGAnimatedString"SVGAnimatedStringAnimatedTransformList"SVGAnimatedTransformList"SVGAnimatedTransformListTransformListTests"SVGAnimationElement"SVGAnimationElementtargetElementbeginElementbeginElementAtendElementendElementAtgetCurrentTimegetSimpleDurationgetStartTimerequiredExtensionsStringListsystemLanguageGeometryElementCircleElement"SVGCircleElement"SVGCircleElementcxcyrClipPathElement"SVGClipPathElement"SVGClipPathElementclipPathUnitsDefsElement"SVGDefsElement"SVGDefsElementDescElement"SVGDescElement"SVGDescElementDiscardElement"SVGDiscardElement"SVGDiscardElementEllipseElement"SVGEllipseElement"SVGEllipseElementrxryFilterPrimitiveStandardAttributesFEBlendElement"SVGFEBlendElement"SVGFEBlendElementSVG_FEBLEND_MODE_DARKENSVG_FEBLEND_MODE_LIGHTENSVG_FEBLEND_MODE_MULTIPLYSVG_FEBLEND_MODE_NORMALSVG_FEBLEND_MODE_SCREENSVG_FEBLEND_MODE_UNKNOWNin1in2FEColorMatrixElement"SVGFEColorMatrixElement"SVGFEColorMatrixElementSVG_FECOLORMATRIX_TYPE_HUEROTATESVG_FECOLORMATRIX_TYPE_LUMINANCETOALPHASVG_FECOLORMATRIX_TYPE_MATRIXSVG_FECOLORMATRIX_TYPE_SATURATESVG_FECOLORMATRIX_TYPE_UNKNOWNFEComponentTransferElement"SVGFEComponentTransferElement"SVGFEComponentTransferElementFECompositeElement"SVGFECompositeElement"SVGFECompositeElementSVG_FECOMPOSITE_OPERATOR_ARITHMETICSVG_FECOMPOSITE_OPERATOR_ATOPSVG_FECOMPOSITE_OPERATOR_INSVG_FECOMPOSITE_OPERATOR_OUTSVG_FECOMPOSITE_OPERATOR_OVERSVG_FECOMPOSITE_OPERATOR_UNKNOWNSVG_FECOMPOSITE_OPERATOR_XORk1k2k3k4operatorFEConvolveMatrixElement"SVGFEConvolveMatrixElement"SVGFEConvolveMatrixElementSVG_EDGEMODE_DUPLICATESVG_EDGEMODE_NONESVG_EDGEMODE_UNKNOWNSVG_EDGEMODE_WRAPbiasedgeModekernelMatrixkernelUnitLengthXkernelUnitLengthYorderXorderYpreserveAlphatargetXtargetYFEDiffuseLightingElement"SVGFEDiffuseLightingElement"SVGFEDiffuseLightingElementdiffuseConstantsurfaceScaleFEDisplacementMapElement"SVGFEDisplacementMapElement"SVGFEDisplacementMapElementSVG_CHANNEL_ASVG_CHANNEL_BSVG_CHANNEL_GSVG_CHANNEL_RSVG_CHANNEL_UNKNOWNxChannelSelectoryChannelSelectorFEDistantLightElement"SVGFEDistantLightElement"SVGFEDistantLightElementazimuthelevationFEFloodElement"SVGFEFloodElement"SVGFEFloodElement_SVGComponentTransferFunctionElementFEFuncAElement"SVGFEFuncAElement"SVGFEFuncAElementFEFuncBElement"SVGFEFuncBElement"SVGFEFuncBElementFEFuncGElement"SVGFEFuncGElement"SVGFEFuncGElementFEFuncRElement"SVGFEFuncRElement"SVGFEFuncRElementFEGaussianBlurElement"SVGFEGaussianBlurElement"SVGFEGaussianBlurElementstdDeviationXstdDeviationYsetStdDeviationFEImageElement"SVGFEImageElement"SVGFEImageElementpreserveAspectRatioFEMergeElement"SVGFEMergeElement"SVGFEMergeElementFEMergeNodeElement"SVGFEMergeNodeElement"SVGFEMergeNodeElementFEMorphologyElement"SVGFEMorphologyElement"SVGFEMorphologyElementSVG_MORPHOLOGY_OPERATOR_DILATESVG_MORPHOLOGY_OPERATOR_ERODESVG_MORPHOLOGY_OPERATOR_UNKNOWNradiusXradiusYFEOffsetElement"SVGFEOffsetElement"SVGFEOffsetElementdxdyFEPointLightElement"SVGFEPointLightElement"SVGFEPointLightElementFESpecularLightingElement"SVGFESpecularLightingElement"SVGFESpecularLightingElementspecularConstantspecularExponentFESpotLightElement"SVGFESpotLightElement"SVGFESpotLightElementlimitingConeAnglepointsAtXpointsAtYpointsAtZFETileElement"SVGFETileElement"SVGFETileElementFETurbulenceElement"SVGFETurbulenceElement"SVGFETurbulenceElementSVG_STITCHTYPE_NOSTITCHSVG_STITCHTYPE_STITCHSVG_STITCHTYPE_UNKNOWNSVG_TURBULENCE_TYPE_FRACTALNOISESVG_TURBULENCE_TYPE_TURBULENCESVG_TURBULENCE_TYPE_UNKNOWNbaseFrequencyXbaseFrequencyYnumOctavesstitchTilesFilterElement"SVGFilterElement"SVGFilterElementfilterUnitsprimitiveUnitsFitToViewBoxviewBoxForeignObjectElement"SVGForeignObjectElement"SVGForeignObjectElementGElement"SVGGElement"SVGGElement"SVGGeometryElement"SVGGeometryElementpathLengthgetPointAtLengthdistancegetTotalLengthisPointInFillpointisPointInStroke"SVGGraphicsElement"SVGGraphicsElementfarthestViewportElementnearestViewportElementgetBBoxgetCtmMatrix'getCTM'getCTMgetScreenCtm'getScreenCTM'getScreenCTM"SVGImageElement"SVGImageElement"SVGLength"SVGLengthSVG_LENGTHTYPE_CMSVG_LENGTHTYPE_EMSSVG_LENGTHTYPE_EXSSVG_LENGTHTYPE_INSVG_LENGTHTYPE_MMSVG_LENGTHTYPE_NUMBERSVG_LENGTHTYPE_PCSVG_LENGTHTYPE_PERCENTAGESVG_LENGTHTYPE_PTSVG_LENGTHTYPE_PXSVG_LENGTHTYPE_UNKNOWNImmutableListMixin"SVGLengthList"SVGLengthListnumberOfItems__setter__newItemappendItemgetIteminitializeinsertItemBeforeremoveItemreplaceItemLineElement"SVGLineElement"SVGLineElementx1x2y1y2_GradientElementLinearGradientElement"SVGLinearGradientElement"SVGLinearGradientElementMarkerElement"SVGMarkerElement"SVGMarkerElementSVG_MARKERUNITS_STROKEWIDTHSVG_MARKERUNITS_UNKNOWNSVG_MARKERUNITS_USERSPACEONUSESVG_MARKER_ORIENT_ANGLESVG_MARKER_ORIENT_AUTOSVG_MARKER_ORIENT_UNKNOWNmarkerHeightmarkerUnitsmarkerWidthorientAngleorientTyperefXrefYsetOrientToAngleanglesetOrientToAutoMaskElement"SVGMaskElement"SVGMaskElementmaskContentUnitsmaskUnits"SVGMatrix"SVGMatrixflipXflipYinversemultiplysecondMatrixrotaterotateFromVectorscaleFactorscaleNonUniformscaleFactorXscaleFactorYskewXskewYtranslateMetadataElement"SVGMetadataElement"SVGMetadataElementNumber"SVGNumber"SVGNumber"SVGNumberList"SVGNumberListPathElement"SVGPathElement"SVGPathElementPatternElement"SVGPatternElement"SVGPatternElementpatternContentUnitspatternTransformpatternUnits"SVGPoint"SVGPointmatrixTransformmatrixPointList"SVGPointList"SVGPointListPolygonElement"SVGPolygonElement"SVGPolygonElementanimatedPointspointsPolylineElement"SVGPolylineElement"SVGPolylineElement"SVGPreserveAspectRatio"SVGPreserveAspectRatioSVG_MEETORSLICE_MEETSVG_MEETORSLICE_SLICESVG_MEETORSLICE_UNKNOWNSVG_PRESERVEASPECTRATIO_NONESVG_PRESERVEASPECTRATIO_UNKNOWNSVG_PRESERVEASPECTRATIO_XMAXYMAXSVG_PRESERVEASPECTRATIO_XMAXYMIDSVG_PRESERVEASPECTRATIO_XMAXYMINSVG_PRESERVEASPECTRATIO_XMIDYMAXSVG_PRESERVEASPECTRATIO_XMIDYMIDSVG_PRESERVEASPECTRATIO_XMIDYMINSVG_PRESERVEASPECTRATIO_XMINYMAXSVG_PRESERVEASPECTRATIO_XMINYMIDSVG_PRESERVEASPECTRATIO_XMINYMINalignmeetOrSliceRadialGradientElement"SVGRadialGradientElement"SVGRadialGradientElementfrfxfy"SVGRect"SVGRectRectElement"SVGRectElement"SVGRectElementScriptElement"SVGScriptElement"SVGScriptElementSetElement"SVGSetElement"SVGSetElementStopElement"SVGStopElement"SVGStopElementgradientOffset'offset'"SVGStringList"SVGStringListStyleElement"SVGStyleElement"SVGStyleElementdisabledmediasheetStyleSheetAttributeClassSetGlobalEventHandlersNoncedElement"SVGElement"SVGElement_START_TAG_REGEXPNodeValidatorvalidatorNodeTreeSanitizertreeSanitizerclasseschildrenouterHtmlinnerHtmlcreateFragmentDocumentFragmentinsertAdjacentTextinsertAdjacentHtmlinsertAdjacentElement_childrenHtmlCollectionisContentEditableclickisTagSupportedblurEvent'blur'blurcanPlayEvent'canplay'canplaycanPlayThroughEvent'canplaythrough'canplaythroughchangeEvent'change'MouseEventclickEvent'click'contextMenuEvent'contextmenu'contextmenudoubleClickEvent'dblclick'dblclick'SVGElement.dblclickEvent'SVGElement.dblclickEventdragEvent'drag'dragdragEndEvent'dragend'dragenddragEnterEvent'dragenter'dragenterdragLeaveEvent'dragleave'dragleavedragOverEvent'dragover'dragoverdragStartEvent'dragstart'dragstartdropEvent'drop'dropdurationChangeEvent'durationchange'durationchangeemptiedEvent'emptied'emptiedendedEvent'ended'endedfocusEvent'focus'focus'input'invalidEvent'invalid'invalidKeyboardEventkeyDownEvent'keydown'keydownkeyPressEvent'keypress'keypresskeyUpEvent'keyup'keyuploadEvent'load'loadedDataEvent'loadeddata'loadeddataloadedMetadataEvent'loadedmetadata'loadedmetadatamouseDownEvent'mousedown'mousedownmouseEnterEvent'mouseenter'mouseentermouseLeaveEvent'mouseleave'mouseleavemouseMoveEvent'mousemove'mousemovemouseOutEvent'mouseout'mouseoutmouseOverEvent'mouseover'mouseovermouseUpEvent'mouseup'mouseupWheelEventmouseWheelEvent'mousewheel'mousewheelpauseEvent'pause'playEvent'play'playplayingEvent'playing'playingrateChangeEvent'ratechange'ratechangeresetEvent'reset'resizeEvent'resize'resizescrollEvent'scroll'scrollseekedEvent'seeked'seekedseekingEvent'seeking'seekingselectEvent'select'stalledEvent'stalled'stalledsubmitEvent'submit'submitsuspendEvent'suspend'suspendtimeUpdateEvent'timeupdate'timeupdateTouchEventtouchCancelEvent'touchcancel'touchcanceltouchEndEvent'touchend'touchendtouchMoveEvent'touchmove'touchmovetouchStartEvent'touchstart'touchstartvolumeChangeEvent'volumechange'volumechangewaitingEvent'waiting'waitingwheelEvent'wheel'wheel_svgClassName'className'ownerSvgElementSvgSvgElement'ownerSVGElement'ownerSVGElementviewportElementnonceElementStreamonBluronCanPlayonCanPlayThroughonChangeonClickonContextMenuonDoubleClick'SVGElement.ondblclick'SVGElement.ondblclickonDragonDragEndonDragEnteronDragLeaveonDragOveronDragStartonDroponDurationChangeonEmptiedonEndedonFocusonInputonInvalidonKeyDownonKeyPressonKeyUponLoadonLoadedDataonLoadedMetadataonMouseDownonMouseEnteronMouseLeaveonMouseMoveonMouseOutonMouseOveronMouseUponMouseWheelonPlayonPlayingonRateChangeonResetonResizeonScrollonSeekedonSeekingonSelectonStalledonSubmitonSuspendonTimeUpdateonTouchCancelonTouchEndonTouchMoveonTouchStartonVolumeChangeonWaitingonWheelZoomAndPan"SVGSVGElement"SVGSVGElementcurrentScalecurrentTranslateanimationsPausedcheckEnclosurerectcheckIntersectioncreateSvgAngle'createSVGAngle'createSVGAnglecreateSvgLength'createSVGLength'createSVGLengthcreateSvgMatrix'createSVGMatrix'createSVGMatrixcreateSvgNumber'createSVGNumber'createSVGNumbercreateSvgPoint'createSVGPoint'createSVGPointcreateSvgRect'createSVGRect'createSVGRectcreateSvgTransformTransform'createSVGTransform'createSVGTransformcreateSvgTransformFromMatrix'createSVGTransformFromMatrix'createSVGTransformFromMatrixdeselectAllforceRedrawgetElementByIdelementIdgetEnclosureListreferenceElement'NodeList'NodeListgetIntersectionListpauseAnimationssetCurrentTimesuspendRedrawmaxWaitMillisecondsunpauseAnimationsunsuspendRedrawsuspendHandleIdunsuspendRedrawAllzoomAndPanSwitchElement"SVGSwitchElement"SVGSwitchElementSymbolElement"SVGSymbolElement"SVGSymbolElementTextPositioningElementTSpanElement"SVGTSpanElement"SVGTSpanElementTextContentElement"SVGTextContentElement"SVGTextContentElementLENGTHADJUST_SPACINGLENGTHADJUST_SPACINGANDGLYPHSLENGTHADJUST_UNKNOWNlengthAdjusttextLengthgetCharNumAtPositiongetComputedTextLengthgetEndPositionOfCharcharnumgetExtentOfChargetNumberOfCharsgetRotationOfChargetStartPositionOfChargetSubStringLengthncharsselectSubStringTextElement"SVGTextElement"SVGTextElementTextPathElement"SVGTextPathElement"SVGTextPathElementTEXTPATH_METHODTYPE_ALIGNTEXTPATH_METHODTYPE_STRETCHTEXTPATH_METHODTYPE_UNKNOWNTEXTPATH_SPACINGTYPE_AUTOTEXTPATH_SPACINGTYPE_EXACTTEXTPATH_SPACINGTYPE_UNKNOWNspacingstartOffset"SVGTextPositioningElement"SVGTextPositioningElementTitleElement"SVGTitleElement"SVGTitleElement"SVGTransform"SVGTransformSVG_TRANSFORM_MATRIXSVG_TRANSFORM_ROTATESVG_TRANSFORM_SCALESVG_TRANSFORM_SKEWXSVG_TRANSFORM_SKEWYSVG_TRANSFORM_TRANSLATESVG_TRANSFORM_UNKNOWNsetMatrixsetRotatesetScalesxsysetSkewXsetSkewYsetTranslatety"SVGTransformList"SVGTransformListconsolidateUnitTypes"SVGUnitTypes"SVGUnitTypesSVG_UNIT_TYPE_OBJECTBOUNDINGBOXSVG_UNIT_TYPE_UNKNOWNSVG_UNIT_TYPE_USERSPACEONUSEUseElement"SVGUseElement"SVGUseElementViewElement"SVGViewElement"SVGViewElementSVG_ZOOMANDPAN_DISABLESVG_ZOOMANDPAN_MAGNIFYSVG_ZOOMANDPAN_UNKNOWN"SVGGradientElement"SVGGradientElementSVG_SPREADMETHOD_PADSVG_SPREADMETHOD_REFLECTSVG_SPREADMETHOD_REPEATSVG_SPREADMETHOD_UNKNOWNgradientTransformgradientUnitsspreadMethod"SVGComponentTransferFunctionElement"SVGComponentTransferFunctionElement_SVGFEDropShadowElement"SVGFEDropShadowElement"SVGFEDropShadowElement_SVGMPathElement"SVGMPathElement"SVGMPathElementdart.dom.svgweb_audioAudioNodeAnalyserNode"AnalyserNode,RealtimeAnalyserNode"AnalyserNode,RealtimeAnalyserNodeBaseAudioContextcontextfftSizefrequencyBinCountmaxDecibelsminDecibelssmoothingTimeConstantgetByteFrequencyDatagetByteTimeDomainDatagetFloatFrequencyDatagetFloatTimeDomainDataAudioBuffer"AudioBuffer"numberOfChannelssampleRatecopyFromChanneldestinationchannelNumberstartInChannelcopyToChannelgetChannelDatachannelIndexAudioScheduledSourceNodeAudioBufferSourceNode"AudioBufferSourceNode"detuneAudioParamlooploopEndloopStartplaybackRategrainOffsetgrainDurationAudioContext"AudioContext,webkitAudioContext"AudioContext,webkitAudioContextbaseLatencygetOutputTimestamp_getOutputTimestamp_1'getOutputTimestamp'createGainGainNodecreateScriptProcessorScriptProcessorNodenumberOfInputChannelsnumberOfOutputChannels_decodeAudioDataaudioDataDecodeSuccessCallbacksuccessCallbackDecodeErrorCallback'decodeAudioData'decodeAudioDataAudioDestinationNode"AudioDestinationNode"maxChannelCountAudioListener"AudioListener"forwardXforwardYforwardZpositionXpositionYpositionZupXupYupZsetOrientationxUpyUpzUp"AudioNode"channelCountchannelCountModechannelInterpretationnumberOfInputsnumberOfOutputs_connect'connect'connectdisconnectdestination_OR_outputconnectNodeconnectParam"AudioParam"cancelAndHoldAtTimestartTimecancelScheduledValuesexponentialRampToValueAtTimelinearRampToValueAtTimesetTargetAtTimetimeConstantsetValueAtTimesetValueCurveAtTimeAudioParamMap"AudioParamMap"_getItemAudioProcessingEvent"AudioProcessingEvent"inputBufferoutputBufferplaybackTime"AudioScheduledSourceNode"start2'start'AudioTrack"AudioTrack"enabledlanguagesourceBufferSourceBufferAudioTrackList"AudioTrackList"__getter__getTrackByIdWorkletGlobalScopeAudioWorkletGlobalScope"AudioWorkletGlobalScope"currentTimeregisterProcessorprocessorConstructorAudioWorkletNode"AudioWorkletNode"AudioWorkletProcessor"AudioWorkletProcessor""BaseAudioContext"createAnalysercreateBiquadFilterBiquadFilterNodenumberOfFramescreateBufferSourcecreateChannelMergerChannelMergerNodecreateChannelSplitterChannelSplitterNodecreateConstantSourceConstantSourceNodecreateConvolverConvolverNodecreateDelayDelayNodemaxDelayTimecreateDynamicsCompressorDynamicsCompressorNodecreateIirFilterIirFilterNodefeedForwardfeedBack'createIIRFilter'createIIRFiltercreateMediaElementSourceMediaElementAudioSourceNodeMediaElementmediaElementcreateMediaStreamDestinationMediaStreamAudioDestinationNodecreateMediaStreamSourceMediaStreamAudioSourceNodeMediaStreammediaStreamcreateOscillatorOscillatorNodecreatePannerPannerNodecreatePeriodicWavePeriodicWaverealimag_createPeriodicWave_1'createPeriodicWave'_createPeriodicWave_2createStereoPannerStereoPannerNodecreateWaveShaperWaveShaperNode"BiquadFilterNode"QgaingetFrequencyResponsefrequencyHzmagResponsephaseResponse"ChannelMergerNode,AudioChannelMerger"ChannelMergerNode,AudioChannelMerger"ChannelSplitterNode,AudioChannelSplitter"ChannelSplitterNode,AudioChannelSplitter"ConstantSourceNode""ConvolverNode""DelayNode"delayTime"DynamicsCompressorNode"attackkneeratioreductionreleasethreshold"GainNode,AudioGainNode"GainNode,AudioGainNode"IIRFilterNode"IIRFilterNode"MediaElementAudioSourceNode""MediaStreamAudioDestinationNode""MediaStreamAudioSourceNode"OfflineAudioCompletionEvent"OfflineAudioCompletionEvent"renderedBufferOfflineAudioContext"OfflineAudioContext"numberOfChannels_OR_optionsstartRenderingsuspendForsuspendTime"OscillatorNode,Oscillator"OscillatorNode,OscillatorsetPeriodicWaveperiodicWave"PannerNode,AudioPannerNode,webkitAudioPannerNode"PannerNode,AudioPannerNode,webkitAudioPannerNodeconeInnerAngleconeOuterAngleconeOuterGaindistanceModelmaxDistanceorientationXorientationYorientationZpanningModelrefDistancerolloffFactor"PeriodicWave""ScriptProcessorNode,JavaScriptAudioNode"ScriptProcessorNode,JavaScriptAudioNodeaudioProcessEvent'audioprocess'audioprocesssetEventListenerEventListenereventListeneronAudioProcess"StereoPannerNode"pan"WaveShaperNode"curveoversampledart.dom.web_audioweb_sqlSqlTransactionSqlResultSetresultSetSqlStatementCallbackSqlErrorSqlStatementErrorCallbackSqlTransactionCallbackSqlTransactionErrorCallbackSqlDatabase"Database"_changeVersionVoidCallback'changeVersion'changeVersion_readTransaction'readTransaction'readTransactiontransaction_future"SQLError"SQLErrorCONSTRAINT_ERRDATABASE_ERRQUOTA_ERRSYNTAX_ERRTIMEOUT_ERRTOO_LARGE_ERRUNKNOWN_ERRVERSION_ERR"SQLResultSet"SQLResultSetinsertIdrowsSqlResultSetRowListrowsAffected"SQLResultSetRowList"SQLResultSetRowList_item_1'item'"SQLTransaction"SQLTransaction_executeSqlsqlStatement'executeSql'executeSqldart.dom.web_sqlhtml'dart:indexed_db'dart:indexed_db'dart:svg'dart:svg'dart:web_audio'dart:web_audio'dart:web_sql'dart:web_sqlForceInlineWindowwindowHtmlDocumentdocumentpromiseToFutureAsMapHtmlElement"HTMLElement"HTMLElementFontFacefontFacefontFaceAgainFontFaceSetFontFaceSetForEachCallbackWorkerGlobalScope_workerSelfExtendableEventAbortPaymentEvent"AbortPaymentEvent"respondWithpaymentAbortedResponseOrientationSensorAbsoluteOrientationSensor"AbsoluteOrientationSensor"sensorOptionsAbstractWorkerSensorAccelerometer"Accelerometer"AccessibleNode"AccessibleNode"accessibleClickEvent'accessibleclick'accessibleclickaccessibleContextMenuEvent'accessiblecontextmenu'accessiblecontextmenuaccessibleDecrementEvent'accessibledecrement'accessibledecrementaccessibleFocusEvent'accessiblefocus'accessiblefocusaccessibleIncrementEvent'accessibleincrement'accessibleincrementaccessibleScrollIntoViewEvent'accessiblescrollintoview'accessiblescrollintoviewactiveDescendantatomicautocompletebusycolCountcolIndexcolSpancontrolsAccessibleNodeListdescribedBydetailserrorMessageexpandedflowTohasPopUphiddenkeyShortcutslabeledBylivemodalmultilinemultiselectableorientationownsplaceholderposInSetpressedreadOnlyrelevantroleroleDescriptionrowCountrowIndexrowSpanselectedsetSizevalueMaxvalueMinvalueNowvalueTextappendChildchildonAccessibleClickonAccessibleContextMenuonAccessibleDecrementonAccessibleFocusonAccessibleIncrementonAccessibleScrollIntoView"AccessibleNodeList"nodesbeforeAmbientLightSensor"AmbientLightSensor"illuminanceHtmlHyperlinkElementUtilsAnchorElement"HTMLAnchorElement"HTMLAnchorElementdownloadhreflangreferrerPolicyrelhostnamepasswordpathnameprotocolsearchusernameAnimation"Animation"cancelEvent'cancel'finishEvent'finish'AnimationEffectReadOnlyeffectAnimationTimelinetimeline_create_3finishedplayStatereadyreverseonFinish"AnimationEffectReadOnly"timingAnimationEffectTimingReadOnlygetComputedTiming_getComputedTiming_1'getComputedTiming'AnimationEffectTiming"AnimationEffectTiming"delay'num|String|Null'num|String|NulleasingendDelayiterationStartiterations"AnimationEffectTimingReadOnly"AnimationEvent"AnimationEvent"animationNameelapsedTimeAnimationPlaybackEvent"AnimationPlaybackEvent"timelineTime"AnimationTimeline"AnimationWorkletGlobalScope"AnimationWorkletGlobalScope"registerAnimatoranimatorConstructorApplicationCache"ApplicationCache,DOMApplicationCache,OfflineResourceList"ApplicationCache,DOMApplicationCache,OfflineResourceListcachedEvent'cached'cachedcheckingEvent'checking'checkingdownloadingEvent'downloading'downloadingnoUpdateEvent'noupdate'noupdateobsoleteEvent'obsolete'obsoleteProgressEventprogressEvent'progress'progressupdateReadyEvent'updateready'updatereadyCHECKINGDOWNLOADINGIDLEOBSOLETEUNCACHEDUPDATEREADYstatusswapCacheonCachedonCheckingonDownloadingonNoUpdateonObsoleteonProgressonUpdateReadyApplicationCacheErrorEvent"ApplicationCacheErrorEvent"AreaElement"HTMLAreaElement"HTMLAreaElementaltcoordsshapeAudioElement"HTMLAudioElement"HTMLAudioElementsrcAuthenticatorResponseAuthenticatorAssertionResponse"AuthenticatorAssertionResponse"authenticatorDatasignatureAuthenticatorAttestationResponse"AuthenticatorAttestationResponse"attestationObject"AuthenticatorResponse"clientDataJson'clientDataJSON'clientDataJSONBRElement"HTMLBRElement"HTMLBRElementBackgroundFetchEventBackgroundFetchClickEvent"BackgroundFetchClickEvent"init"BackgroundFetchEvent"BackgroundFetchFailEvent"BackgroundFetchFailEvent"fetchesBackgroundFetchSettledFetchBackgroundFetchFetch"BackgroundFetchFetch"_RequestBackgroundFetchManager"BackgroundFetchManager"BackgroundFetchRegistrationrequestsgetIds"BackgroundFetchRegistration"downloadTotaldownloadedtitletotalDownloadSizeuploadTotaluploaded"BackgroundFetchSettledFetch"_ResponseBackgroundFetchedEvent"BackgroundFetchedEvent"updateUIBarProp"BarProp"visibleBarcodeDetector"BarcodeDetector"detectBaseElement"HTMLBaseElement"HTMLBaseElementBatteryManager"BatteryManager"chargingchargingTimedischargingTimeBeforeInstallPromptEvent"BeforeInstallPromptEvent"platformsuserChoicepromptBeforeUnloadEvent"BeforeUnloadEvent"returnValueBlob"Blob"slicecontentTypeblobPartsendingsbag_create_bag_bag_setblobBlobCallbackBlobEvent"BlobEvent"timecodeBluetoothRemoteGattDescriptor"BluetoothRemoteGATTDescriptor"BluetoothRemoteGATTDescriptorcharacteristic_BluetoothRemoteGATTCharacteristicuuidreadValuewriteValueBody"Body"bodyUsedarrayBufferformDataFormDataWindowEventHandlersBodyElement"HTMLBodyElement"HTMLBodyElementhashChangeEvent'hashchange'hashchangeMessageEventmessageEvent'message'offlineEvent'offline'offlineonlineEvent'online'onlinePopStateEventpopStateEvent'popstate'popstateStorageEventstorageEvent'storage'unloadEvent'unload'unloadonHashChangeonMessageonOfflineonOnlineonPopStateonStorageonUnloadBroadcastChannel"BroadcastChannel"postMessageBudgetState"BudgetState"budgetAtButtonElement"HTMLButtonElement"HTMLButtonElementautofocusformFormElementformActionformEnctypeformMethodformNoValidateformTargetlabelsvalidationMessagevalidityValidityStatewillValidatecheckValidityreportValiditysetCustomValidityTextCDataSection"CDATASection"CDATASectionCacheStorage"CacheStorage"cacheNamehasCanMakePaymentEvent"CanMakePaymentEvent"methodDatamodifierspaymentRequestOrigintopLevelOrigincanMakePaymentResponseMediaStreamTrackCanvasCaptureMediaStreamTrack"CanvasCaptureMediaStreamTrack"requestFrameCanvasImageSource"HTMLCanvasElement"HTMLCanvasElementwebGlContextLostEvent'webglcontextlost'webglcontextlostwebGlContextRestoredEvent'webglcontextrestored'webglcontextrestoredcaptureStreamframeRategetContextcontextIdattributes'CanvasRenderingContext2D|RenderingContext|RenderingContext2'CanvasRenderingContext2D|RenderingContext|RenderingContext2'CanvasRenderingContext2D|RenderingContext|RenderingContext2|Null'CanvasRenderingContext2D|RenderingContext|RenderingContext2|Null_getContext_1'getContext'_getContext_2_toDataUrlarguments_OR_quality'toDataURL'toDataURLtransferControlToOffscreenonWebGlContextLostonWebGlContextRestoredcontext2DCanvasRenderingContext2DgetContext3dtoDataUrl'image/png'image/pngquality_toBlob'toBlob'toBlobCanvasGradient"CanvasGradient"addColorStopcolorCanvasPattern"CanvasPattern"setTransform"CanvasRenderingContext2D"currentTransformfillStyle'String|CanvasGradient|CanvasPattern'String|CanvasGradient|CanvasPatternfontglobalAlphaglobalCompositeOperationimageSmoothingEnabledimageSmoothingQualitylineCaplineJoinmiterLimitshadowBlurshadowColorshadowOffsetXshadowOffsetYstrokeStyletextAligntextBaselineaddHitRegion_addHitRegion_1'addHitRegion'_addHitRegion_2beginPathclearHitRegionsclearRectclippath_OR_windingwindingcreateImageDatadata_OR_imagedata_OR_swsh_OR_swimageDataColorSettings_OR_shimageDataColorSettings'ImageData|=Object'ImageData|=Object_createImageData_1imagedata'createImageData'_createImageData_2swsh_createImageData_3_createImageData_4_createImageData_5createLinearGradientx0y0createPatternrepetitionTypecreateRadialGradientr0r1drawFocusIfNeededelement_OR_pathfillRectgetImageData_getImageData_1'getImageData'_getLineDash'getLineDash'getLineDashisPointInPathpath_OR_xx_OR_ywinding_OR_ymeasureTextTextMetricsputImageDatadirtyXdirtyYdirtyWidthdirtyHeight_putImageData_1'putImageData'_putImageData_2removeHitRegionresetTransformrestoresavescrollPathIntoViewPath2DstrokestrokeRectstrokeTextmaxWidth_arcradiusstartAngleendAngleanticlockwise'arc'arcarcTobezierCurveTocp1xcp1ycp2xcp2yclosePathellipserotationlineTomoveToquadraticCurveTocpxcpycreateImageDataFromImageDatasetFillColorRgbsetFillColorHslhsetStrokeColorRgbsetStrokeColorHslcreatePatternFromImagedrawImageToRectdestRectsourceRectdrawImagedestXdestY'drawImage'drawImageScaleddestWidthdestHeightdrawImageScaledFromSourcesourceXsourceYsourceWidthsourceHeightlineDashOffset'11'11setLineDashdashfillTextbackingStorePixelRatioNonDocumentTypeChildNodeChildNodeCharacterData"CharacterData"appendDatadeleteDatainsertDatareplaceDatasubstringDataafternextElementSiblingpreviousElementSiblingClient"Client"frameTypetransferClients"Clients"claimmatchAllopenWindowWindowClientClipboardEvent"ClipboardEvent"clipboardDataDataTransferCloseEvent"CloseEvent"wasCleanComment"Comment"UIEventCompositionEvent"CompositionEvent"canBubblecancelablelocale_initCompositionEventbubbles'initCompositionEvent'initCompositionEventContentElement'26'26"HTMLContentElement"HTMLContentElementgetDistributedNodesCookieStore"CookieStore"Coordinates"Coordinates"accuracyaltitudealtitudeAccuracyheadinglatitudelongitudespeedCredential"Credential"CredentialUserData"CredentialUserData"iconUrl'iconURL'iconURLCredentialsContainer"CredentialsContainer"preventSilentAccessrequireUserMediationstorecredentialCrypto"Crypto"getRandomValuessubtle_SubtleCrypto_getRandomValues'getRandomValues''TypedData''TypedData|Null'TypedData|NullCryptoKey"CryptoKey"algorithmextractableusagesCss"CSS"CSSpaintWorklet_WorkletHzCssUnitValuecmdegdpcmdpidppxemidentgradinch'in'inkHzmmmspcpercentptpxradregisterPropertydescriptor_registerProperty_1'registerProperty'remsupportssupportsConditionconditionText'supports'turnvhvmaxvminvwCssRuleCssCharsetRule"CSSCharsetRule"CSSCharsetRuleCssGroupingRuleCssConditionRule"CSSConditionRule"CSSConditionRuleCssFontFaceRule"CSSFontFaceRule"CSSFontFaceRulestyleCssStyleDeclaration"CSSGroupingRule"CSSGroupingRulecssRules'_CssRuleList'_CssRuleListdeleteRuleinsertRuleCssResourceValueCssImageValue"CSSImageValue"CSSImageValueintrinsicHeightintrinsicRatiointrinsicWidthCssImportRule"CSSImportRule"CSSImportRuleMediaListstyleSheetCssStyleSheetCssKeyframeRule"CSSKeyframeRule,MozCSSKeyframeRule,WebKitCSSKeyframeRule"CSSKeyframeRule,MozCSSKeyframeRule,WebKitCSSKeyframeRulekeyTextCssKeyframesRule"CSSKeyframesRule,MozCSSKeyframesRule,WebKitCSSKeyframesRule"CSSKeyframesRule,MozCSSKeyframesRule,WebKitCSSKeyframesRuleappendRuleCssStyleValueCssKeywordValue"CSSKeywordValue"CSSKeywordValuekeywordCssTransformComponentCssMatrixComponent"CSSMatrixComponent"CSSMatrixComponentDomMatrixReadOnlyDomMatrixCssMediaRule"CSSMediaRule"CSSMediaRuleCssNamespaceRule"CSSNamespaceRule"CSSNamespaceRulenamespaceUri'namespaceURI'namespaceURICssNumericValue"CSSNumericValue"CSSNumericValuedivmulcssTextCssPageRule"CSSPageRule"CSSPageRuleselectorTextCssPerspective"CSSPerspective"CSSPerspectiveCssPositionValue"CSSPositionValue"CSSPositionValue"CSSResourceValue"CSSResourceValueCssRotation"CSSRotation"CSSRotationangleValue_OR_x"CSSRule"CSSRuleCHARSET_RULEFONT_FACE_RULEIMPORT_RULEKEYFRAMES_RULEKEYFRAME_RULEMEDIA_RULENAMESPACE_RULEPAGE_RULESTYLE_RULESUPPORTS_RULEVIEWPORT_RULEparentRuleparentStyleSheetCssScale"CSSScale"CSSScaleCssSkew"CSSSkew"CSSSkewaxayCssStyleDeclarationBase"CSSStyleDeclaration,MSStyleCSSProperties,CSS2Properties"CSSStyleDeclaration,MSStyleCSSProperties,CSS2PropertiescssgetPropertyValue_getPropertyValueHelpersupportsProperty_supportsProperty_browserPropertyName_supportedBrowserPropertyName_propertyCache_readCache_writeCache_camelCasehyphenated_setPropertyHelpersupportsTransitionscssFloatgetPropertyPriority_getPropertyValue'getPropertyValue'removePropertybackground_background'String''background'backgroundAttachment_backgroundAttachment'backgroundAttachment'backgroundColor_backgroundColor'backgroundColor'backgroundImage_backgroundImage'backgroundImage'backgroundPosition_backgroundPosition'backgroundPosition'backgroundRepeat_backgroundRepeat'backgroundRepeat'_border'border'borderBottom_borderBottom'borderBottom'borderBottomColor_borderBottomColor'borderBottomColor'borderBottomStyle_borderBottomStyle'borderBottomStyle'borderBottomWidth_borderBottomWidth'borderBottomWidth'borderCollapse_borderCollapse'borderCollapse'borderColor_borderColor'borderColor'borderLeft_borderLeft'borderLeft'borderLeftColor_borderLeftColor'borderLeftColor'borderLeftStyle_borderLeftStyle'borderLeftStyle'borderLeftWidth_borderLeftWidth'borderLeftWidth'borderRight_borderRight'borderRight'borderRightColor_borderRightColor'borderRightColor'borderRightStyle_borderRightStyle'borderRightStyle'borderRightWidth_borderRightWidth'borderRightWidth'borderSpacing_borderSpacing'borderSpacing'borderStyle_borderStyle'borderStyle'borderTop_borderTop'borderTop'borderTopColor_borderTopColor'borderTopColor'borderTopStyle_borderTopStyle'borderTopStyle'borderTopWidth_borderTopWidth'borderTopWidth'borderWidth_borderWidth'borderWidth'_bottom'bottom'captionSide_captionSide'captionSide'_clip'clip'_color'color'_content'content'cursor_cursor'cursor'_direction'direction'display_display'display'emptyCells_emptyCells'emptyCells'_font'font'fontFamily_fontFamily'fontFamily'fontSize_fontSize'fontSize'fontStyle_fontStyle'fontStyle'fontVariant_fontVariant'fontVariant'fontWeight_fontWeight'fontWeight''height''left'letterSpacing_letterSpacing'letterSpacing'lineHeight_lineHeight'lineHeight'listStyle_listStyle'listStyle'listStyleImage_listStyleImage'listStyleImage'listStylePosition_listStylePosition'listStylePosition'listStyleType_listStyleType'listStyleType'margin_margin'margin'marginBottom_marginBottom'marginBottom'marginLeft_marginLeft'marginLeft'marginRight_marginRight'marginRight'marginTop_marginTop'marginTop'maxHeight_maxHeight'maxHeight'_maxWidth'maxWidth'minHeight_minHeight'minHeight'minWidth_minWidth'minWidth'outline_outline'outline'outlineColor_outlineColor'outlineColor'outlineStyle_outlineStyle'outlineStyle'outlineWidth_outlineWidth'outlineWidth'overflow_overflow'overflow''padding'paddingBottom_paddingBottom'paddingBottom'paddingLeft_paddingLeft'paddingLeft'paddingRight_paddingRight'paddingRight'paddingTop_paddingTop'paddingTop'pageBreakAfter_pageBreakAfter'pageBreakAfter'pageBreakBefore_pageBreakBefore'pageBreakBefore'pageBreakInside_pageBreakInside'pageBreakInside''position'quotes_quotes'quotes''right'tableLayout_tableLayout'tableLayout'_textAlign'textAlign'textDecoration_textDecoration'textDecoration'textIndent_textIndent'textIndent'textTransform_textTransform'textTransform'_top'top'unicodeBidi_unicodeBidi'unicodeBidi'verticalAlign_verticalAlign'verticalAlign'visibility_visibility'visibility'whiteSpace_whiteSpace'whiteSpace''width'wordSpacing_wordSpacing'wordSpacing'zIndex_zIndex'zIndex'_CssStyleDeclarationSet_elementIterable_elementCssStyleDeclarationSetIterable_setAllalignContentalignItemsalignSelfanimationanimationDelayanimationDirectionanimationDurationanimationFillModeanimationIterationCountanimationPlayStateanimationTimingFunctionappRegionappearanceaspectRatiobackfaceVisibilitybackgroundBlendModebackgroundClipbackgroundCompositebackgroundOriginbackgroundPositionXbackgroundPositionYbackgroundRepeatXbackgroundRepeatYbackgroundSizeborderAfterborderAfterColorborderAfterStyleborderAfterWidthborderBeforeborderBeforeColorborderBeforeStyleborderBeforeWidthborderBottomLeftRadiusborderBottomRightRadiusborderEndborderEndColorborderEndStyleborderEndWidthborderFitborderHorizontalSpacingborderImageborderImageOutsetborderImageRepeatborderImageSliceborderImageSourceborderImageWidthborderRadiusborderStartborderStartColorborderStartStyleborderStartWidthborderTopLeftRadiusborderTopRightRadiusborderVerticalSpacingboxAlignboxDecorationBreakboxDirectionboxFlexboxFlexGroupboxLinesboxOrdinalGroupboxOrientboxPackboxReflectboxShadowboxSizingclipPathcolumnBreakAftercolumnBreakBeforecolumnBreakInsidecolumnCountcolumnFillcolumnGapcolumnRulecolumnRuleColorcolumnRuleStylecolumnRuleWidthcolumnSpancolumnWidthcolumnscounterIncrementcounterResetflexflexBasisflexDirectionflexFlowflexGrowflexShrinkflexWrapfloatfontFeatureSettingsfontKerningfontSizeDeltafontSmoothingfontStretchfontVariantLigaturesgridgridAreagridAutoColumnsgridAutoFlowgridAutoRowsgridColumngridColumnEndgridColumnStartgridRowgridRowEndgridRowStartgridTemplategridTemplateAreasgridTemplateColumnsgridTemplateRowshighlighthyphenateCharacterimageRenderingisolationjustifyContentjustifySelflineBoxContainlineBreaklineClamplogicalHeightlogicalWidthmarginAftermarginAfterCollapsemarginBeforemarginBeforeCollapsemarginBottomCollapsemarginCollapsemarginEndmarginStartmarginTopCollapsemaskBoxImagemaskBoxImageOutsetmaskBoxImageRepeatmaskBoxImageSlicemaskBoxImageSourcemaskBoxImageWidthmaskClipmaskCompositemaskImagemaskOriginmaskPositionmaskPositionXmaskPositionYmaskRepeatmaskRepeatXmaskRepeatYmaskSizemaskSourceTypemaxLogicalHeightmaxLogicalWidthmaxZoomminLogicalHeightminLogicalWidthminZoommixBlendModeobjectFitobjectPositionopacityorderorphansoutlineOffsetoverflowWrapoverflowXoverflowYpaddingAfterpaddingBeforepaddingEndpaddingStartpageperspectiveperspectiveOriginperspectiveOriginXperspectiveOriginYpointerEventsprintColorAdjustrtlOrderingrubyPositionscrollBehaviorshapeImageThresholdshapeMarginshapeOutsidespeaktabSizetapHighlightColortextAlignLasttextCombinetextDecorationColortextDecorationLinetextDecorationStyletextDecorationsInEffecttextEmphasistextEmphasisColortextEmphasisPositiontextEmphasisStyletextFillColortextJustifytextLineThroughColortextLineThroughModetextLineThroughStyletextLineThroughWidthtextOrientationtextOverflowtextOverlineColortextOverlineModetextOverlineStyletextOverlineWidthtextRenderingtextSecuritytextShadowtextStroketextStrokeColortextStrokeWidthtextUnderlineColortextUnderlineModetextUnderlinePositiontextUnderlineStyletextUnderlineWidthtouchActiontouchActionDelaytransformOrigintransformOriginXtransformOriginYtransformOriginZtransformStyletransitiontransitionDelaytransitionDurationtransitionPropertytransitionTimingFunctionunicodeRangeuserDraguserModifyuserSelectuserZoomwidowswillChangewordBreakwordWrapwrapFlowwrapThroughwritingModezoomCssStyleRule"CSSStyleRule"CSSStyleRule"CSSStyleSheet"CSSStyleSheetownerRuleaddRuleselectorremoveRule"CSSStyleValue"CSSStyleValueCssSupportsRule"CSSSupportsRule"CSSSupportsRule"CSSTransformComponent"CSSTransformComponentis2DCssTransformValue"CSSTransformValue"CSSTransformValuetransformComponentscomponentAtIndextoMatrixCssTranslation"CSSTranslation"CSSTranslation"CSSUnitValue"CSSUnitValueCssUnparsedValue"CSSUnparsedValue"CSSUnparsedValuefragmentAtIndexCssVariableReferenceValue"CSSVariableReferenceValue"CSSVariableReferenceValuefallbackCssViewportRule"CSSViewportRule"CSSViewportRuleCssurlImageValue"CSSURLImageValue"CSSURLImageValueCustomElementConstructorCustomElementRegistry"CustomElementRegistry"define_define_1'define'_define_2whenDefinedCustomEvent"CustomEvent"_dartDetaildetail_detail_get__detail'detail'_initCustomEvent'initCustomEvent'initCustomEventDListElement"HTMLDListElement"HTMLDListElementDataElement"HTMLDataElement"HTMLDataElementDataListElement"HTMLDataListElement"HTMLDataListElement'HtmlCollection'"DataTransfer"dropEffecteffectAllowedfilesFile'FileList'FileListDataTransferItemListclearDatagetDatasetDatasetDragImageDataTransferItem"DataTransferItem"getAsEntryEntrygetAsFile_webkitGetAsEntry'webkitGetAsEntry'webkitGetAsEntry"DataTransferItemList"data_OR_fileaddDataaddFileDatabaseCallbackdecodedDataDedicatedWorkerGlobalScope"DedicatedWorkerGlobalScope"PERSISTENTTEMPORARY_postMessage_1'postMessage'_postMessage_2_webkitRequestFileSystem_FileSystemCallback_ErrorCallback'webkitRequestFileSystem'webkitRequestFileSystemrequestFileSystemSync_DOMFileSystemSync'webkitRequestFileSystemSync'webkitRequestFileSystemSyncresolveLocalFileSystemSyncUrl_EntrySync'webkitResolveLocalFileSystemSyncURL'webkitResolveLocalFileSystemSyncURL_webkitResolveLocalFileSystemUrl_EntryCallback'webkitResolveLocalFileSystemURL'webkitResolveLocalFileSystemURLDeprecatedStorageInfo"DeprecatedStorageInfo"queryUsageAndQuotastorageTypeStorageUsageCallbackusageCallbackStorageErrorCallbackrequestQuotanewQuotaInBytesStorageQuotaCallbackquotaCallbackDeprecatedStorageQuota"DeprecatedStorageQuota"ReportBodyDeprecationReport"DeprecationReport"lineNumbersourceFileDetailsElement"HTMLDetailsElement"HTMLDetailsElementDetectedBarcode"DetectedBarcode"cornerPointsrawValueDetectedFace"DetectedFace"landmarksDetectedText"DetectedText"DeviceAcceleration"DeviceAcceleration"DeviceMotionEvent"DeviceMotionEvent"accelerationaccelerationIncludingGravityintervalrotationRateDeviceRotationRateDeviceOrientationEvent"DeviceOrientationEvent"absolutebetagamma"DeviceRotationRate"DialogElement"HTMLDialogElement"HTMLDialogElementshowshowModalDirectoryEntry"DirectoryEntry"createDirectoryexclusivecreateReaderDirectoryReadergetDirectorycreateFilegetFile_createReader'createReader'__getDirectory__getDirectory_1'getDirectory'__getDirectory_2__getDirectory_3__getDirectory_4_getDirectory__getFile__getFile_1'getFile'__getFile_2__getFile_3__getFile_4_getFile_removeRecursively'removeRecursively'removeRecursively"DirectoryReader"_readEntries_EntriesCallback'readEntries'readEntriesDivElement"HTMLDivElement"HTMLDivElementDocument"Document"pointerLockChangeEvent'pointerlockchange'pointerlockchangepointerLockErrorEvent'pointerlockerror'pointerlockerrorreadyStateChangeEvent'readystatechange'readystatechangeSecurityPolicyViolationEventsecurityPolicyViolationEvent'securitypolicyviolation'securitypolicyviolationselectionChangeEvent'selectionchange'selectionchangeaddressSpace_body'body'cookieWindowBase_get_window'defaultView'defaultView'Window|=Object'Window|=Object'Window|=Object|Null'Window|=Object|NulldocumentElementdomainfullscreenEnabledHeadElement'head'headDomImplementation_lastModified'lastModified'lastModified_preferredStylesheetSet'preferredStylesheetSet'preferredStylesheetSet_referrer'referrer'referrerrootElementrootScrollerscrollingElement_selectedStylesheetSet'selectedStylesheetSet'selectedStylesheetSetsuboriginDocumentTimeline_title'title'_visibilityState'visibilityState'visibilityState_webkitFullscreenElement'webkitFullscreenElement'webkitFullscreenElement_webkitFullscreenEnabled'webkitFullscreenEnabled'webkitFullscreenEnabled_webkitHidden'webkitHidden'webkitHidden_webkitVisibilityState'webkitVisibilityState'webkitVisibilityStateadoptNode_caretRangeFromPointRange'caretRangeFromPoint'caretRangeFromPointcreateDocumentFragment_createElementlocalName_OR_tagNameoptions_OR_typeExtension'createElement'createElement_createElementNS'createElementNS'createElementNS_createEvent'createEvent'createEventcreateRange_createTextNode'createTextNode'createTextNode_createTouchTouchidentifierpageXpageYscreenXscreenYrotationAngleforce_createTouch_1'createTouch'createTouch_createTouch_2_createTouch_3_createTouch_4_createTouch_5_createTouchListTouchListtouches'createTouchList'createTouchListexecCommandcommandIdshowUIexitFullscreenexitPointerLockgetAnimationsgetElementsByClassNameclassNames'NodeList|HtmlCollection'NodeList|HtmlCollectiongetElementsByNameelementNamegetElementsByTagNameimportNodedeepqueryCommandEnabledqueryCommandIndetermqueryCommandStatequeryCommandSupportedqueryCommandValueregisterElement2_registerElement2_1'registerElement'registerElement_registerElement2_2_webkitExitFullscreen'webkitExitFullscreen'webkitExitFullscreenactiveElementfullscreenElementpointerLockElement_styleSheets'styleSheets'styleSheets'_StyleSheetList'_StyleSheetList_elementFromPoint'elementFromPoint'elementFromPointelementsFromPointfonts_childElementCount'childElementCount'childElementCount'children'_firstElementChild'firstElementChild'firstElementChild_lastElementChild'lastElementChild'lastElementChildquerySelectorselectors_querySelectorAll'querySelectorAll'querySelectorAllonBeforeCopyonBeforeCutonBeforePasteonCopyonCut'Document.ondblclick'Document.ondblclickonPasteonPointerLockChangeonPointerLockErroronReadyStateChangeonSearchonSecurityPolicyViolationonSelectionChangeonSelectStartonFullscreenChangeonFullscreenErrorElementListsupportsRegisterElementsupportsRegistercustomElementClassextendsTagtagNametypeExtension_createElement_2_createElementNS_2_createNodeIteratorNodeIteratorwhatToShowNodeFilter_createTreeWalkerTreeWalkerNonElementParentNodeParentNode"DocumentFragment"svgContent_docChildrensetInnerHtmlappendTextappendHtmlDocumentOrShadowRoot"DocumentOrShadowRoot"getSelectionSelection"DocumentTimeline"DomError"DOMError"DOMError"DOMException"DOMExceptionINDEX_SIZE'IndexSizeError'IndexSizeErrorHIERARCHY_REQUEST'HierarchyRequestError'HierarchyRequestErrorWRONG_DOCUMENT'WrongDocumentError'WrongDocumentErrorINVALID_CHARACTER'InvalidCharacterError'InvalidCharacterErrorNO_MODIFICATION_ALLOWED'NoModificationAllowedError'NoModificationAllowedError'NotFoundError'NotFoundErrorNOT_SUPPORTED'NotSupportedError'NotSupportedErrorINVALID_STATE'InvalidStateError'InvalidStateErrorSYNTAX'SyntaxError'SyntaxErrorINVALID_MODIFICATION'InvalidModificationError'InvalidModificationErrorNAMESPACE'NamespaceError'NamespaceErrorINVALID_ACCESS'InvalidAccessError'InvalidAccessErrorTYPE_MISMATCH'TypeMismatchError'TypeMismatchErrorSECURITY'SecurityError'SecurityErrorNETWORK'NetworkError'NetworkErrorABORT'AbortError'AbortErrorURL_MISMATCH'URLMismatchError'URLMismatchErrorQUOTA_EXCEEDED'QuotaExceededError'QuotaExceededErrorTIMEOUT'TimeoutError'TimeoutErrorINVALID_NODE_TYPE'InvalidNodeTypeError'InvalidNodeTypeErrorDATA_CLONE'DataCloneError'DataCloneErrorENCODING'EncodingError'EncodingErrorNOT_READABLE'NotReadableError'NotReadableErrorUNKNOWN'UnknownError'UnknownErrorCONSTRAINT'ConstraintError'ConstraintErrorTRANSACTION_INACTIVE'TransactionInactiveError'TransactionInactiveErrorREAD_ONLY'ReadOnlyError'ReadOnlyError'VersionError'VersionErrorOPERATION'OperationError'OperationErrorNOT_ALLOWED'NotAllowedError'NotAllowedErrorTYPE_ERROR'TypeError'"DOMImplementation"DOMImplementationcreateDocumentXmlDocument_DocumentTypedoctypecreateDocumentTypepublicIdsystemIdcreateHtmlDocument'createHTMLDocument'createHTMLDocumenthasFeatureDomIterator"Iterator""DOMMatrix"DOMMatrixm11m12m13m14m21m22m23m24m31m32m33m34m41m42m43m44fromFloat32Arrayarray32fromFloat64Arrayarray64fromMatrix_fromMatrix_1'fromMatrix'_fromMatrix_2invertSelfmultiplySelf_multiplySelf_1'multiplySelf'_multiplySelf_2preMultiplySelf_preMultiplySelf_1'preMultiplySelf'_preMultiplySelf_2rotateAxisAngleSelfrotateFromVectorSelfrotateSelfrotXrotYrotZscale3dSelforiginXoriginYoriginZscaleSelfscaleXscaleYscaleZsetMatrixValuetransformListskewXSelfskewYSelftranslateSelftz"DOMMatrixReadOnly"DOMMatrixReadOnlyisIdentity_multiply_1'multiply'_multiply_2rotateAxisAnglescale3dtoFloat32ArraytoFloat64ArraytransformPointDomPoint_transformPoint_1'transformPoint'_transformPoint_2DomParser"DOMParser"DOMParserparseFromStringDomPointReadOnly"DOMPoint"DOMPoint_create_4_create_5fromPoint_fromPoint_1'fromPoint'_fromPoint_2"DOMPointReadOnly"DOMPointReadOnly_matrixTransform_1'matrixTransform'_matrixTransform_2DomQuad"DOMQuad"DOMQuadp1p2p3p4fromQuad_fromQuad_1'fromQuad'_fromQuad_2fromRect_fromRect_1'fromRect'_fromRect_2getBoundsDomRectList"ClientRectList,DOMRectList"ClientRectList,DOMRectListDomRectReadOnly"DOMRectReadOnly"DOMRectReadOnly"DOMStringList"DOMStringListDomStringMap"DOMStringMap"DOMStringMap__delete__DomTokenList"DOMTokenList"DOMTokenListtokenstokennewToken_ChildrenElementList_childElements_wrap_addAllcontentEdgeCssRectpaddingEdgeborderEdgemarginEdge'Element.ondblclick'Element.ondblclickonTouchEnteronTouchLeaveonTransitionEndTransitionEvent_FrozenElementList_nodeList"Element"articleasideaudiobrfooterheaderhriframeimglinavoloptionpresectionspantdtextareathtrulgetAttributegetAttributeNShasAttributehasAttributeNSremoveAttributeremoveAttributeNSsetAttributesetAttributeNS_setApplyScrollScrollStateCallbackscrollStateCallbacknativeScrollBehavior'setApplyScroll'setApplyScrollScrollState_setDistributeScroll'setDistributeScroll'setDistributeScrolldatasetgetNamespacedAttributesnamespacegetComputedStylepseudoElementclientattacheddetachedenteredViewgetClientRectsleftViewanimateframes'36'36_animate'animate'attributeChangedoldValuescrollIntoViewScrollAlignment_CustomEventStreamProvider_determineMouseWheelEventTypetransitionEndEvent_determineTransitionEventType_insertAdjacentText'insertAdjacentText'_insertAdjacentHtml'insertAdjacentHTML'insertAdjacentHTML_insertAdjacentElement'insertAdjacentElement'_insertAdjacentNodematchesmatchesWithAncestorscreateShadowRootShadowRoot'25'25shadowRootdocumentOffsetoffsetTo_offsetToHelper_parseDocument_parseRangeNodeValidatorBuilder_defaultValidator_ValidatingTreeSanitizer_defaultSanitizer_canBeUsedToCreateContextualFragment_cannotBeUsedToCreateContextualFragment_tagsForWhichCreateContextualFragmentIsNotSupported'HEAD'HEAD'AREA'AREA'BASE'BASE'BASEFONT'BASEFONT'BR'BR'COL'COL'COLGROUP'COLGROUP'EMBED'EMBED'FRAME'FRAME'FRAMESET'FRAMESET'HR'HR'IMAGE'IMAGE'IMG'IMG'INPUT'INPUT'ISINDEX'ISINDEX'LINK'LINK'META'META'PARAM'PARAM'SOURCE'SOURCE'STYLE'STYLE'TITLE'TITLE'WBR'WBRinnerText'innerText'onElementEvents_hasCorruptedAttributes_hasCorruptedAttributesAdditionalCheck_safeTagNameoffsetParentoffsetHeightoffsetLeftoffsetTopoffsetWidthscrollHeightscrollLeftscrollTopscrollWidthbeforeCopyEvent'beforecopy'beforecopybeforeCutEvent'beforecut'beforecutbeforePasteEvent'beforepaste'beforepastecopyEvent'copy'cutEvent'cut'cut'Element.dblclickEvent'Element.dblclickEventpasteEvent'paste'pastesearchEvent'search'selectStartEvent'selectstart'selectstarttouchEnterEvent'touchenter'touchentertouchLeaveEvent'touchleave'touchleavefullscreenChangeEvent'webkitfullscreenchange'webkitfullscreenchangefullscreenErrorEvent'webkitfullscreenerror'webkitfullscreenerrorcontentEditabledirdraggableinertinputModelangspellchecktabIndexaccessibleNodeassignedSlotSlotElement_attributes_NamedNodeMap'attributes'clientHeightclientLeftclientTopclientWidthcomputedNamecomputedRole_innerHtml'innerHTML'innerHTML_localName'localName'_namespaceUri'outerHTML'outerHTML_scrollHeight'scrollHeight'_scrollLeft'scrollLeft'_scrollTop'scrollTop'_scrollWidth'scrollWidth'styleMapStylePropertyMapattachShadowshadowRootInitDict_attachShadow_1'attachShadow'closest_getAttribute'getAttribute'_getAttributeNS'getAttributeNS'getAttributeNamesgetBoundingClientRect'_DomRect'_DomRect'_DomRect|Null'_DomRect|Null_getClientRects'getClientRects''DomRectList''DomRectList|Null'DomRectList|NullgetDestinationInsertionPoints_getElementsByTagName'getElementsByTagName'_hasAttribute'hasAttribute'_hasAttributeNS'hasAttributeNS'hasPointerCapturepointerIdreleasePointerCapture_removeAttribute'removeAttribute'_removeAttributeNS'removeAttributeNS'requestPointerLockoptions_OR_x_scroll_1_scroll_2_scroll_3scrollBy_scrollBy_1'scrollBy'_scrollBy_2_scrollBy_3_scrollIntoView'scrollIntoView'_scrollIntoViewIfNeededcenterIfNeeded'scrollIntoViewIfNeeded'scrollIntoViewIfNeededscrollTo_scrollTo_1'scrollTo'_scrollTo_2_scrollTo_3_setAttribute'setAttribute'_setAttributeNS'setAttributeNS'setPointerCapturerequestFullscreen'webkitRequestFullscreen'webkitRequestFullscreen_ElementFactoryProvidercreateElement_tagTOP'TOP'CENTER'CENTER'BOTTOM'BOTTOM'EmbedElement"HTMLEmbedElement"HTMLEmbedElement"Entry"filesystemFileSystemfullPathisDirectoryisFile_copyTo'copyTo'copyTo_getMetadataMetadataCallback'getMetadata'Metadata_getParent'getParent'getParent_moveTo'moveTo''remove'toUrl'toURL'toURLErrorEvent"ErrorEvent"colnofilenamelineno"Event,InputEvent,SubmitEvent"Event,InputEvent,SubmitEvent_selectormatchingTargetAT_TARGETBUBBLING_PHASECAPTURING_PHASEcomposedcurrentTarget_get_currentTarget'currentTarget''EventTarget|=Object|Null'EventTarget|=Object|NulldefaultPreventedeventPhaseisTrusted_get_target'Node''EventTarget|=Object'EventTarget|=ObjecttimeStampcomposedPath_initEvent'initEvent'initEventpreventDefaultstopImmediatePropagationstopPropagationEventSource"EventSource"withCredentialsopenEvent_factoryEventSourceeventSourceInitDictCLOSEDCONNECTINGOPENonOpenEvents_ptrwebkitEvents"EventTarget"_createdaddEventListeneruseCaptureremoveEventListener_addEventListener'addEventListener'dispatchEvent_removeEventListener'removeEventListener'"ExtendableEvent"waitUntilExtendableMessageEvent"ExtendableMessageEvent"lastEventIdportsMessagePort'Client|ServiceWorker|MessagePort'Client|ServiceWorker|MessagePort'Client|ServiceWorker|MessagePort|Null'Client|ServiceWorker|MessagePort|NullExternal"External"AddSearchProviderIsSearchProviderInstalledFaceDetector"FaceDetector"faceDetectorOptionsFederatedCredential"FederatedCredential"providerFetchEvent"FetchEvent"clientIdisReloadpreloadResponseFieldSetElement"HTMLFieldSetElement"HTMLFieldSetElement"File"fileBitsfileNamelastModifiedDate_get_lastModifiedDate'lastModifiedDate'relativePath'webkitRelativePath'webkitRelativePath_FileCallbackFileEntry"FileEntry"_createWriter_FileWriterCallback'createWriter'createWriterFileWriter_file'file'"FileList"FileReader"FileReader"loadEndEvent'loadend'loadendloadStartEvent'loadstart'loadstartDONEEMPTYLOADINGreadAsArrayBufferreadAsDataUrl'readAsDataURL'readAsDataURLreadAsTextonLoadEndonLoadStart"DOMFileSystem"DOMFileSystemfileSystem"FileWriter"writeEvent'write'writeEndEvent'writeend'writeendwriteStartEvent'writestart'writestartINITWRITINGseekonWriteonWriteEndonWriteStartfileWriterFocusEvent"FocusEvent"relatedTarget_get_relatedTarget'relatedTarget'"FontFace"familydescriptorsfeatureSettingsloadedstretchvariantweight"FontFaceSet"FontFaceSetLoadEventloadingEvent'loading'loadingloadingDoneEvent'loadingdone'loadingdoneloadingErrorEvent'loadingerror'loadingerrorcheckthisArgonLoadingonLoadingDoneonLoadingError"FontFaceSetLoadEvent"fontfacesFontFaceSource"FontFaceSource"ForeignFetchEvent"ForeignFetchEvent""FormData"appendBlob'append'"HTMLFormElement"HTMLFormElementacceptCharsetenctypenoValidaterequestAutocomplete_requestAutocomplete_1'requestAutocomplete'highResTimeFrameRequestCallbackFunctionStringCallbackGamepad"Gamepad"axesbuttonsGamepadButton'JSExtendableArray|GamepadButton'JSExtendableArray|GamepadButton'JSExtendableArray'connecteddisplayIdhandmappingposeGamepadPosetimestamp"GamepadButton"touchedGamepadEvent"GamepadEvent"gamepad"GamepadPose"angularAccelerationangularVelocityhasOrientationhasPositionlinearAccelerationlinearVelocityGeolocation"Geolocation"getCurrentPositionGeopositionenableHighAccuracymaximumAgewatchPosition_ensurePositiondomPosition_clearWatchwatchID'clearWatch'clearWatch_getCurrentPosition_PositionCallback_PositionErrorCallback_getCurrentPosition_1'getCurrentPosition'_getCurrentPosition_2_getCurrentPosition_3_watchPosition_watchPosition_1'watchPosition'_watchPosition_2_watchPosition_3_GeopositionWrapper"Position"Position'GlobalEventHandlers.dblclickEvent'GlobalEventHandlers.dblclickEvent'GlobalEventHandlers.ondblclick'GlobalEventHandlers.ondblclickGyroscope"Gyroscope"HRElement"HTMLHRElement"HTMLHRElementHashChangeEvent"HashChangeEvent"oldUrlnewUrl'newURL'newURL'oldURL'oldURL"HTMLHeadElement"HTMLHeadElementHeaders"Headers"HeadingElement"HTMLHeadingElement"HTMLHeadingElementh1h2h3h4h5h6HistoryBaseHistory"History"supportsStatescrollRestoration_get_state'state'backforwardgodeltapushState_pushState_1'pushState'replaceState_replaceState_1'replaceState'"HTMLCollection"HTMLCollectionnamedItem"HTMLDocument"HTMLDocumentvisibilityChangeEvent_determineVisibilityChangeEventTypeonVisibilityChangecreateElementUpgraderElementUpgraderHtmlFormControlsCollection"HTMLFormControlsCollection"HTMLFormControlsCollectionHtmlHtmlElement"HTMLHtmlElement"HTMLHtmlElement"HTMLHyperlinkElementUtils"HTMLHyperlinkElementUtilsHtmlOptionsCollection"HTMLOptionsCollection"HTMLOptionsCollection_itemHttpRequestEventTargetHttpRequest"XMLHttpRequest"XMLHttpRequestgetStringpostFormDataresponseTyperequestHeaderssendDatasupportsProgressEventsupportsCrossOriginsupportsLoadEndEventsupportsOverrideMimeTyperequestCrossOriginresponseHeadersuserHEADERS_RECEIVEDOPENEDUNSENT_get_response'response''NativeByteBuffer|Blob|Document|=Object|JSExtendableArray|String|num'NativeByteBuffer|Blob|Document|=Object|JSExtendableArray|String|numresponseTextresponseUrl'responseURL'responseURLresponseXml'responseXML'responseXMLstatusTextuploadHttpRequestUploadgetAllResponseHeadersgetResponseHeaderoverrideMimeTypemimebody_OR_datasetRequestHeader"XMLHttpRequestEventTarget"XMLHttpRequestEventTargettimeoutEvent'timeout'"XMLHttpRequestUpload"XMLHttpRequestUploadIFrameElement"HTMLIFrameElement"HTMLIFrameElementallowallowFullscreenallowPaymentRequestcontentWindow_get_contentWindow'contentWindow'cspsandboxsrcdocIdleDeadline"IdleDeadline"didTimeouttimeRemainingdeadlineIdleRequestCallback"ImageBitmap"ImageBitmapRenderingContext"ImageBitmapRenderingContext"transferFromImageBitmapImageCapture"ImageCapture"trackgetPhotoCapabilitiesPhotoCapabilitiesgetPhotoSettingsgrabFramesetOptionsphotoSettingstakePhoto"ImageData"data_OR_sw'NativeUint8ClampedList'"HTMLImageElement"HTMLImageElementcrossOrigincurrentSrcisMapnaturalHeightnaturalWidthsizessrcsetuseMapInputDeviceCapabilities"InputDeviceCapabilities"deviceInitDictfiresTouchEventsHiddenInputElementSearchInputElementTextInputElementUrlInputElementTelephoneInputElementEmailInputElementPasswordInputElementDateInputElementMonthInputElementWeekInputElementTimeInputElementLocalDateTimeInputElementNumberInputElementRangeInputElementCheckboxInputElementRadioButtonInputElementFileUploadInputElementSubmitButtonInputElementImageButtonInputElementResetButtonInputElementButtonInputElementInputElement"HTMLInputElement"HTMLInputElementautocapitalizecapturedefaultCheckeddirName'FileList|Null'FileList|NullincrementalindeterminatemaxLengthminLengthmultipleselectionDirectionselectionEndselectionStartvalueAsDate_get_valueAsDate'valueAsDate'_set_valueAsDatevalueAsNumber'webkitEntries'webkitEntries'webkitdirectory'webkitdirectorysetRangeTextselectionModesetSelectionRangestepDownstepUpInputElementBaseTextInputElementBaseRangeInputElementBaseInstallEvent"InstallEvent"registerForeignFetch_registerForeignFetch_1'registerForeignFetch'IntersectionObserver"IntersectionObserver"IntersectionObserverCallbackrootMarginthresholdstakeRecordsIntersectionObserverEntryobserver"IntersectionObserverEntry"boundingClientRectintersectionRatiointersectionRectisIntersectingrootBoundsInterventionReport"InterventionReport""KeyboardEvent"keyLocationctrlKeyaltKeyshiftKeymetaKey_initKeyboardEventkeyIdentifierkeyCodewhichDOM_KEY_LOCATION_LEFTDOM_KEY_LOCATION_NUMPADDOM_KEY_LOCATION_RIGHTDOM_KEY_LOCATION_STANDARD_charCode'charCode'isComposing_keyCode'keyCode'repeatgetModifierStatekeyArgKeyframeEffectReadOnlyKeyframeEffect"KeyframeEffect""KeyframeEffectReadOnly"LIElement"HTMLLIElement"HTMLLIElementLabelElement"HTMLLabelElement"HTMLLabelElementcontrolhtmlForLegendElement"HTMLLegendElement"HTMLLegendElementLinearAccelerationSensor"LinearAccelerationSensor"LinkElement"HTMLLinkElement"HTMLLinkElementasimportintegrityrelListscopesupportsImportLocationBaseLocation"Location"ancestorOriginstrustedHrefTrustedUrlassignreloadMagnetometer"Magnetometer"MapElement"HTMLMapElement"HTMLMapElementareasMediaCapabilities"MediaCapabilities"decodingInfoMediaCapabilitiesInfoconfigurationencodingInfo"MediaCapabilitiesInfo"powerEfficientsmoothMediaDeviceInfo"MediaDeviceInfo"deviceIdgroupIdMediaDevices"MediaDevices"enumerateDevicesgetSupportedConstraints_getSupportedConstraints_1'getSupportedConstraints'getUserMediaconstraints"HTMLMediaElement"HTMLMediaElementHAVE_CURRENT_DATAHAVE_ENOUGH_DATAHAVE_FUTURE_DATAHAVE_METADATAHAVE_NOTHINGNETWORK_EMPTYNETWORK_IDLENETWORK_LOADINGNETWORK_NO_SOURCEaudioTracksautoplaybufferedTimeRangescontrolsListdefaultMuteddefaultPlaybackRatedisableRemotePlaybackMediaErrormediaKeysMediaKeysmutednetworkStateplayedpreloadremoteRemotePlaybackseekablesinkIdsrcObjecttextTracksTextTrackListvideoTracksVideoTrackListvolumeaudioDecodedByteCount'webkitAudioDecodedByteCount'webkitAudioDecodedByteCountvideoDecodedByteCount'webkitVideoDecodedByteCount'webkitVideoDecodedByteCountaddTextTrackTextTrackcanPlayTypekeySystemsetMediaKeyssetSinkIdMediaEncryptedEvent"MediaEncryptedEvent"initDatainitDataType"MediaError"MEDIA_ERR_ABORTEDMEDIA_ERR_DECODEMEDIA_ERR_NETWORKMEDIA_ERR_SRC_NOT_SUPPORTEDMediaKeyMessageEvent"MediaKeyMessageEvent"messageTypeMediaKeySession"MediaKeySession"closedexpirationkeyStatusesMediaKeyStatusMapsessionIdgenerateRequest"MediaKeyStatusMap"keyIdMediaKeySystemAccess"MediaKeySystemAccess"createMediaKeysgetConfiguration_getConfiguration_1'getConfiguration'"MediaKeys"_createSessionsessionType'createSession'createSessiongetStatusForPolicyMediaKeysPolicypolicysetServerCertificateserverCertificate"MediaKeysPolicy"minHdcpVersion"MediaList"mediaTextappendMediummediumdeleteMediumMediaMetadata"MediaMetadata"albumartistartworkMediaQueryList"MediaQueryList"addListenerremoveListenerMediaQueryListEvent"MediaQueryListEvent"MediaRecorder"MediaRecorder"audioBitsPerSecondvideoBitsPerSecondisTypeSupportedrequestDatatimesliceMediaSession"MediaSession"playbackStatesetActionHandlerMediaSessionActionHandlerMediaSettingsRange"MediaSettingsRange"MediaSource"MediaSource"activeSourceBuffersSourceBufferListsourceBuffersaddSourceBufferclearLiveSeekableRangeendOfStreamremoveSourceBuffersetLiveSeekableRange"MediaStream"addTrackEvent'addtrack'addtrackremoveTrackEvent'removetrack'removetrackstream_OR_tracksactiveaddTrackclonegetAudioTracks'JSExtendableArray|MediaStreamTrack'JSExtendableArray|MediaStreamTracktrackIdgetTracksgetVideoTracksremoveTrackonAddTrackonRemoveTrackMediaStreamEvent"MediaStreamEvent""MediaStreamTrack"muteEvent'mute'muteunmuteEvent'unmute'unmutecontentHintapplyConstraintsgetCapabilities_getCapabilities_1'getCapabilities'getConstraints_getConstraints_1'getConstraints'getSettings_getSettings_1'getSettings'onMuteonUnmuteMediaStreamTrackEvent"MediaStreamTrackEvent"MemoryInfo"MemoryInfo"jsHeapSizeLimittotalJSHeapSizeusedJSHeapSizeMenuElement"HTMLMenuElement"HTMLMenuElementMessageCallbackMessageChannel"MessageChannel"port1port2"MessageEvent"messagePorts_get_data'data'_get_source'source'_initMessageEventtypeArgcanBubbleArgcancelableArgdataArgoriginArglastEventIdArgsourceArgportsArg_initMessageEvent_1'initMessageEvent'initMessageEvent"MessagePort"MetaElement"HTMLMetaElement"HTMLMetaElementhttpEquiv"Metadata"modificationTime_get_modificationTime'modificationTime'MeterElement"HTMLMeterElement"HTMLMeterElementhighlowoptimumMidiAccess"MIDIAccess"MIDIAccessinputsMidiInputMapoutputsMidiOutputMapsysexEnabledMidiConnectionEvent"MIDIConnectionEvent"MIDIConnectionEventMidiPortMidiInput"MIDIInput"MIDIInputMidiMessageEventmidiMessageEvent'midimessage'midimessageonMidiMessage"MIDIInputMap"MIDIInputMap"MIDIMessageEvent"MIDIMessageEventMidiOutput"MIDIOutput"MIDIOutput"MIDIOutputMap"MIDIOutputMap"MIDIPort"MIDIPortconnectionmanufacturerMimeType"MimeType"enabledPluginPluginsuffixesMimeTypeArray"MimeTypeArray"ModElement"HTMLModElement"HTMLModElementcitedateTimeMojoWatchCallback"MouseEvent,DragEvent"MouseEvent,DragEventclientXclientYbutton_clientX'clientX'_clientY'clientY'fromElement_layerX'layerX'layerX_layerY'layerY'layerY_movementX'movementX'movementX_movementY'movementY'movementY_pageX'pageX'_pageY'pageY'region_screenX'screenX'_screenY'screenY'toElement_initMouseEvent_initMouseEvent_1'initMouseEvent'initMouseEventmovementscreendataTransfermutationsMutationObserverMutationCallbackMutationEvent"MutationEvent"ADDITIONMODIFICATIONREMOVALattrChangeattrNameprevValuerelatedNodeinitMutationEvent"MutationObserver,WebKitMutationObserver"MutationObserver,WebKitMutationObserver_observe_observe_2MutationRecordchildListcharacterDatasubtreeattributeOldValuecharacterDataOldValueattributeFilter_boolKeys_createDict_fixupList_call"MutationRecord"addedNodesattributeNameattributeNamespacenextSiblingpreviousSiblingremovedNodesNavigationPreloadManager"NavigationPreloadManager"getStateNavigatorConcurrentHardwareNavigatorCookiesNavigatorLanguageNavigatorOnLineNavigatorAutomationInformationNavigatorIDNavigator"Navigator"getGamepads_ensureGetUserMedia_getUserMedia_NavigatorUserMediaSuccessCallback_NavigatorUserMediaErrorCallback'getUserMedia'budget_BudgetServiceclipboard_ClipboardNetworkInformationcredentialsdeviceMemorydoNotTrackgeolocationmaxTouchPointsmediaCapabilitiesmediaDevicesmediaSessionmimeTypesnfc_NFCpermissionsPermissionspresentationPresentationproductSubserviceWorkerServiceWorkerContainerStorageManagervendorvendorSubvrVRpersistentStorage'webkitPersistentStorage'webkitPersistentStoragetemporaryStorage'webkitTemporaryStorage'webkitTemporaryStoragecancelKeyboardLockgetBattery_getGamepads'getGamepads''_GamepadList'_GamepadListgetInstalledRelatedAppsRelatedApplicationgetVRDisplaysregisterProtocolHandlerrequestKeyboardLockkeyCodes_requestKeyboardLock_1'requestKeyboardLock'_requestKeyboardLock_2requestMidiAccess'requestMIDIAccess'requestMIDIAccessrequestMediaKeySystemAccesssupportedConfigurationssendBeaconsharewebdrivercookieEnabledappCodeNameappNameappVersiondartEnabledplatformproductlanguagesonLine"NavigatorAutomationInformation""NavigatorConcurrentHardware"hardwareConcurrency"NavigatorCookies"NavigatorUserMediaError"NavigatorUserMediaError"constraintName"NetworkInformation"downlinkdownlinkMaxeffectiveTypertt_ChildNodeListLazy_this"Node"replaceWithotherNodeinsertAllBeforenewNodesrefChild_clearChildrenchildNodesATTRIBUTE_NODECDATA_SECTION_NODECOMMENT_NODEDOCUMENT_FRAGMENT_NODEDOCUMENT_NODEDOCUMENT_TYPE_NODEELEMENT_NODEENTITY_NODEENTITY_REFERENCE_NODENOTATION_NODEPROCESSING_INSTRUCTION_NODETEXT_NODEbaseUri'baseURI'baseURIfirstChildisConnectedlastChildnextNode'nextSibling'nodeNamenodeTypenodeValueownerDocument'parentElement'parentElementparentNodepreviousNode'previousSibling''textContent'textContent'appendChild''cloneNode'cloneNodegetRootNode_getRootNode_1'getRootNode'_getRootNode_2hasChildNodes_removeChild'removeChild'removeChild_replaceChild'replaceChild'replaceChild"NodeFilter"FILTER_ACCEPTFILTER_REJECTFILTER_SKIPSHOW_ALLSHOW_COMMENTSHOW_DOCUMENTSHOW_DOCUMENT_FRAGMENTSHOW_DOCUMENT_TYPESHOW_ELEMENTSHOW_PROCESSING_INSTRUCTIONSHOW_TEXT"NodeIterator"pointerBeforeReferenceNodereferenceNodedetach"NodeList,RadioNodeList"NodeList,RadioNodeList"NonDocumentTypeChildNode""NonElementParentNode""NoncedElement"Notification"Notification"iconshowEvent'show'_factoryNotificationactionsbadgemaxActionspermissionrenotifyrequireInteractionsilentvibrate_requestPermission_NotificationPermissionCallbackdeprecatedCallback'requestPermission'requestPermissiononShowNotificationEvent"NotificationEvent"notificationreplyOListElement"HTMLOListElement"HTMLOListElementObjectElement"HTMLObjectElement"HTMLObjectElement"OffscreenCanvas"convertToBlobcontextTypetransferToImageBitmap_CanvasPathOffscreenCanvasRenderingContext2D"OffscreenCanvasRenderingContext2D"sx_OR_xsy_OR_ysw_OR_widthheight_OR_shdwdhOptGroupElement"HTMLOptGroupElement"HTMLOptGroupElementOptionElement"HTMLOptionElement"HTMLOptionElementdefaultSelected"OrientationSensor"quaternionpopulateMatrixtargetBufferOutputElement"HTMLOutputElement"HTMLOutputElementOverconstrainedError"OverconstrainedError"constraintPageTransitionEvent"PageTransitionEvent"persistedPaintRenderingContext2D"PaintRenderingContext2D"PaintSize"PaintSize"PaintWorkletGlobalScope"PaintWorkletGlobalScope"devicePixelRatioregisterPaintpaintCtorParagraphElement"HTMLParagraphElement"HTMLParagraphElementParamElement"HTMLParamElement"HTMLParamElementPasswordCredential"PasswordCredential"data_OR_formadditionalDataidNamepasswordName"Path2D"path_OR_textaddPathPaymentAddress"PaymentAddress"addressLinecitycountrydependentLocalitylanguageCodeorganizationphonepostalCoderecipientsortingCodePaymentInstruments"PaymentInstruments"instrumentKeyPaymentManager"PaymentManager"instrumentsuserHintPaymentRequest"PaymentRequest"shippingAddressshippingOptionshippingTypecanMakePaymentPaymentResponsePaymentRequestEvent"PaymentRequestEvent"paymentRequestIdtotalPaymentRequestUpdateEvent"PaymentRequestUpdateEvent"updateWithdetailsPromise"PaymentResponse"payerEmailpayerNamepayerPhonerequestIdpaymentResultPerformance"Performance"memorynavigationPerformanceNavigationtimeOriginPerformanceTimingclearMarksmarkNameclearMeasuresmeasureNameclearResourceTimingsgetEntriesPerformanceEntrygetEntriesByNameentryTypegetEntriesByTypemarkmeasurestartMarkendMarksetResourceTimingBufferSizemaxSize"PerformanceEntry"PerformanceLongTaskTiming"PerformanceLongTaskTiming"attributionTaskAttributionTimingPerformanceMark"PerformanceMark"PerformanceMeasure"PerformanceMeasure""PerformanceNavigation"TYPE_BACK_FORWARDTYPE_NAVIGATETYPE_RELOADTYPE_RESERVEDredirectCountPerformanceResourceTimingPerformanceNavigationTiming"PerformanceNavigationTiming"domCompletedomContentLoadedEventEnddomContentLoadedEventStartdomInteractiveloadEventEndloadEventStartunloadEventEndunloadEventStartPerformanceObserver"PerformanceObserver"PerformanceObserverCallbackPerformanceObserverEntryList"PerformanceObserverEntryList"PerformancePaintTiming"PerformancePaintTiming""PerformanceResourceTiming"connectEndconnectStartdecodedBodySizedomainLookupEnddomainLookupStartencodedBodySizefetchStartinitiatorTypenextHopProtocolredirectEndredirectStartrequestStartresponseEndresponseStartsecureConnectionStartserverTimingPerformanceServerTimingtransferSizeworkerStart"PerformanceServerTiming""PerformanceTiming"domLoadingnavigationStartPermissionStatus"PermissionStatus""Permissions"requestAllrevoke"PhotoCapabilities"fillLightModeimageHeightimageWidthredEyeReductionPictureElement"HTMLPictureElement"HTMLPictureElement"Plugin"PluginArray"PluginArray"refreshPointerEvent"PointerEvent"isPrimarypointerTypepressuretangentialPressuretiltXtiltYtwistgetCoalescedEvents"PopStateEvent"PositionError"PositionError"PERMISSION_DENIEDPOSITION_UNAVAILABLEPreElement"HTMLPreElement"HTMLPreElement"Presentation"defaultRequestPresentationRequestPresentationReceiverPresentationAvailability"PresentationAvailability"PresentationConnection"PresentationConnection"binaryTypedata_OR_messageterminatePresentationConnectionAvailableEvent"PresentationConnectionAvailableEvent"PresentationConnectionCloseEvent"PresentationConnectionCloseEvent"PresentationConnectionList"PresentationConnectionList"connections"PresentationReceiver"connectionList"PresentationRequest"url_OR_urlsgetAvailabilityreconnectProcessingInstruction"ProcessingInstruction"ProgressElement"HTMLProgressElement"HTMLProgressElement"ProgressEvent"lengthComputablePromiseRejectionEvent"PromiseRejectionEvent"promisePublicKeyCredential"PublicKeyCredential"rawIdPushEvent"PushEvent"PushMessageDataPushManager"PushManager"supportedContentEncodingsgetSubscriptionPushSubscriptionpermissionStatesubscribe"PushMessageData""PushSubscription"endpointexpirationTimePushSubscriptionOptionsunsubscribe"PushSubscriptionOptions"applicationServerKeyuserVisibleOnlyQuoteElement"HTMLQuoteElement"HTMLQuoteElementRtcPeerConnectionErrorCallbackRtcSessionDescriptionsdp_RtcSessionDescriptionCallbackRtcStatsResponseRtcStatsCallback"Range"END_TO_ENDEND_TO_STARTSTART_TO_ENDSTART_TO_STARTcollapsedcommonAncestorContainerendContainerendOffsetstartContainercloneContentscloneRangecollapsetoStartcompareBoundaryPointshowsourceRangecomparePointcreateContextualFragmentdeleteContentsextractContentsinsertNodeisPointInRangeselectNodeselectNodeContentssetEndsetEndAftersetEndBeforesetStartsetStartAftersetStartBeforesurroundContentsnewParentsupportsCreateContextualFragment"RelatedApplication"RelativeOrientationSensor"RelativeOrientationSensor""RemotePlayback"cancelWatchAvailabilitywatchAvailabilityRemotePlaybackAvailabilityCallbackavailable"ReportBody"ReportingObserver"ReportingObserver"ReportingObserverCallbackreportsRequestAnimationFrameCallbackResizeObserver"ResizeObserver"ResizeObserverCallbackResizeObserverEntry"ResizeObserverEntry"contentRectRtcCertificate"RTCCertificate"RTCCertificategetFingerprintsRtcDataChannel"RTCDataChannel,DataChannel"RTCDataChannel,DataChannelbufferedAmountbufferedAmountLowThresholdmaxRetransmitTimemaxRetransmitsnegotiatedorderedreliablesendBlob'send'sendByteBuffersendStringsendTypedDataRtcDataChannelEvent"RTCDataChannelEvent"RTCDataChannelEventchannelRtcDtmfSender"RTCDTMFSender"RTCDTMFSenderRtcDtmfToneChangeEventtoneChangeEvent'tonechange'tonechangecanInsertDtmf'canInsertDTMF'canInsertDTMFinterToneGaptoneBufferinsertDtmftones'insertDTMF'insertDTMFonToneChange"RTCDTMFToneChangeEvent"RTCDTMFToneChangeEventtoneRtcIceCandidate"RTCIceCandidate,mozRTCIceCandidate"RTCIceCandidate,mozRTCIceCandidatedictionarycandidatesdpMLineIndexsdpMidRtcLegacyStatsReport"RTCLegacyStatsReport"RTCLegacyStatsReport_get_timestamp'timestamp'statRtcPeerConnection"RTCPeerConnection,webkitRTCPeerConnection,mozRTCPeerConnection"RTCPeerConnection,webkitRTCPeerConnection,mozRTCPeerConnectionrtcIceServersmediaConstraintsgetLegacyStats_getStats'getStats'getStatsgenerateCertificatekeygenAlgorithmaddStreamEvent'addstream'addstreamdataChannelEvent'datachannel'datachannelRtcPeerConnectionIceEventiceCandidateEvent'icecandidate'icecandidateiceConnectionStateChangeEvent'iceconnectionstatechange'iceconnectionstatechangenegotiationNeededEvent'negotiationneeded'negotiationneededremoveStreamEvent'removestream'removestreamsignalingStateChangeEvent'signalingstatechange'signalingstatechangeRtcTrackEventtrackEvent'track'iceConnectionStateiceGatheringStatelocalDescriptionremoteDescriptionsignalingStateaddIceCandidatefailureCallback_addStream_1'addStream'_addStream_2RtcRtpSenderstreamscreateAnswercreateDtmfSender'createDTMFSender'createDTMFSendercreateDataChanneldataChannelDict_createDataChannel_1'createDataChannel'_createDataChannel_2createOffergetLocalStreamsgetReceiversRtcRtpReceivergetRemoteStreamsgetSendersRtcStatsReportremoveStreamsendersetConfiguration_setConfiguration_1'setConfiguration'setLocalDescriptionsetRemoteDescriptiononAddStreamonDataChannelonIceCandidateonIceConnectionStateChangeonNegotiationNeededonRemoveStreamonSignalingStateChangeonTrack"RTCPeerConnectionIceEvent"RTCPeerConnectionIceEventRtcRtpContributingSource"RTCRtpContributingSource"RTCRtpContributingSource"RTCRtpReceiver"RTCRtpReceivergetContributingSources"RTCRtpSender"RTCRtpSender"RTCSessionDescription,mozRTCSessionDescription"RTCSessionDescription,mozRTCSessionDescription"RTCStatsReport"RTCStatsReport"RTCStatsResponse"RTCStatsResponse"RTCTrackEvent"RTCTrackEventScreen"Screen"_availHeight'availHeight'availHeight_availLeft'availLeft'availLeft_availTop'availTop'availTop_availWidth'availWidth'availWidthcolorDepthkeepAwakeScreenOrientationpixelDepth"ScreenOrientation"lockunlock"HTMLScriptElement"HTMLScriptElementdefernoModule"ScrollState"scrollStateInitdeltaGranularitydeltaXdeltaYfromUserInputinInertialPhaseisBeginningisDirectManipulationisEndingvelocityXvelocityYconsumeDeltadistributeToScrollChainDescendantscrollStateScrollTimeline"ScrollTimeline"scrollSourcetimeRange"SecurityPolicyViolationEvent"blockedUri'blockedURI'blockedURIcolumnNumberdispositiondocumentUri'documentURI'documentURIeffectiveDirectiveoriginalPolicysamplestatusCodeviolatedDirectiveSelectElement"HTMLSelectElement"HTMLSelectElementselectedIndexselectedOptions"Selection"anchorNodeanchorOffsetbaseNodebaseOffsetextentNodeextentOffsetfocusNodefocusOffsetisCollapsedrangeCountaddRangecollapseToEndcollapseToStartcontainsNodeallowPartialContainmentdeleteFromDocumentextendgetRangeAtaltergranularityremoveAllRangesselectAllChildrensetBaseAndExtent"Sensor"activatedhasReadingSensorErrorEvent"SensorErrorEvent"ServiceWorker"ServiceWorker"scriptUrl'scriptURL'scriptURL"ServiceWorkerContainer"ServiceWorkerRegistrationgetRegistrationdocumentURLgetRegistrationsServiceWorkerGlobalScope"ServiceWorkerGlobalScope"activateEvent'activate'activatefetchEvent'fetch'foreignfetchEvent'foreignfetch'foreignfetchinstallEvent'install'installclientsregistrationskipWaitingonActivateonFetchonForeignfetchonInstall"ServiceWorkerRegistration"backgroundFetchinstallingnavigationPreloadpaymentManagerpushManagerSyncManagergetNotificationsshowNotificationunregisterShadowElement"HTMLShadowElement"HTMLShadowElement"ShadowRoot"delegatesFocusolderShadowRoot_shadowRootDeprecationReported_shadowRootDeprecationReportresetStyleInheritanceapplyAuthorStylesSharedArrayBuffer"SharedArrayBuffer"SharedWorker"SharedWorker"SharedWorkerGlobalScope"SharedWorkerGlobalScope"connectEventonConnect"HTMLSlotElement"HTMLSlotElementassignedNodes_assignedNodes_1'assignedNodes'_assignedNodes_2"SourceBuffer"appendWindowEndappendWindowStarttimestampOffsettrackDefaultsTrackDefaultListupdatingappendBufferappendTypedData'appendBuffer'"SourceBufferList"SourceElement"HTMLSourceElement"HTMLSourceElementSpanElement"HTMLSpanElement"HTMLSpanElementSpeechGrammar"SpeechGrammar"SpeechGrammarList"SpeechGrammarList"addFromStringaddFromUriSpeechRecognition"SpeechRecognition"audioEndEvent'audioend'audioendaudioStartEvent'audiostart'audiostartendEvent'end'SpeechRecognitionErrorSpeechRecognitionEventnoMatchEvent'nomatch'nomatchresultEventsoundEndEvent'soundend'soundendsoundStartEvent'soundstart'soundstartspeechEndEvent'speechend'speechendspeechStartEvent'speechstart'speechstartstartEventaudioTrackcontinuousgrammarsinterimResultsmaxAlternativesonAudioEndonAudioStartonEndonNoMatchonResultonSoundEndonSoundStartonSpeechEndonSpeechStartonStartSpeechRecognitionAlternative"SpeechRecognitionAlternative"confidencetranscript"SpeechRecognitionError"initDict"SpeechRecognitionEvent"emmainterpretationresultIndexresultsSpeechRecognitionResult'_SpeechRecognitionResultList|Null'_SpeechRecognitionResultList|Null'_SpeechRecognitionResultList'_SpeechRecognitionResultList"SpeechRecognitionResult"isFinalSpeechSynthesis"SpeechSynthesis"getVoicesSpeechSynthesisVoicependingspeaking_getVoices'getVoices'SpeechSynthesisUtteranceutteranceSpeechSynthesisEvent"SpeechSynthesisEvent"charIndex"SpeechSynthesisUtterance"boundaryEvent'boundary'boundarymarkEvent'mark'resumeEvent'resume'pitchratevoiceonBoundaryonMark"SpeechSynthesisVoice"'default'defaultlocalServicevoiceUri'voiceURI'voiceURIStaticRange"StaticRange"Storage"Storage"'length''getItem'_key'key'_removeItem'removeItem'_setItem'setItem'setItem"StorageEvent"storageArea_initStorageEventoldValueArgnewValueArgurlArgstorageAreaArg'initStorageEvent'initStorageEvent"StorageManager"estimatepersistgrantedQuotaInBytescurrentUsageInBytescurrentQuotaInBytes"HTMLStyleElement"HTMLStyleElementStyleMedia"StyleMedia"matchMediummediaqueryStylePropertyMapReadonly"StylePropertyMap""StylePropertyMapReadonly"getProperties"StyleSheet"ownerNodeSyncEvent"SyncEvent"lastChance"SyncManager"getTagsTableCaptionElement"HTMLTableCaptionElement"HTMLTableCaptionElementTableCellElement"HTMLTableCellElement,HTMLTableDataCellElement,HTMLTableHeaderCellElement"HTMLTableCellElement,HTMLTableDataCellElement,HTMLTableHeaderCellElementcellIndexheadersTableColElement"HTMLTableColElement"HTMLTableColElementTableElement"HTMLTableElement"HTMLTableElementtBodiesTableSectionElementTableRowElementaddRowcreateCaptioncreateTBodycreateTFootcreateTHeadinsertRow_createTBody_nativeCreateTBody'createTBody'caption_rows'rows'_tBodies'tBodies'tFoottHead_createCaption'createCaption'_createTFoot'createTFoot'_createTHead'createTHead'deleteCaptiondeleteRowdeleteTFootdeleteTHead_insertRow'insertRow'"HTMLTableRowElement"HTMLTableRowElementcellsaddCellinsertCell_cells'cells'sectionRowIndexdeleteCell_insertCell'insertCell'"HTMLTableSectionElement"HTMLTableSectionElement"TaskAttributionTiming"containerIdcontainerNamecontainerSrccontainerTypeTemplateElement"HTMLTemplateElement"HTMLTemplateElement"Text"wholeTextsplitTextTextAreaElement"HTMLTextAreaElement"HTMLTextAreaElementcolswrapTextDetector"TextDetector"TextEvent"TextEvent"_initTextEvent'initTextEvent'initTextEvent"TextMetrics"actualBoundingBoxAscentactualBoundingBoxDescentactualBoundingBoxLeftactualBoundingBoxRightalphabeticBaselineemHeightAscentemHeightDescentfontBoundingBoxAscentfontBoundingBoxDescenthangingBaselineideographicBaseline"TextTrack"cueChangeEvent'cuechange'cuechangeactiveCuesTextTrackCueListcuesaddCueTextTrackCuecueremoveCueonCueChange"TextTrackCue"enterEvent'enter'enterexitEvent'exit'exitendTimepauseOnExitonEnter"TextTrackCueList"getCueById"TextTrackList"TrackEventTimeElement"HTMLTimeElement"HTMLTimeElement"TimeRanges"TimeoutHandler"HTMLTitleElement"HTMLTitleElement"Touch"_radiusX'radiusX'_radiusY'radiusY''Element|Document'Element|Document__clientX__clientY__screenX__screenY__pageX__pageY__radiusX__radiusY"TouchEvent"changedTouchestargetTouches"TouchList"TrackDefault"TrackDefault"kindsbyteStreamTrackID"TrackDefaultList"TrackElement"HTMLTrackElement"HTMLTrackElementERRORLOADEDsrclang"TrackEvent""TransitionEvent,WebKitTransitionEvent"TransitionEvent,WebKitTransitionEvent"TreeWalker"currentNodeTrustedHtml"TrustedHTML"TrustedHTMLunsafelyCreateTrustedScriptUrl"TrustedScriptURL"TrustedScriptURL"TrustedURL"TrustedURL"UIEvent"sourceCapabilities_get_view'view'_which'which'_initUIEvent'initUIEvent'initUIEventUListElement"HTMLUListElement"HTMLUListElementUnderlyingSourceBase"UnderlyingSourceBase"notifyLockAcquirednotifyLockReleasedpullUnknownElement"HTMLUnknownElement"HTMLUnknownElementUrl"URL"URLcreateObjectUrlblob_OR_source_OR_streamcreateObjectUrlFromSourcecreateObjectUrlFromStreamcreateObjectUrlFromBlobrevokeObjectUrlsearchParamsUrlSearchParams"URLSearchParams"URLSearchParamsUrlUtilsReadOnly"VR"getDevicesVRCoordinateSystem"VRCoordinateSystem"getTransformToVRDevice"VRDevice"deviceNameisExternalrequestSessionsupportsSessionVRDeviceEvent"VRDeviceEvent"deviceVRDisplay"VRDisplay"capabilitiesVRDisplayCapabilitiesdepthFardepthNeardisplayNameisPresentingstageParametersVRStageParameterscancelAnimationFrameexitPresentgetEyeParametersVREyeParameterswhichEyegetFrameDataVRFrameDataframeDatagetLayersrequestAnimationFramerequestPresentlayerssubmitFrame"VRDisplayCapabilities"canPresenthasExternalDisplaymaxLayersVRDisplayEvent"VRDisplayEvent""VREyeParameters"renderHeightrenderWidth"VRFrameData"leftProjectionMatrixleftViewMatrixVRPoserightProjectionMatrixrightViewMatrixVRFrameOfReference"VRFrameOfReference"VRStageBoundsemulatedHeight"VRPose"VRSession"VRSession"requestFrameOfReferenceVRSessionEvent"VRSessionEvent"session"VRStageBounds"geometryVRStageBoundsPoint"VRStageBoundsPoint""VRStageParameters"sittingToStandingTransformsizeXsizeZ"ValidityState"badInputcustomErrorpatternMismatchrangeOverflowrangeUnderflowstepMismatchtooLongtooShorttypeMismatchvalidvalueMissing"HTMLVideoElement"HTMLVideoElementpostervideoHeightvideoWidthdecodedFrameCount'webkitDecodedFrameCount'webkitDecodedFrameCountdroppedFrameCount'webkitDroppedFrameCount'webkitDroppedFrameCountgetVideoPlaybackQualityVideoPlaybackQualityenterFullscreen'webkitEnterFullscreen'webkitEnterFullscreen"VideoPlaybackQuality"corruptedVideoFramescreationTimedroppedVideoFramestotalVideoFramesVideoTrack"VideoTrack""VideoTrackList"VisualViewport"VisualViewport"pageLeftpageTopVttCue"VTTCue"VTTCue'num|String'num|StringVttRegionsnapToLinesverticalgetCueAsHtml'getCueAsHTML'getCueAsHTML"VTTRegion"VTTRegionregionAnchorXregionAnchorYviewportAnchorXviewportAnchorYWebSocket"WebSocket"protocolsCLOSINGextensions"WheelEvent"deltaZdeltaModeDOM_DELTA_LINEDOM_DELTA_PAGEDOM_DELTA_PIXEL_deltaX'deltaX'_deltaY'deltaY'_wheelDelta_wheelDeltaX_hasInitMouseScrollEvent_initMouseScrollEventaxis'initMouseScrollEvent'initMouseScrollEvent_hasInitWheelEvent_initWheelEventmodifiersList'initWheelEvent'initWheelEvent_WindowTimersWindowBase64"Window,DOMWindow"Window,DOMWindowanimationFrame_open2_open3_location_requestAnimationFrame'requestAnimationFrame'_cancelAnimationFrame'cancelAnimationFrame'_ensureRequestAnimationFrameindexedDB'23.0'23.0'15.0'15.0'10.0'10.0consoleConsolerequestFileSystempersistentsupportsPointConversionscontentLoadedEvent'DOMContentLoaded'DOMContentLoadeddeviceMotionEvent'devicemotion'devicemotiondeviceOrientationEvent'deviceorientation'deviceorientationpageHideEvent'pagehide'pagehidepageShowEvent'pageshow'pageshowanimationEndEvent'webkitAnimationEnd'webkitAnimationEndanimationIterationEvent'webkitAnimationIteration'webkitAnimationIterationanimationStartEvent'webkitAnimationStart'webkitAnimationStartanimationWorkletapplicationCacheaudioWorkletcachescookieStorecryptocustomElementsdefaultStatusdefaultstatusexternalhistoryinnerHeightinnerWidthisSecureContextlocalStoragelocationbarmenubarnavigatoroffscreenBufferingopener_get_opener'opener'outerHeightouterWidth_pageXOffset'pageXOffset'pageXOffset_pageYOffset'pageYOffset'pageYOffset_get_parent'parent'performancescreenLeftscreenTopscrollbars_get_self'self'sessionStoragespeechSynthesisstatusbarstyleMediatoolbar_get_topvisualViewport'window'index_OR_name__getter___1'__getter__'__getter___2alertcancelIdleCallbackconfirmfindbackwardswholeWordsearchInFramesshowDialog_getComputedStyleeltpseudoElt'getComputedStyle'getComputedStyleMapgetMatchedCssRules'getMatchedCSSRules'getMatchedCSSRulesmatchMediamoveBy_openDatabaseestimatedSizecreationCallback'openDatabase'openDatabase'SqlDatabase'targetOriginrequestIdleCallback_requestIdleCallback_1'requestIdleCallback'_requestIdleCallback_2resizeByresizeToscrollOptions_scroll_4_scroll_5_scrollBy_4_scrollBy_5_scrollTo_4_scrollTo_5__requestFileSystem_requestFileSystem_resolveLocalFileSystemUrlresolveLocalFileSystemUrlatobbtoa_setInterval_String'setInterval'setInterval_setTimeout_String'setTimeout'setTimeout_clearInterval'clearInterval'clearInterval_clearTimeout'clearTimeout'clearTimeout_setInterval_setTimeoutonContentLoaded'Window.ondblclick'Window.ondblclickonDeviceMotiononDeviceOrientationonPageHideonPageShowonAnimationEndonAnimationIterationonAnimationStartbeforeUnloadEvent_BeforeUnloadEventStreamProvider'beforeunload'beforeunloadonBeforeUnloadscrollXscrollY_WrappedEvent_BeforeUnloadEvent_returnValue_eventTypeforTargetgetEventTypeforElement_forElementList"WindowClient"focusednavigateWorker"Worker""WorkerGlobalScope"_WorkerLocation_WorkerNavigatorWorkerPerformanceimportScriptsurls"WorkerPerformance"WorkletAnimation"WorkletAnimation"animatorNameeffectstimelines"WorkletGlobalScope"XPathEvaluator"XPathEvaluator"createExpressionXPathExpressionXPathNSResolverresolvercreateNSResolvernodeResolverevaluateXPathResultcontextNodeinResult"XPathExpression""XPathNSResolver"lookupNamespaceUri'lookupNamespaceURI'lookupNamespaceURI"XPathResult"ANY_TYPEANY_UNORDERED_NODE_TYPEBOOLEAN_TYPEFIRST_ORDERED_NODE_TYPENUMBER_TYPEORDERED_NODE_ITERATOR_TYPEORDERED_NODE_SNAPSHOT_TYPESTRING_TYPEUNORDERED_NODE_ITERATOR_TYPEUNORDERED_NODE_SNAPSHOT_TYPEbooleanValueinvalidIteratorStatenumberValueresultTypesingleNodeValuesnapshotLengthstringValueiterateNextsnapshotItem"XMLDocument"XMLDocumentXmlSerializer"XMLSerializer"XMLSerializerserializeToStringXsltProcessor"XSLTProcessor"XSLTProcessorclearParametersimportStylesheetremoveParametersetParametertransformToDocumenttransformToFragment_Attr"Attr"Attr_Bluetooth"Bluetooth"Bluetooth_BluetoothCharacteristicProperties"BluetoothCharacteristicProperties"BluetoothCharacteristicProperties_BluetoothDevice"BluetoothDevice"BluetoothDevice"BluetoothRemoteGATTCharacteristic"BluetoothRemoteGATTCharacteristic_BluetoothRemoteGATTServer"BluetoothRemoteGATTServer"BluetoothRemoteGATTServer_BluetoothRemoteGATTService"BluetoothRemoteGATTService"BluetoothRemoteGATTService_BluetoothUUID"BluetoothUUID"BluetoothUUID"BudgetService"BudgetServicegetBudgetgetCostoperationreserve_Cache"Cache"Cache"Clipboard"ClipboardreadreadTextwriteText"CSSRuleList"CSSRuleList"DOMFileSystemSync"DOMFileSystemSync_DirectoryEntrySync"DirectoryEntrySync"DirectoryEntrySync_DirectoryReaderSync"DirectoryReaderSync"DirectoryReaderSync"DocumentType"DocumentType"ClientRect,DOMRect"ClientRect,DOMRect_JenkinsSmiHash"EntrySync"EntrySync_FileEntrySync"FileEntrySync"FileEntrySync_FileReaderSync"FileReaderSync"FileReaderSync_FileWriterSync"FileWriterSync"FileWriterSync"GamepadList"GamepadList_HTMLAllCollection"HTMLAllCollection"HTMLAllCollection_HTMLDirectoryElement"HTMLDirectoryElement"HTMLDirectoryElement_HTMLFontElement"HTMLFontElement"HTMLFontElement_HTMLFrameElement"HTMLFrameElement"HTMLFrameElement_HTMLFrameSetElement"HTMLFrameSetElement"HTMLFrameSetElement_HTMLMarqueeElement"HTMLMarqueeElement"HTMLMarqueeElement_Mojo"Mojo"Mojo_MojoHandle"MojoHandle"MojoHandle_MojoInterfaceInterceptor"MojoInterfaceInterceptor"MojoInterfaceInterceptorinterfaceName_MojoInterfaceRequestEvent"MojoInterfaceRequestEvent"MojoInterfaceRequestEvent_MojoWatcher"MojoWatcher"MojoWatcher"NFC"NFC"NamedNodeMap,MozNamedAttrMap"NamedNodeMap,MozNamedAttrMapgetNamedItemgetNamedItemNSremoveNamedItemremoveNamedItemNSsetNamedItemattrsetNamedItemNS_PagePopupController"PagePopupController"PagePopupController_Report"Report"Report"Request"requestInitDictredirect_ResourceProgressEvent"ResourceProgressEvent"ResourceProgressEvent"Response"Response"SpeechRecognitionResultList"SpeechRecognitionResultList"StyleSheetList"StyleSheetList"SubtleCrypto"SubtleCrypto_USB"USB"USB_USBAlternateInterface"USBAlternateInterface"USBAlternateInterface_USBInterfacedeviceInterfacealternateSetting_USBConfiguration"USBConfiguration"USBConfiguration_USBDeviceconfigurationValue_USBConnectionEvent"USBConnectionEvent"USBConnectionEvent"USBDevice"USBDevice_USBEndpoint"USBEndpoint"USBEndpointalternateendpointNumber_USBInTransferResult"USBInTransferResult"USBInTransferResult"USBInterface"USBInterfaceinterfaceNumber_USBIsochronousInTransferPacket"USBIsochronousInTransferPacket"USBIsochronousInTransferPacket_USBIsochronousInTransferResult"USBIsochronousInTransferResult"USBIsochronousInTransferResultpackets_USBIsochronousOutTransferPacket"USBIsochronousOutTransferPacket"USBIsochronousOutTransferPacketbytesWritten_USBIsochronousOutTransferResult"USBIsochronousOutTransferResult"USBIsochronousOutTransferResult_USBOutTransferResult"USBOutTransferResult"USBOutTransferResult"WorkerLocation"WorkerLocation"WorkerNavigator"WorkerNavigator"Worklet"Worklet_AttributeMap_matches_ElementAttributeMap_NamespacedAttributeMap_namespace_DataAttributeMap_attr_strip_toCamelCasehyphenedNamestartUppercase_toHyphenedNameword_ContentCssRectnewHeightnewWidth_ContentCssListRect_elementListelementList_PaddingCssRect_BorderCssRect_MarginCssRect_addOrSubtractToBoxModelaugmentingMeasurement_HEIGHT_WIDTH_CONTENT_PADDING_MARGIN_MultiElementCssClassSet_sets_ElementCssClassSet_contains_toggle_toggleDefault_toggleOnOff_removeAlldoRemove_classListOf_classListLength_classListContains_classListContainsBeforeAddOrRemove_classListAdd_classListRemove_classListToggle1_classListToggle2Dimension_unitcssValue_EventStream_useCapture_matchesWithAncestors_ElementEventStreamImpl_ElementListEventStreamImpl_targetList_EventListener_EventStreamSubscription_pauseCount_canceled_tryResume_unlistenCustomStream_CustomEventStreamImpl_streamControllerKeyEvent_CustomKeyEventStreamImpl_StreamPool_subscriptions_eventTypeGetter_Html5NodeValidator_allowedElements_standardAttributes'*::class'*::class'*::dir'*::dir'*::draggable'*::draggable'*::hidden'*::hidden'*::id'*::id'*::inert'*::inert'*::itemprop'*::itemprop'*::itemref'*::itemref'*::itemscope'*::itemscope'*::lang'*::lang'*::spellcheck'*::spellcheck'*::title'*::title'*::translate'*::translate'A::accesskey'A::accesskey'A::coords'A::coords'A::hreflang'A::hreflang'A::name'A::name'A::shape'A::shape'A::tabindex'A::tabindex'A::target'A::target'A::type'A::type'AREA::accesskey'AREA::accesskey'AREA::alt'AREA::alt'AREA::coords'AREA::coords'AREA::nohref'AREA::nohref'AREA::shape'AREA::shape'AREA::tabindex'AREA::tabindex'AREA::target'AREA::target'AUDIO::controls'AUDIO::controls'AUDIO::loop'AUDIO::loop'AUDIO::mediagroup'AUDIO::mediagroup'AUDIO::muted'AUDIO::muted'AUDIO::preload'AUDIO::preload'BDO::dir'BDO::dir'BODY::alink'BODY::alink'BODY::bgcolor'BODY::bgcolor'BODY::link'BODY::link'BODY::text'BODY::text'BODY::vlink'BODY::vlink'BR::clear'BR::clear'BUTTON::accesskey'BUTTON::accesskey'BUTTON::disabled'BUTTON::disabled'BUTTON::name'BUTTON::name'BUTTON::tabindex'BUTTON::tabindex'BUTTON::type'BUTTON::type'BUTTON::value'BUTTON::value'CANVAS::height'CANVAS::height'CANVAS::width'CANVAS::width'CAPTION::align'CAPTION::align'COL::align'COL::align'COL::char'COL::char'COL::charoff'COL::charoff'COL::span'COL::span'COL::valign'COL::valign'COL::width'COL::width'COLGROUP::align'COLGROUP::align'COLGROUP::char'COLGROUP::char'COLGROUP::charoff'COLGROUP::charoff'COLGROUP::span'COLGROUP::span'COLGROUP::valign'COLGROUP::valign'COLGROUP::width'COLGROUP::width'COMMAND::checked'COMMAND::checked'COMMAND::command'COMMAND::command'COMMAND::disabled'COMMAND::disabled'COMMAND::label'COMMAND::label'COMMAND::radiogroup'COMMAND::radiogroup'COMMAND::type'COMMAND::type'DATA::value'DATA::value'DEL::datetime'DEL::datetime'DETAILS::open'DETAILS::open'DIR::compact'DIR::compact'DIV::align'DIV::align'DL::compact'DL::compact'FIELDSET::disabled'FIELDSET::disabled'FONT::color'FONT::color'FONT::face'FONT::face'FONT::size'FONT::size'FORM::accept'FORM::accept'FORM::autocomplete'FORM::autocomplete'FORM::enctype'FORM::enctype'FORM::method'FORM::method'FORM::name'FORM::name'FORM::novalidate'FORM::novalidate'FORM::target'FORM::target'FRAME::name'FRAME::name'H1::align'H1::align'H2::align'H2::align'H3::align'H3::align'H4::align'H4::align'H5::align'H5::align'H6::align'H6::align'HR::align'HR::align'HR::noshade'HR::noshade'HR::size'HR::size'HR::width'HR::width'HTML::version'HTML::version'IFRAME::align'IFRAME::align'IFRAME::frameborder'IFRAME::frameborder'IFRAME::height'IFRAME::height'IFRAME::marginheight'IFRAME::marginheight'IFRAME::marginwidth'IFRAME::marginwidth'IFRAME::width'IFRAME::width'IMG::align'IMG::align'IMG::alt'IMG::alt'IMG::border'IMG::border'IMG::height'IMG::height'IMG::hspace'IMG::hspace'IMG::ismap'IMG::ismap'IMG::name'IMG::name'IMG::usemap'IMG::usemap'IMG::vspace'IMG::vspace'IMG::width'IMG::width'INPUT::accept'INPUT::accept'INPUT::accesskey'INPUT::accesskey'INPUT::align'INPUT::align'INPUT::alt'INPUT::alt'INPUT::autocomplete'INPUT::autocomplete'INPUT::autofocus'INPUT::autofocus'INPUT::checked'INPUT::checked'INPUT::disabled'INPUT::disabled'INPUT::inputmode'INPUT::inputmode'INPUT::ismap'INPUT::ismap'INPUT::list'INPUT::list'INPUT::max'INPUT::max'INPUT::maxlength'INPUT::maxlength'INPUT::min'INPUT::min'INPUT::multiple'INPUT::multiple'INPUT::name'INPUT::name'INPUT::placeholder'INPUT::placeholder'INPUT::readonly'INPUT::readonly'INPUT::required'INPUT::required'INPUT::size'INPUT::size'INPUT::step'INPUT::step'INPUT::tabindex'INPUT::tabindex'INPUT::type'INPUT::type'INPUT::usemap'INPUT::usemap'INPUT::value'INPUT::value'INS::datetime'INS::datetime'KEYGEN::disabled'KEYGEN::disabled'KEYGEN::keytype'KEYGEN::keytype'KEYGEN::name'KEYGEN::name'LABEL::accesskey'LABEL::accesskey'LABEL::for'LABEL::for'LEGEND::accesskey'LEGEND::accesskey'LEGEND::align'LEGEND::align'LI::type'LI::type'LI::value'LI::value'LINK::sizes'LINK::sizes'MAP::name'MAP::name'MENU::compact'MENU::compact'MENU::label'MENU::label'MENU::type'MENU::type'METER::high'METER::high'METER::low'METER::low'METER::max'METER::max'METER::min'METER::min'METER::value'METER::value'OBJECT::typemustmatch'OBJECT::typemustmatch'OL::compact'OL::compact'OL::reversed'OL::reversed'OL::start'OL::start'OL::type'OL::type'OPTGROUP::disabled'OPTGROUP::disabled'OPTGROUP::label'OPTGROUP::label'OPTION::disabled'OPTION::disabled'OPTION::label'OPTION::label'OPTION::selected'OPTION::selected'OPTION::value'OPTION::value'OUTPUT::for'OUTPUT::for'OUTPUT::name'OUTPUT::name'P::align'P::align'PRE::width'PRE::width'PROGRESS::max'PROGRESS::max'PROGRESS::min'PROGRESS::min'PROGRESS::value'PROGRESS::value'SELECT::autocomplete'SELECT::autocomplete'SELECT::disabled'SELECT::disabled'SELECT::multiple'SELECT::multiple'SELECT::name'SELECT::name'SELECT::required'SELECT::required'SELECT::size'SELECT::size'SELECT::tabindex'SELECT::tabindex'SOURCE::type'SOURCE::type'TABLE::align'TABLE::align'TABLE::bgcolor'TABLE::bgcolor'TABLE::border'TABLE::border'TABLE::cellpadding'TABLE::cellpadding'TABLE::cellspacing'TABLE::cellspacing'TABLE::frame'TABLE::frame'TABLE::rules'TABLE::rules'TABLE::summary'TABLE::summary'TABLE::width'TABLE::width'TBODY::align'TBODY::align'TBODY::char'TBODY::char'TBODY::charoff'TBODY::charoff'TBODY::valign'TBODY::valign'TD::abbr'TD::abbr'TD::align'TD::align'TD::axis'TD::axis'TD::bgcolor'TD::bgcolor'TD::char'TD::char'TD::charoff'TD::charoff'TD::colspan'TD::colspan'TD::headers'TD::headers'TD::height'TD::height'TD::nowrap'TD::nowrap'TD::rowspan'TD::rowspan'TD::scope'TD::scope'TD::valign'TD::valign'TD::width'TD::width'TEXTAREA::accesskey'TEXTAREA::accesskey'TEXTAREA::autocomplete'TEXTAREA::autocomplete'TEXTAREA::cols'TEXTAREA::cols'TEXTAREA::disabled'TEXTAREA::disabled'TEXTAREA::inputmode'TEXTAREA::inputmode'TEXTAREA::name'TEXTAREA::name'TEXTAREA::placeholder'TEXTAREA::placeholder'TEXTAREA::readonly'TEXTAREA::readonly'TEXTAREA::required'TEXTAREA::required'TEXTAREA::rows'TEXTAREA::rows'TEXTAREA::tabindex'TEXTAREA::tabindex'TEXTAREA::wrap'TEXTAREA::wrap'TFOOT::align'TFOOT::align'TFOOT::char'TFOOT::char'TFOOT::charoff'TFOOT::charoff'TFOOT::valign'TFOOT::valign'TH::abbr'TH::abbr'TH::align'TH::align'TH::axis'TH::axis'TH::bgcolor'TH::bgcolor'TH::char'TH::char'TH::charoff'TH::charoff'TH::colspan'TH::colspan'TH::headers'TH::headers'TH::height'TH::height'TH::nowrap'TH::nowrap'TH::rowspan'TH::rowspan'TH::scope'TH::scope'TH::valign'TH::valign'TH::width'TH::width'THEAD::align'THEAD::align'THEAD::char'THEAD::char'THEAD::charoff'THEAD::charoff'THEAD::valign'THEAD::valign'TR::align'TR::align'TR::bgcolor'TR::bgcolor'TR::char'TR::char'TR::charoff'TR::charoff'TR::valign'TR::valign'TRACK::default'TRACK::default'TRACK::kind'TRACK::kind'TRACK::label'TRACK::label'TRACK::srclang'TRACK::srclang'UL::compact'UL::compact'UL::type'UL::type'VIDEO::controls'VIDEO::controls'VIDEO::height'VIDEO::height'VIDEO::loop'VIDEO::loop'VIDEO::mediagroup'VIDEO::mediagroup'VIDEO::muted'VIDEO::muted'VIDEO::preload'VIDEO::preload'VIDEO::width'VIDEO::width_uriAttributes'A::href'A::href'AREA::href'AREA::href'BLOCKQUOTE::cite'BLOCKQUOTE::cite'BODY::background'BODY::background'COMMAND::icon'COMMAND::icon'DEL::cite'DEL::cite'FORM::action'FORM::action'IMG::src'IMG::src'INPUT::src'INPUT::src'INS::cite'INS::cite'Q::cite'Q::cite'VIDEO::poster'VIDEO::posterUriPolicyuriPolicy_attributeValidatorsallowsElementallowsAttribute_standardAttributeValidator_uriAttributeValidatorKeyCodeWIN_KEY_FF_LINUXMAC_ENTERBACKSPACETABNUM_CENTERENTERSHIFTCTRLALTPAUSECAPS_LOCKESCSPACEPAGE_UPPAGE_DOWNENDHOMELEFTUPRIGHTDOWNNUM_NORTH_EASTNUM_SOUTH_EASTNUM_SOUTH_WESTNUM_NORTH_WESTNUM_WESTNUM_NORTHNUM_EASTNUM_SOUTHPRINT_SCREENINSERTNUM_INSERTDELETENUM_DELETETWOTHREEFOURFIVESIXSEVENEIGHTNINEFF_SEMICOLONFF_EQUALSQUESTION_MARKBHJOPWYZWIN_KEY_LEFTWIN_KEY_RIGHTCONTEXT_MENUNUM_ZERONUM_ONENUM_TWONUM_THREENUM_FOURNUM_FIVENUM_SIXNUM_SEVENNUM_EIGHTNUM_NINENUM_MULTIPLYNUM_PLUSNUM_MINUSNUM_PERIODNUM_DIVISIONF1F2F3F4F5F6F7F8F9F10F11F12NUMLOCKSCROLL_LOCKFIRST_MEDIA_KEYLAST_MEDIA_KEYSEMICOLONDASHEQUALSCOMMAPERIODSLASHAPOSTROPHETILDESINGLE_QUOTEOPEN_SQUARE_BRACKETBACKSLASHCLOSE_SQUARE_BRACKETWIN_KEYMAC_FF_METAWIN_IMEisCharacterKey_convertKeyCodeToKeyNameKeyLocationSTANDARDNUMPADMOBILEJOYSTICK_KeyNameACCEPT"Accept"AcceptADD"Add"AddAGAIN"Again"AgainALL_CANDIDATES"AllCandidates"AllCandidatesALPHANUMERIC"Alphanumeric"Alphanumeric"Alt"AltALT_GRAPH"AltGraph"AltGraphAPPS"Apps"AppsATTN"Attn"AttnBROWSER_BACK"BrowserBack"BrowserBackBROWSER_FAVORTIES"BrowserFavorites"BrowserFavoritesBROWSER_FORWARD"BrowserForward"BrowserForwardBROWSER_NAME"BrowserHome"BrowserHomeBROWSER_REFRESH"BrowserRefresh"BrowserRefreshBROWSER_SEARCH"BrowserSearch"BrowserSearchBROWSER_STOP"BrowserStop"BrowserStopCAMERA"Camera"Camera"CapsLock"CapsLockCLEAR"Clear"ClearCODE_INPUT"CodeInput"CodeInputCOMPOSE"Compose"ComposeCONTROL"Control"ControlCRSEL"Crsel"CrselCONVERT"Convert"ConvertCOPY"Copy"CopyCUT"Cut"CutDECIMAL"Decimal"DecimalDIVIDE"Divide"Divide"Down"DownDOWN_LEFT"DownLeft"DownLeftDOWN_RIGHT"DownRight"DownRightEJECT"Eject"Eject"End"End"Enter"EnterERASE_EOF"EraseEof"EraseEofEXECUTE"Execute"ExecuteEXSEL"Exsel"ExselFN"Fn"Fn"F1""F2""F3""F4""F5""F6""F7""F8""F9""F10""F11""F12"F13"F13"F14"F14"F15"F15"F16"F16"F17"F17"F18"F18"F19"F19"F20"F20"F21"F21"F22"F22"F23"F23"F24"F24"FINAL_MODE"FinalMode"FinalModeFIND"Find"FindFULL_WIDTH"FullWidth"FullWidthHALF_WIDTH"HalfWidth"HalfWidthHANGUL_MODE"HangulMode"HangulModeHANJA_MODE"HanjaMode"HanjaModeHELP"Help"HelpHIRAGANA"Hiragana"Hiragana"Home"Home"Insert"InsertJAPANESE_HIRAGANA"JapaneseHiragana"JapaneseHiraganaJAPANESE_KATAKANA"JapaneseKatakana"JapaneseKatakanaJAPANESE_ROMAJI"JapaneseRomaji"JapaneseRomajiJUNJA_MODE"JunjaMode"JunjaModeKANA_MODE"KanaMode"KanaModeKANJI_MODE"KanjiMode"KanjiModeKATAKANA"Katakana"KatakanaLAUNCH_APPLICATION_1"LaunchApplication1"LaunchApplication1LAUNCH_APPLICATION_2"LaunchApplication2"LaunchApplication2LAUNCH_MAIL"LaunchMail"LaunchMail"Left"LeftMENU"Menu"Menu"Meta"MetaMEDIA_NEXT_TRACK"MediaNextTrack"MediaNextTrackMEDIA_PAUSE_PLAY"MediaPlayPause"MediaPlayPauseMEDIA_PREVIOUS_TRACK"MediaPreviousTrack"MediaPreviousTrackMEDIA_STOP"MediaStop"MediaStopMODE_CHANGE"ModeChange"ModeChangeNEXT_CANDIDATE"NextCandidate"NextCandidateNON_CONVERT"Nonconvert"NonconvertNUM_LOCK"NumLock"NumLock"PageDown"PageDown"PageUp"PageUpPASTE"Paste"Paste"Pause"PausePLAY"Play"PlayPOWER"Power"PowerPREVIOUS_CANDIDATE"PreviousCandidate"PreviousCandidate"PrintScreen"PrintScreenPROCESS"Process"ProcessPROPS"Props"Props"Right"RightROMAN_CHARACTERS"RomanCharacters"RomanCharactersSCROLL"Scroll"ScrollSELECT"Select"SelectSELECT_MEDIA"SelectMedia"SelectMediaSEPARATOR"Separator"Separator"Shift"ShiftSOFT_1"Soft1"Soft1SOFT_2"Soft2"Soft2SOFT_3"Soft3"Soft3SOFT_4"Soft4"Soft4STOP"Stop"StopSUBTRACT"Subtract"SubtractSYMBOL_LOCK"SymbolLock"SymbolLock"Up"UpUP_LEFT"UpLeft"UpLeftUP_RIGHT"UpRight"UpRightUNDO"Undo"UndoVOLUME_DOWN"VolumeDown"VolumeDownVOLUMN_MUTE"VolumeMute"VolumeMuteVOLUMN_UP"VolumeUp"VolumeUpWIN"Win"WinZOOM"Zoom"Zoom"Backspace"Backspace"Tab"TabCANCEL"Cancel"Cancel"Esc"EscSPACEBAR"Spacebar"SpacebarDEL"Del"DelDEAD_GRAVE"DeadGrave"DeadGraveDEAD_EACUTE"DeadEacute"DeadEacuteDEAD_CIRCUMFLEX"DeadCircumflex"DeadCircumflexDEAD_TILDE"DeadTilde"DeadTildeDEAD_MACRON"DeadMacron"DeadMacronDEAD_BREVE"DeadBreve"DeadBreveDEAD_ABOVE_DOT"DeadAboveDot"DeadAboveDotDEAD_UMLAUT"DeadUmlaut"DeadUmlautDEAD_ABOVE_RING"DeadAboveRing"DeadAboveRingDEAD_DOUBLEACUTE"DeadDoubleacute"DeadDoubleacuteDEAD_CARON"DeadCaron"DeadCaronDEAD_CEDILLA"DeadCedilla"DeadCedillaDEAD_OGONEK"DeadOgonek"DeadOgonekDEAD_IOTA"DeadIota"DeadIotaDEAD_VOICED_SOUND"DeadVoicedSound"DeadVoicedSoundDEC_SEMIVOICED_SOUND"DeadSemivoicedSound"DeadSemivoicedSoundUNIDENTIFIED"Unidentified"Unidentified_KeyboardEventHandler_keyDownList_ROMAN_ALPHABET_OFFSET_EVENT_TYPE'KeyEvent'_keyIdentifier'Up''Down''Left''Right''Enter''F1''F2''F3''F4''F5''F6''F7''F8''F9''F10''F11''F12''U+007F'U+007F'Home''End''PageUp''PageDown''Insert'initializeAllEventListeners_capsLockOn_determineKeyCodeForKeypress_findCharCodeKeyDown_firesKeyPressEvent_normalizeKeyCodesprocessKeyDownprocessKeyPressprocessKeyUpKeyboardEventStream_validatorscommonallowNavigationallowImagesallowTextElementsallowInlineStylesallowHtml5allowSvgallowCustomElementuriAttributesallowTagExtensionbaseNameallowElementallowTemplating_SimpleNodeValidatorallowedElementsallowedAttributesallowedUriAttributes_CustomElementNodeValidatorallowTypeExtensionallowCustomTag_TemplatingNodeValidator_TEMPLATE_ATTRS'bind''if'if'ref''repeat''syntax'syntax_templateAttrs_SvgNodeValidatorReadyState"loading"INTERACTIVE"interactive"interactiveCOMPLETE"complete"_WrappedList_WrappedIterator_HttpRequestUtilsFixedSizeListIterator_array_VariableSizeListIterator_safe_safeConsole_isConsoleDefinedassertConditioncountResetdebugdirxmlgroupCollapsedgroupEndinfotabularDatapropertiestimeEndtimeLogtracewarnprofileprofileEndmarkTimelinewin_convertNativeToDart_Window_convertNativeToDart_EventTarget_convertDartToNative_EventTarget_convertNativeToDart_XHR_Response_callConstructor_callAttached_callDetached_callAttributeChanged_makeCallbackMethod_makeCallbackMethod3baseClassName_checkExtendsNativeClassOrTemplate_registerCustomElement_initializeCustomElement_JSElementUpgrader_interceptor_constructor_nativeTypeupgrade_DOMWindowCrossFrame_window_createSafe_LocationCrossFrame_setHref_HistoryCrossFrame_history_shadowAltKey_shadowCharCode_shadowKeyCode_realKeyCode_realCharCode_realAltKey_currentTarget_keyboardEventDispatchRecord_makeRecordcanUseDispatchEvent_convertToHexString_shadowKeyIdentifierkeyArgumentisComposedPlatformsupportsTypedDatasupportsSimdwrapped_wrapZone_wrapBinaryZonethrowssanitizeTreetrusted_TrustedHtmlTreeSanitizerallowsUri_SameOriginUriPolicy_hiddenAnchor_loc_ThrowsNodeValidatornumTreeModifications_removeNode_sanitizeUntrustedElement_sanitizeElementcorruptedattrsisAttrsanitizeNodedart.dom.htmlio'dart:developer'dart:developerHttpClientHttpProfiler'dart:_http'dart:_http"Import BytesBuilder from dart:typed_data instead"Import BytesBuilder from dart:typed_data instead'common.dart'common.dart'data_transformer.dart'data_transformer.dart'directory.dart'directory.dart'directory_impl.dart'directory_impl.dart'embedder_config.dart'embedder_config.dart'eventhandler.dart'eventhandler.dart'file.dart'file.dart'file_impl.dart'file_impl.dart'file_system_entity.dart'file_system_entity.dart'io_resource_info.dart'io_resource_info.dart'io_sink.dart'io_sink.dart'io_service.dart'io_service.dart'link.dart'link.dart'namespace_impl.dart'namespace_impl.dart'network_policy.dart'network_policy.dart'network_profiling.dart'network_profiling.dart'overrides.dart'overrides.dart'platform.dart'platform.dart'platform_impl.dart'platform_impl.dart'process.dart'process.dart'secure_server_socket.dart'secure_server_socket.dart'secure_socket.dart'secure_socket.dart'security_context.dart'security_context.dart'service_object.dart'service_object.dart'socket.dart'socket.dart'stdio.dart'stdio.dart'string_transformer.dart'string_transformer.dart'sync_socket.dart'sync_socket.dart_successResponse_illegalArgumentResponse_osErrorResponse_fileClosedResponse_errorResponseErrorType_osErrorResponseErrorCode_osErrorResponseMessage_isErrorResponse_exceptionFromResponseIOExceptionOSErrornoErrorCode_BufferAndStart_ensureFastAndSerializableByteData_isDirectIOCapableTypedList_IOCryptogetRandomBytesZLibOptionminWindowBitsMIN_WINDOW_BITS"Use minWindowBits instead"Use minWindowBits insteadmaxWindowBitsMAX_WINDOW_BITS"Use maxWindowBits instead"Use maxWindowBits insteaddefaultWindowBitsDEFAULT_WINDOW_BITS"Use defaultWindowBits instead"Use defaultWindowBits insteadminLevelMIN_LEVEL"Use minLevel instead"Use minLevel insteadmaxLevelMAX_LEVEL"Use maxLevel instead"Use maxLevel insteaddefaultLevelDEFAULT_LEVEL"Use defaultLevel instead"Use defaultLevel insteadminMemLevelMIN_MEM_LEVEL"Use minMemLevel instead"Use minMemLevel insteadmaxMemLevelMAX_MEM_LEVEL"Use maxMemLevel instead"Use maxMemLevel insteaddefaultMemLevelDEFAULT_MEM_LEVEL"Use defaultMemLevel instead"Use defaultMemLevel insteadstrategyFilteredSTRATEGY_FILTERED"Use strategyFiltered instead"Use strategyFiltered insteadstrategyHuffmanOnlySTRATEGY_HUFFMAN_ONLY"Use strategyHuffmanOnly instead"Use strategyHuffmanOnly insteadstrategyRleSTRATEGY_RLE"Use strategyRle instead"Use strategyRle insteadstrategyFixedSTRATEGY_FIXED"Use strategyFixed instead"Use strategyFixed insteadstrategyDefaultSTRATEGY_DEFAULT"Use strategyDefault instead"Use strategyDefault insteadZLibCodeczlib_defaultZLIB"Use zlib instead"Use zlib insteadgzipmemLevelstrategywindowBitsrawZLibEncoderZLibDecoderGZipCodecGZIP"Use gzip instead"Use gzip insteadRawZLibFilterdeflateFilterinflateFilterprocessed_makeZLibDeflateFilter_makeZLibInflateFilter_BufferSinkbuilder_FilterSink_ZLibEncoderSink_ZLibDecoderSink_closed_empty_validateZLibWindowBits_validateZLibeLevel_validateZLibMemLevel_validateZLibStrategyFileSystemEntityDirectoryfromRawPathrecursivecreateSyncsystemTempcreateTempcreateTempSyncresolveSymbolicLinksresolveSymbolicLinksSyncrenamenewPathrenameSyncfollowLinkslistSync_Directory_rawPathrawPath_Namespace_setCurrent_createTemp_systemTemp_exists_deleteNative_rename_fillWithDirectoryListingexistsexistsSync_deleteSync_exceptionOrErrorFromResponse_checkNotNull_AsyncDirectoryListerOpsgetPointer_AsyncDirectoryListerlistFilelistDirectorylistLinklistErrorlistDoneresponsePathresponseCompleteresponseErrorcancelednextRunning_opscloseCompleter_pointer_cleanup_EmbedderConfig_mayChdir_mayExit_maySetEchoMode_maySetLineMode_maySleep_mayInsecurelyConnectToAllDomains_setDomainPoliciesdomainNetworkPolicyJson_EventHandlerFileModeREAD"Use read instead"Use read insteadWRITE"Use write instead"Use write insteadAPPEND"Use append instead"Use append insteadwriteOnlyWRITE_ONLY"Use writeOnly instead"Use writeOnly insteadwriteOnlyAppendWRITE_ONLY_APPEND"Use writeOnlyAppend instead"Use writeOnlyAppend instead_mode"Use FileMode.read instead"Use FileMode.read instead"Use FileMode.write instead"Use FileMode.write instead"Use FileMode.append instead"Use FileMode.append instead"Use FileMode.writeOnly instead"Use FileMode.writeOnly instead"Use FileMode.writeOnlyAppend instead"Use FileMode.writeOnlyAppend insteadFileLocksharedSHARED"Use shared instead"Use shared insteadEXCLUSIVE"Use exclusive instead"Use exclusive insteadblockingSharedBLOCKING_SHARED"Use blockingShared instead"Use blockingShared insteadblockingExclusiveBLOCKING_EXCLUSIVE"Use blockingExclusive instead"Use blockingExclusive insteadcopySynclengthSynclastAccessedlastAccessedSyncsetLastAccessedsetLastAccessedSynclastModifiedSyncsetLastModifiedsetLastModifiedSyncRandomAccessFileopenSyncopenReadopenWriteIOSinkreadAsBytesreadAsBytesSyncreadAsStringreadAsStringSyncreadAsLinesreadAsLinesSyncwriteAsByteswriteAsBytesSyncwriteAsStringcontentswriteAsStringSyncreadBytereadByteSyncreadSyncreadIntoreadIntoSyncwriteByteSyncwriteFromwriteFromSyncwriteStringSyncpositionSyncsetPositionSynctruncateSyncflushSynclockSyncunlockSyncFileSystemExceptionosError_blockSize_FileStream_openedFile_closeCompleter_unsubscribed_readInProgress_atEndforStdin_closeFile_readBlock_FileStreamConsumer_openFuturefromStdiofd_File_namespacePointer_dispatchWithNamespace_createLink_linkTarget_deleteLinkNativeoldPath_renameLink_copy_lengthFromPath_lastAccessed_setLastAccessedmillis_setLastModified_openStdio_openStdioSync_tryDecodethrowIfErrormsg_RandomAccessFileOps_RandomAccessFile_connectedResourceHandler_asyncDispatched_FileResourceInfo_resourceInfo_maybePerformCleanup_maybeConnectHandlerlockUnlock_fileLockValuefl_dispatchmarkClosed_checkAvailableFileSystemEntityTypeFILE"Use file instead"Use file insteadDIRECTORY"Use directory instead"Use directory insteadlink"Use link instead"Use link instead_typeList_lookupFileStat_changedTime_modifiedTime_accessedTime_size_epoch_notFoundchangedmodifiedaccessed_statSyncstatSync_statSyncInternal_statmodeString_backslashChar_slashChar_colonCharwatchFileSystemEventeventsall_identicalpath1path2_absoluteWindowsPathPattern_isAbsolute_absolutePath_windowsDriveLetter_absoluteWindowsPath_identicalSyncidenticalSyncisWatchSupported_toUtf8Array_toNullTerminatedUtf8Array_toStringFromUtf8ArraytypeSyncisLink_isLinkRawisLinkSync_isLinkRawSyncisFileSyncisDirectorySync_getTypeNative_identicalNative_resolveSymbolicLinks_parentRegExpparentOf_getTypeSyncHelper_getTypeSync_getTypeRequest_getType_throwIfError_trimTrailingPathSeparators_ensureTrailingPathSeparatorsCREATE"Use create instead"Use create insteadMODIFY"Use modify instead"Use modify instead"Use delete instead"Use delete insteadmoveMOVE"Use move instead"Use move insteadALL"Use all instead"Use all instead_modifyAttributes_deleteSelf_isDirFileSystemCreateEventFileSystemModifyEventcontentChangedFileSystemDeleteEventFileSystemMoveEvent_FileSystemWatcher_watchisSupported_IOResourceInfo_sw_startTimefullValueMapreferenceValueMapgetNextID_ReadWriteResourceInforeadByteswriteBytesreadCountwriteCountlastReadTimelastWriteTimeaddReaddidReadaddWrite'OpenFile'OpenFileopenFilesfileOpenedfileClosedgetOpenFilesListgetOpenFilesparamsfileInfoMapgetOpenFileInfoMapByID_SpawnedProcessResourceInfo'SpawnedProcess'SpawnedProcessstartedAtstartedProcessesstoppedprocessStartedprocessStoppedgetStartedProcessesListgetStartedProcessesgetProcessInfoMapById_StreamSinkImpl_doneCompleter_controllerInstance_controllerCompleter_isBound_closeTarget_completeDoneValue_completeDoneError_IOSinkImpl_encoding_encodingMutable_IOServicefileExistsfileCreatefileDeletefileRenamefileCopyfileOpenfileResolveSymbolicLinksfileClosefilePositionfileSetPositionfileTruncatefileLengthfileLengthFromPathfileLastAccessedfileSetLastAccessedfileLastModifiedfileSetLastModifiedfileFlushfileReadBytefileWriteBytefileReadfileReadIntofileWriteFromfileCreateLinkfileDeleteLinkfileRenameLinkfileLinkTargetfileTypefileIdenticalfileStatfileLocksocketLookupsocketListInterfacessocketReverseLookupdirectoryCreatedirectoryDeletedirectoryExistsdirectoryCreateTempdirectoryListStartdirectoryListNextdirectoryListStopdirectoryRenamesslProcessFilterupdateSynctargetSync_Link_setupNamespaceisInsecureConnectionAllowed_DomainNetworkPolicy_domainMatcherallowInsecureConnectionsincludesSubDomainsmatchScorecheckConflictexistingPolicies_findBestDomainNetworkPolicy_domainPoliciesdomainPoliciesString_constructDomainPolicies_versionMajor_versionMinor_tcpSocket'tcp'tcp_udpSocket'udp'udp_NetworkProfiling_kGetHttpEnableTimelineLogging'ext.dart.io.getHttpEnableTimelineLogging'ext.dart.io.getHttpEnableTimelineLogging'Use httpEnableTimelineLogging instead'Use httpEnableTimelineLogging instead_kSetHttpEnableTimelineLogging'ext.dart.io.setHttpEnableTimelineLogging'ext.dart.io.setHttpEnableTimelineLogging_kHttpEnableTimelineLogging'ext.dart.io.httpEnableTimelineLogging'ext.dart.io.httpEnableTimelineLogging_kGetHttpProfileRPC'ext.dart.io.getHttpProfile'ext.dart.io.getHttpProfile_kGetHttpProfileRequestRPC'ext.dart.io.getHttpProfileRequest'ext.dart.io.getHttpProfileRequest_kClearHttpProfileRPC'ext.dart.io.clearHttpProfile'ext.dart.io.clearHttpProfile_kClearSocketProfileRPC'ext.dart.io.clearSocketProfile'ext.dart.io.clearSocketProfile_kGetSocketProfileRPC'ext.dart.io.getSocketProfile'ext.dart.io.getSocketProfile_kSocketProfilingEnabledRPC'ext.dart.io.socketProfilingEnabled'ext.dart.io.socketProfilingEnabled_kPauseSocketProfilingRPC'ext.dart.io.pauseSocketProfiling'ext.dart.io.pauseSocketProfiling'Use socketProfilingEnabled instead'Use socketProfilingEnabled instead_kStartSocketProfilingRPC'ext.dart.io.startSocketProfiling'ext.dart.io.startSocketProfiling_kGetVersionRPC'ext.dart.io.getVersion'ext.dart.io.getVersion_registerServiceExtension_serviceExtensionHandlergetVersion_success_invalidArgument_missingArgument_getHttpEnableTimelineLogging_setHttpEnableTimelineLogging_getHttpProfileRequest_socketProfilingEnabled_SocketProfile_kType'SocketProfile'SocketProfileenableSocketProfiling_enableSocketProfiling_SocketStatistic_idToSocketStatistictoJsoncollectNewSocketInternetAddressaddrcollectStatistic_SocketProfileTypesocketTypetoMap_setIfNotNull_ioOverridesToken_asyncRunZonedIOOverrides_globaloverridesgetCurrentDirectorysetCurrentDirectorygetSystemTempDirectoryfseIdenticalfseIdenticalSyncfseGetTypefseGetTypeSyncfsWatchfsWatchIsSupportedcreateLinkSocketsourceAddresssocketConnectConnectionTasksocketStartConnectServerSocketbacklogv6OnlyserverSocketBindrunWithIOOverrides_IOOverridesScope_createDirectory_getCurrentDirectory_setCurrentDirectory_getSystemTempDirectory_createFile_fseIdentical_fseIdenticalSync_fseGetType_fseGetTypeSync_fsWatch_fsWatchIsSupported_socketConnect_socketStartConnect_serverSocketBind_numberOfProcessors_pathSeparator_operatingSystem_operatingSystemVersion_localHostname_versionnumberOfProcessorspathSeparatorlocaleNameoperatingSystemoperatingSystemVersionlocalHostnameisLinuxisMacOSisWindowsisAndroidisIOSisFuchsiaresolvedExecutablescriptexecutableArguments'packages/ directory resolution is not supported in Dart 2'packages/ directory resolution is not supported in Dart 2_Platform_executable_resolvedExecutable_environment_executableArguments_packageConfig_localeName_script_localeClosure_environmentCache_cachedOSVersion_CaseInsensitiveStringMap_ProcessUtils_exit_setExitCode_getExitCode_sleep_pid_watchSignalProcessSignalsignalexitCodesleeppidProcessInfocurrentRssmaxRssProcessStartModenormalNORMAL"Use normal instead"Use normal insteadinheritStdioINHERIT_STDIO"Use inheritStdio instead"Use inheritStdio insteadDETACHED"Use detached instead"Use detached insteaddetachedWithStdioDETACHED_WITH_STDIO"Use detachedWithStdio instead"Use detachedWithStdio insteadworkingDirectoryincludeParentEnvironmentrunInShellProcessResultstdoutEncodingsystemEncodingstderrEncodingrunSynckillPidsigtermstdoutstderrstdinsighup"SIGHUP"SIGHUPsigint"SIGINT"SIGINTsigquit"SIGQUIT"SIGQUITsigill"SIGILL"SIGILLsigtrap"SIGTRAP"SIGTRAPsigabrt"SIGABRT"SIGABRTsigbus"SIGBUS"SIGBUSsigfpe"SIGFPE"SIGFPEsigkill"SIGKILL"SIGKILLsigusr1"SIGUSR1"SIGUSR1sigsegv"SIGSEGV"SIGSEGVsigusr2"SIGUSR2"SIGUSR2sigpipe"SIGPIPE"SIGPIPEsigalrm"SIGALRM"SIGALRM"SIGTERM"SIGTERMsigchld"SIGCHLD"SIGCHLDsigcont"SIGCONT"SIGCONTsigstop"SIGSTOP"SIGSTOPsigtstp"SIGTSTP"SIGTSTPsigttin"SIGTTIN"SIGTTINsigttou"SIGTTOU"SIGTTOUsigurg"SIGURG"SIGURGsigxcpu"SIGXCPU"SIGXCPUsigxfsz"SIGXFSZ"SIGXFSZsigvtalrm"SIGVTALRM"SIGVTALRMsigprof"SIGPROF"SIGPROFsigwinch"SIGWINCH"SIGWINCHsigpoll"SIGPOLL"SIGPOLLsigsys"SIGSYS"SIGSYS"Use sighup instead"Use sighup instead"Use sigint instead"Use sigint instead"Use sigquit instead"Use sigquit instead"Use sigill instead"Use sigill instead"Use sigtrap instead"Use sigtrap instead"Use sigabrt instead"Use sigabrt instead"Use sigbus instead"Use sigbus instead"Use sigfpe instead"Use sigfpe instead"Use sigkill instead"Use sigkill instead"Use sigusr1 instead"Use sigusr1 instead"Use sigsegv instead"Use sigsegv instead"Use sigusr2 instead"Use sigusr2 instead"Use sigpipe instead"Use sigpipe instead"Use sigalrm instead"Use sigalrm instead"Use sigterm instead"Use sigterm instead"Use sigchld instead"Use sigchld instead"Use sigcont instead"Use sigcont instead"Use sigstop instead"Use sigstop instead"Use sigtstp instead"Use sigtstp instead"Use sigttin instead"Use sigttin instead"Use sigttou instead"Use sigttou instead"Use sigurg instead"Use sigurg instead"Use sigxcpu instead"Use sigxcpu instead"Use sigxfsz instead"Use sigxfsz instead"Use sigvtalrm instead"Use sigvtalrm instead"Use sigprof instead"Use sigprof instead"Use sigwinch instead"Use sigwinch instead"Use sigpoll instead"Use sigpoll instead"Use sigsys instead"Use sigsys instead_signalNumberSignalExceptionProcessExceptionSecureSocketSecureServerSocketRawSecureServerSocket_socketSecurityContextrequestClientCertificaterequireClientCertificatesupportedProtocolssocket_ownerownerRawSecureSocketRawServerSocketRawSocket_context_onPauseStateChange_onSubscriptionStateChangerawSocketX509CertificatecertificateonBadCertificatestartConnect"2.6"2.6secureServerbufferedDatapeerCertificateselectedProtocolrenegotiateuseSessionCacheRawSocketEventderpemsha1subjectissuerstartValidityendValidity_FilterStatusreadEmptywriteEmptyreadPlaintextNoLongerEmptywritePlaintextNoLongerFullreadEncryptedNoLongerFullwriteEncryptedNoLongerEmpty_RawSecureSockethandshakeStatusconnectedStatusclosedStatusreadPlaintextIdwritePlaintextIdreadEncryptedIdwriteEncryptedIdbufferCount_isBufferEncrypted_handshakeComplete_socketSubscription_bufferedData_bufferedDataIndexisServer_status_writeEventsEnabled_readEventsEnabled_pendingReadEvent_socketClosedRead_socketClosedWrite_closedRead_closedWrite_filterStatus_connectPending_filterPending_filterActive_SecureFilter_secureFilter_selectedProtocolrequestedPort_verifyFieldsremoteAddressremotePort_completeCloseCompleterdummyshutdownSocketDirectionwriteEventsEnabledreadEventsEnabled_fixOffset_onBadCertificateWrappersetOptionSocketOptiongetRawOptionRawSocketOptionsetRawOption_eventDispatcher_readHandler_writeHandler_doneHandler_reportError_closeHandler_secureHandshake_secureHandshakeCompleteHandler_scheduleFilter_tryFilter_readSocketOrBufferedData_readSocket_writeSocket_scheduleReadEvent_sendReadEvent_sendWriteEvent_pushAllFilterStages_ExternalBuffer"set"advanceStartadvanceEndlinearLengthlinearFreeinputDatawriteFromSourcerequestedreadToSockethostNamedestroyhandshakerehandshakeprocessBufferbufferIndexregisterBadCertificateCallbackregisterHandshakeCompleteCallbackhandshakeCompleteHandlerTlsException"TlsException"HandshakeException"HandshakeException"CertificateException"CertificateException"withTrustedRootsdefaultContextusePrivateKeyusePrivateKeyByteskeyBytessetTrustedCertificatessetTrustedCertificatesBytescertBytesuseCertificateChainuseCertificateChainByteschainBytessetClientAuthoritiessetClientAuthoritiesBytesauthCertBytesalpnSupportedsetAlpnProtocols_protocolsToLengthEncoding_protocolsToLengthEncodingNonAsciiBailout_nextServiceId_ServiceObject__serviceId_serviceId_servicePath_serviceTypePath_serviceTypeName_serviceTypeInternetAddressTypeIPv4IPv6unixIP_V4"Use IPv4 instead"Use IPv4 insteadIP_V6"Use IPv6 instead"Use IPv6 insteadANY"Use any instead"Use any instead_fromloopbackIPv4LOOPBACK_IP_V4"Use loopbackIPv4 instead"Use loopbackIPv4 insteadloopbackIPv6LOOPBACK_IP_V6"Use loopbackIPv6 instead"Use loopbackIPv6 insteadanyIPv4ANY_IP_V4"Use anyIPv4 instead"Use anyIPv4 insteadanyIPv6ANY_IP_V6"Use anyIPv6 instead"Use anyIPv6 insteadrawAddressisLoopbackisLinkLocalisMulticastfromRawAddress_cloneWithNewHostNetworkInterfaceaddresseslistSupportedincludeLoopbackincludeLinkLocalreceivebothRECEIVE"Use receive instead"Use receive insteadSEND"Use send instead"Use send insteadBOTH"Use both instead"Use both insteadtcpNoDelayTCP_NODELAY"Use tcpNoDelay instead"Use tcpNoDelay instead_ipMulticastLoop_ipMulticastHops_ipMulticastIf_ipBroadcastSOL_SOCKETIPPROTO_IPIP_MULTICAST_IFIPPROTO_IPV6IPV6_MULTICAST_IFIPPROTO_TCPIPPROTO_UDP_RawSocketOptionsfromIntfromBoollevelSocketlevelIPv4IPv4MulticastInterfacelevelIPv6IPv6MulticastInterfacelevelTcplevelUdp_getOptionValuereadClosedREAD_CLOSED"Use readClosed instead"Use readClosed instead"Use closed instead"Use closed insteadlen_startConnectDatagramRawDatagramSocketmulticastLoopbackmulticastHopsmulticastInterface"This property is not implemented. Use getRawOption and "This property is not implemented. Use getRawOption and "setRawOption instead."setRawOption instead.broadcastEnabledreuseAddressreusePortttljoinMulticastinterfaceleaveMulticastSocketException'Socket has been closed'Socket has been closed_stdioHandleTypeTerminal_stdioHandleTypePipe_stdioHandleTypeFile_stdioHandleTypeSocket_stdioHandleTypeOther_stdioHandleTypeError_StdStreamStdin_fdreadLineSyncretainNewlinesechoModelineModesupportsAnsiEscapeshasTerminal_StdSinkStdout_nonBlockingterminalColumnsterminalLines_hasTerminal_terminalColumns_terminalLines_supportsAnsiEscapesnonBlockingStdoutExceptionStdinException_StdConsumersepStdioTypeterminal"terminal""pipe""file"TERMINAL"Use terminal instead"Use terminal insteadPIPE"Use pipe instead"Use pipe insteadOTHER"Use other instead"Use other instead_stdin_stdout_stderr_stdinFD_stdoutFD_stderrFD_setStdioFDsstdioType_StdIOUtils_getStdioOutputStream_getStdioInputStream_socketType_getStdioHandleTypeSystemEncodingSYSTEM_ENCODING"Use systemEncoding instead"Use systemEncoding instead_WindowsCodePageEncoder_encodeString_WindowsCodePageEncoderSink_WindowsCodePageDecoder_decodeBytes_WindowsCodePageDecoderSinkRawSynchronousSocketconnectSyncdart.io_http'dart:io'dart:io'crypto.dart'crypto.dart'http_date.dart'http_date.dart'http_headers.dart'http_headers.dart'http_impl.dart'http_impl.dart'http_parser.dart'http_parser.dart'http_session.dart'http_session.dart'websocket.dart'websocket.dart'websocket_impl.dart'websocket_impl.dartHttpServerserverHeaderdefaultResponseHeadersHttpHeadersautoCompressidleTimeoutbindSecurelistenOnserverSocketsessionTimeoutconnectionsInfoHttpConnectionsInfoidleclosingacceptHeader"accept"acceptCharsetHeader"accept-charset"accept-charsetacceptEncodingHeader"accept-encoding"accept-encodingacceptLanguageHeader"accept-language"accept-languageacceptRangesHeader"accept-ranges"accept-rangesageHeader"age"ageallowHeader"allow"authorizationHeader"authorization"authorizationcacheControlHeader"cache-control"cache-controlconnectionHeader"connection"contentEncodingHeader"content-encoding"content-encodingcontentLanguageHeader"content-language"content-languagecontentLengthHeader"content-length"content-lengthcontentLocationHeader"content-location"content-locationcontentMD5Header"content-md5"content-md5contentRangeHeader"content-range"content-rangecontentTypeHeader"content-type"content-typedateHeader"date"etagHeader"etag"etagexpectHeader"expect"expectexpiresHeader"expires"fromHeader"from"hostHeader"host"ifMatchHeader"if-match"if-matchifModifiedSinceHeader"if-modified-since"if-modified-sinceifNoneMatchHeader"if-none-match"if-none-matchifRangeHeader"if-range"if-rangeifUnmodifiedSinceHeader"if-unmodified-since"if-unmodified-sincelastModifiedHeader"last-modified"last-modifiedlocationHeader"location"maxForwardsHeader"max-forwards"max-forwardspragmaHeader"pragma"proxyAuthenticateHeader"proxy-authenticate"proxy-authenticateproxyAuthorizationHeader"proxy-authorization"proxy-authorizationrangeHeader"range"refererHeader"referer"refererretryAfterHeader"retry-after"retry-after"server"serverteHeader"te"tetrailerHeader"trailer"trailertransferEncodingHeader"transfer-encoding"transfer-encodingupgradeHeader"upgrade"userAgentHeader"user-agent"user-agentvaryHeader"vary"varyviaHeader"via"viawarningHeader"warning"warningwwwAuthenticateHeader"www-authenticate"www-authenticate"Use acceptHeader instead"Use acceptHeader insteadACCEPT_CHARSET"Use acceptCharsetHeader instead"Use acceptCharsetHeader insteadACCEPT_ENCODING"Use acceptEncodingHeader instead"Use acceptEncodingHeader insteadACCEPT_LANGUAGE"Use acceptLanguageHeader instead"Use acceptLanguageHeader insteadACCEPT_RANGES"Use acceptRangesHeader instead"Use acceptRangesHeader insteadAGE"Use ageHeader instead"Use ageHeader insteadALLOW"Use allowHeader instead"Use allowHeader insteadAUTHORIZATION"Use authorizationHeader instead"Use authorizationHeader insteadCACHE_CONTROL"Use cacheControlHeader instead"Use cacheControlHeader insteadCONNECTION"Use connectionHeader instead"Use connectionHeader insteadCONTENT_ENCODING"Use contentEncodingHeader instead"Use contentEncodingHeader insteadCONTENT_LANGUAGE"Use contentLanguageHeader instead"Use contentLanguageHeader insteadCONTENT_LENGTH"Use contentLengthHeader instead"Use contentLengthHeader insteadCONTENT_LOCATION"Use contentLocationHeader instead"Use contentLocationHeader insteadCONTENT_MD5"Use contentMD5Header instead"Use contentMD5Header insteadCONTENT_RANGE"Use contentRangeHeader instead"Use contentRangeHeader insteadCONTENT_TYPE"Use contentTypeHeader instead"Use contentTypeHeader insteadDATE"Use dateHeader instead"Use dateHeader insteadETAG"Use etagHeader instead"Use etagHeader insteadEXPECT"Use expectHeader instead"Use expectHeader insteadEXPIRES"Use expiresHeader instead"Use expiresHeader insteadFROM"Use fromHeader instead"Use fromHeader insteadHOST"Use hostHeader instead"Use hostHeader insteadIF_MATCH"Use ifMatchHeader instead"Use ifMatchHeader insteadIF_MODIFIED_SINCE"Use ifModifiedSinceHeader instead"Use ifModifiedSinceHeader insteadIF_NONE_MATCH"Use ifNoneMatchHeader instead"Use ifNoneMatchHeader insteadIF_RANGE"Use ifRangeHeader instead"Use ifRangeHeader insteadIF_UNMODIFIED_SINCE"Use ifUnmodifiedSinceHeader instead"Use ifUnmodifiedSinceHeader insteadLAST_MODIFIED"Use lastModifiedHeader instead"Use lastModifiedHeader insteadLOCATION"Use locationHeader instead"Use locationHeader insteadMAX_FORWARDS"Use maxForwardsHeader instead"Use maxForwardsHeader insteadPRAGMA"Use pragmaHeader instead"Use pragmaHeader insteadPROXY_AUTHENTICATE"Use proxyAuthenticateHeader instead"Use proxyAuthenticateHeader insteadPROXY_AUTHORIZATION"Use proxyAuthorizationHeader instead"Use proxyAuthorizationHeader insteadRANGE"Use rangeHeader instead"Use rangeHeader insteadREFERER"Use refererHeader instead"Use refererHeader insteadRETRY_AFTER"Use retryAfterHeader instead"Use retryAfterHeader insteadSERVER"Use serverHeader instead"Use serverHeader insteadTE"Use teHeader instead"Use teHeader insteadTRAILER"Use trailerHeader instead"Use trailerHeader insteadTRANSFER_ENCODING"Use transferEncodingHeader instead"Use transferEncodingHeader insteadUPGRADE"Use upgradeHeader instead"Use upgradeHeader insteadUSER_AGENT"Use userAgentHeader instead"Use userAgentHeader insteadVARY"Use varyHeader instead"Use varyHeader insteadVIA"Use viaHeader instead"Use viaHeader insteadWARNING"Use warningHeader instead"Use warningHeader insteadWWW_AUTHENTICATE"Use wwwAuthenticateHeader instead"Use wwwAuthenticateHeader insteadcookieHeader"cookie"setCookieHeader"set-cookie"set-cookieCOOKIE"Use cookieHeader instead"Use cookieHeader insteadSET_COOKIE"Use setCookieHeader instead"Use setCookieHeader insteadgeneralHeadersGENERAL_HEADERS"Use generalHeaders instead"Use generalHeaders insteadentityHeadersENTITY_HEADERS"Use entityHeaders instead"Use entityHeaders insteadRESPONSE_HEADERS"Use responseHeaders instead"Use responseHeaders insteadREQUEST_HEADERS"Use requestHeaders instead"Use requestHeaders insteadifModifiedSinceContentTypecontentLengthpersistentConnectionchunkedTransferEncodingpreserveHeaderCasenoFoldingHeaderValueparameterSeparator";"valueSeparatorpreserveBackslashHttpSessionisNewTEXT"Use text instead"Use text insteadHTML"Use html instead"Use html insteadJSON"Use json instead"Use json insteadbinaryBINARY"Use binary instead"Use binary insteadprimaryTypesubTypeCookiemaxAgehttpOnlyfromSetCookieValuerequestedUricookiesprotocolVersionconnectionInfoHttpConnectionInfoHttpResponsereasonPhrasebufferOutputdetachSocketwriteHeadersdefaultHttpPortDEFAULT_HTTP_PORT"Use defaultHttpPort instead"Use defaultHttpPort insteaddefaultHttpsPortDEFAULT_HTTPS_PORT"Use defaultHttpsPort instead"Use defaultHttpsPort insteadenableTimelineLogging_enableTimelineLoggingconnectionTimeoutmaxConnectionsPerHostautoUncompressHttpClientRequestopenUrlgetUrlpostpostUrlputUrldeleteUrlpatchUrlheadUrlauthenticaterealmaddCredentialsHttpClientCredentialsfindProxyfindProxyFromEnvironmentauthenticateProxyaddProxyCredentialsbadCertificateCallbackcertfollowRedirectsmaxRedirectsHttpClientResponse"2.10"2.10compressionStateHttpClientResponseCompressionStateisRedirectredirectsRedirectInfofollowLoopsnotCompresseddecompressedcompressedHttpClientBasicCredentialsHttpClientDigestCredentialslocalPortDetachedSocketunparsedDataHttpExceptionRedirectException_CryptoUtilsPADCRLFLINE_LENGTH_encodeTable_encodeTableUrlSafe_decodeTable_rngbytesToHexbytesToBase64addLineSeparatorbase64StringToBytesignoreInvalidCharacters_MASK_8_MASK_32_BITS_PER_BYTE_BYTES_PER_WORD_HashBase_chunkSizeInWords_bigEndianWords_lengthInBytes_pendingData_currentChunk_h_digestCalleddigestSizeInWordsblockSizenewInstance_updateHash_add32_roundUp_rotl32_resultAsBytes_bytesToChunkdataIndex_wordToBytes_iterate_finalizeData_MD5_k_r_SHA1_wHttpDate_parseCookieDate_HttpHeaders_headers_originalHeaderNames_mutable_noFoldingHeaders_contentLength_persistentConnection_chunkedTransferEncoding_defaultPortForSchemedefaultPortForSchemeinitialHeaders_addContentLength_addTransferEncoding_addDate_addExpires_addIfModifiedSince_addHost_addConnection_addContentType_addValue_valueToString_set_checkMutable_updateHostHeader_foldHeader_finalize_build_parseCookies_validateFieldfield_validateValue_originalHeaderName_HeaderValue_parameters_unmodifiableParameters_ensureParameters_isToken_ContentType_primaryType_subType_CookienewName_parseSetCookieValue_validateName_validatePath'HttpProfile'HttpProfile_HttpProfileData_profilestartRequestparentRequestgetHttpProfileRequestupdatedSince_HttpProfileEventrequestEventproxyEvent_ProxyappendRequestDataformatHeadersformatConnectionInfofinishRequeststartResponsefinishRequestWithErrorfinishResponsefinishResponseWithErrorappendResponseData_updatedisolateIdrequestInProgressresponseInProgressrequestStartTimestamprequestEndTimestamprequestDetailsproxyDetailsrequestBodyrequestErrorrequestEventsresponseStartTimestampresponseEndTimestampresponseDetailsresponseBodylastUpdateTime_lastUpdateTime_timeline_responseTimeline_INIT_SIZE_OUTGOING_BUFFER_SIZE_BytesConsumer_HttpIncoming_transferLength_dataCompleterfullBodyReadupgradedhasSubscribertransferLengthdataDone_HttpInboundMessageListInt_incoming_cookies_HttpInboundMessage_HttpRequest_HttpServer_httpServer_HttpConnection_httpConnection_HttpSession_session_requestedUri_HttpClientResponse_HttpClient_httpClient_HttpClientRequest_httpRequest_profileData_getCompressionStatehttpClient_shouldAuthenticateProxy_shouldAuthenticate_authenticateproxyAuth_ToUint8List_Uint8ListConversionSink_HttpOutboundMessage_encodingSet_bufferOutput_HttpOutgoing_outgoingoutgoingprofileData_writeHeader_isConnectionClosed_HttpResponse_statusCode_reasonPhrase_deadline_deadlineTimerdefaultHeaders_findReasonPhrase_HttpClientConnection_httpClientConnection_responseCompleter_proxy_response_followRedirects_maxRedirects_responseRedirects_aborted_onIncomingincoming_requestUri_HttpGZipSink_consume_footerAndChunk0Length_CharCode_chunk0LengthignoreBodyheadersWritten_closeFuturechunked_pendingChunkedFooter_bytesWritten_gzip_gzipSink_gzipAdd_gzipBuffer_gzipBufferLength_socketErroroutbounddrainRequestsetOutgoingsetHeader_ignoreError_addGZipChunk_chunkHeader_proxyTunnel_HttpParser_httpParser_dispose_idleTimer_currentUri_nextResponseCompleter_streamFuturedestroyFromExternalcloseFromExternalcreateProxyTunnelmakeKeyisSecurestopTimerstartTimer_ConnectionInfo_ConnectionTarget_idle_active_socketTasks_connectinghasIdlehasActivetakeIdle_checkPendingaddNewActivereturnConnectionconnectionCloseduriHosturiPortcrBadCertificateCallback_closing_closingForcefully_connectionTargets_Credentials_credentials_ProxyCredentials_proxyCredentials_authenticateProxy_findProxy_idleTimeout_badCertificateCallback_openUrl_openUrlFromRequest_returnConnection_connectionClosed_connectionClosedNoFurtherClosing_connectionsChanged_closeConnections_getConnectionTarget_getConnection_ProxyConfigurationproxyConf_findCredentials_SiteCredentials_AuthenticationScheme_findProxyCredentials_removeCredentials_removeProxyCredentials_findProxyFromEnvironment_platformEnvironmentCache_ACTIVE_IDLE_CLOSING_DETACHED_connections_idleMarkmarkIdleisMarkedIdle_isActive_isIdle_isClosing_isDetached_servers_serverSocket_closeServer_initDefaultResponseHeaders_handleRequest_markIdle_markActive_sessionManager_HttpSessionManager_sessionManagerInstance_activeConnections_idleConnectionsPROXY_PREFIX"PROXY "PROXY DIRECT_PREFIX"DIRECT"DIRECTdirectproxiesisDirectisAuthenticated_HttpConnectionInfo_DetachedSocket_schemeBASICDIGEST_HttpClientCredentialsusedha1qopnonceCountauthorizecredsappliesauthorizeProxy_HttpClientBasicCredentials_HttpClientDigestCredentials_RedirectInfo_getHttpVersion_ConstHTTPHTTP1DOTHTTP10HTTP11SEPARATOR_MAPHTSPAMPERSANDCOLONSEMI_COLON_StateSTARTMETHOD_OR_RESPONSE_HTTP_VERSIONRESPONSE_HTTP_VERSIONREQUEST_LINE_METHODREQUEST_LINE_URIREQUEST_LINE_HTTP_VERSIONREQUEST_LINE_ENDINGRESPONSE_LINE_STATUS_CODERESPONSE_LINE_REASON_PHRASERESPONSE_LINE_ENDINGHEADER_STARTHEADER_FIELDHEADER_VALUE_STARTHEADER_VALUEHEADER_VALUE_FOLD_OR_END_CRHEADER_VALUE_FOLD_OR_ENDHEADER_ENDINGCHUNK_SIZE_STARTING_CRCHUNK_SIZE_STARTINGCHUNK_SIZECHUNK_SIZE_EXTENSIONCHUNK_SIZE_ENDINGCHUNKED_BODY_DONE_CRCHUNKED_BODY_DONEBODYUPGRADEDFAILUREFIRST_BODY_STATE_HttpVersionUNDETERMINED_MessageTypeREQUESTRESPONSE_HttpDetachedStreamSubscription_injectData_userOnData_scheduled_maybeScheduleData_HttpDetachedIncoming_parserCalled_requestParser_httpVersionIndex_messageType_statusCodeLength_uriOrReasonPhrase_headerField_headerValue_headerTotalSizeLimit_headersReceivedSize_httpVersion_connectionUpgrade_chunked_noMessageBody_remainingContent_transferEncodingconnectMethod_chunkSizeLimit_paused_bodyPaused_bodyControllerrequestParserresponseParserlistenToStream_headersEnd_doParseisHeaddetachIncomingreadUnparsedData_reset_releaseBuffer_isTokenChar_isValueChar_tokenizeFieldValueheaderValue_toLowerCaseByte_caseInsensitiveCompareexpected_expectval1val2_expectHexDigit_addWithValidation_reportSizeLimitError_createIncoming_closeIncoming_pauseStateChanged_reportHttpError_reportBodyError_DART_SESSION_ID"DARTSESSID"DARTSESSID_destroyed_isNew_lastSeen_timeoutCallback_prev_markSeenlastSeen_sessions_sessionTimeout_timercreateSessionIdgetSession_bumpToEnd_addToTimeoutQueue_removeFromTimeoutQueue_timerTimeout_startTimer_stopTimer_httpOverridesTokenHttpOverridescreateHttpClientrunWithHttpOverrides_HttpOverridesScope_createHttpClientWebSocketStatusnormalClosuregoingAwayprotocolErrorunsupportedDatareserved1004noStatusReceivedabnormalClosureinvalidFramePayloadDatapolicyViolationmessageTooBigmissingMandatoryExtensionreserved1015NORMAL_CLOSURE"Use normalClosure instead"Use normalClosure insteadGOING_AWAY"Use goingAway instead"Use goingAway insteadPROTOCOL_ERROR"Use protocolError instead"Use protocolError insteadUNSUPPORTED_DATA"Use unsupportedData instead"Use unsupportedData insteadRESERVED_1004"Use reserved1004 instead"Use reserved1004 insteadNO_STATUS_RECEIVED"Use noStatusReceived instead"Use noStatusReceived insteadABNORMAL_CLOSURE"Use abnormalClosure instead"Use abnormalClosure insteadINVALID_FRAME_PAYLOAD_DATA"Use invalidFramePayloadData instead"Use invalidFramePayloadData insteadPOLICY_VIOLATION"Use policyViolation instead"Use policyViolation insteadMESSAGE_TOO_BIG"Use messageTooBig instead"Use messageTooBig insteadMISSING_MANDATORY_EXTENSION"Use missingMandatoryExtension instead"Use missingMandatoryExtension insteadRESERVED_1015"Use reserved1015 instead"Use reserved1015 insteadCompressionOptionscompressionDefaultDEFAULT"Use compressionDefault instead"Use compressionDefault insteadcompressionOffOFF"Use compressionOff instead"Use compressionOff insteadclientNoContextTakeoverserverNoContextTakeoverclientMaxWindowBitsserverMaxWindowBits_createServerResponseHeader_CompressionMaxWindowBits_createClientRequestHeader_createHeaderWebSocketTransformerprotocolSelectorcompressionisUpgradeRequestconnecting"Use connecting instead"Use connecting instead"Use open instead"Use open instead"Use closing instead"Use closing insteadpingInterval'This constructor will be removed in Dart 2.0. Use `implements`'This constructor will be removed in Dart 2.0. Use `implements`' instead of `extends` if implementing this abstract class.' instead of `extends` if implementing this abstract class.fromUpgradedSocketserverSidecloseCodecloseReasonaddUtf8TextWebSocketException_webSocketGUID"258EAFA5-E914-47DA-95CA-C5AB0DC85B11"258EAFA5-E914-47DA-95CA-C5AB0DC85B11_clientNoContextTakeover"client_no_context_takeover"client_no_context_takeover_serverNoContextTakeover"server_no_context_takeover"server_no_context_takeover_clientMaxWindowBits"client_max_window_bits"client_max_window_bits_serverMaxWindowBits"server_max_window_bits"server_max_window_bits_WebSocketMessageType_WebSocketOpcodeCONTINUATIONRESERVED_3RESERVED_4RESERVED_5RESERVED_6RESERVED_7CLOSEPINGPONGRESERVED_BRESERVED_CRESERVED_DRESERVED_ERESERVED_F_EncodedString_WebSocketProtocolTransformerLEN_FIRSTLEN_RESTMASKPAYLOADFINRSV1RSV2RSV3OPCODE_fin_compressed_opcode_len_masked_remainingLenBytes_remainingMaskingKeyBytes_remainingPayloadBytes_unmaskingIndex_currentMessageType_serverSide_maskingBytes_payload_WebSocketPerMessageDeflate_deflate_unmask_lengthDone_maskDone_startPayload_messageFrameEnd_controlFrameEnd_isControlFrame_prepareForNextFrame_WebSocketPingpayload_WebSocketPong_ProtocolSelector_WebSocketTransformerImpl_protocolSelector_compression_upgrade_negotiateCompression_isUpgradeRequest_WebSocketImpl_ensureDecoder_ensureEncoderprocessIncomingMessageprocessOutgoingMessage_WebSocketOutgoingTransformerwebSocket_deflateHelperaddFrameopcodecreateFrame_WebSocketConsumer_issuedPause_completer_ensureController_donecloseSocket_webSocketsPER_MESSAGE_DEFLATE"permessage-deflate"permessage-deflate_readyState_writeClosed_closeCode_closeReason_pingInterval_pingTimer_consumer_outCloseCode_outCloseReason_closeTimernegotiateClientCompression_fromSocketdeflate_isReservedStatusCodedart._httpjsJsObjectJsFunctionfromBrowserObjectdeletePropertywithThisJsArrayallowInteropallowInteropCaptureThisdart.js_jsisBrowserObjectconvertFromBrowserObjectdart._jsmirrorsMirrorSystemlibrariesLibraryMirrorfindLibraryIsolateMirrordynamicTypeTypeMirrorvoidTypeneverTypegetSymbollibrarycurrentMirrorSystemreflecteeInstanceMirrorreflectClassMirrorreflectClassreflectTypeMirrorisCurrentrootLibraryloadUriDeclarationMirrorsimpleNameisPrivateisTopLevelSourceLocationObjectMirrorinvokegetFieldsetFielddelegatehasReflecteeClosureMirrorMethodMirrordeclarationslibraryDependenciesLibraryDependencyMirrorisImportisExportisDeferredsourceLibrarytargetLibrarycombinatorsCombinatorMirrorloadLibraryidentifiersisShowisHidehasReflectedTypereflectedTypetypeVariablesTypeVariableMirrorisOriginalDeclarationoriginalDeclarationisSubtypeOfisAssignableTosuperclasssuperinterfacesisAbstractisEnuminstanceMembersstaticMembersmixinconstructorNameisSubclassOfFunctionTypeMirrorParameterMirrorTypedefMirrorreferentisSyntheticisRegularMethodisOperatorisConstructorisConstConstructorisGenerativeConstructorisRedirectingConstructorisFactoryConstructorisExtensionMemberVariableMirrorisConstisOptionalisNamedhasDefaultValuecolumntrimmedTextisDocCommentMirrorsUsed"No longer has any effect. Will be removed in a later release."No longer has any effect. Will be removed in a later release.symbolstargetsmetaTargetsdart.mirrorsnativewrappersNativeFieldWrapperClass1NativeFieldWrapperClass2NativeFieldWrapperClass3NativeFieldWrapperClass4cli'wait_for.dart'wait_for.darttimeoutMillis_waitForEvent_getWaitForEvent_waitForEventClosure_WaitForUtilswaitForEventwaitFordart.cli_js_primitivesprintStringdart2js._js_primitivesSUCCESSSTREAM_WAS_CANCELED_js_annotations'dart:js'dart:js_AnonymousanonymousÀ‘¿þ +  +   + + + +   +     +   + + + +     + + + +  +     +   +  +   + + +            B@B@ +   +             +  + +   + + + + + +      + +  + + +  +    +       +        +  (   +       " " " " "        + +  + + +   + +  +        +  + +  + +   + +64    +    + + + +   +      +  + + +               + + +  +  + + +)' + +     +  +   +   +   +  + @>   +   +      + +  +    +  +  +    + +   + +   + +    +  +    + + + +    +  +   + +   + +   +  +& #    +    +    +    +  +           +    + + + + +    +          + +" +  +    +    +  )' +        )' #!" *(!  %#(& +    + +    +             +  + +  !         FCC@>;  +:7   +   + +  +              +  +    + +          "    + +  +       +    +     +       +  +     +  +    +  +     +  +         +   +    +             +   + +  +     + + +     "      +  +     +   +    +   + + <:  + + .,   +          +  +  +       +  + +  +  + +  +   + + + + + + + +           + + + + +  + + +      + + + + " # + +   + + +             $(  +  +          +    +    ! ' + +          +     +       +  ! + +     + +     $% +  +   + + + +    +       * "" +$!  +          + +   +  +   +   +        +      +  + + + +   + + +      +  # + !    +    +      + +  +  +     +  $,* %  +   +      "   +   +…%…zr-‚¬‚¤ƒ¼ƒ´ƒXƒP‚A‚9*",€€•   + +  +  "#!      +     !$     +   +      + +  +    +    +  + + + + + + + + + +         $"  +    +-+!    &%%%&&$$$$$$$$86(,:8( )<: :8 ###  20 '% '% %#)!      + + ,*<:   ?= ,*1/##!0.,*97.,   +     +   +   +   + +         +  +  +  + ! |z  +  +[Y(&     +    +6    6 + + + + + + + +  + +  +       +   + +   +      +  ? +>    + + + + +     +           + +  +                 + + + + + + ! %%!!""#,$$!!)" +  + + +      + +  ( & -'* +       + + + + +           + +     + +!% $+) " + "   + +          +     ))    +-  ) %   +86((     +    &$  + +  +      +   + + +  + +   + +  + +  +   + +   +      + *(  +  +  + +  + + +   +   + +     +   +   ! '#      $    +     +     + + + +   +         +        +   + +        + +  +    +   + +   + +  +  + + +  + + +   + +         + + +  +  +      +   +  +     +   +       +  +    +         +  %# #!   +    + !  +      +      +   +       +  &$*(    ! +  20 )'   +  +   + +    + +                       +  :8  + + + +     + + + +     "   +      +    " +   +   +   +     + + +     +   + +=;B@ +       %#  + +         +  + + +    +   +    + + +    +  +   +   +   +      + + + +    + :8=; +           + + + + 97 + + + +    +    +     +  +  +  + + +   + +    + + + + +  +    +   +  + +  +   + +  & +  +           +  + + +    +  +  +         + +   +          + +  +  + + +      +        +  +   +    +   +%# !     + + +         +    + +  +     +         +      +  +   +     +  + + + + + + +  + +        +   +  +     +   + +  + +  +    + +   +   +  +   +    + +           + + $'3 + + +   & + +  +   +   + +   + + + +  +    +      +  +   + +    +  +     +  +    +  +    " '% +  +    + + +    +  + + + + + + +  +        + +  +   !        +   + +#!       +   #   +EC +      +    + + +           + +  +   +         + +  +       +  +   +     +               + $"  +       +         +  + +      + + + +  +   +   + +       + )' +  + +     "  + +   +   +    +  +      +       +    +            + +     !#   +  +          +     + + +  + + +  +       +  +     + + +     + + $& "         +    +  + +   "   + +    +  + + + $" +  @>  +     +     +   0.  + + + +  +    !   + +  +   +  + + +   +  +    + +  +  +  +           + + +  + +  + + + +   +  + + #!  +    +   +   +        + + + JH      +  + +        +   +   + +         '%  +     + + + +       +          +  +  +     +        +  + +    +    +  + +  +   +  +     +   + +    + +           +      + "#!#!          +      +   +     ! !   +     + #     +   +  + +  +   +        +  + +      +  +    +  + +   + +    + + + +  + + +        + +  + + + +   +   + +            + + + + + +   + + + + + +   + +   +     +  + +     +     + +      +    +       +    + +      + +  +  +  + + + +  + + + +  + + + + +  +    + +  + + +  + + + + + +  +  + + +    + +     +   +  +   + + +  !  "      +         + +20       +  "  +       !    +     + + + +  + +   +   +       !  + &$  +            + +   + +     + +   + +      + + + +    + + +      +   + +  + + +      + + + + +  +     + + +  + +*('%*('%#! $"" $""  +  +     + +     +   ;9       +  +                      +          +      + +    +  + +   !    + ) +       + +   +  + +     +   97   +        +        +  +          + +  + + + +  +       + +  !" "  !  +#!#!!#!   #! %#  %#&$ $" +#!  + +           " + +      +                   +       +          +         +       +   +     + !    +      +     +    +  +           + +    + + +      + %#'%     + @><: + &$ + + + + + + + + + +        +  + +    + +  +     + +   +     + +     +  + ?=      + Oá^À [                                         ""      "$$      $&&      &((      (**      *,,      ,..      .00      022      2       44466<  < <  < < < 66<BB<B<BB<B<B<BHHHHJJJJJNNHJJJJJJNNHJJJJ66   TX444      666      `d                      JJJJhJJ      JJJJhJJ    JJJJhJJ      JJJJhJJ    JJJJhJJ      JJJJhJJ    JJJJhJJ      JJJJhJJ    JJJJhJJ      JJJJhJJ    JJJJhJJ      JJJJhJJ BB   JJJJhJJB   BBBJJJJhJJ BB   JJJJhJJB   BBBJJJJhJJ <  < jj   <  < < 444      666      `d         <  < jj   <  < < 444      666      `d<  < <  < < <          <  < jj   <  < < 444      666      `d         <  < jj   <  < < 444      666      `d         <  < jj   <  < < 444      666      `d         <  < jj   <  < < 444      666      `d""     "    <  < jj   <  < < 444      666      `d          <  < jj   <  < < 444      666      `d&&     &    <  < jj   <  < < 444      666      `d$$     $    <BB<Bll   <BB<B<B444      666      `d**     *    <BB<Bll   <BB<B<B444      666      `d,,     ,    <nn<n66   <nn<n<n444      666      `d<nn<n<nn<n<n<n..     .    <pp<p66   <pp<p<p444      666      `d<pp<p<pp<p<p<p((     (    <rr<r66   <rr<r<r<rr<r<rr<r<r<r444      666      `d00     0    BBBBBBBBBBBBBBBppprrrnnnnnnnnnnnnnnnnnnnnnnnnnnnppnnnpppnnnpppnnnpppnnnpppnnnpppnnnpnnBBBnnnnnnnnnnnnnBBBBBBBBBBBB                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   nn   nnnnnn   nnnBBBnnnBBBnnnBBBnnnBBBnnnnnnnnnnnnnnnnnnnnnn         HHHHHHHHHHHHnnnpppppppppppppppppppppppppppppp                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           pp   pppppp   ppp   ppp   ppp   ppp   pHHHHHHHHHHHHppHHHpppHHHpppHHHpppHHHpnnnnnnnnnBBBBBBBBBnnnrrrrrrrrrrrrrrrrrrrrrrrrrrrrrBBBrrrrrrrrrrrrrBBBBBB   rrBBBrrrBBBrrrrrrrrrrrrrrrr44444444                                         ""      "$$      $&&      &((      (**      *,,      ,..      .00      022      222222222                      JJJJhJJ      JJJJhJJ    JJJJhJJ      JJJJhJJ    JJJJhJJ      JJJJhJJ    JJJJhJJ      JJJJhJJ    JJJJhJJ      JJJJhJJ    JJJJhJJ      JJJJhJJ BB   JJJJhJJB   BBBJJJJhJJ BB   JJJJhJJB   BBBJJJJhJJ       444 < +< +<666 + + + +    +   +       444 +   + +     +x  x ~  ~    x  x ~  ~    x  x ~  ~    x  x ~  ~    x  x ~  ~    x  x ~    ~              x  x ~  """"~ """"""""""""   "x  x ~  $$$$~ $$$$$$$$$$$$   $x  x ~  &&&&~ &&&&&&&&&&&&   &xppxp~pp((((~p((((((((((((   (xnnxn~nn....~n............   .xrrxr~rr0000~r000000000000   0xBBxB~BB****~B************   *xBBxB~BB,,,,~B,,,,,,,,,,,,   ,€€€Š€Š€Š€Š€Š€Ž€Š    €”€”HHHHHHH€˜€œH€¢€¢€¢€¢€¢€¢€¢€¢<  < < HHH€¢€¤€¤€¤€¦€¦€¦€¬€¢€¢<  < €¬€¢<     €¢€¢€¢      €²€²€¸<  < €¸< €¸< €²€À<  < €À< €À€¢€¢€À€¢€À€¢€À< €Â€Â€Æ €Ê€Ì€Ì€Ò€Ò€Ò    €Ò  €¢€¢€¢     HHH €¬<  < €¢€¢€¬< €¢HHH   H €¢€¢<  < <       €¢€¢€¢<  < <      €¢€Ò€Ò€¸€¢€¢€¸€¢€¸€¢€Ò€À€¢€¢€À€¢€À<  < €À< €À< €À€¢€Ô€ÔHHHH€ÜH€Æ €à€Ò€Ò€¸€¢€¢€¸€¢€¸€¢€Ò€â€â€Ò€Ò€Ò€Ò  <  < <   <  < <      HHH €â€â€¸€¸€¸€¸  <  < <   <  < <      HHH €è€è€è€è€è€ì€è€è€è€è€è€è€î€î€è<  < < €¢€¢€¢<  < < €¢€¢€¢€¢€¢€¢    €ô<  < €¢€¢€ô< €¢€ö€ö€ö€ú€ö€ö€þ€ö€ú€ö€ö€ö€ö€ö€ö€¢€¢€¢€¢€¢€¢€¢€¢      €¢ €¢€¢€¢           €¬<  < €¢€¢€¬< €¢HHHHH€¢€¢<  < < €¢€Ò€Ò€¸€¢€¢€¸€¢€¸€¢€Ò€¢€¢€¢€¢€¢€¢            €¢€¢€¢HHH                  <  < <      HHH  €¢€¢€¢<  < <      HHH       €¢€¢€¢       HHH   €â€â <  < <    <  < <      HHH  <  < <      HHH  + +€¸€¢€¢€¸€¢€¸€¢€¸€¢HHH <  < <      HHH  + +€Ò€Ò€Ò€ÒHHH <  < <      HHH €¬€¢€¢<  < €¬€¢< €¢€¢€¢      €²€²€¸<  < €¸< €¸< €²                     <  < <                                   HH   H€¢€¢€¢      €¢€¢€¢    €¢€¢€¢           €¢€¢€¢         €¢€¢€¢       €¢€¢€¢        €Ì€Ì€¸<  < €¸< €¸< €¸<  €¢€¢€¢   €¢€¢€¢     HHH <  < <  <  < <  < "€¸<  < €¸< €¸< $$( <  < <      HHH €Ò€Ò <  < <    <  < <      HHH €â€â€¸<  < €¸< €¸< €¸<  <  < <   €â€â   <  < <  <  < <  < <     <  < <  <  .  . .       €¸ +€¸ + < +< +< + < +0 +0 +4 +  + +   + + < +< +< + < + < +< +< +< + < +  + +  6 +6 +6 +6 +6 +€¸ +€¸ +€¸ +€¬ + +€¬ + +€¬ + +6 +6 +6 +  + +  <<<BBB   + + + + + + + +€¬ + +€¬ + +€¬ + +€¬ + +€¬ + +€¬ + +€ô + +€ô + +€ô + +€ô + +€ô + +€ô + +€ô + +€ô + +€ô + +€ô + +€ô + +€ô + +€ô + +€ô + +€ô + +€ô + +€ô + +€¬ + +€¬ + +€¬ + +€¬ + +€¬ + +€¬ + +€ô + +€ô + +€ô + +€ô + +€ô + +€ô + +€ô + +€ô + +€ô + +€ô + +€¬ + +€¬ + +€¬ + +€¬ + +€¬ + +€¬ + +€ô + +€ô + +€ô + +D + +D + +€¬  +   + €¬ +  + €¬ + +€¬ + +€¬ + +€¬ +  +  + + + +€¬ + +€¬ + +€¬ + +€¬ + +€¬ + +€¬ + +€¸ +€¸ +€¸ +€¸ +€¸ +€¸ +€À +€À +€À +€À +€À +€À +€¬ + +€¬ + +€¬ + +€¬ + +€¬ + +€¬ + +€¬ + +€¬ + +€¬ + +€¬ + +€¬ + +€¬ + +€¬ + + + + + +€¸ +€¸ +€¸ +€¸ +€¸ +€¸ +€ô€¢€¢<  < €ô€¢< €¬€¢€¢<  < €¬€¢< €¬€¢< €¬<  < €¢€¢€¬< €¢€¬< €¢J€¢€¢J€¢€À<  < €À< €À< J€¢€¢€¢€¢P€¢€¢€”€”P€¢€”P€¢€”€”€”€¢€¢€¢€”VVVVVZV€¢€¢€¢HHHHHHHHHHHH\\\\\``HHHH\\\\\\``HHHH\\\\\\``HHHH\\\\\\``HHHH\€¢HHHH€¢€¢€¢HHHHHHHHdj€¢€¢€¢€¢€¬€¢€¢€¢€¢€¬€¢€¢\\\\\n\\€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢     €¢€²€²€¸€¢€¢€¸€¢€¸€¢€²€Ì€ÌVVV€²€²€²V€² €¢€¢€¢     HHH  tt<<<<<<€¢€¢€¢<<€¢€¢€¢€¢zz<<<€¢€¢€¢|||||€|<<<<<<<<<<€¢€¢€¢€¢€¢€¢<<<<<<<<<<<‚€ô<<€¢€¢€ô<€¢<<<<<<<<<<<<<<<<‚<<<<<<<<<<<<<<<‚<†Š<<<ŒŽ<‚<<<<<<<<‚€¢€¢€¢<<<<<<<<<<<€¢€¢<<<<<‚<€¢’’’€¬<<€¢€¢€¬<€¢€¢€¢€¢<<‚<<<<‚<–˜<€¢<<‚<˜<€¢€¢<<<€¢<<<€¸€¢€¢€¸€¢€¸€¢<€À€¢€¢€À€¢€À<<€À<€À<€À€¢€¬<< +€¬< +€¬€¢€¢ +€¬€¢ +€¬€¢ +€¬< +€¬<<<  < €¬<<       ž ¢¢<  < < <<‚<<   €¢€¢€¢‚‚   <  < €¢€¢€¢< <  < <<<< <<<€¸<  < €¸< €¸< <€À<  < €À< €À<<€À<€À<€À< <<<€¢€¢€¢<<‚<<€²€²€²HHH€²<€¢ <<<  <<<€Ò€Ò€Ò<  < < <<‚<<   HHH€Ò<<         <<<  €¬€¢€¢<<€¬€¢<<<<<<<<<<<<<<<<<<<<<<<<<<¦<<<‚€¢€¢€¢€²€²€¸<<€¸<€¸<€²€À<<€À<€À€¢€¢€À€¢€À€¢€À<€¢€¢€¢‚‚‚                                                          <<<‚‚‚€¢€¢€¢ €¢€¢€¢  €¢€¢€¢         ¬¬¬      €¢€¢€¢  <<<  <<<  <<< HH<<<H <<<<<<< HHP<<<<P<<P<<H®®       <<<<<<< HHP<<<<P<<P<<H®®´´´´‚‚€¢€¢<<<‚‚€¢€¢€¢€¢ <<<´´´‚‚€¢€¢€¢ €¢€¢€¢ ¬¬¬  €¢€¢€¢  €¢€¢€¢        ¶¶¸¸€¢€¢€¢´´´‚‚€¢   ®®                  ‚‚     <<<<  < < ‚‚           +    €¢€¢€¢ ¬¬¬  €¢€¢€¢  €¢€¢€¢  €¢€¢€¢                 ºº¸¸<  < < ‚‚<                 ÀÀÀÀÀÄÀ    €”€”HHHHHHHÈÌH€¢€¢€¢€¢€¢€¢€¢€¢<  < < HHH€¢ÎÎÎÐÐЀ€ÂÔ €Ê€Ô€ÔHHHHÜHÔ €à€Ò€Ò€¸€¢€¢€¸€¢€¸€¢€Ò€â€â€²€²€²€²  <  < <   <  < <      HHH  <  < <      HHH  <  < <       <  < <      ÞÞ€²€²€² <  < <      HHH        D€¢€¢€¢€¢D€¢€¢.€¢€¢.€¢€¢€¢€¢      .€¢<€¢€¢<€¢€¢€¢€¢<€¢€²€²€¸€¢€¢€¸€¢€¸€¢€²€À€¢€¢€À€¢€À€¢€¢€À€¢€À€¢€À€¢€Ì€Ì€²€²€²€¢€¢€¢HHH€² €¢€¢€¢     HHH   €¢€¢€¢     ää6€¢€¢6€¢6€¢€¢6€¢6€¢6€¢€¢6€¢6€¢ <<<BBB €¢€¢€¢ €¢€¢€¢ €¢ææꀸ€¢€¢€¸€¢€¸€¢ììð´´´ò´´ò´ö´ €¢€¢€¢     HHH €Ò€ÒHHH€Òøøø´´´´´  úúþ øø   ´´´´      <<<  <<<  ...€¢€¢€¢ øø  ‚‚‚€²€²€²€²     <<<  <<<  ...€¢€¢€¢  ‚‚€²€² €¢€¢€¢     HHH   €¢€¢€¢ €Ò€ÒHHH€Òøøø´´´€Ì€Ì + + +  €¢€¢€¢     HHH  €¢€¢€¢ €Ò€ÒHHH€Òøøøò‚‚ò‚ €¢€¢€¢ €¢ €¢ €¢ €Ò€ÒHHH€Ò€Ì€Ì€¸€¢€¢€¸€¢€¸€¢€¸€¢ €¢€¢€¢  €¢€¢€¢     HHH  €Ò€Ò‚ ‚ ‚ €¸<<€¸<€¸<´´´€¸<´HHH  <  < <   <  < <      HHH €Ò€Ò‚ ‚ ‚ €²€²€²‚‚‚€²€²€²HHH€²‚‚‚HHH  <  < <   <  < <      HHH        ‚‚‚‚‚‚‚€”€”HHHHHHH‚‚H€¢€¢€¢€¢€¢<  < < HHH€¢‚‚‚‚‚‚€¬€¢€¢<  < €¬€¢< €¢€¢€¢      €²€²€¸<  < €¸< €¸< €²€À<  < €À< €À€¢€¢€À€¢€À€¢€À<               HH     H  €¢€¢€¢      ‚ ‚ ‚‚€Ò€Ò€Ò€Ò  €¢€¢€¢     HHH €¬<  < €¢€¢€¬< €¢HHHHHHH‚$‚,H€¢€¢<  < <       €¢€Ò€Ò€¸€¢€¢€¸€¢€¸€¢€Ò€À€¢€¢€À€¢€À<  < €À< €À< €À€¢€¬<  <  +€¬<  +€¬€¢€¢ +€¬€¢ +€¬€¢ +€¬<  +€¢€¢HHH<  < <      €¢                           HHH   HHH       HHH           €¢€¢€¢                                                          €¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢‚0€¢‚2€¢‚4€¢‚6€¢‚8€¢‚:€¢‚:€¢‚:€¢‚:€¢‚:€¢‚<€¢‚4€¢‚>€¢‚@€¢‚B€¢‚0€¢‚2€¢‚4€¢‚6€¢‚8€¢‚:€¢‚:€¢‚:€¢‚:€¢‚:€¢‚<€¢‚D€¢‚>€¢‚@€¢‚B€¢‚0€¢‚2€¢‚4€¢‚6€¢‚8€¢‚:€¢‚:€¢‚:€¢‚:€¢‚:€¢‚<€¢‚4€¢‚>€¢‚@€¢‚B€¢‚F€¢‚F€¢‚F€¢‚F€¢‚F€¢‚0€¢‚0€¢‚0€¢‚0€¢‚0€¢‚F€¢‚F€¢‚F€¢‚F€¢‚F€¢‚2€¢‚2€¢‚2€¢‚2€¢‚2€¢‚F€¢‚F€¢‚F€¢‚F€¢‚F€¢‚4€¢‚4€¢‚4€¢‚4€¢‚4€¢‚F€¢‚F€¢‚F€¢‚F€¢‚F€¢‚H€¢‚H€¢‚2€¢‚2€¢‚2€¢‚F€¢‚F€¢‚F€¢‚F€¢‚F€¢‚2€¢‚2€¢‚J€¢‚J€¢‚J€¢‚F€¢‚F€¢‚F€¢‚F€¢‚F€¢‚H€¢‚4€¢‚4€¢‚4€¢‚4€¢‚F€¢‚F€¢‚F€¢‚F€¢‚F€¢‚4€¢‚L€¢‚L€¢‚L€¢‚L€¢‚F€¢‚F€¢‚F€¢‚F€¢‚F€¢‚2€¢‚2€¢‚2€¢‚N€¢‚2€¢‚F€¢‚F€¢‚F€¢‚F€¢‚F€¢‚0€¢‚0€¢‚0€¢‚0€¢‚P€¢‚F€¢‚F€¢‚F€¢‚F€¢‚F€¢   ‚R   ‚R   ‚T   ‚V   ‚X   ‚Z   ‚\   ‚^   ‚`   ‚b   ‚d HH   TXH€¢€¢   €¢HHH€¢€¢<  < <      €¢€¢€¢<  < <      €¢€¢€¢<  < <      HHH€¢€¢€¢     HHH€¢ ´´´ €¢€¢     HHH€¢<  < <      BBBBBBBBBBBBBBBBBBBBBBBB¬¬ + + + + + +¬¬ + + + + + +¬¬¬¬¬¬BBB¬¬¬¬¬¬¬¬¬¬¬¬BBB¬¬¬BBB¬¬¬BBB¬¬¬BBB¬¬¬BBB¬¬¬BBB¬¬¬BBB¬¬¬BBB¬¬¬BBB¬¬¬ + + + + + + + +‚r +‚t +€¢€¢€¢HH<<<H   ‚n +‚n +‚n +‚n +‚n +‚n +‚n +‚n +‚n +‚n +‚n +‚n +‚n +‚n +¬¬¬‚n +BBBBB‚n +‚n +‚n +B +‚n +‚n +‚n + +        BBBHHH¬¬¬ + + + + + + + + + + + +€¢€¢€¢HH<<<H   ‚z +‚z +‚z +‚z +‚z +‚z +HH‚z¬¬‚z¬‚z¬H‚z +‚z +‚z +‚z +‚z +‚z +HH‚z¬¬‚z¬‚z¬HHH‚n¬¬‚n¬‚n¬H‚n +‚n +‚n +‚n +‚n +‚n +‚n +‚n +‚n +‚n +‚n +‚n +¬¬¬‚| +‚| + + + + + + + + + + + + + + +‚€ + ‚„HH +‚†¬ ‚ˆ¬¬‚ +‚Š + ‚„HH +‚†¬ ‚ˆ¬¬‚ +‚n +‚n +‚n +‚n +‚n +‚n +¬¬¬‚| +‚| +‚z +‚z + + + + + + + + + + + + + + +‚n +‚n +‚n +‚n +‚n +‚n + + + + +  + + + + ¬¬ + + + +‚Œ€‚‚f`d€€`d€€€¢€¢€¢€¢€¢€¢‚Ž‚’€¢€¢€¢€¢‚Ž‚Ž‚Ž‚Ž‚Ž‚’‚Ž<<<‚”‚”‚˜‚”¢¢€¢€¢€¢€¢€¢€¢‚ž‚ž‚ž¢¢‚ž‚ž‚ž¢¢TX€¢€¢€¢<<<€¢€¢€¢<<<TT‚ ‚ €¢<‚¦‚¬‚¬‚¦‚¬‚¬‚¬‚¬‚¬‚¬‚¬‚¬‚¬‚¬‚¬‚¬€¢€¢€¢   ‚¬‚¬‚¬€¢€¢€¢   ‚¬¬¬¬‚¬‚¬‚¬‚¬‚¬‚¬‚¬‚¬‚¬‚¬‚¬‚¬‚¬‚¬‚¬‚¬‚¬‚¬‚¬‚¬‚¬‚¬‚¬‚¬BB‚¬‚¬‚¬B‚¬‚¬‚¬‚¬‚¬‚¬‚¬‚¬‚¬‚¬‚¬‚¬‚¬‚¬‚¬‚¬‚¬‚¬‚¬‚¬   ‚¬‚¬‚¬   ‚¬‚¬‚¬‚¬‚¬‚¬‚¬‚¬‚¬‚¬‚¬‚¬‚¬‚¬‚¬‚¬‚¬‚¬‚¬‚¬‚¬‚¬HH‚¬‚¬‚¬HHH‚¬‚¬‚¬HHH‚¬‚¬‚¬HHH‚¬‚¬‚¬H  ‚¬‚¬‚¬     HHHHHHHHH‚¬‚¬   ‚¬‚¬‚¬‚¬‚¬‚¬‚¬‚¬‚¬‚¬‚¬‚¬‚¬‚¬‚¬‚¬‚¬‚¬‚¬‚¬‚¬‚¬‚¬‚¬   ‚¬‚¬‚¬   ‚¬HHH   BBB€¢€¢€¢€¢€¢   €¢TX€¢€¢€¢HHHH€¢€¢€¢   HHHHH`dHHHHHH`dHHHHHH`dH€¢€¢€¢   + + + +  +  +    + +  ‚¦‚¦‚¦‚¦‚¦‚¦ ‚¦‚²‚²‚¦‚²                                                                  HHH                                                ‚²‚²€¢€¢€¢‚²‚²‚²€¢€¢€¢‚²       HHHH   HHHH HHH<<<HHH‚²‚²‚²HHH‚²‚²‚²HHH‚²‚²‚²H  ‚²‚²‚²   ‚²‚²‚²‚²‚²‚²€¢€¢   €¢€¢€¢   €¢€¢€¢   €¢€¢€¢   €¢€¢€¢€¢€¢€¢€¢‚²‚²‚¸‚¸‚¸‚²‚²‚²‚¸‚¸‚¸‚²‚¸‚¸‚²‚²‚²‚¸                 HHH                  HHH     €¢€¢€¢‚¸‚¸‚¸                   ‚¾‚¾‚¾¬¬BBB‚ÂBBBB‚ÂBBBB‚ÆB‚ÈBBBBBBBBB¬¬¬BBB¬¬¬BBB¬¬¬BBB¬¬¬BBB¬¬¬BBB¬¬¬B  ¬¬¬ BBBBBBBBB         BBBBBBBBBBBB€¢€¢€¢BB€¢€¢€¢BB€¢€¢€¢¢¢B€¢BBB€¢€¢€¢B‚¦‚¸‚¸‚¦‚¸                  ‚Ì ‚Î ‚ˆ   ‚Ð ‚Ò ‚ˆ   ‚Ô ‚Ö ‚ˆ   ‚Ø ‚Ú ‚ˆ   ‚Î ‚Ò ‚ˆ   ‚Ü ‚Ö ‚ˆ   ‚Þ ‚Ú ‚ˆ   ‚Ò ‚Ö ‚ˆ   ‚à ‚Ú ‚ˆ   ‚Ö ‚Ú ‚ˆ ‚¸‚¸‚¸‚¸‚¸‚ä ‚¸                      ‚æ‚è ‚ì ‚ˆ ‚Ø ‚î ‚ˆ ‚ð ‚Ô ‚ò ‚ˆ ‚ð ‚Ð ‚ô ‚ˆ ‚ð ‚Ì ‚ö ‚ˆ ‚ð ‚ø ‚ð ‚æ ‚¸‚¸‚¸‚¸‚¸‚¸‚¸‚¸‚¸‚¸‚¸‚¸‚¸‚¸¬¬¬‚¸‚¸‚¸   ‚¸HH‚¸‚¸‚¸HHH‚¸‚¸‚¸HHH‚¸‚¸‚¸HHH‚¸‚¸‚¸H             HH<<<H    ‚¸‚¸‚¸ €¢€¢€¢HHH‚¸‚¸‚¸‚¸‚¸‚¸€¢€¢<<<€¢€¢€¢€¢€¢€¢€¢€¢€¢<<<€¢BBBtt<<<<€¢€¢€¢tttt‚Ž‚’ttTX€¢€¢€¢ttHHH‚€¢€¢€¢‚TX€¢TX€¢`d + + +€¢€¢€¢`d +€¢€¢€¢€¢€¢€¢€¢€¢€¢‚ú‚ú¬¬¬¬¬¬TX¬¬¬€¢€¢€¢€¢€¢€¢¬¬¬     €¢€¢€¢€¢€¢€¢TX   ‚€¢€¢€¢€¢€¢€¢   ‚ü‚üƒ        €¢€¢€¢€¢€¢€¢    ‚€¢€¢€¢   €¢€¢€¢        €¢€¢€¢€¢€¢€¢€¢€¢€¢    €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢‚ú‚úƒƒ      ‚€¢€¢€¢€¢€¢€¢       €¢€¢€¢€¢€¢€¢tt€¢€¢€¢   TX€¢€¢€¢tt€¢€¢€¢€¢€¢€¢€¢€¢€¢tt<<<ƒƒƒ<<<ƒƒƒ<<<Pƒƒ‚PƒPƒ‚Ž‚’€¢€¢€¢ttTX€¢€¢€¢€¢€¢€¢TX€¢€¢€¢ttƒƒ€¢€¢€¢€¢€¢€¢€¢tt€¢€¢€¢€¢€¢€¢€¢tt<<<<€¢€¢€¢ttTX€¢€¢€¢BBBttTX€¢€¢€¢BBBtt€¢€¢€¢€¢TX€¢€¢€¢ƒƒ‚€¢€¢€¢ƒƒ€¢€¢€¢‚   €¢ TX€¢€¢€¢ƒƒTX€¢€¢€¢<<<€¢€¢€¢€¢€¢€¢€¢€¢€¢ +<<< + <<< + + ƒƒƒ<‚<<Pƒƒ‚PƒPƒ   HH<<<H<<<<<<HHH<<<  TX ¬¬€¢€¢€¢                                            HHHHHH                         BBBBBBBBBBBB€¢€¢€¢€¢€¢   €¢  €¢€¢€¢    €¢€¢€¢¢¢ €¢  €¢€¢€¢    ƒƒƒ.<<.<.<Pƒƒ<<Pƒ<Pƒ<ƒƒƒ.ƒ"ƒ".ƒ".ƒ".<<.<.<Pƒƒ<<Pƒ<Pƒ<ƒƒƒƒ$ƒ$ƒ(ƒ(ƒƒƒ<<<ƒ$ƒ$ƒ*ƒ*ƒƒƒ<ƒ"ƒ"<ƒ"<ƒ"<‚<<Pƒƒ‚PƒPƒHHHHHHHHHHHHƒƒƒƒƒ<ƒ"ƒ"<ƒ"<ƒ"<<<<<<<Pƒƒ<<Pƒ<Pƒ<ƒ.ƒ"ƒ".ƒ".ƒ".<<.<.<Pƒƒ<<Pƒ<Pƒ<ƒƒ<<<<‚<<Pƒƒ‚PƒPƒHHHHHHHHHHHH<ƒ"ƒ"<ƒ".ƒ"ƒ".ƒ".ƒ"<ƒ"    +    + ƒ0 +ƒ0 +ƒ4 +. +. +. +. +. +. +ƒ: +ƒ: +ƒ: +. +. +. +. +. +. +. +. +. +. +. + + + + + +. +. +. +HH + +H +. +. +. +. +. +. +. +. + + +. + +. +HH<<<H   + +  +  + + + + + + + + + + + + + + + + + + + + + +HHHH + +H +H€¢€¢€¢€¢€¢€¢HHHH + +H +H< +< +HHHH< +ƒ@ +ƒ@ +ƒ@ +   HHHHHH. +. +   . +. +. +HH + +H +. +. +. +   . +. +. +HH + +H +. + + + + + + + +HH + +H + + + + +HH + +H + + + + +HH + +H + + + + +   +€¢€¢€¢ƒB +ƒB +    +    +  +   +    +  +   +     ƒ: +ƒ: +HHHHHH + +ƒD +ƒD +   ‚Ž‚’    + +HHHHHHHH`d...HHHH. +. +. +HHHH    +    + HHHH...< +< +< +< +< +< + < +< +< +   < +< +< +      < +< +< +   . +. +. + < +< +< + +   +    + +   + +   + +       + +  . +. +. + . +. +. +   + + + +  +  +  ƒJƒJƒJ   + +      HH + +H +      HH + +H +      + +         + +    . +. +. +    . +. +. + HH<<<H +   + + + HH + +H +  HH + +H + < +< +< +< +< +< +< +< +     < +. +. +     . +     . +. +. +               + +      . +. +. + P   +P +P +HH<<<HPPPƒR + +ƒR + +ƒV + +ƒV + +P + +P + +P + +ƒR + +ƒR + +ƒX + +ƒX + +P‚‚PPƒR + +ƒR + +ƒZ + +ƒZ + +... +‚ + +‚ +ƒR + +ƒR + +ƒ\ + +ƒ\ + +. +. +. +. +. +. +ƒR + +ƒR + +ƒ^ + +ƒ^ + +P  +   + P +  + P + +P + +P + +P +  + .ƒ` + +ƒ` + +.ƒ` + +.ƒ` + +P + +P + +P + +HH<<<HHH<<<H +<<< +  + + + + .ƒ` + +ƒ` + +.ƒ` + +.ƒ` + +P + +P + +ƒ` + +ƒ` + + + + + +ƒ` + + + +P + + .ƒ` + +ƒ` + +.ƒ` + +.ƒ` + +  + + + + + + + + + + +  + + + + + + + +  HH + + + +H + +  + + + + + + P + +P + +P + +  +<<< +    + + + +  + + . +. +. +. +. +. +   HHHHHH + + + + + + + +ƒ` + +ƒ` + +ƒd + +ƒd + + + +€¢€¢€¢TX   €¢€¢€¢‚¦¬¬‚¦¬HH<<<H    ¬¬¬ ¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬BB¬¬¬B  ¬¬¬ ¬¬¬¬¬¬¬¬¬HH¬¬¬HHH¬¬¬HHH¬¬¬HHH¬¬¬HHHHHHHHHHHHH¬¬¬¬¬¬         BBBBBBBBBBBB¬¬¬¬¬¬¬¬¬   BBB€¢€¢   €¢€¢€¢   €¢€¢€¢   €¢€¢€¢€¢¬¬€¢€¢€¢¬¬€¢€¢€¢¢¢¬€¢¬¬¬€¢€¢€¢¬TXTXHH<<<H   €¢€¢€¢‚ƒƒƒTXƒ"ƒ"ƒ".ƒjƒj.ƒj€¢€¢€¢    .ƒjƒjƒj€¢€¢€¢    ƒj     €¢€¢   €¢€¢€¢   €¢<€¢€¢<€¢<  < < <€¢   €¢€¢€¢ƒlƒlƒl<<< ƒlƒl€¢€¢€¢HHHHHHHHHH`dHHHH`dHH€¢€¢€¢€¢€¢€¢ƒnƒn€¢€¢€¢ƒn.ƒnƒn.ƒn€¢€¢€¢    .ƒnHH€¢€¢€¢H€¢€¢€¢€¢€¢€¢€¢€¢€¢HHHHHHHH`dHHH`dHƒjƒj`d€¢€¢€¢€¢€¢€¢.€¢€¢.€¢.€¢ƒD +ƒD +ƒt +ƒt +ƒx +ƒt +ƒt +ƒz +ƒz +...ƒt +ƒt +ƒ| +ƒ| +. +. +. +ƒt +ƒt +ƒ~ +ƒ~ +. +. +. +`dƒ@ +ƒ@ +ƒ@ +ƒ@ +ƒ@ +ƒ@ +ƒ@ +ƒ@ + ƒ@ +ƒ@ +ƒ@ +ƒ@ +ƒ@ +ƒ: +ƒ: +ƒ: +HH<<<HHH + +H . +. +. + HH<<<H +<<< + .<<.<.<  .<<.<.<  HH + +H +  HH + +H + HH.<<.<.<Hƒ@ +ƒ@ +ƒ@<<ƒ@<ƒ@<ƒ@ +ƒ@ +ƒ@ +ƒ@ +ƒ@ +ƒ@ +ƒ@ +ƒ@ +ƒ@ +ƒ@<<ƒ@<ƒ@<ƒ@ + ƒ@ +ƒ@ +ƒ@ +  + +  ƒ€ƒ€ƒ€ƒ„ƒ€`d€¢€¢€¢ƒ€ƒ€ƒ„BBB€¢€¢€¢BB€¢€¢€¢€¢€¢€¢€¢               ‚¸‚¸‚¸     HHH     ‚¦€¢€¢‚¦€¢ƒlƒlTX.  . .          €¢€¢€¢€¢€¢€¢€¢€¢   €¢         HH<<<H  €¢€¢€¢ HH€¢€¢€¢HHHƒlƒlƒl    H  ƒlƒlƒl      ƒlƒlƒl    HHHHHH€¢€¢€¢€¢€¢€¢€¢€¢     €¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢   €¢€¢€¢   €¢€¢€¢€¢€¢€¢   €¢€¢€¢€¢HHƒlƒlƒl    H€¢€¢ƒlƒlƒl€¢€¢€¢    €¢€¢€¢ƒlƒlƒl€¢€¢ƒjƒjƒj€¢ƒj    €¢€¢€¢ƒlƒlƒl€¢€¢€¢€¢€¢€¢ƒlƒlƒl€¢€¢ƒjƒjƒj€¢ƒj€¢ƒj€¢€¢€¢     €¢€¢€¢€¢<€¢€¢<€¢ƒlƒlƒl<€¢€¢€¢ƒlƒlƒl€¢€¢ƒjƒjƒj€¢ƒj€¢ƒj€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢<  < < ƒ†ƒ†ƒ†€¢€¢€¢€¢€¢€¢.  . €¢€¢€¢€¢ƒˆƒˆƒˆ     HHH   HHH       ƒŠ  ƒŠ €¢€¢€¢       €¢€¢€¢€¢€¢€¢                   €¢€¢€¢HHHHHH´´<<<   HHHHHH <<<     .‚..€¢€¢€¢  <<<  €¢€¢€¢ <<<  .‚..€¢€¢€¢  <<<    ƒƒƒƒƒƒŽƒƒƒƒƒƒƒŽƒ€¢€¢€¢ƒ’ƒ˜ƒ˜ƒœ   HH<<<H   HH<<<H€¢€¢€¢                                                 €¢€¢€¢ƒ¢ƒ¢ƒ¢€¢€¢€¢€¢€¢€¢€¢€¢€¢   €¢€¢€¢.€¢€¢.€¢.€¢€¢€¢€¢P€¢€¢‚P€¢P€¢€¢€¢€¢ƒ¤ƒ¤ƒ¨€¢€¢€¢€¢€¢€¢P€¢€¢‚P€¢P€¢ƒ¤ƒ¤ƒªƒª€¢€¢€¢€¢€¢€¢P€¢€¢‚P€¢P€¢ƒ¤ƒ¤ƒ¬ƒ¬€¢€¢€¢HHHƒ¤ƒ¤ƒ®ƒ®€¢€¢€¢HHHƒ¤ƒ¤ƒ°ƒ°€¢€¢€¢€¢€¢€¢€”€”€”P€¢€¢€¢€¢P€¢€¢P€¢€¢HHHH<  < < €¢€¢€¢P€¢€¢€¢€¢P€¢€¢P€¢€¢HHHH€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢   €¢€¢€¢€¢€¢€¢€¢€¢€¢<€¢€¢<€¢<€¢P€¢€¢€¢€¢P€¢€¢P€¢€¢P€¢€¢<€¢€¢<€¢P€¢<€¢P€¢<€¢HHHHHHHHHHHHHHHHHHHHHHHH€¢€¢€¢HH€¢€¢€¢H€¢€¢HHH€¢ƒ²ƒ²ƒ²   HH<<<H€¢€¢€¢ƒ¢ƒ¢€¢€¢€¢€¢€¢€¢€¢€¢€¢   €¢€¢€¢.€¢€¢.€¢.€¢€¢€¢€¢P€¢€¢‚P€¢P€¢€¢€¢€¢ƒ¢ƒ¢ƒ¢ƒ¢ƒ¢ƒ¢€¢€¢€¢ƒ¢ƒ¢ƒ¢ƒ¢ƒ¢ƒ¢ƒ¢ƒ¢ƒ¢ƒ¢ƒ¢ƒ¢€¢€¢€¢      ƒ¢ƒ¢ƒ¢€¢€¢€¢      ƒ¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€”€”€”ƒ¶‚€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€”€”€”ƒ¶‚€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢P€¢€¢€¢€¢P€¢€¢€¢€¢€¢€”€”€”ƒ¶‚P€¢€¢<  < €¢€¢€¢< <  < €¢€¢€¢     < <  < €¢€¢€¢      < ƒ¢ƒ¢€¢€¢€¢€¢€¢€¢€¢€¢€¢   €¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢<€¢€¢<€¢<€¢   P€¢€¢€¢€¢P€¢€¢P€¢€¢P€¢€¢<€¢€¢<€¢P€¢<€¢P€¢<€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢                 €¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢   €¢€¢€¢.€¢€¢.€¢.€¢€¢€¢€¢P€¢€¢‚P€¢P€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢P€¢€¢‚P€¢P€¢€¢€¢€¢€¢€¢€¢P€¢€¢‚P€¢P€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢    €¢€¢€¢ €¢€¢€¢€¢€¢€¢HH€¢€¢€¢HHH€¢€¢€¢€¢€¢€¢H€¢€¢€¢   €¢€¢€¢ƒ¤ƒ¤€¢€¢€¢€¢€¢€¢€¢€¢€¢P€¢€¢‚P€¢P€¢ƒ¤€¢€¢€¢HHH€¢€¢€¢HHHHHH <€¢€¢<€¢<€¢HHH  <€¢€¢<€¢<€¢HHH       HHH ƒ¢ƒ¢€¢€¢€¢HHHƒ¢€¢€¢€¢HHHƒ¢ƒ¢€¢€¢€¢€¢€¢€¢€¢€¢€¢   €¢€¢€¢.€¢€¢.€¢.€¢€¢€¢€¢P€¢€¢‚P€¢P€¢€¢€¢€¢ƒ¢ƒ¢ƒ¢ƒ¢<€¢€¢<€¢€¢€¢€¢<€¢P€¢€¢<€¢€¢<€¢P€¢<€¢€¢€¢€¢P€¢<€¢ƒ¢ƒ¢ƒ¢    €¢€¢€¢ €¢€¢€¢€¢€¢     HHH€¢  €¢€¢€¢      HH   H€¢€¢€¢€¢€¢     €¢€¢€¢€¢HH   H€¢€¢€¢€¢€¢     €¢€¢€¢€¢€¢€¢     €¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢     €¢€¢€¢€¢€¢€¢     .€¢€¢.€¢.€¢€¢€¢€¢HHH€¢€¢€¢€¢€¢€¢€¢€¢€¢HHH€¢€¢€¢€¢€¢€¢     P€¢€¢‚P€¢P€¢€¢€¢€¢€¢€¢€¢     €¢€¢€¢€¢€¢€¢   HHH€¢€¢€¢   €¢€¢€¢€¢€¢€¢     <  < < HHHH€¢€¢€¢€¢€¢€¢     <  < < HHHH€¢HH   HHH   HHHH€¢€¢€¢€¢€¢€¢€¢€¢€¢HH€¢€¢€¢H€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢HHH€¢€¢€¢€¢€¢€¢€¢ƒ¢ƒ¢€¢€¢€¢ƒ¢  ƒ¢ƒ¢ƒ¢€¢€¢€¢ ƒ¢ƒ¢ƒ¢ƒ¢ƒ¢ƒ¢HHHHHHHHHHHHHHHHHHHHH€¢€¢€¢€¢€¢HHH€¢€¢€¢€¢€¢€¢ƒ¢ƒ¢ƒ¢€¢ ´´´ ƒ²ƒ²ƒ²€¢€¢€¢€¢€¢€¢HH<<<H<€¢€¢<€¢<€¢P€¢€¢<€¢€¢<€¢P€¢<€¢€¢€¢€¢€”€”€”ƒ¶‚P€¢<€¢€¢€¢<  < < €¢€¢€¢€”€”€”HHH€¢  €¢€¢€¢    €¢€¢€¢€¢€¢     €”€”€”HHH€¢HH   HHH   H<           < <           < <           < <           < <           < <           < <           < <           < <         < <         < <           <      €¢€¢€¢<  < < ƒ¢ƒ¢ƒ¢€¢< ƒ¢€è€è€èƒº€è€¢€¢€¢€¢€¢€¢€”€”€”P€¢€¢€¢€¢P€¢€¢P€¢€¢HHHH<  < < €¢€¢€¢P€¢€¢€¢€¢P€¢€¢P€¢€¢HHHHƒ¢ƒ¢ƒ¢ €¢€¢€¢€¢€¢€¢P€¢€¢€¢€¢P€¢€¢P€¢€¢‚‚‚<  < <  €¢€¢€¢ ƒ²ƒ²€¢€¢€¢ƒ²ƒ¢ƒ¢ƒ¢ƒ¢ƒ¢ƒ¢€¢€¢€¢€¢€¢€¢HHH€¢€¢€¢€¢€¢€”€”€”€¢P€¢€¢€¢€¢P€¢€¢P€¢€¢ƒ²ƒ²€¢€¢€¢   ƒ¢ƒ¢ƒ¢ƒ² <  < < <  < < ´´´ €¢€¢€¢<         < < ƒ¤ƒ¾< <                                <<<<<<€¢€¢€¢       <  < <    ƒ¢ƒ¢€¢€¢€¢             €¢€¢€¢   €¢      €¢HHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH€¢€¢€¢HHHHHHHHHHHH€¢€¢€¢H€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢   €¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢<€¢€¢<€¢<€¢P€¢€¢€¢€¢P€¢€¢P€¢€¢P€¢€¢<€¢€¢<€¢P€¢<€¢P€¢<€¢HH€¢€¢€¢Hƒ¢ƒ¢ƒ¢ƒ¢ƒ¢ƒ¢ƒ¢ƒ¢€¢€¢€¢€¢€¢€¢€¢€¢€¢   €¢€¢€¢.€¢€¢.€¢.€¢€¢€¢€¢P€¢€¢‚P€¢P€¢€¢€¢€¢ƒ¢ƒ¢ƒ¢€¢€¢€¢ƒ¢ƒ¢ƒ¢ƒ¢ƒ¢ƒ¢ƒ¢  ƒÀƒÀƒÀ ƒ¢ƒ¢ƒÀƒÀƒÀƒÀƒÀƒÀƒ¢€¢€¢HHH€¢€¢€¢€¢ƒ²ƒ²ƒ²   HH<<<Hƒ¢ƒ¢ƒ¢€¢€¢€¢ƒ¤ƒ¤ƒ²ƒ²ƒ²ƒ²€¢€¢€¢€¢€¢€¢ƒ²ƒ²ƒ²€¢€¢€¢     €¢€¢€¢   €¢€¢€¢<€¢€¢<€¢<€¢<€¢€¢<€¢<€¢€¢€¢€¢       ‚Œ€€€‚‚fHHH<B<Bx  x €¢€¢€¢€¢       €¢€¢ƒÂƒÂƒÂ€¢€¢€¢€¢€¢     €¢€¢€¢     J‚ž‚žJ‚žJ‚ž`d                                                                                                                                              + +ƒƒƒ<<<`d€¢€¢€¢€¢<< + +€¢€¢€¢ + +ttƒÄƒÄ€¢€¢€¢€¢€¢€¢€¢<< + + + + + +          `d                         `d    `d    `d                            `d                                                          `d    `d    `d    `d       `d    `d    `d    `d    `d    `d                      `d    `d    `d    `d    `d      ƒÊ ‚Ž‚’   ƒÌ ‚Ž‚’   ƒÎ ‚Ž‚’   ƒÐ ‚Ž‚’   ƒÒ ‚Ž‚’   ƒÔ ‚Ž‚’   ƒÖ ‚Ž‚’   ƒØ ‚Ž‚’   ƒÚ ‚Ž‚’   ƒÜ ‚Ž‚’   ƒÞ ‚Ž‚’   ƒà ‚Ž‚’   ƒâ ‚Ž‚’   ƒä ‚Ž‚’   ƒæ ‚Ž‚’   ƒè ‚Ž‚’   ƒê ‚Ž‚’   ƒì ‚Ž‚’   ƒî ‚Ž‚’   ƒð ‚Ž‚’   ƒò ‚Ž‚’   ƒô ‚Ž‚’   ƒö ‚Ž‚’   ƒø ‚Ž‚’   ƒú ‚Ž‚’   ƒü ‚Ž‚’   ƒþ ‚Ž‚’   „ ‚Ž‚’   „ ‚Ž‚’   „ ‚Ž‚’   „ ‚Ž‚’   „ ‚Ž‚’   „ + ‚Ž‚’   „  ‚Ž‚’   „ ‚Ž‚’   „ ‚Ž‚’   „ ‚Ž‚’   „ ‚Ž‚’   „ ‚Ž‚’   „ ‚Ž‚’   „ ‚Ž‚’   „ ‚Ž‚’   „ ‚Ž‚’€À +€À +€À +€À +€À +€À +HHH„  +„  +  + +  +  +ƒƒƒ   HHH„  +€À +€À +€À +„  +„  +„  +„  +„  +„&„&„&  + +  +  +ƒƒƒ„  +JJJ   + +  +  +  ƒƒƒ      + +  JJJ  HHHJ +J + + +J +D + +D + +„( + +„( + +„( + +„( + +„(  +   + „( +  + „( +  + €À +€À +€À +€À +€À +€À +€¬ + +€¬ + +€¬ + +€¬ + +€¬ + +€¬ + + + + + +€À +€À +€À +€À +€À +€À +€¬  +   + €¬ +  + €¬ +  + HHHH <  < <        HHHHHH „.„.        <  < <           HHHHHH      „.„.   <<< <  < <        HHHHHH  . +. +. +. +. +ƒ: +ƒ: +ƒ: +   HHHHHH. +. +   . +. +. +   . + +   + + + + + + +HH<<<H +HH + +H + + + + +€¢€¢€¢ƒ: +ƒ: +ƒ: +ƒ: +ƒ: +ƒ: +HHH + +„4 + +„4 + +. +. +. +. +. +. +. +. +. +. +„6 + +„6 + +ƒD +ƒD +ƒD +ƒD +ƒD +„4 + +„4 + +„< +„< +< +< +< + +   +    + +      + +  . +. +. +    + + + +  + +  + +  ƒJƒJƒJ     + +    . +. +. +    . +. +. + HH<<<H +   + + + HH + +H +  HH + +H + . +. +     . +     . +. +. +               + +      . +. +. + „> + +„> + +< +< +< +< +< +< +< +„4 + +„4 + +ƒ@ +ƒ@ +ƒ@ +ƒ@ +ƒ@ +ƒ@ +ƒ@ +ƒ@ +ƒ@ +ƒ@ +ƒ@ +ƒ@ +ƒ@ +ƒ@ +ƒ@ +ƒ@ +ƒ@ +HH + +H . +. +. + HH<<<H .<<.<.<  .<<.<.<  HH + +H +  HH + +H + HH.<<.<.<Hƒ@ +ƒ@ +ƒ@<<ƒ@<ƒ@<ƒ@ +ƒ@ +ƒ@ +ƒ@<<ƒ@<ƒ@<ƒ@ +ƒ@ +ƒ@ +ƒ@<<ƒ@<ƒ@<HHHƒ@ +ƒ@ +ƒ@ +ƒ@ +ƒ@ +ƒ@ +ƒ@ + ƒ@ +ƒ@ +ƒ@ +ƒ@ +ƒ@ +ƒ@ + +<<< +„D + +„D + +P + +P + +P + +P + +P  +   + P +  + P +  + HH<<<HHH<<<H +<<< +  + + + +  + + + + + + + P + +P + +P + +  +<<< +    + + + +  + + . +. +. +. +. +. +   HHHHHH + + + + + + + + + + + +  + + + + + + + + .ƒ` + +ƒ` + +.ƒ` + +.ƒ` + + .ƒ` + +ƒ` + +.ƒ` + +.ƒ` + +  HH + + + +H + + „4 + +„4 + +„J +„J +„J +„J +„J +„J +„J +„J +„J + + + + +  + +   + +   + + HH<<<H . +. +. +  HH + +H +  HH + +H +  tt€¢€¢€¢€¢€¢€¢€¢TX€¢€¢€¢€¢€¢€¢TX€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢tt€¢€¢€¢€¢€¢€¢€¢. +. +   ƒD +ƒD +    +   +ƒ: +ƒ: +ƒ: +   + +  + HHH + + + + + +HH<<<HHHHH + +H +HHHHH + +H +H +HH + +H + + + + + +HH + +H + + + + + +HH + +H + + + + +€¢€¢€¢€¢€¢€¢. +. +HH + +H +. +. +. + + + + + +. + + + + + + + + + + + + + + + + + + + + + + +. +. +   . +. +. +HH + +H +. +. +. +   . +. +. +HH + +H +. +< +< +HHHH< +ƒ@ +ƒ@ +ƒ@ +ƒB +ƒB +. +. +. +     . +         +   +. +. +   . +. +. +   . +< +< +HHHH< +ƒ: +ƒ: +. +. +. +      + +. +. +. + + +HHTXH + + + +. +. +. +. +. +„N + + + +„N + + + +„N + +. +. +. + + + + + +. + + +„N + +ƒ: +ƒ: +ƒ: +   HHH + + + + + + +   +„P + +„P + +ƒD +ƒD +. +. +. + + + + + +ƒ: +ƒ: + + +ƒ: +ƒ: +ƒ: +„N + + + +„N + + + +„N + +ƒ: + + +„N + +HHH + +ƒB +ƒB +. +. +. +„N + + + +„N + + + +„N + +. + + +„N + +    +   +HH + +H. +. +. +. +. +„R +H +„R +H +„R +. +H +„R +ƒ: +ƒ: +ƒ: +. +. + + + + + +. +ƒ: +ƒ: +ƒ: +ƒ: +ƒ: +„R +H +„R +H +„R +ƒ: +H +„R +HHH + +. +. + + +. +. +. +. +. +. +„T + +. + +„T + +. + +„T + +. +. + +„T + +ƒ: +ƒ: +ƒ: +ƒ: +ƒ: +ƒ: +ƒ: +ƒ: +„T + +. + +„T + +. + +„T + +ƒ: +ƒ: +ƒ: + + +ƒ: +. + +„T + + + +HHH. +. +. +. +. +   . +. +. +   . + ƒ: +ƒ: +ƒ: +„V +„V +ƒD +ƒD +. +. +. +     ƒ: +ƒ: +ƒ: +ƒ: +ƒ: +   ƒ: + HHH + +. +. +. +. +. +„R +H +„R +H +„R +. +H +„R +ƒ: +ƒ: +ƒ: +ƒ: +ƒ: +ƒ: +ƒ: +ƒ: +„R +H +„R +H +„R +HHHƒ: +H +„R +HHH + +. +. +. +. +. +   . +. +. +   . + . +. +   . +ƒ: +ƒ: +ƒ: +„X +„X +ƒD +ƒD +. +. +. +   . +. +. +     . +. +   . +     ƒ: +ƒ: +ƒ: +ƒ: +ƒ: +   ƒ: + HHH + +. +. +. +. +. +„R +H +„R +H +„R +. +H +„R +ƒ: +ƒ: +ƒ: +ƒ: +ƒ: +ƒ: +ƒ: +ƒ: +„R +H +„R +H +„R +HHHƒ: +H +„R +HHH + +ƒD +ƒD +ƒ: +ƒ: +ƒ: +   + +  + HHH    + + + + + + +   +HH<<<HHHHH + +H +HHHHH + +H +H +HH + +H + + + + + +HH + +H + + + + + +HH + +H + + + + +€¢€¢€¢€¢€¢€¢. +. +HH + +H +. +. +. + + + + + +. + + + + + + + + + + + + + + + + + + + + + + +. +. +   . +. +. +HH + +H +. +. +. +   . +. +. +HH + +H +. +< +< +HHHH< +ƒ@ +ƒ@ +ƒ@ +ƒ: +ƒ: +HHH + +. +. +. +. +. +. +. +. +. +. +ƒD +ƒD +ƒD +. +. +. +ƒ: +ƒ: +ƒ: +   HHHHHHHH<<<H + + + +„Z +„Z +ƒD +ƒD +ƒD +ƒD +ƒD +ƒD +ƒD +ƒD + +   + + + + +ƒ: +ƒ: +ƒ: +ƒ: +ƒ: +. +. +. +. +. +. +. +HHH + +. +. +.<<.<.<.<ƒ: +ƒ: +ƒ: +ƒ: +ƒ: +ƒ:<<ƒ:<ƒ:<ƒ:<HHH + +„\„\„\„\„\„\„\„\„\     + +     + +    . +. +. +  . +. +. + HH<<<H HH + +H +  HH + +H +   +   + + +          . +. +. + < +< +    + +    + +  + +    . +. +. +   + +     + +    . +. +. +  . +. +. + HH<<<H HH + +H +  HH + +H +  „` +  +  + „` +  +  + „` +  ƒJƒJƒJ   +   + + +     . +. +. +              . +. +. +       + + „b +„b +„d +„d +„b +„b +„f +„f +ƒB  ƒB <<<<       „h   +„h +< +< +< +< + +<<< +   . +. +. +.  . . HHHHHHHH<<<HHH<<<H     + +   + ƒB +ƒB +. +. +. +. +    +   +ƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒ< +< +< +< +< +< +< +< +< +< +< +< +„n +„n +„n„t +„t + + + + + + + + +   HHH  + +   + +   + + ƒ: +ƒ: +ƒ: +„n +„n +„n + + + +„v +„v +„v + „n +„n +„nƒ: +ƒ: + + + + +„v +„v +„v +„v +„v +„v +HHH €¢€¢€¢ €¢ €¢€¢€¢€¢      < +< +< +   + + + +  +  +   < +< +< +       + + + +  +  +   < +< +< +       + + + +  +  +   < +< +< +       + + + +  +  +   < +< +< +       + + + +  +  +  „zƒƒ€¢€¢€¢€¢€¢€¢€¢€¢€¢„~€¢€¢€¢€¢„~€¢€¢€¢€¢‚¾‚¾‚¾‚¾‚¾‚¾€¢€¢€¢€¢€¢€¢€¢HH<<<H   €¢€¢€¢ƒ˜ƒ˜ƒ˜€¢€¢€¢€¢€¢€¢€¢HH€¢€¢€¢H€¢€¢ƒ˜ƒ˜ƒ˜€¢‚fx +x +. +. +. +. +. +. +< +< +< +    +   +<<<<<<HHH<<<   HH + + + +H +  +    + +  +P + +P + +HH + + + +H + +H + +   + +  +  +HH‚HHP‚‚PPP + +P + +P + +... +‚ + + +‚ + +. +. +. +. +. +. +.ƒ` + +ƒ` + +.ƒ` + +.ƒ` + +`dƒ@ +ƒ@ +HH + + + +H + +H + +   + +  +  +HH‚HH.‚... +. +. +ƒ: +ƒ: +ƒ: +. +. +. +. +. +. +. + + + + + +. +. +. +HH + +H +. +. +. +. +. +. +. +. + + +. + +. +. +. +. +. +. +. +HH<<<H   + +  +  + + + + + + + + + + + + + + + + + + + + + +HHHH + +H +H€¢€¢€¢€¢€¢€¢HHHH + +H +H< +< +HHHH< +ƒ@ +ƒ@ +ƒ@ +   HHHHHH. +. +   . +. +. +HH + +H +. +. +. +   . +. +. +HH + +H +. + + + + + + + +HH + +H + + + + + +HH + +H + + + + + +HH + +H + + + + + +   +€¢€¢€¢. +. +€¢€¢...€¢€¢€¢€¢€¢€¢€¢€¢€¢...€¢€¢€¢€¢€¢€¢€¢<<<<<<<<<<HHH.<<.<.<<€¢€¢<€¢<€¢           ƒ: +ƒ: +ƒ: +   ƒ: +HHH + + P + +P + +HH + + + +H + +H + +   + +  +  +HH‚HHP‚‚PPP + +P + +P + +... +‚ + + +‚ + +. +. +. +. +. +. +.ƒ` + +ƒ` + +.ƒ` + +.ƒ` + +`dƒ@ +ƒ@ +HH + + + +H + +H + +   + +  +  +HH‚HH.‚... +. +. +   + +  + ƒ: +ƒ: +ƒ: +„„ +„„ +„„. +. +      + +  + +   + +  . +. +. + HH + +HHH<<<Hƒ: +ƒ: +ƒ: +     + + + + + +   + +  + HHH  + + + +HHH   + + „„ +„„ +„„ƒ: +ƒ: +„† +„† +„† +    + + + +HHH„† +„† +„† + + +HHH„„ +„„ +„„„† +„† +„† + + + + +„† +„† +„† +  + + + +  + +   + + <<„< +„< +€¢€¢<<<€¢< +< +ƒ: +ƒ: +ƒ: + +   +. +. +. +. +. +. +   + +  + HHTXHHHH + +  + +  + +  + +  + +HH<<<HHHHH + +H +HHHHH + +H +H +HH + +H + + + + + +HH + +H + + + + + +HH + +H + + + + +€¢€¢€¢€¢€¢€¢. +. +HH + +H +. +. +. +. +. +. + + + + + +. +. +. +. +. + + +. + +. + + + + + + + + + + + + + + + + + + + + + + +. +. +   . +. +. +HH + +H +. +. +. +   . +. +. +HH + +H +. +< +< +HHHH< +ƒ@ +ƒ@ +ƒ@ +  + +  . +. +. + HH<<<H      HH + +H +  HH + +H +  HH + +H +HHH  < +< +< + + +   + + + +  +  +   +  +  ‚‚  ƒJƒJƒJ P   +P +P +< +< +< +< +< +< +< +< +     < +. +. +     . +           + +      . +. +. +         . +. +. +  <<<      HH + +H +      <<<     HH + +H +        + +  +   +   . +. +. +    . +. +. + . +. +. +€¢€¢€¢„ˆ + +„ˆ + +€¢€¢P<<<<P<<P<<€¢<<<<<< P<<<<P<<P<<.<<.<.<<<<<<<<<<<<<<<<<<<  P<<<<P<<P<<.<<.<.<.<<.<.< P + +P + +. +. +. + +<<< + + + + +  +<<< + P + +P + +P + +   + + + +  + +  P + +P + +P + + HH<<<H + + + + + + + + + + + + + + + + + +  + + + + + + + + .ƒ` + +ƒ` + +.ƒ` + +.ƒ` + +P + +P + +ƒ` + +ƒ` + + + + + +ƒ` + + + +P + + .ƒ` + +ƒ` + +.ƒ` + +.ƒ` + +  HH + + + +H + + HH<<<H   HHHHHH. +. +. +€¢€¢€¢„D + +„D + +„Š + +„Š + +ƒD +ƒD +P + +P + +P + +P + +   HHHHHH + + + + + +ƒ: +ƒ: +ƒ: +ƒ: +ƒ: +ƒ: +ƒ: +ƒ: +P + +P + +P + + + +P + +P + +P + +HHH + +P + +P + +  + + + +  P + +P + +P + +  .ƒ` + +ƒ` + +.ƒ` + +.ƒ` + +   +<<< + HH + + + +H + +  + + + + + + + + + + + + + + + + + +  + + + + + + + + P + +P + +P + +P + +P + +P + +P + +P + +„P + +P + +P + +P + + +<<< +  + + + +  P + +P + +P + +   + + + + + +HH<<<HHH<<<H   + + + +  + + HHHHHH   . +. +. + +<<< +€¢€¢€¢. +. +. +.ƒ` + +ƒ` + +.ƒ` + +.ƒ` + + .ƒ` + +ƒ` + +.ƒ` + +.ƒ` + + P + +P + +ƒ` + +ƒ` + + + + + +ƒ` + + + +P + + + + + + + + + + + + + +  + + + + + + + +  HH + + + +H + + „Œ + +„Œ + +„Š + +„Š + +P + +P + +P + +P + +P + +P + +ƒD +ƒD +„’ +„’ +„– +...„’ +„’ +„˜ +„˜ +. +. +. +„’ +„’ +„š +„š +„J +„J +„J +„J +„J +„J +„J +„J +„J + + + + +  + +   + +   + + HH<<<H . +. +. +  HH + +H +  HH + +H +  „œ +„œ +„œ + + + +  + + + +  „œ„ž +„ž +„œ„ž + + + + + + +  +  + +   + +  + +„ž +„ž +„ž +„ž +„ž +„ž +„ž +„ž +„  +„  +„  + + +„  +„ž +„ž +„ž +  + +   + +  + + + +„ž +„ž +„ž +„ž +„ž +„ž +„¢ +„¢ + + +„  +„  +„  +  + +   + +  + + + +„¤ +„¤ +„¤ +„¢ +„¢ +„  +„  +„  +„ž +„ž +„ž + + + + +. +. +„J +„J +„¦ +„¦ +„¦ +   .‚... +. +. +„J +„J +„J +     + +   + +   + +  . +. +. +  + + + +HH<<<H HH + +H +HHH  HH + +H +  HH + +H +  + + + + + +„ž +„ž +„ž +„ž +„ž +„ž +HHH   „ž +„ž +„ž + „ž + „¨ +„¨ +„¨ +€¢€¢€¢ƒ: +ƒ: +„¦ +„¦ +„¦ +„ž +„ž +„ž + + +„¦ +„¦ +„¦ +HHH + +ƒB +ƒB +„J +„J +    < +< +< +              .‚... +. +. +„J +„J +„J +ƒ: +ƒ: +ƒ: +   + +  + HHH    + + + + + + +   +< +< +HHHH< +  + +  . +. +. + HH<<<H HH + +H +HHH  HH + +H +  HH + +H +  €¢€¢€¢  + +   + +  + + + +HH   H          + +       < +< +< +    ƒ: +ƒ: +„’ +„’ +„’ +        + +„’ +„’ +„’ + + +HHHƒ@ +ƒ@ +HH + +HHH<<<H +<<< +HH<<<Hƒ: +ƒ: +ƒ: +ƒ@ +ƒ@ +ƒ@ +   HHHHHHƒ@ +ƒ@ +ƒ@ +. +. +. +. +. +. +. +. +. +  . +. +. +  .<<.<.<  .<<.<.<  HH + +H +  HH + +H + HH.<<.<.<Hƒ@ +ƒ@ +ƒ@ +ƒ@ +ƒ@ +ƒ@ +ƒ@ +ƒ@ +ƒ@<<ƒ@<ƒ@<ƒ@ +ƒ@ +ƒ@ +ƒ@<<ƒ@<ƒ@<ƒ@ +< +< +HHHH< +. +. + + + + + +. + + +€¢€¢€¢. +. +HH + +H +. +. +. +. +. + + +. + +. +   + +  +  + + + + + + + + + + + + + + + + + + + + + +HHHH + +H +H€¢€¢€¢€¢€¢€¢HHHH + +H +H. +. +   . +. +. +HH + +H +. +. +. +   . +. +. +HH + +H +. + + + + + +HH + +H + + + + + +HH + +H + + + + + +HH + +H + + + + + +   +„® +„® +€¢€¢ƒ@ƒ@ƒ@€¢„® +„® +ƒ@ +ƒ@ +ƒ@ +ƒ@ +ƒ@ +ƒ@ +ƒ@ +ƒ@ +ƒ@ +ƒ@ +ƒ@ +ƒ@<<ƒ@<ƒ@<ƒ@ +ƒ@ +ƒ@ +ƒ@<<ƒ@<ƒ@<ƒ@ +ƒ@ +ƒ@ +ƒ@ +ƒ@ +ƒ@ +HH + +H  . +. +. +  .<<.<.<  .<<.<.<  HH + +H +  HH + +H + HH<<<H„° +„° +„² +„² +P +‚ž‚žP +‚žP +‚žP +‚žƒ@ +ƒ@ +ƒ@ +ƒ@ +ƒ@ +ƒ@ +HH<<<Hƒ: +ƒ: +ƒ: +    +<<< +„´ +„´ +„² +„² +`dƒ@ +ƒ@ +ƒ@ +ƒ@ +ƒ@ +ƒ@ +HH<<<H +<<< +   ƒ: +ƒ: +ƒ: +ƒ@ +ƒ@ +ƒ@ +HH + +H +„º + +„º + +„º + + + + + + +„º +„¼ +„¼ +„º +„¼ + + +„º +„¾ + +„¾ + +„º +„¾ + +ƒ` + +ƒ` + + + + + + +„¾ + +„¾ + + + +„¾ + +€¢€¢€¢„º + +„º + +„º + + + +       „` +  +  + „` +  +  + „` +„ÂH„ÂH„   + +  + + + + + + + + + + + +  + +    + + + + HH<<<H‚‚   „` +  +  + „` +  +  + „` +„Ä +„¾ + +„¾ + +„Ä +„¾ + +„ˆ + +„ˆ + +„¾ + +„¾ + +„¾ + +„` +  +  + „` +  +  + „` +„ÂH„ÂH„   + + + +  + +  + +HH‚HHP‚‚PP   + + + +  + +  + +HH‚HHP + +P + +P + +   + + + +  + +  + +HH‚HH... +‚ + + +‚ + +   + + + +  + +  + +HH‚HH. +. +. +. +. +. +   + + + +  + +  + +HH‚HH +<<< + +<<< +  + + + +  + + + + + + + + + + + + + + + + + +  + + + + + + + +  P + +P + +P + + HHHHHH   + + + +  + +    HH<<<HHH<<<H. +. +. +. +. +. +.ƒ` + +ƒ` + +.ƒ` + +.ƒ` + + + + + + + + + + + + + +„º + +„º + +„ºƒ: +ƒ: +„Ä + +„Ä + +„Ä + +< +< +< +     „Ä + +„Ä + +„Ä + + + +  + +   + + HHH + + + +„º + +„º + +„ºƒD +ƒD +„Ä + +„Ä + +„Ä + +„Ä + +   HHHƒ: +ƒ: +ƒ: +HH<<<Hƒ@ +ƒ@ +ƒ@ +ƒD +ƒD +„Æ + +„Æ + +„Æ + +„Æ + +   HHHƒ: +ƒ: +ƒ: +ƒDƒ` + +ƒ` + +ƒDƒ` + +„Æ + +„Æ + +„Æ + +„Æ + +   HHHƒ:ƒ` + +ƒ` + +ƒ:ƒ` + +ƒ:ƒ` + +„º + +„º + +„º„È + + +„È + + +„Ä + +„Ä + +„Ä + + + + + +„È +„¾ + +„¾ + + +„È +„¾ + + +„Æ + +„Æ + +„Æ + + +„¾ + +„¾ + +„¾ + + +„È +„¾ + +„¾ + +ƒ` + +ƒ` + +„È +„¾ + +ƒ` + +„Æ + +„Æ + +„Æ + +ƒ` + +ƒ` + +„¾ + +„¾ + +„¾ + +ƒ` + +  + + „Ä +„¼ +„¼ +„Ä +„¼ +„Ê +„Ê +„® +„® +„¼ +„¼ +„¼ +„` +  +  + „` +  +  + „` +„ÂH„ÂH„   + + + +  + +  + +HH‚HH...   + + + +  + +  + +HH‚HH. +. +. +   + + + +  + +  + +HH‚HHƒ@ +ƒ@ +ƒ@ +ƒ@ +ƒ@ +ƒ@ +ƒ: +ƒ: +ƒ: +   HHHHHH + + + + + +HH<<<HHH + +HHH + +HHH<<<H . +. +. +  .<<.<.<  .<<.<.<  +<<< +ƒ@ +ƒ@ +ƒ@<<ƒ@<ƒ@<ƒ@ +ƒ@ +ƒ@ +ƒ@<<ƒ@<ƒ@<ƒ@ +ƒ@ +ƒ@ +ƒ@ +ƒ@ +ƒ@ +ƒ@ +„Ì +„Ì +„Ì +„º + +„º + +„¼ +„¼ + + +„¼ + ƒ@ +ƒ@ +ƒ@ +€¢€¢€¢‚Œtt<<<BBB<<<BBBBB<<<B€¢€¢€¢ƒƒƒ<<<BBB„Ò +„Ò +„Ô +„Ô +„Ô +HHH„Ö +„Ö +            „Ü +„Ü +„Ü +„Ü +„Ü +„Ü +„Ô +„Ô +„Ô +  + +  +ƒƒƒ  HHHHH   H HHH HHH  „Þ +„Þ +                   „à „à „à „à    „Ü +„Ü +„Ü +„Ü +„Ü +„Ü +„â +„â +„â +„è „è „è  „à             €À +€À +€À +„ê +„ê +„ê +HHHHHHHHHHHHHHHHHHHHH„è „è „è HHH „Ü +„Ü +„Ü +  „Ü +„Ü +„Ü + „  +„  +  + +  +ƒƒƒ  HHH„  +J J „  +„  +„  +J  „  +„  +„  +  „  +„  +„  + ttt  + +  <<<BBB JJJJ J J JJ€À +€À +€À +HHHJ  + +  <<<BBB    „ð +„ð +„ð + „ð +  „ò +„ò +„ô +„ô +    HHHt  + +  <<<BBB  „ò +„ò +      + +  <<<BBB  „ö +„ö +„ø +„ø +„ú +„ú +„ú +    HHH „ü„ü„ü   + +  <<<BBB  JJJ ‚Ž‚’€¢€¢€¢€¢€¢€¢€¢€¢J‚ž‚žJ‚žJ‚žƒƒ€¢€¢€¢€¢€¢€¢€¢€¢€¢TX„è‚ž‚ž„è‚ž„è‚ž„èHH„èH„èH„à +„à +„à +„à +„à +„à +„à +„à +„à +„à +„à +„à +TXTX<<<BBB‚¸‚¸‚¸„à +„à +„à +J< +< +J< +.J +J +.J +.J +HHHH  + +  +TXJ< +J +J +.J +J +.J +.J +J +JJ. +. +. +„à„à + +„à +JHH<<<HJJ„àHH„àH„àHJJ +J +„à +„à + + +„à + +ƒƒƒJ +J +J +ƒƒƒHH<<<H< J +J +J +„à „à „à J +€À +€À +€À +J +J +‚¸‚¸‚¸„à +„à +„à +J +J +J +`d<<J +J +„à +„à + + +BBB„à + + B!HH + +H + J +ƒƒ€¢€¢€¢‚¸‚¸‚¸€¢‚¸€¢€¢€¢J +J +J + „à +„à +„à +  <<<BBB HHH„è„è„è<<<BBB „è„è„è<<<BBB „à +„à + + +„à +HH<<<H‚„þ +„þ +„è +„è +„è + „à +„à +„à +  <<<BBB  <<<BBB HHH… +… + „à +„à +„à +  <<<BBB … +… + „à +„à +„à +  <<<BBB                   …   … … … +   …   … …  … +   …   … … … + …  … + … … +    ………„è +„è +„è +TX   TXƒƒƒTXƒƒƒ„è +„à +„à + + +„à + +„à + +ƒƒƒ„è +… + +„à + +… + +„à + +… + +ƒƒƒ„è +ƒƒ„è +ƒ………HHHHHHHHHHHHHHH„à +„à + + +„à + +„à + +ƒƒƒ…H< …H< …………HHH„à +„à + + +TXTX„à +HH………H„à +„à +………„à +‚HHJ‚JJHJ +J +                  ………TX„à +„à +„à + + +…BBB + +HHHHHHHHHHHHHHHHHH<ƒƒ<ƒ„è<<„è<„è<<ƒ „è„è„è J +J +„à +„à + + +„à + +ƒƒƒJ +J +J +„à +„à + + +„à + +ƒƒƒJ +J +J +ƒƒƒHH<<<H< J +J +J +‚J +€À +€À +€À +  ………„è„è„è  + +  ………  <<<BBB  „è„è„è  ………  ……… ……………………… JJJ  „è„è„è„è„è„è  „à +„à +„à +   + +  <<<BBB  „à +„à +„à +   + +  J +J +J +  <<<BBB  „è„è„è……… J +J +‚¸‚¸‚¸„à +„à +„à +TXTXJ +ƒƒƒ„&„&„&ƒƒƒ …$ …$ …$…(…(…( …$…(…(…(…(…(…(…(…(…(HHH  …$ …$ …$ …$ …$ …$     TX       …* +…* +…. + + +`d<<<BBB`dJ +J +J +.J +J +.J +.J +. +. +. + …0 +…0 +…0 + …0 + …0 +HHHH`d‚¸‚¸‚¸ +    + "€À‚€À€À6‚66 +6 +6 +66 +#€À +€À +€À +€À +€À +€À +HHH€À +€À + „  +„  +„  + „  + „  +„  +„  + „  +€À +„  +„  +  + +  +$ƒƒƒ  HHH„  +€À +€À +HH + +H +$€À +€À +€À + + + + + +$€À +€À +€À +„à +„à + + +„à + +$€À +€À +€À +€À +€À + + +€À + +$€À +€À +€À +ƒƒƒHHH €À +€À +€À +. +. + + +. + +€À +JJ…2 +…2 +…2 +J€À +€À +„( + +„( + +„( + +€À +J +J + + + + + + + +% +J +J +J + + + + + + + + + +% +J +J€¢€¢J€¢€¢€¢€¢J€¢JHHJH<<<JHJJ  + +  +JJHHJHHH + +H +JHJHHJHHH + +H +JHJ  J J JHHJHJH€À +€À +€À +J< +< +J< +J< +Jƒ@ +ƒ@ +Jƒ@ +Jƒ@ +J +J + + +J +€À +€À +   €À +€À +€À +HH + +H +€À +€À +€À +   €À +€À +€À +HH + +H +€À +€À +€À +HH + + + +H +% +&€À +J +J +J +J +J +J +J +J +J +J +J +HH + +H + + +J +J +J +HH + +H + + +J +J +J +HH + +H + + +J +J +J +   J +€À +€À +‚¸‚¸‚¸ 6 +6 +6 + 6 +#€À +J J J    + +  +  ƒƒƒ     J J J  HHHJ +J + + +J +€¸ +€¸ +  + +  <<<BBB  €À +€À +€À +€À +€À +€À +€À +€À +…8€À +…< +…< +HHH€À +€À + „  +„  +„  + „  + „  +„  +„  + „  +€À +„  +„  +  + +  +ƒƒƒ  HHH„  +JJ€À +€À +€À +JJJJ6 +6 +…2 +…2 +JJJJJJ„  +„  +€À +€À +€À +HHH„  +€À +'H(…B + +…B + +…F + +  + +6 +6 +6 +  +6 +# <<<BBB6 +6 +6 + < B!6 +# 6 +6 +6 + 6 +#…H + +…H + +…L + +€À +€À +€À +€À +€À +€À +€À +€À +€À +…N + +…N + +…R + +`d„(  +   + „( +  + „( + +„( + +„( + +„( +  + €À +€À +€À +€À +€À +€À +„( + +„( + +„( + +„( + +„( + +„( + +„( + +„( + +€À +€À +€À +JHHJHJH + +JJJ6 +6 +6666666  + +  <BBB  …T +…T +`d  + +  <<<BBB   „à „à „à „ê +„ê +€À +€À +€À +      „à „à „à HHHH    HHHH         „à „à „à „à „ê +„ê +„ê +HHHHHHHHH  + +  <<<BBB JJJJJJJJ€À +€À +€À +HHHJ…T +…T +  + +  <<<BBB JJJ„  +„  +  + +  +ƒƒƒ  HHH„  + „  +„  +„  +  „  +„  +„  + J J „  +„  +„  +J …T +…T +„Ô +„Ô +…V +…V +„ø +„ø +„Þ +„Þ +                   <<<TX   TX„è „è „è          „à „à „à „à    „à €À +€À +€À +„ê +„ê +„ê +HHHHHHHHHHHHHHHHHHHHH…X +…X +…X +„ú +„ú +„ú +„Ö +„Ö +„Ö +tttJJ€À +€À +€À +HHHJJ J J J J J   + +  <<<BBB JJJ   + +  <<<BBB  „  +„  +  + +  +ƒƒƒ  HHH„  +J J „  +„  +„  +J  „  +„  +„  +  „  +„  +„  + …Z +…Z +„ô +„ô +  + +  <<<BBB  …Z +…Z +  + +  <<<BBB  …Z +…Z +…\ +…\ +TX…Z +…Z +…^ +…^ +    …` +…` +„Ô +„Ô +„Ô +„Ô +„  +„  +  + +  +ƒƒƒ  HHH„  +   HH<<<H„ð +„ð +„Ô +„Ô +„Ô +„Ô +  + +  +ƒƒƒ  HHHJ J J   „ê +„ê +…T…T…T…T  + +  <<<BBB JJJJJ€À +€À +€À +JJJJ„è„è„è„ „ „ …V +…V +…V +€À +€À +€À +HHH…V…V…V  J J J  „â +„â +…Z +…Z +…Z +€À +€À +€À +HHH  + +  <<<BBB    + +  <<<BBB  „  +„  +…V +…V +„ø +„ø +                         …d +  +…d +  +…d +TXƒƒƒ…f …f …f„&„&„&   JJJ…X +…X +…X +  + +  +ƒƒƒ  HHH„&  + +  +ƒƒƒ  HHH …X +…X +…X +    + +  +$   + +  +„&„&„&  + +  +  +  + ƒƒƒ ƒƒ„&„&„&ƒƒƒƒ     „&„&„&     J J J  JJJJ +J + + +J +HHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH    + +  <<<BBB    J J J  „ü„ü„ü   + +  <<<BBB        HHH €À +€À +„  +„  +  + +  +ƒƒƒ  HHH„  +„  +„  +  + +  +ƒƒƒ  HHH„  + „ „ „  …X +…X +…X +…` +…` +…h +…X +…h +…X +…h +HHH…X +…h +„  +„  +  + +  +ƒƒƒ  HHH„  +…X +…X +ƒ: +ƒ: +ƒ: +. +. +. +HHH „ø +„ø +„ø +    + +  ‚ <<<BBB  „ü„ü„ü „ø +„ø +„ø + „ü +„ü + + + + „ø +„ø +„ø + „ü„ü<<<BBB<B „ø„ø„ø „ü„ü „ø„ø„ø „ü„ü„ü „ü„ü„ü             HHHHHHHHH „ø +„ø +„ø +   „ø +„ø +„ø +  …X +…X +„ü„ü„ü„ü„ü„üHHH „ü„ü„ü  „ø +„ø +„ø +   „  +„  +„  + „  +„  +          „&„&„&   …f …f …f …fHHHHHHHHH    + +  +  ƒƒƒ     J J J  JJJJ +J + + +J + €À +€À +€À +€À +€À +…j + „  +…j + „  +…j +…j + „  +…j + „  +…j +„&„&„&…l +…l +…l +„  +„  +„  +€À + „  +„  +„  + „  + „  +„  +„  + „  +HHH„  +„  +  + +  +ƒƒƒ  HHH„  +    J J J  HHH„  +„  +…n…n…n…n   + +  +  ƒƒƒ     J J J  JJJHHHJ +J + + +J +…p +…p +„  +„  +„  +<<<TXHHH€À +€À +€À + + +JHHJHJHJHHJHJHJJJ  + +  <<<BBB  €À +€À +…< +…< +HHH„  +„  +  + +  +ƒƒƒ  HHH„  +€À +€À +HHH …0 +…0 +…0 + …0 + …0 + …0 +H„  +„  +  + +  +$ƒƒƒ  HHH„  +…r +…r +…0 +…0 +  + +  <<<BBB  €À +€À +€À + + + + + +<<<BBB< B!„ „ „ „è„è„è<<<BBB „ „ „ „è„è„è<<<BBB „ „ „ „è„è„è <<<BBB < B! < B!„ „ „ „è„è„è €À +€À +€À +€À +€À +€À +HHH„  +„  +  + +  +ƒƒƒ  HHH„  +„  +„  +  + +  +ƒƒƒ  HHH„  +  + +…V +…V +…V +  <<<BBB…V +…V +…V +  …V +…V +…V + „ð +„ð +…x + +…x + +…x + +„  +„  +„  +…x + +  + +  +ƒƒƒ  HHH  + +  <<<BBB   J J J   + +  BBB  …V…V…V<<<BBB …x + +…x + +HH + +H +H +€À +€À +€À +HH + +H +  + +…V +…V +…V +  + + + +…x + +…x + +…| + + + +…| + + + +…| + +€À +€À +€À + + + + + +$  + +…V +…V +…V + …x + +…x + +…| +. +. +. + +…| +. +. + +…| +. +€À +€À +€À +. +. + + +. + +$  + +…V +…V +…V + …x + +…x + +ƒƒƒHH<<<H<H<€À +€À +€À +ƒƒƒHH<<<H<   + +…V +…V +…V +  <<<BBB…V +…V +…V + …x + +…x + +   €À +€À +€À +   „  +„  +  + +  +ƒƒƒ  HHH„  +  + +…V +…V +…V + …~ + +…~ + + + +…x + +…x + +…x + +  + +  +ƒƒƒ  HHH +…x + +…x + +HH + +H +H +€À +€À +€À +HH + +H +  + +…V +…V +…V + …x + +…x + +   €À +€À +€À +   „  +„  +  + +  +ƒƒƒ  HHH„  +  + +…V +…V +…V + …x + +…x + +HH + +H +H +€À +€À +€À +HH + +H +„  +„  +  + +  +ƒƒƒ  HHH„  +  + +…V +…V +…V + …x + +…x + +<HH + + + +H + +H + +€À +€À +€À +HH + + + +H +  + „  +„  +  + +  +ƒƒƒ  HHH„  +  + +…V +…V +…V + 6 +6 +…V +…V +…V +…V +  + +  <<<BBB  „ð +„ð +6 +6 +6 +„  +„  +„  +€À +€À +€À +…‚ + +6 +6 +)…‚ + +6 +6 +)…‚ + +  + +  +ƒƒƒ  HHH  + +  <<<BBB    J J J   + +  <<<BBB  6 +6 +6 +6 +6 +6 +D + +D + +…‚ + +6 +6 +)…‚ + +6 +6 +)…‚ + +6 +6 +)…‚ + +€À +€À +€À +€À +€À +€À +€À +€À +…‚ + +6 +6 +)…‚ + +6 +6 +)…‚ + +€À +€À +€À +HHH€À +6 +6 +)…‚ + +„  +„  +  + +  +$ƒƒƒ  HHH„  +  + +6 +6 +6 +  <<<BBB6 +6 +6 +  6 +6 +6 + 6 +6 +…„ + +  +6 +#…„ + +  +6 +#…„ + +…† + < B!6 +#…† + < B!6 +#…† +…ˆ + 6 +#…ˆ + 6 +#…ˆ +6 +6 +6 +  +6 +#…„ + + < B!6 +#…† + 6 +#…ˆ +6 +6 +6 +  + +  <<<BBB  …Š + +…Š + +  + +6 +6 +6 +  +6 +# <<<BBB6 +6 +6 + < B!6 +# 6 +6 +6 + 6 +#€À +€À +€À +€À +€À +€À +D + +D + +€À +€À +€À +€À +€À +€À +€À +€À +€À +€À +€À +€À +€À +€À +€À +€À +€À +„  +„  +€À +€À +€À +HHH„  +D + +D + +…Œ + +„  +€À +'H(…Œ + +„  +€À +'H(…Œ + +„  +€À +'H(…Œ + +€À +€À +€À +€À +€À +€À +€À +€À +…Œ + +„  +€À +'H(…Œ + +„  +€À +'H(…Œ + +€À +€À +€À +HHH€À +„  +€À +'H(…Œ + +„  +„  +  + +  +$ƒƒƒ  HHH„  +‚¸‚¸‚¸   ‚¸‚¸‚¸ …’…’…’ …’*        HHH…’…’‚¸‚¸‚¸   …’…’…’‚¸‚¸‚¸ …’…’…’ …’*…’ + + + + + + + + + + + + „&„&„&…”…”…”„&„&„&<<<BBB „&+…”,„&-< B! +„&„&„&…”…”…”„&„&„& + + + +„&+…”,„&- +. +„&„&„&…”…”…”„&„&„& + + + + +/ + +/ + +0 +„&+…”,„&- + +/. +/ +„&„&„&…”…”…”„&„&„& + + + + + + +1 +2 + +1 +2 + + + +34 +„&+…”,„&- + + 1 + 2. + 1 + 2…˜ + +…˜ +„&„&„&…”…”…”„&„&„& + + + +…˜ +„&+…”,„&- +.…š + + + +/…š + +„&„&„&…”…”…”„&„&„& + + + + +/ + +/0 + +/…š + +„&+…”,„&- + +/.…œ + + + + +1 +2…œ + + +„&„&„&…”…”…”„&„&„& + + + + + + +1 +2 + +1 +234 + + 1 + 2…œ + +  + „&+…”,„&- + + 1 + 2.……„&„&„&…”…”…”„&„&„&<<<BBB… „&„&„&…”…”…”„&„&„&   …’…’„&„&„&…”…”…”„&„&„&‚¸‚¸‚¸  …’…’…’„&„&„&…”…”…”„&„&„&‚¸‚¸‚¸ …’…’…’ …’*…’ „&„&„&…”…”…”„&„&„&€¢€¢€¢ „&„&„&„&„&…”…”…”„&„&„&…ž…ž…žP<<<<P<<P<<„&ƒƒƒ……… + +… +…………  +„&+…”,„&- +.…  +„&+…”,„&- +.… … +„&+…”,„&- +.… …………¢0 +„&+…”,„&- + +/. +/…¢0 +„&+…”,„&- + +/. +/…¢…0 +„&+…”,„&- + +/. +/…¢…………¤34 +„&+…”,„&- + +1 +2. +1 +2…¤34 +„&+…”,„&- + +1 +2. +1 +2…¤…34 +„&+…”,„&- + +1 +2. +1 +2…¤…………¦ +…˜ +„&+…”,„&- +.…¦ +…˜ +„&+…”,„&- +.…¦… +…˜ +„&+…”,„&- +.…¦…………¨0 + +/…š + +„&+…”,„&- + +/.…¨0 + +/…š + +„&+…”,„&- + +/.…¨…0 + +/…š + +„&+…”,„&- + +/.…¨…………ª34 + +1 +2…œ + + +„&+…”,„&- + +1 +2.…ª34 + +1 +2…œ + + +„&+…”,„&- + +1 +2.…ª…34 + +1 +2…œ + + +„&+…”,„&- + +1 +2.…ª…¬ „&+…”,„&-< B!…¬ „&+…”,„&-< B!…¬…  +„&+…”,„&- +.…  +„&+…”,„&- +.… …¢0 +„&+…”,„&- + +/. +/…¢0 +„&+…”,„&- + +/. +/…¢…¤34 +„&+…”,„&- + +1 +2. +1 +2…¤34 +„&+…”,„&- + +1 +2. +1 +2…¤…¦ +…˜ +„&+…”,„&- +.…¦ +…˜ +„&+…”,„&- +.…¦…¨0 + +/…š + +„&+…”,„&- + +/.…¨0 + +/…š + +„&+…”,„&- + +/.…¨…ª34 + +1 +2…œ + + +„&+…”,„&- + +1 +2.…ª34 + +1 +2…œ + + +„&+…”,„&- + +1 +2.…ª…®…„&+…”,„&-< B!…®…„&+…”,„&-< B!…®…° „&+…”,„&- .…° „&+…”,„&- .…°…²…’„&+…”,„&-‚¸5 .…²…’„&+…”,„&-‚¸5 .…²…´…’„&+…”,„&-‚¸6 …’*.…´…’„&+…”,„&-‚¸6 …’*.…´…¶ „&+…”,„&-€¢7…¶ „&+…”,„&-€¢7…¶…¸„&„&+…”,„&-…ž8P<<9…¸„&„&+…”,„&-…ž8P<<9…¸…º…º…¾…ž…ž…ž…¬ „&+…”,„&-< B!…¬ „&+…”,„&-< B!…¬…  +„&+…”,„&- +.…  +„&+…”,„&- +.… …¢0 +„&+…”,„&- + +/. +/…¢0 +„&+…”,„&- + +/. +/…¢…¤34 +„&+…”,„&- + +1 +2. +1 +2…¤34 +„&+…”,„&- + +1 +2. +1 +2…¤…¦ +…˜ +„&+…”,„&- +.…¦ +…˜ +„&+…”,„&- +.…¦…¨0 + +/…š + +„&+…”,„&- + +/.…¨0 + +/…š + +„&+…”,„&- + +/.…¨…ª34 + +1 +2…œ + + +„&+…”,„&- + +1 +2.…ª34 + +1 +2…œ + + +„&+…”,„&- + +1 +2.…ª…®…„&+…”,„&-< B!…®…„&+…”,„&-< B!…®…° „&+…”,„&- .…° „&+…”,„&- .…°…²…’„&+…”,„&-‚¸5 .…²…’„&+…”,„&-‚¸5 .…²…´…’„&+…”,„&-‚¸6 …’*.…´…’„&+…”,„&-‚¸6 …’*.…´…¶ „&+…”,„&-€¢7…¶ „&+…”,„&-€¢7…¶…¸„&„&+…”,„&-…ž8P<<9…¸„&„&+…”,„&-…ž8P<<9…¸…¬ „&+…”,„&-< B!…¬ „&+…”,„&-< B!…¬…  +„&+…”,„&- +.…  +„&+…”,„&- +.… …¢0 +„&+…”,„&- + +/. +/…¢0 +„&+…”,„&- + +/. +/…¢…¤34 +„&+…”,„&- + +1 +2. +1 +2…¤34 +„&+…”,„&- + +1 +2. +1 +2…¤…¦ +…˜ +„&+…”,„&- +.…¦ +…˜ +„&+…”,„&- +.…¦…¨0 + +/…š + +„&+…”,„&- + +/.…¨0 + +/…š + +„&+…”,„&- + +/.…¨…ª34 + +1 +2…œ + + +„&+…”,„&- + +1 +2.…ª34 + +1 +2…œ + + +„&+…”,„&- + +1 +2.…ª…®…„&+…”,„&-< B!…®…„&+…”,„&-< B!…®…° „&+…”,„&- .…° „&+…”,„&- .…°…²…’„&+…”,„&-‚¸5 .…²…’„&+…”,„&-‚¸5 .…²…´…’„&+…”,„&-‚¸6 …’*.…´…’„&+…”,„&-‚¸6 …’*.…´…¶ „&+…”,„&-€¢7…¶ „&+…”,„&-€¢7…¶…¸„&„&+…”,„&-…ž8P<<9…¸„&„&+…”,„&-…ž8P<<9…¸…ž…ž „&+…”,„&-< B!…¬ +„&+…”,„&- +.… 0 +„&+…”,„&- + +/. +/…¢34 +„&+…”,„&- + +1 +2. +1 +2…¤ +…˜ +„&+…”,„&- +.…¦0 + +/…š + +„&+…”,„&- + +/.…¨34 + +1 +2…œ + + +„&+…”,„&- + +1 +2.…ª…„&+…”,„&-< B!…® „&+…”,„&- .…°…’„&+…”,„&-‚¸5 .…²…’„&+…”,„&-‚¸6 …’*.…´ „&+…”,„&-€¢7…¶„&„&+…”,„&-…ž8P<<9…¸…¬ „&+…”,„&-< B!…¬ „&+…”,„&-< B!…¬…  +„&+…”,„&- +.…  +„&+…”,„&- +.… …¢0 +„&+…”,„&- + +/. +/…¢0 +„&+…”,„&- + +/. +/…¢…¤34 +„&+…”,„&- + +1 +2. +1 +2…¤34 +„&+…”,„&- + +1 +2. +1 +2…¤…¦ +…˜ +„&+…”,„&- +.…¦ +…˜ +„&+…”,„&- +.…¦…¨0 + +/…š + +„&+…”,„&- + +/.…¨0 + +/…š + +„&+…”,„&- + +/.…¨…ª34 + +1 +2…œ + + +„&+…”,„&- + +1 +2.…ª34 + +1 +2…œ + + +„&+…”,„&- + +1 +2.…ª…®…„&+…”,„&-< B!…®…„&+…”,„&-< B!…®…° „&+…”,„&- .…° „&+…”,„&- .…°…²…’„&+…”,„&-‚¸5 .…²…’„&+…”,„&-‚¸5 .…²…´…’„&+…”,„&-‚¸6 …’*.…´…’„&+…”,„&-‚¸6 …’*.…´…¶ „&+…”,„&-€¢7…¶ „&+…”,„&-€¢7…¶…¸„&„&+…”,„&-…ž8P<<9…¸„&„&+…”,„&-…ž8P<<9…¸ „&„&„&<<<BBB  +„&„&„& + + + +„&„&„& + + + + +/ + + + +„&„&„& + + + + + + +1 +2 + + + + +…˜ + +…˜ +„&„&„& + + +…˜ +…š + + + +/…š + +„&„&„& + + + + +/ + +/…š + +…œ + + + + +1 +2…œ + + +„&„&„& + + + + + + +1 +2 + +1 +2…œ + + +……„&„&„&<<<BBB… „&„&„&   …’…’„&„&„&‚¸‚¸‚¸  …’…’…’„&„&„&‚¸‚¸‚¸ …’…’…’ …’*…’ „&„&„&€¢€¢€¢ „&„&„&„&„&…ž…ž…žPPP„&„&„&„&…Â…………„&„&„& <<<BBB „&„&„&„&„&„&HH„&„&„&H„&„&…ž…ž…žP<<<<P<<P<<„& + + + + + + + + + +: + + + + + + + + + + +; +< + + + + +       + +  +: + +    + + + +  +; +< + + + + …˜ + +…˜ + + + +…˜ +…š + + + +/…š + + + + + + +/ + +/…š + +…œ + + + + +1 +2…œ + + + + + + + + + +1 +2 + +1 +2…œ + + +…˜ + +…˜ + + + +…˜ +…š + + + +/…š + + + + + + +: + +/…š + +…œ + + + + +1 +2…œ + + + + + + + + + +; +< + +1 +2…œ + + +        + +  +  + +  +:  +  + + + +  + +  + + + +  +; +<  + +……<<<BBB…     …’…’‚¸‚¸‚¸   …’…’…’‚¸‚¸‚¸ …’…’…’ …’*…’ €¢€¢€¢ ……………… ……… ‚<<<…”…”………… „&„&„&<<<BBB  +„&„&„& + + + +„&„&„& + + + + +/ + + + +„&„&„& + + + + + + +1 +2 + + + + +…˜ + +…˜ +„&„&„& + + +…˜ +…š + + + +/…š + +„&„&„& + + + + +/ + +/…š + +…œ + + + + +1 +2…œ + + +„&„&„& + + + + + + +1 +2 + +1 +2…œ + + +……„&„&„&<<<BBB… „&„&„& …’…’„&„&„&‚¸‚¸‚¸  …’…’…’„&„&„&‚¸‚¸‚¸ …’…’…’ …’*…’ „&„&„&€¢€¢€¢ „&„&„&„&„&…ž…ž…žP<<<<P<<P<<„&„&„&…Ä…Ä…Ä…Æ…Æ…Æ…È…È…È…Ê…Ê…Ê…Ì…Ì…Ì…Î…Î…Î…Ð…®…„&+…”,„&-< B!…®…Ð…„&+…”,„&-< B!…®…Ð…„&+…”,„&-< B!…®…Ð…° „&+…”,„&- .…°…Ð „&+…”,„&- .…°…Ð „&+…”,„&- .…°…Ð…²…’„&+…”,„&-‚¸5 .…²…Ð…’„&+…”,„&-‚¸5 .…²…Ð…’„&+…”,„&-‚¸5 .…²…Ð…´…’„&+…”,„&-‚¸6 …’*.…´…Ð…’„&+…”,„&-‚¸6 …’*.…´…Ð…’„&+…”,„&-‚¸6 …’*.…´…Ð…¶ „&+…”,„&-€¢7…¶…Ð „&+…”,„&-€¢7…¶…Ð „&+…”,„&-€¢7…¶…Ð…¸„&„&+…”,„&-…ž8P<<9…¸…Є&„&+…”,„&-…ž8P<<9…¸…Є&„&+…”,„&-…ž8P<<9…¸…Ð…¬ „&+…”,„&-< B!…¬…Ð „&+…”,„&-< B!…¬…Ð „&+…”,„&-< B!…¬…………”…”…”…”…”…”P<<<<P<<P<<HH„&„&„&H………Ä…Ä…Ä…Æ…Æ…Æ…È…È…È…Ê…Ê…Ê…Ì…Ì…Ì…Î…Î…Î…Ð…®…„&+…”,„&-< B!…®…Ð…„&+…”,„&-< B!…®…Ð…„&+…”,„&-< B!…®…Ð…° „&+…”,„&- .…°…Ð „&+…”,„&- .…°…Ð „&+…”,„&- .…°…Ð…²…’„&+…”,„&-‚¸5 .…²…Ð…’„&+…”,„&-‚¸5 .…²…Ð…’„&+…”,„&-‚¸5 .…²…Ð…´…’„&+…”,„&-‚¸6 …’*.…´…Ð…’„&+…”,„&-‚¸6 …’*.…´…Ð…’„&+…”,„&-‚¸6 …’*.…´…Ð…¶ „&+…”,„&-€¢7…¶…Ð „&+…”,„&-€¢7…¶…Ð „&+…”,„&-€¢7…¶…Ð…¸„&„&+…”,„&-…ž8P<<9…¸…Є&„&+…”,„&-…ž8P<<9…¸…Є&„&+…”,„&-…ž8P<<9…¸…Ð…¬ „&+…”,„&-< B!…¬…Ð „&+…”,„&-< B!…¬…Ð „&+…”,„&-< B!…¬…”…”…”………P<<<<P<<P<<…”…”…”…”…”…”……ž…ž…žP<<„&„&„&       + +  +/ + +    + + + +  +1 +2 + + + + …˜ + +…˜ + + + +…˜ +…š + + + +/…š + + + + + + +/ + +/…š + +…œ + + + + +1 +2…œ + + + + + + + + + +1 +2 + +1 +2…œ + + +       + +  +  + +  +/  +  + + + +  + +  + + + +  +1 +2  + +‚<<< <<<BBB „&„&…ž…ž…žP<<<<P<<P<<„& + + + + + + + + + +/ + + + + + + + + + + +1 +2 + + + + +…˜ + +…˜ + + + +…˜ +…š + + + +/…š + + + + + + +/ + +/…š + +…œ + + + + +1 +2…œ + + + + + + + + + +1 +2 + +1 +2…œ + + +……<<<BBB…    …’…’‚¸‚¸‚¸  …’…’…’‚¸‚¸‚¸ …’…’…’ …’*…’ €¢€¢€¢ „&„&„&…”…”…”„&„&„&<<<BBB <<<BBB „&„&„&…”…”…”„&„&„& + + + +„&„&„&…”…”…”„&„&„& + + + + +/ + + + +„&„&„&…”…”…”„&„&„& + + + + + + +1 +2 + + + + + +„&„&„&…”…”…”„&„&„& + +…˜ + +…˜ + +…˜ +„&„&„&…”…”…”„&„&„& + + + + +/…š + + + +/…š + + + +/…š + +„&„&„&…”…”…”„&„&„& + + + + + + +1 +2…œ + + + + +1 +2…œ + + + + +1 +2…œ + + +„&„&„&…”…”…”„&„&„&<<<BBB………„&„&„&…”…”…”„&„&„&   „&„&„&…”…”…”„&„&„&‚¸‚¸‚¸   …’…’…’„&„&„&…”…”…”„&„&„&‚¸‚¸‚¸ …’…’…’ …’*…’…’…’„&„&„&…”…”…”„&„&„&€¢€¢€¢ €¢€¢€¢ „&„&„&…”…”…”„&„&„&…ž…ž…žP<<<<P<<P<<„&„&„&………Ä…Ä…Ä…Æ…Æ…Æ…È…È…È…Ê…Ê…Ê…Ì…Ì…Ì…Î…Î…Î…Ð…®…„&+…”,„&-< B!…®…Ð…„&+…”,„&-< B!…®…Ð…„&+…”,„&-< B!…®…Ð…° „&+…”,„&- .…°…Ð „&+…”,„&- .…°…Ð „&+…”,„&- .…°…Ð…²…’„&+…”,„&-‚¸5 .…²…Ð…’„&+…”,„&-‚¸5 .…²…Ð…’„&+…”,„&-‚¸5 .…²…Ð…´…’„&+…”,„&-‚¸6 …’*.…´…Ð…’„&+…”,„&-‚¸6 …’*.…´…Ð…’„&+…”,„&-‚¸6 …’*.…´…Ð…¶ „&+…”,„&-€¢7…¶…Ð „&+…”,„&-€¢7…¶…Ð „&+…”,„&-€¢7…¶…Ð…¸„&„&+…”,„&-…ž8P<<9…¸…Є&„&+…”,„&-…ž8P<<9…¸…Є&„&+…”,„&-…ž8P<<9…¸…Ð…¬ „&+…”,„&-< B!…¬…Ð „&+…”,„&-< B!…¬…Ð „&+…”,„&-< B!…¬………P<<<<P<<P<<…Ö…”…”…”…”…”…”…”…”…”„&„&„&       + +  +/ + +    + + + +  +1 +2 + + + + …˜ + +…˜ + + + +…˜ +…š + + + +/…š + + + + + + +/ + +/…š + +…œ + + + + +1 +2…œ + + + + + + + + + +1 +2 + +1 +2…œ + + +       + +  +  + +  +/  +  + + + +  + +  + + + +  +1 +2  + +‚<<< <<<BBB „&„&…ž…ž…žP<<<<P<<P<<„& + + + + + + + + + +/ + +TX + + + + + + + + +1 +2 + + + + +…˜ + +…˜ + + + +…˜ +…š + + + +/…š + + + + + + +/ + +/…š + +…œ + + + + +1 +2…œ + + + + + + + + + +1 +2 + +1 +2…œ + + +……<<<BBB…    …’…’‚¸‚¸‚¸  …’…’…’‚¸‚¸‚¸ …’…’…’ …’*…’ €¢€¢€¢ …………Ø…Ø…Ü…Ø + +P<<<<P<<P<<…ž…ž…žƒƒ‚Ž‚’ƒ + + + + <<<BBB < B=P<<<<P<<P<<…ž…ž…ž +`d + + +P<<<<P<<P<<…ž…ž…ž + +€€ƒƒ€¢€¢€¢€¢TX€¢€¢€¢       …æ…æ…æ…ì…ì…ì…ì…ì…쀢€¢`d€¢…æ…ì…ì…î…î…îJƒ¢ƒ¢Jƒ¢‚Ž‚’Jƒ¢Jƒ¢ƒ¢Jƒ¢Jƒ¢Jƒ¢ƒ¢Jƒ¢ƒ¢ƒ¢ƒ¢Jƒ¢J…î…îJ…î  + +  +> + +HHHHHHHH…æ…æ…æ…æ…æ…怢€¢`d€¢J…îJ…î…îJ…ƒ¢ƒ¢<€¢€¢<€¢<€¢HHHH…æ…æ…æ…æ…æ…æHHHHHHHP€¢€¢€¢€¢P€¢€¢P€¢€¢ƒ¢ƒ¢‚Ž‚’ƒ¢ƒ¢ƒ¢ƒ¢HHHH€¢€¢`d€¢J…î…ì…ì…ì…ì…ì…ì …ì…ì…ì  …ì…ì…ì  …æ…æ…æ<<<  …æ…æ…æ  HHH    …ò  …æ…æ…æ<<<   …ô  …æ…æ…æ  …æ…æ…æ €À€À€À…ì…ì <<< HH<H   €À‚€À€¢€¢€¢…ö…ö…ö„ ‚„   >ƒƒƒ  HHH„  …æ…æ…惃ƒ€¢€¢€¢ ƒƒƒ  …æ…æ…ætt€¢€¢€¢BBB€¢€¢€¢€¢€¢€¢€¢€¢€¢`d<66<6<6444€€€‚…ÞHHHH€¢€¢€¢HHH<<<<<<€¢€¢€¢‚²‚²‚²      €¢€¢€¢„&„&„&<<<BBB €¢€¢€¢   €¢€¢€¢€¢€¢€¢   €¢€¢€¢ † ¢¢ † ¢¢ † ¢¢ † + ¢¢            €¢€¢   €¢   HHH€¢€¢€¢J††J†€¢€¢€¢P€¢€¢€¢€¢P€¢€¢P€¢€¢J†€¢€¢€¢†J†€¢?P€¢€¢@†J†€¢?P€¢€¢@† €¢€¢€¢PPP €¢€¢€¢€¢€¢€¢ €¢€¢€¢†J†€¢?P€¢€¢@†J†€¢?P€¢€¢@†€¢€¢€¢†J†€¢?P€¢€¢@†J†€¢?P€¢€¢@†  €¢€¢€¢€¢€¢€¢†††††††††€¢€¢€¢€¢€¢€¢€¢€¢PPP††BBBBBBBBBBBBBBB €¢€¢€¢€¢€¢€¢BBPPP††€¢€¢€¢€¢€¢€¢BBBBBBBBB PPPP€¢€¢††P€¢†P€¢† †††  ††† €¢€¢€¢€¢€¢THH††HHX€¢€¢€¢THH††HHX€¢     ƒ¢ƒ¢ƒ¢ƒ¢€¢€¢€¢J† † J† J† J† † J† HHHHHHHJ† €¢€¢…î…î……æ…æ…æ …æ…æ…æHHHHHH     …æ…æ…怢€¢€¢HHHHH††HH + +JJJ                †&†&   †&†&†&   †&†&†&   †& €¢€¢€¢PPP†&†&†&   €¢€¢€¢PPP  +€¢€¢€¢†* + +†* + +†* +PPP†&†&†& +   <†,†,<†,<†,†.†.†.€¢€¢€¢   €¢€¢€¢ €¢€¢€¢PPP  €¢€¢€¢PPP  PPP   €¢€¢€¢†.†.†.€¢€¢€¢   <†0†0<†0<†0€¢€¢€¢€¢€¢€¢   €¢  PPP  PPP €¢€¢€¢€¢€¢€¢PPP†&†&†&€¢   †&†&†& PPP€¢€¢€¢HHTXH       €¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢     €¢€¢€¢ €¢€¢€¢€¢€¢€¢€¢€¢€¢ …Þ†:†:   †@†@†@†:†:†:†:†:TX   ƒƒ†@†B +†B +†@†B +ƒƒ†H†Lƒ<<<†@†B +   †@ +†@ +   †@ +†:†:†@ +†@ +†@ +HH<<<H   †:†:†:†:†:           †N +†N +†R +<  < < †N +†N +†T +†T +†:†:†:†V +†V +           <  < <      †Z< †\†^†`†b†dƒƒ†@†B +†B +†@†B +ƒƒ†H†L + +†@†f†f†@†f                  †@†h†h†@†h                  †@†j†j†@†j               ""   "†@†l†l†@†l               &&   &†@†n†n†@†n                  †@†p†p†@†p                  †@†r†r†@†r                   †@†t†t†@†t               $$   $†@†v†v†@†v               †@†x†x†@†xBBB BBB BB   B   BBB **   *†@†z†z†@†zBBB BBB BB   B   BBB ,,   ,†V†f†f†V†f          †V†h†h†V†h          †V†j†j†V†j          †V†l†l†V†l          †V†n†n†V†n          †V†p†p†V†p          †V†r†r†V†r          †V†t†t†V†t          †V†v†v†V†v          †V†x†x†V†xBB   B   BBB †V†z†z†V†zBB   B   BBB †:†:†@†@ +†@ +†@†@ +†@ +†@ +†@ + †@ +†@ +†@ + †@ +†@ +   †@ +   †@ +†@ +†@ + †€†€†@ +†@ + + + +   +†:†:†V†@ +†@ +†V†@ +†@ +†@ +   †@ +   †@ +†@ +†@ + †€†€†V +†V + +   +†:†:†V†V +†V +†V†V +†V +†V +   †V +   †V +†V +†V + …æ…æ   †‚†‚†„†„†l†l†l†@†††††@†††@†††„†l†@††     †@†B†f†f†l†l†l†@†††††@†††@†††f†l†@†††B†f†l†@†††@†B†f†l†@†††@†B†f†l†@†††@†B†l†l†@†n†n†@†n†@†n†@†B†Š†„†l†@†††Š†B†„†l†@†††Š†@†B†„†l†@†††Š†@†B†„†l†@†††Š†f†f†f†l†@†n†@†B†„†l†@†††Š†f†B†l†@†n†@†B†„†l†@†††Š†f†@†B†l†@†n†@†B†„†l†@†††Š†f†@†B†l†@†n†@†B†„†l†@†††Š†f†@†B†f†f†l†l†l†f†l†B†f†l†@†B†f†l†@†B†f†l†@†„†„†@†„†@†„†:†:†:†:†:†:†Œ†Œ†Œ†Œ†Œ†Œ†Œ†Œ†Œ†Œ†Œ†Œ†Œ†Œ†Œ†Œ†Œ†Œ†Ž†Ž†Ž†Ž†:†:†’†’†:†:ƒƒƒ†:†:†’†’†:†:†@ +†@ +     †@ + †@†@†:†@†: †˜†˜†:†:†@ +†@ +    †@ +€¢€¢€¢†š†š†š†ž†š€¢€¢€¢†:†:†@ +†@ +€¢€¢€¢†@ +HH<<<H   †@†„†„†@†„†@†„†¤†¤ƒƒƒƒ +€¢€¢€¢ +†:†:<<<TX<    €¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢†¦†¨†ª†¬†¶†¶†¶†¸†¸†¸†¶†¶†¶†¸†¸†¸€¢€¢€¢€¢€¢€¢†¶†¶€¢€¢€¢€¢€¢€¢HHH   P€¢€¢€¢€¢P€¢€¢P€¢€¢HP€¢€¢€¢€¢P€¢€¢P€¢€¢   €¢€¢€¢€¢€¢€¢<<TX<€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢   †Æ €¢€¢€¢†È€¢   †Ê €¢€¢€¢†Ì€¢   †Î €¢€¢€¢†Ð€¢   †Ò €¢€¢€¢†Ô€¢   †Ö €¢€¢€¢†Ø€¢   †Ú €¢€¢€¢†Ü€¢   †Þ €¢€¢€¢†à€¢   †â €¢€¢€¢†ä€¢   †æ €¢€¢€¢†è€¢   †ê €¢€¢€¢†ì€¢   †î €¢€¢€¢†ð€¢   †ò €¢€¢€¢†ô€¢   †ö €¢€¢€¢†ø€¢   †ú €¢€¢€¢†ü€¢   †þ €¢€¢€¢‡€¢   ‡ €¢€¢€¢‡€¢   ‡ €¢€¢€¢‡€¢   ‡ + €¢€¢€¢‡ €¢   ‡ €¢€¢€¢‡€¢   ‡ €¢€¢€¢‡€¢    €¢€¢€¢‡    €¢€¢€¢‡ HH   H     HH   H   ‡    €¢€¢€¢    €¢€¢€¢    €¢€¢€¢    €¢€¢€¢    €¢€¢€¢    €¢€¢€¢    €¢€¢€¢    €¢€¢€¢    €¢€¢€¢    €¢€¢€¢    €¢€¢€¢    €¢€¢€¢    €¢€¢€¢    €¢€¢€¢    €¢€¢€¢    €¢€¢€¢          €¢€¢€¢    €¢€¢€¢    €¢€¢€¢    €¢€¢€¢    €¢€¢€¢    €¢€¢€¢    €¢€¢€¢          €¢€¢€¢    €¢€¢€¢    €¢€¢€¢    €¢€¢€¢    €¢€¢€¢    €¢€¢€¢          €¢€¢€¢    €¢€¢€¢    €¢€¢€¢    €¢€¢€¢ †¨†¬†®†¦†º<<<TX<<<TX ‡$‡$‡$<<<  ‡$‡$‡$<<< HH‡$‡$‡$<<<TXHHH‡$‡$‡$<<<TXH‡$‡$<<<‡$‡$‡$<<<‡$‡$‡$<<<‡$<<<TX<<‡$‡$‡$< ‡$‡$‡$<<< ‡$‡$<<<‡$‡$‡$‡$‡$‡$<<<‡$‡$‡$‡$<<<<<<<<<<<<TX<<‡$‡$‡$< ‡$‡$‡$<<< <<<‡&‡&‡$‡$‡$‡& ‡$‡$‡$‡&‡&‡& <<<  ‡$‡$‡$  ‡$‡$‡$                                          HH‡$‡$‡$H<<<<<‡$‡$‡$< ‡$‡$‡$<<< <<<<<‡$‡$‡$< ‡$‡$‡$<<< €¢€¢‡$‡$‡$€¢‡.‡.‡$‡$‡$‡.‡$‡$‡$‡$‡$‡$‡.‡.‡$‡$‡$‡.‡$‡$‡$‡$‡$‡$‡$‡$‡$‡$‡$‡$‡$‡$‡$‡$‡$‡$‡$‡$‡$‡$‡$‡$‡0‡0‡$‡$‡$‡0‡$‡$‡$‡$‡$‡$‡.‡.‡$‡$‡$‡.  ‡$‡$‡$ <<<<<‡$‡$‡$< ‡$‡$‡$<<< <<<<<‡$‡$‡$< ‡$‡$‡$<<< ‡$‡$‡$<<<€¢€¢‡$‡$‡$€¢ ‡$‡$‡$€¢€¢€¢ ‡0‡0‡0<<<‡.‡.‡0‡0‡0‡. ‡0‡0‡0<<< <<<‡.‡.‡0‡0‡0‡. ‡0‡0‡0<<< <<<‡.‡.‡0‡0‡0‡. ‡0‡0‡0<<< <<<‡$‡$‡$€¢€¢€¢‡$‡$‡$‡$‡$‡$‡$‡$‡$‡$‡$‡$‡$‡$‡$‡$‡$‡$‡$‡$‡$€¢€¢€¢‡$‡$‡$<<<€¢€¢€¢‡$‡$‡$‡$‡$‡$‡$‡$‡$‡$‡$TX‡$<<<‡$‡$‡$<<<   ‡$‡$‡$<<<<<<<<<   <<<<<<<<<<<<   <<<<<<‡0‡0‡0<<<   ‡0‡0‡0<<<HHH<<<HHH<<<<<<<<TX<<<<‡$‡$‡$<<<‡$‡$‡$‡$‡$‡$<<<‡$‡$‡$<<<‡$‡$‡$<<<‡$‡$‡$<<<€¢€¢€¢<<<‡$‡$‡$<<<<<<‡$‡$TX‡$<<<‡$‡$‡$   ‡$‡$‡$<<<ƒ"ƒ"ƒ"‡$‡$‡$ƒ"ƒ"ƒ"€¢€¢€¢ƒ"ƒ"ƒ"ƒ"ƒ"‡$‡$‡$‡$€¢€¢‡2‡2€¢<<<HHH‡$‡$‡$<<<<<<HHTXH‡$‡$‡$<<<<<<HHH‡$‡$‡$HHH<<<HHH<<<HHH<<<HHH<<<<<<<<<<<<<<<‡$‡$‡$ ‡$‡$‡$‡$‡$‡$€¢€¢€¢€¢€¢€¢‡$‡$‡$€¢€¢€¢tt€¢€¢€¢€¢€¢€¢<<<‡$‡$‡$€¢€¢€¢€¢€¢€¢‡2‡2€¢‡4‡4ƒÄƒÄ‡6‡6€¢€¢€¢€¢€¢€¢€¢€¢‡2‡2€¢<<<HHH<<<<<<<<<HHH<<<<<<<<<HHH<<<HHH‚HHH‚HHH<<<BBB‚BBB‚BBB<<<HHH<<<   ‚   ‚   <<<HHH<<<¬¬¬‚¬¬¬‚¬¬¬<<<HHH<<<€¢€¢€¢‚€¢€¢€¢‚€¢€¢€¢<<<<€¢€¢<€¢<€¢€¢€¢€¢‡$‡$‡$<€¢€¢<€¢<€¢<<<€¢€¢€¢‡$‡$‡$<€¢€¢<€¢<€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢<<<€¢€¢€¢‡0‡0‡0€¢€¢€¢‡$‡$‡$€¢€¢€¢<<TX<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<€¢€¢€¢<<<<<<€¢€¢€¢<‡$‡$<<<€¢€¢€¢‡$<<<<<€¢€¢€¢< <<<<<<  <<<<<<  <<<<<< ‡.‡.<<<‡.‡$‡$<<<€¢€¢€¢HHH‡$‡$‡$<<<‡$‡$‡$€¢€¢€¢‡$‡$‡$<<<‡$‡$‡$‡$‡$‡$‡$‡$‡$<<<‡$‡$‡$‡$‡$‡$‡$‡$‡$<<<‡$‡$‡$€¢€¢€¢‡$‡$‡$<<<<<<€¢€¢€¢HHH‡$‡$‡$<<<‡$‡$‡$‡$‡$‡$<<<€¢€¢€¢‡$‡$‡$‡$€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢‡$‡$‡$€¢€¢€¢‡$‡$‡$€¢€¢€¢‡$‡$‡$€¢€¢€¢   €¢‡$‡$<<<‡$‡$‡$<<<‡$‡$‡$<<<‡$‡$‡$<<<‡$‡$‡$<<<‡$‡$‡$<<<   €¢€¢€¢‡$‡$‡$<<<   €¢€¢€¢‡$‡$‡$<<<‡$‡$‡$HHH‡$‡$‡$<<<‡$‡$‡$€¢€¢€¢HHH‡$‡$‡$<<<‡$‡$‡$HHH‡$‡$‡$<<<‡$‡$‡$€¢€¢€¢HHH‡$‡$‡$<<<‡$‡$‡$HHH‡$‡$‡$<<<‡$‡$‡$€¢€¢€¢HHH‡$‡$‡$<<<   ‡$‡$‡$<<<   €¢€¢€¢‡$€¢€¢<<<€¢€¢€¢<<<€¢€¢€¢€¢€¢€¢<<<€¢‡$‡$<<<€¢€¢€¢<<<‡$‡$‡$<<<€¢€¢€¢<<<€¢€¢€¢‡$‡$‡$<<<‡$‡$‡$‡$€¢€¢‡$‡$‡$<<<€¢‡$‡$<<<‡$‡$‡$<<<‡$‡$‡$<<<‡$‡$‡$<<<€¢€¢€¢‡$€¢€¢‡$‡$‡$‡0‡0‡0€¢€¢€¢‡0‡0‡0€¢‡$‡$<<<‡$‡$‡$‡0‡0‡0‡$‡$‡$<<<‡$‡$‡$‡0‡0‡0€¢€¢€¢‡$€¢€¢‡$‡$‡$<<<€¢‡$‡$<<<‡$‡$‡$<<<HHH‡$‡$‡$<<<‡$‡$‡$<<<€¢€¢€¢HHH‡$<<<<<<<<€¢€¢€¢HHHTX<<<<<<<‡$‡$<<<‡$€¢€¢<<<€¢<<<<<<  <<<  <<<   HH<<<H  €¢€¢€¢     <<<<<< <<<<<<‡$‡$<<<‡$ <<<<<<      €¢€¢€¢<<<  <<<   €¢€¢€¢<<<HHH  <<<<<<          <<<<<<  <<<<<<  <<<<<<  <<<<<< ‡.‡.<<<<<<‡.‡.‡.<<<<<<‡.‡$‡$<<<‡$‡$‡$<<<‡$ <<<‡$‡$‡$<<<  <<<‡$‡$‡$<<< ‡$‡$<<<‡$‡$‡$   ‡$‡$‡$<<<<<<‡$€¢€¢<<<€¢€¢€¢€¢‡.‡.<<<€¢€¢€¢‡.             <<<‡$‡$‡$‡$‡$‡$HHH<<<‡$‡$‡$<<<‡$‡$‡$<<<HHH<<<‡$‡$‡$<<<‡$‡$‡$<<<HHH<<<‡$‡$‡$<<<‡$‡$‡$<<<HHH‡$‡$‡$HHH‡$‡$‡$HHTXH‡$‡$‡$HHH‡$‡$‡$HHH‡$‡$‡$HHH‡$‡$‡$HHH‡$‡$‡$HHH‡$‡$‡$HHH‡$‡$‡$HHH‡$‡$‡$HHHHH<<<HBB<<<B  <<< ¬¬<<<¬€¢€¢<<<€¢‡$‡$<<<‡$‡$‡$<<<‡$HH<<<HHH<<<HHH<<<<<<HHH<<<<<<HHH<<<<<<HHH     H‡.‡.<<<‡. <<<<<< HH<<<H  <<< <<<<<   < <<<   <<< ‡.‡.<<<‡.‡.‡.<<<   ‡.‡.‡.<<<<<<‡. <<<<<< €¢€¢€¢€¢€¢     €¢HH€¢€¢€¢€¢€¢€¢H<<<<<<<<< <<<<<<<<< ‡$‡$‡$€¢€¢€¢‡$‡$‡$€¢€¢€¢‡$‡$‡$€¢€¢€¢<<<<<<<<< <<<<<< <<<‡$‡$‡$‡$‡$‡$HHH<<<€¢€¢€¢‡$‡$‡$<<<€¢€¢€¢‡$‡$‡$ <<<‡$‡$‡$€¢€¢€¢‡$‡$‡$<<<‡$‡$‡$‡$‡$‡$‡$‡$‡$†¦‡€¢€¢€¢€¢€¢€¢ + +ƒƒƒƒƒƒ ƒ"ƒ"ƒ"<<<‡>‡>‡>€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢‡@‡@‡@€¢€¢€¢HHH‡$‡$‡$‡$‡$‡$ƒƒƒ €¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢ + +‚HHH†¦‚Œ€€†¨†¬‡B†®‡€¢€¢€¢€¢€¢€¢   TX   TXHHH€¢€¢€¢€¢€¢€¢ƒƒƒ€¢€¢€¢ ‚‚ TX ƒƒ      €¢€¢€¢   <<<<<<   €¢ << ƒƒƒHHHHHHHHHHHH<ƒ"ƒ"<ƒ"<ƒ"<<<Pƒƒ‚PƒPƒ    €¢€¢€¢    BB€¢€¢€¢B    €¢€¢<<<TX€¢€¢€¢<<<€¢HHH€¢€¢<<<€¢         €¢€¢€¢€¢€¢<<<€¢€¢€¢€¢€¢€¢€¢€¢€¢‡J‡J‡J     €¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢‚²‚²‚²€¢  ‚²‚²‚²   ‚²‚²‚²‚²‚²‚²TXTXTX‚²‚²‚²TXTXTX‚²‚²‚²TXTXTX‚²‚²‚²TXTXTX‚²‚²‚²TXTXTX‚²‚²‚²TXTXTX‚²‚²‚²TXTXTX‚²‚²‚²TXTXTX  <<<P€¢€¢‚P€¢P€¢ƒƒƒ<<<P€¢€¢‚P€¢P€¢ƒƒƒ<<<P€¢€¢‚P€¢P€¢BBtttB€¢€¢€¢ €¢€¢€¢ TXTXttTXtttTXt‚ú‚úTX‚ú¬¬TX¬   HHH€¢€¢€¢TXTXTX€¢€¢€¢           ‡R‡R‡R‡R‡R‡R‡R‡R‡R‡R‡R‡R‡R‡R‡R‡R‡R‡R‡R‡R‡R‡R‡R‡R‡R‡R‡R‡R‡R‡R     €¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢ƒÄƒÄ‡T‡T€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢tt‡T‡T€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢tt€¢€¢€¢€¢€¢€¢€¢ƒƒ‚€¢€¢‡2‡2€¢‚BBBB<<<<<<<<<<<<<<<<<<<<<€¢€¢€¢BBBBB€¢€¢€¢€¢€¢€¢   PPPƒ@ƒ@ƒ@      ƒƒƒ      ƒƒ              <<<   HHHHHH€¢€¢€¢<<<HHHHHH   HHH€¢€¢€¢HHHHHH   HHH€¢€¢€¢€¢€¢€¢‡V‡V‡X‡X€¢€¢€¢‡X‡X€¢€¢€¢€¢HH<H   €¢‡Z‡Z‡Z€¢€¢€¢TX‡Z‡Z‡Z€¢€¢€¢TX‡Z‡Z‡ZTXTX‡Z‡Z‡ZTX‡Z‡Z‡ZTXTX‡Z‡Z‡ZTX€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢TXTX€¢€¢€¢€¢HHH€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢HHH€¢€¢€¢ TX ‡` +‡` +‡b‡b€¢€¢€¢HHH<<<  TX  €¢€¢€¢ tt€¢€¢€¢tt‡T‡T€¢€¢€¢€¢€¢€¢€¢tt‡T‡T€¢€¢€¢€¢€¢€¢€¢   €¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢J‚ž‚žJ‚žJ‚ž€¢€¢€¢‡fJ‚ž‡fJ‚ž‡fP€¢€¢J‚ž‚žJ‚žP€¢J‚žP€¢J‚žƒ@€¢€¢ƒ@€¢ƒ@€¢<€¢€¢<€¢<€¢ ‡h ‡h ‡h€¢€¢€¢J‚ž‚žJ‚žJ‚ž€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢HHH€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢J‚ž‚žJ‚žJ‚ž<<<<€¢€¢<€¢<€¢‡j‡j<<<€¢€¢€¢‡j‡j€¢€¢€¢TX  <€¢€¢<€¢<€¢ €¢€¢€¢€¢€¢‡n‡n€¢€¢€¢€¢‡p‡p‡p‡t‡p<<<HHH€¢€¢€¢ ƒƒƒHHTXH<<< <<<<<<< €¢€¢€¢€¢‡z‡z‡z‡z‡z‡~‡z‡€ + +‡€ + +‡† + +‡† + +P + +P + +P + +P + +P + +PPPP + +P + +P + +HHHHHH€¢€¢€¢  + + + +  + + + + + + +<<< +  P + +P + +P + + .ƒ` + +ƒ` + +.ƒ` + +.ƒ` + + .ƒ` + +ƒ` + +.ƒ` + +.ƒ` + + P + +P + +ƒ` + +ƒ` + + + + + +ƒ` + + + +P + + + + + + + + + + + + +  + + + + + + + +  HH + + + +H + + ‡† + +‡† + + < +‡Š + +‡Š + +   < +< +< +   < +< +< +HH<<<HHH<<<H +<<< +   + + + +  + + . +. +. +. +. +. +‡Œ + +‡Œ + + + + +HH<<<H. +. +‡Œ +‚‡Œ +‡Œ +‡Œ +ƒ: +ƒ: +ƒ: +   ‡† + +‡† + +P + +P + +P + +HH<<<HHH<<<H +<<< +   + + + +  + + . +. +. +. +. +. +   ‡V‡V‡V‡V‡V‡V<<<€¢€¢€¢‡’‡’‡V‡V‡V<<<‡’‡’‡V‡V‡V<<<‡’‡’‡V‡V‡V<<<‡’‡’‡V‡V‡V<<<‡’‡’‡V‡V‡V<<<‡’‡’‡V‡V‡V<<<‡’‡’‡V‡V‡V<<<‡’‡’‡V‡V‡V<<<‡’‡’‡V‡V‡V<<<‡’‡’‡V‡V‡V<<<‡’‡’‡V‡V‡V<<<‡’‡’‡V‡V‡V<<<‡’‡’‡V‡V‡V<<<‡’‡’‡V‡V‡V<<<‡’‡’‡V‡V‡V<<<‡’‡’‡V‡V‡V<<<‡’‡’‡V‡V‡V<<<‡’‡’‡V‡V‡V<<<‡’‡’‡V‡V‡V<<<‡’‡’‡V‡V‡V<<<‡V‡V‡V‡’‡’‡’‡V‡V‡V‡’‡’‡’‡V‡V‡V‡’‡’‡’‡V‡V‡V‡’‡’‡’‡V‡V‡V‡’‡’‡’‡V‡V‡V‡’‡’‡’‡V‡V‡V‡’‡’‡’‡V‡V‡V‡’‡’‡’‡V‡V‡V‡’‡’‡’‡V‡V‡V‡’‡’‡’‡V‡V‡V‡’‡’‡’‡V‡V‡V‡’‡’‡’‡V‡V‡V‡’‡’‡’‡V‡V‡V‡’‡’‡’‡V‡V‡V‡’‡’‡’‡V‡V‡V‡’‡’‡’‡V‡V‡V‡’‡’‡’‡V‡V‡V‡’‡’‡’‡V‡V‡V‡’‡’‡’‡V‡V‡V‡’‡’‡’€¢€¢€¢€¢€¢€¢HHH<<<   <<<   <<<    €¢€¢€¢€¢€¢€¢HHH€¢€¢€¢ €¢€¢€¢ƒƒƒƒƒƒƒƒƒ€¢€¢€¢   €¢€¢€¢ HHH€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢TX€¢€¢€¢ TX  TX  ‡š‡š‡š‡ž‡š‡š‡š‡š‡ž‡š‡š‡š‡š‡ž‡š‡š‡š‡š‡ž‡š‡š‡š‡š‡ž‡š‡š‡š‡š‡ž‡š‡š‡š‡š‡ž‡š‡š‡š‡š‡ž‡š‡š‡š‡š‡ž‡š‡¤‡¤‡¤‡¤‡¤‡¤‡¤‡¤‡¤   ‚¾‚¾€¢€¢€¢€¢€¢€¢€¢€¢€¢HHHHHHHHHHHHHHHHHHHHHHHHHHHH€¢€¢€¢HHHHHHHHHHHHHHHƒnƒn€¢€¢€¢ƒnHH€¢€¢€¢H€¢€¢€¢€¢€¢€¢.ƒnƒn.ƒn€¢€¢€¢    .ƒnƒnƒn€¢€¢€¢   ƒnƒnƒn€¢€¢€¢   ƒnƒnƒn€¢€¢€¢    ƒnHHHHHHHHHHHHƒnƒnƒlƒlƒl‡.‡.‡.ƒl‡.€¢€¢€¢     €¢€¢   €¢€¢€¢   €¢   <€¢€¢<€¢<  < < <€¢€¢€¢€¢€¢€¢€¢.€¢€¢.€¢.€¢„tƒnƒn„tƒn‡¤‡¤‡¤€¢€¢€¢   ‡¤€¢ ƒ:ƒnƒnƒ:ƒnƒ:ƒnƒ:ƒnƒnƒ:ƒn‡¤‡¤‡¤€¢€¢€¢   ƒnƒnƒn‡¤€¢ ƒnƒnƒnHH   HHH   HHHH‡¤‡¤‡¤€¢€¢€¢   ƒnƒnƒn€¢€¢€¢<€¢€¢<€¢<€¢ƒjƒj   €¢€¢€¢€¢€¢€¢   €¢€¢   €¢   €¢€¢   €¢<€¢€¢<€¢<  < < <€¢   €¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢   .ƒjƒj.ƒj.ƒj.ƒjƒj.ƒj€¢€¢€¢€¢€¢€¢   €¢€¢ ƒ:ƒjƒjƒ:ƒjƒ:ƒjƒjƒjƒjƒ:ƒjƒjƒ:ƒj€¢€¢€¢€¢€¢€¢   ƒjƒjƒj€¢€¢ HHHƒjƒjƒj€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢ƒjƒjƒj€¢€¢€¢€¢€¢€¢€¢€¢€¢      €¢€¢€¢     €¢€¢€¢€¢€¢€¢HHH††H„D + +„D + +ƒR + +ƒR + +‡¦‡¦   ‡¬‡¬‡¬‡¬‡¬‡¬   HHHTX   HHHHHH. +. +. +. +. +. +HH<<<HHH<<<HHH<<<H P + +P + +P + +  +<<< + +<<< +  + + + +   + + + +  + + + + + + +<<< + +<<< +    + + + +  + +   + + + +  +<<< + ‡¬‡¬ + + + +‡¬ ‡¬‡¬‡¬ HHHHHH   <‡¬‡¬<‡¬<‡¬   €¢€¢€¢‡¬‡¬‡¬<‡¬‡¬<‡¬<‡¬    HHH‡® + +‡® + +‡¬‡¬‡2‡2‡¬<‡¬‡¬<‡¬‡2‡2<‡¬ ‡2‡2  ‡2‡2 HH‡2‡2H‡2‡2‚‚‡¬‡¬‡¬‡¬‡¬‡¬ƒD +ƒD +‚   HHHƒ: +ƒ: +ƒ: +HH<<<H   + +  + ƒ: +ƒ: +‚   ‡¬‡¬‡¬ + +  + +HHH†¦‚Œ†ª†¨‡‚f€¢€¢€¢TXHHH‚  ƒ"ƒ"ƒ"   ƒ"ƒ"ƒ"ƒ"ƒ"ƒ"€¢€¢€¢ƒ"ƒ"ƒ"HH<H   €¢€¢€¢‚ƒƒƒƒ"ƒ"ƒ"‡°‡°HH€¢€¢€¢HHHHHHHHHHHHHHHHHH   ƒ"ƒ"ƒ"‡°‡°‚ž‚žHH<H€¢€¢€¢   ƒ"ƒ"ƒ"‚ƒƒƒ    +   +‡² +‡² +    + + ‡°‡°‡´‡´   ƒ"ƒ"ƒ"€¢€¢€¢‡¶‡¶‡¶‡¶‡¶‡¶ƒƒ€¢€¢€¢‡¸‡¸‡¸‡¼‡¸‡°‡°< +< +‡² +‡² +‡À‡¸            < +< +< +< +< +< +< +< +<<<< +HH‡.‡.‡.HHH‡.‡.‡.HHH‡.‡.‡.HHH‡.‡.‡.H€¢€¢€¢€¢€¢€¢< +< +< +  + +  +   +    + +    . +. +. +    . +. +. +  + +HH<<<H HH + +H +  HH + +H +  HH + +H +HHH . +. +HH + +H +. +. +. +. +. + + +. + +. + . +. +. +  ‡.‡.‡.     + +  + . +. + + + + + +. +€¢€¢€¢€¢€¢€¢. +. +   . +. +. +HH + +H +. +. +. +   . +. +. +HH + +H +. + + + + + + + + + + + + + + + + + + + + + + + +HH + +H +H + + + + + +HH + +H +H + + + + + +HH + +H +H + + + + + +   +< +< +     < +. +. +     . + + + + + + +          . +. +. +          + +      . +. +. + HHHH + +H +HHHHH + +H +H. +. +. +   + + + +  + +  + +    ƒJƒJƒJ  <<<      <<<    HH<<<HHHHHHH€¢€¢€¢< +< +HHHH< +< +< +< +< +< +< +ƒ@ +ƒ@ +ƒ@ +ƒ: +ƒ: +ƒ: +           +   +    + + P   +P +P +. +. +. +. +. +. +. +. +. +< +< +< +< +< +< +  HH + +H +      HH + +H +      + +   + + ‡. +‡. +‡` +‡` +‡Â +‡Â +‡Â +‡Â +‡. +‡. +ƒ: +ƒ: +‡. +‡. +‡. +      + +‡. +‡. +‡. + + +HHH‡°‡°BB  ¬¬¬ HHHHHHHHHHHH‡È‡È¬¬¬‡È‡È‡ÈTX‡È‡È‡È‡È                  BBBBBBBBBBBB¬¬¬¬¬B€¢€¢   €¢€¢€¢   €¢€¢€¢   €¢€¢€¢   €¢€¢€¢€¢€¢€¢€¢€¢€¢€¢   ‡È‡È‡È‡È‡È¬¬¬‡È‡È‡È¬¬¬‡ÈBB¬¬¬B‡È‡È¬¬¬‡È‡È‡È¬¬¬‡ÈHHH  ¬¬¬  ¬¬¬  ¬¬¬ ¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬HH¬¬¬HHH¬¬¬HHH¬¬¬HHH¬¬¬Hƒ"ƒ"ƒ"‡È‡È  ‡Ê‡Ê‡2‡2TX‡Ê‡Ê‡Ê‡2‡2‡Ê‡Ê‡Ê‡2‡2‡ÊHHHHHH                          HHH                                   ƒ"ƒ"ƒ"   ‡È‡ÈBBƒ"ƒ"ƒ"‡Ê‡Ê‡Ì‡Ì‡Î‡Î‡°‡°€¢€¢‡²‡²    TX     .ƒjƒj.ƒj€¢€¢€¢    .ƒjƒjƒj€¢€¢€¢    ƒj€¢€¢€¢€¢€¢€¢HH€¢€¢€¢H€¢€¢ƒlƒlƒl€¢€¢€¢€¢€¢€¢ƒlƒlƒl€¢€¢ƒjƒjƒj€¢ƒj€¢ƒj€¢€¢€¢ƒlƒlƒl€¢€¢ƒjƒjƒj€¢ƒj€¢ƒj€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢ƒlƒlƒl€¢€¢€¢    €¢€¢€¢ƒlƒlƒl€¢€¢ƒjƒjƒj€¢ƒj    €¢<€¢€¢<€¢ƒlƒlƒl<€¢€¢€¢     €¢€¢€¢€¢<€¢€¢<€¢ƒlƒlƒl<€¢HHƒlƒlƒl    H€¢€¢     €¢€¢€¢€¢€¢€¢€¢HH   H  €¢€¢€¢     €¢€¢€¢    €¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢   €¢€¢€¢   €¢€¢€¢€¢€¢€¢   €¢€¢€¢€¢<  < < ƒ†ƒ†ƒ†  ƒlƒlƒl      ƒlƒlƒl    HHƒlƒlƒl    HHHHHHH  €¢€¢€¢ €¢€¢€¢   ƒ"ƒ"ƒ"   €¢€¢   €¢‚Œ†¬†ª†¨‚f44‡Ð‡Ô  ‡Ö‡Ú ƒ"ƒ"ƒ"                                      ""      "$$      $&&      &((      (**      *,,      ,..      .00      022      2<<„<nn„<n„dnn„dn..***   *<nn<n<nƒ"ƒ"ƒ"<nn<n<n444         nn   n   nnn ..     .<<„<pp„<p„dpp„dp(("""   """<pp<p<pƒ"ƒ"ƒ"<pp<p<p444         pp   p   ppp ((     (<<„<rr„<r„drr„dr00,,,   ,<rr<r<r<rr<r<rƒ"ƒ"ƒ"444         rr   r   rrr 00     066‡Ð‡Ô44‡Ü‡à‡â‡æ4  ‡Ö‡Ú  ‡Ö‡Ú  ‡Ö‡Ú      €¢€¢€¢      €¢€¢€¢     <<<<<<‡è‡è22‡Ð‡Ô   444     ƒ"ƒ"ƒ"   BB   JJJJhJJBBB   HHH‡Ö‡Ú‡â‡æBBB   JJJJhJJBBB   HHH‡Ö‡Ú‡â‡æB    JJJJhJJ    HHH‡Ö‡Ú‡â‡æ    JJJJhJJ    HHH‡Ö‡Ú‡â‡æ    JJJJhJJ        JJJJhJJ    HHH‡Ö‡Ú‡â‡æ    JJJJhJJ    HHH‡Ö‡Ú‡â‡æ    JJJJhJJ        ¬¬¬JJJJhJJ    ¬¬¬HHH‡Ö‡Ú    ¬¬¬JJJJhJJ    ¬¬¬HHH‡Ö‡Ú      JJJJhJJ      HHH‡Ö‡Ú      JJJJhJJ      HHH‡Ö‡Ú      JJJJhJJ           JJJJhJJ      HHH‡Ö‡Ú      JJJJhJJ      HHH‡Ö‡Ú      JJJJhJJ      ‡ê‡ê‡ê‡ê‡ê‡ê‡ê‡ê‡ê‡è‡è‡ì +‡ì +        ‡î‡î‡î   ‡îBB‡îB„<BB„<B„dBB„dBBB   B   BBB      .BB.B.B    ‡î  ‡î „<  „< „d  „d <  <           .  . .     ‡ð‡ð**‡Ð‡Ô   <BB<B<B444     ƒ"ƒ"ƒ"**     *‡ò‡ò   ‡ò‡ò‡ò‡ò‡ò‡ò‡ò‡ð‡ð,,‡Ð‡Ô   <BB<B<B444     ƒ"ƒ"ƒ",,     ,‡ô‡ô   ‡ô‡ô‡ô‡ô‡ô‡ô‡ô‡ö‡ö‡Ð‡Ô   <  < < ‡ø‡ø‡ø     ƒ"ƒ"ƒ"          ‡ú‡ú   ‡ú‡ú‡ú‡ú‡ú‡ú‡ú‡ö‡ö""‡Ð‡Ô   <  < < 444     ƒ"ƒ"ƒ"     ""     "‡ü‡ü   ‡ü‡ü‡ü‡ü‡ü‡ü‡ü‡ö‡ö‡Ð‡Ô   <  < < 444     ƒ"ƒ"ƒ"          ‡þ‡þ   ‡þ‡þ‡þ‡þ‡þ‡þ‡þ‡þ‡þ‡þ‡ö‡ö‡Ð‡Ô   <  < < 444     ƒ"ƒ"ƒ"          ˆˆ   ˆˆˆˆˆˆˆ‡ö‡ö  ‡Ð‡Ô   <  < < 444     ƒ"ƒ"ƒ"           ˆˆ   ˆˆˆˆˆˆˆ‡ö‡ö‡Ð‡Ô   <  < < 444     ƒ"ƒ"ƒ"            ˆˆ   ˆˆˆˆˆˆˆˆˆˆ‡ö‡ö‡Ð‡Ô   <  < < 444     ƒ"ƒ"ƒ"            ‡J‡J   ‡J‡J‡J‡J‡J‡J‡J‡J‡J‡JnnBBBBBBBBBBBB‡ò‡ò‡ò   BBBBBBBBBBBBBBBppprrrBBBBBBBBBBBBBBBB€¢€¢€¢nnnnnnnnnnnnnnnnnnnnnnnnnnnppnnnpppnnnpppnnnpppnnnpppnnnpppnnnpnnBBBnnnnnnnnnnnnn   nn   nnnnnn   nnnBBBnnnBBBnnnBBBnnnBBBnnnnnnnnnnnnnnnnnnnnnnpp         ‡ü         HHHHHHHHHHHHnnn    €¢€¢€¢ppppppppppppppppppppppppppppppppp   pp   pppppp   ppp   ppp   ppp   ppp   pHHHHHHHHHHHHppHHHpppHHHpppHHHpppHHHpnnnnnnnnnrrBBBBBB‡ô‡ô‡ô   BBBBBnnnBB€¢€¢€¢rrrrrrrrrrrrrrrrrrrrrrrrrrrrrBBBrrrrrrrrrrrrr   rrBBBrrrBBBrrrrrrrrrrrrrrrr   HHH   <<<            €€‚Œˆˆ‡B†ª†¨†¬‡°‡°ˆˆ‡Ð‡Ô€¢€¢€¢     ‡°‡°‡Ð‡Ô             ‡Ö‡Ú            ‡Ö‡Ú      ‡Ö‡Ú ‡°‡°ˆˆ‡Ð‡Ô‡°‡°‡Ð‡Ôˆˆ‡Ö‡Úˆˆ ˆ ‡Ö‡Úˆ ‡°‡°‡Ð‡Ô‡°‡°‡Ð‡Ô                                                                                     ‡°‡°‡Ð‡Ô          ‡°‡°‡Ð‡Ô    ‡°‡°‡Ð‡Ô                               ‡°‡°‡Ð‡Ô             ‡°‡°‡Ð‡Ô             ‡°‡°‡Ð‡Ô             ˆ"ˆ"ˆˆ‡Ð‡Ô€¢€¢€¢PPPˆ,ˆ,ˆ,ˆ,ˆ,ˆ,€¢€¢€¢‡°‡°‡Ð‡Ô       ‡°‡°‡Ð‡Ô€¢€¢ˆ.ˆ.ˆ.€¢‡°‡°‡Ð‡Ô    ‡°‡°‡Ð‡Ô <  < < ‡Ö‡Ú ‡°‡°‡Ð‡Ô             ‡°‡°‡Ð‡Ô       ‡°‡°‡Ð‡Ô‡°‡°‡Ð‡Ô‡°‡°‡Ð‡Ô                         ˆ0ˆ0ˆ0‡Ö‡Ú ˆ0ˆ0‡Ö‡Úˆ0 ˆ0ˆ0ˆ0‡Ö‡Ú    ‡Ö‡Ú <<     ‡Ö‡Ú<<<ˆ0ˆ0ˆ0   ‡Ö‡Ú<HHˆ0ˆ0ˆ0‡Ö‡ÚH ˆ0ˆ0ˆ0   ‡Ö‡Ú ‡°‡°‡Ð‡Ô              ˆ2ˆ2ˆ2   ‡Ö‡Ú ‡°‡°‡Ð‡Ô‡°‡°‡Ð‡Ô‡°‡°‡Ð‡Ô       ‡°‡°ˆˆ‡Ð‡Ô‡°‡°‡Ð‡ÔJJ     666     J‡°‡°‡Ð‡Ô  ‡°‡°‡Ð‡Ô‡°‡°‡Ð‡Ô    ‡°‡°‡Ð‡Ô‡°‡°‡Ð‡Ô‡°‡°‡Ð‡Ô    ‡°‡°‡Ð‡Ô‡°‡°‡Ð‡Ô     ˆ4ˆ4ˆ4‡Ö‡Ú ˆ4ˆ4‡Ö‡Úˆ4 ˆ4ˆ4ˆ4‡Ö‡Ú HHˆ4ˆ4ˆ4‡Ö‡ÚH‡°‡°ˆˆ‡Ð‡Ô‡°‡°‡Ð‡Ô‡°‡°ˆˆ‡Ð‡Ô‡°‡°ˆ6ˆ6ˆ8ˆ8ˆ<€¢€¢ˆ@ˆ8ˆ8ˆB€¢€¢ˆ@ˆˆ‡Ð‡ÔHHHˆˆˆ         ˆDˆDˆDˆ.ˆ.ˆ.  ˆDˆDˆD   €¢€¢€¢    ˆFˆFˆF    ˆHˆHˆH    ˆJˆJˆJ    ˆLˆLˆL  ¬¬¬¬¬¬¬¬¬¬¬¬                                           ¬¬¬¬¬¬¬¬¬¬¬¬  ¬¬¬     HHHHHHHHHHHH JJJ ˆ.ˆ.ˆ.              666                666                                   ˆFˆFˆFˆHˆHˆHˆDˆDˆDˆJˆJˆJˆ.ˆ.   ˆ.ˆLˆLˆL    ˆFˆFˆF  ˆHˆHˆH  ˆDˆDˆD  ˆJˆJˆJ  ˆ.ˆ.ˆ.  ˆLˆLˆL     HHH  ¬¬¬¬¬¬  ˆDˆDˆDˆ.ˆ.ˆ.                                      ˆJˆJˆJ        ˆLˆLˆL         ˆNˆNˆDˆDˆD   ˆNˆNˆNˆDˆDˆD   ˆN<ˆ.ˆ.<ˆ.ˆDˆDˆD<ˆ.  ˆDˆDˆD€¢€¢€¢ <<     ‡Ü‡à‡â‡æ<PP‡Ü‡àP‡Ö‡Ú‡Ü‡à   <<€¢€¢€¢<<<       ‡Ü‡à‡â‡æ<<<   ‡Ü‡à‡â‡æ<€¢€¢ˆDˆDˆD€¢<<ˆDˆDˆD   ‡Ü‡à‡â‡æ<<<     ‡Ü‡à‡â‡æ<€¢€¢ˆ.ˆ.ˆ.€¢<<ˆ.ˆ.ˆ.   ‡Ü‡à‡â‡æ<ˆPˆP     ˆP€¢€¢ˆ.ˆ.ˆ.€¢<€¢€¢<€¢<€¢<<     ‡Ü‡à‡â‡æ<<<ˆDˆDˆDˆRˆRˆR‡Ü‡à‡â‡æ<ˆRˆRˆDˆDˆD€¢€¢€¢ˆR<<     ‡Ü‡à‡â‡æ<            HHˆFˆFˆFHHHHHH   HHHˆHˆHˆHHHHˆDˆDˆDHHHˆJˆJˆJHHHˆ.ˆ.ˆ.HHHˆLˆLˆLH ¬¬¬  ˆDˆDˆD       ¬¬¬¬¬¬              666‡Ö‡Ú           ¬¬¬HHH           ˆ.ˆ.ˆ.€¢€¢€¢                                                         666     666‡Ö‡Ú  ‡Ö‡Ú  ˆTˆTˆT‡Ö‡Ú  ˆˆˆ‡Ö‡Ú  ˆVˆVˆV‡Ö‡Ú  ˆXˆXˆX‡Ö‡Ú      ¬¬¬                        666     666‡Ö‡Ú  ‡Ö‡Ú  ˆTˆTˆT‡Ö‡Ú  ˆˆˆ‡Ö‡Ú  ˆVˆVˆV‡Ö‡Ú  ˆXˆXˆX‡Ö‡Ú  ˆRˆRˆR¬¬¬  ˆRˆRˆR  ˆRˆRˆR    ˆRˆRˆR  ˆRˆRˆR¬¬¬¬¬¬  ˆRˆRˆR  ˆRˆRˆR      ˆRˆRˆR  ˆRˆRˆR¬¬¬¬¬¬¬¬¬  ˆRˆRˆR  ˆRˆRˆR        ˆRˆRˆR  ˆRˆRˆR¬¬¬¬¬¬¬¬¬¬¬¬  ˆRˆRˆR  ˆRˆRˆR          ˆRˆRˆR  ˆRˆRˆRHHH  ˆRˆRˆRHHH  ˆRˆRˆRHHH  ˆDˆDˆD  ˆDˆDˆD    ¬¬¬        ¬¬¬¬¬¬        ¬¬¬¬¬¬¬¬¬        ¬¬¬¬¬¬¬¬¬¬¬¬            HHH                           666            ‚Ž‚’                  666‚Ž‚’              ‚Ž‚’                    666‚Ž‚’    666   ‚Ž‚’      666‚Ž‚’ ‡°‡°ˆZˆZˆ\ˆ\‡Ð‡Ôˆ^ˆ^ˆ^   ˆ2ˆ2ˆ2         ˆFˆFˆF      ˆFˆFˆF        ˆ`ˆ`ˆ`    ˆbˆbˆb  ˆdˆdˆd                         666       ‡Ö‡Ú      666     ‡Ö‡Ú      ¬¬¬                            ˆfˆfˆf                   666     ‡Ö‡Ú                  ‡Ö‡Ú                666                        ‡Ö‡Ú                666     ‡Ö‡Ú                    ‡Ö‡Ú                    666                            ‡Ö‡Ú                               ˆ2ˆ2ˆ2ˆ`ˆ`ˆ`ˆbˆbˆbˆdˆdˆd ˆ2ˆ2ˆ2  ˆ`ˆ`ˆ`  ˆfˆfˆf  ˆbˆbˆb  ˆdˆdˆd           <  < <                              ˆfˆf     ˆf     ˆLˆLˆL     €¢€¢ˆDˆDˆD   €¢<<ˆDˆDˆD     <<<ˆDˆDˆD<  < <    <     666      ˆDˆDˆD€¢€¢€¢ <<     <<<       <<<     <<<ˆ2ˆ2ˆ2   <<<ˆ`ˆ`ˆ`   <<<ˆfˆfˆf   <ˆNˆNˆDˆDˆD   ˆN  ˆDˆDˆD€¢€¢€¢ <  < ˆDˆDˆD<€¢€¢<€¢<€¢< <  < ˆDˆDˆD<<<‡Ö‡Ú<    <  < <     <  < <          HHˆ2ˆ2ˆ2HHHˆ`ˆ`ˆ`HHHˆfˆfˆfHHHˆbˆbˆbHHHˆdˆdˆdH                    ‡Ö‡Ú              ˆ`ˆ`ˆ`   ¬¬¬  ˆ`ˆ`ˆ`                             ‡Ö‡Ú  ‡Ö‡Ú  ˆTˆTˆT‡Ö‡Ú  ˆˆˆ‡Ö‡Ú  ˆVˆVˆV‡Ö‡Ú  ˆXˆXˆX‡Ö‡Ú  666‡Ö‡Ú                           ‡Ö‡Ú  ‡Ö‡Ú  ˆTˆTˆT‡Ö‡Ú  ˆˆˆ‡Ö‡Ú  ˆVˆVˆV‡Ö‡Ú  ˆXˆXˆX‡Ö‡Ú  666‡Ö‡Ú  666‡Ö‡Ú                                                 ‡Ö‡Ú  ‡Ö‡Ú  ˆTˆTˆT‡Ö‡Ú  ˆˆˆ‡Ö‡Ú  ˆVˆVˆV‡Ö‡Ú  ˆXˆXˆX‡Ö‡Ú  666‡Ö‡Ú                             ‡Ö‡Ú  ‡Ö‡Ú  ˆTˆTˆT‡Ö‡Ú  ˆˆˆ‡Ö‡Ú  ˆVˆVˆV‡Ö‡Ú  ˆXˆXˆX‡Ö‡Ú  666‡Ö‡Ú  666‡Ö‡Ú  ˆDˆDˆD<€¢€¢<€¢<€¢    ˆDˆDˆD<<<‡Ö‡Ú  ˆRˆRˆR     ‡Ö‡Ú  ˆRˆRˆR     ‡Ö‡Ú  ˆRˆRˆR    ˆRˆRˆR      ˆRˆRˆR     ‡Ö‡Ú  ˆRˆRˆR     ‡Ö‡Ú  ˆRˆRˆR      ˆRˆRˆR      ˆRˆRˆR     ‡Ö‡Ú  ˆRˆRˆR     ‡Ö‡Ú  ˆRˆRˆR        ˆRˆRˆR      ˆRˆRˆR     ‡Ö‡Ú  ˆRˆRˆR     ‡Ö‡Ú  ˆRˆRˆR          ˆRˆRˆR      ˆDˆDˆD      ˆRˆRˆRHHH     ‡Ö‡Ú  ˆRˆRˆRHHH      ˆRˆRˆRHHH      ˆRˆRˆRHHH     ‡Ö‡Ú  ˆRˆRˆRHHH      ˆRˆRˆRHHH      ˆRˆRˆRHHH     ‡Ö‡Ú  ˆRˆRˆRHHH      ˆRˆRˆRHHH                                                    ˆfˆfˆf             ˆDˆDˆDˆ.ˆ.ˆ.  ˆDˆDˆD   €¢€¢€¢    ˆFˆFˆF    ˆHˆHˆH    ˆJˆJˆJ    ˆLˆLˆL  ¬¬¬¬¬¬¬¬¬¬¬¬                                           ¬¬¬¬¬¬¬¬¬¬¬¬  ¬¬¬     HHHHHHHHHHHH JJJ ˆ.ˆ.ˆ.              666                666                                   ˆFˆFˆFˆHˆHˆHˆDˆDˆDˆJˆJˆJˆ.ˆ.   ˆ.ˆLˆLˆL    ˆFˆFˆF  ˆHˆHˆH  ˆDˆDˆD  ˆJˆJˆJ  ˆ.ˆ.ˆ.  ˆLˆLˆL     HHH  ¬¬¬¬¬¬  ˆDˆDˆDˆ.ˆ.ˆ.                                      ˆJˆJˆJ        ˆLˆLˆL         ˆNˆNˆDˆDˆD   ˆNˆNˆNˆDˆDˆD   ˆN<ˆ.ˆ.<ˆ.ˆDˆDˆD<ˆ.  ˆDˆDˆD€¢€¢€¢ <<     <PPP‡Ö‡Ú   <<€¢€¢€¢<<<       <<<   <€¢€¢ˆDˆDˆD€¢<<ˆDˆDˆD   <<<     <€¢€¢ˆ.ˆ.ˆ.€¢<<ˆ.ˆ.ˆ.   <ˆPˆP     ˆP€¢€¢ˆ.ˆ.ˆ.€¢<€¢€¢<€¢<€¢<<     <<<ˆDˆDˆDˆRˆRˆR<ˆRˆRˆDˆDˆD€¢€¢€¢ˆR<<     <            HHˆFˆFˆFHHHHHH   HHHˆHˆHˆHHHHˆDˆDˆDHHHˆJˆJˆJHHHˆ.ˆ.ˆ.HHHˆLˆLˆLH ¬¬¬  ˆDˆDˆD       ¬¬¬¬¬¬              666‡Ö‡Ú           ¬¬¬HHH           ˆ.ˆ.ˆ.€¢€¢€¢                                                         666     666‡Ö‡Ú  ‡Ö‡Ú  ˆTˆTˆT‡Ö‡Ú  ˆˆˆ‡Ö‡Ú  ˆVˆVˆV‡Ö‡Ú  ˆXˆXˆX‡Ö‡Ú      ¬¬¬                        666     666‡Ö‡Ú  ‡Ö‡Ú  ˆTˆTˆT‡Ö‡Ú  ˆˆˆ‡Ö‡Ú  ˆVˆVˆV‡Ö‡Ú  ˆXˆXˆX‡Ö‡Ú  ˆRˆRˆR¬¬¬  ˆRˆRˆR  ˆRˆRˆR    ˆRˆRˆR  ˆRˆRˆR¬¬¬¬¬¬  ˆRˆRˆR  ˆRˆRˆR      ˆRˆRˆR  ˆRˆRˆR¬¬¬¬¬¬¬¬¬  ˆRˆRˆR  ˆRˆRˆR        ˆRˆRˆR  ˆRˆRˆR¬¬¬¬¬¬¬¬¬¬¬¬  ˆRˆRˆR  ˆRˆRˆR          ˆRˆRˆR  ˆRˆRˆRHHH  ˆRˆRˆRHHH  ˆRˆRˆRHHH  ˆDˆDˆD  ˆDˆDˆD    ¬¬¬        ¬¬¬¬¬¬        ¬¬¬¬¬¬¬¬¬        ¬¬¬¬¬¬¬¬¬¬¬¬            HHH                           666 ‡°‡°‡Ð‡Ô‡°‡°‡Ð‡Ô‡°‡°‡Ð‡Ô       ‡°‡°‡Ð‡Ô‡°‡°‡Ð‡ÔHHH   ¬¬¬   ‡°‡°‡Ð‡Ô‡°‡°‡Ð‡Ô‡°‡°‡Ð‡Ô‡°‡°‡Ð‡Ô‡°‡°‡Ð‡Ô‡Ð‡Ô                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     ‡°‡°ˆ\ˆ\‡Ð‡Ô‡°‡°†¨‚Œ€€†ª<<<‚<<<<<<‚<<<<<<HHH<<<<<<‚<<<<<<<<<‚<<<€¢€¢€¢<<<<<<<‚<<<<<<HHH<<<<<<<<<<‚ƒƒHHHH€¢€¢‡2‡2€¢<<<J +J +J +€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€€‚Œˆˆ$‡B†ª†¨†¬ˆhˆhˆ +ˆ +„´€¢€¢„´€¢ˆjˆj‚¾‚¾‚¾€¢€¢€¢€¢€¢€¢€¢€¢€¢HH€¢€¢€¢HHHHHHHƒ:€¢€¢ƒ:€¢ƒ:€¢  €¢€¢€¢ €¢ €¢€¢€¢€¢€¢€¢. +. + +€¢€¢€¢ +€¢. +.€¢€¢.€¢HH€¢€¢€¢H€¢.€¢. +. +. +. +€¢€¢€¢. +€¢. +HHHH€¢€¢€¢H€¢HHHHH€¢€¢€¢H€¢HHHHHHH   €¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢ + + + + + +€¢€¢€¢ + +€¢ +HH<<<H€¢€¢<<<€¢HH€¢€¢€¢HHH<<<H .€¢€¢.€¢.€¢  .<<.<.<  .€¢€¢.€¢.€¢HHH  .<<.<.<  HH€¢€¢€¢H€¢A  HH€¢€¢€¢H€¢A HH.<<.<.<Hƒ@€¢€¢ƒ@€¢ƒ@<<ƒ@<ƒ@<ƒ@€¢ƒ@€¢€¢ƒ@€¢ƒ@€¢€¢ƒ@€¢ƒ@€¢ƒ@€¢ƒ@€¢€¢ƒ@€¢ƒ@<<ƒ@<ƒ@<ƒ@€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢<€¢€¢<€¢HHHH<€¢ƒ@€¢€¢ƒ@€¢ƒ@€¢.€¢€¢.€¢   .€¢.€¢€¢.€¢HH€¢€¢€¢H€¢.€¢.€¢€¢.€¢   .€¢.€¢€¢.€¢HH€¢€¢€¢H€¢.€¢€¢€¢HH€¢€¢€¢H€¢€¢€¢€¢€¢€¢€¢HH€¢€¢€¢H€¢€¢€¢€¢€¢€¢€¢HH€¢€¢€¢H€¢€¢€¢€¢€¢€¢€¢   €¢ ƒ@€¢€¢ƒ@€¢ƒ@€¢ƒ@€¢Bƒ@€¢€¢ƒ@€¢ƒ@€¢ ƒ@€¢€¢ƒ@€¢ƒ@€¢ <<        HHH‡´‡´‡´    <<<  <<<<<   <<<HHH   HHH      <<<HHHHHHHHHHHHHHHHHHHHHHHHHHHHHˆlˆl       ˆlˆlˆlˆlˆlˆlP€¢€¢‚P€¢P€¢<<<PPP <<< <.<€¢€¢<€¢<€¢<<<‚²‚²‚²‚²‚²‚²Hˆtˆt‡´‡´‡´     <Hˆvˆv<<<<<<HHH  HHHHHHHHHHHHHHHHHH€¢€¢€¢‡Ü‡Ü‡Ü‡àˆ|€¢‡Ü‡â‡â‡â‡æˆ|€¢‡â€¢€¢€¢HHHHHHHHHHHH€¢€¢€¢€¢€¢€¢HH€¢€¢€¢H„bˆ~ˆ~„bˆ~ˆ„ˆ„ˆ†ˆ†ˆ†<ˆ†ˆ†<ˆ†<ˆ†ˆ†ˆ†ˆ†.ˆ~ˆ~.ˆ~.ˆ~<ˆ~ˆ~<ˆ~<ˆ~  ˆ~ˆ~ˆ~ ˆ~    ˆ~ˆ~ˆ~    ˆ~ˆ~ˆ~  .ˆ~ˆ~.ˆ~.ˆ~ HH<<<H.ˆ~ˆ~.ˆ~.ˆ~  ˆ~ˆ~ˆ~ˆ~ˆ~ˆ~ ˆ~ ˆ~      .ˆ~ˆ~.ˆ~.ˆ~         ˆ~ˆ~ˆ~      .ˆ~ˆ~.ˆ~.ˆ~       ˆ~ˆ~ˆ~   ˆ~ˆ~ˆ~    .ˆ~ˆ~.ˆ~.ˆ~ ˆ~ˆ~   ˆ~HH<<<H   ˆ~ˆ~   ˆ~ƒ:ˆ~ˆ~ƒ:ˆ~ƒ:ˆ~<ˆ†ˆ†<ˆ†<ˆ†  <<<<<<       <<<<<<    <<<<<     <<<<<ˆ†ˆ†<ˆ†<ˆ†€€ˆˆ‡B†ª†¨†¬†ªˆˆˆˆˆHHHHˆˆˆHHHHˆˆˆHHHHHHHHˆˆˆˆˆˆˆˆˆˆˆˆˆ€¢€¢€¢‡Ü‡Ü‡Ü‡àˆ”€¢‡Ü‡â‡â‡â‡æˆ”€¢‡â‡°‡°ˆˆ‡Ð‡ÔJJJJJJ <<<‡Ö‡Ú €¢€¢€¢<<ˆ–ˆ–ˆ˜ˆ˜<<<ˆ–ˆ–ˆ˜ˆ˜<<<‡Ü‡à‡â‡æ<    <<<<<< ˆšˆš‡Ö‡Úˆšˆšˆšˆšˆšˆš‡Ö‡Úˆšˆœˆœˆˆ‡Ð‡Ô‚‚‡Ö‡Úˆžˆžˆ ˆ ˆ¢ˆ¢ˆ8ˆ8ˆ<€¢€¢ˆ@ˆ8ˆ8ˆB€¢€¢ˆ@ˆ8ˆ8ˆ¤€¢€¢ˆ@ˆˆ‡Ð‡Ôˆ¦ˆ¦€¢€¢€¢HHHˆ¦ˆ¨ˆ¨€¢€¢€¢ˆ¨ˆ¨ˆ¨€¢€¢€¢€¢€¢€¢ˆ¨ˆ¨ˆ¨<€¢€¢<€¢<€¢€¢€¢€¢ˆ¨ˆ¨ˆ¨ˆªˆªˆª€¢€¢€¢ˆ¨ˆ¨ˆ¨‡Ö‡Úˆ¨ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ°ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ°ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ°ˆ"ˆ¬ˆ"ˆ¬ˆ²ˆ²ˆ¬ˆ²ˆ¬ˆ²ˆ¬ˆ²ˆ²ˆ¬ˆ²ˆ°ˆ²ˆ¬ˆ²€¢€¢€¢<€¢€¢<€¢‡â‡æ‡Ü‡à<€¢  ‡Ü‡à‡â‡æ  ˆ¦ˆ¦€¢€¢€¢PPPˆ¦ˆ¦ˆ¦‡Ö‡Úˆ¦ˆ¦ˆ¦‡Ö‡Úˆ¦ €¢€¢€¢ €Àˆ"ˆ"€Àˆ"€Àˆ"€Àˆ"ˆ"€Àˆ"€Àˆ"€Àˆ"ˆ"€Àˆ"€Àˆ"€Àˆ²ˆ²€Àˆ²€Àˆ² ˆ´ˆ´ˆ´ ‡°‡°ˆ8ˆ8ˆ<€¢€¢ˆ@ˆ8ˆ8ˆB€¢€¢ˆ@ˆ8ˆ8ˆ¤€¢€¢ˆ@ˆˆ‡Ð‡ÔHHHJˆ¶ˆ¶Jˆ¶€¢€¢€¢    ˆ²ˆ²ˆ² ˆ²$ ˆ"ˆ"ˆ" ˆ"$Jˆ¶Jˆ¸ˆ¸Jˆ¸€¢€¢€¢ ˆ"ˆ"ˆ" ˆ"Jˆ¸HHH  <<<<<< ˆºˆº€¢€¢€¢‡Ö‡Úˆºˆºˆº€¢€¢€¢   ‡Ö‡Ú‡â‡æ‡Ü‡à‡Ü‡àˆºˆšˆšˆšJ +J +J +‡°‡°ˆˆ‡Ð‡ÔJ  J J JJJJJJ€Àˆ¼ˆ¼€Àˆ¼ˆˆˆ€¢€¢€¢HHH€Àˆ¼€Àˆœˆœ€Àˆœˆˆˆ€¢€¢€¢HHH€Àˆœ<<ˆžˆž<HHH€¢€¢€¢€¢€¢€¢ ˆ¦ˆ¦ˆ¦HHHˆšˆš<<<‡Ö‡Úˆšˆšˆš<<<‡Ö‡Ú‡â‡æ‡Ü‡àˆžˆžˆšˆšˆš<<<   ˆšˆšˆš<<<   ˆšˆšˆš<<<‡Ö‡Ú‡â‡æ‡Ü‡àˆžˆž‡Ü‡àˆšˆšˆš<<<€¢€¢€¢‡Ö‡Ú‡â‡æ‡Ü‡à‡Ü‡àˆšˆšˆš<<<€¢€¢€¢‡Ö‡Ú‡â‡æ‡Ü‡à‡Ü‡àˆš‡°‡°ˆˆ‡Ð‡ÔHHHHHHHHHHHHHHHH<<ˆžˆž<HHH<<ˆžˆž<HHHˆˆ<<<<<<HHHHHH‡Ö‡ÚˆHH<<<Hˆˆ<<<HHH‡Ö‡Úˆˆˆ<<<‡Ö‡Úˆˆˆ<<<HHH‡Ö‡Úˆ‡°‡°ˆˆ‡Ð‡ÔJJJJJJJJJJ  J J JJJJJJ€Àˆ¼ˆ¼€Àˆ¼ˆˆˆ€¢€¢€¢HHH€Àˆ¼ˆ¾ˆ¾€¢€¢€¢HHHHHHˆ¾HHH<€¢€¢<€¢‡â‡æ‡Ü‡à<€¢<<ˆžˆž<€¢€¢€¢€¢€¢€¢ ˆ¨ˆ¨ˆ¨ˆšˆš‡â‡æ‡Ü‡àˆ–ˆ–ˆšˆšˆš‡Ö‡Ú‡â‡æ‡Ü‡àˆ–ˆ–ˆšˆšˆš‡Ö‡Ú‡â‡æ‡Ü‡àˆ–ˆ–ˆšˆšˆš‡Ö‡Úˆšˆšˆš<<<‡Ö‡Úˆšˆ¾ˆ¾€¢€¢€¢<<<PPPˆ¾ˆ¾ˆ¾‡Ö‡Úˆ¾ˆ¾ˆ¾‡Ö‡Úˆ¾ˆšˆš<<<‡Ö‡Úˆš €¢€¢€¢ ˆšˆš<<<‡Ö‡Ú‡â‡æ‡Ü‡àˆžˆžˆšˆšˆš<<<   ˆšˆšˆš<<<   ˆšˆšˆš<<<ˆšˆ¾ˆ¾€¢€¢€¢ˆ¾ˆšˆš<<<€¢€¢€¢‡Ö‡Ú‡â‡æ‡Ü‡à‡Ü‡àˆšˆšˆš<<<€¢€¢€¢ˆšˆšˆš‡â‡æ‡Ü‡àˆ–ˆ–ˆšˆšˆš‡Ö‡Ú‡â‡æ‡Ü‡àˆ–ˆ–ˆšˆšˆš‡Ö‡Ú‡â‡æ‡Ü‡àˆ–ˆ–ˆšˆœˆœ€À +€À +ˆšˆšˆšHHH€À +‡°‡°‡Ð‡Ô<<<€¢€¢€¢<<<‡°‡°‡Ð‡ÔˆÂ ˆ´CˆÂ ˆ´CˆÂˆÄˆÄˆÄ ˆ¶ˆ¶ˆ¶ˆ¨ˆ¨ˆ¨PPP  ˆ¶ˆ¶ˆ¶ˆ¨ˆ¨ˆ¨‡Ö‡Ú  ˆ¶ˆ¶ˆ¶ ‡°‡°‡Ð‡Ôˆ¶ˆ¶ˆ¶<<<ˆ¨ˆ¨ˆ¨ˆšˆšˆˆ‡Ð‡Ôˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ°ˆ"ˆ¬ˆ"ˆ¬ˆ²ˆ²ˆ¬ˆ²ˆ¬ˆ²ˆ¬ˆ²ˆ²ˆ¬ˆ²ˆ°ˆ²ˆ¬ˆ²€Àˆ"ˆ"€Àˆ"€Àˆ"€Àˆ²ˆ²€Àˆ²€Àˆ²ˆ¢ˆ¢ˆˆ‡Ð‡Ôˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ°ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ°ˆ"ˆ¬ˆ"ˆÆˆÆˆÆ€¢€¢€¢‚‚‡Ö‡Ú‡Ü‡à<<‡Ü‡à<ˆ¨ˆ¨ˆ¨€Àˆ"ˆ"€Àˆ"€Àˆ"€Àˆ"ˆ"€Àˆ"€Àˆ"ˆ¢ˆ¢ˆˆ‡Ð‡ÔJˆ¶ˆ¶Jˆ¶Jˆ¶ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ°ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ°ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ°ˆ"ˆ¬ˆ"ˆ¶ˆ¶ˆ¶ˆÆˆÆˆÆ€¢€¢€¢<€¢€¢<€¢‡â‡æ‡Ü‡à<€¢ ˆ¦ˆ¦€¢€¢€¢ˆ¦€Àˆ"ˆ"€Àˆ"€Àˆ"€Àˆ"ˆ"€Àˆ"€Àˆ"€Àˆ"ˆ"€Àˆ"€Àˆ"ˆ"ˆ"ˆˆ‡Ð‡Ô€¢€¢€¢PPPˆ²ˆ²ˆ²ˆ²ˆ²ˆ²€¢€¢€¢€¢€¢€¢  ‡Ü‡à‡â‡æ  ‡Ü‡à‡â‡æ ˆºˆº‡Ö‡Úˆº€€‚Œˆˆ†ª†¨†¬ˆÐˆÐ€¢€¢€¢ˆÐˆÒˆÒˆÔˆÔˆˆ‡Ð‡ÔˆÖˆÖˆÖˆÖˆÖˆÖ‡°‡°ˆˆ‡Ð‡Ô                  ¬¬¬¬¬¬ €¢€¢€¢€¢€¢€¢ ¬¬¬¬¬¬       ¬¬¬ ˆØˆØˆ8ˆ8ˆ<€¢€¢ˆ@ˆ8ˆ8ˆB€¢€¢ˆ@ˆ8ˆ8ˆÚ€¢€¢ˆ@ˆˆ‡Ð‡ÔHHHˆØˆØˆ8ˆ8ˆ<€¢€¢ˆ@ˆ8ˆ8ˆB€¢€¢ˆ@ˆ8ˆ8ˆÚ€¢€¢ˆ@ˆˆ‡Ð‡ÔHHHˆØˆØˆ8ˆ8ˆ<€¢€¢ˆ@ˆ8ˆ8ˆB€¢€¢ˆ@ˆ8ˆ8ˆÚ€¢€¢ˆ@ˆˆ‡Ð‡ÔHHH‡°‡°ˆˆ‡Ð‡ÔˆÜˆÜˆÜˆÜˆÜˆÜ‡°‡°ˆˆ‡Ð‡ÔHHHHHHHHH ‡°‡°ˆˆ‡Ð‡Ô       ‡°‡°ˆˆ‡Ð‡Ô       ‡°‡°ˆˆ‡Ð‡ÔˆÞˆÞˆÞˆÞˆÞˆÞ‡°‡°ˆˆ‡Ð‡Ôˆàˆàˆàˆàˆàˆà‡°‡°ˆˆ‡Ð‡Ô¬¬¬¬¬¬¬¬¬ ‡°‡°ˆˆ‡Ð‡Ôˆâˆâˆâˆâˆâˆâ‡°‡°ˆˆ‡Ð‡Ôˆäˆäˆäˆäˆäˆä‡°‡°ˆˆ‡Ð‡Ôˆæˆæˆæˆæˆæˆæ‡°‡°ˆˆ‡Ð‡Ô€¢€¢€¢€¢€¢€¢€¢€¢€¢ ‡°‡°ˆˆ‡Ð‡ÔˆèˆèˆèˆèˆèˆèˆÐˆÐˆêˆêˆˆ‡Ð‡ÔˆÐˆÐˆÐ  ¬¬¬   ¬¬¬ BBBBBBBBBˆìˆìˆìˆìˆìˆìˆîˆîˆˆ‡Ð‡ÔˆðˆðˆðˆðˆðˆðˆðˆðˆðˆÒˆÒˆˆ‡Ð‡ÔˆòˆòˆòˆÒˆÒˆˆ‡Ð‡ÔˆÐˆÐˆˆ‡Ð‡ÔˆÐˆÐ‡Ð‡Ôˆîˆîˆˆ‡Ð‡ÔˆðˆðˆðˆðˆðˆðˆðˆðˆðˆðˆðˆðˆÐˆÐˆôˆôˆ8ˆ8ˆ<€¢€¢ˆ@ˆ8ˆ8ˆB€¢€¢ˆ@ˆ8ˆ8ˆ¤€¢€¢ˆ@ˆ8ˆ8ˆÚ€¢€¢ˆ@ˆˆ‡Ð‡ÔHHH                   ˆÖˆÖˆÖˆÖˆÖˆÖˆòˆòˆòˆðˆðˆðˆÖˆÖˆÖˆðˆðˆðˆðˆðˆðˆðˆðˆðˆÐˆÐˆôˆôˆ8ˆ8ˆ<€¢€¢ˆ@ˆ8ˆ8ˆB€¢€¢ˆ@ˆ8ˆ8ˆ¤€¢€¢ˆ@ˆ8ˆ8ˆÚ€¢€¢ˆ@ˆˆ‡Ð‡ÔHHH                ˆÖˆÖˆÖˆòˆòˆòˆöˆöˆöˆðˆðˆðˆÖˆÖˆÖˆðˆðˆðˆðˆðˆðˆðˆðˆðˆÐˆÐˆôˆôˆ8ˆ8ˆ<€¢€¢ˆ@ˆ8ˆ8ˆB€¢€¢ˆ@ˆ8ˆ8ˆ¤€¢€¢ˆ@ˆ8ˆ8ˆÚ€¢€¢ˆ@ˆˆ‡Ð‡ÔHHHˆÖˆÖˆÖˆðˆðˆðˆÖˆÖˆÖˆðˆðˆðˆðˆðˆðˆðˆðˆðˆÐˆÐˆôˆôˆˆ‡Ð‡Ô                      ˆÖˆÖˆÖˆÖˆÖˆÖˆøˆøˆøˆøˆøˆøˆøˆøˆøˆøˆøˆøˆòˆòˆòˆðˆðˆðˆÖˆÖˆÖˆðˆðˆðˆðˆðˆðˆðˆðˆðˆÐˆÐˆôˆôˆ8ˆ8ˆ<€¢€¢ˆ@ˆ8ˆ8ˆB€¢€¢ˆ@ˆ8ˆ8ˆ¤€¢€¢ˆ@ˆ8ˆ8ˆÚ€¢€¢ˆ@ˆˆ‡Ð‡ÔHHH             ˆøˆøˆøˆøˆøˆøˆòˆòˆòˆÖˆÖˆÖˆöˆöˆöˆøˆøˆøˆøˆøˆøˆúˆúˆúˆúˆúˆúˆüˆüˆüˆúˆúˆúˆúˆúˆúˆðˆðˆðˆÖˆÖˆÖˆðˆðˆðˆðˆðˆðˆðˆðˆðˆÐˆÐˆôˆôˆ8ˆ8ˆ<€¢€¢ˆ@ˆ8ˆ8ˆB€¢€¢ˆ@ˆ8ˆ8ˆ¤€¢€¢ˆ@ˆ8ˆ8ˆÚ€¢€¢ˆ@ˆˆ‡Ð‡ÔHHHˆøˆøˆøˆÖˆÖˆÖˆøˆøˆøˆøˆøˆøˆøˆøˆøˆðˆðˆðˆÖˆÖˆÖˆðˆðˆðˆðˆðˆðˆðˆðˆðˆÐˆÐˆôˆôˆ8ˆ8ˆ<€¢€¢ˆ@ˆ8ˆ8ˆB€¢€¢ˆ@ˆ8ˆ8ˆ¤€¢€¢ˆ@ˆ8ˆ8ˆÚ€¢€¢ˆ@ˆˆ‡Ð‡ÔHHH                ˆÖˆÖˆÖˆÖˆÖˆÖˆøˆøˆøˆòˆòˆòˆòˆòˆòˆðˆðˆðˆÖˆÖˆÖˆðˆðˆðˆðˆðˆðˆðˆðˆðˆÐˆÐˆ8ˆ8ˆ<€¢€¢ˆ@ˆ8ˆ8ˆB€¢€¢ˆ@ˆ8ˆ8ˆ¤€¢€¢ˆ@ˆ8ˆ8ˆÚ€¢€¢ˆ@ˆˆ‡Ð‡ÔHHHˆøˆøˆøˆøˆøˆøˆÐˆÐˆôˆôˆ8ˆ8ˆ<€¢€¢ˆ@ˆ8ˆ8ˆB€¢€¢ˆ@ˆ8ˆ8ˆ¤€¢€¢ˆ@ˆ8ˆ8ˆÚ€¢€¢ˆ@ˆˆ‡Ð‡ÔHHHˆðˆðˆðˆÖˆÖˆÖˆðˆðˆðˆðˆðˆðˆðˆðˆðˆþˆþˆ8ˆ8ˆ<€¢€¢ˆ@ˆ8ˆ8ˆB€¢€¢ˆ@ˆ8ˆ8ˆ¤€¢€¢ˆ@ˆ8ˆ8ˆÚ€¢€¢ˆ@ˆˆ‡Ð‡ÔHHHˆþˆþˆ8ˆ8ˆ<€¢€¢ˆ@ˆ8ˆ8ˆB€¢€¢ˆ@ˆ8ˆ8ˆ¤€¢€¢ˆ@ˆ8ˆ8ˆÚ€¢€¢ˆ@ˆˆ‡Ð‡ÔHHHˆþˆþˆ8ˆ8ˆ<€¢€¢ˆ@ˆ8ˆ8ˆB€¢€¢ˆ@ˆ8ˆ8ˆ¤€¢€¢ˆ@ˆ8ˆ8ˆÚ€¢€¢ˆ@ˆˆ‡Ð‡ÔHHHˆþˆþˆ8ˆ8ˆ<€¢€¢ˆ@ˆ8ˆ8ˆB€¢€¢ˆ@ˆ8ˆ8ˆ¤€¢€¢ˆ@ˆ8ˆ8ˆÚ€¢€¢ˆ@ˆˆ‡Ð‡ÔHHHˆÐˆÐˆôˆôˆ8ˆ8ˆ<€¢€¢ˆ@ˆ8ˆ8ˆB€¢€¢ˆ@ˆ8ˆ8ˆ¤€¢€¢ˆ@ˆ8ˆ8ˆÚ€¢€¢ˆ@ˆˆ‡Ð‡ÔHHHˆÖˆÖˆÖˆøˆøˆøˆøˆøˆø ¬¬¬¬¬¬ ˆðˆðˆðˆÖˆÖˆÖˆðˆðˆðˆðˆðˆðˆðˆðˆðˆÐˆÐˆôˆôˆÔˆÔˆ8ˆ8ˆ<€¢€¢ˆ@ˆ8ˆ8ˆB€¢€¢ˆ@ˆ8ˆ8ˆ¤€¢€¢ˆ@ˆ8ˆ8ˆÚ€¢€¢ˆ@ˆˆ‡Ð‡ÔHHH‰‰‰ˆðˆðˆðˆÖˆÖˆÖˆðˆðˆðˆðˆðˆðˆðˆðˆðˆÖˆÖˆÖˆÐˆÐˆôˆôˆ8ˆ8ˆ<€¢€¢ˆ@ˆ8ˆ8ˆB€¢€¢ˆ@ˆ8ˆ8ˆ¤€¢€¢ˆ@ˆ8ˆ8ˆÚ€¢€¢ˆ@ˆˆ‡Ð‡ÔHHHˆðˆðˆðˆÖˆÖˆÖˆðˆðˆðˆðˆðˆðˆðˆðˆðˆÐˆÐˆ8ˆ8ˆ<€¢€¢ˆ@ˆ8ˆ8ˆB€¢€¢ˆ@ˆ8ˆ8ˆ¤€¢€¢ˆ@ˆ8ˆ8ˆÚ€¢€¢ˆ@ˆˆ‡Ð‡ÔHHHˆÖˆÖˆÖˆÐˆÐˆôˆôˆ8ˆ8ˆ<€¢€¢ˆ@ˆ8ˆ8ˆB€¢€¢ˆ@ˆ8ˆ8ˆ¤€¢€¢ˆ@ˆ8ˆ8ˆÚ€¢€¢ˆ@ˆˆ‡Ð‡Ô          ˆÖˆÖˆÖˆòˆòˆòˆøˆøˆøˆøˆøˆøˆðˆðˆðˆÖˆÖˆÖˆðˆðˆðˆðˆðˆðˆðˆðˆðˆÐˆÐˆôˆôˆ8ˆ8ˆ<€¢€¢ˆ@ˆ8ˆ8ˆB€¢€¢ˆ@ˆ8ˆ8ˆ¤€¢€¢ˆ@ˆ8ˆ8ˆÚ€¢€¢ˆ@ˆˆ‡Ð‡ÔHHHˆøˆøˆøˆøˆøˆøˆÖˆÖˆÖˆðˆðˆðˆÖˆÖˆÖˆðˆðˆðˆðˆðˆðˆðˆðˆðˆÐˆÐˆ8ˆ8ˆ<€¢€¢ˆ@ˆ8ˆ8ˆB€¢€¢ˆ@ˆ8ˆ8ˆ¤€¢€¢ˆ@ˆ8ˆ8ˆÚ€¢€¢ˆ@ˆˆ‡Ð‡ÔHHHˆøˆøˆøˆøˆøˆøˆøˆøˆøˆÐˆÐˆôˆôˆ8ˆ8ˆ<€¢€¢ˆ@ˆ8ˆ8ˆB€¢€¢ˆ@ˆ8ˆ8ˆ¤€¢€¢ˆ@ˆ8ˆ8ˆÚ€¢€¢ˆ@ˆˆ‡Ð‡ÔHHHˆÖˆÖˆÖˆøˆøˆøˆøˆøˆøˆøˆøˆøˆøˆøˆøˆøˆøˆøˆðˆðˆðˆÖˆÖˆÖˆðˆðˆðˆðˆðˆðˆðˆðˆðˆÐˆÐˆ8ˆ8ˆ<€¢€¢ˆ@ˆ8ˆ8ˆB€¢€¢ˆ@ˆ8ˆ8ˆ¤€¢€¢ˆ@ˆ8ˆ8ˆÚ€¢€¢ˆ@ˆˆ‡Ð‡ÔHHHˆøˆøˆøˆøˆøˆøˆøˆøˆøˆøˆøˆøˆøˆøˆøˆøˆøˆøˆøˆøˆøˆøˆøˆøˆÐˆÐˆôˆôˆ8ˆ8ˆ<€¢€¢ˆ@ˆ8ˆ8ˆB€¢€¢ˆ@ˆ8ˆ8ˆ¤€¢€¢ˆ@ˆ8ˆ8ˆÚ€¢€¢ˆ@ˆˆ‡Ð‡ÔHHHˆÖˆÖˆÖˆðˆðˆðˆÖˆÖˆÖˆðˆðˆðˆðˆðˆðˆðˆðˆðˆÐˆÐˆôˆôˆ8ˆ8ˆ<€¢€¢ˆ@ˆ8ˆ8ˆB€¢€¢ˆ@ˆ8ˆ8ˆ¤€¢€¢ˆ@ˆ8ˆ8ˆÚ€¢€¢ˆ@ˆˆ‡Ð‡ÔHHH                   ˆøˆøˆøˆøˆøˆøˆúˆúˆúˆøˆøˆøˆòˆòˆòˆòˆòˆòˆðˆðˆðˆÖˆÖˆÖˆðˆðˆðˆðˆðˆðˆðˆðˆðˆÐˆÐˆÔˆÔˆ8ˆ8ˆ<€¢€¢ˆ@ˆ8ˆ8ˆB€¢€¢ˆ@ˆ8ˆ8ˆ¤€¢€¢ˆ@ˆ8ˆ8ˆÚ€¢€¢ˆ@ˆˆ‡Ð‡ÔHHHˆòˆòˆòˆðˆðˆðˆòˆòˆòˆðˆðˆðˆðˆðˆðˆðˆðˆðˆÖˆÖˆÖ‡°‡°ˆˆˆðˆðˆðˆÖˆÖˆÖˆðˆðˆðˆðˆðˆðˆðˆðˆð‡°‡°ˆˆ‰‰‰‰‰‰ˆÒˆÒˆ8ˆ8ˆ<€¢€¢ˆ@ˆ8ˆ8ˆB€¢€¢ˆ@ˆ8ˆ8ˆÚ€¢€¢ˆ@ˆˆ‡Ð‡ÔHHHˆðˆðˆðˆðˆðˆðˆðˆðˆðˆðˆðˆðˆÒˆÒˆˆ‡Ð‡ÔˆÒˆÒ‡Ð‡Ôˆøˆøˆø‰‰¬¬¬‰BBBHH‰‰‰HHH‰‰‰HˆÐˆÐˆêˆê‡Ð‡ÔˆÐˆÐˆÐˆÐˆÐˆÐ‰‰‰ˆæˆæˆæ‰‰‡Ö‡Ú‰‰‰‡Ö‡Ú‰ˆìˆìˆìˆìˆìˆìˆÒˆÒˆÔˆÔˆˆ‡Ð‡Ô€¢€¢€¢€¢€¢€¢ ˆðˆðˆð‰‰‰ˆðˆðˆðˆðˆðˆðˆðˆðˆðJJJˆÖˆÖˆÖ‡°‡°ˆˆ‡Ð‡Ô                                    ¬¬¬¬¬¬ €¢€¢€¢€¢€¢€¢ ¬¬¬¬¬¬       ¬¬¬ ‡°‡°„<ˆÞˆÞ„<ˆÞ‰ +ˆÞˆÞ‰ +ˆÞ<ˆÞˆÞ<ˆÞˆˆ‡Ð‡Ô     ˆÞˆÞ   ˆÞ   ˆÞˆÞˆÞ   ˆÞˆÞˆÞˆÞˆÞˆÞˆÞˆÞˆÞˆÞˆÞ   ˆÞ   ˆÞˆÞˆÞ ˆÞˆÞˆÞˆÞˆÞˆÞ ˆÞˆÞ   ˆÞˆÞˆÞˆÞˆÞˆÞˆÞˆÞˆÞˆÞˆÞˆÞ   ˆÞˆÞˆÞ   ˆÞˆÞˆÞˆÞˆÞˆÞ   ˆÞˆîˆîˆˆ‡Ð‡Ôˆðˆðˆðˆðˆðˆðˆðˆðˆðˆðˆðˆð‰ ‰ ˆˆ‡Ð‡ÔˆðˆðˆðˆðˆðˆðˆðˆðˆðˆðˆðˆðˆÐˆÐ‰‰ˆˆ‡Ð‡Ô                   ˆðˆðˆðˆòˆòˆòˆðˆðˆð‰‰‰ˆòˆòˆòˆðˆðˆðˆðˆðˆð ˆÜˆÜˆÜ  ‰‰‰‰‰‰ˆÐˆÐˆêˆêˆˆ‡Ð‡Ôˆðˆðˆðˆòˆòˆòˆòˆòˆòˆðˆðˆðˆðˆðˆðˆðˆðˆðˆìˆìˆìˆìˆìˆì‡°‡°ˆˆ‡Ð‡Ô¬¬¬¬¬¬ ¬¬¬¬¬¬ ¬¬¬¬¬¬ ¬¬¬¬¬¬ ¬¬¬¬¬¬ ¬¬¬¬¬¬ ‰‰‰‰‰‰‰‰‰‰‰‰‰‰‰‰‰¬¬¬‰‰‰¬¬¬¬¬¬‰‰‰¬¬¬‰‰‰¬¬¬¬¬¬‰‰‰¬¬¬‰‰‰¬¬¬‰‰‰¬¬¬¬¬¬‰ˆÐˆÐˆˆ‡Ð‡Ô‡°‡°ˆˆ‡Ð‡Ô¬¬¬¬¬¬ ‡°‡°„<‰‰„<‰‰ +‰‰‰ +‰<‰‰<‰ˆˆ‡Ð‡Ô     ‰‰   ‰   ‰‰‰   ‰‰‰‰‰‰‰‰‰‰‰   ‰   ‰‰‰ ‰‰‰‰‰‰ ‰‰   ‰‰‰‰‰‰‰‰‰‰‰‰   ‰‰‰   ‰‰‰‰‰‰   ‰ˆîˆîˆˆ‡Ð‡ÔˆÐˆÐ‰‰ˆÔˆÔˆêˆêˆˆ‡Ð‡Ôˆðˆðˆðˆòˆòˆò‰‰‰ˆòˆòˆòˆðˆðˆðˆðˆðˆðˆðˆðˆð‰‰‰‰‰‰ˆìˆìˆìˆìˆìˆìˆÖˆÖˆÖ‡°‡°ˆˆ‡Ð‡Ô¬¬¬¬¬¬ ¬¬¬¬¬¬ ‰‰‰‰‰‰‡°‡°ˆˆ‡Ð‡Ô        ‰‰‰ ‰‰‰‰‰‰ ‰‰   ‰‰‰‰‰‰‰‰‰‰‰‰   ‰‰‰   ‰‰‰‰‰‰   ‰ˆîˆîˆˆ‡Ð‡Ô‰‰‰‰‰‰ˆîˆîˆˆ‡Ð‡Ô‰‰‰‰‰‰‡°‡°ˆˆ‡Ð‡Ô                                                   ‰ ‰ ˆˆ‡Ð‡Ôˆðˆðˆðˆðˆðˆðˆðˆðˆðˆðˆðˆðˆðˆðˆðˆðˆðˆð‡°‡°ˆˆ‡Ð‡Ô¬¬¬¬¬¬ ¬¬¬¬¬¬ ¬¬¬¬¬¬ ¬¬¬¬¬¬ ˆîˆîˆˆ‡Ð‡ÔˆðˆðˆðˆðˆðˆðˆðˆðˆðˆðˆðˆðˆðˆðˆðˆðˆðˆðˆÐˆÐˆÔˆÔˆˆ‡Ð‡Ô€¢€¢€¢€¢€¢€¢ ˆÖˆÖˆÖˆØˆØˆ8ˆ8ˆ<€¢€¢ˆ@ˆ8ˆ8ˆB€¢€¢ˆ@ˆ8ˆ8ˆÚ€¢€¢ˆ@ˆˆ‡Ð‡ÔHHHˆÐˆÐˆˆ‡Ð‡Ôˆøˆø‡Ö‡Úˆø‡°‡°„<€¢€¢„<€¢‰ +€¢€¢‰ +€¢<€¢€¢<€¢ˆˆ‡Ð‡Ô     €¢€¢   €¢   €¢€¢€¢   €¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢   €¢   €¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢   €¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢   €¢€¢€¢   €¢€¢€¢€¢€¢€¢   €¢ˆÐˆÐ‡Ð‡ÔHHHHHH €¢€¢€¢€¢€¢€¢ ‰‰‰€¢€¢€¢€¢€¢€¢ ‰‰ˆ~ˆ~ˆ~ˆ~ƒ@€¢€¢ƒ@€¢ƒ@€¢ ƒ@ƒ@ƒ@ ˆ~ˆ~‰‰‰ ‰ ˆˆ‡Ð‡Ô‚¾€¢€¢€¢€¢€¢€¢‰"‰"‰"‰$‰$‰$ˆjˆjˆj<ˆ~ˆ~<ˆ~<ˆ~<ˆ~ˆ~<ˆ~<ˆ~ €¢€¢€¢€¢€¢€¢€¢€¢€¢ ‰&‰&€¢€¢€¢‰"‰"‰"‰$‰$‰$‰& €¢€¢€¢€¢€¢€¢  €¢€¢€¢€¢€¢€¢‰"‰"‰"‰$‰$‰$ ˆ~ˆ~€¢€¢€¢ˆ~ˆ~ˆ~ˆ~‰(‰(‰(HHH HH€¢€¢€¢Hˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ°ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ°ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ°ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ°ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ°ˆ"ˆ¬ˆ"ˆ¬‰*‰*ˆ¬‰*ˆ¬‰*ˆ¬‰*‰*ˆ¬‰*ˆ°‰*ˆ¬‰*ˆ¬‰*‰*ˆ¬‰*ˆ¬‰*ˆ¬‰*‰*ˆ¬‰*ˆ°‰*ˆ¬‰*ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ°ˆ"ˆ¬ˆ"‰,‰0ˆ¬‰*‰*ˆ¬‰*ˆ¬‰*ˆ¬‰*‰*ˆ¬‰*ˆ°‰*ˆ¬‰*ˆ¬‰*‰*ˆ¬‰*ˆ¬‰*ˆ¬‰*‰*ˆ¬‰*ˆ°‰*ˆ¬‰*ˆ¬‰*‰*ˆ¬‰*ˆ¬‰*ˆ¬‰*‰*ˆ¬‰*ˆ°‰*ˆ¬‰*ˆ¬‰*‰*ˆ¬‰*ˆ¬‰*ˆ¬‰*‰*ˆ¬‰*ˆ°‰*ˆ¬‰*ˆ¬‰*‰*ˆ¬‰*ˆ¬‰*ˆ¬‰*‰*ˆ¬‰*ˆ°‰*ˆ¬‰*ˆ¬‰*‰*ˆ¬‰*ˆ¬‰*ˆ¬‰*‰*ˆ¬‰*ˆ°‰*ˆ¬‰*ˆ¬‰*‰*ˆ¬‰*ˆ¬‰*ˆ¬‰*‰*ˆ¬‰*ˆ°‰*ˆ¬‰*ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ°ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ°ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ°ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ°ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ°ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ°ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ°ˆ"ˆ¬ˆ"ˆ¬‰2‰2ˆ¬‰2ˆ¬‰2ˆ¬‰2‰2ˆ¬‰2ˆ°‰2ˆ¬‰2ˆ¬‰2‰2ˆ¬‰2ˆ¬‰2ˆ¬‰2‰2ˆ¬‰2ˆ°‰2ˆ¬‰2ˆ¬‰2‰2ˆ¬‰2ˆ¬‰2ˆ¬‰2‰2ˆ¬‰2ˆ°‰2ˆ¬‰2ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ°ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ°ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ°ˆ"ˆ¬ˆ"ˆ¬‰*‰*ˆ¬‰*ˆ¬‰*ˆ¬‰*‰*ˆ¬‰*ˆ°‰*ˆ¬‰*ˆ¬‰*‰*ˆ¬‰*ˆ¬‰*ˆ¬‰*‰*ˆ¬‰*ˆ°‰*ˆ¬‰*ˆ¬‰*‰*ˆ¬‰*ˆ¬‰*ˆ¬‰*‰*ˆ¬‰*ˆ°‰*ˆ¬‰*ˆ¬‰*‰*ˆ¬‰*ˆ¬‰*ˆ¬‰*‰*ˆ¬‰*ˆ°‰*ˆ¬‰*ˆ¬‰*‰*ˆ¬‰*ˆ¬‰*ˆ¬‰*‰*ˆ¬‰*ˆ°‰*ˆ¬‰*ˆ¬‰*‰*ˆ¬‰*ˆ¬‰*ˆ¬‰*‰*ˆ¬‰*ˆ°‰*ˆ¬‰*ˆ¬‰*‰*ˆ¬‰*ˆ¬‰*ˆ¬‰*‰*ˆ¬‰*ˆ°‰*ˆ¬‰*ˆ¬‰4‰4ˆ¬‰4ˆ¬‰4ˆ¬‰4‰4ˆ¬‰4ˆ°‰4ˆ¬‰4ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ°ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ°ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ°ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ°ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ°ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ°ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ°ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ°ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ°ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ°ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ°ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ°ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ°ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ°ˆ"ˆ¬ˆ"ˆ¬‰6‰6ˆ¬‰6ˆ¬‰6ˆ¬‰6‰6ˆ¬‰6ˆ°‰6ˆ¬‰6ˆ¬‰6‰6ˆ¬‰6ˆ¬‰6ˆ¬‰6‰6ˆ¬‰6ˆ°‰6ˆ¬‰6ˆ¬‰6‰6ˆ¬‰6ˆ¬‰6ˆ¬‰6‰6ˆ¬‰6ˆ°‰6ˆ¬‰6ˆ¬‰6‰6ˆ¬‰6ˆ¬‰6ˆ¬‰6‰6ˆ¬‰6ˆ°‰6ˆ¬‰6ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ°ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ°ˆ"ˆ¬ˆ"ˆ¬‰4‰4ˆ¬‰4ˆ¬‰4ˆ¬‰4‰4ˆ¬‰4ˆ°‰4ˆ¬‰4ˆÖˆÖ‡Ö‡ÚˆÖ‰8‰8‡Ö‡Ú‰8ˆÐˆÐˆÐ  €¢€¢€¢€¢€¢€¢ ‰:ˆ"ˆ"‰:ˆ"‰:ˆ"‰:ˆ"ˆ"‰:ˆ"‰:ˆ"‰:ˆ"ˆ"‰:ˆ"‰:ˆ"‰:ˆ"ˆ"‰:ˆ"‰:ˆ"‰:ˆ"ˆ"‰:ˆ"‰:ˆ"‰:‰*‰*‰:‰*‰:‰*‰:‰*‰*‰:‰*‰:‰*‰:ˆ"ˆ"‰:ˆ"‰,‰0‰:ˆ"‰:‰*‰*‰:‰*‰:‰*‰:‰*‰*‰:‰*‰:‰*‰:‰*‰*‰:‰*‰:‰*‰:‰*‰*‰:‰*‰:‰*‰:‰*‰*‰:‰*‰:‰*‰:‰*‰*‰:‰*‰:‰*‰:‰*‰*‰:‰*‰:‰*‰:ˆ"ˆ"‰:ˆ"‰:ˆ"‰:ˆ"ˆ"‰:ˆ"‰:ˆ"‰:ˆ"ˆ"‰:ˆ"‰:ˆ"‰:ˆ"ˆ"‰:ˆ"‰:ˆ"‰:ˆ"ˆ"‰:ˆ"‰:ˆ"‰:ˆ"ˆ"‰:ˆ"‰:ˆ"‰:ˆ"ˆ"‰:ˆ"‰:ˆ"‰:‰2‰2‰:‰2‰:‰2‰:‰2‰2‰:‰2‰:‰2‰:‰2‰2‰:‰2‰:‰2‰:ˆ"ˆ"‰:ˆ"‰:ˆ"‰:ˆ"ˆ"‰:ˆ"‰:ˆ"‰:ˆ"ˆ"‰:ˆ"‰:ˆ"‰:‰*‰*‰:‰*‰:‰*‰:‰*‰*‰:‰*‰:‰*‰:‰*‰*‰:‰*‰:‰*‰:‰*‰*‰:‰*‰:‰*‰:‰*‰*‰:‰*‰:‰*‰:‰*‰*‰:‰*‰:‰*‰:‰*‰*‰:‰*‰:‰*‰:‰4‰4‰:‰4‰:‰4‰:ˆ"ˆ"‰:ˆ"‰:ˆ"‰:ˆ"ˆ"‰:ˆ"‰:ˆ"‰:ˆ"ˆ"‰:ˆ"‰:ˆ"‰:ˆ"ˆ"‰:ˆ"‰:ˆ"‰:ˆ"ˆ"‰:ˆ"‰:ˆ"‰:ˆ"ˆ"‰:ˆ"‰:ˆ"‰:ˆ"ˆ"‰:ˆ"‰:ˆ"‰:ˆ"ˆ"‰:ˆ"‰:ˆ"‰:ˆ"ˆ"‰:ˆ"‰:ˆ"‰:ˆ"ˆ"‰:ˆ"‰:ˆ"‰:ˆ"ˆ"‰:ˆ"‰:ˆ"‰:ˆ"ˆ"‰:ˆ"‰:ˆ"‰:ˆ"ˆ"‰:ˆ"‰:ˆ"‰:ˆ"ˆ"‰:ˆ"‰:ˆ"‰:‰6‰6‰:‰6‰:‰6‰:‰6‰6‰:‰6‰:‰6‰:‰6‰6‰:‰6‰:‰6‰:‰6‰6‰:‰6‰:‰6‰:ˆ"ˆ"‰:ˆ"‰:ˆ"‰:ˆ"ˆ"‰:ˆ"‰:ˆ"‰:‰4‰4‰:‰4‰:‰4ˆÒˆÒ‰‰‰<‰<ˆˆ‡Ð‡Ô¬¬¬¬¬¬ ‰‰‰ˆðˆðˆðˆðˆðˆðˆðˆðˆðˆðˆðˆðHHHHHˆÐˆÐˆÐˆæˆæˆæHHHˆÐˆÐˆÐˆæˆæˆæHˆÜˆÜ‡Ö‡ÚˆÜˆÞˆÞ‡Ö‡ÚˆÞ‰‰‡Ö‡Ú‰‰‰‡Ö‡Ú‰‰‰‡Ö‡Ú‰ˆæˆæ‡Ö‡Úˆæ‰>‰>‡Ö‡Ú‰>‰>‰>‰‰‰‡Ö‡Ú‰>  BBBˆ~ˆ~€¢€¢€¢ˆ~<ˆ†ˆ†<ˆ†ˆæˆæˆæˆÐˆÐˆÐ‡â‡æ‡Ü‡à<ˆ†<ˆ†ˆ†<ˆ†ˆæˆæˆæˆÐˆÐˆÐ‡â‡æ‡Ü‡à<ˆ†  ¬¬¬          ‰‰‰‰‰‰     ˆÒˆÒˆˆ‡Ð‡ÔˆÐˆÐ‰‰ˆˆ‡Ð‡Ô‰‰‰‰‰‰‰@‰@ˆˆ‡Ð‡Ô‡°‡°ˆˆˆìˆìˆìˆìˆìˆìˆÒˆÒˆˆ‡Ð‡Ô          ˆòˆòˆòˆðˆðˆð  ‰‰‰ BBB‰‰   ‰ˆæˆæ   ˆæ   BB   B‰‰   ‰BB     B     ‰@‰@ˆˆ‡Ð‡Ô‰B‰BˆÔˆÔˆˆ‡Ð‡Ô                   ˆòˆòˆòˆòˆòˆòˆðˆðˆðˆÖˆÖˆÖ‰B‰Bˆˆ‡Ð‡Ô‰D‰D‰D‰D‰D‰Dˆöˆöˆö‰D‰D‰D‰D‰D‰DˆÐˆÐˆˆ‡Ð‡Ô‡°‡°ˆˆ‡Ð‡Ô                      ¬¬¬‰‰‰    ‰‰‰  ¬¬¬¬¬¬¬¬¬  ¬¬¬¬¬¬  ¬¬¬  ¬¬¬  ¬¬¬¬¬¬ ‡°‡°„<‰>‰>„<‰>‰ +‰>‰>‰ +‰><‰>‰><‰>ˆˆ‡Ð‡Ô     ‰>‰>   ‰>   ‰>‰>‰>   ‰>‰>‰>‰>‰>‰>‰>‰>‰>‰>‰>   ‰>   ‰>‰>‰> ‰>‰>‰>‰>‰>‰> ‰>‰>‰>‰>‰>‰‰‰‡Ö‡Ú‰>‰>‰>   ‰>‰>‰>‰>‰>‰>‰>‰>‰>‰>‰>‰>   ‰>‰>‰>   ‰>‰>‰>‰>‰>‰>   ‰>‡°‡°ˆˆ‡Ð‡Ô          ‡°‡°ˆˆˆÖˆÖˆÖˆÒˆÒˆÔˆÔˆˆ‡Ð‡ÔˆðˆðˆðˆðˆðˆðˆðˆðˆðˆðˆðˆðˆÖˆÖˆÖˆÐˆÐ‰‰‰<‰<ˆˆ‡Ð‡Ô‰‰‰‰‰‰     ‡°‡°ˆˆ              ˆÐˆÐˆÔˆÔˆˆ‡Ð‡Ô             ‰‰‰ˆòˆòˆòˆòˆòˆòˆÖˆÖˆÖˆÐˆÐˆˆ‡Ð‡ÔˆÐˆÐˆôˆô‡Ð‡ÔˆÐˆÐˆÔˆÔ‡Ð‡Ô€€‚Œˆˆ‡B†¨†¬†ª‰N‰N‡Ð‡Ô‰P‰P‰PPPP‰R‰R‰R‰R‰R‰R       ¬¬¬¬¬¬ ¬¬¬¬¬¬ ¬¬¬¬¬¬      ***  *** ‡°‡°‡Ð‡ÔPPP‰T‰T‰T¬¬¬     ¬¬¬ ***      ***     **   *‰V‰Vˆ8ˆ8ˆ<€¢€¢ˆ@ˆ8ˆ8ˆB€¢€¢ˆ@‡Ð‡Ô‰P‰P‰PPPP‰X‰X‰X‰X‰X‰X‰T‰T‰T‰T‰T‰T ‰Z‰Z‰ZHHHHHH ¬¬¬¬¬¬ ¬¬¬¬¬¬ ‰Z‰Z‰Z ¬¬¬¬¬¬¬¬¬ ‰P‰Pˆ8ˆ8ˆ<€¢€¢ˆ@ˆ8ˆ8ˆB€¢€¢ˆ@‡Ð‡ÔHHH¬¬¬JJJPPP‡Ö‡ÚJJJ‰\‰\‰\‰^‰^       ‰^J‰T‰TJ‰T444‰b ‰TD‰b ‰TD‰b‰d ˆÆ ‰d ˆÆ ‰d‡Ö‡ÚJ‰TJ‰T‰TJ‰T444‰b ‰TD‰b ‰TD‰b‰d ˆÆ ‰d ˆÆ ‰dJ‰T‰N‰N‡Ð‡Ô   ‡°‡°‡Ð‡Ô‰Z‰Z‰Z‰Z‰Z‰Z‰Z‰Z‰Z‰Z‰Z‰Z‰Z‰Z‰Z‰Z‰Z‰Z‰Z‰Z‰Z‰Z‰Z‰Z‰Z‰Z‰Z ¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬  ¬¬¬¬¬¬¬¬¬ ˆ¢ˆ¢‡Ð‡Ô     €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ ‰P‰P‰P     ‰N‰N     ‡Ö‡Ú‰N       ‰N‰N‰N        ‰Z‰Z‰Z    ‡°‡°‡Ð‡Ô¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬ ‰Z‰Z¬¬¬‰Z‰Z‰Z¬¬¬‰Z‰Z‰Z¬¬¬¬¬¬‰Z‰Z‰Z¬¬¬¬¬¬‰Z‰Z‰Z¬¬¬¬¬¬¬¬¬‰Z‰Z‰Z¬¬¬¬¬¬‰Z‰Z‰Z<¬¬<¬<¬¬¬¬¬¬¬‰Z‡°‡°„ˆ€¢€¢‚„ˆ€¢‡Ð‡ÔPP€¢€¢€¢P P€¢€¢‚P€¢P€¢ HH‚HHH‚HPP‚P  €¢€¢€¢‚ €¢ .€¢€¢.€¢.€¢.PP.P.P   HHHHHH €¢€¢€¢‚ ‚€¢€¢€¢‚€¢€¢‚€¢ ˆ"ˆ"‡Ð‡Ô€¢€¢€¢PPP‰f‰f‰f‰T‰T‰T‰T‰T‰T¬¬¬‰N‰N‡Ð‡Ôˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ°ˆ"ˆ¬ˆ" ¬¬¬‡Ö‡Ú  ¬¬¬ €Àˆ"ˆ"€Àˆ"€Àˆ"‡°‡°‡Ð‡ÔHHHHHH €¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢‰h‰h‰hˆ¢ˆ¢‡Ð‡Ôˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ°ˆ"ˆ¬ˆ"   ‰j‰j   ‰j‰j‰j€¢€¢€¢‰j€Àˆ"ˆ"€Àˆ"€Àˆ"‰l‰l‡Ð‡Ô¬¬¬¬¬¬ €¢€¢€¢<<< ‰N‰N‡Ð‡Ô‰P‰P‰P€¢€¢€¢PPP‰n‰n‰n‰n‰n‰n‰p‰p‰p‡°‡°‡Ð‡Ôˆ¢ˆ¢‡Ð‡Ô¬¬¬‰r‰r‰r‰t‰t‰t¬¬¬€¢€¢€¢‰R‰R‰R‰v‰v‰v‰T‰T     ¬¬¬‰T‰X‰X‰X‰x‰x   ‰x‰z‰z   ‰z‰|‰|‰|‰~‰~‰~‰€‰€¬¬¬‰€‰‚‰‚‰‚‰\‰\‰\‰„‰„<¬¬<¬<¬<¬¬<¬<¬‡Ö‡Ú‰„‰†‰†‰ˆ‰ˆ‰ˆ‰†‰Š‰Š‰Š‰Œ‰Œ‰Ž‰Ž‰Ž‰Œ‰‰‰‰’‰’‰’‰”‰”<¬¬<¬<¬<¬¬<¬<¬PPP‰”‰”‰”<¬¬<¬<¬<¬¬<¬<¬‡Ö‡Ú‰”‰”‰”<¬¬<¬<¬<¬¬<¬<¬‡Ö‡Ú‰”‰^‰^       ‰^‰–‰–‰–‰˜‰˜‰˜J‰T‰TJ‰T444‰b ‰TD‰b ‰TD‰b‰d ˆÆ ‰d ˆÆ ‰dJ‰TJJJ‰N‰N‡Ð‡Ô‰P‰P‰PPPP‰v‰v‰v‰v‰v‰v‰Z‰Z‰Z‰Z‰Z‰Z‰Z‰Z‰Z‰Z‰Z‰Z€¢€¢€¢€¢€¢€¢  ********* ‰N‰N‡Ð‡Ô‰P‰P‰PPPP‰x‰x‰x‰x‰x‰x‰N‰N‡Ð‡Ô‰P‰P‰PPPP‰z‰z‰z‰z‰z‰z‰V‰V‡Ð‡Ô‰P‰P‰PPPP‰|‰|‰|‰|‰|‰|‰Z‰Z‰Z‰N‰N‡Ð‡Ô‰P‰P‰PPPP‰~‰~‰~‰~‰~‰~‰T‰T‰T‰T‰T‰T HHHHHH ‰N‰N‡Ð‡Ô‰P‰P‰PPPP‰€‰€‰€‰€‰€‰€‰Z‰Z‰Z‰N‰N‡Ð‡Ô‰P‰P‰PPPP‰‚‰‚‰‚‰‚‰‚‰‚‰Z‰Z‰Z‰Z‰Z‰Z‰Z‰Z‰Z¬¬¬‰Z‰Z‰Z‰Z‰Z‰Z‰N‰N‡Ð‡Ô‰P‰P‰PPPP‰\‰\‰\‰\‰\‰\‰Z‰Z‰Z‰N‰N‡Ð‡Ô‰P‰P‰PPPP‰„‰„‰„ ********* ‰N‰N‡Ð‡Ô‰P‰P‰PPPP‰†‰†‰†‰ˆ‰ˆ‰ˆ‰N‰N‡Ð‡Ô‰P‰P‰PPPP‰Š‰Š‰Š‰Š‰Š‰Š‰Ž‰Ž‰Ž‰N‰N‡Ð‡Ô‰P‰P‰PPPP‰Œ‰Œ‰Œ‰Ž‰Ž‰Žˆ"ˆ"‡Ð‡Ô€¢€¢€¢PPP‰š‰š‰š‰T‰T‰T‰P‰P‡Ð‡Ô   ¬¬¬‰œ‰œ‰œ‰œ‰œ‰œ   J‰T‰TJ‰TJ‰TJJ¬¬¬‡Ö‡ÚJ‰V‰V‡Ð‡Ô‰P‰P‰PPPP‰‰‰‰‰‰‰Z‰Z‰Z‰Z‰Z‰Z€¢€¢€¢€¢€¢€¢  ‰”‰”‰” ‰N‰N‡Ð‡Ô‰P‰P‰PPPP‰’‰’‰’‰’‰’‰’¬¬¬¬¬¬ ¬¬¬¬¬¬ ¬¬¬¬¬¬ €¢€¢€¢€¢€¢€¢ ¬¬¬¬¬¬ ‰Z‰Z‰Z‰Z‰Z‰Z‰Z‰Z‰Z€¢€¢€¢€¢€¢€¢ ‰Z‰Z‰Z‰Z‰Z‰Z‰Z‰Z‰Z¬¬¬¬¬¬ ¬¬¬¬¬¬  ¬¬¬¬¬¬¬¬¬  ¬¬¬¬¬¬¬¬¬ ‡°‡°‡Ð‡Ô‰P‰P‰PPPP‰”‰”‰”‰”‰”‰”‰N‰N‡Ð‡Ôˆ¬‰f‰fˆ¬‰fˆ¬‰fˆ¬‰f‰fˆ¬‰fˆ°‰fˆ¬‰f    ‰žˆ"$‰žˆ"$‰ž €À‰f‰f€À‰f€À‰f‰N‰N‡Ð‡Ô‰P‰P‰PPPP‰–‰–‰–‰–‰–‰–‰Z‰Z‰Z‰N‰N‡Ð‡Ô‰P‰P‰PPPP‰˜‰˜‰˜‰˜‰˜‰˜****** €¢€¢€¢€¢€¢€¢ €€‚Œˆˆ†¨†¬†ª ‰¨‰¨‰¨‰ª‰ª‰ª  ‰¨‰¨‰¨‰¬‰¬‰¬  ‰¨‰¨‰¨  ‰¬‰¬‰¬ ‡°‡°ˆ8ˆ8ˆ<€¢€¢ˆ@ˆ8ˆ8ˆÚ€¢€¢ˆ@‡Ð‡ÔHHH€¢€¢€¢ €¢€¢€¢€¢€¢€¢‰° ‰¨E‰° ‰¨E‰°‰² ‰¬ ‰² ‰¬ ‰²‰´ ‰´ ‰´‡Ö‡Ú J‰¨‰¨J‰¨€¢€¢€¢€¢€¢€¢‡Ö‡ÚJ‰¨ ‰° ‰¨E‰° ‰¨E‰°‰² ‰¬ ‰² ‰¬ ‰²‰´ ‰´ ‰´‡Ö‡Ú J‰¨‰¨J‰¨‡Ö‡ÚJ‰¨ ‰° ‰¨E‰° ‰¨E‰°‰² ‰¬ ‰² ‰¬ ‰²‰´ ‰´ ‰´ J‰¨‰¨J‰¨‡Ö‡ÚJ‰¨‡°‡°‡Ð‡Ô                           €¢€¢€¢‡°‡°‡Ð‡Ô   ‰¶‰¶‰¶   ‡°‡°„<PP„<P‰ +PP‰ +P<PP<P‡Ð‡Ô   PP   P   PPP   PPPPPPPPPPP   PPP   P‡Ö‡Ú‡°‡°ˆ8ˆ8ˆ<€¢€¢ˆ@ˆ8ˆ8ˆÚ€¢€¢ˆ@¢¢‡Ð‡Ô €¢€¢€¢<<<‰¸ ‰¨E‰ªF‰¸ ‰¨E‰ªF‰¸‰º ‰¨E‰¬ ‰º ‰¨E‰¬ ‰º‡Ö‡Ú J‰ª‰ªJ‰ª€¢€¢€¢<<<‡Ö‡ÚJ‰ª€€‚Œˆˆˆ€‚‚f‡BˆÈˆÈˆÈ‰F‰Fˆ$ˆ$‰ †¨†ª†¬ˆ‚f‰¼‰¼‰¼‰¾‰¾‰¾JP€¢€¢‚P€¢JP€¢JP€¢ˆ~ˆ~‰ ‰ ‡Ð‡Ô€¢€¢€¢€¢€¢€¢  ‰À‰À‰À‰À‰À‰À‰Â‰Â‰Â ‰Ä‰Ä‰Ä‰Æ‰Æ‡Ð‡Ô€¢€¢€¢PPP‰È‰È‰È JJJ ‰Ê‰Ê‡Ð‡ÔPPP‰Ì‰Ì‰Ì‰Ì‰Ì‰Ì‡°‡°ˆ¢ˆ¢ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ°ˆ"ˆ¬ˆ"€Àˆ"ˆ"€Àˆ"€Àˆ"‰Î‰Î‡Ð‡ÔPPP‰Ð‰Ð‰Ð‰Ð‰Ð‰Ð¬¬¬¬¬¬¬¬¬ˆ¢ˆ¢‡Ð‡Ôˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ°ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ°ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ°ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ°ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ°ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ°ˆ"ˆ¬ˆ"‰Ò‰Ò‰Ò‰Ò‰Ò‰Ò‰Ò‰Ò‰Ò HHHHHH €¢€¢€¢€¢€¢€¢ HHHHHH €¢€¢€¢€¢€¢€¢             ‰Ô‰Ô‰Ô‰Ô‰Ô‰Ô €¢€¢€¢€¢€¢€¢ ‰Ô‰Ô‰Ô‰Ô‰Ô‰Ô ‰Ò‰Ò‰Ò‰Ò‰Ò‰Ò HHHHHH ‰Ò‰Ò‰Ò‰Ò‰Ò‰Ò HHHHHH ‰Ô‰Ô‰Ô‰Ô‰Ô‰Ô €¢€¢€¢€¢€¢€¢ HHHHHH €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ ‰Ô‰Ô‰Ô‰Ô‰Ô‰Ô     €¢€¢€¢€¢€¢€¢ HHHHHH HHHHHH HHHHHH €¢€¢€¢€¢€¢€¢ ‰Ô‰Ô‰Ô‰Ô‰Ô‰Ô €¢€¢€¢€¢€¢€¢     €¢€¢€¢€¢€¢€¢ HHHHHH €¢€¢€¢€¢€¢€¢ HHHHHH €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢             HHHHHH     €¢€¢€¢€¢€¢€¢ ¬¬¬¬¬¬ ¬¬¬¬¬¬ ¬¬¬¬¬¬ €¢€¢€¢€¢€¢€¢  ‰Ò‰Ò‰Ò €Àˆ"ˆ"€Àˆ"€Àˆ"€Àˆ"ˆ"€Àˆ"€Àˆ"€Àˆ"ˆ"€Àˆ"€Àˆ"€Àˆ"ˆ"€Àˆ"€Àˆ"€Àˆ"ˆ"€Àˆ"€Àˆ"€Àˆ"ˆ"€Àˆ"€Àˆ"‡°‡°‡Ð‡Ô<‰Ò‰Ò<‰Ò<‰Ò‰Ô‰Ô‰Ô‰Ô‰Ô‰Ô        ‰Ò‰Ò‰Ò  ‰Ò‰Ò‰Ò‰Ò‰Ò‰Ò ‰Ò‰Ò   ‰Ò   ‰Î‰Î‡Ð‡ÔPPP‰Ö‰Ö‰Ö‰Ö‰Ö‰Ö¬¬¬‰Ø‰Ø‰Ú‰Ú‡Ð‡Ô€¢€¢€¢€¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢ˆ¢ˆ¢‡Ð‡Ôˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ°ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ°ˆ"ˆ¬ˆ"‰Ü‰Ü‰Ü‰Þ‰Þ‰Þ‰à‰à‰à‰à‰à‰à‰à‰à‰àHHH¬¬¬¬¬¬ ‰Ü‰Ü‰Ü‰Ü‰Ü‰Ü J‰à‰àJ‰àJ‰à€¢€¢€¢€¢€¢€¢ €¢€¢€¢¬¬¬¬¬¬ J‰à‰àJ‰àJ‰à¬¬¬¬¬¬ ‰Þ‰Þ‰Þ     €Àˆ"ˆ"€Àˆ"€Àˆ"€Àˆ"ˆ"€Àˆ"€Àˆ"‡°‡°‡Ð‡Ô‰â‰â‰âPPP‡Ö‡Ú‰â‰â‡Ð‡Ô¬¬¬¬¬¬ €¢€¢€¢€¢€¢€¢ <<‡â‡æ<<<< €¢€¢€¢€¢€¢€¢ ¬¬¬¬¬¬ €¢€¢€¢€¢€¢€¢ ¬¬¬¬¬¬ ¬¬¬¬¬¬ ‡°‡°‡Ð‡Ô¬¬¬€¢€¢€¢<<<€¢€¢€¢¬¬¬€¢€¢€¢¬¬¬¬¬¬ˆ"ˆ"‡Ð‡Ô€¢€¢€¢PPP‰ä‰ä‰ä‰ä‰ä‰ä€¢€¢€¢¬¬¬ˆ"ˆ"‡Ð‡Ô€¢€¢€¢PPP‰æ‰æ‰æ‰æ‰æ‰æ¬¬¬¬¬¬‡°‡°‡Ð‡Ô¬¬¬‰l‰l‡Ð‡Ô €¢€¢€¢<<< ˆ¢ˆ¢ˆ8ˆ8ˆ<€¢€¢ˆ@ˆ8ˆ8ˆB€¢€¢ˆ@ˆ8ˆ8ˆ¤€¢€¢ˆ@ˆ8ˆ8‰è€¢€¢ˆ@ˆ8ˆ8ˆÚ€¢€¢ˆ@ˆˆ‡Ð‡Ôˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ°ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ°ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ°ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ°ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ°ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ°ˆ"ˆ¬ˆ"ˆ¬‰ê‰êˆ¬‰êˆ¬‰êˆ¬‰ê‰êˆ¬‰êˆ°‰êˆ¬‰êˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ°ˆ"ˆ¬ˆ"HHH                        €Àˆ"ˆ"€Àˆ"€Àˆ"€Àˆ"ˆ"€Àˆ"€Àˆ"€Àˆ"ˆ"€Àˆ"€Àˆ"€Àˆ"ˆ"€Àˆ"€Àˆ"€Àˆ"ˆ"€Àˆ"€Àˆ"€Àˆ"ˆ"€Àˆ"€Àˆ"€À‰ê‰ê€À‰ê€À‰ê€Àˆ"ˆ"€Àˆ"€Àˆ"ˆ"ˆ"‡Ð‡Ô€¢€¢€¢PPP‰ì‰ì‰ì‰ì‰ì‰ì€¢€¢€¢€¢€¢€¢   €¢€¢€¢‰Ø‰Ø‰Ú‰Ú‡Ð‡Ô€¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢‰ˆ‰ˆ‡Ð‡Ô€¢€¢€¢‰î‰î‰î‰î‰î‰î€¢€¢€¢‰ð‰ð‡Ð‡Ô444444‰ð‰ð‡Ð‡Ô444‡°‡°‡Ð‡Ô44‡Ö‡Ú4‰Ø‰Ø‡Ð‡Ô‰ò‰ò‡Ð‡Ô€¢€¢€¢PPP‰ô‰ô‰ô€¢€¢€¢‰Æ‰Æ‡Ð‡Ô€¢€¢€¢PPP‰ò‰ò‰ò€¢€¢€¢‰ò‰ò‡Ð‡Ô€¢€¢€¢PPP‰ö‰ö‰ö<‰ø‰ø<‰ø<‰ø‡°‡°‡Ð‡Ô‰ú‰ú‰ú‡°‡°‡Ð‡ÔJ‰ü‰üJ‰ü€¢€¢€¢<<<PPPJ‰üJ‰ü‰üJ‰ü€¢€¢€¢J‰üJ<‚<J<J<ˆ¢ˆ¢‡Ð‡Ô     €¢€¢€¢€¢€¢€¢       JHHJHJH‰þ‰þ‡Ð‡Ô‰ú‰ú‰úŠŠŠ‰ø‰ø‰øŠŠŠ‰ò‰ò‡Ð‡Ô€¢€¢€¢PPPŠŠŠ<‰ø‰ø<‰ø<‰øJJ€¢€¢€¢J‡°‡°¢¢‡Ð‡ÔHHH‡°‡°‡Ð‡ÔŠŠŠJ<‚<J<J<‰Ø‰Ø‡Ð‡Ô€¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ ˆ¢ˆ¢‡Ð‡ÔHHH¬¬¬¬¬¬¬¬¬ˆ"ˆ"‡Ð‡Ô€¢€¢€¢PPPŠŠŠŠŠŠ<€¢€¢<€¢<€¢JP€¢€¢‚P€¢JP€¢JP€¢JJJˆ"ˆ"‡Ð‡Ô€¢€¢€¢€¢€¢€¢ ‡°‡°‡Ð‡Ô   €¢€¢€¢ŠŠ     €¢€¢€¢Š<<<€¢€¢€¢€¢€¢€¢ ŠŠŠ ˆ"ˆ"‡Ð‡Ô€¢€¢€¢PPPŠ +Š +Š +ŠŠŠ¬¬¬‡°‡°‡Ð‡ÔŠ Š Š €¢€¢€¢222JJJJJJ‡°‡°‡Ð‡ÔHHHJJJJŠŠJŠJŠJŠŠJŠJŠJJJJ€¢€¢J€¢J€¢‰Ø‰ØŠŠ‡Ð‡Ôˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ°ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ°ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ°ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ°ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ°ˆ"ˆ¬ˆ"ˆ¬ŠŠˆ¬Šˆ¬Šˆ¬ŠŠˆ¬Šˆ°Šˆ¬Šˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ°ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ°ˆ"ˆ¬ˆ"ˆ¬ŠŠˆ¬Šˆ¬Šˆ¬ŠŠˆ¬Šˆ°Šˆ¬Šˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ°ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ°ˆ"ˆ¬ˆ"ˆ¬ŠŠˆ¬Šˆ¬Šˆ¬ŠŠˆ¬Šˆ°Šˆ¬Šˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ°ˆ"ˆ¬ˆ"‰:ˆ"ˆ"‰:ˆ"‰:ˆ"‰:ˆ"ˆ"‰:ˆ"‰:ˆ"‰:ˆ"ˆ"‰:ˆ"‰:ˆ"‰:ˆ"ˆ"‰:ˆ"‰:ˆ"‰:ˆ"ˆ"‰:ˆ"‰:ˆ"‰:ŠŠ‰:Š‰:Š‰:ˆ"ˆ"‰:ˆ"‰:ˆ"‰:ˆ"ˆ"‰:ˆ"‰:ˆ"‰:ŠŠ‰:Š‰:Š‰:ˆ"ˆ"‰:ˆ"‰:ˆ"‰:ˆ"ˆ"‰:ˆ"‰:ˆ"‰:ŠŠ‰:Š‰:Š‰:ˆ"ˆ"‰:ˆ"‰:ˆ"ˆ¢ˆ¢‡Ð‡Ôˆ¬ŠŠˆ¬Šˆ¬Šˆ¬ŠŠˆ¬Šˆ°Šˆ¬Š€¢€¢€¢ŠŠŠ€¢€¢€¢  <<< €ÀŠŠ€ÀŠ€ÀŠ‡°‡°‡Ð‡Ô¬¬¬   ‰Ø‰Ø‡Ð‡ÔHHHHHH HHHHHH ŠŠŠ€¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ HHHHHH €¢€¢€¢€¢€¢€¢ <ˆ†ˆ†<ˆ†ˆˆ‡â‡æ‡Ü‡à<ˆ†€¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢ŠŠŠ€¢€¢€¢€¢€¢€¢ HHHHHHHHH €¢€¢€¢ ŠŠ¢¢‡Ð‡Ô‡°‡°‡Ð‡ÔJJ€¢€¢€¢JJJ€¢€¢€¢JJJJJJPPPJJJ€¢€¢€¢J‰Æ‰Æ‡Ð‡Ô€¢€¢€¢PPPŠ Š Š <<<<<<€¢€¢€¢€¢€¢€¢ JJJ Š"Š"‡Ð‡Ôˆˆˆ ‰Ø‰ØŠ$Š$‡Ð‡Ôˆ¬Š(ˆ,ˆ,ˆ¬ˆ,ˆ¬ˆ,ˆ¬Š(ˆ,ˆ,ˆ¬ˆ,ˆ°ˆ,ˆ¬ˆ,ˆ¬Š(ˆ,ˆ,ˆ¬ˆ,ˆ¬ˆ,ˆ¬Š(ˆ,ˆ,ˆ¬ˆ,ˆ°ˆ,ˆ¬ˆ,              ‰Ž‰Ž¬¬¬‰Ž<<€¢€¢€¢PPP‡Ü‡à‡â‡æ<<<‡Ö‡Ú‡Ü‡à‡â‡æ<<<‡Ö‡Ú‡Ü‡à‡â‡æ<€¢€¢€¢€¢€¢‡Ö‡Ú€¢ˆ ˆ ˆ ‰:Š(ˆ,ˆ,‰:ˆ,‰:ˆ,‰:Š(ˆ,ˆ,‰:ˆ,‰:ˆ,Š*Š*Š*Š(Š,Š,HHHHHHˆ8ˆ8ˆ<€¢€¢ˆ@ˆ8ˆ8ˆB€¢€¢ˆ@Š,€¢€¢€¢€¢€¢¬¬¬€¢ Š. ŠGŠ. ŠGŠ.€¢€¢€¢<<<‡Ö‡Ú JŠŠJŠ€¢€¢€¢<<<JŠ‡°‡°‡Ð‡Ô ¬¬¬€¢€¢€¢ ‡°‡°‡Ð‡Ô ‰‰‰ ˆˆˆ‡°‡°ˆ6ˆ6‡Ð‡Ôˆˆˆ‰‰‰‰‰‰ €¢€¢€¢€¢€¢€¢ <<‡Ü‡à‡â‡æ<<<< €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ ¬¬¬¬¬¬ €¢€¢€¢€¢€¢€¢ HHHHHH €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ ¬¬¬¬¬¬ ¬¬¬¬¬¬ ¬¬¬¬¬¬ €¢€¢€¢€¢€¢€¢ ¬¬¬¬¬¬ ¬¬¬¬¬¬ <<‡Ü‡à‡â‡æ<<<< €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢  PPP  ‡Ö‡Ú  ‡Ö‡Ú    ¬¬¬¬¬¬¬¬¬¬¬¬  €¢€¢€¢ ˆlˆl   PPP‡Ü‡àˆl‡Ö‡Ú‡Ü‡à   ‡Ö‡Ú‡Ü‡à   ‡Ö‡Ú‡Ü‡à   ‡Ö‡Ú‡Ü‡à   ‡Ö‡Ú‡Ü‡àŠ0Š0¬¬¬¬¬¬¬¬¬¬¬¬Š0Š2Š2<<<€¢€¢€¢Š2Š0Š0¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬Š0 ˆ~ˆ~ˆ~  €¢€¢€¢  ¬¬¬¬¬¬¬¬¬¬¬¬ PPP‡Ö‡Úˆlˆl         ‡Ü‡àˆl‡Ö‡Ú‡Ü‡à<¬¬<¬‡Ö‡Ú<¬HHHHH¬¬¬€¢€¢€¢HHH¬¬¬¬¬¬HŠ4Š4€¢€¢€¢Š4 ˆlˆlˆl              ‡Ö‡Ú  ‡Ö‡Ú  €¢€¢€¢    ¬¬¬   ¬¬¬¬¬¬  Š6Š6Š6  ¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬  Š6Š6Š6  ¬¬¬¬¬¬¬¬¬¬¬¬  €¢€¢€¢¬¬¬¬¬¬¬¬¬  ¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬  ¬¬¬¬¬¬  ¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬HHH‡Ö‡Ú  ¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬  ¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬   ¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬HHH  ¬¬¬¬¬¬  ¬¬¬¬¬¬  ¬¬¬¬¬¬¬¬¬¬¬¬  ¬¬¬¬¬¬¬¬¬¬¬¬ ˆlˆlˆlˆlˆlˆl       ¬¬¬    ¬¬¬¬¬¬¬¬¬        ¬¬¬    ¬¬¬¬¬¬¬¬¬  ¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬HHHH Š2Š2ˆTˆTˆT€¢€¢€¢Š2 Š$Š$Š$‚z‚z¬‚z¬‚z‚z¬‚z¬  Š$Š$Š$¬¬¬¬¬¬‡Ö‡Ú  Š$Š$Š$¬¬¬¬¬¬¬¬¬¬¬¬‡Ö‡Ú  Š$Š$Š$¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬‡Ö‡Ú ¬¬ˆ8ˆ8ˆ<€¢€¢ˆ@ˆ8ˆ8ˆÚ€¢€¢ˆ@ˆ8ˆ8ˆ¤€¢€¢ˆ@ˆˆ¬¬¬¬ˆ8ˆ8ˆ<€¢€¢ˆ@ˆ8ˆ8ˆÚ€¢€¢ˆ@ˆ8ˆ8ˆ¤€¢€¢ˆ@ˆˆ <¬¬<¬ˆ8ˆ8ˆ<€¢€¢ˆ@ˆ8ˆ8ˆÚ€¢€¢ˆ@ˆ8ˆ8ˆ¤€¢€¢ˆ@ˆˆ<¬ <¬¬<¬<¬ˆ8ˆ8ˆ<€¢€¢ˆ@ˆ8ˆ8ˆÚ€¢€¢ˆ@ˆ8ˆ8ˆ¤€¢€¢ˆ@ˆˆ  €¢€¢€¢¬¬¬¬¬¬¬¬¬ BB¢¢Bˆ†ˆ†Š8Š8Š:Š:‡Ð‡Ô€¢€¢€¢€¢€¢€¢    €¢€¢€¢         €¢€¢€¢      €¢€¢€¢ €¢€¢     €¢ <<<  <<< ˆ~ˆ~ˆ~ˆ~ˆ~ˆ~‡°‡° <<<  <<<  ‡°‡°‡Ð‡Ô€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢ <<<<<<<<<< ‡°‡°‡Ð‡ÔJJJJJ€¢€¢€¢JJ<‚<J<PPPJ<JŠ<Š<JŠ<€¢€¢€¢JŠ<ˆ"ˆ"‡Ð‡Ô€¢€¢€¢PPPŠ>Š>Š>Š>Š>Š>Š@Š@Š@ˆ"ˆ"‡Ð‡Ô€¢€¢€¢PPPŠBŠBŠBŠBŠBŠB   €¢€¢€¢HHHŠDŠD‡Ð‡Ô€¢€¢€¢ŠFŠF‡Ð‡Ô€¢€¢€¢HHHHHHHH‰¼‰¼‰¼€¢€¢€¢€¢€¢€¢€¢€¢€¢PPPŠHŠHŠHŠHŠHŠH€¢€¢€¢ €¢€¢€¢HHHHHH‰¼‰¼‰¼€¢€¢€¢‡Ö‡Ú ‰Ø‰Øˆ8ˆ8ˆ<€¢€¢ˆ@‡Ð‡ÔHHH€¢€¢€¢€¢€¢€¢ <ˆ†ˆ†<ˆ†‡â‡æ‡Ü‡à<ˆ†‡°‡°‡Ð‡ÔJJPPPJJJ€¢€¢€¢€¢€¢€¢PPPJ‡°‡°‡Ð‡Ô¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬‡°‡°‡Ð‡Ô€¢€¢€¢€¢€¢€¢‡°‡°‡Ð‡Ô€¢€¢‡Ö‡Ú€¢€¢€¢€¢‡°‡°‡Ð‡ÔJJPPPJJJPPPJJJJJJJJJŠJŠJŠJJ‡°‡°ˆ8ˆ8ˆ<€¢€¢ˆ@ˆ8ˆ8ˆÚ€¢€¢ˆ@‡Ð‡Ô666666HHHŠLŠLŠL66666‡Ö‡Ú‡Ü‡à‡â‡æ6‡°‡°‡Ð‡Ô<<‡Ü‡à<HHH€¢€¢€¢<<<‡°‡°‡Ð‡ÔŠNŠNŠNŠPŠP¬¬¬ŠPŠPŠP¬¬¬ŠPŠPŠP¬¬¬ŠPŠPŠP¬¬¬ŠPŠPŠP¬¬¬ŠPŠPŠP¬¬¬ŠPŠPŠP¬¬¬ŠPŠPŠP¬¬¬ŠP€¢€¢€¢€¢€¢€¢ŠPŠP¬¬¬ŠPŠPŠP¬¬¬ŠPŠPŠP¬¬¬ŠPŠPŠP¬¬¬‡Ö‡ÚŠPŠPŠP¬¬¬ŠPŠPŠP¬¬¬ŠPŠPŠP¬¬¬ŠPŠPŠP¬¬¬ŠPŠPŠP¬¬¬ŠPŠPŠP¬¬¬ŠPŠPŠP¬¬¬ŠPŠPŠP¬¬¬ŠPŠPŠP¬¬¬ŠP PPP  ‡Ö‡Ú ŠPŠP¬¬¬ŠPŠPŠP¬¬¬ŠPHH€¢€¢€¢€¢€¢€¢HHH€¢€¢€¢‡Ö‡ÚHŠPŠP¬¬¬ŠPŠPŠP¬¬¬ŠPŠPŠP¬¬¬ŠPŠPŠP¬¬¬ŠPŠPŠP¬¬¬ŠPŠRŠR‡Ð‡Ô€¢€¢€¢€¢€¢€¢ ŠTŠT‡Ð‡Ô€¢€¢€¢ŠRŠR‡Ð‡ÔŠVŠVŠVŠRŠR‡Ð‡Ô<ŠRŠR<ŠR‡â‡æ‡Ü‡à<ŠR    €¢€¢€¢    ŠXŠX‡Ð‡Ô¬¬¬¬¬¬¬¬¬ŠRŠR‡Ð‡Ô€¢€¢€¢ŠZŠZŠZŠ\Š\Š\ŠRŠR‡Ð‡Ô€¢€¢€¢€¢€¢€¢ ŠVŠVŠVŠRŠR‡Ð‡Ô<ŠRŠR<ŠR‡â‡æ‡Ü‡à<ŠR€¢€¢€¢€¢€¢€¢ Š^Š^   Š^ €¢€¢€¢  €¢€¢€¢ Š^Š^€¢€¢€¢Š^Š`Š`‡Ð‡Ô€¢€¢€¢ŠbŠbŠb€¢€¢€¢€¢€¢€¢ ŠdŠd‡Ð‡ÔŠfŠfŠfPPPŠhŠhŠhŠhŠhŠhŠjŠjŠjŠjŠjŠj ŠlŠl‡Ð‡ÔŠZŠZŠZŠRŠR‡Ð‡Ô€¢€¢‡Ö‡Ú€¢€¢€¢€¢Š`Š`‡Ð‡ÔŠnŠnŠnŠnŠnŠnŠnŠn¬¬¬ŠnŠnŠn¬¬¬ŠnŠnŠn€¢€¢€¢ŠnŠnŠnŠnŠnŠnŠnŠnŠn€¢€¢€¢ŠnŠRŠR‡Ð‡Ô€¢€¢€¢€¢€¢€¢ ŠVŠVŠVŠdŠd‡Ð‡ÔŠnŠnŠnŠpŠpŠpŠnŠnŠnŠnŠnŠn Š`Š`‡Ð‡ÔŠnŠnŠnŠnŠnŠnŠrŠrŠrŠnŠnŠnŠnŠnŠn ŠnŠnŠnŠnŠnŠn Š`Š`‡Ð‡Ô€¢€¢€¢ŠdŠd‡Ð‡Ô¬¬¬¬¬¬ŠnŠnŠnŠtŠtŠtŠtŠtŠtŠnŠnŠnŠnŠnŠn ¬¬¬¬¬¬ ¬¬¬¬¬¬ ¬¬¬¬¬¬ ‡°‡°‡Ð‡Ô                                  €¢€¢€¢€¢€¢€¢ ŠRŠRŠRŠ\Š\Š\   ŠdŠd‡Ð‡Ô¬¬¬¬¬¬¬¬¬ŠvŠvŠvŠvŠvŠv¬¬¬¬¬¬ ¬¬¬¬¬¬ ¬¬¬¬¬¬ ŠdŠd‡Ð‡ÔŠnŠnŠnŠnŠnŠnŠxŠxŠxŠnŠnŠnŠnŠnŠn ŠnŠnŠnŠnŠnŠn ‡°‡°ŠzŠz‡Ð‡Ô€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢HH€¢€¢€¢HHH€¢€¢€¢H €¢€¢€¢€¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢€¢€¢€¢ HHH€¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢   ŠRŠRŠR€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢‡Ö‡Ú€¢€¢€¢   €¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢ €¢€¢‡â‡æ‡Ö‡Ú€¢€¢€¢€¢‡Ö‡Ú €¢€¢€¢€¢€¢€¢ €¢€¢‡â‡æ‡Ö‡Ú€¢€¢€¢€¢‡Ö‡Ú €¢€¢€¢€¢€¢€¢ €¢€¢‡â‡æ‡Ö‡Ú€¢€¢€¢€¢‡Ö‡Ú €¢€¢€¢€¢€¢€¢ €¢€¢‡â‡æ‡Ö‡Ú€¢€¢€¢€¢‡Ö‡Ú €¢€¢€¢€¢€¢€¢ €¢€¢‡â‡æ‡Ö‡Ú€¢€¢€¢€¢‡Ö‡Ú €¢€¢€¢€¢€¢€¢ €¢€¢‡â‡æ‡Ö‡Ú€¢€¢€¢€¢‡Ö‡Ú €¢€¢€¢€¢€¢€¢ €¢€¢‡â‡æ‡Ö‡Ú€¢€¢€¢€¢‡Ö‡Ú €¢€¢€¢€¢€¢€¢ €¢€¢‡â‡æ‡Ö‡Ú€¢€¢€¢€¢‡Ö‡Ú €¢€¢€¢€¢€¢€¢ €¢€¢‡â‡æ‡Ö‡Ú€¢€¢€¢€¢‡Ö‡Ú €¢€¢€¢€¢€¢€¢ €¢€¢‡â‡æ‡Ö‡Ú€¢€¢€¢€¢‡Ö‡Ú €¢€¢€¢€¢€¢€¢ €¢€¢‡â‡æ‡Ö‡Ú€¢€¢€¢€¢‡Ö‡Ú €¢€¢€¢€¢€¢€¢ €¢€¢‡â‡æ‡Ö‡Ú€¢€¢€¢€¢‡Ö‡Ú €¢€¢€¢€¢€¢€¢ €¢€¢‡â‡æ‡Ö‡Ú€¢€¢€¢€¢‡Ö‡Ú €¢€¢€¢€¢€¢€¢ €¢€¢‡â‡æ‡Ö‡Ú€¢€¢€¢€¢‡Ö‡Ú €¢€¢€¢€¢€¢€¢ €¢€¢‡â‡æ‡Ö‡Ú€¢€¢€¢€¢‡Ö‡Ú €¢€¢€¢€¢€¢€¢ €¢€¢‡â‡æ‡Ö‡Ú€¢€¢€¢€¢‡Ö‡Ú €¢€¢€¢€¢€¢€¢ €¢€¢‡â‡æ‡Ö‡Ú€¢€¢€¢€¢‡Ö‡Ú €¢€¢€¢€¢€¢€¢ €¢€¢‡â‡æ‡Ö‡Ú€¢€¢€¢€¢‡Ö‡Ú €¢€¢€¢€¢€¢€¢ €¢€¢‡â‡æ‡Ö‡Ú€¢€¢€¢€¢‡Ö‡Ú €¢€¢€¢€¢€¢€¢ €¢€¢‡â‡æ‡Ö‡Ú€¢€¢€¢€¢‡Ö‡Ú €¢€¢€¢€¢€¢€¢ €¢€¢‡â‡æ‡Ö‡Ú€¢€¢€¢€¢‡Ö‡Ú €¢€¢€¢€¢€¢€¢ €¢€¢‡â‡æ‡Ö‡Ú€¢€¢€¢€¢‡Ö‡Ú €¢€¢€¢€¢€¢€¢ €¢€¢‡â‡æ‡Ö‡Ú€¢€¢€¢€¢‡Ö‡Ú €¢€¢€¢€¢€¢€¢ €¢€¢‡â‡æ‡Ö‡Ú€¢€¢€¢€¢‡Ö‡Ú €¢€¢€¢€¢€¢€¢ €¢€¢‡â‡æ‡Ö‡Ú€¢€¢€¢€¢‡Ö‡Ú €¢€¢€¢€¢€¢€¢ €¢€¢‡â‡æ‡Ö‡Ú€¢€¢€¢€¢‡Ö‡Ú €¢€¢€¢€¢€¢€¢ €¢€¢‡â‡æ‡Ö‡Ú€¢€¢€¢€¢‡Ö‡Ú €¢€¢€¢€¢€¢€¢ €¢€¢‡â‡æ‡Ö‡Ú€¢€¢€¢€¢‡Ö‡Ú €¢€¢€¢€¢€¢€¢ €¢€¢‡â‡æ‡Ö‡Ú€¢€¢€¢€¢‡Ö‡Ú €¢€¢€¢€¢€¢€¢ €¢€¢‡â‡æ‡Ö‡Ú€¢€¢€¢€¢‡Ö‡Ú €¢€¢€¢€¢€¢€¢ €¢€¢‡â‡æ‡Ö‡Ú€¢€¢€¢€¢‡Ö‡Ú €¢€¢€¢€¢€¢€¢ €¢€¢‡â‡æ‡Ö‡Ú€¢€¢€¢€¢‡Ö‡Ú €¢€¢€¢€¢€¢€¢ €¢€¢‡â‡æ‡Ö‡Ú€¢€¢€¢€¢‡Ö‡Ú €¢€¢€¢€¢€¢€¢ €¢€¢‡â‡æ‡Ö‡Ú€¢€¢€¢€¢‡Ö‡Ú €¢€¢€¢€¢€¢€¢ €¢€¢‡â‡æ‡Ö‡Ú€¢€¢€¢€¢‡Ö‡Ú €¢€¢€¢€¢€¢€¢ €¢€¢‡â‡æ‡Ö‡Ú€¢€¢€¢€¢‡Ö‡Ú €¢€¢€¢€¢€¢€¢ €¢€¢‡â‡æ‡Ö‡Ú€¢€¢€¢€¢‡Ö‡Ú €¢€¢€¢€¢€¢€¢ €¢€¢‡â‡æ‡Ö‡Ú€¢€¢€¢€¢‡Ö‡Ú €¢€¢€¢€¢€¢€¢ €¢€¢‡â‡æ‡Ö‡Ú€¢€¢€¢€¢‡Ö‡Ú €¢€¢€¢€¢€¢€¢ €¢€¢‡â‡æ‡Ö‡Ú€¢€¢€¢€¢‡Ö‡Ú €¢€¢€¢€¢€¢€¢ €¢€¢‡â‡æ‡Ö‡Ú€¢€¢€¢€¢‡Ö‡Ú €¢€¢€¢€¢€¢€¢ €¢€¢‡â‡æ‡Ö‡Ú€¢€¢€¢€¢‡Ö‡Ú €¢€¢€¢€¢€¢€¢ €¢€¢‡â‡æ‡Ö‡Ú€¢€¢€¢€¢‡Ö‡Ú €¢€¢€¢€¢€¢€¢ €¢€¢‡â‡æ‡Ö‡Ú€¢€¢€¢€¢‡Ö‡Ú €¢€¢€¢€¢€¢€¢ €¢€¢‡â‡æ‡Ö‡Ú€¢€¢€¢€¢‡Ö‡Ú €¢€¢€¢€¢€¢€¢ €¢€¢‡â‡æ‡Ö‡Ú€¢€¢€¢€¢‡Ö‡Ú €¢€¢€¢€¢€¢€¢ €¢€¢‡â‡æ‡Ö‡Ú€¢€¢€¢€¢‡Ö‡Ú €¢€¢€¢€¢€¢€¢ €¢€¢‡â‡æ‡Ö‡Ú€¢€¢€¢€¢‡Ö‡Ú €¢€¢€¢€¢€¢€¢ €¢€¢‡â‡æ‡Ö‡Ú€¢€¢€¢€¢‡Ö‡Ú €¢€¢€¢€¢€¢€¢ €¢€¢‡â‡æ‡Ö‡Ú€¢€¢€¢€¢‡Ö‡Ú €¢€¢€¢€¢€¢€¢ €¢€¢‡â‡æ‡Ö‡Ú€¢€¢€¢€¢‡Ö‡Ú €¢€¢€¢€¢€¢€¢ €¢€¢‡â‡æ‡Ö‡Ú€¢€¢€¢€¢‡Ö‡Ú €¢€¢€¢€¢€¢€¢ €¢€¢‡â‡æ‡Ö‡Ú€¢€¢€¢€¢‡Ö‡Ú €¢€¢€¢€¢€¢€¢ €¢€¢‡â‡æ‡Ö‡Ú€¢€¢€¢€¢‡Ö‡Ú €¢€¢€¢€¢€¢€¢ €¢€¢‡â‡æ‡Ö‡Ú€¢€¢€¢€¢‡Ö‡Ú €¢€¢€¢€¢€¢€¢ €¢€¢‡â‡æ‡Ö‡Ú€¢€¢€¢€¢‡Ö‡Ú €¢€¢€¢€¢€¢€¢ €¢€¢‡â‡æ‡Ö‡Ú€¢€¢€¢€¢‡Ö‡Ú €¢€¢€¢€¢€¢€¢ €¢€¢‡â‡æ‡Ö‡Ú€¢€¢€¢€¢‡Ö‡Ú €¢€¢€¢€¢€¢€¢ €¢€¢‡â‡æ‡Ö‡Ú€¢€¢€¢€¢‡Ö‡Ú €¢€¢€¢€¢€¢€¢ €¢€¢‡â‡æ‡Ö‡Ú€¢€¢€¢€¢‡Ö‡Ú €¢€¢€¢€¢€¢€¢ €¢€¢‡â‡æ‡Ö‡Ú€¢€¢€¢€¢‡Ö‡Ú €¢€¢€¢€¢€¢€¢ €¢€¢‡â‡æ‡Ö‡Ú€¢€¢€¢€¢‡Ö‡Ú €¢€¢€¢€¢€¢€¢ €¢€¢‡â‡æ‡Ö‡Ú€¢€¢€¢€¢‡Ö‡Ú €¢€¢€¢€¢€¢€¢ €¢€¢‡â‡æ‡Ö‡Ú€¢€¢€¢€¢‡Ö‡Ú €¢€¢€¢€¢€¢€¢ €¢€¢‡â‡æ‡Ö‡Ú€¢€¢€¢€¢‡Ö‡Ú €¢€¢€¢€¢€¢€¢ €¢€¢‡â‡æ‡Ö‡Ú€¢€¢€¢€¢‡Ö‡Ú €¢€¢€¢€¢€¢€¢ €¢€¢‡â‡æ‡Ö‡Ú€¢€¢€¢€¢‡Ö‡Ú €¢€¢€¢€¢€¢€¢ €¢€¢‡â‡æ‡Ö‡Ú€¢€¢€¢€¢‡Ö‡Ú €¢€¢€¢€¢€¢€¢ €¢€¢‡â‡æ‡Ö‡Ú€¢€¢€¢€¢‡Ö‡Ú €¢€¢€¢€¢€¢€¢ €¢€¢‡â‡æ‡Ö‡Ú€¢€¢€¢€¢‡Ö‡Ú €¢€¢€¢€¢€¢€¢ €¢€¢‡â‡æ‡Ö‡Ú€¢€¢€¢€¢‡Ö‡Ú €¢€¢€¢€¢€¢€¢ €¢€¢‡â‡æ‡Ö‡Ú€¢€¢€¢€¢‡Ö‡Ú €¢€¢€¢€¢€¢€¢ €¢€¢‡â‡æ‡Ö‡Ú€¢€¢€¢€¢‡Ö‡Ú €¢€¢€¢€¢€¢€¢ €¢€¢‡â‡æ‡Ö‡Ú€¢€¢€¢€¢‡Ö‡Ú €¢€¢€¢€¢€¢€¢ €¢€¢‡â‡æ‡Ö‡Ú€¢€¢€¢€¢‡Ö‡Ú €¢€¢€¢€¢€¢€¢ €¢€¢‡â‡æ‡Ö‡Ú€¢€¢€¢€¢‡Ö‡Ú €¢€¢€¢€¢€¢€¢ €¢€¢‡â‡æ‡Ö‡Ú€¢€¢€¢€¢‡Ö‡Ú €¢€¢€¢€¢€¢€¢ €¢€¢‡â‡æ‡Ö‡Ú€¢€¢€¢€¢‡Ö‡Ú €¢€¢€¢€¢€¢€¢ €¢€¢‡â‡æ‡Ö‡Ú€¢€¢€¢€¢‡Ö‡Ú €¢€¢€¢€¢€¢€¢ €¢€¢‡â‡æ‡Ö‡Ú€¢€¢€¢€¢‡Ö‡Ú €¢€¢€¢€¢€¢€¢ €¢€¢‡â‡æ‡Ö‡Ú€¢€¢€¢€¢‡Ö‡Ú €¢€¢€¢€¢€¢€¢ €¢€¢‡â‡æ‡Ö‡Ú€¢€¢€¢€¢‡Ö‡Ú €¢€¢€¢€¢€¢€¢ €¢€¢‡â‡æ‡Ö‡Ú€¢€¢€¢€¢‡Ö‡Ú €¢€¢€¢€¢€¢€¢ €¢€¢‡â‡æ‡Ö‡Ú€¢€¢€¢€¢‡Ö‡Ú €¢€¢€¢€¢€¢€¢ €¢€¢‡â‡æ‡Ö‡Ú€¢€¢€¢€¢‡Ö‡Ú €¢€¢€¢€¢€¢€¢ €¢€¢‡â‡æ‡Ö‡Ú€¢€¢€¢€¢‡Ö‡Ú €¢€¢€¢€¢€¢€¢ €¢€¢‡â‡æ‡Ö‡Ú€¢€¢€¢€¢‡Ö‡Ú €¢€¢€¢€¢€¢€¢ €¢€¢‡â‡æ‡Ö‡Ú€¢€¢€¢€¢‡Ö‡Ú €¢€¢€¢€¢€¢€¢ €¢€¢‡â‡æ‡Ö‡Ú€¢€¢€¢€¢‡Ö‡Ú €¢€¢€¢€¢€¢€¢ €¢€¢‡â‡æ‡Ö‡Ú€¢€¢€¢€¢‡Ö‡Ú <<ŠzŠz.ˆ~ˆ~.ˆ~.ˆ~.ŠVŠV.ŠV.ŠV.ˆ~€¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢€¢€¢€¢  €¢€¢€¢€¢€¢€¢ €¢€¢€¢ €¢€¢€¢ €¢€¢€¢ €¢€¢€¢ €¢€¢€¢ €¢€¢€¢ €¢€¢€¢ €¢€¢€¢ €¢€¢€¢ €¢€¢€¢ €¢€¢€¢ €¢€¢€¢ €¢€¢€¢ €¢€¢€¢ €¢€¢€¢ €¢€¢€¢ €¢€¢€¢ €¢€¢€¢ €¢€¢€¢ €¢€¢€¢ €¢€¢€¢ €¢€¢€¢ €¢€¢€¢ €¢€¢€¢ €¢€¢€¢ €¢€¢€¢ €¢€¢€¢ €¢€¢€¢ €¢€¢€¢ €¢€¢€¢ €¢€¢€¢ €¢€¢€¢ €¢€¢€¢ €¢€¢€¢ €¢€¢€¢ €¢€¢€¢ €¢€¢€¢ €¢€¢€¢ €¢€¢€¢ €¢€¢€¢ €¢€¢€¢ €¢€¢€¢ €¢€¢€¢ €¢€¢€¢ €¢€¢€¢ €¢€¢€¢ €¢€¢€¢ €¢€¢€¢ €¢€¢€¢ €¢€¢€¢ €¢€¢€¢ €¢€¢€¢ €¢€¢€¢ €¢€¢€¢ €¢€¢€¢ €¢€¢€¢ €¢€¢€¢ €¢€¢€¢ €¢€¢€¢ €¢€¢€¢ €¢€¢€¢ €¢€¢€¢ €¢€¢€¢ €¢€¢€¢ €¢€¢€¢ €¢€¢€¢ €¢€¢€¢ €¢€¢€¢ €¢€¢€¢ €¢€¢€¢ €¢€¢€¢ €¢€¢€¢ €¢€¢€¢ €¢€¢€¢ €¢€¢€¢ €¢€¢€¢ €¢€¢€¢ €¢€¢€¢ €¢€¢€¢ €¢€¢€¢ €¢€¢€¢ €¢€¢€¢ €¢€¢€¢ €¢€¢€¢ €¢€¢€¢ €¢€¢€¢ €¢€¢€¢ €¢€¢€¢ €¢€¢€¢ €¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢ˆ8ˆ8ˆ<€¢€¢ˆ@ˆ8ˆ8ˆB€¢€¢ˆ@ˆ8ˆ8ˆ¤€¢€¢ˆ@ˆ8ˆ8ˆÚ€¢€¢ˆ@€¢€¢€¢€¢ˆ8ˆ8ˆ<€¢€¢ˆ@ˆ8ˆ8ˆB€¢€¢ˆ@ˆ8ˆ8ˆ¤€¢€¢ˆ@ˆ8ˆ8ˆÚ€¢€¢ˆ@ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ ŠRŠR‡Ð‡Ô€¢€¢€¢€¢€¢€¢ ŠVŠVŠV‰‰‡Ð‡Ô<ŠRŠR<ŠR‡â‡æ‡Ü‡à<ŠRŠRŠRŠR<ŠRŠR<ŠR‡â‡æ‡Ü‡à<ŠR  €¢€¢€¢€¢€¢€¢        €¢€¢€¢       ‡°‡°‡Ð‡Ô<<€¢€¢€¢€¢€¢€¢<ŠlŠl‡Ð‡Ô‡°‡°‡Ð‡ÔHHHHHH Š`Š`‡Ð‡Ô<ŠdŠd<Šd<ŠdŠ|Š|Š|Š|Š|Š|HHH   ŠdŠd   ŠdŠjŠjŠjŠdŠd‡Ð‡ÔŠnŠnŠnŠnŠnŠnŠnŠnŠnŠ~Š~Š~Š~Š~Š~ŠnŠnŠnŠnŠnŠn ŠnŠnŠnŠnŠnŠn ŠnŠnŠnŠnŠnŠn ŠnŠn‡Ð‡Ô¬¬¬€¢€¢€¢ŠPŠPŠP€¢€¢€¢€¢€¢€¢€¢€¢€¢ ¬¬¬¬¬¬ Š`Š`‡Ð‡Ô   <<   <‡°‡°‡Ð‡ÔŠ€Š€Š€€¢€¢€¢ŠRŠR‡Ð‡ÔŠVŠVŠVŠ‚Š‚‡Ð‡Ô€¢€¢€¢Š„Š„Š„€¢€¢€¢ ¢¢ ‡°‡°‡Ð‡Ô €¢€¢€¢<<<PPP  ‡Ö‡Ú  ‡Ö‡Ú <<€¢€¢€¢<JJ€¢€¢€¢Jˆ"ˆ"‡Ð‡Ô‡Ü‡à€¢€¢€¢HHHHHHHH<<<€¢€¢€¢PPPŠ†Š†Š†Š†Š†Š†‚‚‡Ö‡Ú‡Ü‡à €¢€¢€¢HHHHHH<<<‡Ö‡Ú ‰Ø‰Ø‡Ð‡Ô‰Ø‰Ø‡Ð‡Ô€¢€¢€¢€¢€¢€¢ ‰Ø‰Øˆ8ˆ8ˆ<€¢€¢ˆ@ˆ8ˆ8ˆB€¢€¢ˆ@ˆ8ˆ8ˆ¤€¢€¢ˆ@ˆ8ˆ8ˆÚ€¢€¢ˆ@‡Ð‡ÔHHH<ˆ†ˆ†<ˆ†‡â‡æ‡Ü‡à<ˆ†‡°‡°‡Ð‡ÔŠ@Š@Š@€¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ <ŠˆŠˆ<Šˆ‡â‡æ‡Ü‡à<ŠˆŠŠŠŠŠŠ<€¢€¢<€¢<€¢ €¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢  ˆ~ˆ~ˆ~     ‡°‡°‡Ð‡ÔŠŒŠŒŠŒ€¢€¢€¢€¢€¢€¢ŠˆŠˆŠˆŠŒŠŒ‡Ö‡Úˆ8ˆ8ˆ<€¢€¢ˆ@ˆ8ˆ8ˆÚ€¢€¢ˆ@ŠŒ‡°‡°‡Ð‡Ô   ŠŽŠŽ€¢€¢€¢ŠŽŠŽŠŽ€¢€¢€¢€¢€¢€¢‡Ö‡ÚŠŽŠŽŠŽŠˆŠˆŠˆ‡Ö‡ÚŠŽ ŠŽŠŽ   ŠŽ   ŠŽŠŽ   ŠŽ ŠŠŠ  ˆÆˆÆˆÆ  ‰T‰T‰T ‰Ä‰Ä‡Ð‡Ôˆ¬ŠŠˆ¬Šˆ¬Šˆ¬ŠŠˆ¬Šˆ°Šˆ¬Š         <<<<<<<  <<<<<<<‡Ö‡Ú  ‡Ö‡Ú      Š’ Š”HŠ’ Š”HŠ’Š– ˆÆ Š– ˆÆ Š–‡Ö‡Úˆ8ˆ8ˆ<€¢€¢ˆ@ˆ8ˆ8ˆÚ€¢€¢ˆ@ Š˜Š˜     ‡Ö‡Úˆ8ˆ8ˆ<€¢€¢ˆ@ˆ8ˆ8ˆÚ€¢€¢ˆ@Š˜ŠšŠš€¢€¢€¢‡Ö‡Úˆ8ˆ8ˆ<€¢€¢ˆ@ˆ8ˆ8ˆÚ€¢€¢ˆ@Šš €¢€¢€¢Šœ ŠŒŠœ ŠŒŠœŠ– ˆÆ Š– ˆÆ Š–‡Ö‡Úˆ8ˆ8ˆ<€¢€¢ˆ@ˆ8ˆ8ˆÚ€¢€¢ˆ@ €ÀŠŠ€ÀŠ€ÀŠŠžŠžŠž‡°‡°‡Ð‡Ô          Š   I JŠ   I JŠ Š¢ Š¤ Š¢ Š¤ Š¢      Š¦  KŠ¦  KŠ¦Š¢ Š¤ Š¢ Š¤ Š¢ ‡°‡°‡Ð‡Ô Š   I JŠ   I JŠ Š¢ Š¤ Š¢ Š¤ Š¢    Š¦  KŠ¦  KŠ¦Š¢ Š¤ Š¢ Š¤ Š¢ Š¨Š¨‡Ð‡Ô   €¢€¢€¢€¢€¢€¢‰Ø‰Øˆ8ˆ8ˆ<€¢€¢ˆ@ˆ8ˆ8ˆÚ€¢€¢ˆ@‡Ð‡ÔHHHHHHHHH ‡°‡°‡Ð‡ÔŠªŠªŠª‚z‚z¬‚z¬<<<€¢€¢€¢‡°‡°‡Ð‡ÔŠ¬Š¬Š¬‚z‚z¬‚z¬<<<‡°‡°‡Ð‡ÔŠ®Š®Š®‚z‚z¬‚z¬<<<€¢€¢€¢‡°‡°‡Ð‡Ô¬¬¬¬¬¬¬¬¬ˆ"ˆ"‡Ð‡Ô€¢€¢€¢PPPŠ°Š°Š°Š°Š°Š°Š²Š²Š²Š²Š²Š²¬¬¬Š´Š´Š´ˆ"ˆ"‡Ð‡Ô€¢€¢€¢PPPŠ¶Š¶Š¶Š¶Š¶Š¶HHH¬¬¬¬¬¬¬¬¬‡°‡°‡Ð‡Ô¬¬¬¬¬¬¬¬¬‰Ø‰Øˆˆ‡Ð‡ÔHHHHHH €¢€¢€¢€¢€¢€¢  €¢€¢€¢   ŠŒŠŒ‡Ð‡ÔJŠŒŠŒJŠŒ€¢€¢€¢HHHHJŠŒŠ¸Š¸Š¸JŠŒŠŒJŠŒ€¢€¢€¢JŠŒJŠŒŠŒJŠŒ€¢€¢€¢HHHHJŠŒJŠŒŠŒJŠŒ€¢€¢€¢JŠŒŠ¸Š¸‡Ö‡ÚŠ¸ €¢€¢€¢PPPŠœ ŠŒŠœ ŠŒŠœŠ– ˆÆ Š– ˆÆ Š–  Šœ ŠŒŠœ ŠŒŠœŠ– ˆÆ Š– ˆÆ Š–‡Ö‡Ú  Šœ ŠŒŠœ ŠŒŠœ‡Ö‡Ú  ‡Ö‡Ú  ‡Ö‡Ú JŠŒŠŒJŠŒ€¢€¢€¢PPP‡Ö‡ÚJŠŒ €¢€¢€¢PPPŠœ ŠŒŠœ ŠŒŠœŠ– ˆÆ Š– ˆÆ Š–  Šœ ŠŒŠœ ŠŒŠœŠ– ˆÆ Š– ˆÆ Š–‡Ö‡Ú  Šœ ŠŒŠœ ŠŒŠœ‡Ö‡Ú  ‡Ö‡Ú  ‡Ö‡Ú JŠŒŠŒJŠŒ€¢€¢€¢PPP‡Ö‡ÚJŠŒ ‰´ ‰´ ‰´Š– ˆÆ Š– ˆÆ Š–‡Ö‡Ú JJ‡Ö‡ÚJ‡°‡°‡Ð‡Ô Šº <LŠº <LŠºŠ– ˆÆ Š– ˆÆ Š–‡Ö‡Ú J<ŠŒŠŒ<ŠŒJ<ŠŒJ<ŠŒ‰Ø‰Ø‡Ð‡Ôˆ†ˆ†‡Ð‡Ôˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ°ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ°ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ°ˆ"ˆ¬ˆ"ˆ¬Š¼Š¼ˆ¬Š¼ˆ¬Š¼ˆ¬Š¼Š¼ˆ¬Š¼ˆ°Š¼ˆ¬Š¼ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ°ˆ"ˆ¬ˆ"Š¾Š¾Š¾€¢€¢€¢‰Ø‰Ø‡Ö‡Ú‰Ø‰Ø‰Ø‰Ø‡Ö‡Ú €¢€¢€¢€¢€¢€¢€¢€¢€¢ ŠÀŠÀŠÀŠÂŠÂŠÂ‚‡Ö‡Ú‡Ü‡à‡â‡æ‡Ü‡à‡â‡æˆ~ˆ~ˆ~€¢€¢€¢HHHŠÄŠÄ‡Ö‡ÚŠÄHHHŠÆŠÆŠÆ€¢€¢‡Ö‡Ú€¢€¢€¢€¢€¢€¢‡Ö‡Ú€¢€¢€¢€¢€¢€¢‡Ö‡Ú€¢‰8‰8‰8ˆ~ˆ~ˆ~ˆ~ˆ~ˆ~ ˆ~ˆ~ˆ~€¢€¢‡Ö‡Ú€¢€¢€¢€¢‡Ö‡Ú €¢€¢€¢ŠÈŠÈŠÈ€¢€¢‡Ö‡Ú€¢€¢€¢€¢‡Ö‡Ú €¢€¢‡Ö‡Ú€¢ˆ~ˆ~‡Ö‡Úˆ8ˆ8ˆ<€¢€¢ˆ@ˆ8ˆ8ˆÚ€¢€¢ˆ@ˆ~HH‡Ö‡Úˆ8ˆ8ˆ<€¢€¢ˆ@ˆ8ˆ8ˆÚ€¢€¢ˆ@HHH‡Ö‡Úˆ8ˆ8ˆ<€¢€¢ˆ@ˆ8ˆ8ˆÚ€¢€¢ˆ@H€¢€¢‡Ö‡Úˆ8ˆ8ˆ<€¢€¢ˆ@ˆ8ˆ8ˆÚ€¢€¢ˆ@€¢ˆ†ˆ†ˆ†ˆ†ˆ†ˆ†ŠÊŠÊ     ‡Ö‡ÚŠÊ‰&‰&‰&ˆ~ˆ~€¢€¢€¢‡Ö‡Úˆ~ˆ~ˆ~€¢€¢€¢€¢€¢€¢‡Ö‡Úˆ~ˆ"ˆ"€¢€¢€¢‡Ö‡Úˆ"ŠÊŠÊŠÊŠŠ€¢€¢€¢‡Ö‡ÚŠŠÌŠÌ‰¼‰¼‰¼ˆ¢ˆ¢ˆ¢   ¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬ŠÌŠÌŠÌ‰¼‰¼‰¼‡Ö‡ÚŠÌŠÌŠÌ‰¼‰¼‰¼‡Ö‡ÚŠÌŠÌŠÌ‰¼‰¼‰¼‡Ö‡ÚŠÌŠÌŠÌ‰¼‰¼‰¼‡Ö‡ÚŠÌŠÌŠÌ‰¼‰¼‰¼‡Ö‡ÚŠÌŠÎŠÎŠÌŠÌŠÌ‡Ö‡ÚŠÎHH€¢€¢€¢HHH€¢€¢€¢H  <‰à‰à<‰à<‰à<ˆ†ˆ†<ˆ†€¢€¢€¢‡Ü‡à‡â‡æ<ˆ†<ˆ†ˆ†<ˆ†€¢€¢€¢‡Ü‡à‡â‡æ<ˆ†<ˆ†ˆ†<ˆ†€¢€¢€¢‡Ü‡à‡â‡æ<ˆ†ˆ†ˆ†ˆ†ˆ†ˆ†HHHˆ†HH€¢€¢€¢HHH€¢€¢€¢HHH€¢€¢€¢HHH€¢€¢€¢H€¢€¢€¢€¢€¢€¢ƒƒ€¢€¢€¢PPPƒƒƒ‡Ö‡Úƒƒƒ‡Ö‡Úƒ ‡Ö‡Úˆ8ˆ8ˆ<€¢€¢ˆ@ˆ8ˆ8ˆÚ€¢€¢ˆ@ ˆ~ˆ~€¢€¢€¢ˆ~ˆ~ˆ~ˆ~ˆ~ˆ~ˆ~ˆ~ˆ~ˆ~<‰‰<‰‡Ö‡Ú‡â‡æ‡Ü‡à<‰ˆ~ˆ~     ‡Ö‡Úˆ~<ˆ~ˆ~<ˆ~     <ˆ~‰Â‰Â‰Â  ‡Ö‡Ú <ˆ†ˆ†<ˆ†‡Ö‡Ú‡â‡æ‡Ü‡à<ˆ†ˆ~ˆ~‡Ö‡Úˆ~ˆ~ˆ~‡Ö‡Úˆ~ˆ~ˆ~€¢€¢€¢ˆ~<ˆ†ˆ†<ˆ†€¢€¢€¢‡Ö‡Ú‡Ü‡à‡â‡æ<ˆ†€Àˆ"ˆ"€Àˆ"€Àˆ"€Àˆ"ˆ"€Àˆ"€Àˆ"€Àˆ"ˆ"€Àˆ"€Àˆ"€Àˆ"ˆ"€Àˆ"€Àˆ"€Àˆ"ˆ"€Àˆ"€Àˆ"€Àˆ"ˆ"€Àˆ"€Àˆ"€Àˆ"ˆ"€Àˆ"€Àˆ"€Àˆ"ˆ"€Àˆ"€Àˆ"€À‰*‰*€À‰*€À‰*€À‰*‰*€À‰*€À‰*€ÀŠ>Š>€ÀŠ>€ÀŠ>€ÀŠ>Š>€ÀŠ>€ÀŠ>€Àˆ"ˆ"€Àˆ"‰,‰0€Àˆ"€À‰*‰*€À‰*€À‰*€À‰*‰*€À‰*€À‰*€À‰*‰*€À‰*€À‰*€À‰*‰*€À‰*€À‰*€À‰*‰*€À‰*€À‰*€À‰*‰*€À‰*€À‰*€À‰*‰*€À‰*€À‰*€Àˆ"ˆ"€Àˆ"€Àˆ"€Àˆ"ˆ"€Àˆ"€Àˆ"€Àˆ"ˆ"€Àˆ"€Àˆ"€Àˆ"ˆ"€Àˆ"€Àˆ"€Àˆ"ˆ"€Àˆ"€Àˆ"€Àˆ"ˆ"€Àˆ"€Àˆ"€Àˆ"ˆ"€Àˆ"€Àˆ"€À‰2‰2€À‰2€À‰2€À‰2‰2€À‰2€À‰2€À‰2‰2€À‰2€À‰2€Àˆ"ˆ"€Àˆ"€Àˆ"€Àˆ"ˆ"€Àˆ"€Àˆ"€Àˆ"ˆ"€Àˆ"€Àˆ"€À‰*‰*€À‰*€À‰*€À‰*‰*€À‰*€À‰*€À‰*‰*€À‰*€À‰*€À‰*‰*€À‰*€À‰*€À‰*‰*€À‰*€À‰*€À‰*‰*€À‰*€À‰*€À‰*‰*€À‰*€À‰*€À‰4‰4€À‰4€À‰4€ÀŠ>Š>€ÀŠ>€ÀŠ>€Àˆ"ˆ"€Àˆ"€Àˆ"€Àˆ"ˆ"€Àˆ"€Àˆ"€Àˆ"ˆ"€Àˆ"€Àˆ"€Àˆ"ˆ"€Àˆ"€Àˆ"€Àˆ"ˆ"€Àˆ"€Àˆ"€Àˆ"ˆ"€Àˆ"€Àˆ"€Àˆ"ˆ"€Àˆ"€Àˆ"€Àˆ"ˆ"€Àˆ"€Àˆ"€Àˆ"ˆ"€Àˆ"€Àˆ"€Àˆ"ˆ"€Àˆ"€Àˆ"€Àˆ"ˆ"€Àˆ"€Àˆ"€ÀŠ¼Š¼€ÀŠ¼€ÀŠ¼€Àˆ"ˆ"€Àˆ"€Àˆ"€Àˆ"ˆ"€Àˆ"€Àˆ"€Àˆ"ˆ"€Àˆ"€Àˆ"€Àˆ"ˆ"€Àˆ"€Àˆ"€Àˆ"ˆ"€Àˆ"€Àˆ"€Àˆ"ˆ"€Àˆ"€Àˆ"€Àˆ"ˆ"€Àˆ"€Àˆ"€Àˆ"ˆ"€Àˆ"€Àˆ"€Àˆ"ˆ"€Àˆ"€Àˆ"€À‰6‰6€À‰6€À‰6€À‰6‰6€À‰6€À‰6€À‰6‰6€À‰6€À‰6€À‰6‰6€À‰6€À‰6€Àˆ"ˆ"€Àˆ"€Àˆ"€Àˆ"ˆ"€Àˆ"€Àˆ"€Àˆ"ˆ"€Àˆ"€Àˆ"€Àˆ"ˆ"€Àˆ"€Àˆ"ˆ~ˆ~ŠÐ +ŠÐ +€¢€¢€¢ŠÐ +HHHHH¢¢H €¢€¢€¢ƒ"ƒ"ƒ"€¢€¢€¢ ˆ~ˆ~€¢€¢€¢€¢€¢€¢TXˆ~€¢€¢€¢€¢€¢€¢€¢€¢€¢ˆ~ˆ~€¢€¢€¢€¢€¢€¢€¢€¢€¢ˆ~ŠÒŠÒˆ†ˆ†ˆ†   ŠÔŠÔŠÔŠÒŠÖŠÖˆ†ˆ†ˆ†   ŠÔŠÔŠÔŠÖ€¢€¢ˆ8ˆ8ˆ<€¢€¢ˆ@ˆ8ˆ8ˆB€¢€¢ˆ@ˆ8ˆ8ˆ¤€¢€¢ˆ@€¢ˆ†ˆ†ŠØŠØŠÚŠÚ‡Ð‡Ô€¢€¢€¢‰"‰"‰"‰$‰$‰$€¢€¢€¢‰"‰"‰"‰$‰$‰$‰(‰(‰(<ˆ~ˆ~<ˆ~<ˆ~‡Ü‡à<ˆ~ˆ~<ˆ~<ˆ~<ˆ~ˆ~<ˆ~<ˆ~ ˆ~ˆ~ŠÐ +ŠÐ +€¢€¢€¢ŠÐ +€¢€¢€¢€¢€¢€¢  €¢€¢€¢‰"‰"‰"‰$‰$‰$  €¢€¢€¢  €¢€¢€¢‰"‰"‰"‰$‰$‰$ ˆ~ˆ~€¢€¢€¢ˆ~  ‡Ö‡Ú ˆ~ˆ~‡Ö‡Úˆ~ˆ~ˆ~‡Ö‡Úˆ~ˆ~ˆ~€¢€¢€¢ˆ~<ˆ†ˆ†<ˆ†€¢€¢€¢‡Ö‡Ú‡Ü‡à‡â‡æ<ˆ†‡°‡°‡Ð‡Ôˆ~ˆ~ˆ~ˆ~ˆ~ˆ~ˆ~ˆ~ˆ~<‰‰<‰‡â‡æ‡Ü‡à<‰ˆ~ˆ~     ˆ~<ˆ~ˆ~<ˆ~     <ˆ~ŠÜŠÜŠÜ‰Þ‰Þ‡Ð‡ÔPPPŠÈŠÈŠÈŠÈŠÈŠÈ‡°‡°‡Ð‡Ô€¢€¢€¢€¢€¢€¢Š¤Š¤Š¤Š¤Š¤Š¤€¢€¢€¢€¢€¢€¢‡°‡°ˆˆ‡Ð‡Ô€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢‡°‡°‡Ð‡ÔŠÞŠÞ€¢€¢€¢€¢€¢€¢ŠàŠàŠàŠÞŠàŠà€¢€¢€¢€¢€¢€¢€¢€¢€¢Šà‰¾‰¾€¢€¢€¢‡Ö‡Ú‰¾HHH‡°‡°‡Ð‡Ô<<<<<<ŠfŠf‡Ð‡Ô<<<ŠjŠjŠjŠjŠjŠj¬¬¬¬¬¬ ¬¬¬¬¬¬ ¬¬¬¬¬¬ ¬¬¬¬¬¬ ¬¬¬¬¬¬ ¬¬¬¬¬¬ ¬¬¬¬¬¬ ¬¬¬¬¬¬ ¬¬¬¬¬¬ ¬¬¬¬¬¬ ¬¬¬¬¬¬ ¬¬¬¬¬¬ ¬¬¬¬¬¬ ¬¬¬¬¬¬ ¬¬¬¬¬¬ ¬¬¬¬¬¬ ¬¬¬¬¬¬ ¬¬¬¬¬¬ ¬¬¬¬¬¬ ¬¬¬¬¬¬ ¬¬¬¬¬¬ ¬¬¬¬¬¬ ŠjŠj***ŠjŠjŠj,,,ŠjŠjŠjPPPŠjŠjŠj‡Ö‡ÚŠjŠjŠj‡Ö‡ÚŠjŠjŠjŠjŠjŠjPPPŠjŠjŠj‡Ö‡ÚŠjŠjŠj‡Ö‡ÚŠjŠjŠjPPPŠjŠjŠj‡Ö‡ÚŠjŠjŠj‡Ö‡ÚŠjŠjŠj¬¬¬¬¬¬¬¬¬¬¬¬ŠjŠjŠj¬¬¬¬¬¬ŠjŠjŠj¬¬¬¬¬¬¬¬¬ŠjŠjŠj¬¬¬¬¬¬¬¬¬¬¬¬ŠjŠjŠj¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬ŠjŠjŠj€¢€¢€¢ŠjŠjŠj¬¬¬ŠjŠjŠj¬¬¬ŠjŠjŠj¬¬¬¬¬¬¬¬¬Šj‡°‡°‡Ð‡Ô<<<ŠfŠfŠfŠfŠfŠf¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬HHHHHH¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬ŠjŠjŠjŠjŠjŠjŠfŠf***ŠfŠfŠf,,,ŠfŠfŠfPPPŠfŠfŠf‡Ö‡ÚŠfŠfŠf‡Ö‡ÚŠfŠjŠjŠjŠjŠjPPPŠjŠjŠj‡Ö‡ÚŠjŠjŠj‡Ö‡ÚŠjŠjŠj¬¬¬¬¬¬¬¬¬ŠjŠjŠj¬¬¬¬¬¬¬¬¬¬¬¬ŠjŠjŠj¬¬¬¬¬¬ŠjŠjŠj¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬ŠjŠjŠj¬¬¬¬¬¬¬¬¬¬¬¬ŠjŠjŠj¬¬¬ŠjŠjŠj¬¬¬Šj***,,,ŠâŠâPPPŠâŠâŠâ‡Ö‡ÚŠâŠâŠâ‡Ö‡ÚŠâŠjŠj¬¬¬¬¬¬¬¬¬Šj‡°‡°‡Ð‡ÔŠäŠäŠäŠ¾Š¾€¢€¢€¢€¢€¢€¢Š¾ŠæŠæ‡Ð‡Ô¬¬¬¬¬¬¬¬¬¬¬¬ŠâŠâŠâŠâŠâŠâŠâŠâŠâŠâŠâŠâŠâŠâŠâHHH¬¬¬¬¬¬ ¬¬¬¬¬¬ ¬¬¬¬¬¬ ¬¬¬¬¬¬ ŠâŠâPPPŠâŠâŠâ‡Ö‡ÚŠâŠâŠâ‡Ö‡ÚŠâ‡°‡°‡Ð‡Ô¬¬¬¬¬¬¬¬¬¬¬¬ŠæŠæŠæŠæŠæŠæŠæŠæŠæŠæŠæŠæŠæŠæŠæ¬¬¬¬¬¬¬¬¬¬¬¬ŠæŠæPPPŠæŠæŠæ‡Ö‡ÚŠæŠæŠæ‡Ö‡ÚŠæŠâŠâPPPŠâŠâŠâ‡Ö‡ÚŠâŠâŠâ‡Ö‡ÚŠâ‡°‡°‡Ð‡ÔPPPPPPPPPPPPŠèŠèŠèŠèŠèŠèŠèŠèŠèŠèŠèŠèŠèŠèŠèŠâŠâŠâŠâŠâŠâŠâŠâŠâŠâŠâŠâŠèŠèPPPŠèŠèŠè‡Ö‡ÚŠèŠèŠè‡Ö‡ÚŠèŠèŠèPPPŠèŠèŠè‡Ö‡ÚŠèŠèŠè‡Ö‡ÚŠè‚z‚z¬‚z¬‡°‡°„<‚z‚z¬„<‚z¬‰ +‚z‚z¬‰ +‚z¬<‚z‚z¬<‚z¬‡ì‚z‚z¬‡ì‚z¬‡Ð‡Ô   ‚z‚z¬   ‚z¬   ‚z‚z¬‚z¬   ‚z‚z¬‚z¬‚z‚z¬‚z¬‚z‚z¬‚z¬‚z‚z¬   ‚z¬‚z‚z¬   ‚z¬‡°‡°‚z‚z¬‡Ð‡Ô€¢€¢€¢HH<H   ‚z‚z¬‚z‚z¬‚z¬‚z¬HH‚z¬¬‚z¬‚z¬H‚z‚z¬‚z‚z¬‚z¬‚z¬HH‚z¬¬‚z¬‚z¬HHH‚n¬¬‚n¬‚n¬H‚n‚n¬‚n¬‚n‚n¬‚n¬‚n‚n¬‚n¬‚n‚n¬‚n¬¬¬¬¬¬¬¬¬¬¬¬¬ŠêŠêŠêŠêŠêŠêŠêŠêŠêŠêŠêŠêŠêŠêŠê¬¬‡Ö‡Ú¬¬¬¬¬¬‡Ö‡Ú¬¬¬¬¬¬‡Ö‡Ú¬¬¬¬¬¬‡Ö‡Ú¬¬¬¬¬¬‡Ö‡Ú¬¬¬¬¬¬‡Ö‡Ú¬¬¬¬¬¬¬¬¬¬ŠêŠêPPPŠêŠêŠê‡Ö‡ÚŠêŠêŠê‡Ö‡ÚŠê‡°‡°„<€¢€¢„<€¢‰ +€¢€¢‰ +€¢‡ì€¢€¢‡ì€¢<€¢€¢<€¢‡Ð‡Ô   €¢€¢   €¢   €¢€¢€¢   €¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢   €¢€¢€¢   €¢‡°‡°‡Ð‡Ô €¢€¢€¢  €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢‡°‡°‡Ð‡Ô   €¢€¢€¢€¢€¢€¢  €¢€¢€¢ HH€¢€¢€¢H€¢€¢   €¢ €¢€¢€¢  €¢€¢€¢€¢€¢€¢ HH€¢€¢€¢HHH€¢€¢€¢HHHH„bˆ~ˆ~„bˆ~ˆ„ˆ„ˆ~ˆ~ˆ~‰(‰(‰(ˆ~ˆ~ˆ~HH<<<HHHH   ˆ~ˆ~   ˆ~   ˆ~ˆ~ˆ~   ˆ~ˆ~ˆ~ˆ~ˆ~ˆ~ƒ:ˆ~ˆ~ƒ:ˆ~ƒ:ˆ~ .ˆ~ˆ~.ˆ~.ˆ~  ˆ~ˆ~ˆ~.ˆ~ˆ~.ˆ~.ˆ~   ˆ~ˆ~ˆ~ˆ~ˆ~ˆ~ ˆ~ ˆ~  ƒJƒJƒJ  HHˆ~ˆ~ˆ~Hˆ~  HHˆ~ˆ~ˆ~Hˆ~  HHˆ~ˆ~ˆ~Hˆ~HHH      ˆ~ˆ~ˆ~      .ˆ~ˆ~.ˆ~.ˆ~           .ˆ~ˆ~.ˆ~.ˆ~    HH<<<HHHˆ~ˆ~ˆ~<<<H   ˆ~ˆ~ˆ~    .ˆ~ˆ~.ˆ~.ˆ~    .ˆ~ˆ~.ˆ~.ˆ~  ˆ~ˆ~   ˆ~ˆ~ˆ~ˆ~ˆ~ˆ~ˆ~ˆ~ˆ~ˆ~ˆ~ˆ~TXˆ~ˆ~ˆ~ˆ~ˆ~ˆ~ˆ~<ˆ†ˆ†<ˆ†<ˆ†ˆ~ˆ~ˆ~„b +„b +ˆjˆjˆj.€¢€¢.€¢.€¢ ŠzŠzŠzŠìŠìŠìŠìŠìŠìŠìŠìŠìŠìŠìŠì‰:ˆ"ˆ"‰:ˆ"‰:ˆ"‰:ˆ"ˆ"‰:ˆ"‰:ˆ"‰:ˆ"ˆ"‰:ˆ"‰:ˆ"‰:ˆ"ˆ"‰:ˆ"‰:ˆ"‰:ˆ"ˆ"‰:ˆ"‰:ˆ"‰:ˆ"ˆ"‰:ˆ"‰:ˆ"‰:ˆ"ˆ"‰:ˆ"‰:ˆ"‰:ˆ"ˆ"‰:ˆ"‰:ˆ"‰:‰*‰*‰:‰*‰:‰*‰:‰*‰*‰:‰*‰:‰*‰:Š>Š>‰:Š>‰:Š>‰:Š>Š>‰:Š>‰:Š>‰:ˆ"ˆ"‰:ˆ"‰,‰0‰:ˆ"‰:‰*‰*‰:‰*‰:‰*‰:‰*‰*‰:‰*‰:‰*‰:‰*‰*‰:‰*‰:‰*‰:‰*‰*‰:‰*‰:‰*‰:‰*‰*‰:‰*‰:‰*‰:‰*‰*‰:‰*‰:‰*‰:‰*‰*‰:‰*‰:‰*‰:ˆ"ˆ"‰:ˆ"‰:ˆ"‰:ˆ"ˆ"‰:ˆ"‰:ˆ"‰:ˆ"ˆ"‰:ˆ"‰:ˆ"‰:ˆ"ˆ"‰:ˆ"‰:ˆ"‰:ˆ"ˆ"‰:ˆ"‰:ˆ"‰:ˆ"ˆ"‰:ˆ"‰:ˆ"‰:ˆ"ˆ"‰:ˆ"‰:ˆ"‰:‰2‰2‰:‰2‰:‰2‰:‰2‰2‰:‰2‰:‰2‰:‰2‰2‰:‰2‰:‰2‰:ˆ"ˆ"‰:ˆ"‰:ˆ"‰:ˆ"ˆ"‰:ˆ"‰:ˆ"‰:ˆ"ˆ"‰:ˆ"‰:ˆ"‰:‰*‰*‰:‰*‰:‰*‰:‰*‰*‰:‰*‰:‰*‰:‰*‰*‰:‰*‰:‰*‰:‰*‰*‰:‰*‰:‰*‰:‰*‰*‰:‰*‰:‰*‰:‰*‰*‰:‰*‰:‰*‰:‰*‰*‰:‰*‰:‰*‰:‰4‰4‰:‰4‰:‰4‰:Š>Š>‰:Š>‰:Š>‰:ˆ"ˆ"‰:ˆ"‰:ˆ"‰:ˆ"ˆ"‰:ˆ"‰:ˆ"‰:ˆ"ˆ"‰:ˆ"‰:ˆ"‰:ˆ"ˆ"‰:ˆ"‰:ˆ"‰:ˆ"ˆ"‰:ˆ"‰:ˆ"‰:ˆ"ˆ"‰:ˆ"‰:ˆ"‰:ˆ"ˆ"‰:ˆ"‰:ˆ"‰:ˆ"ˆ"‰:ˆ"‰:ˆ"‰:ˆ"ˆ"‰:ˆ"‰:ˆ"‰:ˆ"ˆ"‰:ˆ"‰:ˆ"‰:ˆ"ˆ"‰:ˆ"‰:ˆ"‰:ˆ"ˆ"‰:ˆ"‰:ˆ"‰:ˆ"ˆ"‰:ˆ"‰:ˆ"‰:ˆ"ˆ"‰:ˆ"‰:ˆ"‰:ˆ"ˆ"‰:ˆ"‰:ˆ"‰:ˆ"ˆ"‰:ˆ"‰:ˆ"‰:‰6‰6‰:‰6‰:‰6‰:‰6‰6‰:‰6‰:‰6‰:‰6‰6‰:‰6‰:‰6‰:‰6‰6‰:‰6‰:‰6‰:‰6‰6‰:‰6‰:‰6‰:‰6‰6‰:‰6‰:‰6‰:ŠîŠî‰:Šîˆ8ˆ8ˆ<€¢€¢ˆ@ˆ8ˆ8ˆB€¢€¢ˆ@ˆ8ˆ8ˆ¤€¢€¢ˆ@ˆ8ˆ8ˆÚ€¢€¢ˆ@‰:Šî‰:ˆ"ˆ"‰:ˆ"‰:ˆ"‰:ˆ"ˆ"‰:ˆ"‰:ˆ"‰:ˆ"ˆ"‰:ˆ"‰:ˆ"‰:ˆ"ˆ"‰:ˆ"‰:ˆ"‰:‰4‰4‰:‰4‰:‰4ˆ~ˆ~ˆ~„b +„b +ŠÐ +ŠÐ +ˆ„ˆ„<ˆ†ˆ†<ˆ†<ˆ†<ˆ†    +   +    + +    „` +  +  + „` +  +  + „` +  ƒJƒJƒJ  + + + + + +ˆjˆjˆjŠzŠzŠz.€¢€¢.€¢.€¢ ŠìŠìŠìŠìŠìŠìŠìŠìŠìŠìŠìŠì<ˆ†ˆ†<ˆ†<ˆ†‰:ˆ"ˆ"‰:ˆ"‰:ˆ"‰:ˆ"ˆ"‰:ˆ"‰:ˆ"‰:ˆ"ˆ"‰:ˆ"‰:ˆ"‰:ˆ"ˆ"‰:ˆ"‰:ˆ"‰:ˆ"ˆ"‰:ˆ"‰:ˆ"‰:ˆ"ˆ"‰:ˆ"‰:ˆ"‰:ˆ"ˆ"‰:ˆ"‰:ˆ"‰:ˆ"ˆ"‰:ˆ"‰:ˆ"‰:‰*‰*‰:‰*‰:‰*‰:‰*‰*‰:‰*‰:‰*‰:Š>Š>‰:Š>‰:Š>‰:Š>Š>‰:Š>‰:Š>‰:ˆ"ˆ"‰:ˆ"‰,‰0‰:ˆ"‰:‰*‰*‰:‰*‰:‰*‰:‰*‰*‰:‰*‰:‰*‰:‰*‰*‰:‰*‰:‰*‰:‰*‰*‰:‰*‰:‰*‰:‰*‰*‰:‰*‰:‰*‰:‰*‰*‰:‰*‰:‰*‰:‰*‰*‰:‰*‰:‰*‰:ˆ"ˆ"‰:ˆ"‰:ˆ"‰:ˆ"ˆ"‰:ˆ"‰:ˆ"‰:ˆ"ˆ"‰:ˆ"‰:ˆ"‰:ˆ"ˆ"‰:ˆ"‰:ˆ"‰:ˆ"ˆ"‰:ˆ"‰:ˆ"‰:ˆ"ˆ"‰:ˆ"‰:ˆ"‰:ˆ"ˆ"‰:ˆ"‰:ˆ"‰:‰2‰2‰:‰2‰:‰2‰:‰2‰2‰:‰2‰:‰2‰:‰2‰2‰:‰2‰:‰2‰:ˆ"ˆ"‰:ˆ"‰:ˆ"‰:ˆ"ˆ"‰:ˆ"‰:ˆ"‰:ˆ"ˆ"‰:ˆ"‰:ˆ"‰:‰*‰*‰:‰*‰:‰*‰:‰*‰*‰:‰*‰:‰*‰:‰*‰*‰:‰*‰:‰*‰:‰*‰*‰:‰*‰:‰*‰:‰*‰*‰:‰*‰:‰*‰:‰*‰*‰:‰*‰:‰*‰:‰*‰*‰:‰*‰:‰*‰:‰4‰4‰:‰4‰:‰4‰:Š>Š>‰:Š>‰:Š>‰:ˆ"ˆ"‰:ˆ"‰:ˆ"‰:ˆ"ˆ"‰:ˆ"‰:ˆ"‰:ˆ"ˆ"‰:ˆ"‰:ˆ"‰:ˆ"ˆ"‰:ˆ"‰:ˆ"‰:ˆ"ˆ"‰:ˆ"‰:ˆ"‰:ˆ"ˆ"‰:ˆ"‰:ˆ"‰:ˆ"ˆ"‰:ˆ"‰:ˆ"‰:ˆ"ˆ"‰:ˆ"‰:ˆ"‰:ˆ"ˆ"‰:ˆ"‰:ˆ"‰:ˆ"ˆ"‰:ˆ"‰:ˆ"‰:ˆ"ˆ"‰:ˆ"‰:ˆ"‰:ˆ"ˆ"‰:ˆ"‰:ˆ"‰:ˆ"ˆ"‰:ˆ"‰:ˆ"‰:ˆ"ˆ"‰:ˆ"‰:ˆ"‰:ˆ"ˆ"‰:ˆ"‰:ˆ"‰:ˆ"ˆ"‰:ˆ"‰:ˆ"‰:‰6‰6‰:‰6‰:‰6‰:‰6‰6‰:‰6‰:‰6‰:‰6‰6‰:‰6‰:‰6‰:‰6‰6‰:‰6‰:‰6‰:‰6‰6‰:‰6‰:‰6‰:‰6‰6‰:‰6‰:‰6‰:ŠîŠî‰:Šîˆ8ˆ8ˆ<€¢€¢ˆ@ˆ8ˆ8ˆB€¢€¢ˆ@ˆ8ˆ8ˆ¤€¢€¢ˆ@ˆ8ˆ8ˆÚ€¢€¢ˆ@‰:Šî‰:ˆ"ˆ"‰:ˆ"‰:ˆ"‰:ˆ"ˆ"‰:ˆ"‰:ˆ"‰:ˆ"ˆ"‰:ˆ"‰:ˆ"‰:ˆ"ˆ"‰:ˆ"‰:ˆ"‰:‰4‰4‰:‰4‰:‰4ˆ†ˆ†Š8Š8‰‰ŠÚŠÚŠ:Š:‡Ð‡Ô€¢€¢€¢‰"‰"‰"‰$‰$‰$€¢€¢€¢€¢€¢€¢P€¢€¢€¢€¢P€¢€¢P€¢€¢P€¢€¢€¢€¢P€¢€¢P€¢€¢ €¢€¢€¢€¢€¢TX€¢€¢€¢€¢€¢€¢€¢€¢€¢TX€¢HH€¢€¢€¢TXHHH€¢€¢€¢€¢€¢€¢TXH €¢€¢€¢TX  €¢€¢€¢€¢€¢€¢TX  €¢€¢€¢€¢€¢€¢TX  €¢€¢€¢€¢€¢€¢€¢€¢€¢TX <ˆ~ˆ~<ˆ~<ˆ~<ˆ†ˆ†<ˆ†<ˆ†<ˆ~ˆ~<ˆ~<ˆ~ ˆ~ˆ~ŠÐ +ŠÐ +€¢€¢€¢ŠÐ + Šð ŠòMŠð ŠòMŠð€¢€¢€¢‡Ö‡Ú JŠòŠòJŠò€¢€¢€¢JŠò Šð ŠòMŠð ŠòMŠð€¢€¢€¢‡Ö‡Ú JŠòŠòJŠò€¢€¢€¢JŠòˆjˆjˆj.€¢€¢.€¢.€¢ P€¢€¢€¢€¢P€¢€¢P€¢€¢P€¢€¢€¢€¢P€¢€¢P€¢€¢ P€¢€¢€¢€¢P€¢€¢€¢€¢€¢P€¢€¢ŠVŠV€¢€¢€¢ŠV‚z‚z¬‚z¬‚z‚z¬‚z¬ €¢€¢€¢  €¢€¢€¢‰"‰"‰"‰$‰$‰$ HH€¢€¢€¢H   ¢¢ <‚z‚z¬<‚z¬<‚z¬ ¢¢ ‰à‰à.P€¢€¢‚P€¢.P€¢.P€¢ˆ8ˆ8ˆ<€¢€¢ˆ@‰à‰à‰à<<<‡Ö‡Ú‰à €¢€¢€¢€¢€¢€¢€¢€¢€¢ €¢€¢‡â‡æ€¢€¢€¢€¢€¢€¢€¢ ŠôŠôŠô ˆ¬‰4‰4ˆ¬‰4ˆ¬‰4Šö‰4‰4Šö‰4Šú‰4ˆ~Šþ€¢ˆ¢€¢ˆ¢Šö‰4€¢€¢ˆ¢ˆ¢ˆ¢€¢ˆ¬ŠîŠîˆ¬Šîˆ¬ŠîŠöŠîŠîŠöŠîŠúŠîˆ~‹€¢ˆ¢€¢ˆ¢ŠöŠî€¢€¢ˆ¢ˆ¢ˆ¢€¢ €¢€¢€¢€¢€¢€¢  €¢€¢€¢€¢€¢€¢‡Ö‡Ú  €¢€¢€¢€¢€¢€¢‰"‰"‰"‰$‰$‰$  €¢€¢€¢€¢€¢€¢‡Ö‡Ú ˆ~ˆ~€¢€¢€¢ˆ~ˆ~ˆ~ˆ~ €¢€¢€¢ˆ~ˆ~ˆ~‡Ö‡Ú  €¢€¢€¢ˆ†ˆ†ˆ† HH€¢€¢€¢HHH€¢€¢€¢H‹‹ˆ8ˆ8ˆ<€¢€¢ˆ@‹‹‹ˆ8ˆ8ˆ<€¢€¢ˆ@‹ŠìŠìŠìŠìŠìŠìŠìŠìŠìŠìŠìŠì‚n‚n¬‚n¬‚n‚n¬ˆ~ˆ~ˆ~‚n¬‚n‚n¬ˆ~ˆ~ˆ~ˆ~ˆ~ˆ~‚n¬‰¾‰¾‰¾ŠÊŠÊŠÊ‹‹‹‹‹‹‰&‰&€¢€¢€¢‰"‰"‰"‰$‰$‰$‰&HHHHHH<€¢<€¢€¢€¢€¢  €¢€¢€¢‰"‰"‰"‰$‰$‰$ €¢€¢€¢€¢€¢‡Ö‡Ú€¢€¢€¢€¢ ‹‹‹HHˆ~ˆ~ˆ~HHHˆ~ˆ~ˆ~H€¢€¢€¢ˆ~ˆ~ˆ~                     ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ°ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ°ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ°ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ°ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ°ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ°ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ°ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ°ˆ"ˆ¬ˆ"ˆ¬‰*‰*ˆ¬‰*ˆ¬‰*ˆ¬‰*‰*ˆ¬‰*ˆ°‰*ˆ¬‰*ˆ¬‰*‰*ˆ¬‰*ˆ¬‰*ˆ¬‰*‰*ˆ¬‰*ˆ°‰*ˆ¬‰*ˆ¬Š>Š>ˆ¬Š>ˆ¬Š>ˆ¬Š>Š>ˆ¬Š>ˆ°Š>ˆ¬Š>ˆ¬Š>Š>ˆ¬Š>ˆ¬Š>ˆ¬Š>Š>ˆ¬Š>ˆ°Š>ˆ¬Š>ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ°ˆ"ˆ¬ˆ"‰,‰0ˆ¬‰*‰*ˆ¬‰*ˆ¬‰*ˆ¬‰*‰*ˆ¬‰*ˆ°‰*ˆ¬‰*ˆ¬‰*‰*ˆ¬‰*ˆ¬‰*ˆ¬‰*‰*ˆ¬‰*ˆ°‰*ˆ¬‰*ˆ¬‰*‰*ˆ¬‰*ˆ¬‰*ˆ¬‰*‰*ˆ¬‰*ˆ°‰*ˆ¬‰*ˆ¬‰*‰*ˆ¬‰*ˆ¬‰*ˆ¬‰*‰*ˆ¬‰*ˆ°‰*ˆ¬‰*ˆ¬‰*‰*ˆ¬‰*ˆ¬‰*ˆ¬‰*‰*ˆ¬‰*ˆ°‰*ˆ¬‰*ˆ¬‰*‰*ˆ¬‰*ˆ¬‰*ˆ¬‰*‰*ˆ¬‰*ˆ°‰*ˆ¬‰*ˆ¬‰*‰*ˆ¬‰*ˆ¬‰*ˆ¬‰*‰*ˆ¬‰*ˆ°‰*ˆ¬‰*ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ°ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ°ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ°ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ°ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ°ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ°ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ°ˆ"ˆ¬ˆ"ˆ¬‰2‰2ˆ¬‰2ˆ¬‰2ˆ¬‰2‰2ˆ¬‰2ˆ°‰2ˆ¬‰2ˆ¬‰2‰2ˆ¬‰2ˆ¬‰2ˆ¬‰2‰2ˆ¬‰2ˆ°‰2ˆ¬‰2ˆ¬‰2‰2ˆ¬‰2ˆ¬‰2ˆ¬‰2‰2ˆ¬‰2ˆ°‰2ˆ¬‰2ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ°ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ°ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ°ˆ"ˆ¬ˆ"ˆ¬‰*‰*ˆ¬‰*ˆ¬‰*ˆ¬‰*‰*ˆ¬‰*ˆ°‰*ˆ¬‰*ˆ¬‰*‰*ˆ¬‰*ˆ¬‰*ˆ¬‰*‰*ˆ¬‰*ˆ°‰*ˆ¬‰*ˆ¬‰*‰*ˆ¬‰*ˆ¬‰*ˆ¬‰*‰*ˆ¬‰*ˆ°‰*ˆ¬‰*ˆ¬‰*‰*ˆ¬‰*ˆ¬‰*ˆ¬‰*‰*ˆ¬‰*ˆ°‰*ˆ¬‰*ˆ¬‰*‰*ˆ¬‰*ˆ¬‰*ˆ¬‰*‰*ˆ¬‰*ˆ°‰*ˆ¬‰*ˆ¬‰*‰*ˆ¬‰*ˆ¬‰*ˆ¬‰*‰*ˆ¬‰*ˆ°‰*ˆ¬‰*ˆ¬‰*‰*ˆ¬‰*ˆ¬‰*ˆ¬‰*‰*ˆ¬‰*ˆ°‰*ˆ¬‰*ˆ¬Š>Š>ˆ¬Š>ˆ¬Š>ˆ¬Š>Š>ˆ¬Š>ˆ°Š>ˆ¬Š>ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ°ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ°ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ°ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ°ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ°ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ°ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ°ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ°ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ°ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ°ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ°ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ°ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ°ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ°ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ°ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ°ˆ"ˆ¬ˆ"ˆ¬‰6‰6ˆ¬‰6ˆ¬‰6ˆ¬‰6‰6ˆ¬‰6ˆ°‰6ˆ¬‰6ˆ¬‰6‰6ˆ¬‰6ˆ¬‰6ˆ¬‰6‰6ˆ¬‰6ˆ°‰6ˆ¬‰6ˆ¬‰6‰6ˆ¬‰6ˆ¬‰6ˆ¬‰6‰6ˆ¬‰6ˆ°‰6ˆ¬‰6ˆ¬‰6‰6ˆ¬‰6ˆ¬‰6ˆ¬‰6‰6ˆ¬‰6ˆ°‰6ˆ¬‰6ˆ¬‰6‰6ˆ¬‰6ˆ¬‰6ˆ¬‰6‰6ˆ¬‰6ˆ°‰6ˆ¬‰6ˆ¬‰6‰6ˆ¬‰6ˆ¬‰6ˆ¬‰6‰6ˆ¬‰6ˆ°‰6ˆ¬‰6ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ°ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ°ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ°ˆ"ˆ¬ˆ"ˆ8ˆ8ˆ<€¢€¢ˆ@ˆ8ˆ8ˆÚ€¢€¢ˆ@ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ°ˆ"ˆ¬ˆ"ˆ8ˆ8ˆ<€¢€¢ˆ@ˆ8ˆ8ˆÚ€¢€¢ˆ@ˆ¬‰4‰4ˆ¬‰4ˆ¬‰4ˆ¬‰4‰4ˆ¬‰4ˆ°‰4ˆ¬‰4€¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ HHHHHH HHHHHH HHHHHH €¢€¢€¢€¢€¢€¢ HHH€¢€¢€¢€¢€¢€¢ HHHHHH ŠVŠVŠV     €¢€¢€¢€¢€¢€¢ HHHHHH    ‰Ò‰Ò‰Ò‹ +‹ +‹ +‹ ‹ ‡Ö‡Ú‹ €¢€¢€¢€¢€¢€¢         €¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢ €¢€¢‡Ö‡Ú€¢€¢€¢€¢‡Ö‡Ú €¢€¢‡Ö‡Ú€¢€¢€¢‡Ö‡Ú€¢€¢€¢‡Ö‡Ú€¢  ‡Ö‡Ú ¬¬‡Ö‡Ú¬¬¬¬‡Ö‡Ú ¬¬‡Ö‡Ú¬¬¬¬‡Ö‡Ú  ‡Ö‡Ú €¢€¢€¢€¢€¢€¢ ‹‹‹€¢€¢€¢‹‹PPP‹‹‹‡Ö‡Ú‹ˆ~ˆ~€¢€¢€¢ˆ~<‰à‰à<‰à<‰à€¢€¢€¢€¢€¢‡Ö‡Ú€¢€¢€¢€¢€¢€¢€¢€¢€¢‡Ö‡Ú€¢<€¢€¢<€¢<€¢‚z‚z¬‡Ü‡à‡â‡æ‚z¬<‚z‚z¬<‚z¬‡Ö‡Ú‡Ü‡à‡â‡æ<‚z¬<ˆ†ˆ†<ˆ†‡â‡æ‡Ü‡à<ˆ†<ˆ†ˆ†<ˆ†€¢€¢€¢‡Ü‡à‡â‡æ<ˆ†<ˆ†ˆ†<ˆ†€¢€¢€¢‡Ö‡Ú‡Ü‡à‡â‡æ<ˆ†HH€¢€¢€¢‡Ö‡ÚHHH€¢€¢€¢€¢€¢€¢‡Ö‡ÚHHH   H    €¢€¢€¢‡Ö‡Ú  €¢€¢€¢€¢€¢€¢‡Ö‡Ú   ¬¬¬  ‡Ö‡Ú  ‡Ö‡Ú  ¬¬¬‡Ö‡Ú  ¬¬¬  ‡Ö‡Ú  ‡Ö‡Ú  ¬¬¬‡Ö‡Ú  <<<‡Ö‡Ú  HHH‡Ö‡Ú  ¬¬¬  ‡Ö‡Ú  ‡Ö‡Ú  ¬¬¬‡Ö‡Ú  €¢€¢€¢€¢€¢€¢‡Ö‡Ú  €¢€¢€¢€¢€¢€¢€¢€¢€¢‡Ö‡Ú     ‡Ö‡Úˆ8ˆ8ˆ<€¢€¢ˆ@ˆ8ˆ8ˆÚ€¢€¢ˆ@  <<<  <<< ˆ~ˆ~ˆ~ˆ~ˆ~ˆ~  ‡Ö‡Ú ˆ~ˆ~‡Ö‡Úˆ~ˆ~ˆ~‡Ö‡Úˆ~ˆ~ˆ~€¢€¢€¢ˆ~<ˆ†ˆ†<ˆ†€¢€¢€¢‡Ö‡Ú‡Ü‡à‡â‡æ<ˆ†‰:ˆ"ˆ"‰:ˆ"‰:ˆ"‰:ˆ"ˆ"‰:ˆ"‰:ˆ"‰:ˆ"ˆ"‰:ˆ"‰:ˆ"‰:ˆ"ˆ"‰:ˆ"‰:ˆ"‰:ˆ"ˆ"‰:ˆ"‰:ˆ"‰:ˆ"ˆ"‰:ˆ"‰:ˆ"‰:ˆ"ˆ"‰:ˆ"‰:ˆ"‰:ˆ"ˆ"‰:ˆ"‰:ˆ"‰:‰*‰*‰:‰*‰:‰*‰:‰*‰*‰:‰*‰:‰*‰:Š>Š>‰:Š>‰:Š>‰:Š>Š>‰:Š>‰:Š>‰:ˆ"ˆ"‰:ˆ"‰,‰0‰:ˆ"‰:‰*‰*‰:‰*‰:‰*‰:‰*‰*‰:‰*‰:‰*‰:‰*‰*‰:‰*‰:‰*‰:‰*‰*‰:‰*‰:‰*‰:‰*‰*‰:‰*‰:‰*‰:‰*‰*‰:‰*‰:‰*‰:‰*‰*‰:‰*‰:‰*‰:ˆ"ˆ"‰:ˆ"‰:ˆ"‰:ˆ"ˆ"‰:ˆ"‰:ˆ"‰:ˆ"ˆ"‰:ˆ"‰:ˆ"‰:ˆ"ˆ"‰:ˆ"‰:ˆ"‰:ˆ"ˆ"‰:ˆ"‰:ˆ"‰:ˆ"ˆ"‰:ˆ"‰:ˆ"‰:ˆ"ˆ"‰:ˆ"‰:ˆ"‰:‰2‰2‰:‰2‰:‰2‰:‰2‰2‰:‰2‰:‰2‰:‰2‰2‰:‰2‰:‰2‰:ˆ"ˆ"‰:ˆ"‰:ˆ"‰:ˆ"ˆ"‰:ˆ"‰:ˆ"‰:ˆ"ˆ"‰:ˆ"‰:ˆ"‰:‰*‰*‰:‰*‰:‰*‰:‰*‰*‰:‰*‰:‰*‰:‰*‰*‰:‰*‰:‰*‰:‰*‰*‰:‰*‰:‰*‰:‰*‰*‰:‰*‰:‰*‰:‰*‰*‰:‰*‰:‰*‰:‰*‰*‰:‰*‰:‰*‰:‰4‰4‰:‰4‰:‰4‰:Š>Š>‰:Š>‰:Š>‰:ˆ"ˆ"‰:ˆ"‰:ˆ"‰:ˆ"ˆ"‰:ˆ"‰:ˆ"‰:ˆ"ˆ"‰:ˆ"‰:ˆ"‰:ˆ"ˆ"‰:ˆ"‰:ˆ"‰:ˆ"ˆ"‰:ˆ"‰:ˆ"‰:ˆ"ˆ"‰:ˆ"‰:ˆ"‰:ˆ"ˆ"‰:ˆ"‰:ˆ"‰:ˆ"ˆ"‰:ˆ"‰:ˆ"‰:ˆ"ˆ"‰:ˆ"‰:ˆ"‰:ˆ"ˆ"‰:ˆ"‰:ˆ"‰:ˆ"ˆ"‰:ˆ"‰:ˆ"‰:ˆ"ˆ"‰:ˆ"‰:ˆ"‰:ˆ"ˆ"‰:ˆ"‰:ˆ"‰:ˆ"ˆ"‰:ˆ"‰:ˆ"‰:ˆ"ˆ"‰:ˆ"‰:ˆ"‰:ˆ"ˆ"‰:ˆ"‰:ˆ"‰:‰6‰6‰:‰6‰:‰6‰:‰6‰6‰:‰6‰:‰6‰:‰6‰6‰:‰6‰:‰6‰:‰6‰6‰:‰6‰:‰6‰:‰6‰6‰:‰6‰:‰6‰:‰6‰6‰:‰6‰:‰6‰:ŠîŠî‰:Šîˆ8ˆ8ˆ<€¢€¢ˆ@ˆ8ˆ8ˆB€¢€¢ˆ@ˆ8ˆ8ˆ¤€¢€¢ˆ@ˆ8ˆ8ˆÚ€¢€¢ˆ@‰:Šî‰:ˆ"ˆ"‰:ˆ"‰:ˆ"‰:ˆ"ˆ"‰:ˆ"‰:ˆ"‰:ˆ"ˆ"‰:ˆ"‰:ˆ"‰:ˆ"ˆ"‰:ˆ"‰:ˆ"‰:‰4‰4‰:‰4‰:‰4‚€¢€¢€¢€¢€¢€¢€¢ŠôŠôŠô‹‹ŠôŠôŠôŠô‹‹ŠôŠôŠôŠô‹‹Šô‰Ø‰Øˆ8ˆ8ˆ<€¢€¢ˆ@ˆ8ˆ8ˆ¤€¢€¢ˆ@ˆ8ˆ8ˆÚ€¢€¢ˆ@ˆˆ‡Ð‡ÔHHH€¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ ˆ†ˆ†€¢€¢€¢ˆ† €¢€¢€¢ˆ†ˆ†ˆ†  <<< ‡°‡°‡Ð‡ÔŠ”Š”Š”€¢€¢€¢HHHHHH€¢€¢€¢ ‹‹‹€¢€¢€¢Šœ ŠŒŠœ ŠŒŠœŠ– ˆÆ Š– ˆÆ Š–‡Ö‡Ú JŠŒŠŒJŠŒ‹‹‹€¢€¢€¢‡Ö‡ÚJŠŒ ‹ ‹N‹ ‹N‹Š– ˆÆ Š– ˆÆ Š–‡Ö‡Ú J‹‹J‹‡Ö‡ÚJ‹ Šœ ŠŒŠœ ŠŒŠœŠ– ˆÆ Š– ˆÆ Š–‡Ö‡Ú JŠŒŠŒJŠŒ‡Ö‡ÚJŠŒ ‹‹‹€¢€¢€¢Šœ ŠŒŠœ ŠŒŠœŠ– ˆÆ Š– ˆÆ Š–‡Ö‡Ú JŠŒŠŒJŠŒ‹‹‹€¢€¢€¢‡Ö‡ÚJŠŒ ‰´ ‰´ ‰´Š– ˆÆ Š– ˆÆ Š–‡Ö‡Ú JJ‡Ö‡ÚJ€¢€¢‡Ö‡Ú€¢ ŠŒŠŒŠŒ  ˆÆˆÆˆÆ ˆ"ˆ"ˆˆ‡Ð‡Ô€¢€¢€¢PPP‹‹‹‹‹‹   <<‡Ü‡à<€¢€¢€¢   €¢€¢€¢‡°‡°‡Ð‡Ô€¢€¢€¢HHHHHHHH€¢€¢€¢€¢€¢€¢HHHHHHHH€¢€¢€¢€¢€¢€¢ ˆ~ˆ~ˆ~<ˆ¢ˆ¢<ˆ¢<ˆ¢€¢€¢€¢PPPˆ"ˆ"ˆ"ˆ"ˆ"ˆ"          HHHHHHHHHˆ¢ˆ¢ˆ¢‚‡Ö‡Ú‡Ü‡à‡â‡æHHH   HHHˆ¢ˆ¢ˆ¢‚‡Ö‡Ú‡Ü‡à‡â‡æ¬¬¬€¢€¢€¢<ˆ¢ˆ¢<ˆ¢<ˆ¢ €¢€¢€¢HHHHHH‡Ö‡Ú    ˆ¢ˆ¢‡Ð‡Ô€¢€¢€¢Hˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ°ˆ"ˆ¬ˆ"ˆ¬ŠŠˆ¬Šˆ¬Šˆ¬ŠŠˆ¬Šˆ°Šˆ¬Šˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ°ˆ"ˆ¬ˆ"‹‹€¢€¢€¢PPP‹‹‹‹‹‹‹            €¢€¢€¢HHH €Àˆ"ˆ"€Àˆ"€Àˆ"€ÀŠŠ€ÀŠ€ÀŠ€Àˆ"ˆ"€Àˆ"€Àˆ"ˆ¢ˆ¢ˆ¢ˆ¢€Àˆ"ˆ"€Àˆ"€¢€¢€¢€Àˆ"‹‹P€¢€¢ˆ~ˆ~ˆ~€Àˆ"ˆ"€Àˆ"€¢€¢€¢€Àˆ"‡°‡°‡Ð‡Ô‹‹‹ €¢€¢€¢‰žˆ"$‰žˆ"$‰žHHH  €¢€¢€¢‰žˆ"$‰žˆ"$‰žHHH  €¢€¢€¢‰žˆ"$‰žˆ"$‰žHHH‡Ö‡Ú HHˆ"ˆ"ˆ"H €¢€¢€¢‰žˆ"$‰žˆ"$‰žHHH‡Ö‡Ú ˆ"ˆ"‡Ð‡Ô€¢€¢€¢PPP‰Æ‰Æ‰Æ‰Æ‰Æ‰Æ JJJ ‰Æ‰Æ‡Ð‡Ô<<ˆžˆžˆ ˆ <€¢€¢€¢€¢€¢€¢<‹ ‹ <‹ <‹ <<‡Ü‡à‡â‡æ<‡°‡°‡Ð‡Ô  ‡°‡°‡Ð‡ÔPPP‹"‹"‹"‹"‹"‹"J<‚<J<J<ŠJŠJ‹$‹$‡Ð‡ÔPPP‹&‹&‹&€¢€¢€¢€¢€¢€¢€¢€¢‡Ö‡Ú€¢€¢€¢€¢‰Æ‰Æ‡Ð‡Ô€¢€¢€¢PPP‹(‹(‹(€¢€¢€¢HHHJJJ‰ú‰ú‰ú JJJ ‰Ø‰Øˆˆ‡Ð‡ÔHHHHHH <ˆ†ˆ†<ˆ†‡â‡æ‡Ü‡à<ˆ†ŠŠŠ€¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ŠŠŠHHHHHHHHH €¢€¢€¢ ŠŠ‡Ð‡Ô<<<<<<<€¢€¢€¢PPPŠˆŠˆŠˆŠˆŠˆŠˆ   ‚²‚²‚²‚‡Ö‡Ú‡Ü‡à€¢€¢€¢€¢€¢‡Ö‡Úˆ8ˆ8ˆ<€¢€¢ˆ@ˆ8ˆ8ˆÚ€¢€¢ˆ@€¢ ŠˆŠˆŠˆ ŠŒŠŒ‡Ð‡Ô ‹* ‹,O‹* ‹,O‹*Š– ˆÆ Š– ˆÆ Š–‡Ö‡Ú J‹,‹,J‹,‡Ö‡ÚJ‹, ‹. ŠˆP‹. ŠˆP‹.Š– ˆÆ Š– ˆÆ Š–‡Ö‡Ú JŠˆŠˆJŠˆ‡Ö‡ÚJŠˆ‡°‡°„<ŠˆŠˆ„<Šˆ‰ +ŠˆŠˆ‰ +Šˆ<ŠˆŠˆ<Šˆ‡ìŠˆŠˆ‡ìŠˆ‡Ð‡Ô   ŠˆŠˆ   Šˆ   ŠˆŠˆŠˆ   ŠˆŠˆŠˆŠˆŠˆŠˆŠˆŠˆŠˆŠˆŠˆ   ŠˆŠˆŠˆ   Šˆˆ¢ˆ¢‡Ð‡Ô<<<ˆ¬‰ê‰êˆ¬‰êˆ¬‰êˆ¬‰ê‰êˆ¬‰êˆ°‰êˆ¬‰êˆ¬‰ê‰êˆ¬‰êˆ¬‰êˆ¬‰ê‰êˆ¬‰êˆ°‰êˆ¬‰êˆ¬‰ê‰êˆ¬‰êˆ¬‰êˆ¬‰ê‰êˆ¬‰êˆ°‰êˆ¬‰êˆ¬‰ê‰êˆ¬‰êˆ¬‰êˆ¬‰ê‰êˆ¬‰êˆ°‰êˆ¬‰êˆ¬‰ê‰êˆ¬‰êˆ¬‰êˆ¬‰ê‰êˆ¬‰êˆ°‰êˆ¬‰êˆ¬‰ê‰êˆ¬‰êˆ¬‰êˆ¬‰ê‰êˆ¬‰êˆ°‰êˆ¬‰ê‹0‹0‹0          ˆÆˆÆˆÆ     ŠŠŠ  ŠŠŠ‡Ö‡Ú  ŠŠŠ€¢€¢€¢ €À‰ê‰ê€À‰ê€À‰ê€À‰ê‰ê€À‰ê€À‰ê€À‰ê‰ê€À‰ê€À‰ê€À‰ê‰ê€À‰ê€À‰ê€À‰ê‰ê€À‰ê€À‰ê€À‰ê‰ê€À‰ê€À‰ê‡°‡°ˆ8ˆ8ˆ<€¢€¢ˆ@‡Ð‡ÔHHH€¢€¢€¢‹‹‹ Š”Š”Š” ˆ¢ˆ¢‡Ð‡Ôˆ¬‰ê‰êˆ¬‰êˆ¬‰êˆ¬‰ê‰êˆ¬‰êˆ°‰êˆ¬‰êˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ°ˆ"ˆ¬ˆ"ˆ¬‰ê‰êˆ¬‰êˆ¬‰êˆ¬‰ê‰êˆ¬‰êˆ°‰êˆ¬‰êˆ¬‰ê‰êˆ¬‰êˆ¬‰êˆ¬‰ê‰êˆ¬‰êˆ°‰êˆ¬‰êˆ¬‰ê‰êˆ¬‰êˆ¬‰êˆ¬‰ê‰êˆ¬‰êˆ°‰êˆ¬‰êˆ¬‰ê‰êˆ¬‰êˆ¬‰êˆ¬‰ê‰êˆ¬‰êˆ°‰êˆ¬‰ê          ˆÆˆÆˆÆ               ŠŠŠ €À‰ê‰ê€À‰ê€À‰ê€Àˆ"ˆ"€Àˆ"€Àˆ"€À‰ê‰ê€À‰ê€À‰ê€À‰ê‰ê€À‰ê€À‰ê€À‰ê‰ê€À‰ê€À‰ê€À‰ê‰ê€À‰ê€À‰ê ‹,‹,‹, ŠFŠF‡Ð‡Ô€¢€¢€¢PPP‹2‹2‹2‹2‹2‹2ˆ¢ˆ¢ˆ¢‚‡Ö‡Ú‡Ü‡à‡°‡°‡Ð‡Ô€¢€¢€¢<<<PPP‰À‰À‰À‰À‰À‰À€¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ J‰À‰ÀJ‰ÀJ‰À€¢€¢€¢€¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ J‰À‰ÀJ‰ÀJ‰Àˆ¢ˆ¢‡Ð‡Ôˆ¬‹4‹4ˆ¬‹4ˆ¬‹4ˆ¬‹4‹4ˆ¬‹4ˆ°‹4ˆ¬‹4ˆ¬‹4‹4ˆ¬‹4ˆ¬‹4ˆ¬‹4‹4ˆ¬‹4ˆ°‹4ˆ¬‹4ˆ¬‹4‹4ˆ¬‹4ˆ¬‹4ˆ¬‹4‹4ˆ¬‹4ˆ°‹4ˆ¬‹4€¢€¢€¢‰Â‰Â‰À‰À‰À‰ÂHH€¢€¢€¢€¢€¢€¢H HH‰À‰À‰ÀH ‹6 ‰ÀQ‰ÀR‰ÂS‹6 ‰ÀQ‰ÀR‰ÂS‹6<<< HH‰À‰À‰ÀH€À‹4‹4€À‹4€À‹4€À‹4‹4€À‹4€À‹4€À‹4‹4€À‹4€À‹4ˆ"ˆ"‡Ð‡Ô€¢€¢€¢PPP‹4‹4‹4‹4‹4‹4<‰À‰À<‰À<‰À‡°‡°‡Ð‡Ô‰Â‰Â‰Â‰Æ‰Æ‡Ð‡Ô€¢€¢€¢PPP‹8‹8‹8€¢€¢€¢‰ú‰ú‰ú JJJ ‡°‡°ˆ8ˆ8ˆ<€¢€¢ˆ@ˆ8ˆ8ˆB€¢€¢ˆ@ˆ8ˆ8ˆ¤€¢€¢ˆ@ˆ8ˆ8ˆÚ€¢€¢ˆ@‡Ð‡ÔŠŠŠŠŠŠŠŠŠHHH €¢€¢€¢€¢€¢€¢  €¢€¢€¢ŠŠŠ€¢€¢€¢‡Ö‡Ú  €¢€¢€¢ <<€¢€¢€¢<<<<<<€¢€¢€¢<<HH€¢€¢€¢H €¢€¢€¢€¢€¢€¢ ‰Ø‰Ø‡Ð‡Ô€¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢   €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ HHHHHH €¢€¢€¢€¢€¢€¢ <<€¢€¢€¢<HHHˆ~ˆ~   ˆ~HHH PPP  ‡Ö‡Ú    ¬¬¬  €¢€¢€¢ ‡°‡°‡Ð‡Ô<¬¬<¬<¬<‹:‹:<‹:‡Ü‡à‡â‡æ<‹:HHH   €¢€¢€¢€¢€¢€¢   €¢€¢€¢‹<‹<‹<   ‡°‡°‡Ð‡ÔHHHHHH¬¬¬ˆ"ˆ"‡Ð‡Ô€¢€¢€¢PPP‹>‹>‹>‹>‹>‹>‹@‹@‹@‡°‡°‡Ð‡Ô******HHHHHH************‡°‡°ˆˆ‡Ð‡ÔJ‹B‹BJ‹BHHH‚¸‚¸‚¸‚¸‚¸‚¸J‹B€À‹B‹B€À‹BHHH‚¸‚¸‚¸‚¸‚¸‚¸€À‹B‹B‹B‹B   ‡Ö‡Ú  ‹D ‹BT‹D ‹BT‹D‹F ‹H ‹F ‹H ‹FPPP  ‹F ‹H ‹F ‹H ‹F‡Ö‡Ú  ‹F ‹H ‹F ‹H ‹F‡Ö‡Ú  ‡Ö‡Ú  ‹D ‹BT‹D ‹BT‹D‹F ‹H ‹F ‹H ‹FPPP  ‹F ‹H ‹F ‹H ‹F‡Ö‡Ú  ‹F ‹H ‹F ‹H ‹F‡Ö‡Ú  ‡Ö‡Ú ‹B‹B‹J‹J‹J   ‡°‡°‡Ð‡Ô‹J‹J‹J   ˆ¢ˆ¢ €¢€¢€¢‚ˆ"ˆ"ˆ"ˆ"$HHH HHˆ"ˆ"ˆ"H €¢€¢€¢‚ˆ"ˆ"ˆ"ˆ"$HHH ‹‹‹ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ°ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ°ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ°ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ°ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ°ˆ"ˆ¬ˆ"ˆ¬‰*‰*ˆ¬‰*ˆ¬‰*ˆ¬‰*‰*ˆ¬‰*ˆ°‰*ˆ¬‰*ˆ¬‰*‰*ˆ¬‰*ˆ¬‰*ˆ¬‰*‰*ˆ¬‰*ˆ°‰*ˆ¬‰*ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ°ˆ"ˆ¬ˆ"‰,‰0ˆ¬‰*‰*ˆ¬‰*ˆ¬‰*ˆ¬‰*‰*ˆ¬‰*ˆ°‰*ˆ¬‰*ˆ¬‰*‰*ˆ¬‰*ˆ¬‰*ˆ¬‰*‰*ˆ¬‰*ˆ°‰*ˆ¬‰*ˆ¬‰*‰*ˆ¬‰*ˆ¬‰*ˆ¬‰*‰*ˆ¬‰*ˆ°‰*ˆ¬‰*ˆ¬‰*‰*ˆ¬‰*ˆ¬‰*ˆ¬‰*‰*ˆ¬‰*ˆ°‰*ˆ¬‰*ˆ¬‰*‰*ˆ¬‰*ˆ¬‰*ˆ¬‰*‰*ˆ¬‰*ˆ°‰*ˆ¬‰*ˆ¬‰*‰*ˆ¬‰*ˆ¬‰*ˆ¬‰*‰*ˆ¬‰*ˆ°‰*ˆ¬‰*ˆ¬‰*‰*ˆ¬‰*ˆ¬‰*ˆ¬‰*‰*ˆ¬‰*ˆ°‰*ˆ¬‰*ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ°ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ°ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ°ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ°ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ°ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ°ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ°ˆ"ˆ¬ˆ"ˆ¬‰2‰2ˆ¬‰2ˆ¬‰2ˆ¬‰2‰2ˆ¬‰2ˆ°‰2ˆ¬‰2ˆ¬‰2‰2ˆ¬‰2ˆ¬‰2ˆ¬‰2‰2ˆ¬‰2ˆ°‰2ˆ¬‰2ˆ¬‰2‰2ˆ¬‰2ˆ¬‰2ˆ¬‰2‰2ˆ¬‰2ˆ°‰2ˆ¬‰2ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ°ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ°ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ°ˆ"ˆ¬ˆ"ˆ¬‰*‰*ˆ¬‰*ˆ¬‰*ˆ¬‰*‰*ˆ¬‰*ˆ°‰*ˆ¬‰*ˆ¬‰*‰*ˆ¬‰*ˆ¬‰*ˆ¬‰*‰*ˆ¬‰*ˆ°‰*ˆ¬‰*ˆ¬‰*‰*ˆ¬‰*ˆ¬‰*ˆ¬‰*‰*ˆ¬‰*ˆ°‰*ˆ¬‰*ˆ¬‰*‰*ˆ¬‰*ˆ¬‰*ˆ¬‰*‰*ˆ¬‰*ˆ°‰*ˆ¬‰*ˆ¬‰*‰*ˆ¬‰*ˆ¬‰*ˆ¬‰*‰*ˆ¬‰*ˆ°‰*ˆ¬‰*ˆ¬‰*‰*ˆ¬‰*ˆ¬‰*ˆ¬‰*‰*ˆ¬‰*ˆ°‰*ˆ¬‰*ˆ¬‰*‰*ˆ¬‰*ˆ¬‰*ˆ¬‰*‰*ˆ¬‰*ˆ°‰*ˆ¬‰*ˆ¬‰4‰4ˆ¬‰4ˆ¬‰4ˆ¬‰4‰4ˆ¬‰4ˆ°‰4ˆ¬‰4ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ°ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ°ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ°ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ°ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ°ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ°ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ°ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ°ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ°ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ°ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ°ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ°ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ°ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ°ˆ"ˆ¬ˆ"ˆ¬‰6‰6ˆ¬‰6ˆ¬‰6ˆ¬‰6‰6ˆ¬‰6ˆ°‰6ˆ¬‰6ˆ¬‰6‰6ˆ¬‰6ˆ¬‰6ˆ¬‰6‰6ˆ¬‰6ˆ°‰6ˆ¬‰6ˆ¬‰6‰6ˆ¬‰6ˆ¬‰6ˆ¬‰6‰6ˆ¬‰6ˆ°‰6ˆ¬‰6ˆ¬‰6‰6ˆ¬‰6ˆ¬‰6ˆ¬‰6‰6ˆ¬‰6ˆ°‰6ˆ¬‰6ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ°ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ°ˆ"ˆ¬ˆ"ˆ¬‰4‰4ˆ¬‰4ˆ¬‰4ˆ¬‰4‰4ˆ¬‰4ˆ°‰4ˆ¬‰4€Àˆ"ˆ"€Àˆ"€Àˆ"€Àˆ"ˆ"€Àˆ"€Àˆ"€Àˆ"ˆ"€Àˆ"€Àˆ"€Àˆ"ˆ"€Àˆ"€Àˆ"€Àˆ"ˆ"€Àˆ"€Àˆ"€À‰*‰*€À‰*€À‰*€À‰*‰*€À‰*€À‰*€Àˆ"ˆ"€Àˆ"‰,‰0€Àˆ"€À‰*‰*€À‰*€À‰*€À‰*‰*€À‰*€À‰*€À‰*‰*€À‰*€À‰*€À‰*‰*€À‰*€À‰*€À‰*‰*€À‰*€À‰*€À‰*‰*€À‰*€À‰*€À‰*‰*€À‰*€À‰*€Àˆ"ˆ"€Àˆ"€Àˆ"€Àˆ"ˆ"€Àˆ"€Àˆ"€Àˆ"ˆ"€Àˆ"€Àˆ"€Àˆ"ˆ"€Àˆ"€Àˆ"€Àˆ"ˆ"€Àˆ"€Àˆ"€Àˆ"ˆ"€Àˆ"€Àˆ"€Àˆ"ˆ"€Àˆ"€Àˆ"€À‰2‰2€À‰2€À‰2€À‰2‰2€À‰2€À‰2€À‰2‰2€À‰2€À‰2€Àˆ"ˆ"€Àˆ"€Àˆ"€Àˆ"ˆ"€Àˆ"€Àˆ"€Àˆ"ˆ"€Àˆ"€Àˆ"€À‰*‰*€À‰*€À‰*€À‰*‰*€À‰*€À‰*€À‰*‰*€À‰*€À‰*€À‰*‰*€À‰*€À‰*€À‰*‰*€À‰*€À‰*€À‰*‰*€À‰*€À‰*€À‰*‰*€À‰*€À‰*€À‰4‰4€À‰4€À‰4€Àˆ"ˆ"€Àˆ"€Àˆ"€Àˆ"ˆ"€Àˆ"€Àˆ"€Àˆ"ˆ"€Àˆ"€Àˆ"€Àˆ"ˆ"€Àˆ"€Àˆ"€Àˆ"ˆ"€Àˆ"€Àˆ"€Àˆ"ˆ"€Àˆ"€Àˆ"€Àˆ"ˆ"€Àˆ"€Àˆ"€Àˆ"ˆ"€Àˆ"€Àˆ"€Àˆ"ˆ"€Àˆ"€Àˆ"€Àˆ"ˆ"€Àˆ"€Àˆ"€Àˆ"ˆ"€Àˆ"€Àˆ"€Àˆ"ˆ"€Àˆ"€Àˆ"€Àˆ"ˆ"€Àˆ"€Àˆ"€Àˆ"ˆ"€Àˆ"€Àˆ"€À‰6‰6€À‰6€À‰6€À‰6‰6€À‰6€À‰6€À‰6‰6€À‰6€À‰6€À‰6‰6€À‰6€À‰6€Àˆ"ˆ"€Àˆ"€Àˆ"€Àˆ"ˆ"€Àˆ"€Àˆ"€À‰4‰4€À‰4€À‰4‰Î‰Î‡Ð‡ÔPPP‹L‹L‹L‹L‹L‹L¬¬¬¬¬¬¬¬¬‰Ø‰Ø‡Ð‡Ô€¢€¢€¢€¢€¢€¢ ˆ"ˆ"ˆ8ˆ8ˆ<€¢€¢ˆ@ˆ8ˆ8ˆB€¢€¢ˆ@ˆ8ˆ8ˆÚ€¢€¢ˆ@ˆˆ‡Ð‡Ô€¢€¢€¢HHHHHHHH€¢€¢€¢€¢€¢€¢€¢€¢€¢PPP‹N‹N‹N‹N‹N‹NHHH€¢€¢‡Ö‡Ú€¢€¢€¢‡Ö‡Ú€¢‰Ø‰Ø‡Ð‡Ô‡°‡°‡Ð‡Ô<<<‹P‹P‹P‹P‹P‹P‰Ø‰Ø‡Ð‡Ô‡°‡°‹R‹R‡Ð‡ÔHHH   €¢€¢€¢€¢€¢€¢ ‚‚‡Ö‡Úˆžˆžˆ ˆ       €¢€¢€¢€¢€¢€¢ˆ8ˆ8ˆ<€¢€¢ˆ@ˆ8ˆ8ˆB€¢€¢ˆ@ˆ8ˆ8ˆ¤€¢€¢ˆ@ˆ8ˆ8ˆÚ€¢€¢ˆ@  ‡Ö‡Úˆ8ˆ8ˆ<€¢€¢ˆ@ˆ8ˆ8ˆB€¢€¢ˆ@ˆ8ˆ8ˆ¤€¢€¢ˆ@ˆ8ˆ8ˆÚ€¢€¢ˆ@  €¢€¢€¢€¢€¢€¢ˆ8ˆ8ˆ<€¢€¢ˆ@ˆ8ˆ8ˆB€¢€¢ˆ@ˆ8ˆ8ˆ¤€¢€¢ˆ@ˆ8ˆ8ˆÚ€¢€¢ˆ@  ‡Ö‡Úˆ8ˆ8ˆ<€¢€¢ˆ@ˆ8ˆ8ˆB€¢€¢ˆ@ˆ8ˆ8ˆ¤€¢€¢ˆ@ˆ8ˆ8ˆÚ€¢€¢ˆ@ ‡°‡°„<ˆ†ˆ†„<ˆ†‰ +ˆ†ˆ†‰ +ˆ†‡ìˆ†ˆ†‡ìˆ†<ˆ†ˆ†<ˆ†‡Ð‡Ô   ˆ†ˆ†   ˆ†   ˆ†ˆ†ˆ†   ˆ†ˆ†ˆ†ˆ†ˆ†ˆ†ˆ†ˆ†ˆ†ˆ†ˆ†   ˆ†ˆ†ˆ†   ˆ†<<€¢€¢€¢<Š¾Š¾‡Ð‡Ô‹T‹T‹T‹T‹T‹T ŠÊŠÊ     ˆˆŠÊˆ~ˆ~     ˆ~ŠÄŠÄŠÄ€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢ <‰‰<‰<‰€¢€¢€¢€¢€¢€¢  ˆ8ˆ8ˆ<€¢€¢ˆ@ˆ8ˆ8ˆÚ€¢€¢ˆ@ ƒƒ€¢€¢€¢PPPƒ €¢€¢€¢ƒ"ƒ"ƒ"€¢€¢€¢¢¢ ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ¬ˆ"Šöˆ"ˆ"Šöˆ"Šúˆ"‹X€¢ˆ¢Šöˆ"ˆ8ˆ8ˆ<€¢€¢ˆ@ˆ8ˆ8ˆB€¢€¢ˆ@ˆ8ˆ8ˆ¤€¢€¢ˆ@€¢€¢ˆ¢ˆ¢ˆ¢€¢€Àˆ"ˆ"€Àˆ"ˆ8ˆ8ˆ<€¢€¢ˆ@ˆ8ˆ8ˆB€¢€¢ˆ@ˆ8ˆ8ˆ¤€¢€¢ˆ@€Àˆ"‹Z‹Zƒ"ƒ"ƒ"€¢€¢€¢‹Z‰(‰(‡Ð‡Ô<<€¢€¢€¢<‰Ø‰Ø‡Ð‡Ô‡°‡°‡Ð‡Ô€¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ ‰(‰(‡Ð‡Ôˆ~ˆ~   ‡Ö‡Úˆ~‹\‹\‡Ð‡ÔJ€¢€¢J€¢€¢€¢€¢HHH ‰ê‰ê‰ê ‰êJ€¢J‹^‹^J‹^€¢€¢€¢P€¢€¢€¢€¢P€¢€¢P€¢€¢HHH€¢€¢€¢P€¢€¢€¢€¢P€¢€¢P€¢€¢ ‰ê‰ê‰ê ‰êJ‹^J‹^‹^J‹^€¢€¢€¢€¢€¢€¢HHH€¢€¢€¢€¢€¢€¢P€¢€¢€¢€¢P€¢€¢P€¢€¢ ‰ê‰ê‰ê ‰êJ‹^HHHHHHHHHHHHJ€¢€¢J€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢J€¢P€¢€¢€¢€¢P€¢€¢P€¢€¢ €¢€¢€¢€¢€¢€¢HHH€¢€¢€¢€¢€¢€¢ ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ°ˆ"ˆ¬ˆ"‹^‹^‹^                  ‚ˆ8ˆ8ˆ<€¢€¢ˆ@ˆ8ˆ8ˆB€¢€¢ˆ@ˆ8ˆ8ˆ¤€¢€¢ˆ@ˆ8ˆ8ˆÚ€¢€¢ˆ@‚‡Ö‡Úˆ8ˆ8ˆ<€¢€¢ˆ@ˆ8ˆ8ˆB€¢€¢ˆ@ˆ8ˆ8ˆ¤€¢€¢ˆ@ˆ8ˆ8ˆÚ€¢€¢ˆ@‡Ü‡à€¢€¢€¢€¢€¢€¢€¢€¢€¢ €¢€¢‡Ö‡Ú€¢Š¾Š¾‡Ö‡ÚŠ¾   €¢€¢€¢     ‹`‹`ˆˆ‹`HHHHHH  €¢€¢ˆˆ€¢€¢€¢€¢€¢€¢ˆˆ€¢ €¢€¢€¢ˆ8ˆ8ˆ<€¢€¢ˆ@ˆ8ˆ8ˆB€¢€¢ˆ@ˆ8ˆ8ˆÚ€¢€¢ˆ@    €¢€¢€¢€¢€¢€¢ €Àˆ"ˆ"€Àˆ"€Àˆ"ˆ¢ˆ¢‡Ð‡Ôˆ¬‰ê‰êˆ¬‰êˆ¬‰êˆ¬‰ê‰êˆ¬‰êˆ°‰êˆ¬‰êˆ¬‰ê‰êˆ¬‰êˆ¬‰êˆ¬‰ê‰êˆ¬‰êˆ°‰êˆ¬‰êˆ¬‰ê‰êˆ¬‰êˆ¬‰êˆ¬‰ê‰êˆ¬‰êˆ°‰êˆ¬‰êˆ¬‰ê‰êˆ¬‰êˆ¬‰êˆ¬‰ê‰êˆ¬‰êˆ°‰êˆ¬‰êˆ¬‰ê‰êˆ¬‰êˆ¬‰êˆ¬‰ê‰êˆ¬‰êˆ°‰êˆ¬‰êˆ¬‰ê‰êˆ¬‰êˆ¬‰êˆ¬‰ê‰êˆ¬‰êˆ°‰êˆ¬‰êˆ¬‰ê‰êˆ¬‰êˆ¬‰êˆ¬‰ê‰êˆ¬‰êˆ°‰êˆ¬‰ê€À‰ê‰ê€À‰ê€À‰ê€À‰ê‰ê€À‰ê€À‰ê€À‰ê‰ê€À‰ê€À‰ê€À‰ê‰ê€À‰êˆ8ˆ8ˆ<€¢€¢ˆ@ˆ8ˆ8ˆB€¢€¢ˆ@ˆ8ˆ8ˆ¤€¢€¢ˆ@ˆ8ˆ8ˆÚ€¢€¢ˆ@€À‰ê€À‰ê‰ê€À‰ê€À‰ê€À‰ê‰ê€À‰êˆ8ˆ8ˆ<€¢€¢ˆ@ˆ8ˆ8ˆB€¢€¢ˆ@ˆ8ˆ8ˆ¤€¢€¢ˆ@ˆ8ˆ8ˆÚ€¢€¢ˆ@€À‰ê€À‰ê‰ê€À‰ê€À‰ê‹\‹\‡Ð‡Ô‰Ø‰Ø‡Ð‡Ô€¢€¢€¢€¢€¢€¢ HHHHHH HHHHHH ŠÂŠÂŠÂ‚‡Ö‡Ú‡Ü‡à‡â‡æ€¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ ‹b‹b‹b€¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ ‡°‡°‡Ð‡ÔHHHBBB ‹d‹d‹d ‡°‡°‡Ð‡Ô      ‡°‡°‡Ð‡Ôˆˆˆ ˆXˆXˆX ‡°‡°‡Ð‡ÔŠ"Š"Š"‹f‹f‹fŠ"Š"Š"J‹h‹hJ‹hJ‹hJP€¢€¢‚P€¢JP€¢JP€¢JˆXˆXJˆXJˆXJJPPPJJŠŠJŠPPPJŠ‡°‡°‡Ð‡Ô     ˆlˆlˆlˆlˆlˆlˆlˆlˆl‡Ü‡à‡â‡æ     ‰Ø‰ØŠ$Š$‡Ð‡Ô€¢€¢€¢     €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ HHH€¢€¢€¢€¢€¢€¢ €¢€¢€¢     HHHHHH     €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢     JJJ‡°‡°‡Ð‡ÔPPP‹j‹j‹j‹j‹j‹jHHH‰Ø‰Ø‹l‹l‹n‹n‹p‹p‹r‹r‹t‹t‹v‹v‹x‹x‹z‹z‹|‹|‹~‹~‹€‹€‹‚‹‚‹„‹„‹†‹†‹ˆ‹ˆ‹Š‹Š‹Œ‹Œ‹Ž‹Ž‹‹‹’‹’‹”‹”‡Ð‡Ô€¢€¢€¢€¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ HHHHHH €¢€¢€¢€¢€¢€¢ HHHHHH HHHHHH €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ HHHHHH <ŠˆŠˆ<Šˆ‡â‡æ‡Ü‡à<Šˆ<ŠˆŠˆ<Šˆ<Šˆ ŠŠŠ€¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ HHHHHH €¢€¢€¢€¢€¢€¢     HHHHHH HHHHHH <ˆ†ˆ†<ˆ†‡â‡æ‡Ü‡à<ˆ†‰Ø‰Ø‰Ø€¢€¢€¢€¢€¢€¢     €¢€¢€¢€¢€¢€¢     HHHHHH €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ HHHHHH HHHHHH €¢€¢€¢€¢€¢€¢             €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢ŠŠŠ€¢€¢€¢€¢€¢€¢ ‚²‚²‚²‚‡Ö‡Ú‡Ü‡à‚²‚²‚²  ¬¬¬¬¬¬ <ŠŒŠŒ<ŠŒ‡Ö‡Úˆ8ˆ8ˆ<€¢€¢ˆ@ˆ8ˆ8ˆÚ€¢€¢ˆ@<ŠŒHH‡Ö‡Úˆ8ˆ8ˆ<€¢€¢ˆ@ˆ8ˆ8ˆÚ€¢€¢ˆ@HHHH‡Ö‡Ú     HHHHHHHHH  €¢€¢€¢  €¢€¢€¢     €¢€¢€¢      €¢€¢€¢       ˆ~ˆ~HHHHHH HHHHHH HHHHHH HHHHHH €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ <ˆ†ˆ†<ˆ†<ˆ†€¢€¢€¢ŠŠŠHHHHHH €¢€¢€¢ ‹–‹–‹–‹–€¢€¢€¢€¢€¢€¢     €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ HHHHHH HHHHHH      €¢€¢€¢€¢€¢€¢              €¢€¢€¢ ‹˜‹˜ˆ8ˆ8ˆ<€¢€¢ˆ@ˆ8ˆ8ˆB€¢€¢ˆ@ˆ8ˆ8ˆ¤€¢€¢ˆ@ˆ8ˆ8ˆÚ€¢€¢ˆ@€¢€¢€¢€¢€¢€¢ ˆ~ˆ~ˆ~HHH‹˜‹˜€¢€¢€¢€¢€¢€¢ ˆ~ˆ~ˆ~‹˜‹˜ˆ8ˆ8ˆ<€¢€¢ˆ@ˆ8ˆ8ˆB€¢€¢ˆ@ˆ8ˆ8ˆ¤€¢€¢ˆ@ˆ8ˆ8ˆÚ€¢€¢ˆ@ˆ~ˆ~ˆ~HHH‹˜‹˜ˆ8ˆ8ˆ<€¢€¢ˆ@ˆ8ˆ8ˆB€¢€¢ˆ@ˆ8ˆ8ˆ¤€¢€¢ˆ@ˆ8ˆ8ˆÚ€¢€¢ˆ@ˆ~ˆ~ˆ~HHH‹˜‹˜ˆ8ˆ8ˆ<€¢€¢ˆ@ˆ8ˆ8ˆB€¢€¢ˆ@ˆ8ˆ8ˆ¤€¢€¢ˆ@ˆ8ˆ8ˆÚ€¢€¢ˆ@€¢€¢€¢€¢€¢€¢ HHHHHH ˆ~ˆ~ˆ~     HHHHHH €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ HHHHHH HHHHHH     HHH‹˜‹˜‹–‹–ˆ~ˆ~ˆ~€¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ ¬¬¬¬¬¬       ‹š‹šˆ8ˆ8ˆ<€¢€¢ˆ@‚²‚²‚²‚²‚²‚² HHHHHH HHHHHH HHH‹š‹šˆ8ˆ8ˆ<€¢€¢ˆ@‚²‚²‚²‚²‚²‚² HHHHHH HHHHHH HHH‹š‹šˆ8ˆ8ˆ<€¢€¢ˆ@‚²‚²‚²‚²‚²‚² HHHHHH HHHHHH HHH‹š‹šˆ8ˆ8ˆ<€¢€¢ˆ@‚²‚²‚²‚²‚²‚² HHHHHH HHHHHH HHH‹š‹šˆ8ˆ8ˆ<€¢€¢ˆ@HHHHHH HHHHHH HHH‹š‹šˆ8ˆ8ˆ<€¢€¢ˆ@ˆ8ˆ8ˆ¤€¢€¢ˆ@ˆ8ˆ8ˆÚ€¢€¢ˆ@€¢€¢€¢€¢€¢€¢ HHHHHH HHHHHH HHH‹š‹šˆ8ˆ8ˆ<€¢€¢ˆ@ˆ8ˆ8ˆ¤€¢€¢ˆ@HHH‹–‹–HHHHHH HHHHHH ‹–‹–HHHHHH HHHHHH ‹–‹–€¢€¢€¢€¢€¢€¢ HHHHHH HHHHHH <ŠˆŠˆ<Šˆ<Šˆ‹–‹–€¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ HHHHHH €¢€¢€¢€¢€¢€¢ ‹–‹–€¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ HHHHHH €¢€¢€¢€¢€¢€¢     €¢€¢€¢€¢€¢€¢     ‹–‹–‹–‹–‰Æ‰Æ‡Ð‡Ô€¢€¢€¢PPP‹œ‹œ‹œ‹œ‹œ‹œ PPP  ‡Ö‡Ú ‡°‡°‡Ð‡Ô‹ž <L‹ U‹ž <L‹ U‹žPPP‹ ‹ ‹ ‹ ‹ ‹ ˆ~ˆ~ˆ~€¢€¢€¢<¬¬<¬<¬  ˆ~ˆ~ˆ~ <‹¢‹¢<‹¢<‹¢ ˆ~ˆ~ˆ~  <<<‹ ‹ ‹  ‡°‡°‡Ð‡ÔŠêŠêŠê¬¬¬ŠêŠêŠêHHHŠêŠêŠêˆ~ˆ~ˆ~¬¬¬Š¨Š¨‡Ð‡Ô   €¢€¢€¢€¢€¢€¢ŠFŠF‡Ð‡Ô€¢€¢€¢‰¼‰¼‰¼HHHHHHHH     HHHHHHHHHHHHHHHH €¢€¢€¢HHHHHH‰¼‰¼‰¼€¢€¢€¢   HHHHHHHHHHHH       €¢€¢€¢PPP‰2‰2‰2‰2‰2‰2             HHH  ‡Ö‡Ú €¢€¢€¢HHHHHH€¢€¢€¢  ‡Ö‡Ú   HHHHHHHHHHH€¢€¢€¢H‹¤‹¤‡Ð‡Ôˆ~ˆ~ˆ~<<<<<<‹¦‹¦‹¦‹¦‹¦‹¦‰Ü‰Ü‡Ð‡Ôˆ~ˆ~ˆ~<<<<<<‹¤‹¤‹¤‹¤‹¤‹¤‰Ø‰Ø‡Ð‡Ô     ‰Ø‰Ø‡Ð‡Ô‰Ø‰Ø‰ØŠŠŠ€¢€¢€¢€¢€¢€¢ ‰Ø‰Ø‡Ð‡ÔŠŠŠ‰Ð‰Ð‡Ð‡ÔPPP‹¨‹¨‹¨‹¨‹¨‹¨‰Ø‰Ø‡Ð‡Ô€¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ HHHHHH €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ Š¾Š¾Š¾€¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ ‹b‹b‹b€¢€¢€¢€¢€¢€¢ ‰‰‰‹b‹b‹b€¢€¢€¢€¢€¢€¢ HHH‡°‡°‹ª‹ª‡Ð‡Ô<€¢€¢<€¢‡â‡æ‡Ü‡à<€¢€¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ ‹¬‹¬‹¬‹¬‹¬‹¬  €¢€¢€¢   €¢€¢€¢ €¢€¢€¢€¢€¢€¢‰Î‰Î‡Ð‡ÔPPP‹®‹®‹®‹®‹®‹®¬¬¬¬¬¬¬¬¬‰Ø‰Ø‡Ð‡Ô<ˆ†ˆ†<ˆ†‡â‡æ‡Ü‡à<ˆ†€¢€¢€¢€¢€¢€¢ ‡°‡°‡Ð‡ÔJ‹°‹°J‹°PPPJ‹°J‹°‹°J‹°PPPJ‹°‡°‡°‡Ð‡ÔHHHHHHHHH‡°‡°‡Ð‡Ô€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢ˆ¢ˆ¢‡Ð‡ÔJ<‚<J<J<PPP‡Ö‡ÚJ‰Ž‰ŽJ‰ŽPPPJ‰Ž‰Ø‰Øˆˆ‡Ð‡Ô                            ‹²‹²‹²HHHHHH ‹´‹´‹´HHHHHH ‹b‹b‹b€¢€¢€¢€¢€¢€¢ €¢€¢€¢¬¬¬¬¬¬ HHHHHH ¬¬¬¬¬¬ HHHHHH ¬¬¬HHH‹¶‹¶‹¶HHHHHH ‹¸‹¸‹¸HHHHHH   HHH¬¬¬¬¬¬ ‹´‹´‹´€¢€¢€¢€¢€¢€¢   ‹º‹º‹º‹´‹´‹´HHH€¢€¢€¢€¢€¢€¢€¢€¢€¢ ‰Ž‰Ž‰Ž‰Ž‰Ž‰Ž ‹¼‹¼‹¼‹¾‹¾‹¾¬¬¬¬¬¬  ‡Ö‡Úˆ8ˆ8ˆ<€¢€¢ˆ@ˆ8ˆ8ˆÚ€¢€¢ˆ@  ‡Ö‡Úˆ8ˆ8ˆ<€¢€¢ˆ@ˆ8ˆ8ˆÚ€¢€¢ˆ@ ‹À‹À€¢€¢€¢€¢€¢€¢€¢€¢€¢‹À€¢€¢€¢€¢€¢€¢€¢€¢ˆˆ€¢‰Ž‰Ž‰Ž  JJJJJ‹¸‹¸‹¸JJJ€¢€¢€¢Jˆ"ˆ"‡Ð‡Ô€¢€¢€¢PPP‹Â‹Â‹Â‹Â‹Â‹Â444€¢€¢€¢‡°‡°ˆˆ‡Ð‡Ô               €¢€¢€¢ˆ"ˆ"‡Ð‡Ô€¢€¢€¢PPP‹Ä‹Ä‹Ä444€¢€¢€¢ˆ¢ˆ¢‡Ð‡Ôˆ¬ŠŠˆ¬Šˆ¬Šˆ¬ŠŠˆ¬Šˆ°Šˆ¬ŠJ J J ¬¬¬‹Æ‹Æ‹Æ€¢€¢€¢JJJJJ€¢€¢€¢JJJ€¢€¢€¢JJJJJJ‡Ö‡ÚJ€ÀŠŠ€ÀŠ€ÀŠ‡°‡°‡Ð‡Ô   <<<HHH‡°‡°‡Ð‡Ô€¢€¢€¢JJJPPP‡Ö‡Ú‡°‡°‡Ð‡Ô‹È‹È€¢€¢€¢‡Ö‡Ú‹ÈJJ‹Ê‹Ê‹ÊJJJJ‡°‡°‡Ð‡ÔPPP‹Ê‹Ê‹Ê€¢€¢€¢‡°‡°ˆˆ‡Ð‡Ô   €¢€¢€¢€¢€¢€¢  €¢€¢€¢  €¢€¢€¢ €¢€¢   €¢‡°‡°‡Ð‡ÔPPP‹Ì‹Ì‹Ì‹Ì‹Ì‹Ì€¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ <<<<<< €¢€¢€¢€¢€¢€¢ ˆ¢ˆ¢ˆˆ‡Ð‡Ôˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ°ˆ"ˆ¬ˆ"HHH€¢€¢€¢ ‰žˆ"$‰žˆ"$‰ž  ‰žˆ"$‰žˆ"$‰ž €Àˆ"ˆ"€Àˆ"€Àˆ"ˆ"ˆ"‡Ð‡Ô€¢€¢€¢PPP‹Î‹Î‹Î‹Î‹Î‹ÎHHH€¢€¢€¢ˆ¢ˆ¢‡Ð‡Ôˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ°ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ°ˆ"ˆ¬ˆ"‰Ž‰Ž‰ŽPPP‹Ð‹Ð‹Ð‹Ð‹Ð‹Ð   €¢€¢€¢€¢€¢€¢‰Ž‰Ž‰Ž   HH€¢€¢€¢H       €Àˆ"ˆ"€Àˆ"€Àˆ"€Àˆ"ˆ"€Àˆ"€Àˆ"‡°‡°‡Ð‡Ô‹Ì‹Ì‹Ì‹Ì‹Ì‹Ì €¢€¢€¢€¢€¢€¢  €¢€¢€¢‹Ò ‹Ò ‹Ò  ‡°‡°‡Ð‡Ô¬¬¬¬¬¬¬¬¬ˆ¢ˆ¢ˆ8ˆ8ˆ<€¢€¢ˆ@ˆ8ˆ8ˆ¤€¢€¢ˆ@‡Ð‡Ô‹Ô‹Ô‹ÔHHH‹Ö‹Ö‹Ö¬¬¬¬¬¬ €¢€¢€¢‹Ö‹Ö‹Ö‰h‰h€¢€¢€¢‰h  €¢€¢€¢ HH€¢€¢€¢H ‰h‰h‰h  ¬¬¬¬¬¬ ˆ¢ˆ¢ˆ8ˆ8ˆ<€¢€¢ˆ@‡Ð‡Ôˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ°ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ°ˆ"ˆ¬ˆ"‰Ž‰Ž‰Ž‰Ž‰Ž‰Ž‰Ž‰Ž‰ŽHHH€¢€¢€¢ Š"Š"Š" ‰Ž‰Ž‰Ž<Š"Š"<Š"‡Ü‡à‡â‡æ<Š"Š"Š"€¢€¢€¢Š"<Š"Š"<Š"<Š"<Š"Š"<Š"‡Ü‡à‡â‡æ<Š" Š"Š"Š" €Àˆ"ˆ"€Àˆ"€Àˆ"€Àˆ"ˆ"€Àˆ"€Àˆ"HHHˆ"ˆ"ˆ8ˆ8ˆ<€¢€¢ˆ@‡Ð‡Ô€¢€¢€¢PPP‹Ø‹Ø‹Ø‹Ø‹Ø‹ØHHH‰Ž‰Ž‰Žˆ¢ˆ¢ˆ8ˆ8ˆ<€¢€¢ˆ@‡Ð‡Ôˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ°ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ°ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ°ˆ"ˆ¬ˆ"€¢€¢€¢€¢€¢€¢ HHHHHH €¢€¢€¢€¢€¢€¢€¢€¢€¢HHH€¢€¢€¢JJPPPJŠ"Š"Š"PPP‡Ö‡ÚPPP‡Ö‡ÚPPP‡Ö‡Ú €Àˆ"ˆ"€Àˆ"€Àˆ"€Àˆ"ˆ"€Àˆ"€Àˆ"€Àˆ"ˆ"€Àˆ"€Àˆ"ˆ"ˆ"ˆ8ˆ8ˆ<€¢€¢ˆ@‡Ð‡Ô€¢€¢€¢PPP‹Ú‹Ú‹ÚHHHŠ"Š"Š"‡°‡°‡Ð‡Ô       ‰Ø‰Ø‡Ð‡Ô PPP ‡°‡°ˆˆ‡Ð‡Ô‹Ü‹Ü‹Ü‹ ‹ ‹ ‹ ‹ ‹ ˆ"ˆ"‡Ð‡Ô€¢€¢€¢HHHHHHHH<<<€¢€¢€¢€¢€¢€¢‰¼‰¼‰¼<‹ ‹ <‹ <‹ <‹ ‚‚‡Ö‡Úˆžˆžˆ ˆ €¢€¢€¢PPPŠŠŠŠŠŠ€¢€¢ˆˆ€¢€¢€¢€¢<‹ ‹ <‹ ˆˆ‡Ü‡à<‹ ˆ¢ˆ¢ˆ¢‚‡Ö‡Ú‡Ü‡à‡â‡æ€¢€¢€¢ €¢€¢€¢HHHHHH<<<€¢€¢€¢€¢€¢€¢ˆ¢ˆ¢ˆ¢<‹ ‹ <‹ <‹  <‹ ‹ <‹ <‹ ‡Ö‡Ú ˆ¢ˆ¢ˆˆ‡Ð‡Ô €¢€¢€¢‰žˆ"$‰žˆ"$‰žHHH ˆ¬ŠŠˆ¬Šˆ¬Šˆ¬ŠŠˆ¬Šˆ°Šˆ¬Š  <<<<<<<  <<<<<<<‡Ö‡Ú  ‡Ö‡Ú  ‡Ö‡Ú €ÀŠŠ€ÀŠ€ÀŠ‰Ø‰Ø‡Ð‡Ô€¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ ‡°‡°‡Ð‡Ô‚²‚²‚²‚‡Ö‡Ú‡Ü‡à    ‹‹‹ ‰Ø‰Øˆ8ˆ8ˆ<€¢€¢ˆ@ˆ8ˆ8ˆB€¢€¢ˆ@ˆ8ˆ8ˆÚ€¢€¢ˆ@ˆˆ‡Ð‡ÔHHH¬¬¬¬¬¬ <ˆ†ˆ†<ˆ†ˆˆ‡â‡æ‡Ü‡à<ˆ†¬¬¬¬¬¬ ¬¬¬¬¬¬ ¬¬¬¬¬¬ ¬¬¬¬¬¬ ¬¬¬¬¬¬ ˆ¢ˆ¢‡Ð‡Ô‹Þ‹Þ‹Þ‹à‹à‹àHHHˆ"ˆ"‡Ð‡Ô€¢€¢€¢PPP‹â‹â‹â‹â‹â‹â‹ä‹ä‹ä‹ä‹ä‡Ð‡Ôˆ¬‹æ‹æˆ¬‹æˆ¬‹æˆ¬‹æ‹æˆ¬‹æˆ°‹æˆ¬‹æ€À‹æ‹æ€À‹æ€À‹æ‡°‡°„ˆ€¢€¢‚„ˆ€¢‡Ð‡ÔPP€¢€¢€¢P P€¢€¢‚P€¢P€¢ HH‚HHH‚HPP‚P  €¢€¢€¢‚ €¢ .€¢€¢.€¢.€¢.PP.P.P   HHHHHH €¢€¢€¢‚ ‚€¢€¢€¢‚€¢€¢‚€¢ ˆ"ˆ"‡Ð‡Ô€¢€¢€¢PPP‹æ‹æ‹æ‹æ‹æ‹æ‹ä‹ä‡Ð‡Ô ¬¬¬ ‡°‡°„ˆ€¢€¢‚„ˆ€¢‡Ð‡ÔPP€¢€¢€¢P P€¢€¢‚P€¢P€¢ HH‚HHH‚HPP‚P  €¢€¢€¢‚ €¢ .€¢€¢.€¢.€¢.PP.P.P   HHHHHH €¢€¢€¢‚ ‚€¢€¢€¢‚€¢€¢‚€¢ ˆ¢ˆ¢‡Ð‡Ô€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢JJJJJJ‡°‡°‡Ð‡Ô€¢€¢€¢‹è‹è‹è€¢€¢€¢€¢€¢€¢‡°‡°„<‹ê‹ê„<‹ê‰ +‹ê‹ê‰ +‹ê<‹ê‹ê<‹ê‡ì‹ê‹ê‡ì‹ê‡Ð‡Ô   ‹ê‹ê   ‹ê   ‹ê‹ê‹ê   ‹ê‹ê‹ê‹ê‹ê‹ê‹ê‹ê‹ê‹ê‹ê   ‹ê‹ê‹ê   ‹ê‹ê‹ê€¢€¢€¢‹ê‰Ø‰Øˆˆ‡Ð‡Ô€¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢    ŠFŠF‡Ð‡Ô€¢€¢€¢‰¼‰¼‰¼                   HHHHHHHHHHHHHHHHHHHHHHHHˆ¢ˆ¢ˆ¢€¢€¢€¢PPP‰*‰*‰*‰*‰*‰*HHH     ¬¬‡Ö‡Ú¬¬¬‡Ö‡Ú¬HHHˆ†ˆ†¢¢ˆ†  ‡Ö‡Ú  ‡Ö‡Ú HHH  ‡Ö‡Ú  ‡Ö‡Ú ¬¬‡Ö‡Ú¬¬¬‡Ö‡Ú¬€¢€¢€¢ˆ¢ˆ¢ˆ¢‚‡Ö‡Ú‡Ü‡à‡â‡æ¬¬‡Ö‡Ú¬¬¬‡Ö‡Ú¬HHHˆ†ˆ†¢¢ˆ†HH€¢€¢€¢H €¢€¢€¢HHHHHH‰¼‰¼‰¼           HHHHHHHHHHHH   ˆ¢ˆ¢ˆ¢  ‰¼‰¼‰¼‡Ö‡Ú ‚n‚n¬‚n¬‚n‚n¬ˆ8ˆ8ˆ<€¢€¢ˆ@ˆ8ˆ8ˆB€¢€¢ˆ@‚n¬‚n‚n¬‚n¬‚n‚n¬‚n¬‚n‚n¬‚n¬‚n‚n¬‚n¬Š@Š@Š@ <<<‹ì‹ì‹ì ˆ"ˆ"¢¢‡Ð‡Ô            €¢€¢€¢€¢€¢€¢€¢€¢€¢ˆ†ˆ†ˆ† €¢€¢€¢HHHHHHˆ†ˆ†ˆ†€¢€¢€¢€¢€¢€¢€¢€¢€¢   ‡°‡°ˆ8ˆ8ˆ<€¢€¢ˆ@ˆ8ˆ8ˆB€¢€¢ˆ@ˆ8ˆ8ˆÚ€¢€¢ˆ@‡Ð‡Ô  ˆ†ˆ†ˆ†PPP  ˆ†ˆ†ˆ†‡Ö‡Ú  ˆ†ˆ†ˆ†‡Ö‡Ú <‹î‹î<‹î<‹îHHH ˆ†ˆ†ˆ†HHHHHHHHHHHHHHHHHH<€¢€¢<€¢<€¢ P€¢H€¢€¢€¢ ‡Ö‡Ú ‹ð <V‹ìU‹ð <V‹ìU‹ð‡°‡°‡Ð‡Ô<ˆ†ˆ†<ˆ†‡â‡æ‡Ü‡à<ˆ†€¢€¢€¢€¢€¢€¢ˆ†ˆ†ˆ†€¢€¢€¢ˆ†ˆ†ˆ†<ˆ†ˆ†<ˆ†‡â‡æ‡Ü‡à<ˆ†ˆ†ˆ†ˆ†€¢€¢€¢‡°‡°‡Ð‡ÔJJJJJJJP€¢€¢‚P€¢JP€¢JP€¢‹ò‹ò‹ô‹ô‹ö‹ö‹ø‹ø‹ú‹ú‹ü‹ü‡Ð‡Ô<‹@‹@<‹@<‹@€¢€¢€¢J‰Ž‰ŽJ‰ŽHHˆ8ˆ8ˆ<€¢€¢ˆ@J‰Ž ‹þ ‰Ž'‹þ ‰Ž'‹þŒ Œ Œ Œ Œ‡Ö‡Ú ŒŒŒŒŒŒŒŒŒŒ +Œ +Œ +¬¬¬€¢€¢€¢Œ Œ ˆˆŒ   ŒŒŒŒŒŒŒŒŒŒŒŒŒŒŒŒŒŒŒŒŒ€¢€¢ˆˆ€¢ŒŒŒŒŒŒ€¢€¢ˆˆ€¢€¢€¢ˆˆ€¢Œ Œ Œ Œ"Œ"‡Ö‡Úˆ8ˆ8ˆ<€¢€¢ˆ@ˆ8ˆ8ˆÚ€¢€¢ˆ@Œ"Œ"Œ"‡Ö‡Úˆ8ˆ8ˆ<€¢€¢ˆ@ˆ8ˆ8ˆÚ€¢€¢ˆ@Œ" JJJ<‹@‹@<‹@‡Ö‡Ú‡â‡æ‡Ü‡à<‹@JŒ$Œ$JŒ$JŒ$JJJ €¢€¢€¢€¢€¢€¢€¢€¢€¢ˆˆ JJ<€¢€¢<€¢<€¢JJJ<<<‡Ö‡ÚJJJ‡Ö‡ÚJJJPPP‡Ö‡ÚJJJ€¢€¢€¢<PP<P<PJHH€¢€¢€¢<<<HJJPPPJHHHHHˆˆH€¢€¢€¢€¢€¢€¢€¢€¢€¢HHH€¢€¢€¢€¢€¢ˆˆ€¢€¢€¢€¢<€¢€¢<€¢<€¢HHˆˆH‡°‡°‡Ð‡ÔHHH‡°‡°‡Ð‡Ô   ‡°‡°‡Ð‡ÔHHH‡°‡°€¢€¢€¢€¢€¢€¢€¢€¢€¢HHH€¢€¢€¢€¢€¢€¢€¢€¢€¢‡°‡°€¢€¢€¢<€¢€¢<€¢<€¢‡°‡°HHH‡°‡°‡Ð‡Ô€¢€¢€¢€¢€¢€¢€¢€¢€¢ ŒŒŒ  ‰Ž‰Ž‰Ž ˆ¢ˆ¢‡Ð‡Ôˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ°ˆ"ˆ¬ˆ"¬¬¬¬¬¬€¢€¢€¢   €¢€¢€¢€Àˆ"ˆ"€Àˆ"€Àˆ"„bˆ†ˆ†„bˆ†ˆ„ˆ„ˆ†ˆ†ˆ†ˆ†ˆ†ˆ†ˆ†ˆ†ˆ†ˆ†ˆ†ˆ†ˆ† ˆ†ˆ†ˆ†  .ˆ†ˆ†.ˆ†.ˆ†    ˆ†ˆ†ˆ†    .ˆ†ˆ†.ˆ†.ˆ†    .ˆ†ˆ†.ˆ†.ˆ† ˆ†ˆ†ˆ†ˆ†ˆ†   ˆ†HH<<<H HHˆ†ˆ†ˆ†Hˆ†WHHH  HHˆ†ˆ†ˆ†Hˆ†W  HHˆ†ˆ†ˆ†Hˆ†W     ˆ†ˆ†ˆ† ƒ:ˆ†ˆ†ƒ:ˆ†ƒ:ˆ† „`ˆ†ˆ† ˆ† ˆ† „`ˆ† ˆ† ˆ† „`ˆ†  ƒJƒJƒJ      .ˆ†ˆ†.ˆ†.ˆ†         ˆ†ˆ†ˆ†          ˆ†ˆ†   ˆ†<ˆ†ˆ†<ˆ†<ˆ†ˆ¢ˆ¢‡Ð‡Ô<ˆ†ˆ†<ˆ†<ˆ†.ˆ†ˆ†.ˆ†.ˆ†  ˆ†ˆ†ˆ†ˆ†ˆ†ˆ† .ˆ†ˆ†.ˆ†.ˆ†ˆ†ˆ†ˆ†  €¢€¢€¢<ˆ†ˆ†<ˆ†‡â‡æ‡Ü‡à<ˆ†                                     €¢€¢‡Ö‡Ú€¢ˆ†ˆ†ˆ†HHHˆ†ˆ†ˆ†ˆ†ˆ†‡Ö‡Úˆ†€¢€¢€¢   €¢€¢€¢Š¾Š¾Š¾ˆ~ˆ~‡Ö‡Úˆ~ˆ†ˆ†ˆ†ˆ†ˆ†‡Ö‡Úˆ†€¢€¢‡Ö‡Ú€¢€¢€¢€¢‡Ö‡Ú ˆ†ˆ†ˆ†ˆ†ˆ†‡Ö‡Úˆ†ˆ†ˆ†HHH‡Ö‡Úˆ†HHˆ†ˆ†ˆ†Hˆ†ˆ†PPPˆ†ˆ†ˆ†‡Ö‡Úˆ†ˆ†ˆ†‡Ö‡Úˆ†HHHˆ†ˆ†ˆ†ˆ†ˆ†ˆ†ˆ†ˆ†ˆ†ˆ†ˆ†ˆ†ˆ†ˆ†‡Ö‡Úˆ†ˆ†ˆ†ˆ†ˆ†ˆ†ˆ†ˆ†ˆ†‡Ö‡Úˆ†‡°‡°ˆˆ‡Ð‡Ô                                  ‡°‡°ˆˆ‡Ð‡Ôˆ†ˆ†ˆ†   HHHˆ†ˆ†ˆ†ˆ†ˆ†ˆ†    ˆ†ˆ†ˆ†ˆ†ˆ†ˆ†‡°‡°„<ˆ†ˆ†„<ˆ†‰ +ˆ†ˆ†‰ +ˆ†‡ìˆ†ˆ†‡ìˆ†<ˆ†ˆ†<ˆ†‡Ð‡Ô   ˆ†ˆ†   ˆ†   ˆ†ˆ†ˆ†   ˆ†ˆ†ˆ†ˆ†ˆ†ˆ†ˆ†ˆ†ˆ†ˆ†ˆ†   ˆ†ˆ†ˆ†   ‡Ö‡Úˆ†‡°‡°‡Ð‡Ôˆ~ˆ~ˆ~ˆ~ˆ~ˆ~‡°‡°‡Ð‡Ôˆ~ˆ~€¢€¢€¢ˆ~‡°‡°‡Ð‡Ô€¢€¢€¢€¢€¢€¢ ˆ¢ˆ¢‡Ð‡Ô€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ°ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ°ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ°ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ°ˆ"ˆ¬ˆ"Œ&Œ&€¢€¢€¢PPPŒ&Œ&Œ&Œ&Œ&Œ&Œ&HHH<<<€¢€¢€¢€¢€¢€¢<<ˆžˆžˆ ˆ <€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢   €¢€¢€¢HHHHHHHHH€¢€¢€¢   €¢€¢€¢<  < <  JJŒ( €¢XŒ( €¢XŒ(‡Ö‡ÚJJ€¢€¢J€¢‡Ö‡ÚJ€¢€Àˆ"ˆ"€Àˆ"€Àˆ"€Àˆ"ˆ"€Àˆ"€Àˆ"€Àˆ"ˆ"€Àˆ"€Àˆ"€Àˆ"ˆ"€Àˆ"€Àˆ"‰Æ‰Æ‡Ð‡Ô€¢€¢€¢PPPŒ*Œ*Œ*€¢€¢€¢Œ&Œ&Œ&€¢€¢€¢ €¢€¢€¢ ‰Ø‰Ø‡Ð‡ÔHHHHHH     €¢€¢€¢€¢€¢€¢ ‰Ø‰Øˆ8ˆ8ˆ<€¢€¢ˆ@ˆ8ˆ8ˆ¤€¢€¢ˆ@ˆ8ˆ8ˆÚ€¢€¢ˆ@ˆˆ‡Ð‡ÔHHHŠÂŠÂŠÂ‚‡Ö‡Ú‡Ü‡à‡â‡æ€¢€¢€¢€¢€¢€¢ ŠŠŠ€¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢ŠŠŠ€¢€¢€¢€¢€¢€¢ HHHˆ†ˆ†€¢€¢€¢ˆ† €¢€¢€¢ˆ†ˆ†ˆ† HHHHHH €¢€¢€¢ ˆ¢ˆ¢‡Ð‡Ô     ˆ ˆ ˆ         JŠŠJŠPPPJŠ<<€¢€¢€¢PPP<<<‡Ö‡Ú<<<‡Ö‡Ú<ˆXˆXˆX‡°‡°Œ,Œ,‡Ð‡Ôˆ ˆ ˆ €¢€¢€¢€¢€¢€¢ <<<<<< €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ ¬¬¬¬¬¬ €¢€¢€¢€¢€¢€¢ HHHHHH €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ ¬¬¬¬¬¬ €¢€¢€¢€¢€¢€¢ ¬¬¬¬¬¬ ¬¬¬¬¬¬ ¬¬¬¬¬¬ €¢€¢€¢€¢€¢€¢ ¬¬¬¬¬¬ ¬¬¬¬¬¬ <<<<<< €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢   ¬¬¬¬¬¬¬¬¬¬¬¬  Š6Š6Š6 JJJˆlˆl   PPPˆl‡Ö‡Ú   ‡Ö‡Ú   ‡Ö‡Ú   ‡Ö‡ÚŠ0Š0¬¬¬¬¬¬¬¬¬¬¬¬Š0Š2Š2€¢€¢€¢Š2Š0Š0¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬Š0 ¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬  €¢€¢€¢  ¬¬¬¬¬¬¬¬¬¬¬¬  €¢€¢€¢¬¬¬¬¬¬¬¬¬ ˆlˆl         ˆl‡Ö‡Ú<¬¬<¬<¬HH¬¬¬€¢€¢€¢HHH¬¬¬¬¬¬HŠ4Š4€¢€¢€¢Š4 ˆlˆlˆl              ‡Ö‡Ú  ‡Ö‡Ú    ¬¬¬   ¬¬¬¬¬¬  <¬¬<¬<¬  ¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬  Š6Š6Š6  ¬¬¬¬¬¬¬¬¬¬¬¬  €¢€¢€¢¬¬¬¬¬¬¬¬¬  ¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬  ¬¬¬¬¬¬  ¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬HHH  ¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬  ¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬   ¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬HHH  ¬¬¬¬¬¬  ¬¬¬¬¬¬  ¬¬¬¬¬¬¬¬¬¬¬¬  ¬¬¬¬¬¬¬¬¬¬¬¬ ‰Ø‰Ø‡Ð‡ÔHHHHHH €¢€¢€¢€¢€¢€¢ ‰Ø‰Ø‡Ð‡Ô€¢€¢€¢€¢€¢€¢HHHH€¢€¢€¢€¢€¢€¢HHHHHHŒ.Œ.Œ.Œ.Œ.Œ.Œ.Œ.Œ.Œ.Œ.Œ.Œ.Œ.Œ.HHHHHH HHHHHH ŠŠŠ   €¢€¢€¢€¢€¢€¢ HHHHHH €¢€¢€¢€¢€¢€¢ ‰Î‰Î‡Ð‡Ô<¬¬<¬<¬ <<< ‰Ø‰Øˆ8ˆ8ˆ<€¢€¢ˆ@ˆ8ˆ8ˆB€¢€¢ˆ@ˆ8ˆ8ˆÚ€¢€¢ˆ@‡Ð‡ÔHHH€¢€¢€¢€¢€¢€¢ ŠŠŠ‹b‹b‹b<ˆ†ˆ†<ˆ†ˆˆ‡â‡æ‡Ü‡à<ˆ†€¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ŠŠŠ€¢€¢€¢€¢€¢€¢ HHHHHHHHH €¢€¢€¢ ‡°‡°‡Ð‡Ô€¢€¢€¢€¢€¢€¢Œ0Œ0Œ0€¢€¢€¢€¢€¢€¢€¢€¢€¢ˆ"ˆ"‡Ð‡Ô€¢€¢€¢PPPŒ2Œ2Œ2Œ2Œ2Œ2HHH‡°‡°Œ,Œ,‡Ð‡Ô‰‰‰‰‰‰ <<<<<< €¢€¢€¢€¢€¢€¢ ¬¬¬¬¬¬ €¢€¢€¢€¢€¢€¢ HHHHHH €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ ¬¬¬¬¬¬ €¢€¢€¢€¢€¢€¢ ¬¬¬¬¬¬ ¬¬¬¬¬¬ ¬¬¬¬¬¬ €¢€¢€¢€¢€¢€¢ ¬¬¬¬¬¬ ¬¬¬¬¬¬ <<<<<<   ¬¬¬¬¬¬¬¬¬¬¬¬  €¢€¢€¢ Š0Š0¬¬¬¬¬¬¬¬¬¬¬¬Š0Š2Š2€¢€¢€¢Š2Š0Š0¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬Š0 ¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬  €¢€¢€¢  ¬¬¬¬¬¬¬¬¬¬¬¬ <¬¬<¬<¬HH¬¬¬€¢€¢€¢HHH¬¬¬¬¬¬H   ¬¬¬   ¬¬¬¬¬¬  <¬¬<¬<¬  ¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬  Š6Š6Š6  ¬¬¬¬¬¬¬¬¬¬¬¬  ¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬  ¬¬¬¬¬¬  ¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬HHH  ¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬  ¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬   ¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬HHH  ¬¬¬¬¬¬  ¬¬¬¬¬¬  ¬¬¬¬¬¬¬¬¬¬¬¬  ¬¬¬¬¬¬¬¬¬¬¬¬ ‡°‡°‡Ð‡Ô¬¬¬¬¬¬‰l‰l‡Ð‡Ô¬¬¬ €¢€¢€¢<<< ‰Ø‰Ø‡Ð‡Ô‰Ø‰Øˆˆ‡Ð‡Ô€¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ ‡°‡°   <ˆ†ˆ†<ˆ†<ˆ†ˆ~ˆ~ˆ~ˆ~ˆ~ˆ~ˆ~ˆ~€¢€¢€¢ˆ~<ˆ†ˆ†<ˆ†€¢€¢€¢<ˆ†ŠJŠJ‹$‹$‡Ð‡ÔŒ4Œ4Œ4Œ4Œ4Œ4<<<<<< €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢€¢€¢€¢ €¢€¢‡Ö‡Ú€¢€¢€¢€¢‡°‡°Œ,Œ,‡Ð‡ÔŠ6Š6Š6Š6Š6Š6Š6Š6Š6 Š6Š6Š6‰‰‰  ¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬HHH  ¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬  ¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬   ¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬HHH  ¬¬¬¬¬¬  ¬¬¬¬¬¬  ¬¬¬¬¬¬¬¬¬¬¬¬  ¬¬¬¬¬¬¬¬¬¬¬¬ ‡°‡°‡Ð‡Ô<€¢€¢<€¢<€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢‡°‡°‡Ð‡ÔJJJJHHJH€¢€¢€¢JHJP€¢€¢‚P€¢JP€¢€¢€¢€¢JP€¢JJ€¢€¢€¢JJ<‚<J<J<JJ€¢€¢€¢PPPJ‡°‡°‡Ð‡ÔŒ6Œ6Œ6€¢€¢€¢€¢€¢€¢ ˆ¢ˆ¢‡Ð‡Ô<PP<P<PPPPPPPŒ8Œ8Œ8Œ8Œ8Œ8€¢€¢€¢Œ:Œ:Œ:€¢€¢€¢€¢€¢€¢JJJJHHJHJHJŒ<Œ<JŒ<JŒ<‰Æ‰Æ‡Ð‡Ô€¢€¢€¢PPPŒ>Œ>Œ>€¢€¢€¢<<<<<<€¢€¢€¢€¢€¢€¢€¢€¢€¢<<<JŠ<Š<JŠ<€¢€¢€¢JŠ< JJJ ˆ"ˆ"‡Ð‡Ô€¢€¢€¢PPPŒ@Œ@Œ@Œ@Œ@Œ@ JJJ ‡°‡°‡Ð‡Ô<<<€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢Œ:Œ:Œ:€¢€¢€¢JJ€¢€¢€¢Jˆ¢ˆ¢ˆ8ˆ8ˆ<€¢€¢ˆ@ˆ8ˆ8ˆB€¢€¢ˆ@ˆ8ˆ8ˆ¤€¢€¢ˆ@‡Ð‡ÔHHHŒBŒBŒBŒDŒDŒD¬¬¬ŒFŒFŒF €¢€¢€¢  €¢€¢€¢  <ŒHŒH<ŒH<ŒH<ŒHŒH<ŒH€¢€¢€¢€¢€¢€¢<ŒH<ŒHŒH<ŒH€¢€¢€¢<ŒH €¢€¢€¢  €¢€¢€¢€¢€¢€¢€¢€¢€¢ BBB   ‡°‡°‡Ð‡Ô¬¬¬€¢€¢€¢€¢€¢€¢¬¬¬ŒHŒH‡Ð‡Ô<ŒJŒJ<ŒJ<ŒJŒHŒH‡Ð‡ÔŒHŒH‡Ð‡Ô‡°‡°ˆˆ‡Ð‡Ô                 ŒLŒL‡Ð‡Ô¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬   €¢€¢€¢¬¬¬¬¬¬‡°‡°‡Ð‡ÔŒN ŒPLŒRUŒN ŒPLŒRUŒNŒRŒRŒR  PPP  ‡Ö‡Ú  ŒPŒPŒPŒRŒRŒR ‡°‡°‡Ð‡Ô<ŒHŒH<ŒH<ŒH<ŒHŒH<ŒH€¢€¢€¢€¢€¢€¢<ŒH<ŒHŒH<ŒH€¢€¢€¢<ŒHŒHŒH‡Ð‡ÔŒHŒH‡Ð‡Ô¬¬¬¬¬¬   ¬¬¬¬¬¬   ¬¬¬€¢€¢€¢€¢€¢€¢¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬<ŒTŒT<ŒT<ŒT   ¬¬¬‡°‡°‡Ð‡Ô€¢€¢€¢¬¬¬€¢€¢€¢‡°‡°ˆˆ‡Ð‡Ô                                           ˆ¢ˆ¢‡Ð‡Ôˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ°ˆ"ˆ¬ˆ"€¢€¢€¢€Àˆ"ˆ"€Àˆ"€Àˆ"‡°‡°‡Ð‡ÔJŒVŒVJŒVPPPJŒVJŒVŒVJŒVPPPJŒVJŒVŒVJŒV<PP<P<PJŒVJŒVŒVJŒVPPPJŒV‡°‡°‡Ð‡Ô<<<ŒXŒXŒXŒXŒXŒX€¢€¢€¢‰Ø‰Ø‡Ð‡Ô‡°‡°‡Ð‡Ô€¢€¢€¢€¢€¢€¢   €¢€¢€¢‹ê‹ê   ‹ê‹ê‹ê€¢€¢€¢‹ê‡°‡°„<‹è‹è„<‹è‰ +‹è‹è‰ +‹è‡ì‹è‹è‡ì‹è<‹è‹è<‹è‡Ð‡Ô   ‹è‹è   ‹è   ‹è‹è‹è   ‹è‹è‹è‹è‹è‹è‹è‹è‹è‹è‹è   ‹è‹è‹è   ‹è‹è‹è€¢€¢€¢‹è HHH ‰*‰*‡Ð‡Ô€¢€¢€¢PPPŒZŒZŒZŒZŒZŒZ¬¬¬HHH   €¢€¢€¢¬¬¬¬¬¬       ¬¬¬<ŒZŒZ<ŒZ<ŒZHHHˆ"ˆ"ˆ8ˆ8ˆ<€¢€¢ˆ@ˆ8ˆ8ˆB€¢€¢ˆ@ˆ8ˆ8ˆ¤€¢€¢ˆ@ˆ8ˆ8ˆÚ€¢€¢ˆ@‡Ð‡Ô€¢€¢€¢PPPŠŠŠŠŠŠ‚‚‡Ö‡Úˆžˆžˆ ˆ  ‹B‹B‹Bˆˆ ‡°‡°ˆˆ‡Ð‡Ô            €¢€¢€¢ ‹H‹H‹Hˆˆ ‰Ø‰Ø‡Ð‡Ô‡°‡°‡Ð‡ÔŒ\Œ\Œ\Œ\Œ\Œ\ Œ^Œ^Œ^ˆ¢ˆ¢‡Ð‡Ôˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ°ˆ"ˆ¬ˆ"HHH€Àˆ"ˆ"€Àˆ"€Àˆ"ˆ¢ˆ¢‡Ð‡Ôˆ¬ŠŠˆ¬Šˆ¬Šˆ¬ŠŠˆ¬Šˆ°Šˆ¬Š€¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢€¢€¢€¢    €ÀŠŠ€ÀŠ€ÀŠˆ"ˆ"‡Ð‡Ô€¢€¢€¢PPPŒ`Œ`Œ`ŒbŒbŒbˆ"ˆ"‡Ð‡Ô€¢€¢€¢PPPŒdŒdŒd€¢€¢€¢€¢€¢€¢ˆ¢ˆ¢‡Ð‡Ô<ŒbŒb<Œb<Œb‡°‡°‡Ð‡ÔJŒfŒfJŒfJŒfˆ¢ˆ¢‡Ð‡ÔŒ\Œ\Œ\Œ\Œ\Œ\JŒhŒhJŒhJŒhJŒbŒbJŒb€¢€¢€¢JŒbJŒbŒbJŒbJŒbŠDŠDˆˆ‡Ð‡Ô‰‰‰€¢€¢€¢‰Ø‰Øˆ8ˆ8ˆ<€¢€¢ˆ@ˆ8ˆ8ˆB€¢€¢ˆ@ˆ8ˆ8ˆ¤€¢€¢ˆ@ˆ8ˆ8ˆÚ€¢€¢ˆ@‡Ð‡ÔHHH<ˆ†ˆ†<ˆ†ˆˆ‡â‡æ‡Ü‡à<ˆ†¬¬¬¬¬¬ ¬¬¬¬¬¬¬¬¬ ˆ"ˆ"‡Ð‡Ô€¢€¢€¢PPP‰ê‰ê‰ê‰ê‰ê‰êHHH     ˆ"ˆ"‡Ð‡Ô€¢€¢€¢PPPŒjŒjŒjJJJ<<<ŠJŠJ‡Ð‡Ô444‰ð‰ð‰ð‰Æ‰Æ‡Ð‡Ô€¢€¢€¢PPPŒlŒlŒlŒlŒlŒlŒnŒnŒn‡°‡°‡Ð‡Ô<€¢€¢<€¢<€¢JŒpŒpJŒpJŒpJJPPPJJŒpŒpJŒpPPPJŒp‡°‡°‡Ð‡Ô444ŠŠŠ<<<€¢€¢€¢‡°‡°‡Ð‡Ô€¢€¢€¢   ŒrŒrŒr44€¢€¢€¢4JHHJHJH‡°‡°‡Ð‡Ô444HHH‰Ø‰Ø‡Ð‡Ô€¢€¢€¢€¢€¢€¢  ˆÆˆÆˆÆ  ŒtŒtŒt  ŒvŒvŒv ‡°‡°ˆˆ‡Ð‡Ô‚n‚n¬‚n¬             HHHˆ†ˆ†ˆ†ˆ†ˆ†ˆ†   ˆ†ˆ†ˆ†   ‰&‰&‰&ŠÊŠÊŠÊ HHH    ŠÊŠÊŠÊ  ˆ†ˆ†ˆ†    ‰&‰&€¢€¢€¢‰&   €¢€¢€¢ ‰&‰&‰&‚z‚z¬‚z¬<‚z‚z¬<‚z¬‡Ö‡Ú‡â‡æ‡Ü‡à<‚z¬ ˆ†ˆ†ˆ† HHˆ†ˆ†ˆ†   H ˆ†ˆ†ˆ†  ˆ†ˆ†ˆ†  ˆ†ˆ†ˆ†    ˆ†ˆ†ˆ†  ˆ†ˆ†ˆ†  ˆ†ˆ†ˆ†    ˆ†ˆ†ˆ†  ˆ†ˆ†ˆ†  ˆ†ˆ†ˆ† <‚z‚z¬<‚z¬<‚z¬HHH‡°‡°‡Ð‡Ô€¢€¢€¢€¢€¢€¢€¢€¢€¢‰Ê‰Ê‡Ð‡ÔPPPŒxŒxŒxŒxŒxŒxˆ¢ˆ¢‡Ð‡Ô€¢€¢€¢JJ   JJJJJ  J Œz HYŒz HYŒzJ  HHH ‡°‡°‡Ð‡Ô‡°‡°‡Ð‡ÔŒ| <ZŒ~UŒ| <ZŒ~UŒ|Œ~Œ~Œ~   <<<Œ~Œ~Œ~  ¬¬¬ ‡°‡°‡Ð‡ÔŒ€ <LŒ‚UŒ€ <LŒ‚UŒ€Œ‚Œ‚Œ‚  ˆ~ˆ~ˆ~  ˆ~ˆ~ˆ~  <<<Œ‚Œ‚Œ‚ ‡°‡°‡Ð‡ÔŠêŠêŠêˆ~ˆ~ˆ~‡°‡°‡Ð‡Ô   <PP<P<Pˆ¢ˆ¢‡Ð‡Ôˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ°ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ°ˆ"ˆ¬ˆ"ˆ¬ŠŠˆ¬Šˆ¬Šˆ¬ŠŠˆ¬Šˆ°Šˆ¬Šˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ°ˆ"ˆ¬ˆ"€¢€¢€¢€¢€¢€¢         €¢€¢€¢     HHHHHH€¢€¢€¢€¢€¢€¢HHH    ŠŠŠ‡Ö‡Ú  444‡Ö‡Ú  €¢€¢€¢‡Ö‡Ú  666‡Ö‡Ú €Àˆ"ˆ"€Àˆ"€Àˆ"€Àˆ"ˆ"€Àˆ"€Àˆ"€ÀŠŠ€ÀŠ€ÀŠ€Àˆ"ˆ"€Àˆ"€Àˆ"ˆ"ˆ"‡Ð‡Ô€¢€¢€¢PPPŒ„Œ„Œ„Œ†Œ†Œ†ˆ¢ˆ¢‡Ð‡Ôˆ¬ŒˆŒˆˆ¬Œˆˆ¬Œˆˆ¬ŒˆŒˆˆ¬Œˆˆ°Œˆˆ¬ŒˆHH‡Ö‡ÚH     €¢€¢€¢Š"Š"Š" €¢€¢€¢     ‡Ö‡Ú €ÀŒˆŒˆ€ÀŒˆ€ÀŒˆˆ"ˆ"‡Ð‡Ô€¢€¢€¢PPPŒˆŒˆŒˆ€¢€¢€¢‡°‡°ˆ8ˆ8ˆ<€¢€¢ˆ@‡Ð‡ÔPPP€¢€¢€¢€¢€¢€¢     €¢€¢€¢€¢€¢€¢ ‡°‡°‡Ð‡Ô€¢€¢€¢‚²‚²‚²‚‡Ö‡Ú€¢€¢€¢<€¢€¢<€¢<€¢€¢€¢€¢€¢€¢€¢ˆ¢ˆ¢ˆ8ˆ8ˆ<€¢€¢ˆ@‡Ð‡ÔPPPPPPHHHJŒvŒvJŒvŠ"Š"Š"JŒvJJŒŠ Œv[ŒŠ Œv[ŒŠŠ"Š"Š"‡Ö‡ÚJJJJˆ¬‹Ø‹Øˆ¬‹Øˆ¬‹Øˆ¬‹Ø‹Øˆ¬‹Øˆ°‹Øˆ¬‹Øˆ¬Œ„Œ„ˆ¬Œ„ˆ¬Œ„ˆ¬Œ„Œ„ˆ¬Œ„ˆ°Œ„ˆ¬Œ„ˆ¬ŒŒŒŒˆ¬ŒŒˆ¬ŒŒˆ¬ŒŒŒŒˆ¬ŒŒˆ°ŒŒˆ¬ŒŒˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ°ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ°ˆ"ˆ¬ˆ"ˆ¬‹Ø‹Øˆ¬‹Øˆ¬‹Øˆ¬‹Ø‹Øˆ¬‹Øˆ°‹Øˆ¬‹Øˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ°ˆ"ˆ¬ˆ"ˆ¬ŒŽŒŽˆ¬ŒŽˆ¬ŒŽˆ¬ŒŽŒŽˆ¬ŒŽˆ°ŒŽˆ¬ŒŽ€¢€¢€¢€¢€¢€¢ŒtŒtŒtŒtŒtŒt€¢€¢€¢JJ<<<‰´ ‰´ ‰´Œ ˆÆ\Œ ˆÆ\ŒJ ‰Ž‰Ž‰ŽPPP  ‰Ž‰Ž‰Ž‡Ö‡Ú  ‰Ž‰Ž‰Ž‡Ö‡Ú Œ’Œ’Š"Š"Š"‰Ž‰Ž‰ŽŒ’ JŒtŒtJŒtPPPJŒtŒ”Œ”Š"Š"Š"‡Ö‡ÚŒ”Œ†Œ†€¢€¢€¢PPPŒ†Œ†Œ†‡Ö‡ÚŒ†Œ†Œ†‡Ö‡ÚŒ†JŒtŒtJŒtPPPJŒt<‰Ž‰Ž<‰Ž<‰Ž<Œ–Œ–<Œ–<Œ–<‰Ž‰Ž<‰Ž<‰Ž<Œ’Œ’<Œ’<Œ’JŒ˜Œ˜JŒ˜JŒ˜ ‰Ž‰Ž‰Ž  Œ’Œ’Œ’  PPP  ‡Ö‡Ú JJPPPJJJPPPJ€À‹Ø‹Ø€À‹Ø€À‹Ø€ÀŒ„Œ„€ÀŒ„€ÀŒ„€ÀŒŒŒŒ€ÀŒŒ€ÀŒŒ€Àˆ"ˆ"€Àˆ"€Àˆ"€Àˆ"ˆ"€Àˆ"€Àˆ"€À‹Ø‹Ø€À‹Ø€À‹Ø€Àˆ"ˆ"€Àˆ"€Àˆ"€ÀŒŽŒŽ€ÀŒŽ€ÀŒŽˆ"ˆ"‡Ð‡Ô€¢€¢€¢PPPŒŒŒŒŒŒŒŒŒŒŒŒŒšŒšŒš‡°‡°‡Ð‡Ô   ¬¬¬‡°‡°‡Ð‡ÔŠ"Š"Š"<ŒœŒœ<Œœ<Œœ‡°‡°‡Ð‡ÔŠ"Š"Š"‡°‡°ˆ8ˆ8ˆ<€¢€¢ˆ@‡Ð‡ÔPPP€¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ ‡°‡°„ˆ€¢€¢‚„ˆ€¢‡Ð‡ÔPP€¢€¢€¢P P€¢€¢‚P€¢P€¢ HH‚HHH‚HPP‚P  €¢€¢€¢‚ €¢ .€¢€¢.€¢.€¢.PP.P.P   HHHHHH €¢€¢€¢‚ ‚€¢€¢€¢‚€¢€¢‚€¢ ‡°‡°‡Ð‡ÔŒžŒž€¢€¢€¢Œž<ŒžŒž<Œž<Œžˆ"ˆ"‡Ð‡Ô€¢€¢€¢PPPŒŽŒŽŒŽŒ–Œ–Œ–<‰Ž‰Ž<‰Ž<‰ŽŠ"Š"Š"‡°‡°‡Ð‡Ô‚z‚z¬‚z¬  ‡Ö‡Ú  ‡Ö‡Ú  ‡Ö‡Ú  ‡Ö‡Ú     HHHHHH Œ Œ Œ      ˆ¢ˆ¢‡Ð‡Ôˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ°ˆ"ˆ¬ˆ"   €¢€¢€¢JJ€¢€¢€¢J €Àˆ"ˆ"€Àˆ"€Àˆ"‰Ø‰Ø‡Ð‡ÔHHHHHH €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ HHHHHH €¢€¢€¢€¢€¢€¢ HHHHHH €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ ‡°‡°‡Ð‡ÔPPPŠòŠòŠòŠòŠòŠò¬¬¬¬¬¬¬¬¬HHHHHHHHHHHHHHH     ¬¬¬¬¬¬ ¬¬¬¬¬¬   ŠòŠòŠò ‰Þ‰Þ‡Ð‡ÔPPPŒ¢Œ¢Œ¢Œ¢Œ¢Œ¢€¢€¢€¢ˆ~ˆ~ˆ~<<<ˆ"ˆ"‡Ð‡Ô€¢€¢€¢PPPŠ¼Š¼Š¼Š¼Š¼Š¼€¢€¢‡Ö‡Ú€¢   €¢€¢€¢€¢€¢‡Ö‡Ú€¢€¢€¢€¢   €¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢   €¢€¢€¢‰Ø‰Ø‡Ð‡ÔHHHHHH HHHHHH ŠŠŠ<ˆ†ˆ†<ˆ†ˆˆ‡â‡æ‡Ü‡à<ˆ†     HHHHHH €¢€¢€¢€¢€¢€¢ HHHHHH         €¢€¢€¢€¢€¢€¢ŠŠŠ€¢€¢€¢€¢€¢€¢ HHH   Œ.Œ.Œ.  <<<<<< HHHˆ~ˆ~   ˆ~Œ.Œ.€¢€¢€¢Œ.HHH €¢€¢€¢ <Œ.Œ.<Œ.<Œ.<Œ.Œ.<Œ.<Œ.‡°‡°‡Ð‡Ôˆ†ˆ†ˆ†   ˆ†ˆ†ˆ†   ˆ†ˆ†ˆ†   ˆ†ˆ†ˆ†   HHH   €¢€¢€¢ ŠÊŠÊŠÊ  ˆ†ˆ†ˆ†     HHˆ†ˆ†ˆ†HHHH   ˆ†ˆ†ˆ†   ŠÊŠÊ   ŠÊ €¢€¢€¢€¢€¢€¢€¢€¢€¢   ŠÊŠÊŠÊ  ˆ†ˆ†ˆ†  ˆ†ˆ†ˆ†   ˆ†ˆ†ˆ†    ˆ†ˆ†ˆ†   ˆ¢ˆ¢‡Ð‡Ôˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ°ˆ"ˆ¬ˆ"HHHHHH¬¬¬  €Àˆ"ˆ"€Àˆ"€Àˆ"ˆ"ˆ"‡Ð‡Ô€¢€¢€¢PPPŒ¤Œ¤Œ¤ˆÆˆÆˆÆˆ¢ˆ¢Œ¦Œ¦‡Ð‡Ôˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ°ˆ"ˆ¬ˆ"€¢€¢‡Ö‡Ú€¢€¢€¢€¢ <<<<<<<  <<<<<<<‡Ö‡Ú  ‡Ö‡Ú €Àˆ"ˆ"€Àˆ"€Àˆ"ˆ¢ˆ¢‡Ð‡Ôˆ¬ŠŠˆ¬Šˆ¬Šˆ¬ŠŠˆ¬Šˆ°Šˆ¬ŠŒ¨Œ¨Œ¨JŒªŒªJŒªJŒªJŒªŒªJŒª€¢€¢€¢JŒªJ<‚<J<J<JŒªŒªJŒª€¢€¢€¢PPPJŒª€ÀŠŠ€ÀŠ€ÀŠ‰Ä‰Ä‡Ð‡Ôˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ°ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ°ˆ"ˆ¬ˆ"ˆ¬‹8‹8ˆ¬‹8ˆ¬‹8ˆ¬‹8‹8ˆ¬‹8ˆ°‹8ˆ¬‹8ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ°ˆ"ˆ¬ˆ"ˆ¬ŠŠˆ¬Šˆ¬Šˆ¬ŠŠˆ¬Šˆ°Šˆ¬ŠŒ¬Œ¬Œ¬ŒªŒªŒªJJJ€Àˆ"ˆ"€Àˆ"€Àˆ"€Àˆ"ˆ"€Àˆ"€Àˆ"€À‹8‹8€À‹8€À‹8€Àˆ"ˆ"€Àˆ"€Àˆ"€ÀŠŠ€ÀŠ€ÀŠŒ®Œ®Œ®ˆ¢ˆ¢‡Ð‡ÔŒ¨Œ¨Œ¨Œ°Œ°Œ°Œ¨Œ¨Œ¨Œ²Œ²Œ²Œ´Œ´Œ´Œ¶Œ¶Œ¶€¢€¢€¢Œ¸Œ¸Œ¸Œ¨Œ¨Œ¨J<‚<J<PPPJ<JJ€¢€¢€¢PPPJJHHJHJHJJJ‰Ø‰Øˆ8ˆ8ˆ<€¢€¢ˆ@‡Ð‡ÔHHH<ˆ†ˆ†<ˆ†‡â‡æ‡Ü‡à<ˆ†‰&‰&ŒºŒºˆ8ˆ8ˆ<€¢€¢ˆ@‡Ð‡ÔHHHˆ~ˆ~ˆ~€¢€¢‡Ö‡Ú€¢€¢€¢€¢‡Ö‡Ú €¢€¢€¢‹‹‹ˆ~ˆ~ˆ~ˆ~ˆ~ˆ~ˆ~ˆ~ˆ~<‰‰<‰‡â‡æ‡Ü‡à<‰ˆ~ˆ~     ˆ~<ˆ~ˆ~<ˆ~     <ˆ~ŠÜŠÜŠÜHHHHHH HH¢¢HHHH¢¢ HH¢¢HHHH¢¢ ‡°‡°‡Ð‡Ô   ˆ¢ˆ¢Œ¦Œ¦‡Ð‡Ôˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ°ˆ"ˆ¬ˆ"€¢€¢€¢€¢€¢€¢Œ¼Œ¼Œ¼Œ¼Œ¼Œ¼‹ ‹ ‹ €Àˆ"ˆ"€Àˆ"€Àˆ"‰Ä‰Ä‡Ð‡Ôˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ°ˆ"ˆ¬ˆ"       €¢€¢€¢      Š’ Š”HŠ’ Š”HŠ’Š– ˆÆ Š– ˆÆ Š–‡Ö‡Úˆ8ˆ8ˆ<€¢€¢ˆ@ˆ8ˆ8ˆÚ€¢€¢ˆ@ Š˜Š˜     ‡Ö‡Úˆ8ˆ8ˆ<€¢€¢ˆ@ˆ8ˆ8ˆÚ€¢€¢ˆ@Š˜ŠšŠš€¢€¢€¢‡Ö‡Úˆ8ˆ8ˆ<€¢€¢ˆ@ˆ8ˆ8ˆÚ€¢€¢ˆ@Šš €¢€¢€¢Šœ ŠŒŠœ ŠŒŠœŠ– ˆÆ Š– ˆÆ Š–‡Ö‡Úˆ8ˆ8ˆ<€¢€¢ˆ@ˆ8ˆ8ˆÚ€¢€¢ˆ@ €Àˆ"ˆ"€Àˆ"€Àˆ"Œ¾Œ¾Œ¾‰Ø‰Ø‡Ð‡Ô€¢€¢€¢€¢€¢€¢ <ˆ†ˆ†<ˆ†PPP<ˆ†<ˆ†ˆ†<ˆ†‡Ö‡Ú<ˆ†<ˆ†ˆ†<ˆ†‡Ö‡Ú<ˆ†ˆ¢ˆ¢‡Ð‡Ôˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ°ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ°ˆ"ˆ¬ˆ"¬¬¬¬¬¬ ¬¬¬¬¬¬ ‹²‹²‹²‹´‹´‹´€¢€¢€¢€¢€¢€¢ ¬¬¬¬¬¬ ŒÀŒÀŒÀŒÀŒÀŒÀ HHH‹¾‹¾‹¾  444  666‡Ö‡Ú  ¬¬¬¬¬¬ €Àˆ"ˆ"€Àˆ"€Àˆ"€Àˆ"ˆ"€Àˆ"€Àˆ"ˆ¢ˆ¢„<‰h‰h„<‰h‰ +‰h‰h‰ +‰h‡ì‰h‰h‡ì‰h<‰h‰h<‰h‡Ð‡Ô   ‰h‰h   ‰h   ‰h‰h‰h   ‰h‰h‰h‰h‰h‰h‰h‰h‰h‰h‰h   ‰h‰h‰h   ‰h‰Ø‰Ø‡Ð‡Ô€¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ ‰Ø‰Ø‡Ð‡Ô‡°‡°‡Ð‡ÔŒÂŒÂŒÂ€¢€¢€¢€¢€¢€¢ ¬¬¬¬¬¬ ‡°‡°„<ŒÂŒÂ„<ŒÂ‰ +ŒÂŒÂ‰ +ŒÂ‡ìŒÂŒÂ‡ìŒÂ<ŒÂŒÂ<ŒÂ‡Ð‡ÔŒÄŒÄŒÄ   ŒÂŒÂ   ŒÂ   ŒÂŒÂŒÂ   ŒÂŒÂŒÂŒÂŒÂŒÂŒÂŒÂŒÂŒÂŒÂ   ŒÂ €¢€¢€¢¬¬¬  €¢€¢€¢¬¬¬ ŒÂŒÂ   ŒÂˆ¢ˆ¢ˆ8ˆ8ˆ<€¢€¢ˆ@‡Ð‡Ôˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ°ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ°ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ°ˆ"ˆ¬ˆ"ˆ¬ŒÆŒÆˆ¬ŒÆˆ¬ŒÆˆ¬ŒÆŒÆˆ¬ŒÆˆ°ŒÆˆ¬ŒÆˆ¬ŒÈŒÈˆ¬ŒÈˆ¬ŒÈˆ¬ŒÈŒÈˆ¬ŒÈˆ°ŒÈˆ¬ŒÈˆ¬ŒÈŒÈˆ¬ŒÈˆ¬ŒÈˆ¬ŒÈŒÈˆ¬ŒÈˆ°ŒÈˆ¬ŒÈˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ°ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ°ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ°ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ°ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ°ˆ"ˆ¬ˆ"HHHŠ"Š"Š"Š"Š"Š" HHHHHH ŒÄŒÄŒÄŒÄŒÄŒÄ HHHHHH €¢€¢€¢€¢€¢€¢        €Àˆ"ˆ"€Àˆ"€Àˆ"€Àˆ"ˆ"€Àˆ"€Àˆ"€Àˆ"ˆ"€Àˆ"€Àˆ"€ÀŒÆŒÆ€ÀŒÆ€ÀŒÆ€ÀŒÈŒÈ€ÀŒÈ€ÀŒÈ€ÀŒÈŒÈ€ÀŒÈ€ÀŒÈ€Àˆ"ˆ"€Àˆ"€Àˆ"€Àˆ"ˆ"€Àˆ"€Àˆ"€Àˆ"ˆ"€Àˆ"€Àˆ"€Àˆ"ˆ"€Àˆ"€Àˆ"€Àˆ"ˆ"€Àˆ"€Àˆ"‡°‡°ˆ8ˆ8ˆ<€¢€¢ˆ@‡Ð‡Ô¬¬¬€¢€¢€¢ˆ"ˆ"ˆ8ˆ8ˆ<€¢€¢ˆ@‡Ð‡Ô€¢€¢€¢PPPŒÆŒÆŒÆŒÆŒÆŒÆ€¢€¢€¢€¢€¢€¢ˆ"ˆ"ˆ8ˆ8ˆ<€¢€¢ˆ@‡Ð‡Ô€¢€¢€¢PPPŒÈŒÈŒÈŒÈŒÈŒÈŠ¾Š¾Š¾Š¾Š¾Š¾   <ŒÊŒÊ<ŒÊ‡â‡æ‡Ü‡à<ŒÊ‡°‡°ˆ8ˆ8ˆ<€¢€¢ˆ@‡Ð‡ÔHHH   ŒÌŒÌ   ŒÌˆ¢ˆ¢‡Ð‡Ô<ŒÎŒÎ<ŒÎ<ŒÎHHHHHHHHH <ŒÎŒÎ<ŒÎ‡Ö‡Ú<ŒÎ   ŒÐŒÐŒÐ ˆ"ˆ"‡Ð‡Ô   ¬¬¬€¢€¢€¢ŒÐŒÐŒÐˆ¢ˆ¢‡Ð‡Ôˆ¬ŒÒŒÒˆ¬ŒÒˆ¬ŒÒˆ¬ŒÒŒÒˆ¬ŒÒˆ°ŒÒˆ¬ŒÒˆ¬ŒÒŒÒˆ¬ŒÒˆ¬ŒÒˆ¬ŒÒŒÒˆ¬ŒÒˆ°ŒÒˆ¬ŒÒˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ°ˆ"ˆ¬ˆ"ˆ¬ŒÒŒÒˆ¬ŒÒˆ¬ŒÒˆ¬ŒÒŒÒˆ¬ŒÒˆ°ŒÒˆ¬ŒÒˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ°ˆ"ˆ¬ˆ"ˆ¬ŒÒŒÒˆ¬ŒÒˆ¬ŒÒˆ¬ŒÒŒÒˆ¬ŒÒˆ°ŒÒˆ¬ŒÒˆ¬ŒÒŒÒˆ¬ŒÒˆ¬ŒÒˆ¬ŒÒŒÒˆ¬ŒÒˆ°ŒÒˆ¬ŒÒ€¢€¢€¢ŒÐŒÐŒÐŒÐŒÐŒÐ€¢€¢€¢€¢€¢€¢ ¬¬¬¬¬¬ ¬¬¬¬¬¬ €¢€¢€¢€¢€¢€¢ ŒÎŒÎŒÎŒÎŒÎŒÎ ¬¬¬¬¬¬ €ÀŒÒŒÒ€ÀŒÒ€ÀŒÒ€ÀŒÒŒÒ€ÀŒÒ€ÀŒÒ€Àˆ"ˆ"€Àˆ"€Àˆ"€ÀŒÒŒÒ€ÀŒÒ€ÀŒÒ€Àˆ"ˆ"€Àˆ"€Àˆ"€ÀŒÒŒÒ€ÀŒÒ€ÀŒÒ€ÀŒÒŒÒ€ÀŒÒ€ÀŒÒ‡°‡°‡Ð‡ÔHH‡Ö‡ÚH€¢€¢€¢HHH€¢€¢€¢€¢€¢‡Ö‡Ú€¢‡°‡°‡Ð‡ÔHHHˆ†ˆ†ˆ†   ˆ†ˆ†ˆ†   ‡°‡°„ˆ€¢€¢€¢€¢„ˆ€¢€¢ˆˆ‡Ð‡Ô P€¢€¢€¢€¢P€¢€¢P€¢€¢ HH<<<HHH<<<H€¢€¢<<<€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢<<<€¢   €¢€¢€¢€¢€¢€¢ €¢€¢ .€¢€¢.€¢.€¢.€¢€¢.€¢.€¢   HHHHHH  ‡Ö‡Ú  ‡Ö‡Ú €¢€¢€¢€¢€¢‡Ö‡Ú€¢€¢€¢   ‡Ö‡Ú€¢ €¢€¢€¢‡Ö‡Ú  €¢€¢€¢€¢€¢€¢‡Ö‡Ú  Š¤Š¤Š¤ ˆ"ˆ"ˆˆ‡Ð‡Ô€¢€¢€¢HHHHHHHH€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢ŒÔŒÔŒÔ€¢€¢€¢PPPŠŠŠŠŠŠ€¢€¢€¢€¢€¢€¢€¢€¢€¢ŒÔŒÔŒÔ€¢€¢€¢ €¢€¢€¢HHHHHH€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢ŒÔŒÔŒÔ‡Ö‡Ú ‡°‡°‡Ð‡ÔJP€¢€¢‚P€¢JP€¢JP€¢JHHJHJHJHHJHJH        ‰Ø‰Ø‡Ð‡ÔHHHHHH €¢€¢€¢€¢€¢€¢ ‰‰‰€¢€¢€¢€¢€¢€¢ ‡°‡°‡Ð‡Ô€¢€¢€¢HH€¢€¢€¢HŒÖŒÖ‡Ð‡Ô €¢€¢€¢<<<  €¢€¢€¢  €¢€¢€¢<<< ‡°‡°‡Ð‡ÔŠ`Š`€¢€¢€¢Š`<Š`Š`<Š`€¢€¢€¢<Š`<€¢€¢<€¢<€¢HH€¢€¢€¢H‡°‡°‡Ð‡ÔHHHHHH €¢€¢€¢ŠZŠZŠZˆ†ˆ†ˆ†‰‰‰€¢€¢€¢€¢€¢€¢‰Æ‰Æ‡Ð‡Ô€¢€¢€¢PPPŒØŒØŒØHHH€¢€¢€¢‡°‡°‡Ð‡ÔJ<‚<J<J<JJ€¢€¢€¢J‰Ø‰Ø‡Ð‡Ô‰Ø‰Ø‡Ð‡Ô       €¢€¢€¢€¢€¢€¢     ‰Ø‰Ø‡Ð‡Ô     ‰Ø‰Ø‡Ð‡Ô<ŒÚŒÚ<ŒÚ<ŒÚ<ŒÜŒÜ<ŒÜ<ŒÜŒÜŒÜŒÜŒÞŒÞŒÞŒÚŒÚŒÚŒÚŒÚŒÚŒÚŒÚŒÚŒÜŒÜ   ŒÜŒÚŒÚŒÚŒÚŒÚ‡Ö‡ÚŒÚ‰&‰&€¢€¢€¢‰"‰"‰"‰$‰$‰$‰&ŒÞŒÞŒÞŒÞŒÞŒÞ <ˆ†ˆ†<ˆ†‡Ö‡Ú‡â‡æ‡Ü‡à<ˆ†<ˆ†ˆ†<ˆ†‡Ö‡Ú‡â‡æ‡Ü‡à<ˆ†ŒÚŒÚŒÚŒÚŒÚŒÚ ŒÚŒÚŒÚŒÚŒÚŒÚ ŒÞŒÞ‡Ö‡ÚŒÞŒÚŒÚ‡Ö‡ÚŒÚŒÚŒÚ‡Ö‡ÚŒÚ      ŒÜŒÜ   ‡Ö‡ÚŒÜ‰Ø‰Ø‡Ð‡Ô<ŒàŒà<Œà<ŒàŒàŒàŒàŒàŒà   Œà‰&‰&€¢€¢€¢‰"‰"‰"‰$‰$‰$‰&<ˆ†ˆ†<ˆ†‡Ö‡Ú‡â‡æ‡Ü‡à<ˆ†        ‰Ø‰Ø   ‡Ö‡Ú‰Ø‰Ø‰Ø‡Ð‡Ô<ŒÜŒÜ<ŒÜ<ŒÜŒÜŒÜŒÜŒÜŒÜ   ŒÜ‰&‰&€¢€¢€¢‰"‰"‰"‰$‰$‰$‰&<ˆ†ˆ†<ˆ†‡Ö‡Ú‡â‡æ‡Ü‡à<ˆ†   ‰Ø‰Ø   ‡Ö‡Ú‰ØŒHŒH‡Ð‡Ô€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢‡Ö‡Ú€¢‰Ø‰Øˆ8ˆ8ˆ<€¢€¢ˆ@‡Ð‡ÔHHH‰&‰&‰& €¢€¢€¢‰"‰"‰"‰$‰$‰$ ŠDŠD‡Ð‡Ô€¢€¢€¢‹ +‹ +‹ +€¢€¢€¢<ˆ†ˆ†<ˆ†‡â‡æ‡Ü‡à<ˆ†ŠŠ   Š‰Ø‰Ø‡Ð‡Ô€¢€¢€¢€¢€¢€¢ HHHHHH     €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ HHHHHH ŠŠŠ<ˆ†ˆ†<ˆ†ˆˆ‡â‡æ‡Ü‡à<ˆ†         €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ HHHHHH HHHHHH     €¢€¢€¢€¢€¢€¢           €¢€¢€¢€¢€¢€¢ŠŠŠ€¢€¢€¢€¢€¢€¢ HHH€¢€¢€¢€¢€¢€¢ HHHHHH  €¢€¢€¢  €¢€¢€¢     €¢€¢€¢      €¢€¢€¢ ‡°‡°‡Ð‡ÔŒâŒâŒâJ<‚<J<J<ŠFŠFˆˆ‡Ð‡Ô€¢€¢€¢HHHHHHHH‰¼‰¼‰¼€¢€¢€¢€¢€¢€¢ €¢€¢€¢HHHHHH‰¼‰¼‰¼€¢€¢€¢‡Ö‡Ú ‡°‡°‡Ð‡Ô¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬ˆ¢ˆ¢‡Ð‡Ôˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ°ˆ"ˆ¬ˆ"ŒäŒäŒäŒäŒäŒä€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢  ŒæŒæŒæ  ŒæŒæŒæ €Àˆ"ˆ"€Àˆ"€Àˆ"ˆ¢ˆ¢‡Ð‡Ôˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ°ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ°ˆ"ˆ¬ˆ"¬¬¬¬¬¬ €¢€¢€¢€¢€¢€¢ HHHHHH ¬¬¬¬¬¬ ‹À‹À‹À€Àˆ"ˆ"€Àˆ"€Àˆ"€Àˆ"ˆ"€Àˆ"€Àˆ"‡°‡°„<ŒæŒæ„<Œæ‰ +ŒæŒæ‰ +Œæ<ŒæŒæ<Œæ‡ìŒæŒæ‡ìŒæ‡Ð‡Ô   ŒæŒæ   Œæ   ŒæŒæŒæ   ŒæŒæŒæŒæŒæŒæŒæŒæŒæŒæŒæ   ŒæŒæŒæ   ŒæŒæŒæ€¢€¢€¢Œæˆ¢ˆ¢„<‹À‹À„<‹À‰ +‹À‹À‰ +‹À<‹À‹À<‹À‡ì‹À‹À‡ì‹À‡Ð‡Ôˆ¬ŒèŒèˆ¬Œèˆ¬Œèˆ¬ŒèŒèˆ¬Œèˆ°Œèˆ¬Œèˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ°ˆ"ˆ¬ˆ"   ‹À‹À   ‹À   ‹À‹À‹À   ‹À‹À‹À‹À‹À‹À‹À‹À‹À‹À‹À   ‹À‹À‹À   ‹À‹À‹À€¢€¢€¢‹À€ÀŒèŒè€ÀŒè€ÀŒè€Àˆ"ˆ"€Àˆ"€Àˆ"‰Ø‰Ø‡Ð‡Ô€¢€¢€¢€¢€¢€¢ ‡°‡°ˆˆ‡Ð‡Ô   BB   BBB   B ‰Ø‰Ø‡Ð‡Ô‡°‡°‡Ð‡ÔPPPŠÌŠÌŠÌ¬¬‡Ö‡Ú¬¬¬‡Ö‡Ú¬¬¬¬   ¬¬‡Ö‡Ú¬¬¬‡Ö‡Ú¬¬¬‡Ö‡Ú¬¬¬‡Ö‡Ú¬€¢€¢€¢¬¬¬¬¬‡Ö‡Ú¬¬¬‡Ö‡Ú¬ˆ¢ˆ¢ˆ¢‚‡Ö‡Ú‡Ü‡à‡â‡æ                 ‚n‚n¬‚n¬‚n‚n¬‚n¬‚n‚n¬‚n¬  ˆ8ˆ8ˆ<€¢€¢ˆ@ˆ8ˆ8ˆÚ€¢€¢ˆ@  ˆ8ˆ8ˆ<€¢€¢ˆ@ˆ8ˆ8ˆÚ€¢€¢ˆ@ ŠFŠF‡Ð‡Ô€¢€¢€¢PPP‰6‰6‰6‰6‰6‰6HHHŠÎŠÎŠÎHHHHHHHHHŠÎŠÎŠÎŠÎŠÎŠÎHHH‡°‡°„<ŠÌŠÌ„<ŠÌ‰ +ŠÌŠÌ‰ +ŠÌ‡ìŠÌŠÌ‡ìŠÌ<ŠÌŠÌ<ŠÌ‡Ð‡ÔHHH   ŠÌŠÌ   ŠÌ   ŠÌŠÌŠÌ   ŠÌŠÌŠÌŠÌŠÌŠÌŠÌŠÌŠÌŠÌŠÌ   ŠÌŠÌŠÌ   ŠÌ‡°‡°‡Ð‡Ô€¢€¢€¢€¢€¢€¢€¢€¢€¢<€¢€¢<€¢<€¢€¢€¢€¢ŒêŒêŒêŒêŒêŒê€¢€¢€¢<<<€¢€¢€¢€¢€¢€¢€¢€¢€¢‡°‡°‡Ð‡Ô<ŒêŒê<Œê<ŒêŒÀŒÀŒÀŒÀŒÀŒÀ   ŒêŒê   Œê‰Ø‰Øˆ8ˆ8ˆ<€¢€¢ˆ@ˆ8ˆ8ˆ¤€¢€¢ˆ@ˆ8ˆ8ˆÚ€¢€¢ˆ@‡Ð‡ÔHHH             HH‡Ö‡ÚHHHH‡Ö‡Ú €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢   €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ ‹À‹À‹Àˆ"ˆ"ˆˆ‡Ð‡Ô€¢€¢€¢PPPŒèŒèŒèŒèŒèŒè<<‡Ü‡à<ˆ"ˆ"‡Ð‡Ô€¢€¢€¢PPPŠîŠîŠîŠîŠîŠî¬¬¬€¢€¢€¢€¢€¢€¢‡°‡°ˆˆ‡Ð‡Ôˆ†ˆ†ˆ†   ˆ†ˆ†ˆ†ˆ†ˆ†ˆ† ŠÔŠÔŠÔˆ†ˆ†ˆ†   ˆ†ˆ†ˆ†ˆ†ˆ†ˆ†ˆ†ˆ†ˆ†ˆ†ˆ†ˆ†ˆ†ˆ†ˆ†ˆ†ˆ†ˆ†ˆ†ˆ†ˆ†‡°‡°‡Ð‡ÔŒìŒì€¢€¢€¢ŒìŒìŒì€¢€¢€¢Œì‡°‡°‡Ð‡ÔŒîŒî€¢€¢€¢Œî‡°‡°‡Ð‡Ô‹¬‹¬€¢€¢€¢‹¬‹¬‹¬€¢€¢€¢‹¬ˆ"ˆ"‡Ð‡Ô€¢€¢€¢‰¼‰¼‰¼    HHHHHHHH€¢€¢€¢PPPŠFŠFŠFŠFŠFŠF   ‹j‹j‹jŠÂŠÂŠÂ‚‡Ö‡Ú‡Ü‡à‡â‡æ  ‡Ö‡Úˆˆ  €¢€¢€¢HHHHHH‰¼‰¼‰¼   ‡Ö‡Ú ‰Ø‰Ø‡Ð‡Ô‡°‡°‡Ð‡ÔJJ<<<J  JJJJJ<<<J‰Ø‰Ø‡Ð‡Ô‡°‡°‡Ð‡Ô€¢€¢€¢€¢€¢‹Ô‹Ô‹Ô€¢€¢€¢‰Ž‰Ž‰Ž€¢€¢€¢ŠŠŠ€¢ €¢€¢€¢ €¢€¢€¢€¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ ŒðŒðŒð€¢€¢€¢€¢€¢€¢ ‡°‡°‡Ð‡Ô<<<ŒðŒðŒðŒðŒðŒð €¢€¢€¢€¢€¢€¢  €¢€¢€¢ €¢€¢€¢€¢€¢€¢<€¢€¢<€¢€¢€¢€¢<€¢HH€¢€¢€¢H €¢€¢€¢€¢€¢€¢  ‡°‡°€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢ˆ¢ˆ¢‡Ð‡ÔJJJ‡°‡°‡Ð‡Ô**ŒòŒòŒò*ˆ¢ˆ¢‡Ð‡Ô€¢€¢€¢HHHJJPPPJJJPPPJˆ"ˆ"‡Ð‡Ô€¢€¢€¢PPPŒôŒôŒôŒöŒöŒöˆ¢ˆ¢‡Ð‡ÔŒøŒøŒø¬¬¬¬¬¬ ¬¬¬¬¬¬   €¢€¢€¢HHHŒúŒúŒú   JJJŒüŒü€¢€¢€¢ŒüHHŒþŒþŒþH<PP<P<P   ¬] ¬] JJ<PP<P<PJ ‡°‡°‡Ð‡ÔHHHHHHHHH   ˆ"ˆ"‡Ð‡Ô€¢€¢€¢PPP€¢€¢€¢‡°‡°‡Ð‡Ô***     ‡°‡°‡Ð‡ÔŒþŒþŒþ************ŒòŒò‡Ð‡Ô¬¬¬‡°‡°‡Ð‡Ô******************ˆ¢ˆ¢‡Ð‡Ôˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ°ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ°ˆ"ˆ¬ˆ"¬¬¬¬¬¬ ¬¬¬¬¬¬ ŒöŒöŒöHHHJJJJJ€¢€¢€¢PPPJ€Àˆ"ˆ"€Àˆ"€Àˆ"€Àˆ"ˆ"€Àˆ"€Àˆ"ˆ"ˆ"‡Ð‡Ô€¢€¢€¢PPP + + +   ‡°‡°‡Ð‡Ô<<<‡°‡°‡Ð‡Ô¬¬¬¬¬¬‡°‡°‡Ð‡Ô***¬¬¬¬¬¬‡°‡°‡Ð‡ÔHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH‰ˆ‰ˆŠ$Š$‡Ð‡Ô     €¢€¢€¢€¢€¢€¢      ‡Ö‡Úˆ8ˆ8ˆ<€¢€¢ˆ@ˆ8ˆ8ˆÚ€¢€¢ˆ@  ‡Ö‡Úˆ8ˆ8ˆ<€¢€¢ˆ@ˆ8ˆ8ˆÚ€¢€¢ˆ@      ‡Ö‡Úˆ8ˆ8ˆ<€¢€¢ˆ@ˆ8ˆ8ˆÚ€¢€¢ˆ@  ‡Ö‡Úˆ8ˆ8ˆ<€¢€¢ˆ@ˆ8ˆ8ˆÚ€¢€¢ˆ@ ‡°‡°‡Ð‡Ô   ¬¬¬     ‡°‡°‡Ð‡Ô€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢HHHHHH ‰h‰h‰hˆ¢ˆ¢‡Ð‡Ôˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ°ˆ"ˆ¬ˆ"        €¢€¢€¢€Àˆ"ˆ"€Àˆ"€Àˆ"ˆ¢ˆ¢‡Ð‡Ôˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ°ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ°ˆ"ˆ¬ˆ"¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬€Àˆ"ˆ"€Àˆ"€Àˆ"€Àˆ"ˆ"€Àˆ"€Àˆ" ŒæŒæ‡Ð‡Ô¬¬¬¬¬¬€¢€¢€¢€¢€¢€¢€¢€¢€¢ <<‡Ü‡à‡â‡æ<<<< <<‡Ü‡à‡â‡æ<<<<  ¬¬¬¬¬¬ HHHHHH €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ ‰&‰&‡Ö‡Ú‰&‡°‡°‡Ð‡Ô€¢€¢€¢€¢€¢€¢     ¬¬¬¬¬¬ ¬¬¬¬¬¬ €¢€¢€¢€¢€¢€¢ ¬¬¬¬¬¬ ¬¬¬¬¬¬ ¬¬¬¬¬¬ ˆ¢ˆ¢ˆ8ˆ8ˆ<€¢€¢ˆ@ˆ8ˆ8ˆB€¢€¢ˆ@ˆ8ˆ8ˆ¤€¢€¢ˆ@ˆ8ˆ8ˆÚ€¢€¢ˆ@ˆˆ‡Ð‡Ôˆ¬ŠBŠBˆ¬ŠBˆ¬ŠBˆ¬ŠBŠBˆ¬ŠBˆ°ŠBˆ¬ŠBˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ°ˆ"ˆ¬ˆ"ˆ¬ŠŠˆ¬Šˆ¬Šˆ¬ŠŠˆ¬Šˆ°Šˆ¬Šˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ°ˆ"ˆ¬ˆ"€¢€¢€¢<<<HHH             €¢€¢€¢€¢€¢€¢   €¢€¢€¢€¢€¢€¢   €¢€¢€¢   €¢€¢€¢    ŠŠŠ‡Ö‡Ú  444‡Ö‡Ú  €¢€¢€¢‡Ö‡Ú  666‡Ö‡Ú €ÀŠBŠB€ÀŠB€ÀŠB€Àˆ"ˆ"€Àˆ"€Àˆ"€ÀŠŠ€ÀŠ€ÀŠ€Àˆ"ˆ"€Àˆ"€Àˆ"‰*‰*‡Ð‡Ô€¢€¢€¢‰¼‰¼‰¼¬¬¬ ¬¬¬ ¬¬¬                      HHHHHHHHHHHHHHHHHHHHHHHHˆ¢ˆ¢ˆ¢€¢€¢€¢PPP‰4‰4‰4‰4‰4‰4          ¬¬‡Ö‡Ú¬¬¬‡Ö‡Ú¬¬¬¬¬¬¬¬¬¬   ¬¬¬¬¬¬¬¬¬HHH €¢€¢€¢HHHHHH‰¼‰¼‰¼           HHHHHHHHHHHH   ˆ¢ˆ¢ˆ¢   ‡Ö‡Ú HHH €¢€¢€¢HHHHHH‰¼‰¼‰¼             ˆ¢ˆ¢ˆ¢€¢€¢€¢         ‡Ö‡Ú ˆ¢ˆ¢ŠŠŠÂŠÂ‰‰‡Ð‡ÔJ¬¬J¬J¬Š¾Š¾Š¾ŠÂŠÂŠÂŠÂŠÂŠÂŠÂŠÂ€¢€¢€¢€¢€¢€¢€¢€¢€¢ŠÂ‹ª ‚   ¬] ¬]      ¬] ¬]‡Ö‡Ú    ‡Ö‡Ú ˆ¸ˆ¸ˆ8ˆ8ˆ<€¢€¢ˆ@ˆ8ˆ8ˆB€¢€¢ˆ@ˆ8ˆ8ˆ¤€¢€¢ˆ@ˆ¸   JŠ”Š”JŠ”   HHHHJŠ”HHHˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ°ˆ"ˆ¬ˆ"ˆ¬Š°Š°ˆ¬Š°ˆ¬Š°ˆ¬Š°Š°ˆ¬Š°ˆ°Š°ˆ¬Š°ˆ¬Š¶Š¶ˆ¬Š¶ˆ¬Š¶ˆ¬Š¶Š¶ˆ¬Š¶ˆ°Š¶ˆ¬Š¶ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ°ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ°ˆ"ˆ¬ˆ"ˆ¬ŠŠˆ¬Šˆ¬Šˆ¬ŠŠˆ¬Šˆ°Šˆ¬Šˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ°ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ°ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ°ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ°ˆ"ˆ¬ˆ"ˆ¬ŠŠˆ¬Šˆ¬Šˆ¬ŠŠˆ¬Šˆ°Šˆ¬Šˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ°ˆ"ˆ¬ˆ"ˆ¬ŠŠˆ¬Šˆ¬Šˆ¬ŠŠˆ¬Šˆ°Šˆ¬Šˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ°ˆ"ˆ¬ˆ"ˆ¬‰ä‰äˆ¬‰äˆ¬‰äˆ¬‰ä‰äˆ¬‰äˆ°‰äˆ¬‰äˆ8ˆ8ˆ<€¢€¢ˆ@ˆ8ˆ8ˆÚ€¢€¢ˆ@ˆ¬‰ä‰äˆ¬‰äˆ¬‰äˆ¬‰ä‰äˆ¬‰äˆ°‰äˆ¬‰äˆ8ˆ8ˆ<€¢€¢ˆ@ˆ8ˆ8ˆÚ€¢€¢ˆ@ˆ¬‰ä‰äˆ¬‰äˆ¬‰äˆ¬‰ä‰äˆ¬‰äˆ°‰äˆ¬‰äˆ8ˆ8ˆ<€¢€¢ˆ@ˆ8ˆ8ˆÚ€¢€¢ˆ@       ŠNŠNŠN"""ŠNŠNŠN$$$HHH&&&(((***€¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢ ¬¬¬,,,...     HHHŒÔŒÔŒÔ000000€¢€¢€¢€¢€¢€¢ 222HHHŠÂŠÂŠÂ‚‡Ö‡Ú‡Ü‡à‡â‡æŠÂŠÂŠÂ   €¢€¢€¢     ¬¬‡Ö‡Ú¬¬¬‡Ö‡Ú¬ŠÂŠÂŠÂ‚‡Ö‡Ú‡Ü‡à‡â‡æ44ˆ8ˆ8ˆ<€¢€¢ˆ@ˆ8ˆ8ˆB€¢€¢ˆ@ˆ8ˆ8ˆ¤€¢€¢ˆ@4666         000ŠÂŠÂŠÂ‚‡Ö‡Ú‡Ü‡à‡â‡æŒÔŒÔŒÔ888€¢€¢€¢€¢€¢€¢ 000:::000ŠÂŠÂŠÂ‚‡Ö‡Ú‡Ü‡à‡â‡æ<<<ŠÂŠÂŠÂ‚‡Ö‡Ú‡Ü‡à‡â‡æŠÂŠÂ‡Ü‡à‡â‡æŠÂ   ‡Ö‡Ú‡Ü‡à‡â‡æ€¢€¢€¢‡Ö‡Ú‡Ü‡à‡â‡æ €¢€¢€¢     HH€¢€¢€¢HJJPPPJHH€¢€¢€¢HHHHHHHHHHHHHHHHHHHŠVŠVˆ~ˆ~ˆ~€¢€¢€¢‡Ö‡ÚŠVŒÖŒÖˆ~ˆ~ˆ~€¢€¢€¢ŒÖ<ŠRŠR<ŠRˆ~ˆ~ˆ~€¢€¢€¢‡Ö‡Ú‡â‡æ‡Ü‡à<ŠRŠÜŠÜŠÜ>>€¢€¢€¢>          ‡Ö‡Ú ŠŠ€¢€¢€¢€¢€¢€¢€¢€¢€¢   @ Š^@ Š^@‡Ö‡Úˆ8ˆ8ˆ<€¢€¢ˆ@ˆ8ˆ8ˆÚ€¢€¢ˆ@‡Ü‡àŠ €¢€¢€¢<<<<<<<  <<<<<<<‡Ö‡Ú  ‡Ö‡Ú   B ‹d_B ‹d_BPPP  ‡Ö‡Ú  ‡Ö‡Ú            PPP  ‡Ö‡Ú  ‡Ö‡Ú  ¬¬¬¬¬¬‡Ö‡Ú      ‡Ö‡Ú      ‡Ö‡Ú  PPP  ‡Ö‡Ú  ‡Ö‡Ú  ¬¬¬¬¬¬‡Ö‡Ú      ‡Ö‡Ú      ‡Ö‡Ú  PPP  ‡Ö‡Ú  ‡Ö‡Ú  ¬¬¬¬¬¬‡Ö‡Ú      ‡Ö‡Ú      ‡Ö‡Ú       Š’ Š”HŠ’ Š”HŠ’Š– ˆÆ Š– ˆÆ Š–‡Ö‡Úˆ8ˆ8ˆ<€¢€¢ˆ@ JŠ”Š”JŠ”     ‡Ö‡Úˆ8ˆ8ˆ<€¢€¢ˆ@JŠ” €¢€¢€¢Šœ ŠŒŠœ ŠŒŠœŠ– ˆÆ Š– ˆÆ Š–‡Ö‡Úˆ8ˆ8ˆ<€¢€¢ˆ@ JŠŒŠŒJŠŒ€¢€¢€¢‡Ö‡Úˆ8ˆ8ˆ<€¢€¢ˆ@JŠŒ€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢  €¢€¢€¢   <<<‡Ö‡Ú  €¢€¢€¢   <<<‡Ö‡Ú    ‡Ö‡Ú    ‡Ö‡Ú  <<<   ‡Ö‡Ú  <<<   ‡Ö‡Ú €Àˆ"ˆ"€Àˆ"€Àˆ"€Àˆ"ˆ"€Àˆ"€Àˆ"€Àˆ"ˆ"€Àˆ"€Àˆ"€Àˆ"ˆ"€Àˆ"€Àˆ"€Àˆ"ˆ"€Àˆ"€Àˆ"€Àˆ"ˆ"€Àˆ"€Àˆ"€À‰*‰*€À‰*€À‰*€À‰*‰*€À‰*€À‰*€Àˆ"ˆ"€Àˆ"‰,‰0€Àˆ"€ÀŠ°Š°€ÀŠ°€ÀŠ°€ÀŠ¶Š¶€ÀŠ¶€ÀŠ¶€À‰*‰*€À‰*€À‰*€À‰*‰*€À‰*€À‰*€À‰*‰*€À‰*€À‰*€À‰*‰*€À‰*€À‰*€À‰*‰*€À‰*€À‰*€À‰*‰*€À‰*€À‰*€À‰*‰*€À‰*€À‰*€Àˆ"ˆ"€Àˆ"€Àˆ"€Àˆ"ˆ"€Àˆ"€Àˆ"€Àˆ"ˆ"€Àˆ"€Àˆ"€Àˆ"ˆ"€Àˆ"€Àˆ"€Àˆ"ˆ"€Àˆ"€Àˆ"€Àˆ"ˆ"€Àˆ"€Àˆ"€Àˆ"ˆ"€Àˆ"€Àˆ"€Àˆ"ˆ"€Àˆ"€Àˆ"€À‰2‰2€À‰2€À‰2€À‰2‰2€À‰2€À‰2€À‰2‰2€À‰2€À‰2€Àˆ"ˆ"€Àˆ"€Àˆ"€Àˆ"ˆ"€Àˆ"€Àˆ"€Àˆ"ˆ"€Àˆ"€Àˆ"€Àˆ"ˆ"€Àˆ"€Àˆ"€ÀŠŠ€ÀŠ€ÀŠ€À‰*‰*€À‰*€À‰*€À‰*‰*€À‰*€À‰*€À‰*‰*€À‰*€À‰*€À‰*‰*€À‰*€À‰*€À‰*‰*€À‰*€À‰*€À‰*‰*€À‰*€À‰*€À‰*‰*€À‰*€À‰*€À‰4‰4€À‰4€À‰4€Àˆ"ˆ"€Àˆ"€Àˆ"€Àˆ"ˆ"€Àˆ"€Àˆ"€Àˆ"ˆ"€Àˆ"€Àˆ"€Àˆ"ˆ"€Àˆ"€Àˆ"€Àˆ"ˆ"€Àˆ"€Àˆ"€Àˆ"ˆ"€Àˆ"€Àˆ"€Àˆ"ˆ"€Àˆ"€Àˆ"€ÀŠŠ€ÀŠ€ÀŠ€Àˆ"ˆ"€Àˆ"€Àˆ"€Àˆ"ˆ"€Àˆ"€Àˆ"€Àˆ"ˆ"€Àˆ"€Àˆ"€Àˆ"ˆ"€Àˆ"€Àˆ"€Àˆ"ˆ"€Àˆ"€Àˆ"€Àˆ"ˆ"€Àˆ"€Àˆ"€Àˆ"ˆ"€Àˆ"€Àˆ"€Àˆ"ˆ"€Àˆ"€Àˆ"€Àˆ"ˆ"€Àˆ"€Àˆ"€Àˆ"ˆ"€Àˆ"€Àˆ"€ÀŠŠ€ÀŠ€ÀŠ€Àˆ"ˆ"€Àˆ"€Àˆ"€Àˆ"ˆ"€Àˆ"€Àˆ"€Àˆ"ˆ"€Àˆ"€Àˆ"€À‰6‰6€À‰6€À‰6€À‰6‰6€À‰6€À‰6€À‰6‰6€À‰6€À‰6€À‰6‰6€À‰6€À‰6€ÀŠîŠî€ÀŠî€ÀŠî€Àˆ"ˆ"€Àˆ"€Àˆ"€Àˆ"ˆ"€Àˆ"€Àˆ"€Àˆ"ˆ"€Àˆ"€Àˆ"€À‰ä‰ä€À‰ä€À‰ä€À‰ä‰ä€À‰ä€À‰ä€À‰ä‰ä€À‰ä€À‰äˆ¬DDˆ¬Dˆ¬DFFJF€Àˆ"ˆ"€Àˆ"€Àˆ"€À‰4‰4€À‰4€À‰4 ‚n‚n¬‚n¬ ŠŠ€¢€¢€¢€¢€¢€¢€¢€¢€¢   @ Š^@ Š^@‡Ö‡Úˆ8ˆ8ˆ<€¢€¢ˆ@ˆ8ˆ8ˆÚ€¢€¢ˆ@‡Ü‡àŠ         LLDD€¢€¢€¢ˆ"ˆ"ˆ"€¢€¢€¢€¢€¢€¢ ˆ¬DDˆ¬D€¢€¢€¢€¢€ÀDD€ÀDˆ¢ˆ¢ˆ¢HHHH€ÀD€¢€¢ˆ¢ˆ¢ˆ¢€¢‰:DD‰:Dˆ~ˆ~ˆ~HHHH‰:D‰:DD‰:DŠÐˆ~ˆ~ŠÐˆ~ŠÐˆ~HHHH‰:D‡°‡°€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢NN‡Ð‡ÔHHH€¢€¢€¢JŠ<Š<JŠ<JŠ<JŠ<Š<JŠ<€¢€¢€¢JŠ<ˆ¢ˆ¢ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ°ˆ"ˆ¬ˆ"ˆ¬ŠŠˆ¬Šˆ¬Šˆ¬ŠŠˆ¬Šˆ°Šˆ¬Šˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ°ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ°ˆ"ˆ¬ˆ"ˆ¬ŠŠˆ¬Šˆ¬Šˆ¬ŠŠˆ¬Šˆ°Šˆ¬Šˆ¬ŠŠˆ¬Šˆ¬Šˆ¬ŠŠˆ¬Šˆ°Šˆ¬Šˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ°ˆ"ˆ¬ˆ"€Àˆ"ˆ"€Àˆ"€Àˆ"€ÀŠŠ€ÀŠ€ÀŠ€Àˆ"ˆ"€Àˆ"€Àˆ"€Àˆ"ˆ"€Àˆ"€Àˆ"€ÀŠŠ€ÀŠ€ÀŠ€ÀŠŠ€ÀŠ€ÀŠ€Àˆ"ˆ"€Àˆ"€Àˆ"ˆ¢ˆ¢Œ¦Œ¦ˆ8ˆ8ˆ<€¢€¢ˆ@ˆ8ˆ8ˆB€¢€¢ˆ@ˆ8ˆ8ˆ¤€¢€¢ˆ@ˆ8ˆ8ˆÚ€¢€¢ˆ@‡Ð‡Ôˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ°ˆ"ˆ¬ˆ"ˆ¬ŠŠˆ¬Šˆ¬Šˆ¬ŠŠˆ¬Šˆ°Šˆ¬Š€¢€¢€¢PPPHHH <<<<<<<  <<<<<<<‡Ö‡Ú  ‡Ö‡Ú  €Àˆ"ˆ"€Àˆ"€Àˆ"€ÀŠŠ€ÀŠ€ÀŠˆ¢ˆ¢‡Ð‡Ôˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ¬ˆ"ˆ"ˆ¬ˆ"ˆ°ˆ"ˆ¬ˆ"€¢€¢€¢$$$(((ˆ¸ˆ¸ˆ¸HHHRRRTTT€¢€¢€¢VVV‰Ä‰Ä‰ÄJJPPPJ €¢€¢€¢ €¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢  €¢€¢€¢   <<<‡Ö‡Ú  €¢€¢€¢   <<<‡Ö‡Ú    ‡Ö‡Ú    ‡Ö‡Ú  <<<   ‡Ö‡Ú  <<<   ‡Ö‡Ú €Àˆ"ˆ"€Àˆ"€Àˆ"‰Ä‰Ä‰Äˆ¢ˆ¢‡Ð‡ÔŒBŒBŒB¬¬¬ €¢€¢€¢  €¢€¢€¢  <ŒHŒH<ŒH<ŒH<ŒHŒH<ŒH€¢€¢€¢€¢€¢€¢<ŒH<ŒHŒH<ŒH€¢€¢€¢<ŒH €¢€¢€¢  €¢€¢€¢€¢€¢€¢€¢€¢€¢ BBB   ‡°‡°‡Ð‡Ô€¢€¢€¢<‹¤‹¤<‹¤<‹¤<<<<<<<XXX€¢€¢€¢  ‡°‡°‡Ð‡Ô‡°‡°¢¢‡Ð‡ÔZZZ\\€¢€¢€¢^^^\^^ˆ†ˆ†ˆ†^``€¢€¢€¢ˆ†ˆ†ˆ†^^^   <<<`‡°‡°¢¢‡Ð‡Ô``ˆ†ˆ†ˆ†   <<<`‡°‡°¢¢‡Ð‡Ô€¢€¢€¢€¢€¢‡Ö‡Ú€¢‡°‡°¢¢‡Ð‡Ô                               HHHHHH¬¬¬   ˆ†ˆ†ˆ†   €¢€¢€¢ˆ†ˆ†ˆ†ˆ†ˆ†   ˆ†Š¾Š¾‡Ð‡Ô‡°‡°¢¢‡Ð‡Ôbbb€¢€¢ˆ†ˆ†ˆ†€¢‡°‡°ˆ8ˆ8ˆ<€¢€¢ˆ@ˆ8ˆ8ˆB€¢€¢ˆ@ˆ8ˆ8ˆÚ€¢€¢ˆ@¢¢‡Ð‡ÔdddHHH €¢€¢€¢€¢€¢€¢€¢€¢€¢ ˆ†ˆ†ˆ†  €¢€¢€¢€¢€¢€¢   €¢€¢€¢€¢€¢€¢€¢€¢€¢ Š¾Š¾ˆ†ˆ†ˆ†Š¾‰&‰&ˆ†ˆ†ˆ†Š¾Š¾Š¾‰&ˆ†ˆ†‡Ð‡Ô€¢€¢‡Ö‡Ú€¢€¢€¢€¢€¢€¢‡Ö‡Ú€¢€¢€¢€¢€¢€¢€¢ ‡°‡°‡Ð‡Ô‡°‡°‡Ð‡Ôˆ¢ˆ¢‡Ð‡Ôˆ¢ˆ¢‡Ð‡Ô‡°‡°‡Ð‡Ô‡°‡°‡Ð‡Ô‡°‡°‡Ð‡Ô‡°‡°‡Ð‡ÔJffJfJfJBBJB€¢€¢€¢JBJHHJH€¢€¢€¢JH‡°‡°‡Ð‡Ô‡°‡°ˆ¢ˆ¢‡Ð‡ÔJŠ@Š@JŠ@JŠ@J€¢€¢J€¢J€¢JJŠ@Š@Š@JJJ€¢€¢€¢J‡°‡°„<ŠRŠR„<ŠR‰ +ŠRŠR‰ +ŠR‡ìŠRŠR‡ìŠR<ŠRŠR<ŠR‡Ð‡Ô   ŠRŠR   ŠR   ŠRŠRŠR   ŠRŠRŠRŠRŠRŠRŠRŠRŠRŠRŠR   ŠRŠRŠR   ŠR‡°‡°ˆ8ˆ8ˆ<€¢€¢ˆ@‡Ð‡ÔŠšŠš‡Ð‡Ô‡°‡°‡Ð‡Ôˆ†ˆ†Š:Š:¢¢‡Ð‡ÔŠêŠê‚z‚z¬‡Ð‡Ô€¢€¢€¢HH<H   ‚z‚z¬‚z‚z¬‚z¬‚z¬HH‚z¬¬‚z¬‚z¬H‚z‚z¬‚z‚z¬‚z¬‚z¬HH‚z¬¬‚z¬‚z¬HHH‚n¬¬‚n¬‚n¬H‚n‚n¬‚n¬‚n‚n¬‚n¬‚n‚n¬‚n¬‚n‚n¬‚n¬¬¬¬¬¬¬¬¬¬¬¬¬hhhhhhhhhhhhhhh¬¬‡Ö‡Ú¬¬¬¬¬¬¬ ¬¬‡Ö‡Ú¬¬¬¬¬¬¬ ¬¬¬¬¬¬ ¬¬¬¬¬¬                ‡°‡°‡Ð‡ÔŠšŠš‡Ð‡Ô‡°‡°‡Ð‡Ôjjj‡°‡°‡Ð‡Ô‡°‡°„<‹@‹@„<‹@‰ +‹@‹@‰ +‹@<‹@‹@<‹@‡ì‹@‹@‡ì‹@‡Ð‡Ô   ‹@‹@   ‹@   ‹@‹@‹@   ‹@‹@‹@‹@‹@‹@‹@‹@‹@‹@‹@   ‹@‹@‹@   ‹@‡°‡°¢¢‡Ð‡Ôˆ~ˆ~   ‡Ö‡Úˆ~‰Ø‰Ø¢¢‡Ð‡Ô‰Ø‰Ø¢¢‡Ð‡Ô‰Ø‰Ø¢¢‡Ð‡Ô‰Ø‰ØŠŠ¢¢‡Ð‡Ô‰Ø‰Ø¢¢‡Ð‡Ô‡°‡°‡Ð‡Ô‡°‡°‡Ð‡Ôˆ¢ˆ¢‡Ð‡Ô€¢€¢€¢€¢€¢€¢llllllˆ"ˆ"‡Ð‡Ô€¢€¢€¢PPPnnnnnn‡°‡°‡Ð‡Ô‡°‡°‡Ð‡Ô‡°‡°„<ˆ†ˆ†„<ˆ†‰ +ˆ†ˆ†‰ +ˆ†‡ìˆ†ˆ†‡ìˆ†<ˆ†ˆ†<ˆ†¢¢‡Ð‡Ô   ˆ†ˆ†   ˆ†   ˆ†ˆ†ˆ†   ˆ†ˆ†ˆ†ˆ†ˆ†ˆ†ˆ†ˆ†ˆ†ˆ†ˆ†   ˆ†pp€¢€¢€¢ppp€¢€¢€¢€¢€¢€¢ppp   ppp€¢€¢€¢ppp€¢€¢€¢€¢€¢€¢ppppppppppppp‡°‡°¢¢‡Ð‡Ô‡°‡°‡Ð‡ÔŠ¨Š¨Š¨€¢€¢€¢€¢€¢€¢rr‡Ð‡Ô<<<PPP‰ú‰ú‰ú‰ú‰ú‰ú€¢€¢€¢€¢€¢€¢‹P‹P‹P€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢‰ú‰ú‰ú‰ê‰ê¢¢‡Ð‡Ôrr‡Ð‡Ô<<<PPPŠŠŠŠŠŠŠŠŠ‡°‡°„<ŒÊŒÊ„<ŒÊ‰ +ŒÊŒÊ‰ +ŒÊ‡ìŒÊŒÊ‡ìŒÊ<ŒÊŒÊ<ŒÊ‡Ð‡Ô   ŒÊŒÊ   ŒÊ   ŒÊŒÊŒÊ   ŒÊŒÊŒÊŒÊŒÊŒÊŒÊŒÊŒÊŒÊŒÊ   ŒÊŒÊŒÊ   ŒÊ‡°‡°„<‰‰„<‰‰ +‰‰‰ +‰<‰‰<‰‡ì‰‰‡ì‰‡Ð‡Ô   ‰‰   ‰   ‰‰‰   ‰‰‰‰‰‰‰‰‰‰‰   ‰Š\Š\€¢€¢€¢Š\‰‰   ‰‡°‡°‡Ð‡Ôˆ¢ˆ¢‡Ð‡Ô‡°‡°‡Ð‡Ôttt   vvv‡°‡°‡Ð‡Ôxxx   zzzˆ"ˆ"‡Ð‡Ô€¢€¢€¢PPP|||‡°‡°‡Ð‡Ô‡°‡°‡Ð‡Ôvvv   €¢€¢€¢~~~‡°‡°‡Ð‡Ô€¢€¢€¢222€€€€€€‡°‡°‡Ð‡Ôzzz   ttt‡°‡°‡Ð‡Ô€¢€¢€¢222‚‚‚‚‚‚‡°‡°‡Ð‡Ô<‚‚<‚<‚222„„„„„„‡°‡°‡Ð‡Ô€¢€¢€¢   ††††††‡°‡°‡Ð‡Ô<††<†<†ˆˆˆ‡°‡°‡Ð‡Ô€¢€¢€¢   ŠŠŠŠŠŠ‡°‡°  €¢€¢€¢   <<<  €¢€¢€¢   <<<        <<<     <<<    ‡°‡°ŒŒ‡Ð‡Ô‹ò‹ò‹ø‹ø‹ü‹ü‡Ð‡Ô‡°‡°‡Ð‡Ô„D€¢€¢€¢€¢„D€¢€¢ˆ~ˆ~ˆ~ˆ~ P€¢€¢€¢€¢P€¢€¢P€¢€¢ P + +P + +P + +HH<<<H€¢€¢€¢€¢€¢€¢€¢€¢€¢   €¢€¢€¢€¢€¢€¢ €¢€¢ .€¢€¢.€¢.€¢.€¢€¢.€¢.€¢HHHHHHHHpppHŽŽˆ~ˆ~ˆ~HH<<<H€¢€¢<<<€¢ €¢€¢€¢€¢€¢€¢ €¢€¢<<<TX€¢   HHpppH€¢€¢ˆ~ˆ~ˆ~€¢€¢€¢TX€¢ŽŽ€¢€¢€¢ˆ~ˆ~ˆ~€¢HH<<<H€¢€¢<<<€¢ €¢€¢€¢€¢€¢€¢ €¢€¢<<<TX€¢   HHpppH€¢€¢€¢€¢€¢ˆ~ˆ~ˆ~€¢€¢€¢TX€¢„D€¢€¢€¢€¢„D€¢€¢P€¢€¢€¢€¢P€¢€¢P€¢€¢P€¢€¢ P€¢€¢€¢€¢P€¢€¢P€¢€¢ P + +P + +P + +HH<<<HHH<<<H€¢€¢<<<€¢ €¢€¢€¢€¢€¢€¢ €¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢<<<€¢   €¢€¢€¢€¢€¢€¢ €¢€¢ .€¢€¢.€¢.€¢.€¢€¢.€¢.€¢   HHHHHH€¢€¢€¢€¢€¢€¢HH€¢€¢€¢H€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢HHHH€¢€¢€¢€¢€¢€¢€¢ˆ¢ˆ¢‹ª‹ª‹ª‹R‹R‹RHHHŠÂŠÂŠÂŠÂŠÂŠÂŠÂŠÂŠÂ  €¢€¢€¢<‹ ‹ <‹ <‹  €¢€¢€¢      ƒ@€¢€¢ƒ@€¢HH€¢€¢€¢HHHHHHHHH<<<HHH€¢€¢€¢HHH<<<H .€¢€¢.€¢.€¢  .<<.<.<  .€¢€¢.€¢.€¢HHH ŠìŠìˆ~ˆ~ˆ~¬¬¬¬¬¬‚ ‚ ¬¬¬¬¬¬<ˆ~ˆ~<ˆ~<ˆ~<ˆ~ˆ~<ˆ~<ˆ~  ŠìŠì¬¬¬¬¬¬¬¬¬¬¬¬ŠìŠì¬¬¬¬¬¬¬¬¬¬¬¬ŠìŠì¬¬¬¬¬¬¬¬¬¬¬¬‚z¬¬‚z¬ˆ~ˆ~ˆ~ˆ~¬¬¬¬¬¬¬¬¬¬¬¬‚ ‚ ¬¬<€¢€¢<€¢<€¢€¢€¢€¢¬¬¬¬¬¬¬€¢€¢€¢HH<H   ‚z¬¬‚z¬‚z¬¬‚z¬‚z¬‚z¬HH‚z¬¬‚z¬‚z¬H‚z¬¬‚z¬‚z¬¬‚z¬‚z¬‚z¬HH‚z¬¬‚z¬‚z¬HHH‚n¬¬‚n¬‚n¬H‚n¬¬‚n¬‚n¬‚n¬¬‚n¬‚n¬‚n¬¬‚n¬‚n¬‚n¬¬‚n¬‚n¬<€¢<€¢€¢€¢€¢‰‰.ˆ~ˆ~.ˆ~.ˆ~<‰‰<‰<‰.ˆ~ˆ~.ˆ~.ˆ~.ˆ~<‰ƒ@€¢€¢ƒ@€¢ƒ@€¢ ƒ@€¢€¢ƒ@€¢ƒ@€¢ ƒ@€¢€¢ƒ@€¢ƒ@€¢ƒ@€¢BHH€¢€¢€¢HHHHHH<<<H‰‰ˆ~ˆ~ˆ~ˆ~ƒ@€¢€¢ƒ@€¢ƒ@€¢ ƒ@€¢€¢ƒ@€¢ƒ@€¢   HHHHHH HH<<<HHH€¢€¢€¢HHH<<<HHH€¢€¢€¢HHHH .€¢€¢.€¢.€¢  .<<.<.<  .<<.<.<  HH€¢€¢€¢H€¢A  HH€¢€¢€¢H€¢A HHˆ~ˆ~ˆ~<<<HHHˆ~ˆ~ˆ~€¢€¢€¢TXHHHˆ~ˆ~ˆ~€¢€¢€¢TXHHHˆ~ˆ~ˆ~€¢€¢€¢HHHHHHˆ~ˆ~ˆ~€¢€¢€¢HHHˆ~ˆ~ˆ~€¢€¢€¢HHHH ˆ~ˆ~ˆ~.€¢€¢.€¢.€¢  ˆ~ˆ~ˆ~.<<.<.<  ˆ~ˆ~ˆ~HH€¢€¢€¢H€¢AHHH ‹b‹bˆ~ˆ~ˆ~‹b  ‹b‹b‹b HH‹b‹b‹b€¢€¢€¢HHH‹b‹b‹b€¢€¢€¢H ‹b‹b‹b€¢€¢€¢  ‹b‹b‹b€¢€¢€¢ HH‹b‹b‹b€¢€¢€¢HHH‹b‹b‹b€¢€¢€¢HHHH¬¬¬€¢€¢€¢¬¬¬¬¬¬¬¬¬€¢€¢€¢€¢€¢€¢¬¬¬ˆ"ˆ"ˆ"ˆ"ˆ"ˆ"€¢€¢€¢€¢€À +€À +ˆ¢ˆ¢ˆ¢HHHH€À +‰: +‰: +ˆ~ˆ~ˆ~HHHH‰: +‰: +‰: +ŠÐˆ~ˆ~ŠÐˆ~ŠÐˆ~HHHH‰: +€¢€¢ˆ¢ˆ¢ˆ¢€¢ˆ"ˆ"ˆ"€À +€À +€À +€À +€¢€¢€¢€À +„  +„  +  + +  +$„  +ˆ"ˆ"ˆ"€À +€À +ˆ¢ˆ¢ˆ¢€¢€¢€¢HHHˆ¢€¢H€À +€À + „  +„  +„  + „  + „  +„  +„  + „  +€À +HHH„  +„  +  + +  +$ƒƒƒ  HHHTX„  +ˆ"ˆ"ˆ"€¢€¢€¢HHHˆ"ˆ"ˆ"’ +’ +‰: +‰: +€À +€À +€¢€¢€¢€À +„  +„  +  + +  +$„  +ˆ"ˆ"ˆ"€À +€À +‰: +‰: +.ˆ~ˆ~.ˆ~.ˆ~HHH€¢€¢€¢.ˆ~€¢H€À +€À +€¢€¢€¢€À +„  +„  +  + +  +$ƒƒƒ  HHH„  +„  +„  +  + +  +$„  +€À +€À + „  +„  +„  + „  + „  +„  +„  + „  +€À +HHHˆ"ˆ"ˆ" + +ˆ"ˆ"ˆ"„  +„  +   ˆ¢ˆ¢ˆ¢€¢€¢€¢‰žˆ"$‰žˆ"$‰žHHHˆ¢€¢  + +  +$HJJJHHH   + +  +$  ƒƒƒ     JJJ HHH   J +J + + +J +ˆ"ˆ"ˆ"€À +€À +  + + ˆ"ˆ"ˆ"€À +€À +” +” +…T +…T +…T +€¢€¢€¢€¢€¢€¢„  +„  +  + +  +$ƒƒƒ  HHH„  +€À +€À + „  +„  +„  + „  + „  +„  +„  + „  +€À +HHH  + + –˜˜–˜”˜˜”˜€¢€¢€¢ ˜˜˜ …T +…T +…T +P€À +„  +€À +€À +€À + €À +€À +€À +  €À +€À +€À +  ˆ"ˆ"ˆ"ˆ¬ +ˆ¬ +€À +€À +ˆ¢ˆ¢ˆ¢HHHH€À +‰: +‰: +ˆ~ˆ~ˆ~HHHH‰: +‰: +‰: +ŠÐˆ~ˆ~ŠÐˆ~ŠÐˆ~HHHH‰: +€¢€¢ˆ¢ˆ¢ˆ¢€¢€¢€¢€¢‰"‰"ƒ@€¢€¢ƒ@€¢ƒ@€¢<€¢€¢€¢<€¢<€¢€¢€¢<€¢šššP€¢€¢ƒƒP€¢ƒP€¢ƒšššHHˆ~ˆ~ˆ~HHHˆ~ˆ~ˆ~€¢€¢€¢€¢€¢€¢HHHˆ~ˆ~ˆ~€¢€¢€¢€¢€¢€¢œœœHHHˆ~ˆ~ˆ~€¢€¢€¢€¢€¢€¢œœœH< +< +ƒ: +ƒ: +ƒ: +  + +  . +. +. +    + + + +  +  +  ƒJƒJƒJ     + +    . +. +. +    . +. +. +  +   + + +HH<<<H HH + +H +  HH + +H +      . +. +. +              . +. +. +       + +                                                                                                                                                                                                                                                                                                                                                                                       HH   H€¢€¢   €¢                   €¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢ˆ¬˜˜ˆ¬˜<˜˜<˜<˜€¢€¢€¢ˆ¢ˆ¢ˆ¢   žžž€¢P€¢€¢  P€¢ P€¢  ¤   ¦   ¨   ª   ¬   ®   °   ²   ´   ¶   ¸   º   ¼   ¾   À   Â   Ä   Æ   È   Ê   Ì   Î   Ð  P€¢ ”˜˜”˜ˆ¢ˆ¢ˆ¢HHHH”˜€¢€¢ˆ¢HHH  ‰2‰2‰2  ‰2‰2‰2 HH˜˜˜H  ‰2‰2‰2  ‰2‰2‰2  ‰2‰2‰2  ‰2‰2‰2 ”˜˜”˜ˆ¢ˆ¢ˆ¢”˜”˜˜”˜ˆ¢ˆ¢ˆ¢”˜”˜˜”˜ˆ¢ˆ¢ˆ¢”˜‰"‰"<‰"‰"<‰"<‰" ššš  ššš   €¢€¢€¢  ššš   €¢€¢€¢ššš.€¢€¢.€¢.€¢.€¢€¢.€¢.€¢  €¢€¢€¢€¢€¢€¢ššš.€¢€¢.€¢.€¢.€¢€¢.€¢.€¢  €¢€¢€¢ššš.€¢€¢.€¢.€¢.€¢€¢.€¢.€¢   ‰"‰"‰" HHˆ~ˆ~ˆ~HHHˆ~ˆ~ˆ~€¢€¢€¢€¢€¢€¢H‰"‰"ƒ@€¢€¢ƒ@€¢ƒ@€¢ƒ@€¢€¢ƒ@€¢ƒ@€¢ƒ@€¢€¢ƒ@€¢ƒ@€¢šššššššššš.€¢€¢.€¢.€¢.€¢€¢.€¢.€¢.€¢€¢.€¢.€¢HHˆ~ˆ~ˆ~HHHˆ~ˆ~ˆ~€¢€¢€¢€¢€¢€¢HÒÒHHHHHHššš.€¢€¢.€¢.€¢.€¢€¢.€¢.€¢.€¢€¢.€¢.€¢HHHHHHHHˆ~ˆ~ˆ~HHHˆ~ˆ~ˆ~€¢€¢€¢€¢€¢€¢HÒÒ<€¢€¢€¢<€¢ƒ@€¢€¢ƒ@€¢ƒ@€¢HHˆ~ˆ~ˆ~€¢€¢€¢€¢€¢€¢H‰"‰"HHˆ~ˆ~ˆ~HHHˆ~ˆ~ˆ~€¢€¢€¢€¢€¢€¢H€¢€¢€¢€¢€¢€¢€¢€¢€¢ˆ†ˆ†ˆ†„b +„b +ˆ„ˆ„<ˆ†ˆ†<ˆ†<ˆ†<ˆ†ƒ: +ƒ: +ƒ: +     + + HH<<<H  +   +    + +      + + + +  +  +  <<<      <<<        + +  +   +     . +. +. +              . +. +. +       + + <ˆ†ˆ†<ˆ†<ˆ†ˆ†ˆ†ˆ†ƒ: +ƒ: +ƒ:ˆ†ˆ†ƒ:ˆ†ƒ:ˆ†ƒ:ˆ†HHH + +‹^‹^€¢€¢€¢‹^‹^‹^‹^`HHH‹^ƒ: +ƒ: +< +< +< +      + +< +< +< +HHH + +ƒ: +ƒ: +< +< +< +    + +< +< +< +HHH + +     ÖÖ HHHŒBŒBŒB HHH<<<  <<<  <<<  €¢€¢€¢  <<<  <<<<<<  <<<  <<<  <<<  <<<   <<<  <<<  <<<<€¢€¢<€¢<€¢  €¢€¢€¢  €¢€¢€¢  €¢€¢€¢<<<  <<<  <<<  €¢€¢€¢  €¢€¢€¢  <<<  <<< ŠÂŠÂŠÂˆ¢ˆ¢ˆ¢ˆ¢ˆ¢ˆ¢ˆ~ˆ~ˆ~€¢€¢€¢€¢€¢€¢ €¢€¢€¢PPPƒƒƒˆ~ˆ~ˆ~ ‹Z‹ZŠ¾Š¾Š¾ƒ"ƒ"ƒ"€¢€¢€¢ˆ~ˆ~ˆ~ˆ~ˆ~ˆ~ŠÂŠÂ‹R‹R‹R‹ª‹ª‹ªHHHŠÂŠÂŠÂŠÂŠÂŠÂŠÂŠÂŠÂ  €¢€¢€¢<<< ŠÂŠÂŠÂ‹‹‹ €¢€¢€¢‰žˆ"$‰žˆ"$‰žHHH  €¢€¢€¢‰žˆ"$‰žˆ"$‰žHHH HHˆ"ˆ"ˆ"H €¢€¢€¢‰žˆ"$‰žˆ"$‰žHHH  €¢€¢€¢‰žˆ"$‰žˆ"$‰žHHH ‹ª‹ª€¢€¢€¢   ‹ª‹ª‹ª‹R‹R     ‹R‹R‹RLL‰2‰2‰2‰2‰2HHH         HHH       HHHˆ¢ˆ¢ˆ¢‹j‹j‹j‰2‰2‰2€¢€¢€¢‰¼‰¼‰¼HHHHHHHH          HHHHHHHHHHHHHHHHˆ¢ˆ¢ˆ¢HHHˆ¢ˆ¢ˆ¢€¢€¢     €¢ˆ¬˜˜ˆ¬˜ˆ¬˜ˆ¬˜˜ˆ¬˜ˆ¬˜ˆ¬˜˜ˆ¬˜ˆ¬˜€¢€¢€¢HHH   HHH€¢€¢€¢   HHHHHHŠÂŠÂŠÂ €¢€¢€¢HHHHHH‰¼‰¼‰¼   €¢€¢€¢       €¢€¢€¢ €¢€¢€¢HHHHHH‰¼‰¼‰¼€¢€¢€¢   HHHHHHHHHHHH HH€¢€¢€¢HHHHHHH‚HHHHˆ"ˆ"ˆ"ˆ"ˆ"€¢€¢€¢ˆ"HHHHHHHHHˆ¢ˆ¢ˆ¢HHH   HHHˆ¢ˆ¢ˆ¢BBB€¢€¢€¢ €¢€¢€¢HHHHHH    <ˆ¢ˆ¢<ˆ¢<ˆ¢ˆ~ˆ~ˆ~<ˆ†ˆ†<ˆ†<ˆ†‚‚  + +  +  +  + +  +  +  + + + +  + +  + +  + + + +  + +  + +€¢€¢€¢ˆ~ˆ~ˆ~ˆ~ˆ~€¢€¢€¢ŠÐ +ŠÐ +ŠÐ +ˆ~ˆ~ˆ~ˆ~ˆ~ˆ~ššš‰"‰"‰"HHˆ~ˆ~ˆ~HHHˆ~ˆ~ˆ~€¢€¢€¢€¢€¢€¢H‰"‰"‰" ˆ†ˆ†ˆ† ØØØÜ؉$‰$ˆ†ˆ†ˆ† HH€¢€¢€¢HššÞÞÞHH€¢€¢€¢H‰"‰"‰"‰"‰"‰"HHˆ~ˆ~ˆ~HHHˆ~ˆ~ˆ~€¢€¢€¢€¢€¢€¢H‰$‰$‰"‰"‰"   ‰" ˆ†ˆ†ˆ†  ˆ†ˆ†ˆ†ˆ†ˆ†ˆ†  ˆ†ˆ†ˆ†  ˆ~ˆ~ˆ~ˆ†ˆ†ˆ†HHH€¢€¢€¢€¢€¢€¢PPP€¢€¢€¢  ˆ†ˆ†ˆ†ˆ†ˆ†ˆ† €€‚Œ€‚…øà…Þ‚fà‚Ž‚’                      HHH€¢€¢€¢€¢€¢€¢ƒƒ€¢€¢€¢ƒƒTX     €¢€¢€¢   €¢ î TX€¢€¢€¢<  < <    <  <  < <      ððð<  < < HHH          ‚Ž‚’       ‚Ž‚’       ‚Ž‚’         ‚Ž‚’       ‚Ž‚’       ‚Ž‚’       ‚Ž‚’       ‚Ž‚’       ‚Ž‚’       ‚Ž‚’       ‚Ž‚’       ‚Ž‚’       ‚Ž‚’       ‚Ž‚’öööööúúööööþö‚Ž‚’€ô<  < <  < €ô< < HHH         HHH<  < <  ŽŽ   ŽŽ   ŽŽ   ŽŽ +  < HHHHŽŽŽ  ŽŽŽ  ŽŽŽ  ŽŽŽ +  ŽHŽHŽŽŽŽŽŽŽŽ Ž Ž Ž Ž Ž$Ž$Ž Ž Ž Ž Ž&Ž ‚Ž‚’€ô<  < <  < €ô< < HHH         <  < < HHH ŽŽ   ŽŽ   ŽŽ   ŽŽ +  < HHHHŽ*ŽŽ  Ž,ŽŽ  Ž.ŽŽ  Ž0ŽŽ +  Ž2HŽ4HŽ6ŽŽŽŽŽŽ€¬<  < <  < €¬< < HHH         <  < < HHHHH ŽŽ   ŽŽ   ŽŽ   ŽŽ +  < HH<  < <  < < < €Ò€Ò€¸<  < €¸< €¸< €Ò€¬<  < <  < €¬< <    <  < < HHH ŽŽ  < HH<  < <  < < < €Ò€Ò€¸<  < €¸< €¸< €ÒHHHH   ŽŽ    ŽŽ    ŽŽ    ŽŽ +  <  < < HHHH   ŽŽ  <  < < HHHH <  < <      <  < HHHHHHHH< Ž8Ž8HHH         <  < < HHHŽ8Ž8Ž8   <  < < HHHŽ8€Ò€Ò„.„.„. <  < <   <  < <      HHH  Ž:Ž:€Ò€Ò€ÒHHH         <  < < HHHŽ:Ž:€Ò€Ò€Ò   <  < < HHH€Ò€ÒŽ8Ž8Ž8€Ò€Ò€ÒHHHHHH€ÒŽ8 <  < <   <  < <      HHH              Ž@Ž@TX€¢€¢€¢€¢€¢€¢TXTXƒ¢ƒ¢ƒ¢ŽFŽFŽFƒ¢ƒ¢ƒ¢  JŽFŽFJŽFHHHHJŽF HHHH ŽFŽFŽFJŽFŽFJŽF€¢€¢€¢JŽFŽFŽF€¢€¢€¢ŽFJ€¢€¢J€¢J€¢€¢€¢€¢JŽFŽFJŽF€¢€¢€¢JŽFŽFŽF€¢€¢€¢ŽFŽFŽFŽF€ÀŽ@Ž@€ÀŽ@HHHHHHHH€ÀŽ@<Ž@Ž@<Ž@HHHHHHHH<Ž@€¢€¢€¢Ž@Ž@ŽFŽF€¢€¢€¢€¢€¢€¢€¢€¢€¢ŽLŽLŽLŽLŽLŽLŽLŽLŽL€¢€¢ŽLŽLŽL€¢ŽLŽLŽLŽLŽLŽLŽLŽLŽLHHHŽLŽLŽL€¢€¢€¢ ŽLŽLŽL<Ž@Ž@<Ž@<Ž@HHHHHH ŽFŽFŽF  ƒ¢ƒ¢ƒ¢JHHJHJHHHHŽFŽFŽFJŽFŽFJŽFHHHHJŽF HHHH ŽFŽFŽFJŽFŽFJŽF€¢€¢€¢JŽFŽFŽF€¢€¢€¢ŽFJŽFŽFJŽFHHHHJŽF HHHH JŽFŽFJŽF€¢€¢€¢JŽFŽFŽF€¢€¢€¢ŽF€ÀŽ@Ž@€ÀŽ@HHHHHHHH€ÀŽ@<Ž@Ž@<Ž@HHHHHHHH<Ž@€¢€¢€¢HHH€¢€¢€¢ + + +€¢€¢€¢ +                                 HHHHHH…TŽ@HHHHHHHHHŽRŽRŽR„þ„þ„þHH   €ÀŽ@Ž@€ÀŽ@€ÀŽ@  JJJ     TXHHHHHHTXHHHTXHHHTXHHHTXHHHTX €¢€¢€¢TX  <<<…æ…æ…æ   ŽXŽXŽXŽ\Ž\ ŽXŽXŽ`ŽX‚Ž‚’ŽXŽXŽXŽ\Ž\ ŽXŽXŽbŽX‚Ž‚’ŽXŽXŽXŽ\Ž\ ŽXŽXŽdŽX‚Ž‚’ŽXŽXŽXŽ\Ž\ ŽXŽXŽfŽX‚Ž‚’ŽXŽXŽXŽ\Ž\ ŽXŽXŽhŽX‚Ž‚’    ŽXŽXŽ`ŽXŽX‚Ž‚’ŽXŽXŽbŽXŽX‚Ž‚’ŽXŽXŽdŽXŽX‚Ž‚’ŽXŽXŽfŽXŽX‚Ž‚’ŽXŽXŽhŽXŽX‚Ž‚’ŽjŽjŽjŽnŽn ŽjŽjŽrŽj‚Ž‚’ŽjŽjŽjŽnŽn ŽjŽjŽtŽj‚Ž‚’ŽjŽjŽjŽnŽn ŽjŽjŽvŽj‚Ž‚’ŽjŽjŽjŽnŽn ŽjŽjŽxŽj‚Ž‚’    Ž@Ž@TX€¢€¢€¢TXƒ¢ƒ¢ƒ¢TXJŽzŽzJŽzHHHHJŽz HHHH JŽzŽzJŽz€¢€¢€¢JŽzŽzŽz€¢€¢€¢ŽzJŽzŽzJŽz€¢€¢€¢JŽzŽzŽz€¢€¢€¢ŽzJ  J J    ŽzŽzŽzJ‚²‚²J‚²J‚²‚²‚²‚²JJ‚²‚²‚²J ‚²‚²‚² J‚²‚²J‚²J‚²‚²‚²‚²JJ‚²‚²‚²J ‚²‚²‚² JŽ|Ž|JŽ|ŽXŽXŽXŽXŽ`ŽXŽXJŽ|Ž|Ž|ŽXŽXŽXŽXŽ`ŽXŽXŽ|€À<  < €À<      €À< Ž‚Ž‚ŽXŽXŽXŽXŽbŽXŽX€”€”€”ƒ¶‚Ž‚JJJJ€¢€¢J€¢€”€”€”ƒ¶‚J€¢€¢€¢€”€”€”ƒ¶‚€¢J<€¢€¢<€¢J<€¢€”€”€”ƒ¶‚J<€¢<€¢€¢<€¢€”€”€”ƒ¶‚<€¢JŽzŽzJŽz<  < < ŽXŽXŽXŽXŽbŽXŽXHHHHJŽz <  < < ŽXŽXŽXŽXŽbŽXŽXHHHH JŽzŽzJŽz€¢€¢€¢ŽXŽXŽXŽXŽbŽXŽX€”€”€”ƒ¶‚HHHHJŽz €¢€¢€¢ŽXŽXŽXŽXŽbŽXŽX€”€”€”ƒ¶‚HHHH €¢€¢€¢J J J  J  J J    JJ   J   J  J <  < <       J   <  < <        JŽ|Ž|JŽ|   JŽ|     JŽ|Ž|JŽ|<  < <       JŽ| <  < <       JŽ|Ž|JŽ|€¢€¢€¢€”€”€”ƒ¶‚JŽ| €¢€¢€¢€”€”€”ƒ¶‚ J  J J    JŽ|Ž|JŽ|   JŽ|   JŽ|Ž|JŽ|   JŽ|   J  J J    JŽ|Ž|JŽ|JŽ| JŽ|Ž|JŽ|ŽjŽjŽjŽjŽtŽjŽj        JŽ| ŽjŽjŽjŽjŽtŽjŽj        JŽ|Ž|JŽ|        JŽ|        €¢€¢€¢€¢€¢€¢Ž„Ž„TX€¢€¢€¢€¢€¢€¢êêꀢ€¢êTX€¢€¢€¢     ‚ˆ €À<  < €À< …T…T…T€¢€¢€¢Ž|Ž|Ž|     „þ„þ„þHHHHHHHHHHHH€¢    „ „   $ƒƒƒ  HHH„ JJJ  …2<  < …2< ŽzŽzŽzJŽ|Ž|JŽ|JŽ|ŽzŽzŽzŽXŽXŽX   JŽzŽzJŽz€À<  < €À< €À< JŽzJŽzŽzJŽzJŽzŽ@Ž@ŽzŽz€¢€¢€¢€¢€¢€¢€¢€¢€¢   JJ   <<<JJHHJHJHŽLŽLŽLHHHŽzŽzŽzJŽzŽzJŽzHHHHJŽzŽLŽLŽLŽLŽLŽL€¢€¢€¢ŽLŽLŽL HHHH JŽzŽzJŽzHHHHJŽzŽLŽLŽLŽLŽLŽL HHHH JŽzŽzJŽz€¢€¢€¢JŽzŽLŽLŽL€¢€¢€¢ŽLŽLŽL€¢€¢€¢ŽzŽz€¢€¢€¢ŽzJŽzŽzJŽz€¢€¢€¢JŽzŽLŽLŽL€¢€¢€¢ŽzŽz€¢€¢€¢ŽzJŽ|Ž|JŽ|ŽXŽXŽXŽXŽ`ŽXŽXJŽ|J  J J ŽLŽLŽL   J‚²‚²J‚²J‚²ŽLŽLŽL‚²‚²‚²JJ‚²‚²‚²JŽLŽLŽL    ‚²‚²‚² J‚²‚²J‚²J‚²ŽLŽLŽL‚²‚²‚²JJ‚²‚²‚²JŽLŽLŽL    ‚²‚²‚² ŽLŽLŽL   Ž|Ž|ŽXŽXŽXŽXŽ`ŽXŽXŽ|     Ž|Ž|   Ž|€À<  < €À<      €À< Ž‚Ž‚ŽXŽXŽXŽXŽbŽXŽX€”€”€”ƒ¶‚Ž‚JJJ€¢€¢<  < < €”€”€”€¢J€¢€¢J€¢€”€”€”ƒ¶‚J€¢€¢€¢€”€”€”ƒ¶‚€¢J<€¢€¢<€¢J<€¢€”€”€”ƒ¶‚J<€¢<€¢€¢<€¢€”€”€”ƒ¶‚<€¢JŽzŽzJŽz<  < < ŽXŽXŽXŽXŽbŽXŽXHHHHJŽz <  < < ŽXŽXŽXŽXŽbŽXŽXHHHH JŽzŽzJŽz€¢€¢€¢ŽXŽXŽXŽXŽbŽXŽX€”€”€”ƒ¶‚HHHHJŽz €¢€¢€¢ŽXŽXŽXŽXŽbŽXŽX€”€”€”ƒ¶‚HHHH €¢€¢€¢<<<€¢€¢€¢€¢€¢€¢ + + +€¢€¢€¢ +          <  < <         <  < <                   Ž|Ž|HHH€¢€¢€¢HHHŽŠŽŠŽŠŽŽŽ   €¢ J J J  J  J J    JJ   J   J  J <  < <       J   <  < <        JŽ|Ž|JŽ|   JŽ|     JŽ|Ž|JŽ|<  < <       JŽ| <  < <       JŽ|Ž|JŽ|€¢€¢€¢€”€”€”ƒ¶‚JŽ| €¢€¢€¢€”€”€”ƒ¶‚ J  J J    JŽ|Ž|JŽ|   JŽ|   JŽ|Ž|JŽ|   JŽ|   J  J J    JŽ|Ž|JŽ|JŽ|     ŽjŽjŽj JŽ|Ž|JŽ|ŽjŽjŽjŽjŽtŽjŽj        JŽ|JŽ|Ž|JŽ|        JŽ| ŽjŽjŽjŽjŽtŽjŽj                HHH   JJ   <<<HHHHJ Ž’Ž’Ž’Ž–Ž– Ž’Ž’ŽšŽ’‚Ž‚’Ž’Ž’Ž’Ž–Ž– Ž’Ž’ŽœŽ’‚Ž‚’Ž’Ž’Ž’Ž–Ž– Ž’Ž’ŽžŽ’‚Ž‚’Ž’Ž’Ž’Ž–Ž– Ž’Ž’Ž Ž’‚Ž‚’<Ž’Ž’ŽšŽ’Ž’Ž’ŽœŽ’Ž’Ž’ŽžŽ’Ž’Ž’Ž Ž’Ž’<Ž’    Ž’Ž’   Ž’€¢€¢€¢            ‚²Ž¢‚²‚²‚²‚²‚²‚²‚²‚²‚²Ž’Ž’Ž’     ‚²‚²‚²Ž’  ŽLŽLŽL€¢€¢€¢Ž¢Ž¢€¢€¢€¢Ž¢Ž¢Ž¢€¢€¢€¢Ž¢JŽ¢Ž¢JŽ¢€¢€¢€¢JŽ¢JŽ¢Ž¢JŽ¢€¢€¢€¢JŽ¢€¢€¢€¢€¢€¢€¢      €¢€¢€¢€¢€¢€¢ƒ¢ƒ¢ƒ¢JHHJHJHHHHJŽ@Ž@JŽ@€¢€¢€¢JŽ@Ž@Ž@€¢€¢€¢Ž@J€¢€¢J€¢J€¢€¢€¢€¢JŽ¢Ž¢JŽ¢JŽ¢Ž¢Ž¢Ž¢JŽ@Ž@JŽ@HHHHJŽ@ HHHH €ÀŽ¤Ž¤€ÀŽ¤   Ž¤Ž¨  HHHH€ÀŽ¤JŽ@Ž@JŽ@HHHHJŽ@ HHHH JHHJH€¢€¢€¢€¢€¢€¢JHJHHJH€¢€¢€¢€¢€¢€¢JH‚¾‚¾‚¾HHHHH€¢€¢€¢HŽ@Ž@Ž@€¢€¢€¢  €¢€¢€¢ €¢€¢€¢€¢€¢€¢HH€¢€¢€¢€¢€¢€¢HHH€¢€¢€¢€¢€¢€¢HHHH€¢€¢€¢€¢€¢€¢JŽ’Ž’JŽ’€¢€¢€¢HHHHJŽ’Ž’Ž’€¢€¢€¢HHHHŽ’JHHJH€¢€¢€¢JHJHHJHJHJHHJH€¢€¢€¢JHJHHJH€¢€¢€¢JHHH€¢€¢€¢HHHHHH€¢€¢€¢HHH€¢€¢€¢HŽLŽLŽLHHHŽLŽLŽL€¢€¢€¢€¢€¢€¢ŽLŽLŽL‚¾‚¾‚¾€¢€¢€¢€¢€¢€¢ŽFŽFŽFŽ’Ž’HHHŽ’Ž’Ž’HHHŽ’JŽ’Ž’JŽ’HHHJŽ’JŽ’Ž’JŽ’HHHJŽ’<<<€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢     Žª     Žª ‚Ž‚’     Žª     Žª ‚Ž‚’     Žª     Žª ‚Ž‚’     Žª     Žª ‚Ž‚’   Ž¬ Ž® … + Ž° … + Ž² … +   Ž¬ Ž® … + Ž° … + Ž² … + ‚Ž‚’     Žª     Žª     Žª   €¢€¢€¢HHH €¢HŽ¤Ž¤€¢€¢€¢Ž¤Ž¤HHHH€¢€¢€¢Ž¤Ž¤€¢€¢€¢Ž¤Ž¤€¢€¢€¢€¢€¢€¢€¢€ÀŽ¤Ž¤€ÀŽ¤€¢€¢€¢   HHH€ÀŽ¤HHH€¢€¢€¢   €¢€¢€¢   Ž¸Ž¸Ž¸   €¢P€¢€¢‚P€¢P€¢P€¢€¢‚P€¢P€¢   ŽºŽº                    €¢€¢€¢P€¢€¢‚P€¢P€¢Ž¼Ž¼€¢€¢€¢P  ŽŠŽŠP ŽŠP ŽŠŽŠŽŠŽŠŽŠŽŠŽŠ.P€¢€¢‚P€¢.P€¢.P€¢J††J†J†P€¢€¢‚P€¢P€¢J††J†J†€¢€¢€¢ŽºŽº€¢€¢€¢   P  Ž¾Ž¾P Ž¾P Ž¾€¢€¢€¢ P€¢€¢‚P€¢P€¢Ž¾Ž¾Ž¾Ž¾Ž¾Ž¾.P€¢€¢‚P€¢.P€¢.P€¢J††J†€¢€¢€¢P€¢€¢€¢€¢P€¢€¢P€¢€¢J†J††J†€¢€¢€¢P€¢€¢€¢€¢P€¢€¢P€¢€¢J†„ê<  < „ê< ´´…2<  < …2< …2< €”€”€”ƒ¶‚€”€”€” <  < <   <<<  ...€¢€¢€¢  <<<     <BBB JJ€À<  < €À< €À< JJJJJJJJJJ„ê +„ê +…2 +…2 +…2 +„þ„þ„þ…T +…T +…T +„þ„þ„þHHHHHHHHH…2 +  + +  <BBB JJ€À +€À +€À +JJJJJJJ JJJ   BBB …T +…T +…T +ŽÀ<  < ŽÀ< Ž‚Ž‚€”€”€”HHH…2<  < …2< …2< €”€”€”€” €”€”€”  <<<  ...€¢€¢€¢  <<<                                                                                                                                      JJ   <<<JŽ@Ž@TX€¢€¢€¢TXTXƒ¢ƒ¢ƒ¢JŽÆŽÆJŽÆ€¢€¢€¢HHHHJŽÆ €¢€¢€¢HHHH  €¢€¢€¢ JŽÆŽÆJŽÆ€¢€¢€¢JŽÆJ€¢€¢J€¢J€¢€¢€¢€¢JŽÆŽÆJŽÆ€¢€¢€¢JŽÆŽÆŽÆ€¢€¢€¢ŽÆŽÆŽÆŽÆJ€¢€¢J€¢J€¢€¢€¢€¢Ž@Ž@ŽÆŽÆ€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢JHHJHJHHHHŽÆŽÆŽÆJŽÆŽÆJŽÆ€¢€¢€¢HHHHJŽÆ €¢€¢€¢HHHH  €¢€¢€¢ JŽÆŽÆJŽÆ€¢€¢€¢JŽÆJŽÆŽÆJŽÆHHHHJŽÆ HHHH JŽÆŽÆJŽÆ€¢€¢€¢JŽÆŽÆŽÆ€¢€¢€¢ŽÆJ€¢€¢J€¢J€¢€¢€¢€¢<<<€¢€¢€¢€¢€¢€¢HHH€¢€¢€¢€¢€¢€¢ŽLŽLŽL    TX ‚HHH‚¾€¢€¢€¢HHHHHH€¢HHHH  €¢€¢€¢ HH<ŽÌŽÌ<ŽÌ<ŽÌH€¢€¢‡2‡2€¢€¢€¢€¢ŽÌŽÌŽÌ<ŽÌŽÌ<ŽÌ<ŽÌ€¢€¢€¢<ŽÌŽÌ<ŽÌ<ŽÌ       €¢€¢€¢€¢€¢€¢THH††HHX€¢‚Ž‚’€¢‚Ž‚’€¢€¢€¢€¢€¢€¢€¢€¢‚Ž‚’€¢‚Ž‚’€¢ TX J††J†€¢€¢€¢P€¢€¢€¢€¢P€¢€¢P€¢€¢J†€¢€¢€¢€¢€¢€¢€¢€¢€¢‚€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢P€¢€¢€¢€¢P€¢€¢P€¢€¢€¢€¢€¢P€¢€¢€¢€¢P€¢€¢P€¢€¢€¢€¢€¢P€¢€¢€¢€¢P€¢€¢P€¢€¢€¢€¢€¢€¢HHH HHHHHHP  ŽÒŽÒP ŽÒP ŽÒ€¢€¢€¢   €¢€¢€¢ŽØŽØŽØ      ŽÜŽÜŽÜ‚ €¢€¢€¢€¢€¢€¢€¢€¢€¢       €¢€¢€¢   €¢€¢€¢          P€¢€¢‚P€¢P€¢ P€¢€¢‚P€¢P€¢€¢€¢€¢<<< < + +aƒb…žcP<<9Žà + +aƒb…žcP<<9ŽæŽæŽæŽæŽæŽæŽæŽæŽæ  + + +ŽFŽF€¢€¢€¢ŽF€¢ŽF€¢ŽFŽFŽFŽF €¢€¢€¢ €¢ €¢ŽFŽFŽFŽFŽzŽz€¢€¢€¢Žz€¢Žz€¢JŽ¢Ž¢JŽ¢€¢€¢€¢JŽ¢€¢JŽ¢€¢Ž¢Ž¢€¢€¢€¢Ž¢€¢Ž¢€¢JHHJH€¢€¢€¢€¢€¢€¢JH€¢€¢JH€¢€¢HH€¢€¢€¢€¢€¢€¢H€¢€¢H€¢€¢JŽ’Ž’JŽ’€¢€¢€¢HHHJŽ’€¢HJŽ’€¢HŽ’Ž’€¢€¢€¢HHHŽ’€¢HŽ’€¢H€ÀŽ¤Ž¤€ÀŽ¤€¢€¢€¢   HHH€ÀŽ¤€¢ H€ÀŽ¤€¢ HHHHHŽÆŽÆ€¢€¢€¢ŽÆ€¢ŽÆ€¢JŽèŽèJŽè‚   ‚‚¸‚¸‚¸JŽè d‚¸eJŽè d‚¸eJŽêŽèŽèŽêŽèJŽêŽè‚   ‚JŽêŽè dJŽêŽè dJŽìŽìJŽì‚     HHHHHHJŽì  fHgHhJŽì  fHgHh + + + +ŽæŽæŽæ +ŽFŽF€¢€¢€¢ŽFŽFŽFŽF €¢€¢€¢ ŽFŽFŽFŽzŽz€¢€¢€¢ŽzJŽ¢Ž¢JŽ¢€¢€¢€¢JŽ¢Ž¢Ž¢€¢€¢€¢Ž¢JHHJH€¢€¢€¢€¢€¢€¢JHHH€¢€¢€¢€¢€¢€¢HJŽ’Ž’JŽ’€¢€¢€¢HHHJŽ’Ž’Ž’€¢€¢€¢HHHŽ’€ÀŽ¤Ž¤€ÀŽ¤€¢€¢€¢   HHH€ÀŽ¤HHHŽÆŽÆ€¢€¢€¢ŽÆJŽèŽèJŽè   ‚¸‚¸‚¸JŽèJŽêŽèŽèŽêŽèJŽêŽè   JŽêŽèJŽìŽìJŽì      HHHHHHHHJŽìŽæŽæŽæŽæŽæŽFŽF€¢€¢€¢ŽF€¢ŽF€¢ŽFŽFŽFŽF €¢€¢€¢ €¢ €¢ŽFŽFŽFŽFŽzŽz€¢€¢€¢Žz€¢Žz€¢JŽ¢Ž¢JŽ¢€¢€¢€¢JŽ¢€¢JŽ¢€¢Ž¢Ž¢€¢€¢€¢Ž¢€¢Ž¢€¢JHHJH€¢€¢€¢€¢€¢€¢JH€¢€¢JH€¢€¢HH€¢€¢€¢€¢€¢€¢H€¢€¢H€¢€¢JŽ’Ž’JŽ’€¢€¢€¢HHHJŽ’€¢HJŽ’€¢HŽ’Ž’€¢€¢€¢HHHŽ’€¢HŽ’€¢H€ÀŽ¤Ž¤€ÀŽ¤€¢€¢€¢   HHH€ÀŽ¤€¢ H€ÀŽ¤€¢ HHHHHŽÆŽÆ€¢€¢€¢ŽÆ€¢ŽÆ€¢JŽèŽèJŽè‚   ‚‚¸‚¸‚¸JŽè d‚¸eJŽè d‚¸eJŽêŽèŽèŽêŽèJŽêŽè‚   ‚JŽêŽè dJŽêŽè dJŽìŽìJŽì‚     HHHHHHJŽì  fHgHhJŽì  fHgHhŽF€¢ŽF €¢ŽFŽz€¢JŽ¢€¢Ž¢€¢JH€¢€¢H€¢€¢JŽ’€¢HŽ’€¢H€ÀŽ¤€¢ HHŽÆ€¢JŽè d‚¸eJŽêŽè dJŽì  fHgHhŽFŽF€¢€¢€¢‡2‡2ŽFŽFŽF‡2‡2ŽF €¢€¢€¢‡2‡2 ŽFŽF‡2‡2ŽFŽzŽz€¢€¢€¢‡2‡2ŽzJŽ¢Ž¢JŽ¢€¢€¢€¢‡2‡2JŽ¢Ž¢Ž¢€¢€¢€¢‡2‡2Ž¢JHHJH€¢€¢€¢€¢€¢€¢‡2‡2JHHH€¢€¢€¢€¢€¢€¢‡2‡2HJŽ’Ž’JŽ’€¢€¢€¢HHH‡2‡2JŽ’Ž’Ž’€¢€¢€¢HHH‡2‡2Ž’€ÀŽ¤Ž¤€ÀŽ¤€¢€¢€¢   HHH‡2‡2€ÀŽ¤HH‡2‡2HŽÆŽÆ€¢€¢€¢‡2‡2ŽÆJŽèŽèJŽè   ‚¸‚¸‚¸‡2‡2JŽèJŽêŽèŽèŽêŽèJŽêŽè   ‡2‡2JŽêŽèJŽìŽìJŽì      HHHHHHHH‡2‡2JŽì €¢€¢€¢€¢€¢   €¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢HHHHHHHHHHHHHHHHHHP€¢€¢€¢€¢P€¢€¢P€¢€¢€¢€¢€¢€¢€¢€¢ƒ¢ƒ¢ƒ¢<€¢€¢<€¢<€¢€¢€¢‚Ž‚’€¢€¢€¢€¢€¢€¢€¢   €¢€¢€¢€¢€¢€¢<€¢€¢<€¢<€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢ƒ¢ƒ¢ƒ¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢TX€¢€¢€¢   €¢€¢€¢€¢€¢€¢ƒ¢ƒ¢ƒ¢€¢€¢€¢€¢€¢€¢€¢€¢€¢<€¢€¢<€¢<€¢P€¢€¢€¢€¢P€¢€¢P€¢€¢€¢€¢€¢„D€¢€¢ +„D€¢ +P€¢€¢ +P€¢ +P€¢ +HH<<<HHH<<<H +<<< + €¢€¢€¢ + +  +€¢€¢€¢ + + + P€¢€¢ +P€¢ +P€¢ +  +<<< +   €¢€¢€¢ + + €¢ + .€¢€¢.€¢.€¢. +. +. +   HHHHHH.ƒ`€¢€¢ +ƒ`€¢ +.ƒ`€¢ +.ƒ`€¢ +P + +P + +ƒ` + +ƒ` + +€¢€¢€¢ + +ƒ` + +€¢ +P + + +€¢€¢€¢ + + + + + + + +  +€¢€¢€¢ + + +€¢ +  HH€¢€¢€¢ + +H€¢ + €¢€¢€¢            ŽòŽòŽò €ÀŽôŽô€ÀŽôŽôŽôŽô€ÀŽô         ‚¸‚¸‚¸        ŽöŽöŽöŽúŽú ŽöŽöŽþŽö‚Ž‚’ŽöŽöŽöŽúŽú ŽöŽöŽö‚Ž‚’ŽöŽöŽöŽúŽú ŽöŽöŽö‚Ž‚’ŽöŽöŽöŽúŽú ŽöŽöŽö‚Ž‚’<ŽöŽö<Žö<Žö€¢€¢€¢    J  J J JŽòŽòJŽò€¢€¢€¢<€¢€¢<€¢<€¢€¢€¢€¢P€¢€¢€¢€¢P€¢€¢P€¢€¢HHHHHHHHŽöŽöŽöŽöŽþŽöŽöJŽòJJ€¢€¢€¢<€¢€¢<€¢<€¢€¢€¢€¢P€¢€¢€¢€¢P€¢€¢P€¢€¢HHHHHHHH€”€”€” €”€”€” J€¢€¢€¢<€¢€¢<€¢<€¢€¢€¢€¢P€¢€¢€¢€¢P€¢€¢P€¢€¢HHHHHHHH€”€”€” €”€”€” HH   ŽôŽôŽôŽôŽôŽôH€À<  < €À< €À< €À<  < €À< €À< Ž‚Ž‚Ž‚   HHŽôŽôŽôŽôŽôŽôH        ŽôŽôŽôŽôŽô ŽôŽôŽôŽôŽôŽô ŽôŽôŽôŽôŽôŽô ŽôŽôŽôŽôŽôŽô ŽôŽôŽôŽôŽôŽô ŽôŽôŽôŽôŽôŽô ŽôŽôŽôŽôŽôŽô ŽôŽôŽôŽôŽôŽô ŽôŽôŽôŽôŽôŽô ŽôŽôŽôŽôŽôŽô ŽôŽôŽôŽôŽôŽô ŽôŽôŽôŽôŽôŽô ŽôŽôŽôŽôŽôŽô ŽôŽôŽôŽôŽôŽô ŽôŽôŽôŽôŽôŽô ŽôŽôŽôŽôŽôŽô ŽôŽôŽôŽôŽôŽô ŽôŽôŽôŽôŽôŽô ŽôŽôŽôŽôŽôŽô ŽôŽôŽôŽôŽôŽô ŽôŽôŽôŽôŽôŽô ŽôŽôŽôŽôŽôŽô ŽôŽôŽôŽôŽôŽô ŽôŽôŽôŽôŽôŽô ŽôŽôŽôŽôŽôŽô ŽôŽôŽôŽôŽôŽô ŽôŽôŽôŽôŽôŽô ŽôŽôŽôŽôŽôŽô ŽôŽôŽôŽôŽôŽô ŽôŽôŽôŽôŽô‚Ž‚’ŽôŽôŽôŽô‚Ž‚’ŽôŽôŽôŽô‚Ž‚’ŽôŽôŽô Žô‚Ž‚’ŽôŽôŽô"Žô‚Ž‚’ŽôŽôŽô$Žô‚Ž‚’ŽôŽôŽô&Žô‚Ž‚’ŽôŽôŽô(Žô‚Ž‚’ŽôŽôŽô*Žô‚Ž‚’ŽôŽôŽô,Žô‚Ž‚’ŽôŽôŽô.Žô‚Ž‚’ŽôŽôŽô0Žô‚Ž‚’ŽôŽôŽô2Žô‚Ž‚’ŽôŽôŽô4Žô‚Ž‚’ŽôŽôŽôŽô‚Ž‚’ŽôŽôŽô6Žô‚Ž‚’ŽôŽôŽô8Žô‚Ž‚’ŽôŽôŽô:Žô‚Ž‚’ŽôŽôŽô<Žô‚Ž‚’ŽôŽôŽô>Žô‚Ž‚’ŽôŽôŽô@Žô‚Ž‚’ŽôŽôŽôBŽô‚Ž‚’ŽôŽôŽôDŽô‚Ž‚’ŽôŽôŽôFŽô‚Ž‚’ŽôŽôŽôHŽô‚Ž‚’ŽôŽôŽôJŽô‚Ž‚’ŽôŽôŽôLŽô‚Ž‚’ŽôŽôŽôNŽô‚Ž‚’ŽôŽôŽôPŽô‚Ž‚’   €¢€¢€¢ €¢€¢€¢€¢€ÀŽôŽô€ÀŽô€ÀŽôŽ„Ž„€¢€¢€¢€¢€¢€¢€¢Ž„Ž„€¢€¢€¢<€¢€¢<€¢<€¢€¢€¢€¢   €¢<€¢€¢  €¢€¢€¢€ÀVV€ÀV\\\\J^^J^   ddd    HHHHHHHHHHHH<€¢€¢<€¢<€¢HHHHJ^„ VV„ V VVV Viƒƒƒ  HHH„ V   ŽØŽØŽØJ^^J^J^  €Àff€Àfhhh…Tff…Tf…Tf„ jj„ j„ jdddHHHHHH<€¢€¢<€¢<€¢HHHhdHH<€¢J\\J\   ddd    HHHHHHHHHHHH<€¢€¢<€¢<€¢HHHHJ\„ ff„ f fff fBƒƒƒ  HHH„ f   ŽØŽØŽØJ\\J\J\ jjj     ŽèŽèfffJVVJV   dddHHlllHlj<€¢€¢<€¢<€¢‚¸‚¸‚¸JVJŽêVVŽêVJŽêV   dddHHlllHlj<€¢€¢<€¢<€¢JŽêVJVVJVŽèŽèŽèdddHHlllHlj<€¢€¢<€¢`d<€¢JVJVVJVŽèŽèŽèddd<  < < HHHHHHHH<€¢€¢<€¢<€¢JVlll€¢€¢€¢ HHHHHHHHHHHH jjJffJf   dddHHlllHlj<€¢€¢<€¢<€¢‚¸‚¸‚¸JfJŽêffŽêfJŽêf   dddHHlllHlj<€¢€¢<€¢<€¢JŽêfJffJfjjj„ nn„ n„ ndddHHlllHlj<€¢€¢<€¢<€¢JfJffJfjjjddd„ nn„ n„ n<  < < HHHHHHHH<€¢€¢<€¢<€¢Jf HHHHHHHHHHHH lll€¢€¢€¢TXTX€¢€¢€¢€¢€¢€¢€¢€¢€¢‚²‚²‚²‚²‚²‚²HHHHHHHHHHHHHHHHHHHHH€Ànn€Ànff                         HH   Hjjj„þpp„þp„þp…Tn„ nn„ n„ n<  < <   ŽØŽØŽØHHHdddHHHHHHHHlllHljHlj HHHHHH   HHHHHHHHHHHHHHH„þff„þf„þfrrrHHHHHHHHHttt€¢€¢€¢JppJp‚   HHHjjjddd„ nn„ n„ n<  < < HHHHHHHHHHlllHlj<€¢€¢<€¢<€¢JpŽØ   Hdj„ nn„ n„ n< HHHlj<€¢€¢<€¢<€¢„ nn„ n nnn nƒƒƒ  HHH„ n    HHHHHH   ŽØŽØŽØ       JffJfJf jjj   vvv HHH HHH HHH HHH          <  < <        lll€¢€¢€¢HHlllHHHxxxHHHHzzz zzz  nnn     BBB  J J J  HHHHHHHHHHHH    J J J J J J <  <   <   JrrJrJr<  < < TX   TX   TX            HHH              <  < <        <  <   <  k HHjjjH €¢€¢€¢dddHHHHHHHHH  JHHJHJH€¢€¢€¢  HHHHHHHHH  lll      ƒƒƒ  ƒƒƒ   <||<|<|Ž„Ž„€¢€¢€¢€¢€¢€¢êêꀢ€¢€¢êêê‚€¢ê‚TX€¢€¢ꀢ€¢€¢~~TX€¢€¢€¢êêê‚€¢ê‚TX~~€¢€¢€¢êêê‚€¢ê‚TXHHHHddd €¢€¢€¢€¢€¢€¢  <  < < €¢€¢€¢  €¢€¢€¢€¢€¢€¢  <  < < €¢€¢€¢  €¢€¢€¢€¢€¢€¢  <  < < €¢€¢€¢  €¢€¢€¢€¢€¢€¢  <  < < €¢€¢€¢ HH¢¢H <€¢€¢<€¢<€¢HHH <€¢€¢<€¢<€¢<€¢€¢<€¢<€¢        PPHHHP€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢HHH€¢„„„„„ˆˆ „„„„„„ˆˆ „„„„„„ˆˆ „`d„„„„„ˆˆ  „„„„Œ„‚Ž‚’„„„Ž„‚Ž‚’„„„„‚Ž‚’       €¢€¢€¢€¢€¢€¢ŽØŽØŽØŽØŽØ‚Ž‚’ŽØŽØŽØŽØŽØŽØ‚Ž‚’ŽØŽØŽØŽØŽØŽØ‚Ž‚’ŽØŽØŽØŽØŽØŽØ‚Ž‚’ŽØ„„„€¢€¢€¢€¢€¢€¢HHHHHHHHH€¢€¢€¢„„`d„„„`d„JŽØŽØJŽØJŽØJ<ŽØŽØ<ŽØJ<ŽØ€¢€¢€¢„„„„„„J<ŽØŽØŽØŽØŽØŽØ€¢€¢€¢ŽØŽØŽØ€¢€¢€¢ŽØ€¢€¢€¢   <ŽØŽØ<ŽØ<ŽØHHHJ<’’<’J<’HHHHHHHH„„„„„„J<’€Àjj€ÀjJhhJh      HHHHHHHHJh   ŽØŽØŽØJhhJhJh€ÀŽèŽè€ÀŽèJŽìŽìJŽì      HHHHHHHHJŽìJŽìŽìJŽì      HHHHHHHHJŽì   ŽØŽØŽØJŽìŽìJŽìJŽìvvvvv–– vvvvvv–– vvvvvv–– vvvvšv‚Ž‚’vvvœv‚Ž‚’vvvžv‚Ž‚’xxxxx¢¢ xxxx¦x‚Ž‚’xxxxx¢¢ xxxxxx¢¢ xxxxxx¢¢ xxxxxx¢¢ x`d              HHH                        nnnnnªª nnnnnnªª nnnnnnªª nnnnnnªª nnnn®n‚Ž‚’nnn°n‚Ž‚’nnn²n‚Ž‚’nnn´n‚Ž‚’    €¢€¢€¢J +J +J +   J +J +J +    €Ànn€ÀnHHHHHHJjjJj   ‚¸‚¸‚¸JjJŽêjjŽêjJŽêj   JŽêj        <  < <            ŽØŽØŽØŽØŽØŽØJjjJjJj vvv HHxxxHHHHzzz`d zzz`d €À€ÀŽ‚Ž‚JŽèŽèJŽè   ‚¸‚¸‚¸JŽèJŽêŽèŽèŽêŽèJŽêŽè   JŽêŽèJŽèŽèJŽè   ‚¸‚¸‚¸JŽèJŽêŽèŽèŽêŽèJŽêŽè   JŽêŽè HHxxxHHHHzzz zzz     ŽØŽØŽØŽØŽØŽØJJJJJJŽØŽØŽØ   ŽØ €Ànn€ÀnHHHHHHHHH   ’’’‚Ž‚’HHHJ¶¶J¶   HHHHHHHH    J¶   ŽØŽØŽØ  <  < < ŽØŽØŽØ    ¸¸¸ ŽØŽØŽØ’’’  ŽØŽØŽØ’’’ zzz zzz Ž„Ž„€¢€¢€¢êêêŽØŽØŽØ   €¢êŽØ ¾ÀÂÄ€¢€¢€¢                   €À<  < €À< €À<  < €À< €À< €À< „ <  < „ <  <  < <  < $ƒƒƒ  HHH„ < ÊÊ€À<  < €À<    €À<  < €À< €À<  €¢€¢€”€”€” HHHH€¢HHHHHH HHHHHH HHH   HHHÌÌŽ‚Ž‚   Ž‚Ž‚Ž‚Ž‚Ž‚Ž‚ HHH     HHHHH   H         HH   HŽ‚Ž‚Ž‚Ž„Ž„€¢€¢€¢êêꀢꀢ€¢€¢Ž„Ž„€¢€¢€¢êêꀢꀢ€¢€¢…2<  < …2<    JJ€À<  < €À< €À< JJJJŽ‚Ž‚Ž‚Ž‚Ž‚Ž‚€”€”€” €”€”€”  <<<  <<<  ...€¢€¢€¢  <  < <   <BBB    JJ€À<  < €À< €À< JJJJJJJJJJÎÎÎÎÎÒÒÎÎÎÎÎÎÒÒÎÎÎÎÎÎÒÒÎÎÎÎÎÎÒÒÎÎÎÎÖ΂Ž‚’ÎÎÎØ΂Ž‚’ÎÎÎÚ΂Ž‚’ÎÎÎÜ΂Ž‚’€¢€¢€¢€¢€¢€¢€¢ÞÞÞàààààà              TX ÞÞÞààààààÎÎÎ   ÞÞ   Þ  ŽèŽèŽè   ää‚Ž‚’€”€”€¢€¢€¢<  < €¢€¢€¢< €¢€¢<  < < €¢€¬€¢€¢<  < €¬€¢< €¬€¢< €¬<  < €¢€¢€¬< €¢€¬< €¢€¬€¢€¢<  < €¬€¢< <  < €¢€¢€¢< €²€²€¸<  < €¸< €¸< €²<  < €¢€¢€¢< €Ì€Ì€¸<  < €¸< €¸< €¸<   €¢€¢€¢  €¢€¢€¢     HHH €¬<  < €¢€¢€¬< €¢€¢€¢<  < < €¢€Ò€Ò€¸€¢€¢€¸€¢€¸€¢€Ò€¢€¢<  < < €¢€â€â€¸€¢€¢€¸€¢€¸€¢€¸€¢  <  < <  êê   ê     <  < <        <  <   <  vvv  <  < <           ŽØŽØŽØŽØŽØŽØ€€‚Œ€‚…ø…Þ‚fâ€Àòò€Àò€¢€¢€¢ôôôHHH‚¸‚¸‚¸JööJö      HHHHHHHHJöJööJö   ddd    HHHHHHHHHHHHJöŽìŽìŽìJJHHHHJ   ŽØŽØŽØ   øøø         €¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢ü€¢‚Ž‚’€¢þ€¢‚Ž‚’€¢€¢‚Ž‚’€¢€¢‚Ž‚’€¢€¢‚Ž‚’€¢€¢‚Ž‚’€¢€¢‚Ž‚’€¢ +€¢‚Ž‚’€¢ €¢‚Ž‚’€¢€¢‚Ž‚’€¢€¢‚Ž‚’€¢€¢‚Ž‚’€¢€¢‚Ž‚’€¢€¢‚Ž‚’€¢€¢‚Ž‚’€¢€¢‚Ž‚’€¢€¢‚Ž‚’€¢€¢‚Ž‚’€¢ €¢‚Ž‚’€¢"€¢‚Ž‚’€¢$€¢‚Ž‚’€¢&€¢‚Ž‚’€¢(€¢‚Ž‚’€¢*€¢‚Ž‚’€¢,€¢‚Ž‚’€¢.€¢‚Ž‚’€¢0€¢‚Ž‚’€¢2€¢‚Ž‚’€¢4€¢‚Ž‚’€¢6€¢‚Ž‚’€¢8€¢‚Ž‚’€¢:€¢‚Ž‚’€¢<€¢‚Ž‚’€¢>€¢‚Ž‚’€¢@€¢‚Ž‚’€¢B€¢‚Ž‚’€¢D€¢‚Ž‚’€¢F€¢‚Ž‚’€¢H€¢‚Ž‚’€¢J€¢‚Ž‚’€¢L€¢‚Ž‚’€¢N€¢‚Ž‚’€¢P€¢‚Ž‚’€¢R€¢‚Ž‚’€¢T€¢‚Ž‚’€¢V€¢‚Ž‚’€¢X€¢‚Ž‚’€¢€¢€¢Z€¢‚Ž‚’€¢\€¢‚Ž‚’<€¢ €¢€¢€¢:€¢J€¢L€¢N€¢T€¢V€¢<€¢<€¢^<€¢‚Ž‚’<€¢€¢€¢€¢€¢€¢€¢€¢€¢$€¢4€¢<€¢<€¢`<€¢‚Ž‚’<€¢€¢€¢ €¢6€¢<€¢D€¢F€¢R€¢X€¢<€¢<€¢b<€¢‚Ž‚’<€¢ü€¢þ€¢€¢€¢ +€¢"€¢&€¢(€¢*€¢,€¢.€¢0€¢2€¢8€¢>€¢@€¢B€¢H€¢P€¢<€¢<€¢d<€¢‚Ž‚’‚²‚²‚²‚²‚²‚²‚²‚²‚²€¢€¢€¢   fff   HHHHHH<€¢€¢<€¢€¢€¢€¢<€¢€¢€¢€¢€¢€¢€¢ €¢€¢€¢<<<HH`dHH  €¢€¢€¢<<<HH`dHH  €¢€¢€¢<<<  €¢€¢€¢   €¢€¢€¢<€¢€¢<€¢<€¢ €¢A<€¢l  €¢€¢€¢  €¢€¢€¢P€¢€¢€¢€¢P€¢€¢P€¢€¢P€¢€¢hh€¢€¢€¢€¢€¢€¢€¢€¢€¢HHHHh€¢€¢€¢P€¢€¢€¢€¢P€¢€¢P€¢€¢€¢€¢€¢PP€¢€¢€¢     HHHhhff‚Ž‚’ff‚Ž‚’ff‚Ž‚’ff‚Ž‚’€¢€¢€¢€¢€¢€¢€¢€¢€¢P€¢€¢€¢€¢P€¢€¢P€¢€¢P€¢€¢ff€¢€¢€¢f€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢‚²‚²‚²   €¢€¢€¢€¢€¢€¢HHHHHH€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€À€À   €¢€¢€¢ƒ¢ƒ¢ƒ¢ƒ¢ƒ¢ƒ¢ôôô<jj<j<jHHHllllll€¢€¢€¢nnnpppŽ‚Ž‚     €¢€¢€¢HHH‚¸‚¸‚¸HHHôôô<jj<j<jJJƒ¢ƒ¢ƒ¢   ƒÆƒâ  JJŽèŽèJŽèHHHHJŽènnn      v ‚Ž‚’      x ‚Ž‚’HHH HHHHHH‚¸‚¸‚¸‚¸‚¸‚¸   HHH€¢€¢€¢dddJzzJz€¢€¢€¢€¢€¢€¢   €¢€¢€¢JzJzzJz€¢€¢€¢ƒ¢ƒ¢ƒ¢JzJzzJz€¢€¢€¢   €¢€¢€¢JzJzzJzƒ¢ƒ¢ƒ¢JzJzzJz€¢€¢€¢   €¢€¢€¢JzJzzJzƒ¢ƒ¢ƒ¢JzJzzJz€¢€¢€¢   €¢€¢€¢JzJzzJzƒ¢ƒ¢ƒ¢JzJzzJz€¢€¢€¢   €¢€¢€¢JzJzzJzƒ¢ƒ¢ƒ¢JzJzzJz€¢€¢€¢   €¢€¢€¢JzJzzJzƒ¢ƒ¢ƒ¢JzJzzJz€¢€¢€¢   €¢€¢€¢JzJzzJzƒ¢ƒ¢ƒ¢Jz JHHJHƒ¢ƒ¢ƒ¢€¢€¢€¢€¢€¢€¢JHƒ¢m€¢n€¢o  ƒ¢ƒ¢ƒ¢€¢€¢€¢|||  €¢€¢ƒ¢ƒ¢ƒ¢€¢ƒ¢m €¢€¢ƒ¢ƒ¢ƒ¢P€¢€¢€¢€¢P€¢€¢P€¢€¢€¢ JHHJH€¢€¢€¢   €¢€¢€¢€¢€¢€¢JH€¢p q€¢n€¢o  €¢€¢€¢   €¢€¢€¢|||  HHlll€¢€¢€¢   Hlr€¢p q  HHHH Ž‚Ž‚HHHHHH   €¢€¢€¢ƒ¢ƒ¢ƒ¢   HHHôôô<jj<j<jJ~~J~J~J~~J~J~nnn <<<BBB`d €À<  < €À<    €¢€¢€¢   ‚‚`d‚HHHHHH<„„<„<„J~~J~€¢€¢€¢ƒ¢ƒ¢ƒ¢HHHJ~ôôôJŽèŽèJŽèJŽè<jj<j<jlllnnn`d||€¢€¢€¢€¢€¢€¢||€¢€¢€¢€¢€¢€¢ŽØŽØŽØ        €¢€¢€¢ƒ¢ƒ¢ƒ¢ŽèŽèŽè<  < < Ž„Ž„€¢€¢€¢ƒ¢ƒ¢ƒ¢€¢ƒ¢€¢€¢€¢††€¢€¢€¢<„„<„<„€¢<„€¢€¢€¢ƒ¢ƒ¢ƒ¢             €¢€¢€¢€¢€¢€¢<  < <                                                                                                                                                                                                                                                                                                                                                                                                                                                              < ƒJƒJƒJ   €¢€¢<  < < €¢€¢€¢<  < < HHHHHHHH€¢<  < €¢€¢€¢HHHH<            HHH   <  < < <  < < <  < < HHH   H<  < < <  < <    <  < <        <  < < <  < <    <  <    < ŒŒŽŽŽ<                                                                 < <                                                                 <  <  < <  ŒŒ<  < <  <  < <  €¢€¢‚²‚²‚²€¢‚²‚²€¢€¢€¢‚²‚²‚²€¢€¢€¢‚²ôôP€¢€¢<€¢€¢<€¢P€¢<€¢P€¢<€¢P€¢€¢€¢€¢P€¢€¢P€¢€¢€¢€¢€¢HHH<€¢€¢<€¢<€¢   HHHHHH€¢€¢€¢     €¢   rv  –––<€¢€¢<€¢€¢€¢€¢<€¢€¢€¢€¢€¢€¢€¢ €¢€¢€¢<HHHH  €¢€¢€¢  €¢€¢€¢<<<HHHH  €¢€¢€¢<<<  €¢€¢€¢   €¢€¢€¢<€¢€¢<€¢<€¢ €¢A<€¢l  €¢€¢€¢ HHH HHH      HHH HHH €¢€¢€¢ €¢€¢€¢      ‚²‚²‚² ‚²‚²‚² ‚²‚²‚² ‚²‚²‚² ‚²‚²‚² ‚²‚²‚² fff fff   €¢€¢€¢  €¢€¢€¢  €¢€¢€¢  €¢€¢€¢  €¢€¢€¢  €¢€¢€¢  €¢€¢€¢  €¢€¢€¢  €¢€¢€¢  €¢€¢€¢<<< €¢€¢<<<€¢ €¢€¢€¢€¢€¢€¢   HH€¢€¢€¢H  „.„.„. €¢€¢€¢<jj<j<j€¢€¢€¢€¢€¢€¢<<<<<<€¢€¢€¢€¢€¢€¢hh€¢€¢€¢P€¢€¢€¢€¢P€¢€¢P€¢€¢P€¢€¢€¢€¢P€¢€¢P€¢€¢€¢P€¢€¢€¢€¢P€¢€¢P€¢€¢P€¢€¢˜˜€¢€¢€¢€¢€¢€¢€¢€¢€¢HHHH˜€¢€¢€¢P€¢€¢€¢€¢P€¢€¢P€¢€¢P€¢€¢€¢€¢P€¢€¢P€¢€¢HH€¢€¢€¢H€¢€¢€¢ €¢€¢€¢€¢€¢€¢€¢€¢€¢HHH ˜˜ff€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢P€¢€¢€¢€¢P€¢€¢P€¢€¢šš€¢€¢€¢š€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢jj€¢€¢€¢€¢€¢€¢‚²‚²‚²   €¢€¢€¢€¢€¢€¢HHHHHH€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢ €¢€¢€¢ €¢€¢€¢ €¢€¢€¢ €¢€¢€¢ €¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢ €¢€¢€¢ €¢P    P  P    €¢€¢€¢ƒ¢ƒ¢ƒ¢           €¢€¢   €¢€¢P   €¢€¢€¢PPPP€¢€¢‚P€¢P€¢€¢€¢€¢ƒ¢†.†.†. €¢€¢€¢PPP  ¢¢¢   PPPPPP zzz  ~~~  €¢€¢€¢   €¢€¢€¢   P€¢€¢‚P€¢HHHHP€¢ €¢€¢€¢HHHHHH   €¢€¢€¢ƒ¢ƒ¢ƒ¢     P€¢€¢‚P€¢P€¢P€¢€¢‚P€¢P€¢< €¢€¢€¢<¤     P€¢€¢‚P€¢P€¢< €¢€¢€¢     †.†.†.†.†.†.        PPHHHP€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢HHH€¢„.„.            <  < <           HHHHHH         ‚ˆ  <  < <  €À€À   „þ„þ„þ€À€À€ÀHHH–––HHH   €¢€¢€¢€¢€¢€¢ƒ¢ƒ¢ƒ¢HHH   – €À„ „   $ƒƒƒ  HHH„ JJJ HHH €À<  < €À< ¦¦¦<jj<j<j¦<jj<j<j–––€¢€¢€¢   HHH€À€À¦¦¦<jj<j<j¦<jj<j<j–––€¢€¢€¢   HHH¨¨òòpppªªª¬¬¬²²²ƒ¢ƒ¢ƒ¢p¦¦¦ª¬„ „   $ƒƒƒ  HHH„ ƒ¢ƒ¢ƒ¢ƒ¢ƒ¢ƒ¢€¢€¢€¢lllnnnlll´´~~<„„<„<„¶¶¶¸¸¸‚‚‚   ¦¦¦¸¶ ‚‚¶¶¶–––‚   €¢€¢€¢lll<jj<j<jHHHJ~~J~€¢€¢€¢ƒ¢ƒ¢ƒ¢HHHJ~„ „   $ƒƒƒ  HHH„ JŽèŽèJŽèJŽènnnHHHHHHJ~~J~HHHJ~€¬<  < €¬< <  < < €¸<  < €¸< €¸€¸€¸€¸< €¸<  < €¸< €¸€¸€¸€¸ <  < <   „ê +„ê +…2 +…2 +…2 +„þ …T +…T +…T +„þ„þ„þHHHHHHHHH…2 +  + +  <<<BBB JJ€À +€À +€À +JJJJJJJ JJJ   <<<BBB …T +…T +…T +º<  < º< Ž‚Ž‚€”€”€”HHH   …2<  < …2< …2< €” €”€”€” €”€”€”  <<<  ...€¢€¢€¢  <<<    ¼¼HHHHHHƒ¢ƒ¢ƒ¢¾¾¾–––ƒ¢ƒ¢ƒ¢€¢€¢€¢¾¾¾   –––      HHH HHH HHH HHH €”€”€” <  < <  JJ€À<  < €À< €À< J <<<  HHHÀppÀppp   €¢€¢€¢<jj<j<j‚¸‚¸‚¸…’…’…’ƒ¢ƒ¢ƒ¢€¢€¢€¢¾¾¾ôôô€¢€¢€¢HHH<jj<j<j      €¢€¢€¢ €¢€¢€¢ JJƒ¢ƒ¢ƒ¢   ƒÆƒâ  JJŽèŽèJŽèHHHHJŽènnn‚¸‚¸‚¸ ‚¸‚¸‚¸  €¢€¢   €¢À~~À~zz€¢€¢€¢ƒ¢ƒ¢ƒ¢<jj<j<j¶¶¶ÄÄÄ   „þ~~„þ~„þ~¢¢¢J~~J~J~HHH   <„„<„<„HHH¾¾¾ƒ¢ƒ¢ƒ¢€¢¢¶Ä J~~J~J~J~~J~J~      HHH HHH nnn ¦¦¦  BBB €¢€¢€¢ <  < <   <<<   <<<BBB €Ò€ÒÈ < sÈ < sÈ < sÈ <  < <   <  < <      HHH  …2<  < …2< <  < < ÎÒ  ÎÔ   ÎÒ  ÎÔ  ÎÒ  ÎÔ  < <  < <  ÎÒ  ÎÔ  ÎÒ  ÎÔ  < „þŽèŽè„þŽè„þŽèŽèŽèŽèHHHHHH   JJJHHH       HHH€Ò€Ò€ÒÈ < sÈ < sÈ   HHHÀÀÀŽèJ J HHHHHHHHJ JJ€À<  < €À< €À< JJJJJŽèŽèJŽèJŽè <  < <     HHH HHH <  < <  <  < <  <   <  < <  <  < <  <  <  <    < €¢€¢€¢ŽèŽèŽèHHHdddÖÖÖ„ „ „ ¶¶¶HHH…’…’…’HHHƒ¢ƒ¢ƒ¢„þ¦¦„þ¦„þ¦JŽèŽèJŽèJŽè€¢Žè¶HHd¸¸ƒ¢ƒ¢ƒ¢   €¢€¢€¢¢¢¢   ¸JŽèŽèJŽèJŽè    JÄÄJÄ€¢€¢€¢   ¢¢¢HHlllHlj   JÄnnnHHH€¢€¢€¢     ÄÄÄ¢¢¢Ä¢€¢€¢€¢€¢€¢€¢   HHHdddƒ@Äă@ă@ă@Äă@ă@ă@ŽêŽêƒ@Žêƒ@Žê„J„J„J   €¢€¢ HdHHHHHHHHHÄÄÄ ÄÄÄ  ÄÄÄ  ÄÄÄ  HHH JØØJØ€¢€¢€¢   ¢¢¢¶¶¶   JØHHlll€¢€¢€¢   HrrHHHHHHP€¢€¢ÚÚP€¢ÚP€¢Ú<ÜÜ<Ü<Ü<ÞÞ<Þ<Þdddƒƒƒƒƒƒƒƒƒ‚¸‚¸‚¸àHlt€¢p qàHlt€¢p qà‚¸‚¸‚¸‚¸‚¸‚¸   HHH€¢€¢€¢d ‚¸‚¸‚¸ HHlll€¢€¢€¢   Hlr€¢p q JzzJz€¢€¢€¢€¢€¢€¢   €¢€¢€¢JzJzzJz€¢€¢€¢ƒ¢ƒ¢ƒ¢JzJzzJz€¢€¢€¢   €¢€¢€¢JzJzzJzƒ¢ƒ¢ƒ¢JzJzzJz€¢€¢€¢   €¢€¢€¢JzJzzJzƒ¢ƒ¢ƒ¢JzJzzJz€¢€¢€¢   €¢€¢€¢JzJzzJzƒ¢ƒ¢ƒ¢JzJzzJz€¢€¢€¢   €¢€¢€¢JzJzzJzƒ¢ƒ¢ƒ¢JzJzzJz€¢€¢€¢   €¢€¢€¢JzJzzJzƒ¢ƒ¢ƒ¢JzJzzJz€¢€¢€¢   €¢€¢€¢JzJzzJzƒ¢ƒ¢ƒ¢Jz HHHH JHHJHƒ¢ƒ¢ƒ¢€¢€¢€¢€¢€¢€¢JHƒ¢m€¢n€¢o  ƒ¢ƒ¢ƒ¢€¢€¢€¢||| JHHJH€¢€¢€¢   €¢€¢€¢€¢€¢€¢JH€¢p q€¢n€¢o  €¢€¢€¢   €¢€¢€¢||| €¢€¢ƒ¢ƒ¢ƒ¢€¢ƒ¢u J¸¸J¸€¢€¢€¢ƒ¢ƒ¢ƒ¢J¸J¸¸J¸€¢€¢€¢ƒ¢ƒ¢ƒ¢¸¸¸J¸ ÄÄÄ  ÄÄÄ  ÄÄÄ   HHH ÚÚ€¢€¢€¢   HHHÚJØØJØ€¢€¢€¢   âââHHH   JØä䃢ƒ¢ƒ¢æææäÞÞ¢¢¢æææÞ ÜÜÜ  ÜÜÜ €¢€¢ƒ¢ƒ¢ƒ¢P€¢€¢€¢€¢P€¢€¢P€¢€¢€¢P€¢€¢€¢€¢P€¢€¢P€¢€¢„„¬¬„„¬èè        P  ¬¬P ¬P ¬ªªªÖÖÖ   „ „ „ HHHJJJª HHH JŽèŽèJŽèJŽènnnHHHHHHHHHHHH€¢€¢€¢€¢€¢€¢PPHHHP€Àòò€ÀòèèööP  ªªP ªP ª€¢€¢€¢ôôôHHH‚¸‚¸‚¸…’…’…’JööJö     HHHHHHJöJööJö   ddd   HHHHHHHHHJöHôôô‚¸‚¸‚¸ ‚¸‚¸‚¸ „ òò„ ò òòò ò$ƒƒƒ  HHH„ òJJHHHHJ   ŽØŽØŽØ      ¬¬¬  ¬¬¬  ¬¬¬ êêêøøø€¢€¢€¢€¢€¢€¢P€¢€¢‚P€¢HHHP€¢êêêHHH‚HHH„†¬¬„†¬„†¬„†¬¬„†¬„†¬…Tòò…Tò…Tò€¢€¢€¢€¢€¢€¢€¢€¢€¢î¢¢òò¢<¢<¢¢<¢<¢€¢€¢€¢   €¢€¢€¢€¢€¢€¢HHH€¢€¢€¢   €¢€¢öHøúüþöHHHHnnŽØŽØŽØ     ŽØ  ‘‘ŽèŽèŽè‘€À€ÀŽèŽè€À€À€ÀŽèŽèŽèŽè€À„ „   $ƒƒƒ  HHH„ €”€”€” €”€”€”  <<<  <<<     ...€¢€¢€¢  <  < <   <<<BBB JJ€À<  < €À< €À< J JJJJJJJJJ   ŽØŽØŽØŽØŽØŽØ   HHxxxHHHHzzz zzz PPHHHP   æææ‘  ææææ‘ ææææ‘ æ €¢€¢€¢€¢€¢€¢‘‘‘€¢€¢€¢HHH€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢   ‘€¢æææ zzz Ü܃¢ƒ¢ƒ¢ƒ¢‘‘‘HHƒ¢ƒ¢ƒ¢æææH zzz ÜÜ€¢€¢€¢   €¢ ‘‘‘HH¢¢¢æææH zzz ||æææ ÜÜܸ¸¸  ÞÞÞzzz ‘‘‘‘€¢€¢€¢€¢€¢€¢€¢€¢ææ怢€¢€¢ ÜÜÜzzz  ÞÞÞzzz ‘‘‘ +‘ +€¢€¢€¢€¢€¢€¢€¢€¢ææ怢€¢ÜÜܸ¸¸€¢ ÜÜÜzzz  ÞÞÞzzz „„   €¢€¢€¢ƒ¢ƒ¢ƒ¢ €¢ƒ¢€¢€¢€¢<     < <        < <         < <         < HHHHHHHH<H‘H‘H‘H‘H‘H‘H‘H‘H‘H‘H‘H‘H‘H‘H‘H‘H‘H‘H‘H‘H‘H‘H‘H‘H‘H‘H‘H‘H‘H‘H‘H‘H‘H‘H‘H‘H‘H‘H‘H‘H‘H‘H‘H‘H‘H‘H‘H‘H‘H‘H‘H‘H‘H‘H‘H‘H‘H‘H‘H‘H‘H‘H‘H‘H‘H‘H‘H‘H‘H‘H‘H‘H‘H‘H‘H‘H‘H‘H‘H‘H‘H‘H‘H‘H‘H‘H‘H‘H‘H‘H‘H‘H‘H‘H‘H‘H‘H‘H‘H‘H‘H‘H‘H‘H‘H‘H‘H‘H‘H‘H‘H‘H‘H‘H‘H‘H‘H‘H‘H‘H‘H‘H‘H‘H‘H‘H‘H‘H‘H‘H‘H‘H‘H‘H‘H‘H‘H‘H‘H‘H‘H‘H‘H‘H‘H‘H‘H‘H‘H‘H‘H‘H‘H‘H‘H‘H‘H‘H‘H‘H‘H‘H‘H‘H‘H‘H‘H‘H‘H‘H‘H‘H‘H‘H‘H‘H‘H‘H‘H‘H‘H‘H‘H‘H‘H‘H‘H‘H‘H‘H‘H‘H‘H‘H‘H‘H‘H‘H‘H‘H‘H‘H‘H‘H‘H‘H‘H‘H‘H‘H‘H‘H‘H‘H‘H‘H‘H‘H‘H‘H‘H‘H‘H‘H‘H‘H‘H‘H‘H‘H‘H‘H‘H‘H‘H‘H‘H‘H‘H‘H‘H‘H‘H‘H‘H‘H‘H‘H‘H‘H‘H‘H‘H‘H‘H‘H<H                                                                                                                               ‘                     „ „ „ „ „ ƒƒƒHHHHHH   „ ƒHHHJ +J + + +J +JJJ        ƒƒƒ  JJJ   €À€À„ „ „ „ „ „   $ƒƒƒ  HHH„ €À¦¦€À¦HHH   HHH           <  < < <  < < <  < < <  < <    ‚ˆ       HHHHHHHHHHHH   HHHHHHHHH–––   ¦¦¦„ „ „ HHHHHH…T¦¦…T¦…T¦…T…T…TH„ ¦¦„ ¦ ¦¦¦ ¦$ƒƒƒ  HHH„ ¦ €À€À€À  HHH    €¢€¢€¢     HHHHHH HHH ‘‘‘  HH   HHH   H<€¢€¢<€¢€¢€¢€¢<€¢     HH<  < < <  < < H          <  < <     ¦¦   ¦ HHHH      €¢€¢€¢llHHHHHH‚²‚²‚²ƒƒƒêêê²²²²²²€¢€¢€¢PPPꀢ  ‚²‚²‚²HHH   HH<HHH<H<  PPP <     .ƒ`ƒ`.ƒ`.ƒ` .ƒ`ƒ`.ƒ`.ƒ` P + +P + +ƒ` + +ƒ` + +ƒ` + +P + + HHH P + +P + +P + +  ......   HHHHHH€¢€¢€¢P€¢€¢²²P€¢²P€¢²   ²²²²²²…’…’…’€¢€¢€¢²²€¢€¢€¢²²²²     ²²²  ²²²  ²²²    < + +aƒb…žcP<<9Žà + +aƒb…žcP<<9‘ ‘ ‘ ‘ ‘ ‘ ‘ ‘ ‘  + + +rrdddrdrd€¢€¢ƒ¢ƒ¢ƒ¢P€¢€¢€¢€¢P€¢€¢P€¢€¢€¢ƒ¢uP€¢€¢v€¢ƒ¢uP€¢€¢v + + + +‘ ‘ ‘ +rrdddr€¢€¢ƒ¢ƒ¢ƒ¢P€¢€¢€¢€¢P€¢€¢P€¢€¢€¢‘ ‘ ‘ ‘ ‘ rrdddrdrd€¢€¢ƒ¢ƒ¢ƒ¢P€¢€¢€¢€¢P€¢€¢P€¢€¢€¢ƒ¢uP€¢€¢v€¢ƒ¢uP€¢€¢vrd€¢ƒ¢uP€¢€¢vrrddd‡2‡2r€¢€¢ƒ¢ƒ¢ƒ¢P€¢€¢€¢€¢P€¢€¢P€¢€¢‡2‡2€¢                                          ‘* ‚Ž‚’   ‘, ‚Ž‚’   ‘. ‚Ž‚’   ‘0 ‚Ž‚’   ‘2 ‚Ž‚’   ‘4 ‚Ž‚’   ‘6 ‚Ž‚’   ‘8 ‚Ž‚’   ‘: ‚Ž‚’   ‘< ‚Ž‚’   ‘> ‚Ž‚’   ‘@ ‚Ž‚’   ‘B ‚Ž‚’‘D‘D‘D‘D‘D‘H‘D‘D‘D‘D‘L‘D‚Ž‚’‘D‘D‘D‘D‘D‘HH‘D‘D‘D‘D‘N‘D‚Ž‚’HHHHHH     HHHHHHH  HH‘T‘Thhh‘T€¢€¢hhh   €¢‘T‘Thhh‘T„(òò‘V‘V„(ò‘V<€¢€¢<€¢<€¢<€¢w‘D‘D‘D‘D‘L‘D‘DJ‘V‘VJ‘Vòòò<€¢€¢<€¢<€¢<€¢w‘D‘D‘D‘D‘L‘D‘DJ‘VHHòòòH€À‚€À„ê‚„ê               ‘Z ‚Ž‚’   ‘\ ‚Ž‚’   ‘^ ‚Ž‚’   ‘` ‚Ž‚’‚¸‚¸‚¸J‘V‘VJ‘V€¢€¢€¢.€¢€¢.€¢.€¢P€¢€¢‚P€¢P€¢‘D‘D‘D‘D‘L‘D‘DJ‘V‚Ž‚’ŽèŽèŽè€¢€¢€¢HHH‘D‘D‘D‘D‘L‘D‘D   €¢€¢€¢€¢€¢€¢   €¢€¢€¢JJ   €¢€¢€¢J  JJ€À€À€ÀJ <  < <  €¢€¢€¢€¢€¢€¢ Ž„Ž„€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢                                                           <  < < < €¢€¢€¢   €¢ €¢€¢€¢D<  < ‚D< 6<  < 6<                                        HHHHHH     HHH             €¢€¢€¢6‚66HHH„.„.„.‘b‘b‘bHH‘b€À‚€À€À<  < €À< €À< €À <<<BBB   <  < <             HHH <  < < < <  < < < <€¢€¢<€¢<€¢Dòò‘V‘VDò‘V‘d‘d…T‘V‘V…T‘V…T‘V‘h<€¢w‘h<€¢w‘h‘D‘D‘D<€¢w‘h‘D€À‘V‘V€À‘V€Àòò€Àò€Àò€À‘V<€¢€¢<€¢€¢€¢€¢<€¢J‘V‘VJ‘Vòòò‘h<€¢w‘h<€¢w‘h‘D‘D‘DJ‘V‘b‘bòòòppp‘D‘D‘D‘bHHòòòHHHHHHH     HHHŽ8Ž8Ž8Ž8Ž8Ž8 ‘j‘n   ‘j‘n  HHHHHHŽ8Ž8Ž8Ž8Ž8Ž8<  < < <  < <  < < < D‚<  < D< 66‘j‘j‘j6<  < 6< 6< ‘b‘b‘b‘j€À<  < €À< €À€À€À€À<    <<<BBB     <  < < .<  < .<    <  < < HHHHHH.< …2…2‘j‘j‘jŽèŽèŽè…T…T…T„ „ „ HHHHHH„þ„þ„þ„þ„þ„þ‘jŽè    …T…T…THH<<<BBBHJJ€À€À€ÀJJJJ   €À€Àèè‘V‘VP  ‘j‘jP ‘jP ‘j    €¢€¢€¢€¢€¢€¢…T…T…T„ „ „ „ê„ê„êŽèŽèŽèHHH   HHH   €¢€¢€¢‚¸‚¸‚¸…’…’…’‘p‘p‘p   €¢€¢€¢…’…’…’‘b‘b‘brrrJ‘V‘VJ‘V€¢€¢€¢.€¢€¢.€¢.€¢P€¢€¢‚P€¢P€¢‘D‘D‘D‘D‘L‘D‘DJ‘V‘b‘b~~~‘D‘D‘D‘bŽè€¢‘D‘D‘DHH‘b‘b‘b„ „   >ƒƒƒ  HHH„ ‚¸‚¸‚¸ ‚¸‚¸‚¸   €¢€¢€¢   €¢€¢€¢   <  < <   <<<BBB JJ€À€À€ÀJJJJJJ   €¢€¢€¢J€¢€¢€¢€¢€¢€¢    €¢€¢€¢ €¢€¢€¢€¢€¢€¢P€¢€¢‚P€¢HHHP€¢HH   H‚Œ‘z‘z‘z‘|‘|‘|<<<<<<<<<‚<<< <<<<<<   HH<<<HHH<<<H <<< HH‘|‘|‘|H€¢€¢€¢‚<<<<<<‘z‘zƒƒƒ‚<<<‘z‘z„< +„< +. +. +. + +<<< + <<< + +        + +  . +. +. +     + +  +   + + +          . +. +. +       + + + +  +  + ƒƒ + + + +ƒƒƒƒƒƒ‚HHH‚<<<€€Pƒ¢ƒ¢‘†‘†Pƒ¢‘†Pƒ¢‘†‘†‘†ƒƒƒ‘†‘ˆ‘ˆ‘ˆ‘Š‘Š‘Š‘Š‘Š‘Š‘Š‘Š`d‘Š€¢€¢ƒƒƒ€¢ƒƒ€¢€¢€¢‘†‘†‘†ƒ‘Œ‘Œ‘Œ‚‘Ž‘Ž‘Žƒ"ƒ"ƒ"‘‘‘ƒ"ƒ"ƒ"<ƒ"ƒ"<ƒ"<ƒ"‘Š‘Š‘Š‘’‘’€¢€¢€¢HHH‘†‘†‘†HH<<<HJ‘†‘†J‘†ƒ¢ƒ¢ƒ¢J‘†‘’‘’ƒƒƒƒƒƒ‘”‘”‘”HHHHHH‘–‘–‘–<‘Ž‘Ž<‘Ž<‘Ž‘’‘’‘Ž‘Žƒƒƒ<‚<<Pƒƒ‚PƒPƒƒƒ‚Pƒ‘Ž‘Ž‘Žƒƒƒ‘Ž‘Ž‘Žƒƒƒ‚‘Žƒƒƒ‘˜‘˜‘‘‘HHH‚HH<<<H‘Ž‘Ž‘š‘š‘š‘Ž‘Ž<‚<<Pƒƒ‚PƒPƒƒƒ‚Pƒ‘Ž‘”‘”‘˜‘˜ƒ¢ƒ¢ƒ¢Pƒƒ‘”‘”Pƒ‘”Pƒ‘”HH<<<H<‘œ‘œ<‘œ<‘œ‘’‘’HHHHHHHHH‘†‘†‘†‘†‘†‘†ƒƒƒ<‘ž‘ž<‘ž<‘ž‘–‘–‘–<‘Ž‘Ž<‘Ž<‘ŽJ‘†‘†J‘†J‘†‘’‘’<ƒƒ<ƒ<ƒHHHHHH‘”‘”HHHƒ"ƒ"ƒ"<‘ ‘ <‘ <‘ <‘Š‘Š<‘Š<‘ŠHHH‘Š‘Š‘ŠHH‘Š‘Š‘ŠHHH‘Š‘Š‘ŠH‘Š‘Š‘˜‘˜‘‘‘<‘‘<‘<‘HHHHHHPƒƒ‘”‘”Pƒ‘”Pƒ‘”Pƒƒ‘š‘šPƒ‘šPƒ‘šPƒƒ‘š‘šPƒ‘šPƒ‘š‘‘‘‘Ž‘Žƒƒƒ<‚<<Pƒƒ‚PƒPƒƒƒ‚Pƒ‘ŽHH<<<HHH‘‘‘H‘‘‘Š‘Š‘Š<‘¢‘¢<‘¢<‘¢‘š‘š‘š‘Š‘Š‘Š‘Š‘ŠHHHHH<<<H‘Š‘Š‘¤‘¤‘¤‘”‘”‘Š‘Š‘Š€¢€¢€¢<‘¢‘¢<‘¢<‘¢HHHHHHHHHHHHHHHHHHHHHHHHƒƒƒHHHHHHHHHHHHHHHHH<<<H‘”‘”‘Š‘Š‘ŠHHHHHHHHHHHHHH<<<H‘¦‘¦‘Š‘Š‘ŠHHHHHHHHH‘Ž‘Ž‘Ž     ƒ¢ƒ¢ƒ¢€¢€¢€¢€¢€¢€¢HHH€¢€¢H‚Ž‚’€€‚f         TX         TX ‚¸‚¸‚¸ J +J +J +‚¸‚¸‚¸ + +†¨€¢€¢€¢          ‘r€¢€¢€¢€¢‘°‘°‘°‘°‘°‘´‘°x‚öHq€š€Ã€ì>g¹â‚ ‚4‚]‚†‚‡‚’‚‚¨‚³‚»‚úƒƒAƒBƒOƒVƒyƒœƒ©ƒ±ƒÅƒð„ „9„Z„s„”„Æ……2…l…ž…؆ +†D†v†°†â‡‡N‡ˆ‡º‡ôˆˆˆAˆlˆœˆÁˆÒˆîˆý‰‰J‰z‰¹‰Þ‰ïŠ ŠŠ<ŠgŠ—Š¼ŠÍŠéŠø‹‹E‹u‹š‹«‹Ç‹Ö‹øŒ#ŒSŒxŒ‰Œ¥Œ´ŒÖ1Vgƒ’´ßŽŽ4ŽEŽaŽpŽ’Ž½Ží#?Np›Ëð,Ny©Îßû‘ +‘,‘W‘‡‘¬‘½‘Ù‘è’ +’5’e’¤’É’Ú’ö““'“R“‚“Á“æ“÷””"”D”ƒ”®”Þ••••H•W•Z•i•x•‘•ž•·•Ð•é–––4–M–f––˜–¥–Ê–Õ–à–ë–ö———#—4—E—V—g—x—‰—š—«—¼—͗ޗ˜"˜3˜D˜U˜f˜w˜ˆ˜™˜ª˜»˜Ì˜Ý˜î˜ÿ™™!™2™C™T™e™v™‡™˜™©™º™Ë™Ü™í™þšš š1šBšSšdšuš†š—š¨š¹šÊšÛšìšý›››0›A›R›c›t›…›–›§›¸›É›Ú›ë›üœ œœ/œ@œQœbœsœ„œ•œ¦œ·œÈœÙœêœû .?Parƒ”¥¶ÇØéúž žž-ž>žOž`žqž‚ž“ž¤žµžÆž×žèžùŸ +ŸŸ,Ÿ=ŸNŸ_ŸpŸŸ’Ÿ£Ÿ´ŸÅŸÖŸçŸø    + < M ^ o € ‘ ¢ ³ Ä Õ æ ÷¡¡¡*¡;¡L¡]¡n¡¡¡¡¡²¡Ã¡Ô¡å¡ö¢¢¢)¢:¢K¢\¢m¢~¢¢ ¢±¢Â¢Ó¢ä¢õ£££(£9£J£[£l£}£Ž£Ÿ£°£Á£Ò£ã£ô¤¤¤'¤8¤I¤Z¤k¤|¤¤ž¤¯¤À¤Ñ¤â¤ó¥¥¥&¥7¥H¥Y¥j¥{¥Œ¥¥®¥¿¥Ð¥á¥ò¦¦¦%¦6¦G¦X¦i¦z¦‹¦œ¦­¦¾¦Ï¦à¦ñ§§§$§5§F§W§h§y§Š§›§¬§½§Î§ß§ð¨¨¨?¨X¨q¨Š¨£¨¼¨Õ¨â¨ï¨ü¨ý©0©c©r©‹©¤©½©Ö©ï©úªªªª&ª7ªHªYªjª{ªŒªª®ª¿ªÐªáªò«««%«6«G«X«i«z«‹«œ«­«¾«Ï«à«ñ¬¬¬$¬5¬F¬W¬h¬y¬Š¬›¬¬¬½¬Î¬ß¬ð­­­#­4­E­V­g­x­‰­š­«­¼­Í­Þ­ï®®®"®3®D®U®f®w®ˆ®™®ª®»®Ì®Ý®î®ÿ¯¯!¯2¯C¯T¯e¯v¯‡¯˜¯©¯º¯Ë¯Ü¯í¯þ°° °1°B°S°d°u°†°—°¨°¹°Ê°Û°ì°ý±±±0±A±R±c±t±…±–±§±¸±É±Ú±ë±ü² ²²/²@²Q²b²s²„²•²¦²·²È²Ù²ê²û³ ³³.³?³P³a³r³ƒ³”³¥³¶³Ç³Ø³é³ú´ ´´-´>´O´`´q´‚´“´¤´µ´Æ´×´è´ùµ +µµ,µ=µNµ_µpµµ’µ£µ´µÅµÖµçµø¶ ¶¶+¶<¶M¶^¶o¶€¶‘¶¢¶³¶Ä¶Õ¶æ¶÷···*·;·L·]·n···¡·²·Ã·Ô·å·ö¸¸¸)¸:¸K¸\¸m¸~¸¸ ¸±¸Â¸Ó¸ä¸õ¹¹¹(¹9¹J¹[¹l¹}¹Ž¹Ÿ¹°¹Á¹Ò¹ã¹ôººº'º8ºIºZºkº|ººžº¯ºÀºÑºâºó»»»&»?»d»}»–»¯»È»Ó»Þ»é»ô¼ ¼&¼?¼X¼}¼~¼™¼¨¼«¼º¼Ó¼à¼ù½½+½D½Q½v½½Œ½—½°½É½â½ûyz¾r¾¾¾#¾2¾=¾f¾¾¸¾á¿ +¿3¿\¿…¿®¿×À@À@)À@RÀ@{À@¤À@¬À@¹À@ÈÀ@áÀAÀAÀA<ÀAnÀA¨ÀAÚÀBÀBFÀB€ÀB²ÀBìÀCÀCXÀCŠÀCÄÀCöÀD0ÀDbÀDœÀD§ÀD²ÀD½ÀDÈÀDÑÀEÀE ÀEÀE%ÀE@ÀEKÀEVÀEaÀElÀE‡ÀE®ÀEôÀFÀFÀF)ÀFoÀF|ÀF‹ÀF¤ÀFêÀF÷ÀGÀGÀGeÀGrÀGÀGšÀGàÀGíÀGüÀHÀH[ÀHhÀHwÀHÀHÖÀHãÀHòÀI ÀIQÀI^ÀImÀI†ÀIÌÀIÙÀIèÀJÀJGÀJTÀJcÀJ|ÀJÂÀJÏÀJÞÀJ÷ÀK=ÀKJÀKYÀKrÀK¸ÀKÅÀKÔÀKíÀL3ÀL@ÀLOxÀ ø©À þ•&% 789ˆÛˆÜˆÝˆÞˆßˆàˆáˆâˆãˆäˆåˆæˆçˆèˆéˆê‚{ÀLhÀLnÀLqÀLs|}ÀL~/ÀL„ÀL¦ÀL¶ÀLÀÀLÍÀLëÀLùÀMÀMPÀM^ÀMlÀM¤ÀM±ÀM¸ÀMðÀN;ÀNÀN§ÀN´ÀN¾ÀNÎÀNÛÀNçÀNðÀO,ÀOdÀOqÀO~ÀO‰ÀOÔÀPÀPQÀP³ÀP½ÀPáÀQÀQ!ÀQ1ÀQ9ÀQBÀQjÀQ¶ÀQÀÀQØÀQäÀQíÀR~ÀRa\ÀRgÀR‰ÀR¯ÀRÜÀS ÀS#ÀS3ÀSkÀS{ÀS•ÀS³ÀSÁÀSÏÀSëÀT&ÀTzÀT²ÀT¿ÀTÊÀTÕÀUÀU:ÀU;ÀUKÀU[ÀUlÀU}ÀUŽÀU›ÀU«ÀUºÀUßÀUøÀVÀV*ÀVzÀVýÀWEÀWOÀW\ÀWkÀW„ÀWŽÀW¶ÀW¿ÀX ÀXWÀXaÀXˆÀX˜ÀX³ÀXÿÀY ÀYÀY)ÀY=ÀY‰ÀYÁÀYÄÀYüÀZGÀZHÀZYÀZjÀZ‚ÀZšÀZ®ÀZÂÀZâÀZóÀ[À[À["À[GÀ[`À[yÀ[’À[«À[ÄÀ[øÀ\À\tÀ\À\ÁÀ\õÀ]5À]?À]{À]‹À]ŸÀ]·À]À€€€À]üÀ^À^,À^/À^vÀ^ÁÀ_ À_À_?À_HÀ_”À_žÀ_ÚÀ_îÀ`À`À`)À`3À`À`ŸÀ`¬À`æÀaÀa*€‚€ƒÀa3Àa9ÀaUÀaXÀa¸ÀaÏÀaØÀaôÀbEÀbhÀbÀb–ÀbŸÀb¾ÀbäÀc +ÀciÀc€Àc§€„€…Àc°Àc¶Àc½ÀcÀÀcÝÀcúÀd0ÀdfÀd×Àe Àe<ÀetÀe¬ÀeâÀfÀf=ÀfiÀf¡ÀfÛÀgÀgG€†€‡Àg}ÀgƒÀg¯Àg²Àh)ÀhFÀh·ÀiÀiMÀi‰Ài¸ÀiðÀj(ÀjMÀjj€ˆ€‰ÀjµÀj»ÀjóÀjöÀkCÀkÀkòÀlÀl:€Š€‹ÀlYÀl_ÀlÀl‚Àl’ÀlŸÀl¬Àl¹ÀlÆÀlýÀm4ÀmkÀm¢ÀmºÀmøÀnÀn0Àn@ÀnYÀnxÀn¯ÀnåÀnïÀnÿÀoÀoÀoX€Œ€Àoa€ÀogÀoqÀoÀo‘Ào¡Ào³ÀoÃÀoÍÀoßÀoïÀpÀpWÀp­ÀpÕÀq.Àq^ÀqôÀr0ÀrˆÀrÇÀrÕÀrãÀs ÀsÀsKÀs†ÀsÂÀsáÀt.Àt{ÀtîÀu&Àu7ÀuRÀurÀu¢Àu¯ÀuçÀvÀvEÀv§Àw Àw#Àw3ÀwcÀwsÀw€Àw›Àw³Àw¼ÀwÖÀwæÀxÀx6ÀxCÀxPÀxtÀx¡Àx¹ÀxÂÀxêÀyCÀy£Ày¼ÀyòÀz?ÀzkÀz|Àz}ÀzŽÀzŸÀz°ÀzÁÀzÒÀzãÀzôÀ{À{À{'À{8À{IÀ{ZÀ{kÀ{|À{À{žÀ{¯À{ÀÀ{ÕÀ{öÀ|À|!À|9À|iÀ|~À|–À|¯À|ÇÀ|ßÀ|÷À}À}+À}WÀ}À}§À}´À}ÉÀ}õÀ~;À~EÀ~UÀ~ƒÀ~ËÀÀ)ÀAÀYÀ‰ÀžÀ±ÀÁÀòÀ€À€À€À€{À€ˆÀ€•À€ÏÀnÀwÀ…ÀÀµÀÍÀýÀ‚À‚'À‚<À‚QÀ‚dÀ‚„À‚ù€Ž€ÀƒÀƒÀƒ6ÀƒFÀƒPÀƒ]Àƒ{Àƒ‰Àƒ¥ÀƒàÀƒîÀƒüÀ„À„À„À„AÀ„wÀ„À„‘À„™À„¢À„ÊÀ…À…bÀ…¢À…âÀ…ìÀ…þ€€‘À†JÀ†PÀ†`À†pÀ†˜À†›À†íÀ‡ À‡VÀ‡£À‡­À‡½À‡ÍÀ‡ÚÀ‡âÀˆÀˆ'ÀˆWÀˆzÀˆ¡ÀˆÊ€’€“ÀˆñJÀˆ÷À‰À‰À‰FÀ‰|À‰±À‰íÀŠ ÀŠÀŠ#ÀŠNÀŠWÀŠaÀŠvÀŠ†ÀŠ•ÀŠžÀŠ³ÀŠËÀŠãÀ‹À‹À‹&À‹6À‹FÀ‹NÀ‹WÀ‹lÀ‹„À‹œÀ‹ËÀ‹ÔÀ‹ÞÀ‹èÀŒ$ÀŒ-ÀŒEÀŒaÀŒqÀŒŠÀŒ™ÀŒ¡ÀŒªÀŒæÀŒþÀÀ*ÀDÀvÀ‡ÀÀ¬À¶ÀÝÀìÀŽÀŽ@ÀŽIÀŽSÀŽcÀŽŠÀŽšÀŽºÀŽÃÀŽëÀ7ÀAÀQÀaÀqÀÀ²À»À〔€•À/uÀ5ÀEÀUÀwÀÀŽÀ¬ÀºÀõÀ‘À‘À‘IÀ‘LÀ‘„À‘ÏÀ’1À’2À’?À’LÀ’YÀ’cÀ’fÀ’uÀ’ŽÀ’—À’¼À’ðÀ“À“À“À“$À“`À“˜À“¥À“ÃÀ”À”DÀ”¦À•.À•À•‘À•¡À•±À•ÁÀ•ÑÀ•áÀ•ñÀ–À–À–/À–RÀ–SÀ–`À–mÀ–zÀ–‹À–œÀ–¬À–½À–ÎÀ–ßÀ–ðÀ—À—À—#À—4À—EÀ—VÀ—gÀ—xÀ—‰À—šÀ—«À—¼À—ÍÀ—ÞÀ—ïÀ—ÿÀ˜À˜À˜/À˜?À˜OÀ˜_À˜oÀ˜À˜À˜ŸÀ˜¯À˜¿À˜ÏÀ˜ßÀ˜ïÀ˜ÿÀ™À™ÀÀ£À·ÀËÀßÀóÀžÀžÀž/ÀžCÀžWÀžkÀž‰Àž¥Àž´ÀžûÀŸBÀŸ•ÀŸÕÀŸíÀ -{À +ˆÀ +À +bÀ +ÛÀ +BÀ +•À +ðÀ +3À +^À +ÑÀ +À +À +ëÀ + -ˆëERS݈ìˆîˆïˆðt{€iq€ŽzVJˆò€®€«€½ˆóˆõˆ÷ˆø€¾€È€Í€Éˆù€à€ç€èˆúY€üfˆûˆüÛ€–À qÀ wÀ |À ˆÀ ”À  À ¬À ¸À ÄÀ ÐÀ ÜÀ¡À¡DÀ¡mÀ¡™À¡³À¡ÍÀ¡çÀ¢À¢À¢5À¢OÀ¢i€—€˜À¢ƒ À¢‰À¢™À¢¨À¢·À¢ìÀ¢üÀ£À£#À£nÀ£¹À£îÀ£ùÀ¤+€™€šÀ¤_À¤eÀ¤fÀ¤uÀ¤xÀ¤‘À¤ž€›€œÀ¤«'À¤±À¤ÁÀ¤ÄÀ¤ÑÀ¤ÞÀ¤ëÀ¤øÀ¥À¥À¥"À¥>À¥IÀ¥”À¥ÇÀ¦À¦EÀ¦xÀ¦œÀ¦ÀÀ¦äÀ§À§0À§?À§NÀ§]À§lÀ¨+À¨xÀ¨¸À¨ÇÀ¨ÖÀ¨åÀ¨ôÀ©À©jÀ©wÀ©‡À©”À©¤€–À + †À + èÀ + 'À + Jˆÿ‰‰‰‰‰‰‰‰‰ ‰ +‰ ‰ ‰ ‰‰‰‰‰‰‰7¥=‰€À©ÊÀ©ÐÀ©ÓÀ©ÞÀ©ãÀ©ûÀªÀªÀª€ž€ŸÀªÀª%Àª&Àª6Àª>ÀªSÀªcÀª…Àª†Àª‰Àª«Àª³ÀªÁÀªÓÀªéÀªÿÀ«À«À«%À«U€ €¡À«b+À«hÀ«‚À«À«žÀ«¬À«×À¬À¬À¬$À¬4À¬SÀ¬rÀ¬‘À¬­À¬ÌÀ¬ëÀ­ +À­&À­BÀ­aÀ­€À­ŸÀ­¯À­ËÀ­çÀ®À®À®;À®FÀ®QÀ®\À®gÀ®rÀ®ŽÀ®¼À®ÛÀ®úÀ¯À¯2À¯=À¯JÀ¯WÀ¯g€¢€£À¯ƒÀ¯‰À¯À¯±À¯ÃÀ¯ÎÀ¯ìÀ° +À°(€¤€¥À°8À°>À°}À°À°œ€¦€§À°×CÀ°ÝÀ°÷À±À±À±*À±;À±LÀ±]À±nÀ±À±À±¡À±²À±ÃÀ±ÔÀ±åÀ±öÀ²À²À²)À²:À²KÀ²\À²iÀ²vÀ²õÀ³tÀ³wÀ³–À³µÀ³ÆÀ³åÀ´À´À´+À´GÀ´cÀ´À´›À´¦À´¶À´ÆÀ´âÀ´þÀµÀµ6ÀµFÀµVÀµuÀµ”Àµ³À¶"À¶%À¶žÀ¶©À¶´À¶ÂÀ¶ÐÀ¶ÛÀ¶æÀ¶ñÀ¶üÀ·À·À·À·(À·3€¨€©À·CÀ·IÀ·SÀ·gÀ·{À·–À·£À·°À·ÌÀ·èÀ¸À¸ À¸<À¸XÀ¸tÀ¸À¸ŽÀ¸™À¸¦À¸³À¸ÀÀ¸ÍÀ¸ÚÀ¸çÀ¸ôÀ¹À¹À¹Z€ª€«À¹v)À¹|À¹–À¹§À¹¸À¹ÉÀ¹ÚÀ¹ëÀº Àº/ÀºQÀºsÀº•Àº·ÀºÙÀºûÀ»À»?À»fÀ»sÀ¼pÀ¼wÀ¼–À¼µÀ¼ÔÀ¼ðÀ½ À½(À½DÀ½`À½kÀ½vÀ½À½ŒÀ½—À½¢À½¾À½ÉÀ½åÀ½õÀ¾À¾€¬€­À¾ XÀ¾&À¾'À¾*À¾IÀ¾hÀ¾‡À¾•À¾ŸÀ¾¯À¾·À¾ÇÀ¾ÑÀ¾âÀ¾ìÀ¾ôÀ¿À¿À¿À¿%À¿5À¿?À¿IÀ¿[À¿cÀ¿›À¿©À¿·À¿ÇÀ¿ÑÀ¿áÀ¿ñÀ¿üÀÀ,ÀÀyÀÀÈÀÁÀÁcÀÁÁÀÁøÀÂÀÂÀÂ'ÀÂ+ÀÂ8ÀÂzÀÂ…ÀÂÀžÀ¬À¶À¹ÀÂÜÀÂìÀÂöÀÃÀÃÀÃ(ÀÃ2ÀÃSÀÿÀÃÏÀÃÞÀÃîÀÄÀÄÀÄ'ÀÄ7ÀÄ?ÀÄOÀÄYÀÄiÀÄqÀÄÀÄ‹ÀÄ›ÀÄ£ÀijÀĽÀÄÅÀÄÕÀÄãÀÄíÀÄõÀÅÀÅÀÅÀÅ-ÀÅ:€®€¯ÀÅJÀÅPÀÅQÀÅWÀÅaÀÅkÀÅpÀÅ€ÀÅŠÀÅšÀŤÀűÀÅÄÀÅÔÀÅÞÀÅ怰€±ÀÅöÀÅüÀÆ ÀÆÀÆ.ÀÆ>ÀÆ\€²€³ÀÆ‚ÀƈÀƉÀÆæÀÆñ€´€µÀÇ ÀÇÀÇ<€¶€·ÀÇ[ ÀÇaÀÇkÀÇÀǦÀÇ¿ÀÇØÀÇåÀÇþÀÈÀÈ0ÀÈUÀÈnÀȇÀÈ’ÀÈÀȨÀÈÁÀÈÚÀÈçÀÈôÀÈÿÀÉ ÀÉÀÉ&ÀÉ3ÀÉ@ÀÉMÀÉZÀÉgÀÉwÀÉ“ÀÉ耸€¹ÀÊÀÊÀÊÀÊÀÊ‹ÀË"ÀËEÀËwÀË…À˧ÀËÀÀËïÀËúÀÌÀÌÀÌÀÌ%ÀÌ5ÀÌYÀÌ}ÀÌ·ÀÍDÀÍLÀÍcÀÍ|ÀÍ«ÀͶÀÍÁÀÍÌÀÍ×€º€»ÀÎ!,ÀÎ'ÀÎ+ÀÎ.ÀÎaÀΆÀÎÕÀÎùÀÏ!ÀÏlÀÏ»ÀÐÀÐ.ÀДÀаÀÐÚÀÑ%ÀÑ€ÀѲÀÑÑÀÒÀÒ6ÀÒ\ÀÒgÀÒrÀÒ}ÀÒ¯ÀÒúÀÓ,ÀÓwÀÓ„ÀÓ‘ÀÓžÀÓäÀÔ*ÀÔpÀÔ‹ÀÔ›ÀÔ·ÀÔÄÀÔúÀÕ%ÀÕ@ÀÕYÀÕu€¼€½ÀÕ‚ÀÕˆÀÕŒÀÕ™€¾€¿ÀÕ¦-ÀÕ¬ÀÕÈÀÕÞÀÖ ÀÖ#ÀÖMÀÖ…ÀÖÈÀÖâÀ×+ÀמÀ×üÀØ!ÀØ<ÀØ_ÀØtÀ؉ÀØ”ÀØ¢ÀعÀØçÀÙ ÀÙNÀÙfÀÙ‘ÀÙÓÀÚÀÚ8ÀÚAÀÚdÀÚžÀÚØÀÚôÀÛÀÛÀÛLÀÛzÀÛ¿ÀÛúÀÜ8ÀÜŽÀܯÀÜÞÀÝ$ÀÝY€À€ÁÀÝu%ÀÝ{ÀÝ‚ÀÝ…ÀÝæÀÞcÀÞÀÞÓÀßnÀßþÀàuÀàÒÀáÀá*ÀáFÀádÀá‰ÀáâÀâƒÀâæÀã<ÀãÀãÄÀãóÀä3ÀäQÀäZÀä™Àä½ÀäáÀäìÀä÷ÀåÀå ÀåÀå'Àå‰À喀€ÃÀå¦Àå¬Àå²ÀåµÀåÀ€Ä€ÅÀåÐ'ÀåÖÀåðÀæ ÀæÀæ3ÀæRÀæqÀæÀæ¯ÀæËÀæçÀæ÷ÀçÀç2ÀçNÀçjÀç†Àç‘ÀçœÀç§Àç²ÀçÂÀçÐÀçÝÀçêÀç÷ÀèÀèÀèÀè+Àè8ÀèfÀèsÀè€ÀèœÀè¸ÀèÔÀèäÀé3€Æ€ÇÀéRÀéXÀé^ÀéfÀé‚ÀéÀéÀ黀È€ÉÀéÉ ÀéÏÀéÐÀêÀêEÀêFÀêQÀê\ÀêxÀê”Àê×ÀêâÀêð€Ê€ËÀêþÀë€Ì€ÍÀëÀë Àë*Àë†Àë¥ÀëÄÀì +Àì&ÀìEÀìSÀì^ÀìiÀìyÀì‰Àì˜À췀΀ÏÀìÜÀìâÀìþÀí#ÀíRÀí˜ÀíìÀîÀî©ÀîÑÀîõÀïÀï,ÀïZÀïvÀï”ÀïÃÀïòÀð ÀðNÀðÀðÍÀñÀñdÀñm€Ð€ÑÀñ“Àñ™ÀñÀñ´€Ò€ÓÀñ½ +ÀñÃÀñÄÀñãÀñæÀòÀòÀò#Àò-Àò=ÀòE€Ô€ÕÀòUÀò[Àò\ÀòiÀòvÀòƒÀò†Àò‘ÀòšÀò£Àò¬Àò·ÀòÅÀòÐÀòÛÀòæÀòó€Ö€×Àó<ÀóÀó.ÀóoÀó~ÀóŸÀó»ÀóÔÀóßÀóêÀôÀô"Àô>ÀôjÀô–Àô¾ÀôÉÀôÔÀôóÀõÀõ+Àõ;ÀõKÀõgÀõ’Àõ½ÀõéÀö'ÀöÀö­À÷À÷>À÷qÀøÀø$Àø2ÀøBÀøRÀøiÀøyÀøÀøÀøšÀø±ÀøÈÀøëÀùÀùÀùÀù,Àù9ÀùKÀùiÀù~Àù‰ÀùœÀùµÀùÀÀùËÀùÙÀùæ€Ø€ÙÀùó ÀùùÀúÀúÀú Àú+Àú6ÀúNÀúcÀú˜Àú°Àú¹€Ú€ÛÀúÉÀúÏÀúÐÀúèÀûÀû5€Ü€ÝÀûJÀûPÀûQÀûtÀû—Àû»ÀûÆ€Þ€ßÀûâÀûèÀûéÀûôÀü€à€áÀü Àü&Àü6ÀüFÀüVÀüfÀüvÀü†Àü–Àü¦Àü¶ÀüÆÀüÖÀüæÀüöÀýÀýÀý&Àý5Àý6ÀýDÀþÀþrÀþÔÀÿÀÿ2Àÿ«À%À3ÀAÀOÀ]ÀhÀvÀ„À’À´ÀìÀ>ÀIÀTÀ_ÀjÀuÀ€À‹À–À¤ÀÀÀÜÀêÀõÀÀ!ÀíÀýÀÀ;ÀKÀ†ÀÁÀàÀÀ5ÀkÀŠÀ©À À8ÀÀÊÀÔÀäÀôÀÀÀ!À1ÀAÀQÀuÀ‚À¼ÀÀ5À¶ÀuÀÆÀ À %À 3À AÀ LÀ hÀ vÀ „À  À ËÀ +À +mÀ +‹À +©À +´À +ìÀ 4À UÀ €À ŸÀ kÀ {À ®À À !À IÀ ŒÀ ÀÀ ÙÀÀ8ÀoÀ¦ÀÅÀüÀtÀ®ÀÀLÀƒÀŸÀÀkÀ„ÀÀ¨ÀÖÀòÀÀ<À[ÀzÀ¥ÀÄÀÏÀÚÀåÀðÀûÀÀÀÀ;ÀKÀjÀ‚ÀÀ À°ÀÌÀðÀjÀÃÀëÀ=ÀVÀoÀ¬ÀéÀ&ÀcÀ ÀÝÀÀWÀÀÃÀÀÀÀ)ÀIÀYÀpÀˆÀÀ{ÀÀÀ7ÀVÀdÀtÀ‚ÀÀ›À©À¶ÀÕÀ ÀGÀÀ­ÀãÀ +ÀÀ*À:ÀJÀZÀjÀzÀŠÀšÀªÀÉÀçÀDÀNÀ^ÀkÀxÀ…À’ÀŸÀ¬À¼ÀÉÀîÀùÀÀÀÀ%À0À;ÀFÀQÀ\ÀxÀƒÀŽÀ™ÀµÀÃÀÓÀáÀïÀýÀÀÀ$À2À@ÀbÀšÀìÀ À À (À ôÀ!À!2À!NÀ!|À!˜À!¨À!¶À!ÁÀ!ÝÀ!íÀ!ýÀ"À"À"=À"KÀ"qÀ"‹À"߀#À + 7À + aÀ + ¸À +oÀ +šÀ +µÀ +ÌÀ +CÀ +òÀ +]À +¤À +ÇÀ +âÀ +õÀ +€À +ÿÀ +ºÀ +ÑÀ +À +/À +JÀ +ñÀ +À +SÀ +bÀ +©À +À ++À +^À +©À +¤À +ÛÀ +úÀ +À +8IG€Ñƒ™‰‰‰*V$‚0SY!\€ºƒµâƒ›‰}~ƒ±‰ƒªˆ‰‚.‰‰‰‰‹‰ ‰!‰$Ž‰'‰(„€—Å€¨°O€Ö€ž¶µ‰+_· \€¡‡\QÃÄ€Ú‡‘ÑÙ€Á‰,€¥`‰.€âÀ#€—À#À#À#/À#5À#:À#?À#EÀ#JÀ#WÀ#lÀ#À#‘À#™À#¤À#½À#ÜÀ#ÝÀ#íÀ#õÀ$ À$2À$XÀ$^À$ƒÀ$œÀ$ÁÀ$òÀ%/À%xÀ%ÍÀ&.À&›À'À'™À'²À'ßÀ'åÀ'õÀ'ýÀ(2À(HÀ(XÀ(`À(pÀ(¤À(¥À(¶À(ÇÀ(ÝÀ(îÀ(ÿÀ)À)!À)2À)CÀ)TÀ)jÀ)€À)–À)§À)¸À)ÉÀ)ÚÀ)ëÀ)üÀ* À*À*4À*EÀ*VÀ*gÀ*xÀ*‰À*šÀ*«À*¼À*ÍÀ*ÞÀ*ïÀ+À+À+"À+3À+DÀ+UÀ+fÀ+|À+’À+¨À+¾À+ÏÀ+åÀ+ûÀ,À,'À,=À,SÀ,dÀ,uÀ,†À,—À,¨À,¹À,ÏÀ,åÀ,ûÀ-À-'À-8À-SÀ-nÀ-‰À-¤À-¿À-ÚÀ-õÀ.À.+À.FÀ.aÀ.|À.—À.²À.ÍÀ.èÀ/À/À/9À/TÀ/oÀ/ŠÀ/¥À/ÀÀ/ÛÀ/öÀ0À0,À0GÀ0bÀ0}À0˜À0³À0ÎÀ0éÀ1À1À1:À1UÀ1pÀ1‹À1¦€ã€äÀ1Á À1ÇÀ1æÀ2 À2À2&À2«À2ÓÀ2òÀ3À3(À3YÀ3iÀ3xÀ3À3ÉÀ3áÀ3öÀ4 À4-À46À4AÀ4wÀ4©À4áÀ4õÀ51À5|À5®À5æÀ5úÀ6À6b€å€æÀ6ž'À6¤À6¥À6¸À6àÀ6õÀ7À7À7À7%À70À79À7CÀ7TÀ7ZÀ7gÀ7tÀ7wÀ7ŸÀ7´À7ÉÀ7ÖÀ7ãÀ7îÀ7ùÀ8À8 À8À8/À89À8FÀ8fÀ8ŽÀ8£À8°À8½À8ÈÀ8ÓÀ8ÞÀ8ç€ç€èÀ8ðpÀ8öÀ9À99À9]À9hÀ9sÀ9~À9°À9âÀ9ýÀ: +À:À:$À:@À:‘À:¡À:ÀÀ:æÀ:õÀ;À;À;;À;aÀ;pÀ;˜À;ÀÀ<À<,À1À>MÀ>hÀ>wÀ>¥À>ÓÀ?À?gÀ?ˆÀ?·À?ýÀ@)À@LÀ@ZÀ@À@ÃÀ@éÀA+ÀAMÀAuÀAÀA¸ÀAæÀBÀB1ÀB`ÀBŽÀB¼ÀBïÀC;ÀC‡ÀCßÀD*ÀD3ÀDYÀDÀDÀDÏÀEÀEÀEWÀEsÀEÀE­ÀEÒÀF ÀFLÀFjÀFsÀF²ÀFÖÀFúÀGÀGÀGÀG|ÀGÁÀHÀH}ÀHÀÀIÀI*ÀI9ÀIaÀIpÀIÀI–ÀI­ÀIÄÀIàÀJÀJ<ÀJj€é€­ÀJsÀJyÀJƒÀJ“ÀJ›ÀJ²ÀJÄÀJÛÀJíÀJÿÀKÀK!ÀK+ÀK;ÀKC€ê€»ÀKS€æÀKYÀKuÀKxÀKƒÀKŸÀKªÀKÅÀKÈÀKìÀLÀL!ÀL.ÀL;ÀLHÀLdÀL–ÀLÈÀMÀMjÀM»ÀMÚÀN%ÀNtÀN¿ÀOÀOLÀO—ÀOÉÀPÀPGÀPmÀP‰ÀP¯ÀP¼ÀPÉÀPàÀPëÀPöÀQÀQÀQNÀQ€ÀQ³ÀQÏÀQõÀRÀRÀRÀRFÀRSÀReÀRˆÀR§ÀRÍÀSÀSlÀS˜ÀS¼ÀSÇÀSÒÀSßÀSìÀSùÀTÀTXÀT§ÀTÆÀTÕÀTûÀUKÀUwÀU„ÀU‘ÀU°ÀUÖÀV&ÀVRÀV]ÀVxÀV–ÀV²ÀVØÀWÀW:ÀW^ÀW­ÀWÉÀWïÀX+ÀXQÀX^ÀXkÀX¥ÀXÄÀXêÀYHÀY{ÀYŸÀY¾ÀYäÀZBÀZhÀZwÀZªÀZ·ÀZÄÀZàÀ[À[À[GÀ[ZÀ[~À[²À[æÀ[ñÀ\ À\3À\@À\SÀ\`À\mÀ\‰À\¯À\ëÀ]À]5À]QÀ]wÀ]³À]ÀÀ]æÀ]óÀ^À^À^BÀ^OÀ^ƒÀ^–À^ÈÀ^ìÀ_ À_TÀ_ˆÀ_“À_ÅÀ_ÜÀ_øÀ`À`+À`>À`KÀ`XÀ`tÀ`šÀ`ÖÀ`üÀa Àa<ÀabÀažÀa«ÀaÑÀaÞÀaëÀbÀb +Àb.ÀbXÀbcÀbnÀb{ÀbˆÀb•Àb°ÀbÌÀbþÀc0ÀcÀcÒÀd#ÀdBÀdÀdÜÀe'Àe‚Àe´ÀeÿÀf1Àf|Àf¯ÀfÕÀfñÀfôÀgÀgÀg*ÀgPÀgvÀg‘ÀgÞÀhÀh ÀhÀh#Àh?ÀhLÀhYÀhÀhÚÀhõÀiÀiÀi+ÀiQÀiwÀi«Ài¸ÀiÅÀiáÀjÀjÀj;ÀjWÀj~ÀjÀjšÀj§Àj¨Àj¸ÀjȀ뀿ÀjØGÀjÞÀjâÀjðÀkÀk*ÀkdÀk’Àk®ÀkÜÀl +ÀlÀl.Àl=Àl^Àl¤Àl¾ÀláÀlïÀlÿÀmÀmIÀm`ÀmƒÀm½ÀmëÀnÀn5ÀncÀnµÀnÍÀnÖÀnñÀoÀoVÀowÀo½ÀoìÀp ÀpTÀpkÀp€Àp‹Àp–Àp¯ÀpÖÀpùÀqÀq%Àq0ÀqTÀquÀq€Àq‹Àq§ÀqÃÀqÿÀrÀrAÀrPÀr[ÀrvÀrwÀr‡Àr—Àr§Àr·Àr¸ÀrÈÀrØÀrèÀs-€ì€íÀsrÀsxÀs³ÀsÀÀsÏÀsÜÀsëÀsøÀtÀtÀt1ÀtHÀtlÀtÀtžÀt­ÀtÓÀtÜÀuÀu&Àu3ÀuYÀu€î€ËÀuŽÀu”ÀuÅ€ï€ðÀuÛÀuáÀuâÀuóÀvZÀvÙÀwXÀw×€ñ€ÝÀxVÀx\ÀxkÀx{Àx‹Àx£Àx»ÀxËÀxÛÀxëÀxýÀyÀyÀy3Ày>ÀyEÀydÀyƒÀyŸ€â À +®À +"À +" À +#GÀ +%À +%UÀ +(ùÀ +* À +*ƒÀ +*–À +*½J‰0‰2á‰3‰4‰5‰6‰7‰80‰9‰:‰;ã‰>‰?‰@‰A‚‰B‚‰C‰D‰E‰F‰I‰J¢¡‰K‰L‚(‰M‰N‰O‰P‰Q‰R‰S‚+‰T‰U‰V‰W‚,‰X‰Y‰Z‰[˜‰\‚-‰]‰^‰_‰`‰a‚2‚3‰b<‰c‰d‰e‰f‰h‰i‚;‚7‰l‰n‰p‰sÌ€òÀy¾ÀyÄÀyÉ€ó€ôÀyÏÀyÕÀyïÀzÀz=ÀzbÀzm€õ€öÀzˆ ÀzŽÀz·ÀzÑÀ{À{:À{fÀ|À|À|IÀ|ƒÀ|ùÀ}F€÷€øÀ}¨À}®À}ÊÀ~€À~ƒÀ~£À~Ë€ù€»À~ï&À~õÀÀ9ÀˆÀÓÀûÀ€aÀ€¬À€ÈÀ€òÀ=À˜ÀÊÀéÀ‚À‚NÀ‚tÀ‚À‚ŠÀ‚•À‚ÇÀƒÀƒDÀƒÀƒœÀƒ©Àƒ¶À„À„XÀ„©À„ÄÀ„ÔÀ„ðÀ„óÀ…8À…}À… À…º€ú€½À† + +À†À†À†%À†6À†GÀ†mÀ†zÀ†‰À†”À†£€û€üÀ†¬À†²À†ÞÀ‡”À‡—À‡ÁÀ‡ûÀˆqÀˆ¾€ý€þÀ‰ À‰&À‰BÀ‰øÀ‰ûÀŠÀŠCÀŠm€ÿ€íÀŠ‘'ÀŠ—ÀŠÒÀŠßÀŠìÀŠûÀŠþÀ‹À‹,À‹ZÀ‹uÀ‹‘À‹µÀ‹ÀÀ‹ÉÀ‹ÖÀ‹ãÀ‹ðÀŒÀŒ%ÀŒVÀŒmÀŒ¨ÀŒÎÀŒÛÀŒêÀŒùÀÀ.À;ÀHÀkÀ‘À À¯ÀÓÀÜÀéÀöÀŽ €¿ÀŽ$@ÀŽ*ÀŽOÀŽsÀŽÀŽ±ÀŽÌÀÀAÀQÀ\ÀiÀ~À‹À À­ÀÉÀûÀ-À~ÀÏÀ‘ À‘?À‘ŠÀ‘²À’À’gÀ’²À“ À“?À“ŠÀ“¼À”À”:À”`À”wÀ”¥À”ÁÀ”âÀ•À•>À•xÀ•À•¦À•µÀ–À–/À–GÀ–|À–ÁÀ–üÀ—:À—[À—ŠÀ—àÀ˜&À˜RÀ˜”À˜¼À˜úÀ™À™8À™rÀ™¬À™ÐÀ™àTÀ™æÀšÀš[ÀšzÀ›XÀ›æÀœÀœ6ÀœTÀœtÀœ’Àœ›Àœ×ÀÀVÀrÀ¡ÀžÀžGÀž ÀŸAÀŸ¤ÀŸçÀ À À À $À HÀ XÀ ©À ÈÀ¡À¡À¡À¡*À¡5À¡BÀ¡OÀ¡\À¡€À¡ŸÀ¡ÅÀ¡ýÀ¢ À¢FÀ¢SÀ¢`À¢ŒÀ¢±À¢ñÀ£TÀ£]À£{À£¾À£íÀ¤NÀ¤“À¤¿À¤÷À¥HÀ¥„À¥¢À¥ÇÀ¦À¦À¦?À¦[À¦wÀ¦¶À¦ÁÀ¦ÌÀ¦×À¦ûÀ§À§)À§MÀ§¦À¨ À¨ªÀ© À©PÀ©“À©äÀªÀªZ€‰Àª`Àª|Àª¡ÀªçÀ«;À«ŠÀ«²À«ÁÀ«ÐÀ«çÀ«þÀ¬À¬1À¬_À¬À¬»À¬ÄÀ¬çÀ¬öÀ­À­*À­3À­fÀ­uÀ­‚À­’À­šÀ­±À­ÈÀ­×À­ýÀ®#À®?À®eÀ®‚À®¨À®¿À®ÖÀ®åÀ®òÀ¯À¯>À¯ZÀ¯À¯§À¯¾À¯ÍÀ¯ÜÀ°À°À°FÀ°lÀ°{À°ˆÀ°¼À°âÀ°ïÀ°òÀ±À±:À±bÀ±mÀ±„À±›À±²À±àÀ±ïÀ±þÀ²À²TÀ²‚À²°À²½À²ÊÀ²×À²ýÀ³#À³.À³7À³À³£À³³À³ÏÀ³õÀ´À´*À´RÀ´_À´lÀ´ À´±À´ÔÀ´áÀ´îÀ´ûÀµ +Àµ#ÀµCÀµkÀµ“Àµ·ÀµáÀµìÀµ÷À¶À¶À¶À¶9À¶lÀ¶ƒÀ¶±À¶ÍÀ·À·5À·cÀ·lÀ·|À·“À·ªÀ·¹À·ÈÀ·áÀ·úÀ¸À¸&À¸?À¸HÀ¸wÀ¸ŒÀ¸¨À¸ÎÀ¸ÛÀ¸èÀ¸õÀ¹À¹,À¹9€ÏÀ¹FRÀ¹LÀ¹hÀ¹ƒÀ¹ŸÀ¹½À¹ÙÀ¹ýÀº#Àº.Àº9ÀºDÀºlÀº·ÀºßÀºèÀ»À»EÀ»tÀ»¢À»ÐÀ¼À¼NÀ¼šÀ¼æÀ½À½hÀ½uÀ½…À½ÐÀ¾6À¾`À¾«À¿À¿8À¿WÀ¿‰À¿»ÀÀÀÀ8ÀÀƒÀÀÀÀÀÀîÀÁ?ÀÁÀÁ«ÀÁÇÀÁîÀ +À ÀÂ3ÀÂ[ÀƒÀÂÏÀÃÀÃAÀÃ]ÀÃhÀÃÀÃŒÀúÀÃéÀÄÀÄFÀÄtÀÄÀÄÄÀÄýÀÅÀÅ7ÀÅ_ÀÅ{ÀÅŸÀŪÀÅÈÀÆÀÆ'ÀÆOÀÆkÀƉÀÆ”ÀƸÀÆÞ€‡ÀÆäÀÇÀÇCÀÇRÀÇaÀÇpÀÇxÀǸÀÇÉÀÈCÀÈRÀÈhÀÈ®ÀȾÀÈóÀÉÀÉÀÉÀÉ*ÀÉ7ÀÉÀÉ¥ÀÉÀÀÉÝÀÉúÀÊÀÊ:ÀÊGÀÊTÀÊ]ÀÊyÀÊ–ÀÊàÀËZÀË’ÀËÜÀÌÀÌ„ÀÍ+ÀÍâÀÎÕÀÏŸÀϽÀÏÛÀÐÀÐ/ÀÐÀÐÕÀÑÀÑ ÀÑ+ÀÑjÀÑuÀÑ~ÀÑšÀѶÀÑÚÀÑþÀÒWÀÒfÀÒuÀÒ’ÀÒ¯ÀÒÿÀÓ7ÀÓZÀÓgÀÓtÀÓ®ÀÓ»ÀÓÒÀÓéÀÓöÀÔÀÔ`ÀÔ˜ÀÔ¬ÀÔ·ÀÔÂÀÔæÀÕÀÕ(ÀÕGÀÕÀÕ“ÀÕžÀÕ©ÀÕÍÀÖÀÖMÀÖaÀÖlÀÖwÀÖÐÀ×7À×qÀ׎À×ðÀØ*ÀØpÀØûÀÙ5ÀÙ¤ÀÙ»ÀÚ+ÀÚQÀÚ›ÀÚÃÀÛCÀÛÚÀÜÀܧÀÜÏÀÜóÀÜþÀÝ ÀÝÀÝ!ÀÝ.ÀÝ;ÀÝWÀÝrÀÝÀÝ©ÀÝ×ÀÞÀÞ5ÀÞSÀÞŸÀÞëÀß6Àß\Àß·ÀßÀÀßæ€òÀ ++ÒÀ ++äÀ +,À +,BÀ +,eÀ +-À +-;À +-fÀ +-À +.4À +/?À +0šÀ +2ÊÀ +4‰v‚ë‰y‚e‚:‰|©º‚C‚B‚1‚‚"‚D‚4‚FƒÀ‚%‚O‚P‚I‚W‚Z‰}‚c‚fÀßöÀßüÀà  +Àà"Àà(Àà2ÀàBÀàRÀàsÀà’Àࢠ ÀàÑVÀà×ÀàóÀáÀá&ÀáBÀáSÀádÀáuÀá‚Àá¨ÀáÎÀâ>ÀâWÀâ`ÀâkÀâtÀâÀâˆÀâ‘Àâ­Àâ¾ÀâÏÀâàÀâñÀãÀãÀãGÀãTÀãzÀã ÀãÆÀããÀãûÀäÀä!Àä4ÀäGÀäkÀäÀäšÀä¥Àä°Àä»ÀäÆÀäÑÀäÜÀäùÀåÀå2Àå`ÀåÎÀæÀæ>ÀælÀæ|Àæ“ÀæºÀæÒÀæíÀç6ÀçMÀçtÀç}ÀçÅÀçÎÀèÀèÀè(Àè/ÀèFÀèmÀèvÀè’Àè­ÀèÄÀèëÀèôÀé(ÀéNÀéiÀétÀé”Àé«ÀéÒÀéÛÀéó Àéü ÀêÀê +ÀêÀê*Àê7Àê^ÀêhÀêzÀêŠÀêš%Àê Àê©Àê¬Àê°Àê×ÀêúÀë&ÀëRÀë~Àë°ÀëÑÀì ÀìÇÀí2Àí¡Àí½ÀíûÀîpÀîËÀïÀï7Àï•Àï´Àð^ÀðhÀðxÀðˆÀð•Àð¥Àð©Àð¬Àð¯ÀðÓÀñÀñ(Àñ3ÀñoÀñ«hÀñ±ÀñëÀòÀòÀò-ÀòSÀòÀò¨ÀòÏÀòÚÀòöÀó$ÀóKÀógÀó•Àó¼ÀóÃÀóÔÀóåÀóöÀôÀôÀô,ÀôNÀôbÀô„Àô˜ÀôÖÀôçÀõÀõ.Àõ@ÀõUÀõeÀõÚÀöUÀönÀö‚ÀöÀö›Àö¦Àö±Àö¼ÀöÇÀ÷À÷+À÷SÀ÷iÀ÷tÀ÷²À÷ÎÀøÀø Àø7ÀøSÀødÀøuÀø†Àø—Àø¨ÀøµÀøÅÀøÎÀøÑÀøùÀùÀù$Àù5Àù@ÀùKÀùVÀùaÀùlÀùwÀùÁÀùáÀúVÀúËÀû&ÀûYÀûÀûˆÀû‘ÀûŸÀûµÀûÌÀûäÀü Àü+ÀüOÀüsÀüÀüÆÀüæÀýÀýKÀýbÀý‰Àý·ÀýÎÀýüÀþ#Àþ^ÀþÆÀþòÀþøÀÿÀÿÀÿÀÿ*Àÿ6ÀÿEÀÿTÀÿcÀÿoÀÿvÀÿ}Àÿ›Àÿ¹ÀÿÙÀÿÚÀÿ÷fÀÿýÀÀ +À ÀÀ5ÀKÀqÀ™ÀßÀÀtÀªÀÀmÀxÀÀŠÀÕÀ$ÀŠÀðÀ<À¢ÀßÀ>À ÀÀHÀzÀ³ÀûÀCÀdÀ…À­ÀíÀ 1À gÀ ™À äÀ +À +aÀ +ÁÀ +åÀ À -À ŠÀ çÀ DÀ vÀ êÀ îÀ À 5À MÀ bÀ ‡À À ›À ÑÀ íÀÀ+À4ÀPÀvÀÃÀÎÀrÀàÀäÀ!À9ÀmÀ…À›À¢ÀGÀ|À4À«ÀöÀ2À^ÀaÀÀ¡ÀÉÀìÀùÀÀ-ÀEÀQÀiÀ€ÀžÀ§ÀÈÀßÀÀrÀÀÀ;ÀWÀ{ÀÒÀýÀÀ'À<ÀlÀÀ›À¦À±ÀÈÀïÀÀÀfÀ‚À™ÀÀÀØÀÜÀJÀxÀ¦ÀèÀLÀhÀyÀŠÀ›À¬À½ÀÎÀãÀõÀÀ'À<ÀQÀÀ§ÀËÀïÀúÀÀÀÀ&À1À<À`À†ÀªÀºÀÀÀ;ÀRÀyÀ‘ÀšÀ±ÀØÀáÀOÀ‘À¿ÀíÀ!À8À_ÀhÀ„À›ÀÂÀËÀ À 8À SÀ oÀ •À ¤À!À!À!9À!UÀ!{À!ÒÀ!ïÀ!øÀ"À"À"5À"AÀ"XÀ"À"—À"ÔÀ"êÀ"îÀ#À#À#wÀ#’À#›À#¤À#ÁÀ#ÊÀ#æÀ#êÀ$E€ÂÀ$KÀ$OÀ$fÀ$À$–À$šÀ$±À$ØÀ$áÀ%-À%>À%OÀ%`À%qÀ%‚À%“À%¤À%µÀ%òÀ&À&À&*À&7À&OÀ&uÀ&ÀÀ'À'>À'hÀ'ÚÀ'òÀ( À(5À(mÀ(’À(›À(³À(éÀ(ôÀ(ÿÀ) +À)À) À)+À)6À)AÀ)LÀ)WÀ)bÀ)kÀ)tÀ)‹À)²À)»À)ÄÀ)ÍÀ)êÀ* +À*!À*HÀ*QÀ*nÀ*ƒÀ*ŸÀ+ À+{À+›À+ÄÀ+àÀ,À,+À,FÀ,´À,ÐÀ,öÀ-À-)À-WÀ-`À-zÀ-ƒÀ-“À-¸À-¿À-ÃÀ-ÛÀ. À.%À.4À.<À.jÀ.xÀ.ˆÀ.˜À.¥À.ÅÀ.ÓÀ.ÖÀ.öÀ/ À/*À/.À/?À/PÀ/aÀ/nÀ/yÀ/„À/À/½À/ÆÀ/ôÀ/ýÀ0À01À0IÀ0TÀ0tÀ0¢À0«À0ÜÀ0øÀ1 À1À1+À1;À1HÀ1`À1lÀ1wÀ1‚À1À1–À1ÀÀ1ØÀ1íÀ2À2À23À2iÀ2rÀ2ŽÀ2´À2úÀ3@À3PÀ3vÀ3œÀ4)À44À4¢À4«À4´À4½À4âÀ4ëÀ4öÀ5À5*À56À5`À5xÀ5À5²À5»À5ÓÀ5ÞÀ6À60À6VÀ6kÀ6xÀ6 À6­À6ÐÀ6óÀ7 À7"À7IÀ7RÀ7nÀ7„À7À7ýÀ8À8&À8|À8˜À9À9:À9=À9TÀ9{À9„À9¨JÀ9®À:À:fÀ:¹À;4À;lÀ;‹À;±À;ÀÀ;ËÀ<9À<§À<ãÀ=/À=]À=|À=´À=ÚÀ>6À>MÀ>tÀ>}À>†À>£À>ºÀ>ÕÀ>ÞÀ?À?CÀ?zÀ?ÇÀ@À@&À@RÀ@¢À@ñÀA-ÀAYÀAÕÀB;ÀBwÀB ÀB°ÀBèÀCEÀCÀCÍÀCöÀDÀD7ÀD¥ÀDáÀE ÀEÀE£ÀEÌÀFÀFPÀFŒÀFµÀFÂÀFöÀGdÀG ÀGÉÀHÀHMÀH»ÀH÷ÀI ÀI'ÀIzÀIÜÀJJÀJ†<ÀJŒÀJ¨ÀJÎÀJÝÀJôÀKÀK$ÀKCÀKiÀKÀLjÀLÀL¨ÀL±ÀLºÀLÃÀLàÀL÷ÀMÀM'ÀMxÀM¤ÀNÀN>ÀN‰ÀN¨ÀOÀO:ÀOEÀOÀOíÀP/ÀP~ÀP¯ÀPÎÀQ4ÀQ–ÀQÜÀRÀR—ÀR®ÀRÕÀRÞÀS +ÀT ÀTVÀT‚ÀTÿÀU!ÀUlÀUÉÀUõÀVmÀV¡ÀVìÀW ÀWƒÀW©ÀW´ÀWô ÀXb ÀXhÀXiÀXÀXÃÀXàÀXéÀXôÀXÿÀY2!"ÀYs +ÀYyÀY‹ÀY®ÀYâÀZ^ÀZáÀ[ À\›À]?À^*À_\À_·À_ùÀ`QÀ`¿ÀaÀa‰Àa™Àa©Àa¸ÀaÅÀaÆÀaÖÀb:ÀbqÀbrÀb‚ÀcÀcMÀcNÀc^ÀdÀdYÀdZÀdjÀdæÀe)Àe*Àe:ÀeàÀf8Àf9ÀfIÀgÀg†Àg‡ÀmÈÀt ÀtgÀtÉÀuKÀuíÀvgÀw ÀwÙÀx;ÀxÀxóÀygÀyµÀz/Àz9À}4À}’À}öÀ~zÀÀšÀ€@ÀÀtÀÈÀ‚0À‚¦À‚öÀƒrÀƒsÀƒ©ÀƒÛÀ„2À„®À…À…‹À†LÀ†‰À†­À†çÀ‡7À‡^À‡§À‡¨À‡«À‡ÃÀ‡ÓÀ‡áÀˆÀˆÀˆ$Àˆ@Àˆ˜Àˆ»À‰À‰pÀ‰…À‰¿ÀŠÀŠbÀŠÝÀ‹À‹ÓÀŒNÀÀ)À}ÀŽÀŽ2ÀŽOÀŽ‚ÀŽÃÀŽÛÀŽúÀÀ+À5ÀEÀMÀƒÀµÀ ÀˆÀÛÀ‘eÀ’&À’cÀ’‚À’¼À“ À“3À“šÀ“¤À“§À“µÀ“ÃÀ“ÑÀ“ßÀ“íÀ“ûÀ”žÀ•)À•ÒÀ–À—À—ÜÀ˜vÀ˜„À˜’À˜ À˜ØÀ˜ôÀ˜þÀ™À™À™.À™>À™NÀ™^ÀšÀšÀ›;À›ûÀœ‚ÀKÀçÀ÷ÀžÀžAÀžOÀž]Àž…Àž“Àž¨ÀžâÀŸAÀŸ…À À ²À ÓÀ¡'À¡®À¡ÇÀ¡îÀ¢FÀ¢iÀ¢±À£À£bÀ£ÝÀ¤À¤½À¤ÒÀ¤ýÀ¥>À¥VÀ¥¨À¥ÍÀ¦À¦ŽÀ§&À§•À¨;À©À©qÀ©±ÀªÀª{Àª¾ÀªÔÀ«WÀ«aÀ«dÀ«rÀ«€À«ŽÀ«œÀ«ªÀ«¸À¬[À¬æÀ­À®MÀ®ÒÀ¯™À°3À°AÀ°yÀ°†À°–À°¤À°²À°ÀÀ°ÕÀ±À±nÀ±²À²-À²ßÀ³À³TÀ³ÛÀ³ôÀ´À´sÀ´–À´ãÀµPÀµ”À¶À¶ÁÀ¶ïÀ·À·/À·pÀ·ˆÀ·ªÀ¸)À¸ÏÀ +6µÀ +6ÇÀ +6îÀ +8QÀ +8€À +9À +:ÊÀ +;À +<¸À +>‹À +AŸÀ +BÒÀ +CÍÀ +Cü-‚‰€‰‚p€¥‰.‰‚‚‰„`‚€›‚š‚™‚u‚€¢‚¸‚˜‰†‰‡‚ª‚z‚ɂ̂͂΂ւЂт҂ӂԂՂׂ؂قڂۂ܂ςʂ‡p‰ˆ#À¹87À¹>À¹AÀ¹FÀ¹QÀ¹[À¹kÀ¹xÀ¹ˆÀ¹‰À¹šÀ¹«À¹»À¹ËÀ¹ÛÀ¹îÀºÀºÀº:Àº_Àº•À»?À¼gÀ¼†À¼žÀ¼¶À¼ÝÀ¼õÀ½ +À½&À½`À½xÀ½À½¦À½°À½ÈÀ½ÛÀ½æÀ½úÀ¾ À¾À¾vÀ¾À¾À¾ŽÀ¾¯À¾ÅÀ¾ÎÀ¾ÜÀ¾æÀ¾öÀ¿À¿'À¿7À¿=À¿_$%À¿lÀ¿rÀ¿s#À +HÅÀ +I«‰‰‚÷‚󉊂û‰‹‰Œ‚ö&À¿vÀ¿|À¿À¿‚À¿ŽÀ¿¸À¿Õ'(ÀÀRÀÀXÀÀYÀÀiÀÀvÀÀ†ÀÀ˜ÀÀ¶ÀÀÊÀÀÞÀÀòÀÁÀÁÀÁ(ÀÁ9ÀÁJÀÁfÀÁvÀÁƒÀÁ“ÀÂÀÂwÀ¨ÀÂÍÀÃ:)*Àê ÀðÀñÀûÀÃÍÀÃÛÀÃëÀÃùÀÄÀÄÀÄÀÄ(ÀÄ5ÀÄQÀÄ[ÀÄhÀÄuÀÄ‚ÀÄÀÄ›ÀÄÄÀÄàÀÄêÀÅ ÀÅÀÅ#ÀÅ1ÀÅMÀÅNÀňÀÅ ÀŸÀÅö+,ÀÆ%ÀÆ+ÀÆ,ÀÆ9ÀÆFÀÆVÀÆ^ÀÆnÀÆoÀÆ–ÀÆÙÀÆøÀÇÀÇ<ÀÇGÀÇR-.ÀÇo7ÀÇuÀÇ™ÀÇ°ÀÇÈÀÇÉÀÇÚÀÇëÀÇüÀÈ ÀÈÀÈ!ÀÈ=ÀÈYÀÈuÀÈvÀȸÀÈÁÀÈôÀÉmÀÉxÀÉœÀÉÀɾÀÉÜÀÊÀÊBÀÊfÀÊsÀʃÀÊ“ÀÊ£ÀÊ°ÀÊÔÀÊÕÀÊåÀÊõÀËÀËÀË2ÀËVÀËWÀËgÀËwÀË“ÀË£ÀË«ÀË´À˽ÀËÓÀËüÀÌ ÀÌÀÌ"ÀÌqÀ̽&À +IÚÀ +IüÀ +JgÀ +JòÀ +K9‰‰‰‘ƒƒ‰“‰”ƒ +‰–ƒ ‰—‰˜‰™ƒ‰šƒ‰›ƒ‰œƒ/ÀÌñ€—ÀÌ÷ÀÌúÀÌüÀÍÀÍ1ÀÍOÀÍ^ÀÍÒÀÍÝÀÎÀÎ@ÀÎ\ÀÎgÀ΀ÀÎáÀÏ/ÀÏWÀÏdÀÏqÀÏ~ÀÏ‹ÀϘÀϸÀÏÓÀÏôÀÐ.ÀÐOÀÐhÀÐsÀІÀПÀÐÀÀÐÙÀÐòÀÐýÀÑÀÑ)ÀÑJÀÑcÀÑ|ÀчÀÑšÀѳÀÑÔÀÑíÀÒÀÒÀÒ$ÀÒ=ÀÒ^ÀÒwÀÒÀÒ›ÀÒ®ÀÒÇÀÒèÀÓÀÓÀÓ%ÀÓ8ÀÓQÀÓrÀÓ‹ÀÓ¤ÀÓ¯ÀÓÂÀÓÛÀÓüÀÔÀÔ.ÀÔ9ÀÔLÀÔeÀÔ†ÀÔŸÀÔ¸ÀÔÃÀÔÖÀÔïÀÕÀÕ)ÀÕ4ÀÕGÀÕ`ÀÕÀÕšÀÕ³ÀÕ¾ÀÕÑÀÕêÀÖ ÀÖ$ÀÖ=ÀÖVÀÖwÀÖÀÖ©ÀÖÊÀÖãÀÖüÀ×À×6À×OÀ×pÀ׉À×¢À×ÃÀ×ÜÀ×õÀØÀØ/ÀØHÀØiÀØ‚ÀØ›ÀؼÀØÕÀØîÀÙÀÙ(ÀÙAÀÙbÀÙ{ÀÙ”ÀÙµÀÙïÀÚÀÚ?ÀÚqÀÚ«ÀÚÎÀÚÛÀÚöÀÛ0ÀÛbÀÛœÀÛ¿ÀÛÚÀÜÀÜFÀÜ€À܉ÀÜ”ÀÜžÀÜýÀÜþÀÝ ÀÝÀÝùÀàVÀàÝ01Àá ÀáÀá Àá ÀáÀá Àá#Àá-Àá0Àá:Àá=ÀáGÀáJÀáTÀáWÀáaÀádÀánÀáqÀá{Àá~ÀáˆÀá‹Àá•Àá˜Àá¢Àá¥Àá¯Àá²Àá¼Àá¿ÀáÐÀáÚ23ÀáúÀâÀâÀâÀâMÀâsÀâ|4€ŸÀâ½ÀâÃÀâÄÀâÖÀâ×ÀâÚ56Àâó +ÀâùÀâúÀâýÀãÀãÀãRÀãnÀãyÀãžÀã§78ÀãÛÀãáÀãëÀäÀäÀä Àä Àä/À +L`À +NÇÀ +ORÀ +OuÀ +O”À +OÇ=‰ž‰ ƒ ƒ+‰¢‰£‰¤‰¥‰¦‰§‰¨‰©‰ª‰«‰¬‰­‰®‰¯‰°‰±‰²‰³‰´‰µ‰¶‰·‰¸‰¹‰º‰»‰¼‰½‰¾ƒCƒE‰¿ƒƒAƒ3ƒ4ƒ5ƒ6ƒ7ƒ8ƒ9ƒ:ƒ;ƒ<ƒ=ƒB‰Àƒ!ƒL‰Âƒ$ƒMƒIƒR‰Äƒ@‰Å9Àä =Àä&Àä,Àä2Àä8Àä>ÀäDÀäJÀäPÀäVÀä\ÀäbÀähÀänÀätÀäzÀä€Àä†ÀäŒÀä’Àä˜ÀäžÀä¤ÀäªÀä°Àä¶Àä¶Àä¶Àä¶Àä¶Àä¶Àä¶Àä¶Àä¶Àä¶Àä¶Àä¶Àä¶Àä¶Àä¶Àä¶Àä¶Àä¶Àä¶Àä¶Àä¶Àä¶Àä¶Àä¶Àä¶Àä¶Àä¶Àä¶Àä¶Àä¶Àä¶Àä¶Àä·ÀäÇÀä×ÀäçÀä÷9À +P„‰Ç‰È‰É‰Ê‰Ë‰Ì‰Í‰Î‰Ï‰Ð‰Ñ‰Ò‰Ó‰Ô‰Õ‰Ö‰×‰Ø‰Ù‰Ú‰Û‰Ü‰Ý‰ÞƒŸƒ ‰à:ÀåÀå ÀåÀå%Àå.Àå4Àå6ÀåEÀåTÀåcÀårÀåsÀåwÀå|Àå›Àå¥Àå«ÀåÊÀåËÀåÏÀåÜÀåéÀæ#Àæ,ÀæfÀæqÀæÀæ«ÀæÈ:À +QÀ‰â‰ä‰å‰æ‰ç‰è‰é‰ê;Àæå{ÀæëÀæìÀæïÀçÀçÀç/ÀçGÀç[ÀçsÀç‡ÀçŸÀç³ÀçËÀçßÀç÷Àè Àè#Àè7ÀèOÀècÀè{ÀèÀè§Àè»ÀèÓÀèçÀèÿÀéÀé+Àé?ÀéWÀékÀéƒÀé—Àé¯ÀéÃÀéÛÀéïÀêÀêÀê3ÀêGÀê_ÀêpÀê‡Àê˜Àê¯ÀêÈÀêáÀêúÀëÀëÀë/Àë@ÀëPÀëaÀëqÀë‚Àë’Àë£Àë³ÀëÄÀëÔÀëåÀëõÀìÀìÀì'Àì7ÀìHÀìXÀìiÀìyÀìŠÀìšÀì«Àì»ÀìÌÀìÜÀìíÀìýÀíÀíÀí/Àí@ÀíQÀíaÀírÀí‚Àí“Àí£Àí´ÀíÄÀíÕÀíåÀíöÀîÀîÀî'Àî8ÀîIÀîZÀîjÀî{Àî‹ÀîœÀî¬Àî½ÀîÍÀîÞÀîîÀîÿÀïÀï Àï1ÀïBÀïRÀïcÀïsÀï„Àï”Àï¥Àïµ;À +RRƒa<Àï¾HÀïÁÀïåÀïôÀïúÀðÀðÀðÀð+Àð@ÀðgÀðŽÀð¾ÀðîÀñ Àñ,ÀñKÀñ`ÀñÀñ¦ÀñÔÀòÀòÀò"Àò2ÀòGÀòfÀòÀòÀò¼ÀòãÀòóÀóÀó3ÀóDÀóUÀófÀówÀóˆÀó™ÀóªÀó»ÀóÌÀóÝÀóîÀóÿÀôÀô,Àô<Àô[Àô‚Àô’Àô±ÀôØÀô÷ÀõÀõ=ÀõdÀõƒÀõ¢ÀõÁÀõàÀõÿÀöÀöEÀöaÀöqÀöÀö·ÀöÇÀöæÀ÷ À÷À÷-À÷LÀ÷sÀ÷tÀ÷„À÷”À÷»À÷âÀ÷òÀøÀø@ÀøPÀøwÀøžÀø¬ÀøØÀùÀù0ÀùMÀùyÀùªÀùñÀú8ÀúÀúÆÀúàÀúúÀû+ÀûHÀûtÀû‘Àû®ÀûËÀûèÀüÀü6ÀüSÀümÀüŠÀü§ÀüÄÀüÎÀüÞÀüæÀüýÀýÀýTÀýqÀý‹Àý¥Àý¿ÀýÙÀýóÀþÀþ-ÀþRÀþœÀþ­Àþ·ÀþÇÀþÏÀÿ Àÿ#Àÿ?ÀÿQÀÿfÀÿ{Àÿ•Àÿ²ÀÿÌÀÿéÀÀÀ1ÀEÀ_ÀsÀ‡À¡À»ÀÏÀãÀýÀÀ1ÀHÀbÀÀ–À­ÀíÀ<À|À™À¶ÀÓÀðÀñÀôÀ À(ÀGÀfÀ…À³ÀáÀÀ=ÀdÀ‹À²ÀÙÀÀPÀÀÊÀÀPÀ~À»ÀéÀ&ÀrÀÍÀÝÀíÀýÀ ÀÀ<À[ÀzÀ–ÀµÀÔÀóÀ À 1À kÀ ¥À ßÀ +(À +bÀ +«À +åÀ .À YÀ “À ²À ÑÀ ÿÀ <À ˆÀ ¶À äÀ !À mÀ ›À ºÀ ÷ÀCÀqÀºÀÀÀÀdÀƒÀ¢ÀÁÀàÀüÀ À<ÀdÀ‹ÀªÀÉÀðÀ3À…À¬ÀÄÀÜÀÀ*ÀQÀxÀ®ÀäÀ!ÀWÀÀÇÀõÀöÀùÀ'À]À^ÀoÀ€À‘À¢ÀÚÀ0À†ÀÜÀöÀÀ/ÀIÀcÀ}À—À±ÀËÀåÀæÀÀÀ:ÀYÀxÀ—À¶ÀÒÀîÀÀDÀoÀ”À»ÀâÀþÀÀEÀxÀŸÀÒÀÀ/ÀfÀ‘À¿ÀõÀÀ/ÀLÀZÀÀ¤ÀÜÀÀ<Àw<À +TR(ƒ’‰ì‰í‰î‰ï‰ð‰ñ‰ò‰ó‰ô‰õ‰ö‰÷‰ø‰ù‰ú‰û‰ü‰ý‰þ‰ÿŠŠŠŠŠŠŠŠŠŠ Š +Š Š Š ŠŠŠŠŠ=À²ÀµÀ¾ÀÄÀ-À>ÀOÀYÀjÀoÀ}ÀÀœÀ¼ÀÀÀ*À:ÀPÀQÀaÀiÀ•À¤=À +YÕŠŠŠŠŠŠŠŠŠŠŠŠŠ Š!Š"ƒÍŠ#Š$Š%>À¸À»ÀñÀôÀÀ'À*À,À=À@ÀLÀdÀeÀ‚À•À¨ÀªÀ»ÀÌÀìÀ À "À @À JÀ TÀ ^À hÀ lÀ |À ‰À žÀ ³À ÀÀ âÀ ðÀ ûÀ!À!À!À!>À!QÀ!€À!À!‘À!¹À!ÕÀ!æÀ" +À")À"9À"XÀ"eÀ"nÀ"{À"–À"¦À"ÊÀ"ÝÀ"ðÀ#'À#:À#hÀ#‡À#¦À#ÂÀ#çÀ#úÀ$À$>À$`À$‚À$¤À$ÆÀ$èÀ% +À%À%À%-À%xÀ%ÏÀ&&À&EÀ&FÀ&JÀ&`À&~À&ˆÀ&•À&®À&ÊÀ&ÕÀ&ëÀ&ðÀ'À'À'"À'3À'=À'?À'DÀ'IÀ'VÀ'`À'aÀ'qÀ'~À'‹À'˜À'¥À'²À'ÂÀ'ÒÀ'âÀ'òÀ(À(À("À(2À(BÀ(RÀ(nÀ(uÀ(yÀ(}À(À(£À(³À(ÃÀ(ÖÀ(æÀ(öÀ) À)À))À)4À)DÀ)WÀ)gÀ)wÀ)‡À)’À)¢À)¬À)¼À)ÄÀ)ÔÀ)ÞÀ)èÀ)íÀ*À*À*À*À*)À*FÀ*rÀ*À* À*±À*»À*¿À*ÏÀ*ÔÀ*äÀ*òÀ+À+.À+?À+MÀ+vÀ+‡À+‘À+›À+¥À+¯À+¹À+ÃÀ+ÍÀ+ÚÀ+ÝÀ,.À,YÀ,‡À,’À,¨À,ÖÀ,àÀ,ðÀ-À-À-À-+À-5À-9À-=À-AÀ-QÀ-_À-rÀ-}À-„À-«À-ÒÀ-ïÀ.À.$À.<À.LÀ.\À.lÀ.|À.¥À.ÂÀ.ÖÀ.ØÀ.ÙÀ.éÀ.ñÀ.òÀ/À/ +À/ À/À/#À/1À/LÀ/hÀ/rÀ/uÀ/…À/“À/©À/¸À/ËÀ/áÀ/ëÀ/ïÀ/ôÀ0À0À0'À0/À0?À0RÀ0bÀ0jÀ0zÀ0…À0¢À0¿À0æÀ1À1vÀ1œÀ1¿À1ÈÀ1ßÀ2À2"À20À2?À2MÀ2XÀ2gÀ2uÀ2ƒÀ2·À2èÀ2òÀ3À3À3À3!À31À3?À3IÀ3VÀ3€À3¦À3´À3µÀ3¸À3ÑÀ3ëÀ4À4 À46?€ŸÀ4`À4cÀ4dÀ4tÀ4|À4}À4€@AÀ4¢8À4¥À4öÀ50À5\À5zÀ5}À5¹À5ÄÀ5ÏÀ5ßÀ5êÀ6À6>À6\À6eÀ6¥À6þÀ7aÀ8À8XÀ8À8àÀ9 À9=À9JÀ9NÀ9qÀ9|À9À9¹À9ÕÀ9óÀ9úÀ:9À:]À:À:­À:¾À:ÍÀ:éÀ:ðÀ; À;<À;MÀ;qÀ;|À;¨À;­À;±À;éÀ<À À>À>1À>MÀ>_À>rÀ>‘À>£À>¶À>ØÀ>êÀ>ýÀ?"À?4À?GÀ?oÀ?À?”À?¿À?ÑÀ?äÀ@À@$À@7À@hÀ@zÀ@À@ÁÀ@ÓÀ@æÀAÀA/ÀABÀA|ÀAŽÀA¡ÀAÞÀAðÀBÀBCÀBUÀBhÀB«ÀB½ÀBÐÀCÀC(ÀC;ÀCZÀC{ÀCžÀCÃÀCêÀDÀD>ÀDkÀDšÀDËÀDþÀE3ÀEjÀE£ÀEÞÀFÀFZÀF›ÀFÞDEÀG#0ÀG&ÀGOÀGnÀGÀGºÀGÎÀGîÀH +ÀHÀH-ÀH<ÀHKÀH\ÀHjÀH†ÀH”ÀH–ÀH˜ÀH©ÀH¬ÀH¯ÀHÀÀHÆÀHÌÀHÒÀHØÀHÞÀHèÀHðÀHøÀIÀIÀIÀIÀI)ÀI,ÀI8ÀIDÀIKÀISÀIlÀI…ÀIžÀI·ÀIÐÀIéÀJÀJFGÀJ4:ÀJ7ÀJHÀJYÀJsÀJ}ÀJÀJ‘ÀJ•ÀJ™ÀJ©ÀJûÀJýÀJÿÀK +ÀKÀK ÀK+ÀKzÀK™ÀKµÀKÔÀLÀLEÀLpÀLŸÀLªÀLµÀLÀÀLËÀLÕÀLåÀLýÀMÀMÀM'ÀM2ÀMNÀMjÀMuÀM¸ÀM×ÀMüÀNÀN&ÀN6ÀNCÀNTÀNyÀN“ÀN£ÀN³ÀNÀÀNÐÀNáÀNïÀOÀO!ÀO.HIÀOf0ÀOiÀOtÀO|ÀO‡ÀO’ÀOÆÀOÐÀOúÀPÀP!ÀP,ÀPHÀP‹ÀP˜ÀP¨ÀP¸ÀQÀQ!ÀQ1ÀQAÀQNÀQ_ÀQ„ÀQ’ÀQ¬ÀQ¼ÀQÌÀQÙÀQéÀQúÀRÀRÀR ÀROÀRlÀRzÀRÀRŠÀRÅÀRÜÀRùÀSÀS$ÀS/ÀS=ÀSTÀSkÀSsJ€üÀS·LÀSºÀSÓÀT-ÀT:ÀT>ÀTBÀTFÀTVÀTfÀTsÀT~ÀTÀT‰ÀT”ÀTŸÀTªÀTÎÀTòÀUÀU*ÀUFÀU†ÀU¤ÀUÂÀUçÀV ÀV;ÀVYÀVwÀV€ÀV¿ÀVçÀWÀWÀW=ÀWUÀWeÀWuÀW…ÀW¯ÀWÂÀWÒÀWèÀXÀX$ÀX3ÀXFÀXJÀXvÀX“ÀXÄÀXÝÀXóÀY ÀYÀYÀY#ÀY-ÀY=ÀYMÀYTÀYpÀYzÀYÀYŠÀY•ÀY¹ÀYÕÀYÿÀZÀZ%ÀZ2ÀZBÀZQÀZZÀZg>À +ZiÀ +^ìÀ +_À +_úÀ +aYÀ +b$À +cÀ +câ€ÛƒÓŠ'Š(Š)Š*Š+Š,Š-Š.Š/Š0Š1Š2Š3Š4Š5Š6Š7Š8Š9Š:Š;Š<Š=Š>Š?Š@ŠAŠBŠCŠDƒ©ŠEŠFŠGŠHŠIŠJŠKŠLŠMŠNŠOŠPŠQŠRŠSŠTƒ«ŠUƒ¬ŠVƒ­ŠWŠXŠYƒîƒñƒëŠZŠ[ƒöŠ\Š]Š^Š_Š`ŠaŠbŠcŠdŠeŠfŠgƒ³ƒ´ŠiŠkŠlŠmŠnŠoŠpŠqŠrŠsŠtŠuŠvŠwŠxŠyŠzŠ{ƒèŠ}Š~ƒÃƒÆŠŠ€ƒÉŠŠ‚ŠƒŠ„Š…Š†Š‡ŠˆŠ‰ŠŠŠ‹ŠŒŠŠŽŠŠŠ‘Š’Š“Š”Š–Š—Š˜Š™ŠšŠ›ŠœŠŠžŠŸŠ Š¡Š¢Š£Š¤Š¥Š¦Š§Š¨Š©Š¬Š­Š®Š¯Š°Š±Š²Š³ŠµŠ·Š¸Š¹ŠºŠ»Š¼Š½Š¾Š¿ŠÀŠÁŠÂŠÃŠÄŠÅŠÆŠÇŠÈŠÉŠÊŠËŠÌŠÍŠÎŠÏŠÐŠÑŠÒŠÓŠÔŠÕŠÖŠ×ŠØŠÙŠÚŠÜŠÝŠÞƒÒŠßŠâŠãŠäŠåŠæŠèŠéŠêŠëŠìŠíŠîŠïŠðŠñŠòŠóŠôŠõŠöŠ÷Šøƒ×ŠùƒÖŠúŠûKÀZtEÀZwÀZ€ÀZ‰ÀZŽÀZ“ÀZðÀ[À[ À[À[#À[(À[0À[CÀ[HÀ[MÀ[RÀ[`À[eÀ[nÀ[pÀ[uÀ[‚À[…À[ŠÀ[—À[™À[³À[ÄÀ[äÀ[õÀ[öÀ[ùÀ\ À\À\'À\@À\NÀ\_À\bÀ\rÀ\‹À\¤À\½À\ÈÀ\ÖÀ\éÀ\ìÀ\ÿÀ]À]À](À]AÀ]EÀ]PÀ]kÀ]‡À]¥À]¦À]¹À]¼À]ÇÀ]ÕÀ]åÀ]ïÀ]òÀ]üÀ]ÿÀ^À^LMÀ^%gÀ^(À^)À^,À^EÀ^€À^ƒÀ^‘À^ À^¯À^²À^ÁÀ^ÐÀ^ÖÀ^ÜÀ^âÀ_)À_bÀ_†À_ªÀ_ÎÀ_òÀ`À`À`=À`TÀ`oÀ`’À`ÌÀaÀaÀa1Àa_ÀaÀaÇÀbÀbxÀb¦ÀbÆÀbÏÀbùÀcHÀcgÀc™ÀcäÀdÀdaÀd¬ÀeÀeiÀeËÀf-ÀfHÀfƒÀfÁÀfÎÀfÛÀfèÀg Àg_ÀgŽÀgÔÀhÀh8Àh\Àh·ÀhÊÀhâÀiÀi6ÀiRÀi]ÀihÀixÀi«ÀiÎÀiñÀjÀj;ÀjFÀjQÀj_ÀjtÀjÀj²ÀjçÀk2ÀkZÀkŸÀkáÀlÀl4ÀlIÀl}Àl™ÀlµÀlÑÀlíÀmÀm Àm-Àm<ÀmdÀmqNOÀm~TÀmÀm’Àm•Àm±Àm¼ÀmÇÀmÒÀmÝÀmüÀnÀnÀn7ÀnHÀnUÀnbÀnoÀn|Àn‰Àn–Àn£Àn°Àn½ÀnÙÀnßÀnûÀoÀo3ÀoOÀonÀo~Ào‰Ào™Ào¸Ào×ÀoóÀpÀp1ÀpAÀp]ÀpyÀp•Àp´ÀpÓÀpòÀqÀq0ÀqOÀqnÀqÀq¬ÀqËÀqêÀrÀr"Àr>ÀrZÀrhÀryÀr|Àr˜Àr­ÀrÄÀrÏÀrÚÀróÀs ÀsÀs0ÀsUÀs†ÀsŸÀs¸ÀsÑÀsöÀtÀt@ÀtYÀtgÀttÀt…ÀtˆÀt–Àt ÀtªPQÀt´*Àt·Àt×ÀtÚÀtøÀuÀuWÀu†Àu¥ÀuÁÀuïÀvIÀvÞÀwÀwtÀw§ÀwÞÀxÀx=ÀxeÀxuÀx…ÀxžÀxÆÀxîÀxþÀyÀyÀy:ÀyeÀyÀy®Ày¼ÀyèÀzÀz<ÀzGÀzRÀznÀz~Àz‰Àz—Àz¢KÀ +føÀ +hÀ +i½À +k,ŠýŠÿ‹‹‹‹‹‹‹‹‹‹ ‹ +‹ ‹ ‹‹‹‹‹‹ƒØ‹‹ƒÙƒ°ƒÚƒÛ‹‹‹ƒ—ƒá‹‹‹‹ƒäƒå‹ƒæƒç‹‹!RÀz¾GÀzÇÀzÍÀzÕÀzáÀzüÀ{À{À{À{À{(À{6À{_À{ˆÀ{±À{ÚÀ|À|,À|UÀ|~À|§À|ÐÀ|ùÀ}"À}KÀ}tÀ}À}ÚÀ}çÀ}öÀ}ýÀ~À~-À~OÀ~ZÀ~eÀ~pÀ~{À~†À~ŸÀ~ÀÀ~åÀ"À/À>ÀMÀoÀ}ÀŸÀªÀµÀÀÀËÀÖÀïÀ€À€5À€rÀ€À€ŽÀ€•À€·À€ÙÀ€çÀ€òÀ€ýÀÀÀÀ7ÀXÀ}ÀŒÀ¥À·ÀÉÀÛÀ‚ À‚;À‚IÀ‚YÀ‚€À‚˜À‚§À‚ÎÀ‚ÜÀ‚çÀƒÀƒLÀƒ~Àƒ±ÀƒãÀ„À„HÀ„{À„­À„ÆÀ„øÀ…+À…]À…À…ÂÀ…ÛÀ†À†OÀ†ŒÀ†ÃÀ†ýÀ‡1À‡kÀ‡ŸÀ‡ÙÀ‡úÀˆ4ÀˆhÀˆ¢ÀˆÖÀ‰À‰1À‰DÀ‰ZÀ‰sÀ‰˜À‰£À‰çÀŠ*ÀŠCÀŠdÀŠ·À‹À‹/À‹‚À‹šÀ‹©À‹ËÀ‹òÀŒÀŒ%ÀŒAÀŒTÀŒmÀŒ…ÀŒ”ÀŒ¶ÀŒÝÀŒëÀÀ,À?ÀXÀpÀÀ¡ÀËÀÙÀòÀŽÀŽ3ÀŽFÀŽ_ÀŽwÀŽ†ÀŽ¨ÀŽÏÀŽÝÀŽöÀÀ7ÀJÀcÀ{ÀŠÀ¬ÀÓÀáÀúÀÀ;ÀNÀdÀ}À•À¤ÀÆÀíÀûÀ‘À‘9À‘UÀ‘hÀ‘À‘™À‘¨À‘ÊÀ‘ñÀ‘ÿÀ’À’=À’YÀ’lÀ’…À’À’¬À’ÎÀ’õÀ“À“À“'À“LÀ“hÀ“{À“‘À“ªÀ“ÂÀ“ÑÀ“óÀ”À”(À”3À”LÀ”qÀ”À” À”¶À”ÏÀ”×À”äÀ”ñÀ”þÀ• À•À•(À•/À•bÀ•qÀ•tÀ•ƒÀ•’À•ÅÀ•ØÀ•èÀ–À–À–'À–@À–YÀ–rÀ–‹À–¤À–½À–ÖÀ–ïÀ—À—À—:À—EÀ—^À—ƒÀ—œÀ—µÀ—ÎÀ—çÀ˜À˜À˜&À˜3À˜@À˜HÀ˜UÀ˜bÀ˜oÀ˜|À˜ƒÀ˜ŠÀ˜½À˜ðÀ˜ÿÀ™À™"À™;À™TÀ™mÀ™†À™ŸÀ™¬À™·À™ÐÀ™õÀšÀš'Àš@ÀšYÀšdÀšoÀšzÀš…ÀšžÀš·ÀšÐÀšéÀ›À›À›#À›0À›@À›MÀ›XÀ›gÀ›jÀ›yÀ›„À›”À›­À›ºÀ›ÓÀ›ìÀœÀœÀœ+ÀœPÀœ[ÀœtÀœÀœ¦Àœ¿ÀœÌÀœãÀRÀ +l7ƒü‹"‹#‹$ƒôƒõƒ÷ƒøƒûƒùƒúƒýƒþƒÿ„„„ƒ¥‹%‹&‹'SÀE…ÀNÀQÀZÀ_ÀbÀeÀhÀjÀ|À‚À‹À£À¦À´À¿ÀÊÀÛÀÞÀïÀž/Àž{Àž£Àž»Àž¾ÀžÏÀžÒÀžçÀžüÀŸ ÀŸÀŸ!ÀŸ$ÀŸ5ÀŸFÀŸWÀŸhÀŸyÀŸŠÀŸ›ÀŸ¬ÀŸ½ÀŸÎÀŸßÀŸðÀ À À #À 4À EÀ VÀ gÀ xÀ ‰À šÀ «À ¼À ÍÀ ÞÀ ïÀ¡À¡À¡À¡%À¡6À¡GÀ¡XÀ¡[À¡lÀ¡}À¡€À¡‘À¡¢À¡³À¡ÄÀ¡ÕÀ¡æÀ¡÷À¢À¢À¢*À¢;À¢>À¢OÀ¢`À¢qÀ¢‚À¢“À¢–À¢§À¢¸À¢ÉÀ¢ÚÀ¢ëÀ¢îÀ¢ÿÀ£À£!À£2À£JÀ£MÀ£zÀ£À££À£±À£ÂÀ£ÅÀ£ÖÀ£çÀ£øÀ£ûÀ¤À¤+À¤.À¤?À¤PÀ¤SÀ¤‚À¤“À¤–À¤§À¤¸À¤ÉÀ¤ÚÀ¤ëÀ¤îÀ¤ÿÀ¥À¥!À¥$À¥5À¥8À¥IÀ¥LÀ¥]À¥nÀ¥À¥À¥¡À¥²À¥ÃÀ¥îÀ¦À¦$À¦@À¦oÀ¦¡À¦ÄÀ¦ïÀ§À§À§À§%À§6À§GÀ§rÀ§ƒÀ§†À§—À§šÀ§«À§®À§¿À§ÐÀ§èÀ§ëÀ§üÀ§ÿÀ¨SÀ¨dÀ¨gÀ¨pÀ¨yÀ¨ŠÀ¨À¨žÀ¨¡À¨²À¨ÃÀ¨ÆÀ¨×À¨ÚÀ¨ëÀ¨îÀ¨ÿÀ©À©À©$À©'À©8À©WÀ©nÀ©À©°À©ÈÀ©ËÀ©ÜÀ©ßÀ©÷À©úÀªKÀªNÀªYÀªgÀªrÀª}Àª’Àª¹ÀªìÀ«À«4À«XÀ«|À«ÁÀ«ÖÀ«÷À¬À¬QÀ¬uÀ¬™À¬²À¬ÇÀ­ À­$À­9À­rÀ­ŠÀ­¢À­ÿÀ®hÀ®ÑÀ¯:À¯JÀ¯ZÀ¯jÀ¯zÀ¯–À¯¦À¯»À¯ÓÀ¯ëÀ°À°À°3À°KÀ°`À°uÀ°œÀ°ÃÀ°ØÀ°íÀ±À±SÀ±hÀ±}À±†À±À±ËÀ²À²(À²=À²hÀ²“À²ÆÀ²ñÀ³'À³JÀ³\À³iÀ³ˆÀ³ÊÀ³ôÀ´À´LÀ´‚À´¡À´ÚÀµÀµ!ÀµEÀµ{Àµ·ÀµåÀ¶À¶@À¶aÀ¶}À¶ŠÀ¶£À¶¿À¶ÛÀ¶÷À·À·/À·GÀ·_À·€À·§À¸ À¸DÀ¸hÀ¸¡À¸ÈÀ¸õÀ¹.À¹CÀ¹dÀ¹‘À¹ÊÀº6ÀºsÀº•ÀºÃÀºñÀ»À»MÀ»}À»ªÀ¼À¼SÀ¼xÀ¼©À¼ÚÀ½ À½<À½cÀ½~À½¢À½½À½óÀ¾À¾>À¾YÀ¾žÀ¾¹À¾õÀ¿À¿dÀ¿À¿ÇÀ¿âÀÀ ÀÀ0ÀÀWÀÀoÀÀ‡ÀÀ«ÀÀÃÀÀöÀÁÀÁPÀÁhÀÁ¹ÀÁÑÀÂ"ÀÂ[À¸ÀÃÀÃÀÃÞÀÄfÀÄšÀÄÎÀÄñÀÄôÀÅÀÅ&ÀÅ;ÀÅkÀųÀÅ×ÀÅûÀÆÀÆ”ÀÆàÀÇ,ÀÇhÀǘÀÇÈÀÇøÀÈ,ÀȨÀÉÀÉ™ÀÊÀÊÀËÀ˲ÀÌFÀÌ‹ÀÍÀÍÀÍ ÀÍ0ÀÍ@ÀÍXÀÍpÀ͈ÀÍ À͸ÀÍñÀÎÀÎ^ÀίÀÎÄÀÎÍÀÎõÀÏ=ÀÏhÀÏŸÀÏéÀÐ.ÀÐYÀÐÀеÀÐÝÀÑÀÑ3ÀÑ^ÀщÀÑ´ÀÒÀÒPÀÒ„ÀÒèÀÓÀÓ ÀÓ<ÀÓXÀÓtÀÓ}ÀÓ’ÀÓùÀÔ>ÀÔGÀÔzÀÔªÀÕ"ÀÕVÀÕÀÕ¸ÀÕïÀÖ&ÀÖ]ÀÖ”À×À×OÀ×}À×·À×ñÀØ+ÀØeÀØœÀØÖÀÙÀÙlÀÙäÀÚÀÚCÀÚzÀÚ±ÀÚèÀÛÀÛVÀÛæÀÜ ÀÜQÀÜŽÀÜËÀÝÀÝEÀÝÀݼÀÞÀÞ9ÀÞsÀÞ­ÀÞÑÀßÀß>ÀßxÀߨÀßÛÀàÀàOÀà‹Àà¾ÀàøÀá2ÀázÀá­ÀáÝÀâ#ÀâbÀâ¡ÀâçÀã&ÀãeÀã«ÀãêÀä)ÀäJÀäÀä§ÀäìÀåÀåIÀåyÀå„ÀåÀå¤ÀåËÀåþÀæ"ÀæFÀæjÀæŽÀæÓÀæèÀç Àç*ÀçcÀç‡Àç«ÀçÄÀçÙÀèÀè6ÀèKÀè„ÀèœÀè´ÀéÀézÀéãÀêLÀê\ÀêlÀê|ÀêŒÀê¨Àê¸ÀêÍÀêåÀêýÀëÀë-ÀëEÀë]ÀërÀë‡Àë®ÀëÕÀëêÀëÿÀì,ÀìeÀìzÀìÀì˜Àì¡ÀìÝÀí%Àí:ÀíOÀízÀí¥ÀíØÀîÀî+ÀîGÀîRÀî_Àî~Àî²ÀîÎÀîíÀïÀï@Àï_ÀïŠÀï²ÀïÑÀïõÀðÀðKÀðyÀð¡ÀðÆÀðçÀñÀñÀñ)ÀñEÀñaÀñ}Àñ™ÀñµÀñÍÀñåÀòÀò-Àò‘ÀòÊÀòîÀó'ÀóNÀó{Àó´ÀóÉÀóêÀôÀôPÀô¼ÀôùÀõÀõIÀõwÀõ¥ÀõÓÀöÀö0ÀöœÀöÙÀöþÀ÷/À÷`À÷‘À÷ÂÀ÷éÀøÀø(ÀøCÀøyÀø”ÀøÄÀøßÀù$Àù?Àù{Àù–ÀùêÀúÀúMÀúhÀúÀú¶ÀúÝÀúõÀû Àû1ÀûIÀû|Àû”ÀûÖÀûîÀü?ÀüWÀü¨ÀüáÀý>ÀýOÀýRÀýcÀýfÀýwÀýzÀý…ÀýÀý›Àý¬Àý¯ÀýÀÀýÃÀýÎÀýÙÀýçÀýòÀþÀþÀþÀþÀþ+Àþ.Àþ?ÀþBÀþSÀþVÀþ^ÀþaÀþrÀþƒÀþ”Àþ¥Àþ¶ÀþÇÀþØÀþéÀþúÀÿ ÀÿÀÿ-Àÿ>ÀÿOÀÿ`ÀÿqÀÿ‚Àÿ“Àÿ¤ÀÿµÀÿÆÀÿ×ÀÿèÀÿùÀ +ÀÀ,À=ÀNÀ_ÀpÀÀ’À£À´ÀÅÀÖÀçÀøÀ ÀÀ+À<ÀMÀ^ÀoÀ€À‘À¢À³ÀÄÀÕÀæÀ÷ÀÀÀ*À;ÀLÀ]ÀnÀÀÀ¡À²ÀÃÀÔÀåÀöÀÀÀ)À:ÀKÀ\ÀmÀ~ÀÀ À±ÀÂÀÓÀäÀõÀÀÀ(À9ÀJÀ[ÀlÀ}ÀŽÀŸÀ°ÀÁÀÒÀãÀôÀÀÀ'À8ÀIÀZÀkÀ|ÀÀžÀ¯ÀÀÀÑÀâÀóÀÀÀ&À7ÀHÀYÀjÀ{ÀŒÀÀ®À¿ÀÐÀáÀòÀÀÀ%À6ÀGÀXÀiÀzÀ‹ÀœÀ­À¾ÀÏÀàÀñÀÀÀ$À5ÀFÀWÀhÀyÀŠÀ›À¬À½ÀÎÀßÀðÀ À À #À 4À EÀ VÀ gÀ xÀ ‰À šÀ «À ¼À ÍÀ ÞÀ ïÀ +À +À +"À +3À +DÀ +UÀ +fÀ +wÀ +ˆÀ +™À +ªÀ +»À +ÌÀ +ÝÀ +îÀ +ÿÀ À !À 2À CÀ TÀ eÀ vÀ ‡À ˜À ©À ºÀ ËÀ ÜÀ íÀ þÀ À À 1À BÀ SÀ dÀ uÀ †À —À ¨À ¹À ÊÀ ÛÀ ìÀ ýÀ À À 0À AÀ RÀ cÀ tÀ …À –À §À ¸À ÉÀ ÚÀ ëÀ üÀ ÀÀ/À@ÀQÀbÀsÀ„À•À¦À·ÀÈÀÙÀêÀûÀ ÀÀ.À?ÀPÀaÀrÀƒÀ”À¥À¶ÀÇÀØÀéÀúÀ ÀÀ-À>ÀOÀ`ÀqÀ‚À“À¤ÀµÀÆÀ×ÀèÀùÀ +ÀÀ,À=ÀNÀ_ÀpÀÀ’À£À´ÀÅÀÖÀçÀøÀ ÀÀ+À<ÀMÀ^ÀoÀ€À‘À¢À³ÀÄÀÕÀæÀ÷ÀÀÀ*À;ÀLÀ]ÀnÀÀÀ¡À²ÀÃÀÔÀåÀöÀÀÀ)À:ÀKÀ\ÀmÀ~ÀÀ À±ÀÂÀÓÀäÀõÀÀÀ(À9ÀJÀ[ÀlÀ}ÀŽÀŸÀ°ÀÁÀÒÀãÀôÀÀÀ'À8ÀIÀZÀkÀ|ÀÀžÀ¯ÀÀÀÑÀâÀóÀÀÀ&À7ÀHÀYÀjÀ{ÀŒÀÀ®À¿ÀÐÀáÀòÀÀÀ%À6ÀGÀXÀiÀzÀ‹ÀœÀ­À¾ÀÏÀàÀñÀÀÀ$À5ÀFÀWÀhÀyÀŠÀ›À¬À½ÀÎÀßÀðÀÀÀ#À4ÀEÀVÀgÀxÀ‰ÀšÀ«À¼ÀÍÀÞÀïÀÀÀ"À3ÀDÀUÀfÀwÀˆÀ™ÀªÀ»ÀÌÀÝÀîÀÿÀÀ!À2ÀCÀTÀeÀvÀ‡À˜À©ÀºÀËÀÜÀíÀþÀÀ À1ÀBÀSÀdÀuÀ†À—À¨À¹ÀÊÀÛÀìÀýÀÀÀ0ÀAÀRÀcÀtÀ…À–À§À¸ÀÉÀÚÀëÀüÀ ÀÀ/À@ÀQÀbÀsÀ„À•À¦À·ÀÈÀÙÀêÀûÀ À À .À ?À PÀ aÀ rÀ ƒÀ ”À ¬À ½À ÎÀ ßÀ ðÀ!À!À!#À!4À!EÀ!VÀ!gÀ!xÀ!‰À!šÀ!«À!¼À!ÍÀ!ÞÀ!ïÀ"À"À""À"3À"DÀ"UÀ"fÀ"wÀ"ˆÀ"™À"ªÀ"»À"ÌÀ"ÝÀ"îÀ"ÿÀ#À#!À#2À#CÀ#TÀ#eÀ#vÀ#‡À#˜À#©À#ºÀ#ËÀ#ÜÀ#íÀ#þÀ$À$ À$1À$BÀ$SÀ$dÀ$uÀ$†À$—À$¨À$¹À$ÊÀ$ÛÀ$ìÀ$ýÀ%À%À%0À%AÀ%RÀ%cÀ%tÀ%…À%–À%§À%¸À%ÉÀ%ãÀ%æÀ%ðSÀ +q4„'‹(„#„/‹)‹*‹+‹,‹-‹.‹/‹0„‹1‹2‹3‹4‹5‹6‹7‹8‹9‹:‹;‹<‹=„$‹>‹?‹@‹A‹B‹C‹D‹E‹F„"„„%…‹G„0„„(„3„&„„1„)„2„‹HTÀ%óÀ%ùÀ%ÿÀ&À& À&À&.À&KÀ&SÀ&|À&¢À&×À' À'IÀ'ƒÀ'À'šÀ'¡À'¸TÀ +† +‹L‹M‹N‹O‹P‹Q‹R‹S‹U‹VUÀ'íÀ'ðÀ'ñÀ(À(À(!À(1À(AÀ(QÀ(aÀ(nÀ(oÀ(rÀ(sÀ(ƒÀ(‹À(ŒÀ(À(UÀ +†„‹W„–‹X„ VÀ(“À(–À(™À(œÀ(ŸÀ(¤À(§À(©À(¬À(¸À(¾À(ÊÀ(ÐÀ(ÖÀ(ÙWXÀ(Ü2À(ßÀ)À)À)1À)AÀ)iÀ)tÀ)™À)ÄÀ)ãÀ*3À*€À*çÀ+À+MÀ+XÀ+cÀ+nÀ+½À,À,5À,TÀ,pÀ,ŒÀ,»À,êÀ-%À-TÀ-ƒÀ-²À-åÀ.2À.À.ÌÀ.ÚÀ.èÀ.öÀ/*À/QÀ/„À/ÑÀ0À0QÀ0šÀ0ãÀ1,À1HÀ1QÀ1À1·YZÀ1æ0À1éÀ1îÀ1óÀ1ôÀ1þÀ2À2À2(À2;À2?À2OÀ2_À2€À2’À2–À2®À2ÀÀ2ÇÀ2üÀ3À3À3À3À3%À35À3HÀ3XÀ3kÀ3‡À3ŸÀ3¦À3´À3µÀ3ÂÀ3ÏÀ3ÜÀ3éÀ3öÀ4À4À4/À44À4>À4KÀ4XÀ4eÀ4tÀ4…[\À4–À4™À4ËÀ4ÜÀ5À5QÀ5bÀ5sÀ5xÀ5„À5ŽÀ5žÀ5¿À5ÑÀ5ÕÀ5âÀ5ïÀ5øÀ6À6À62À6EÀ6fÀ6tÀ6‚À6À6žÀ6¬À6ºÀ6ÉÀ6ê]^À7 À7À7À7À7*À77À7DÀ7QÀ7aÀ7q_`À7À7À7³À7ÃÀ7çÀ7ùÀ8À8@À8kÀ8À8À8µÀ8äÀ9À9%À9jÀ9ÁÀ9ñÀ:8À:YÀ:bÀ:rÀ:–À:ÑÀ:íÀ; À;À;0À;UabÀ;wÀ;zÀ;{À;ÃÀ;ÿÀÀ>4À>LÀ>gÀ>†À>‰À>—À>³À>ÏÀ>ëÀ?À?'À?>À?QÀ?kÀ?ƒÀ?†À?ŽÀ?«À@ À@9À@[À@‰À@ËÀ@ùÀAÀAÀApÀAÇÀBÀBuÀBƒÀB³ÀBÌÀBÕÀCÀC,ÀCFÀC^ÀCƒÀC¨ÀCÍÀCòÀD +ÀDjÀDuÀDûÀESÀE^ÀEaÀEŒÀE²ÀEùÀF.ÀFFÀFlÀF‡ÀF¢ÀFöÀGJÀGMÀGbÀGmÀG{ÀGŒÀGšÀG¥ÀGËÀHÀH1ÀH\ÀHžÀHèÀI2ÀIJÀIPÀIfÀI|ÀI¥ÀI¨ÀI½ÀIÈÀIÝÀIèÀJ5ÀJQÀJƒÀJ©ÀJÛÀJóÀKÀK)ÀKDÀKjÀKˆÀK£ÀK÷ÀL1ÀL4ÀL?ÀLoÀL„ÀL’ÀL£ÀL±ÀLÜÀMÀM=ÀMTÀMzÀMÃÀMãÀNÀN&ÀN>ÀNyÀN¤ÀNÏÀNîÀO ÀOWÀO…ÀO°ÀOâÀPÀP]ÀPnÀPqÀPÀPÀP›ÀP¬ÀP¯ÀP×ÀPêÀQ,ÀQ]ÀQuÀQ†ÀQ‰ÀQ—ÀQ¥ÀQ³ÀQËÀQÎÀR%ÀR|ÀR¡ÀRÆÀRÞÀRáÀS8ÀSÀSÀS«ÀS³ÀSÉÀSÞÀSìÀTÀT6ÀTNÀTsÀTvÀTÍÀU$ÀU{ÀU‰ÀU—ÀU¥ÀUÕÀUÞÀUýÀV"ÀVGÀVlÀV„ÀV‡ÀV´ÀVÊÀVÝÀVëÀVùÀWÀW+cÀ +Š„N„^„[„a„\„_„H„S‹u„b„Z„]„M„T„YdÀW@„~ÀWIÀWLÀWUÀWZÀW]ÀW`ÀWoÀWuÀW{ÀW|ÀW›ÀW¼ÀW¿ÀWÂÀWÅÀWÓÀWáÀWùÀWüÀX ÀXÀX/ÀX@ÀXQÀX\ÀXjÀX{ÀX‰ÀXšÀX¨ÀX¹ÀXÎÀXòÀYRÀYUÀYXÀY[ÀYfÀYÆÀYÉÀYÌÀYÏÀYÚÀZ:ÀZ=ÀZ@ÀZCÀZNÀZfÀZiÀZwÀZ…ÀZÀZ ÀZ«ÀZ¶ÀZÄÀZÜÀZßÀZêÀZõÀ[À[À[À[)À[4À[BÀ[ZÀ[]À[kÀ[yÀ[‘À[”À[¢À[°À[ÈÀ[ËÀ[ÙÀ[çÀ[øÀ\À\À\!À\/À\GÀ\JÀ\XÀ\fÀ\~À\À\À\À\µÀ\¸À\ÆÀ\ÔÀ\åÀ\ýÀ]À]À]À]=À]@À]CÀ]FÀ]TÀ]]À]uÀ]~À]–À]£À]°À]½À]ËÀ]ÙÀ]ñÀ]ôÀ]÷À]úÀ^À^À^$À^<À^?À^BÀ^EÀ^SÀ^kÀ^nÀ^qÀ^tÀ^ŒÀ^À^’À^•À^¦À^©À^¬À^ÄÀ^ÇÀ^ÊÀ^ÍÀ^ÛÀ^éÀ^÷À_À_†À_‰À_ŒÀ_À_šÀ_«À_¼À_ÍÀ_ÞÀ_ïÀ`À`À`À`*À`8À`FÀ`TÀ`bÀ`pÀ`ñÀ`ôÀ`÷À`úÀaÀaÀa'Àa8ÀaIÀaZÀahÀavÀa„Àa’Àa Àa®Àa¼ÀaÊÀbKÀbNÀbQÀbTÀb_ÀbmÀb{Àb‰Àb—Àb¥Àb³ÀbÔÀb×ÀbÚÀbëÀbüÀc ÀcÀc/Àc@ÀcQÀc_ÀcmÀc{Àc‰Àc—Àc¥Àc³ÀcÁÀcÏÀcÝÀcëÀcùÀdzÀd}Àd€ÀdƒÀdŽÀdŸÀd°ÀdÁÀdÒÀdàÀdîÀdüÀe +ÀeÀe&Àe4ÀeBÀePÀe^ÀelÀezÀeˆÀe–Àe¤Àe²ÀeÀÀfAÀfDÀfGÀfJÀfUÀfcÀfqÀfÀfÀf›Àf©Àf·ÀfÅÀfÓÀfáÀgbÀgeÀghÀgkÀgvÀg‡Àg˜Àg©ÀgºÀgËÀgÙÀgçÀgõÀhÀhÀhÀh-Àh;ÀhIÀhWÀhÏÀhÒÀhÕÀhØÀhãÀhñÀhÿÀi€ÀiƒÀi†Ài‰Ài”Ài¢Ài°Ài¾ÀiÌÀiÚÀjRÀjUÀjXÀj[ÀjfÀjÞÀjáÀjäÀjçÀjòÀkjÀkmÀkpÀksÀk~ÀköÀkùÀküÀkÿÀl +Àl‹ÀlŽÀl‘Àl”ÀlŸÀl­Àl»ÀlÉÀlðÀlþÀm ÀmÀm(Àm6ÀmÀÀmÃÀmÆÀmÉÀmÔÀmâÀmðÀmþÀn ÀnÀn(Àn6Àn·ÀnºÀn½ÀnÀÀnËÀnÙÀnçÀnõÀoÀoÀo‰ÀoŒÀoÀo’ÀoÀo«Àp,Àp/Àp2ÀpCÀpTÀpeÀpsÀpÀpÀpÀp«Àp¹ÀpÇÀpÕÀpãÀqdÀqgÀqjÀqmÀqxÀq†Àq”Àq¢Àq°Àq¾ÀqÌÀqÚÀqèÀr`ÀrcÀrfÀriÀrtÀr‚ÀrÀržÀsÀs"Às%Às(Às3ÀsAÀsOÀs]ÀskÀsyÀs‡Às•Às£Às±Às¿ÀsÍÀtEÀtHÀtKÀtNÀtYÀtgÀtuÀtƒÀt‘ÀtŸÀt­Àt»ÀtÉÀuJÀuMÀuPÀuSÀu^ÀulÀuzÀuˆÀu–Àu¤Àu²Àv3Àv6Àv9Àv<ÀvGÀvXÀviÀvzÀv‹ÀvœÀv­Àv»ÀvÉÀv×ÀvåÀvóÀwÀwÀwÀw+Àw9ÀwGÀwÈÀwËÀwÎÀwÑÀwÜÀwêÀwøÀxÀxÀx"Àx0Àx>ÀxOÀxRÀx`ÀxnÀx|ÀxŠÀx˜Àx©Àx¬ÀxºÀxÈÀy(Ày+Ày.Ày1Ày<ÀyJÀyXÀyfÀytÀyŒÀyÀy’Ày•Ày¦Ày©Ày¬ÀyºÀyÙÀyæÀzÀzÀz8Àz;Àz>ÀzLÀzZÀzhÀzxÀzÀz¦Àz´ÀzÂÀzãÀzæÀzéÀzìÀzúÀ{ À{À{'À{5À{CÀ{QÀ{iÀ{wÀ{À{’À{£À{´À{ÅÀ{ÖÀ{çÀ{øÀ| À|À|+À|<À|MÀ|XÀ|fÀ|wÀ|…À|–À|¤À|µÀ|ÊÀ|îÀ}OÀ}RÀ}]À}hÀ}„À}¨À}¶À}ÄÀ}ÒÀ}àÀ}üÀ~ À~?À~HÀ~dÀ~ƒÀ~®À~ÊÀ~õÀ ÀÀÀÀ$À2À@ÀNÀfÀiÀlÀoÀ}À‹À™À§ÀÈÀËÀÎÀÑÀâÀóÀ€À€À€&À€7À€EÀ€SÀ€aÀ€oÀ€}À€‹À€™À€±À€ºÀ€ÈÀ€ÖÀ€÷À€úÀ€ýÀÀÀÀ*À8ÀFÀTÀbÀpÀˆÀ‹À™ÀªÀ¸ÀÉÀ×ÀèÀöÀ‚À‚À‚&À‚4À‚EÀ‚UÀ‚eÀ‚uÀ‚”À‚³À‚áÀƒÀƒ.ÀƒMÀƒlÀƒšÀƒ²ÀƒµÀƒ¸ÀƒÐÀƒÓÀƒáÀƒòÀ„SÀ„VÀ„aÀ„lÀ„ˆÀ„¬À„ºÀ„ÈÀ„ÖÀ„äÀ…À…$À…CÀ…LÀ…hÀ…‡À…²À…ÎÀ…ùÀ†À†À†À†À†MÀ†PÀ†SÀ†VÀ†dÀ†rÀ†€À†ŽÀ†œÀ†ªÀ†¸À†ÆÀ†ÔÀ†âÀ†ðÀ†þÀ‡À‡À‡'À‡8À‡FÀ‡WÀ‡vÀ‡ŽÀ‡‘À‡œÀ‡§À‡ËÀ‡êÀ‡óÀˆÀˆ.ÀˆYÀˆuÀˆ Àˆ¸Àˆ»Àˆ¾ÀˆÁÀˆÏÀˆÝÀˆõÀˆøÀˆûÀˆþÀ‰ À‰À‰2À‰5À‰FÀ‰WÀ‰hÀ‰yÀ‰ŠÀ‰›À‰¬À‰½À‰ÎÀ‰ßÀ‰ðÀŠÀŠÀŠ#ÀŠ.ÀŠ<ÀŠGÀŠUÀŠmÀŠpÀŠsÀŠvÀŠ„ÀŠ’ÀŠ ÀŠ®ÀŠ¼ÀŠÊÀŠâÀŠåÀŠóÀ‹À‹À‹#À‹1À‹BÀ‹PÀ‹aÀ‹yÀ‹|À‹À‹‚À‹À‹žÀ‹¬À‹ºÀ‹ÈÀ‹ÖÀ‹÷À‹úÀ‹ýÀŒÀŒÀŒÀŒ-ÀŒÀŒÀŒ“ÀŒ–ÀŒ¡ÀŒ¹ÀŒ¼ÀŒ¿ÀŒÂÀŒ×À8À;ÀFÀQÀmÀ‘ÀŸÀ­À»ÀÉÀåÀŽ ÀŽ(ÀŽ1ÀŽMÀŽlÀŽ—ÀŽ³ÀŽÞÀŽïÀŽòÀŽõÀŽøÀÀÀÀ0À>ÀLÀ]ÀgÀwÀÀ¦ÀÆÀðÀ÷À À9ÀGÀiÀŽÀœÀªÀ»ÀøÀ‘À‘dÀ‘’À‘ À‘«À‘´À‘ÐÀ‘ÓÀ’*À’À’ØÀ“/À“†À“ÝÀ”4À”’À”éÀ•@À•—À•îÀ–EÀ–œÀ–óÀ—JÀ—¡À—øÀ˜OÀ˜¦À˜ýÀ™TÀ™«ÀšÀšYÀš°À›À›^À›µÀœ ÀœcÀœºÀÀhÀ¿ÀžÀžmÀžÄÀŸÀŸrÀŸÉÀ  À wÀ ÎÀ¡%À¡|À¡ÓÀ¢*À¢À¢ØÀ£/À£†À£ÝÀ¤4À¤‹À¤âÀ¥9À¥<À¥QÀ¥fÀ¥tÀ¥}À¥†À¥”À¥¥À¥ÊÀ¥ïÀ¦À¦9À¦^À¦ƒÀ¦¨À¦ÔÀ¦ùÀ§À§CÀ§hÀ§À§²À§×À§üÀ¨!À¨FÀ¨kÀ¨À¨µÀ¨ÚÀ¨ÿÀ©$À©IÀ©nÀ©“À©¸À©ÝÀªÀª'ÀªLÀªqÀª–Àª»ÀªàÀ«À«*À«OÀ«tÀ«™À«¾À«ãÀ¬À¬-À¬RÀ¬wÀ¬œÀ¬ÁÀ¬æÀ­ À­0À­UÀ­zÀ­ŸÀ­ÄÀ­éÀ®À®À®À®À®*À®;À®IÀ®WÀ®eÀ®sÀ®À®ŽÀ®¹À®äÀ®ûÀ¯À¯)À¯@À¯WÀ¯nÀ¯…À¯«À¯´À¯½À¯ÊÀ¯éÀ°9À°‰À°’À°ªÀ°ÃÀ°ÌÀ°áÀ°êÀ°øÀ±À±À±À±7À±:À±=À±@À±aÀ±dÀ±gÀ±jÀ±xÀ±†À±žÀ±¡À±¤À±§À±¸À±»À±ÉÀ±×À±ïÀ±òÀ±õÀ²À²À²(À²6À²DÀ²`À²mÀ²‰À²¥À²²À²ËÀ²çÀ³ À³-À³EÀ³HÀ³KÀ³NÀ³oÀ³rÀ³uÀ³†À³—À³¨À³¹À³ÊÀ³ÛÀ³éÀ³÷À´À´À´+À´.À´1À´?À´MÀ´[À´iÀ´wÀ´À´’À´•À´˜À´°À´³À´ÄÀ´ÕÀ´æÀ´÷ÀµÀµÀµ*Àµ8ÀµFÀµQÀµiÀµŸÀµÆÀµÞÀµöÀ¶À¶~À¶À¶ŒÀ¶—À¶³À¶×À¶åÀ¶óÀ·À·À·+À·OÀ·nÀ·wÀ·‡À·­À·ÉÀ·èÀ¸À¸/À¸ZÀ¸rÀ¸uÀ¸†À¸—À¸¨À¸¹À¸¼À¸ÊÀ¸ëÀ¸îÀ¸ñÀ¸ôÀ¹À¹À¹À¹,À¹:À¹dÀ¹gÀ¹jÀ¹mÀ¹{À¹‰À¹”À¹¢À¹³À¹¶À¹ÇÀ¹ØÀ¹éÀ¹ôÀºÀº#Àº&Àº)Àº:ÀºKÀº\ÀºmÀº{Àº‰Àº—Àº¥Àº½ÀºÀÀºÃÀºÝÀºàÀºãÀºýÀ»À»dÀ +Žd‹v„n‹w‹x‹y„ˆ„~„y„}„x„¢„|„{„€„„k„ƒ„l‹z‹{‹|‹}‹~‹‹€‹‹‚‹ƒ‹„‹…‹†‹‡‹ˆ‹‰‹Š‹‹‹Œ‹‹Ž‹‹‹‘‹’‹“‹”‹•‹–‹—‹˜„z„‡‹™‹š„w„i‹›„o„p‹œ‹‹ž‹Ÿ„„‹ „‰„q‹¡‹¢„‚„Š‹£‹¤„r‹¥„s‹¦‹§‹¨‹©„v‹ª‹«„h„œ‹¬‹­‹®„u„¡‹¯‹°„ ‹±„Ÿ„t‹²„j‹³‹´„žeÀ»kÀ»À»À»À» À»#À»&À»)À»+À»1À»7À»LÀ»]À»`À»À»£À»¶À»ÁÀ»ÏÀ»ÚÀ»èÀ»ùÀ¼À¼À¼&À¼7À¼LÀ¼aÀ¼vÀ¼‹À¼œÀ¼ŸÀ¼½À¼ÐÀ¼ÞÀ¼éÀ¼ôÀ½À½/À½\À½uÀ½¶À½¹À½æÀ½üÀ¾À¾À¾.À¾<À¾GÀ¾UÀ¾cÀ¾tÀ¾‚À¾“À¾¡À¾×À¿À¿À¿&À¿4À¿LÀ¿hÀ¿sÀ¿‹À¿ŽÀ¿žÀ¿ÒÀÀVÀÀÓÀÀäÀÀçÀÀòÀÁÀÁÀÁÀÁ"ÀÁ0ÀÁ>ÀÁLÀÁZÀÁhÀÁvÀÁ„ÀÁçÀÂÀÂ.ÀÂ1ÀÂ<ÀÂJÀÂXÀÂiÀÂwÀˆÀ–À¡À¬ÀÂÞÀÃÀÃ:ÀÃbÀÃsÀÃvÀÄÀÃ’ÀàÀîÀÿÀÃÞÀÃýÀÄ+ÀÄYÀÄ–ÀÄÄÀÅÀÅGÀÅJÀÅuÀÅ®ÀÅÄÀÅÚÀÅÿÀÆ7ÀÆ\ÀÆ“ÀÆžÀÆ©ÀÆ´ÀÆÕÀÆûÀÇÀÇÀÇ.ÀÇ1ÀÇ^ÀÇtÀÇ‚ÀÇÀÇžÀǯÀDzÀÈ ÀÈ(ÀÈ@ÀÈeÀÈvÀÈyÀÈ„ÀÈ’ÀÈ ÀÈ®ÀȼÀÈÊÀÈØÀÈéÀÈìÀÉCÀÉNÀÉjÀɉÀÉ®ÀÉ¿ÀÉÂÀÉÐÀÉÞÀÊÀÊÀÊÀÊUÀÊnÀÊ„ÀÊ’ÀÊ£ÀʦÀÊ·ÀʺÀÊÈÀÊÖÀÊäÀÊòÀËÀËÀË ÀËWÀËgÀ˃ÀËŸÀ˯ÀË¿ÀËÞÀËîÀËþÀÌ[ÀÌzÀÌŠÀÌ©À̹ÀÌÉÀÍ:ÀÍšÀÍ÷ÀÎ+ÀÎ;ÀÎKÀÎÈÀÎàÀÎñÀÎôÀÏ!ÀÏ7ÀÏJÀÏXÀÏfÀÏtÀÏ‚ÀÏÀÏ¡ÀÏÎÀÏßÀÏâÀÐÀÐ%ÀÐ8ÀÐIÀÐLÀÐyÀÐÀТÀгÀжÀÐãÀÐùÀÑ ÀÑÀÑ+ÀÑ.ÀÑ[ÀÑqÀÑ„ÀÑ’ÀÑ£ÀÑ®ÀѼÀÑÍÀÑÐÀÑýÀÒÀÒ&ÀÒ4ÀÒEÀÒHÀÒuÀÒ‹ÀÒžÀÒ¬ÀÒºÀÒÈÀÒÖÀÒäÀÒòÀÓÀÓÀÓ3ÀÓIÀÓ\ÀÓjÀÓ{ÀÓ~ÀÓ«ÀÓÁÀÓîÀÓÿÀÔÀÔ/ÀÔEÀÔSÀÔdÀÔgÀÔ”ÀÔªÀÔ½ÀÔËÀÔÜÀÔßÀÕ ÀÕ"ÀÕ0ÀÕAÀÕDÀÕqÀÕ‡ÀÕ•ÀÕ¦ÀÕ©ÀÕÊÀÕãÀÕöÀÖÀÖ(ÀÖVÀÖgÀÖjÀÖ—ÀÖ­ÀÖÀÀÖÎÀÖÜÀÖêÀÖûÀ×À×$À×'À×TÀ×jÀ×}À׋ÀלÀתÀ×»À×ÉÀ×ÚÀ×èÀ×ùÀØÀØÀØ&ÀØ4ÀØBÀØPÀØaÀØoÀØ}ÀØ‹ÀØ™ÀتÀظÀØÉÀØÿÀÙ5ÀÙFÀÙIÀÙvÀÙŒÀÙŸÀÙ°ÀÙ³ÀÚ +ÀÚÀÚCÀÚhÀÚyÀÚ|ÀÚ©ÀÚ¿ÀÚÒÀÚàÀÚñÀÚôÀÛ!ÀÛ7ÀÛJÀÛUÀÛcÀÛqeÀ + Ù%„©„ª„¬‹µ„¹„º„§„­„¸„³„«„µ…Ù‹¶„·‹·„¨„»„¼„½„¾„¿„À„Á„®„„ÄńƄ̈́΄ȄɄʄ¯„Ë„ÌfÀÛ‚7ÀÛ‹ÀÛŽÀÛ—ÀÛœÀÛŸÀÛ¢ÀÛ¨ÀÛ®ÀÛÆÀÛíÀÜÀÜ,ÀÜDÀÜ…À܈ÀÜ“ÀÜ¡ÀÝ0ÀÝ|ÀÝíÀÞÀÞ…ÀÞ³ÀÞÄÀÞÇÀÞØÀÞéÀÞúÀß ÀßÀß-Àß>ÀßOÀßZÀßhÀßyÀß|À߇Àß•Àß ÀàÀà!Àà,ÀàTÀà„Àà’Àà¬ÀàÆÀààÀáÀá0Àá>Àá†Àá‰Àâ"fÀ +¦â „܄݄؄مH„Ö„Õ„Û„ÔgÀâs¥Àâ|ÀâÀâˆÀâÀâÀâ“Àâ–Àâ™ÀâœÀâžÀâ¡Àâ§Àâ­Àâ°Àâ¼Àâ¿ÀâÈÀâËÀâÔÀâûÀãÀãÀã!Àã*Àã8ÀãFÀã˜Àã²ÀãµÀã¸ÀãÆÀã×Àä ÀäÀä,Àä/Àä\ÀärÀä’Àä£Àä¦ÀäÄÀä×ÀäçÀäúÀäýÀåTÀåyÀåŠÀåÀå«Àå¾ÀåÎÀåÜÀåêÀåøÀæ Àæ ÀæcÀæºÀçÀçhÀç¿ÀèÀèÀè)Àè7ÀèHÀèSÀèaÀèoÀè€Àè‹Àè™Àè§Àè¸ÀèÃÀèÑÀèÜÀèêÀèõÀéÀéÀé"Àé0ÀéAÀéOÀé`ÀénÀéÀéŠÀé˜Àé¦Àé·ÀéÂÀéÐÀéÞÀéïÀéýÀêÀêÀê'Àê5ÀêFÀêTÀêeÀêsÀê„Àê’Àê£Àê®Àê¼ÀêÊÀêÛÀêæÀêôÀêÿÀë ÀëÀë&Àë4ÀëEÀëSÀëdÀërÀëƒÀëŽÀëœÀëªÀë»ÀëÆÀëÔÀëâÀëóÀëþÀì ÀìÀì+Àì9ÀìJÀìUÀìcÀìnÀì|Àì‡Àì•Àì Àì®Àì¹ÀìÇÀìÕÀìæÀìôÀíÀíÀí$Àí2ÀíCÀíQÀíbÀízÀíŸÀíÄÀíéÀîÀî3ÀîXÀîiÀîlÀî’Àî¥ÀîµÀîÀÀîÎÀîòÀïÀï5ÀïJÀï[Àï^Àï|ÀïÀïŸÀï­ÀïÇÀïÊÀïÜÀïßÀïíÀïþÀð ÀðÀð+Àð<ÀðJÀð[ÀðiÀðzÀðˆÀð™Àð§Àð¸ÀðÆÀð×ÀðåÀðöÀñÀñÀñ#Àñ1ÀñBÀñPÀñaÀñoÀñ€ÀñŽÀñŸÀñ­Àñ¾ÀñÌÀñÝÀñíÀñþÀòÀòXÀò¯ÀòÐÀòæÀòùÀó ÀóÀó"Àó3ÀóAÀóRÀówÀó…Àó–Àó¤Àó²ÀóÃÀóèÀóöÀôÀôÀôÀô'Àô0Àô9ÀôBÀôgÀôŒÀôÀô Àô®ÀôÊÀôÕÀôæÀôéÀô÷ÀõÀõÀõ'Àõ<ÀõMÀõ[ÀõlÀõzÀõ‹Àõ™ÀõªÀõ¸ÀõÉÀõ×ÀõèÀõùÀõüÀö +ÀöÀö&Àö4ÀöBÀöPÀö^ÀölÀö}Àö€Àö­ÀöÃÀöÖÀöäÀöòÀ÷À÷À÷3À÷IÀ÷\À÷jÀ÷xÀ÷‰À÷ŒÀ÷šÀ÷«À÷®À÷ÕÀøeÀøhÀø¿ÀùÀùmÀùÄÀúÀúrÀúÉÀû Àû+Àû<ÀûMÀû^ÀûoÀû€Àû‘ÀûœÀû¥Àû®Àû·ÀûÜÀüÀü&ÀüKÀüpÀü•ÀüºÀüßÀüðÀüóÀý Àý6ÀýIÀýWÀýeÀýpÀý~Àý˜Àý›ÀýžÀý¡Àý¯ÀýÀÀýÎÀýßÀýíÀýþÀþ ÀþÀþ+Àþ<ÀþJÀþ[ÀþiÀþzÀþˆÀþ™Àþ§Àþ¸ÀþÆÀþ×ÀþåÀþöÀÿÀÿÀÿ#Àÿ1ÀÿBÀÿPÀÿaÀÿoÀÿ€ÀÿŽÀÿŸÀÿ­Àÿ¾ÀÿÎÀÿßÀÿñÀÀÀÀ)À:À=ÀHÀSÀdÀgÀrÀƒÀ†À˜À©À¬À¯À²ÀÃÀÆÀóÀ ÀÀ(À+ÀXÀnÀ|ÀÀÀ½ÀÓÀõÀÀ ÀÀ(À+À‹ÀÁÀöÀÀ +ÀÀ À.À<ÀGÀRÀ]À€À‘À”ÀµÀËÀÙÀêÀíÀÀ0ÀRÀyÀ‘À”ÀŸÀ°À³À¶ÀÆÀþÀÀÀÀÀ&À7ÀEÀVÀgÀjÀuÀƒÀ‘ÀŸÀ°À³ÀàÀöÀ À+ÀzÀ’À£À¦À´ÀÅÀÖÀÙÀäÀòÀ)À^ÀeÀoÀsÀ€À˜À©À¬ÀÙÀïÀýÀ ÀÀÀ-À;ÀFÀ^ÀyÀŠÀÀ˜À°À×ÀþÀ À =À WÀ ZÀ ±À +À +_À +¶À À dÀ »À À iÀ ÀÀ À nÀ ÅÀ ÈÀ ËÀ ðÀÀ:À_À„À©ÀÎÀóÀÀ=ÀbÀ‡À¬À½ÀÀÀÀ)À<ÀJÀSÀkÀÀ¡À¤À²À½ÀÎÀÑÀÔÀ×ÀâÀðÀûÀ ÀÀ%À6ÀDÀUÀcÀtÀÀÀ›À¬ÀãÀñÀÀÀ!À/À=ÀKÀ\ÀgÀtÀÀ™À±À´ÀÅÀÈÀïÀÀ.ÀdÀ‹ÀœÀŸÀÌÀâÀõÀÀÀ$ÀDÀUÀXÀfÀoÀ‰ÀŒÀíÀNÀiÀlÀwÀ…ÀÀžÀ½ÀÀ0ÀXÀÀ‘À»ÀåÀóÀbÀÀãÀ(À9À<ÀcÀtÀwÀÀÀžÀ¸À»ÀÉÀ×ÀèÀöÀÀ#À4ÀBÀSÀaÀrÀ€À‘ÀŸÀ°À»ÀÉÀ×ÀèÀöÀÀÀ&À4ÀEÀSÀdÀrÀƒÀ‘À¢À°ÀÁÀÏÀàÀüÀ ÀÀ,À:ÀKÀoÀ‚À’À›À¤ÀéÀÀHÀ]À~À¢ÀÆÀíÀ9ÀgÀÑÀìÀÀLÀhÀsÀºÀØÀÀÀAÀoÀŽÀîÀ À ,À DÀ MÀ VÀ nÀ wÀ žÀ ¶À!À!1À!vÀ!»À"À"EÀ"¬À#À#cÀ#lÀ#êÀ$À$8À$}À$ÂÀ$áÀ%!À%gÀ%§À%íÀ&QÀ&À&ÑÀ'À'iÀ(À(]À(½À)0À)«À)ðÀ*À*%À*(À*6À*GÀ*RÀ*jÀ*‹À*¯À*ßÀ+À+À+7À+EÀ+SÀ+]À+`À+xÀ+À+™À+ªÀ+­À+»À+ÉÀ+×À+åÀ, À,1À,4À,LÀ,sÀ,ÃÀ,ùÀ- +À- À-:À-PÀ-cÀ-qÀ-‚À-…À-²À-ÈÀ-ÛÀ-æÀ-ôÀ-ÿÀ.À."À.%À.6À.•À.ÂÀ.ØÀ.ëÀ.ùÀ/NÀ/wÀ/zÀ/}À/€À/‹À/™À/ªÀ/ÜÀ/íÀ/ðÀ0#À0tÀ0…À0ˆÀ0–À0¤À0²À0ÀÀ0ÎÀ0ÜÀ0êÀ0ûÀ0þÀ1 À1À1+À1.À1CÀ1QÀ1bÀ1eÀ1˜À1ËÀ1ãÀ1ûÀ2"À2cÀ2|À2À2ŠÀ2˜À2ÆÀ2×À2ÚÀ2ïÀ2úÀ3À3À3'À3*À38À3WÀ3vÀ3•À3´À3ÓÀ3òÀ4À40À4OÀ4nÀ4À4¬À4ÒÀ4ñÀ5À5/À5NÀ5mÀ5ŒÀ5«À5ÊÀ5éÀ6 À6 À6?À6^À6‰À6¬À6ËÀ6êÀ7 À7(À7GÀ7XÀ7[À7iÀ7zÀ7‹À7ŽÀ7œÀ7­À7°À7¾À7ÏÀ7ÒÀ8À8À8?À8PÀ8SÀ8aÀ8oÀ8}À8ŽÀ8‘À8ŸÀ8­À8»À8ÌÀ8ÏÀ8ÝÀ8îÀ8üÀ9 À9À9@À9NÀ9_À9{À9“À9«À9ÊÀ9ÛÀ9ÞÀ9ðÀ:À:À:"À:3À:6À:cÀ:yÀ:ŒÀ:šÀ:«À:¼À:¿À:ÍÀ:ÞÀ:áÀ:öÀ;À;À;À;7À;VÀ;uÀ;”À;³À;ÒÀ;ãÀ;æÀ;ôÀ<À<À<$À<'À<9ÀÀ>À>À>-À>>À>OÀ>`À>qÀ>‚À>“À>¤À>µÀ>ÆÀ>×À>åÀ>öÀ?À?À?À?.À?1À?aÀ?wÀ?À?žÀ?¯À?½À?ÎÀ?ÜÀ?íÀ?þÀ@À@"À@8À@FÀ@WÀ@eÀ@vÀ@À@“À@¥À@ÄÀ@ãÀ@ÿÀAÀAQÀApÀAÀA“ÀA²ÀAÙÀAøÀB.ÀB9ÀB<ÀBJÀB[ÀBiÀBzÀB…ÀB“ÀB²ÀBØÀBôÀCÀC!ÀC2ÀCNÀCfÀCtÀC…ÀC¡ÀC¹ÀCÇÀCØÀCôÀD ÀDÀD+ÀDGÀD_ÀDmÀD~ÀDšÀD²ÀDÀÀDÑÀDíÀEÀEÀE$ÀE@ÀEXÀEfÀEwÀE“ÀE«ÀE¹ÀEÊÀEæÀEþÀF ÀFÀF9ÀFQÀF_ÀFpÀFŒÀF¤ÀF²ÀFÃÀFßÀF÷ÀGÀGÀG2ÀGJÀGXÀGiÀG…ÀGÀG«ÀG¼ÀGØÀGðÀGþÀHÀH+ÀHCÀHQÀHbÀH~ÀH–ÀH¤ÀHµÀHÑÀHéÀH÷ÀIÀI$ÀI<ÀIJÀI[ÀIwÀIÀIÀI®ÀIÊÀIâÀIðÀJÀJÀJ5ÀJCÀJTÀJpÀJˆÀJ–ÀJ§ÀJÃÀJÛÀJéÀJúÀKÀK.ÀK<ÀKMÀKiÀKÀKÀK ÀK¼ÀKÔÀKâÀKóÀLÀL'ÀL5ÀLFÀLbÀLzÀLˆÀL™ÀLµÀLÍÀLÛÀLìÀMÀM ÀM.ÀM?ÀM[ÀMsÀMÀM’ÀM®ÀMÆÀMÔÀMåÀNÀNÀN'ÀN8ÀNTÀNlÀNzÀN‹ÀN§ÀN¿ÀNÍÀNÞÀNúÀOÀO ÀO1ÀOMÀOeÀOsÀO„ÀO ÀO¸ÀOÆÀO×ÀOóÀP ÀPÀP*ÀPFÀP^ÀPlÀP}ÀP™ÀP±ÀP¿ÀPÐÀPìÀQÀQÀQ#ÀQ?ÀQWÀQeÀQvÀQ’ÀQªÀQ¸ÀQÉÀQåÀQýÀR ÀRÀR8ÀRPÀR^ÀRoÀR‹ÀR£ÀR±ÀRÂÀRÞÀRöÀSÀSÀS1ÀSIÀSWÀShÀS„ÀSœÀSªÀS»ÀS×ÀSïÀSýÀTÀT*ÀTBÀTPÀTaÀT}ÀT•ÀT£ÀT´ÀTÐÀTèÀTöÀUÀU#ÀU;ÀUIÀUZÀUvÀUŽÀUœÀU­ÀUÉÀUáÀUïÀVÀVÀV4ÀVBÀVSÀVoÀV‡ÀV•ÀV¦ÀVÂÀVÚÀVèÀVùÀWÀW-ÀW;ÀWLÀWhÀW€ÀWŽÀWŸÀW»ÀWÓÀWáÀWòÀXÀX&ÀX4ÀXEÀXaÀXyÀX‡ÀX˜ÀX´ÀXÌÀXÚÀXëÀYÀYÀY-ÀY>ÀYZÀYrÀY€ÀY‘ÀY­ÀYÅÀYÓÀYäÀZÀZÀZ&ÀZ7ÀZSÀZkÀZyÀZŠÀZ¦ÀZ¾ÀZÌÀZÝÀZùÀ[À[À[0À[LÀ[dÀ[rÀ[ƒÀ[ŸÀ[·À[ÅÀ[ÖÀ[òÀ\ +À\À\)À\EÀ\]À\kÀ\|À\˜À\°À\¾À\ÏÀ\ëÀ]À]À]"À]>À]VÀ]dÀ]uÀ]‘À]©À]·À]ÈÀ]äÀ]üÀ^ +À^À^7À^OÀ^]À^nÀ^ŠÀ^¢À^°À^ÁÀ^ÝÀ^õÀ_À_À_0À_HÀ_VÀ_gÀ_ƒÀ_›À_©À_ºÀ_ÖÀ_îÀ_üÀ` À`)À`AÀ`TÀ`{À`¢À`±À`ÐÀaÀa-Àa>ÀaOÀa`ÀaqÀa‚Àa“Àa¤ÀaµÀaÆÀa×ÀaèÀaùÀb +ÀbÀb,Àb=ÀbNÀb_ÀbpÀbÀb’Àb£Àb´ÀbÅÀbÖÀbçÀbøÀc ÀcÀc+Àc<ÀcMÀc^ÀcoÀc€Àc‘Àc¢Àc³ÀcÄÀcÕÀcæÀc÷ÀdÀdÀd*Àd;ÀdLÀd]ÀdnÀdÀdÀd¡Àd²ÀdÃÀdÔÀdåÀdöÀeÀeÀe)Àe:ÀeKÀe\ÀemÀe~ÀeÀe Àe±ÀeÂÀeÓÀeäÀeõÀfÀfÀf(Àf9ÀfJÀf[ÀflÀf}ÀfŽÀfŸÀf°ÀfÁÀfÒÀfãÀfôÀgÀgÀg'Àg(ÀgGÀg}Àg‹ÀgœÀgªÀg»ÀgÉÀgÚÀgèÀgùÀhÀhÀh&Àh7ÀhEÀhVÀhdÀhuÀhƒÀh”Àh¢Àh³ÀhÁÀhÒÀhàÀhñÀhÿÀiÀiÀi/Ài=ÀiNÀi\ÀimÀi{ÀiŒÀišÀi«Ài¹ÀiÊÀiØÀiéÀi÷ÀjÀjÀj'Àj5ÀjFÀjTÀjeÀjsÀj„Àj’Àj£Àj±ÀjÂÀjÐÀjáÀjïÀkÀkÀkÀk-Àk>ÀkLÀk]ÀkkÀk|ÀkŠÀk›Àk©ÀkºÀkÈÀkÙÀkçÀkøÀlÀlÀl%Àl6ÀlDÀlUÀlcÀltÀl‚Àl“Àl¡Àl²ÀlÀÀlÑÀlßÀlðÀlþÀmÀmÀm.Àm<ÀmMÀm[ÀmlÀmzÀm‹Àm™ÀmªÀm¸ÀmÉÀm×ÀmèÀmöÀnÀnÀn&Àn4ÀnEÀnSÀndÀnrÀnƒÀn‘Àn¢Àn°ÀnÁÀnÏÀnàÀnîÀnÿÀo ÀoÀo,Ào=ÀoKÀo\ÀojÀo{Ào‰ÀošÀo¨Ào¹ÀoÇÀoØÀoæÀo÷ÀpÀpÀp$Àp5ÀpCÀpTÀpbÀpsÀpÀp’Àp Àp±Àp¿ÀpÐÀpÞÀpïÀpýÀqÀqÀq-Àq;ÀqLÀqZÀqkÀqyÀqŠÀq˜Àq©Àq·ÀqÈÀqÖÀqçÀqõÀrÀrÀr%Àr3ÀrDÀrRÀrcÀrqÀr‚ÀrÀr¡Àr¯ÀrÀÀrÎÀrßÀríÀrþÀs ÀsÀs+Às<ÀsJÀs[ÀsiÀszÀsˆÀs™Às§Às¸ÀsÆÀs×ÀsåÀsöÀtÀtÀt#Àt4ÀtBÀtSÀtaÀtrÀt€Àt‘ÀtŸÀt°Àt¾ÀtÏÀtÝÀtîÀtüÀu ÀuÀu,Àu:ÀuKÀuYÀujÀuxÀu‰Àu—Àu¨Àu¶ÀuÇÀuÕÀuæÀuôÀvÀvÀv$Àv2ÀvCÀvQÀvbÀvpÀvÀvÀv Àv®Àv¿ÀvÍÀvÞÀvìÀvýÀw ÀwÀw*Àw;ÀwIÀwZÀwhÀwyÀw‡Àw˜Àw¦Àw·ÀwÅÀwÖÀwäÀwõÀxÀxÀx"Àx3ÀxAÀxRÀx`ÀxqÀxÀxÀxžÀx¯Àx½ÀxÎÀxÜÀxíÀxûÀy ÀyÀy+Ày9ÀyJÀyXÀyiÀywÀyˆÀy–Ày§ÀyµÀyÆÀyÔÀyåÀyóÀzÀzÀz#Àz1ÀzBÀzPÀzaÀzoÀz€ÀzŽÀzŸÀz­Àz¾ÀzÌÀzÝÀzëÀzüÀ{ +À{À{)À{:À{HÀ{YÀ{gÀ{xÀ{†À{—À{¥À{¶À{ÄÀ{ÕÀ{ãÀ{ôÀ|À|À|!À|2À|@À|QÀ|_À|pÀ|~À|À|À|®À|¼À|ÍÀ|ÛÀ|ìÀ|úÀ} À}À}*À}8À}IÀ}WÀ}hÀ}vÀ}‡À}•À}¦À}´À}ÅÀ}ÓÀ}äÀ}òÀ~À~À~"À~0À~AÀ~OÀ~`À~nÀ~À~À~žÀ~¬À~½À~ËÀ~ÜÀ~êÀ~ûÀ ÀÀ(À9ÀGÀXÀfÀwÀ…À–À¤ÀµÀÃÀÔÀâÀóÀ€À€À€ À€1À€?À€PÀ€^À€oÀ€}À€ŽÀ€œÀ€­À€»À€ÌÀ€ÚÀ€ëÀ€ùÀ +ÀÀ)À7ÀHÀVÀgÀuÀ†À”À¥À³ÀÄÀÒÀãÀñÀ‚À‚À‚!À‚/À‚@À‚NÀ‚_À‚mÀ‚~À‚ŒÀ‚À‚«À‚¼À‚ÊÀ‚ÛÀ‚éÀ‚úÀƒÀƒÀƒ'Àƒ8ÀƒFÀƒWÀƒeÀƒvÀƒ„Àƒ•Àƒ£Àƒ´ÀƒÂÀƒÓÀƒáÀƒòÀ„À„À„À„0À„>À„OÀ„]À„nÀ„|À„À„›À„¬À„ºÀ„ËÀ„ÙÀ„êÀ„øÀ… À…À…(À…6À…GÀ…UÀ…fÀ…tÀ……À…“À…¤À…²À…ÃÀ…ÑÀ…âÀ…ðÀ†À†À† À†.À†?À†MÀ†^À†lÀ†}À†‹À†œÀ†ªÀ†»À†ÉÀ†ÚÀ†èÀ†ùÀ‡À‡À‡&À‡7À‡EÀ‡VÀ‡dÀ‡uÀ‡ƒÀ‡”À‡¢À‡³À‡ÁÀ‡ÒÀ‡àÀ‡ñÀ‡ÿÀˆÀˆÀˆ/Àˆ=ÀˆNÀˆ\ÀˆmÀˆ{ÀˆŒÀˆšÀˆ«Àˆ¹ÀˆÊÀˆØÀˆéÀˆ÷À‰À‰À‰'À‰5À‰FÀ‰TÀ‰eÀ‰sÀ‰„À‰’À‰£À‰±À‰ÂÀ‰ÐÀ‰áÀ‰ïÀŠÀŠÀŠÀŠ-ÀŠ>ÀŠLÀŠ]ÀŠkÀŠ|ÀŠŠÀŠ›ÀŠ©ÀŠºÀŠÈÀŠÙÀŠçÀŠøÀ‹À‹À‹%À‹6À‹DÀ‹UÀ‹cÀ‹tÀ‹‚À‹“À‹¡À‹²À‹ÀÀ‹ÑÀ‹ßÀ‹ðÀ‹þÀŒÀŒÀŒ.ÀŒ<ÀŒMÀŒ[ÀŒlÀŒzÀŒ‹ÀŒ™ÀŒªÀŒ¸ÀŒÉÀŒ×ÀŒèÀŒöÀÀÀ&À4ÀEÀSÀdÀrÀƒÀ‘À¢À°ÀÁÀÏÀàÀŽNÀŽ¿ÀŽÍÀŽÞÀŽìÀŽýÀ ÀÀ*À;ÀIÀZÀhÀyÀ‡À˜À¦À·ÀÅÀÖÀäÀõÀÀÀ"À3ÀAÀRÀ`ÀqÀÀÀžÀ¯À½ÀÎÀÜÀíÀûÀ‘ À‘À‘+À‘9À‘JÀ‘XÀ‘iÀ‘wÀ‘ˆÀ‘–À‘§À‘¸À‘»À‘ÉÀ‘ÚÀ‘èÀ‘ùÀ‘üÀ’,À’:À’jÀ’¡À’¶À’ÞÀ’óÀ“À“À“5À“FÀ“IÀ“ZÀ“]À“hÀ“vÀ“‡À“ŠÀ“°À“ÀÀ“ÓÀ“ÞÀ“éÀ”À”À”&À”)À”YÀ”oÀ”ˆÀ”–À”§À”µÀ”ÆÀ”ÔÀ”åÀ”öÀ”ùÀ•À•0À•>À•LÀ•]À•kÀ•|À•À•À•›À•·À•ÈÀ•ËÀ•ÙÀ•çÀ•øÀ•ûÀ– À–À–À–/À–BÀ–PÀ–`À–qÀ–tÀ–¶À–ÏÀ–åÀ—À—+À—<À—GÀ—ˆÀ—ŠÀ—·À—ÍÀ—àÀ—èÀ—þÀ˜DÀ˜UÀ˜XÀ˜[À˜^À˜oÀ˜rÀ˜uÀ˜ƒÀ˜”À™À™À™ À™À™À™IÀ™ZÀ™]À™`À™pÀ™~À™À™À™®À™ÞÀ™ìÀšÀš&ÀšEÀšlÀšœÀš­Àš½ÀšÀÀšÎÀšÜÀšìÀ›3À›DÀ›GÀ›RÀ›tÀ›©À›ÏÀ›ØÀ›ôÀœ Àœ%Àœ=ÀœUÀœmÀœ~ÀœÀœØÀœéÀœúÀÀ2ÀhÀ{ÀžÀž|ÀžÒÀŸkÀŸÀŸžÀŸ¯ÀŸ²ÀŸÃÀŸÔÀ =À ¦À ·À ºÀ¡À¡tÀ¡…À¡ˆÀ¡“À¡¡À¡¯À¡ðÀ¡óÀ¡öÀ¡ùÀ¢À¢À¢À¢.À¢1À¢4À¢DÀ¢`À¢sÀ¢À¢’À¢•À¢˜À¢¨À¢ÄÀ¢×À¢èÀ¢ëÀ¢îÀ¢þÀ£À£-À£;À£LÀ£OÀ£]À£kÀ£yÀ£ŠÀ£À£ºÀ£ÐÀ£ãÀ£ñÀ£ÿÀ¤ À¤À¤,À¤/À¤\À¤rÀ¤…À¤À¤žÀ¤¬À¤ºÀ¤ËÀ¤ÎÀ¤ÜÀ¤êÀ¤øÀ¥À¥À¥À¥!À¥/À¥=À¥NÀ¥fÀ¥oÀ¥xÀ¥‰À¥ÏÀ¥ßÀ¦À¦[À¦‘À¦”À¦«À§(À§ˆÀ§ÃÀ§ÙÀ§ìÀ¨DÀ¨ÁÀ©!À©\À©rÀ©…À©ÝÀª)ÀªHÀªYÀª\Àª¼ÀªýÀ«À«À«À«À«(À«+À«‚À«ÙÀ¬0À¬‡À¬ÞÀ¬áÀ¬ñÀ¬ÿÀ­À­,À­:À­HÀ­YÀ­gÀ­uÀ­ À­®À­¼À­ÇÀ­ÜÀ­çÀ­õÀ® +À®À®-À®;À®PÀ®^À®lÀ®}À®‹À® À®¸À®ÆÀ®ÔÀ®éÀ¯À¯À¯[À¯À¯ßÀ°$À°CÀ°rÀ°‚À°«À°ãÀ± À±À±?À±ñÀ²5À²vÀ²´À²ïÀ³'À³MÀ³„À³À³–À³ºÀ³ûÀ´<À´}À´¨À´ÄÀ´àÀ´üÀµÀµ7ÀµqÀµŽÀµ¨ÀµèÀ¶À¶À¶#À¶1À¶hÀ¶—À¶ÓÀ¶áÀ¶óÀ·*À·?À·TÀ·sÀ·»À·àÀ¸À¸*À¸OÀ¸tÀ¸™À¸¾À¸ãÀ¹À¹-À¹RÀ¹wÀ¹£À¹ÈÀ¹íÀºÀº7Àº\ÀºÀº¦ÀºËÀºðÀ»À»:À»_À»„À»©À»ÎÀ»óÀ¼À¼=À¼bÀ¼‡À¼¬À¼ÑÀ¼öÀ½À½@À½eÀ½ŠÀ½¯À½ÔÀ½ùÀ¾À¾CÀ¾hÀ¾À¾²À¾×À¾üÀ¿!À¿FÀ¿kÀ¿À¿µÀ¿ÚÀ¿ÿÀÀ$ÀÀIÀÀnÀÀ“ÀÀ¸ÀÀÝÀÁÀÁ'ÀÁLÀÁqÀÁ–ÀÁ»ÀÁàÀÂÀÂEÀÂPÀÂbÀ˜ÀÂËÀÂÞÀÃÀÃ=ÀÃwÀñÀÄÀÄ*ÀÄ-ÀÄ]ÀÄÀÄ›ÀÄÆÀÄèÀÅ ÀÅMÀÅ[ÀÅlÀÅ¢ÀźÀÅðÀÅóÀÆÀÆ$ÀÆ9ÀÆNÀÆmÀƵÀÆÆÀÆÉÀÆ×ÀÆåÀÆóÀÇ#ÀÇKÀLJÀÇ—ÀǨÀÇ«ÀÇÉÀÇÜÀÇìÀÇýÀÈÀÈ!ÀÈ7ÀÈJÀÈXÀÈfÀÈ~ÀÈŽÀÈžÀÈ®ÀȾÀÈÎÀÈÞÀÈîÀÈþÀÉÀÉÀÉ.ÀÉ>ÀÉNÀÉ^ÀÉnÀÉ~ÀÉŽÀÉžÀÉ®ÀɾÀÉÎÀÉÞÀÉîÀÉþÀÊÀÊÀÊ.ÀÊ>ÀÊNÀÊ^ÀÊnÀÊ|ÀÊÀÊÀÊÀÊ®ÀʱÀÊîÀË+ÀËQÀË^ÀËoÀËrÀË‘ÀË¢ÀË¥ÀË·ÀËÊÀËÚÀËèÀËùÀÌÀÌÀÌ&ÀÌ7ÀÌEÀÌVÀÌdÀÌuÀ̃ÀÌ”ÀÌ¢À̳ÀÌÁÀÌÒÀÌàÀÌñÀÌÿÀÍÀÍÀÍ/ÀÍ=ÀÍNÀÍ\ÀÍmÀÍ{ÀÍŒÀÍšÀÍ«À͹ÀÍÊÀÍØÀÍéÀÍ÷ÀÎÀÎÀÎ'ÀÎ5ÀÎFÀÎTÀÎeÀÎsÀ΄ÀΠÀμÀÎçÀÏÀÏÀÏ(ÀÏSÀÏmÀÏ„ÀϯÀÏÉÀÏàÀÐ,ÀÐZÀЗÀÐãÀÑMÀÑlÀÑ‹ÀѪÀÑçÀÑøÀÑûÀÒ ÀÒ ÀÒ0ÀÒ>ÀÒLÀÒZÀÒhÀÒvÀÒ„ÀÒÀÒšÀÒ¨ÀÒ¶ÀÒÄÀÒÒÀÒàÀÒîÀÒüÀÓ +ÀÓÀÓ&ÀÓ4ÀÓBÀÓPÀÓ^ÀÓlÀÓzÀÓŠÀÓšÀÓ¶ÀÓÒÀÓýÀÔÀÔ.ÀÔ>ÀÔiÀÔƒÀÔšÀÔ×ÀÕ#ÀÕQÀÕ»ÀÖÀÖ&ÀÖEÀÖRÀÖ_ÀÖŠÀÖ¤ÀÖ»ÀÖøÀ× À× À×À×À×MÀ×^À×aÀ× À×¼À×ÕÀ×ëÀ×þÀØÀØÀØ'ÀØ8ÀØFÀØWÀØeÀØvÀØ„ÀØ•ÀØÀÀØÚÀØñÀÙÀÙÀÙDÀÙ`ÀÙyÀÙÀÙ¢ÀÙ²ÀÙÀÀÙÎÀÙÜÀÙêÀÚÀÚ/ÀÚFÀÚqÀÚ‹ÀÚ¢ÀÚ³ÀÚ¶ÀÛ%ÀÛAÀÛZÀÛpÀÛƒÀÛ“ÀÛ¡ÀÛ¯ÀÛ½ÀÛËÀÛöÀÜÀÜ'ÀÜRÀÜlÀ܃ÀÜ¡ÀÝLÀÝOÀÝZÀÝ„ÀݶÀÝÄÀÝàÀÝüÀÞÀÞBÀÞlÀÞÀÞÀÞ°ÀÞ»ÀÞöÀß)ÀßdÀß—ÀßÊÀßæÀàÀàÀà:Àà=Àà|Àà˜Àà±ÀàÇÀàÚÀàêÀàÿÀá Àá"Àá0ÀáEÀáSÀáhÀávÀá‹Àá™Àá®Àá¼ÀáÊÀáØÀâÀâÀâ4Àâ§ÀâªÀâµÀâÑÀâõÀãÀãÀãÀã-ÀãIÀãeÀãvÀãyÀã‘Àã¸Àã×ÀãèÀãëÀãöÀäÀäÀä-ÀäIÀäeÀä}Àä¤ÀäÀÀäèÀå ÀåÀå+Àå=ÀåYÀådÀåoÀå‹Àå¯Àå½ÀåÜÀæÀæ0ÀænÀæ³ÀæËÀæúÀç)ÀçdÀç”ÀçÛÀçüÀèSÀèoÀèšÀè¾ÀèùÀé4Àé=ÀéYÀéiÀéwÀé›Àé©Àé·ÀéÙÀêÀêÀê7ÀêEÀêSÀêaÀêoÀê}Àê¢ÀêÇÀêìÀëÀë6Àë[Àë€Àë¥ÀëÊÀëïÀìÀì9ÀìeÀìŠÀì¯ÀìÔÀìùÀíÀíCÀíhÀíÀí²Àí×ÀíüÀî!ÀîFÀîkÀîÀîµÀîÚÀîÿÀï$ÀïIÀïnÀï“Àï¸ÀïÝÀðÀð'ÀðLÀðqÀð–Àð»ÀðàÀñÀñ*ÀñOÀñtÀñ™Àñ¾ÀñãÀòÀò-ÀòRÀòwÀòœÀòÁÀòæÀó Àó0ÀóUÀózÀóŸÀóÄÀôIÀônÀô“Àô¸ÀôÝÀõÀõKÀõoÀõ}ÀõˆÀõ£ÀõÆÀõÔÀö&Àö>ÀöKÀöXÀöeÀösÀöÀö©Àö·ÀöÅÀöÓÀöáÀ÷À÷(À÷MÀ÷rÀ÷—À÷¼À÷áÀøÀø+ÀøPÀøuÀøšÀø¿ÀøëÀùÀù5ÀùZÀùÀù¤ÀùÉÀùîÀúÀú8Àú]Àú‚Àú§ÀúÌÀúñÀûÀû;Àû`Àû…ÀûªÀûÏÀûôÀüÀü>ÀücÀüˆÀü­ÀüÒÀü÷ÀýÀýAÀýfÀý‹Àý°ÀýÕÀýúÀþÀþDÀþiÀþŽÀþ³ÀþØÀþýÀÿ"ÀÿGÀÿlÀÿ‘Àÿ¶ÀÿÛÀÀ%ÀJÀÏÀôÀÀ>ÀcÀˆÀ½ÀíÀðÀÀÀÀÀÀ À#À&À)À,À/À2À5À8À;À>ÀAÀDÀGÀJÀMÀPÀSÀVÀYÀ\À_ÀbÀeÀhÀ ÀÛÀÿÀ2ÀSÀƒÀ ÀÌÀøÀ3ÀUÀwÀœÀÜÀ ÀVÀšÀÐÀÞÀÀ>ÀyÀÂÀáÀýÀÀ1ÀgÀƒÀŒÀ•À¥ÀÞÀîÀiÀ’ÀÈÀÝÀëÀûÀ À “À ²À +2À +QÀ +xÀ +¦À +ëÀ À GÀ uÀ œÀ ¸À ÔÀ üÀ "À 0À >À LÀ ZÀ vÀ £À ßÀ ïÀ ÿÀ À À \À gÀ rÀ ŠÀ ›À ÑÀ ßÀ ôÀÀÀ/ÀKÀ^ÀlÀwÀ‚ÀÀ˜À£À®À¼ÀÇÀÕÀàÀãÀ:À‘ÀèÀ?À–ÀíÀDÀ›ÀòÀIÀ À÷ÀUÀ¬ÀÀZÀ±ÀÀ_À¶À ÀdÀ»ÀÀiÀÀÀÀnÀÅÀÀsÀÊÀ!ÀxÀÏÀ&À}ÀÔÀ+À‚ÀÙÀ0À‡ÀÞÀ5ÀŒÀãÀ:À‘ÀèÀ ?À –À íÀ!DÀ!›À!òÀ"IÀ" À"÷À#NÀ#¥À#üÀ$SÀ$ªÀ%À%ˆÀ&À&fÀ&tÀ&…À&“À&¤À&¯À&½À&ÈÀ&ÖÀ&áÀ&ïÀ&ýÀ'À'À''À'8À'CÀ'QÀ'_À'jÀ'xÀ'†À'—À'¢À'°À'¹À'ÂÀ'ËÀ'ÙÀ'çÀ'üÀ( +À(À(&À(1À(<À(GÀ(UÀ(cÀ(qÀ(‚À(—À(¯À(ÄÀ(ÙÀ(îÀ)À)À)-À)BÀ)ZÀ)lÀ)zÀ)‹À)™À)§À)ÒÀ)ìÀ* À*/À*UÀ*ŠÀ*®À*ÚÀ+(À+ZÀ+›À+ãÀ,À,8À,QÀ,fÀ,…À,³À,¼À,×À,çÀ,úÀ-À-7À-GÀ-ZÀ-|À-›À-·À-ÒÀ-âÀ-õÀ.À.EÀ.‚À.—À.×À.ïÀ/À/À/#À/5À/JÀ/_À/~À/ÆÀ/ëÀ0À05À0ZÀ0À0¤À0ÉÀ0îÀ1À18À1]À1‚À1®À1ÓÀ1øÀ2À2BÀ2gÀ2ŒÀ2±À2ÖÀ2ûÀ3 À3EÀ3jÀ3À3´À3ÙÀ3þÀ4#À4HÀ4mÀ4’À4·À4ÜÀ5À5&À5KÀ5pÀ5•À5ºÀ5ßÀ6À6)À6NÀ6sÀ6˜À6½À6âÀ7À7,À7QÀ7vÀ7›À7ÀÀ7åÀ8 +À8/À8TÀ8yÀ8žÀ8ÃÀ8èÀ9 À9’À9·À9ÜÀ:À:&À:KÀ:LÀ:tÀ:uÀ:yÀ:~À:…À:£À:ÁÀ:ßÀ;?À;BÀ;EÀ;HÀ;SÀ;aÀ;rÀ;€À;‘À;ŸÀ;°À;¾À;ÏÀ;ÝÀ;îÀ< À<4ÀKÀ>yÀ>ñÀ?=À?‰À?¨À?¿À?×À?ïÀ@À@ +À@7À@MÀ@`À@kÀ@€À@ŽÀ@™À@§À@¸À@êÀA+ÀA9ÀAJÀAXÀAzÀA§ÀA½ÀAÐÀAáÀAòÀBÀBÀBÀB$ÀB2ÀBOÀBZÀBeÀBpÀB~ÀB›ÀB©ÀB·ÀBÛÀCÀCÀC$ÀC-ÀC>ÀCWÀCZÀC±ÀDÀD_ÀD™ÀD¯ÀDÂÀDÓÀDäÀDõÀEÀEÀEÀE"ÀEGÀElÀE‘ÀE’ÀE¢ÀEªÀEàÀEêÀEýÀFÀFEÀFVÀFYÀFgÀF°ÀFùÀFüÀGLÀGhÀG¸ÀGÉÀGÌÀGùÀHÀH"ÀHBÀHSÀHVÀHrÀH€ÀHŽÀH°ÀHÌÀHÝÀHàÀHéÀHòÀIÀIÀI$ÀI7ÀIGÀIÀI™ÀIœÀIºÀIÍÀIÛÀIéÀIþÀJ ÀJÀJ ÀJMÀJcÀJqÀJ|ÀJ’ÀJ ÀJÀÀJØÀJÛÀJÞÀJáÀJìÀJúÀK*ÀK8ÀKFÀKWÀKeÀKsÀKÀKŒÀK™ÀK¦ÀK¾ÀKÏÀKÒÀL"ÀL;ÀLQÀL\ÀLjÀL€ÀLŽÀLÓÀLëÀLüÀLÿÀMYÀM‡ÀMáÀNÀN‚ÀN…ÀNÀN¬ÀNÐÀNÞÀNìÀNúÀOÀO$ÀO@ÀOQÀO_ÀObÀO¹ÀPÀPgÀP¾ÀQÀQlÀQoÀQÀQÀQ¡ÀQ²ÀQÀÀQËÀQÔÀQìÀR ÀR2ÀRWÀR|ÀR¡ÀRÆÀRëÀSÀS9ÀS<ÀSGÀSUÀScÀS{ÀSŒÀSÀSæÀT=ÀT”ÀTëÀUBÀU™ÀUªÀU»ÀUÌÀUÚÀUåÀUðÀUûÀVÀVÀV.ÀVFÀVkÀVÀVµÀVÚÀVÿÀW$ÀW<ÀWMÀWPÀW}ÀW“ÀW¦ÀW´ÀWÊÀWÛÀWÞÀXÀX3ÀXIÀXWÀXhÀXvÀX‡ÀX•ÀX¦ÀXËÀXÙÀXçÀXøÀYÀYÀY%ÀY6ÀYDÀYUÀYcÀYtÀY›ÀY¬ÀY¯ÀZÀZ]ÀZ´ÀZÂÀZáÀ[ À[À[1À[ŠÀ[¦À[ËÀ[ðÀ\À\&À\)À\VÀ\lÀ\À\¡À\²À\µÀ\ÃÀ\ÔÀ\×À]À]À](À]6À]VÀ]ÇÀ]ÊÀ]ÜÀ]ïÀ]ÿÀ^ +À^1À^nÀ^†À^¥À^ØÀ^ôÀ_À_/À_2À_5À_8À_FÀ_WÀ_eÀ_vÀ_„À_•À_£À_´À_ÂÀ_ÓÀ_ÞÀ_ìÀ_ýÀ` À`À`'À`5À`CÀ`TÀ`sÀ`€À`œÀ`©À`ÍÀ`àÀ`éÀ`òÀa +Àa"Àa3Àa6ÀaXÀaˆÀa“ÀažÀa¬ÀaºÀaÅÀaÓÀaáÀaìÀaýÀbÀb ÀbÀb$Àb5Àb8ÀbeÀb{ÀbŽÀbœÀb­Àb°Àb»ÀbÆÀbÑÀbÜÀbçÀbòÀbýÀcÀc ÀcqÀcÂÀcÕÀcØÀcôÀdbÀdÀdÕÀdèÀeZÀe™ÀeÕÀeìÀeöÀeúÀeÿÀf ÀfÀf)Àf,Àf:ÀfEÀfOÀf–Àf²ÀfùÀgÀg +ÀgaÀg¸ÀhÀhfÀh½ÀiÀikÀiÉÀj ÀjwÀjÎÀk%Àk|ÀkÓÀl*ÀlÀlØÀm/Àm†ÀmÝÀn4Àn‹ÀnâÀo9ÀoÀoçÀp>Àp•ÀpìÀqCÀqšÀqñÀrHÀrŸÀröÀsMÀs¤ÀsûÀtRÀt©ÀuÀuWÀu®ÀvÀv\Àv³Àw +ÀwaÀw¸ÀxÀxfÀx½ÀyÀykÀyÂÀzÀzpÀz•ÀzºÀzßÀ{À{)À{NÀ{sÀ{ŸÀ{ÄÀ{éÀ|À|3À|XÀ|}À|¢À|ÇÀ|ìÀ}À}6À}[À}€À}¥À}ÊÀ}ïÀ~À~9À~^À~ƒÀ~¨À~ÍÀ~òÀÀ<ÀaÀ†À«ÀÐÀõÀ€À€?À€dÀ€‰À€®À€ÓÀ€øÀÀBÀgÀŒÀ±ÀÖÀûÀ‚ À‚EÀ‚jÀ‚À‚´À‚ÅÀ‚ÈÀ‚æÀ‚ùÀƒ ÀƒÀƒ%Àƒ3ÀƒDÀƒGÀƒJÀƒMÀƒ[ÀƒlÀƒÌÀ„À„IÀ„_À„rÀ„}À„’À„§À„¸À„»À„¾À„ÁÀ„ÒÀ„ÕÀ„çÀ„úÀ… +À…À…À…!À…$À…'À…*À…-À…0À…3À…MÀ…XÀ…[À…fÀ…tÀ……À…À…ªÀ…³À…¼À…ÑÀ†[À†ÔÀ‡^À‡×ÀˆJÀˆMÀˆXÀˆtÀˆ˜Àˆ¦Àˆ´ÀˆÂÀˆÐÀˆìÀ‰À‰'À‰8À‰;À‰IÀ‰ZÀ‰‰À‰±À‰¿À‰ÍÀ‰ÛÀ‰éÀ‰÷ÀŠÀŠ*ÀŠ8ÀŠIÀŠ‚ÀŠ¼ÀŠùÀ‹¬À‹ËÀŒ8ÀŒfÀŒwÀŒzÀŒ™ÀŒªÀŒ­ÀŒ°ÀŒ³ÀŒÄÀŒÇÀŒÕÀŒæÀŒôÀÀÀ$À2ÀCÀQÀ_ÀpÀ~ÀÀÀ®À¼ÀÍÀÛÀìÀúÀŽ ÀŽÀŽÀŽBÀŽSÀŽ·ÀœÀiÀtÀÀŠÀ•ÀéÀ‘!À‘rÀ‘uÀ‘ÌÀ‘ÏÀ‘ßÀ‘ðÀ’À’À’#À’4À’?À’§À“À“+À“9À“JÀ“_À“tÀ“À“À“˜À“¦À“»À“ÆÀ“ÔÀ“ÝÀ“ôÀ”À”zÀ”†À”­À”ÒÀ”ãÀ”æÀ•=À•”À•ëÀ–BÀ–™À–ðÀ—GÀ—lÀ—‘À—¶À˜;À˜`À˜åÀ™ +À™À™À™/À™2À™5À™8À™FÀ™WÀ™bÀ™pÀ™{À™‰À™—À™´À™ÂÀ™ÓÀ™áÀ™òÀšÀšÀšÀš0Àš>ÀšLÀš]ÀškÀš|ÀšŠÀš›Àš¬Àš¯ÀšºÀšÇÀšßÀšðÀšóÀšþÀ› À›À›#À›&À›4À›LÀ›]À›`À›rÀ›…À›“À›ºÀœ Àœ2ÀœeÀœ§Àœ¸Àœ»ÀœÙÀœïÀÀÀ7ÀBÀMÀgÀjÀ”À—À¥À¶ÀÄÀÕÀàÀîÀÿÀž ÀžÀž&Àž1Àž?ÀžJÀžUÀžcÀžtÀž‚Àž“Àž¡Àž²ÀžÀÀžÑÀžßÀžðÀžûÀŸ ÀŸ!ÀŸ2ÀŸ5ÀŸSÀŸfÀŸvÀŸÀ OÀ aÀ dÀ gÀ uÀ †À ”À ¥À ³À ÄÀ ÒÀ ãÀ îÀ üÀ¡ +À¡À¡&À¡4À¡?À¡MÀ¡[À¡lÀ¡zÀ¡‹À¡–À¡¤À¡ÔÀ¡ùÀ¢À¢À¢&À¢4À¢EÀ¢SÀ¢dÀ¢oÀ¢}À¢‹À¢œÀ¢§À¢µÀ¢ÀÀ¢ÎÀ¢ÙÀ¢çÀ£À£%À£3À£DÀ£OÀ£]À£kÀ£|À£‡À£•À£ À£®À£¼À£ÍÀ£ÛÀ£ìÀ£úÀ¤ À¤À¤$À¤/À¤=À¤KÀ¤\À¤gÀ¤uÀ¤€À¤ŽÀ¤™À¤§À¤µÀ¤ÆÀ¤ÔÀ¤åÀ¤óÀ¥À¥À¥ À¥.À¥?À¥MÀ¥cÀ¥tÀ¥yÀ¥‡À¥˜À¥ñÀ¦3À¦HÀ¦SÀ¦aÀ¦lÀ¦yÀ¦†À¦À¦§À¦æÀ§À§+À§@À§JÀ§UÀ§cÀ§nÀ§|À§‡À§•À§ À§®À§¼À§ÍÀ§ÛÀ§ìÀ¨À¨À¨*À¨5À¨BÀ¨ZÀ¨dÀ¨gÀ¨qÀ¨À¨À¨›À¨©À¨·À¨ÈÀ¨ÖÀ¨çÀ¨òÀ©À© À©À©$À©2À©;À©IÀ©ZÀ©eÀ©sÀ©~À©ŒÀ©¼Àª&Àª)Àª7ÀªHÀªVÀªaÀªkÀªnÀª|ÀªÀª›À«À«À«À«!À«‹À«ŽÀ«œÀ«§À¬À¬À¬"À¬3À¬>À¬LÀ¬ZÀ¬eÀ¬sÀ¬~À¬ŒÀ¬šÀ¬«À¬¹À¬ÊÀ¬ÕÀ¬ãÀ¬îÀ¬üÀ­À­À­ À­*À­-À­7À­EÀ­SÀ­dÀ­rÀ­ƒÀ­‘À­¢À­°À­ÁÀ­ÖÀ­ëÀ® À®À®À®/À®:À®HÀ®SÀ®aÀ®lÀ®ŽÀ®‘À®ŸÀ®°À®»À®ÉÀ®ÔÀ®âÀ®íÀ¯À¯À¯ À¯1À¯<À¯JÀ¯UÀ¯cÀ¯nÀ¯À¯“À¯¡À¯²À¯½À¯ËÀ¯ÖÀ¯äÀ¯ïÀ°À°À°À°-À°8À°FÀ°QÀ°£À°¦À°´À°ÅÀ°ÐÀ°ÞÀ°éÀ°÷À±À±<À±?À±JÀ±TÀ±WÀ±bÀ±pÀ±{À±‰À±“À±–À±¡À±¯À±ºÀ±ÈÀ±ÒÀ±ÕÀ±ãÀ±ôÀ±ÿÀ² À²À²&À²JÀ²TÀ²WÀ²eÀ²vÀ²„À²•À²£À²´À²¿À²ÍÀ²ÛÀ²ìÀ²öÀ²ùÀ³À³À³&À³7À³EÀ³VÀ³dÀ³uÀ³€À³ŽÀ³œÀ³­À³¸À³ÆÀ³ÔÀ³åÀ³ðÀ³þÀ´À´ À´À´À´)À´,À´YÀ´oÀ´‚À´¦À´¹À´ÊÀ´ÍÀµ$Àµ:ÀµMÀµ[ÀµiÀµ‹Àµ”Àµ¬ÀµÐÀµèÀ¶À¶%À¶(À¶6À¶DÀ¶RÀ¶]À¶kÀ¶yÀ¶‡À¶˜À¶›À¶¦À¶´À¶ÂÀ¶ÓÀ·lÀ·öÀ¸À¸ À¸À¸DÀ¸ZÀ¸mÀ¸~À¸À¸ À¸±À¸¼À¸ÎÀ¸ÜÀ¸çÀ¸òÀ¹À¹À¹À¹(À¹3À¹>À¹ZÀ¹kÀ¹nÀ¹žÀ¹·À¹ÍÀ¹ÞÀ¹áÀºÀº*Àº@ÀºQÀºTÀºWÀºZÀºeÀºsÀº„Àº‡ÀºŠÀºÀº›Àº©Àº·ÀºÈÀºÙÀºÜÀºßÀºâÀºðÀ»À»À»"À»5À»EÀ»VÀ»YÀ»\À»_À»mÀ»~À»ŒÀ»À»¨À»¶À»ÄÀ»ÕÀ»ãÀ»ôÀ¼À¼À¼!À¼/À¼@À¼NÀ¼_À¼mÀ¼~À¼ŒÀ¼šÀ¼«À¼¹À¼ÇÀ¼ÕÀ¼æÀ¼ñÀ½ À½À½>À½LÀ½]À½kÀ½|À½ŠÀ½›À½©À½ºÀ½ÈÀ½ÙÀ½çÀ½øÀ¾À¾À¾%À¾6À¾DÀ¾UÀ¾mÀ¾vÀ¾ŽÀ¾œÀ¾¬À¾½À¾ÀÀ¾ÞÀ¾ñÀ¿À¿À¿À¿+À¿<À¿?À¿BÀ¿EÀ¿uÀ¿ƒÀ¿”À¿¥À¿¨À¿êÀÀ,ÀÀ=ÀÀ@ÀÀKÀÀVÀÀaÀÀrÀÀuÀÀƒÀÀ‘ÀÀŸÀÀ­ÀÀ¾ÀÀÁÀÀöÀÁÀÁÀÁ_ÀÁwÀÁzÀÁ}ÀÁŽÀÁŸÀÁ°ÀÁÁÀÁÒÀÁãÀÁôÀÂÀÂÀÂ$ÀÂ/ÀÂ=ÀÂKÀÂVÀÂdÀÂrÀ€À‘ÀŸÀ­À¾ÀÂÉÀÂ×ÀÂåÀÂöÀÃÀÃÀÃÀÃ(ÀÃ6ÀÃAÀÃOÀÃ]ÀÃhÀÃvÀÃÀÃŒÀÚÀëÀùÀÃÇÀÃØÀÃãÀÃñÀÃÿÀÄ +ÀÄÀÄ&ÀÄ7ÀÄEÀÄVÀÄdÀÄrÀÄ€ÀÄ‘ÀÄÓÀÅÀÅRÀŇÀÅ—ÀÅ ÀÅ©ÀÅÁÀÅèÀÆÀÆ ÀÆ#ÀÆPÀÆfÀÆyÀÆ„ÀÆ’ÀƪÀÆ­ÀƾÀÆÏÀÆàÀÆñÀÆüÀÇ +ÀÇÀÇÀÇKÀÇaÀÇlÀÇzÀÇ‹ÀÇŽÀÇåÀÈÀÈÀÈÀÈ*ÀÈBÀÈlÀÈ“ÀÈ«ÀÈÍÀÈòÀÉÀÉÀÉÀÉ$ÀÉ4ÀÉEÀÉHÀÉVÀÉnÀÉŠÀÉ•ÀɦÀÉ©ÀÉÏÀÉöÀÊÀÊ"ÀÊ%ÀÊCÀÊVÀÊdÀÊ|ÀÊÀÊŠÀʘÀÊ©ÀÊÁÀÊÙÀÊõÀËÀË ÀË'ÀË:ÀËJÀËXÀËiÀËwÀˈÀË›À˱ÀË¿ÀËÐÀËèÀËëÀÌBÀÌMÀÌ[À̉ÀÌ·ÀÌÜÀÌíÀÌðÀÍÀÍ3ÀÍFÀÍQÀÍ_ÀÍpÀÍsÀÍÊÀÎ!ÀÎNÀÎdÀÎwÀ΂ÀÎÀΞÀάÀηÀÎÓÀÎÜÀÎåÀÎîÀÏÀÏ ÀÏ1ÀÏVÀÏgÀÏjÀÏxÀωÀÏ—ÀϨÀÏ×ÀÏàÀÏñÀÏôÀÐÀÐÀÐÀÐ_ÀÐbÀÐeÀÐuÀЀÀÐŽÀÐœÀЭÀлÀÐÉÀÐèÀÐñÀÑ ÀÑ%ÀÑ=ÀÑdÀÑÀÑÀÑçÀÒ>ÀÒDÀÒTÀÒgÀÒzÀÒ…ÀÒ“ÀÒ«ÀÒ»ÀÒíÀÓ ÀÓ0ÀÓbÀÓzÀÓŸÀÓÄÀÓÏÀÓøÀÓûÀÔ(ÀÔ>ÀÔQÀÔ\ÀÔjÀÔ“ÀÔ–ÀÔíÀÕDÀÕ›ÀÕ©ÀÕºÀÕÅÀÕÓÀÕáÀÕïÀÕýÀÖÀÖÀÖIÀÖYÀÖuÀÖ€ÀÖœÀÖ§ÀÖÃÀÖÎÀÖ×ÀÖüÀ×!À×FÀ×oÀ×rÀןÀ×µÀ×ÀÀ×ÎÀ×ßÀ×âÀ×íÀ×øÀØÀØÀØÀØÀØÀØAÀØYÀØ\ÀØ_ÀØoÀØ}ÀØ‹ÀØœÀÙ8ÀÙ@ÀÙ]ÀÙŠÀÙ ÀÙ³ÀÙÈÀÙÖÀÚÀÚÀÚ1ÀÚ?ÀÚÎÀÛÀÛ.ÀÛwÀÛzÀÛÑÀÛÚÀÜ ÀÜ?ÀÜRÀÜbÀ܇ÀܘÀÜ›ÀÜžÀÜ¡ÀܯÀÜÀÀÜÎÀÜßÀÜíÀÜþÀÝÀÝÀÝ ÀÝ6ÀÝAÀÝYÀݹÀݼÀÝ¿ÀÝÂÀÝÍÀÝÛÀÝìÀÞ#ÀÞ1ÀÞBÀÞPÀÞaÀÞoÀÞ€ÀÞŽÀÞŸÀÞ­ÀÞ¾ÀÞÏÀÞÒÀÞàÀÞîÀÞùÀß +Àß Àß:ÀßPÀßcÀßqÀß‚Àß…ÀßÜÀàÀà3Àà6ÀàaÀàšÀà°ÀàÆÀàëÀá#ÀáHÀáÀáŠÀá•Àá ÀáÁÀáçÀâÀâ ÀâÀâÀâJÀâ`ÀâsÀâ~ÀâÀâ’Àâ¶ÀâèÀâëÀãÀãOÀãeÀã{Àã ÀãØÀãýÀä4Àä?ÀäJÀäUÀävÀäœÀäµÀä¾ÀäÏÀäÒÀäàÀäîÀäüÀå +ÀåÀå&Àå4ÀåLÀådÀåuÀåxÀå†Àå”Àå¢Àå°Àæ#Àæ&Àæ1ÀæMÀæqÀæÀæÀæ›Àæ©ÀæÅÀæáÀçÀçÀçÀçÀç,Àç=ÀçKÀç\ÀçqÀç‚ÀèrÀèŸÀèµÀèÈÀèÓÀèÞÀèéÀèþÀéÀéÀé3ÀéEÀéWÀébÀétÀé†Àé›Àé°Àé¾ÀéÌÀééÀéþÀêÀêÀê3ÀêOÀëÀë^ÀëzÀëÆÀëâÀëþÀìÀì6ÀìDÀìpÀìˆÀì‹ÀìœÀì­Àì¾ÀìÉÀì×ÀìåÀìóÀíÀíyÀíÒÀíÛÀîÀî0ÀîOÀîsÀî~ÀïÀïÀïÀï0Àï7ÀïMÀï‰ÀïšÀïÀïÍÀïÛÀïéÀï÷ÀðÀðÀðCÀðQÀð_ÀðpÀðsÀð‹Àð£ÀðôÀñ2ÀñVÀñdÀñ±ÀñµÀòÀòÀò#Àò1Àò?ÀòMÀò[ÀòiÀò~Àò‰Àò—Àò¥Àò³ÀòÁÀòÏÀòÝÀòëÀóÀóÀóÀó1ÀóFÀóTÀó™ÀóÞÀóçÀóÿÀô8Àô_ÀôwÀô´ÀôïÀõ"ÀõAÀõ{Àõ×ÀöÀö5Àö@ÀöRÀö`ÀönÀö|Àö‡Àö•ÀöªÀö¸ÀöÚÀöìÀöýÀ÷À÷ À÷À÷À÷*À÷;À÷>À÷IÀ÷SÀ÷VÀ÷dÀ÷rÀ÷€À÷‹À÷™À÷§À÷µÀ÷¿À÷ÂÀ÷ÐÀ÷òÀ÷üÀ÷ÿÀø +ÀøÀøÀø,Àø:ÀøHÀø`ÀøxÀø‰ÀøŒÀøãÀøñÀøÿÀù ÀùÀù&ÀùKÀùnÀù~Àù†Àù”Àù¢Àù°ÀùÈÀù÷ÀúÀúVÀú‘Àú¡Àú½ÀúÙÀûÀûCÀûrÀû{ÀûŸÀûÄÀüÀü/Àü†Àü¶Àü×ÀüâÀüðÀý Àý.Àý?ÀýBÀýdÀýŒÀý•Àý´ÀýòÀýûÀþ Àþ;Àþ>ÀþOÀþ`ÀþqÀþ‚Àþ“Àþ¤ÀþµÀþÆÀþ×ÀþèÀþùÀÿ +ÀÿÀÿ-Àÿ8ÀÿFÀÿ[ÀÿiÀÿtÀÿ‚ÀÿÀÿ¥Àÿ³ÀÿÈÀÿÝÀÿõÀÀ>ÀZÀ…ÀŸÀ¶ÀÃÀñÀÀLÀdÀgÀxÀ‰ÀšÀ«À¼ÀÍÀÞÀïÀÀÀ"À:ÀXÀ[ÀfÀtÀ‚ÀÀ–À¦À¶À)À,À7ÀSÀwÀ…À“À¡À¯ÀËÀîÀÿÀÀÀÀ/À2ÀQÀbÀeÀsÀ„À•ÀòÀõÀLÀ£ÀúÀQÀ‹À¡À´À¿ÀÒÀàÀîÀ +ÀÀ&À4ÀBÀMÀ[ÀfÀqÀ|ÀŠÀ•À£ÀÁÀÊÀÀ<ÀaÀ†À«ÀÐÀáÀäÀ À 'À 5À CÀ QÀ iÀ zÀ }À €À ƒÀ ŽÀ œÀ §À µÀ ÃÀ ÔÀ +4À +7À +:À +=À +HÀ +VÀ +sÀ +À +’À + À +®À +¿À +ÍÀ +ÞÀ +ìÀ +ýÀ À À *À 8À FÀ WÀ bÀ À ¨À µÀ ÂÀ ÚÀ ëÀ îÀ À À *À 8À CÀ QÀ “À ÍÀ êÀ À À .À 1À ?À MÀ ^À lÀ }À ‹À œÀ ªÀ »À ÉÀ ÚÀ èÀ ùÀÀÀ À1À?ÀPÀ^ÀoÀ}ÀŽÀœÀ­À»ÀÌÀÚÀëÀùÀ +ÀÀ)À7ÀHÀVÀgÀuÀ†À”À¥À®ÀóÀ À#À`ÀnÀˆÀ¥ÀÅÀÀ3ÀÀ!À<ÀÀÆÀÀÀAÀrÀ À¿ÀÀ8À]ÀfÀoÀ‡ÀÀ·ÀãÀFÀ^À£ÀèÀKÀrÀÒÀ&À‰À’ÀÀ7À^À£ÀèÀùÀüÀÿÀÀ ÀÀ)À:ÀKÀ|ÀµÀÑÀêÀÀÀ#À&À1À?ÀJÀXÀfÀqÀÀÀ›À©À·ÀÈÀÙÀÜÀþÀÀoÀrÀuÀxÀƒÀ‘À¢À°À¾ÀõÀÀÀ"À0À>ÀLÀ]ÀhÀuÀ‚ÀšÀ«À®ÀÏÀåÀóÀÀÀ À#ÀPÀfÀyÀ„ÀžÀ¡À¯ÀÀÀÎÀßÀíÀþÀ ÀÀ+À<ÀGÀUÀcÀtÀ‚À“À¡À²ÀÀÀÑÀßÀðÀþÀÀÀ.À<ÀMÀ[ÀlÀzÀ‹À™ÀªÀ³ÀøÀ À _À À ëÀ!oÀ!ŠÀ!ÏÀ!óÀ"$À"RÀ"[À"dÀ"|À"…À"¬À"ØÀ#;À#SÀ#˜À#ûÀ$"À$‚À$ÖÀ%9À%BÀ%ÀÀ%çÀ&À&SÀ&˜À&©À&¬À&ºÀ&ÈÀ&ÙÀ&ÜÀ&êÀ'À'"À'%À'(À'+À'CÀ'FÀ'IÀ'LÀ'ZÀ'kÀ'yÀ'ŠÀ'”À'—À'¢À'ÄÀ'ÒÀ'àÀ'ÿÀ(2À(LÀ(OÀ(UÀ(hÀ({À(‰À(šÀ(¨À(¹À(ÇÀ(ÕÀ(æÀ(ûÀ) À)#À)&À),À)<À)OÀ)bÀ)‰À)éÀ*=À* À*©À+'À+NÀ+uÀ+ºÀ+ÿÀ,À,À,5À,CÀ,QÀ,_À,mÀ,{À,‰À,—À,¥À,³À,ÁÀ,ÒÀ,ÕÀ,íÀ-À-À-¦À-ÛÀ.À..À.1À.?À.MÀ.^À.oÀ.ÝÀ.öÀ/ À/À/À/+À/9À/GÀ/_À/‚À/©À/ºÀ/½À/êÀ0À0À0!À04À0BÀ0PÀ0^À0lÀ0¢À0ÂÀ0ÓÀ0ÖÀ1À1À1,À1LÀ1]À1`À1nÀ1|À1ŠÀ1˜À1¦À1´À1ÂÀ1ÐÀ1÷À2PÀ2SÀ2^À2lÀ2zÀ2ˆÀ2–À2®À2ÆÀ2ÏÀ2óÀ35À3hÀ3€À3¶À3ÃÀ3ØÀ3éÀ3ìÀ3úÀ4À4À4$À45À48À4ZÀ4kÀ4nÀ4À4‚À4šÀ4À4®À4¿À4ÐÀ4áÀ4ìÀ4÷À5À5 À5À5'À55À5CÀ5QÀ5_À5jÀ5xÀ5†À5”À5¥À5¨À5ÞÀ5ñÀ5úÀ6À61À6XÀ6iÀ6lÀ6À6ÒÀ7À7À7À7*À7-À7;À7IÀ7TÀ7bÀ7pÀ7{À7‰À7—À7¥À7³À7ÁÀ7ÏÀ7ÝÀ7ëÀ7ùÀ8À8&À84À8EÀ8HÀ8VÀ8dÀ8rÀ8ŠÀ8À8˜À8£À8®À8¹À8ÄÀ8ÏÀ8ÚÀ8åÀ8ðÀ8ûÀ9À9À9À9'À92À9=À9HÀ9SÀ9^À9iÀ9tÀ9…À9ˆÀ9ßÀ9íÀ:À:#À:&À:hÀ:ªÀ;À;HÀ;YÀ;\À;oÀ;}À;‹À;™À;ªÀ;­À;°À;ÁÀ;ÄÀ;ÒÀ;àÀ;ëÀ;ùÀ<À<4À<§À<ªÀ<µÀ<ÑÀ<õÀ=À=À=À=-À=IÀ=eÀ=„À=™À=ªÀ=­À=ÚÀ=ðÀ>À>À>À>'À>5À>CÀ>QÀ>\À>gÀ>rÀ>€À>¤À>¯À? À?#À?PÀ?fÀ?yÀ?À?žÀ?½À?ÕÀ?ØÀ?éÀ?úÀ@ À@À@$À@CÀ@TÀ@WÀ@ZÀ@]À@nÀ@qÀ@À@À@žÀ@¯À@²ÀA ÀAÀA9ÀAJÀAMÀA¤ÀA²ÀAÃÀAÑÀAßÀAíÀAöÀBÀB ÀB0ÀBAÀBDÀBqÀB‡ÀB•ÀB¦ÀB©ÀBÖÀBìÀBúÀCÀCÀCÀC>ÀCOÀCRÀCwÀCˆÀC‹ÀC‘ÀC¤ÀC·ÀCÞÀDÀD;ÀDSÀDVÀDdÀDrÀDãÀDæÀDéÀDìÀD÷ÀE.ÀE<ÀEMÀE[ÀEiÀEzÀE‹ÀEŽÀE»ÀEÑÀEäÀEïÀEúÀFÀFÀFÀFFÀF\ÀFrÀF€ÀF‘ÀF”ÀFŸÀF­ÀF¾ÀFÁÀFîÀGÀGÀG%ÀG6ÀG9ÀG[ÀG‚ÀGµÀG÷ÀHÀH ÀHÀH(ÀH8ÀHHÀHYÀH\ÀHjÀHuÀHƒÀHŸÀHÂÀHÓÀHÖÀHáÀHìÀHýÀIÀIÀIÀIÀI%ÀI=ÀIUÀImÀI…ÀIˆÀI¨ÀI«ÀI¼ÀIÍÀIÞÀIïÀIúÀJÀJÀJ!ÀJ/ÀJ:ÀJJÀJZÀJoÀJ—ÀJ¿ÀJÞÀJçÀJðÀKÀKÀK6ÀK„ÀKœÀKÄÀKÜÀKôÀLÀL0ÀLHÀLlÀL„ÀLœÀL´ÀLíÀLøÀM ÀM ÀMÀM(ÀM6ÀMGÀMJÀMhÀM{ÀM‹ÀMœÀMŸÀM­ÀMÑÀMéÀN/ÀNDÀNUÀNXÀNiÀNlÀN¨ÀN»ÀNÄÀNÍÀNùÀOÀO"ÀO%ÀOaÀOtÀO}ÀO•ÀO­ÀOÙÀOêÀOíÀOûÀP ÀPÀPÀP(ÀP^ÀPoÀPrÀPÉÀQ ÀQwÀQÎÀQÜÀQíÀQøÀRÀRÀRÀR*ÀR5ÀR@ÀRKÀRVÀRdÀRrÀR}ÀR†ÀR’ÀR±ÀRÍÀRìÀSÀS-ÀSRÀSwÀSœÀS­ÀS°ÀSÝÀSóÀTÀTÀTÀTlÀT~ÀT‰ÀT”ÀT¢ÀT°ÀTçÀU ÀUÀU ÀUMÀUcÀUqÀUšÀU¸ÀU»ÀUÉÀUÚÀUåÀUóÀVÀVÀV#ÀV&ÀV4ÀVBÀVQÀV_ÀVƒÀV¢ÀVËÀWÀWÀWEÀW˜ÀW³ÀW¶ÀX ÀXdÀX»ÀYÀYiÀYÀÀZÀZnÀZ|ÀZŠÀZ˜ÀZ¦ÀZ´À[À[JÀ[lÀ[‹À[¹À[ÂÀ\À\*À\dÀ\À\›À\ÝÀ]À]%À]IÀ]mÀ]”À]¬À]ÄÀ]èÀ]ûÀ^.À^aÀ^†À^«À^ÐÀ^õÀ_À_?À_dÀ_‰À_šÀ_À_ÊÀ_àÀ_óÀ`À`À`À` À`.À`?À`BÀ`PÀ`tÀ`…À`ˆÀ`–À`¿À`ÝÀ`àÀ`îÀ`ÿÀa ÀaÀaPÀaSÀa~Àa·ÀaÍÀaãÀbÀb@ÀbeÀbœÀb§Àb²Àb½ÀbÞÀcÀcÀc&Àc7Àc:ÀcYÀc}ÀcŽÀc‘Àc¾ÀcÔÀcâÀdÀdÀd#Àd?ÀdBÀdTÀdfÀdxÀdŠÀd•Àd Àd«Àd¹ÀdÇÀdÒÀdÝÀdîÀdñÀeHÀeSÀeaÀeˆÀe‘Àe¶ÀeÇÀeÊÀeÍÀeÐÀeÛÀeéÀe÷ÀfÀfÀf'Àf2Àf@ÀfNÀf_ÀfjÀfxÀf†Àf—Àf¥Àf¶ÀfÇÀfÊÀfèÀfûÀg ÀgÀg'Àg5Àg@ÀgKÀgVÀgaÀglÀgwÀg‚ÀgÀgžÀgÅÀgÎÀgæÀg÷ÀgúÀhÀh+Àh;ÀhIÀhWÀheÀhvÀhyÀh¦Àh¼ÀhÏÀhäÀhïÀhýÀiÀi Ài+Ài9ÀiGÀiUÀicÀinÀi|ÀiÀiÀi“Ài–Ài¡Ài¯ÀiºÀiÈÀiÖÀj ÀjÀj&Àj1Àj?ÀjMÀj^ÀjiÀjwÀj‚ÀjÀj›Àj©Àj·ÀjÅÀjÓÀjáÀjòÀjýÀk!ÀkHÀkUÀkqÀkÀkÀkµÀk×ÀkùÀl +Àl ÀlÀl&Àl4Àl?ÀlMÀlXÀlfÀlqÀl|Àl‡Àl•Àl­ÀlÑÀlÚÀlãÀm ÀmÀmÀmAÀm]Àm“ÀmœÀm´ÀmÌÀn Àn/Àn@ÀnCÀnšÀn¥Àn°Àn¾ÀnÇÀnÐÀnõÀoÀo Ào6ÀoLÀoZÀotÀowÀoÎÀoãÀoñÀp ÀpVÀpiÀpŽÀpŸÀp¢ÀpùÀqÀq,ÀqbÀq—ÀqèÀr ÀrÀr!ÀrxÀrÏÀs&Às}ÀsÔÀsâÀsðÀtÀt-ÀtRÀtwÀtœÀtÁÀtÏÀtàÀtãÀtñÀtÿÀu ÀuÀu)Àu7ÀuEÀuSÀuaÀu±ÀuóÀvÀv.ÀvWÀvZÀv]Àv`ÀvkÀvÀvÏÀvÒÀvÝÀvëÀwÀwÀw&Àw4ÀwBÀwPÀw^ÀwŽÀw¶ÀwòÀxÀx ÀxÀx#Àx5ÀxJÀx\ÀxqÀx‚Àx…ÀxÀxªÀx­ÀyÀy%Ày;ÀyNÀy\ÀyÀy’Ày•ÀyìÀyýÀzÀzÀz%ÀzÇÀ{&À{|À|À|:À|HÀ|YÀ|\À|_À|mÀ|~À|½À|ëÀ}À}'À}*À}À}ØÀ}æÀ}÷À~À~À~$À~2À~@À~QÀ~_À~pÀ~~À~À~šÀ~¨À~±À~ÆÀ~âÀ À.ÀSÀÆÀÉÀÔÀðÀ€À€"À€0À€>À€LÀ€hÀ€„À€•À€˜À€›À€žÀ€¬À€½À€ËÀ€ÜÀ€êÀ€ûÀ ÀÀ(À9ÀJÀMÀPÀSÀdÀgÀjÀzÀˆÀ™À§À¸À‚+À‚.À‚1À‚AÀ‚LÀ‚hÀ‚ŒÀ‚šÀ‚¨À‚¶À‚ÄÀ‚àÀƒÀƒ.ÀƒJÀƒsÀƒvÀƒÍÀ„$À„{À„ÒÀ…)À…€À…×À†.À†…À†ÜÀ‡3À‡>À‡LÀ‡]À‡hÀ‡vÀ‡„À‡•À‡ À‡®À‡¼À‡ÍÀ‡ØÀ‡æÀ‡ïÀ‡øÀˆÀˆ&ÀˆKÀˆpÀˆ•ÀˆºÀˆßÀ‰À‰)À‰NÀ‰sÀ‰˜À‰›À‰ÄÀ‰ÇÀ‰ÕÀ‰ãÀŠ ÀŠÀŠ<ÀŠRÀŠeÀŠsÀŠÀŠªÀŠ­ÀŠÚÀŠðÀ‹À‹À‹À‹*À‹ZÀ‹ƒÀ‹†À‹‘À‹œÀ‹¸À‹ÉÀ‹íÀ‹ðÀ‹ûÀŒÀŒÀŒÀŒEÀŒNÀŒWÀŒoÀŒ€ÀŒƒÀŒŽÀŒœÀŒªÀŒ¸ÀŒÉÀŒÌÀ#ÀzÀÑÀŽ(ÀŽÀŽÖÀ-À?ÀRÀbÀpÀÀÀ À®À¿ÀÍÀÞÀìÀýÀ ÀÀAÀfÀ‹À°ÀÕÀúÀ‘À‘0À‘3À‘EÀ‘SÀ‘^À‘lÀ‘À‘’À‘•À‘ À‘®À‘¹À‘ÇÀ‘ÒÀ’À’SÀ’oÀ’‹À’ªÀ’ÑÀ“À“"À“+À“lÀ“‘À“¶À“ÁÀ“ÌÀ“×À“ÚÀ“ìÀ“üÀ”"À”EÀ”dÀ”’À”ªÀ”ÂÀ•?À•lÀ•‚À••À•£À•±À•¿À•ÍÀ•ÛÀ–]À–nÀ–qÀ–ÂÀ–åÀ—À—À—>À—OÀ—RÀ—UÀ—XÀ—cÀ—qÀ—À—À—žÀ—¬À—½À—ÎÀ—ÑÀ—ßÀ—ûÀ˜ À˜À˜6À˜NÀ˜uÀ˜†À˜‰À˜¨À˜ÛÀ˜ÿÀ™À™,À™/À™:À™HÀ™VÀ™dÀ™rÀ™€À™ŽÀ™œÀ™­À™°À™ÝÀ™óÀ™þÀš ÀšÀš ÀšUÀš|ÀšÀšÀš“Àš–Àš§ÀšªÀš­Àš°Àš»ÀšÆÀšÔÀšâÀšóÀšþÀ› À›À› À›#À›&À›1À›?À›PÀ›rÀ›”À›¤À›´À›ÄÀ›ÔÀ›äÀœÀœÀœ'ÀœdÀœgÀœjÀœmÀœ{ÀœŒÀœÃÀœúÀÀÀ'À8ÀOÀfÀ}À†À›À¤À­ÀÐÀáÀžÀžÀž/ÀžlÀžoÀžrÀžuÀž¬Àž·ÀžÂÀž×ÀžúÀŸ ÀŸ-ÀŸ=ÀŸYÀŸ–ÀŸ™ÀŸœÀŸÓÀŸèÀ  À À À -À ;À IÀ WÀ lÀ •À ˜À ›À žÀ ©À ·À íÀ þÀ¡À¡À¡!À¡/À¡aÀ¡}À¡ŽÀ¡‘À¡”À¡—À¡¥À¡¶À¡ÁÀ¡ÏÀ¡ÚÀ¡èÀ¡öÀ¢À¢À¢&À¢1À¢?À¢MÀ¢„À¢À¢À¢¨À¢¶À¢ÄÀ¢ÕÀ¢ãÀ¢ôÀ¢ÿÀ£ À£À£&À£1À£?À£MÀ£^À£iÀ£wÀ£‚À£À£›À£©À£·À£ÅÀ£ÓÀ£äÀ£ïÀ£ýÀ¤À¤À¤(À¤1À¤IÀ¤ˆÀ¤¸À¤ÉÀ¤ÌÀ¤ÏÀ¤ßÀ¥À¥/À¥À¥‚À¥À¥åÀ¥öÀ¥ùÀ¦À¦À¦#À¦1À¦?À¦MÀ¦[À¦iÀ¦wÀ¦…À¦“À¦¡À¦²À¦µÀ§ À§À§(À§6À§DÀ§RÀ§`À§nÀ§À§—À§¯À§ÔÀ§åÀ§èÀ¨?À¨–À¨¤À¨µÀ¨ÃÀ¨ÔÀ¨ßÀ¨íÀ¨ûÀ© À©À©?À©dÀ©×À©ÚÀ©åÀªÀª%Àª3ÀªAÀªOÀª]ÀªyÀª•Àª´À«'À«*À«À«ØÀ«ãÀ«ÿÀ¬#À¬1À¬?À¬MÀ¬[À¬wÀ¬“À¬²À¬×À¬üÀ­ À­À­À­!À­2À­JÀ­MÀ­XÀ­qÀ­ŠÀ­“À­¤À­§À­ªÀ­­À­¾À­ÁÀ­ßÀ­òÀ®À®À®*À®5À®JÀ®_À®tÀ®‰À®—À®¥À®ºÀ®ÏÀ®ÝÀ®úÀ¯À¯À¯À¯&À¯1À¯<À¯GÀ¯RÀ¯nÀ¯ŠÀ¯¦À¯áÀ°À°-À°0À°]À°sÀ°†À°‘À°ŸÀ°ªÀ°µÀ°ÀÀ°ÎÀ°ÜÀ°çÀ±ZÀ±]À±hÀ±sÀ±À±³À±ÁÀ±ÏÀ±ÝÀ±ëÀ²À²#À²4À²7À²™À²¸À²ÔÀ²âÀ²ðÀ²þÀ³ À³À³+À³.À³TÀ³gÀ³wÀ³‚À³žÀ³÷À³úÀ³ýÀ´À´ À´À´-À´>À´OÀ´aÀ´vÀ´„À´•À´£À´´À´¿À´ÍÀ´ÞÀ´ìÀ´ýÀµ Àµ#Àµ&ÀµSÀµiÀµ|Àµ‘Àµ¢Àµ¥ÀµÒÀµèÀµûÀ¶ À¶À¶%À¶=À¶[À¶^À¶lÀ¶}À¶‹À¶™À¶¤À¶´À¶ÄÀ¶ÔÀ¶äÀ¶ôÀ·À·À·%À·(À·GÀ·fÀ·wÀ·zÀ·™À·ªÀ·­À·ÌÀ·ëÀ·üÀ¸MÀ¸zÀ¸À¸£À¸®À¸¼À¸ÊÀ¸çÀ¹À¹RÀ¹cÀ¹fÀ¹iÀ¹lÀ¹}À¹€À¹§À¹°À¹¹À¹ÑÀ¹øÀº Àº ÀºÀº Àº3ÀºRÀºqÀºÀº¨Àº¸Àº»ÀºÉÀºÚÀºèÀºùÀ»À»À»&À»7À»EÀ»SÀ»dÀ»rÀ»ƒÀ»‘À»¢À»°À»ÁÀ»ÏÀ»àÀ»îÀ»üÀ¼ À¼À¼!À¼3À¼FÀ¼VÀ¼}À¼•À¼´À¼çÀ½À½*À½3À½=À½@À½NÀ½\À½jÀ½xÀ½†À½”À½¢À½°À½¾À½ÏÀ½ÒÀ½êÀ½ûÀ½þÀ¾À¾+À¾.À¾<À¾GÀ¾zÀ¾­À¾¾À¾ÁÀ¾îÀ¿À¿À¿#À¿&À¿4À¿BÀ¿SÀ¿aÀ¿rÀ¿}À¿‹À¿–À¿¤À¿¹À¿ÑÀ¿ðÀÀ ÀÀBÀÀtÀÀÁÀÀÊÀÀÛÀÀÞÀÀéÀÀôÀÀÿÀÁ +ÀÁÀÁÀÁKÀÁaÀÁtÀÁ‚ÀÁÀÁ¡ÀÁ¤ÀÁ¯ÀÁºÀÁÅÀÁÖÀÁÙÀÁÜÀÁìÀÁ÷ÀÂÀÂÀÂÀÂ&ÀÂ7ÀÂ:ÀÂHÀÂVÀÂgÀÂjÀÂuÀ€À‹À–À¡À¬À½ÀÂÀÀÃÀÃnÀÃ|ÀÃÀÛÀìÀúÀÃÅÀÃÝÀÄÀÄDÀÄiÀÄzÀÄ}ÀĪÀÄÀÀÄÎÀÄßÀÄâÀÅÀÅÀÅÀÅ&ÀÅ4ÀÅEÀÅHÀÅSÀÅaÀÅoÀÅ€ÀŃÀÅŽÀÅ™ÀŤÀůÀźÀÅÅÀÅÐÀÅÛÀÅæÀÅñÀÅüÀÆÀÆÀÆÀÆÀÆ*ÀÆ8ÀÆFÀÆWÀÆbÀÆmÀƯÀÆñÀÆüÀÇ +ÀÇÀÇZÀÇšÀÇ«ÀÇ®ÀǹÀÇÇÀÇÒÀÇÝÀÇîÀÇñÀÇÿÀÈ ÀÈÀÈ)ÀÈ4ÀÈBÀÈPÀÈaÀÈdÀÈ»ÀÈÆÀÈÑÀÈíÀÉ ÀÉ1ÀÉBÀÉEÀÉœÀÉóÀÊÀÊÀÊÀÊ+ÀÊ9ÀÊGÀÊUÀÊzÀÊŸÀʨÀʹÀʼÀÊìÀËÀËÀË$ÀË@ÀËQÀËmÀË~ÀËŒÀËÀË«À˼ÀËÇÀËÕÀËãÀËôÀÌÀÌÀÌ*ÀÌ;ÀÌ>ÀÌAÀÌQÀÌ_ÀÌpÀÌ{À̉ÀÌ—Ą̀À̶ÀÌÇÀÌÕÀÌæÀÌôÀÍÀÍÀÍ$ÀÍ2ÀÍCÀÍ»À;ÀÎÀÎlÀÎÃÀÏÀÏ;ÀÏQÀÏdÀÏoÀÏ€ÀÏ‘ÀÏ¢ÀϳÀÏÁÀÏÒÀÏÝÀÏëÀÏùÀÐÀÐÀÐ6ÀÐBÀÐaÀÐ}ÀÐœÀиÀÐÝÀÑÀÑ'ÀÑLÀÑ]ÀÒ–ÀÒÃÀÒÙÀÒìÀÒýÀÓÀÓÀÓ4ÀÓIÀÓWÀÓeÀÓsÀÓ~ÀÓŒÀÓšÀÓ¨ÀÓ³ÀÔŒÀÔ—ÀÕsÀÕ±ÀÕÖÀÕäÀÕúÀÖÀÖPÀÖ^ÀÖfÀÖnÀÖsÀÖ¥ÀÖºÀÖóÀ×À×À×iÀ×wÀ׺À×ÅÀ×ÈÀØÀØvÀØÍÀÙ$ÀÙ{ÀÙÒÀÚ)ÀÚ€ÀÚ×ÀÛ.ÀÛ…ÀÛÜÀÜ3ÀÜŠÀÝÀݘÀÞÀÞ0ÀÞAÀÞOÀÞ]ÀÞkÀÞyÀÞ„ÀÞ’ÀÞ ÀÞ®ÀÞ¼ÀÞÍÀÞÛÀÞìÀÞúÀßÀßÀß!Àß,Àß7ÀßEÀßSÀßaÀßoÀ߀ÀߎÀß™ÀߧÀßÄÀßÕÀßàÀßîÀßùÀàÀàÀà.Àà<ÀàYÀà¯Àà½ÀàÈÀàÓÀàÞÀàéÀà÷ÀáÀá"Àá0Àá>ÀáLÀá]ÀákÀáyÀá‡Àá•Àá²ÀáÀÀáÎÀáëÀâ Àâ1ÀâYÀâqÀâ†ÀâÀâ«ÀâáÀãEÀãzÀã¨ÀãÿÀäÀä.ÀäOÀäwÀå#ÀåaÀåšÀå°Àå¹ÀæÀæ Àæ7ÀæXÀæyÀæ£Àæ³ÀæÆÀæôÀçÀçGÀçqÀçÀç”ÀçÂÀçêÀèÀè?ÀèOÀèbÀèÀè¸ÀèãÀèìÀévÀéÔÀêUÀêªÀêÉÀêèÀë&ÀëdÀë€ÀëœÀëËÀëúÀìÀìDÀìiÀìŽÀì³ÀìØÀìýÀí"ÀíNÀísÀí˜Àí½ÀíâÀîÀî,ÀîQÀîvÀî›ÀîÀÀîåÀï +Àï/ÀïTÀïyÀïžÀïÃÀïèÀð Àð2ÀðWÀð|Àð¡ÀðÆÀðëÀñÀñ5ÀñZÀñÀñ¤ÀñÉÀñîÀòÀò8Àò]Àò‚Àò§ÀòÌÀòñÀóÀó;Àó`Àó…ÀóªÀóÏÀóôÀôÀô>ÀôcÀôˆÀô­ÀôÒÀô÷ÀõÀõAÀõfÀõ‹Àõ°ÀõÕÀõúÀöÀöDÀöiÀöŽÀö³ÀöØÀ÷À÷7À÷\À÷‚Àø.Àø9ÀøDÀøOÀøZÀømÀø}ÀøÀøÀø®ÀøÈÀøØÀøàÀù&ÀùEÀù‹ÀùèÀùòÀùõÀúÀú3ÀúDÀúGÀúRÀú`Àú‡Àú½ÀúÇÀúÊÀû!ÀûxÀûÏÀü&Àü}ÀüÔÀý+ÀýPÀýuÀýšÀý¿ÀýäÀþ Àþ.Àþ¨Àþ«ÀÿÀÿYÀÿkÀÿ~Àÿ‰Àÿ¸ÀÿîÀÀ +À/ÀTÀwÀzÀÑÀßÀíÀûÀ ÀÀ"À0À>ÀLÀZÀÀ¨ÀÇÀæÀ$ÀbÀ~ÀšÀÉÀøÀÀ+À<À?ÀMÀ[ÀsÀ‹À”À¸ÀúÀ-ÀEÀ{ÀˆÀÀ®À±À À(À6À?ÀHÀYÀ\ÀtÀwÀzÀŠÀ¸À×À/ÀGÀJÀ„ÀœÀŸÀÅÀÝÀàÀñÀÀÀ$À5ÀFÀWÀhÀyÀŠÀ•À À®À¹ÀÇÀÒÀàÀðÀ ÀÀ À8À;À>ÀNÀmÀÍÀÐÀÓÀãÀîÀ÷À %À =À dÀ mÀ £À ÂÀ ðÀ +À +À +À +'À +<À +JÀ +[À +lÀ +oÀ +€À +ƒÀ +”À +—À +¨À +«À +¼À +¿À +ÐÀ +ÓÀ +äÀ +çÀ +øÀ +ûÀ "À TÀ †À —À šÀ ¤À §À ¸À »À âÀ À 0À WÀ ÊÀ ÍÀ ØÀ ôÀ À &À 4À BÀ PÀ lÀ ˆÀ ±À ´À ÅÀ ÈÀ ÙÀ ÜÀ ýÀÀ!À1ÀDÀOÀŠÀ½ÀøÀ+À^ÀzÀ–À²ÀÎÀÑÀÀ,ÀEÀ[ÀnÀ~À“À¡À²ÀÇÀÕÀæÀôÀÀÀ$À%ÀJÀcÀvÀÀ À£À´À·ÀÈÀËÀÎÀÞÀïÀòÀeÀhÀsÀÀ³ÀÁÀÏÀÝÀëÀÀ#À;À>ÀaÀyÀ|ÀÀ—ÀšÀÀµÀ¸À»ÀÜÀßÀâÀúÀýÀÀÀÀ%À(À9À<À]ÀsÀ†À—ÀšÀÇÀÝÀðÀÀÀÀÀ’À•À À¼ÀàÀîÀüÀ +ÀÀ4ÀSÀÀÀ¼ÀêÀ À(À@ÀCÀTÀWÀeÀsÀÀ’À•ÀÂÀØÀëÀùÀÀÀ#À1À?ÀMÀ[ÀiÀyÀ‘À”À¥À¨ÀÕÀëÀþÀÀÀ„ÀÀ«ÀÏÀÝÀëÀùÀÀ#À?À²ÀµÀÀÀÜÀÀÀÀ*À8ÀTÀsÀÀ À£À´À·ÀÈÀËÀéÀÿÀÀÀ1ÀGÀXÀ[ÀˆÀžÀ¯À²ÀÃÀÆÀóÀ ÀÀ À>ÀTÀgÀxÀ{À™À¯ÀÀÀÃÀáÀ÷À +ÀÀÀPÀfÀyÀŠÀÀ«ÀÁÀÔÀåÀèÀÀ!À2À5ÀSÀiÀ|À†À‰ÀÀÀ÷À À !À IÀ qÀ ‹À ŽÀ ±À ´À ÅÀ ÈÀ ðÀ!À!À!JÀ!†À!¢À!ÔÀ!ÝÀ"À"CÀ"hÀ"sÀ"~À"šÀ"¤À"¶À"ÒÀ"ñÀ#À#<À#GÀ#cÀ#–À# À#°À#ÇÀ#ãÀ$À$)À$MÀ$XÀ$tÀ$¶À$ÞÀ%À%,À%nÀ%ªÀ%ÆÀ%âÀ&À&(À&ZÀ&yÀ&‚À&ÃÀ&èÀ' À'À'#À'.À'MÀ'iÀ'ˆÀ'·À'ÖÀ'×À'áÀ'ïÀ'ýÀ(À(À($À(2À(;À(yÀ(zÀ(À(‘À(šÀ(£À(¸À(ÒÀ(úÀ)À)!À)=À)YÀ)ˆÀ)·À)òÀ)üÀ*À*À**À*5À*@À*NÀ*\À*fÀ*ŠÀ*°À*µÀ*ºÀ*ÄÀ*ÊÀ*ØÀ*æÀ*ôÀ+À+ À+À+ À+.À+<À+JÀ+TÀ+ZÀ+hÀ+vÀ+„À+’À+¬À+¼À+ÄÀ+ÒÀ+àÀ+îÀ+üÀ,À,À,TÀ,bÀ,pÀ,€À,“À,žÀ,ëÀ-À-kÀ-žÀ-ÑÀ-öÀ.À.@À.eÀ.qÀ.}À.ƒÀ.‰À.À.™À.ÀÀ.äÀ/ À/'À/NÀ/}À/¼À/äÀ0À0 +À0À0"À0IÀ0xÀ0ƒÀ0ŽÀ0™À0¢À0¾À0ÚÀ0öÀ1À1MÀ1|À1«À1ÚÀ2 À24À2dÀ2”À2ËÀ2öÀ3-À3kÀ3©À3óÀ4À4.À4YÀ4„À4«À4ÒÀ4ýÀ54À55À5EÀ5UÀ5]À5eÀ5mÀ5uÀ5}À5…À5À5•À5À5¯À5¿À5ÍÀ5àÀ5ðÀ6À6À6MÀ6’À6îÀ7 À75À7jÀ7±À7ÙÀ7éÀ7ùÀ8À8À8»À8ÆÀ99À9bÀ9¢À9®À9ãÀ:*À:jÀ:‘À:žÀ:®À:ÆÀ:ûÀ;iÀ;°À0À>XÀ>oÀ>¯À>ÕÀ>åÀ>÷À?eÀ@ À@À@+À@^À@pÀ@ˆÀ@ŒÀ@²À@ÓÀ@ÖÀ@úÀA(ÀAVÀA_ÀA‡ÀA‹ÀAÀAÕÀBÀBvÀB•ÀB£ÀB­ÀBÔÀBõÀCÀC&ÀC`ÀCrÀCŽÀCÈÀDÀDZÀDtÀD˜ÀD¯ÀDÝÀE ÀE8ÀE[ÀE•ÀEÏÀEêÀEùÀFÀFCÀFqÀFÇÀFèÀG.ÀG]ÀG^ÀGoÀG€ÀG‘ÀG¢ÀG³ÀGÄÀGÕÀGæÀG÷ÀHÀHÀH*ÀH;ÀHLÀH]ÀHnÀHÀHÀH¡ÀH²ÀHÃÀHÔÀHåÀHöÀIÀIÀI)ÀI:ÀIKÀI\ÀImÀI~ÀIÀI ÀI±ÀIÂÀIÓÀIäÀIõÀJÀJÀJ(ÀJ9ÀJJÀJ[ÀJlÀJ}ÀJŽÀJŸÀJ°ÀJÁÀJÒÀJãÀJôÀKÀKÀK'ÀK8ÀKIÀKZÀKkÀK|ÀKÀKžÀK¯ÀKÀÀKÑÀKâÀKóÀLÀLÀL&ÀL7ÀLHÀLYÀLjÀL{ÀLŒÀLÀL®ÀL¿ÀLÐÀLáÀLòÀMÀMÀM%ÀM6ÀMGÀMXÀMiÀMzÀM‹ÀMœÀM­ÀM¾ÀMÏÀMàÀMñÀNÀNÀN$ÀN5ÀNFÀNWÀNhÀNyÀNŠÀN›ÀN¬ÀN½ÀNÎÀNßÀNðÀOÀOÀO#ÀO4ÀOEÀOVÀOgÀOxÀO‰ÀO¡ÀOºÀOÖÀO×ÀOèÀOùÀP +ÀPÀP,ÀP=ÀP>ÀPNÀP^ÀPnÀP~ÀPŽÀPžÀP®ÀP¾ÀPÎÀPÞÀPîÀPþÀQÀQÀQ.ÀQ>ÀQNÀQ^ÀQnÀQ~ÀQŽÀQžÀQ®ÀQ¾ÀQÎÀQÞÀQîÀQþÀRÀRÀR.ÀR>ÀRNÀR^ÀRnÀR~ÀRŽÀRžÀR®ÀR¾ÀRÎÀRÞÀRîÀRþÀSÀSÀS.ÀS>ÀSNÀS^ÀSnÀS~ÀSŽÀSžÀS®ÀS¾ÀSÎÀSÞÀSîÀSþÀTÀTÀT.ÀT>ÀTNÀT^ÀTnÀT~ÀTŽÀTžÀT®ÀT¾ÀTÎÀTÞÀTîÀTþÀUÀUÀU.ÀU>ÀUNÀU^ÀUnÀU~ÀUŽÀUžÀU®ÀU¾ÀUÎÀUÞÀUîÀUþÀVÀVÀV.ÀV>ÀVNÀV^ÀVnÀV~ÀVŽÀVžÀV®ÀV¾ÀVÎÀVÞÀVîÀVþÀWÀWÀW.ÀW>ÀWNÀW^ÀWnÀW~ÀWŽÀWžÀW®ÀW¾ÀWÎÀWÞÀWîÀWþÀXÀXÀX.ÀX>ÀXNÀX^ÀXnÀX~ÀXŽÀXžÀX®ÀX¾ÀXÎÀXÞÀXîÀXþÀYÀYÀY.ÀY>ÀYNÀY^ÀYnÀY~ÀYŽÀY¨ÀYÌÀYÜÀYìÀYùÀZ ÀZÀ[°À[öÀ[þÀ\ À\À\2À\NÀ\jÀ\†À\žÀ\¶À\ÎÀ\ÏÀ]À];À]qÀ]{À]ŸÀ]¢À]¥À]½À]ÕÀ]ÞÀ]öÀ^À^À^ŠÀ_ À_À_ˆÀ_ À_¼À_öÀ`À`'À`NÀ`uÀ`…À`—À`©À`¬Àa&ÀaBÀa|Àa†Àa“Àa Àb<ÀbXÀb’ÀbœÀb½ÀbäÀbçÀc!Àc+ÀcGÀcÀc‚Àc’Àc¢Àc²ÀcãÀdÀdÀd9ÀdDÀd[ÀdwÀd€Àd›Àd¾ÀdÌÀeÀe;ÀecÀe†Àe¡Àe÷ÀfÀf^ÀfÀf¯Àf×ÀfþÀg ÀgÀg'Àg(ÀgpÀgŒÀg¯Àg¼ÀgÉÀgØÀgýÀh +ÀhÀh3ÀhVÀhcÀhrÀh—Àh¤Àh±Àh²ÀhµÀhÜÀhçÀhõÀiÀi1ÀiIÀiaÀiyÀi Ài¸ÀiÐÀièÀjÀj Àj!Àj9ÀjtÀjŒÀj¤ÀjËÀjãÀjûÀkÀk+ÀkCÀk[ÀklÀk}ÀkŽÀk“Àk›Àk Àk¥Àk³Àk¸Àk½ÀkñÀl/ÀlEÀlOÀlSÀlWÀl[Àl‹ÀlªÀl´Àl¸ÀlÆÀlÔÀlßÀlíÀlûÀm ÀmÀmAÀmFÀmYÀmgÀm°ÀmùÀnÀn^Àn§Àn±ÀnµÀnÆÀnÕÀnÚÀníÀn÷ÀnûÀoÀo Ào"Ào'Ào:ÀoMÀo]ÀojÀowÀo„ÀoÀošÀo¥Ào°Ào»ÀoÆÀoÑÀoáÀoïÀoóÀo÷Àp ÀpÉÀpÔÀpâÀq +Àq1ÀqXÀqÀqÀq˜Àq£Àq®Àq¼ÀqÇÀqÒÀqÝÀqëÀr6ÀrDÀrOÀrZÀreÀrsÀrýÀsÀs$Às/Às7Às8ÀsEÀsKÀsUÀseÀsuÀs}ÀsˆÀs“ÀsžÀs¬Às·ÀsÂÀsÍÀsÛÀsæÀsôÀt$Àt-Àt6Àt?ÀtcÀtqÀt“Àt›Àt£ÀuÀuŸÀu¼ÀuúÀuûÀvÀvÀv-Àv?Àv[Àv•Àv–Àv¨ÀvÀÀvÚÀväÀvçÀvúÀvûÀvþÀwÀw$Àw4ÀwDÀw`ÀwjÀwzÀw‚ÀwžÀwØÀwâÀwòÀwÿÀxÀxÀxFÀxaÀxÜgÀ +§â‚Y‹¹‹º‹¼„ì…›„ä„æ†S„è„é„ê„ë†ï„ð„„ñ„ò„ó„†‘„ö‹¿„÷‹À‹Á„ø‹Â„ú„ù„û„ÿ†X„þ„ü…†˜…‹Ã‹Ä…†¢………‹Å†¹…ª… †³‹Æ‹Ç†’…‹È„……„……"…†§†V……!‹É…$‹Ê†“…¥…%…’††”‹Ë‹Ì‹Í…6‹Î…*…A‹Ï…/‹Ð…1…4‹Ñ‹Ò…7‹Ó…8…9…,…:…)…;…<…+…=‹Ô….…0‹Õ…2…>…?…(…@‹Ö‹×…B‹Ø†•…C‹Ù‹Ú‹Û… …G…E† „²„±…O‹Ü†‹Ý‹Þ…U…V…W…Y…X…[…Z‹ß…Š…\‹à…_„“†]…d…R„c…c‹á…5…3…r…q…s…t‹â…u„U‹ã…±…h„?…z‹ä…F…„…Ž……„„Q„ã‹å†–…‘…“…”‹æ…D‹ç‹è…˜…J…–…™„à„á…š‹é…œ…… †€‹ê… ……Ÿ…ž†…¡„…¦‹ë…§…b…¨‹ì†—„”„ß‹í‹î„í‹ï…¯…®…°‹ð…²†¡„,‹ñ…³„6„*…µ‹ò…Ë…¶…Ì…·…¸…¹…º…»…¼…Í…½…¾…¿…À…Á…Â…Ã…Ä…Å…Æ…Ç…È…É…Ê…Î…Ð…Ï…Ñ‹ó„™…Ó…Ò‹ô‹õ‹ö…Ô‹÷†…׋ø†…Ø‹ù†„Ä…á…Û…â…ä…ã‹ú…Ü…å…-…憟…ç…è† …é†,…ê„Ç…ì……í†!‹û‹ü…î… …‹ý…Œ…‹‹þ‹ÿ…ñŒ…ï…óŒ…ð…ò…õ† +ŒŒ„•…øŒ…ö…÷†Y†™…ý…ù…ú…þ…û…ü††„C…j…iŒ……l„††ŒŒ„ŒŒ †„åŒ +††Œ Œ Œ ŒŒ…m†…†††Z††† ††š†$ŒŒŒ†"Œ†)†'†(Œ†&†*†#†+† …´Œ…ôŒ†-… +…¤Œ† †4†1†0†2†3†/†.ŒŒ„õ†5Œ†6†[†7†8†9Œ†H†E…e††<…݆=…T†?†>Œ†A†@ŒŒ†C†B†J†D†M†OŒ†F†N†K†I†:†L†;†G†›†P…`…y…x†Q…^Œ …n„ç†R†T††W†UŒ!…Œ"†^†_……„´…ëŒ#Œ$†a†bŒ%†f†c†d†e†œ†i†h†gŒ&†j…Q… †…S…PŒ'†…‡†k„‹†l†\†o†pŒ(Œ)†n†m†%Œ*…Œ+†qŒ,……à†s†r…ÞŒ-…ÚŒ.Œ/…f„›…g†u†`Œ0†t…w…k†v†w…Ö…#Œ1Œ2Œ3Œ4†x†Æ††y†{†z†‚†|††~†Œ5†ƒ†††…†„†‡†}…„+†ˆ†‰…߆ž„Ú†Š†‹†Œ„š„Þ†Ž……†¨„↫†¬„¶†­†®†¯†°…o†±†²……a…Õ…©„5…vŒ6„Ï„V„†Ê„…†ÐŒ7Œ8…‚Œ9Œ:††ÌŒ;Œ<Œ=…­„‘„’†Í7=ã‹VhÀy Ày Ày ÀyÀy&Ày)Ày/Ày8Ày;Ày>Ày@ÀyFÀyRijÀyWÀy]ÀymÀy}ÀyÀyÀy­Ày½ÀyÍÀyÛÀyþÀzÀzÀz'Àz?ÀzOÀz\ÀztÀz„Àz…Àz¥Àz²ÀzÃÀ{À{2À{3klÀ{LhÀ{RÀ{SÀ{dÀ{|À{À{¥À{¶À{ÎÀ{æÀ|À|À|.À|?À|WÀ|hÀ|€À|‘À|©À|ºÀ|ÒÀ|ãÀ|ûÀ} À}$À}5À}MÀ}^À}vÀ}‡À}ŸÀ}ÅÀ}ãÀ~+À~8À~EÀ~RÀ~_À~lÀ~yÀ~™ÀÀeÀsÀÀ§ÀÅÀ€ À€À€'À€4À€AÀ€NÀ€nÀ€{À€äÀGÀUÀcÀ«À¸ÀÅÀÒÀßÀìÀ‚ À‚À‚‚À‚ÁÀƒ ÀƒTÀƒaÀƒÀƒŽÀƒ¶ÀƒõÀ„@À„AÀ„ïÀ…<À…|À…¼À†3À†zÀ†„À†”À†¼À‡À‡À‡À‡”À‡žÀ‡çÀ‡ñÀˆÀˆÀˆÀˆ+Àˆ8Àˆ`Àˆ¬ÀˆµÀˆÈÀˆÛÀˆîmnÀ‰À‰À‰À‰$À‰;À‰OÀ‰aÀ‰oÀ‰}À‰‡À‰¾À‰×À‰åÀŠÀŠ:ÀŠaÀŠqÀŠ§ÀŠÆÀŠÔÀ‹À‹_opÀ‹oDÀ‹uÀ‹ˆÀ‹˜À‹¥À‹·À‹ÆÀ‹ÔÀ‹çÀŒÀŒ%ÀŒDÀŒcÀŒ‚ÀŒ­ÀŒÛÀ:ÀHÀRÀ`ÀƒÀÀžÀÕÀîÀüÀŽ2ÀŽQÀŽˆÀŽ¡ÀŽ×ÀŽöÀ=ÀÀ‘À¡À·ÀåÀæÀõÀÀÀÀ%À6ÀGÀXÀiÀzÀ‹ÀœÀ©À¶ÀÃÀÑÀÞÀëÀøÀ‘À‘ À‘/À‘<À‘aÀ‘jÀ‘sÀ‘‹À‘”À‘À‘¦qrÀ‘²À‘¸À‘¾À‘ËÀ‘ÝÀ‘ïÀ’À’À’%stÀ’BÀ’HÀ’IuvÀ’|fÀ’‚À’ƒÀ’¥À’»À’ÝÀ’óÀ“À“+À“MÀ“cÀ“…À“›À“¨À“¯À“ÍÀ“ëÀ” À”'À”EÀ”FÀ”hÀ”~À” À”¶À”ØÀ”îÀ•À•&À•3À•:À•IÀ•`À•rÀ•†À•½À•ÖÀ– À–+À–aÀ–€À–£À–°À–¾À–åÀ–õÀ—À—4À—[À—kÀ—’À—ªÀ—ñÀ˜!À˜uÀ˜¼À˜ßÀ˜ìÀ™*À™QÀ™©À™äÀšZÀš²À›/À›ŽÀ›œÀ›À›ºÀ›ÃÀ›æÀ›óÀœ"Àœ;Àœ™ÀœáÀÀ-ÀÀÓÀž ÀžOÀžrÀžÀž²ÀžÇÀžúÀŸÀŸ2ÀŸ?ÀŸfÀŸoÀŸÝÀ -À {À «À »À ÉÀ ØÀ èÀ øÀ¡À¡wxÀ¡/€“À¡5À¡PÀ¡zÀ¡À¡­À¡½À¡ÊÀ¡×À¡ïÀ¡üÀ¢ À¢À¢#À¢;À¢>À¢¦À¢¾À¢ÇÀ¢ÐÀ¢úÀ£ +À£1À£RÀ£aÀ£ÃÀ£êÀ£ýÀ¤ À¤À¤,À¤;À¤IÀ¤VÀ¤ŽÀ¤±À¤ÐÀ¤ÝÀ¤ëÀ¥"À¥AÀ¥oÀ¥ŽÀ¥§À¥ÞÀ¥ýÀ¦À¦5À¦kÀ¦™À¦ÇÀ¦æÀ§À§JÀ§iÀ§°À§ÓÀ§òÀ§ÿÀ¨&À¨EÀ¨UÀ¨|À¨§À¨¿À¨æÀ©À©À©<À©gÀ©À©ªÀ©ÚÀ©óÀªÀªcÀªªÀªÍÀªÚÀ«À«VÀ«}À«ÕÀ¬À¬†À¬ÞÀ­[À­ºÀ­ÊÀ­ûÀ®)À®*À®9À®FÀ®SÀ®WÀ®gÀ®¢À®²À®íÀ®ñÀ¯À¯À¯À¯À¯AÀ¯KÀ¯XÀ¯hÀ¯uÀ¯…À¯•À¯©À¯²À¯¶À¯ÓÀ¯ÜÀ¯ÿÀ° À°;À°TÀ°²À°úÀ±-À±FÀ±¨À±ìÀ²9À²hÀ²‹À²˜À²ËÀ²àÀ³À³(À³KÀ³XÀ³À³ˆÀ³™À³µÀ´#À´qÀ´ÁÀ´ñÀ´þÀµ ÀµSyzÀµ\€ƒÀµbÀµcÀµ…Àµ›Àµ½ÀµÓÀµõÀ¶ À¶-À¶CÀ¶ŸÀ¶¬À¶³À¶ÏÀ¶ßÀ¶àÀ¶êÀ¶ôÀ¶þÀ·À·À·À·#À·*À·:À·JÀ·ZÀ·jÀ·wÀ·„À·£À·ÅÀ·äÀ¸À¸9À¸oÀ¸À¸À¸À¸šÀ¸¤À¸®À¸¼À¸ÇÀ¸ÕÀ¸ãÀ¹À¹À¹IÀ¹hÀ¹À¹ŸÀ¹ÆÀ¹ÖÀº Àº&ÀºxÀº¯ÀºÈÀ» À»JÀ»ZÀ»eÀ»À»À»À»¹À»ØÀ¼À¼.À¼9À¼UÀ¼nÀ¼ŠÀ¼ÐÀ¼ÿÀ½1À½`À½’À½ÄÀ½àÀ½ðÀ¾ À¾(À¾SÀ¾„À¾£À¾³À¾ÒÀ¾àÀ¿À¿0À¿oÀ¿®À¿ßÀ¿þÀÀÀÀÀÀ:ÀÀ]ÀÀyÀÀœÀÀ¸ÀÀÛÀÀ÷ÀÁÀÁXÀÁÀÁ¹ÀÁÕÀÁñÀÁþÀÂÀÂÀÂ+ÀÂ5ÀÂ>ÀÂNÀÂXÀÂeÀÂrÀ‚ÀÂŒÀ•ÀÂ¥À¯À¿ÀÂÍÀÂÝÀÂÞÀÃ,{|ÀÃ72ÀÃ=ÀÃ>ÀÃNÀÃ[ÀÃiÀÃvÀÆÀÃŒÀ×ÀßÀÃÎÀÃýÀÄ +ÀÄÀÄ!ÀÄ.ÀÄ;ÀÄHÀÄUÀÄbÀÄwÀÄ€ÀÄ•ÀħÀÄÖÀÄàÀÄðÀÄôÀÅ*ÀÅ/ÀÅBÀÅUÀŦÀÅÓÀÆÀÆ/ÀÆ=ÀÆGÀÆWÀÆ[ÀÆhÀÆžÀÆ£ÀƱÀƺÀÆéÀÆüÀÇÀÇ`ÀÇÏ}~ÀÈ>*ÀÈDÀÈwÀÈÌÀÈÜÀÉÀÉÀÉKÀÉcÀÉxÀÉ–ÀÉéÀÊÀÊÀÊ/ÀÊKÀÊqÀʉÀʯÀÊÇÀÊÔÀÊáÀÊîÀÊýÀËÀË2ÀËoÀˇÀËŸÀ˨À˾ÀËÊÀËåÀÌ ÀÌ<ÀÌLÀÌYÀÌœÀ̪ÀÌÀÀÌØÀÍÀÍ€ÀÍ4-ÀÍ:ÀÍ;ÀÍLÀÍ]ÀÍnÀÍÀÍÀÍ¡ÀͲÀÍÃÀÍÔÀÍåÀÍöÀÎÀÎÀÎ)ÀÎ:ÀÎKÀÎ\ÀÎmÀÎ~ÀÎÀΠÀαÀÎÂÀÎÓÀÎäÀÎõÀÏÀÏÀÏ(ÀÏ9ÀÏJÀÏ[ÀÏlÀÏ}ÀÏŽÀÏŸÀÏ°ÀÏÁÀÏÒÀÏãÀÏôÀÐÀЂÀÐN&ÀÐTÀÐcÀÐzÀÐŽÀРÀÐæÀÑÀÑ&ÀÑ\ÀуÀÑ“ÀÑÉÀÑèÀÑöÀÒÀÒ-ÀÒ@ÀÒPÀÒ]ÀÒoÀÒ~ÀÒŒÀÒœÀÒ¿ÀÒÌÀÒÚÀÓ ÀÓHÀÓ`ÀÓ–ÀÓÍÀÓæÀÔÀÔ;ÀÔbÀÔrÀÔ£ÀÔ³ƒ„ÀÔØÀÔÞÀÔßÀÔíÀÔø…†ÀÕ ÀÕÀÕ#ÀÕ$ÀÕ+ÀÕ;ÀÕHÀÕUÀÕmÀÕ‰ÀÕ¹ÀÕÐÀÕíÀÖ‡ˆÀÖA=ÀÖGÀÖWÀÖgÀÖvÀÖ…ÀÖ¥ÀÖ³ÀÖÁÀÖÈÀÖÏÀÖÖÀÖÝÀÖäÀÖëÀÖòÀ×À×À×À×#À×’À×¢À×°À×ÖÀ×óÀØÀØHÀØÀØÖÀØ×ÀØÞÀØìÀØ÷ÀÙÀÙ:ÀÙJÀÙ‰ÀÙ¶ÀÙÆÀÙÖÀÙæÀÙæÀÙæÀÙæÀÙæÀÙæÀÙæÀÙæÀÙæÀÙçÀÙôÀÚÀÚÀÚÀÚ+ÀÚ;ÀÚHÀÚUÀÚbÀÚoÀÚvÀÚ§‰ŠÀÚþ>ÀÛÀÛ +ÀÛ€ÀÛÀÛ‘ÀÛŸÀÛ°ÀáŒÀá¾ÀáÝÀáíÀâÀâÀâ4ÀâjÀâ‰ÀâÊÀâõÀã7ÀãbÀã°Àã½ÀãÜÀä$Àä{ÀäáÀäëÀäûÀå7ÀåVÀåˆÀå§ÀåãÀæ=ÀæyÀæëÀç@Àç²ÀèÀèÀè«ÀèçÀé{ÀêÀêÅÀìVÀì|Àì“Àì²ÀìÉÀìïÀí,ÀíRÀíšÀíÌÀîÀîGÀîœÀî°ÀîÖÀï%ÀŒÀïðÀïöÀï÷ÀïýÀðÀð ÀðÀðÀð Àð+Àð9ÀðGÀðUÀðcÀðqÀð~Àð‹Àð˜Àð¥Àð²Àð¿Àð÷ÀñÀñÀñ!ÀñCÀñXÀñfŽÀñt4ÀñzÀñ{ÀñˆÀñ˜Àñ¨Àñ¬Àñ°Àñ´Àñ¸Àñ¼ÀñàÀñðÀòÀòÀò Àò0Àò@ÀòPÀòtÀò„ÀòˆÀò“Àò¡Àò¯Àò½ÀòÍÀòÛÀòéÀó ÀóCÀóQÀó{Àó´ÀóÐÀóìÀô +Àô0Àô`Àô¡Àô¿ÀôÈÀõÀõ-ÀõQÀõ\ÀõgÀõrÀõÌÀönÀöÅÀ÷ À÷OÀ÷_yÀ÷eÀ÷fÀ÷}À÷’À÷ŸÀ÷´À÷ÐÀøÀøÀø.Àø9ÀøOÀøZÀø[ÀøfÀøqÀørÀø”ÀøªÀøÌÀøâÀùÀùÀù<ÀùRÀùtÀù„Àù‘Àù˜Àù™ÀùºÀú›ÀûŠÀübÀü›ÀüÕÀýÀýÀý(ÀýUÀýVÀýcÀýgÀýkÀýxÀý‡ÀýˆÀý³ÀýÞÀþ Àþ4Àþ_ÀþŠÀþµÀþàÀÿ Àÿ6ÀÿaÀÿŒÀÿ·ÀÿâÀ À 8À cÀ ŽÀ ¹À äÀ À :À eÀ À »À æÀ À <À gÀ †À ¥À ÄÀ ãÀ À !À @À _À ~À À ¼À ÛÀ úÀ À 8À WÀ vÀ •À ´À ÓÀ òÀ À 0À OÀ nÀ À ¬À ËÀ êÀ ÷À À À #À JÀ TÀ dÀ hÀ rÀ ‚À ŒÀ œÀ ÀÀ ÐÀ ÝÀ ý‘’À  À À -À =À EÀ ýÀ mÀ xÀ †À ­À ·À ÑÀ áÀ À /À ?À LÀ YÀ }À ŠÀ ªÀ +bÀ +ÒÀ +ÝÀ +ëÀ À *À 3À <“”À F€¢À LÀ VÀ hÀ À ±À GÀ îÀ üÀ  +À CÀ MÀ êÀ –À MÀ À SÀ aÀ oÀ uÀ }À ˆÀ –À ¡À ¯À ½À ËÀ ÙÀ ÚÀ çÀ ôÀ À À À (À 5À 8À [À lÀ }À ŽÀ ŸÀ °À ÁÀ ÒÀ ãÀ üÀ  À 3À AÀ hÀ ˆÀ •À ¥À ²À ÂÀ ÏÀ ÜÀ À À 'À 4À AÀ NÀ [À hÀ uÀ ‚À ©À ¹À ÆÀ ÓÀ àÀ ðÀ À À ¡À À AÀ LÀ ZÀ eÀ oÀ |À £À »À ÄÀ ÜÀ çÀ úÀ À À 1À JÀ ’À  À ®À ÊÀ òÀ À &À >À GÀ PÀ YÀ tÀ }À šÀ ÓÀ ÜÀ åÀ îÀ  À (À TÀ ]À fÀ jÀ nÀ rÀ ™À šÀ ¿À ÑÀ ãÀ ðÀ ÿÀ À )À 4À ?À JÀ UÀ `À yÀ ½À ÿÀ À À À vÀ À ¢À ²À »À èÀ ñÀ ÿÀ À 0À HÀ UÀ wÀ À ‘À ¡À ±À ìÀ þÀ À À XÀ b•–À À £À ¤À ·À ÅÀ ìÀ #À JÀ À ¨À ßÀ À =À OÀ ‡À ·—˜À ç À íÀ ùÀ úÀ !À !À !:À !HÀ !VÀ !d™šÀ !€€¬À !†À !‡À !²À !ÝÀ " À "?À "^À "}À "œÀ "©À "°À "¿À "ÍÀ "ÝÀ "ÞÀ "ìÀ #À #À #$À #2À #GÀ #UÀ #jÀ #xÀ #†À #”À #ŸÀ #ªÀ #µÀ #ÀÀ #æÀ $ À $0À $ À $ÎÀ $íÀ $îÀ $üÀ %À %)À %4À %µÀ %ÏÀ &5À &@À &NÀ &uÀ &À &õÀ '[À 'fÀ 'tÀ '›À 'œÀ 'ÇÀ 'òÀ (À (<À ([À (zÀ (~À (ƒÀ („À (¯À (ÎÀ (ùÀ )$À )OÀ )zÀ )~À )ƒÀ )ƒÀ )ƒÀ )ƒÀ )ƒÀ )ƒÀ )ƒÀ )ƒÀ )ƒÀ )‰À )˜À )¿À )æÀ )óÀ *À * À *À *#À *.À *9À *DÀ *OÀ *ZÀ *sÀ *tÀ *ŸÀ *ÊÀ *õÀ + À +?À +^À +}À +œÀ +©À +°À +ÀÀ +ÄÀ +êÀ +ÿÀ ,:À ,CÀ ,]À ,jÀ ,wÀ ,¿À -À -#À -<À -„À -À -šÀ -¨À -¶À -ÝÀ -õÀ .À .>À .[À .{À .ÃÀ /À /bÀ /¹À /ÂÀ /êÀ 0À 0À 0)À 04À 0BÀ 0PÀ 0hÀ 0~À 0À 0ŒÀ 0œÀ 0©À 0¹À 0ÓÀ 0àÀ 0íÀ 0úÀ 1À 1À 1+À 1‘À 1œÀ 1ªÀ 1³À 1úÀ 2 +À 21À 2XÀ 2tÀ 2ŒÀ 2–À 2¦À 2¶À 2ÆÀ 2ÓÀ 2éÀ 2ü›œÀ 3 \À 3À 3"À 32À 3BÀ 3RÀ 3bÀ 3rÀ 3œÀ 3ØÀ 3ìÀ 4†À 4¹À 4ÆÀ 5À 5?À 5JÀ 5XÀ 5cÀ 5qÀ 5|À 5‰À 5”À 5§À 5´À 5ÄÀ 5ÚÀ 5åÀ 5ðÀ 5ûÀ 6À 6À 68À 6QÀ 6jÀ 6xÀ 6‚À 6’À 6¢À 6¯À 6¿À 6ÉÀ 6ÙÀ 6éÀ 6öÀ 7À 70À 74À 7CÀ 7–À 7®À 7¸À 7ÈÀ 7ÐÀ 7ÞÀ 7ôÀ 8 À 8$À 8SÀ 8{À 8™À 8®À 9À 9À 91À 9GÀ 9HÀ 9oÀ 9–À 9½À 9äÀ :À :"À :AÀ :`À :pÀ :xÀ :ˆÀ :—À :¦À :µÀ :ÁÀ :ÍÀ :ÙÀ ; À ;À ;%À ;3À ;DÀ ;EÀ ;UÀ ;qÀ ;žÀ ;À ;£À ;ÅÀ ;îÀ ;øÀ ;ûÀ < À <8À +À >?À >HÀ >`À >œÀ >ÔÀ >×À ?À ?<À ?kÀ ?uÀ ?œÀ ?«À ?´Ÿ À ?Ü À ?âÀ ?ãÀ @À @À @À @`À @ŒÀ @¤À @èÀ @óÀ @þÀ A hÀ @ÄÀ @þÀ AmÀ CÀ CwÀ D’À D½À DÐÀ FsÀ HËÀ JãÀ K¶À LiÀ M(À MËÀ MæÀ N%À O$À P'À PžÀ QyÀ ShÀ SãÀ VwÀ V¾À VíÀ Y©À [$À [§t‡B†õ‡†ÿŒ>†û‡Œ?‡‡‡‡‡#‡,ŒAŒBŒCŒDŒE‡5‡=‡>ŒF‡I‡Q‡ ‡RŒGŒHŒIŒJ‡A‡cŒL‡sŒOŒQŒSŒUŒVŒWŒX‡{‡y‡ƒ‡zŒYŒZ‡¯‡®‡«‡³‡¶‡¿Œ[Œ\‡²‡Â‡l‡É‡´‡v‡»‡¼‡½‡·‡u‡µ‡t‡Ü‡Û‡Ý‡ï‡ðŒ]Œ^‡çŒ`ŒaŒbŒd‡†Œe‡ˆ‡õ‚ã‡û‡ü‡úˆ4ˆ6ˆ3ˆ5‡ùˆ8ˆ9ˆ=ˆ?ˆAˆ>ˆ„ˆ…ˆ7ˆBŒfˆCŒgŒjˆpˆˆ“ˆ¢ˆ²ˆ«Œk¡À A6À A À A#À A;À A>À ADÀ AOÀ AUÀ AXÀ A[À A]À AwÀ A‡À A•À A¢À A²À BÀ BÀ B¯À B×À BâÀ BðÀ BþÀ CÀ CÀ CÀ C)À C6À CCÀ CDÀ CKÀ CRÀ CYÀ C`À CgÀ CnÀ CuÀ C|À CƒÀ CŠÀ C‘À C˜À CŸÀ C¦À C­À C´À C»À CÂÀ CÉÀ CÐÀ C×À CÞÀ CåÀ CìÀ CóÀ CúÀ DÀ DÀ DÀ DÀ DÀ D$À D+À D2À D9À D@À DGÀ DNÀ DUÀ D\À DcÀ DjÀ DqÀ DxÀ DÀ D†À DÀ D£À D¹À DÏÀ DåÀ DûÀ EÀ E'À E=À ESÀ EiÀ EÀ E•À E«À EÁÀ E×À EíÀ FÀ FÀ F/À FEÀ F[À FqÀ F‡À FÀ F³À FÉÀ FßÀ FõÀ G À G!À G7À GMÀ GcÀ GyÀ GÀ G¥À G»À GÑÀ GçÀ GýÀ HÀ H)À H?À HUÀ HkÀ HÀ H—À HžÀ H¥À H»À HÑÀ I1À ISÀ I»À IÝÀ J=À J_À KÀ K1À KAÀ KQÀ KaÀ KqÀ K~À KŽÀ K›À K¨À KµÀ KèÀ LÀ LCÀ LÀ L¦À L¾À MÀ M1À M:À M;À M˜À MåÀ MóÀ N+À N;À NKÀ NYÀ NbÀ NuÀ N€À NŠÀ N‘À NŸÀ N¦À N´À N»À NÉÀ NÐÀ NÞÀ OYÀ OxÀ O†À O”À O¢À O°À O±À OÁÀ OÑÀ OáÀ OîÀ OþÀ PÀ PÀ P(À PIÀ P[À PkÀ P‚À PÀ P›À P©À P·À PÅÀ PçÀ PòÀ QÀ QÀ QÀ Q*À Q8À QBÀ QOÀ Q\À QlÀ QyÀ Q‰À Q–À Q¤À QÆÀ RÀ R?À RMÀ RNÀ R_À RzÀ R‹À R¦À R´À R¿À RÌÀ RÜÀ RìÀ RùÀ SÀ SÀ S(À SˆÀ SÍÀ TÀ TTÀ T¥À TÛÀ U,À UbÀ U³À UéÀ V:À VpÀ VÁÀ V÷À WfÀ WœÀ WÌÀ X$À X¥À XçÀ Y<À YUÀ Y_À YlÀ YyÀ Y†À Y”À Y¢À Y¯À Y¼À YÊÀ YìÀ ZÀ Z8À ZFÀ ZrÀ ZœÀ Z§À ZµÀ ZÀÀ ZÓÀ ZÞÀ ZéÀ [ À [\À [jÀ [‘À [³À [ÁÀ [ÏÀ [ÏÀ [ÏÀ [ÏÀ [ÔÀ [ÕÀ [ßÀ \À \ +À \+À \,À \:À \EÀ \PÀ \QÀ \\À \jÀ \xÀ \yÀ \‡À \¥À \¯À \¿À \ÏÀ \ÜÀ \ìÀ \öÀ ]À ]*À ]=À ]M¢£À ][2À ]aÀ ]bÀ ]sÀ ]„À ]•À ]¦À ]¶À ]ÆÀ gÀ g+À gDÀ gsÀ gÂÀ hÀ h +À hÀ hÀ h%À h&À h3À h@À hMÀ hmÀ hÀ h­À hºÀ hÑÀ hôÀ iÀ iÀ i#À iFÀ iPÀ iZÀ iÀ iŸÀ iÎÀ iúÀ iþÀ jÀ j À jÀ jÀ k5À lKÀ lsÀ l}À lÀ l À l°¤¥À lØÀ lÞÀ lßÀ lþÀ m¦§À mÀ x?À xFÀ x|À x¹À xÕÀ xÞÀ xúÀ xûÀ yÀ yÀ y+À yGÀ yxÀ yyÀ yŸÀ yÒÀ yêÀ yÿÀ zÀ z=À zUÀ zmÀ z…À zŽÀ z¦À z»À züÀ {À {À {"À {/À {<À {LÀ {\À {iÀ {vÀ {§À {ØÀ {äÀ {ôÀ |À |À |À |LÀ |XÀ |hÀ |sÀ |€À |À | À |¬À |­À |ºÀ |ÅÀ |íÀ |ûÀ } À }À }3À }=À }NÀ }TÀ }aÀ }nÀ }À }©À }¾À }ÓÀ }àÀ }íÀ }øÀ ~À ~À ~À ~0À ~KÀ ~sÀ ~ŠÀ ~—À ~¯À ~ÒÀ ~ßÀ ~ïÀ ~üÀ  À À )À 9À FÀ QÀ hÀ ÐÀ æÀ ûÀ €%À €5À €YÀ €aÀ €ƒÀ €‘À €ŸÀ €ªÀ €µÀ €ÌÀ €ÜÀ À À *À 8À FÀ QÀ \À oÀ À À ŸÀ ¯À ¿À àÀ ‚HÀ ‚VÀ ‚dÀ ‚rÀ ‚€À ‚ŽÀ ‚œÀ ‚¯À ‚ÑÀ ‚áÀ ‚ñÀ ƒÀ ƒÀ ƒ2À ƒ`À ƒkÀ ƒyÀ ƒ‡À ƒ©À ƒ´À „À „mÀ „”À „¢À „­À „¸À „ëÀ … À …#À …OÀ …­À …×À …åÀ †À †0À †9À †UÀ †{À ††À †¬À †ÄÀ †ÑÀ †ÞÀ †ëÀ †úÀ ‡À ‡8À ‡uÀ ‡À ‡¥À ‡®À ‡ÄÀ ‡ÐÀ ‡÷À ˆÀ ˆNÀ ˆ^À ˆkÀ ˆ{À ˆÃÀ ˆÑÀ ˆçÀ ˆÿÀ ‰.À ‰FÀ ‰[À ‰hÀ ‰uÀ ‰‚À ‰’À ‰¢À ‰²À ŠÀ Š À ŠÀ Š)À Š<À ŠGÀ ŠZÀ ŠhÀ ŠÀ ŠãÀ ŠûÀ ‹À ‹À ‹2À ‹?À ‹OÀ ‹sÀ ‹ƒÀ ‹“À ‹£À ‹ñÀ ‹üÀ ŒÀ Œ)À Œ<À ŒJÀ Œ`À Œ¢À ŒÙÀ ŒçÀ ŒõÀ À À 0À SÀ cÀ sÀ —À §À ·À ÇÀ îÀ þÀ Ž%À Ž2À Ž?À ŽcÀ ŽpÀ ŽªÀ ŽÏÀ ŽöÀ À À À 2À @À XÀ sÀ ƒÀ «À ÃÀ ÌÀ óÀ ýÀ -À EÀ mÀ ¹À ÂÀ ìÀ ‘tÀ ‘ÞÀ ’À ’À ’"À ’/À ’<À ’IÀ ’aÀ ’nÀ ’{À ’ˆÀ ’•À ’¢À ’²À ’âÀ ’ïÀ ’üÀ “ À “!À “)À “fÀ “¹À “ÑÀ “öÀ ”*À ”=À ”MÀ ”¬À • À •7À •8À •HÀ •XÀ •eÀ •uÀ •…À •À •­À •ºÀ •ÊÀ •×À •çÀ –À –5À –TÀ –¬À –ÓÀ –ÜÀ –åÀ –îÀ –÷À —}À —‹À —¶À —¿À —ÈÀ —ÉÀ —ÙÀ —éÀ —öÀ —÷À ˜À ˜À ˜$À ˜1À ˜AÀ ˜hÀ ˜À ˜ÂÀ ˜ÚÀ ˜çÀ ™À ™ À ™À ™"À ™2À ™6À ™NÀ ™fÀ ™~À ™“À šÀ š9À šCÀ šPÀ š]À š—À š»À šßÀ šïÀ šÿÀ ›À ›À ›/À ›sÀ ›À ›‘À ›žÀ ›«À ›»À ›ÃÀ ›ÙÀ œ)À œ‰À œÎÀ À UÀ ¦À ÜÀ ž-À žcÀ ž´À žêÀ Ÿ;À ŸqÀ ŸÂÀ ŸøÀ  À  {À  ±À ¡-À ¡oÀ ¡šÀ ¡ßÀ ¢3À ¢KÀ ¢cÀ ¢{À ¢„À ¢™À ¢ÐÀ £<À £jÀ £˜À £°À £ÈÀ ¤ À ¤ZÀ ¤}À ¤‡À ¤‘À ¤›À ¤¥À ¤ÛÀ ¤ßÀ ¤ïÀ ¤ÿÀ ¥ À ¥$À ¥1À ¥IÀ ¥SÀ ¥\À ¥gÀ ¥pÀ ¥—À ¥¥À ¥°À ¥»À ¥ÆÀ ¥ÑÀ ¥ßÀ ¥íÀ ¦À ¦AÀ ¦wÀ ¦‡À ¦—À ¦¤À ¦´À ¦ÄÀ §À §“À §œÀ §¡À §±À §¿À §ÕÀ ¨EÀ ¨mÀ ¨vÀ ¨À ¨À ¨À ¨µÀ ¨ÍÀ ¨åÀ ¨ýÀ © À ©À ©)À ©7À ©tÀ ©„À ©‘À ©›À ©¨À ©ÏÀ ©öÀ ªÀ ªÀ ª.À ª>À ªPÀ ªyÀ ªÀ ªžÀ ª®À ª»À ªËÀ ªÛÀ ªèÀ «À «1À «<À «FÀ «VÀ «cÀ «pÀ «€À «ŸÀ «¿À «âÀ «òÀ ¬À ¬mÀ ¬{À ¬‘À ¬©À ¬ÁÀ ¬ÖÀ ­À ­-À ­TÀ ­§À ­°À ­ÈÀ ­àÀ ­öÀ ®À ®À ®À ®(À ®PÀ ®lÀ ®„À ®¬À ®­À ®ºÀ ®ßÀ ®ýÀ ¯À ¯"À ¯4À ¯DÀ ¯EÀ ¯UÀ ¯eÀ ¯rÀ ¯‚À ¯’À ¯¢À ¯²À ¯¿À ¯ÌÀ ¯ÚÀ ¯òÀ ¯üÀ ° À °&À °QÀ °iÀ °sÀ °ƒÀ °À °®À °ÙÀ °ñÀ °ûÀ ± À ±0À ±WÀ ±jÀ ±zÀ ±ŠÀ ±—À ±¥À ±µÀ ±ÜÀ ²À ²À ²&À ²6À ²CÀ ²QÀ ²À ²¦À ²ÍÀ ²×À ²äÀ ²ôÀ ³À ³ª«À ³#€–À ³)À ³*À ³PÀ ³‚À ³¸À ³îÀ ³ÿÀ ´À »&À »'À »8À »IÀ »ZÀ »kÀ »|À »À »žÀ »¯À »ÀÀ »ÑÀ »âÀ »óÀ ¼À ¼À ¼À ¼'À ¼8À ¼IÀ ¼ZÀ ¼kÀ ¼|À ¼À ¼žÀ ¼¯À ¼ÀÀ ¼ÑÀ ¼âÀ ¼óÀ ½À ½À ½&À ½7À ½HÀ ½YÀ ½jÀ ½{À ½ŒÀ ½À ½®À ½¿À ½ÐÀ ½áÀ ½õÀ ½öÀ ¾À ¾À ¾)À ¾*À ¾;À ¾LÀ ¾]À ¾tÀ ¾—À ¾¤À ¾´À ¾ÁÀ ¾ÎÀ ¾ÛÀ ¾òÀ ¾ýÀ ¿3À ¿KÀ ¿rÀ ¿‡À ¿ŸÀ ¿¿À ¿ÈÀ ¿ÑÀ ¿èÀ À À ÀÀ À*À À’À À¬À À¹À ÀÆÀ ÀÓÀ ÀàÀ ÀíÀ ÀúÀ ÁÀ ÁÀ Á!À ÁAÀ ÁaÀ ÁÀ Á¡À Á¶À ÁÃÀ ÁÐÀ ÁÝÀ ÁêÀ Á÷À ÂÀ ÂÀ ÂÀ Â+À Â8À ÂEÀ ÂUÀ ÂbÀ ÂrÀ •À ¢À ¯À ÂÖÀ ÂùÀ ÂüÀ ÂÿÀ ÃÀ ÃvÀ áÀ êÀ ÷À ÃÀÀ ÃÕÀ ÃÞÀ ÃìÀ Ã÷À ÄÀ Ä À ÄÀ Ä+À Ä;À ÄHÀ ÄQÀ ÄZÀ ÄsÀ ÄŒÀ Ä¿À ÄØÀ Å#À ÅDÀ Å]À Å‘À ÅšÀ ŶÀ ÅÏÀ ÅØÀ Å笭À Åö9À ÅüÀ Æ À ÆÀ Æ"À Æ/À Æ?À ÆOÀ Æ_À ÆoÀ ÆÀ ÆÀ Æ«À ƸÀ ÆÁÀ ÆÊÀ ÆØÀ ÆãÀ ÆöÀ Ç À ÇÀ Ç&À Ç5À ÇDÀ ÇcÀ ÇmÀ ÇvÀ Ç™À ÇÐÀ ÈÀ È–À ȽÀ ÈùÀ ÉÀ É3À ÉIÀ É_À ÉjÀ ÉuÀ É€À ÉÀ É‘À ÉËÀ ÉØÀ ÉèÀ ÉøÀ ÊÀ Ê À ÊÀ Ê:À ÊJÀ Ê]À ÊfÀ Ê~À Ê–À Ê®À Ê·À ÊÀ®ŠÀ ÊÉÀ ÊÏÀ ÊÕÀ ËKÀ ËLÀ Ë\À ËjÀ Ë{À ÌsÀ Ì¥À ÌÄÀ ÍÀ Í&À Í6À ÍrÀ Î À ÎEÀ Îk¯°À ÎÊIÀ ÎÐÀ ÎÑÀ ÎâÀ ÎóÀ ÏÀ ÏÀ Ï&À Ï7À ÏHÀ ÏYÀ ÏjÀ Ï{À ÏŒÀ ÏÀ Ï®À ÏÉÀ ÏäÀ ÏÿÀ ÐÀ Ð5À ÐPÀ ÐkÀ ІÀ СÀ мÀ Ð×À ÐòÀ Ñ À ÑÀ Ñ1À ÑPÀ ÑwÀ Ñ–À Ñ£À Ñ°À ѽÀ ÑÊÀ Ñ×À ÑúÀ ÒÀ ÒDÀ ÒcÀ Ò‹À ÒåÀ ÓrÀ ÓŽÀ ÓµÀ ÓÆÀ Ó×À ÓèÀ ÓùÀ ÔÀ Ô/À ÔJÀ ÔeÀ ÔuÀ Õ!À Õ+À ÕxÀ ÕƒÀ Õ‘À ÕŸÀ ÕªÀ Õ¸À ÕëÀ Õ÷À Ö&À ÖNÀ Ö\À ÖmÀ ÖwÀ Ö‡À Ö±²À ÖŸ€¸À Ö¥À Ö´À ÖÃÀ ÖÒÀ ÖáÀ ÖðÀ ÖñÀ ×À ×À ×$À ×%À ×6À ×GÀ ×XÀ ×iÀ ×zÀ ׋À לÀ ×­À ×¾À ×ÏÀ ×àÀ ×ñÀ ØÀ ØÀ Ø$À Ø5À Ø6À ØVÀ ØcÀ ØdÀ ØtÀ ØÀ ØÀ ØÀ ØøÀ Ù À ÙÀ Ù+À Ù<À ÙMÀ Ù^À ÙoÀ Ù€À Ù‘À Ù¢À Ù³À ÙÄÀ ÙÑÀ ÙÞÀ ÙëÀ ÙøÀ ÚÀ ÚÀ ÚÀ Ú,À Ú9À ÚFÀ ÚSÀ Ú`À ÚpÀ ÚŽÀ Ú›À Ú¨À Ú¸À ÚÈÀ ÚØÀ Û1À ÛXÀ ÛaÀ Û‰À Û¶À Û¿À ÛÈÀ ÛÑÀ ÛÚÀ ÛãÀ ÛðÀ ÛùÀ ÛúÀ ÜÀ Ü'À Ü(À ÜHÀ ÜUÀ Ü|À Ü­À ÜÔÀ ÝÀ ÝÀ Ý4À ÝÀ Ý´À Þ*À ÞgÀ ÞƒÀ Þ„À Þ‘À ÞžÀ Þ«À Þ¸À ÞÅÀ ÞÕÀ ÞåÀ ß&À ß6À ßFÀ ßrÀ ß±À ßðÀ àÀ à<À àLÀ àTÀ à§À à³À àÚÀ àãÀ áÀ á–À á¤À á´À áÄÀ áÜÀ áôÀ âÀ âÀ â&À â>À âKÀ âTÀ â]À âfÀ âoÀ â‡À â²À âáÀ âùÀ ãÀ ãÀ ã.À ãdÀ ãuÀ ã…À ã•À ã­À ãÅÀ ãÝÀ ãíÀ ãúÀ äÀ äÀ ä!À ä1À äAÀ äQÀ äaÀ änÀ ä~À äŽÀ äžÀ ä®À åZÀ åˆÀ å»À æ À æÀ æ1À æ<À æJÀ æUÀ æcÀ æoÀ æ—À æ¾À æíÀ çÀ ç6À çDÀ çUÀ çyÀ ç‡À ç•À çÒ¡ +À ]BÀ b%À bøÀ cÀ dÊÀ m®À pÀ qÀ qPÀ r‡û‡ü‡úˆ4ˆ6ˆ3ˆ5‡ùˆ8ˆ9ˆ=ˆ?ˆAˆ>ˆ„ˆ…ˆ7ˆBŒfˆCŒgŒjŒlˆpˆˆ“ˆ¢ˆ²ˆ«Œk³À çë#À çñÀ ç÷À èÀ èÀ è,À è>À èPÀ èiÀ èÀ è›À è·À èÓÀ èëÀ éÀ éÀ éDÀ éNÀ é`À éÀ é¦À é©À éÑÀ éïÀ êÀ ê À ê3À êJÀ êxÀ ê›À ê¶À êÅÀ êæÀ ë<À ëÀ 륳À uÓŒnˆ½ˆ¾ŒoŒqŒr´À ëÂÀ ëÈÀ ëÜ´À v}ŒwŒxµÀ ëó€À ëùÀ ëÿÀ ìÀ ìÀ ì=À ì\À ìjÀ ìxÀ ì†À ì™À ì¸À ìæÀ ìôÀ í À í(À íhÀ íiÀ ísÀ íÀ íŒÀ íšÀ í¶À íìÀ íöÀ îÀ îÀ î À î+À î6À îDÀ îfÀ îpÀ î÷À ïÀ ï>À ïQÀ ï[À ïiÀ ïtÀ ï|À ï˜À ï¢À ï°À ð(À ð;À ðIÀ ðÀ ðÀ ð¿À ðÉÀ ðÔÀ ðßÀ ðêÀ ðøÀ ñÀ ñÀ ñ6À ñDÀ ñfÀ ñÀ ñ—À ñ¹À ñÄÀ ñÏÀ ñÙÀ ñäÀ ñòÀ òÀ ò6À òAÀ òOÀ òkÀ ò‡À òšÀ ò¨À òÊÀ òÕÀ òàÀ óÀ óPÀ óˆÀ ó–À ôÀ ô9À ôUÀ ô_À ômÀ ôÀ ôÀ ô§À ôµÀ ôÀÀ ôÜÀ ôæÀ ôôÀ ôþÀ õ À õÀ õ<À õGÀ õRÀ õ]À õhÀ õsÀ õ~À õ‰À õ”À õ¢À õ­À õ¸À õÃÀ õÎÀ õÙÀ õõÀ õÿÀ ö À öÀ ö#À ö.À ö9À öUÀ ö_À ömÀ öxÀ öƒÀ öŽÀ öœÀ öÀ ö¨À ö³À öÁÀ öÂÀ öÒÀ öâÀ öïÀ ÷À ÷À ÷ À ÷À ÷À ÷µÀ v›ˆÆŒzŒ{Œ|Œ}ˆÉˆÄˆÊˆÌˆÇŒ~ˆÃˆÎˆÏˆÅˆÈˆÒˆÐŒˆÍˆÓˆÑˆËŒ€Œ¶À ÷#À ÷&À ÷'À ÷(À ÷)¶À yŒ†Œ‡ŒˆŒ‰·À ÷*À ÷0À ÷3¸¹À ÷6À ÷<À ÷OÀ ÷À ÷°À ÷±À ÷É·À y>À yPŒŽºÀ ø À øÀ øºÀ yŒ“»À ø.À ø.À ø>À øN»À yŒ˜Œ™Œš¼À ø^À øaÀ øjÀ økÀ ø{À øƒÀ ø„À ø‡¼À yÁŒ›ŒŒqŒr%À +FÀ + +ýÀ + ñÀ +”À ++À +6EÀ +H0À +I¾À +L À +OîÀ +Q‚À +R:À +THÀ +Y}À +Z;À +eÀ +kËÀ +q^À +…¯À +†qÀ +†ßÀ +Š!À +àÀ +  À +¦À +§ÈÀ < À [âÀ ukÀ viÀ vÀ xÚÀ y.À ysÀ y“À y³À y猞 + + + + + + + + + + + + + + + + + "# +%&()*+-./01%3 + + + + +-:;=>ABCDEFBHIEKGMOPDDBTUBWXZ[@]^_DCbadXBghDSklmjohBrstuuBxyst|{~~s{€‚ss€†s€ˆ€‰€‰B€Œ€h€€h€’€“€•€–€€˜€™_€œ€€Ÿ€ _]€£€¤€¦€§B€©€ª€«€¬€ª€®€¯€®€±€¯€³€´€®€¶€¸€¹B€»€¼€¼€¾€¿€¾€Â€À€Ä€Â€Ä€¼€¼€È€Ê€Ê€¼€Í€Î(€Ð€É€Ò€Ô€Õ€¼€Ø€Ù€¼€¼€¼B€Þ€ß€à€á€à€ã€â€å€ß€ß€Þ€é€è€ë€ì€í€ßB€ð€ñX€ó€ôX€ö€÷X€ù€úXX€ý€þXB + 34567884;<<=?€ÖAAA?)GH)JKMN+QRTUWXZ[]^!`!b`\eeeeeeeeeee\qqeruuAuuuu€¹€¹~€¹‚ƒ…†€¹‰ŠŒƒ’““-–—˜™›œžŸ——4£¤F¦§¨©ªªªªª€§°±³´´^¦¸¹º»»»»€ ÀÁPP€–‡ÆÈ-ÊËÌÍÏÐÐÒÓÓÓÓÓÐÚrÜÒÞÐ/€¹/ãäääääääääääääääääääääääääääääääääääääääääää_]‚‚_-‚‚-‚‚‚¦‚‚‚¦‚ ‚!¦‚#‚$–‚&—‚&‚&———€¹Q‚/‚;;‚!-‚5‚6¦‚8‚9‚6‚<Ì‚>¦‚@‚A‚A‚!‚!‚!‚F‚G‚$‚I‚J‚J‚J‚$‚$‚$‚$‚$‚$‚$¦‚U‚V‚V‚V‚V¦‚[‚\‚\‚\‚[‚`‚\‚\‚\‚9‚\]‚g‚h‚h‚h]‚l‚m‚h€¤‚h]‚r‚s_]‚v‚w‚m‚h‚m‚w‚w‚w€¤‚s‚s‚‚‚‚‚€†‚‚‚‚‚r‚ˆ‚‚ˆ‚ˆ]‚‚Ž]‚‚‘‚‚“‚w‚•‚–___‚š‚›`‚]‚Ÿ‚ ‚¡‚¢‚ ‚¤‚¥‚ ‚§‚¨‚h‚w‚w‚h‚h‚h‚w‚v‚±‚±‚±‚±‚m‚w_‚h]‚º‚»‚º‚½‚»‚Ÿ‚À‚À‚À‚À‚ ‚À]‚Ç‚È‚‚‚Ë‚Ë‚Ë‚‚Ë‚Ë‚Ë‚Ë‚Ë‚Ë‚Ë‚Ë‚Ë‚Ë‚Ë‚Ë‚Ë‚‚Ý‚Þ‚‚à‚‚‚‚‚‚‚¦‚é‚ê‚‚ì‚í‚ï‚ð‚ñ‚ò‚ð‚ô‚õ‚ò‚÷‚ø‚ø‚ò‚ü‚ý‚þ‚ÿƒƒƒƒƒ‚þƒ‚ýƒƒ ƒ $ƒ ‚ýƒƒ‚ýƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒ"ƒ#ƒ$ƒ%ƒƒ'ƒ(ƒ(ƒƒ'ƒ,ƒ,ƒ,ƒ,ƒ,ƒ,ƒƒƒƒƒƒƒƒƒƒƒƒƒ>ƒ?ƒƒƒƒƒDƒƒƒ"ƒHƒƒJƒKƒ#ƒMƒNƒƒPƒQƒWƒXƒYƒZƒZƒ]ƒ^ƒ_ƒ`ƒaƒbƒbƒbƒbƒbƒbƒbƒbƒbƒbƒbƒbƒbƒbƒbƒbƒbƒbƒbƒbƒbƒbƒbƒbƒbƒbƒbƒbƒbƒbƒbƒbƒbƒbƒbƒbƒbƒbƒbƒbƒbƒbƒbƒŽƒƒƒ‘ƒ‘ƒVƒ”ƒ•ƒ–ƒ‘€Ðƒ‘€¹ƒSƒœƒƒžƒžƒ¡ƒ¢ƒ£ƒ¤ƒUƒ¦ƒ§ƒ¨€¹ƒ¨ƒ¨ƒ¨ƒ”ƒ®ƒ¯€¹ƒ§ƒ²ƒ²€¹Qƒ¶ƒ¨ƒ¸ƒ¹ƒ¦ƒ»ƒ¼ƒ½ƒ¾‚!ƒ¦ƒÁƒÂƒÃƒÄƒÂƒ¦ƒÇƒÈƒTƒÊƒËƒÌƒÍƒÎƒ¦ƒÐƒÑƒ¨ƒ¦ƒÔƒÕƒÕƒ¯ƒ¯ƒ¯ƒ¯ƒ–ƒÜƒÝƒ•ƒßƒ–ƒ”ƒâƒãƒãƒãƒãƒ¼ƒèƒéƒ¨ƒëƒìƒ¨ƒîƒïƒ¨ƒñƒòƒ¤ƒ¤ƒ¨ƒ¤ƒ¤ƒ¤ƒ¤ƒ¤ƒ¤ƒ¤ƒ¤ƒ¤ƒ¤ƒ¤ƒ¤„„„„„ „ +„„ „ „„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„7„8„9„9„7„<„=„„7„@„A„„D„E„F„G„F„I„I„I„G„G„=„=„„„G„G„„„V„W„G„G„G„G„G„G„G„F„`„G„„d„e„f„g„g„g„g„g„„g„g„g„g„g„g„g„g„g„g„g„g„g„g„g„g„g„g„g„g„g„g„g„„g„g„g„g„g„„7„Œ„„„„„„„„„„–„—„„„„g„„g„g„g„g„g„£„¤„¥„¦„¦„¦„¦„¦„¦„¦„¦„¦„ „°„°„¦„„¦„„¦„¦„¦„¦„¦„¦„¦„¦„¦„¦„¦„¦„¦„„¦„¦„„¦„¦„¦„¦„¦„¦„¦„°„Єф҄ӄӄӄ҄ׄׄ°„ӄׄׄ„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„…„„„°„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„Ó„°„„°„„„°„„°„°„„°„„„„„„„„„„°„„„„„„„„„„„„„„„„„„„„„„„„„„„°„„„…{…|„?…~…~„„„„„„„…z…ˆ„„°„„„„„„„„„„°„„°„„„„°„„„„„„„°„°„„„„„„„„ß…«„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„°„„„„„„„„„„¦„„„„„„„„„„„„„„„„°„„„„„„„„„„„„„„„°„„„„„„„°„°„„„„„„„„„„„„„„„„„„„„°„„„„„„„„„„„„„„„„„„„°„„„„„„„„„„„„„„„„„„„„„„°„°„„°„„„„„°„„„°„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„°„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„°„°„„†£†¤„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„†Ð†Ñ†Ñ†Ñ†Ñ†Ñ†Ñ†Ñ†Ñ†Ñ†Ñ†Ñ†Ñ†Ñ†Ñ†Ñ†Ñ†Ñ†Ñ†Ñ†Ñ†Ñ†Ñ†Ñ„††ê„†ì†í„†ñ†ò†ó†ô†õ†ö†ô†ò†ù†ú†û†ü†ù†þ†ú‡‡‡‡‡†û‡‡‡‡‡‡‡†ú†ú†ú‡‡†þ‡‡‡‡‡‡‡‡†ú†ú†ò‡‡†ò‡!‡"†ò‡$‡%†ò‡'‡(†ò‡*‡+‡,‡-‡,‡/‡/‡/‡/‡/‡+‡5‡6‡5‡8‡8‡8‡8‡+‡+†ò‡?‡@†ô†ò‡C‡D†ò‡F‡G‡‡I‡J‡I‡L‡L‡L‡L‡‡‡R‡S€†‡S‡S‡S‡S‡Z‡[‡D‡D‡D‡@†ò‡a‡b†ò‡d‡e†ò‡g‡h†ò‡j‡k‡g‡m‚‡o†ò‡q‡r‡k‡k‡k†ò‡w‡x‡x‡x‡{‡|‡{‡~‡~‡~‡~‡x†ò‡„‡…‡„‡‡‡z‡‰‡z‡‹‡‰‡‰‡‰‡‰‡‰‡‰‡‰‡‰‡‰‡‰‡‰‡‰‡‰‡‰‡‰‡‰‡‰‡‰‡‰‡‰‡‰‡‰‡‰‡‰‡‰‡‰‡‰‡‰†ò‡©‡ª†ò‡¬‡­‡­†ò‡°‡±‡ª‡k‡k‡ª‡k‡ª‡ª‡ª‡k‡k‡k‡ª‡ª‡¿‡À‡k‡Â‡Ã‡Â‡Å‡Å‡Å‡k‡»‡Ê‡»‡Ì‡Ì‡Ì‡¼‡Ð‡¼‡Ò‡·‡Ô‡·‡Ö‡Ö‡Ö‡Ö‡k‡k‡k‡Ý‡Þ‡Þ‡Þ‡Þ†ò‡ã‡ä‡ä‡ä‡ç‡è‡ç‡ê‡ê‡ê‡ê‡ä‡ä‡ˆ‡ñ†ò‡ó‡ô†ð‡ö‡÷‡ø‡ø‡ø‡ø‡ú‡ý‡ý‡ý‡ý‡ý‡ý‡ý‡ý‡ý‡ý‡ý‡ý‡ý‡ý‡ý‡ý‡ý‡ý‡ý‡ý‡ý‡ý‡ý‡ý‡ý‡ý‡ý‡ý‡ý‡ý‡ý‡ý‡ý‡ý‡ý‡ý‡ý‡ý‡ý‡ý‡ý‡ý‡ý‡ý‡ý‡ý‡ý‡ý‡ý‡ý‡ý‡ý‡ý‡ø‡ø‡ø‡ø‡ø‡ø‡øˆ9ˆ:ˆ:‡ø‡ø‡ø‡÷ˆ@‡ø‡ø‡öˆDˆEˆEˆE‡öˆIˆJˆJˆJ‡öˆNˆOˆOˆOˆOˆOˆOˆO‡öˆWˆXˆOˆOˆOˆOˆOˆOˆOˆOˆOˆNˆc‡öˆeˆfˆgˆhˆhˆfˆOˆOˆOˆOˆcˆOˆOˆOˆOˆXˆqˆvˆQˆxˆQˆzˆzˆzˆzˆzˆOˆsˆˆO‡ø‡øˆfˆ†ˆ‡ˆ‡ˆfˆŠˆ‹ˆf‡öˆŽˆ‡öˆ‘ˆ’ˆ“ˆ”ˆ”ˆ”ˆ”ˆ”ˆ”ˆ”ˆ”ˆ”ˆ”ˆ”ˆ”ˆ”ˆ’ˆ¢ˆ£ˆ¢ˆ¥ˆ¥‡öˆ¨ˆ©ˆ’ˆ«ˆ¬ˆ¬ˆ¬ˆ¬ˆ©ˆ’ˆ¨ˆ³ˆ©ˆµˆ¶ˆ©ˆ¹ˆºˆ»ˆ¼ˆ¼ˆ¿ˆÀˆÁˆÂˆÂˆÂˆÂˆÂˆÂˆÂˆÂˆÂˆÂˆÂˆÂˆÂˆÂˆÂˆÂˆÂˆÔˆÕˆÖˆ×ˆØˆÙ>>>>>>>>>>>>>>>>bÜrˆíˆíˆí€©ˆñ€¼€»ˆô€»ˆöˆö€é€ñÚÚ4ˆýˆþˆþˆþˆþˆþˆþˆþˆþˆý‰‰‰‰‰‰‰‰‰‰‰‰‰<)€Ð€Ð€¹€¹€¹€¹€¹€¹€¹ŠŠ‰"‰#‰%‰&‰&‰)‰*€£‰-.‰/.‰1/‰/‰/‰1/‰/‰//‰/-‰<‰=‰=‰=‰=‚‚‚‚‚-‰G‰H‰H———————————————————————;;;;;:‰g‰g-‰j‰k‰j‰m‰j‰o-‰q‰r¦‰t‰u¦‰w‰x¦‰z‰{‚V]‰~‰‰€¤‚‰ƒ‚g‰…‰…‡o‚ò‚ò‚ò‚ò‚ý‰‰Ž‰Ž‰Ž‚þ‰’‰’ƒ‰•ƒ ƒ ƒ ƒƒƒƒ‰ƒ‰Ÿƒ‰¡‰¡‰¡‰¡‰¡‰¡‰¡‰¡‰¡‰¡‰¡‰¡‰¡‰¡‰¡‰¡‰¡‰¡‰¡‰¡‰¡‰¡‰¡‰¡‰¡‰¡‰¡‰¡‰¡ƒƒƒJ‰ÁƒP‰Ãƒ?ƒ‰Æ‰Æ‰Æ‰Æ‰Æ‰Æ‰Æ‰Æ‰Æ‰Æ‰Æ‰Æ‰Æ‰Æ‰Æ‰Æ‰Æ‰Æ‰Æ‰Æ‰Æ‰Æ‰Æ‰Æƒ‰ßƒY‰áƒY‰ã‰ã‰ã‰ã‰á‰á‰áƒ‰ë‰ë‰ë‰ë‰ë‰ë‰ë‰ë‰ë‰ë‰ë‰ë‰ë‰ë‰ëƒ‘ƒ‘‰ë‰ë‰ë‰ë‰ë‰ë‰ë‰ë‰ë‰ë‰ë‰ë‰ë‰ë‰ë‰ë‰ë‰ë‰ë‰ë‰ë‰ëƒËŠŠŠŠŠŠŠŠŠŠŠŠŠŠŠŠŠŠƒ§Š&Š&Š&Š&Š&Š&Š&Š&Š&Š&ƒ¨ƒ¨ƒ¨Š&Š&Š&Š&Š&Š&Š&Š&Š&Š&Š&Š&Š&Š&Š&Š&Š&ƒ¨ƒ¨ƒ¨ƒ¨ƒ¨Š&Š&Š&Š&Š&Š&Š&Š&Š&Š&Š&Š&ƒ¨Š&Š&Š&Š&Š&ƒ¨Š&Š&Š&Š&Š&ƒ¨ƒ¨ƒ¨Š&Š&Š&ƒ§Šhƒ§ŠjŠ&ŠhŠjŠ&Š&Š&Š&Š&ŠhŠ&ŠhŠ&Š&Š&Š&Š&ƒ»Š|ƒÂƒÂƒÂƒÈƒÈƒÈƒÈƒÈƒÈƒÈƒÈƒÈƒÈƒÈƒÈƒÈƒÈƒÈƒÈƒÈƒÈƒÈƒÈƒÇŠ•Š•Š•Š•Š•Š•Š•Š•Š•Š•Š•Š•Š•Š•Š•Š•Š•Š•Š•Š•ƒ¦ŠªŠ«Š«Š«Š«Š«Š«Š«Š«ŠªŠ´ŠªŠ¶Š´Š¶Š´Š¶Š«Š«Š«Š«Š´Š´Š«Š´Š¶Š´Š¶Š«Š´Š´Š´Š´Š´Š«Š«Š«Š«Š«Š«Š«Š«Š´Š¶Š«Š«Š«Š«ƒÐŠÛŠÛŠÛŠÛƒ¦ŠàŠáŠáŠáŠáŠáŠàŠçŠáŠáŠáŠáŠáŠáŠáŠáŠáŠáŠáŠáŠáŠáŠáŠáƒÕƒÕƒÕƒ®Šüƒ®ŠþŠþŠþŠþŠþŠþŠþŠþŠüŠþŠþŠüƒ®‹ ŠþŠþŠüŠþŠþŠþŠþƒ¯ƒ¯ƒ¯ƒ¯ƒ¯ƒ–ƒ–ƒ–ƒ–ƒãƒãƒ”‹‹ ƒ¤ƒ¤ƒ¤ƒ¤ƒ¤ƒ¤„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„4‹I‹J‹K‹K‹K‹K‹K‹K‹K‹K‹J‹T‹K„„„8‹Y‹Y„9‹Y‹Y‹Y„<‹`‹`‹`‹`‹`‹`‹`‹`‹`‹`‹`‹`‹`„7‹n‹o„7‹q‹r„A„G„g„g„g„g„g„g„g„g„g„g„g„g„g„g„g„g„g„g„g„g„g„g„g„g„g„g„g„g„g„g„g„g„g„g„g„g„g„g„g„g„g„g„g„g„g„g„g„g„g„g„g„g„g„g„g„g„g„g„g„g„g„g„g„¦„¦„¦„ ‹¸‹¸„ ‹»„„„„„„„„„„„„„„„„„„„„„„„„„„„„°„„„„„„„„„„„„„„„„„„°„„„„„„„„„„„„„„„„„„°„„„„„„„°„„„„„„„„„„„„„„„„„„„„„„„„„°„„„„„„„„„„„„„„„„„„°„„„„„„„„„„„„„‹»‹»†þ†þ‡*Œ@Œ@Œ@Œ@Œ@‡+‡‡‡‡‡dŒK†òŒMŒN‡wŒP‡wŒR‡wŒTŒPŒT‡x‡x‡x‡ª‡ª‡ä‡ä‡ãŒ_Œ_Œ_‡ãŒc‡…‡ø‡ø‡öŒhŒiˆ’ˆOˆ»Œmˆ¼ˆ»ŒpŒpŒsŒtŒuŒvŒvˆÁŒyŒyŒyŒyˆÂˆÂˆÂˆÂŒ‚ŒƒŒ„Œ…Œ…Œ…Œ…ŒŠŒ‹ŒŒŒŒŒŒ‘Œ’Œ”Œ•Œ–Œ—Œ—Œ—ˆ×ˆÖŒœŒž€â€½€¶¾¿x½x¾ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏЀ¾¾Ñ€¨¾Ò€¢¾ÓÔÕÖ€ž¾×Õ½€â¾ØÕÙÚÛÜÝÞ߀ë¾ày¾á{½|¾âÕ€ˆ¾ãäåæç€Ö¾èéꀆ¾ë€’¾ì€Ð¾í½¾îïÙðÕñ€€¾òóÕæçÕô~¾õÕö€„¾÷øäùÕöúäûüýþÿ‚Ù‚‚€‚¾‚‚Õ‚Õ€º¾‚‚Õ‚€Æ¾‚ €Ò¾‚ +‚ ¾‚ €À¾‚ €Š¾‚Õ‚ÕÖä‚æAÙ‚€¬¾‚€Œ¾‚‚Õ‚ä‚æ‚‚‚‚‚ä‚‚‚قق䂀ľ‚ ‚!€Ú¾‚"‚#‚$‚%€Ž¾‚&Õäåæç‚'‚(Ù‚)Õæç‚*€¾‚+‚,Õ‚-Õ‚.Õ‚/‚0Հؾ‚1‚2€”¾‚3‚4Õä‚5æ‚6‚7‚8‚9ä‚5Õæ‚6Ù‚:‚;‚<‚=‚>‚?‚@‚A‚B‚C‚D‚E‚F‚G‚H‚I‚J‚K‚L‚M‚N‚O‚P‚Q‚R‚S‚T€–½€—¾‚Uä‚V‚W€›¾‚X‚Yä‚Zþ‚[ÿ‚\‚]€ò‚^Õ‚_Հ¾‚`Ö€¤¾‚a€ ¾‚b€¦¾‚c€ª¾‚d€Ì¾‚eþ‚fÙ‚gÿÙ‚h‚i‚j‚k‚l‚m‚n‚o‚p‚q‚rÕ‚s‚tæ‚u‚v‚w‚x‚y‚z‚{‚|‚}Õ‚~€¸¾‚€Ü¾‚€‚€®¾‚‚€²¾‚ƒ€Þ¾‚„‚…Õ‚†‚‡€ê¾‚ˆÕ€¼¾‚‰€Î¾‚Š‚‹‚Œ€™¾‚½€û¾‚ŽÕ‚‚‚‘‚’‚“‚”ÕրȾ‚•‚–‚—€ý¾‚˜Õ‚‘‚‚‚™Õ‚š‚›‚œÕ‚‚ž€ñ¾‚€Õ€à¾‚Ÿ‚ Õ‚¡‚¢P‚£‚¤Ù‚¥Ù‚¦Ù‚§‚¨‚©‚ª‚«Ù‚¬‚­‚®‚¯‚°‚±‚²‚³‚´‚µ‚¶‚·‚¸‚¹‚º‚»‚¼‚½‚¾‚¿‚À‚Á‚‚ÂĂłƂǂȂɂʂ˂̂͂΂ςЂт҂ӂԂՂւ×!¾‚؂ـ徂ڀ羂ۂܾ‚Ý‚Þ¾‚ß¾‚à‚á‚â‚ã‚ä‚å‚æ‚ç‚è‚é‚á‚ê‚ë‚ì‚í‚î€ì¾‚ï€ù¾‚ð‚ñ‚‚òÙ‚ó€ÿ¾‚ï‚ñ‚ô‚õ‚öä‚÷‚øÕ‚‚‚ù‚ú‚û‚ü‚ý‚þ‚ÿ¾ƒƒƒƒ¾ƒƒƒ‚Ⴣƒ ƒ +ƒ ƒ ¾ƒ ƒƒ ¾ƒƒƒƒ¾ƒƒ¾ƒƒƒƒƒƒƒƒƒƒÙƒ ƒ!ƒ"ƒ#ƒ$‚áƒ%ƒ&ƒ'ƒ( ¾ƒ)‚áƒ*¾ƒ+ƒ,Õƒ-ƒ.ƒ/äƒ0Õƒ1¾ƒ2Õƒ3Õƒ4Õƒ5ƒ6ƒ7ƒ8ƒ9ƒ:ƒ;‚áƒ<ƒ=ƒ>ƒ?ƒ@ƒAƒBƒC¾ƒD‚á‚âƒE‚áƒFƒGƒHƒIƒJƒK¾ƒLƒM‚áƒNƒOƒPƒQƒRƒSƒTƒUƒVƒWƒXƒYƒZƒ[ƒ\ƒ]ƒ^ƒ_ÕÙƒ`ƒaƒbƒcƒdƒeƒfƒg€õ¾ƒhƒiÕ#½#¾ƒj$¾ƒkƒlÙƒmƒnƒo&½'¾ƒpÙƒqƒrƒsƒt‚áƒu)¾ƒvƒwÕƒx+¾ƒy-¾ƒz‚áƒ{ƒ|ƒ}ƒ~/½0¾ƒ/¾ƒ€ƒ4¾ƒ‚ÕƒƒÕƒ„ƒ…䃆ƒ‡ƒˆƒ‰ƒŠƒ‹ƒŒƒƒŽƒƒƒ‘ƒ’ƒ“ƒ”ƒ•ƒ–7¾ƒ—ƒ˜ƒ™ƒš‚მƒœƒÙƒž2¾ƒŸƒ Õ5¾ƒ¡9=>K:½:¾ƒ¢ƒ£;½;¾ƒ¤Ùƒ¥ƒ¦ƒ§ƒ¨ƒ©ƒªƒ«ƒ¬ƒ­ƒ®ƒ¯ƒ°ƒ±ƒ²ƒ³ƒ´ƒµƒ¶ƒ·ƒ¸ƒ¹ƒºƒ»ƒ¼ƒ½ƒ¾ƒ¿ƒÀƒÁƒÂƒÃƒÄƒÅƒÆƒÇƒÈƒÉƒÊƒËƒÌƒÍƒÎƒÏ<½<¾ƒÐƒÑ½L¾ƒÒƒÓƒÔƒÕƒÖ½9ƒ×ƒØƒÙR½R¾ƒÚ½>¾ƒÛƒÜƒÝƒÞƒßK¾ƒàƒá‚áƒâƒãƒäÕƒxƒåÕ?¾ƒæÕƒç@¾ƒèÕÖƒéB¾ƒê½=¾ƒëÕF¾ƒìƒíJ¾ƒîƒïƒðƒñƒòƒóƒôÕÙƒõƒöN¾ƒ÷ƒøƒùƒúƒûÕƒüÕƒýÕƒþÕƒÿ„„„„„„„„„„ „ +„ „ „ gVU½U¾„Õ½g¾„„„S½S¾„„„„„„„Ù„Õ„„„„„„„ „!„"„#„$„%„&„'„(„)„*„+„,T„-„.½Y¾„/„0[Ù„1„2a¾„3„4c½c¾„5Ù„6„7„8„9„:„;„<„=„>„?„@„A„BÕ„C„D„E„F„G„H„I‚á„J„K„Ld½d¾„M„N„O„P„Q„R„S„T„U„V„W„X„Y„Z„[„\„]„^„_„`„a„b„c„d„e„f‚U„g„h„i„j„k„l„m„n„oW¾„p„q„r„s„t„u„v„w„xÕ„y„z„{„|„}„~„„€„„‚e½e¾„ƒ„„„…„†„‡„ˆ„‰„Š„‹‚á„Œ„„Ž„„„‘„’„“„”„•„–„—„˜„™„š„›„œ„„ž„Ÿ„ „¡„¢„£„¤„¥„¦„§„¨„©„ªf½f¾„«„¬„­‚á„®„¯„°„±„²„³„´„µ„¶„·„¸„¹„º„»„¼„½„¾„¿„À„Á„„ÄĄńƄDŽȄɄʄ˄̄̈́΄τЄф҄ӄԄՄքׄ؄لڄۄ܄݄ބ߄à„á„â„ã„ä„å„æ„ç„è‚„é„ê„ë„ì„í„î„ï„ð„ñ„ò„ó„ô„õ„ö„÷„ø„ù„ú„û„ü„ý„þ„ÿ………………………… … +… … … ………………………………………………… …!…"…#…$…%…&…'…(…)…*…+…,…-….…/…0…1…2…3…4…5…6…7…8…9…:…;…<…=…>…?…@…A…B…C…D…E…F…G…H…I…J…K…L…M…N…O…PÕþ…Q…R…S…T…U…V…W…X…YÕƒ1…Z…[…\…]…^…_…`…a…b…c…d…e…f…g…h…i…j…k…l…m…n…o…p…q…r…s…t…u…v…w…x…y…zþ…{…|…}…~……€……‚…ƒ…„………†…‡…ˆ…‰…Š…‹…Œ……Ž………‘…’…“…”…•…–…—…˜…™…š…›…œ……ž…Ÿ… …¡…¢…£…¤…¥…¦…§…¨…©…ª…«…¬…­…®…¯…°…±…²…³…´…µ…¶…·…¸…¹…º…»…¼…½…¾…¿…À…Á……ÅąŅƅDžȅɅʅ˅̅ͅ΅υЅх҅ӅԅՅօׅ؅مڅۅ܅݅ޅ߅à…á…â…ã…ä…å…æ…ç…è…é…ê…ë…ì…í…î…ï…ð…ñ…ò…ó…ô…õ…ö…÷…ø…ù…ú…û…ü…ý…þ…ÿ†††††††††† † +† † † ††††††††††††††††††† †!†"†#†$†%†&†'†(†)†*†+†,†-†.†/†0†1†2†3†4†5†6†7†8†9†:†;†<†=†>†?†@†A†B†C†D†E†F†G†H†I†J†K†L†M†N†O†P†Q†R†S†T†U†V†W†X†Y†Z†[†\†]†^†_†`†a†b†c†d†e†f†g†h†i†j†k†l†m†n†o†p†q†rÕ†s†t†u†v†w†x†y†z†{†|†}†~††€††‚†ƒ†„†…†††‡†ˆ†‰†Š†‹†Œ††Ž†††‘†’†“†”†•†–†—†˜†™†š†›†œ†Ù†ž†Ÿ† †¡†¢†£†¤†¥†¦†§†¨†©†ª†«†¬†­†®†¯†°†±†²†³†´†µÕ†¶†·Õ†¸¡h½i¾†¹Ù†º†»k¾†¼Õ†½Ù†¾†¿Ù†À†Á†Â†Ãä†Ä†Å†Æ†Ç†È†É†Ê†Ë†Ì†ÍÕ†½†Éä†Ä†Å†Æ†Ç†È†É†Ê†Î†Ïy¾†Ðm¾†Ñƒ¾†Òo¾†Óu¾†ÔÕƒ1نՆֆ׆؆نÚÕƒ1Ùg†Û†Ü†Ý…†Þ}¾†ß†à{¾†áw¾†â†ãÕƒ1ÙP‚£†ä‚Á†å†æÙ†ç†è†é†ê†ë†ì€Ô¾†í†î†ï†ð†ñ¾†ò…¾†ó‡¾†ô™¾†õƒ×†ö†÷†ø‰¾†ù†ú†û†ü¾†ý†þ†ÿÕƒ1Ù‡‡‡‡‡Ù‡¾‡Ù‡ÕÖ‡‡ ‡ +‡ ‡ ‡ ‡‡‡‡‡‡‡‡‡‡‡‡‡‡‡‡‡‡‡ ‡!‡"‡#“¾‡$‘¾‡%‡&•¾‡'‡(‡)‡*‡+‡,‡-‡.‡/‡0‡1‡2‡3‡4ÕÖ‡5ÕÖÙ‡6‡7‡8‡9ÕÖÙ‡:‡;‡<ÕÖÙ‡=ÕÖÙ†Õ†Ö‡>‡?‡@‡A‡Bä>‡C‡Dq›¾‡E‡F‡GÕÖÙ‡H‡IP‡J‡K‡LÕŸ¾‡M½¡¾…~‡N‡O‡PÙ‡Q‡R‡S‡T‡U‡V‡W‡X‡Y‡Z‡[‡\‡]‡^‡_‡`‡a‡b‡c‡d‡e‡f‡g‡h‡i‡j‡k‡l‡m‡n‡o‡p‡q‡r‡s‡t‡u‡v‡w‡x‡y‡z‡{‡|‡}‡~‡‡€‡‡‚‡ƒ‡„‡…‡†‡‡‡ˆ‡‰‡Š‡‹‡ŒÙ‡‡Ž‡‡‡‘ƒ×‡’‡“‡”¢¾‡•‡–‡—¦¾‡˜‡™‡š¨¾‡›‡œ‡‡ž‡Ÿ‡ ‡¡¬¾‡¢‡£‡¤‡¥†ñ‡¦‡§‡¨‡©‡ª‚ᇫª¾‡¬Ù‡­‡®‡¯‡°‡±‡²‡³‡´‡µ‡¶‡·‡¸‡¹ä‡ºÕ‡»ä‡¼pq‡½‡¾‡¿Õ‡À‡Á‡Â‡ÃÙ‡Ä0‡ÅهƇǮ¾‡È¯¾‡Éهʇˇ͇̇·χЇч҇ӇԂЇՇÖÕهׇر¾‡Ù†[هڇۇ܇?‡Ý‡Þ‚á‡ß‡àÙ‡á‡â³½³¾‡ã‡äµ½µ¾‡å‡æ‡ç‡è‡é‡ê‡ë‡ì‡í‡î‡ï‡ð‡ñ‡ò‡ó‡ô‡õ¼½¼¾‡öÕ‡÷‡ø‡ù‡ú‡û‡ü‡ý‡þ‡ÿˆˆˆˆˆˆˆˆˆ†÷ˆ ˆ +ˆ Ùˆ ˆ Ùˆ†÷ˆˆˆˆˆˆ€–Ùˆˆˆˆˆˆˆ†÷ˆˆˆˆˆ ˆ!ˆ"ˆ#ˆ$ˆ%ˆ&ˆ'ˆ(ˆ)ˆ*ˆ+ˆ,ˆ-ˆ.ˆ/ˆ0ˆ1ˆ2ˆ3ˆ4ˆ5€°¾ˆ6€´†÷ˆ7ˆ8€Ê†÷ˆ9ˆ:ˆ;ˆ<†÷ˆ=Ùˆ>ˆ?ˆ@ˆAˆBˆCˆDˆEˆFˆG€ã¾ˆHˆIˆJˆKˆLˆMˆNˆOˆP€é¾ˆQˆRˆSˆTˆUˆVˆWˆXˆYˆZˆ[ˆ\ˆ]ˆ^ˆ_ˆ`ˆaˆbˆcˆdˆeˆfˆgˆhˆiˆjˆkˆlˆmˆn†÷ˆoˆp€îÙˆqˆrˆq†÷ˆs€ï¾ˆt€ó¾ˆu€÷¾ˆv€ú¾ˆwˆx ¾ˆyˆzˆ{†÷ˆ|‚áˆ}ˆ~ˆˆ€ˆˆ‚ˆƒ&†÷ˆ„ˆ…ˆ(†÷ˆ†ˆ‡†÷ˆˆˆ‰ˆŠˆ‹ˆŒˆˆŽ†÷ˆÙˆˆ;ˆ‘ˆ’ˆ“ˆ”ˆ•ˆ–ˆ—ˆ˜ˆ™ˆšˆ›ˆœˆˆžˆŸˆ ˆ¡ˆ¢ˆ£ˆ¤ˆ¥ˆ¦ˆ§ˆ¨ˆ©ˆªˆ«ˆ¬ˆ­ˆ®ˆ¯ˆ;ˆ°ˆ;ˆ±ˆ²Ùˆ³ˆ´ˆµˆ¶ˆ·ˆ¸ˆ¹ˆºˆ»ˆ¼ˆ½ˆ¾ˆ¿ˆÀˆÁˆÂˆÃˆÄˆÅˆÆˆÇˆÈˆÉˆÊ¾ˆË†÷ˆÌو͈ΈψЈш҈ӆ÷ˆÔˆÕˆÖˆ×ˆØˆÙˆÚˆÛˆÜˆÝˆÞˆßˆàˆáˆâˆãˆäˆåˆæˆçˆèˆéˆêˆëˆìˆíˆîˆïˆðˆñˆòˆóˆôˆõˆöˆ÷ˆøˆùˆú†÷ˆûˆüˆýˆþˆÿ‰‰‰‰‰‰‰‰‰‰ ‰ +‰ ‰ †÷‰ ‰‰‰‰‰‰‰‰‰‰‰‰‰‰‰‰‰‰‰ ‰!‰"‰#‰$‰%‰&‰'‰(‰)‰*‰+‰,‰-‰.‰/‰0‰1‰2‰3‰4‰5‰6‰7‰8‰9‰:‰;‰<‰=‰>‰?‰@‰A‰B‰C‰D‰E‰F‰G‰H‰I‰J‰K‰L‰MÙ‰Nˆr‰N‰O‰P‰P‰Q‰R‰S‰T‰U‰V‰W‰X‰Y‰Z‰[‰\‰]Ù‰^‰_‰`‰a‰b‰c‰d‰e‰f‰g‰h‰i‰j‰k‰l‰m‰n‰o‰p‰q‰r‰s‰t‰u†÷‰v‰w‰x‰y‰z‰{‰|‰}‰~‰‰€‰‰‚‰ƒ‰„‰…‰†‰‡‰ˆ‰‰D†÷‰Š‰‹‰Œ‰‰Ž‰‰‰‘Ù‰’ˆr‰’‰“‰“‰”‰”‰•‰–‰—‰˜‰™‰š‰›‰œ‰œ‰‰‰ž‰Ÿ‰ ‰¡‰¢‰£‰¤‰¥‰¦‰§‰¨‰©‰ª‰«‰¬‰¬‰­‰®‰¯‰°†÷‰±‰²‰³‰´H†÷‰µ‰¶‰·‰¸‰¹¾‰º‰»‰¼‰½‰¾‰¿‰À‰Á‰Â‰Ã‰Ä‰Å‰Æ‰Ç‰È‰É‰Ê‰Ë‰Ì‰ÍىΆ÷‰Ï‰Ð‰Ñ‰Ò‰Ó‰Ô‰Õ‰Ö‰×‰Ø‰Ù‰Úˆr‰Ú‰Û‰Ü‰Ý‰Þ‰ß‰à‰á‰â‰ã‰ä‰å‰æ‰ç‰è‰é‰ê‰ë‰ìP¾‰í‰î‰ï‰ð‰ñ‰ò‰ó‰ô‰õ‰ö‰÷‰ø‰ù‰ú‰û‰ü‰ý‰þ‰ÿŠŠŠŠŠŠŠŠŠŠ Š +Š Š Š ŠŠŠŠŠŠŠ½T†÷ŠŠŠŠŠŠŠŠ¾ŠŠŠŠ †÷Š!Š"Š#Š$Š%Š&†÷Š'Š(Š)Š*Š+Š,Š-Š.Š/Š0Š1Š2Š3]¾Š4_¾Š5Š6Š7Š8Š9Š:Š;Š<Š=Š>Š?Š@ŠAŠBŠCŠDŠEŠFŠGŠHŠIŠJŠKŠLŠMŠNŠOŠPŠQŠRŠSŠTŠUŠVŠWŠXŠYŠZŠ[Š\„#Š]Š^Š_Š`ŠaŠbŠcŠdŠeŠfŠg…5ŠhŠiŠjŠkŠlŠmŠnŠoŠpŠqŠrŠsŠtŠuŠvŠwÙŠxŠy†÷ŠzŠ{Š|Š}Š~ŠŠ€ŠŠ‚ŠƒŠ„Š…Š†Š‡ŠˆŠ‰ŠŠŠ‹ŠŒŠŠŽŠŠŠ‘Š’Š“Š”Š•Š–Š—Š˜Š™ŠšŠ›ŠœŠŠžŠŸŠ Š¡Š¢Š£Š¤Š¥Š¦Š§Š¨Š©ŠªŠ«Š¬Š­Š®Š¯Š°Š±Š²Š³Š´ŠµŠ¶Š·Š¸Š¹ŠºŠ»Š¼Š½Š¾Š¿ŠÀŠÁŠÂŠÃŠÄŠÅŠÆŠÇŠÈŠÉŠÊŠËŠÌŠÍŠÎŠÏŠÐŠÑŠÒŠÓŠÔŠÕŠÖŠ×ŠØŠÙŠÚŠÛŠÜŠÝŠÞŠßŠàŠáŠâŠãŠäŠjŠåŠæŠçŠèŠéŠêŠëŠqŠìŠíŠîŠïŠðŠñŠòŠóŠôŠõŠöŠ÷ŠøŠùŠúŠûÙŠüŠýŠþŠÿ‹‹‹‹‹‹†÷‹‹¾Š÷†÷‹ˆr‹Ù‹‹ ‹ +‹ ‹ ‹ ‹‹‹‹Ù‹‹‹†÷‹‹‹‹¤¾‹‹‹Ù‹‹†÷‹‹´½´†÷‹ ‹!†÷‹"‹#‹$‹%‹&‹'Š‡‹(¶½¶¾‹)‹*‹+‹,·½¸†÷‹-º½º†÷‹.»½»Ù‹/‹0‹1ˆûÙ‹2accumulatednonEncodablekeyvalueobjectoliststartendchunkbufferabsourceindexeelementpreviousValueinputRmatchdatav1v2sourceElemententrykey1key2potentialKeysubscriptionsuccessValueerrorstackTracecomputationCountsinkeventpreviousnextstreamcancelOnErroroutputtimerselfparentzonefargTarg1arg2T1T2durationperiodlinespecificationzoneValuesargumentargument1argument2stackmessagemethodparametersnameschangesdecodedDatatransactionresultSetblobfileSystemcurrentUsageInBytescurrentQuotaInBytesgrantedQuotaInBytesentriesscrollStatemetadatafileWriterfilefontFacefontFaceAgainsetpositionobservermutationsnodepermissionavailablereportsresponseexceptionhighResTimedatabasedeadlinerequestbodyonErrorzoneSpecificationsourceAddresstimeoutbacklogsharedv6Onlysocketcertificaterequestedvaluesurlschemerealmhostportcertbytescrurienvironmentprotocolsdart:typed_datadart:typed_data/unmodifiable_typed_data.dartunmodifiable_typed_data.dartdart:convertdart:convert/ascii.dartascii.dartdart:convert/base64.dartbase64.dartdart:convert/byte_conversion.dartbyte_conversion.dartdart:convert/chunked_conversion.dartchunked_conversion.dartdart:convert/codec.dartcodec.dartdart:convert/converter.dartconverter.dartdart:convert/encoding.dartencoding.dartdart:convert/html_escape.darthtml_escape.dartdart:convert/json.dartjson.dartdart:convert/latin1.dartlatin1.dartdart:convert/line_splitter.dartline_splitter.dartdart:convert/string_conversion.dartstring_conversion.dartdart:convert/utf.dartutf.dartdart:mathdart:math/point.dartpoint.dartdart:math/random.dartrandom.dartdart:math/rectangle.dartrectangle.dartdart:coredart:core/annotations.dartannotations.dartdart:core/bigint.dartbigint.dartdart:core/bool.dartbool.dartdart:core/comparable.dartcomparable.dartdart:core/date_time.dartdate_time.dartdart:core/double.dartdouble.dartdart:core/duration.dartduration.dartdart:core/errors.darterrors.dartdart:core/exceptions.dartexceptions.dartdart:core/expando.dartexpando.dartdart:core/function.dartfunction.dartdart:core/identical.dartidentical.dartdart:core/int.dartint.dartdart:core/invocation.dartinvocation.dartdart:core/iterable.dartiterable.dartdart:core/iterator.dartiterator.dartdart:core/list.dartlist.dartdart:core/map.dartmap.dartdart:core/null.dartnull.dartdart:core/num.dartnum.dartdart:core/object.dartobject.dartdart:core/pattern.dartpattern.dartdart:core/print.dartprint.dartdart:core/regexp.dartregexp.dartdart:core/set.dartset.dartdart:core/sink.dartsink.dartdart:core/stacktrace.dartstacktrace.dartdart:core/stopwatch.dartstopwatch.dartdart:core/string.dartstring.dartdart:core/string_buffer.dartstring_buffer.dartdart:core/string_sink.dartstring_sink.dartdart:core/symbol.dartsymbol.dartdart:core/type.darttype.dartdart:core/uri.darturi.dartdart:_internaldart:_internal/async_cast.dartasync_cast.dartdart:_internal/bytes_builder.dartbytes_builder.dartdart:_internal/cast.dartcast.dartdart:_internal/errors.dartdart:_internal/iterable.dartdart:_internal/list.dartdart:_internal/linked_list.dartlinked_list.dartdart:_internal/print.dartdart:_internal/sort.dartsort.dartdart:_internal/symbol.dartdart:collectiondart:collection/collections.dartcollections.dartdart:collection/hash_map.darthash_map.dartdart:collection/hash_set.darthash_set.dartdart:collection/iterable.dartdart:collection/iterator.dartdart:collection/linked_hash_map.dartlinked_hash_map.dartdart:collection/linked_hash_set.dartlinked_hash_set.dartdart:collection/linked_list.dartdart:collection/list.dartdart:collection/maps.dartmaps.dartdart:collection/queue.dartqueue.dartdart:collection/set.dartdart:collection/splay_tree.dartsplay_tree.dartdart:asyncdart:async/async_error.dartasync_error.dartdart:async/broadcast_stream_controller.dartbroadcast_stream_controller.dartdart:async/deferred_load.dartdeferred_load.dartdart:async/future.dartfuture.dartdart:async/future_impl.dartfuture_impl.dartdart:async/schedule_microtask.dartschedule_microtask.dartdart:async/stream.dartstream.dartdart:async/stream_controller.dartstream_controller.dartdart:async/stream_impl.dartstream_impl.dartdart:async/stream_pipe.dartstream_pipe.dartdart:async/stream_transformers.dartstream_transformers.dartdart:async/timer.darttimer.dartdart:async/zone.dartzone.dartdart:isolatedart:isolate/capability.dartcapability.dartdart:developerdart:developer/extension.dartextension.dartdart:developer/profiler.dartprofiler.dartdart:developer/service.dartservice.dartdart:developer/timeline.darttimeline.dartdart:ffidart:ffi/native_type.dartnative_type.dartdart:ffi/allocation.dartallocation.dartdart:ffi/annotations.dartdart:ffi/dynamic_library.dartdynamic_library.dartdart:ffi/struct.dartstruct.dartdart:_js_embedded_namesdart:_js_namesdart:_recipe_syntaxdart:_rtidart:_foreign_helperdart:_js_helperdart:_js_helper/annotations.dartdart:_js_helper/constant_map.dartconstant_map.dartdart:_js_helper/instantiation.dartinstantiation.dartdart:_js_helper/native_helper.dartnative_helper.dartdart:_js_helper/regexp_helper.dartregexp_helper.dartdart:_js_helper/string_helper.dartstring_helper.dartdart:_js_helper/linked_hash_map.dartdart:_interceptorsdart:_interceptors/js_array.dartjs_array.dartdart:_interceptors/js_number.dartjs_number.dartdart:_interceptors/js_string.dartjs_string.dartdart:_native_typed_datadart:web_gldart:js_utildart:_metadatadart:html_commondart:html_common/css_class_set.dartcss_class_set.dartdart:html_common/conversions.dartconversions.dartdart:html_common/conversions_dart2js.dartconversions_dart2js.dartdart:html_common/device.dartdevice.dartdart:html_common/filtered_element_list.dartfiltered_element_list.dartdart:html_common/lists.dartlists.dartdart:indexed_dbdart:svgdart:web_audiodart:web_sqldart:htmldart:iodart:io/common.dartcommon.dartdart:io/data_transformer.dartdata_transformer.dartdart:io/directory.dartdirectory.dartdart:io/directory_impl.dartdirectory_impl.dartdart:io/embedder_config.dartembedder_config.dartdart:io/eventhandler.darteventhandler.dartdart:io/file.dartfile.dartdart:io/file_impl.dartfile_impl.dartdart:io/file_system_entity.dartfile_system_entity.dartdart:io/io_resource_info.dartio_resource_info.dartdart:io/io_sink.dartio_sink.dartdart:io/io_service.dartio_service.dartdart:io/link.dartlink.dartdart:io/namespace_impl.dartnamespace_impl.dartdart:io/network_policy.dartnetwork_policy.dartdart:io/network_profiling.dartnetwork_profiling.dartdart:io/overrides.dartoverrides.dartdart:io/platform.dartplatform.dartdart:io/platform_impl.dartplatform_impl.dartdart:io/process.dartprocess.dartdart:io/secure_server_socket.dartsecure_server_socket.dartdart:io/secure_socket.dartsecure_socket.dartdart:io/security_context.dartsecurity_context.dartdart:io/service_object.dartservice_object.dartdart:io/socket.dartsocket.dartdart:io/stdio.dartstdio.dartdart:io/string_transformer.dartstring_transformer.dartdart:io/sync_socket.dartsync_socket.dartdart:_httpdart:_http/crypto.dartcrypto.dartdart:_http/http_date.darthttp_date.dartdart:_http/http_headers.darthttp_headers.dartdart:_http/http_impl.darthttp_impl.dartdart:_http/http_parser.darthttp_parser.dartdart:_http/http_session.darthttp_session.dartdart:_http/overrides.dartdart:_http/websocket.dartwebsocket.dartdart:_http/websocket_impl.dartwebsocket_impl.dartdart:jsdart:_jsdart:mirrorsdart:nativewrappersdart:clidart:cli/wait_for.dartwait_for.dartdart:_js_primitivesdart:_async_await_error_codesdart:_js_annotations@unit@classintUint8ListInt8ListUint8ClampedListUint16ListInt16ListUint32ListInt32ListUint64ListInt64ListInt32x4ListFloat32ListFloat64ListFloat32x4ListFloat64x2ListByteDataByteBufferTypedDataListdoubleboolEndian@constructor_pragmaSince@getterbig_TypedIntList_TypedFloatListFloat32x4Int32x4Float64x2UnmodifiableListBase_UnmodifiableListMixinAsciiCodecEncoding@field_allowInvalid@parameterallowInvalidStringAsciiEncoderAsciiDecoderConverterStringConversionSinkSinkStream_UnicodeSubsetEncoder_asciiMaskStringConversionSinkBaseByteConversionSink_UnicodeSubsetDecoderByteConversionSinkBaseBase64CodecurlSafeCodecBase64Encoder_encoderBase64Decoder_urlSafe_Base64Encoder_Base64EncoderSink@method-_Base64Decoder_invalid_paddingChunkedConversionSink_ByteCallbackSink_ByteAdapterSinkIterable_SimpleCallbackSinkEventSinkObjectStackTraceStreamTransformerBaseFutureMapHtmlEscapeHtmlEscapeMode_nameunknownErrorJsonUnsupportedObjectErrorJsonCodecdynamic_reviverreviver_toEncodabletoEncodableJsonEncoderJsonDecoderindentJsonUtf8Encoder_defaultBufferSizedeprecatednum_JsonStringifierStringSink_JsonStringStringifier_JsonPrettyPrintMixin_JsonUtf8StringifierLatin1CodecLatin1EncoderLatin1Decoder_latin1Mask_Latin1DecoderSink_LineSplitterSink_StringCallbackSink_StringAdapterSink_StringSinkConversionSinkClosableStringSink_ClosableStringSinkStringBufferStringConversionSinkMixin_Utf8DecoderUtf8Codec_allowMalformedallowMalformedUtf8EncoderUtf8Decoder_Utf8Encoder_IA_X1_X2_TS_E3_E2_TO_QR_X3_QO_B1_E1_E4_E6_E5_B2_ABIABBABE1E2E3E4E5E6E7PointxyRectangle_RectangleBasewidth<*heightDeprecated_OverrideNullComparableBigIntDateTimeDurationRegExp/infinitymicrosecondsPerMillisecondmillisecondsPerSecondmicrosecondsPerSecondsecondsPerMinutemicrosecondsPerMinuteminutesPerHourmicrosecondsPerHourhoursPerDaymillisecondsPerMinutemillisecondsPerHoursecondsPerHour_microsecondsmicrosecondsPerDaydayshours+minutessecondsmillisecondsmicrosecondsArgumentErrorIndexErrorRangeErrorInvocationSymbolUnsupportedErrorExceptionFunctionType_InvocationgettersetterEmptyIterableIteratorSetListIterableEfficientLengthIterableRandomLinkedHashMapfromofidentityfromIterablefromIterablesMapEntryMatchPatternRegExpMatchLinkedHashSet_StringStackTraceRunesRuneIteratorBidirectionalIterator@prefixinternalUri_UrihttphttpsdirectoryUriDatautf8base64_queryCharTable_SimpleUriCodeUnitsTypeErrorHttpStatuscontinue_switchingProtocolsokcreatedacceptednonAuthoritativeInformationnoContentresetContentpartialContentmultipleChoicesmovedPermanentlyfoundmovedTemporarilyseeOthernotModifieduseProxytemporaryRedirectbadRequestunauthorizedpaymentRequiredforbiddennotFoundmethodNotAllowednotAcceptableproxyAuthenticationRequiredrequestTimeoutconflictgonelengthRequiredpreconditionFailedrequestEntityTooLargerequestUriTooLongunsupportedMediaTyperequestedRangeNotSatisfiableexpectationFailedupgradeRequiredinternalServerErrornotImplementedbadGatewayserviceUnavailablegatewayTimeouthttpVersionNotSupportednetworkConnectTimeoutErrorStreamSubscriptionZoneStreamTransformerBytesBuilder_CastIterableBaseCastIterableListMixin_CastListBaseMapBaseQueue@typeAlias_TransformationMappedIterable_ElementPredicate_ExpandFunctionTakeIterableSkipIterableFollowedByIterableStateErrorComparatorListBaseFixedLengthListMixinUnmodifiableListMixinUnmodifiableMapBaseLinkedListEntryIterableBaseLinkedListcorereservedWordREMapMixin_UnmodifiableMapMixinMapView_mapListQueue_DoubleLinkDoubleLinkedQueueEntryDoubleLinkedQueue_DoubleLinkedQueueEntry_DoubleLinkedQueueElement_DoubleLinkedQueueSentinel_DoubleLinkedQueueIteratorSetMixin_SetBase_UnmodifiableSetMixinSetBase_SplayTreeNode_SplayTreeSetNode_SplayTreeMapNode_Predicate_SplayTreeSplayTreeMap_SplayTreeIteratorIterableMixinSplayTreeSet_ControllerStream_StreamControllerLifecycle_ControllerSubscription_BroadcastSubscription_StreamControllerBaseFutureOr_AddStreamState_FutureStreamSink_BufferingStreamSubscription_BroadcastStreamControllerSynchronousStreamController_SyncBroadcastStreamController_EventDispatch_StreamImplEvents_DelayedEventCompleter_Completer_FutureListenermaskValuemaskError|maskTestErrormaskWhenComplete_FutureOnValue_Zone_FutureErrorTest_FutureActionAsyncError_AsyncCallback_AsyncCallbackEntry_EmptyStreamMultiStreamControllerStreamConsumerStreamView_stream_internal_StreamSubscriptionTransformer_StreamHandlerTransformer_StreamBindTransformerStreamController_EventSink_PendingEvents_StreamController_AsyncStreamControllerDispatch_SyncStreamControllerDispatch_StreamImpl_DataHandler_DoneHandler_EventGenerator_BroadcastCallback_AsBroadcastStreamController_AsBroadcastStreamStreamIterator_AsyncStreamController_ForwardingStream_ForwardingStreamSubscription_SinkMapper_TransformDataHandler_TransformErrorHandler_TransformDoneHandler_StreamSinkTransformer_SubscriptionTransformerTimerZoneDelegateZoneCallbackZoneUnaryCallbackZoneBinaryCallbackZoneSpecificationRunHandlerRunUnaryHandlerRunBinaryHandlerRegisterCallbackHandlerRegisterUnaryCallbackHandlerRegisterBinaryCallbackHandlerHandleUncaughtErrorHandlerErrorCallbackHandlerScheduleMicrotaskHandlerCreateTimerHandlerCreatePeriodicTimerHandlerPrintHandlerForkHandler_ZoneSpecification_rootZone_RunNullaryZoneFunction_RunUnaryZoneFunction_RunBinaryZoneFunction_RegisterNullaryZoneFunction_RegisterUnaryZoneFunction_RegisterBinaryZoneFunction_ZoneFunctionHashMap_RootZoneSendPortCapabilityIsolatebeforeNextEventimmediateRawReceivePortServiceExtensionResponseinvalidParamsextensionErrorextensionErrorMaxextensionErrorMinServiceExtensionHandlerUserTagMetricfromEnvironmentServiceProtocolInfoFlowTimelineSyncFunction_SyncBlockTimelineTask_AsyncBlockNativeTypePointerNativeFunctionDartRepresentationOf_ArraySizemultiArraydimensionsdimension1dimension2dimension3dimension4dimension5Int8Int16Int32Int64Uint8Uint16Uint32Uint64IntPtrFloatDoubleStructOpaqueVoidDart_CObjectDart_NativeMessageHandler_NativeInteger_NativeDoubleunsizedAllocatorUnsizedDynamicLibrary_LazyMangledNamesMap_LazyReflectiveNamesMapRecipe_comma_commaString_semicolon_semicolonString_hash_hashString_at_atString_tilde_tildeString_asterisk_asteriskString_question_questionString_slash_slashString_lessThan_lessThanString_greaterThan_greaterThanString_leftParen_leftParenString_rightParen_rightParenString_leftBracket_leftBracketString_rightBracket_rightBracketString_leftBrace_leftBraceString_rightBrace_rightBraceString_colon_colonString_exclamation_exclamationString_circumflex_circumflexString_ampersand_ampersandStringpushNeverExtensionpushAnyExtension_periodRti_TypeJSArray_FunctionParametersoverride_ErrorCastError@enumJsGetNameJsBuiltinNativeUint8ListTypeErrorDecoderNoSuchMethodErrorClosureTearOffClosureBoundClosureJSMutableIndexableFallThroughErrorLoadLibraryFunctionTypeDeferredLoadCallbackAssertionError_Required_PatchUnmodifiableMapViewConstantMapConstantStringMapInstantiationJS_CONSTJSSyntaxRegExpInternalMapLinkedHashMapCellJsLinkedHashMapInterceptorJSIndexableJSObjectJavaScriptObject_Growable_ListConstructorSentinelJSMutableArrayJSNumberJSIntJSPositiveIntJSUInt32NativeJSNameCreatesReturnsNativeTypedDataNativeByteDataJavaScriptIndexingBehaviorNativeTypedArrayNativeTypedArrayOfDoubleNativeFloat32ListNativeFloat64ListNativeTypedArrayOfIntNativeByteBufferNativeInt16ListNativeInt32ListNativeInt8ListNativeUint16ListNativeUint32ListNativeUint8ClampedListUnstableCanvasElementOffscreenCanvasEventContextEventShaderTimerQueryExtQueryVertexArrayObjectOesCanvasRenderingContextSupportedBrowserCHROMEFIREFOXProgramBufferFramebufferRenderbufferTextureActiveInfoShaderPrecisionFormatUniformLocationImageElementVideoElementImageBitmap_WebGL2RenderingContextBase_WebGLRenderingContextBaseCanvasSamplerTransformFeedbackVertexArrayObjectSyncCssClassSetImageData_StructuredClone_AcceptStructuredClone_serializedScriptValueElementNodeListWrapperNodeKeyRange_idbKey_annotation_Creates_IDBKey_annotation_Returns_IDBKeyRequestCursorannotation_Creates_SerializedScriptValueannotation_Returns_SerializedScriptValueEventTargetIEObjectStoreTransactionDomStringListEventStreamProviderVersionChangeEventObserverChangesDatabaseIdbFactoryOpenDBRequestCursorWithValueIndexObserverCallbackObserverDomExceptionSvgElementGraphicsElementUriReferenceAnimatedStringAnimationElementSAFARIAngleLengthLengthListNumberListPreserveAspectRatioRectTransformListTestsStringListGeometryElementAnimatedLengthAnimatedEnumerationFilterPrimitiveStandardAttributesAnimatedNumberListAnimatedNumberAnimatedIntegerAnimatedBoolean_SVGComponentTransferFunctionElementAnimatedPreserveAspectRatioAnimatedRectAnimatedTransformListMatrixImmutableListMixin_GradientElementFitToViewBoxAnimatedAngleNumberPointListStyleSheetCssClassSetImplGlobalEventHandlersNoncedElementNodeValidatorNodeTreeSanitizerDocumentFragmentHtmlCollectionMouseEventDomNameKeyboardEventWheelEventTouchEventSvgSvgElementElementStreamZoomAndPanTransformTextPositioningElementTextContentElementAnimatedLengthListAudioNodeBaseAudioContextAnalyserNodeAudioBufferAudioScheduledSourceNodeAudioBufferSourceNodeAudioParamGainNodeScriptProcessorNodeDecodeSuccessCallbackDecodeErrorCallbackAudioProcessingEventSourceBufferAudioTrackWorkletGlobalScopeAudioWorkletNodeAudioParamMapAudioDestinationNodeAudioListenerBiquadFilterNodeChannelMergerNodeChannelSplitterNodeConstantSourceNodeConvolverNodeDelayNodeDynamicsCompressorNodeIirFilterNodeMediaElementAudioSourceNodeMediaElementMediaStreamAudioDestinationNodeMediaStreamAudioSourceNodeMediaStreamOscillatorNodePannerNodePeriodicWaveStereoPannerNodeWaveShaperNodeOfflineAudioCompletionEventOfflineAudioContextEventListenerSqlTransactionSqlResultSetSqlErrorSqlTransactionCallbackSqlTransactionErrorCallbackVoidCallbackSqlResultSetRowListSqlStatementCallbackSqlStatementErrorCallbackWindowHtmlDocumentFontFaceFontFaceSetWorkerGlobalScopeExtendableEventAbortPaymentEventOrientationSensorAbsoluteOrientationSensorSensorAccelerometerAccessibleNodeAccessibleNodeListAmbientLightSensorHtmlElementHtmlHyperlinkElementUtilsAnimationEffectReadOnlyAnimationTimelineAnimationAnimationEffectTimingReadOnlyAnimationEventAnimationPlaybackEventOPERAProgressEventApplicationCacheErrorEventAudioElementAuthenticatorResponseBackgroundFetchEventBackgroundFetchClickEventBackgroundFetchFailEventBackgroundFetchSettledFetch_RequestBackgroundFetchRegistrationBackgroundFetchFetch_ResponseBackgroundFetchedEventBarcodeDetectorBeforeInstallPromptEventBlobBlobEvent_BluetoothRemoteGATTCharacteristicFormDataWindowEventHandlersMessageEventPopStateEventStorageEventBroadcastChannelFormElementValidityStateTextCanMakePaymentEventMediaStreamTrackCanvasImageSourceglCanvasRenderingContext2DRenderingContextBlobCallbackCanvasGradientCanvasPatternTextMetricsPath2DNonDocumentTypeChildNodeChildNodeWindowClientClipboardEventDataTransferCloseEventCharacterDataUIEventCompositionEventCredential_SubtleCrypto_WorkletCssUnitValueCssRuleCssGroupingRuleCssStyleDeclarationCssResourceValueMediaListCssStyleSheetCssKeyframeRuleCssStyleValueCssKeywordValueCssTransformComponentDomMatrixReadOnlyCssMatrixComponentDomMatrixCssConditionRuleCssNumericValueCssPerspectiveCssPositionValueCssRotationCssScaleCssSkewCssStyleDeclarationBaseCssTransformValueCssTranslationCssUnparsedValueCssImageValueCssurlImageValueCustomEventFileDataTransferItemListEntryDataTransferItemSqlDatabase_FileSystemCallbackFileSystem_ErrorCallback_DOMFileSystemSync_EntrySync_EntryCallbackDedicatedWorkerGlobalScopeStorageUsageCallbackStorageErrorCallbackDomErrorStorageQuotaCallbackReportBodyDetectedBarcodeDetectedFaceDetectedTextDeviceMotionEventDeviceAccelerationDeviceRotationRateDeviceOrientationEventDirectoryReader_EntriesCallbackSecurityPolicyViolationEventDocumentScriptElementWindowBaseHeadElementDomImplementationDocumentTimelineRangeTouchTouchListElementListNodeIteratorNodeFilterTreeWalkerNonElementParentNodeParentNodeSelectionXmlDocument_DocumentTypeDomPointDomParserDomPointReadOnlyDomQuadDomRectReadOnlyCssRectTransitionEventScrollStateCallbackScrollStateScrollAlignment_CustomEventStreamProvider_determineMouseWheelEventType_determineTransitionEventTypeShadowRootNodeValidatorBuilder_ValidatingTreeSanitizerElementEventsSlotElement_NamedNodeMapStylePropertyMapDirectoryEntryMetadataCallbackMetadataErrorEventEventSourceEventsMessagePortFaceDetectorCredentialUserDataFederatedCredentialFetchEvent_FileWriterCallbackFileWriter_FileCallbackFileReaderFocusEventFontFaceSetLoadEventFontFaceSetForEachCallbackForeignFetchEventGamepadButtonGamepadPoseGamepadEventGamepadGeoposition_PositionCallback_PositionErrorCallbackPositionErrorCoordinatesGyroscopeHashChangeEventHeadersHistoryBaseBodyElement_determineVisibilityChangeEventTypeElementUpgraderHttpRequestEventTargetHttpRequestHttpRequestUploadDomTokenListIdleDeadlineImageCapturePhotoCapabilitiesInputDeviceCapabilitiesHiddenInputElementSearchInputElementTextInputElementUrlInputElementTelephoneInputElementEmailInputElementPasswordInputElementDateInputElementMonthInputElementWeekInputElementTimeInputElementLocalDateTimeInputElementNumberInputElementRangeInputElementCheckboxInputElementRadioButtonInputElementFileUploadInputElementSubmitButtonInputElementImageButtonInputElementResetButtonInputElementButtonInputElementInputElementBaseTextInputElementBaseRangeInputElementBaseInstallEventIntersectionObserverCallbackIntersectionObserverIntersectionObserverEntryKeyframeEffectReadOnlyKeyframeEffectLinearAccelerationSensorLocationBaseTrustedUrlMagnetometerMediaCapabilitiesInfoAudioTrackListTimeRangesMediaErrorMediaKeysRemotePlaybackTextTrackListVideoTrackListTextTrackMediaEncryptedEventMediaKeyMessageEventMediaKeyStatusMapMediaKeySessionMediaKeysPolicyMediaMetadataMediaQueryListEventMediaRecorderMediaSessionActionHandlerMediaSourceSourceBufferListMediaStreamEventMediaStreamTrackEventMessageChannelMidiInputMapMidiOutputMapMidiConnectionEventMidiPortMidiMessageEventPluginMimeTypeMutationObserverMutationRecordMutationCallbackNavigatorConcurrentHardwareNavigatorCookiesNavigatorLanguageNavigatorOnLineNavigatorAutomationInformationNavigatorID_NavigatorUserMediaSuccessCallback_NavigatorUserMediaErrorCallbackNavigatorUserMediaError_BudgetService_ClipboardNetworkInformationCredentialsContainerGeolocationMediaCapabilitiesMediaDevicesMediaSessionMimeTypeArray_NFCPermissionsPresentationServiceWorkerContainerStorageManagerVRDeprecatedStorageQuotaRelatedApplicationNotification_NotificationPermissionCallbackNotificationEvent_CanvasPathOptionElementOverconstrainedErrorPageTransitionEventPasswordCredentialPaymentInstrumentsPaymentRequestPaymentAddressPaymentResponsePaymentRequestEventPaymentRequestUpdateEventMemoryInfoPerformanceNavigationPerformanceTimingPerformanceEntryTaskAttributionTimingPerformanceResourceTimingPerformanceObserverCallbackPerformanceObserverEntryListPerformanceObserverPerformanceServerTimingPermissionStatusMediaSettingsRangePointerEventPresentationRequestPresentationReceiverPresentationConnectionAvailableEventPresentationConnectionPresentationConnectionCloseEventPresentationConnectionListPresentationAvailabilityPromiseRejectionEventPushEventPushMessageDataPushSubscriptionPushSubscriptionOptionsRtcSessionDescriptionRtcStatsResponseRelativeOrientationSensorRemotePlaybackAvailabilityCallbackReportingObserverCallbackReportingObserverResizeObserverCallbackResizeObserverRtcDataChannelEventRtcDataChannelRtcDtmfToneChangeEventRtcStatsCallbackRtcPeerConnectionIceEventRtcTrackEventRtcPeerConnectionErrorCallbackRtcRtpSenderRtcDtmfSenderRtcRtpReceiverRtcStatsReportRtcIceCandidateRtcRtpContributingSourceRtcLegacyStatsReportScreenOrientationScrollTimelineSensorErrorEventAbstractWorkerServiceWorkerServiceWorkerRegistrationClientsServiceWorkerGlobalScopeBackgroundFetchManagerNavigationPreloadManagerPaymentManagerPushManagerSyncManagerDocumentOrShadowRootSharedWorkerSharedWorkerGlobalScopeTrackDefaultListSpeechGrammarSpeechGrammarListSpeechRecognitionErrorSpeechRecognitionEventSpeechRecognitionResultSpeechRecognitionAlternativeSpeechSynthesisVoiceSpeechSynthesisUtteranceSpeechSynthesisEventStorageStylePropertyMapReadonlySyncEventTableSectionElementTableRowElementTableCaptionElementTableCellElementTextDetectorTextTrackCueListTextTrackCueTrackEventTrackDefaultTrustedHtmlTrustedScriptUrlUrlSearchParamsVRCoordinateSystemVRDeviceEventVRDeviceVRDisplayCapabilitiesVRStageParametersVREyeParametersVRFrameDataFrameRequestCallbackVRDisplayEventVRDisplayVRPoseVRStageBoundsVRSessionEventVRSessionVRStageBoundsPointVideoPlaybackQualityVideoTrackVttCueVttRegionWebSocket_WindowTimersWindowBase64LocationConsoleApplicationCacheCacheStorageCookieStoreCryptoCustomElementRegistryExternalHistoryBarPropNavigatorPerformanceScreenSpeechSynthesisStyleMediaVisualViewportMediaQueryListDatabaseCallbackIdleRequestCallbackBeforeUnloadEvent_BeforeUnloadEventStreamProvider_WrappedEventClientWorker_WorkerLocation_WorkerNavigatorWorkerPerformanceWorkletAnimationXPathEvaluatorXPathExpressionXPathNSResolverXPathResultXmlSerializerXsltProcessorBudgetState_DomRect_FileReaderSync_MojoInterfaceInterceptor_MojoInterfaceRequestEvent_AttrBody_USBInterface_USBAlternateInterface_USBDevice_USBConfiguration_USBConnectionEvent_USBEndpoint_USBInTransferResult_USBIsochronousInTransferPacket_USBIsochronousInTransferResult_USBIsochronousOutTransferPacket_USBIsochronousOutTransferResult_USBOutTransferResultUrlUtilsReadOnly_AttributeMap_ContentCssRect_EventStreamCustomStream_CustomEventStreamImplKeyEventUriPolicy_Html5NodeValidator_CustomKeyEventStreamImplKeyCodeUPDOWNLEFTRIGHTENTERF1F2F3F4F5F6F7F8F9F10F11F12DELETEHOMEENDPAGE_UPPAGE_DOWNINSERT_SimpleNodeValidator_safe_TrustedHtmlTreeSanitizerAnchorElementOSErrornoErrorCode_BufferAndStartZLibCodec_defaultzlibZLibOptiondefaultLeveldefaultWindowBitsdefaultMemLevelstrategyDefaultlevelwindowBitsmemLevelstrategyrawgzipdictionaryZLibEncoderZLibDecoderGZipCodecRawZLibFilter_FilterSinkFileSystemEntityDirectory_Namespace_AsyncDirectoryListerOpsFileModereadwriteappendwriteOnlywriteOnlyAppendFileLockexclusiveblockingSharedblockingExclusiveRandomAccessFileIOSinkIOException_FileResourceInfo_RandomAccessFileOpsFileSystemEntityTypelinkFileStatFileSystemEventall<>'] = Symbol("dartx.>>"); + var $tripleShift = dartx['>>>'] = Symbol("dartx.>>>"); + var $lessThan = dartx['<'] = Symbol("dartx.<"); + var $greaterThan = dartx['>'] = Symbol("dartx.>"); + var $lessOrEquals = dartx['<='] = Symbol("dartx.<="); + var $greaterOrEquals = dartx['>='] = Symbol("dartx.>="); + var $isEven = dartx.isEven = Symbol("dartx.isEven"); + var $isOdd = dartx.isOdd = Symbol("dartx.isOdd"); + var $toUnsigned = dartx.toUnsigned = Symbol("dartx.toUnsigned"); + var $toSigned = dartx.toSigned = Symbol("dartx.toSigned"); + var $bitLength = dartx.bitLength = Symbol("dartx.bitLength"); + var $modPow = dartx.modPow = Symbol("dartx.modPow"); + var $modInverse = dartx.modInverse = Symbol("dartx.modInverse"); + var $gcd = dartx.gcd = Symbol("dartx.gcd"); + var $bitNot = dartx['~'] = Symbol("dartx.~"); + var $allMatches = dartx.allMatches = Symbol("dartx.allMatches"); + var $matchAsPrefix = dartx.matchAsPrefix = Symbol("dartx.matchAsPrefix"); + var $endsWith = dartx.endsWith = Symbol("dartx.endsWith"); + var $replaceAll = dartx.replaceAll = Symbol("dartx.replaceAll"); + var $splitMapJoin = dartx.splitMapJoin = Symbol("dartx.splitMapJoin"); + var $replaceAllMapped = dartx.replaceAllMapped = Symbol("dartx.replaceAllMapped"); + var $replaceFirstMapped = dartx.replaceFirstMapped = Symbol("dartx.replaceFirstMapped"); + var $toLowerCase = dartx.toLowerCase = Symbol("dartx.toLowerCase"); + var $toUpperCase = dartx.toUpperCase = Symbol("dartx.toUpperCase"); + var $trimLeft = dartx.trimLeft = Symbol("dartx.trimLeft"); + var $trimRight = dartx.trimRight = Symbol("dartx.trimRight"); + var $padLeft = dartx.padLeft = Symbol("dartx.padLeft"); + var $padRight = dartx.padRight = Symbol("dartx.padRight"); + var $codeUnits = dartx.codeUnits = Symbol("dartx.codeUnits"); + var $runes = dartx.runes = Symbol("dartx.runes"); + var $buffer = dartx.buffer = Symbol("dartx.buffer"); + var $offsetInBytes = dartx.offsetInBytes = Symbol("dartx.offsetInBytes"); + var $containsValue = dartx.containsValue = Symbol("dartx.containsValue"); + var $update = dartx.update = Symbol("dartx.update"); + var $updateAll = dartx.updateAll = Symbol("dartx.updateAll"); + var $addEntries = dartx.addEntries = Symbol("dartx.addEntries"); + var $lengthInBytes = dartx.lengthInBytes = Symbol("dartx.lengthInBytes"); + var $asUint8List = dartx.asUint8List = Symbol("dartx.asUint8List"); + var $asInt8List = dartx.asInt8List = Symbol("dartx.asInt8List"); + var $asUint8ClampedList = dartx.asUint8ClampedList = Symbol("dartx.asUint8ClampedList"); + var $asUint16List = dartx.asUint16List = Symbol("dartx.asUint16List"); + var $asInt16List = dartx.asInt16List = Symbol("dartx.asInt16List"); + var $asUint32List = dartx.asUint32List = Symbol("dartx.asUint32List"); + var $asInt32List = dartx.asInt32List = Symbol("dartx.asInt32List"); + var $asUint64List = dartx.asUint64List = Symbol("dartx.asUint64List"); + var $asInt64List = dartx.asInt64List = Symbol("dartx.asInt64List"); + var $asInt32x4List = dartx.asInt32x4List = Symbol("dartx.asInt32x4List"); + var $asFloat32List = dartx.asFloat32List = Symbol("dartx.asFloat32List"); + var $asFloat64List = dartx.asFloat64List = Symbol("dartx.asFloat64List"); + var $asFloat32x4List = dartx.asFloat32x4List = Symbol("dartx.asFloat32x4List"); + var $asFloat64x2List = dartx.asFloat64x2List = Symbol("dartx.asFloat64x2List"); + var $asByteData = dartx.asByteData = Symbol("dartx.asByteData"); + var $elementSizeInBytes = dartx.elementSizeInBytes = Symbol("dartx.elementSizeInBytes"); + var $getFloat32 = dartx.getFloat32 = Symbol("dartx.getFloat32"); + var $getFloat64 = dartx.getFloat64 = Symbol("dartx.getFloat64"); + var $getInt16 = dartx.getInt16 = Symbol("dartx.getInt16"); + var $getInt32 = dartx.getInt32 = Symbol("dartx.getInt32"); + var $getInt64 = dartx.getInt64 = Symbol("dartx.getInt64"); + var $getInt8 = dartx.getInt8 = Symbol("dartx.getInt8"); + var $getUint16 = dartx.getUint16 = Symbol("dartx.getUint16"); + var $getUint32 = dartx.getUint32 = Symbol("dartx.getUint32"); + var $getUint64 = dartx.getUint64 = Symbol("dartx.getUint64"); + var $getUint8 = dartx.getUint8 = Symbol("dartx.getUint8"); + var $setFloat32 = dartx.setFloat32 = Symbol("dartx.setFloat32"); + var $setFloat64 = dartx.setFloat64 = Symbol("dartx.setFloat64"); + var $setInt16 = dartx.setInt16 = Symbol("dartx.setInt16"); + var $setInt32 = dartx.setInt32 = Symbol("dartx.setInt32"); + var $setInt64 = dartx.setInt64 = Symbol("dartx.setInt64"); + var $setInt8 = dartx.setInt8 = Symbol("dartx.setInt8"); + var $setUint16 = dartx.setUint16 = Symbol("dartx.setUint16"); + var $setUint32 = dartx.setUint32 = Symbol("dartx.setUint32"); + var $setUint64 = dartx.setUint64 = Symbol("dartx.setUint64"); + var $setUint8 = dartx.setUint8 = Symbol("dartx.setUint8"); + var $left = dartx.left = Symbol("dartx.left"); + var $width = dartx.width = Symbol("dartx.width"); + var $top = dartx.top = Symbol("dartx.top"); + var $height = dartx.height = Symbol("dartx.height"); + var $right = dartx.right = Symbol("dartx.right"); + var $bottom = dartx.bottom = Symbol("dartx.bottom"); + var $intersection = dartx.intersection = Symbol("dartx.intersection"); + var $intersects = dartx.intersects = Symbol("dartx.intersects"); + var $boundingBox = dartx.boundingBox = Symbol("dartx.boundingBox"); + var $containsRectangle = dartx.containsRectangle = Symbol("dartx.containsRectangle"); + var $containsPoint = dartx.containsPoint = Symbol("dartx.containsPoint"); + var $topLeft = dartx.topLeft = Symbol("dartx.topLeft"); + var $topRight = dartx.topRight = Symbol("dartx.topRight"); + var $bottomRight = dartx.bottomRight = Symbol("dartx.bottomRight"); + var $bottomLeft = dartx.bottomLeft = Symbol("dartx.bottomLeft"); + var T$ = { + ObjectN: () => (T$.ObjectN = dart.constFn(dart.nullable(core.Object)))(), + ListOfObjectN: () => (T$.ListOfObjectN = dart.constFn(core.List$(T$.ObjectN())))(), + boolN: () => (T$.boolN = dart.constFn(dart.nullable(core.bool)))(), + JSArrayOfString: () => (T$.JSArrayOfString = dart.constFn(_interceptors.JSArray$(core.String)))(), + IdentityMapOfString$ObjectN: () => (T$.IdentityMapOfString$ObjectN = dart.constFn(_js_helper.IdentityMap$(core.String, T$.ObjectN())))(), + ListOfString: () => (T$.ListOfString = dart.constFn(core.List$(core.String)))(), + ListNOfString: () => (T$.ListNOfString = dart.constFn(dart.nullable(T$.ListOfString())))(), + IdentityMapOfString$ListNOfString: () => (T$.IdentityMapOfString$ListNOfString = dart.constFn(_js_helper.IdentityMap$(core.String, T$.ListNOfString())))(), + JSArrayOfTypeVariable: () => (T$.JSArrayOfTypeVariable = dart.constFn(_interceptors.JSArray$(dart.TypeVariable)))(), + ExpandoOfFunction: () => (T$.ExpandoOfFunction = dart.constFn(core.Expando$(core.Function)))(), + IdentityMapOfString$Object: () => (T$.IdentityMapOfString$Object = dart.constFn(_js_helper.IdentityMap$(core.String, core.Object)))(), + ListOfObject: () => (T$.ListOfObject = dart.constFn(core.List$(core.Object)))(), + IdentityMapOfTypeVariable$int: () => (T$.IdentityMapOfTypeVariable$int = dart.constFn(_js_helper.IdentityMap$(dart.TypeVariable, core.int)))(), + IdentityMapOfTypeVariable$Object: () => (T$.IdentityMapOfTypeVariable$Object = dart.constFn(_js_helper.IdentityMap$(dart.TypeVariable, core.Object)))(), + LinkedHashMapOfTypeVariable$TypeConstraint: () => (T$.LinkedHashMapOfTypeVariable$TypeConstraint = dart.constFn(collection.LinkedHashMap$(dart.TypeVariable, dart.TypeConstraint)))(), + JSArrayOfObject: () => (T$.JSArrayOfObject = dart.constFn(_interceptors.JSArray$(core.Object)))(), + ListOfType: () => (T$.ListOfType = dart.constFn(core.List$(core.Type)))(), + SymbolL: () => (T$.SymbolL = dart.constFn(dart.legacy(core.Symbol)))(), + MapOfSymbol$dynamic: () => (T$.MapOfSymbol$dynamic = dart.constFn(core.Map$(core.Symbol, dart.dynamic)))(), + TypeL: () => (T$.TypeL = dart.constFn(dart.legacy(core.Type)))(), + JSArrayOfNameValuePair: () => (T$.JSArrayOfNameValuePair = dart.constFn(_interceptors.JSArray$(_debugger.NameValuePair)))(), + intAnddynamicTovoid: () => (T$.intAnddynamicTovoid = dart.constFn(dart.fnType(dart.void, [core.int, dart.dynamic])))(), + JSArrayOfFormatter: () => (T$.JSArrayOfFormatter = dart.constFn(_interceptors.JSArray$(_debugger.Formatter)))(), + _HashSetOfNameValuePair: () => (T$._HashSetOfNameValuePair = dart.constFn(collection._HashSet$(_debugger.NameValuePair)))(), + IdentityMapOfString$String: () => (T$.IdentityMapOfString$String = dart.constFn(_js_helper.IdentityMap$(core.String, core.String)))(), + dynamicAnddynamicToNull: () => (T$.dynamicAnddynamicToNull = dart.constFn(dart.fnType(core.Null, [dart.dynamic, dart.dynamic])))(), + dynamicAnddynamicTovoid: () => (T$.dynamicAnddynamicTovoid = dart.constFn(dart.fnType(dart.void, [dart.dynamic, dart.dynamic])))(), + dynamicToString: () => (T$.dynamicToString = dart.constFn(dart.fnType(core.String, [dart.dynamic])))(), + ListOfNameValuePair: () => (T$.ListOfNameValuePair = dart.constFn(core.List$(_debugger.NameValuePair)))(), + StringTobool: () => (T$.StringTobool = dart.constFn(dart.fnType(core.bool, [core.String])))(), + VoidToString: () => (T$.VoidToString = dart.constFn(dart.fnType(core.String, [])))(), + StringToNameValuePair: () => (T$.StringToNameValuePair = dart.constFn(dart.fnType(_debugger.NameValuePair, [core.String])))(), + NameValuePairAndNameValuePairToint: () => (T$.NameValuePairAndNameValuePairToint = dart.constFn(dart.fnType(core.int, [_debugger.NameValuePair, _debugger.NameValuePair])))(), + LinkedHashMapOfdynamic$ObjectN: () => (T$.LinkedHashMapOfdynamic$ObjectN = dart.constFn(collection.LinkedHashMap$(dart.dynamic, T$.ObjectN())))(), + dynamicTodynamic: () => (T$.dynamicTodynamic = dart.constFn(dart.fnType(dart.dynamic, [dart.dynamic])))(), + dynamicToObjectN: () => (T$.dynamicToObjectN = dart.constFn(dart.fnType(T$.ObjectN(), [dart.dynamic])))(), + IdentityMapOfString$_MethodStats: () => (T$.IdentityMapOfString$_MethodStats = dart.constFn(_js_helper.IdentityMap$(core.String, _debugger._MethodStats)))(), + StringToString: () => (T$.StringToString = dart.constFn(dart.fnType(core.String, [core.String])))(), + VoidTo_MethodStats: () => (T$.VoidTo_MethodStats = dart.constFn(dart.fnType(_debugger._MethodStats, [])))(), + StringAndStringToint: () => (T$.StringAndStringToint = dart.constFn(dart.fnType(core.int, [core.String, core.String])))(), + JSArrayOfListOfObject: () => (T$.JSArrayOfListOfObject = dart.constFn(_interceptors.JSArray$(T$.ListOfObject())))(), + JSArrayOf_CallMethodRecord: () => (T$.JSArrayOf_CallMethodRecord = dart.constFn(_interceptors.JSArray$(_debugger._CallMethodRecord)))(), + ListN: () => (T$.ListN = dart.constFn(dart.nullable(core.List)))(), + InvocationN: () => (T$.InvocationN = dart.constFn(dart.nullable(core.Invocation)))(), + MapNOfSymbol$dynamic: () => (T$.MapNOfSymbol$dynamic = dart.constFn(dart.nullable(T$.MapOfSymbol$dynamic())))(), + ObjectNAndObjectNToint: () => (T$.ObjectNAndObjectNToint = dart.constFn(dart.fnType(core.int, [T$.ObjectN(), T$.ObjectN()])))(), + dynamicAnddynamicToint: () => (T$.dynamicAnddynamicToint = dart.constFn(dart.fnType(core.int, [dart.dynamic, dart.dynamic])))(), + ObjectAndStackTraceTovoid: () => (T$.ObjectAndStackTraceTovoid = dart.constFn(dart.fnType(dart.void, [core.Object, core.StackTrace])))(), + dynamicTovoid: () => (T$.dynamicTovoid = dart.constFn(dart.fnType(dart.void, [dart.dynamic])))(), + _FutureOfNull: () => (T$._FutureOfNull = dart.constFn(async._Future$(core.Null)))(), + VoidTo_FutureOfNull: () => (T$.VoidTo_FutureOfNull = dart.constFn(dart.fnType(T$._FutureOfNull(), [])))(), + VoidTovoid: () => (T$.VoidTovoid = dart.constFn(dart.fnType(dart.void, [])))(), + FutureOfNull: () => (T$.FutureOfNull = dart.constFn(async.Future$(core.Null)))(), + FutureNOfNull: () => (T$.FutureNOfNull = dart.constFn(dart.nullable(T$.FutureOfNull())))(), + dynamicToFuture: () => (T$.dynamicToFuture = dart.constFn(dart.fnType(async.Future, [dart.dynamic])))(), + _FutureOfString: () => (T$._FutureOfString = dart.constFn(async._Future$(core.String)))(), + _FutureOfbool: () => (T$._FutureOfbool = dart.constFn(async._Future$(core.bool)))(), + VoidTobool: () => (T$.VoidTobool = dart.constFn(dart.fnType(core.bool, [])))(), + boolToNull: () => (T$.boolToNull = dart.constFn(dart.fnType(core.Null, [core.bool])))(), + voidToNull: () => (T$.voidToNull = dart.constFn(dart.fnType(core.Null, [dart.void])))(), + _FutureOfint: () => (T$._FutureOfint = dart.constFn(async._Future$(core.int)))(), + ObjectAndStackTraceToNull: () => (T$.ObjectAndStackTraceToNull = dart.constFn(dart.fnType(core.Null, [core.Object, core.StackTrace])))(), + FutureOfvoid: () => (T$.FutureOfvoid = dart.constFn(async.Future$(dart.void)))(), + VoidToFutureOfvoid: () => (T$.VoidToFutureOfvoid = dart.constFn(dart.fnType(T$.FutureOfvoid(), [])))(), + ObjectTovoid: () => (T$.ObjectTovoid = dart.constFn(dart.fnType(dart.void, [core.Object])))(), + EventSinkTo_ConverterStreamEventSink: () => (T$.EventSinkTo_ConverterStreamEventSink = dart.constFn(dart.fnType(convert._ConverterStreamEventSink, [async.EventSink])))(), + JSArrayOfUint8List: () => (T$.JSArrayOfUint8List = dart.constFn(_interceptors.JSArray$(typed_data.Uint8List)))(), + ObjectNAndObjectNTovoid: () => (T$.ObjectNAndObjectNTovoid = dart.constFn(dart.fnType(dart.void, [T$.ObjectN(), T$.ObjectN()])))(), + ObjectNToObjectN: () => (T$.ObjectNToObjectN = dart.constFn(dart.fnType(T$.ObjectN(), [T$.ObjectN()])))(), + EmptyIteratorOfNeverL: () => (T$.EmptyIteratorOfNeverL = dart.constFn(_internal.EmptyIterator$(dart.legacy(dart.Never))))(), + doubleL: () => (T$.doubleL = dart.constFn(dart.legacy(core.double)))(), + VoidToFutureOfNull: () => (T$.VoidToFutureOfNull = dart.constFn(dart.fnType(T$.FutureOfNull(), [])))(), + VoidToNull: () => (T$.VoidToNull = dart.constFn(dart.fnType(core.Null, [])))(), + VoidToint: () => (T$.VoidToint = dart.constFn(dart.fnType(core.int, [])))(), + JSArrayOfint: () => (T$.JSArrayOfint = dart.constFn(_interceptors.JSArray$(core.int)))(), + StringN: () => (T$.StringN = dart.constFn(dart.nullable(core.String)))(), + JSArrayOfStringN: () => (T$.JSArrayOfStringN = dart.constFn(_interceptors.JSArray$(T$.StringN())))(), + SubListIterableOfString: () => (T$.SubListIterableOfString = dart.constFn(_internal.SubListIterable$(core.String)))(), + EmptyIterableOfString: () => (T$.EmptyIterableOfString = dart.constFn(_internal.EmptyIterable$(core.String)))(), + ObjectNTovoid: () => (T$.ObjectNTovoid = dart.constFn(dart.fnType(dart.void, [T$.ObjectN()])))(), + MatchToString: () => (T$.MatchToString = dart.constFn(dart.fnType(core.String, [core.Match])))(), + IterableOfdouble: () => (T$.IterableOfdouble = dart.constFn(core.Iterable$(core.double)))(), + IterableOfint: () => (T$.IterableOfint = dart.constFn(core.Iterable$(core.int)))(), + intN: () => (T$.intN = dart.constFn(dart.nullable(core.int)))(), + ObjectNTovoid$1: () => (T$.ObjectNTovoid$1 = dart.constFn(dart.fnType(dart.void, [], [T$.ObjectN()])))(), + _FutureOfObjectN: () => (T$._FutureOfObjectN = dart.constFn(async._Future$(T$.ObjectN())))(), + dynamicToNull: () => (T$.dynamicToNull = dart.constFn(dart.fnType(core.Null, [dart.dynamic])))(), + _FutureOfvoid: () => (T$._FutureOfvoid = dart.constFn(async._Future$(dart.void)))(), + VoidToObject: () => (T$.VoidToObject = dart.constFn(dart.fnType(core.Object, [])))(), + ObjectTodynamic: () => (T$.ObjectTodynamic = dart.constFn(dart.fnType(dart.dynamic, [core.Object])))(), + VoidToStackTrace: () => (T$.VoidToStackTrace = dart.constFn(dart.fnType(core.StackTrace, [])))(), + StackTraceTodynamic: () => (T$.StackTraceTodynamic = dart.constFn(dart.fnType(dart.dynamic, [core.StackTrace])))(), + ObjectNTobool: () => (T$.ObjectNTobool = dart.constFn(dart.fnType(core.bool, [T$.ObjectN()])))(), + FutureOrOfbool: () => (T$.FutureOrOfbool = dart.constFn(async.FutureOr$(core.bool)))(), + VoidToFutureOrOfbool: () => (T$.VoidToFutureOrOfbool = dart.constFn(dart.fnType(T$.FutureOrOfbool(), [])))(), + boolTovoid: () => (T$.boolTovoid = dart.constFn(dart.fnType(dart.void, [core.bool])))(), + VoidToFn: () => (T$.VoidToFn = dart.constFn(dart.fnType(T$.boolTovoid(), [])))(), + FnTodynamic: () => (T$.FnTodynamic = dart.constFn(dart.fnType(dart.dynamic, [T$.boolTovoid()])))(), + FutureOfbool: () => (T$.FutureOfbool = dart.constFn(async.Future$(core.bool)))(), + ObjectTobool: () => (T$.ObjectTobool = dart.constFn(dart.fnType(core.bool, [core.Object])))(), + VoidTodynamic: () => (T$.VoidTodynamic = dart.constFn(dart.fnType(dart.dynamic, [])))(), + ObjectAndStackTraceTodynamic: () => (T$.ObjectAndStackTraceTodynamic = dart.constFn(dart.fnType(dart.dynamic, [core.Object, core.StackTrace])))(), + _FutureListenerOfObject$Object: () => (T$._FutureListenerOfObject$Object = dart.constFn(async._FutureListener$(core.Object, core.Object)))(), + _FutureListenerNOfObject$Object: () => (T$._FutureListenerNOfObject$Object = dart.constFn(dart.nullable(T$._FutureListenerOfObject$Object())))(), + JSArrayOfFunction: () => (T$.JSArrayOfFunction = dart.constFn(_interceptors.JSArray$(core.Function)))(), + _FutureListenerN: () => (T$._FutureListenerN = dart.constFn(dart.nullable(async._FutureListener)))(), + dynamicTo_Future: () => (T$.dynamicTo_Future = dart.constFn(dart.fnType(async._Future, [dart.dynamic])))(), + _StreamControllerAddStreamStateOfObjectN: () => (T$._StreamControllerAddStreamStateOfObjectN = dart.constFn(async._StreamControllerAddStreamState$(T$.ObjectN())))(), + FunctionN: () => (T$.FunctionN = dart.constFn(dart.nullable(core.Function)))(), + AsyncErrorN: () => (T$.AsyncErrorN = dart.constFn(dart.nullable(async.AsyncError)))(), + StackTraceN: () => (T$.StackTraceN = dart.constFn(dart.nullable(core.StackTrace)))(), + ZoneAndZoneDelegateAndZone__ToAsyncErrorN: () => (T$.ZoneAndZoneDelegateAndZone__ToAsyncErrorN = dart.constFn(dart.fnType(T$.AsyncErrorN(), [async.Zone, async.ZoneDelegate, async.Zone, core.Object, T$.StackTraceN()])))(), + _ZoneFunctionOfZoneAndZoneDelegateAndZone__ToAsyncErrorN: () => (T$._ZoneFunctionOfZoneAndZoneDelegateAndZone__ToAsyncErrorN = dart.constFn(async._ZoneFunction$(T$.ZoneAndZoneDelegateAndZone__ToAsyncErrorN())))(), + ZoneAndZoneDelegateAndZone__Tovoid: () => (T$.ZoneAndZoneDelegateAndZone__Tovoid = dart.constFn(dart.fnType(dart.void, [async.Zone, async.ZoneDelegate, async.Zone, T$.VoidTovoid()])))(), + _ZoneFunctionOfZoneAndZoneDelegateAndZone__Tovoid: () => (T$._ZoneFunctionOfZoneAndZoneDelegateAndZone__Tovoid = dart.constFn(async._ZoneFunction$(T$.ZoneAndZoneDelegateAndZone__Tovoid())))(), + ZoneAndZoneDelegateAndZone__ToTimer: () => (T$.ZoneAndZoneDelegateAndZone__ToTimer = dart.constFn(dart.fnType(async.Timer, [async.Zone, async.ZoneDelegate, async.Zone, core.Duration, T$.VoidTovoid()])))(), + _ZoneFunctionOfZoneAndZoneDelegateAndZone__ToTimer: () => (T$._ZoneFunctionOfZoneAndZoneDelegateAndZone__ToTimer = dart.constFn(async._ZoneFunction$(T$.ZoneAndZoneDelegateAndZone__ToTimer())))(), + TimerTovoid: () => (T$.TimerTovoid = dart.constFn(dart.fnType(dart.void, [async.Timer])))(), + ZoneAndZoneDelegateAndZone__ToTimer$1: () => (T$.ZoneAndZoneDelegateAndZone__ToTimer$1 = dart.constFn(dart.fnType(async.Timer, [async.Zone, async.ZoneDelegate, async.Zone, core.Duration, T$.TimerTovoid()])))(), + _ZoneFunctionOfZoneAndZoneDelegateAndZone__ToTimer$1: () => (T$._ZoneFunctionOfZoneAndZoneDelegateAndZone__ToTimer$1 = dart.constFn(async._ZoneFunction$(T$.ZoneAndZoneDelegateAndZone__ToTimer$1())))(), + ZoneAndZoneDelegateAndZone__Tovoid$1: () => (T$.ZoneAndZoneDelegateAndZone__Tovoid$1 = dart.constFn(dart.fnType(dart.void, [async.Zone, async.ZoneDelegate, async.Zone, core.String])))(), + _ZoneFunctionOfZoneAndZoneDelegateAndZone__Tovoid$1: () => (T$._ZoneFunctionOfZoneAndZoneDelegateAndZone__Tovoid$1 = dart.constFn(async._ZoneFunction$(T$.ZoneAndZoneDelegateAndZone__Tovoid$1())))(), + ZoneSpecificationN: () => (T$.ZoneSpecificationN = dart.constFn(dart.nullable(async.ZoneSpecification)))(), + MapOfObjectN$ObjectN: () => (T$.MapOfObjectN$ObjectN = dart.constFn(core.Map$(T$.ObjectN(), T$.ObjectN())))(), + MapNOfObjectN$ObjectN: () => (T$.MapNOfObjectN$ObjectN = dart.constFn(dart.nullable(T$.MapOfObjectN$ObjectN())))(), + ZoneAndZoneDelegateAndZone__ToZone: () => (T$.ZoneAndZoneDelegateAndZone__ToZone = dart.constFn(dart.fnType(async.Zone, [async.Zone, async.ZoneDelegate, async.Zone, T$.ZoneSpecificationN(), T$.MapNOfObjectN$ObjectN()])))(), + _ZoneFunctionOfZoneAndZoneDelegateAndZone__ToZone: () => (T$._ZoneFunctionOfZoneAndZoneDelegateAndZone__ToZone = dart.constFn(async._ZoneFunction$(T$.ZoneAndZoneDelegateAndZone__ToZone())))(), + ZoneAndZoneDelegateAndZone__Tovoid$2: () => (T$.ZoneAndZoneDelegateAndZone__Tovoid$2 = dart.constFn(dart.fnType(dart.void, [async.Zone, async.ZoneDelegate, async.Zone, core.Object, core.StackTrace])))(), + _ZoneFunctionOfZoneAndZoneDelegateAndZone__Tovoid$2: () => (T$._ZoneFunctionOfZoneAndZoneDelegateAndZone__Tovoid$2 = dart.constFn(async._ZoneFunction$(T$.ZoneAndZoneDelegateAndZone__Tovoid$2())))(), + ZoneN: () => (T$.ZoneN = dart.constFn(dart.nullable(async.Zone)))(), + ZoneDelegateN: () => (T$.ZoneDelegateN = dart.constFn(dart.nullable(async.ZoneDelegate)))(), + ZoneNAndZoneDelegateNAndZone__ToR: () => (T$.ZoneNAndZoneDelegateNAndZone__ToR = dart.constFn(dart.gFnType(R => [R, [T$.ZoneN(), T$.ZoneDelegateN(), async.Zone, dart.fnType(R, [])]], R => [T$.ObjectN()])))(), + ZoneNAndZoneDelegateNAndZone__ToR$1: () => (T$.ZoneNAndZoneDelegateNAndZone__ToR$1 = dart.constFn(dart.gFnType((R, T) => [R, [T$.ZoneN(), T$.ZoneDelegateN(), async.Zone, dart.fnType(R, [T]), T]], (R, T) => [T$.ObjectN(), T$.ObjectN()])))(), + ZoneNAndZoneDelegateNAndZone__ToR$2: () => (T$.ZoneNAndZoneDelegateNAndZone__ToR$2 = dart.constFn(dart.gFnType((R, T1, T2) => [R, [T$.ZoneN(), T$.ZoneDelegateN(), async.Zone, dart.fnType(R, [T1, T2]), T1, T2]], (R, T1, T2) => [T$.ObjectN(), T$.ObjectN(), T$.ObjectN()])))(), + ZoneAndZoneDelegateAndZone__ToFn: () => (T$.ZoneAndZoneDelegateAndZone__ToFn = dart.constFn(dart.gFnType(R => [dart.fnType(R, []), [async.Zone, async.ZoneDelegate, async.Zone, dart.fnType(R, [])]], R => [T$.ObjectN()])))(), + ZoneAndZoneDelegateAndZone__ToFn$1: () => (T$.ZoneAndZoneDelegateAndZone__ToFn$1 = dart.constFn(dart.gFnType((R, T) => [dart.fnType(R, [T]), [async.Zone, async.ZoneDelegate, async.Zone, dart.fnType(R, [T])]], (R, T) => [T$.ObjectN(), T$.ObjectN()])))(), + ZoneAndZoneDelegateAndZone__ToFn$2: () => (T$.ZoneAndZoneDelegateAndZone__ToFn$2 = dart.constFn(dart.gFnType((R, T1, T2) => [dart.fnType(R, [T1, T2]), [async.Zone, async.ZoneDelegate, async.Zone, dart.fnType(R, [T1, T2])]], (R, T1, T2) => [T$.ObjectN(), T$.ObjectN(), T$.ObjectN()])))(), + ZoneL: () => (T$.ZoneL = dart.constFn(dart.legacy(async.Zone)))(), + ZoneDelegateL: () => (T$.ZoneDelegateL = dart.constFn(dart.legacy(async.ZoneDelegate)))(), + ObjectL: () => (T$.ObjectL = dart.constFn(dart.legacy(core.Object)))(), + ZoneLAndZoneDelegateLAndZoneL__ToAsyncErrorN: () => (T$.ZoneLAndZoneDelegateLAndZoneL__ToAsyncErrorN = dart.constFn(dart.fnType(T$.AsyncErrorN(), [T$.ZoneL(), T$.ZoneDelegateL(), T$.ZoneL(), T$.ObjectL(), T$.StackTraceN()])))(), + ZoneLAndZoneDelegateLAndZoneL__ToLAsyncErrorN: () => (T$.ZoneLAndZoneDelegateLAndZoneL__ToLAsyncErrorN = dart.constFn(dart.legacy(T$.ZoneLAndZoneDelegateLAndZoneL__ToAsyncErrorN())))(), + _ZoneFunctionOfZoneLAndZoneDelegateLAndZoneL__ToLAsyncErrorN: () => (T$._ZoneFunctionOfZoneLAndZoneDelegateLAndZoneL__ToLAsyncErrorN = dart.constFn(async._ZoneFunction$(T$.ZoneLAndZoneDelegateLAndZoneL__ToLAsyncErrorN())))(), + VoidToLvoid: () => (T$.VoidToLvoid = dart.constFn(dart.legacy(T$.VoidTovoid())))(), + ZoneLAndZoneDelegateLAndZoneL__Tovoid: () => (T$.ZoneLAndZoneDelegateLAndZoneL__Tovoid = dart.constFn(dart.fnType(dart.void, [T$.ZoneL(), T$.ZoneDelegateL(), T$.ZoneL(), T$.VoidToLvoid()])))(), + ZoneLAndZoneDelegateLAndZoneL__ToLvoid: () => (T$.ZoneLAndZoneDelegateLAndZoneL__ToLvoid = dart.constFn(dart.legacy(T$.ZoneLAndZoneDelegateLAndZoneL__Tovoid())))(), + _ZoneFunctionOfZoneLAndZoneDelegateLAndZoneL__ToLvoid: () => (T$._ZoneFunctionOfZoneLAndZoneDelegateLAndZoneL__ToLvoid = dart.constFn(async._ZoneFunction$(T$.ZoneLAndZoneDelegateLAndZoneL__ToLvoid())))(), + ZoneNAndZoneDelegateNAndZone__Tovoid: () => (T$.ZoneNAndZoneDelegateNAndZone__Tovoid = dart.constFn(dart.fnType(dart.void, [T$.ZoneN(), T$.ZoneDelegateN(), async.Zone, T$.VoidTovoid()])))(), + TimerL: () => (T$.TimerL = dart.constFn(dart.legacy(async.Timer)))(), + DurationL: () => (T$.DurationL = dart.constFn(dart.legacy(core.Duration)))(), + ZoneLAndZoneDelegateLAndZoneL__ToTimerL: () => (T$.ZoneLAndZoneDelegateLAndZoneL__ToTimerL = dart.constFn(dart.fnType(T$.TimerL(), [T$.ZoneL(), T$.ZoneDelegateL(), T$.ZoneL(), T$.DurationL(), T$.VoidToLvoid()])))(), + ZoneLAndZoneDelegateLAndZoneL__ToLTimerL: () => (T$.ZoneLAndZoneDelegateLAndZoneL__ToLTimerL = dart.constFn(dart.legacy(T$.ZoneLAndZoneDelegateLAndZoneL__ToTimerL())))(), + _ZoneFunctionOfZoneLAndZoneDelegateLAndZoneL__ToLTimerL: () => (T$._ZoneFunctionOfZoneLAndZoneDelegateLAndZoneL__ToLTimerL = dart.constFn(async._ZoneFunction$(T$.ZoneLAndZoneDelegateLAndZoneL__ToLTimerL())))(), + TimerLTovoid: () => (T$.TimerLTovoid = dart.constFn(dart.fnType(dart.void, [T$.TimerL()])))(), + TimerLToLvoid: () => (T$.TimerLToLvoid = dart.constFn(dart.legacy(T$.TimerLTovoid())))(), + ZoneLAndZoneDelegateLAndZoneL__ToTimerL$1: () => (T$.ZoneLAndZoneDelegateLAndZoneL__ToTimerL$1 = dart.constFn(dart.fnType(T$.TimerL(), [T$.ZoneL(), T$.ZoneDelegateL(), T$.ZoneL(), T$.DurationL(), T$.TimerLToLvoid()])))(), + ZoneLAndZoneDelegateLAndZoneL__ToLTimerL$1: () => (T$.ZoneLAndZoneDelegateLAndZoneL__ToLTimerL$1 = dart.constFn(dart.legacy(T$.ZoneLAndZoneDelegateLAndZoneL__ToTimerL$1())))(), + _ZoneFunctionOfZoneLAndZoneDelegateLAndZoneL__ToLTimerL$1: () => (T$._ZoneFunctionOfZoneLAndZoneDelegateLAndZoneL__ToLTimerL$1 = dart.constFn(async._ZoneFunction$(T$.ZoneLAndZoneDelegateLAndZoneL__ToLTimerL$1())))(), + StringL: () => (T$.StringL = dart.constFn(dart.legacy(core.String)))(), + ZoneLAndZoneDelegateLAndZoneL__Tovoid$1: () => (T$.ZoneLAndZoneDelegateLAndZoneL__Tovoid$1 = dart.constFn(dart.fnType(dart.void, [T$.ZoneL(), T$.ZoneDelegateL(), T$.ZoneL(), T$.StringL()])))(), + ZoneLAndZoneDelegateLAndZoneL__ToLvoid$1: () => (T$.ZoneLAndZoneDelegateLAndZoneL__ToLvoid$1 = dart.constFn(dart.legacy(T$.ZoneLAndZoneDelegateLAndZoneL__Tovoid$1())))(), + _ZoneFunctionOfZoneLAndZoneDelegateLAndZoneL__ToLvoid$1: () => (T$._ZoneFunctionOfZoneLAndZoneDelegateLAndZoneL__ToLvoid$1 = dart.constFn(async._ZoneFunction$(T$.ZoneLAndZoneDelegateLAndZoneL__ToLvoid$1())))(), + ZoneLAndZoneDelegateLAndZoneL__ToZoneL: () => (T$.ZoneLAndZoneDelegateLAndZoneL__ToZoneL = dart.constFn(dart.fnType(T$.ZoneL(), [T$.ZoneL(), T$.ZoneDelegateL(), T$.ZoneL(), T$.ZoneSpecificationN(), T$.MapNOfObjectN$ObjectN()])))(), + ZoneLAndZoneDelegateLAndZoneL__ToLZoneL: () => (T$.ZoneLAndZoneDelegateLAndZoneL__ToLZoneL = dart.constFn(dart.legacy(T$.ZoneLAndZoneDelegateLAndZoneL__ToZoneL())))(), + _ZoneFunctionOfZoneLAndZoneDelegateLAndZoneL__ToLZoneL: () => (T$._ZoneFunctionOfZoneLAndZoneDelegateLAndZoneL__ToLZoneL = dart.constFn(async._ZoneFunction$(T$.ZoneLAndZoneDelegateLAndZoneL__ToLZoneL())))(), + ZoneNAndZoneDelegateNAndZone__ToZone: () => (T$.ZoneNAndZoneDelegateNAndZone__ToZone = dart.constFn(dart.fnType(async.Zone, [T$.ZoneN(), T$.ZoneDelegateN(), async.Zone, T$.ZoneSpecificationN(), T$.MapNOfObjectN$ObjectN()])))(), + StackTraceL: () => (T$.StackTraceL = dart.constFn(dart.legacy(core.StackTrace)))(), + ZoneLAndZoneDelegateLAndZoneL__Tovoid$2: () => (T$.ZoneLAndZoneDelegateLAndZoneL__Tovoid$2 = dart.constFn(dart.fnType(dart.void, [T$.ZoneL(), T$.ZoneDelegateL(), T$.ZoneL(), T$.ObjectL(), T$.StackTraceL()])))(), + ZoneLAndZoneDelegateLAndZoneL__ToLvoid$2: () => (T$.ZoneLAndZoneDelegateLAndZoneL__ToLvoid$2 = dart.constFn(dart.legacy(T$.ZoneLAndZoneDelegateLAndZoneL__Tovoid$2())))(), + _ZoneFunctionOfZoneLAndZoneDelegateLAndZoneL__ToLvoid$2: () => (T$._ZoneFunctionOfZoneLAndZoneDelegateLAndZoneL__ToLvoid$2 = dart.constFn(async._ZoneFunction$(T$.ZoneLAndZoneDelegateLAndZoneL__ToLvoid$2())))(), + ZoneNAndZoneDelegateNAndZone__Tovoid$1: () => (T$.ZoneNAndZoneDelegateNAndZone__Tovoid$1 = dart.constFn(dart.fnType(dart.void, [T$.ZoneN(), T$.ZoneDelegateN(), async.Zone, core.Object, core.StackTrace])))(), + NeverAndNeverTodynamic: () => (T$.NeverAndNeverTodynamic = dart.constFn(dart.fnType(dart.dynamic, [dart.Never, dart.Never])))(), + StringTovoid: () => (T$.StringTovoid = dart.constFn(dart.fnType(dart.void, [core.String])))(), + HashMapOfObjectN$ObjectN: () => (T$.HashMapOfObjectN$ObjectN = dart.constFn(collection.HashMap$(T$.ObjectN(), T$.ObjectN())))(), + JSArrayOfObjectN: () => (T$.JSArrayOfObjectN = dart.constFn(_interceptors.JSArray$(T$.ObjectN())))(), + ObjectNToint: () => (T$.ObjectNToint = dart.constFn(dart.fnType(core.int, [T$.ObjectN()])))(), + ObjectNAndObjectNTobool: () => (T$.ObjectNAndObjectNTobool = dart.constFn(dart.fnType(core.bool, [T$.ObjectN(), T$.ObjectN()])))(), + LinkedListEntryOfLinkedListEntry: () => (T$.LinkedListEntryOfLinkedListEntry = dart.constFn(collection.LinkedListEntry$(collection.LinkedListEntry)))() + }; + var T$0 = { + dynamicTobool: () => (T$0.dynamicTobool = dart.constFn(dart.fnType(core.bool, [dart.dynamic])))(), + ComparableAndComparableToint: () => (T$0.ComparableAndComparableToint = dart.constFn(dart.fnType(core.int, [core.Comparable, core.Comparable])))(), + MappedIterableOfString$dynamic: () => (T$0.MappedIterableOfString$dynamic = dart.constFn(_internal.MappedIterable$(core.String, dart.dynamic)))(), + ObjectNTodynamic: () => (T$0.ObjectNTodynamic = dart.constFn(dart.fnType(dart.dynamic, [T$.ObjectN()])))(), + MapOfString$dynamic: () => (T$0.MapOfString$dynamic = dart.constFn(core.Map$(core.String, dart.dynamic)))(), + StringAnddynamicTovoid: () => (T$0.StringAnddynamicTovoid = dart.constFn(dart.fnType(dart.void, [core.String, dart.dynamic])))(), + IdentityMapOfString$dynamic: () => (T$0.IdentityMapOfString$dynamic = dart.constFn(_js_helper.IdentityMap$(core.String, dart.dynamic)))(), + ListOfint: () => (T$0.ListOfint = dart.constFn(core.List$(core.int)))(), + StringBufferAndStringToStringBuffer: () => (T$0.StringBufferAndStringToStringBuffer = dart.constFn(dart.fnType(core.StringBuffer, [core.StringBuffer, core.String])))(), + StringBufferToString: () => (T$0.StringBufferToString = dart.constFn(dart.fnType(core.String, [core.StringBuffer])))(), + IdentityMapOfString$Encoding: () => (T$0.IdentityMapOfString$Encoding = dart.constFn(_js_helper.IdentityMap$(core.String, convert.Encoding)))(), + SinkOfListOfint: () => (T$0.SinkOfListOfint = dart.constFn(core.Sink$(T$0.ListOfint())))(), + StreamOfString: () => (T$0.StreamOfString = dart.constFn(async.Stream$(core.String)))(), + StreamOfListOfint: () => (T$0.StreamOfListOfint = dart.constFn(async.Stream$(T$0.ListOfint())))(), + SinkOfString: () => (T$0.SinkOfString = dart.constFn(core.Sink$(core.String)))(), + intL: () => (T$0.intL = dart.constFn(dart.legacy(core.int)))(), + StreamOfObjectN: () => (T$0.StreamOfObjectN = dart.constFn(async.Stream$(T$.ObjectN())))(), + JSArrayOfListOfint: () => (T$0.JSArrayOfListOfint = dart.constFn(_interceptors.JSArray$(T$0.ListOfint())))(), + Uint8ListAndintAndintTovoid: () => (T$0.Uint8ListAndintAndintTovoid = dart.constFn(dart.fnType(dart.void, [typed_data.Uint8List, core.int, core.int])))(), + SyncIterableOfString: () => (T$0.SyncIterableOfString = dart.constFn(_js_helper.SyncIterable$(core.String)))(), + EventSinkOfString: () => (T$0.EventSinkOfString = dart.constFn(async.EventSink$(core.String)))(), + EventSinkOfStringTo_LineSplitterEventSink: () => (T$0.EventSinkOfStringTo_LineSplitterEventSink = dart.constFn(dart.fnType(convert._LineSplitterEventSink, [T$0.EventSinkOfString()])))(), + VoidToObjectN: () => (T$0.VoidToObjectN = dart.constFn(dart.fnType(T$.ObjectN(), [])))(), + IdentityMapOfString$_FakeUserTag: () => (T$0.IdentityMapOfString$_FakeUserTag = dart.constFn(_js_helper.IdentityMap$(core.String, developer._FakeUserTag)))(), + LinkedMapOfString$Metric: () => (T$0.LinkedMapOfString$Metric = dart.constFn(_js_helper.LinkedMap$(core.String, developer.Metric)))(), + UriN: () => (T$0.UriN = dart.constFn(dart.nullable(core.Uri)))(), + CompleterOfUriN: () => (T$0.CompleterOfUriN = dart.constFn(async.Completer$(T$0.UriN())))(), + UriNTovoid: () => (T$0.UriNTovoid = dart.constFn(dart.fnType(dart.void, [T$0.UriN()])))(), + CompleterOfUri: () => (T$0.CompleterOfUri = dart.constFn(async.Completer$(core.Uri)))(), + UriTovoid: () => (T$0.UriTovoid = dart.constFn(dart.fnType(dart.void, [core.Uri])))(), + _SyncBlockN: () => (T$0._SyncBlockN = dart.constFn(dart.nullable(developer._SyncBlock)))(), + JSArrayOf_SyncBlockN: () => (T$0.JSArrayOf_SyncBlockN = dart.constFn(_interceptors.JSArray$(T$0._SyncBlockN())))(), + JSArrayOf_AsyncBlock: () => (T$0.JSArrayOf_AsyncBlock = dart.constFn(_interceptors.JSArray$(developer._AsyncBlock)))(), + LinkedMapOfObjectN$ObjectN: () => (T$0.LinkedMapOfObjectN$ObjectN = dart.constFn(_js_helper.LinkedMap$(T$.ObjectN(), T$.ObjectN())))(), + FutureOfServiceExtensionResponse: () => (T$0.FutureOfServiceExtensionResponse = dart.constFn(async.Future$(developer.ServiceExtensionResponse)))(), + MapOfString$String: () => (T$0.MapOfString$String = dart.constFn(core.Map$(core.String, core.String)))(), + StringAndMapOfString$StringToFutureOfServiceExtensionResponse: () => (T$0.StringAndMapOfString$StringToFutureOfServiceExtensionResponse = dart.constFn(dart.fnType(T$0.FutureOfServiceExtensionResponse(), [core.String, T$0.MapOfString$String()])))(), + IdentityMapOfString$StringAndMapOfString$StringToFutureOfServiceExtensionResponse: () => (T$0.IdentityMapOfString$StringAndMapOfString$StringToFutureOfServiceExtensionResponse = dart.constFn(_js_helper.IdentityMap$(core.String, T$0.StringAndMapOfString$StringToFutureOfServiceExtensionResponse())))(), + VoidToUint8List: () => (T$0.VoidToUint8List = dart.constFn(dart.fnType(typed_data.Uint8List, [])))(), + Uint8ListTodynamic: () => (T$0.Uint8ListTodynamic = dart.constFn(dart.fnType(dart.dynamic, [typed_data.Uint8List])))(), + FutureOfDirectory: () => (T$0.FutureOfDirectory = dart.constFn(async.Future$(io.Directory)))(), + DirectoryToFutureOfDirectory: () => (T$0.DirectoryToFutureOfDirectory = dart.constFn(dart.fnType(T$0.FutureOfDirectory(), [io.Directory])))(), + FutureOrOfDirectory: () => (T$0.FutureOrOfDirectory = dart.constFn(async.FutureOr$(io.Directory)))(), + boolToFutureOrOfDirectory: () => (T$0.boolToFutureOrOfDirectory = dart.constFn(dart.fnType(T$0.FutureOrOfDirectory(), [core.bool])))(), + dynamicTo_Directory: () => (T$0.dynamicTo_Directory = dart.constFn(dart.fnType(io._Directory, [dart.dynamic])))(), + dynamicToDirectory: () => (T$0.dynamicToDirectory = dart.constFn(dart.fnType(io.Directory, [dart.dynamic])))(), + JSArrayOfFileSystemEntity: () => (T$0.JSArrayOfFileSystemEntity = dart.constFn(_interceptors.JSArray$(io.FileSystemEntity)))(), + FutureOrOfString: () => (T$0.FutureOrOfString = dart.constFn(async.FutureOr$(core.String)))(), + dynamicToFutureOrOfString: () => (T$0.dynamicToFutureOrOfString = dart.constFn(dart.fnType(T$0.FutureOrOfString(), [dart.dynamic])))(), + dynamicToFutureOrOfbool: () => (T$0.dynamicToFutureOrOfbool = dart.constFn(dart.fnType(T$.FutureOrOfbool(), [dart.dynamic])))(), + FileSystemEntityTypeTobool: () => (T$0.FileSystemEntityTypeTobool = dart.constFn(dart.fnType(core.bool, [io.FileSystemEntityType])))(), + dynamicToFileSystemEntityType: () => (T$0.dynamicToFileSystemEntityType = dart.constFn(dart.fnType(io.FileSystemEntityType, [dart.dynamic])))(), + StreamControllerOfFileSystemEntity: () => (T$0.StreamControllerOfFileSystemEntity = dart.constFn(async.StreamController$(io.FileSystemEntity)))(), + StreamControllerOfUint8List: () => (T$0.StreamControllerOfUint8List = dart.constFn(async.StreamController$(typed_data.Uint8List)))(), + VoidToFuture: () => (T$0.VoidToFuture = dart.constFn(dart.fnType(async.Future, [])))(), + Uint8ListToNull: () => (T$0.Uint8ListToNull = dart.constFn(dart.fnType(core.Null, [typed_data.Uint8List])))(), + RandomAccessFileTovoid: () => (T$0.RandomAccessFileTovoid = dart.constFn(dart.fnType(dart.void, [io.RandomAccessFile])))(), + FutureOfRandomAccessFile: () => (T$0.FutureOfRandomAccessFile = dart.constFn(async.Future$(io.RandomAccessFile)))(), + FileN: () => (T$0.FileN = dart.constFn(dart.nullable(io.File)))(), + CompleterOfFileN: () => (T$0.CompleterOfFileN = dart.constFn(async.Completer$(T$0.FileN())))(), + StreamSubscriptionOfListOfint: () => (T$0.StreamSubscriptionOfListOfint = dart.constFn(async.StreamSubscription$(T$0.ListOfint())))(), + VoidToStreamSubscriptionOfListOfint: () => (T$0.VoidToStreamSubscriptionOfListOfint = dart.constFn(dart.fnType(T$0.StreamSubscriptionOfListOfint(), [])))(), + StreamSubscriptionOfListOfintTodynamic: () => (T$0.StreamSubscriptionOfListOfintTodynamic = dart.constFn(dart.fnType(dart.dynamic, [T$0.StreamSubscriptionOfListOfint()])))(), + dynamicAndStackTraceTovoid: () => (T$0.dynamicAndStackTraceTovoid = dart.constFn(dart.fnType(dart.void, [dart.dynamic, core.StackTrace])))(), + ListOfintTovoid: () => (T$0.ListOfintTovoid = dart.constFn(dart.fnType(dart.void, [T$0.ListOfint()])))(), + RandomAccessFileToNull: () => (T$0.RandomAccessFileToNull = dart.constFn(dart.fnType(core.Null, [io.RandomAccessFile])))(), + RandomAccessFileToFutureOfvoid: () => (T$0.RandomAccessFileToFutureOfvoid = dart.constFn(dart.fnType(T$.FutureOfvoid(), [io.RandomAccessFile])))(), + voidToFileN: () => (T$0.voidToFileN = dart.constFn(dart.fnType(T$0.FileN(), [dart.void])))(), + DirectoryN: () => (T$0.DirectoryN = dart.constFn(dart.nullable(io.Directory)))(), + DirectoryNToFuture: () => (T$0.DirectoryNToFuture = dart.constFn(dart.fnType(async.Future, [T$0.DirectoryN()])))(), + dynamicTo_File: () => (T$0.dynamicTo_File = dart.constFn(dart.fnType(io._File, [dart.dynamic])))(), + FileSystemEntityTo_File: () => (T$0.FileSystemEntityTo_File = dart.constFn(dart.fnType(io._File, [io.FileSystemEntity])))(), + dynamicToFile: () => (T$0.dynamicToFile = dart.constFn(dart.fnType(io.File, [dart.dynamic])))(), + dynamicTo_RandomAccessFile: () => (T$0.dynamicTo_RandomAccessFile = dart.constFn(dart.fnType(io._RandomAccessFile, [dart.dynamic])))(), + FutureOrOfint: () => (T$0.FutureOrOfint = dart.constFn(async.FutureOr$(core.int)))(), + dynamicToFutureOrOfint: () => (T$0.dynamicToFutureOrOfint = dart.constFn(dart.fnType(T$0.FutureOrOfint(), [dart.dynamic])))(), + dynamicToDateTime: () => (T$0.dynamicToDateTime = dart.constFn(dart.fnType(core.DateTime, [dart.dynamic])))(), + CompleterOfUint8List: () => (T$0.CompleterOfUint8List = dart.constFn(async.Completer$(typed_data.Uint8List)))(), + FutureOfUint8List: () => (T$0.FutureOfUint8List = dart.constFn(async.Future$(typed_data.Uint8List)))(), + RandomAccessFileToFutureOfUint8List: () => (T$0.RandomAccessFileToFutureOfUint8List = dart.constFn(dart.fnType(T$0.FutureOfUint8List(), [io.RandomAccessFile])))(), + intToFutureOfUint8List: () => (T$0.intToFutureOfUint8List = dart.constFn(dart.fnType(T$0.FutureOfUint8List(), [core.int])))(), + FutureOfString: () => (T$0.FutureOfString = dart.constFn(async.Future$(core.String)))(), + Uint8ListToFutureOrOfString: () => (T$0.Uint8ListToFutureOrOfString = dart.constFn(dart.fnType(T$0.FutureOrOfString(), [typed_data.Uint8List])))(), + RandomAccessFileTo_File: () => (T$0.RandomAccessFileTo_File = dart.constFn(dart.fnType(io._File, [io.RandomAccessFile])))(), + FutureOrOfFile: () => (T$0.FutureOrOfFile = dart.constFn(async.FutureOr$(io.File)))(), + RandomAccessFileToFutureOrOfFile: () => (T$0.RandomAccessFileToFutureOrOfFile = dart.constFn(dart.fnType(T$0.FutureOrOfFile(), [io.RandomAccessFile])))(), + FutureOfFile: () => (T$0.FutureOfFile = dart.constFn(async.Future$(io.File)))(), + RandomAccessFileToFutureOfFile: () => (T$0.RandomAccessFileToFutureOfFile = dart.constFn(dart.fnType(T$0.FutureOfFile(), [io.RandomAccessFile])))(), + dynamicAnddynamicToFutureOfServiceExtensionResponse: () => (T$0.dynamicAnddynamicToFutureOfServiceExtensionResponse = dart.constFn(dart.fnType(T$0.FutureOfServiceExtensionResponse(), [dart.dynamic, dart.dynamic])))(), + dynamicToUint8List: () => (T$0.dynamicToUint8List = dart.constFn(dart.fnType(typed_data.Uint8List, [dart.dynamic])))(), + FutureOfint: () => (T$0.FutureOfint = dart.constFn(async.Future$(core.int)))(), + dynamicToint: () => (T$0.dynamicToint = dart.constFn(dart.fnType(core.int, [dart.dynamic])))(), + FileSystemEntityTypeL: () => (T$0.FileSystemEntityTypeL = dart.constFn(dart.legacy(io.FileSystemEntityType)))(), + dynamicToFileStat: () => (T$0.dynamicToFileStat = dart.constFn(dart.fnType(io.FileStat, [dart.dynamic])))(), + ListOfMapOfString$dynamic: () => (T$0.ListOfMapOfString$dynamic = dart.constFn(core.List$(T$0.MapOfString$dynamic())))(), + _FileResourceInfoToMapOfString$dynamic: () => (T$0._FileResourceInfoToMapOfString$dynamic = dart.constFn(dart.fnType(T$0.MapOfString$dynamic(), [io._FileResourceInfo])))(), + IdentityMapOfint$_FileResourceInfo: () => (T$0.IdentityMapOfint$_FileResourceInfo = dart.constFn(_js_helper.IdentityMap$(core.int, io._FileResourceInfo)))(), + _SpawnedProcessResourceInfoToMapOfString$dynamic: () => (T$0._SpawnedProcessResourceInfoToMapOfString$dynamic = dart.constFn(dart.fnType(T$0.MapOfString$dynamic(), [io._SpawnedProcessResourceInfo])))(), + LinkedMapOfint$_SpawnedProcessResourceInfo: () => (T$0.LinkedMapOfint$_SpawnedProcessResourceInfo = dart.constFn(_js_helper.LinkedMap$(core.int, io._SpawnedProcessResourceInfo)))(), + dynamicTo_Link: () => (T$0.dynamicTo_Link = dart.constFn(dart.fnType(io._Link, [dart.dynamic])))(), + FutureOfLink: () => (T$0.FutureOfLink = dart.constFn(async.Future$(io.Link)))(), + FileSystemEntityToFutureOfLink: () => (T$0.FileSystemEntityToFutureOfLink = dart.constFn(dart.fnType(T$0.FutureOfLink(), [io.FileSystemEntity])))(), + FileSystemEntityTo_Link: () => (T$0.FileSystemEntityTo_Link = dart.constFn(dart.fnType(io._Link, [io.FileSystemEntity])))(), + dynamicToLink: () => (T$0.dynamicToLink = dart.constFn(dart.fnType(io.Link, [dart.dynamic])))(), + _SocketStatisticToMapOfString$dynamic: () => (T$0._SocketStatisticToMapOfString$dynamic = dart.constFn(dart.fnType(T$0.MapOfString$dynamic(), [io._SocketStatistic])))(), + IdentityMapOfint$_SocketStatistic: () => (T$0.IdentityMapOfint$_SocketStatistic = dart.constFn(_js_helper.IdentityMap$(core.int, io._SocketStatistic)))(), + _SocketProfileTypeL: () => (T$0._SocketProfileTypeL = dart.constFn(dart.legacy(io._SocketProfileType)))(), + IOOverridesN: () => (T$0.IOOverridesN = dart.constFn(dart.nullable(io.IOOverrides)))(), + _CaseInsensitiveStringMapOfString: () => (T$0._CaseInsensitiveStringMapOfString = dart.constFn(io._CaseInsensitiveStringMap$(core.String)))(), + LinkedMapOfString$String: () => (T$0.LinkedMapOfString$String = dart.constFn(_js_helper.LinkedMap$(core.String, core.String)))(), + UnmodifiableMapViewOfString$String: () => (T$0.UnmodifiableMapViewOfString$String = dart.constFn(collection.UnmodifiableMapView$(core.String, core.String)))(), + ProcessStartModeL: () => (T$0.ProcessStartModeL = dart.constFn(dart.legacy(io.ProcessStartMode)))(), + RawSecureServerSocketToSecureServerSocket: () => (T$0.RawSecureServerSocketToSecureServerSocket = dart.constFn(dart.fnType(io.SecureServerSocket, [io.RawSecureServerSocket])))(), + RawSecureSocketToSecureSocket: () => (T$0.RawSecureSocketToSecureSocket = dart.constFn(dart.fnType(io.SecureSocket, [io.RawSecureSocket])))(), + ConnectionTaskOfSecureSocket: () => (T$0.ConnectionTaskOfSecureSocket = dart.constFn(io.ConnectionTask$(io.SecureSocket)))(), + ConnectionTaskOfRawSecureSocket: () => (T$0.ConnectionTaskOfRawSecureSocket = dart.constFn(io.ConnectionTask$(io.RawSecureSocket)))(), + ConnectionTaskOfRawSecureSocketToConnectionTaskOfSecureSocket: () => (T$0.ConnectionTaskOfRawSecureSocketToConnectionTaskOfSecureSocket = dart.constFn(dart.fnType(T$0.ConnectionTaskOfSecureSocket(), [T$0.ConnectionTaskOfRawSecureSocket()])))(), + StreamSubscriptionOfRawSocketEvent: () => (T$0.StreamSubscriptionOfRawSocketEvent = dart.constFn(async.StreamSubscription$(io.RawSocketEvent)))(), + StreamSubscriptionNOfRawSocketEvent: () => (T$0.StreamSubscriptionNOfRawSocketEvent = dart.constFn(dart.nullable(T$0.StreamSubscriptionOfRawSocketEvent())))(), + FutureOfRawSecureSocket: () => (T$0.FutureOfRawSecureSocket = dart.constFn(async.Future$(io.RawSecureSocket)))(), + dynamicToFutureOfRawSecureSocket: () => (T$0.dynamicToFutureOfRawSecureSocket = dart.constFn(dart.fnType(T$0.FutureOfRawSecureSocket(), [dart.dynamic])))(), + StreamControllerOfRawSecureSocket: () => (T$0.StreamControllerOfRawSecureSocket = dart.constFn(async.StreamController$(io.RawSecureSocket)))(), + RawServerSocketToRawSecureServerSocket: () => (T$0.RawServerSocketToRawSecureServerSocket = dart.constFn(dart.fnType(io.RawSecureServerSocket, [io.RawServerSocket])))(), + RawSecureSocketToNull: () => (T$0.RawSecureSocketToNull = dart.constFn(dart.fnType(core.Null, [io.RawSecureSocket])))(), + RawSocketToFutureOfRawSecureSocket: () => (T$0.RawSocketToFutureOfRawSecureSocket = dart.constFn(dart.fnType(T$0.FutureOfRawSecureSocket(), [io.RawSocket])))(), + ConnectionTaskOfRawSocket: () => (T$0.ConnectionTaskOfRawSocket = dart.constFn(io.ConnectionTask$(io.RawSocket)))(), + ConnectionTaskOfRawSocketToConnectionTaskOfRawSecureSocket: () => (T$0.ConnectionTaskOfRawSocketToConnectionTaskOfRawSecureSocket = dart.constFn(dart.fnType(T$0.ConnectionTaskOfRawSecureSocket(), [T$0.ConnectionTaskOfRawSocket()])))(), + CompleterOf_RawSecureSocket: () => (T$0.CompleterOf_RawSecureSocket = dart.constFn(async.Completer$(io._RawSecureSocket)))(), + StreamControllerOfRawSocketEvent: () => (T$0.StreamControllerOfRawSocketEvent = dart.constFn(async.StreamController$(io.RawSocketEvent)))(), + CompleterOfRawSecureSocket: () => (T$0.CompleterOfRawSecureSocket = dart.constFn(async.Completer$(io.RawSecureSocket)))(), + intToint: () => (T$0.intToint = dart.constFn(dart.fnType(core.int, [core.int])))(), + ListOfintAndStringTovoid: () => (T$0.ListOfintAndStringTovoid = dart.constFn(dart.fnType(dart.void, [T$0.ListOfint(), core.String])))(), + _RawSocketOptionsL: () => (T$0._RawSocketOptionsL = dart.constFn(dart.legacy(io._RawSocketOptions)))(), + JSArrayOf_DomainNetworkPolicy: () => (T$0.JSArrayOf_DomainNetworkPolicy = dart.constFn(_interceptors.JSArray$(io._DomainNetworkPolicy)))(), + StdoutN: () => (T$0.StdoutN = dart.constFn(dart.nullable(io.Stdout)))(), + Fn__ToR: () => (T$0.Fn__ToR = dart.constFn(dart.gFnType(R => [R, [dart.fnType(R, [])], {onError: T$.FunctionN(), zoneSpecification: T$.ZoneSpecificationN(), zoneValues: T$.MapNOfObjectN$ObjectN()}, {}], R => [T$.ObjectN()])))(), + LinkedMapOfSymbol$dynamic: () => (T$0.LinkedMapOfSymbol$dynamic = dart.constFn(_js_helper.LinkedMap$(core.Symbol, dart.dynamic)))(), + ObjectToObject: () => (T$0.ObjectToObject = dart.constFn(dart.fnType(core.Object, [core.Object])))(), + ObjectTo_DartObject: () => (T$0.ObjectTo_DartObject = dart.constFn(dart.fnType(js._DartObject, [core.Object])))(), + ObjectToJsObject: () => (T$0.ObjectToJsObject = dart.constFn(dart.fnType(js.JsObject, [core.Object])))(), + PointOfnum: () => (T$0.PointOfnum = dart.constFn(math.Point$(core.num)))(), + RectangleOfnum: () => (T$0.RectangleOfnum = dart.constFn(math.Rectangle$(core.num)))(), + EventL: () => (T$0.EventL = dart.constFn(dart.legacy(html$.Event)))(), + EventStreamProviderOfEventL: () => (T$0.EventStreamProviderOfEventL = dart.constFn(html$.EventStreamProvider$(T$0.EventL())))(), + VersionChangeEventL: () => (T$0.VersionChangeEventL = dart.constFn(dart.legacy(indexed_db.VersionChangeEvent)))(), + EventStreamProviderOfVersionChangeEventL: () => (T$0.EventStreamProviderOfVersionChangeEventL = dart.constFn(html$.EventStreamProvider$(T$0.VersionChangeEventL())))(), + FutureOfDatabase: () => (T$0.FutureOfDatabase = dart.constFn(async.Future$(indexed_db.Database)))(), + CompleterOfIdbFactory: () => (T$0.CompleterOfIdbFactory = dart.constFn(async.Completer$(indexed_db.IdbFactory)))(), + EventTovoid: () => (T$0.EventTovoid = dart.constFn(dart.fnType(dart.void, [html$.Event])))(), + FutureOfIdbFactory: () => (T$0.FutureOfIdbFactory = dart.constFn(async.Future$(indexed_db.IdbFactory)))(), + ObserverChangesTovoid: () => (T$0.ObserverChangesTovoid = dart.constFn(dart.fnType(dart.void, [indexed_db.ObserverChanges])))(), + CompleterOfDatabase: () => (T$0.CompleterOfDatabase = dart.constFn(async.Completer$(indexed_db.Database)))(), + EventToNull: () => (T$0.EventToNull = dart.constFn(dart.fnType(core.Null, [html$.Event])))(), + ElementN: () => (T$0.ElementN = dart.constFn(dart.nullable(html$.Element)))(), + JSArrayOfEventTarget: () => (T$0.JSArrayOfEventTarget = dart.constFn(_interceptors.JSArray$(html$.EventTarget)))(), + NodeTobool: () => (T$0.NodeTobool = dart.constFn(dart.fnType(core.bool, [html$.Node])))(), + CompleterOfScrollState: () => (T$0.CompleterOfScrollState = dart.constFn(async.Completer$(html$.ScrollState)))(), + ScrollStateTovoid: () => (T$0.ScrollStateTovoid = dart.constFn(dart.fnType(dart.void, [html$.ScrollState])))(), + MapOfString$dynamicTobool: () => (T$0.MapOfString$dynamicTobool = dart.constFn(dart.fnType(core.bool, [T$0.MapOfString$dynamic()])))(), + MapN: () => (T$0.MapN = dart.constFn(dart.nullable(core.Map)))(), + ObjectNToNvoid: () => (T$0.ObjectNToNvoid = dart.constFn(dart.nullable(T$.ObjectNTovoid())))(), + MapNAndFnTodynamic: () => (T$0.MapNAndFnTodynamic = dart.constFn(dart.fnType(dart.dynamic, [T$0.MapN()], [T$0.ObjectNToNvoid()])))(), + WheelEventL: () => (T$0.WheelEventL = dart.constFn(dart.legacy(html$.WheelEvent)))(), + _CustomEventStreamProviderOfWheelEventL: () => (T$0._CustomEventStreamProviderOfWheelEventL = dart.constFn(html$._CustomEventStreamProvider$(T$0.WheelEventL())))(), + EventTargetToString: () => (T$0.EventTargetToString = dart.constFn(dart.fnType(core.String, [html$.EventTarget])))(), + TransitionEventL: () => (T$0.TransitionEventL = dart.constFn(dart.legacy(html$.TransitionEvent)))(), + _CustomEventStreamProviderOfTransitionEventL: () => (T$0._CustomEventStreamProviderOfTransitionEventL = dart.constFn(html$._CustomEventStreamProvider$(T$0.TransitionEventL())))(), + MouseEventL: () => (T$0.MouseEventL = dart.constFn(dart.legacy(html$.MouseEvent)))(), + EventStreamProviderOfMouseEventL: () => (T$0.EventStreamProviderOfMouseEventL = dart.constFn(html$.EventStreamProvider$(T$0.MouseEventL())))(), + ClipboardEventL: () => (T$0.ClipboardEventL = dart.constFn(dart.legacy(html$.ClipboardEvent)))(), + EventStreamProviderOfClipboardEventL: () => (T$0.EventStreamProviderOfClipboardEventL = dart.constFn(html$.EventStreamProvider$(T$0.ClipboardEventL())))(), + KeyboardEventL: () => (T$0.KeyboardEventL = dart.constFn(dart.legacy(html$.KeyboardEvent)))(), + EventStreamProviderOfKeyboardEventL: () => (T$0.EventStreamProviderOfKeyboardEventL = dart.constFn(html$.EventStreamProvider$(T$0.KeyboardEventL())))(), + TouchEventL: () => (T$0.TouchEventL = dart.constFn(dart.legacy(html$.TouchEvent)))(), + EventStreamProviderOfTouchEventL: () => (T$0.EventStreamProviderOfTouchEventL = dart.constFn(html$.EventStreamProvider$(T$0.TouchEventL())))(), + EventStreamProviderOfWheelEventL: () => (T$0.EventStreamProviderOfWheelEventL = dart.constFn(html$.EventStreamProvider$(T$0.WheelEventL())))(), + ProgressEventL: () => (T$0.ProgressEventL = dart.constFn(dart.legacy(html$.ProgressEvent)))(), + EventStreamProviderOfProgressEventL: () => (T$0.EventStreamProviderOfProgressEventL = dart.constFn(html$.EventStreamProvider$(T$0.ProgressEventL())))(), + MessageEventL: () => (T$0.MessageEventL = dart.constFn(dart.legacy(html$.MessageEvent)))(), + EventStreamProviderOfMessageEventL: () => (T$0.EventStreamProviderOfMessageEventL = dart.constFn(html$.EventStreamProvider$(T$0.MessageEventL())))(), + PopStateEventL: () => (T$0.PopStateEventL = dart.constFn(dart.legacy(html$.PopStateEvent)))(), + EventStreamProviderOfPopStateEventL: () => (T$0.EventStreamProviderOfPopStateEventL = dart.constFn(html$.EventStreamProvider$(T$0.PopStateEventL())))(), + StorageEventL: () => (T$0.StorageEventL = dart.constFn(dart.legacy(html$.StorageEvent)))(), + EventStreamProviderOfStorageEventL: () => (T$0.EventStreamProviderOfStorageEventL = dart.constFn(html$.EventStreamProvider$(T$0.StorageEventL())))(), + CompleterOfBlob: () => (T$0.CompleterOfBlob = dart.constFn(async.Completer$(html$.Blob)))(), + BlobN: () => (T$0.BlobN = dart.constFn(dart.nullable(html$.Blob)))(), + BlobNTovoid: () => (T$0.BlobNTovoid = dart.constFn(dart.fnType(dart.void, [T$0.BlobN()])))(), + ContextEventL: () => (T$0.ContextEventL = dart.constFn(dart.legacy(web_gl.ContextEvent)))(), + EventStreamProviderOfContextEventL: () => (T$0.EventStreamProviderOfContextEventL = dart.constFn(html$.EventStreamProvider$(T$0.ContextEventL())))(), + JSArrayOfnum: () => (T$0.JSArrayOfnum = dart.constFn(_interceptors.JSArray$(core.num)))(), + dynamicToCssStyleDeclaration: () => (T$0.dynamicToCssStyleDeclaration = dart.constFn(dart.fnType(html$.CssStyleDeclaration, [dart.dynamic])))(), + CssStyleDeclarationTovoid: () => (T$0.CssStyleDeclarationTovoid = dart.constFn(dart.fnType(dart.void, [html$.CssStyleDeclaration])))(), + ListOfCssTransformComponent: () => (T$0.ListOfCssTransformComponent = dart.constFn(core.List$(html$.CssTransformComponent)))(), + CompleterOfEntry: () => (T$0.CompleterOfEntry = dart.constFn(async.Completer$(html$.Entry)))(), + EntryTovoid: () => (T$0.EntryTovoid = dart.constFn(dart.fnType(dart.void, [html$.Entry])))(), + DomExceptionTovoid: () => (T$0.DomExceptionTovoid = dart.constFn(dart.fnType(dart.void, [html$.DomException])))(), + CompleterOfMetadata: () => (T$0.CompleterOfMetadata = dart.constFn(async.Completer$(html$.Metadata)))(), + MetadataTovoid: () => (T$0.MetadataTovoid = dart.constFn(dart.fnType(dart.void, [html$.Metadata])))(), + ListOfEntry: () => (T$0.ListOfEntry = dart.constFn(core.List$(html$.Entry)))(), + CompleterOfListOfEntry: () => (T$0.CompleterOfListOfEntry = dart.constFn(async.Completer$(T$0.ListOfEntry())))(), + ListTovoid: () => (T$0.ListTovoid = dart.constFn(dart.fnType(dart.void, [core.List])))(), + SecurityPolicyViolationEventL: () => (T$0.SecurityPolicyViolationEventL = dart.constFn(dart.legacy(html$.SecurityPolicyViolationEvent)))(), + EventStreamProviderOfSecurityPolicyViolationEventL: () => (T$0.EventStreamProviderOfSecurityPolicyViolationEventL = dart.constFn(html$.EventStreamProvider$(T$0.SecurityPolicyViolationEventL())))(), + IterableOfElement: () => (T$0.IterableOfElement = dart.constFn(core.Iterable$(html$.Element)))(), + ListOfElement: () => (T$0.ListOfElement = dart.constFn(core.List$(html$.Element)))(), + ElementTobool: () => (T$0.ElementTobool = dart.constFn(dart.fnType(core.bool, [html$.Element])))(), + _EventStreamOfEvent: () => (T$0._EventStreamOfEvent = dart.constFn(html$._EventStream$(html$.Event)))(), + _ElementEventStreamImplOfEvent: () => (T$0._ElementEventStreamImplOfEvent = dart.constFn(html$._ElementEventStreamImpl$(html$.Event)))(), + CompleterOfFileWriter: () => (T$0.CompleterOfFileWriter = dart.constFn(async.Completer$(html$.FileWriter)))(), + FileWriterTovoid: () => (T$0.FileWriterTovoid = dart.constFn(dart.fnType(dart.void, [html$.FileWriter])))(), + CompleterOfFile: () => (T$0.CompleterOfFile = dart.constFn(async.Completer$(html$.File)))(), + FileN$1: () => (T$0.FileN$1 = dart.constFn(dart.nullable(html$.File)))(), + FileNTovoid: () => (T$0.FileNTovoid = dart.constFn(dart.fnType(dart.void, [T$0.FileN$1()])))(), + FontFaceSetLoadEventL: () => (T$0.FontFaceSetLoadEventL = dart.constFn(dart.legacy(html$.FontFaceSetLoadEvent)))(), + EventStreamProviderOfFontFaceSetLoadEventL: () => (T$0.EventStreamProviderOfFontFaceSetLoadEventL = dart.constFn(html$.EventStreamProvider$(T$0.FontFaceSetLoadEventL())))(), + CompleterOfGeoposition: () => (T$0.CompleterOfGeoposition = dart.constFn(async.Completer$(html$.Geoposition)))(), + GeopositionTovoid: () => (T$0.GeopositionTovoid = dart.constFn(dart.fnType(dart.void, [html$.Geoposition])))(), + PositionErrorTovoid: () => (T$0.PositionErrorTovoid = dart.constFn(dart.fnType(dart.void, [html$.PositionError])))(), + StreamControllerOfGeoposition: () => (T$0.StreamControllerOfGeoposition = dart.constFn(async.StreamController$(html$.Geoposition)))(), + _CustomEventStreamProviderOfEventL: () => (T$0._CustomEventStreamProviderOfEventL = dart.constFn(html$._CustomEventStreamProvider$(T$0.EventL())))(), + HttpRequestToString: () => (T$0.HttpRequestToString = dart.constFn(dart.fnType(core.String, [html$.HttpRequest])))(), + StringAndStringTovoid: () => (T$0.StringAndStringTovoid = dart.constFn(dart.fnType(dart.void, [core.String, core.String])))(), + CompleterOfHttpRequest: () => (T$0.CompleterOfHttpRequest = dart.constFn(async.Completer$(html$.HttpRequest)))(), + ProgressEventTovoid: () => (T$0.ProgressEventTovoid = dart.constFn(dart.fnType(dart.void, [html$.ProgressEvent])))(), + CompleterOfString: () => (T$0.CompleterOfString = dart.constFn(async.Completer$(core.String)))(), + FutureOrNOfString: () => (T$0.FutureOrNOfString = dart.constFn(dart.nullable(T$0.FutureOrOfString())))(), + ListAndIntersectionObserverTovoid: () => (T$0.ListAndIntersectionObserverTovoid = dart.constFn(dart.fnType(dart.void, [core.List, html$.IntersectionObserver])))(), + ListOfMediaStreamTrack: () => (T$0.ListOfMediaStreamTrack = dart.constFn(core.List$(html$.MediaStreamTrack)))(), + MessagePortL: () => (T$0.MessagePortL = dart.constFn(dart.legacy(html$.MessagePort)))(), + MidiMessageEventL: () => (T$0.MidiMessageEventL = dart.constFn(dart.legacy(html$.MidiMessageEvent)))(), + EventStreamProviderOfMidiMessageEventL: () => (T$0.EventStreamProviderOfMidiMessageEventL = dart.constFn(html$.EventStreamProvider$(T$0.MidiMessageEventL())))(), + MapTobool: () => (T$0.MapTobool = dart.constFn(dart.fnType(core.bool, [core.Map])))(), + JSArrayOfMap: () => (T$0.JSArrayOfMap = dart.constFn(_interceptors.JSArray$(core.Map)))(), + ListAndMutationObserverTovoid: () => (T$0.ListAndMutationObserverTovoid = dart.constFn(dart.fnType(dart.void, [core.List, html$.MutationObserver])))(), + ListAndMutationObserverToNvoid: () => (T$0.ListAndMutationObserverToNvoid = dart.constFn(dart.nullable(T$0.ListAndMutationObserverTovoid())))(), + boolL: () => (T$0.boolL = dart.constFn(dart.legacy(core.bool)))(), + CompleterOfMediaStream: () => (T$0.CompleterOfMediaStream = dart.constFn(async.Completer$(html$.MediaStream)))(), + MediaStreamTovoid: () => (T$0.MediaStreamTovoid = dart.constFn(dart.fnType(dart.void, [html$.MediaStream])))(), + NavigatorUserMediaErrorTovoid: () => (T$0.NavigatorUserMediaErrorTovoid = dart.constFn(dart.fnType(dart.void, [html$.NavigatorUserMediaError])))(), + IterableOfNode: () => (T$0.IterableOfNode = dart.constFn(core.Iterable$(html$.Node)))(), + NodeN$1: () => (T$0.NodeN$1 = dart.constFn(dart.nullable(html$.Node)))(), + PerformanceObserverEntryListAndPerformanceObserverTovoid: () => (T$0.PerformanceObserverEntryListAndPerformanceObserverTovoid = dart.constFn(dart.fnType(dart.void, [html$.PerformanceObserverEntryList, html$.PerformanceObserver])))(), + ListAndReportingObserverTovoid: () => (T$0.ListAndReportingObserverTovoid = dart.constFn(dart.fnType(dart.void, [core.List, html$.ReportingObserver])))(), + ListAndResizeObserverTovoid: () => (T$0.ListAndResizeObserverTovoid = dart.constFn(dart.fnType(dart.void, [core.List, html$.ResizeObserver])))(), + RtcDtmfToneChangeEventL: () => (T$0.RtcDtmfToneChangeEventL = dart.constFn(dart.legacy(html$.RtcDtmfToneChangeEvent)))(), + EventStreamProviderOfRtcDtmfToneChangeEventL: () => (T$0.EventStreamProviderOfRtcDtmfToneChangeEventL = dart.constFn(html$.EventStreamProvider$(T$0.RtcDtmfToneChangeEventL())))(), + JSArrayOfMapOfString$String: () => (T$0.JSArrayOfMapOfString$String = dart.constFn(_interceptors.JSArray$(T$0.MapOfString$String())))(), + CompleterOfRtcStatsResponse: () => (T$0.CompleterOfRtcStatsResponse = dart.constFn(async.Completer$(html$.RtcStatsResponse)))(), + RtcStatsResponseTovoid: () => (T$0.RtcStatsResponseTovoid = dart.constFn(dart.fnType(dart.void, [html$.RtcStatsResponse])))(), + MediaStreamEventL: () => (T$0.MediaStreamEventL = dart.constFn(dart.legacy(html$.MediaStreamEvent)))(), + EventStreamProviderOfMediaStreamEventL: () => (T$0.EventStreamProviderOfMediaStreamEventL = dart.constFn(html$.EventStreamProvider$(T$0.MediaStreamEventL())))(), + RtcDataChannelEventL: () => (T$0.RtcDataChannelEventL = dart.constFn(dart.legacy(html$.RtcDataChannelEvent)))(), + EventStreamProviderOfRtcDataChannelEventL: () => (T$0.EventStreamProviderOfRtcDataChannelEventL = dart.constFn(html$.EventStreamProvider$(T$0.RtcDataChannelEventL())))(), + RtcPeerConnectionIceEventL: () => (T$0.RtcPeerConnectionIceEventL = dart.constFn(dart.legacy(html$.RtcPeerConnectionIceEvent)))(), + EventStreamProviderOfRtcPeerConnectionIceEventL: () => (T$0.EventStreamProviderOfRtcPeerConnectionIceEventL = dart.constFn(html$.EventStreamProvider$(T$0.RtcPeerConnectionIceEventL())))(), + RtcTrackEventL: () => (T$0.RtcTrackEventL = dart.constFn(dart.legacy(html$.RtcTrackEvent)))(), + EventStreamProviderOfRtcTrackEventL: () => (T$0.EventStreamProviderOfRtcTrackEventL = dart.constFn(html$.EventStreamProvider$(T$0.RtcTrackEventL())))(), + UnmodifiableListViewOfOptionElement: () => (T$0.UnmodifiableListViewOfOptionElement = dart.constFn(collection.UnmodifiableListView$(html$.OptionElement)))(), + IterableOfOptionElement: () => (T$0.IterableOfOptionElement = dart.constFn(core.Iterable$(html$.OptionElement)))(), + OptionElementTobool: () => (T$0.OptionElementTobool = dart.constFn(dart.fnType(core.bool, [html$.OptionElement])))(), + JSArrayOfOptionElement: () => (T$0.JSArrayOfOptionElement = dart.constFn(_interceptors.JSArray$(html$.OptionElement)))(), + ForeignFetchEventL: () => (T$0.ForeignFetchEventL = dart.constFn(dart.legacy(html$.ForeignFetchEvent)))(), + EventStreamProviderOfForeignFetchEventL: () => (T$0.EventStreamProviderOfForeignFetchEventL = dart.constFn(html$.EventStreamProvider$(T$0.ForeignFetchEventL())))(), + SpeechRecognitionErrorL: () => (T$0.SpeechRecognitionErrorL = dart.constFn(dart.legacy(html$.SpeechRecognitionError)))(), + EventStreamProviderOfSpeechRecognitionErrorL: () => (T$0.EventStreamProviderOfSpeechRecognitionErrorL = dart.constFn(html$.EventStreamProvider$(T$0.SpeechRecognitionErrorL())))(), + SpeechRecognitionEventL: () => (T$0.SpeechRecognitionEventL = dart.constFn(dart.legacy(html$.SpeechRecognitionEvent)))(), + EventStreamProviderOfSpeechRecognitionEventL: () => (T$0.EventStreamProviderOfSpeechRecognitionEventL = dart.constFn(html$.EventStreamProvider$(T$0.SpeechRecognitionEventL())))(), + SpeechSynthesisEventL: () => (T$0.SpeechSynthesisEventL = dart.constFn(dart.legacy(html$.SpeechSynthesisEvent)))(), + EventStreamProviderOfSpeechSynthesisEventL: () => (T$0.EventStreamProviderOfSpeechSynthesisEventL = dart.constFn(html$.EventStreamProvider$(T$0.SpeechSynthesisEventL())))(), + _WrappedListOfTableSectionElement: () => (T$0._WrappedListOfTableSectionElement = dart.constFn(html$._WrappedList$(html$.TableSectionElement)))(), + _WrappedListOfTableRowElement: () => (T$0._WrappedListOfTableRowElement = dart.constFn(html$._WrappedList$(html$.TableRowElement)))(), + _WrappedListOfTableCellElement: () => (T$0._WrappedListOfTableCellElement = dart.constFn(html$._WrappedList$(html$.TableCellElement)))(), + TrackEventL: () => (T$0.TrackEventL = dart.constFn(dart.legacy(html$.TrackEvent)))(), + EventStreamProviderOfTrackEventL: () => (T$0.EventStreamProviderOfTrackEventL = dart.constFn(html$.EventStreamProvider$(T$0.TrackEventL())))(), + CloseEventL: () => (T$0.CloseEventL = dart.constFn(dart.legacy(html$.CloseEvent)))(), + EventStreamProviderOfCloseEventL: () => (T$0.EventStreamProviderOfCloseEventL = dart.constFn(html$.EventStreamProvider$(T$0.CloseEventL())))(), + CompleterOfnum: () => (T$0.CompleterOfnum = dart.constFn(async.Completer$(core.num)))(), + numTovoid: () => (T$0.numTovoid = dart.constFn(dart.fnType(dart.void, [core.num])))(), + IdleDeadlineTovoid: () => (T$0.IdleDeadlineTovoid = dart.constFn(dart.fnType(dart.void, [html$.IdleDeadline])))(), + CompleterOfFileSystem: () => (T$0.CompleterOfFileSystem = dart.constFn(async.Completer$(html$.FileSystem)))(), + FileSystemTovoid: () => (T$0.FileSystemTovoid = dart.constFn(dart.fnType(dart.void, [html$.FileSystem])))(), + DeviceMotionEventL: () => (T$0.DeviceMotionEventL = dart.constFn(dart.legacy(html$.DeviceMotionEvent)))(), + EventStreamProviderOfDeviceMotionEventL: () => (T$0.EventStreamProviderOfDeviceMotionEventL = dart.constFn(html$.EventStreamProvider$(T$0.DeviceMotionEventL())))(), + DeviceOrientationEventL: () => (T$0.DeviceOrientationEventL = dart.constFn(dart.legacy(html$.DeviceOrientationEvent)))(), + EventStreamProviderOfDeviceOrientationEventL: () => (T$0.EventStreamProviderOfDeviceOrientationEventL = dart.constFn(html$.EventStreamProvider$(T$0.DeviceOrientationEventL())))(), + AnimationEventL: () => (T$0.AnimationEventL = dart.constFn(dart.legacy(html$.AnimationEvent)))(), + EventStreamProviderOfAnimationEventL: () => (T$0.EventStreamProviderOfAnimationEventL = dart.constFn(html$.EventStreamProvider$(T$0.AnimationEventL())))(), + ListOfNode: () => (T$0.ListOfNode = dart.constFn(core.List$(html$.Node)))(), + _EventStreamOfBeforeUnloadEvent: () => (T$0._EventStreamOfBeforeUnloadEvent = dart.constFn(html$._EventStream$(html$.BeforeUnloadEvent)))(), + StreamControllerOfBeforeUnloadEvent: () => (T$0.StreamControllerOfBeforeUnloadEvent = dart.constFn(async.StreamController$(html$.BeforeUnloadEvent)))(), + BeforeUnloadEventTovoid: () => (T$0.BeforeUnloadEventTovoid = dart.constFn(dart.fnType(dart.void, [html$.BeforeUnloadEvent])))(), + _ElementEventStreamImplOfBeforeUnloadEvent: () => (T$0._ElementEventStreamImplOfBeforeUnloadEvent = dart.constFn(html$._ElementEventStreamImpl$(html$.BeforeUnloadEvent)))(), + _ElementListEventStreamImplOfBeforeUnloadEvent: () => (T$0._ElementListEventStreamImplOfBeforeUnloadEvent = dart.constFn(html$._ElementListEventStreamImpl$(html$.BeforeUnloadEvent)))(), + GamepadN: () => (T$0.GamepadN = dart.constFn(dart.nullable(html$.Gamepad)))(), + ElementTovoid: () => (T$0.ElementTovoid = dart.constFn(dart.fnType(dart.void, [html$.Element])))(), + ListOfCssClassSetImpl: () => (T$0.ListOfCssClassSetImpl = dart.constFn(core.List$(html_common.CssClassSetImpl)))(), + ElementToCssClassSet: () => (T$0.ElementToCssClassSet = dart.constFn(dart.fnType(html$.CssClassSet, [html$.Element])))(), + _IdentityHashSetOfString: () => (T$0._IdentityHashSetOfString = dart.constFn(collection._IdentityHashSet$(core.String)))(), + CssClassSetImplTovoid: () => (T$0.CssClassSetImplTovoid = dart.constFn(dart.fnType(dart.void, [html_common.CssClassSetImpl])))(), + boolAndCssClassSetImplTobool: () => (T$0.boolAndCssClassSetImplTobool = dart.constFn(dart.fnType(core.bool, [core.bool, html_common.CssClassSetImpl])))(), + StringAndStringToString: () => (T$0.StringAndStringToString = dart.constFn(dart.fnType(core.String, [core.String, core.String])))(), + SetOfString: () => (T$0.SetOfString = dart.constFn(core.Set$(core.String)))(), + SetOfStringTobool: () => (T$0.SetOfStringTobool = dart.constFn(dart.fnType(core.bool, [T$0.SetOfString()])))(), + IterableOfString: () => (T$0.IterableOfString = dart.constFn(core.Iterable$(core.String)))(), + SetOfStringTovoid: () => (T$0.SetOfStringTovoid = dart.constFn(dart.fnType(dart.void, [T$0.SetOfString()])))(), + VoidToNString: () => (T$0.VoidToNString = dart.constFn(dart.nullable(T$.VoidToString())))(), + EventTargetN: () => (T$0.EventTargetN = dart.constFn(dart.nullable(html$.EventTarget)))(), + ElementAndStringAndString__Tobool: () => (T$0.ElementAndStringAndString__Tobool = dart.constFn(dart.fnType(core.bool, [html$.Element, core.String, core.String, html$._Html5NodeValidator])))(), + LinkedHashSetOfString: () => (T$0.LinkedHashSetOfString = dart.constFn(collection.LinkedHashSet$(core.String)))(), + IdentityMapOfString$Function: () => (T$0.IdentityMapOfString$Function = dart.constFn(_js_helper.IdentityMap$(core.String, core.Function)))(), + JSArrayOfKeyEvent: () => (T$0.JSArrayOfKeyEvent = dart.constFn(_interceptors.JSArray$(html$.KeyEvent)))(), + KeyEventTobool: () => (T$0.KeyEventTobool = dart.constFn(dart.fnType(core.bool, [html$.KeyEvent])))(), + JSArrayOfNodeValidator: () => (T$0.JSArrayOfNodeValidator = dart.constFn(_interceptors.JSArray$(html$.NodeValidator)))(), + NodeValidatorTobool: () => (T$0.NodeValidatorTobool = dart.constFn(dart.fnType(core.bool, [html$.NodeValidator])))(), + NodeAndNodeToint: () => (T$0.NodeAndNodeToint = dart.constFn(dart.fnType(core.int, [html$.Node, html$.Node])))(), + NodeAndNodeNTovoid: () => (T$0.NodeAndNodeNTovoid = dart.constFn(dart.fnType(dart.void, [html$.Node, T$0.NodeN$1()])))(), + MapNOfString$dynamic: () => (T$0.MapNOfString$dynamic = dart.constFn(dart.nullable(T$0.MapOfString$dynamic())))(), + dynamicToMapNOfString$dynamic: () => (T$0.dynamicToMapNOfString$dynamic = dart.constFn(dart.fnType(T$0.MapNOfString$dynamic(), [dart.dynamic])))(), + TypeN: () => (T$0.TypeN = dart.constFn(dart.nullable(core.Type)))(), + dynamicAnddynamicTodynamic: () => (T$0.dynamicAnddynamicTodynamic = dart.constFn(dart.fnType(dart.dynamic, [dart.dynamic, dart.dynamic])))(), + NodeToElement: () => (T$0.NodeToElement = dart.constFn(dart.fnType(html$.Element, [html$.Node])))(), + CompleterOfAudioBuffer: () => (T$0.CompleterOfAudioBuffer = dart.constFn(async.Completer$(web_audio.AudioBuffer)))(), + AudioBufferTovoid: () => (T$0.AudioBufferTovoid = dart.constFn(dart.fnType(dart.void, [web_audio.AudioBuffer])))(), + AudioProcessingEventL: () => (T$0.AudioProcessingEventL = dart.constFn(dart.legacy(web_audio.AudioProcessingEvent)))(), + EventStreamProviderOfAudioProcessingEventL: () => (T$0.EventStreamProviderOfAudioProcessingEventL = dart.constFn(html$.EventStreamProvider$(T$0.AudioProcessingEventL())))(), + TypedDataN: () => (T$0.TypedDataN = dart.constFn(dart.nullable(typed_data.TypedData)))(), + CompleterOfSqlTransaction: () => (T$0.CompleterOfSqlTransaction = dart.constFn(async.Completer$(web_sql.SqlTransaction)))(), + SqlTransactionTovoid: () => (T$0.SqlTransactionTovoid = dart.constFn(dart.fnType(dart.void, [web_sql.SqlTransaction])))(), + SqlErrorTovoid: () => (T$0.SqlErrorTovoid = dart.constFn(dart.fnType(dart.void, [web_sql.SqlError])))(), + CompleterOfSqlResultSet: () => (T$0.CompleterOfSqlResultSet = dart.constFn(async.Completer$(web_sql.SqlResultSet)))(), + SqlTransactionAndSqlResultSetTovoid: () => (T$0.SqlTransactionAndSqlResultSetTovoid = dart.constFn(dart.fnType(dart.void, [web_sql.SqlTransaction, web_sql.SqlResultSet])))(), + SqlTransactionAndSqlErrorTovoid: () => (T$0.SqlTransactionAndSqlErrorTovoid = dart.constFn(dart.fnType(dart.void, [web_sql.SqlTransaction, web_sql.SqlError])))(), + intAndintToint: () => (T$0.intAndintToint = dart.constFn(dart.fnType(core.int, [core.int, core.int])))(), + StringNToint: () => (T$0.StringNToint = dart.constFn(dart.fnType(core.int, [T$.StringN()])))(), + intToString: () => (T$0.intToString = dart.constFn(dart.fnType(core.String, [core.int])))(), + SymbolAnddynamicTovoid: () => (T$0.SymbolAnddynamicTovoid = dart.constFn(dart.fnType(dart.void, [core.Symbol, dart.dynamic])))(), + MapOfSymbol$ObjectN: () => (T$0.MapOfSymbol$ObjectN = dart.constFn(core.Map$(core.Symbol, T$.ObjectN())))(), + MapOfString$StringAndStringToMapOfString$String: () => (T$0.MapOfString$StringAndStringToMapOfString$String = dart.constFn(dart.fnType(T$0.MapOfString$String(), [T$0.MapOfString$String(), core.String])))(), + StringAndintTovoid: () => (T$0.StringAndintTovoid = dart.constFn(dart.fnType(dart.void, [core.String, core.int])))(), + StringAnddynamicTovoid$1: () => (T$0.StringAnddynamicTovoid$1 = dart.constFn(dart.fnType(dart.void, [core.String], [dart.dynamic])))(), + ListOfStringL: () => (T$0.ListOfStringL = dart.constFn(core.List$(T$.StringL())))(), + ListLOfStringL: () => (T$0.ListLOfStringL = dart.constFn(dart.legacy(T$0.ListOfStringL())))(), + StringAndListOfStringToListOfString: () => (T$0.StringAndListOfStringToListOfString = dart.constFn(dart.fnType(T$.ListOfString(), [core.String, T$.ListOfString()])))(), + MapOfString$ListOfString: () => (T$0.MapOfString$ListOfString = dart.constFn(core.Map$(core.String, T$.ListOfString())))(), + StringAndStringNTovoid: () => (T$0.StringAndStringNTovoid = dart.constFn(dart.fnType(dart.void, [core.String, T$.StringN()])))(), + IdentityMapOfString$ListOfString: () => (T$0.IdentityMapOfString$ListOfString = dart.constFn(_js_helper.IdentityMap$(core.String, T$.ListOfString())))(), + VoidToListOfString: () => (T$0.VoidToListOfString = dart.constFn(dart.fnType(T$.ListOfString(), [])))(), + intAndintAndintTovoid: () => (T$0.intAndintAndintTovoid = dart.constFn(dart.fnType(dart.void, [core.int, core.int, core.int])))(), + _StringSinkConversionSinkOfStringSink: () => (T$0._StringSinkConversionSinkOfStringSink = dart.constFn(convert._StringSinkConversionSink$(core.StringSink)))(), + ListOfUint8List: () => (T$0.ListOfUint8List = dart.constFn(core.List$(typed_data.Uint8List)))(), + intToUint8List: () => (T$0.intToUint8List = dart.constFn(dart.fnType(typed_data.Uint8List, [core.int])))(), + dynamicAnddynamicToUint8List: () => (T$0.dynamicAnddynamicToUint8List = dart.constFn(dart.fnType(typed_data.Uint8List, [dart.dynamic, dart.dynamic])))(), + Uint8ListAndStringAndintTovoid: () => (T$0.Uint8ListAndStringAndintTovoid = dart.constFn(dart.fnType(dart.void, [typed_data.Uint8List, core.String, core.int])))(), + HttpClientResponseCompressionStateL: () => (T$0.HttpClientResponseCompressionStateL = dart.constFn(dart.legacy(_http.HttpClientResponseCompressionState)))(), + StringToint: () => (T$0.StringToint = dart.constFn(dart.fnType(core.int, [core.String])))(), + VoidToNever: () => (T$0.VoidToNever = dart.constFn(dart.fnType(dart.Never, [])))(), + StringAndListOfStringTovoid: () => (T$0.StringAndListOfStringTovoid = dart.constFn(dart.fnType(dart.void, [core.String, T$.ListOfString()])))(), + JSArrayOfCookie: () => (T$0.JSArrayOfCookie = dart.constFn(_interceptors.JSArray$(_http.Cookie)))(), + HashMapOfString$StringN: () => (T$0.HashMapOfString$StringN = dart.constFn(collection.HashMap$(core.String, T$.StringN())))(), + IdentityMapOfString$StringN: () => (T$0.IdentityMapOfString$StringN = dart.constFn(_js_helper.IdentityMap$(core.String, T$.StringN())))(), + UnmodifiableMapViewOfString$StringN: () => (T$0.UnmodifiableMapViewOfString$StringN = dart.constFn(collection.UnmodifiableMapView$(core.String, T$.StringN())))(), + StringNToString: () => (T$0.StringNToString = dart.constFn(dart.fnType(core.String, [T$.StringN()])))(), + JSArrayOfMapOfString$dynamic: () => (T$0.JSArrayOfMapOfString$dynamic = dart.constFn(_interceptors.JSArray$(T$0.MapOfString$dynamic())))(), + _HttpProfileDataTobool: () => (T$0._HttpProfileDataTobool = dart.constFn(dart.fnType(core.bool, [_http._HttpProfileData])))(), + IdentityMapOfint$_HttpProfileData: () => (T$0.IdentityMapOfint$_HttpProfileData = dart.constFn(_js_helper.IdentityMap$(core.int, _http._HttpProfileData)))(), + JSArrayOf_HttpProfileEvent: () => (T$0.JSArrayOf_HttpProfileEvent = dart.constFn(_interceptors.JSArray$(_http._HttpProfileEvent)))(), + VoidToListOfMapOfString$dynamic: () => (T$0.VoidToListOfMapOfString$dynamic = dart.constFn(dart.fnType(T$0.ListOfMapOfString$dynamic(), [])))(), + dynamicToNever: () => (T$0.dynamicToNever = dart.constFn(dart.fnType(dart.Never, [dart.dynamic])))(), + CookieTobool: () => (T$0.CookieTobool = dart.constFn(dart.fnType(core.bool, [_http.Cookie])))(), + CookieToString: () => (T$0.CookieToString = dart.constFn(dart.fnType(core.String, [_http.Cookie])))(), + FutureOfHttpClientResponse: () => (T$0.FutureOfHttpClientResponse = dart.constFn(async.Future$(_http.HttpClientResponse)))(), + _HttpClientRequestToFutureOfHttpClientResponse: () => (T$0._HttpClientRequestToFutureOfHttpClientResponse = dart.constFn(dart.fnType(T$0.FutureOfHttpClientResponse(), [_http._HttpClientRequest])))(), + _EmptyStreamOfUint8List: () => (T$0._EmptyStreamOfUint8List = dart.constFn(async._EmptyStream$(typed_data.Uint8List)))(), + Uint8ListToUint8List: () => (T$0.Uint8ListToUint8List = dart.constFn(dart.fnType(typed_data.Uint8List, [typed_data.Uint8List])))(), + dynamicToFutureOfHttpClientResponse: () => (T$0.dynamicToFutureOfHttpClientResponse = dart.constFn(dart.fnType(T$0.FutureOfHttpClientResponse(), [dart.dynamic])))(), + VoidToFutureOfHttpClientResponse: () => (T$0.VoidToFutureOfHttpClientResponse = dart.constFn(dart.fnType(T$0.FutureOfHttpClientResponse(), [])))(), + VoidToListNOfString: () => (T$0.VoidToListNOfString = dart.constFn(dart.fnType(T$.ListNOfString(), [])))(), + _CredentialsN: () => (T$0._CredentialsN = dart.constFn(dart.nullable(_http._Credentials)))(), + _AuthenticationSchemeTo_CredentialsN: () => (T$0._AuthenticationSchemeTo_CredentialsN = dart.constFn(dart.fnType(T$0._CredentialsN(), [_http._AuthenticationScheme])))(), + _CredentialsTovoid: () => (T$0._CredentialsTovoid = dart.constFn(dart.fnType(dart.void, [_http._Credentials])))(), + _AuthenticationSchemeAndStringNToFutureOfbool: () => (T$0._AuthenticationSchemeAndStringNToFutureOfbool = dart.constFn(dart.fnType(T$.FutureOfbool(), [_http._AuthenticationScheme, T$.StringN()])))(), + FutureOrOfHttpClientResponse: () => (T$0.FutureOrOfHttpClientResponse = dart.constFn(async.FutureOr$(_http.HttpClientResponse)))(), + boolToFutureOrOfHttpClientResponse: () => (T$0.boolToFutureOrOfHttpClientResponse = dart.constFn(dart.fnType(T$0.FutureOrOfHttpClientResponse(), [core.bool])))(), + SinkOfUint8List: () => (T$0.SinkOfUint8List = dart.constFn(core.Sink$(typed_data.Uint8List)))(), + CompleterOfvoid: () => (T$0.CompleterOfvoid = dart.constFn(async.Completer$(dart.void)))(), + EncodingN: () => (T$0.EncodingN = dart.constFn(dart.nullable(convert.Encoding)))(), + ListOfintToListOfint: () => (T$0.ListOfintToListOfint = dart.constFn(dart.fnType(T$0.ListOfint(), [T$0.ListOfint()])))(), + CookieTovoid: () => (T$0.CookieTovoid = dart.constFn(dart.fnType(dart.void, [_http.Cookie])))(), + CompleterOfHttpClientResponse: () => (T$0.CompleterOfHttpClientResponse = dart.constFn(async.Completer$(_http.HttpClientResponse)))(), + JSArrayOfRedirectInfo: () => (T$0.JSArrayOfRedirectInfo = dart.constFn(_interceptors.JSArray$(_http.RedirectInfo)))(), + HttpClientResponseToNull: () => (T$0.HttpClientResponseToNull = dart.constFn(dart.fnType(core.Null, [_http.HttpClientResponse])))(), + JSArrayOfFuture: () => (T$0.JSArrayOfFuture = dart.constFn(_interceptors.JSArray$(async.Future)))(), + ListToFutureOrOfHttpClientResponse: () => (T$0.ListToFutureOrOfHttpClientResponse = dart.constFn(dart.fnType(T$0.FutureOrOfHttpClientResponse(), [core.List])))(), + CompleterOfSocket: () => (T$0.CompleterOfSocket = dart.constFn(async.Completer$(io.Socket)))(), + StringToListOfString: () => (T$0.StringToListOfString = dart.constFn(dart.fnType(T$.ListOfString(), [core.String])))(), + voidTovoid: () => (T$0.voidTovoid = dart.constFn(dart.fnType(dart.void, [dart.void])))(), + voidToFuture: () => (T$0.voidToFuture = dart.constFn(dart.fnType(async.Future, [dart.void])))(), + StreamControllerOfListOfint: () => (T$0.StreamControllerOfListOfint = dart.constFn(async.StreamController$(T$0.ListOfint())))(), + _HttpOutboundMessageN: () => (T$0._HttpOutboundMessageN = dart.constFn(dart.nullable(_http._HttpOutboundMessage)))(), + dynamicTo_HttpOutboundMessageN: () => (T$0.dynamicTo_HttpOutboundMessageN = dart.constFn(dart.fnType(T$0._HttpOutboundMessageN(), [dart.dynamic])))(), + dynamicAnddynamicTo_HttpOutboundMessageN: () => (T$0.dynamicAnddynamicTo_HttpOutboundMessageN = dart.constFn(dart.fnType(T$0._HttpOutboundMessageN(), [dart.dynamic, dart.dynamic])))(), + dynamicTo_HttpOutboundMessage: () => (T$0.dynamicTo_HttpOutboundMessage = dart.constFn(dart.fnType(_http._HttpOutboundMessage, [dart.dynamic])))() + }; + var T = { + dynamicAnddynamicTo_HttpOutboundMessage: () => (T.dynamicAnddynamicTo_HttpOutboundMessage = dart.constFn(dart.fnType(_http._HttpOutboundMessage, [dart.dynamic, dart.dynamic])))(), + dynamicAndStackTraceToNull: () => (T.dynamicAndStackTraceToNull = dart.constFn(dart.fnType(core.Null, [dart.dynamic, core.StackTrace])))(), + _HttpIncomingTovoid: () => (T._HttpIncomingTovoid = dart.constFn(dart.fnType(dart.void, [_http._HttpIncoming])))(), + CompleterOf_HttpIncoming: () => (T.CompleterOf_HttpIncoming = dart.constFn(async.Completer$(_http._HttpIncoming)))(), + _HttpIncomingToNull: () => (T._HttpIncomingToNull = dart.constFn(dart.fnType(core.Null, [_http._HttpIncoming])))(), + SocketToSocket: () => (T.SocketToSocket = dart.constFn(dart.fnType(io.Socket, [io.Socket])))(), + SocketN: () => (T.SocketN = dart.constFn(dart.nullable(io.Socket)))(), + FutureOfSocketN: () => (T.FutureOfSocketN = dart.constFn(async.Future$(T.SocketN())))(), + SocketTo_DetachedSocket: () => (T.SocketTo_DetachedSocket = dart.constFn(dart.fnType(_http._DetachedSocket, [io.Socket])))(), + SocketTovoid: () => (T.SocketTovoid = dart.constFn(dart.fnType(dart.void, [io.Socket])))(), + FutureOfSecureSocket: () => (T.FutureOfSecureSocket = dart.constFn(async.Future$(io.SecureSocket)))(), + HttpClientResponseToFutureOfSecureSocket: () => (T.HttpClientResponseToFutureOfSecureSocket = dart.constFn(dart.fnType(T.FutureOfSecureSocket(), [_http.HttpClientResponse])))(), + SecureSocketTo_HttpClientConnection: () => (T.SecureSocketTo_HttpClientConnection = dart.constFn(dart.fnType(_http._HttpClientConnection, [io.SecureSocket])))(), + _HashSetOf_HttpClientConnection: () => (T._HashSetOf_HttpClientConnection = dart.constFn(collection._HashSet$(_http._HttpClientConnection)))(), + _HashSetOfConnectionTask: () => (T._HashSetOfConnectionTask = dart.constFn(collection._HashSet$(io.ConnectionTask)))(), + FutureOf_ConnectionInfo: () => (T.FutureOf_ConnectionInfo = dart.constFn(async.Future$(_http._ConnectionInfo)))(), + CompleterOf_ConnectionInfo: () => (T.CompleterOf_ConnectionInfo = dart.constFn(async.Completer$(_http._ConnectionInfo)))(), + X509CertificateTobool: () => (T.X509CertificateTobool = dart.constFn(dart.fnType(core.bool, [io.X509Certificate])))(), + _HttpClientConnectionTo_ConnectionInfo: () => (T._HttpClientConnectionTo_ConnectionInfo = dart.constFn(dart.fnType(_http._ConnectionInfo, [_http._HttpClientConnection])))(), + FutureOrOf_ConnectionInfo: () => (T.FutureOrOf_ConnectionInfo = dart.constFn(async.FutureOr$(_http._ConnectionInfo)))(), + dynamicToFutureOrOf_ConnectionInfo: () => (T.dynamicToFutureOrOf_ConnectionInfo = dart.constFn(dart.fnType(T.FutureOrOf_ConnectionInfo(), [dart.dynamic])))(), + ConnectionTaskToFutureOf_ConnectionInfo: () => (T.ConnectionTaskToFutureOf_ConnectionInfo = dart.constFn(dart.fnType(T.FutureOf_ConnectionInfo(), [io.ConnectionTask])))(), + IdentityMapOfString$_ConnectionTarget: () => (T.IdentityMapOfString$_ConnectionTarget = dart.constFn(_js_helper.IdentityMap$(core.String, _http._ConnectionTarget)))(), + JSArrayOf_Credentials: () => (T.JSArrayOf_Credentials = dart.constFn(_interceptors.JSArray$(_http._Credentials)))(), + JSArrayOf_ProxyCredentials: () => (T.JSArrayOf_ProxyCredentials = dart.constFn(_interceptors.JSArray$(_http._ProxyCredentials)))(), + MapNOfString$String: () => (T.MapNOfString$String = dart.constFn(dart.nullable(T$0.MapOfString$String())))(), + Uri__ToString: () => (T.Uri__ToString = dart.constFn(dart.fnType(core.String, [core.Uri], {environment: T.MapNOfString$String()}, {})))(), + _ConnectionTargetTobool: () => (T._ConnectionTargetTobool = dart.constFn(dart.fnType(core.bool, [_http._ConnectionTarget])))(), + _ProxyL: () => (T._ProxyL = dart.constFn(dart.legacy(_http._Proxy)))(), + FutureOf_HttpClientRequest: () => (T.FutureOf_HttpClientRequest = dart.constFn(async.Future$(_http._HttpClientRequest)))(), + _ConnectionInfoTo_HttpClientRequest: () => (T._ConnectionInfoTo_HttpClientRequest = dart.constFn(dart.fnType(_http._HttpClientRequest, [_http._ConnectionInfo])))(), + FutureOrOf_HttpClientRequest: () => (T.FutureOrOf_HttpClientRequest = dart.constFn(async.FutureOr$(_http._HttpClientRequest)))(), + _ConnectionInfoToFutureOrOf_HttpClientRequest: () => (T._ConnectionInfoToFutureOrOf_HttpClientRequest = dart.constFn(dart.fnType(T.FutureOrOf_HttpClientRequest(), [_http._ConnectionInfo])))(), + _HttpClientRequestTo_HttpClientRequest: () => (T._HttpClientRequestTo_HttpClientRequest = dart.constFn(dart.fnType(_http._HttpClientRequest, [_http._HttpClientRequest])))(), + VoidTo_ConnectionTarget: () => (T.VoidTo_ConnectionTarget = dart.constFn(dart.fnType(_http._ConnectionTarget, [])))(), + dynamicToFutureOf_ConnectionInfo: () => (T.dynamicToFutureOf_ConnectionInfo = dart.constFn(dart.fnType(T.FutureOf_ConnectionInfo(), [dart.dynamic])))(), + _SiteCredentialsN: () => (T._SiteCredentialsN = dart.constFn(dart.nullable(_http._SiteCredentials)))(), + _SiteCredentialsNAnd_CredentialsTo_SiteCredentialsN: () => (T._SiteCredentialsNAnd_CredentialsTo_SiteCredentialsN = dart.constFn(dart.fnType(T._SiteCredentialsN(), [T._SiteCredentialsN(), _http._Credentials])))(), + StringNToStringN: () => (T.StringNToStringN = dart.constFn(dart.fnType(T$.StringN(), [T$.StringN()])))(), + StreamOfUint8List: () => (T.StreamOfUint8List = dart.constFn(async.Stream$(typed_data.Uint8List)))(), + SocketToNull: () => (T.SocketToNull = dart.constFn(dart.fnType(core.Null, [io.Socket])))(), + dynamicTo_DetachedSocket: () => (T.dynamicTo_DetachedSocket = dart.constFn(dart.fnType(_http._DetachedSocket, [dart.dynamic])))(), + IdentityMapOfint$_HttpConnection: () => (T.IdentityMapOfint$_HttpConnection = dart.constFn(_js_helper.IdentityMap$(core.int, _http._HttpConnection)))(), + LinkedListOf_HttpConnection: () => (T.LinkedListOf_HttpConnection = dart.constFn(collection.LinkedList$(_http._HttpConnection)))(), + StreamControllerOfHttpRequest: () => (T.StreamControllerOfHttpRequest = dart.constFn(async.StreamController$(_http.HttpRequest)))(), + ServerSocketTo_HttpServer: () => (T.ServerSocketTo_HttpServer = dart.constFn(dart.fnType(_http._HttpServer, [io.ServerSocket])))(), + SecureServerSocketTo_HttpServer: () => (T.SecureServerSocketTo_HttpServer = dart.constFn(dart.fnType(_http._HttpServer, [io.SecureServerSocket])))(), + _HttpConnectionTovoid: () => (T._HttpConnectionTovoid = dart.constFn(dart.fnType(dart.void, [_http._HttpConnection])))(), + _HttpConnectionToMap: () => (T._HttpConnectionToMap = dart.constFn(dart.fnType(core.Map, [_http._HttpConnection])))(), + LinkedMapOfint$_HttpServer: () => (T.LinkedMapOfint$_HttpServer = dart.constFn(_js_helper.LinkedMap$(core.int, _http._HttpServer)))(), + JSArrayOf_Proxy: () => (T.JSArrayOf_Proxy = dart.constFn(_interceptors.JSArray$(_http._Proxy)))(), + StreamControllerOf_HttpIncoming: () => (T.StreamControllerOf_HttpIncoming = dart.constFn(async.StreamController$(_http._HttpIncoming)))(), + IterableOfMapEntry: () => (T.IterableOfMapEntry = dart.constFn(core.Iterable$(core.MapEntry)))(), + VoidToNdynamic: () => (T.VoidToNdynamic = dart.constFn(dart.nullable(T$.VoidTodynamic())))(), + IdentityMapOfString$_HttpSession: () => (T.IdentityMapOfString$_HttpSession = dart.constFn(_js_helper.IdentityMap$(core.String, _http._HttpSession)))(), + HttpOverridesN: () => (T.HttpOverridesN = dart.constFn(dart.nullable(_http.HttpOverrides)))(), + EventSinkTo_WebSocketProtocolTransformer: () => (T.EventSinkTo_WebSocketProtocolTransformer = dart.constFn(dart.fnType(_http._WebSocketProtocolTransformer, [async.EventSink])))(), + StreamControllerOfWebSocket: () => (T.StreamControllerOfWebSocket = dart.constFn(async.StreamController$(_http.WebSocket)))(), + StreamOfHttpRequest: () => (T.StreamOfHttpRequest = dart.constFn(async.Stream$(_http.HttpRequest)))(), + WebSocketTovoid: () => (T.WebSocketTovoid = dart.constFn(dart.fnType(dart.void, [_http.WebSocket])))(), + HttpRequestTovoid: () => (T.HttpRequestTovoid = dart.constFn(dart.fnType(dart.void, [_http.HttpRequest])))(), + FutureOfWebSocket: () => (T.FutureOfWebSocket = dart.constFn(async.Future$(_http.WebSocket)))(), + SocketTo_WebSocketImpl: () => (T.SocketTo_WebSocketImpl = dart.constFn(dart.fnType(_http._WebSocketImpl, [io.Socket])))(), + StringNToFutureOfWebSocket: () => (T.StringNToFutureOfWebSocket = dart.constFn(dart.fnType(T.FutureOfWebSocket(), [T$.StringN()])))(), + VoidToFutureOrOfString: () => (T.VoidToFutureOrOfString = dart.constFn(dart.fnType(T$0.FutureOrOfString(), [])))(), + EventSinkOfListOfint: () => (T.EventSinkOfListOfint = dart.constFn(async.EventSink$(T$0.ListOfint())))(), + EventSinkOfListOfintTo_WebSocketOutgoingTransformer: () => (T.EventSinkOfListOfintTo_WebSocketOutgoingTransformer = dart.constFn(dart.fnType(_http._WebSocketOutgoingTransformer, [T.EventSinkOfListOfint()])))(), + CompleterOfWebSocket: () => (T.CompleterOfWebSocket = dart.constFn(async.Completer$(_http.WebSocket)))(), + dynamicTo_WebSocketImpl: () => (T.dynamicTo_WebSocketImpl = dart.constFn(dart.fnType(_http._WebSocketImpl, [dart.dynamic])))(), + HttpClientRequestToFutureOfHttpClientResponse: () => (T.HttpClientRequestToFutureOfHttpClientResponse = dart.constFn(dart.fnType(T$0.FutureOfHttpClientResponse(), [_http.HttpClientRequest])))(), + StringToNever: () => (T.StringToNever = dart.constFn(dart.fnType(dart.Never, [core.String])))(), + HttpClientResponseToFutureOfWebSocket: () => (T.HttpClientResponseToFutureOfWebSocket = dart.constFn(dart.fnType(T.FutureOfWebSocket(), [_http.HttpClientResponse])))(), + dynamicToMap: () => (T.dynamicToMap = dart.constFn(dart.fnType(core.Map, [dart.dynamic])))(), + LinkedMapOfint$_WebSocketImpl: () => (T.LinkedMapOfint$_WebSocketImpl = dart.constFn(_js_helper.LinkedMap$(core.int, _http._WebSocketImpl)))() + }; + var S = { + _delete$1: dart.privateName(indexed_db, "_delete"), + $delete: dartx.delete = Symbol("dartx.delete"), + _update: dart.privateName(indexed_db, "_update"), + $next: dartx.next = Symbol("dartx.next"), + $direction: dartx.direction = Symbol("dartx.direction"), + $key: dartx.key = Symbol("dartx.key"), + $primaryKey: dartx.primaryKey = Symbol("dartx.primaryKey"), + $source: dartx.source = Symbol("dartx.source"), + $advance: dartx.advance = Symbol("dartx.advance"), + $continuePrimaryKey: dartx.continuePrimaryKey = Symbol("dartx.continuePrimaryKey"), + _update_1: dart.privateName(indexed_db, "_update_1"), + _get_value: dart.privateName(indexed_db, "_get_value"), + $value: dartx.value = Symbol("dartx.value"), + _createObjectStore: dart.privateName(indexed_db, "_createObjectStore"), + $createObjectStore: dartx.createObjectStore = Symbol("dartx.createObjectStore"), + _transaction: dart.privateName(indexed_db, "_transaction"), + $transaction: dartx.transaction = Symbol("dartx.transaction"), + $transactionStore: dartx.transactionStore = Symbol("dartx.transactionStore"), + $transactionList: dartx.transactionList = Symbol("dartx.transactionList"), + $transactionStores: dartx.transactionStores = Symbol("dartx.transactionStores"), + $objectStoreNames: dartx.objectStoreNames = Symbol("dartx.objectStoreNames"), + $version: dartx.version = Symbol("dartx.version"), + $close: dartx.close = Symbol("dartx.close"), + _createObjectStore_1: dart.privateName(indexed_db, "_createObjectStore_1"), + _createObjectStore_2: dart.privateName(indexed_db, "_createObjectStore_2"), + $deleteObjectStore: dartx.deleteObjectStore = Symbol("dartx.deleteObjectStore"), + $onAbort: dartx.onAbort = Symbol("dartx.onAbort"), + $onClose: dartx.onClose = Symbol("dartx.onClose"), + $onError: dartx.onError = Symbol("dartx.onError"), + $onVersionChange: dartx.onVersionChange = Symbol("dartx.onVersionChange"), + $on: dartx.on = Symbol("dartx.on"), + _addEventListener: dart.privateName(html$, "_addEventListener"), + $addEventListener: dartx.addEventListener = Symbol("dartx.addEventListener"), + _removeEventListener: dart.privateName(html$, "_removeEventListener"), + $removeEventListener: dartx.removeEventListener = Symbol("dartx.removeEventListener"), + $dispatchEvent: dartx.dispatchEvent = Symbol("dartx.dispatchEvent"), + EventStreamProvider__eventType: dart.privateName(html$, "EventStreamProvider._eventType"), + _open: dart.privateName(indexed_db, "_open"), + $onUpgradeNeeded: dartx.onUpgradeNeeded = Symbol("dartx.onUpgradeNeeded"), + $onBlocked: dartx.onBlocked = Symbol("dartx.onBlocked"), + $open: dartx.open = Symbol("dartx.open"), + _deleteDatabase: dart.privateName(indexed_db, "_deleteDatabase"), + $onSuccess: dartx.onSuccess = Symbol("dartx.onSuccess"), + $deleteDatabase: dartx.deleteDatabase = Symbol("dartx.deleteDatabase"), + $supportsDatabaseNames: dartx.supportsDatabaseNames = Symbol("dartx.supportsDatabaseNames"), + $cmp: dartx.cmp = Symbol("dartx.cmp"), + _count$2: dart.privateName(indexed_db, "_count"), + $count: dartx.count = Symbol("dartx.count"), + _get: dart.privateName(indexed_db, "_get"), + $get: dartx.get = Symbol("dartx.get"), + _getKey: dart.privateName(indexed_db, "_getKey"), + $getKey: dartx.getKey = Symbol("dartx.getKey"), + _openCursor: dart.privateName(indexed_db, "_openCursor"), + $openCursor: dartx.openCursor = Symbol("dartx.openCursor"), + _openKeyCursor: dart.privateName(indexed_db, "_openKeyCursor"), + $openKeyCursor: dartx.openKeyCursor = Symbol("dartx.openKeyCursor"), + $keyPath: dartx.keyPath = Symbol("dartx.keyPath"), + $multiEntry: dartx.multiEntry = Symbol("dartx.multiEntry"), + $objectStore: dartx.objectStore = Symbol("dartx.objectStore"), + $unique: dartx.unique = Symbol("dartx.unique"), + $getAll: dartx.getAll = Symbol("dartx.getAll"), + $getAllKeys: dartx.getAllKeys = Symbol("dartx.getAllKeys"), + $lower: dartx.lower = Symbol("dartx.lower"), + $lowerOpen: dartx.lowerOpen = Symbol("dartx.lowerOpen"), + $upper: dartx.upper = Symbol("dartx.upper"), + $upperOpen: dartx.upperOpen = Symbol("dartx.upperOpen"), + $includes: dartx.includes = Symbol("dartx.includes"), + _add$3: dart.privateName(indexed_db, "_add"), + _clear$2: dart.privateName(indexed_db, "_clear"), + _put: dart.privateName(indexed_db, "_put"), + $put: dartx.put = Symbol("dartx.put"), + $getObject: dartx.getObject = Symbol("dartx.getObject"), + _createIndex: dart.privateName(indexed_db, "_createIndex"), + $createIndex: dartx.createIndex = Symbol("dartx.createIndex"), + $autoIncrement: dartx.autoIncrement = Symbol("dartx.autoIncrement"), + $indexNames: dartx.indexNames = Symbol("dartx.indexNames"), + _add_1: dart.privateName(indexed_db, "_add_1"), + _add_2: dart.privateName(indexed_db, "_add_2"), + _createIndex_1: dart.privateName(indexed_db, "_createIndex_1"), + _createIndex_2: dart.privateName(indexed_db, "_createIndex_2"), + $deleteIndex: dartx.deleteIndex = Symbol("dartx.deleteIndex"), + $index: dartx.index = Symbol("dartx.index"), + _put_1: dart.privateName(indexed_db, "_put_1"), + _put_2: dart.privateName(indexed_db, "_put_2"), + $result: dartx.result = Symbol("dartx.result"), + $type: dartx.type = Symbol("dartx.type"), + _observe_1: dart.privateName(indexed_db, "_observe_1"), + $observe: dartx.observe = Symbol("dartx.observe"), + $unobserve: dartx.unobserve = Symbol("dartx.unobserve"), + $database: dartx.database = Symbol("dartx.database"), + $records: dartx.records = Symbol("dartx.records"), + $error: dartx.error = Symbol("dartx.error"), + $readyState: dartx.readyState = Symbol("dartx.readyState"), + _get_result: dart.privateName(indexed_db, "_get_result"), + $onComplete: dartx.onComplete = Symbol("dartx.onComplete"), + $completed: dartx.completed = Symbol("dartx.completed"), + $db: dartx.db = Symbol("dartx.db"), + $mode: dartx.mode = Symbol("dartx.mode"), + $abort: dartx.abort = Symbol("dartx.abort"), + $dataLoss: dartx.dataLoss = Symbol("dartx.dataLoss"), + $dataLossMessage: dartx.dataLossMessage = Symbol("dartx.dataLossMessage"), + $newVersion: dartx.newVersion = Symbol("dartx.newVersion"), + $oldVersion: dartx.oldVersion = Symbol("dartx.oldVersion"), + $target: dartx.target = Symbol("dartx.target"), + _createEvent: dart.privateName(html$, "_createEvent"), + _initEvent: dart.privateName(html$, "_initEvent"), + _selector: dart.privateName(html$, "_selector"), + $currentTarget: dartx.currentTarget = Symbol("dartx.currentTarget"), + $matches: dartx.matches = Symbol("dartx.matches"), + $parent: dartx.parent = Symbol("dartx.parent"), + $matchingTarget: dartx.matchingTarget = Symbol("dartx.matchingTarget"), + $path: dartx.path = Symbol("dartx.path"), + $bubbles: dartx.bubbles = Symbol("dartx.bubbles"), + $cancelable: dartx.cancelable = Symbol("dartx.cancelable"), + $composed: dartx.composed = Symbol("dartx.composed"), + _get_currentTarget: dart.privateName(html$, "_get_currentTarget"), + $defaultPrevented: dartx.defaultPrevented = Symbol("dartx.defaultPrevented"), + $eventPhase: dartx.eventPhase = Symbol("dartx.eventPhase"), + $isTrusted: dartx.isTrusted = Symbol("dartx.isTrusted"), + _get_target: dart.privateName(html$, "_get_target"), + $timeStamp: dartx.timeStamp = Symbol("dartx.timeStamp"), + $composedPath: dartx.composedPath = Symbol("dartx.composedPath"), + $preventDefault: dartx.preventDefault = Symbol("dartx.preventDefault"), + $stopImmediatePropagation: dartx.stopImmediatePropagation = Symbol("dartx.stopImmediatePropagation"), + $stopPropagation: dartx.stopPropagation = Symbol("dartx.stopPropagation"), + $nonce: dartx.nonce = Symbol("dartx.nonce"), + $createFragment: dartx.createFragment = Symbol("dartx.createFragment"), + $nodes: dartx.nodes = Symbol("dartx.nodes"), + $attributes: dartx.attributes = Symbol("dartx.attributes"), + _getAttribute: dart.privateName(html$, "_getAttribute"), + $getAttribute: dartx.getAttribute = Symbol("dartx.getAttribute"), + _getAttributeNS: dart.privateName(html$, "_getAttributeNS"), + $getAttributeNS: dartx.getAttributeNS = Symbol("dartx.getAttributeNS"), + _hasAttribute: dart.privateName(html$, "_hasAttribute"), + $hasAttribute: dartx.hasAttribute = Symbol("dartx.hasAttribute"), + _hasAttributeNS: dart.privateName(html$, "_hasAttributeNS"), + $hasAttributeNS: dartx.hasAttributeNS = Symbol("dartx.hasAttributeNS"), + _removeAttribute: dart.privateName(html$, "_removeAttribute"), + $removeAttribute: dartx.removeAttribute = Symbol("dartx.removeAttribute"), + _removeAttributeNS: dart.privateName(html$, "_removeAttributeNS"), + $removeAttributeNS: dartx.removeAttributeNS = Symbol("dartx.removeAttributeNS"), + _setAttribute: dart.privateName(html$, "_setAttribute"), + $setAttribute: dartx.setAttribute = Symbol("dartx.setAttribute"), + _setAttributeNS: dart.privateName(html$, "_setAttributeNS"), + $setAttributeNS: dartx.setAttributeNS = Symbol("dartx.setAttributeNS"), + $children: dartx.children = Symbol("dartx.children"), + _children: dart.privateName(html$, "_children"), + _querySelectorAll: dart.privateName(html$, "_querySelectorAll"), + $querySelectorAll: dartx.querySelectorAll = Symbol("dartx.querySelectorAll"), + _setApplyScroll: dart.privateName(html$, "_setApplyScroll"), + $setApplyScroll: dartx.setApplyScroll = Symbol("dartx.setApplyScroll"), + _setDistributeScroll: dart.privateName(html$, "_setDistributeScroll"), + $setDistributeScroll: dartx.setDistributeScroll = Symbol("dartx.setDistributeScroll"), + $classes: dartx.classes = Symbol("dartx.classes"), + $dataset: dartx.dataset = Symbol("dartx.dataset"), + $getNamespacedAttributes: dartx.getNamespacedAttributes = Symbol("dartx.getNamespacedAttributes"), + _getComputedStyle: dart.privateName(html$, "_getComputedStyle"), + $getComputedStyle: dartx.getComputedStyle = Symbol("dartx.getComputedStyle"), + $client: dartx.client = Symbol("dartx.client"), + $offsetLeft: dartx.offsetLeft = Symbol("dartx.offsetLeft"), + $offsetTop: dartx.offsetTop = Symbol("dartx.offsetTop"), + $offsetWidth: dartx.offsetWidth = Symbol("dartx.offsetWidth"), + $offsetHeight: dartx.offsetHeight = Symbol("dartx.offsetHeight"), + $offset: dartx.offset = Symbol("dartx.offset"), + $append: dartx.append = Symbol("dartx.append"), + $appendText: dartx.appendText = Symbol("dartx.appendText"), + $insertAdjacentHtml: dartx.insertAdjacentHtml = Symbol("dartx.insertAdjacentHtml"), + $appendHtml: dartx.appendHtml = Symbol("dartx.appendHtml"), + $enteredView: dartx.enteredView = Symbol("dartx.enteredView"), + $attached: dartx.attached = Symbol("dartx.attached"), + $leftView: dartx.leftView = Symbol("dartx.leftView"), + $detached: dartx.detached = Symbol("dartx.detached"), + _getClientRects: dart.privateName(html$, "_getClientRects"), + $getClientRects: dartx.getClientRects = Symbol("dartx.getClientRects"), + _animate: dart.privateName(html$, "_animate"), + $animate: dartx.animate = Symbol("dartx.animate"), + $attributeChanged: dartx.attributeChanged = Symbol("dartx.attributeChanged"), + _localName: dart.privateName(html$, "_localName"), + $localName: dartx.localName = Symbol("dartx.localName"), + _namespaceUri: dart.privateName(html$, "_namespaceUri"), + $namespaceUri: dartx.namespaceUri = Symbol("dartx.namespaceUri"), + _scrollIntoView: dart.privateName(html$, "_scrollIntoView"), + _scrollIntoViewIfNeeded: dart.privateName(html$, "_scrollIntoViewIfNeeded"), + $scrollIntoView: dartx.scrollIntoView = Symbol("dartx.scrollIntoView"), + _insertAdjacentText: dart.privateName(html$, "_insertAdjacentText"), + _insertAdjacentNode: dart.privateName(html$, "_insertAdjacentNode"), + $insertAdjacentText: dartx.insertAdjacentText = Symbol("dartx.insertAdjacentText"), + _insertAdjacentHtml: dart.privateName(html$, "_insertAdjacentHtml"), + _insertAdjacentElement: dart.privateName(html$, "_insertAdjacentElement"), + $insertAdjacentElement: dartx.insertAdjacentElement = Symbol("dartx.insertAdjacentElement"), + $nextNode: dartx.nextNode = Symbol("dartx.nextNode"), + $matchesWithAncestors: dartx.matchesWithAncestors = Symbol("dartx.matchesWithAncestors"), + $createShadowRoot: dartx.createShadowRoot = Symbol("dartx.createShadowRoot"), + $shadowRoot: dartx.shadowRoot = Symbol("dartx.shadowRoot"), + $contentEdge: dartx.contentEdge = Symbol("dartx.contentEdge"), + $paddingEdge: dartx.paddingEdge = Symbol("dartx.paddingEdge"), + $borderEdge: dartx.borderEdge = Symbol("dartx.borderEdge"), + $marginEdge: dartx.marginEdge = Symbol("dartx.marginEdge"), + $offsetTo: dartx.offsetTo = Symbol("dartx.offsetTo"), + $documentOffset: dartx.documentOffset = Symbol("dartx.documentOffset"), + $createHtmlDocument: dartx.createHtmlDocument = Symbol("dartx.createHtmlDocument"), + $createElement: dartx.createElement = Symbol("dartx.createElement"), + $baseUri: dartx.baseUri = Symbol("dartx.baseUri"), + $head: dartx.head = Symbol("dartx.head"), + _canBeUsedToCreateContextualFragment: dart.privateName(html$, "_canBeUsedToCreateContextualFragment"), + _innerHtml: dart.privateName(html$, "_innerHtml"), + _cannotBeUsedToCreateContextualFragment: dart.privateName(html$, "_cannotBeUsedToCreateContextualFragment"), + $setInnerHtml: dartx.setInnerHtml = Symbol("dartx.setInnerHtml"), + $innerHtml: dartx.innerHtml = Symbol("dartx.innerHtml"), + $text: dartx.text = Symbol("dartx.text"), + $innerText: dartx.innerText = Symbol("dartx.innerText"), + $offsetParent: dartx.offsetParent = Symbol("dartx.offsetParent"), + $scrollHeight: dartx.scrollHeight = Symbol("dartx.scrollHeight"), + $scrollLeft: dartx.scrollLeft = Symbol("dartx.scrollLeft"), + $scrollTop: dartx.scrollTop = Symbol("dartx.scrollTop"), + $scrollWidth: dartx.scrollWidth = Symbol("dartx.scrollWidth"), + $contentEditable: dartx.contentEditable = Symbol("dartx.contentEditable"), + $dir: dartx.dir = Symbol("dartx.dir"), + $draggable: dartx.draggable = Symbol("dartx.draggable"), + $hidden: dartx.hidden = Symbol("dartx.hidden"), + $inert: dartx.inert = Symbol("dartx.inert"), + $inputMode: dartx.inputMode = Symbol("dartx.inputMode"), + $isContentEditable: dartx.isContentEditable = Symbol("dartx.isContentEditable"), + $lang: dartx.lang = Symbol("dartx.lang"), + $spellcheck: dartx.spellcheck = Symbol("dartx.spellcheck"), + $style: dartx.style = Symbol("dartx.style"), + $tabIndex: dartx.tabIndex = Symbol("dartx.tabIndex"), + $title: dartx.title = Symbol("dartx.title"), + $translate: dartx.translate = Symbol("dartx.translate"), + $blur: dartx.blur = Symbol("dartx.blur"), + $click: dartx.click = Symbol("dartx.click"), + $focus: dartx.focus = Symbol("dartx.focus"), + $accessibleNode: dartx.accessibleNode = Symbol("dartx.accessibleNode"), + $assignedSlot: dartx.assignedSlot = Symbol("dartx.assignedSlot"), + _attributes$1: dart.privateName(html$, "_attributes"), + $className: dartx.className = Symbol("dartx.className"), + $clientHeight: dartx.clientHeight = Symbol("dartx.clientHeight"), + $clientLeft: dartx.clientLeft = Symbol("dartx.clientLeft"), + $clientTop: dartx.clientTop = Symbol("dartx.clientTop"), + $clientWidth: dartx.clientWidth = Symbol("dartx.clientWidth"), + $computedName: dartx.computedName = Symbol("dartx.computedName"), + $computedRole: dartx.computedRole = Symbol("dartx.computedRole"), + $id: dartx.id = Symbol("dartx.id"), + $outerHtml: dartx.outerHtml = Symbol("dartx.outerHtml"), + _scrollHeight: dart.privateName(html$, "_scrollHeight"), + _scrollLeft: dart.privateName(html$, "_scrollLeft"), + _scrollTop: dart.privateName(html$, "_scrollTop"), + _scrollWidth: dart.privateName(html$, "_scrollWidth"), + $slot: dartx.slot = Symbol("dartx.slot"), + $styleMap: dartx.styleMap = Symbol("dartx.styleMap"), + $tagName: dartx.tagName = Symbol("dartx.tagName"), + _attachShadow_1: dart.privateName(html$, "_attachShadow_1"), + $attachShadow: dartx.attachShadow = Symbol("dartx.attachShadow"), + $closest: dartx.closest = Symbol("dartx.closest"), + $getAnimations: dartx.getAnimations = Symbol("dartx.getAnimations"), + $getAttributeNames: dartx.getAttributeNames = Symbol("dartx.getAttributeNames"), + $getBoundingClientRect: dartx.getBoundingClientRect = Symbol("dartx.getBoundingClientRect"), + $getDestinationInsertionPoints: dartx.getDestinationInsertionPoints = Symbol("dartx.getDestinationInsertionPoints"), + $getElementsByClassName: dartx.getElementsByClassName = Symbol("dartx.getElementsByClassName"), + _getElementsByTagName: dart.privateName(html$, "_getElementsByTagName"), + $hasPointerCapture: dartx.hasPointerCapture = Symbol("dartx.hasPointerCapture"), + $releasePointerCapture: dartx.releasePointerCapture = Symbol("dartx.releasePointerCapture"), + $requestPointerLock: dartx.requestPointerLock = Symbol("dartx.requestPointerLock"), + _scroll_1: dart.privateName(html$, "_scroll_1"), + _scroll_2: dart.privateName(html$, "_scroll_2"), + _scroll_3: dart.privateName(html$, "_scroll_3"), + $scroll: dartx.scroll = Symbol("dartx.scroll"), + _scrollBy_1: dart.privateName(html$, "_scrollBy_1"), + _scrollBy_2: dart.privateName(html$, "_scrollBy_2"), + _scrollBy_3: dart.privateName(html$, "_scrollBy_3"), + $scrollBy: dartx.scrollBy = Symbol("dartx.scrollBy"), + _scrollTo_1: dart.privateName(html$, "_scrollTo_1"), + _scrollTo_2: dart.privateName(html$, "_scrollTo_2"), + _scrollTo_3: dart.privateName(html$, "_scrollTo_3"), + $scrollTo: dartx.scrollTo = Symbol("dartx.scrollTo"), + $setPointerCapture: dartx.setPointerCapture = Symbol("dartx.setPointerCapture"), + $requestFullscreen: dartx.requestFullscreen = Symbol("dartx.requestFullscreen"), + $after: dartx.after = Symbol("dartx.after"), + $before: dartx.before = Symbol("dartx.before"), + $nextElementSibling: dartx.nextElementSibling = Symbol("dartx.nextElementSibling"), + $previousElementSibling: dartx.previousElementSibling = Symbol("dartx.previousElementSibling"), + _childElementCount: dart.privateName(html$, "_childElementCount"), + _firstElementChild: dart.privateName(html$, "_firstElementChild"), + _lastElementChild: dart.privateName(html$, "_lastElementChild"), + $querySelector: dartx.querySelector = Symbol("dartx.querySelector"), + $onBeforeCopy: dartx.onBeforeCopy = Symbol("dartx.onBeforeCopy"), + $onBeforeCut: dartx.onBeforeCut = Symbol("dartx.onBeforeCut"), + $onBeforePaste: dartx.onBeforePaste = Symbol("dartx.onBeforePaste"), + $onBlur: dartx.onBlur = Symbol("dartx.onBlur"), + $onCanPlay: dartx.onCanPlay = Symbol("dartx.onCanPlay"), + $onCanPlayThrough: dartx.onCanPlayThrough = Symbol("dartx.onCanPlayThrough"), + $onChange: dartx.onChange = Symbol("dartx.onChange"), + $onClick: dartx.onClick = Symbol("dartx.onClick"), + $onContextMenu: dartx.onContextMenu = Symbol("dartx.onContextMenu"), + $onCopy: dartx.onCopy = Symbol("dartx.onCopy"), + $onCut: dartx.onCut = Symbol("dartx.onCut"), + $onDoubleClick: dartx.onDoubleClick = Symbol("dartx.onDoubleClick"), + $onDrag: dartx.onDrag = Symbol("dartx.onDrag"), + $onDragEnd: dartx.onDragEnd = Symbol("dartx.onDragEnd"), + $onDragEnter: dartx.onDragEnter = Symbol("dartx.onDragEnter"), + $onDragLeave: dartx.onDragLeave = Symbol("dartx.onDragLeave"), + $onDragOver: dartx.onDragOver = Symbol("dartx.onDragOver"), + $onDragStart: dartx.onDragStart = Symbol("dartx.onDragStart"), + $onDrop: dartx.onDrop = Symbol("dartx.onDrop"), + $onDurationChange: dartx.onDurationChange = Symbol("dartx.onDurationChange"), + $onEmptied: dartx.onEmptied = Symbol("dartx.onEmptied"), + $onEnded: dartx.onEnded = Symbol("dartx.onEnded"), + $onFocus: dartx.onFocus = Symbol("dartx.onFocus"), + $onInput: dartx.onInput = Symbol("dartx.onInput"), + $onInvalid: dartx.onInvalid = Symbol("dartx.onInvalid"), + $onKeyDown: dartx.onKeyDown = Symbol("dartx.onKeyDown"), + $onKeyPress: dartx.onKeyPress = Symbol("dartx.onKeyPress"), + $onKeyUp: dartx.onKeyUp = Symbol("dartx.onKeyUp"), + $onLoad: dartx.onLoad = Symbol("dartx.onLoad"), + $onLoadedData: dartx.onLoadedData = Symbol("dartx.onLoadedData"), + $onLoadedMetadata: dartx.onLoadedMetadata = Symbol("dartx.onLoadedMetadata"), + $onMouseDown: dartx.onMouseDown = Symbol("dartx.onMouseDown"), + $onMouseEnter: dartx.onMouseEnter = Symbol("dartx.onMouseEnter"), + $onMouseLeave: dartx.onMouseLeave = Symbol("dartx.onMouseLeave"), + $onMouseMove: dartx.onMouseMove = Symbol("dartx.onMouseMove"), + $onMouseOut: dartx.onMouseOut = Symbol("dartx.onMouseOut"), + $onMouseOver: dartx.onMouseOver = Symbol("dartx.onMouseOver"), + $onMouseUp: dartx.onMouseUp = Symbol("dartx.onMouseUp"), + $onMouseWheel: dartx.onMouseWheel = Symbol("dartx.onMouseWheel"), + $onPaste: dartx.onPaste = Symbol("dartx.onPaste"), + $onPause: dartx.onPause = Symbol("dartx.onPause"), + $onPlay: dartx.onPlay = Symbol("dartx.onPlay"), + $onPlaying: dartx.onPlaying = Symbol("dartx.onPlaying"), + $onRateChange: dartx.onRateChange = Symbol("dartx.onRateChange"), + $onReset: dartx.onReset = Symbol("dartx.onReset"), + $onResize: dartx.onResize = Symbol("dartx.onResize"), + $onScroll: dartx.onScroll = Symbol("dartx.onScroll"), + $onSearch: dartx.onSearch = Symbol("dartx.onSearch"), + $onSeeked: dartx.onSeeked = Symbol("dartx.onSeeked"), + $onSeeking: dartx.onSeeking = Symbol("dartx.onSeeking"), + $onSelect: dartx.onSelect = Symbol("dartx.onSelect"), + $onSelectStart: dartx.onSelectStart = Symbol("dartx.onSelectStart"), + $onStalled: dartx.onStalled = Symbol("dartx.onStalled"), + $onSubmit: dartx.onSubmit = Symbol("dartx.onSubmit") + }; + var S$ = { + $onSuspend: dartx.onSuspend = Symbol("dartx.onSuspend"), + $onTimeUpdate: dartx.onTimeUpdate = Symbol("dartx.onTimeUpdate"), + $onTouchCancel: dartx.onTouchCancel = Symbol("dartx.onTouchCancel"), + $onTouchEnd: dartx.onTouchEnd = Symbol("dartx.onTouchEnd"), + $onTouchEnter: dartx.onTouchEnter = Symbol("dartx.onTouchEnter"), + $onTouchLeave: dartx.onTouchLeave = Symbol("dartx.onTouchLeave"), + $onTouchMove: dartx.onTouchMove = Symbol("dartx.onTouchMove"), + $onTouchStart: dartx.onTouchStart = Symbol("dartx.onTouchStart"), + $onTransitionEnd: dartx.onTransitionEnd = Symbol("dartx.onTransitionEnd"), + $onVolumeChange: dartx.onVolumeChange = Symbol("dartx.onVolumeChange"), + $onWaiting: dartx.onWaiting = Symbol("dartx.onWaiting"), + $onFullscreenChange: dartx.onFullscreenChange = Symbol("dartx.onFullscreenChange"), + $onFullscreenError: dartx.onFullscreenError = Symbol("dartx.onFullscreenError"), + $onWheel: dartx.onWheel = Symbol("dartx.onWheel"), + _removeChild: dart.privateName(html$, "_removeChild"), + _replaceChild: dart.privateName(html$, "_replaceChild"), + $replaceWith: dartx.replaceWith = Symbol("dartx.replaceWith"), + _this: dart.privateName(html$, "_this"), + $insertAllBefore: dartx.insertAllBefore = Symbol("dartx.insertAllBefore"), + _clearChildren: dart.privateName(html$, "_clearChildren"), + $childNodes: dartx.childNodes = Symbol("dartx.childNodes"), + $firstChild: dartx.firstChild = Symbol("dartx.firstChild"), + $isConnected: dartx.isConnected = Symbol("dartx.isConnected"), + $lastChild: dartx.lastChild = Symbol("dartx.lastChild"), + $nodeName: dartx.nodeName = Symbol("dartx.nodeName"), + $nodeType: dartx.nodeType = Symbol("dartx.nodeType"), + $nodeValue: dartx.nodeValue = Symbol("dartx.nodeValue"), + $ownerDocument: dartx.ownerDocument = Symbol("dartx.ownerDocument"), + $parentNode: dartx.parentNode = Symbol("dartx.parentNode"), + $previousNode: dartx.previousNode = Symbol("dartx.previousNode"), + $clone: dartx.clone = Symbol("dartx.clone"), + _getRootNode_1: dart.privateName(html$, "_getRootNode_1"), + _getRootNode_2: dart.privateName(html$, "_getRootNode_2"), + $getRootNode: dartx.getRootNode = Symbol("dartx.getRootNode"), + $hasChildNodes: dartx.hasChildNodes = Symbol("dartx.hasChildNodes"), + $insertBefore: dartx.insertBefore = Symbol("dartx.insertBefore"), + _CustomEventStreamProvider__eventTypeGetter: dart.privateName(html$, "_CustomEventStreamProvider._eventTypeGetter"), + $respondWith: dartx.respondWith = Symbol("dartx.respondWith"), + $waitUntil: dartx.waitUntil = Symbol("dartx.waitUntil"), + $quaternion: dartx.quaternion = Symbol("dartx.quaternion"), + $populateMatrix: dartx.populateMatrix = Symbol("dartx.populateMatrix"), + $activated: dartx.activated = Symbol("dartx.activated"), + $hasReading: dartx.hasReading = Symbol("dartx.hasReading"), + $timestamp: dartx.timestamp = Symbol("dartx.timestamp"), + $start: dartx.start = Symbol("dartx.start"), + $stop: dartx.stop = Symbol("dartx.stop"), + $x: dartx.x = Symbol("dartx.x"), + $y: dartx.y = Symbol("dartx.y"), + $z: dartx.z = Symbol("dartx.z"), + $activeDescendant: dartx.activeDescendant = Symbol("dartx.activeDescendant"), + $atomic: dartx.atomic = Symbol("dartx.atomic"), + $autocomplete: dartx.autocomplete = Symbol("dartx.autocomplete"), + $busy: dartx.busy = Symbol("dartx.busy"), + $checked: dartx.checked = Symbol("dartx.checked"), + $colCount: dartx.colCount = Symbol("dartx.colCount"), + $colIndex: dartx.colIndex = Symbol("dartx.colIndex"), + $colSpan: dartx.colSpan = Symbol("dartx.colSpan"), + $controls: dartx.controls = Symbol("dartx.controls"), + $current: dartx.current = Symbol("dartx.current"), + $describedBy: dartx.describedBy = Symbol("dartx.describedBy"), + $details: dartx.details = Symbol("dartx.details"), + $disabled: dartx.disabled = Symbol("dartx.disabled"), + $errorMessage: dartx.errorMessage = Symbol("dartx.errorMessage"), + $expanded: dartx.expanded = Symbol("dartx.expanded"), + $flowTo: dartx.flowTo = Symbol("dartx.flowTo"), + $hasPopUp: dartx.hasPopUp = Symbol("dartx.hasPopUp"), + $invalid: dartx.invalid = Symbol("dartx.invalid"), + $keyShortcuts: dartx.keyShortcuts = Symbol("dartx.keyShortcuts"), + $label: dartx.label = Symbol("dartx.label"), + $labeledBy: dartx.labeledBy = Symbol("dartx.labeledBy"), + $level: dartx.level = Symbol("dartx.level"), + $live: dartx.live = Symbol("dartx.live"), + $modal: dartx.modal = Symbol("dartx.modal"), + $multiline: dartx.multiline = Symbol("dartx.multiline"), + $multiselectable: dartx.multiselectable = Symbol("dartx.multiselectable"), + $orientation: dartx.orientation = Symbol("dartx.orientation"), + $owns: dartx.owns = Symbol("dartx.owns"), + $placeholder: dartx.placeholder = Symbol("dartx.placeholder"), + $posInSet: dartx.posInSet = Symbol("dartx.posInSet"), + $pressed: dartx.pressed = Symbol("dartx.pressed"), + $readOnly: dartx.readOnly = Symbol("dartx.readOnly"), + $relevant: dartx.relevant = Symbol("dartx.relevant"), + $required: dartx.required = Symbol("dartx.required"), + $role: dartx.role = Symbol("dartx.role"), + $roleDescription: dartx.roleDescription = Symbol("dartx.roleDescription"), + $rowCount: dartx.rowCount = Symbol("dartx.rowCount"), + $rowIndex: dartx.rowIndex = Symbol("dartx.rowIndex"), + $rowSpan: dartx.rowSpan = Symbol("dartx.rowSpan"), + $selected: dartx.selected = Symbol("dartx.selected"), + $setSize: dartx.setSize = Symbol("dartx.setSize"), + $valueMax: dartx.valueMax = Symbol("dartx.valueMax"), + $valueMin: dartx.valueMin = Symbol("dartx.valueMin"), + $valueNow: dartx.valueNow = Symbol("dartx.valueNow"), + $valueText: dartx.valueText = Symbol("dartx.valueText"), + $appendChild: dartx.appendChild = Symbol("dartx.appendChild"), + $onAccessibleClick: dartx.onAccessibleClick = Symbol("dartx.onAccessibleClick"), + $onAccessibleContextMenu: dartx.onAccessibleContextMenu = Symbol("dartx.onAccessibleContextMenu"), + $onAccessibleDecrement: dartx.onAccessibleDecrement = Symbol("dartx.onAccessibleDecrement"), + $onAccessibleFocus: dartx.onAccessibleFocus = Symbol("dartx.onAccessibleFocus"), + $onAccessibleIncrement: dartx.onAccessibleIncrement = Symbol("dartx.onAccessibleIncrement"), + $onAccessibleScrollIntoView: dartx.onAccessibleScrollIntoView = Symbol("dartx.onAccessibleScrollIntoView"), + __setter__: dart.privateName(html$, "__setter__"), + $item: dartx.item = Symbol("dartx.item"), + $illuminance: dartx.illuminance = Symbol("dartx.illuminance"), + $download: dartx.download = Symbol("dartx.download"), + $hreflang: dartx.hreflang = Symbol("dartx.hreflang"), + $referrerPolicy: dartx.referrerPolicy = Symbol("dartx.referrerPolicy"), + $rel: dartx.rel = Symbol("dartx.rel"), + $hash: dartx.hash = Symbol("dartx.hash"), + $host: dartx.host = Symbol("dartx.host"), + $hostname: dartx.hostname = Symbol("dartx.hostname"), + $href: dartx.href = Symbol("dartx.href"), + $origin: dartx.origin = Symbol("dartx.origin"), + $password: dartx.password = Symbol("dartx.password"), + $pathname: dartx.pathname = Symbol("dartx.pathname"), + $port: dartx.port = Symbol("dartx.port"), + $protocol: dartx.protocol = Symbol("dartx.protocol"), + $search: dartx.search = Symbol("dartx.search"), + $username: dartx.username = Symbol("dartx.username"), + $currentTime: dartx.currentTime = Symbol("dartx.currentTime"), + $effect: dartx.effect = Symbol("dartx.effect"), + $finished: dartx.finished = Symbol("dartx.finished"), + $playState: dartx.playState = Symbol("dartx.playState"), + $playbackRate: dartx.playbackRate = Symbol("dartx.playbackRate"), + $ready: dartx.ready = Symbol("dartx.ready"), + $startTime: dartx.startTime = Symbol("dartx.startTime"), + $timeline: dartx.timeline = Symbol("dartx.timeline"), + $cancel: dartx.cancel = Symbol("dartx.cancel"), + $finish: dartx.finish = Symbol("dartx.finish"), + $pause: dartx.pause = Symbol("dartx.pause"), + $play: dartx.play = Symbol("dartx.play"), + $reverse: dartx.reverse = Symbol("dartx.reverse"), + $onCancel: dartx.onCancel = Symbol("dartx.onCancel"), + $onFinish: dartx.onFinish = Symbol("dartx.onFinish"), + $timing: dartx.timing = Symbol("dartx.timing"), + _getComputedTiming_1: dart.privateName(html$, "_getComputedTiming_1"), + $getComputedTiming: dartx.getComputedTiming = Symbol("dartx.getComputedTiming"), + $delay: dartx.delay = Symbol("dartx.delay"), + $duration: dartx.duration = Symbol("dartx.duration"), + $easing: dartx.easing = Symbol("dartx.easing"), + $endDelay: dartx.endDelay = Symbol("dartx.endDelay"), + $fill: dartx.fill = Symbol("dartx.fill"), + $iterationStart: dartx.iterationStart = Symbol("dartx.iterationStart"), + $iterations: dartx.iterations = Symbol("dartx.iterations"), + $animationName: dartx.animationName = Symbol("dartx.animationName"), + $elapsedTime: dartx.elapsedTime = Symbol("dartx.elapsedTime"), + $timelineTime: dartx.timelineTime = Symbol("dartx.timelineTime"), + $registerAnimator: dartx.registerAnimator = Symbol("dartx.registerAnimator"), + $status: dartx.status = Symbol("dartx.status"), + $swapCache: dartx.swapCache = Symbol("dartx.swapCache"), + $onCached: dartx.onCached = Symbol("dartx.onCached"), + $onChecking: dartx.onChecking = Symbol("dartx.onChecking"), + $onDownloading: dartx.onDownloading = Symbol("dartx.onDownloading"), + $onNoUpdate: dartx.onNoUpdate = Symbol("dartx.onNoUpdate"), + $onObsolete: dartx.onObsolete = Symbol("dartx.onObsolete"), + $onProgress: dartx.onProgress = Symbol("dartx.onProgress"), + $onUpdateReady: dartx.onUpdateReady = Symbol("dartx.onUpdateReady"), + $reason: dartx.reason = Symbol("dartx.reason"), + $url: dartx.url = Symbol("dartx.url"), + $alt: dartx.alt = Symbol("dartx.alt"), + $coords: dartx.coords = Symbol("dartx.coords"), + $shape: dartx.shape = Symbol("dartx.shape"), + $audioTracks: dartx.audioTracks = Symbol("dartx.audioTracks"), + $autoplay: dartx.autoplay = Symbol("dartx.autoplay"), + $buffered: dartx.buffered = Symbol("dartx.buffered"), + $controlsList: dartx.controlsList = Symbol("dartx.controlsList"), + $crossOrigin: dartx.crossOrigin = Symbol("dartx.crossOrigin"), + $currentSrc: dartx.currentSrc = Symbol("dartx.currentSrc"), + $defaultMuted: dartx.defaultMuted = Symbol("dartx.defaultMuted"), + $defaultPlaybackRate: dartx.defaultPlaybackRate = Symbol("dartx.defaultPlaybackRate"), + $disableRemotePlayback: dartx.disableRemotePlayback = Symbol("dartx.disableRemotePlayback"), + $ended: dartx.ended = Symbol("dartx.ended"), + $loop: dartx.loop = Symbol("dartx.loop"), + $mediaKeys: dartx.mediaKeys = Symbol("dartx.mediaKeys"), + $muted: dartx.muted = Symbol("dartx.muted"), + $networkState: dartx.networkState = Symbol("dartx.networkState"), + $paused: dartx.paused = Symbol("dartx.paused"), + $played: dartx.played = Symbol("dartx.played"), + $preload: dartx.preload = Symbol("dartx.preload"), + $remote: dartx.remote = Symbol("dartx.remote"), + $seekable: dartx.seekable = Symbol("dartx.seekable"), + $seeking: dartx.seeking = Symbol("dartx.seeking"), + $sinkId: dartx.sinkId = Symbol("dartx.sinkId"), + $src: dartx.src = Symbol("dartx.src"), + $srcObject: dartx.srcObject = Symbol("dartx.srcObject"), + $textTracks: dartx.textTracks = Symbol("dartx.textTracks"), + $videoTracks: dartx.videoTracks = Symbol("dartx.videoTracks"), + $volume: dartx.volume = Symbol("dartx.volume"), + $audioDecodedByteCount: dartx.audioDecodedByteCount = Symbol("dartx.audioDecodedByteCount"), + $videoDecodedByteCount: dartx.videoDecodedByteCount = Symbol("dartx.videoDecodedByteCount"), + $addTextTrack: dartx.addTextTrack = Symbol("dartx.addTextTrack"), + $canPlayType: dartx.canPlayType = Symbol("dartx.canPlayType"), + $captureStream: dartx.captureStream = Symbol("dartx.captureStream"), + $load: dartx.load = Symbol("dartx.load"), + $setMediaKeys: dartx.setMediaKeys = Symbol("dartx.setMediaKeys"), + $setSinkId: dartx.setSinkId = Symbol("dartx.setSinkId"), + $authenticatorData: dartx.authenticatorData = Symbol("dartx.authenticatorData"), + $signature: dartx.signature = Symbol("dartx.signature"), + $clientDataJson: dartx.clientDataJson = Symbol("dartx.clientDataJson"), + $attestationObject: dartx.attestationObject = Symbol("dartx.attestationObject"), + $state: dartx.state = Symbol("dartx.state"), + $fetches: dartx.fetches = Symbol("dartx.fetches"), + $request: dartx.request = Symbol("dartx.request"), + $fetch: dartx.fetch = Symbol("dartx.fetch"), + $getIds: dartx.getIds = Symbol("dartx.getIds"), + $downloadTotal: dartx.downloadTotal = Symbol("dartx.downloadTotal"), + $downloaded: dartx.downloaded = Symbol("dartx.downloaded"), + $totalDownloadSize: dartx.totalDownloadSize = Symbol("dartx.totalDownloadSize"), + $uploadTotal: dartx.uploadTotal = Symbol("dartx.uploadTotal"), + $uploaded: dartx.uploaded = Symbol("dartx.uploaded"), + $response: dartx.response = Symbol("dartx.response"), + $updateUI: dartx.updateUI = Symbol("dartx.updateUI"), + $visible: dartx.visible = Symbol("dartx.visible"), + $detect: dartx.detect = Symbol("dartx.detect"), + $charging: dartx.charging = Symbol("dartx.charging"), + $chargingTime: dartx.chargingTime = Symbol("dartx.chargingTime"), + $dischargingTime: dartx.dischargingTime = Symbol("dartx.dischargingTime"), + $platforms: dartx.platforms = Symbol("dartx.platforms"), + $userChoice: dartx.userChoice = Symbol("dartx.userChoice"), + $prompt: dartx.prompt = Symbol("dartx.prompt"), + $returnValue: dartx.returnValue = Symbol("dartx.returnValue"), + $size: dartx.size = Symbol("dartx.size"), + $slice: dartx.slice = Symbol("dartx.slice"), + $data: dartx.data = Symbol("dartx.data"), + $timecode: dartx.timecode = Symbol("dartx.timecode"), + $characteristic: dartx.characteristic = Symbol("dartx.characteristic"), + $uuid: dartx.uuid = Symbol("dartx.uuid"), + $readValue: dartx.readValue = Symbol("dartx.readValue"), + $writeValue: dartx.writeValue = Symbol("dartx.writeValue"), + $bodyUsed: dartx.bodyUsed = Symbol("dartx.bodyUsed"), + $arrayBuffer: dartx.arrayBuffer = Symbol("dartx.arrayBuffer"), + $blob: dartx.blob = Symbol("dartx.blob"), + $formData: dartx.formData = Symbol("dartx.formData"), + $json: dartx.json = Symbol("dartx.json"), + $onHashChange: dartx.onHashChange = Symbol("dartx.onHashChange"), + $onMessage: dartx.onMessage = Symbol("dartx.onMessage"), + $onOffline: dartx.onOffline = Symbol("dartx.onOffline"), + $onOnline: dartx.onOnline = Symbol("dartx.onOnline"), + $onPopState: dartx.onPopState = Symbol("dartx.onPopState"), + $onStorage: dartx.onStorage = Symbol("dartx.onStorage"), + $onUnload: dartx.onUnload = Symbol("dartx.onUnload"), + $postMessage: dartx.postMessage = Symbol("dartx.postMessage"), + $budgetAt: dartx.budgetAt = Symbol("dartx.budgetAt"), + $time: dartx.time = Symbol("dartx.time"), + $autofocus: dartx.autofocus = Symbol("dartx.autofocus"), + $form: dartx.form = Symbol("dartx.form"), + $formAction: dartx.formAction = Symbol("dartx.formAction"), + $formEnctype: dartx.formEnctype = Symbol("dartx.formEnctype"), + $formMethod: dartx.formMethod = Symbol("dartx.formMethod"), + $formNoValidate: dartx.formNoValidate = Symbol("dartx.formNoValidate"), + $formTarget: dartx.formTarget = Symbol("dartx.formTarget"), + $labels: dartx.labels = Symbol("dartx.labels"), + $validationMessage: dartx.validationMessage = Symbol("dartx.validationMessage"), + $validity: dartx.validity = Symbol("dartx.validity"), + $willValidate: dartx.willValidate = Symbol("dartx.willValidate"), + $checkValidity: dartx.checkValidity = Symbol("dartx.checkValidity"), + $reportValidity: dartx.reportValidity = Symbol("dartx.reportValidity"), + $setCustomValidity: dartx.setCustomValidity = Symbol("dartx.setCustomValidity"), + $wholeText: dartx.wholeText = Symbol("dartx.wholeText"), + $splitText: dartx.splitText = Symbol("dartx.splitText"), + $appendData: dartx.appendData = Symbol("dartx.appendData"), + $deleteData: dartx.deleteData = Symbol("dartx.deleteData"), + $insertData: dartx.insertData = Symbol("dartx.insertData"), + $replaceData: dartx.replaceData = Symbol("dartx.replaceData"), + $substringData: dartx.substringData = Symbol("dartx.substringData"), + $has: dartx.has = Symbol("dartx.has"), + $match: dartx.match = Symbol("dartx.match"), + $methodData: dartx.methodData = Symbol("dartx.methodData"), + $modifiers: dartx.modifiers = Symbol("dartx.modifiers"), + $paymentRequestOrigin: dartx.paymentRequestOrigin = Symbol("dartx.paymentRequestOrigin"), + $topLevelOrigin: dartx.topLevelOrigin = Symbol("dartx.topLevelOrigin"), + $canvas: dartx.canvas = Symbol("dartx.canvas"), + $requestFrame: dartx.requestFrame = Symbol("dartx.requestFrame"), + $contentHint: dartx.contentHint = Symbol("dartx.contentHint"), + $enabled: dartx.enabled = Symbol("dartx.enabled"), + $kind: dartx.kind = Symbol("dartx.kind"), + $applyConstraints: dartx.applyConstraints = Symbol("dartx.applyConstraints"), + _getCapabilities_1: dart.privateName(html$, "_getCapabilities_1"), + $getCapabilities: dartx.getCapabilities = Symbol("dartx.getCapabilities"), + _getConstraints_1: dart.privateName(html$, "_getConstraints_1"), + $getConstraints: dartx.getConstraints = Symbol("dartx.getConstraints"), + _getSettings_1: dart.privateName(html$, "_getSettings_1"), + $getSettings: dartx.getSettings = Symbol("dartx.getSettings"), + $onMute: dartx.onMute = Symbol("dartx.onMute"), + $onUnmute: dartx.onUnmute = Symbol("dartx.onUnmute"), + _getContext_1: dart.privateName(html$, "_getContext_1"), + _getContext_2: dart.privateName(html$, "_getContext_2"), + $getContext: dartx.getContext = Symbol("dartx.getContext"), + _toDataUrl: dart.privateName(html$, "_toDataUrl"), + $transferControlToOffscreen: dartx.transferControlToOffscreen = Symbol("dartx.transferControlToOffscreen"), + $onWebGlContextLost: dartx.onWebGlContextLost = Symbol("dartx.onWebGlContextLost"), + $onWebGlContextRestored: dartx.onWebGlContextRestored = Symbol("dartx.onWebGlContextRestored"), + $context2D: dartx.context2D = Symbol("dartx.context2D"), + $getContext3d: dartx.getContext3d = Symbol("dartx.getContext3d"), + $toDataUrl: dartx.toDataUrl = Symbol("dartx.toDataUrl"), + _toBlob: dart.privateName(html$, "_toBlob"), + $toBlob: dartx.toBlob = Symbol("dartx.toBlob"), + $addColorStop: dartx.addColorStop = Symbol("dartx.addColorStop"), + $setTransform: dartx.setTransform = Symbol("dartx.setTransform"), + $currentTransform: dartx.currentTransform = Symbol("dartx.currentTransform"), + $fillStyle: dartx.fillStyle = Symbol("dartx.fillStyle"), + $filter: dartx.filter = Symbol("dartx.filter"), + $font: dartx.font = Symbol("dartx.font"), + $globalAlpha: dartx.globalAlpha = Symbol("dartx.globalAlpha"), + $globalCompositeOperation: dartx.globalCompositeOperation = Symbol("dartx.globalCompositeOperation"), + $imageSmoothingEnabled: dartx.imageSmoothingEnabled = Symbol("dartx.imageSmoothingEnabled"), + $imageSmoothingQuality: dartx.imageSmoothingQuality = Symbol("dartx.imageSmoothingQuality"), + $lineCap: dartx.lineCap = Symbol("dartx.lineCap"), + $lineJoin: dartx.lineJoin = Symbol("dartx.lineJoin"), + $lineWidth: dartx.lineWidth = Symbol("dartx.lineWidth"), + $miterLimit: dartx.miterLimit = Symbol("dartx.miterLimit"), + $shadowBlur: dartx.shadowBlur = Symbol("dartx.shadowBlur"), + $shadowColor: dartx.shadowColor = Symbol("dartx.shadowColor"), + $shadowOffsetX: dartx.shadowOffsetX = Symbol("dartx.shadowOffsetX"), + $shadowOffsetY: dartx.shadowOffsetY = Symbol("dartx.shadowOffsetY"), + $strokeStyle: dartx.strokeStyle = Symbol("dartx.strokeStyle"), + $textAlign: dartx.textAlign = Symbol("dartx.textAlign"), + $textBaseline: dartx.textBaseline = Symbol("dartx.textBaseline"), + _addHitRegion_1: dart.privateName(html$, "_addHitRegion_1"), + _addHitRegion_2: dart.privateName(html$, "_addHitRegion_2"), + $addHitRegion: dartx.addHitRegion = Symbol("dartx.addHitRegion"), + $beginPath: dartx.beginPath = Symbol("dartx.beginPath"), + $clearHitRegions: dartx.clearHitRegions = Symbol("dartx.clearHitRegions"), + $clearRect: dartx.clearRect = Symbol("dartx.clearRect"), + $clip: dartx.clip = Symbol("dartx.clip"), + _createImageData_1: dart.privateName(html$, "_createImageData_1"), + _createImageData_2: dart.privateName(html$, "_createImageData_2"), + _createImageData_3: dart.privateName(html$, "_createImageData_3"), + _createImageData_4: dart.privateName(html$, "_createImageData_4"), + _createImageData_5: dart.privateName(html$, "_createImageData_5"), + $createImageData: dartx.createImageData = Symbol("dartx.createImageData"), + $createLinearGradient: dartx.createLinearGradient = Symbol("dartx.createLinearGradient"), + $createPattern: dartx.createPattern = Symbol("dartx.createPattern"), + $createRadialGradient: dartx.createRadialGradient = Symbol("dartx.createRadialGradient"), + $drawFocusIfNeeded: dartx.drawFocusIfNeeded = Symbol("dartx.drawFocusIfNeeded"), + $fillRect: dartx.fillRect = Symbol("dartx.fillRect"), + _getContextAttributes_1: dart.privateName(html$, "_getContextAttributes_1"), + $getContextAttributes: dartx.getContextAttributes = Symbol("dartx.getContextAttributes"), + _getImageData_1: dart.privateName(html$, "_getImageData_1"), + $getImageData: dartx.getImageData = Symbol("dartx.getImageData"), + _getLineDash: dart.privateName(html$, "_getLineDash"), + $isContextLost: dartx.isContextLost = Symbol("dartx.isContextLost"), + $isPointInPath: dartx.isPointInPath = Symbol("dartx.isPointInPath"), + $isPointInStroke: dartx.isPointInStroke = Symbol("dartx.isPointInStroke"), + $measureText: dartx.measureText = Symbol("dartx.measureText"), + _putImageData_1: dart.privateName(html$, "_putImageData_1"), + _putImageData_2: dart.privateName(html$, "_putImageData_2"), + $putImageData: dartx.putImageData = Symbol("dartx.putImageData"), + $removeHitRegion: dartx.removeHitRegion = Symbol("dartx.removeHitRegion"), + $resetTransform: dartx.resetTransform = Symbol("dartx.resetTransform"), + $restore: dartx.restore = Symbol("dartx.restore"), + $rotate: dartx.rotate = Symbol("dartx.rotate"), + $save: dartx.save = Symbol("dartx.save"), + $scale: dartx.scale = Symbol("dartx.scale"), + $scrollPathIntoView: dartx.scrollPathIntoView = Symbol("dartx.scrollPathIntoView"), + $stroke: dartx.stroke = Symbol("dartx.stroke"), + $strokeRect: dartx.strokeRect = Symbol("dartx.strokeRect"), + $strokeText: dartx.strokeText = Symbol("dartx.strokeText"), + $transform: dartx.transform = Symbol("dartx.transform"), + _arc: dart.privateName(html$, "_arc"), + $arcTo: dartx.arcTo = Symbol("dartx.arcTo"), + $bezierCurveTo: dartx.bezierCurveTo = Symbol("dartx.bezierCurveTo"), + $closePath: dartx.closePath = Symbol("dartx.closePath"), + $ellipse: dartx.ellipse = Symbol("dartx.ellipse"), + $lineTo: dartx.lineTo = Symbol("dartx.lineTo"), + $moveTo: dartx.moveTo = Symbol("dartx.moveTo"), + $quadraticCurveTo: dartx.quadraticCurveTo = Symbol("dartx.quadraticCurveTo"), + $rect: dartx.rect = Symbol("dartx.rect"), + $createImageDataFromImageData: dartx.createImageDataFromImageData = Symbol("dartx.createImageDataFromImageData"), + $setFillColorRgb: dartx.setFillColorRgb = Symbol("dartx.setFillColorRgb"), + $setFillColorHsl: dartx.setFillColorHsl = Symbol("dartx.setFillColorHsl"), + $setStrokeColorRgb: dartx.setStrokeColorRgb = Symbol("dartx.setStrokeColorRgb"), + $setStrokeColorHsl: dartx.setStrokeColorHsl = Symbol("dartx.setStrokeColorHsl"), + $arc: dartx.arc = Symbol("dartx.arc"), + $createPatternFromImage: dartx.createPatternFromImage = Symbol("dartx.createPatternFromImage"), + $drawImageScaled: dartx.drawImageScaled = Symbol("dartx.drawImageScaled"), + $drawImageScaledFromSource: dartx.drawImageScaledFromSource = Symbol("dartx.drawImageScaledFromSource"), + $drawImageToRect: dartx.drawImageToRect = Symbol("dartx.drawImageToRect"), + $drawImage: dartx.drawImage = Symbol("dartx.drawImage"), + $lineDashOffset: dartx.lineDashOffset = Symbol("dartx.lineDashOffset"), + $getLineDash: dartx.getLineDash = Symbol("dartx.getLineDash"), + $setLineDash: dartx.setLineDash = Symbol("dartx.setLineDash"), + $fillText: dartx.fillText = Symbol("dartx.fillText"), + $backingStorePixelRatio: dartx.backingStorePixelRatio = Symbol("dartx.backingStorePixelRatio"), + $frameType: dartx.frameType = Symbol("dartx.frameType"), + $claim: dartx.claim = Symbol("dartx.claim"), + $matchAll: dartx.matchAll = Symbol("dartx.matchAll"), + $openWindow: dartx.openWindow = Symbol("dartx.openWindow"), + $clipboardData: dartx.clipboardData = Symbol("dartx.clipboardData"), + $code: dartx.code = Symbol("dartx.code"), + $wasClean: dartx.wasClean = Symbol("dartx.wasClean"), + _initCompositionEvent: dart.privateName(html$, "_initCompositionEvent"), + _initUIEvent: dart.privateName(html$, "_initUIEvent"), + $detail: dartx.detail = Symbol("dartx.detail"), + $sourceCapabilities: dartx.sourceCapabilities = Symbol("dartx.sourceCapabilities"), + _get_view: dart.privateName(html$, "_get_view"), + $view: dartx.view = Symbol("dartx.view"), + _which: dart.privateName(html$, "_which"), + $select: dartx.select = Symbol("dartx.select"), + $getDistributedNodes: dartx.getDistributedNodes = Symbol("dartx.getDistributedNodes"), + $set: dartx.set = Symbol("dartx.set"), + $accuracy: dartx.accuracy = Symbol("dartx.accuracy"), + $altitude: dartx.altitude = Symbol("dartx.altitude"), + $altitudeAccuracy: dartx.altitudeAccuracy = Symbol("dartx.altitudeAccuracy"), + $heading: dartx.heading = Symbol("dartx.heading"), + $latitude: dartx.latitude = Symbol("dartx.latitude"), + $longitude: dartx.longitude = Symbol("dartx.longitude"), + $speed: dartx.speed = Symbol("dartx.speed"), + $iconUrl: dartx.iconUrl = Symbol("dartx.iconUrl"), + $create: dartx.create = Symbol("dartx.create"), + $preventSilentAccess: dartx.preventSilentAccess = Symbol("dartx.preventSilentAccess"), + $requireUserMediation: dartx.requireUserMediation = Symbol("dartx.requireUserMediation"), + $store: dartx.store = Symbol("dartx.store"), + _getRandomValues: dart.privateName(html$, "_getRandomValues"), + $getRandomValues: dartx.getRandomValues = Symbol("dartx.getRandomValues"), + $subtle: dartx.subtle = Symbol("dartx.subtle"), + $algorithm: dartx.algorithm = Symbol("dartx.algorithm"), + $extractable: dartx.extractable = Symbol("dartx.extractable"), + $usages: dartx.usages = Symbol("dartx.usages"), + $encoding: dartx.encoding = Symbol("dartx.encoding"), + $cssText: dartx.cssText = Symbol("dartx.cssText"), + $parentRule: dartx.parentRule = Symbol("dartx.parentRule"), + $parentStyleSheet: dartx.parentStyleSheet = Symbol("dartx.parentStyleSheet"), + $conditionText: dartx.conditionText = Symbol("dartx.conditionText"), + $cssRules: dartx.cssRules = Symbol("dartx.cssRules"), + $deleteRule: dartx.deleteRule = Symbol("dartx.deleteRule"), + $insertRule: dartx.insertRule = Symbol("dartx.insertRule"), + $intrinsicHeight: dartx.intrinsicHeight = Symbol("dartx.intrinsicHeight"), + $intrinsicRatio: dartx.intrinsicRatio = Symbol("dartx.intrinsicRatio"), + $intrinsicWidth: dartx.intrinsicWidth = Symbol("dartx.intrinsicWidth"), + $media: dartx.media = Symbol("dartx.media"), + $styleSheet: dartx.styleSheet = Symbol("dartx.styleSheet"), + $keyText: dartx.keyText = Symbol("dartx.keyText"), + __getter__: dart.privateName(html$, "__getter__"), + $appendRule: dartx.appendRule = Symbol("dartx.appendRule"), + $findRule: dartx.findRule = Symbol("dartx.findRule"), + $matrix: dartx.matrix = Symbol("dartx.matrix"), + $is2D: dartx.is2D = Symbol("dartx.is2D"), + $prefix: dartx.prefix = Symbol("dartx.prefix"), + $div: dartx.div = Symbol("dartx.div"), + $mul: dartx.mul = Symbol("dartx.mul"), + $sub: dartx.sub = Symbol("dartx.sub"), + $to: dartx.to = Symbol("dartx.to"), + $selectorText: dartx.selectorText = Symbol("dartx.selectorText"), + $angle: dartx.angle = Symbol("dartx.angle"), + $ax: dartx.ax = Symbol("dartx.ax"), + $ay: dartx.ay = Symbol("dartx.ay"), + _getPropertyValueHelper: dart.privateName(html$, "_getPropertyValueHelper"), + $getPropertyValue: dartx.getPropertyValue = Symbol("dartx.getPropertyValue"), + _browserPropertyName: dart.privateName(html$, "_browserPropertyName"), + _getPropertyValue: dart.privateName(html$, "_getPropertyValue"), + _supportsProperty: dart.privateName(html$, "_supportsProperty"), + $supportsProperty: dartx.supportsProperty = Symbol("dartx.supportsProperty"), + _setPropertyHelper: dart.privateName(html$, "_setPropertyHelper"), + $setProperty: dartx.setProperty = Symbol("dartx.setProperty"), + _supportedBrowserPropertyName: dart.privateName(html$, "_supportedBrowserPropertyName"), + $cssFloat: dartx.cssFloat = Symbol("dartx.cssFloat"), + $getPropertyPriority: dartx.getPropertyPriority = Symbol("dartx.getPropertyPriority"), + $removeProperty: dartx.removeProperty = Symbol("dartx.removeProperty"), + _background: dart.privateName(html$, "_background"), + $background: dartx.background = Symbol("dartx.background"), + _backgroundAttachment: dart.privateName(html$, "_backgroundAttachment"), + $backgroundAttachment: dartx.backgroundAttachment = Symbol("dartx.backgroundAttachment"), + _backgroundColor: dart.privateName(html$, "_backgroundColor"), + $backgroundColor: dartx.backgroundColor = Symbol("dartx.backgroundColor"), + _backgroundImage: dart.privateName(html$, "_backgroundImage"), + $backgroundImage: dartx.backgroundImage = Symbol("dartx.backgroundImage"), + _backgroundPosition: dart.privateName(html$, "_backgroundPosition"), + $backgroundPosition: dartx.backgroundPosition = Symbol("dartx.backgroundPosition"), + _backgroundRepeat: dart.privateName(html$, "_backgroundRepeat"), + $backgroundRepeat: dartx.backgroundRepeat = Symbol("dartx.backgroundRepeat"), + _border: dart.privateName(html$, "_border"), + $border: dartx.border = Symbol("dartx.border"), + _borderBottom: dart.privateName(html$, "_borderBottom"), + $borderBottom: dartx.borderBottom = Symbol("dartx.borderBottom"), + _borderBottomColor: dart.privateName(html$, "_borderBottomColor"), + $borderBottomColor: dartx.borderBottomColor = Symbol("dartx.borderBottomColor"), + _borderBottomStyle: dart.privateName(html$, "_borderBottomStyle"), + $borderBottomStyle: dartx.borderBottomStyle = Symbol("dartx.borderBottomStyle"), + _borderBottomWidth: dart.privateName(html$, "_borderBottomWidth"), + $borderBottomWidth: dartx.borderBottomWidth = Symbol("dartx.borderBottomWidth"), + _borderCollapse: dart.privateName(html$, "_borderCollapse"), + $borderCollapse: dartx.borderCollapse = Symbol("dartx.borderCollapse"), + _borderColor: dart.privateName(html$, "_borderColor"), + $borderColor: dartx.borderColor = Symbol("dartx.borderColor"), + _borderLeft: dart.privateName(html$, "_borderLeft"), + $borderLeft: dartx.borderLeft = Symbol("dartx.borderLeft"), + _borderLeftColor: dart.privateName(html$, "_borderLeftColor"), + $borderLeftColor: dartx.borderLeftColor = Symbol("dartx.borderLeftColor"), + _borderLeftStyle: dart.privateName(html$, "_borderLeftStyle"), + $borderLeftStyle: dartx.borderLeftStyle = Symbol("dartx.borderLeftStyle"), + _borderLeftWidth: dart.privateName(html$, "_borderLeftWidth"), + $borderLeftWidth: dartx.borderLeftWidth = Symbol("dartx.borderLeftWidth"), + _borderRight: dart.privateName(html$, "_borderRight"), + $borderRight: dartx.borderRight = Symbol("dartx.borderRight"), + _borderRightColor: dart.privateName(html$, "_borderRightColor"), + $borderRightColor: dartx.borderRightColor = Symbol("dartx.borderRightColor"), + _borderRightStyle: dart.privateName(html$, "_borderRightStyle"), + $borderRightStyle: dartx.borderRightStyle = Symbol("dartx.borderRightStyle"), + _borderRightWidth: dart.privateName(html$, "_borderRightWidth") + }; + var S$0 = { + $borderRightWidth: dartx.borderRightWidth = Symbol("dartx.borderRightWidth"), + _borderSpacing: dart.privateName(html$, "_borderSpacing"), + $borderSpacing: dartx.borderSpacing = Symbol("dartx.borderSpacing"), + _borderStyle: dart.privateName(html$, "_borderStyle"), + $borderStyle: dartx.borderStyle = Symbol("dartx.borderStyle"), + _borderTop: dart.privateName(html$, "_borderTop"), + $borderTop: dartx.borderTop = Symbol("dartx.borderTop"), + _borderTopColor: dart.privateName(html$, "_borderTopColor"), + $borderTopColor: dartx.borderTopColor = Symbol("dartx.borderTopColor"), + _borderTopStyle: dart.privateName(html$, "_borderTopStyle"), + $borderTopStyle: dartx.borderTopStyle = Symbol("dartx.borderTopStyle"), + _borderTopWidth: dart.privateName(html$, "_borderTopWidth"), + $borderTopWidth: dartx.borderTopWidth = Symbol("dartx.borderTopWidth"), + _borderWidth: dart.privateName(html$, "_borderWidth"), + $borderWidth: dartx.borderWidth = Symbol("dartx.borderWidth"), + _bottom: dart.privateName(html$, "_bottom"), + _captionSide: dart.privateName(html$, "_captionSide"), + $captionSide: dartx.captionSide = Symbol("dartx.captionSide"), + _clear$3: dart.privateName(html$, "_clear"), + _clip: dart.privateName(html$, "_clip"), + _color: dart.privateName(html$, "_color"), + $color: dartx.color = Symbol("dartx.color"), + _content: dart.privateName(html$, "_content"), + $content: dartx.content = Symbol("dartx.content"), + _cursor: dart.privateName(html$, "_cursor"), + $cursor: dartx.cursor = Symbol("dartx.cursor"), + _direction: dart.privateName(html$, "_direction"), + _display: dart.privateName(html$, "_display"), + $display: dartx.display = Symbol("dartx.display"), + _emptyCells: dart.privateName(html$, "_emptyCells"), + $emptyCells: dartx.emptyCells = Symbol("dartx.emptyCells"), + _font: dart.privateName(html$, "_font"), + _fontFamily: dart.privateName(html$, "_fontFamily"), + $fontFamily: dartx.fontFamily = Symbol("dartx.fontFamily"), + _fontSize: dart.privateName(html$, "_fontSize"), + $fontSize: dartx.fontSize = Symbol("dartx.fontSize"), + _fontStyle: dart.privateName(html$, "_fontStyle"), + $fontStyle: dartx.fontStyle = Symbol("dartx.fontStyle"), + _fontVariant: dart.privateName(html$, "_fontVariant"), + $fontVariant: dartx.fontVariant = Symbol("dartx.fontVariant"), + _fontWeight: dart.privateName(html$, "_fontWeight"), + $fontWeight: dartx.fontWeight = Symbol("dartx.fontWeight"), + _height$1: dart.privateName(html$, "_height"), + _left$2: dart.privateName(html$, "_left"), + _letterSpacing: dart.privateName(html$, "_letterSpacing"), + $letterSpacing: dartx.letterSpacing = Symbol("dartx.letterSpacing"), + _lineHeight: dart.privateName(html$, "_lineHeight"), + $lineHeight: dartx.lineHeight = Symbol("dartx.lineHeight"), + _listStyle: dart.privateName(html$, "_listStyle"), + $listStyle: dartx.listStyle = Symbol("dartx.listStyle"), + _listStyleImage: dart.privateName(html$, "_listStyleImage"), + $listStyleImage: dartx.listStyleImage = Symbol("dartx.listStyleImage"), + _listStylePosition: dart.privateName(html$, "_listStylePosition"), + $listStylePosition: dartx.listStylePosition = Symbol("dartx.listStylePosition"), + _listStyleType: dart.privateName(html$, "_listStyleType"), + $listStyleType: dartx.listStyleType = Symbol("dartx.listStyleType"), + _margin: dart.privateName(html$, "_margin"), + $margin: dartx.margin = Symbol("dartx.margin"), + _marginBottom: dart.privateName(html$, "_marginBottom"), + $marginBottom: dartx.marginBottom = Symbol("dartx.marginBottom"), + _marginLeft: dart.privateName(html$, "_marginLeft"), + $marginLeft: dartx.marginLeft = Symbol("dartx.marginLeft"), + _marginRight: dart.privateName(html$, "_marginRight"), + $marginRight: dartx.marginRight = Symbol("dartx.marginRight"), + _marginTop: dart.privateName(html$, "_marginTop"), + $marginTop: dartx.marginTop = Symbol("dartx.marginTop"), + _maxHeight: dart.privateName(html$, "_maxHeight"), + $maxHeight: dartx.maxHeight = Symbol("dartx.maxHeight"), + _maxWidth: dart.privateName(html$, "_maxWidth"), + $maxWidth: dartx.maxWidth = Symbol("dartx.maxWidth"), + _minHeight: dart.privateName(html$, "_minHeight"), + $minHeight: dartx.minHeight = Symbol("dartx.minHeight"), + _minWidth: dart.privateName(html$, "_minWidth"), + $minWidth: dartx.minWidth = Symbol("dartx.minWidth"), + _outline: dart.privateName(html$, "_outline"), + $outline: dartx.outline = Symbol("dartx.outline"), + _outlineColor: dart.privateName(html$, "_outlineColor"), + $outlineColor: dartx.outlineColor = Symbol("dartx.outlineColor"), + _outlineStyle: dart.privateName(html$, "_outlineStyle"), + $outlineStyle: dartx.outlineStyle = Symbol("dartx.outlineStyle"), + _outlineWidth: dart.privateName(html$, "_outlineWidth"), + $outlineWidth: dartx.outlineWidth = Symbol("dartx.outlineWidth"), + _overflow: dart.privateName(html$, "_overflow"), + $overflow: dartx.overflow = Symbol("dartx.overflow"), + _padding: dart.privateName(html$, "_padding"), + $padding: dartx.padding = Symbol("dartx.padding"), + _paddingBottom: dart.privateName(html$, "_paddingBottom"), + $paddingBottom: dartx.paddingBottom = Symbol("dartx.paddingBottom"), + _paddingLeft: dart.privateName(html$, "_paddingLeft"), + $paddingLeft: dartx.paddingLeft = Symbol("dartx.paddingLeft"), + _paddingRight: dart.privateName(html$, "_paddingRight"), + $paddingRight: dartx.paddingRight = Symbol("dartx.paddingRight"), + _paddingTop: dart.privateName(html$, "_paddingTop"), + $paddingTop: dartx.paddingTop = Symbol("dartx.paddingTop"), + _pageBreakAfter: dart.privateName(html$, "_pageBreakAfter"), + $pageBreakAfter: dartx.pageBreakAfter = Symbol("dartx.pageBreakAfter"), + _pageBreakBefore: dart.privateName(html$, "_pageBreakBefore"), + $pageBreakBefore: dartx.pageBreakBefore = Symbol("dartx.pageBreakBefore"), + _pageBreakInside: dart.privateName(html$, "_pageBreakInside"), + $pageBreakInside: dartx.pageBreakInside = Symbol("dartx.pageBreakInside"), + _position$2: dart.privateName(html$, "_position"), + $position: dartx.position = Symbol("dartx.position"), + _quotes: dart.privateName(html$, "_quotes"), + $quotes: dartx.quotes = Symbol("dartx.quotes"), + _right$2: dart.privateName(html$, "_right"), + _tableLayout: dart.privateName(html$, "_tableLayout"), + $tableLayout: dartx.tableLayout = Symbol("dartx.tableLayout"), + _textAlign: dart.privateName(html$, "_textAlign"), + _textDecoration: dart.privateName(html$, "_textDecoration"), + $textDecoration: dartx.textDecoration = Symbol("dartx.textDecoration"), + _textIndent: dart.privateName(html$, "_textIndent"), + $textIndent: dartx.textIndent = Symbol("dartx.textIndent"), + _textTransform: dart.privateName(html$, "_textTransform"), + $textTransform: dartx.textTransform = Symbol("dartx.textTransform"), + _top: dart.privateName(html$, "_top"), + _unicodeBidi: dart.privateName(html$, "_unicodeBidi"), + $unicodeBidi: dartx.unicodeBidi = Symbol("dartx.unicodeBidi"), + _verticalAlign: dart.privateName(html$, "_verticalAlign"), + $verticalAlign: dartx.verticalAlign = Symbol("dartx.verticalAlign"), + _visibility: dart.privateName(html$, "_visibility"), + $visibility: dartx.visibility = Symbol("dartx.visibility"), + _whiteSpace: dart.privateName(html$, "_whiteSpace"), + $whiteSpace: dartx.whiteSpace = Symbol("dartx.whiteSpace"), + _width$1: dart.privateName(html$, "_width"), + _wordSpacing: dart.privateName(html$, "_wordSpacing"), + $wordSpacing: dartx.wordSpacing = Symbol("dartx.wordSpacing"), + _zIndex: dart.privateName(html$, "_zIndex"), + $zIndex: dartx.zIndex = Symbol("dartx.zIndex"), + $alignContent: dartx.alignContent = Symbol("dartx.alignContent"), + $alignItems: dartx.alignItems = Symbol("dartx.alignItems"), + $alignSelf: dartx.alignSelf = Symbol("dartx.alignSelf"), + $animation: dartx.animation = Symbol("dartx.animation"), + $animationDelay: dartx.animationDelay = Symbol("dartx.animationDelay"), + $animationDirection: dartx.animationDirection = Symbol("dartx.animationDirection"), + $animationDuration: dartx.animationDuration = Symbol("dartx.animationDuration"), + $animationFillMode: dartx.animationFillMode = Symbol("dartx.animationFillMode"), + $animationIterationCount: dartx.animationIterationCount = Symbol("dartx.animationIterationCount"), + $animationPlayState: dartx.animationPlayState = Symbol("dartx.animationPlayState"), + $animationTimingFunction: dartx.animationTimingFunction = Symbol("dartx.animationTimingFunction"), + $appRegion: dartx.appRegion = Symbol("dartx.appRegion"), + $appearance: dartx.appearance = Symbol("dartx.appearance"), + $aspectRatio: dartx.aspectRatio = Symbol("dartx.aspectRatio"), + $backfaceVisibility: dartx.backfaceVisibility = Symbol("dartx.backfaceVisibility"), + $backgroundBlendMode: dartx.backgroundBlendMode = Symbol("dartx.backgroundBlendMode"), + $backgroundClip: dartx.backgroundClip = Symbol("dartx.backgroundClip"), + $backgroundComposite: dartx.backgroundComposite = Symbol("dartx.backgroundComposite"), + $backgroundOrigin: dartx.backgroundOrigin = Symbol("dartx.backgroundOrigin"), + $backgroundPositionX: dartx.backgroundPositionX = Symbol("dartx.backgroundPositionX"), + $backgroundPositionY: dartx.backgroundPositionY = Symbol("dartx.backgroundPositionY"), + $backgroundRepeatX: dartx.backgroundRepeatX = Symbol("dartx.backgroundRepeatX"), + $backgroundRepeatY: dartx.backgroundRepeatY = Symbol("dartx.backgroundRepeatY"), + $backgroundSize: dartx.backgroundSize = Symbol("dartx.backgroundSize"), + $borderAfter: dartx.borderAfter = Symbol("dartx.borderAfter"), + $borderAfterColor: dartx.borderAfterColor = Symbol("dartx.borderAfterColor"), + $borderAfterStyle: dartx.borderAfterStyle = Symbol("dartx.borderAfterStyle"), + $borderAfterWidth: dartx.borderAfterWidth = Symbol("dartx.borderAfterWidth"), + $borderBefore: dartx.borderBefore = Symbol("dartx.borderBefore"), + $borderBeforeColor: dartx.borderBeforeColor = Symbol("dartx.borderBeforeColor"), + $borderBeforeStyle: dartx.borderBeforeStyle = Symbol("dartx.borderBeforeStyle"), + $borderBeforeWidth: dartx.borderBeforeWidth = Symbol("dartx.borderBeforeWidth"), + $borderBottomLeftRadius: dartx.borderBottomLeftRadius = Symbol("dartx.borderBottomLeftRadius"), + $borderBottomRightRadius: dartx.borderBottomRightRadius = Symbol("dartx.borderBottomRightRadius"), + $borderEnd: dartx.borderEnd = Symbol("dartx.borderEnd"), + $borderEndColor: dartx.borderEndColor = Symbol("dartx.borderEndColor"), + $borderEndStyle: dartx.borderEndStyle = Symbol("dartx.borderEndStyle"), + $borderEndWidth: dartx.borderEndWidth = Symbol("dartx.borderEndWidth"), + $borderFit: dartx.borderFit = Symbol("dartx.borderFit"), + $borderHorizontalSpacing: dartx.borderHorizontalSpacing = Symbol("dartx.borderHorizontalSpacing"), + $borderImage: dartx.borderImage = Symbol("dartx.borderImage"), + $borderImageOutset: dartx.borderImageOutset = Symbol("dartx.borderImageOutset"), + $borderImageRepeat: dartx.borderImageRepeat = Symbol("dartx.borderImageRepeat"), + $borderImageSlice: dartx.borderImageSlice = Symbol("dartx.borderImageSlice"), + $borderImageSource: dartx.borderImageSource = Symbol("dartx.borderImageSource"), + $borderImageWidth: dartx.borderImageWidth = Symbol("dartx.borderImageWidth"), + $borderRadius: dartx.borderRadius = Symbol("dartx.borderRadius"), + $borderStart: dartx.borderStart = Symbol("dartx.borderStart"), + $borderStartColor: dartx.borderStartColor = Symbol("dartx.borderStartColor"), + $borderStartStyle: dartx.borderStartStyle = Symbol("dartx.borderStartStyle"), + $borderStartWidth: dartx.borderStartWidth = Symbol("dartx.borderStartWidth"), + $borderTopLeftRadius: dartx.borderTopLeftRadius = Symbol("dartx.borderTopLeftRadius"), + $borderTopRightRadius: dartx.borderTopRightRadius = Symbol("dartx.borderTopRightRadius"), + $borderVerticalSpacing: dartx.borderVerticalSpacing = Symbol("dartx.borderVerticalSpacing"), + $boxAlign: dartx.boxAlign = Symbol("dartx.boxAlign"), + $boxDecorationBreak: dartx.boxDecorationBreak = Symbol("dartx.boxDecorationBreak"), + $boxDirection: dartx.boxDirection = Symbol("dartx.boxDirection"), + $boxFlex: dartx.boxFlex = Symbol("dartx.boxFlex"), + $boxFlexGroup: dartx.boxFlexGroup = Symbol("dartx.boxFlexGroup"), + $boxLines: dartx.boxLines = Symbol("dartx.boxLines"), + $boxOrdinalGroup: dartx.boxOrdinalGroup = Symbol("dartx.boxOrdinalGroup"), + $boxOrient: dartx.boxOrient = Symbol("dartx.boxOrient"), + $boxPack: dartx.boxPack = Symbol("dartx.boxPack"), + $boxReflect: dartx.boxReflect = Symbol("dartx.boxReflect"), + $boxShadow: dartx.boxShadow = Symbol("dartx.boxShadow"), + $boxSizing: dartx.boxSizing = Symbol("dartx.boxSizing"), + $clipPath: dartx.clipPath = Symbol("dartx.clipPath"), + $columnBreakAfter: dartx.columnBreakAfter = Symbol("dartx.columnBreakAfter"), + $columnBreakBefore: dartx.columnBreakBefore = Symbol("dartx.columnBreakBefore"), + $columnBreakInside: dartx.columnBreakInside = Symbol("dartx.columnBreakInside"), + $columnCount: dartx.columnCount = Symbol("dartx.columnCount"), + $columnFill: dartx.columnFill = Symbol("dartx.columnFill"), + $columnGap: dartx.columnGap = Symbol("dartx.columnGap"), + $columnRule: dartx.columnRule = Symbol("dartx.columnRule"), + $columnRuleColor: dartx.columnRuleColor = Symbol("dartx.columnRuleColor"), + $columnRuleStyle: dartx.columnRuleStyle = Symbol("dartx.columnRuleStyle"), + $columnRuleWidth: dartx.columnRuleWidth = Symbol("dartx.columnRuleWidth"), + $columnSpan: dartx.columnSpan = Symbol("dartx.columnSpan"), + $columnWidth: dartx.columnWidth = Symbol("dartx.columnWidth"), + $columns: dartx.columns = Symbol("dartx.columns"), + $counterIncrement: dartx.counterIncrement = Symbol("dartx.counterIncrement"), + $counterReset: dartx.counterReset = Symbol("dartx.counterReset"), + $flex: dartx.flex = Symbol("dartx.flex"), + $flexBasis: dartx.flexBasis = Symbol("dartx.flexBasis"), + $flexDirection: dartx.flexDirection = Symbol("dartx.flexDirection"), + $flexFlow: dartx.flexFlow = Symbol("dartx.flexFlow"), + $flexGrow: dartx.flexGrow = Symbol("dartx.flexGrow"), + $flexShrink: dartx.flexShrink = Symbol("dartx.flexShrink"), + $flexWrap: dartx.flexWrap = Symbol("dartx.flexWrap"), + $float: dartx.float = Symbol("dartx.float"), + $fontFeatureSettings: dartx.fontFeatureSettings = Symbol("dartx.fontFeatureSettings"), + $fontKerning: dartx.fontKerning = Symbol("dartx.fontKerning"), + $fontSizeDelta: dartx.fontSizeDelta = Symbol("dartx.fontSizeDelta"), + $fontSmoothing: dartx.fontSmoothing = Symbol("dartx.fontSmoothing"), + $fontStretch: dartx.fontStretch = Symbol("dartx.fontStretch"), + $fontVariantLigatures: dartx.fontVariantLigatures = Symbol("dartx.fontVariantLigatures"), + $grid: dartx.grid = Symbol("dartx.grid"), + $gridArea: dartx.gridArea = Symbol("dartx.gridArea"), + $gridAutoColumns: dartx.gridAutoColumns = Symbol("dartx.gridAutoColumns"), + $gridAutoFlow: dartx.gridAutoFlow = Symbol("dartx.gridAutoFlow"), + $gridAutoRows: dartx.gridAutoRows = Symbol("dartx.gridAutoRows"), + $gridColumn: dartx.gridColumn = Symbol("dartx.gridColumn"), + $gridColumnEnd: dartx.gridColumnEnd = Symbol("dartx.gridColumnEnd"), + $gridColumnStart: dartx.gridColumnStart = Symbol("dartx.gridColumnStart"), + $gridRow: dartx.gridRow = Symbol("dartx.gridRow"), + $gridRowEnd: dartx.gridRowEnd = Symbol("dartx.gridRowEnd"), + $gridRowStart: dartx.gridRowStart = Symbol("dartx.gridRowStart"), + $gridTemplate: dartx.gridTemplate = Symbol("dartx.gridTemplate"), + $gridTemplateAreas: dartx.gridTemplateAreas = Symbol("dartx.gridTemplateAreas"), + $gridTemplateColumns: dartx.gridTemplateColumns = Symbol("dartx.gridTemplateColumns"), + $gridTemplateRows: dartx.gridTemplateRows = Symbol("dartx.gridTemplateRows"), + $highlight: dartx.highlight = Symbol("dartx.highlight"), + $hyphenateCharacter: dartx.hyphenateCharacter = Symbol("dartx.hyphenateCharacter"), + $imageRendering: dartx.imageRendering = Symbol("dartx.imageRendering"), + $isolation: dartx.isolation = Symbol("dartx.isolation"), + $justifyContent: dartx.justifyContent = Symbol("dartx.justifyContent"), + $justifySelf: dartx.justifySelf = Symbol("dartx.justifySelf"), + $lineBoxContain: dartx.lineBoxContain = Symbol("dartx.lineBoxContain"), + $lineBreak: dartx.lineBreak = Symbol("dartx.lineBreak"), + $lineClamp: dartx.lineClamp = Symbol("dartx.lineClamp"), + $locale: dartx.locale = Symbol("dartx.locale"), + $logicalHeight: dartx.logicalHeight = Symbol("dartx.logicalHeight"), + $logicalWidth: dartx.logicalWidth = Symbol("dartx.logicalWidth"), + $marginAfter: dartx.marginAfter = Symbol("dartx.marginAfter"), + $marginAfterCollapse: dartx.marginAfterCollapse = Symbol("dartx.marginAfterCollapse"), + $marginBefore: dartx.marginBefore = Symbol("dartx.marginBefore"), + $marginBeforeCollapse: dartx.marginBeforeCollapse = Symbol("dartx.marginBeforeCollapse"), + $marginBottomCollapse: dartx.marginBottomCollapse = Symbol("dartx.marginBottomCollapse"), + $marginCollapse: dartx.marginCollapse = Symbol("dartx.marginCollapse"), + $marginEnd: dartx.marginEnd = Symbol("dartx.marginEnd"), + $marginStart: dartx.marginStart = Symbol("dartx.marginStart"), + $marginTopCollapse: dartx.marginTopCollapse = Symbol("dartx.marginTopCollapse"), + $mask: dartx.mask = Symbol("dartx.mask"), + $maskBoxImage: dartx.maskBoxImage = Symbol("dartx.maskBoxImage"), + $maskBoxImageOutset: dartx.maskBoxImageOutset = Symbol("dartx.maskBoxImageOutset"), + $maskBoxImageRepeat: dartx.maskBoxImageRepeat = Symbol("dartx.maskBoxImageRepeat"), + $maskBoxImageSlice: dartx.maskBoxImageSlice = Symbol("dartx.maskBoxImageSlice"), + $maskBoxImageSource: dartx.maskBoxImageSource = Symbol("dartx.maskBoxImageSource"), + $maskBoxImageWidth: dartx.maskBoxImageWidth = Symbol("dartx.maskBoxImageWidth"), + $maskClip: dartx.maskClip = Symbol("dartx.maskClip"), + $maskComposite: dartx.maskComposite = Symbol("dartx.maskComposite"), + $maskImage: dartx.maskImage = Symbol("dartx.maskImage"), + $maskOrigin: dartx.maskOrigin = Symbol("dartx.maskOrigin"), + $maskPosition: dartx.maskPosition = Symbol("dartx.maskPosition"), + $maskPositionX: dartx.maskPositionX = Symbol("dartx.maskPositionX"), + $maskPositionY: dartx.maskPositionY = Symbol("dartx.maskPositionY"), + $maskRepeat: dartx.maskRepeat = Symbol("dartx.maskRepeat"), + $maskRepeatX: dartx.maskRepeatX = Symbol("dartx.maskRepeatX"), + $maskRepeatY: dartx.maskRepeatY = Symbol("dartx.maskRepeatY"), + $maskSize: dartx.maskSize = Symbol("dartx.maskSize"), + $maskSourceType: dartx.maskSourceType = Symbol("dartx.maskSourceType"), + $maxLogicalHeight: dartx.maxLogicalHeight = Symbol("dartx.maxLogicalHeight"), + $maxLogicalWidth: dartx.maxLogicalWidth = Symbol("dartx.maxLogicalWidth"), + $maxZoom: dartx.maxZoom = Symbol("dartx.maxZoom"), + $minLogicalHeight: dartx.minLogicalHeight = Symbol("dartx.minLogicalHeight"), + $minLogicalWidth: dartx.minLogicalWidth = Symbol("dartx.minLogicalWidth"), + $minZoom: dartx.minZoom = Symbol("dartx.minZoom"), + $mixBlendMode: dartx.mixBlendMode = Symbol("dartx.mixBlendMode"), + $objectFit: dartx.objectFit = Symbol("dartx.objectFit"), + $objectPosition: dartx.objectPosition = Symbol("dartx.objectPosition"), + $opacity: dartx.opacity = Symbol("dartx.opacity"), + $order: dartx.order = Symbol("dartx.order"), + $orphans: dartx.orphans = Symbol("dartx.orphans"), + $outlineOffset: dartx.outlineOffset = Symbol("dartx.outlineOffset"), + $overflowWrap: dartx.overflowWrap = Symbol("dartx.overflowWrap"), + $overflowX: dartx.overflowX = Symbol("dartx.overflowX"), + $overflowY: dartx.overflowY = Symbol("dartx.overflowY"), + $paddingAfter: dartx.paddingAfter = Symbol("dartx.paddingAfter"), + $paddingBefore: dartx.paddingBefore = Symbol("dartx.paddingBefore"), + $paddingEnd: dartx.paddingEnd = Symbol("dartx.paddingEnd"), + $paddingStart: dartx.paddingStart = Symbol("dartx.paddingStart"), + $page: dartx.page = Symbol("dartx.page"), + $perspective: dartx.perspective = Symbol("dartx.perspective"), + $perspectiveOrigin: dartx.perspectiveOrigin = Symbol("dartx.perspectiveOrigin"), + $perspectiveOriginX: dartx.perspectiveOriginX = Symbol("dartx.perspectiveOriginX"), + $perspectiveOriginY: dartx.perspectiveOriginY = Symbol("dartx.perspectiveOriginY"), + $pointerEvents: dartx.pointerEvents = Symbol("dartx.pointerEvents"), + $printColorAdjust: dartx.printColorAdjust = Symbol("dartx.printColorAdjust"), + $resize: dartx.resize = Symbol("dartx.resize"), + $rtlOrdering: dartx.rtlOrdering = Symbol("dartx.rtlOrdering"), + $rubyPosition: dartx.rubyPosition = Symbol("dartx.rubyPosition"), + $scrollBehavior: dartx.scrollBehavior = Symbol("dartx.scrollBehavior"), + $shapeImageThreshold: dartx.shapeImageThreshold = Symbol("dartx.shapeImageThreshold"), + $shapeMargin: dartx.shapeMargin = Symbol("dartx.shapeMargin"), + $shapeOutside: dartx.shapeOutside = Symbol("dartx.shapeOutside"), + $speak: dartx.speak = Symbol("dartx.speak"), + $tabSize: dartx.tabSize = Symbol("dartx.tabSize"), + $tapHighlightColor: dartx.tapHighlightColor = Symbol("dartx.tapHighlightColor"), + $textAlignLast: dartx.textAlignLast = Symbol("dartx.textAlignLast"), + $textCombine: dartx.textCombine = Symbol("dartx.textCombine"), + $textDecorationColor: dartx.textDecorationColor = Symbol("dartx.textDecorationColor"), + $textDecorationLine: dartx.textDecorationLine = Symbol("dartx.textDecorationLine"), + $textDecorationStyle: dartx.textDecorationStyle = Symbol("dartx.textDecorationStyle"), + $textDecorationsInEffect: dartx.textDecorationsInEffect = Symbol("dartx.textDecorationsInEffect"), + $textEmphasis: dartx.textEmphasis = Symbol("dartx.textEmphasis"), + $textEmphasisColor: dartx.textEmphasisColor = Symbol("dartx.textEmphasisColor"), + $textEmphasisPosition: dartx.textEmphasisPosition = Symbol("dartx.textEmphasisPosition"), + $textEmphasisStyle: dartx.textEmphasisStyle = Symbol("dartx.textEmphasisStyle"), + $textFillColor: dartx.textFillColor = Symbol("dartx.textFillColor"), + $textJustify: dartx.textJustify = Symbol("dartx.textJustify"), + $textLineThroughColor: dartx.textLineThroughColor = Symbol("dartx.textLineThroughColor"), + $textLineThroughMode: dartx.textLineThroughMode = Symbol("dartx.textLineThroughMode"), + $textLineThroughStyle: dartx.textLineThroughStyle = Symbol("dartx.textLineThroughStyle"), + $textLineThroughWidth: dartx.textLineThroughWidth = Symbol("dartx.textLineThroughWidth"), + $textOrientation: dartx.textOrientation = Symbol("dartx.textOrientation"), + $textOverflow: dartx.textOverflow = Symbol("dartx.textOverflow"), + $textOverlineColor: dartx.textOverlineColor = Symbol("dartx.textOverlineColor"), + $textOverlineMode: dartx.textOverlineMode = Symbol("dartx.textOverlineMode"), + $textOverlineStyle: dartx.textOverlineStyle = Symbol("dartx.textOverlineStyle"), + $textOverlineWidth: dartx.textOverlineWidth = Symbol("dartx.textOverlineWidth"), + $textRendering: dartx.textRendering = Symbol("dartx.textRendering"), + $textSecurity: dartx.textSecurity = Symbol("dartx.textSecurity"), + $textShadow: dartx.textShadow = Symbol("dartx.textShadow"), + $textStroke: dartx.textStroke = Symbol("dartx.textStroke"), + $textStrokeColor: dartx.textStrokeColor = Symbol("dartx.textStrokeColor"), + $textStrokeWidth: dartx.textStrokeWidth = Symbol("dartx.textStrokeWidth"), + $textUnderlineColor: dartx.textUnderlineColor = Symbol("dartx.textUnderlineColor"), + $textUnderlineMode: dartx.textUnderlineMode = Symbol("dartx.textUnderlineMode"), + $textUnderlinePosition: dartx.textUnderlinePosition = Symbol("dartx.textUnderlinePosition"), + $textUnderlineStyle: dartx.textUnderlineStyle = Symbol("dartx.textUnderlineStyle"), + $textUnderlineWidth: dartx.textUnderlineWidth = Symbol("dartx.textUnderlineWidth"), + $touchAction: dartx.touchAction = Symbol("dartx.touchAction"), + $touchActionDelay: dartx.touchActionDelay = Symbol("dartx.touchActionDelay"), + $transformOrigin: dartx.transformOrigin = Symbol("dartx.transformOrigin"), + $transformOriginX: dartx.transformOriginX = Symbol("dartx.transformOriginX"), + $transformOriginY: dartx.transformOriginY = Symbol("dartx.transformOriginY"), + $transformOriginZ: dartx.transformOriginZ = Symbol("dartx.transformOriginZ"), + $transformStyle: dartx.transformStyle = Symbol("dartx.transformStyle"), + $transition: dartx.transition = Symbol("dartx.transition"), + $transitionDelay: dartx.transitionDelay = Symbol("dartx.transitionDelay"), + $transitionDuration: dartx.transitionDuration = Symbol("dartx.transitionDuration"), + $transitionProperty: dartx.transitionProperty = Symbol("dartx.transitionProperty"), + $transitionTimingFunction: dartx.transitionTimingFunction = Symbol("dartx.transitionTimingFunction"), + $unicodeRange: dartx.unicodeRange = Symbol("dartx.unicodeRange"), + $userDrag: dartx.userDrag = Symbol("dartx.userDrag"), + $userModify: dartx.userModify = Symbol("dartx.userModify"), + $userSelect: dartx.userSelect = Symbol("dartx.userSelect"), + $userZoom: dartx.userZoom = Symbol("dartx.userZoom"), + $widows: dartx.widows = Symbol("dartx.widows"), + $willChange: dartx.willChange = Symbol("dartx.willChange"), + $wordBreak: dartx.wordBreak = Symbol("dartx.wordBreak"), + $wordWrap: dartx.wordWrap = Symbol("dartx.wordWrap"), + $wrapFlow: dartx.wrapFlow = Symbol("dartx.wrapFlow"), + $wrapThrough: dartx.wrapThrough = Symbol("dartx.wrapThrough"), + $writingMode: dartx.writingMode = Symbol("dartx.writingMode"), + $zoom: dartx.zoom = Symbol("dartx.zoom"), + _elementCssStyleDeclarationSetIterable: dart.privateName(html$, "_elementCssStyleDeclarationSetIterable"), + _elementIterable: dart.privateName(html$, "_elementIterable"), + _setAll: dart.privateName(html$, "_setAll"), + $ownerRule: dartx.ownerRule = Symbol("dartx.ownerRule"), + $rules: dartx.rules = Symbol("dartx.rules"), + $addRule: dartx.addRule = Symbol("dartx.addRule"), + $removeRule: dartx.removeRule = Symbol("dartx.removeRule"), + $ownerNode: dartx.ownerNode = Symbol("dartx.ownerNode"), + $componentAtIndex: dartx.componentAtIndex = Symbol("dartx.componentAtIndex"), + $toMatrix: dartx.toMatrix = Symbol("dartx.toMatrix"), + $unit: dartx.unit = Symbol("dartx.unit"), + $fragmentAtIndex: dartx.fragmentAtIndex = Symbol("dartx.fragmentAtIndex"), + $fallback: dartx.fallback = Symbol("dartx.fallback"), + $variable: dartx.variable = Symbol("dartx.variable"), + _define_1: dart.privateName(html$, "_define_1"), + _define_2: dart.privateName(html$, "_define_2"), + $define: dartx.define = Symbol("dartx.define"), + $whenDefined: dartx.whenDefined = Symbol("dartx.whenDefined"), + _dartDetail: dart.privateName(html$, "_dartDetail"), + _initCustomEvent: dart.privateName(html$, "_initCustomEvent"), + _detail: dart.privateName(html$, "_detail"), + _get__detail: dart.privateName(html$, "_get__detail"), + $options: dartx.options = Symbol("dartx.options"), + $dropEffect: dartx.dropEffect = Symbol("dartx.dropEffect"), + $effectAllowed: dartx.effectAllowed = Symbol("dartx.effectAllowed"), + $files: dartx.files = Symbol("dartx.files"), + $items: dartx.items = Symbol("dartx.items"), + $types: dartx.types = Symbol("dartx.types"), + $clearData: dartx.clearData = Symbol("dartx.clearData"), + $getData: dartx.getData = Symbol("dartx.getData"), + $setData: dartx.setData = Symbol("dartx.setData"), + $setDragImage: dartx.setDragImage = Symbol("dartx.setDragImage"), + _webkitGetAsEntry: dart.privateName(html$, "_webkitGetAsEntry"), + $getAsEntry: dartx.getAsEntry = Symbol("dartx.getAsEntry"), + $getAsFile: dartx.getAsFile = Symbol("dartx.getAsFile"), + $addData: dartx.addData = Symbol("dartx.addData"), + $addFile: dartx.addFile = Symbol("dartx.addFile"), + _postMessage_1: dart.privateName(html$, "_postMessage_1"), + _postMessage_2: dart.privateName(html$, "_postMessage_2"), + _webkitRequestFileSystem: dart.privateName(html$, "_webkitRequestFileSystem"), + $requestFileSystemSync: dartx.requestFileSystemSync = Symbol("dartx.requestFileSystemSync"), + $resolveLocalFileSystemSyncUrl: dartx.resolveLocalFileSystemSyncUrl = Symbol("dartx.resolveLocalFileSystemSyncUrl"), + _webkitResolveLocalFileSystemUrl: dart.privateName(html$, "_webkitResolveLocalFileSystemUrl"), + $addressSpace: dartx.addressSpace = Symbol("dartx.addressSpace"), + $caches: dartx.caches = Symbol("dartx.caches"), + $crypto: dartx.crypto = Symbol("dartx.crypto"), + $indexedDB: dartx.indexedDB = Symbol("dartx.indexedDB"), + $isSecureContext: dartx.isSecureContext = Symbol("dartx.isSecureContext"), + $location: dartx.location = Symbol("dartx.location"), + $navigator: dartx.navigator = Symbol("dartx.navigator"), + $performance: dartx.performance = Symbol("dartx.performance"), + $self: dartx.self = Symbol("dartx.self"), + $importScripts: dartx.importScripts = Symbol("dartx.importScripts"), + $atob: dartx.atob = Symbol("dartx.atob"), + $btoa: dartx.btoa = Symbol("dartx.btoa"), + _setInterval_String: dart.privateName(html$, "_setInterval_String"), + _setTimeout_String: dart.privateName(html$, "_setTimeout_String"), + _clearInterval: dart.privateName(html$, "_clearInterval"), + _clearTimeout: dart.privateName(html$, "_clearTimeout"), + _setInterval: dart.privateName(html$, "_setInterval"), + _setTimeout: dart.privateName(html$, "_setTimeout"), + $queryUsageAndQuota: dartx.queryUsageAndQuota = Symbol("dartx.queryUsageAndQuota"), + $requestQuota: dartx.requestQuota = Symbol("dartx.requestQuota"), + $lineNumber: dartx.lineNumber = Symbol("dartx.lineNumber"), + $sourceFile: dartx.sourceFile = Symbol("dartx.sourceFile"), + $cornerPoints: dartx.cornerPoints = Symbol("dartx.cornerPoints"), + $rawValue: dartx.rawValue = Symbol("dartx.rawValue"), + $landmarks: dartx.landmarks = Symbol("dartx.landmarks"), + $acceleration: dartx.acceleration = Symbol("dartx.acceleration"), + $accelerationIncludingGravity: dartx.accelerationIncludingGravity = Symbol("dartx.accelerationIncludingGravity"), + $interval: dartx.interval = Symbol("dartx.interval"), + $rotationRate: dartx.rotationRate = Symbol("dartx.rotationRate"), + $absolute: dartx.absolute = Symbol("dartx.absolute"), + $alpha: dartx.alpha = Symbol("dartx.alpha"), + $beta: dartx.beta = Symbol("dartx.beta"), + $gamma: dartx.gamma = Symbol("dartx.gamma"), + $show: dartx.show = Symbol("dartx.show"), + $showModal: dartx.showModal = Symbol("dartx.showModal"), + _getDirectory: dart.privateName(html$, "_getDirectory"), + $createDirectory: dartx.createDirectory = Symbol("dartx.createDirectory"), + _createReader: dart.privateName(html$, "_createReader"), + $createReader: dartx.createReader = Symbol("dartx.createReader"), + $getDirectory: dartx.getDirectory = Symbol("dartx.getDirectory"), + _getFile: dart.privateName(html$, "_getFile"), + $createFile: dartx.createFile = Symbol("dartx.createFile"), + $getFile: dartx.getFile = Symbol("dartx.getFile"), + __getDirectory_1: dart.privateName(html$, "__getDirectory_1"), + __getDirectory_2: dart.privateName(html$, "__getDirectory_2"), + __getDirectory_3: dart.privateName(html$, "__getDirectory_3"), + __getDirectory_4: dart.privateName(html$, "__getDirectory_4"), + __getDirectory: dart.privateName(html$, "__getDirectory"), + __getFile_1: dart.privateName(html$, "__getFile_1"), + __getFile_2: dart.privateName(html$, "__getFile_2"), + __getFile_3: dart.privateName(html$, "__getFile_3"), + __getFile_4: dart.privateName(html$, "__getFile_4"), + __getFile: dart.privateName(html$, "__getFile"), + _removeRecursively: dart.privateName(html$, "_removeRecursively"), + $removeRecursively: dartx.removeRecursively = Symbol("dartx.removeRecursively"), + $filesystem: dartx.filesystem = Symbol("dartx.filesystem"), + $fullPath: dartx.fullPath = Symbol("dartx.fullPath"), + $isDirectory: dartx.isDirectory = Symbol("dartx.isDirectory"), + $isFile: dartx.isFile = Symbol("dartx.isFile"), + _copyTo: dart.privateName(html$, "_copyTo"), + $copyTo: dartx.copyTo = Symbol("dartx.copyTo"), + _getMetadata: dart.privateName(html$, "_getMetadata"), + $getMetadata: dartx.getMetadata = Symbol("dartx.getMetadata"), + _getParent: dart.privateName(html$, "_getParent"), + $getParent: dartx.getParent = Symbol("dartx.getParent"), + _moveTo: dart.privateName(html$, "_moveTo"), + _remove$1: dart.privateName(html$, "_remove"), + $toUrl: dartx.toUrl = Symbol("dartx.toUrl"), + _readEntries: dart.privateName(html$, "_readEntries"), + $readEntries: dartx.readEntries = Symbol("dartx.readEntries"), + _body: dart.privateName(html$, "_body"), + $contentType: dartx.contentType = Symbol("dartx.contentType"), + $cookie: dartx.cookie = Symbol("dartx.cookie"), + $currentScript: dartx.currentScript = Symbol("dartx.currentScript"), + _get_window: dart.privateName(html$, "_get_window"), + $window: dartx.window = Symbol("dartx.window"), + $documentElement: dartx.documentElement = Symbol("dartx.documentElement"), + $domain: dartx.domain = Symbol("dartx.domain"), + $fullscreenEnabled: dartx.fullscreenEnabled = Symbol("dartx.fullscreenEnabled"), + _head$1: dart.privateName(html$, "_head"), + $implementation: dartx.implementation = Symbol("dartx.implementation"), + _lastModified: dart.privateName(html$, "_lastModified"), + _preferredStylesheetSet: dart.privateName(html$, "_preferredStylesheetSet") + }; + var S$1 = { + _referrer: dart.privateName(html$, "_referrer"), + $rootElement: dartx.rootElement = Symbol("dartx.rootElement"), + $rootScroller: dartx.rootScroller = Symbol("dartx.rootScroller"), + $scrollingElement: dartx.scrollingElement = Symbol("dartx.scrollingElement"), + _selectedStylesheetSet: dart.privateName(html$, "_selectedStylesheetSet"), + $suborigin: dartx.suborigin = Symbol("dartx.suborigin"), + _title: dart.privateName(html$, "_title"), + _visibilityState: dart.privateName(html$, "_visibilityState"), + _webkitFullscreenElement: dart.privateName(html$, "_webkitFullscreenElement"), + _webkitFullscreenEnabled: dart.privateName(html$, "_webkitFullscreenEnabled"), + _webkitHidden: dart.privateName(html$, "_webkitHidden"), + _webkitVisibilityState: dart.privateName(html$, "_webkitVisibilityState"), + $adoptNode: dartx.adoptNode = Symbol("dartx.adoptNode"), + _caretRangeFromPoint: dart.privateName(html$, "_caretRangeFromPoint"), + $createDocumentFragment: dartx.createDocumentFragment = Symbol("dartx.createDocumentFragment"), + _createElement: dart.privateName(html$, "_createElement"), + _createElementNS: dart.privateName(html$, "_createElementNS"), + $createRange: dartx.createRange = Symbol("dartx.createRange"), + _createTextNode: dart.privateName(html$, "_createTextNode"), + _createTouch_1: dart.privateName(html$, "_createTouch_1"), + _createTouch_2: dart.privateName(html$, "_createTouch_2"), + _createTouch_3: dart.privateName(html$, "_createTouch_3"), + _createTouch_4: dart.privateName(html$, "_createTouch_4"), + _createTouch_5: dart.privateName(html$, "_createTouch_5"), + _createTouch: dart.privateName(html$, "_createTouch"), + _createTouchList: dart.privateName(html$, "_createTouchList"), + $execCommand: dartx.execCommand = Symbol("dartx.execCommand"), + $exitFullscreen: dartx.exitFullscreen = Symbol("dartx.exitFullscreen"), + $exitPointerLock: dartx.exitPointerLock = Symbol("dartx.exitPointerLock"), + $getElementsByName: dartx.getElementsByName = Symbol("dartx.getElementsByName"), + $getElementsByTagName: dartx.getElementsByTagName = Symbol("dartx.getElementsByTagName"), + $importNode: dartx.importNode = Symbol("dartx.importNode"), + $queryCommandEnabled: dartx.queryCommandEnabled = Symbol("dartx.queryCommandEnabled"), + $queryCommandIndeterm: dartx.queryCommandIndeterm = Symbol("dartx.queryCommandIndeterm"), + $queryCommandState: dartx.queryCommandState = Symbol("dartx.queryCommandState"), + $queryCommandSupported: dartx.queryCommandSupported = Symbol("dartx.queryCommandSupported"), + $queryCommandValue: dartx.queryCommandValue = Symbol("dartx.queryCommandValue"), + _registerElement2_1: dart.privateName(html$, "_registerElement2_1"), + _registerElement2_2: dart.privateName(html$, "_registerElement2_2"), + $registerElement2: dartx.registerElement2 = Symbol("dartx.registerElement2"), + _webkitExitFullscreen: dart.privateName(html$, "_webkitExitFullscreen"), + $getElementById: dartx.getElementById = Symbol("dartx.getElementById"), + $activeElement: dartx.activeElement = Symbol("dartx.activeElement"), + $fullscreenElement: dartx.fullscreenElement = Symbol("dartx.fullscreenElement"), + $pointerLockElement: dartx.pointerLockElement = Symbol("dartx.pointerLockElement"), + _styleSheets: dart.privateName(html$, "_styleSheets"), + _elementFromPoint: dart.privateName(html$, "_elementFromPoint"), + $elementsFromPoint: dartx.elementsFromPoint = Symbol("dartx.elementsFromPoint"), + $fonts: dartx.fonts = Symbol("dartx.fonts"), + $onPointerLockChange: dartx.onPointerLockChange = Symbol("dartx.onPointerLockChange"), + $onPointerLockError: dartx.onPointerLockError = Symbol("dartx.onPointerLockError"), + $onReadyStateChange: dartx.onReadyStateChange = Symbol("dartx.onReadyStateChange"), + $onSecurityPolicyViolation: dartx.onSecurityPolicyViolation = Symbol("dartx.onSecurityPolicyViolation"), + $onSelectionChange: dartx.onSelectionChange = Symbol("dartx.onSelectionChange"), + $supportsRegisterElement: dartx.supportsRegisterElement = Symbol("dartx.supportsRegisterElement"), + $supportsRegister: dartx.supportsRegister = Symbol("dartx.supportsRegister"), + $registerElement: dartx.registerElement = Symbol("dartx.registerElement"), + _createElement_2: dart.privateName(html$, "_createElement_2"), + _createElementNS_2: dart.privateName(html$, "_createElementNS_2"), + $createElementNS: dartx.createElementNS = Symbol("dartx.createElementNS"), + _createNodeIterator: dart.privateName(html$, "_createNodeIterator"), + _createTreeWalker: dart.privateName(html$, "_createTreeWalker"), + $visibilityState: dartx.visibilityState = Symbol("dartx.visibilityState"), + _docChildren: dart.privateName(html$, "_docChildren"), + $styleSheets: dartx.styleSheets = Symbol("dartx.styleSheets"), + $elementFromPoint: dartx.elementFromPoint = Symbol("dartx.elementFromPoint"), + $getSelection: dartx.getSelection = Symbol("dartx.getSelection"), + $createDocument: dartx.createDocument = Symbol("dartx.createDocument"), + $createDocumentType: dartx.createDocumentType = Symbol("dartx.createDocumentType"), + $hasFeature: dartx.hasFeature = Symbol("dartx.hasFeature"), + $a: dartx.a = Symbol("dartx.a"), + $b: dartx.b = Symbol("dartx.b"), + $c: dartx.c = Symbol("dartx.c"), + $d: dartx.d = Symbol("dartx.d"), + $e: dartx.e = Symbol("dartx.e"), + $f: dartx.f = Symbol("dartx.f"), + $m11: dartx.m11 = Symbol("dartx.m11"), + $m12: dartx.m12 = Symbol("dartx.m12"), + $m13: dartx.m13 = Symbol("dartx.m13"), + $m14: dartx.m14 = Symbol("dartx.m14"), + $m21: dartx.m21 = Symbol("dartx.m21"), + $m22: dartx.m22 = Symbol("dartx.m22"), + $m23: dartx.m23 = Symbol("dartx.m23"), + $m24: dartx.m24 = Symbol("dartx.m24"), + $m31: dartx.m31 = Symbol("dartx.m31"), + $m32: dartx.m32 = Symbol("dartx.m32"), + $m33: dartx.m33 = Symbol("dartx.m33"), + $m34: dartx.m34 = Symbol("dartx.m34"), + $m41: dartx.m41 = Symbol("dartx.m41"), + $m42: dartx.m42 = Symbol("dartx.m42"), + $m43: dartx.m43 = Symbol("dartx.m43"), + $m44: dartx.m44 = Symbol("dartx.m44"), + $invertSelf: dartx.invertSelf = Symbol("dartx.invertSelf"), + _multiplySelf_1: dart.privateName(html$, "_multiplySelf_1"), + _multiplySelf_2: dart.privateName(html$, "_multiplySelf_2"), + $multiplySelf: dartx.multiplySelf = Symbol("dartx.multiplySelf"), + _preMultiplySelf_1: dart.privateName(html$, "_preMultiplySelf_1"), + _preMultiplySelf_2: dart.privateName(html$, "_preMultiplySelf_2"), + $preMultiplySelf: dartx.preMultiplySelf = Symbol("dartx.preMultiplySelf"), + $rotateAxisAngleSelf: dartx.rotateAxisAngleSelf = Symbol("dartx.rotateAxisAngleSelf"), + $rotateFromVectorSelf: dartx.rotateFromVectorSelf = Symbol("dartx.rotateFromVectorSelf"), + $rotateSelf: dartx.rotateSelf = Symbol("dartx.rotateSelf"), + $scale3dSelf: dartx.scale3dSelf = Symbol("dartx.scale3dSelf"), + $scaleSelf: dartx.scaleSelf = Symbol("dartx.scaleSelf"), + $setMatrixValue: dartx.setMatrixValue = Symbol("dartx.setMatrixValue"), + $skewXSelf: dartx.skewXSelf = Symbol("dartx.skewXSelf"), + $skewYSelf: dartx.skewYSelf = Symbol("dartx.skewYSelf"), + $translateSelf: dartx.translateSelf = Symbol("dartx.translateSelf"), + $isIdentity: dartx.isIdentity = Symbol("dartx.isIdentity"), + $flipX: dartx.flipX = Symbol("dartx.flipX"), + $flipY: dartx.flipY = Symbol("dartx.flipY"), + $inverse: dartx.inverse = Symbol("dartx.inverse"), + _multiply_1: dart.privateName(html$, "_multiply_1"), + _multiply_2: dart.privateName(html$, "_multiply_2"), + $multiply: dartx.multiply = Symbol("dartx.multiply"), + $rotateAxisAngle: dartx.rotateAxisAngle = Symbol("dartx.rotateAxisAngle"), + $rotateFromVector: dartx.rotateFromVector = Symbol("dartx.rotateFromVector"), + $scale3d: dartx.scale3d = Symbol("dartx.scale3d"), + $skewX: dartx.skewX = Symbol("dartx.skewX"), + $skewY: dartx.skewY = Symbol("dartx.skewY"), + $toFloat32Array: dartx.toFloat32Array = Symbol("dartx.toFloat32Array"), + $toFloat64Array: dartx.toFloat64Array = Symbol("dartx.toFloat64Array"), + _transformPoint_1: dart.privateName(html$, "_transformPoint_1"), + _transformPoint_2: dart.privateName(html$, "_transformPoint_2"), + $transformPoint: dartx.transformPoint = Symbol("dartx.transformPoint"), + $parseFromString: dartx.parseFromString = Symbol("dartx.parseFromString"), + $w: dartx.w = Symbol("dartx.w"), + _matrixTransform_1: dart.privateName(html$, "_matrixTransform_1"), + _matrixTransform_2: dart.privateName(html$, "_matrixTransform_2"), + $matrixTransform: dartx.matrixTransform = Symbol("dartx.matrixTransform"), + $p1: dartx.p1 = Symbol("dartx.p1"), + $p2: dartx.p2 = Symbol("dartx.p2"), + $p3: dartx.p3 = Symbol("dartx.p3"), + $p4: dartx.p4 = Symbol("dartx.p4"), + $getBounds: dartx.getBounds = Symbol("dartx.getBounds"), + __delete__: dart.privateName(html$, "__delete__"), + $replace: dartx.replace = Symbol("dartx.replace"), + $supports: dartx.supports = Symbol("dartx.supports"), + $toggle: dartx.toggle = Symbol("dartx.toggle"), + _childElements: dart.privateName(html$, "_childElements"), + _element$2: dart.privateName(html$, "_element"), + _filter$2: dart.privateName(html$, "_filter"), + _nodeList: dart.privateName(html$, "_nodeList"), + _forElementList: dart.privateName(html$, "_forElementList"), + _value$6: dart.privateName(html$, "ScrollAlignment._value"), + _value$7: dart.privateName(html$, "_value"), + $colno: dartx.colno = Symbol("dartx.colno"), + $filename: dartx.filename = Symbol("dartx.filename"), + $lineno: dartx.lineno = Symbol("dartx.lineno"), + $withCredentials: dartx.withCredentials = Symbol("dartx.withCredentials"), + $onOpen: dartx.onOpen = Symbol("dartx.onOpen"), + _ptr: dart.privateName(html$, "_ptr"), + $lastEventId: dartx.lastEventId = Symbol("dartx.lastEventId"), + $ports: dartx.ports = Symbol("dartx.ports"), + $AddSearchProvider: dartx.AddSearchProvider = Symbol("dartx.AddSearchProvider"), + $IsSearchProviderInstalled: dartx.IsSearchProviderInstalled = Symbol("dartx.IsSearchProviderInstalled"), + $provider: dartx.provider = Symbol("dartx.provider"), + $clientId: dartx.clientId = Symbol("dartx.clientId"), + $isReload: dartx.isReload = Symbol("dartx.isReload"), + $preloadResponse: dartx.preloadResponse = Symbol("dartx.preloadResponse"), + $elements: dartx.elements = Symbol("dartx.elements"), + $lastModified: dartx.lastModified = Symbol("dartx.lastModified"), + _get_lastModifiedDate: dart.privateName(html$, "_get_lastModifiedDate"), + $lastModifiedDate: dartx.lastModifiedDate = Symbol("dartx.lastModifiedDate"), + $relativePath: dartx.relativePath = Symbol("dartx.relativePath"), + _createWriter: dart.privateName(html$, "_createWriter"), + $createWriter: dartx.createWriter = Symbol("dartx.createWriter"), + _file$1: dart.privateName(html$, "_file"), + $file: dartx.file = Symbol("dartx.file"), + $readAsArrayBuffer: dartx.readAsArrayBuffer = Symbol("dartx.readAsArrayBuffer"), + $readAsDataUrl: dartx.readAsDataUrl = Symbol("dartx.readAsDataUrl"), + $readAsText: dartx.readAsText = Symbol("dartx.readAsText"), + $onLoadEnd: dartx.onLoadEnd = Symbol("dartx.onLoadEnd"), + $onLoadStart: dartx.onLoadStart = Symbol("dartx.onLoadStart"), + $root: dartx.root = Symbol("dartx.root"), + $seek: dartx.seek = Symbol("dartx.seek"), + $write: dartx.write = Symbol("dartx.write"), + $onWrite: dartx.onWrite = Symbol("dartx.onWrite"), + $onWriteEnd: dartx.onWriteEnd = Symbol("dartx.onWriteEnd"), + $onWriteStart: dartx.onWriteStart = Symbol("dartx.onWriteStart"), + _get_relatedTarget: dart.privateName(html$, "_get_relatedTarget"), + $relatedTarget: dartx.relatedTarget = Symbol("dartx.relatedTarget"), + $family: dartx.family = Symbol("dartx.family"), + $featureSettings: dartx.featureSettings = Symbol("dartx.featureSettings"), + $loaded: dartx.loaded = Symbol("dartx.loaded"), + $stretch: dartx.stretch = Symbol("dartx.stretch"), + $variant: dartx.variant = Symbol("dartx.variant"), + $weight: dartx.weight = Symbol("dartx.weight"), + $check: dartx.check = Symbol("dartx.check"), + $onLoading: dartx.onLoading = Symbol("dartx.onLoading"), + $onLoadingDone: dartx.onLoadingDone = Symbol("dartx.onLoadingDone"), + $onLoadingError: dartx.onLoadingError = Symbol("dartx.onLoadingError"), + $fontfaces: dartx.fontfaces = Symbol("dartx.fontfaces"), + $appendBlob: dartx.appendBlob = Symbol("dartx.appendBlob"), + $acceptCharset: dartx.acceptCharset = Symbol("dartx.acceptCharset"), + $action: dartx.action = Symbol("dartx.action"), + $enctype: dartx.enctype = Symbol("dartx.enctype"), + $method: dartx.method = Symbol("dartx.method"), + $noValidate: dartx.noValidate = Symbol("dartx.noValidate"), + _requestAutocomplete_1: dart.privateName(html$, "_requestAutocomplete_1"), + $requestAutocomplete: dartx.requestAutocomplete = Symbol("dartx.requestAutocomplete"), + $reset: dartx.reset = Symbol("dartx.reset"), + $submit: dartx.submit = Symbol("dartx.submit"), + $axes: dartx.axes = Symbol("dartx.axes"), + $buttons: dartx.buttons = Symbol("dartx.buttons"), + $connected: dartx.connected = Symbol("dartx.connected"), + $displayId: dartx.displayId = Symbol("dartx.displayId"), + $hand: dartx.hand = Symbol("dartx.hand"), + $mapping: dartx.mapping = Symbol("dartx.mapping"), + $pose: dartx.pose = Symbol("dartx.pose"), + $touched: dartx.touched = Symbol("dartx.touched"), + $gamepad: dartx.gamepad = Symbol("dartx.gamepad"), + $angularAcceleration: dartx.angularAcceleration = Symbol("dartx.angularAcceleration"), + $angularVelocity: dartx.angularVelocity = Symbol("dartx.angularVelocity"), + $hasOrientation: dartx.hasOrientation = Symbol("dartx.hasOrientation"), + $hasPosition: dartx.hasPosition = Symbol("dartx.hasPosition"), + $linearAcceleration: dartx.linearAcceleration = Symbol("dartx.linearAcceleration"), + $linearVelocity: dartx.linearVelocity = Symbol("dartx.linearVelocity"), + _ensurePosition: dart.privateName(html$, "_ensurePosition"), + _getCurrentPosition: dart.privateName(html$, "_getCurrentPosition"), + $getCurrentPosition: dartx.getCurrentPosition = Symbol("dartx.getCurrentPosition"), + _clearWatch: dart.privateName(html$, "_clearWatch"), + _watchPosition: dart.privateName(html$, "_watchPosition"), + $watchPosition: dartx.watchPosition = Symbol("dartx.watchPosition"), + _getCurrentPosition_1: dart.privateName(html$, "_getCurrentPosition_1"), + _getCurrentPosition_2: dart.privateName(html$, "_getCurrentPosition_2"), + _getCurrentPosition_3: dart.privateName(html$, "_getCurrentPosition_3"), + _watchPosition_1: dart.privateName(html$, "_watchPosition_1"), + _watchPosition_2: dart.privateName(html$, "_watchPosition_2"), + _watchPosition_3: dart.privateName(html$, "_watchPosition_3"), + $newUrl: dartx.newUrl = Symbol("dartx.newUrl"), + $oldUrl: dartx.oldUrl = Symbol("dartx.oldUrl"), + $scrollRestoration: dartx.scrollRestoration = Symbol("dartx.scrollRestoration"), + _get_state: dart.privateName(html$, "_get_state"), + $back: dartx.back = Symbol("dartx.back"), + $forward: dartx.forward = Symbol("dartx.forward"), + $go: dartx.go = Symbol("dartx.go"), + _pushState_1: dart.privateName(html$, "_pushState_1"), + $pushState: dartx.pushState = Symbol("dartx.pushState"), + _replaceState_1: dart.privateName(html$, "_replaceState_1"), + $replaceState: dartx.replaceState = Symbol("dartx.replaceState"), + $namedItem: dartx.namedItem = Symbol("dartx.namedItem"), + $body: dartx.body = Symbol("dartx.body"), + $caretRangeFromPoint: dartx.caretRangeFromPoint = Symbol("dartx.caretRangeFromPoint"), + $preferredStylesheetSet: dartx.preferredStylesheetSet = Symbol("dartx.preferredStylesheetSet"), + $referrer: dartx.referrer = Symbol("dartx.referrer"), + $selectedStylesheetSet: dartx.selectedStylesheetSet = Symbol("dartx.selectedStylesheetSet"), + $register: dartx.register = Symbol("dartx.register"), + $onVisibilityChange: dartx.onVisibilityChange = Symbol("dartx.onVisibilityChange"), + $createElementUpgrader: dartx.createElementUpgrader = Symbol("dartx.createElementUpgrader"), + _item: dart.privateName(html$, "_item"), + $responseHeaders: dartx.responseHeaders = Symbol("dartx.responseHeaders"), + _get_response: dart.privateName(html$, "_get_response"), + $responseText: dartx.responseText = Symbol("dartx.responseText"), + $responseType: dartx.responseType = Symbol("dartx.responseType"), + $responseUrl: dartx.responseUrl = Symbol("dartx.responseUrl"), + $responseXml: dartx.responseXml = Symbol("dartx.responseXml"), + $statusText: dartx.statusText = Symbol("dartx.statusText"), + $timeout: dartx.timeout = Symbol("dartx.timeout"), + $upload: dartx.upload = Symbol("dartx.upload"), + $getAllResponseHeaders: dartx.getAllResponseHeaders = Symbol("dartx.getAllResponseHeaders"), + $getResponseHeader: dartx.getResponseHeader = Symbol("dartx.getResponseHeader"), + $overrideMimeType: dartx.overrideMimeType = Symbol("dartx.overrideMimeType"), + $send: dartx.send = Symbol("dartx.send"), + $setRequestHeader: dartx.setRequestHeader = Symbol("dartx.setRequestHeader"), + $onTimeout: dartx.onTimeout = Symbol("dartx.onTimeout"), + $allow: dartx.allow = Symbol("dartx.allow"), + $allowFullscreen: dartx.allowFullscreen = Symbol("dartx.allowFullscreen"), + $allowPaymentRequest: dartx.allowPaymentRequest = Symbol("dartx.allowPaymentRequest"), + _get_contentWindow: dart.privateName(html$, "_get_contentWindow"), + $contentWindow: dartx.contentWindow = Symbol("dartx.contentWindow"), + $csp: dartx.csp = Symbol("dartx.csp"), + $sandbox: dartx.sandbox = Symbol("dartx.sandbox"), + $srcdoc: dartx.srcdoc = Symbol("dartx.srcdoc"), + $didTimeout: dartx.didTimeout = Symbol("dartx.didTimeout"), + $timeRemaining: dartx.timeRemaining = Symbol("dartx.timeRemaining"), + $transferFromImageBitmap: dartx.transferFromImageBitmap = Symbol("dartx.transferFromImageBitmap"), + $track: dartx.track = Symbol("dartx.track"), + $getPhotoCapabilities: dartx.getPhotoCapabilities = Symbol("dartx.getPhotoCapabilities"), + $getPhotoSettings: dartx.getPhotoSettings = Symbol("dartx.getPhotoSettings"), + $grabFrame: dartx.grabFrame = Symbol("dartx.grabFrame"), + $setOptions: dartx.setOptions = Symbol("dartx.setOptions"), + $takePhoto: dartx.takePhoto = Symbol("dartx.takePhoto"), + $async: dartx.async = Symbol("dartx.async"), + $complete: dartx.complete = Symbol("dartx.complete"), + $isMap: dartx.isMap = Symbol("dartx.isMap"), + $naturalHeight: dartx.naturalHeight = Symbol("dartx.naturalHeight"), + $naturalWidth: dartx.naturalWidth = Symbol("dartx.naturalWidth"), + $sizes: dartx.sizes = Symbol("dartx.sizes"), + $srcset: dartx.srcset = Symbol("dartx.srcset"), + $useMap: dartx.useMap = Symbol("dartx.useMap"), + $decode: dartx.decode = Symbol("dartx.decode"), + $firesTouchEvents: dartx.firesTouchEvents = Symbol("dartx.firesTouchEvents"), + $accept: dartx.accept = Symbol("dartx.accept"), + $autocapitalize: dartx.autocapitalize = Symbol("dartx.autocapitalize"), + $capture: dartx.capture = Symbol("dartx.capture"), + $defaultChecked: dartx.defaultChecked = Symbol("dartx.defaultChecked"), + $defaultValue: dartx.defaultValue = Symbol("dartx.defaultValue"), + $dirName: dartx.dirName = Symbol("dartx.dirName"), + $incremental: dartx.incremental = Symbol("dartx.incremental"), + $indeterminate: dartx.indeterminate = Symbol("dartx.indeterminate"), + $list: dartx.list = Symbol("dartx.list"), + $max: dartx.max = Symbol("dartx.max"), + $maxLength: dartx.maxLength = Symbol("dartx.maxLength"), + $min: dartx.min = Symbol("dartx.min"), + $minLength: dartx.minLength = Symbol("dartx.minLength"), + $multiple: dartx.multiple = Symbol("dartx.multiple"), + $pattern: dartx.pattern = Symbol("dartx.pattern"), + $selectionDirection: dartx.selectionDirection = Symbol("dartx.selectionDirection"), + $selectionEnd: dartx.selectionEnd = Symbol("dartx.selectionEnd"), + $selectionStart: dartx.selectionStart = Symbol("dartx.selectionStart"), + $step: dartx.step = Symbol("dartx.step"), + _get_valueAsDate: dart.privateName(html$, "_get_valueAsDate"), + $valueAsDate: dartx.valueAsDate = Symbol("dartx.valueAsDate"), + _set_valueAsDate: dart.privateName(html$, "_set_valueAsDate"), + $valueAsNumber: dartx.valueAsNumber = Symbol("dartx.valueAsNumber"), + $directory: dartx.directory = Symbol("dartx.directory"), + $setRangeText: dartx.setRangeText = Symbol("dartx.setRangeText"), + $setSelectionRange: dartx.setSelectionRange = Symbol("dartx.setSelectionRange"), + $stepDown: dartx.stepDown = Symbol("dartx.stepDown"), + $stepUp: dartx.stepUp = Symbol("dartx.stepUp"), + files: dart.privateName(html$, "FileUploadInputElement.files"), + _registerForeignFetch_1: dart.privateName(html$, "_registerForeignFetch_1"), + $registerForeignFetch: dartx.registerForeignFetch = Symbol("dartx.registerForeignFetch"), + $rootMargin: dartx.rootMargin = Symbol("dartx.rootMargin"), + $thresholds: dartx.thresholds = Symbol("dartx.thresholds"), + $disconnect: dartx.disconnect = Symbol("dartx.disconnect"), + $takeRecords: dartx.takeRecords = Symbol("dartx.takeRecords"), + $boundingClientRect: dartx.boundingClientRect = Symbol("dartx.boundingClientRect"), + $intersectionRatio: dartx.intersectionRatio = Symbol("dartx.intersectionRatio"), + $intersectionRect: dartx.intersectionRect = Symbol("dartx.intersectionRect"), + $isIntersecting: dartx.isIntersecting = Symbol("dartx.isIntersecting"), + $rootBounds: dartx.rootBounds = Symbol("dartx.rootBounds"), + _initKeyboardEvent: dart.privateName(html$, "_initKeyboardEvent"), + $keyCode: dartx.keyCode = Symbol("dartx.keyCode"), + $charCode: dartx.charCode = Symbol("dartx.charCode"), + $which: dartx.which = Symbol("dartx.which"), + $altKey: dartx.altKey = Symbol("dartx.altKey"), + _charCode: dart.privateName(html$, "_charCode"), + $ctrlKey: dartx.ctrlKey = Symbol("dartx.ctrlKey"), + $isComposing: dartx.isComposing = Symbol("dartx.isComposing"), + _keyCode: dart.privateName(html$, "_keyCode"), + $metaKey: dartx.metaKey = Symbol("dartx.metaKey"), + $repeat: dartx.repeat = Symbol("dartx.repeat"), + $shiftKey: dartx.shiftKey = Symbol("dartx.shiftKey"), + $getModifierState: dartx.getModifierState = Symbol("dartx.getModifierState"), + $control: dartx.control = Symbol("dartx.control"), + $htmlFor: dartx.htmlFor = Symbol("dartx.htmlFor"), + $as: dartx.as = Symbol("dartx.as"), + $import: dartx.import = Symbol("dartx.import"), + $integrity: dartx.integrity = Symbol("dartx.integrity"), + $relList: dartx.relList = Symbol("dartx.relList"), + $scope: dartx.scope = Symbol("dartx.scope"), + $sheet: dartx.sheet = Symbol("dartx.sheet"), + $supportsImport: dartx.supportsImport = Symbol("dartx.supportsImport"), + $ancestorOrigins: dartx.ancestorOrigins = Symbol("dartx.ancestorOrigins"), + $trustedHref: dartx.trustedHref = Symbol("dartx.trustedHref"), + $assign: dartx.assign = Symbol("dartx.assign"), + $reload: dartx.reload = Symbol("dartx.reload"), + $areas: dartx.areas = Symbol("dartx.areas"), + $decodingInfo: dartx.decodingInfo = Symbol("dartx.decodingInfo"), + $encodingInfo: dartx.encodingInfo = Symbol("dartx.encodingInfo"), + $powerEfficient: dartx.powerEfficient = Symbol("dartx.powerEfficient"), + $smooth: dartx.smooth = Symbol("dartx.smooth"), + $supported: dartx.supported = Symbol("dartx.supported"), + $deviceId: dartx.deviceId = Symbol("dartx.deviceId"), + $groupId: dartx.groupId = Symbol("dartx.groupId"), + $enumerateDevices: dartx.enumerateDevices = Symbol("dartx.enumerateDevices"), + _getSupportedConstraints_1: dart.privateName(html$, "_getSupportedConstraints_1"), + $getSupportedConstraints: dartx.getSupportedConstraints = Symbol("dartx.getSupportedConstraints"), + $getUserMedia: dartx.getUserMedia = Symbol("dartx.getUserMedia"), + $initData: dartx.initData = Symbol("dartx.initData"), + $initDataType: dartx.initDataType = Symbol("dartx.initDataType"), + $messageType: dartx.messageType = Symbol("dartx.messageType"), + $closed: dartx.closed = Symbol("dartx.closed"), + $expiration: dartx.expiration = Symbol("dartx.expiration"), + $keyStatuses: dartx.keyStatuses = Symbol("dartx.keyStatuses"), + $sessionId: dartx.sessionId = Symbol("dartx.sessionId"), + $generateRequest: dartx.generateRequest = Symbol("dartx.generateRequest"), + _update$1: dart.privateName(html$, "_update"), + $keySystem: dartx.keySystem = Symbol("dartx.keySystem"), + $createMediaKeys: dartx.createMediaKeys = Symbol("dartx.createMediaKeys"), + _getConfiguration_1: dart.privateName(html$, "_getConfiguration_1"), + $getConfiguration: dartx.getConfiguration = Symbol("dartx.getConfiguration"), + _createSession: dart.privateName(html$, "_createSession"), + $getStatusForPolicy: dartx.getStatusForPolicy = Symbol("dartx.getStatusForPolicy"), + $setServerCertificate: dartx.setServerCertificate = Symbol("dartx.setServerCertificate"), + $minHdcpVersion: dartx.minHdcpVersion = Symbol("dartx.minHdcpVersion"), + $mediaText: dartx.mediaText = Symbol("dartx.mediaText"), + $appendMedium: dartx.appendMedium = Symbol("dartx.appendMedium"), + $deleteMedium: dartx.deleteMedium = Symbol("dartx.deleteMedium"), + $album: dartx.album = Symbol("dartx.album"), + $artist: dartx.artist = Symbol("dartx.artist"), + $artwork: dartx.artwork = Symbol("dartx.artwork"), + $addListener: dartx.addListener = Symbol("dartx.addListener"), + $removeListener: dartx.removeListener = Symbol("dartx.removeListener"), + $audioBitsPerSecond: dartx.audioBitsPerSecond = Symbol("dartx.audioBitsPerSecond"), + $mimeType: dartx.mimeType = Symbol("dartx.mimeType"), + $stream: dartx.stream = Symbol("dartx.stream"), + $videoBitsPerSecond: dartx.videoBitsPerSecond = Symbol("dartx.videoBitsPerSecond"), + $requestData: dartx.requestData = Symbol("dartx.requestData"), + $resume: dartx.resume = Symbol("dartx.resume"), + $metadata: dartx.metadata = Symbol("dartx.metadata"), + $playbackState: dartx.playbackState = Symbol("dartx.playbackState"), + $setActionHandler: dartx.setActionHandler = Symbol("dartx.setActionHandler"), + $activeSourceBuffers: dartx.activeSourceBuffers = Symbol("dartx.activeSourceBuffers"), + $sourceBuffers: dartx.sourceBuffers = Symbol("dartx.sourceBuffers"), + $addSourceBuffer: dartx.addSourceBuffer = Symbol("dartx.addSourceBuffer"), + $clearLiveSeekableRange: dartx.clearLiveSeekableRange = Symbol("dartx.clearLiveSeekableRange"), + $endOfStream: dartx.endOfStream = Symbol("dartx.endOfStream"), + $removeSourceBuffer: dartx.removeSourceBuffer = Symbol("dartx.removeSourceBuffer"), + $setLiveSeekableRange: dartx.setLiveSeekableRange = Symbol("dartx.setLiveSeekableRange"), + $active: dartx.active = Symbol("dartx.active"), + $addTrack: dartx.addTrack = Symbol("dartx.addTrack"), + $getAudioTracks: dartx.getAudioTracks = Symbol("dartx.getAudioTracks"), + $getTrackById: dartx.getTrackById = Symbol("dartx.getTrackById"), + $getTracks: dartx.getTracks = Symbol("dartx.getTracks"), + $getVideoTracks: dartx.getVideoTracks = Symbol("dartx.getVideoTracks"), + $removeTrack: dartx.removeTrack = Symbol("dartx.removeTrack"), + $onAddTrack: dartx.onAddTrack = Symbol("dartx.onAddTrack"), + $onRemoveTrack: dartx.onRemoveTrack = Symbol("dartx.onRemoveTrack"), + $jsHeapSizeLimit: dartx.jsHeapSizeLimit = Symbol("dartx.jsHeapSizeLimit"), + $totalJSHeapSize: dartx.totalJSHeapSize = Symbol("dartx.totalJSHeapSize"), + $usedJSHeapSize: dartx.usedJSHeapSize = Symbol("dartx.usedJSHeapSize"), + $port1: dartx.port1 = Symbol("dartx.port1"), + $port2: dartx.port2 = Symbol("dartx.port2"), + _initMessageEvent: dart.privateName(html$, "_initMessageEvent"), + _get_data: dart.privateName(html$, "_get_data"), + _get_source: dart.privateName(html$, "_get_source"), + _initMessageEvent_1: dart.privateName(html$, "_initMessageEvent_1"), + _start$4: dart.privateName(html$, "_start"), + $httpEquiv: dartx.httpEquiv = Symbol("dartx.httpEquiv"), + _get_modificationTime: dart.privateName(html$, "_get_modificationTime"), + $modificationTime: dartx.modificationTime = Symbol("dartx.modificationTime"), + $high: dartx.high = Symbol("dartx.high"), + $low: dartx.low = Symbol("dartx.low"), + $optimum: dartx.optimum = Symbol("dartx.optimum"), + $inputs: dartx.inputs = Symbol("dartx.inputs"), + $outputs: dartx.outputs = Symbol("dartx.outputs"), + $sysexEnabled: dartx.sysexEnabled = Symbol("dartx.sysexEnabled"), + $onMidiMessage: dartx.onMidiMessage = Symbol("dartx.onMidiMessage"), + $connection: dartx.connection = Symbol("dartx.connection"), + $manufacturer: dartx.manufacturer = Symbol("dartx.manufacturer"), + _getItem: dart.privateName(html$, "_getItem"), + $description: dartx.description = Symbol("dartx.description"), + $enabledPlugin: dartx.enabledPlugin = Symbol("dartx.enabledPlugin"), + $suffixes: dartx.suffixes = Symbol("dartx.suffixes"), + $cite: dartx.cite = Symbol("dartx.cite"), + $dateTime: dartx.dateTime = Symbol("dartx.dateTime"), + _initMouseEvent: dart.privateName(html$, "_initMouseEvent"), + $button: dartx.button = Symbol("dartx.button"), + _clientX: dart.privateName(html$, "_clientX"), + _clientY: dart.privateName(html$, "_clientY"), + $fromElement: dartx.fromElement = Symbol("dartx.fromElement"), + _layerX: dart.privateName(html$, "_layerX"), + _layerY: dart.privateName(html$, "_layerY"), + _movementX: dart.privateName(html$, "_movementX"), + _movementY: dart.privateName(html$, "_movementY"), + _pageX: dart.privateName(html$, "_pageX"), + _pageY: dart.privateName(html$, "_pageY"), + $region: dartx.region = Symbol("dartx.region"), + _screenX: dart.privateName(html$, "_screenX"), + _screenY: dart.privateName(html$, "_screenY"), + $toElement: dartx.toElement = Symbol("dartx.toElement"), + _initMouseEvent_1: dart.privateName(html$, "_initMouseEvent_1"), + $movement: dartx.movement = Symbol("dartx.movement"), + $screen: dartx.screen = Symbol("dartx.screen"), + $layer: dartx.layer = Symbol("dartx.layer"), + $dataTransfer: dartx.dataTransfer = Symbol("dartx.dataTransfer"), + $attrChange: dartx.attrChange = Symbol("dartx.attrChange"), + $attrName: dartx.attrName = Symbol("dartx.attrName"), + $newValue: dartx.newValue = Symbol("dartx.newValue"), + $prevValue: dartx.prevValue = Symbol("dartx.prevValue"), + $relatedNode: dartx.relatedNode = Symbol("dartx.relatedNode"), + $initMutationEvent: dartx.initMutationEvent = Symbol("dartx.initMutationEvent"), + _observe_1$1: dart.privateName(html$, "_observe_1"), + _observe_2: dart.privateName(html$, "_observe_2"), + _observe: dart.privateName(html$, "_observe"), + _call: dart.privateName(html$, "_call"), + $addedNodes: dartx.addedNodes = Symbol("dartx.addedNodes"), + $attributeName: dartx.attributeName = Symbol("dartx.attributeName"), + $attributeNamespace: dartx.attributeNamespace = Symbol("dartx.attributeNamespace"), + $nextSibling: dartx.nextSibling = Symbol("dartx.nextSibling"), + $oldValue: dartx.oldValue = Symbol("dartx.oldValue"), + $previousSibling: dartx.previousSibling = Symbol("dartx.previousSibling"), + $removedNodes: dartx.removedNodes = Symbol("dartx.removedNodes"), + $disable: dartx.disable = Symbol("dartx.disable"), + $enable: dartx.enable = Symbol("dartx.enable"), + $getState: dartx.getState = Symbol("dartx.getState"), + _getGamepads: dart.privateName(html$, "_getGamepads"), + $getGamepads: dartx.getGamepads = Symbol("dartx.getGamepads"), + $language: dartx.language = Symbol("dartx.language"), + _ensureGetUserMedia: dart.privateName(html$, "_ensureGetUserMedia"), + _getUserMedia: dart.privateName(html$, "_getUserMedia"), + $budget: dartx.budget = Symbol("dartx.budget"), + $clipboard: dartx.clipboard = Symbol("dartx.clipboard"), + $credentials: dartx.credentials = Symbol("dartx.credentials"), + $deviceMemory: dartx.deviceMemory = Symbol("dartx.deviceMemory"), + $doNotTrack: dartx.doNotTrack = Symbol("dartx.doNotTrack"), + $geolocation: dartx.geolocation = Symbol("dartx.geolocation") + }; + var S$2 = { + $maxTouchPoints: dartx.maxTouchPoints = Symbol("dartx.maxTouchPoints"), + $mediaCapabilities: dartx.mediaCapabilities = Symbol("dartx.mediaCapabilities"), + $mediaDevices: dartx.mediaDevices = Symbol("dartx.mediaDevices"), + $mediaSession: dartx.mediaSession = Symbol("dartx.mediaSession"), + $mimeTypes: dartx.mimeTypes = Symbol("dartx.mimeTypes"), + $nfc: dartx.nfc = Symbol("dartx.nfc"), + $permissions: dartx.permissions = Symbol("dartx.permissions"), + $presentation: dartx.presentation = Symbol("dartx.presentation"), + $productSub: dartx.productSub = Symbol("dartx.productSub"), + $serviceWorker: dartx.serviceWorker = Symbol("dartx.serviceWorker"), + $storage: dartx.storage = Symbol("dartx.storage"), + $vendor: dartx.vendor = Symbol("dartx.vendor"), + $vendorSub: dartx.vendorSub = Symbol("dartx.vendorSub"), + $vr: dartx.vr = Symbol("dartx.vr"), + $persistentStorage: dartx.persistentStorage = Symbol("dartx.persistentStorage"), + $temporaryStorage: dartx.temporaryStorage = Symbol("dartx.temporaryStorage"), + $cancelKeyboardLock: dartx.cancelKeyboardLock = Symbol("dartx.cancelKeyboardLock"), + $getBattery: dartx.getBattery = Symbol("dartx.getBattery"), + $getInstalledRelatedApps: dartx.getInstalledRelatedApps = Symbol("dartx.getInstalledRelatedApps"), + $getVRDisplays: dartx.getVRDisplays = Symbol("dartx.getVRDisplays"), + $registerProtocolHandler: dartx.registerProtocolHandler = Symbol("dartx.registerProtocolHandler"), + _requestKeyboardLock_1: dart.privateName(html$, "_requestKeyboardLock_1"), + _requestKeyboardLock_2: dart.privateName(html$, "_requestKeyboardLock_2"), + $requestKeyboardLock: dartx.requestKeyboardLock = Symbol("dartx.requestKeyboardLock"), + $requestMidiAccess: dartx.requestMidiAccess = Symbol("dartx.requestMidiAccess"), + $requestMediaKeySystemAccess: dartx.requestMediaKeySystemAccess = Symbol("dartx.requestMediaKeySystemAccess"), + $sendBeacon: dartx.sendBeacon = Symbol("dartx.sendBeacon"), + $share: dartx.share = Symbol("dartx.share"), + $webdriver: dartx.webdriver = Symbol("dartx.webdriver"), + $cookieEnabled: dartx.cookieEnabled = Symbol("dartx.cookieEnabled"), + $appCodeName: dartx.appCodeName = Symbol("dartx.appCodeName"), + $appName: dartx.appName = Symbol("dartx.appName"), + $appVersion: dartx.appVersion = Symbol("dartx.appVersion"), + $dartEnabled: dartx.dartEnabled = Symbol("dartx.dartEnabled"), + $platform: dartx.platform = Symbol("dartx.platform"), + $product: dartx.product = Symbol("dartx.product"), + $userAgent: dartx.userAgent = Symbol("dartx.userAgent"), + $languages: dartx.languages = Symbol("dartx.languages"), + $onLine: dartx.onLine = Symbol("dartx.onLine"), + $hardwareConcurrency: dartx.hardwareConcurrency = Symbol("dartx.hardwareConcurrency"), + $constraintName: dartx.constraintName = Symbol("dartx.constraintName"), + $downlink: dartx.downlink = Symbol("dartx.downlink"), + $downlinkMax: dartx.downlinkMax = Symbol("dartx.downlinkMax"), + $effectiveType: dartx.effectiveType = Symbol("dartx.effectiveType"), + $rtt: dartx.rtt = Symbol("dartx.rtt"), + $pointerBeforeReferenceNode: dartx.pointerBeforeReferenceNode = Symbol("dartx.pointerBeforeReferenceNode"), + $referenceNode: dartx.referenceNode = Symbol("dartx.referenceNode"), + $whatToShow: dartx.whatToShow = Symbol("dartx.whatToShow"), + $detach: dartx.detach = Symbol("dartx.detach"), + $actions: dartx.actions = Symbol("dartx.actions"), + $badge: dartx.badge = Symbol("dartx.badge"), + $icon: dartx.icon = Symbol("dartx.icon"), + $image: dartx.image = Symbol("dartx.image"), + $renotify: dartx.renotify = Symbol("dartx.renotify"), + $requireInteraction: dartx.requireInteraction = Symbol("dartx.requireInteraction"), + $silent: dartx.silent = Symbol("dartx.silent"), + $tag: dartx.tag = Symbol("dartx.tag"), + $vibrate: dartx.vibrate = Symbol("dartx.vibrate"), + $onShow: dartx.onShow = Symbol("dartx.onShow"), + $notification: dartx.notification = Symbol("dartx.notification"), + $reply: dartx.reply = Symbol("dartx.reply"), + $convertToBlob: dartx.convertToBlob = Symbol("dartx.convertToBlob"), + $transferToImageBitmap: dartx.transferToImageBitmap = Symbol("dartx.transferToImageBitmap"), + $commit: dartx.commit = Symbol("dartx.commit"), + $defaultSelected: dartx.defaultSelected = Symbol("dartx.defaultSelected"), + $constraint: dartx.constraint = Symbol("dartx.constraint"), + $persisted: dartx.persisted = Symbol("dartx.persisted"), + $devicePixelRatio: dartx.devicePixelRatio = Symbol("dartx.devicePixelRatio"), + $registerPaint: dartx.registerPaint = Symbol("dartx.registerPaint"), + $additionalData: dartx.additionalData = Symbol("dartx.additionalData"), + $idName: dartx.idName = Symbol("dartx.idName"), + $passwordName: dartx.passwordName = Symbol("dartx.passwordName"), + $addPath: dartx.addPath = Symbol("dartx.addPath"), + $addressLine: dartx.addressLine = Symbol("dartx.addressLine"), + $city: dartx.city = Symbol("dartx.city"), + $country: dartx.country = Symbol("dartx.country"), + $dependentLocality: dartx.dependentLocality = Symbol("dartx.dependentLocality"), + $languageCode: dartx.languageCode = Symbol("dartx.languageCode"), + $organization: dartx.organization = Symbol("dartx.organization"), + $phone: dartx.phone = Symbol("dartx.phone"), + $postalCode: dartx.postalCode = Symbol("dartx.postalCode"), + $recipient: dartx.recipient = Symbol("dartx.recipient"), + $sortingCode: dartx.sortingCode = Symbol("dartx.sortingCode"), + $instruments: dartx.instruments = Symbol("dartx.instruments"), + $userHint: dartx.userHint = Symbol("dartx.userHint"), + $shippingAddress: dartx.shippingAddress = Symbol("dartx.shippingAddress"), + $shippingOption: dartx.shippingOption = Symbol("dartx.shippingOption"), + $shippingType: dartx.shippingType = Symbol("dartx.shippingType"), + $canMakePayment: dartx.canMakePayment = Symbol("dartx.canMakePayment"), + $instrumentKey: dartx.instrumentKey = Symbol("dartx.instrumentKey"), + $paymentRequestId: dartx.paymentRequestId = Symbol("dartx.paymentRequestId"), + $total: dartx.total = Symbol("dartx.total"), + $updateWith: dartx.updateWith = Symbol("dartx.updateWith"), + $methodName: dartx.methodName = Symbol("dartx.methodName"), + $payerEmail: dartx.payerEmail = Symbol("dartx.payerEmail"), + $payerName: dartx.payerName = Symbol("dartx.payerName"), + $payerPhone: dartx.payerPhone = Symbol("dartx.payerPhone"), + $requestId: dartx.requestId = Symbol("dartx.requestId"), + $memory: dartx.memory = Symbol("dartx.memory"), + $navigation: dartx.navigation = Symbol("dartx.navigation"), + $timeOrigin: dartx.timeOrigin = Symbol("dartx.timeOrigin"), + $clearMarks: dartx.clearMarks = Symbol("dartx.clearMarks"), + $clearMeasures: dartx.clearMeasures = Symbol("dartx.clearMeasures"), + $clearResourceTimings: dartx.clearResourceTimings = Symbol("dartx.clearResourceTimings"), + $getEntries: dartx.getEntries = Symbol("dartx.getEntries"), + $getEntriesByName: dartx.getEntriesByName = Symbol("dartx.getEntriesByName"), + $getEntriesByType: dartx.getEntriesByType = Symbol("dartx.getEntriesByType"), + $mark: dartx.mark = Symbol("dartx.mark"), + $measure: dartx.measure = Symbol("dartx.measure"), + $now: dartx.now = Symbol("dartx.now"), + $setResourceTimingBufferSize: dartx.setResourceTimingBufferSize = Symbol("dartx.setResourceTimingBufferSize"), + $entryType: dartx.entryType = Symbol("dartx.entryType"), + $attribution: dartx.attribution = Symbol("dartx.attribution"), + $redirectCount: dartx.redirectCount = Symbol("dartx.redirectCount"), + $domComplete: dartx.domComplete = Symbol("dartx.domComplete"), + $domContentLoadedEventEnd: dartx.domContentLoadedEventEnd = Symbol("dartx.domContentLoadedEventEnd"), + $domContentLoadedEventStart: dartx.domContentLoadedEventStart = Symbol("dartx.domContentLoadedEventStart"), + $domInteractive: dartx.domInteractive = Symbol("dartx.domInteractive"), + $loadEventEnd: dartx.loadEventEnd = Symbol("dartx.loadEventEnd"), + $loadEventStart: dartx.loadEventStart = Symbol("dartx.loadEventStart"), + $unloadEventEnd: dartx.unloadEventEnd = Symbol("dartx.unloadEventEnd"), + $unloadEventStart: dartx.unloadEventStart = Symbol("dartx.unloadEventStart"), + $connectEnd: dartx.connectEnd = Symbol("dartx.connectEnd"), + $connectStart: dartx.connectStart = Symbol("dartx.connectStart"), + $decodedBodySize: dartx.decodedBodySize = Symbol("dartx.decodedBodySize"), + $domainLookupEnd: dartx.domainLookupEnd = Symbol("dartx.domainLookupEnd"), + $domainLookupStart: dartx.domainLookupStart = Symbol("dartx.domainLookupStart"), + $encodedBodySize: dartx.encodedBodySize = Symbol("dartx.encodedBodySize"), + $fetchStart: dartx.fetchStart = Symbol("dartx.fetchStart"), + $initiatorType: dartx.initiatorType = Symbol("dartx.initiatorType"), + $nextHopProtocol: dartx.nextHopProtocol = Symbol("dartx.nextHopProtocol"), + $redirectEnd: dartx.redirectEnd = Symbol("dartx.redirectEnd"), + $redirectStart: dartx.redirectStart = Symbol("dartx.redirectStart"), + $requestStart: dartx.requestStart = Symbol("dartx.requestStart"), + $responseEnd: dartx.responseEnd = Symbol("dartx.responseEnd"), + $responseStart: dartx.responseStart = Symbol("dartx.responseStart"), + $secureConnectionStart: dartx.secureConnectionStart = Symbol("dartx.secureConnectionStart"), + $serverTiming: dartx.serverTiming = Symbol("dartx.serverTiming"), + $transferSize: dartx.transferSize = Symbol("dartx.transferSize"), + $workerStart: dartx.workerStart = Symbol("dartx.workerStart"), + $domLoading: dartx.domLoading = Symbol("dartx.domLoading"), + $navigationStart: dartx.navigationStart = Symbol("dartx.navigationStart"), + $query: dartx.query = Symbol("dartx.query"), + $requestAll: dartx.requestAll = Symbol("dartx.requestAll"), + $revoke: dartx.revoke = Symbol("dartx.revoke"), + $fillLightMode: dartx.fillLightMode = Symbol("dartx.fillLightMode"), + $imageHeight: dartx.imageHeight = Symbol("dartx.imageHeight"), + $imageWidth: dartx.imageWidth = Symbol("dartx.imageWidth"), + $redEyeReduction: dartx.redEyeReduction = Symbol("dartx.redEyeReduction"), + $refresh: dartx.refresh = Symbol("dartx.refresh"), + $isPrimary: dartx.isPrimary = Symbol("dartx.isPrimary"), + $pointerId: dartx.pointerId = Symbol("dartx.pointerId"), + $pointerType: dartx.pointerType = Symbol("dartx.pointerType"), + $pressure: dartx.pressure = Symbol("dartx.pressure"), + $tangentialPressure: dartx.tangentialPressure = Symbol("dartx.tangentialPressure"), + $tiltX: dartx.tiltX = Symbol("dartx.tiltX"), + $tiltY: dartx.tiltY = Symbol("dartx.tiltY"), + $twist: dartx.twist = Symbol("dartx.twist"), + $getCoalescedEvents: dartx.getCoalescedEvents = Symbol("dartx.getCoalescedEvents"), + $defaultRequest: dartx.defaultRequest = Symbol("dartx.defaultRequest"), + $receiver: dartx.receiver = Symbol("dartx.receiver"), + $binaryType: dartx.binaryType = Symbol("dartx.binaryType"), + $terminate: dartx.terminate = Symbol("dartx.terminate"), + $connections: dartx.connections = Symbol("dartx.connections"), + $connectionList: dartx.connectionList = Symbol("dartx.connectionList"), + $getAvailability: dartx.getAvailability = Symbol("dartx.getAvailability"), + $reconnect: dartx.reconnect = Symbol("dartx.reconnect"), + $lengthComputable: dartx.lengthComputable = Symbol("dartx.lengthComputable"), + $promise: dartx.promise = Symbol("dartx.promise"), + $rawId: dartx.rawId = Symbol("dartx.rawId"), + $getSubscription: dartx.getSubscription = Symbol("dartx.getSubscription"), + $permissionState: dartx.permissionState = Symbol("dartx.permissionState"), + $subscribe: dartx.subscribe = Symbol("dartx.subscribe"), + $endpoint: dartx.endpoint = Symbol("dartx.endpoint"), + $expirationTime: dartx.expirationTime = Symbol("dartx.expirationTime"), + $unsubscribe: dartx.unsubscribe = Symbol("dartx.unsubscribe"), + $applicationServerKey: dartx.applicationServerKey = Symbol("dartx.applicationServerKey"), + $userVisibleOnly: dartx.userVisibleOnly = Symbol("dartx.userVisibleOnly"), + $collapsed: dartx.collapsed = Symbol("dartx.collapsed"), + $commonAncestorContainer: dartx.commonAncestorContainer = Symbol("dartx.commonAncestorContainer"), + $endContainer: dartx.endContainer = Symbol("dartx.endContainer"), + $endOffset: dartx.endOffset = Symbol("dartx.endOffset"), + $startContainer: dartx.startContainer = Symbol("dartx.startContainer"), + $startOffset: dartx.startOffset = Symbol("dartx.startOffset"), + $cloneContents: dartx.cloneContents = Symbol("dartx.cloneContents"), + $cloneRange: dartx.cloneRange = Symbol("dartx.cloneRange"), + $collapse: dartx.collapse = Symbol("dartx.collapse"), + $compareBoundaryPoints: dartx.compareBoundaryPoints = Symbol("dartx.compareBoundaryPoints"), + $comparePoint: dartx.comparePoint = Symbol("dartx.comparePoint"), + $createContextualFragment: dartx.createContextualFragment = Symbol("dartx.createContextualFragment"), + $deleteContents: dartx.deleteContents = Symbol("dartx.deleteContents"), + $extractContents: dartx.extractContents = Symbol("dartx.extractContents"), + $insertNode: dartx.insertNode = Symbol("dartx.insertNode"), + $isPointInRange: dartx.isPointInRange = Symbol("dartx.isPointInRange"), + $selectNode: dartx.selectNode = Symbol("dartx.selectNode"), + $selectNodeContents: dartx.selectNodeContents = Symbol("dartx.selectNodeContents"), + $setEnd: dartx.setEnd = Symbol("dartx.setEnd"), + $setEndAfter: dartx.setEndAfter = Symbol("dartx.setEndAfter"), + $setEndBefore: dartx.setEndBefore = Symbol("dartx.setEndBefore"), + $setStart: dartx.setStart = Symbol("dartx.setStart"), + $setStartAfter: dartx.setStartAfter = Symbol("dartx.setStartAfter"), + $setStartBefore: dartx.setStartBefore = Symbol("dartx.setStartBefore"), + $surroundContents: dartx.surroundContents = Symbol("dartx.surroundContents"), + $cancelWatchAvailability: dartx.cancelWatchAvailability = Symbol("dartx.cancelWatchAvailability"), + $watchAvailability: dartx.watchAvailability = Symbol("dartx.watchAvailability"), + $contentRect: dartx.contentRect = Symbol("dartx.contentRect"), + $expires: dartx.expires = Symbol("dartx.expires"), + $getFingerprints: dartx.getFingerprints = Symbol("dartx.getFingerprints"), + $bufferedAmount: dartx.bufferedAmount = Symbol("dartx.bufferedAmount"), + $bufferedAmountLowThreshold: dartx.bufferedAmountLowThreshold = Symbol("dartx.bufferedAmountLowThreshold"), + $maxRetransmitTime: dartx.maxRetransmitTime = Symbol("dartx.maxRetransmitTime"), + $maxRetransmits: dartx.maxRetransmits = Symbol("dartx.maxRetransmits"), + $negotiated: dartx.negotiated = Symbol("dartx.negotiated"), + $ordered: dartx.ordered = Symbol("dartx.ordered"), + $reliable: dartx.reliable = Symbol("dartx.reliable"), + $sendBlob: dartx.sendBlob = Symbol("dartx.sendBlob"), + $sendByteBuffer: dartx.sendByteBuffer = Symbol("dartx.sendByteBuffer"), + $sendString: dartx.sendString = Symbol("dartx.sendString"), + $sendTypedData: dartx.sendTypedData = Symbol("dartx.sendTypedData"), + $channel: dartx.channel = Symbol("dartx.channel"), + $canInsertDtmf: dartx.canInsertDtmf = Symbol("dartx.canInsertDtmf"), + $interToneGap: dartx.interToneGap = Symbol("dartx.interToneGap"), + $toneBuffer: dartx.toneBuffer = Symbol("dartx.toneBuffer"), + $insertDtmf: dartx.insertDtmf = Symbol("dartx.insertDtmf"), + $onToneChange: dartx.onToneChange = Symbol("dartx.onToneChange"), + $tone: dartx.tone = Symbol("dartx.tone"), + $candidate: dartx.candidate = Symbol("dartx.candidate"), + $sdpMLineIndex: dartx.sdpMLineIndex = Symbol("dartx.sdpMLineIndex"), + $sdpMid: dartx.sdpMid = Symbol("dartx.sdpMid"), + _get_timestamp: dart.privateName(html$, "_get_timestamp"), + $names: dartx.names = Symbol("dartx.names"), + $stat: dartx.stat = Symbol("dartx.stat"), + _getStats: dart.privateName(html$, "_getStats"), + $getLegacyStats: dartx.getLegacyStats = Symbol("dartx.getLegacyStats"), + $iceConnectionState: dartx.iceConnectionState = Symbol("dartx.iceConnectionState"), + $iceGatheringState: dartx.iceGatheringState = Symbol("dartx.iceGatheringState"), + $localDescription: dartx.localDescription = Symbol("dartx.localDescription"), + $remoteDescription: dartx.remoteDescription = Symbol("dartx.remoteDescription"), + $signalingState: dartx.signalingState = Symbol("dartx.signalingState"), + $addIceCandidate: dartx.addIceCandidate = Symbol("dartx.addIceCandidate"), + _addStream_1: dart.privateName(html$, "_addStream_1"), + _addStream_2: dart.privateName(html$, "_addStream_2"), + $addStream: dartx.addStream = Symbol("dartx.addStream"), + $createAnswer: dartx.createAnswer = Symbol("dartx.createAnswer"), + $createDtmfSender: dartx.createDtmfSender = Symbol("dartx.createDtmfSender"), + _createDataChannel_1: dart.privateName(html$, "_createDataChannel_1"), + _createDataChannel_2: dart.privateName(html$, "_createDataChannel_2"), + $createDataChannel: dartx.createDataChannel = Symbol("dartx.createDataChannel"), + $createOffer: dartx.createOffer = Symbol("dartx.createOffer"), + $getLocalStreams: dartx.getLocalStreams = Symbol("dartx.getLocalStreams"), + $getReceivers: dartx.getReceivers = Symbol("dartx.getReceivers"), + $getRemoteStreams: dartx.getRemoteStreams = Symbol("dartx.getRemoteStreams"), + $getSenders: dartx.getSenders = Symbol("dartx.getSenders"), + $getStats: dartx.getStats = Symbol("dartx.getStats"), + $removeStream: dartx.removeStream = Symbol("dartx.removeStream"), + _setConfiguration_1: dart.privateName(html$, "_setConfiguration_1"), + $setConfiguration: dartx.setConfiguration = Symbol("dartx.setConfiguration"), + $setLocalDescription: dartx.setLocalDescription = Symbol("dartx.setLocalDescription"), + $setRemoteDescription: dartx.setRemoteDescription = Symbol("dartx.setRemoteDescription"), + $onAddStream: dartx.onAddStream = Symbol("dartx.onAddStream"), + $onDataChannel: dartx.onDataChannel = Symbol("dartx.onDataChannel"), + $onIceCandidate: dartx.onIceCandidate = Symbol("dartx.onIceCandidate"), + $onIceConnectionStateChange: dartx.onIceConnectionStateChange = Symbol("dartx.onIceConnectionStateChange"), + $onNegotiationNeeded: dartx.onNegotiationNeeded = Symbol("dartx.onNegotiationNeeded"), + $onRemoveStream: dartx.onRemoveStream = Symbol("dartx.onRemoveStream"), + $onSignalingStateChange: dartx.onSignalingStateChange = Symbol("dartx.onSignalingStateChange"), + $onTrack: dartx.onTrack = Symbol("dartx.onTrack"), + $getContributingSources: dartx.getContributingSources = Symbol("dartx.getContributingSources"), + $sdp: dartx.sdp = Symbol("dartx.sdp"), + $streams: dartx.streams = Symbol("dartx.streams"), + _availLeft: dart.privateName(html$, "_availLeft"), + _availTop: dart.privateName(html$, "_availTop"), + _availWidth: dart.privateName(html$, "_availWidth"), + _availHeight: dart.privateName(html$, "_availHeight"), + $available: dartx.available = Symbol("dartx.available"), + $colorDepth: dartx.colorDepth = Symbol("dartx.colorDepth"), + $keepAwake: dartx.keepAwake = Symbol("dartx.keepAwake"), + $pixelDepth: dartx.pixelDepth = Symbol("dartx.pixelDepth"), + $lock: dartx.lock = Symbol("dartx.lock"), + $unlock: dartx.unlock = Symbol("dartx.unlock"), + $charset: dartx.charset = Symbol("dartx.charset"), + $defer: dartx.defer = Symbol("dartx.defer"), + $noModule: dartx.noModule = Symbol("dartx.noModule"), + $deltaGranularity: dartx.deltaGranularity = Symbol("dartx.deltaGranularity"), + $deltaX: dartx.deltaX = Symbol("dartx.deltaX"), + $deltaY: dartx.deltaY = Symbol("dartx.deltaY"), + $fromUserInput: dartx.fromUserInput = Symbol("dartx.fromUserInput"), + $inInertialPhase: dartx.inInertialPhase = Symbol("dartx.inInertialPhase"), + $isBeginning: dartx.isBeginning = Symbol("dartx.isBeginning"), + $isDirectManipulation: dartx.isDirectManipulation = Symbol("dartx.isDirectManipulation"), + $isEnding: dartx.isEnding = Symbol("dartx.isEnding"), + $positionX: dartx.positionX = Symbol("dartx.positionX"), + $positionY: dartx.positionY = Symbol("dartx.positionY"), + $velocityX: dartx.velocityX = Symbol("dartx.velocityX"), + $velocityY: dartx.velocityY = Symbol("dartx.velocityY"), + $consumeDelta: dartx.consumeDelta = Symbol("dartx.consumeDelta"), + $distributeToScrollChainDescendant: dartx.distributeToScrollChainDescendant = Symbol("dartx.distributeToScrollChainDescendant"), + $scrollSource: dartx.scrollSource = Symbol("dartx.scrollSource"), + $timeRange: dartx.timeRange = Symbol("dartx.timeRange"), + $blockedUri: dartx.blockedUri = Symbol("dartx.blockedUri"), + $columnNumber: dartx.columnNumber = Symbol("dartx.columnNumber"), + $disposition: dartx.disposition = Symbol("dartx.disposition"), + $documentUri: dartx.documentUri = Symbol("dartx.documentUri"), + $effectiveDirective: dartx.effectiveDirective = Symbol("dartx.effectiveDirective"), + $originalPolicy: dartx.originalPolicy = Symbol("dartx.originalPolicy"), + $sample: dartx.sample = Symbol("dartx.sample"), + $statusCode: dartx.statusCode = Symbol("dartx.statusCode"), + $violatedDirective: dartx.violatedDirective = Symbol("dartx.violatedDirective"), + $selectedIndex: dartx.selectedIndex = Symbol("dartx.selectedIndex"), + $selectedOptions: dartx.selectedOptions = Symbol("dartx.selectedOptions"), + $anchorNode: dartx.anchorNode = Symbol("dartx.anchorNode"), + $anchorOffset: dartx.anchorOffset = Symbol("dartx.anchorOffset"), + $baseNode: dartx.baseNode = Symbol("dartx.baseNode"), + $baseOffset: dartx.baseOffset = Symbol("dartx.baseOffset"), + $extentNode: dartx.extentNode = Symbol("dartx.extentNode"), + $extentOffset: dartx.extentOffset = Symbol("dartx.extentOffset"), + $focusNode: dartx.focusNode = Symbol("dartx.focusNode"), + $focusOffset: dartx.focusOffset = Symbol("dartx.focusOffset"), + $isCollapsed: dartx.isCollapsed = Symbol("dartx.isCollapsed"), + $rangeCount: dartx.rangeCount = Symbol("dartx.rangeCount"), + $addRange: dartx.addRange = Symbol("dartx.addRange"), + $collapseToEnd: dartx.collapseToEnd = Symbol("dartx.collapseToEnd"), + $collapseToStart: dartx.collapseToStart = Symbol("dartx.collapseToStart"), + $containsNode: dartx.containsNode = Symbol("dartx.containsNode"), + $deleteFromDocument: dartx.deleteFromDocument = Symbol("dartx.deleteFromDocument"), + $empty: dartx.empty = Symbol("dartx.empty"), + $extend: dartx.extend = Symbol("dartx.extend"), + $getRangeAt: dartx.getRangeAt = Symbol("dartx.getRangeAt"), + $modify: dartx.modify = Symbol("dartx.modify"), + $removeAllRanges: dartx.removeAllRanges = Symbol("dartx.removeAllRanges"), + $selectAllChildren: dartx.selectAllChildren = Symbol("dartx.selectAllChildren"), + $setBaseAndExtent: dartx.setBaseAndExtent = Symbol("dartx.setBaseAndExtent"), + $setPosition: dartx.setPosition = Symbol("dartx.setPosition"), + $scriptUrl: dartx.scriptUrl = Symbol("dartx.scriptUrl"), + $controller: dartx.controller = Symbol("dartx.controller"), + $getRegistration: dartx.getRegistration = Symbol("dartx.getRegistration"), + $getRegistrations: dartx.getRegistrations = Symbol("dartx.getRegistrations"), + $clients: dartx.clients = Symbol("dartx.clients"), + $registration: dartx.registration = Symbol("dartx.registration"), + $skipWaiting: dartx.skipWaiting = Symbol("dartx.skipWaiting"), + $onActivate: dartx.onActivate = Symbol("dartx.onActivate"), + $onFetch: dartx.onFetch = Symbol("dartx.onFetch"), + $onForeignfetch: dartx.onForeignfetch = Symbol("dartx.onForeignfetch"), + $onInstall: dartx.onInstall = Symbol("dartx.onInstall"), + $backgroundFetch: dartx.backgroundFetch = Symbol("dartx.backgroundFetch"), + $installing: dartx.installing = Symbol("dartx.installing"), + $navigationPreload: dartx.navigationPreload = Symbol("dartx.navigationPreload"), + $paymentManager: dartx.paymentManager = Symbol("dartx.paymentManager"), + $pushManager: dartx.pushManager = Symbol("dartx.pushManager"), + $sync: dartx.sync = Symbol("dartx.sync"), + $waiting: dartx.waiting = Symbol("dartx.waiting"), + $getNotifications: dartx.getNotifications = Symbol("dartx.getNotifications"), + $showNotification: dartx.showNotification = Symbol("dartx.showNotification"), + $unregister: dartx.unregister = Symbol("dartx.unregister"), + $delegatesFocus: dartx.delegatesFocus = Symbol("dartx.delegatesFocus"), + $olderShadowRoot: dartx.olderShadowRoot = Symbol("dartx.olderShadowRoot"), + $console: dartx.console = Symbol("dartx.console"), + $resetStyleInheritance: dartx.resetStyleInheritance = Symbol("dartx.resetStyleInheritance"), + $applyAuthorStyles: dartx.applyAuthorStyles = Symbol("dartx.applyAuthorStyles"), + $byteLength: dartx.byteLength = Symbol("dartx.byteLength"), + $onConnect: dartx.onConnect = Symbol("dartx.onConnect"), + _assignedNodes_1: dart.privateName(html$, "_assignedNodes_1"), + _assignedNodes_2: dart.privateName(html$, "_assignedNodes_2"), + $assignedNodes: dartx.assignedNodes = Symbol("dartx.assignedNodes"), + $appendWindowEnd: dartx.appendWindowEnd = Symbol("dartx.appendWindowEnd"), + $appendWindowStart: dartx.appendWindowStart = Symbol("dartx.appendWindowStart"), + $timestampOffset: dartx.timestampOffset = Symbol("dartx.timestampOffset"), + $trackDefaults: dartx.trackDefaults = Symbol("dartx.trackDefaults"), + $updating: dartx.updating = Symbol("dartx.updating"), + $appendBuffer: dartx.appendBuffer = Symbol("dartx.appendBuffer"), + $appendTypedData: dartx.appendTypedData = Symbol("dartx.appendTypedData"), + $addFromString: dartx.addFromString = Symbol("dartx.addFromString"), + $addFromUri: dartx.addFromUri = Symbol("dartx.addFromUri"), + $audioTrack: dartx.audioTrack = Symbol("dartx.audioTrack"), + $continuous: dartx.continuous = Symbol("dartx.continuous"), + $grammars: dartx.grammars = Symbol("dartx.grammars"), + $interimResults: dartx.interimResults = Symbol("dartx.interimResults"), + $maxAlternatives: dartx.maxAlternatives = Symbol("dartx.maxAlternatives"), + $onAudioEnd: dartx.onAudioEnd = Symbol("dartx.onAudioEnd"), + $onAudioStart: dartx.onAudioStart = Symbol("dartx.onAudioStart"), + $onEnd: dartx.onEnd = Symbol("dartx.onEnd"), + $onNoMatch: dartx.onNoMatch = Symbol("dartx.onNoMatch"), + $onResult: dartx.onResult = Symbol("dartx.onResult"), + $onSoundEnd: dartx.onSoundEnd = Symbol("dartx.onSoundEnd"), + $onSoundStart: dartx.onSoundStart = Symbol("dartx.onSoundStart"), + $onSpeechEnd: dartx.onSpeechEnd = Symbol("dartx.onSpeechEnd"), + $onSpeechStart: dartx.onSpeechStart = Symbol("dartx.onSpeechStart"), + $onStart: dartx.onStart = Symbol("dartx.onStart"), + $confidence: dartx.confidence = Symbol("dartx.confidence"), + $transcript: dartx.transcript = Symbol("dartx.transcript"), + $emma: dartx.emma = Symbol("dartx.emma"), + $interpretation: dartx.interpretation = Symbol("dartx.interpretation"), + $resultIndex: dartx.resultIndex = Symbol("dartx.resultIndex"), + $results: dartx.results = Symbol("dartx.results"), + $isFinal: dartx.isFinal = Symbol("dartx.isFinal"), + _getVoices: dart.privateName(html$, "_getVoices"), + $getVoices: dartx.getVoices = Symbol("dartx.getVoices"), + $pending: dartx.pending = Symbol("dartx.pending"), + $speaking: dartx.speaking = Symbol("dartx.speaking"), + $charIndex: dartx.charIndex = Symbol("dartx.charIndex"), + $utterance: dartx.utterance = Symbol("dartx.utterance"), + $pitch: dartx.pitch = Symbol("dartx.pitch"), + $rate: dartx.rate = Symbol("dartx.rate"), + $voice: dartx.voice = Symbol("dartx.voice"), + $onBoundary: dartx.onBoundary = Symbol("dartx.onBoundary"), + $onMark: dartx.onMark = Symbol("dartx.onMark"), + $onResume: dartx.onResume = Symbol("dartx.onResume"), + $localService: dartx.localService = Symbol("dartx.localService"), + $voiceUri: dartx.voiceUri = Symbol("dartx.voiceUri"), + _setItem: dart.privateName(html$, "_setItem"), + _removeItem: dart.privateName(html$, "_removeItem"), + _key: dart.privateName(html$, "_key"), + _length$3: dart.privateName(html$, "_length"), + _initStorageEvent: dart.privateName(html$, "_initStorageEvent"), + $storageArea: dartx.storageArea = Symbol("dartx.storageArea"), + $estimate: dartx.estimate = Symbol("dartx.estimate"), + $persist: dartx.persist = Symbol("dartx.persist"), + $matchMedium: dartx.matchMedium = Symbol("dartx.matchMedium"), + $getProperties: dartx.getProperties = Symbol("dartx.getProperties"), + $lastChance: dartx.lastChance = Symbol("dartx.lastChance"), + $getTags: dartx.getTags = Symbol("dartx.getTags"), + $cellIndex: dartx.cellIndex = Symbol("dartx.cellIndex"), + $headers: dartx.headers = Symbol("dartx.headers"), + $span: dartx.span = Symbol("dartx.span"), + _tBodies: dart.privateName(html$, "_tBodies"), + $tBodies: dartx.tBodies = Symbol("dartx.tBodies"), + _rows: dart.privateName(html$, "_rows"), + $rows: dartx.rows = Symbol("dartx.rows"), + $insertRow: dartx.insertRow = Symbol("dartx.insertRow"), + $addRow: dartx.addRow = Symbol("dartx.addRow"), + _createCaption: dart.privateName(html$, "_createCaption"), + $createCaption: dartx.createCaption = Symbol("dartx.createCaption"), + _createTBody: dart.privateName(html$, "_createTBody"), + $createTBody: dartx.createTBody = Symbol("dartx.createTBody"), + _createTFoot: dart.privateName(html$, "_createTFoot"), + $createTFoot: dartx.createTFoot = Symbol("dartx.createTFoot"), + _createTHead: dart.privateName(html$, "_createTHead"), + $createTHead: dartx.createTHead = Symbol("dartx.createTHead"), + _insertRow: dart.privateName(html$, "_insertRow"), + _nativeCreateTBody: dart.privateName(html$, "_nativeCreateTBody"), + $caption: dartx.caption = Symbol("dartx.caption"), + $tFoot: dartx.tFoot = Symbol("dartx.tFoot"), + $tHead: dartx.tHead = Symbol("dartx.tHead"), + $deleteCaption: dartx.deleteCaption = Symbol("dartx.deleteCaption"), + $deleteRow: dartx.deleteRow = Symbol("dartx.deleteRow"), + $deleteTFoot: dartx.deleteTFoot = Symbol("dartx.deleteTFoot"), + $deleteTHead: dartx.deleteTHead = Symbol("dartx.deleteTHead"), + _cells: dart.privateName(html$, "_cells"), + $cells: dartx.cells = Symbol("dartx.cells"), + $insertCell: dartx.insertCell = Symbol("dartx.insertCell"), + $addCell: dartx.addCell = Symbol("dartx.addCell"), + _insertCell: dart.privateName(html$, "_insertCell"), + $sectionRowIndex: dartx.sectionRowIndex = Symbol("dartx.sectionRowIndex"), + $deleteCell: dartx.deleteCell = Symbol("dartx.deleteCell"), + $containerId: dartx.containerId = Symbol("dartx.containerId"), + $containerName: dartx.containerName = Symbol("dartx.containerName"), + $containerSrc: dartx.containerSrc = Symbol("dartx.containerSrc"), + $containerType: dartx.containerType = Symbol("dartx.containerType"), + $cols: dartx.cols = Symbol("dartx.cols"), + $textLength: dartx.textLength = Symbol("dartx.textLength"), + $wrap: dartx.wrap = Symbol("dartx.wrap"), + _initTextEvent: dart.privateName(html$, "_initTextEvent"), + $actualBoundingBoxAscent: dartx.actualBoundingBoxAscent = Symbol("dartx.actualBoundingBoxAscent"), + $actualBoundingBoxDescent: dartx.actualBoundingBoxDescent = Symbol("dartx.actualBoundingBoxDescent"), + $actualBoundingBoxLeft: dartx.actualBoundingBoxLeft = Symbol("dartx.actualBoundingBoxLeft"), + $actualBoundingBoxRight: dartx.actualBoundingBoxRight = Symbol("dartx.actualBoundingBoxRight"), + $alphabeticBaseline: dartx.alphabeticBaseline = Symbol("dartx.alphabeticBaseline"), + $emHeightAscent: dartx.emHeightAscent = Symbol("dartx.emHeightAscent"), + $emHeightDescent: dartx.emHeightDescent = Symbol("dartx.emHeightDescent"), + $fontBoundingBoxAscent: dartx.fontBoundingBoxAscent = Symbol("dartx.fontBoundingBoxAscent"), + $fontBoundingBoxDescent: dartx.fontBoundingBoxDescent = Symbol("dartx.fontBoundingBoxDescent"), + $hangingBaseline: dartx.hangingBaseline = Symbol("dartx.hangingBaseline"), + $ideographicBaseline: dartx.ideographicBaseline = Symbol("dartx.ideographicBaseline"), + $activeCues: dartx.activeCues = Symbol("dartx.activeCues"), + $cues: dartx.cues = Symbol("dartx.cues"), + $addCue: dartx.addCue = Symbol("dartx.addCue"), + $removeCue: dartx.removeCue = Symbol("dartx.removeCue"), + $onCueChange: dartx.onCueChange = Symbol("dartx.onCueChange"), + $endTime: dartx.endTime = Symbol("dartx.endTime"), + $pauseOnExit: dartx.pauseOnExit = Symbol("dartx.pauseOnExit"), + $onEnter: dartx.onEnter = Symbol("dartx.onEnter"), + $onExit: dartx.onExit = Symbol("dartx.onExit"), + $getCueById: dartx.getCueById = Symbol("dartx.getCueById"), + $end: dartx.end = Symbol("dartx.end"), + $force: dartx.force = Symbol("dartx.force"), + $identifier: dartx.identifier = Symbol("dartx.identifier"), + _radiusX: dart.privateName(html$, "_radiusX"), + _radiusY: dart.privateName(html$, "_radiusY"), + $rotationAngle: dartx.rotationAngle = Symbol("dartx.rotationAngle"), + __clientX: dart.privateName(html$, "__clientX"), + __clientY: dart.privateName(html$, "__clientY"), + __screenX: dart.privateName(html$, "__screenX"), + __screenY: dart.privateName(html$, "__screenY"), + __pageX: dart.privateName(html$, "__pageX"), + __pageY: dart.privateName(html$, "__pageY"), + __radiusX: dart.privateName(html$, "__radiusX"), + __radiusY: dart.privateName(html$, "__radiusY"), + $radiusX: dartx.radiusX = Symbol("dartx.radiusX"), + $radiusY: dartx.radiusY = Symbol("dartx.radiusY"), + $changedTouches: dartx.changedTouches = Symbol("dartx.changedTouches") + }; + var S$3 = { + $targetTouches: dartx.targetTouches = Symbol("dartx.targetTouches"), + $touches: dartx.touches = Symbol("dartx.touches"), + $byteStreamTrackID: dartx.byteStreamTrackID = Symbol("dartx.byteStreamTrackID"), + $kinds: dartx.kinds = Symbol("dartx.kinds"), + $srclang: dartx.srclang = Symbol("dartx.srclang"), + $propertyName: dartx.propertyName = Symbol("dartx.propertyName"), + $pseudoElement: dartx.pseudoElement = Symbol("dartx.pseudoElement"), + $currentNode: dartx.currentNode = Symbol("dartx.currentNode"), + $notifyLockAcquired: dartx.notifyLockAcquired = Symbol("dartx.notifyLockAcquired"), + $notifyLockReleased: dartx.notifyLockReleased = Symbol("dartx.notifyLockReleased"), + $pull: dartx.pull = Symbol("dartx.pull"), + $searchParams: dartx.searchParams = Symbol("dartx.searchParams"), + $getDevices: dartx.getDevices = Symbol("dartx.getDevices"), + $getTransformTo: dartx.getTransformTo = Symbol("dartx.getTransformTo"), + $deviceName: dartx.deviceName = Symbol("dartx.deviceName"), + $isExternal: dartx.isExternal = Symbol("dartx.isExternal"), + $requestSession: dartx.requestSession = Symbol("dartx.requestSession"), + $supportsSession: dartx.supportsSession = Symbol("dartx.supportsSession"), + $device: dartx.device = Symbol("dartx.device"), + $capabilities: dartx.capabilities = Symbol("dartx.capabilities"), + $depthFar: dartx.depthFar = Symbol("dartx.depthFar"), + $depthNear: dartx.depthNear = Symbol("dartx.depthNear"), + $displayName: dartx.displayName = Symbol("dartx.displayName"), + $isPresenting: dartx.isPresenting = Symbol("dartx.isPresenting"), + $stageParameters: dartx.stageParameters = Symbol("dartx.stageParameters"), + $cancelAnimationFrame: dartx.cancelAnimationFrame = Symbol("dartx.cancelAnimationFrame"), + $exitPresent: dartx.exitPresent = Symbol("dartx.exitPresent"), + $getEyeParameters: dartx.getEyeParameters = Symbol("dartx.getEyeParameters"), + $getFrameData: dartx.getFrameData = Symbol("dartx.getFrameData"), + $getLayers: dartx.getLayers = Symbol("dartx.getLayers"), + $requestAnimationFrame: dartx.requestAnimationFrame = Symbol("dartx.requestAnimationFrame"), + $requestPresent: dartx.requestPresent = Symbol("dartx.requestPresent"), + $submitFrame: dartx.submitFrame = Symbol("dartx.submitFrame"), + $canPresent: dartx.canPresent = Symbol("dartx.canPresent"), + $hasExternalDisplay: dartx.hasExternalDisplay = Symbol("dartx.hasExternalDisplay"), + $maxLayers: dartx.maxLayers = Symbol("dartx.maxLayers"), + $renderHeight: dartx.renderHeight = Symbol("dartx.renderHeight"), + $renderWidth: dartx.renderWidth = Symbol("dartx.renderWidth"), + $leftProjectionMatrix: dartx.leftProjectionMatrix = Symbol("dartx.leftProjectionMatrix"), + $leftViewMatrix: dartx.leftViewMatrix = Symbol("dartx.leftViewMatrix"), + $rightProjectionMatrix: dartx.rightProjectionMatrix = Symbol("dartx.rightProjectionMatrix"), + $rightViewMatrix: dartx.rightViewMatrix = Symbol("dartx.rightViewMatrix"), + $bounds: dartx.bounds = Symbol("dartx.bounds"), + $emulatedHeight: dartx.emulatedHeight = Symbol("dartx.emulatedHeight"), + $exclusive: dartx.exclusive = Symbol("dartx.exclusive"), + $requestFrameOfReference: dartx.requestFrameOfReference = Symbol("dartx.requestFrameOfReference"), + $session: dartx.session = Symbol("dartx.session"), + $geometry: dartx.geometry = Symbol("dartx.geometry"), + $sittingToStandingTransform: dartx.sittingToStandingTransform = Symbol("dartx.sittingToStandingTransform"), + $sizeX: dartx.sizeX = Symbol("dartx.sizeX"), + $sizeZ: dartx.sizeZ = Symbol("dartx.sizeZ"), + $badInput: dartx.badInput = Symbol("dartx.badInput"), + $customError: dartx.customError = Symbol("dartx.customError"), + $patternMismatch: dartx.patternMismatch = Symbol("dartx.patternMismatch"), + $rangeOverflow: dartx.rangeOverflow = Symbol("dartx.rangeOverflow"), + $rangeUnderflow: dartx.rangeUnderflow = Symbol("dartx.rangeUnderflow"), + $stepMismatch: dartx.stepMismatch = Symbol("dartx.stepMismatch"), + $tooLong: dartx.tooLong = Symbol("dartx.tooLong"), + $tooShort: dartx.tooShort = Symbol("dartx.tooShort"), + $typeMismatch: dartx.typeMismatch = Symbol("dartx.typeMismatch"), + $valid: dartx.valid = Symbol("dartx.valid"), + $valueMissing: dartx.valueMissing = Symbol("dartx.valueMissing"), + $poster: dartx.poster = Symbol("dartx.poster"), + $videoHeight: dartx.videoHeight = Symbol("dartx.videoHeight"), + $videoWidth: dartx.videoWidth = Symbol("dartx.videoWidth"), + $decodedFrameCount: dartx.decodedFrameCount = Symbol("dartx.decodedFrameCount"), + $droppedFrameCount: dartx.droppedFrameCount = Symbol("dartx.droppedFrameCount"), + $getVideoPlaybackQuality: dartx.getVideoPlaybackQuality = Symbol("dartx.getVideoPlaybackQuality"), + $enterFullscreen: dartx.enterFullscreen = Symbol("dartx.enterFullscreen"), + $corruptedVideoFrames: dartx.corruptedVideoFrames = Symbol("dartx.corruptedVideoFrames"), + $creationTime: dartx.creationTime = Symbol("dartx.creationTime"), + $droppedVideoFrames: dartx.droppedVideoFrames = Symbol("dartx.droppedVideoFrames"), + $totalVideoFrames: dartx.totalVideoFrames = Symbol("dartx.totalVideoFrames"), + $sourceBuffer: dartx.sourceBuffer = Symbol("dartx.sourceBuffer"), + $pageLeft: dartx.pageLeft = Symbol("dartx.pageLeft"), + $pageTop: dartx.pageTop = Symbol("dartx.pageTop"), + $align: dartx.align = Symbol("dartx.align"), + $line: dartx.line = Symbol("dartx.line"), + $snapToLines: dartx.snapToLines = Symbol("dartx.snapToLines"), + $vertical: dartx.vertical = Symbol("dartx.vertical"), + $getCueAsHtml: dartx.getCueAsHtml = Symbol("dartx.getCueAsHtml"), + $lines: dartx.lines = Symbol("dartx.lines"), + $regionAnchorX: dartx.regionAnchorX = Symbol("dartx.regionAnchorX"), + $regionAnchorY: dartx.regionAnchorY = Symbol("dartx.regionAnchorY"), + $viewportAnchorX: dartx.viewportAnchorX = Symbol("dartx.viewportAnchorX"), + $viewportAnchorY: dartx.viewportAnchorY = Symbol("dartx.viewportAnchorY"), + $extensions: dartx.extensions = Symbol("dartx.extensions"), + _deltaX: dart.privateName(html$, "_deltaX"), + _deltaY: dart.privateName(html$, "_deltaY"), + $deltaZ: dartx.deltaZ = Symbol("dartx.deltaZ"), + $deltaMode: dartx.deltaMode = Symbol("dartx.deltaMode"), + _wheelDelta: dart.privateName(html$, "_wheelDelta"), + _wheelDeltaX: dart.privateName(html$, "_wheelDeltaX"), + _hasInitMouseScrollEvent: dart.privateName(html$, "_hasInitMouseScrollEvent"), + _initMouseScrollEvent: dart.privateName(html$, "_initMouseScrollEvent"), + _hasInitWheelEvent: dart.privateName(html$, "_hasInitWheelEvent"), + _initWheelEvent: dart.privateName(html$, "_initWheelEvent"), + $animationFrame: dartx.animationFrame = Symbol("dartx.animationFrame"), + $document: dartx.document = Symbol("dartx.document"), + _open2: dart.privateName(html$, "_open2"), + _open3: dart.privateName(html$, "_open3"), + _location: dart.privateName(html$, "_location"), + _ensureRequestAnimationFrame: dart.privateName(html$, "_ensureRequestAnimationFrame"), + _requestAnimationFrame: dart.privateName(html$, "_requestAnimationFrame"), + _cancelAnimationFrame: dart.privateName(html$, "_cancelAnimationFrame"), + _requestFileSystem: dart.privateName(html$, "_requestFileSystem"), + $requestFileSystem: dartx.requestFileSystem = Symbol("dartx.requestFileSystem"), + $animationWorklet: dartx.animationWorklet = Symbol("dartx.animationWorklet"), + $applicationCache: dartx.applicationCache = Symbol("dartx.applicationCache"), + $audioWorklet: dartx.audioWorklet = Symbol("dartx.audioWorklet"), + $cookieStore: dartx.cookieStore = Symbol("dartx.cookieStore"), + $customElements: dartx.customElements = Symbol("dartx.customElements"), + $defaultStatus: dartx.defaultStatus = Symbol("dartx.defaultStatus"), + $defaultstatus: dartx.defaultstatus = Symbol("dartx.defaultstatus"), + $external: dartx.external = Symbol("dartx.external"), + $history: dartx.history = Symbol("dartx.history"), + $innerHeight: dartx.innerHeight = Symbol("dartx.innerHeight"), + $innerWidth: dartx.innerWidth = Symbol("dartx.innerWidth"), + $localStorage: dartx.localStorage = Symbol("dartx.localStorage"), + $locationbar: dartx.locationbar = Symbol("dartx.locationbar"), + $menubar: dartx.menubar = Symbol("dartx.menubar"), + $offscreenBuffering: dartx.offscreenBuffering = Symbol("dartx.offscreenBuffering"), + _get_opener: dart.privateName(html$, "_get_opener"), + $opener: dartx.opener = Symbol("dartx.opener"), + $outerHeight: dartx.outerHeight = Symbol("dartx.outerHeight"), + $outerWidth: dartx.outerWidth = Symbol("dartx.outerWidth"), + _pageXOffset: dart.privateName(html$, "_pageXOffset"), + _pageYOffset: dart.privateName(html$, "_pageYOffset"), + _get_parent: dart.privateName(html$, "_get_parent"), + $screenLeft: dartx.screenLeft = Symbol("dartx.screenLeft"), + $screenTop: dartx.screenTop = Symbol("dartx.screenTop"), + $screenX: dartx.screenX = Symbol("dartx.screenX"), + $screenY: dartx.screenY = Symbol("dartx.screenY"), + $scrollbars: dartx.scrollbars = Symbol("dartx.scrollbars"), + _get_self: dart.privateName(html$, "_get_self"), + $sessionStorage: dartx.sessionStorage = Symbol("dartx.sessionStorage"), + $speechSynthesis: dartx.speechSynthesis = Symbol("dartx.speechSynthesis"), + $statusbar: dartx.statusbar = Symbol("dartx.statusbar"), + $styleMedia: dartx.styleMedia = Symbol("dartx.styleMedia"), + $toolbar: dartx.toolbar = Symbol("dartx.toolbar"), + _get_top: dart.privateName(html$, "_get_top"), + $visualViewport: dartx.visualViewport = Symbol("dartx.visualViewport"), + __getter___1: dart.privateName(html$, "__getter___1"), + __getter___2: dart.privateName(html$, "__getter___2"), + $alert: dartx.alert = Symbol("dartx.alert"), + $cancelIdleCallback: dartx.cancelIdleCallback = Symbol("dartx.cancelIdleCallback"), + $confirm: dartx.confirm = Symbol("dartx.confirm"), + $find: dartx.find = Symbol("dartx.find"), + $getComputedStyleMap: dartx.getComputedStyleMap = Symbol("dartx.getComputedStyleMap"), + $getMatchedCssRules: dartx.getMatchedCssRules = Symbol("dartx.getMatchedCssRules"), + $matchMedia: dartx.matchMedia = Symbol("dartx.matchMedia"), + $moveBy: dartx.moveBy = Symbol("dartx.moveBy"), + _openDatabase: dart.privateName(html$, "_openDatabase"), + $print: dartx.print = Symbol("dartx.print"), + _requestIdleCallback_1: dart.privateName(html$, "_requestIdleCallback_1"), + _requestIdleCallback_2: dart.privateName(html$, "_requestIdleCallback_2"), + $requestIdleCallback: dartx.requestIdleCallback = Symbol("dartx.requestIdleCallback"), + $resizeBy: dartx.resizeBy = Symbol("dartx.resizeBy"), + $resizeTo: dartx.resizeTo = Symbol("dartx.resizeTo"), + _scroll_4: dart.privateName(html$, "_scroll_4"), + _scroll_5: dart.privateName(html$, "_scroll_5"), + _scrollBy_4: dart.privateName(html$, "_scrollBy_4"), + _scrollBy_5: dart.privateName(html$, "_scrollBy_5"), + _scrollTo_4: dart.privateName(html$, "_scrollTo_4"), + _scrollTo_5: dart.privateName(html$, "_scrollTo_5"), + __requestFileSystem: dart.privateName(html$, "__requestFileSystem"), + _resolveLocalFileSystemUrl: dart.privateName(html$, "_resolveLocalFileSystemUrl"), + $resolveLocalFileSystemUrl: dartx.resolveLocalFileSystemUrl = Symbol("dartx.resolveLocalFileSystemUrl"), + $onContentLoaded: dartx.onContentLoaded = Symbol("dartx.onContentLoaded"), + $onDeviceMotion: dartx.onDeviceMotion = Symbol("dartx.onDeviceMotion"), + $onDeviceOrientation: dartx.onDeviceOrientation = Symbol("dartx.onDeviceOrientation"), + $onPageHide: dartx.onPageHide = Symbol("dartx.onPageHide"), + $onPageShow: dartx.onPageShow = Symbol("dartx.onPageShow"), + $onAnimationEnd: dartx.onAnimationEnd = Symbol("dartx.onAnimationEnd"), + $onAnimationIteration: dartx.onAnimationIteration = Symbol("dartx.onAnimationIteration"), + $onAnimationStart: dartx.onAnimationStart = Symbol("dartx.onAnimationStart"), + $onBeforeUnload: dartx.onBeforeUnload = Symbol("dartx.onBeforeUnload"), + $openDatabase: dartx.openDatabase = Symbol("dartx.openDatabase"), + $pageXOffset: dartx.pageXOffset = Symbol("dartx.pageXOffset"), + $pageYOffset: dartx.pageYOffset = Symbol("dartx.pageYOffset"), + $scrollX: dartx.scrollX = Symbol("dartx.scrollX"), + $scrollY: dartx.scrollY = Symbol("dartx.scrollY"), + _BeforeUnloadEventStreamProvider__eventType: dart.privateName(html$, "_BeforeUnloadEventStreamProvider._eventType"), + _returnValue: dart.privateName(html$, "_returnValue"), + wrapped: dart.privateName(html$, "_WrappedEvent.wrapped"), + _eventType: dart.privateName(html$, "_BeforeUnloadEventStreamProvider._eventType"), + _eventType$1: dart.privateName(html$, "_eventType"), + $focused: dartx.focused = Symbol("dartx.focused"), + $navigate: dartx.navigate = Symbol("dartx.navigate"), + $createExpression: dartx.createExpression = Symbol("dartx.createExpression"), + $createNSResolver: dartx.createNSResolver = Symbol("dartx.createNSResolver"), + $evaluate: dartx.evaluate = Symbol("dartx.evaluate"), + $lookupNamespaceUri: dartx.lookupNamespaceUri = Symbol("dartx.lookupNamespaceUri"), + $booleanValue: dartx.booleanValue = Symbol("dartx.booleanValue"), + $invalidIteratorState: dartx.invalidIteratorState = Symbol("dartx.invalidIteratorState"), + $numberValue: dartx.numberValue = Symbol("dartx.numberValue"), + $resultType: dartx.resultType = Symbol("dartx.resultType"), + $singleNodeValue: dartx.singleNodeValue = Symbol("dartx.singleNodeValue"), + $snapshotLength: dartx.snapshotLength = Symbol("dartx.snapshotLength"), + $stringValue: dartx.stringValue = Symbol("dartx.stringValue"), + $iterateNext: dartx.iterateNext = Symbol("dartx.iterateNext"), + $snapshotItem: dartx.snapshotItem = Symbol("dartx.snapshotItem"), + $serializeToString: dartx.serializeToString = Symbol("dartx.serializeToString"), + $clearParameters: dartx.clearParameters = Symbol("dartx.clearParameters"), + $getParameter: dartx.getParameter = Symbol("dartx.getParameter"), + $importStylesheet: dartx.importStylesheet = Symbol("dartx.importStylesheet"), + $removeParameter: dartx.removeParameter = Symbol("dartx.removeParameter"), + $setParameter: dartx.setParameter = Symbol("dartx.setParameter"), + $transformToDocument: dartx.transformToDocument = Symbol("dartx.transformToDocument"), + $transformToFragment: dartx.transformToFragment = Symbol("dartx.transformToFragment"), + $getBudget: dartx.getBudget = Symbol("dartx.getBudget"), + $getCost: dartx.getCost = Symbol("dartx.getCost"), + $reserve: dartx.reserve = Symbol("dartx.reserve"), + $read: dartx.read = Symbol("dartx.read"), + $readText: dartx.readText = Symbol("dartx.readText"), + $writeText: dartx.writeText = Symbol("dartx.writeText"), + $getNamedItem: dartx.getNamedItem = Symbol("dartx.getNamedItem"), + $getNamedItemNS: dartx.getNamedItemNS = Symbol("dartx.getNamedItemNS"), + $removeNamedItem: dartx.removeNamedItem = Symbol("dartx.removeNamedItem"), + $removeNamedItemNS: dartx.removeNamedItemNS = Symbol("dartx.removeNamedItemNS"), + $setNamedItem: dartx.setNamedItem = Symbol("dartx.setNamedItem"), + $setNamedItemNS: dartx.setNamedItemNS = Symbol("dartx.setNamedItemNS"), + $cache: dartx.cache = Symbol("dartx.cache"), + $redirect: dartx.redirect = Symbol("dartx.redirect"), + _matches: dart.privateName(html$, "_matches"), + _namespace: dart.privateName(html$, "_namespace"), + _attr: dart.privateName(html$, "_attr"), + _strip: dart.privateName(html$, "_strip"), + _toHyphenedName: dart.privateName(html$, "_toHyphenedName"), + _toCamelCase: dart.privateName(html$, "_toCamelCase"), + _addOrSubtractToBoxModel: dart.privateName(html$, "_addOrSubtractToBoxModel"), + _elementList: dart.privateName(html$, "_elementList"), + _sets: dart.privateName(html$, "_sets"), + _validateToken: dart.privateName(html_common, "_validateToken"), + _unit: dart.privateName(html$, "_unit"), + _eventType$2: dart.privateName(html$, "EventStreamProvider._eventType"), + _target$2: dart.privateName(html$, "_target"), + _useCapture: dart.privateName(html$, "_useCapture"), + _targetList: dart.privateName(html$, "_targetList"), + _pauseCount$1: dart.privateName(html$, "_pauseCount"), + _onData$3: dart.privateName(html$, "_onData"), + _tryResume: dart.privateName(html$, "_tryResume"), + _canceled: dart.privateName(html$, "_canceled"), + _unlisten: dart.privateName(html$, "_unlisten"), + _type$5: dart.privateName(html$, "_type"), + _streamController: dart.privateName(html$, "_streamController"), + _parent$2: dart.privateName(html$, "_parent"), + _currentTarget: dart.privateName(html$, "_currentTarget"), + _shadowAltKey: dart.privateName(html$, "_shadowAltKey"), + _shadowCharCode: dart.privateName(html$, "_shadowCharCode"), + _shadowKeyCode: dart.privateName(html$, "_shadowKeyCode"), + _realAltKey: dart.privateName(html$, "_realAltKey"), + _realCharCode: dart.privateName(html$, "_realCharCode"), + _realKeyCode: dart.privateName(html$, "_realKeyCode"), + _shadowKeyIdentifier: dart.privateName(html$, "_shadowKeyIdentifier"), + _keyIdentifier: dart.privateName(html$, "_keyIdentifier"), + _controller$2: dart.privateName(html$, "_controller"), + _subscriptions: dart.privateName(html$, "_subscriptions"), + _eventTypeGetter: dart.privateName(html$, "_CustomEventStreamProvider._eventTypeGetter"), + _eventTypeGetter$1: dart.privateName(html$, "_eventTypeGetter"), + _keyDownList: dart.privateName(html$, "_keyDownList"), + _stream$3: dart.privateName(html$, "_stream"), + _capsLockOn: dart.privateName(html$, "_capsLockOn"), + _determineKeyCodeForKeypress: dart.privateName(html$, "_determineKeyCodeForKeypress"), + _findCharCodeKeyDown: dart.privateName(html$, "_findCharCodeKeyDown"), + _firesKeyPressEvent: dart.privateName(html$, "_firesKeyPressEvent"), + _normalizeKeyCodes: dart.privateName(html$, "_normalizeKeyCodes"), + _validators: dart.privateName(html$, "_validators"), + _templateAttrs: dart.privateName(html$, "_templateAttrs"), + _list$19: dart.privateName(html$, "_list"), + _iterator$3: dart.privateName(html$, "_iterator"), + _current$4: dart.privateName(html$, "_current"), + _array: dart.privateName(html$, "_array"), + _isConsoleDefined: dart.privateName(html$, "_isConsoleDefined"), + _interceptor: dart.privateName(html$, "_interceptor"), + _constructor: dart.privateName(html$, "_constructor"), + _nativeType: dart.privateName(html$, "_nativeType"), + _window: dart.privateName(html$, "_window"), + _history: dart.privateName(html$, "_history"), + _hiddenAnchor: dart.privateName(html$, "_hiddenAnchor"), + _loc: dart.privateName(html$, "_loc"), + _removeNode: dart.privateName(html$, "_removeNode"), + _sanitizeElement: dart.privateName(html$, "_sanitizeElement"), + _sanitizeUntrustedElement: dart.privateName(html$, "_sanitizeUntrustedElement"), + alpha: dart.privateName(html_common, "ContextAttributes.alpha"), + antialias: dart.privateName(html_common, "ContextAttributes.antialias"), + depth: dart.privateName(html_common, "ContextAttributes.depth"), + premultipliedAlpha: dart.privateName(html_common, "ContextAttributes.premultipliedAlpha"), + preserveDrawingBuffer: dart.privateName(html_common, "ContextAttributes.preserveDrawingBuffer"), + stencil: dart.privateName(html_common, "ContextAttributes.stencil"), + failIfMajorPerformanceCaveat: dart.privateName(html_common, "ContextAttributes.failIfMajorPerformanceCaveat"), + data$1: dart.privateName(html_common, "_TypedImageData.data"), + height$1: dart.privateName(html_common, "_TypedImageData.height"), + width$1: dart.privateName(html_common, "_TypedImageData.width"), + _childNodes: dart.privateName(html_common, "_childNodes"), + _node: dart.privateName(html_common, "_node"), + _iterable$2: dart.privateName(html_common, "_iterable"), + _filtered: dart.privateName(html_common, "_filtered"), + $farthestViewportElement: dartx.farthestViewportElement = Symbol("dartx.farthestViewportElement"), + $nearestViewportElement: dartx.nearestViewportElement = Symbol("dartx.nearestViewportElement"), + $getBBox: dartx.getBBox = Symbol("dartx.getBBox"), + $getCtm: dartx.getCtm = Symbol("dartx.getCtm"), + $getScreenCtm: dartx.getScreenCtm = Symbol("dartx.getScreenCtm"), + $requiredExtensions: dartx.requiredExtensions = Symbol("dartx.requiredExtensions"), + $systemLanguage: dartx.systemLanguage = Symbol("dartx.systemLanguage"), + _children$1: dart.privateName(svg$, "_children"), + _svgClassName: dart.privateName(svg$, "_svgClassName"), + $ownerSvgElement: dartx.ownerSvgElement = Symbol("dartx.ownerSvgElement"), + $viewportElement: dartx.viewportElement = Symbol("dartx.viewportElement"), + $unitType: dartx.unitType = Symbol("dartx.unitType"), + $valueAsString: dartx.valueAsString = Symbol("dartx.valueAsString"), + $valueInSpecifiedUnits: dartx.valueInSpecifiedUnits = Symbol("dartx.valueInSpecifiedUnits"), + $convertToSpecifiedUnits: dartx.convertToSpecifiedUnits = Symbol("dartx.convertToSpecifiedUnits"), + $newValueSpecifiedUnits: dartx.newValueSpecifiedUnits = Symbol("dartx.newValueSpecifiedUnits"), + $targetElement: dartx.targetElement = Symbol("dartx.targetElement"), + $beginElement: dartx.beginElement = Symbol("dartx.beginElement"), + $beginElementAt: dartx.beginElementAt = Symbol("dartx.beginElementAt"), + $endElement: dartx.endElement = Symbol("dartx.endElement"), + $endElementAt: dartx.endElementAt = Symbol("dartx.endElementAt"), + $getCurrentTime: dartx.getCurrentTime = Symbol("dartx.getCurrentTime"), + $getSimpleDuration: dartx.getSimpleDuration = Symbol("dartx.getSimpleDuration"), + $getStartTime: dartx.getStartTime = Symbol("dartx.getStartTime"), + $animVal: dartx.animVal = Symbol("dartx.animVal"), + $baseVal: dartx.baseVal = Symbol("dartx.baseVal"), + $cx: dartx.cx = Symbol("dartx.cx"), + $cy: dartx.cy = Symbol("dartx.cy"), + $r: dartx.r = Symbol("dartx.r"), + $pathLength: dartx.pathLength = Symbol("dartx.pathLength"), + $getPointAtLength: dartx.getPointAtLength = Symbol("dartx.getPointAtLength"), + $getTotalLength: dartx.getTotalLength = Symbol("dartx.getTotalLength"), + $isPointInFill: dartx.isPointInFill = Symbol("dartx.isPointInFill"), + $clipPathUnits: dartx.clipPathUnits = Symbol("dartx.clipPathUnits"), + $rx: dartx.rx = Symbol("dartx.rx"), + $ry: dartx.ry = Symbol("dartx.ry"), + $in1: dartx.in1 = Symbol("dartx.in1"), + $in2: dartx.in2 = Symbol("dartx.in2"), + $k1: dartx.k1 = Symbol("dartx.k1"), + $k2: dartx.k2 = Symbol("dartx.k2"), + $k3: dartx.k3 = Symbol("dartx.k3"), + $k4: dartx.k4 = Symbol("dartx.k4"), + $operator: dartx.operator = Symbol("dartx.operator"), + $bias: dartx.bias = Symbol("dartx.bias"), + $divisor: dartx.divisor = Symbol("dartx.divisor"), + $edgeMode: dartx.edgeMode = Symbol("dartx.edgeMode"), + $kernelMatrix: dartx.kernelMatrix = Symbol("dartx.kernelMatrix"), + $kernelUnitLengthX: dartx.kernelUnitLengthX = Symbol("dartx.kernelUnitLengthX"), + $kernelUnitLengthY: dartx.kernelUnitLengthY = Symbol("dartx.kernelUnitLengthY"), + $orderX: dartx.orderX = Symbol("dartx.orderX"), + $orderY: dartx.orderY = Symbol("dartx.orderY"), + $preserveAlpha: dartx.preserveAlpha = Symbol("dartx.preserveAlpha"), + $targetX: dartx.targetX = Symbol("dartx.targetX"), + $targetY: dartx.targetY = Symbol("dartx.targetY"), + $diffuseConstant: dartx.diffuseConstant = Symbol("dartx.diffuseConstant"), + $surfaceScale: dartx.surfaceScale = Symbol("dartx.surfaceScale"), + $xChannelSelector: dartx.xChannelSelector = Symbol("dartx.xChannelSelector"), + $yChannelSelector: dartx.yChannelSelector = Symbol("dartx.yChannelSelector"), + $azimuth: dartx.azimuth = Symbol("dartx.azimuth"), + $elevation: dartx.elevation = Symbol("dartx.elevation"), + $stdDeviationX: dartx.stdDeviationX = Symbol("dartx.stdDeviationX"), + $stdDeviationY: dartx.stdDeviationY = Symbol("dartx.stdDeviationY"), + $setStdDeviation: dartx.setStdDeviation = Symbol("dartx.setStdDeviation"), + $preserveAspectRatio: dartx.preserveAspectRatio = Symbol("dartx.preserveAspectRatio"), + $dx: dartx.dx = Symbol("dartx.dx"), + $dy: dartx.dy = Symbol("dartx.dy"), + $specularConstant: dartx.specularConstant = Symbol("dartx.specularConstant"), + $specularExponent: dartx.specularExponent = Symbol("dartx.specularExponent"), + $limitingConeAngle: dartx.limitingConeAngle = Symbol("dartx.limitingConeAngle"), + $pointsAtX: dartx.pointsAtX = Symbol("dartx.pointsAtX"), + $pointsAtY: dartx.pointsAtY = Symbol("dartx.pointsAtY"), + $pointsAtZ: dartx.pointsAtZ = Symbol("dartx.pointsAtZ"), + $baseFrequencyX: dartx.baseFrequencyX = Symbol("dartx.baseFrequencyX"), + $baseFrequencyY: dartx.baseFrequencyY = Symbol("dartx.baseFrequencyY"), + $numOctaves: dartx.numOctaves = Symbol("dartx.numOctaves"), + $seed: dartx.seed = Symbol("dartx.seed"), + $stitchTiles: dartx.stitchTiles = Symbol("dartx.stitchTiles"), + $filterUnits: dartx.filterUnits = Symbol("dartx.filterUnits"), + $primitiveUnits: dartx.primitiveUnits = Symbol("dartx.primitiveUnits"), + $viewBox: dartx.viewBox = Symbol("dartx.viewBox"), + $numberOfItems: dartx.numberOfItems = Symbol("dartx.numberOfItems"), + __setter__$1: dart.privateName(svg$, "__setter__"), + $appendItem: dartx.appendItem = Symbol("dartx.appendItem"), + $getItem: dartx.getItem = Symbol("dartx.getItem"), + $initialize: dartx.initialize = Symbol("dartx.initialize"), + $insertItemBefore: dartx.insertItemBefore = Symbol("dartx.insertItemBefore"), + $removeItem: dartx.removeItem = Symbol("dartx.removeItem"), + $replaceItem: dartx.replaceItem = Symbol("dartx.replaceItem"), + $x1: dartx.x1 = Symbol("dartx.x1"), + $x2: dartx.x2 = Symbol("dartx.x2"), + $y1: dartx.y1 = Symbol("dartx.y1"), + $y2: dartx.y2 = Symbol("dartx.y2"), + $gradientTransform: dartx.gradientTransform = Symbol("dartx.gradientTransform"), + $gradientUnits: dartx.gradientUnits = Symbol("dartx.gradientUnits"), + $spreadMethod: dartx.spreadMethod = Symbol("dartx.spreadMethod"), + $markerHeight: dartx.markerHeight = Symbol("dartx.markerHeight"), + $markerUnits: dartx.markerUnits = Symbol("dartx.markerUnits"), + $markerWidth: dartx.markerWidth = Symbol("dartx.markerWidth"), + $orientAngle: dartx.orientAngle = Symbol("dartx.orientAngle"), + $orientType: dartx.orientType = Symbol("dartx.orientType"), + $refX: dartx.refX = Symbol("dartx.refX"), + $refY: dartx.refY = Symbol("dartx.refY"), + $setOrientToAngle: dartx.setOrientToAngle = Symbol("dartx.setOrientToAngle"), + $setOrientToAuto: dartx.setOrientToAuto = Symbol("dartx.setOrientToAuto"), + $maskContentUnits: dartx.maskContentUnits = Symbol("dartx.maskContentUnits"), + $maskUnits: dartx.maskUnits = Symbol("dartx.maskUnits"), + $scaleNonUniform: dartx.scaleNonUniform = Symbol("dartx.scaleNonUniform"), + $patternContentUnits: dartx.patternContentUnits = Symbol("dartx.patternContentUnits"), + $patternTransform: dartx.patternTransform = Symbol("dartx.patternTransform"), + $patternUnits: dartx.patternUnits = Symbol("dartx.patternUnits"), + $animatedPoints: dartx.animatedPoints = Symbol("dartx.animatedPoints"), + $points: dartx.points = Symbol("dartx.points"), + $meetOrSlice: dartx.meetOrSlice = Symbol("dartx.meetOrSlice"), + $fr: dartx.fr = Symbol("dartx.fr"), + $fx: dartx.fx = Symbol("dartx.fx"), + $fy: dartx.fy = Symbol("dartx.fy"), + $gradientOffset: dartx.gradientOffset = Symbol("dartx.gradientOffset"), + _element$3: dart.privateName(svg$, "_element"), + $currentScale: dartx.currentScale = Symbol("dartx.currentScale"), + $currentTranslate: dartx.currentTranslate = Symbol("dartx.currentTranslate"), + $animationsPaused: dartx.animationsPaused = Symbol("dartx.animationsPaused"), + $checkEnclosure: dartx.checkEnclosure = Symbol("dartx.checkEnclosure"), + $checkIntersection: dartx.checkIntersection = Symbol("dartx.checkIntersection"), + $createSvgAngle: dartx.createSvgAngle = Symbol("dartx.createSvgAngle"), + $createSvgLength: dartx.createSvgLength = Symbol("dartx.createSvgLength"), + $createSvgMatrix: dartx.createSvgMatrix = Symbol("dartx.createSvgMatrix"), + $createSvgNumber: dartx.createSvgNumber = Symbol("dartx.createSvgNumber"), + $createSvgPoint: dartx.createSvgPoint = Symbol("dartx.createSvgPoint"), + $createSvgRect: dartx.createSvgRect = Symbol("dartx.createSvgRect"), + $createSvgTransform: dartx.createSvgTransform = Symbol("dartx.createSvgTransform"), + $createSvgTransformFromMatrix: dartx.createSvgTransformFromMatrix = Symbol("dartx.createSvgTransformFromMatrix"), + $deselectAll: dartx.deselectAll = Symbol("dartx.deselectAll"), + $forceRedraw: dartx.forceRedraw = Symbol("dartx.forceRedraw"), + $getEnclosureList: dartx.getEnclosureList = Symbol("dartx.getEnclosureList"), + $getIntersectionList: dartx.getIntersectionList = Symbol("dartx.getIntersectionList"), + $pauseAnimations: dartx.pauseAnimations = Symbol("dartx.pauseAnimations"), + $setCurrentTime: dartx.setCurrentTime = Symbol("dartx.setCurrentTime"), + $suspendRedraw: dartx.suspendRedraw = Symbol("dartx.suspendRedraw"), + $unpauseAnimations: dartx.unpauseAnimations = Symbol("dartx.unpauseAnimations"), + $unsuspendRedraw: dartx.unsuspendRedraw = Symbol("dartx.unsuspendRedraw"), + $unsuspendRedrawAll: dartx.unsuspendRedrawAll = Symbol("dartx.unsuspendRedrawAll"), + $zoomAndPan: dartx.zoomAndPan = Symbol("dartx.zoomAndPan"), + $lengthAdjust: dartx.lengthAdjust = Symbol("dartx.lengthAdjust"), + $getCharNumAtPosition: dartx.getCharNumAtPosition = Symbol("dartx.getCharNumAtPosition"), + $getComputedTextLength: dartx.getComputedTextLength = Symbol("dartx.getComputedTextLength"), + $getEndPositionOfChar: dartx.getEndPositionOfChar = Symbol("dartx.getEndPositionOfChar"), + $getExtentOfChar: dartx.getExtentOfChar = Symbol("dartx.getExtentOfChar"), + $getNumberOfChars: dartx.getNumberOfChars = Symbol("dartx.getNumberOfChars"), + $getRotationOfChar: dartx.getRotationOfChar = Symbol("dartx.getRotationOfChar"), + $getStartPositionOfChar: dartx.getStartPositionOfChar = Symbol("dartx.getStartPositionOfChar"), + $getSubStringLength: dartx.getSubStringLength = Symbol("dartx.getSubStringLength"), + $selectSubString: dartx.selectSubString = Symbol("dartx.selectSubString"), + $spacing: dartx.spacing = Symbol("dartx.spacing"), + $setMatrix: dartx.setMatrix = Symbol("dartx.setMatrix"), + $setRotate: dartx.setRotate = Symbol("dartx.setRotate"), + $setScale: dartx.setScale = Symbol("dartx.setScale"), + $setSkewX: dartx.setSkewX = Symbol("dartx.setSkewX"), + $setSkewY: dartx.setSkewY = Symbol("dartx.setSkewY"), + $setTranslate: dartx.setTranslate = Symbol("dartx.setTranslate"), + $consolidate: dartx.consolidate = Symbol("dartx.consolidate"), + $fftSize: dartx.fftSize = Symbol("dartx.fftSize"), + $frequencyBinCount: dartx.frequencyBinCount = Symbol("dartx.frequencyBinCount"), + $maxDecibels: dartx.maxDecibels = Symbol("dartx.maxDecibels"), + $minDecibels: dartx.minDecibels = Symbol("dartx.minDecibels"), + $smoothingTimeConstant: dartx.smoothingTimeConstant = Symbol("dartx.smoothingTimeConstant"), + $getByteFrequencyData: dartx.getByteFrequencyData = Symbol("dartx.getByteFrequencyData"), + $getByteTimeDomainData: dartx.getByteTimeDomainData = Symbol("dartx.getByteTimeDomainData"), + $getFloatFrequencyData: dartx.getFloatFrequencyData = Symbol("dartx.getFloatFrequencyData"), + $getFloatTimeDomainData: dartx.getFloatTimeDomainData = Symbol("dartx.getFloatTimeDomainData"), + $channelCount: dartx.channelCount = Symbol("dartx.channelCount"), + $channelCountMode: dartx.channelCountMode = Symbol("dartx.channelCountMode"), + $channelInterpretation: dartx.channelInterpretation = Symbol("dartx.channelInterpretation"), + $context: dartx.context = Symbol("dartx.context"), + $numberOfInputs: dartx.numberOfInputs = Symbol("dartx.numberOfInputs"), + $numberOfOutputs: dartx.numberOfOutputs = Symbol("dartx.numberOfOutputs"), + _connect: dart.privateName(web_audio, "_connect"), + $connectNode: dartx.connectNode = Symbol("dartx.connectNode"), + $connectParam: dartx.connectParam = Symbol("dartx.connectParam"), + $numberOfChannels: dartx.numberOfChannels = Symbol("dartx.numberOfChannels"), + $sampleRate: dartx.sampleRate = Symbol("dartx.sampleRate"), + $copyFromChannel: dartx.copyFromChannel = Symbol("dartx.copyFromChannel"), + $copyToChannel: dartx.copyToChannel = Symbol("dartx.copyToChannel"), + $getChannelData: dartx.getChannelData = Symbol("dartx.getChannelData"), + $detune: dartx.detune = Symbol("dartx.detune"), + $loopEnd: dartx.loopEnd = Symbol("dartx.loopEnd"), + $loopStart: dartx.loopStart = Symbol("dartx.loopStart"), + $start2: dartx.start2 = Symbol("dartx.start2"), + $baseLatency: dartx.baseLatency = Symbol("dartx.baseLatency"), + _getOutputTimestamp_1: dart.privateName(web_audio, "_getOutputTimestamp_1"), + $getOutputTimestamp: dartx.getOutputTimestamp = Symbol("dartx.getOutputTimestamp"), + $suspend: dartx.suspend = Symbol("dartx.suspend"), + $createGain: dartx.createGain = Symbol("dartx.createGain"), + $createScriptProcessor: dartx.createScriptProcessor = Symbol("dartx.createScriptProcessor"), + _decodeAudioData: dart.privateName(web_audio, "_decodeAudioData"), + $decodeAudioData: dartx.decodeAudioData = Symbol("dartx.decodeAudioData"), + $destination: dartx.destination = Symbol("dartx.destination"), + $listener: dartx.listener = Symbol("dartx.listener"), + $createAnalyser: dartx.createAnalyser = Symbol("dartx.createAnalyser"), + $createBiquadFilter: dartx.createBiquadFilter = Symbol("dartx.createBiquadFilter"), + $createBuffer: dartx.createBuffer = Symbol("dartx.createBuffer"), + $createBufferSource: dartx.createBufferSource = Symbol("dartx.createBufferSource"), + $createChannelMerger: dartx.createChannelMerger = Symbol("dartx.createChannelMerger") + }; + var S$4 = { + $createChannelSplitter: dartx.createChannelSplitter = Symbol("dartx.createChannelSplitter"), + $createConstantSource: dartx.createConstantSource = Symbol("dartx.createConstantSource"), + $createConvolver: dartx.createConvolver = Symbol("dartx.createConvolver"), + $createDelay: dartx.createDelay = Symbol("dartx.createDelay"), + $createDynamicsCompressor: dartx.createDynamicsCompressor = Symbol("dartx.createDynamicsCompressor"), + $createIirFilter: dartx.createIirFilter = Symbol("dartx.createIirFilter"), + $createMediaElementSource: dartx.createMediaElementSource = Symbol("dartx.createMediaElementSource"), + $createMediaStreamDestination: dartx.createMediaStreamDestination = Symbol("dartx.createMediaStreamDestination"), + $createMediaStreamSource: dartx.createMediaStreamSource = Symbol("dartx.createMediaStreamSource"), + $createOscillator: dartx.createOscillator = Symbol("dartx.createOscillator"), + $createPanner: dartx.createPanner = Symbol("dartx.createPanner"), + _createPeriodicWave_1: dart.privateName(web_audio, "_createPeriodicWave_1"), + _createPeriodicWave_2: dart.privateName(web_audio, "_createPeriodicWave_2"), + $createPeriodicWave: dartx.createPeriodicWave = Symbol("dartx.createPeriodicWave"), + $createStereoPanner: dartx.createStereoPanner = Symbol("dartx.createStereoPanner"), + $createWaveShaper: dartx.createWaveShaper = Symbol("dartx.createWaveShaper"), + $maxChannelCount: dartx.maxChannelCount = Symbol("dartx.maxChannelCount"), + $forwardX: dartx.forwardX = Symbol("dartx.forwardX"), + $forwardY: dartx.forwardY = Symbol("dartx.forwardY"), + $forwardZ: dartx.forwardZ = Symbol("dartx.forwardZ"), + $positionZ: dartx.positionZ = Symbol("dartx.positionZ"), + $upX: dartx.upX = Symbol("dartx.upX"), + $upY: dartx.upY = Symbol("dartx.upY"), + $upZ: dartx.upZ = Symbol("dartx.upZ"), + $setOrientation: dartx.setOrientation = Symbol("dartx.setOrientation"), + $maxValue: dartx.maxValue = Symbol("dartx.maxValue"), + $minValue: dartx.minValue = Symbol("dartx.minValue"), + $cancelAndHoldAtTime: dartx.cancelAndHoldAtTime = Symbol("dartx.cancelAndHoldAtTime"), + $cancelScheduledValues: dartx.cancelScheduledValues = Symbol("dartx.cancelScheduledValues"), + $exponentialRampToValueAtTime: dartx.exponentialRampToValueAtTime = Symbol("dartx.exponentialRampToValueAtTime"), + $linearRampToValueAtTime: dartx.linearRampToValueAtTime = Symbol("dartx.linearRampToValueAtTime"), + $setTargetAtTime: dartx.setTargetAtTime = Symbol("dartx.setTargetAtTime"), + $setValueAtTime: dartx.setValueAtTime = Symbol("dartx.setValueAtTime"), + $setValueCurveAtTime: dartx.setValueCurveAtTime = Symbol("dartx.setValueCurveAtTime"), + _getItem$1: dart.privateName(web_audio, "_getItem"), + $inputBuffer: dartx.inputBuffer = Symbol("dartx.inputBuffer"), + $outputBuffer: dartx.outputBuffer = Symbol("dartx.outputBuffer"), + $playbackTime: dartx.playbackTime = Symbol("dartx.playbackTime"), + __getter__$1: dart.privateName(web_audio, "__getter__"), + $registerProcessor: dartx.registerProcessor = Symbol("dartx.registerProcessor"), + $parameters: dartx.parameters = Symbol("dartx.parameters"), + $Q: dartx.Q = Symbol("dartx.Q"), + $frequency: dartx.frequency = Symbol("dartx.frequency"), + $gain: dartx.gain = Symbol("dartx.gain"), + $getFrequencyResponse: dartx.getFrequencyResponse = Symbol("dartx.getFrequencyResponse"), + $normalize: dartx.normalize = Symbol("dartx.normalize"), + $delayTime: dartx.delayTime = Symbol("dartx.delayTime"), + $attack: dartx.attack = Symbol("dartx.attack"), + $knee: dartx.knee = Symbol("dartx.knee"), + $ratio: dartx.ratio = Symbol("dartx.ratio"), + $reduction: dartx.reduction = Symbol("dartx.reduction"), + $release: dartx.release = Symbol("dartx.release"), + $threshold: dartx.threshold = Symbol("dartx.threshold"), + $mediaElement: dartx.mediaElement = Symbol("dartx.mediaElement"), + $mediaStream: dartx.mediaStream = Symbol("dartx.mediaStream"), + $renderedBuffer: dartx.renderedBuffer = Symbol("dartx.renderedBuffer"), + $startRendering: dartx.startRendering = Symbol("dartx.startRendering"), + $suspendFor: dartx.suspendFor = Symbol("dartx.suspendFor"), + $setPeriodicWave: dartx.setPeriodicWave = Symbol("dartx.setPeriodicWave"), + $coneInnerAngle: dartx.coneInnerAngle = Symbol("dartx.coneInnerAngle"), + $coneOuterAngle: dartx.coneOuterAngle = Symbol("dartx.coneOuterAngle"), + $coneOuterGain: dartx.coneOuterGain = Symbol("dartx.coneOuterGain"), + $distanceModel: dartx.distanceModel = Symbol("dartx.distanceModel"), + $maxDistance: dartx.maxDistance = Symbol("dartx.maxDistance"), + $orientationX: dartx.orientationX = Symbol("dartx.orientationX"), + $orientationY: dartx.orientationY = Symbol("dartx.orientationY"), + $orientationZ: dartx.orientationZ = Symbol("dartx.orientationZ"), + $panningModel: dartx.panningModel = Symbol("dartx.panningModel"), + $refDistance: dartx.refDistance = Symbol("dartx.refDistance"), + $rolloffFactor: dartx.rolloffFactor = Symbol("dartx.rolloffFactor"), + $bufferSize: dartx.bufferSize = Symbol("dartx.bufferSize"), + $setEventListener: dartx.setEventListener = Symbol("dartx.setEventListener"), + $onAudioProcess: dartx.onAudioProcess = Symbol("dartx.onAudioProcess"), + $pan: dartx.pan = Symbol("dartx.pan"), + $curve: dartx.curve = Symbol("dartx.curve"), + $oversample: dartx.oversample = Symbol("dartx.oversample"), + $drawArraysInstancedAngle: dartx.drawArraysInstancedAngle = Symbol("dartx.drawArraysInstancedAngle"), + $drawElementsInstancedAngle: dartx.drawElementsInstancedAngle = Symbol("dartx.drawElementsInstancedAngle"), + $vertexAttribDivisorAngle: dartx.vertexAttribDivisorAngle = Symbol("dartx.vertexAttribDivisorAngle"), + $offscreenCanvas: dartx.offscreenCanvas = Symbol("dartx.offscreenCanvas"), + $statusMessage: dartx.statusMessage = Symbol("dartx.statusMessage"), + $getTranslatedShaderSource: dartx.getTranslatedShaderSource = Symbol("dartx.getTranslatedShaderSource"), + $drawBuffersWebgl: dartx.drawBuffersWebgl = Symbol("dartx.drawBuffersWebgl"), + $beginQueryExt: dartx.beginQueryExt = Symbol("dartx.beginQueryExt"), + $createQueryExt: dartx.createQueryExt = Symbol("dartx.createQueryExt"), + $deleteQueryExt: dartx.deleteQueryExt = Symbol("dartx.deleteQueryExt"), + $endQueryExt: dartx.endQueryExt = Symbol("dartx.endQueryExt"), + $getQueryExt: dartx.getQueryExt = Symbol("dartx.getQueryExt"), + $getQueryObjectExt: dartx.getQueryObjectExt = Symbol("dartx.getQueryObjectExt"), + $isQueryExt: dartx.isQueryExt = Symbol("dartx.isQueryExt"), + $queryCounterExt: dartx.queryCounterExt = Symbol("dartx.queryCounterExt"), + $getBufferSubDataAsync: dartx.getBufferSubDataAsync = Symbol("dartx.getBufferSubDataAsync"), + $loseContext: dartx.loseContext = Symbol("dartx.loseContext"), + $restoreContext: dartx.restoreContext = Symbol("dartx.restoreContext"), + $bindVertexArray: dartx.bindVertexArray = Symbol("dartx.bindVertexArray"), + $createVertexArray: dartx.createVertexArray = Symbol("dartx.createVertexArray"), + $deleteVertexArray: dartx.deleteVertexArray = Symbol("dartx.deleteVertexArray"), + $isVertexArray: dartx.isVertexArray = Symbol("dartx.isVertexArray"), + $drawingBufferHeight: dartx.drawingBufferHeight = Symbol("dartx.drawingBufferHeight"), + $drawingBufferWidth: dartx.drawingBufferWidth = Symbol("dartx.drawingBufferWidth"), + $activeTexture: dartx.activeTexture = Symbol("dartx.activeTexture"), + $attachShader: dartx.attachShader = Symbol("dartx.attachShader"), + $bindAttribLocation: dartx.bindAttribLocation = Symbol("dartx.bindAttribLocation"), + $bindBuffer: dartx.bindBuffer = Symbol("dartx.bindBuffer"), + $bindFramebuffer: dartx.bindFramebuffer = Symbol("dartx.bindFramebuffer"), + $bindRenderbuffer: dartx.bindRenderbuffer = Symbol("dartx.bindRenderbuffer"), + $bindTexture: dartx.bindTexture = Symbol("dartx.bindTexture"), + $blendColor: dartx.blendColor = Symbol("dartx.blendColor"), + $blendEquation: dartx.blendEquation = Symbol("dartx.blendEquation"), + $blendEquationSeparate: dartx.blendEquationSeparate = Symbol("dartx.blendEquationSeparate"), + $blendFunc: dartx.blendFunc = Symbol("dartx.blendFunc"), + $blendFuncSeparate: dartx.blendFuncSeparate = Symbol("dartx.blendFuncSeparate"), + $bufferData: dartx.bufferData = Symbol("dartx.bufferData"), + $bufferSubData: dartx.bufferSubData = Symbol("dartx.bufferSubData"), + $checkFramebufferStatus: dartx.checkFramebufferStatus = Symbol("dartx.checkFramebufferStatus"), + $clearColor: dartx.clearColor = Symbol("dartx.clearColor"), + $clearDepth: dartx.clearDepth = Symbol("dartx.clearDepth"), + $clearStencil: dartx.clearStencil = Symbol("dartx.clearStencil"), + $colorMask: dartx.colorMask = Symbol("dartx.colorMask"), + $compileShader: dartx.compileShader = Symbol("dartx.compileShader"), + $compressedTexImage2D: dartx.compressedTexImage2D = Symbol("dartx.compressedTexImage2D"), + $compressedTexSubImage2D: dartx.compressedTexSubImage2D = Symbol("dartx.compressedTexSubImage2D"), + $copyTexImage2D: dartx.copyTexImage2D = Symbol("dartx.copyTexImage2D"), + $copyTexSubImage2D: dartx.copyTexSubImage2D = Symbol("dartx.copyTexSubImage2D"), + $createFramebuffer: dartx.createFramebuffer = Symbol("dartx.createFramebuffer"), + $createProgram: dartx.createProgram = Symbol("dartx.createProgram"), + $createRenderbuffer: dartx.createRenderbuffer = Symbol("dartx.createRenderbuffer"), + $createShader: dartx.createShader = Symbol("dartx.createShader"), + $createTexture: dartx.createTexture = Symbol("dartx.createTexture"), + $cullFace: dartx.cullFace = Symbol("dartx.cullFace"), + $deleteBuffer: dartx.deleteBuffer = Symbol("dartx.deleteBuffer"), + $deleteFramebuffer: dartx.deleteFramebuffer = Symbol("dartx.deleteFramebuffer"), + $deleteProgram: dartx.deleteProgram = Symbol("dartx.deleteProgram"), + $deleteRenderbuffer: dartx.deleteRenderbuffer = Symbol("dartx.deleteRenderbuffer"), + $deleteShader: dartx.deleteShader = Symbol("dartx.deleteShader"), + $deleteTexture: dartx.deleteTexture = Symbol("dartx.deleteTexture"), + $depthFunc: dartx.depthFunc = Symbol("dartx.depthFunc"), + $depthMask: dartx.depthMask = Symbol("dartx.depthMask"), + $depthRange: dartx.depthRange = Symbol("dartx.depthRange"), + $detachShader: dartx.detachShader = Symbol("dartx.detachShader"), + $disableVertexAttribArray: dartx.disableVertexAttribArray = Symbol("dartx.disableVertexAttribArray"), + $drawArrays: dartx.drawArrays = Symbol("dartx.drawArrays"), + $drawElements: dartx.drawElements = Symbol("dartx.drawElements"), + $enableVertexAttribArray: dartx.enableVertexAttribArray = Symbol("dartx.enableVertexAttribArray"), + $flush: dartx.flush = Symbol("dartx.flush"), + $framebufferRenderbuffer: dartx.framebufferRenderbuffer = Symbol("dartx.framebufferRenderbuffer"), + $framebufferTexture2D: dartx.framebufferTexture2D = Symbol("dartx.framebufferTexture2D"), + $frontFace: dartx.frontFace = Symbol("dartx.frontFace"), + $generateMipmap: dartx.generateMipmap = Symbol("dartx.generateMipmap"), + $getActiveAttrib: dartx.getActiveAttrib = Symbol("dartx.getActiveAttrib"), + $getActiveUniform: dartx.getActiveUniform = Symbol("dartx.getActiveUniform"), + $getAttachedShaders: dartx.getAttachedShaders = Symbol("dartx.getAttachedShaders"), + $getAttribLocation: dartx.getAttribLocation = Symbol("dartx.getAttribLocation"), + $getBufferParameter: dartx.getBufferParameter = Symbol("dartx.getBufferParameter"), + _getContextAttributes_1$1: dart.privateName(web_gl, "_getContextAttributes_1"), + $getError: dartx.getError = Symbol("dartx.getError"), + $getExtension: dartx.getExtension = Symbol("dartx.getExtension"), + $getFramebufferAttachmentParameter: dartx.getFramebufferAttachmentParameter = Symbol("dartx.getFramebufferAttachmentParameter"), + $getProgramInfoLog: dartx.getProgramInfoLog = Symbol("dartx.getProgramInfoLog"), + $getProgramParameter: dartx.getProgramParameter = Symbol("dartx.getProgramParameter"), + $getRenderbufferParameter: dartx.getRenderbufferParameter = Symbol("dartx.getRenderbufferParameter"), + $getShaderInfoLog: dartx.getShaderInfoLog = Symbol("dartx.getShaderInfoLog"), + $getShaderParameter: dartx.getShaderParameter = Symbol("dartx.getShaderParameter"), + $getShaderPrecisionFormat: dartx.getShaderPrecisionFormat = Symbol("dartx.getShaderPrecisionFormat"), + $getShaderSource: dartx.getShaderSource = Symbol("dartx.getShaderSource"), + $getSupportedExtensions: dartx.getSupportedExtensions = Symbol("dartx.getSupportedExtensions"), + $getTexParameter: dartx.getTexParameter = Symbol("dartx.getTexParameter"), + $getUniform: dartx.getUniform = Symbol("dartx.getUniform"), + $getUniformLocation: dartx.getUniformLocation = Symbol("dartx.getUniformLocation"), + $getVertexAttrib: dartx.getVertexAttrib = Symbol("dartx.getVertexAttrib"), + $getVertexAttribOffset: dartx.getVertexAttribOffset = Symbol("dartx.getVertexAttribOffset"), + $hint: dartx.hint = Symbol("dartx.hint"), + $isBuffer: dartx.isBuffer = Symbol("dartx.isBuffer"), + $isEnabled: dartx.isEnabled = Symbol("dartx.isEnabled"), + $isFramebuffer: dartx.isFramebuffer = Symbol("dartx.isFramebuffer"), + $isProgram: dartx.isProgram = Symbol("dartx.isProgram"), + $isRenderbuffer: dartx.isRenderbuffer = Symbol("dartx.isRenderbuffer"), + $isShader: dartx.isShader = Symbol("dartx.isShader"), + $isTexture: dartx.isTexture = Symbol("dartx.isTexture"), + $linkProgram: dartx.linkProgram = Symbol("dartx.linkProgram"), + $pixelStorei: dartx.pixelStorei = Symbol("dartx.pixelStorei"), + $polygonOffset: dartx.polygonOffset = Symbol("dartx.polygonOffset"), + _readPixels: dart.privateName(web_gl, "_readPixels"), + $renderbufferStorage: dartx.renderbufferStorage = Symbol("dartx.renderbufferStorage"), + $sampleCoverage: dartx.sampleCoverage = Symbol("dartx.sampleCoverage"), + $scissor: dartx.scissor = Symbol("dartx.scissor"), + $shaderSource: dartx.shaderSource = Symbol("dartx.shaderSource"), + $stencilFunc: dartx.stencilFunc = Symbol("dartx.stencilFunc"), + $stencilFuncSeparate: dartx.stencilFuncSeparate = Symbol("dartx.stencilFuncSeparate"), + $stencilMask: dartx.stencilMask = Symbol("dartx.stencilMask"), + $stencilMaskSeparate: dartx.stencilMaskSeparate = Symbol("dartx.stencilMaskSeparate"), + $stencilOp: dartx.stencilOp = Symbol("dartx.stencilOp"), + $stencilOpSeparate: dartx.stencilOpSeparate = Symbol("dartx.stencilOpSeparate"), + _texImage2D_1: dart.privateName(web_gl, "_texImage2D_1"), + _texImage2D_2: dart.privateName(web_gl, "_texImage2D_2"), + _texImage2D_3: dart.privateName(web_gl, "_texImage2D_3"), + _texImage2D_4: dart.privateName(web_gl, "_texImage2D_4"), + _texImage2D_5: dart.privateName(web_gl, "_texImage2D_5"), + _texImage2D_6: dart.privateName(web_gl, "_texImage2D_6"), + $texImage2D: dartx.texImage2D = Symbol("dartx.texImage2D"), + $texParameterf: dartx.texParameterf = Symbol("dartx.texParameterf"), + $texParameteri: dartx.texParameteri = Symbol("dartx.texParameteri"), + _texSubImage2D_1: dart.privateName(web_gl, "_texSubImage2D_1"), + _texSubImage2D_2: dart.privateName(web_gl, "_texSubImage2D_2"), + _texSubImage2D_3: dart.privateName(web_gl, "_texSubImage2D_3"), + _texSubImage2D_4: dart.privateName(web_gl, "_texSubImage2D_4"), + _texSubImage2D_5: dart.privateName(web_gl, "_texSubImage2D_5"), + _texSubImage2D_6: dart.privateName(web_gl, "_texSubImage2D_6"), + $texSubImage2D: dartx.texSubImage2D = Symbol("dartx.texSubImage2D"), + $uniform1f: dartx.uniform1f = Symbol("dartx.uniform1f"), + $uniform1fv: dartx.uniform1fv = Symbol("dartx.uniform1fv"), + $uniform1i: dartx.uniform1i = Symbol("dartx.uniform1i"), + $uniform1iv: dartx.uniform1iv = Symbol("dartx.uniform1iv"), + $uniform2f: dartx.uniform2f = Symbol("dartx.uniform2f"), + $uniform2fv: dartx.uniform2fv = Symbol("dartx.uniform2fv"), + $uniform2i: dartx.uniform2i = Symbol("dartx.uniform2i"), + $uniform2iv: dartx.uniform2iv = Symbol("dartx.uniform2iv"), + $uniform3f: dartx.uniform3f = Symbol("dartx.uniform3f"), + $uniform3fv: dartx.uniform3fv = Symbol("dartx.uniform3fv"), + $uniform3i: dartx.uniform3i = Symbol("dartx.uniform3i"), + $uniform3iv: dartx.uniform3iv = Symbol("dartx.uniform3iv"), + $uniform4f: dartx.uniform4f = Symbol("dartx.uniform4f"), + $uniform4fv: dartx.uniform4fv = Symbol("dartx.uniform4fv"), + $uniform4i: dartx.uniform4i = Symbol("dartx.uniform4i"), + $uniform4iv: dartx.uniform4iv = Symbol("dartx.uniform4iv"), + $uniformMatrix2fv: dartx.uniformMatrix2fv = Symbol("dartx.uniformMatrix2fv"), + $uniformMatrix3fv: dartx.uniformMatrix3fv = Symbol("dartx.uniformMatrix3fv"), + $uniformMatrix4fv: dartx.uniformMatrix4fv = Symbol("dartx.uniformMatrix4fv"), + $useProgram: dartx.useProgram = Symbol("dartx.useProgram"), + $validateProgram: dartx.validateProgram = Symbol("dartx.validateProgram"), + $vertexAttrib1f: dartx.vertexAttrib1f = Symbol("dartx.vertexAttrib1f"), + $vertexAttrib1fv: dartx.vertexAttrib1fv = Symbol("dartx.vertexAttrib1fv"), + $vertexAttrib2f: dartx.vertexAttrib2f = Symbol("dartx.vertexAttrib2f"), + $vertexAttrib2fv: dartx.vertexAttrib2fv = Symbol("dartx.vertexAttrib2fv"), + $vertexAttrib3f: dartx.vertexAttrib3f = Symbol("dartx.vertexAttrib3f"), + $vertexAttrib3fv: dartx.vertexAttrib3fv = Symbol("dartx.vertexAttrib3fv"), + $vertexAttrib4f: dartx.vertexAttrib4f = Symbol("dartx.vertexAttrib4f"), + $vertexAttrib4fv: dartx.vertexAttrib4fv = Symbol("dartx.vertexAttrib4fv"), + $vertexAttribPointer: dartx.vertexAttribPointer = Symbol("dartx.vertexAttribPointer"), + $viewport: dartx.viewport = Symbol("dartx.viewport"), + $readPixels: dartx.readPixels = Symbol("dartx.readPixels"), + $texImage2DUntyped: dartx.texImage2DUntyped = Symbol("dartx.texImage2DUntyped"), + $texImage2DTyped: dartx.texImage2DTyped = Symbol("dartx.texImage2DTyped"), + $texSubImage2DUntyped: dartx.texSubImage2DUntyped = Symbol("dartx.texSubImage2DUntyped"), + $texSubImage2DTyped: dartx.texSubImage2DTyped = Symbol("dartx.texSubImage2DTyped"), + $bufferDataTyped: dartx.bufferDataTyped = Symbol("dartx.bufferDataTyped"), + $bufferSubDataTyped: dartx.bufferSubDataTyped = Symbol("dartx.bufferSubDataTyped"), + $beginQuery: dartx.beginQuery = Symbol("dartx.beginQuery"), + $beginTransformFeedback: dartx.beginTransformFeedback = Symbol("dartx.beginTransformFeedback"), + $bindBufferBase: dartx.bindBufferBase = Symbol("dartx.bindBufferBase"), + $bindBufferRange: dartx.bindBufferRange = Symbol("dartx.bindBufferRange"), + $bindSampler: dartx.bindSampler = Symbol("dartx.bindSampler"), + $bindTransformFeedback: dartx.bindTransformFeedback = Symbol("dartx.bindTransformFeedback"), + $blitFramebuffer: dartx.blitFramebuffer = Symbol("dartx.blitFramebuffer"), + $bufferData2: dartx.bufferData2 = Symbol("dartx.bufferData2"), + $bufferSubData2: dartx.bufferSubData2 = Symbol("dartx.bufferSubData2"), + $clearBufferfi: dartx.clearBufferfi = Symbol("dartx.clearBufferfi"), + $clearBufferfv: dartx.clearBufferfv = Symbol("dartx.clearBufferfv"), + $clearBufferiv: dartx.clearBufferiv = Symbol("dartx.clearBufferiv"), + $clearBufferuiv: dartx.clearBufferuiv = Symbol("dartx.clearBufferuiv"), + $clientWaitSync: dartx.clientWaitSync = Symbol("dartx.clientWaitSync"), + $compressedTexImage2D2: dartx.compressedTexImage2D2 = Symbol("dartx.compressedTexImage2D2"), + $compressedTexImage2D3: dartx.compressedTexImage2D3 = Symbol("dartx.compressedTexImage2D3"), + $compressedTexImage3D: dartx.compressedTexImage3D = Symbol("dartx.compressedTexImage3D"), + $compressedTexImage3D2: dartx.compressedTexImage3D2 = Symbol("dartx.compressedTexImage3D2"), + $compressedTexSubImage2D2: dartx.compressedTexSubImage2D2 = Symbol("dartx.compressedTexSubImage2D2"), + $compressedTexSubImage2D3: dartx.compressedTexSubImage2D3 = Symbol("dartx.compressedTexSubImage2D3"), + $compressedTexSubImage3D: dartx.compressedTexSubImage3D = Symbol("dartx.compressedTexSubImage3D"), + $compressedTexSubImage3D2: dartx.compressedTexSubImage3D2 = Symbol("dartx.compressedTexSubImage3D2"), + $copyBufferSubData: dartx.copyBufferSubData = Symbol("dartx.copyBufferSubData"), + $copyTexSubImage3D: dartx.copyTexSubImage3D = Symbol("dartx.copyTexSubImage3D"), + $createQuery: dartx.createQuery = Symbol("dartx.createQuery"), + $createSampler: dartx.createSampler = Symbol("dartx.createSampler"), + $createTransformFeedback: dartx.createTransformFeedback = Symbol("dartx.createTransformFeedback"), + $deleteQuery: dartx.deleteQuery = Symbol("dartx.deleteQuery"), + $deleteSampler: dartx.deleteSampler = Symbol("dartx.deleteSampler"), + $deleteSync: dartx.deleteSync = Symbol("dartx.deleteSync"), + $deleteTransformFeedback: dartx.deleteTransformFeedback = Symbol("dartx.deleteTransformFeedback"), + $drawArraysInstanced: dartx.drawArraysInstanced = Symbol("dartx.drawArraysInstanced"), + $drawBuffers: dartx.drawBuffers = Symbol("dartx.drawBuffers"), + $drawElementsInstanced: dartx.drawElementsInstanced = Symbol("dartx.drawElementsInstanced"), + $drawRangeElements: dartx.drawRangeElements = Symbol("dartx.drawRangeElements"), + $endQuery: dartx.endQuery = Symbol("dartx.endQuery"), + $endTransformFeedback: dartx.endTransformFeedback = Symbol("dartx.endTransformFeedback"), + $fenceSync: dartx.fenceSync = Symbol("dartx.fenceSync"), + $framebufferTextureLayer: dartx.framebufferTextureLayer = Symbol("dartx.framebufferTextureLayer"), + $getActiveUniformBlockName: dartx.getActiveUniformBlockName = Symbol("dartx.getActiveUniformBlockName"), + $getActiveUniformBlockParameter: dartx.getActiveUniformBlockParameter = Symbol("dartx.getActiveUniformBlockParameter"), + $getActiveUniforms: dartx.getActiveUniforms = Symbol("dartx.getActiveUniforms"), + $getBufferSubData: dartx.getBufferSubData = Symbol("dartx.getBufferSubData"), + $getFragDataLocation: dartx.getFragDataLocation = Symbol("dartx.getFragDataLocation"), + $getIndexedParameter: dartx.getIndexedParameter = Symbol("dartx.getIndexedParameter"), + $getInternalformatParameter: dartx.getInternalformatParameter = Symbol("dartx.getInternalformatParameter"), + $getQuery: dartx.getQuery = Symbol("dartx.getQuery"), + $getQueryParameter: dartx.getQueryParameter = Symbol("dartx.getQueryParameter"), + $getSamplerParameter: dartx.getSamplerParameter = Symbol("dartx.getSamplerParameter"), + $getSyncParameter: dartx.getSyncParameter = Symbol("dartx.getSyncParameter"), + $getTransformFeedbackVarying: dartx.getTransformFeedbackVarying = Symbol("dartx.getTransformFeedbackVarying"), + $getUniformBlockIndex: dartx.getUniformBlockIndex = Symbol("dartx.getUniformBlockIndex"), + _getUniformIndices_1: dart.privateName(web_gl, "_getUniformIndices_1"), + $getUniformIndices: dartx.getUniformIndices = Symbol("dartx.getUniformIndices"), + $invalidateFramebuffer: dartx.invalidateFramebuffer = Symbol("dartx.invalidateFramebuffer"), + $invalidateSubFramebuffer: dartx.invalidateSubFramebuffer = Symbol("dartx.invalidateSubFramebuffer"), + $isQuery: dartx.isQuery = Symbol("dartx.isQuery"), + $isSampler: dartx.isSampler = Symbol("dartx.isSampler"), + $isSync: dartx.isSync = Symbol("dartx.isSync"), + $isTransformFeedback: dartx.isTransformFeedback = Symbol("dartx.isTransformFeedback"), + $pauseTransformFeedback: dartx.pauseTransformFeedback = Symbol("dartx.pauseTransformFeedback"), + $readBuffer: dartx.readBuffer = Symbol("dartx.readBuffer"), + $readPixels2: dartx.readPixels2 = Symbol("dartx.readPixels2"), + $renderbufferStorageMultisample: dartx.renderbufferStorageMultisample = Symbol("dartx.renderbufferStorageMultisample"), + $resumeTransformFeedback: dartx.resumeTransformFeedback = Symbol("dartx.resumeTransformFeedback"), + $samplerParameterf: dartx.samplerParameterf = Symbol("dartx.samplerParameterf"), + $samplerParameteri: dartx.samplerParameteri = Symbol("dartx.samplerParameteri"), + _texImage2D2_1: dart.privateName(web_gl, "_texImage2D2_1"), + _texImage2D2_2: dart.privateName(web_gl, "_texImage2D2_2"), + _texImage2D2_3: dart.privateName(web_gl, "_texImage2D2_3"), + _texImage2D2_4: dart.privateName(web_gl, "_texImage2D2_4"), + _texImage2D2_5: dart.privateName(web_gl, "_texImage2D2_5"), + _texImage2D2_6: dart.privateName(web_gl, "_texImage2D2_6"), + _texImage2D2_7: dart.privateName(web_gl, "_texImage2D2_7"), + $texImage2D2: dartx.texImage2D2 = Symbol("dartx.texImage2D2"), + _texImage3D_1: dart.privateName(web_gl, "_texImage3D_1"), + _texImage3D_2: dart.privateName(web_gl, "_texImage3D_2"), + _texImage3D_3: dart.privateName(web_gl, "_texImage3D_3"), + _texImage3D_4: dart.privateName(web_gl, "_texImage3D_4"), + _texImage3D_5: dart.privateName(web_gl, "_texImage3D_5"), + _texImage3D_6: dart.privateName(web_gl, "_texImage3D_6"), + _texImage3D_7: dart.privateName(web_gl, "_texImage3D_7"), + _texImage3D_8: dart.privateName(web_gl, "_texImage3D_8"), + $texImage3D: dartx.texImage3D = Symbol("dartx.texImage3D"), + $texStorage2D: dartx.texStorage2D = Symbol("dartx.texStorage2D"), + $texStorage3D: dartx.texStorage3D = Symbol("dartx.texStorage3D"), + _texSubImage2D2_1: dart.privateName(web_gl, "_texSubImage2D2_1"), + _texSubImage2D2_2: dart.privateName(web_gl, "_texSubImage2D2_2"), + _texSubImage2D2_3: dart.privateName(web_gl, "_texSubImage2D2_3"), + _texSubImage2D2_4: dart.privateName(web_gl, "_texSubImage2D2_4"), + _texSubImage2D2_5: dart.privateName(web_gl, "_texSubImage2D2_5"), + _texSubImage2D2_6: dart.privateName(web_gl, "_texSubImage2D2_6"), + _texSubImage2D2_7: dart.privateName(web_gl, "_texSubImage2D2_7"), + $texSubImage2D2: dartx.texSubImage2D2 = Symbol("dartx.texSubImage2D2"), + _texSubImage3D_1: dart.privateName(web_gl, "_texSubImage3D_1"), + _texSubImage3D_2: dart.privateName(web_gl, "_texSubImage3D_2"), + _texSubImage3D_3: dart.privateName(web_gl, "_texSubImage3D_3"), + _texSubImage3D_4: dart.privateName(web_gl, "_texSubImage3D_4"), + _texSubImage3D_5: dart.privateName(web_gl, "_texSubImage3D_5"), + _texSubImage3D_6: dart.privateName(web_gl, "_texSubImage3D_6"), + _texSubImage3D_7: dart.privateName(web_gl, "_texSubImage3D_7"), + _texSubImage3D_8: dart.privateName(web_gl, "_texSubImage3D_8"), + $texSubImage3D: dartx.texSubImage3D = Symbol("dartx.texSubImage3D"), + _transformFeedbackVaryings_1: dart.privateName(web_gl, "_transformFeedbackVaryings_1"), + $transformFeedbackVaryings: dartx.transformFeedbackVaryings = Symbol("dartx.transformFeedbackVaryings"), + $uniform1fv2: dartx.uniform1fv2 = Symbol("dartx.uniform1fv2"), + $uniform1iv2: dartx.uniform1iv2 = Symbol("dartx.uniform1iv2"), + $uniform1ui: dartx.uniform1ui = Symbol("dartx.uniform1ui"), + $uniform1uiv: dartx.uniform1uiv = Symbol("dartx.uniform1uiv"), + $uniform2fv2: dartx.uniform2fv2 = Symbol("dartx.uniform2fv2"), + $uniform2iv2: dartx.uniform2iv2 = Symbol("dartx.uniform2iv2"), + $uniform2ui: dartx.uniform2ui = Symbol("dartx.uniform2ui"), + $uniform2uiv: dartx.uniform2uiv = Symbol("dartx.uniform2uiv"), + $uniform3fv2: dartx.uniform3fv2 = Symbol("dartx.uniform3fv2"), + $uniform3iv2: dartx.uniform3iv2 = Symbol("dartx.uniform3iv2"), + $uniform3ui: dartx.uniform3ui = Symbol("dartx.uniform3ui"), + $uniform3uiv: dartx.uniform3uiv = Symbol("dartx.uniform3uiv"), + $uniform4fv2: dartx.uniform4fv2 = Symbol("dartx.uniform4fv2"), + $uniform4iv2: dartx.uniform4iv2 = Symbol("dartx.uniform4iv2"), + $uniform4ui: dartx.uniform4ui = Symbol("dartx.uniform4ui"), + $uniform4uiv: dartx.uniform4uiv = Symbol("dartx.uniform4uiv"), + $uniformBlockBinding: dartx.uniformBlockBinding = Symbol("dartx.uniformBlockBinding"), + $uniformMatrix2fv2: dartx.uniformMatrix2fv2 = Symbol("dartx.uniformMatrix2fv2"), + $uniformMatrix2x3fv: dartx.uniformMatrix2x3fv = Symbol("dartx.uniformMatrix2x3fv"), + $uniformMatrix2x4fv: dartx.uniformMatrix2x4fv = Symbol("dartx.uniformMatrix2x4fv"), + $uniformMatrix3fv2: dartx.uniformMatrix3fv2 = Symbol("dartx.uniformMatrix3fv2"), + $uniformMatrix3x2fv: dartx.uniformMatrix3x2fv = Symbol("dartx.uniformMatrix3x2fv"), + $uniformMatrix3x4fv: dartx.uniformMatrix3x4fv = Symbol("dartx.uniformMatrix3x4fv"), + $uniformMatrix4fv2: dartx.uniformMatrix4fv2 = Symbol("dartx.uniformMatrix4fv2"), + $uniformMatrix4x2fv: dartx.uniformMatrix4x2fv = Symbol("dartx.uniformMatrix4x2fv"), + $uniformMatrix4x3fv: dartx.uniformMatrix4x3fv = Symbol("dartx.uniformMatrix4x3fv"), + $vertexAttribDivisor: dartx.vertexAttribDivisor = Symbol("dartx.vertexAttribDivisor"), + $vertexAttribI4i: dartx.vertexAttribI4i = Symbol("dartx.vertexAttribI4i"), + $vertexAttribI4iv: dartx.vertexAttribI4iv = Symbol("dartx.vertexAttribI4iv"), + $vertexAttribI4ui: dartx.vertexAttribI4ui = Symbol("dartx.vertexAttribI4ui"), + $vertexAttribI4uiv: dartx.vertexAttribI4uiv = Symbol("dartx.vertexAttribI4uiv"), + $vertexAttribIPointer: dartx.vertexAttribIPointer = Symbol("dartx.vertexAttribIPointer"), + $waitSync: dartx.waitSync = Symbol("dartx.waitSync"), + $precision: dartx.precision = Symbol("dartx.precision"), + $rangeMax: dartx.rangeMax = Symbol("dartx.rangeMax"), + $rangeMin: dartx.rangeMin = Symbol("dartx.rangeMin"), + $lastUploadedVideoFrameWasSkipped: dartx.lastUploadedVideoFrameWasSkipped = Symbol("dartx.lastUploadedVideoFrameWasSkipped"), + $lastUploadedVideoHeight: dartx.lastUploadedVideoHeight = Symbol("dartx.lastUploadedVideoHeight"), + $lastUploadedVideoTimestamp: dartx.lastUploadedVideoTimestamp = Symbol("dartx.lastUploadedVideoTimestamp"), + $lastUploadedVideoWidth: dartx.lastUploadedVideoWidth = Symbol("dartx.lastUploadedVideoWidth"), + _changeVersion: dart.privateName(web_sql, "_changeVersion"), + $changeVersion: dartx.changeVersion = Symbol("dartx.changeVersion"), + _readTransaction: dart.privateName(web_sql, "_readTransaction"), + $readTransaction: dartx.readTransaction = Symbol("dartx.readTransaction"), + $transaction_future: dartx.transaction_future = Symbol("dartx.transaction_future"), + $insertId: dartx.insertId = Symbol("dartx.insertId"), + $rowsAffected: dartx.rowsAffected = Symbol("dartx.rowsAffected"), + _item_1: dart.privateName(web_sql, "_item_1"), + _executeSql: dart.privateName(web_sql, "_executeSql"), + $executeSql: dartx.executeSql = Symbol("dartx.executeSql") + }; + const CT = Object.create({ + _: () => (C, CT) + }); + var C = Array(490).fill(void 0); + var I = [ + "org-dartlang-sdk:///lib/_internal/js_dev_runtime/private/ddc_runtime/classes.dart", + "org-dartlang-sdk:///lib/_internal/js_dev_runtime/private/ddc_runtime/errors.dart", + "org-dartlang-sdk:///lib/_internal/js_dev_runtime/private/ddc_runtime/operations.dart", + "org-dartlang-sdk:///lib/_internal/js_dev_runtime/private/ddc_runtime/rtti.dart", + "org-dartlang-sdk:///lib/_internal/js_dev_runtime/private/ddc_runtime/runtime.dart", + "org-dartlang-sdk:///lib/_internal/js_dev_runtime/private/ddc_runtime/types.dart", + "org-dartlang-sdk:///lib/_internal/js_dev_runtime/private/ddc_runtime/utils.dart", + "org-dartlang-sdk:///lib/_internal/js_dev_runtime/patch/core_patch.dart", + "dart:core", + "dart:_runtime", + "org-dartlang-sdk:///lib/core/invocation.dart", + "org-dartlang-sdk:///lib/_internal/js_dev_runtime/private/debugger.dart", + "dart:_debugger", + "org-dartlang-sdk:///lib/_internal/js_dev_runtime/private/profile.dart", + "org-dartlang-sdk:///lib/_internal/js_dev_runtime/private/foreign_helper.dart", + "dart:_foreign_helper", + "dart:_interceptors", + "org-dartlang-sdk:///lib/_internal/js_dev_runtime/private/interceptors.dart", + "org-dartlang-sdk:///lib/_internal/js_dev_runtime/private/js_array.dart", + "org-dartlang-sdk:///lib/_internal/js_dev_runtime/private/js_number.dart", + "org-dartlang-sdk:///lib/_internal/js_dev_runtime/private/js_string.dart", + "org-dartlang-sdk:///lib/internal/internal.dart", + "org-dartlang-sdk:///lib/internal/list.dart", + "org-dartlang-sdk:///lib/collection/list.dart", + "dart:collection", + "dart:_internal", + "org-dartlang-sdk:///lib/core/num.dart", + "org-dartlang-sdk:///lib/internal/async_cast.dart", + "org-dartlang-sdk:///lib/async/stream.dart", + "dart:async", + "org-dartlang-sdk:///lib/convert/converter.dart", + "dart:convert", + "org-dartlang-sdk:///lib/internal/bytes_builder.dart", + "org-dartlang-sdk:///lib/internal/cast.dart", + "org-dartlang-sdk:///lib/core/iterable.dart", + "org-dartlang-sdk:///lib/collection/maps.dart", + "org-dartlang-sdk:///lib/internal/errors.dart", + "org-dartlang-sdk:///lib/internal/iterable.dart", + "org-dartlang-sdk:///lib/internal/linked_list.dart", + "org-dartlang-sdk:///lib/collection/iterable.dart", + "org-dartlang-sdk:///lib/internal/sort.dart", + "org-dartlang-sdk:///lib/_internal/js_dev_runtime/patch/internal_patch.dart", + "org-dartlang-sdk:///lib/internal/symbol.dart", + "org-dartlang-sdk:///lib/_internal/js_dev_runtime/private/isolate_helper.dart", + "dart:_isolate_helper", + "dart:_js_helper", + "org-dartlang-sdk:///lib/_internal/js_dev_runtime/private/js_helper.dart", + "org-dartlang-sdk:///lib/_internal/js_dev_runtime/private/annotations.dart", + "org-dartlang-sdk:///lib/_internal/js_dev_runtime/private/linked_hash_map.dart", + "org-dartlang-sdk:///lib/_internal/js_dev_runtime/private/identity_hash_map.dart", + "org-dartlang-sdk:///lib/_internal/js_dev_runtime/private/custom_hash_map.dart", + "org-dartlang-sdk:///lib/_internal/js_dev_runtime/private/regexp_helper.dart", + "org-dartlang-sdk:///lib/_internal/js_dev_runtime/private/string_helper.dart", + "org-dartlang-sdk:///lib/_internal/js_dev_runtime/private/js_rti.dart", + "org-dartlang-sdk:///lib/_internal/js_dev_runtime/private/native_helper.dart", + "org-dartlang-sdk:///lib/_internal/js_dev_runtime/private/js_primitives.dart", + "org-dartlang-sdk:///lib/html/html_common/metadata.dart", + "dart:_metadata", + "org-dartlang-sdk:///lib/_internal/js_dev_runtime/private/native_typed_data.dart", + "dart:_native_typed_data", + "dart:typed_data", + "org-dartlang-sdk:///lib/_internal/js_dev_runtime/patch/async_patch.dart", + "org-dartlang-sdk:///lib/async/async_error.dart", + "org-dartlang-sdk:///lib/async/broadcast_stream_controller.dart", + "org-dartlang-sdk:///lib/async/stream_controller.dart", + "org-dartlang-sdk:///lib/async/stream_impl.dart", + "org-dartlang-sdk:///lib/async/deferred_load.dart", + "org-dartlang-sdk:///lib/async/future.dart", + "org-dartlang-sdk:///lib/async/future_impl.dart", + "org-dartlang-sdk:///lib/async/schedule_microtask.dart", + "org-dartlang-sdk:///lib/async/stream_pipe.dart", + "org-dartlang-sdk:///lib/async/stream_transformers.dart", + "org-dartlang-sdk:///lib/async/timer.dart", + "org-dartlang-sdk:///lib/async/zone.dart", + "org-dartlang-sdk:///lib/_internal/js_dev_runtime/patch/collection_patch.dart", + "org-dartlang-sdk:///lib/collection/set.dart", + "org-dartlang-sdk:///lib/collection/collections.dart", + "org-dartlang-sdk:///lib/collection/hash_map.dart", + "org-dartlang-sdk:///lib/collection/hash_set.dart", + "org-dartlang-sdk:///lib/collection/iterator.dart", + "org-dartlang-sdk:///lib/collection/linked_hash_map.dart", + "org-dartlang-sdk:///lib/collection/linked_hash_set.dart", + "org-dartlang-sdk:///lib/collection/linked_list.dart", + "org-dartlang-sdk:///lib/collection/queue.dart", + "org-dartlang-sdk:///lib/collection/splay_tree.dart", + "org-dartlang-sdk:///lib/_internal/js_dev_runtime/patch/convert_patch.dart", + "org-dartlang-sdk:///lib/convert/string_conversion.dart", + "org-dartlang-sdk:///lib/convert/ascii.dart", + "org-dartlang-sdk:///lib/convert/encoding.dart", + "org-dartlang-sdk:///lib/convert/codec.dart", + "org-dartlang-sdk:///lib/core/list.dart", + "org-dartlang-sdk:///lib/convert/byte_conversion.dart", + "org-dartlang-sdk:///lib/convert/base64.dart", + "org-dartlang-sdk:///lib/convert/chunked_conversion.dart", + "org-dartlang-sdk:///lib/convert/html_escape.dart", + "org-dartlang-sdk:///lib/convert/json.dart", + "org-dartlang-sdk:///lib/convert/latin1.dart", + "org-dartlang-sdk:///lib/convert/line_splitter.dart", + "org-dartlang-sdk:///lib/convert/utf.dart", + "org-dartlang-sdk:///lib/_internal/js_dev_runtime/patch/developer_patch.dart", + "dart:developer", + "org-dartlang-sdk:///lib/developer/extension.dart", + "org-dartlang-sdk:///lib/developer/profiler.dart", + "org-dartlang-sdk:///lib/developer/service.dart", + "org-dartlang-sdk:///lib/developer/timeline.dart", + "dart:io", + "org-dartlang-sdk:///lib/io/common.dart", + "org-dartlang-sdk:///lib/_internal/js_dev_runtime/patch/io_patch.dart", + "org-dartlang-sdk:///lib/io/data_transformer.dart", + "org-dartlang-sdk:///lib/io/directory.dart", + "org-dartlang-sdk:///lib/io/directory_impl.dart", + "org-dartlang-sdk:///lib/io/file_system_entity.dart", + "org-dartlang-sdk:///lib/io/embedder_config.dart", + "org-dartlang-sdk:///lib/io/file.dart", + "org-dartlang-sdk:///lib/io/file_impl.dart", + "org-dartlang-sdk:///lib/io/io_resource_info.dart", + "org-dartlang-sdk:///lib/io/io_sink.dart", + "org-dartlang-sdk:///lib/io/link.dart", + "org-dartlang-sdk:///lib/io/network_policy.dart", + "org-dartlang-sdk:///lib/io/network_profiling.dart", + "org-dartlang-sdk:///lib/io/overrides.dart", + "org-dartlang-sdk:///lib/io/platform_impl.dart", + "org-dartlang-sdk:///lib/io/process.dart", + "org-dartlang-sdk:///lib/io/secure_server_socket.dart", + "org-dartlang-sdk:///lib/io/secure_socket.dart", + "org-dartlang-sdk:///lib/io/socket.dart", + "org-dartlang-sdk:///lib/io/security_context.dart", + "org-dartlang-sdk:///lib/io/service_object.dart", + "org-dartlang-sdk:///lib/io/stdio.dart", + "org-dartlang-sdk:///lib/io/string_transformer.dart", + "org-dartlang-sdk:///lib/_internal/js_dev_runtime/patch/isolate_patch.dart", + "dart:isolate", + "org-dartlang-sdk:///lib/isolate/isolate.dart", + "org-dartlang-sdk:///lib/_internal/js_dev_runtime/patch/js_patch.dart", + "dart:js", + "org-dartlang-sdk:///lib/js/js.dart", + "org-dartlang-sdk:///lib/js_util/js_util.dart", + "dart:js_util", + "org-dartlang-sdk:///lib/_internal/js_dev_runtime/patch/math_patch.dart", + "dart:math", + "org-dartlang-sdk:///lib/math/point.dart", + "org-dartlang-sdk:///lib/math/rectangle.dart", + "org-dartlang-sdk:///lib/typed_data/typed_data.dart", + "org-dartlang-sdk:///lib/_internal/js_dev_runtime/patch/typed_data_patch.dart", + "org-dartlang-sdk:///lib/typed_data/unmodifiable_typed_data.dart", + "org-dartlang-sdk:///lib/indexed_db/dart2js/indexed_db_dart2js.dart", + "dart:indexed_db", + "org-dartlang-sdk:///lib/html/dart2js/html_dart2js.dart", + "dart:html", + "org-dartlang-sdk:///lib/html/html_common/css_class_set.dart", + "dart:html_common", + "org-dartlang-sdk:///lib/html/html_common/conversions.dart", + "org-dartlang-sdk:///lib/html/html_common/conversions_dart2js.dart", + "org-dartlang-sdk:///lib/html/html_common/device.dart", + "org-dartlang-sdk:///lib/html/html_common/filtered_element_list.dart", + "org-dartlang-sdk:///lib/html/html_common/lists.dart", + "org-dartlang-sdk:///lib/svg/dart2js/svg_dart2js.dart", + "dart:svg", + "org-dartlang-sdk:///lib/web_audio/dart2js/web_audio_dart2js.dart", + "dart:web_audio", + "dart:web_gl", + "org-dartlang-sdk:///lib/web_gl/dart2js/web_gl_dart2js.dart", + "org-dartlang-sdk:///lib/web_sql/dart2js/web_sql_dart2js.dart", + "dart:web_sql", + "org-dartlang-sdk:///lib/core/map.dart", + "org-dartlang-sdk:///lib/core/annotations.dart", + "org-dartlang-sdk:///lib/core/bool.dart", + "org-dartlang-sdk:///lib/core/comparable.dart", + "org-dartlang-sdk:///lib/core/date_time.dart", + "org-dartlang-sdk:///lib/core/duration.dart", + "org-dartlang-sdk:///lib/core/errors.dart", + "org-dartlang-sdk:///lib/core/exceptions.dart", + "org-dartlang-sdk:///lib/core/set.dart", + "org-dartlang-sdk:///lib/core/stacktrace.dart", + "org-dartlang-sdk:///lib/core/string.dart", + "org-dartlang-sdk:///lib/core/uri.dart", + "org-dartlang-sdk:///lib/_http/http.dart", + "dart:_http", + "org-dartlang-sdk:///lib/_http/crypto.dart", + "org-dartlang-sdk:///lib/_http/http_date.dart", + "org-dartlang-sdk:///lib/_http/http_headers.dart", + "org-dartlang-sdk:///lib/_http/http_impl.dart", + "org-dartlang-sdk:///lib/_http/http_parser.dart", + "org-dartlang-sdk:///lib/_http/http_session.dart", + "org-dartlang-sdk:///lib/_http/overrides.dart", + "org-dartlang-sdk:///lib/_http/websocket.dart", + "org-dartlang-sdk:///lib/_http/websocket_impl.dart" + ]; + var _jsError$ = dart.privateName(dart, "_jsError"); + var _type$ = dart.privateName(dart, "_type"); + dart.applyMixin = function applyMixin(to, from) { + to[dart._mixin] = from; + let toProto = to.prototype; + let fromProto = from.prototype; + dart._copyMembers(toProto, fromProto); + dart._mixinSignature(to, from, dart._methodSig); + dart._mixinSignature(to, from, dart._fieldSig); + dart._mixinSignature(to, from, dart._getterSig); + dart._mixinSignature(to, from, dart._setterSig); + let mixinOnFn = from[dart.mixinOn]; + if (mixinOnFn != null) { + let proto = mixinOnFn(to.__proto__).prototype; + dart._copyMembers(toProto, proto); + } + }; + dart._copyMembers = function _copyMembers(to, from) { + let names = dart.getOwnNamesAndSymbols(from); + for (let i = 0, n = names.length; i < n; i = i + 1) { + let name = names[i]; + if (name === "constructor") continue; + dart._copyMember(to, from, name); + } + return to; + }; + dart._copyMember = function _copyMember(to, from, name) { + let desc = dart.getOwnPropertyDescriptor(from, name); + if (name == Symbol.iterator) { + let existing = dart.getOwnPropertyDescriptor(to, name); + if (existing != null) { + if (existing.writable) { + to[name] = desc.value; + } + return; + } + } + let getter = desc.get; + let setter = desc.set; + if (getter != null) { + if (setter == null) { + let obj = desc.set = { + __proto__: to.__proto__, + set [name](x) { + return super[name] = x; + } + }; + desc.set = dart.getOwnPropertyDescriptor(obj, name).set; + } + } else if (setter != null) { + if (getter == null) { + let obj = desc.get = { + __proto__: to.__proto__, + get [name]() { + return super[name]; + } + }; + desc.get = dart.getOwnPropertyDescriptor(obj, name).get; + } + } + dart.defineProperty(to, name, desc); + }; + dart._mixinSignature = function _mixinSignature(to, from, kind) { + to[kind] = () => { + let baseMembers = dart._getMembers(to.__proto__, kind); + let fromMembers = dart._getMembers(from, kind); + if (fromMembers == null) return baseMembers; + let toSignature = {__proto__: baseMembers}; + dart.copyProperties(toSignature, fromMembers); + return toSignature; + }; + }; + dart.getMixin = function getMixin(clazz) { + return Object.hasOwnProperty.call(clazz, dart._mixin) ? clazz[dart._mixin] : null; + }; + dart.getImplements = function getImplements(clazz) { + return Object.hasOwnProperty.call(clazz, dart.implements) ? clazz[dart.implements] : null; + }; + dart.normalizeFutureOr = function normalizeFutureOr(typeConstructor, setBaseClass) { + let genericFutureOrType = dart.generic(typeConstructor, setBaseClass); + function normalize(typeArg) { + if (typeArg == void 0) return dart.dynamic; + if (dart._isTop(typeArg) || typeArg === core.Object || typeArg instanceof dart.LegacyType && typeArg.type === core.Object) { + return typeArg; + } + if (typeArg === dart.Never) { + return async.Future$(typeArg); + } + if (typeArg === core.Null) { + return dart.nullable(async.Future$(typeArg)); + } + let genericType = genericFutureOrType(typeArg); + genericType[dart._originalDeclaration] = normalize; + dart.addTypeCaches(genericType); + function is_FutureOr(obj) { + return typeArg.is(obj) || async.Future$(typeArg).is(obj); + } + genericType.is = is_FutureOr; + function as_FutureOr(obj) { + if (obj == null && typeArg instanceof dart.LegacyType) { + return obj; + } + if (typeArg.is(obj) || async.Future$(typeArg).is(obj)) { + return obj; + } + return dart.as(obj, async.FutureOr$(typeArg)); + } + genericType.as = as_FutureOr; + return genericType; + } + return normalize; + }; + dart.generic = function generic(typeConstructor, setBaseClass) { + let length = typeConstructor.length; + if (length < 1) { + dart.throwInternalError('must have at least one generic type argument'); + } + let resultMap = new Map(); + function makeGenericType(...args) { + if (args.length != length && args.length != 0) { + dart.throwInternalError('requires ' + length + ' or 0 type arguments'); + } + while (args.length < length) + args.push(dart.dynamic); + let value = resultMap; + for (let i = 0; i < length; i++) { + let arg = args[i]; + if (arg == null) { + dart.throwInternalError('type arguments should not be null: ' + typeConstructor); + } + let map = value; + value = map.get(arg); + if (value === void 0) { + if (i + 1 == length) { + value = typeConstructor.apply(null, args); + if (value) { + value[dart._typeArguments] = args; + value[dart._originalDeclaration] = makeGenericType; + } + map.set(arg, value); + if (setBaseClass != null) setBaseClass.apply(null, args); + } else { + value = new Map(); + map.set(arg, value); + } + } + } + return value; + } + makeGenericType[dart._genericTypeCtor] = typeConstructor; + dart.addTypeCaches(makeGenericType); + return makeGenericType; + }; + dart.getGenericClass = function getGenericClass(type) { + return dart.safeGetOwnProperty(type, dart._originalDeclaration); + }; + dart.getGenericArgs = function getGenericArgs(type) { + return dart.safeGetOwnProperty(type, dart._typeArguments); + }; + dart.getGenericArgVariances = function getGenericArgVariances(type) { + return dart.safeGetOwnProperty(type, dart._variances); + }; + dart.setGenericArgVariances = function setGenericArgVariances(f, variances) { + return f[dart._variances] = variances; + }; + dart.getGenericTypeFormals = function getGenericTypeFormals(genericClass) { + return dart._typeFormalsFromFunction(dart.getGenericTypeCtor(genericClass)); + }; + dart.instantiateClass = function instantiateClass(genericClass, typeArgs) { + if (genericClass == null) dart.nullFailed(I[0], 287, 32, "genericClass"); + if (typeArgs == null) dart.nullFailed(I[0], 287, 59, "typeArgs"); + return genericClass.apply(null, typeArgs); + }; + dart.getConstructors = function getConstructors(value) { + return dart._getMembers(value, dart._constructorSig); + }; + dart.getMethods = function getMethods(value) { + return dart._getMembers(value, dart._methodSig); + }; + dart.getFields = function getFields(value) { + return dart._getMembers(value, dart._fieldSig); + }; + dart.getGetters = function getGetters(value) { + return dart._getMembers(value, dart._getterSig); + }; + dart.getSetters = function getSetters(value) { + return dart._getMembers(value, dart._setterSig); + }; + dart.getStaticMethods = function getStaticMethods(value) { + return dart._getMembers(value, dart._staticMethodSig); + }; + dart.getStaticFields = function getStaticFields(value) { + return dart._getMembers(value, dart._staticFieldSig); + }; + dart.getStaticGetters = function getStaticGetters(value) { + return dart._getMembers(value, dart._staticGetterSig); + }; + dart.getStaticSetters = function getStaticSetters(value) { + return dart._getMembers(value, dart._staticSetterSig); + }; + dart.getGenericTypeCtor = function getGenericTypeCtor(value) { + return value[dart._genericTypeCtor]; + }; + dart.getType = function getType(obj) { + if (obj == null) return core.Object; + let constructor = obj.constructor; + return constructor ? constructor : dart.global.Object.prototype.constructor; + }; + dart.getLibraryUri = function getLibraryUri(value) { + return value[dart._libraryUri]; + }; + dart.setLibraryUri = function setLibraryUri(f, uri) { + return f[dart._libraryUri] = uri; + }; + dart.isJsInterop = function isJsInterop(obj) { + if (obj == null) return false; + if (typeof obj === "function") { + return obj[dart._runtimeType] == null; + } + if (typeof obj !== "object") return false; + if (obj[dart._extensionType] != null) return false; + return !(obj instanceof core.Object); + }; + dart.getMethodType = function getMethodType(type, name) { + let m = dart.getMethods(type); + return m != null ? m[name] : null; + }; + dart.getSetterType = function getSetterType(type, name) { + let setters = dart.getSetters(type); + if (setters != null) { + let type = setters[name]; + if (type != null) { + return type; + } + } + let fields = dart.getFields(type); + if (fields != null) { + let fieldInfo = fields[name]; + if (fieldInfo != null && !fieldInfo.isFinal) { + return fieldInfo.type; + } + } + return null; + }; + dart.finalFieldType = function finalFieldType(type, metadata) { + return {type: type, isFinal: true, metadata: metadata}; + }; + dart.fieldType = function fieldType(type, metadata) { + return {type: type, isFinal: false, metadata: metadata}; + }; + dart.classGetConstructorType = function classGetConstructorType(cls, name) { + if (cls == null) return null; + if (name == null) name = "new"; + let ctors = dart.getConstructors(cls); + return ctors != null ? ctors[name] : null; + }; + dart.setMethodSignature = function setMethodSignature(f, sigF) { + return f[dart._methodSig] = sigF; + }; + dart.setFieldSignature = function setFieldSignature(f, sigF) { + return f[dart._fieldSig] = sigF; + }; + dart.setGetterSignature = function setGetterSignature(f, sigF) { + return f[dart._getterSig] = sigF; + }; + dart.setSetterSignature = function setSetterSignature(f, sigF) { + return f[dart._setterSig] = sigF; + }; + dart.setConstructorSignature = function setConstructorSignature(f, sigF) { + return f[dart._constructorSig] = sigF; + }; + dart.setStaticMethodSignature = function setStaticMethodSignature(f, sigF) { + return f[dart._staticMethodSig] = sigF; + }; + dart.setStaticFieldSignature = function setStaticFieldSignature(f, sigF) { + return f[dart._staticFieldSig] = sigF; + }; + dart.setStaticGetterSignature = function setStaticGetterSignature(f, sigF) { + return f[dart._staticGetterSig] = sigF; + }; + dart.setStaticSetterSignature = function setStaticSetterSignature(f, sigF) { + return f[dart._staticSetterSig] = sigF; + }; + dart._getMembers = function _getMembers(type, kind) { + let sig = type[kind]; + return typeof sig == "function" ? type[kind] = sig() : sig; + }; + dart._hasMember = function _hasMember(type, kind, name) { + let sig = dart._getMembers(type, kind); + return sig != null && name in sig; + }; + dart.hasMethod = function hasMethod(type, name) { + return dart._hasMember(type, dart._methodSig, name); + }; + dart.hasGetter = function hasGetter(type, name) { + return dart._hasMember(type, dart._getterSig, name); + }; + dart.hasSetter = function hasSetter(type, name) { + return dart._hasMember(type, dart._setterSig, name); + }; + dart.hasField = function hasField(type, name) { + return dart._hasMember(type, dart._fieldSig, name); + }; + dart._installProperties = function _installProperties(jsProto, dartType, installedParent) { + if (dartType === core.Object) { + dart._installPropertiesForObject(jsProto); + return; + } + let dartSupertype = dartType.__proto__; + if (dartSupertype !== installedParent) { + dart._installProperties(jsProto, dartSupertype, installedParent); + } + let dartProto = dartType.prototype; + dart.copyTheseProperties(jsProto, dartProto, dart.getOwnPropertySymbols(dartProto)); + }; + dart._installPropertiesForObject = function _installPropertiesForObject(jsProto) { + let coreObjProto = core.Object.prototype; + let names = dart.getOwnPropertyNames(coreObjProto); + for (let i = 0, n = names.length; i < n; i = i + 1) { + let name = names[i]; + if (name === "constructor") continue; + let desc = dart.getOwnPropertyDescriptor(coreObjProto, name); + dart.defineProperty(jsProto, dart.dartx[name], desc); + } + }; + dart._installPropertiesForGlobalObject = function _installPropertiesForGlobalObject(jsProto) { + dart._installPropertiesForObject(jsProto); + jsProto[dartx.toString] = function() { + return this.toString(); + }; + dart.identityEquals == null ? dart.identityEquals = jsProto[dartx._equals] : null; + }; + dart._applyExtension = function _applyExtension(jsType, dartExtType) { + if (jsType == null) return; + let jsProto = jsType.prototype; + if (jsProto == null) return; + if (dartExtType === core.Object) { + dart._installPropertiesForGlobalObject(jsProto); + return; + } + if (jsType === dart.global.Object) { + let extName = dartExtType.name; + dart._warn("Attempting to install properties from non-Object type '" + extName + "' onto the native JS Object."); + return; + } + dart._installProperties(jsProto, dartExtType, jsProto[dart._extensionType]); + if (dartExtType !== _interceptors.JSFunction) { + jsProto[dart._extensionType] = dartExtType; + } + jsType[dart._methodSig] = dartExtType[dart._methodSig]; + jsType[dart._fieldSig] = dartExtType[dart._fieldSig]; + jsType[dart._getterSig] = dartExtType[dart._getterSig]; + jsType[dart._setterSig] = dartExtType[dart._setterSig]; + }; + dart.applyExtension = function applyExtension(name, nativeObject) { + let dartExtType = dart._extensionMap.get(name); + let jsType = nativeObject.constructor; + dart._applyExtension(jsType, dartExtType); + }; + dart.applyAllExtensions = function applyAllExtensions(global) { + dart._extensionMap.forEach((dartExtType, name) => dart._applyExtension(global[name], dartExtType)); + }; + dart.registerExtension = function registerExtension(name, dartExtType) { + dart._extensionMap.set(name, dartExtType); + let jsType = dart.global[name]; + dart._applyExtension(jsType, dartExtType); + }; + dart.applyExtensionForTesting = function applyExtensionForTesting(name) { + let dartExtType = dart._extensionMap.get(name); + let jsType = dart.global[name]; + dart._applyExtension(jsType, dartExtType); + }; + dart.defineExtensionMethods = function defineExtensionMethods(type, memberNames) { + if (memberNames == null) dart.nullFailed(I[0], 563, 39, "memberNames"); + let proto = type.prototype; + for (let name of memberNames) { + proto[dartx[name]] = proto[name]; + } + }; + dart.defineExtensionAccessors = function defineExtensionAccessors(type, memberNames) { + if (memberNames == null) dart.nullFailed(I[0], 571, 46, "memberNames"); + let proto = type.prototype; + for (let name of memberNames) { + let member = null; + let p = proto; + for (;; p = p.__proto__) { + member = dart.getOwnPropertyDescriptor(p, name); + if (member != null) break; + } + dart.defineProperty(proto, dartx[name], member); + } + }; + dart.definePrimitiveHashCode = function definePrimitiveHashCode(proto) { + dart.defineProperty(proto, dart.identityHashCode_, dart.getOwnPropertyDescriptor(proto, $hashCode)); + }; + dart.setBaseClass = function setBaseClass(derived, base) { + derived.prototype.__proto__ = base.prototype; + derived.__proto__ = base; + }; + dart.setExtensionBaseClass = function setExtensionBaseClass(dartType, jsType) { + let dartProto = dartType.prototype; + dartProto[dart._extensionType] = dartType; + dartProto.__proto__ = jsType.prototype; + }; + dart.addTypeTests = function addTypeTests(ctor, isClass) { + if (isClass == null) isClass = Symbol("_is_" + ctor.name); + ctor.prototype[isClass] = true; + ctor.is = function is_C(obj) { + return obj != null && (obj[isClass] || dart.is(obj, this)); + }; + ctor.as = function as_C(obj) { + if (obj != null && obj[isClass]) return obj; + return dart.as(obj, this); + }; + }; + dart.addTypeCaches = function addTypeCaches(type) { + type[dart._cachedLegacy] = void 0; + type[dart._cachedNullable] = void 0; + let subtypeCacheMap = new Map(); + type[dart._subtypeCache] = subtypeCacheMap; + dart._cacheMaps.push(subtypeCacheMap); + }; + dart.argumentError = function argumentError(value) { + dart.throw(new core.ArgumentError.value(value)); + }; + dart.throwUnimplementedError = function throwUnimplementedError(message) { + if (message == null) dart.nullFailed(I[1], 16, 32, "message"); + dart.throw(new core.UnimplementedError.new(message)); + }; + dart.throwDeferredIsLoadedError = function throwDeferredIsLoadedError(enclosingLibrary, importPrefix) { + dart.throw(new _js_helper.DeferredNotLoadedError.new(enclosingLibrary, importPrefix)); + }; + dart.assertFailed = function assertFailed(message, fileUri = null, line = null, column = null, conditionSource = null) { + dart.throw(new _js_helper.AssertionErrorImpl.new(message, fileUri, line, column, conditionSource)); + }; + dart._checkModuleNullSafetyMode = function _checkModuleNullSafetyMode(isModuleSound) { + if (isModuleSound !== false) { + let sdkMode = false ? "sound" : "unsound"; + let moduleMode = isModuleSound ? "sound" : "unsound"; + dart.throw(new core.AssertionError.new("The null safety mode of the Dart SDK module " + "(" + sdkMode + ") does not match the null safety mode of this module " + "(" + moduleMode + ").")); + } + }; + dart._nullFailedMessage = function _nullFailedMessage(variableName) { + return "A null value was passed into a non-nullable parameter: " + dart.str(variableName) + "."; + }; + dart.nullFailed = function nullFailed(fileUri, line, column, variable) { + if (dart._nonNullAsserts) { + dart.throw(new _js_helper.AssertionErrorImpl.new(dart._nullFailedMessage(variable), fileUri, line, column, dart.str(variable) + " != null")); + } + let key = dart.str(fileUri) + ":" + dart.str(line) + ":" + dart.str(column); + if (!dart._nullFailedSet.has(key)) { + dart._nullFailedSet.add(key); + dart._nullWarn(dart._nullFailedMessage(variable)); + } + }; + dart.throwLateInitializationError = function throwLateInitializationError(name) { + if (name == null) dart.nullFailed(I[1], 66, 37, "name"); + dart.throw(new _internal.LateError.new(name)); + }; + dart.throwCyclicInitializationError = function throwCyclicInitializationError(field = null) { + dart.throw(new core.CyclicInitializationError.new(field)); + }; + dart.throwNullValueError = function throwNullValueError() { + dart.throw(new core.NoSuchMethodError.new(null, new _internal.Symbol.new(""), null, null)); + }; + dart.castError = function castError(obj, expectedType) { + let actualType = dart.getReifiedType(obj); + let message = dart._castErrorMessage(actualType, expectedType); + dart.throw(new _js_helper.TypeErrorImpl.new(message)); + }; + dart._castErrorMessage = function _castErrorMessage(from, to) { + return "Expected a value of type '" + dart.typeName(to) + "', " + "but got one of type '" + dart.typeName(from) + "'"; + }; + dart.getThrown = function getThrown(error) { + if (error != null) { + let value = error[dart._thrownValue]; + if (value != null) return value; + } + return error; + }; + dart.stackTrace = function stackTrace(error) { + if (!(error instanceof Error)) { + return new dart._StackTrace.missing(error); + } + let trace = error[dart._stackTrace]; + if (trace != null) return trace; + return error[dart._stackTrace] = new dart._StackTrace.new(error); + }; + dart.stackTraceForError = function stackTraceForError(error) { + if (error == null) dart.nullFailed(I[1], 164, 37, "error"); + return dart.stackTrace(error[dart._jsError]); + }; + dart.rethrow = function rethrow_(error) { + if (error == null) dart.nullFailed(I[1], 173, 22, "error"); + throw error; + }; + dart.throw = function throw_(exception) { + throw new dart.DartError(exception); + }; + dart.createErrorWithStack = function createErrorWithStack(exception, trace) { + if (exception == null) dart.nullFailed(I[1], 256, 37, "exception"); + if (trace == null) { + let error = exception[dart._jsError]; + return error != null ? error : new dart.DartError(exception); + } + if (dart._StackTrace.is(trace)) { + let originalError = trace[_jsError$]; + if (core.identical(exception, dart.getThrown(originalError))) { + return originalError; + } + } + return new dart.RethrownDartError(exception, trace); + }; + dart.stackPrint = function stackPrint(error) { + if (error == null) dart.nullFailed(I[1], 274, 24, "error"); + console.log(error.stack ? error.stack : "No stack trace for: " + error); + }; + dart.bind = function bind(obj, name, method) { + if (obj == null) obj = _interceptors.jsNull; + if (method == null) method = obj[name]; + let f = method.bind(obj); + f._boundObject = obj; + f._boundMethod = method; + f[dart._runtimeType] = dart.getMethodType(dart.getType(obj), name); + return f; + }; + dart.bindCall = function bindCall(obj, name) { + if (obj == null) return null; + let ftype = dart.getMethodType(dart.getType(obj), name); + if (ftype == null) return null; + let method = obj[name]; + let f = method.bind(obj); + f._boundObject = obj; + f._boundMethod = method; + f[dart._runtimeType] = ftype; + return f; + }; + dart.gbind = function gbind(f, ...typeArgs) { + if (typeArgs == null) dart.nullFailed(I[2], 85, 29, "typeArgs"); + let type = f[dart._runtimeType]; + type.checkBounds(typeArgs); + let result = (...args) => f.apply(null, typeArgs.concat(args)); + return dart.fn(result, type.instantiate(typeArgs)); + }; + dart.dloadRepl = function dloadRepl(obj, field) { + return dart.dload(obj, dart.replNameLookup(obj, field)); + }; + dart.dload = function dload(obj, field) { + if (typeof obj == "function" && field == "call") { + return obj; + } + let f = dart._canonicalMember(obj, field); + _debugger.trackCall(obj); + if (f != null) { + let type = dart.getType(obj); + if (dart.test(dart.hasField(type, f)) || dart.test(dart.hasGetter(type, f))) return obj[f]; + if (dart.test(dart.hasMethod(type, f))) return dart.bind(obj, f, null); + if (dart.test(dart.isJsInterop(obj))) return obj[f]; + } + return dart.noSuchMethod(obj, new dart.InvocationImpl.new(field, [], {isGetter: true})); + }; + dart._stripGenericArguments = function _stripGenericArguments(type) { + let genericClass = dart.getGenericClass(type); + if (genericClass != null) return genericClass(); + return type; + }; + dart.dputRepl = function dputRepl(obj, field, value) { + return dart.dput(obj, dart.replNameLookup(obj, field), value); + }; + dart.dput = function dput(obj, field, value) { + let f = dart._canonicalMember(obj, field); + _debugger.trackCall(obj); + if (f != null) { + let setterType = dart.getSetterType(dart.getType(obj), f); + if (setterType != null) { + return obj[f] = setterType.as(value); + } + if (dart.test(dart.isJsInterop(obj))) return obj[f] = value; + } + dart.noSuchMethod(obj, new dart.InvocationImpl.new(field, [value], {isSetter: true})); + return value; + }; + dart._argumentErrors = function _argumentErrors(type, actuals, namedActuals) { + if (type == null) dart.nullFailed(I[2], 147, 38, "type"); + if (actuals == null) dart.nullFailed(I[2], 147, 49, "actuals"); + let actualsCount = actuals.length; + let required = type.args; + let requiredCount = required.length; + if (actualsCount < requiredCount) { + return "Dynamic call with too few arguments. " + "Expected: " + dart.str(requiredCount) + " Actual: " + dart.str(actualsCount); + } + let extras = actualsCount - requiredCount; + let optionals = type.optionals; + if (extras > optionals.length) { + return "Dynamic call with too many arguments. " + "Expected: " + dart.str(requiredCount) + " Actual: " + dart.str(actualsCount); + } + let names = null; + let named = type.named; + let requiredNamed = type.requiredNamed; + if (namedActuals != null) { + names = dart.getOwnPropertyNames(namedActuals); + for (let name of names) { + if (!(named.hasOwnProperty(name) || requiredNamed.hasOwnProperty(name))) { + return "Dynamic call with unexpected named argument '" + dart.str(name) + "'."; + } + } + } + let requiredNames = dart.getOwnPropertyNames(requiredNamed); + if (dart.test(requiredNames[$isNotEmpty])) { + let missingRequired = namedActuals == null ? requiredNames : requiredNames[$where](name => !namedActuals.hasOwnProperty(name)); + if (dart.test(missingRequired[$isNotEmpty])) { + let error = "Dynamic call with missing required named arguments: " + dart.str(missingRequired[$join](", ")) + "."; + if (!false) { + dart._nullWarn(error); + } else { + return error; + } + } + } + for (let i = 0; i < requiredCount; i = i + 1) { + required[i].as(actuals[i]); + } + for (let i = 0; i < extras; i = i + 1) { + optionals[i].as(actuals[i + requiredCount]); + } + if (names != null) { + for (let name of names) { + (named[name] || requiredNamed[name]).as(namedActuals[name]); + } + } + return null; + }; + dart._toSymbolName = function _toSymbolName(symbol) { + let str = symbol.toString(); + return str.substring(7, str.length - 1); + }; + dart._toDisplayName = function _toDisplayName(name) { + if (name[0] === '_') { + switch (name) { + case '_get': + { + return '[]'; + } + case '_set': + { + return '[]='; + } + case '_negate': + { + return 'unary-'; + } + case '_constructor': + case '_prototype': + { + return name.substring(1); + } + } + } + return name; + }; + dart._dartSymbol = function _dartSymbol(name) { + return typeof name === "symbol" ? dart.const(new _js_helper.PrivateSymbol.new(dart._toSymbolName(name), name)) : dart.const(new _internal.Symbol.new(dart._toDisplayName(name))); + }; + dart._setterSymbol = function _setterSymbol(name) { + return typeof name === "symbol" ? dart.const(new _js_helper.PrivateSymbol.new(dart._toSymbolName(name) + "=", name)) : dart.const(new _internal.Symbol.new(dart._toDisplayName(name) + "=")); + }; + dart._checkAndCall = function _checkAndCall(f, ftype, obj, typeArgs, args, named, displayName) { + _debugger.trackCall(obj); + let originalTarget = obj === void 0 ? f : obj; + function callNSM(errorMessage) { + return dart.noSuchMethod(originalTarget, new dart.InvocationImpl.new(displayName, args, {namedArguments: named, typeArguments: typeArgs || [], isMethod: true, failureMessage: errorMessage})); + } + if (f == null) return callNSM('Dynamic call of null.'); + if (!(f instanceof Function)) { + if (f != null) { + originalTarget = f; + f = dart.bindCall(f, dart._canonicalMember(f, "call")); + ftype = null; + displayName = "call"; + } + if (f == null) return callNSM("Dynamic call of object has no instance method 'call'."); + } + if (ftype == null) ftype = f[dart._runtimeType]; + if (ftype == null) { + if (typeArgs != null) { + dart.throwTypeError('call to JS object `' + obj + '` with type arguments <' + typeArgs + '> is not supported.'); + } + if (named != null) args.push(named); + return f.apply(obj, args); + } + if (ftype instanceof dart.GenericFunctionType) { + let formalCount = ftype.formalCount; + if (typeArgs == null) { + typeArgs = ftype.instantiateDefaultBounds(); + } else if (typeArgs.length != formalCount) { + return callNSM('Dynamic call with incorrect number of type arguments. ' + 'Expected: ' + formalCount + ' Actual: ' + typeArgs.length); + } else { + ftype.checkBounds(typeArgs); + } + ftype = ftype.instantiate(typeArgs); + } else if (typeArgs != null) { + return callNSM('Dynamic call with unexpected type arguments. ' + 'Expected: 0 Actual: ' + typeArgs.length); + } + let errorMessage = dart._argumentErrors(ftype, args, named); + if (errorMessage == null) { + if (typeArgs != null) args = typeArgs.concat(args); + if (named != null) args.push(named); + return f.apply(obj, args); + } + return callNSM(errorMessage); + }; + dart.dcall = function dcall(f, args, named = null) { + return dart._checkAndCall(f, null, void 0, null, args, named, f.name); + }; + dart.dgcall = function dgcall(f, typeArgs, args, named = null) { + return dart._checkAndCall(f, null, void 0, typeArgs, args, named, f.name || 'call'); + }; + dart.replNameLookup = function replNameLookup(object, field) { + let rawField = field; + if (typeof field == 'symbol') { + if (field in object) return field; + field = field.toString(); + field = field.substring('Symbol('.length, field.length - 1); + } else if (field.charAt(0) != '_') { + return field; + } + if (field in object) return field; + let proto = object; + while (proto !== null) { + let symbols = Object.getOwnPropertySymbols(proto); + let target = 'Symbol(' + field + ')'; + for (let s = 0; s < symbols.length; s++) { + let sym = symbols[s]; + if (target == sym.toString()) return sym; + } + proto = proto.__proto__; + } + return rawField; + }; + dart.callMethod = function callMethod(obj, name, typeArgs, args, named, displayName) { + if (typeof obj == "function" && name == "call") { + return dart.dgcall(obj, typeArgs, args, named); + } + let symbol = dart._canonicalMember(obj, name); + if (symbol == null) { + return dart.noSuchMethod(obj, new dart.InvocationImpl.new(displayName, T$.ListOfObjectN().as(args), {isMethod: true})); + } + let f = obj != null ? obj[symbol] : null; + let type = dart.getType(obj); + let ftype = dart.getMethodType(type, symbol); + return dart._checkAndCall(f, ftype, obj, typeArgs, args, named, displayName); + }; + dart.dsend = function dsend(obj, method, args, named = null) { + return dart.callMethod(obj, method, null, args, named, method); + }; + dart.dgsend = function dgsend(obj, typeArgs, method, args, named = null) { + return dart.callMethod(obj, method, typeArgs, args, named, method); + }; + dart.dsendRepl = function dsendRepl(obj, method, args, named = null) { + return dart.callMethod(obj, dart.replNameLookup(obj, method), null, args, named, method); + }; + dart.dgsendRepl = function dgsendRepl(obj, typeArgs, method, args, named = null) { + return dart.callMethod(obj, dart.replNameLookup(obj, method), typeArgs, args, named, method); + }; + dart.dindex = function dindex(obj, index) { + return dart.callMethod(obj, "_get", null, [index], null, "[]"); + }; + dart.dsetindex = function dsetindex(obj, index, value) { + return dart.callMethod(obj, "_set", null, [index, value], null, "[]="); + }; + dart.is = function instanceOf(obj, type) { + if (obj == null) { + return type === core.Null || dart._isTop(type) || type instanceof dart.NullableType; + } + return dart.isSubtypeOf(dart.getReifiedType(obj), type); + }; + dart.as = function cast(obj, type) { + if (obj == null && !false) { + dart._nullWarnOnType(type); + return obj; + } else { + let actual = dart.getReifiedType(obj); + if (dart.isSubtypeOf(actual, type)) return obj; + } + return dart.castError(obj, type); + }; + dart.test = function test(obj) { + if (obj == null) dart.throw(new _js_helper.BooleanConversionAssertionError.new()); + return obj; + }; + dart.dtest = function dtest(obj) { + if (!(typeof obj == 'boolean')) { + dart.booleanConversionFailed(false ? obj : dart.test(T$.boolN().as(obj))); + dart.throw(new _internal.ReachabilityError.new("`null` encountered as the result from expression with type `Never`.")); + } + return obj; + }; + dart.booleanConversionFailed = function booleanConversionFailed(obj) { + let actual = dart.typeName(dart.getReifiedType(obj)); + dart.throw(new _js_helper.TypeErrorImpl.new("type '" + actual + "' is not a 'bool' in boolean expression")); + }; + dart.asInt = function asInt(obj) { + if (Math.floor(obj) != obj) { + if (obj == null && !false) { + dart._nullWarnOnType(core.int); + return null; + } else { + dart.castError(obj, core.int); + } + } + return obj; + }; + dart.asNullableInt = function asNullableInt(obj) { + return obj == null ? null : dart.asInt(obj); + }; + dart.notNull = function _notNull(x) { + if (x == null) dart.throwNullValueError(); + return x; + }; + dart.nullCast = function nullCast(x, type) { + if (x == null) { + if (!false) { + dart._nullWarnOnType(type); + } else { + dart.castError(x, type); + } + } + return x; + }; + dart.nullCheck = function nullCheck(x) { + if (x == null) dart.throw(new _js_helper.TypeErrorImpl.new("Unexpected null value.")); + return x; + }; + dart._lookupNonTerminal = function _lookupNonTerminal(map, key) { + if (map == null) dart.nullFailed(I[2], 529, 34, "map"); + let result = map.get(key); + if (result != null) return result; + map.set(key, result = new Map()); + return dart.nullCheck(result); + }; + dart.constMap = function constMap(K, V, elements) { + if (elements == null) dart.nullFailed(I[2], 536, 34, "elements"); + let count = elements[$length]; + let map = dart._lookupNonTerminal(dart.constantMaps, count); + for (let i = 0; i < count; i = i + 1) { + map = dart._lookupNonTerminal(map, elements[i]); + } + map = dart._lookupNonTerminal(map, dart.wrapType(K)); + let result = map.get(V); + if (result != null) return result; + result = new (_js_helper.ImmutableMap$(K, V)).from(elements); + map.set(V, result); + return result; + }; + dart._createImmutableSet = function _createImmutableSet(E, elements) { + if (elements == null) dart.nullFailed(I[2], 554, 42, "elements"); + dart._immutableSetConstructor == null ? dart._immutableSetConstructor = dart.getLibrary("dart:collection")._ImmutableSet$ : null; + return new (dart._immutableSetConstructor(E)).from(elements); + }; + dart.constSet = function constSet(E, elements) { + if (elements == null) dart.nullFailed(I[2], 560, 31, "elements"); + let count = elements[$length]; + let map = dart._lookupNonTerminal(dart.constantSets, count); + for (let i = 0; i < count; i = i + 1) { + map = dart._lookupNonTerminal(map, elements[i]); + } + let result = map.get(E); + if (result != null) return result; + result = dart._createImmutableSet(E, elements); + map.set(E, result); + return result; + }; + dart.multiKeyPutIfAbsent = function multiKeyPutIfAbsent(map, keys, valueFn) { + for (let k of keys) { + let value = map.get(k); + if (!value) { + map.set(k, value = new Map()); + } + map = value; + } + if (map.has(dart._value)) return map.get(dart._value); + let value = valueFn(); + map.set(dart._value, value); + return value; + }; + dart.const = function const_(obj) { + let names = dart.getOwnNamesAndSymbols(obj); + let count = names.length; + let map = dart._lookupNonTerminal(dart.constants, count); + for (let i = 0; i < count; i++) { + let name = names[i]; + map = dart._lookupNonTerminal(map, name); + map = dart._lookupNonTerminal(map, obj[name]); + } + let type = dart.getReifiedType(obj); + let value = map.get(type); + if (value) return value; + map.set(type, obj); + return obj; + }; + dart.constList = function constList(elements, elementType) { + let count = elements.length; + let map = dart._lookupNonTerminal(dart.constantLists, count); + for (let i = 0; i < count; i++) { + map = dart._lookupNonTerminal(map, elements[i]); + } + let value = map.get(elementType); + if (value) return value; + _interceptors.JSArray$(elementType).unmodifiable(elements); + map.set(elementType, elements); + return elements; + }; + dart.constFn = function constFn(x) { + return () => x; + }; + dart.extensionSymbol = function extensionSymbol(name) { + if (name == null) dart.nullFailed(I[2], 678, 24, "name"); + return dartx[name]; + }; + dart.equals = function equals(x, y) { + return x == null ? y == null : x[$_equals](y); + }; + dart.hashCode = function hashCode(obj) { + return obj == null ? 0 : obj[$hashCode]; + }; + dart.toString = function _toString(obj) { + if (obj == null) return "null"; + if (typeof obj == 'string') return obj; + return obj[$toString](); + }; + dart.str = function str(obj) { + if (obj == null) return "null"; + if (typeof obj == 'string') return obj; + return core.String.as(dart.notNull(obj[$toString]())); + }; + dart.noSuchMethod = function noSuchMethod(obj, invocation) { + if (invocation == null) dart.nullFailed(I[2], 714, 30, "invocation"); + if (obj == null) dart.defaultNoSuchMethod(obj, invocation); + return obj[$noSuchMethod](invocation); + }; + dart.defaultNoSuchMethod = function defaultNoSuchMethod(obj, i) { + if (i == null) dart.nullFailed(I[2], 720, 37, "i"); + dart.throw(new core.NoSuchMethodError._withInvocation(obj, i)); + }; + dart.runtimeType = function runtimeType(obj) { + return obj == null ? dart.wrapType(core.Null) : obj[dartx.runtimeType]; + }; + dart._canonicalMember = function _canonicalMember(obj, name) { + if (typeof name === "symbol") return name; + if (obj != null && obj[dart._extensionType] != null) { + return dartx[name]; + } + if (name == "constructor" || name == "prototype") { + name = "+" + name; + } + return name; + }; + dart.loadLibrary = function loadLibrary(enclosingLibrary, importPrefix) { + let result = dart.deferredImports.get(enclosingLibrary); + if (dart.test(result === void 0)) { + dart.deferredImports.set(enclosingLibrary, result = new Set()); + } + result.add(importPrefix); + return async.Future.value(); + }; + dart.checkDeferredIsLoaded = function checkDeferredIsLoaded(enclosingLibrary, importPrefix) { + let loaded = dart.deferredImports.get(enclosingLibrary); + if (dart.test(loaded === void 0) || dart.test(!loaded.has(importPrefix))) { + dart.throwDeferredIsLoadedError(enclosingLibrary, importPrefix); + } + }; + dart.defineLazy = function defineLazy(to, from, useOldSemantics) { + if (useOldSemantics == null) dart.nullFailed(I[2], 795, 32, "useOldSemantics"); + for (let name of dart.getOwnNamesAndSymbols(from)) { + if (dart.test(useOldSemantics)) { + dart.defineLazyFieldOld(to, name, dart.getOwnPropertyDescriptor(from, name)); + } else { + dart.defineLazyField(to, name, dart.getOwnPropertyDescriptor(from, name)); + } + } + }; + dart.defineLazyField = function defineLazyField(to, name, desc) { + const initializer = desc.get; + const final = desc.set == null; + let initialized = false; + let init = initializer; + let value = null; + let savedLocals = false; + desc.get = function() { + if (init == null) return value; + if (final && initialized) dart.throwLateInitializationError(name); + if (!savedLocals) { + dart._resetFields.push(() => { + init = initializer; + value = null; + savedLocals = false; + initialized = false; + }); + savedLocals = true; + } + initialized = true; + try { + value = init(); + } catch (e) { + initialized = false; + throw e; + } + init = null; + return value; + }; + desc.configurable = true; + if (desc.set != null) { + desc.set = function(x) { + init = null; + value = x; + }; + } + return dart.defineProperty(to, name, desc); + }; + dart.defineLazyFieldOld = function defineLazyFieldOld(to, name, desc) { + const initializer = desc.get; + let init = initializer; + let value = null; + desc.get = function() { + if (init == null) return value; + let f = init; + init = dart.throwCyclicInitializationError; + if (f === init) f(name); + dart._resetFields.push(() => { + init = initializer; + value = null; + }); + try { + value = f(); + init = null; + return value; + } catch (e) { + init = null; + value = null; + throw e; + } + }; + desc.configurable = true; + if (desc.set != null) { + desc.set = function(x) { + init = null; + value = x; + }; + } + return dart.defineProperty(to, name, desc); + }; + dart.checkNativeNonNull = function checkNativeNonNull(variable) { + if (dart._nativeNonNullAsserts && variable == null) { + dart.throw(new _js_helper.TypeErrorImpl.new(" Unexpected null value encountered in Dart web platform libraries.\n This may be a bug in the Dart SDK APIs. If you would like to report a bug\n or disable this error, you can use the following instructions:\n https://github.com/dart-lang/sdk/tree/master/sdk/lib/html/doc/NATIVE_NULL_ASSERTIONS.md\n ")); + } + return variable; + }; + dart.fn = function fn(closure, type) { + closure[dart._runtimeType] = type; + return closure; + }; + dart.lazyFn = function lazyFn(closure, computeType) { + if (computeType == null) dart.nullFailed(I[3], 63, 35, "computeType"); + dart.defineAccessor(closure, dart._runtimeType, { + get: () => dart.defineValue(closure, dart._runtimeType, computeType()), + set: value => dart.defineValue(closure, dart._runtimeType, value), + configurable: true + }); + return closure; + }; + dart.getFunctionType = function getFunctionType(obj) { + let args = Array(obj.length).fill(dart.dynamic); + return dart.fnType(dart.bottom, args, void 0); + }; + dart.getReifiedType = function getReifiedType(obj) { + switch (typeof obj) { + case "object": + { + if (obj == null) return core.Null; + if (obj instanceof core.Object) { + return obj.constructor; + } + let result = obj[dart._extensionType]; + if (result == null) return dart.jsobject; + return result; + } + case "function": + { + let result = obj[dart._runtimeType]; + if (result != null) return result; + return dart.jsobject; + } + case "undefined": + { + return core.Null; + } + case "number": + { + return Math.floor(obj) == obj ? core.int : core.double; + } + case "boolean": + { + return core.bool; + } + case "string": + { + return core.String; + } + case "symbol": + default: + { + return dart.jsobject; + } + } + }; + dart.getModuleName = function getModuleName(module) { + if (module == null) dart.nullFailed(I[3], 117, 30, "module"); + return module[dart._moduleName]; + }; + dart.getModuleNames = function getModuleNames() { + return Array.from(dart._loadedModules.keys()); + }; + dart.getSourceMap = function getSourceMap(moduleName) { + if (moduleName == null) dart.nullFailed(I[3], 127, 29, "moduleName"); + return dart._loadedSourceMaps.get(moduleName); + }; + dart.getModuleLibraries = function getModuleLibraries(name) { + if (name == null) dart.nullFailed(I[3], 132, 27, "name"); + let module = dart._loadedModules.get(name); + if (module == null) return null; + module[dart._moduleName] = name; + return module; + }; + dart.getModulePartMap = function getModulePartMap(name) { + if (name == null) dart.nullFailed(I[3], 140, 25, "name"); + return dart._loadedPartMaps.get(name); + }; + dart.trackLibraries = function trackLibraries(moduleName, libraries, parts, sourceMap) { + if (moduleName == null) dart.nullFailed(I[3], 144, 12, "moduleName"); + if (libraries == null) dart.nullFailed(I[3], 144, 31, "libraries"); + if (parts == null) dart.nullFailed(I[3], 144, 49, "parts"); + if (typeof parts == 'string') { + sourceMap = parts; + parts = {}; + } + dart._loadedSourceMaps.set(moduleName, sourceMap); + dart._loadedModules.set(moduleName, libraries); + dart._loadedPartMaps.set(moduleName, parts); + dart._libraries = null; + dart._libraryObjects = null; + dart._parts = null; + }; + dart._computeLibraryMetadata = function _computeLibraryMetadata() { + dart._libraries = T$.JSArrayOfString().of([]); + dart._libraryObjects = new (T$.IdentityMapOfString$ObjectN()).new(); + dart._parts = new (T$.IdentityMapOfString$ListNOfString()).new(); + let modules = dart.getModuleNames(); + for (let name of modules) { + let module = dart.getModuleLibraries(name); + let libraries = dart.getOwnPropertyNames(module)[$cast](core.String); + dart.nullCheck(dart._libraries)[$addAll](libraries); + for (let library of libraries) { + dart.nullCheck(dart._libraryObjects)[$_set](library, module[library]); + } + let partMap = dart.getModulePartMap(name); + libraries = dart.getOwnPropertyNames(partMap)[$cast](core.String); + for (let library of libraries) { + dart.nullCheck(dart._parts)[$_set](library, T$.ListOfString().from(partMap[library])); + } + } + }; + dart.getLibrary = function getLibrary(uri) { + if (uri == null) dart.nullFailed(I[3], 192, 27, "uri"); + if (dart._libraryObjects == null) { + dart._computeLibraryMetadata(); + } + return dart.nullCheck(dart._libraryObjects)[$_get](uri); + }; + dart.getLibraries = function getLibraries() { + if (dart._libraries == null) { + dart._computeLibraryMetadata(); + } + return dart.nullCheck(dart._libraries); + }; + dart.getParts = function getParts(libraryUri) { + let t0; + if (libraryUri == null) dart.nullFailed(I[3], 222, 30, "libraryUri"); + if (dart._parts == null) { + dart._computeLibraryMetadata(); + } + t0 = dart.nullCheck(dart._parts)[$_get](libraryUri); + return t0 == null ? T$.JSArrayOfString().of([]) : t0; + }; + dart.polyfill = function polyfill(window) { + if (window[dart._polyfilled]) return false; + window[dart._polyfilled] = true; + if (typeof window.NodeList !== "undefined") { + window.NodeList.prototype.get = function(i) { + return this[i]; + }; + window.NamedNodeMap.prototype.get = function(i) { + return this[i]; + }; + window.DOMTokenList.prototype.get = function(i) { + return this[i]; + }; + window.HTMLCollection.prototype.get = function(i) { + return this[i]; + }; + if (typeof window.PannerNode == "undefined") { + let audioContext; + if (typeof window.AudioContext == "undefined" && typeof window.webkitAudioContext != "undefined") { + audioContext = new window.webkitAudioContext(); + } else { + audioContext = new window.AudioContext(); + window.StereoPannerNode = audioContext.createStereoPanner().constructor; + } + window.PannerNode = audioContext.createPanner().constructor; + } + if (typeof window.AudioSourceNode == "undefined") { + window.AudioSourceNode = MediaElementAudioSourceNode.__proto__; + } + if (typeof window.FontFaceSet == "undefined") { + if (typeof window.document.fonts != "undefined") { + window.FontFaceSet = window.document.fonts.__proto__.constructor; + } + } + if (typeof window.MemoryInfo == "undefined") { + if (typeof window.performance.memory != "undefined") { + window.MemoryInfo = function() { + }; + window.MemoryInfo.prototype = window.performance.memory.__proto__; + } + } + if (typeof window.Geolocation == "undefined") { + window.Geolocation == window.navigator.geolocation.constructor; + } + if (typeof window.Animation == "undefined") { + let d = window.document.createElement('div'); + if (typeof d.animate != "undefined") { + window.Animation = d.animate(d).constructor; + } + } + if (typeof window.SourceBufferList == "undefined") { + if ('MediaSource' in window) { + window.SourceBufferList = new window.MediaSource().sourceBuffers.constructor; + } + } + if (typeof window.SpeechRecognition == "undefined") { + window.SpeechRecognition = window.webkitSpeechRecognition; + window.SpeechRecognitionError = window.webkitSpeechRecognitionError; + window.SpeechRecognitionEvent = window.webkitSpeechRecognitionEvent; + } + } + return true; + }; + dart.trackProfile = function trackProfile(flag) { + if (flag == null) dart.nullFailed(I[4], 141, 24, "flag"); + dart.__trackProfile = flag; + }; + dart.setStartAsyncSynchronously = function setStartAsyncSynchronously(value = true) { + if (value == null) dart.nullFailed(I[4], 166, 39, "value"); + dart.startAsyncSynchronously = value; + }; + dart.hotRestart = function hotRestart() { + dart.hotRestartIteration = dart.notNull(dart.hotRestartIteration) + 1; + for (let f of dart._resetFields) + f(); + dart._resetFields[$clear](); + for (let m of dart._cacheMaps) + m.clear(); + dart._cacheMaps[$clear](); + dart._nullComparisonSet.clear(); + dart.constantMaps.clear(); + dart.deferredImports.clear(); + }; + dart._throwInvalidFlagError = function _throwInvalidFlagError(message) { + if (message == null) dart.nullFailed(I[5], 15, 31, "message"); + return dart.throw(new core.UnsupportedError.new("Invalid flag combination.\n" + dart.str(message))); + }; + dart.weakNullSafetyWarnings = function weakNullSafetyWarnings(showWarnings) { + if (showWarnings == null) dart.nullFailed(I[5], 25, 34, "showWarnings"); + if (dart.test(showWarnings) && false) { + dart._throwInvalidFlagError("Null safety violations cannot be shown as warnings when running with " + "sound null safety."); + } + dart._weakNullSafetyWarnings = showWarnings; + }; + dart.weakNullSafetyErrors = function weakNullSafetyErrors(showErrors) { + if (showErrors == null) dart.nullFailed(I[5], 42, 32, "showErrors"); + if (dart.test(showErrors) && false) { + dart._throwInvalidFlagError("Null safety violations are already thrown as errors when running with " + "sound null safety."); + } + if (dart.test(showErrors) && dart._weakNullSafetyWarnings) { + dart._throwInvalidFlagError("Null safety violations can be shown as warnings or thrown as errors, " + "not both."); + } + dart._weakNullSafetyErrors = showErrors; + }; + dart.nonNullAsserts = function nonNullAsserts(enable) { + if (enable == null) dart.nullFailed(I[5], 66, 26, "enable"); + dart._nonNullAsserts = enable; + }; + dart.nativeNonNullAsserts = function nativeNonNullAsserts(enable) { + if (enable == null) dart.nullFailed(I[5], 78, 32, "enable"); + dart._nativeNonNullAsserts = enable; + }; + dart._isJsObject = function _isJsObject(obj) { + return dart.getReifiedType(obj) === dart.jsobject; + }; + dart.assertInterop = function assertInterop(f) { + if (f == null) dart.nullFailed(I[5], 164, 39, "f"); + if (!(dart._isJsObject(f) || !(f instanceof dart.global.Function))) dart.assertFailed("Dart function requires `allowInterop` to be passed to JavaScript.", I[5], 166, 7, "_isJsObject(f) ||\n !JS('bool', '# instanceof #.Function', f, global_)"); + return f; + }; + dart.isDartFunction = function isDartFunction(obj) { + return obj instanceof Function && obj[dart._runtimeType] != null; + }; + dart.tearoffInterop = function tearoffInterop(f) { + if (!dart._isJsObject(f) || f == null) return f; + let ret = dart._assertInteropExpando._get(f); + if (ret == null) { + ret = function(...arguments$) { + var args = arguments$.map(dart.assertInterop); + return f.apply(this, args); + }; + dart._assertInteropExpando._set(f, ret); + } + return ret; + }; + dart._warn = function _warn(arg) { + console.warn(arg); + }; + dart._nullWarn = function _nullWarn(message) { + if (dart._weakNullSafetyWarnings) { + dart._warn(dart.str(message) + "\n" + "This will become a failure when runtime null safety is enabled."); + } else if (dart._weakNullSafetyErrors) { + dart.throw(new _js_helper.TypeErrorImpl.new(core.String.as(message))); + } + }; + dart._nullWarnOnType = function _nullWarnOnType(type) { + let result = dart._nullComparisonSet.has(type); + if (!dart.test(result)) { + dart._nullComparisonSet.add(type); + dart._nullWarn("Null is not a subtype of " + dart.str(type) + "."); + } + }; + dart.lazyJSType = function lazyJSType(getJSTypeCallback, name) { + if (getJSTypeCallback == null) dart.nullFailed(I[5], 304, 23, "getJSTypeCallback"); + if (name == null) dart.nullFailed(I[5], 304, 49, "name"); + let ret = dart._lazyJSTypes.get(name); + if (ret == null) { + ret = new dart.LazyJSType.new(getJSTypeCallback, name); + dart._lazyJSTypes.set(name, ret); + } + return ret; + }; + dart.anonymousJSType = function anonymousJSType(name) { + if (name == null) dart.nullFailed(I[5], 313, 24, "name"); + let ret = dart._anonymousJSTypes.get(name); + if (ret == null) { + ret = new dart.AnonymousJSType.new(name); + dart._anonymousJSTypes.set(name, ret); + } + return ret; + }; + dart.nullable = function nullable(type) { + let cached = type[dart._cachedNullable]; + if (cached !== void 0) { + return cached; + } + let cachedType = dart._computeNullable(type); + type[dart._cachedNullable] = cachedType; + return cachedType; + }; + dart._computeNullable = function _computeNullable(type) { + if (type instanceof dart.LegacyType) { + return dart.nullable(type.type); + } + if (type instanceof dart.NullableType || dart._isTop(type) || type === core.Null || dart._isFutureOr(type) && dart.getGenericArgs(type)[0] instanceof dart.NullableType) { + return type; + } + if (type === dart.Never) return core.Null; + return new dart.NullableType.new(type); + }; + dart.legacy = function legacy(type) { + let cached = type[dart._cachedLegacy]; + if (cached !== void 0) { + return cached; + } + let cachedType = dart._computeLegacy(type); + type[dart._cachedLegacy] = cachedType; + return cachedType; + }; + dart._computeLegacy = function _computeLegacy(type) { + if (type instanceof dart.LegacyType || type instanceof dart.NullableType || dart._isTop(type) || type === core.Null) { + return type; + } + return new dart.LegacyType.new(type); + }; + dart.wrapType = function wrapType(type, isNormalized = false) { + if (type.hasOwnProperty(dart._typeObject)) { + return type[dart._typeObject]; + } + let result = isNormalized ? new dart._Type.new(core.Object.as(type)) : type instanceof dart.LegacyType ? dart.wrapType(type.type) : dart._canonicalizeNormalizedTypeObject(type); + type[dart._typeObject] = result; + return result; + }; + dart._canonicalizeNormalizedTypeObject = function _canonicalizeNormalizedTypeObject(type) { + if (!!(type instanceof dart.LegacyType)) dart.assertFailed(null, I[5], 528, 10, "!_jsInstanceOf(type, LegacyType)"); + function normalizeHelper(a) { + return dart.unwrapType(dart.wrapType(a)); + } + if (type instanceof dart.GenericFunctionTypeIdentifier) { + return dart.wrapType(type, true); + } + if (type instanceof dart.FunctionType) { + let normReturnType = normalizeHelper(dart.dload(type, 'returnType')); + let normArgs = dart.dsend(dart.dsend(dart.dload(type, 'args'), 'map', [normalizeHelper]), 'toList', []); + if (dart.global.Object.keys(dart.dload(type, 'named')).length === 0 && dart.global.Object.keys(dart.dload(type, 'requiredNamed')).length === 0) { + if (dart.dtest(dart.dload(dart.dload(type, 'optionals'), 'isEmpty'))) { + let normType = dart.fnType(normReturnType, core.List.as(normArgs)); + return dart.wrapType(normType, true); + } + let normOptionals = dart.dsend(dart.dsend(dart.dload(type, 'optionals'), 'map', [normalizeHelper]), 'toList', []); + let normType = dart.fnType(normReturnType, core.List.as(normArgs), normOptionals); + return dart.wrapType(normType, true); + } + let normNamed = {}; + dart._transformJSObject(dart.dload(type, 'named'), normNamed, normalizeHelper); + let normRequiredNamed = {}; + dart._transformJSObject(dart.dload(type, 'requiredNamed'), normRequiredNamed, normalizeHelper); + let normType = dart.fnType(normReturnType, core.List.as(normArgs), normNamed, normRequiredNamed); + return dart.wrapType(normType, true); + } + if (type instanceof dart.GenericFunctionType) { + let formals = dart._getCanonicalTypeFormals(core.int.as(dart.dload(dart.dload(type, 'typeFormals'), 'length'))); + let normBounds = core.List.as(dart.dsend(dart.dsend(dart.dsend(type, 'instantiateTypeBounds', [formals]), 'map', [normalizeHelper]), 'toList', [])); + let substitutedTypes = []; + if (dart.test(normBounds[$contains](dart.Never))) { + for (let i = 0; i < dart.notNull(formals[$length]); i = i + 1) { + let substitutedType = normBounds[$_get](i); + while (dart.test(formals[$contains](substitutedType))) { + substitutedType = normBounds[$_get](formals[$indexOf](dart.TypeVariable.as(substitutedType))); + } + if (dart.equals(substitutedType, dart.Never)) { + substitutedTypes[$add](dart.Never); + } else { + substitutedTypes[$add](formals[$_get](i)); + } + } + } else { + substitutedTypes = formals; + } + let normFunc = dart.FunctionType.as(normalizeHelper(dart.dsend(type, 'instantiate', [substitutedTypes]))); + let typeObjectIdKey = []; + typeObjectIdKey.push(...normBounds); + typeObjectIdKey.push(normFunc); + let memoizedId = dart._memoizeArray(dart._gFnTypeTypeMap, typeObjectIdKey, () => new dart.GenericFunctionTypeIdentifier.new(formals, normBounds, normFunc)); + return dart.wrapType(memoizedId, true); + } + let args = dart.getGenericArgs(type); + let normType = null; + if (args == null || dart.test(args[$isEmpty])) { + normType = type; + } else { + let genericClass = dart.getGenericClass(type); + let normArgs = args[$map](core.Object, normalizeHelper)[$toList](); + normType = genericClass(...normArgs); + } + return dart.wrapType(normType, true); + }; + dart._transformJSObject = function _transformJSObject(srcObject, dstObject, transform) { + if (transform == null) dart.nullFailed(I[5], 610, 56, "transform"); + for (let key of dart.global.Object.keys(srcObject)) { + dstObject[key] = dart.dcall(transform, [srcObject[key]]); + } + }; + dart.unwrapType = function unwrapType(obj) { + if (obj == null) dart.nullFailed(I[5], 621, 24, "obj"); + return obj[_type$]; + }; + dart._getCanonicalTypeFormals = function _getCanonicalTypeFormals(count) { + if (count == null) dart.nullFailed(I[5], 666, 49, "count"); + while (dart.notNull(count) > dart.notNull(dart._typeVariablePool[$length])) { + dart._fillTypeVariable(); + } + return dart._typeVariablePool[$sublist](0, count); + }; + dart._fillTypeVariable = function _fillTypeVariable() { + if (dart.notNull(dart._typeVariablePool[$length]) < 26) { + dart._typeVariablePool[$add](new dart.TypeVariable.new(core.String.fromCharCode(65 + dart.notNull(dart._typeVariablePool[$length])))); + } else { + dart._typeVariablePool[$add](new dart.TypeVariable.new("T" + dart.str(dart.notNull(dart._typeVariablePool[$length]) - 26))); + } + }; + dart._memoizeArray = function _memoizeArray(map, arr, create) { + if (create == null) dart.nullFailed(I[5], 688, 32, "create"); + return (() => { + let len = arr.length; + map = dart._lookupNonTerminal(map, len); + for (var i = 0; i < len - 1; ++i) { + map = dart._lookupNonTerminal(map, arr[i]); + } + let result = map.get(arr[len - 1]); + if (result !== void 0) return result; + map.set(arr[len - 1], result = create()); + return result; + })(); + }; + dart._canonicalizeArray = function _canonicalizeArray(array, map) { + if (array == null) dart.nullFailed(I[5], 700, 30, "array"); + return dart._memoizeArray(map, array, () => array); + }; + dart._canonicalizeNamed = function _canonicalizeNamed(named, map) { + let key = []; + let names = dart.getOwnPropertyNames(named); + for (var i = 0; i < names.length; ++i) { + let name = names[i]; + let type = named[name]; + key.push(name); + key.push(type); + } + return dart._memoizeArray(map, key, () => named); + }; + dart._createSmall = function _createSmall(returnType, required) { + if (required == null) dart.nullFailed(I[5], 720, 44, "required"); + return (() => { + let count = required.length; + let map = dart._fnTypeSmallMap[count]; + for (var i = 0; i < count; ++i) { + map = dart._lookupNonTerminal(map, required[i]); + } + let result = map.get(returnType); + if (result !== void 0) return result; + result = new dart.FunctionType.new(core.Type.as(returnType), required, [], {}, {}); + map.set(returnType, result); + return result; + })(); + }; + dart._typeFormalsFromFunction = function _typeFormalsFromFunction(typeConstructor) { + let str = typeConstructor.toString(); + let hasParens = str[$_get](0) === "("; + let end = str[$indexOf](hasParens ? ")" : "=>"); + if (hasParens) { + return str[$substring](1, end)[$split](",")[$map](dart.TypeVariable, n => { + if (n == null) dart.nullFailed(I[5], 1152, 15, "n"); + return new dart.TypeVariable.new(n[$trim]()); + })[$toList](); + } else { + return T$.JSArrayOfTypeVariable().of([new dart.TypeVariable.new(str[$substring](0, end)[$trim]())]); + } + }; + dart.fnType = function fnType(returnType, args, optional = null, requiredNamed = null) { + if (args == null) dart.nullFailed(I[5], 1160, 38, "args"); + return dart.FunctionType.create(returnType, args, optional, requiredNamed); + }; + dart.gFnType = function gFnType(instantiateFn, typeBounds) { + return new dart.GenericFunctionType.new(instantiateFn, typeBounds); + }; + dart.isType = function isType(obj) { + return obj[dart._runtimeType] === core.Type; + }; + dart.checkTypeBound = function checkTypeBound(type, bound, name) { + if (!dart.isSubtypeOf(type, bound)) { + dart.throwTypeError("type `" + dart.str(type) + "` does not extend `" + dart.str(bound) + "` of `" + name + "`."); + } + }; + dart.typeName = function typeName(type) { + if (type === void 0) return "undefined type"; + if (type === null) return "null type"; + if (type instanceof dart.DartType) { + return type.toString(); + } + let tag = type[dart._runtimeType]; + if (tag === core.Type) { + let name = type.name; + let args = dart.getGenericArgs(type); + if (args == null) return name; + if (dart.getGenericClass(type) == _interceptors.JSArray$) name = 'List'; + let result = name; + result += '<'; + for (let i = 0; i < args.length; ++i) { + if (i > 0) result += ', '; + result += dart.typeName(args[i]); + } + result += '>'; + return result; + } + if (tag) return "Not a type: " + tag.name; + return "JSObject<" + type.name + ">"; + }; + dart._isFunctionSubtype = function _isFunctionSubtype(ft1, ft2, strictMode) { + let ret1 = ft1.returnType; + let ret2 = ft2.returnType; + let args1 = ft1.args; + let args2 = ft2.args; + if (args1.length > args2.length) { + return false; + } + for (let i = 0; i < args1.length; ++i) { + if (!dart._isSubtype(args2[i], args1[i], strictMode)) { + return false; + } + } + let optionals1 = ft1.optionals; + let optionals2 = ft2.optionals; + if (args1.length + optionals1.length < args2.length + optionals2.length) { + return false; + } + let j = 0; + for (let i = args1.length; i < args2.length; ++i, ++j) { + if (!dart._isSubtype(args2[i], optionals1[j], strictMode)) { + return false; + } + } + for (let i = 0; i < optionals2.length; ++i, ++j) { + if (!dart._isSubtype(optionals2[i], optionals1[j], strictMode)) { + return false; + } + } + let named1 = ft1.named; + let requiredNamed1 = ft1.requiredNamed; + let named2 = ft2.named; + let requiredNamed2 = ft2.requiredNamed; + if (!strictMode) { + named1 = Object.assign({}, named1, requiredNamed1); + named2 = Object.assign({}, named2, requiredNamed2); + requiredNamed1 = {}; + requiredNamed2 = {}; + } + let names = dart.getOwnPropertyNames(requiredNamed1); + for (let i = 0; i < names.length; ++i) { + let name = names[i]; + let n2 = requiredNamed2[name]; + if (n2 === void 0) { + return false; + } + } + names = dart.getOwnPropertyNames(named2); + for (let i = 0; i < names.length; ++i) { + let name = names[i]; + let n1 = named1[name]; + let n2 = named2[name]; + if (n1 === void 0) { + return false; + } + if (!dart._isSubtype(n2, n1, strictMode)) { + return false; + } + } + names = dart.getOwnPropertyNames(requiredNamed2); + for (let i = 0; i < names.length; ++i) { + let name = names[i]; + let n1 = named1[name] || requiredNamed1[name]; + let n2 = requiredNamed2[name]; + if (n1 === void 0) { + return false; + } + if (!dart._isSubtype(n2, n1, strictMode)) { + return false; + } + } + return dart._isSubtype(ret1, ret2, strictMode); + }; + dart.isSubtypeOf = function isSubtypeOf(t1, t2) { + let map = t1[dart._subtypeCache]; + let result = map.get(t2); + if (result !== void 0) return result; + let validSubtype = dart._isSubtype(t1, t2, true); + if (!validSubtype && !false) { + validSubtype = dart._isSubtype(t1, t2, false); + if (validSubtype) { + dart._nullWarn(dart.str(t1) + " is not a subtype of " + dart.str(t2) + "."); + } + } + map.set(t2, validSubtype); + return validSubtype; + }; + dart._isBottom = function _isBottom(type, strictMode) { + return type === dart.Never || !strictMode && type === core.Null; + }; + dart._isTop = function _isTop(type) { + if (type instanceof dart.NullableType) return type.type === core.Object; + return type === dart.dynamic || type === dart.void; + }; + dart._isFutureOr = function _isFutureOr(type) { + let genericClass = dart.getGenericClass(type); + return genericClass && genericClass === async.FutureOr$; + }; + dart._isSubtype = function _isSubtype(t1, t2, strictMode) { + if (!strictMode) { + if (t1 instanceof dart.NullableType) { + t1 = t1.type; + } + if (t2 instanceof dart.NullableType) { + t2 = t2.type; + } + } + if (t1 === t2) { + return true; + } + if (dart._isTop(t2) || dart._isBottom(t1, strictMode)) { + return true; + } + if (t1 === dart.dynamic || t1 === dart.void) { + return dart._isSubtype(dart.nullable(core.Object), t2, strictMode); + } + if (t2 === core.Object) { + if (dart._isFutureOr(t1)) { + let t1TypeArg = dart.getGenericArgs(t1)[0]; + return dart._isSubtype(t1TypeArg, core.Object, strictMode); + } + if (t1 instanceof dart.LegacyType) { + return dart._isSubtype(t1.type, t2, strictMode); + } + if (t1 === core.Null || t1 instanceof dart.NullableType) { + return false; + } + return true; + } + if (t1 === core.Null) { + if (dart._isFutureOr(t2)) { + let t2TypeArg = dart.getGenericArgs(t2)[0]; + return dart._isSubtype(core.Null, t2TypeArg, strictMode); + } + return t2 === core.Null || t2 instanceof dart.LegacyType || t2 instanceof dart.NullableType; + } + if (t1 instanceof dart.LegacyType) { + return dart._isSubtype(t1.type, t2, strictMode); + } + if (t2 instanceof dart.LegacyType) { + return dart._isSubtype(t1, dart.nullable(t2.type), strictMode); + } + if (dart._isFutureOr(t1)) { + let t1TypeArg = dart.getGenericArgs(t1)[0]; + if (dart._isFutureOr(t2)) { + let t2TypeArg = dart.getGenericArgs(t2)[0]; + if (dart._isSubtype(t1TypeArg, t2TypeArg, strictMode)) { + return true; + } + } + let t1Future = async.Future$(t1TypeArg); + return dart._isSubtype(t1Future, t2, strictMode) && dart._isSubtype(t1TypeArg, t2, strictMode); + } + if (t1 instanceof dart.NullableType) { + return dart._isSubtype(t1.type, t2, strictMode) && dart._isSubtype(core.Null, t2, strictMode); + } + if (dart._isFutureOr(t2)) { + let t2TypeArg = dart.getGenericArgs(t2)[0]; + let t2Future = async.Future$(t2TypeArg); + return dart._isSubtype(t1, t2Future, strictMode) || dart._isSubtype(t1, t2TypeArg, strictMode); + } + if (t2 instanceof dart.NullableType) { + return dart._isSubtype(t1, t2.type, strictMode) || dart._isSubtype(t1, core.Null, strictMode); + } + if (!(t2 instanceof dart.AbstractFunctionType)) { + if (t1 instanceof dart.AbstractFunctionType) { + return t2 === core.Function; + } + if (t1 === dart.jsobject && t2 instanceof dart.AnonymousJSType) { + return true; + } + return dart._isInterfaceSubtype(t1, t2, strictMode); + } + if (!(t1 instanceof dart.AbstractFunctionType)) { + return false; + } + if (t1 instanceof dart.GenericFunctionType) { + if (!(t2 instanceof dart.GenericFunctionType)) { + return false; + } + let formalCount = t1.formalCount; + if (formalCount !== t2.formalCount) { + return false; + } + let fresh = t2.typeFormals; + if (t1.hasTypeBounds || t2.hasTypeBounds) { + let t1Bounds = t1.instantiateTypeBounds(fresh); + let t2Bounds = t2.instantiateTypeBounds(fresh); + for (let i = 0; i < formalCount; i++) { + if (t1Bounds[i] != t2Bounds[i]) { + if (!(dart._isSubtype(t1Bounds[i], t2Bounds[i], strictMode) && dart._isSubtype(t2Bounds[i], t1Bounds[i], strictMode))) { + return false; + } + } + } + } + t1 = t1.instantiate(fresh); + t2 = t2.instantiate(fresh); + } else if (t2 instanceof dart.GenericFunctionType) { + return false; + } + return dart._isFunctionSubtype(t1, t2, strictMode); + }; + dart._isInterfaceSubtype = function _isInterfaceSubtype(t1, t2, strictMode) { + if (t1 instanceof dart.LazyJSType) t1 = t1.rawJSTypeForCheck(); + if (t2 instanceof dart.LazyJSType) t2 = t2.rawJSTypeForCheck(); + if (t1 === t2) { + return true; + } + if (t1 === core.Object) { + return false; + } + if (t1 === core.Function || t2 === core.Function) { + return false; + } + if (t1 == null) { + return t2 === core.Object || t2 === dart.dynamic; + } + let raw1 = dart.getGenericClass(t1); + let raw2 = dart.getGenericClass(t2); + if (raw1 != null && raw1 == raw2) { + let typeArguments1 = dart.getGenericArgs(t1); + let typeArguments2 = dart.getGenericArgs(t2); + if (typeArguments1.length != typeArguments2.length) { + dart.assertFailed(); + } + let variances = dart.getGenericArgVariances(t1); + for (let i = 0; i < typeArguments1.length; ++i) { + if (variances === void 0 || variances[i] == 1) { + if (!dart._isSubtype(typeArguments1[i], typeArguments2[i], strictMode)) { + return false; + } + } else if (variances[i] == 2) { + if (!dart._isSubtype(typeArguments2[i], typeArguments1[i], strictMode)) { + return false; + } + } else if (variances[i] == 3) { + if (!dart._isSubtype(typeArguments1[i], typeArguments2[i], strictMode) || !dart._isSubtype(typeArguments2[i], typeArguments1[i], strictMode)) { + return false; + } + } + } + return true; + } + if (dart._isInterfaceSubtype(t1.__proto__, t2, strictMode)) { + return true; + } + let m1 = dart.getMixin(t1); + if (m1 != null && dart._isInterfaceSubtype(m1, t2, strictMode)) { + return true; + } + let getInterfaces = dart.getImplements(t1); + if (getInterfaces) { + for (let i1 of getInterfaces()) { + if (dart._isInterfaceSubtype(i1, t2, strictMode)) { + return true; + } + } + } + return false; + }; + dart.extractTypeArguments = function extractTypeArguments(T, instance, f) { + if (f == null) dart.nullFailed(I[5], 1666, 54, "f"); + if (instance == null) { + dart.throw(new core.ArgumentError.new("Cannot extract type of null instance.")); + } + let type = T; + type = type.type || type; + if (dart.AbstractFunctionType.is(type) || dart._isFutureOr(type)) { + dart.throw(new core.ArgumentError.new("Cannot extract from non-class type (" + dart.str(type) + ").")); + } + let typeArguments = dart.getGenericArgs(type); + if (dart.test(dart.nullCheck(typeArguments)[$isEmpty])) { + dart.throw(new core.ArgumentError.new("Cannot extract from non-generic type (" + dart.str(type) + ").")); + } + let supertype = dart._getMatchingSupertype(dart.getReifiedType(instance), type); + if (!(supertype != null)) dart.assertFailed(null, I[5], 1684, 10, "supertype != null"); + let typeArgs = dart.getGenericArgs(supertype); + if (!(typeArgs != null && dart.test(typeArgs[$isNotEmpty]))) dart.assertFailed(null, I[5], 1686, 10, "typeArgs != null && typeArgs.isNotEmpty"); + return dart.dgcall(f, typeArgs, []); + }; + dart._getMatchingSupertype = function _getMatchingSupertype(subtype, supertype) { + if (supertype == null) dart.nullFailed(I[5], 2047, 55, "supertype"); + if (core.identical(subtype, supertype)) return supertype; + if (subtype == null || subtype === core.Object) return null; + let subclass = dart.getGenericClass(subtype); + let superclass = dart.getGenericClass(supertype); + if (subclass != null && core.identical(subclass, superclass)) { + return subtype; + } + let result = dart._getMatchingSupertype(subtype.__proto__, supertype); + if (result != null) return result; + let mixin = dart.getMixin(subtype); + if (mixin != null) { + result = dart._getMatchingSupertype(mixin, supertype); + if (result != null) return result; + } + let getInterfaces = dart.getImplements(subtype); + if (getInterfaces != null) { + for (let iface of getInterfaces()) { + result = dart._getMatchingSupertype(iface, supertype); + if (result != null) return result; + } + } + return null; + }; + dart.defineValue = function defineValue(obj, name, value) { + dart.defineAccessor(obj, name, {value: value, configurable: true, writable: true}); + return value; + }; + dart.throwTypeError = function throwTypeError(message) { + if (message == null) dart.nullFailed(I[6], 39, 28, "message"); + dart.throw(new _js_helper.TypeErrorImpl.new(message)); + }; + dart.throwInternalError = function throwInternalError(message) { + if (message == null) dart.nullFailed(I[6], 44, 32, "message"); + throw Error(message); + }; + dart.getOwnNamesAndSymbols = function getOwnNamesAndSymbols(obj) { + let names = dart.getOwnPropertyNames(obj); + let symbols = dart.getOwnPropertySymbols(obj); + return names.concat(symbols); + }; + dart.safeGetOwnProperty = function safeGetOwnProperty(obj, name) { + if (obj.hasOwnProperty(name)) return obj[name]; + }; + dart.copyTheseProperties = function copyTheseProperties(to, from, names) { + for (let i = 0, n = names.length; i < n; i = i + 1) { + let name = names[i]; + if (dart.equals(name, "constructor")) continue; + dart.copyProperty(to, from, name); + } + return to; + }; + dart.copyProperty = function copyProperty(to, from, name) { + let desc = dart.getOwnPropertyDescriptor(from, name); + if (name == Symbol.iterator) { + let existing = dart.getOwnPropertyDescriptor(to, name); + if (existing != null) { + if (existing.writable) { + to[name] = desc.value; + } + return; + } + } + dart.defineProperty(to, name, desc); + }; + dart.export = function exportProperty(to, from, name) { + return dart.copyProperty(to, from, name); + }; + dart.copyProperties = function copyProperties(to, from) { + return dart.copyTheseProperties(to, from, dart.getOwnNamesAndSymbols(from)); + }; + dart._polyfilled = Symbol("_polyfilled"); + dart.global = (function() { + var globalState = typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : null; + if (!globalState) { + globalState = new Function('return this;')(); + } + dart.polyfill(globalState); + if (globalState.Error) { + globalState.Error.stackTraceLimit = Infinity; + } + let settings = 'ddcSettings' in globalState ? globalState.ddcSettings : {}; + dart.trackProfile('trackProfile' in settings ? settings.trackProfile : false); + return globalState; + })(); + dart.JsSymbol = Symbol; + dart.libraryPrototype = dart.library; + dart.startAsyncSynchronously = true; + dart._cacheMaps = []; + dart._resetFields = []; + dart.hotRestartIteration = 0; + dart.addAsyncCallback = function() { + }; + dart.removeAsyncCallback = function() { + }; + dart.defineProperty = Object.defineProperty; + dart.defineAccessor = Object.defineProperty; + dart.getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor; + dart.getOwnPropertyNames = Object.getOwnPropertyNames; + dart.getOwnPropertySymbols = Object.getOwnPropertySymbols; + dart.getPrototypeOf = Object.getPrototypeOf; + dart._mixin = Symbol("mixin"); + dart.mixinOn = Symbol("mixinOn"); + dart.implements = Symbol("implements"); + dart._typeArguments = Symbol("typeArguments"); + dart._variances = Symbol("variances"); + dart._originalDeclaration = Symbol("originalDeclaration"); + dart.mixinNew = Symbol("dart.mixinNew"); + dart._constructorSig = Symbol("sigCtor"); + dart._methodSig = Symbol("sigMethod"); + dart._fieldSig = Symbol("sigField"); + dart._getterSig = Symbol("sigGetter"); + dart._setterSig = Symbol("sigSetter"); + dart._staticMethodSig = Symbol("sigStaticMethod"); + dart._staticFieldSig = Symbol("sigStaticField"); + dart._staticGetterSig = Symbol("sigStaticGetter"); + dart._staticSetterSig = Symbol("sigStaticSetter"); + dart._genericTypeCtor = Symbol("genericType"); + dart._libraryUri = Symbol("libraryUri"); + dart._extensionType = Symbol("extensionType"); + dart.dartx = dartx; + dart._extensionMap = new Map(); + dart.isFuture = Symbol("_is_Future"); + dart.isIterable = Symbol("_is_Iterable"); + dart.isList = Symbol("_is_List"); + dart.isMap = Symbol("_is_Map"); + dart.isStream = Symbol("_is_Stream"); + dart.isStreamSubscription = Symbol("_is_StreamSubscription"); + dart.identityEquals = null; + dart._runtimeType = Symbol("_runtimeType"); + dart._moduleName = Symbol("_moduleName"); + dart._loadedModules = new Map(); + dart._loadedPartMaps = new Map(); + dart._loadedSourceMaps = new Map(); + dart._libraries = null; + dart._libraryObjects = null; + dart._parts = null; + dart._weakNullSafetyWarnings = false; + dart._weakNullSafetyErrors = false; + dart._nonNullAsserts = false; + dart._nativeNonNullAsserts = false; + dart.metadata = Symbol("metadata"); + dart._nullComparisonSet = new Set(); + dart._lazyJSTypes = new Map(); + dart._anonymousJSTypes = new Map(); + dart._cachedNullable = Symbol("cachedNullable"); + dart._cachedLegacy = Symbol("cachedLegacy"); + dart._subtypeCache = Symbol("_subtypeCache"); + core.Object = class Object { + constructor() { + throw Error("use `new " + dart.typeName(dart.getReifiedType(this)) + ".new(...)` to create a Dart object"); + } + static is(o) { + return o != null; + } + static as(o) { + return o == null ? dart.as(o, core.Object) : o; + } + _equals(other) { + if (other == null) return false; + return this === other; + } + get hashCode() { + return core.identityHashCode(this); + } + toString() { + return "Instance of '" + dart.typeName(dart.getReifiedType(this)) + "'"; + } + noSuchMethod(invocation) { + if (invocation == null) dart.nullFailed(I[7], 60, 35, "invocation"); + return dart.defaultNoSuchMethod(this, invocation); + } + get runtimeType() { + return dart.wrapType(dart.getReifiedType(this)); + } + }; + (core.Object.new = function() { + ; + }).prototype = core.Object.prototype; + dart.addTypeCaches(core.Object); + dart.setMethodSignature(core.Object, () => ({ + __proto__: Object.create(null), + _equals: dart.fnType(core.bool, [core.Object]), + [$_equals]: dart.fnType(core.bool, [core.Object]), + toString: dart.fnType(core.String, []), + [$toString]: dart.fnType(core.String, []), + noSuchMethod: dart.fnType(dart.dynamic, [core.Invocation]), + [$noSuchMethod]: dart.fnType(dart.dynamic, [core.Invocation]) + })); + dart.setGetterSignature(core.Object, () => ({ + __proto__: Object.create(null), + hashCode: core.int, + [$hashCode]: core.int, + runtimeType: core.Type, + [$runtimeType]: core.Type + })); + dart.setLibraryUri(core.Object, I[8]); + dart.lazyFn(core.Object, () => core.Type); + dart.defineExtensionMethods(core.Object, ['_equals', 'toString', 'noSuchMethod']); + dart.defineExtensionAccessors(core.Object, ['hashCode', 'runtimeType']); + dart.registerExtension("Object", core.Object); + dart.DartType = class DartType extends core.Object { + get name() { + return this[$toString](); + } + is(object) { + return dart.is(object, this); + } + as(object) { + return dart.as(object, this); + } + }; + (dart.DartType.new = function() { + dart.addTypeCaches(this); + }).prototype = dart.DartType.prototype; + dart.addTypeTests(dart.DartType); + dart.addTypeCaches(dart.DartType); + dart.DartType[dart.implements] = () => [core.Type]; + dart.setMethodSignature(dart.DartType, () => ({ + __proto__: dart.getMethods(dart.DartType.__proto__), + is: dart.fnType(core.bool, [dart.dynamic]), + as: dart.fnType(dart.dynamic, [dart.dynamic]) + })); + dart.setGetterSignature(dart.DartType, () => ({ + __proto__: dart.getGetters(dart.DartType.__proto__), + name: core.String + })); + dart.setLibraryUri(dart.DartType, I[9]); + dart.NeverType = class NeverType extends dart.DartType { + toString() { + return "Never"; + } + }; + (dart.NeverType.new = function() { + dart.NeverType.__proto__.new.call(this); + ; + }).prototype = dart.NeverType.prototype; + dart.addTypeTests(dart.NeverType); + dart.addTypeCaches(dart.NeverType); + dart.setLibraryUri(dart.NeverType, I[9]); + dart.defineExtensionMethods(dart.NeverType, ['toString']); + dart.Never = new dart.NeverType.new(); + dart.DynamicType = class DynamicType extends dart.DartType { + toString() { + return "dynamic"; + } + is(object) { + return true; + } + as(object) { + return object; + } + }; + (dart.DynamicType.new = function() { + dart.DynamicType.__proto__.new.call(this); + ; + }).prototype = dart.DynamicType.prototype; + dart.addTypeTests(dart.DynamicType); + dart.addTypeCaches(dart.DynamicType); + dart.setMethodSignature(dart.DynamicType, () => ({ + __proto__: dart.getMethods(dart.DynamicType.__proto__), + as: dart.fnType(dart.nullable(core.Object), [dart.nullable(core.Object)]) + })); + dart.setLibraryUri(dart.DynamicType, I[9]); + dart.defineExtensionMethods(dart.DynamicType, ['toString']); + dart.dynamic = new dart.DynamicType.new(); + dart.VoidType = class VoidType extends dart.DartType { + toString() { + return "void"; + } + is(object) { + return true; + } + as(object) { + return object; + } + }; + (dart.VoidType.new = function() { + dart.VoidType.__proto__.new.call(this); + ; + }).prototype = dart.VoidType.prototype; + dart.addTypeTests(dart.VoidType); + dart.addTypeCaches(dart.VoidType); + dart.setMethodSignature(dart.VoidType, () => ({ + __proto__: dart.getMethods(dart.VoidType.__proto__), + as: dart.fnType(dart.nullable(core.Object), [dart.nullable(core.Object)]) + })); + dart.setLibraryUri(dart.VoidType, I[9]); + dart.defineExtensionMethods(dart.VoidType, ['toString']); + dart.void = new dart.VoidType.new(); + dart.JSObjectType = class JSObjectType extends dart.DartType { + toString() { + return "NativeJavaScriptObject"; + } + }; + (dart.JSObjectType.new = function() { + dart.JSObjectType.__proto__.new.call(this); + ; + }).prototype = dart.JSObjectType.prototype; + dart.addTypeTests(dart.JSObjectType); + dart.addTypeCaches(dart.JSObjectType); + dart.setLibraryUri(dart.JSObjectType, I[9]); + dart.defineExtensionMethods(dart.JSObjectType, ['toString']); + dart.jsobject = new dart.JSObjectType.new(); + dart._typeObject = Symbol("typeObject"); + dart._fnTypeNamedArgMap = new Map(); + dart._fnTypeArrayArgMap = new Map(); + dart._fnTypeTypeMap = new Map(); + dart._fnTypeSmallMap = [new Map(), new Map(), new Map()]; + dart._gFnTypeTypeMap = new Map(); + dart._nullFailedSet = new Set(); + dart._thrownValue = Symbol("_thrownValue"); + dart._jsError = Symbol("_jsError"); + dart._stackTrace = Symbol("_stackTrace"); + dart.DartError = class DartError extends Error { + constructor(error) { + super(); + if (error == null) error = new core.NullThrownError.new(); + this[dart._thrownValue] = error; + if (error != null && typeof error == "object" && error[dart._jsError] == null) { + error[dart._jsError] = this; + } + } + get message() { + return dart.toString(this[dart._thrownValue]); + } + }; + dart.RethrownDartError = class RethrownDartError extends dart.DartError { + constructor(error, stackTrace) { + super(error); + this[dart._stackTrace] = stackTrace; + } + get message() { + return super.message + "\n " + dart.toString(this[dart._stackTrace]) + "\n"; + } + }; + dart.constantMaps = new Map(); + dart.constantSets = new Map(); + dart._immutableSetConstructor = null; + dart._value = Symbol("_value"); + dart.constants = new Map(); + dart.constantLists = new Map(); + dart.identityHashCode_ = Symbol("_identityHashCode"); + dart.JsIterator = class JsIterator { + constructor(dartIterator) { + this.dartIterator = dartIterator; + } + next() { + let i = this.dartIterator; + let done = !i.moveNext(); + return {done: done, value: done ? void 0 : i.current}; + } + }; + dart.deferredImports = new Map(); + dart.defineLazy(dart, { + /*dart._assertInteropExpando*/get _assertInteropExpando() { + return new (T$.ExpandoOfFunction()).new(); + }, + set _assertInteropExpando(_) {}, + /*dart.bottom*/get bottom() { + return core.Null; + }, + /*dart._typeVariablePool*/get _typeVariablePool() { + return T$.JSArrayOfTypeVariable().of([]); + } + }, false); + var _rawJSType = dart.privateName(dart, "_rawJSType"); + var _getRawJSTypeFn$ = dart.privateName(dart, "_getRawJSTypeFn"); + var _dartName$ = dart.privateName(dart, "_dartName"); + var _getRawJSType = dart.privateName(dart, "_getRawJSType"); + dart.LazyJSType = class LazyJSType extends dart.DartType { + toString() { + let raw = this[_getRawJSType](); + return raw != null ? dart.typeName(raw) : "JSObject<" + this[_dartName$] + ">"; + } + [_getRawJSType]() { + let raw = this[_rawJSType]; + if (raw != null) return raw; + try { + raw = this[_getRawJSTypeFn$](); + } catch (e$) { + let e = dart.getThrown(e$); + if (core.Object.is(e)) { + } else + throw e$; + } + if (raw == null) { + dart._warn("Cannot find native JavaScript type (" + this[_dartName$] + ") for type check"); + } else { + this[_rawJSType] = raw; + dart._resetFields.push(() => this[_rawJSType] = null); + } + return raw; + } + rawJSTypeForCheck() { + let t1; + t1 = this[_getRawJSType](); + return t1 == null ? dart.jsobject : t1; + } + is(obj) { + return obj != null && (dart._isJsObject(obj) || dart.isSubtypeOf(dart.getReifiedType(obj), this)); + } + as(obj) { + return this.is(obj) ? obj : dart.castError(obj, this); + } + }; + (dart.LazyJSType.new = function(_getRawJSTypeFn, _dartName) { + if (_getRawJSTypeFn == null) dart.nullFailed(I[5], 211, 19, "_getRawJSTypeFn"); + if (_dartName == null) dart.nullFailed(I[5], 211, 41, "_dartName"); + this[_rawJSType] = null; + this[_getRawJSTypeFn$] = _getRawJSTypeFn; + this[_dartName$] = _dartName; + dart.LazyJSType.__proto__.new.call(this); + ; + }).prototype = dart.LazyJSType.prototype; + dart.addTypeTests(dart.LazyJSType); + dart.addTypeCaches(dart.LazyJSType); + dart.setMethodSignature(dart.LazyJSType, () => ({ + __proto__: dart.getMethods(dart.LazyJSType.__proto__), + [_getRawJSType]: dart.fnType(dart.nullable(core.Object), []), + rawJSTypeForCheck: dart.fnType(core.Object, []) + })); + dart.setLibraryUri(dart.LazyJSType, I[9]); + dart.setFieldSignature(dart.LazyJSType, () => ({ + __proto__: dart.getFields(dart.LazyJSType.__proto__), + [_getRawJSTypeFn$]: dart.fieldType(dart.fnType(dart.dynamic, [])), + [_dartName$]: dart.finalFieldType(core.String), + [_rawJSType]: dart.fieldType(dart.nullable(core.Object)) + })); + dart.defineExtensionMethods(dart.LazyJSType, ['toString']); + dart.AnonymousJSType = class AnonymousJSType extends dart.DartType { + toString() { + return this[_dartName$]; + } + is(obj) { + return obj != null && (dart._isJsObject(obj) || dart.isSubtypeOf(dart.getReifiedType(obj), this)); + } + as(obj) { + return dart.test(this.is(obj)) ? obj : dart.castError(obj, this); + } + }; + (dart.AnonymousJSType.new = function(_dartName) { + if (_dartName == null) dart.nullFailed(I[5], 257, 24, "_dartName"); + this[_dartName$] = _dartName; + dart.AnonymousJSType.__proto__.new.call(this); + ; + }).prototype = dart.AnonymousJSType.prototype; + dart.addTypeTests(dart.AnonymousJSType); + dart.addTypeCaches(dart.AnonymousJSType); + dart.setLibraryUri(dart.AnonymousJSType, I[9]); + dart.setFieldSignature(dart.AnonymousJSType, () => ({ + __proto__: dart.getFields(dart.AnonymousJSType.__proto__), + [_dartName$]: dart.finalFieldType(core.String) + })); + dart.defineExtensionMethods(dart.AnonymousJSType, ['toString']); + var type$ = dart.privateName(dart, "NullableType.type"); + dart.NullableType = class NullableType extends dart.DartType { + get type() { + return this[type$]; + } + set type(value) { + super.type = value; + } + get name() { + return this.type instanceof dart.FunctionType ? "(" + dart.str(this.type) + ")?" : dart.str(this.type) + "?"; + } + toString() { + return this.name; + } + is(obj) { + return obj == null || this.type.is(obj); + } + as(obj) { + return obj == null || this.type.is(obj) ? obj : dart.as(obj, this); + } + }; + (dart.NullableType.new = function(type) { + this[type$] = type; + dart.NullableType.__proto__.new.call(this); + ; + }).prototype = dart.NullableType.prototype; + dart.addTypeTests(dart.NullableType); + dart.addTypeCaches(dart.NullableType); + dart.setLibraryUri(dart.NullableType, I[9]); + dart.setFieldSignature(dart.NullableType, () => ({ + __proto__: dart.getFields(dart.NullableType.__proto__), + type: dart.finalFieldType(core.Type) + })); + dart.defineExtensionMethods(dart.NullableType, ['toString']); + var type$0 = dart.privateName(dart, "LegacyType.type"); + dart.LegacyType = class LegacyType extends dart.DartType { + get type() { + return this[type$0]; + } + set type(value) { + super.type = value; + } + get name() { + return dart.str(this.type); + } + toString() { + return this.name; + } + is(obj) { + if (obj == null) { + return this.type === core.Object || this.type === dart.Never; + } + return this.type.is(obj); + } + as(obj) { + return obj == null || this.type.is(obj) ? obj : dart.as(obj, this); + } + }; + (dart.LegacyType.new = function(type) { + this[type$0] = type; + dart.LegacyType.__proto__.new.call(this); + ; + }).prototype = dart.LegacyType.prototype; + dart.addTypeTests(dart.LegacyType); + dart.addTypeCaches(dart.LegacyType); + dart.setLibraryUri(dart.LegacyType, I[9]); + dart.setFieldSignature(dart.LegacyType, () => ({ + __proto__: dart.getFields(dart.LegacyType.__proto__), + type: dart.finalFieldType(core.Type) + })); + dart.defineExtensionMethods(dart.LegacyType, ['toString']); + dart.BottomType = class BottomType extends dart.DartType { + toString() { + return "bottom"; + } + }; + (dart.BottomType.new = function() { + dart.BottomType.__proto__.new.call(this); + ; + }).prototype = dart.BottomType.prototype; + dart.addTypeTests(dart.BottomType); + dart.addTypeCaches(dart.BottomType); + dart.setLibraryUri(dart.BottomType, I[9]); + dart.defineExtensionMethods(dart.BottomType, ['toString']); + core.Type = class Type extends core.Object {}; + (core.Type.new = function() { + ; + }).prototype = core.Type.prototype; + dart.addTypeTests(core.Type); + dart.addTypeCaches(core.Type); + dart.setLibraryUri(core.Type, I[8]); + dart._Type = class _Type extends core.Type { + toString() { + return dart.typeName(this[_type$]); + } + get runtimeType() { + return dart.wrapType(core.Type); + } + }; + (dart._Type.new = function(_type) { + if (_type == null) dart.nullFailed(I[5], 496, 14, "_type"); + this[_type$] = _type; + ; + }).prototype = dart._Type.prototype; + dart.addTypeTests(dart._Type); + dart.addTypeCaches(dart._Type); + dart.setLibraryUri(dart._Type, I[9]); + dart.setFieldSignature(dart._Type, () => ({ + __proto__: dart.getFields(dart._Type.__proto__), + [_type$]: dart.finalFieldType(core.Object) + })); + dart.defineExtensionMethods(dart._Type, ['toString']); + dart.defineExtensionAccessors(dart._Type, ['runtimeType']); + dart.AbstractFunctionType = class AbstractFunctionType extends dart.DartType {}; + (dart.AbstractFunctionType.new = function() { + dart.AbstractFunctionType.__proto__.new.call(this); + ; + }).prototype = dart.AbstractFunctionType.prototype; + dart.addTypeTests(dart.AbstractFunctionType); + dart.addTypeCaches(dart.AbstractFunctionType); + dart.setLibraryUri(dart.AbstractFunctionType, I[9]); + var returnType$ = dart.privateName(dart, "FunctionType.returnType"); + var args$ = dart.privateName(dart, "FunctionType.args"); + var optionals$ = dart.privateName(dart, "FunctionType.optionals"); + var named$ = dart.privateName(dart, "FunctionType.named"); + var requiredNamed$ = dart.privateName(dart, "FunctionType.requiredNamed"); + var _stringValue = dart.privateName(dart, "_stringValue"); + var _createNameMap = dart.privateName(dart, "_createNameMap"); + dart.FunctionType = class FunctionType extends dart.AbstractFunctionType { + get returnType() { + return this[returnType$]; + } + set returnType(value) { + super.returnType = value; + } + get args() { + return this[args$]; + } + set args(value) { + super.args = value; + } + get optionals() { + return this[optionals$]; + } + set optionals(value) { + super.optionals = value; + } + get named() { + return this[named$]; + } + set named(value) { + super.named = value; + } + get requiredNamed() { + return this[requiredNamed$]; + } + set requiredNamed(value) { + super.requiredNamed = value; + } + static create(returnType, args, optionalArgs, requiredNamedArgs) { + if (args == null) dart.nullFailed(I[5], 753, 24, "args"); + let noOptionalArgs = optionalArgs == null && requiredNamedArgs == null; + if (noOptionalArgs && args.length < 3) { + return dart._createSmall(returnType, args); + } + args = dart._canonicalizeArray(args, dart._fnTypeArrayArgMap); + let keys = []; + let create = null; + if (noOptionalArgs) { + keys = [returnType, args]; + create = () => new dart.FunctionType.new(core.Type.as(returnType), args, [], {}, {}); + } else if (optionalArgs instanceof Array) { + let optionals = dart._canonicalizeArray(optionalArgs, dart._fnTypeArrayArgMap); + keys = [returnType, args, optionals]; + create = () => new dart.FunctionType.new(core.Type.as(returnType), args, optionals, {}, {}); + } else { + let named = dart._canonicalizeNamed(optionalArgs, dart._fnTypeNamedArgMap); + let requiredNamed = dart._canonicalizeNamed(requiredNamedArgs, dart._fnTypeNamedArgMap); + keys = [returnType, args, named, requiredNamed]; + create = () => new dart.FunctionType.new(core.Type.as(returnType), args, [], named, requiredNamed); + } + return dart._memoizeArray(dart._fnTypeTypeMap, keys, create); + } + toString() { + return this.name; + } + get requiredParameterCount() { + return this.args[$length]; + } + get positionalParameterCount() { + return dart.notNull(this.args[$length]) + dart.notNull(this.optionals[$length]); + } + getPositionalParameter(i) { + if (i == null) dart.nullFailed(I[5], 792, 30, "i"); + let n = this.args[$length]; + return dart.notNull(i) < dart.notNull(n) ? this.args[$_get](i) : this.optionals[$_get](dart.notNull(i) + dart.notNull(n)); + } + [_createNameMap](names) { + if (names == null) dart.nullFailed(I[5], 798, 52, "names"); + let result = new (T$.IdentityMapOfString$Object()).new(); + names.sort(); + for (let i = 0; i < names.length; i = i + 1) { + let name = names[i]; + result[$_set](name, this.named[name]); + } + return result; + } + getNamedParameters() { + return this[_createNameMap](dart.getOwnPropertyNames(this.named)[$toList]()); + } + getRequiredNamedParameters() { + return this[_createNameMap](dart.getOwnPropertyNames(this.requiredNamed)[$toList]()); + } + get name() { + if (this[_stringValue] != null) return dart.nullCheck(this[_stringValue]); + let buffer = "("; + for (let i = 0; i < this.args.length; i = i + 1) { + if (i > 0) { + buffer = buffer + ", "; + } + buffer = buffer + dart.typeName(this.args[i]); + } + if (this.optionals.length > 0) { + if (this.args.length > 0) buffer = buffer + ", "; + buffer = buffer + "["; + for (let i = 0; i < this.optionals.length; i = i + 1) { + if (i > 0) { + buffer = buffer + ", "; + } + buffer = buffer + dart.typeName(this.optionals[i]); + } + buffer = buffer + "]"; + } else if (Object.keys(this.named).length > 0 || Object.keys(this.requiredNamed).length > 0) { + if (this.args.length > 0) buffer = buffer + ", "; + buffer = buffer + "{"; + let names = dart.getOwnPropertyNames(this.named); + names.sort(); + for (let i = 0; i < names.length; i = i + 1) { + if (i > 0) { + buffer = buffer + ", "; + } + let typeNameString = dart.typeName(this.named[names[i]]); + buffer = buffer + (typeNameString + " " + dart.str(names[i])); + } + if (Object.keys(this.requiredNamed).length > 0 && names.length > 0) buffer = buffer + ", "; + names = dart.getOwnPropertyNames(this.requiredNamed); + names.sort(); + for (let i = 0; i < names.length; i = i + 1) { + if (i > 0) { + buffer = buffer + ", "; + } + let typeNameString = dart.typeName(this.requiredNamed[names[i]]); + buffer = buffer + ("required " + typeNameString + " " + dart.str(names[i])); + } + buffer = buffer + "}"; + } + let returnTypeName = dart.typeName(this.returnType); + buffer = buffer + (") => " + returnTypeName); + this[_stringValue] = buffer; + return buffer; + } + is(obj) { + if (typeof obj == "function") { + let actual = obj[dart._runtimeType]; + return actual == null || dart.isSubtypeOf(actual, this); + } + return false; + } + as(obj) { + if (dart.test(this.is(obj))) return obj; + return dart.as(obj, this); + } + }; + (dart.FunctionType.new = function(returnType, args, optionals, named, requiredNamed) { + if (returnType == null) dart.nullFailed(I[5], 784, 21, "returnType"); + if (args == null) dart.nullFailed(I[5], 784, 38, "args"); + if (optionals == null) dart.nullFailed(I[5], 784, 49, "optionals"); + this[_stringValue] = null; + this[returnType$] = returnType; + this[args$] = args; + this[optionals$] = optionals; + this[named$] = named; + this[requiredNamed$] = requiredNamed; + dart.FunctionType.__proto__.new.call(this); + ; + }).prototype = dart.FunctionType.prototype; + dart.addTypeTests(dart.FunctionType); + dart.addTypeCaches(dart.FunctionType); + dart.setMethodSignature(dart.FunctionType, () => ({ + __proto__: dart.getMethods(dart.FunctionType.__proto__), + getPositionalParameter: dart.fnType(dart.dynamic, [core.int]), + [_createNameMap]: dart.fnType(core.Map$(core.String, core.Object), [core.List$(dart.nullable(core.Object))]), + getNamedParameters: dart.fnType(core.Map$(core.String, core.Object), []), + getRequiredNamedParameters: dart.fnType(core.Map$(core.String, core.Object), []) + })); + dart.setGetterSignature(dart.FunctionType, () => ({ + __proto__: dart.getGetters(dart.FunctionType.__proto__), + requiredParameterCount: core.int, + positionalParameterCount: core.int + })); + dart.setLibraryUri(dart.FunctionType, I[9]); + dart.setFieldSignature(dart.FunctionType, () => ({ + __proto__: dart.getFields(dart.FunctionType.__proto__), + returnType: dart.finalFieldType(core.Type), + args: dart.finalFieldType(core.List), + optionals: dart.finalFieldType(core.List), + named: dart.finalFieldType(dart.dynamic), + requiredNamed: dart.finalFieldType(dart.dynamic), + [_stringValue]: dart.fieldType(dart.nullable(core.String)) + })); + dart.defineExtensionMethods(dart.FunctionType, ['toString']); + var name$ = dart.privateName(dart, "TypeVariable.name"); + dart.TypeVariable = class TypeVariable extends dart.DartType { + get name() { + return this[name$]; + } + set name(value) { + super.name = value; + } + toString() { + return this.name; + } + }; + (dart.TypeVariable.new = function(name) { + if (name == null) dart.nullFailed(I[5], 893, 21, "name"); + this[name$] = name; + dart.TypeVariable.__proto__.new.call(this); + ; + }).prototype = dart.TypeVariable.prototype; + dart.addTypeTests(dart.TypeVariable); + dart.addTypeCaches(dart.TypeVariable); + dart.setLibraryUri(dart.TypeVariable, I[9]); + dart.setFieldSignature(dart.TypeVariable, () => ({ + __proto__: dart.getFields(dart.TypeVariable.__proto__), + name: dart.finalFieldType(core.String) + })); + dart.defineExtensionMethods(dart.TypeVariable, ['toString']); + dart.Variance = class Variance extends core.Object {}; + (dart.Variance.new = function() { + ; + }).prototype = dart.Variance.prototype; + dart.addTypeTests(dart.Variance); + dart.addTypeCaches(dart.Variance); + dart.setLibraryUri(dart.Variance, I[9]); + dart.defineLazy(dart.Variance, { + /*dart.Variance.unrelated*/get unrelated() { + return 0; + }, + /*dart.Variance.covariant*/get covariant() { + return 1; + }, + /*dart.Variance.contravariant*/get contravariant() { + return 2; + }, + /*dart.Variance.invariant*/get invariant() { + return 3; + } + }, false); + var typeFormals$ = dart.privateName(dart, "GenericFunctionTypeIdentifier.typeFormals"); + var typeBounds$ = dart.privateName(dart, "GenericFunctionTypeIdentifier.typeBounds"); + var $function$ = dart.privateName(dart, "GenericFunctionTypeIdentifier.function"); + dart.GenericFunctionTypeIdentifier = class GenericFunctionTypeIdentifier extends dart.AbstractFunctionType { + get typeFormals() { + return this[typeFormals$]; + } + set typeFormals(value) { + super.typeFormals = value; + } + get typeBounds() { + return this[typeBounds$]; + } + set typeBounds(value) { + super.typeBounds = value; + } + get function() { + return this[$function$]; + } + set function(value) { + super.function = value; + } + toString() { + if (this[_stringValue] != null) return dart.nullCheck(this[_stringValue]); + let s = "<"; + let typeFormals = this.typeFormals; + let typeBounds = this.typeBounds; + for (let i = 0, n = core.int.as(dart.dload(typeFormals, 'length')); i < dart.notNull(n); i = i + 1) { + if (i !== 0) s = s + ", "; + s = s + typeFormals[i].name; + let bound = dart.dsend(typeBounds, '_get', [i]); + if (bound === dart.dynamic || bound === dart.nullable(core.Object) || !false && bound === core.Object) { + continue; + } + s = s + (" extends " + dart.str(bound)); + } + s = s + (">" + dart.notNull(dart.toString(this.function))); + return this[_stringValue] = s; + } + }; + (dart.GenericFunctionTypeIdentifier.new = function(typeFormals, typeBounds, $function) { + if ($function == null) dart.nullFailed(I[5], 916, 47, "function"); + this[_stringValue] = null; + this[typeFormals$] = typeFormals; + this[typeBounds$] = typeBounds; + this[$function$] = $function; + dart.GenericFunctionTypeIdentifier.__proto__.new.call(this); + ; + }).prototype = dart.GenericFunctionTypeIdentifier.prototype; + dart.addTypeTests(dart.GenericFunctionTypeIdentifier); + dart.addTypeCaches(dart.GenericFunctionTypeIdentifier); + dart.setLibraryUri(dart.GenericFunctionTypeIdentifier, I[9]); + dart.setFieldSignature(dart.GenericFunctionTypeIdentifier, () => ({ + __proto__: dart.getFields(dart.GenericFunctionTypeIdentifier.__proto__), + typeFormals: dart.finalFieldType(dart.dynamic), + typeBounds: dart.finalFieldType(dart.dynamic), + function: dart.finalFieldType(dart.FunctionType), + [_stringValue]: dart.fieldType(dart.nullable(core.String)) + })); + dart.defineExtensionMethods(dart.GenericFunctionTypeIdentifier, ['toString']); + var formalCount = dart.privateName(dart, "GenericFunctionType.formalCount"); + var _instantiateTypeBounds$ = dart.privateName(dart, "_instantiateTypeBounds"); + var _instantiateTypeParts = dart.privateName(dart, "_instantiateTypeParts"); + var _typeFormals = dart.privateName(dart, "_typeFormals"); + dart.GenericFunctionType = class GenericFunctionType extends dart.AbstractFunctionType { + get formalCount() { + return this[formalCount]; + } + set formalCount(value) { + super.formalCount = value; + } + get typeFormals() { + return this[_typeFormals]; + } + get hasTypeBounds() { + return this[_instantiateTypeBounds$] != null; + } + checkBounds(typeArgs) { + if (typeArgs == null) dart.nullFailed(I[5], 964, 33, "typeArgs"); + if (!dart.test(this.hasTypeBounds)) return; + let bounds = this.instantiateTypeBounds(typeArgs); + let typeFormals = this.typeFormals; + for (let i = 0; i < dart.notNull(typeArgs[$length]); i = i + 1) { + dart.checkTypeBound(typeArgs[$_get](i), bounds[$_get](i), typeFormals[$_get](i).name); + } + } + instantiate(typeArgs) { + let parts = this[_instantiateTypeParts].apply(null, typeArgs); + return dart.FunctionType.create(parts[0], parts[1], parts[2], parts[3]); + } + instantiateTypeBounds(typeArgs) { + if (typeArgs == null) dart.nullFailed(I[5], 982, 43, "typeArgs"); + if (!dart.test(this.hasTypeBounds)) { + return T$.ListOfObject().filled(this.formalCount, dart.legacy(core.Object)); + } + return this[_instantiateTypeBounds$].apply(null, typeArgs); + } + toString() { + let s = "<"; + let typeFormals = this.typeFormals; + let typeBounds = this.instantiateTypeBounds(typeFormals); + for (let i = 0, n = typeFormals[$length]; i < dart.notNull(n); i = i + 1) { + if (i !== 0) s = s + ", "; + s = s + typeFormals[i].name; + let bound = typeBounds[$_get](i); + if (bound !== dart.dynamic && bound !== core.Object) { + s = s + (" extends " + dart.str(bound)); + } + } + s = s + (">" + dart.notNull(dart.toString(this.instantiate(typeFormals)))); + return s; + } + instantiateDefaultBounds() { + function defaultsToDynamic(type) { + if (type === dart.dynamic) return true; + if (type instanceof dart.NullableType || !false && type instanceof dart.LegacyType) { + return type.type === core.Object; + } + return false; + } + let typeFormals = this.typeFormals; + let all = new (T$.IdentityMapOfTypeVariable$int()).new(); + let defaults = T$.ListOfObjectN().filled(typeFormals[$length], null); + let partials = new (T$.IdentityMapOfTypeVariable$Object()).new(); + let typeBounds = this.instantiateTypeBounds(typeFormals); + for (let i = 0; i < dart.notNull(typeFormals[$length]); i = i + 1) { + let typeFormal = typeFormals[$_get](i); + let bound = typeBounds[$_get](i); + all[$_set](typeFormal, i); + if (dart.test(defaultsToDynamic(bound))) { + defaults[$_set](i, dart.dynamic); + } else { + defaults[$_set](i, typeFormal); + partials[$_set](typeFormal, bound); + } + } + function hasFreeFormal(t) { + if (dart.test(partials[$containsKey](t))) return true; + if (t instanceof dart.LegacyType || t instanceof dart.NullableType) { + return hasFreeFormal(t.type); + } + let typeArgs = dart.getGenericArgs(t); + if (typeArgs != null) return typeArgs[$any](hasFreeFormal); + if (dart.GenericFunctionType.is(t)) { + return hasFreeFormal(t.instantiate(t.typeFormals)); + } + if (dart.FunctionType.is(t)) { + return dart.test(hasFreeFormal(t.returnType)) || dart.test(t.args[$any](hasFreeFormal)); + } + return false; + } + let hasProgress = true; + while (hasProgress) { + hasProgress = false; + for (let typeFormal of partials[$keys]) { + let partialBound = dart.nullCheck(partials[$_get](typeFormal)); + if (!dart.test(hasFreeFormal(partialBound))) { + let index = dart.nullCheck(all[$_get](typeFormal)); + defaults[$_set](index, this.instantiateTypeBounds(defaults)[$_get](index)); + partials[$remove](typeFormal); + hasProgress = true; + break; + } + } + } + if (dart.test(partials[$isNotEmpty])) { + dart.throwTypeError("Instantiate to bounds failed for type with " + "recursive generic bounds: " + dart.typeName(this) + ". " + "Try passing explicit type arguments."); + } + return defaults; + } + is(obj) { + if (typeof obj == "function") { + let actual = obj[dart._runtimeType]; + return actual != null && dart.isSubtypeOf(actual, this); + } + return false; + } + as(obj) { + if (this.is(obj)) return obj; + return dart.as(obj, this); + } + }; + (dart.GenericFunctionType.new = function(instantiateTypeParts, _instantiateTypeBounds) { + this[_instantiateTypeBounds$] = _instantiateTypeBounds; + this[_instantiateTypeParts] = instantiateTypeParts; + this[formalCount] = instantiateTypeParts.length; + this[_typeFormals] = dart._typeFormalsFromFunction(instantiateTypeParts); + dart.GenericFunctionType.__proto__.new.call(this); + ; + }).prototype = dart.GenericFunctionType.prototype; + dart.addTypeTests(dart.GenericFunctionType); + dart.addTypeCaches(dart.GenericFunctionType); + dart.setMethodSignature(dart.GenericFunctionType, () => ({ + __proto__: dart.getMethods(dart.GenericFunctionType.__proto__), + checkBounds: dart.fnType(dart.void, [core.List$(core.Object)]), + instantiate: dart.fnType(dart.FunctionType, [dart.dynamic]), + instantiateTypeBounds: dart.fnType(core.List$(core.Object), [core.List]), + instantiateDefaultBounds: dart.fnType(core.List, []) + })); + dart.setGetterSignature(dart.GenericFunctionType, () => ({ + __proto__: dart.getGetters(dart.GenericFunctionType.__proto__), + typeFormals: core.List$(dart.TypeVariable), + hasTypeBounds: core.bool + })); + dart.setLibraryUri(dart.GenericFunctionType, I[9]); + dart.setFieldSignature(dart.GenericFunctionType, () => ({ + __proto__: dart.getFields(dart.GenericFunctionType.__proto__), + [_instantiateTypeParts]: dart.finalFieldType(dart.dynamic), + formalCount: dart.finalFieldType(core.int), + [_instantiateTypeBounds$]: dart.finalFieldType(dart.dynamic), + [_typeFormals]: dart.finalFieldType(core.List$(dart.TypeVariable)) + })); + dart.defineExtensionMethods(dart.GenericFunctionType, ['toString']); + var _typeVariables = dart.privateName(dart, "_typeVariables"); + var _isSubtypeMatch = dart.privateName(dart, "_isSubtypeMatch"); + var _constrainLower = dart.privateName(dart, "_constrainLower"); + var _constrainUpper = dart.privateName(dart, "_constrainUpper"); + var _isFunctionSubtypeMatch = dart.privateName(dart, "_isFunctionSubtypeMatch"); + var _isInterfaceSubtypeMatch = dart.privateName(dart, "_isInterfaceSubtypeMatch"); + var _isTop$ = dart.privateName(dart, "_isTop"); + dart._TypeInferrer = class _TypeInferrer extends core.Object { + getInferredTypes() { + let result = T$.JSArrayOfObject().of([]); + for (let constraint of this[_typeVariables][$values]) { + if (constraint.lower != null) { + result[$add](dart.nullCheck(constraint.lower)); + } else if (constraint.upper != null) { + result[$add](dart.nullCheck(constraint.upper)); + } else { + return null; + } + } + return result; + } + trySubtypeMatch(subtype, supertype) { + if (subtype == null) dart.nullFailed(I[5], 1722, 31, "subtype"); + if (supertype == null) dart.nullFailed(I[5], 1722, 47, "supertype"); + return this[_isSubtypeMatch](subtype, supertype); + } + [_constrainLower](parameter, lower) { + if (parameter == null) dart.nullFailed(I[5], 1725, 37, "parameter"); + if (lower == null) dart.nullFailed(I[5], 1725, 55, "lower"); + dart.nullCheck(this[_typeVariables][$_get](parameter))[_constrainLower](lower); + } + [_constrainUpper](parameter, upper) { + if (parameter == null) dart.nullFailed(I[5], 1729, 37, "parameter"); + if (upper == null) dart.nullFailed(I[5], 1729, 55, "upper"); + dart.nullCheck(this[_typeVariables][$_get](parameter))[_constrainUpper](upper); + } + [_isFunctionSubtypeMatch](subtype, supertype) { + let t7; + if (subtype == null) dart.nullFailed(I[5], 1733, 45, "subtype"); + if (supertype == null) dart.nullFailed(I[5], 1733, 67, "supertype"); + if (dart.notNull(subtype.requiredParameterCount) > dart.notNull(supertype.requiredParameterCount)) { + return false; + } + if (dart.notNull(subtype.positionalParameterCount) < dart.notNull(supertype.positionalParameterCount)) { + return false; + } + if (!dart.VoidType.is(supertype.returnType) && !dart.test(this[_isSubtypeMatch](subtype.returnType, supertype.returnType))) { + return false; + } + for (let i = 0, n = supertype.positionalParameterCount; i < dart.notNull(n); i = i + 1) { + if (!dart.test(this[_isSubtypeMatch](core.Object.as(supertype.getPositionalParameter(i)), core.Object.as(subtype.getPositionalParameter(i))))) { + return false; + } + } + let supertypeNamed = supertype.getNamedParameters(); + let supertypeRequiredNamed = supertype.getRequiredNamedParameters(); + let subtypeNamed = supertype.getNamedParameters(); + let subtypeRequiredNamed = supertype.getRequiredNamedParameters(); + if (!false) { + supertypeNamed = (() => { + let t1 = new (T$.IdentityMapOfString$Object()).new(); + for (let t2 of supertypeNamed[$entries]) + t1[$_set](t2.key, t2.value); + for (let t3 of supertypeRequiredNamed[$entries]) + t1[$_set](t3.key, t3.value); + return t1; + })(); + subtypeNamed = (() => { + let t4 = new (T$.IdentityMapOfString$Object()).new(); + for (let t5 of subtypeNamed[$entries]) + t4[$_set](t5.key, t5.value); + for (let t6 of subtypeRequiredNamed[$entries]) + t4[$_set](t6.key, t6.value); + return t4; + })(); + supertypeRequiredNamed = new (T$.IdentityMapOfString$Object()).new(); + subtypeRequiredNamed = new (T$.IdentityMapOfString$Object()).new(); + } + for (let name of subtypeRequiredNamed[$keys]) { + let supertypeParamType = supertypeRequiredNamed[$_get](name); + if (supertypeParamType == null) return false; + } + for (let name of supertypeNamed[$keys]) { + let subtypeParamType = subtypeNamed[$_get](name); + if (subtypeParamType == null) return false; + if (!dart.test(this[_isSubtypeMatch](dart.nullCheck(supertypeNamed[$_get](name)), subtypeParamType))) { + return false; + } + } + for (let name of supertypeRequiredNamed[$keys]) { + let subtypeParamType = (t7 = subtypeRequiredNamed[$_get](name), t7 == null ? dart.nullCheck(subtypeNamed[$_get](name)) : t7); + if (!dart.test(this[_isSubtypeMatch](dart.nullCheck(supertypeRequiredNamed[$_get](name)), subtypeParamType))) { + return false; + } + } + return true; + } + [_isInterfaceSubtypeMatch](subtype, supertype) { + if (subtype == null) dart.nullFailed(I[5], 1809, 40, "subtype"); + if (supertype == null) dart.nullFailed(I[5], 1809, 56, "supertype"); + let matchingSupertype = dart._getMatchingSupertype(subtype, supertype); + if (matchingSupertype == null) return false; + let matchingTypeArgs = dart.nullCheck(dart.getGenericArgs(matchingSupertype)); + let supertypeTypeArgs = dart.nullCheck(dart.getGenericArgs(supertype)); + for (let i = 0; i < dart.notNull(supertypeTypeArgs[$length]); i = i + 1) { + if (!dart.test(this[_isSubtypeMatch](core.Object.as(matchingTypeArgs[$_get](i)), core.Object.as(supertypeTypeArgs[$_get](i))))) { + return false; + } + } + return true; + } + [_isSubtypeMatch](subtype, supertype) { + if (subtype == null) dart.nullFailed(I[5], 1853, 31, "subtype"); + if (supertype == null) dart.nullFailed(I[5], 1853, 47, "supertype"); + if (dart.TypeVariable.is(subtype) && dart.test(this[_typeVariables][$containsKey](subtype))) { + this[_constrainUpper](subtype, supertype); + return true; + } + if (dart.TypeVariable.is(supertype) && dart.test(this[_typeVariables][$containsKey](supertype))) { + this[_constrainLower](supertype, subtype); + return true; + } + if (core.identical(subtype, supertype)) return true; + if (dart.test(this[_isTop$](supertype))) return true; + if (subtype === core.Null) return true; + if (dart._isFutureOr(subtype)) { + let subtypeArg = dart.nullCheck(dart.getGenericArgs(subtype))[$_get](0); + if (dart._isFutureOr(supertype)) { + let supertypeArg = dart.nullCheck(dart.getGenericArgs(supertype))[$_get](0); + return this[_isSubtypeMatch](core.Object.as(subtypeArg), core.Object.as(supertypeArg)); + } + let subtypeFuture = async.Future$(subtypeArg); + return dart.test(this[_isSubtypeMatch](subtypeFuture, supertype)) && dart.test(this[_isSubtypeMatch](core.Object.as(dart.nullCheck(subtypeArg)), supertype)); + } + if (dart._isFutureOr(supertype)) { + let supertypeArg = dart.nullCheck(dart.getGenericArgs(supertype))[$_get](0); + let supertypeFuture = async.Future$(supertypeArg); + return dart.test(this[_isSubtypeMatch](subtype, supertypeFuture)) || dart.test(this[_isSubtypeMatch](subtype, core.Object.as(supertypeArg))); + } + if (dart.TypeVariable.is(subtype)) { + return dart.TypeVariable.is(supertype) && subtype == supertype; + } + if (dart.GenericFunctionType.is(subtype)) { + if (dart.GenericFunctionType.is(supertype)) { + let formalCount = subtype.formalCount; + if (formalCount != supertype.formalCount) return false; + let fresh = supertype.typeFormals; + let t1Bounds = subtype.instantiateTypeBounds(fresh); + let t2Bounds = supertype.instantiateTypeBounds(fresh); + for (let i = 0; i < dart.notNull(formalCount); i = i + 1) { + if (!dart.test(this[_isSubtypeMatch](t2Bounds[$_get](i), t1Bounds[$_get](i)))) { + return false; + } + } + return this[_isFunctionSubtypeMatch](subtype.instantiate(fresh), supertype.instantiate(fresh)); + } else { + return false; + } + } else if (dart.GenericFunctionType.is(supertype)) { + return false; + } + if (dart.FunctionType.is(subtype)) { + if (!dart.FunctionType.is(supertype)) { + if (supertype === core.Function || supertype === core.Object) { + return true; + } else { + return false; + } + } + if (dart.FunctionType.is(supertype)) { + return this[_isFunctionSubtypeMatch](subtype, supertype); + } + } + return this[_isInterfaceSubtypeMatch](subtype, supertype); + } + [_isTop$](type) { + if (type == null) dart.nullFailed(I[5], 1996, 22, "type"); + return core.identical(type, dart.dynamic) || core.identical(type, dart.void) || type === core.Object; + } + }; + (dart._TypeInferrer.new = function(typeVariables) { + if (typeVariables == null) dart.nullFailed(I[5], 1697, 40, "typeVariables"); + this[_typeVariables] = T$.LinkedHashMapOfTypeVariable$TypeConstraint().fromIterables(typeVariables, typeVariables[$map](dart.TypeConstraint, _ => { + if (_ == null) dart.nullFailed(I[5], 1699, 47, "_"); + return new dart.TypeConstraint.new(); + })); + ; + }).prototype = dart._TypeInferrer.prototype; + dart.addTypeTests(dart._TypeInferrer); + dart.addTypeCaches(dart._TypeInferrer); + dart.setMethodSignature(dart._TypeInferrer, () => ({ + __proto__: dart.getMethods(dart._TypeInferrer.__proto__), + getInferredTypes: dart.fnType(dart.nullable(core.List$(core.Object)), []), + trySubtypeMatch: dart.fnType(core.bool, [core.Object, core.Object]), + [_constrainLower]: dart.fnType(dart.void, [dart.TypeVariable, core.Object]), + [_constrainUpper]: dart.fnType(dart.void, [dart.TypeVariable, core.Object]), + [_isFunctionSubtypeMatch]: dart.fnType(core.bool, [dart.FunctionType, dart.FunctionType]), + [_isInterfaceSubtypeMatch]: dart.fnType(core.bool, [core.Object, core.Object]), + [_isSubtypeMatch]: dart.fnType(core.bool, [core.Object, core.Object]), + [_isTop$]: dart.fnType(core.bool, [core.Object]) + })); + dart.setLibraryUri(dart._TypeInferrer, I[9]); + dart.setFieldSignature(dart._TypeInferrer, () => ({ + __proto__: dart.getFields(dart._TypeInferrer.__proto__), + [_typeVariables]: dart.finalFieldType(core.Map$(dart.TypeVariable, dart.TypeConstraint)) + })); + var lower = dart.privateName(dart, "TypeConstraint.lower"); + var upper = dart.privateName(dart, "TypeConstraint.upper"); + dart.TypeConstraint = class TypeConstraint extends core.Object { + get lower() { + return this[lower]; + } + set lower(value) { + this[lower] = value; + } + get upper() { + return this[upper]; + } + set upper(value) { + this[upper] = value; + } + [_constrainLower](type) { + if (type == null) dart.nullFailed(I[5], 2012, 31, "type"); + let _lower = this.lower; + if (_lower != null) { + if (dart.isSubtypeOf(_lower, type)) { + return; + } + if (!dart.isSubtypeOf(type, _lower)) { + type = core.Null; + } + } + this.lower = type; + } + [_constrainUpper](type) { + if (type == null) dart.nullFailed(I[5], 2027, 31, "type"); + let _upper = this.upper; + if (_upper != null) { + if (dart.isSubtypeOf(type, _upper)) { + return; + } + if (!dart.isSubtypeOf(_upper, type)) { + type = core.Object; + } + } + this.upper = type; + } + toString() { + return dart.typeName(this.lower) + " <: <: " + dart.typeName(this.upper); + } + }; + (dart.TypeConstraint.new = function() { + this[lower] = null; + this[upper] = null; + ; + }).prototype = dart.TypeConstraint.prototype; + dart.addTypeTests(dart.TypeConstraint); + dart.addTypeCaches(dart.TypeConstraint); + dart.setMethodSignature(dart.TypeConstraint, () => ({ + __proto__: dart.getMethods(dart.TypeConstraint.__proto__), + [_constrainLower]: dart.fnType(dart.void, [core.Object]), + [_constrainUpper]: dart.fnType(dart.void, [core.Object]) + })); + dart.setLibraryUri(dart.TypeConstraint, I[9]); + dart.setFieldSignature(dart.TypeConstraint, () => ({ + __proto__: dart.getFields(dart.TypeConstraint.__proto__), + lower: dart.fieldType(dart.nullable(core.Object)), + upper: dart.fieldType(dart.nullable(core.Object)) + })); + dart.defineExtensionMethods(dart.TypeConstraint, ['toString']); + var _trace = dart.privateName(dart, "_trace"); + var _jsObjectMissingTrace = dart.privateName(dart, "_jsObjectMissingTrace"); + dart._StackTrace = class _StackTrace extends core.Object { + toString() { + if (this[_trace] != null) return dart.nullCheck(this[_trace]); + let e = this[_jsError$]; + let trace = ""; + if (e != null && typeof e === "object") { + trace = _interceptors.NativeError.is(e) ? e[$dartStack]() : e.stack; + let mapper = _debugger.stackTraceMapper; + if (trace != null && mapper != null) { + trace = mapper(trace); + } + } + if (trace[$isEmpty] || this[_jsObjectMissingTrace] != null) { + let jsToString = null; + try { + jsToString = "" + this[_jsObjectMissingTrace]; + } catch (e$) { + let _ = dart.getThrown(e$); + if (core.Object.is(_)) { + jsToString = ""; + } else + throw e$; + } + trace = "Non-error `" + dart.str(jsToString) + "` thrown by JS does not have stack trace." + "\nCaught in Dart at:\n\n" + dart.str(trace); + } + return this[_trace] = trace; + } + }; + (dart._StackTrace.new = function(_jsError) { + this[_trace] = null; + this[_jsError$] = _jsError; + this[_jsObjectMissingTrace] = null; + ; + }).prototype = dart._StackTrace.prototype; + (dart._StackTrace.missing = function(caughtObj) { + this[_trace] = null; + this[_jsObjectMissingTrace] = caughtObj != null ? caughtObj : "null"; + this[_jsError$] = Error(); + ; + }).prototype = dart._StackTrace.prototype; + dart.addTypeTests(dart._StackTrace); + dart.addTypeCaches(dart._StackTrace); + dart._StackTrace[dart.implements] = () => [core.StackTrace]; + dart.setLibraryUri(dart._StackTrace, I[9]); + dart.setFieldSignature(dart._StackTrace, () => ({ + __proto__: dart.getFields(dart._StackTrace.__proto__), + [_jsError$]: dart.finalFieldType(dart.nullable(core.Object)), + [_jsObjectMissingTrace]: dart.finalFieldType(dart.nullable(core.Object)), + [_trace]: dart.fieldType(dart.nullable(core.String)) + })); + dart.defineExtensionMethods(dart._StackTrace, ['toString']); + var memberName$ = dart.privateName(dart, "InvocationImpl.memberName"); + var positionalArguments$ = dart.privateName(dart, "InvocationImpl.positionalArguments"); + var namedArguments$ = dart.privateName(dart, "InvocationImpl.namedArguments"); + var typeArguments$ = dart.privateName(dart, "InvocationImpl.typeArguments"); + var isMethod$ = dart.privateName(dart, "InvocationImpl.isMethod"); + var isGetter$ = dart.privateName(dart, "InvocationImpl.isGetter"); + var isSetter$ = dart.privateName(dart, "InvocationImpl.isSetter"); + var failureMessage$ = dart.privateName(dart, "InvocationImpl.failureMessage"); + let const$; + let const$0; + dart.defineLazy(CT, { + get C0() { + return C[0] = dart.constList([], T$.TypeL()); + }, + get C1() { + return C[1] = dart.const({ + __proto__: _debugger.JsonMLConfig.prototype, + [name$0]: "none" + }); + }, + get C2() { + return C[2] = dart.const({ + __proto__: _debugger.JsonMLConfig.prototype, + [name$0]: "skipDart" + }); + }, + get C3() { + return C[3] = dart.const({ + __proto__: _debugger.JsonMLConfig.prototype, + [name$0]: "keyToString" + }); + }, + get C4() { + return C[4] = dart.const({ + __proto__: _debugger.JsonMLConfig.prototype, + [name$0]: "asClass" + }); + }, + get C5() { + return C[5] = dart.const({ + __proto__: _debugger.JsonMLConfig.prototype, + [name$0]: "asObject" + }); + }, + get C6() { + return C[6] = dart.const({ + __proto__: _debugger.JsonMLConfig.prototype, + [name$0]: "asMap" + }); + }, + get C7() { + return C[7] = dart.fn(_debugger.getTypeName, T$.dynamicToString()); + }, + get C8() { + return C[8] = dart.const({ + __proto__: _foreign_helper._Rest.prototype + }); + }, + get C9() { + return C[9] = dart.const(new _js_helper.PrivateSymbol.new('_receiver', _receiver)); + }, + get C10() { + return C[10] = dart.const(new _js_helper.PrivateSymbol.new('_arguments', _arguments)); + }, + get C11() { + return C[11] = dart.const(new _js_helper.PrivateSymbol.new('_memberName', _memberName)); + }, + get C12() { + return C[12] = dart.const(new _js_helper.PrivateSymbol.new('_invocation', _invocation)); + }, + get C13() { + return C[13] = dart.const(new _js_helper.PrivateSymbol.new('_namedArguments', _namedArguments)); + }, + get C14() { + return C[14] = dart.const(new _js_helper.PrivateSymbol.new('_hasValue', _hasValue)); + }, + get C15() { + return C[15] = dart.const(new _js_helper.PrivateSymbol.new('_errorExplanation', _errorExplanation)); + }, + get C16() { + return C[16] = dart.const(new _js_helper.PrivateSymbol.new('_errorName', _errorName)); + }, + get C17() { + return C[17] = dart.const({ + __proto__: core.OutOfMemoryError.prototype + }); + }, + get C18() { + return C[18] = dart.fn(collection.ListMixin._compareAny, T$.dynamicAnddynamicToint()); + }, + get C19() { + return C[19] = dart.fn(collection.MapBase._id, T$.ObjectNToObjectN()); + }, + get C20() { + return C[20] = dart.const({ + __proto__: T$.EmptyIteratorOfNeverL().prototype + }); + }, + get C21() { + return C[21] = dart.constList([1, 10, 100, 1000, 10000, 100000, 1000000, 10000000, 100000000, 1000000000, 10000000000.0, 100000000000.0, 1000000000000.0, 10000000000000.0, 100000000000000.0, 1000000000000000.0, 10000000000000000.0, 100000000000000000.0, 1000000000000000000.0, 10000000000000000000.0, 100000000000000000000.0, 1e+21, 1e+22], T$.doubleL()); + }, + get C22() { + return C[22] = dart.fn(_js_helper.Primitives.dateNow, T$.VoidToint()); + }, + get C23() { + return C[23] = dart.const(new _js_helper.PrivateSymbol.new('_receiver', _receiver$1)); + }, + get C24() { + return C[24] = dart.const(new _js_helper.PrivateSymbol.new('_arguments', _arguments$0)); + }, + get C25() { + return C[25] = dart.const(new _js_helper.PrivateSymbol.new('_memberName', _memberName$0)); + }, + get C26() { + return C[26] = dart.const(new _js_helper.PrivateSymbol.new('_invocation', _invocation$0)); + }, + get C27() { + return C[27] = dart.const(new _js_helper.PrivateSymbol.new('_namedArguments', _namedArguments$0)); + }, + get C28() { + return C[28] = dart.applyExtensionForTesting; + }, + get C29() { + return C[29] = dart.fn(_js_helper.assertInterop, T$.ObjectNTovoid()); + }, + get C30() { + return C[30] = dart.fn(_js_helper._matchString, T$.MatchToString()); + }, + get C31() { + return C[31] = dart.fn(_js_helper._stringIdentity, T$.StringToString()); + }, + get C32() { + return C[32] = dart.const({ + __proto__: _js_helper._Patch.prototype + }); + }, + get C33() { + return C[33] = dart.const({ + __proto__: _js_helper._NotNull.prototype + }); + }, + get C34() { + return C[34] = dart.const({ + __proto__: _js_helper._Undefined.prototype + }); + }, + get C35() { + return C[35] = dart.const({ + __proto__: _js_helper._NullCheck.prototype + }); + }, + get C36() { + return C[36] = dart.const({ + __proto__: typed_data.Endian.prototype, + [Endian__littleEndian]: false + }); + }, + get C37() { + return C[37] = dart.fn(async._nullDataHandler, T$.dynamicTovoid()); + }, + get C38() { + return C[38] = dart.fn(async._nullErrorHandler, T$.ObjectAndStackTraceTovoid()); + }, + get C39() { + return C[39] = dart.fn(async._nullDoneHandler, T$.VoidTovoid()); + }, + get C40() { + return C[40] = dart.const({ + __proto__: async._DelayedDone.prototype + }); + }, + get C41() { + return C[41] = dart.fn(async.Future._kTrue, T$.ObjectNTobool()); + }, + get C42() { + return C[42] = async._AsyncRun._scheduleImmediateJSOverride; + }, + get C43() { + return C[43] = async._AsyncRun._scheduleImmediateWithPromise; + }, + get C44() { + return C[44] = dart.const({ + __proto__: async._RootZone.prototype + }); + }, + get C46() { + return C[46] = dart.fn(async._rootRun, T$.ZoneNAndZoneDelegateNAndZone__ToR()); + }, + get C45() { + return C[45] = dart.const({ + __proto__: async._RunNullaryZoneFunction.prototype, + [$function$1]: C[46] || CT.C46, + [zone$0]: C[44] || CT.C44 + }); + }, + get C48() { + return C[48] = dart.fn(async._rootRunUnary, T$.ZoneNAndZoneDelegateNAndZone__ToR$1()); + }, + get C47() { + return C[47] = dart.const({ + __proto__: async._RunUnaryZoneFunction.prototype, + [$function$2]: C[48] || CT.C48, + [zone$1]: C[44] || CT.C44 + }); + }, + get C50() { + return C[50] = dart.fn(async._rootRunBinary, T$.ZoneNAndZoneDelegateNAndZone__ToR$2()); + }, + get C49() { + return C[49] = dart.const({ + __proto__: async._RunBinaryZoneFunction.prototype, + [$function$3]: C[50] || CT.C50, + [zone$2]: C[44] || CT.C44 + }); + }, + get C52() { + return C[52] = dart.fn(async._rootRegisterCallback, T$.ZoneAndZoneDelegateAndZone__ToFn()); + }, + get C51() { + return C[51] = dart.const({ + __proto__: async._RegisterNullaryZoneFunction.prototype, + [$function$4]: C[52] || CT.C52, + [zone$3]: C[44] || CT.C44 + }); + }, + get C54() { + return C[54] = dart.fn(async._rootRegisterUnaryCallback, T$.ZoneAndZoneDelegateAndZone__ToFn$1()); + }, + get C53() { + return C[53] = dart.const({ + __proto__: async._RegisterUnaryZoneFunction.prototype, + [$function$5]: C[54] || CT.C54, + [zone$4]: C[44] || CT.C44 + }); + }, + get C56() { + return C[56] = dart.fn(async._rootRegisterBinaryCallback, T$.ZoneAndZoneDelegateAndZone__ToFn$2()); + }, + get C55() { + return C[55] = dart.const({ + __proto__: async._RegisterBinaryZoneFunction.prototype, + [$function$6]: C[56] || CT.C56, + [zone$5]: C[44] || CT.C44 + }); + }, + get C58() { + return C[58] = dart.fn(async._rootErrorCallback, T$.ZoneAndZoneDelegateAndZone__ToAsyncErrorN()); + }, + get C57() { + return C[57] = dart.const({ + __proto__: T$._ZoneFunctionOfZoneLAndZoneDelegateLAndZoneL__ToLAsyncErrorN().prototype, + [$function$0]: C[58] || CT.C58, + [zone$]: C[44] || CT.C44 + }); + }, + get C60() { + return C[60] = dart.fn(async._rootScheduleMicrotask, T$.ZoneNAndZoneDelegateNAndZone__Tovoid()); + }, + get C59() { + return C[59] = dart.const({ + __proto__: T$._ZoneFunctionOfZoneLAndZoneDelegateLAndZoneL__ToLvoid().prototype, + [$function$0]: C[60] || CT.C60, + [zone$]: C[44] || CT.C44 + }); + }, + get C62() { + return C[62] = dart.fn(async._rootCreateTimer, T$.ZoneAndZoneDelegateAndZone__ToTimer()); + }, + get C61() { + return C[61] = dart.const({ + __proto__: T$._ZoneFunctionOfZoneLAndZoneDelegateLAndZoneL__ToLTimerL().prototype, + [$function$0]: C[62] || CT.C62, + [zone$]: C[44] || CT.C44 + }); + }, + get C64() { + return C[64] = dart.fn(async._rootCreatePeriodicTimer, T$.ZoneAndZoneDelegateAndZone__ToTimer$1()); + }, + get C63() { + return C[63] = dart.const({ + __proto__: T$._ZoneFunctionOfZoneLAndZoneDelegateLAndZoneL__ToLTimerL$1().prototype, + [$function$0]: C[64] || CT.C64, + [zone$]: C[44] || CT.C44 + }); + }, + get C66() { + return C[66] = dart.fn(async._rootPrint, T$.ZoneAndZoneDelegateAndZone__Tovoid$1()); + }, + get C65() { + return C[65] = dart.const({ + __proto__: T$._ZoneFunctionOfZoneLAndZoneDelegateLAndZoneL__ToLvoid$1().prototype, + [$function$0]: C[66] || CT.C66, + [zone$]: C[44] || CT.C44 + }); + }, + get C68() { + return C[68] = dart.fn(async._rootFork, T$.ZoneNAndZoneDelegateNAndZone__ToZone()); + }, + get C67() { + return C[67] = dart.const({ + __proto__: T$._ZoneFunctionOfZoneLAndZoneDelegateLAndZoneL__ToLZoneL().prototype, + [$function$0]: C[68] || CT.C68, + [zone$]: C[44] || CT.C44 + }); + }, + get C70() { + return C[70] = dart.fn(async._rootHandleUncaughtError, T$.ZoneNAndZoneDelegateNAndZone__Tovoid$1()); + }, + get C69() { + return C[69] = dart.const({ + __proto__: T$._ZoneFunctionOfZoneLAndZoneDelegateLAndZoneL__ToLvoid$2().prototype, + [$function$0]: C[70] || CT.C70, + [zone$]: C[44] || CT.C44 + }); + }, + get C71() { + return C[71] = dart.fn(async._startMicrotaskLoop, T$.VoidTovoid()); + }, + get C72() { + return C[72] = dart.fn(async._printToZone, T$.StringTovoid()); + }, + get C73() { + return C[73] = dart.const({ + __proto__: async._ZoneSpecification.prototype, + [fork$]: null, + [print$]: null, + [createPeriodicTimer$]: null, + [createTimer$]: null, + [scheduleMicrotask$]: null, + [errorCallback$]: null, + [registerBinaryCallback$]: null, + [registerUnaryCallback$]: null, + [registerCallback$]: null, + [runBinary$]: null, + [runUnary$]: null, + [run$]: null, + [handleUncaughtError$]: null + }); + }, + get C74() { + return C[74] = dart.hashCode; + }, + get C75() { + return C[75] = dart.fn(core.identityHashCode, T$.ObjectNToint()); + }, + get C76() { + return C[76] = dart.fn(core.identical, T$.ObjectNAndObjectNTobool()); + }, + get C77() { + return C[77] = dart.equals; + }, + get C78() { + return C[78] = dart.fn(core.Comparable.compare, T$0.ComparableAndComparableToint()); + }, + get C79() { + return C[79] = dart.fn(collection._dynamicCompare, T$.dynamicAnddynamicToint()); + }, + get C80() { + return C[80] = dart.const({ + __proto__: convert.AsciiDecoder.prototype, + [_UnicodeSubsetDecoder__subsetMask]: 127, + [_UnicodeSubsetDecoder__allowInvalid]: true + }); + }, + get C81() { + return C[81] = dart.const({ + __proto__: convert.AsciiDecoder.prototype, + [_UnicodeSubsetDecoder__subsetMask]: 127, + [_UnicodeSubsetDecoder__allowInvalid]: false + }); + }, + get C82() { + return C[82] = dart.const({ + __proto__: convert.AsciiEncoder.prototype, + [_UnicodeSubsetEncoder__subsetMask]: 127 + }); + }, + get C83() { + return C[83] = dart.constList([239, 191, 189], T$0.intL()); + }, + get C84() { + return C[84] = dart.const({ + __proto__: convert.Base64Encoder.prototype, + [Base64Encoder__urlSafe]: false + }); + }, + get C85() { + return C[85] = dart.const({ + __proto__: convert.Base64Encoder.prototype, + [Base64Encoder__urlSafe]: true + }); + }, + get C86() { + return C[86] = dart.const({ + __proto__: convert.Base64Decoder.prototype + }); + }, + get C87() { + return C[87] = dart.constList([], T$0.intL()); + }, + get C88() { + return C[88] = dart.const({ + __proto__: convert.HtmlEscapeMode.prototype, + [escapeSlash$]: true, + [escapeApos$]: true, + [escapeQuot$]: true, + [escapeLtGt$]: true, + [_name$2]: "unknown" + }); + }, + get C89() { + return C[89] = dart.const({ + __proto__: convert.HtmlEscapeMode.prototype, + [escapeSlash$]: false, + [escapeApos$]: false, + [escapeQuot$]: true, + [escapeLtGt$]: true, + [_name$2]: "attribute" + }); + }, + get C90() { + return C[90] = dart.const({ + __proto__: convert.HtmlEscapeMode.prototype, + [escapeSlash$]: false, + [escapeApos$]: true, + [escapeQuot$]: false, + [escapeLtGt$]: true, + [_name$2]: "attribute" + }); + }, + get C91() { + return C[91] = dart.const({ + __proto__: convert.HtmlEscapeMode.prototype, + [escapeSlash$]: false, + [escapeApos$]: false, + [escapeQuot$]: false, + [escapeLtGt$]: true, + [_name$2]: "element" + }); + }, + get C92() { + return C[92] = dart.const({ + __proto__: convert.JsonEncoder.prototype, + [JsonEncoder__toEncodable]: null, + [JsonEncoder_indent]: null + }); + }, + get C93() { + return C[93] = dart.const({ + __proto__: convert.JsonDecoder.prototype, + [JsonDecoder__reviver]: null + }); + }, + get C94() { + return C[94] = dart.fn(convert._defaultToEncodable, T$.dynamicTodynamic()); + }, + get C95() { + return C[95] = dart.const({ + __proto__: convert.Latin1Decoder.prototype, + [_UnicodeSubsetDecoder__subsetMask]: 255, + [_UnicodeSubsetDecoder__allowInvalid]: true + }); + }, + get C96() { + return C[96] = dart.const({ + __proto__: convert.Latin1Decoder.prototype, + [_UnicodeSubsetDecoder__subsetMask]: 255, + [_UnicodeSubsetDecoder__allowInvalid]: false + }); + }, + get C97() { + return C[97] = dart.const({ + __proto__: convert.Latin1Encoder.prototype, + [_UnicodeSubsetEncoder__subsetMask]: 255 + }); + }, + get C98() { + return C[98] = dart.constList([65533], T$0.intL()); + }, + get C99() { + return C[99] = dart.const({ + __proto__: convert.Utf8Decoder.prototype, + [Utf8Decoder__allowMalformed]: true + }); + }, + get C100() { + return C[100] = dart.const({ + __proto__: convert.Utf8Decoder.prototype, + [Utf8Decoder__allowMalformed]: false + }); + }, + get C101() { + return C[101] = dart.const({ + __proto__: convert.Utf8Encoder.prototype + }); + }, + get C102() { + return C[102] = dart.const({ + __proto__: convert.AsciiCodec.prototype, + [_allowInvalid]: false + }); + }, + get C103() { + return C[103] = dart.const({ + __proto__: convert.Base64Codec.prototype, + [_encoder]: C[84] || CT.C84 + }); + }, + get C104() { + return C[104] = dart.const({ + __proto__: convert.Base64Codec.prototype, + [_encoder]: C[85] || CT.C85 + }); + }, + get C105() { + return C[105] = dart.const({ + __proto__: convert.HtmlEscape.prototype, + [mode$]: C[88] || CT.C88 + }); + }, + get C106() { + return C[106] = dart.const({ + __proto__: convert.JsonCodec.prototype, + [_toEncodable]: null, + [_reviver]: null + }); + }, + get C107() { + return C[107] = dart.const({ + __proto__: convert.Latin1Codec.prototype, + [_allowInvalid$1]: false + }); + }, + get C108() { + return C[108] = dart.const({ + __proto__: convert.Utf8Codec.prototype, + [_allowMalformed]: false + }); + }, + get C109() { + return C[109] = dart.const({ + __proto__: io.FileMode.prototype, + [_mode$]: 0 + }); + }, + get C110() { + return C[110] = dart.const({ + __proto__: io.FileMode.prototype, + [_mode$]: 1 + }); + }, + get C111() { + return C[111] = dart.const({ + __proto__: io.FileMode.prototype, + [_mode$]: 2 + }); + }, + get C112() { + return C[112] = dart.const({ + __proto__: io.FileMode.prototype, + [_mode$]: 3 + }); + }, + get C113() { + return C[113] = dart.const({ + __proto__: io.FileMode.prototype, + [_mode$]: 4 + }); + }, + get C114() { + return C[114] = dart.const({ + __proto__: io.FileLock.prototype, + [_type$1]: 1 + }); + }, + get C115() { + return C[115] = dart.const({ + __proto__: io.FileLock.prototype, + [_type$1]: 2 + }); + }, + get C116() { + return C[116] = dart.const({ + __proto__: io.FileLock.prototype, + [_type$1]: 3 + }); + }, + get C117() { + return C[117] = dart.const({ + __proto__: io.FileLock.prototype, + [_type$1]: 4 + }); + }, + get C118() { + return C[118] = dart.const({ + __proto__: convert.LineSplitter.prototype + }); + }, + get C119() { + return C[119] = dart.fn(io._FileResourceInfo.getOpenFiles, T$0.dynamicAnddynamicToFutureOfServiceExtensionResponse()); + }, + get C120() { + return C[120] = dart.fn(io._FileResourceInfo.getOpenFileInfoMapByID, T$0.dynamicAnddynamicToFutureOfServiceExtensionResponse()); + }, + get C121() { + return C[121] = dart.constList(["file", "directory", "link", "notFound"], T$.StringL()); + }, + get C122() { + return C[122] = dart.const({ + __proto__: io.FileSystemEntityType.prototype, + [_type$2]: 0 + }); + }, + get C123() { + return C[123] = dart.const({ + __proto__: io.FileSystemEntityType.prototype, + [_type$2]: 1 + }); + }, + get C124() { + return C[124] = dart.const({ + __proto__: io.FileSystemEntityType.prototype, + [_type$2]: 2 + }); + }, + get C125() { + return C[125] = dart.const({ + __proto__: io.FileSystemEntityType.prototype, + [_type$2]: 3 + }); + }, + get C126() { + return C[126] = dart.constList([C[122] || CT.C122, C[123] || CT.C123, C[124] || CT.C124, C[125] || CT.C125], T$0.FileSystemEntityTypeL()); + }, + get C127() { + return C[127] = dart.constList(["---", "--x", "-w-", "-wx", "r--", "r-x", "rw-", "rwx"], T$.StringL()); + }, + get C128() { + return C[128] = dart.fn(io._NetworkProfiling._serviceExtensionHandler, T$0.StringAndMapOfString$StringToFutureOfServiceExtensionResponse()); + }, + get C129() { + return C[129] = dart.const({ + __proto__: io._SocketProfileType.prototype, + [_name$4]: "_SocketProfileType.startTime", + index: 0 + }); + }, + get C130() { + return C[130] = dart.const({ + __proto__: io._SocketProfileType.prototype, + [_name$4]: "_SocketProfileType.endTime", + index: 1 + }); + }, + get C131() { + return C[131] = dart.const({ + __proto__: io._SocketProfileType.prototype, + [_name$4]: "_SocketProfileType.address", + index: 2 + }); + }, + get C132() { + return C[132] = dart.const({ + __proto__: io._SocketProfileType.prototype, + [_name$4]: "_SocketProfileType.port", + index: 3 + }); + }, + get C133() { + return C[133] = dart.const({ + __proto__: io._SocketProfileType.prototype, + [_name$4]: "_SocketProfileType.socketType", + index: 4 + }); + }, + get C134() { + return C[134] = dart.const({ + __proto__: io._SocketProfileType.prototype, + [_name$4]: "_SocketProfileType.readBytes", + index: 5 + }); + }, + get C135() { + return C[135] = dart.const({ + __proto__: io._SocketProfileType.prototype, + [_name$4]: "_SocketProfileType.writeBytes", + index: 6 + }); + }, + get C136() { + return C[136] = dart.constList([C[129] || CT.C129, C[130] || CT.C130, C[131] || CT.C131, C[132] || CT.C132, C[133] || CT.C133, C[134] || CT.C134, C[135] || CT.C135], T$0._SocketProfileTypeL()); + }, + get C138() { + return C[138] = dart.const({ + __proto__: io.ProcessStartMode.prototype, + [_mode$0]: 0 + }); + }, + get C139() { + return C[139] = dart.const({ + __proto__: io.ProcessStartMode.prototype, + [_mode$0]: 1 + }); + }, + get C140() { + return C[140] = dart.const({ + __proto__: io.ProcessStartMode.prototype, + [_mode$0]: 2 + }); + }, + get C141() { + return C[141] = dart.const({ + __proto__: io.ProcessStartMode.prototype, + [_mode$0]: 3 + }); + }, + get C137() { + return C[137] = dart.constList([C[138] || CT.C138, C[139] || CT.C139, C[140] || CT.C140, C[141] || CT.C141], T$0.ProcessStartModeL()); + }, + get C142() { + return C[142] = dart.constList(["normal", "inheritStdio", "detached", "detachedWithStdio"], T$.StringL()); + }, + get C143() { + return C[143] = dart.const({ + __proto__: io.SystemEncoding.prototype + }); + }, + get C144() { + return C[144] = dart.const({ + __proto__: io.ProcessSignal.prototype, + [ProcessSignal__name]: "SIGTERM", + [ProcessSignal__signalNumber]: 15 + }); + }, + get C145() { + return C[145] = dart.const({ + __proto__: io.ProcessSignal.prototype, + [ProcessSignal__name]: "SIGHUP", + [ProcessSignal__signalNumber]: 1 + }); + }, + get C146() { + return C[146] = dart.const({ + __proto__: io.ProcessSignal.prototype, + [ProcessSignal__name]: "SIGINT", + [ProcessSignal__signalNumber]: 2 + }); + }, + get C147() { + return C[147] = dart.const({ + __proto__: io.ProcessSignal.prototype, + [ProcessSignal__name]: "SIGQUIT", + [ProcessSignal__signalNumber]: 3 + }); + }, + get C148() { + return C[148] = dart.const({ + __proto__: io.ProcessSignal.prototype, + [ProcessSignal__name]: "SIGILL", + [ProcessSignal__signalNumber]: 4 + }); + }, + get C149() { + return C[149] = dart.const({ + __proto__: io.ProcessSignal.prototype, + [ProcessSignal__name]: "SIGTRAP", + [ProcessSignal__signalNumber]: 5 + }); + }, + get C150() { + return C[150] = dart.const({ + __proto__: io.ProcessSignal.prototype, + [ProcessSignal__name]: "SIGABRT", + [ProcessSignal__signalNumber]: 6 + }); + }, + get C151() { + return C[151] = dart.const({ + __proto__: io.ProcessSignal.prototype, + [ProcessSignal__name]: "SIGBUS", + [ProcessSignal__signalNumber]: 7 + }); + }, + get C152() { + return C[152] = dart.const({ + __proto__: io.ProcessSignal.prototype, + [ProcessSignal__name]: "SIGFPE", + [ProcessSignal__signalNumber]: 8 + }); + }, + get C153() { + return C[153] = dart.const({ + __proto__: io.ProcessSignal.prototype, + [ProcessSignal__name]: "SIGKILL", + [ProcessSignal__signalNumber]: 9 + }); + }, + get C154() { + return C[154] = dart.const({ + __proto__: io.ProcessSignal.prototype, + [ProcessSignal__name]: "SIGUSR1", + [ProcessSignal__signalNumber]: 10 + }); + }, + get C155() { + return C[155] = dart.const({ + __proto__: io.ProcessSignal.prototype, + [ProcessSignal__name]: "SIGSEGV", + [ProcessSignal__signalNumber]: 11 + }); + }, + get C156() { + return C[156] = dart.const({ + __proto__: io.ProcessSignal.prototype, + [ProcessSignal__name]: "SIGUSR2", + [ProcessSignal__signalNumber]: 12 + }); + }, + get C157() { + return C[157] = dart.const({ + __proto__: io.ProcessSignal.prototype, + [ProcessSignal__name]: "SIGPIPE", + [ProcessSignal__signalNumber]: 13 + }); + }, + get C158() { + return C[158] = dart.const({ + __proto__: io.ProcessSignal.prototype, + [ProcessSignal__name]: "SIGALRM", + [ProcessSignal__signalNumber]: 14 + }); + }, + get C159() { + return C[159] = dart.const({ + __proto__: io.ProcessSignal.prototype, + [ProcessSignal__name]: "SIGCHLD", + [ProcessSignal__signalNumber]: 17 + }); + }, + get C160() { + return C[160] = dart.const({ + __proto__: io.ProcessSignal.prototype, + [ProcessSignal__name]: "SIGCONT", + [ProcessSignal__signalNumber]: 18 + }); + }, + get C161() { + return C[161] = dart.const({ + __proto__: io.ProcessSignal.prototype, + [ProcessSignal__name]: "SIGSTOP", + [ProcessSignal__signalNumber]: 19 + }); + }, + get C162() { + return C[162] = dart.const({ + __proto__: io.ProcessSignal.prototype, + [ProcessSignal__name]: "SIGTSTP", + [ProcessSignal__signalNumber]: 20 + }); + }, + get C163() { + return C[163] = dart.const({ + __proto__: io.ProcessSignal.prototype, + [ProcessSignal__name]: "SIGTTIN", + [ProcessSignal__signalNumber]: 21 + }); + }, + get C164() { + return C[164] = dart.const({ + __proto__: io.ProcessSignal.prototype, + [ProcessSignal__name]: "SIGTTOU", + [ProcessSignal__signalNumber]: 22 + }); + }, + get C165() { + return C[165] = dart.const({ + __proto__: io.ProcessSignal.prototype, + [ProcessSignal__name]: "SIGURG", + [ProcessSignal__signalNumber]: 23 + }); + }, + get C166() { + return C[166] = dart.const({ + __proto__: io.ProcessSignal.prototype, + [ProcessSignal__name]: "SIGXCPU", + [ProcessSignal__signalNumber]: 24 + }); + }, + get C167() { + return C[167] = dart.const({ + __proto__: io.ProcessSignal.prototype, + [ProcessSignal__name]: "SIGXFSZ", + [ProcessSignal__signalNumber]: 25 + }); + }, + get C168() { + return C[168] = dart.const({ + __proto__: io.ProcessSignal.prototype, + [ProcessSignal__name]: "SIGVTALRM", + [ProcessSignal__signalNumber]: 26 + }); + }, + get C169() { + return C[169] = dart.const({ + __proto__: io.ProcessSignal.prototype, + [ProcessSignal__name]: "SIGPROF", + [ProcessSignal__signalNumber]: 27 + }); + }, + get C170() { + return C[170] = dart.const({ + __proto__: io.ProcessSignal.prototype, + [ProcessSignal__name]: "SIGWINCH", + [ProcessSignal__signalNumber]: 28 + }); + }, + get C171() { + return C[171] = dart.const({ + __proto__: io.ProcessSignal.prototype, + [ProcessSignal__name]: "SIGPOLL", + [ProcessSignal__signalNumber]: 29 + }); + }, + get C172() { + return C[172] = dart.const({ + __proto__: io.ProcessSignal.prototype, + [ProcessSignal__name]: "SIGSYS", + [ProcessSignal__signalNumber]: 31 + }); + }, + get C173() { + return C[173] = dart.constList(["RawSocketEvent.read", "RawSocketEvent.write", "RawSocketEvent.readClosed", "RawSocketEvent.closed"], T$.StringL()); + }, + get C174() { + return C[174] = dart.const({ + __proto__: io.RawSocketEvent.prototype, + [_value$]: 0 + }); + }, + get C175() { + return C[175] = dart.const({ + __proto__: io.RawSocketEvent.prototype, + [_value$]: 1 + }); + }, + get C176() { + return C[176] = dart.const({ + __proto__: io.RawSocketEvent.prototype, + [_value$]: 2 + }); + }, + get C177() { + return C[177] = dart.const({ + __proto__: io.RawSocketEvent.prototype, + [_value$]: 3 + }); + }, + get C178() { + return C[178] = dart.constList(["ANY", "IPv4", "IPv6", "Unix"], T$.StringL()); + }, + get C179() { + return C[179] = dart.const({ + __proto__: io.InternetAddressType.prototype, + [_value$1]: 0 + }); + }, + get C180() { + return C[180] = dart.const({ + __proto__: io.InternetAddressType.prototype, + [_value$1]: 1 + }); + }, + get C181() { + return C[181] = dart.const({ + __proto__: io.InternetAddressType.prototype, + [_value$1]: 2 + }); + }, + get C182() { + return C[182] = dart.const({ + __proto__: io.InternetAddressType.prototype, + [_value$1]: -1 + }); + }, + get C183() { + return C[183] = dart.const({ + __proto__: io.SocketDirection.prototype, + [_value$2]: 0 + }); + }, + get C184() { + return C[184] = dart.const({ + __proto__: io.SocketDirection.prototype, + [_value$2]: 1 + }); + }, + get C185() { + return C[185] = dart.const({ + __proto__: io.SocketDirection.prototype, + [_value$2]: 2 + }); + }, + get C186() { + return C[186] = dart.const({ + __proto__: io.SocketOption.prototype, + [_value$3]: 0 + }); + }, + get C187() { + return C[187] = dart.const({ + __proto__: io.SocketOption.prototype, + [_value$3]: 1 + }); + }, + get C188() { + return C[188] = dart.const({ + __proto__: io.SocketOption.prototype, + [_value$3]: 2 + }); + }, + get C189() { + return C[189] = dart.const({ + __proto__: io.SocketOption.prototype, + [_value$3]: 3 + }); + }, + get C190() { + return C[190] = dart.const({ + __proto__: io.SocketOption.prototype, + [_value$3]: 4 + }); + }, + get C191() { + return C[191] = dart.const({ + __proto__: io._RawSocketOptions.prototype, + [_name$4]: "_RawSocketOptions.SOL_SOCKET", + index: 0 + }); + }, + get C192() { + return C[192] = dart.const({ + __proto__: io._RawSocketOptions.prototype, + [_name$4]: "_RawSocketOptions.IPPROTO_IP", + index: 1 + }); + }, + get C193() { + return C[193] = dart.const({ + __proto__: io._RawSocketOptions.prototype, + [_name$4]: "_RawSocketOptions.IP_MULTICAST_IF", + index: 2 + }); + }, + get C194() { + return C[194] = dart.const({ + __proto__: io._RawSocketOptions.prototype, + [_name$4]: "_RawSocketOptions.IPPROTO_IPV6", + index: 3 + }); + }, + get C195() { + return C[195] = dart.const({ + __proto__: io._RawSocketOptions.prototype, + [_name$4]: "_RawSocketOptions.IPV6_MULTICAST_IF", + index: 4 + }); + }, + get C196() { + return C[196] = dart.const({ + __proto__: io._RawSocketOptions.prototype, + [_name$4]: "_RawSocketOptions.IPPROTO_TCP", + index: 5 + }); + }, + get C197() { + return C[197] = dart.const({ + __proto__: io._RawSocketOptions.prototype, + [_name$4]: "_RawSocketOptions.IPPROTO_UDP", + index: 6 + }); + }, + get C198() { + return C[198] = dart.constList([C[191] || CT.C191, C[192] || CT.C192, C[193] || CT.C193, C[194] || CT.C194, C[195] || CT.C195, C[196] || CT.C196, C[197] || CT.C197], T$0._RawSocketOptionsL()); + }, + get C199() { + return C[199] = dart.const({ + __proto__: io.StdioType.prototype, + [name$11]: "terminal" + }); + }, + get C200() { + return C[200] = dart.const({ + __proto__: io.StdioType.prototype, + [name$11]: "pipe" + }); + }, + get C201() { + return C[201] = dart.const({ + __proto__: io.StdioType.prototype, + [name$11]: "file" + }); + }, + get C202() { + return C[202] = dart.const({ + __proto__: io.StdioType.prototype, + [name$11]: "other" + }); + }, + get C203() { + return C[203] = dart.const({ + __proto__: io._WindowsCodePageEncoder.prototype + }); + }, + get C204() { + return C[204] = dart.const({ + __proto__: io._WindowsCodePageDecoder.prototype + }); + }, + get C205() { + return C[205] = dart.constList([1, 2, 3, 4, 0], T$0.intL()); + }, + get C206() { + return C[206] = dart.const({ + __proto__: io.ZLibCodec.prototype, + [dictionary$]: null, + [raw$]: false, + [windowBits$]: 15, + [strategy$]: 0, + [memLevel$]: 8, + [level$]: 6, + [gzip$]: false + }); + }, + get C207() { + return C[207] = dart.const({ + __proto__: io.GZipCodec.prototype, + [raw$0]: false, + [dictionary$0]: null, + [windowBits$0]: 15, + [strategy$0]: 0, + [memLevel$0]: 8, + [level$0]: 6, + [gzip$0]: true + }); + }, + get C208() { + return C[208] = dart.fn(async.runZoned, T$0.Fn__ToR()); + }, + get C209() { + return C[209] = dart.fn(js._convertToJS, T$.ObjectNToObjectN()); + }, + get C210() { + return C[210] = dart.fn(js._wrapDartFunction, T$0.ObjectToObject()); + }, + get C211() { + return C[211] = dart.fn(js._wrapToDartHelper, T$0.ObjectToJsObject()); + }, + get C212() { + return C[212] = dart.const({ + __proto__: math._JSRandom.prototype + }); + }, + get C213() { + return C[213] = dart.const({ + __proto__: typed_data.Endian.prototype, + [Endian__littleEndian]: true + }); + }, + get C214() { + return C[214] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "abort" + }); + }, + get C215() { + return C[215] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "close" + }); + }, + get C216() { + return C[216] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "error" + }); + }, + get C217() { + return C[217] = dart.const({ + __proto__: T$0.EventStreamProviderOfVersionChangeEventL().prototype, + [S.EventStreamProvider__eventType]: "versionchange" + }); + }, + get C218() { + return C[218] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "success" + }); + }, + get C219() { + return C[219] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "blocked" + }); + }, + get C220() { + return C[220] = dart.const({ + __proto__: T$0.EventStreamProviderOfVersionChangeEventL().prototype, + [S.EventStreamProvider__eventType]: "upgradeneeded" + }); + }, + get C221() { + return C[221] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "complete" + }); + }, + get C222() { + return C[222] = dart.const({ + __proto__: _js_helper.Creates.prototype, + [types$0]: "JSExtendableArray|=Object|num|String" + }); + }, + get C223() { + return C[223] = dart.const({ + __proto__: _js_helper.Returns.prototype, + [types$1]: "JSExtendableArray|=Object|num|String" + }); + }, + get C224() { + return C[224] = dart.fn(html_common.convertDartToNative_Dictionary, T$0.MapNAndFnTodynamic()); + }, + get C226() { + return C[226] = dart.fn(html$.Element._determineMouseWheelEventType, T$0.EventTargetToString()); + }, + get C225() { + return C[225] = dart.const({ + __proto__: T$0._CustomEventStreamProviderOfWheelEventL().prototype, + [S$._CustomEventStreamProvider__eventTypeGetter]: C[226] || CT.C226 + }); + }, + get C228() { + return C[228] = dart.fn(html$.Element._determineTransitionEventType, T$0.EventTargetToString()); + }, + get C227() { + return C[227] = dart.const({ + __proto__: T$0._CustomEventStreamProviderOfTransitionEventL().prototype, + [S$._CustomEventStreamProvider__eventTypeGetter]: C[228] || CT.C228 + }); + }, + get C229() { + return C[229] = dart.constList(["HEAD", "AREA", "BASE", "BASEFONT", "BR", "COL", "COLGROUP", "EMBED", "FRAME", "FRAMESET", "HR", "IMAGE", "IMG", "INPUT", "ISINDEX", "LINK", "META", "PARAM", "SOURCE", "STYLE", "TITLE", "WBR"], T$.StringL()); + }, + get C230() { + return C[230] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "beforecopy" + }); + }, + get C231() { + return C[231] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "beforecut" + }); + }, + get C232() { + return C[232] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "beforepaste" + }); + }, + get C233() { + return C[233] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "blur" + }); + }, + get C234() { + return C[234] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "canplay" + }); + }, + get C235() { + return C[235] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "canplaythrough" + }); + }, + get C236() { + return C[236] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "change" + }); + }, + get C237() { + return C[237] = dart.const({ + __proto__: T$0.EventStreamProviderOfMouseEventL().prototype, + [S.EventStreamProvider__eventType]: "click" + }); + }, + get C238() { + return C[238] = dart.const({ + __proto__: T$0.EventStreamProviderOfMouseEventL().prototype, + [S.EventStreamProvider__eventType]: "contextmenu" + }); + }, + get C239() { + return C[239] = dart.const({ + __proto__: T$0.EventStreamProviderOfClipboardEventL().prototype, + [S.EventStreamProvider__eventType]: "copy" + }); + }, + get C240() { + return C[240] = dart.const({ + __proto__: T$0.EventStreamProviderOfClipboardEventL().prototype, + [S.EventStreamProvider__eventType]: "cut" + }); + }, + get C241() { + return C[241] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "dblclick" + }); + }, + get C242() { + return C[242] = dart.const({ + __proto__: T$0.EventStreamProviderOfMouseEventL().prototype, + [S.EventStreamProvider__eventType]: "drag" + }); + }, + get C243() { + return C[243] = dart.const({ + __proto__: T$0.EventStreamProviderOfMouseEventL().prototype, + [S.EventStreamProvider__eventType]: "dragend" + }); + }, + get C244() { + return C[244] = dart.const({ + __proto__: T$0.EventStreamProviderOfMouseEventL().prototype, + [S.EventStreamProvider__eventType]: "dragenter" + }); + }, + get C245() { + return C[245] = dart.const({ + __proto__: T$0.EventStreamProviderOfMouseEventL().prototype, + [S.EventStreamProvider__eventType]: "dragleave" + }); + }, + get C246() { + return C[246] = dart.const({ + __proto__: T$0.EventStreamProviderOfMouseEventL().prototype, + [S.EventStreamProvider__eventType]: "dragover" + }); + }, + get C247() { + return C[247] = dart.const({ + __proto__: T$0.EventStreamProviderOfMouseEventL().prototype, + [S.EventStreamProvider__eventType]: "dragstart" + }); + }, + get C248() { + return C[248] = dart.const({ + __proto__: T$0.EventStreamProviderOfMouseEventL().prototype, + [S.EventStreamProvider__eventType]: "drop" + }); + }, + get C249() { + return C[249] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "durationchange" + }); + }, + get C250() { + return C[250] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "emptied" + }); + }, + get C251() { + return C[251] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "ended" + }); + }, + get C252() { + return C[252] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "focus" + }); + }, + get C253() { + return C[253] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "input" + }); + }, + get C254() { + return C[254] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "invalid" + }); + }, + get C255() { + return C[255] = dart.const({ + __proto__: T$0.EventStreamProviderOfKeyboardEventL().prototype, + [S.EventStreamProvider__eventType]: "keydown" + }); + }, + get C256() { + return C[256] = dart.const({ + __proto__: T$0.EventStreamProviderOfKeyboardEventL().prototype, + [S.EventStreamProvider__eventType]: "keypress" + }); + }, + get C257() { + return C[257] = dart.const({ + __proto__: T$0.EventStreamProviderOfKeyboardEventL().prototype, + [S.EventStreamProvider__eventType]: "keyup" + }); + }, + get C258() { + return C[258] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "load" + }); + }, + get C259() { + return C[259] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "loadeddata" + }); + }, + get C260() { + return C[260] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "loadedmetadata" + }); + }, + get C261() { + return C[261] = dart.const({ + __proto__: T$0.EventStreamProviderOfMouseEventL().prototype, + [S.EventStreamProvider__eventType]: "mousedown" + }); + }, + get C262() { + return C[262] = dart.const({ + __proto__: T$0.EventStreamProviderOfMouseEventL().prototype, + [S.EventStreamProvider__eventType]: "mouseenter" + }); + }, + get C263() { + return C[263] = dart.const({ + __proto__: T$0.EventStreamProviderOfMouseEventL().prototype, + [S.EventStreamProvider__eventType]: "mouseleave" + }); + }, + get C264() { + return C[264] = dart.const({ + __proto__: T$0.EventStreamProviderOfMouseEventL().prototype, + [S.EventStreamProvider__eventType]: "mousemove" + }); + }, + get C265() { + return C[265] = dart.const({ + __proto__: T$0.EventStreamProviderOfMouseEventL().prototype, + [S.EventStreamProvider__eventType]: "mouseout" + }); + }, + get C266() { + return C[266] = dart.const({ + __proto__: T$0.EventStreamProviderOfMouseEventL().prototype, + [S.EventStreamProvider__eventType]: "mouseover" + }); + }, + get C267() { + return C[267] = dart.const({ + __proto__: T$0.EventStreamProviderOfMouseEventL().prototype, + [S.EventStreamProvider__eventType]: "mouseup" + }); + }, + get C268() { + return C[268] = dart.const({ + __proto__: T$0.EventStreamProviderOfClipboardEventL().prototype, + [S.EventStreamProvider__eventType]: "paste" + }); + }, + get C269() { + return C[269] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "pause" + }); + }, + get C270() { + return C[270] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "play" + }); + }, + get C271() { + return C[271] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "playing" + }); + }, + get C272() { + return C[272] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "ratechange" + }); + }, + get C273() { + return C[273] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "reset" + }); + }, + get C274() { + return C[274] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "resize" + }); + }, + get C275() { + return C[275] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "scroll" + }); + }, + get C276() { + return C[276] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "search" + }); + }, + get C277() { + return C[277] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "seeked" + }); + }, + get C278() { + return C[278] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "seeking" + }); + }, + get C279() { + return C[279] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "select" + }); + }, + get C280() { + return C[280] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "selectstart" + }); + }, + get C281() { + return C[281] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "stalled" + }); + }, + get C282() { + return C[282] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "submit" + }); + }, + get C283() { + return C[283] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "suspend" + }); + }, + get C284() { + return C[284] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "timeupdate" + }); + }, + get C285() { + return C[285] = dart.const({ + __proto__: T$0.EventStreamProviderOfTouchEventL().prototype, + [S.EventStreamProvider__eventType]: "touchcancel" + }); + }, + get C286() { + return C[286] = dart.const({ + __proto__: T$0.EventStreamProviderOfTouchEventL().prototype, + [S.EventStreamProvider__eventType]: "touchend" + }); + }, + get C287() { + return C[287] = dart.const({ + __proto__: T$0.EventStreamProviderOfTouchEventL().prototype, + [S.EventStreamProvider__eventType]: "touchenter" + }); + }, + get C288() { + return C[288] = dart.const({ + __proto__: T$0.EventStreamProviderOfTouchEventL().prototype, + [S.EventStreamProvider__eventType]: "touchleave" + }); + }, + get C289() { + return C[289] = dart.const({ + __proto__: T$0.EventStreamProviderOfTouchEventL().prototype, + [S.EventStreamProvider__eventType]: "touchmove" + }); + }, + get C290() { + return C[290] = dart.const({ + __proto__: T$0.EventStreamProviderOfTouchEventL().prototype, + [S.EventStreamProvider__eventType]: "touchstart" + }); + }, + get C291() { + return C[291] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "volumechange" + }); + }, + get C292() { + return C[292] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "waiting" + }); + }, + get C293() { + return C[293] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "webkitfullscreenchange" + }); + }, + get C294() { + return C[294] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "webkitfullscreenerror" + }); + }, + get C295() { + return C[295] = dart.const({ + __proto__: T$0.EventStreamProviderOfWheelEventL().prototype, + [S.EventStreamProvider__eventType]: "wheel" + }); + }, + get C296() { + return C[296] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "accessibleclick" + }); + }, + get C297() { + return C[297] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "accessiblecontextmenu" + }); + }, + get C298() { + return C[298] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "accessibledecrement" + }); + }, + get C299() { + return C[299] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "accessiblefocus" + }); + }, + get C300() { + return C[300] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "accessibleincrement" + }); + }, + get C301() { + return C[301] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "accessiblescrollintoview" + }); + }, + get C302() { + return C[302] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "cancel" + }); + }, + get C303() { + return C[303] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "finish" + }); + }, + get C304() { + return C[304] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "cached" + }); + }, + get C305() { + return C[305] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "checking" + }); + }, + get C306() { + return C[306] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "downloading" + }); + }, + get C307() { + return C[307] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "noupdate" + }); + }, + get C308() { + return C[308] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "obsolete" + }); + }, + get C309() { + return C[309] = dart.const({ + __proto__: T$0.EventStreamProviderOfProgressEventL().prototype, + [S.EventStreamProvider__eventType]: "progress" + }); + }, + get C310() { + return C[310] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "updateready" + }); + }, + get C311() { + return C[311] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "hashchange" + }); + }, + get C312() { + return C[312] = dart.const({ + __proto__: T$0.EventStreamProviderOfMessageEventL().prototype, + [S.EventStreamProvider__eventType]: "message" + }); + }, + get C313() { + return C[313] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "offline" + }); + }, + get C314() { + return C[314] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "online" + }); + }, + get C315() { + return C[315] = dart.const({ + __proto__: T$0.EventStreamProviderOfPopStateEventL().prototype, + [S.EventStreamProvider__eventType]: "popstate" + }); + }, + get C316() { + return C[316] = dart.const({ + __proto__: T$0.EventStreamProviderOfStorageEventL().prototype, + [S.EventStreamProvider__eventType]: "storage" + }); + }, + get C317() { + return C[317] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "unload" + }); + }, + get C318() { + return C[318] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "mute" + }); + }, + get C319() { + return C[319] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "unmute" + }); + }, + get C320() { + return C[320] = dart.const({ + __proto__: T$0.EventStreamProviderOfContextEventL().prototype, + [S.EventStreamProvider__eventType]: "webglcontextlost" + }); + }, + get C321() { + return C[321] = dart.const({ + __proto__: T$0.EventStreamProviderOfContextEventL().prototype, + [S.EventStreamProvider__eventType]: "webglcontextrestored" + }); + }, + get C322() { + return C[322] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "pointerlockchange" + }); + }, + get C323() { + return C[323] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "pointerlockerror" + }); + }, + get C324() { + return C[324] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "readystatechange" + }); + }, + get C325() { + return C[325] = dart.const({ + __proto__: T$0.EventStreamProviderOfSecurityPolicyViolationEventL().prototype, + [S.EventStreamProvider__eventType]: "securitypolicyviolation" + }); + }, + get C326() { + return C[326] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "selectionchange" + }); + }, + get C327() { + return C[327] = dart.const({ + __proto__: html$.ScrollAlignment.prototype, + [S$1._value$6]: "TOP" + }); + }, + get C328() { + return C[328] = dart.const({ + __proto__: html$.ScrollAlignment.prototype, + [S$1._value$6]: "CENTER" + }); + }, + get C329() { + return C[329] = dart.const({ + __proto__: html$.ScrollAlignment.prototype, + [S$1._value$6]: "BOTTOM" + }); + }, + get C330() { + return C[330] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "open" + }); + }, + get C331() { + return C[331] = dart.const({ + __proto__: T$0.EventStreamProviderOfProgressEventL().prototype, + [S.EventStreamProvider__eventType]: "abort" + }); + }, + get C332() { + return C[332] = dart.const({ + __proto__: T$0.EventStreamProviderOfProgressEventL().prototype, + [S.EventStreamProvider__eventType]: "error" + }); + }, + get C333() { + return C[333] = dart.const({ + __proto__: T$0.EventStreamProviderOfProgressEventL().prototype, + [S.EventStreamProvider__eventType]: "load" + }); + }, + get C334() { + return C[334] = dart.const({ + __proto__: T$0.EventStreamProviderOfProgressEventL().prototype, + [S.EventStreamProvider__eventType]: "loadend" + }); + }, + get C335() { + return C[335] = dart.const({ + __proto__: T$0.EventStreamProviderOfProgressEventL().prototype, + [S.EventStreamProvider__eventType]: "loadstart" + }); + }, + get C336() { + return C[336] = dart.const({ + __proto__: T$0.EventStreamProviderOfProgressEventL().prototype, + [S.EventStreamProvider__eventType]: "write" + }); + }, + get C337() { + return C[337] = dart.const({ + __proto__: T$0.EventStreamProviderOfProgressEventL().prototype, + [S.EventStreamProvider__eventType]: "writeend" + }); + }, + get C338() { + return C[338] = dart.const({ + __proto__: T$0.EventStreamProviderOfProgressEventL().prototype, + [S.EventStreamProvider__eventType]: "writestart" + }); + }, + get C339() { + return C[339] = dart.const({ + __proto__: T$0.EventStreamProviderOfFontFaceSetLoadEventL().prototype, + [S.EventStreamProvider__eventType]: "loading" + }); + }, + get C340() { + return C[340] = dart.const({ + __proto__: T$0.EventStreamProviderOfFontFaceSetLoadEventL().prototype, + [S.EventStreamProvider__eventType]: "loadingdone" + }); + }, + get C341() { + return C[341] = dart.const({ + __proto__: T$0.EventStreamProviderOfFontFaceSetLoadEventL().prototype, + [S.EventStreamProvider__eventType]: "loadingerror" + }); + }, + get C342() { + return C[342] = dart.const({ + __proto__: T$0.EventStreamProviderOfWheelEventL().prototype, + [S.EventStreamProvider__eventType]: "mousewheel" + }); + }, + get C344() { + return C[344] = dart.fn(html$.HtmlDocument._determineVisibilityChangeEventType, T$0.EventTargetToString()); + }, + get C343() { + return C[343] = dart.const({ + __proto__: T$0._CustomEventStreamProviderOfEventL().prototype, + [S$._CustomEventStreamProvider__eventTypeGetter]: C[344] || CT.C344 + }); + }, + get C345() { + return C[345] = dart.const({ + __proto__: T$0.EventStreamProviderOfProgressEventL().prototype, + [S.EventStreamProvider__eventType]: "timeout" + }); + }, + get C346() { + return C[346] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "addtrack" + }); + }, + get C347() { + return C[347] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "removetrack" + }); + }, + get C348() { + return C[348] = dart.constList([], T$0.MessagePortL()); + }, + get C349() { + return C[349] = dart.const({ + __proto__: T$0.EventStreamProviderOfMidiMessageEventL().prototype, + [S.EventStreamProvider__eventType]: "midimessage" + }); + }, + get C350() { + return C[350] = dart.constMap(T$.StringL(), T$0.boolL(), ["childList", true, "attributes", true, "characterData", true, "subtree", true, "attributeOldValue", true, "characterDataOldValue", true]); + }, + get C351() { + return C[351] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "click" + }); + }, + get C352() { + return C[352] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "show" + }); + }, + get C353() { + return C[353] = dart.const({ + __proto__: T$0.EventStreamProviderOfRtcDtmfToneChangeEventL().prototype, + [S.EventStreamProvider__eventType]: "tonechange" + }); + }, + get C354() { + return C[354] = dart.const({ + __proto__: T$0.EventStreamProviderOfMediaStreamEventL().prototype, + [S.EventStreamProvider__eventType]: "addstream" + }); + }, + get C355() { + return C[355] = dart.const({ + __proto__: T$0.EventStreamProviderOfRtcDataChannelEventL().prototype, + [S.EventStreamProvider__eventType]: "datachannel" + }); + }, + get C356() { + return C[356] = dart.const({ + __proto__: T$0.EventStreamProviderOfRtcPeerConnectionIceEventL().prototype, + [S.EventStreamProvider__eventType]: "icecandidate" + }); + }, + get C357() { + return C[357] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "iceconnectionstatechange" + }); + }, + get C358() { + return C[358] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "negotiationneeded" + }); + }, + get C359() { + return C[359] = dart.const({ + __proto__: T$0.EventStreamProviderOfMediaStreamEventL().prototype, + [S.EventStreamProvider__eventType]: "removestream" + }); + }, + get C360() { + return C[360] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "signalingstatechange" + }); + }, + get C361() { + return C[361] = dart.const({ + __proto__: T$0.EventStreamProviderOfRtcTrackEventL().prototype, + [S.EventStreamProvider__eventType]: "track" + }); + }, + get C362() { + return C[362] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "activate" + }); + }, + get C363() { + return C[363] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "fetch" + }); + }, + get C364() { + return C[364] = dart.const({ + __proto__: T$0.EventStreamProviderOfForeignFetchEventL().prototype, + [S.EventStreamProvider__eventType]: "foreignfetch" + }); + }, + get C365() { + return C[365] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "install" + }); + }, + get C366() { + return C[366] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "connect" + }); + }, + get C367() { + return C[367] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "audioend" + }); + }, + get C368() { + return C[368] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "audiostart" + }); + }, + get C369() { + return C[369] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "end" + }); + }, + get C370() { + return C[370] = dart.const({ + __proto__: T$0.EventStreamProviderOfSpeechRecognitionErrorL().prototype, + [S.EventStreamProvider__eventType]: "error" + }); + }, + get C371() { + return C[371] = dart.const({ + __proto__: T$0.EventStreamProviderOfSpeechRecognitionEventL().prototype, + [S.EventStreamProvider__eventType]: "nomatch" + }); + }, + get C372() { + return C[372] = dart.const({ + __proto__: T$0.EventStreamProviderOfSpeechRecognitionEventL().prototype, + [S.EventStreamProvider__eventType]: "result" + }); + }, + get C373() { + return C[373] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "soundend" + }); + }, + get C374() { + return C[374] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "soundstart" + }); + }, + get C375() { + return C[375] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "speechend" + }); + }, + get C376() { + return C[376] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "speechstart" + }); + }, + get C377() { + return C[377] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "start" + }); + }, + get C378() { + return C[378] = dart.const({ + __proto__: T$0.EventStreamProviderOfSpeechSynthesisEventL().prototype, + [S.EventStreamProvider__eventType]: "boundary" + }); + }, + get C379() { + return C[379] = dart.const({ + __proto__: T$0.EventStreamProviderOfSpeechSynthesisEventL().prototype, + [S.EventStreamProvider__eventType]: "end" + }); + }, + get C380() { + return C[380] = dart.const({ + __proto__: T$0.EventStreamProviderOfSpeechSynthesisEventL().prototype, + [S.EventStreamProvider__eventType]: "mark" + }); + }, + get C381() { + return C[381] = dart.const({ + __proto__: T$0.EventStreamProviderOfSpeechSynthesisEventL().prototype, + [S.EventStreamProvider__eventType]: "resume" + }); + }, + get C382() { + return C[382] = dart.const({ + __proto__: T$0.EventStreamProviderOfSpeechSynthesisEventL().prototype, + [S.EventStreamProvider__eventType]: "start" + }); + }, + get C383() { + return C[383] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "cuechange" + }); + }, + get C384() { + return C[384] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "enter" + }); + }, + get C385() { + return C[385] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "exit" + }); + }, + get C386() { + return C[386] = dart.const({ + __proto__: T$0.EventStreamProviderOfTrackEventL().prototype, + [S.EventStreamProvider__eventType]: "addtrack" + }); + }, + get C387() { + return C[387] = dart.const({ + __proto__: T$0.EventStreamProviderOfCloseEventL().prototype, + [S.EventStreamProvider__eventType]: "close" + }); + }, + get C388() { + return C[388] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "DOMContentLoaded" + }); + }, + get C389() { + return C[389] = dart.const({ + __proto__: T$0.EventStreamProviderOfDeviceMotionEventL().prototype, + [S.EventStreamProvider__eventType]: "devicemotion" + }); + }, + get C390() { + return C[390] = dart.const({ + __proto__: T$0.EventStreamProviderOfDeviceOrientationEventL().prototype, + [S.EventStreamProvider__eventType]: "deviceorientation" + }); + }, + get C391() { + return C[391] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "loadstart" + }); + }, + get C392() { + return C[392] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "pagehide" + }); + }, + get C393() { + return C[393] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "pageshow" + }); + }, + get C394() { + return C[394] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "progress" + }); + }, + get C395() { + return C[395] = dart.const({ + __proto__: T$0.EventStreamProviderOfAnimationEventL().prototype, + [S.EventStreamProvider__eventType]: "webkitAnimationEnd" + }); + }, + get C396() { + return C[396] = dart.const({ + __proto__: T$0.EventStreamProviderOfAnimationEventL().prototype, + [S.EventStreamProvider__eventType]: "webkitAnimationIteration" + }); + }, + get C397() { + return C[397] = dart.const({ + __proto__: T$0.EventStreamProviderOfAnimationEventL().prototype, + [S.EventStreamProvider__eventType]: "webkitAnimationStart" + }); + }, + get C398() { + return C[398] = dart.const({ + __proto__: html$._BeforeUnloadEventStreamProvider.prototype, + [S$3._BeforeUnloadEventStreamProvider__eventType]: "beforeunload" + }); + }, + get C399() { + return C[399] = dart.fn(html$._Html5NodeValidator._standardAttributeValidator, T$0.ElementAndStringAndString__Tobool()); + }, + get C400() { + return C[400] = dart.fn(html$._Html5NodeValidator._uriAttributeValidator, T$0.ElementAndStringAndString__Tobool()); + }, + get C401() { + return C[401] = dart.constList(["*::class", "*::dir", "*::draggable", "*::hidden", "*::id", "*::inert", "*::itemprop", "*::itemref", "*::itemscope", "*::lang", "*::spellcheck", "*::title", "*::translate", "A::accesskey", "A::coords", "A::hreflang", "A::name", "A::shape", "A::tabindex", "A::target", "A::type", "AREA::accesskey", "AREA::alt", "AREA::coords", "AREA::nohref", "AREA::shape", "AREA::tabindex", "AREA::target", "AUDIO::controls", "AUDIO::loop", "AUDIO::mediagroup", "AUDIO::muted", "AUDIO::preload", "BDO::dir", "BODY::alink", "BODY::bgcolor", "BODY::link", "BODY::text", "BODY::vlink", "BR::clear", "BUTTON::accesskey", "BUTTON::disabled", "BUTTON::name", "BUTTON::tabindex", "BUTTON::type", "BUTTON::value", "CANVAS::height", "CANVAS::width", "CAPTION::align", "COL::align", "COL::char", "COL::charoff", "COL::span", "COL::valign", "COL::width", "COLGROUP::align", "COLGROUP::char", "COLGROUP::charoff", "COLGROUP::span", "COLGROUP::valign", "COLGROUP::width", "COMMAND::checked", "COMMAND::command", "COMMAND::disabled", "COMMAND::label", "COMMAND::radiogroup", "COMMAND::type", "DATA::value", "DEL::datetime", "DETAILS::open", "DIR::compact", "DIV::align", "DL::compact", "FIELDSET::disabled", "FONT::color", "FONT::face", "FONT::size", "FORM::accept", "FORM::autocomplete", "FORM::enctype", "FORM::method", "FORM::name", "FORM::novalidate", "FORM::target", "FRAME::name", "H1::align", "H2::align", "H3::align", "H4::align", "H5::align", "H6::align", "HR::align", "HR::noshade", "HR::size", "HR::width", "HTML::version", "IFRAME::align", "IFRAME::frameborder", "IFRAME::height", "IFRAME::marginheight", "IFRAME::marginwidth", "IFRAME::width", "IMG::align", "IMG::alt", "IMG::border", "IMG::height", "IMG::hspace", "IMG::ismap", "IMG::name", "IMG::usemap", "IMG::vspace", "IMG::width", "INPUT::accept", "INPUT::accesskey", "INPUT::align", "INPUT::alt", "INPUT::autocomplete", "INPUT::autofocus", "INPUT::checked", "INPUT::disabled", "INPUT::inputmode", "INPUT::ismap", "INPUT::list", "INPUT::max", "INPUT::maxlength", "INPUT::min", "INPUT::multiple", "INPUT::name", "INPUT::placeholder", "INPUT::readonly", "INPUT::required", "INPUT::size", "INPUT::step", "INPUT::tabindex", "INPUT::type", "INPUT::usemap", "INPUT::value", "INS::datetime", "KEYGEN::disabled", "KEYGEN::keytype", "KEYGEN::name", "LABEL::accesskey", "LABEL::for", "LEGEND::accesskey", "LEGEND::align", "LI::type", "LI::value", "LINK::sizes", "MAP::name", "MENU::compact", "MENU::label", "MENU::type", "METER::high", "METER::low", "METER::max", "METER::min", "METER::value", "OBJECT::typemustmatch", "OL::compact", "OL::reversed", "OL::start", "OL::type", "OPTGROUP::disabled", "OPTGROUP::label", "OPTION::disabled", "OPTION::label", "OPTION::selected", "OPTION::value", "OUTPUT::for", "OUTPUT::name", "P::align", "PRE::width", "PROGRESS::max", "PROGRESS::min", "PROGRESS::value", "SELECT::autocomplete", "SELECT::disabled", "SELECT::multiple", "SELECT::name", "SELECT::required", "SELECT::size", "SELECT::tabindex", "SOURCE::type", "TABLE::align", "TABLE::bgcolor", "TABLE::border", "TABLE::cellpadding", "TABLE::cellspacing", "TABLE::frame", "TABLE::rules", "TABLE::summary", "TABLE::width", "TBODY::align", "TBODY::char", "TBODY::charoff", "TBODY::valign", "TD::abbr", "TD::align", "TD::axis", "TD::bgcolor", "TD::char", "TD::charoff", "TD::colspan", "TD::headers", "TD::height", "TD::nowrap", "TD::rowspan", "TD::scope", "TD::valign", "TD::width", "TEXTAREA::accesskey", "TEXTAREA::autocomplete", "TEXTAREA::cols", "TEXTAREA::disabled", "TEXTAREA::inputmode", "TEXTAREA::name", "TEXTAREA::placeholder", "TEXTAREA::readonly", "TEXTAREA::required", "TEXTAREA::rows", "TEXTAREA::tabindex", "TEXTAREA::wrap", "TFOOT::align", "TFOOT::char", "TFOOT::charoff", "TFOOT::valign", "TH::abbr", "TH::align", "TH::axis", "TH::bgcolor", "TH::char", "TH::charoff", "TH::colspan", "TH::headers", "TH::height", "TH::nowrap", "TH::rowspan", "TH::scope", "TH::valign", "TH::width", "THEAD::align", "THEAD::char", "THEAD::charoff", "THEAD::valign", "TR::align", "TR::bgcolor", "TR::char", "TR::charoff", "TR::valign", "TRACK::default", "TRACK::kind", "TRACK::label", "TRACK::srclang", "UL::compact", "UL::type", "VIDEO::controls", "VIDEO::height", "VIDEO::loop", "VIDEO::mediagroup", "VIDEO::muted", "VIDEO::preload", "VIDEO::width"], T$.StringL()); + }, + get C402() { + return C[402] = dart.constList(["A::href", "AREA::href", "BLOCKQUOTE::cite", "BODY::background", "COMMAND::icon", "DEL::cite", "FORM::action", "IMG::src", "INPUT::src", "INS::cite", "Q::cite", "VIDEO::poster"], T$.StringL()); + }, + get C403() { + return C[403] = dart.constMap(T$.StringL(), T$0.intL(), ["Up", 38, "Down", 40, "Left", 37, "Right", 39, "Enter", 13, "F1", 112, "F2", 113, "F3", 114, "F4", 115, "F5", 116, "F6", 117, "F7", 118, "F8", 119, "F9", 120, "F10", 121, "F11", 122, "F12", 123, "U+007F", 46, "Home", 36, "End", 35, "PageUp", 33, "PageDown", 34, "Insert", 45]); + }, + get C404() { + return C[404] = dart.constList([], T$.StringL()); + }, + get C405() { + return C[405] = dart.constList(["A", "FORM"], T$.StringL()); + }, + get C406() { + return C[406] = dart.constList(["A::accesskey", "A::coords", "A::hreflang", "A::name", "A::shape", "A::tabindex", "A::target", "A::type", "FORM::accept", "FORM::autocomplete", "FORM::enctype", "FORM::method", "FORM::name", "FORM::novalidate", "FORM::target"], T$.StringL()); + }, + get C407() { + return C[407] = dart.constList(["A::href", "FORM::action"], T$.StringL()); + }, + get C408() { + return C[408] = dart.constList(["IMG"], T$.StringL()); + }, + get C409() { + return C[409] = dart.constList(["IMG::align", "IMG::alt", "IMG::border", "IMG::height", "IMG::hspace", "IMG::ismap", "IMG::name", "IMG::usemap", "IMG::vspace", "IMG::width"], T$.StringL()); + }, + get C410() { + return C[410] = dart.constList(["IMG::src"], T$.StringL()); + }, + get C411() { + return C[411] = dart.constList(["B", "BLOCKQUOTE", "BR", "EM", "H1", "H2", "H3", "H4", "H5", "H6", "HR", "I", "LI", "OL", "P", "SPAN", "UL"], T$.StringL()); + }, + get C412() { + return C[412] = dart.constList(["bind", "if", "ref", "repeat", "syntax"], T$.StringL()); + }, + get C413() { + return C[413] = dart.const({ + __proto__: html$.Console.prototype + }); + }, + get C414() { + return C[414] = dart.const({ + __proto__: html$._TrustedHtmlTreeSanitizer.prototype + }); + }, + get C415() { + return C[415] = dart.fn(html_common.convertNativeToDart_Dictionary, T$0.dynamicToMapNOfString$dynamic()); + }, + get C416() { + return C[416] = dart.const({ + __proto__: _js_helper.Creates.prototype, + [types$0]: "num|String|bool|JSExtendableArray|=Object|Blob|File|NativeByteBuffer|NativeTypedData|MessagePort" + }); + }, + get C417() { + return C[417] = dart.const({ + __proto__: _js_helper.Returns.prototype, + [types$1]: "num|String|bool|JSExtendableArray|=Object|Blob|File|NativeByteBuffer|NativeTypedData|MessagePort" + }); + }, + get C418() { + return C[418] = dart.const({ + __proto__: T$0.EventStreamProviderOfAudioProcessingEventL().prototype, + [S.EventStreamProvider__eventType]: "audioprocess" + }); + }, + get C419() { + return C[419] = dart.const({ + __proto__: core.IntegerDivisionByZeroException.prototype + }); + }, + get C420() { + return C[420] = dart.const({ + __proto__: core.Duration.prototype, + [_duration$]: 0 + }); + }, + get C421() { + return C[421] = dart.constList([], T$.ObjectN()); + }, + get C422() { + return C[422] = dart.constMap(T$.SymbolL(), T$.ObjectN(), []); + }, + get C423() { + return C[423] = dart.constList([], T$.ObjectL()); + }, + get C424() { + return C[424] = dart.constMap(T$.SymbolL(), T$.ObjectL(), []); + }, + get C425() { + return C[425] = dart.fn(core._GeneratorIterable._id, T$0.intToint()); + }, + get C426() { + return C[426] = dart.const({ + __proto__: core._StringStackTrace.prototype, + [_StringStackTrace__stackTrace]: "" + }); + }, + get C427() { + return C[427] = dart.const(new _internal.Symbol.new('unary-')); + }, + get C428() { + return C[428] = dart.const(new _internal.Symbol.new('')); + }, + get C429() { + return C[429] = dart.fn(core.Uri.decodeComponent, T$.StringToString()); + }, + get C430() { + return C[430] = dart.constMap(T$.StringL(), T$0.ListLOfStringL(), []); + }, + get C431() { + return C[431] = dart.fn(core._toUnmodifiableStringList, T$0.StringAndListOfStringToListOfString()); + }, + get C432() { + return C[432] = dart.fn(core._Uri._createList, T$0.VoidToListOfString()); + }, + get C433() { + return C[433] = dart.constList([0, 0, 24576, 1023, 65534, 34815, 65534, 18431], T$0.intL()); + }, + get C434() { + return C[434] = dart.constList([0, 0, 26498, 1023, 65534, 34815, 65534, 18431], T$0.intL()); + }, + get C435() { + return C[435] = dart.constList([0, 0, 65498, 45055, 65535, 34815, 65534, 18431], T$0.intL()); + }, + get C436() { + return C[436] = dart.constList([0, 0, 26624, 1023, 65534, 2047, 65534, 2047], T$0.intL()); + }, + get C437() { + return C[437] = dart.constList([0, 0, 32776, 33792, 1, 10240, 0, 0], T$0.intL()); + }, + get C438() { + return C[438] = dart.constList([0, 0, 32722, 12287, 65534, 34815, 65534, 18431], T$0.intL()); + }, + get C439() { + return C[439] = dart.constList([0, 0, 32754, 11263, 65534, 34815, 65534, 18431], T$0.intL()); + }, + get C440() { + return C[440] = dart.constList([0, 0, 32722, 12287, 65535, 34815, 65534, 18431], T$0.intL()); + }, + get C441() { + return C[441] = dart.constList([0, 0, 65490, 12287, 65535, 34815, 65534, 18431], T$0.intL()); + }, + get C442() { + return C[442] = dart.constList([0, 0, 65490, 45055, 65535, 34815, 65534, 18431], T$0.intL()); + }, + get C443() { + return C[443] = dart.constList([0, 0, 27858, 1023, 65534, 51199, 65535, 32767], T$0.intL()); + }, + get C444() { + return C[444] = dart.constMap(T$.StringL(), T$.StringL(), []); + }, + get C445() { + return C[445] = dart.const({ + __proto__: core.Deprecated.prototype, + [message$11]: "next release" + }); + }, + get C446() { + return C[446] = dart.const({ + __proto__: core._Override.prototype + }); + }, + get C447() { + return C[447] = dart.const({ + __proto__: core.Duration.prototype, + [_duration$]: 120000000 + }); + }, + get C448() { + return C[448] = dart.constList(["cache-control", "connection", "date", "pragma", "trailer", "transfer-encoding", "upgrade", "via", "warning"], T$.StringL()); + }, + get C449() { + return C[449] = dart.constList(["allow", "content-encoding", "content-language", "content-length", "content-location", "content-md5", "content-range", "content-type", "expires", "last-modified"], T$.StringL()); + }, + get C450() { + return C[450] = dart.constList(["accept-ranges", "age", "etag", "location", "proxy-authenticate", "retry-after", "server", "vary", "www-authenticate"], T$.StringL()); + }, + get C451() { + return C[451] = dart.constList(["accept", "accept-charset", "accept-encoding", "accept-language", "authorization", "expect", "from", "host", "if-match", "if-modified-since", "if-none-match", "if-range", "if-unmodified-since", "max-forwards", "proxy-authorization", "range", "referer", "te", "user-agent"], T$.StringL()); + }, + get C452() { + return C[452] = dart.constMap(T$.StringL(), T$.StringN(), []); + }, + get C453() { + return C[453] = dart.const({ + __proto__: core.Duration.prototype, + [_duration$]: 15000000 + }); + }, + get C454() { + return C[454] = dart.const({ + __proto__: _http.HttpClientResponseCompressionState.prototype, + [_name$7]: "HttpClientResponseCompressionState.notCompressed", + index: 0 + }); + }, + get C455() { + return C[455] = dart.const({ + __proto__: _http.HttpClientResponseCompressionState.prototype, + [_name$7]: "HttpClientResponseCompressionState.decompressed", + index: 1 + }); + }, + get C456() { + return C[456] = dart.const({ + __proto__: _http.HttpClientResponseCompressionState.prototype, + [_name$7]: "HttpClientResponseCompressionState.compressed", + index: 2 + }); + }, + get C457() { + return C[457] = dart.constList([C[454] || CT.C454, C[455] || CT.C455, C[456] || CT.C456], T$0.HttpClientResponseCompressionStateL()); + }, + get C458() { + return C[458] = dart.constList([-2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -1, -2, -2, -1, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, 62, -2, 62, -2, 63, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, -2, -2, -2, 0, -2, -2, -2, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, -2, -2, -2, -2, 63, -2, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2], T$0.intL()); + }, + get C459() { + return C[459] = dart.constList([3614090360.0, 3905402710.0, 606105819, 3250441966.0, 4118548399.0, 1200080426, 2821735955.0, 4249261313.0, 1770035416, 2336552879.0, 4294925233.0, 2304563134.0, 1804603682, 4254626195.0, 2792965006.0, 1236535329, 4129170786.0, 3225465664.0, 643717713, 3921069994.0, 3593408605.0, 38016083, 3634488961.0, 3889429448.0, 568446438, 3275163606.0, 4107603335.0, 1163531501, 2850285829.0, 4243563512.0, 1735328473, 2368359562.0, 4294588738.0, 2272392833.0, 1839030562, 4259657740.0, 2763975236.0, 1272893353, 4139469664.0, 3200236656.0, 681279174, 3936430074.0, 3572445317.0, 76029189, 3654602809.0, 3873151461.0, 530742520, 3299628645.0, 4096336452.0, 1126891415, 2878612391.0, 4237533241.0, 1700485571, 2399980690.0, 4293915773.0, 2240044497.0, 1873313359, 4264355552.0, 2734768916.0, 1309151649, 4149444226.0, 3174756917.0, 718787259, 3951481745.0], T$0.intL()); + }, + get C460() { + return C[460] = dart.constList([7, 12, 17, 22, 7, 12, 17, 22, 7, 12, 17, 22, 7, 12, 17, 22, 5, 9, 14, 20, 5, 9, 14, 20, 5, 9, 14, 20, 5, 9, 14, 20, 4, 11, 16, 23, 4, 11, 16, 23, 4, 11, 16, 23, 4, 11, 16, 23, 6, 10, 15, 21, 6, 10, 15, 21, 6, 10, 15, 21, 6, 10, 15, 21], T$0.intL()); + }, + get C461() { + return C[461] = dart.constList(["Mon", "Tue", "Wed", "Thu", "Fri", "Sat", "Sun"], dart.dynamic); + }, + get C462() { + return C[462] = dart.constList(["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"], dart.dynamic); + }, + get C463() { + return C[463] = dart.constList(["Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday", "Sunday"], dart.dynamic); + }, + get C464() { + return C[464] = dart.constList(["jan", "feb", "mar", "apr", "may", "jun", "jul", "aug", "sep", "oct", "nov", "dec"], dart.dynamic); + }, + get C465() { + return C[465] = dart.constList(["(", ")", "<", ">", "@", ",", ";", ":", "\\", "\"", "/", "[", "]", "?", "=", "{", "}"], T$.StringL()); + }, + get C466() { + return C[466] = dart.const({ + __proto__: _http._ToUint8List.prototype + }); + }, + get C467() { + return C[467] = dart.const(new _js_helper.PrivateSymbol.new('_#IOSink#encoding#isSet', __IOSink_encoding_isSet$)); + }, + get C468() { + return C[468] = dart.const(new _js_helper.PrivateSymbol.new('_#IOSink#encoding', __IOSink_encoding$)); + }, + get C469() { + return C[469] = dart.const(new _js_helper.PrivateSymbol.new('_#IOSink#encoding#isSet=', __IOSink_encoding_isSet_)); + }, + get C470() { + return C[470] = dart.const(new _js_helper.PrivateSymbol.new('_#IOSink#encoding=', __IOSink_encoding_)); + }, + get C471() { + return C[471] = dart.constList([48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 65, 66, 67, 68, 69, 70], T$0.intL()); + }, + get C472() { + return C[472] = dart.constList([13, 10, 48, 13, 10, 13, 10], T$0.intL()); + }, + get C473() { + return C[473] = dart.constList([48, 13, 10, 13, 10], T$0.intL()); + }, + get C474() { + return C[474] = dart.fn(_http.HttpClient.findProxyFromEnvironment, T.Uri__ToString()); + }, + get C477() { + return C[477] = dart.const({ + __proto__: _http._Proxy.prototype, + [_Proxy_isDirect]: true, + [_Proxy_password]: null, + [_Proxy_username]: null, + [_Proxy_port]: null, + [_Proxy_host]: null + }); + }, + get C476() { + return C[476] = dart.constList([C[477] || CT.C477], T._ProxyL()); + }, + get C475() { + return C[475] = dart.const({ + __proto__: _http._ProxyConfiguration.prototype, + [_ProxyConfiguration_proxies]: C[476] || CT.C476 + }); + }, + get C478() { + return C[478] = dart.const({ + __proto__: _http._AuthenticationScheme.prototype, + [_scheme$]: -1 + }); + }, + get C479() { + return C[479] = dart.const({ + __proto__: _http._AuthenticationScheme.prototype, + [_scheme$]: 0 + }); + }, + get C480() { + return C[480] = dart.const({ + __proto__: _http._AuthenticationScheme.prototype, + [_scheme$]: 1 + }); + }, + get C481() { + return C[481] = dart.constList([72, 84, 84, 80], T$0.intL()); + }, + get C482() { + return C[482] = dart.constList([72, 84, 84, 80, 47, 49, 46], T$0.intL()); + }, + get C483() { + return C[483] = dart.constList([72, 84, 84, 80, 47, 49, 46, 48], T$0.intL()); + }, + get C484() { + return C[484] = dart.constList([72, 84, 84, 80, 47, 49, 46, 49], T$0.intL()); + }, + get C485() { + return C[485] = dart.constList([false, false, false, false, false, false, false, false, false, true, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, true, false, true, false, false, false, false, false, true, true, false, false, true, false, false, true, false, false, false, false, false, false, false, false, false, false, true, true, true, true, true, true, true, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, true, true, true, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, true, false, true, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false], T$0.boolL()); + }, + get C486() { + return C[486] = dart.const({ + __proto__: _http.CompressionOptions.prototype, + [enabled$]: true, + [serverMaxWindowBits$]: null, + [clientMaxWindowBits$]: null, + [serverNoContextTakeover$]: false, + [clientNoContextTakeover$]: false + }); + }, + get C487() { + return C[487] = dart.const({ + __proto__: _http.CompressionOptions.prototype, + [enabled$]: false, + [serverMaxWindowBits$]: null, + [clientMaxWindowBits$]: null, + [serverNoContextTakeover$]: false, + [clientNoContextTakeover$]: false + }); + }, + get C488() { + return C[488] = dart.constList([0, 0, 255, 255], T$0.intL()); + }, + get C489() { + return C[489] = dart.const({ + __proto__: core.Duration.prototype, + [_duration$]: 5000000 + }); + } + }, false); + core.Invocation = class Invocation extends core.Object { + static method(memberName, positionalArguments, namedArguments = null) { + if (memberName == null) dart.nullFailed(I[10], 20, 18, "memberName"); + return new core._Invocation.method(memberName, null, positionalArguments, namedArguments); + } + static genericMethod(memberName, typeArguments, positionalArguments, namedArguments = null) { + if (memberName == null) dart.nullFailed(I[10], 31, 43, "memberName"); + return new core._Invocation.method(memberName, typeArguments, positionalArguments, namedArguments); + } + get typeArguments() { + return C[0] || CT.C0; + } + get isAccessor() { + return dart.test(this.isGetter) || dart.test(this.isSetter); + } + }; + (core.Invocation.new = function() { + ; + }).prototype = core.Invocation.prototype; + dart.addTypeTests(core.Invocation); + dart.addTypeCaches(core.Invocation); + dart.setGetterSignature(core.Invocation, () => ({ + __proto__: dart.getGetters(core.Invocation.__proto__), + typeArguments: core.List$(core.Type), + isAccessor: core.bool + })); + dart.setLibraryUri(core.Invocation, I[8]); + dart.InvocationImpl = class InvocationImpl extends core.Invocation { + get memberName() { + return this[memberName$]; + } + set memberName(value) { + super.memberName = value; + } + get positionalArguments() { + return this[positionalArguments$]; + } + set positionalArguments(value) { + super.positionalArguments = value; + } + get namedArguments() { + return this[namedArguments$]; + } + set namedArguments(value) { + super.namedArguments = value; + } + get typeArguments() { + return this[typeArguments$]; + } + set typeArguments(value) { + super.typeArguments = value; + } + get isMethod() { + return this[isMethod$]; + } + set isMethod(value) { + super.isMethod = value; + } + get isGetter() { + return this[isGetter$]; + } + set isGetter(value) { + super.isGetter = value; + } + get isSetter() { + return this[isSetter$]; + } + set isSetter(value) { + super.isSetter = value; + } + get failureMessage() { + return this[failureMessage$]; + } + set failureMessage(value) { + super.failureMessage = value; + } + static _namedArgsToSymbols(namedArgs) { + if (namedArgs == null) return const$0 || (const$0 = dart.constMap(T$.SymbolL(), dart.dynamic, [])); + return T$.MapOfSymbol$dynamic().unmodifiable(collection.LinkedHashMap.fromIterable(dart.getOwnPropertyNames(namedArgs), { + key: dart._dartSymbol, + value: k => namedArgs[k] + })); + } + }; + (dart.InvocationImpl.new = function(memberName, positionalArguments, opts) { + if (positionalArguments == null) dart.nullFailed(I[2], 20, 44, "positionalArguments"); + let namedArguments = opts && 'namedArguments' in opts ? opts.namedArguments : null; + let typeArguments = opts && 'typeArguments' in opts ? opts.typeArguments : const$ || (const$ = dart.constList([], dart.dynamic)); + if (typeArguments == null) dart.nullFailed(I[2], 22, 12, "typeArguments"); + let isMethod = opts && 'isMethod' in opts ? opts.isMethod : false; + if (isMethod == null) dart.nullFailed(I[2], 23, 12, "isMethod"); + let isGetter = opts && 'isGetter' in opts ? opts.isGetter : false; + if (isGetter == null) dart.nullFailed(I[2], 24, 12, "isGetter"); + let isSetter = opts && 'isSetter' in opts ? opts.isSetter : false; + if (isSetter == null) dart.nullFailed(I[2], 25, 12, "isSetter"); + let failureMessage = opts && 'failureMessage' in opts ? opts.failureMessage : "method not found"; + if (failureMessage == null) dart.nullFailed(I[2], 26, 12, "failureMessage"); + this[isMethod$] = isMethod; + this[isGetter$] = isGetter; + this[isSetter$] = isSetter; + this[failureMessage$] = failureMessage; + this[memberName$] = dart.test(isSetter) ? dart._setterSymbol(memberName) : dart._dartSymbol(memberName); + this[positionalArguments$] = core.List.unmodifiable(positionalArguments); + this[namedArguments$] = dart.InvocationImpl._namedArgsToSymbols(namedArguments); + this[typeArguments$] = T$.ListOfType().unmodifiable(typeArguments[$map](dart.dynamic, dart.wrapType)); + dart.InvocationImpl.__proto__.new.call(this); + ; + }).prototype = dart.InvocationImpl.prototype; + dart.addTypeTests(dart.InvocationImpl); + dart.addTypeCaches(dart.InvocationImpl); + dart.setLibraryUri(dart.InvocationImpl, I[9]); + dart.setFieldSignature(dart.InvocationImpl, () => ({ + __proto__: dart.getFields(dart.InvocationImpl.__proto__), + memberName: dart.finalFieldType(core.Symbol), + positionalArguments: dart.finalFieldType(core.List), + namedArguments: dart.finalFieldType(core.Map$(core.Symbol, dart.dynamic)), + typeArguments: dart.finalFieldType(core.List$(core.Type)), + isMethod: dart.finalFieldType(core.bool), + isGetter: dart.finalFieldType(core.bool), + isSetter: dart.finalFieldType(core.bool), + failureMessage: dart.finalFieldType(core.String) + })); + var name$0 = dart.privateName(_debugger, "JsonMLConfig.name"); + _debugger.JsonMLConfig = class JsonMLConfig extends core.Object { + get name() { + return this[name$0]; + } + set name(value) { + super.name = value; + } + toString() { + return "JsonMLConfig(" + dart.str(this.name) + ")"; + } + }; + (_debugger.JsonMLConfig.new = function(name) { + if (name == null) dart.nullFailed(I[11], 28, 27, "name"); + this[name$0] = name; + ; + }).prototype = _debugger.JsonMLConfig.prototype; + dart.addTypeTests(_debugger.JsonMLConfig); + dart.addTypeCaches(_debugger.JsonMLConfig); + dart.setLibraryUri(_debugger.JsonMLConfig, I[12]); + dart.setFieldSignature(_debugger.JsonMLConfig, () => ({ + __proto__: dart.getFields(_debugger.JsonMLConfig.__proto__), + name: dart.finalFieldType(core.String) + })); + dart.defineExtensionMethods(_debugger.JsonMLConfig, ['toString']); + dart.defineLazy(_debugger.JsonMLConfig, { + /*_debugger.JsonMLConfig.none*/get none() { + return C[1] || CT.C1; + }, + /*_debugger.JsonMLConfig.skipDart*/get skipDart() { + return C[2] || CT.C2; + }, + /*_debugger.JsonMLConfig.keyToString*/get keyToString() { + return C[3] || CT.C3; + }, + /*_debugger.JsonMLConfig.asClass*/get asClass() { + return C[4] || CT.C4; + }, + /*_debugger.JsonMLConfig.asObject*/get asObject() { + return C[5] || CT.C5; + }, + /*_debugger.JsonMLConfig.asMap*/get asMap() { + return C[6] || CT.C6; + } + }, false); + _debugger.JSNative = class JSNative extends core.Object { + static getProperty(object, name) { + return object[name]; + } + static setProperty(object, name, value) { + return object[name] = value; + } + }; + (_debugger.JSNative.new = function() { + ; + }).prototype = _debugger.JSNative.prototype; + dart.addTypeTests(_debugger.JSNative); + dart.addTypeCaches(_debugger.JSNative); + dart.setLibraryUri(_debugger.JSNative, I[12]); + var name$1 = dart.privateName(_debugger, "NameValuePair.name"); + var value$ = dart.privateName(_debugger, "NameValuePair.value"); + var config$ = dart.privateName(_debugger, "NameValuePair.config"); + var hideName$ = dart.privateName(_debugger, "NameValuePair.hideName"); + _debugger.NameValuePair = class NameValuePair extends core.Object { + get name() { + return this[name$1]; + } + set name(value) { + super.name = value; + } + get value() { + return this[value$]; + } + set value(value) { + super.value = value; + } + get config() { + return this[config$]; + } + set config(value) { + super.config = value; + } + get hideName() { + return this[hideName$]; + } + set hideName(value) { + super.hideName = value; + } + _equals(other) { + if (other == null) return false; + if (!_debugger.NameValuePair.is(other)) return false; + if (dart.test(this.hideName) || dart.test(other.hideName)) return this === other; + return other.name == this.name; + } + get hashCode() { + return dart.hashCode(this.name); + } + get displayName() { + return dart.test(this.hideName) ? "" : this.name; + } + }; + (_debugger.NameValuePair.new = function(opts) { + let name = opts && 'name' in opts ? opts.name : ""; + if (name == null) dart.nullFailed(I[11], 172, 13, "name"); + let value = opts && 'value' in opts ? opts.value : null; + let config = opts && 'config' in opts ? opts.config : C[1] || CT.C1; + if (config == null) dart.nullFailed(I[11], 174, 12, "config"); + let hideName = opts && 'hideName' in opts ? opts.hideName : false; + if (hideName == null) dart.nullFailed(I[11], 175, 12, "hideName"); + this[name$1] = name; + this[value$] = value; + this[config$] = config; + this[hideName$] = hideName; + ; + }).prototype = _debugger.NameValuePair.prototype; + dart.addTypeTests(_debugger.NameValuePair); + dart.addTypeCaches(_debugger.NameValuePair); + dart.setGetterSignature(_debugger.NameValuePair, () => ({ + __proto__: dart.getGetters(_debugger.NameValuePair.__proto__), + displayName: core.String + })); + dart.setLibraryUri(_debugger.NameValuePair, I[12]); + dart.setFieldSignature(_debugger.NameValuePair, () => ({ + __proto__: dart.getFields(_debugger.NameValuePair.__proto__), + name: dart.finalFieldType(core.String), + value: dart.finalFieldType(dart.nullable(core.Object)), + config: dart.finalFieldType(_debugger.JsonMLConfig), + hideName: dart.finalFieldType(core.bool) + })); + dart.defineExtensionMethods(_debugger.NameValuePair, ['_equals']); + dart.defineExtensionAccessors(_debugger.NameValuePair, ['hashCode']); + var key$ = dart.privateName(_debugger, "MapEntry.key"); + var value$0 = dart.privateName(_debugger, "MapEntry.value"); + _debugger.MapEntry = class MapEntry extends core.Object { + get key() { + return this[key$]; + } + set key(value) { + super.key = value; + } + get value() { + return this[value$0]; + } + set value(value) { + super.value = value; + } + }; + (_debugger.MapEntry.new = function(opts) { + let key = opts && 'key' in opts ? opts.key : null; + let value = opts && 'value' in opts ? opts.value : null; + this[key$] = key; + this[value$0] = value; + ; + }).prototype = _debugger.MapEntry.prototype; + dart.addTypeTests(_debugger.MapEntry); + dart.addTypeCaches(_debugger.MapEntry); + dart.setLibraryUri(_debugger.MapEntry, I[12]); + dart.setFieldSignature(_debugger.MapEntry, () => ({ + __proto__: dart.getFields(_debugger.MapEntry.__proto__), + key: dart.finalFieldType(dart.nullable(core.Object)), + value: dart.finalFieldType(dart.nullable(core.Object)) + })); + var start$ = dart.privateName(_debugger, "IterableSpan.start"); + var end$ = dart.privateName(_debugger, "IterableSpan.end"); + var iterable$ = dart.privateName(_debugger, "IterableSpan.iterable"); + _debugger.IterableSpan = class IterableSpan extends core.Object { + get start() { + return this[start$]; + } + set start(value) { + super.start = value; + } + get end() { + return this[end$]; + } + set end(value) { + super.end = value; + } + get iterable() { + return this[iterable$]; + } + set iterable(value) { + super.iterable = value; + } + get length() { + return dart.notNull(this.end) - dart.notNull(this.start); + } + get maxPowerOfSubsetSize() { + return (math.log(dart.notNull(this.length) - 0.5) / math.log(_debugger._maxSpanLength))[$truncate](); + } + get subsetSize() { + return math.pow(_debugger._maxSpanLength, this.maxPowerOfSubsetSize)[$toInt](); + } + asMap() { + return this.iterable[$skip](this.start)[$take](this.length)[$toList]()[$asMap](); + } + children() { + let children = T$.JSArrayOfNameValuePair().of([]); + if (dart.notNull(this.length) <= dart.notNull(_debugger._maxSpanLength)) { + this.asMap()[$forEach](dart.fn((i, element) => { + if (i == null) dart.nullFailed(I[11], 225, 24, "i"); + children[$add](new _debugger.NameValuePair.new({name: (dart.notNull(i) + dart.notNull(this.start))[$toString](), value: element})); + }, T$.intAnddynamicTovoid())); + } else { + for (let i = this.start; dart.notNull(i) < dart.notNull(this.end); i = dart.notNull(i) + dart.notNull(this.subsetSize)) { + let subSpan = new _debugger.IterableSpan.new(i, math.min(core.int, this.end, dart.notNull(this.subsetSize) + dart.notNull(i)), this.iterable); + if (subSpan.length === 1) { + children[$add](new _debugger.NameValuePair.new({name: dart.toString(i), value: this.iterable[$elementAt](i)})); + } else { + children[$add](new _debugger.NameValuePair.new({name: "[" + dart.str(i) + "..." + dart.str(dart.notNull(subSpan.end) - 1) + "]", value: subSpan, hideName: true})); + } + } + } + return children; + } + }; + (_debugger.IterableSpan.new = function(start, end, iterable) { + if (start == null) dart.nullFailed(I[11], 203, 21, "start"); + if (end == null) dart.nullFailed(I[11], 203, 33, "end"); + if (iterable == null) dart.nullFailed(I[11], 203, 43, "iterable"); + this[start$] = start; + this[end$] = end; + this[iterable$] = iterable; + ; + }).prototype = _debugger.IterableSpan.prototype; + dart.addTypeTests(_debugger.IterableSpan); + dart.addTypeCaches(_debugger.IterableSpan); + dart.setMethodSignature(_debugger.IterableSpan, () => ({ + __proto__: dart.getMethods(_debugger.IterableSpan.__proto__), + asMap: dart.fnType(core.Map$(core.int, dart.dynamic), []), + children: dart.fnType(core.List$(_debugger.NameValuePair), []) + })); + dart.setGetterSignature(_debugger.IterableSpan, () => ({ + __proto__: dart.getGetters(_debugger.IterableSpan.__proto__), + length: core.int, + maxPowerOfSubsetSize: core.int, + subsetSize: core.int + })); + dart.setLibraryUri(_debugger.IterableSpan, I[12]); + dart.setFieldSignature(_debugger.IterableSpan, () => ({ + __proto__: dart.getFields(_debugger.IterableSpan.__proto__), + start: dart.finalFieldType(core.int), + end: dart.finalFieldType(core.int), + iterable: dart.finalFieldType(core.Iterable) + })); + var name$2 = dart.privateName(_debugger, "Library.name"); + var object$ = dart.privateName(_debugger, "Library.object"); + _debugger.Library = class Library extends core.Object { + get name() { + return this[name$2]; + } + set name(value) { + super.name = value; + } + get object() { + return this[object$]; + } + set object(value) { + super.object = value; + } + }; + (_debugger.Library.new = function(name, object) { + if (name == null) dart.nullFailed(I[11], 248, 16, "name"); + if (object == null) dart.nullFailed(I[11], 248, 27, "object"); + this[name$2] = name; + this[object$] = object; + ; + }).prototype = _debugger.Library.prototype; + dart.addTypeTests(_debugger.Library); + dart.addTypeCaches(_debugger.Library); + dart.setLibraryUri(_debugger.Library, I[12]); + dart.setFieldSignature(_debugger.Library, () => ({ + __proto__: dart.getFields(_debugger.Library.__proto__), + name: dart.finalFieldType(core.String), + object: dart.finalFieldType(core.Object) + })); + var object$0 = dart.privateName(_debugger, "NamedConstructor.object"); + _debugger.NamedConstructor = class NamedConstructor extends core.Object { + get object() { + return this[object$0]; + } + set object(value) { + super.object = value; + } + }; + (_debugger.NamedConstructor.new = function(object) { + if (object == null) dart.nullFailed(I[11], 255, 25, "object"); + this[object$0] = object; + ; + }).prototype = _debugger.NamedConstructor.prototype; + dart.addTypeTests(_debugger.NamedConstructor); + dart.addTypeCaches(_debugger.NamedConstructor); + dart.setLibraryUri(_debugger.NamedConstructor, I[12]); + dart.setFieldSignature(_debugger.NamedConstructor, () => ({ + __proto__: dart.getFields(_debugger.NamedConstructor.__proto__), + object: dart.finalFieldType(core.Object) + })); + var name$3 = dart.privateName(_debugger, "HeritageClause.name"); + var types$ = dart.privateName(_debugger, "HeritageClause.types"); + _debugger.HeritageClause = class HeritageClause extends core.Object { + get name() { + return this[name$3]; + } + set name(value) { + super.name = value; + } + get types() { + return this[types$]; + } + set types(value) { + super.types = value; + } + }; + (_debugger.HeritageClause.new = function(name, types) { + if (name == null) dart.nullFailed(I[11], 261, 23, "name"); + if (types == null) dart.nullFailed(I[11], 261, 34, "types"); + this[name$3] = name; + this[types$] = types; + ; + }).prototype = _debugger.HeritageClause.prototype; + dart.addTypeTests(_debugger.HeritageClause); + dart.addTypeCaches(_debugger.HeritageClause); + dart.setLibraryUri(_debugger.HeritageClause, I[12]); + dart.setFieldSignature(_debugger.HeritageClause, () => ({ + __proto__: dart.getFields(_debugger.HeritageClause.__proto__), + name: dart.finalFieldType(core.String), + types: dart.finalFieldType(core.List) + })); + var _attributes = dart.privateName(_debugger, "_attributes"); + var __JsonMLElement__jsonML = dart.privateName(_debugger, "_#JsonMLElement#_jsonML"); + var __JsonMLElement__jsonML_isSet = dart.privateName(_debugger, "_#JsonMLElement#_jsonML#isSet"); + var _jsonML = dart.privateName(_debugger, "_jsonML"); + _debugger.JsonMLElement = class JsonMLElement extends core.Object { + get [_jsonML]() { + let t8; + return dart.test(this[__JsonMLElement__jsonML_isSet]) ? (t8 = this[__JsonMLElement__jsonML], t8) : dart.throw(new _internal.LateError.fieldNI("_jsonML")); + } + set [_jsonML](t8) { + if (t8 == null) dart.nullFailed(I[11], 285, 13, "null"); + this[__JsonMLElement__jsonML_isSet] = true; + this[__JsonMLElement__jsonML] = t8; + } + appendChild(element) { + this[_jsonML][$add](dart.dsend(element, 'toJsonML', [])); + } + createChild(tagName) { + if (tagName == null) dart.nullFailed(I[11], 296, 36, "tagName"); + let c = new _debugger.JsonMLElement.new(tagName); + this[_jsonML][$add](c.toJsonML()); + return c; + } + createObjectTag(object) { + let t9; + t9 = this.createChild("object"); + return (() => { + t9.addAttribute("object", object); + return t9; + })(); + } + setStyle(style) { + if (style == null) dart.nullFailed(I[11], 305, 24, "style"); + dart.dput(this[_attributes], 'style', style); + } + addStyle(style) { + let t9; + if (style == null) dart.nullFailed(I[11], 309, 19, "style"); + if (dart.dload(this[_attributes], 'style') == null) { + dart.dput(this[_attributes], 'style', style); + } else { + t9 = this[_attributes]; + dart.dput(t9, 'style', dart.dsend(dart.dload(t9, 'style'), '+', [style])); + } + } + addAttribute(key, value) { + _debugger.JSNative.setProperty(this[_attributes], key, value); + } + createTextChild(text) { + if (text == null) dart.nullFailed(I[11], 321, 26, "text"); + this[_jsonML][$add](text); + } + toJsonML() { + return this[_jsonML]; + } + }; + (_debugger.JsonMLElement.new = function(tagName) { + this[_attributes] = null; + this[__JsonMLElement__jsonML] = null; + this[__JsonMLElement__jsonML_isSet] = false; + this[_attributes] = {}; + this[_jsonML] = [tagName, this[_attributes]]; + }).prototype = _debugger.JsonMLElement.prototype; + dart.addTypeTests(_debugger.JsonMLElement); + dart.addTypeCaches(_debugger.JsonMLElement); + dart.setMethodSignature(_debugger.JsonMLElement, () => ({ + __proto__: dart.getMethods(_debugger.JsonMLElement.__proto__), + appendChild: dart.fnType(dart.dynamic, [dart.dynamic]), + createChild: dart.fnType(_debugger.JsonMLElement, [core.String]), + createObjectTag: dart.fnType(_debugger.JsonMLElement, [dart.dynamic]), + setStyle: dart.fnType(dart.void, [core.String]), + addStyle: dart.fnType(dart.dynamic, [core.String]), + addAttribute: dart.fnType(dart.dynamic, [dart.dynamic, dart.dynamic]), + createTextChild: dart.fnType(dart.dynamic, [core.String]), + toJsonML: dart.fnType(dart.dynamic, []) + })); + dart.setGetterSignature(_debugger.JsonMLElement, () => ({ + __proto__: dart.getGetters(_debugger.JsonMLElement.__proto__), + [_jsonML]: core.List + })); + dart.setSetterSignature(_debugger.JsonMLElement, () => ({ + __proto__: dart.getSetters(_debugger.JsonMLElement.__proto__), + [_jsonML]: core.List + })); + dart.setLibraryUri(_debugger.JsonMLElement, I[12]); + dart.setFieldSignature(_debugger.JsonMLElement, () => ({ + __proto__: dart.getFields(_debugger.JsonMLElement.__proto__), + [_attributes]: dart.fieldType(dart.dynamic), + [__JsonMLElement__jsonML]: dart.fieldType(dart.nullable(core.List)), + [__JsonMLElement__jsonML_isSet]: dart.fieldType(core.bool) + })); + var customFormattersOn = dart.privateName(_debugger, "JsonMLFormatter.customFormattersOn"); + var _simpleFormatter$ = dart.privateName(_debugger, "_simpleFormatter"); + _debugger.JsonMLFormatter = class JsonMLFormatter extends core.Object { + get customFormattersOn() { + return this[customFormattersOn]; + } + set customFormattersOn(value) { + this[customFormattersOn] = value; + } + setMaxSpanLengthForTestingOnly(spanLength) { + if (spanLength == null) dart.nullFailed(I[11], 363, 43, "spanLength"); + _debugger._maxSpanLength = spanLength; + } + header(object, config) { + let t9; + this.customFormattersOn = true; + if (dart.equals(config, _debugger.JsonMLConfig.skipDart) || dart.test(_debugger.isNativeJavaScriptObject(object))) { + return null; + } + let c = this[_simpleFormatter$].preview(object, config); + if (c == null) return null; + if (dart.equals(config, _debugger.JsonMLConfig.keyToString)) { + c = dart.toString(object); + } + let element = (t9 = new _debugger.JsonMLElement.new("span"), (() => { + t9.setStyle("background-color: #d9edf7;color: black"); + t9.createTextChild(c); + return t9; + })()); + return element.toJsonML(); + } + hasBody(object, config) { + return this[_simpleFormatter$].hasChildren(object, config); + } + body(object, config) { + let t9, t9$, t9$0, t9$1, t9$2; + let body = (t9 = new _debugger.JsonMLElement.new("ol"), (() => { + t9.setStyle("list-style-type: none;" + "padding-left: 0px;" + "margin-top: 0px;" + "margin-bottom: 0px;" + "margin-left: 12px;"); + return t9; + })()); + if (core.StackTrace.is(object)) { + body.addStyle("background-color: thistle;color: rgb(196, 26, 22);"); + } + let children = this[_simpleFormatter$].children(object, config); + if (children == null) return body.toJsonML(); + for (let child of children) { + let li = body.createChild("li"); + li.setStyle("padding-left: 13px;"); + let nameSpan = null; + let valueStyle = ""; + if (!dart.test(child.hideName)) { + nameSpan = (t9$ = new _debugger.JsonMLElement.new("span"), (() => { + t9$.createTextChild(child.displayName[$isNotEmpty] ? dart.str(child.displayName) + ": " : ""); + t9$.setStyle("background-color: thistle; color: rgb(136, 19, 145); margin-right: -13px"); + return t9$; + })()); + valueStyle = "margin-left: 13px"; + } + if (_debugger._typeof(child.value) === "object" || _debugger._typeof(child.value) === "function") { + let valueSpan = (t9$0 = new _debugger.JsonMLElement.new("span"), (() => { + t9$0.setStyle(valueStyle); + return t9$0; + })()); + t9$1 = valueSpan.createObjectTag(child.value); + (() => { + t9$1.addAttribute("config", child.config); + return t9$1; + })(); + if (nameSpan != null) { + li.appendChild(nameSpan); + } + li.appendChild(valueSpan); + } else { + let line = li.createChild("span"); + if (nameSpan != null) { + line.appendChild(nameSpan); + } + line.appendChild((t9$2 = new _debugger.JsonMLElement.new("span"), (() => { + t9$2.createTextChild(_debugger.safePreview(child.value, child.config)); + t9$2.setStyle(valueStyle); + return t9$2; + })())); + } + } + return body.toJsonML(); + } + }; + (_debugger.JsonMLFormatter.new = function(_simpleFormatter) { + if (_simpleFormatter == null) dart.nullFailed(I[11], 361, 24, "_simpleFormatter"); + this[customFormattersOn] = false; + this[_simpleFormatter$] = _simpleFormatter; + ; + }).prototype = _debugger.JsonMLFormatter.prototype; + dart.addTypeTests(_debugger.JsonMLFormatter); + dart.addTypeCaches(_debugger.JsonMLFormatter); + dart.setMethodSignature(_debugger.JsonMLFormatter, () => ({ + __proto__: dart.getMethods(_debugger.JsonMLFormatter.__proto__), + setMaxSpanLengthForTestingOnly: dart.fnType(dart.void, [core.int]), + header: dart.fnType(dart.dynamic, [dart.dynamic, dart.dynamic]), + hasBody: dart.fnType(core.bool, [dart.dynamic, dart.dynamic]), + body: dart.fnType(dart.dynamic, [dart.dynamic, dart.dynamic]) + })); + dart.setLibraryUri(_debugger.JsonMLFormatter, I[12]); + dart.setFieldSignature(_debugger.JsonMLFormatter, () => ({ + __proto__: dart.getFields(_debugger.JsonMLFormatter.__proto__), + [_simpleFormatter$]: dart.fieldType(_debugger.DartFormatter), + customFormattersOn: dart.fieldType(core.bool) + })); + _debugger.Formatter = class Formatter extends core.Object {}; + (_debugger.Formatter.new = function() { + ; + }).prototype = _debugger.Formatter.prototype; + dart.addTypeTests(_debugger.Formatter); + dart.addTypeCaches(_debugger.Formatter); + dart.setLibraryUri(_debugger.Formatter, I[12]); + var _formatters = dart.privateName(_debugger, "_formatters"); + var _printConsoleError = dart.privateName(_debugger, "_printConsoleError"); + _debugger.DartFormatter = class DartFormatter extends core.Object { + preview(object, config) { + try { + if (object == null || typeof object == 'number' || typeof object == 'string' || dart.test(_debugger.isNativeJavaScriptObject(object))) { + return dart.toString(object); + } + for (let formatter of this[_formatters]) { + if (dart.test(formatter.accept(object, config))) return formatter.preview(object); + } + } catch (e$) { + let e = dart.getThrown(e$); + let trace = dart.stackTrace(e$); + if (core.Object.is(e)) { + this[_printConsoleError]("Caught exception " + dart.str(e) + "\n trace:\n" + dart.str(trace)); + } else + throw e$; + } + return null; + } + hasChildren(object, config) { + if (object == null) return false; + try { + for (let formatter of this[_formatters]) { + if (dart.test(formatter.accept(object, config))) return formatter.hasChildren(object); + } + } catch (e$) { + let e = dart.getThrown(e$); + let trace = dart.stackTrace(e$); + if (core.Object.is(e)) { + this[_printConsoleError]("[hasChildren] Caught exception " + dart.str(e) + "\n trace:\n" + dart.str(trace)); + } else + throw e$; + } + return false; + } + children(object, config) { + try { + if (object != null) { + for (let formatter of this[_formatters]) { + if (dart.test(formatter.accept(object, config))) return formatter.children(object); + } + } + } catch (e$) { + let e = dart.getThrown(e$); + let trace = dart.stackTrace(e$); + if (core.Object.is(e)) { + this[_printConsoleError]("Caught exception " + dart.str(e) + "\n trace:\n" + dart.str(trace)); + } else + throw e$; + } + return T$.JSArrayOfNameValuePair().of([]); + } + [_printConsoleError](message) { + if (message == null) dart.nullFailed(I[11], 523, 34, "message"); + return window.console.error(message); + } + }; + (_debugger.DartFormatter.new = function() { + this[_formatters] = T$.JSArrayOfFormatter().of([new _debugger.ObjectInternalsFormatter.new(), new _debugger.ClassFormatter.new(), new _debugger.TypeFormatter.new(), new _debugger.NamedConstructorFormatter.new(), new _debugger.MapFormatter.new(), new _debugger.MapOverviewFormatter.new(), new _debugger.IterableFormatter.new(), new _debugger.IterableSpanFormatter.new(), new _debugger.MapEntryFormatter.new(), new _debugger.StackTraceFormatter.new(), new _debugger.ErrorAndExceptionFormatter.new(), new _debugger.FunctionFormatter.new(), new _debugger.HeritageClauseFormatter.new(), new _debugger.LibraryModuleFormatter.new(), new _debugger.LibraryFormatter.new(), new _debugger.ObjectFormatter.new()]); + ; + }).prototype = _debugger.DartFormatter.prototype; + dart.addTypeTests(_debugger.DartFormatter); + dart.addTypeCaches(_debugger.DartFormatter); + dart.setMethodSignature(_debugger.DartFormatter, () => ({ + __proto__: dart.getMethods(_debugger.DartFormatter.__proto__), + preview: dart.fnType(dart.nullable(core.String), [dart.dynamic, dart.dynamic]), + hasChildren: dart.fnType(core.bool, [dart.dynamic, dart.dynamic]), + children: dart.fnType(dart.nullable(core.List$(_debugger.NameValuePair)), [dart.dynamic, dart.dynamic]), + [_printConsoleError]: dart.fnType(dart.void, [core.String]) + })); + dart.setLibraryUri(_debugger.DartFormatter, I[12]); + dart.setFieldSignature(_debugger.DartFormatter, () => ({ + __proto__: dart.getFields(_debugger.DartFormatter.__proto__), + [_formatters]: dart.finalFieldType(core.List$(_debugger.Formatter)) + })); + _debugger.ObjectFormatter = class ObjectFormatter extends _debugger.Formatter { + accept(object, config) { + return !dart.test(_debugger.isNativeJavaScriptObject(object)); + } + preview(object) { + let typeName = _debugger.getObjectTypeName(object); + try { + let toString = dart.str(object); + if (toString.length > dart.notNull(_debugger.maxFormatterStringLength)) { + toString = toString[$substring](0, dart.notNull(_debugger.maxFormatterStringLength) - 3) + "..."; + } + if (toString[$contains](typeName)) { + return toString; + } else { + return toString + " (" + dart.str(typeName) + ")"; + } + } catch (e$) { + let e = dart.getThrown(e$); + if (core.Object.is(e)) { + } else + throw e$; + } + return typeName; + } + hasChildren(object) { + return true; + } + children(object) { + let type = dart.getType(object); + let ret = new (T$._HashSetOfNameValuePair()).new(); + let fields = new (T$._HashSetOfNameValuePair()).new(); + _debugger.addPropertiesFromSignature(dart.getFields(type), fields, object, true); + let getters = new (T$._HashSetOfNameValuePair()).new(); + _debugger.addPropertiesFromSignature(dart.getGetters(type), getters, object, true); + ret.addAll(_debugger.sortProperties(fields)); + ret.addAll(_debugger.sortProperties(getters)); + _debugger.addMetadataChildren(object, ret); + return ret[$toList](); + } + }; + (_debugger.ObjectFormatter.new = function() { + ; + }).prototype = _debugger.ObjectFormatter.prototype; + dart.addTypeTests(_debugger.ObjectFormatter); + dart.addTypeCaches(_debugger.ObjectFormatter); + dart.setMethodSignature(_debugger.ObjectFormatter, () => ({ + __proto__: dart.getMethods(_debugger.ObjectFormatter.__proto__), + accept: dart.fnType(core.bool, [dart.dynamic, dart.dynamic]), + preview: dart.fnType(core.String, [dart.dynamic]), + hasChildren: dart.fnType(core.bool, [dart.dynamic]), + children: dart.fnType(dart.nullable(core.List$(_debugger.NameValuePair)), [dart.dynamic]) + })); + dart.setLibraryUri(_debugger.ObjectFormatter, I[12]); + _debugger.ObjectInternalsFormatter = class ObjectInternalsFormatter extends _debugger.ObjectFormatter { + accept(object, config) { + return dart.test(super.accept(object, config)) && dart.equals(config, _debugger.JsonMLConfig.asObject); + } + preview(object) { + return _debugger.getObjectTypeName(object); + } + }; + (_debugger.ObjectInternalsFormatter.new = function() { + ; + }).prototype = _debugger.ObjectInternalsFormatter.prototype; + dart.addTypeTests(_debugger.ObjectInternalsFormatter); + dart.addTypeCaches(_debugger.ObjectInternalsFormatter); + dart.setLibraryUri(_debugger.ObjectInternalsFormatter, I[12]); + _debugger.LibraryModuleFormatter = class LibraryModuleFormatter extends core.Object { + accept(object, config) { + return dart.getModuleName(core.Object.as(object)) != null; + } + hasChildren(object) { + return true; + } + preview(object) { + let libraryNames = dart.nullCheck(dart.getModuleName(core.Object.as(object)))[$split]("/"); + if (dart.notNull(libraryNames[$length]) > 1 && libraryNames[$last] == libraryNames[$_get](dart.notNull(libraryNames[$length]) - 2)) { + libraryNames[$_set](dart.notNull(libraryNames[$length]) - 1, ""); + } + return "Library Module: " + dart.str(libraryNames[$join]("/")); + } + children(object) { + let children = new (T$._HashSetOfNameValuePair()).new(); + for (let name of _debugger.getOwnPropertyNames(object)) { + let value = _debugger.safeGetProperty(core.Object.as(object), name); + children.add(new _debugger.NameValuePair.new({name: name, value: new _debugger.Library.new(name, dart.nullCheck(value)), hideName: true})); + } + return children[$toList](); + } + }; + (_debugger.LibraryModuleFormatter.new = function() { + ; + }).prototype = _debugger.LibraryModuleFormatter.prototype; + dart.addTypeTests(_debugger.LibraryModuleFormatter); + dart.addTypeCaches(_debugger.LibraryModuleFormatter); + _debugger.LibraryModuleFormatter[dart.implements] = () => [_debugger.Formatter]; + dart.setMethodSignature(_debugger.LibraryModuleFormatter, () => ({ + __proto__: dart.getMethods(_debugger.LibraryModuleFormatter.__proto__), + accept: dart.fnType(core.bool, [dart.dynamic, dart.dynamic]), + hasChildren: dart.fnType(core.bool, [dart.dynamic]), + preview: dart.fnType(core.String, [dart.dynamic]), + children: dart.fnType(core.List$(_debugger.NameValuePair), [dart.dynamic]) + })); + dart.setLibraryUri(_debugger.LibraryModuleFormatter, I[12]); + var genericParameters = dart.privateName(_debugger, "LibraryFormatter.genericParameters"); + _debugger.LibraryFormatter = class LibraryFormatter extends core.Object { + get genericParameters() { + return this[genericParameters]; + } + set genericParameters(value) { + this[genericParameters] = value; + } + accept(object, config) { + return _debugger.Library.is(object); + } + hasChildren(object) { + return true; + } + preview(object) { + return core.String.as(dart.dload(object, 'name')); + } + children(object) { + let children = new (T$._HashSetOfNameValuePair()).new(); + let objectProperties = _debugger.safeProperties(dart.dload(object, 'object')); + dart.dsend(objectProperties, 'forEach', [dart.fn((name, value) => { + if (dart.getGenericTypeCtor(value) != null) return; + children.add(_debugger.NameValuePair.as(dart.isType(value) ? this.classChild(core.String.as(name), core.Object.as(value)) : new _debugger.NameValuePair.new({name: core.String.as(name), value: value}))); + }, T$.dynamicAnddynamicToNull())]); + return children[$toList](); + } + classChild(name, child) { + if (name == null) dart.nullFailed(I[11], 644, 21, "name"); + if (child == null) dart.nullFailed(I[11], 644, 34, "child"); + let typeName = _debugger.getTypeName(child); + return new _debugger.NameValuePair.new({name: typeName, value: child, config: _debugger.JsonMLConfig.asClass}); + } + }; + (_debugger.LibraryFormatter.new = function() { + this[genericParameters] = new (T$.IdentityMapOfString$String()).new(); + ; + }).prototype = _debugger.LibraryFormatter.prototype; + dart.addTypeTests(_debugger.LibraryFormatter); + dart.addTypeCaches(_debugger.LibraryFormatter); + _debugger.LibraryFormatter[dart.implements] = () => [_debugger.Formatter]; + dart.setMethodSignature(_debugger.LibraryFormatter, () => ({ + __proto__: dart.getMethods(_debugger.LibraryFormatter.__proto__), + accept: dart.fnType(core.bool, [dart.dynamic, dart.dynamic]), + hasChildren: dart.fnType(core.bool, [dart.dynamic]), + preview: dart.fnType(core.String, [dart.dynamic]), + children: dart.fnType(core.List$(_debugger.NameValuePair), [dart.dynamic]), + classChild: dart.fnType(dart.dynamic, [core.String, core.Object]) + })); + dart.setLibraryUri(_debugger.LibraryFormatter, I[12]); + dart.setFieldSignature(_debugger.LibraryFormatter, () => ({ + __proto__: dart.getFields(_debugger.LibraryFormatter.__proto__), + genericParameters: dart.fieldType(collection.HashMap$(core.String, core.String)) + })); + _debugger.FunctionFormatter = class FunctionFormatter extends core.Object { + accept(object, config) { + if (_debugger._typeof(object) !== "function") return false; + return dart.getReifiedType(object) != null; + } + hasChildren(object) { + return true; + } + preview(object) { + try { + return dart.typeName(dart.getReifiedType(object)); + } catch (e$) { + let e = dart.getThrown(e$); + if (core.Object.is(e)) { + return _debugger.safePreview(object, _debugger.JsonMLConfig.none); + } else + throw e$; + } + } + children(object) { + return T$.JSArrayOfNameValuePair().of([new _debugger.NameValuePair.new({name: "signature", value: this.preview(object)}), new _debugger.NameValuePair.new({name: "JavaScript Function", value: object, config: _debugger.JsonMLConfig.skipDart})]); + } + }; + (_debugger.FunctionFormatter.new = function() { + ; + }).prototype = _debugger.FunctionFormatter.prototype; + dart.addTypeTests(_debugger.FunctionFormatter); + dart.addTypeCaches(_debugger.FunctionFormatter); + _debugger.FunctionFormatter[dart.implements] = () => [_debugger.Formatter]; + dart.setMethodSignature(_debugger.FunctionFormatter, () => ({ + __proto__: dart.getMethods(_debugger.FunctionFormatter.__proto__), + accept: dart.fnType(core.bool, [dart.dynamic, dart.dynamic]), + hasChildren: dart.fnType(core.bool, [dart.dynamic]), + preview: dart.fnType(core.String, [dart.dynamic]), + children: dart.fnType(core.List$(_debugger.NameValuePair), [dart.dynamic]) + })); + dart.setLibraryUri(_debugger.FunctionFormatter, I[12]); + _debugger.MapOverviewFormatter = class MapOverviewFormatter extends core.Object { + accept(object, config) { + return core.Map.is(object); + } + hasChildren(object) { + return true; + } + preview(object) { + let map = core.Map.as(object); + try { + return dart.str(_debugger.getObjectTypeName(map)); + } catch (e$) { + let e = dart.getThrown(e$); + if (core.Object.is(e)) { + return _debugger.safePreview(object, _debugger.JsonMLConfig.none); + } else + throw e$; + } + } + children(object) { + return T$.JSArrayOfNameValuePair().of([new _debugger.NameValuePair.new({name: "[[instance view]]", value: object, config: _debugger.JsonMLConfig.asObject}), new _debugger.NameValuePair.new({name: "[[entries]]", value: object, config: _debugger.JsonMLConfig.asMap})]); + } + }; + (_debugger.MapOverviewFormatter.new = function() { + ; + }).prototype = _debugger.MapOverviewFormatter.prototype; + dart.addTypeTests(_debugger.MapOverviewFormatter); + dart.addTypeCaches(_debugger.MapOverviewFormatter); + _debugger.MapOverviewFormatter[dart.implements] = () => [_debugger.Formatter]; + dart.setMethodSignature(_debugger.MapOverviewFormatter, () => ({ + __proto__: dart.getMethods(_debugger.MapOverviewFormatter.__proto__), + accept: dart.fnType(core.bool, [dart.dynamic, dart.dynamic]), + hasChildren: dart.fnType(core.bool, [dart.dynamic]), + preview: dart.fnType(core.String, [dart.dynamic]), + children: dart.fnType(core.List$(_debugger.NameValuePair), [dart.dynamic]) + })); + dart.setLibraryUri(_debugger.MapOverviewFormatter, I[12]); + _debugger.MapFormatter = class MapFormatter extends core.Object { + accept(object, config) { + return _js_helper.InternalMap.is(object) || dart.equals(config, _debugger.JsonMLConfig.asMap); + } + hasChildren(object) { + return true; + } + preview(object) { + let map = core.Map.as(object); + try { + return dart.str(_debugger.getObjectTypeName(map)) + " length " + dart.str(map[$length]); + } catch (e$) { + let e = dart.getThrown(e$); + if (core.Object.is(e)) { + return _debugger.safePreview(object, _debugger.JsonMLConfig.none); + } else + throw e$; + } + } + children(object) { + let map = core.Map.as(object); + let entries = new (T$._HashSetOfNameValuePair()).new(); + map[$forEach](dart.fn((key, value) => { + let entryWrapper = new _debugger.MapEntry.new({key: key, value: value}); + entries.add(new _debugger.NameValuePair.new({name: dart.toString(entries[$length]), value: entryWrapper})); + }, T$.dynamicAnddynamicTovoid())); + _debugger.addMetadataChildren(object, entries); + return entries[$toList](); + } + }; + (_debugger.MapFormatter.new = function() { + ; + }).prototype = _debugger.MapFormatter.prototype; + dart.addTypeTests(_debugger.MapFormatter); + dart.addTypeCaches(_debugger.MapFormatter); + _debugger.MapFormatter[dart.implements] = () => [_debugger.Formatter]; + dart.setMethodSignature(_debugger.MapFormatter, () => ({ + __proto__: dart.getMethods(_debugger.MapFormatter.__proto__), + accept: dart.fnType(core.bool, [dart.dynamic, dart.dynamic]), + hasChildren: dart.fnType(core.bool, [dart.dynamic]), + preview: dart.fnType(core.String, [dart.dynamic]), + children: dart.fnType(core.List$(_debugger.NameValuePair), [dart.dynamic]) + })); + dart.setLibraryUri(_debugger.MapFormatter, I[12]); + _debugger.IterableFormatter = class IterableFormatter extends core.Object { + accept(object, config) { + return core.Iterable.is(object); + } + preview(object) { + let iterable = core.Iterable.as(object); + try { + let length = iterable[$length]; + return dart.str(_debugger.getObjectTypeName(iterable)) + " length " + dart.str(length); + } catch (e) { + let _ = dart.getThrown(e); + if (core.Object.is(_)) { + return dart.str(_debugger.getObjectTypeName(iterable)); + } else + throw e; + } + } + hasChildren(object) { + return true; + } + children(object) { + let children = new (T$._HashSetOfNameValuePair()).new(); + children.addAll(new _debugger.IterableSpan.new(0, core.int.as(dart.dload(object, 'length')), core.Iterable.as(object)).children()); + _debugger.addMetadataChildren(object, children); + return children[$toList](); + } + }; + (_debugger.IterableFormatter.new = function() { + ; + }).prototype = _debugger.IterableFormatter.prototype; + dart.addTypeTests(_debugger.IterableFormatter); + dart.addTypeCaches(_debugger.IterableFormatter); + _debugger.IterableFormatter[dart.implements] = () => [_debugger.Formatter]; + dart.setMethodSignature(_debugger.IterableFormatter, () => ({ + __proto__: dart.getMethods(_debugger.IterableFormatter.__proto__), + accept: dart.fnType(core.bool, [dart.dynamic, dart.dynamic]), + preview: dart.fnType(core.String, [dart.dynamic]), + hasChildren: dart.fnType(core.bool, [dart.dynamic]), + children: dart.fnType(core.List$(_debugger.NameValuePair), [dart.dynamic]) + })); + dart.setLibraryUri(_debugger.IterableFormatter, I[12]); + _debugger.NamedConstructorFormatter = class NamedConstructorFormatter extends core.Object { + accept(object, config) { + return _debugger.NamedConstructor.is(object); + } + preview(object) { + return "Named Constructor"; + } + hasChildren(object) { + return true; + } + children(object) { + return T$.JSArrayOfNameValuePair().of([new _debugger.NameValuePair.new({name: "JavaScript Function", value: object, config: _debugger.JsonMLConfig.skipDart})]); + } + }; + (_debugger.NamedConstructorFormatter.new = function() { + ; + }).prototype = _debugger.NamedConstructorFormatter.prototype; + dart.addTypeTests(_debugger.NamedConstructorFormatter); + dart.addTypeCaches(_debugger.NamedConstructorFormatter); + _debugger.NamedConstructorFormatter[dart.implements] = () => [_debugger.Formatter]; + dart.setMethodSignature(_debugger.NamedConstructorFormatter, () => ({ + __proto__: dart.getMethods(_debugger.NamedConstructorFormatter.__proto__), + accept: dart.fnType(core.bool, [dart.dynamic, dart.dynamic]), + preview: dart.fnType(core.String, [dart.dynamic]), + hasChildren: dart.fnType(core.bool, [dart.dynamic]), + children: dart.fnType(core.List$(_debugger.NameValuePair), [dart.dynamic]) + })); + dart.setLibraryUri(_debugger.NamedConstructorFormatter, I[12]); + _debugger.MapEntryFormatter = class MapEntryFormatter extends core.Object { + accept(object, config) { + return _debugger.MapEntry.is(object); + } + preview(object) { + let entry = _debugger.MapEntry.as(object); + return dart.str(_debugger.safePreview(entry.key, _debugger.JsonMLConfig.none)) + " => " + dart.str(_debugger.safePreview(entry.value, _debugger.JsonMLConfig.none)); + } + hasChildren(object) { + return true; + } + children(object) { + return T$.JSArrayOfNameValuePair().of([new _debugger.NameValuePair.new({name: "key", value: dart.dload(object, 'key'), config: _debugger.JsonMLConfig.keyToString}), new _debugger.NameValuePair.new({name: "value", value: dart.dload(object, 'value')})]); + } + }; + (_debugger.MapEntryFormatter.new = function() { + ; + }).prototype = _debugger.MapEntryFormatter.prototype; + dart.addTypeTests(_debugger.MapEntryFormatter); + dart.addTypeCaches(_debugger.MapEntryFormatter); + _debugger.MapEntryFormatter[dart.implements] = () => [_debugger.Formatter]; + dart.setMethodSignature(_debugger.MapEntryFormatter, () => ({ + __proto__: dart.getMethods(_debugger.MapEntryFormatter.__proto__), + accept: dart.fnType(core.bool, [dart.dynamic, dart.dynamic]), + preview: dart.fnType(core.String, [dart.dynamic]), + hasChildren: dart.fnType(core.bool, [dart.dynamic]), + children: dart.fnType(core.List$(_debugger.NameValuePair), [dart.dynamic]) + })); + dart.setLibraryUri(_debugger.MapEntryFormatter, I[12]); + _debugger.HeritageClauseFormatter = class HeritageClauseFormatter extends core.Object { + accept(object, config) { + return _debugger.HeritageClause.is(object); + } + preview(object) { + let clause = _debugger.HeritageClause.as(object); + let typeNames = clause.types[$map](core.String, C[7] || CT.C7); + return dart.str(clause.name) + " " + dart.str(typeNames[$join](", ")); + } + hasChildren(object) { + return true; + } + children(object) { + let clause = _debugger.HeritageClause.as(object); + let children = T$.JSArrayOfNameValuePair().of([]); + for (let type of clause.types) { + children[$add](new _debugger.NameValuePair.new({value: type, config: _debugger.JsonMLConfig.asClass})); + } + return children; + } + }; + (_debugger.HeritageClauseFormatter.new = function() { + ; + }).prototype = _debugger.HeritageClauseFormatter.prototype; + dart.addTypeTests(_debugger.HeritageClauseFormatter); + dart.addTypeCaches(_debugger.HeritageClauseFormatter); + _debugger.HeritageClauseFormatter[dart.implements] = () => [_debugger.Formatter]; + dart.setMethodSignature(_debugger.HeritageClauseFormatter, () => ({ + __proto__: dart.getMethods(_debugger.HeritageClauseFormatter.__proto__), + accept: dart.fnType(core.bool, [dart.dynamic, dart.dynamic]), + preview: dart.fnType(core.String, [dart.dynamic]), + hasChildren: dart.fnType(core.bool, [dart.dynamic]), + children: dart.fnType(core.List$(_debugger.NameValuePair), [dart.dynamic]) + })); + dart.setLibraryUri(_debugger.HeritageClauseFormatter, I[12]); + _debugger.IterableSpanFormatter = class IterableSpanFormatter extends core.Object { + accept(object, config) { + return _debugger.IterableSpan.is(object); + } + preview(object) { + return "[" + dart.str(dart.dload(object, 'start')) + "..." + dart.str(dart.dsend(dart.dload(object, 'end'), '-', [1])) + "]"; + } + hasChildren(object) { + return true; + } + children(object) { + return T$.ListOfNameValuePair().as(dart.dsend(object, 'children', [])); + } + }; + (_debugger.IterableSpanFormatter.new = function() { + ; + }).prototype = _debugger.IterableSpanFormatter.prototype; + dart.addTypeTests(_debugger.IterableSpanFormatter); + dart.addTypeCaches(_debugger.IterableSpanFormatter); + _debugger.IterableSpanFormatter[dart.implements] = () => [_debugger.Formatter]; + dart.setMethodSignature(_debugger.IterableSpanFormatter, () => ({ + __proto__: dart.getMethods(_debugger.IterableSpanFormatter.__proto__), + accept: dart.fnType(core.bool, [dart.dynamic, dart.dynamic]), + preview: dart.fnType(core.String, [dart.dynamic]), + hasChildren: dart.fnType(core.bool, [dart.dynamic]), + children: dart.fnType(core.List$(_debugger.NameValuePair), [dart.dynamic]) + })); + dart.setLibraryUri(_debugger.IterableSpanFormatter, I[12]); + _debugger.ErrorAndExceptionFormatter = class ErrorAndExceptionFormatter extends _debugger.ObjectFormatter { + accept(object, config) { + return core.Error.is(object) || core.Exception.is(object); + } + hasChildren(object) { + return true; + } + preview(object) { + let trace = dart.stackTrace(object); + let line = dart.str(trace)[$split]("\n")[$firstWhere](dart.fn(l => { + if (l == null) dart.nullFailed(I[11], 862, 10, "l"); + return l[$contains](_debugger.ErrorAndExceptionFormatter._pattern) && !l[$contains]("dart:sdk") && !l[$contains]("dart_sdk"); + }, T$.StringTobool()), {orElse: dart.fn(() => "", T$.VoidToString())}); + return line !== "" ? dart.str(object) + " at " + dart.str(line) : dart.str(object); + } + children(object) { + let trace = dart.stackTrace(object); + let entries = new (T$._HashSetOfNameValuePair()).new(); + entries.add(new _debugger.NameValuePair.new({name: "stackTrace", value: trace})); + this.addInstanceMembers(object, entries); + _debugger.addMetadataChildren(object, entries); + return entries[$toList](); + } + addInstanceMembers(object, ret) { + if (ret == null) dart.nullFailed(I[11], 880, 54, "ret"); + ret.add(new _debugger.NameValuePair.new({name: "[[instance members]]", value: object, config: _debugger.JsonMLConfig.asObject})); + } + }; + (_debugger.ErrorAndExceptionFormatter.new = function() { + ; + }).prototype = _debugger.ErrorAndExceptionFormatter.prototype; + dart.addTypeTests(_debugger.ErrorAndExceptionFormatter); + dart.addTypeCaches(_debugger.ErrorAndExceptionFormatter); + dart.setMethodSignature(_debugger.ErrorAndExceptionFormatter, () => ({ + __proto__: dart.getMethods(_debugger.ErrorAndExceptionFormatter.__proto__), + children: dart.fnType(core.List$(_debugger.NameValuePair), [dart.dynamic]), + addInstanceMembers: dart.fnType(dart.void, [dart.dynamic, core.Set$(_debugger.NameValuePair)]) + })); + dart.setLibraryUri(_debugger.ErrorAndExceptionFormatter, I[12]); + dart.defineLazy(_debugger.ErrorAndExceptionFormatter, { + /*_debugger.ErrorAndExceptionFormatter._pattern*/get _pattern() { + return core.RegExp.new("\\d+\\:\\d+"); + } + }, false); + _debugger.StackTraceFormatter = class StackTraceFormatter extends core.Object { + accept(object, config) { + return core.StackTrace.is(object); + } + preview(object) { + return "StackTrace"; + } + hasChildren(object) { + return true; + } + children(object) { + return dart.toString(object)[$split]("\n")[$map](_debugger.NameValuePair, dart.fn(line => { + if (line == null) dart.nullFailed(I[11], 901, 13, "line"); + return new _debugger.NameValuePair.new({value: line[$replaceFirst](core.RegExp.new("^\\s+at\\s"), ""), hideName: true}); + }, T$.StringToNameValuePair()))[$toList](); + } + }; + (_debugger.StackTraceFormatter.new = function() { + ; + }).prototype = _debugger.StackTraceFormatter.prototype; + dart.addTypeTests(_debugger.StackTraceFormatter); + dart.addTypeCaches(_debugger.StackTraceFormatter); + _debugger.StackTraceFormatter[dart.implements] = () => [_debugger.Formatter]; + dart.setMethodSignature(_debugger.StackTraceFormatter, () => ({ + __proto__: dart.getMethods(_debugger.StackTraceFormatter.__proto__), + accept: dart.fnType(core.bool, [dart.dynamic, dart.dynamic]), + preview: dart.fnType(core.String, [dart.dynamic]), + hasChildren: dart.fnType(core.bool, [dart.dynamic]), + children: dart.fnType(core.List$(_debugger.NameValuePair), [dart.dynamic]) + })); + dart.setLibraryUri(_debugger.StackTraceFormatter, I[12]); + _debugger.ClassFormatter = class ClassFormatter extends core.Object { + accept(object, config) { + return dart.equals(config, _debugger.JsonMLConfig.asClass); + } + preview(type) { + let $implements = dart.getImplements(type); + let typeName = _debugger.getTypeName(type); + if ($implements != null) { + let typeNames = $implements()[$map](core.String, C[7] || CT.C7); + return dart.str(typeName) + " implements " + dart.str(typeNames[$join](", ")); + } else { + return typeName; + } + } + hasChildren(object) { + return true; + } + children(type) { + let t17, t17$; + let ret = new (T$._HashSetOfNameValuePair()).new(); + let staticProperties = new (T$._HashSetOfNameValuePair()).new(); + let staticMethods = new (T$._HashSetOfNameValuePair()).new(); + _debugger.addPropertiesFromSignature(dart.getStaticFields(type), staticProperties, type, false); + _debugger.addPropertiesFromSignature(dart.getStaticGetters(type), staticProperties, type, false); + _debugger.addPropertiesFromSignature(dart.getStaticMethods(type), staticMethods, type, false); + if (dart.test(staticProperties[$isNotEmpty]) || dart.test(staticMethods[$isNotEmpty])) { + t17 = ret; + (() => { + t17.add(new _debugger.NameValuePair.new({value: "[[Static members]]", hideName: true})); + t17.addAll(_debugger.sortProperties(staticProperties)); + t17.addAll(_debugger.sortProperties(staticMethods)); + return t17; + })(); + } + let instanceMethods = new (T$._HashSetOfNameValuePair()).new(); + _debugger.addPropertiesFromSignature(dart.getMethods(type), instanceMethods, type.prototype, false, {tagTypes: true}); + if (dart.test(instanceMethods[$isNotEmpty])) { + t17$ = ret; + (() => { + t17$.add(new _debugger.NameValuePair.new({value: "[[Instance Methods]]", hideName: true})); + t17$.addAll(_debugger.sortProperties(instanceMethods)); + return t17$; + })(); + } + let mixin = dart.getMixin(type); + if (mixin != null) { + ret.add(new _debugger.NameValuePair.new({name: "[[Mixins]]", value: new _debugger.HeritageClause.new("mixins", [mixin])})); + } + let baseProto = type.__proto__; + if (baseProto != null && !dart.test(dart.isJsInterop(baseProto))) { + ret.add(new _debugger.NameValuePair.new({name: "[[base class]]", value: baseProto, config: _debugger.JsonMLConfig.asClass})); + } + return ret[$toList](); + } + }; + (_debugger.ClassFormatter.new = function() { + ; + }).prototype = _debugger.ClassFormatter.prototype; + dart.addTypeTests(_debugger.ClassFormatter); + dart.addTypeCaches(_debugger.ClassFormatter); + _debugger.ClassFormatter[dart.implements] = () => [_debugger.Formatter]; + dart.setMethodSignature(_debugger.ClassFormatter, () => ({ + __proto__: dart.getMethods(_debugger.ClassFormatter.__proto__), + accept: dart.fnType(core.bool, [dart.dynamic, dart.dynamic]), + preview: dart.fnType(core.String, [dart.dynamic]), + hasChildren: dart.fnType(core.bool, [dart.dynamic]), + children: dart.fnType(core.List$(_debugger.NameValuePair), [dart.dynamic]) + })); + dart.setLibraryUri(_debugger.ClassFormatter, I[12]); + _debugger.TypeFormatter = class TypeFormatter extends core.Object { + accept(object, config) { + return core.Type.is(object); + } + preview(object) { + return dart.toString(object); + } + hasChildren(object) { + return false; + } + children(object) { + return T$.JSArrayOfNameValuePair().of([]); + } + }; + (_debugger.TypeFormatter.new = function() { + ; + }).prototype = _debugger.TypeFormatter.prototype; + dart.addTypeTests(_debugger.TypeFormatter); + dart.addTypeCaches(_debugger.TypeFormatter); + _debugger.TypeFormatter[dart.implements] = () => [_debugger.Formatter]; + dart.setMethodSignature(_debugger.TypeFormatter, () => ({ + __proto__: dart.getMethods(_debugger.TypeFormatter.__proto__), + accept: dart.fnType(core.bool, [dart.dynamic, dart.dynamic]), + preview: dart.fnType(core.String, [dart.dynamic]), + hasChildren: dart.fnType(core.bool, [dart.dynamic]), + children: dart.fnType(core.List$(_debugger.NameValuePair), [dart.dynamic]) + })); + dart.setLibraryUri(_debugger.TypeFormatter, I[12]); + _debugger._MethodStats = class _MethodStats extends core.Object {}; + (_debugger._MethodStats.new = function(typeName, frame) { + if (typeName == null) dart.nullFailed(I[13], 13, 21, "typeName"); + if (frame == null) dart.nullFailed(I[13], 13, 36, "frame"); + this.count = 0.0; + this.typeName = typeName; + this.frame = frame; + ; + }).prototype = _debugger._MethodStats.prototype; + dart.addTypeTests(_debugger._MethodStats); + dart.addTypeCaches(_debugger._MethodStats); + dart.setLibraryUri(_debugger._MethodStats, I[12]); + dart.setFieldSignature(_debugger._MethodStats, () => ({ + __proto__: dart.getFields(_debugger._MethodStats.__proto__), + typeName: dart.finalFieldType(core.String), + frame: dart.finalFieldType(core.String), + count: dart.fieldType(core.double) + })); + _debugger._CallMethodRecord = class _CallMethodRecord extends core.Object {}; + (_debugger._CallMethodRecord.new = function(jsError, type) { + this.jsError = jsError; + this.type = type; + ; + }).prototype = _debugger._CallMethodRecord.prototype; + dart.addTypeTests(_debugger._CallMethodRecord); + dart.addTypeCaches(_debugger._CallMethodRecord); + dart.setLibraryUri(_debugger._CallMethodRecord, I[12]); + dart.setFieldSignature(_debugger._CallMethodRecord, () => ({ + __proto__: dart.getFields(_debugger._CallMethodRecord.__proto__), + jsError: dart.fieldType(dart.dynamic), + type: dart.fieldType(dart.dynamic) + })); + _debugger._typeof = function _typeof(object) { + return typeof object; + }; + _debugger.getOwnPropertyNames = function getOwnPropertyNames(object) { + return T$.JSArrayOfString().of(dart.getOwnPropertyNames(object)); + }; + _debugger.getOwnPropertySymbols = function getOwnPropertySymbols(object) { + return Object.getOwnPropertySymbols(object); + }; + _debugger.addMetadataChildren = function addMetadataChildren(object, ret) { + if (ret == null) dart.nullFailed(I[11], 63, 53, "ret"); + ret.add(new _debugger.NameValuePair.new({name: "[[class]]", value: dart.getReifiedType(object), config: _debugger.JsonMLConfig.asClass})); + }; + _debugger.addPropertiesFromSignature = function addPropertiesFromSignature(sig, properties, object, walkPrototypeChain, opts) { + let t17; + if (properties == null) dart.nullFailed(I[11], 75, 29, "properties"); + if (walkPrototypeChain == null) dart.nullFailed(I[11], 75, 54, "walkPrototypeChain"); + let tagTypes = opts && 'tagTypes' in opts ? opts.tagTypes : false; + let skippedNames = (t17 = new collection._HashSet.new(), (() => { + t17.add("hashCode"); + return t17; + })()); + let objectPrototype = Object.prototype; + while (sig != null && !core.identical(sig, objectPrototype)) { + for (let symbol of _debugger.getOwnPropertySymbols(sig)) { + let dartName = _debugger.symbolName(symbol); + let dartXPrefix = "dartx."; + if (dartName[$startsWith](dartXPrefix)) { + dartName = dartName[$substring](dartXPrefix.length); + } + if (dart.test(skippedNames.contains(dartName))) continue; + let value = _debugger.safeGetProperty(core.Object.as(object), core.Object.as(symbol)); + if (dart.dtest(tagTypes) && _debugger._typeof(value) === "function") { + dart.fn(value, sig[symbol]); + } + properties.add(new _debugger.NameValuePair.new({name: dartName, value: value})); + } + for (let name of _debugger.getOwnPropertyNames(sig)) { + let value = _debugger.safeGetProperty(core.Object.as(object), name); + if (dart.test(skippedNames.contains(name))) continue; + if (dart.dtest(tagTypes) && _debugger._typeof(value) === "function") { + dart.fn(value, sig[name]); + } + properties.add(new _debugger.NameValuePair.new({name: name, value: value})); + } + if (!dart.test(walkPrototypeChain)) break; + sig = dart.getPrototypeOf(sig); + } + }; + _debugger.sortProperties = function sortProperties(properties) { + if (properties == null) dart.nullFailed(I[11], 115, 60, "properties"); + let sortedProperties = properties[$toList](); + sortedProperties[$sort](dart.fn((a, b) => { + if (a == null) dart.nullFailed(I[11], 118, 26, "a"); + if (b == null) dart.nullFailed(I[11], 118, 29, "b"); + let aPrivate = a.name[$startsWith]("_"); + let bPrivate = b.name[$startsWith]("_"); + if (aPrivate !== bPrivate) return aPrivate ? 1 : -1; + return a.name[$compareTo](b.name); + }, T$.NameValuePairAndNameValuePairToint())); + return sortedProperties; + }; + _debugger.getObjectTypeName = function getObjectTypeName(object) { + let reifiedType = dart.getReifiedType(object); + if (reifiedType == null) { + if (_debugger._typeof(object) === "function") { + return "[[Raw JavaScript Function]]"; + } + return ""; + } + return _debugger.getTypeName(reifiedType); + }; + _debugger.getTypeName = function getTypeName(type) { + return dart.typeName(type); + }; + _debugger.safePreview = function safePreview(object, config) { + try { + let preview = _debugger._devtoolsFormatter[_simpleFormatter$].preview(object, config); + if (preview != null) return preview; + return dart.toString(object); + } catch (e$) { + let e = dart.getThrown(e$); + if (core.Object.is(e)) { + return " " + dart.str(e); + } else + throw e$; + } + }; + _debugger.symbolName = function symbolName(symbol) { + let name = dart.toString(symbol); + if (!name[$startsWith]("Symbol(")) dart.assertFailed(null, I[11], 157, 10, "name.startsWith('Symbol(')"); + return name[$substring]("Symbol(".length, name.length - 1); + }; + _debugger.hasMethod = function hasMethod$(object, name) { + if (name == null) dart.nullFailed(I[11], 161, 31, "name"); + try { + return dart.hasMethod(object, name); + } catch (e$) { + let e = dart.getThrown(e$); + if (core.Object.is(e)) { + return false; + } else + throw e$; + } + }; + _debugger.safeGetProperty = function safeGetProperty(protoChain, name) { + if (protoChain == null) dart.nullFailed(I[11], 267, 32, "protoChain"); + if (name == null) dart.nullFailed(I[11], 267, 51, "name"); + try { + return _debugger.JSNative.getProperty(protoChain, name); + } catch (e$) { + let e = dart.getThrown(e$); + if (core.Object.is(e)) { + return " " + dart.str(e); + } else + throw e$; + } + }; + _debugger.safeProperties = function safeProperties(object) { + return T$.LinkedHashMapOfdynamic$ObjectN().fromIterable(_debugger.getOwnPropertyNames(object)[$where](dart.fn(each => { + if (each == null) dart.nullFailed(I[11], 277, 17, "each"); + return _debugger.safeGetProperty(core.Object.as(object), each) != null; + }, T$.StringTobool())), {key: dart.fn(name => name, T$.dynamicTodynamic()), value: dart.fn(name => _debugger.safeGetProperty(core.Object.as(object), core.Object.as(name)), T$.dynamicToObjectN())}); + }; + _debugger.isNativeJavaScriptObject = function isNativeJavaScriptObject(object) { + let type = _debugger._typeof(object); + if (type !== "object" && type !== "function") return true; + if (dart.test(dart.isJsInterop(object)) && dart.getModuleName(core.Object.as(object)) == null) { + return true; + } + return object instanceof Node; + }; + _debugger.registerDevtoolsFormatter = function registerDevtoolsFormatter() { + dart.global.devtoolsFormatters = [_debugger._devtoolsFormatter]; + }; + _debugger.getModuleNames = function getModuleNames$() { + return dart.getModuleNames(); + }; + _debugger.getModuleLibraries = function getModuleLibraries$(name) { + if (name == null) dart.nullFailed(I[11], 1015, 27, "name"); + return dart.getModuleLibraries(name); + }; + _debugger.getDynamicStats = function getDynamicStats() { + let t20; + let callMethodStats = new (T$.IdentityMapOfString$_MethodStats()).new(); + if (dart.notNull(_debugger._callMethodRecords[$length]) > 0) { + let recordRatio = dart.notNull(_debugger._totalCallRecords) / dart.notNull(_debugger._callMethodRecords[$length]); + for (let record of _debugger._callMethodRecords) { + let stackStr = record.jsError.stack; + let frames = stackStr[$split]("\n"); + let src = frames[$skip](2)[$map](core.String, dart.fn(f => { + if (f == null) dart.nullFailed(I[13], 66, 17, "f"); + return _debugger._frameMappingCache[$putIfAbsent](f, dart.fn(() => dart.nullCheck(_debugger.stackTraceMapper)("\n" + dart.str(f)), T$.VoidToString())); + }, T$.StringToString()))[$firstWhere](dart.fn(f => { + if (f == null) dart.nullFailed(I[13], 68, 24, "f"); + return !f[$startsWith]("dart:"); + }, T$.StringTobool()), {orElse: dart.fn(() => "", T$.VoidToString())}); + let actualTypeName = dart.typeName(record.type); + t20 = callMethodStats[$putIfAbsent](actualTypeName + " <" + dart.str(src) + ">", dart.fn(() => new _debugger._MethodStats.new(actualTypeName, src), T$.VoidTo_MethodStats())); + t20.count = dart.notNull(t20.count) + recordRatio; + } + if (_debugger._totalCallRecords != _debugger._callMethodRecords[$length]) { + for (let k of callMethodStats[$keys][$toList]()) { + let stats = dart.nullCheck(callMethodStats[$_get](k)); + let threshold = dart.notNull(_debugger._minCount) * recordRatio; + if (dart.notNull(stats.count) + 0.001 < threshold) { + callMethodStats[$remove](k); + } + } + } + } + _debugger._callMethodRecords[$clear](); + _debugger._totalCallRecords = 0; + let keys = callMethodStats[$keys][$toList](); + keys[$sort](dart.fn((a, b) => { + if (a == null) dart.nullFailed(I[13], 94, 8, "a"); + if (b == null) dart.nullFailed(I[13], 94, 11, "b"); + return dart.nullCheck(callMethodStats[$_get](b)).count[$compareTo](dart.nullCheck(callMethodStats[$_get](a)).count); + }, T$.StringAndStringToint())); + let ret = T$.JSArrayOfListOfObject().of([]); + for (let key of keys) { + let stats = dart.nullCheck(callMethodStats[$_get](key)); + ret[$add](T$.JSArrayOfObject().of([stats.typeName, stats.frame, stats.count[$round]()])); + } + return ret; + }; + _debugger.clearDynamicStats = function clearDynamicStats() { + _debugger._callMethodRecords[$clear](); + }; + _debugger.trackCall = function trackCall(obj) { + if (!_debugger._trackProfile) return; + let index = -1; + _debugger._totalCallRecords = dart.notNull(_debugger._totalCallRecords) + 1; + if (_debugger._callMethodRecords[$length] == _debugger._callRecordSampleSize) { + index = Math.floor(Math.random() * _debugger._totalCallRecords); + if (index >= dart.notNull(_debugger._callMethodRecords[$length])) return; + } + let record = new _debugger._CallMethodRecord.new(new Error(), dart.getReifiedType(obj)); + if (index === -1) { + _debugger._callMethodRecords[$add](record); + } else { + _debugger._callMethodRecords[$_set](index, record); + } + }; + dart.copyProperties(_debugger, { + get stackTraceMapper() { + let _util = dart.global.$dartStackTraceUtility; + return _util != null ? _util.mapper : null; + }, + get _trackProfile() { + return dart.__trackProfile; + } + }); + dart.defineLazy(_debugger, { + /*_debugger._maxSpanLength*/get _maxSpanLength() { + return 100; + }, + set _maxSpanLength(_) {}, + /*_debugger._devtoolsFormatter*/get _devtoolsFormatter() { + return new _debugger.JsonMLFormatter.new(new _debugger.DartFormatter.new()); + }, + set _devtoolsFormatter(_) {}, + /*_debugger.maxFormatterStringLength*/get maxFormatterStringLength() { + return 100; + }, + set maxFormatterStringLength(_) {}, + /*_debugger._callRecordSampleSize*/get _callRecordSampleSize() { + return 5000; + }, + set _callRecordSampleSize(_) {}, + /*_debugger._callMethodRecords*/get _callMethodRecords() { + return T$.JSArrayOf_CallMethodRecord().of([]); + }, + set _callMethodRecords(_) {}, + /*_debugger._totalCallRecords*/get _totalCallRecords() { + return 0; + }, + set _totalCallRecords(_) {}, + /*_debugger._minCount*/get _minCount() { + return 2; + }, + set _minCount(_) {}, + /*_debugger._frameMappingCache*/get _frameMappingCache() { + return new (T$.IdentityMapOfString$String()).new(); + }, + set _frameMappingCache(_) {} + }, false); + var name$4 = dart.privateName(_foreign_helper, "JSExportName.name"); + _foreign_helper.JSExportName = class JSExportName extends core.Object { + get name() { + return this[name$4]; + } + set name(value) { + super.name = value; + } + }; + (_foreign_helper.JSExportName.new = function(name) { + if (name == null) dart.nullFailed(I[14], 139, 27, "name"); + this[name$4] = name; + ; + }).prototype = _foreign_helper.JSExportName.prototype; + dart.addTypeTests(_foreign_helper.JSExportName); + dart.addTypeCaches(_foreign_helper.JSExportName); + dart.setLibraryUri(_foreign_helper.JSExportName, I[15]); + dart.setFieldSignature(_foreign_helper.JSExportName, () => ({ + __proto__: dart.getFields(_foreign_helper.JSExportName.__proto__), + name: dart.finalFieldType(core.String) + })); + var code$ = dart.privateName(_foreign_helper, "JS_CONST.code"); + _foreign_helper.JS_CONST = class JS_CONST extends core.Object { + get code() { + return this[code$]; + } + set code(value) { + super.code = value; + } + }; + (_foreign_helper.JS_CONST.new = function(code) { + if (code == null) dart.nullFailed(I[14], 259, 23, "code"); + this[code$] = code; + ; + }).prototype = _foreign_helper.JS_CONST.prototype; + dart.addTypeTests(_foreign_helper.JS_CONST); + dart.addTypeCaches(_foreign_helper.JS_CONST); + dart.setLibraryUri(_foreign_helper.JS_CONST, I[15]); + dart.setFieldSignature(_foreign_helper.JS_CONST, () => ({ + __proto__: dart.getFields(_foreign_helper.JS_CONST.__proto__), + code: dart.finalFieldType(core.String) + })); + _foreign_helper._Rest = class _Rest extends core.Object {}; + (_foreign_helper._Rest.new = function() { + ; + }).prototype = _foreign_helper._Rest.prototype; + dart.addTypeTests(_foreign_helper._Rest); + dart.addTypeCaches(_foreign_helper._Rest); + dart.setLibraryUri(_foreign_helper._Rest, I[15]); + _foreign_helper.JS_DART_OBJECT_CONSTRUCTOR = function JS_DART_OBJECT_CONSTRUCTOR() { + }; + _foreign_helper.JS_INTERCEPTOR_CONSTANT = function JS_INTERCEPTOR_CONSTANT(type) { + if (type == null) dart.nullFailed(I[14], 157, 30, "type"); + }; + _foreign_helper.JS_EFFECT = function JS_EFFECT(code) { + if (code == null) dart.nullFailed(I[14], 244, 25, "code"); + dart.dcall(code, [null]); + }; + _foreign_helper.spread = function spread(args) { + dart.throw(new core.StateError.new("The spread function cannot be called, " + "it should be compiled away.")); + }; + dart.defineLazy(_foreign_helper, { + /*_foreign_helper.rest*/get rest() { + return C[8] || CT.C8; + } + }, false); + _interceptors.Interceptor = class Interceptor extends core.Object { + toString() { + return this.toString(); + } + }; + (_interceptors.Interceptor.new = function() { + ; + }).prototype = _interceptors.Interceptor.prototype; + dart.addTypeTests(_interceptors.Interceptor); + dart.addTypeCaches(_interceptors.Interceptor); + dart.setLibraryUri(_interceptors.Interceptor, I[16]); + dart.defineExtensionMethods(_interceptors.Interceptor, ['toString']); + _interceptors.JSBool = class JSBool extends _interceptors.Interceptor { + [$toString]() { + return String(this); + } + get [$hashCode]() { + return this ? 2 * 3 * 23 * 3761 : 269 * 811; + } + [$bitAnd](other) { + if (other == null) dart.argumentError(other); + return other && this; + } + [$bitOr](other) { + if (other == null) dart.argumentError(other); + return other || this; + } + [$bitXor](other) { + if (other == null) dart.argumentError(other); + return this !== other; + } + get [$runtimeType]() { + return dart.wrapType(core.bool); + } + }; + (_interceptors.JSBool.new = function() { + _interceptors.JSBool.__proto__.new.call(this); + ; + }).prototype = _interceptors.JSBool.prototype; + dart.addTypeTests(_interceptors.JSBool); + dart.addTypeCaches(_interceptors.JSBool); + _interceptors.JSBool[dart.implements] = () => [core.bool]; + dart.setMethodSignature(_interceptors.JSBool, () => ({ + __proto__: dart.getMethods(_interceptors.JSBool.__proto__), + [$bitAnd]: dart.fnType(core.bool, [core.bool]), + [$bitOr]: dart.fnType(core.bool, [core.bool]), + [$bitXor]: dart.fnType(core.bool, [core.bool]) + })); + dart.setLibraryUri(_interceptors.JSBool, I[16]); + dart.definePrimitiveHashCode(_interceptors.JSBool.prototype); + dart.registerExtension("Boolean", _interceptors.JSBool); + const _is_JSIndexable_default = Symbol('_is_JSIndexable_default'); + _interceptors.JSIndexable$ = dart.generic(E => { + class JSIndexable extends core.Object {} + (JSIndexable.new = function() { + ; + }).prototype = JSIndexable.prototype; + dart.addTypeTests(JSIndexable); + JSIndexable.prototype[_is_JSIndexable_default] = true; + dart.addTypeCaches(JSIndexable); + dart.setLibraryUri(JSIndexable, I[16]); + return JSIndexable; + }); + _interceptors.JSIndexable = _interceptors.JSIndexable$(); + dart.addTypeTests(_interceptors.JSIndexable, _is_JSIndexable_default); + const _is_JSMutableIndexable_default = Symbol('_is_JSMutableIndexable_default'); + _interceptors.JSMutableIndexable$ = dart.generic(E => { + class JSMutableIndexable extends _interceptors.JSIndexable$(E) {} + (JSMutableIndexable.new = function() { + ; + }).prototype = JSMutableIndexable.prototype; + dart.addTypeTests(JSMutableIndexable); + JSMutableIndexable.prototype[_is_JSMutableIndexable_default] = true; + dart.addTypeCaches(JSMutableIndexable); + dart.setLibraryUri(JSMutableIndexable, I[16]); + return JSMutableIndexable; + }); + _interceptors.JSMutableIndexable = _interceptors.JSMutableIndexable$(); + dart.addTypeTests(_interceptors.JSMutableIndexable, _is_JSMutableIndexable_default); + _interceptors.JSObject = class JSObject extends core.Object {}; + (_interceptors.JSObject.new = function() { + ; + }).prototype = _interceptors.JSObject.prototype; + dart.addTypeTests(_interceptors.JSObject); + dart.addTypeCaches(_interceptors.JSObject); + dart.setLibraryUri(_interceptors.JSObject, I[16]); + _interceptors.JavaScriptObject = class JavaScriptObject extends _interceptors.Interceptor { + get hashCode() { + return 0; + } + get runtimeType() { + return dart.wrapType(_interceptors.JSObject); + } + }; + (_interceptors.JavaScriptObject.new = function() { + _interceptors.JavaScriptObject.__proto__.new.call(this); + ; + }).prototype = _interceptors.JavaScriptObject.prototype; + dart.addTypeTests(_interceptors.JavaScriptObject); + dart.addTypeCaches(_interceptors.JavaScriptObject); + _interceptors.JavaScriptObject[dart.implements] = () => [_interceptors.JSObject]; + dart.setLibraryUri(_interceptors.JavaScriptObject, I[16]); + dart.defineExtensionAccessors(_interceptors.JavaScriptObject, ['hashCode', 'runtimeType']); + _interceptors.PlainJavaScriptObject = class PlainJavaScriptObject extends _interceptors.JavaScriptObject {}; + (_interceptors.PlainJavaScriptObject.new = function() { + _interceptors.PlainJavaScriptObject.__proto__.new.call(this); + ; + }).prototype = _interceptors.PlainJavaScriptObject.prototype; + dart.addTypeTests(_interceptors.PlainJavaScriptObject); + dart.addTypeCaches(_interceptors.PlainJavaScriptObject); + dart.setLibraryUri(_interceptors.PlainJavaScriptObject, I[16]); + _interceptors.UnknownJavaScriptObject = class UnknownJavaScriptObject extends _interceptors.JavaScriptObject { + toString() { + return String(this); + } + }; + (_interceptors.UnknownJavaScriptObject.new = function() { + _interceptors.UnknownJavaScriptObject.__proto__.new.call(this); + ; + }).prototype = _interceptors.UnknownJavaScriptObject.prototype; + dart.addTypeTests(_interceptors.UnknownJavaScriptObject); + dart.addTypeCaches(_interceptors.UnknownJavaScriptObject); + dart.setLibraryUri(_interceptors.UnknownJavaScriptObject, I[16]); + dart.defineExtensionMethods(_interceptors.UnknownJavaScriptObject, ['toString']); + _interceptors.NativeError = class NativeError extends _interceptors.Interceptor { + dartStack() { + return this.stack; + } + }; + (_interceptors.NativeError.new = function() { + _interceptors.NativeError.__proto__.new.call(this); + ; + }).prototype = _interceptors.NativeError.prototype; + dart.addTypeTests(_interceptors.NativeError); + dart.addTypeCaches(_interceptors.NativeError); + dart.setMethodSignature(_interceptors.NativeError, () => ({ + __proto__: dart.getMethods(_interceptors.NativeError.__proto__), + dartStack: dart.fnType(core.String, []), + [$dartStack]: dart.fnType(core.String, []) + })); + dart.setLibraryUri(_interceptors.NativeError, I[16]); + dart.defineExtensionMethods(_interceptors.NativeError, ['dartStack']); + var _fieldName = dart.privateName(_interceptors, "_fieldName"); + var _functionCallTarget = dart.privateName(_interceptors, "_functionCallTarget"); + var _receiver = dart.privateName(_interceptors, "_receiver"); + var _receiver$ = dart.privateName(core, "_receiver"); + var _arguments = dart.privateName(_interceptors, "_arguments"); + var _arguments$ = dart.privateName(core, "_arguments"); + var _memberName = dart.privateName(_interceptors, "_memberName"); + var _memberName$ = dart.privateName(core, "_memberName"); + var _invocation = dart.privateName(_interceptors, "_invocation"); + var _invocation$ = dart.privateName(core, "_invocation"); + var _namedArguments = dart.privateName(_interceptors, "_namedArguments"); + var _namedArguments$ = dart.privateName(core, "_namedArguments"); + _interceptors.JSNoSuchMethodError = class JSNoSuchMethodError extends _interceptors.NativeError { + [_fieldName](message) { + let t20; + if (message == null) dart.nullFailed(I[17], 131, 29, "message"); + let match = _interceptors.JSNoSuchMethodError._nullError.firstMatch(message); + if (match == null) return null; + let name = dart.nullCheck(match._get(1)); + match = (t20 = _interceptors.JSNoSuchMethodError._extensionName.firstMatch(name), t20 == null ? _interceptors.JSNoSuchMethodError._privateName.firstMatch(name) : t20); + return match != null ? match._get(1) : name; + } + [_functionCallTarget](message) { + if (message == null) dart.nullFailed(I[17], 139, 38, "message"); + let match = _interceptors.JSNoSuchMethodError._notAFunction.firstMatch(message); + return match != null ? match._get(1) : null; + } + [$dartStack]() { + let stack = super[$dartStack](); + stack = dart.notNull(this[$toString]()) + "\n" + dart.notNull(stack[$split]("\n")[$sublist](1)[$join]("\n")); + return stack; + } + get [$stackTrace]() { + return dart.stackTrace(this); + } + [$toString]() { + let message = this.message; + let callTarget = this[_functionCallTarget](message); + if (callTarget != null) { + return "NoSuchMethodError: tried to call a non-function, such as null: " + "'" + dart.str(callTarget) + "'"; + } + let name = this[_fieldName](message); + if (name == null) { + return this.toString(); + } + return "NoSuchMethodError: invalid member on null: '" + dart.str(name) + "'"; + } + get [_receiver$]() { + return this[$noSuchMethod](new core._Invocation.getter(C[9] || CT.C9)); + } + get [_arguments$]() { + return T$.ListN().as(this[$noSuchMethod](new core._Invocation.getter(C[10] || CT.C10))); + } + get [_memberName$]() { + return core.Symbol.as(this[$noSuchMethod](new core._Invocation.getter(C[11] || CT.C11))); + } + get [_invocation$]() { + return T$.InvocationN().as(this[$noSuchMethod](new core._Invocation.getter(C[12] || CT.C12))); + } + get [_namedArguments$]() { + return T$.MapNOfSymbol$dynamic().as(this[$noSuchMethod](new core._Invocation.getter(C[13] || CT.C13))); + } + }; + (_interceptors.JSNoSuchMethodError.new = function() { + _interceptors.JSNoSuchMethodError.__proto__.new.call(this); + ; + }).prototype = _interceptors.JSNoSuchMethodError.prototype; + dart.addTypeTests(_interceptors.JSNoSuchMethodError); + dart.addTypeCaches(_interceptors.JSNoSuchMethodError); + _interceptors.JSNoSuchMethodError[dart.implements] = () => [core.NoSuchMethodError]; + dart.setMethodSignature(_interceptors.JSNoSuchMethodError, () => ({ + __proto__: dart.getMethods(_interceptors.JSNoSuchMethodError.__proto__), + [_fieldName]: dart.fnType(dart.nullable(core.String), [core.String]), + [_functionCallTarget]: dart.fnType(dart.nullable(core.String), [core.String]) + })); + dart.setGetterSignature(_interceptors.JSNoSuchMethodError, () => ({ + __proto__: dart.getGetters(_interceptors.JSNoSuchMethodError.__proto__), + [$stackTrace]: core.StackTrace, + [_receiver$]: dart.nullable(core.Object), + [_arguments$]: dart.nullable(core.List), + [_memberName$]: core.Symbol, + [_invocation$]: dart.nullable(core.Invocation), + [_namedArguments$]: dart.nullable(core.Map$(core.Symbol, dart.dynamic)) + })); + dart.setLibraryUri(_interceptors.JSNoSuchMethodError, I[16]); + dart.defineLazy(_interceptors.JSNoSuchMethodError, { + /*_interceptors.JSNoSuchMethodError._nullError*/get _nullError() { + return core.RegExp.new("^Cannot read property '(.+)' of null$"); + }, + /*_interceptors.JSNoSuchMethodError._notAFunction*/get _notAFunction() { + return core.RegExp.new("^(.+) is not a function$"); + }, + /*_interceptors.JSNoSuchMethodError._extensionName*/get _extensionName() { + return core.RegExp.new("^Symbol\\(dartx\\.(.+)\\)$"); + }, + /*_interceptors.JSNoSuchMethodError._privateName*/get _privateName() { + return core.RegExp.new("^Symbol\\((_.+)\\)$"); + } + }, false); + dart.registerExtension("TypeError", _interceptors.JSNoSuchMethodError); + _interceptors.JSFunction = class JSFunction extends _interceptors.Interceptor { + [$toString]() { + if (dart.isType(this)) return dart.typeName(this); + return "Closure: " + dart.typeName(dart.getReifiedType(this)) + " from: " + this; + } + [$_equals](other) { + if (other == null) return false; + if (other == null) return false; + let boundObj = this._boundObject; + if (boundObj == null) return this === other; + return boundObj === other._boundObject && this._boundMethod === other._boundMethod; + } + get [$hashCode]() { + let boundObj = this._boundObject; + if (boundObj == null) return core.identityHashCode(this); + let boundMethod = this._boundMethod; + let hash = 17 * 31 + dart.notNull(dart.hashCode(boundObj)) & 536870911; + return hash * 31 + dart.notNull(core.identityHashCode(boundMethod)) & 536870911; + } + get [$runtimeType]() { + return dart.wrapType(dart.getReifiedType(this)); + } + }; + (_interceptors.JSFunction.new = function() { + _interceptors.JSFunction.__proto__.new.call(this); + ; + }).prototype = _interceptors.JSFunction.prototype; + dart.addTypeTests(_interceptors.JSFunction); + dart.addTypeCaches(_interceptors.JSFunction); + dart.setLibraryUri(_interceptors.JSFunction, I[16]); + dart.registerExtension("Function", _interceptors.JSFunction); + _interceptors.JSNull = class JSNull extends core.Object { + toString() { + return "null"; + } + noSuchMethod(i) { + if (i == null) dart.nullFailed(I[17], 215, 27, "i"); + return dart.defaultNoSuchMethod(null, i); + } + }; + (_interceptors.JSNull.new = function() { + ; + }).prototype = _interceptors.JSNull.prototype; + dart.addTypeTests(_interceptors.JSNull); + dart.addTypeCaches(_interceptors.JSNull); + dart.setLibraryUri(_interceptors.JSNull, I[16]); + dart.defineExtensionMethods(_interceptors.JSNull, ['toString', 'noSuchMethod']); + var _hasValue = dart.privateName(_interceptors, "_hasValue"); + var _hasValue$ = dart.privateName(core, "_hasValue"); + var _errorExplanation = dart.privateName(_interceptors, "_errorExplanation"); + var _errorExplanation$ = dart.privateName(core, "_errorExplanation"); + var _errorName = dart.privateName(_interceptors, "_errorName"); + var _errorName$ = dart.privateName(core, "_errorName"); + _interceptors.JSRangeError = class JSRangeError extends _interceptors.Interceptor { + get [$stackTrace]() { + return dart.stackTrace(this); + } + get [$invalidValue]() { + return null; + } + get [$name]() { + return null; + } + get [$message]() { + return this.message; + } + [$toString]() { + return "Invalid argument: " + dart.str(this[$message]); + } + get [_hasValue$]() { + return core.bool.as(this[$noSuchMethod](new core._Invocation.getter(C[14] || CT.C14))); + } + get [_errorExplanation$]() { + return core.String.as(this[$noSuchMethod](new core._Invocation.getter(C[15] || CT.C15))); + } + get [_errorName$]() { + return core.String.as(this[$noSuchMethod](new core._Invocation.getter(C[16] || CT.C16))); + } + }; + (_interceptors.JSRangeError.new = function() { + _interceptors.JSRangeError.__proto__.new.call(this); + ; + }).prototype = _interceptors.JSRangeError.prototype; + dart.addTypeTests(_interceptors.JSRangeError); + dart.addTypeCaches(_interceptors.JSRangeError); + _interceptors.JSRangeError[dart.implements] = () => [core.ArgumentError]; + dart.setGetterSignature(_interceptors.JSRangeError, () => ({ + __proto__: dart.getGetters(_interceptors.JSRangeError.__proto__), + [$stackTrace]: core.StackTrace, + [$invalidValue]: dart.dynamic, + [$name]: dart.nullable(core.String), + [$message]: dart.dynamic, + [_hasValue$]: core.bool, + [_errorExplanation$]: core.String, + [_errorName$]: core.String + })); + dart.setLibraryUri(_interceptors.JSRangeError, I[16]); + dart.registerExtension("RangeError", _interceptors.JSRangeError); + var _setLengthUnsafe = dart.privateName(_interceptors, "_setLengthUnsafe"); + var _removeWhere = dart.privateName(_interceptors, "_removeWhere"); + const _is_JSArray_default = Symbol('_is_JSArray_default'); + _interceptors.JSArray$ = dart.generic(E => { + var IterableOfE = () => (IterableOfE = dart.constFn(core.Iterable$(E)))(); + var WhereIterableOfE = () => (WhereIterableOfE = dart.constFn(_internal.WhereIterable$(E)))(); + var SubListIterableOfE = () => (SubListIterableOfE = dart.constFn(_internal.SubListIterable$(E)))(); + var TakeWhileIterableOfE = () => (TakeWhileIterableOfE = dart.constFn(_internal.TakeWhileIterable$(E)))(); + var SkipWhileIterableOfE = () => (SkipWhileIterableOfE = dart.constFn(_internal.SkipWhileIterable$(E)))(); + var EAndEToE = () => (EAndEToE = dart.constFn(dart.fnType(E, [E, E])))(); + var VoidToE = () => (VoidToE = dart.constFn(dart.fnType(E, [])))(); + var VoidToNE = () => (VoidToNE = dart.constFn(dart.nullable(VoidToE())))(); + var JSArrayOfE = () => (JSArrayOfE = dart.constFn(_interceptors.JSArray$(E)))(); + var ListOfE = () => (ListOfE = dart.constFn(core.List$(E)))(); + var EN = () => (EN = dart.constFn(dart.nullable(E)))(); + var ReversedListIterableOfE = () => (ReversedListIterableOfE = dart.constFn(_internal.ReversedListIterable$(E)))(); + var LinkedHashSetOfE = () => (LinkedHashSetOfE = dart.constFn(collection.LinkedHashSet$(E)))(); + var ArrayIteratorOfE = () => (ArrayIteratorOfE = dart.constFn(_interceptors.ArrayIterator$(E)))(); + var ListMapViewOfE = () => (ListMapViewOfE = dart.constFn(_internal.ListMapView$(E)))(); + var FollowedByIterableOfE = () => (FollowedByIterableOfE = dart.constFn(_internal.FollowedByIterable$(E)))(); + class JSArray extends core.Object { + constructor() { + return []; + } + static of(list) { + list.__proto__ = JSArray.prototype; + return list; + } + static fixed(list) { + list.__proto__ = JSArray.prototype; + list.fixed$length = Array; + return list; + } + static unmodifiable(list) { + list.__proto__ = JSArray.prototype; + list.fixed$length = Array; + list.immutable$list = Array; + return list; + } + static markFixedList(list) { + list.fixed$length = Array; + } + static markUnmodifiableList(list) { + list.fixed$length = Array; + list.immutable$list = Array; + } + [$checkMutable](reason) { + if (this.immutable$list) { + dart.throw(new core.UnsupportedError.new(core.String.as(reason))); + } + } + [$checkGrowable](reason) { + if (this.fixed$length) { + dart.throw(new core.UnsupportedError.new(core.String.as(reason))); + } + } + [$cast](R) { + return core.List.castFrom(E, R, this); + } + [$add](value) { + E.as(value); + this[$checkGrowable]("add"); + this.push(value); + } + [$removeAt](index) { + if (index == null) dart.argumentError(index); + this[$checkGrowable]("removeAt"); + if (index < 0 || index >= this[$length]) { + dart.throw(new core.RangeError.value(index)); + } + return this.splice(index, 1)[0]; + } + [$insert](index, value) { + if (index == null) dart.argumentError(index); + E.as(value); + this[$checkGrowable]("insert"); + if (index < 0 || index > this[$length]) { + dart.throw(new core.RangeError.value(index)); + } + this.splice(index, 0, value); + } + [$insertAll](index, iterable) { + if (index == null) dart.argumentError(index); + IterableOfE().as(iterable); + if (iterable == null) dart.nullFailed(I[18], 93, 52, "iterable"); + this[$checkGrowable]("insertAll"); + core.RangeError.checkValueInInterval(index, 0, this[$length], "index"); + if (!_internal.EfficientLengthIterable.is(iterable)) { + iterable = iterable[$toList](); + } + let insertionLength = dart.notNull(iterable[$length]); + this[_setLengthUnsafe](this[$length] + insertionLength); + let end = index + insertionLength; + this[$setRange](end, this[$length], this, index); + this[$setRange](index, end, iterable); + } + [$setAll](index, iterable) { + let t20; + if (index == null) dart.argumentError(index); + IterableOfE().as(iterable); + if (iterable == null) dart.nullFailed(I[18], 107, 49, "iterable"); + this[$checkMutable]("setAll"); + core.RangeError.checkValueInInterval(index, 0, this[$length], "index"); + for (let element of iterable) { + this[$_set]((t20 = index, index = t20 + 1, t20), element); + } + } + [$removeLast]() { + this[$checkGrowable]("removeLast"); + if (this[$length] === 0) dart.throw(_js_helper.diagnoseIndexError(this, -1)); + return this.pop(); + } + [$remove](element) { + this[$checkGrowable]("remove"); + let length = this[$length]; + for (let i = 0; i < length; i = i + 1) { + if (dart.equals(this[$_get](i), element)) { + this.splice(i, 1); + return true; + } + } + return false; + } + [$removeWhere](test) { + if (test == null) dart.nullFailed(I[18], 136, 37, "test"); + this[$checkGrowable]("removeWhere"); + this[_removeWhere](test, true); + } + [$retainWhere](test) { + if (test == null) dart.nullFailed(I[18], 141, 37, "test"); + this[$checkGrowable]("retainWhere"); + this[_removeWhere](test, false); + } + [_removeWhere](test, removeMatching) { + if (test == null) dart.nullFailed(I[18], 146, 38, "test"); + if (removeMatching == null) dart.nullFailed(I[18], 146, 49, "removeMatching"); + let retained = []; + let end = this[$length]; + for (let i = 0; i < end; i = i + 1) { + let element = this[i]; + if (!dart.test(test(element)) === removeMatching) { + retained.push(element); + } + if (this[$length] !== end) dart.throw(new core.ConcurrentModificationError.new(this)); + } + if (retained[$length] === end) return; + this[$length] = retained[$length]; + let length = dart.notNull(retained[$length]); + for (let i = 0; i < length; i = i + 1) { + this[i] = retained[i]; + } + } + [$where](f) { + if (f == null) dart.nullFailed(I[18], 175, 38, "f"); + return new (WhereIterableOfE()).new(this, f); + } + [$expand](T, f) { + if (f == null) dart.nullFailed(I[18], 179, 49, "f"); + return new (_internal.ExpandIterable$(E, T)).new(this, f); + } + [$addAll](collection) { + IterableOfE().as(collection); + if (collection == null) dart.nullFailed(I[18], 183, 27, "collection"); + let i = this[$length]; + this[$checkGrowable]("addAll"); + for (let e of collection) { + if (!(i === this[$length] || dart.throw(new core.ConcurrentModificationError.new(this)))) dart.assertFailed(null, I[18], 187, 14, "i == this.length || (throw ConcurrentModificationError(this))"); + i = i + 1; + this.push(e); + } + } + [$clear]() { + this[$length] = 0; + } + [$forEach](f) { + if (f == null) dart.nullFailed(I[18], 197, 33, "f"); + let end = this[$length]; + for (let i = 0; i < end; i = i + 1) { + let element = this[i]; + f(element); + if (this[$length] !== end) dart.throw(new core.ConcurrentModificationError.new(this)); + } + } + [$map](T, f) { + if (f == null) dart.nullFailed(I[18], 206, 36, "f"); + return new (_internal.MappedListIterable$(E, T)).new(this, f); + } + [$join](separator = "") { + if (separator == null) dart.nullFailed(I[18], 210, 23, "separator"); + let length = this[$length]; + let list = T$.ListOfString().filled(length, ""); + for (let i = 0; i < length; i = i + 1) { + list[$_set](i, dart.str(this[$_get](i))); + } + return list.join(separator); + } + [$take](n) { + if (n == null) dart.nullFailed(I[18], 219, 24, "n"); + return new (SubListIterableOfE()).new(this, 0, _internal.checkNotNullable(core.int, n, "count")); + } + [$takeWhile](test) { + if (test == null) dart.nullFailed(I[18], 223, 30, "test"); + return new (TakeWhileIterableOfE()).new(this, test); + } + [$skip](n) { + if (n == null) dart.nullFailed(I[18], 227, 24, "n"); + return new (SubListIterableOfE()).new(this, n, null); + } + [$skipWhile](test) { + if (test == null) dart.nullFailed(I[18], 231, 42, "test"); + return new (SkipWhileIterableOfE()).new(this, test); + } + [$reduce](combine) { + EAndEToE().as(combine); + if (combine == null) dart.nullFailed(I[18], 235, 14, "combine"); + let length = this[$length]; + if (length === 0) dart.throw(_internal.IterableElementError.noElement()); + let value = this[$_get](0); + for (let i = 1; i < length; i = i + 1) { + let element = this[i]; + value = combine(value, element); + if (length !== this[$length]) dart.throw(new core.ConcurrentModificationError.new(this)); + } + return value; + } + [$fold](T, initialValue, combine) { + if (combine == null) dart.nullFailed(I[18], 247, 68, "combine"); + let value = initialValue; + let length = this[$length]; + for (let i = 0; i < length; i = i + 1) { + let element = this[i]; + value = combine(value, element); + if (this[$length] !== length) dart.throw(new core.ConcurrentModificationError.new(this)); + } + return value; + } + [$firstWhere](test, opts) { + if (test == null) dart.nullFailed(I[18], 258, 33, "test"); + let orElse = opts && 'orElse' in opts ? opts.orElse : null; + VoidToNE().as(orElse); + let end = this[$length]; + for (let i = 0; i < end; i = i + 1) { + let element = this[i]; + if (dart.test(test(element))) return element; + if (this[$length] !== end) dart.throw(new core.ConcurrentModificationError.new(this)); + } + if (orElse != null) return orElse(); + dart.throw(_internal.IterableElementError.noElement()); + } + [$lastWhere](test, opts) { + if (test == null) dart.nullFailed(I[18], 269, 32, "test"); + let orElse = opts && 'orElse' in opts ? opts.orElse : null; + VoidToNE().as(orElse); + let length = this[$length]; + for (let i = length - 1; i >= 0; i = i - 1) { + let element = this[i]; + if (dart.test(test(element))) return element; + if (length !== this[$length]) { + dart.throw(new core.ConcurrentModificationError.new(this)); + } + } + if (orElse != null) return orElse(); + dart.throw(_internal.IterableElementError.noElement()); + } + [$singleWhere](test, opts) { + if (test == null) dart.nullFailed(I[18], 282, 34, "test"); + let orElse = opts && 'orElse' in opts ? opts.orElse : null; + VoidToNE().as(orElse); + let length = this[$length]; + let match = null; + let matchFound = false; + for (let i = 0; i < length; i = i + 1) { + let element = this[i]; + if (dart.test(test(element))) { + if (matchFound) { + dart.throw(_internal.IterableElementError.tooMany()); + } + matchFound = true; + match = element; + } + if (length !== this[$length]) { + dart.throw(new core.ConcurrentModificationError.new(this)); + } + } + if (matchFound) return E.as(match); + if (orElse != null) return orElse(); + dart.throw(_internal.IterableElementError.noElement()); + } + [$elementAt](index) { + if (index == null) dart.nullFailed(I[18], 304, 19, "index"); + return this[$_get](index); + } + [$sublist](start, end = null) { + if (start == null) dart.argumentError(start); + if (start < 0 || start > this[$length]) { + dart.throw(new core.RangeError.range(start, 0, this[$length], "start")); + } + if (end == null) { + end = this[$length]; + } else { + let _end = end; + if (_end < start || _end > this[$length]) { + dart.throw(new core.RangeError.range(end, start, this[$length], "end")); + } + } + if (start === end) return JSArrayOfE().of([]); + return JSArrayOfE().of(this.slice(start, end)); + } + [$getRange](start, end) { + if (start == null) dart.nullFailed(I[18], 325, 28, "start"); + if (end == null) dart.nullFailed(I[18], 325, 39, "end"); + core.RangeError.checkValidRange(start, end, this[$length]); + return new (SubListIterableOfE()).new(this, start, end); + } + get [$first]() { + if (this[$length] > 0) return this[$_get](0); + dart.throw(_internal.IterableElementError.noElement()); + } + get [$last]() { + if (this[$length] > 0) return this[$_get](this[$length] - 1); + dart.throw(_internal.IterableElementError.noElement()); + } + get [$single]() { + if (this[$length] === 1) return this[$_get](0); + if (this[$length] === 0) dart.throw(_internal.IterableElementError.noElement()); + dart.throw(_internal.IterableElementError.tooMany()); + } + [$removeRange](start, end) { + if (start == null) dart.argumentError(start); + if (end == null) dart.argumentError(end); + this[$checkGrowable]("removeRange"); + core.RangeError.checkValidRange(start, end, this[$length]); + let deleteCount = end - start; + this.splice(start, deleteCount); + } + [$setRange](start, end, iterable, skipCount = 0) { + if (start == null) dart.argumentError(start); + if (end == null) dart.argumentError(end); + IterableOfE().as(iterable); + if (iterable == null) dart.nullFailed(I[18], 353, 71, "iterable"); + if (skipCount == null) dart.argumentError(skipCount); + this[$checkMutable]("set range"); + core.RangeError.checkValidRange(start, end, this[$length]); + let length = end - start; + if (length === 0) return; + core.RangeError.checkNotNegative(skipCount, "skipCount"); + let otherList = JSArrayOfE().of([]); + let otherStart = 0; + if (ListOfE().is(iterable)) { + otherList = iterable; + otherStart = skipCount; + } else { + otherList = iterable[$skip](skipCount)[$toList]({growable: false}); + otherStart = 0; + } + if (otherStart + length > dart.notNull(otherList[$length])) { + dart.throw(_internal.IterableElementError.tooFew()); + } + if (otherStart < start) { + for (let i = length - 1; i >= 0; i = i - 1) { + let element = otherList[$_get](otherStart + i); + this[start + i] = element; + } + } else { + for (let i = 0; i < length; i = i + 1) { + let element = otherList[$_get](otherStart + i); + this[start + i] = element; + } + } + } + [$fillRange](start, end, fillValue = null) { + if (start == null) dart.argumentError(start); + if (end == null) dart.argumentError(end); + EN().as(fillValue); + this[$checkMutable]("fill range"); + core.RangeError.checkValidRange(start, end, this[$length]); + let checkedFillValue = E.as(fillValue); + for (let i = start; i < end; i = i + 1) { + this[i] = checkedFillValue; + } + } + [$replaceRange](start, end, replacement) { + if (start == null) dart.argumentError(start); + if (end == null) dart.argumentError(end); + IterableOfE().as(replacement); + if (replacement == null) dart.nullFailed(I[18], 404, 61, "replacement"); + this[$checkGrowable]("replace range"); + core.RangeError.checkValidRange(start, end, this[$length]); + if (!_internal.EfficientLengthIterable.is(replacement)) { + replacement = replacement[$toList](); + } + let removeLength = end - start; + let insertLength = dart.notNull(replacement[$length]); + if (removeLength >= insertLength) { + let delta = removeLength - insertLength; + let insertEnd = start + insertLength; + let newLength = this[$length] - delta; + this[$setRange](start, insertEnd, replacement); + if (delta !== 0) { + this[$setRange](insertEnd, newLength, this, end); + this[$length] = newLength; + } + } else { + let delta = insertLength - removeLength; + let newLength = this[$length] + delta; + let insertEnd = start + insertLength; + this[_setLengthUnsafe](newLength); + this[$setRange](insertEnd, newLength, this, end); + this[$setRange](start, insertEnd, replacement); + } + } + [$any](test) { + if (test == null) dart.nullFailed(I[18], 432, 29, "test"); + let end = this[$length]; + for (let i = 0; i < end; i = i + 1) { + let element = this[i]; + if (dart.test(test(element))) return true; + if (this[$length] !== end) dart.throw(new core.ConcurrentModificationError.new(this)); + } + return false; + } + [$every](test) { + if (test == null) dart.nullFailed(I[18], 442, 31, "test"); + let end = this[$length]; + for (let i = 0; i < end; i = i + 1) { + let element = this[i]; + if (!dart.test(test(element))) return false; + if (this[$length] !== end) dart.throw(new core.ConcurrentModificationError.new(this)); + } + return true; + } + get [$reversed]() { + return new (ReversedListIterableOfE()).new(this); + } + [$sort](compare = null) { + this[$checkMutable]("sort"); + if (compare == null) { + _internal.Sort.sort(E, this, dart.fn((a, b) => core.Comparable.compare(core.Comparable.as(a), core.Comparable.as(b)), T$.ObjectNAndObjectNToint())); + } else { + _internal.Sort.sort(E, this, compare); + } + } + [$shuffle](random = null) { + this[$checkMutable]("shuffle"); + if (random == null) random = math.Random.new(); + let length = this[$length]; + while (length > 1) { + let pos = random.nextInt(length); + length = length - 1; + let tmp = this[$_get](length); + this[$_set](length, this[$_get](pos)); + this[$_set](pos, tmp); + } + } + [$indexOf](element, start = 0) { + if (start == null) dart.argumentError(start); + let length = this[$length]; + if (start >= length) { + return -1; + } + if (start < 0) { + start = 0; + } + for (let i = start; i < length; i = i + 1) { + if (dart.equals(this[$_get](i), element)) { + return i; + } + } + return -1; + } + [$lastIndexOf](element, startIndex = null) { + let t20; + let start = (t20 = startIndex, t20 == null ? this[$length] - 1 : t20); + if (start >= this[$length]) { + start = this[$length] - 1; + } else if (start < 0) { + return -1; + } + for (let i = start; i >= 0; i = i - 1) { + if (dart.equals(this[$_get](i), element)) { + return i; + } + } + return -1; + } + [$contains](other) { + let length = this[$length]; + for (let i = 0; i < length; i = i + 1) { + let element = this[i]; + if (dart.equals(element, other)) return true; + } + return false; + } + get [$isEmpty]() { + return this[$length] === 0; + } + get [$isNotEmpty]() { + return !this[$isEmpty]; + } + [$toString]() { + return collection.ListBase.listToString(this); + } + [$toList](opts) { + let growable = opts && 'growable' in opts ? opts.growable : true; + if (growable == null) dart.argumentError(growable); + let list = this.slice(); + if (!growable) _interceptors.JSArray.markFixedList(list); + return JSArrayOfE().of(list); + } + [$toSet]() { + return LinkedHashSetOfE().from(this); + } + get [$iterator]() { + return new (ArrayIteratorOfE()).new(this); + } + get [$hashCode]() { + return core.identityHashCode(this); + } + [$_equals](other) { + if (other == null) return false; + return this === other; + } + get [$length]() { + return this.length; + } + set [$length](newLength) { + if (newLength == null) dart.argumentError(newLength); + this[$checkGrowable]("set length"); + if (newLength < 0) { + dart.throw(new core.RangeError.range(newLength, 0, null, "newLength")); + } + if (newLength > this[$length]) E.as(null); + this.length = newLength; + } + [_setLengthUnsafe](newLength) { + if (newLength == null) dart.nullFailed(I[18], 566, 29, "newLength"); + if (dart.notNull(newLength) < 0) { + dart.throw(new core.RangeError.range(newLength, 0, null, "newLength")); + } + this.length = newLength; + } + [$_get](index) { + if (index == null) dart.nullFailed(I[18], 576, 21, "index"); + if (index == null || index >= this.length || index < 0) { + dart.throw(_js_helper.diagnoseIndexError(this, index)); + } + return this[index]; + } + [$_set](index, value$) { + let value = value$; + if (index == null) dart.nullFailed(I[18], 586, 25, "index"); + E.as(value); + this[$checkMutable]("indexed set"); + if (index == null || index >= this.length || index < 0) { + dart.throw(_js_helper.diagnoseIndexError(this, index)); + } + this[index] = value; + return value$; + } + [$asMap]() { + return new (ListMapViewOfE()).new(this); + } + get [$runtimeType]() { + return dart.wrapType(core.List$(E)); + } + [$followedBy](other) { + IterableOfE().as(other); + if (other == null) dart.nullFailed(I[18], 603, 38, "other"); + return FollowedByIterableOfE().firstEfficient(this, other); + } + [$whereType](T) { + return new (_internal.WhereTypeIterable$(T)).new(this); + } + [$plus](other) { + ListOfE().as(other); + if (other == null) dart.nullFailed(I[18], 608, 30, "other"); + return (() => { + let t20 = ListOfE().of(this); + t20[$addAll](other); + return t20; + })(); + } + [$indexWhere](test, start = 0) { + if (test == null) dart.nullFailed(I[18], 610, 35, "test"); + if (start == null) dart.nullFailed(I[18], 610, 46, "start"); + if (dart.notNull(start) >= this[$length]) return -1; + if (dart.notNull(start) < 0) start = 0; + for (let i = start; dart.notNull(i) < this[$length]; i = dart.notNull(i) + 1) { + if (dart.test(test(this[$_get](i)))) return i; + } + return -1; + } + [$lastIndexWhere](test, start = null) { + if (test == null) dart.nullFailed(I[18], 619, 39, "test"); + if (start == null) start = this[$length] - 1; + if (dart.notNull(start) < 0) return -1; + for (let i = start; dart.notNull(i) >= 0; i = dart.notNull(i) - 1) { + if (dart.test(test(this[$_get](i)))) return i; + } + return -1; + } + set [$first](element) { + E.as(element); + if (this[$isEmpty]) dart.throw(new core.IndexError.new(0, this)); + this[$_set](0, element); + } + set [$last](element) { + E.as(element); + if (this[$isEmpty]) dart.throw(new core.IndexError.new(0, this)); + this[$_set](this[$length] - 1, element); + } + } + (JSArray.new = function() { + ; + }).prototype = JSArray.prototype; + dart.setExtensionBaseClass(JSArray, dart.global.Array); + JSArray.prototype[dart.isList] = true; + dart.addTypeTests(JSArray); + JSArray.prototype[_is_JSArray_default] = true; + dart.addTypeCaches(JSArray); + JSArray[dart.implements] = () => [core.List$(E), _interceptors.JSIndexable$(E)]; + dart.setMethodSignature(JSArray, () => ({ + __proto__: dart.getMethods(JSArray.__proto__), + [$checkMutable]: dart.fnType(dart.dynamic, [dart.dynamic]), + [$checkGrowable]: dart.fnType(dart.dynamic, [dart.dynamic]), + [$cast]: dart.gFnType(R => [core.List$(R), []], R => [dart.nullable(core.Object)]), + [$add]: dart.fnType(dart.void, [dart.nullable(core.Object)]), + [$removeAt]: dart.fnType(E, [core.int]), + [$insert]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), + [$insertAll]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), + [$setAll]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), + [$removeLast]: dart.fnType(E, []), + [$remove]: dart.fnType(core.bool, [dart.nullable(core.Object)]), + [$removeWhere]: dart.fnType(dart.void, [dart.fnType(core.bool, [E])]), + [$retainWhere]: dart.fnType(dart.void, [dart.fnType(core.bool, [E])]), + [_removeWhere]: dart.fnType(dart.void, [dart.fnType(core.bool, [E]), core.bool]), + [$where]: dart.fnType(core.Iterable$(E), [dart.fnType(core.bool, [E])]), + [$expand]: dart.gFnType(T => [core.Iterable$(T), [dart.fnType(core.Iterable$(T), [E])]], T => [dart.nullable(core.Object)]), + [$addAll]: dart.fnType(dart.void, [dart.nullable(core.Object)]), + [$clear]: dart.fnType(dart.void, []), + [$forEach]: dart.fnType(dart.void, [dart.fnType(dart.void, [E])]), + [$map]: dart.gFnType(T => [core.Iterable$(T), [dart.fnType(T, [E])]], T => [dart.nullable(core.Object)]), + [$join]: dart.fnType(core.String, [], [core.String]), + [$take]: dart.fnType(core.Iterable$(E), [core.int]), + [$takeWhile]: dart.fnType(core.Iterable$(E), [dart.fnType(core.bool, [E])]), + [$skip]: dart.fnType(core.Iterable$(E), [core.int]), + [$skipWhile]: dart.fnType(core.Iterable$(E), [dart.fnType(core.bool, [E])]), + [$reduce]: dart.fnType(E, [dart.nullable(core.Object)]), + [$fold]: dart.gFnType(T => [T, [T, dart.fnType(T, [T, E])]], T => [dart.nullable(core.Object)]), + [$firstWhere]: dart.fnType(E, [dart.fnType(core.bool, [E])], {orElse: dart.nullable(core.Object)}, {}), + [$lastWhere]: dart.fnType(E, [dart.fnType(core.bool, [E])], {orElse: dart.nullable(core.Object)}, {}), + [$singleWhere]: dart.fnType(E, [dart.fnType(core.bool, [E])], {orElse: dart.nullable(core.Object)}, {}), + [$elementAt]: dart.fnType(E, [core.int]), + [$sublist]: dart.fnType(core.List$(E), [core.int], [dart.nullable(core.int)]), + [$getRange]: dart.fnType(core.Iterable$(E), [core.int, core.int]), + [$removeRange]: dart.fnType(dart.void, [core.int, core.int]), + [$setRange]: dart.fnType(dart.void, [core.int, core.int, dart.nullable(core.Object)], [core.int]), + [$fillRange]: dart.fnType(dart.void, [core.int, core.int], [dart.nullable(core.Object)]), + [$replaceRange]: dart.fnType(dart.void, [core.int, core.int, dart.nullable(core.Object)]), + [$any]: dart.fnType(core.bool, [dart.fnType(core.bool, [E])]), + [$every]: dart.fnType(core.bool, [dart.fnType(core.bool, [E])]), + [$sort]: dart.fnType(dart.void, [], [dart.nullable(dart.fnType(core.int, [E, E]))]), + [$shuffle]: dart.fnType(dart.void, [], [dart.nullable(math.Random)]), + [$indexOf]: dart.fnType(core.int, [dart.nullable(core.Object)], [core.int]), + [$lastIndexOf]: dart.fnType(core.int, [dart.nullable(core.Object)], [dart.nullable(core.int)]), + [$contains]: dart.fnType(core.bool, [dart.nullable(core.Object)]), + [$toList]: dart.fnType(core.List$(E), [], {growable: core.bool}, {}), + [$toSet]: dart.fnType(core.Set$(E), []), + [_setLengthUnsafe]: dart.fnType(dart.void, [core.int]), + [$_get]: dart.fnType(E, [core.int]), + [$_set]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), + [$asMap]: dart.fnType(core.Map$(core.int, E), []), + [$followedBy]: dart.fnType(core.Iterable$(E), [dart.nullable(core.Object)]), + [$whereType]: dart.gFnType(T => [core.Iterable$(T), []], T => [dart.nullable(core.Object)]), + [$plus]: dart.fnType(core.List$(E), [dart.nullable(core.Object)]), + [$indexWhere]: dart.fnType(core.int, [dart.fnType(core.bool, [E])], [core.int]), + [$lastIndexWhere]: dart.fnType(core.int, [dart.fnType(core.bool, [E])], [dart.nullable(core.int)]) + })); + dart.setGetterSignature(JSArray, () => ({ + __proto__: dart.getGetters(JSArray.__proto__), + [$first]: E, + [$last]: E, + [$single]: E, + [$reversed]: core.Iterable$(E), + [$isEmpty]: core.bool, + [$isNotEmpty]: core.bool, + [$iterator]: core.Iterator$(E), + [$length]: core.int + })); + dart.setSetterSignature(JSArray, () => ({ + __proto__: dart.getSetters(JSArray.__proto__), + [$length]: core.int, + [$first]: dart.nullable(core.Object), + [$last]: dart.nullable(core.Object) + })); + dart.setLibraryUri(JSArray, I[16]); + return JSArray; + }); + _interceptors.JSArray = _interceptors.JSArray$(); + dart.addTypeTests(_interceptors.JSArray, _is_JSArray_default); + dart.registerExtension("Array", _interceptors.JSArray); + const _is_JSMutableArray_default = Symbol('_is_JSMutableArray_default'); + _interceptors.JSMutableArray$ = dart.generic(E => { + class JSMutableArray extends _interceptors.JSArray$(E) {} + (JSMutableArray.new = function() { + JSMutableArray.__proto__.new.call(this); + ; + }).prototype = JSMutableArray.prototype; + dart.addTypeTests(JSMutableArray); + JSMutableArray.prototype[_is_JSMutableArray_default] = true; + dart.addTypeCaches(JSMutableArray); + JSMutableArray[dart.implements] = () => [_interceptors.JSMutableIndexable$(E)]; + dart.setLibraryUri(JSMutableArray, I[16]); + return JSMutableArray; + }); + _interceptors.JSMutableArray = _interceptors.JSMutableArray$(); + dart.addTypeTests(_interceptors.JSMutableArray, _is_JSMutableArray_default); + const _is_JSFixedArray_default = Symbol('_is_JSFixedArray_default'); + _interceptors.JSFixedArray$ = dart.generic(E => { + class JSFixedArray extends _interceptors.JSMutableArray$(E) {} + (JSFixedArray.new = function() { + JSFixedArray.__proto__.new.call(this); + ; + }).prototype = JSFixedArray.prototype; + dart.addTypeTests(JSFixedArray); + JSFixedArray.prototype[_is_JSFixedArray_default] = true; + dart.addTypeCaches(JSFixedArray); + dart.setLibraryUri(JSFixedArray, I[16]); + return JSFixedArray; + }); + _interceptors.JSFixedArray = _interceptors.JSFixedArray$(); + dart.addTypeTests(_interceptors.JSFixedArray, _is_JSFixedArray_default); + const _is_JSExtendableArray_default = Symbol('_is_JSExtendableArray_default'); + _interceptors.JSExtendableArray$ = dart.generic(E => { + class JSExtendableArray extends _interceptors.JSMutableArray$(E) {} + (JSExtendableArray.new = function() { + JSExtendableArray.__proto__.new.call(this); + ; + }).prototype = JSExtendableArray.prototype; + dart.addTypeTests(JSExtendableArray); + JSExtendableArray.prototype[_is_JSExtendableArray_default] = true; + dart.addTypeCaches(JSExtendableArray); + dart.setLibraryUri(JSExtendableArray, I[16]); + return JSExtendableArray; + }); + _interceptors.JSExtendableArray = _interceptors.JSExtendableArray$(); + dart.addTypeTests(_interceptors.JSExtendableArray, _is_JSExtendableArray_default); + const _is_JSUnmodifiableArray_default = Symbol('_is_JSUnmodifiableArray_default'); + _interceptors.JSUnmodifiableArray$ = dart.generic(E => { + class JSUnmodifiableArray extends _interceptors.JSArray$(E) {} + (JSUnmodifiableArray.new = function() { + JSUnmodifiableArray.__proto__.new.call(this); + ; + }).prototype = JSUnmodifiableArray.prototype; + dart.addTypeTests(JSUnmodifiableArray); + JSUnmodifiableArray.prototype[_is_JSUnmodifiableArray_default] = true; + dart.addTypeCaches(JSUnmodifiableArray); + dart.setLibraryUri(JSUnmodifiableArray, I[16]); + return JSUnmodifiableArray; + }); + _interceptors.JSUnmodifiableArray = _interceptors.JSUnmodifiableArray$(); + dart.addTypeTests(_interceptors.JSUnmodifiableArray, _is_JSUnmodifiableArray_default); + var _current = dart.privateName(_interceptors, "_current"); + var _iterable = dart.privateName(_interceptors, "_iterable"); + var _length = dart.privateName(_interceptors, "_length"); + var _index = dart.privateName(_interceptors, "_index"); + const _is_ArrayIterator_default = Symbol('_is_ArrayIterator_default'); + _interceptors.ArrayIterator$ = dart.generic(E => { + class ArrayIterator extends core.Object { + get current() { + return E.as(this[_current]); + } + moveNext() { + let length = this[_iterable][$length]; + if (this[_length] !== length) { + dart.throw(_js_helper.throwConcurrentModificationError(this[_iterable])); + } + if (this[_index] >= length) { + this[_current] = null; + return false; + } + this[_current] = this[_iterable][$_get](this[_index]); + this[_index] = this[_index] + 1; + return true; + } + } + (ArrayIterator.new = function(iterable) { + if (iterable == null) dart.nullFailed(I[18], 668, 28, "iterable"); + this[_current] = null; + this[_iterable] = iterable; + this[_length] = iterable[$length]; + this[_index] = 0; + ; + }).prototype = ArrayIterator.prototype; + dart.addTypeTests(ArrayIterator); + ArrayIterator.prototype[_is_ArrayIterator_default] = true; + dart.addTypeCaches(ArrayIterator); + ArrayIterator[dart.implements] = () => [core.Iterator$(E)]; + dart.setMethodSignature(ArrayIterator, () => ({ + __proto__: dart.getMethods(ArrayIterator.__proto__), + moveNext: dart.fnType(core.bool, []) + })); + dart.setGetterSignature(ArrayIterator, () => ({ + __proto__: dart.getGetters(ArrayIterator.__proto__), + current: E + })); + dart.setLibraryUri(ArrayIterator, I[16]); + dart.setFieldSignature(ArrayIterator, () => ({ + __proto__: dart.getFields(ArrayIterator.__proto__), + [_iterable]: dart.finalFieldType(_interceptors.JSArray$(E)), + [_length]: dart.finalFieldType(core.int), + [_index]: dart.fieldType(core.int), + [_current]: dart.fieldType(dart.nullable(E)) + })); + return ArrayIterator; + }); + _interceptors.ArrayIterator = _interceptors.ArrayIterator$(); + dart.addTypeTests(_interceptors.ArrayIterator, _is_ArrayIterator_default); + var _isInt32 = dart.privateName(_interceptors, "_isInt32"); + var _tdivSlow = dart.privateName(_interceptors, "_tdivSlow"); + var _shlPositive = dart.privateName(_interceptors, "_shlPositive"); + var _shrOtherPositive = dart.privateName(_interceptors, "_shrOtherPositive"); + var _shrUnsigned = dart.privateName(_interceptors, "_shrUnsigned"); + _interceptors.JSNumber = class JSNumber extends _interceptors.Interceptor { + [$compareTo](b) { + core.num.as(b); + if (b == null) dart.argumentError(b); + if (this < b) { + return -1; + } else if (this > b) { + return 1; + } else if (this === b) { + if (this === 0) { + let bIsNegative = b[$isNegative]; + if (this[$isNegative] === bIsNegative) return 0; + if (this[$isNegative]) return -1; + return 1; + } + return 0; + } else if (this[$isNaN]) { + if (b[$isNaN]) { + return 0; + } + return 1; + } else { + return -1; + } + } + get [$isNegative]() { + return this === 0 ? 1 / this < 0 : this < 0; + } + get [$isNaN]() { + return isNaN(this); + } + get [$isInfinite]() { + return this == 1 / 0 || this == -1 / 0; + } + get [$isFinite]() { + return isFinite(this); + } + [$remainder](b) { + if (b == null) dart.argumentError(b); + return this % b; + } + [$abs]() { + return Math.abs(this); + } + get [$sign]() { + return _interceptors.JSNumber.as(this > 0 ? 1 : this < 0 ? -1 : this); + } + [$toInt]() { + if (this >= -2147483648 && this <= 2147483647) { + return this | 0; + } + if (isFinite(this)) { + return this[$truncateToDouble]() + 0; + } + dart.throw(new core.UnsupportedError.new("" + this)); + } + [$truncate]() { + return this[$toInt](); + } + [$ceil]() { + return this[$ceilToDouble]()[$toInt](); + } + [$floor]() { + return this[$floorToDouble]()[$toInt](); + } + [$round]() { + if (this > 0) { + if (this !== 1 / 0) { + return Math.round(this); + } + } else if (this > -1 / 0) { + return 0 - Math.round(0 - this); + } + dart.throw(new core.UnsupportedError.new("" + this)); + } + [$ceilToDouble]() { + return Math.ceil(this); + } + [$floorToDouble]() { + return Math.floor(this); + } + [$roundToDouble]() { + if (this < 0) { + return -Math.round(-this); + } else { + return Math.round(this); + } + } + [$truncateToDouble]() { + return this < 0 ? this[$ceilToDouble]() : this[$floorToDouble](); + } + [$clamp](lowerLimit, upperLimit) { + if (lowerLimit == null) dart.argumentError(lowerLimit); + if (upperLimit == null) dart.argumentError(upperLimit); + if (lowerLimit[$compareTo](upperLimit) > 0) { + dart.throw(_js_helper.argumentErrorValue(lowerLimit)); + } + if (this[$compareTo](lowerLimit) < 0) return lowerLimit; + if (this[$compareTo](upperLimit) > 0) return upperLimit; + return this; + } + [$toDouble]() { + return this; + } + [$toStringAsFixed](fractionDigits) { + if (fractionDigits == null) dart.argumentError(fractionDigits); + if (fractionDigits < 0 || fractionDigits > 20) { + dart.throw(new core.RangeError.range(fractionDigits, 0, 20, "fractionDigits")); + } + let result = this.toFixed(fractionDigits); + if (this === 0 && this[$isNegative]) return "-" + result; + return result; + } + [$toStringAsExponential](fractionDigits = null) { + let result = null; + if (fractionDigits != null) { + let _fractionDigits = fractionDigits; + if (_fractionDigits < 0 || _fractionDigits > 20) { + dart.throw(new core.RangeError.range(_fractionDigits, 0, 20, "fractionDigits")); + } + result = this.toExponential(_fractionDigits); + } else { + result = this.toExponential(); + } + if (this === 0 && this[$isNegative]) return "-" + dart.str(result); + return result; + } + [$toStringAsPrecision](precision) { + if (precision == null) dart.argumentError(precision); + if (precision < 1 || precision > 21) { + dart.throw(new core.RangeError.range(precision, 1, 21, "precision")); + } + let result = this.toPrecision(precision); + if (this === 0 && this[$isNegative]) return "-" + result; + return result; + } + [$toRadixString](radix) { + if (radix == null) dart.argumentError(radix); + if (radix < 2 || radix > 36) { + dart.throw(new core.RangeError.range(radix, 2, 36, "radix")); + } + let result = this.toString(radix); + if (result[$codeUnitAt](result.length - 1) !== 41) { + return result; + } + return _interceptors.JSNumber._handleIEtoString(result); + } + static _handleIEtoString(result) { + if (result == null) dart.nullFailed(I[19], 194, 42, "result"); + let match = /^([\da-z]+)(?:\.([\da-z]+))?\(e\+(\d+)\)$/.exec(result); + if (match == null) { + dart.throw(new core.UnsupportedError.new("Unexpected toString result: " + dart.str(result))); + } + result = match[$_get](1); + let exponent = +match[$_get](3); + if (match[$_get](2) != null) { + result = result + match[$_get](2); + exponent = exponent - match[$_get](2).length; + } + return dart.notNull(result) + "0"[$times](exponent); + } + [$toString]() { + if (this === 0 && 1 / this < 0) { + return "-0.0"; + } else { + return "" + this; + } + } + get [$hashCode]() { + let intValue = this | 0; + if (this === intValue) return 536870911 & intValue; + let absolute = Math.abs(this); + let lnAbsolute = Math.log(absolute); + let log2 = lnAbsolute / 0.6931471805599453; + let floorLog2 = log2 | 0; + let factor = Math.pow(2, floorLog2); + let scaled = absolute < 1 ? absolute / factor : factor / absolute; + let rescaled1 = scaled * 9007199254740992; + let rescaled2 = scaled * 3542243181176521; + let d1 = rescaled1 | 0; + let d2 = rescaled2 | 0; + let d3 = floorLog2; + let h = 536870911 & (d1 + d2) * (601 * 997) + d3 * 1259; + return h; + } + [$_negate]() { + return -this; + } + [$plus](other) { + if (other == null) dart.argumentError(other); + return this + other; + } + [$minus](other) { + if (other == null) dart.argumentError(other); + return this - other; + } + [$divide](other) { + if (other == null) dart.argumentError(other); + return this / other; + } + [$times](other) { + if (other == null) dart.argumentError(other); + return this * other; + } + [$modulo](other) { + if (other == null) dart.argumentError(other); + let result = this % other; + if (result === 0) return _interceptors.JSNumber.as(0); + if (result > 0) return result; + if (other < 0) { + return result - other; + } else { + return result + other; + } + } + [_isInt32](value) { + return (value | 0) === value; + } + [$floorDivide](other) { + if (other == null) dart.argumentError(other); + if (this[_isInt32](this) && this[_isInt32](other) && 0 !== other && -1 !== other) { + return this / other | 0; + } else { + return this[_tdivSlow](other); + } + } + [_tdivSlow](other) { + if (other == null) dart.nullFailed(I[19], 308, 21, "other"); + return (this / other)[$toInt](); + } + [$leftShift](other) { + if (other == null) dart.argumentError(other); + if (other < 0) _js_helper.throwArgumentErrorValue(other); + return this[_shlPositive](other); + } + [_shlPositive](other) { + return other > 31 ? 0 : this << other >>> 0; + } + [$rightShift](other) { + if (other == null) dart.argumentError(other); + if (other < 0) _js_helper.throwArgumentErrorValue(other); + return this[_shrOtherPositive](other); + } + [$tripleShift](other) { + if (other == null) dart.argumentError(other); + if (other < 0) _js_helper.throwArgumentErrorValue(other); + return this[_shrUnsigned](other); + } + [_shrOtherPositive](other) { + return this > 0 ? this[_shrUnsigned](other) : this >> (other > 31 ? 31 : other) >>> 0; + } + [_shrUnsigned](other) { + return other > 31 ? 0 : this >>> other; + } + [$bitAnd](other) { + if (other == null) dart.argumentError(other); + return (this & other) >>> 0; + } + [$bitOr](other) { + if (other == null) dart.argumentError(other); + return (this | other) >>> 0; + } + [$bitXor](other) { + if (other == null) dart.argumentError(other); + return (this ^ other) >>> 0; + } + [$lessThan](other) { + if (other == null) dart.argumentError(other); + return this < other; + } + [$greaterThan](other) { + if (other == null) dart.argumentError(other); + return this > other; + } + [$lessOrEquals](other) { + if (other == null) dart.argumentError(other); + return this <= other; + } + [$greaterOrEquals](other) { + if (other == null) dart.argumentError(other); + return this >= other; + } + get [$isEven]() { + return (this & 1) === 0; + } + get [$isOdd]() { + return (this & 1) === 1; + } + [$toUnsigned](width) { + if (width == null) dart.argumentError(width); + return (this & (1)[$leftShift](width) - 1) >>> 0; + } + [$toSigned](width) { + if (width == null) dart.argumentError(width); + let signMask = (1)[$leftShift](width - 1); + return ((this & signMask - 1) >>> 0) - ((this & signMask) >>> 0); + } + get [$bitLength]() { + let nonneg = this < 0 ? -this - 1 : this; + let wordBits = 32; + while (nonneg >= 4294967296) { + nonneg = (nonneg / 4294967296)[$truncate](); + wordBits = wordBits + 32; + } + return wordBits - _interceptors.JSNumber._clz32(nonneg); + } + static _clz32(uint32) { + return 32 - _interceptors.JSNumber._bitCount(_interceptors.JSNumber._spread(uint32)); + } + [$modPow](e, m) { + if (e == null) dart.argumentError(e); + if (m == null) dart.argumentError(m); + if (e < 0) dart.throw(new core.RangeError.range(e, 0, null, "exponent")); + if (m <= 0) dart.throw(new core.RangeError.range(m, 1, null, "modulus")); + if (e === 0) return 1; + if (this < -9007199254740991.0 || this > 9007199254740991.0) { + dart.throw(new core.RangeError.range(this, -9007199254740991.0, 9007199254740991.0, "receiver")); + } + if (e > 9007199254740991.0) { + dart.throw(new core.RangeError.range(e, 0, 9007199254740991.0, "exponent")); + } + if (m > 9007199254740991.0) { + dart.throw(new core.RangeError.range(e, 1, 9007199254740991.0, "modulus")); + } + if (m > 94906265) { + return core._BigIntImpl.from(this).modPow(core._BigIntImpl.from(e), core._BigIntImpl.from(m)).toInt(); + } + let b = this; + if (b < 0 || b > m) { + b = b[$modulo](m); + } + let r = 1; + while (e > 0) { + if (e[$isOdd]) { + r = (r * b)[$modulo](m); + } + e = (e / 2)[$truncate](); + b = (b * b)[$modulo](m); + } + return r; + } + static _binaryGcd(x, y, inv) { + let s = 1; + if (!inv) { + while (x[$isEven] && y[$isEven]) { + x = (x / 2)[$truncate](); + y = (y / 2)[$truncate](); + s = s * 2; + } + if (y[$isOdd]) { + let t = x; + x = y; + y = t; + } + } + let ac = x[$isEven]; + let u = x; + let v = y; + let a = 1; + let b = 0; + let c = 0; + let d = 1; + do { + while (u[$isEven]) { + u = (u / 2)[$truncate](); + if (ac) { + if (!a[$isEven] || !b[$isEven]) { + a = a + y; + b = b - x; + } + a = (a / 2)[$truncate](); + } else if (!b[$isEven]) { + b = b - x; + } + b = (b / 2)[$truncate](); + } + while (v[$isEven]) { + v = (v / 2)[$truncate](); + if (ac) { + if (!c[$isEven] || !d[$isEven]) { + c = c + y; + d = d - x; + } + c = (c / 2)[$truncate](); + } else if (!d[$isEven]) { + d = d - x; + } + d = (d / 2)[$truncate](); + } + if (u >= v) { + u = u - v; + if (ac) a = a - c; + b = b - d; + } else { + v = v - u; + if (ac) c = c - a; + d = d - b; + } + } while (u !== 0); + if (!inv) return s * v; + if (v !== 1) dart.throw(core.Exception.new("Not coprime")); + if (d < 0) { + d = d + x; + if (d < 0) d = d + x; + } else if (d > x) { + d = d - x; + if (d > x) d = d - x; + } + return d; + } + [$modInverse](m) { + if (m == null) dart.argumentError(m); + if (m <= 0) dart.throw(new core.RangeError.range(m, 1, null, "modulus")); + if (m === 1) return 0; + let t = this; + if (t < 0 || t >= m) t = t[$modulo](m); + if (t === 1) return 1; + if (t === 0 || t[$isEven] && m[$isEven]) { + dart.throw(core.Exception.new("Not coprime")); + } + return _interceptors.JSNumber._binaryGcd(m, t, true); + } + [$gcd](other) { + if (other == null) dart.argumentError(other); + if (!core.int.is(this)) _js_helper.throwArgumentErrorValue(this); + let x = this[$abs](); + let y = other[$abs](); + if (x === 0) return y; + if (y === 0) return x; + if (x === 1 || y === 1) return 1; + return _interceptors.JSNumber._binaryGcd(x, y, false); + } + static _bitCount(i) { + i = _interceptors.JSNumber._shru(i, 0) - (_interceptors.JSNumber._shru(i, 1) & 1431655765); + i = (i & 858993459) + (_interceptors.JSNumber._shru(i, 2) & 858993459); + i = 252645135 & i + _interceptors.JSNumber._shru(i, 4); + i = i + _interceptors.JSNumber._shru(i, 8); + i = i + _interceptors.JSNumber._shru(i, 16); + return i & 63; + } + static _shru(value, shift) { + if (value == null) dart.nullFailed(I[19], 613, 24, "value"); + if (shift == null) dart.nullFailed(I[19], 613, 35, "shift"); + return value >>> shift; + } + static _shrs(value, shift) { + if (value == null) dart.nullFailed(I[19], 616, 24, "value"); + if (shift == null) dart.nullFailed(I[19], 616, 35, "shift"); + return value >> shift; + } + static _ors(a, b) { + if (a == null) dart.nullFailed(I[19], 619, 23, "a"); + if (b == null) dart.nullFailed(I[19], 619, 30, "b"); + return a | b; + } + static _spread(i) { + i = _interceptors.JSNumber._ors(i, _interceptors.JSNumber._shrs(i, 1)); + i = _interceptors.JSNumber._ors(i, _interceptors.JSNumber._shrs(i, 2)); + i = _interceptors.JSNumber._ors(i, _interceptors.JSNumber._shrs(i, 4)); + i = _interceptors.JSNumber._ors(i, _interceptors.JSNumber._shrs(i, 8)); + i = _interceptors.JSNumber._shru(_interceptors.JSNumber._ors(i, _interceptors.JSNumber._shrs(i, 16)), 0); + return i; + } + [$bitNot]() { + return ~this >>> 0; + } + }; + (_interceptors.JSNumber.new = function() { + _interceptors.JSNumber.__proto__.new.call(this); + ; + }).prototype = _interceptors.JSNumber.prototype; + dart.addTypeTests(_interceptors.JSNumber); + dart.addTypeCaches(_interceptors.JSNumber); + _interceptors.JSNumber[dart.implements] = () => [core.int, core.double]; + dart.setMethodSignature(_interceptors.JSNumber, () => ({ + __proto__: dart.getMethods(_interceptors.JSNumber.__proto__), + [$compareTo]: dart.fnType(core.int, [dart.nullable(core.Object)]), + [$remainder]: dart.fnType(_interceptors.JSNumber, [core.num]), + [$abs]: dart.fnType(_interceptors.JSNumber, []), + [$toInt]: dart.fnType(core.int, []), + [$truncate]: dart.fnType(core.int, []), + [$ceil]: dart.fnType(core.int, []), + [$floor]: dart.fnType(core.int, []), + [$round]: dart.fnType(core.int, []), + [$ceilToDouble]: dart.fnType(core.double, []), + [$floorToDouble]: dart.fnType(core.double, []), + [$roundToDouble]: dart.fnType(core.double, []), + [$truncateToDouble]: dart.fnType(core.double, []), + [$clamp]: dart.fnType(core.num, [core.num, core.num]), + [$toDouble]: dart.fnType(core.double, []), + [$toStringAsFixed]: dart.fnType(core.String, [core.int]), + [$toStringAsExponential]: dart.fnType(core.String, [], [dart.nullable(core.int)]), + [$toStringAsPrecision]: dart.fnType(core.String, [core.int]), + [$toRadixString]: dart.fnType(core.String, [core.int]), + [$_negate]: dart.fnType(_interceptors.JSNumber, []), + [$plus]: dart.fnType(_interceptors.JSNumber, [core.num]), + [$minus]: dart.fnType(_interceptors.JSNumber, [core.num]), + [$divide]: dart.fnType(core.double, [core.num]), + [$times]: dart.fnType(_interceptors.JSNumber, [core.num]), + [$modulo]: dart.fnType(_interceptors.JSNumber, [core.num]), + [_isInt32]: dart.fnType(core.bool, [core.num]), + [$floorDivide]: dart.fnType(core.int, [core.num]), + [_tdivSlow]: dart.fnType(core.int, [core.num]), + [$leftShift]: dart.fnType(core.int, [core.num]), + [_shlPositive]: dart.fnType(core.int, [core.num]), + [$rightShift]: dart.fnType(core.int, [core.num]), + [$tripleShift]: dart.fnType(core.int, [core.num]), + [_shrOtherPositive]: dart.fnType(core.int, [core.num]), + [_shrUnsigned]: dart.fnType(core.int, [core.num]), + [$bitAnd]: dart.fnType(core.int, [core.num]), + [$bitOr]: dart.fnType(core.int, [core.num]), + [$bitXor]: dart.fnType(core.int, [core.num]), + [$lessThan]: dart.fnType(core.bool, [core.num]), + [$greaterThan]: dart.fnType(core.bool, [core.num]), + [$lessOrEquals]: dart.fnType(core.bool, [core.num]), + [$greaterOrEquals]: dart.fnType(core.bool, [core.num]), + [$toUnsigned]: dart.fnType(core.int, [core.int]), + [$toSigned]: dart.fnType(core.int, [core.int]), + [$modPow]: dart.fnType(core.int, [core.int, core.int]), + [$modInverse]: dart.fnType(core.int, [core.int]), + [$gcd]: dart.fnType(core.int, [core.int]), + [$bitNot]: dart.fnType(core.int, []) + })); + dart.setGetterSignature(_interceptors.JSNumber, () => ({ + __proto__: dart.getGetters(_interceptors.JSNumber.__proto__), + [$isNegative]: core.bool, + [$isNaN]: core.bool, + [$isInfinite]: core.bool, + [$isFinite]: core.bool, + [$sign]: _interceptors.JSNumber, + [$isEven]: core.bool, + [$isOdd]: core.bool, + [$bitLength]: core.int + })); + dart.setLibraryUri(_interceptors.JSNumber, I[16]); + dart.defineLazy(_interceptors.JSNumber, { + /*_interceptors.JSNumber._MIN_INT32*/get _MIN_INT32() { + return -2147483648; + }, + /*_interceptors.JSNumber._MAX_INT32*/get _MAX_INT32() { + return 2147483647; + } + }, false); + dart.definePrimitiveHashCode(_interceptors.JSNumber.prototype); + dart.registerExtension("Number", _interceptors.JSNumber); + var _defaultSplit = dart.privateName(_interceptors, "_defaultSplit"); + _interceptors.JSString = class JSString extends _interceptors.Interceptor { + [$codeUnitAt](index) { + if (index == null) dart.argumentError(index); + let len = this.length; + if (index < 0 || index >= len) { + dart.throw(new core.IndexError.new(index, this, "index", null, len)); + } + return this.charCodeAt(index); + } + [$allMatches](string, start = 0) { + if (string == null) dart.argumentError(string); + if (start == null) dart.argumentError(start); + let len = string.length; + if (0 > start || start > len) { + dart.throw(new core.RangeError.range(start, 0, len)); + } + return _js_helper.allMatchesInStringUnchecked(this, string, start); + } + [$matchAsPrefix](string, start = 0) { + if (string == null) dart.argumentError(string); + if (start == null) dart.argumentError(start); + let stringLength = string.length; + if (start < 0 || start > stringLength) { + dart.throw(new core.RangeError.range(start, 0, stringLength)); + } + let thisLength = this.length; + if (start + thisLength > stringLength) return null; + for (let i = 0; i < thisLength; i = i + 1) { + if (string[$codeUnitAt](start + i) !== this[$codeUnitAt](i)) { + return null; + } + } + return new _js_helper.StringMatch.new(start, string, this); + } + [$plus](other) { + if (other == null) dart.argumentError(other); + return this + other; + } + [$endsWith](other) { + if (other == null) dart.argumentError(other); + let otherLength = other.length; + let thisLength = this.length; + if (otherLength > thisLength) return false; + return other === this[$substring](thisLength - otherLength); + } + [$replaceAll](from, to) { + if (from == null) dart.nullFailed(I[20], 67, 29, "from"); + if (to == null) dart.argumentError(to); + return _js_helper.stringReplaceAllUnchecked(this, from, to); + } + [$replaceAllMapped](from, convert) { + if (from == null) dart.nullFailed(I[20], 72, 35, "from"); + if (convert == null) dart.nullFailed(I[20], 72, 64, "convert"); + return this[$splitMapJoin](from, {onMatch: convert}); + } + [$splitMapJoin](from, opts) { + if (from == null) dart.nullFailed(I[20], 77, 31, "from"); + let onMatch = opts && 'onMatch' in opts ? opts.onMatch : null; + let onNonMatch = opts && 'onNonMatch' in opts ? opts.onNonMatch : null; + return _js_helper.stringReplaceAllFuncUnchecked(this, from, onMatch, onNonMatch); + } + [$replaceFirst](from, to, startIndex = 0) { + if (from == null) dart.nullFailed(I[20], 83, 31, "from"); + if (to == null) dart.argumentError(to); + if (startIndex == null) dart.argumentError(startIndex); + core.RangeError.checkValueInInterval(startIndex, 0, this.length, "startIndex"); + return _js_helper.stringReplaceFirstUnchecked(this, from, to, startIndex); + } + [$replaceFirstMapped](from, replace, startIndex = 0) { + if (from == null) dart.nullFailed(I[20], 91, 15, "from"); + if (replace == null) dart.argumentError(replace); + if (startIndex == null) dart.argumentError(startIndex); + core.RangeError.checkValueInInterval(startIndex, 0, this.length, "startIndex"); + return _js_helper.stringReplaceFirstMappedUnchecked(this, from, replace, startIndex); + } + [$split](pattern) { + if (pattern == null) dart.argumentError(pattern); + if (typeof pattern == 'string') { + return T$.JSArrayOfString().of(this.split(pattern)); + } else if (_js_helper.JSSyntaxRegExp.is(pattern) && _js_helper.regExpCaptureCount(pattern) === 0) { + let re = _js_helper.regExpGetNative(pattern); + return T$.JSArrayOfString().of(this.split(re)); + } else { + return this[_defaultSplit](pattern); + } + } + [$replaceRange](start, end, replacement) { + if (start == null) dart.argumentError(start); + if (replacement == null) dart.argumentError(replacement); + let e = core.RangeError.checkValidRange(start, end, this.length); + return _js_helper.stringReplaceRangeUnchecked(this, start, e, replacement); + } + [_defaultSplit](pattern) { + if (pattern == null) dart.nullFailed(I[20], 117, 38, "pattern"); + let result = T$.JSArrayOfString().of([]); + let start = 0; + let length = 1; + for (let match of pattern[$allMatches](this)) { + let matchStart = match.start; + let matchEnd = match.end; + length = matchEnd - matchStart; + if (length === 0 && start === matchStart) { + continue; + } + let end = matchStart; + result[$add](this[$substring](start, end)); + start = matchEnd; + } + if (start < this.length || length > 0) { + result[$add](this[$substring](start)); + } + return result; + } + [$startsWith](pattern, index = 0) { + if (pattern == null) dart.nullFailed(I[20], 148, 27, "pattern"); + if (index == null) dart.argumentError(index); + let length = this.length; + if (index < 0 || index > length) { + dart.throw(new core.RangeError.range(index, 0, this.length)); + } + if (typeof pattern == 'string') { + let other = pattern; + let otherLength = other.length; + let endIndex = index + otherLength; + if (endIndex > length) return false; + return other === this.substring(index, endIndex); + } + return pattern[$matchAsPrefix](this, index) != null; + } + [$substring](startIndex, _endIndex = null) { + let t21; + if (startIndex == null) dart.argumentError(startIndex); + let length = this.length; + let endIndex = (t21 = _endIndex, t21 == null ? length : t21); + if (startIndex < 0) dart.throw(new core.RangeError.value(startIndex)); + if (startIndex > dart.notNull(endIndex)) dart.throw(new core.RangeError.value(startIndex)); + if (dart.notNull(endIndex) > length) dart.throw(new core.RangeError.value(endIndex)); + return this.substring(startIndex, endIndex); + } + [$toLowerCase]() { + return this.toLowerCase(); + } + [$toUpperCase]() { + return this.toUpperCase(); + } + static _isWhitespace(codeUnit) { + if (codeUnit < 256) { + switch (codeUnit) { + case 9: + case 10: + case 11: + case 12: + case 13: + case 32: + case 133: + case 160: + { + return true; + } + default: + { + return false; + } + } + } + switch (codeUnit) { + case 5760: + case 8192: + case 8193: + case 8194: + case 8195: + case 8196: + case 8197: + case 8198: + case 8199: + case 8200: + case 8201: + case 8202: + case 8232: + case 8233: + case 8239: + case 8287: + case 12288: + case 65279: + { + return true; + } + default: + { + return false; + } + } + } + static _skipLeadingWhitespace(string, index) { + if (string == null) dart.nullFailed(I[20], 247, 44, "string"); + if (index == null) dart.argumentError(index); + let stringLength = string.length; + while (index < stringLength) { + let codeUnit = string[$codeUnitAt](index); + if (codeUnit !== 32 && codeUnit !== 13 && !_interceptors.JSString._isWhitespace(codeUnit)) { + break; + } + index = index + 1; + } + return index; + } + static _skipTrailingWhitespace(string, index) { + if (string == null) dart.nullFailed(I[20], 266, 45, "string"); + if (index == null) dart.argumentError(index); + while (index > 0) { + let codeUnit = string[$codeUnitAt](index - 1); + if (codeUnit !== 32 && codeUnit !== 13 && !_interceptors.JSString._isWhitespace(codeUnit)) { + break; + } + index = index - 1; + } + return index; + } + [$trim]() { + let result = this.trim(); + let length = result.length; + if (length === 0) return result; + let firstCode = result[$codeUnitAt](0); + let startIndex = 0; + if (firstCode === 133) { + startIndex = _interceptors.JSString._skipLeadingWhitespace(result, 1); + if (startIndex === length) return ""; + } + let endIndex = length; + let lastCode = result[$codeUnitAt](endIndex - 1); + if (lastCode === 133) { + endIndex = _interceptors.JSString._skipTrailingWhitespace(result, endIndex - 1); + } + if (startIndex === 0 && endIndex === length) return result; + return result.substring(startIndex, endIndex); + } + [$trimLeft]() { + let result = null; + let startIndex = 0; + if (typeof this.trimLeft != "undefined") { + result = this.trimLeft(); + if (result.length === 0) return result; + let firstCode = result[$codeUnitAt](0); + if (firstCode === 133) { + startIndex = _interceptors.JSString._skipLeadingWhitespace(result, 1); + } + } else { + result = this; + startIndex = _interceptors.JSString._skipLeadingWhitespace(this, 0); + } + if (startIndex === 0) return result; + if (startIndex === result.length) return ""; + return result.substring(startIndex); + } + [$trimRight]() { + let result = null; + let endIndex = 0; + if (typeof this.trimRight != "undefined") { + result = this.trimRight(); + endIndex = result.length; + if (endIndex === 0) return result; + let lastCode = result[$codeUnitAt](endIndex - 1); + if (lastCode === 133) { + endIndex = _interceptors.JSString._skipTrailingWhitespace(result, endIndex - 1); + } + } else { + result = this; + endIndex = _interceptors.JSString._skipTrailingWhitespace(this, this.length); + } + if (endIndex === result.length) return result; + if (endIndex === 0) return ""; + return result.substring(0, endIndex); + } + [$times](times) { + if (times == null) dart.argumentError(times); + if (0 >= times) return ""; + if (times === 1 || this.length === 0) return this; + if (times !== times >>> 0) { + dart.throw(C[17] || CT.C17); + } + let result = ""; + let s = this; + while (true) { + if ((times & 1) === 1) result = s + result; + times = times >>> 1; + if (times === 0) break; + s = s + s; + } + return result; + } + [$padLeft](width, padding = " ") { + if (width == null) dart.argumentError(width); + if (padding == null) dart.nullFailed(I[20], 390, 48, "padding"); + let delta = width - this.length; + if (delta <= 0) return this; + return padding[$times](delta) + this; + } + [$padRight](width, padding = " ") { + if (width == null) dart.argumentError(width); + if (padding == null) dart.nullFailed(I[20], 397, 49, "padding"); + let delta = width - this.length; + if (delta <= 0) return this; + return this[$plus](padding[$times](delta)); + } + get [$codeUnits]() { + return new _internal.CodeUnits.new(this); + } + get [$runes]() { + return new core.Runes.new(this); + } + [$indexOf](pattern, start = 0) { + if (pattern == null) dart.argumentError(pattern); + if (start == null) dart.argumentError(start); + if (start < 0 || start > this.length) { + dart.throw(new core.RangeError.range(start, 0, this.length)); + } + if (typeof pattern == 'string') { + return _js_helper.stringIndexOfStringUnchecked(this, pattern, start); + } + if (_js_helper.JSSyntaxRegExp.is(pattern)) { + let re = pattern; + let match = _js_helper.firstMatchAfter(re, this, start); + return match == null ? -1 : match.start; + } + let length = this.length; + for (let i = start; i <= length; i = i + 1) { + if (pattern[$matchAsPrefix](this, i) != null) return i; + } + return -1; + } + [$lastIndexOf](pattern, _start = null) { + let t21; + if (pattern == null) dart.argumentError(pattern); + let length = this.length; + let start = (t21 = _start, t21 == null ? length : t21); + if (dart.notNull(start) < 0 || dart.notNull(start) > length) { + dart.throw(new core.RangeError.range(start, 0, length)); + } + if (typeof pattern == 'string') { + let other = pattern; + if (dart.notNull(start) + other.length > length) { + start = length - other.length; + } + return _js_helper.stringLastIndexOfUnchecked(this, other, start); + } + for (let i = start; dart.notNull(i) >= 0; i = dart.notNull(i) - 1) { + if (pattern[$matchAsPrefix](this, i) != null) return i; + } + return -1; + } + [$contains](other, startIndex = 0) { + if (other == null) dart.argumentError(other); + if (startIndex == null) dart.argumentError(startIndex); + if (startIndex < 0 || startIndex > this.length) { + dart.throw(new core.RangeError.range(startIndex, 0, this.length)); + } + return _js_helper.stringContainsUnchecked(this, other, startIndex); + } + get [$isEmpty]() { + return this.length === 0; + } + get [$isNotEmpty]() { + return !this[$isEmpty]; + } + [$compareTo](other) { + core.String.as(other); + if (other == null) dart.argumentError(other); + return this === other ? 0 : this < other ? -1 : 1; + } + [$toString]() { + return this; + } + get [$hashCode]() { + let hash = 0; + let length = this.length; + for (let i = 0; i < length; i = i + 1) { + hash = 536870911 & hash + this.charCodeAt(i); + hash = 536870911 & hash + ((524287 & hash) << 10); + hash = hash ^ hash >> 6; + } + hash = 536870911 & hash + ((67108863 & hash) << 3); + hash = hash ^ hash >> 11; + return 536870911 & hash + ((16383 & hash) << 15); + } + get [$runtimeType]() { + return dart.wrapType(core.String); + } + get [$length]() { + return this.length; + } + [$_get](index) { + if (index == null) dart.argumentError(index); + if (index >= this.length || index < 0) { + dart.throw(_js_helper.diagnoseIndexError(this, index)); + } + return this[index]; + } + }; + (_interceptors.JSString.new = function() { + _interceptors.JSString.__proto__.new.call(this); + ; + }).prototype = _interceptors.JSString.prototype; + dart.addTypeTests(_interceptors.JSString); + dart.addTypeCaches(_interceptors.JSString); + _interceptors.JSString[dart.implements] = () => [core.String, _interceptors.JSIndexable$(core.String)]; + dart.setMethodSignature(_interceptors.JSString, () => ({ + __proto__: dart.getMethods(_interceptors.JSString.__proto__), + [$codeUnitAt]: dart.fnType(core.int, [core.int]), + [$allMatches]: dart.fnType(core.Iterable$(core.Match), [core.String], [core.int]), + [$matchAsPrefix]: dart.fnType(dart.nullable(core.Match), [core.String], [core.int]), + [$plus]: dart.fnType(core.String, [core.String]), + [$endsWith]: dart.fnType(core.bool, [core.String]), + [$replaceAll]: dart.fnType(core.String, [core.Pattern, core.String]), + [$replaceAllMapped]: dart.fnType(core.String, [core.Pattern, dart.fnType(core.String, [core.Match])]), + [$splitMapJoin]: dart.fnType(core.String, [core.Pattern], {onMatch: dart.nullable(dart.fnType(core.String, [core.Match])), onNonMatch: dart.nullable(dart.fnType(core.String, [core.String]))}, {}), + [$replaceFirst]: dart.fnType(core.String, [core.Pattern, core.String], [core.int]), + [$replaceFirstMapped]: dart.fnType(core.String, [core.Pattern, dart.fnType(core.String, [core.Match])], [core.int]), + [$split]: dart.fnType(core.List$(core.String), [core.Pattern]), + [$replaceRange]: dart.fnType(core.String, [core.int, dart.nullable(core.int), core.String]), + [_defaultSplit]: dart.fnType(core.List$(core.String), [core.Pattern]), + [$startsWith]: dart.fnType(core.bool, [core.Pattern], [core.int]), + [$substring]: dart.fnType(core.String, [core.int], [dart.nullable(core.int)]), + [$toLowerCase]: dart.fnType(core.String, []), + [$toUpperCase]: dart.fnType(core.String, []), + [$trim]: dart.fnType(core.String, []), + [$trimLeft]: dart.fnType(core.String, []), + [$trimRight]: dart.fnType(core.String, []), + [$times]: dart.fnType(core.String, [core.int]), + [$padLeft]: dart.fnType(core.String, [core.int], [core.String]), + [$padRight]: dart.fnType(core.String, [core.int], [core.String]), + [$indexOf]: dart.fnType(core.int, [core.Pattern], [core.int]), + [$lastIndexOf]: dart.fnType(core.int, [core.Pattern], [dart.nullable(core.int)]), + [$contains]: dart.fnType(core.bool, [core.Pattern], [core.int]), + [$compareTo]: dart.fnType(core.int, [dart.nullable(core.Object)]), + [$_get]: dart.fnType(core.String, [core.int]) + })); + dart.setGetterSignature(_interceptors.JSString, () => ({ + __proto__: dart.getGetters(_interceptors.JSString.__proto__), + [$codeUnits]: core.List$(core.int), + [$runes]: core.Runes, + [$isEmpty]: core.bool, + [$isNotEmpty]: core.bool, + [$length]: core.int + })); + dart.setLibraryUri(_interceptors.JSString, I[16]); + dart.definePrimitiveHashCode(_interceptors.JSString.prototype); + dart.registerExtension("String", _interceptors.JSString); + _interceptors.getInterceptor = function getInterceptor(obj) { + return obj; + }; + _interceptors.findInterceptorConstructorForType = function findInterceptorConstructorForType(type) { + }; + _interceptors.findConstructorForNativeSubclassType = function findConstructorForNativeSubclassType(type, name) { + if (name == null) dart.nullFailed(I[17], 239, 57, "name"); + }; + _interceptors.getNativeInterceptor = function getNativeInterceptor(object) { + }; + _interceptors.setDispatchProperty = function setDispatchProperty(object, value) { + }; + _interceptors.findInterceptorForType = function findInterceptorForType(type) { + }; + dart.defineLazy(_interceptors, { + /*_interceptors.jsNull*/get jsNull() { + return new _interceptors.JSNull.new(); + } + }, false); + var _string$ = dart.privateName(_internal, "_string"); + var _closeGap = dart.privateName(collection, "_closeGap"); + var _filter = dart.privateName(collection, "_filter"); + const _is_ListMixin_default = Symbol('_is_ListMixin_default'); + collection.ListMixin$ = dart.generic(E => { + var ListIteratorOfE = () => (ListIteratorOfE = dart.constFn(_internal.ListIterator$(E)))(); + var IterableOfE = () => (IterableOfE = dart.constFn(core.Iterable$(E)))(); + var FollowedByIterableOfE = () => (FollowedByIterableOfE = dart.constFn(_internal.FollowedByIterable$(E)))(); + var VoidToE = () => (VoidToE = dart.constFn(dart.fnType(E, [])))(); + var VoidToNE = () => (VoidToNE = dart.constFn(dart.nullable(VoidToE())))(); + var ETodynamic = () => (ETodynamic = dart.constFn(dart.fnType(dart.dynamic, [E])))(); + var WhereIterableOfE = () => (WhereIterableOfE = dart.constFn(_internal.WhereIterable$(E)))(); + var EAndEToE = () => (EAndEToE = dart.constFn(dart.fnType(E, [E, E])))(); + var SubListIterableOfE = () => (SubListIterableOfE = dart.constFn(_internal.SubListIterable$(E)))(); + var SkipWhileIterableOfE = () => (SkipWhileIterableOfE = dart.constFn(_internal.SkipWhileIterable$(E)))(); + var TakeWhileIterableOfE = () => (TakeWhileIterableOfE = dart.constFn(_internal.TakeWhileIterable$(E)))(); + var ListOfE = () => (ListOfE = dart.constFn(core.List$(E)))(); + var _HashSetOfE = () => (_HashSetOfE = dart.constFn(collection._HashSet$(E)))(); + var JSArrayOfE = () => (JSArrayOfE = dart.constFn(_interceptors.JSArray$(E)))(); + var ListMapViewOfE = () => (ListMapViewOfE = dart.constFn(_internal.ListMapView$(E)))(); + var EN = () => (EN = dart.constFn(dart.nullable(E)))(); + var ReversedListIterableOfE = () => (ReversedListIterableOfE = dart.constFn(_internal.ReversedListIterable$(E)))(); + class ListMixin extends core.Object { + get iterator() { + return new (ListIteratorOfE()).new(this); + } + [Symbol.iterator]() { + return new dart.JsIterator(this[$iterator]); + } + elementAt(index) { + if (index == null) dart.nullFailed(I[23], 78, 19, "index"); + return this[$_get](index); + } + followedBy(other) { + IterableOfE().as(other); + if (other == null) dart.nullFailed(I[23], 80, 38, "other"); + return FollowedByIterableOfE().firstEfficient(this, other); + } + forEach(action) { + if (action == null) dart.nullFailed(I[23], 83, 21, "action"); + let length = this[$length]; + for (let i = 0; i < dart.notNull(length); i = i + 1) { + action(this[$_get](i)); + if (length != this[$length]) { + dart.throw(new core.ConcurrentModificationError.new(this)); + } + } + } + get isEmpty() { + return this[$length] === 0; + } + get isNotEmpty() { + return !dart.test(this[$isEmpty]); + } + get first() { + if (this[$length] === 0) dart.throw(_internal.IterableElementError.noElement()); + return this[$_get](0); + } + set first(value) { + E.as(value); + if (this[$length] === 0) dart.throw(_internal.IterableElementError.noElement()); + this[$_set](0, value); + } + get last() { + if (this[$length] === 0) dart.throw(_internal.IterableElementError.noElement()); + return this[$_get](dart.notNull(this[$length]) - 1); + } + set last(value) { + E.as(value); + if (this[$length] === 0) dart.throw(_internal.IterableElementError.noElement()); + this[$_set](dart.notNull(this[$length]) - 1, value); + } + get single() { + if (this[$length] === 0) dart.throw(_internal.IterableElementError.noElement()); + if (dart.notNull(this[$length]) > 1) dart.throw(_internal.IterableElementError.tooMany()); + return this[$_get](0); + } + contains(element) { + let length = this[$length]; + for (let i = 0; i < dart.notNull(length); i = i + 1) { + if (dart.equals(this[$_get](i), element)) return true; + if (length != this[$length]) { + dart.throw(new core.ConcurrentModificationError.new(this)); + } + } + return false; + } + every(test) { + if (test == null) dart.nullFailed(I[23], 135, 19, "test"); + let length = this[$length]; + for (let i = 0; i < dart.notNull(length); i = i + 1) { + if (!dart.test(test(this[$_get](i)))) return false; + if (length != this[$length]) { + dart.throw(new core.ConcurrentModificationError.new(this)); + } + } + return true; + } + any(test) { + if (test == null) dart.nullFailed(I[23], 146, 17, "test"); + let length = this[$length]; + for (let i = 0; i < dart.notNull(length); i = i + 1) { + if (dart.test(test(this[$_get](i)))) return true; + if (length != this[$length]) { + dart.throw(new core.ConcurrentModificationError.new(this)); + } + } + return false; + } + firstWhere(test, opts) { + if (test == null) dart.nullFailed(I[23], 157, 21, "test"); + let orElse = opts && 'orElse' in opts ? opts.orElse : null; + VoidToNE().as(orElse); + let length = this[$length]; + for (let i = 0; i < dart.notNull(length); i = i + 1) { + let element = this[$_get](i); + if (dart.test(test(element))) return element; + if (length != this[$length]) { + dart.throw(new core.ConcurrentModificationError.new(this)); + } + } + if (orElse != null) return orElse(); + dart.throw(_internal.IterableElementError.noElement()); + } + lastWhere(test, opts) { + if (test == null) dart.nullFailed(I[23], 170, 20, "test"); + let orElse = opts && 'orElse' in opts ? opts.orElse : null; + VoidToNE().as(orElse); + let length = this[$length]; + for (let i = dart.notNull(length) - 1; i >= 0; i = i - 1) { + let element = this[$_get](i); + if (dart.test(test(element))) return element; + if (length != this[$length]) { + dart.throw(new core.ConcurrentModificationError.new(this)); + } + } + if (orElse != null) return orElse(); + dart.throw(_internal.IterableElementError.noElement()); + } + singleWhere(test, opts) { + if (test == null) dart.nullFailed(I[23], 183, 22, "test"); + let orElse = opts && 'orElse' in opts ? opts.orElse : null; + VoidToNE().as(orElse); + let length = this[$length]; + let match = null; + let match$35isSet = false; + function match$35get() { + return match$35isSet ? match : dart.throw(new _internal.LateError.localNI("match")); + } + dart.fn(match$35get, VoidToE()); + function match$35set(t24) { + match$35isSet = true; + return match = t24; + } + dart.fn(match$35set, ETodynamic()); + let matchFound = false; + for (let i = 0; i < dart.notNull(length); i = i + 1) { + let element = this[$_get](i); + if (dart.test(test(element))) { + if (matchFound) { + dart.throw(_internal.IterableElementError.tooMany()); + } + matchFound = true; + match$35set(element); + } + if (length != this[$length]) { + dart.throw(new core.ConcurrentModificationError.new(this)); + } + } + if (matchFound) return match$35get(); + if (orElse != null) return orElse(); + dart.throw(_internal.IterableElementError.noElement()); + } + join(separator = "") { + let t26; + if (separator == null) dart.nullFailed(I[23], 205, 23, "separator"); + if (this[$length] === 0) return ""; + let buffer = (t26 = new core.StringBuffer.new(), (() => { + t26.writeAll(this, separator); + return t26; + })()); + return dart.toString(buffer); + } + where(test) { + if (test == null) dart.nullFailed(I[23], 211, 26, "test"); + return new (WhereIterableOfE()).new(this, test); + } + whereType(T) { + return new (_internal.WhereTypeIterable$(T)).new(this); + } + map(T, f) { + if (f == null) dart.nullFailed(I[23], 215, 24, "f"); + return new (_internal.MappedListIterable$(E, T)).new(this, f); + } + expand(T, f) { + if (f == null) dart.nullFailed(I[23], 217, 37, "f"); + return new (_internal.ExpandIterable$(E, T)).new(this, f); + } + reduce(combine) { + EAndEToE().as(combine); + if (combine == null) dart.nullFailed(I[23], 220, 14, "combine"); + let length = this[$length]; + if (length === 0) dart.throw(_internal.IterableElementError.noElement()); + let value = this[$_get](0); + for (let i = 1; i < dart.notNull(length); i = i + 1) { + value = combine(value, this[$_get](i)); + if (length != this[$length]) { + dart.throw(new core.ConcurrentModificationError.new(this)); + } + } + return value; + } + fold(T, initialValue, combine) { + if (combine == null) dart.nullFailed(I[23], 233, 31, "combine"); + let value = initialValue; + let length = this[$length]; + for (let i = 0; i < dart.notNull(length); i = i + 1) { + value = combine(value, this[$_get](i)); + if (length != this[$length]) { + dart.throw(new core.ConcurrentModificationError.new(this)); + } + } + return value; + } + skip(count) { + if (count == null) dart.nullFailed(I[23], 245, 24, "count"); + return new (SubListIterableOfE()).new(this, count, null); + } + skipWhile(test) { + if (test == null) dart.nullFailed(I[23], 247, 30, "test"); + return new (SkipWhileIterableOfE()).new(this, test); + } + take(count) { + if (count == null) dart.nullFailed(I[23], 251, 24, "count"); + return new (SubListIterableOfE()).new(this, 0, _internal.checkNotNullable(core.int, count, "count")); + } + takeWhile(test) { + if (test == null) dart.nullFailed(I[23], 254, 30, "test"); + return new (TakeWhileIterableOfE()).new(this, test); + } + toList(opts) { + let growable = opts && 'growable' in opts ? opts.growable : true; + if (growable == null) dart.nullFailed(I[23], 258, 24, "growable"); + if (dart.test(this[$isEmpty])) return ListOfE().empty({growable: growable}); + let first = this[$_get](0); + let result = ListOfE().filled(this[$length], first, {growable: growable}); + for (let i = 1; i < dart.notNull(this[$length]); i = i + 1) { + result[$_set](i, this[$_get](i)); + } + return result; + } + toSet() { + let result = new (_HashSetOfE()).new(); + for (let i = 0; i < dart.notNull(this[$length]); i = i + 1) { + result.add(this[$_get](i)); + } + return result; + } + add(element) { + let t26; + E.as(element); + this[$_set]((t26 = this[$length], this[$length] = dart.notNull(t26) + 1, t26), element); + } + addAll(iterable) { + IterableOfE().as(iterable); + if (iterable == null) dart.nullFailed(I[23], 282, 27, "iterable"); + let i = this[$length]; + for (let element of iterable) { + if (!(this[$length] == i || dart.throw(new core.ConcurrentModificationError.new(this)))) dart.assertFailed(null, I[23], 285, 14, "this.length == i || (throw ConcurrentModificationError(this))"); + this[$add](element); + i = dart.notNull(i) + 1; + } + } + remove(element) { + for (let i = 0; i < dart.notNull(this[$length]); i = i + 1) { + if (dart.equals(this[$_get](i), element)) { + this[_closeGap](i, i + 1); + return true; + } + } + return false; + } + [_closeGap](start, end) { + if (start == null) dart.nullFailed(I[23], 303, 22, "start"); + if (end == null) dart.nullFailed(I[23], 303, 33, "end"); + let length = this[$length]; + if (!(0 <= dart.notNull(start))) dart.assertFailed(null, I[23], 305, 12, "0 <= start"); + if (!(dart.notNull(start) < dart.notNull(end))) dart.assertFailed(null, I[23], 306, 12, "start < end"); + if (!(dart.notNull(end) <= dart.notNull(length))) dart.assertFailed(null, I[23], 307, 12, "end <= length"); + let size = dart.notNull(end) - dart.notNull(start); + for (let i = end; dart.notNull(i) < dart.notNull(length); i = dart.notNull(i) + 1) { + this[$_set](dart.notNull(i) - size, this[$_get](i)); + } + this[$length] = dart.notNull(length) - size; + } + removeWhere(test) { + if (test == null) dart.nullFailed(I[23], 315, 25, "test"); + this[_filter](test, false); + } + retainWhere(test) { + if (test == null) dart.nullFailed(I[23], 319, 25, "test"); + this[_filter](test, true); + } + [_filter](test, retainMatching) { + if (test == null) dart.nullFailed(I[23], 323, 21, "test"); + if (retainMatching == null) dart.nullFailed(I[23], 323, 43, "retainMatching"); + let retained = JSArrayOfE().of([]); + let length = this[$length]; + for (let i = 0; i < dart.notNull(length); i = i + 1) { + let element = this[$_get](i); + if (test(element) == retainMatching) { + retained[$add](element); + } + if (length != this[$length]) { + dart.throw(new core.ConcurrentModificationError.new(this)); + } + } + if (retained[$length] != this[$length]) { + this[$setRange](0, retained[$length], retained); + this[$length] = retained[$length]; + } + } + clear() { + this[$length] = 0; + } + cast(R) { + return core.List.castFrom(E, R, this); + } + removeLast() { + if (this[$length] === 0) { + dart.throw(_internal.IterableElementError.noElement()); + } + let result = this[$_get](dart.notNull(this[$length]) - 1); + this[$length] = dart.notNull(this[$length]) - 1; + return result; + } + sort(compare = null) { + let t26; + _internal.Sort.sort(E, this, (t26 = compare, t26 == null ? C[18] || CT.C18 : t26)); + } + static _compareAny(a, b) { + return core.Comparable.compare(core.Comparable.as(a), core.Comparable.as(b)); + } + shuffle(random = null) { + random == null ? random = math.Random.new() : null; + if (random == null) dart.throw("!"); + let length = this[$length]; + while (dart.notNull(length) > 1) { + let pos = random.nextInt(length); + length = dart.notNull(length) - 1; + let tmp = this[$_get](length); + this[$_set](length, this[$_get](pos)); + this[$_set](pos, tmp); + } + } + asMap() { + return new (ListMapViewOfE()).new(this); + } + ['+'](other) { + ListOfE().as(other); + if (other == null) dart.nullFailed(I[23], 381, 30, "other"); + return (() => { + let t26 = ListOfE().of(this); + t26[$addAll](other); + return t26; + })(); + } + sublist(start, end = null) { + if (start == null) dart.nullFailed(I[23], 383, 23, "start"); + let listLength = this[$length]; + end == null ? end = listLength : null; + if (end == null) dart.throw("!"); + core.RangeError.checkValidRange(start, end, listLength); + return ListOfE().from(this[$getRange](start, end)); + } + getRange(start, end) { + if (start == null) dart.nullFailed(I[23], 392, 28, "start"); + if (end == null) dart.nullFailed(I[23], 392, 39, "end"); + core.RangeError.checkValidRange(start, end, this[$length]); + return new (SubListIterableOfE()).new(this, start, end); + } + removeRange(start, end) { + if (start == null) dart.nullFailed(I[23], 397, 24, "start"); + if (end == null) dart.nullFailed(I[23], 397, 35, "end"); + core.RangeError.checkValidRange(start, end, this[$length]); + if (dart.notNull(end) > dart.notNull(start)) { + this[_closeGap](start, end); + } + } + fillRange(start, end, fill = null) { + if (start == null) dart.nullFailed(I[23], 404, 22, "start"); + if (end == null) dart.nullFailed(I[23], 404, 33, "end"); + EN().as(fill); + let value = E.as(fill); + core.RangeError.checkValidRange(start, end, this[$length]); + for (let i = start; dart.notNull(i) < dart.notNull(end); i = dart.notNull(i) + 1) { + this[$_set](i, value); + } + } + setRange(start, end, iterable, skipCount = 0) { + if (start == null) dart.nullFailed(I[23], 414, 21, "start"); + if (end == null) dart.nullFailed(I[23], 414, 32, "end"); + IterableOfE().as(iterable); + if (iterable == null) dart.nullFailed(I[23], 414, 49, "iterable"); + if (skipCount == null) dart.nullFailed(I[23], 414, 64, "skipCount"); + core.RangeError.checkValidRange(start, end, this[$length]); + let length = dart.notNull(end) - dart.notNull(start); + if (length === 0) return; + core.RangeError.checkNotNegative(skipCount, "skipCount"); + let otherList = null; + let otherStart = null; + if (ListOfE().is(iterable)) { + otherList = iterable; + otherStart = skipCount; + } else { + otherList = iterable[$skip](skipCount)[$toList]({growable: false}); + otherStart = 0; + } + if (dart.notNull(otherStart) + length > dart.notNull(otherList[$length])) { + dart.throw(_internal.IterableElementError.tooFew()); + } + if (dart.notNull(otherStart) < dart.notNull(start)) { + for (let i = length - 1; i >= 0; i = i - 1) { + this[$_set](dart.notNull(start) + i, otherList[$_get](dart.notNull(otherStart) + i)); + } + } else { + for (let i = 0; i < length; i = i + 1) { + this[$_set](dart.notNull(start) + i, otherList[$_get](dart.notNull(otherStart) + i)); + } + } + } + replaceRange(start, end, newContents) { + if (start == null) dart.nullFailed(I[23], 445, 25, "start"); + if (end == null) dart.nullFailed(I[23], 445, 36, "end"); + IterableOfE().as(newContents); + if (newContents == null) dart.nullFailed(I[23], 445, 53, "newContents"); + core.RangeError.checkValidRange(start, end, this[$length]); + if (start == this[$length]) { + this[$addAll](newContents); + return; + } + if (!_internal.EfficientLengthIterable.is(newContents)) { + newContents = newContents[$toList](); + } + let removeLength = dart.notNull(end) - dart.notNull(start); + let insertLength = newContents[$length]; + if (removeLength >= dart.notNull(insertLength)) { + let insertEnd = dart.notNull(start) + dart.notNull(insertLength); + this[$setRange](start, insertEnd, newContents); + if (removeLength > dart.notNull(insertLength)) { + this[_closeGap](insertEnd, end); + } + } else if (end == this[$length]) { + let i = start; + for (let element of newContents) { + if (dart.notNull(i) < dart.notNull(end)) { + this[$_set](i, element); + } else { + this[$add](element); + } + i = dart.notNull(i) + 1; + } + } else { + let delta = dart.notNull(insertLength) - removeLength; + let oldLength = this[$length]; + let insertEnd = dart.notNull(start) + dart.notNull(insertLength); + for (let i = dart.notNull(oldLength) - delta; i < dart.notNull(oldLength); i = i + 1) { + this[$add](this[$_get](i > 0 ? i : 0)); + } + if (insertEnd < dart.notNull(oldLength)) { + this[$setRange](insertEnd, oldLength, this, end); + } + this[$setRange](start, insertEnd, newContents); + } + } + indexOf(element, start = 0) { + if (start == null) dart.nullFailed(I[23], 486, 37, "start"); + if (dart.notNull(start) < 0) start = 0; + for (let i = start; dart.notNull(i) < dart.notNull(this[$length]); i = dart.notNull(i) + 1) { + if (dart.equals(this[$_get](i), element)) return i; + } + return -1; + } + indexWhere(test, start = 0) { + if (test == null) dart.nullFailed(I[23], 494, 23, "test"); + if (start == null) dart.nullFailed(I[23], 494, 45, "start"); + if (dart.notNull(start) < 0) start = 0; + for (let i = start; dart.notNull(i) < dart.notNull(this[$length]); i = dart.notNull(i) + 1) { + if (dart.test(test(this[$_get](i)))) return i; + } + return -1; + } + lastIndexOf(element, start = null) { + if (start == null || dart.notNull(start) >= dart.notNull(this[$length])) start = dart.notNull(this[$length]) - 1; + if (start == null) dart.throw("!"); + for (let i = start; dart.notNull(i) >= 0; i = dart.notNull(i) - 1) { + if (dart.equals(this[$_get](i), element)) return i; + } + return -1; + } + lastIndexWhere(test, start = null) { + if (test == null) dart.nullFailed(I[23], 514, 27, "test"); + if (start == null || dart.notNull(start) >= dart.notNull(this[$length])) start = dart.notNull(this[$length]) - 1; + if (start == null) dart.throw("!"); + for (let i = start; dart.notNull(i) >= 0; i = dart.notNull(i) - 1) { + if (dart.test(test(this[$_get](i)))) return i; + } + return -1; + } + insert(index, element) { + if (index == null) dart.nullFailed(I[23], 526, 19, "index"); + E.as(element); + _internal.checkNotNullable(core.int, index, "index"); + let length = this[$length]; + core.RangeError.checkValueInInterval(index, 0, length, "index"); + this[$add](element); + if (index != length) { + this[$setRange](dart.notNull(index) + 1, dart.notNull(length) + 1, this, index); + this[$_set](index, element); + } + } + removeAt(index) { + if (index == null) dart.nullFailed(I[23], 537, 18, "index"); + let result = this[$_get](index); + this[_closeGap](index, dart.notNull(index) + 1); + return result; + } + insertAll(index, iterable) { + if (index == null) dart.nullFailed(I[23], 543, 22, "index"); + IterableOfE().as(iterable); + if (iterable == null) dart.nullFailed(I[23], 543, 41, "iterable"); + core.RangeError.checkValueInInterval(index, 0, this[$length], "index"); + if (index == this[$length]) { + this[$addAll](iterable); + return; + } + if (!_internal.EfficientLengthIterable.is(iterable) || iterable === this) { + iterable = iterable[$toList](); + } + let insertionLength = iterable[$length]; + if (insertionLength === 0) { + return; + } + let oldLength = this[$length]; + for (let i = dart.notNull(oldLength) - dart.notNull(insertionLength); i < dart.notNull(oldLength); i = i + 1) { + this[$add](this[$_get](i > 0 ? i : 0)); + } + if (iterable[$length] != insertionLength) { + this[$length] = dart.notNull(this[$length]) - dart.notNull(insertionLength); + dart.throw(new core.ConcurrentModificationError.new(iterable)); + } + let oldCopyStart = dart.notNull(index) + dart.notNull(insertionLength); + if (oldCopyStart < dart.notNull(oldLength)) { + this[$setRange](oldCopyStart, oldLength, this, index); + } + this[$setAll](index, iterable); + } + setAll(index, iterable) { + let t27; + if (index == null) dart.nullFailed(I[23], 576, 19, "index"); + IterableOfE().as(iterable); + if (iterable == null) dart.nullFailed(I[23], 576, 38, "iterable"); + if (core.List.is(iterable)) { + this[$setRange](index, dart.notNull(index) + dart.notNull(iterable[$length]), iterable); + } else { + for (let element of iterable) { + this[$_set]((t27 = index, index = dart.notNull(t27) + 1, t27), element); + } + } + } + get reversed() { + return new (ReversedListIterableOfE()).new(this); + } + toString() { + return collection.IterableBase.iterableToFullString(this, "[", "]"); + } + } + (ListMixin.new = function() { + ; + }).prototype = ListMixin.prototype; + ListMixin.prototype[dart.isList] = true; + dart.addTypeTests(ListMixin); + ListMixin.prototype[_is_ListMixin_default] = true; + dart.addTypeCaches(ListMixin); + ListMixin[dart.implements] = () => [core.List$(E)]; + dart.setMethodSignature(ListMixin, () => ({ + __proto__: dart.getMethods(ListMixin.__proto__), + elementAt: dart.fnType(E, [core.int]), + [$elementAt]: dart.fnType(E, [core.int]), + followedBy: dart.fnType(core.Iterable$(E), [dart.nullable(core.Object)]), + [$followedBy]: dart.fnType(core.Iterable$(E), [dart.nullable(core.Object)]), + forEach: dart.fnType(dart.void, [dart.fnType(dart.void, [E])]), + [$forEach]: dart.fnType(dart.void, [dart.fnType(dart.void, [E])]), + contains: dart.fnType(core.bool, [dart.nullable(core.Object)]), + [$contains]: dart.fnType(core.bool, [dart.nullable(core.Object)]), + every: dart.fnType(core.bool, [dart.fnType(core.bool, [E])]), + [$every]: dart.fnType(core.bool, [dart.fnType(core.bool, [E])]), + any: dart.fnType(core.bool, [dart.fnType(core.bool, [E])]), + [$any]: dart.fnType(core.bool, [dart.fnType(core.bool, [E])]), + firstWhere: dart.fnType(E, [dart.fnType(core.bool, [E])], {orElse: dart.nullable(core.Object)}, {}), + [$firstWhere]: dart.fnType(E, [dart.fnType(core.bool, [E])], {orElse: dart.nullable(core.Object)}, {}), + lastWhere: dart.fnType(E, [dart.fnType(core.bool, [E])], {orElse: dart.nullable(core.Object)}, {}), + [$lastWhere]: dart.fnType(E, [dart.fnType(core.bool, [E])], {orElse: dart.nullable(core.Object)}, {}), + singleWhere: dart.fnType(E, [dart.fnType(core.bool, [E])], {orElse: dart.nullable(core.Object)}, {}), + [$singleWhere]: dart.fnType(E, [dart.fnType(core.bool, [E])], {orElse: dart.nullable(core.Object)}, {}), + join: dart.fnType(core.String, [], [core.String]), + [$join]: dart.fnType(core.String, [], [core.String]), + where: dart.fnType(core.Iterable$(E), [dart.fnType(core.bool, [E])]), + [$where]: dart.fnType(core.Iterable$(E), [dart.fnType(core.bool, [E])]), + whereType: dart.gFnType(T => [core.Iterable$(T), []], T => [dart.nullable(core.Object)]), + [$whereType]: dart.gFnType(T => [core.Iterable$(T), []], T => [dart.nullable(core.Object)]), + map: dart.gFnType(T => [core.Iterable$(T), [dart.fnType(T, [E])]], T => [dart.nullable(core.Object)]), + [$map]: dart.gFnType(T => [core.Iterable$(T), [dart.fnType(T, [E])]], T => [dart.nullable(core.Object)]), + expand: dart.gFnType(T => [core.Iterable$(T), [dart.fnType(core.Iterable$(T), [E])]], T => [dart.nullable(core.Object)]), + [$expand]: dart.gFnType(T => [core.Iterable$(T), [dart.fnType(core.Iterable$(T), [E])]], T => [dart.nullable(core.Object)]), + reduce: dart.fnType(E, [dart.nullable(core.Object)]), + [$reduce]: dart.fnType(E, [dart.nullable(core.Object)]), + fold: dart.gFnType(T => [T, [T, dart.fnType(T, [T, E])]], T => [dart.nullable(core.Object)]), + [$fold]: dart.gFnType(T => [T, [T, dart.fnType(T, [T, E])]], T => [dart.nullable(core.Object)]), + skip: dart.fnType(core.Iterable$(E), [core.int]), + [$skip]: dart.fnType(core.Iterable$(E), [core.int]), + skipWhile: dart.fnType(core.Iterable$(E), [dart.fnType(core.bool, [E])]), + [$skipWhile]: dart.fnType(core.Iterable$(E), [dart.fnType(core.bool, [E])]), + take: dart.fnType(core.Iterable$(E), [core.int]), + [$take]: dart.fnType(core.Iterable$(E), [core.int]), + takeWhile: dart.fnType(core.Iterable$(E), [dart.fnType(core.bool, [E])]), + [$takeWhile]: dart.fnType(core.Iterable$(E), [dart.fnType(core.bool, [E])]), + toList: dart.fnType(core.List$(E), [], {growable: core.bool}, {}), + [$toList]: dart.fnType(core.List$(E), [], {growable: core.bool}, {}), + toSet: dart.fnType(core.Set$(E), []), + [$toSet]: dart.fnType(core.Set$(E), []), + add: dart.fnType(dart.void, [dart.nullable(core.Object)]), + [$add]: dart.fnType(dart.void, [dart.nullable(core.Object)]), + addAll: dart.fnType(dart.void, [dart.nullable(core.Object)]), + [$addAll]: dart.fnType(dart.void, [dart.nullable(core.Object)]), + remove: dart.fnType(core.bool, [dart.nullable(core.Object)]), + [$remove]: dart.fnType(core.bool, [dart.nullable(core.Object)]), + [_closeGap]: dart.fnType(dart.void, [core.int, core.int]), + removeWhere: dart.fnType(dart.void, [dart.fnType(core.bool, [E])]), + [$removeWhere]: dart.fnType(dart.void, [dart.fnType(core.bool, [E])]), + retainWhere: dart.fnType(dart.void, [dart.fnType(core.bool, [E])]), + [$retainWhere]: dart.fnType(dart.void, [dart.fnType(core.bool, [E])]), + [_filter]: dart.fnType(dart.void, [dart.fnType(core.bool, [E]), core.bool]), + clear: dart.fnType(dart.void, []), + [$clear]: dart.fnType(dart.void, []), + cast: dart.gFnType(R => [core.List$(R), []], R => [dart.nullable(core.Object)]), + [$cast]: dart.gFnType(R => [core.List$(R), []], R => [dart.nullable(core.Object)]), + removeLast: dart.fnType(E, []), + [$removeLast]: dart.fnType(E, []), + sort: dart.fnType(dart.void, [], [dart.nullable(dart.fnType(core.int, [E, E]))]), + [$sort]: dart.fnType(dart.void, [], [dart.nullable(dart.fnType(core.int, [E, E]))]), + shuffle: dart.fnType(dart.void, [], [dart.nullable(math.Random)]), + [$shuffle]: dart.fnType(dart.void, [], [dart.nullable(math.Random)]), + asMap: dart.fnType(core.Map$(core.int, E), []), + [$asMap]: dart.fnType(core.Map$(core.int, E), []), + '+': dart.fnType(core.List$(E), [dart.nullable(core.Object)]), + [$plus]: dart.fnType(core.List$(E), [dart.nullable(core.Object)]), + sublist: dart.fnType(core.List$(E), [core.int], [dart.nullable(core.int)]), + [$sublist]: dart.fnType(core.List$(E), [core.int], [dart.nullable(core.int)]), + getRange: dart.fnType(core.Iterable$(E), [core.int, core.int]), + [$getRange]: dart.fnType(core.Iterable$(E), [core.int, core.int]), + removeRange: dart.fnType(dart.void, [core.int, core.int]), + [$removeRange]: dart.fnType(dart.void, [core.int, core.int]), + fillRange: dart.fnType(dart.void, [core.int, core.int], [dart.nullable(core.Object)]), + [$fillRange]: dart.fnType(dart.void, [core.int, core.int], [dart.nullable(core.Object)]), + setRange: dart.fnType(dart.void, [core.int, core.int, dart.nullable(core.Object)], [core.int]), + [$setRange]: dart.fnType(dart.void, [core.int, core.int, dart.nullable(core.Object)], [core.int]), + replaceRange: dart.fnType(dart.void, [core.int, core.int, dart.nullable(core.Object)]), + [$replaceRange]: dart.fnType(dart.void, [core.int, core.int, dart.nullable(core.Object)]), + indexOf: dart.fnType(core.int, [dart.nullable(core.Object)], [core.int]), + [$indexOf]: dart.fnType(core.int, [dart.nullable(core.Object)], [core.int]), + indexWhere: dart.fnType(core.int, [dart.fnType(core.bool, [E])], [core.int]), + [$indexWhere]: dart.fnType(core.int, [dart.fnType(core.bool, [E])], [core.int]), + lastIndexOf: dart.fnType(core.int, [dart.nullable(core.Object)], [dart.nullable(core.int)]), + [$lastIndexOf]: dart.fnType(core.int, [dart.nullable(core.Object)], [dart.nullable(core.int)]), + lastIndexWhere: dart.fnType(core.int, [dart.fnType(core.bool, [E])], [dart.nullable(core.int)]), + [$lastIndexWhere]: dart.fnType(core.int, [dart.fnType(core.bool, [E])], [dart.nullable(core.int)]), + insert: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), + [$insert]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), + removeAt: dart.fnType(E, [core.int]), + [$removeAt]: dart.fnType(E, [core.int]), + insertAll: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), + [$insertAll]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), + setAll: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), + [$setAll]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]) + })); + dart.setGetterSignature(ListMixin, () => ({ + __proto__: dart.getGetters(ListMixin.__proto__), + iterator: core.Iterator$(E), + [$iterator]: core.Iterator$(E), + isEmpty: core.bool, + [$isEmpty]: core.bool, + isNotEmpty: core.bool, + [$isNotEmpty]: core.bool, + first: E, + [$first]: E, + last: E, + [$last]: E, + single: E, + [$single]: E, + reversed: core.Iterable$(E), + [$reversed]: core.Iterable$(E) + })); + dart.setSetterSignature(ListMixin, () => ({ + __proto__: dart.getSetters(ListMixin.__proto__), + first: dart.nullable(core.Object), + [$first]: dart.nullable(core.Object), + last: dart.nullable(core.Object), + [$last]: dart.nullable(core.Object) + })); + dart.setLibraryUri(ListMixin, I[24]); + dart.defineExtensionMethods(ListMixin, [ + 'elementAt', + 'followedBy', + 'forEach', + 'contains', + 'every', + 'any', + 'firstWhere', + 'lastWhere', + 'singleWhere', + 'join', + 'where', + 'whereType', + 'map', + 'expand', + 'reduce', + 'fold', + 'skip', + 'skipWhile', + 'take', + 'takeWhile', + 'toList', + 'toSet', + 'add', + 'addAll', + 'remove', + 'removeWhere', + 'retainWhere', + 'clear', + 'cast', + 'removeLast', + 'sort', + 'shuffle', + 'asMap', + '+', + 'sublist', + 'getRange', + 'removeRange', + 'fillRange', + 'setRange', + 'replaceRange', + 'indexOf', + 'indexWhere', + 'lastIndexOf', + 'lastIndexWhere', + 'insert', + 'removeAt', + 'insertAll', + 'setAll', + 'toString' + ]); + dart.defineExtensionAccessors(ListMixin, [ + 'iterator', + 'isEmpty', + 'isNotEmpty', + 'first', + 'last', + 'single', + 'reversed' + ]); + return ListMixin; + }); + collection.ListMixin = collection.ListMixin$(); + dart.addTypeTests(collection.ListMixin, _is_ListMixin_default); + const _is_ListBase_default = Symbol('_is_ListBase_default'); + collection.ListBase$ = dart.generic(E => { + const Object_ListMixin$36 = class Object_ListMixin extends core.Object {}; + (Object_ListMixin$36.new = function() { + }).prototype = Object_ListMixin$36.prototype; + dart.applyMixin(Object_ListMixin$36, collection.ListMixin$(E)); + class ListBase extends Object_ListMixin$36 { + static listToString(list) { + if (list == null) dart.nullFailed(I[23], 42, 35, "list"); + return collection.IterableBase.iterableToFullString(list, "[", "]"); + } + } + (ListBase.new = function() { + ; + }).prototype = ListBase.prototype; + dart.addTypeTests(ListBase); + ListBase.prototype[_is_ListBase_default] = true; + dart.addTypeCaches(ListBase); + dart.setLibraryUri(ListBase, I[24]); + return ListBase; + }); + collection.ListBase = collection.ListBase$(); + dart.addTypeTests(collection.ListBase, _is_ListBase_default); + const _is_UnmodifiableListMixin_default = Symbol('_is_UnmodifiableListMixin_default'); + _internal.UnmodifiableListMixin$ = dart.generic(E => { + var IterableOfE = () => (IterableOfE = dart.constFn(core.Iterable$(E)))(); + var EN = () => (EN = dart.constFn(dart.nullable(E)))(); + class UnmodifiableListMixin extends core.Object { + _set(index, value$) { + let value = value$; + if (index == null) dart.nullFailed(I[22], 89, 25, "index"); + E.as(value); + dart.throw(new core.UnsupportedError.new("Cannot modify an unmodifiable list")); + return value$; + } + set length(newLength) { + if (newLength == null) dart.nullFailed(I[22], 94, 18, "newLength"); + dart.throw(new core.UnsupportedError.new("Cannot change the length of an unmodifiable list")); + } + set first(element) { + E.as(element); + dart.throw(new core.UnsupportedError.new("Cannot modify an unmodifiable list")); + } + set last(element) { + E.as(element); + dart.throw(new core.UnsupportedError.new("Cannot modify an unmodifiable list")); + } + setAll(at, iterable) { + if (at == null) dart.nullFailed(I[22], 108, 19, "at"); + IterableOfE().as(iterable); + if (iterable == null) dart.nullFailed(I[22], 108, 35, "iterable"); + dart.throw(new core.UnsupportedError.new("Cannot modify an unmodifiable list")); + } + add(value) { + E.as(value); + dart.throw(new core.UnsupportedError.new("Cannot add to an unmodifiable list")); + } + insert(index, element) { + if (index == null) dart.nullFailed(I[22], 118, 19, "index"); + E.as(element); + dart.throw(new core.UnsupportedError.new("Cannot add to an unmodifiable list")); + } + insertAll(at, iterable) { + if (at == null) dart.nullFailed(I[22], 123, 22, "at"); + IterableOfE().as(iterable); + if (iterable == null) dart.nullFailed(I[22], 123, 38, "iterable"); + dart.throw(new core.UnsupportedError.new("Cannot add to an unmodifiable list")); + } + addAll(iterable) { + IterableOfE().as(iterable); + if (iterable == null) dart.nullFailed(I[22], 128, 27, "iterable"); + dart.throw(new core.UnsupportedError.new("Cannot add to an unmodifiable list")); + } + remove(element) { + dart.throw(new core.UnsupportedError.new("Cannot remove from an unmodifiable list")); + } + removeWhere(test) { + if (test == null) dart.nullFailed(I[22], 138, 25, "test"); + dart.throw(new core.UnsupportedError.new("Cannot remove from an unmodifiable list")); + } + retainWhere(test) { + if (test == null) dart.nullFailed(I[22], 143, 25, "test"); + dart.throw(new core.UnsupportedError.new("Cannot remove from an unmodifiable list")); + } + sort(compare = null) { + dart.throw(new core.UnsupportedError.new("Cannot modify an unmodifiable list")); + } + shuffle(random = null) { + dart.throw(new core.UnsupportedError.new("Cannot modify an unmodifiable list")); + } + clear() { + dart.throw(new core.UnsupportedError.new("Cannot clear an unmodifiable list")); + } + removeAt(index) { + if (index == null) dart.nullFailed(I[22], 163, 18, "index"); + dart.throw(new core.UnsupportedError.new("Cannot remove from an unmodifiable list")); + } + removeLast() { + dart.throw(new core.UnsupportedError.new("Cannot remove from an unmodifiable list")); + } + setRange(start, end, iterable, skipCount = 0) { + if (start == null) dart.nullFailed(I[22], 173, 21, "start"); + if (end == null) dart.nullFailed(I[22], 173, 32, "end"); + IterableOfE().as(iterable); + if (iterable == null) dart.nullFailed(I[22], 173, 49, "iterable"); + if (skipCount == null) dart.nullFailed(I[22], 173, 64, "skipCount"); + dart.throw(new core.UnsupportedError.new("Cannot modify an unmodifiable list")); + } + removeRange(start, end) { + if (start == null) dart.nullFailed(I[22], 178, 24, "start"); + if (end == null) dart.nullFailed(I[22], 178, 35, "end"); + dart.throw(new core.UnsupportedError.new("Cannot remove from an unmodifiable list")); + } + replaceRange(start, end, iterable) { + if (start == null) dart.nullFailed(I[22], 183, 25, "start"); + if (end == null) dart.nullFailed(I[22], 183, 36, "end"); + IterableOfE().as(iterable); + if (iterable == null) dart.nullFailed(I[22], 183, 53, "iterable"); + dart.throw(new core.UnsupportedError.new("Cannot remove from an unmodifiable list")); + } + fillRange(start, end, fillValue = null) { + if (start == null) dart.nullFailed(I[22], 188, 22, "start"); + if (end == null) dart.nullFailed(I[22], 188, 33, "end"); + EN().as(fillValue); + dart.throw(new core.UnsupportedError.new("Cannot modify an unmodifiable list")); + } + [Symbol.iterator]() { + return new dart.JsIterator(this[$iterator]); + } + } + (UnmodifiableListMixin.new = function() { + ; + }).prototype = UnmodifiableListMixin.prototype; + UnmodifiableListMixin.prototype[dart.isList] = true; + dart.addTypeTests(UnmodifiableListMixin); + UnmodifiableListMixin.prototype[_is_UnmodifiableListMixin_default] = true; + dart.addTypeCaches(UnmodifiableListMixin); + UnmodifiableListMixin[dart.implements] = () => [core.List$(E)]; + dart.setMethodSignature(UnmodifiableListMixin, () => ({ + __proto__: dart.getMethods(UnmodifiableListMixin.__proto__), + _set: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), + [$_set]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), + setAll: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), + [$setAll]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), + add: dart.fnType(dart.void, [dart.nullable(core.Object)]), + [$add]: dart.fnType(dart.void, [dart.nullable(core.Object)]), + insert: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), + [$insert]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), + insertAll: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), + [$insertAll]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), + addAll: dart.fnType(dart.void, [dart.nullable(core.Object)]), + [$addAll]: dart.fnType(dart.void, [dart.nullable(core.Object)]), + remove: dart.fnType(core.bool, [dart.nullable(core.Object)]), + [$remove]: dart.fnType(core.bool, [dart.nullable(core.Object)]), + removeWhere: dart.fnType(dart.void, [dart.fnType(core.bool, [E])]), + [$removeWhere]: dart.fnType(dart.void, [dart.fnType(core.bool, [E])]), + retainWhere: dart.fnType(dart.void, [dart.fnType(core.bool, [E])]), + [$retainWhere]: dart.fnType(dart.void, [dart.fnType(core.bool, [E])]), + sort: dart.fnType(dart.void, [], [dart.nullable(dart.fnType(core.int, [E, E]))]), + [$sort]: dart.fnType(dart.void, [], [dart.nullable(dart.fnType(core.int, [E, E]))]), + shuffle: dart.fnType(dart.void, [], [dart.nullable(math.Random)]), + [$shuffle]: dart.fnType(dart.void, [], [dart.nullable(math.Random)]), + clear: dart.fnType(dart.void, []), + [$clear]: dart.fnType(dart.void, []), + removeAt: dart.fnType(E, [core.int]), + [$removeAt]: dart.fnType(E, [core.int]), + removeLast: dart.fnType(E, []), + [$removeLast]: dart.fnType(E, []), + setRange: dart.fnType(dart.void, [core.int, core.int, dart.nullable(core.Object)], [core.int]), + [$setRange]: dart.fnType(dart.void, [core.int, core.int, dart.nullable(core.Object)], [core.int]), + removeRange: dart.fnType(dart.void, [core.int, core.int]), + [$removeRange]: dart.fnType(dart.void, [core.int, core.int]), + replaceRange: dart.fnType(dart.void, [core.int, core.int, dart.nullable(core.Object)]), + [$replaceRange]: dart.fnType(dart.void, [core.int, core.int, dart.nullable(core.Object)]), + fillRange: dart.fnType(dart.void, [core.int, core.int], [dart.nullable(core.Object)]), + [$fillRange]: dart.fnType(dart.void, [core.int, core.int], [dart.nullable(core.Object)]) + })); + dart.setSetterSignature(UnmodifiableListMixin, () => ({ + __proto__: dart.getSetters(UnmodifiableListMixin.__proto__), + length: core.int, + [$length]: core.int, + first: dart.nullable(core.Object), + [$first]: dart.nullable(core.Object), + last: dart.nullable(core.Object), + [$last]: dart.nullable(core.Object) + })); + dart.setLibraryUri(UnmodifiableListMixin, I[25]); + dart.defineExtensionMethods(UnmodifiableListMixin, [ + '_set', + 'setAll', + 'add', + 'insert', + 'insertAll', + 'addAll', + 'remove', + 'removeWhere', + 'retainWhere', + 'sort', + 'shuffle', + 'clear', + 'removeAt', + 'removeLast', + 'setRange', + 'removeRange', + 'replaceRange', + 'fillRange' + ]); + dart.defineExtensionAccessors(UnmodifiableListMixin, ['length', 'first', 'last']); + return UnmodifiableListMixin; + }); + _internal.UnmodifiableListMixin = _internal.UnmodifiableListMixin$(); + dart.addTypeTests(_internal.UnmodifiableListMixin, _is_UnmodifiableListMixin_default); + const _is_UnmodifiableListBase_default = Symbol('_is_UnmodifiableListBase_default'); + _internal.UnmodifiableListBase$ = dart.generic(E => { + var IterableOfE = () => (IterableOfE = dart.constFn(core.Iterable$(E)))(); + var EN = () => (EN = dart.constFn(dart.nullable(E)))(); + const ListBase_UnmodifiableListMixin$36 = class ListBase_UnmodifiableListMixin extends collection.ListBase$(E) {}; + (ListBase_UnmodifiableListMixin$36.new = function() { + }).prototype = ListBase_UnmodifiableListMixin$36.prototype; + dart.applyMixin(ListBase_UnmodifiableListMixin$36, _internal.UnmodifiableListMixin$(E)); + class UnmodifiableListBase extends ListBase_UnmodifiableListMixin$36 { + set length(newLength) { + if (newLength == null) dart.nullFailed(I[22], 208, 16, "newLength"); + return super.length = newLength; + } + set first(element) { + E.as(element); + return super.first = element; + } + get first() { + return super.first; + } + set last(element) { + E.as(element); + return super.last = element; + } + get last() { + return super.last; + } + _set(index, value$) { + let value = value$; + if (index == null) dart.nullFailed(I[22], 208, 16, "index"); + E.as(value); + super._set(index, value); + return value$; + } + setAll(at, iterable) { + if (at == null) dart.nullFailed(I[22], 208, 16, "at"); + IterableOfE().as(iterable); + if (iterable == null) dart.nullFailed(I[22], 208, 16, "iterable"); + return super.setAll(at, iterable); + } + add(value) { + E.as(value); + return super.add(value); + } + insert(index, element) { + if (index == null) dart.nullFailed(I[22], 208, 16, "index"); + E.as(element); + return super.insert(index, element); + } + insertAll(at, iterable) { + if (at == null) dart.nullFailed(I[22], 208, 16, "at"); + IterableOfE().as(iterable); + if (iterable == null) dart.nullFailed(I[22], 208, 16, "iterable"); + return super.insertAll(at, iterable); + } + addAll(iterable) { + IterableOfE().as(iterable); + if (iterable == null) dart.nullFailed(I[22], 208, 16, "iterable"); + return super.addAll(iterable); + } + remove(element) { + return super.remove(element); + } + removeWhere(test) { + if (test == null) dart.nullFailed(I[22], 208, 16, "test"); + return super.removeWhere(test); + } + retainWhere(test) { + if (test == null) dart.nullFailed(I[22], 208, 16, "test"); + return super.retainWhere(test); + } + sort(compare = null) { + return super.sort(compare); + } + shuffle(random = null) { + return super.shuffle(random); + } + clear() { + return super.clear(); + } + removeAt(index) { + if (index == null) dart.nullFailed(I[22], 208, 16, "index"); + return super.removeAt(index); + } + removeLast() { + return super.removeLast(); + } + setRange(start, end, iterable, skipCount = 0) { + if (start == null) dart.nullFailed(I[22], 208, 16, "start"); + if (end == null) dart.nullFailed(I[22], 208, 16, "end"); + IterableOfE().as(iterable); + if (iterable == null) dart.nullFailed(I[22], 208, 16, "iterable"); + if (skipCount == null) dart.nullFailed(I[22], 208, 16, "skipCount"); + return super.setRange(start, end, iterable, skipCount); + } + removeRange(start, end) { + if (start == null) dart.nullFailed(I[22], 208, 16, "start"); + if (end == null) dart.nullFailed(I[22], 208, 16, "end"); + return super.removeRange(start, end); + } + replaceRange(start, end, iterable) { + if (start == null) dart.nullFailed(I[22], 208, 16, "start"); + if (end == null) dart.nullFailed(I[22], 208, 16, "end"); + IterableOfE().as(iterable); + if (iterable == null) dart.nullFailed(I[22], 208, 16, "iterable"); + return super.replaceRange(start, end, iterable); + } + fillRange(start, end, fillValue = null) { + if (start == null) dart.nullFailed(I[22], 208, 16, "start"); + if (end == null) dart.nullFailed(I[22], 208, 16, "end"); + EN().as(fillValue); + return super.fillRange(start, end, fillValue); + } + } + (UnmodifiableListBase.new = function() { + ; + }).prototype = UnmodifiableListBase.prototype; + dart.addTypeTests(UnmodifiableListBase); + UnmodifiableListBase.prototype[_is_UnmodifiableListBase_default] = true; + dart.addTypeCaches(UnmodifiableListBase); + dart.setMethodSignature(UnmodifiableListBase, () => ({ + __proto__: dart.getMethods(UnmodifiableListBase.__proto__), + _set: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), + [$_set]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]) + })); + dart.setSetterSignature(UnmodifiableListBase, () => ({ + __proto__: dart.getSetters(UnmodifiableListBase.__proto__), + length: core.int, + [$length]: core.int + })); + dart.setLibraryUri(UnmodifiableListBase, I[25]); + dart.defineExtensionMethods(UnmodifiableListBase, [ + '_set', + 'setAll', + 'add', + 'insert', + 'insertAll', + 'addAll', + 'remove', + 'removeWhere', + 'retainWhere', + 'sort', + 'shuffle', + 'clear', + 'removeAt', + 'removeLast', + 'setRange', + 'removeRange', + 'replaceRange', + 'fillRange' + ]); + dart.defineExtensionAccessors(UnmodifiableListBase, ['length', 'first', 'last']); + return UnmodifiableListBase; + }); + _internal.UnmodifiableListBase = _internal.UnmodifiableListBase$(); + dart.addTypeTests(_internal.UnmodifiableListBase, _is_UnmodifiableListBase_default); + core.num = class num extends core.Object { + static is(o) { + return typeof o == "number"; + } + static as(o) { + if (typeof o == "number") return o; + return dart.as(o, core.num); + } + static parse(input, onError = null) { + if (input == null) dart.nullFailed(I[26], 483, 27, "input"); + let result = core.num.tryParse(input); + if (result != null) return result; + if (onError == null) dart.throw(new core.FormatException.new(input)); + return onError(input); + } + static tryParse(input) { + let t27; + if (input == null) dart.nullFailed(I[26], 494, 31, "input"); + let source = input[$trim](); + t27 = core.int.tryParse(source); + return t27 == null ? core.double.tryParse(source) : t27; + } + }; + (core.num.new = function() { + ; + }).prototype = core.num.prototype; + dart.addTypeCaches(core.num); + core.num[dart.implements] = () => [core.Comparable$(core.num)]; + dart.setLibraryUri(core.num, I[8]); + core.int = class int extends core.num { + static is(o) { + return typeof o == "number" && Math.floor(o) == o; + } + static as(o) { + if (typeof o == "number" && Math.floor(o) == o) { + return o; + } + return dart.as(o, core.int); + } + static fromEnvironment(name, opts) { + if (name == null) dart.nullFailed(I[7], 187, 38, "name"); + let defaultValue = opts && 'defaultValue' in opts ? opts.defaultValue : 0; + if (defaultValue == null) dart.nullFailed(I[7], 187, 49, "defaultValue"); + dart.throw(new core.UnsupportedError.new("int.fromEnvironment can only be used as a const constructor")); + } + static parse(source, opts) { + if (source == null) dart.nullFailed(I[7], 173, 27, "source"); + let radix = opts && 'radix' in opts ? opts.radix : null; + let onError = opts && 'onError' in opts ? opts.onError : null; + let value = core.int.tryParse(source, {radix: radix}); + if (value != null) return value; + if (onError != null) return onError(source); + dart.throw(new core.FormatException.new(source)); + } + static tryParse(source, opts) { + if (source == null) dart.nullFailed(I[7], 182, 31, "source"); + let radix = opts && 'radix' in opts ? opts.radix : null; + return _js_helper.Primitives.parseInt(source, radix); + } + }; + dart.addTypeCaches(core.int); + dart.setLibraryUri(core.int, I[8]); + _internal.CodeUnits = class CodeUnits extends _internal.UnmodifiableListBase$(core.int) { + get length() { + return this[_string$].length; + } + set length(value) { + super.length = value; + } + _get(i) { + if (i == null) dart.nullFailed(I[21], 77, 23, "i"); + return this[_string$][$codeUnitAt](i); + } + static stringOf(u) { + if (u == null) dart.nullFailed(I[21], 79, 36, "u"); + return u[_string$]; + } + }; + (_internal.CodeUnits.new = function(_string) { + if (_string == null) dart.nullFailed(I[21], 74, 18, "_string"); + this[_string$] = _string; + ; + }).prototype = _internal.CodeUnits.prototype; + dart.addTypeTests(_internal.CodeUnits); + dart.addTypeCaches(_internal.CodeUnits); + dart.setMethodSignature(_internal.CodeUnits, () => ({ + __proto__: dart.getMethods(_internal.CodeUnits.__proto__), + _get: dart.fnType(core.int, [core.int]), + [$_get]: dart.fnType(core.int, [core.int]) + })); + dart.setGetterSignature(_internal.CodeUnits, () => ({ + __proto__: dart.getGetters(_internal.CodeUnits.__proto__), + length: core.int, + [$length]: core.int + })); + dart.setLibraryUri(_internal.CodeUnits, I[25]); + dart.setFieldSignature(_internal.CodeUnits, () => ({ + __proto__: dart.getFields(_internal.CodeUnits.__proto__), + [_string$]: dart.finalFieldType(core.String) + })); + dart.defineExtensionMethods(_internal.CodeUnits, ['_get']); + dart.defineExtensionAccessors(_internal.CodeUnits, ['length']); + var name$5 = dart.privateName(_internal, "ExternalName.name"); + _internal.ExternalName = class ExternalName extends core.Object { + get name() { + return this[name$5]; + } + set name(value) { + super.name = value; + } + }; + (_internal.ExternalName.new = function(name) { + if (name == null) dart.nullFailed(I[21], 92, 27, "name"); + this[name$5] = name; + ; + }).prototype = _internal.ExternalName.prototype; + dart.addTypeTests(_internal.ExternalName); + dart.addTypeCaches(_internal.ExternalName); + dart.setLibraryUri(_internal.ExternalName, I[25]); + dart.setFieldSignature(_internal.ExternalName, () => ({ + __proto__: dart.getFields(_internal.ExternalName.__proto__), + name: dart.finalFieldType(core.String) + })); + _internal.SystemHash = class SystemHash extends core.Object { + static combine(hash, value) { + if (hash == null) dart.nullFailed(I[21], 165, 26, "hash"); + if (value == null) dart.nullFailed(I[21], 165, 36, "value"); + hash = 536870911 & dart.notNull(hash) + dart.notNull(value); + hash = 536870911 & dart.notNull(hash) + ((524287 & dart.notNull(hash)) << 10); + return (dart.notNull(hash) ^ hash[$rightShift](6)) >>> 0; + } + static finish(hash) { + if (hash == null) dart.nullFailed(I[21], 171, 25, "hash"); + hash = 536870911 & dart.notNull(hash) + ((67108863 & dart.notNull(hash)) << 3); + hash = (dart.notNull(hash) ^ hash[$rightShift](11)) >>> 0; + return 536870911 & dart.notNull(hash) + ((16383 & dart.notNull(hash)) << 15); + } + static hash2(v1, v2) { + if (v1 == null) dart.nullFailed(I[21], 177, 24, "v1"); + if (v2 == null) dart.nullFailed(I[21], 177, 32, "v2"); + let hash = 0; + hash = _internal.SystemHash.combine(hash, v1); + hash = _internal.SystemHash.combine(hash, v2); + return _internal.SystemHash.finish(hash); + } + static hash3(v1, v2, v3) { + if (v1 == null) dart.nullFailed(I[21], 184, 24, "v1"); + if (v2 == null) dart.nullFailed(I[21], 184, 32, "v2"); + if (v3 == null) dart.nullFailed(I[21], 184, 40, "v3"); + let hash = 0; + hash = _internal.SystemHash.combine(hash, v1); + hash = _internal.SystemHash.combine(hash, v2); + hash = _internal.SystemHash.combine(hash, v3); + return _internal.SystemHash.finish(hash); + } + static hash4(v1, v2, v3, v4) { + if (v1 == null) dart.nullFailed(I[21], 192, 24, "v1"); + if (v2 == null) dart.nullFailed(I[21], 192, 32, "v2"); + if (v3 == null) dart.nullFailed(I[21], 192, 40, "v3"); + if (v4 == null) dart.nullFailed(I[21], 192, 48, "v4"); + let hash = 0; + hash = _internal.SystemHash.combine(hash, v1); + hash = _internal.SystemHash.combine(hash, v2); + hash = _internal.SystemHash.combine(hash, v3); + hash = _internal.SystemHash.combine(hash, v4); + return _internal.SystemHash.finish(hash); + } + static hash5(v1, v2, v3, v4, v5) { + if (v1 == null) dart.nullFailed(I[21], 201, 24, "v1"); + if (v2 == null) dart.nullFailed(I[21], 201, 32, "v2"); + if (v3 == null) dart.nullFailed(I[21], 201, 40, "v3"); + if (v4 == null) dart.nullFailed(I[21], 201, 48, "v4"); + if (v5 == null) dart.nullFailed(I[21], 201, 56, "v5"); + let hash = 0; + hash = _internal.SystemHash.combine(hash, v1); + hash = _internal.SystemHash.combine(hash, v2); + hash = _internal.SystemHash.combine(hash, v3); + hash = _internal.SystemHash.combine(hash, v4); + hash = _internal.SystemHash.combine(hash, v5); + return _internal.SystemHash.finish(hash); + } + static hash6(v1, v2, v3, v4, v5, v6) { + if (v1 == null) dart.nullFailed(I[21], 211, 24, "v1"); + if (v2 == null) dart.nullFailed(I[21], 211, 32, "v2"); + if (v3 == null) dart.nullFailed(I[21], 211, 40, "v3"); + if (v4 == null) dart.nullFailed(I[21], 211, 48, "v4"); + if (v5 == null) dart.nullFailed(I[21], 211, 56, "v5"); + if (v6 == null) dart.nullFailed(I[21], 211, 64, "v6"); + let hash = 0; + hash = _internal.SystemHash.combine(hash, v1); + hash = _internal.SystemHash.combine(hash, v2); + hash = _internal.SystemHash.combine(hash, v3); + hash = _internal.SystemHash.combine(hash, v4); + hash = _internal.SystemHash.combine(hash, v5); + hash = _internal.SystemHash.combine(hash, v6); + return _internal.SystemHash.finish(hash); + } + static hash7(v1, v2, v3, v4, v5, v6, v7) { + if (v1 == null) dart.nullFailed(I[21], 222, 24, "v1"); + if (v2 == null) dart.nullFailed(I[21], 222, 32, "v2"); + if (v3 == null) dart.nullFailed(I[21], 222, 40, "v3"); + if (v4 == null) dart.nullFailed(I[21], 222, 48, "v4"); + if (v5 == null) dart.nullFailed(I[21], 222, 56, "v5"); + if (v6 == null) dart.nullFailed(I[21], 222, 64, "v6"); + if (v7 == null) dart.nullFailed(I[21], 222, 72, "v7"); + let hash = 0; + hash = _internal.SystemHash.combine(hash, v1); + hash = _internal.SystemHash.combine(hash, v2); + hash = _internal.SystemHash.combine(hash, v3); + hash = _internal.SystemHash.combine(hash, v4); + hash = _internal.SystemHash.combine(hash, v5); + hash = _internal.SystemHash.combine(hash, v6); + hash = _internal.SystemHash.combine(hash, v7); + return _internal.SystemHash.finish(hash); + } + static hash8(v1, v2, v3, v4, v5, v6, v7, v8) { + if (v1 == null) dart.nullFailed(I[21], 235, 11, "v1"); + if (v2 == null) dart.nullFailed(I[21], 235, 19, "v2"); + if (v3 == null) dart.nullFailed(I[21], 235, 27, "v3"); + if (v4 == null) dart.nullFailed(I[21], 235, 35, "v4"); + if (v5 == null) dart.nullFailed(I[21], 235, 43, "v5"); + if (v6 == null) dart.nullFailed(I[21], 235, 51, "v6"); + if (v7 == null) dart.nullFailed(I[21], 235, 59, "v7"); + if (v8 == null) dart.nullFailed(I[21], 235, 67, "v8"); + let hash = 0; + hash = _internal.SystemHash.combine(hash, v1); + hash = _internal.SystemHash.combine(hash, v2); + hash = _internal.SystemHash.combine(hash, v3); + hash = _internal.SystemHash.combine(hash, v4); + hash = _internal.SystemHash.combine(hash, v5); + hash = _internal.SystemHash.combine(hash, v6); + hash = _internal.SystemHash.combine(hash, v7); + hash = _internal.SystemHash.combine(hash, v8); + return _internal.SystemHash.finish(hash); + } + static hash9(v1, v2, v3, v4, v5, v6, v7, v8, v9) { + if (v1 == null) dart.nullFailed(I[21], 249, 11, "v1"); + if (v2 == null) dart.nullFailed(I[21], 249, 19, "v2"); + if (v3 == null) dart.nullFailed(I[21], 249, 27, "v3"); + if (v4 == null) dart.nullFailed(I[21], 249, 35, "v4"); + if (v5 == null) dart.nullFailed(I[21], 249, 43, "v5"); + if (v6 == null) dart.nullFailed(I[21], 249, 51, "v6"); + if (v7 == null) dart.nullFailed(I[21], 249, 59, "v7"); + if (v8 == null) dart.nullFailed(I[21], 249, 67, "v8"); + if (v9 == null) dart.nullFailed(I[21], 249, 75, "v9"); + let hash = 0; + hash = _internal.SystemHash.combine(hash, v1); + hash = _internal.SystemHash.combine(hash, v2); + hash = _internal.SystemHash.combine(hash, v3); + hash = _internal.SystemHash.combine(hash, v4); + hash = _internal.SystemHash.combine(hash, v5); + hash = _internal.SystemHash.combine(hash, v6); + hash = _internal.SystemHash.combine(hash, v7); + hash = _internal.SystemHash.combine(hash, v8); + hash = _internal.SystemHash.combine(hash, v9); + return _internal.SystemHash.finish(hash); + } + static hash10(v1, v2, v3, v4, v5, v6, v7, v8, v9, v10) { + if (v1 == null) dart.nullFailed(I[21], 263, 25, "v1"); + if (v2 == null) dart.nullFailed(I[21], 263, 33, "v2"); + if (v3 == null) dart.nullFailed(I[21], 263, 41, "v3"); + if (v4 == null) dart.nullFailed(I[21], 263, 49, "v4"); + if (v5 == null) dart.nullFailed(I[21], 263, 57, "v5"); + if (v6 == null) dart.nullFailed(I[21], 263, 65, "v6"); + if (v7 == null) dart.nullFailed(I[21], 263, 73, "v7"); + if (v8 == null) dart.nullFailed(I[21], 264, 11, "v8"); + if (v9 == null) dart.nullFailed(I[21], 264, 19, "v9"); + if (v10 == null) dart.nullFailed(I[21], 264, 27, "v10"); + let hash = 0; + hash = _internal.SystemHash.combine(hash, v1); + hash = _internal.SystemHash.combine(hash, v2); + hash = _internal.SystemHash.combine(hash, v3); + hash = _internal.SystemHash.combine(hash, v4); + hash = _internal.SystemHash.combine(hash, v5); + hash = _internal.SystemHash.combine(hash, v6); + hash = _internal.SystemHash.combine(hash, v7); + hash = _internal.SystemHash.combine(hash, v8); + hash = _internal.SystemHash.combine(hash, v9); + hash = _internal.SystemHash.combine(hash, v10); + return _internal.SystemHash.finish(hash); + } + static smear(x) { + if (x == null) dart.nullFailed(I[21], 290, 24, "x"); + x = (dart.notNull(x) ^ x[$rightShift](16)) >>> 0; + x = (dart.notNull(x) * 2146121005 & 4294967295) >>> 0; + x = (dart.notNull(x) ^ x[$rightShift](15)) >>> 0; + x = (dart.notNull(x) * 2221713035 & 4294967295) >>> 0; + x = (dart.notNull(x) ^ x[$rightShift](16)) >>> 0; + return x; + } + }; + (_internal.SystemHash.new = function() { + ; + }).prototype = _internal.SystemHash.prototype; + dart.addTypeTests(_internal.SystemHash); + dart.addTypeCaches(_internal.SystemHash); + dart.setLibraryUri(_internal.SystemHash, I[25]); + var version$ = dart.privateName(_internal, "Since.version"); + _internal.Since = class Since extends core.Object { + get version() { + return this[version$]; + } + set version(value) { + super.version = value; + } + }; + (_internal.Since.new = function(version) { + if (version == null) dart.nullFailed(I[21], 389, 20, "version"); + this[version$] = version; + ; + }).prototype = _internal.Since.prototype; + dart.addTypeTests(_internal.Since); + dart.addTypeCaches(_internal.Since); + dart.setLibraryUri(_internal.Since, I[25]); + dart.setFieldSignature(_internal.Since, () => ({ + __proto__: dart.getFields(_internal.Since.__proto__), + version: dart.finalFieldType(core.String) + })); + var _name$ = dart.privateName(_internal, "_name"); + core.Error = class Error extends core.Object { + static safeToString(object) { + if (typeof object == 'number' || typeof object == 'boolean' || object == null) { + return dart.toString(object); + } + if (typeof object == 'string') { + return core.Error._stringToSafeString(object); + } + return core.Error._objectToString(object); + } + static _stringToSafeString(string) { + if (string == null) dart.nullFailed(I[7], 281, 44, "string"); + return JSON.stringify(string); + } + static _objectToString(object) { + if (object == null) dart.nullFailed(I[7], 276, 40, "object"); + return "Instance of '" + dart.typeName(dart.getReifiedType(object)) + "'"; + } + get stackTrace() { + return dart.stackTraceForError(this); + } + }; + (core.Error.new = function() { + ; + }).prototype = core.Error.prototype; + dart.addTypeTests(core.Error); + dart.addTypeCaches(core.Error); + dart.setGetterSignature(core.Error, () => ({ + __proto__: dart.getGetters(core.Error.__proto__), + stackTrace: dart.nullable(core.StackTrace), + [$stackTrace]: dart.nullable(core.StackTrace) + })); + dart.setLibraryUri(core.Error, I[8]); + dart.defineExtensionAccessors(core.Error, ['stackTrace']); + const _is_NotNullableError_default = Symbol('_is_NotNullableError_default'); + _internal.NotNullableError$ = dart.generic(T => { + class NotNullableError extends core.Error { + toString() { + return "Null is not a valid value for the parameter '" + dart.str(this[_name$]) + "' of type '" + dart.str(dart.wrapType(T)) + "'"; + } + } + (NotNullableError.new = function(_name) { + if (_name == null) dart.nullFailed(I[21], 412, 25, "_name"); + this[_name$] = _name; + NotNullableError.__proto__.new.call(this); + ; + }).prototype = NotNullableError.prototype; + dart.addTypeTests(NotNullableError); + NotNullableError.prototype[_is_NotNullableError_default] = true; + dart.addTypeCaches(NotNullableError); + NotNullableError[dart.implements] = () => [core.TypeError]; + dart.setLibraryUri(NotNullableError, I[25]); + dart.setFieldSignature(NotNullableError, () => ({ + __proto__: dart.getFields(NotNullableError.__proto__), + [_name$]: dart.finalFieldType(core.String) + })); + dart.defineExtensionMethods(NotNullableError, ['toString']); + return NotNullableError; + }); + _internal.NotNullableError = _internal.NotNullableError$(); + dart.addTypeTests(_internal.NotNullableError, _is_NotNullableError_default); + _internal.HttpStatus = class HttpStatus extends core.Object {}; + (_internal.HttpStatus.new = function() { + ; + }).prototype = _internal.HttpStatus.prototype; + dart.addTypeTests(_internal.HttpStatus); + dart.addTypeCaches(_internal.HttpStatus); + dart.setLibraryUri(_internal.HttpStatus, I[25]); + dart.defineLazy(_internal.HttpStatus, { + /*_internal.HttpStatus.continue__*/get continue__() { + return 100; + }, + /*_internal.HttpStatus.switchingProtocols*/get switchingProtocols() { + return 101; + }, + /*_internal.HttpStatus.processing*/get processing() { + return 102; + }, + /*_internal.HttpStatus.ok*/get ok() { + return 200; + }, + /*_internal.HttpStatus.created*/get created() { + return 201; + }, + /*_internal.HttpStatus.accepted*/get accepted() { + return 202; + }, + /*_internal.HttpStatus.nonAuthoritativeInformation*/get nonAuthoritativeInformation() { + return 203; + }, + /*_internal.HttpStatus.noContent*/get noContent() { + return 204; + }, + /*_internal.HttpStatus.resetContent*/get resetContent() { + return 205; + }, + /*_internal.HttpStatus.partialContent*/get partialContent() { + return 206; + }, + /*_internal.HttpStatus.multiStatus*/get multiStatus() { + return 207; + }, + /*_internal.HttpStatus.alreadyReported*/get alreadyReported() { + return 208; + }, + /*_internal.HttpStatus.imUsed*/get imUsed() { + return 226; + }, + /*_internal.HttpStatus.multipleChoices*/get multipleChoices() { + return 300; + }, + /*_internal.HttpStatus.movedPermanently*/get movedPermanently() { + return 301; + }, + /*_internal.HttpStatus.found*/get found() { + return 302; + }, + /*_internal.HttpStatus.movedTemporarily*/get movedTemporarily() { + return 302; + }, + /*_internal.HttpStatus.seeOther*/get seeOther() { + return 303; + }, + /*_internal.HttpStatus.notModified*/get notModified() { + return 304; + }, + /*_internal.HttpStatus.useProxy*/get useProxy() { + return 305; + }, + /*_internal.HttpStatus.temporaryRedirect*/get temporaryRedirect() { + return 307; + }, + /*_internal.HttpStatus.permanentRedirect*/get permanentRedirect() { + return 308; + }, + /*_internal.HttpStatus.badRequest*/get badRequest() { + return 400; + }, + /*_internal.HttpStatus.unauthorized*/get unauthorized() { + return 401; + }, + /*_internal.HttpStatus.paymentRequired*/get paymentRequired() { + return 402; + }, + /*_internal.HttpStatus.forbidden*/get forbidden() { + return 403; + }, + /*_internal.HttpStatus.notFound*/get notFound() { + return 404; + }, + /*_internal.HttpStatus.methodNotAllowed*/get methodNotAllowed() { + return 405; + }, + /*_internal.HttpStatus.notAcceptable*/get notAcceptable() { + return 406; + }, + /*_internal.HttpStatus.proxyAuthenticationRequired*/get proxyAuthenticationRequired() { + return 407; + }, + /*_internal.HttpStatus.requestTimeout*/get requestTimeout() { + return 408; + }, + /*_internal.HttpStatus.conflict*/get conflict() { + return 409; + }, + /*_internal.HttpStatus.gone*/get gone() { + return 410; + }, + /*_internal.HttpStatus.lengthRequired*/get lengthRequired() { + return 411; + }, + /*_internal.HttpStatus.preconditionFailed*/get preconditionFailed() { + return 412; + }, + /*_internal.HttpStatus.requestEntityTooLarge*/get requestEntityTooLarge() { + return 413; + }, + /*_internal.HttpStatus.requestUriTooLong*/get requestUriTooLong() { + return 414; + }, + /*_internal.HttpStatus.unsupportedMediaType*/get unsupportedMediaType() { + return 415; + }, + /*_internal.HttpStatus.requestedRangeNotSatisfiable*/get requestedRangeNotSatisfiable() { + return 416; + }, + /*_internal.HttpStatus.expectationFailed*/get expectationFailed() { + return 417; + }, + /*_internal.HttpStatus.misdirectedRequest*/get misdirectedRequest() { + return 421; + }, + /*_internal.HttpStatus.unprocessableEntity*/get unprocessableEntity() { + return 422; + }, + /*_internal.HttpStatus.locked*/get locked() { + return 423; + }, + /*_internal.HttpStatus.failedDependency*/get failedDependency() { + return 424; + }, + /*_internal.HttpStatus.upgradeRequired*/get upgradeRequired() { + return 426; + }, + /*_internal.HttpStatus.preconditionRequired*/get preconditionRequired() { + return 428; + }, + /*_internal.HttpStatus.tooManyRequests*/get tooManyRequests() { + return 429; + }, + /*_internal.HttpStatus.requestHeaderFieldsTooLarge*/get requestHeaderFieldsTooLarge() { + return 431; + }, + /*_internal.HttpStatus.connectionClosedWithoutResponse*/get connectionClosedWithoutResponse() { + return 444; + }, + /*_internal.HttpStatus.unavailableForLegalReasons*/get unavailableForLegalReasons() { + return 451; + }, + /*_internal.HttpStatus.clientClosedRequest*/get clientClosedRequest() { + return 499; + }, + /*_internal.HttpStatus.internalServerError*/get internalServerError() { + return 500; + }, + /*_internal.HttpStatus.notImplemented*/get notImplemented() { + return 501; + }, + /*_internal.HttpStatus.badGateway*/get badGateway() { + return 502; + }, + /*_internal.HttpStatus.serviceUnavailable*/get serviceUnavailable() { + return 503; + }, + /*_internal.HttpStatus.gatewayTimeout*/get gatewayTimeout() { + return 504; + }, + /*_internal.HttpStatus.httpVersionNotSupported*/get httpVersionNotSupported() { + return 505; + }, + /*_internal.HttpStatus.variantAlsoNegotiates*/get variantAlsoNegotiates() { + return 506; + }, + /*_internal.HttpStatus.insufficientStorage*/get insufficientStorage() { + return 507; + }, + /*_internal.HttpStatus.loopDetected*/get loopDetected() { + return 508; + }, + /*_internal.HttpStatus.notExtended*/get notExtended() { + return 510; + }, + /*_internal.HttpStatus.networkAuthenticationRequired*/get networkAuthenticationRequired() { + return 511; + }, + /*_internal.HttpStatus.networkConnectTimeoutError*/get networkConnectTimeoutError() { + return 599; + }, + /*_internal.HttpStatus.CONTINUE*/get CONTINUE() { + return 100; + }, + /*_internal.HttpStatus.SWITCHING_PROTOCOLS*/get SWITCHING_PROTOCOLS() { + return 101; + }, + /*_internal.HttpStatus.OK*/get OK() { + return 200; + }, + /*_internal.HttpStatus.CREATED*/get CREATED() { + return 201; + }, + /*_internal.HttpStatus.ACCEPTED*/get ACCEPTED() { + return 202; + }, + /*_internal.HttpStatus.NON_AUTHORITATIVE_INFORMATION*/get NON_AUTHORITATIVE_INFORMATION() { + return 203; + }, + /*_internal.HttpStatus.NO_CONTENT*/get NO_CONTENT() { + return 204; + }, + /*_internal.HttpStatus.RESET_CONTENT*/get RESET_CONTENT() { + return 205; + }, + /*_internal.HttpStatus.PARTIAL_CONTENT*/get PARTIAL_CONTENT() { + return 206; + }, + /*_internal.HttpStatus.MULTIPLE_CHOICES*/get MULTIPLE_CHOICES() { + return 300; + }, + /*_internal.HttpStatus.MOVED_PERMANENTLY*/get MOVED_PERMANENTLY() { + return 301; + }, + /*_internal.HttpStatus.FOUND*/get FOUND() { + return 302; + }, + /*_internal.HttpStatus.MOVED_TEMPORARILY*/get MOVED_TEMPORARILY() { + return 302; + }, + /*_internal.HttpStatus.SEE_OTHER*/get SEE_OTHER() { + return 303; + }, + /*_internal.HttpStatus.NOT_MODIFIED*/get NOT_MODIFIED() { + return 304; + }, + /*_internal.HttpStatus.USE_PROXY*/get USE_PROXY() { + return 305; + }, + /*_internal.HttpStatus.TEMPORARY_REDIRECT*/get TEMPORARY_REDIRECT() { + return 307; + }, + /*_internal.HttpStatus.BAD_REQUEST*/get BAD_REQUEST() { + return 400; + }, + /*_internal.HttpStatus.UNAUTHORIZED*/get UNAUTHORIZED() { + return 401; + }, + /*_internal.HttpStatus.PAYMENT_REQUIRED*/get PAYMENT_REQUIRED() { + return 402; + }, + /*_internal.HttpStatus.FORBIDDEN*/get FORBIDDEN() { + return 403; + }, + /*_internal.HttpStatus.NOT_FOUND*/get NOT_FOUND() { + return 404; + }, + /*_internal.HttpStatus.METHOD_NOT_ALLOWED*/get METHOD_NOT_ALLOWED() { + return 405; + }, + /*_internal.HttpStatus.NOT_ACCEPTABLE*/get NOT_ACCEPTABLE() { + return 406; + }, + /*_internal.HttpStatus.PROXY_AUTHENTICATION_REQUIRED*/get PROXY_AUTHENTICATION_REQUIRED() { + return 407; + }, + /*_internal.HttpStatus.REQUEST_TIMEOUT*/get REQUEST_TIMEOUT() { + return 408; + }, + /*_internal.HttpStatus.CONFLICT*/get CONFLICT() { + return 409; + }, + /*_internal.HttpStatus.GONE*/get GONE() { + return 410; + }, + /*_internal.HttpStatus.LENGTH_REQUIRED*/get LENGTH_REQUIRED() { + return 411; + }, + /*_internal.HttpStatus.PRECONDITION_FAILED*/get PRECONDITION_FAILED() { + return 412; + }, + /*_internal.HttpStatus.REQUEST_ENTITY_TOO_LARGE*/get REQUEST_ENTITY_TOO_LARGE() { + return 413; + }, + /*_internal.HttpStatus.REQUEST_URI_TOO_LONG*/get REQUEST_URI_TOO_LONG() { + return 414; + }, + /*_internal.HttpStatus.UNSUPPORTED_MEDIA_TYPE*/get UNSUPPORTED_MEDIA_TYPE() { + return 415; + }, + /*_internal.HttpStatus.REQUESTED_RANGE_NOT_SATISFIABLE*/get REQUESTED_RANGE_NOT_SATISFIABLE() { + return 416; + }, + /*_internal.HttpStatus.EXPECTATION_FAILED*/get EXPECTATION_FAILED() { + return 417; + }, + /*_internal.HttpStatus.UPGRADE_REQUIRED*/get UPGRADE_REQUIRED() { + return 426; + }, + /*_internal.HttpStatus.INTERNAL_SERVER_ERROR*/get INTERNAL_SERVER_ERROR() { + return 500; + }, + /*_internal.HttpStatus.NOT_IMPLEMENTED*/get NOT_IMPLEMENTED() { + return 501; + }, + /*_internal.HttpStatus.BAD_GATEWAY*/get BAD_GATEWAY() { + return 502; + }, + /*_internal.HttpStatus.SERVICE_UNAVAILABLE*/get SERVICE_UNAVAILABLE() { + return 503; + }, + /*_internal.HttpStatus.GATEWAY_TIMEOUT*/get GATEWAY_TIMEOUT() { + return 504; + }, + /*_internal.HttpStatus.HTTP_VERSION_NOT_SUPPORTED*/get HTTP_VERSION_NOT_SUPPORTED() { + return 505; + }, + /*_internal.HttpStatus.NETWORK_CONNECT_TIMEOUT_ERROR*/get NETWORK_CONNECT_TIMEOUT_ERROR() { + return 599; + } + }, false); + var _source$ = dart.privateName(_internal, "_source"); + var _add = dart.privateName(async, "_add"); + var _closeUnchecked = dart.privateName(async, "_closeUnchecked"); + var _addError = dart.privateName(async, "_addError"); + var _completeError = dart.privateName(async, "_completeError"); + var _complete = dart.privateName(async, "_complete"); + var _sink$ = dart.privateName(async, "_sink"); + async.Stream$ = dart.generic(T => { + var _AsBroadcastStreamOfT = () => (_AsBroadcastStreamOfT = dart.constFn(async._AsBroadcastStream$(T)))(); + var _WhereStreamOfT = () => (_WhereStreamOfT = dart.constFn(async._WhereStream$(T)))(); + var TTovoid = () => (TTovoid = dart.constFn(dart.fnType(dart.void, [T])))(); + var _HandleErrorStreamOfT = () => (_HandleErrorStreamOfT = dart.constFn(async._HandleErrorStream$(T)))(); + var StreamConsumerOfT = () => (StreamConsumerOfT = dart.constFn(async.StreamConsumer$(T)))(); + var TAndTToT = () => (TAndTToT = dart.constFn(dart.fnType(T, [T, T])))(); + var _FutureOfT = () => (_FutureOfT = dart.constFn(async._Future$(T)))(); + var VoidToT = () => (VoidToT = dart.constFn(dart.fnType(T, [])))(); + var TTodynamic = () => (TTodynamic = dart.constFn(dart.fnType(dart.dynamic, [T])))(); + var TToNull = () => (TToNull = dart.constFn(dart.fnType(core.Null, [T])))(); + var JSArrayOfT = () => (JSArrayOfT = dart.constFn(_interceptors.JSArray$(T)))(); + var ListOfT = () => (ListOfT = dart.constFn(core.List$(T)))(); + var _FutureOfListOfT = () => (_FutureOfListOfT = dart.constFn(async._Future$(ListOfT())))(); + var _HashSetOfT = () => (_HashSetOfT = dart.constFn(collection._HashSet$(T)))(); + var SetOfT = () => (SetOfT = dart.constFn(core.Set$(T)))(); + var _FutureOfSetOfT = () => (_FutureOfSetOfT = dart.constFn(async._Future$(SetOfT())))(); + var _TakeStreamOfT = () => (_TakeStreamOfT = dart.constFn(async._TakeStream$(T)))(); + var _TakeWhileStreamOfT = () => (_TakeWhileStreamOfT = dart.constFn(async._TakeWhileStream$(T)))(); + var _SkipStreamOfT = () => (_SkipStreamOfT = dart.constFn(async._SkipStream$(T)))(); + var _SkipWhileStreamOfT = () => (_SkipWhileStreamOfT = dart.constFn(async._SkipWhileStream$(T)))(); + var _DistinctStreamOfT = () => (_DistinctStreamOfT = dart.constFn(async._DistinctStream$(T)))(); + var VoidToNT = () => (VoidToNT = dart.constFn(dart.nullable(VoidToT())))(); + var _SyncBroadcastStreamControllerOfT = () => (_SyncBroadcastStreamControllerOfT = dart.constFn(async._SyncBroadcastStreamController$(T)))(); + var _SyncStreamControllerOfT = () => (_SyncStreamControllerOfT = dart.constFn(async._SyncStreamController$(T)))(); + var EventSinkOfT = () => (EventSinkOfT = dart.constFn(async.EventSink$(T)))(); + var _ControllerEventSinkWrapperOfT = () => (_ControllerEventSinkWrapperOfT = dart.constFn(async._ControllerEventSinkWrapper$(T)))(); + class Stream extends core.Object { + static value(value) { + let t27; + return (t27 = new (async._AsyncStreamController$(T)).new(null, null, null, null), (() => { + t27[_add](value); + t27[_closeUnchecked](); + return t27; + })()).stream; + } + static error(error, stackTrace = null) { + let t28, t27; + if (error == null) dart.nullFailed(I[28], 143, 31, "error"); + _internal.checkNotNullable(core.Object, error, "error"); + return (t27 = new (async._AsyncStreamController$(T)).new(null, null, null, null), (() => { + t27[_addError](error, (t28 = stackTrace, t28 == null ? async.AsyncError.defaultStackTrace(error) : t28)); + t27[_closeUnchecked](); + return t27; + })()).stream; + } + static fromFuture(future) { + if (future == null) dart.nullFailed(I[28], 156, 39, "future"); + let controller = new (async._SyncStreamController$(T)).new(null, null, null, null); + future.then(core.Null, dart.fn(value => { + controller[_add](value); + controller[_closeUnchecked](); + }, dart.fnType(core.Null, [T])), {onError: dart.fn((error, stackTrace) => { + controller[_addError](core.Object.as(error), core.StackTrace.as(stackTrace)); + controller[_closeUnchecked](); + }, T$.dynamicAnddynamicToNull())}); + return controller.stream; + } + static fromFutures(futures) { + if (futures == null) dart.nullFailed(I[28], 185, 50, "futures"); + let controller = new (async._SyncStreamController$(T)).new(null, null, null, null); + let count = 0; + function onValue(value) { + if (!dart.test(controller.isClosed)) { + controller[_add](value); + if ((count = count - 1) === 0) controller[_closeUnchecked](); + } + } + dart.fn(onValue, dart.fnType(dart.void, [T])); + function onError(error, stack) { + if (error == null) dart.nullFailed(I[28], 199, 25, "error"); + if (stack == null) dart.nullFailed(I[28], 199, 43, "stack"); + if (!dart.test(controller.isClosed)) { + controller[_addError](error, stack); + if ((count = count - 1) === 0) controller[_closeUnchecked](); + } + } + dart.fn(onError, T$.ObjectAndStackTraceTovoid()); + for (let future of futures) { + count = count + 1; + future.then(dart.void, onValue, {onError: onError}); + } + if (count === 0) async.scheduleMicrotask(dart.bind(controller, 'close')); + return controller.stream; + } + static fromIterable(elements) { + if (elements == null) dart.nullFailed(I[28], 229, 43, "elements"); + return new (async._GeneratedStreamImpl$(T)).new(dart.fn(() => new (async._IterablePendingEvents$(T)).new(elements), dart.fnType(async._IterablePendingEvents$(T), []))); + } + static multi(onListen, opts) { + if (onListen == null) dart.nullFailed(I[28], 298, 64, "onListen"); + let isBroadcast = opts && 'isBroadcast' in opts ? opts.isBroadcast : false; + if (isBroadcast == null) dart.nullFailed(I[28], 299, 13, "isBroadcast"); + return new (async._MultiStream$(T)).new(onListen, isBroadcast); + } + static periodic(period, computation = null) { + if (period == null) dart.nullFailed(I[28], 315, 36, "period"); + if (computation == null && !dart.test(_internal.typeAcceptsNull(T))) { + dart.throw(new core.ArgumentError.value(null, "computation", "Must not be omitted when the event type is non-nullable")); + } + let controller = new (async._SyncStreamController$(T)).new(null, null, null, null); + let watch = new core.Stopwatch.new(); + controller.onListen = dart.fn(() => { + let t28; + let computationCount = 0; + function sendEvent(_) { + let t27; + watch.reset(); + if (computation != null) { + let event = null; + try { + event = computation((t27 = computationCount, computationCount = t27 + 1, t27)); + } catch (e$) { + let e = dart.getThrown(e$); + let s = dart.stackTrace(e$); + if (core.Object.is(e)) { + controller.addError(e, s); + return; + } else + throw e$; + } + controller.add(event); + } else { + controller.add(T.as(null)); + } + } + dart.fn(sendEvent, T$.dynamicTovoid()); + let timer = async.Timer.periodic(period, sendEvent); + t28 = controller; + (() => { + t28.onCancel = dart.fn(() => { + timer.cancel(); + return async.Future._nullFuture; + }, T$.VoidTo_FutureOfNull()); + t28.onPause = dart.fn(() => { + watch.stop(); + timer.cancel(); + }, T$.VoidTovoid()); + t28.onResume = dart.fn(() => { + let elapsed = watch.elapsed; + watch.start(); + timer = async.Timer.new(period['-'](elapsed), dart.fn(() => { + timer = async.Timer.periodic(period, sendEvent); + sendEvent(null); + }, T$.VoidTovoid())); + }, T$.VoidTovoid()); + return t28; + })(); + }, T$.VoidTovoid()); + return controller.stream; + } + static eventTransformed(source, mapSink) { + if (source == null) dart.nullFailed(I[28], 403, 23, "source"); + if (mapSink == null) dart.nullFailed(I[28], 403, 50, "mapSink"); + return new (async._BoundSinkStream$(dart.dynamic, T)).new(source, mapSink); + } + static castFrom(S, T, source) { + if (source == null) dart.nullFailed(I[28], 413, 45, "source"); + return new (_internal.CastStream$(S, T)).new(source); + } + get isBroadcast() { + return false; + } + asBroadcastStream(opts) { + let onListen = opts && 'onListen' in opts ? opts.onListen : null; + let onCancel = opts && 'onCancel' in opts ? opts.onCancel : null; + return new (_AsBroadcastStreamOfT()).new(this, onListen, onCancel); + } + where(test) { + if (test == null) dart.nullFailed(I[28], 493, 24, "test"); + return new (_WhereStreamOfT()).new(this, test); + } + map(S, convert) { + if (convert == null) dart.nullFailed(I[28], 521, 22, "convert"); + return new (async._MapStream$(T, S)).new(this, convert); + } + asyncMap(E, convert) { + if (convert == null) dart.nullFailed(I[28], 533, 37, "convert"); + let controller = null; + if (dart.test(this.isBroadcast)) { + controller = new (async._SyncBroadcastStreamController$(E)).new(null, null); + } else { + controller = new (async._SyncStreamController$(E)).new(null, null, null, null); + } + controller.onListen = dart.fn(() => { + let t29; + let subscription = this.listen(null, {onError: dart.bind(controller, _addError), onDone: dart.bind(controller, 'close')}); + function add(value) { + controller.add(value); + } + dart.fn(add, dart.fnType(T$.FutureNOfNull(), [E])); + let addError = dart.bind(controller, _addError); + let resume = dart.bind(subscription, 'resume'); + subscription.onData(dart.fn(event => { + let newValue = null; + try { + newValue = convert(event); + } catch (e$) { + let e = dart.getThrown(e$); + let s = dart.stackTrace(e$); + if (core.Object.is(e)) { + controller.addError(e, s); + return; + } else + throw e$; + } + if (async.Future$(E).is(newValue)) { + subscription.pause(); + newValue.then(core.Null, add, {onError: addError}).whenComplete(resume); + } else { + controller.add(E.as(newValue)); + } + }, TTovoid())); + controller.onCancel = dart.bind(subscription, 'cancel'); + if (!dart.test(this.isBroadcast)) { + t29 = controller; + (() => { + t29.onPause = dart.bind(subscription, 'pause'); + t29.onResume = resume; + return t29; + })(); + } + }, T$.VoidTovoid()); + return controller.stream; + } + asyncExpand(E, convert) { + if (convert == null) dart.nullFailed(I[28], 593, 39, "convert"); + let controller = null; + if (dart.test(this.isBroadcast)) { + controller = new (async._SyncBroadcastStreamController$(E)).new(null, null); + } else { + controller = new (async._SyncStreamController$(E)).new(null, null, null, null); + } + controller.onListen = dart.fn(() => { + let t30; + let subscription = this.listen(null, {onError: dart.bind(controller, _addError), onDone: dart.bind(controller, 'close')}); + subscription.onData(dart.fn(event => { + let newStream = null; + try { + newStream = convert(event); + } catch (e$) { + let e = dart.getThrown(e$); + let s = dart.stackTrace(e$); + if (core.Object.is(e)) { + controller.addError(e, s); + return; + } else + throw e$; + } + if (newStream != null) { + subscription.pause(); + controller.addStream(newStream).whenComplete(dart.bind(subscription, 'resume')); + } + }, TTovoid())); + controller.onCancel = dart.bind(subscription, 'cancel'); + if (!dart.test(this.isBroadcast)) { + t30 = controller; + (() => { + t30.onPause = dart.bind(subscription, 'pause'); + t30.onResume = dart.bind(subscription, 'resume'); + return t30; + })(); + } + }, T$.VoidTovoid()); + return controller.stream; + } + handleError(onError, opts) { + if (onError == null) dart.nullFailed(I[28], 658, 34, "onError"); + let test = opts && 'test' in opts ? opts.test : null; + return new (_HandleErrorStreamOfT()).new(this, onError, test); + } + expand(S, convert) { + if (convert == null) dart.nullFailed(I[28], 679, 35, "convert"); + return new (async._ExpandStream$(T, S)).new(this, convert); + } + pipe(streamConsumer) { + StreamConsumerOfT().as(streamConsumer); + if (streamConsumer == null) dart.nullFailed(I[28], 697, 33, "streamConsumer"); + return streamConsumer.addStream(this).then(dart.dynamic, dart.fn(_ => streamConsumer.close(), T$.dynamicToFuture())); + } + transform(S, streamTransformer) { + async.StreamTransformer$(T, S).as(streamTransformer); + if (streamTransformer == null) dart.nullFailed(I[28], 726, 50, "streamTransformer"); + return streamTransformer.bind(this); + } + reduce(combine) { + TAndTToT().as(combine); + if (combine == null) dart.nullFailed(I[28], 747, 22, "combine"); + let result = new (_FutureOfT()).new(); + let seenFirst = false; + let value = null; + let value$35isSet = false; + function value$35get() { + return value$35isSet ? value : dart.throw(new _internal.LateError.localNI("value")); + } + dart.fn(value$35get, VoidToT()); + function value$35set(t33) { + value$35isSet = true; + return value = t33; + } + dart.fn(value$35set, TTodynamic()); + let subscription = this.listen(null, {onError: dart.bind(result, _completeError), onDone: dart.fn(() => { + if (!seenFirst) { + try { + dart.throw(_internal.IterableElementError.noElement()); + } catch (e$) { + let e = dart.getThrown(e$); + let s = dart.stackTrace(e$); + if (core.Object.is(e)) { + async._completeWithErrorCallback(result, e, s); + } else + throw e$; + } + } else { + result[_complete](value$35get()); + } + }, T$.VoidTovoid()), cancelOnError: true}); + subscription.onData(dart.fn(element => { + if (seenFirst) { + async._runUserCode(T, dart.fn(() => combine(value$35get(), element), VoidToT()), dart.fn(newValue => { + value$35set(newValue); + }, TToNull()), async._cancelAndErrorClosure(subscription, result)); + } else { + value$35set(element); + seenFirst = true; + } + }, TTovoid())); + return result; + } + fold(S, initialValue, combine) { + if (combine == null) dart.nullFailed(I[28], 794, 39, "combine"); + let result = new (async._Future$(S)).new(); + let value = initialValue; + let subscription = this.listen(null, {onError: dart.bind(result, _completeError), onDone: dart.fn(() => { + result[_complete](value); + }, T$.VoidTovoid()), cancelOnError: true}); + subscription.onData(dart.fn(element => { + async._runUserCode(S, dart.fn(() => combine(value, element), dart.fnType(S, [])), dart.fn(newValue => { + value = newValue; + }, dart.fnType(core.Null, [S])), async._cancelAndErrorClosure(subscription, result)); + }, TTovoid())); + return result; + } + join(separator = "") { + if (separator == null) dart.nullFailed(I[28], 821, 31, "separator"); + let result = new (T$._FutureOfString()).new(); + let buffer = new core.StringBuffer.new(); + let first = true; + let subscription = this.listen(null, {onError: dart.bind(result, _completeError), onDone: dart.fn(() => { + result[_complete](buffer.toString()); + }, T$.VoidTovoid()), cancelOnError: true}); + subscription.onData(separator[$isEmpty] ? dart.fn(element => { + try { + buffer.write(element); + } catch (e$) { + let e = dart.getThrown(e$); + let s = dart.stackTrace(e$); + if (core.Object.is(e)) { + async._cancelAndErrorWithReplacement(subscription, result, e, s); + } else + throw e$; + } + }, TTovoid()) : dart.fn(element => { + if (!first) { + buffer.write(separator); + } + first = false; + try { + buffer.write(element); + } catch (e$) { + let e = dart.getThrown(e$); + let s = dart.stackTrace(e$); + if (core.Object.is(e)) { + async._cancelAndErrorWithReplacement(subscription, result, e, s); + } else + throw e$; + } + }, TTovoid())); + return result; + } + contains(needle) { + let future = new (T$._FutureOfbool()).new(); + let subscription = this.listen(null, {onError: dart.bind(future, _completeError), onDone: dart.fn(() => { + future[_complete](false); + }, T$.VoidTovoid()), cancelOnError: true}); + subscription.onData(dart.fn(element => { + async._runUserCode(core.bool, dart.fn(() => dart.equals(element, needle), T$.VoidTobool()), dart.fn(isMatch => { + if (isMatch == null) dart.nullFailed(I[28], 868, 53, "isMatch"); + if (dart.test(isMatch)) { + async._cancelAndValue(subscription, future, true); + } + }, T$.boolToNull()), async._cancelAndErrorClosure(subscription, future)); + }, TTovoid())); + return future; + } + forEach(action) { + if (action == null) dart.nullFailed(I[28], 885, 23, "action"); + let future = new async._Future.new(); + let subscription = this.listen(null, {onError: dart.bind(future, _completeError), onDone: dart.fn(() => { + future[_complete](null); + }, T$.VoidTovoid()), cancelOnError: true}); + subscription.onData(dart.fn(element => { + async._runUserCode(dart.void, dart.fn(() => action(element), T$.VoidTovoid()), dart.fn(_ => { + }, T$.voidToNull()), async._cancelAndErrorClosure(subscription, future)); + }, TTovoid())); + return future; + } + every(test) { + if (test == null) dart.nullFailed(I[28], 910, 27, "test"); + let future = new (T$._FutureOfbool()).new(); + let subscription = this.listen(null, {onError: dart.bind(future, _completeError), onDone: dart.fn(() => { + future[_complete](true); + }, T$.VoidTovoid()), cancelOnError: true}); + subscription.onData(dart.fn(element => { + async._runUserCode(core.bool, dart.fn(() => test(element), T$.VoidTobool()), dart.fn(isMatch => { + if (isMatch == null) dart.nullFailed(I[28], 917, 47, "isMatch"); + if (!dart.test(isMatch)) { + async._cancelAndValue(subscription, future, false); + } + }, T$.boolToNull()), async._cancelAndErrorClosure(subscription, future)); + }, TTovoid())); + return future; + } + any(test) { + if (test == null) dart.nullFailed(I[28], 938, 25, "test"); + let future = new (T$._FutureOfbool()).new(); + let subscription = this.listen(null, {onError: dart.bind(future, _completeError), onDone: dart.fn(() => { + future[_complete](false); + }, T$.VoidTovoid()), cancelOnError: true}); + subscription.onData(dart.fn(element => { + async._runUserCode(core.bool, dart.fn(() => test(element), T$.VoidTobool()), dart.fn(isMatch => { + if (isMatch == null) dart.nullFailed(I[28], 945, 47, "isMatch"); + if (dart.test(isMatch)) { + async._cancelAndValue(subscription, future, true); + } + }, T$.boolToNull()), async._cancelAndErrorClosure(subscription, future)); + }, TTovoid())); + return future; + } + get length() { + let future = new (T$._FutureOfint()).new(); + let count = 0; + this.listen(dart.fn(_ => { + count = count + 1; + }, TTovoid()), {onError: dart.bind(future, _completeError), onDone: dart.fn(() => { + future[_complete](count); + }, T$.VoidTovoid()), cancelOnError: true}); + return future; + } + get isEmpty() { + let future = new (T$._FutureOfbool()).new(); + let subscription = this.listen(null, {onError: dart.bind(future, _completeError), onDone: dart.fn(() => { + future[_complete](true); + }, T$.VoidTovoid()), cancelOnError: true}); + subscription.onData(dart.fn(_ => { + async._cancelAndValue(subscription, future, false); + }, TTovoid())); + return future; + } + cast(R) { + return async.Stream.castFrom(T, R, this); + } + toList() { + let result = JSArrayOfT().of([]); + let future = new (_FutureOfListOfT()).new(); + this.listen(dart.fn(data => { + result[$add](data); + }, TTovoid()), {onError: dart.bind(future, _completeError), onDone: dart.fn(() => { + future[_complete](result); + }, T$.VoidTovoid()), cancelOnError: true}); + return future; + } + toSet() { + let result = new (_HashSetOfT()).new(); + let future = new (_FutureOfSetOfT()).new(); + this.listen(dart.fn(data => { + result.add(data); + }, TTovoid()), {onError: dart.bind(future, _completeError), onDone: dart.fn(() => { + future[_complete](result); + }, T$.VoidTovoid()), cancelOnError: true}); + return future; + } + drain(E, futureValue = null) { + if (futureValue == null) { + futureValue = E.as(futureValue); + } + return this.listen(null, {cancelOnError: true}).asFuture(E, futureValue); + } + take(count) { + if (count == null) dart.nullFailed(I[28], 1104, 22, "count"); + return new (_TakeStreamOfT()).new(this, count); + } + takeWhile(test) { + if (test == null) dart.nullFailed(I[28], 1128, 28, "test"); + return new (_TakeWhileStreamOfT()).new(this, test); + } + skip(count) { + if (count == null) dart.nullFailed(I[28], 1145, 22, "count"); + return new (_SkipStreamOfT()).new(this, count); + } + skipWhile(test) { + if (test == null) dart.nullFailed(I[28], 1165, 28, "test"); + return new (_SkipWhileStreamOfT()).new(this, test); + } + distinct(equals = null) { + return new (_DistinctStreamOfT()).new(this, equals); + } + get first() { + let future = new (_FutureOfT()).new(); + let subscription = this.listen(null, {onError: dart.bind(future, _completeError), onDone: dart.fn(() => { + try { + dart.throw(_internal.IterableElementError.noElement()); + } catch (e$) { + let e = dart.getThrown(e$); + let s = dart.stackTrace(e$); + if (core.Object.is(e)) { + async._completeWithErrorCallback(future, e, s); + } else + throw e$; + } + }, T$.VoidTovoid()), cancelOnError: true}); + subscription.onData(dart.fn(value => { + async._cancelAndValue(subscription, future, value); + }, TTovoid())); + return future; + } + get last() { + let future = new (_FutureOfT()).new(); + let result = null; + let result$35isSet = false; + function result$35get() { + return result$35isSet ? result : dart.throw(new _internal.LateError.localNI("result")); + } + dart.fn(result$35get, VoidToT()); + function result$35set(t42) { + result$35isSet = true; + return result = t42; + } + dart.fn(result$35set, TTodynamic()); + let foundResult = false; + this.listen(dart.fn(value => { + foundResult = true; + result$35set(value); + }, TTovoid()), {onError: dart.bind(future, _completeError), onDone: dart.fn(() => { + if (foundResult) { + future[_complete](result$35get()); + return; + } + try { + dart.throw(_internal.IterableElementError.noElement()); + } catch (e$) { + let e = dart.getThrown(e$); + let s = dart.stackTrace(e$); + if (core.Object.is(e)) { + async._completeWithErrorCallback(future, e, s); + } else + throw e$; + } + }, T$.VoidTovoid()), cancelOnError: true}); + return future; + } + get single() { + let future = new (_FutureOfT()).new(); + let result = null; + let result$35isSet = false; + function result$35get() { + return result$35isSet ? result : dart.throw(new _internal.LateError.localNI("result")); + } + dart.fn(result$35get, VoidToT()); + function result$35set(t48) { + result$35isSet = true; + return result = t48; + } + dart.fn(result$35set, TTodynamic()); + let foundResult = false; + let subscription = this.listen(null, {onError: dart.bind(future, _completeError), onDone: dart.fn(() => { + if (foundResult) { + future[_complete](result$35get()); + return; + } + try { + dart.throw(_internal.IterableElementError.noElement()); + } catch (e$) { + let e = dart.getThrown(e$); + let s = dart.stackTrace(e$); + if (core.Object.is(e)) { + async._completeWithErrorCallback(future, e, s); + } else + throw e$; + } + }, T$.VoidTovoid()), cancelOnError: true}); + subscription.onData(dart.fn(value => { + if (foundResult) { + try { + dart.throw(_internal.IterableElementError.tooMany()); + } catch (e$) { + let e = dart.getThrown(e$); + let s = dart.stackTrace(e$); + if (core.Object.is(e)) { + async._cancelAndErrorWithReplacement(subscription, future, e, s); + } else + throw e$; + } + return; + } + foundResult = true; + result$35set(value); + }, TTovoid())); + return future; + } + firstWhere(test, opts) { + if (test == null) dart.nullFailed(I[28], 1320, 29, "test"); + let orElse = opts && 'orElse' in opts ? opts.orElse : null; + VoidToNT().as(orElse); + let future = new (_FutureOfT()).new(); + let subscription = this.listen(null, {onError: dart.bind(future, _completeError), onDone: dart.fn(() => { + if (orElse != null) { + async._runUserCode(T, orElse, dart.bind(future, _complete), dart.bind(future, _completeError)); + return; + } + try { + dart.throw(_internal.IterableElementError.noElement()); + } catch (e$) { + let e = dart.getThrown(e$); + let s = dart.stackTrace(e$); + if (core.Object.is(e)) { + async._completeWithErrorCallback(future, e, s); + } else + throw e$; + } + }, T$.VoidTovoid()), cancelOnError: true}); + subscription.onData(dart.fn(value => { + async._runUserCode(core.bool, dart.fn(() => test(value), T$.VoidTobool()), dart.fn(isMatch => { + if (isMatch == null) dart.nullFailed(I[28], 1337, 45, "isMatch"); + if (dart.test(isMatch)) { + async._cancelAndValue(subscription, future, value); + } + }, T$.boolToNull()), async._cancelAndErrorClosure(subscription, future)); + }, TTovoid())); + return future; + } + lastWhere(test, opts) { + if (test == null) dart.nullFailed(I[28], 1355, 28, "test"); + let orElse = opts && 'orElse' in opts ? opts.orElse : null; + VoidToNT().as(orElse); + let future = new (_FutureOfT()).new(); + let result = null; + let result$35isSet = false; + function result$35get() { + return result$35isSet ? result : dart.throw(new _internal.LateError.localNI("result")); + } + dart.fn(result$35get, VoidToT()); + function result$35set(t56) { + result$35isSet = true; + return result = t56; + } + dart.fn(result$35set, TTodynamic()); + let foundResult = false; + let subscription = this.listen(null, {onError: dart.bind(future, _completeError), onDone: dart.fn(() => { + if (foundResult) { + future[_complete](result$35get()); + return; + } + if (orElse != null) { + async._runUserCode(T, orElse, dart.bind(future, _complete), dart.bind(future, _completeError)); + return; + } + try { + dart.throw(_internal.IterableElementError.noElement()); + } catch (e$) { + let e = dart.getThrown(e$); + let s = dart.stackTrace(e$); + if (core.Object.is(e)) { + async._completeWithErrorCallback(future, e, s); + } else + throw e$; + } + }, T$.VoidTovoid()), cancelOnError: true}); + subscription.onData(dart.fn(value => { + async._runUserCode(core.bool, dart.fn(() => test(value), T$.VoidTobool()), dart.fn(isMatch => { + if (isMatch == null) dart.nullFailed(I[28], 1377, 45, "isMatch"); + if (dart.test(isMatch)) { + foundResult = true; + result$35set(value); + } + }, T$.boolToNull()), async._cancelAndErrorClosure(subscription, future)); + }, TTovoid())); + return future; + } + singleWhere(test, opts) { + if (test == null) dart.nullFailed(I[28], 1391, 30, "test"); + let orElse = opts && 'orElse' in opts ? opts.orElse : null; + VoidToNT().as(orElse); + let future = new (_FutureOfT()).new(); + let result = null; + let result$35isSet = false; + function result$35get() { + return result$35isSet ? result : dart.throw(new _internal.LateError.localNI("result")); + } + dart.fn(result$35get, VoidToT()); + function result$35set(t62) { + result$35isSet = true; + return result = t62; + } + dart.fn(result$35set, TTodynamic()); + let foundResult = false; + let subscription = this.listen(null, {onError: dart.bind(future, _completeError), onDone: dart.fn(() => { + if (foundResult) { + future[_complete](result$35get()); + return; + } + if (orElse != null) { + async._runUserCode(T, orElse, dart.bind(future, _complete), dart.bind(future, _completeError)); + return; + } + try { + dart.throw(_internal.IterableElementError.noElement()); + } catch (e$) { + let e = dart.getThrown(e$); + let s = dart.stackTrace(e$); + if (core.Object.is(e)) { + async._completeWithErrorCallback(future, e, s); + } else + throw e$; + } + }, T$.VoidTovoid()), cancelOnError: true}); + subscription.onData(dart.fn(value => { + async._runUserCode(core.bool, dart.fn(() => test(value), T$.VoidTobool()), dart.fn(isMatch => { + if (isMatch == null) dart.nullFailed(I[28], 1413, 45, "isMatch"); + if (dart.test(isMatch)) { + if (foundResult) { + try { + dart.throw(_internal.IterableElementError.tooMany()); + } catch (e$) { + let e = dart.getThrown(e$); + let s = dart.stackTrace(e$); + if (core.Object.is(e)) { + async._cancelAndErrorWithReplacement(subscription, future, e, s); + } else + throw e$; + } + return; + } + foundResult = true; + result$35set(value); + } + }, T$.boolToNull()), async._cancelAndErrorClosure(subscription, future)); + }, TTovoid())); + return future; + } + elementAt(index) { + if (index == null) dart.nullFailed(I[28], 1445, 27, "index"); + core.RangeError.checkNotNegative(index, "index"); + let result = new (_FutureOfT()).new(); + let elementIndex = 0; + let subscription = null; + subscription = this.listen(null, {onError: dart.bind(result, _completeError), onDone: dart.fn(() => { + result[_completeError](new core.IndexError.new(index, this, "index", null, elementIndex), core.StackTrace.empty); + }, T$.VoidTovoid()), cancelOnError: true}); + subscription.onData(dart.fn(value => { + if (index === elementIndex) { + async._cancelAndValue(subscription, result, value); + return; + } + elementIndex = elementIndex + 1; + }, TTovoid())); + return result; + } + timeout(timeLimit, opts) { + if (timeLimit == null) dart.nullFailed(I[28], 1492, 30, "timeLimit"); + let onTimeout = opts && 'onTimeout' in opts ? opts.onTimeout : null; + let controller = null; + if (dart.test(this.isBroadcast)) { + controller = new (_SyncBroadcastStreamControllerOfT()).new(null, null); + } else { + controller = new (_SyncStreamControllerOfT()).new(null, null, null, null); + } + let zone = async.Zone.current; + let timeoutCallback = null; + if (onTimeout == null) { + timeoutCallback = dart.fn(() => { + controller.addError(new async.TimeoutException.new("No stream event", timeLimit), null); + }, T$.VoidTovoid()); + } else { + let registeredOnTimeout = zone.registerUnaryCallback(dart.void, EventSinkOfT(), onTimeout); + let wrapper = new (_ControllerEventSinkWrapperOfT()).new(null); + timeoutCallback = dart.fn(() => { + wrapper[_sink$] = controller; + zone.runUnaryGuarded(_ControllerEventSinkWrapperOfT(), registeredOnTimeout, wrapper); + wrapper[_sink$] = null; + }, T$.VoidTovoid()); + } + controller.onListen = dart.fn(() => { + let t66, t66$; + let timer = zone.createTimer(timeLimit, timeoutCallback); + let subscription = this.listen(null); + t66 = subscription; + (() => { + t66.onData(dart.fn(event => { + timer.cancel(); + timer = zone.createTimer(timeLimit, timeoutCallback); + controller.add(event); + }, TTovoid())); + t66.onError(dart.fn((error, stackTrace) => { + if (error == null) dart.nullFailed(I[28], 1536, 27, "error"); + if (stackTrace == null) dart.nullFailed(I[28], 1536, 45, "stackTrace"); + timer.cancel(); + timer = zone.createTimer(timeLimit, timeoutCallback); + controller[_addError](error, stackTrace); + }, T$.ObjectAndStackTraceToNull())); + t66.onDone(dart.fn(() => { + timer.cancel(); + controller.close(); + }, T$.VoidTovoid())); + return t66; + })(); + controller.onCancel = dart.fn(() => { + timer.cancel(); + return subscription.cancel(); + }, T$.VoidToFutureOfvoid()); + if (!dart.test(this.isBroadcast)) { + t66$ = controller; + (() => { + t66$.onPause = dart.fn(() => { + timer.cancel(); + subscription.pause(); + }, T$.VoidTovoid()); + t66$.onResume = dart.fn(() => { + subscription.resume(); + timer = zone.createTimer(timeLimit, timeoutCallback); + }, T$.VoidTovoid()); + return t66$; + })(); + } + }, T$.VoidTovoid()); + return controller.stream; + } + } + (Stream.new = function() { + ; + }).prototype = Stream.prototype; + (Stream._internal = function() { + ; + }).prototype = Stream.prototype; + dart.addTypeTests(Stream); + Stream.prototype[dart.isStream] = true; + dart.addTypeCaches(Stream); + dart.setMethodSignature(Stream, () => ({ + __proto__: dart.getMethods(Stream.__proto__), + asBroadcastStream: dart.fnType(async.Stream$(T), [], {onCancel: dart.nullable(dart.fnType(dart.void, [async.StreamSubscription$(T)])), onListen: dart.nullable(dart.fnType(dart.void, [async.StreamSubscription$(T)]))}, {}), + where: dart.fnType(async.Stream$(T), [dart.fnType(core.bool, [T])]), + map: dart.gFnType(S => [async.Stream$(S), [dart.fnType(S, [T])]], S => [dart.nullable(core.Object)]), + asyncMap: dart.gFnType(E => [async.Stream$(E), [dart.fnType(async.FutureOr$(E), [T])]], E => [dart.nullable(core.Object)]), + asyncExpand: dart.gFnType(E => [async.Stream$(E), [dart.fnType(dart.nullable(async.Stream$(E)), [T])]], E => [dart.nullable(core.Object)]), + handleError: dart.fnType(async.Stream$(T), [core.Function], {test: dart.nullable(dart.fnType(core.bool, [dart.dynamic]))}, {}), + expand: dart.gFnType(S => [async.Stream$(S), [dart.fnType(core.Iterable$(S), [T])]], S => [dart.nullable(core.Object)]), + pipe: dart.fnType(async.Future, [dart.nullable(core.Object)]), + transform: dart.gFnType(S => [async.Stream$(S), [dart.nullable(core.Object)]], S => [dart.nullable(core.Object)]), + reduce: dart.fnType(async.Future$(T), [dart.nullable(core.Object)]), + fold: dart.gFnType(S => [async.Future$(S), [S, dart.fnType(S, [S, T])]], S => [dart.nullable(core.Object)]), + join: dart.fnType(async.Future$(core.String), [], [core.String]), + contains: dart.fnType(async.Future$(core.bool), [dart.nullable(core.Object)]), + forEach: dart.fnType(async.Future, [dart.fnType(dart.void, [T])]), + every: dart.fnType(async.Future$(core.bool), [dart.fnType(core.bool, [T])]), + any: dart.fnType(async.Future$(core.bool), [dart.fnType(core.bool, [T])]), + cast: dart.gFnType(R => [async.Stream$(R), []], R => [dart.nullable(core.Object)]), + toList: dart.fnType(async.Future$(core.List$(T)), []), + toSet: dart.fnType(async.Future$(core.Set$(T)), []), + drain: dart.gFnType(E => [async.Future$(E), [], [dart.nullable(E)]], E => [dart.nullable(core.Object)]), + take: dart.fnType(async.Stream$(T), [core.int]), + takeWhile: dart.fnType(async.Stream$(T), [dart.fnType(core.bool, [T])]), + skip: dart.fnType(async.Stream$(T), [core.int]), + skipWhile: dart.fnType(async.Stream$(T), [dart.fnType(core.bool, [T])]), + distinct: dart.fnType(async.Stream$(T), [], [dart.nullable(dart.fnType(core.bool, [T, T]))]), + firstWhere: dart.fnType(async.Future$(T), [dart.fnType(core.bool, [T])], {orElse: dart.nullable(core.Object)}, {}), + lastWhere: dart.fnType(async.Future$(T), [dart.fnType(core.bool, [T])], {orElse: dart.nullable(core.Object)}, {}), + singleWhere: dart.fnType(async.Future$(T), [dart.fnType(core.bool, [T])], {orElse: dart.nullable(core.Object)}, {}), + elementAt: dart.fnType(async.Future$(T), [core.int]), + timeout: dart.fnType(async.Stream$(T), [core.Duration], {onTimeout: dart.nullable(dart.fnType(dart.void, [async.EventSink$(T)]))}, {}) + })); + dart.setGetterSignature(Stream, () => ({ + __proto__: dart.getGetters(Stream.__proto__), + isBroadcast: core.bool, + length: async.Future$(core.int), + isEmpty: async.Future$(core.bool), + first: async.Future$(T), + last: async.Future$(T), + single: async.Future$(T) + })); + dart.setLibraryUri(Stream, I[29]); + return Stream; + }); + async.Stream = async.Stream$(); + dart.addTypeTests(async.Stream, dart.isStream); + const _is_CastStream_default = Symbol('_is_CastStream_default'); + _internal.CastStream$ = dart.generic((S, T) => { + var CastStreamSubscriptionOfS$T = () => (CastStreamSubscriptionOfS$T = dart.constFn(_internal.CastStreamSubscription$(S, T)))(); + class CastStream extends async.Stream$(T) { + get isBroadcast() { + return this[_source$].isBroadcast; + } + listen(onData, opts) { + let t27; + let onError = opts && 'onError' in opts ? opts.onError : null; + let onDone = opts && 'onDone' in opts ? opts.onDone : null; + let cancelOnError = opts && 'cancelOnError' in opts ? opts.cancelOnError : null; + t27 = new (CastStreamSubscriptionOfS$T()).new(this[_source$].listen(null, {onDone: onDone, cancelOnError: cancelOnError})); + return (() => { + t27.onData(onData); + t27.onError(onError); + return t27; + })(); + } + cast(R) { + return new (_internal.CastStream$(S, R)).new(this[_source$]); + } + } + (CastStream.new = function(_source) { + if (_source == null) dart.nullFailed(I[27], 11, 19, "_source"); + this[_source$] = _source; + CastStream.__proto__.new.call(this); + ; + }).prototype = CastStream.prototype; + dart.addTypeTests(CastStream); + CastStream.prototype[_is_CastStream_default] = true; + dart.addTypeCaches(CastStream); + dart.setMethodSignature(CastStream, () => ({ + __proto__: dart.getMethods(CastStream.__proto__), + listen: dart.fnType(async.StreamSubscription$(T), [dart.nullable(dart.fnType(dart.void, [T]))], {cancelOnError: dart.nullable(core.bool), onDone: dart.nullable(dart.fnType(dart.void, [])), onError: dart.nullable(core.Function)}, {}), + cast: dart.gFnType(R => [async.Stream$(R), []], R => [dart.nullable(core.Object)]) + })); + dart.setLibraryUri(CastStream, I[25]); + dart.setFieldSignature(CastStream, () => ({ + __proto__: dart.getFields(CastStream.__proto__), + [_source$]: dart.finalFieldType(async.Stream$(S)) + })); + return CastStream; + }); + _internal.CastStream = _internal.CastStream$(); + dart.addTypeTests(_internal.CastStream, _is_CastStream_default); + var _zone = dart.privateName(_internal, "_zone"); + var _handleData = dart.privateName(_internal, "_handleData"); + var _handleError = dart.privateName(_internal, "_handleError"); + var _onData = dart.privateName(_internal, "_onData"); + const _is_CastStreamSubscription_default = Symbol('_is_CastStreamSubscription_default'); + _internal.CastStreamSubscription$ = dart.generic((S, T) => { + class CastStreamSubscription extends core.Object { + cancel() { + return this[_source$].cancel(); + } + onData(handleData) { + this[_handleData] = handleData == null ? null : this[_zone].registerUnaryCallback(dart.dynamic, T, handleData); + } + onError(handleError) { + this[_source$].onError(handleError); + if (handleError == null) { + this[_handleError] = null; + } else if (T$.ObjectAndStackTraceTovoid().is(handleError)) { + this[_handleError] = this[_zone].registerBinaryCallback(dart.dynamic, core.Object, core.StackTrace, handleError); + } else if (T$.ObjectTovoid().is(handleError)) { + this[_handleError] = this[_zone].registerUnaryCallback(dart.dynamic, core.Object, handleError); + } else { + dart.throw(new core.ArgumentError.new("handleError callback must take either an Object " + "(the error), or both an Object (the error) and a StackTrace.")); + } + } + onDone(handleDone) { + this[_source$].onDone(handleDone); + } + [_onData](data) { + S.as(data); + if (this[_handleData] == null) return; + let targetData = null; + try { + targetData = T.as(data); + } catch (e) { + let error = dart.getThrown(e); + let stack = dart.stackTrace(e); + if (core.Object.is(error)) { + let handleError = this[_handleError]; + if (handleError == null) { + this[_zone].handleUncaughtError(error, stack); + } else if (T$.ObjectAndStackTraceTovoid().is(handleError)) { + this[_zone].runBinaryGuarded(core.Object, core.StackTrace, handleError, error, stack); + } else { + this[_zone].runUnaryGuarded(core.Object, T$.ObjectTovoid().as(handleError), error); + } + return; + } else + throw e; + } + this[_zone].runUnaryGuarded(T, dart.nullCheck(this[_handleData]), targetData); + } + pause(resumeSignal = null) { + this[_source$].pause(resumeSignal); + } + resume() { + this[_source$].resume(); + } + get isPaused() { + return this[_source$].isPaused; + } + asFuture(E, futureValue = null) { + return this[_source$].asFuture(E, futureValue); + } + } + (CastStreamSubscription.new = function(_source) { + if (_source == null) dart.nullFailed(I[27], 37, 31, "_source"); + this[_zone] = async.Zone.current; + this[_handleData] = null; + this[_handleError] = null; + this[_source$] = _source; + this[_source$].onData(dart.bind(this, _onData)); + }).prototype = CastStreamSubscription.prototype; + CastStreamSubscription.prototype[dart.isStreamSubscription] = true; + dart.addTypeTests(CastStreamSubscription); + CastStreamSubscription.prototype[_is_CastStreamSubscription_default] = true; + dart.addTypeCaches(CastStreamSubscription); + CastStreamSubscription[dart.implements] = () => [async.StreamSubscription$(T)]; + dart.setMethodSignature(CastStreamSubscription, () => ({ + __proto__: dart.getMethods(CastStreamSubscription.__proto__), + cancel: dart.fnType(async.Future, []), + onData: dart.fnType(dart.void, [dart.nullable(dart.fnType(dart.void, [T]))]), + onError: dart.fnType(dart.void, [dart.nullable(core.Function)]), + onDone: dart.fnType(dart.void, [dart.nullable(dart.fnType(dart.void, []))]), + [_onData]: dart.fnType(dart.void, [dart.nullable(core.Object)]), + pause: dart.fnType(dart.void, [], [dart.nullable(async.Future)]), + resume: dart.fnType(dart.void, []), + asFuture: dart.gFnType(E => [async.Future$(E), [], [dart.nullable(E)]], E => [dart.nullable(core.Object)]) + })); + dart.setGetterSignature(CastStreamSubscription, () => ({ + __proto__: dart.getGetters(CastStreamSubscription.__proto__), + isPaused: core.bool + })); + dart.setLibraryUri(CastStreamSubscription, I[25]); + dart.setFieldSignature(CastStreamSubscription, () => ({ + __proto__: dart.getFields(CastStreamSubscription.__proto__), + [_source$]: dart.finalFieldType(async.StreamSubscription$(S)), + [_zone]: dart.finalFieldType(async.Zone), + [_handleData]: dart.fieldType(dart.nullable(dart.fnType(dart.void, [T]))), + [_handleError]: dart.fieldType(dart.nullable(core.Function)) + })); + return CastStreamSubscription; + }); + _internal.CastStreamSubscription = _internal.CastStreamSubscription$(); + dart.addTypeTests(_internal.CastStreamSubscription, _is_CastStreamSubscription_default); + const _is_StreamTransformerBase_default = Symbol('_is_StreamTransformerBase_default'); + async.StreamTransformerBase$ = dart.generic((S, T) => { + class StreamTransformerBase extends core.Object { + cast(RS, RT) { + return async.StreamTransformer.castFrom(S, T, RS, RT, this); + } + } + (StreamTransformerBase.new = function() { + ; + }).prototype = StreamTransformerBase.prototype; + dart.addTypeTests(StreamTransformerBase); + StreamTransformerBase.prototype[_is_StreamTransformerBase_default] = true; + dart.addTypeCaches(StreamTransformerBase); + StreamTransformerBase[dart.implements] = () => [async.StreamTransformer$(S, T)]; + dart.setMethodSignature(StreamTransformerBase, () => ({ + __proto__: dart.getMethods(StreamTransformerBase.__proto__), + cast: dart.gFnType((RS, RT) => [async.StreamTransformer$(RS, RT), []], (RS, RT) => [dart.nullable(core.Object), dart.nullable(core.Object)]) + })); + dart.setLibraryUri(StreamTransformerBase, I[29]); + return StreamTransformerBase; + }); + async.StreamTransformerBase = async.StreamTransformerBase$(); + dart.addTypeTests(async.StreamTransformerBase, _is_StreamTransformerBase_default); + const _is_CastStreamTransformer_default = Symbol('_is_CastStreamTransformer_default'); + _internal.CastStreamTransformer$ = dart.generic((SS, ST, TS, TT) => { + var StreamOfTS = () => (StreamOfTS = dart.constFn(async.Stream$(TS)))(); + class CastStreamTransformer extends async.StreamTransformerBase$(TS, TT) { + cast(RS, RT) { + return new (_internal.CastStreamTransformer$(SS, ST, RS, RT)).new(this[_source$]); + } + bind(stream) { + StreamOfTS().as(stream); + if (stream == null) dart.nullFailed(I[27], 108, 30, "stream"); + return this[_source$].bind(stream.cast(SS)).cast(TT); + } + } + (CastStreamTransformer.new = function(_source) { + if (_source == null) dart.nullFailed(I[27], 104, 30, "_source"); + this[_source$] = _source; + CastStreamTransformer.__proto__.new.call(this); + ; + }).prototype = CastStreamTransformer.prototype; + dart.addTypeTests(CastStreamTransformer); + CastStreamTransformer.prototype[_is_CastStreamTransformer_default] = true; + dart.addTypeCaches(CastStreamTransformer); + dart.setMethodSignature(CastStreamTransformer, () => ({ + __proto__: dart.getMethods(CastStreamTransformer.__proto__), + cast: dart.gFnType((RS, RT) => [async.StreamTransformer$(RS, RT), []], (RS, RT) => [dart.nullable(core.Object), dart.nullable(core.Object)]), + bind: dart.fnType(async.Stream$(TT), [dart.nullable(core.Object)]) + })); + dart.setLibraryUri(CastStreamTransformer, I[25]); + dart.setFieldSignature(CastStreamTransformer, () => ({ + __proto__: dart.getFields(CastStreamTransformer.__proto__), + [_source$]: dart.finalFieldType(async.StreamTransformer$(SS, ST)) + })); + return CastStreamTransformer; + }); + _internal.CastStreamTransformer = _internal.CastStreamTransformer$(); + dart.addTypeTests(_internal.CastStreamTransformer, _is_CastStreamTransformer_default); + const _is_Converter_default = Symbol('_is_Converter_default'); + convert.Converter$ = dart.generic((S, T) => { + var StreamOfS = () => (StreamOfS = dart.constFn(async.Stream$(S)))(); + var SinkOfT = () => (SinkOfT = dart.constFn(core.Sink$(T)))(); + var StreamOfT = () => (StreamOfT = dart.constFn(async.Stream$(T)))(); + class Converter extends async.StreamTransformerBase$(S, T) { + static castFrom(SS, ST, TS, TT, source) { + if (source == null) dart.nullFailed(I[30], 21, 71, "source"); + return new (_internal.CastConverter$(SS, ST, TS, TT)).new(source); + } + fuse(TT, other) { + convert.Converter$(T, TT).as(other); + if (other == null) dart.nullFailed(I[30], 31, 46, "other"); + return new (convert._FusedConverter$(S, T, TT)).new(this, other); + } + startChunkedConversion(sink) { + SinkOfT().as(sink); + if (sink == null) dart.nullFailed(I[30], 39, 42, "sink"); + dart.throw(new core.UnsupportedError.new("This converter does not support chunked conversions: " + dart.str(this))); + } + bind(stream) { + StreamOfS().as(stream); + if (stream == null) dart.nullFailed(I[30], 44, 28, "stream"); + return StreamOfT().eventTransformed(stream, dart.fn(sink => { + if (sink == null) dart.nullFailed(I[30], 46, 28, "sink"); + return new convert._ConverterStreamEventSink.new(this, sink); + }, T$.EventSinkTo_ConverterStreamEventSink())); + } + cast(RS, RT) { + return convert.Converter.castFrom(S, T, RS, RT, this); + } + } + (Converter.new = function() { + Converter.__proto__.new.call(this); + ; + }).prototype = Converter.prototype; + dart.addTypeTests(Converter); + Converter.prototype[_is_Converter_default] = true; + dart.addTypeCaches(Converter); + dart.setMethodSignature(Converter, () => ({ + __proto__: dart.getMethods(Converter.__proto__), + fuse: dart.gFnType(TT => [convert.Converter$(S, TT), [dart.nullable(core.Object)]], TT => [dart.nullable(core.Object)]), + startChunkedConversion: dart.fnType(core.Sink$(S), [dart.nullable(core.Object)]), + bind: dart.fnType(async.Stream$(T), [dart.nullable(core.Object)]), + cast: dart.gFnType((RS, RT) => [convert.Converter$(RS, RT), []], (RS, RT) => [dart.nullable(core.Object), dart.nullable(core.Object)]) + })); + dart.setLibraryUri(Converter, I[31]); + return Converter; + }); + convert.Converter = convert.Converter$(); + dart.addTypeTests(convert.Converter, _is_Converter_default); + const _is_CastConverter_default = Symbol('_is_CastConverter_default'); + _internal.CastConverter$ = dart.generic((SS, ST, TS, TT) => { + var StreamOfTS = () => (StreamOfTS = dart.constFn(async.Stream$(TS)))(); + class CastConverter extends convert.Converter$(TS, TT) { + convert(input) { + TS.as(input); + return TT.as(this[_source$].convert(SS.as(input))); + } + bind(stream) { + StreamOfTS().as(stream); + if (stream == null) dart.nullFailed(I[27], 120, 30, "stream"); + return this[_source$].bind(stream.cast(SS)).cast(TT); + } + cast(RS, RT) { + return new (_internal.CastConverter$(SS, ST, RS, RT)).new(this[_source$]); + } + } + (CastConverter.new = function(_source) { + if (_source == null) dart.nullFailed(I[27], 114, 22, "_source"); + this[_source$] = _source; + CastConverter.__proto__.new.call(this); + ; + }).prototype = CastConverter.prototype; + dart.addTypeTests(CastConverter); + CastConverter.prototype[_is_CastConverter_default] = true; + dart.addTypeCaches(CastConverter); + dart.setMethodSignature(CastConverter, () => ({ + __proto__: dart.getMethods(CastConverter.__proto__), + convert: dart.fnType(TT, [dart.nullable(core.Object)]), + cast: dart.gFnType((RS, RT) => [convert.Converter$(RS, RT), []], (RS, RT) => [dart.nullable(core.Object), dart.nullable(core.Object)]) + })); + dart.setLibraryUri(CastConverter, I[25]); + dart.setFieldSignature(CastConverter, () => ({ + __proto__: dart.getFields(CastConverter.__proto__), + [_source$]: dart.finalFieldType(convert.Converter$(SS, ST)) + })); + return CastConverter; + }); + _internal.CastConverter = _internal.CastConverter$(); + dart.addTypeTests(_internal.CastConverter, _is_CastConverter_default); + _internal.BytesBuilder = class BytesBuilder extends core.Object { + static new(opts) { + let copy = opts && 'copy' in opts ? opts.copy : true; + if (copy == null) dart.nullFailed(I[32], 30, 30, "copy"); + return dart.test(copy) ? new _internal._CopyingBytesBuilder.new() : new _internal._BytesBuilder.new(); + } + }; + (_internal.BytesBuilder[dart.mixinNew] = function() { + }).prototype = _internal.BytesBuilder.prototype; + dart.addTypeTests(_internal.BytesBuilder); + dart.addTypeCaches(_internal.BytesBuilder); + dart.setLibraryUri(_internal.BytesBuilder, I[25]); + var _length$ = dart.privateName(_internal, "_length"); + var _buffer = dart.privateName(_internal, "_buffer"); + var _grow = dart.privateName(_internal, "_grow"); + var _clear = dart.privateName(_internal, "_clear"); + _internal._CopyingBytesBuilder = class _CopyingBytesBuilder extends core.Object { + add(bytes) { + if (bytes == null) dart.nullFailed(I[32], 89, 22, "bytes"); + let byteCount = bytes[$length]; + if (byteCount === 0) return; + let required = dart.notNull(this[_length$]) + dart.notNull(byteCount); + if (dart.notNull(this[_buffer][$length]) < required) { + this[_grow](required); + } + if (!(dart.notNull(this[_buffer][$length]) >= required)) dart.assertFailed(null, I[32], 96, 12, "_buffer.length >= required"); + if (typed_data.Uint8List.is(bytes)) { + this[_buffer][$setRange](this[_length$], required, bytes); + } else { + for (let i = 0; i < dart.notNull(byteCount); i = i + 1) { + this[_buffer][$_set](dart.notNull(this[_length$]) + i, bytes[$_get](i)); + } + } + this[_length$] = required; + } + addByte(byte) { + if (byte == null) dart.nullFailed(I[32], 107, 20, "byte"); + if (this[_buffer][$length] == this[_length$]) { + this[_grow](this[_length$]); + } + if (!(dart.notNull(this[_buffer][$length]) > dart.notNull(this[_length$]))) dart.assertFailed(null, I[32], 113, 12, "_buffer.length > _length"); + this[_buffer][$_set](this[_length$], byte); + this[_length$] = dart.notNull(this[_length$]) + 1; + } + [_grow](required) { + if (required == null) dart.nullFailed(I[32], 118, 18, "required"); + let newSize = dart.notNull(required) * 2; + if (dart.notNull(newSize) < 1024) { + newSize = 1024; + } else { + newSize = _internal._CopyingBytesBuilder._pow2roundup(newSize); + } + let newBuffer = _native_typed_data.NativeUint8List.new(newSize); + newBuffer[$setRange](0, this[_buffer][$length], this[_buffer]); + this[_buffer] = newBuffer; + } + takeBytes() { + if (this[_length$] === 0) return _internal._CopyingBytesBuilder._emptyList; + let buffer = typed_data.Uint8List.view(this[_buffer][$buffer], this[_buffer][$offsetInBytes], this[_length$]); + this[_clear](); + return buffer; + } + toBytes() { + if (this[_length$] === 0) return _internal._CopyingBytesBuilder._emptyList; + return _native_typed_data.NativeUint8List.fromList(typed_data.Uint8List.view(this[_buffer][$buffer], this[_buffer][$offsetInBytes], this[_length$])); + } + get length() { + return this[_length$]; + } + get isEmpty() { + return this[_length$] === 0; + } + get isNotEmpty() { + return this[_length$] !== 0; + } + clear() { + this[_clear](); + } + [_clear]() { + this[_length$] = 0; + this[_buffer] = _internal._CopyingBytesBuilder._emptyList; + } + static _pow2roundup(x) { + if (x == null) dart.nullFailed(I[32], 161, 31, "x"); + if (!(dart.notNull(x) > 0)) dart.assertFailed(null, I[32], 162, 12, "x > 0"); + x = dart.notNull(x) - 1; + x = (dart.notNull(x) | x[$rightShift](1)) >>> 0; + x = (dart.notNull(x) | x[$rightShift](2)) >>> 0; + x = (dart.notNull(x) | x[$rightShift](4)) >>> 0; + x = (dart.notNull(x) | x[$rightShift](8)) >>> 0; + x = (dart.notNull(x) | x[$rightShift](16)) >>> 0; + return dart.notNull(x) + 1; + } + }; + (_internal._CopyingBytesBuilder.new = function() { + this[_length$] = 0; + this[_buffer] = _internal._CopyingBytesBuilder._emptyList; + ; + }).prototype = _internal._CopyingBytesBuilder.prototype; + dart.addTypeTests(_internal._CopyingBytesBuilder); + dart.addTypeCaches(_internal._CopyingBytesBuilder); + _internal._CopyingBytesBuilder[dart.implements] = () => [_internal.BytesBuilder]; + dart.setMethodSignature(_internal._CopyingBytesBuilder, () => ({ + __proto__: dart.getMethods(_internal._CopyingBytesBuilder.__proto__), + add: dart.fnType(dart.void, [core.List$(core.int)]), + addByte: dart.fnType(dart.void, [core.int]), + [_grow]: dart.fnType(dart.void, [core.int]), + takeBytes: dart.fnType(typed_data.Uint8List, []), + toBytes: dart.fnType(typed_data.Uint8List, []), + clear: dart.fnType(dart.void, []), + [_clear]: dart.fnType(dart.void, []) + })); + dart.setGetterSignature(_internal._CopyingBytesBuilder, () => ({ + __proto__: dart.getGetters(_internal._CopyingBytesBuilder.__proto__), + length: core.int, + isEmpty: core.bool, + isNotEmpty: core.bool + })); + dart.setLibraryUri(_internal._CopyingBytesBuilder, I[25]); + dart.setFieldSignature(_internal._CopyingBytesBuilder, () => ({ + __proto__: dart.getFields(_internal._CopyingBytesBuilder.__proto__), + [_length$]: dart.fieldType(core.int), + [_buffer]: dart.fieldType(typed_data.Uint8List) + })); + dart.defineLazy(_internal._CopyingBytesBuilder, { + /*_internal._CopyingBytesBuilder._initSize*/get _initSize() { + return 1024; + }, + /*_internal._CopyingBytesBuilder._emptyList*/get _emptyList() { + return _native_typed_data.NativeUint8List.new(0); + } + }, false); + var _chunks = dart.privateName(_internal, "_chunks"); + _internal._BytesBuilder = class _BytesBuilder extends core.Object { + add(bytes) { + if (bytes == null) dart.nullFailed(I[32], 181, 22, "bytes"); + let typedBytes = null; + if (typed_data.Uint8List.is(bytes)) { + typedBytes = bytes; + } else { + typedBytes = _native_typed_data.NativeUint8List.fromList(bytes); + } + this[_chunks][$add](typedBytes); + this[_length$] = dart.notNull(this[_length$]) + dart.notNull(typedBytes[$length]); + } + addByte(byte) { + let t67; + if (byte == null) dart.nullFailed(I[32], 192, 20, "byte"); + this[_chunks][$add]((t67 = _native_typed_data.NativeUint8List.new(1), (() => { + t67[$_set](0, byte); + return t67; + })())); + this[_length$] = dart.notNull(this[_length$]) + 1; + } + takeBytes() { + if (this[_length$] === 0) return _internal._CopyingBytesBuilder._emptyList; + if (this[_chunks][$length] === 1) { + let buffer = this[_chunks][$_get](0); + this[_clear](); + return buffer; + } + let buffer = _native_typed_data.NativeUint8List.new(this[_length$]); + let offset = 0; + for (let chunk of this[_chunks]) { + buffer[$setRange](offset, offset + dart.notNull(chunk[$length]), chunk); + offset = offset + dart.notNull(chunk[$length]); + } + this[_clear](); + return buffer; + } + toBytes() { + if (this[_length$] === 0) return _internal._CopyingBytesBuilder._emptyList; + let buffer = _native_typed_data.NativeUint8List.new(this[_length$]); + let offset = 0; + for (let chunk of this[_chunks]) { + buffer[$setRange](offset, offset + dart.notNull(chunk[$length]), chunk); + offset = offset + dart.notNull(chunk[$length]); + } + return buffer; + } + get length() { + return this[_length$]; + } + get isEmpty() { + return this[_length$] === 0; + } + get isNotEmpty() { + return this[_length$] !== 0; + } + clear() { + this[_clear](); + } + [_clear]() { + this[_length$] = 0; + this[_chunks][$clear](); + } + }; + (_internal._BytesBuilder.new = function() { + this[_length$] = 0; + this[_chunks] = T$.JSArrayOfUint8List().of([]); + ; + }).prototype = _internal._BytesBuilder.prototype; + dart.addTypeTests(_internal._BytesBuilder); + dart.addTypeCaches(_internal._BytesBuilder); + _internal._BytesBuilder[dart.implements] = () => [_internal.BytesBuilder]; + dart.setMethodSignature(_internal._BytesBuilder, () => ({ + __proto__: dart.getMethods(_internal._BytesBuilder.__proto__), + add: dart.fnType(dart.void, [core.List$(core.int)]), + addByte: dart.fnType(dart.void, [core.int]), + takeBytes: dart.fnType(typed_data.Uint8List, []), + toBytes: dart.fnType(typed_data.Uint8List, []), + clear: dart.fnType(dart.void, []), + [_clear]: dart.fnType(dart.void, []) + })); + dart.setGetterSignature(_internal._BytesBuilder, () => ({ + __proto__: dart.getGetters(_internal._BytesBuilder.__proto__), + length: core.int, + isEmpty: core.bool, + isNotEmpty: core.bool + })); + dart.setLibraryUri(_internal._BytesBuilder, I[25]); + dart.setFieldSignature(_internal._BytesBuilder, () => ({ + __proto__: dart.getFields(_internal._BytesBuilder.__proto__), + [_length$]: dart.fieldType(core.int), + [_chunks]: dart.finalFieldType(core.List$(typed_data.Uint8List)) + })); + core.Iterable$ = dart.generic(E => { + var IterableOfE = () => (IterableOfE = dart.constFn(core.Iterable$(E)))(); + var EfficientLengthIterableOfE = () => (EfficientLengthIterableOfE = dart.constFn(_internal.EfficientLengthIterable$(E)))(); + var FollowedByIterableOfE = () => (FollowedByIterableOfE = dart.constFn(_internal.FollowedByIterable$(E)))(); + var WhereIterableOfE = () => (WhereIterableOfE = dart.constFn(_internal.WhereIterable$(E)))(); + var EAndEToE = () => (EAndEToE = dart.constFn(dart.fnType(E, [E, E])))(); + var ListOfE = () => (ListOfE = dart.constFn(core.List$(E)))(); + var LinkedHashSetOfE = () => (LinkedHashSetOfE = dart.constFn(collection.LinkedHashSet$(E)))(); + var TakeIterableOfE = () => (TakeIterableOfE = dart.constFn(_internal.TakeIterable$(E)))(); + var TakeWhileIterableOfE = () => (TakeWhileIterableOfE = dart.constFn(_internal.TakeWhileIterable$(E)))(); + var SkipIterableOfE = () => (SkipIterableOfE = dart.constFn(_internal.SkipIterable$(E)))(); + var SkipWhileIterableOfE = () => (SkipWhileIterableOfE = dart.constFn(_internal.SkipWhileIterable$(E)))(); + var VoidToE = () => (VoidToE = dart.constFn(dart.fnType(E, [])))(); + var VoidToNE = () => (VoidToNE = dart.constFn(dart.nullable(VoidToE())))(); + var ETodynamic = () => (ETodynamic = dart.constFn(dart.fnType(dart.dynamic, [E])))(); + class Iterable extends core.Object { + static generate(count, generator = null) { + if (count == null) dart.nullFailed(I[34], 102, 33, "count"); + if (dart.notNull(count) <= 0) return new (_internal.EmptyIterable$(E)).new(); + return new (core._GeneratorIterable$(E)).new(count, generator); + } + static castFrom(S, T, source) { + if (source == null) dart.nullFailed(I[34], 119, 49, "source"); + return _internal.CastIterable$(S, T).new(source); + } + [Symbol.iterator]() { + return new dart.JsIterator(this[$iterator]); + } + cast(R) { + return core.Iterable.castFrom(E, R, this); + } + followedBy(other) { + IterableOfE().as(other); + if (other == null) dart.nullFailed(I[34], 165, 38, "other"); + let self = this; + if (EfficientLengthIterableOfE().is(self)) { + return FollowedByIterableOfE().firstEfficient(self, other); + } + return new (FollowedByIterableOfE()).new(this, other); + } + map(T, f) { + if (f == null) dart.nullFailed(I[34], 185, 24, "f"); + return _internal.MappedIterable$(E, T).new(this, f); + } + where(test) { + if (test == null) dart.nullFailed(I[34], 199, 26, "test"); + return new (WhereIterableOfE()).new(this, test); + } + whereType(T) { + return new (_internal.WhereTypeIterable$(T)).new(this); + } + expand(T, f) { + if (f == null) dart.nullFailed(I[34], 230, 37, "f"); + return new (_internal.ExpandIterable$(E, T)).new(this, f); + } + contains(element) { + for (let e of this) { + if (dart.equals(e, element)) return true; + } + return false; + } + forEach(f) { + if (f == null) dart.nullFailed(I[34], 256, 21, "f"); + for (let element of this) + f(element); + } + reduce(combine) { + EAndEToE().as(combine); + if (combine == null) dart.nullFailed(I[34], 280, 14, "combine"); + let iterator = this[$iterator]; + if (!dart.test(iterator.moveNext())) { + dart.throw(_internal.IterableElementError.noElement()); + } + let value = iterator.current; + while (dart.test(iterator.moveNext())) { + value = combine(value, iterator.current); + } + return value; + } + fold(T, initialValue, combine) { + if (combine == null) dart.nullFailed(I[34], 309, 31, "combine"); + let value = initialValue; + for (let element of this) + value = combine(value, element); + return value; + } + every(test) { + if (test == null) dart.nullFailed(I[34], 319, 19, "test"); + for (let element of this) { + if (!dart.test(test(element))) return false; + } + return true; + } + join(separator = "") { + if (separator == null) dart.nullFailed(I[34], 332, 23, "separator"); + let iterator = this[$iterator]; + if (!dart.test(iterator.moveNext())) return ""; + let buffer = new core.StringBuffer.new(); + if (separator == null || separator === "") { + do { + buffer.write(dart.toString(iterator.current)); + } while (dart.test(iterator.moveNext())); + } else { + buffer.write(dart.toString(iterator.current)); + while (dart.test(iterator.moveNext())) { + buffer.write(separator); + buffer.write(dart.toString(iterator.current)); + } + } + return buffer.toString(); + } + any(test) { + if (test == null) dart.nullFailed(I[34], 354, 17, "test"); + for (let element of this) { + if (dart.test(test(element))) return true; + } + return false; + } + toList(opts) { + let growable = opts && 'growable' in opts ? opts.growable : true; + if (growable == null) dart.nullFailed(I[34], 365, 24, "growable"); + return ListOfE().of(this, {growable: growable}); + } + toSet() { + return LinkedHashSetOfE().of(this); + } + get length() { + if (!!_internal.EfficientLengthIterable.is(this)) dart.assertFailed(null, I[34], 384, 12, "this is! EfficientLengthIterable"); + let count = 0; + let it = this[$iterator]; + while (dart.test(it.moveNext())) { + count = count + 1; + } + return count; + } + get isEmpty() { + return !dart.test(this[$iterator].moveNext()); + } + get isNotEmpty() { + return !dart.test(this[$isEmpty]); + } + take(count) { + if (count == null) dart.nullFailed(I[34], 412, 24, "count"); + return TakeIterableOfE().new(this, count); + } + takeWhile(test) { + if (test == null) dart.nullFailed(I[34], 424, 30, "test"); + return new (TakeWhileIterableOfE()).new(this, test); + } + skip(count) { + if (count == null) dart.nullFailed(I[34], 442, 24, "count"); + return SkipIterableOfE().new(this, count); + } + skipWhile(test) { + if (test == null) dart.nullFailed(I[34], 456, 30, "test"); + return new (SkipWhileIterableOfE()).new(this, test); + } + get first() { + let it = this[$iterator]; + if (!dart.test(it.moveNext())) { + dart.throw(_internal.IterableElementError.noElement()); + } + return it.current; + } + get last() { + let it = this[$iterator]; + if (!dart.test(it.moveNext())) { + dart.throw(_internal.IterableElementError.noElement()); + } + let result = null; + do { + result = it.current; + } while (dart.test(it.moveNext())); + return result; + } + get single() { + let it = this[$iterator]; + if (!dart.test(it.moveNext())) dart.throw(_internal.IterableElementError.noElement()); + let result = it.current; + if (dart.test(it.moveNext())) dart.throw(_internal.IterableElementError.tooMany()); + return result; + } + firstWhere(test, opts) { + if (test == null) dart.nullFailed(I[34], 511, 21, "test"); + let orElse = opts && 'orElse' in opts ? opts.orElse : null; + VoidToNE().as(orElse); + for (let element of this) { + if (dart.test(test(element))) return element; + } + if (orElse != null) return orElse(); + dart.throw(_internal.IterableElementError.noElement()); + } + lastWhere(test, opts) { + if (test == null) dart.nullFailed(I[34], 531, 20, "test"); + let orElse = opts && 'orElse' in opts ? opts.orElse : null; + VoidToNE().as(orElse); + let result = null; + let result$35isSet = false; + function result$35get() { + return result$35isSet ? result : dart.throw(new _internal.LateError.localNI("result")); + } + dart.fn(result$35get, VoidToE()); + function result$35set(t70) { + result$35isSet = true; + return result = t70; + } + dart.fn(result$35set, ETodynamic()); + let foundMatching = false; + for (let element of this) { + if (dart.test(test(element))) { + result$35set(element); + foundMatching = true; + } + } + if (foundMatching) return result$35get(); + if (orElse != null) return orElse(); + dart.throw(_internal.IterableElementError.noElement()); + } + singleWhere(test, opts) { + if (test == null) dart.nullFailed(I[34], 552, 22, "test"); + let orElse = opts && 'orElse' in opts ? opts.orElse : null; + VoidToNE().as(orElse); + let result = null; + let result$35isSet = false; + function result$35get() { + return result$35isSet ? result : dart.throw(new _internal.LateError.localNI("result")); + } + dart.fn(result$35get, VoidToE()); + function result$35set(t75) { + result$35isSet = true; + return result = t75; + } + dart.fn(result$35set, ETodynamic()); + let foundMatching = false; + for (let element of this) { + if (dart.test(test(element))) { + if (foundMatching) { + dart.throw(_internal.IterableElementError.tooMany()); + } + result$35set(element); + foundMatching = true; + } + } + if (foundMatching) return result$35get(); + if (orElse != null) return orElse(); + dart.throw(_internal.IterableElementError.noElement()); + } + elementAt(index) { + if (index == null) dart.nullFailed(I[34], 578, 19, "index"); + core.RangeError.checkNotNegative(index, "index"); + let elementIndex = 0; + for (let element of this) { + if (index === elementIndex) return element; + elementIndex = elementIndex + 1; + } + dart.throw(new core.IndexError.new(index, this, "index", null, elementIndex)); + } + toString() { + return collection.IterableBase.iterableToShortString(this, "(", ")"); + } + } + (Iterable.new = function() { + ; + }).prototype = Iterable.prototype; + dart.addTypeTests(Iterable); + Iterable.prototype[dart.isIterable] = true; + dart.addTypeCaches(Iterable); + dart.setMethodSignature(Iterable, () => ({ + __proto__: dart.getMethods(Iterable.__proto__), + cast: dart.gFnType(R => [core.Iterable$(R), []], R => [dart.nullable(core.Object)]), + [$cast]: dart.gFnType(R => [core.Iterable$(R), []], R => [dart.nullable(core.Object)]), + followedBy: dart.fnType(core.Iterable$(E), [dart.nullable(core.Object)]), + [$followedBy]: dart.fnType(core.Iterable$(E), [dart.nullable(core.Object)]), + map: dart.gFnType(T => [core.Iterable$(T), [dart.fnType(T, [E])]], T => [dart.nullable(core.Object)]), + [$map]: dart.gFnType(T => [core.Iterable$(T), [dart.fnType(T, [E])]], T => [dart.nullable(core.Object)]), + where: dart.fnType(core.Iterable$(E), [dart.fnType(core.bool, [E])]), + [$where]: dart.fnType(core.Iterable$(E), [dart.fnType(core.bool, [E])]), + whereType: dart.gFnType(T => [core.Iterable$(T), []], T => [dart.nullable(core.Object)]), + [$whereType]: dart.gFnType(T => [core.Iterable$(T), []], T => [dart.nullable(core.Object)]), + expand: dart.gFnType(T => [core.Iterable$(T), [dart.fnType(core.Iterable$(T), [E])]], T => [dart.nullable(core.Object)]), + [$expand]: dart.gFnType(T => [core.Iterable$(T), [dart.fnType(core.Iterable$(T), [E])]], T => [dart.nullable(core.Object)]), + contains: dart.fnType(core.bool, [dart.nullable(core.Object)]), + [$contains]: dart.fnType(core.bool, [dart.nullable(core.Object)]), + forEach: dart.fnType(dart.void, [dart.fnType(dart.void, [E])]), + [$forEach]: dart.fnType(dart.void, [dart.fnType(dart.void, [E])]), + reduce: dart.fnType(E, [dart.nullable(core.Object)]), + [$reduce]: dart.fnType(E, [dart.nullable(core.Object)]), + fold: dart.gFnType(T => [T, [T, dart.fnType(T, [T, E])]], T => [dart.nullable(core.Object)]), + [$fold]: dart.gFnType(T => [T, [T, dart.fnType(T, [T, E])]], T => [dart.nullable(core.Object)]), + every: dart.fnType(core.bool, [dart.fnType(core.bool, [E])]), + [$every]: dart.fnType(core.bool, [dart.fnType(core.bool, [E])]), + join: dart.fnType(core.String, [], [core.String]), + [$join]: dart.fnType(core.String, [], [core.String]), + any: dart.fnType(core.bool, [dart.fnType(core.bool, [E])]), + [$any]: dart.fnType(core.bool, [dart.fnType(core.bool, [E])]), + toList: dart.fnType(core.List$(E), [], {growable: core.bool}, {}), + [$toList]: dart.fnType(core.List$(E), [], {growable: core.bool}, {}), + toSet: dart.fnType(core.Set$(E), []), + [$toSet]: dart.fnType(core.Set$(E), []), + take: dart.fnType(core.Iterable$(E), [core.int]), + [$take]: dart.fnType(core.Iterable$(E), [core.int]), + takeWhile: dart.fnType(core.Iterable$(E), [dart.fnType(core.bool, [E])]), + [$takeWhile]: dart.fnType(core.Iterable$(E), [dart.fnType(core.bool, [E])]), + skip: dart.fnType(core.Iterable$(E), [core.int]), + [$skip]: dart.fnType(core.Iterable$(E), [core.int]), + skipWhile: dart.fnType(core.Iterable$(E), [dart.fnType(core.bool, [E])]), + [$skipWhile]: dart.fnType(core.Iterable$(E), [dart.fnType(core.bool, [E])]), + firstWhere: dart.fnType(E, [dart.fnType(core.bool, [E])], {orElse: dart.nullable(core.Object)}, {}), + [$firstWhere]: dart.fnType(E, [dart.fnType(core.bool, [E])], {orElse: dart.nullable(core.Object)}, {}), + lastWhere: dart.fnType(E, [dart.fnType(core.bool, [E])], {orElse: dart.nullable(core.Object)}, {}), + [$lastWhere]: dart.fnType(E, [dart.fnType(core.bool, [E])], {orElse: dart.nullable(core.Object)}, {}), + singleWhere: dart.fnType(E, [dart.fnType(core.bool, [E])], {orElse: dart.nullable(core.Object)}, {}), + [$singleWhere]: dart.fnType(E, [dart.fnType(core.bool, [E])], {orElse: dart.nullable(core.Object)}, {}), + elementAt: dart.fnType(E, [core.int]), + [$elementAt]: dart.fnType(E, [core.int]) + })); + dart.setGetterSignature(Iterable, () => ({ + __proto__: dart.getGetters(Iterable.__proto__), + length: core.int, + [$length]: core.int, + isEmpty: core.bool, + [$isEmpty]: core.bool, + isNotEmpty: core.bool, + [$isNotEmpty]: core.bool, + first: E, + [$first]: E, + last: E, + [$last]: E, + single: E, + [$single]: E + })); + dart.setLibraryUri(Iterable, I[8]); + dart.defineExtensionMethods(Iterable, [ + 'cast', + 'followedBy', + 'map', + 'where', + 'whereType', + 'expand', + 'contains', + 'forEach', + 'reduce', + 'fold', + 'every', + 'join', + 'any', + 'toList', + 'toSet', + 'take', + 'takeWhile', + 'skip', + 'skipWhile', + 'firstWhere', + 'lastWhere', + 'singleWhere', + 'elementAt', + 'toString' + ]); + dart.defineExtensionAccessors(Iterable, [ + 'length', + 'isEmpty', + 'isNotEmpty', + 'first', + 'last', + 'single' + ]); + return Iterable; + }); + core.Iterable = core.Iterable$(); + dart.addTypeTests(core.Iterable, dart.isIterable); + const _is__CastIterableBase_default = Symbol('_is__CastIterableBase_default'); + _internal._CastIterableBase$ = dart.generic((S, T) => { + var CastIteratorOfS$T = () => (CastIteratorOfS$T = dart.constFn(_internal.CastIterator$(S, T)))(); + var CastIterableOfS$T = () => (CastIterableOfS$T = dart.constFn(_internal.CastIterable$(S, T)))(); + var STobool = () => (STobool = dart.constFn(dart.fnType(core.bool, [S])))(); + var VoidToS = () => (VoidToS = dart.constFn(dart.fnType(S, [])))(); + var VoidToT = () => (VoidToT = dart.constFn(dart.fnType(T, [])))(); + var VoidToNT = () => (VoidToNT = dart.constFn(dart.nullable(VoidToT())))(); + class _CastIterableBase extends core.Iterable$(T) { + get iterator() { + return new (CastIteratorOfS$T()).new(this[_source$][$iterator]); + } + get length() { + return this[_source$][$length]; + } + get isEmpty() { + return this[_source$][$isEmpty]; + } + get isNotEmpty() { + return this[_source$][$isNotEmpty]; + } + skip(count) { + if (count == null) dart.nullFailed(I[33], 39, 24, "count"); + return CastIterableOfS$T().new(this[_source$][$skip](count)); + } + take(count) { + if (count == null) dart.nullFailed(I[33], 40, 24, "count"); + return CastIterableOfS$T().new(this[_source$][$take](count)); + } + elementAt(index) { + if (index == null) dart.nullFailed(I[33], 42, 19, "index"); + return T.as(this[_source$][$elementAt](index)); + } + get first() { + return T.as(this[_source$][$first]); + } + get last() { + return T.as(this[_source$][$last]); + } + get single() { + return T.as(this[_source$][$single]); + } + contains(other) { + return this[_source$][$contains](other); + } + lastWhere(test, opts) { + if (test == null) dart.nullFailed(I[33], 51, 20, "test"); + let orElse = opts && 'orElse' in opts ? opts.orElse : null; + VoidToNT().as(orElse); + return T.as(this[_source$][$lastWhere](dart.fn(element => test(T.as(element)), STobool()), {orElse: orElse == null ? null : dart.fn(() => S.as(orElse()), VoidToS())})); + } + toString() { + return dart.toString(this[_source$]); + } + } + (_CastIterableBase.new = function() { + _CastIterableBase.__proto__.new.call(this); + ; + }).prototype = _CastIterableBase.prototype; + dart.addTypeTests(_CastIterableBase); + _CastIterableBase.prototype[_is__CastIterableBase_default] = true; + dart.addTypeCaches(_CastIterableBase); + dart.setGetterSignature(_CastIterableBase, () => ({ + __proto__: dart.getGetters(_CastIterableBase.__proto__), + iterator: core.Iterator$(T), + [$iterator]: core.Iterator$(T) + })); + dart.setLibraryUri(_CastIterableBase, I[25]); + dart.defineExtensionMethods(_CastIterableBase, [ + 'skip', + 'take', + 'elementAt', + 'contains', + 'lastWhere', + 'toString' + ]); + dart.defineExtensionAccessors(_CastIterableBase, [ + 'iterator', + 'length', + 'isEmpty', + 'isNotEmpty', + 'first', + 'last', + 'single' + ]); + return _CastIterableBase; + }); + _internal._CastIterableBase = _internal._CastIterableBase$(); + dart.addTypeTests(_internal._CastIterableBase, _is__CastIterableBase_default); + const _is_CastIterator_default = Symbol('_is_CastIterator_default'); + _internal.CastIterator$ = dart.generic((S, T) => { + class CastIterator extends core.Object { + moveNext() { + return this[_source$].moveNext(); + } + get current() { + return T.as(this[_source$].current); + } + } + (CastIterator.new = function(_source) { + if (_source == null) dart.nullFailed(I[33], 60, 21, "_source"); + this[_source$] = _source; + ; + }).prototype = CastIterator.prototype; + dart.addTypeTests(CastIterator); + CastIterator.prototype[_is_CastIterator_default] = true; + dart.addTypeCaches(CastIterator); + CastIterator[dart.implements] = () => [core.Iterator$(T)]; + dart.setMethodSignature(CastIterator, () => ({ + __proto__: dart.getMethods(CastIterator.__proto__), + moveNext: dart.fnType(core.bool, []) + })); + dart.setGetterSignature(CastIterator, () => ({ + __proto__: dart.getGetters(CastIterator.__proto__), + current: T + })); + dart.setLibraryUri(CastIterator, I[25]); + dart.setFieldSignature(CastIterator, () => ({ + __proto__: dart.getFields(CastIterator.__proto__), + [_source$]: dart.fieldType(core.Iterator$(S)) + })); + return CastIterator; + }); + _internal.CastIterator = _internal.CastIterator$(); + dart.addTypeTests(_internal.CastIterator, _is_CastIterator_default); + var _source$0 = dart.privateName(_internal, "CastIterable._source"); + const _is_CastIterable_default = Symbol('_is_CastIterable_default'); + _internal.CastIterable$ = dart.generic((S, T) => { + class CastIterable extends _internal._CastIterableBase$(S, T) { + get [_source$]() { + return this[_source$0]; + } + set [_source$](value) { + super[_source$] = value; + } + static new(source) { + if (source == null) dart.nullFailed(I[33], 70, 36, "source"); + if (_internal.EfficientLengthIterable$(S).is(source)) { + return new (_internal._EfficientLengthCastIterable$(S, T)).new(source); + } + return new (_internal.CastIterable$(S, T)).__(source); + } + cast(R) { + return _internal.CastIterable$(S, R).new(this[_source$]); + } + } + (CastIterable.__ = function(_source) { + if (_source == null) dart.nullFailed(I[33], 68, 23, "_source"); + this[_source$0] = _source; + CastIterable.__proto__.new.call(this); + ; + }).prototype = CastIterable.prototype; + dart.addTypeTests(CastIterable); + CastIterable.prototype[_is_CastIterable_default] = true; + dart.addTypeCaches(CastIterable); + dart.setMethodSignature(CastIterable, () => ({ + __proto__: dart.getMethods(CastIterable.__proto__), + cast: dart.gFnType(R => [core.Iterable$(R), []], R => [dart.nullable(core.Object)]), + [$cast]: dart.gFnType(R => [core.Iterable$(R), []], R => [dart.nullable(core.Object)]) + })); + dart.setLibraryUri(CastIterable, I[25]); + dart.setFieldSignature(CastIterable, () => ({ + __proto__: dart.getFields(CastIterable.__proto__), + [_source$]: dart.finalFieldType(core.Iterable$(S)) + })); + dart.defineExtensionMethods(CastIterable, ['cast']); + return CastIterable; + }); + _internal.CastIterable = _internal.CastIterable$(); + dart.addTypeTests(_internal.CastIterable, _is_CastIterable_default); + const _is__EfficientLengthCastIterable_default = Symbol('_is__EfficientLengthCastIterable_default'); + _internal._EfficientLengthCastIterable$ = dart.generic((S, T) => { + class _EfficientLengthCastIterable extends _internal.CastIterable$(S, T) {} + (_EfficientLengthCastIterable.new = function(source) { + if (source == null) dart.nullFailed(I[33], 82, 59, "source"); + _EfficientLengthCastIterable.__proto__.__.call(this, source); + ; + }).prototype = _EfficientLengthCastIterable.prototype; + dart.addTypeTests(_EfficientLengthCastIterable); + _EfficientLengthCastIterable.prototype[_is__EfficientLengthCastIterable_default] = true; + dart.addTypeCaches(_EfficientLengthCastIterable); + _EfficientLengthCastIterable[dart.implements] = () => [_internal.EfficientLengthIterable$(T)]; + dart.setLibraryUri(_EfficientLengthCastIterable, I[25]); + return _EfficientLengthCastIterable; + }); + _internal._EfficientLengthCastIterable = _internal._EfficientLengthCastIterable$(); + dart.addTypeTests(_internal._EfficientLengthCastIterable, _is__EfficientLengthCastIterable_default); + const _is__CastListBase_default = Symbol('_is__CastListBase_default'); + _internal._CastListBase$ = dart.generic((S, T) => { + var CastIterableOfT$S = () => (CastIterableOfT$S = dart.constFn(_internal.CastIterable$(T, S)))(); + var SAndSToint = () => (SAndSToint = dart.constFn(dart.fnType(core.int, [S, S])))(); + var STobool = () => (STobool = dart.constFn(dart.fnType(core.bool, [S])))(); + var CastIterableOfS$T = () => (CastIterableOfS$T = dart.constFn(_internal.CastIterable$(S, T)))(); + var IterableOfT = () => (IterableOfT = dart.constFn(core.Iterable$(T)))(); + var TN = () => (TN = dart.constFn(dart.nullable(T)))(); + const _CastIterableBase_ListMixin$36 = class _CastIterableBase_ListMixin extends _internal._CastIterableBase$(S, T) {}; + (_CastIterableBase_ListMixin$36.new = function() { + _CastIterableBase_ListMixin$36.__proto__.new.call(this); + }).prototype = _CastIterableBase_ListMixin$36.prototype; + dart.applyMixin(_CastIterableBase_ListMixin$36, collection.ListMixin$(T)); + class _CastListBase extends _CastIterableBase_ListMixin$36 { + _get(index) { + if (index == null) dart.nullFailed(I[33], 99, 21, "index"); + return T.as(this[_source$][$_get](index)); + } + _set(index, value$) { + let value = value$; + if (index == null) dart.nullFailed(I[33], 101, 25, "index"); + T.as(value); + this[_source$][$_set](index, S.as(value)); + return value$; + } + set length(length) { + if (length == null) dart.nullFailed(I[33], 105, 23, "length"); + this[_source$][$length] = length; + } + get length() { + return super.length; + } + add(value) { + T.as(value); + this[_source$][$add](S.as(value)); + } + addAll(values) { + IterableOfT().as(values); + if (values == null) dart.nullFailed(I[33], 113, 27, "values"); + this[_source$][$addAll](CastIterableOfT$S().new(values)); + } + sort(compare = null) { + this[_source$][$sort](compare == null ? null : dart.fn((v1, v2) => compare(T.as(v1), T.as(v2)), SAndSToint())); + } + shuffle(random = null) { + this[_source$][$shuffle](random); + } + insert(index, element) { + if (index == null) dart.nullFailed(I[33], 126, 19, "index"); + T.as(element); + this[_source$][$insert](index, S.as(element)); + } + insertAll(index, elements) { + if (index == null) dart.nullFailed(I[33], 130, 22, "index"); + IterableOfT().as(elements); + if (elements == null) dart.nullFailed(I[33], 130, 41, "elements"); + this[_source$][$insertAll](index, CastIterableOfT$S().new(elements)); + } + setAll(index, elements) { + if (index == null) dart.nullFailed(I[33], 134, 19, "index"); + IterableOfT().as(elements); + if (elements == null) dart.nullFailed(I[33], 134, 38, "elements"); + this[_source$][$setAll](index, CastIterableOfT$S().new(elements)); + } + remove(value) { + return this[_source$][$remove](value); + } + removeAt(index) { + if (index == null) dart.nullFailed(I[33], 140, 18, "index"); + return T.as(this[_source$][$removeAt](index)); + } + removeLast() { + return T.as(this[_source$][$removeLast]()); + } + removeWhere(test) { + if (test == null) dart.nullFailed(I[33], 144, 25, "test"); + this[_source$][$removeWhere](dart.fn(element => test(T.as(element)), STobool())); + } + retainWhere(test) { + if (test == null) dart.nullFailed(I[33], 148, 25, "test"); + this[_source$][$retainWhere](dart.fn(element => test(T.as(element)), STobool())); + } + getRange(start, end) { + if (start == null) dart.nullFailed(I[33], 152, 28, "start"); + if (end == null) dart.nullFailed(I[33], 152, 39, "end"); + return CastIterableOfS$T().new(this[_source$][$getRange](start, end)); + } + setRange(start, end, iterable, skipCount = 0) { + if (start == null) dart.nullFailed(I[33], 155, 21, "start"); + if (end == null) dart.nullFailed(I[33], 155, 32, "end"); + IterableOfT().as(iterable); + if (iterable == null) dart.nullFailed(I[33], 155, 49, "iterable"); + if (skipCount == null) dart.nullFailed(I[33], 155, 64, "skipCount"); + this[_source$][$setRange](start, end, CastIterableOfT$S().new(iterable), skipCount); + } + removeRange(start, end) { + if (start == null) dart.nullFailed(I[33], 159, 24, "start"); + if (end == null) dart.nullFailed(I[33], 159, 35, "end"); + this[_source$][$removeRange](start, end); + } + fillRange(start, end, fillValue = null) { + if (start == null) dart.nullFailed(I[33], 163, 22, "start"); + if (end == null) dart.nullFailed(I[33], 163, 33, "end"); + TN().as(fillValue); + this[_source$][$fillRange](start, end, S.as(fillValue)); + } + replaceRange(start, end, replacement) { + if (start == null) dart.nullFailed(I[33], 167, 25, "start"); + if (end == null) dart.nullFailed(I[33], 167, 36, "end"); + IterableOfT().as(replacement); + if (replacement == null) dart.nullFailed(I[33], 167, 53, "replacement"); + this[_source$][$replaceRange](start, end, CastIterableOfT$S().new(replacement)); + } + } + (_CastListBase.new = function() { + _CastListBase.__proto__.new.call(this); + ; + }).prototype = _CastListBase.prototype; + dart.addTypeTests(_CastListBase); + _CastListBase.prototype[_is__CastListBase_default] = true; + dart.addTypeCaches(_CastListBase); + dart.setMethodSignature(_CastListBase, () => ({ + __proto__: dart.getMethods(_CastListBase.__proto__), + _get: dart.fnType(T, [core.int]), + [$_get]: dart.fnType(T, [core.int]), + _set: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), + [$_set]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]) + })); + dart.setSetterSignature(_CastListBase, () => ({ + __proto__: dart.getSetters(_CastListBase.__proto__), + length: core.int, + [$length]: core.int + })); + dart.setLibraryUri(_CastListBase, I[25]); + dart.defineExtensionMethods(_CastListBase, [ + '_get', + '_set', + 'add', + 'addAll', + 'sort', + 'shuffle', + 'insert', + 'insertAll', + 'setAll', + 'remove', + 'removeAt', + 'removeLast', + 'removeWhere', + 'retainWhere', + 'getRange', + 'setRange', + 'removeRange', + 'fillRange', + 'replaceRange' + ]); + dart.defineExtensionAccessors(_CastListBase, ['length']); + return _CastListBase; + }); + _internal._CastListBase = _internal._CastListBase$(); + dart.addTypeTests(_internal._CastListBase, _is__CastListBase_default); + var _source$1 = dart.privateName(_internal, "CastList._source"); + const _is_CastList_default = Symbol('_is_CastList_default'); + _internal.CastList$ = dart.generic((S, T) => { + class CastList extends _internal._CastListBase$(S, T) { + get [_source$]() { + return this[_source$1]; + } + set [_source$](value) { + super[_source$] = value; + } + cast(R) { + return new (_internal.CastList$(S, R)).new(this[_source$]); + } + } + (CastList.new = function(_source) { + if (_source == null) dart.nullFailed(I[33], 174, 17, "_source"); + this[_source$1] = _source; + CastList.__proto__.new.call(this); + ; + }).prototype = CastList.prototype; + dart.addTypeTests(CastList); + CastList.prototype[_is_CastList_default] = true; + dart.addTypeCaches(CastList); + dart.setMethodSignature(CastList, () => ({ + __proto__: dart.getMethods(CastList.__proto__), + cast: dart.gFnType(R => [core.List$(R), []], R => [dart.nullable(core.Object)]), + [$cast]: dart.gFnType(R => [core.List$(R), []], R => [dart.nullable(core.Object)]) + })); + dart.setLibraryUri(CastList, I[25]); + dart.setFieldSignature(CastList, () => ({ + __proto__: dart.getFields(CastList.__proto__), + [_source$]: dart.finalFieldType(core.List$(S)) + })); + dart.defineExtensionMethods(CastList, ['cast']); + return CastList; + }); + _internal.CastList = _internal.CastList$(); + dart.addTypeTests(_internal.CastList, _is_CastList_default); + var _source$2 = dart.privateName(_internal, "CastSet._source"); + var _emptySet$ = dart.privateName(_internal, "_emptySet"); + var _conditionalAdd = dart.privateName(_internal, "_conditionalAdd"); + var _clone = dart.privateName(_internal, "_clone"); + const _is_CastSet_default = Symbol('_is_CastSet_default'); + _internal.CastSet$ = dart.generic((S, T) => { + var CastIterableOfT$S = () => (CastIterableOfT$S = dart.constFn(_internal.CastIterable$(T, S)))(); + var STobool = () => (STobool = dart.constFn(dart.fnType(core.bool, [S])))(); + var CastSetOfS$T = () => (CastSetOfS$T = dart.constFn(_internal.CastSet$(S, T)))(); + var IterableOfT = () => (IterableOfT = dart.constFn(core.Iterable$(T)))(); + var _HashSetOfT = () => (_HashSetOfT = dart.constFn(collection._HashSet$(T)))(); + var SetOfT = () => (SetOfT = dart.constFn(core.Set$(T)))(); + class CastSet extends _internal._CastIterableBase$(S, T) { + get [_source$]() { + return this[_source$2]; + } + set [_source$](value) { + super[_source$] = value; + } + static _defaultEmptySet(R) { + return new (collection._HashSet$(R)).new(); + } + cast(R) { + return new (_internal.CastSet$(S, R)).new(this[_source$], this[_emptySet$]); + } + add(value) { + T.as(value); + return this[_source$].add(S.as(value)); + } + addAll(elements) { + IterableOfT().as(elements); + if (elements == null) dart.nullFailed(I[33], 194, 27, "elements"); + this[_source$].addAll(CastIterableOfT$S().new(elements)); + } + remove(object) { + return this[_source$].remove(object); + } + removeAll(objects) { + if (objects == null) dart.nullFailed(I[33], 200, 36, "objects"); + this[_source$].removeAll(objects); + } + retainAll(objects) { + if (objects == null) dart.nullFailed(I[33], 204, 36, "objects"); + this[_source$].retainAll(objects); + } + removeWhere(test) { + if (test == null) dart.nullFailed(I[33], 208, 25, "test"); + this[_source$].removeWhere(dart.fn(element => test(T.as(element)), STobool())); + } + retainWhere(test) { + if (test == null) dart.nullFailed(I[33], 212, 25, "test"); + this[_source$].retainWhere(dart.fn(element => test(T.as(element)), STobool())); + } + containsAll(objects) { + if (objects == null) dart.nullFailed(I[33], 216, 38, "objects"); + return this[_source$].containsAll(objects); + } + intersection(other) { + if (other == null) dart.nullFailed(I[33], 218, 36, "other"); + if (this[_emptySet$] != null) return this[_conditionalAdd](other, true); + return new (CastSetOfS$T()).new(this[_source$].intersection(other), null); + } + difference(other) { + if (other == null) dart.nullFailed(I[33], 223, 34, "other"); + if (this[_emptySet$] != null) return this[_conditionalAdd](other, false); + return new (CastSetOfS$T()).new(this[_source$].difference(other), null); + } + [_conditionalAdd](other, otherContains) { + if (other == null) dart.nullFailed(I[33], 228, 39, "other"); + if (otherContains == null) dart.nullFailed(I[33], 228, 51, "otherContains"); + let emptySet = this[_emptySet$]; + let result = emptySet == null ? new (_HashSetOfT()).new() : emptySet(T); + for (let element of this[_source$]) { + let castElement = T.as(element); + if (otherContains == other.contains(castElement)) result.add(castElement); + } + return result; + } + union(other) { + let t77; + SetOfT().as(other); + if (other == null) dart.nullFailed(I[33], 238, 23, "other"); + t77 = this[_clone](); + return (() => { + t77.addAll(other); + return t77; + })(); + } + clear() { + this[_source$].clear(); + } + [_clone]() { + let emptySet = this[_emptySet$]; + let result = emptySet == null ? new (_HashSetOfT()).new() : emptySet(T); + result.addAll(this); + return result; + } + toSet() { + return this[_clone](); + } + lookup(key) { + return T.as(this[_source$].lookup(key)); + } + } + (CastSet.new = function(_source, _emptySet) { + if (_source == null) dart.nullFailed(I[33], 187, 16, "_source"); + this[_source$2] = _source; + this[_emptySet$] = _emptySet; + CastSet.__proto__.new.call(this); + ; + }).prototype = CastSet.prototype; + dart.addTypeTests(CastSet); + CastSet.prototype[_is_CastSet_default] = true; + dart.addTypeCaches(CastSet); + CastSet[dart.implements] = () => [core.Set$(T)]; + dart.setMethodSignature(CastSet, () => ({ + __proto__: dart.getMethods(CastSet.__proto__), + cast: dart.gFnType(R => [core.Set$(R), []], R => [dart.nullable(core.Object)]), + [$cast]: dart.gFnType(R => [core.Set$(R), []], R => [dart.nullable(core.Object)]), + add: dart.fnType(core.bool, [dart.nullable(core.Object)]), + addAll: dart.fnType(dart.void, [dart.nullable(core.Object)]), + remove: dart.fnType(core.bool, [dart.nullable(core.Object)]), + removeAll: dart.fnType(dart.void, [core.Iterable$(dart.nullable(core.Object))]), + retainAll: dart.fnType(dart.void, [core.Iterable$(dart.nullable(core.Object))]), + removeWhere: dart.fnType(dart.void, [dart.fnType(core.bool, [T])]), + retainWhere: dart.fnType(dart.void, [dart.fnType(core.bool, [T])]), + containsAll: dart.fnType(core.bool, [core.Iterable$(dart.nullable(core.Object))]), + intersection: dart.fnType(core.Set$(T), [core.Set$(dart.nullable(core.Object))]), + difference: dart.fnType(core.Set$(T), [core.Set$(dart.nullable(core.Object))]), + [_conditionalAdd]: dart.fnType(core.Set$(T), [core.Set$(dart.nullable(core.Object)), core.bool]), + union: dart.fnType(core.Set$(T), [dart.nullable(core.Object)]), + clear: dart.fnType(dart.void, []), + [_clone]: dart.fnType(core.Set$(T), []), + lookup: dart.fnType(T, [dart.nullable(core.Object)]) + })); + dart.setLibraryUri(CastSet, I[25]); + dart.setFieldSignature(CastSet, () => ({ + __proto__: dart.getFields(CastSet.__proto__), + [_source$]: dart.finalFieldType(core.Set$(S)), + [_emptySet$]: dart.finalFieldType(dart.nullable(dart.gFnType(R => [core.Set$(R), []], R => [dart.nullable(core.Object)]))) + })); + dart.defineExtensionMethods(CastSet, ['cast', 'toSet']); + return CastSet; + }); + _internal.CastSet = _internal.CastSet$(); + dart.addTypeTests(_internal.CastSet, _is_CastSet_default); + const _is_MapMixin_default = Symbol('_is_MapMixin_default'); + collection.MapMixin$ = dart.generic((K, V) => { + var MapOfK$V = () => (MapOfK$V = dart.constFn(core.Map$(K, V)))(); + var KAndVToV = () => (KAndVToV = dart.constFn(dart.fnType(V, [K, V])))(); + var MapEntryOfK$V = () => (MapEntryOfK$V = dart.constFn(core.MapEntry$(K, V)))(); + var KToMapEntryOfK$V = () => (KToMapEntryOfK$V = dart.constFn(dart.fnType(MapEntryOfK$V(), [K])))(); + var IterableOfMapEntryOfK$V = () => (IterableOfMapEntryOfK$V = dart.constFn(core.Iterable$(MapEntryOfK$V())))(); + var JSArrayOfK = () => (JSArrayOfK = dart.constFn(_interceptors.JSArray$(K)))(); + var _MapBaseValueIterableOfK$V = () => (_MapBaseValueIterableOfK$V = dart.constFn(collection._MapBaseValueIterable$(K, V)))(); + var VoidToV = () => (VoidToV = dart.constFn(dart.fnType(V, [])))(); + var VToV = () => (VToV = dart.constFn(dart.fnType(V, [V])))(); + var VoidToNV = () => (VoidToNV = dart.constFn(dart.nullable(VoidToV())))(); + class MapMixin extends core.Object { + cast(RK, RV) { + return core.Map.castFrom(K, V, RK, RV, this); + } + forEach(action) { + if (action == null) dart.nullFailed(I[35], 121, 21, "action"); + for (let key of this[$keys]) { + action(key, V.as(this[$_get](key))); + } + } + addAll(other) { + MapOfK$V().as(other); + if (other == null) dart.nullFailed(I[35], 127, 25, "other"); + for (let key of other[$keys]) { + this[$_set](key, V.as(other[$_get](key))); + } + } + containsValue(value) { + for (let key of this[$keys]) { + if (dart.equals(this[$_get](key), value)) return true; + } + return false; + } + putIfAbsent(key, ifAbsent) { + let t78, t77; + K.as(key); + VoidToV().as(ifAbsent); + if (ifAbsent == null) dart.nullFailed(I[35], 140, 26, "ifAbsent"); + if (dart.test(this[$containsKey](key))) { + return V.as(this[$_get](key)); + } + t77 = key; + t78 = ifAbsent(); + this[$_set](t77, t78); + return t78; + } + update(key, update, opts) { + let t78, t77, t78$, t77$; + K.as(key); + VToV().as(update); + if (update == null) dart.nullFailed(I[35], 147, 21, "update"); + let ifAbsent = opts && 'ifAbsent' in opts ? opts.ifAbsent : null; + VoidToNV().as(ifAbsent); + if (dart.test(this[$containsKey](key))) { + t77 = key; + t78 = update(V.as(this[$_get](key))); + this[$_set](t77, t78); + return t78; + } + if (ifAbsent != null) { + t77$ = key; + t78$ = ifAbsent(); + this[$_set](t77$, t78$); + return t78$; + } + dart.throw(new core.ArgumentError.value(key, "key", "Key not in map.")); + } + updateAll(update) { + KAndVToV().as(update); + if (update == null) dart.nullFailed(I[35], 157, 20, "update"); + for (let key of this[$keys]) { + this[$_set](key, update(key, V.as(this[$_get](key)))); + } + } + get entries() { + return this[$keys][$map](MapEntryOfK$V(), dart.fn(key => new (MapEntryOfK$V()).__(key, V.as(this[$_get](key))), KToMapEntryOfK$V())); + } + map(K2, V2, transform) { + if (transform == null) dart.nullFailed(I[35], 167, 44, "transform"); + let result = new (_js_helper.LinkedMap$(K2, V2)).new(); + for (let key of this[$keys]) { + let entry = transform(key, V.as(this[$_get](key))); + result[$_set](entry.key, entry.value); + } + return result; + } + addEntries(newEntries) { + IterableOfMapEntryOfK$V().as(newEntries); + if (newEntries == null) dart.nullFailed(I[35], 176, 44, "newEntries"); + for (let entry of newEntries) { + this[$_set](entry.key, entry.value); + } + } + removeWhere(test) { + if (test == null) dart.nullFailed(I[35], 182, 25, "test"); + let keysToRemove = JSArrayOfK().of([]); + for (let key of this[$keys]) { + if (dart.test(test(key, V.as(this[$_get](key))))) keysToRemove[$add](key); + } + for (let key of keysToRemove) { + this[$remove](key); + } + } + containsKey(key) { + return this[$keys][$contains](key); + } + get length() { + return this[$keys][$length]; + } + get isEmpty() { + return this[$keys][$isEmpty]; + } + get isNotEmpty() { + return this[$keys][$isNotEmpty]; + } + get values() { + return new (_MapBaseValueIterableOfK$V()).new(this); + } + toString() { + return collection.MapBase.mapToString(this); + } + } + (MapMixin.new = function() { + ; + }).prototype = MapMixin.prototype; + MapMixin.prototype[dart.isMap] = true; + dart.addTypeTests(MapMixin); + MapMixin.prototype[_is_MapMixin_default] = true; + dart.addTypeCaches(MapMixin); + MapMixin[dart.implements] = () => [core.Map$(K, V)]; + dart.setMethodSignature(MapMixin, () => ({ + __proto__: dart.getMethods(MapMixin.__proto__), + cast: dart.gFnType((RK, RV) => [core.Map$(RK, RV), []], (RK, RV) => [dart.nullable(core.Object), dart.nullable(core.Object)]), + [$cast]: dart.gFnType((RK, RV) => [core.Map$(RK, RV), []], (RK, RV) => [dart.nullable(core.Object), dart.nullable(core.Object)]), + forEach: dart.fnType(dart.void, [dart.fnType(dart.void, [K, V])]), + [$forEach]: dart.fnType(dart.void, [dart.fnType(dart.void, [K, V])]), + addAll: dart.fnType(dart.void, [dart.nullable(core.Object)]), + [$addAll]: dart.fnType(dart.void, [dart.nullable(core.Object)]), + containsValue: dart.fnType(core.bool, [dart.nullable(core.Object)]), + [$containsValue]: dart.fnType(core.bool, [dart.nullable(core.Object)]), + putIfAbsent: dart.fnType(V, [dart.nullable(core.Object), dart.nullable(core.Object)]), + [$putIfAbsent]: dart.fnType(V, [dart.nullable(core.Object), dart.nullable(core.Object)]), + update: dart.fnType(V, [dart.nullable(core.Object), dart.nullable(core.Object)], {ifAbsent: dart.nullable(core.Object)}, {}), + [$update]: dart.fnType(V, [dart.nullable(core.Object), dart.nullable(core.Object)], {ifAbsent: dart.nullable(core.Object)}, {}), + updateAll: dart.fnType(dart.void, [dart.nullable(core.Object)]), + [$updateAll]: dart.fnType(dart.void, [dart.nullable(core.Object)]), + map: dart.gFnType((K2, V2) => [core.Map$(K2, V2), [dart.fnType(core.MapEntry$(K2, V2), [K, V])]], (K2, V2) => [dart.nullable(core.Object), dart.nullable(core.Object)]), + [$map]: dart.gFnType((K2, V2) => [core.Map$(K2, V2), [dart.fnType(core.MapEntry$(K2, V2), [K, V])]], (K2, V2) => [dart.nullable(core.Object), dart.nullable(core.Object)]), + addEntries: dart.fnType(dart.void, [dart.nullable(core.Object)]), + [$addEntries]: dart.fnType(dart.void, [dart.nullable(core.Object)]), + removeWhere: dart.fnType(dart.void, [dart.fnType(core.bool, [K, V])]), + [$removeWhere]: dart.fnType(dart.void, [dart.fnType(core.bool, [K, V])]), + containsKey: dart.fnType(core.bool, [dart.nullable(core.Object)]), + [$containsKey]: dart.fnType(core.bool, [dart.nullable(core.Object)]) + })); + dart.setGetterSignature(MapMixin, () => ({ + __proto__: dart.getGetters(MapMixin.__proto__), + entries: core.Iterable$(core.MapEntry$(K, V)), + [$entries]: core.Iterable$(core.MapEntry$(K, V)), + length: core.int, + [$length]: core.int, + isEmpty: core.bool, + [$isEmpty]: core.bool, + isNotEmpty: core.bool, + [$isNotEmpty]: core.bool, + values: core.Iterable$(V), + [$values]: core.Iterable$(V) + })); + dart.setLibraryUri(MapMixin, I[24]); + dart.defineExtensionMethods(MapMixin, [ + 'cast', + 'forEach', + 'addAll', + 'containsValue', + 'putIfAbsent', + 'update', + 'updateAll', + 'map', + 'addEntries', + 'removeWhere', + 'containsKey', + 'toString' + ]); + dart.defineExtensionAccessors(MapMixin, [ + 'entries', + 'length', + 'isEmpty', + 'isNotEmpty', + 'values' + ]); + return MapMixin; + }); + collection.MapMixin = collection.MapMixin$(); + dart.addTypeTests(collection.MapMixin, _is_MapMixin_default); + const _is_MapBase_default = Symbol('_is_MapBase_default'); + collection.MapBase$ = dart.generic((K, V) => { + class MapBase extends collection.MapMixin$(K, V) { + static mapToString(m) { + if (m == null) dart.nullFailed(I[35], 22, 51, "m"); + if (dart.test(collection._isToStringVisiting(m))) { + return "{...}"; + } + let result = new core.StringBuffer.new(); + try { + collection._toStringVisiting[$add](m); + result.write("{"); + let first = true; + m[$forEach](dart.fn((k, v) => { + if (!first) { + result.write(", "); + } + first = false; + result.write(k); + result.write(": "); + result.write(v); + }, T$.ObjectNAndObjectNTovoid())); + result.write("}"); + } finally { + if (!core.identical(collection._toStringVisiting[$last], m)) dart.assertFailed(null, I[35], 44, 14, "identical(_toStringVisiting.last, m)"); + collection._toStringVisiting[$removeLast](); + } + return result.toString(); + } + static _id(x) { + return x; + } + static _fillMapWithMappedIterable(map, iterable, key, value) { + if (map == null) dart.nullFailed(I[35], 58, 29, "map"); + if (iterable == null) dart.nullFailed(I[35], 59, 25, "iterable"); + key == null ? key = C[19] || CT.C19 : null; + value == null ? value = C[19] || CT.C19 : null; + if (key == null) dart.throw("!"); + if (value == null) dart.throw("!"); + for (let element of iterable) { + map[$_set](key(element), value(element)); + } + } + static _fillMapWithIterables(map, keys, values) { + if (map == null) dart.nullFailed(I[35], 77, 59, "map"); + if (keys == null) dart.nullFailed(I[35], 78, 25, "keys"); + if (values == null) dart.nullFailed(I[35], 78, 49, "values"); + let keyIterator = keys[$iterator]; + let valueIterator = values[$iterator]; + let hasNextKey = keyIterator.moveNext(); + let hasNextValue = valueIterator.moveNext(); + while (dart.test(hasNextKey) && dart.test(hasNextValue)) { + map[$_set](keyIterator.current, valueIterator.current); + hasNextKey = keyIterator.moveNext(); + hasNextValue = valueIterator.moveNext(); + } + if (dart.test(hasNextKey) || dart.test(hasNextValue)) { + dart.throw(new core.ArgumentError.new("Iterables do not have same length.")); + } + } + } + (MapBase.new = function() { + ; + }).prototype = MapBase.prototype; + dart.addTypeTests(MapBase); + MapBase.prototype[_is_MapBase_default] = true; + dart.addTypeCaches(MapBase); + dart.setLibraryUri(MapBase, I[24]); + return MapBase; + }); + collection.MapBase = collection.MapBase$(); + dart.addTypeTests(collection.MapBase, _is_MapBase_default); + const _is_CastMap_default = Symbol('_is_CastMap_default'); + _internal.CastMap$ = dart.generic((SK, SV, K, V) => { + var CastMapOfK$V$SK$SV = () => (CastMapOfK$V$SK$SV = dart.constFn(_internal.CastMap$(K, V, SK, SV)))(); + var SKAndSVTovoid = () => (SKAndSVTovoid = dart.constFn(dart.fnType(dart.void, [SK, SV])))(); + var CastIterableOfSK$K = () => (CastIterableOfSK$K = dart.constFn(_internal.CastIterable$(SK, K)))(); + var SKAndSVToSV = () => (SKAndSVToSV = dart.constFn(dart.fnType(SV, [SK, SV])))(); + var MapEntryOfSK$SV = () => (MapEntryOfSK$SV = dart.constFn(core.MapEntry$(SK, SV)))(); + var MapEntryOfSK$SVToMapEntryOfK$V = () => (MapEntryOfSK$SVToMapEntryOfK$V = dart.constFn(dart.fnType(MapEntryOfK$V(), [MapEntryOfSK$SV()])))(); + var SKAndSVTobool = () => (SKAndSVTobool = dart.constFn(dart.fnType(core.bool, [SK, SV])))(); + var VoidToSV = () => (VoidToSV = dart.constFn(dart.fnType(SV, [])))(); + var CastIterableOfSV$V = () => (CastIterableOfSV$V = dart.constFn(_internal.CastIterable$(SV, V)))(); + var SVToSV = () => (SVToSV = dart.constFn(dart.fnType(SV, [SV])))(); + var MapOfK$V = () => (MapOfK$V = dart.constFn(core.Map$(K, V)))(); + var KAndVToV = () => (KAndVToV = dart.constFn(dart.fnType(V, [K, V])))(); + var MapEntryOfK$V = () => (MapEntryOfK$V = dart.constFn(core.MapEntry$(K, V)))(); + var IterableOfMapEntryOfK$V = () => (IterableOfMapEntryOfK$V = dart.constFn(core.Iterable$(MapEntryOfK$V())))(); + var VN = () => (VN = dart.constFn(dart.nullable(V)))(); + var VoidToV = () => (VoidToV = dart.constFn(dart.fnType(V, [])))(); + var VToV = () => (VToV = dart.constFn(dart.fnType(V, [V])))(); + var VoidToNV = () => (VoidToNV = dart.constFn(dart.nullable(VoidToV())))(); + class CastMap extends collection.MapBase$(K, V) { + cast(RK, RV) { + return new (_internal.CastMap$(SK, SV, RK, RV)).new(this[_source$]); + } + containsValue(value) { + return this[_source$][$containsValue](value); + } + containsKey(key) { + return this[_source$][$containsKey](key); + } + _get(key) { + return VN().as(this[_source$][$_get](key)); + } + _set(key, value$) { + let value = value$; + K.as(key); + V.as(value); + this[_source$][$_set](SK.as(key), SV.as(value)); + return value$; + } + putIfAbsent(key, ifAbsent) { + K.as(key); + VoidToV().as(ifAbsent); + if (ifAbsent == null) dart.nullFailed(I[33], 273, 37, "ifAbsent"); + return V.as(this[_source$][$putIfAbsent](SK.as(key), dart.fn(() => SV.as(ifAbsent()), VoidToSV()))); + } + addAll(other) { + MapOfK$V().as(other); + if (other == null) dart.nullFailed(I[33], 276, 25, "other"); + this[_source$][$addAll](new (CastMapOfK$V$SK$SV()).new(other)); + } + remove(key) { + return VN().as(this[_source$][$remove](key)); + } + clear() { + this[_source$][$clear](); + } + forEach(f) { + if (f == null) dart.nullFailed(I[33], 286, 21, "f"); + this[_source$][$forEach](dart.fn((key, value) => { + f(K.as(key), V.as(value)); + }, SKAndSVTovoid())); + } + get keys() { + return CastIterableOfSK$K().new(this[_source$][$keys]); + } + get values() { + return CastIterableOfSV$V().new(this[_source$][$values]); + } + get length() { + return this[_source$][$length]; + } + get isEmpty() { + return this[_source$][$isEmpty]; + } + get isNotEmpty() { + return this[_source$][$isNotEmpty]; + } + update(key, update, opts) { + K.as(key); + VToV().as(update); + if (update == null) dart.nullFailed(I[33], 302, 21, "update"); + let ifAbsent = opts && 'ifAbsent' in opts ? opts.ifAbsent : null; + VoidToNV().as(ifAbsent); + return V.as(this[_source$][$update](SK.as(key), dart.fn(value => SV.as(update(V.as(value))), SVToSV()), {ifAbsent: ifAbsent == null ? null : dart.fn(() => SV.as(ifAbsent()), VoidToSV())})); + } + updateAll(update) { + KAndVToV().as(update); + if (update == null) dart.nullFailed(I[33], 307, 20, "update"); + this[_source$][$updateAll](dart.fn((key, value) => SV.as(update(K.as(key), V.as(value))), SKAndSVToSV())); + } + get entries() { + return this[_source$][$entries][$map](MapEntryOfK$V(), dart.fn(e => { + if (e == null) dart.nullFailed(I[33], 313, 27, "e"); + return new (MapEntryOfK$V()).__(K.as(e.key), V.as(e.value)); + }, MapEntryOfSK$SVToMapEntryOfK$V())); + } + addEntries(entries) { + IterableOfMapEntryOfK$V().as(entries); + if (entries == null) dart.nullFailed(I[33], 316, 44, "entries"); + for (let entry of entries) { + this[_source$][$_set](SK.as(entry.key), SV.as(entry.value)); + } + } + removeWhere(test) { + if (test == null) dart.nullFailed(I[33], 322, 25, "test"); + this[_source$][$removeWhere](dart.fn((key, value) => test(K.as(key), V.as(value)), SKAndSVTobool())); + } + } + (CastMap.new = function(_source) { + if (_source == null) dart.nullFailed(I[33], 259, 16, "_source"); + this[_source$] = _source; + ; + }).prototype = CastMap.prototype; + dart.addTypeTests(CastMap); + CastMap.prototype[_is_CastMap_default] = true; + dart.addTypeCaches(CastMap); + dart.setMethodSignature(CastMap, () => ({ + __proto__: dart.getMethods(CastMap.__proto__), + cast: dart.gFnType((RK, RV) => [core.Map$(RK, RV), []], (RK, RV) => [dart.nullable(core.Object), dart.nullable(core.Object)]), + [$cast]: dart.gFnType((RK, RV) => [core.Map$(RK, RV), []], (RK, RV) => [dart.nullable(core.Object), dart.nullable(core.Object)]), + _get: dart.fnType(dart.nullable(V), [dart.nullable(core.Object)]), + [$_get]: dart.fnType(dart.nullable(V), [dart.nullable(core.Object)]), + _set: dart.fnType(dart.void, [dart.nullable(core.Object), dart.nullable(core.Object)]), + [$_set]: dart.fnType(dart.void, [dart.nullable(core.Object), dart.nullable(core.Object)]), + remove: dart.fnType(dart.nullable(V), [dart.nullable(core.Object)]), + [$remove]: dart.fnType(dart.nullable(V), [dart.nullable(core.Object)]), + clear: dart.fnType(dart.void, []), + [$clear]: dart.fnType(dart.void, []) + })); + dart.setGetterSignature(CastMap, () => ({ + __proto__: dart.getGetters(CastMap.__proto__), + keys: core.Iterable$(K), + [$keys]: core.Iterable$(K) + })); + dart.setLibraryUri(CastMap, I[25]); + dart.setFieldSignature(CastMap, () => ({ + __proto__: dart.getFields(CastMap.__proto__), + [_source$]: dart.finalFieldType(core.Map$(SK, SV)) + })); + dart.defineExtensionMethods(CastMap, [ + 'cast', + 'containsValue', + 'containsKey', + '_get', + '_set', + 'putIfAbsent', + 'addAll', + 'remove', + 'clear', + 'forEach', + 'update', + 'updateAll', + 'addEntries', + 'removeWhere' + ]); + dart.defineExtensionAccessors(CastMap, [ + 'keys', + 'values', + 'length', + 'isEmpty', + 'isNotEmpty', + 'entries' + ]); + return CastMap; + }); + _internal.CastMap = _internal.CastMap$(); + dart.addTypeTests(_internal.CastMap, _is_CastMap_default); + var _source$3 = dart.privateName(_internal, "CastQueue._source"); + const _is_CastQueue_default = Symbol('_is_CastQueue_default'); + _internal.CastQueue$ = dart.generic((S, T) => { + var CastIterableOfT$S = () => (CastIterableOfT$S = dart.constFn(_internal.CastIterable$(T, S)))(); + var STobool = () => (STobool = dart.constFn(dart.fnType(core.bool, [S])))(); + var IterableOfT = () => (IterableOfT = dart.constFn(core.Iterable$(T)))(); + class CastQueue extends _internal._CastIterableBase$(S, T) { + get [_source$]() { + return this[_source$3]; + } + set [_source$](value) { + super[_source$] = value; + } + cast(R) { + return new (_internal.CastQueue$(S, R)).new(this[_source$]); + } + removeFirst() { + return T.as(this[_source$].removeFirst()); + } + removeLast() { + return T.as(this[_source$].removeLast()); + } + add(value) { + T.as(value); + this[_source$].add(S.as(value)); + } + addFirst(value) { + T.as(value); + this[_source$].addFirst(S.as(value)); + } + addLast(value) { + T.as(value); + this[_source$].addLast(S.as(value)); + } + remove(other) { + return this[_source$].remove(other); + } + addAll(elements) { + IterableOfT().as(elements); + if (elements == null) dart.nullFailed(I[33], 348, 27, "elements"); + this[_source$].addAll(CastIterableOfT$S().new(elements)); + } + removeWhere(test) { + if (test == null) dart.nullFailed(I[33], 352, 25, "test"); + this[_source$].removeWhere(dart.fn(element => test(T.as(element)), STobool())); + } + retainWhere(test) { + if (test == null) dart.nullFailed(I[33], 356, 25, "test"); + this[_source$].retainWhere(dart.fn(element => test(T.as(element)), STobool())); + } + clear() { + this[_source$].clear(); + } + } + (CastQueue.new = function(_source) { + if (_source == null) dart.nullFailed(I[33], 329, 18, "_source"); + this[_source$3] = _source; + CastQueue.__proto__.new.call(this); + ; + }).prototype = CastQueue.prototype; + dart.addTypeTests(CastQueue); + CastQueue.prototype[_is_CastQueue_default] = true; + dart.addTypeCaches(CastQueue); + CastQueue[dart.implements] = () => [collection.Queue$(T)]; + dart.setMethodSignature(CastQueue, () => ({ + __proto__: dart.getMethods(CastQueue.__proto__), + cast: dart.gFnType(R => [collection.Queue$(R), []], R => [dart.nullable(core.Object)]), + [$cast]: dart.gFnType(R => [collection.Queue$(R), []], R => [dart.nullable(core.Object)]), + removeFirst: dart.fnType(T, []), + removeLast: dart.fnType(T, []), + add: dart.fnType(dart.void, [dart.nullable(core.Object)]), + addFirst: dart.fnType(dart.void, [dart.nullable(core.Object)]), + addLast: dart.fnType(dart.void, [dart.nullable(core.Object)]), + remove: dart.fnType(core.bool, [dart.nullable(core.Object)]), + addAll: dart.fnType(dart.void, [dart.nullable(core.Object)]), + removeWhere: dart.fnType(dart.void, [dart.fnType(core.bool, [T])]), + retainWhere: dart.fnType(dart.void, [dart.fnType(core.bool, [T])]), + clear: dart.fnType(dart.void, []) + })); + dart.setLibraryUri(CastQueue, I[25]); + dart.setFieldSignature(CastQueue, () => ({ + __proto__: dart.getFields(CastQueue.__proto__), + [_source$]: dart.finalFieldType(collection.Queue$(S)) + })); + dart.defineExtensionMethods(CastQueue, ['cast']); + return CastQueue; + }); + _internal.CastQueue = _internal.CastQueue$(); + dart.addTypeTests(_internal.CastQueue, _is_CastQueue_default); + var _message$ = dart.privateName(_internal, "_message"); + _internal.LateError = class LateError extends core.Error { + toString() { + let message = this[_message$]; + return message != null ? "LateInitializationError: " + dart.str(message) : "LateInitializationError"; + } + }; + (_internal.LateError.new = function(_message = null) { + this[_message$] = _message; + _internal.LateError.__proto__.new.call(this); + ; + }).prototype = _internal.LateError.prototype; + (_internal.LateError.fieldADI = function(fieldName) { + if (fieldName == null) dart.nullFailed(I[36], 16, 29, "fieldName"); + this[_message$] = "Field '" + dart.str(fieldName) + "' has been assigned during initialization."; + _internal.LateError.__proto__.new.call(this); + ; + }).prototype = _internal.LateError.prototype; + (_internal.LateError.localADI = function(localName) { + if (localName == null) dart.nullFailed(I[36], 20, 29, "localName"); + this[_message$] = "Local '" + dart.str(localName) + "' has been assigned during initialization."; + _internal.LateError.__proto__.new.call(this); + ; + }).prototype = _internal.LateError.prototype; + (_internal.LateError.fieldNI = function(fieldName) { + if (fieldName == null) dart.nullFailed(I[36], 25, 28, "fieldName"); + this[_message$] = "Field '" + dart.str(fieldName) + "' has not been initialized."; + _internal.LateError.__proto__.new.call(this); + ; + }).prototype = _internal.LateError.prototype; + (_internal.LateError.localNI = function(localName) { + if (localName == null) dart.nullFailed(I[36], 28, 28, "localName"); + this[_message$] = "Local '" + dart.str(localName) + "' has not been initialized."; + _internal.LateError.__proto__.new.call(this); + ; + }).prototype = _internal.LateError.prototype; + (_internal.LateError.fieldAI = function(fieldName) { + if (fieldName == null) dart.nullFailed(I[36], 31, 28, "fieldName"); + this[_message$] = "Field '" + dart.str(fieldName) + "' has already been initialized."; + _internal.LateError.__proto__.new.call(this); + ; + }).prototype = _internal.LateError.prototype; + (_internal.LateError.localAI = function(localName) { + if (localName == null) dart.nullFailed(I[36], 34, 28, "localName"); + this[_message$] = "Local '" + dart.str(localName) + "' has already been initialized."; + _internal.LateError.__proto__.new.call(this); + ; + }).prototype = _internal.LateError.prototype; + dart.addTypeTests(_internal.LateError); + dart.addTypeCaches(_internal.LateError); + dart.setLibraryUri(_internal.LateError, I[25]); + dart.setFieldSignature(_internal.LateError, () => ({ + __proto__: dart.getFields(_internal.LateError.__proto__), + [_message$]: dart.finalFieldType(dart.nullable(core.String)) + })); + dart.defineExtensionMethods(_internal.LateError, ['toString']); + _internal.ReachabilityError = class ReachabilityError extends core.Error { + toString() { + let message = this[_message$]; + return message != null ? "ReachabilityError: " + dart.str(message) : "ReachabilityError"; + } + }; + (_internal.ReachabilityError.new = function(_message = null) { + this[_message$] = _message; + _internal.ReachabilityError.__proto__.new.call(this); + ; + }).prototype = _internal.ReachabilityError.prototype; + dart.addTypeTests(_internal.ReachabilityError); + dart.addTypeCaches(_internal.ReachabilityError); + dart.setLibraryUri(_internal.ReachabilityError, I[25]); + dart.setFieldSignature(_internal.ReachabilityError, () => ({ + __proto__: dart.getFields(_internal.ReachabilityError.__proto__), + [_message$]: dart.finalFieldType(dart.nullable(core.String)) + })); + dart.defineExtensionMethods(_internal.ReachabilityError, ['toString']); + const _is_EfficientLengthIterable_default = Symbol('_is_EfficientLengthIterable_default'); + _internal.EfficientLengthIterable$ = dart.generic(T => { + class EfficientLengthIterable extends core.Iterable$(T) {} + (EfficientLengthIterable.new = function() { + EfficientLengthIterable.__proto__.new.call(this); + ; + }).prototype = EfficientLengthIterable.prototype; + dart.addTypeTests(EfficientLengthIterable); + EfficientLengthIterable.prototype[_is_EfficientLengthIterable_default] = true; + dart.addTypeCaches(EfficientLengthIterable); + dart.setLibraryUri(EfficientLengthIterable, I[25]); + return EfficientLengthIterable; + }); + _internal.EfficientLengthIterable = _internal.EfficientLengthIterable$(); + dart.addTypeTests(_internal.EfficientLengthIterable, _is_EfficientLengthIterable_default); + const _is_ListIterable_default = Symbol('_is_ListIterable_default'); + _internal.ListIterable$ = dart.generic(E => { + var ListIteratorOfE = () => (ListIteratorOfE = dart.constFn(_internal.ListIterator$(E)))(); + var VoidToE = () => (VoidToE = dart.constFn(dart.fnType(E, [])))(); + var VoidToNE = () => (VoidToNE = dart.constFn(dart.nullable(VoidToE())))(); + var ETodynamic = () => (ETodynamic = dart.constFn(dart.fnType(dart.dynamic, [E])))(); + var EAndEToE = () => (EAndEToE = dart.constFn(dart.fnType(E, [E, E])))(); + var SubListIterableOfE = () => (SubListIterableOfE = dart.constFn(_internal.SubListIterable$(E)))(); + var ListOfE = () => (ListOfE = dart.constFn(core.List$(E)))(); + var _HashSetOfE = () => (_HashSetOfE = dart.constFn(collection._HashSet$(E)))(); + class ListIterable extends _internal.EfficientLengthIterable$(E) { + get iterator() { + return new (ListIteratorOfE()).new(this); + } + forEach(action) { + if (action == null) dart.nullFailed(I[37], 36, 21, "action"); + let length = this.length; + for (let i = 0; i < dart.notNull(length); i = i + 1) { + action(this.elementAt(i)); + if (length != this.length) { + dart.throw(new core.ConcurrentModificationError.new(this)); + } + } + } + get isEmpty() { + return this.length === 0; + } + get first() { + if (this.length === 0) dart.throw(_internal.IterableElementError.noElement()); + return this.elementAt(0); + } + get last() { + if (this.length === 0) dart.throw(_internal.IterableElementError.noElement()); + return this.elementAt(dart.notNull(this.length) - 1); + } + get single() { + if (this.length === 0) dart.throw(_internal.IterableElementError.noElement()); + if (dart.notNull(this.length) > 1) dart.throw(_internal.IterableElementError.tooMany()); + return this.elementAt(0); + } + contains(element) { + let length = this.length; + for (let i = 0; i < dart.notNull(length); i = i + 1) { + if (dart.equals(this.elementAt(i), element)) return true; + if (length != this.length) { + dart.throw(new core.ConcurrentModificationError.new(this)); + } + } + return false; + } + every(test) { + if (test == null) dart.nullFailed(I[37], 75, 19, "test"); + let length = this.length; + for (let i = 0; i < dart.notNull(length); i = i + 1) { + if (!dart.test(test(this.elementAt(i)))) return false; + if (length != this.length) { + dart.throw(new core.ConcurrentModificationError.new(this)); + } + } + return true; + } + any(test) { + if (test == null) dart.nullFailed(I[37], 86, 17, "test"); + let length = this.length; + for (let i = 0; i < dart.notNull(length); i = i + 1) { + if (dart.test(test(this.elementAt(i)))) return true; + if (length != this.length) { + dart.throw(new core.ConcurrentModificationError.new(this)); + } + } + return false; + } + firstWhere(test, opts) { + if (test == null) dart.nullFailed(I[37], 97, 21, "test"); + let orElse = opts && 'orElse' in opts ? opts.orElse : null; + VoidToNE().as(orElse); + let length = this.length; + for (let i = 0; i < dart.notNull(length); i = i + 1) { + let element = this.elementAt(i); + if (dart.test(test(element))) return element; + if (length != this.length) { + dart.throw(new core.ConcurrentModificationError.new(this)); + } + } + if (orElse != null) return orElse(); + dart.throw(_internal.IterableElementError.noElement()); + } + lastWhere(test, opts) { + if (test == null) dart.nullFailed(I[37], 110, 20, "test"); + let orElse = opts && 'orElse' in opts ? opts.orElse : null; + VoidToNE().as(orElse); + let length = this.length; + for (let i = dart.notNull(length) - 1; i >= 0; i = i - 1) { + let element = this.elementAt(i); + if (dart.test(test(element))) return element; + if (length != this.length) { + dart.throw(new core.ConcurrentModificationError.new(this)); + } + } + if (orElse != null) return orElse(); + dart.throw(_internal.IterableElementError.noElement()); + } + singleWhere(test, opts) { + if (test == null) dart.nullFailed(I[37], 123, 22, "test"); + let orElse = opts && 'orElse' in opts ? opts.orElse : null; + VoidToNE().as(orElse); + let length = this.length; + let match = null; + let match$35isSet = false; + function match$35get() { + return match$35isSet ? match : dart.throw(new _internal.LateError.localNI("match")); + } + dart.fn(match$35get, VoidToE()); + function match$35set(t80) { + match$35isSet = true; + return match = t80; + } + dart.fn(match$35set, ETodynamic()); + let matchFound = false; + for (let i = 0; i < dart.notNull(length); i = i + 1) { + let element = this.elementAt(i); + if (dart.test(test(element))) { + if (matchFound) { + dart.throw(_internal.IterableElementError.tooMany()); + } + matchFound = true; + match$35set(element); + } + if (length != this.length) { + dart.throw(new core.ConcurrentModificationError.new(this)); + } + } + if (matchFound) return match$35get(); + if (orElse != null) return orElse(); + dart.throw(_internal.IterableElementError.noElement()); + } + join(separator = "") { + if (separator == null) dart.nullFailed(I[37], 145, 23, "separator"); + let length = this.length; + if (!separator[$isEmpty]) { + if (length === 0) return ""; + let first = dart.str(this.elementAt(0)); + if (length != this.length) { + dart.throw(new core.ConcurrentModificationError.new(this)); + } + let buffer = new core.StringBuffer.new(first); + for (let i = 1; i < dart.notNull(length); i = i + 1) { + buffer.write(separator); + buffer.write(this.elementAt(i)); + if (length != this.length) { + dart.throw(new core.ConcurrentModificationError.new(this)); + } + } + return buffer.toString(); + } else { + let buffer = new core.StringBuffer.new(); + for (let i = 0; i < dart.notNull(length); i = i + 1) { + buffer.write(this.elementAt(i)); + if (length != this.length) { + dart.throw(new core.ConcurrentModificationError.new(this)); + } + } + return buffer.toString(); + } + } + where(test) { + if (test == null) dart.nullFailed(I[37], 174, 26, "test"); + return super[$where](test); + } + map(T, f) { + if (f == null) dart.nullFailed(I[37], 176, 24, "f"); + return new (_internal.MappedListIterable$(E, T)).new(this, f); + } + reduce(combine) { + EAndEToE().as(combine); + if (combine == null) dart.nullFailed(I[37], 178, 14, "combine"); + let length = this.length; + if (length === 0) dart.throw(_internal.IterableElementError.noElement()); + let value = this.elementAt(0); + for (let i = 1; i < dart.notNull(length); i = i + 1) { + value = combine(value, this.elementAt(i)); + if (length != this.length) { + dart.throw(new core.ConcurrentModificationError.new(this)); + } + } + return value; + } + fold(T, initialValue, combine) { + if (combine == null) dart.nullFailed(I[37], 191, 31, "combine"); + let value = initialValue; + let length = this.length; + for (let i = 0; i < dart.notNull(length); i = i + 1) { + value = combine(value, this.elementAt(i)); + if (length != this.length) { + dart.throw(new core.ConcurrentModificationError.new(this)); + } + } + return value; + } + skip(count) { + if (count == null) dart.nullFailed(I[37], 203, 24, "count"); + return new (SubListIterableOfE()).new(this, count, null); + } + skipWhile(test) { + if (test == null) dart.nullFailed(I[37], 205, 30, "test"); + return super[$skipWhile](test); + } + take(count) { + if (count == null) dart.nullFailed(I[37], 207, 24, "count"); + return new (SubListIterableOfE()).new(this, 0, _internal.checkNotNullable(core.int, count, "count")); + } + takeWhile(test) { + if (test == null) dart.nullFailed(I[37], 210, 30, "test"); + return super[$takeWhile](test); + } + toList(opts) { + let growable = opts && 'growable' in opts ? opts.growable : true; + if (growable == null) dart.nullFailed(I[37], 212, 24, "growable"); + return ListOfE().of(this, {growable: growable}); + } + toSet() { + let result = new (_HashSetOfE()).new(); + for (let i = 0; i < dart.notNull(this.length); i = i + 1) { + result.add(this.elementAt(i)); + } + return result; + } + } + (ListIterable.new = function() { + ListIterable.__proto__.new.call(this); + ; + }).prototype = ListIterable.prototype; + dart.addTypeTests(ListIterable); + ListIterable.prototype[_is_ListIterable_default] = true; + dart.addTypeCaches(ListIterable); + dart.setMethodSignature(ListIterable, () => ({ + __proto__: dart.getMethods(ListIterable.__proto__), + map: dart.gFnType(T => [core.Iterable$(T), [dart.fnType(T, [E])]], T => [dart.nullable(core.Object)]), + [$map]: dart.gFnType(T => [core.Iterable$(T), [dart.fnType(T, [E])]], T => [dart.nullable(core.Object)]), + fold: dart.gFnType(T => [T, [T, dart.fnType(T, [T, E])]], T => [dart.nullable(core.Object)]), + [$fold]: dart.gFnType(T => [T, [T, dart.fnType(T, [T, E])]], T => [dart.nullable(core.Object)]) + })); + dart.setGetterSignature(ListIterable, () => ({ + __proto__: dart.getGetters(ListIterable.__proto__), + iterator: core.Iterator$(E), + [$iterator]: core.Iterator$(E) + })); + dart.setLibraryUri(ListIterable, I[25]); + dart.defineExtensionMethods(ListIterable, [ + 'forEach', + 'contains', + 'every', + 'any', + 'firstWhere', + 'lastWhere', + 'singleWhere', + 'join', + 'where', + 'map', + 'reduce', + 'fold', + 'skip', + 'skipWhile', + 'take', + 'takeWhile', + 'toList', + 'toSet' + ]); + dart.defineExtensionAccessors(ListIterable, [ + 'iterator', + 'isEmpty', + 'first', + 'last', + 'single' + ]); + return ListIterable; + }); + _internal.ListIterable = _internal.ListIterable$(); + dart.addTypeTests(_internal.ListIterable, _is_ListIterable_default); + var _iterable$ = dart.privateName(_internal, "_iterable"); + var _start$ = dart.privateName(_internal, "_start"); + var _endOrLength$ = dart.privateName(_internal, "_endOrLength"); + var _endIndex = dart.privateName(_internal, "_endIndex"); + var _startIndex = dart.privateName(_internal, "_startIndex"); + const _is_SubListIterable_default = Symbol('_is_SubListIterable_default'); + _internal.SubListIterable$ = dart.generic(E => { + var EmptyIterableOfE = () => (EmptyIterableOfE = dart.constFn(_internal.EmptyIterable$(E)))(); + var SubListIterableOfE = () => (SubListIterableOfE = dart.constFn(_internal.SubListIterable$(E)))(); + var ListOfE = () => (ListOfE = dart.constFn(core.List$(E)))(); + class SubListIterable extends _internal.ListIterable$(E) { + get [_endIndex]() { + let length = this[_iterable$][$length]; + let endOrLength = this[_endOrLength$]; + if (endOrLength == null || dart.notNull(endOrLength) > dart.notNull(length)) return length; + return endOrLength; + } + get [_startIndex]() { + let length = this[_iterable$][$length]; + if (dart.notNull(this[_start$]) > dart.notNull(length)) return length; + return this[_start$]; + } + get length() { + let length = this[_iterable$][$length]; + if (dart.notNull(this[_start$]) >= dart.notNull(length)) return 0; + let endOrLength = this[_endOrLength$]; + if (endOrLength == null || dart.notNull(endOrLength) >= dart.notNull(length)) { + return dart.notNull(length) - dart.notNull(this[_start$]); + } + return dart.notNull(endOrLength) - dart.notNull(this[_start$]); + } + elementAt(index) { + if (index == null) dart.nullFailed(I[37], 263, 19, "index"); + let realIndex = dart.notNull(this[_startIndex]) + dart.notNull(index); + if (dart.notNull(index) < 0 || realIndex >= dart.notNull(this[_endIndex])) { + dart.throw(new core.IndexError.new(index, this, "index")); + } + return this[_iterable$][$elementAt](realIndex); + } + skip(count) { + if (count == null) dart.nullFailed(I[37], 271, 24, "count"); + core.RangeError.checkNotNegative(count, "count"); + let newStart = dart.notNull(this[_start$]) + dart.notNull(count); + let endOrLength = this[_endOrLength$]; + if (endOrLength != null && newStart >= dart.notNull(endOrLength)) { + return new (EmptyIterableOfE()).new(); + } + return new (SubListIterableOfE()).new(this[_iterable$], newStart, this[_endOrLength$]); + } + take(count) { + if (count == null) dart.nullFailed(I[37], 281, 24, "count"); + core.RangeError.checkNotNegative(count, "count"); + let endOrLength = this[_endOrLength$]; + if (endOrLength == null) { + return new (SubListIterableOfE()).new(this[_iterable$], this[_start$], dart.notNull(this[_start$]) + dart.notNull(count)); + } else { + let newEnd = dart.notNull(this[_start$]) + dart.notNull(count); + if (dart.notNull(endOrLength) < newEnd) return this; + return new (SubListIterableOfE()).new(this[_iterable$], this[_start$], newEnd); + } + } + toList(opts) { + let growable = opts && 'growable' in opts ? opts.growable : true; + if (growable == null) dart.nullFailed(I[37], 293, 24, "growable"); + let start = this[_start$]; + let end = this[_iterable$][$length]; + let endOrLength = this[_endOrLength$]; + if (endOrLength != null && dart.notNull(endOrLength) < dart.notNull(end)) end = endOrLength; + let length = dart.notNull(end) - dart.notNull(start); + if (length <= 0) return ListOfE().empty({growable: growable}); + let result = ListOfE().filled(length, this[_iterable$][$elementAt](start), {growable: growable}); + for (let i = 1; i < length; i = i + 1) { + result[$_set](i, this[_iterable$][$elementAt](dart.notNull(start) + i)); + if (dart.notNull(this[_iterable$][$length]) < dart.notNull(end)) dart.throw(new core.ConcurrentModificationError.new(this)); + } + return result; + } + } + (SubListIterable.new = function(_iterable, _start, _endOrLength) { + if (_iterable == null) dart.nullFailed(I[37], 229, 24, "_iterable"); + if (_start == null) dart.nullFailed(I[37], 229, 40, "_start"); + this[_iterable$] = _iterable; + this[_start$] = _start; + this[_endOrLength$] = _endOrLength; + SubListIterable.__proto__.new.call(this); + core.RangeError.checkNotNegative(this[_start$], "start"); + let endOrLength = this[_endOrLength$]; + if (endOrLength != null) { + core.RangeError.checkNotNegative(endOrLength, "end"); + if (dart.notNull(this[_start$]) > dart.notNull(endOrLength)) { + dart.throw(new core.RangeError.range(this[_start$], 0, endOrLength, "start")); + } + } + }).prototype = SubListIterable.prototype; + dart.addTypeTests(SubListIterable); + SubListIterable.prototype[_is_SubListIterable_default] = true; + dart.addTypeCaches(SubListIterable); + dart.setGetterSignature(SubListIterable, () => ({ + __proto__: dart.getGetters(SubListIterable.__proto__), + [_endIndex]: core.int, + [_startIndex]: core.int + })); + dart.setLibraryUri(SubListIterable, I[25]); + dart.setFieldSignature(SubListIterable, () => ({ + __proto__: dart.getFields(SubListIterable.__proto__), + [_iterable$]: dart.finalFieldType(core.Iterable$(E)), + [_start$]: dart.finalFieldType(core.int), + [_endOrLength$]: dart.finalFieldType(dart.nullable(core.int)) + })); + dart.defineExtensionMethods(SubListIterable, ['elementAt', 'skip', 'take', 'toList']); + dart.defineExtensionAccessors(SubListIterable, ['length']); + return SubListIterable; + }); + _internal.SubListIterable = _internal.SubListIterable$(); + dart.addTypeTests(_internal.SubListIterable, _is_SubListIterable_default); + var _current$ = dart.privateName(_internal, "_current"); + var _index$ = dart.privateName(_internal, "_index"); + const _is_ListIterator_default = Symbol('_is_ListIterator_default'); + _internal.ListIterator$ = dart.generic(E => { + class ListIterator extends core.Object { + get current() { + return E.as(this[_current$]); + } + moveNext() { + let length = this[_iterable$][$length]; + if (this[_length$] != length) { + dart.throw(new core.ConcurrentModificationError.new(this[_iterable$])); + } + if (dart.notNull(this[_index$]) >= dart.notNull(length)) { + this[_current$] = null; + return false; + } + this[_current$] = this[_iterable$][$elementAt](this[_index$]); + this[_index$] = dart.notNull(this[_index$]) + 1; + return true; + } + } + (ListIterator.new = function(iterable) { + if (iterable == null) dart.nullFailed(I[37], 324, 28, "iterable"); + this[_current$] = null; + this[_iterable$] = iterable; + this[_length$] = iterable[$length]; + this[_index$] = 0; + ; + }).prototype = ListIterator.prototype; + dart.addTypeTests(ListIterator); + ListIterator.prototype[_is_ListIterator_default] = true; + dart.addTypeCaches(ListIterator); + ListIterator[dart.implements] = () => [core.Iterator$(E)]; + dart.setMethodSignature(ListIterator, () => ({ + __proto__: dart.getMethods(ListIterator.__proto__), + moveNext: dart.fnType(core.bool, []) + })); + dart.setGetterSignature(ListIterator, () => ({ + __proto__: dart.getGetters(ListIterator.__proto__), + current: E + })); + dart.setLibraryUri(ListIterator, I[25]); + dart.setFieldSignature(ListIterator, () => ({ + __proto__: dart.getFields(ListIterator.__proto__), + [_iterable$]: dart.finalFieldType(core.Iterable$(E)), + [_length$]: dart.finalFieldType(core.int), + [_index$]: dart.fieldType(core.int), + [_current$]: dart.fieldType(dart.nullable(E)) + })); + return ListIterator; + }); + _internal.ListIterator = _internal.ListIterator$(); + dart.addTypeTests(_internal.ListIterator, _is_ListIterator_default); + var _f$ = dart.privateName(_internal, "_f"); + const _is_MappedIterable_default = Symbol('_is_MappedIterable_default'); + _internal.MappedIterable$ = dart.generic((S, T) => { + var MappedIteratorOfS$T = () => (MappedIteratorOfS$T = dart.constFn(_internal.MappedIterator$(S, T)))(); + class MappedIterable extends core.Iterable$(T) { + static new(iterable, $function) { + if (iterable == null) dart.nullFailed(I[37], 353, 38, "iterable"); + if ($function == null) dart.nullFailed(I[37], 353, 50, "function"); + if (_internal.EfficientLengthIterable.is(iterable)) { + return new (_internal.EfficientLengthMappedIterable$(S, T)).new(iterable, $function); + } + return new (_internal.MappedIterable$(S, T)).__(iterable, $function); + } + get iterator() { + return new (MappedIteratorOfS$T()).new(this[_iterable$][$iterator], this[_f$]); + } + get length() { + return this[_iterable$][$length]; + } + get isEmpty() { + return this[_iterable$][$isEmpty]; + } + get first() { + let t82; + t82 = this[_iterable$][$first]; + return this[_f$](t82); + } + get last() { + let t82; + t82 = this[_iterable$][$last]; + return this[_f$](t82); + } + get single() { + let t82; + t82 = this[_iterable$][$single]; + return this[_f$](t82); + } + elementAt(index) { + let t82; + if (index == null) dart.nullFailed(I[37], 372, 19, "index"); + t82 = this[_iterable$][$elementAt](index); + return this[_f$](t82); + } + } + (MappedIterable.__ = function(_iterable, _f) { + if (_iterable == null) dart.nullFailed(I[37], 360, 25, "_iterable"); + if (_f == null) dart.nullFailed(I[37], 360, 41, "_f"); + this[_iterable$] = _iterable; + this[_f$] = _f; + MappedIterable.__proto__.new.call(this); + ; + }).prototype = MappedIterable.prototype; + dart.addTypeTests(MappedIterable); + MappedIterable.prototype[_is_MappedIterable_default] = true; + dart.addTypeCaches(MappedIterable); + dart.setGetterSignature(MappedIterable, () => ({ + __proto__: dart.getGetters(MappedIterable.__proto__), + iterator: core.Iterator$(T), + [$iterator]: core.Iterator$(T) + })); + dart.setLibraryUri(MappedIterable, I[25]); + dart.setFieldSignature(MappedIterable, () => ({ + __proto__: dart.getFields(MappedIterable.__proto__), + [_iterable$]: dart.finalFieldType(core.Iterable$(S)), + [_f$]: dart.finalFieldType(dart.fnType(T, [S])) + })); + dart.defineExtensionMethods(MappedIterable, ['elementAt']); + dart.defineExtensionAccessors(MappedIterable, [ + 'iterator', + 'length', + 'isEmpty', + 'first', + 'last', + 'single' + ]); + return MappedIterable; + }); + _internal.MappedIterable = _internal.MappedIterable$(); + dart.addTypeTests(_internal.MappedIterable, _is_MappedIterable_default); + const _is_EfficientLengthMappedIterable_default = Symbol('_is_EfficientLengthMappedIterable_default'); + _internal.EfficientLengthMappedIterable$ = dart.generic((S, T) => { + class EfficientLengthMappedIterable extends _internal.MappedIterable$(S, T) {} + (EfficientLengthMappedIterable.new = function(iterable, $function) { + if (iterable == null) dart.nullFailed(I[37], 377, 45, "iterable"); + if ($function == null) dart.nullFailed(I[37], 377, 57, "function"); + EfficientLengthMappedIterable.__proto__.__.call(this, iterable, $function); + ; + }).prototype = EfficientLengthMappedIterable.prototype; + dart.addTypeTests(EfficientLengthMappedIterable); + EfficientLengthMappedIterable.prototype[_is_EfficientLengthMappedIterable_default] = true; + dart.addTypeCaches(EfficientLengthMappedIterable); + EfficientLengthMappedIterable[dart.implements] = () => [_internal.EfficientLengthIterable$(T)]; + dart.setLibraryUri(EfficientLengthMappedIterable, I[25]); + return EfficientLengthMappedIterable; + }); + _internal.EfficientLengthMappedIterable = _internal.EfficientLengthMappedIterable$(); + dart.addTypeTests(_internal.EfficientLengthMappedIterable, _is_EfficientLengthMappedIterable_default); + var _iterator$ = dart.privateName(_internal, "_iterator"); + const _is_Iterator_default = Symbol('_is_Iterator_default'); + core.Iterator$ = dart.generic(E => { + class Iterator extends core.Object {} + (Iterator.new = function() { + ; + }).prototype = Iterator.prototype; + dart.addTypeTests(Iterator); + Iterator.prototype[_is_Iterator_default] = true; + dart.addTypeCaches(Iterator); + dart.setLibraryUri(Iterator, I[8]); + return Iterator; + }); + core.Iterator = core.Iterator$(); + dart.addTypeTests(core.Iterator, _is_Iterator_default); + const _is_MappedIterator_default = Symbol('_is_MappedIterator_default'); + _internal.MappedIterator$ = dart.generic((S, T) => { + class MappedIterator extends core.Iterator$(T) { + moveNext() { + let t82; + if (dart.test(this[_iterator$].moveNext())) { + this[_current$] = (t82 = this[_iterator$].current, this[_f$](t82)); + return true; + } + this[_current$] = null; + return false; + } + get current() { + return T.as(this[_current$]); + } + } + (MappedIterator.new = function(_iterator, _f) { + if (_iterator == null) dart.nullFailed(I[37], 386, 23, "_iterator"); + if (_f == null) dart.nullFailed(I[37], 386, 39, "_f"); + this[_current$] = null; + this[_iterator$] = _iterator; + this[_f$] = _f; + ; + }).prototype = MappedIterator.prototype; + dart.addTypeTests(MappedIterator); + MappedIterator.prototype[_is_MappedIterator_default] = true; + dart.addTypeCaches(MappedIterator); + dart.setMethodSignature(MappedIterator, () => ({ + __proto__: dart.getMethods(MappedIterator.__proto__), + moveNext: dart.fnType(core.bool, []) + })); + dart.setGetterSignature(MappedIterator, () => ({ + __proto__: dart.getGetters(MappedIterator.__proto__), + current: T + })); + dart.setLibraryUri(MappedIterator, I[25]); + dart.setFieldSignature(MappedIterator, () => ({ + __proto__: dart.getFields(MappedIterator.__proto__), + [_current$]: dart.fieldType(dart.nullable(T)), + [_iterator$]: dart.finalFieldType(core.Iterator$(S)), + [_f$]: dart.finalFieldType(dart.fnType(T, [S])) + })); + return MappedIterator; + }); + _internal.MappedIterator = _internal.MappedIterator$(); + dart.addTypeTests(_internal.MappedIterator, _is_MappedIterator_default); + const _is_MappedListIterable_default = Symbol('_is_MappedListIterable_default'); + _internal.MappedListIterable$ = dart.generic((S, T) => { + class MappedListIterable extends _internal.ListIterable$(T) { + get length() { + return this[_source$][$length]; + } + elementAt(index) { + let t82; + if (index == null) dart.nullFailed(I[37], 412, 19, "index"); + t82 = this[_source$][$elementAt](index); + return this[_f$](t82); + } + } + (MappedListIterable.new = function(_source, _f) { + if (_source == null) dart.nullFailed(I[37], 409, 27, "_source"); + if (_f == null) dart.nullFailed(I[37], 409, 41, "_f"); + this[_source$] = _source; + this[_f$] = _f; + MappedListIterable.__proto__.new.call(this); + ; + }).prototype = MappedListIterable.prototype; + dart.addTypeTests(MappedListIterable); + MappedListIterable.prototype[_is_MappedListIterable_default] = true; + dart.addTypeCaches(MappedListIterable); + dart.setLibraryUri(MappedListIterable, I[25]); + dart.setFieldSignature(MappedListIterable, () => ({ + __proto__: dart.getFields(MappedListIterable.__proto__), + [_source$]: dart.finalFieldType(core.Iterable$(S)), + [_f$]: dart.finalFieldType(dart.fnType(T, [S])) + })); + dart.defineExtensionMethods(MappedListIterable, ['elementAt']); + dart.defineExtensionAccessors(MappedListIterable, ['length']); + return MappedListIterable; + }); + _internal.MappedListIterable = _internal.MappedListIterable$(); + dart.addTypeTests(_internal.MappedListIterable, _is_MappedListIterable_default); + const _is_WhereIterable_default = Symbol('_is_WhereIterable_default'); + _internal.WhereIterable$ = dart.generic(E => { + var WhereIteratorOfE = () => (WhereIteratorOfE = dart.constFn(_internal.WhereIterator$(E)))(); + class WhereIterable extends core.Iterable$(E) { + get iterator() { + return new (WhereIteratorOfE()).new(this[_iterable$][$iterator], this[_f$]); + } + map(T, f) { + if (f == null) dart.nullFailed(I[37], 426, 24, "f"); + return new (_internal.MappedIterable$(E, T)).__(this, f); + } + } + (WhereIterable.new = function(_iterable, _f) { + if (_iterable == null) dart.nullFailed(I[37], 421, 22, "_iterable"); + if (_f == null) dart.nullFailed(I[37], 421, 38, "_f"); + this[_iterable$] = _iterable; + this[_f$] = _f; + WhereIterable.__proto__.new.call(this); + ; + }).prototype = WhereIterable.prototype; + dart.addTypeTests(WhereIterable); + WhereIterable.prototype[_is_WhereIterable_default] = true; + dart.addTypeCaches(WhereIterable); + dart.setMethodSignature(WhereIterable, () => ({ + __proto__: dart.getMethods(WhereIterable.__proto__), + map: dart.gFnType(T => [core.Iterable$(T), [dart.fnType(T, [E])]], T => [dart.nullable(core.Object)]), + [$map]: dart.gFnType(T => [core.Iterable$(T), [dart.fnType(T, [E])]], T => [dart.nullable(core.Object)]) + })); + dart.setGetterSignature(WhereIterable, () => ({ + __proto__: dart.getGetters(WhereIterable.__proto__), + iterator: core.Iterator$(E), + [$iterator]: core.Iterator$(E) + })); + dart.setLibraryUri(WhereIterable, I[25]); + dart.setFieldSignature(WhereIterable, () => ({ + __proto__: dart.getFields(WhereIterable.__proto__), + [_iterable$]: dart.finalFieldType(core.Iterable$(E)), + [_f$]: dart.finalFieldType(dart.fnType(core.bool, [E])) + })); + dart.defineExtensionMethods(WhereIterable, ['map']); + dart.defineExtensionAccessors(WhereIterable, ['iterator']); + return WhereIterable; + }); + _internal.WhereIterable = _internal.WhereIterable$(); + dart.addTypeTests(_internal.WhereIterable, _is_WhereIterable_default); + const _is_WhereIterator_default = Symbol('_is_WhereIterator_default'); + _internal.WhereIterator$ = dart.generic(E => { + class WhereIterator extends core.Iterator$(E) { + moveNext() { + let t82; + while (dart.test(this[_iterator$].moveNext())) { + if (dart.test((t82 = this[_iterator$].current, this[_f$](t82)))) { + return true; + } + } + return false; + } + get current() { + return this[_iterator$].current; + } + } + (WhereIterator.new = function(_iterator, _f) { + if (_iterator == null) dart.nullFailed(I[37], 433, 22, "_iterator"); + if (_f == null) dart.nullFailed(I[37], 433, 38, "_f"); + this[_iterator$] = _iterator; + this[_f$] = _f; + ; + }).prototype = WhereIterator.prototype; + dart.addTypeTests(WhereIterator); + WhereIterator.prototype[_is_WhereIterator_default] = true; + dart.addTypeCaches(WhereIterator); + dart.setMethodSignature(WhereIterator, () => ({ + __proto__: dart.getMethods(WhereIterator.__proto__), + moveNext: dart.fnType(core.bool, []) + })); + dart.setGetterSignature(WhereIterator, () => ({ + __proto__: dart.getGetters(WhereIterator.__proto__), + current: E + })); + dart.setLibraryUri(WhereIterator, I[25]); + dart.setFieldSignature(WhereIterator, () => ({ + __proto__: dart.getFields(WhereIterator.__proto__), + [_iterator$]: dart.finalFieldType(core.Iterator$(E)), + [_f$]: dart.finalFieldType(dart.fnType(core.bool, [E])) + })); + return WhereIterator; + }); + _internal.WhereIterator = _internal.WhereIterator$(); + dart.addTypeTests(_internal.WhereIterator, _is_WhereIterator_default); + const _is_ExpandIterable_default = Symbol('_is_ExpandIterable_default'); + _internal.ExpandIterable$ = dart.generic((S, T) => { + var ExpandIteratorOfS$T = () => (ExpandIteratorOfS$T = dart.constFn(_internal.ExpandIterator$(S, T)))(); + class ExpandIterable extends core.Iterable$(T) { + get iterator() { + return new (ExpandIteratorOfS$T()).new(this[_iterable$][$iterator], this[_f$]); + } + } + (ExpandIterable.new = function(_iterable, _f) { + if (_iterable == null) dart.nullFailed(I[37], 453, 23, "_iterable"); + if (_f == null) dart.nullFailed(I[37], 453, 39, "_f"); + this[_iterable$] = _iterable; + this[_f$] = _f; + ExpandIterable.__proto__.new.call(this); + ; + }).prototype = ExpandIterable.prototype; + dart.addTypeTests(ExpandIterable); + ExpandIterable.prototype[_is_ExpandIterable_default] = true; + dart.addTypeCaches(ExpandIterable); + dart.setGetterSignature(ExpandIterable, () => ({ + __proto__: dart.getGetters(ExpandIterable.__proto__), + iterator: core.Iterator$(T), + [$iterator]: core.Iterator$(T) + })); + dart.setLibraryUri(ExpandIterable, I[25]); + dart.setFieldSignature(ExpandIterable, () => ({ + __proto__: dart.getFields(ExpandIterable.__proto__), + [_iterable$]: dart.finalFieldType(core.Iterable$(S)), + [_f$]: dart.finalFieldType(dart.fnType(core.Iterable$(T), [S])) + })); + dart.defineExtensionAccessors(ExpandIterable, ['iterator']); + return ExpandIterable; + }); + _internal.ExpandIterable = _internal.ExpandIterable$(); + dart.addTypeTests(_internal.ExpandIterable, _is_ExpandIterable_default); + var _currentExpansion = dart.privateName(_internal, "_currentExpansion"); + const _is_ExpandIterator_default = Symbol('_is_ExpandIterator_default'); + _internal.ExpandIterator$ = dart.generic((S, T) => { + class ExpandIterator extends core.Object { + get current() { + return T.as(this[_current$]); + } + moveNext() { + let t82; + if (this[_currentExpansion] == null) return false; + while (!dart.test(dart.nullCheck(this[_currentExpansion]).moveNext())) { + this[_current$] = null; + if (dart.test(this[_iterator$].moveNext())) { + this[_currentExpansion] = null; + this[_currentExpansion] = (t82 = this[_iterator$].current, this[_f$](t82))[$iterator]; + } else { + return false; + } + } + this[_current$] = dart.nullCheck(this[_currentExpansion]).current; + return true; + } + } + (ExpandIterator.new = function(_iterator, _f) { + if (_iterator == null) dart.nullFailed(I[37], 467, 23, "_iterator"); + if (_f == null) dart.nullFailed(I[37], 467, 39, "_f"); + this[_currentExpansion] = C[20] || CT.C20; + this[_current$] = null; + this[_iterator$] = _iterator; + this[_f$] = _f; + ; + }).prototype = ExpandIterator.prototype; + dart.addTypeTests(ExpandIterator); + ExpandIterator.prototype[_is_ExpandIterator_default] = true; + dart.addTypeCaches(ExpandIterator); + ExpandIterator[dart.implements] = () => [core.Iterator$(T)]; + dart.setMethodSignature(ExpandIterator, () => ({ + __proto__: dart.getMethods(ExpandIterator.__proto__), + moveNext: dart.fnType(core.bool, []) + })); + dart.setGetterSignature(ExpandIterator, () => ({ + __proto__: dart.getGetters(ExpandIterator.__proto__), + current: T + })); + dart.setLibraryUri(ExpandIterator, I[25]); + dart.setFieldSignature(ExpandIterator, () => ({ + __proto__: dart.getFields(ExpandIterator.__proto__), + [_iterator$]: dart.finalFieldType(core.Iterator$(S)), + [_f$]: dart.finalFieldType(dart.fnType(core.Iterable$(T), [S])), + [_currentExpansion]: dart.fieldType(dart.nullable(core.Iterator$(T))), + [_current$]: dart.fieldType(dart.nullable(T)) + })); + return ExpandIterator; + }); + _internal.ExpandIterator = _internal.ExpandIterator$(); + dart.addTypeTests(_internal.ExpandIterator, _is_ExpandIterator_default); + var _takeCount$ = dart.privateName(_internal, "_takeCount"); + const _is_TakeIterable_default = Symbol('_is_TakeIterable_default'); + _internal.TakeIterable$ = dart.generic(E => { + var TakeIteratorOfE = () => (TakeIteratorOfE = dart.constFn(_internal.TakeIterator$(E)))(); + class TakeIterable extends core.Iterable$(E) { + static new(iterable, takeCount) { + if (iterable == null) dart.nullFailed(I[37], 493, 36, "iterable"); + if (takeCount == null) dart.nullFailed(I[37], 493, 50, "takeCount"); + core.ArgumentError.checkNotNull(core.int, takeCount, "takeCount"); + core.RangeError.checkNotNegative(takeCount, "takeCount"); + if (_internal.EfficientLengthIterable.is(iterable)) { + return new (_internal.EfficientLengthTakeIterable$(E)).new(iterable, takeCount); + } + return new (_internal.TakeIterable$(E)).__(iterable, takeCount); + } + get iterator() { + return new (TakeIteratorOfE()).new(this[_iterable$][$iterator], this[_takeCount$]); + } + } + (TakeIterable.__ = function(_iterable, _takeCount) { + if (_iterable == null) dart.nullFailed(I[37], 502, 23, "_iterable"); + if (_takeCount == null) dart.nullFailed(I[37], 502, 39, "_takeCount"); + this[_iterable$] = _iterable; + this[_takeCount$] = _takeCount; + TakeIterable.__proto__.new.call(this); + ; + }).prototype = TakeIterable.prototype; + dart.addTypeTests(TakeIterable); + TakeIterable.prototype[_is_TakeIterable_default] = true; + dart.addTypeCaches(TakeIterable); + dart.setGetterSignature(TakeIterable, () => ({ + __proto__: dart.getGetters(TakeIterable.__proto__), + iterator: core.Iterator$(E), + [$iterator]: core.Iterator$(E) + })); + dart.setLibraryUri(TakeIterable, I[25]); + dart.setFieldSignature(TakeIterable, () => ({ + __proto__: dart.getFields(TakeIterable.__proto__), + [_iterable$]: dart.finalFieldType(core.Iterable$(E)), + [_takeCount$]: dart.finalFieldType(core.int) + })); + dart.defineExtensionAccessors(TakeIterable, ['iterator']); + return TakeIterable; + }); + _internal.TakeIterable = _internal.TakeIterable$(); + dart.addTypeTests(_internal.TakeIterable, _is_TakeIterable_default); + const _is_EfficientLengthTakeIterable_default = Symbol('_is_EfficientLengthTakeIterable_default'); + _internal.EfficientLengthTakeIterable$ = dart.generic(E => { + class EfficientLengthTakeIterable extends _internal.TakeIterable$(E) { + get length() { + let iterableLength = this[_iterable$][$length]; + if (dart.notNull(iterableLength) > dart.notNull(this[_takeCount$])) return this[_takeCount$]; + return iterableLength; + } + } + (EfficientLengthTakeIterable.new = function(iterable, takeCount) { + if (iterable == null) dart.nullFailed(I[37], 511, 43, "iterable"); + if (takeCount == null) dart.nullFailed(I[37], 511, 57, "takeCount"); + EfficientLengthTakeIterable.__proto__.__.call(this, iterable, takeCount); + ; + }).prototype = EfficientLengthTakeIterable.prototype; + dart.addTypeTests(EfficientLengthTakeIterable); + EfficientLengthTakeIterable.prototype[_is_EfficientLengthTakeIterable_default] = true; + dart.addTypeCaches(EfficientLengthTakeIterable); + EfficientLengthTakeIterable[dart.implements] = () => [_internal.EfficientLengthIterable$(E)]; + dart.setLibraryUri(EfficientLengthTakeIterable, I[25]); + dart.defineExtensionAccessors(EfficientLengthTakeIterable, ['length']); + return EfficientLengthTakeIterable; + }); + _internal.EfficientLengthTakeIterable = _internal.EfficientLengthTakeIterable$(); + dart.addTypeTests(_internal.EfficientLengthTakeIterable, _is_EfficientLengthTakeIterable_default); + var _remaining$ = dart.privateName(_internal, "_remaining"); + const _is_TakeIterator_default = Symbol('_is_TakeIterator_default'); + _internal.TakeIterator$ = dart.generic(E => { + class TakeIterator extends core.Iterator$(E) { + moveNext() { + this[_remaining$] = dart.notNull(this[_remaining$]) - 1; + if (dart.notNull(this[_remaining$]) >= 0) { + return this[_iterator$].moveNext(); + } + this[_remaining$] = -1; + return false; + } + get current() { + if (dart.notNull(this[_remaining$]) < 0) return E.as(null); + return this[_iterator$].current; + } + } + (TakeIterator.new = function(_iterator, _remaining) { + if (_iterator == null) dart.nullFailed(I[37], 525, 21, "_iterator"); + if (_remaining == null) dart.nullFailed(I[37], 525, 37, "_remaining"); + this[_iterator$] = _iterator; + this[_remaining$] = _remaining; + if (!(dart.notNull(this[_remaining$]) >= 0)) dart.assertFailed(null, I[37], 526, 12, "_remaining >= 0"); + }).prototype = TakeIterator.prototype; + dart.addTypeTests(TakeIterator); + TakeIterator.prototype[_is_TakeIterator_default] = true; + dart.addTypeCaches(TakeIterator); + dart.setMethodSignature(TakeIterator, () => ({ + __proto__: dart.getMethods(TakeIterator.__proto__), + moveNext: dart.fnType(core.bool, []) + })); + dart.setGetterSignature(TakeIterator, () => ({ + __proto__: dart.getGetters(TakeIterator.__proto__), + current: E + })); + dart.setLibraryUri(TakeIterator, I[25]); + dart.setFieldSignature(TakeIterator, () => ({ + __proto__: dart.getFields(TakeIterator.__proto__), + [_iterator$]: dart.finalFieldType(core.Iterator$(E)), + [_remaining$]: dart.fieldType(core.int) + })); + return TakeIterator; + }); + _internal.TakeIterator = _internal.TakeIterator$(); + dart.addTypeTests(_internal.TakeIterator, _is_TakeIterator_default); + const _is_TakeWhileIterable_default = Symbol('_is_TakeWhileIterable_default'); + _internal.TakeWhileIterable$ = dart.generic(E => { + var TakeWhileIteratorOfE = () => (TakeWhileIteratorOfE = dart.constFn(_internal.TakeWhileIterator$(E)))(); + class TakeWhileIterable extends core.Iterable$(E) { + get iterator() { + return new (TakeWhileIteratorOfE()).new(this[_iterable$][$iterator], this[_f$]); + } + } + (TakeWhileIterable.new = function(_iterable, _f) { + if (_iterable == null) dart.nullFailed(I[37], 552, 26, "_iterable"); + if (_f == null) dart.nullFailed(I[37], 552, 42, "_f"); + this[_iterable$] = _iterable; + this[_f$] = _f; + TakeWhileIterable.__proto__.new.call(this); + ; + }).prototype = TakeWhileIterable.prototype; + dart.addTypeTests(TakeWhileIterable); + TakeWhileIterable.prototype[_is_TakeWhileIterable_default] = true; + dart.addTypeCaches(TakeWhileIterable); + dart.setGetterSignature(TakeWhileIterable, () => ({ + __proto__: dart.getGetters(TakeWhileIterable.__proto__), + iterator: core.Iterator$(E), + [$iterator]: core.Iterator$(E) + })); + dart.setLibraryUri(TakeWhileIterable, I[25]); + dart.setFieldSignature(TakeWhileIterable, () => ({ + __proto__: dart.getFields(TakeWhileIterable.__proto__), + [_iterable$]: dart.finalFieldType(core.Iterable$(E)), + [_f$]: dart.finalFieldType(dart.fnType(core.bool, [E])) + })); + dart.defineExtensionAccessors(TakeWhileIterable, ['iterator']); + return TakeWhileIterable; + }); + _internal.TakeWhileIterable = _internal.TakeWhileIterable$(); + dart.addTypeTests(_internal.TakeWhileIterable, _is_TakeWhileIterable_default); + var _isFinished = dart.privateName(_internal, "_isFinished"); + const _is_TakeWhileIterator_default = Symbol('_is_TakeWhileIterator_default'); + _internal.TakeWhileIterator$ = dart.generic(E => { + class TakeWhileIterator extends core.Iterator$(E) { + moveNext() { + let t82; + if (dart.test(this[_isFinished])) return false; + if (!dart.test(this[_iterator$].moveNext()) || !dart.test((t82 = this[_iterator$].current, this[_f$](t82)))) { + this[_isFinished] = true; + return false; + } + return true; + } + get current() { + if (dart.test(this[_isFinished])) return E.as(null); + return this[_iterator$].current; + } + } + (TakeWhileIterator.new = function(_iterator, _f) { + if (_iterator == null) dart.nullFailed(I[37], 564, 26, "_iterator"); + if (_f == null) dart.nullFailed(I[37], 564, 42, "_f"); + this[_isFinished] = false; + this[_iterator$] = _iterator; + this[_f$] = _f; + ; + }).prototype = TakeWhileIterator.prototype; + dart.addTypeTests(TakeWhileIterator); + TakeWhileIterator.prototype[_is_TakeWhileIterator_default] = true; + dart.addTypeCaches(TakeWhileIterator); + dart.setMethodSignature(TakeWhileIterator, () => ({ + __proto__: dart.getMethods(TakeWhileIterator.__proto__), + moveNext: dart.fnType(core.bool, []) + })); + dart.setGetterSignature(TakeWhileIterator, () => ({ + __proto__: dart.getGetters(TakeWhileIterator.__proto__), + current: E + })); + dart.setLibraryUri(TakeWhileIterator, I[25]); + dart.setFieldSignature(TakeWhileIterator, () => ({ + __proto__: dart.getFields(TakeWhileIterator.__proto__), + [_iterator$]: dart.finalFieldType(core.Iterator$(E)), + [_f$]: dart.finalFieldType(dart.fnType(core.bool, [E])), + [_isFinished]: dart.fieldType(core.bool) + })); + return TakeWhileIterator; + }); + _internal.TakeWhileIterator = _internal.TakeWhileIterator$(); + dart.addTypeTests(_internal.TakeWhileIterator, _is_TakeWhileIterator_default); + var _skipCount$ = dart.privateName(_internal, "_skipCount"); + const _is_SkipIterable_default = Symbol('_is_SkipIterable_default'); + _internal.SkipIterable$ = dart.generic(E => { + var SkipIterableOfE = () => (SkipIterableOfE = dart.constFn(_internal.SkipIterable$(E)))(); + var SkipIteratorOfE = () => (SkipIteratorOfE = dart.constFn(_internal.SkipIterator$(E)))(); + class SkipIterable extends core.Iterable$(E) { + static new(iterable, count) { + if (iterable == null) dart.nullFailed(I[37], 585, 36, "iterable"); + if (count == null) dart.nullFailed(I[37], 585, 50, "count"); + if (_internal.EfficientLengthIterable.is(iterable)) { + return _internal.EfficientLengthSkipIterable$(E).new(iterable, count); + } + return new (_internal.SkipIterable$(E)).__(iterable, _internal._checkCount(count)); + } + skip(count) { + if (count == null) dart.nullFailed(I[37], 594, 24, "count"); + return new (SkipIterableOfE()).__(this[_iterable$], dart.notNull(this[_skipCount$]) + dart.notNull(_internal._checkCount(count))); + } + get iterator() { + return new (SkipIteratorOfE()).new(this[_iterable$][$iterator], this[_skipCount$]); + } + } + (SkipIterable.__ = function(_iterable, _skipCount) { + if (_iterable == null) dart.nullFailed(I[37], 592, 23, "_iterable"); + if (_skipCount == null) dart.nullFailed(I[37], 592, 39, "_skipCount"); + this[_iterable$] = _iterable; + this[_skipCount$] = _skipCount; + SkipIterable.__proto__.new.call(this); + ; + }).prototype = SkipIterable.prototype; + dart.addTypeTests(SkipIterable); + SkipIterable.prototype[_is_SkipIterable_default] = true; + dart.addTypeCaches(SkipIterable); + dart.setGetterSignature(SkipIterable, () => ({ + __proto__: dart.getGetters(SkipIterable.__proto__), + iterator: core.Iterator$(E), + [$iterator]: core.Iterator$(E) + })); + dart.setLibraryUri(SkipIterable, I[25]); + dart.setFieldSignature(SkipIterable, () => ({ + __proto__: dart.getFields(SkipIterable.__proto__), + [_iterable$]: dart.finalFieldType(core.Iterable$(E)), + [_skipCount$]: dart.finalFieldType(core.int) + })); + dart.defineExtensionMethods(SkipIterable, ['skip']); + dart.defineExtensionAccessors(SkipIterable, ['iterator']); + return SkipIterable; + }); + _internal.SkipIterable = _internal.SkipIterable$(); + dart.addTypeTests(_internal.SkipIterable, _is_SkipIterable_default); + const _is_EfficientLengthSkipIterable_default = Symbol('_is_EfficientLengthSkipIterable_default'); + _internal.EfficientLengthSkipIterable$ = dart.generic(E => { + var EfficientLengthSkipIterableOfE = () => (EfficientLengthSkipIterableOfE = dart.constFn(_internal.EfficientLengthSkipIterable$(E)))(); + class EfficientLengthSkipIterable extends _internal.SkipIterable$(E) { + static new(iterable, count) { + if (iterable == null) dart.nullFailed(I[37], 605, 51, "iterable"); + if (count == null) dart.nullFailed(I[37], 605, 65, "count"); + return new (_internal.EfficientLengthSkipIterable$(E)).__(iterable, _internal._checkCount(count)); + } + get length() { + let length = dart.notNull(this[_iterable$][$length]) - dart.notNull(this[_skipCount$]); + if (length >= 0) return length; + return 0; + } + skip(count) { + if (count == null) dart.nullFailed(I[37], 618, 24, "count"); + return new (EfficientLengthSkipIterableOfE()).__(this[_iterable$], dart.notNull(this[_skipCount$]) + dart.notNull(_internal._checkCount(count))); + } + } + (EfficientLengthSkipIterable.__ = function(iterable, count) { + if (iterable == null) dart.nullFailed(I[37], 609, 45, "iterable"); + if (count == null) dart.nullFailed(I[37], 609, 59, "count"); + EfficientLengthSkipIterable.__proto__.__.call(this, iterable, count); + ; + }).prototype = EfficientLengthSkipIterable.prototype; + dart.addTypeTests(EfficientLengthSkipIterable); + EfficientLengthSkipIterable.prototype[_is_EfficientLengthSkipIterable_default] = true; + dart.addTypeCaches(EfficientLengthSkipIterable); + EfficientLengthSkipIterable[dart.implements] = () => [_internal.EfficientLengthIterable$(E)]; + dart.setLibraryUri(EfficientLengthSkipIterable, I[25]); + dart.defineExtensionMethods(EfficientLengthSkipIterable, ['skip']); + dart.defineExtensionAccessors(EfficientLengthSkipIterable, ['length']); + return EfficientLengthSkipIterable; + }); + _internal.EfficientLengthSkipIterable = _internal.EfficientLengthSkipIterable$(); + dart.addTypeTests(_internal.EfficientLengthSkipIterable, _is_EfficientLengthSkipIterable_default); + const _is_SkipIterator_default = Symbol('_is_SkipIterator_default'); + _internal.SkipIterator$ = dart.generic(E => { + class SkipIterator extends core.Iterator$(E) { + moveNext() { + for (let i = 0; i < dart.notNull(this[_skipCount$]); i = i + 1) + this[_iterator$].moveNext(); + this[_skipCount$] = 0; + return this[_iterator$].moveNext(); + } + get current() { + return this[_iterator$].current; + } + } + (SkipIterator.new = function(_iterator, _skipCount) { + if (_iterator == null) dart.nullFailed(I[37], 634, 21, "_iterator"); + if (_skipCount == null) dart.nullFailed(I[37], 634, 37, "_skipCount"); + this[_iterator$] = _iterator; + this[_skipCount$] = _skipCount; + if (!(dart.notNull(this[_skipCount$]) >= 0)) dart.assertFailed(null, I[37], 635, 12, "_skipCount >= 0"); + }).prototype = SkipIterator.prototype; + dart.addTypeTests(SkipIterator); + SkipIterator.prototype[_is_SkipIterator_default] = true; + dart.addTypeCaches(SkipIterator); + dart.setMethodSignature(SkipIterator, () => ({ + __proto__: dart.getMethods(SkipIterator.__proto__), + moveNext: dart.fnType(core.bool, []) + })); + dart.setGetterSignature(SkipIterator, () => ({ + __proto__: dart.getGetters(SkipIterator.__proto__), + current: E + })); + dart.setLibraryUri(SkipIterator, I[25]); + dart.setFieldSignature(SkipIterator, () => ({ + __proto__: dart.getFields(SkipIterator.__proto__), + [_iterator$]: dart.finalFieldType(core.Iterator$(E)), + [_skipCount$]: dart.fieldType(core.int) + })); + return SkipIterator; + }); + _internal.SkipIterator = _internal.SkipIterator$(); + dart.addTypeTests(_internal.SkipIterator, _is_SkipIterator_default); + const _is_SkipWhileIterable_default = Symbol('_is_SkipWhileIterable_default'); + _internal.SkipWhileIterable$ = dart.generic(E => { + var SkipWhileIteratorOfE = () => (SkipWhileIteratorOfE = dart.constFn(_internal.SkipWhileIterator$(E)))(); + class SkipWhileIterable extends core.Iterable$(E) { + get iterator() { + return new (SkipWhileIteratorOfE()).new(this[_iterable$][$iterator], this[_f$]); + } + } + (SkipWhileIterable.new = function(_iterable, _f) { + if (_iterable == null) dart.nullFailed(I[37], 651, 26, "_iterable"); + if (_f == null) dart.nullFailed(I[37], 651, 42, "_f"); + this[_iterable$] = _iterable; + this[_f$] = _f; + SkipWhileIterable.__proto__.new.call(this); + ; + }).prototype = SkipWhileIterable.prototype; + dart.addTypeTests(SkipWhileIterable); + SkipWhileIterable.prototype[_is_SkipWhileIterable_default] = true; + dart.addTypeCaches(SkipWhileIterable); + dart.setGetterSignature(SkipWhileIterable, () => ({ + __proto__: dart.getGetters(SkipWhileIterable.__proto__), + iterator: core.Iterator$(E), + [$iterator]: core.Iterator$(E) + })); + dart.setLibraryUri(SkipWhileIterable, I[25]); + dart.setFieldSignature(SkipWhileIterable, () => ({ + __proto__: dart.getFields(SkipWhileIterable.__proto__), + [_iterable$]: dart.finalFieldType(core.Iterable$(E)), + [_f$]: dart.finalFieldType(dart.fnType(core.bool, [E])) + })); + dart.defineExtensionAccessors(SkipWhileIterable, ['iterator']); + return SkipWhileIterable; + }); + _internal.SkipWhileIterable = _internal.SkipWhileIterable$(); + dart.addTypeTests(_internal.SkipWhileIterable, _is_SkipWhileIterable_default); + var _hasSkipped = dart.privateName(_internal, "_hasSkipped"); + const _is_SkipWhileIterator_default = Symbol('_is_SkipWhileIterator_default'); + _internal.SkipWhileIterator$ = dart.generic(E => { + class SkipWhileIterator extends core.Iterator$(E) { + moveNext() { + let t82; + if (!dart.test(this[_hasSkipped])) { + this[_hasSkipped] = true; + while (dart.test(this[_iterator$].moveNext())) { + if (!dart.test((t82 = this[_iterator$].current, this[_f$](t82)))) return true; + } + } + return this[_iterator$].moveNext(); + } + get current() { + return this[_iterator$].current; + } + } + (SkipWhileIterator.new = function(_iterator, _f) { + if (_iterator == null) dart.nullFailed(I[37], 663, 26, "_iterator"); + if (_f == null) dart.nullFailed(I[37], 663, 42, "_f"); + this[_hasSkipped] = false; + this[_iterator$] = _iterator; + this[_f$] = _f; + ; + }).prototype = SkipWhileIterator.prototype; + dart.addTypeTests(SkipWhileIterator); + SkipWhileIterator.prototype[_is_SkipWhileIterator_default] = true; + dart.addTypeCaches(SkipWhileIterator); + dart.setMethodSignature(SkipWhileIterator, () => ({ + __proto__: dart.getMethods(SkipWhileIterator.__proto__), + moveNext: dart.fnType(core.bool, []) + })); + dart.setGetterSignature(SkipWhileIterator, () => ({ + __proto__: dart.getGetters(SkipWhileIterator.__proto__), + current: E + })); + dart.setLibraryUri(SkipWhileIterator, I[25]); + dart.setFieldSignature(SkipWhileIterator, () => ({ + __proto__: dart.getFields(SkipWhileIterator.__proto__), + [_iterator$]: dart.finalFieldType(core.Iterator$(E)), + [_f$]: dart.finalFieldType(dart.fnType(core.bool, [E])), + [_hasSkipped]: dart.fieldType(core.bool) + })); + return SkipWhileIterator; + }); + _internal.SkipWhileIterator = _internal.SkipWhileIterator$(); + dart.addTypeTests(_internal.SkipWhileIterator, _is_SkipWhileIterator_default); + const _is_EmptyIterable_default = Symbol('_is_EmptyIterable_default'); + _internal.EmptyIterable$ = dart.generic(E => { + var VoidToE = () => (VoidToE = dart.constFn(dart.fnType(E, [])))(); + var VoidToNE = () => (VoidToNE = dart.constFn(dart.nullable(VoidToE())))(); + var EAndEToE = () => (EAndEToE = dart.constFn(dart.fnType(E, [E, E])))(); + var ListOfE = () => (ListOfE = dart.constFn(core.List$(E)))(); + var _HashSetOfE = () => (_HashSetOfE = dart.constFn(collection._HashSet$(E)))(); + class EmptyIterable extends _internal.EfficientLengthIterable$(E) { + get iterator() { + return C[20] || CT.C20; + } + forEach(action) { + if (action == null) dart.nullFailed(I[37], 686, 21, "action"); + } + get isEmpty() { + return true; + } + get length() { + return 0; + } + get first() { + dart.throw(_internal.IterableElementError.noElement()); + } + get last() { + dart.throw(_internal.IterableElementError.noElement()); + } + get single() { + dart.throw(_internal.IterableElementError.noElement()); + } + elementAt(index) { + if (index == null) dart.nullFailed(I[37], 704, 19, "index"); + dart.throw(new core.RangeError.range(index, 0, 0, "index")); + } + contains(element) { + return false; + } + every(test) { + if (test == null) dart.nullFailed(I[37], 710, 19, "test"); + return true; + } + any(test) { + if (test == null) dart.nullFailed(I[37], 712, 17, "test"); + return false; + } + firstWhere(test, opts) { + if (test == null) dart.nullFailed(I[37], 714, 21, "test"); + let orElse = opts && 'orElse' in opts ? opts.orElse : null; + VoidToNE().as(orElse); + if (orElse != null) return orElse(); + dart.throw(_internal.IterableElementError.noElement()); + } + lastWhere(test, opts) { + if (test == null) dart.nullFailed(I[37], 719, 20, "test"); + let orElse = opts && 'orElse' in opts ? opts.orElse : null; + VoidToNE().as(orElse); + if (orElse != null) return orElse(); + dart.throw(_internal.IterableElementError.noElement()); + } + singleWhere(test, opts) { + if (test == null) dart.nullFailed(I[37], 724, 22, "test"); + let orElse = opts && 'orElse' in opts ? opts.orElse : null; + VoidToNE().as(orElse); + if (orElse != null) return orElse(); + dart.throw(_internal.IterableElementError.noElement()); + } + join(separator = "") { + if (separator == null) dart.nullFailed(I[37], 729, 23, "separator"); + return ""; + } + where(test) { + if (test == null) dart.nullFailed(I[37], 731, 26, "test"); + return this; + } + map(T, f) { + if (f == null) dart.nullFailed(I[37], 733, 24, "f"); + return new (_internal.EmptyIterable$(T)).new(); + } + reduce(combine) { + EAndEToE().as(combine); + if (combine == null) dart.nullFailed(I[37], 735, 14, "combine"); + dart.throw(_internal.IterableElementError.noElement()); + } + fold(T, initialValue, combine) { + if (combine == null) dart.nullFailed(I[37], 739, 31, "combine"); + return initialValue; + } + skip(count) { + if (count == null) dart.nullFailed(I[37], 743, 24, "count"); + core.RangeError.checkNotNegative(count, "count"); + return this; + } + skipWhile(test) { + if (test == null) dart.nullFailed(I[37], 748, 30, "test"); + return this; + } + take(count) { + if (count == null) dart.nullFailed(I[37], 750, 24, "count"); + core.RangeError.checkNotNegative(count, "count"); + return this; + } + takeWhile(test) { + if (test == null) dart.nullFailed(I[37], 755, 30, "test"); + return this; + } + toList(opts) { + let growable = opts && 'growable' in opts ? opts.growable : true; + if (growable == null) dart.nullFailed(I[37], 757, 24, "growable"); + return ListOfE().empty({growable: growable}); + } + toSet() { + return new (_HashSetOfE()).new(); + } + } + (EmptyIterable.new = function() { + EmptyIterable.__proto__.new.call(this); + ; + }).prototype = EmptyIterable.prototype; + dart.addTypeTests(EmptyIterable); + EmptyIterable.prototype[_is_EmptyIterable_default] = true; + dart.addTypeCaches(EmptyIterable); + dart.setMethodSignature(EmptyIterable, () => ({ + __proto__: dart.getMethods(EmptyIterable.__proto__), + map: dart.gFnType(T => [core.Iterable$(T), [dart.fnType(T, [E])]], T => [dart.nullable(core.Object)]), + [$map]: dart.gFnType(T => [core.Iterable$(T), [dart.fnType(T, [E])]], T => [dart.nullable(core.Object)]), + fold: dart.gFnType(T => [T, [T, dart.fnType(T, [T, E])]], T => [dart.nullable(core.Object)]), + [$fold]: dart.gFnType(T => [T, [T, dart.fnType(T, [T, E])]], T => [dart.nullable(core.Object)]) + })); + dart.setGetterSignature(EmptyIterable, () => ({ + __proto__: dart.getGetters(EmptyIterable.__proto__), + iterator: core.Iterator$(E), + [$iterator]: core.Iterator$(E) + })); + dart.setLibraryUri(EmptyIterable, I[25]); + dart.defineExtensionMethods(EmptyIterable, [ + 'forEach', + 'elementAt', + 'contains', + 'every', + 'any', + 'firstWhere', + 'lastWhere', + 'singleWhere', + 'join', + 'where', + 'map', + 'reduce', + 'fold', + 'skip', + 'skipWhile', + 'take', + 'takeWhile', + 'toList', + 'toSet' + ]); + dart.defineExtensionAccessors(EmptyIterable, [ + 'iterator', + 'isEmpty', + 'length', + 'first', + 'last', + 'single' + ]); + return EmptyIterable; + }); + _internal.EmptyIterable = _internal.EmptyIterable$(); + dart.addTypeTests(_internal.EmptyIterable, _is_EmptyIterable_default); + const _is_EmptyIterator_default = Symbol('_is_EmptyIterator_default'); + _internal.EmptyIterator$ = dart.generic(E => { + class EmptyIterator extends core.Object { + moveNext() { + return false; + } + get current() { + dart.throw(_internal.IterableElementError.noElement()); + } + } + (EmptyIterator.new = function() { + ; + }).prototype = EmptyIterator.prototype; + dart.addTypeTests(EmptyIterator); + EmptyIterator.prototype[_is_EmptyIterator_default] = true; + dart.addTypeCaches(EmptyIterator); + EmptyIterator[dart.implements] = () => [core.Iterator$(E)]; + dart.setMethodSignature(EmptyIterator, () => ({ + __proto__: dart.getMethods(EmptyIterator.__proto__), + moveNext: dart.fnType(core.bool, []) + })); + dart.setGetterSignature(EmptyIterator, () => ({ + __proto__: dart.getGetters(EmptyIterator.__proto__), + current: E + })); + dart.setLibraryUri(EmptyIterator, I[25]); + return EmptyIterator; + }); + _internal.EmptyIterator = _internal.EmptyIterator$(); + dart.addTypeTests(_internal.EmptyIterator, _is_EmptyIterator_default); + var _first$ = dart.privateName(_internal, "_first"); + var _second$ = dart.privateName(_internal, "_second"); + const _is_FollowedByIterable_default = Symbol('_is_FollowedByIterable_default'); + _internal.FollowedByIterable$ = dart.generic(E => { + var FollowedByIteratorOfE = () => (FollowedByIteratorOfE = dart.constFn(_internal.FollowedByIterator$(E)))(); + class FollowedByIterable extends core.Iterable$(E) { + static firstEfficient(first, second) { + if (first == null) dart.nullFailed(I[37], 777, 34, "first"); + if (second == null) dart.nullFailed(I[37], 777, 53, "second"); + if (_internal.EfficientLengthIterable$(E).is(second)) { + return new (_internal.EfficientLengthFollowedByIterable$(E)).new(first, second); + } + return new (_internal.FollowedByIterable$(E)).new(first, second); + } + get iterator() { + return new (FollowedByIteratorOfE()).new(this[_first$], this[_second$]); + } + get length() { + return dart.notNull(this[_first$][$length]) + dart.notNull(this[_second$][$length]); + } + get isEmpty() { + return dart.test(this[_first$][$isEmpty]) && dart.test(this[_second$][$isEmpty]); + } + get isNotEmpty() { + return dart.test(this[_first$][$isNotEmpty]) || dart.test(this[_second$][$isNotEmpty]); + } + contains(value) { + return dart.test(this[_first$][$contains](value)) || dart.test(this[_second$][$contains](value)); + } + get first() { + let iterator = this[_first$][$iterator]; + if (dart.test(iterator.moveNext())) return iterator.current; + return this[_second$][$first]; + } + get last() { + let iterator = this[_second$][$iterator]; + if (dart.test(iterator.moveNext())) { + let last = iterator.current; + while (dart.test(iterator.moveNext())) + last = iterator.current; + return last; + } + return this[_first$][$last]; + } + } + (FollowedByIterable.new = function(_first, _second) { + if (_first == null) dart.nullFailed(I[37], 774, 27, "_first"); + if (_second == null) dart.nullFailed(I[37], 774, 40, "_second"); + this[_first$] = _first; + this[_second$] = _second; + FollowedByIterable.__proto__.new.call(this); + ; + }).prototype = FollowedByIterable.prototype; + dart.addTypeTests(FollowedByIterable); + FollowedByIterable.prototype[_is_FollowedByIterable_default] = true; + dart.addTypeCaches(FollowedByIterable); + dart.setGetterSignature(FollowedByIterable, () => ({ + __proto__: dart.getGetters(FollowedByIterable.__proto__), + iterator: core.Iterator$(E), + [$iterator]: core.Iterator$(E) + })); + dart.setLibraryUri(FollowedByIterable, I[25]); + dart.setFieldSignature(FollowedByIterable, () => ({ + __proto__: dart.getFields(FollowedByIterable.__proto__), + [_first$]: dart.finalFieldType(core.Iterable$(E)), + [_second$]: dart.finalFieldType(core.Iterable$(E)) + })); + dart.defineExtensionMethods(FollowedByIterable, ['contains']); + dart.defineExtensionAccessors(FollowedByIterable, [ + 'iterator', + 'length', + 'isEmpty', + 'isNotEmpty', + 'first', + 'last' + ]); + return FollowedByIterable; + }); + _internal.FollowedByIterable = _internal.FollowedByIterable$(); + dart.addTypeTests(_internal.FollowedByIterable, _is_FollowedByIterable_default); + const _is_EfficientLengthFollowedByIterable_default = Symbol('_is_EfficientLengthFollowedByIterable_default'); + _internal.EfficientLengthFollowedByIterable$ = dart.generic(E => { + class EfficientLengthFollowedByIterable extends _internal.FollowedByIterable$(E) { + elementAt(index) { + if (index == null) dart.nullFailed(I[37], 820, 19, "index"); + let firstLength = this[_first$][$length]; + if (dart.notNull(index) < dart.notNull(firstLength)) return this[_first$][$elementAt](index); + return this[_second$][$elementAt](dart.notNull(index) - dart.notNull(firstLength)); + } + get first() { + if (dart.test(this[_first$][$isNotEmpty])) return this[_first$][$first]; + return this[_second$][$first]; + } + get last() { + if (dart.test(this[_second$][$isNotEmpty])) return this[_second$][$last]; + return this[_first$][$last]; + } + } + (EfficientLengthFollowedByIterable.new = function(first, second) { + if (first == null) dart.nullFailed(I[37], 817, 34, "first"); + if (second == null) dart.nullFailed(I[37], 817, 68, "second"); + EfficientLengthFollowedByIterable.__proto__.new.call(this, first, second); + ; + }).prototype = EfficientLengthFollowedByIterable.prototype; + dart.addTypeTests(EfficientLengthFollowedByIterable); + EfficientLengthFollowedByIterable.prototype[_is_EfficientLengthFollowedByIterable_default] = true; + dart.addTypeCaches(EfficientLengthFollowedByIterable); + EfficientLengthFollowedByIterable[dart.implements] = () => [_internal.EfficientLengthIterable$(E)]; + dart.setLibraryUri(EfficientLengthFollowedByIterable, I[25]); + dart.defineExtensionMethods(EfficientLengthFollowedByIterable, ['elementAt']); + dart.defineExtensionAccessors(EfficientLengthFollowedByIterable, ['first', 'last']); + return EfficientLengthFollowedByIterable; + }); + _internal.EfficientLengthFollowedByIterable = _internal.EfficientLengthFollowedByIterable$(); + dart.addTypeTests(_internal.EfficientLengthFollowedByIterable, _is_EfficientLengthFollowedByIterable_default); + var _nextIterable$ = dart.privateName(_internal, "_nextIterable"); + var _currentIterator = dart.privateName(_internal, "_currentIterator"); + const _is_FollowedByIterator_default = Symbol('_is_FollowedByIterator_default'); + _internal.FollowedByIterator$ = dart.generic(E => { + class FollowedByIterator extends core.Object { + moveNext() { + if (dart.test(this[_currentIterator].moveNext())) return true; + if (this[_nextIterable$] != null) { + this[_currentIterator] = dart.nullCheck(this[_nextIterable$])[$iterator]; + this[_nextIterable$] = null; + return this[_currentIterator].moveNext(); + } + return false; + } + get current() { + return this[_currentIterator].current; + } + } + (FollowedByIterator.new = function(first, _nextIterable) { + if (first == null) dart.nullFailed(I[37], 841, 34, "first"); + this[_nextIterable$] = _nextIterable; + this[_currentIterator] = first[$iterator]; + ; + }).prototype = FollowedByIterator.prototype; + dart.addTypeTests(FollowedByIterator); + FollowedByIterator.prototype[_is_FollowedByIterator_default] = true; + dart.addTypeCaches(FollowedByIterator); + FollowedByIterator[dart.implements] = () => [core.Iterator$(E)]; + dart.setMethodSignature(FollowedByIterator, () => ({ + __proto__: dart.getMethods(FollowedByIterator.__proto__), + moveNext: dart.fnType(core.bool, []) + })); + dart.setGetterSignature(FollowedByIterator, () => ({ + __proto__: dart.getGetters(FollowedByIterator.__proto__), + current: E + })); + dart.setLibraryUri(FollowedByIterator, I[25]); + dart.setFieldSignature(FollowedByIterator, () => ({ + __proto__: dart.getFields(FollowedByIterator.__proto__), + [_currentIterator]: dart.fieldType(core.Iterator$(E)), + [_nextIterable$]: dart.fieldType(dart.nullable(core.Iterable$(E))) + })); + return FollowedByIterator; + }); + _internal.FollowedByIterator = _internal.FollowedByIterator$(); + dart.addTypeTests(_internal.FollowedByIterator, _is_FollowedByIterator_default); + const _is_WhereTypeIterable_default = Symbol('_is_WhereTypeIterable_default'); + _internal.WhereTypeIterable$ = dart.generic(T => { + var WhereTypeIteratorOfT = () => (WhereTypeIteratorOfT = dart.constFn(_internal.WhereTypeIterator$(T)))(); + class WhereTypeIterable extends core.Iterable$(T) { + get iterator() { + return new (WhereTypeIteratorOfT()).new(this[_source$][$iterator]); + } + } + (WhereTypeIterable.new = function(_source) { + if (_source == null) dart.nullFailed(I[37], 859, 26, "_source"); + this[_source$] = _source; + WhereTypeIterable.__proto__.new.call(this); + ; + }).prototype = WhereTypeIterable.prototype; + dart.addTypeTests(WhereTypeIterable); + WhereTypeIterable.prototype[_is_WhereTypeIterable_default] = true; + dart.addTypeCaches(WhereTypeIterable); + dart.setGetterSignature(WhereTypeIterable, () => ({ + __proto__: dart.getGetters(WhereTypeIterable.__proto__), + iterator: core.Iterator$(T), + [$iterator]: core.Iterator$(T) + })); + dart.setLibraryUri(WhereTypeIterable, I[25]); + dart.setFieldSignature(WhereTypeIterable, () => ({ + __proto__: dart.getFields(WhereTypeIterable.__proto__), + [_source$]: dart.finalFieldType(core.Iterable$(dart.nullable(core.Object))) + })); + dart.defineExtensionAccessors(WhereTypeIterable, ['iterator']); + return WhereTypeIterable; + }); + _internal.WhereTypeIterable = _internal.WhereTypeIterable$(); + dart.addTypeTests(_internal.WhereTypeIterable, _is_WhereTypeIterable_default); + const _is_WhereTypeIterator_default = Symbol('_is_WhereTypeIterator_default'); + _internal.WhereTypeIterator$ = dart.generic(T => { + class WhereTypeIterator extends core.Object { + moveNext() { + while (dart.test(this[_source$].moveNext())) { + if (T.is(this[_source$].current)) return true; + } + return false; + } + get current() { + return T.as(this[_source$].current); + } + } + (WhereTypeIterator.new = function(_source) { + if (_source == null) dart.nullFailed(I[37], 865, 26, "_source"); + this[_source$] = _source; + ; + }).prototype = WhereTypeIterator.prototype; + dart.addTypeTests(WhereTypeIterator); + WhereTypeIterator.prototype[_is_WhereTypeIterator_default] = true; + dart.addTypeCaches(WhereTypeIterator); + WhereTypeIterator[dart.implements] = () => [core.Iterator$(T)]; + dart.setMethodSignature(WhereTypeIterator, () => ({ + __proto__: dart.getMethods(WhereTypeIterator.__proto__), + moveNext: dart.fnType(core.bool, []) + })); + dart.setGetterSignature(WhereTypeIterator, () => ({ + __proto__: dart.getGetters(WhereTypeIterator.__proto__), + current: T + })); + dart.setLibraryUri(WhereTypeIterator, I[25]); + dart.setFieldSignature(WhereTypeIterator, () => ({ + __proto__: dart.getFields(WhereTypeIterator.__proto__), + [_source$]: dart.finalFieldType(core.Iterator$(dart.nullable(core.Object))) + })); + return WhereTypeIterator; + }); + _internal.WhereTypeIterator = _internal.WhereTypeIterator$(); + dart.addTypeTests(_internal.WhereTypeIterator, _is_WhereTypeIterator_default); + _internal.IterableElementError = class IterableElementError extends core.Object { + static noElement() { + return new core.StateError.new("No element"); + } + static tooMany() { + return new core.StateError.new("Too many elements"); + } + static tooFew() { + return new core.StateError.new("Too few elements"); + } + }; + (_internal.IterableElementError.new = function() { + ; + }).prototype = _internal.IterableElementError.prototype; + dart.addTypeTests(_internal.IterableElementError); + dart.addTypeCaches(_internal.IterableElementError); + dart.setLibraryUri(_internal.IterableElementError, I[25]); + const _is_FixedLengthListMixin_default = Symbol('_is_FixedLengthListMixin_default'); + _internal.FixedLengthListMixin$ = dart.generic(E => { + var IterableOfE = () => (IterableOfE = dart.constFn(core.Iterable$(E)))(); + class FixedLengthListMixin extends core.Object { + set length(newLength) { + if (newLength == null) dart.nullFailed(I[22], 14, 18, "newLength"); + dart.throw(new core.UnsupportedError.new("Cannot change the length of a fixed-length list")); + } + add(value) { + E.as(value); + dart.throw(new core.UnsupportedError.new("Cannot add to a fixed-length list")); + } + insert(index, value) { + if (index == null) dart.nullFailed(I[22], 25, 19, "index"); + E.as(value); + dart.throw(new core.UnsupportedError.new("Cannot add to a fixed-length list")); + } + insertAll(at, iterable) { + if (at == null) dart.nullFailed(I[22], 30, 22, "at"); + IterableOfE().as(iterable); + if (iterable == null) dart.nullFailed(I[22], 30, 38, "iterable"); + dart.throw(new core.UnsupportedError.new("Cannot add to a fixed-length list")); + } + addAll(iterable) { + IterableOfE().as(iterable); + if (iterable == null) dart.nullFailed(I[22], 35, 27, "iterable"); + dart.throw(new core.UnsupportedError.new("Cannot add to a fixed-length list")); + } + remove(element) { + dart.throw(new core.UnsupportedError.new("Cannot remove from a fixed-length list")); + } + removeWhere(test) { + if (test == null) dart.nullFailed(I[22], 45, 25, "test"); + dart.throw(new core.UnsupportedError.new("Cannot remove from a fixed-length list")); + } + retainWhere(test) { + if (test == null) dart.nullFailed(I[22], 50, 25, "test"); + dart.throw(new core.UnsupportedError.new("Cannot remove from a fixed-length list")); + } + clear() { + dart.throw(new core.UnsupportedError.new("Cannot clear a fixed-length list")); + } + removeAt(index) { + if (index == null) dart.nullFailed(I[22], 60, 18, "index"); + dart.throw(new core.UnsupportedError.new("Cannot remove from a fixed-length list")); + } + removeLast() { + dart.throw(new core.UnsupportedError.new("Cannot remove from a fixed-length list")); + } + removeRange(start, end) { + if (start == null) dart.nullFailed(I[22], 70, 24, "start"); + if (end == null) dart.nullFailed(I[22], 70, 35, "end"); + dart.throw(new core.UnsupportedError.new("Cannot remove from a fixed-length list")); + } + replaceRange(start, end, iterable) { + if (start == null) dart.nullFailed(I[22], 75, 25, "start"); + if (end == null) dart.nullFailed(I[22], 75, 36, "end"); + IterableOfE().as(iterable); + if (iterable == null) dart.nullFailed(I[22], 75, 53, "iterable"); + dart.throw(new core.UnsupportedError.new("Cannot remove from a fixed-length list")); + } + } + (FixedLengthListMixin.new = function() { + ; + }).prototype = FixedLengthListMixin.prototype; + dart.addTypeTests(FixedLengthListMixin); + FixedLengthListMixin.prototype[_is_FixedLengthListMixin_default] = true; + dart.addTypeCaches(FixedLengthListMixin); + dart.setMethodSignature(FixedLengthListMixin, () => ({ + __proto__: dart.getMethods(FixedLengthListMixin.__proto__), + add: dart.fnType(dart.void, [dart.nullable(core.Object)]), + [$add]: dart.fnType(dart.void, [dart.nullable(core.Object)]), + insert: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), + [$insert]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), + insertAll: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), + [$insertAll]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), + addAll: dart.fnType(dart.void, [dart.nullable(core.Object)]), + [$addAll]: dart.fnType(dart.void, [dart.nullable(core.Object)]), + remove: dart.fnType(core.bool, [dart.nullable(core.Object)]), + [$remove]: dart.fnType(core.bool, [dart.nullable(core.Object)]), + removeWhere: dart.fnType(dart.void, [dart.fnType(core.bool, [E])]), + [$removeWhere]: dart.fnType(dart.void, [dart.fnType(core.bool, [E])]), + retainWhere: dart.fnType(dart.void, [dart.fnType(core.bool, [E])]), + [$retainWhere]: dart.fnType(dart.void, [dart.fnType(core.bool, [E])]), + clear: dart.fnType(dart.void, []), + [$clear]: dart.fnType(dart.void, []), + removeAt: dart.fnType(E, [core.int]), + [$removeAt]: dart.fnType(E, [core.int]), + removeLast: dart.fnType(E, []), + [$removeLast]: dart.fnType(E, []), + removeRange: dart.fnType(dart.void, [core.int, core.int]), + [$removeRange]: dart.fnType(dart.void, [core.int, core.int]), + replaceRange: dart.fnType(dart.void, [core.int, core.int, dart.nullable(core.Object)]), + [$replaceRange]: dart.fnType(dart.void, [core.int, core.int, dart.nullable(core.Object)]) + })); + dart.setSetterSignature(FixedLengthListMixin, () => ({ + __proto__: dart.getSetters(FixedLengthListMixin.__proto__), + length: core.int, + [$length]: core.int + })); + dart.setLibraryUri(FixedLengthListMixin, I[25]); + dart.defineExtensionMethods(FixedLengthListMixin, [ + 'add', + 'insert', + 'insertAll', + 'addAll', + 'remove', + 'removeWhere', + 'retainWhere', + 'clear', + 'removeAt', + 'removeLast', + 'removeRange', + 'replaceRange' + ]); + dart.defineExtensionAccessors(FixedLengthListMixin, ['length']); + return FixedLengthListMixin; + }); + _internal.FixedLengthListMixin = _internal.FixedLengthListMixin$(); + dart.addTypeTests(_internal.FixedLengthListMixin, _is_FixedLengthListMixin_default); + const _is_FixedLengthListBase_default = Symbol('_is_FixedLengthListBase_default'); + _internal.FixedLengthListBase$ = dart.generic(E => { + var IterableOfE = () => (IterableOfE = dart.constFn(core.Iterable$(E)))(); + const ListBase_FixedLengthListMixin$36 = class ListBase_FixedLengthListMixin extends collection.ListBase$(E) {}; + (ListBase_FixedLengthListMixin$36.new = function() { + }).prototype = ListBase_FixedLengthListMixin$36.prototype; + dart.applyMixin(ListBase_FixedLengthListMixin$36, _internal.FixedLengthListMixin$(E)); + class FixedLengthListBase extends ListBase_FixedLengthListMixin$36 { + set length(newLength) { + if (newLength == null) dart.nullFailed(I[22], 199, 16, "newLength"); + return super[$length] = newLength; + } + add(value) { + E.as(value); + return super[$add](value); + } + insert(index, value) { + if (index == null) dart.nullFailed(I[22], 199, 16, "index"); + E.as(value); + return super[$insert](index, value); + } + insertAll(at, iterable) { + if (at == null) dart.nullFailed(I[22], 199, 16, "at"); + IterableOfE().as(iterable); + if (iterable == null) dart.nullFailed(I[22], 199, 16, "iterable"); + return super[$insertAll](at, iterable); + } + addAll(iterable) { + IterableOfE().as(iterable); + if (iterable == null) dart.nullFailed(I[22], 199, 16, "iterable"); + return super[$addAll](iterable); + } + remove(element) { + return super[$remove](element); + } + removeWhere(test) { + if (test == null) dart.nullFailed(I[22], 199, 16, "test"); + return super[$removeWhere](test); + } + retainWhere(test) { + if (test == null) dart.nullFailed(I[22], 199, 16, "test"); + return super[$retainWhere](test); + } + clear() { + return super[$clear](); + } + removeAt(index) { + if (index == null) dart.nullFailed(I[22], 199, 16, "index"); + return super[$removeAt](index); + } + removeLast() { + return super[$removeLast](); + } + removeRange(start, end) { + if (start == null) dart.nullFailed(I[22], 199, 16, "start"); + if (end == null) dart.nullFailed(I[22], 199, 16, "end"); + return super[$removeRange](start, end); + } + replaceRange(start, end, iterable) { + if (start == null) dart.nullFailed(I[22], 199, 16, "start"); + if (end == null) dart.nullFailed(I[22], 199, 16, "end"); + IterableOfE().as(iterable); + if (iterable == null) dart.nullFailed(I[22], 199, 16, "iterable"); + return super[$replaceRange](start, end, iterable); + } + } + (FixedLengthListBase.new = function() { + ; + }).prototype = FixedLengthListBase.prototype; + dart.addTypeTests(FixedLengthListBase); + FixedLengthListBase.prototype[_is_FixedLengthListBase_default] = true; + dart.addTypeCaches(FixedLengthListBase); + dart.setSetterSignature(FixedLengthListBase, () => ({ + __proto__: dart.getSetters(FixedLengthListBase.__proto__), + length: core.int, + [$length]: core.int + })); + dart.setLibraryUri(FixedLengthListBase, I[25]); + dart.defineExtensionMethods(FixedLengthListBase, [ + 'add', + 'insert', + 'insertAll', + 'addAll', + 'remove', + 'removeWhere', + 'retainWhere', + 'clear', + 'removeAt', + 'removeLast', + 'removeRange', + 'replaceRange' + ]); + dart.defineExtensionAccessors(FixedLengthListBase, ['length']); + return FixedLengthListBase; + }); + _internal.FixedLengthListBase = _internal.FixedLengthListBase$(); + dart.addTypeTests(_internal.FixedLengthListBase, _is_FixedLengthListBase_default); + var _backedList$ = dart.privateName(_internal, "_backedList"); + _internal._ListIndicesIterable = class _ListIndicesIterable extends _internal.ListIterable$(core.int) { + get length() { + return this[_backedList$][$length]; + } + elementAt(index) { + if (index == null) dart.nullFailed(I[22], 217, 21, "index"); + core.RangeError.checkValidIndex(index, this); + return index; + } + }; + (_internal._ListIndicesIterable.new = function(_backedList) { + if (_backedList == null) dart.nullFailed(I[22], 214, 29, "_backedList"); + this[_backedList$] = _backedList; + _internal._ListIndicesIterable.__proto__.new.call(this); + ; + }).prototype = _internal._ListIndicesIterable.prototype; + dart.addTypeTests(_internal._ListIndicesIterable); + dart.addTypeCaches(_internal._ListIndicesIterable); + dart.setLibraryUri(_internal._ListIndicesIterable, I[25]); + dart.setFieldSignature(_internal._ListIndicesIterable, () => ({ + __proto__: dart.getFields(_internal._ListIndicesIterable.__proto__), + [_backedList$]: dart.fieldType(core.List) + })); + dart.defineExtensionMethods(_internal._ListIndicesIterable, ['elementAt']); + dart.defineExtensionAccessors(_internal._ListIndicesIterable, ['length']); + var _values$ = dart.privateName(_internal, "_values"); + const _is__UnmodifiableMapMixin_default = Symbol('_is__UnmodifiableMapMixin_default'); + collection._UnmodifiableMapMixin$ = dart.generic((K, V) => { + var MapOfK$V = () => (MapOfK$V = dart.constFn(core.Map$(K, V)))(); + var MapEntryOfK$V = () => (MapEntryOfK$V = dart.constFn(core.MapEntry$(K, V)))(); + var IterableOfMapEntryOfK$V = () => (IterableOfMapEntryOfK$V = dart.constFn(core.Iterable$(MapEntryOfK$V())))(); + var KAndVToV = () => (KAndVToV = dart.constFn(dart.fnType(V, [K, V])))(); + var VoidToV = () => (VoidToV = dart.constFn(dart.fnType(V, [])))(); + var VToV = () => (VToV = dart.constFn(dart.fnType(V, [V])))(); + var VoidToNV = () => (VoidToNV = dart.constFn(dart.nullable(VoidToV())))(); + class _UnmodifiableMapMixin extends core.Object { + _set(key, value$) { + let value = value$; + K.as(key); + V.as(value); + dart.throw(new core.UnsupportedError.new("Cannot modify unmodifiable map")); + return value$; + } + addAll(other) { + MapOfK$V().as(other); + if (other == null) dart.nullFailed(I[35], 273, 25, "other"); + dart.throw(new core.UnsupportedError.new("Cannot modify unmodifiable map")); + } + addEntries(entries) { + IterableOfMapEntryOfK$V().as(entries); + if (entries == null) dart.nullFailed(I[35], 278, 44, "entries"); + dart.throw(new core.UnsupportedError.new("Cannot modify unmodifiable map")); + } + clear() { + dart.throw(new core.UnsupportedError.new("Cannot modify unmodifiable map")); + } + remove(key) { + dart.throw(new core.UnsupportedError.new("Cannot modify unmodifiable map")); + } + removeWhere(test) { + if (test == null) dart.nullFailed(I[35], 293, 25, "test"); + dart.throw(new core.UnsupportedError.new("Cannot modify unmodifiable map")); + } + putIfAbsent(key, ifAbsent) { + K.as(key); + VoidToV().as(ifAbsent); + if (ifAbsent == null) dart.nullFailed(I[35], 298, 26, "ifAbsent"); + dart.throw(new core.UnsupportedError.new("Cannot modify unmodifiable map")); + } + update(key, update, opts) { + K.as(key); + VToV().as(update); + if (update == null) dart.nullFailed(I[35], 303, 21, "update"); + let ifAbsent = opts && 'ifAbsent' in opts ? opts.ifAbsent : null; + VoidToNV().as(ifAbsent); + dart.throw(new core.UnsupportedError.new("Cannot modify unmodifiable map")); + } + updateAll(update) { + KAndVToV().as(update); + if (update == null) dart.nullFailed(I[35], 308, 20, "update"); + dart.throw(new core.UnsupportedError.new("Cannot modify unmodifiable map")); + } + } + (_UnmodifiableMapMixin.new = function() { + ; + }).prototype = _UnmodifiableMapMixin.prototype; + _UnmodifiableMapMixin.prototype[dart.isMap] = true; + dart.addTypeTests(_UnmodifiableMapMixin); + _UnmodifiableMapMixin.prototype[_is__UnmodifiableMapMixin_default] = true; + dart.addTypeCaches(_UnmodifiableMapMixin); + _UnmodifiableMapMixin[dart.implements] = () => [core.Map$(K, V)]; + dart.setMethodSignature(_UnmodifiableMapMixin, () => ({ + __proto__: dart.getMethods(_UnmodifiableMapMixin.__proto__), + _set: dart.fnType(dart.void, [dart.nullable(core.Object), dart.nullable(core.Object)]), + [$_set]: dart.fnType(dart.void, [dart.nullable(core.Object), dart.nullable(core.Object)]), + addAll: dart.fnType(dart.void, [dart.nullable(core.Object)]), + [$addAll]: dart.fnType(dart.void, [dart.nullable(core.Object)]), + addEntries: dart.fnType(dart.void, [dart.nullable(core.Object)]), + [$addEntries]: dart.fnType(dart.void, [dart.nullable(core.Object)]), + clear: dart.fnType(dart.void, []), + [$clear]: dart.fnType(dart.void, []), + remove: dart.fnType(dart.nullable(V), [dart.nullable(core.Object)]), + [$remove]: dart.fnType(dart.nullable(V), [dart.nullable(core.Object)]), + removeWhere: dart.fnType(dart.void, [dart.fnType(core.bool, [K, V])]), + [$removeWhere]: dart.fnType(dart.void, [dart.fnType(core.bool, [K, V])]), + putIfAbsent: dart.fnType(V, [dart.nullable(core.Object), dart.nullable(core.Object)]), + [$putIfAbsent]: dart.fnType(V, [dart.nullable(core.Object), dart.nullable(core.Object)]), + update: dart.fnType(V, [dart.nullable(core.Object), dart.nullable(core.Object)], {ifAbsent: dart.nullable(core.Object)}, {}), + [$update]: dart.fnType(V, [dart.nullable(core.Object), dart.nullable(core.Object)], {ifAbsent: dart.nullable(core.Object)}, {}), + updateAll: dart.fnType(dart.void, [dart.nullable(core.Object)]), + [$updateAll]: dart.fnType(dart.void, [dart.nullable(core.Object)]) + })); + dart.setLibraryUri(_UnmodifiableMapMixin, I[24]); + dart.defineExtensionMethods(_UnmodifiableMapMixin, [ + '_set', + 'addAll', + 'addEntries', + 'clear', + 'remove', + 'removeWhere', + 'putIfAbsent', + 'update', + 'updateAll' + ]); + return _UnmodifiableMapMixin; + }); + collection._UnmodifiableMapMixin = collection._UnmodifiableMapMixin$(); + dart.addTypeTests(collection._UnmodifiableMapMixin, _is__UnmodifiableMapMixin_default); + const _is_UnmodifiableMapBase_default = Symbol('_is_UnmodifiableMapBase_default'); + collection.UnmodifiableMapBase$ = dart.generic((K, V) => { + var MapOfK$V = () => (MapOfK$V = dart.constFn(core.Map$(K, V)))(); + var MapEntryOfK$V = () => (MapEntryOfK$V = dart.constFn(core.MapEntry$(K, V)))(); + var IterableOfMapEntryOfK$V = () => (IterableOfMapEntryOfK$V = dart.constFn(core.Iterable$(MapEntryOfK$V())))(); + var KAndVToV = () => (KAndVToV = dart.constFn(dart.fnType(V, [K, V])))(); + var VoidToV = () => (VoidToV = dart.constFn(dart.fnType(V, [])))(); + var VToV = () => (VToV = dart.constFn(dart.fnType(V, [V])))(); + var VoidToNV = () => (VoidToNV = dart.constFn(dart.nullable(VoidToV())))(); + const MapBase__UnmodifiableMapMixin$36 = class MapBase__UnmodifiableMapMixin extends collection.MapBase$(K, V) {}; + (MapBase__UnmodifiableMapMixin$36.new = function() { + }).prototype = MapBase__UnmodifiableMapMixin$36.prototype; + dart.applyMixin(MapBase__UnmodifiableMapMixin$36, collection._UnmodifiableMapMixin$(K, V)); + class UnmodifiableMapBase extends MapBase__UnmodifiableMapMixin$36 { + _set(key, value$) { + let value = value$; + K.as(key); + V.as(value); + super._set(key, value); + return value$; + } + addAll(other) { + MapOfK$V().as(other); + if (other == null) dart.nullFailed(I[35], 217, 16, "other"); + return super.addAll(other); + } + addEntries(entries) { + IterableOfMapEntryOfK$V().as(entries); + if (entries == null) dart.nullFailed(I[35], 217, 16, "entries"); + return super.addEntries(entries); + } + clear() { + return super.clear(); + } + remove(key) { + return super.remove(key); + } + removeWhere(test) { + if (test == null) dart.nullFailed(I[35], 217, 16, "test"); + return super.removeWhere(test); + } + putIfAbsent(key, ifAbsent) { + K.as(key); + VoidToV().as(ifAbsent); + if (ifAbsent == null) dart.nullFailed(I[35], 217, 16, "ifAbsent"); + return super.putIfAbsent(key, ifAbsent); + } + update(key, update, opts) { + K.as(key); + VToV().as(update); + if (update == null) dart.nullFailed(I[35], 217, 16, "update"); + let ifAbsent = opts && 'ifAbsent' in opts ? opts.ifAbsent : null; + VoidToNV().as(ifAbsent); + return super.update(key, update, {ifAbsent: ifAbsent}); + } + updateAll(update) { + KAndVToV().as(update); + if (update == null) dart.nullFailed(I[35], 217, 16, "update"); + return super.updateAll(update); + } + } + (UnmodifiableMapBase.new = function() { + ; + }).prototype = UnmodifiableMapBase.prototype; + dart.addTypeTests(UnmodifiableMapBase); + UnmodifiableMapBase.prototype[_is_UnmodifiableMapBase_default] = true; + dart.addTypeCaches(UnmodifiableMapBase); + dart.setMethodSignature(UnmodifiableMapBase, () => ({ + __proto__: dart.getMethods(UnmodifiableMapBase.__proto__), + _set: dart.fnType(dart.void, [dart.nullable(core.Object), dart.nullable(core.Object)]), + [$_set]: dart.fnType(dart.void, [dart.nullable(core.Object), dart.nullable(core.Object)]), + clear: dart.fnType(dart.void, []), + [$clear]: dart.fnType(dart.void, []), + remove: dart.fnType(dart.nullable(V), [dart.nullable(core.Object)]), + [$remove]: dart.fnType(dart.nullable(V), [dart.nullable(core.Object)]) + })); + dart.setLibraryUri(UnmodifiableMapBase, I[24]); + dart.defineExtensionMethods(UnmodifiableMapBase, [ + '_set', + 'addAll', + 'addEntries', + 'clear', + 'remove', + 'removeWhere', + 'putIfAbsent', + 'update', + 'updateAll' + ]); + return UnmodifiableMapBase; + }); + collection.UnmodifiableMapBase = collection.UnmodifiableMapBase$(); + dart.addTypeTests(collection.UnmodifiableMapBase, _is_UnmodifiableMapBase_default); + const _is_ListMapView_default = Symbol('_is_ListMapView_default'); + _internal.ListMapView$ = dart.generic(E => { + var SubListIterableOfE = () => (SubListIterableOfE = dart.constFn(_internal.SubListIterable$(E)))(); + class ListMapView extends collection.UnmodifiableMapBase$(core.int, E) { + _get(key) { + return dart.test(this.containsKey(key)) ? this[_values$][$_get](core.int.as(key)) : null; + } + get length() { + return this[_values$][$length]; + } + get values() { + return new (SubListIterableOfE()).new(this[_values$], 0, null); + } + get keys() { + return new _internal._ListIndicesIterable.new(this[_values$]); + } + get isEmpty() { + return this[_values$][$isEmpty]; + } + get isNotEmpty() { + return this[_values$][$isNotEmpty]; + } + containsValue(value) { + return this[_values$][$contains](value); + } + containsKey(key) { + return core.int.is(key) && dart.notNull(key) >= 0 && dart.notNull(key) < dart.notNull(this.length); + } + forEach(f) { + if (f == null) dart.nullFailed(I[22], 239, 21, "f"); + let length = this[_values$][$length]; + for (let i = 0; i < dart.notNull(length); i = i + 1) { + f(i, this[_values$][$_get](i)); + if (length != this[_values$][$length]) { + dart.throw(new core.ConcurrentModificationError.new(this[_values$])); + } + } + } + } + (ListMapView.new = function(_values) { + if (_values == null) dart.nullFailed(I[22], 226, 20, "_values"); + this[_values$] = _values; + ; + }).prototype = ListMapView.prototype; + dart.addTypeTests(ListMapView); + ListMapView.prototype[_is_ListMapView_default] = true; + dart.addTypeCaches(ListMapView); + dart.setMethodSignature(ListMapView, () => ({ + __proto__: dart.getMethods(ListMapView.__proto__), + _get: dart.fnType(dart.nullable(E), [dart.nullable(core.Object)]), + [$_get]: dart.fnType(dart.nullable(E), [dart.nullable(core.Object)]) + })); + dart.setGetterSignature(ListMapView, () => ({ + __proto__: dart.getGetters(ListMapView.__proto__), + keys: core.Iterable$(core.int), + [$keys]: core.Iterable$(core.int) + })); + dart.setLibraryUri(ListMapView, I[25]); + dart.setFieldSignature(ListMapView, () => ({ + __proto__: dart.getFields(ListMapView.__proto__), + [_values$]: dart.fieldType(core.List$(E)) + })); + dart.defineExtensionMethods(ListMapView, ['_get', 'containsValue', 'containsKey', 'forEach']); + dart.defineExtensionAccessors(ListMapView, [ + 'length', + 'values', + 'keys', + 'isEmpty', + 'isNotEmpty' + ]); + return ListMapView; + }); + _internal.ListMapView = _internal.ListMapView$(); + dart.addTypeTests(_internal.ListMapView, _is_ListMapView_default); + const _is_ReversedListIterable_default = Symbol('_is_ReversedListIterable_default'); + _internal.ReversedListIterable$ = dart.generic(E => { + class ReversedListIterable extends _internal.ListIterable$(E) { + get length() { + return this[_source$][$length]; + } + elementAt(index) { + if (index == null) dart.nullFailed(I[22], 256, 19, "index"); + return this[_source$][$elementAt](dart.notNull(this[_source$][$length]) - 1 - dart.notNull(index)); + } + } + (ReversedListIterable.new = function(_source) { + if (_source == null) dart.nullFailed(I[22], 252, 29, "_source"); + this[_source$] = _source; + ReversedListIterable.__proto__.new.call(this); + ; + }).prototype = ReversedListIterable.prototype; + dart.addTypeTests(ReversedListIterable); + ReversedListIterable.prototype[_is_ReversedListIterable_default] = true; + dart.addTypeCaches(ReversedListIterable); + dart.setLibraryUri(ReversedListIterable, I[25]); + dart.setFieldSignature(ReversedListIterable, () => ({ + __proto__: dart.getFields(ReversedListIterable.__proto__), + [_source$]: dart.fieldType(core.Iterable$(E)) + })); + dart.defineExtensionMethods(ReversedListIterable, ['elementAt']); + dart.defineExtensionAccessors(ReversedListIterable, ['length']); + return ReversedListIterable; + }); + _internal.ReversedListIterable = _internal.ReversedListIterable$(); + dart.addTypeTests(_internal.ReversedListIterable, _is_ReversedListIterable_default); + _internal.UnmodifiableListError = class UnmodifiableListError extends core.Object { + static add() { + return new core.UnsupportedError.new("Cannot add to unmodifiable List"); + } + static change() { + return new core.UnsupportedError.new("Cannot change the content of an unmodifiable List"); + } + static length() { + return new core.UnsupportedError.new("Cannot change length of unmodifiable List"); + } + static remove() { + return new core.UnsupportedError.new("Cannot remove from unmodifiable List"); + } + }; + (_internal.UnmodifiableListError.new = function() { + ; + }).prototype = _internal.UnmodifiableListError.prototype; + dart.addTypeTests(_internal.UnmodifiableListError); + dart.addTypeCaches(_internal.UnmodifiableListError); + dart.setLibraryUri(_internal.UnmodifiableListError, I[25]); + _internal.NonGrowableListError = class NonGrowableListError extends core.Object { + static add() { + return new core.UnsupportedError.new("Cannot add to non-growable List"); + } + static length() { + return new core.UnsupportedError.new("Cannot change length of non-growable List"); + } + static remove() { + return new core.UnsupportedError.new("Cannot remove from non-growable List"); + } + }; + (_internal.NonGrowableListError.new = function() { + ; + }).prototype = _internal.NonGrowableListError.prototype; + dart.addTypeTests(_internal.NonGrowableListError); + dart.addTypeCaches(_internal.NonGrowableListError); + dart.setLibraryUri(_internal.NonGrowableListError, I[25]); + var length = dart.privateName(_internal, "LinkedList.length"); + var _last = dart.privateName(_internal, "_last"); + var _next = dart.privateName(_internal, "_next"); + var _previous = dart.privateName(_internal, "_previous"); + var _list = dart.privateName(_internal, "_list"); + const _is_IterableBase_default = Symbol('_is_IterableBase_default'); + collection.IterableBase$ = dart.generic(E => { + class IterableBase extends core.Iterable$(E) { + static iterableToShortString(iterable, leftDelimiter = "(", rightDelimiter = ")") { + let t82; + if (iterable == null) dart.nullFailed(I[39], 226, 48, "iterable"); + if (leftDelimiter == null) dart.nullFailed(I[39], 227, 15, "leftDelimiter"); + if (rightDelimiter == null) dart.nullFailed(I[39], 227, 43, "rightDelimiter"); + if (dart.test(collection._isToStringVisiting(iterable))) { + if (leftDelimiter === "(" && rightDelimiter === ")") { + return "(...)"; + } + return dart.str(leftDelimiter) + "..." + dart.str(rightDelimiter); + } + let parts = T$.JSArrayOfString().of([]); + collection._toStringVisiting[$add](iterable); + try { + collection._iterablePartsToStrings(iterable, parts); + } finally { + if (!core.identical(collection._toStringVisiting[$last], iterable)) dart.assertFailed(null, I[39], 240, 14, "identical(_toStringVisiting.last, iterable)"); + collection._toStringVisiting[$removeLast](); + } + return (t82 = new core.StringBuffer.new(leftDelimiter), (() => { + t82.writeAll(parts, ", "); + t82.write(rightDelimiter); + return t82; + })()).toString(); + } + static iterableToFullString(iterable, leftDelimiter = "(", rightDelimiter = ")") { + if (iterable == null) dart.nullFailed(I[39], 259, 47, "iterable"); + if (leftDelimiter == null) dart.nullFailed(I[39], 260, 15, "leftDelimiter"); + if (rightDelimiter == null) dart.nullFailed(I[39], 260, 43, "rightDelimiter"); + if (dart.test(collection._isToStringVisiting(iterable))) { + return dart.str(leftDelimiter) + "..." + dart.str(rightDelimiter); + } + let buffer = new core.StringBuffer.new(leftDelimiter); + collection._toStringVisiting[$add](iterable); + try { + buffer.writeAll(iterable, ", "); + } finally { + if (!core.identical(collection._toStringVisiting[$last], iterable)) dart.assertFailed(null, I[39], 269, 14, "identical(_toStringVisiting.last, iterable)"); + collection._toStringVisiting[$removeLast](); + } + buffer.write(rightDelimiter); + return buffer.toString(); + } + } + (IterableBase.new = function() { + IterableBase.__proto__.new.call(this); + ; + }).prototype = IterableBase.prototype; + dart.addTypeTests(IterableBase); + IterableBase.prototype[_is_IterableBase_default] = true; + dart.addTypeCaches(IterableBase); + dart.setLibraryUri(IterableBase, I[24]); + return IterableBase; + }); + collection.IterableBase = collection.IterableBase$(); + dart.addTypeTests(collection.IterableBase, _is_IterableBase_default); + const _is_LinkedList_default = Symbol('_is_LinkedList_default'); + _internal.LinkedList$ = dart.generic(T => { + var _LinkedListIteratorOfT = () => (_LinkedListIteratorOfT = dart.constFn(_internal._LinkedListIterator$(T)))(); + class LinkedList extends collection.IterableBase$(T) { + get length() { + return this[length]; + } + set length(value) { + this[length] = value; + } + get first() { + return dart.nullCast(this[_first$], T); + } + get last() { + return dart.nullCast(this[_last], T); + } + get isEmpty() { + return this.length === 0; + } + add(newLast) { + T.as(newLast); + if (newLast == null) dart.nullFailed(I[38], 22, 14, "newLast"); + if (!(newLast[_next] == null && newLast[_previous] == null)) dart.assertFailed(null, I[38], 23, 12, "newLast._next == null && newLast._previous == null"); + if (this[_last] != null) { + if (!(dart.nullCheck(this[_last])[_next] == null)) dart.assertFailed(null, I[38], 25, 14, "_last!._next == null"); + dart.nullCheck(this[_last])[_next] = newLast; + } else { + this[_first$] = newLast; + } + newLast[_previous] = this[_last]; + this[_last] = newLast; + dart.nullCheck(this[_last])[_list] = this; + this.length = dart.notNull(this.length) + 1; + } + addFirst(newFirst) { + T.as(newFirst); + if (newFirst == null) dart.nullFailed(I[38], 39, 19, "newFirst"); + if (this[_first$] != null) { + if (!(dart.nullCheck(this[_first$])[_previous] == null)) dart.assertFailed(null, I[38], 41, 14, "_first!._previous == null"); + dart.nullCheck(this[_first$])[_previous] = newFirst; + } else { + this[_last] = newFirst; + } + newFirst[_next] = this[_first$]; + this[_first$] = newFirst; + dart.nullCheck(this[_first$])[_list] = this; + this.length = dart.notNull(this.length) + 1; + } + remove(node) { + T.as(node); + if (node == null) dart.nullFailed(I[38], 59, 17, "node"); + if (!dart.equals(node[_list], this)) return; + this.length = dart.notNull(this.length) - 1; + if (node[_previous] == null) { + if (!(node == this[_first$])) dart.assertFailed(null, I[38], 63, 14, "identical(node, _first)"); + this[_first$] = node[_next]; + } else { + dart.nullCheck(node[_previous])[_next] = node[_next]; + } + if (node[_next] == null) { + if (!(node == this[_last])) dart.assertFailed(null, I[38], 69, 14, "identical(node, _last)"); + this[_last] = node[_previous]; + } else { + dart.nullCheck(node[_next])[_previous] = node[_previous]; + } + node[_next] = node[_previous] = null; + node[_list] = null; + } + get iterator() { + return new (_LinkedListIteratorOfT()).new(this); + } + } + (LinkedList.new = function() { + this[_first$] = null; + this[_last] = null; + this[length] = 0; + LinkedList.__proto__.new.call(this); + ; + }).prototype = LinkedList.prototype; + dart.addTypeTests(LinkedList); + LinkedList.prototype[_is_LinkedList_default] = true; + dart.addTypeCaches(LinkedList); + dart.setMethodSignature(LinkedList, () => ({ + __proto__: dart.getMethods(LinkedList.__proto__), + add: dart.fnType(dart.void, [dart.nullable(core.Object)]), + addFirst: dart.fnType(dart.void, [dart.nullable(core.Object)]), + remove: dart.fnType(dart.void, [dart.nullable(core.Object)]) + })); + dart.setGetterSignature(LinkedList, () => ({ + __proto__: dart.getGetters(LinkedList.__proto__), + iterator: core.Iterator$(T), + [$iterator]: core.Iterator$(T) + })); + dart.setLibraryUri(LinkedList, I[25]); + dart.setFieldSignature(LinkedList, () => ({ + __proto__: dart.getFields(LinkedList.__proto__), + [_first$]: dart.fieldType(dart.nullable(T)), + [_last]: dart.fieldType(dart.nullable(T)), + length: dart.fieldType(core.int) + })); + dart.defineExtensionAccessors(LinkedList, [ + 'length', + 'first', + 'last', + 'isEmpty', + 'iterator' + ]); + return LinkedList; + }); + _internal.LinkedList = _internal.LinkedList$(); + dart.addTypeTests(_internal.LinkedList, _is_LinkedList_default); + var _next$ = dart.privateName(_internal, "LinkedListEntry._next"); + var _previous$ = dart.privateName(_internal, "LinkedListEntry._previous"); + var _list$ = dart.privateName(_internal, "LinkedListEntry._list"); + const _is_LinkedListEntry_default = Symbol('_is_LinkedListEntry_default'); + _internal.LinkedListEntry$ = dart.generic(T => { + var TN = () => (TN = dart.constFn(dart.nullable(T)))(); + var LinkedListOfT = () => (LinkedListOfT = dart.constFn(_internal.LinkedList$(T)))(); + var LinkedListNOfT = () => (LinkedListNOfT = dart.constFn(dart.nullable(LinkedListOfT())))(); + class LinkedListEntry extends core.Object { + get [_next]() { + return this[_next$]; + } + set [_next](value) { + this[_next$] = TN().as(value); + } + get [_previous]() { + return this[_previous$]; + } + set [_previous](value) { + this[_previous$] = TN().as(value); + } + get [_list]() { + return this[_list$]; + } + set [_list](value) { + this[_list$] = LinkedListNOfT().as(value); + } + unlink() { + let t82; + t82 = this[_list]; + t82 == null ? null : t82.remove(T.as(this)); + } + } + (LinkedListEntry.new = function() { + this[_next$] = null; + this[_previous$] = null; + this[_list$] = null; + ; + }).prototype = LinkedListEntry.prototype; + dart.addTypeTests(LinkedListEntry); + LinkedListEntry.prototype[_is_LinkedListEntry_default] = true; + dart.addTypeCaches(LinkedListEntry); + dart.setMethodSignature(LinkedListEntry, () => ({ + __proto__: dart.getMethods(LinkedListEntry.__proto__), + unlink: dart.fnType(dart.void, []) + })); + dart.setLibraryUri(LinkedListEntry, I[25]); + dart.setFieldSignature(LinkedListEntry, () => ({ + __proto__: dart.getFields(LinkedListEntry.__proto__), + [_next]: dart.fieldType(dart.nullable(T)), + [_previous]: dart.fieldType(dart.nullable(T)), + [_list]: dart.fieldType(dart.nullable(_internal.LinkedList$(T))) + })); + return LinkedListEntry; + }); + _internal.LinkedListEntry = _internal.LinkedListEntry$(); + dart.addTypeTests(_internal.LinkedListEntry, _is_LinkedListEntry_default); + const _is__LinkedListIterator_default = Symbol('_is__LinkedListIterator_default'); + _internal._LinkedListIterator$ = dart.generic(T => { + class _LinkedListIterator extends core.Object { + get current() { + return dart.nullCast(this[_current$], T); + } + moveNext() { + if (this[_current$] == null) { + let list = this[_list]; + if (list == null) return false; + if (!(dart.notNull(list.length) > 0)) dart.assertFailed(null, I[38], 123, 14, "list.length > 0"); + this[_current$] = list.first; + this[_list] = null; + return true; + } + this[_current$] = dart.nullCheck(this[_current$])[_next]; + return this[_current$] != null; + } + } + (_LinkedListIterator.new = function(list) { + if (list == null) dart.nullFailed(I[38], 113, 37, "list"); + this[_current$] = null; + this[_list] = list; + if (list.length === 0) this[_list] = null; + }).prototype = _LinkedListIterator.prototype; + dart.addTypeTests(_LinkedListIterator); + _LinkedListIterator.prototype[_is__LinkedListIterator_default] = true; + dart.addTypeCaches(_LinkedListIterator); + _LinkedListIterator[dart.implements] = () => [core.Iterator$(T)]; + dart.setMethodSignature(_LinkedListIterator, () => ({ + __proto__: dart.getMethods(_LinkedListIterator.__proto__), + moveNext: dart.fnType(core.bool, []) + })); + dart.setGetterSignature(_LinkedListIterator, () => ({ + __proto__: dart.getGetters(_LinkedListIterator.__proto__), + current: T + })); + dart.setLibraryUri(_LinkedListIterator, I[25]); + dart.setFieldSignature(_LinkedListIterator, () => ({ + __proto__: dart.getFields(_LinkedListIterator.__proto__), + [_current$]: dart.fieldType(dart.nullable(T)), + [_list]: dart.fieldType(dart.nullable(_internal.LinkedList$(T))) + })); + return _LinkedListIterator; + }); + _internal._LinkedListIterator = _internal._LinkedListIterator$(); + dart.addTypeTests(_internal._LinkedListIterator, _is__LinkedListIterator_default); + _internal.Sort = class Sort extends core.Object { + static sort(E, a, compare) { + if (a == null) dart.nullFailed(I[40], 32, 31, "a"); + if (compare == null) dart.nullFailed(I[40], 32, 38, "compare"); + _internal.Sort._doSort(E, a, 0, dart.notNull(a[$length]) - 1, compare); + } + static sortRange(E, a, from, to, compare) { + if (a == null) dart.nullFailed(I[40], 45, 36, "a"); + if (from == null) dart.nullFailed(I[40], 45, 43, "from"); + if (to == null) dart.nullFailed(I[40], 45, 53, "to"); + if (compare == null) dart.nullFailed(I[40], 45, 61, "compare"); + if (dart.notNull(from) < 0 || dart.notNull(to) > dart.notNull(a[$length]) || dart.notNull(to) < dart.notNull(from)) { + dart.throw("OutOfRange"); + } + _internal.Sort._doSort(E, a, from, dart.notNull(to) - 1, compare); + } + static _doSort(E, a, left, right, compare) { + if (a == null) dart.nullFailed(I[40], 56, 15, "a"); + if (left == null) dart.nullFailed(I[40], 56, 22, "left"); + if (right == null) dart.nullFailed(I[40], 56, 32, "right"); + if (compare == null) dart.nullFailed(I[40], 56, 43, "compare"); + if (dart.notNull(right) - dart.notNull(left) <= 32) { + _internal.Sort._insertionSort(E, a, left, right, compare); + } else { + _internal.Sort._dualPivotQuicksort(E, a, left, right, compare); + } + } + static _insertionSort(E, a, left, right, compare) { + if (a == null) dart.nullFailed(I[40], 65, 15, "a"); + if (left == null) dart.nullFailed(I[40], 65, 22, "left"); + if (right == null) dart.nullFailed(I[40], 65, 32, "right"); + if (compare == null) dart.nullFailed(I[40], 65, 43, "compare"); + for (let i = dart.notNull(left) + 1; i <= dart.notNull(right); i = i + 1) { + let el = a[$_get](i); + let j = i; + while (j > dart.notNull(left) && dart.notNull(compare(a[$_get](j - 1), el)) > 0) { + a[$_set](j, a[$_get](j - 1)); + j = j - 1; + } + a[$_set](j, el); + } + } + static _dualPivotQuicksort(E, a, left, right, compare) { + let t82, t82$, t82$0, t82$1, t82$2, t82$3, t82$4, t82$5, t82$6; + if (a == null) dart.nullFailed(I[40], 78, 15, "a"); + if (left == null) dart.nullFailed(I[40], 78, 22, "left"); + if (right == null) dart.nullFailed(I[40], 78, 32, "right"); + if (compare == null) dart.nullFailed(I[40], 78, 43, "compare"); + if (!(dart.notNull(right) - dart.notNull(left) > 32)) dart.assertFailed(null, I[40], 79, 12, "right - left > _INSERTION_SORT_THRESHOLD"); + let sixth = ((dart.notNull(right) - dart.notNull(left) + 1) / 6)[$truncate](); + let index1 = dart.notNull(left) + sixth; + let index5 = dart.notNull(right) - sixth; + let index3 = ((dart.notNull(left) + dart.notNull(right)) / 2)[$truncate](); + let index2 = index3 - sixth; + let index4 = index3 + sixth; + let el1 = a[$_get](index1); + let el2 = a[$_get](index2); + let el3 = a[$_get](index3); + let el4 = a[$_get](index4); + let el5 = a[$_get](index5); + if (dart.notNull(compare(el1, el2)) > 0) { + let t = el1; + el1 = el2; + el2 = t; + } + if (dart.notNull(compare(el4, el5)) > 0) { + let t = el4; + el4 = el5; + el5 = t; + } + if (dart.notNull(compare(el1, el3)) > 0) { + let t = el1; + el1 = el3; + el3 = t; + } + if (dart.notNull(compare(el2, el3)) > 0) { + let t = el2; + el2 = el3; + el3 = t; + } + if (dart.notNull(compare(el1, el4)) > 0) { + let t = el1; + el1 = el4; + el4 = t; + } + if (dart.notNull(compare(el3, el4)) > 0) { + let t = el3; + el3 = el4; + el4 = t; + } + if (dart.notNull(compare(el2, el5)) > 0) { + let t = el2; + el2 = el5; + el5 = t; + } + if (dart.notNull(compare(el2, el3)) > 0) { + let t = el2; + el2 = el3; + el3 = t; + } + if (dart.notNull(compare(el4, el5)) > 0) { + let t = el4; + el4 = el5; + el5 = t; + } + let pivot1 = el2; + let pivot2 = el4; + a[$_set](index1, el1); + a[$_set](index3, el3); + a[$_set](index5, el5); + a[$_set](index2, a[$_get](left)); + a[$_set](index4, a[$_get](right)); + let less = dart.notNull(left) + 1; + let great = dart.notNull(right) - 1; + let pivots_are_equal = compare(pivot1, pivot2) === 0; + if (pivots_are_equal) { + let pivot = pivot1; + for (let k = less; k <= great; k = k + 1) { + let ak = a[$_get](k); + let comp = compare(ak, pivot); + if (comp === 0) continue; + if (dart.notNull(comp) < 0) { + if (k !== less) { + a[$_set](k, a[$_get](less)); + a[$_set](less, ak); + } + less = less + 1; + } else { + while (true) { + comp = compare(a[$_get](great), pivot); + if (dart.notNull(comp) > 0) { + great = great - 1; + continue; + } else if (dart.notNull(comp) < 0) { + a[$_set](k, a[$_get](less)); + a[$_set]((t82 = less, less = t82 + 1, t82), a[$_get](great)); + a[$_set]((t82$ = great, great = t82$ - 1, t82$), ak); + break; + } else { + a[$_set](k, a[$_get](great)); + a[$_set]((t82$0 = great, great = t82$0 - 1, t82$0), ak); + break; + } + } + } + } + } else { + for (let k = less; k <= great; k = k + 1) { + let ak = a[$_get](k); + let comp_pivot1 = compare(ak, pivot1); + if (dart.notNull(comp_pivot1) < 0) { + if (k !== less) { + a[$_set](k, a[$_get](less)); + a[$_set](less, ak); + } + less = less + 1; + } else { + let comp_pivot2 = compare(ak, pivot2); + if (dart.notNull(comp_pivot2) > 0) { + while (true) { + let comp = compare(a[$_get](great), pivot2); + if (dart.notNull(comp) > 0) { + great = great - 1; + if (great < k) break; + continue; + } else { + comp = compare(a[$_get](great), pivot1); + if (dart.notNull(comp) < 0) { + a[$_set](k, a[$_get](less)); + a[$_set]((t82$1 = less, less = t82$1 + 1, t82$1), a[$_get](great)); + a[$_set]((t82$2 = great, great = t82$2 - 1, t82$2), ak); + } else { + a[$_set](k, a[$_get](great)); + a[$_set]((t82$3 = great, great = t82$3 - 1, t82$3), ak); + } + break; + } + } + } + } + } + } + a[$_set](left, a[$_get](less - 1)); + a[$_set](less - 1, pivot1); + a[$_set](right, a[$_get](great + 1)); + a[$_set](great + 1, pivot2); + _internal.Sort._doSort(E, a, left, less - 2, compare); + _internal.Sort._doSort(E, a, great + 2, right, compare); + if (pivots_are_equal) { + return; + } + if (less < index1 && great > index5) { + while (compare(a[$_get](less), pivot1) === 0) { + less = less + 1; + } + while (compare(a[$_get](great), pivot2) === 0) { + great = great - 1; + } + for (let k = less; k <= great; k = k + 1) { + let ak = a[$_get](k); + let comp_pivot1 = compare(ak, pivot1); + if (comp_pivot1 === 0) { + if (k !== less) { + a[$_set](k, a[$_get](less)); + a[$_set](less, ak); + } + less = less + 1; + } else { + let comp_pivot2 = compare(ak, pivot2); + if (comp_pivot2 === 0) { + while (true) { + let comp = compare(a[$_get](great), pivot2); + if (comp === 0) { + great = great - 1; + if (great < k) break; + continue; + } else { + comp = compare(a[$_get](great), pivot1); + if (dart.notNull(comp) < 0) { + a[$_set](k, a[$_get](less)); + a[$_set]((t82$4 = less, less = t82$4 + 1, t82$4), a[$_get](great)); + a[$_set]((t82$5 = great, great = t82$5 - 1, t82$5), ak); + } else { + a[$_set](k, a[$_get](great)); + a[$_set]((t82$6 = great, great = t82$6 - 1, t82$6), ak); + } + break; + } + } + } + } + } + _internal.Sort._doSort(E, a, less, great, compare); + } else { + _internal.Sort._doSort(E, a, less, great, compare); + } + } + }; + (_internal.Sort.new = function() { + ; + }).prototype = _internal.Sort.prototype; + dart.addTypeTests(_internal.Sort); + dart.addTypeCaches(_internal.Sort); + dart.setLibraryUri(_internal.Sort, I[25]); + dart.defineLazy(_internal.Sort, { + /*_internal.Sort._INSERTION_SORT_THRESHOLD*/get _INSERTION_SORT_THRESHOLD() { + return 32; + } + }, false); + var _name$0 = dart.privateName(_internal, "Symbol._name"); + _internal.Symbol = class Symbol extends core.Object { + get [_name$]() { + return this[_name$0]; + } + set [_name$](value) { + super[_name$] = value; + } + _equals(other) { + if (other == null) return false; + return _internal.Symbol.is(other) && this[_name$] == other[_name$]; + } + get hashCode() { + let hash = this._hashCode; + if (hash != null) return hash; + hash = 536870911 & 664597 * dart.hashCode(this[_name$]); + this._hashCode = hash; + return hash; + } + toString() { + return "Symbol(\"" + dart.str(this[_name$]) + "\")"; + } + static getName(symbol) { + if (symbol == null) dart.nullFailed(I[42], 119, 32, "symbol"); + return symbol[_name$]; + } + static validatePublicSymbol(name) { + if (name == null) dart.nullFailed(I[42], 121, 45, "name"); + if (name[$isEmpty] || dart.test(_internal.Symbol.publicSymbolPattern.hasMatch(name))) return name; + if (name[$startsWith]("_")) { + dart.throw(new core.ArgumentError.new("\"" + dart.str(name) + "\" is a private identifier")); + } + dart.throw(new core.ArgumentError.new("\"" + dart.str(name) + "\" is not a valid (qualified) symbol name")); + } + static isValidSymbol(name) { + if (name == null) dart.nullFailed(I[42], 137, 36, "name"); + return name[$isEmpty] || dart.test(_internal.Symbol.symbolPattern.hasMatch(name)); + } + static computeUnmangledName(symbol) { + if (symbol == null) dart.nullFailed(I[41], 36, 45, "symbol"); + return symbol[_name$]; + } + }; + (_internal.Symbol.new = function(name) { + if (name == null) dart.nullFailed(I[41], 20, 23, "name"); + this[_name$0] = name; + ; + }).prototype = _internal.Symbol.prototype; + (_internal.Symbol.unvalidated = function(_name) { + if (_name == null) dart.nullFailed(I[42], 107, 33, "_name"); + this[_name$0] = _name; + ; + }).prototype = _internal.Symbol.prototype; + (_internal.Symbol.validated = function(name) { + if (name == null) dart.nullFailed(I[42], 110, 27, "name"); + this[_name$0] = _internal.Symbol.validatePublicSymbol(name); + ; + }).prototype = _internal.Symbol.prototype; + dart.addTypeTests(_internal.Symbol); + dart.addTypeCaches(_internal.Symbol); + _internal.Symbol[dart.implements] = () => [core.Symbol]; + dart.setMethodSignature(_internal.Symbol, () => ({ + __proto__: dart.getMethods(_internal.Symbol.__proto__), + toString: dart.fnType(dart.dynamic, []), + [$toString]: dart.fnType(dart.dynamic, []) + })); + dart.setLibraryUri(_internal.Symbol, I[25]); + dart.setFieldSignature(_internal.Symbol, () => ({ + __proto__: dart.getFields(_internal.Symbol.__proto__), + [_name$]: dart.finalFieldType(core.String) + })); + dart.defineExtensionMethods(_internal.Symbol, ['_equals', 'toString']); + dart.defineExtensionAccessors(_internal.Symbol, ['hashCode']); + dart.defineLazy(_internal.Symbol, { + /*_internal.Symbol.reservedWordRE*/get reservedWordRE() { + return "(?:assert|break|c(?:a(?:se|tch)|lass|on(?:st|tinue))|d(?:efault|o)|e(?:lse|num|xtends)|f(?:alse|inal(?:ly)?|or)|i[fns]|n(?:ew|ull)|ret(?:hrow|urn)|s(?:uper|witch)|t(?:h(?:is|row)|r(?:ue|y))|v(?:ar|oid)|w(?:hile|ith))"; + }, + /*_internal.Symbol.publicIdentifierRE*/get publicIdentifierRE() { + return "(?!(?:assert|break|c(?:a(?:se|tch)|lass|on(?:st|tinue))|d(?:efault|o)|e(?:lse|num|xtends)|f(?:alse|inal(?:ly)?|or)|i[fns]|n(?:ew|ull)|ret(?:hrow|urn)|s(?:uper|witch)|t(?:h(?:is|row)|r(?:ue|y))|v(?:ar|oid)|w(?:hile|ith))\\b(?!\\$))[a-zA-Z$][\\w$]*"; + }, + /*_internal.Symbol.identifierRE*/get identifierRE() { + return "(?!(?:assert|break|c(?:a(?:se|tch)|lass|on(?:st|tinue))|d(?:efault|o)|e(?:lse|num|xtends)|f(?:alse|inal(?:ly)?|or)|i[fns]|n(?:ew|ull)|ret(?:hrow|urn)|s(?:uper|witch)|t(?:h(?:is|row)|r(?:ue|y))|v(?:ar|oid)|w(?:hile|ith))\\b(?!\\$))[a-zA-Z$_][\\w$]*"; + }, + /*_internal.Symbol.operatorRE*/get operatorRE() { + return "(?:[\\-+*/%&|^]|\\[\\]=?|==|~/?|<[<=]?|>(?:|=|>>?)|unary-)"; + }, + /*_internal.Symbol.publicSymbolPattern*/get publicSymbolPattern() { + return core.RegExp.new("^(?:" + dart.str(_internal.Symbol.operatorRE) + "$|" + dart.str(_internal.Symbol.publicIdentifierRE) + "(?:=?$|[.](?!$)))+?$"); + }, + /*_internal.Symbol.symbolPattern*/get symbolPattern() { + return core.RegExp.new("^(?:" + dart.str(_internal.Symbol.operatorRE) + "$|" + dart.str(_internal.Symbol.identifierRE) + "(?:=?$|[.](?!$)))+?$"); + } + }, false); + _internal.createSentinel = function createSentinel(T) { + return dart.throw(new core.UnsupportedError.new("createSentinel")); + }; + _internal.isSentinel = function isSentinel(value) { + return dart.throw(new core.UnsupportedError.new("isSentinel")); + }; + _internal.typeAcceptsNull = function typeAcceptsNull(T) { + return !false || T.is(null); + }; + _internal.hexDigitValue = function hexDigitValue(char) { + if (char == null) dart.nullFailed(I[21], 100, 23, "char"); + if (!(dart.notNull(char) >= 0 && dart.notNull(char) <= 65535)) dart.assertFailed(null, I[21], 101, 10, "char >= 0 && char <= 0xFFFF"); + let digit = (dart.notNull(char) ^ 48) >>> 0; + if (digit <= 9) return digit; + let letter = (dart.notNull(char) | 32) >>> 0; + if (97 <= letter && letter <= 102) return letter - (97 - 10); + return -1; + }; + _internal.parseHexByte = function parseHexByte(source, index) { + if (source == null) dart.nullFailed(I[21], 115, 25, "source"); + if (index == null) dart.nullFailed(I[21], 115, 37, "index"); + if (!(dart.notNull(index) + 2 <= source.length)) dart.assertFailed(null, I[21], 116, 10, "index + 2 <= source.length"); + let digit1 = _internal.hexDigitValue(source[$codeUnitAt](index)); + let digit2 = _internal.hexDigitValue(source[$codeUnitAt](dart.notNull(index) + 1)); + return dart.notNull(digit1) * 16 + dart.notNull(digit2) - (dart.notNull(digit2) & 256); + }; + _internal.extractTypeArguments = function extractTypeArguments$(T, instance, extract) { + if (extract == null) dart.nullFailed(I[41], 57, 54, "extract"); + return dart.extractTypeArguments(T, instance, extract); + }; + _internal.checkNotNullable = function checkNotNullable(T, value, name) { + if (value == null) dart.nullFailed(I[21], 402, 40, "value"); + if (name == null) dart.nullFailed(I[21], 402, 54, "name"); + if (value == null) { + dart.throw(new (_internal.NotNullableError$(T)).new(name)); + } + return value; + }; + _internal.valueOfNonNullableParamWithDefault = function valueOfNonNullableParamWithDefault(T, value, defaultVal) { + if (value == null) dart.nullFailed(I[21], 427, 58, "value"); + if (defaultVal == null) dart.nullFailed(I[21], 427, 67, "defaultVal"); + if (value == null) { + return defaultVal; + } else { + return value; + } + }; + _internal._checkCount = function _checkCount(count) { + if (count == null) dart.nullFailed(I[37], 624, 21, "count"); + core.ArgumentError.checkNotNull(core.int, count, "count"); + core.RangeError.checkNotNegative(count, "count"); + return count; + }; + _internal.makeListFixedLength = function makeListFixedLength(T, growableList) { + if (growableList == null) dart.nullFailed(I[41], 45, 40, "growableList"); + _interceptors.JSArray.markFixedList(growableList); + return growableList; + }; + _internal.makeFixedListUnmodifiable = function makeFixedListUnmodifiable(T, fixedLengthList) { + if (fixedLengthList == null) dart.nullFailed(I[41], 51, 46, "fixedLengthList"); + _interceptors.JSArray.markUnmodifiableList(fixedLengthList); + return fixedLengthList; + }; + _internal.printToConsole = function printToConsole(line) { + if (line == null) dart.nullFailed(I[41], 40, 28, "line"); + _js_primitives.printString(dart.str(line)); + }; + dart.defineLazy(_internal, { + /*_internal.POWERS_OF_TEN*/get POWERS_OF_TEN() { + return C[21] || CT.C21; + }, + /*_internal.nullFuture*/get nullFuture() { + return async.Zone.root.run(T$.FutureOfNull(), dart.fn(() => T$.FutureOfNull().value(null), T$.VoidToFutureOfNull())); + }, + /*_internal.printToZone*/get printToZone() { + return null; + }, + set printToZone(_) {} + }, false); + var _handle = dart.privateName(_isolate_helper, "_handle"); + var _tick = dart.privateName(_isolate_helper, "_tick"); + var _once = dart.privateName(_isolate_helper, "_once"); + _isolate_helper.TimerImpl = class TimerImpl extends core.Object { + get tick() { + return this[_tick]; + } + cancel() { + if (dart.test(_isolate_helper.hasTimer())) { + if (this[_handle] == null) return; + dart.removeAsyncCallback(); + if (dart.test(this[_once])) { + _isolate_helper.global.clearTimeout(this[_handle]); + } else { + _isolate_helper.global.clearInterval(this[_handle]); + } + this[_handle] = null; + } else { + dart.throw(new core.UnsupportedError.new("Canceling a timer.")); + } + } + get isActive() { + return this[_handle] != null; + } + }; + (_isolate_helper.TimerImpl.new = function(milliseconds, callback) { + if (milliseconds == null) dart.nullFailed(I[43], 40, 17, "milliseconds"); + if (callback == null) dart.nullFailed(I[43], 40, 36, "callback"); + this[_handle] = null; + this[_tick] = 0; + this[_once] = true; + if (dart.test(_isolate_helper.hasTimer())) { + let currentHotRestartIteration = dart.hotRestartIteration; + const internalCallback = () => { + this[_handle] = null; + dart.removeAsyncCallback(); + this[_tick] = 1; + if (currentHotRestartIteration == dart.hotRestartIteration) { + callback(); + } + }; + dart.fn(internalCallback, T$.VoidTovoid()); + dart.addAsyncCallback(); + this[_handle] = _isolate_helper.global.setTimeout(internalCallback, milliseconds); + } else { + dart.throw(new core.UnsupportedError.new("`setTimeout()` not found.")); + } + }).prototype = _isolate_helper.TimerImpl.prototype; + (_isolate_helper.TimerImpl.periodic = function(milliseconds, callback) { + if (milliseconds == null) dart.nullFailed(I[43], 61, 26, "milliseconds"); + if (callback == null) dart.nullFailed(I[43], 61, 45, "callback"); + this[_handle] = null; + this[_tick] = 0; + this[_once] = false; + if (dart.test(_isolate_helper.hasTimer())) { + dart.addAsyncCallback(); + let start = Date.now(); + let currentHotRestartIteration = dart.hotRestartIteration; + this[_handle] = _isolate_helper.global.setInterval(dart.fn(() => { + if (currentHotRestartIteration != dart.hotRestartIteration) { + this.cancel(); + return; + } + let tick = dart.notNull(this[_tick]) + 1; + if (dart.notNull(milliseconds) > 0) { + let duration = Date.now() - start; + if (duration > (tick + 1) * dart.notNull(milliseconds)) { + tick = (duration / dart.notNull(milliseconds))[$truncate](); + } + } + this[_tick] = tick; + callback(this); + }, T$.VoidToNull()), milliseconds); + } else { + dart.throw(new core.UnsupportedError.new("Periodic timer.")); + } + }).prototype = _isolate_helper.TimerImpl.prototype; + dart.addTypeTests(_isolate_helper.TimerImpl); + dart.addTypeCaches(_isolate_helper.TimerImpl); + _isolate_helper.TimerImpl[dart.implements] = () => [async.Timer]; + dart.setMethodSignature(_isolate_helper.TimerImpl, () => ({ + __proto__: dart.getMethods(_isolate_helper.TimerImpl.__proto__), + cancel: dart.fnType(dart.void, []) + })); + dart.setGetterSignature(_isolate_helper.TimerImpl, () => ({ + __proto__: dart.getGetters(_isolate_helper.TimerImpl.__proto__), + tick: core.int, + isActive: core.bool + })); + dart.setLibraryUri(_isolate_helper.TimerImpl, I[44]); + dart.setFieldSignature(_isolate_helper.TimerImpl, () => ({ + __proto__: dart.getFields(_isolate_helper.TimerImpl.__proto__), + [_once]: dart.finalFieldType(core.bool), + [_handle]: dart.fieldType(dart.nullable(core.int)), + [_tick]: dart.fieldType(core.int) + })); + _isolate_helper.startRootIsolate = function startRootIsolate(main, args) { + if (args == null) args = T$.JSArrayOfString().of([]); + if (core.List.is(args)) { + if (!T$.ListOfString().is(args)) args = T$.ListOfString().from(args); + if (typeof main == "function") { + main(args, null); + } else { + dart.dcall(main, [args]); + } + } else { + dart.throw(new core.ArgumentError.new("Arguments to main must be a List: " + dart.str(args))); + } + }; + _isolate_helper.hasTimer = function hasTimer() { + return _isolate_helper.global.setTimeout != null; + }; + dart.defineLazy(_isolate_helper, { + /*_isolate_helper.global*/get global() { + return dart.global; + } + }, false); + _js_helper._Patch = class _Patch extends core.Object {}; + (_js_helper._Patch.new = function() { + ; + }).prototype = _js_helper._Patch.prototype; + dart.addTypeTests(_js_helper._Patch); + dart.addTypeCaches(_js_helper._Patch); + dart.setLibraryUri(_js_helper._Patch, I[45]); + var _current$0 = dart.privateName(_js_helper, "_current"); + var _jsIterator$ = dart.privateName(_js_helper, "_jsIterator"); + const _is_DartIterator_default = Symbol('_is_DartIterator_default'); + _js_helper.DartIterator$ = dart.generic(E => { + class DartIterator extends core.Object { + get current() { + return E.as(this[_current$0]); + } + moveNext() { + let ret = this[_jsIterator$].next(); + this[_current$0] = ret.value; + return !ret.done; + } + } + (DartIterator.new = function(_jsIterator) { + this[_current$0] = null; + this[_jsIterator$] = _jsIterator; + ; + }).prototype = DartIterator.prototype; + dart.addTypeTests(DartIterator); + DartIterator.prototype[_is_DartIterator_default] = true; + dart.addTypeCaches(DartIterator); + DartIterator[dart.implements] = () => [core.Iterator$(E)]; + dart.setMethodSignature(DartIterator, () => ({ + __proto__: dart.getMethods(DartIterator.__proto__), + moveNext: dart.fnType(core.bool, []) + })); + dart.setGetterSignature(DartIterator, () => ({ + __proto__: dart.getGetters(DartIterator.__proto__), + current: E + })); + dart.setLibraryUri(DartIterator, I[45]); + dart.setFieldSignature(DartIterator, () => ({ + __proto__: dart.getFields(DartIterator.__proto__), + [_jsIterator$]: dart.finalFieldType(dart.dynamic), + [_current$0]: dart.fieldType(dart.nullable(E)) + })); + return DartIterator; + }); + _js_helper.DartIterator = _js_helper.DartIterator$(); + dart.addTypeTests(_js_helper.DartIterator, _is_DartIterator_default); + var _initGenerator$ = dart.privateName(_js_helper, "_initGenerator"); + const _is_SyncIterable_default = Symbol('_is_SyncIterable_default'); + _js_helper.SyncIterable$ = dart.generic(E => { + var DartIteratorOfE = () => (DartIteratorOfE = dart.constFn(_js_helper.DartIterator$(E)))(); + class SyncIterable extends collection.IterableBase$(E) { + [Symbol.iterator]() { + return this[_initGenerator$](); + } + get iterator() { + return new (DartIteratorOfE()).new(this[_initGenerator$]()); + } + } + (SyncIterable.new = function(_initGenerator) { + if (_initGenerator == null) dart.nullFailed(I[46], 62, 21, "_initGenerator"); + this[_initGenerator$] = _initGenerator; + SyncIterable.__proto__.new.call(this); + ; + }).prototype = SyncIterable.prototype; + dart.addTypeTests(SyncIterable); + SyncIterable.prototype[_is_SyncIterable_default] = true; + dart.addTypeCaches(SyncIterable); + dart.setMethodSignature(SyncIterable, () => ({ + __proto__: dart.getMethods(SyncIterable.__proto__), + [Symbol.iterator]: dart.fnType(dart.dynamic, []) + })); + dart.setGetterSignature(SyncIterable, () => ({ + __proto__: dart.getGetters(SyncIterable.__proto__), + iterator: core.Iterator$(E), + [$iterator]: core.Iterator$(E) + })); + dart.setLibraryUri(SyncIterable, I[45]); + dart.setFieldSignature(SyncIterable, () => ({ + __proto__: dart.getFields(SyncIterable.__proto__), + [_initGenerator$]: dart.finalFieldType(dart.fnType(dart.dynamic, [])) + })); + dart.defineExtensionAccessors(SyncIterable, ['iterator']); + return SyncIterable; + }); + _js_helper.SyncIterable = _js_helper.SyncIterable$(); + dart.addTypeTests(_js_helper.SyncIterable, _is_SyncIterable_default); + _js_helper.Primitives = class Primitives extends core.Object { + static parseInt(source, _radix) { + if (source == null) dart.argumentError(source); + let re = /^\s*[+-]?((0x[a-f0-9]+)|(\d+)|([a-z0-9]+))\s*$/i; + let match = re.exec(source); + let digitsIndex = 1; + let hexIndex = 2; + let decimalIndex = 3; + if (match == null) { + return null; + } + let decimalMatch = match[$_get](decimalIndex); + if (_radix == null) { + if (decimalMatch != null) { + return parseInt(source, 10); + } + if (match[$_get](hexIndex) != null) { + return parseInt(source, 16); + } + return null; + } + let radix = _radix; + if (radix < 2 || radix > 36) { + dart.throw(new core.RangeError.range(radix, 2, 36, "radix")); + } + if (radix === 10 && decimalMatch != null) { + return parseInt(source, 10); + } + if (radix < 10 || decimalMatch == null) { + let maxCharCode = null; + if (radix <= 10) { + maxCharCode = 48 - 1 + radix; + } else { + maxCharCode = 97 - 10 - 1 + radix; + } + if (!(typeof match[$_get](digitsIndex) == 'string')) dart.assertFailed(null, I[46], 127, 14, "match[digitsIndex] is String"); + let digitsPart = match[digitsIndex]; + for (let i = 0; i < digitsPart.length; i = i + 1) { + let characterCode = (digitsPart[$codeUnitAt](i) | 32) >>> 0; + if (characterCode > dart.notNull(maxCharCode)) { + return null; + } + } + } + return parseInt(source, radix); + } + static parseDouble(source) { + if (source == null) dart.argumentError(source); + if (!/^\s*[+-]?(?:Infinity|NaN|(?:\.\d+|\d+(?:\.\d*)?)(?:[eE][+-]?\d+)?)\s*$/.test(source)) { + return null; + } + let result = parseFloat(source); + if (result[$isNaN]) { + let trimmed = source[$trim](); + if (trimmed === "NaN" || trimmed === "+NaN" || trimmed === "-NaN") { + return result; + } + return null; + } + return result; + } + static dateNow() { + return Date.now(); + } + static initTicker() { + if (_js_helper.Primitives.timerFrequency !== 0) return; + _js_helper.Primitives.timerFrequency = 1000; + if (typeof window == "undefined") return; + let jsWindow = window; + if (jsWindow == null) return; + let performance = jsWindow.performance; + if (performance == null) return; + if (typeof performance.now != "function") return; + _js_helper.Primitives.timerFrequency = 1000000; + _js_helper.Primitives.timerTicks = dart.fn(() => (1000 * performance.now())[$floor](), T$.VoidToint()); + } + static get isD8() { + return typeof version == "function" && typeof os == "object" && "system" in os; + } + static get isJsshell() { + return typeof version == "function" && typeof system == "function"; + } + static currentUri() { + if (!!dart.global.location) { + return dart.global.location.href; + } + return ""; + } + static _fromCharCodeApply(array) { + if (array == null) dart.nullFailed(I[46], 214, 46, "array"); + let end = dart.notNull(array[$length]); + if (end <= 500) { + return String.fromCharCode.apply(null, array); + } + let result = ""; + for (let i = 0; i < end; i = i + 500) { + let chunkEnd = i + 500 < end ? i + 500 : end; + result = result + String.fromCharCode.apply(null, array.slice(i, chunkEnd)); + } + return result; + } + static stringFromCodePoints(codePoints) { + if (codePoints == null) dart.nullFailed(I[46], 236, 51, "codePoints"); + let a = T$.JSArrayOfint().of([]); + for (let i of codePoints) { + if (i == null) dart.argumentError(i); + { + if (i <= 65535) { + a[$add](i); + } else if (i <= 1114111) { + a[$add](55296 + (i - 65536 >> 10 & 1023)); + a[$add](56320 + (i & 1023)); + } else { + dart.throw(_js_helper.argumentErrorValue(i)); + } + } + } + return _js_helper.Primitives._fromCharCodeApply(a); + } + static stringFromCharCodes(charCodes) { + if (charCodes == null) dart.nullFailed(I[46], 252, 50, "charCodes"); + for (let i of charCodes) { + if (i == null) dart.argumentError(i); + { + if (i < 0) dart.throw(_js_helper.argumentErrorValue(i)); + if (i > 65535) return _js_helper.Primitives.stringFromCodePoints(charCodes); + } + } + return _js_helper.Primitives._fromCharCodeApply(charCodes); + } + static stringFromNativeUint8List(charCodes, start, end) { + if (charCodes == null) dart.nullFailed(I[46], 263, 23, "charCodes"); + if (start == null) dart.argumentError(start); + if (end == null) dart.argumentError(end); + if (end <= 500 && start === 0 && end === charCodes[$length]) { + return String.fromCharCode.apply(null, charCodes); + } + let result = ""; + for (let i = start; i < end; i = i + 500) { + let chunkEnd = i + 500 < end ? i + 500 : end; + result = result + String.fromCharCode.apply(null, charCodes.subarray(i, chunkEnd)); + } + return result; + } + static stringFromCharCode(charCode) { + if (charCode == null) dart.argumentError(charCode); + if (0 <= charCode) { + if (charCode <= 65535) { + return String.fromCharCode(charCode); + } + if (charCode <= 1114111) { + let bits = charCode - 65536; + let low = 56320 | bits & 1023; + let high = (55296 | bits[$rightShift](10)) >>> 0; + return String.fromCharCode(high, low); + } + } + dart.throw(new core.RangeError.range(charCode, 0, 1114111)); + } + static flattenString(str) { + if (str == null) dart.nullFailed(I[46], 298, 38, "str"); + return str.charCodeAt(0) == 0 ? str : str; + } + static getTimeZoneName(receiver) { + if (receiver == null) dart.nullFailed(I[46], 302, 42, "receiver"); + let d = _js_helper.Primitives.lazyAsJsDate(receiver); + let match = /\((.*)\)/.exec(d.toString()); + if (match != null) return match[$_get](1); + match = /^[A-Z,a-z]{3}\s[A-Z,a-z]{3}\s\d+\s\d{2}:\d{2}:\d{2}\s([A-Z]{3,5})\s\d{4}$/.exec(d.toString()); + if (match != null) return match[$_get](1); + match = /(?:GMT|UTC)[+-]\d{4}/.exec(d.toString()); + if (match != null) return match[$_get](0); + return ""; + } + static getTimeZoneOffsetInMinutes(receiver) { + if (receiver == null) dart.nullFailed(I[46], 342, 50, "receiver"); + return -_js_helper.Primitives.lazyAsJsDate(receiver).getTimezoneOffset(); + } + static valueFromDecomposedDate(years, month, day, hours, minutes, seconds, milliseconds, isUtc) { + if (years == null) dart.argumentError(years); + if (month == null) dart.argumentError(month); + if (day == null) dart.argumentError(day); + if (hours == null) dart.argumentError(hours); + if (minutes == null) dart.argumentError(minutes); + if (seconds == null) dart.argumentError(seconds); + if (milliseconds == null) dart.argumentError(milliseconds); + if (isUtc == null) dart.argumentError(isUtc); + let MAX_MILLISECONDS_SINCE_EPOCH = 8640000000000000; + let jsMonth = month - 1; + if (0 <= years && years < 100) { + years = years + 400; + jsMonth = jsMonth - 400 * 12; + } + let value = null; + if (isUtc) { + value = Date.UTC(years, jsMonth, day, hours, minutes, seconds, milliseconds); + } else { + value = new Date(years, jsMonth, day, hours, minutes, seconds, milliseconds).valueOf(); + } + if (value[$isNaN] || dart.notNull(value) < -MAX_MILLISECONDS_SINCE_EPOCH || dart.notNull(value) > MAX_MILLISECONDS_SINCE_EPOCH) { + return null; + } + if (years <= 0 || years < 100) return _js_helper.Primitives.patchUpY2K(value, years, isUtc); + return value; + } + static patchUpY2K(value, years, isUtc) { + let date = new Date(value); + if (dart.dtest(isUtc)) { + date.setUTCFullYear(years); + } else { + date.setFullYear(years); + } + return date.valueOf(); + } + static lazyAsJsDate(receiver) { + if (receiver == null) dart.nullFailed(I[46], 394, 32, "receiver"); + if (receiver.date === void 0) { + receiver.date = new Date(receiver.millisecondsSinceEpoch); + } + return receiver.date; + } + static getYear(receiver) { + if (receiver == null) dart.nullFailed(I[46], 406, 31, "receiver"); + return dart.test(receiver.isUtc) ? _js_helper.Primitives.lazyAsJsDate(receiver).getUTCFullYear() + 0 : _js_helper.Primitives.lazyAsJsDate(receiver).getFullYear() + 0; + } + static getMonth(receiver) { + if (receiver == null) dart.nullFailed(I[46], 412, 32, "receiver"); + return dart.test(receiver.isUtc) ? _js_helper.Primitives.lazyAsJsDate(receiver).getUTCMonth() + 1 : _js_helper.Primitives.lazyAsJsDate(receiver).getMonth() + 1; + } + static getDay(receiver) { + if (receiver == null) dart.nullFailed(I[46], 418, 30, "receiver"); + return dart.test(receiver.isUtc) ? _js_helper.Primitives.lazyAsJsDate(receiver).getUTCDate() + 0 : _js_helper.Primitives.lazyAsJsDate(receiver).getDate() + 0; + } + static getHours(receiver) { + if (receiver == null) dart.nullFailed(I[46], 424, 32, "receiver"); + return dart.test(receiver.isUtc) ? _js_helper.Primitives.lazyAsJsDate(receiver).getUTCHours() + 0 : _js_helper.Primitives.lazyAsJsDate(receiver).getHours() + 0; + } + static getMinutes(receiver) { + if (receiver == null) dart.nullFailed(I[46], 430, 34, "receiver"); + return dart.test(receiver.isUtc) ? _js_helper.Primitives.lazyAsJsDate(receiver).getUTCMinutes() + 0 : _js_helper.Primitives.lazyAsJsDate(receiver).getMinutes() + 0; + } + static getSeconds(receiver) { + if (receiver == null) dart.nullFailed(I[46], 436, 34, "receiver"); + return dart.test(receiver.isUtc) ? _js_helper.Primitives.lazyAsJsDate(receiver).getUTCSeconds() + 0 : _js_helper.Primitives.lazyAsJsDate(receiver).getSeconds() + 0; + } + static getMilliseconds(receiver) { + if (receiver == null) dart.nullFailed(I[46], 442, 39, "receiver"); + return dart.test(receiver.isUtc) ? _js_helper.Primitives.lazyAsJsDate(receiver).getUTCMilliseconds() + 0 : _js_helper.Primitives.lazyAsJsDate(receiver).getMilliseconds() + 0; + } + static getWeekday(receiver) { + if (receiver == null) dart.nullFailed(I[46], 448, 34, "receiver"); + let weekday = dart.test(receiver.isUtc) ? _js_helper.Primitives.lazyAsJsDate(receiver).getUTCDay() + 0 : _js_helper.Primitives.lazyAsJsDate(receiver).getDay() + 0; + return (weekday + 6)[$modulo](7) + 1; + } + static valueFromDateString(str) { + if (!(typeof str == 'string')) dart.throw(_js_helper.argumentErrorValue(str)); + let value = Date.parse(str); + if (value[$isNaN]) dart.throw(_js_helper.argumentErrorValue(str)); + return value; + } + static getProperty(object, key) { + if (key == null) dart.nullFailed(I[46], 463, 53, "key"); + if (object == null || typeof object == 'boolean' || typeof object == 'number' || typeof object == 'string') { + dart.throw(_js_helper.argumentErrorValue(object)); + } + return object[key]; + } + static setProperty(object, key, value) { + if (object == null || typeof object == 'boolean' || typeof object == 'number' || typeof object == 'string') { + dart.throw(_js_helper.argumentErrorValue(object)); + } + object[key] = value; + } + }; + (_js_helper.Primitives.new = function() { + ; + }).prototype = _js_helper.Primitives.prototype; + dart.addTypeTests(_js_helper.Primitives); + dart.addTypeCaches(_js_helper.Primitives); + dart.setLibraryUri(_js_helper.Primitives, I[45]); + dart.defineLazy(_js_helper.Primitives, { + /*_js_helper.Primitives.DOLLAR_CHAR_VALUE*/get DOLLAR_CHAR_VALUE() { + return 36; + }, + /*_js_helper.Primitives.timerFrequency*/get timerFrequency() { + return 0; + }, + set timerFrequency(_) {}, + /*_js_helper.Primitives.timerTicks*/get timerTicks() { + return C[22] || CT.C22; + }, + set timerTicks(_) {} + }, false); + var _receiver$0 = dart.privateName(_js_helper, "JsNoSuchMethodError._receiver"); + var _message$0 = dart.privateName(_js_helper, "_message"); + var _method = dart.privateName(_js_helper, "_method"); + var _receiver$1 = dart.privateName(_js_helper, "_receiver"); + var _arguments$0 = dart.privateName(_js_helper, "_arguments"); + var _memberName$0 = dart.privateName(_js_helper, "_memberName"); + var _invocation$0 = dart.privateName(_js_helper, "_invocation"); + var _namedArguments$0 = dart.privateName(_js_helper, "_namedArguments"); + _js_helper.JsNoSuchMethodError = class JsNoSuchMethodError extends core.Error { + get [_receiver$1]() { + return this[_receiver$0]; + } + set [_receiver$1](value) { + super[_receiver$1] = value; + } + toString() { + if (this[_method] == null) return "NoSuchMethodError: " + dart.str(this[_message$0]); + if (this[_receiver$1] == null) { + return "NoSuchMethodError: method not found: '" + dart.str(this[_method]) + "' (" + dart.str(this[_message$0]) + ")"; + } + return "NoSuchMethodError: " + "method not found: '" + dart.str(this[_method]) + "' on '" + dart.str(this[_receiver$1]) + "' (" + dart.str(this[_message$0]) + ")"; + } + get [_receiver$]() { + return this[$noSuchMethod](new core._Invocation.getter(C[23] || CT.C23)); + } + get [_arguments$]() { + return T$.ListN().as(this[$noSuchMethod](new core._Invocation.getter(C[24] || CT.C24))); + } + get [_memberName$]() { + return core.Symbol.as(this[$noSuchMethod](new core._Invocation.getter(C[25] || CT.C25))); + } + get [_invocation$]() { + return T$.InvocationN().as(this[$noSuchMethod](new core._Invocation.getter(C[26] || CT.C26))); + } + get [_namedArguments$]() { + return T$.MapNOfSymbol$dynamic().as(this[$noSuchMethod](new core._Invocation.getter(C[27] || CT.C27))); + } + }; + (_js_helper.JsNoSuchMethodError.new = function(_message, match) { + this[_message$0] = _message; + this[_method] = match == null ? null : match.method; + this[_receiver$0] = match == null ? null : match.receiver; + _js_helper.JsNoSuchMethodError.__proto__.new.call(this); + ; + }).prototype = _js_helper.JsNoSuchMethodError.prototype; + dart.addTypeTests(_js_helper.JsNoSuchMethodError); + dart.addTypeCaches(_js_helper.JsNoSuchMethodError); + _js_helper.JsNoSuchMethodError[dart.implements] = () => [core.NoSuchMethodError]; + dart.setGetterSignature(_js_helper.JsNoSuchMethodError, () => ({ + __proto__: dart.getGetters(_js_helper.JsNoSuchMethodError.__proto__), + [_receiver$]: dart.nullable(core.Object), + [_arguments$]: dart.nullable(core.List), + [_memberName$]: core.Symbol, + [_invocation$]: dart.nullable(core.Invocation), + [_namedArguments$]: dart.nullable(core.Map$(core.Symbol, dart.dynamic)) + })); + dart.setLibraryUri(_js_helper.JsNoSuchMethodError, I[45]); + dart.setFieldSignature(_js_helper.JsNoSuchMethodError, () => ({ + __proto__: dart.getFields(_js_helper.JsNoSuchMethodError.__proto__), + [_message$0]: dart.finalFieldType(dart.nullable(core.String)), + [_method]: dart.finalFieldType(dart.nullable(core.String)), + [_receiver$1]: dart.finalFieldType(dart.nullable(core.String)) + })); + dart.defineExtensionMethods(_js_helper.JsNoSuchMethodError, ['toString']); + _js_helper.UnknownJsTypeError = class UnknownJsTypeError extends core.Error { + toString() { + return this[_message$0][$isEmpty] ? "Error" : "Error: " + dart.str(this[_message$0]); + } + }; + (_js_helper.UnknownJsTypeError.new = function(_message) { + if (_message == null) dart.nullFailed(I[46], 570, 27, "_message"); + this[_message$0] = _message; + _js_helper.UnknownJsTypeError.__proto__.new.call(this); + ; + }).prototype = _js_helper.UnknownJsTypeError.prototype; + dart.addTypeTests(_js_helper.UnknownJsTypeError); + dart.addTypeCaches(_js_helper.UnknownJsTypeError); + dart.setLibraryUri(_js_helper.UnknownJsTypeError, I[45]); + dart.setFieldSignature(_js_helper.UnknownJsTypeError, () => ({ + __proto__: dart.getFields(_js_helper.UnknownJsTypeError.__proto__), + [_message$0]: dart.finalFieldType(core.String) + })); + dart.defineExtensionMethods(_js_helper.UnknownJsTypeError, ['toString']); + var types$0 = dart.privateName(_js_helper, "Creates.types"); + _js_helper.Creates = class Creates extends core.Object { + get types() { + return this[types$0]; + } + set types(value) { + super.types = value; + } + }; + (_js_helper.Creates.new = function(types) { + if (types == null) dart.nullFailed(I[46], 644, 22, "types"); + this[types$0] = types; + ; + }).prototype = _js_helper.Creates.prototype; + dart.addTypeTests(_js_helper.Creates); + dart.addTypeCaches(_js_helper.Creates); + dart.setLibraryUri(_js_helper.Creates, I[45]); + dart.setFieldSignature(_js_helper.Creates, () => ({ + __proto__: dart.getFields(_js_helper.Creates.__proto__), + types: dart.finalFieldType(core.String) + })); + var types$1 = dart.privateName(_js_helper, "Returns.types"); + _js_helper.Returns = class Returns extends core.Object { + get types() { + return this[types$1]; + } + set types(value) { + super.types = value; + } + }; + (_js_helper.Returns.new = function(types) { + if (types == null) dart.nullFailed(I[46], 670, 22, "types"); + this[types$1] = types; + ; + }).prototype = _js_helper.Returns.prototype; + dart.addTypeTests(_js_helper.Returns); + dart.addTypeCaches(_js_helper.Returns); + dart.setLibraryUri(_js_helper.Returns, I[45]); + dart.setFieldSignature(_js_helper.Returns, () => ({ + __proto__: dart.getFields(_js_helper.Returns.__proto__), + types: dart.finalFieldType(core.String) + })); + var name$6 = dart.privateName(_js_helper, "JSName.name"); + _js_helper.JSName = class JSName extends core.Object { + get name() { + return this[name$6]; + } + set name(value) { + super.name = value; + } + }; + (_js_helper.JSName.new = function(name) { + if (name == null) dart.nullFailed(I[46], 687, 21, "name"); + this[name$6] = name; + ; + }).prototype = _js_helper.JSName.prototype; + dart.addTypeTests(_js_helper.JSName); + dart.addTypeCaches(_js_helper.JSName); + dart.setLibraryUri(_js_helper.JSName, I[45]); + dart.setFieldSignature(_js_helper.JSName, () => ({ + __proto__: dart.getFields(_js_helper.JSName.__proto__), + name: dart.finalFieldType(core.String) + })); + const _is_JavaScriptIndexingBehavior_default = Symbol('_is_JavaScriptIndexingBehavior_default'); + _js_helper.JavaScriptIndexingBehavior$ = dart.generic(E => { + class JavaScriptIndexingBehavior extends _interceptors.JSMutableIndexable$(E) {} + (JavaScriptIndexingBehavior.new = function() { + ; + }).prototype = JavaScriptIndexingBehavior.prototype; + dart.addTypeTests(JavaScriptIndexingBehavior); + JavaScriptIndexingBehavior.prototype[_is_JavaScriptIndexingBehavior_default] = true; + dart.addTypeCaches(JavaScriptIndexingBehavior); + dart.setLibraryUri(JavaScriptIndexingBehavior, I[45]); + return JavaScriptIndexingBehavior; + }); + _js_helper.JavaScriptIndexingBehavior = _js_helper.JavaScriptIndexingBehavior$(); + dart.addTypeTests(_js_helper.JavaScriptIndexingBehavior, _is_JavaScriptIndexingBehavior_default); + _js_helper.TypeErrorImpl = class TypeErrorImpl extends core.Error { + toString() { + return this[_message$0]; + } + }; + (_js_helper.TypeErrorImpl.new = function(_message) { + if (_message == null) dart.nullFailed(I[46], 701, 22, "_message"); + this[_message$0] = _message; + _js_helper.TypeErrorImpl.__proto__.new.call(this); + ; + }).prototype = _js_helper.TypeErrorImpl.prototype; + dart.addTypeTests(_js_helper.TypeErrorImpl); + dart.addTypeCaches(_js_helper.TypeErrorImpl); + _js_helper.TypeErrorImpl[dart.implements] = () => [core.TypeError, core.CastError]; + dart.setLibraryUri(_js_helper.TypeErrorImpl, I[45]); + dart.setFieldSignature(_js_helper.TypeErrorImpl, () => ({ + __proto__: dart.getFields(_js_helper.TypeErrorImpl.__proto__), + [_message$0]: dart.finalFieldType(core.String) + })); + dart.defineExtensionMethods(_js_helper.TypeErrorImpl, ['toString']); + _js_helper.CastErrorImpl = class CastErrorImpl extends core.Error { + toString() { + return this[_message$0]; + } + }; + (_js_helper.CastErrorImpl.new = function(_message) { + if (_message == null) dart.nullFailed(I[46], 710, 22, "_message"); + this[_message$0] = _message; + _js_helper.CastErrorImpl.__proto__.new.call(this); + ; + }).prototype = _js_helper.CastErrorImpl.prototype; + dart.addTypeTests(_js_helper.CastErrorImpl); + dart.addTypeCaches(_js_helper.CastErrorImpl); + _js_helper.CastErrorImpl[dart.implements] = () => [core.CastError, core.TypeError]; + dart.setLibraryUri(_js_helper.CastErrorImpl, I[45]); + dart.setFieldSignature(_js_helper.CastErrorImpl, () => ({ + __proto__: dart.getFields(_js_helper.CastErrorImpl.__proto__), + [_message$0]: dart.finalFieldType(core.String) + })); + dart.defineExtensionMethods(_js_helper.CastErrorImpl, ['toString']); + core.FallThroughError = class FallThroughError extends core.Error { + toString() { + return super[$toString](); + } + }; + (core.FallThroughError.new = function() { + core.FallThroughError.__proto__.new.call(this); + ; + }).prototype = core.FallThroughError.prototype; + (core.FallThroughError._create = function(url, line) { + if (url == null) dart.nullFailed(I[7], 292, 35, "url"); + if (line == null) dart.nullFailed(I[7], 292, 44, "line"); + core.FallThroughError.__proto__.new.call(this); + ; + }).prototype = core.FallThroughError.prototype; + dart.addTypeTests(core.FallThroughError); + dart.addTypeCaches(core.FallThroughError); + dart.setLibraryUri(core.FallThroughError, I[8]); + dart.defineExtensionMethods(core.FallThroughError, ['toString']); + _js_helper.FallThroughErrorImplementation = class FallThroughErrorImplementation extends core.FallThroughError { + toString() { + return "Switch case fall-through."; + } + }; + (_js_helper.FallThroughErrorImplementation.new = function() { + _js_helper.FallThroughErrorImplementation.__proto__.new.call(this); + ; + }).prototype = _js_helper.FallThroughErrorImplementation.prototype; + dart.addTypeTests(_js_helper.FallThroughErrorImplementation); + dart.addTypeCaches(_js_helper.FallThroughErrorImplementation); + dart.setLibraryUri(_js_helper.FallThroughErrorImplementation, I[45]); + dart.defineExtensionMethods(_js_helper.FallThroughErrorImplementation, ['toString']); + var message$ = dart.privateName(_js_helper, "RuntimeError.message"); + _js_helper.RuntimeError = class RuntimeError extends core.Error { + get message() { + return this[message$]; + } + set message(value) { + super.message = value; + } + toString() { + return "RuntimeError: " + dart.str(this.message); + } + }; + (_js_helper.RuntimeError.new = function(message) { + this[message$] = message; + _js_helper.RuntimeError.__proto__.new.call(this); + ; + }).prototype = _js_helper.RuntimeError.prototype; + dart.addTypeTests(_js_helper.RuntimeError); + dart.addTypeCaches(_js_helper.RuntimeError); + dart.setLibraryUri(_js_helper.RuntimeError, I[45]); + dart.setFieldSignature(_js_helper.RuntimeError, () => ({ + __proto__: dart.getFields(_js_helper.RuntimeError.__proto__), + message: dart.finalFieldType(dart.dynamic) + })); + dart.defineExtensionMethods(_js_helper.RuntimeError, ['toString']); + var enclosingLibrary$ = dart.privateName(_js_helper, "DeferredNotLoadedError.enclosingLibrary"); + var importPrefix$ = dart.privateName(_js_helper, "DeferredNotLoadedError.importPrefix"); + _js_helper.DeferredNotLoadedError = class DeferredNotLoadedError extends core.Error { + get enclosingLibrary() { + return this[enclosingLibrary$]; + } + set enclosingLibrary(value) { + this[enclosingLibrary$] = value; + } + get importPrefix() { + return this[importPrefix$]; + } + set importPrefix(value) { + this[importPrefix$] = value; + } + toString() { + return "Deferred import " + dart.str(this.importPrefix) + " (from " + dart.str(this.enclosingLibrary) + ") was not loaded."; + } + get [_receiver$]() { + return this[$noSuchMethod](new core._Invocation.getter(C[23] || CT.C23)); + } + get [_arguments$]() { + return T$.ListN().as(this[$noSuchMethod](new core._Invocation.getter(C[24] || CT.C24))); + } + get [_memberName$]() { + return core.Symbol.as(this[$noSuchMethod](new core._Invocation.getter(C[25] || CT.C25))); + } + get [_invocation$]() { + return T$.InvocationN().as(this[$noSuchMethod](new core._Invocation.getter(C[26] || CT.C26))); + } + get [_namedArguments$]() { + return T$.MapNOfSymbol$dynamic().as(this[$noSuchMethod](new core._Invocation.getter(C[27] || CT.C27))); + } + }; + (_js_helper.DeferredNotLoadedError.new = function(enclosingLibrary, importPrefix) { + if (enclosingLibrary == null) dart.nullFailed(I[46], 732, 31, "enclosingLibrary"); + if (importPrefix == null) dart.nullFailed(I[46], 732, 54, "importPrefix"); + this[enclosingLibrary$] = enclosingLibrary; + this[importPrefix$] = importPrefix; + _js_helper.DeferredNotLoadedError.__proto__.new.call(this); + ; + }).prototype = _js_helper.DeferredNotLoadedError.prototype; + dart.addTypeTests(_js_helper.DeferredNotLoadedError); + dart.addTypeCaches(_js_helper.DeferredNotLoadedError); + _js_helper.DeferredNotLoadedError[dart.implements] = () => [core.NoSuchMethodError]; + dart.setGetterSignature(_js_helper.DeferredNotLoadedError, () => ({ + __proto__: dart.getGetters(_js_helper.DeferredNotLoadedError.__proto__), + [_receiver$]: dart.nullable(core.Object), + [_arguments$]: dart.nullable(core.List), + [_memberName$]: core.Symbol, + [_invocation$]: dart.nullable(core.Invocation), + [_namedArguments$]: dart.nullable(core.Map$(core.Symbol, dart.dynamic)) + })); + dart.setLibraryUri(_js_helper.DeferredNotLoadedError, I[45]); + dart.setFieldSignature(_js_helper.DeferredNotLoadedError, () => ({ + __proto__: dart.getFields(_js_helper.DeferredNotLoadedError.__proto__), + enclosingLibrary: dart.fieldType(core.String), + importPrefix: dart.fieldType(core.String) + })); + dart.defineExtensionMethods(_js_helper.DeferredNotLoadedError, ['toString']); + var _fileUri$ = dart.privateName(_js_helper, "_fileUri"); + var _line$ = dart.privateName(_js_helper, "_line"); + var _column$ = dart.privateName(_js_helper, "_column"); + var _conditionSource$ = dart.privateName(_js_helper, "_conditionSource"); + var message$0 = dart.privateName(core, "AssertionError.message"); + core.AssertionError = class AssertionError extends core.Error { + get message() { + return this[message$0]; + } + set message(value) { + super.message = value; + } + toString() { + if (this.message != null) { + return "Assertion failed: " + dart.str(core.Error.safeToString(this.message)); + } + return "Assertion failed"; + } + }; + (core.AssertionError.new = function(message = null) { + this[message$0] = message; + core.AssertionError.__proto__.new.call(this); + ; + }).prototype = core.AssertionError.prototype; + dart.addTypeTests(core.AssertionError); + dart.addTypeCaches(core.AssertionError); + dart.setLibraryUri(core.AssertionError, I[8]); + dart.setFieldSignature(core.AssertionError, () => ({ + __proto__: dart.getFields(core.AssertionError.__proto__), + message: dart.finalFieldType(dart.nullable(core.Object)) + })); + dart.defineExtensionMethods(core.AssertionError, ['toString']); + _js_helper.AssertionErrorImpl = class AssertionErrorImpl extends core.AssertionError { + toString() { + let failureMessage = ""; + if (this[_fileUri$] != null && this[_line$] != null && this[_column$] != null && this[_conditionSource$] != null) { + failureMessage = failureMessage + (dart.str(this[_fileUri$]) + ":" + dart.str(this[_line$]) + ":" + dart.str(this[_column$]) + "\n" + dart.str(this[_conditionSource$]) + "\n"); + } + failureMessage = failureMessage + dart.notNull(this.message != null ? core.Error.safeToString(this.message) : "is not true"); + return "Assertion failed: " + failureMessage; + } + }; + (_js_helper.AssertionErrorImpl.new = function(message, _fileUri = null, _line = null, _column = null, _conditionSource = null) { + this[_fileUri$] = _fileUri; + this[_line$] = _line; + this[_column$] = _column; + this[_conditionSource$] = _conditionSource; + _js_helper.AssertionErrorImpl.__proto__.new.call(this, message); + ; + }).prototype = _js_helper.AssertionErrorImpl.prototype; + dart.addTypeTests(_js_helper.AssertionErrorImpl); + dart.addTypeCaches(_js_helper.AssertionErrorImpl); + dart.setLibraryUri(_js_helper.AssertionErrorImpl, I[45]); + dart.setFieldSignature(_js_helper.AssertionErrorImpl, () => ({ + __proto__: dart.getFields(_js_helper.AssertionErrorImpl.__proto__), + [_fileUri$]: dart.finalFieldType(dart.nullable(core.String)), + [_line$]: dart.finalFieldType(dart.nullable(core.int)), + [_column$]: dart.finalFieldType(dart.nullable(core.int)), + [_conditionSource$]: dart.finalFieldType(dart.nullable(core.String)) + })); + dart.defineExtensionMethods(_js_helper.AssertionErrorImpl, ['toString']); + _js_helper.BooleanConversionAssertionError = class BooleanConversionAssertionError extends core.AssertionError { + toString() { + return "Failed assertion: boolean expression must not be null"; + } + }; + (_js_helper.BooleanConversionAssertionError.new = function() { + _js_helper.BooleanConversionAssertionError.__proto__.new.call(this); + ; + }).prototype = _js_helper.BooleanConversionAssertionError.prototype; + dart.addTypeTests(_js_helper.BooleanConversionAssertionError); + dart.addTypeCaches(_js_helper.BooleanConversionAssertionError); + dart.setLibraryUri(_js_helper.BooleanConversionAssertionError, I[45]); + dart.defineExtensionMethods(_js_helper.BooleanConversionAssertionError, ['toString']); + var _name$1 = dart.privateName(_js_helper, "PrivateSymbol._name"); + var _nativeSymbol$ = dart.privateName(_js_helper, "PrivateSymbol._nativeSymbol"); + var _name = dart.privateName(_js_helper, "_name"); + var _nativeSymbol = dart.privateName(_js_helper, "_nativeSymbol"); + _js_helper.PrivateSymbol = class PrivateSymbol extends core.Object { + get [_name]() { + return this[_name$1]; + } + set [_name](value) { + super[_name] = value; + } + get [_nativeSymbol]() { + return this[_nativeSymbol$]; + } + set [_nativeSymbol](value) { + super[_nativeSymbol] = value; + } + static getName(symbol) { + if (symbol == null) dart.nullFailed(I[46], 815, 32, "symbol"); + return _js_helper.PrivateSymbol.as(symbol)[_name]; + } + static getNativeSymbol(symbol) { + if (symbol == null) dart.nullFailed(I[46], 817, 41, "symbol"); + if (_js_helper.PrivateSymbol.is(symbol)) return symbol[_nativeSymbol]; + return null; + } + _equals(other) { + if (other == null) return false; + return _js_helper.PrivateSymbol.is(other) && this[_name] == other[_name] && core.identical(this[_nativeSymbol], other[_nativeSymbol]); + } + get hashCode() { + return dart.hashCode(this[_name]); + } + toString() { + return "Symbol(\"" + dart.str(this[_name]) + "\")"; + } + }; + (_js_helper.PrivateSymbol.new = function(_name, _nativeSymbol) { + if (_name == null) dart.nullFailed(I[46], 813, 28, "_name"); + if (_nativeSymbol == null) dart.nullFailed(I[46], 813, 40, "_nativeSymbol"); + this[_name$1] = _name; + this[_nativeSymbol$] = _nativeSymbol; + ; + }).prototype = _js_helper.PrivateSymbol.prototype; + dart.addTypeTests(_js_helper.PrivateSymbol); + dart.addTypeCaches(_js_helper.PrivateSymbol); + _js_helper.PrivateSymbol[dart.implements] = () => [core.Symbol]; + dart.setLibraryUri(_js_helper.PrivateSymbol, I[45]); + dart.setFieldSignature(_js_helper.PrivateSymbol, () => ({ + __proto__: dart.getFields(_js_helper.PrivateSymbol.__proto__), + [_name]: dart.finalFieldType(core.String), + [_nativeSymbol]: dart.finalFieldType(core.Object) + })); + dart.defineExtensionMethods(_js_helper.PrivateSymbol, ['_equals', 'toString']); + dart.defineExtensionAccessors(_js_helper.PrivateSymbol, ['hashCode']); + _js_helper.ForceInline = class ForceInline extends core.Object {}; + (_js_helper.ForceInline.new = function() { + ; + }).prototype = _js_helper.ForceInline.prototype; + dart.addTypeTests(_js_helper.ForceInline); + dart.addTypeCaches(_js_helper.ForceInline); + dart.setLibraryUri(_js_helper.ForceInline, I[45]); + _js_helper._NotNull = class _NotNull extends core.Object {}; + (_js_helper._NotNull.new = function() { + ; + }).prototype = _js_helper._NotNull.prototype; + dart.addTypeTests(_js_helper._NotNull); + dart.addTypeCaches(_js_helper._NotNull); + dart.setLibraryUri(_js_helper._NotNull, I[45]); + _js_helper.NoReifyGeneric = class NoReifyGeneric extends core.Object {}; + (_js_helper.NoReifyGeneric.new = function() { + ; + }).prototype = _js_helper.NoReifyGeneric.prototype; + dart.addTypeTests(_js_helper.NoReifyGeneric); + dart.addTypeCaches(_js_helper.NoReifyGeneric); + dart.setLibraryUri(_js_helper.NoReifyGeneric, I[45]); + var value$1 = dart.privateName(_js_helper, "ReifyFunctionTypes.value"); + _js_helper.ReifyFunctionTypes = class ReifyFunctionTypes extends core.Object { + get value() { + return this[value$1]; + } + set value(value) { + super.value = value; + } + }; + (_js_helper.ReifyFunctionTypes.new = function(value) { + if (value == null) dart.nullFailed(I[47], 39, 33, "value"); + this[value$1] = value; + ; + }).prototype = _js_helper.ReifyFunctionTypes.prototype; + dart.addTypeTests(_js_helper.ReifyFunctionTypes); + dart.addTypeCaches(_js_helper.ReifyFunctionTypes); + dart.setLibraryUri(_js_helper.ReifyFunctionTypes, I[45]); + dart.setFieldSignature(_js_helper.ReifyFunctionTypes, () => ({ + __proto__: dart.getFields(_js_helper.ReifyFunctionTypes.__proto__), + value: dart.finalFieldType(core.bool) + })); + _js_helper._NullCheck = class _NullCheck extends core.Object {}; + (_js_helper._NullCheck.new = function() { + ; + }).prototype = _js_helper._NullCheck.prototype; + dart.addTypeTests(_js_helper._NullCheck); + dart.addTypeCaches(_js_helper._NullCheck); + dart.setLibraryUri(_js_helper._NullCheck, I[45]); + _js_helper._Undefined = class _Undefined extends core.Object {}; + (_js_helper._Undefined.new = function() { + ; + }).prototype = _js_helper._Undefined.prototype; + dart.addTypeTests(_js_helper._Undefined); + dart.addTypeCaches(_js_helper._Undefined); + dart.setLibraryUri(_js_helper._Undefined, I[45]); + _js_helper.NoThrows = class NoThrows extends core.Object {}; + (_js_helper.NoThrows.new = function() { + ; + }).prototype = _js_helper.NoThrows.prototype; + dart.addTypeTests(_js_helper.NoThrows); + dart.addTypeCaches(_js_helper.NoThrows); + dart.setLibraryUri(_js_helper.NoThrows, I[45]); + _js_helper.NoInline = class NoInline extends core.Object {}; + (_js_helper.NoInline.new = function() { + ; + }).prototype = _js_helper.NoInline.prototype; + dart.addTypeTests(_js_helper.NoInline); + dart.addTypeCaches(_js_helper.NoInline); + dart.setLibraryUri(_js_helper.NoInline, I[45]); + var name$7 = dart.privateName(_js_helper, "Native.name"); + _js_helper.Native = class Native extends core.Object { + get name() { + return this[name$7]; + } + set name(value) { + super.name = value; + } + }; + (_js_helper.Native.new = function(name) { + if (name == null) dart.nullFailed(I[47], 76, 21, "name"); + this[name$7] = name; + ; + }).prototype = _js_helper.Native.prototype; + dart.addTypeTests(_js_helper.Native); + dart.addTypeCaches(_js_helper.Native); + dart.setLibraryUri(_js_helper.Native, I[45]); + dart.setFieldSignature(_js_helper.Native, () => ({ + __proto__: dart.getFields(_js_helper.Native.__proto__), + name: dart.finalFieldType(core.String) + })); + var name$8 = dart.privateName(_js_helper, "JsPeerInterface.name"); + _js_helper.JsPeerInterface = class JsPeerInterface extends core.Object { + get name() { + return this[name$8]; + } + set name(value) { + super.name = value; + } + }; + (_js_helper.JsPeerInterface.new = function(opts) { + let name = opts && 'name' in opts ? opts.name : null; + if (name == null) dart.nullFailed(I[47], 84, 40, "name"); + this[name$8] = name; + ; + }).prototype = _js_helper.JsPeerInterface.prototype; + dart.addTypeTests(_js_helper.JsPeerInterface); + dart.addTypeCaches(_js_helper.JsPeerInterface); + dart.setLibraryUri(_js_helper.JsPeerInterface, I[45]); + dart.setFieldSignature(_js_helper.JsPeerInterface, () => ({ + __proto__: dart.getFields(_js_helper.JsPeerInterface.__proto__), + name: dart.finalFieldType(core.String) + })); + _js_helper.SupportJsExtensionMethods = class SupportJsExtensionMethods extends core.Object {}; + (_js_helper.SupportJsExtensionMethods.new = function() { + ; + }).prototype = _js_helper.SupportJsExtensionMethods.prototype; + dart.addTypeTests(_js_helper.SupportJsExtensionMethods); + dart.addTypeCaches(_js_helper.SupportJsExtensionMethods); + dart.setLibraryUri(_js_helper.SupportJsExtensionMethods, I[45]); + var _modifications = dart.privateName(_js_helper, "_modifications"); + var _map$ = dart.privateName(_js_helper, "_map"); + const _is_InternalMap_default = Symbol('_is_InternalMap_default'); + _js_helper.InternalMap$ = dart.generic((K, V) => { + class InternalMap extends collection.MapBase$(K, V) { + forEach(action) { + if (action == null) dart.nullFailed(I[48], 18, 21, "action"); + let modifications = this[_modifications]; + for (let entry of this[_map$].entries()) { + action(entry[0], entry[1]); + if (modifications !== this[_modifications]) { + dart.throw(new core.ConcurrentModificationError.new(this)); + } + } + } + } + (InternalMap.new = function() { + ; + }).prototype = InternalMap.prototype; + dart.addTypeTests(InternalMap); + InternalMap.prototype[_is_InternalMap_default] = true; + dart.addTypeCaches(InternalMap); + InternalMap[dart.implements] = () => [collection.LinkedHashMap$(K, V), collection.HashMap$(K, V)]; + dart.setLibraryUri(InternalMap, I[45]); + dart.defineExtensionMethods(InternalMap, ['forEach']); + return InternalMap; + }); + _js_helper.InternalMap = _js_helper.InternalMap$(); + dart.addTypeTests(_js_helper.InternalMap, _is_InternalMap_default); + var _map = dart.privateName(_js_helper, "LinkedMap._map"); + var _modifications$ = dart.privateName(_js_helper, "LinkedMap._modifications"); + var _keyMap = dart.privateName(_js_helper, "_keyMap"); + const _is_LinkedMap_default = Symbol('_is_LinkedMap_default'); + _js_helper.LinkedMap$ = dart.generic((K, V) => { + var _JSMapIterableOfK = () => (_JSMapIterableOfK = dart.constFn(_js_helper._JSMapIterable$(K)))(); + var MapOfK$V = () => (MapOfK$V = dart.constFn(core.Map$(K, V)))(); + var KAndVTovoid = () => (KAndVTovoid = dart.constFn(dart.fnType(dart.void, [K, V])))(); + var _JSMapIterableOfV = () => (_JSMapIterableOfV = dart.constFn(_js_helper._JSMapIterable$(V)))(); + var VoidToV = () => (VoidToV = dart.constFn(dart.fnType(V, [])))(); + class LinkedMap extends _js_helper.InternalMap$(K, V) { + get [_map$]() { + return this[_map]; + } + set [_map$](value) { + super[_map$] = value; + } + get [_modifications]() { + return this[_modifications$]; + } + set [_modifications](value) { + this[_modifications$] = value; + } + get length() { + return this[_map$].size; + } + get isEmpty() { + return this[_map$].size == 0; + } + get isNotEmpty() { + return this[_map$].size != 0; + } + get keys() { + return new (_JSMapIterableOfK()).new(this, true); + } + get values() { + return new (_JSMapIterableOfV()).new(this, false); + } + containsKey(key) { + if (key == null) { + key = null; + } else if (key[$_equals] !== dart.identityEquals) { + let buckets = this[_keyMap].get(dart.hashCode(key) & 0x3ffffff); + if (buckets != null) { + for (let i = 0, n = buckets.length; i < n; i = i + 1) { + let k = buckets[i]; + if (dart.equals(k, key)) return true; + } + } + return false; + } + return this[_map$].has(key); + } + containsValue(value) { + for (let v of this[_map$].values()) { + if (dart.equals(v, value)) return true; + } + return false; + } + addAll(other) { + MapOfK$V().as(other); + if (other == null) dart.nullFailed(I[48], 121, 25, "other"); + let map = this[_map$]; + let length = map.size; + other[$forEach](dart.fn((key, value) => { + if (key == null) { + key = null; + } else if (key[$_equals] !== dart.identityEquals) { + key = _js_helper.putLinkedMapKey(key, this[_keyMap]); + } + this[_map$].set(key, value); + }, KAndVTovoid())); + if (length !== map.size) { + this[_modifications] = this[_modifications] + 1 & 67108863; + } + } + _get(key) { + if (key == null) { + key = null; + } else if (key[$_equals] !== dart.identityEquals) { + let buckets = this[_keyMap].get(dart.hashCode(key) & 0x3ffffff); + if (buckets != null) { + for (let i = 0, n = buckets.length; i < n; i = i + 1) { + let k = buckets[i]; + if (dart.equals(k, key)) return this[_map$].get(k); + } + } + return null; + } + let value = this[_map$].get(key); + return value == null ? null : value; + } + _set(key, value$) { + let value = value$; + K.as(key); + V.as(value); + if (key == null) { + key = null; + } else if (key[$_equals] !== dart.identityEquals) { + key = _js_helper.putLinkedMapKey(key, this[_keyMap]); + } + let map = this[_map$]; + let length = map.size; + map.set(key, value); + if (length !== map.size) { + this[_modifications] = this[_modifications] + 1 & 67108863; + } + return value$; + } + putIfAbsent(key, ifAbsent) { + K.as(key); + VoidToV().as(ifAbsent); + if (ifAbsent == null) dart.nullFailed(I[48], 171, 26, "ifAbsent"); + let map = this[_map$]; + if (key == null) { + key = null; + if (map.has(null)) return map.get(null); + } else if (key[$_equals] !== dart.identityEquals) { + let k = key; + let hash = dart.hashCode(k) & 0x3ffffff; + let buckets = this[_keyMap].get(hash); + if (buckets == null) { + this[_keyMap].set(hash, [key]); + } else { + for (let i = 0, n = buckets.length; i < n; i = i + 1) { + k = buckets[i]; + if (dart.equals(k, key)) return map.get(k); + } + buckets.push(key); + } + } else if (map.has(key)) { + return map.get(key); + } + let value = ifAbsent(); + if (value == null) { + value = null; + } + map.set(key, value); + this[_modifications] = this[_modifications] + 1 & 67108863; + return value; + } + remove(key) { + if (key == null) { + key = null; + } else if (key[$_equals] !== dart.identityEquals) { + let hash = dart.hashCode(key) & 0x3ffffff; + let buckets = this[_keyMap].get(hash); + if (buckets == null) return null; + for (let i = 0, n = buckets.length;;) { + let k = buckets[i]; + if (dart.equals(k, key)) { + key = k; + if (n === 1) { + this[_keyMap].delete(hash); + } else { + buckets.splice(i, 1); + } + break; + } + if ((i = i + 1) >= n) return null; + } + } + let map = this[_map$]; + let value = map.get(key); + if (map.delete(key)) { + this[_modifications] = this[_modifications] + 1 & 67108863; + } + return value == null ? null : value; + } + clear() { + let map = this[_map$]; + if (map.size > 0) { + map.clear(); + this[_keyMap].clear(); + this[_modifications] = this[_modifications] + 1 & 67108863; + } + } + } + (LinkedMap.new = function() { + this[_map] = new Map(); + this[_keyMap] = new Map(); + this[_modifications$] = 0; + ; + }).prototype = LinkedMap.prototype; + (LinkedMap.from = function(entries) { + if (entries == null) dart.nullFailed(I[48], 68, 26, "entries"); + this[_map] = new Map(); + this[_keyMap] = new Map(); + this[_modifications$] = 0; + let map = this[_map$]; + let keyMap = this[_keyMap]; + for (let i = 0, n = entries.length; i < n; i = i + 2) { + let key = entries[i]; + let value = entries[i + 1]; + if (key == null) { + key = null; + } else if (key[$_equals] !== dart.identityEquals) { + key = _js_helper.putLinkedMapKey(key, keyMap); + } + map.set(key, value); + } + }).prototype = LinkedMap.prototype; + dart.addTypeTests(LinkedMap); + LinkedMap.prototype[_is_LinkedMap_default] = true; + dart.addTypeCaches(LinkedMap); + dart.setMethodSignature(LinkedMap, () => ({ + __proto__: dart.getMethods(LinkedMap.__proto__), + _get: dart.fnType(dart.nullable(V), [dart.nullable(core.Object)]), + [$_get]: dart.fnType(dart.nullable(V), [dart.nullable(core.Object)]), + _set: dart.fnType(dart.void, [dart.nullable(core.Object), dart.nullable(core.Object)]), + [$_set]: dart.fnType(dart.void, [dart.nullable(core.Object), dart.nullable(core.Object)]), + remove: dart.fnType(dart.nullable(V), [dart.nullable(core.Object)]), + [$remove]: dart.fnType(dart.nullable(V), [dart.nullable(core.Object)]), + clear: dart.fnType(dart.void, []), + [$clear]: dart.fnType(dart.void, []) + })); + dart.setGetterSignature(LinkedMap, () => ({ + __proto__: dart.getGetters(LinkedMap.__proto__), + keys: core.Iterable$(K), + [$keys]: core.Iterable$(K) + })); + dart.setLibraryUri(LinkedMap, I[45]); + dart.setFieldSignature(LinkedMap, () => ({ + __proto__: dart.getFields(LinkedMap.__proto__), + [_map$]: dart.finalFieldType(dart.dynamic), + [_keyMap]: dart.finalFieldType(dart.nullable(core.Object)), + [_modifications]: dart.fieldType(core.int) + })); + dart.defineExtensionMethods(LinkedMap, [ + 'containsKey', + 'containsValue', + 'addAll', + '_get', + '_set', + 'putIfAbsent', + 'remove', + 'clear' + ]); + dart.defineExtensionAccessors(LinkedMap, [ + 'length', + 'isEmpty', + 'isNotEmpty', + 'keys', + 'values' + ]); + return LinkedMap; + }); + _js_helper.LinkedMap = _js_helper.LinkedMap$(); + dart.addTypeTests(_js_helper.LinkedMap, _is_LinkedMap_default); + const _is_ImmutableMap_default = Symbol('_is_ImmutableMap_default'); + _js_helper.ImmutableMap$ = dart.generic((K, V) => { + var VoidToV = () => (VoidToV = dart.constFn(dart.fnType(V, [])))(); + class ImmutableMap extends _js_helper.LinkedMap$(K, V) { + _set(key, value$) { + let value = value$; + K.as(key); + V.as(value); + dart.throw(_js_helper.ImmutableMap._unsupported()); + return value$; + } + addAll(other) { + core.Object.as(other); + if (other == null) dart.nullFailed(I[48], 268, 22, "other"); + return dart.throw(_js_helper.ImmutableMap._unsupported()); + } + clear() { + return dart.throw(_js_helper.ImmutableMap._unsupported()); + } + remove(key) { + return dart.throw(_js_helper.ImmutableMap._unsupported()); + } + putIfAbsent(key, ifAbsent) { + K.as(key); + VoidToV().as(ifAbsent); + if (ifAbsent == null) dart.nullFailed(I[48], 271, 26, "ifAbsent"); + return dart.throw(_js_helper.ImmutableMap._unsupported()); + } + static _unsupported() { + return new core.UnsupportedError.new("Cannot modify unmodifiable map"); + } + } + (ImmutableMap.from = function(entries) { + if (entries == null) dart.nullFailed(I[48], 262, 29, "entries"); + ImmutableMap.__proto__.from.call(this, entries); + ; + }).prototype = ImmutableMap.prototype; + dart.addTypeTests(ImmutableMap); + ImmutableMap.prototype[_is_ImmutableMap_default] = true; + dart.addTypeCaches(ImmutableMap); + dart.setLibraryUri(ImmutableMap, I[45]); + dart.defineExtensionMethods(ImmutableMap, [ + '_set', + 'addAll', + 'clear', + 'remove', + 'putIfAbsent' + ]); + return ImmutableMap; + }); + _js_helper.ImmutableMap = _js_helper.ImmutableMap$(); + dart.addTypeTests(_js_helper.ImmutableMap, _is_ImmutableMap_default); + var _map$0 = dart.privateName(_js_helper, "IdentityMap._map"); + var _modifications$0 = dart.privateName(_js_helper, "IdentityMap._modifications"); + const _is_IdentityMap_default = Symbol('_is_IdentityMap_default'); + _js_helper.IdentityMap$ = dart.generic((K, V) => { + var _JSMapIterableOfK = () => (_JSMapIterableOfK = dart.constFn(_js_helper._JSMapIterable$(K)))(); + var MapOfK$V = () => (MapOfK$V = dart.constFn(core.Map$(K, V)))(); + var KAndVTovoid = () => (KAndVTovoid = dart.constFn(dart.fnType(dart.void, [K, V])))(); + var _JSMapIterableOfV = () => (_JSMapIterableOfV = dart.constFn(_js_helper._JSMapIterable$(V)))(); + var VoidToV = () => (VoidToV = dart.constFn(dart.fnType(V, [])))(); + class IdentityMap extends _js_helper.InternalMap$(K, V) { + get [_map$]() { + return this[_map$0]; + } + set [_map$](value) { + super[_map$] = value; + } + get [_modifications]() { + return this[_modifications$0]; + } + set [_modifications](value) { + this[_modifications$0] = value; + } + get length() { + return this[_map$].size; + } + get isEmpty() { + return this[_map$].size == 0; + } + get isNotEmpty() { + return this[_map$].size != 0; + } + get keys() { + return new (_JSMapIterableOfK()).new(this, true); + } + get values() { + return new (_JSMapIterableOfV()).new(this, false); + } + containsKey(key) { + return this[_map$].has(key); + } + containsValue(value) { + for (let v of this[_map$].values()) { + if (dart.equals(v, value)) return true; + } + return false; + } + addAll(other) { + MapOfK$V().as(other); + if (other == null) dart.nullFailed(I[49], 47, 25, "other"); + if (dart.test(other[$isNotEmpty])) { + let map = this[_map$]; + other[$forEach](dart.fn((key, value) => { + map.set(key, value); + }, KAndVTovoid())); + this[_modifications] = this[_modifications] + 1 & 67108863; + } + } + _get(key) { + let value = this[_map$].get(key); + return value == null ? null : value; + } + _set(key, value$) { + let value = value$; + K.as(key); + V.as(value); + let map = this[_map$]; + let length = map.size; + map.set(key, value); + if (length !== map.size) { + this[_modifications] = this[_modifications] + 1 & 67108863; + } + return value$; + } + putIfAbsent(key, ifAbsent) { + K.as(key); + VoidToV().as(ifAbsent); + if (ifAbsent == null) dart.nullFailed(I[49], 71, 26, "ifAbsent"); + if (this[_map$].has(key)) { + return this[_map$].get(key); + } + let value = ifAbsent(); + if (value == null) value = null; + this[_map$].set(key, value); + this[_modifications] = this[_modifications] + 1 & 67108863; + return value; + } + remove(key) { + let value = this[_map$].get(key); + if (this[_map$].delete(key)) { + this[_modifications] = this[_modifications] + 1 & 67108863; + } + return value == null ? null : value; + } + clear() { + if (this[_map$].size > 0) { + this[_map$].clear(); + this[_modifications] = this[_modifications] + 1 & 67108863; + } + } + } + (IdentityMap.new = function() { + this[_map$0] = new Map(); + this[_modifications$0] = 0; + ; + }).prototype = IdentityMap.prototype; + (IdentityMap.from = function(entries) { + if (entries == null) dart.nullFailed(I[49], 22, 28, "entries"); + this[_map$0] = new Map(); + this[_modifications$0] = 0; + let map = this[_map$]; + for (let i = 0, n = entries.length; i < n; i = i + 2) { + map.set(entries[i], entries[i + 1]); + } + }).prototype = IdentityMap.prototype; + dart.addTypeTests(IdentityMap); + IdentityMap.prototype[_is_IdentityMap_default] = true; + dart.addTypeCaches(IdentityMap); + dart.setMethodSignature(IdentityMap, () => ({ + __proto__: dart.getMethods(IdentityMap.__proto__), + _get: dart.fnType(dart.nullable(V), [dart.nullable(core.Object)]), + [$_get]: dart.fnType(dart.nullable(V), [dart.nullable(core.Object)]), + _set: dart.fnType(dart.void, [dart.nullable(core.Object), dart.nullable(core.Object)]), + [$_set]: dart.fnType(dart.void, [dart.nullable(core.Object), dart.nullable(core.Object)]), + remove: dart.fnType(dart.nullable(V), [dart.nullable(core.Object)]), + [$remove]: dart.fnType(dart.nullable(V), [dart.nullable(core.Object)]), + clear: dart.fnType(dart.void, []), + [$clear]: dart.fnType(dart.void, []) + })); + dart.setGetterSignature(IdentityMap, () => ({ + __proto__: dart.getGetters(IdentityMap.__proto__), + keys: core.Iterable$(K), + [$keys]: core.Iterable$(K) + })); + dart.setLibraryUri(IdentityMap, I[45]); + dart.setFieldSignature(IdentityMap, () => ({ + __proto__: dart.getFields(IdentityMap.__proto__), + [_map$]: dart.finalFieldType(dart.dynamic), + [_modifications]: dart.fieldType(core.int) + })); + dart.defineExtensionMethods(IdentityMap, [ + 'containsKey', + 'containsValue', + 'addAll', + '_get', + '_set', + 'putIfAbsent', + 'remove', + 'clear' + ]); + dart.defineExtensionAccessors(IdentityMap, [ + 'length', + 'isEmpty', + 'isNotEmpty', + 'keys', + 'values' + ]); + return IdentityMap; + }); + _js_helper.IdentityMap = _js_helper.IdentityMap$(); + dart.addTypeTests(_js_helper.IdentityMap, _is_IdentityMap_default); + var _isKeys$ = dart.privateName(_js_helper, "_isKeys"); + const _is__JSMapIterable_default = Symbol('_is__JSMapIterable_default'); + _js_helper._JSMapIterable$ = dart.generic(E => { + var DartIteratorOfE = () => (DartIteratorOfE = dart.constFn(_js_helper.DartIterator$(E)))(); + class _JSMapIterable extends _internal.EfficientLengthIterable$(E) { + get length() { + return this[_map$][$length]; + } + get isEmpty() { + return this[_map$][$isEmpty]; + } + [Symbol.iterator]() { + let map = this[_map$]; + let iterator = this[_isKeys$] ? map[_map$].keys() : map[_map$].values(); + let modifications = map[_modifications]; + return { + next() { + if (modifications != map[_modifications]) { + throw new core.ConcurrentModificationError.new(map); + } + return iterator.next(); + } + }; + } + get iterator() { + return new (DartIteratorOfE()).new(this[Symbol.iterator]()); + } + contains(element) { + return this[_isKeys$] ? this[_map$][$containsKey](element) : this[_map$][$containsValue](element); + } + forEach(f) { + if (f == null) dart.nullFailed(I[49], 134, 33, "f"); + for (let entry of this) + f(entry); + } + } + (_JSMapIterable.new = function(_map, _isKeys) { + if (_map == null) dart.nullFailed(I[49], 102, 23, "_map"); + if (_isKeys == null) dart.nullFailed(I[49], 102, 34, "_isKeys"); + this[_map$] = _map; + this[_isKeys$] = _isKeys; + _JSMapIterable.__proto__.new.call(this); + ; + }).prototype = _JSMapIterable.prototype; + dart.addTypeTests(_JSMapIterable); + _JSMapIterable.prototype[_is__JSMapIterable_default] = true; + dart.addTypeCaches(_JSMapIterable); + dart.setMethodSignature(_JSMapIterable, () => ({ + __proto__: dart.getMethods(_JSMapIterable.__proto__), + [Symbol.iterator]: dart.fnType(dart.dynamic, []) + })); + dart.setGetterSignature(_JSMapIterable, () => ({ + __proto__: dart.getGetters(_JSMapIterable.__proto__), + iterator: core.Iterator$(E), + [$iterator]: core.Iterator$(E) + })); + dart.setLibraryUri(_JSMapIterable, I[45]); + dart.setFieldSignature(_JSMapIterable, () => ({ + __proto__: dart.getFields(_JSMapIterable.__proto__), + [_map$]: dart.finalFieldType(_js_helper.InternalMap), + [_isKeys$]: dart.finalFieldType(core.bool) + })); + dart.defineExtensionMethods(_JSMapIterable, ['contains', 'forEach']); + dart.defineExtensionAccessors(_JSMapIterable, ['length', 'isEmpty', 'iterator']); + return _JSMapIterable; + }); + _js_helper._JSMapIterable = _js_helper._JSMapIterable$(); + dart.addTypeTests(_js_helper._JSMapIterable, _is__JSMapIterable_default); + var _validKey$ = dart.privateName(_js_helper, "_validKey"); + var _map$1 = dart.privateName(_js_helper, "CustomHashMap._map"); + var _modifications$1 = dart.privateName(_js_helper, "CustomHashMap._modifications"); + var _equals$ = dart.privateName(_js_helper, "_equals"); + var _hashCode$ = dart.privateName(_js_helper, "_hashCode"); + const _is_CustomHashMap_default = Symbol('_is_CustomHashMap_default'); + _js_helper.CustomHashMap$ = dart.generic((K, V) => { + var _JSMapIterableOfK = () => (_JSMapIterableOfK = dart.constFn(_js_helper._JSMapIterable$(K)))(); + var MapOfK$V = () => (MapOfK$V = dart.constFn(core.Map$(K, V)))(); + var KAndVTovoid = () => (KAndVTovoid = dart.constFn(dart.fnType(dart.void, [K, V])))(); + var _JSMapIterableOfV = () => (_JSMapIterableOfV = dart.constFn(_js_helper._JSMapIterable$(V)))(); + var VoidToV = () => (VoidToV = dart.constFn(dart.fnType(V, [])))(); + class CustomHashMap extends _js_helper.InternalMap$(K, V) { + get [_map$]() { + return this[_map$1]; + } + set [_map$](value) { + super[_map$] = value; + } + get [_modifications]() { + return this[_modifications$1]; + } + set [_modifications](value) { + this[_modifications$1] = value; + } + get length() { + return this[_map$].size; + } + get isEmpty() { + return this[_map$].size == 0; + } + get isNotEmpty() { + return this[_map$].size != 0; + } + get keys() { + return new (_JSMapIterableOfK()).new(this, true); + } + get values() { + return new (_JSMapIterableOfV()).new(this, false); + } + containsKey(key) { + let t82; + if (K.is(key)) { + let buckets = this[_keyMap].get((t82 = key, this[_hashCode$](t82)) & 0x3ffffff); + if (buckets != null) { + let equals = this[_equals$]; + for (let i = 0, n = buckets.length; i < n; i = i + 1) { + let k = buckets[i]; + if (dart.test(equals(k, key))) return true; + } + } + } + return false; + } + containsValue(value) { + for (let v of this[_map$].values()) { + if (dart.equals(value, v)) return true; + } + return false; + } + addAll(other) { + MapOfK$V().as(other); + if (other == null) dart.nullFailed(I[50], 91, 25, "other"); + other[$forEach](dart.fn((key, value) => { + this._set(key, value); + }, KAndVTovoid())); + } + _get(key) { + let t82; + if (K.is(key)) { + let buckets = this[_keyMap].get((t82 = key, this[_hashCode$](t82)) & 0x3ffffff); + if (buckets != null) { + let equals = this[_equals$]; + for (let i = 0, n = buckets.length; i < n; i = i + 1) { + let k = buckets[i]; + if (dart.test(equals(k, key))) { + let value = this[_map$].get(k); + return value == null ? null : value; + } + } + } + } + return null; + } + _set(key, value$) { + let value = value$; + let t82; + K.as(key); + V.as(value); + let keyMap = this[_keyMap]; + let hash = (t82 = key, this[_hashCode$](t82)) & 0x3ffffff; + let buckets = keyMap.get(hash); + if (buckets == null) { + keyMap.set(hash, [key]); + } else { + let equals = this[_equals$]; + for (let i = 0, n = buckets.length;;) { + let k = buckets[i]; + if (dart.test(equals(k, key))) { + key = k; + break; + } + if ((i = i + 1) >= n) { + buckets.push(key); + break; + } + } + } + this[_map$].set(key, value); + this[_modifications] = this[_modifications] + 1 & 67108863; + return value$; + } + putIfAbsent(key, ifAbsent) { + let t82; + K.as(key); + VoidToV().as(ifAbsent); + if (ifAbsent == null) dart.nullFailed(I[50], 138, 26, "ifAbsent"); + let keyMap = this[_keyMap]; + let hash = (t82 = key, this[_hashCode$](t82)) & 0x3ffffff; + let buckets = keyMap.get(hash); + if (buckets == null) { + keyMap.set(hash, [key]); + } else { + let equals = this[_equals$]; + for (let i = 0, n = buckets.length; i < n; i = i + 1) { + let k = buckets[i]; + if (dart.test(equals(k, key))) return this[_map$].get(k); + } + buckets.push(key); + } + let value = ifAbsent(); + if (value == null) value = null; + this[_map$].set(key, value); + this[_modifications] = this[_modifications] + 1 & 67108863; + return value; + } + remove(key) { + let t82; + if (K.is(key)) { + let hash = (t82 = key, this[_hashCode$](t82)) & 0x3ffffff; + let keyMap = this[_keyMap]; + let buckets = keyMap.get(hash); + if (buckets == null) return null; + let equals = this[_equals$]; + for (let i = 0, n = buckets.length; i < n; i = i + 1) { + let k = buckets[i]; + if (dart.test(equals(k, key))) { + if (n === 1) { + keyMap.delete(hash); + } else { + buckets.splice(i, 1); + } + let map = this[_map$]; + let value = map.get(k); + map.delete(k); + this[_modifications] = this[_modifications] + 1 & 67108863; + return value == null ? null : value; + } + } + } + return null; + } + clear() { + let map = this[_map$]; + if (map.size > 0) { + map.clear(); + this[_keyMap].clear(); + this[_modifications] = this[_modifications] + 1 & 67108863; + } + } + } + (CustomHashMap.new = function(_equals, _hashCode) { + if (_equals == null) dart.nullFailed(I[50], 55, 22, "_equals"); + if (_hashCode == null) dart.nullFailed(I[50], 55, 36, "_hashCode"); + this[_map$1] = new Map(); + this[_keyMap] = new Map(); + this[_modifications$1] = 0; + this[_equals$] = _equals; + this[_hashCode$] = _hashCode; + ; + }).prototype = CustomHashMap.prototype; + dart.addTypeTests(CustomHashMap); + CustomHashMap.prototype[_is_CustomHashMap_default] = true; + dart.addTypeCaches(CustomHashMap); + dart.setMethodSignature(CustomHashMap, () => ({ + __proto__: dart.getMethods(CustomHashMap.__proto__), + _get: dart.fnType(dart.nullable(V), [dart.nullable(core.Object)]), + [$_get]: dart.fnType(dart.nullable(V), [dart.nullable(core.Object)]), + _set: dart.fnType(dart.void, [dart.nullable(core.Object), dart.nullable(core.Object)]), + [$_set]: dart.fnType(dart.void, [dart.nullable(core.Object), dart.nullable(core.Object)]), + remove: dart.fnType(dart.nullable(V), [dart.nullable(core.Object)]), + [$remove]: dart.fnType(dart.nullable(V), [dart.nullable(core.Object)]), + clear: dart.fnType(dart.void, []), + [$clear]: dart.fnType(dart.void, []) + })); + dart.setGetterSignature(CustomHashMap, () => ({ + __proto__: dart.getGetters(CustomHashMap.__proto__), + keys: core.Iterable$(K), + [$keys]: core.Iterable$(K) + })); + dart.setLibraryUri(CustomHashMap, I[45]); + dart.setFieldSignature(CustomHashMap, () => ({ + __proto__: dart.getFields(CustomHashMap.__proto__), + [_map$]: dart.finalFieldType(dart.dynamic), + [_keyMap]: dart.finalFieldType(dart.nullable(core.Object)), + [_modifications]: dart.fieldType(core.int), + [_equals$]: dart.finalFieldType(dart.fnType(core.bool, [K, K])), + [_hashCode$]: dart.finalFieldType(dart.fnType(core.int, [K])) + })); + dart.defineExtensionMethods(CustomHashMap, [ + 'containsKey', + 'containsValue', + 'addAll', + '_get', + '_set', + 'putIfAbsent', + 'remove', + 'clear' + ]); + dart.defineExtensionAccessors(CustomHashMap, [ + 'length', + 'isEmpty', + 'isNotEmpty', + 'keys', + 'values' + ]); + return CustomHashMap; + }); + _js_helper.CustomHashMap = _js_helper.CustomHashMap$(); + dart.addTypeTests(_js_helper.CustomHashMap, _is_CustomHashMap_default); + const _is_CustomKeyHashMap_default = Symbol('_is_CustomKeyHashMap_default'); + _js_helper.CustomKeyHashMap$ = dart.generic((K, V) => { + class CustomKeyHashMap extends _js_helper.CustomHashMap$(K, V) { + containsKey(key) { + let t82; + if (!dart.test((t82 = key, this[_validKey$](t82)))) return false; + return super.containsKey(key); + } + _get(key) { + let t82; + if (!dart.test((t82 = key, this[_validKey$](t82)))) return null; + return super._get(key); + } + remove(key) { + let t82; + if (!dart.test((t82 = key, this[_validKey$](t82)))) return null; + return super.remove(key); + } + } + (CustomKeyHashMap.new = function(equals, hashCode, _validKey) { + if (equals == null) dart.nullFailed(I[50], 9, 33, "equals"); + if (hashCode == null) dart.nullFailed(I[50], 9, 52, "hashCode"); + if (_validKey == null) dart.nullFailed(I[50], 9, 67, "_validKey"); + this[_validKey$] = _validKey; + CustomKeyHashMap.__proto__.new.call(this, equals, hashCode); + ; + }).prototype = CustomKeyHashMap.prototype; + dart.addTypeTests(CustomKeyHashMap); + CustomKeyHashMap.prototype[_is_CustomKeyHashMap_default] = true; + dart.addTypeCaches(CustomKeyHashMap); + dart.setLibraryUri(CustomKeyHashMap, I[45]); + dart.setFieldSignature(CustomKeyHashMap, () => ({ + __proto__: dart.getFields(CustomKeyHashMap.__proto__), + [_validKey$]: dart.finalFieldType(dart.fnType(core.bool, [dart.nullable(core.Object)])) + })); + dart.defineExtensionMethods(CustomKeyHashMap, ['containsKey', '_get', 'remove']); + return CustomKeyHashMap; + }); + _js_helper.CustomKeyHashMap = _js_helper.CustomKeyHashMap$(); + dart.addTypeTests(_js_helper.CustomKeyHashMap, _is_CustomKeyHashMap_default); + var pattern = dart.privateName(_js_helper, "JSSyntaxRegExp.pattern"); + var _nativeGlobalRegExp = dart.privateName(_js_helper, "_nativeGlobalRegExp"); + var _nativeAnchoredRegExp = dart.privateName(_js_helper, "_nativeAnchoredRegExp"); + var _nativeRegExp = dart.privateName(_js_helper, "_nativeRegExp"); + var _isMultiLine = dart.privateName(_js_helper, "_isMultiLine"); + var _isCaseSensitive = dart.privateName(_js_helper, "_isCaseSensitive"); + var _isUnicode = dart.privateName(_js_helper, "_isUnicode"); + var _isDotAll = dart.privateName(_js_helper, "_isDotAll"); + var _nativeGlobalVersion = dart.privateName(_js_helper, "_nativeGlobalVersion"); + var _nativeAnchoredVersion = dart.privateName(_js_helper, "_nativeAnchoredVersion"); + var _execGlobal = dart.privateName(_js_helper, "_execGlobal"); + var _execAnchored = dart.privateName(_js_helper, "_execAnchored"); + _js_helper.JSSyntaxRegExp = class JSSyntaxRegExp extends core.Object { + get pattern() { + return this[pattern]; + } + set pattern(value) { + super.pattern = value; + } + toString() { + return "RegExp/" + dart.str(this.pattern) + "/" + this[_nativeRegExp].flags; + } + get [_nativeGlobalVersion]() { + if (this[_nativeGlobalRegExp] != null) return this[_nativeGlobalRegExp]; + return this[_nativeGlobalRegExp] = _js_helper.JSSyntaxRegExp.makeNative(this.pattern, this[_isMultiLine], this[_isCaseSensitive], this[_isUnicode], this[_isDotAll], true); + } + get [_nativeAnchoredVersion]() { + if (this[_nativeAnchoredRegExp] != null) return this[_nativeAnchoredRegExp]; + return this[_nativeAnchoredRegExp] = _js_helper.JSSyntaxRegExp.makeNative(dart.str(this.pattern) + "|()", this[_isMultiLine], this[_isCaseSensitive], this[_isUnicode], this[_isDotAll], true); + } + get [_isMultiLine]() { + return this[_nativeRegExp].multiline; + } + get [_isCaseSensitive]() { + return !this[_nativeRegExp].ignoreCase; + } + get [_isUnicode]() { + return this[_nativeRegExp].unicode; + } + get [_isDotAll]() { + return this[_nativeRegExp].dotAll == true; + } + static makeNative(source, multiLine, caseSensitive, unicode, dotAll, global) { + if (source == null) dart.argumentError(source); + if (multiLine == null) dart.nullFailed(I[51], 86, 52, "multiLine"); + if (caseSensitive == null) dart.nullFailed(I[51], 87, 12, "caseSensitive"); + if (unicode == null) dart.nullFailed(I[51], 87, 32, "unicode"); + if (dotAll == null) dart.nullFailed(I[51], 87, 46, "dotAll"); + if (global == null) dart.nullFailed(I[51], 87, 59, "global"); + let m = dart.test(multiLine) ? "m" : ""; + let i = dart.test(caseSensitive) ? "" : "i"; + let u = dart.test(unicode) ? "u" : ""; + let s = dart.test(dotAll) ? "s" : ""; + let g = dart.test(global) ? "g" : ""; + let regexp = (function() { + try { + return new RegExp(source, m + i + u + s + g); + } catch (e) { + return e; + } + })(); + if (regexp instanceof RegExp) return regexp; + let errorMessage = String(regexp); + dart.throw(new core.FormatException.new("Illegal RegExp pattern: " + source + ", " + errorMessage)); + } + firstMatch(string) { + if (string == null) dart.argumentError(string); + let m = this[_nativeRegExp].exec(string); + if (m == null) return null; + return new _js_helper._MatchImplementation.new(this, m); + } + hasMatch(string) { + if (string == null) dart.argumentError(string); + return this[_nativeRegExp].test(string); + } + stringMatch(string) { + if (string == null) dart.nullFailed(I[51], 131, 30, "string"); + let match = this.firstMatch(string); + if (match != null) return match.group(0); + return null; + } + allMatches(string, start = 0) { + if (string == null) dart.argumentError(string); + if (start == null) dart.argumentError(start); + if (start < 0 || start > string.length) { + dart.throw(new core.RangeError.range(start, 0, string.length)); + } + return new _js_helper._AllMatchesIterable.new(this, string, start); + } + [_execGlobal](string, start) { + if (string == null) dart.nullFailed(I[51], 145, 35, "string"); + if (start == null) dart.nullFailed(I[51], 145, 47, "start"); + let regexp = core.Object.as(this[_nativeGlobalVersion]); + regexp.lastIndex = start; + let match = regexp.exec(string); + if (match == null) return null; + return new _js_helper._MatchImplementation.new(this, match); + } + [_execAnchored](string, start) { + let t82; + if (string == null) dart.nullFailed(I[51], 155, 37, "string"); + if (start == null) dart.nullFailed(I[51], 155, 49, "start"); + let regexp = core.Object.as(this[_nativeAnchoredVersion]); + regexp.lastIndex = start; + let match = regexp.exec(string); + if (match == null) return null; + if (match[$_get](dart.notNull(match[$length]) - 1) != null) return null; + t82 = match; + t82[$length] = dart.notNull(t82[$length]) - 1; + return new _js_helper._MatchImplementation.new(this, match); + } + matchAsPrefix(string, start = 0) { + if (string == null) dart.nullFailed(I[51], 169, 31, "string"); + if (start == null) dart.nullFailed(I[51], 169, 44, "start"); + if (dart.notNull(start) < 0 || dart.notNull(start) > string.length) { + dart.throw(new core.RangeError.range(start, 0, string.length)); + } + return this[_execAnchored](string, start); + } + get isMultiLine() { + return this[_isMultiLine]; + } + get isCaseSensitive() { + return this[_isCaseSensitive]; + } + get isUnicode() { + return this[_isUnicode]; + } + get isDotAll() { + return this[_isDotAll]; + } + }; + (_js_helper.JSSyntaxRegExp.new = function(source, opts) { + if (source == null) dart.nullFailed(I[51], 53, 25, "source"); + let multiLine = opts && 'multiLine' in opts ? opts.multiLine : false; + if (multiLine == null) dart.nullFailed(I[51], 54, 13, "multiLine"); + let caseSensitive = opts && 'caseSensitive' in opts ? opts.caseSensitive : true; + if (caseSensitive == null) dart.nullFailed(I[51], 55, 12, "caseSensitive"); + let unicode = opts && 'unicode' in opts ? opts.unicode : false; + if (unicode == null) dart.nullFailed(I[51], 56, 12, "unicode"); + let dotAll = opts && 'dotAll' in opts ? opts.dotAll : false; + if (dotAll == null) dart.nullFailed(I[51], 57, 12, "dotAll"); + this[_nativeGlobalRegExp] = null; + this[_nativeAnchoredRegExp] = null; + this[pattern] = source; + this[_nativeRegExp] = _js_helper.JSSyntaxRegExp.makeNative(source, multiLine, caseSensitive, unicode, dotAll, false); + ; + }).prototype = _js_helper.JSSyntaxRegExp.prototype; + dart.addTypeTests(_js_helper.JSSyntaxRegExp); + dart.addTypeCaches(_js_helper.JSSyntaxRegExp); + _js_helper.JSSyntaxRegExp[dart.implements] = () => [core.RegExp]; + dart.setMethodSignature(_js_helper.JSSyntaxRegExp, () => ({ + __proto__: dart.getMethods(_js_helper.JSSyntaxRegExp.__proto__), + firstMatch: dart.fnType(dart.nullable(core.RegExpMatch), [core.String]), + hasMatch: dart.fnType(core.bool, [core.String]), + stringMatch: dart.fnType(dart.nullable(core.String), [core.String]), + allMatches: dart.fnType(core.Iterable$(core.RegExpMatch), [core.String], [core.int]), + [$allMatches]: dart.fnType(core.Iterable$(core.RegExpMatch), [core.String], [core.int]), + [_execGlobal]: dart.fnType(dart.nullable(core.RegExpMatch), [core.String, core.int]), + [_execAnchored]: dart.fnType(dart.nullable(core.RegExpMatch), [core.String, core.int]), + matchAsPrefix: dart.fnType(dart.nullable(core.Match), [core.String], [core.int]), + [$matchAsPrefix]: dart.fnType(dart.nullable(core.Match), [core.String], [core.int]) + })); + dart.setGetterSignature(_js_helper.JSSyntaxRegExp, () => ({ + __proto__: dart.getGetters(_js_helper.JSSyntaxRegExp.__proto__), + [_nativeGlobalVersion]: dart.dynamic, + [_nativeAnchoredVersion]: dart.dynamic, + [_isMultiLine]: core.bool, + [_isCaseSensitive]: core.bool, + [_isUnicode]: core.bool, + [_isDotAll]: core.bool, + isMultiLine: core.bool, + isCaseSensitive: core.bool, + isUnicode: core.bool, + isDotAll: core.bool + })); + dart.setLibraryUri(_js_helper.JSSyntaxRegExp, I[45]); + dart.setFieldSignature(_js_helper.JSSyntaxRegExp, () => ({ + __proto__: dart.getFields(_js_helper.JSSyntaxRegExp.__proto__), + pattern: dart.finalFieldType(core.String), + [_nativeRegExp]: dart.finalFieldType(dart.dynamic), + [_nativeGlobalRegExp]: dart.fieldType(dart.dynamic), + [_nativeAnchoredRegExp]: dart.fieldType(dart.dynamic) + })); + dart.defineExtensionMethods(_js_helper.JSSyntaxRegExp, ['toString', 'allMatches', 'matchAsPrefix']); + var _match$ = dart.privateName(_js_helper, "_match"); + _js_helper._MatchImplementation = class _MatchImplementation extends core.Object { + get input() { + return this[_match$].input; + } + get start() { + return this[_match$].index; + } + get end() { + return dart.notNull(this.start) + dart.nullCheck(this[_match$][$_get](0)).length; + } + group(index) { + if (index == null) dart.nullFailed(I[51], 200, 21, "index"); + return this[_match$][$_get](index); + } + _get(index) { + if (index == null) dart.nullFailed(I[51], 201, 27, "index"); + return this.group(index); + } + get groupCount() { + return dart.notNull(this[_match$][$length]) - 1; + } + groups(groups) { + if (groups == null) dart.nullFailed(I[51], 204, 34, "groups"); + let out = T$.JSArrayOfStringN().of([]); + for (let i of groups) { + out[$add](this.group(i)); + } + return out; + } + namedGroup(name) { + if (name == null) dart.nullFailed(I[51], 212, 29, "name"); + let groups = this[_match$].groups; + if (groups != null) { + let result = groups[name]; + if (result != null || name in groups) { + return result; + } + } + dart.throw(new core.ArgumentError.value(name, "name", "Not a capture group name")); + } + get groupNames() { + let groups = this[_match$].groups; + if (groups != null) { + let keys = T$.JSArrayOfString().of(Object.keys(groups)); + return new (T$.SubListIterableOfString()).new(keys, 0, null); + } + return new (T$.EmptyIterableOfString()).new(); + } + }; + (_js_helper._MatchImplementation.new = function(pattern, _match) { + if (pattern == null) dart.nullFailed(I[51], 191, 29, "pattern"); + if (_match == null) dart.nullFailed(I[51], 191, 43, "_match"); + this.pattern = pattern; + this[_match$] = _match; + if (!(typeof this[_match$].input == 'string')) dart.assertFailed(null, I[51], 192, 12, "JS(\"var\", \"#.input\", _match) is String"); + if (!core.int.is(this[_match$].index)) dart.assertFailed(null, I[51], 193, 12, "JS(\"var\", \"#.index\", _match) is int"); + }).prototype = _js_helper._MatchImplementation.prototype; + dart.addTypeTests(_js_helper._MatchImplementation); + dart.addTypeCaches(_js_helper._MatchImplementation); + _js_helper._MatchImplementation[dart.implements] = () => [core.RegExpMatch]; + dart.setMethodSignature(_js_helper._MatchImplementation, () => ({ + __proto__: dart.getMethods(_js_helper._MatchImplementation.__proto__), + group: dart.fnType(dart.nullable(core.String), [core.int]), + _get: dart.fnType(dart.nullable(core.String), [core.int]), + groups: dart.fnType(core.List$(dart.nullable(core.String)), [core.List$(core.int)]), + namedGroup: dart.fnType(dart.nullable(core.String), [core.String]) + })); + dart.setGetterSignature(_js_helper._MatchImplementation, () => ({ + __proto__: dart.getGetters(_js_helper._MatchImplementation.__proto__), + input: core.String, + start: core.int, + end: core.int, + groupCount: core.int, + groupNames: core.Iterable$(core.String) + })); + dart.setLibraryUri(_js_helper._MatchImplementation, I[45]); + dart.setFieldSignature(_js_helper._MatchImplementation, () => ({ + __proto__: dart.getFields(_js_helper._MatchImplementation.__proto__), + pattern: dart.finalFieldType(core.Pattern), + [_match$]: dart.finalFieldType(core.List$(dart.nullable(core.String))) + })); + var _re$ = dart.privateName(_js_helper, "_re"); + var _string$0 = dart.privateName(_js_helper, "_string"); + var _start$0 = dart.privateName(_js_helper, "_start"); + core.RegExpMatch = class RegExpMatch extends core.Object {}; + (core.RegExpMatch.new = function() { + ; + }).prototype = core.RegExpMatch.prototype; + dart.addTypeTests(core.RegExpMatch); + dart.addTypeCaches(core.RegExpMatch); + core.RegExpMatch[dart.implements] = () => [core.Match]; + dart.setLibraryUri(core.RegExpMatch, I[8]); + _js_helper._AllMatchesIterable = class _AllMatchesIterable extends collection.IterableBase$(core.RegExpMatch) { + get iterator() { + return new _js_helper._AllMatchesIterator.new(this[_re$], this[_string$0], this[_start$0]); + } + }; + (_js_helper._AllMatchesIterable.new = function(_re, _string, _start) { + if (_re == null) dart.nullFailed(I[51], 238, 28, "_re"); + if (_string == null) dart.nullFailed(I[51], 238, 38, "_string"); + if (_start == null) dart.nullFailed(I[51], 238, 52, "_start"); + this[_re$] = _re; + this[_string$0] = _string; + this[_start$0] = _start; + _js_helper._AllMatchesIterable.__proto__.new.call(this); + ; + }).prototype = _js_helper._AllMatchesIterable.prototype; + dart.addTypeTests(_js_helper._AllMatchesIterable); + dart.addTypeCaches(_js_helper._AllMatchesIterable); + dart.setGetterSignature(_js_helper._AllMatchesIterable, () => ({ + __proto__: dart.getGetters(_js_helper._AllMatchesIterable.__proto__), + iterator: core.Iterator$(core.RegExpMatch), + [$iterator]: core.Iterator$(core.RegExpMatch) + })); + dart.setLibraryUri(_js_helper._AllMatchesIterable, I[45]); + dart.setFieldSignature(_js_helper._AllMatchesIterable, () => ({ + __proto__: dart.getFields(_js_helper._AllMatchesIterable.__proto__), + [_re$]: dart.finalFieldType(_js_helper.JSSyntaxRegExp), + [_string$0]: dart.finalFieldType(core.String), + [_start$0]: dart.finalFieldType(core.int) + })); + dart.defineExtensionAccessors(_js_helper._AllMatchesIterable, ['iterator']); + var _regExp$ = dart.privateName(_js_helper, "_regExp"); + var _nextIndex$ = dart.privateName(_js_helper, "_nextIndex"); + _js_helper._AllMatchesIterator = class _AllMatchesIterator extends core.Object { + get current() { + return dart.nullCast(this[_current$0], core.RegExpMatch); + } + static _isLeadSurrogate(c) { + if (c == null) dart.nullFailed(I[51], 254, 36, "c"); + return dart.notNull(c) >= 55296 && dart.notNull(c) <= 56319; + } + static _isTrailSurrogate(c) { + if (c == null) dart.nullFailed(I[51], 258, 37, "c"); + return dart.notNull(c) >= 56320 && dart.notNull(c) <= 57343; + } + moveNext() { + let string = this[_string$0]; + if (string == null) return false; + if (dart.notNull(this[_nextIndex$]) <= string.length) { + let match = this[_regExp$][_execGlobal](string, this[_nextIndex$]); + if (match != null) { + this[_current$0] = match; + let nextIndex = match.end; + if (match.start == nextIndex) { + if (dart.test(this[_regExp$].isUnicode) && dart.notNull(this[_nextIndex$]) + 1 < string.length && dart.test(_js_helper._AllMatchesIterator._isLeadSurrogate(string[$codeUnitAt](this[_nextIndex$]))) && dart.test(_js_helper._AllMatchesIterator._isTrailSurrogate(string[$codeUnitAt](dart.notNull(this[_nextIndex$]) + 1)))) { + nextIndex = dart.notNull(nextIndex) + 1; + } + nextIndex = dart.notNull(nextIndex) + 1; + } + this[_nextIndex$] = nextIndex; + return true; + } + } + this[_current$0] = null; + this[_string$0] = null; + return false; + } + }; + (_js_helper._AllMatchesIterator.new = function(_regExp, _string, _nextIndex) { + if (_regExp == null) dart.nullFailed(I[51], 250, 28, "_regExp"); + if (_nextIndex == null) dart.nullFailed(I[51], 250, 56, "_nextIndex"); + this[_current$0] = null; + this[_regExp$] = _regExp; + this[_string$0] = _string; + this[_nextIndex$] = _nextIndex; + ; + }).prototype = _js_helper._AllMatchesIterator.prototype; + dart.addTypeTests(_js_helper._AllMatchesIterator); + dart.addTypeCaches(_js_helper._AllMatchesIterator); + _js_helper._AllMatchesIterator[dart.implements] = () => [core.Iterator$(core.RegExpMatch)]; + dart.setMethodSignature(_js_helper._AllMatchesIterator, () => ({ + __proto__: dart.getMethods(_js_helper._AllMatchesIterator.__proto__), + moveNext: dart.fnType(core.bool, []) + })); + dart.setGetterSignature(_js_helper._AllMatchesIterator, () => ({ + __proto__: dart.getGetters(_js_helper._AllMatchesIterator.__proto__), + current: core.RegExpMatch + })); + dart.setLibraryUri(_js_helper._AllMatchesIterator, I[45]); + dart.setFieldSignature(_js_helper._AllMatchesIterator, () => ({ + __proto__: dart.getFields(_js_helper._AllMatchesIterator.__proto__), + [_regExp$]: dart.finalFieldType(_js_helper.JSSyntaxRegExp), + [_string$0]: dart.fieldType(dart.nullable(core.String)), + [_nextIndex$]: dart.fieldType(core.int), + [_current$0]: dart.fieldType(dart.nullable(core.RegExpMatch)) + })); + var start$0 = dart.privateName(_js_helper, "StringMatch.start"); + var input$ = dart.privateName(_js_helper, "StringMatch.input"); + var pattern$ = dart.privateName(_js_helper, "StringMatch.pattern"); + _js_helper.StringMatch = class StringMatch extends core.Object { + get start() { + return this[start$0]; + } + set start(value) { + super.start = value; + } + get input() { + return this[input$]; + } + set input(value) { + super.input = value; + } + get pattern() { + return this[pattern$]; + } + set pattern(value) { + super.pattern = value; + } + get end() { + return dart.notNull(this.start) + this.pattern.length; + } + _get(g) { + if (g == null) dart.nullFailed(I[52], 31, 26, "g"); + return this.group(g); + } + get groupCount() { + return 0; + } + group(group_) { + if (group_ == null) dart.nullFailed(I[52], 34, 20, "group_"); + if (group_ !== 0) { + dart.throw(new core.RangeError.value(group_)); + } + return this.pattern; + } + groups(groups_) { + if (groups_ == null) dart.nullFailed(I[52], 41, 33, "groups_"); + let result = T$.JSArrayOfString().of([]); + for (let g of groups_) { + result[$add](this.group(g)); + } + return result; + } + }; + (_js_helper.StringMatch.new = function(start, input, pattern) { + if (start == null) dart.nullFailed(I[52], 28, 30, "start"); + if (input == null) dart.nullFailed(I[52], 28, 49, "input"); + if (pattern == null) dart.nullFailed(I[52], 28, 68, "pattern"); + this[start$0] = start; + this[input$] = input; + this[pattern$] = pattern; + ; + }).prototype = _js_helper.StringMatch.prototype; + dart.addTypeTests(_js_helper.StringMatch); + dart.addTypeCaches(_js_helper.StringMatch); + _js_helper.StringMatch[dart.implements] = () => [core.Match]; + dart.setMethodSignature(_js_helper.StringMatch, () => ({ + __proto__: dart.getMethods(_js_helper.StringMatch.__proto__), + _get: dart.fnType(core.String, [core.int]), + group: dart.fnType(core.String, [core.int]), + groups: dart.fnType(core.List$(core.String), [core.List$(core.int)]) + })); + dart.setGetterSignature(_js_helper.StringMatch, () => ({ + __proto__: dart.getGetters(_js_helper.StringMatch.__proto__), + end: core.int, + groupCount: core.int + })); + dart.setLibraryUri(_js_helper.StringMatch, I[45]); + dart.setFieldSignature(_js_helper.StringMatch, () => ({ + __proto__: dart.getFields(_js_helper.StringMatch.__proto__), + start: dart.finalFieldType(core.int), + input: dart.finalFieldType(core.String), + pattern: dart.finalFieldType(core.String) + })); + var _input$ = dart.privateName(_js_helper, "_input"); + var _pattern$ = dart.privateName(_js_helper, "_pattern"); + var _index$0 = dart.privateName(_js_helper, "_index"); + core.Match = class Match extends core.Object {}; + (core.Match.new = function() { + ; + }).prototype = core.Match.prototype; + dart.addTypeTests(core.Match); + dart.addTypeCaches(core.Match); + dart.setLibraryUri(core.Match, I[8]); + _js_helper._StringAllMatchesIterable = class _StringAllMatchesIterable extends core.Iterable$(core.Match) { + get iterator() { + return new _js_helper._StringAllMatchesIterator.new(this[_input$], this[_pattern$], this[_index$0]); + } + get first() { + let index = _js_helper.stringIndexOfStringUnchecked(this[_input$], this[_pattern$], this[_index$0]); + if (index >= 0) { + return new _js_helper.StringMatch.new(index, this[_input$], this[_pattern$]); + } + dart.throw(_internal.IterableElementError.noElement()); + } + }; + (_js_helper._StringAllMatchesIterable.new = function(_input, _pattern, _index) { + if (_input == null) dart.nullFailed(I[52], 64, 34, "_input"); + if (_pattern == null) dart.nullFailed(I[52], 64, 47, "_pattern"); + if (_index == null) dart.nullFailed(I[52], 64, 62, "_index"); + this[_input$] = _input; + this[_pattern$] = _pattern; + this[_index$0] = _index; + _js_helper._StringAllMatchesIterable.__proto__.new.call(this); + ; + }).prototype = _js_helper._StringAllMatchesIterable.prototype; + dart.addTypeTests(_js_helper._StringAllMatchesIterable); + dart.addTypeCaches(_js_helper._StringAllMatchesIterable); + dart.setGetterSignature(_js_helper._StringAllMatchesIterable, () => ({ + __proto__: dart.getGetters(_js_helper._StringAllMatchesIterable.__proto__), + iterator: core.Iterator$(core.Match), + [$iterator]: core.Iterator$(core.Match) + })); + dart.setLibraryUri(_js_helper._StringAllMatchesIterable, I[45]); + dart.setFieldSignature(_js_helper._StringAllMatchesIterable, () => ({ + __proto__: dart.getFields(_js_helper._StringAllMatchesIterable.__proto__), + [_input$]: dart.finalFieldType(core.String), + [_pattern$]: dart.finalFieldType(core.String), + [_index$0]: dart.finalFieldType(core.int) + })); + dart.defineExtensionAccessors(_js_helper._StringAllMatchesIterable, ['iterator', 'first']); + _js_helper._StringAllMatchesIterator = class _StringAllMatchesIterator extends core.Object { + moveNext() { + if (dart.notNull(this[_index$0]) + this[_pattern$].length > this[_input$].length) { + this[_current$0] = null; + return false; + } + let index = _js_helper.stringIndexOfStringUnchecked(this[_input$], this[_pattern$], this[_index$0]); + if (index < 0) { + this[_index$0] = this[_input$].length + 1; + this[_current$0] = null; + return false; + } + let end = index + this[_pattern$].length; + this[_current$0] = new _js_helper.StringMatch.new(index, this[_input$], this[_pattern$]); + if (end === this[_index$0]) end = end + 1; + this[_index$0] = end; + return true; + } + get current() { + return dart.nullCheck(this[_current$0]); + } + }; + (_js_helper._StringAllMatchesIterator.new = function(_input, _pattern, _index) { + if (_input == null) dart.nullFailed(I[52], 84, 34, "_input"); + if (_pattern == null) dart.nullFailed(I[52], 84, 47, "_pattern"); + if (_index == null) dart.nullFailed(I[52], 84, 62, "_index"); + this[_current$0] = null; + this[_input$] = _input; + this[_pattern$] = _pattern; + this[_index$0] = _index; + ; + }).prototype = _js_helper._StringAllMatchesIterator.prototype; + dart.addTypeTests(_js_helper._StringAllMatchesIterator); + dart.addTypeCaches(_js_helper._StringAllMatchesIterator); + _js_helper._StringAllMatchesIterator[dart.implements] = () => [core.Iterator$(core.Match)]; + dart.setMethodSignature(_js_helper._StringAllMatchesIterator, () => ({ + __proto__: dart.getMethods(_js_helper._StringAllMatchesIterator.__proto__), + moveNext: dart.fnType(core.bool, []) + })); + dart.setGetterSignature(_js_helper._StringAllMatchesIterator, () => ({ + __proto__: dart.getGetters(_js_helper._StringAllMatchesIterator.__proto__), + current: core.Match + })); + dart.setLibraryUri(_js_helper._StringAllMatchesIterator, I[45]); + dart.setFieldSignature(_js_helper._StringAllMatchesIterator, () => ({ + __proto__: dart.getFields(_js_helper._StringAllMatchesIterator.__proto__), + [_input$]: dart.finalFieldType(core.String), + [_pattern$]: dart.finalFieldType(core.String), + [_index$0]: dart.fieldType(core.int), + [_current$0]: dart.fieldType(dart.nullable(core.Match)) + })); + _js_helper.diagnoseIndexError = function diagnoseIndexError(indexable, index) { + if (index == null) dart.nullFailed(I[46], 483, 41, "index"); + let length = core.int.as(dart.dload(indexable, 'length')); + if (dart.notNull(index) < 0 || dart.notNull(index) >= dart.notNull(length)) { + return new core.IndexError.new(index, indexable, "index", null, length); + } + return new core.RangeError.value(index, "index"); + }; + _js_helper.diagnoseRangeError = function diagnoseRangeError(start, end, length) { + if (length == null) dart.nullFailed(I[46], 499, 52, "length"); + if (start == null) { + return new core.ArgumentError.value(start, "start"); + } + if (dart.notNull(start) < 0 || dart.notNull(start) > dart.notNull(length)) { + return new core.RangeError.range(start, 0, length, "start"); + } + if (end != null) { + if (dart.notNull(end) < dart.notNull(start) || dart.notNull(end) > dart.notNull(length)) { + return new core.RangeError.range(end, start, length, "end"); + } + } + return new core.ArgumentError.value(end, "end"); + }; + _js_helper.stringLastIndexOfUnchecked = function stringLastIndexOfUnchecked(receiver, element, start) { + return receiver.lastIndexOf(element, start); + }; + _js_helper.argumentErrorValue = function argumentErrorValue(object) { + return new core.ArgumentError.value(object); + }; + _js_helper.throwArgumentErrorValue = function throwArgumentErrorValue(value) { + dart.throw(_js_helper.argumentErrorValue(value)); + }; + _js_helper.checkInt = function checkInt(value) { + if (!core.int.is(value)) dart.throw(_js_helper.argumentErrorValue(value)); + return value; + }; + _js_helper.throwRuntimeError = function throwRuntimeError(message) { + dart.throw(new _js_helper.RuntimeError.new(message)); + }; + _js_helper.throwAbstractClassInstantiationError = function throwAbstractClassInstantiationError(className) { + dart.throw(new core.AbstractClassInstantiationError.new(core.String.as(className))); + }; + _js_helper.throwConcurrentModificationError = function throwConcurrentModificationError(collection) { + dart.throw(new core.ConcurrentModificationError.new(collection)); + }; + _js_helper.fillLiteralMap = function fillLiteralMap(keyValuePairs, result) { + let t82, t82$; + if (result == null) dart.nullFailed(I[46], 579, 35, "result"); + let index = 0; + let length = _js_helper.getLength(keyValuePairs); + while (index < dart.notNull(length)) { + let key = _js_helper.getIndex(keyValuePairs, (t82 = index, index = t82 + 1, t82)); + let value = _js_helper.getIndex(keyValuePairs, (t82$ = index, index = t82$ + 1, t82$)); + result[$_set](key, value); + } + return result; + }; + _js_helper.jsHasOwnProperty = function jsHasOwnProperty(jsObject, property) { + if (property == null) dart.nullFailed(I[46], 592, 40, "property"); + return jsObject.hasOwnProperty(property); + }; + _js_helper.jsPropertyAccess = function jsPropertyAccess(jsObject, property) { + if (property == null) dart.nullFailed(I[46], 596, 35, "property"); + return jsObject[property]; + }; + _js_helper.getFallThroughError = function getFallThroughError() { + return new _js_helper.FallThroughErrorImplementation.new(); + }; + _js_helper.random64 = function random64() { + let int32a = Math.random() * 0x100000000 >>> 0; + let int32b = Math.random() * 0x100000000 >>> 0; + return int32a + int32b * 4294967296; + }; + _js_helper.registerGlobalObject = function registerGlobalObject(object) { + try { + if (dart.test(dart.polyfill(object))) { + dart.applyAllExtensions(object); + } + } catch (e$) { + let e = dart.getThrown(e$); + if (core.Object.is(e)) { + } else + throw e$; + } + }; + _js_helper.applyExtension = function applyExtension$(name, nativeObject) { + dart.applyExtension(name, nativeObject); + }; + _js_helper.applyTestExtensions = function applyTestExtensions(names) { + if (names == null) dart.nullFailed(I[46], 802, 39, "names"); + names[$forEach](C[28] || CT.C28); + }; + _js_helper.assertInterop = function assertInterop$(value) { + if (core.Function.is(value)) dart.assertInterop(value); + }; + _js_helper.assertInteropArgs = function assertInteropArgs(args) { + if (args == null) dart.nullFailed(I[46], 843, 38, "args"); + return args[$forEach](C[29] || CT.C29); + }; + _js_helper.getRuntimeType = function getRuntimeType(object) { + return dart.getReifiedType(object); + }; + _js_helper.getIndex = function getIndex(array, index) { + if (index == null) dart.nullFailed(I[53], 13, 21, "index"); + if (!dart.test(_js_helper.isJsArray(array))) dart.assertFailed(null, I[53], 14, 10, "isJsArray(array)"); + return array[index]; + }; + _js_helper.getLength = function getLength(array) { + if (!dart.test(_js_helper.isJsArray(array))) dart.assertFailed(null, I[53], 20, 10, "isJsArray(array)"); + return array.length; + }; + _js_helper.isJsArray = function isJsArray(value) { + return _interceptors.JSArray.is(value); + }; + _js_helper.putLinkedMapKey = function putLinkedMapKey(key, keyMap) { + let hash = key[$hashCode] & 0x3ffffff; + let buckets = keyMap.get(hash); + if (buckets == null) { + keyMap.set(hash, [key]); + return key; + } + for (let i = 0, n = buckets.length; i < n; i = i + 1) { + let k = buckets[i]; + if (k[$_equals](key)) return k; + } + buckets.push(key); + return key; + }; + _js_helper.convertDartClosureToJS = function convertDartClosureToJS(F, closure, arity) { + if (arity == null) dart.nullFailed(I[54], 9, 44, "arity"); + return closure; + }; + _js_helper.setNativeSubclassDispatchRecord = function setNativeSubclassDispatchRecord(proto, interceptor) { + }; + _js_helper.findDispatchTagForInterceptorClass = function findDispatchTagForInterceptorClass(interceptorClassConstructor) { + }; + _js_helper.makeLeafDispatchRecord = function makeLeafDispatchRecord(interceptor) { + }; + _js_helper.regExpGetNative = function regExpGetNative(regexp) { + if (regexp == null) dart.nullFailed(I[51], 8, 32, "regexp"); + return regexp[_nativeRegExp]; + }; + _js_helper.regExpGetGlobalNative = function regExpGetGlobalNative(regexp) { + if (regexp == null) dart.nullFailed(I[51], 19, 38, "regexp"); + let nativeRegexp = regexp[_nativeGlobalVersion]; + nativeRegexp.lastIndex = 0; + return nativeRegexp; + }; + _js_helper.regExpCaptureCount = function regExpCaptureCount(regexp) { + if (regexp == null) dart.nullFailed(I[51], 35, 39, "regexp"); + let nativeAnchoredRegExp = regexp[_nativeAnchoredVersion]; + let match = nativeAnchoredRegExp.exec(''); + return match[$length] - 2; + }; + _js_helper.firstMatchAfter = function firstMatchAfter(regExp, string, start) { + if (regExp == null) dart.nullFailed(I[51], 293, 45, "regExp"); + if (string == null) dart.nullFailed(I[51], 293, 60, "string"); + if (start == null) dart.nullFailed(I[51], 293, 72, "start"); + return regExp[_execGlobal](string, start); + }; + _js_helper.stringIndexOfStringUnchecked = function stringIndexOfStringUnchecked(receiver, other, startIndex) { + return receiver.indexOf(other, startIndex); + }; + _js_helper.substring1Unchecked = function substring1Unchecked(receiver, startIndex) { + return receiver.substring(startIndex); + }; + _js_helper.substring2Unchecked = function substring2Unchecked(receiver, startIndex, endIndex) { + return receiver.substring(startIndex, endIndex); + }; + _js_helper.stringContainsStringUnchecked = function stringContainsStringUnchecked(receiver, other, startIndex) { + return _js_helper.stringIndexOfStringUnchecked(receiver, other, startIndex) >= 0; + }; + _js_helper.allMatchesInStringUnchecked = function allMatchesInStringUnchecked(pattern, string, startIndex) { + if (pattern == null) dart.nullFailed(I[52], 55, 12, "pattern"); + if (string == null) dart.nullFailed(I[52], 55, 28, "string"); + if (startIndex == null) dart.nullFailed(I[52], 55, 40, "startIndex"); + return new _js_helper._StringAllMatchesIterable.new(string, pattern, startIndex); + }; + _js_helper.stringContainsUnchecked = function stringContainsUnchecked(receiver, other, startIndex) { + if (startIndex == null) dart.nullFailed(I[52], 110, 51, "startIndex"); + if (typeof other == 'string') { + return _js_helper.stringContainsStringUnchecked(receiver, other, startIndex); + } else if (_js_helper.JSSyntaxRegExp.is(other)) { + return other.hasMatch(receiver[$substring](startIndex)); + } else { + let substr = receiver[$substring](startIndex); + return core.bool.as(dart.dload(dart.dsend(other, 'allMatches', [substr]), 'isNotEmpty')); + } + }; + _js_helper.stringReplaceJS = function stringReplaceJS(receiver, replacer, replacement) { + if (receiver == null) dart.nullFailed(I[52], 122, 31, "receiver"); + if (replacement == null) dart.nullFailed(I[52], 122, 58, "replacement"); + replacement = replacement.replace(/\$/g, "$$$$"); + return receiver.replace(replacer, replacement); + }; + _js_helper.stringReplaceFirstRE = function stringReplaceFirstRE(receiver, regexp, replacement, startIndex) { + if (regexp == null) dart.nullFailed(I[52], 131, 70, "regexp"); + if (replacement == null) dart.nullFailed(I[52], 132, 12, "replacement"); + if (startIndex == null) dart.nullFailed(I[52], 132, 29, "startIndex"); + let match = regexp[_execGlobal](receiver, startIndex); + if (match == null) return receiver; + let start = match.start; + let end = match.end; + return _js_helper.stringReplaceRangeUnchecked(receiver, start, end, replacement); + }; + _js_helper.quoteStringForRegExp = function quoteStringForRegExp(string) { + return string.replace(/[[\]{}()*+?.\\^$|]/g, "\\$&"); + }; + _js_helper.stringReplaceAllUnchecked = function stringReplaceAllUnchecked(receiver, pattern, replacement) { + if (pattern == null) dart.argumentError(pattern); + if (replacement == null) dart.argumentError(replacement); + if (typeof pattern == 'string') { + if (pattern === "") { + if (receiver === "") { + return replacement; + } else { + let result = new core.StringBuffer.new(); + let length = receiver.length; + result.write(replacement); + for (let i = 0; i < length; i = i + 1) { + result.write(receiver[$_get](i)); + result.write(replacement); + } + return result.toString(); + } + } else { + return receiver.split(pattern).join(replacement); + } + } else if (_js_helper.JSSyntaxRegExp.is(pattern)) { + let re = _js_helper.regExpGetGlobalNative(pattern); + return _js_helper.stringReplaceJS(receiver, re, replacement); + } else { + dart.throw("String.replaceAll(Pattern) UNIMPLEMENTED"); + } + }; + _js_helper._matchString = function _matchString(match) { + if (match == null) dart.nullFailed(I[52], 177, 27, "match"); + return dart.nullCheck(match._get(0)); + }; + _js_helper._stringIdentity = function _stringIdentity(string) { + if (string == null) dart.nullFailed(I[52], 178, 31, "string"); + return string; + }; + _js_helper.stringReplaceAllFuncUnchecked = function stringReplaceAllFuncUnchecked(receiver, pattern, onMatch, onNonMatch) { + if (receiver == null) dart.nullFailed(I[52], 182, 12, "receiver"); + if (pattern == null) dart.argumentError(pattern); + if (onMatch == null) onMatch = C[30] || CT.C30; + if (onNonMatch == null) onNonMatch = C[31] || CT.C31; + if (typeof pattern == 'string') { + return _js_helper.stringReplaceAllStringFuncUnchecked(receiver, pattern, onMatch, onNonMatch); + } + let buffer = new core.StringBuffer.new(); + let startIndex = 0; + for (let match of pattern[$allMatches](receiver)) { + buffer.write(onNonMatch(receiver[$substring](startIndex, match.start))); + buffer.write(onMatch(match)); + startIndex = match.end; + } + buffer.write(onNonMatch(receiver[$substring](startIndex))); + return buffer.toString(); + }; + _js_helper.stringReplaceAllEmptyFuncUnchecked = function stringReplaceAllEmptyFuncUnchecked(receiver, onMatch, onNonMatch) { + if (receiver == null) dart.nullFailed(I[52], 204, 50, "receiver"); + if (onMatch == null) dart.nullFailed(I[52], 205, 12, "onMatch"); + if (onNonMatch == null) dart.nullFailed(I[52], 205, 41, "onNonMatch"); + let buffer = new core.StringBuffer.new(); + let length = receiver.length; + let i = 0; + buffer.write(onNonMatch("")); + while (i < length) { + buffer.write(onMatch(new _js_helper.StringMatch.new(i, receiver, ""))); + let code = receiver[$codeUnitAt](i); + if ((code & ~1023 >>> 0) === 55296 && length > i + 1) { + code = receiver[$codeUnitAt](i + 1); + if ((code & ~1023 >>> 0) === 56320) { + buffer.write(onNonMatch(receiver[$substring](i, i + 2))); + i = i + 2; + continue; + } + } + buffer.write(onNonMatch(receiver[$_get](i))); + i = i + 1; + } + buffer.write(onMatch(new _js_helper.StringMatch.new(i, receiver, ""))); + buffer.write(onNonMatch("")); + return buffer.toString(); + }; + _js_helper.stringReplaceAllStringFuncUnchecked = function stringReplaceAllStringFuncUnchecked(receiver, pattern, onMatch, onNonMatch) { + if (receiver == null) dart.nullFailed(I[52], 234, 51, "receiver"); + if (pattern == null) dart.nullFailed(I[52], 234, 68, "pattern"); + if (onMatch == null) dart.nullFailed(I[52], 235, 12, "onMatch"); + if (onNonMatch == null) dart.nullFailed(I[52], 235, 41, "onNonMatch"); + let patternLength = pattern.length; + if (patternLength === 0) { + return _js_helper.stringReplaceAllEmptyFuncUnchecked(receiver, onMatch, onNonMatch); + } + let length = receiver.length; + let buffer = new core.StringBuffer.new(); + let startIndex = 0; + while (startIndex < length) { + let position = _js_helper.stringIndexOfStringUnchecked(receiver, pattern, startIndex); + if (position === -1) { + break; + } + buffer.write(onNonMatch(receiver[$substring](startIndex, position))); + buffer.write(onMatch(new _js_helper.StringMatch.new(position, receiver, pattern))); + startIndex = position + patternLength; + } + buffer.write(onNonMatch(receiver[$substring](startIndex))); + return buffer.toString(); + }; + _js_helper.stringReplaceFirstUnchecked = function stringReplaceFirstUnchecked(receiver, pattern, replacement, startIndex) { + if (pattern == null) dart.argumentError(pattern); + if (replacement == null) dart.nullFailed(I[52], 258, 40, "replacement"); + if (startIndex == null) dart.nullFailed(I[52], 258, 57, "startIndex"); + if (typeof pattern == 'string') { + let index = _js_helper.stringIndexOfStringUnchecked(receiver, pattern, startIndex); + if (index < 0) return receiver; + let end = index + pattern.length; + return _js_helper.stringReplaceRangeUnchecked(receiver, index, end, replacement); + } + if (_js_helper.JSSyntaxRegExp.is(pattern)) { + return startIndex === 0 ? _js_helper.stringReplaceJS(receiver, _js_helper.regExpGetNative(pattern), replacement) : _js_helper.stringReplaceFirstRE(receiver, pattern, replacement, startIndex); + } + let matches = pattern[$allMatches](receiver, startIndex)[$iterator]; + if (!dart.test(matches.moveNext())) return receiver; + let match = matches.current; + return receiver[$replaceRange](match.start, match.end, replacement); + }; + _js_helper.stringReplaceFirstMappedUnchecked = function stringReplaceFirstMappedUnchecked(receiver, pattern, replace, startIndex) { + if (receiver == null) dart.nullFailed(I[52], 277, 49, "receiver"); + if (pattern == null) dart.nullFailed(I[52], 277, 67, "pattern"); + if (replace == null) dart.nullFailed(I[52], 278, 12, "replace"); + if (startIndex == null) dart.nullFailed(I[52], 278, 40, "startIndex"); + let matches = pattern[$allMatches](receiver, startIndex)[$iterator]; + if (!dart.test(matches.moveNext())) return receiver; + let match = matches.current; + let replacement = dart.str(replace(match)); + return receiver[$replaceRange](match.start, match.end, replacement); + }; + _js_helper.stringJoinUnchecked = function stringJoinUnchecked(array, separator) { + return array.join(separator); + }; + _js_helper.stringReplaceRangeUnchecked = function stringReplaceRangeUnchecked(receiver, start, end, replacement) { + if (receiver == null) dart.nullFailed(I[52], 293, 12, "receiver"); + if (start == null) dart.nullFailed(I[52], 293, 26, "start"); + if (end == null) dart.nullFailed(I[52], 293, 37, "end"); + if (replacement == null) dart.nullFailed(I[52], 293, 49, "replacement"); + let prefix = receiver.substring(0, start); + let suffix = receiver.substring(end); + return prefix + dart.str(replacement) + suffix; + }; + dart.defineLazy(_js_helper, { + /*_js_helper.patch*/get patch() { + return C[32] || CT.C32; + }, + /*_js_helper.notNull*/get notNull() { + return C[33] || CT.C33; + }, + /*_js_helper.undefined*/get undefined() { + return C[34] || CT.C34; + }, + /*_js_helper.nullCheck*/get nullCheck() { + return C[35] || CT.C35; + } + }, false); + _js_primitives.printString = function printString(string) { + if (string == null) dart.nullFailed(I[55], 20, 25, "string"); + if (typeof dartPrint == "function") { + dartPrint(string); + return; + } + if (typeof console == "object" && typeof console.log != "undefined") { + console.log(string); + return; + } + if (typeof window == "object") { + return; + } + if (typeof print == "function") { + print(string); + return; + } + throw "Unable to print message: " + String(string); + }; + var browserName$ = dart.privateName(_metadata, "SupportedBrowser.browserName"); + var minimumVersion$ = dart.privateName(_metadata, "SupportedBrowser.minimumVersion"); + _metadata.SupportedBrowser = class SupportedBrowser extends core.Object { + get browserName() { + return this[browserName$]; + } + set browserName(value) { + super.browserName = value; + } + get minimumVersion() { + return this[minimumVersion$]; + } + set minimumVersion(value) { + super.minimumVersion = value; + } + }; + (_metadata.SupportedBrowser.new = function(browserName, minimumVersion = null) { + if (browserName == null) dart.nullFailed(I[56], 28, 31, "browserName"); + this[browserName$] = browserName; + this[minimumVersion$] = minimumVersion; + ; + }).prototype = _metadata.SupportedBrowser.prototype; + dart.addTypeTests(_metadata.SupportedBrowser); + dart.addTypeCaches(_metadata.SupportedBrowser); + dart.setLibraryUri(_metadata.SupportedBrowser, I[57]); + dart.setFieldSignature(_metadata.SupportedBrowser, () => ({ + __proto__: dart.getFields(_metadata.SupportedBrowser.__proto__), + browserName: dart.finalFieldType(core.String), + minimumVersion: dart.finalFieldType(dart.nullable(core.String)) + })); + dart.defineLazy(_metadata.SupportedBrowser, { + /*_metadata.SupportedBrowser.CHROME*/get CHROME() { + return "Chrome"; + }, + /*_metadata.SupportedBrowser.FIREFOX*/get FIREFOX() { + return "Firefox"; + }, + /*_metadata.SupportedBrowser.IE*/get IE() { + return "Internet Explorer"; + }, + /*_metadata.SupportedBrowser.OPERA*/get OPERA() { + return "Opera"; + }, + /*_metadata.SupportedBrowser.SAFARI*/get SAFARI() { + return "Safari"; + } + }, false); + _metadata.Experimental = class Experimental extends core.Object {}; + (_metadata.Experimental.new = function() { + ; + }).prototype = _metadata.Experimental.prototype; + dart.addTypeTests(_metadata.Experimental); + dart.addTypeCaches(_metadata.Experimental); + dart.setLibraryUri(_metadata.Experimental, I[57]); + var name$9 = dart.privateName(_metadata, "DomName.name"); + _metadata.DomName = class DomName extends core.Object { + get name() { + return this[name$9]; + } + set name(value) { + super.name = value; + } + }; + (_metadata.DomName.new = function(name) { + if (name == null) dart.nullFailed(I[56], 54, 22, "name"); + this[name$9] = name; + ; + }).prototype = _metadata.DomName.prototype; + dart.addTypeTests(_metadata.DomName); + dart.addTypeCaches(_metadata.DomName); + dart.setLibraryUri(_metadata.DomName, I[57]); + dart.setFieldSignature(_metadata.DomName, () => ({ + __proto__: dart.getFields(_metadata.DomName.__proto__), + name: dart.finalFieldType(core.String) + })); + _metadata.DocsEditable = class DocsEditable extends core.Object {}; + (_metadata.DocsEditable.new = function() { + ; + }).prototype = _metadata.DocsEditable.prototype; + dart.addTypeTests(_metadata.DocsEditable); + dart.addTypeCaches(_metadata.DocsEditable); + dart.setLibraryUri(_metadata.DocsEditable, I[57]); + _metadata.Unstable = class Unstable extends core.Object {}; + (_metadata.Unstable.new = function() { + ; + }).prototype = _metadata.Unstable.prototype; + dart.addTypeTests(_metadata.Unstable); + dart.addTypeCaches(_metadata.Unstable); + dart.setLibraryUri(_metadata.Unstable, I[57]); + _native_typed_data.NativeByteBuffer = class NativeByteBuffer extends core.Object { + get [$lengthInBytes]() { + return this.byteLength; + } + get [$runtimeType]() { + return dart.wrapType(typed_data.ByteBuffer); + } + [$asUint8List](offsetInBytes = 0, length = null) { + if (offsetInBytes == null) dart.nullFailed(I[58], 33, 30, "offsetInBytes"); + return _native_typed_data.NativeUint8List.view(this, offsetInBytes, length); + } + [$asInt8List](offsetInBytes = 0, length = null) { + if (offsetInBytes == null) dart.nullFailed(I[58], 37, 28, "offsetInBytes"); + return _native_typed_data.NativeInt8List.view(this, offsetInBytes, length); + } + [$asUint8ClampedList](offsetInBytes = 0, length = null) { + if (offsetInBytes == null) dart.nullFailed(I[58], 41, 44, "offsetInBytes"); + return _native_typed_data.NativeUint8ClampedList.view(this, offsetInBytes, length); + } + [$asUint16List](offsetInBytes = 0, length = null) { + if (offsetInBytes == null) dart.nullFailed(I[58], 45, 32, "offsetInBytes"); + return _native_typed_data.NativeUint16List.view(this, offsetInBytes, length); + } + [$asInt16List](offsetInBytes = 0, length = null) { + if (offsetInBytes == null) dart.nullFailed(I[58], 49, 30, "offsetInBytes"); + return _native_typed_data.NativeInt16List.view(this, offsetInBytes, length); + } + [$asUint32List](offsetInBytes = 0, length = null) { + if (offsetInBytes == null) dart.nullFailed(I[58], 53, 32, "offsetInBytes"); + return _native_typed_data.NativeUint32List.view(this, offsetInBytes, length); + } + [$asInt32List](offsetInBytes = 0, length = null) { + if (offsetInBytes == null) dart.nullFailed(I[58], 57, 30, "offsetInBytes"); + return _native_typed_data.NativeInt32List.view(this, offsetInBytes, length); + } + [$asUint64List](offsetInBytes = 0, length = null) { + if (offsetInBytes == null) dart.nullFailed(I[58], 61, 32, "offsetInBytes"); + dart.throw(new core.UnsupportedError.new("Uint64List not supported by dart2js.")); + } + [$asInt64List](offsetInBytes = 0, length = null) { + if (offsetInBytes == null) dart.nullFailed(I[58], 65, 30, "offsetInBytes"); + dart.throw(new core.UnsupportedError.new("Int64List not supported by dart2js.")); + } + [$asInt32x4List](offsetInBytes = 0, length = null) { + if (offsetInBytes == null) dart.nullFailed(I[58], 69, 34, "offsetInBytes"); + length == null ? length = ((dart.notNull(this[$lengthInBytes]) - dart.notNull(offsetInBytes)) / 16)[$truncate]() : null; + let storage = this[$asInt32List](offsetInBytes, dart.notNull(length) * 4); + return new _native_typed_data.NativeInt32x4List._externalStorage(storage); + } + [$asFloat32List](offsetInBytes = 0, length = null) { + if (offsetInBytes == null) dart.nullFailed(I[58], 75, 34, "offsetInBytes"); + return _native_typed_data.NativeFloat32List.view(this, offsetInBytes, length); + } + [$asFloat64List](offsetInBytes = 0, length = null) { + if (offsetInBytes == null) dart.nullFailed(I[58], 79, 34, "offsetInBytes"); + return _native_typed_data.NativeFloat64List.view(this, offsetInBytes, length); + } + [$asFloat32x4List](offsetInBytes = 0, length = null) { + if (offsetInBytes == null) dart.nullFailed(I[58], 83, 38, "offsetInBytes"); + length == null ? length = ((dart.notNull(this[$lengthInBytes]) - dart.notNull(offsetInBytes)) / 16)[$truncate]() : null; + let storage = this[$asFloat32List](offsetInBytes, dart.notNull(length) * 4); + return new _native_typed_data.NativeFloat32x4List._externalStorage(storage); + } + [$asFloat64x2List](offsetInBytes = 0, length = null) { + if (offsetInBytes == null) dart.nullFailed(I[58], 89, 38, "offsetInBytes"); + length == null ? length = ((dart.notNull(this[$lengthInBytes]) - dart.notNull(offsetInBytes)) / 16)[$truncate]() : null; + let storage = this[$asFloat64List](offsetInBytes, dart.notNull(length) * 2); + return new _native_typed_data.NativeFloat64x2List._externalStorage(storage); + } + [$asByteData](offsetInBytes = 0, length = null) { + if (offsetInBytes == null) dart.nullFailed(I[58], 95, 28, "offsetInBytes"); + return _native_typed_data.NativeByteData.view(this, offsetInBytes, length); + } + }; + (_native_typed_data.NativeByteBuffer.new = function() { + ; + }).prototype = _native_typed_data.NativeByteBuffer.prototype; + dart.addTypeTests(_native_typed_data.NativeByteBuffer); + dart.addTypeCaches(_native_typed_data.NativeByteBuffer); + _native_typed_data.NativeByteBuffer[dart.implements] = () => [typed_data.ByteBuffer]; + dart.setMethodSignature(_native_typed_data.NativeByteBuffer, () => ({ + __proto__: dart.getMethods(_native_typed_data.NativeByteBuffer.__proto__), + [$asUint8List]: dart.fnType(typed_data.Uint8List, [], [core.int, dart.nullable(core.int)]), + [$asInt8List]: dart.fnType(typed_data.Int8List, [], [core.int, dart.nullable(core.int)]), + [$asUint8ClampedList]: dart.fnType(typed_data.Uint8ClampedList, [], [core.int, dart.nullable(core.int)]), + [$asUint16List]: dart.fnType(typed_data.Uint16List, [], [core.int, dart.nullable(core.int)]), + [$asInt16List]: dart.fnType(typed_data.Int16List, [], [core.int, dart.nullable(core.int)]), + [$asUint32List]: dart.fnType(typed_data.Uint32List, [], [core.int, dart.nullable(core.int)]), + [$asInt32List]: dart.fnType(typed_data.Int32List, [], [core.int, dart.nullable(core.int)]), + [$asUint64List]: dart.fnType(typed_data.Uint64List, [], [core.int, dart.nullable(core.int)]), + [$asInt64List]: dart.fnType(typed_data.Int64List, [], [core.int, dart.nullable(core.int)]), + [$asInt32x4List]: dart.fnType(typed_data.Int32x4List, [], [core.int, dart.nullable(core.int)]), + [$asFloat32List]: dart.fnType(typed_data.Float32List, [], [core.int, dart.nullable(core.int)]), + [$asFloat64List]: dart.fnType(typed_data.Float64List, [], [core.int, dart.nullable(core.int)]), + [$asFloat32x4List]: dart.fnType(typed_data.Float32x4List, [], [core.int, dart.nullable(core.int)]), + [$asFloat64x2List]: dart.fnType(typed_data.Float64x2List, [], [core.int, dart.nullable(core.int)]), + [$asByteData]: dart.fnType(typed_data.ByteData, [], [core.int, dart.nullable(core.int)]) + })); + dart.setGetterSignature(_native_typed_data.NativeByteBuffer, () => ({ + __proto__: dart.getGetters(_native_typed_data.NativeByteBuffer.__proto__), + [$lengthInBytes]: core.int + })); + dart.setLibraryUri(_native_typed_data.NativeByteBuffer, I[59]); + dart.registerExtension("ArrayBuffer", _native_typed_data.NativeByteBuffer); + var _storage$ = dart.privateName(_native_typed_data, "_storage"); + typed_data.Float32x4 = class Float32x4 extends core.Object {}; + (typed_data.Float32x4[dart.mixinNew] = function() { + }).prototype = typed_data.Float32x4.prototype; + dart.addTypeTests(typed_data.Float32x4); + dart.addTypeCaches(typed_data.Float32x4); + dart.setLibraryUri(typed_data.Float32x4, I[60]); + dart.defineLazy(typed_data.Float32x4, { + /*typed_data.Float32x4.xxxx*/get xxxx() { + return 0; + }, + /*typed_data.Float32x4.xxxy*/get xxxy() { + return 64; + }, + /*typed_data.Float32x4.xxxz*/get xxxz() { + return 128; + }, + /*typed_data.Float32x4.xxxw*/get xxxw() { + return 192; + }, + /*typed_data.Float32x4.xxyx*/get xxyx() { + return 16; + }, + /*typed_data.Float32x4.xxyy*/get xxyy() { + return 80; + }, + /*typed_data.Float32x4.xxyz*/get xxyz() { + return 144; + }, + /*typed_data.Float32x4.xxyw*/get xxyw() { + return 208; + }, + /*typed_data.Float32x4.xxzx*/get xxzx() { + return 32; + }, + /*typed_data.Float32x4.xxzy*/get xxzy() { + return 96; + }, + /*typed_data.Float32x4.xxzz*/get xxzz() { + return 160; + }, + /*typed_data.Float32x4.xxzw*/get xxzw() { + return 224; + }, + /*typed_data.Float32x4.xxwx*/get xxwx() { + return 48; + }, + /*typed_data.Float32x4.xxwy*/get xxwy() { + return 112; + }, + /*typed_data.Float32x4.xxwz*/get xxwz() { + return 176; + }, + /*typed_data.Float32x4.xxww*/get xxww() { + return 240; + }, + /*typed_data.Float32x4.xyxx*/get xyxx() { + return 4; + }, + /*typed_data.Float32x4.xyxy*/get xyxy() { + return 68; + }, + /*typed_data.Float32x4.xyxz*/get xyxz() { + return 132; + }, + /*typed_data.Float32x4.xyxw*/get xyxw() { + return 196; + }, + /*typed_data.Float32x4.xyyx*/get xyyx() { + return 20; + }, + /*typed_data.Float32x4.xyyy*/get xyyy() { + return 84; + }, + /*typed_data.Float32x4.xyyz*/get xyyz() { + return 148; + }, + /*typed_data.Float32x4.xyyw*/get xyyw() { + return 212; + }, + /*typed_data.Float32x4.xyzx*/get xyzx() { + return 36; + }, + /*typed_data.Float32x4.xyzy*/get xyzy() { + return 100; + }, + /*typed_data.Float32x4.xyzz*/get xyzz() { + return 164; + }, + /*typed_data.Float32x4.xyzw*/get xyzw() { + return 228; + }, + /*typed_data.Float32x4.xywx*/get xywx() { + return 52; + }, + /*typed_data.Float32x4.xywy*/get xywy() { + return 116; + }, + /*typed_data.Float32x4.xywz*/get xywz() { + return 180; + }, + /*typed_data.Float32x4.xyww*/get xyww() { + return 244; + }, + /*typed_data.Float32x4.xzxx*/get xzxx() { + return 8; + }, + /*typed_data.Float32x4.xzxy*/get xzxy() { + return 72; + }, + /*typed_data.Float32x4.xzxz*/get xzxz() { + return 136; + }, + /*typed_data.Float32x4.xzxw*/get xzxw() { + return 200; + }, + /*typed_data.Float32x4.xzyx*/get xzyx() { + return 24; + }, + /*typed_data.Float32x4.xzyy*/get xzyy() { + return 88; + }, + /*typed_data.Float32x4.xzyz*/get xzyz() { + return 152; + }, + /*typed_data.Float32x4.xzyw*/get xzyw() { + return 216; + }, + /*typed_data.Float32x4.xzzx*/get xzzx() { + return 40; + }, + /*typed_data.Float32x4.xzzy*/get xzzy() { + return 104; + }, + /*typed_data.Float32x4.xzzz*/get xzzz() { + return 168; + }, + /*typed_data.Float32x4.xzzw*/get xzzw() { + return 232; + }, + /*typed_data.Float32x4.xzwx*/get xzwx() { + return 56; + }, + /*typed_data.Float32x4.xzwy*/get xzwy() { + return 120; + }, + /*typed_data.Float32x4.xzwz*/get xzwz() { + return 184; + }, + /*typed_data.Float32x4.xzww*/get xzww() { + return 248; + }, + /*typed_data.Float32x4.xwxx*/get xwxx() { + return 12; + }, + /*typed_data.Float32x4.xwxy*/get xwxy() { + return 76; + }, + /*typed_data.Float32x4.xwxz*/get xwxz() { + return 140; + }, + /*typed_data.Float32x4.xwxw*/get xwxw() { + return 204; + }, + /*typed_data.Float32x4.xwyx*/get xwyx() { + return 28; + }, + /*typed_data.Float32x4.xwyy*/get xwyy() { + return 92; + }, + /*typed_data.Float32x4.xwyz*/get xwyz() { + return 156; + }, + /*typed_data.Float32x4.xwyw*/get xwyw() { + return 220; + }, + /*typed_data.Float32x4.xwzx*/get xwzx() { + return 44; + }, + /*typed_data.Float32x4.xwzy*/get xwzy() { + return 108; + }, + /*typed_data.Float32x4.xwzz*/get xwzz() { + return 172; + }, + /*typed_data.Float32x4.xwzw*/get xwzw() { + return 236; + }, + /*typed_data.Float32x4.xwwx*/get xwwx() { + return 60; + }, + /*typed_data.Float32x4.xwwy*/get xwwy() { + return 124; + }, + /*typed_data.Float32x4.xwwz*/get xwwz() { + return 188; + }, + /*typed_data.Float32x4.xwww*/get xwww() { + return 252; + }, + /*typed_data.Float32x4.yxxx*/get yxxx() { + return 1; + }, + /*typed_data.Float32x4.yxxy*/get yxxy() { + return 65; + }, + /*typed_data.Float32x4.yxxz*/get yxxz() { + return 129; + }, + /*typed_data.Float32x4.yxxw*/get yxxw() { + return 193; + }, + /*typed_data.Float32x4.yxyx*/get yxyx() { + return 17; + }, + /*typed_data.Float32x4.yxyy*/get yxyy() { + return 81; + }, + /*typed_data.Float32x4.yxyz*/get yxyz() { + return 145; + }, + /*typed_data.Float32x4.yxyw*/get yxyw() { + return 209; + }, + /*typed_data.Float32x4.yxzx*/get yxzx() { + return 33; + }, + /*typed_data.Float32x4.yxzy*/get yxzy() { + return 97; + }, + /*typed_data.Float32x4.yxzz*/get yxzz() { + return 161; + }, + /*typed_data.Float32x4.yxzw*/get yxzw() { + return 225; + }, + /*typed_data.Float32x4.yxwx*/get yxwx() { + return 49; + }, + /*typed_data.Float32x4.yxwy*/get yxwy() { + return 113; + }, + /*typed_data.Float32x4.yxwz*/get yxwz() { + return 177; + }, + /*typed_data.Float32x4.yxww*/get yxww() { + return 241; + }, + /*typed_data.Float32x4.yyxx*/get yyxx() { + return 5; + }, + /*typed_data.Float32x4.yyxy*/get yyxy() { + return 69; + }, + /*typed_data.Float32x4.yyxz*/get yyxz() { + return 133; + }, + /*typed_data.Float32x4.yyxw*/get yyxw() { + return 197; + }, + /*typed_data.Float32x4.yyyx*/get yyyx() { + return 21; + }, + /*typed_data.Float32x4.yyyy*/get yyyy() { + return 85; + }, + /*typed_data.Float32x4.yyyz*/get yyyz() { + return 149; + }, + /*typed_data.Float32x4.yyyw*/get yyyw() { + return 213; + }, + /*typed_data.Float32x4.yyzx*/get yyzx() { + return 37; + }, + /*typed_data.Float32x4.yyzy*/get yyzy() { + return 101; + }, + /*typed_data.Float32x4.yyzz*/get yyzz() { + return 165; + }, + /*typed_data.Float32x4.yyzw*/get yyzw() { + return 229; + }, + /*typed_data.Float32x4.yywx*/get yywx() { + return 53; + }, + /*typed_data.Float32x4.yywy*/get yywy() { + return 117; + }, + /*typed_data.Float32x4.yywz*/get yywz() { + return 181; + }, + /*typed_data.Float32x4.yyww*/get yyww() { + return 245; + }, + /*typed_data.Float32x4.yzxx*/get yzxx() { + return 9; + }, + /*typed_data.Float32x4.yzxy*/get yzxy() { + return 73; + }, + /*typed_data.Float32x4.yzxz*/get yzxz() { + return 137; + }, + /*typed_data.Float32x4.yzxw*/get yzxw() { + return 201; + }, + /*typed_data.Float32x4.yzyx*/get yzyx() { + return 25; + }, + /*typed_data.Float32x4.yzyy*/get yzyy() { + return 89; + }, + /*typed_data.Float32x4.yzyz*/get yzyz() { + return 153; + }, + /*typed_data.Float32x4.yzyw*/get yzyw() { + return 217; + }, + /*typed_data.Float32x4.yzzx*/get yzzx() { + return 41; + }, + /*typed_data.Float32x4.yzzy*/get yzzy() { + return 105; + }, + /*typed_data.Float32x4.yzzz*/get yzzz() { + return 169; + }, + /*typed_data.Float32x4.yzzw*/get yzzw() { + return 233; + }, + /*typed_data.Float32x4.yzwx*/get yzwx() { + return 57; + }, + /*typed_data.Float32x4.yzwy*/get yzwy() { + return 121; + }, + /*typed_data.Float32x4.yzwz*/get yzwz() { + return 185; + }, + /*typed_data.Float32x4.yzww*/get yzww() { + return 249; + }, + /*typed_data.Float32x4.ywxx*/get ywxx() { + return 13; + }, + /*typed_data.Float32x4.ywxy*/get ywxy() { + return 77; + }, + /*typed_data.Float32x4.ywxz*/get ywxz() { + return 141; + }, + /*typed_data.Float32x4.ywxw*/get ywxw() { + return 205; + }, + /*typed_data.Float32x4.ywyx*/get ywyx() { + return 29; + }, + /*typed_data.Float32x4.ywyy*/get ywyy() { + return 93; + }, + /*typed_data.Float32x4.ywyz*/get ywyz() { + return 157; + }, + /*typed_data.Float32x4.ywyw*/get ywyw() { + return 221; + }, + /*typed_data.Float32x4.ywzx*/get ywzx() { + return 45; + }, + /*typed_data.Float32x4.ywzy*/get ywzy() { + return 109; + }, + /*typed_data.Float32x4.ywzz*/get ywzz() { + return 173; + }, + /*typed_data.Float32x4.ywzw*/get ywzw() { + return 237; + }, + /*typed_data.Float32x4.ywwx*/get ywwx() { + return 61; + }, + /*typed_data.Float32x4.ywwy*/get ywwy() { + return 125; + }, + /*typed_data.Float32x4.ywwz*/get ywwz() { + return 189; + }, + /*typed_data.Float32x4.ywww*/get ywww() { + return 253; + }, + /*typed_data.Float32x4.zxxx*/get zxxx() { + return 2; + }, + /*typed_data.Float32x4.zxxy*/get zxxy() { + return 66; + }, + /*typed_data.Float32x4.zxxz*/get zxxz() { + return 130; + }, + /*typed_data.Float32x4.zxxw*/get zxxw() { + return 194; + }, + /*typed_data.Float32x4.zxyx*/get zxyx() { + return 18; + }, + /*typed_data.Float32x4.zxyy*/get zxyy() { + return 82; + }, + /*typed_data.Float32x4.zxyz*/get zxyz() { + return 146; + }, + /*typed_data.Float32x4.zxyw*/get zxyw() { + return 210; + }, + /*typed_data.Float32x4.zxzx*/get zxzx() { + return 34; + }, + /*typed_data.Float32x4.zxzy*/get zxzy() { + return 98; + }, + /*typed_data.Float32x4.zxzz*/get zxzz() { + return 162; + }, + /*typed_data.Float32x4.zxzw*/get zxzw() { + return 226; + }, + /*typed_data.Float32x4.zxwx*/get zxwx() { + return 50; + }, + /*typed_data.Float32x4.zxwy*/get zxwy() { + return 114; + }, + /*typed_data.Float32x4.zxwz*/get zxwz() { + return 178; + }, + /*typed_data.Float32x4.zxww*/get zxww() { + return 242; + }, + /*typed_data.Float32x4.zyxx*/get zyxx() { + return 6; + }, + /*typed_data.Float32x4.zyxy*/get zyxy() { + return 70; + }, + /*typed_data.Float32x4.zyxz*/get zyxz() { + return 134; + }, + /*typed_data.Float32x4.zyxw*/get zyxw() { + return 198; + }, + /*typed_data.Float32x4.zyyx*/get zyyx() { + return 22; + }, + /*typed_data.Float32x4.zyyy*/get zyyy() { + return 86; + }, + /*typed_data.Float32x4.zyyz*/get zyyz() { + return 150; + }, + /*typed_data.Float32x4.zyyw*/get zyyw() { + return 214; + }, + /*typed_data.Float32x4.zyzx*/get zyzx() { + return 38; + }, + /*typed_data.Float32x4.zyzy*/get zyzy() { + return 102; + }, + /*typed_data.Float32x4.zyzz*/get zyzz() { + return 166; + }, + /*typed_data.Float32x4.zyzw*/get zyzw() { + return 230; + }, + /*typed_data.Float32x4.zywx*/get zywx() { + return 54; + }, + /*typed_data.Float32x4.zywy*/get zywy() { + return 118; + }, + /*typed_data.Float32x4.zywz*/get zywz() { + return 182; + }, + /*typed_data.Float32x4.zyww*/get zyww() { + return 246; + }, + /*typed_data.Float32x4.zzxx*/get zzxx() { + return 10; + }, + /*typed_data.Float32x4.zzxy*/get zzxy() { + return 74; + }, + /*typed_data.Float32x4.zzxz*/get zzxz() { + return 138; + }, + /*typed_data.Float32x4.zzxw*/get zzxw() { + return 202; + }, + /*typed_data.Float32x4.zzyx*/get zzyx() { + return 26; + }, + /*typed_data.Float32x4.zzyy*/get zzyy() { + return 90; + }, + /*typed_data.Float32x4.zzyz*/get zzyz() { + return 154; + }, + /*typed_data.Float32x4.zzyw*/get zzyw() { + return 218; + }, + /*typed_data.Float32x4.zzzx*/get zzzx() { + return 42; + }, + /*typed_data.Float32x4.zzzy*/get zzzy() { + return 106; + }, + /*typed_data.Float32x4.zzzz*/get zzzz() { + return 170; + }, + /*typed_data.Float32x4.zzzw*/get zzzw() { + return 234; + }, + /*typed_data.Float32x4.zzwx*/get zzwx() { + return 58; + }, + /*typed_data.Float32x4.zzwy*/get zzwy() { + return 122; + }, + /*typed_data.Float32x4.zzwz*/get zzwz() { + return 186; + }, + /*typed_data.Float32x4.zzww*/get zzww() { + return 250; + }, + /*typed_data.Float32x4.zwxx*/get zwxx() { + return 14; + }, + /*typed_data.Float32x4.zwxy*/get zwxy() { + return 78; + }, + /*typed_data.Float32x4.zwxz*/get zwxz() { + return 142; + }, + /*typed_data.Float32x4.zwxw*/get zwxw() { + return 206; + }, + /*typed_data.Float32x4.zwyx*/get zwyx() { + return 30; + }, + /*typed_data.Float32x4.zwyy*/get zwyy() { + return 94; + }, + /*typed_data.Float32x4.zwyz*/get zwyz() { + return 158; + }, + /*typed_data.Float32x4.zwyw*/get zwyw() { + return 222; + }, + /*typed_data.Float32x4.zwzx*/get zwzx() { + return 46; + }, + /*typed_data.Float32x4.zwzy*/get zwzy() { + return 110; + }, + /*typed_data.Float32x4.zwzz*/get zwzz() { + return 174; + }, + /*typed_data.Float32x4.zwzw*/get zwzw() { + return 238; + }, + /*typed_data.Float32x4.zwwx*/get zwwx() { + return 62; + }, + /*typed_data.Float32x4.zwwy*/get zwwy() { + return 126; + }, + /*typed_data.Float32x4.zwwz*/get zwwz() { + return 190; + }, + /*typed_data.Float32x4.zwww*/get zwww() { + return 254; + }, + /*typed_data.Float32x4.wxxx*/get wxxx() { + return 3; + }, + /*typed_data.Float32x4.wxxy*/get wxxy() { + return 67; + }, + /*typed_data.Float32x4.wxxz*/get wxxz() { + return 131; + }, + /*typed_data.Float32x4.wxxw*/get wxxw() { + return 195; + }, + /*typed_data.Float32x4.wxyx*/get wxyx() { + return 19; + }, + /*typed_data.Float32x4.wxyy*/get wxyy() { + return 83; + }, + /*typed_data.Float32x4.wxyz*/get wxyz() { + return 147; + }, + /*typed_data.Float32x4.wxyw*/get wxyw() { + return 211; + }, + /*typed_data.Float32x4.wxzx*/get wxzx() { + return 35; + }, + /*typed_data.Float32x4.wxzy*/get wxzy() { + return 99; + }, + /*typed_data.Float32x4.wxzz*/get wxzz() { + return 163; + }, + /*typed_data.Float32x4.wxzw*/get wxzw() { + return 227; + }, + /*typed_data.Float32x4.wxwx*/get wxwx() { + return 51; + }, + /*typed_data.Float32x4.wxwy*/get wxwy() { + return 115; + }, + /*typed_data.Float32x4.wxwz*/get wxwz() { + return 179; + }, + /*typed_data.Float32x4.wxww*/get wxww() { + return 243; + }, + /*typed_data.Float32x4.wyxx*/get wyxx() { + return 7; + }, + /*typed_data.Float32x4.wyxy*/get wyxy() { + return 71; + }, + /*typed_data.Float32x4.wyxz*/get wyxz() { + return 135; + }, + /*typed_data.Float32x4.wyxw*/get wyxw() { + return 199; + }, + /*typed_data.Float32x4.wyyx*/get wyyx() { + return 23; + }, + /*typed_data.Float32x4.wyyy*/get wyyy() { + return 87; + }, + /*typed_data.Float32x4.wyyz*/get wyyz() { + return 151; + }, + /*typed_data.Float32x4.wyyw*/get wyyw() { + return 215; + }, + /*typed_data.Float32x4.wyzx*/get wyzx() { + return 39; + }, + /*typed_data.Float32x4.wyzy*/get wyzy() { + return 103; + }, + /*typed_data.Float32x4.wyzz*/get wyzz() { + return 167; + }, + /*typed_data.Float32x4.wyzw*/get wyzw() { + return 231; + }, + /*typed_data.Float32x4.wywx*/get wywx() { + return 55; + }, + /*typed_data.Float32x4.wywy*/get wywy() { + return 119; + }, + /*typed_data.Float32x4.wywz*/get wywz() { + return 183; + }, + /*typed_data.Float32x4.wyww*/get wyww() { + return 247; + }, + /*typed_data.Float32x4.wzxx*/get wzxx() { + return 11; + }, + /*typed_data.Float32x4.wzxy*/get wzxy() { + return 75; + }, + /*typed_data.Float32x4.wzxz*/get wzxz() { + return 139; + }, + /*typed_data.Float32x4.wzxw*/get wzxw() { + return 203; + }, + /*typed_data.Float32x4.wzyx*/get wzyx() { + return 27; + }, + /*typed_data.Float32x4.wzyy*/get wzyy() { + return 91; + }, + /*typed_data.Float32x4.wzyz*/get wzyz() { + return 155; + }, + /*typed_data.Float32x4.wzyw*/get wzyw() { + return 219; + }, + /*typed_data.Float32x4.wzzx*/get wzzx() { + return 43; + }, + /*typed_data.Float32x4.wzzy*/get wzzy() { + return 107; + }, + /*typed_data.Float32x4.wzzz*/get wzzz() { + return 171; + }, + /*typed_data.Float32x4.wzzw*/get wzzw() { + return 235; + }, + /*typed_data.Float32x4.wzwx*/get wzwx() { + return 59; + }, + /*typed_data.Float32x4.wzwy*/get wzwy() { + return 123; + }, + /*typed_data.Float32x4.wzwz*/get wzwz() { + return 187; + }, + /*typed_data.Float32x4.wzww*/get wzww() { + return 251; + }, + /*typed_data.Float32x4.wwxx*/get wwxx() { + return 15; + }, + /*typed_data.Float32x4.wwxy*/get wwxy() { + return 79; + }, + /*typed_data.Float32x4.wwxz*/get wwxz() { + return 143; + }, + /*typed_data.Float32x4.wwxw*/get wwxw() { + return 207; + }, + /*typed_data.Float32x4.wwyx*/get wwyx() { + return 31; + }, + /*typed_data.Float32x4.wwyy*/get wwyy() { + return 95; + }, + /*typed_data.Float32x4.wwyz*/get wwyz() { + return 159; + }, + /*typed_data.Float32x4.wwyw*/get wwyw() { + return 223; + }, + /*typed_data.Float32x4.wwzx*/get wwzx() { + return 47; + }, + /*typed_data.Float32x4.wwzy*/get wwzy() { + return 111; + }, + /*typed_data.Float32x4.wwzz*/get wwzz() { + return 175; + }, + /*typed_data.Float32x4.wwzw*/get wwzw() { + return 239; + }, + /*typed_data.Float32x4.wwwx*/get wwwx() { + return 63; + }, + /*typed_data.Float32x4.wwwy*/get wwwy() { + return 127; + }, + /*typed_data.Float32x4.wwwz*/get wwwz() { + return 191; + }, + /*typed_data.Float32x4.wwww*/get wwww() { + return 255; + } + }, false); + const Object_ListMixin$36 = class Object_ListMixin extends core.Object {}; + (Object_ListMixin$36.new = function() { + }).prototype = Object_ListMixin$36.prototype; + dart.applyMixin(Object_ListMixin$36, collection.ListMixin$(typed_data.Float32x4)); + const Object_FixedLengthListMixin$36 = class Object_FixedLengthListMixin extends Object_ListMixin$36 {}; + (Object_FixedLengthListMixin$36.new = function() { + }).prototype = Object_FixedLengthListMixin$36.prototype; + dart.applyMixin(Object_FixedLengthListMixin$36, _internal.FixedLengthListMixin$(typed_data.Float32x4)); + _native_typed_data.NativeFloat32x4List = class NativeFloat32x4List extends Object_FixedLengthListMixin$36 { + get runtimeType() { + return dart.wrapType(typed_data.Float32x4List); + } + static fromList(list) { + if (list == null) dart.nullFailed(I[58], 129, 56, "list"); + if (_native_typed_data.NativeFloat32x4List.is(list)) { + return new _native_typed_data.NativeFloat32x4List._externalStorage(_native_typed_data.NativeFloat32List.fromList(list[_storage$])); + } else { + return new _native_typed_data.NativeFloat32x4List._slowFromList(list); + } + } + get buffer() { + return this[_storage$][$buffer]; + } + get lengthInBytes() { + return this[_storage$][$lengthInBytes]; + } + get offsetInBytes() { + return this[_storage$][$offsetInBytes]; + } + get elementSizeInBytes() { + return 16; + } + get length() { + return (dart.notNull(this[_storage$][$length]) / 4)[$truncate](); + } + set length(value) { + super.length = value; + } + _get(index) { + if (index == null) dart.nullFailed(I[58], 148, 29, "index"); + _native_typed_data._checkValidIndex(index, this, this.length); + let _x = this[_storage$][$_get](dart.notNull(index) * 4 + 0); + let _y = this[_storage$][$_get](dart.notNull(index) * 4 + 1); + let _z = this[_storage$][$_get](dart.notNull(index) * 4 + 2); + let _w = this[_storage$][$_get](dart.notNull(index) * 4 + 3); + return new _native_typed_data.NativeFloat32x4._truncated(_x, _y, _z, _w); + } + _set(index, value$) { + let value = value$; + if (index == null) dart.nullFailed(I[58], 157, 25, "index"); + typed_data.Float32x4.as(value); + if (value == null) dart.nullFailed(I[58], 157, 42, "value"); + _native_typed_data._checkValidIndex(index, this, this.length); + this[_storage$][$_set](dart.notNull(index) * 4 + 0, value.x); + this[_storage$][$_set](dart.notNull(index) * 4 + 1, value.y); + this[_storage$][$_set](dart.notNull(index) * 4 + 2, value.z); + this[_storage$][$_set](dart.notNull(index) * 4 + 3, value.w); + return value$; + } + sublist(start, end = null) { + if (start == null) dart.nullFailed(I[58], 165, 29, "start"); + let stop = _native_typed_data._checkValidRange(start, end, this.length); + return new _native_typed_data.NativeFloat32x4List._externalStorage(this[_storage$][$sublist](dart.notNull(start) * 4, dart.notNull(stop) * 4)); + } + }; + (_native_typed_data.NativeFloat32x4List.new = function(length) { + if (length == null) dart.nullFailed(I[58], 110, 27, "length"); + this[_storage$] = _native_typed_data.NativeFloat32List.new(dart.notNull(length) * 4); + ; + }).prototype = _native_typed_data.NativeFloat32x4List.prototype; + (_native_typed_data.NativeFloat32x4List._externalStorage = function(_storage) { + if (_storage == null) dart.nullFailed(I[58], 112, 45, "_storage"); + this[_storage$] = _storage; + ; + }).prototype = _native_typed_data.NativeFloat32x4List.prototype; + (_native_typed_data.NativeFloat32x4List._slowFromList = function(list) { + if (list == null) dart.nullFailed(I[58], 114, 53, "list"); + this[_storage$] = _native_typed_data.NativeFloat32List.new(dart.notNull(list[$length]) * 4); + for (let i = 0; i < dart.notNull(list[$length]); i = i + 1) { + let e = list[$_get](i); + this[_storage$][$_set](i * 4 + 0, e.x); + this[_storage$][$_set](i * 4 + 1, e.y); + this[_storage$][$_set](i * 4 + 2, e.z); + this[_storage$][$_set](i * 4 + 3, e.w); + } + }).prototype = _native_typed_data.NativeFloat32x4List.prototype; + dart.addTypeTests(_native_typed_data.NativeFloat32x4List); + dart.addTypeCaches(_native_typed_data.NativeFloat32x4List); + _native_typed_data.NativeFloat32x4List[dart.implements] = () => [typed_data.Float32x4List]; + dart.setMethodSignature(_native_typed_data.NativeFloat32x4List, () => ({ + __proto__: dart.getMethods(_native_typed_data.NativeFloat32x4List.__proto__), + _get: dart.fnType(typed_data.Float32x4, [core.int]), + [$_get]: dart.fnType(typed_data.Float32x4, [core.int]), + _set: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), + [$_set]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), + sublist: dart.fnType(typed_data.Float32x4List, [core.int], [dart.nullable(core.int)]), + [$sublist]: dart.fnType(typed_data.Float32x4List, [core.int], [dart.nullable(core.int)]) + })); + dart.setGetterSignature(_native_typed_data.NativeFloat32x4List, () => ({ + __proto__: dart.getGetters(_native_typed_data.NativeFloat32x4List.__proto__), + buffer: typed_data.ByteBuffer, + [$buffer]: typed_data.ByteBuffer, + lengthInBytes: core.int, + [$lengthInBytes]: core.int, + offsetInBytes: core.int, + [$offsetInBytes]: core.int, + elementSizeInBytes: core.int, + [$elementSizeInBytes]: core.int, + length: core.int, + [$length]: core.int + })); + dart.setLibraryUri(_native_typed_data.NativeFloat32x4List, I[59]); + dart.setFieldSignature(_native_typed_data.NativeFloat32x4List, () => ({ + __proto__: dart.getFields(_native_typed_data.NativeFloat32x4List.__proto__), + [_storage$]: dart.finalFieldType(typed_data.Float32List) + })); + dart.defineExtensionMethods(_native_typed_data.NativeFloat32x4List, ['_get', '_set', 'sublist']); + dart.defineExtensionAccessors(_native_typed_data.NativeFloat32x4List, [ + 'runtimeType', + 'buffer', + 'lengthInBytes', + 'offsetInBytes', + 'elementSizeInBytes', + 'length' + ]); + typed_data.Int32x4 = class Int32x4 extends core.Object {}; + (typed_data.Int32x4[dart.mixinNew] = function() { + }).prototype = typed_data.Int32x4.prototype; + dart.addTypeTests(typed_data.Int32x4); + dart.addTypeCaches(typed_data.Int32x4); + dart.setLibraryUri(typed_data.Int32x4, I[60]); + dart.defineLazy(typed_data.Int32x4, { + /*typed_data.Int32x4.xxxx*/get xxxx() { + return 0; + }, + /*typed_data.Int32x4.xxxy*/get xxxy() { + return 64; + }, + /*typed_data.Int32x4.xxxz*/get xxxz() { + return 128; + }, + /*typed_data.Int32x4.xxxw*/get xxxw() { + return 192; + }, + /*typed_data.Int32x4.xxyx*/get xxyx() { + return 16; + }, + /*typed_data.Int32x4.xxyy*/get xxyy() { + return 80; + }, + /*typed_data.Int32x4.xxyz*/get xxyz() { + return 144; + }, + /*typed_data.Int32x4.xxyw*/get xxyw() { + return 208; + }, + /*typed_data.Int32x4.xxzx*/get xxzx() { + return 32; + }, + /*typed_data.Int32x4.xxzy*/get xxzy() { + return 96; + }, + /*typed_data.Int32x4.xxzz*/get xxzz() { + return 160; + }, + /*typed_data.Int32x4.xxzw*/get xxzw() { + return 224; + }, + /*typed_data.Int32x4.xxwx*/get xxwx() { + return 48; + }, + /*typed_data.Int32x4.xxwy*/get xxwy() { + return 112; + }, + /*typed_data.Int32x4.xxwz*/get xxwz() { + return 176; + }, + /*typed_data.Int32x4.xxww*/get xxww() { + return 240; + }, + /*typed_data.Int32x4.xyxx*/get xyxx() { + return 4; + }, + /*typed_data.Int32x4.xyxy*/get xyxy() { + return 68; + }, + /*typed_data.Int32x4.xyxz*/get xyxz() { + return 132; + }, + /*typed_data.Int32x4.xyxw*/get xyxw() { + return 196; + }, + /*typed_data.Int32x4.xyyx*/get xyyx() { + return 20; + }, + /*typed_data.Int32x4.xyyy*/get xyyy() { + return 84; + }, + /*typed_data.Int32x4.xyyz*/get xyyz() { + return 148; + }, + /*typed_data.Int32x4.xyyw*/get xyyw() { + return 212; + }, + /*typed_data.Int32x4.xyzx*/get xyzx() { + return 36; + }, + /*typed_data.Int32x4.xyzy*/get xyzy() { + return 100; + }, + /*typed_data.Int32x4.xyzz*/get xyzz() { + return 164; + }, + /*typed_data.Int32x4.xyzw*/get xyzw() { + return 228; + }, + /*typed_data.Int32x4.xywx*/get xywx() { + return 52; + }, + /*typed_data.Int32x4.xywy*/get xywy() { + return 116; + }, + /*typed_data.Int32x4.xywz*/get xywz() { + return 180; + }, + /*typed_data.Int32x4.xyww*/get xyww() { + return 244; + }, + /*typed_data.Int32x4.xzxx*/get xzxx() { + return 8; + }, + /*typed_data.Int32x4.xzxy*/get xzxy() { + return 72; + }, + /*typed_data.Int32x4.xzxz*/get xzxz() { + return 136; + }, + /*typed_data.Int32x4.xzxw*/get xzxw() { + return 200; + }, + /*typed_data.Int32x4.xzyx*/get xzyx() { + return 24; + }, + /*typed_data.Int32x4.xzyy*/get xzyy() { + return 88; + }, + /*typed_data.Int32x4.xzyz*/get xzyz() { + return 152; + }, + /*typed_data.Int32x4.xzyw*/get xzyw() { + return 216; + }, + /*typed_data.Int32x4.xzzx*/get xzzx() { + return 40; + }, + /*typed_data.Int32x4.xzzy*/get xzzy() { + return 104; + }, + /*typed_data.Int32x4.xzzz*/get xzzz() { + return 168; + }, + /*typed_data.Int32x4.xzzw*/get xzzw() { + return 232; + }, + /*typed_data.Int32x4.xzwx*/get xzwx() { + return 56; + }, + /*typed_data.Int32x4.xzwy*/get xzwy() { + return 120; + }, + /*typed_data.Int32x4.xzwz*/get xzwz() { + return 184; + }, + /*typed_data.Int32x4.xzww*/get xzww() { + return 248; + }, + /*typed_data.Int32x4.xwxx*/get xwxx() { + return 12; + }, + /*typed_data.Int32x4.xwxy*/get xwxy() { + return 76; + }, + /*typed_data.Int32x4.xwxz*/get xwxz() { + return 140; + }, + /*typed_data.Int32x4.xwxw*/get xwxw() { + return 204; + }, + /*typed_data.Int32x4.xwyx*/get xwyx() { + return 28; + }, + /*typed_data.Int32x4.xwyy*/get xwyy() { + return 92; + }, + /*typed_data.Int32x4.xwyz*/get xwyz() { + return 156; + }, + /*typed_data.Int32x4.xwyw*/get xwyw() { + return 220; + }, + /*typed_data.Int32x4.xwzx*/get xwzx() { + return 44; + }, + /*typed_data.Int32x4.xwzy*/get xwzy() { + return 108; + }, + /*typed_data.Int32x4.xwzz*/get xwzz() { + return 172; + }, + /*typed_data.Int32x4.xwzw*/get xwzw() { + return 236; + }, + /*typed_data.Int32x4.xwwx*/get xwwx() { + return 60; + }, + /*typed_data.Int32x4.xwwy*/get xwwy() { + return 124; + }, + /*typed_data.Int32x4.xwwz*/get xwwz() { + return 188; + }, + /*typed_data.Int32x4.xwww*/get xwww() { + return 252; + }, + /*typed_data.Int32x4.yxxx*/get yxxx() { + return 1; + }, + /*typed_data.Int32x4.yxxy*/get yxxy() { + return 65; + }, + /*typed_data.Int32x4.yxxz*/get yxxz() { + return 129; + }, + /*typed_data.Int32x4.yxxw*/get yxxw() { + return 193; + }, + /*typed_data.Int32x4.yxyx*/get yxyx() { + return 17; + }, + /*typed_data.Int32x4.yxyy*/get yxyy() { + return 81; + }, + /*typed_data.Int32x4.yxyz*/get yxyz() { + return 145; + }, + /*typed_data.Int32x4.yxyw*/get yxyw() { + return 209; + }, + /*typed_data.Int32x4.yxzx*/get yxzx() { + return 33; + }, + /*typed_data.Int32x4.yxzy*/get yxzy() { + return 97; + }, + /*typed_data.Int32x4.yxzz*/get yxzz() { + return 161; + }, + /*typed_data.Int32x4.yxzw*/get yxzw() { + return 225; + }, + /*typed_data.Int32x4.yxwx*/get yxwx() { + return 49; + }, + /*typed_data.Int32x4.yxwy*/get yxwy() { + return 113; + }, + /*typed_data.Int32x4.yxwz*/get yxwz() { + return 177; + }, + /*typed_data.Int32x4.yxww*/get yxww() { + return 241; + }, + /*typed_data.Int32x4.yyxx*/get yyxx() { + return 5; + }, + /*typed_data.Int32x4.yyxy*/get yyxy() { + return 69; + }, + /*typed_data.Int32x4.yyxz*/get yyxz() { + return 133; + }, + /*typed_data.Int32x4.yyxw*/get yyxw() { + return 197; + }, + /*typed_data.Int32x4.yyyx*/get yyyx() { + return 21; + }, + /*typed_data.Int32x4.yyyy*/get yyyy() { + return 85; + }, + /*typed_data.Int32x4.yyyz*/get yyyz() { + return 149; + }, + /*typed_data.Int32x4.yyyw*/get yyyw() { + return 213; + }, + /*typed_data.Int32x4.yyzx*/get yyzx() { + return 37; + }, + /*typed_data.Int32x4.yyzy*/get yyzy() { + return 101; + }, + /*typed_data.Int32x4.yyzz*/get yyzz() { + return 165; + }, + /*typed_data.Int32x4.yyzw*/get yyzw() { + return 229; + }, + /*typed_data.Int32x4.yywx*/get yywx() { + return 53; + }, + /*typed_data.Int32x4.yywy*/get yywy() { + return 117; + }, + /*typed_data.Int32x4.yywz*/get yywz() { + return 181; + }, + /*typed_data.Int32x4.yyww*/get yyww() { + return 245; + }, + /*typed_data.Int32x4.yzxx*/get yzxx() { + return 9; + }, + /*typed_data.Int32x4.yzxy*/get yzxy() { + return 73; + }, + /*typed_data.Int32x4.yzxz*/get yzxz() { + return 137; + }, + /*typed_data.Int32x4.yzxw*/get yzxw() { + return 201; + }, + /*typed_data.Int32x4.yzyx*/get yzyx() { + return 25; + }, + /*typed_data.Int32x4.yzyy*/get yzyy() { + return 89; + }, + /*typed_data.Int32x4.yzyz*/get yzyz() { + return 153; + }, + /*typed_data.Int32x4.yzyw*/get yzyw() { + return 217; + }, + /*typed_data.Int32x4.yzzx*/get yzzx() { + return 41; + }, + /*typed_data.Int32x4.yzzy*/get yzzy() { + return 105; + }, + /*typed_data.Int32x4.yzzz*/get yzzz() { + return 169; + }, + /*typed_data.Int32x4.yzzw*/get yzzw() { + return 233; + }, + /*typed_data.Int32x4.yzwx*/get yzwx() { + return 57; + }, + /*typed_data.Int32x4.yzwy*/get yzwy() { + return 121; + }, + /*typed_data.Int32x4.yzwz*/get yzwz() { + return 185; + }, + /*typed_data.Int32x4.yzww*/get yzww() { + return 249; + }, + /*typed_data.Int32x4.ywxx*/get ywxx() { + return 13; + }, + /*typed_data.Int32x4.ywxy*/get ywxy() { + return 77; + }, + /*typed_data.Int32x4.ywxz*/get ywxz() { + return 141; + }, + /*typed_data.Int32x4.ywxw*/get ywxw() { + return 205; + }, + /*typed_data.Int32x4.ywyx*/get ywyx() { + return 29; + }, + /*typed_data.Int32x4.ywyy*/get ywyy() { + return 93; + }, + /*typed_data.Int32x4.ywyz*/get ywyz() { + return 157; + }, + /*typed_data.Int32x4.ywyw*/get ywyw() { + return 221; + }, + /*typed_data.Int32x4.ywzx*/get ywzx() { + return 45; + }, + /*typed_data.Int32x4.ywzy*/get ywzy() { + return 109; + }, + /*typed_data.Int32x4.ywzz*/get ywzz() { + return 173; + }, + /*typed_data.Int32x4.ywzw*/get ywzw() { + return 237; + }, + /*typed_data.Int32x4.ywwx*/get ywwx() { + return 61; + }, + /*typed_data.Int32x4.ywwy*/get ywwy() { + return 125; + }, + /*typed_data.Int32x4.ywwz*/get ywwz() { + return 189; + }, + /*typed_data.Int32x4.ywww*/get ywww() { + return 253; + }, + /*typed_data.Int32x4.zxxx*/get zxxx() { + return 2; + }, + /*typed_data.Int32x4.zxxy*/get zxxy() { + return 66; + }, + /*typed_data.Int32x4.zxxz*/get zxxz() { + return 130; + }, + /*typed_data.Int32x4.zxxw*/get zxxw() { + return 194; + }, + /*typed_data.Int32x4.zxyx*/get zxyx() { + return 18; + }, + /*typed_data.Int32x4.zxyy*/get zxyy() { + return 82; + }, + /*typed_data.Int32x4.zxyz*/get zxyz() { + return 146; + }, + /*typed_data.Int32x4.zxyw*/get zxyw() { + return 210; + }, + /*typed_data.Int32x4.zxzx*/get zxzx() { + return 34; + }, + /*typed_data.Int32x4.zxzy*/get zxzy() { + return 98; + }, + /*typed_data.Int32x4.zxzz*/get zxzz() { + return 162; + }, + /*typed_data.Int32x4.zxzw*/get zxzw() { + return 226; + }, + /*typed_data.Int32x4.zxwx*/get zxwx() { + return 50; + }, + /*typed_data.Int32x4.zxwy*/get zxwy() { + return 114; + }, + /*typed_data.Int32x4.zxwz*/get zxwz() { + return 178; + }, + /*typed_data.Int32x4.zxww*/get zxww() { + return 242; + }, + /*typed_data.Int32x4.zyxx*/get zyxx() { + return 6; + }, + /*typed_data.Int32x4.zyxy*/get zyxy() { + return 70; + }, + /*typed_data.Int32x4.zyxz*/get zyxz() { + return 134; + }, + /*typed_data.Int32x4.zyxw*/get zyxw() { + return 198; + }, + /*typed_data.Int32x4.zyyx*/get zyyx() { + return 22; + }, + /*typed_data.Int32x4.zyyy*/get zyyy() { + return 86; + }, + /*typed_data.Int32x4.zyyz*/get zyyz() { + return 150; + }, + /*typed_data.Int32x4.zyyw*/get zyyw() { + return 214; + }, + /*typed_data.Int32x4.zyzx*/get zyzx() { + return 38; + }, + /*typed_data.Int32x4.zyzy*/get zyzy() { + return 102; + }, + /*typed_data.Int32x4.zyzz*/get zyzz() { + return 166; + }, + /*typed_data.Int32x4.zyzw*/get zyzw() { + return 230; + }, + /*typed_data.Int32x4.zywx*/get zywx() { + return 54; + }, + /*typed_data.Int32x4.zywy*/get zywy() { + return 118; + }, + /*typed_data.Int32x4.zywz*/get zywz() { + return 182; + }, + /*typed_data.Int32x4.zyww*/get zyww() { + return 246; + }, + /*typed_data.Int32x4.zzxx*/get zzxx() { + return 10; + }, + /*typed_data.Int32x4.zzxy*/get zzxy() { + return 74; + }, + /*typed_data.Int32x4.zzxz*/get zzxz() { + return 138; + }, + /*typed_data.Int32x4.zzxw*/get zzxw() { + return 202; + }, + /*typed_data.Int32x4.zzyx*/get zzyx() { + return 26; + }, + /*typed_data.Int32x4.zzyy*/get zzyy() { + return 90; + }, + /*typed_data.Int32x4.zzyz*/get zzyz() { + return 154; + }, + /*typed_data.Int32x4.zzyw*/get zzyw() { + return 218; + }, + /*typed_data.Int32x4.zzzx*/get zzzx() { + return 42; + }, + /*typed_data.Int32x4.zzzy*/get zzzy() { + return 106; + }, + /*typed_data.Int32x4.zzzz*/get zzzz() { + return 170; + }, + /*typed_data.Int32x4.zzzw*/get zzzw() { + return 234; + }, + /*typed_data.Int32x4.zzwx*/get zzwx() { + return 58; + }, + /*typed_data.Int32x4.zzwy*/get zzwy() { + return 122; + }, + /*typed_data.Int32x4.zzwz*/get zzwz() { + return 186; + }, + /*typed_data.Int32x4.zzww*/get zzww() { + return 250; + }, + /*typed_data.Int32x4.zwxx*/get zwxx() { + return 14; + }, + /*typed_data.Int32x4.zwxy*/get zwxy() { + return 78; + }, + /*typed_data.Int32x4.zwxz*/get zwxz() { + return 142; + }, + /*typed_data.Int32x4.zwxw*/get zwxw() { + return 206; + }, + /*typed_data.Int32x4.zwyx*/get zwyx() { + return 30; + }, + /*typed_data.Int32x4.zwyy*/get zwyy() { + return 94; + }, + /*typed_data.Int32x4.zwyz*/get zwyz() { + return 158; + }, + /*typed_data.Int32x4.zwyw*/get zwyw() { + return 222; + }, + /*typed_data.Int32x4.zwzx*/get zwzx() { + return 46; + }, + /*typed_data.Int32x4.zwzy*/get zwzy() { + return 110; + }, + /*typed_data.Int32x4.zwzz*/get zwzz() { + return 174; + }, + /*typed_data.Int32x4.zwzw*/get zwzw() { + return 238; + }, + /*typed_data.Int32x4.zwwx*/get zwwx() { + return 62; + }, + /*typed_data.Int32x4.zwwy*/get zwwy() { + return 126; + }, + /*typed_data.Int32x4.zwwz*/get zwwz() { + return 190; + }, + /*typed_data.Int32x4.zwww*/get zwww() { + return 254; + }, + /*typed_data.Int32x4.wxxx*/get wxxx() { + return 3; + }, + /*typed_data.Int32x4.wxxy*/get wxxy() { + return 67; + }, + /*typed_data.Int32x4.wxxz*/get wxxz() { + return 131; + }, + /*typed_data.Int32x4.wxxw*/get wxxw() { + return 195; + }, + /*typed_data.Int32x4.wxyx*/get wxyx() { + return 19; + }, + /*typed_data.Int32x4.wxyy*/get wxyy() { + return 83; + }, + /*typed_data.Int32x4.wxyz*/get wxyz() { + return 147; + }, + /*typed_data.Int32x4.wxyw*/get wxyw() { + return 211; + }, + /*typed_data.Int32x4.wxzx*/get wxzx() { + return 35; + }, + /*typed_data.Int32x4.wxzy*/get wxzy() { + return 99; + }, + /*typed_data.Int32x4.wxzz*/get wxzz() { + return 163; + }, + /*typed_data.Int32x4.wxzw*/get wxzw() { + return 227; + }, + /*typed_data.Int32x4.wxwx*/get wxwx() { + return 51; + }, + /*typed_data.Int32x4.wxwy*/get wxwy() { + return 115; + }, + /*typed_data.Int32x4.wxwz*/get wxwz() { + return 179; + }, + /*typed_data.Int32x4.wxww*/get wxww() { + return 243; + }, + /*typed_data.Int32x4.wyxx*/get wyxx() { + return 7; + }, + /*typed_data.Int32x4.wyxy*/get wyxy() { + return 71; + }, + /*typed_data.Int32x4.wyxz*/get wyxz() { + return 135; + }, + /*typed_data.Int32x4.wyxw*/get wyxw() { + return 199; + }, + /*typed_data.Int32x4.wyyx*/get wyyx() { + return 23; + }, + /*typed_data.Int32x4.wyyy*/get wyyy() { + return 87; + }, + /*typed_data.Int32x4.wyyz*/get wyyz() { + return 151; + }, + /*typed_data.Int32x4.wyyw*/get wyyw() { + return 215; + }, + /*typed_data.Int32x4.wyzx*/get wyzx() { + return 39; + }, + /*typed_data.Int32x4.wyzy*/get wyzy() { + return 103; + }, + /*typed_data.Int32x4.wyzz*/get wyzz() { + return 167; + }, + /*typed_data.Int32x4.wyzw*/get wyzw() { + return 231; + }, + /*typed_data.Int32x4.wywx*/get wywx() { + return 55; + }, + /*typed_data.Int32x4.wywy*/get wywy() { + return 119; + }, + /*typed_data.Int32x4.wywz*/get wywz() { + return 183; + }, + /*typed_data.Int32x4.wyww*/get wyww() { + return 247; + }, + /*typed_data.Int32x4.wzxx*/get wzxx() { + return 11; + }, + /*typed_data.Int32x4.wzxy*/get wzxy() { + return 75; + }, + /*typed_data.Int32x4.wzxz*/get wzxz() { + return 139; + }, + /*typed_data.Int32x4.wzxw*/get wzxw() { + return 203; + }, + /*typed_data.Int32x4.wzyx*/get wzyx() { + return 27; + }, + /*typed_data.Int32x4.wzyy*/get wzyy() { + return 91; + }, + /*typed_data.Int32x4.wzyz*/get wzyz() { + return 155; + }, + /*typed_data.Int32x4.wzyw*/get wzyw() { + return 219; + }, + /*typed_data.Int32x4.wzzx*/get wzzx() { + return 43; + }, + /*typed_data.Int32x4.wzzy*/get wzzy() { + return 107; + }, + /*typed_data.Int32x4.wzzz*/get wzzz() { + return 171; + }, + /*typed_data.Int32x4.wzzw*/get wzzw() { + return 235; + }, + /*typed_data.Int32x4.wzwx*/get wzwx() { + return 59; + }, + /*typed_data.Int32x4.wzwy*/get wzwy() { + return 123; + }, + /*typed_data.Int32x4.wzwz*/get wzwz() { + return 187; + }, + /*typed_data.Int32x4.wzww*/get wzww() { + return 251; + }, + /*typed_data.Int32x4.wwxx*/get wwxx() { + return 15; + }, + /*typed_data.Int32x4.wwxy*/get wwxy() { + return 79; + }, + /*typed_data.Int32x4.wwxz*/get wwxz() { + return 143; + }, + /*typed_data.Int32x4.wwxw*/get wwxw() { + return 207; + }, + /*typed_data.Int32x4.wwyx*/get wwyx() { + return 31; + }, + /*typed_data.Int32x4.wwyy*/get wwyy() { + return 95; + }, + /*typed_data.Int32x4.wwyz*/get wwyz() { + return 159; + }, + /*typed_data.Int32x4.wwyw*/get wwyw() { + return 223; + }, + /*typed_data.Int32x4.wwzx*/get wwzx() { + return 47; + }, + /*typed_data.Int32x4.wwzy*/get wwzy() { + return 111; + }, + /*typed_data.Int32x4.wwzz*/get wwzz() { + return 175; + }, + /*typed_data.Int32x4.wwzw*/get wwzw() { + return 239; + }, + /*typed_data.Int32x4.wwwx*/get wwwx() { + return 63; + }, + /*typed_data.Int32x4.wwwy*/get wwwy() { + return 127; + }, + /*typed_data.Int32x4.wwwz*/get wwwz() { + return 191; + }, + /*typed_data.Int32x4.wwww*/get wwww() { + return 255; + } + }, false); + const Object_ListMixin$36$ = class Object_ListMixin extends core.Object {}; + (Object_ListMixin$36$.new = function() { + }).prototype = Object_ListMixin$36$.prototype; + dart.applyMixin(Object_ListMixin$36$, collection.ListMixin$(typed_data.Int32x4)); + const Object_FixedLengthListMixin$36$ = class Object_FixedLengthListMixin extends Object_ListMixin$36$ {}; + (Object_FixedLengthListMixin$36$.new = function() { + }).prototype = Object_FixedLengthListMixin$36$.prototype; + dart.applyMixin(Object_FixedLengthListMixin$36$, _internal.FixedLengthListMixin$(typed_data.Int32x4)); + _native_typed_data.NativeInt32x4List = class NativeInt32x4List extends Object_FixedLengthListMixin$36$ { + get runtimeType() { + return dart.wrapType(typed_data.Int32x4List); + } + static fromList(list) { + if (list == null) dart.nullFailed(I[58], 201, 52, "list"); + if (_native_typed_data.NativeInt32x4List.is(list)) { + return new _native_typed_data.NativeInt32x4List._externalStorage(_native_typed_data.NativeInt32List.fromList(list[_storage$])); + } else { + return new _native_typed_data.NativeInt32x4List._slowFromList(list); + } + } + get buffer() { + return this[_storage$][$buffer]; + } + get lengthInBytes() { + return this[_storage$][$lengthInBytes]; + } + get offsetInBytes() { + return this[_storage$][$offsetInBytes]; + } + get elementSizeInBytes() { + return 16; + } + get length() { + return (dart.notNull(this[_storage$][$length]) / 4)[$truncate](); + } + set length(value) { + super.length = value; + } + _get(index) { + if (index == null) dart.nullFailed(I[58], 220, 27, "index"); + _native_typed_data._checkValidIndex(index, this, this.length); + let _x = this[_storage$][$_get](dart.notNull(index) * 4 + 0); + let _y = this[_storage$][$_get](dart.notNull(index) * 4 + 1); + let _z = this[_storage$][$_get](dart.notNull(index) * 4 + 2); + let _w = this[_storage$][$_get](dart.notNull(index) * 4 + 3); + return new _native_typed_data.NativeInt32x4._truncated(_x, _y, _z, _w); + } + _set(index, value$) { + let value = value$; + if (index == null) dart.nullFailed(I[58], 229, 25, "index"); + typed_data.Int32x4.as(value); + if (value == null) dart.nullFailed(I[58], 229, 40, "value"); + _native_typed_data._checkValidIndex(index, this, this.length); + this[_storage$][$_set](dart.notNull(index) * 4 + 0, value.x); + this[_storage$][$_set](dart.notNull(index) * 4 + 1, value.y); + this[_storage$][$_set](dart.notNull(index) * 4 + 2, value.z); + this[_storage$][$_set](dart.notNull(index) * 4 + 3, value.w); + return value$; + } + sublist(start, end = null) { + if (start == null) dart.nullFailed(I[58], 237, 27, "start"); + let stop = _native_typed_data._checkValidRange(start, end, this.length); + return new _native_typed_data.NativeInt32x4List._externalStorage(this[_storage$][$sublist](dart.notNull(start) * 4, dart.notNull(stop) * 4)); + } + }; + (_native_typed_data.NativeInt32x4List.new = function(length) { + if (length == null) dart.nullFailed(I[58], 182, 25, "length"); + this[_storage$] = _native_typed_data.NativeInt32List.new(dart.notNull(length) * 4); + ; + }).prototype = _native_typed_data.NativeInt32x4List.prototype; + (_native_typed_data.NativeInt32x4List._externalStorage = function(storage) { + if (storage == null) dart.nullFailed(I[58], 184, 48, "storage"); + this[_storage$] = storage; + ; + }).prototype = _native_typed_data.NativeInt32x4List.prototype; + (_native_typed_data.NativeInt32x4List._slowFromList = function(list) { + if (list == null) dart.nullFailed(I[58], 186, 49, "list"); + this[_storage$] = _native_typed_data.NativeInt32List.new(dart.notNull(list[$length]) * 4); + for (let i = 0; i < dart.notNull(list[$length]); i = i + 1) { + let e = list[$_get](i); + this[_storage$][$_set](i * 4 + 0, e.x); + this[_storage$][$_set](i * 4 + 1, e.y); + this[_storage$][$_set](i * 4 + 2, e.z); + this[_storage$][$_set](i * 4 + 3, e.w); + } + }).prototype = _native_typed_data.NativeInt32x4List.prototype; + dart.addTypeTests(_native_typed_data.NativeInt32x4List); + dart.addTypeCaches(_native_typed_data.NativeInt32x4List); + _native_typed_data.NativeInt32x4List[dart.implements] = () => [typed_data.Int32x4List]; + dart.setMethodSignature(_native_typed_data.NativeInt32x4List, () => ({ + __proto__: dart.getMethods(_native_typed_data.NativeInt32x4List.__proto__), + _get: dart.fnType(typed_data.Int32x4, [core.int]), + [$_get]: dart.fnType(typed_data.Int32x4, [core.int]), + _set: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), + [$_set]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), + sublist: dart.fnType(typed_data.Int32x4List, [core.int], [dart.nullable(core.int)]), + [$sublist]: dart.fnType(typed_data.Int32x4List, [core.int], [dart.nullable(core.int)]) + })); + dart.setGetterSignature(_native_typed_data.NativeInt32x4List, () => ({ + __proto__: dart.getGetters(_native_typed_data.NativeInt32x4List.__proto__), + buffer: typed_data.ByteBuffer, + [$buffer]: typed_data.ByteBuffer, + lengthInBytes: core.int, + [$lengthInBytes]: core.int, + offsetInBytes: core.int, + [$offsetInBytes]: core.int, + elementSizeInBytes: core.int, + [$elementSizeInBytes]: core.int, + length: core.int, + [$length]: core.int + })); + dart.setLibraryUri(_native_typed_data.NativeInt32x4List, I[59]); + dart.setFieldSignature(_native_typed_data.NativeInt32x4List, () => ({ + __proto__: dart.getFields(_native_typed_data.NativeInt32x4List.__proto__), + [_storage$]: dart.finalFieldType(typed_data.Int32List) + })); + dart.defineExtensionMethods(_native_typed_data.NativeInt32x4List, ['_get', '_set', 'sublist']); + dart.defineExtensionAccessors(_native_typed_data.NativeInt32x4List, [ + 'runtimeType', + 'buffer', + 'lengthInBytes', + 'offsetInBytes', + 'elementSizeInBytes', + 'length' + ]); + typed_data.Float64x2 = class Float64x2 extends core.Object {}; + (typed_data.Float64x2[dart.mixinNew] = function() { + }).prototype = typed_data.Float64x2.prototype; + dart.addTypeTests(typed_data.Float64x2); + dart.addTypeCaches(typed_data.Float64x2); + dart.setLibraryUri(typed_data.Float64x2, I[60]); + const Object_ListMixin$36$0 = class Object_ListMixin extends core.Object {}; + (Object_ListMixin$36$0.new = function() { + }).prototype = Object_ListMixin$36$0.prototype; + dart.applyMixin(Object_ListMixin$36$0, collection.ListMixin$(typed_data.Float64x2)); + const Object_FixedLengthListMixin$36$0 = class Object_FixedLengthListMixin extends Object_ListMixin$36$0 {}; + (Object_FixedLengthListMixin$36$0.new = function() { + }).prototype = Object_FixedLengthListMixin$36$0.prototype; + dart.applyMixin(Object_FixedLengthListMixin$36$0, _internal.FixedLengthListMixin$(typed_data.Float64x2)); + _native_typed_data.NativeFloat64x2List = class NativeFloat64x2List extends Object_FixedLengthListMixin$36$0 { + static fromList(list) { + if (list == null) dart.nullFailed(I[58], 269, 56, "list"); + if (_native_typed_data.NativeFloat64x2List.is(list)) { + return new _native_typed_data.NativeFloat64x2List._externalStorage(_native_typed_data.NativeFloat64List.fromList(list[_storage$])); + } else { + return new _native_typed_data.NativeFloat64x2List._slowFromList(list); + } + } + get runtimeType() { + return dart.wrapType(typed_data.Float64x2List); + } + get buffer() { + return this[_storage$][$buffer]; + } + get lengthInBytes() { + return this[_storage$][$lengthInBytes]; + } + get offsetInBytes() { + return this[_storage$][$offsetInBytes]; + } + get elementSizeInBytes() { + return 16; + } + get length() { + return (dart.notNull(this[_storage$][$length]) / 2)[$truncate](); + } + set length(value) { + super.length = value; + } + _get(index) { + if (index == null) dart.nullFailed(I[58], 290, 29, "index"); + _native_typed_data._checkValidIndex(index, this, this.length); + let _x = this[_storage$][$_get](dart.notNull(index) * 2 + 0); + let _y = this[_storage$][$_get](dart.notNull(index) * 2 + 1); + return new _native_typed_data.NativeFloat64x2.new(_x, _y); + } + _set(index, value$) { + let value = value$; + if (index == null) dart.nullFailed(I[58], 297, 25, "index"); + typed_data.Float64x2.as(value); + if (value == null) dart.nullFailed(I[58], 297, 42, "value"); + _native_typed_data._checkValidIndex(index, this, this.length); + this[_storage$][$_set](dart.notNull(index) * 2 + 0, value.x); + this[_storage$][$_set](dart.notNull(index) * 2 + 1, value.y); + return value$; + } + sublist(start, end = null) { + if (start == null) dart.nullFailed(I[58], 303, 29, "start"); + let stop = _native_typed_data._checkValidRange(start, end, this.length); + return new _native_typed_data.NativeFloat64x2List._externalStorage(this[_storage$][$sublist](dart.notNull(start) * 2, dart.notNull(stop) * 2)); + } + }; + (_native_typed_data.NativeFloat64x2List.new = function(length) { + if (length == null) dart.nullFailed(I[58], 254, 27, "length"); + this[_storage$] = _native_typed_data.NativeFloat64List.new(dart.notNull(length) * 2); + ; + }).prototype = _native_typed_data.NativeFloat64x2List.prototype; + (_native_typed_data.NativeFloat64x2List._externalStorage = function(_storage) { + if (_storage == null) dart.nullFailed(I[58], 256, 45, "_storage"); + this[_storage$] = _storage; + ; + }).prototype = _native_typed_data.NativeFloat64x2List.prototype; + (_native_typed_data.NativeFloat64x2List._slowFromList = function(list) { + if (list == null) dart.nullFailed(I[58], 258, 53, "list"); + this[_storage$] = _native_typed_data.NativeFloat64List.new(dart.notNull(list[$length]) * 2); + for (let i = 0; i < dart.notNull(list[$length]); i = i + 1) { + let e = list[$_get](i); + this[_storage$][$_set](i * 2 + 0, e.x); + this[_storage$][$_set](i * 2 + 1, e.y); + } + }).prototype = _native_typed_data.NativeFloat64x2List.prototype; + dart.addTypeTests(_native_typed_data.NativeFloat64x2List); + dart.addTypeCaches(_native_typed_data.NativeFloat64x2List); + _native_typed_data.NativeFloat64x2List[dart.implements] = () => [typed_data.Float64x2List]; + dart.setMethodSignature(_native_typed_data.NativeFloat64x2List, () => ({ + __proto__: dart.getMethods(_native_typed_data.NativeFloat64x2List.__proto__), + _get: dart.fnType(typed_data.Float64x2, [core.int]), + [$_get]: dart.fnType(typed_data.Float64x2, [core.int]), + _set: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), + [$_set]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), + sublist: dart.fnType(typed_data.Float64x2List, [core.int], [dart.nullable(core.int)]), + [$sublist]: dart.fnType(typed_data.Float64x2List, [core.int], [dart.nullable(core.int)]) + })); + dart.setGetterSignature(_native_typed_data.NativeFloat64x2List, () => ({ + __proto__: dart.getGetters(_native_typed_data.NativeFloat64x2List.__proto__), + buffer: typed_data.ByteBuffer, + [$buffer]: typed_data.ByteBuffer, + lengthInBytes: core.int, + [$lengthInBytes]: core.int, + offsetInBytes: core.int, + [$offsetInBytes]: core.int, + elementSizeInBytes: core.int, + [$elementSizeInBytes]: core.int, + length: core.int, + [$length]: core.int + })); + dart.setLibraryUri(_native_typed_data.NativeFloat64x2List, I[59]); + dart.setFieldSignature(_native_typed_data.NativeFloat64x2List, () => ({ + __proto__: dart.getFields(_native_typed_data.NativeFloat64x2List.__proto__), + [_storage$]: dart.finalFieldType(typed_data.Float64List) + })); + dart.defineExtensionMethods(_native_typed_data.NativeFloat64x2List, ['_get', '_set', 'sublist']); + dart.defineExtensionAccessors(_native_typed_data.NativeFloat64x2List, [ + 'runtimeType', + 'buffer', + 'lengthInBytes', + 'offsetInBytes', + 'elementSizeInBytes', + 'length' + ]); + var _invalidPosition = dart.privateName(_native_typed_data, "_invalidPosition"); + var _checkPosition = dart.privateName(_native_typed_data, "_checkPosition"); + _native_typed_data.NativeTypedData = class NativeTypedData extends core.Object { + get [$buffer]() { + return this.buffer; + } + get [$lengthInBytes]() { + return this.byteLength; + } + get [$offsetInBytes]() { + return this.byteOffset; + } + get [$elementSizeInBytes]() { + return this.BYTES_PER_ELEMENT; + } + [_invalidPosition](position, length, name) { + if (position == null) dart.nullFailed(I[58], 330, 29, "position"); + if (length == null) dart.nullFailed(I[58], 330, 43, "length"); + if (name == null) dart.nullFailed(I[58], 330, 58, "name"); + if (!core.int.is(position)) { + dart.throw(new core.ArgumentError.value(position, name, "Invalid list position")); + } else { + dart.throw(new core.RangeError.range(position, 0, length, name)); + } + } + [_checkPosition](position, length, name) { + if (position == null) dart.nullFailed(I[58], 338, 27, "position"); + if (length == null) dart.nullFailed(I[58], 338, 41, "length"); + if (name == null) dart.nullFailed(I[58], 338, 56, "name"); + if (position >>> 0 !== position || position > dart.notNull(length)) { + this[_invalidPosition](position, length, name); + } + } + }; + (_native_typed_data.NativeTypedData.new = function() { + ; + }).prototype = _native_typed_data.NativeTypedData.prototype; + dart.addTypeTests(_native_typed_data.NativeTypedData); + dart.addTypeCaches(_native_typed_data.NativeTypedData); + _native_typed_data.NativeTypedData[dart.implements] = () => [typed_data.TypedData]; + dart.setMethodSignature(_native_typed_data.NativeTypedData, () => ({ + __proto__: dart.getMethods(_native_typed_data.NativeTypedData.__proto__), + [_invalidPosition]: dart.fnType(dart.void, [core.int, core.int, core.String]), + [_checkPosition]: dart.fnType(dart.void, [core.int, core.int, core.String]) + })); + dart.setGetterSignature(_native_typed_data.NativeTypedData, () => ({ + __proto__: dart.getGetters(_native_typed_data.NativeTypedData.__proto__), + [$buffer]: typed_data.ByteBuffer, + [$lengthInBytes]: core.int, + [$offsetInBytes]: core.int, + [$elementSizeInBytes]: core.int + })); + dart.setLibraryUri(_native_typed_data.NativeTypedData, I[59]); + dart.registerExtension("ArrayBufferView", _native_typed_data.NativeTypedData); + var Endian__littleEndian = dart.privateName(typed_data, "Endian._littleEndian"); + var _getFloat32 = dart.privateName(_native_typed_data, "_getFloat32"); + var _getFloat64 = dart.privateName(_native_typed_data, "_getFloat64"); + var _getInt16 = dart.privateName(_native_typed_data, "_getInt16"); + var _getInt32 = dart.privateName(_native_typed_data, "_getInt32"); + var _getUint16 = dart.privateName(_native_typed_data, "_getUint16"); + var _getUint32 = dart.privateName(_native_typed_data, "_getUint32"); + var _setFloat32 = dart.privateName(_native_typed_data, "_setFloat32"); + var _setFloat64 = dart.privateName(_native_typed_data, "_setFloat64"); + var _setInt16 = dart.privateName(_native_typed_data, "_setInt16"); + var _setInt32 = dart.privateName(_native_typed_data, "_setInt32"); + var _setUint16 = dart.privateName(_native_typed_data, "_setUint16"); + var _setUint32 = dart.privateName(_native_typed_data, "_setUint32"); + _native_typed_data.NativeByteData = class NativeByteData extends _native_typed_data.NativeTypedData { + static new(length) { + if (length == null) dart.nullFailed(I[58], 386, 30, "length"); + return _native_typed_data.NativeByteData._create1(_native_typed_data._checkLength(length)); + } + static view(buffer, offsetInBytes, length) { + if (buffer == null) dart.nullFailed(I[58], 399, 18, "buffer"); + if (offsetInBytes == null) dart.nullFailed(I[58], 399, 30, "offsetInBytes"); + _native_typed_data._checkViewArguments(buffer, offsetInBytes, length); + return length == null ? _native_typed_data.NativeByteData._create2(buffer, offsetInBytes) : _native_typed_data.NativeByteData._create3(buffer, offsetInBytes, length); + } + get [$runtimeType]() { + return dart.wrapType(typed_data.ByteData); + } + get [$elementSizeInBytes]() { + return 1; + } + [$getFloat32](byteOffset, endian = C[36] || CT.C36) { + if (byteOffset == null) dart.nullFailed(I[58], 416, 25, "byteOffset"); + if (endian == null) dart.nullFailed(I[58], 416, 45, "endian"); + return this[_getFloat32](byteOffset, dart.equals(typed_data.Endian.little, endian)); + } + [_getFloat32](...args) { + return this.getFloat32.apply(this, args); + } + [$getFloat64](byteOffset, endian = C[36] || CT.C36) { + if (byteOffset == null) dart.nullFailed(I[58], 429, 25, "byteOffset"); + if (endian == null) dart.nullFailed(I[58], 429, 45, "endian"); + return this[_getFloat64](byteOffset, dart.equals(typed_data.Endian.little, endian)); + } + [_getFloat64](...args) { + return this.getFloat64.apply(this, args); + } + [$getInt16](byteOffset, endian = C[36] || CT.C36) { + if (byteOffset == null) dart.nullFailed(I[58], 444, 20, "byteOffset"); + if (endian == null) dart.nullFailed(I[58], 444, 40, "endian"); + return this[_getInt16](byteOffset, dart.equals(typed_data.Endian.little, endian)); + } + [_getInt16](...args) { + return this.getInt16.apply(this, args); + } + [$getInt32](byteOffset, endian = C[36] || CT.C36) { + if (byteOffset == null) dart.nullFailed(I[58], 459, 20, "byteOffset"); + if (endian == null) dart.nullFailed(I[58], 459, 40, "endian"); + return this[_getInt32](byteOffset, dart.equals(typed_data.Endian.little, endian)); + } + [_getInt32](...args) { + return this.getInt32.apply(this, args); + } + [$getInt64](byteOffset, endian = C[36] || CT.C36) { + if (byteOffset == null) dart.nullFailed(I[58], 474, 20, "byteOffset"); + if (endian == null) dart.nullFailed(I[58], 474, 40, "endian"); + dart.throw(new core.UnsupportedError.new("Int64 accessor not supported by dart2js.")); + } + [$getInt8](...args) { + return this.getInt8.apply(this, args); + } + [$getUint16](byteOffset, endian = C[36] || CT.C36) { + if (byteOffset == null) dart.nullFailed(I[58], 493, 21, "byteOffset"); + if (endian == null) dart.nullFailed(I[58], 493, 41, "endian"); + return this[_getUint16](byteOffset, dart.equals(typed_data.Endian.little, endian)); + } + [_getUint16](...args) { + return this.getUint16.apply(this, args); + } + [$getUint32](byteOffset, endian = C[36] || CT.C36) { + if (byteOffset == null) dart.nullFailed(I[58], 507, 21, "byteOffset"); + if (endian == null) dart.nullFailed(I[58], 507, 41, "endian"); + return this[_getUint32](byteOffset, dart.equals(typed_data.Endian.little, endian)); + } + [_getUint32](...args) { + return this.getUint32.apply(this, args); + } + [$getUint64](byteOffset, endian = C[36] || CT.C36) { + if (byteOffset == null) dart.nullFailed(I[58], 521, 21, "byteOffset"); + if (endian == null) dart.nullFailed(I[58], 521, 41, "endian"); + dart.throw(new core.UnsupportedError.new("Uint64 accessor not supported by dart2js.")); + } + [$getUint8](...args) { + return this.getUint8.apply(this, args); + } + [$setFloat32](byteOffset, value, endian = C[36] || CT.C36) { + if (byteOffset == null) dart.nullFailed(I[58], 548, 23, "byteOffset"); + if (value == null) dart.nullFailed(I[58], 548, 39, "value"); + if (endian == null) dart.nullFailed(I[58], 548, 54, "endian"); + return this[_setFloat32](byteOffset, value, dart.equals(typed_data.Endian.little, endian)); + } + [_setFloat32](...args) { + return this.setFloat32.apply(this, args); + } + [$setFloat64](byteOffset, value, endian = C[36] || CT.C36) { + if (byteOffset == null) dart.nullFailed(I[58], 560, 23, "byteOffset"); + if (value == null) dart.nullFailed(I[58], 560, 39, "value"); + if (endian == null) dart.nullFailed(I[58], 560, 54, "endian"); + return this[_setFloat64](byteOffset, value, dart.equals(typed_data.Endian.little, endian)); + } + [_setFloat64](...args) { + return this.setFloat64.apply(this, args); + } + [$setInt16](byteOffset, value, endian = C[36] || CT.C36) { + if (byteOffset == null) dart.nullFailed(I[58], 573, 21, "byteOffset"); + if (value == null) dart.nullFailed(I[58], 573, 37, "value"); + if (endian == null) dart.nullFailed(I[58], 573, 52, "endian"); + return this[_setInt16](byteOffset, value, dart.equals(typed_data.Endian.little, endian)); + } + [_setInt16](...args) { + return this.setInt16.apply(this, args); + } + [$setInt32](byteOffset, value, endian = C[36] || CT.C36) { + if (byteOffset == null) dart.nullFailed(I[58], 586, 21, "byteOffset"); + if (value == null) dart.nullFailed(I[58], 586, 37, "value"); + if (endian == null) dart.nullFailed(I[58], 586, 52, "endian"); + return this[_setInt32](byteOffset, value, dart.equals(typed_data.Endian.little, endian)); + } + [_setInt32](...args) { + return this.setInt32.apply(this, args); + } + [$setInt64](byteOffset, value, endian = C[36] || CT.C36) { + if (byteOffset == null) dart.nullFailed(I[58], 599, 21, "byteOffset"); + if (value == null) dart.nullFailed(I[58], 599, 37, "value"); + if (endian == null) dart.nullFailed(I[58], 599, 52, "endian"); + dart.throw(new core.UnsupportedError.new("Int64 accessor not supported by dart2js.")); + } + [$setInt8](...args) { + return this.setInt8.apply(this, args); + } + [$setUint16](byteOffset, value, endian = C[36] || CT.C36) { + if (byteOffset == null) dart.nullFailed(I[58], 619, 22, "byteOffset"); + if (value == null) dart.nullFailed(I[58], 619, 38, "value"); + if (endian == null) dart.nullFailed(I[58], 619, 53, "endian"); + return this[_setUint16](byteOffset, value, dart.equals(typed_data.Endian.little, endian)); + } + [_setUint16](...args) { + return this.setUint16.apply(this, args); + } + [$setUint32](byteOffset, value, endian = C[36] || CT.C36) { + if (byteOffset == null) dart.nullFailed(I[58], 632, 22, "byteOffset"); + if (value == null) dart.nullFailed(I[58], 632, 38, "value"); + if (endian == null) dart.nullFailed(I[58], 632, 53, "endian"); + return this[_setUint32](byteOffset, value, dart.equals(typed_data.Endian.little, endian)); + } + [_setUint32](...args) { + return this.setUint32.apply(this, args); + } + [$setUint64](byteOffset, value, endian = C[36] || CT.C36) { + if (byteOffset == null) dart.nullFailed(I[58], 645, 22, "byteOffset"); + if (value == null) dart.nullFailed(I[58], 645, 38, "value"); + if (endian == null) dart.nullFailed(I[58], 645, 53, "endian"); + dart.throw(new core.UnsupportedError.new("Uint64 accessor not supported by dart2js.")); + } + [$setUint8](...args) { + return this.setUint8.apply(this, args); + } + static _create1(arg) { + return new DataView(new ArrayBuffer(arg)); + } + static _create2(arg1, arg2) { + return new DataView(arg1, arg2); + } + static _create3(arg1, arg2, arg3) { + return new DataView(arg1, arg2, arg3); + } + }; + dart.addTypeTests(_native_typed_data.NativeByteData); + dart.addTypeCaches(_native_typed_data.NativeByteData); + _native_typed_data.NativeByteData[dart.implements] = () => [typed_data.ByteData]; + dart.setMethodSignature(_native_typed_data.NativeByteData, () => ({ + __proto__: dart.getMethods(_native_typed_data.NativeByteData.__proto__), + [$getFloat32]: dart.fnType(core.double, [core.int], [typed_data.Endian]), + [_getFloat32]: dart.fnType(core.double, [core.int], [dart.nullable(core.bool)]), + [$getFloat64]: dart.fnType(core.double, [core.int], [typed_data.Endian]), + [_getFloat64]: dart.fnType(core.double, [core.int], [dart.nullable(core.bool)]), + [$getInt16]: dart.fnType(core.int, [core.int], [typed_data.Endian]), + [_getInt16]: dart.fnType(core.int, [core.int], [dart.nullable(core.bool)]), + [$getInt32]: dart.fnType(core.int, [core.int], [typed_data.Endian]), + [_getInt32]: dart.fnType(core.int, [core.int], [dart.nullable(core.bool)]), + [$getInt64]: dart.fnType(core.int, [core.int], [typed_data.Endian]), + [$getInt8]: dart.fnType(core.int, [core.int]), + [$getUint16]: dart.fnType(core.int, [core.int], [typed_data.Endian]), + [_getUint16]: dart.fnType(core.int, [core.int], [dart.nullable(core.bool)]), + [$getUint32]: dart.fnType(core.int, [core.int], [typed_data.Endian]), + [_getUint32]: dart.fnType(core.int, [core.int], [dart.nullable(core.bool)]), + [$getUint64]: dart.fnType(core.int, [core.int], [typed_data.Endian]), + [$getUint8]: dart.fnType(core.int, [core.int]), + [$setFloat32]: dart.fnType(dart.void, [core.int, core.num], [typed_data.Endian]), + [_setFloat32]: dart.fnType(dart.void, [core.int, core.num], [dart.nullable(core.bool)]), + [$setFloat64]: dart.fnType(dart.void, [core.int, core.num], [typed_data.Endian]), + [_setFloat64]: dart.fnType(dart.void, [core.int, core.num], [dart.nullable(core.bool)]), + [$setInt16]: dart.fnType(dart.void, [core.int, core.int], [typed_data.Endian]), + [_setInt16]: dart.fnType(dart.void, [core.int, core.int], [dart.nullable(core.bool)]), + [$setInt32]: dart.fnType(dart.void, [core.int, core.int], [typed_data.Endian]), + [_setInt32]: dart.fnType(dart.void, [core.int, core.int], [dart.nullable(core.bool)]), + [$setInt64]: dart.fnType(dart.void, [core.int, core.int], [typed_data.Endian]), + [$setInt8]: dart.fnType(dart.void, [core.int, core.int]), + [$setUint16]: dart.fnType(dart.void, [core.int, core.int], [typed_data.Endian]), + [_setUint16]: dart.fnType(dart.void, [core.int, core.int], [dart.nullable(core.bool)]), + [$setUint32]: dart.fnType(dart.void, [core.int, core.int], [typed_data.Endian]), + [_setUint32]: dart.fnType(dart.void, [core.int, core.int], [dart.nullable(core.bool)]), + [$setUint64]: dart.fnType(dart.void, [core.int, core.int], [typed_data.Endian]), + [$setUint8]: dart.fnType(dart.void, [core.int, core.int]) + })); + dart.setLibraryUri(_native_typed_data.NativeByteData, I[59]); + dart.registerExtension("DataView", _native_typed_data.NativeByteData); + var _setRangeFast = dart.privateName(_native_typed_data, "_setRangeFast"); + const _is_NativeTypedArray_default = Symbol('_is_NativeTypedArray_default'); + _native_typed_data.NativeTypedArray$ = dart.generic(E => { + class NativeTypedArray extends _native_typed_data.NativeTypedData { + [_setRangeFast](start, end, source, skipCount) { + if (start == null) dart.nullFailed(I[58], 673, 11, "start"); + if (end == null) dart.nullFailed(I[58], 673, 22, "end"); + if (source == null) dart.nullFailed(I[58], 673, 44, "source"); + if (skipCount == null) dart.nullFailed(I[58], 673, 56, "skipCount"); + let targetLength = this[$length]; + this[_checkPosition](start, targetLength, "start"); + this[_checkPosition](end, targetLength, "end"); + if (dart.notNull(start) > dart.notNull(end)) dart.throw(new core.RangeError.range(start, 0, end)); + let count = dart.notNull(end) - dart.notNull(start); + if (dart.notNull(skipCount) < 0) dart.throw(new core.ArgumentError.new(skipCount)); + let sourceLength = source[$length]; + if (dart.notNull(sourceLength) - dart.notNull(skipCount) < count) { + dart.throw(new core.StateError.new("Not enough elements")); + } + if (skipCount !== 0 || sourceLength !== count) { + source = source.subarray(skipCount, dart.notNull(skipCount) + count); + } + this.set(source, start); + } + } + (NativeTypedArray.new = function() { + ; + }).prototype = NativeTypedArray.prototype; + dart.addTypeTests(NativeTypedArray); + NativeTypedArray.prototype[_is_NativeTypedArray_default] = true; + dart.addTypeCaches(NativeTypedArray); + NativeTypedArray[dart.implements] = () => [_js_helper.JavaScriptIndexingBehavior$(E)]; + dart.setMethodSignature(NativeTypedArray, () => ({ + __proto__: dart.getMethods(NativeTypedArray.__proto__), + [_setRangeFast]: dart.fnType(dart.void, [core.int, core.int, _native_typed_data.NativeTypedArray, core.int]) + })); + dart.setLibraryUri(NativeTypedArray, I[59]); + return NativeTypedArray; + }); + _native_typed_data.NativeTypedArray = _native_typed_data.NativeTypedArray$(); + dart.addTypeTests(_native_typed_data.NativeTypedArray, _is_NativeTypedArray_default); + core.double = class double extends core.num { + static is(o) { + return typeof o == "number"; + } + static as(o) { + if (typeof o == "number") return o; + return dart.as(o, core.double); + } + static parse(source, onError = null) { + if (source == null) dart.nullFailed(I[7], 211, 30, "source"); + let value = core.double.tryParse(source); + if (value != null) return value; + if (onError != null) return onError(source); + dart.throw(new core.FormatException.new("Invalid double", source)); + } + static tryParse(source) { + if (source == null) dart.nullFailed(I[7], 220, 34, "source"); + return _js_helper.Primitives.parseDouble(source); + } + }; + (core.double.new = function() { + ; + }).prototype = core.double.prototype; + dart.addTypeCaches(core.double); + dart.setLibraryUri(core.double, I[8]); + dart.defineLazy(core.double, { + /*core.double.nan*/get nan() { + return 0 / 0; + }, + /*core.double.infinity*/get infinity() { + return 1 / 0; + }, + /*core.double.negativeInfinity*/get negativeInfinity() { + return -1 / 0; + }, + /*core.double.minPositive*/get minPositive() { + return 5e-324; + }, + /*core.double.maxFinite*/get maxFinite() { + return 1.7976931348623157e+308; + } + }, false); + const NativeTypedArray_ListMixin$36 = class NativeTypedArray_ListMixin extends _native_typed_data.NativeTypedArray$(core.double) {}; + (NativeTypedArray_ListMixin$36.new = function() { + }).prototype = NativeTypedArray_ListMixin$36.prototype; + dart.applyMixin(NativeTypedArray_ListMixin$36, collection.ListMixin$(core.double)); + const NativeTypedArray_FixedLengthListMixin$36 = class NativeTypedArray_FixedLengthListMixin extends NativeTypedArray_ListMixin$36 {}; + (NativeTypedArray_FixedLengthListMixin$36.new = function() { + }).prototype = NativeTypedArray_FixedLengthListMixin$36.prototype; + dart.applyMixin(NativeTypedArray_FixedLengthListMixin$36, _internal.FixedLengthListMixin$(core.double)); + _native_typed_data.NativeTypedArrayOfDouble = class NativeTypedArrayOfDouble extends NativeTypedArray_FixedLengthListMixin$36 { + get length() { + return this.length; + } + set length(value) { + super.length = value; + } + _get(index) { + if (index == null) dart.nullFailed(I[58], 699, 26, "index"); + _native_typed_data._checkValidIndex(index, this, this[$length]); + return this[index]; + } + _set(index, value$) { + let value = value$; + if (index == null) dart.nullFailed(I[58], 704, 25, "index"); + core.num.as(value); + if (value == null) dart.nullFailed(I[58], 704, 36, "value"); + _native_typed_data._checkValidIndex(index, this, this[$length]); + this[index] = value; + return value$; + } + setRange(start, end, iterable, skipCount = 0) { + if (start == null) dart.nullFailed(I[58], 709, 21, "start"); + if (end == null) dart.nullFailed(I[58], 709, 32, "end"); + T$.IterableOfdouble().as(iterable); + if (iterable == null) dart.nullFailed(I[58], 709, 54, "iterable"); + if (skipCount == null) dart.nullFailed(I[58], 710, 12, "skipCount"); + if (_native_typed_data.NativeTypedArrayOfDouble.is(iterable)) { + this[_setRangeFast](start, end, iterable, skipCount); + return; + } + super[$setRange](start, end, iterable, skipCount); + } + }; + (_native_typed_data.NativeTypedArrayOfDouble.new = function() { + ; + }).prototype = _native_typed_data.NativeTypedArrayOfDouble.prototype; + dart.addTypeTests(_native_typed_data.NativeTypedArrayOfDouble); + dart.addTypeCaches(_native_typed_data.NativeTypedArrayOfDouble); + dart.setMethodSignature(_native_typed_data.NativeTypedArrayOfDouble, () => ({ + __proto__: dart.getMethods(_native_typed_data.NativeTypedArrayOfDouble.__proto__), + _get: dart.fnType(core.double, [core.int]), + [$_get]: dart.fnType(core.double, [core.int]), + _set: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), + [$_set]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]) + })); + dart.setGetterSignature(_native_typed_data.NativeTypedArrayOfDouble, () => ({ + __proto__: dart.getGetters(_native_typed_data.NativeTypedArrayOfDouble.__proto__), + length: core.int, + [$length]: core.int + })); + dart.setLibraryUri(_native_typed_data.NativeTypedArrayOfDouble, I[59]); + dart.defineExtensionMethods(_native_typed_data.NativeTypedArrayOfDouble, ['_get', '_set', 'setRange']); + dart.defineExtensionAccessors(_native_typed_data.NativeTypedArrayOfDouble, ['length']); + const NativeTypedArray_ListMixin$36$ = class NativeTypedArray_ListMixin extends _native_typed_data.NativeTypedArray$(core.int) {}; + (NativeTypedArray_ListMixin$36$.new = function() { + }).prototype = NativeTypedArray_ListMixin$36$.prototype; + dart.applyMixin(NativeTypedArray_ListMixin$36$, collection.ListMixin$(core.int)); + const NativeTypedArray_FixedLengthListMixin$36$ = class NativeTypedArray_FixedLengthListMixin extends NativeTypedArray_ListMixin$36$ {}; + (NativeTypedArray_FixedLengthListMixin$36$.new = function() { + }).prototype = NativeTypedArray_FixedLengthListMixin$36$.prototype; + dart.applyMixin(NativeTypedArray_FixedLengthListMixin$36$, _internal.FixedLengthListMixin$(core.int)); + _native_typed_data.NativeTypedArrayOfInt = class NativeTypedArrayOfInt extends NativeTypedArray_FixedLengthListMixin$36$ { + get length() { + return this.length; + } + set length(value) { + super.length = value; + } + _set(index, value$) { + let value = value$; + if (index == null) dart.nullFailed(I[58], 727, 25, "index"); + core.int.as(value); + if (value == null) dart.nullFailed(I[58], 727, 36, "value"); + _native_typed_data._checkValidIndex(index, this, this[$length]); + this[index] = value; + return value$; + } + setRange(start, end, iterable, skipCount = 0) { + if (start == null) dart.nullFailed(I[58], 732, 21, "start"); + if (end == null) dart.nullFailed(I[58], 732, 32, "end"); + T$.IterableOfint().as(iterable); + if (iterable == null) dart.nullFailed(I[58], 732, 51, "iterable"); + if (skipCount == null) dart.nullFailed(I[58], 733, 12, "skipCount"); + if (_native_typed_data.NativeTypedArrayOfInt.is(iterable)) { + this[_setRangeFast](start, end, iterable, skipCount); + return; + } + super[$setRange](start, end, iterable, skipCount); + } + }; + (_native_typed_data.NativeTypedArrayOfInt.new = function() { + ; + }).prototype = _native_typed_data.NativeTypedArrayOfInt.prototype; + _native_typed_data.NativeTypedArrayOfInt.prototype[dart.isList] = true; + dart.addTypeTests(_native_typed_data.NativeTypedArrayOfInt); + dart.addTypeCaches(_native_typed_data.NativeTypedArrayOfInt); + _native_typed_data.NativeTypedArrayOfInt[dart.implements] = () => [core.List$(core.int)]; + dart.setMethodSignature(_native_typed_data.NativeTypedArrayOfInt, () => ({ + __proto__: dart.getMethods(_native_typed_data.NativeTypedArrayOfInt.__proto__), + _set: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), + [$_set]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]) + })); + dart.setGetterSignature(_native_typed_data.NativeTypedArrayOfInt, () => ({ + __proto__: dart.getGetters(_native_typed_data.NativeTypedArrayOfInt.__proto__), + length: core.int, + [$length]: core.int + })); + dart.setLibraryUri(_native_typed_data.NativeTypedArrayOfInt, I[59]); + dart.defineExtensionMethods(_native_typed_data.NativeTypedArrayOfInt, ['_set', 'setRange']); + dart.defineExtensionAccessors(_native_typed_data.NativeTypedArrayOfInt, ['length']); + _native_typed_data.NativeFloat32List = class NativeFloat32List extends _native_typed_data.NativeTypedArrayOfDouble { + static new(length) { + if (length == null) dart.nullFailed(I[58], 745, 33, "length"); + return _native_typed_data.NativeFloat32List._create1(_native_typed_data._checkLength(length)); + } + static fromList(elements) { + if (elements == null) dart.nullFailed(I[58], 747, 51, "elements"); + return _native_typed_data.NativeFloat32List._create1(_native_typed_data._ensureNativeList(elements)); + } + static view(buffer, offsetInBytes, length) { + if (buffer == null) dart.nullFailed(I[58], 751, 18, "buffer"); + if (offsetInBytes == null) dart.nullFailed(I[58], 751, 30, "offsetInBytes"); + _native_typed_data._checkViewArguments(buffer, offsetInBytes, length); + length == null ? length = ((dart.notNull(buffer[$lengthInBytes]) - dart.notNull(offsetInBytes)) / 4)[$truncate]() : null; + return _native_typed_data.NativeFloat32List._create3(buffer, offsetInBytes, length); + } + get [$runtimeType]() { + return dart.wrapType(typed_data.Float32List); + } + [$sublist](start, end = null) { + if (start == null) dart.nullFailed(I[58], 760, 27, "start"); + let stop = _native_typed_data._checkValidRange(start, end, this[$length]); + let source = this.subarray(start, stop); + return _native_typed_data.NativeFloat32List._create1(source); + } + static _create1(arg) { + return new Float32Array(arg); + } + static _create3(arg1, arg2, arg3) { + return new Float32Array(arg1, arg2, arg3); + } + }; + dart.addTypeTests(_native_typed_data.NativeFloat32List); + dart.addTypeCaches(_native_typed_data.NativeFloat32List); + _native_typed_data.NativeFloat32List[dart.implements] = () => [typed_data.Float32List]; + dart.setMethodSignature(_native_typed_data.NativeFloat32List, () => ({ + __proto__: dart.getMethods(_native_typed_data.NativeFloat32List.__proto__), + [$sublist]: dart.fnType(typed_data.Float32List, [core.int], [dart.nullable(core.int)]) + })); + dart.setLibraryUri(_native_typed_data.NativeFloat32List, I[59]); + dart.registerExtension("Float32Array", _native_typed_data.NativeFloat32List); + _native_typed_data.NativeFloat64List = class NativeFloat64List extends _native_typed_data.NativeTypedArrayOfDouble { + static new(length) { + if (length == null) dart.nullFailed(I[58], 777, 33, "length"); + return _native_typed_data.NativeFloat64List._create1(_native_typed_data._checkLength(length)); + } + static fromList(elements) { + if (elements == null) dart.nullFailed(I[58], 779, 51, "elements"); + return _native_typed_data.NativeFloat64List._create1(_native_typed_data._ensureNativeList(elements)); + } + static view(buffer, offsetInBytes, length) { + if (buffer == null) dart.nullFailed(I[58], 783, 18, "buffer"); + if (offsetInBytes == null) dart.nullFailed(I[58], 783, 30, "offsetInBytes"); + _native_typed_data._checkViewArguments(buffer, offsetInBytes, length); + length == null ? length = ((dart.notNull(buffer[$lengthInBytes]) - dart.notNull(offsetInBytes)) / 8)[$truncate]() : null; + return _native_typed_data.NativeFloat64List._create3(buffer, offsetInBytes, length); + } + get [$runtimeType]() { + return dart.wrapType(typed_data.Float64List); + } + [$sublist](start, end = null) { + if (start == null) dart.nullFailed(I[58], 792, 27, "start"); + let stop = _native_typed_data._checkValidRange(start, end, this[$length]); + let source = this.subarray(start, stop); + return _native_typed_data.NativeFloat64List._create1(source); + } + static _create1(arg) { + return new Float64Array(arg); + } + static _create3(arg1, arg2, arg3) { + return new Float64Array(arg1, arg2, arg3); + } + }; + dart.addTypeTests(_native_typed_data.NativeFloat64List); + dart.addTypeCaches(_native_typed_data.NativeFloat64List); + _native_typed_data.NativeFloat64List[dart.implements] = () => [typed_data.Float64List]; + dart.setMethodSignature(_native_typed_data.NativeFloat64List, () => ({ + __proto__: dart.getMethods(_native_typed_data.NativeFloat64List.__proto__), + [$sublist]: dart.fnType(typed_data.Float64List, [core.int], [dart.nullable(core.int)]) + })); + dart.setLibraryUri(_native_typed_data.NativeFloat64List, I[59]); + dart.registerExtension("Float64Array", _native_typed_data.NativeFloat64List); + _native_typed_data.NativeInt16List = class NativeInt16List extends _native_typed_data.NativeTypedArrayOfInt { + static new(length) { + if (length == null) dart.nullFailed(I[58], 807, 31, "length"); + return _native_typed_data.NativeInt16List._create1(_native_typed_data._checkLength(length)); + } + static fromList(elements) { + if (elements == null) dart.nullFailed(I[58], 809, 46, "elements"); + return _native_typed_data.NativeInt16List._create1(_native_typed_data._ensureNativeList(elements)); + } + static view(buffer, offsetInBytes, length) { + if (buffer == null) dart.nullFailed(I[58], 813, 24, "buffer"); + if (offsetInBytes == null) dart.nullFailed(I[58], 813, 36, "offsetInBytes"); + _native_typed_data._checkViewArguments(buffer, offsetInBytes, length); + length == null ? length = ((dart.notNull(buffer[$lengthInBytes]) - dart.notNull(offsetInBytes)) / 2)[$truncate]() : null; + return _native_typed_data.NativeInt16List._create3(buffer, offsetInBytes, length); + } + get [$runtimeType]() { + return dart.wrapType(typed_data.Int16List); + } + [$_get](index) { + if (index == null) dart.nullFailed(I[58], 822, 23, "index"); + _native_typed_data._checkValidIndex(index, this, this[$length]); + return this[index]; + } + [$sublist](start, end = null) { + if (start == null) dart.nullFailed(I[58], 827, 25, "start"); + let stop = _native_typed_data._checkValidRange(start, end, this[$length]); + let source = this.subarray(start, stop); + return _native_typed_data.NativeInt16List._create1(source); + } + static _create1(arg) { + return new Int16Array(arg); + } + static _create3(arg1, arg2, arg3) { + return new Int16Array(arg1, arg2, arg3); + } + }; + dart.addTypeTests(_native_typed_data.NativeInt16List); + dart.addTypeCaches(_native_typed_data.NativeInt16List); + _native_typed_data.NativeInt16List[dart.implements] = () => [typed_data.Int16List]; + dart.setMethodSignature(_native_typed_data.NativeInt16List, () => ({ + __proto__: dart.getMethods(_native_typed_data.NativeInt16List.__proto__), + [$_get]: dart.fnType(core.int, [core.int]), + [$sublist]: dart.fnType(typed_data.Int16List, [core.int], [dart.nullable(core.int)]) + })); + dart.setLibraryUri(_native_typed_data.NativeInt16List, I[59]); + dart.registerExtension("Int16Array", _native_typed_data.NativeInt16List); + _native_typed_data.NativeInt32List = class NativeInt32List extends _native_typed_data.NativeTypedArrayOfInt { + static new(length) { + if (length == null) dart.nullFailed(I[58], 842, 31, "length"); + return _native_typed_data.NativeInt32List._create1(_native_typed_data._checkLength(length)); + } + static fromList(elements) { + if (elements == null) dart.nullFailed(I[58], 844, 46, "elements"); + return _native_typed_data.NativeInt32List._create1(_native_typed_data._ensureNativeList(elements)); + } + static view(buffer, offsetInBytes, length) { + if (buffer == null) dart.nullFailed(I[58], 848, 18, "buffer"); + if (offsetInBytes == null) dart.nullFailed(I[58], 848, 30, "offsetInBytes"); + _native_typed_data._checkViewArguments(buffer, offsetInBytes, length); + length == null ? length = ((dart.notNull(buffer[$lengthInBytes]) - dart.notNull(offsetInBytes)) / 4)[$truncate]() : null; + return _native_typed_data.NativeInt32List._create3(buffer, offsetInBytes, length); + } + get [$runtimeType]() { + return dart.wrapType(typed_data.Int32List); + } + [$_get](index) { + if (index == null) dart.nullFailed(I[58], 857, 23, "index"); + _native_typed_data._checkValidIndex(index, this, this[$length]); + return this[index]; + } + [$sublist](start, end = null) { + if (start == null) dart.nullFailed(I[58], 862, 25, "start"); + let stop = _native_typed_data._checkValidRange(start, end, this[$length]); + let source = this.subarray(start, stop); + return _native_typed_data.NativeInt32List._create1(source); + } + static _create1(arg) { + return new Int32Array(arg); + } + static _create3(arg1, arg2, arg3) { + return new Int32Array(arg1, arg2, arg3); + } + }; + dart.addTypeTests(_native_typed_data.NativeInt32List); + dart.addTypeCaches(_native_typed_data.NativeInt32List); + _native_typed_data.NativeInt32List[dart.implements] = () => [typed_data.Int32List]; + dart.setMethodSignature(_native_typed_data.NativeInt32List, () => ({ + __proto__: dart.getMethods(_native_typed_data.NativeInt32List.__proto__), + [$_get]: dart.fnType(core.int, [core.int]), + [$sublist]: dart.fnType(typed_data.Int32List, [core.int], [dart.nullable(core.int)]) + })); + dart.setLibraryUri(_native_typed_data.NativeInt32List, I[59]); + dart.registerExtension("Int32Array", _native_typed_data.NativeInt32List); + _native_typed_data.NativeInt8List = class NativeInt8List extends _native_typed_data.NativeTypedArrayOfInt { + static new(length) { + if (length == null) dart.nullFailed(I[58], 878, 30, "length"); + return _native_typed_data.NativeInt8List._create1(_native_typed_data._checkLength(length)); + } + static fromList(elements) { + if (elements == null) dart.nullFailed(I[58], 880, 45, "elements"); + return _native_typed_data.NativeInt8List._create1(_native_typed_data._ensureNativeList(elements)); + } + static view(buffer, offsetInBytes, length) { + if (buffer == null) dart.nullFailed(I[58], 884, 18, "buffer"); + if (offsetInBytes == null) dart.nullFailed(I[58], 884, 30, "offsetInBytes"); + _native_typed_data._checkViewArguments(buffer, offsetInBytes, length); + return length == null ? _native_typed_data.NativeInt8List._create2(buffer, offsetInBytes) : _native_typed_data.NativeInt8List._create3(buffer, offsetInBytes, length); + } + get [$runtimeType]() { + return dart.wrapType(typed_data.Int8List); + } + [$_get](index) { + if (index == null) dart.nullFailed(I[58], 893, 23, "index"); + _native_typed_data._checkValidIndex(index, this, this[$length]); + return this[index]; + } + [$sublist](start, end = null) { + if (start == null) dart.nullFailed(I[58], 898, 24, "start"); + let stop = _native_typed_data._checkValidRange(start, end, this[$length]); + let source = this.subarray(start, stop); + return _native_typed_data.NativeInt8List._create1(source); + } + static _create1(arg) { + return new Int8Array(arg); + } + static _create2(arg1, arg2) { + return new Int8Array(arg1, arg2); + } + static _create3(arg1, arg2, arg3) { + return new Int8Array(arg1, arg2, arg3); + } + }; + dart.addTypeTests(_native_typed_data.NativeInt8List); + dart.addTypeCaches(_native_typed_data.NativeInt8List); + _native_typed_data.NativeInt8List[dart.implements] = () => [typed_data.Int8List]; + dart.setMethodSignature(_native_typed_data.NativeInt8List, () => ({ + __proto__: dart.getMethods(_native_typed_data.NativeInt8List.__proto__), + [$_get]: dart.fnType(core.int, [core.int]), + [$sublist]: dart.fnType(typed_data.Int8List, [core.int], [dart.nullable(core.int)]) + })); + dart.setLibraryUri(_native_typed_data.NativeInt8List, I[59]); + dart.registerExtension("Int8Array", _native_typed_data.NativeInt8List); + _native_typed_data.NativeUint16List = class NativeUint16List extends _native_typed_data.NativeTypedArrayOfInt { + static new(length) { + if (length == null) dart.nullFailed(I[58], 916, 32, "length"); + return _native_typed_data.NativeUint16List._create1(_native_typed_data._checkLength(length)); + } + static fromList(list) { + if (list == null) dart.nullFailed(I[58], 918, 47, "list"); + return _native_typed_data.NativeUint16List._create1(_native_typed_data._ensureNativeList(list)); + } + static view(buffer, offsetInBytes, length) { + if (buffer == null) dart.nullFailed(I[58], 922, 18, "buffer"); + if (offsetInBytes == null) dart.nullFailed(I[58], 922, 30, "offsetInBytes"); + _native_typed_data._checkViewArguments(buffer, offsetInBytes, length); + length == null ? length = ((dart.notNull(buffer[$lengthInBytes]) - dart.notNull(offsetInBytes)) / 2)[$truncate]() : null; + return _native_typed_data.NativeUint16List._create3(buffer, offsetInBytes, length); + } + get [$runtimeType]() { + return dart.wrapType(typed_data.Uint16List); + } + [$_get](index) { + if (index == null) dart.nullFailed(I[58], 931, 23, "index"); + _native_typed_data._checkValidIndex(index, this, this[$length]); + return this[index]; + } + [$sublist](start, end = null) { + if (start == null) dart.nullFailed(I[58], 936, 26, "start"); + let stop = _native_typed_data._checkValidRange(start, end, this[$length]); + let source = this.subarray(start, stop); + return _native_typed_data.NativeUint16List._create1(source); + } + static _create1(arg) { + return new Uint16Array(arg); + } + static _create3(arg1, arg2, arg3) { + return new Uint16Array(arg1, arg2, arg3); + } + }; + dart.addTypeTests(_native_typed_data.NativeUint16List); + dart.addTypeCaches(_native_typed_data.NativeUint16List); + _native_typed_data.NativeUint16List[dart.implements] = () => [typed_data.Uint16List]; + dart.setMethodSignature(_native_typed_data.NativeUint16List, () => ({ + __proto__: dart.getMethods(_native_typed_data.NativeUint16List.__proto__), + [$_get]: dart.fnType(core.int, [core.int]), + [$sublist]: dart.fnType(typed_data.Uint16List, [core.int], [dart.nullable(core.int)]) + })); + dart.setLibraryUri(_native_typed_data.NativeUint16List, I[59]); + dart.registerExtension("Uint16Array", _native_typed_data.NativeUint16List); + _native_typed_data.NativeUint32List = class NativeUint32List extends _native_typed_data.NativeTypedArrayOfInt { + static new(length) { + if (length == null) dart.nullFailed(I[58], 952, 32, "length"); + return _native_typed_data.NativeUint32List._create1(_native_typed_data._checkLength(length)); + } + static fromList(elements) { + if (elements == null) dart.nullFailed(I[58], 954, 47, "elements"); + return _native_typed_data.NativeUint32List._create1(_native_typed_data._ensureNativeList(elements)); + } + static view(buffer, offsetInBytes, length) { + if (buffer == null) dart.nullFailed(I[58], 958, 18, "buffer"); + if (offsetInBytes == null) dart.nullFailed(I[58], 958, 30, "offsetInBytes"); + _native_typed_data._checkViewArguments(buffer, offsetInBytes, length); + length == null ? length = ((dart.notNull(buffer[$lengthInBytes]) - dart.notNull(offsetInBytes)) / 4)[$truncate]() : null; + return _native_typed_data.NativeUint32List._create3(buffer, offsetInBytes, length); + } + get [$runtimeType]() { + return dart.wrapType(typed_data.Uint32List); + } + [$_get](index) { + if (index == null) dart.nullFailed(I[58], 967, 23, "index"); + _native_typed_data._checkValidIndex(index, this, this[$length]); + return this[index]; + } + [$sublist](start, end = null) { + if (start == null) dart.nullFailed(I[58], 972, 26, "start"); + let stop = _native_typed_data._checkValidRange(start, end, this[$length]); + let source = this.subarray(start, stop); + return _native_typed_data.NativeUint32List._create1(source); + } + static _create1(arg) { + return new Uint32Array(arg); + } + static _create3(arg1, arg2, arg3) { + return new Uint32Array(arg1, arg2, arg3); + } + }; + dart.addTypeTests(_native_typed_data.NativeUint32List); + dart.addTypeCaches(_native_typed_data.NativeUint32List); + _native_typed_data.NativeUint32List[dart.implements] = () => [typed_data.Uint32List]; + dart.setMethodSignature(_native_typed_data.NativeUint32List, () => ({ + __proto__: dart.getMethods(_native_typed_data.NativeUint32List.__proto__), + [$_get]: dart.fnType(core.int, [core.int]), + [$sublist]: dart.fnType(typed_data.Uint32List, [core.int], [dart.nullable(core.int)]) + })); + dart.setLibraryUri(_native_typed_data.NativeUint32List, I[59]); + dart.registerExtension("Uint32Array", _native_typed_data.NativeUint32List); + _native_typed_data.NativeUint8ClampedList = class NativeUint8ClampedList extends _native_typed_data.NativeTypedArrayOfInt { + static new(length) { + if (length == null) dart.nullFailed(I[58], 989, 38, "length"); + return _native_typed_data.NativeUint8ClampedList._create1(_native_typed_data._checkLength(length)); + } + static fromList(elements) { + if (elements == null) dart.nullFailed(I[58], 991, 53, "elements"); + return _native_typed_data.NativeUint8ClampedList._create1(_native_typed_data._ensureNativeList(elements)); + } + static view(buffer, offsetInBytes, length) { + if (buffer == null) dart.nullFailed(I[58], 995, 18, "buffer"); + if (offsetInBytes == null) dart.nullFailed(I[58], 995, 30, "offsetInBytes"); + _native_typed_data._checkViewArguments(buffer, offsetInBytes, length); + return length == null ? _native_typed_data.NativeUint8ClampedList._create2(buffer, offsetInBytes) : _native_typed_data.NativeUint8ClampedList._create3(buffer, offsetInBytes, length); + } + get [$runtimeType]() { + return dart.wrapType(typed_data.Uint8ClampedList); + } + get [$length]() { + return this.length; + } + set [$length](value) { + super[$length] = value; + } + [$_get](index) { + if (index == null) dart.nullFailed(I[58], 1006, 23, "index"); + _native_typed_data._checkValidIndex(index, this, this[$length]); + return this[index]; + } + [$sublist](start, end = null) { + if (start == null) dart.nullFailed(I[58], 1011, 32, "start"); + let stop = _native_typed_data._checkValidRange(start, end, this[$length]); + let source = this.subarray(start, stop); + return _native_typed_data.NativeUint8ClampedList._create1(source); + } + static _create1(arg) { + return new Uint8ClampedArray(arg); + } + static _create2(arg1, arg2) { + return new Uint8ClampedArray(arg1, arg2); + } + static _create3(arg1, arg2, arg3) { + return new Uint8ClampedArray(arg1, arg2, arg3); + } + }; + dart.addTypeTests(_native_typed_data.NativeUint8ClampedList); + dart.addTypeCaches(_native_typed_data.NativeUint8ClampedList); + _native_typed_data.NativeUint8ClampedList[dart.implements] = () => [typed_data.Uint8ClampedList]; + dart.setMethodSignature(_native_typed_data.NativeUint8ClampedList, () => ({ + __proto__: dart.getMethods(_native_typed_data.NativeUint8ClampedList.__proto__), + [$_get]: dart.fnType(core.int, [core.int]), + [$sublist]: dart.fnType(typed_data.Uint8ClampedList, [core.int], [dart.nullable(core.int)]) + })); + dart.setLibraryUri(_native_typed_data.NativeUint8ClampedList, I[59]); + dart.registerExtension("Uint8ClampedArray", _native_typed_data.NativeUint8ClampedList); + dart.registerExtension("CanvasPixelArray", _native_typed_data.NativeUint8ClampedList); + _native_typed_data.NativeUint8List = class NativeUint8List extends _native_typed_data.NativeTypedArrayOfInt { + static new(length) { + if (length == null) dart.nullFailed(I[58], 1039, 31, "length"); + return _native_typed_data.NativeUint8List._create1(_native_typed_data._checkLength(length)); + } + static fromList(elements) { + if (elements == null) dart.nullFailed(I[58], 1041, 46, "elements"); + return _native_typed_data.NativeUint8List._create1(_native_typed_data._ensureNativeList(elements)); + } + static view(buffer, offsetInBytes, length) { + if (buffer == null) dart.nullFailed(I[58], 1045, 18, "buffer"); + if (offsetInBytes == null) dart.nullFailed(I[58], 1045, 30, "offsetInBytes"); + _native_typed_data._checkViewArguments(buffer, offsetInBytes, length); + return length == null ? _native_typed_data.NativeUint8List._create2(buffer, offsetInBytes) : _native_typed_data.NativeUint8List._create3(buffer, offsetInBytes, length); + } + get [$runtimeType]() { + return dart.wrapType(typed_data.Uint8List); + } + get [$length]() { + return this.length; + } + set [$length](value) { + super[$length] = value; + } + [$_get](index) { + if (index == null) dart.nullFailed(I[58], 1056, 23, "index"); + _native_typed_data._checkValidIndex(index, this, this[$length]); + return this[index]; + } + [$sublist](start, end = null) { + if (start == null) dart.nullFailed(I[58], 1061, 25, "start"); + let stop = _native_typed_data._checkValidRange(start, end, this[$length]); + let source = this.subarray(start, stop); + return _native_typed_data.NativeUint8List._create1(source); + } + static _create1(arg) { + return new Uint8Array(arg); + } + static _create2(arg1, arg2) { + return new Uint8Array(arg1, arg2); + } + static _create3(arg1, arg2, arg3) { + return new Uint8Array(arg1, arg2, arg3); + } + }; + dart.addTypeTests(_native_typed_data.NativeUint8List); + dart.addTypeCaches(_native_typed_data.NativeUint8List); + _native_typed_data.NativeUint8List[dart.implements] = () => [typed_data.Uint8List]; + dart.setMethodSignature(_native_typed_data.NativeUint8List, () => ({ + __proto__: dart.getMethods(_native_typed_data.NativeUint8List.__proto__), + [$_get]: dart.fnType(core.int, [core.int]), + [$sublist]: dart.fnType(typed_data.Uint8List, [core.int], [dart.nullable(core.int)]) + })); + dart.setLibraryUri(_native_typed_data.NativeUint8List, I[59]); + dart.registerExtension("Uint8Array", _native_typed_data.NativeUint8List); + var x$ = dart.privateName(_native_typed_data, "NativeFloat32x4.x"); + var y$ = dart.privateName(_native_typed_data, "NativeFloat32x4.y"); + var z$ = dart.privateName(_native_typed_data, "NativeFloat32x4.z"); + var w$ = dart.privateName(_native_typed_data, "NativeFloat32x4.w"); + _native_typed_data.NativeFloat32x4 = class NativeFloat32x4 extends core.Object { + get x() { + return this[x$]; + } + set x(value) { + super.x = value; + } + get y() { + return this[y$]; + } + set y(value) { + super.y = value; + } + get z() { + return this[z$]; + } + set z(value) { + super.z = value; + } + get w() { + return this[w$]; + } + set w(value) { + super.w = value; + } + static _truncate(x) { + _native_typed_data.NativeFloat32x4._list[$_set](0, core.num.as(x)); + return _native_typed_data.NativeFloat32x4._list[$_get](0); + } + static fromInt32x4Bits(i) { + if (i == null) dart.nullFailed(I[58], 1112, 51, "i"); + _native_typed_data.NativeFloat32x4._uint32view[$_set](0, i.x); + _native_typed_data.NativeFloat32x4._uint32view[$_set](1, i.y); + _native_typed_data.NativeFloat32x4._uint32view[$_set](2, i.z); + _native_typed_data.NativeFloat32x4._uint32view[$_set](3, i.w); + return new _native_typed_data.NativeFloat32x4._truncated(_native_typed_data.NativeFloat32x4._list[$_get](0), _native_typed_data.NativeFloat32x4._list[$_get](1), _native_typed_data.NativeFloat32x4._list[$_get](2), _native_typed_data.NativeFloat32x4._list[$_get](3)); + } + toString() { + return "[" + dart.str(this.x) + ", " + dart.str(this.y) + ", " + dart.str(this.z) + ", " + dart.str(this.w) + "]"; + } + ['+'](other) { + if (other == null) dart.nullFailed(I[58], 1144, 34, "other"); + let _x = dart.notNull(this.x) + dart.notNull(other.x); + let _y = dart.notNull(this.y) + dart.notNull(other.y); + let _z = dart.notNull(this.z) + dart.notNull(other.z); + let _w = dart.notNull(this.w) + dart.notNull(other.w); + return new _native_typed_data.NativeFloat32x4._doubles(_x, _y, _z, _w); + } + _negate() { + return new _native_typed_data.NativeFloat32x4._truncated(-dart.notNull(this.x), -dart.notNull(this.y), -dart.notNull(this.z), -dart.notNull(this.w)); + } + ['-'](other) { + if (other == null) dart.nullFailed(I[58], 1158, 34, "other"); + let _x = dart.notNull(this.x) - dart.notNull(other.x); + let _y = dart.notNull(this.y) - dart.notNull(other.y); + let _z = dart.notNull(this.z) - dart.notNull(other.z); + let _w = dart.notNull(this.w) - dart.notNull(other.w); + return new _native_typed_data.NativeFloat32x4._doubles(_x, _y, _z, _w); + } + ['*'](other) { + if (other == null) dart.nullFailed(I[58], 1167, 34, "other"); + let _x = dart.notNull(this.x) * dart.notNull(other.x); + let _y = dart.notNull(this.y) * dart.notNull(other.y); + let _z = dart.notNull(this.z) * dart.notNull(other.z); + let _w = dart.notNull(this.w) * dart.notNull(other.w); + return new _native_typed_data.NativeFloat32x4._doubles(_x, _y, _z, _w); + } + ['/'](other) { + if (other == null) dart.nullFailed(I[58], 1176, 34, "other"); + let _x = dart.notNull(this.x) / dart.notNull(other.x); + let _y = dart.notNull(this.y) / dart.notNull(other.y); + let _z = dart.notNull(this.z) / dart.notNull(other.z); + let _w = dart.notNull(this.w) / dart.notNull(other.w); + return new _native_typed_data.NativeFloat32x4._doubles(_x, _y, _z, _w); + } + lessThan(other) { + if (other == null) dart.nullFailed(I[58], 1185, 30, "other"); + let _cx = dart.notNull(this.x) < dart.notNull(other.x); + let _cy = dart.notNull(this.y) < dart.notNull(other.y); + let _cz = dart.notNull(this.z) < dart.notNull(other.z); + let _cw = dart.notNull(this.w) < dart.notNull(other.w); + return new _native_typed_data.NativeInt32x4._truncated(_cx ? -1 : 0, _cy ? -1 : 0, _cz ? -1 : 0, _cw ? -1 : 0); + } + lessThanOrEqual(other) { + if (other == null) dart.nullFailed(I[58], 1195, 37, "other"); + let _cx = dart.notNull(this.x) <= dart.notNull(other.x); + let _cy = dart.notNull(this.y) <= dart.notNull(other.y); + let _cz = dart.notNull(this.z) <= dart.notNull(other.z); + let _cw = dart.notNull(this.w) <= dart.notNull(other.w); + return new _native_typed_data.NativeInt32x4._truncated(_cx ? -1 : 0, _cy ? -1 : 0, _cz ? -1 : 0, _cw ? -1 : 0); + } + greaterThan(other) { + if (other == null) dart.nullFailed(I[58], 1205, 33, "other"); + let _cx = dart.notNull(this.x) > dart.notNull(other.x); + let _cy = dart.notNull(this.y) > dart.notNull(other.y); + let _cz = dart.notNull(this.z) > dart.notNull(other.z); + let _cw = dart.notNull(this.w) > dart.notNull(other.w); + return new _native_typed_data.NativeInt32x4._truncated(_cx ? -1 : 0, _cy ? -1 : 0, _cz ? -1 : 0, _cw ? -1 : 0); + } + greaterThanOrEqual(other) { + if (other == null) dart.nullFailed(I[58], 1215, 40, "other"); + let _cx = dart.notNull(this.x) >= dart.notNull(other.x); + let _cy = dart.notNull(this.y) >= dart.notNull(other.y); + let _cz = dart.notNull(this.z) >= dart.notNull(other.z); + let _cw = dart.notNull(this.w) >= dart.notNull(other.w); + return new _native_typed_data.NativeInt32x4._truncated(_cx ? -1 : 0, _cy ? -1 : 0, _cz ? -1 : 0, _cw ? -1 : 0); + } + equal(other) { + if (other == null) dart.nullFailed(I[58], 1225, 27, "other"); + let _cx = this.x == other.x; + let _cy = this.y == other.y; + let _cz = this.z == other.z; + let _cw = this.w == other.w; + return new _native_typed_data.NativeInt32x4._truncated(_cx ? -1 : 0, _cy ? -1 : 0, _cz ? -1 : 0, _cw ? -1 : 0); + } + notEqual(other) { + if (other == null) dart.nullFailed(I[58], 1235, 30, "other"); + let _cx = this.x != other.x; + let _cy = this.y != other.y; + let _cz = this.z != other.z; + let _cw = this.w != other.w; + return new _native_typed_data.NativeInt32x4._truncated(_cx ? -1 : 0, _cy ? -1 : 0, _cz ? -1 : 0, _cw ? -1 : 0); + } + scale(s) { + if (s == null) dart.nullFailed(I[58], 1245, 26, "s"); + let _x = dart.notNull(s) * dart.notNull(this.x); + let _y = dart.notNull(s) * dart.notNull(this.y); + let _z = dart.notNull(s) * dart.notNull(this.z); + let _w = dart.notNull(s) * dart.notNull(this.w); + return new _native_typed_data.NativeFloat32x4._doubles(_x, _y, _z, _w); + } + abs() { + let _x = this.x[$abs](); + let _y = this.y[$abs](); + let _z = this.z[$abs](); + let _w = this.w[$abs](); + return new _native_typed_data.NativeFloat32x4._truncated(_x, _y, _z, _w); + } + clamp(lowerLimit, upperLimit) { + if (lowerLimit == null) dart.nullFailed(I[58], 1263, 29, "lowerLimit"); + if (upperLimit == null) dart.nullFailed(I[58], 1263, 51, "upperLimit"); + let _lx = lowerLimit.x; + let _ly = lowerLimit.y; + let _lz = lowerLimit.z; + let _lw = lowerLimit.w; + let _ux = upperLimit.x; + let _uy = upperLimit.y; + let _uz = upperLimit.z; + let _uw = upperLimit.w; + let _x = this.x; + let _y = this.y; + let _z = this.z; + let _w = this.w; + _x = dart.notNull(_x) > dart.notNull(_ux) ? _ux : _x; + _y = dart.notNull(_y) > dart.notNull(_uy) ? _uy : _y; + _z = dart.notNull(_z) > dart.notNull(_uz) ? _uz : _z; + _w = dart.notNull(_w) > dart.notNull(_uw) ? _uw : _w; + _x = dart.notNull(_x) < dart.notNull(_lx) ? _lx : _x; + _y = dart.notNull(_y) < dart.notNull(_ly) ? _ly : _y; + _z = dart.notNull(_z) < dart.notNull(_lz) ? _lz : _z; + _w = dart.notNull(_w) < dart.notNull(_lw) ? _lw : _w; + return new _native_typed_data.NativeFloat32x4._truncated(_x, _y, _z, _w); + } + get signMask() { + let view = _native_typed_data.NativeFloat32x4._uint32view; + let mx = null; + let my = null; + let mz = null; + let mw = null; + _native_typed_data.NativeFloat32x4._list[$_set](0, this.x); + _native_typed_data.NativeFloat32x4._list[$_set](1, this.y); + _native_typed_data.NativeFloat32x4._list[$_set](2, this.z); + _native_typed_data.NativeFloat32x4._list[$_set](3, this.w); + mx = (dart.notNull(view[$_get](0)) & 2147483648) >>> 31; + my = (dart.notNull(view[$_get](1)) & 2147483648) >>> 30; + mz = (dart.notNull(view[$_get](2)) & 2147483648) >>> 29; + mw = (dart.notNull(view[$_get](3)) & 2147483648) >>> 28; + return core.int.as(dart.dsend(dart.dsend(dart.dsend(mx, '|', [my]), '|', [mz]), '|', [mw])); + } + shuffle(mask) { + if (mask == null) dart.nullFailed(I[58], 1305, 25, "mask"); + if (dart.notNull(mask) < 0 || dart.notNull(mask) > 255) { + dart.throw(new core.RangeError.range(mask, 0, 255, "mask")); + } + _native_typed_data.NativeFloat32x4._list[$_set](0, this.x); + _native_typed_data.NativeFloat32x4._list[$_set](1, this.y); + _native_typed_data.NativeFloat32x4._list[$_set](2, this.z); + _native_typed_data.NativeFloat32x4._list[$_set](3, this.w); + let _x = _native_typed_data.NativeFloat32x4._list[$_get](dart.notNull(mask) & 3); + let _y = _native_typed_data.NativeFloat32x4._list[$_get](dart.notNull(mask) >> 2 & 3); + let _z = _native_typed_data.NativeFloat32x4._list[$_get](dart.notNull(mask) >> 4 & 3); + let _w = _native_typed_data.NativeFloat32x4._list[$_get](dart.notNull(mask) >> 6 & 3); + return new _native_typed_data.NativeFloat32x4._truncated(_x, _y, _z, _w); + } + shuffleMix(other, mask) { + if (other == null) dart.nullFailed(I[58], 1324, 34, "other"); + if (mask == null) dart.nullFailed(I[58], 1324, 45, "mask"); + if (dart.notNull(mask) < 0 || dart.notNull(mask) > 255) { + dart.throw(new core.RangeError.range(mask, 0, 255, "mask")); + } + _native_typed_data.NativeFloat32x4._list[$_set](0, this.x); + _native_typed_data.NativeFloat32x4._list[$_set](1, this.y); + _native_typed_data.NativeFloat32x4._list[$_set](2, this.z); + _native_typed_data.NativeFloat32x4._list[$_set](3, this.w); + let _x = _native_typed_data.NativeFloat32x4._list[$_get](dart.notNull(mask) & 3); + let _y = _native_typed_data.NativeFloat32x4._list[$_get](dart.notNull(mask) >> 2 & 3); + _native_typed_data.NativeFloat32x4._list[$_set](0, other.x); + _native_typed_data.NativeFloat32x4._list[$_set](1, other.y); + _native_typed_data.NativeFloat32x4._list[$_set](2, other.z); + _native_typed_data.NativeFloat32x4._list[$_set](3, other.w); + let _z = _native_typed_data.NativeFloat32x4._list[$_get](dart.notNull(mask) >> 4 & 3); + let _w = _native_typed_data.NativeFloat32x4._list[$_get](dart.notNull(mask) >> 6 & 3); + return new _native_typed_data.NativeFloat32x4._truncated(_x, _y, _z, _w); + } + withX(newX) { + if (newX == null) dart.nullFailed(I[58], 1345, 26, "newX"); + core.ArgumentError.checkNotNull(core.double, newX); + return new _native_typed_data.NativeFloat32x4._truncated(core.double.as(_native_typed_data.NativeFloat32x4._truncate(newX)), this.y, this.z, this.w); + } + withY(newY) { + if (newY == null) dart.nullFailed(I[58], 1351, 26, "newY"); + core.ArgumentError.checkNotNull(core.double, newY); + return new _native_typed_data.NativeFloat32x4._truncated(this.x, core.double.as(_native_typed_data.NativeFloat32x4._truncate(newY)), this.z, this.w); + } + withZ(newZ) { + if (newZ == null) dart.nullFailed(I[58], 1357, 26, "newZ"); + core.ArgumentError.checkNotNull(core.double, newZ); + return new _native_typed_data.NativeFloat32x4._truncated(this.x, this.y, core.double.as(_native_typed_data.NativeFloat32x4._truncate(newZ)), this.w); + } + withW(newW) { + if (newW == null) dart.nullFailed(I[58], 1363, 26, "newW"); + core.ArgumentError.checkNotNull(core.double, newW); + return new _native_typed_data.NativeFloat32x4._truncated(this.x, this.y, this.z, core.double.as(_native_typed_data.NativeFloat32x4._truncate(newW))); + } + min(other) { + if (other == null) dart.nullFailed(I[58], 1369, 27, "other"); + let _x = dart.notNull(this.x) < dart.notNull(other.x) ? this.x : other.x; + let _y = dart.notNull(this.y) < dart.notNull(other.y) ? this.y : other.y; + let _z = dart.notNull(this.z) < dart.notNull(other.z) ? this.z : other.z; + let _w = dart.notNull(this.w) < dart.notNull(other.w) ? this.w : other.w; + return new _native_typed_data.NativeFloat32x4._truncated(_x, _y, _z, _w); + } + max(other) { + if (other == null) dart.nullFailed(I[58], 1378, 27, "other"); + let _x = dart.notNull(this.x) > dart.notNull(other.x) ? this.x : other.x; + let _y = dart.notNull(this.y) > dart.notNull(other.y) ? this.y : other.y; + let _z = dart.notNull(this.z) > dart.notNull(other.z) ? this.z : other.z; + let _w = dart.notNull(this.w) > dart.notNull(other.w) ? this.w : other.w; + return new _native_typed_data.NativeFloat32x4._truncated(_x, _y, _z, _w); + } + sqrt() { + let _x = math.sqrt(this.x); + let _y = math.sqrt(this.y); + let _z = math.sqrt(this.z); + let _w = math.sqrt(this.w); + return new _native_typed_data.NativeFloat32x4._doubles(_x, _y, _z, _w); + } + reciprocal() { + let _x = 1.0 / dart.notNull(this.x); + let _y = 1.0 / dart.notNull(this.y); + let _z = 1.0 / dart.notNull(this.z); + let _w = 1.0 / dart.notNull(this.w); + return new _native_typed_data.NativeFloat32x4._doubles(_x, _y, _z, _w); + } + reciprocalSqrt() { + let _x = math.sqrt(1.0 / dart.notNull(this.x)); + let _y = math.sqrt(1.0 / dart.notNull(this.y)); + let _z = math.sqrt(1.0 / dart.notNull(this.z)); + let _w = math.sqrt(1.0 / dart.notNull(this.w)); + return new _native_typed_data.NativeFloat32x4._doubles(_x, _y, _z, _w); + } + }; + (_native_typed_data.NativeFloat32x4.new = function(x, y, z, w) { + if (x == null) dart.nullFailed(I[58], 1095, 26, "x"); + if (y == null) dart.nullFailed(I[58], 1095, 36, "y"); + if (z == null) dart.nullFailed(I[58], 1095, 46, "z"); + if (w == null) dart.nullFailed(I[58], 1095, 56, "w"); + this[x$] = core.double.as(_native_typed_data.NativeFloat32x4._truncate(x)); + this[y$] = core.double.as(_native_typed_data.NativeFloat32x4._truncate(y)); + this[z$] = core.double.as(_native_typed_data.NativeFloat32x4._truncate(z)); + this[w$] = core.double.as(_native_typed_data.NativeFloat32x4._truncate(w)); + if (!(typeof x == 'number')) dart.throw(new core.ArgumentError.new(x)); + if (!(typeof y == 'number')) dart.throw(new core.ArgumentError.new(y)); + if (!(typeof z == 'number')) dart.throw(new core.ArgumentError.new(z)); + if (!(typeof w == 'number')) dart.throw(new core.ArgumentError.new(w)); + }).prototype = _native_typed_data.NativeFloat32x4.prototype; + (_native_typed_data.NativeFloat32x4.splat = function(v) { + if (v == null) dart.nullFailed(I[58], 1108, 32, "v"); + _native_typed_data.NativeFloat32x4.new.call(this, v, v, v, v); + }).prototype = _native_typed_data.NativeFloat32x4.prototype; + (_native_typed_data.NativeFloat32x4.zero = function() { + _native_typed_data.NativeFloat32x4._truncated.call(this, 0.0, 0.0, 0.0, 0.0); + }).prototype = _native_typed_data.NativeFloat32x4.prototype; + (_native_typed_data.NativeFloat32x4.fromFloat64x2 = function(v) { + if (v == null) dart.nullFailed(I[58], 1120, 43, "v"); + _native_typed_data.NativeFloat32x4._truncated.call(this, core.double.as(_native_typed_data.NativeFloat32x4._truncate(v.x)), core.double.as(_native_typed_data.NativeFloat32x4._truncate(v.y)), 0.0, 0.0); + }).prototype = _native_typed_data.NativeFloat32x4.prototype; + (_native_typed_data.NativeFloat32x4._doubles = function(x, y, z, w) { + if (x == null) dart.nullFailed(I[58], 1126, 35, "x"); + if (y == null) dart.nullFailed(I[58], 1126, 45, "y"); + if (z == null) dart.nullFailed(I[58], 1126, 55, "z"); + if (w == null) dart.nullFailed(I[58], 1126, 65, "w"); + this[x$] = core.double.as(_native_typed_data.NativeFloat32x4._truncate(x)); + this[y$] = core.double.as(_native_typed_data.NativeFloat32x4._truncate(y)); + this[z$] = core.double.as(_native_typed_data.NativeFloat32x4._truncate(z)); + this[w$] = core.double.as(_native_typed_data.NativeFloat32x4._truncate(w)); + ; + }).prototype = _native_typed_data.NativeFloat32x4.prototype; + (_native_typed_data.NativeFloat32x4._truncated = function(x, y, z, w) { + if (x == null) dart.nullFailed(I[58], 1137, 35, "x"); + if (y == null) dart.nullFailed(I[58], 1137, 43, "y"); + if (z == null) dart.nullFailed(I[58], 1137, 51, "z"); + if (w == null) dart.nullFailed(I[58], 1137, 59, "w"); + this[x$] = x; + this[y$] = y; + this[z$] = z; + this[w$] = w; + ; + }).prototype = _native_typed_data.NativeFloat32x4.prototype; + dart.addTypeTests(_native_typed_data.NativeFloat32x4); + dart.addTypeCaches(_native_typed_data.NativeFloat32x4); + _native_typed_data.NativeFloat32x4[dart.implements] = () => [typed_data.Float32x4]; + dart.setMethodSignature(_native_typed_data.NativeFloat32x4, () => ({ + __proto__: dart.getMethods(_native_typed_data.NativeFloat32x4.__proto__), + '+': dart.fnType(typed_data.Float32x4, [typed_data.Float32x4]), + _negate: dart.fnType(typed_data.Float32x4, []), + '-': dart.fnType(typed_data.Float32x4, [typed_data.Float32x4]), + '*': dart.fnType(typed_data.Float32x4, [typed_data.Float32x4]), + '/': dart.fnType(typed_data.Float32x4, [typed_data.Float32x4]), + lessThan: dart.fnType(typed_data.Int32x4, [typed_data.Float32x4]), + lessThanOrEqual: dart.fnType(typed_data.Int32x4, [typed_data.Float32x4]), + greaterThan: dart.fnType(typed_data.Int32x4, [typed_data.Float32x4]), + greaterThanOrEqual: dart.fnType(typed_data.Int32x4, [typed_data.Float32x4]), + equal: dart.fnType(typed_data.Int32x4, [typed_data.Float32x4]), + notEqual: dart.fnType(typed_data.Int32x4, [typed_data.Float32x4]), + scale: dart.fnType(typed_data.Float32x4, [core.double]), + abs: dart.fnType(typed_data.Float32x4, []), + clamp: dart.fnType(typed_data.Float32x4, [typed_data.Float32x4, typed_data.Float32x4]), + shuffle: dart.fnType(typed_data.Float32x4, [core.int]), + shuffleMix: dart.fnType(typed_data.Float32x4, [typed_data.Float32x4, core.int]), + withX: dart.fnType(typed_data.Float32x4, [core.double]), + withY: dart.fnType(typed_data.Float32x4, [core.double]), + withZ: dart.fnType(typed_data.Float32x4, [core.double]), + withW: dart.fnType(typed_data.Float32x4, [core.double]), + min: dart.fnType(typed_data.Float32x4, [typed_data.Float32x4]), + max: dart.fnType(typed_data.Float32x4, [typed_data.Float32x4]), + sqrt: dart.fnType(typed_data.Float32x4, []), + reciprocal: dart.fnType(typed_data.Float32x4, []), + reciprocalSqrt: dart.fnType(typed_data.Float32x4, []) + })); + dart.setGetterSignature(_native_typed_data.NativeFloat32x4, () => ({ + __proto__: dart.getGetters(_native_typed_data.NativeFloat32x4.__proto__), + signMask: core.int + })); + dart.setLibraryUri(_native_typed_data.NativeFloat32x4, I[59]); + dart.setFieldSignature(_native_typed_data.NativeFloat32x4, () => ({ + __proto__: dart.getFields(_native_typed_data.NativeFloat32x4.__proto__), + x: dart.finalFieldType(core.double), + y: dart.finalFieldType(core.double), + z: dart.finalFieldType(core.double), + w: dart.finalFieldType(core.double) + })); + dart.defineExtensionMethods(_native_typed_data.NativeFloat32x4, ['toString']); + dart.defineLazy(_native_typed_data.NativeFloat32x4, { + /*_native_typed_data.NativeFloat32x4._list*/get _list() { + return _native_typed_data.NativeFloat32List.new(4); + }, + /*_native_typed_data.NativeFloat32x4._uint32view*/get _uint32view() { + return _native_typed_data.NativeFloat32x4._list.buffer[$asUint32List](); + } + }, false); + var x$0 = dart.privateName(_native_typed_data, "NativeInt32x4.x"); + var y$0 = dart.privateName(_native_typed_data, "NativeInt32x4.y"); + var z$0 = dart.privateName(_native_typed_data, "NativeInt32x4.z"); + var w$0 = dart.privateName(_native_typed_data, "NativeInt32x4.w"); + _native_typed_data.NativeInt32x4 = class NativeInt32x4 extends core.Object { + get x() { + return this[x$0]; + } + set x(value) { + super.x = value; + } + get y() { + return this[y$0]; + } + set y(value) { + super.y = value; + } + get z() { + return this[z$0]; + } + set z(value) { + super.z = value; + } + get w() { + return this[w$0]; + } + set w(value) { + super.w = value; + } + static _truncate(x) { + _native_typed_data.NativeInt32x4._list[$_set](0, core.int.as(x)); + return _native_typed_data.NativeInt32x4._list[$_get](0); + } + static fromFloat32x4Bits(f) { + if (f == null) dart.nullFailed(I[58], 1448, 53, "f"); + let floatList = _native_typed_data.NativeFloat32x4._list; + floatList[$_set](0, f.x); + floatList[$_set](1, f.y); + floatList[$_set](2, f.z); + floatList[$_set](3, f.w); + let view = floatList.buffer[$asInt32List](); + return new _native_typed_data.NativeInt32x4._truncated(view[$_get](0), view[$_get](1), view[$_get](2), view[$_get](3)); + } + toString() { + return "[" + dart.str(this.x) + ", " + dart.str(this.y) + ", " + dart.str(this.z) + ", " + dart.str(this.w) + "]"; + } + ['|'](other) { + if (other == null) dart.nullFailed(I[58], 1463, 30, "other"); + return new _native_typed_data.NativeInt32x4._truncated(this.x | other.x, this.y | other.y, this.z | other.z, this.w | other.w); + } + ['&'](other) { + if (other == null) dart.nullFailed(I[58], 1474, 30, "other"); + return new _native_typed_data.NativeInt32x4._truncated(this.x & other.x, this.y & other.y, this.z & other.z, this.w & other.w); + } + ['^'](other) { + if (other == null) dart.nullFailed(I[58], 1485, 30, "other"); + return new _native_typed_data.NativeInt32x4._truncated(this.x ^ other.x, this.y ^ other.y, this.z ^ other.z, this.w ^ other.w); + } + ['+'](other) { + if (other == null) dart.nullFailed(I[58], 1495, 30, "other"); + return new _native_typed_data.NativeInt32x4._truncated(this.x + other.x | 0, this.y + other.y | 0, this.z + other.z | 0, this.w + other.w | 0); + } + ['-'](other) { + if (other == null) dart.nullFailed(I[58], 1504, 30, "other"); + return new _native_typed_data.NativeInt32x4._truncated(this.x - other.x | 0, this.y - other.y | 0, this.z - other.z | 0, this.w - other.w | 0); + } + _negate() { + return new _native_typed_data.NativeInt32x4._truncated(-this.x | 0, -this.y | 0, -this.z | 0, -this.w | 0); + } + get signMask() { + let mx = (dart.notNull(this.x) & 2147483648) >>> 31; + let my = (dart.notNull(this.y) & 2147483648) >>> 31; + let mz = (dart.notNull(this.z) & 2147483648) >>> 31; + let mw = (dart.notNull(this.w) & 2147483648) >>> 31; + return (mx | my << 1 >>> 0 | mz << 2 >>> 0 | mw << 3 >>> 0) >>> 0; + } + shuffle(mask) { + if (mask == null) dart.nullFailed(I[58], 1532, 23, "mask"); + if (dart.notNull(mask) < 0 || dart.notNull(mask) > 255) { + dart.throw(new core.RangeError.range(mask, 0, 255, "mask")); + } + _native_typed_data.NativeInt32x4._list[$_set](0, this.x); + _native_typed_data.NativeInt32x4._list[$_set](1, this.y); + _native_typed_data.NativeInt32x4._list[$_set](2, this.z); + _native_typed_data.NativeInt32x4._list[$_set](3, this.w); + let _x = _native_typed_data.NativeInt32x4._list[$_get](dart.notNull(mask) & 3); + let _y = _native_typed_data.NativeInt32x4._list[$_get](dart.notNull(mask) >> 2 & 3); + let _z = _native_typed_data.NativeInt32x4._list[$_get](dart.notNull(mask) >> 4 & 3); + let _w = _native_typed_data.NativeInt32x4._list[$_get](dart.notNull(mask) >> 6 & 3); + return new _native_typed_data.NativeInt32x4._truncated(_x, _y, _z, _w); + } + shuffleMix(other, mask) { + if (other == null) dart.nullFailed(I[58], 1550, 30, "other"); + if (mask == null) dart.nullFailed(I[58], 1550, 41, "mask"); + if (dart.notNull(mask) < 0 || dart.notNull(mask) > 255) { + dart.throw(new core.RangeError.range(mask, 0, 255, "mask")); + } + _native_typed_data.NativeInt32x4._list[$_set](0, this.x); + _native_typed_data.NativeInt32x4._list[$_set](1, this.y); + _native_typed_data.NativeInt32x4._list[$_set](2, this.z); + _native_typed_data.NativeInt32x4._list[$_set](3, this.w); + let _x = _native_typed_data.NativeInt32x4._list[$_get](dart.notNull(mask) & 3); + let _y = _native_typed_data.NativeInt32x4._list[$_get](dart.notNull(mask) >> 2 & 3); + _native_typed_data.NativeInt32x4._list[$_set](0, other.x); + _native_typed_data.NativeInt32x4._list[$_set](1, other.y); + _native_typed_data.NativeInt32x4._list[$_set](2, other.z); + _native_typed_data.NativeInt32x4._list[$_set](3, other.w); + let _z = _native_typed_data.NativeInt32x4._list[$_get](dart.notNull(mask) >> 4 & 3); + let _w = _native_typed_data.NativeInt32x4._list[$_get](dart.notNull(mask) >> 6 & 3); + return new _native_typed_data.NativeInt32x4._truncated(_x, _y, _z, _w); + } + withX(x) { + if (x == null) dart.nullFailed(I[58], 1571, 21, "x"); + core.ArgumentError.checkNotNull(core.int, x); + let _x = core.int.as(_native_typed_data.NativeInt32x4._truncate(x)); + return new _native_typed_data.NativeInt32x4._truncated(_x, this.y, this.z, this.w); + } + withY(y) { + if (y == null) dart.nullFailed(I[58], 1578, 21, "y"); + core.ArgumentError.checkNotNull(core.int, y); + let _y = core.int.as(_native_typed_data.NativeInt32x4._truncate(y)); + return new _native_typed_data.NativeInt32x4._truncated(this.x, _y, this.z, this.w); + } + withZ(z) { + if (z == null) dart.nullFailed(I[58], 1585, 21, "z"); + core.ArgumentError.checkNotNull(core.int, z); + let _z = core.int.as(_native_typed_data.NativeInt32x4._truncate(z)); + return new _native_typed_data.NativeInt32x4._truncated(this.x, this.y, _z, this.w); + } + withW(w) { + if (w == null) dart.nullFailed(I[58], 1592, 21, "w"); + core.ArgumentError.checkNotNull(core.int, w); + let _w = core.int.as(_native_typed_data.NativeInt32x4._truncate(w)); + return new _native_typed_data.NativeInt32x4._truncated(this.x, this.y, this.z, _w); + } + get flagX() { + return this.x !== 0; + } + get flagY() { + return this.y !== 0; + } + get flagZ() { + return this.z !== 0; + } + get flagW() { + return this.w !== 0; + } + withFlagX(flagX) { + if (flagX == null) dart.nullFailed(I[58], 1611, 26, "flagX"); + let _x = dart.test(flagX) ? -1 : 0; + return new _native_typed_data.NativeInt32x4._truncated(_x, this.y, this.z, this.w); + } + withFlagY(flagY) { + if (flagY == null) dart.nullFailed(I[58], 1617, 26, "flagY"); + let _y = dart.test(flagY) ? -1 : 0; + return new _native_typed_data.NativeInt32x4._truncated(this.x, _y, this.z, this.w); + } + withFlagZ(flagZ) { + if (flagZ == null) dart.nullFailed(I[58], 1623, 26, "flagZ"); + let _z = dart.test(flagZ) ? -1 : 0; + return new _native_typed_data.NativeInt32x4._truncated(this.x, this.y, _z, this.w); + } + withFlagW(flagW) { + if (flagW == null) dart.nullFailed(I[58], 1629, 26, "flagW"); + let _w = dart.test(flagW) ? -1 : 0; + return new _native_typed_data.NativeInt32x4._truncated(this.x, this.y, this.z, _w); + } + select(trueValue, falseValue) { + if (trueValue == null) dart.nullFailed(I[58], 1637, 30, "trueValue"); + if (falseValue == null) dart.nullFailed(I[58], 1637, 51, "falseValue"); + let floatList = _native_typed_data.NativeFloat32x4._list; + let intView = _native_typed_data.NativeFloat32x4._uint32view; + floatList[$_set](0, trueValue.x); + floatList[$_set](1, trueValue.y); + floatList[$_set](2, trueValue.z); + floatList[$_set](3, trueValue.w); + let stx = intView[$_get](0); + let sty = intView[$_get](1); + let stz = intView[$_get](2); + let stw = intView[$_get](3); + floatList[$_set](0, falseValue.x); + floatList[$_set](1, falseValue.y); + floatList[$_set](2, falseValue.z); + floatList[$_set](3, falseValue.w); + let sfx = intView[$_get](0); + let sfy = intView[$_get](1); + let sfz = intView[$_get](2); + let sfw = intView[$_get](3); + let _x = (dart.notNull(this.x) & dart.notNull(stx) | (~dart.notNull(this.x) & dart.notNull(sfx)) >>> 0) >>> 0; + let _y = (dart.notNull(this.y) & dart.notNull(sty) | (~dart.notNull(this.y) & dart.notNull(sfy)) >>> 0) >>> 0; + let _z = (dart.notNull(this.z) & dart.notNull(stz) | (~dart.notNull(this.z) & dart.notNull(sfz)) >>> 0) >>> 0; + let _w = (dart.notNull(this.w) & dart.notNull(stw) | (~dart.notNull(this.w) & dart.notNull(sfw)) >>> 0) >>> 0; + intView[$_set](0, _x); + intView[$_set](1, _y); + intView[$_set](2, _z); + intView[$_set](3, _w); + return new _native_typed_data.NativeFloat32x4._truncated(floatList[$_get](0), floatList[$_get](1), floatList[$_get](2), floatList[$_get](3)); + } + }; + (_native_typed_data.NativeInt32x4.new = function(x, y, z, w) { + if (x == null) dart.nullFailed(I[58], 1430, 21, "x"); + if (y == null) dart.nullFailed(I[58], 1430, 28, "y"); + if (z == null) dart.nullFailed(I[58], 1430, 35, "z"); + if (w == null) dart.nullFailed(I[58], 1430, 42, "w"); + this[x$0] = core.int.as(_native_typed_data.NativeInt32x4._truncate(x)); + this[y$0] = core.int.as(_native_typed_data.NativeInt32x4._truncate(y)); + this[z$0] = core.int.as(_native_typed_data.NativeInt32x4._truncate(z)); + this[w$0] = core.int.as(_native_typed_data.NativeInt32x4._truncate(w)); + if (x != this.x && !core.int.is(x)) dart.throw(new core.ArgumentError.new(x)); + if (y != this.y && !core.int.is(y)) dart.throw(new core.ArgumentError.new(y)); + if (z != this.z && !core.int.is(z)) dart.throw(new core.ArgumentError.new(z)); + if (w != this.w && !core.int.is(w)) dart.throw(new core.ArgumentError.new(w)); + }).prototype = _native_typed_data.NativeInt32x4.prototype; + (_native_typed_data.NativeInt32x4.bool = function(x, y, z, w) { + if (x == null) dart.nullFailed(I[58], 1441, 27, "x"); + if (y == null) dart.nullFailed(I[58], 1441, 35, "y"); + if (z == null) dart.nullFailed(I[58], 1441, 43, "z"); + if (w == null) dart.nullFailed(I[58], 1441, 51, "w"); + this[x$0] = dart.test(x) ? -1 : 0; + this[y$0] = dart.test(y) ? -1 : 0; + this[z$0] = dart.test(z) ? -1 : 0; + this[w$0] = dart.test(w) ? -1 : 0; + ; + }).prototype = _native_typed_data.NativeInt32x4.prototype; + (_native_typed_data.NativeInt32x4._truncated = function(x, y, z, w) { + if (x == null) dart.nullFailed(I[58], 1458, 33, "x"); + if (y == null) dart.nullFailed(I[58], 1458, 41, "y"); + if (z == null) dart.nullFailed(I[58], 1458, 49, "z"); + if (w == null) dart.nullFailed(I[58], 1458, 57, "w"); + this[x$0] = x; + this[y$0] = y; + this[z$0] = z; + this[w$0] = w; + ; + }).prototype = _native_typed_data.NativeInt32x4.prototype; + dart.addTypeTests(_native_typed_data.NativeInt32x4); + dart.addTypeCaches(_native_typed_data.NativeInt32x4); + _native_typed_data.NativeInt32x4[dart.implements] = () => [typed_data.Int32x4]; + dart.setMethodSignature(_native_typed_data.NativeInt32x4, () => ({ + __proto__: dart.getMethods(_native_typed_data.NativeInt32x4.__proto__), + '|': dart.fnType(typed_data.Int32x4, [typed_data.Int32x4]), + '&': dart.fnType(typed_data.Int32x4, [typed_data.Int32x4]), + '^': dart.fnType(typed_data.Int32x4, [typed_data.Int32x4]), + '+': dart.fnType(typed_data.Int32x4, [typed_data.Int32x4]), + '-': dart.fnType(typed_data.Int32x4, [typed_data.Int32x4]), + _negate: dart.fnType(typed_data.Int32x4, []), + shuffle: dart.fnType(typed_data.Int32x4, [core.int]), + shuffleMix: dart.fnType(typed_data.Int32x4, [typed_data.Int32x4, core.int]), + withX: dart.fnType(typed_data.Int32x4, [core.int]), + withY: dart.fnType(typed_data.Int32x4, [core.int]), + withZ: dart.fnType(typed_data.Int32x4, [core.int]), + withW: dart.fnType(typed_data.Int32x4, [core.int]), + withFlagX: dart.fnType(typed_data.Int32x4, [core.bool]), + withFlagY: dart.fnType(typed_data.Int32x4, [core.bool]), + withFlagZ: dart.fnType(typed_data.Int32x4, [core.bool]), + withFlagW: dart.fnType(typed_data.Int32x4, [core.bool]), + select: dart.fnType(typed_data.Float32x4, [typed_data.Float32x4, typed_data.Float32x4]) + })); + dart.setGetterSignature(_native_typed_data.NativeInt32x4, () => ({ + __proto__: dart.getGetters(_native_typed_data.NativeInt32x4.__proto__), + signMask: core.int, + flagX: core.bool, + flagY: core.bool, + flagZ: core.bool, + flagW: core.bool + })); + dart.setLibraryUri(_native_typed_data.NativeInt32x4, I[59]); + dart.setFieldSignature(_native_typed_data.NativeInt32x4, () => ({ + __proto__: dart.getFields(_native_typed_data.NativeInt32x4.__proto__), + x: dart.finalFieldType(core.int), + y: dart.finalFieldType(core.int), + z: dart.finalFieldType(core.int), + w: dart.finalFieldType(core.int) + })); + dart.defineExtensionMethods(_native_typed_data.NativeInt32x4, ['toString']); + dart.defineLazy(_native_typed_data.NativeInt32x4, { + /*_native_typed_data.NativeInt32x4._list*/get _list() { + return _native_typed_data.NativeInt32List.new(4); + } + }, false); + var x$1 = dart.privateName(_native_typed_data, "NativeFloat64x2.x"); + var y$1 = dart.privateName(_native_typed_data, "NativeFloat64x2.y"); + _native_typed_data.NativeFloat64x2 = class NativeFloat64x2 extends core.Object { + get x() { + return this[x$1]; + } + set x(value) { + super.x = value; + } + get y() { + return this[y$1]; + } + set y(value) { + super.y = value; + } + toString() { + return "[" + dart.str(this.x) + ", " + dart.str(this.y) + "]"; + } + ['+'](other) { + if (other == null) dart.nullFailed(I[58], 1695, 34, "other"); + return new _native_typed_data.NativeFloat64x2._doubles(dart.notNull(this.x) + dart.notNull(other.x), dart.notNull(this.y) + dart.notNull(other.y)); + } + _negate() { + return new _native_typed_data.NativeFloat64x2._doubles(-dart.notNull(this.x), -dart.notNull(this.y)); + } + ['-'](other) { + if (other == null) dart.nullFailed(I[58], 1705, 34, "other"); + return new _native_typed_data.NativeFloat64x2._doubles(dart.notNull(this.x) - dart.notNull(other.x), dart.notNull(this.y) - dart.notNull(other.y)); + } + ['*'](other) { + if (other == null) dart.nullFailed(I[58], 1710, 34, "other"); + return new _native_typed_data.NativeFloat64x2._doubles(dart.notNull(this.x) * dart.notNull(other.x), dart.notNull(this.y) * dart.notNull(other.y)); + } + ['/'](other) { + if (other == null) dart.nullFailed(I[58], 1715, 34, "other"); + return new _native_typed_data.NativeFloat64x2._doubles(dart.notNull(this.x) / dart.notNull(other.x), dart.notNull(this.y) / dart.notNull(other.y)); + } + scale(s) { + if (s == null) dart.nullFailed(I[58], 1720, 26, "s"); + return new _native_typed_data.NativeFloat64x2._doubles(dart.notNull(this.x) * dart.notNull(s), dart.notNull(this.y) * dart.notNull(s)); + } + abs() { + return new _native_typed_data.NativeFloat64x2._doubles(this.x[$abs](), this.y[$abs]()); + } + clamp(lowerLimit, upperLimit) { + if (lowerLimit == null) dart.nullFailed(I[58], 1730, 29, "lowerLimit"); + if (upperLimit == null) dart.nullFailed(I[58], 1730, 51, "upperLimit"); + let _lx = lowerLimit.x; + let _ly = lowerLimit.y; + let _ux = upperLimit.x; + let _uy = upperLimit.y; + let _x = this.x; + let _y = this.y; + _x = dart.notNull(_x) > dart.notNull(_ux) ? _ux : _x; + _y = dart.notNull(_y) > dart.notNull(_uy) ? _uy : _y; + _x = dart.notNull(_x) < dart.notNull(_lx) ? _lx : _x; + _y = dart.notNull(_y) < dart.notNull(_ly) ? _ly : _y; + return new _native_typed_data.NativeFloat64x2._doubles(_x, _y); + } + get signMask() { + let view = _native_typed_data.NativeFloat64x2._uint32View; + _native_typed_data.NativeFloat64x2._list[$_set](0, this.x); + _native_typed_data.NativeFloat64x2._list[$_set](1, this.y); + let mx = (dart.notNull(view[$_get](1)) & 2147483648) >>> 31; + let my = (dart.notNull(view[$_get](3)) & 2147483648) >>> 31; + return (mx | my << 1 >>> 0) >>> 0; + } + withX(x) { + if (x == null) dart.nullFailed(I[58], 1756, 26, "x"); + if (!(typeof x == 'number')) dart.throw(new core.ArgumentError.new(x)); + return new _native_typed_data.NativeFloat64x2._doubles(x, this.y); + } + withY(y) { + if (y == null) dart.nullFailed(I[58], 1762, 26, "y"); + if (!(typeof y == 'number')) dart.throw(new core.ArgumentError.new(y)); + return new _native_typed_data.NativeFloat64x2._doubles(this.x, y); + } + min(other) { + if (other == null) dart.nullFailed(I[58], 1768, 27, "other"); + return new _native_typed_data.NativeFloat64x2._doubles(dart.notNull(this.x) < dart.notNull(other.x) ? this.x : other.x, dart.notNull(this.y) < dart.notNull(other.y) ? this.y : other.y); + } + max(other) { + if (other == null) dart.nullFailed(I[58], 1774, 27, "other"); + return new _native_typed_data.NativeFloat64x2._doubles(dart.notNull(this.x) > dart.notNull(other.x) ? this.x : other.x, dart.notNull(this.y) > dart.notNull(other.y) ? this.y : other.y); + } + sqrt() { + return new _native_typed_data.NativeFloat64x2._doubles(math.sqrt(this.x), math.sqrt(this.y)); + } + }; + (_native_typed_data.NativeFloat64x2.new = function(x, y) { + if (x == null) dart.nullFailed(I[58], 1678, 24, "x"); + if (y == null) dart.nullFailed(I[58], 1678, 32, "y"); + this[x$1] = x; + this[y$1] = y; + if (!(typeof this.x == 'number')) dart.throw(new core.ArgumentError.new(this.x)); + if (!(typeof this.y == 'number')) dart.throw(new core.ArgumentError.new(this.y)); + }).prototype = _native_typed_data.NativeFloat64x2.prototype; + (_native_typed_data.NativeFloat64x2.splat = function(v) { + if (v == null) dart.nullFailed(I[58], 1683, 32, "v"); + _native_typed_data.NativeFloat64x2.new.call(this, v, v); + }).prototype = _native_typed_data.NativeFloat64x2.prototype; + (_native_typed_data.NativeFloat64x2.zero = function() { + _native_typed_data.NativeFloat64x2.splat.call(this, 0.0); + }).prototype = _native_typed_data.NativeFloat64x2.prototype; + (_native_typed_data.NativeFloat64x2.fromFloat32x4 = function(v) { + if (v == null) dart.nullFailed(I[58], 1687, 43, "v"); + _native_typed_data.NativeFloat64x2.new.call(this, v.x, v.y); + }).prototype = _native_typed_data.NativeFloat64x2.prototype; + (_native_typed_data.NativeFloat64x2._doubles = function(x, y) { + if (x == null) dart.nullFailed(I[58], 1690, 33, "x"); + if (y == null) dart.nullFailed(I[58], 1690, 41, "y"); + this[x$1] = x; + this[y$1] = y; + ; + }).prototype = _native_typed_data.NativeFloat64x2.prototype; + dart.addTypeTests(_native_typed_data.NativeFloat64x2); + dart.addTypeCaches(_native_typed_data.NativeFloat64x2); + _native_typed_data.NativeFloat64x2[dart.implements] = () => [typed_data.Float64x2]; + dart.setMethodSignature(_native_typed_data.NativeFloat64x2, () => ({ + __proto__: dart.getMethods(_native_typed_data.NativeFloat64x2.__proto__), + '+': dart.fnType(typed_data.Float64x2, [typed_data.Float64x2]), + _negate: dart.fnType(typed_data.Float64x2, []), + '-': dart.fnType(typed_data.Float64x2, [typed_data.Float64x2]), + '*': dart.fnType(typed_data.Float64x2, [typed_data.Float64x2]), + '/': dart.fnType(typed_data.Float64x2, [typed_data.Float64x2]), + scale: dart.fnType(typed_data.Float64x2, [core.double]), + abs: dart.fnType(typed_data.Float64x2, []), + clamp: dart.fnType(typed_data.Float64x2, [typed_data.Float64x2, typed_data.Float64x2]), + withX: dart.fnType(typed_data.Float64x2, [core.double]), + withY: dart.fnType(typed_data.Float64x2, [core.double]), + min: dart.fnType(typed_data.Float64x2, [typed_data.Float64x2]), + max: dart.fnType(typed_data.Float64x2, [typed_data.Float64x2]), + sqrt: dart.fnType(typed_data.Float64x2, []) + })); + dart.setGetterSignature(_native_typed_data.NativeFloat64x2, () => ({ + __proto__: dart.getGetters(_native_typed_data.NativeFloat64x2.__proto__), + signMask: core.int + })); + dart.setLibraryUri(_native_typed_data.NativeFloat64x2, I[59]); + dart.setFieldSignature(_native_typed_data.NativeFloat64x2, () => ({ + __proto__: dart.getFields(_native_typed_data.NativeFloat64x2.__proto__), + x: dart.finalFieldType(core.double), + y: dart.finalFieldType(core.double) + })); + dart.defineExtensionMethods(_native_typed_data.NativeFloat64x2, ['toString']); + dart.defineLazy(_native_typed_data.NativeFloat64x2, { + /*_native_typed_data.NativeFloat64x2._list*/get _list() { + return _native_typed_data.NativeFloat64List.new(2); + }, + set _list(_) {}, + /*_native_typed_data.NativeFloat64x2._uint32View*/get _uint32View() { + return _native_typed_data.NativeFloat64x2._list.buffer[$asUint32List](); + }, + set _uint32View(_) {} + }, false); + _native_typed_data._checkLength = function _checkLength(length) { + if (!core.int.is(length)) dart.throw(new core.ArgumentError.new("Invalid length " + dart.str(length))); + return length; + }; + _native_typed_data._checkViewArguments = function _checkViewArguments(buffer, offsetInBytes, length) { + if (!_native_typed_data.NativeByteBuffer.is(buffer)) { + dart.throw(new core.ArgumentError.new("Invalid view buffer")); + } + if (!core.int.is(offsetInBytes)) { + dart.throw(new core.ArgumentError.new("Invalid view offsetInBytes " + dart.str(offsetInBytes))); + } + if (!T$.intN().is(length)) { + dart.throw(new core.ArgumentError.new("Invalid view length " + dart.str(length))); + } + }; + _native_typed_data._ensureNativeList = function _ensureNativeList(list) { + if (list == null) dart.nullFailed(I[58], 373, 29, "list"); + if (_interceptors.JSIndexable.is(list)) return list; + let result = core.List.filled(list[$length], null); + for (let i = 0; i < dart.notNull(list[$length]); i = i + 1) { + result[$_set](i, list[$_get](i)); + } + return result; + }; + _native_typed_data._isInvalidArrayIndex = function _isInvalidArrayIndex(index) { + if (index == null) dart.nullFailed(I[58], 1787, 31, "index"); + return index >>> 0 !== index; + }; + _native_typed_data._checkValidIndex = function _checkValidIndex(index, list, length) { + if (index == null) dart.nullFailed(I[58], 1794, 27, "index"); + if (list == null) dart.nullFailed(I[58], 1794, 39, "list"); + if (length == null) dart.nullFailed(I[58], 1794, 49, "length"); + if (dart.test(_native_typed_data._isInvalidArrayIndex(index)) || index >= dart.notNull(length)) { + dart.throw(_js_helper.diagnoseIndexError(list, index)); + } + }; + _native_typed_data._checkValidRange = function _checkValidRange(start, end, length) { + if (start == null) dart.nullFailed(I[58], 1807, 26, "start"); + if (length == null) dart.nullFailed(I[58], 1807, 47, "length"); + if (dart.test(_native_typed_data._isInvalidArrayIndex(start)) || (end == null ? dart.notNull(start) > dart.notNull(length) : dart.test(_native_typed_data._isInvalidArrayIndex(end)) || dart.notNull(start) > dart.notNull(end) || dart.notNull(end) > dart.notNull(length))) { + dart.throw(_js_helper.diagnoseRangeError(start, end, length)); + } + if (end == null) return length; + return end; + }; + var ___AsyncStarImpl_controller = dart.privateName(async, "_#_AsyncStarImpl#controller"); + var ___AsyncStarImpl_controller_isSet = dart.privateName(async, "_#_AsyncStarImpl#controller#isSet"); + var ___AsyncStarImpl_jsIterator = dart.privateName(async, "_#_AsyncStarImpl#jsIterator"); + var ___AsyncStarImpl_jsIterator_isSet = dart.privateName(async, "_#_AsyncStarImpl#jsIterator#isSet"); + var _handleErrorCallback = dart.privateName(async, "_handleErrorCallback"); + var _runBodyCallback = dart.privateName(async, "_runBodyCallback"); + var _chainForeignFuture = dart.privateName(async, "_chainForeignFuture"); + var _thenAwait = dart.privateName(async, "_thenAwait"); + var _fatal = dart.privateName(async, "_fatal"); + const _is__AsyncStarImpl_default = Symbol('_is__AsyncStarImpl_default'); + async._AsyncStarImpl$ = dart.generic(T => { + var StreamControllerOfT = () => (StreamControllerOfT = dart.constFn(async.StreamController$(T)))(); + var StreamOfT = () => (StreamOfT = dart.constFn(async.Stream$(T)))(); + class _AsyncStarImpl extends core.Object { + get controller() { + let t83; + return dart.test(this[___AsyncStarImpl_controller_isSet]) ? (t83 = this[___AsyncStarImpl_controller], t83) : dart.throw(new _internal.LateError.fieldNI("controller")); + } + set controller(t83) { + StreamControllerOfT().as(t83); + if (t83 == null) dart.nullFailed(I[61], 229, 28, "null"); + this[___AsyncStarImpl_controller_isSet] = true; + this[___AsyncStarImpl_controller] = t83; + } + get jsIterator() { + let t84; + return dart.test(this[___AsyncStarImpl_jsIterator_isSet]) ? (t84 = this[___AsyncStarImpl_jsIterator], t84) : dart.throw(new _internal.LateError.fieldNI("jsIterator")); + } + set jsIterator(t84) { + if (t84 == null) dart.nullFailed(I[61], 245, 15, "null"); + this[___AsyncStarImpl_jsIterator_isSet] = true; + this[___AsyncStarImpl_jsIterator] = t84; + } + get stream() { + return this.controller.stream; + } + get handleError() { + if (this[_handleErrorCallback] == null) { + this[_handleErrorCallback] = dart.fn((error, stackTrace) => { + if (error == null) dart.nullFailed(I[61], 282, 31, "error"); + if (stackTrace == null) dart.nullFailed(I[61], 282, 49, "stackTrace"); + try { + this.jsIterator.throw(dart.createErrorWithStack(error, stackTrace)); + } catch (e$) { + let e = dart.getThrown(e$); + let newStack = dart.stackTrace(e$); + if (core.Object.is(e)) { + this.addError(e, newStack); + } else + throw e$; + } + }, T$.ObjectAndStackTraceToNull()); + let zone = async.Zone.current; + if (zone != async.Zone.root) { + this[_handleErrorCallback] = zone.bindBinaryCallback(core.Null, core.Object, core.StackTrace, dart.nullCheck(this[_handleErrorCallback])); + } + } + return dart.nullCheck(this[_handleErrorCallback]); + } + scheduleGenerator() { + if (this.isScheduled || dart.test(this.controller.isPaused) || this.isSuspendedAtYieldStar) { + return; + } + this.isScheduled = true; + let zone = async.Zone.current; + if (this[_runBodyCallback] == null) { + this[_runBodyCallback] = this.runBody.bind(this); + if (zone != async.Zone.root) { + let registered = zone.registerUnaryCallback(dart.void, T$.ObjectN(), dart.nullCheck(this[_runBodyCallback])); + this[_runBodyCallback] = dart.fn((arg = null) => zone.runUnaryGuarded(T$.ObjectN(), registered, arg), T$.ObjectNTovoid$1()); + } + } + zone.scheduleMicrotask(dart.nullCheck(this[_runBodyCallback])); + } + runBody(awaitValue) { + this.isScheduled = false; + this.isSuspendedAtYield = false; + this.isSuspendedAtAwait = false; + let iterResult = null; + try { + iterResult = this.jsIterator.next(awaitValue); + } catch (e$) { + let e = dart.getThrown(e$); + let s = dart.stackTrace(e$); + if (core.Object.is(e)) { + this.addError(e, s); + return; + } else + throw e$; + } + if (iterResult.done) { + this.close(); + return; + } + if (this.isSuspendedAtYield || this.isSuspendedAtYieldStar) return; + this.isSuspendedAtAwait = true; + let value = iterResult.value; + let f = null; + if (async._Future.is(value)) { + f = value; + } else if (async.Future.is(value)) { + f = new (T$._FutureOfObjectN()).new(); + f[_chainForeignFuture](value); + } else { + f = new (T$._FutureOfObjectN()).value(value); + } + f[_thenAwait](dart.void, dart.nullCheck(this[_runBodyCallback]), this.handleError); + } + add(event) { + T.as(event); + if (!this.onListenReceived) this[_fatal]("yield before stream is listened to"); + if (this.isSuspendedAtYield) this[_fatal]("unexpected yield"); + if (!dart.test(this.controller.hasListener)) { + return true; + } + this.controller.add(event); + this.scheduleGenerator(); + this.isSuspendedAtYield = true; + return false; + } + addStream(stream) { + StreamOfT().as(stream); + if (stream == null) dart.nullFailed(I[61], 402, 28, "stream"); + if (!this.onListenReceived) this[_fatal]("yield* before stream is listened to"); + if (!dart.test(this.controller.hasListener)) return true; + this.isSuspendedAtYieldStar = true; + let whenDoneAdding = this.controller.addStream(stream, {cancelOnError: false}); + whenDoneAdding.then(core.Null, dart.fn(_ => { + this.isSuspendedAtYieldStar = false; + this.scheduleGenerator(); + if (!this.isScheduled) this.isSuspendedAtYield = true; + }, T$.dynamicToNull()), {onError: this.handleError}); + return false; + } + addError(error, stackTrace) { + if (error == null) dart.nullFailed(I[61], 416, 24, "error"); + if (stackTrace == null) dart.nullFailed(I[61], 416, 42, "stackTrace"); + core.ArgumentError.checkNotNull(core.Object, error, "error"); + let completer = this.cancellationCompleter; + if (completer != null && !dart.test(completer.isCompleted)) { + completer.completeError(error, stackTrace); + } else if (dart.test(this.controller.hasListener)) { + this.controller.addError(error, stackTrace); + } + this.close(); + } + close() { + let completer = this.cancellationCompleter; + if (completer != null && !dart.test(completer.isCompleted)) { + completer.complete(); + } + this.controller.close(); + } + onListen() { + if (!!this.onListenReceived) dart.assertFailed(null, I[61], 444, 12, "!onListenReceived"); + this.onListenReceived = true; + this.scheduleGenerator(); + } + onResume() { + if (this.isSuspendedAtYield) { + this.scheduleGenerator(); + } + } + onCancel() { + if (dart.test(this.controller.isClosed)) { + return null; + } + if (this.cancellationCompleter == null) { + this.cancellationCompleter = async.Completer.new(); + if (this.isSuspendedAtYield) { + this.scheduleGenerator(); + } + } + return dart.nullCheck(this.cancellationCompleter).future; + } + [_fatal](message) { + if (message == null) dart.nullFailed(I[61], 471, 17, "message"); + return dart.throw(new core.StateError.new(message)); + } + } + (_AsyncStarImpl.new = function(initGenerator) { + if (initGenerator == null) dart.nullFailed(I[61], 250, 23, "initGenerator"); + this[___AsyncStarImpl_controller] = null; + this[___AsyncStarImpl_controller_isSet] = false; + this.isSuspendedAtYieldStar = false; + this.onListenReceived = false; + this.isScheduled = false; + this.isSuspendedAtYield = false; + this.isSuspendedAtAwait = false; + this.cancellationCompleter = null; + this[___AsyncStarImpl_jsIterator] = null; + this[___AsyncStarImpl_jsIterator_isSet] = false; + this[_handleErrorCallback] = null; + this[_runBodyCallback] = null; + this.initGenerator = initGenerator; + this.controller = StreamControllerOfT().new({onListen: this.onListen.bind(this), onResume: this.onResume.bind(this), onCancel: this.onCancel.bind(this)}); + this.jsIterator = this.initGenerator(this)[Symbol.iterator](); + }).prototype = _AsyncStarImpl.prototype; + dart.addTypeTests(_AsyncStarImpl); + _AsyncStarImpl.prototype[_is__AsyncStarImpl_default] = true; + dart.addTypeCaches(_AsyncStarImpl); + dart.setMethodSignature(_AsyncStarImpl, () => ({ + __proto__: dart.getMethods(_AsyncStarImpl.__proto__), + scheduleGenerator: dart.fnType(dart.void, []), + runBody: dart.fnType(dart.void, [dart.dynamic]), + add: dart.fnType(core.bool, [dart.nullable(core.Object)]), + addStream: dart.fnType(core.bool, [dart.nullable(core.Object)]), + addError: dart.fnType(dart.void, [core.Object, core.StackTrace]), + close: dart.fnType(dart.void, []), + onListen: dart.fnType(dart.dynamic, []), + onResume: dart.fnType(dart.dynamic, []), + onCancel: dart.fnType(dart.dynamic, []), + [_fatal]: dart.fnType(dart.dynamic, [core.String]) + })); + dart.setGetterSignature(_AsyncStarImpl, () => ({ + __proto__: dart.getGetters(_AsyncStarImpl.__proto__), + controller: async.StreamController$(T), + jsIterator: core.Object, + stream: async.Stream$(T), + handleError: dart.fnType(core.Null, [core.Object, core.StackTrace]) + })); + dart.setSetterSignature(_AsyncStarImpl, () => ({ + __proto__: dart.getSetters(_AsyncStarImpl.__proto__), + controller: dart.nullable(core.Object), + jsIterator: core.Object + })); + dart.setLibraryUri(_AsyncStarImpl, I[29]); + dart.setFieldSignature(_AsyncStarImpl, () => ({ + __proto__: dart.getFields(_AsyncStarImpl.__proto__), + [___AsyncStarImpl_controller]: dart.fieldType(dart.nullable(async.StreamController$(T))), + [___AsyncStarImpl_controller_isSet]: dart.fieldType(core.bool), + initGenerator: dart.fieldType(dart.fnType(core.Object, [async._AsyncStarImpl$(T)])), + isSuspendedAtYieldStar: dart.fieldType(core.bool), + onListenReceived: dart.fieldType(core.bool), + isScheduled: dart.fieldType(core.bool), + isSuspendedAtYield: dart.fieldType(core.bool), + isSuspendedAtAwait: dart.fieldType(core.bool), + cancellationCompleter: dart.fieldType(dart.nullable(async.Completer)), + [___AsyncStarImpl_jsIterator]: dart.fieldType(dart.nullable(core.Object)), + [___AsyncStarImpl_jsIterator_isSet]: dart.fieldType(core.bool), + [_handleErrorCallback]: dart.fieldType(dart.nullable(dart.fnType(core.Null, [core.Object, core.StackTrace]))), + [_runBodyCallback]: dart.fieldType(dart.nullable(dart.fnType(dart.void, [], [dart.nullable(core.Object)]))) + })); + return _AsyncStarImpl; + }); + async._AsyncStarImpl = async._AsyncStarImpl$(); + dart.addTypeTests(async._AsyncStarImpl, _is__AsyncStarImpl_default); + var error$ = dart.privateName(async, "AsyncError.error"); + var stackTrace$ = dart.privateName(async, "AsyncError.stackTrace"); + async.AsyncError = class AsyncError extends core.Object { + get error() { + return this[error$]; + } + set error(value) { + super.error = value; + } + get stackTrace() { + return this[stackTrace$]; + } + set stackTrace(value) { + super.stackTrace = value; + } + static defaultStackTrace(error) { + if (error == null) dart.nullFailed(I[62], 24, 46, "error"); + if (core.Error.is(error)) { + let stackTrace = error[$stackTrace]; + if (stackTrace != null) return stackTrace; + } + return core.StackTrace.empty; + } + toString() { + return dart.str(this.error); + } + }; + (async.AsyncError.new = function(error, stackTrace) { + let t87; + if (error == null) dart.nullFailed(I[62], 15, 21, "error"); + this[error$] = _internal.checkNotNullable(core.Object, error, "error"); + this[stackTrace$] = (t87 = stackTrace, t87 == null ? async.AsyncError.defaultStackTrace(error) : t87); + ; + }).prototype = async.AsyncError.prototype; + dart.addTypeTests(async.AsyncError); + dart.addTypeCaches(async.AsyncError); + async.AsyncError[dart.implements] = () => [core.Error]; + dart.setLibraryUri(async.AsyncError, I[29]); + dart.setFieldSignature(async.AsyncError, () => ({ + __proto__: dart.getFields(async.AsyncError.__proto__), + error: dart.finalFieldType(core.Object), + stackTrace: dart.finalFieldType(core.StackTrace) + })); + dart.defineExtensionMethods(async.AsyncError, ['toString']); + dart.defineExtensionAccessors(async.AsyncError, ['stackTrace']); + var _controller$ = dart.privateName(async, "_controller"); + var _subscribe = dart.privateName(async, "_subscribe"); + var _createSubscription = dart.privateName(async, "_createSubscription"); + var _onListen$ = dart.privateName(async, "_onListen"); + const _is__StreamImpl_default = Symbol('_is__StreamImpl_default'); + async._StreamImpl$ = dart.generic(T => { + var _BufferingStreamSubscriptionOfT = () => (_BufferingStreamSubscriptionOfT = dart.constFn(async._BufferingStreamSubscription$(T)))(); + class _StreamImpl extends async.Stream$(T) { + listen(onData, opts) { + let onError = opts && 'onError' in opts ? opts.onError : null; + let onDone = opts && 'onDone' in opts ? opts.onDone : null; + let cancelOnError = opts && 'cancelOnError' in opts ? opts.cancelOnError : null; + cancelOnError == null ? cancelOnError = false : null; + let subscription = this[_createSubscription](onData, onError, onDone, cancelOnError); + this[_onListen$](subscription); + return subscription; + } + [_createSubscription](onData, onError, onDone, cancelOnError) { + if (cancelOnError == null) dart.nullFailed(I[65], 481, 47, "cancelOnError"); + return new (_BufferingStreamSubscriptionOfT()).new(onData, onError, onDone, cancelOnError); + } + [_onListen$](subscription) { + if (subscription == null) dart.nullFailed(I[65], 487, 37, "subscription"); + } + } + (_StreamImpl.new = function() { + _StreamImpl.__proto__.new.call(this); + ; + }).prototype = _StreamImpl.prototype; + dart.addTypeTests(_StreamImpl); + _StreamImpl.prototype[_is__StreamImpl_default] = true; + dart.addTypeCaches(_StreamImpl); + dart.setMethodSignature(_StreamImpl, () => ({ + __proto__: dart.getMethods(_StreamImpl.__proto__), + listen: dart.fnType(async.StreamSubscription$(T), [dart.nullable(dart.fnType(dart.void, [T]))], {cancelOnError: dart.nullable(core.bool), onDone: dart.nullable(dart.fnType(dart.void, [])), onError: dart.nullable(core.Function)}, {}), + [_createSubscription]: dart.fnType(async.StreamSubscription$(T), [dart.nullable(dart.fnType(dart.void, [T])), dart.nullable(core.Function), dart.nullable(dart.fnType(dart.void, [])), core.bool]), + [_onListen$]: dart.fnType(dart.void, [async.StreamSubscription]) + })); + dart.setLibraryUri(_StreamImpl, I[29]); + return _StreamImpl; + }); + async._StreamImpl = async._StreamImpl$(); + dart.addTypeTests(async._StreamImpl, _is__StreamImpl_default); + const _is__ControllerStream_default = Symbol('_is__ControllerStream_default'); + async._ControllerStream$ = dart.generic(T => { + class _ControllerStream extends async._StreamImpl$(T) { + [_createSubscription](onData, onError, onDone, cancelOnError) { + if (cancelOnError == null) dart.nullFailed(I[64], 785, 51, "cancelOnError"); + return this[_controller$][_subscribe](onData, onError, onDone, cancelOnError); + } + get hashCode() { + return (dart.notNull(dart.hashCode(this[_controller$])) ^ 892482866) >>> 0; + } + _equals(other) { + if (other == null) return false; + if (this === other) return true; + return async._ControllerStream.is(other) && other[_controller$] == this[_controller$]; + } + } + (_ControllerStream.new = function(_controller) { + if (_controller == null) dart.nullFailed(I[64], 782, 26, "_controller"); + this[_controller$] = _controller; + _ControllerStream.__proto__.new.call(this); + ; + }).prototype = _ControllerStream.prototype; + dart.addTypeTests(_ControllerStream); + _ControllerStream.prototype[_is__ControllerStream_default] = true; + dart.addTypeCaches(_ControllerStream); + dart.setLibraryUri(_ControllerStream, I[29]); + dart.setFieldSignature(_ControllerStream, () => ({ + __proto__: dart.getFields(_ControllerStream.__proto__), + [_controller$]: dart.fieldType(async._StreamControllerLifecycle$(T)) + })); + dart.defineExtensionMethods(_ControllerStream, ['_equals']); + dart.defineExtensionAccessors(_ControllerStream, ['hashCode']); + return _ControllerStream; + }); + async._ControllerStream = async._ControllerStream$(); + dart.addTypeTests(async._ControllerStream, _is__ControllerStream_default); + const _is__BroadcastStream_default = Symbol('_is__BroadcastStream_default'); + async._BroadcastStream$ = dart.generic(T => { + class _BroadcastStream extends async._ControllerStream$(T) { + get isBroadcast() { + return true; + } + } + (_BroadcastStream.new = function(controller) { + if (controller == null) dart.nullFailed(I[63], 8, 50, "controller"); + _BroadcastStream.__proto__.new.call(this, controller); + ; + }).prototype = _BroadcastStream.prototype; + dart.addTypeTests(_BroadcastStream); + _BroadcastStream.prototype[_is__BroadcastStream_default] = true; + dart.addTypeCaches(_BroadcastStream); + dart.setLibraryUri(_BroadcastStream, I[29]); + return _BroadcastStream; + }); + async._BroadcastStream = async._BroadcastStream$(); + dart.addTypeTests(async._BroadcastStream, _is__BroadcastStream_default); + var _next$0 = dart.privateName(async, "_BroadcastSubscription._next"); + var _previous$0 = dart.privateName(async, "_BroadcastSubscription._previous"); + var _eventState = dart.privateName(async, "_eventState"); + var _next$1 = dart.privateName(async, "_next"); + var _previous$1 = dart.privateName(async, "_previous"); + var _expectsEvent = dart.privateName(async, "_expectsEvent"); + var _toggleEventId = dart.privateName(async, "_toggleEventId"); + var _isFiring = dart.privateName(async, "_isFiring"); + var _setRemoveAfterFiring = dart.privateName(async, "_setRemoveAfterFiring"); + var _removeAfterFiring = dart.privateName(async, "_removeAfterFiring"); + var _onPause = dart.privateName(async, "_onPause"); + var _onResume = dart.privateName(async, "_onResume"); + var _recordCancel = dart.privateName(async, "_recordCancel"); + var _onCancel = dart.privateName(async, "_onCancel"); + var _recordPause = dart.privateName(async, "_recordPause"); + var _recordResume = dart.privateName(async, "_recordResume"); + var _cancelFuture = dart.privateName(async, "_cancelFuture"); + var _pending$ = dart.privateName(async, "_pending"); + var _zone$ = dart.privateName(async, "_zone"); + var _state = dart.privateName(async, "_state"); + var _onData$ = dart.privateName(async, "_onData"); + var _onError = dart.privateName(async, "_onError"); + var _onDone$ = dart.privateName(async, "_onDone"); + var _setPendingEvents = dart.privateName(async, "_setPendingEvents"); + var _isCanceled = dart.privateName(async, "_isCanceled"); + var _isPaused = dart.privateName(async, "_isPaused"); + var _isInputPaused = dart.privateName(async, "_isInputPaused"); + var _inCallback = dart.privateName(async, "_inCallback"); + var _guardCallback = dart.privateName(async, "_guardCallback"); + var _decrementPauseCount = dart.privateName(async, "_decrementPauseCount"); + var _hasPending = dart.privateName(async, "_hasPending"); + var _mayResumeInput = dart.privateName(async, "_mayResumeInput"); + var _cancel = dart.privateName(async, "_cancel"); + var _isClosed = dart.privateName(async, "_isClosed"); + var _waitsForCancel = dart.privateName(async, "_waitsForCancel"); + var _canFire = dart.privateName(async, "_canFire"); + var _cancelOnError = dart.privateName(async, "_cancelOnError"); + var _sendData = dart.privateName(async, "_sendData"); + var _addPending = dart.privateName(async, "_addPending"); + var _sendError = dart.privateName(async, "_sendError"); + var _sendDone = dart.privateName(async, "_sendDone"); + var _close = dart.privateName(async, "_close"); + var _checkState = dart.privateName(async, "_checkState"); + const _is__BufferingStreamSubscription_default = Symbol('_is__BufferingStreamSubscription_default'); + async._BufferingStreamSubscription$ = dart.generic(T => { + var _PendingEventsOfT = () => (_PendingEventsOfT = dart.constFn(async._PendingEvents$(T)))(); + var _PendingEventsNOfT = () => (_PendingEventsNOfT = dart.constFn(dart.nullable(_PendingEventsOfT())))(); + var _DelayedDataOfT = () => (_DelayedDataOfT = dart.constFn(async._DelayedData$(T)))(); + var _StreamImplEventsOfT = () => (_StreamImplEventsOfT = dart.constFn(async._StreamImplEvents$(T)))(); + var _StreamImplEventsNOfT = () => (_StreamImplEventsNOfT = dart.constFn(dart.nullable(_StreamImplEventsOfT())))(); + class _BufferingStreamSubscription extends core.Object { + [_setPendingEvents](pendingEvents) { + _PendingEventsNOfT().as(pendingEvents); + if (!(this[_pending$] == null)) dart.assertFailed(null, I[65], 117, 12, "_pending == null"); + if (pendingEvents == null) return; + this[_pending$] = pendingEvents; + if (!dart.test(pendingEvents.isEmpty)) { + this[_state] = (dart.notNull(this[_state]) | 64) >>> 0; + pendingEvents.schedule(this); + } + } + onData(handleData) { + this[_onData$] = async._BufferingStreamSubscription._registerDataHandler(T, this[_zone$], handleData); + } + static _registerDataHandler(T, zone, handleData) { + let t87; + if (zone == null) dart.nullFailed(I[65], 133, 12, "zone"); + return zone.registerUnaryCallback(dart.void, T, (t87 = handleData, t87 == null ? C[37] || CT.C37 : t87)); + } + onError(handleError) { + this[_onError] = async._BufferingStreamSubscription._registerErrorHandler(this[_zone$], handleError); + } + static _registerErrorHandler(zone, handleError) { + if (zone == null) dart.nullFailed(I[65], 141, 46, "zone"); + handleError == null ? handleError = C[38] || CT.C38 : null; + if (T$.ObjectAndStackTraceTovoid().is(handleError)) { + return zone.registerBinaryCallback(dart.dynamic, core.Object, core.StackTrace, handleError); + } + if (T$.ObjectTovoid().is(handleError)) { + return zone.registerUnaryCallback(dart.dynamic, core.Object, handleError); + } + dart.throw(new core.ArgumentError.new("handleError callback must take either an Object " + "(the error), or both an Object (the error) and a StackTrace.")); + } + onDone(handleDone) { + this[_onDone$] = async._BufferingStreamSubscription._registerDoneHandler(this[_zone$], handleDone); + } + static _registerDoneHandler(zone, handleDone) { + let t87; + if (zone == null) dart.nullFailed(I[65], 160, 12, "zone"); + return zone.registerCallback(dart.void, (t87 = handleDone, t87 == null ? C[39] || CT.C39 : t87)); + } + pause(resumeSignal = null) { + let t87, t87$; + if (dart.test(this[_isCanceled])) return; + let wasPaused = this[_isPaused]; + let wasInputPaused = this[_isInputPaused]; + this[_state] = (dart.notNull(this[_state]) + 128 | 4) >>> 0; + t87 = resumeSignal; + t87 == null ? null : t87.whenComplete(dart.bind(this, 'resume')); + if (!dart.test(wasPaused)) { + t87$ = this[_pending$]; + t87$ == null ? null : t87$.cancelSchedule(); + } + if (!dart.test(wasInputPaused) && !dart.test(this[_inCallback])) this[_guardCallback](dart.bind(this, _onPause)); + } + resume() { + if (dart.test(this[_isCanceled])) return; + if (dart.test(this[_isPaused])) { + this[_decrementPauseCount](); + if (!dart.test(this[_isPaused])) { + if (dart.test(this[_hasPending]) && !dart.test(dart.nullCheck(this[_pending$]).isEmpty)) { + dart.nullCheck(this[_pending$]).schedule(this); + } else { + if (!dart.test(this[_mayResumeInput])) dart.assertFailed(null, I[65], 184, 18, "_mayResumeInput"); + this[_state] = (dart.notNull(this[_state]) & ~4 >>> 0) >>> 0; + if (!dart.test(this[_inCallback])) this[_guardCallback](dart.bind(this, _onResume)); + } + } + } + } + cancel() { + let t87; + this[_state] = (dart.notNull(this[_state]) & ~16 >>> 0) >>> 0; + if (!dart.test(this[_isCanceled])) { + this[_cancel](); + } + t87 = this[_cancelFuture]; + return t87 == null ? async.Future._nullFuture : t87; + } + asFuture(E, futureValue = null) { + let resultValue = null; + if (futureValue == null) { + if (!dart.test(_internal.typeAcceptsNull(E))) { + dart.throw(new core.ArgumentError.notNull("futureValue")); + } + resultValue = E.as(futureValue); + } else { + resultValue = futureValue; + } + let result = new (async._Future$(E)).new(); + this[_onDone$] = dart.fn(() => { + result[_complete](resultValue); + }, T$.VoidTovoid()); + this[_onError] = dart.fn((error, stackTrace) => { + if (error == null) dart.nullFailed(I[65], 218, 24, "error"); + if (stackTrace == null) dart.nullFailed(I[65], 218, 42, "stackTrace"); + let cancelFuture = this.cancel(); + if (cancelFuture != async.Future._nullFuture) { + cancelFuture.whenComplete(dart.fn(() => { + result[_completeError](error, stackTrace); + }, T$.VoidToNull())); + } else { + result[_completeError](error, stackTrace); + } + }, T$.ObjectAndStackTraceToNull()); + return result; + } + get [_isInputPaused]() { + return (dart.notNull(this[_state]) & 4) !== 0; + } + get [_isClosed]() { + return (dart.notNull(this[_state]) & 2) !== 0; + } + get [_isCanceled]() { + return (dart.notNull(this[_state]) & 8) !== 0; + } + get [_waitsForCancel]() { + return (dart.notNull(this[_state]) & 16) !== 0; + } + get [_inCallback]() { + return (dart.notNull(this[_state]) & 32) !== 0; + } + get [_hasPending]() { + return (dart.notNull(this[_state]) & 64) !== 0; + } + get [_isPaused]() { + return dart.notNull(this[_state]) >= 128; + } + get [_canFire]() { + return dart.notNull(this[_state]) < 32; + } + get [_mayResumeInput]() { + let t87, t87$; + return !dart.test(this[_isPaused]) && dart.test((t87$ = (t87 = this[_pending$], t87 == null ? null : t87.isEmpty), t87$ == null ? true : t87$)); + } + get [_cancelOnError]() { + return (dart.notNull(this[_state]) & 1) !== 0; + } + get isPaused() { + return this[_isPaused]; + } + [_cancel]() { + this[_state] = (dart.notNull(this[_state]) | 8) >>> 0; + if (dart.test(this[_hasPending])) { + dart.nullCheck(this[_pending$]).cancelSchedule(); + } + if (!dart.test(this[_inCallback])) this[_pending$] = null; + this[_cancelFuture] = this[_onCancel](); + } + [_decrementPauseCount]() { + if (!dart.test(this[_isPaused])) dart.assertFailed(null, I[65], 261, 12, "_isPaused"); + this[_state] = dart.notNull(this[_state]) - 128; + } + [_add](data) { + T.as(data); + if (!!dart.test(this[_isClosed])) dart.assertFailed(null, I[65], 268, 12, "!_isClosed"); + if (dart.test(this[_isCanceled])) return; + if (dart.test(this[_canFire])) { + this[_sendData](data); + } else { + this[_addPending](new (_DelayedDataOfT()).new(data)); + } + } + [_addError](error, stackTrace) { + if (error == null) dart.nullFailed(I[65], 277, 25, "error"); + if (stackTrace == null) dart.nullFailed(I[65], 277, 43, "stackTrace"); + if (dart.test(this[_isCanceled])) return; + if (dart.test(this[_canFire])) { + this[_sendError](error, stackTrace); + } else { + this[_addPending](new async._DelayedError.new(error, stackTrace)); + } + } + [_close]() { + if (!!dart.test(this[_isClosed])) dart.assertFailed(null, I[65], 287, 12, "!_isClosed"); + if (dart.test(this[_isCanceled])) return; + this[_state] = (dart.notNull(this[_state]) | 2) >>> 0; + if (dart.test(this[_canFire])) { + this[_sendDone](); + } else { + this[_addPending](C[40] || CT.C40); + } + } + [_onPause]() { + if (!dart.test(this[_isInputPaused])) dart.assertFailed(null, I[65], 302, 12, "_isInputPaused"); + } + [_onResume]() { + if (!!dart.test(this[_isInputPaused])) dart.assertFailed(null, I[65], 306, 12, "!_isInputPaused"); + } + [_onCancel]() { + if (!dart.test(this[_isCanceled])) dart.assertFailed(null, I[65], 310, 12, "_isCanceled"); + return null; + } + [_addPending](event) { + if (event == null) dart.nullFailed(I[65], 320, 34, "event"); + let pending = _StreamImplEventsNOfT().as(this[_pending$]); + pending == null ? pending = new (_StreamImplEventsOfT()).new() : null; + this[_pending$] = pending; + pending.add(event); + if (!dart.test(this[_hasPending])) { + this[_state] = (dart.notNull(this[_state]) | 64) >>> 0; + if (!dart.test(this[_isPaused])) { + pending.schedule(this); + } + } + } + [_sendData](data) { + if (!!dart.test(this[_isCanceled])) dart.assertFailed(null, I[65], 336, 12, "!_isCanceled"); + if (!!dart.test(this[_isPaused])) dart.assertFailed(null, I[65], 337, 12, "!_isPaused"); + if (!!dart.test(this[_inCallback])) dart.assertFailed(null, I[65], 338, 12, "!_inCallback"); + let wasInputPaused = this[_isInputPaused]; + this[_state] = (dart.notNull(this[_state]) | 32) >>> 0; + this[_zone$].runUnaryGuarded(T, this[_onData$], data); + this[_state] = (dart.notNull(this[_state]) & ~32 >>> 0) >>> 0; + this[_checkState](wasInputPaused); + } + [_sendError](error, stackTrace) { + if (error == null) dart.nullFailed(I[65], 346, 26, "error"); + if (stackTrace == null) dart.nullFailed(I[65], 346, 44, "stackTrace"); + if (!!dart.test(this[_isCanceled])) dart.assertFailed(null, I[65], 347, 12, "!_isCanceled"); + if (!!dart.test(this[_isPaused])) dart.assertFailed(null, I[65], 348, 12, "!_isPaused"); + if (!!dart.test(this[_inCallback])) dart.assertFailed(null, I[65], 349, 12, "!_inCallback"); + let wasInputPaused = this[_isInputPaused]; + const sendError = () => { + if (dart.test(this[_isCanceled]) && !dart.test(this[_waitsForCancel])) return; + this[_state] = (dart.notNull(this[_state]) | 32) >>> 0; + let onError = this[_onError]; + if (T$.ObjectAndStackTraceTovoid().is(onError)) { + this[_zone$].runBinaryGuarded(core.Object, core.StackTrace, onError, error, stackTrace); + } else { + this[_zone$].runUnaryGuarded(core.Object, T$.ObjectTovoid().as(this[_onError]), error); + } + this[_state] = (dart.notNull(this[_state]) & ~32 >>> 0) >>> 0; + }; + dart.fn(sendError, T$.VoidTovoid()); + if (dart.test(this[_cancelOnError])) { + this[_state] = (dart.notNull(this[_state]) | 16) >>> 0; + this[_cancel](); + let cancelFuture = this[_cancelFuture]; + if (cancelFuture != null && cancelFuture != async.Future._nullFuture) { + cancelFuture.whenComplete(sendError); + } else { + sendError(); + } + } else { + sendError(); + this[_checkState](wasInputPaused); + } + } + [_sendDone]() { + if (!!dart.test(this[_isCanceled])) dart.assertFailed(null, I[65], 385, 12, "!_isCanceled"); + if (!!dart.test(this[_isPaused])) dart.assertFailed(null, I[65], 386, 12, "!_isPaused"); + if (!!dart.test(this[_inCallback])) dart.assertFailed(null, I[65], 387, 12, "!_inCallback"); + const sendDone = () => { + if (!dart.test(this[_waitsForCancel])) return; + this[_state] = (dart.notNull(this[_state]) | (8 | 2 | 32) >>> 0) >>> 0; + this[_zone$].runGuarded(this[_onDone$]); + this[_state] = (dart.notNull(this[_state]) & ~32 >>> 0) >>> 0; + }; + dart.fn(sendDone, T$.VoidTovoid()); + this[_cancel](); + this[_state] = (dart.notNull(this[_state]) | 16) >>> 0; + let cancelFuture = this[_cancelFuture]; + if (cancelFuture != null && cancelFuture != async.Future._nullFuture) { + cancelFuture.whenComplete(sendDone); + } else { + sendDone(); + } + } + [_guardCallback](callback) { + if (callback == null) dart.nullFailed(I[65], 413, 39, "callback"); + if (!!dart.test(this[_inCallback])) dart.assertFailed(null, I[65], 414, 12, "!_inCallback"); + let wasInputPaused = this[_isInputPaused]; + this[_state] = (dart.notNull(this[_state]) | 32) >>> 0; + callback(); + this[_state] = (dart.notNull(this[_state]) & ~32 >>> 0) >>> 0; + this[_checkState](wasInputPaused); + } + [_checkState](wasInputPaused) { + if (wasInputPaused == null) dart.nullFailed(I[65], 430, 25, "wasInputPaused"); + if (!!dart.test(this[_inCallback])) dart.assertFailed(null, I[65], 431, 12, "!_inCallback"); + if (dart.test(this[_hasPending]) && dart.test(dart.nullCheck(this[_pending$]).isEmpty)) { + this[_state] = (dart.notNull(this[_state]) & ~64 >>> 0) >>> 0; + if (dart.test(this[_isInputPaused]) && dart.test(this[_mayResumeInput])) { + this[_state] = (dart.notNull(this[_state]) & ~4 >>> 0) >>> 0; + } + } + while (true) { + if (dart.test(this[_isCanceled])) { + this[_pending$] = null; + return; + } + let isInputPaused = this[_isInputPaused]; + if (wasInputPaused == isInputPaused) break; + this[_state] = (dart.notNull(this[_state]) ^ 32) >>> 0; + if (dart.test(isInputPaused)) { + this[_onPause](); + } else { + this[_onResume](); + } + this[_state] = (dart.notNull(this[_state]) & ~32 >>> 0) >>> 0; + wasInputPaused = isInputPaused; + } + if (dart.test(this[_hasPending]) && !dart.test(this[_isPaused])) { + dart.nullCheck(this[_pending$]).schedule(this); + } + } + } + (_BufferingStreamSubscription.new = function(onData, onError, onDone, cancelOnError) { + if (cancelOnError == null) dart.nullFailed(I[65], 102, 28, "cancelOnError"); + _BufferingStreamSubscription.zoned.call(this, async.Zone.current, onData, onError, onDone, cancelOnError); + }).prototype = _BufferingStreamSubscription.prototype; + (_BufferingStreamSubscription.zoned = function(_zone, onData, onError, onDone, cancelOnError) { + if (_zone == null) dart.nullFailed(I[65], 105, 43, "_zone"); + if (cancelOnError == null) dart.nullFailed(I[65], 106, 47, "cancelOnError"); + this[_cancelFuture] = null; + this[_pending$] = null; + this[_zone$] = _zone; + this[_state] = dart.test(cancelOnError) ? 1 : 0; + this[_onData$] = async._BufferingStreamSubscription._registerDataHandler(T, _zone, onData); + this[_onError] = async._BufferingStreamSubscription._registerErrorHandler(_zone, onError); + this[_onDone$] = async._BufferingStreamSubscription._registerDoneHandler(_zone, onDone); + ; + }).prototype = _BufferingStreamSubscription.prototype; + _BufferingStreamSubscription.prototype[dart.isStreamSubscription] = true; + dart.addTypeTests(_BufferingStreamSubscription); + _BufferingStreamSubscription.prototype[_is__BufferingStreamSubscription_default] = true; + dart.addTypeCaches(_BufferingStreamSubscription); + _BufferingStreamSubscription[dart.implements] = () => [async.StreamSubscription$(T), async._EventSink$(T), async._EventDispatch$(T)]; + dart.setMethodSignature(_BufferingStreamSubscription, () => ({ + __proto__: dart.getMethods(_BufferingStreamSubscription.__proto__), + [_setPendingEvents]: dart.fnType(dart.void, [dart.nullable(core.Object)]), + onData: dart.fnType(dart.void, [dart.nullable(dart.fnType(dart.void, [T]))]), + onError: dart.fnType(dart.void, [dart.nullable(core.Function)]), + onDone: dart.fnType(dart.void, [dart.nullable(dart.fnType(dart.void, []))]), + pause: dart.fnType(dart.void, [], [dart.nullable(async.Future$(dart.void))]), + resume: dart.fnType(dart.void, []), + cancel: dart.fnType(async.Future, []), + asFuture: dart.gFnType(E => [async.Future$(E), [], [dart.nullable(E)]], E => [dart.nullable(core.Object)]), + [_cancel]: dart.fnType(dart.void, []), + [_decrementPauseCount]: dart.fnType(dart.void, []), + [_add]: dart.fnType(dart.void, [dart.nullable(core.Object)]), + [_addError]: dart.fnType(dart.void, [core.Object, core.StackTrace]), + [_close]: dart.fnType(dart.void, []), + [_onPause]: dart.fnType(dart.void, []), + [_onResume]: dart.fnType(dart.void, []), + [_onCancel]: dart.fnType(dart.nullable(async.Future$(dart.void)), []), + [_addPending]: dart.fnType(dart.void, [async._DelayedEvent]), + [_sendData]: dart.fnType(dart.void, [T]), + [_sendError]: dart.fnType(dart.void, [core.Object, core.StackTrace]), + [_sendDone]: dart.fnType(dart.void, []), + [_guardCallback]: dart.fnType(dart.void, [dart.fnType(dart.void, [])]), + [_checkState]: dart.fnType(dart.void, [core.bool]) + })); + dart.setGetterSignature(_BufferingStreamSubscription, () => ({ + __proto__: dart.getGetters(_BufferingStreamSubscription.__proto__), + [_isInputPaused]: core.bool, + [_isClosed]: core.bool, + [_isCanceled]: core.bool, + [_waitsForCancel]: core.bool, + [_inCallback]: core.bool, + [_hasPending]: core.bool, + [_isPaused]: core.bool, + [_canFire]: core.bool, + [_mayResumeInput]: core.bool, + [_cancelOnError]: core.bool, + isPaused: core.bool + })); + dart.setLibraryUri(_BufferingStreamSubscription, I[29]); + dart.setFieldSignature(_BufferingStreamSubscription, () => ({ + __proto__: dart.getFields(_BufferingStreamSubscription.__proto__), + [_onData$]: dart.fieldType(dart.fnType(dart.void, [T])), + [_onError]: dart.fieldType(core.Function), + [_onDone$]: dart.fieldType(dart.fnType(dart.void, [])), + [_zone$]: dart.finalFieldType(async.Zone), + [_state]: dart.fieldType(core.int), + [_cancelFuture]: dart.fieldType(dart.nullable(async.Future)), + [_pending$]: dart.fieldType(dart.nullable(async._PendingEvents$(T))) + })); + return _BufferingStreamSubscription; + }); + async._BufferingStreamSubscription = async._BufferingStreamSubscription$(); + dart.defineLazy(async._BufferingStreamSubscription, { + /*async._BufferingStreamSubscription._STATE_CANCEL_ON_ERROR*/get _STATE_CANCEL_ON_ERROR() { + return 1; + }, + /*async._BufferingStreamSubscription._STATE_CLOSED*/get _STATE_CLOSED() { + return 2; + }, + /*async._BufferingStreamSubscription._STATE_INPUT_PAUSED*/get _STATE_INPUT_PAUSED() { + return 4; + }, + /*async._BufferingStreamSubscription._STATE_CANCELED*/get _STATE_CANCELED() { + return 8; + }, + /*async._BufferingStreamSubscription._STATE_WAIT_FOR_CANCEL*/get _STATE_WAIT_FOR_CANCEL() { + return 16; + }, + /*async._BufferingStreamSubscription._STATE_IN_CALLBACK*/get _STATE_IN_CALLBACK() { + return 32; + }, + /*async._BufferingStreamSubscription._STATE_HAS_PENDING*/get _STATE_HAS_PENDING() { + return 64; + }, + /*async._BufferingStreamSubscription._STATE_PAUSE_COUNT*/get _STATE_PAUSE_COUNT() { + return 128; + } + }, false); + dart.addTypeTests(async._BufferingStreamSubscription, _is__BufferingStreamSubscription_default); + const _is__ControllerSubscription_default = Symbol('_is__ControllerSubscription_default'); + async._ControllerSubscription$ = dart.generic(T => { + class _ControllerSubscription extends async._BufferingStreamSubscription$(T) { + [_onCancel]() { + return this[_controller$][_recordCancel](this); + } + [_onPause]() { + this[_controller$][_recordPause](this); + } + [_onResume]() { + this[_controller$][_recordResume](this); + } + } + (_ControllerSubscription.new = function(_controller, onData, onError, onDone, cancelOnError) { + if (_controller == null) dart.nullFailed(I[64], 804, 32, "_controller"); + if (cancelOnError == null) dart.nullFailed(I[64], 805, 47, "cancelOnError"); + this[_controller$] = _controller; + _ControllerSubscription.__proto__.new.call(this, onData, onError, onDone, cancelOnError); + ; + }).prototype = _ControllerSubscription.prototype; + dart.addTypeTests(_ControllerSubscription); + _ControllerSubscription.prototype[_is__ControllerSubscription_default] = true; + dart.addTypeCaches(_ControllerSubscription); + dart.setLibraryUri(_ControllerSubscription, I[29]); + dart.setFieldSignature(_ControllerSubscription, () => ({ + __proto__: dart.getFields(_ControllerSubscription.__proto__), + [_controller$]: dart.finalFieldType(async._StreamControllerLifecycle$(T)) + })); + return _ControllerSubscription; + }); + async._ControllerSubscription = async._ControllerSubscription$(); + dart.addTypeTests(async._ControllerSubscription, _is__ControllerSubscription_default); + const _is__BroadcastSubscription_default = Symbol('_is__BroadcastSubscription_default'); + async._BroadcastSubscription$ = dart.generic(T => { + var _BroadcastSubscriptionOfT = () => (_BroadcastSubscriptionOfT = dart.constFn(async._BroadcastSubscription$(T)))(); + var _BroadcastSubscriptionNOfT = () => (_BroadcastSubscriptionNOfT = dart.constFn(dart.nullable(_BroadcastSubscriptionOfT())))(); + class _BroadcastSubscription extends async._ControllerSubscription$(T) { + get [_next$1]() { + return this[_next$0]; + } + set [_next$1](value) { + this[_next$0] = _BroadcastSubscriptionNOfT().as(value); + } + get [_previous$1]() { + return this[_previous$0]; + } + set [_previous$1](value) { + this[_previous$0] = _BroadcastSubscriptionNOfT().as(value); + } + [_expectsEvent](eventId) { + if (eventId == null) dart.nullFailed(I[63], 36, 26, "eventId"); + return (dart.notNull(this[_eventState]) & 1) >>> 0 === eventId; + } + [_toggleEventId]() { + this[_eventState] = (dart.notNull(this[_eventState]) ^ 1) >>> 0; + } + get [_isFiring]() { + return (dart.notNull(this[_eventState]) & 2) !== 0; + } + [_setRemoveAfterFiring]() { + if (!dart.test(this[_isFiring])) dart.assertFailed(null, I[63], 45, 12, "_isFiring"); + this[_eventState] = (dart.notNull(this[_eventState]) | 4) >>> 0; + } + get [_removeAfterFiring]() { + return (dart.notNull(this[_eventState]) & 4) !== 0; + } + [_onPause]() { + } + [_onResume]() { + } + } + (_BroadcastSubscription.new = function(controller, onData, onError, onDone, cancelOnError) { + if (controller == null) dart.nullFailed(I[63], 27, 37, "controller"); + if (cancelOnError == null) dart.nullFailed(I[63], 31, 12, "cancelOnError"); + this[_eventState] = 0; + this[_next$0] = null; + this[_previous$0] = null; + _BroadcastSubscription.__proto__.new.call(this, controller, onData, onError, onDone, cancelOnError); + this[_next$1] = this[_previous$1] = this; + }).prototype = _BroadcastSubscription.prototype; + dart.addTypeTests(_BroadcastSubscription); + _BroadcastSubscription.prototype[_is__BroadcastSubscription_default] = true; + dart.addTypeCaches(_BroadcastSubscription); + dart.setMethodSignature(_BroadcastSubscription, () => ({ + __proto__: dart.getMethods(_BroadcastSubscription.__proto__), + [_expectsEvent]: dart.fnType(core.bool, [core.int]), + [_toggleEventId]: dart.fnType(dart.void, []), + [_setRemoveAfterFiring]: dart.fnType(dart.void, []) + })); + dart.setGetterSignature(_BroadcastSubscription, () => ({ + __proto__: dart.getGetters(_BroadcastSubscription.__proto__), + [_isFiring]: core.bool, + [_removeAfterFiring]: core.bool + })); + dart.setLibraryUri(_BroadcastSubscription, I[29]); + dart.setFieldSignature(_BroadcastSubscription, () => ({ + __proto__: dart.getFields(_BroadcastSubscription.__proto__), + [_eventState]: dart.fieldType(core.int), + [_next$1]: dart.fieldType(dart.nullable(async._BroadcastSubscription$(T))), + [_previous$1]: dart.fieldType(dart.nullable(async._BroadcastSubscription$(T))) + })); + return _BroadcastSubscription; + }); + async._BroadcastSubscription = async._BroadcastSubscription$(); + dart.defineLazy(async._BroadcastSubscription, { + /*async._BroadcastSubscription._STATE_EVENT_ID*/get _STATE_EVENT_ID() { + return 1; + }, + /*async._BroadcastSubscription._STATE_FIRING*/get _STATE_FIRING() { + return 2; + }, + /*async._BroadcastSubscription._STATE_REMOVE_AFTER_FIRING*/get _STATE_REMOVE_AFTER_FIRING() { + return 4; + } + }, false); + dart.addTypeTests(async._BroadcastSubscription, _is__BroadcastSubscription_default); + var _firstSubscription = dart.privateName(async, "_firstSubscription"); + var _lastSubscription = dart.privateName(async, "_lastSubscription"); + var _addStreamState = dart.privateName(async, "_addStreamState"); + var _doneFuture = dart.privateName(async, "_doneFuture"); + var _isEmpty = dart.privateName(async, "_isEmpty"); + var _hasOneListener = dart.privateName(async, "_hasOneListener"); + var _isAddingStream = dart.privateName(async, "_isAddingStream"); + var _mayAddEvent = dart.privateName(async, "_mayAddEvent"); + var _ensureDoneFuture = dart.privateName(async, "_ensureDoneFuture"); + var _addListener = dart.privateName(async, "_addListener"); + var _removeListener = dart.privateName(async, "_removeListener"); + var _callOnCancel = dart.privateName(async, "_callOnCancel"); + var _addEventError = dart.privateName(async, "_addEventError"); + var _forEachListener = dart.privateName(async, "_forEachListener"); + var _mayComplete = dart.privateName(async, "_mayComplete"); + var _asyncComplete = dart.privateName(async, "_asyncComplete"); + const _is__BroadcastStreamController_default = Symbol('_is__BroadcastStreamController_default'); + async._BroadcastStreamController$ = dart.generic(T => { + var _BroadcastStreamOfT = () => (_BroadcastStreamOfT = dart.constFn(async._BroadcastStream$(T)))(); + var _StreamSinkWrapperOfT = () => (_StreamSinkWrapperOfT = dart.constFn(async._StreamSinkWrapper$(T)))(); + var _DoneStreamSubscriptionOfT = () => (_DoneStreamSubscriptionOfT = dart.constFn(async._DoneStreamSubscription$(T)))(); + var _BroadcastSubscriptionOfT = () => (_BroadcastSubscriptionOfT = dart.constFn(async._BroadcastSubscription$(T)))(); + var StreamOfT = () => (StreamOfT = dart.constFn(async.Stream$(T)))(); + var _AddStreamStateOfT = () => (_AddStreamStateOfT = dart.constFn(async._AddStreamState$(T)))(); + class _BroadcastStreamController extends core.Object { + get onPause() { + dart.throw(new core.UnsupportedError.new("Broadcast stream controllers do not support pause callbacks")); + } + set onPause(onPauseHandler) { + dart.throw(new core.UnsupportedError.new("Broadcast stream controllers do not support pause callbacks")); + } + get onResume() { + dart.throw(new core.UnsupportedError.new("Broadcast stream controllers do not support pause callbacks")); + } + set onResume(onResumeHandler) { + dart.throw(new core.UnsupportedError.new("Broadcast stream controllers do not support pause callbacks")); + } + get stream() { + return new (_BroadcastStreamOfT()).new(this); + } + get sink() { + return new (_StreamSinkWrapperOfT()).new(this); + } + get isClosed() { + return (dart.notNull(this[_state]) & 4) !== 0; + } + get isPaused() { + return false; + } + get hasListener() { + return !dart.test(this[_isEmpty]); + } + get [_hasOneListener]() { + if (!!dart.test(this[_isEmpty])) dart.assertFailed(null, I[63], 141, 12, "!_isEmpty"); + return this[_firstSubscription] == this[_lastSubscription]; + } + get [_isFiring]() { + return (dart.notNull(this[_state]) & 2) !== 0; + } + get [_isAddingStream]() { + return (dart.notNull(this[_state]) & 8) !== 0; + } + get [_mayAddEvent]() { + return dart.notNull(this[_state]) < 4; + } + [_ensureDoneFuture]() { + let t87; + t87 = this[_doneFuture]; + return t87 == null ? this[_doneFuture] = new (T$._FutureOfvoid()).new() : t87; + } + get [_isEmpty]() { + return this[_firstSubscription] == null; + } + [_addListener](subscription) { + if (subscription == null) dart.nullFailed(I[63], 159, 47, "subscription"); + if (!(subscription[_next$1] == subscription)) dart.assertFailed(null, I[63], 160, 12, "identical(subscription._next, subscription)"); + subscription[_eventState] = (dart.notNull(this[_state]) & 1) >>> 0; + let oldLast = this[_lastSubscription]; + this[_lastSubscription] = subscription; + subscription[_next$1] = null; + subscription[_previous$1] = oldLast; + if (oldLast == null) { + this[_firstSubscription] = subscription; + } else { + oldLast[_next$1] = subscription; + } + } + [_removeListener](subscription) { + if (subscription == null) dart.nullFailed(I[63], 174, 50, "subscription"); + if (!(subscription[_controller$] === this)) dart.assertFailed(null, I[63], 175, 12, "identical(subscription._controller, this)"); + if (!(subscription[_next$1] != subscription)) dart.assertFailed(null, I[63], 176, 12, "!identical(subscription._next, subscription)"); + let previous = subscription[_previous$1]; + let next = subscription[_next$1]; + if (previous == null) { + this[_firstSubscription] = next; + } else { + previous[_next$1] = next; + } + if (next == null) { + this[_lastSubscription] = previous; + } else { + next[_previous$1] = previous; + } + subscription[_next$1] = subscription[_previous$1] = subscription; + } + [_subscribe](onData, onError, onDone, cancelOnError) { + if (cancelOnError == null) dart.nullFailed(I[63], 198, 28, "cancelOnError"); + if (dart.test(this.isClosed)) { + return new (_DoneStreamSubscriptionOfT()).new(onDone); + } + let subscription = new (_BroadcastSubscriptionOfT()).new(this, onData, onError, onDone, cancelOnError); + this[_addListener](subscription); + if (this[_firstSubscription] == this[_lastSubscription]) { + async._runGuarded(this.onListen); + } + return subscription; + } + [_recordCancel](sub) { + if (sub == null) dart.nullFailed(I[63], 212, 53, "sub"); + let subscription = _BroadcastSubscriptionOfT().as(sub); + if (subscription[_next$1] == subscription) return null; + if (dart.test(subscription[_isFiring])) { + subscription[_setRemoveAfterFiring](); + } else { + this[_removeListener](subscription); + if (!dart.test(this[_isFiring]) && dart.test(this[_isEmpty])) { + this[_callOnCancel](); + } + } + return null; + } + [_recordPause](subscription) { + if (subscription == null) dart.nullFailed(I[63], 229, 43, "subscription"); + } + [_recordResume](subscription) { + if (subscription == null) dart.nullFailed(I[63], 230, 44, "subscription"); + } + [_addEventError]() { + if (dart.test(this.isClosed)) { + return new core.StateError.new("Cannot add new events after calling close"); + } + if (!dart.test(this[_isAddingStream])) dart.assertFailed(null, I[63], 238, 12, "_isAddingStream"); + return new core.StateError.new("Cannot add new events while doing an addStream"); + } + add(data) { + T.as(data); + if (!dart.test(this[_mayAddEvent])) dart.throw(this[_addEventError]()); + this[_sendData](data); + } + addError(error, stackTrace = null) { + if (error == null) dart.nullFailed(I[63], 247, 24, "error"); + _internal.checkNotNullable(core.Object, error, "error"); + if (!dart.test(this[_mayAddEvent])) dart.throw(this[_addEventError]()); + let replacement = async.Zone.current.errorCallback(error, stackTrace); + if (replacement != null) { + error = replacement.error; + stackTrace = replacement.stackTrace; + } else { + stackTrace == null ? stackTrace = async.AsyncError.defaultStackTrace(error) : null; + } + if (stackTrace == null) dart.throw("unreachable"); + this[_sendError](error, stackTrace); + } + close() { + if (dart.test(this.isClosed)) { + if (!(this[_doneFuture] != null)) dart.assertFailed(null, I[63], 263, 14, "_doneFuture != null"); + return dart.nullCheck(this[_doneFuture]); + } + if (!dart.test(this[_mayAddEvent])) dart.throw(this[_addEventError]()); + this[_state] = (dart.notNull(this[_state]) | 4) >>> 0; + let doneFuture = this[_ensureDoneFuture](); + this[_sendDone](); + return doneFuture; + } + get done() { + return this[_ensureDoneFuture](); + } + addStream(stream, opts) { + let t87; + StreamOfT().as(stream); + if (stream == null) dart.nullFailed(I[63], 275, 30, "stream"); + let cancelOnError = opts && 'cancelOnError' in opts ? opts.cancelOnError : null; + if (!dart.test(this[_mayAddEvent])) dart.throw(this[_addEventError]()); + this[_state] = (dart.notNull(this[_state]) | 8) >>> 0; + let addStreamState = new (_AddStreamStateOfT()).new(this, stream, (t87 = cancelOnError, t87 == null ? false : t87)); + this[_addStreamState] = addStreamState; + return addStreamState.addStreamFuture; + } + [_add](data) { + this[_sendData](data); + } + [_addError](error, stackTrace) { + if (error == null) dart.nullFailed(I[63], 289, 25, "error"); + if (stackTrace == null) dart.nullFailed(I[63], 289, 43, "stackTrace"); + this[_sendError](error, stackTrace); + } + [_close]() { + if (!dart.test(this[_isAddingStream])) dart.assertFailed(null, I[63], 294, 12, "_isAddingStream"); + let addState = dart.nullCheck(this[_addStreamState]); + this[_addStreamState] = null; + this[_state] = (dart.notNull(this[_state]) & ~8 >>> 0) >>> 0; + addState.complete(); + } + [_forEachListener](action) { + let t87, t87$; + if (action == null) dart.nullFailed(I[63], 303, 12, "action"); + if (dart.test(this[_isFiring])) { + dart.throw(new core.StateError.new("Cannot fire new event. Controller is already firing an event")); + } + if (dart.test(this[_isEmpty])) return; + let id = (dart.notNull(this[_state]) & 1) >>> 0; + this[_state] = (dart.notNull(this[_state]) ^ (1 | 2) >>> 0) >>> 0; + let subscription = this[_firstSubscription]; + while (subscription != null) { + if (dart.test(subscription[_expectsEvent](id))) { + t87 = subscription; + t87[_eventState] = (dart.notNull(t87[_eventState]) | 2) >>> 0; + action(subscription); + subscription[_toggleEventId](); + let next = subscription[_next$1]; + if (dart.test(subscription[_removeAfterFiring])) { + this[_removeListener](subscription); + } + t87$ = subscription; + t87$[_eventState] = (dart.notNull(t87$[_eventState]) & ~2 >>> 0) >>> 0; + subscription = next; + } else { + subscription = subscription[_next$1]; + } + } + this[_state] = (dart.notNull(this[_state]) & ~2 >>> 0) >>> 0; + if (dart.test(this[_isEmpty])) { + this[_callOnCancel](); + } + } + [_callOnCancel]() { + if (!dart.test(this[_isEmpty])) dart.assertFailed(null, I[63], 343, 12, "_isEmpty"); + if (dart.test(this.isClosed)) { + let doneFuture = dart.nullCheck(this[_doneFuture]); + if (dart.test(doneFuture[_mayComplete])) { + doneFuture[_asyncComplete](null); + } + } + async._runGuarded(this.onCancel); + } + } + (_BroadcastStreamController.new = function(onListen, onCancel) { + this[_firstSubscription] = null; + this[_lastSubscription] = null; + this[_addStreamState] = null; + this[_doneFuture] = null; + this.onListen = onListen; + this.onCancel = onCancel; + this[_state] = 0; + ; + }).prototype = _BroadcastStreamController.prototype; + dart.addTypeTests(_BroadcastStreamController); + _BroadcastStreamController.prototype[_is__BroadcastStreamController_default] = true; + dart.addTypeCaches(_BroadcastStreamController); + _BroadcastStreamController[dart.implements] = () => [async._StreamControllerBase$(T)]; + dart.setMethodSignature(_BroadcastStreamController, () => ({ + __proto__: dart.getMethods(_BroadcastStreamController.__proto__), + [_ensureDoneFuture]: dart.fnType(async._Future$(dart.void), []), + [_addListener]: dart.fnType(dart.void, [async._BroadcastSubscription$(T)]), + [_removeListener]: dart.fnType(dart.void, [async._BroadcastSubscription$(T)]), + [_subscribe]: dart.fnType(async.StreamSubscription$(T), [dart.nullable(dart.fnType(dart.void, [T])), dart.nullable(core.Function), dart.nullable(dart.fnType(dart.void, [])), core.bool]), + [_recordCancel]: dart.fnType(dart.nullable(async.Future$(dart.void)), [async.StreamSubscription$(T)]), + [_recordPause]: dart.fnType(dart.void, [async.StreamSubscription$(T)]), + [_recordResume]: dart.fnType(dart.void, [async.StreamSubscription$(T)]), + [_addEventError]: dart.fnType(core.Error, []), + add: dart.fnType(dart.void, [dart.nullable(core.Object)]), + addError: dart.fnType(dart.void, [core.Object], [dart.nullable(core.StackTrace)]), + close: dart.fnType(async.Future, []), + addStream: dart.fnType(async.Future, [dart.nullable(core.Object)], {cancelOnError: dart.nullable(core.bool)}, {}), + [_add]: dart.fnType(dart.void, [T]), + [_addError]: dart.fnType(dart.void, [core.Object, core.StackTrace]), + [_close]: dart.fnType(dart.void, []), + [_forEachListener]: dart.fnType(dart.void, [dart.fnType(dart.void, [async._BufferingStreamSubscription$(T)])]), + [_callOnCancel]: dart.fnType(dart.void, []) + })); + dart.setGetterSignature(_BroadcastStreamController, () => ({ + __proto__: dart.getGetters(_BroadcastStreamController.__proto__), + onPause: dart.fnType(dart.void, []), + onResume: dart.fnType(dart.void, []), + stream: async.Stream$(T), + sink: async.StreamSink$(T), + isClosed: core.bool, + isPaused: core.bool, + hasListener: core.bool, + [_hasOneListener]: core.bool, + [_isFiring]: core.bool, + [_isAddingStream]: core.bool, + [_mayAddEvent]: core.bool, + [_isEmpty]: core.bool, + done: async.Future$(dart.void) + })); + dart.setSetterSignature(_BroadcastStreamController, () => ({ + __proto__: dart.getSetters(_BroadcastStreamController.__proto__), + onPause: dart.nullable(dart.fnType(dart.void, [])), + onResume: dart.nullable(dart.fnType(dart.void, [])) + })); + dart.setLibraryUri(_BroadcastStreamController, I[29]); + dart.setFieldSignature(_BroadcastStreamController, () => ({ + __proto__: dart.getFields(_BroadcastStreamController.__proto__), + onListen: dart.fieldType(dart.nullable(dart.fnType(dart.void, []))), + onCancel: dart.fieldType(dart.nullable(dart.fnType(dart.void, []))), + [_state]: dart.fieldType(core.int), + [_firstSubscription]: dart.fieldType(dart.nullable(async._BroadcastSubscription$(T))), + [_lastSubscription]: dart.fieldType(dart.nullable(async._BroadcastSubscription$(T))), + [_addStreamState]: dart.fieldType(dart.nullable(async._AddStreamState$(T))), + [_doneFuture]: dart.fieldType(dart.nullable(async._Future$(dart.void))) + })); + return _BroadcastStreamController; + }); + async._BroadcastStreamController = async._BroadcastStreamController$(); + dart.defineLazy(async._BroadcastStreamController, { + /*async._BroadcastStreamController._STATE_INITIAL*/get _STATE_INITIAL() { + return 0; + }, + /*async._BroadcastStreamController._STATE_EVENT_ID*/get _STATE_EVENT_ID() { + return 1; + }, + /*async._BroadcastStreamController._STATE_FIRING*/get _STATE_FIRING() { + return 2; + }, + /*async._BroadcastStreamController._STATE_CLOSED*/get _STATE_CLOSED() { + return 4; + }, + /*async._BroadcastStreamController._STATE_ADDSTREAM*/get _STATE_ADDSTREAM() { + return 8; + } + }, false); + dart.addTypeTests(async._BroadcastStreamController, _is__BroadcastStreamController_default); + const _is__SyncBroadcastStreamController_default = Symbol('_is__SyncBroadcastStreamController_default'); + async._SyncBroadcastStreamController$ = dart.generic(T => { + var _BroadcastSubscriptionOfT = () => (_BroadcastSubscriptionOfT = dart.constFn(async._BroadcastSubscription$(T)))(); + var _BufferingStreamSubscriptionOfT = () => (_BufferingStreamSubscriptionOfT = dart.constFn(async._BufferingStreamSubscription$(T)))(); + var _BufferingStreamSubscriptionOfTTovoid = () => (_BufferingStreamSubscriptionOfTTovoid = dart.constFn(dart.fnType(dart.void, [_BufferingStreamSubscriptionOfT()])))(); + class _SyncBroadcastStreamController extends async._BroadcastStreamController$(T) { + get [_mayAddEvent]() { + return dart.test(super[_mayAddEvent]) && !dart.test(this[_isFiring]); + } + [_addEventError]() { + if (dart.test(this[_isFiring])) { + return new core.StateError.new("Cannot fire new event. Controller is already firing an event"); + } + return super[_addEventError](); + } + [_sendData](data) { + if (dart.test(this[_isEmpty])) return; + if (dart.test(this[_hasOneListener])) { + this[_state] = (dart.notNull(this[_state]) | 2) >>> 0; + let firstSubscription = _BroadcastSubscriptionOfT().as(this[_firstSubscription]); + firstSubscription[_add](data); + this[_state] = (dart.notNull(this[_state]) & ~2 >>> 0) >>> 0; + if (dart.test(this[_isEmpty])) { + this[_callOnCancel](); + } + return; + } + this[_forEachListener](dart.fn(subscription => { + if (subscription == null) dart.nullFailed(I[63], 385, 55, "subscription"); + subscription[_add](data); + }, _BufferingStreamSubscriptionOfTTovoid())); + } + [_sendError](error, stackTrace) { + if (error == null) dart.nullFailed(I[63], 390, 26, "error"); + if (stackTrace == null) dart.nullFailed(I[63], 390, 44, "stackTrace"); + if (dart.test(this[_isEmpty])) return; + this[_forEachListener](dart.fn(subscription => { + if (subscription == null) dart.nullFailed(I[63], 392, 55, "subscription"); + subscription[_addError](error, stackTrace); + }, _BufferingStreamSubscriptionOfTTovoid())); + } + [_sendDone]() { + if (!dart.test(this[_isEmpty])) { + this[_forEachListener](dart.fn(subscription => { + if (subscription == null) dart.nullFailed(I[63], 399, 57, "subscription"); + subscription[_close](); + }, _BufferingStreamSubscriptionOfTTovoid())); + } else { + if (!(this[_doneFuture] != null && dart.test(dart.nullCheck(this[_doneFuture])[_mayComplete]))) dart.assertFailed(null, I[63], 403, 14, "_doneFuture != null && _doneFuture!._mayComplete"); + dart.nullCheck(this[_doneFuture])[_asyncComplete](null); + } + } + } + (_SyncBroadcastStreamController.new = function(onListen, onCancel) { + _SyncBroadcastStreamController.__proto__.new.call(this, onListen, onCancel); + ; + }).prototype = _SyncBroadcastStreamController.prototype; + dart.addTypeTests(_SyncBroadcastStreamController); + _SyncBroadcastStreamController.prototype[_is__SyncBroadcastStreamController_default] = true; + dart.addTypeCaches(_SyncBroadcastStreamController); + _SyncBroadcastStreamController[dart.implements] = () => [async.SynchronousStreamController$(T)]; + dart.setMethodSignature(_SyncBroadcastStreamController, () => ({ + __proto__: dart.getMethods(_SyncBroadcastStreamController.__proto__), + [_sendData]: dart.fnType(dart.void, [T]), + [_sendError]: dart.fnType(dart.void, [core.Object, core.StackTrace]), + [_sendDone]: dart.fnType(dart.void, []) + })); + dart.setLibraryUri(_SyncBroadcastStreamController, I[29]); + return _SyncBroadcastStreamController; + }); + async._SyncBroadcastStreamController = async._SyncBroadcastStreamController$(); + dart.addTypeTests(async._SyncBroadcastStreamController, _is__SyncBroadcastStreamController_default); + const _is__AsyncBroadcastStreamController_default = Symbol('_is__AsyncBroadcastStreamController_default'); + async._AsyncBroadcastStreamController$ = dart.generic(T => { + var _DelayedDataOfT = () => (_DelayedDataOfT = dart.constFn(async._DelayedData$(T)))(); + class _AsyncBroadcastStreamController extends async._BroadcastStreamController$(T) { + [_sendData](data) { + for (let subscription = this[_firstSubscription]; subscription != null; subscription = subscription[_next$1]) { + subscription[_addPending](new (_DelayedDataOfT()).new(data)); + } + } + [_sendError](error, stackTrace) { + if (error == null) dart.nullFailed(I[63], 423, 26, "error"); + if (stackTrace == null) dart.nullFailed(I[63], 423, 44, "stackTrace"); + for (let subscription = this[_firstSubscription]; subscription != null; subscription = subscription[_next$1]) { + subscription[_addPending](new async._DelayedError.new(error, stackTrace)); + } + } + [_sendDone]() { + if (!dart.test(this[_isEmpty])) { + for (let subscription = this[_firstSubscription]; subscription != null; subscription = subscription[_next$1]) { + subscription[_addPending](C[40] || CT.C40); + } + } else { + if (!(this[_doneFuture] != null && dart.test(dart.nullCheck(this[_doneFuture])[_mayComplete]))) dart.assertFailed(null, I[63], 439, 14, "_doneFuture != null && _doneFuture!._mayComplete"); + dart.nullCheck(this[_doneFuture])[_asyncComplete](null); + } + } + } + (_AsyncBroadcastStreamController.new = function(onListen, onCancel) { + _AsyncBroadcastStreamController.__proto__.new.call(this, onListen, onCancel); + ; + }).prototype = _AsyncBroadcastStreamController.prototype; + dart.addTypeTests(_AsyncBroadcastStreamController); + _AsyncBroadcastStreamController.prototype[_is__AsyncBroadcastStreamController_default] = true; + dart.addTypeCaches(_AsyncBroadcastStreamController); + dart.setMethodSignature(_AsyncBroadcastStreamController, () => ({ + __proto__: dart.getMethods(_AsyncBroadcastStreamController.__proto__), + [_sendData]: dart.fnType(dart.void, [T]), + [_sendError]: dart.fnType(dart.void, [core.Object, core.StackTrace]), + [_sendDone]: dart.fnType(dart.void, []) + })); + dart.setLibraryUri(_AsyncBroadcastStreamController, I[29]); + return _AsyncBroadcastStreamController; + }); + async._AsyncBroadcastStreamController = async._AsyncBroadcastStreamController$(); + dart.addTypeTests(async._AsyncBroadcastStreamController, _is__AsyncBroadcastStreamController_default); + var _addPendingEvent = dart.privateName(async, "_addPendingEvent"); + var _flushPending = dart.privateName(async, "_flushPending"); + const _is__AsBroadcastStreamController_default = Symbol('_is__AsBroadcastStreamController_default'); + async._AsBroadcastStreamController$ = dart.generic(T => { + var _StreamImplEventsOfT = () => (_StreamImplEventsOfT = dart.constFn(async._StreamImplEvents$(T)))(); + var _DelayedDataOfT = () => (_DelayedDataOfT = dart.constFn(async._DelayedData$(T)))(); + class _AsBroadcastStreamController extends async._SyncBroadcastStreamController$(T) { + get [_hasPending]() { + let pending = this[_pending$]; + return pending != null && !dart.test(pending.isEmpty); + } + [_addPendingEvent](event) { + let t87; + if (event == null) dart.nullFailed(I[63], 466, 39, "event"); + (t87 = this[_pending$], t87 == null ? this[_pending$] = new (_StreamImplEventsOfT()).new() : t87).add(event); + } + add(data) { + T.as(data); + if (!dart.test(this.isClosed) && dart.test(this[_isFiring])) { + this[_addPendingEvent](new (_DelayedDataOfT()).new(data)); + return; + } + super.add(data); + this[_flushPending](); + } + addError(error, stackTrace = null) { + if (error == null) dart.nullFailed(I[63], 479, 24, "error"); + _internal.checkNotNullable(core.Object, error, "error"); + stackTrace == null ? stackTrace = async.AsyncError.defaultStackTrace(error) : null; + if (!dart.test(this.isClosed) && dart.test(this[_isFiring])) { + this[_addPendingEvent](new async._DelayedError.new(error, stackTrace)); + return; + } + if (!dart.test(this[_mayAddEvent])) dart.throw(this[_addEventError]()); + this[_sendError](error, stackTrace); + this[_flushPending](); + } + [_flushPending]() { + let pending = this[_pending$]; + while (pending != null && !dart.test(pending.isEmpty)) { + pending.handleNext(this); + pending = this[_pending$]; + } + } + close() { + if (!dart.test(this.isClosed) && dart.test(this[_isFiring])) { + this[_addPendingEvent](C[40] || CT.C40); + this[_state] = (dart.notNull(this[_state]) | 4) >>> 0; + return super.done; + } + let result = super.close(); + if (!!dart.test(this[_hasPending])) dart.assertFailed(null, I[63], 506, 12, "!_hasPending"); + return result; + } + [_callOnCancel]() { + let pending = this[_pending$]; + if (pending != null) { + pending.clear(); + this[_pending$] = null; + } + super[_callOnCancel](); + } + } + (_AsBroadcastStreamController.new = function(onListen, onCancel) { + this[_pending$] = null; + _AsBroadcastStreamController.__proto__.new.call(this, onListen, onCancel); + ; + }).prototype = _AsBroadcastStreamController.prototype; + dart.addTypeTests(_AsBroadcastStreamController); + _AsBroadcastStreamController.prototype[_is__AsBroadcastStreamController_default] = true; + dart.addTypeCaches(_AsBroadcastStreamController); + _AsBroadcastStreamController[dart.implements] = () => [async._EventDispatch$(T)]; + dart.setMethodSignature(_AsBroadcastStreamController, () => ({ + __proto__: dart.getMethods(_AsBroadcastStreamController.__proto__), + [_addPendingEvent]: dart.fnType(dart.void, [async._DelayedEvent]), + [_flushPending]: dart.fnType(dart.void, []) + })); + dart.setGetterSignature(_AsBroadcastStreamController, () => ({ + __proto__: dart.getGetters(_AsBroadcastStreamController.__proto__), + [_hasPending]: core.bool + })); + dart.setLibraryUri(_AsBroadcastStreamController, I[29]); + dart.setFieldSignature(_AsBroadcastStreamController, () => ({ + __proto__: dart.getFields(_AsBroadcastStreamController.__proto__), + [_pending$]: dart.fieldType(dart.nullable(async._StreamImplEvents$(T))) + })); + return _AsBroadcastStreamController; + }); + async._AsBroadcastStreamController = async._AsBroadcastStreamController$(); + dart.addTypeTests(async._AsBroadcastStreamController, _is__AsBroadcastStreamController_default); + var libraryName$ = dart.privateName(async, "DeferredLibrary.libraryName"); + var uri$ = dart.privateName(async, "DeferredLibrary.uri"); + async.DeferredLibrary = class DeferredLibrary extends core.Object { + get libraryName() { + return this[libraryName$]; + } + set libraryName(value) { + super.libraryName = value; + } + get uri() { + return this[uri$]; + } + set uri(value) { + super.uri = value; + } + load() { + dart.throw("DeferredLibrary not supported. " + "please use the `import \"lib.dart\" deferred as lib` syntax."); + } + }; + (async.DeferredLibrary.new = function(libraryName, opts) { + if (libraryName == null) dart.nullFailed(I[66], 18, 30, "libraryName"); + let uri = opts && 'uri' in opts ? opts.uri : null; + this[libraryName$] = libraryName; + this[uri$] = uri; + ; + }).prototype = async.DeferredLibrary.prototype; + dart.addTypeTests(async.DeferredLibrary); + dart.addTypeCaches(async.DeferredLibrary); + dart.setMethodSignature(async.DeferredLibrary, () => ({ + __proto__: dart.getMethods(async.DeferredLibrary.__proto__), + load: dart.fnType(async.Future$(core.Null), []) + })); + dart.setLibraryUri(async.DeferredLibrary, I[29]); + dart.setFieldSignature(async.DeferredLibrary, () => ({ + __proto__: dart.getFields(async.DeferredLibrary.__proto__), + libraryName: dart.finalFieldType(core.String), + uri: dart.finalFieldType(dart.nullable(core.String)) + })); + var _s = dart.privateName(async, "_s"); + async.DeferredLoadException = class DeferredLoadException extends core.Object { + toString() { + return "DeferredLoadException: '" + dart.str(this[_s]) + "'"; + } + }; + (async.DeferredLoadException.new = function(message) { + if (message == null) dart.nullFailed(I[66], 29, 32, "message"); + this[_s] = message; + ; + }).prototype = async.DeferredLoadException.prototype; + dart.addTypeTests(async.DeferredLoadException); + dart.addTypeCaches(async.DeferredLoadException); + async.DeferredLoadException[dart.implements] = () => [core.Exception]; + dart.setLibraryUri(async.DeferredLoadException, I[29]); + dart.setFieldSignature(async.DeferredLoadException, () => ({ + __proto__: dart.getFields(async.DeferredLoadException.__proto__), + [_s]: dart.finalFieldType(core.String) + })); + dart.defineExtensionMethods(async.DeferredLoadException, ['toString']); + async.FutureOr$ = dart.normalizeFutureOr(T => { + class FutureOr extends core.Object {} + (FutureOr.__ = function() { + dart.throw(new core.UnsupportedError.new("FutureOr can't be instantiated")); + }).prototype = FutureOr.prototype; + dart.addTypeCaches(FutureOr); + dart.setLibraryUri(FutureOr, I[29]); + return FutureOr; + }); + async.FutureOr = async.FutureOr$(); + var _asyncCompleteError = dart.privateName(async, "_asyncCompleteError"); + var _completeWithValue = dart.privateName(async, "_completeWithValue"); + async.Future$ = dart.generic(T => { + class Future extends core.Object { + static new(computation) { + if (computation == null) dart.nullFailed(I[67], 170, 30, "computation"); + let result = new (async._Future$(T)).new(); + async.Timer.run(dart.fn(() => { + try { + result[_complete](computation()); + } catch (e$) { + let e = dart.getThrown(e$); + let s = dart.stackTrace(e$); + if (core.Object.is(e)) { + async._completeWithErrorCallback(result, e, s); + } else + throw e$; + } + }, T$.VoidTovoid())); + return result; + } + static microtask(computation) { + if (computation == null) dart.nullFailed(I[67], 194, 40, "computation"); + let result = new (async._Future$(T)).new(); + async.scheduleMicrotask(dart.fn(() => { + try { + result[_complete](computation()); + } catch (e$) { + let e = dart.getThrown(e$); + let s = dart.stackTrace(e$); + if (core.Object.is(e)) { + async._completeWithErrorCallback(result, e, s); + } else + throw e$; + } + }, T$.VoidTovoid())); + return result; + } + static sync(computation) { + if (computation == null) dart.nullFailed(I[67], 216, 35, "computation"); + try { + let result = computation(); + if (async.Future$(T).is(result)) { + return result; + } else { + return new (async._Future$(T)).value(T.as(result)); + } + } catch (e) { + let error = dart.getThrown(e); + let stackTrace = dart.stackTrace(e); + if (core.Object.is(error)) { + let future = new (async._Future$(T)).new(); + let replacement = async.Zone.current.errorCallback(error, stackTrace); + if (replacement != null) { + future[_asyncCompleteError](replacement.error, replacement.stackTrace); + } else { + future[_asyncCompleteError](error, stackTrace); + } + return future; + } else + throw e; + } + } + static value(value = null) { + return new (async._Future$(T)).immediate(value == null ? T.as(value) : value); + } + static error(error, stackTrace = null) { + if (error == null) dart.nullFailed(I[67], 267, 31, "error"); + _internal.checkNotNullable(core.Object, error, "error"); + if (async.Zone.current != async._rootZone) { + let replacement = async.Zone.current.errorCallback(error, stackTrace); + if (replacement != null) { + error = replacement.error; + stackTrace = replacement.stackTrace; + } + } + stackTrace == null ? stackTrace = async.AsyncError.defaultStackTrace(error) : null; + return new (async._Future$(T)).immediateError(error, stackTrace); + } + static delayed(duration, computation = null) { + if (duration == null) dart.nullFailed(I[67], 304, 35, "duration"); + if (computation == null && !dart.test(_internal.typeAcceptsNull(T))) { + dart.throw(new core.ArgumentError.value(null, "computation", "The type parameter is not nullable")); + } + let result = new (async._Future$(T)).new(); + async.Timer.new(duration, dart.fn(() => { + if (computation == null) { + result[_complete](T.as(null)); + } else { + try { + result[_complete](computation()); + } catch (e$) { + let e = dart.getThrown(e$); + let s = dart.stackTrace(e$); + if (core.Object.is(e)) { + async._completeWithErrorCallback(result, e, s); + } else + throw e$; + } + } + }, T$.VoidTovoid())); + return result; + } + static wait(T, futures, opts) { + let t101; + if (futures == null) dart.nullFailed(I[67], 352, 54, "futures"); + let eagerError = opts && 'eagerError' in opts ? opts.eagerError : false; + if (eagerError == null) dart.nullFailed(I[67], 353, 13, "eagerError"); + let cleanUp = opts && 'cleanUp' in opts ? opts.cleanUp : null; + let _future = new (async._Future$(core.List$(T))).new(); + let values = null; + let remaining = 0; + let error = null; + let error$35isSet = false; + function error$35get() { + return error$35isSet ? error : dart.throw(new _internal.LateError.localNI("error")); + } + dart.fn(error$35get, T$.VoidToObject()); + function error$35set(t94) { + if (t94 == null) dart.nullFailed(I[67], 359, 17, "null"); + error$35isSet = true; + return error = t94; + } + dart.fn(error$35set, T$.ObjectTodynamic()); + let stackTrace = null; + let stackTrace$35isSet = false; + function stackTrace$35get() { + return stackTrace$35isSet ? stackTrace : dart.throw(new _internal.LateError.localNI("stackTrace")); + } + dart.fn(stackTrace$35get, T$.VoidToStackTrace()); + function stackTrace$35set(t99) { + if (t99 == null) dart.nullFailed(I[67], 360, 21, "null"); + stackTrace$35isSet = true; + return stackTrace = t99; + } + dart.fn(stackTrace$35set, T$.StackTraceTodynamic()); + function handleError(theError, theStackTrace) { + if (theError == null) dart.nullFailed(I[67], 363, 29, "theError"); + if (theStackTrace == null) dart.nullFailed(I[67], 363, 50, "theStackTrace"); + remaining = remaining - 1; + let valueList = values; + if (valueList != null) { + if (cleanUp != null) { + for (let value of valueList) { + if (value != null) { + let cleanUpValue = value; + T$.FutureOfNull().sync(dart.fn(() => { + cleanUp(cleanUpValue); + }, T$.VoidToNull())); + } + } + } + values = null; + if (remaining === 0 || dart.test(eagerError)) { + _future[_completeError](theError, theStackTrace); + } else { + error$35set(theError); + stackTrace$35set(theStackTrace); + } + } else if (remaining === 0 && !dart.test(eagerError)) { + _future[_completeError](error$35get(), stackTrace$35get()); + } + } + dart.fn(handleError, T$.ObjectAndStackTraceTovoid()); + try { + for (let future of futures) { + let pos = remaining; + future.then(core.Null, dart.fn(value => { + remaining = remaining - 1; + let valueList = values; + if (valueList != null) { + valueList[$_set](pos, value); + if (remaining === 0) { + _future[_completeWithValue](core.List$(T).from(valueList)); + } + } else { + if (cleanUp != null && value != null) { + T$.FutureOfNull().sync(dart.fn(() => { + cleanUp(value); + }, T$.VoidToNull())); + } + if (remaining === 0 && !dart.test(eagerError)) { + _future[_completeError](error$35get(), stackTrace$35get()); + } + } + }, dart.fnType(core.Null, [T])), {onError: handleError}); + remaining = remaining + 1; + } + if (remaining === 0) { + t101 = _future; + return (() => { + t101[_completeWithValue](_interceptors.JSArray$(T).of([])); + return t101; + })(); + } + values = core.List$(dart.nullable(T)).filled(remaining, null); + } catch (e$) { + let e = dart.getThrown(e$); + let st = dart.stackTrace(e$); + if (core.Object.is(e)) { + if (remaining === 0 || dart.test(eagerError)) { + return async.Future$(core.List$(T)).error(e, st); + } else { + error$35set(e); + stackTrace$35set(st); + } + } else + throw e$; + } + return _future; + } + static any(T, futures) { + if (futures == null) dart.nullFailed(I[67], 459, 47, "futures"); + let completer = async.Completer$(T).sync(); + function onValue(value) { + if (!dart.test(completer.isCompleted)) completer.complete(value); + } + dart.fn(onValue, dart.fnType(dart.void, [T])); + function onError(error, stack) { + if (error == null) dart.nullFailed(I[67], 465, 25, "error"); + if (stack == null) dart.nullFailed(I[67], 465, 43, "stack"); + if (!dart.test(completer.isCompleted)) completer.completeError(error, stack); + } + dart.fn(onError, T$.ObjectAndStackTraceTovoid()); + for (let future of futures) { + future.then(dart.void, onValue, {onError: onError}); + } + return completer.future; + } + static forEach(T, elements, action) { + if (elements == null) dart.nullFailed(I[67], 491, 40, "elements"); + if (action == null) dart.nullFailed(I[67], 491, 59, "action"); + let iterator = elements[$iterator]; + return async.Future.doWhile(dart.fn(() => { + if (!dart.test(iterator.moveNext())) return false; + let result = action(iterator.current); + if (async.Future.is(result)) return result.then(core.bool, C[41] || CT.C41); + return true; + }, T$.VoidToFutureOrOfbool())); + } + static _kTrue(_) { + return true; + } + static doWhile(action) { + if (action == null) dart.nullFailed(I[67], 524, 40, "action"); + let doneSignal = new (T$._FutureOfvoid()).new(); + let nextIteration = null; + let nextIteration$35isSet = false; + function nextIteration$35get() { + return nextIteration$35isSet ? nextIteration : dart.throw(new _internal.LateError.localNI("nextIteration")); + } + dart.fn(nextIteration$35get, T$.VoidToFn()); + function nextIteration$35set(t105) { + if (t105 == null) dart.nullFailed(I[67], 526, 30, "null"); + nextIteration$35isSet = true; + return nextIteration = t105; + } + dart.fn(nextIteration$35set, T$.FnTodynamic()); + nextIteration$35set(async.Zone.current.bindUnaryCallbackGuarded(core.bool, dart.fn(keepGoing => { + if (keepGoing == null) dart.nullFailed(I[67], 531, 65, "keepGoing"); + while (dart.test(keepGoing)) { + let result = null; + try { + result = action(); + } catch (e) { + let error = dart.getThrown(e); + let stackTrace = dart.stackTrace(e); + if (core.Object.is(error)) { + async._asyncCompleteWithErrorCallback(doneSignal, error, stackTrace); + return; + } else + throw e; + } + if (T$.FutureOfbool().is(result)) { + result.then(dart.void, nextIteration$35get(), {onError: dart.bind(doneSignal, _completeError)}); + return; + } + keepGoing = result; + } + doneSignal[_complete](null); + }, T$.boolTovoid()))); + nextIteration$35get()(true); + return doneSignal; + } + } + (Future[dart.mixinNew] = function() { + }).prototype = Future.prototype; + dart.addTypeTests(Future); + Future.prototype[dart.isFuture] = true; + dart.addTypeCaches(Future); + dart.setLibraryUri(Future, I[29]); + return Future; + }); + async.Future = async.Future$(); + dart.defineLazy(async.Future, { + /*async.Future._nullFuture*/get _nullFuture() { + return T$._FutureOfNull().as(_internal.nullFuture); + }, + /*async.Future._falseFuture*/get _falseFuture() { + return new (T$._FutureOfbool()).zoneValue(false, async._rootZone); + } + }, false); + dart.addTypeTests(async.Future, dart.isFuture); + var message$1 = dart.privateName(async, "TimeoutException.message"); + var duration$ = dart.privateName(async, "TimeoutException.duration"); + async.TimeoutException = class TimeoutException extends core.Object { + get message() { + return this[message$1]; + } + set message(value) { + super.message = value; + } + get duration() { + return this[duration$]; + } + set duration(value) { + super.duration = value; + } + toString() { + let result = "TimeoutException"; + if (this.duration != null) result = "TimeoutException after " + dart.str(this.duration); + if (this.message != null) result = result + ": " + dart.str(this.message); + return result; + } + }; + (async.TimeoutException.new = function(message, duration = null) { + this[message$1] = message; + this[duration$] = duration; + ; + }).prototype = async.TimeoutException.prototype; + dart.addTypeTests(async.TimeoutException); + dart.addTypeCaches(async.TimeoutException); + async.TimeoutException[dart.implements] = () => [core.Exception]; + dart.setLibraryUri(async.TimeoutException, I[29]); + dart.setFieldSignature(async.TimeoutException, () => ({ + __proto__: dart.getFields(async.TimeoutException.__proto__), + message: dart.finalFieldType(dart.nullable(core.String)), + duration: dart.finalFieldType(dart.nullable(core.Duration)) + })); + dart.defineExtensionMethods(async.TimeoutException, ['toString']); + const _is_Completer_default = Symbol('_is_Completer_default'); + async.Completer$ = dart.generic(T => { + class Completer extends core.Object { + static new() { + return new (async._AsyncCompleter$(T)).new(); + } + static sync() { + return new (async._SyncCompleter$(T)).new(); + } + } + (Completer[dart.mixinNew] = function() { + }).prototype = Completer.prototype; + dart.addTypeTests(Completer); + Completer.prototype[_is_Completer_default] = true; + dart.addTypeCaches(Completer); + dart.setLibraryUri(Completer, I[29]); + return Completer; + }); + async.Completer = async.Completer$(); + dart.addTypeTests(async.Completer, _is_Completer_default); + const _is__Completer_default = Symbol('_is__Completer_default'); + async._Completer$ = dart.generic(T => { + var _FutureOfT = () => (_FutureOfT = dart.constFn(async._Future$(T)))(); + class _Completer extends core.Object { + completeError(error, stackTrace = null) { + if (error == null) dart.nullFailed(I[68], 21, 29, "error"); + _internal.checkNotNullable(core.Object, error, "error"); + if (!dart.test(this.future[_mayComplete])) dart.throw(new core.StateError.new("Future already completed")); + let replacement = async.Zone.current.errorCallback(error, stackTrace); + if (replacement != null) { + error = replacement.error; + stackTrace = replacement.stackTrace; + } else { + stackTrace == null ? stackTrace = async.AsyncError.defaultStackTrace(error) : null; + } + if (stackTrace == null) dart.throw("unreachable"); + this[_completeError](error, stackTrace); + } + get isCompleted() { + return !dart.test(this.future[_mayComplete]); + } + } + (_Completer.new = function() { + this.future = new (_FutureOfT()).new(); + ; + }).prototype = _Completer.prototype; + dart.addTypeTests(_Completer); + _Completer.prototype[_is__Completer_default] = true; + dart.addTypeCaches(_Completer); + _Completer[dart.implements] = () => [async.Completer$(T)]; + dart.setMethodSignature(_Completer, () => ({ + __proto__: dart.getMethods(_Completer.__proto__), + completeError: dart.fnType(dart.void, [core.Object], [dart.nullable(core.StackTrace)]) + })); + dart.setGetterSignature(_Completer, () => ({ + __proto__: dart.getGetters(_Completer.__proto__), + isCompleted: core.bool + })); + dart.setLibraryUri(_Completer, I[29]); + dart.setFieldSignature(_Completer, () => ({ + __proto__: dart.getFields(_Completer.__proto__), + future: dart.finalFieldType(async._Future$(T)) + })); + return _Completer; + }); + async._Completer = async._Completer$(); + dart.addTypeTests(async._Completer, _is__Completer_default); + const _is__AsyncCompleter_default = Symbol('_is__AsyncCompleter_default'); + async._AsyncCompleter$ = dart.generic(T => { + var FutureOrOfT = () => (FutureOrOfT = dart.constFn(async.FutureOr$(T)))(); + var FutureOrNOfT = () => (FutureOrNOfT = dart.constFn(dart.nullable(FutureOrOfT())))(); + class _AsyncCompleter extends async._Completer$(T) { + complete(value = null) { + FutureOrNOfT().as(value); + if (!dart.test(this.future[_mayComplete])) dart.throw(new core.StateError.new("Future already completed")); + this.future[_asyncComplete](FutureOrOfT().as(value == null ? value : value)); + } + [_completeError](error, stackTrace) { + if (error == null) dart.nullFailed(I[68], 49, 30, "error"); + if (stackTrace == null) dart.nullFailed(I[68], 49, 48, "stackTrace"); + this.future[_asyncCompleteError](error, stackTrace); + } + } + (_AsyncCompleter.new = function() { + _AsyncCompleter.__proto__.new.call(this); + ; + }).prototype = _AsyncCompleter.prototype; + dart.addTypeTests(_AsyncCompleter); + _AsyncCompleter.prototype[_is__AsyncCompleter_default] = true; + dart.addTypeCaches(_AsyncCompleter); + dart.setMethodSignature(_AsyncCompleter, () => ({ + __proto__: dart.getMethods(_AsyncCompleter.__proto__), + complete: dart.fnType(dart.void, [], [dart.nullable(core.Object)]), + [_completeError]: dart.fnType(dart.void, [core.Object, core.StackTrace]) + })); + dart.setLibraryUri(_AsyncCompleter, I[29]); + return _AsyncCompleter; + }); + async._AsyncCompleter = async._AsyncCompleter$(); + dart.addTypeTests(async._AsyncCompleter, _is__AsyncCompleter_default); + const _is__SyncCompleter_default = Symbol('_is__SyncCompleter_default'); + async._SyncCompleter$ = dart.generic(T => { + var FutureOrOfT = () => (FutureOrOfT = dart.constFn(async.FutureOr$(T)))(); + var FutureOrNOfT = () => (FutureOrNOfT = dart.constFn(dart.nullable(FutureOrOfT())))(); + class _SyncCompleter extends async._Completer$(T) { + complete(value = null) { + FutureOrNOfT().as(value); + if (!dart.test(this.future[_mayComplete])) dart.throw(new core.StateError.new("Future already completed")); + this.future[_complete](FutureOrOfT().as(value == null ? value : value)); + } + [_completeError](error, stackTrace) { + if (error == null) dart.nullFailed(I[68], 60, 30, "error"); + if (stackTrace == null) dart.nullFailed(I[68], 60, 48, "stackTrace"); + this.future[_completeError](error, stackTrace); + } + } + (_SyncCompleter.new = function() { + _SyncCompleter.__proto__.new.call(this); + ; + }).prototype = _SyncCompleter.prototype; + dart.addTypeTests(_SyncCompleter); + _SyncCompleter.prototype[_is__SyncCompleter_default] = true; + dart.addTypeCaches(_SyncCompleter); + dart.setMethodSignature(_SyncCompleter, () => ({ + __proto__: dart.getMethods(_SyncCompleter.__proto__), + complete: dart.fnType(dart.void, [], [dart.nullable(core.Object)]), + [_completeError]: dart.fnType(dart.void, [core.Object, core.StackTrace]) + })); + dart.setLibraryUri(_SyncCompleter, I[29]); + return _SyncCompleter; + }); + async._SyncCompleter = async._SyncCompleter$(); + dart.addTypeTests(async._SyncCompleter, _is__SyncCompleter_default); + var _nextListener = dart.privateName(async, "_nextListener"); + var _onValue = dart.privateName(async, "_onValue"); + var _errorTest = dart.privateName(async, "_errorTest"); + var _whenCompleteAction = dart.privateName(async, "_whenCompleteAction"); + const _is__FutureListener_default = Symbol('_is__FutureListener_default'); + async._FutureListener$ = dart.generic((S, T) => { + var SToFutureOrOfT = () => (SToFutureOrOfT = dart.constFn(dart.fnType(FutureOrOfT(), [S])))(); + var FutureOrOfT = () => (FutureOrOfT = dart.constFn(async.FutureOr$(T)))(); + var FutureOfT = () => (FutureOfT = dart.constFn(async.Future$(T)))(); + class _FutureListener extends core.Object { + get [_zone$]() { + return this.result[_zone$]; + } + get handlesValue() { + return (dart.notNull(this.state) & 1) !== 0; + } + get handlesError() { + return (dart.notNull(this.state) & 2) !== 0; + } + get hasErrorTest() { + return (dart.notNull(this.state) & 15) >>> 0 === 6; + } + get handlesComplete() { + return (dart.notNull(this.state) & 15) >>> 0 === 8; + } + get isAwait() { + return (dart.notNull(this.state) & 16) !== 0; + } + get [_onValue]() { + if (!dart.test(this.handlesValue)) dart.assertFailed(null, I[68], 128, 12, "handlesValue"); + return SToFutureOrOfT().as(this.callback); + } + get [_onError]() { + return this.errorCallback; + } + get [_errorTest]() { + if (!dart.test(this.hasErrorTest)) dart.assertFailed(null, I[68], 135, 12, "hasErrorTest"); + return T$.ObjectTobool().as(this.callback); + } + get [_whenCompleteAction]() { + if (!dart.test(this.handlesComplete)) dart.assertFailed(null, I[68], 140, 12, "handlesComplete"); + return T$.VoidTodynamic().as(this.callback); + } + get hasErrorCallback() { + if (!dart.test(this.handlesError)) dart.assertFailed(null, I[68], 148, 12, "handlesError"); + return this[_onError] != null; + } + handleValue(sourceResult) { + S.as(sourceResult); + return this[_zone$].runUnary(FutureOrOfT(), S, this[_onValue], sourceResult); + } + matchesErrorTest(asyncError) { + if (asyncError == null) dart.nullFailed(I[68], 158, 36, "asyncError"); + if (!dart.test(this.hasErrorTest)) return true; + return this[_zone$].runUnary(core.bool, core.Object, this[_errorTest], asyncError.error); + } + handleError(asyncError) { + if (asyncError == null) dart.nullFailed(I[68], 163, 38, "asyncError"); + if (!(dart.test(this.handlesError) && dart.test(this.hasErrorCallback))) dart.assertFailed(null, I[68], 164, 12, "handlesError && hasErrorCallback"); + let errorCallback = this.errorCallback; + if (T$.ObjectAndStackTraceTodynamic().is(errorCallback)) { + return FutureOrOfT().as(this[_zone$].runBinary(dart.dynamic, core.Object, core.StackTrace, errorCallback, asyncError.error, asyncError.stackTrace)); + } else { + return FutureOrOfT().as(this[_zone$].runUnary(dart.dynamic, core.Object, T$.ObjectTodynamic().as(errorCallback), asyncError.error)); + } + } + handleWhenComplete() { + if (!!dart.test(this.handlesError)) dart.assertFailed(null, I[68], 178, 12, "!handlesError"); + return this[_zone$].run(dart.dynamic, this[_whenCompleteAction]); + } + shouldChain(value) { + if (value == null) dart.nullFailed(I[68], 185, 36, "value"); + return FutureOfT().is(value) || !T.is(value); + } + } + (_FutureListener.then = function(result, onValue, errorCallback) { + if (result == null) dart.nullFailed(I[68], 100, 12, "result"); + if (onValue == null) dart.nullFailed(I[68], 100, 44, "onValue"); + this[_nextListener] = null; + this.result = result; + this.callback = onValue; + this.errorCallback = errorCallback; + this.state = errorCallback == null ? 1 : 3; + ; + }).prototype = _FutureListener.prototype; + (_FutureListener.thenAwait = function(result, onValue, errorCallback) { + if (result == null) dart.nullFailed(I[68], 106, 12, "result"); + if (onValue == null) dart.nullFailed(I[68], 106, 41, "onValue"); + if (errorCallback == null) dart.nullFailed(I[68], 106, 59, "errorCallback"); + this[_nextListener] = null; + this.result = result; + this.callback = onValue; + this.errorCallback = errorCallback; + this.state = ((errorCallback == null ? 1 : 3) | 16) >>> 0; + ; + }).prototype = _FutureListener.prototype; + (_FutureListener.catchError = function(result, errorCallback, callback) { + if (result == null) dart.nullFailed(I[68], 112, 35, "result"); + this[_nextListener] = null; + this.result = result; + this.errorCallback = errorCallback; + this.callback = callback; + this.state = callback == null ? 2 : 6; + ; + }).prototype = _FutureListener.prototype; + (_FutureListener.whenComplete = function(result, callback) { + if (result == null) dart.nullFailed(I[68], 115, 37, "result"); + this[_nextListener] = null; + this.result = result; + this.callback = callback; + this.errorCallback = null; + this.state = 8; + ; + }).prototype = _FutureListener.prototype; + dart.addTypeTests(_FutureListener); + _FutureListener.prototype[_is__FutureListener_default] = true; + dart.addTypeCaches(_FutureListener); + dart.setMethodSignature(_FutureListener, () => ({ + __proto__: dart.getMethods(_FutureListener.__proto__), + handleValue: dart.fnType(async.FutureOr$(T), [dart.nullable(core.Object)]), + matchesErrorTest: dart.fnType(core.bool, [async.AsyncError]), + handleError: dart.fnType(async.FutureOr$(T), [async.AsyncError]), + handleWhenComplete: dart.fnType(dart.dynamic, []), + shouldChain: dart.fnType(core.bool, [async.Future]) + })); + dart.setGetterSignature(_FutureListener, () => ({ + __proto__: dart.getGetters(_FutureListener.__proto__), + [_zone$]: async._Zone, + handlesValue: core.bool, + handlesError: core.bool, + hasErrorTest: core.bool, + handlesComplete: core.bool, + isAwait: core.bool, + [_onValue]: dart.fnType(async.FutureOr$(T), [S]), + [_onError]: dart.nullable(core.Function), + [_errorTest]: dart.fnType(core.bool, [core.Object]), + [_whenCompleteAction]: dart.fnType(dart.dynamic, []), + hasErrorCallback: core.bool + })); + dart.setLibraryUri(_FutureListener, I[29]); + dart.setFieldSignature(_FutureListener, () => ({ + __proto__: dart.getFields(_FutureListener.__proto__), + [_nextListener]: dart.fieldType(dart.nullable(async._FutureListener)), + result: dart.finalFieldType(async._Future$(T)), + state: dart.finalFieldType(core.int), + callback: dart.finalFieldType(dart.nullable(core.Function)), + errorCallback: dart.finalFieldType(dart.nullable(core.Function)) + })); + return _FutureListener; + }); + async._FutureListener = async._FutureListener$(); + dart.defineLazy(async._FutureListener, { + /*async._FutureListener.maskValue*/get maskValue() { + return 1; + }, + /*async._FutureListener.maskError*/get maskError() { + return 2; + }, + /*async._FutureListener.maskTestError*/get maskTestError() { + return 4; + }, + /*async._FutureListener.maskWhenComplete*/get maskWhenComplete() { + return 8; + }, + /*async._FutureListener.stateChain*/get stateChain() { + return 0; + }, + /*async._FutureListener.stateThen*/get stateThen() { + return 1; + }, + /*async._FutureListener.stateThenOnerror*/get stateThenOnerror() { + return 3; + }, + /*async._FutureListener.stateCatchError*/get stateCatchError() { + return 2; + }, + /*async._FutureListener.stateCatchErrorTest*/get stateCatchErrorTest() { + return 6; + }, + /*async._FutureListener.stateWhenComplete*/get stateWhenComplete() { + return 8; + }, + /*async._FutureListener.maskType*/get maskType() { + return 15; + }, + /*async._FutureListener.stateIsAwait*/get stateIsAwait() { + return 16; + } + }, false); + dart.addTypeTests(async._FutureListener, _is__FutureListener_default); + var _resultOrListeners = dart.privateName(async, "_resultOrListeners"); + var _setValue = dart.privateName(async, "_setValue"); + var _isPendingComplete = dart.privateName(async, "_isPendingComplete"); + var _mayAddListener = dart.privateName(async, "_mayAddListener"); + var _isChained = dart.privateName(async, "_isChained"); + var _isComplete = dart.privateName(async, "_isComplete"); + var _hasError = dart.privateName(async, "_hasError"); + var _setChained = dart.privateName(async, "_setChained"); + var _setPendingComplete = dart.privateName(async, "_setPendingComplete"); + var _clearPendingComplete = dart.privateName(async, "_clearPendingComplete"); + var _error = dart.privateName(async, "_error"); + var _chainSource = dart.privateName(async, "_chainSource"); + var _setErrorObject = dart.privateName(async, "_setErrorObject"); + var _setError = dart.privateName(async, "_setError"); + var _cloneResult = dart.privateName(async, "_cloneResult"); + var _prependListeners = dart.privateName(async, "_prependListeners"); + var _reverseListeners = dart.privateName(async, "_reverseListeners"); + var _removeListeners = dart.privateName(async, "_removeListeners"); + var _chainFuture = dart.privateName(async, "_chainFuture"); + var _asyncCompleteWithValue = dart.privateName(async, "_asyncCompleteWithValue"); + const _is__Future_default = Symbol('_is__Future_default'); + async._Future$ = dart.generic(T => { + var _FutureOfT = () => (_FutureOfT = dart.constFn(async._Future$(T)))(); + var _FutureListenerOfT$T = () => (_FutureListenerOfT$T = dart.constFn(async._FutureListener$(T, T)))(); + var StreamOfT = () => (StreamOfT = dart.constFn(async.Stream$(T)))(); + var FutureOrOfT = () => (FutureOrOfT = dart.constFn(async.FutureOr$(T)))(); + var FutureOfT = () => (FutureOfT = dart.constFn(async.Future$(T)))(); + var VoidToFutureOrOfT = () => (VoidToFutureOrOfT = dart.constFn(dart.fnType(FutureOrOfT(), [])))(); + var VoidToNFutureOrOfT = () => (VoidToNFutureOrOfT = dart.constFn(dart.nullable(VoidToFutureOrOfT())))(); + var TToNull = () => (TToNull = dart.constFn(dart.fnType(core.Null, [T])))(); + class _Future extends core.Object { + get [_mayComplete]() { + return this[_state] === 0; + } + get [_isPendingComplete]() { + return this[_state] === 1; + } + get [_mayAddListener]() { + return dart.notNull(this[_state]) <= 1; + } + get [_isChained]() { + return this[_state] === 2; + } + get [_isComplete]() { + return dart.notNull(this[_state]) >= 4; + } + get [_hasError]() { + return this[_state] === 8; + } + static _continuationFunctions(future) { + let t108; + if (future == null) dart.nullFailed(I[68], 263, 65, "future"); + let result = null; + while (true) { + if (dart.test(future[_mayAddListener])) return result; + if (!!dart.test(future[_isComplete])) dart.assertFailed(null, I[68], 267, 14, "!future._isComplete"); + if (!!dart.test(future[_isChained])) dart.assertFailed(null, I[68], 268, 14, "!future._isChained"); + let listener = T$._FutureListenerNOfObject$Object().as(future[_resultOrListeners]); + if (listener != null && listener[_nextListener] == null && dart.test(listener.isAwait)) { + (t108 = result, t108 == null ? result = T$.JSArrayOfFunction().of([]) : t108)[$add](dart.bind(listener, 'handleValue')); + future = listener.result; + if (!!dart.test(future[_isComplete])) dart.assertFailed(null, I[68], 276, 16, "!future._isComplete"); + } else { + break; + } + } + return result; + } + [_setChained](source) { + if (source == null) dart.nullFailed(I[68], 284, 28, "source"); + if (!dart.test(this[_mayAddListener])) dart.assertFailed(null, I[68], 285, 12, "_mayAddListener"); + this[_state] = 2; + this[_resultOrListeners] = source; + } + then(R, f, opts) { + if (f == null) dart.nullFailed(I[68], 290, 33, "f"); + let onError = opts && 'onError' in opts ? opts.onError : null; + let currentZone = async.Zone.current; + if (currentZone != async._rootZone) { + f = currentZone.registerUnaryCallback(async.FutureOr$(R), T, f); + if (onError != null) { + onError = async._registerErrorHandler(onError, currentZone); + } + } + let result = new (async._Future$(R)).new(); + this[_addListener](new (async._FutureListener$(T, R)).then(result, f, onError)); + return result; + } + [_thenAwait](E, f, onError) { + if (f == null) dart.nullFailed(I[68], 312, 39, "f"); + if (onError == null) dart.nullFailed(I[68], 312, 60, "onError"); + let result = new (async._Future$(E)).new(); + this[_addListener](new (async._FutureListener$(T, E)).thenAwait(result, f, onError)); + return result; + } + catchError(onError, opts) { + if (onError == null) dart.nullFailed(I[68], 318, 33, "onError"); + let test = opts && 'test' in opts ? opts.test : null; + let result = new (_FutureOfT()).new(); + if (result[_zone$] != async._rootZone) { + onError = async._registerErrorHandler(onError, result[_zone$]); + if (test != null) test = result[_zone$].registerUnaryCallback(core.bool, core.Object, test); + } + this[_addListener](new (_FutureListenerOfT$T()).catchError(result, onError, test)); + return result; + } + whenComplete(action) { + if (action == null) dart.nullFailed(I[68], 328, 34, "action"); + let result = new (_FutureOfT()).new(); + if (result[_zone$] != async._rootZone) { + action = result[_zone$].registerCallback(dart.dynamic, action); + } + this[_addListener](new (_FutureListenerOfT$T()).whenComplete(result, action)); + return result; + } + asStream() { + return StreamOfT().fromFuture(this); + } + [_setPendingComplete]() { + if (!dart.test(this[_mayComplete])) dart.assertFailed(null, I[68], 340, 12, "_mayComplete"); + this[_state] = 1; + } + [_clearPendingComplete]() { + if (!dart.test(this[_isPendingComplete])) dart.assertFailed(null, I[68], 345, 12, "_isPendingComplete"); + this[_state] = 0; + } + get [_error]() { + if (!dart.test(this[_hasError])) dart.assertFailed(null, I[68], 350, 12, "_hasError"); + return async.AsyncError.as(this[_resultOrListeners]); + } + get [_chainSource]() { + if (!dart.test(this[_isChained])) dart.assertFailed(null, I[68], 355, 12, "_isChained"); + return async._Future.as(this[_resultOrListeners]); + } + [_setValue](value) { + T.as(value); + if (!!dart.test(this[_isComplete])) dart.assertFailed(null, I[68], 361, 12, "!_isComplete"); + this[_state] = 4; + this[_resultOrListeners] = value; + } + [_setErrorObject](error) { + if (error == null) dart.nullFailed(I[68], 366, 35, "error"); + if (!!dart.test(this[_isComplete])) dart.assertFailed(null, I[68], 367, 12, "!_isComplete"); + this[_state] = 8; + this[_resultOrListeners] = error; + } + [_setError](error, stackTrace) { + if (error == null) dart.nullFailed(I[68], 372, 25, "error"); + if (stackTrace == null) dart.nullFailed(I[68], 372, 43, "stackTrace"); + this[_setErrorObject](new async.AsyncError.new(error, stackTrace)); + } + [_cloneResult](source) { + if (source == null) dart.nullFailed(I[68], 379, 29, "source"); + if (!!dart.test(this[_isComplete])) dart.assertFailed(null, I[68], 380, 12, "!_isComplete"); + if (!dart.test(source[_isComplete])) dart.assertFailed(null, I[68], 381, 12, "source._isComplete"); + this[_state] = source[_state]; + this[_resultOrListeners] = source[_resultOrListeners]; + } + [_addListener](listener) { + if (listener == null) dart.nullFailed(I[68], 386, 37, "listener"); + if (!(listener[_nextListener] == null)) dart.assertFailed(null, I[68], 387, 12, "listener._nextListener == null"); + if (dart.test(this[_mayAddListener])) { + listener[_nextListener] = T$._FutureListenerN().as(this[_resultOrListeners]); + this[_resultOrListeners] = listener; + } else { + if (dart.test(this[_isChained])) { + let source = this[_chainSource]; + if (!dart.test(source[_isComplete])) { + source[_addListener](listener); + return; + } + this[_cloneResult](source); + } + if (!dart.test(this[_isComplete])) dart.assertFailed(null, I[68], 403, 14, "_isComplete"); + this[_zone$].scheduleMicrotask(dart.fn(() => { + async._Future._propagateToListeners(this, listener); + }, T$.VoidTovoid())); + } + } + [_prependListeners](listeners) { + if (listeners == null) return; + if (dart.test(this[_mayAddListener])) { + let existingListeners = T$._FutureListenerN().as(this[_resultOrListeners]); + this[_resultOrListeners] = listeners; + if (existingListeners != null) { + let cursor = listeners; + let next = cursor[_nextListener]; + while (next != null) { + cursor = next; + next = cursor[_nextListener]; + } + cursor[_nextListener] = existingListeners; + } + } else { + if (dart.test(this[_isChained])) { + let source = this[_chainSource]; + if (!dart.test(source[_isComplete])) { + source[_prependListeners](listeners); + return; + } + this[_cloneResult](source); + } + if (!dart.test(this[_isComplete])) dart.assertFailed(null, I[68], 437, 14, "_isComplete"); + listeners = this[_reverseListeners](listeners); + this[_zone$].scheduleMicrotask(dart.fn(() => { + async._Future._propagateToListeners(this, listeners); + }, T$.VoidTovoid())); + } + } + [_removeListeners]() { + if (!!dart.test(this[_isComplete])) dart.assertFailed(null, I[68], 448, 12, "!_isComplete"); + let current = T$._FutureListenerN().as(this[_resultOrListeners]); + this[_resultOrListeners] = null; + return this[_reverseListeners](current); + } + [_reverseListeners](listeners) { + let prev = null; + let current = listeners; + while (current != null) { + let next = current[_nextListener]; + current[_nextListener] = prev; + prev = current; + current = next; + } + return prev; + } + [_chainForeignFuture](source) { + if (source == null) dart.nullFailed(I[68], 470, 35, "source"); + if (!!dart.test(this[_isComplete])) dart.assertFailed(null, I[68], 471, 12, "!_isComplete"); + if (!!async._Future.is(source)) dart.assertFailed(null, I[68], 472, 12, "source is! _Future"); + this[_setPendingComplete](); + try { + source.then(core.Null, dart.fn(value => { + if (!dart.test(this[_isPendingComplete])) dart.assertFailed(null, I[68], 478, 16, "_isPendingComplete"); + this[_clearPendingComplete](); + try { + this[_completeWithValue](T.as(value)); + } catch (e) { + let error = dart.getThrown(e); + let stackTrace = dart.stackTrace(e); + if (core.Object.is(error)) { + this[_completeError](error, stackTrace); + } else + throw e; + } + }, T$.dynamicToNull()), {onError: dart.fn((error, stackTrace) => { + if (error == null) dart.nullFailed(I[68], 485, 27, "error"); + if (stackTrace == null) dart.nullFailed(I[68], 485, 45, "stackTrace"); + if (!dart.test(this[_isPendingComplete])) dart.assertFailed(null, I[68], 486, 16, "_isPendingComplete"); + this[_completeError](error, stackTrace); + }, T$.ObjectAndStackTraceToNull())}); + } catch (e$) { + let e = dart.getThrown(e$); + let s = dart.stackTrace(e$); + if (core.Object.is(e)) { + async.scheduleMicrotask(dart.fn(() => { + this[_completeError](e, s); + }, T$.VoidTovoid())); + } else + throw e$; + } + } + static _chainCoreFuture(source, target) { + if (source == null) dart.nullFailed(I[68], 502, 40, "source"); + if (target == null) dart.nullFailed(I[68], 502, 56, "target"); + if (!dart.test(target[_mayAddListener])) dart.assertFailed(null, I[68], 503, 12, "target._mayAddListener"); + while (dart.test(source[_isChained])) { + source = source[_chainSource]; + } + if (dart.test(source[_isComplete])) { + let listeners = target[_removeListeners](); + target[_cloneResult](source); + async._Future._propagateToListeners(target, listeners); + } else { + let listeners = T$._FutureListenerN().as(target[_resultOrListeners]); + target[_setChained](source); + source[_prependListeners](listeners); + } + } + [_complete](value) { + FutureOrOfT().as(value); + if (!!dart.test(this[_isComplete])) dart.assertFailed(null, I[68], 519, 12, "!_isComplete"); + if (FutureOfT().is(value)) { + if (_FutureOfT().is(value)) { + async._Future._chainCoreFuture(value, this); + } else { + this[_chainForeignFuture](value); + } + } else { + let listeners = this[_removeListeners](); + this[_setValue](T.as(value)); + async._Future._propagateToListeners(this, listeners); + } + } + [_completeWithValue](value) { + T.as(value); + if (!!dart.test(this[_isComplete])) dart.assertFailed(null, I[68], 538, 12, "!_isComplete"); + let listeners = this[_removeListeners](); + this[_setValue](value); + async._Future._propagateToListeners(this, listeners); + } + [_completeError](error, stackTrace) { + if (error == null) dart.nullFailed(I[68], 545, 30, "error"); + if (stackTrace == null) dart.nullFailed(I[68], 545, 48, "stackTrace"); + if (!!dart.test(this[_isComplete])) dart.assertFailed(null, I[68], 546, 12, "!_isComplete"); + let listeners = this[_removeListeners](); + this[_setError](error, stackTrace); + async._Future._propagateToListeners(this, listeners); + } + [_asyncComplete](value) { + FutureOrOfT().as(value); + if (!!dart.test(this[_isComplete])) dart.assertFailed(null, I[68], 554, 12, "!_isComplete"); + if (FutureOfT().is(value)) { + this[_chainFuture](value); + return; + } + this[_asyncCompleteWithValue](T.as(value)); + } + [_asyncCompleteWithValue](value) { + T.as(value); + this[_setPendingComplete](); + this[_zone$].scheduleMicrotask(dart.fn(() => { + this[_completeWithValue](value); + }, T$.VoidTovoid())); + } + [_chainFuture](value) { + if (value == null) dart.nullFailed(I[68], 584, 31, "value"); + if (_FutureOfT().is(value)) { + if (dart.test(value[_hasError])) { + this[_setPendingComplete](); + this[_zone$].scheduleMicrotask(dart.fn(() => { + async._Future._chainCoreFuture(value, this); + }, T$.VoidTovoid())); + } else { + async._Future._chainCoreFuture(value, this); + } + return; + } + this[_chainForeignFuture](value); + } + [_asyncCompleteError](error, stackTrace) { + if (error == null) dart.nullFailed(I[68], 601, 35, "error"); + if (stackTrace == null) dart.nullFailed(I[68], 601, 53, "stackTrace"); + if (!!dart.test(this[_isComplete])) dart.assertFailed(null, I[68], 602, 12, "!_isComplete"); + this[_setPendingComplete](); + this[_zone$].scheduleMicrotask(dart.fn(() => { + this[_completeError](error, stackTrace); + }, T$.VoidTovoid())); + } + static _propagateToListeners(source, listeners) { + if (source == null) dart.nullFailed(I[68], 613, 15, "source"); + while (true) { + if (!dart.test(source[_isComplete])) dart.assertFailed(null, I[68], 615, 14, "source._isComplete"); + let hasError = source[_hasError]; + if (listeners == null) { + if (dart.test(hasError)) { + let asyncError = source[_error]; + source[_zone$].handleUncaughtError(asyncError.error, asyncError.stackTrace); + } + return; + } + let listener = listeners; + let nextListener = listener[_nextListener]; + while (nextListener != null) { + listener[_nextListener] = null; + async._Future._propagateToListeners(source, listener); + listener = nextListener; + nextListener = listener[_nextListener]; + } + let sourceResult = source[_resultOrListeners]; + let listenerHasError = hasError; + let listenerValueOrError = sourceResult; + if (dart.test(hasError) || dart.test(listener.handlesValue) || dart.test(listener.handlesComplete)) { + let zone = listener[_zone$]; + if (dart.test(hasError) && !dart.test(source[_zone$].inSameErrorZone(zone))) { + let asyncError = source[_error]; + source[_zone$].handleUncaughtError(asyncError.error, asyncError.stackTrace); + return; + } + let oldZone = null; + if (async.Zone._current != zone) { + oldZone = async.Zone._enter(zone); + } + function handleWhenCompleteCallback() { + if (!!dart.test(listener.handlesValue)) dart.assertFailed(null, I[68], 673, 18, "!listener.handlesValue"); + if (!!dart.test(listener.handlesError)) dart.assertFailed(null, I[68], 674, 18, "!listener.handlesError"); + let completeResult = null; + try { + completeResult = listener.handleWhenComplete(); + } catch (e$) { + let e = dart.getThrown(e$); + let s = dart.stackTrace(e$); + if (core.Object.is(e)) { + if (dart.test(hasError) && core.identical(source[_error].error, e)) { + listenerValueOrError = source[_error]; + } else { + listenerValueOrError = new async.AsyncError.new(e, s); + } + listenerHasError = true; + return; + } else + throw e$; + } + if (async._Future.is(completeResult) && dart.test(completeResult[_isComplete])) { + if (dart.test(completeResult[_hasError])) { + listenerValueOrError = completeResult[_error]; + listenerHasError = true; + } + return; + } + if (async.Future.is(completeResult)) { + let originalSource = source; + listenerValueOrError = completeResult.then(dart.dynamic, dart.fn(_ => originalSource, T$.dynamicTo_Future())); + listenerHasError = false; + } + } + dart.fn(handleWhenCompleteCallback, T$.VoidTovoid()); + function handleValueCallback() { + try { + listenerValueOrError = listener.handleValue(sourceResult); + } catch (e$) { + let e = dart.getThrown(e$); + let s = dart.stackTrace(e$); + if (core.Object.is(e)) { + listenerValueOrError = new async.AsyncError.new(e, s); + listenerHasError = true; + } else + throw e$; + } + } + dart.fn(handleValueCallback, T$.VoidTovoid()); + function handleError() { + try { + let asyncError = source[_error]; + if (dart.test(listener.matchesErrorTest(asyncError)) && dart.test(listener.hasErrorCallback)) { + listenerValueOrError = listener.handleError(asyncError); + listenerHasError = false; + } + } catch (e$) { + let e = dart.getThrown(e$); + let s = dart.stackTrace(e$); + if (core.Object.is(e)) { + if (core.identical(source[_error].error, e)) { + listenerValueOrError = source[_error]; + } else { + listenerValueOrError = new async.AsyncError.new(e, s); + } + listenerHasError = true; + } else + throw e$; + } + } + dart.fn(handleError, T$.VoidTovoid()); + if (dart.test(listener.handlesComplete)) { + handleWhenCompleteCallback(); + } else if (!dart.test(hasError)) { + if (dart.test(listener.handlesValue)) { + handleValueCallback(); + } + } else { + if (dart.test(listener.handlesError)) { + handleError(); + } + } + if (oldZone != null) async.Zone._leave(oldZone); + if (async.Future.is(listenerValueOrError) && dart.test(listener.shouldChain(async.Future.as(listenerValueOrError)))) { + let chainSource = async.Future.as(listenerValueOrError); + let result = listener.result; + if (async._Future.is(chainSource)) { + if (dart.test(chainSource[_isComplete])) { + listeners = result[_removeListeners](); + result[_cloneResult](chainSource); + source = chainSource; + continue; + } else { + async._Future._chainCoreFuture(chainSource, result); + } + } else { + result[_chainForeignFuture](chainSource); + } + return; + } + } + let result = listener.result; + listeners = result[_removeListeners](); + if (!dart.test(listenerHasError)) { + result[_setValue](listenerValueOrError); + } else { + let asyncError = async.AsyncError.as(listenerValueOrError); + result[_setErrorObject](asyncError); + } + source = result; + } + } + timeout(timeLimit, opts) { + if (timeLimit == null) dart.nullFailed(I[68], 786, 30, "timeLimit"); + let onTimeout = opts && 'onTimeout' in opts ? opts.onTimeout : null; + VoidToNFutureOrOfT().as(onTimeout); + if (dart.test(this[_isComplete])) return new (_FutureOfT()).immediate(this); + let _future = new (_FutureOfT()).new(); + let timer = null; + if (onTimeout == null) { + timer = async.Timer.new(timeLimit, dart.fn(() => { + _future[_completeError](new async.TimeoutException.new("Future not completed", timeLimit), core.StackTrace.empty); + }, T$.VoidTovoid())); + } else { + let zone = async.Zone.current; + let onTimeoutHandler = zone.registerCallback(FutureOrOfT(), onTimeout); + timer = async.Timer.new(timeLimit, dart.fn(() => { + try { + _future[_complete](zone.run(FutureOrOfT(), onTimeoutHandler)); + } catch (e$) { + let e = dart.getThrown(e$); + let s = dart.stackTrace(e$); + if (core.Object.is(e)) { + _future[_completeError](e, s); + } else + throw e$; + } + }, T$.VoidTovoid())); + } + this.then(core.Null, dart.fn(v => { + if (dart.test(timer.isActive)) { + timer.cancel(); + _future[_completeWithValue](v); + } + }, TToNull()), {onError: dart.fn((e, s) => { + if (e == null) dart.nullFailed(I[68], 816, 25, "e"); + if (s == null) dart.nullFailed(I[68], 816, 39, "s"); + if (dart.test(timer.isActive)) { + timer.cancel(); + _future[_completeError](e, s); + } + }, T$.ObjectAndStackTraceToNull())}); + return _future; + } + } + (_Future.new = function() { + this[_state] = 0; + this[_resultOrListeners] = null; + this[_zone$] = async.Zone._current; + ; + }).prototype = _Future.prototype; + (_Future.immediate = function(result) { + this[_state] = 0; + this[_resultOrListeners] = null; + this[_zone$] = async.Zone._current; + this[_asyncComplete](result); + }).prototype = _Future.prototype; + (_Future.zoneValue = function(value, _zone) { + if (_zone == null) dart.nullFailed(I[68], 244, 35, "_zone"); + this[_state] = 0; + this[_resultOrListeners] = null; + this[_zone$] = _zone; + this[_setValue](value); + }).prototype = _Future.prototype; + (_Future.immediateError = function(error, stackTrace) { + if (stackTrace == null) dart.nullFailed(I[68], 248, 48, "stackTrace"); + this[_state] = 0; + this[_resultOrListeners] = null; + this[_zone$] = async.Zone._current; + this[_asyncCompleteError](core.Object.as(error), stackTrace); + }).prototype = _Future.prototype; + (_Future.value = function(value) { + _Future.zoneValue.call(this, value, async.Zone._current); + }).prototype = _Future.prototype; + _Future.prototype[dart.isFuture] = true; + dart.addTypeTests(_Future); + _Future.prototype[_is__Future_default] = true; + dart.addTypeCaches(_Future); + _Future[dart.implements] = () => [async.Future$(T)]; + dart.setMethodSignature(_Future, () => ({ + __proto__: dart.getMethods(_Future.__proto__), + [_setChained]: dart.fnType(dart.void, [async._Future]), + then: dart.gFnType(R => [async.Future$(R), [dart.fnType(async.FutureOr$(R), [T])], {onError: dart.nullable(core.Function)}, {}], R => [dart.nullable(core.Object)]), + [_thenAwait]: dart.gFnType(E => [async.Future$(E), [dart.fnType(async.FutureOr$(E), [T]), core.Function]], E => [dart.nullable(core.Object)]), + catchError: dart.fnType(async.Future$(T), [core.Function], {test: dart.nullable(dart.fnType(core.bool, [core.Object]))}, {}), + whenComplete: dart.fnType(async.Future$(T), [dart.fnType(dart.dynamic, [])]), + asStream: dart.fnType(async.Stream$(T), []), + [_setPendingComplete]: dart.fnType(dart.void, []), + [_clearPendingComplete]: dart.fnType(dart.void, []), + [_setValue]: dart.fnType(dart.void, [dart.nullable(core.Object)]), + [_setErrorObject]: dart.fnType(dart.void, [async.AsyncError]), + [_setError]: dart.fnType(dart.void, [core.Object, core.StackTrace]), + [_cloneResult]: dart.fnType(dart.void, [async._Future]), + [_addListener]: dart.fnType(dart.void, [async._FutureListener]), + [_prependListeners]: dart.fnType(dart.void, [dart.nullable(async._FutureListener)]), + [_removeListeners]: dart.fnType(dart.nullable(async._FutureListener), []), + [_reverseListeners]: dart.fnType(dart.nullable(async._FutureListener), [dart.nullable(async._FutureListener)]), + [_chainForeignFuture]: dart.fnType(dart.void, [async.Future]), + [_complete]: dart.fnType(dart.void, [dart.nullable(core.Object)]), + [_completeWithValue]: dart.fnType(dart.void, [dart.nullable(core.Object)]), + [_completeError]: dart.fnType(dart.void, [core.Object, core.StackTrace]), + [_asyncComplete]: dart.fnType(dart.void, [dart.nullable(core.Object)]), + [_asyncCompleteWithValue]: dart.fnType(dart.void, [dart.nullable(core.Object)]), + [_chainFuture]: dart.fnType(dart.void, [async.Future$(T)]), + [_asyncCompleteError]: dart.fnType(dart.void, [core.Object, core.StackTrace]), + timeout: dart.fnType(async.Future$(T), [core.Duration], {onTimeout: dart.nullable(core.Object)}, {}) + })); + dart.setGetterSignature(_Future, () => ({ + __proto__: dart.getGetters(_Future.__proto__), + [_mayComplete]: core.bool, + [_isPendingComplete]: core.bool, + [_mayAddListener]: core.bool, + [_isChained]: core.bool, + [_isComplete]: core.bool, + [_hasError]: core.bool, + [_error]: async.AsyncError, + [_chainSource]: async._Future + })); + dart.setLibraryUri(_Future, I[29]); + dart.setFieldSignature(_Future, () => ({ + __proto__: dart.getFields(_Future.__proto__), + [_state]: dart.fieldType(core.int), + [_zone$]: dart.finalFieldType(async._Zone), + [_resultOrListeners]: dart.fieldType(dart.dynamic) + })); + return _Future; + }); + async._Future = async._Future$(); + dart.defineLazy(async._Future, { + /*async._Future._stateIncomplete*/get _stateIncomplete() { + return 0; + }, + /*async._Future._statePendingComplete*/get _statePendingComplete() { + return 1; + }, + /*async._Future._stateChained*/get _stateChained() { + return 2; + }, + /*async._Future._stateValue*/get _stateValue() { + return 4; + }, + /*async._Future._stateError*/get _stateError() { + return 8; + } + }, false); + dart.addTypeTests(async._Future, _is__Future_default); + async._AsyncCallbackEntry = class _AsyncCallbackEntry extends core.Object {}; + (async._AsyncCallbackEntry.new = function(callback) { + if (callback == null) dart.nullFailed(I[69], 12, 28, "callback"); + this.next = null; + this.callback = callback; + ; + }).prototype = async._AsyncCallbackEntry.prototype; + dart.addTypeTests(async._AsyncCallbackEntry); + dart.addTypeCaches(async._AsyncCallbackEntry); + dart.setLibraryUri(async._AsyncCallbackEntry, I[29]); + dart.setFieldSignature(async._AsyncCallbackEntry, () => ({ + __proto__: dart.getFields(async._AsyncCallbackEntry.__proto__), + callback: dart.finalFieldType(dart.fnType(dart.void, [])), + next: dart.fieldType(dart.nullable(async._AsyncCallbackEntry)) + })); + async._AsyncRun = class _AsyncRun extends core.Object { + static _initializeScheduleImmediate() { + if (dart.global.scheduleImmediate != null) { + return C[42] || CT.C42; + } + return C[43] || CT.C43; + } + static _scheduleImmediateJSOverride(callback) { + if (callback == null) dart.nullFailed(I[61], 153, 60, "callback"); + dart.addAsyncCallback(); + dart.global.scheduleImmediate(() => { + dart.removeAsyncCallback(); + callback(); + }); + } + static _scheduleImmediateWithPromise(callback) { + if (callback == null) dart.nullFailed(I[61], 162, 61, "callback"); + dart.addAsyncCallback(); + dart.global.Promise.resolve(null).then(() => { + dart.removeAsyncCallback(); + callback(); + }); + } + static _scheduleImmediate(callback) { + if (callback == null) dart.nullFailed(I[61], 135, 50, "callback"); + async._AsyncRun._scheduleImmediateClosure(callback); + } + }; + (async._AsyncRun.new = function() { + ; + }).prototype = async._AsyncRun.prototype; + dart.addTypeTests(async._AsyncRun); + dart.addTypeCaches(async._AsyncRun); + dart.setLibraryUri(async._AsyncRun, I[29]); + dart.defineLazy(async._AsyncRun, { + /*async._AsyncRun._scheduleImmediateClosure*/get _scheduleImmediateClosure() { + return async._AsyncRun._initializeScheduleImmediate(); + } + }, false); + async.StreamSubscription$ = dart.generic(T => { + class StreamSubscription extends core.Object {} + (StreamSubscription.new = function() { + ; + }).prototype = StreamSubscription.prototype; + dart.addTypeTests(StreamSubscription); + StreamSubscription.prototype[dart.isStreamSubscription] = true; + dart.addTypeCaches(StreamSubscription); + dart.setLibraryUri(StreamSubscription, I[29]); + return StreamSubscription; + }); + async.StreamSubscription = async.StreamSubscription$(); + dart.addTypeTests(async.StreamSubscription, dart.isStreamSubscription); + const _is_EventSink_default = Symbol('_is_EventSink_default'); + async.EventSink$ = dart.generic(T => { + class EventSink extends core.Object {} + (EventSink.new = function() { + ; + }).prototype = EventSink.prototype; + dart.addTypeTests(EventSink); + EventSink.prototype[_is_EventSink_default] = true; + dart.addTypeCaches(EventSink); + EventSink[dart.implements] = () => [core.Sink$(T)]; + dart.setLibraryUri(EventSink, I[29]); + return EventSink; + }); + async.EventSink = async.EventSink$(); + dart.addTypeTests(async.EventSink, _is_EventSink_default); + var _stream = dart.privateName(async, "StreamView._stream"); + var _stream$ = dart.privateName(async, "_stream"); + const _is_StreamView_default = Symbol('_is_StreamView_default'); + async.StreamView$ = dart.generic(T => { + class StreamView extends async.Stream$(T) { + get [_stream$]() { + return this[_stream]; + } + set [_stream$](value) { + super[_stream$] = value; + } + get isBroadcast() { + return this[_stream$].isBroadcast; + } + asBroadcastStream(opts) { + let onListen = opts && 'onListen' in opts ? opts.onListen : null; + let onCancel = opts && 'onCancel' in opts ? opts.onCancel : null; + return this[_stream$].asBroadcastStream({onListen: onListen, onCancel: onCancel}); + } + listen(onData, opts) { + let onError = opts && 'onError' in opts ? opts.onError : null; + let onDone = opts && 'onDone' in opts ? opts.onDone : null; + let cancelOnError = opts && 'cancelOnError' in opts ? opts.cancelOnError : null; + return this[_stream$].listen(onData, {onError: onError, onDone: onDone, cancelOnError: cancelOnError}); + } + } + (StreamView.new = function(stream) { + if (stream == null) dart.nullFailed(I[28], 1734, 30, "stream"); + this[_stream] = stream; + StreamView.__proto__._internal.call(this); + ; + }).prototype = StreamView.prototype; + dart.addTypeTests(StreamView); + StreamView.prototype[_is_StreamView_default] = true; + dart.addTypeCaches(StreamView); + dart.setMethodSignature(StreamView, () => ({ + __proto__: dart.getMethods(StreamView.__proto__), + listen: dart.fnType(async.StreamSubscription$(T), [dart.nullable(dart.fnType(dart.void, [T]))], {cancelOnError: dart.nullable(core.bool), onDone: dart.nullable(dart.fnType(dart.void, [])), onError: dart.nullable(core.Function)}, {}) + })); + dart.setLibraryUri(StreamView, I[29]); + dart.setFieldSignature(StreamView, () => ({ + __proto__: dart.getFields(StreamView.__proto__), + [_stream$]: dart.finalFieldType(async.Stream$(T)) + })); + return StreamView; + }); + async.StreamView = async.StreamView$(); + dart.addTypeTests(async.StreamView, _is_StreamView_default); + const _is_StreamConsumer_default = Symbol('_is_StreamConsumer_default'); + async.StreamConsumer$ = dart.generic(S => { + class StreamConsumer extends core.Object {} + (StreamConsumer.new = function() { + ; + }).prototype = StreamConsumer.prototype; + dart.addTypeTests(StreamConsumer); + StreamConsumer.prototype[_is_StreamConsumer_default] = true; + dart.addTypeCaches(StreamConsumer); + dart.setLibraryUri(StreamConsumer, I[29]); + return StreamConsumer; + }); + async.StreamConsumer = async.StreamConsumer$(); + dart.addTypeTests(async.StreamConsumer, _is_StreamConsumer_default); + const _is_StreamSink_default = Symbol('_is_StreamSink_default'); + async.StreamSink$ = dart.generic(S => { + class StreamSink extends core.Object {} + (StreamSink.new = function() { + ; + }).prototype = StreamSink.prototype; + dart.addTypeTests(StreamSink); + StreamSink.prototype[_is_StreamSink_default] = true; + dart.addTypeCaches(StreamSink); + StreamSink[dart.implements] = () => [async.EventSink$(S), async.StreamConsumer$(S)]; + dart.setLibraryUri(StreamSink, I[29]); + return StreamSink; + }); + async.StreamSink = async.StreamSink$(); + dart.addTypeTests(async.StreamSink, _is_StreamSink_default); + const _is_StreamTransformer_default = Symbol('_is_StreamTransformer_default'); + async.StreamTransformer$ = dart.generic((S, T) => { + class StreamTransformer extends core.Object { + static castFrom(SS, ST, TS, TT, source) { + if (source == null) dart.nullFailed(I[28], 2009, 33, "source"); + return new (_internal.CastStreamTransformer$(SS, ST, TS, TT)).new(source); + } + } + (StreamTransformer[dart.mixinNew] = function() { + }).prototype = StreamTransformer.prototype; + dart.addTypeTests(StreamTransformer); + StreamTransformer.prototype[_is_StreamTransformer_default] = true; + dart.addTypeCaches(StreamTransformer); + dart.setLibraryUri(StreamTransformer, I[29]); + return StreamTransformer; + }); + async.StreamTransformer = async.StreamTransformer$(); + dart.addTypeTests(async.StreamTransformer, _is_StreamTransformer_default); + const _is_StreamIterator_default = Symbol('_is_StreamIterator_default'); + async.StreamIterator$ = dart.generic(T => { + class StreamIterator extends core.Object { + static new(stream) { + if (stream == null) dart.nullFailed(I[28], 2073, 36, "stream"); + return new (async._StreamIterator$(T)).new(stream); + } + } + (StreamIterator[dart.mixinNew] = function() { + }).prototype = StreamIterator.prototype; + dart.addTypeTests(StreamIterator); + StreamIterator.prototype[_is_StreamIterator_default] = true; + dart.addTypeCaches(StreamIterator); + dart.setLibraryUri(StreamIterator, I[29]); + return StreamIterator; + }); + async.StreamIterator = async.StreamIterator$(); + dart.addTypeTests(async.StreamIterator, _is_StreamIterator_default); + var _ensureSink = dart.privateName(async, "_ensureSink"); + const _is__ControllerEventSinkWrapper_default = Symbol('_is__ControllerEventSinkWrapper_default'); + async._ControllerEventSinkWrapper$ = dart.generic(T => { + class _ControllerEventSinkWrapper extends core.Object { + [_ensureSink]() { + let sink = this[_sink$]; + if (sink == null) dart.throw(new core.StateError.new("Sink not available")); + return sink; + } + add(data) { + T.as(data); + this[_ensureSink]().add(data); + } + addError(error, stackTrace = null) { + if (error == null) dart.nullFailed(I[28], 2140, 17, "error"); + this[_ensureSink]().addError(error, stackTrace); + } + close() { + this[_ensureSink]().close(); + } + } + (_ControllerEventSinkWrapper.new = function(_sink) { + this[_sink$] = _sink; + ; + }).prototype = _ControllerEventSinkWrapper.prototype; + dart.addTypeTests(_ControllerEventSinkWrapper); + _ControllerEventSinkWrapper.prototype[_is__ControllerEventSinkWrapper_default] = true; + dart.addTypeCaches(_ControllerEventSinkWrapper); + _ControllerEventSinkWrapper[dart.implements] = () => [async.EventSink$(T)]; + dart.setMethodSignature(_ControllerEventSinkWrapper, () => ({ + __proto__: dart.getMethods(_ControllerEventSinkWrapper.__proto__), + [_ensureSink]: dart.fnType(async.EventSink, []), + add: dart.fnType(dart.void, [dart.nullable(core.Object)]), + addError: dart.fnType(dart.void, [core.Object], [dart.nullable(core.StackTrace)]), + close: dart.fnType(dart.void, []) + })); + dart.setLibraryUri(_ControllerEventSinkWrapper, I[29]); + dart.setFieldSignature(_ControllerEventSinkWrapper, () => ({ + __proto__: dart.getFields(_ControllerEventSinkWrapper.__proto__), + [_sink$]: dart.fieldType(dart.nullable(async.EventSink)) + })); + return _ControllerEventSinkWrapper; + }); + async._ControllerEventSinkWrapper = async._ControllerEventSinkWrapper$(); + dart.addTypeTests(async._ControllerEventSinkWrapper, _is__ControllerEventSinkWrapper_default); + const _is_MultiStreamController_default = Symbol('_is_MultiStreamController_default'); + async.MultiStreamController$ = dart.generic(T => { + class MultiStreamController extends core.Object {} + (MultiStreamController.new = function() { + ; + }).prototype = MultiStreamController.prototype; + dart.addTypeTests(MultiStreamController); + MultiStreamController.prototype[_is_MultiStreamController_default] = true; + dart.addTypeCaches(MultiStreamController); + MultiStreamController[dart.implements] = () => [async.StreamController$(T)]; + dart.setLibraryUri(MultiStreamController, I[29]); + return MultiStreamController; + }); + async.MultiStreamController = async.MultiStreamController$(); + dart.addTypeTests(async.MultiStreamController, _is_MultiStreamController_default); + const _is_StreamController_default = Symbol('_is_StreamController_default'); + async.StreamController$ = dart.generic(T => { + class StreamController extends core.Object { + static new(opts) { + let onListen = opts && 'onListen' in opts ? opts.onListen : null; + let onPause = opts && 'onPause' in opts ? opts.onPause : null; + let onResume = opts && 'onResume' in opts ? opts.onResume : null; + let onCancel = opts && 'onCancel' in opts ? opts.onCancel : null; + let sync = opts && 'sync' in opts ? opts.sync : false; + if (sync == null) dart.nullFailed(I[64], 73, 12, "sync"); + return dart.test(sync) ? new (async._SyncStreamController$(T)).new(onListen, onPause, onResume, onCancel) : new (async._AsyncStreamController$(T)).new(onListen, onPause, onResume, onCancel); + } + static broadcast(opts) { + let onListen = opts && 'onListen' in opts ? opts.onListen : null; + let onCancel = opts && 'onCancel' in opts ? opts.onCancel : null; + let sync = opts && 'sync' in opts ? opts.sync : false; + if (sync == null) dart.nullFailed(I[64], 129, 49, "sync"); + return dart.test(sync) ? new (async._SyncBroadcastStreamController$(T)).new(onListen, onCancel) : new (async._AsyncBroadcastStreamController$(T)).new(onListen, onCancel); + } + } + (StreamController[dart.mixinNew] = function() { + }).prototype = StreamController.prototype; + dart.addTypeTests(StreamController); + StreamController.prototype[_is_StreamController_default] = true; + dart.addTypeCaches(StreamController); + StreamController[dart.implements] = () => [async.StreamSink$(T)]; + dart.setLibraryUri(StreamController, I[29]); + return StreamController; + }); + async.StreamController = async.StreamController$(); + dart.addTypeTests(async.StreamController, _is_StreamController_default); + const _is_SynchronousStreamController_default = Symbol('_is_SynchronousStreamController_default'); + async.SynchronousStreamController$ = dart.generic(T => { + class SynchronousStreamController extends core.Object {} + (SynchronousStreamController.new = function() { + ; + }).prototype = SynchronousStreamController.prototype; + dart.addTypeTests(SynchronousStreamController); + SynchronousStreamController.prototype[_is_SynchronousStreamController_default] = true; + dart.addTypeCaches(SynchronousStreamController); + SynchronousStreamController[dart.implements] = () => [async.StreamController$(T)]; + dart.setLibraryUri(SynchronousStreamController, I[29]); + return SynchronousStreamController; + }); + async.SynchronousStreamController = async.SynchronousStreamController$(); + dart.addTypeTests(async.SynchronousStreamController, _is_SynchronousStreamController_default); + const _is__StreamControllerLifecycle_default = Symbol('_is__StreamControllerLifecycle_default'); + async._StreamControllerLifecycle$ = dart.generic(T => { + var StreamSubscriptionOfT = () => (StreamSubscriptionOfT = dart.constFn(async.StreamSubscription$(T)))(); + class _StreamControllerLifecycle extends core.Object { + [_recordPause](subscription) { + StreamSubscriptionOfT().as(subscription); + if (subscription == null) dart.nullFailed(I[64], 352, 43, "subscription"); + } + [_recordResume](subscription) { + StreamSubscriptionOfT().as(subscription); + if (subscription == null) dart.nullFailed(I[64], 353, 44, "subscription"); + } + [_recordCancel](subscription) { + StreamSubscriptionOfT().as(subscription); + if (subscription == null) dart.nullFailed(I[64], 354, 53, "subscription"); + return null; + } + } + (_StreamControllerLifecycle.new = function() { + ; + }).prototype = _StreamControllerLifecycle.prototype; + dart.addTypeTests(_StreamControllerLifecycle); + _StreamControllerLifecycle.prototype[_is__StreamControllerLifecycle_default] = true; + dart.addTypeCaches(_StreamControllerLifecycle); + dart.setMethodSignature(_StreamControllerLifecycle, () => ({ + __proto__: dart.getMethods(_StreamControllerLifecycle.__proto__), + [_recordPause]: dart.fnType(dart.void, [dart.nullable(core.Object)]), + [_recordResume]: dart.fnType(dart.void, [dart.nullable(core.Object)]), + [_recordCancel]: dart.fnType(dart.nullable(async.Future$(dart.void)), [dart.nullable(core.Object)]) + })); + dart.setLibraryUri(_StreamControllerLifecycle, I[29]); + return _StreamControllerLifecycle; + }); + async._StreamControllerLifecycle = async._StreamControllerLifecycle$(); + dart.addTypeTests(async._StreamControllerLifecycle, _is__StreamControllerLifecycle_default); + const _is__StreamControllerBase_default = Symbol('_is__StreamControllerBase_default'); + async._StreamControllerBase$ = dart.generic(T => { + class _StreamControllerBase extends core.Object {} + (_StreamControllerBase.new = function() { + ; + }).prototype = _StreamControllerBase.prototype; + dart.addTypeTests(_StreamControllerBase); + _StreamControllerBase.prototype[_is__StreamControllerBase_default] = true; + dart.addTypeCaches(_StreamControllerBase); + _StreamControllerBase[dart.implements] = () => [async.StreamController$(T), async._StreamControllerLifecycle$(T), async._EventSink$(T), async._EventDispatch$(T)]; + dart.setLibraryUri(_StreamControllerBase, I[29]); + return _StreamControllerBase; + }); + async._StreamControllerBase = async._StreamControllerBase$(); + dart.addTypeTests(async._StreamControllerBase, _is__StreamControllerBase_default); + var _varData = dart.privateName(async, "_varData"); + var _isInitialState = dart.privateName(async, "_isInitialState"); + var _subscription = dart.privateName(async, "_subscription"); + var _pendingEvents = dart.privateName(async, "_pendingEvents"); + var _ensurePendingEvents = dart.privateName(async, "_ensurePendingEvents"); + var _badEventState = dart.privateName(async, "_badEventState"); + const _is__StreamController_default = Symbol('_is__StreamController_default'); + async._StreamController$ = dart.generic(T => { + var _ControllerStreamOfT = () => (_ControllerStreamOfT = dart.constFn(async._ControllerStream$(T)))(); + var _StreamSinkWrapperOfT = () => (_StreamSinkWrapperOfT = dart.constFn(async._StreamSinkWrapper$(T)))(); + var _PendingEventsOfT = () => (_PendingEventsOfT = dart.constFn(async._PendingEvents$(T)))(); + var _PendingEventsNOfT = () => (_PendingEventsNOfT = dart.constFn(dart.nullable(_PendingEventsOfT())))(); + var _StreamControllerAddStreamStateOfT = () => (_StreamControllerAddStreamStateOfT = dart.constFn(async._StreamControllerAddStreamState$(T)))(); + var _StreamImplEventsOfT = () => (_StreamImplEventsOfT = dart.constFn(async._StreamImplEvents$(T)))(); + var _ControllerSubscriptionOfT = () => (_ControllerSubscriptionOfT = dart.constFn(async._ControllerSubscription$(T)))(); + var StreamOfT = () => (StreamOfT = dart.constFn(async.Stream$(T)))(); + var _DelayedDataOfT = () => (_DelayedDataOfT = dart.constFn(async._DelayedData$(T)))(); + class _StreamController extends core.Object { + get stream() { + return new (_ControllerStreamOfT()).new(this); + } + get sink() { + return new (_StreamSinkWrapperOfT()).new(this); + } + get [_isCanceled]() { + return (dart.notNull(this[_state]) & 2) !== 0; + } + get hasListener() { + return (dart.notNull(this[_state]) & 1) !== 0; + } + get [_isInitialState]() { + return (dart.notNull(this[_state]) & 3) >>> 0 === 0; + } + get isClosed() { + return (dart.notNull(this[_state]) & 4) !== 0; + } + get isPaused() { + return dart.test(this.hasListener) ? this[_subscription][_isInputPaused] : !dart.test(this[_isCanceled]); + } + get [_isAddingStream]() { + return (dart.notNull(this[_state]) & 8) !== 0; + } + get [_mayAddEvent]() { + return dart.notNull(this[_state]) < 4; + } + get [_pendingEvents]() { + if (!dart.test(this[_isInitialState])) dart.assertFailed(null, I[64], 479, 12, "_isInitialState"); + if (!dart.test(this[_isAddingStream])) { + return _PendingEventsNOfT().as(this[_varData]); + } + let state = _StreamControllerAddStreamStateOfT().as(this[_varData]); + return _PendingEventsNOfT().as(state.varData); + } + [_ensurePendingEvents]() { + if (!dart.test(this[_isInitialState])) dart.assertFailed(null, I[64], 489, 12, "_isInitialState"); + if (!dart.test(this[_isAddingStream])) { + let events = this[_varData]; + if (events == null) { + this[_varData] = events = new (_StreamImplEventsOfT()).new(); + } + return _StreamImplEventsOfT().as(events); + } + let state = _StreamControllerAddStreamStateOfT().as(this[_varData]); + let events = state.varData; + if (events == null) { + state.varData = events = new (_StreamImplEventsOfT()).new(); + } + return _StreamImplEventsOfT().as(events); + } + get [_subscription]() { + if (!dart.test(this.hasListener)) dart.assertFailed(null, I[64], 509, 12, "hasListener"); + let varData = this[_varData]; + if (dart.test(this[_isAddingStream])) { + let streamState = T$._StreamControllerAddStreamStateOfObjectN().as(varData); + varData = streamState.varData; + } + return _ControllerSubscriptionOfT().as(varData); + } + [_badEventState]() { + if (dart.test(this.isClosed)) { + return new core.StateError.new("Cannot add event after closing"); + } + if (!dart.test(this[_isAddingStream])) dart.assertFailed(null, I[64], 525, 12, "_isAddingStream"); + return new core.StateError.new("Cannot add event while adding a stream"); + } + addStream(source, opts) { + let t114; + StreamOfT().as(source); + if (source == null) dart.nullFailed(I[64], 530, 30, "source"); + let cancelOnError = opts && 'cancelOnError' in opts ? opts.cancelOnError : null; + if (!dart.test(this[_mayAddEvent])) dart.throw(this[_badEventState]()); + if (dart.test(this[_isCanceled])) return new async._Future.immediate(null); + let addState = new (_StreamControllerAddStreamStateOfT()).new(this, this[_varData], source, (t114 = cancelOnError, t114 == null ? false : t114)); + this[_varData] = addState; + this[_state] = (dart.notNull(this[_state]) | 8) >>> 0; + return addState.addStreamFuture; + } + get done() { + return this[_ensureDoneFuture](); + } + [_ensureDoneFuture]() { + let t114; + t114 = this[_doneFuture]; + return t114 == null ? this[_doneFuture] = dart.test(this[_isCanceled]) ? async.Future._nullFuture : new (T$._FutureOfvoid()).new() : t114; + } + add(value) { + T.as(value); + if (!dart.test(this[_mayAddEvent])) dart.throw(this[_badEventState]()); + this[_add](value); + } + addError(error, stackTrace = null) { + if (error == null) dart.nullFailed(I[64], 558, 24, "error"); + _internal.checkNotNullable(core.Object, error, "error"); + if (!dart.test(this[_mayAddEvent])) dart.throw(this[_badEventState]()); + let replacement = async.Zone.current.errorCallback(error, stackTrace); + if (replacement != null) { + error = replacement.error; + stackTrace = replacement.stackTrace; + } else { + stackTrace == null ? stackTrace = async.AsyncError.defaultStackTrace(error) : null; + } + if (stackTrace == null) dart.throw("unreachable"); + this[_addError](error, stackTrace); + } + close() { + if (dart.test(this.isClosed)) { + return this[_ensureDoneFuture](); + } + if (!dart.test(this[_mayAddEvent])) dart.throw(this[_badEventState]()); + this[_closeUnchecked](); + return this[_ensureDoneFuture](); + } + [_closeUnchecked]() { + this[_state] = (dart.notNull(this[_state]) | 4) >>> 0; + if (dart.test(this.hasListener)) { + this[_sendDone](); + } else if (dart.test(this[_isInitialState])) { + this[_ensurePendingEvents]().add(C[40] || CT.C40); + } + } + [_add](value) { + T.as(value); + if (dart.test(this.hasListener)) { + this[_sendData](value); + } else if (dart.test(this[_isInitialState])) { + this[_ensurePendingEvents]().add(new (_DelayedDataOfT()).new(value)); + } + } + [_addError](error, stackTrace) { + if (error == null) dart.nullFailed(I[64], 613, 25, "error"); + if (stackTrace == null) dart.nullFailed(I[64], 613, 43, "stackTrace"); + if (dart.test(this.hasListener)) { + this[_sendError](error, stackTrace); + } else if (dart.test(this[_isInitialState])) { + this[_ensurePendingEvents]().add(new async._DelayedError.new(error, stackTrace)); + } + } + [_close]() { + if (!dart.test(this[_isAddingStream])) dart.assertFailed(null, I[64], 623, 12, "_isAddingStream"); + let addState = _StreamControllerAddStreamStateOfT().as(this[_varData]); + this[_varData] = addState.varData; + this[_state] = (dart.notNull(this[_state]) & ~8 >>> 0) >>> 0; + addState.complete(); + } + [_subscribe](onData, onError, onDone, cancelOnError) { + if (cancelOnError == null) dart.nullFailed(I[64], 633, 28, "cancelOnError"); + if (!dart.test(this[_isInitialState])) { + dart.throw(new core.StateError.new("Stream has already been listened to.")); + } + let subscription = new (_ControllerSubscriptionOfT()).new(this, onData, onError, onDone, cancelOnError); + let pendingEvents = this[_pendingEvents]; + this[_state] = (dart.notNull(this[_state]) | 1) >>> 0; + if (dart.test(this[_isAddingStream])) { + let addState = _StreamControllerAddStreamStateOfT().as(this[_varData]); + addState.varData = subscription; + addState.resume(); + } else { + this[_varData] = subscription; + } + subscription[_setPendingEvents](pendingEvents); + subscription[_guardCallback](dart.fn(() => { + async._runGuarded(this.onListen); + }, T$.VoidTovoid())); + return subscription; + } + [_recordCancel](subscription) { + let t115; + if (subscription == null) dart.nullFailed(I[64], 657, 53, "subscription"); + let result = null; + if (dart.test(this[_isAddingStream])) { + let addState = _StreamControllerAddStreamStateOfT().as(this[_varData]); + result = addState.cancel(); + } + this[_varData] = null; + this[_state] = (dart.notNull(this[_state]) & ~(1 | 8) >>> 0 | 2) >>> 0; + let onCancel = this.onCancel; + if (onCancel != null) { + if (result == null) { + try { + let cancelResult = onCancel(); + if (T$.FutureOfvoid().is(cancelResult)) { + result = cancelResult; + } + } catch (e$) { + let e = dart.getThrown(e$); + let s = dart.stackTrace(e$); + if (core.Object.is(e)) { + result = (t115 = new (T$._FutureOfvoid()).new(), (() => { + t115[_asyncCompleteError](e, s); + return t115; + })()); + } else + throw e$; + } + } else { + result = result.whenComplete(onCancel); + } + } + const complete = () => { + let doneFuture = this[_doneFuture]; + if (doneFuture != null && dart.test(doneFuture[_mayComplete])) { + doneFuture[_asyncComplete](null); + } + }; + dart.fn(complete, T$.VoidTovoid()); + if (result != null) { + result = result.whenComplete(complete); + } else { + complete(); + } + return result; + } + [_recordPause](subscription) { + if (subscription == null) dart.nullFailed(I[64], 713, 43, "subscription"); + if (dart.test(this[_isAddingStream])) { + let addState = _StreamControllerAddStreamStateOfT().as(this[_varData]); + addState.pause(); + } + async._runGuarded(this.onPause); + } + [_recordResume](subscription) { + if (subscription == null) dart.nullFailed(I[64], 721, 44, "subscription"); + if (dart.test(this[_isAddingStream])) { + let addState = _StreamControllerAddStreamStateOfT().as(this[_varData]); + addState.resume(); + } + async._runGuarded(this.onResume); + } + } + (_StreamController.new = function(onListen, onPause, onResume, onCancel) { + this[_varData] = null; + this[_state] = 0; + this[_doneFuture] = null; + this.onListen = onListen; + this.onPause = onPause; + this.onResume = onResume; + this.onCancel = onCancel; + ; + }).prototype = _StreamController.prototype; + dart.addTypeTests(_StreamController); + _StreamController.prototype[_is__StreamController_default] = true; + dart.addTypeCaches(_StreamController); + _StreamController[dart.implements] = () => [async._StreamControllerBase$(T)]; + dart.setMethodSignature(_StreamController, () => ({ + __proto__: dart.getMethods(_StreamController.__proto__), + [_ensurePendingEvents]: dart.fnType(async._StreamImplEvents$(T), []), + [_badEventState]: dart.fnType(core.Error, []), + addStream: dart.fnType(async.Future, [dart.nullable(core.Object)], {cancelOnError: dart.nullable(core.bool)}, {}), + [_ensureDoneFuture]: dart.fnType(async.Future$(dart.void), []), + add: dart.fnType(dart.void, [dart.nullable(core.Object)]), + addError: dart.fnType(dart.void, [core.Object], [dart.nullable(core.StackTrace)]), + close: dart.fnType(async.Future, []), + [_closeUnchecked]: dart.fnType(dart.void, []), + [_add]: dart.fnType(dart.void, [dart.nullable(core.Object)]), + [_addError]: dart.fnType(dart.void, [core.Object, core.StackTrace]), + [_close]: dart.fnType(dart.void, []), + [_subscribe]: dart.fnType(async.StreamSubscription$(T), [dart.nullable(dart.fnType(dart.void, [T])), dart.nullable(core.Function), dart.nullable(dart.fnType(dart.void, [])), core.bool]), + [_recordCancel]: dart.fnType(dart.nullable(async.Future$(dart.void)), [async.StreamSubscription$(T)]), + [_recordPause]: dart.fnType(dart.void, [async.StreamSubscription$(T)]), + [_recordResume]: dart.fnType(dart.void, [async.StreamSubscription$(T)]) + })); + dart.setGetterSignature(_StreamController, () => ({ + __proto__: dart.getGetters(_StreamController.__proto__), + stream: async.Stream$(T), + sink: async.StreamSink$(T), + [_isCanceled]: core.bool, + hasListener: core.bool, + [_isInitialState]: core.bool, + isClosed: core.bool, + isPaused: core.bool, + [_isAddingStream]: core.bool, + [_mayAddEvent]: core.bool, + [_pendingEvents]: dart.nullable(async._PendingEvents$(T)), + [_subscription]: async._ControllerSubscription$(T), + done: async.Future$(dart.void) + })); + dart.setLibraryUri(_StreamController, I[29]); + dart.setFieldSignature(_StreamController, () => ({ + __proto__: dart.getFields(_StreamController.__proto__), + [_varData]: dart.fieldType(dart.nullable(core.Object)), + [_state]: dart.fieldType(core.int), + [_doneFuture]: dart.fieldType(dart.nullable(async._Future$(dart.void))), + onListen: dart.fieldType(dart.nullable(dart.fnType(dart.void, []))), + onPause: dart.fieldType(dart.nullable(dart.fnType(dart.void, []))), + onResume: dart.fieldType(dart.nullable(dart.fnType(dart.void, []))), + onCancel: dart.fieldType(dart.nullable(dart.fnType(dart.void, []))) + })); + return _StreamController; + }); + async._StreamController = async._StreamController$(); + dart.defineLazy(async._StreamController, { + /*async._StreamController._STATE_INITIAL*/get _STATE_INITIAL() { + return 0; + }, + /*async._StreamController._STATE_SUBSCRIBED*/get _STATE_SUBSCRIBED() { + return 1; + }, + /*async._StreamController._STATE_CANCELED*/get _STATE_CANCELED() { + return 2; + }, + /*async._StreamController._STATE_SUBSCRIPTION_MASK*/get _STATE_SUBSCRIPTION_MASK() { + return 3; + }, + /*async._StreamController._STATE_CLOSED*/get _STATE_CLOSED() { + return 4; + }, + /*async._StreamController._STATE_ADDSTREAM*/get _STATE_ADDSTREAM() { + return 8; + } + }, false); + dart.addTypeTests(async._StreamController, _is__StreamController_default); + const _is__SyncStreamControllerDispatch_default = Symbol('_is__SyncStreamControllerDispatch_default'); + async._SyncStreamControllerDispatch$ = dart.generic(T => { + class _SyncStreamControllerDispatch extends core.Object { + [_sendData](data) { + this[_subscription][_add](data); + } + [_sendError](error, stackTrace) { + if (error == null) dart.nullFailed(I[64], 736, 26, "error"); + if (stackTrace == null) dart.nullFailed(I[64], 736, 44, "stackTrace"); + this[_subscription][_addError](error, stackTrace); + } + [_sendDone]() { + this[_subscription][_close](); + } + } + (_SyncStreamControllerDispatch.new = function() { + ; + }).prototype = _SyncStreamControllerDispatch.prototype; + dart.addTypeTests(_SyncStreamControllerDispatch); + _SyncStreamControllerDispatch.prototype[_is__SyncStreamControllerDispatch_default] = true; + dart.addTypeCaches(_SyncStreamControllerDispatch); + _SyncStreamControllerDispatch[dart.implements] = () => [async._StreamController$(T), async.SynchronousStreamController$(T)]; + dart.setMethodSignature(_SyncStreamControllerDispatch, () => ({ + __proto__: dart.getMethods(_SyncStreamControllerDispatch.__proto__), + [_sendData]: dart.fnType(dart.void, [T]), + [_sendError]: dart.fnType(dart.void, [core.Object, core.StackTrace]), + [_sendDone]: dart.fnType(dart.void, []) + })); + dart.setLibraryUri(_SyncStreamControllerDispatch, I[29]); + return _SyncStreamControllerDispatch; + }); + async._SyncStreamControllerDispatch = async._SyncStreamControllerDispatch$(); + dart.addTypeTests(async._SyncStreamControllerDispatch, _is__SyncStreamControllerDispatch_default); + const _is__AsyncStreamControllerDispatch_default = Symbol('_is__AsyncStreamControllerDispatch_default'); + async._AsyncStreamControllerDispatch$ = dart.generic(T => { + var _DelayedDataOfT = () => (_DelayedDataOfT = dart.constFn(async._DelayedData$(T)))(); + class _AsyncStreamControllerDispatch extends core.Object { + [_sendData](data) { + this[_subscription][_addPending](new (_DelayedDataOfT()).new(data)); + } + [_sendError](error, stackTrace) { + if (error == null) dart.nullFailed(I[64], 751, 26, "error"); + if (stackTrace == null) dart.nullFailed(I[64], 751, 44, "stackTrace"); + this[_subscription][_addPending](new async._DelayedError.new(error, stackTrace)); + } + [_sendDone]() { + this[_subscription][_addPending](C[40] || CT.C40); + } + } + (_AsyncStreamControllerDispatch.new = function() { + ; + }).prototype = _AsyncStreamControllerDispatch.prototype; + dart.addTypeTests(_AsyncStreamControllerDispatch); + _AsyncStreamControllerDispatch.prototype[_is__AsyncStreamControllerDispatch_default] = true; + dart.addTypeCaches(_AsyncStreamControllerDispatch); + _AsyncStreamControllerDispatch[dart.implements] = () => [async._StreamController$(T)]; + dart.setMethodSignature(_AsyncStreamControllerDispatch, () => ({ + __proto__: dart.getMethods(_AsyncStreamControllerDispatch.__proto__), + [_sendData]: dart.fnType(dart.void, [T]), + [_sendError]: dart.fnType(dart.void, [core.Object, core.StackTrace]), + [_sendDone]: dart.fnType(dart.void, []) + })); + dart.setLibraryUri(_AsyncStreamControllerDispatch, I[29]); + return _AsyncStreamControllerDispatch; + }); + async._AsyncStreamControllerDispatch = async._AsyncStreamControllerDispatch$(); + dart.addTypeTests(async._AsyncStreamControllerDispatch, _is__AsyncStreamControllerDispatch_default); + const _is__AsyncStreamController_default = Symbol('_is__AsyncStreamController_default'); + async._AsyncStreamController$ = dart.generic(T => { + const _StreamController__AsyncStreamControllerDispatch$36 = class _StreamController__AsyncStreamControllerDispatch extends async._StreamController$(T) {}; + (_StreamController__AsyncStreamControllerDispatch$36.new = function(onListen, onPause, onResume, onCancel) { + _StreamController__AsyncStreamControllerDispatch$36.__proto__.new.call(this, onListen, onPause, onResume, onCancel); + }).prototype = _StreamController__AsyncStreamControllerDispatch$36.prototype; + dart.applyMixin(_StreamController__AsyncStreamControllerDispatch$36, async._AsyncStreamControllerDispatch$(T)); + class _AsyncStreamController extends _StreamController__AsyncStreamControllerDispatch$36 { + [_sendData](data) { + return super[_sendData](data); + } + [_sendError](error, stackTrace) { + if (error == null) dart.nullFailed(I[64], 764, 7, "error"); + if (stackTrace == null) dart.nullFailed(I[64], 764, 7, "stackTrace"); + return super[_sendError](error, stackTrace); + } + [_sendDone]() { + return super[_sendDone](); + } + } + (_AsyncStreamController.new = function(onListen, onPause, onResume, onCancel) { + _AsyncStreamController.__proto__.new.call(this, onListen, onPause, onResume, onCancel); + ; + }).prototype = _AsyncStreamController.prototype; + dart.addTypeTests(_AsyncStreamController); + _AsyncStreamController.prototype[_is__AsyncStreamController_default] = true; + dart.addTypeCaches(_AsyncStreamController); + dart.setMethodSignature(_AsyncStreamController, () => ({ + __proto__: dart.getMethods(_AsyncStreamController.__proto__), + [_sendData]: dart.fnType(dart.void, [T]), + [_sendError]: dart.fnType(dart.void, [core.Object, core.StackTrace]), + [_sendDone]: dart.fnType(dart.void, []) + })); + dart.setLibraryUri(_AsyncStreamController, I[29]); + return _AsyncStreamController; + }); + async._AsyncStreamController = async._AsyncStreamController$(); + dart.addTypeTests(async._AsyncStreamController, _is__AsyncStreamController_default); + const _is__SyncStreamController_default = Symbol('_is__SyncStreamController_default'); + async._SyncStreamController$ = dart.generic(T => { + const _StreamController__SyncStreamControllerDispatch$36 = class _StreamController__SyncStreamControllerDispatch extends async._StreamController$(T) {}; + (_StreamController__SyncStreamControllerDispatch$36.new = function(onListen, onPause, onResume, onCancel) { + _StreamController__SyncStreamControllerDispatch$36.__proto__.new.call(this, onListen, onPause, onResume, onCancel); + }).prototype = _StreamController__SyncStreamControllerDispatch$36.prototype; + dart.applyMixin(_StreamController__SyncStreamControllerDispatch$36, async._SyncStreamControllerDispatch$(T)); + class _SyncStreamController extends _StreamController__SyncStreamControllerDispatch$36 { + [_sendData](data) { + return super[_sendData](data); + } + [_sendError](error, stackTrace) { + if (error == null) dart.nullFailed(I[64], 767, 7, "error"); + if (stackTrace == null) dart.nullFailed(I[64], 767, 7, "stackTrace"); + return super[_sendError](error, stackTrace); + } + [_sendDone]() { + return super[_sendDone](); + } + } + (_SyncStreamController.new = function(onListen, onPause, onResume, onCancel) { + _SyncStreamController.__proto__.new.call(this, onListen, onPause, onResume, onCancel); + ; + }).prototype = _SyncStreamController.prototype; + dart.addTypeTests(_SyncStreamController); + _SyncStreamController.prototype[_is__SyncStreamController_default] = true; + dart.addTypeCaches(_SyncStreamController); + dart.setMethodSignature(_SyncStreamController, () => ({ + __proto__: dart.getMethods(_SyncStreamController.__proto__), + [_sendData]: dart.fnType(dart.void, [T]), + [_sendError]: dart.fnType(dart.void, [core.Object, core.StackTrace]), + [_sendDone]: dart.fnType(dart.void, []) + })); + dart.setLibraryUri(_SyncStreamController, I[29]); + return _SyncStreamController; + }); + async._SyncStreamController = async._SyncStreamController$(); + dart.addTypeTests(async._SyncStreamController, _is__SyncStreamController_default); + var _target$ = dart.privateName(async, "_target"); + const _is__StreamSinkWrapper_default = Symbol('_is__StreamSinkWrapper_default'); + async._StreamSinkWrapper$ = dart.generic(T => { + var StreamOfT = () => (StreamOfT = dart.constFn(async.Stream$(T)))(); + class _StreamSinkWrapper extends core.Object { + add(data) { + T.as(data); + this[_target$].add(data); + } + addError(error, stackTrace = null) { + if (error == null) dart.nullFailed(I[64], 829, 24, "error"); + this[_target$].addError(error, stackTrace); + } + close() { + return this[_target$].close(); + } + addStream(source) { + StreamOfT().as(source); + if (source == null) dart.nullFailed(I[64], 835, 30, "source"); + return this[_target$].addStream(source); + } + get done() { + return this[_target$].done; + } + } + (_StreamSinkWrapper.new = function(_target) { + if (_target == null) dart.nullFailed(I[64], 824, 27, "_target"); + this[_target$] = _target; + ; + }).prototype = _StreamSinkWrapper.prototype; + dart.addTypeTests(_StreamSinkWrapper); + _StreamSinkWrapper.prototype[_is__StreamSinkWrapper_default] = true; + dart.addTypeCaches(_StreamSinkWrapper); + _StreamSinkWrapper[dart.implements] = () => [async.StreamSink$(T)]; + dart.setMethodSignature(_StreamSinkWrapper, () => ({ + __proto__: dart.getMethods(_StreamSinkWrapper.__proto__), + add: dart.fnType(dart.void, [dart.nullable(core.Object)]), + addError: dart.fnType(dart.void, [core.Object], [dart.nullable(core.StackTrace)]), + close: dart.fnType(async.Future, []), + addStream: dart.fnType(async.Future, [dart.nullable(core.Object)]) + })); + dart.setGetterSignature(_StreamSinkWrapper, () => ({ + __proto__: dart.getGetters(_StreamSinkWrapper.__proto__), + done: async.Future + })); + dart.setLibraryUri(_StreamSinkWrapper, I[29]); + dart.setFieldSignature(_StreamSinkWrapper, () => ({ + __proto__: dart.getFields(_StreamSinkWrapper.__proto__), + [_target$]: dart.finalFieldType(async.StreamController) + })); + return _StreamSinkWrapper; + }); + async._StreamSinkWrapper = async._StreamSinkWrapper$(); + dart.addTypeTests(async._StreamSinkWrapper, _is__StreamSinkWrapper_default); + const _is__AddStreamState_default = Symbol('_is__AddStreamState_default'); + async._AddStreamState$ = dart.generic(T => { + class _AddStreamState extends core.Object { + static makeErrorHandler(controller) { + if (controller == null) dart.nullFailed(I[64], 858, 38, "controller"); + return dart.fn((e, s) => { + if (e == null) dart.nullFailed(I[64], 858, 61, "e"); + if (s == null) dart.nullFailed(I[64], 858, 75, "s"); + controller[_addError](e, s); + controller[_close](); + }, T$.ObjectAndStackTraceToNull()); + } + pause() { + this.addSubscription.pause(); + } + resume() { + this.addSubscription.resume(); + } + cancel() { + let cancel = this.addSubscription.cancel(); + if (cancel == null) { + this.addStreamFuture[_asyncComplete](null); + return async.Future._nullFuture; + } + return cancel.whenComplete(dart.fn(() => { + this.addStreamFuture[_asyncComplete](null); + }, T$.VoidToNull())); + } + complete() { + this.addStreamFuture[_asyncComplete](null); + } + } + (_AddStreamState.new = function(controller, source, cancelOnError) { + if (controller == null) dart.nullFailed(I[64], 849, 21, "controller"); + if (source == null) dart.nullFailed(I[64], 849, 43, "source"); + if (cancelOnError == null) dart.nullFailed(I[64], 849, 56, "cancelOnError"); + this.addStreamFuture = new async._Future.new(); + this.addSubscription = source.listen(dart.bind(controller, _add), {onError: T$.FunctionN().as(dart.test(cancelOnError) ? async._AddStreamState.makeErrorHandler(controller) : dart.bind(controller, _addError)), onDone: dart.bind(controller, _close), cancelOnError: cancelOnError}); + ; + }).prototype = _AddStreamState.prototype; + dart.addTypeTests(_AddStreamState); + _AddStreamState.prototype[_is__AddStreamState_default] = true; + dart.addTypeCaches(_AddStreamState); + dart.setMethodSignature(_AddStreamState, () => ({ + __proto__: dart.getMethods(_AddStreamState.__proto__), + pause: dart.fnType(dart.void, []), + resume: dart.fnType(dart.void, []), + cancel: dart.fnType(async.Future$(dart.void), []), + complete: dart.fnType(dart.void, []) + })); + dart.setLibraryUri(_AddStreamState, I[29]); + dart.setFieldSignature(_AddStreamState, () => ({ + __proto__: dart.getFields(_AddStreamState.__proto__), + addStreamFuture: dart.finalFieldType(async._Future), + addSubscription: dart.finalFieldType(async.StreamSubscription) + })); + return _AddStreamState; + }); + async._AddStreamState = async._AddStreamState$(); + dart.addTypeTests(async._AddStreamState, _is__AddStreamState_default); + const _is__StreamControllerAddStreamState_default = Symbol('_is__StreamControllerAddStreamState_default'); + async._StreamControllerAddStreamState$ = dart.generic(T => { + class _StreamControllerAddStreamState extends async._AddStreamState$(T) {} + (_StreamControllerAddStreamState.new = function(controller, varData, source, cancelOnError) { + if (controller == null) dart.nullFailed(I[64], 899, 56, "controller"); + if (source == null) dart.nullFailed(I[64], 900, 17, "source"); + if (cancelOnError == null) dart.nullFailed(I[64], 900, 30, "cancelOnError"); + this.varData = varData; + _StreamControllerAddStreamState.__proto__.new.call(this, controller, source, cancelOnError); + if (dart.test(controller.isPaused)) { + this.addSubscription.pause(); + } + }).prototype = _StreamControllerAddStreamState.prototype; + dart.addTypeTests(_StreamControllerAddStreamState); + _StreamControllerAddStreamState.prototype[_is__StreamControllerAddStreamState_default] = true; + dart.addTypeCaches(_StreamControllerAddStreamState); + dart.setLibraryUri(_StreamControllerAddStreamState, I[29]); + dart.setFieldSignature(_StreamControllerAddStreamState, () => ({ + __proto__: dart.getFields(_StreamControllerAddStreamState.__proto__), + varData: dart.fieldType(dart.dynamic) + })); + return _StreamControllerAddStreamState; + }); + async._StreamControllerAddStreamState = async._StreamControllerAddStreamState$(); + dart.addTypeTests(async._StreamControllerAddStreamState, _is__StreamControllerAddStreamState_default); + const _is__EventSink_default = Symbol('_is__EventSink_default'); + async._EventSink$ = dart.generic(T => { + class _EventSink extends core.Object {} + (_EventSink.new = function() { + ; + }).prototype = _EventSink.prototype; + dart.addTypeTests(_EventSink); + _EventSink.prototype[_is__EventSink_default] = true; + dart.addTypeCaches(_EventSink); + dart.setLibraryUri(_EventSink, I[29]); + return _EventSink; + }); + async._EventSink = async._EventSink$(); + dart.addTypeTests(async._EventSink, _is__EventSink_default); + const _is__EventDispatch_default = Symbol('_is__EventDispatch_default'); + async._EventDispatch$ = dart.generic(T => { + class _EventDispatch extends core.Object {} + (_EventDispatch.new = function() { + ; + }).prototype = _EventDispatch.prototype; + dart.addTypeTests(_EventDispatch); + _EventDispatch.prototype[_is__EventDispatch_default] = true; + dart.addTypeCaches(_EventDispatch); + dart.setLibraryUri(_EventDispatch, I[29]); + return _EventDispatch; + }); + async._EventDispatch = async._EventDispatch$(); + dart.addTypeTests(async._EventDispatch, _is__EventDispatch_default); + var _isUsed = dart.privateName(async, "_isUsed"); + const _is__GeneratedStreamImpl_default = Symbol('_is__GeneratedStreamImpl_default'); + async._GeneratedStreamImpl$ = dart.generic(T => { + var _BufferingStreamSubscriptionOfT = () => (_BufferingStreamSubscriptionOfT = dart.constFn(async._BufferingStreamSubscription$(T)))(); + class _GeneratedStreamImpl extends async._StreamImpl$(T) { + [_createSubscription](onData, onError, onDone, cancelOnError) { + let t115; + if (cancelOnError == null) dart.nullFailed(I[65], 504, 47, "cancelOnError"); + if (dart.test(this[_isUsed])) dart.throw(new core.StateError.new("Stream has already been listened to.")); + this[_isUsed] = true; + t115 = new (_BufferingStreamSubscriptionOfT()).new(onData, onError, onDone, cancelOnError); + return (() => { + t115[_setPendingEvents](this[_pending$]()); + return t115; + })(); + } + } + (_GeneratedStreamImpl.new = function(_pending) { + if (_pending == null) dart.nullFailed(I[65], 501, 29, "_pending"); + this[_isUsed] = false; + this[_pending$] = _pending; + _GeneratedStreamImpl.__proto__.new.call(this); + ; + }).prototype = _GeneratedStreamImpl.prototype; + dart.addTypeTests(_GeneratedStreamImpl); + _GeneratedStreamImpl.prototype[_is__GeneratedStreamImpl_default] = true; + dart.addTypeCaches(_GeneratedStreamImpl); + dart.setLibraryUri(_GeneratedStreamImpl, I[29]); + dart.setFieldSignature(_GeneratedStreamImpl, () => ({ + __proto__: dart.getFields(_GeneratedStreamImpl.__proto__), + [_pending$]: dart.finalFieldType(dart.fnType(async._PendingEvents$(T), [])), + [_isUsed]: dart.fieldType(core.bool) + })); + return _GeneratedStreamImpl; + }); + async._GeneratedStreamImpl = async._GeneratedStreamImpl$(); + dart.addTypeTests(async._GeneratedStreamImpl, _is__GeneratedStreamImpl_default); + var _iterator = dart.privateName(async, "_iterator"); + var _eventScheduled = dart.privateName(async, "_eventScheduled"); + const _is__PendingEvents_default = Symbol('_is__PendingEvents_default'); + async._PendingEvents$ = dart.generic(T => { + var _EventDispatchOfT = () => (_EventDispatchOfT = dart.constFn(async._EventDispatch$(T)))(); + class _PendingEvents extends core.Object { + get isScheduled() { + return this[_state] === 1; + } + get [_eventScheduled]() { + return dart.notNull(this[_state]) >= 1; + } + schedule(dispatch) { + _EventDispatchOfT().as(dispatch); + if (dispatch == null) dart.nullFailed(I[65], 651, 35, "dispatch"); + if (dart.test(this.isScheduled)) return; + if (!!dart.test(this.isEmpty)) dart.assertFailed(null, I[65], 653, 12, "!isEmpty"); + if (dart.test(this[_eventScheduled])) { + if (!(this[_state] === 3)) dart.assertFailed(null, I[65], 655, 14, "_state == _STATE_CANCELED"); + this[_state] = 1; + return; + } + async.scheduleMicrotask(dart.fn(() => { + let oldState = this[_state]; + this[_state] = 0; + if (oldState === 3) return; + this.handleNext(dispatch); + }, T$.VoidTovoid())); + this[_state] = 1; + } + cancelSchedule() { + if (dart.test(this.isScheduled)) this[_state] = 3; + } + } + (_PendingEvents.new = function() { + this[_state] = 0; + ; + }).prototype = _PendingEvents.prototype; + dart.addTypeTests(_PendingEvents); + _PendingEvents.prototype[_is__PendingEvents_default] = true; + dart.addTypeCaches(_PendingEvents); + dart.setMethodSignature(_PendingEvents, () => ({ + __proto__: dart.getMethods(_PendingEvents.__proto__), + schedule: dart.fnType(dart.void, [dart.nullable(core.Object)]), + cancelSchedule: dart.fnType(dart.void, []) + })); + dart.setGetterSignature(_PendingEvents, () => ({ + __proto__: dart.getGetters(_PendingEvents.__proto__), + isScheduled: core.bool, + [_eventScheduled]: core.bool + })); + dart.setLibraryUri(_PendingEvents, I[29]); + dart.setFieldSignature(_PendingEvents, () => ({ + __proto__: dart.getFields(_PendingEvents.__proto__), + [_state]: dart.fieldType(core.int) + })); + return _PendingEvents; + }); + async._PendingEvents = async._PendingEvents$(); + dart.defineLazy(async._PendingEvents, { + /*async._PendingEvents._STATE_UNSCHEDULED*/get _STATE_UNSCHEDULED() { + return 0; + }, + /*async._PendingEvents._STATE_SCHEDULED*/get _STATE_SCHEDULED() { + return 1; + }, + /*async._PendingEvents._STATE_CANCELED*/get _STATE_CANCELED() { + return 3; + } + }, false); + dart.addTypeTests(async._PendingEvents, _is__PendingEvents_default); + const _is__IterablePendingEvents_default = Symbol('_is__IterablePendingEvents_default'); + async._IterablePendingEvents$ = dart.generic(T => { + var _EventDispatchOfT = () => (_EventDispatchOfT = dart.constFn(async._EventDispatch$(T)))(); + class _IterablePendingEvents extends async._PendingEvents$(T) { + get isEmpty() { + return this[_iterator] == null; + } + handleNext(dispatch) { + _EventDispatchOfT().as(dispatch); + if (dispatch == null) dart.nullFailed(I[65], 523, 37, "dispatch"); + let iterator = this[_iterator]; + if (iterator == null) { + dart.throw(new core.StateError.new("No events pending.")); + } + let movedNext = false; + try { + if (dart.test(iterator.moveNext())) { + movedNext = true; + dispatch[_sendData](iterator.current); + } else { + this[_iterator] = null; + dispatch[_sendDone](); + } + } catch (e$) { + let e = dart.getThrown(e$); + let s = dart.stackTrace(e$); + if (core.Object.is(e)) { + if (!movedNext) { + this[_iterator] = C[20] || CT.C20; + } + dispatch[_sendError](e, s); + } else + throw e$; + } + } + clear() { + if (dart.test(this.isScheduled)) this.cancelSchedule(); + this[_iterator] = null; + } + } + (_IterablePendingEvents.new = function(data) { + if (data == null) dart.nullFailed(I[65], 519, 38, "data"); + this[_iterator] = data[$iterator]; + _IterablePendingEvents.__proto__.new.call(this); + ; + }).prototype = _IterablePendingEvents.prototype; + dart.addTypeTests(_IterablePendingEvents); + _IterablePendingEvents.prototype[_is__IterablePendingEvents_default] = true; + dart.addTypeCaches(_IterablePendingEvents); + dart.setMethodSignature(_IterablePendingEvents, () => ({ + __proto__: dart.getMethods(_IterablePendingEvents.__proto__), + handleNext: dart.fnType(dart.void, [dart.nullable(core.Object)]), + clear: dart.fnType(dart.void, []) + })); + dart.setGetterSignature(_IterablePendingEvents, () => ({ + __proto__: dart.getGetters(_IterablePendingEvents.__proto__), + isEmpty: core.bool + })); + dart.setLibraryUri(_IterablePendingEvents, I[29]); + dart.setFieldSignature(_IterablePendingEvents, () => ({ + __proto__: dart.getFields(_IterablePendingEvents.__proto__), + [_iterator]: dart.fieldType(dart.nullable(core.Iterator$(T))) + })); + return _IterablePendingEvents; + }); + async._IterablePendingEvents = async._IterablePendingEvents$(); + dart.addTypeTests(async._IterablePendingEvents, _is__IterablePendingEvents_default); + const _is__DelayedEvent_default = Symbol('_is__DelayedEvent_default'); + async._DelayedEvent$ = dart.generic(T => { + class _DelayedEvent extends core.Object {} + (_DelayedEvent.new = function() { + this.next = null; + ; + }).prototype = _DelayedEvent.prototype; + dart.addTypeTests(_DelayedEvent); + _DelayedEvent.prototype[_is__DelayedEvent_default] = true; + dart.addTypeCaches(_DelayedEvent); + dart.setLibraryUri(_DelayedEvent, I[29]); + dart.setFieldSignature(_DelayedEvent, () => ({ + __proto__: dart.getFields(_DelayedEvent.__proto__), + next: dart.fieldType(dart.nullable(async._DelayedEvent)) + })); + return _DelayedEvent; + }); + async._DelayedEvent = async._DelayedEvent$(); + dart.addTypeTests(async._DelayedEvent, _is__DelayedEvent_default); + const _is__DelayedData_default = Symbol('_is__DelayedData_default'); + async._DelayedData$ = dart.generic(T => { + var _EventDispatchOfT = () => (_EventDispatchOfT = dart.constFn(async._EventDispatch$(T)))(); + class _DelayedData extends async._DelayedEvent$(T) { + perform(dispatch) { + _EventDispatchOfT().as(dispatch); + if (dispatch == null) dart.nullFailed(I[65], 590, 34, "dispatch"); + dispatch[_sendData](this.value); + } + } + (_DelayedData.new = function(value) { + this.value = value; + _DelayedData.__proto__.new.call(this); + ; + }).prototype = _DelayedData.prototype; + dart.addTypeTests(_DelayedData); + _DelayedData.prototype[_is__DelayedData_default] = true; + dart.addTypeCaches(_DelayedData); + dart.setMethodSignature(_DelayedData, () => ({ + __proto__: dart.getMethods(_DelayedData.__proto__), + perform: dart.fnType(dart.void, [dart.nullable(core.Object)]) + })); + dart.setLibraryUri(_DelayedData, I[29]); + dart.setFieldSignature(_DelayedData, () => ({ + __proto__: dart.getFields(_DelayedData.__proto__), + value: dart.finalFieldType(T) + })); + return _DelayedData; + }); + async._DelayedData = async._DelayedData$(); + dart.addTypeTests(async._DelayedData, _is__DelayedData_default); + async._DelayedError = class _DelayedError extends async._DelayedEvent { + perform(dispatch) { + async._EventDispatch.as(dispatch); + if (dispatch == null) dart.nullFailed(I[65], 601, 31, "dispatch"); + dispatch[_sendError](this.error, this.stackTrace); + } + }; + (async._DelayedError.new = function(error, stackTrace) { + if (error == null) dart.nullFailed(I[65], 600, 22, "error"); + if (stackTrace == null) dart.nullFailed(I[65], 600, 34, "stackTrace"); + this.error = error; + this.stackTrace = stackTrace; + async._DelayedError.__proto__.new.call(this); + ; + }).prototype = async._DelayedError.prototype; + dart.addTypeTests(async._DelayedError); + dart.addTypeCaches(async._DelayedError); + dart.setMethodSignature(async._DelayedError, () => ({ + __proto__: dart.getMethods(async._DelayedError.__proto__), + perform: dart.fnType(dart.void, [dart.nullable(core.Object)]) + })); + dart.setLibraryUri(async._DelayedError, I[29]); + dart.setFieldSignature(async._DelayedError, () => ({ + __proto__: dart.getFields(async._DelayedError.__proto__), + error: dart.finalFieldType(core.Object), + stackTrace: dart.finalFieldType(core.StackTrace) + })); + async._DelayedDone = class _DelayedDone extends core.Object { + perform(dispatch) { + async._EventDispatch.as(dispatch); + if (dispatch == null) dart.nullFailed(I[65], 609, 31, "dispatch"); + dispatch[_sendDone](); + } + get next() { + return null; + } + set next(_) { + dart.throw(new core.StateError.new("No events after a done.")); + } + }; + (async._DelayedDone.new = function() { + ; + }).prototype = async._DelayedDone.prototype; + dart.addTypeTests(async._DelayedDone); + dart.addTypeCaches(async._DelayedDone); + async._DelayedDone[dart.implements] = () => [async._DelayedEvent]; + dart.setMethodSignature(async._DelayedDone, () => ({ + __proto__: dart.getMethods(async._DelayedDone.__proto__), + perform: dart.fnType(dart.void, [dart.nullable(core.Object)]) + })); + dart.setGetterSignature(async._DelayedDone, () => ({ + __proto__: dart.getGetters(async._DelayedDone.__proto__), + next: dart.nullable(async._DelayedEvent) + })); + dart.setSetterSignature(async._DelayedDone, () => ({ + __proto__: dart.getSetters(async._DelayedDone.__proto__), + next: dart.nullable(async._DelayedEvent) + })); + dart.setLibraryUri(async._DelayedDone, I[29]); + const _is__StreamImplEvents_default = Symbol('_is__StreamImplEvents_default'); + async._StreamImplEvents$ = dart.generic(T => { + var _EventDispatchOfT = () => (_EventDispatchOfT = dart.constFn(async._EventDispatch$(T)))(); + class _StreamImplEvents extends async._PendingEvents$(T) { + get isEmpty() { + return this.lastPendingEvent == null; + } + add(event) { + if (event == null) dart.nullFailed(I[65], 688, 26, "event"); + let lastEvent = this.lastPendingEvent; + if (lastEvent == null) { + this.firstPendingEvent = this.lastPendingEvent = event; + } else { + this.lastPendingEvent = lastEvent.next = event; + } + } + handleNext(dispatch) { + _EventDispatchOfT().as(dispatch); + if (dispatch == null) dart.nullFailed(I[65], 697, 37, "dispatch"); + if (!!dart.test(this.isScheduled)) dart.assertFailed(null, I[65], 698, 12, "!isScheduled"); + if (!!dart.test(this.isEmpty)) dart.assertFailed(null, I[65], 699, 12, "!isEmpty"); + let event = dart.nullCheck(this.firstPendingEvent); + let nextEvent = event.next; + this.firstPendingEvent = nextEvent; + if (nextEvent == null) { + this.lastPendingEvent = null; + } + event.perform(dispatch); + } + clear() { + if (dart.test(this.isScheduled)) this.cancelSchedule(); + this.firstPendingEvent = this.lastPendingEvent = null; + } + } + (_StreamImplEvents.new = function() { + this.firstPendingEvent = null; + this.lastPendingEvent = null; + _StreamImplEvents.__proto__.new.call(this); + ; + }).prototype = _StreamImplEvents.prototype; + dart.addTypeTests(_StreamImplEvents); + _StreamImplEvents.prototype[_is__StreamImplEvents_default] = true; + dart.addTypeCaches(_StreamImplEvents); + dart.setMethodSignature(_StreamImplEvents, () => ({ + __proto__: dart.getMethods(_StreamImplEvents.__proto__), + add: dart.fnType(dart.void, [async._DelayedEvent]), + handleNext: dart.fnType(dart.void, [dart.nullable(core.Object)]), + clear: dart.fnType(dart.void, []) + })); + dart.setGetterSignature(_StreamImplEvents, () => ({ + __proto__: dart.getGetters(_StreamImplEvents.__proto__), + isEmpty: core.bool + })); + dart.setLibraryUri(_StreamImplEvents, I[29]); + dart.setFieldSignature(_StreamImplEvents, () => ({ + __proto__: dart.getFields(_StreamImplEvents.__proto__), + firstPendingEvent: dart.fieldType(dart.nullable(async._DelayedEvent)), + lastPendingEvent: dart.fieldType(dart.nullable(async._DelayedEvent)) + })); + return _StreamImplEvents; + }); + async._StreamImplEvents = async._StreamImplEvents$(); + dart.addTypeTests(async._StreamImplEvents, _is__StreamImplEvents_default); + var _schedule = dart.privateName(async, "_schedule"); + var _isSent = dart.privateName(async, "_isSent"); + var _isScheduled = dart.privateName(async, "_isScheduled"); + const _is__DoneStreamSubscription_default = Symbol('_is__DoneStreamSubscription_default'); + async._DoneStreamSubscription$ = dart.generic(T => { + class _DoneStreamSubscription extends core.Object { + get [_isSent]() { + return (dart.notNull(this[_state]) & 1) !== 0; + } + get [_isScheduled]() { + return (dart.notNull(this[_state]) & 2) !== 0; + } + get isPaused() { + return dart.notNull(this[_state]) >= 4; + } + [_schedule]() { + if (dart.test(this[_isScheduled])) return; + this[_zone$].scheduleMicrotask(dart.bind(this, _sendDone)); + this[_state] = (dart.notNull(this[_state]) | 2) >>> 0; + } + onData(handleData) { + } + onError(handleError) { + } + onDone(handleDone) { + this[_onDone$] = handleDone; + } + pause(resumeSignal = null) { + this[_state] = dart.notNull(this[_state]) + 4; + if (resumeSignal != null) resumeSignal.whenComplete(dart.bind(this, 'resume')); + } + resume() { + if (dart.test(this.isPaused)) { + this[_state] = dart.notNull(this[_state]) - 4; + if (!dart.test(this.isPaused) && !dart.test(this[_isSent])) { + this[_schedule](); + } + } + } + cancel() { + return async.Future._nullFuture; + } + asFuture(E, futureValue = null) { + let resultValue = null; + if (futureValue == null) { + if (!dart.test(_internal.typeAcceptsNull(E))) { + dart.throw(new core.ArgumentError.notNull("futureValue")); + } + resultValue = E.as(futureValue); + } else { + resultValue = futureValue; + } + let result = new (async._Future$(E)).new(); + this[_onDone$] = dart.fn(() => { + result[_completeWithValue](resultValue); + }, T$.VoidTovoid()); + return result; + } + [_sendDone]() { + this[_state] = (dart.notNull(this[_state]) & ~2 >>> 0) >>> 0; + if (dart.test(this.isPaused)) return; + this[_state] = (dart.notNull(this[_state]) | 1) >>> 0; + let doneHandler = this[_onDone$]; + if (doneHandler != null) this[_zone$].runGuarded(doneHandler); + } + } + (_DoneStreamSubscription.new = function(_onDone) { + this[_state] = 0; + this[_onDone$] = _onDone; + this[_zone$] = async.Zone.current; + this[_schedule](); + }).prototype = _DoneStreamSubscription.prototype; + _DoneStreamSubscription.prototype[dart.isStreamSubscription] = true; + dart.addTypeTests(_DoneStreamSubscription); + _DoneStreamSubscription.prototype[_is__DoneStreamSubscription_default] = true; + dart.addTypeCaches(_DoneStreamSubscription); + _DoneStreamSubscription[dart.implements] = () => [async.StreamSubscription$(T)]; + dart.setMethodSignature(_DoneStreamSubscription, () => ({ + __proto__: dart.getMethods(_DoneStreamSubscription.__proto__), + [_schedule]: dart.fnType(dart.void, []), + onData: dart.fnType(dart.void, [dart.nullable(dart.fnType(dart.void, [T]))]), + onError: dart.fnType(dart.void, [dart.nullable(core.Function)]), + onDone: dart.fnType(dart.void, [dart.nullable(dart.fnType(dart.void, []))]), + pause: dart.fnType(dart.void, [], [dart.nullable(async.Future$(dart.void))]), + resume: dart.fnType(dart.void, []), + cancel: dart.fnType(async.Future, []), + asFuture: dart.gFnType(E => [async.Future$(E), [], [dart.nullable(E)]], E => [dart.nullable(core.Object)]), + [_sendDone]: dart.fnType(dart.void, []) + })); + dart.setGetterSignature(_DoneStreamSubscription, () => ({ + __proto__: dart.getGetters(_DoneStreamSubscription.__proto__), + [_isSent]: core.bool, + [_isScheduled]: core.bool, + isPaused: core.bool + })); + dart.setLibraryUri(_DoneStreamSubscription, I[29]); + dart.setFieldSignature(_DoneStreamSubscription, () => ({ + __proto__: dart.getFields(_DoneStreamSubscription.__proto__), + [_zone$]: dart.finalFieldType(async.Zone), + [_state]: dart.fieldType(core.int), + [_onDone$]: dart.fieldType(dart.nullable(dart.fnType(dart.void, []))) + })); + return _DoneStreamSubscription; + }); + async._DoneStreamSubscription = async._DoneStreamSubscription$(); + dart.defineLazy(async._DoneStreamSubscription, { + /*async._DoneStreamSubscription._DONE_SENT*/get _DONE_SENT() { + return 1; + }, + /*async._DoneStreamSubscription._SCHEDULED*/get _SCHEDULED() { + return 2; + }, + /*async._DoneStreamSubscription._PAUSED*/get _PAUSED() { + return 4; + } + }, false); + dart.addTypeTests(async._DoneStreamSubscription, _is__DoneStreamSubscription_default); + var _source$4 = dart.privateName(async, "_source"); + var _onListenHandler = dart.privateName(async, "_onListenHandler"); + var _onCancelHandler = dart.privateName(async, "_onCancelHandler"); + var _cancelSubscription = dart.privateName(async, "_cancelSubscription"); + var _pauseSubscription = dart.privateName(async, "_pauseSubscription"); + var _resumeSubscription = dart.privateName(async, "_resumeSubscription"); + var _isSubscriptionPaused = dart.privateName(async, "_isSubscriptionPaused"); + const _is__AsBroadcastStream_default = Symbol('_is__AsBroadcastStream_default'); + async._AsBroadcastStream$ = dart.generic(T => { + var StreamSubscriptionOfT = () => (StreamSubscriptionOfT = dart.constFn(async.StreamSubscription$(T)))(); + var _AsBroadcastStreamControllerOfT = () => (_AsBroadcastStreamControllerOfT = dart.constFn(async._AsBroadcastStreamController$(T)))(); + var _DoneStreamSubscriptionOfT = () => (_DoneStreamSubscriptionOfT = dart.constFn(async._DoneStreamSubscription$(T)))(); + var _BroadcastSubscriptionWrapperOfT = () => (_BroadcastSubscriptionWrapperOfT = dart.constFn(async._BroadcastSubscriptionWrapper$(T)))(); + class _AsBroadcastStream extends async.Stream$(T) { + get isBroadcast() { + return true; + } + listen(onData, opts) { + let t116; + let onError = opts && 'onError' in opts ? opts.onError : null; + let onDone = opts && 'onDone' in opts ? opts.onDone : null; + let cancelOnError = opts && 'cancelOnError' in opts ? opts.cancelOnError : null; + let controller = this[_controller$]; + if (controller == null || dart.test(controller.isClosed)) { + return new (_DoneStreamSubscriptionOfT()).new(onDone); + } + this[_subscription] == null ? this[_subscription] = this[_source$4].listen(dart.bind(controller, 'add'), {onError: dart.bind(controller, 'addError'), onDone: dart.bind(controller, 'close')}) : null; + return controller[_subscribe](onData, onError, onDone, (t116 = cancelOnError, t116 == null ? false : t116)); + } + [_onCancel]() { + let controller = this[_controller$]; + let shutdown = controller == null || dart.test(controller.isClosed); + let cancelHandler = this[_onCancelHandler]; + if (cancelHandler != null) { + this[_zone$].runUnary(dart.void, _BroadcastSubscriptionWrapperOfT(), cancelHandler, new (_BroadcastSubscriptionWrapperOfT()).new(this)); + } + if (shutdown) { + let subscription = this[_subscription]; + if (subscription != null) { + subscription.cancel(); + this[_subscription] = null; + } + } + } + [_onListen$]() { + let listenHandler = this[_onListenHandler]; + if (listenHandler != null) { + this[_zone$].runUnary(dart.void, _BroadcastSubscriptionWrapperOfT(), listenHandler, new (_BroadcastSubscriptionWrapperOfT()).new(this)); + } + } + [_cancelSubscription]() { + let subscription = this[_subscription]; + if (subscription != null) { + this[_subscription] = null; + this[_controller$] = null; + subscription.cancel(); + } + } + [_pauseSubscription](resumeSignal) { + let t116; + t116 = this[_subscription]; + t116 == null ? null : t116.pause(resumeSignal); + } + [_resumeSubscription]() { + let t116; + t116 = this[_subscription]; + t116 == null ? null : t116.resume(); + } + get [_isSubscriptionPaused]() { + let t116, t116$; + t116$ = (t116 = this[_subscription], t116 == null ? null : t116.isPaused); + return t116$ == null ? false : t116$; + } + } + (_AsBroadcastStream.new = function(_source, onListenHandler, onCancelHandler) { + if (_source == null) dart.nullFailed(I[65], 799, 12, "_source"); + this[_controller$] = null; + this[_subscription] = null; + this[_source$4] = _source; + this[_onListenHandler] = onListenHandler == null ? null : async.Zone.current.registerUnaryCallback(dart.void, StreamSubscriptionOfT(), onListenHandler); + this[_onCancelHandler] = onCancelHandler == null ? null : async.Zone.current.registerUnaryCallback(dart.void, StreamSubscriptionOfT(), onCancelHandler); + this[_zone$] = async.Zone.current; + _AsBroadcastStream.__proto__.new.call(this); + this[_controller$] = new (_AsBroadcastStreamControllerOfT()).new(dart.bind(this, _onListen$), dart.bind(this, _onCancel)); + }).prototype = _AsBroadcastStream.prototype; + dart.addTypeTests(_AsBroadcastStream); + _AsBroadcastStream.prototype[_is__AsBroadcastStream_default] = true; + dart.addTypeCaches(_AsBroadcastStream); + dart.setMethodSignature(_AsBroadcastStream, () => ({ + __proto__: dart.getMethods(_AsBroadcastStream.__proto__), + listen: dart.fnType(async.StreamSubscription$(T), [dart.nullable(dart.fnType(dart.void, [T]))], {cancelOnError: dart.nullable(core.bool), onDone: dart.nullable(dart.fnType(dart.void, [])), onError: dart.nullable(core.Function)}, {}), + [_onCancel]: dart.fnType(dart.void, []), + [_onListen$]: dart.fnType(dart.void, []), + [_cancelSubscription]: dart.fnType(dart.void, []), + [_pauseSubscription]: dart.fnType(dart.void, [dart.nullable(async.Future$(dart.void))]), + [_resumeSubscription]: dart.fnType(dart.void, []) + })); + dart.setGetterSignature(_AsBroadcastStream, () => ({ + __proto__: dart.getGetters(_AsBroadcastStream.__proto__), + [_isSubscriptionPaused]: core.bool + })); + dart.setLibraryUri(_AsBroadcastStream, I[29]); + dart.setFieldSignature(_AsBroadcastStream, () => ({ + __proto__: dart.getFields(_AsBroadcastStream.__proto__), + [_source$4]: dart.finalFieldType(async.Stream$(T)), + [_onListenHandler]: dart.finalFieldType(dart.nullable(dart.fnType(dart.void, [async.StreamSubscription$(T)]))), + [_onCancelHandler]: dart.finalFieldType(dart.nullable(dart.fnType(dart.void, [async.StreamSubscription$(T)]))), + [_zone$]: dart.finalFieldType(async.Zone), + [_controller$]: dart.fieldType(dart.nullable(async._AsBroadcastStreamController$(T))), + [_subscription]: dart.fieldType(dart.nullable(async.StreamSubscription$(T))) + })); + return _AsBroadcastStream; + }); + async._AsBroadcastStream = async._AsBroadcastStream$(); + dart.addTypeTests(async._AsBroadcastStream, _is__AsBroadcastStream_default); + const _is__BroadcastSubscriptionWrapper_default = Symbol('_is__BroadcastSubscriptionWrapper_default'); + async._BroadcastSubscriptionWrapper$ = dart.generic(T => { + class _BroadcastSubscriptionWrapper extends core.Object { + onData(handleData) { + dart.throw(new core.UnsupportedError.new("Cannot change handlers of asBroadcastStream source subscription.")); + } + onError(handleError) { + dart.throw(new core.UnsupportedError.new("Cannot change handlers of asBroadcastStream source subscription.")); + } + onDone(handleDone) { + dart.throw(new core.UnsupportedError.new("Cannot change handlers of asBroadcastStream source subscription.")); + } + pause(resumeSignal = null) { + this[_stream$][_pauseSubscription](resumeSignal); + } + resume() { + this[_stream$][_resumeSubscription](); + } + cancel() { + this[_stream$][_cancelSubscription](); + return async.Future._nullFuture; + } + get isPaused() { + return this[_stream$][_isSubscriptionPaused]; + } + asFuture(E, futureValue = null) { + dart.throw(new core.UnsupportedError.new("Cannot change handlers of asBroadcastStream source subscription.")); + } + } + (_BroadcastSubscriptionWrapper.new = function(_stream) { + if (_stream == null) dart.nullFailed(I[65], 881, 38, "_stream"); + this[_stream$] = _stream; + ; + }).prototype = _BroadcastSubscriptionWrapper.prototype; + _BroadcastSubscriptionWrapper.prototype[dart.isStreamSubscription] = true; + dart.addTypeTests(_BroadcastSubscriptionWrapper); + _BroadcastSubscriptionWrapper.prototype[_is__BroadcastSubscriptionWrapper_default] = true; + dart.addTypeCaches(_BroadcastSubscriptionWrapper); + _BroadcastSubscriptionWrapper[dart.implements] = () => [async.StreamSubscription$(T)]; + dart.setMethodSignature(_BroadcastSubscriptionWrapper, () => ({ + __proto__: dart.getMethods(_BroadcastSubscriptionWrapper.__proto__), + onData: dart.fnType(dart.void, [dart.nullable(dart.fnType(dart.void, [T]))]), + onError: dart.fnType(dart.void, [dart.nullable(core.Function)]), + onDone: dart.fnType(dart.void, [dart.nullable(dart.fnType(dart.void, []))]), + pause: dart.fnType(dart.void, [], [dart.nullable(async.Future$(dart.void))]), + resume: dart.fnType(dart.void, []), + cancel: dart.fnType(async.Future, []), + asFuture: dart.gFnType(E => [async.Future$(E), [], [dart.nullable(E)]], E => [dart.nullable(core.Object)]) + })); + dart.setGetterSignature(_BroadcastSubscriptionWrapper, () => ({ + __proto__: dart.getGetters(_BroadcastSubscriptionWrapper.__proto__), + isPaused: core.bool + })); + dart.setLibraryUri(_BroadcastSubscriptionWrapper, I[29]); + dart.setFieldSignature(_BroadcastSubscriptionWrapper, () => ({ + __proto__: dart.getFields(_BroadcastSubscriptionWrapper.__proto__), + [_stream$]: dart.finalFieldType(async._AsBroadcastStream) + })); + return _BroadcastSubscriptionWrapper; + }); + async._BroadcastSubscriptionWrapper = async._BroadcastSubscriptionWrapper$(); + dart.addTypeTests(async._BroadcastSubscriptionWrapper, _is__BroadcastSubscriptionWrapper_default); + var _hasValue$0 = dart.privateName(async, "_hasValue"); + var _stateData = dart.privateName(async, "_stateData"); + var _initializeOrDone = dart.privateName(async, "_initializeOrDone"); + const _is__StreamIterator_default = Symbol('_is__StreamIterator_default'); + async._StreamIterator$ = dart.generic(T => { + var StreamOfT = () => (StreamOfT = dart.constFn(async.Stream$(T)))(); + class _StreamIterator extends core.Object { + get current() { + if (dart.test(this[_hasValue$0])) return T.as(this[_stateData]); + return T.as(null); + } + moveNext() { + let subscription = this[_subscription]; + if (subscription != null) { + if (dart.test(this[_hasValue$0])) { + let future = new (T$._FutureOfbool()).new(); + this[_stateData] = future; + this[_hasValue$0] = false; + subscription.resume(); + return future; + } + dart.throw(new core.StateError.new("Already waiting for next.")); + } + return this[_initializeOrDone](); + } + [_initializeOrDone]() { + if (!(this[_subscription] == null)) dart.assertFailed(null, I[65], 1012, 12, "_subscription == null"); + let stateData = this[_stateData]; + if (stateData != null) { + let stream = StreamOfT().as(stateData); + let future = new (T$._FutureOfbool()).new(); + this[_stateData] = future; + let subscription = stream.listen(dart.bind(this, _onData$), {onError: dart.bind(this, _onError), onDone: dart.bind(this, _onDone$), cancelOnError: true}); + if (this[_stateData] != null) { + this[_subscription] = subscription; + } + return future; + } + return async.Future._falseFuture; + } + cancel() { + let subscription = this[_subscription]; + let stateData = this[_stateData]; + this[_stateData] = null; + if (subscription != null) { + this[_subscription] = null; + if (!dart.test(this[_hasValue$0])) { + let future = T$._FutureOfbool().as(stateData); + future[_asyncComplete](false); + } else { + this[_hasValue$0] = false; + } + return subscription.cancel(); + } + return async.Future._nullFuture; + } + [_onData$](data) { + let t116; + T.as(data); + if (this[_subscription] == null) return; + let moveNextFuture = T$._FutureOfbool().as(this[_stateData]); + this[_stateData] = data; + this[_hasValue$0] = true; + moveNextFuture[_complete](true); + if (dart.test(this[_hasValue$0])) { + t116 = this[_subscription]; + t116 == null ? null : t116.pause(); + } + } + [_onError](error, stackTrace) { + if (error == null) dart.nullFailed(I[65], 1066, 24, "error"); + if (stackTrace == null) dart.nullFailed(I[65], 1066, 42, "stackTrace"); + let subscription = this[_subscription]; + let moveNextFuture = T$._FutureOfbool().as(this[_stateData]); + this[_subscription] = null; + this[_stateData] = null; + if (subscription != null) { + moveNextFuture[_completeError](error, stackTrace); + } else { + moveNextFuture[_asyncCompleteError](error, stackTrace); + } + } + [_onDone$]() { + let subscription = this[_subscription]; + let moveNextFuture = T$._FutureOfbool().as(this[_stateData]); + this[_subscription] = null; + this[_stateData] = null; + if (subscription != null) { + moveNextFuture[_completeWithValue](false); + } else { + moveNextFuture[_asyncCompleteWithValue](false); + } + } + } + (_StreamIterator.new = function(stream) { + if (stream == null) dart.nullFailed(I[65], 983, 35, "stream"); + this[_subscription] = null; + this[_hasValue$0] = false; + this[_stateData] = _internal.checkNotNullable(core.Object, stream, "stream"); + ; + }).prototype = _StreamIterator.prototype; + dart.addTypeTests(_StreamIterator); + _StreamIterator.prototype[_is__StreamIterator_default] = true; + dart.addTypeCaches(_StreamIterator); + _StreamIterator[dart.implements] = () => [async.StreamIterator$(T)]; + dart.setMethodSignature(_StreamIterator, () => ({ + __proto__: dart.getMethods(_StreamIterator.__proto__), + moveNext: dart.fnType(async.Future$(core.bool), []), + [_initializeOrDone]: dart.fnType(async.Future$(core.bool), []), + cancel: dart.fnType(async.Future, []), + [_onData$]: dart.fnType(dart.void, [dart.nullable(core.Object)]), + [_onError]: dart.fnType(dart.void, [core.Object, core.StackTrace]), + [_onDone$]: dart.fnType(dart.void, []) + })); + dart.setGetterSignature(_StreamIterator, () => ({ + __proto__: dart.getGetters(_StreamIterator.__proto__), + current: T + })); + dart.setLibraryUri(_StreamIterator, I[29]); + dart.setFieldSignature(_StreamIterator, () => ({ + __proto__: dart.getFields(_StreamIterator.__proto__), + [_subscription]: dart.fieldType(dart.nullable(async.StreamSubscription$(T))), + [_stateData]: dart.fieldType(dart.nullable(core.Object)), + [_hasValue$0]: dart.fieldType(core.bool) + })); + return _StreamIterator; + }); + async._StreamIterator = async._StreamIterator$(); + dart.addTypeTests(async._StreamIterator, _is__StreamIterator_default); + const _is__EmptyStream_default = Symbol('_is__EmptyStream_default'); + async._EmptyStream$ = dart.generic(T => { + var _DoneStreamSubscriptionOfT = () => (_DoneStreamSubscriptionOfT = dart.constFn(async._DoneStreamSubscription$(T)))(); + class _EmptyStream extends async.Stream$(T) { + get isBroadcast() { + return true; + } + listen(onData, opts) { + let onError = opts && 'onError' in opts ? opts.onError : null; + let onDone = opts && 'onDone' in opts ? opts.onDone : null; + let cancelOnError = opts && 'cancelOnError' in opts ? opts.cancelOnError : null; + return new (_DoneStreamSubscriptionOfT()).new(onDone); + } + } + (_EmptyStream.new = function() { + _EmptyStream.__proto__._internal.call(this); + ; + }).prototype = _EmptyStream.prototype; + dart.addTypeTests(_EmptyStream); + _EmptyStream.prototype[_is__EmptyStream_default] = true; + dart.addTypeCaches(_EmptyStream); + dart.setMethodSignature(_EmptyStream, () => ({ + __proto__: dart.getMethods(_EmptyStream.__proto__), + listen: dart.fnType(async.StreamSubscription$(T), [dart.nullable(dart.fnType(dart.void, [T]))], {cancelOnError: dart.nullable(core.bool), onDone: dart.nullable(dart.fnType(dart.void, [])), onError: dart.nullable(core.Function)}, {}) + })); + dart.setLibraryUri(_EmptyStream, I[29]); + return _EmptyStream; + }); + async._EmptyStream = async._EmptyStream$(); + dart.addTypeTests(async._EmptyStream, _is__EmptyStream_default); + var isBroadcast$ = dart.privateName(async, "_MultiStream.isBroadcast"); + const _is__MultiStream_default = Symbol('_is__MultiStream_default'); + async._MultiStream$ = dart.generic(T => { + var _MultiStreamControllerOfT = () => (_MultiStreamControllerOfT = dart.constFn(async._MultiStreamController$(T)))(); + class _MultiStream extends async.Stream$(T) { + get isBroadcast() { + return this[isBroadcast$]; + } + set isBroadcast(value) { + super.isBroadcast = value; + } + listen(onData, opts) { + let t116; + let onError = opts && 'onError' in opts ? opts.onError : null; + let onDone = opts && 'onDone' in opts ? opts.onDone : null; + let cancelOnError = opts && 'cancelOnError' in opts ? opts.cancelOnError : null; + let controller = new (_MultiStreamControllerOfT()).new(); + controller.onListen = dart.fn(() => { + let t116; + t116 = controller; + this[_onListen$](t116); + }, T$.VoidTovoid()); + return controller[_subscribe](onData, onError, onDone, (t116 = cancelOnError, t116 == null ? false : t116)); + } + } + (_MultiStream.new = function(_onListen, isBroadcast) { + if (_onListen == null) dart.nullFailed(I[65], 1110, 21, "_onListen"); + if (isBroadcast == null) dart.nullFailed(I[65], 1110, 37, "isBroadcast"); + this[_onListen$] = _onListen; + this[isBroadcast$] = isBroadcast; + _MultiStream.__proto__.new.call(this); + ; + }).prototype = _MultiStream.prototype; + dart.addTypeTests(_MultiStream); + _MultiStream.prototype[_is__MultiStream_default] = true; + dart.addTypeCaches(_MultiStream); + dart.setMethodSignature(_MultiStream, () => ({ + __proto__: dart.getMethods(_MultiStream.__proto__), + listen: dart.fnType(async.StreamSubscription$(T), [dart.nullable(dart.fnType(dart.void, [T]))], {cancelOnError: dart.nullable(core.bool), onDone: dart.nullable(dart.fnType(dart.void, [])), onError: dart.nullable(core.Function)}, {}) + })); + dart.setLibraryUri(_MultiStream, I[29]); + dart.setFieldSignature(_MultiStream, () => ({ + __proto__: dart.getFields(_MultiStream.__proto__), + isBroadcast: dart.finalFieldType(core.bool), + [_onListen$]: dart.finalFieldType(dart.fnType(dart.void, [async.MultiStreamController$(T)])) + })); + return _MultiStream; + }); + async._MultiStream = async._MultiStream$(); + dart.addTypeTests(async._MultiStream, _is__MultiStream_default); + const _is__MultiStreamController_default = Symbol('_is__MultiStreamController_default'); + async._MultiStreamController$ = dart.generic(T => { + class _MultiStreamController extends async._AsyncStreamController$(T) { + addSync(data) { + T.as(data); + if (!dart.test(this[_mayAddEvent])) dart.throw(this[_badEventState]()); + if (dart.test(this.hasListener)) this[_subscription][_add](data); + } + addErrorSync(error, stackTrace = null) { + let t116; + if (error == null) dart.nullFailed(I[65], 1132, 28, "error"); + if (!dart.test(this[_mayAddEvent])) dart.throw(this[_badEventState]()); + if (dart.test(this.hasListener)) { + this[_subscription][_addError](error, (t116 = stackTrace, t116 == null ? core.StackTrace.empty : t116)); + } + } + closeSync() { + if (dart.test(this.isClosed)) return; + if (!dart.test(this[_mayAddEvent])) dart.throw(this[_badEventState]()); + this[_state] = (dart.notNull(this[_state]) | 4) >>> 0; + if (dart.test(this.hasListener)) this[_subscription][_close](); + } + get stream() { + dart.throw(new core.UnsupportedError.new("Not available")); + } + } + (_MultiStreamController.new = function() { + _MultiStreamController.__proto__.new.call(this, null, null, null, null); + ; + }).prototype = _MultiStreamController.prototype; + dart.addTypeTests(_MultiStreamController); + _MultiStreamController.prototype[_is__MultiStreamController_default] = true; + dart.addTypeCaches(_MultiStreamController); + _MultiStreamController[dart.implements] = () => [async.MultiStreamController$(T)]; + dart.setMethodSignature(_MultiStreamController, () => ({ + __proto__: dart.getMethods(_MultiStreamController.__proto__), + addSync: dart.fnType(dart.void, [dart.nullable(core.Object)]), + addErrorSync: dart.fnType(dart.void, [core.Object], [dart.nullable(core.StackTrace)]), + closeSync: dart.fnType(dart.void, []) + })); + dart.setLibraryUri(_MultiStreamController, I[29]); + return _MultiStreamController; + }); + async._MultiStreamController = async._MultiStreamController$(); + dart.addTypeTests(async._MultiStreamController, _is__MultiStreamController_default); + var _handleError$ = dart.privateName(async, "_handleError"); + var _handleDone$ = dart.privateName(async, "_handleDone"); + const _is__ForwardingStream_default = Symbol('_is__ForwardingStream_default'); + async._ForwardingStream$ = dart.generic((S, T) => { + var _ForwardingStreamSubscriptionOfS$T = () => (_ForwardingStreamSubscriptionOfS$T = dart.constFn(async._ForwardingStreamSubscription$(S, T)))(); + var _EventSinkOfT = () => (_EventSinkOfT = dart.constFn(async._EventSink$(T)))(); + class _ForwardingStream extends async.Stream$(T) { + get isBroadcast() { + return this[_source$4].isBroadcast; + } + listen(onData, opts) { + let t116; + let onError = opts && 'onError' in opts ? opts.onError : null; + let onDone = opts && 'onDone' in opts ? opts.onDone : null; + let cancelOnError = opts && 'cancelOnError' in opts ? opts.cancelOnError : null; + return this[_createSubscription](onData, onError, onDone, (t116 = cancelOnError, t116 == null ? false : t116)); + } + [_createSubscription](onData, onError, onDone, cancelOnError) { + if (cancelOnError == null) dart.nullFailed(I[70], 85, 47, "cancelOnError"); + return new (_ForwardingStreamSubscriptionOfS$T()).new(this, onData, onError, onDone, cancelOnError); + } + [_handleError$](error, stackTrace, sink) { + if (error == null) dart.nullFailed(I[70], 94, 28, "error"); + if (stackTrace == null) dart.nullFailed(I[70], 94, 46, "stackTrace"); + _EventSinkOfT().as(sink); + if (sink == null) dart.nullFailed(I[70], 94, 72, "sink"); + sink[_addError](error, stackTrace); + } + [_handleDone$](sink) { + _EventSinkOfT().as(sink); + if (sink == null) dart.nullFailed(I[70], 98, 34, "sink"); + sink[_close](); + } + } + (_ForwardingStream.new = function(_source) { + if (_source == null) dart.nullFailed(I[70], 75, 26, "_source"); + this[_source$4] = _source; + _ForwardingStream.__proto__.new.call(this); + ; + }).prototype = _ForwardingStream.prototype; + dart.addTypeTests(_ForwardingStream); + _ForwardingStream.prototype[_is__ForwardingStream_default] = true; + dart.addTypeCaches(_ForwardingStream); + dart.setMethodSignature(_ForwardingStream, () => ({ + __proto__: dart.getMethods(_ForwardingStream.__proto__), + listen: dart.fnType(async.StreamSubscription$(T), [dart.nullable(dart.fnType(dart.void, [T]))], {cancelOnError: dart.nullable(core.bool), onDone: dart.nullable(dart.fnType(dart.void, [])), onError: dart.nullable(core.Function)}, {}), + [_createSubscription]: dart.fnType(async.StreamSubscription$(T), [dart.nullable(dart.fnType(dart.void, [T])), dart.nullable(core.Function), dart.nullable(dart.fnType(dart.void, [])), core.bool]), + [_handleError$]: dart.fnType(dart.void, [core.Object, core.StackTrace, dart.nullable(core.Object)]), + [_handleDone$]: dart.fnType(dart.void, [dart.nullable(core.Object)]) + })); + dart.setLibraryUri(_ForwardingStream, I[29]); + dart.setFieldSignature(_ForwardingStream, () => ({ + __proto__: dart.getFields(_ForwardingStream.__proto__), + [_source$4]: dart.finalFieldType(async.Stream$(S)) + })); + return _ForwardingStream; + }); + async._ForwardingStream = async._ForwardingStream$(); + dart.addTypeTests(async._ForwardingStream, _is__ForwardingStream_default); + var _handleData$ = dart.privateName(async, "_handleData"); + const _is__ForwardingStreamSubscription_default = Symbol('_is__ForwardingStreamSubscription_default'); + async._ForwardingStreamSubscription$ = dart.generic((S, T) => { + class _ForwardingStreamSubscription extends async._BufferingStreamSubscription$(T) { + [_add](data) { + T.as(data); + if (dart.test(this[_isClosed])) return; + super[_add](data); + } + [_addError](error, stackTrace) { + if (error == null) dart.nullFailed(I[70], 126, 25, "error"); + if (stackTrace == null) dart.nullFailed(I[70], 126, 43, "stackTrace"); + if (dart.test(this[_isClosed])) return; + super[_addError](error, stackTrace); + } + [_onPause]() { + let t116; + t116 = this[_subscription]; + t116 == null ? null : t116.pause(); + } + [_onResume]() { + let t116; + t116 = this[_subscription]; + t116 == null ? null : t116.resume(); + } + [_onCancel]() { + let subscription = this[_subscription]; + if (subscription != null) { + this[_subscription] = null; + return subscription.cancel(); + } + return null; + } + [_handleData$](data) { + S.as(data); + this[_stream$][_handleData$](data, this); + } + [_handleError$](error, stackTrace) { + if (stackTrace == null) dart.nullFailed(I[70], 156, 39, "stackTrace"); + this[_stream$][_handleError$](core.Object.as(error), stackTrace, this); + } + [_handleDone$]() { + this[_stream$][_handleDone$](this); + } + } + (_ForwardingStreamSubscription.new = function(_stream, onData, onError, onDone, cancelOnError) { + if (_stream == null) dart.nullFailed(I[70], 110, 38, "_stream"); + if (cancelOnError == null) dart.nullFailed(I[70], 111, 47, "cancelOnError"); + this[_subscription] = null; + this[_stream$] = _stream; + _ForwardingStreamSubscription.__proto__.new.call(this, onData, onError, onDone, cancelOnError); + this[_subscription] = this[_stream$][_source$4].listen(dart.bind(this, _handleData$), {onError: dart.bind(this, _handleError$), onDone: dart.bind(this, _handleDone$)}); + }).prototype = _ForwardingStreamSubscription.prototype; + dart.addTypeTests(_ForwardingStreamSubscription); + _ForwardingStreamSubscription.prototype[_is__ForwardingStreamSubscription_default] = true; + dart.addTypeCaches(_ForwardingStreamSubscription); + dart.setMethodSignature(_ForwardingStreamSubscription, () => ({ + __proto__: dart.getMethods(_ForwardingStreamSubscription.__proto__), + [_handleData$]: dart.fnType(dart.void, [dart.nullable(core.Object)]), + [_handleError$]: dart.fnType(dart.void, [dart.dynamic, core.StackTrace]), + [_handleDone$]: dart.fnType(dart.void, []) + })); + dart.setLibraryUri(_ForwardingStreamSubscription, I[29]); + dart.setFieldSignature(_ForwardingStreamSubscription, () => ({ + __proto__: dart.getFields(_ForwardingStreamSubscription.__proto__), + [_stream$]: dart.finalFieldType(async._ForwardingStream$(S, T)), + [_subscription]: dart.fieldType(dart.nullable(async.StreamSubscription$(S))) + })); + return _ForwardingStreamSubscription; + }); + async._ForwardingStreamSubscription = async._ForwardingStreamSubscription$(); + dart.addTypeTests(async._ForwardingStreamSubscription, _is__ForwardingStreamSubscription_default); + var _test = dart.privateName(async, "_test"); + const _is__WhereStream_default = Symbol('_is__WhereStream_default'); + async._WhereStream$ = dart.generic(T => { + class _WhereStream extends async._ForwardingStream$(T, T) { + [_handleData$](inputEvent, sink) { + let t116; + if (sink == null) dart.nullFailed(I[70], 186, 48, "sink"); + let satisfies = null; + try { + satisfies = (t116 = inputEvent, this[_test](t116)); + } catch (e$) { + let e = dart.getThrown(e$); + let s = dart.stackTrace(e$); + if (core.Object.is(e)) { + async._addErrorWithReplacement(sink, e, s); + return; + } else + throw e$; + } + if (dart.test(satisfies)) { + sink[_add](inputEvent); + } + } + } + (_WhereStream.new = function(source, test) { + if (source == null) dart.nullFailed(I[70], 182, 26, "source"); + if (test == null) dart.nullFailed(I[70], 182, 39, "test"); + this[_test] = test; + _WhereStream.__proto__.new.call(this, source); + ; + }).prototype = _WhereStream.prototype; + dart.addTypeTests(_WhereStream); + _WhereStream.prototype[_is__WhereStream_default] = true; + dart.addTypeCaches(_WhereStream); + dart.setMethodSignature(_WhereStream, () => ({ + __proto__: dart.getMethods(_WhereStream.__proto__), + [_handleData$]: dart.fnType(dart.void, [T, async._EventSink$(T)]) + })); + dart.setLibraryUri(_WhereStream, I[29]); + dart.setFieldSignature(_WhereStream, () => ({ + __proto__: dart.getFields(_WhereStream.__proto__), + [_test]: dart.finalFieldType(dart.fnType(core.bool, [T])) + })); + return _WhereStream; + }); + async._WhereStream = async._WhereStream$(); + dart.addTypeTests(async._WhereStream, _is__WhereStream_default); + var _transform = dart.privateName(async, "_transform"); + const _is__MapStream_default = Symbol('_is__MapStream_default'); + async._MapStream$ = dart.generic((S, T) => { + class _MapStream extends async._ForwardingStream$(S, T) { + [_handleData$](inputEvent, sink) { + let t117; + if (sink == null) dart.nullFailed(I[70], 210, 48, "sink"); + let outputEvent = null; + try { + outputEvent = (t117 = inputEvent, this[_transform](t117)); + } catch (e$) { + let e = dart.getThrown(e$); + let s = dart.stackTrace(e$); + if (core.Object.is(e)) { + async._addErrorWithReplacement(sink, e, s); + return; + } else + throw e$; + } + sink[_add](outputEvent); + } + } + (_MapStream.new = function(source, transform) { + if (source == null) dart.nullFailed(I[70], 206, 24, "source"); + if (transform == null) dart.nullFailed(I[70], 206, 34, "transform"); + this[_transform] = transform; + _MapStream.__proto__.new.call(this, source); + ; + }).prototype = _MapStream.prototype; + dart.addTypeTests(_MapStream); + _MapStream.prototype[_is__MapStream_default] = true; + dart.addTypeCaches(_MapStream); + dart.setMethodSignature(_MapStream, () => ({ + __proto__: dart.getMethods(_MapStream.__proto__), + [_handleData$]: dart.fnType(dart.void, [S, async._EventSink$(T)]) + })); + dart.setLibraryUri(_MapStream, I[29]); + dart.setFieldSignature(_MapStream, () => ({ + __proto__: dart.getFields(_MapStream.__proto__), + [_transform]: dart.finalFieldType(dart.fnType(T, [S])) + })); + return _MapStream; + }); + async._MapStream = async._MapStream$(); + dart.addTypeTests(async._MapStream, _is__MapStream_default); + var _expand = dart.privateName(async, "_expand"); + const _is__ExpandStream_default = Symbol('_is__ExpandStream_default'); + async._ExpandStream$ = dart.generic((S, T) => { + class _ExpandStream extends async._ForwardingStream$(S, T) { + [_handleData$](inputEvent, sink) { + let t118; + if (sink == null) dart.nullFailed(I[70], 230, 48, "sink"); + try { + for (let value of (t118 = inputEvent, this[_expand](t118))) { + sink[_add](value); + } + } catch (e$) { + let e = dart.getThrown(e$); + let s = dart.stackTrace(e$); + if (core.Object.is(e)) { + async._addErrorWithReplacement(sink, e, s); + } else + throw e$; + } + } + } + (_ExpandStream.new = function(source, expand) { + if (source == null) dart.nullFailed(I[70], 226, 27, "source"); + if (expand == null) dart.nullFailed(I[70], 226, 47, "expand"); + this[_expand] = expand; + _ExpandStream.__proto__.new.call(this, source); + ; + }).prototype = _ExpandStream.prototype; + dart.addTypeTests(_ExpandStream); + _ExpandStream.prototype[_is__ExpandStream_default] = true; + dart.addTypeCaches(_ExpandStream); + dart.setMethodSignature(_ExpandStream, () => ({ + __proto__: dart.getMethods(_ExpandStream.__proto__), + [_handleData$]: dart.fnType(dart.void, [S, async._EventSink$(T)]) + })); + dart.setLibraryUri(_ExpandStream, I[29]); + dart.setFieldSignature(_ExpandStream, () => ({ + __proto__: dart.getFields(_ExpandStream.__proto__), + [_expand]: dart.finalFieldType(dart.fnType(core.Iterable$(T), [S])) + })); + return _ExpandStream; + }); + async._ExpandStream = async._ExpandStream$(); + dart.addTypeTests(async._ExpandStream, _is__ExpandStream_default); + const _is__HandleErrorStream_default = Symbol('_is__HandleErrorStream_default'); + async._HandleErrorStream$ = dart.generic(T => { + class _HandleErrorStream extends async._ForwardingStream$(T, T) { + [_handleData$](data, sink) { + if (sink == null) dart.nullFailed(I[70], 255, 42, "sink"); + sink[_add](data); + } + [_handleError$](error, stackTrace, sink) { + if (error == null) dart.nullFailed(I[70], 259, 28, "error"); + if (stackTrace == null) dart.nullFailed(I[70], 259, 46, "stackTrace"); + if (sink == null) dart.nullFailed(I[70], 259, 72, "sink"); + let matches = true; + let test = this[_test]; + if (test != null) { + try { + matches = test(error); + } catch (e$) { + let e = dart.getThrown(e$); + let s = dart.stackTrace(e$); + if (core.Object.is(e)) { + async._addErrorWithReplacement(sink, e, s); + return; + } else + throw e$; + } + } + if (dart.test(matches)) { + try { + async._invokeErrorHandler(this[_transform], error, stackTrace); + } catch (e$0) { + let e = dart.getThrown(e$0); + let s = dart.stackTrace(e$0); + if (core.Object.is(e)) { + if (core.identical(e, error)) { + sink[_addError](error, stackTrace); + } else { + async._addErrorWithReplacement(sink, e, s); + } + return; + } else + throw e$0; + } + } else { + sink[_addError](error, stackTrace); + } + } + } + (_HandleErrorStream.new = function(source, onError, test) { + if (source == null) dart.nullFailed(I[70], 250, 17, "source"); + if (onError == null) dart.nullFailed(I[70], 250, 34, "onError"); + this[_transform] = onError; + this[_test] = test; + _HandleErrorStream.__proto__.new.call(this, source); + ; + }).prototype = _HandleErrorStream.prototype; + dart.addTypeTests(_HandleErrorStream); + _HandleErrorStream.prototype[_is__HandleErrorStream_default] = true; + dart.addTypeCaches(_HandleErrorStream); + dart.setMethodSignature(_HandleErrorStream, () => ({ + __proto__: dart.getMethods(_HandleErrorStream.__proto__), + [_handleData$]: dart.fnType(dart.void, [T, async._EventSink$(T)]), + [_handleError$]: dart.fnType(dart.void, [core.Object, core.StackTrace, async._EventSink$(T)]) + })); + dart.setLibraryUri(_HandleErrorStream, I[29]); + dart.setFieldSignature(_HandleErrorStream, () => ({ + __proto__: dart.getFields(_HandleErrorStream.__proto__), + [_transform]: dart.finalFieldType(core.Function), + [_test]: dart.finalFieldType(dart.nullable(dart.fnType(core.bool, [core.Object]))) + })); + return _HandleErrorStream; + }); + async._HandleErrorStream = async._HandleErrorStream$(); + dart.addTypeTests(async._HandleErrorStream, _is__HandleErrorStream_default); + var _count = dart.privateName(async, "_count"); + var _subState = dart.privateName(async, "_subState"); + const _is__TakeStream_default = Symbol('_is__TakeStream_default'); + async._TakeStream$ = dart.generic(T => { + var _DoneStreamSubscriptionOfT = () => (_DoneStreamSubscriptionOfT = dart.constFn(async._DoneStreamSubscription$(T)))(); + var _StateStreamSubscriptionOfint$T = () => (_StateStreamSubscriptionOfint$T = dart.constFn(async._StateStreamSubscription$(core.int, T)))(); + class _TakeStream extends async._ForwardingStream$(T, T) { + [_createSubscription](onData, onError, onDone, cancelOnError) { + if (cancelOnError == null) dart.nullFailed(I[70], 295, 47, "cancelOnError"); + if (this[_count] === 0) { + this[_source$4].listen(null).cancel(); + return new (_DoneStreamSubscriptionOfT()).new(onDone); + } + return new (_StateStreamSubscriptionOfint$T()).new(this, onData, onError, onDone, cancelOnError, this[_count]); + } + [_handleData$](inputEvent, sink) { + if (sink == null) dart.nullFailed(I[70], 304, 48, "sink"); + let subscription = _StateStreamSubscriptionOfint$T().as(sink); + let count = subscription[_subState]; + if (dart.notNull(count) > 0) { + sink[_add](inputEvent); + count = dart.notNull(count) - 1; + subscription[_subState] = count; + if (count === 0) { + sink[_close](); + } + } + } + } + (_TakeStream.new = function(source, count) { + if (source == null) dart.nullFailed(I[70], 290, 25, "source"); + if (count == null) dart.nullFailed(I[70], 290, 37, "count"); + this[_count] = count; + _TakeStream.__proto__.new.call(this, source); + ; + }).prototype = _TakeStream.prototype; + dart.addTypeTests(_TakeStream); + _TakeStream.prototype[_is__TakeStream_default] = true; + dart.addTypeCaches(_TakeStream); + dart.setMethodSignature(_TakeStream, () => ({ + __proto__: dart.getMethods(_TakeStream.__proto__), + [_handleData$]: dart.fnType(dart.void, [T, async._EventSink$(T)]) + })); + dart.setLibraryUri(_TakeStream, I[29]); + dart.setFieldSignature(_TakeStream, () => ({ + __proto__: dart.getFields(_TakeStream.__proto__), + [_count]: dart.finalFieldType(core.int) + })); + return _TakeStream; + }); + async._TakeStream = async._TakeStream$(); + dart.addTypeTests(async._TakeStream, _is__TakeStream_default); + var _subState$ = dart.privateName(async, "_StateStreamSubscription._subState"); + const _is__StateStreamSubscription_default = Symbol('_is__StateStreamSubscription_default'); + async._StateStreamSubscription$ = dart.generic((S, T) => { + class _StateStreamSubscription extends async._ForwardingStreamSubscription$(T, T) { + get [_subState]() { + return this[_subState$]; + } + set [_subState](value) { + this[_subState$] = S.as(value); + } + } + (_StateStreamSubscription.new = function(stream, onData, onError, onDone, cancelOnError, _subState) { + if (stream == null) dart.nullFailed(I[70], 327, 52, "stream"); + if (cancelOnError == null) dart.nullFailed(I[70], 328, 47, "cancelOnError"); + this[_subState$] = _subState; + _StateStreamSubscription.__proto__.new.call(this, stream, onData, onError, onDone, cancelOnError); + ; + }).prototype = _StateStreamSubscription.prototype; + dart.addTypeTests(_StateStreamSubscription); + _StateStreamSubscription.prototype[_is__StateStreamSubscription_default] = true; + dart.addTypeCaches(_StateStreamSubscription); + dart.setLibraryUri(_StateStreamSubscription, I[29]); + dart.setFieldSignature(_StateStreamSubscription, () => ({ + __proto__: dart.getFields(_StateStreamSubscription.__proto__), + [_subState]: dart.fieldType(S) + })); + return _StateStreamSubscription; + }); + async._StateStreamSubscription = async._StateStreamSubscription$(); + dart.addTypeTests(async._StateStreamSubscription, _is__StateStreamSubscription_default); + const _is__TakeWhileStream_default = Symbol('_is__TakeWhileStream_default'); + async._TakeWhileStream$ = dart.generic(T => { + class _TakeWhileStream extends async._ForwardingStream$(T, T) { + [_handleData$](inputEvent, sink) { + let t121; + if (sink == null) dart.nullFailed(I[70], 339, 48, "sink"); + let satisfies = null; + try { + satisfies = (t121 = inputEvent, this[_test](t121)); + } catch (e$) { + let e = dart.getThrown(e$); + let s = dart.stackTrace(e$); + if (core.Object.is(e)) { + async._addErrorWithReplacement(sink, e, s); + sink[_close](); + return; + } else + throw e$; + } + if (dart.test(satisfies)) { + sink[_add](inputEvent); + } else { + sink[_close](); + } + } + } + (_TakeWhileStream.new = function(source, test) { + if (source == null) dart.nullFailed(I[70], 335, 30, "source"); + if (test == null) dart.nullFailed(I[70], 335, 43, "test"); + this[_test] = test; + _TakeWhileStream.__proto__.new.call(this, source); + ; + }).prototype = _TakeWhileStream.prototype; + dart.addTypeTests(_TakeWhileStream); + _TakeWhileStream.prototype[_is__TakeWhileStream_default] = true; + dart.addTypeCaches(_TakeWhileStream); + dart.setMethodSignature(_TakeWhileStream, () => ({ + __proto__: dart.getMethods(_TakeWhileStream.__proto__), + [_handleData$]: dart.fnType(dart.void, [T, async._EventSink$(T)]) + })); + dart.setLibraryUri(_TakeWhileStream, I[29]); + dart.setFieldSignature(_TakeWhileStream, () => ({ + __proto__: dart.getFields(_TakeWhileStream.__proto__), + [_test]: dart.finalFieldType(dart.fnType(core.bool, [T])) + })); + return _TakeWhileStream; + }); + async._TakeWhileStream = async._TakeWhileStream$(); + dart.addTypeTests(async._TakeWhileStream, _is__TakeWhileStream_default); + const _is__SkipStream_default = Symbol('_is__SkipStream_default'); + async._SkipStream$ = dart.generic(T => { + var _StateStreamSubscriptionOfint$T = () => (_StateStreamSubscriptionOfint$T = dart.constFn(async._StateStreamSubscription$(core.int, T)))(); + class _SkipStream extends async._ForwardingStream$(T, T) { + [_createSubscription](onData, onError, onDone, cancelOnError) { + if (cancelOnError == null) dart.nullFailed(I[70], 369, 47, "cancelOnError"); + return new (_StateStreamSubscriptionOfint$T()).new(this, onData, onError, onDone, cancelOnError, this[_count]); + } + [_handleData$](inputEvent, sink) { + if (sink == null) dart.nullFailed(I[70], 374, 48, "sink"); + let subscription = _StateStreamSubscriptionOfint$T().as(sink); + let count = subscription[_subState]; + if (dart.notNull(count) > 0) { + subscription[_subState] = dart.notNull(count) - 1; + return; + } + sink[_add](inputEvent); + } + } + (_SkipStream.new = function(source, count) { + if (source == null) dart.nullFailed(I[70], 360, 25, "source"); + if (count == null) dart.nullFailed(I[70], 360, 37, "count"); + this[_count] = count; + _SkipStream.__proto__.new.call(this, source); + core.RangeError.checkNotNegative(count, "count"); + }).prototype = _SkipStream.prototype; + dart.addTypeTests(_SkipStream); + _SkipStream.prototype[_is__SkipStream_default] = true; + dart.addTypeCaches(_SkipStream); + dart.setMethodSignature(_SkipStream, () => ({ + __proto__: dart.getMethods(_SkipStream.__proto__), + [_handleData$]: dart.fnType(dart.void, [T, async._EventSink$(T)]) + })); + dart.setLibraryUri(_SkipStream, I[29]); + dart.setFieldSignature(_SkipStream, () => ({ + __proto__: dart.getFields(_SkipStream.__proto__), + [_count]: dart.finalFieldType(core.int) + })); + return _SkipStream; + }); + async._SkipStream = async._SkipStream$(); + dart.addTypeTests(async._SkipStream, _is__SkipStream_default); + const _is__SkipWhileStream_default = Symbol('_is__SkipWhileStream_default'); + async._SkipWhileStream$ = dart.generic(T => { + var _StateStreamSubscriptionOfbool$T = () => (_StateStreamSubscriptionOfbool$T = dart.constFn(async._StateStreamSubscription$(core.bool, T)))(); + class _SkipWhileStream extends async._ForwardingStream$(T, T) { + [_createSubscription](onData, onError, onDone, cancelOnError) { + if (cancelOnError == null) dart.nullFailed(I[70], 393, 47, "cancelOnError"); + return new (_StateStreamSubscriptionOfbool$T()).new(this, onData, onError, onDone, cancelOnError, false); + } + [_handleData$](inputEvent, sink) { + let t122; + if (sink == null) dart.nullFailed(I[70], 398, 48, "sink"); + let subscription = _StateStreamSubscriptionOfbool$T().as(sink); + let hasFailed = subscription[_subState]; + if (dart.test(hasFailed)) { + sink[_add](inputEvent); + return; + } + let satisfies = null; + try { + satisfies = (t122 = inputEvent, this[_test](t122)); + } catch (e$) { + let e = dart.getThrown(e$); + let s = dart.stackTrace(e$); + if (core.Object.is(e)) { + async._addErrorWithReplacement(sink, e, s); + subscription[_subState] = true; + return; + } else + throw e$; + } + if (!dart.test(satisfies)) { + subscription[_subState] = true; + sink[_add](inputEvent); + } + } + } + (_SkipWhileStream.new = function(source, test) { + if (source == null) dart.nullFailed(I[70], 388, 30, "source"); + if (test == null) dart.nullFailed(I[70], 388, 43, "test"); + this[_test] = test; + _SkipWhileStream.__proto__.new.call(this, source); + ; + }).prototype = _SkipWhileStream.prototype; + dart.addTypeTests(_SkipWhileStream); + _SkipWhileStream.prototype[_is__SkipWhileStream_default] = true; + dart.addTypeCaches(_SkipWhileStream); + dart.setMethodSignature(_SkipWhileStream, () => ({ + __proto__: dart.getMethods(_SkipWhileStream.__proto__), + [_handleData$]: dart.fnType(dart.void, [T, async._EventSink$(T)]) + })); + dart.setLibraryUri(_SkipWhileStream, I[29]); + dart.setFieldSignature(_SkipWhileStream, () => ({ + __proto__: dart.getFields(_SkipWhileStream.__proto__), + [_test]: dart.finalFieldType(dart.fnType(core.bool, [T])) + })); + return _SkipWhileStream; + }); + async._SkipWhileStream = async._SkipWhileStream$(); + dart.addTypeTests(async._SkipWhileStream, _is__SkipWhileStream_default); + var _equals = dart.privateName(async, "_equals"); + const _is__DistinctStream_default = Symbol('_is__DistinctStream_default'); + async._DistinctStream$ = dart.generic(T => { + var _StateStreamSubscriptionOfObjectN$T = () => (_StateStreamSubscriptionOfObjectN$T = dart.constFn(async._StateStreamSubscription$(T$.ObjectN(), T)))(); + class _DistinctStream extends async._ForwardingStream$(T, T) { + [_createSubscription](onData, onError, onDone, cancelOnError) { + if (cancelOnError == null) dart.nullFailed(I[70], 431, 47, "cancelOnError"); + return new (_StateStreamSubscriptionOfObjectN$T()).new(this, onData, onError, onDone, cancelOnError, async._DistinctStream._SENTINEL); + } + [_handleData$](inputEvent, sink) { + if (sink == null) dart.nullFailed(I[70], 436, 48, "sink"); + let subscription = _StateStreamSubscriptionOfObjectN$T().as(sink); + let previous = subscription[_subState]; + if (core.identical(previous, async._DistinctStream._SENTINEL)) { + subscription[_subState] = inputEvent; + sink[_add](inputEvent); + } else { + let previousEvent = T.as(previous); + let equals = this[_equals]; + let isEqual = null; + try { + if (equals == null) { + isEqual = dart.equals(previousEvent, inputEvent); + } else { + isEqual = equals(previousEvent, inputEvent); + } + } catch (e$) { + let e = dart.getThrown(e$); + let s = dart.stackTrace(e$); + if (core.Object.is(e)) { + async._addErrorWithReplacement(sink, e, s); + return; + } else + throw e$; + } + if (!dart.test(isEqual)) { + sink[_add](inputEvent); + subscription[_subState] = inputEvent; + } + } + } + } + (_DistinctStream.new = function(source, equals) { + if (source == null) dart.nullFailed(I[70], 426, 29, "source"); + this[_equals] = equals; + _DistinctStream.__proto__.new.call(this, source); + ; + }).prototype = _DistinctStream.prototype; + dart.addTypeTests(_DistinctStream); + _DistinctStream.prototype[_is__DistinctStream_default] = true; + dart.addTypeCaches(_DistinctStream); + dart.setMethodSignature(_DistinctStream, () => ({ + __proto__: dart.getMethods(_DistinctStream.__proto__), + [_handleData$]: dart.fnType(dart.void, [T, async._EventSink$(T)]) + })); + dart.setLibraryUri(_DistinctStream, I[29]); + dart.setFieldSignature(_DistinctStream, () => ({ + __proto__: dart.getFields(_DistinctStream.__proto__), + [_equals]: dart.finalFieldType(dart.nullable(dart.fnType(core.bool, [T, T]))) + })); + return _DistinctStream; + }); + async._DistinctStream = async._DistinctStream$(); + dart.defineLazy(async._DistinctStream, { + /*async._DistinctStream._SENTINEL*/get _SENTINEL() { + return new core.Object.new(); + } + }, false); + dart.addTypeTests(async._DistinctStream, _is__DistinctStream_default); + const _is__EventSinkWrapper_default = Symbol('_is__EventSinkWrapper_default'); + async._EventSinkWrapper$ = dart.generic(T => { + class _EventSinkWrapper extends core.Object { + add(data) { + T.as(data); + this[_sink$][_add](data); + } + addError(error, stackTrace = null) { + let t124; + if (error == null) dart.nullFailed(I[71], 16, 24, "error"); + this[_sink$][_addError](error, (t124 = stackTrace, t124 == null ? async.AsyncError.defaultStackTrace(error) : t124)); + } + close() { + this[_sink$][_close](); + } + } + (_EventSinkWrapper.new = function(_sink) { + if (_sink == null) dart.nullFailed(I[71], 10, 26, "_sink"); + this[_sink$] = _sink; + ; + }).prototype = _EventSinkWrapper.prototype; + dart.addTypeTests(_EventSinkWrapper); + _EventSinkWrapper.prototype[_is__EventSinkWrapper_default] = true; + dart.addTypeCaches(_EventSinkWrapper); + _EventSinkWrapper[dart.implements] = () => [async.EventSink$(T)]; + dart.setMethodSignature(_EventSinkWrapper, () => ({ + __proto__: dart.getMethods(_EventSinkWrapper.__proto__), + add: dart.fnType(dart.void, [dart.nullable(core.Object)]), + addError: dart.fnType(dart.void, [core.Object], [dart.nullable(core.StackTrace)]), + close: dart.fnType(dart.void, []) + })); + dart.setLibraryUri(_EventSinkWrapper, I[29]); + dart.setFieldSignature(_EventSinkWrapper, () => ({ + __proto__: dart.getFields(_EventSinkWrapper.__proto__), + [_sink$]: dart.fieldType(async._EventSink$(T)) + })); + return _EventSinkWrapper; + }); + async._EventSinkWrapper = async._EventSinkWrapper$(); + dart.addTypeTests(async._EventSinkWrapper, _is__EventSinkWrapper_default); + var ___SinkTransformerStreamSubscription__transformerSink = dart.privateName(async, "_#_SinkTransformerStreamSubscription#_transformerSink"); + var ___SinkTransformerStreamSubscription__transformerSink_isSet = dart.privateName(async, "_#_SinkTransformerStreamSubscription#_transformerSink#isSet"); + var _transformerSink = dart.privateName(async, "_transformerSink"); + const _is__SinkTransformerStreamSubscription_default = Symbol('_is__SinkTransformerStreamSubscription_default'); + async._SinkTransformerStreamSubscription$ = dart.generic((S, T) => { + var _EventSinkWrapperOfT = () => (_EventSinkWrapperOfT = dart.constFn(async._EventSinkWrapper$(T)))(); + class _SinkTransformerStreamSubscription extends async._BufferingStreamSubscription$(T) { + get [_transformerSink]() { + let t124; + return dart.test(this[___SinkTransformerStreamSubscription__transformerSink_isSet]) ? (t124 = this[___SinkTransformerStreamSubscription__transformerSink], t124) : dart.throw(new _internal.LateError.fieldNI("_transformerSink")); + } + set [_transformerSink](t124) { + if (t124 == null) dart.nullFailed(I[71], 33, 21, "null"); + this[___SinkTransformerStreamSubscription__transformerSink_isSet] = true; + this[___SinkTransformerStreamSubscription__transformerSink] = t124; + } + [_add](data) { + if (dart.test(this[_isClosed])) { + dart.throw(new core.StateError.new("Stream is already closed")); + } + super[_add](data); + } + [_addError](error, stackTrace) { + if (error == null) dart.nullFailed(I[71], 71, 25, "error"); + if (stackTrace == null) dart.nullFailed(I[71], 71, 43, "stackTrace"); + if (dart.test(this[_isClosed])) { + dart.throw(new core.StateError.new("Stream is already closed")); + } + super[_addError](error, stackTrace); + } + [_close]() { + if (dart.test(this[_isClosed])) { + dart.throw(new core.StateError.new("Stream is already closed")); + } + super[_close](); + } + [_onPause]() { + let t125; + t125 = this[_subscription]; + t125 == null ? null : t125.pause(); + } + [_onResume]() { + let t125; + t125 = this[_subscription]; + t125 == null ? null : t125.resume(); + } + [_onCancel]() { + let subscription = this[_subscription]; + if (subscription != null) { + this[_subscription] = null; + return subscription.cancel(); + } + return null; + } + [_handleData$](data) { + S.as(data); + try { + this[_transformerSink].add(data); + } catch (e$) { + let e = dart.getThrown(e$); + let s = dart.stackTrace(e$); + if (core.Object.is(e)) { + this[_addError](e, s); + } else + throw e$; + } + } + [_handleError$](error, stackTrace) { + if (error == null) dart.nullFailed(I[71], 117, 28, "error"); + if (stackTrace == null) dart.nullFailed(I[71], 117, 46, "stackTrace"); + try { + this[_transformerSink].addError(error, stackTrace); + } catch (e$) { + let e = dart.getThrown(e$); + let s = dart.stackTrace(e$); + if (core.Object.is(e)) { + if (core.identical(e, error)) { + this[_addError](error, stackTrace); + } else { + this[_addError](e, s); + } + } else + throw e$; + } + } + [_handleDone$]() { + try { + this[_subscription] = null; + this[_transformerSink].close(); + } catch (e$) { + let e = dart.getThrown(e$); + let s = dart.stackTrace(e$); + if (core.Object.is(e)) { + this[_addError](e, s); + } else + throw e$; + } + } + } + (_SinkTransformerStreamSubscription.new = function(source, mapper, onData, onError, onDone, cancelOnError) { + if (source == null) dart.nullFailed(I[71], 39, 17, "source"); + if (mapper == null) dart.nullFailed(I[71], 40, 25, "mapper"); + if (cancelOnError == null) dart.nullFailed(I[71], 44, 12, "cancelOnError"); + this[___SinkTransformerStreamSubscription__transformerSink] = null; + this[___SinkTransformerStreamSubscription__transformerSink_isSet] = false; + this[_subscription] = null; + _SinkTransformerStreamSubscription.__proto__.new.call(this, onData, onError, onDone, cancelOnError); + this[_transformerSink] = mapper(new (_EventSinkWrapperOfT()).new(this)); + this[_subscription] = source.listen(dart.bind(this, _handleData$), {onError: dart.bind(this, _handleError$), onDone: dart.bind(this, _handleDone$)}); + }).prototype = _SinkTransformerStreamSubscription.prototype; + dart.addTypeTests(_SinkTransformerStreamSubscription); + _SinkTransformerStreamSubscription.prototype[_is__SinkTransformerStreamSubscription_default] = true; + dart.addTypeCaches(_SinkTransformerStreamSubscription); + dart.setMethodSignature(_SinkTransformerStreamSubscription, () => ({ + __proto__: dart.getMethods(_SinkTransformerStreamSubscription.__proto__), + [_add]: dart.fnType(dart.void, [T]), + [_handleData$]: dart.fnType(dart.void, [dart.nullable(core.Object)]), + [_handleError$]: dart.fnType(dart.void, [core.Object, core.StackTrace]), + [_handleDone$]: dart.fnType(dart.void, []) + })); + dart.setGetterSignature(_SinkTransformerStreamSubscription, () => ({ + __proto__: dart.getGetters(_SinkTransformerStreamSubscription.__proto__), + [_transformerSink]: async.EventSink$(S) + })); + dart.setSetterSignature(_SinkTransformerStreamSubscription, () => ({ + __proto__: dart.getSetters(_SinkTransformerStreamSubscription.__proto__), + [_transformerSink]: async.EventSink$(S) + })); + dart.setLibraryUri(_SinkTransformerStreamSubscription, I[29]); + dart.setFieldSignature(_SinkTransformerStreamSubscription, () => ({ + __proto__: dart.getFields(_SinkTransformerStreamSubscription.__proto__), + [___SinkTransformerStreamSubscription__transformerSink]: dart.fieldType(dart.nullable(async.EventSink$(S))), + [___SinkTransformerStreamSubscription__transformerSink_isSet]: dart.fieldType(core.bool), + [_subscription]: dart.fieldType(dart.nullable(async.StreamSubscription$(S))) + })); + return _SinkTransformerStreamSubscription; + }); + async._SinkTransformerStreamSubscription = async._SinkTransformerStreamSubscription$(); + dart.addTypeTests(async._SinkTransformerStreamSubscription, _is__SinkTransformerStreamSubscription_default); + var _sinkMapper$ = dart.privateName(async, "_StreamSinkTransformer._sinkMapper"); + var _sinkMapper$0 = dart.privateName(async, "_sinkMapper"); + const _is__StreamSinkTransformer_default = Symbol('_is__StreamSinkTransformer_default'); + async._StreamSinkTransformer$ = dart.generic((S, T) => { + var StreamOfS = () => (StreamOfS = dart.constFn(async.Stream$(S)))(); + var _BoundSinkStreamOfS$T = () => (_BoundSinkStreamOfS$T = dart.constFn(async._BoundSinkStream$(S, T)))(); + class _StreamSinkTransformer extends async.StreamTransformerBase$(S, T) { + get [_sinkMapper$0]() { + return this[_sinkMapper$]; + } + set [_sinkMapper$0](value) { + super[_sinkMapper$0] = value; + } + bind(stream) { + StreamOfS().as(stream); + if (stream == null) dart.nullFailed(I[71], 151, 28, "stream"); + return new (_BoundSinkStreamOfS$T()).new(stream, this[_sinkMapper$0]); + } + } + (_StreamSinkTransformer.new = function(_sinkMapper) { + if (_sinkMapper == null) dart.nullFailed(I[71], 149, 37, "_sinkMapper"); + this[_sinkMapper$] = _sinkMapper; + _StreamSinkTransformer.__proto__.new.call(this); + ; + }).prototype = _StreamSinkTransformer.prototype; + dart.addTypeTests(_StreamSinkTransformer); + _StreamSinkTransformer.prototype[_is__StreamSinkTransformer_default] = true; + dart.addTypeCaches(_StreamSinkTransformer); + dart.setMethodSignature(_StreamSinkTransformer, () => ({ + __proto__: dart.getMethods(_StreamSinkTransformer.__proto__), + bind: dart.fnType(async.Stream$(T), [dart.nullable(core.Object)]) + })); + dart.setLibraryUri(_StreamSinkTransformer, I[29]); + dart.setFieldSignature(_StreamSinkTransformer, () => ({ + __proto__: dart.getFields(_StreamSinkTransformer.__proto__), + [_sinkMapper$0]: dart.finalFieldType(dart.fnType(async.EventSink$(S), [async.EventSink$(T)])) + })); + return _StreamSinkTransformer; + }); + async._StreamSinkTransformer = async._StreamSinkTransformer$(); + dart.addTypeTests(async._StreamSinkTransformer, _is__StreamSinkTransformer_default); + const _is__BoundSinkStream_default = Symbol('_is__BoundSinkStream_default'); + async._BoundSinkStream$ = dart.generic((S, T) => { + var _SinkTransformerStreamSubscriptionOfS$T = () => (_SinkTransformerStreamSubscriptionOfS$T = dart.constFn(async._SinkTransformerStreamSubscription$(S, T)))(); + class _BoundSinkStream extends async.Stream$(T) { + get isBroadcast() { + return this[_stream$].isBroadcast; + } + listen(onData, opts) { + let t128; + let onError = opts && 'onError' in opts ? opts.onError : null; + let onDone = opts && 'onDone' in opts ? opts.onDone : null; + let cancelOnError = opts && 'cancelOnError' in opts ? opts.cancelOnError : null; + let subscription = new (_SinkTransformerStreamSubscriptionOfS$T()).new(this[_stream$], this[_sinkMapper$0], onData, onError, onDone, (t128 = cancelOnError, t128 == null ? false : t128)); + return subscription; + } + } + (_BoundSinkStream.new = function(_stream, _sinkMapper) { + if (_stream == null) dart.nullFailed(I[71], 166, 25, "_stream"); + if (_sinkMapper == null) dart.nullFailed(I[71], 166, 39, "_sinkMapper"); + this[_stream$] = _stream; + this[_sinkMapper$0] = _sinkMapper; + _BoundSinkStream.__proto__.new.call(this); + ; + }).prototype = _BoundSinkStream.prototype; + dart.addTypeTests(_BoundSinkStream); + _BoundSinkStream.prototype[_is__BoundSinkStream_default] = true; + dart.addTypeCaches(_BoundSinkStream); + dart.setMethodSignature(_BoundSinkStream, () => ({ + __proto__: dart.getMethods(_BoundSinkStream.__proto__), + listen: dart.fnType(async.StreamSubscription$(T), [dart.nullable(dart.fnType(dart.void, [T]))], {cancelOnError: dart.nullable(core.bool), onDone: dart.nullable(dart.fnType(dart.void, [])), onError: dart.nullable(core.Function)}, {}) + })); + dart.setLibraryUri(_BoundSinkStream, I[29]); + dart.setFieldSignature(_BoundSinkStream, () => ({ + __proto__: dart.getFields(_BoundSinkStream.__proto__), + [_sinkMapper$0]: dart.finalFieldType(dart.fnType(async.EventSink$(S), [async.EventSink$(T)])), + [_stream$]: dart.finalFieldType(async.Stream$(S)) + })); + return _BoundSinkStream; + }); + async._BoundSinkStream = async._BoundSinkStream$(); + dart.addTypeTests(async._BoundSinkStream, _is__BoundSinkStream_default); + const _is__HandlerEventSink_default = Symbol('_is__HandlerEventSink_default'); + async._HandlerEventSink$ = dart.generic((S, T) => { + class _HandlerEventSink extends core.Object { + add(data) { + S.as(data); + let sink = this[_sink$]; + if (sink == null) { + dart.throw(new core.StateError.new("Sink is closed")); + } + let handleData = this[_handleData$]; + if (handleData != null) { + handleData(data, sink); + } else { + sink.add(T.as(data)); + } + } + addError(error, stackTrace = null) { + if (error == null) dart.nullFailed(I[71], 215, 24, "error"); + _internal.checkNotNullable(core.Object, error, "error"); + let sink = this[_sink$]; + if (sink == null) { + dart.throw(new core.StateError.new("Sink is closed")); + } + let handleError = this[_handleError$]; + stackTrace == null ? stackTrace = async.AsyncError.defaultStackTrace(error) : null; + if (handleError != null) { + handleError(error, stackTrace, sink); + } else { + sink.addError(error, stackTrace); + } + } + close() { + let sink = this[_sink$]; + if (sink == null) return; + this[_sink$] = null; + let handleDone = this[_handleDone$]; + if (handleDone != null) { + handleDone(sink); + } else { + sink.close(); + } + } + } + (_HandlerEventSink.new = function(_handleData, _handleError, _handleDone, _sink) { + if (_sink == null) dart.nullFailed(I[71], 200, 25, "_sink"); + this[_handleData$] = _handleData; + this[_handleError$] = _handleError; + this[_handleDone$] = _handleDone; + this[_sink$] = _sink; + ; + }).prototype = _HandlerEventSink.prototype; + dart.addTypeTests(_HandlerEventSink); + _HandlerEventSink.prototype[_is__HandlerEventSink_default] = true; + dart.addTypeCaches(_HandlerEventSink); + _HandlerEventSink[dart.implements] = () => [async.EventSink$(S)]; + dart.setMethodSignature(_HandlerEventSink, () => ({ + __proto__: dart.getMethods(_HandlerEventSink.__proto__), + add: dart.fnType(dart.void, [dart.nullable(core.Object)]), + addError: dart.fnType(dart.void, [core.Object], [dart.nullable(core.StackTrace)]), + close: dart.fnType(dart.void, []) + })); + dart.setLibraryUri(_HandlerEventSink, I[29]); + dart.setFieldSignature(_HandlerEventSink, () => ({ + __proto__: dart.getFields(_HandlerEventSink.__proto__), + [_handleData$]: dart.finalFieldType(dart.nullable(dart.fnType(dart.void, [S, async.EventSink$(T)]))), + [_handleError$]: dart.finalFieldType(dart.nullable(dart.fnType(dart.void, [core.Object, core.StackTrace, async.EventSink$(T)]))), + [_handleDone$]: dart.finalFieldType(dart.nullable(dart.fnType(dart.void, [async.EventSink$(T)]))), + [_sink$]: dart.fieldType(dart.nullable(async.EventSink$(T))) + })); + return _HandlerEventSink; + }); + async._HandlerEventSink = async._HandlerEventSink$(); + dart.addTypeTests(async._HandlerEventSink, _is__HandlerEventSink_default); + const _is__StreamHandlerTransformer_default = Symbol('_is__StreamHandlerTransformer_default'); + async._StreamHandlerTransformer$ = dart.generic((S, T) => { + var _HandlerEventSinkOfS$T = () => (_HandlerEventSinkOfS$T = dart.constFn(async._HandlerEventSink$(S, T)))(); + var EventSinkOfTTo_HandlerEventSinkOfS$T = () => (EventSinkOfTTo_HandlerEventSinkOfS$T = dart.constFn(dart.fnType(_HandlerEventSinkOfS$T(), [EventSinkOfT()])))(); + var StreamOfS = () => (StreamOfS = dart.constFn(async.Stream$(S)))(); + var EventSinkOfT = () => (EventSinkOfT = dart.constFn(async.EventSink$(T)))(); + class _StreamHandlerTransformer extends async._StreamSinkTransformer$(S, T) { + bind(stream) { + StreamOfS().as(stream); + if (stream == null) dart.nullFailed(I[71], 256, 28, "stream"); + return super.bind(stream); + } + } + (_StreamHandlerTransformer.new = function(opts) { + let handleData = opts && 'handleData' in opts ? opts.handleData : null; + let handleError = opts && 'handleError' in opts ? opts.handleError : null; + let handleDone = opts && 'handleDone' in opts ? opts.handleDone : null; + _StreamHandlerTransformer.__proto__.new.call(this, dart.fn(outputSink => { + if (outputSink == null) dart.nullFailed(I[71], 251, 29, "outputSink"); + return new (_HandlerEventSinkOfS$T()).new(handleData, handleError, handleDone, outputSink); + }, EventSinkOfTTo_HandlerEventSinkOfS$T())); + ; + }).prototype = _StreamHandlerTransformer.prototype; + dart.addTypeTests(_StreamHandlerTransformer); + _StreamHandlerTransformer.prototype[_is__StreamHandlerTransformer_default] = true; + dart.addTypeCaches(_StreamHandlerTransformer); + dart.setLibraryUri(_StreamHandlerTransformer, I[29]); + return _StreamHandlerTransformer; + }); + async._StreamHandlerTransformer = async._StreamHandlerTransformer$(); + dart.addTypeTests(async._StreamHandlerTransformer, _is__StreamHandlerTransformer_default); + var _bind$ = dart.privateName(async, "_bind"); + const _is__StreamBindTransformer_default = Symbol('_is__StreamBindTransformer_default'); + async._StreamBindTransformer$ = dart.generic((S, T) => { + var StreamOfS = () => (StreamOfS = dart.constFn(async.Stream$(S)))(); + class _StreamBindTransformer extends async.StreamTransformerBase$(S, T) { + bind(stream) { + let t128; + StreamOfS().as(stream); + if (stream == null) dart.nullFailed(I[71], 266, 28, "stream"); + t128 = stream; + return this[_bind$](t128); + } + } + (_StreamBindTransformer.new = function(_bind) { + if (_bind == null) dart.nullFailed(I[71], 264, 31, "_bind"); + this[_bind$] = _bind; + _StreamBindTransformer.__proto__.new.call(this); + ; + }).prototype = _StreamBindTransformer.prototype; + dart.addTypeTests(_StreamBindTransformer); + _StreamBindTransformer.prototype[_is__StreamBindTransformer_default] = true; + dart.addTypeCaches(_StreamBindTransformer); + dart.setMethodSignature(_StreamBindTransformer, () => ({ + __proto__: dart.getMethods(_StreamBindTransformer.__proto__), + bind: dart.fnType(async.Stream$(T), [dart.nullable(core.Object)]) + })); + dart.setLibraryUri(_StreamBindTransformer, I[29]); + dart.setFieldSignature(_StreamBindTransformer, () => ({ + __proto__: dart.getFields(_StreamBindTransformer.__proto__), + [_bind$]: dart.finalFieldType(dart.fnType(async.Stream$(T), [async.Stream$(S)])) + })); + return _StreamBindTransformer; + }); + async._StreamBindTransformer = async._StreamBindTransformer$(); + dart.addTypeTests(async._StreamBindTransformer, _is__StreamBindTransformer_default); + var _onListen$0 = dart.privateName(async, "_StreamSubscriptionTransformer._onListen"); + const _is__StreamSubscriptionTransformer_default = Symbol('_is__StreamSubscriptionTransformer_default'); + async._StreamSubscriptionTransformer$ = dart.generic((S, T) => { + var StreamOfS = () => (StreamOfS = dart.constFn(async.Stream$(S)))(); + var _BoundSubscriptionStreamOfS$T = () => (_BoundSubscriptionStreamOfS$T = dart.constFn(async._BoundSubscriptionStream$(S, T)))(); + class _StreamSubscriptionTransformer extends async.StreamTransformerBase$(S, T) { + get [_onListen$]() { + return this[_onListen$0]; + } + set [_onListen$](value) { + super[_onListen$] = value; + } + bind(stream) { + StreamOfS().as(stream); + if (stream == null) dart.nullFailed(I[71], 288, 28, "stream"); + return new (_BoundSubscriptionStreamOfS$T()).new(stream, this[_onListen$]); + } + } + (_StreamSubscriptionTransformer.new = function(_onListen) { + if (_onListen == null) dart.nullFailed(I[71], 286, 45, "_onListen"); + this[_onListen$0] = _onListen; + _StreamSubscriptionTransformer.__proto__.new.call(this); + ; + }).prototype = _StreamSubscriptionTransformer.prototype; + dart.addTypeTests(_StreamSubscriptionTransformer); + _StreamSubscriptionTransformer.prototype[_is__StreamSubscriptionTransformer_default] = true; + dart.addTypeCaches(_StreamSubscriptionTransformer); + dart.setMethodSignature(_StreamSubscriptionTransformer, () => ({ + __proto__: dart.getMethods(_StreamSubscriptionTransformer.__proto__), + bind: dart.fnType(async.Stream$(T), [dart.nullable(core.Object)]) + })); + dart.setLibraryUri(_StreamSubscriptionTransformer, I[29]); + dart.setFieldSignature(_StreamSubscriptionTransformer, () => ({ + __proto__: dart.getFields(_StreamSubscriptionTransformer.__proto__), + [_onListen$]: dart.finalFieldType(dart.fnType(async.StreamSubscription$(T), [async.Stream$(S), core.bool])) + })); + return _StreamSubscriptionTransformer; + }); + async._StreamSubscriptionTransformer = async._StreamSubscriptionTransformer$(); + dart.addTypeTests(async._StreamSubscriptionTransformer, _is__StreamSubscriptionTransformer_default); + const _is__BoundSubscriptionStream_default = Symbol('_is__BoundSubscriptionStream_default'); + async._BoundSubscriptionStream$ = dart.generic((S, T) => { + class _BoundSubscriptionStream extends async.Stream$(T) { + get isBroadcast() { + return this[_stream$].isBroadcast; + } + listen(onData, opts) { + let t128, t129, t128$; + let onError = opts && 'onError' in opts ? opts.onError : null; + let onDone = opts && 'onDone' in opts ? opts.onDone : null; + let cancelOnError = opts && 'cancelOnError' in opts ? opts.cancelOnError : null; + let result = (t128$ = this[_stream$], t129 = (t128 = cancelOnError, t128 == null ? false : t128), this[_onListen$](t128$, t129)); + result.onData(onData); + result.onError(onError); + result.onDone(onDone); + return result; + } + } + (_BoundSubscriptionStream.new = function(_stream, _onListen) { + if (_stream == null) dart.nullFailed(I[71], 303, 33, "_stream"); + if (_onListen == null) dart.nullFailed(I[71], 303, 47, "_onListen"); + this[_stream$] = _stream; + this[_onListen$] = _onListen; + _BoundSubscriptionStream.__proto__.new.call(this); + ; + }).prototype = _BoundSubscriptionStream.prototype; + dart.addTypeTests(_BoundSubscriptionStream); + _BoundSubscriptionStream.prototype[_is__BoundSubscriptionStream_default] = true; + dart.addTypeCaches(_BoundSubscriptionStream); + dart.setMethodSignature(_BoundSubscriptionStream, () => ({ + __proto__: dart.getMethods(_BoundSubscriptionStream.__proto__), + listen: dart.fnType(async.StreamSubscription$(T), [dart.nullable(dart.fnType(dart.void, [T]))], {cancelOnError: dart.nullable(core.bool), onDone: dart.nullable(dart.fnType(dart.void, [])), onError: dart.nullable(core.Function)}, {}) + })); + dart.setLibraryUri(_BoundSubscriptionStream, I[29]); + dart.setFieldSignature(_BoundSubscriptionStream, () => ({ + __proto__: dart.getFields(_BoundSubscriptionStream.__proto__), + [_onListen$]: dart.finalFieldType(dart.fnType(async.StreamSubscription$(T), [async.Stream$(S), core.bool])), + [_stream$]: dart.finalFieldType(async.Stream$(S)) + })); + return _BoundSubscriptionStream; + }); + async._BoundSubscriptionStream = async._BoundSubscriptionStream$(); + dart.addTypeTests(async._BoundSubscriptionStream, _is__BoundSubscriptionStream_default); + async.Timer = class Timer extends core.Object { + static new(duration, callback) { + if (duration == null) dart.nullFailed(I[72], 41, 26, "duration"); + if (callback == null) dart.nullFailed(I[72], 41, 52, "callback"); + if (dart.equals(async.Zone.current, async.Zone.root)) { + return async.Zone.current.createTimer(duration, callback); + } + return async.Zone.current.createTimer(duration, async.Zone.current.bindCallbackGuarded(callback)); + } + static periodic(duration, callback) { + if (duration == null) dart.nullFailed(I[72], 67, 35, "duration"); + if (callback == null) dart.nullFailed(I[72], 67, 50, "callback"); + if (dart.equals(async.Zone.current, async.Zone.root)) { + return async.Zone.current.createPeriodicTimer(duration, callback); + } + let boundCallback = async.Zone.current.bindUnaryCallbackGuarded(async.Timer, callback); + return async.Zone.current.createPeriodicTimer(duration, boundCallback); + } + static run(callback) { + if (callback == null) dart.nullFailed(I[72], 80, 35, "callback"); + async.Timer.new(core.Duration.zero, callback); + } + static _createTimer(duration, callback) { + if (duration == null) dart.nullFailed(I[61], 183, 38, "duration"); + if (callback == null) dart.nullFailed(I[61], 183, 64, "callback"); + let milliseconds = duration.inMilliseconds; + if (dart.notNull(milliseconds) < 0) milliseconds = 0; + return new _isolate_helper.TimerImpl.new(milliseconds, callback); + } + static _createPeriodicTimer(duration, callback) { + if (duration == null) dart.nullFailed(I[61], 191, 16, "duration"); + if (callback == null) dart.nullFailed(I[61], 191, 31, "callback"); + let milliseconds = duration.inMilliseconds; + if (dart.notNull(milliseconds) < 0) milliseconds = 0; + return new _isolate_helper.TimerImpl.periodic(milliseconds, callback); + } + }; + (async.Timer[dart.mixinNew] = function() { + }).prototype = async.Timer.prototype; + dart.addTypeTests(async.Timer); + dart.addTypeCaches(async.Timer); + dart.setLibraryUri(async.Timer, I[29]); + var zone$ = dart.privateName(async, "_ZoneFunction.zone"); + var $function$0 = dart.privateName(async, "_ZoneFunction.function"); + const _is__ZoneFunction_default = Symbol('_is__ZoneFunction_default'); + async._ZoneFunction$ = dart.generic(T => { + class _ZoneFunction extends core.Object { + get zone() { + return this[zone$]; + } + set zone(value) { + super.zone = value; + } + get function() { + return this[$function$0]; + } + set function(value) { + super.function = value; + } + } + (_ZoneFunction.new = function(zone, $function) { + if (zone == null) dart.nullFailed(I[73], 244, 28, "zone"); + if ($function == null) dart.nullFailed(I[73], 244, 39, "function"); + this[zone$] = zone; + this[$function$0] = $function; + ; + }).prototype = _ZoneFunction.prototype; + dart.addTypeTests(_ZoneFunction); + _ZoneFunction.prototype[_is__ZoneFunction_default] = true; + dart.addTypeCaches(_ZoneFunction); + dart.setLibraryUri(_ZoneFunction, I[29]); + dart.setFieldSignature(_ZoneFunction, () => ({ + __proto__: dart.getFields(_ZoneFunction.__proto__), + zone: dart.finalFieldType(async._Zone), + function: dart.finalFieldType(T) + })); + return _ZoneFunction; + }); + async._ZoneFunction = async._ZoneFunction$(); + dart.addTypeTests(async._ZoneFunction, _is__ZoneFunction_default); + var zone$0 = dart.privateName(async, "_RunNullaryZoneFunction.zone"); + var $function$1 = dart.privateName(async, "_RunNullaryZoneFunction.function"); + async._RunNullaryZoneFunction = class _RunNullaryZoneFunction extends core.Object { + get zone() { + return this[zone$0]; + } + set zone(value) { + super.zone = value; + } + get function() { + return this[$function$1]; + } + set function(value) { + super.function = value; + } + }; + (async._RunNullaryZoneFunction.new = function(zone, $function) { + if (zone == null) dart.nullFailed(I[73], 250, 38, "zone"); + if ($function == null) dart.nullFailed(I[73], 250, 49, "function"); + this[zone$0] = zone; + this[$function$1] = $function; + ; + }).prototype = async._RunNullaryZoneFunction.prototype; + dart.addTypeTests(async._RunNullaryZoneFunction); + dart.addTypeCaches(async._RunNullaryZoneFunction); + dart.setLibraryUri(async._RunNullaryZoneFunction, I[29]); + dart.setFieldSignature(async._RunNullaryZoneFunction, () => ({ + __proto__: dart.getFields(async._RunNullaryZoneFunction.__proto__), + zone: dart.finalFieldType(async._Zone), + function: dart.finalFieldType(dart.gFnType(R => [R, [async.Zone, async.ZoneDelegate, async.Zone, dart.fnType(R, [])]], R => [dart.nullable(core.Object)])) + })); + var zone$1 = dart.privateName(async, "_RunUnaryZoneFunction.zone"); + var $function$2 = dart.privateName(async, "_RunUnaryZoneFunction.function"); + async._RunUnaryZoneFunction = class _RunUnaryZoneFunction extends core.Object { + get zone() { + return this[zone$1]; + } + set zone(value) { + super.zone = value; + } + get function() { + return this[$function$2]; + } + set function(value) { + super.function = value; + } + }; + (async._RunUnaryZoneFunction.new = function(zone, $function) { + if (zone == null) dart.nullFailed(I[73], 256, 36, "zone"); + if ($function == null) dart.nullFailed(I[73], 256, 47, "function"); + this[zone$1] = zone; + this[$function$2] = $function; + ; + }).prototype = async._RunUnaryZoneFunction.prototype; + dart.addTypeTests(async._RunUnaryZoneFunction); + dart.addTypeCaches(async._RunUnaryZoneFunction); + dart.setLibraryUri(async._RunUnaryZoneFunction, I[29]); + dart.setFieldSignature(async._RunUnaryZoneFunction, () => ({ + __proto__: dart.getFields(async._RunUnaryZoneFunction.__proto__), + zone: dart.finalFieldType(async._Zone), + function: dart.finalFieldType(dart.gFnType((R, T) => [R, [async.Zone, async.ZoneDelegate, async.Zone, dart.fnType(R, [T]), T]], (R, T) => [dart.nullable(core.Object), dart.nullable(core.Object)])) + })); + var zone$2 = dart.privateName(async, "_RunBinaryZoneFunction.zone"); + var $function$3 = dart.privateName(async, "_RunBinaryZoneFunction.function"); + async._RunBinaryZoneFunction = class _RunBinaryZoneFunction extends core.Object { + get zone() { + return this[zone$2]; + } + set zone(value) { + super.zone = value; + } + get function() { + return this[$function$3]; + } + set function(value) { + super.function = value; + } + }; + (async._RunBinaryZoneFunction.new = function(zone, $function) { + if (zone == null) dart.nullFailed(I[73], 262, 37, "zone"); + if ($function == null) dart.nullFailed(I[73], 262, 48, "function"); + this[zone$2] = zone; + this[$function$3] = $function; + ; + }).prototype = async._RunBinaryZoneFunction.prototype; + dart.addTypeTests(async._RunBinaryZoneFunction); + dart.addTypeCaches(async._RunBinaryZoneFunction); + dart.setLibraryUri(async._RunBinaryZoneFunction, I[29]); + dart.setFieldSignature(async._RunBinaryZoneFunction, () => ({ + __proto__: dart.getFields(async._RunBinaryZoneFunction.__proto__), + zone: dart.finalFieldType(async._Zone), + function: dart.finalFieldType(dart.gFnType((R, T1, T2) => [R, [async.Zone, async.ZoneDelegate, async.Zone, dart.fnType(R, [T1, T2]), T1, T2]], (R, T1, T2) => [dart.nullable(core.Object), dart.nullable(core.Object), dart.nullable(core.Object)])) + })); + var zone$3 = dart.privateName(async, "_RegisterNullaryZoneFunction.zone"); + var $function$4 = dart.privateName(async, "_RegisterNullaryZoneFunction.function"); + async._RegisterNullaryZoneFunction = class _RegisterNullaryZoneFunction extends core.Object { + get zone() { + return this[zone$3]; + } + set zone(value) { + super.zone = value; + } + get function() { + return this[$function$4]; + } + set function(value) { + super.function = value; + } + }; + (async._RegisterNullaryZoneFunction.new = function(zone, $function) { + if (zone == null) dart.nullFailed(I[73], 268, 43, "zone"); + if ($function == null) dart.nullFailed(I[73], 268, 54, "function"); + this[zone$3] = zone; + this[$function$4] = $function; + ; + }).prototype = async._RegisterNullaryZoneFunction.prototype; + dart.addTypeTests(async._RegisterNullaryZoneFunction); + dart.addTypeCaches(async._RegisterNullaryZoneFunction); + dart.setLibraryUri(async._RegisterNullaryZoneFunction, I[29]); + dart.setFieldSignature(async._RegisterNullaryZoneFunction, () => ({ + __proto__: dart.getFields(async._RegisterNullaryZoneFunction.__proto__), + zone: dart.finalFieldType(async._Zone), + function: dart.finalFieldType(dart.gFnType(R => [dart.fnType(R, []), [async.Zone, async.ZoneDelegate, async.Zone, dart.fnType(R, [])]], R => [dart.nullable(core.Object)])) + })); + var zone$4 = dart.privateName(async, "_RegisterUnaryZoneFunction.zone"); + var $function$5 = dart.privateName(async, "_RegisterUnaryZoneFunction.function"); + async._RegisterUnaryZoneFunction = class _RegisterUnaryZoneFunction extends core.Object { + get zone() { + return this[zone$4]; + } + set zone(value) { + super.zone = value; + } + get function() { + return this[$function$5]; + } + set function(value) { + super.function = value; + } + }; + (async._RegisterUnaryZoneFunction.new = function(zone, $function) { + if (zone == null) dart.nullFailed(I[73], 274, 41, "zone"); + if ($function == null) dart.nullFailed(I[73], 274, 52, "function"); + this[zone$4] = zone; + this[$function$5] = $function; + ; + }).prototype = async._RegisterUnaryZoneFunction.prototype; + dart.addTypeTests(async._RegisterUnaryZoneFunction); + dart.addTypeCaches(async._RegisterUnaryZoneFunction); + dart.setLibraryUri(async._RegisterUnaryZoneFunction, I[29]); + dart.setFieldSignature(async._RegisterUnaryZoneFunction, () => ({ + __proto__: dart.getFields(async._RegisterUnaryZoneFunction.__proto__), + zone: dart.finalFieldType(async._Zone), + function: dart.finalFieldType(dart.gFnType((R, T) => [dart.fnType(R, [T]), [async.Zone, async.ZoneDelegate, async.Zone, dart.fnType(R, [T])]], (R, T) => [dart.nullable(core.Object), dart.nullable(core.Object)])) + })); + var zone$5 = dart.privateName(async, "_RegisterBinaryZoneFunction.zone"); + var $function$6 = dart.privateName(async, "_RegisterBinaryZoneFunction.function"); + async._RegisterBinaryZoneFunction = class _RegisterBinaryZoneFunction extends core.Object { + get zone() { + return this[zone$5]; + } + set zone(value) { + super.zone = value; + } + get function() { + return this[$function$6]; + } + set function(value) { + super.function = value; + } + }; + (async._RegisterBinaryZoneFunction.new = function(zone, $function) { + if (zone == null) dart.nullFailed(I[73], 280, 42, "zone"); + if ($function == null) dart.nullFailed(I[73], 280, 53, "function"); + this[zone$5] = zone; + this[$function$6] = $function; + ; + }).prototype = async._RegisterBinaryZoneFunction.prototype; + dart.addTypeTests(async._RegisterBinaryZoneFunction); + dart.addTypeCaches(async._RegisterBinaryZoneFunction); + dart.setLibraryUri(async._RegisterBinaryZoneFunction, I[29]); + dart.setFieldSignature(async._RegisterBinaryZoneFunction, () => ({ + __proto__: dart.getFields(async._RegisterBinaryZoneFunction.__proto__), + zone: dart.finalFieldType(async._Zone), + function: dart.finalFieldType(dart.gFnType((R, T1, T2) => [dart.fnType(R, [T1, T2]), [async.Zone, async.ZoneDelegate, async.Zone, dart.fnType(R, [T1, T2])]], (R, T1, T2) => [dart.nullable(core.Object), dart.nullable(core.Object), dart.nullable(core.Object)])) + })); + async.ZoneSpecification = class ZoneSpecification extends core.Object { + static from(other, opts) { + let t128, t128$, t128$0, t128$1, t128$2, t128$3, t128$4, t128$5, t128$6, t128$7, t128$8, t128$9, t128$10; + if (other == null) dart.nullFailed(I[73], 331, 52, "other"); + let handleUncaughtError = opts && 'handleUncaughtError' in opts ? opts.handleUncaughtError : null; + let run = opts && 'run' in opts ? opts.run : null; + let runUnary = opts && 'runUnary' in opts ? opts.runUnary : null; + let runBinary = opts && 'runBinary' in opts ? opts.runBinary : null; + let registerCallback = opts && 'registerCallback' in opts ? opts.registerCallback : null; + let registerUnaryCallback = opts && 'registerUnaryCallback' in opts ? opts.registerUnaryCallback : null; + let registerBinaryCallback = opts && 'registerBinaryCallback' in opts ? opts.registerBinaryCallback : null; + let errorCallback = opts && 'errorCallback' in opts ? opts.errorCallback : null; + let scheduleMicrotask = opts && 'scheduleMicrotask' in opts ? opts.scheduleMicrotask : null; + let createTimer = opts && 'createTimer' in opts ? opts.createTimer : null; + let createPeriodicTimer = opts && 'createPeriodicTimer' in opts ? opts.createPeriodicTimer : null; + let print = opts && 'print' in opts ? opts.print : null; + let fork = opts && 'fork' in opts ? opts.fork : null; + return new async._ZoneSpecification.new({handleUncaughtError: (t128 = handleUncaughtError, t128 == null ? other.handleUncaughtError : t128), run: (t128$ = run, t128$ == null ? other.run : t128$), runUnary: (t128$0 = runUnary, t128$0 == null ? other.runUnary : t128$0), runBinary: (t128$1 = runBinary, t128$1 == null ? other.runBinary : t128$1), registerCallback: (t128$2 = registerCallback, t128$2 == null ? other.registerCallback : t128$2), registerUnaryCallback: (t128$3 = registerUnaryCallback, t128$3 == null ? other.registerUnaryCallback : t128$3), registerBinaryCallback: (t128$4 = registerBinaryCallback, t128$4 == null ? other.registerBinaryCallback : t128$4), errorCallback: (t128$5 = errorCallback, t128$5 == null ? other.errorCallback : t128$5), scheduleMicrotask: (t128$6 = scheduleMicrotask, t128$6 == null ? other.scheduleMicrotask : t128$6), createTimer: (t128$7 = createTimer, t128$7 == null ? other.createTimer : t128$7), createPeriodicTimer: (t128$8 = createPeriodicTimer, t128$8 == null ? other.createPeriodicTimer : t128$8), print: (t128$9 = print, t128$9 == null ? other.print : t128$9), fork: (t128$10 = fork, t128$10 == null ? other.fork : t128$10)}); + } + }; + (async.ZoneSpecification[dart.mixinNew] = function() { + }).prototype = async.ZoneSpecification.prototype; + dart.addTypeTests(async.ZoneSpecification); + dart.addTypeCaches(async.ZoneSpecification); + dart.setLibraryUri(async.ZoneSpecification, I[29]); + var handleUncaughtError$ = dart.privateName(async, "_ZoneSpecification.handleUncaughtError"); + var run$ = dart.privateName(async, "_ZoneSpecification.run"); + var runUnary$ = dart.privateName(async, "_ZoneSpecification.runUnary"); + var runBinary$ = dart.privateName(async, "_ZoneSpecification.runBinary"); + var registerCallback$ = dart.privateName(async, "_ZoneSpecification.registerCallback"); + var registerUnaryCallback$ = dart.privateName(async, "_ZoneSpecification.registerUnaryCallback"); + var registerBinaryCallback$ = dart.privateName(async, "_ZoneSpecification.registerBinaryCallback"); + var errorCallback$ = dart.privateName(async, "_ZoneSpecification.errorCallback"); + var scheduleMicrotask$ = dart.privateName(async, "_ZoneSpecification.scheduleMicrotask"); + var createTimer$ = dart.privateName(async, "_ZoneSpecification.createTimer"); + var createPeriodicTimer$ = dart.privateName(async, "_ZoneSpecification.createPeriodicTimer"); + var print$ = dart.privateName(async, "_ZoneSpecification.print"); + var fork$ = dart.privateName(async, "_ZoneSpecification.fork"); + async._ZoneSpecification = class _ZoneSpecification extends core.Object { + get handleUncaughtError() { + return this[handleUncaughtError$]; + } + set handleUncaughtError(value) { + super.handleUncaughtError = value; + } + get run() { + return this[run$]; + } + set run(value) { + super.run = value; + } + get runUnary() { + return this[runUnary$]; + } + set runUnary(value) { + super.runUnary = value; + } + get runBinary() { + return this[runBinary$]; + } + set runBinary(value) { + super.runBinary = value; + } + get registerCallback() { + return this[registerCallback$]; + } + set registerCallback(value) { + super.registerCallback = value; + } + get registerUnaryCallback() { + return this[registerUnaryCallback$]; + } + set registerUnaryCallback(value) { + super.registerUnaryCallback = value; + } + get registerBinaryCallback() { + return this[registerBinaryCallback$]; + } + set registerBinaryCallback(value) { + super.registerBinaryCallback = value; + } + get errorCallback() { + return this[errorCallback$]; + } + set errorCallback(value) { + super.errorCallback = value; + } + get scheduleMicrotask() { + return this[scheduleMicrotask$]; + } + set scheduleMicrotask(value) { + super.scheduleMicrotask = value; + } + get createTimer() { + return this[createTimer$]; + } + set createTimer(value) { + super.createTimer = value; + } + get createPeriodicTimer() { + return this[createPeriodicTimer$]; + } + set createPeriodicTimer(value) { + super.createPeriodicTimer = value; + } + get print() { + return this[print$]; + } + set print(value) { + super.print = value; + } + get fork() { + return this[fork$]; + } + set fork(value) { + super.fork = value; + } + }; + (async._ZoneSpecification.new = function(opts) { + let handleUncaughtError = opts && 'handleUncaughtError' in opts ? opts.handleUncaughtError : null; + let run = opts && 'run' in opts ? opts.run : null; + let runUnary = opts && 'runUnary' in opts ? opts.runUnary : null; + let runBinary = opts && 'runBinary' in opts ? opts.runBinary : null; + let registerCallback = opts && 'registerCallback' in opts ? opts.registerCallback : null; + let registerUnaryCallback = opts && 'registerUnaryCallback' in opts ? opts.registerUnaryCallback : null; + let registerBinaryCallback = opts && 'registerBinaryCallback' in opts ? opts.registerBinaryCallback : null; + let errorCallback = opts && 'errorCallback' in opts ? opts.errorCallback : null; + let scheduleMicrotask = opts && 'scheduleMicrotask' in opts ? opts.scheduleMicrotask : null; + let createTimer = opts && 'createTimer' in opts ? opts.createTimer : null; + let createPeriodicTimer = opts && 'createPeriodicTimer' in opts ? opts.createPeriodicTimer : null; + let print = opts && 'print' in opts ? opts.print : null; + let fork = opts && 'fork' in opts ? opts.fork : null; + this[handleUncaughtError$] = handleUncaughtError; + this[run$] = run; + this[runUnary$] = runUnary; + this[runBinary$] = runBinary; + this[registerCallback$] = registerCallback; + this[registerUnaryCallback$] = registerUnaryCallback; + this[registerBinaryCallback$] = registerBinaryCallback; + this[errorCallback$] = errorCallback; + this[scheduleMicrotask$] = scheduleMicrotask; + this[createTimer$] = createTimer; + this[createPeriodicTimer$] = createPeriodicTimer; + this[print$] = print; + this[fork$] = fork; + ; + }).prototype = async._ZoneSpecification.prototype; + dart.addTypeTests(async._ZoneSpecification); + dart.addTypeCaches(async._ZoneSpecification); + async._ZoneSpecification[dart.implements] = () => [async.ZoneSpecification]; + dart.setLibraryUri(async._ZoneSpecification, I[29]); + dart.setFieldSignature(async._ZoneSpecification, () => ({ + __proto__: dart.getFields(async._ZoneSpecification.__proto__), + handleUncaughtError: dart.finalFieldType(dart.nullable(dart.fnType(dart.void, [async.Zone, async.ZoneDelegate, async.Zone, core.Object, core.StackTrace]))), + run: dart.finalFieldType(dart.nullable(dart.gFnType(R => [R, [async.Zone, async.ZoneDelegate, async.Zone, dart.fnType(R, [])]], R => [dart.nullable(core.Object)]))), + runUnary: dart.finalFieldType(dart.nullable(dart.gFnType((R, T) => [R, [async.Zone, async.ZoneDelegate, async.Zone, dart.fnType(R, [T]), T]], (R, T) => [dart.nullable(core.Object), dart.nullable(core.Object)]))), + runBinary: dart.finalFieldType(dart.nullable(dart.gFnType((R, T1, T2) => [R, [async.Zone, async.ZoneDelegate, async.Zone, dart.fnType(R, [T1, T2]), T1, T2]], (R, T1, T2) => [dart.nullable(core.Object), dart.nullable(core.Object), dart.nullable(core.Object)]))), + registerCallback: dart.finalFieldType(dart.nullable(dart.gFnType(R => [dart.fnType(R, []), [async.Zone, async.ZoneDelegate, async.Zone, dart.fnType(R, [])]], R => [dart.nullable(core.Object)]))), + registerUnaryCallback: dart.finalFieldType(dart.nullable(dart.gFnType((R, T) => [dart.fnType(R, [T]), [async.Zone, async.ZoneDelegate, async.Zone, dart.fnType(R, [T])]], (R, T) => [dart.nullable(core.Object), dart.nullable(core.Object)]))), + registerBinaryCallback: dart.finalFieldType(dart.nullable(dart.gFnType((R, T1, T2) => [dart.fnType(R, [T1, T2]), [async.Zone, async.ZoneDelegate, async.Zone, dart.fnType(R, [T1, T2])]], (R, T1, T2) => [dart.nullable(core.Object), dart.nullable(core.Object), dart.nullable(core.Object)]))), + errorCallback: dart.finalFieldType(dart.nullable(dart.fnType(dart.nullable(async.AsyncError), [async.Zone, async.ZoneDelegate, async.Zone, core.Object, dart.nullable(core.StackTrace)]))), + scheduleMicrotask: dart.finalFieldType(dart.nullable(dart.fnType(dart.void, [async.Zone, async.ZoneDelegate, async.Zone, dart.fnType(dart.void, [])]))), + createTimer: dart.finalFieldType(dart.nullable(dart.fnType(async.Timer, [async.Zone, async.ZoneDelegate, async.Zone, core.Duration, dart.fnType(dart.void, [])]))), + createPeriodicTimer: dart.finalFieldType(dart.nullable(dart.fnType(async.Timer, [async.Zone, async.ZoneDelegate, async.Zone, core.Duration, dart.fnType(dart.void, [async.Timer])]))), + print: dart.finalFieldType(dart.nullable(dart.fnType(dart.void, [async.Zone, async.ZoneDelegate, async.Zone, core.String]))), + fork: dart.finalFieldType(dart.nullable(dart.fnType(async.Zone, [async.Zone, async.ZoneDelegate, async.Zone, dart.nullable(async.ZoneSpecification), dart.nullable(core.Map$(dart.nullable(core.Object), dart.nullable(core.Object)))]))) + })); + async.ZoneDelegate = class ZoneDelegate extends core.Object {}; + (async.ZoneDelegate.new = function() { + ; + }).prototype = async.ZoneDelegate.prototype; + dart.addTypeTests(async.ZoneDelegate); + dart.addTypeCaches(async.ZoneDelegate); + dart.setLibraryUri(async.ZoneDelegate, I[29]); + async.Zone = class Zone extends core.Object { + static get current() { + return async.Zone._current; + } + static _enter(zone) { + if (zone == null) dart.nullFailed(I[73], 885, 29, "zone"); + if (!(zone != async.Zone._current)) dart.assertFailed(null, I[73], 886, 12, "!identical(zone, _current)"); + let previous = async.Zone._current; + async.Zone._current = zone; + return previous; + } + static _leave(previous) { + if (previous == null) dart.nullFailed(I[73], 895, 28, "previous"); + if (!(previous != null)) dart.assertFailed(null, I[73], 896, 12, "previous != null"); + async.Zone._current = previous; + } + }; + (async.Zone.__ = function() { + ; + }).prototype = async.Zone.prototype; + dart.addTypeTests(async.Zone); + dart.addTypeCaches(async.Zone); + dart.setLibraryUri(async.Zone, I[29]); + dart.defineLazy(async.Zone, { + /*async.Zone.root*/get root() { + return C[44] || CT.C44; + }, + /*async.Zone._current*/get _current() { + return async._rootZone; + }, + set _current(_) {} + }, false); + var _delegationTarget$ = dart.privateName(async, "_delegationTarget"); + var _handleUncaughtError = dart.privateName(async, "_handleUncaughtError"); + var _parentDelegate = dart.privateName(async, "_parentDelegate"); + var _run = dart.privateName(async, "_run"); + var _runUnary = dart.privateName(async, "_runUnary"); + var _runBinary = dart.privateName(async, "_runBinary"); + var _registerCallback = dart.privateName(async, "_registerCallback"); + var _registerUnaryCallback = dart.privateName(async, "_registerUnaryCallback"); + var _registerBinaryCallback = dart.privateName(async, "_registerBinaryCallback"); + var _errorCallback = dart.privateName(async, "_errorCallback"); + var _scheduleMicrotask = dart.privateName(async, "_scheduleMicrotask"); + var _createTimer = dart.privateName(async, "_createTimer"); + var _createPeriodicTimer = dart.privateName(async, "_createPeriodicTimer"); + var _print = dart.privateName(async, "_print"); + var _fork = dart.privateName(async, "_fork"); + async._ZoneDelegate = class _ZoneDelegate extends core.Object { + handleUncaughtError(zone, error, stackTrace) { + if (zone == null) dart.nullFailed(I[73], 917, 33, "zone"); + if (error == null) dart.nullFailed(I[73], 917, 46, "error"); + if (stackTrace == null) dart.nullFailed(I[73], 917, 64, "stackTrace"); + let implementation = this[_delegationTarget$][_handleUncaughtError]; + let implZone = implementation.zone; + let handler = implementation.function; + return handler(implZone, implZone[_parentDelegate], zone, error, stackTrace); + } + run(R, zone, f) { + if (zone == null) dart.nullFailed(I[73], 924, 17, "zone"); + if (f == null) dart.nullFailed(I[73], 924, 25, "f"); + let implementation = this[_delegationTarget$][_run]; + let implZone = implementation.zone; + let handler = implementation.function; + return handler(R, implZone, implZone[_parentDelegate], zone, f); + } + runUnary(R, T, zone, f, arg) { + if (zone == null) dart.nullFailed(I[73], 931, 25, "zone"); + if (f == null) dart.nullFailed(I[73], 931, 33, "f"); + let implementation = this[_delegationTarget$][_runUnary]; + let implZone = implementation.zone; + let handler = implementation.function; + return handler(R, T, implZone, implZone[_parentDelegate], zone, f, arg); + } + runBinary(R, T1, T2, zone, f, arg1, arg2) { + if (zone == null) dart.nullFailed(I[73], 938, 31, "zone"); + if (f == null) dart.nullFailed(I[73], 938, 39, "f"); + let implementation = this[_delegationTarget$][_runBinary]; + let implZone = implementation.zone; + let handler = implementation.function; + return handler(R, T1, T2, implZone, implZone[_parentDelegate], zone, f, arg1, arg2); + } + registerCallback(R, zone, f) { + if (zone == null) dart.nullFailed(I[73], 945, 44, "zone"); + if (f == null) dart.nullFailed(I[73], 945, 52, "f"); + let implementation = this[_delegationTarget$][_registerCallback]; + let implZone = implementation.zone; + let handler = implementation.function; + return handler(R, implZone, implZone[_parentDelegate], zone, f); + } + registerUnaryCallback(R, T, zone, f) { + if (zone == null) dart.nullFailed(I[73], 952, 60, "zone"); + if (f == null) dart.nullFailed(I[73], 952, 68, "f"); + let implementation = this[_delegationTarget$][_registerUnaryCallback]; + let implZone = implementation.zone; + let handler = implementation.function; + return handler(R, T, implZone, implZone[_parentDelegate], zone, f); + } + registerBinaryCallback(R, T1, T2, zone, f) { + if (zone == null) dart.nullFailed(I[73], 960, 12, "zone"); + if (f == null) dart.nullFailed(I[73], 960, 20, "f"); + let implementation = this[_delegationTarget$][_registerBinaryCallback]; + let implZone = implementation.zone; + let handler = implementation.function; + return handler(R, T1, T2, implZone, implZone[_parentDelegate], zone, f); + } + errorCallback(zone, error, stackTrace) { + if (zone == null) dart.nullFailed(I[73], 967, 34, "zone"); + if (error == null) dart.nullFailed(I[73], 967, 47, "error"); + _internal.checkNotNullable(core.Object, error, "error"); + let implementation = this[_delegationTarget$][_errorCallback]; + let implZone = implementation.zone; + if (implZone == async._rootZone) return null; + let handler = implementation.function; + return handler(implZone, implZone[_parentDelegate], zone, error, stackTrace); + } + scheduleMicrotask(zone, f) { + if (zone == null) dart.nullFailed(I[73], 976, 31, "zone"); + if (f == null) dart.nullFailed(I[73], 976, 37, "f"); + let implementation = this[_delegationTarget$][_scheduleMicrotask]; + let implZone = implementation.zone; + let handler = implementation.function; + handler(implZone, implZone[_parentDelegate], zone, f); + } + createTimer(zone, duration, f) { + if (zone == null) dart.nullFailed(I[73], 983, 26, "zone"); + if (duration == null) dart.nullFailed(I[73], 983, 41, "duration"); + if (f == null) dart.nullFailed(I[73], 983, 56, "f"); + let implementation = this[_delegationTarget$][_createTimer]; + let implZone = implementation.zone; + let handler = implementation.function; + return handler(implZone, implZone[_parentDelegate], zone, duration, f); + } + createPeriodicTimer(zone, period, f) { + if (zone == null) dart.nullFailed(I[73], 990, 34, "zone"); + if (period == null) dart.nullFailed(I[73], 990, 49, "period"); + if (f == null) dart.nullFailed(I[73], 990, 62, "f"); + let implementation = this[_delegationTarget$][_createPeriodicTimer]; + let implZone = implementation.zone; + let handler = implementation.function; + return handler(implZone, implZone[_parentDelegate], zone, period, f); + } + print(zone, line) { + if (zone == null) dart.nullFailed(I[73], 997, 19, "zone"); + if (line == null) dart.nullFailed(I[73], 997, 32, "line"); + let implementation = this[_delegationTarget$][_print]; + let implZone = implementation.zone; + let handler = implementation.function; + handler(implZone, implZone[_parentDelegate], zone, line); + } + fork(zone, specification, zoneValues) { + if (zone == null) dart.nullFailed(I[73], 1004, 18, "zone"); + let implementation = this[_delegationTarget$][_fork]; + let implZone = implementation.zone; + let handler = implementation.function; + return handler(implZone, implZone[_parentDelegate], zone, specification, zoneValues); + } + }; + (async._ZoneDelegate.new = function(_delegationTarget) { + if (_delegationTarget == null) dart.nullFailed(I[73], 915, 22, "_delegationTarget"); + this[_delegationTarget$] = _delegationTarget; + ; + }).prototype = async._ZoneDelegate.prototype; + dart.addTypeTests(async._ZoneDelegate); + dart.addTypeCaches(async._ZoneDelegate); + async._ZoneDelegate[dart.implements] = () => [async.ZoneDelegate]; + dart.setMethodSignature(async._ZoneDelegate, () => ({ + __proto__: dart.getMethods(async._ZoneDelegate.__proto__), + handleUncaughtError: dart.fnType(dart.void, [async.Zone, core.Object, core.StackTrace]), + run: dart.gFnType(R => [R, [async.Zone, dart.fnType(R, [])]], R => [dart.nullable(core.Object)]), + runUnary: dart.gFnType((R, T) => [R, [async.Zone, dart.fnType(R, [T]), T]], (R, T) => [dart.nullable(core.Object), dart.nullable(core.Object)]), + runBinary: dart.gFnType((R, T1, T2) => [R, [async.Zone, dart.fnType(R, [T1, T2]), T1, T2]], (R, T1, T2) => [dart.nullable(core.Object), dart.nullable(core.Object), dart.nullable(core.Object)]), + registerCallback: dart.gFnType(R => [dart.fnType(R, []), [async.Zone, dart.fnType(R, [])]], R => [dart.nullable(core.Object)]), + registerUnaryCallback: dart.gFnType((R, T) => [dart.fnType(R, [T]), [async.Zone, dart.fnType(R, [T])]], (R, T) => [dart.nullable(core.Object), dart.nullable(core.Object)]), + registerBinaryCallback: dart.gFnType((R, T1, T2) => [dart.fnType(R, [T1, T2]), [async.Zone, dart.fnType(R, [T1, T2])]], (R, T1, T2) => [dart.nullable(core.Object), dart.nullable(core.Object), dart.nullable(core.Object)]), + errorCallback: dart.fnType(dart.nullable(async.AsyncError), [async.Zone, core.Object, dart.nullable(core.StackTrace)]), + scheduleMicrotask: dart.fnType(dart.void, [async.Zone, dart.fnType(dart.dynamic, [])]), + createTimer: dart.fnType(async.Timer, [async.Zone, core.Duration, dart.fnType(dart.void, [])]), + createPeriodicTimer: dart.fnType(async.Timer, [async.Zone, core.Duration, dart.fnType(dart.void, [async.Timer])]), + print: dart.fnType(dart.void, [async.Zone, core.String]), + fork: dart.fnType(async.Zone, [async.Zone, dart.nullable(async.ZoneSpecification), dart.nullable(core.Map$(dart.nullable(core.Object), dart.nullable(core.Object)))]) + })); + dart.setLibraryUri(async._ZoneDelegate, I[29]); + dart.setFieldSignature(async._ZoneDelegate, () => ({ + __proto__: dart.getFields(async._ZoneDelegate.__proto__), + [_delegationTarget$]: dart.finalFieldType(async._Zone) + })); + async._Zone = class _Zone extends core.Object { + inSameErrorZone(otherZone) { + if (otherZone == null) dart.nullFailed(I[73], 1039, 29, "otherZone"); + return this === otherZone || this.errorZone == otherZone.errorZone; + } + }; + (async._Zone.new = function() { + ; + }).prototype = async._Zone.prototype; + dart.addTypeTests(async._Zone); + dart.addTypeCaches(async._Zone); + async._Zone[dart.implements] = () => [async.Zone]; + dart.setMethodSignature(async._Zone, () => ({ + __proto__: dart.getMethods(async._Zone.__proto__), + inSameErrorZone: dart.fnType(core.bool, [async.Zone]) + })); + dart.setLibraryUri(async._Zone, I[29]); + var _run$ = dart.privateName(async, "_CustomZone._run"); + var _runUnary$ = dart.privateName(async, "_CustomZone._runUnary"); + var _runBinary$ = dart.privateName(async, "_CustomZone._runBinary"); + var _registerCallback$ = dart.privateName(async, "_CustomZone._registerCallback"); + var _registerUnaryCallback$ = dart.privateName(async, "_CustomZone._registerUnaryCallback"); + var _registerBinaryCallback$ = dart.privateName(async, "_CustomZone._registerBinaryCallback"); + var _errorCallback$ = dart.privateName(async, "_CustomZone._errorCallback"); + var _scheduleMicrotask$ = dart.privateName(async, "_CustomZone._scheduleMicrotask"); + var _createTimer$ = dart.privateName(async, "_CustomZone._createTimer"); + var _createPeriodicTimer$ = dart.privateName(async, "_CustomZone._createPeriodicTimer"); + var _print$ = dart.privateName(async, "_CustomZone._print"); + var _fork$ = dart.privateName(async, "_CustomZone._fork"); + var _handleUncaughtError$ = dart.privateName(async, "_CustomZone._handleUncaughtError"); + var parent$ = dart.privateName(async, "_CustomZone.parent"); + var _map$2 = dart.privateName(async, "_CustomZone._map"); + var _delegateCache = dart.privateName(async, "_delegateCache"); + var _map$3 = dart.privateName(async, "_map"); + var _delegate = dart.privateName(async, "_delegate"); + async._CustomZone = class _CustomZone extends async._Zone { + get [_run]() { + return this[_run$]; + } + set [_run](value) { + this[_run$] = value; + } + get [_runUnary]() { + return this[_runUnary$]; + } + set [_runUnary](value) { + this[_runUnary$] = value; + } + get [_runBinary]() { + return this[_runBinary$]; + } + set [_runBinary](value) { + this[_runBinary$] = value; + } + get [_registerCallback]() { + return this[_registerCallback$]; + } + set [_registerCallback](value) { + this[_registerCallback$] = value; + } + get [_registerUnaryCallback]() { + return this[_registerUnaryCallback$]; + } + set [_registerUnaryCallback](value) { + this[_registerUnaryCallback$] = value; + } + get [_registerBinaryCallback]() { + return this[_registerBinaryCallback$]; + } + set [_registerBinaryCallback](value) { + this[_registerBinaryCallback$] = value; + } + get [_errorCallback]() { + return this[_errorCallback$]; + } + set [_errorCallback](value) { + this[_errorCallback$] = value; + } + get [_scheduleMicrotask]() { + return this[_scheduleMicrotask$]; + } + set [_scheduleMicrotask](value) { + this[_scheduleMicrotask$] = value; + } + get [_createTimer]() { + return this[_createTimer$]; + } + set [_createTimer](value) { + this[_createTimer$] = value; + } + get [_createPeriodicTimer]() { + return this[_createPeriodicTimer$]; + } + set [_createPeriodicTimer](value) { + this[_createPeriodicTimer$] = value; + } + get [_print]() { + return this[_print$]; + } + set [_print](value) { + this[_print$] = value; + } + get [_fork]() { + return this[_fork$]; + } + set [_fork](value) { + this[_fork$] = value; + } + get [_handleUncaughtError]() { + return this[_handleUncaughtError$]; + } + set [_handleUncaughtError](value) { + this[_handleUncaughtError$] = value; + } + get parent() { + return this[parent$]; + } + set parent(value) { + super.parent = value; + } + get [_map$3]() { + return this[_map$2]; + } + set [_map$3](value) { + super[_map$3] = value; + } + get [_delegate]() { + let t128; + t128 = this[_delegateCache]; + return t128 == null ? this[_delegateCache] = new async._ZoneDelegate.new(this) : t128; + } + get [_parentDelegate]() { + return this.parent[_delegate]; + } + get errorZone() { + return this[_handleUncaughtError].zone; + } + runGuarded(f) { + if (f == null) dart.nullFailed(I[73], 1160, 24, "f"); + try { + this.run(dart.void, f); + } catch (e$) { + let e = dart.getThrown(e$); + let s = dart.stackTrace(e$); + if (core.Object.is(e)) { + this.handleUncaughtError(e, s); + } else + throw e$; + } + } + runUnaryGuarded(T, f, arg) { + if (f == null) dart.nullFailed(I[73], 1168, 32, "f"); + try { + this.runUnary(dart.void, T, f, arg); + } catch (e$) { + let e = dart.getThrown(e$); + let s = dart.stackTrace(e$); + if (core.Object.is(e)) { + this.handleUncaughtError(e, s); + } else + throw e$; + } + } + runBinaryGuarded(T1, T2, f, arg1, arg2) { + if (f == null) dart.nullFailed(I[73], 1176, 38, "f"); + try { + this.runBinary(dart.void, T1, T2, f, arg1, arg2); + } catch (e$) { + let e = dart.getThrown(e$); + let s = dart.stackTrace(e$); + if (core.Object.is(e)) { + this.handleUncaughtError(e, s); + } else + throw e$; + } + } + bindCallback(R, f) { + if (f == null) dart.nullFailed(I[73], 1184, 37, "f"); + let registered = this.registerCallback(R, f); + return dart.fn(() => this.run(R, registered), dart.fnType(R, [])); + } + bindUnaryCallback(R, T, f) { + if (f == null) dart.nullFailed(I[73], 1189, 53, "f"); + let registered = this.registerUnaryCallback(R, T, f); + return dart.fn(arg => this.runUnary(R, T, registered, arg), dart.fnType(R, [T])); + } + bindBinaryCallback(R, T1, T2, f) { + if (f == null) dart.nullFailed(I[73], 1195, 9, "f"); + let registered = this.registerBinaryCallback(R, T1, T2, f); + return dart.fn((arg1, arg2) => this.runBinary(R, T1, T2, registered, arg1, arg2), dart.fnType(R, [T1, T2])); + } + bindCallbackGuarded(f) { + if (f == null) dart.nullFailed(I[73], 1200, 44, "f"); + let registered = this.registerCallback(dart.void, f); + return dart.fn(() => this.runGuarded(registered), T$.VoidTovoid()); + } + bindUnaryCallbackGuarded(T, f) { + if (f == null) dart.nullFailed(I[73], 1205, 53, "f"); + let registered = this.registerUnaryCallback(dart.void, T, f); + return dart.fn(arg => this.runUnaryGuarded(T, registered, arg), dart.fnType(dart.void, [T])); + } + bindBinaryCallbackGuarded(T1, T2, f) { + if (f == null) dart.nullFailed(I[73], 1211, 12, "f"); + let registered = this.registerBinaryCallback(dart.void, T1, T2, f); + return dart.fn((arg1, arg2) => this.runBinaryGuarded(T1, T2, registered, arg1, arg2), dart.fnType(dart.void, [T1, T2])); + } + _get(key) { + let result = this[_map$3][$_get](key); + if (result != null || dart.test(this[_map$3][$containsKey](key))) return result; + if (this.parent != null) { + let value = this.parent._get(key); + if (value != null) { + this[_map$3][$_set](key, value); + } + return value; + } + if (!this[$_equals](async._rootZone)) dart.assertFailed(null, I[73], 1231, 12, "this == _rootZone"); + return null; + } + handleUncaughtError(error, stackTrace) { + if (error == null) dart.nullFailed(I[73], 1237, 35, "error"); + if (stackTrace == null) dart.nullFailed(I[73], 1237, 53, "stackTrace"); + let implementation = this[_handleUncaughtError]; + let parentDelegate = implementation.zone[_parentDelegate]; + let handler = implementation.function; + return handler(implementation.zone, parentDelegate, this, error, stackTrace); + } + fork(opts) { + let specification = opts && 'specification' in opts ? opts.specification : null; + let zoneValues = opts && 'zoneValues' in opts ? opts.zoneValues : null; + let implementation = this[_fork]; + let parentDelegate = implementation.zone[_parentDelegate]; + let handler = implementation.function; + return handler(implementation.zone, parentDelegate, this, specification, zoneValues); + } + run(R, f) { + if (f == null) dart.nullFailed(I[73], 1254, 14, "f"); + let implementation = this[_run]; + let parentDelegate = implementation.zone[_parentDelegate]; + let handler = implementation.function; + return handler(R, implementation.zone, parentDelegate, this, f); + } + runUnary(R, T, f, arg) { + if (f == null) dart.nullFailed(I[73], 1261, 22, "f"); + let implementation = this[_runUnary]; + let parentDelegate = implementation.zone[_parentDelegate]; + let handler = implementation.function; + return handler(R, T, implementation.zone, parentDelegate, this, f, arg); + } + runBinary(R, T1, T2, f, arg1, arg2) { + if (f == null) dart.nullFailed(I[73], 1268, 28, "f"); + let implementation = this[_runBinary]; + let parentDelegate = implementation.zone[_parentDelegate]; + let handler = implementation.function; + return handler(R, T1, T2, implementation.zone, parentDelegate, this, f, arg1, arg2); + } + registerCallback(R, callback) { + if (callback == null) dart.nullFailed(I[73], 1275, 41, "callback"); + let implementation = this[_registerCallback]; + let parentDelegate = implementation.zone[_parentDelegate]; + let handler = implementation.function; + return handler(R, implementation.zone, parentDelegate, this, callback); + } + registerUnaryCallback(R, T, callback) { + if (callback == null) dart.nullFailed(I[73], 1282, 57, "callback"); + let implementation = this[_registerUnaryCallback]; + let parentDelegate = implementation.zone[_parentDelegate]; + let handler = implementation.function; + return handler(R, T, implementation.zone, parentDelegate, this, callback); + } + registerBinaryCallback(R, T1, T2, callback) { + if (callback == null) dart.nullFailed(I[73], 1290, 9, "callback"); + let implementation = this[_registerBinaryCallback]; + let parentDelegate = implementation.zone[_parentDelegate]; + let handler = implementation.function; + return handler(R, T1, T2, implementation.zone, parentDelegate, this, callback); + } + errorCallback(error, stackTrace) { + if (error == null) dart.nullFailed(I[73], 1297, 36, "error"); + _internal.checkNotNullable(core.Object, error, "error"); + let implementation = this[_errorCallback]; + let implementationZone = implementation.zone; + if (implementationZone == async._rootZone) return null; + let parentDelegate = implementationZone[_parentDelegate]; + let handler = implementation.function; + return handler(implementationZone, parentDelegate, this, error, stackTrace); + } + scheduleMicrotask(f) { + if (f == null) dart.nullFailed(I[73], 1307, 31, "f"); + let implementation = this[_scheduleMicrotask]; + let parentDelegate = implementation.zone[_parentDelegate]; + let handler = implementation.function; + return handler(implementation.zone, parentDelegate, this, f); + } + createTimer(duration, f) { + if (duration == null) dart.nullFailed(I[73], 1314, 30, "duration"); + if (f == null) dart.nullFailed(I[73], 1314, 45, "f"); + let implementation = this[_createTimer]; + let parentDelegate = implementation.zone[_parentDelegate]; + let handler = implementation.function; + return handler(implementation.zone, parentDelegate, this, duration, f); + } + createPeriodicTimer(duration, f) { + if (duration == null) dart.nullFailed(I[73], 1321, 38, "duration"); + if (f == null) dart.nullFailed(I[73], 1321, 53, "f"); + let implementation = this[_createPeriodicTimer]; + let parentDelegate = implementation.zone[_parentDelegate]; + let handler = implementation.function; + return handler(implementation.zone, parentDelegate, this, duration, f); + } + print(line) { + if (line == null) dart.nullFailed(I[73], 1328, 21, "line"); + let implementation = this[_print]; + let parentDelegate = implementation.zone[_parentDelegate]; + let handler = implementation.function; + return handler(implementation.zone, parentDelegate, this, line); + } + }; + (async._CustomZone.new = function(parent, specification, _map) { + if (parent == null) dart.nullFailed(I[73], 1078, 20, "parent"); + if (specification == null) dart.nullFailed(I[73], 1078, 46, "specification"); + if (_map == null) dart.nullFailed(I[73], 1078, 66, "_map"); + this[_delegateCache] = null; + this[parent$] = parent; + this[_map$2] = _map; + this[_run$] = parent[_run]; + this[_runUnary$] = parent[_runUnary]; + this[_runBinary$] = parent[_runBinary]; + this[_registerCallback$] = parent[_registerCallback]; + this[_registerUnaryCallback$] = parent[_registerUnaryCallback]; + this[_registerBinaryCallback$] = parent[_registerBinaryCallback]; + this[_errorCallback$] = parent[_errorCallback]; + this[_scheduleMicrotask$] = parent[_scheduleMicrotask]; + this[_createTimer$] = parent[_createTimer]; + this[_createPeriodicTimer$] = parent[_createPeriodicTimer]; + this[_print$] = parent[_print]; + this[_fork$] = parent[_fork]; + this[_handleUncaughtError$] = parent[_handleUncaughtError]; + async._CustomZone.__proto__.new.call(this); + let run = specification.run; + if (run != null) { + this[_run] = new async._RunNullaryZoneFunction.new(this, run); + } + let runUnary = specification.runUnary; + if (runUnary != null) { + this[_runUnary] = new async._RunUnaryZoneFunction.new(this, runUnary); + } + let runBinary = specification.runBinary; + if (runBinary != null) { + this[_runBinary] = new async._RunBinaryZoneFunction.new(this, runBinary); + } + let registerCallback = specification.registerCallback; + if (registerCallback != null) { + this[_registerCallback] = new async._RegisterNullaryZoneFunction.new(this, registerCallback); + } + let registerUnaryCallback = specification.registerUnaryCallback; + if (registerUnaryCallback != null) { + this[_registerUnaryCallback] = new async._RegisterUnaryZoneFunction.new(this, registerUnaryCallback); + } + let registerBinaryCallback = specification.registerBinaryCallback; + if (registerBinaryCallback != null) { + this[_registerBinaryCallback] = new async._RegisterBinaryZoneFunction.new(this, registerBinaryCallback); + } + let errorCallback = specification.errorCallback; + if (errorCallback != null) { + this[_errorCallback] = new (T$._ZoneFunctionOfZoneAndZoneDelegateAndZone__ToAsyncErrorN()).new(this, errorCallback); + } + let scheduleMicrotask = specification.scheduleMicrotask; + if (scheduleMicrotask != null) { + this[_scheduleMicrotask] = new (T$._ZoneFunctionOfZoneAndZoneDelegateAndZone__Tovoid()).new(this, scheduleMicrotask); + } + let createTimer = specification.createTimer; + if (createTimer != null) { + this[_createTimer] = new (T$._ZoneFunctionOfZoneAndZoneDelegateAndZone__ToTimer()).new(this, createTimer); + } + let createPeriodicTimer = specification.createPeriodicTimer; + if (createPeriodicTimer != null) { + this[_createPeriodicTimer] = new (T$._ZoneFunctionOfZoneAndZoneDelegateAndZone__ToTimer$1()).new(this, createPeriodicTimer); + } + let print = specification.print; + if (print != null) { + this[_print] = new (T$._ZoneFunctionOfZoneAndZoneDelegateAndZone__Tovoid$1()).new(this, print); + } + let fork = specification.fork; + if (fork != null) { + this[_fork] = new (T$._ZoneFunctionOfZoneAndZoneDelegateAndZone__ToZone()).new(this, fork); + } + let handleUncaughtError = specification.handleUncaughtError; + if (handleUncaughtError != null) { + this[_handleUncaughtError] = new (T$._ZoneFunctionOfZoneAndZoneDelegateAndZone__Tovoid$2()).new(this, handleUncaughtError); + } + }).prototype = async._CustomZone.prototype; + dart.addTypeTests(async._CustomZone); + dart.addTypeCaches(async._CustomZone); + dart.setMethodSignature(async._CustomZone, () => ({ + __proto__: dart.getMethods(async._CustomZone.__proto__), + runGuarded: dart.fnType(dart.void, [dart.fnType(dart.void, [])]), + runUnaryGuarded: dart.gFnType(T => [dart.void, [dart.fnType(dart.void, [T]), T]], T => [dart.nullable(core.Object)]), + runBinaryGuarded: dart.gFnType((T1, T2) => [dart.void, [dart.fnType(dart.void, [T1, T2]), T1, T2]], (T1, T2) => [dart.nullable(core.Object), dart.nullable(core.Object)]), + bindCallback: dart.gFnType(R => [dart.fnType(R, []), [dart.fnType(R, [])]], R => [dart.nullable(core.Object)]), + bindUnaryCallback: dart.gFnType((R, T) => [dart.fnType(R, [T]), [dart.fnType(R, [T])]], (R, T) => [dart.nullable(core.Object), dart.nullable(core.Object)]), + bindBinaryCallback: dart.gFnType((R, T1, T2) => [dart.fnType(R, [T1, T2]), [dart.fnType(R, [T1, T2])]], (R, T1, T2) => [dart.nullable(core.Object), dart.nullable(core.Object), dart.nullable(core.Object)]), + bindCallbackGuarded: dart.fnType(dart.fnType(dart.void, []), [dart.fnType(dart.void, [])]), + bindUnaryCallbackGuarded: dart.gFnType(T => [dart.fnType(dart.void, [T]), [dart.fnType(dart.void, [T])]], T => [dart.nullable(core.Object)]), + bindBinaryCallbackGuarded: dart.gFnType((T1, T2) => [dart.fnType(dart.void, [T1, T2]), [dart.fnType(dart.void, [T1, T2])]], (T1, T2) => [dart.nullable(core.Object), dart.nullable(core.Object)]), + _get: dart.fnType(dart.dynamic, [dart.nullable(core.Object)]), + handleUncaughtError: dart.fnType(dart.void, [core.Object, core.StackTrace]), + fork: dart.fnType(async.Zone, [], {specification: dart.nullable(async.ZoneSpecification), zoneValues: dart.nullable(core.Map$(dart.nullable(core.Object), dart.nullable(core.Object)))}, {}), + run: dart.gFnType(R => [R, [dart.fnType(R, [])]], R => [dart.nullable(core.Object)]), + runUnary: dart.gFnType((R, T) => [R, [dart.fnType(R, [T]), T]], (R, T) => [dart.nullable(core.Object), dart.nullable(core.Object)]), + runBinary: dart.gFnType((R, T1, T2) => [R, [dart.fnType(R, [T1, T2]), T1, T2]], (R, T1, T2) => [dart.nullable(core.Object), dart.nullable(core.Object), dart.nullable(core.Object)]), + registerCallback: dart.gFnType(R => [dart.fnType(R, []), [dart.fnType(R, [])]], R => [dart.nullable(core.Object)]), + registerUnaryCallback: dart.gFnType((R, T) => [dart.fnType(R, [T]), [dart.fnType(R, [T])]], (R, T) => [dart.nullable(core.Object), dart.nullable(core.Object)]), + registerBinaryCallback: dart.gFnType((R, T1, T2) => [dart.fnType(R, [T1, T2]), [dart.fnType(R, [T1, T2])]], (R, T1, T2) => [dart.nullable(core.Object), dart.nullable(core.Object), dart.nullable(core.Object)]), + errorCallback: dart.fnType(dart.nullable(async.AsyncError), [core.Object, dart.nullable(core.StackTrace)]), + scheduleMicrotask: dart.fnType(dart.void, [dart.fnType(dart.void, [])]), + createTimer: dart.fnType(async.Timer, [core.Duration, dart.fnType(dart.void, [])]), + createPeriodicTimer: dart.fnType(async.Timer, [core.Duration, dart.fnType(dart.void, [async.Timer])]), + print: dart.fnType(dart.void, [core.String]) + })); + dart.setGetterSignature(async._CustomZone, () => ({ + __proto__: dart.getGetters(async._CustomZone.__proto__), + [_delegate]: async.ZoneDelegate, + [_parentDelegate]: async.ZoneDelegate, + errorZone: async.Zone + })); + dart.setLibraryUri(async._CustomZone, I[29]); + dart.setFieldSignature(async._CustomZone, () => ({ + __proto__: dart.getFields(async._CustomZone.__proto__), + [_run]: dart.fieldType(async._RunNullaryZoneFunction), + [_runUnary]: dart.fieldType(async._RunUnaryZoneFunction), + [_runBinary]: dart.fieldType(async._RunBinaryZoneFunction), + [_registerCallback]: dart.fieldType(async._RegisterNullaryZoneFunction), + [_registerUnaryCallback]: dart.fieldType(async._RegisterUnaryZoneFunction), + [_registerBinaryCallback]: dart.fieldType(async._RegisterBinaryZoneFunction), + [_errorCallback]: dart.fieldType(async._ZoneFunction$(dart.fnType(dart.nullable(async.AsyncError), [async.Zone, async.ZoneDelegate, async.Zone, core.Object, dart.nullable(core.StackTrace)]))), + [_scheduleMicrotask]: dart.fieldType(async._ZoneFunction$(dart.fnType(dart.void, [async.Zone, async.ZoneDelegate, async.Zone, dart.fnType(dart.void, [])]))), + [_createTimer]: dart.fieldType(async._ZoneFunction$(dart.fnType(async.Timer, [async.Zone, async.ZoneDelegate, async.Zone, core.Duration, dart.fnType(dart.void, [])]))), + [_createPeriodicTimer]: dart.fieldType(async._ZoneFunction$(dart.fnType(async.Timer, [async.Zone, async.ZoneDelegate, async.Zone, core.Duration, dart.fnType(dart.void, [async.Timer])]))), + [_print]: dart.fieldType(async._ZoneFunction$(dart.fnType(dart.void, [async.Zone, async.ZoneDelegate, async.Zone, core.String]))), + [_fork]: dart.fieldType(async._ZoneFunction$(dart.fnType(async.Zone, [async.Zone, async.ZoneDelegate, async.Zone, dart.nullable(async.ZoneSpecification), dart.nullable(core.Map$(dart.nullable(core.Object), dart.nullable(core.Object)))]))), + [_handleUncaughtError]: dart.fieldType(async._ZoneFunction$(dart.fnType(dart.void, [async.Zone, async.ZoneDelegate, async.Zone, core.Object, core.StackTrace]))), + [_delegateCache]: dart.fieldType(dart.nullable(async.ZoneDelegate)), + parent: dart.finalFieldType(async._Zone), + [_map$3]: dart.finalFieldType(core.Map$(dart.nullable(core.Object), dart.nullable(core.Object))) + })); + async._RootZone = class _RootZone extends async._Zone { + get [_run]() { + return C[45] || CT.C45; + } + get [_runUnary]() { + return C[47] || CT.C47; + } + get [_runBinary]() { + return C[49] || CT.C49; + } + get [_registerCallback]() { + return C[51] || CT.C51; + } + get [_registerUnaryCallback]() { + return C[53] || CT.C53; + } + get [_registerBinaryCallback]() { + return C[55] || CT.C55; + } + get [_errorCallback]() { + return C[57] || CT.C57; + } + get [_scheduleMicrotask]() { + return C[59] || CT.C59; + } + get [_createTimer]() { + return C[61] || CT.C61; + } + get [_createPeriodicTimer]() { + return C[63] || CT.C63; + } + get [_print]() { + return C[65] || CT.C65; + } + get [_fork]() { + return C[67] || CT.C67; + } + get [_handleUncaughtError]() { + return C[69] || CT.C69; + } + get parent() { + return null; + } + get [_map$3]() { + return async._RootZone._rootMap; + } + get [_delegate]() { + let t131; + t131 = async._RootZone._rootDelegate; + return t131 == null ? async._RootZone._rootDelegate = new async._ZoneDelegate.new(this) : t131; + } + get [_parentDelegate]() { + return this[_delegate]; + } + get errorZone() { + return this; + } + runGuarded(f) { + if (f == null) dart.nullFailed(I[73], 1531, 24, "f"); + try { + if (async._rootZone == async.Zone._current) { + f(); + return; + } + async._rootRun(dart.void, null, null, this, f); + } catch (e$) { + let e = dart.getThrown(e$); + let s = dart.stackTrace(e$); + if (core.Object.is(e)) { + this.handleUncaughtError(e, s); + } else + throw e$; + } + } + runUnaryGuarded(T, f, arg) { + if (f == null) dart.nullFailed(I[73], 1543, 32, "f"); + try { + if (async._rootZone == async.Zone._current) { + f(arg); + return; + } + async._rootRunUnary(dart.void, T, null, null, this, f, arg); + } catch (e$) { + let e = dart.getThrown(e$); + let s = dart.stackTrace(e$); + if (core.Object.is(e)) { + this.handleUncaughtError(e, s); + } else + throw e$; + } + } + runBinaryGuarded(T1, T2, f, arg1, arg2) { + if (f == null) dart.nullFailed(I[73], 1555, 38, "f"); + try { + if (async._rootZone == async.Zone._current) { + f(arg1, arg2); + return; + } + async._rootRunBinary(dart.void, T1, T2, null, null, this, f, arg1, arg2); + } catch (e$) { + let e = dart.getThrown(e$); + let s = dart.stackTrace(e$); + if (core.Object.is(e)) { + this.handleUncaughtError(e, s); + } else + throw e$; + } + } + bindCallback(R, f) { + if (f == null) dart.nullFailed(I[73], 1567, 37, "f"); + return dart.fn(() => this.run(R, f), dart.fnType(R, [])); + } + bindUnaryCallback(R, T, f) { + if (f == null) dart.nullFailed(I[73], 1571, 53, "f"); + return dart.fn(arg => this.runUnary(R, T, f, arg), dart.fnType(R, [T])); + } + bindBinaryCallback(R, T1, T2, f) { + if (f == null) dart.nullFailed(I[73], 1576, 9, "f"); + return dart.fn((arg1, arg2) => this.runBinary(R, T1, T2, f, arg1, arg2), dart.fnType(R, [T1, T2])); + } + bindCallbackGuarded(f) { + if (f == null) dart.nullFailed(I[73], 1580, 44, "f"); + return dart.fn(() => this.runGuarded(f), T$.VoidTovoid()); + } + bindUnaryCallbackGuarded(T, f) { + if (f == null) dart.nullFailed(I[73], 1584, 53, "f"); + return dart.fn(arg => this.runUnaryGuarded(T, f, arg), dart.fnType(dart.void, [T])); + } + bindBinaryCallbackGuarded(T1, T2, f) { + if (f == null) dart.nullFailed(I[73], 1589, 12, "f"); + return dart.fn((arg1, arg2) => this.runBinaryGuarded(T1, T2, f, arg1, arg2), dart.fnType(dart.void, [T1, T2])); + } + _get(key) { + return null; + } + handleUncaughtError(error, stackTrace) { + if (error == null) dart.nullFailed(I[73], 1597, 35, "error"); + if (stackTrace == null) dart.nullFailed(I[73], 1597, 53, "stackTrace"); + async._rootHandleUncaughtError(null, null, this, error, stackTrace); + } + fork(opts) { + let specification = opts && 'specification' in opts ? opts.specification : null; + let zoneValues = opts && 'zoneValues' in opts ? opts.zoneValues : null; + return async._rootFork(null, null, this, specification, zoneValues); + } + run(R, f) { + if (f == null) dart.nullFailed(I[73], 1606, 14, "f"); + if (async.Zone._current == async._rootZone) return f(); + return async._rootRun(R, null, null, this, f); + } + runUnary(R, T, f, arg) { + if (f == null) dart.nullFailed(I[73], 1612, 22, "f"); + if (async.Zone._current == async._rootZone) return f(arg); + return async._rootRunUnary(R, T, null, null, this, f, arg); + } + runBinary(R, T1, T2, f, arg1, arg2) { + if (f == null) dart.nullFailed(I[73], 1617, 28, "f"); + if (async.Zone._current == async._rootZone) return f(arg1, arg2); + return async._rootRunBinary(R, T1, T2, null, null, this, f, arg1, arg2); + } + registerCallback(R, f) { + if (f == null) dart.nullFailed(I[73], 1622, 41, "f"); + return f; + } + registerUnaryCallback(R, T, f) { + if (f == null) dart.nullFailed(I[73], 1624, 57, "f"); + return f; + } + registerBinaryCallback(R, T1, T2, f) { + if (f == null) dart.nullFailed(I[73], 1627, 13, "f"); + return f; + } + errorCallback(error, stackTrace) { + if (error == null) dart.nullFailed(I[73], 1630, 36, "error"); + return null; + } + scheduleMicrotask(f) { + if (f == null) dart.nullFailed(I[73], 1632, 31, "f"); + async._rootScheduleMicrotask(null, null, this, f); + } + createTimer(duration, f) { + if (duration == null) dart.nullFailed(I[73], 1636, 30, "duration"); + if (f == null) dart.nullFailed(I[73], 1636, 45, "f"); + return async.Timer._createTimer(duration, f); + } + createPeriodicTimer(duration, f) { + if (duration == null) dart.nullFailed(I[73], 1640, 38, "duration"); + if (f == null) dart.nullFailed(I[73], 1640, 53, "f"); + return async.Timer._createPeriodicTimer(duration, f); + } + print(line) { + if (line == null) dart.nullFailed(I[73], 1644, 21, "line"); + _internal.printToConsole(line); + } + }; + (async._RootZone.new = function() { + async._RootZone.__proto__.new.call(this); + ; + }).prototype = async._RootZone.prototype; + dart.addTypeTests(async._RootZone); + dart.addTypeCaches(async._RootZone); + dart.setMethodSignature(async._RootZone, () => ({ + __proto__: dart.getMethods(async._RootZone.__proto__), + runGuarded: dart.fnType(dart.void, [dart.fnType(dart.void, [])]), + runUnaryGuarded: dart.gFnType(T => [dart.void, [dart.fnType(dart.void, [T]), T]], T => [dart.nullable(core.Object)]), + runBinaryGuarded: dart.gFnType((T1, T2) => [dart.void, [dart.fnType(dart.void, [T1, T2]), T1, T2]], (T1, T2) => [dart.nullable(core.Object), dart.nullable(core.Object)]), + bindCallback: dart.gFnType(R => [dart.fnType(R, []), [dart.fnType(R, [])]], R => [dart.nullable(core.Object)]), + bindUnaryCallback: dart.gFnType((R, T) => [dart.fnType(R, [T]), [dart.fnType(R, [T])]], (R, T) => [dart.nullable(core.Object), dart.nullable(core.Object)]), + bindBinaryCallback: dart.gFnType((R, T1, T2) => [dart.fnType(R, [T1, T2]), [dart.fnType(R, [T1, T2])]], (R, T1, T2) => [dart.nullable(core.Object), dart.nullable(core.Object), dart.nullable(core.Object)]), + bindCallbackGuarded: dart.fnType(dart.fnType(dart.void, []), [dart.fnType(dart.void, [])]), + bindUnaryCallbackGuarded: dart.gFnType(T => [dart.fnType(dart.void, [T]), [dart.fnType(dart.void, [T])]], T => [dart.nullable(core.Object)]), + bindBinaryCallbackGuarded: dart.gFnType((T1, T2) => [dart.fnType(dart.void, [T1, T2]), [dart.fnType(dart.void, [T1, T2])]], (T1, T2) => [dart.nullable(core.Object), dart.nullable(core.Object)]), + _get: dart.fnType(dart.dynamic, [dart.nullable(core.Object)]), + handleUncaughtError: dart.fnType(dart.void, [core.Object, core.StackTrace]), + fork: dart.fnType(async.Zone, [], {specification: dart.nullable(async.ZoneSpecification), zoneValues: dart.nullable(core.Map$(dart.nullable(core.Object), dart.nullable(core.Object)))}, {}), + run: dart.gFnType(R => [R, [dart.fnType(R, [])]], R => [dart.nullable(core.Object)]), + runUnary: dart.gFnType((R, T) => [R, [dart.fnType(R, [T]), T]], (R, T) => [dart.nullable(core.Object), dart.nullable(core.Object)]), + runBinary: dart.gFnType((R, T1, T2) => [R, [dart.fnType(R, [T1, T2]), T1, T2]], (R, T1, T2) => [dart.nullable(core.Object), dart.nullable(core.Object), dart.nullable(core.Object)]), + registerCallback: dart.gFnType(R => [dart.fnType(R, []), [dart.fnType(R, [])]], R => [dart.nullable(core.Object)]), + registerUnaryCallback: dart.gFnType((R, T) => [dart.fnType(R, [T]), [dart.fnType(R, [T])]], (R, T) => [dart.nullable(core.Object), dart.nullable(core.Object)]), + registerBinaryCallback: dart.gFnType((R, T1, T2) => [dart.fnType(R, [T1, T2]), [dart.fnType(R, [T1, T2])]], (R, T1, T2) => [dart.nullable(core.Object), dart.nullable(core.Object), dart.nullable(core.Object)]), + errorCallback: dart.fnType(dart.nullable(async.AsyncError), [core.Object, dart.nullable(core.StackTrace)]), + scheduleMicrotask: dart.fnType(dart.void, [dart.fnType(dart.void, [])]), + createTimer: dart.fnType(async.Timer, [core.Duration, dart.fnType(dart.void, [])]), + createPeriodicTimer: dart.fnType(async.Timer, [core.Duration, dart.fnType(dart.void, [async.Timer])]), + print: dart.fnType(dart.void, [core.String]) + })); + dart.setGetterSignature(async._RootZone, () => ({ + __proto__: dart.getGetters(async._RootZone.__proto__), + [_run]: async._RunNullaryZoneFunction, + [_runUnary]: async._RunUnaryZoneFunction, + [_runBinary]: async._RunBinaryZoneFunction, + [_registerCallback]: async._RegisterNullaryZoneFunction, + [_registerUnaryCallback]: async._RegisterUnaryZoneFunction, + [_registerBinaryCallback]: async._RegisterBinaryZoneFunction, + [_errorCallback]: async._ZoneFunction$(dart.fnType(dart.nullable(async.AsyncError), [async.Zone, async.ZoneDelegate, async.Zone, core.Object, dart.nullable(core.StackTrace)])), + [_scheduleMicrotask]: async._ZoneFunction$(dart.fnType(dart.void, [async.Zone, async.ZoneDelegate, async.Zone, dart.fnType(dart.void, [])])), + [_createTimer]: async._ZoneFunction$(dart.fnType(async.Timer, [async.Zone, async.ZoneDelegate, async.Zone, core.Duration, dart.fnType(dart.void, [])])), + [_createPeriodicTimer]: async._ZoneFunction$(dart.fnType(async.Timer, [async.Zone, async.ZoneDelegate, async.Zone, core.Duration, dart.fnType(dart.void, [async.Timer])])), + [_print]: async._ZoneFunction$(dart.fnType(dart.void, [async.Zone, async.ZoneDelegate, async.Zone, core.String])), + [_fork]: async._ZoneFunction$(dart.fnType(async.Zone, [async.Zone, async.ZoneDelegate, async.Zone, dart.nullable(async.ZoneSpecification), dart.nullable(core.Map$(dart.nullable(core.Object), dart.nullable(core.Object)))])), + [_handleUncaughtError]: async._ZoneFunction$(dart.fnType(dart.void, [async.Zone, async.ZoneDelegate, async.Zone, core.Object, core.StackTrace])), + parent: dart.nullable(async._Zone), + [_map$3]: core.Map$(dart.nullable(core.Object), dart.nullable(core.Object)), + [_delegate]: async.ZoneDelegate, + [_parentDelegate]: async.ZoneDelegate, + errorZone: async.Zone + })); + dart.setLibraryUri(async._RootZone, I[29]); + dart.defineLazy(async._RootZone, { + /*async._RootZone._rootMap*/get _rootMap() { + return new _js_helper.LinkedMap.new(); + }, + /*async._RootZone._rootDelegate*/get _rootDelegate() { + return null; + }, + set _rootDelegate(_) {} + }, false); + async.async = function _async(T, initGenerator) { + if (initGenerator == null) dart.nullFailed(I[61], 25, 22, "initGenerator"); + let iter = null; + let onValue = null; + let onValue$35isSet = false; + function onValue$35get() { + return onValue$35isSet ? onValue : dart.throw(new _internal.LateError.localNI("onValue")); + } + function onValue$35set(t137) { + if (t137 == null) dart.nullFailed(I[61], 27, 34, "null"); + onValue$35isSet = true; + return onValue = t137; + } + let onError = null; + let onError$35isSet = false; + function onError$35get() { + return onError$35isSet ? onError : dart.throw(new _internal.LateError.localNI("onError")); + } + function onError$35set(t142) { + if (t142 == null) dart.nullFailed(I[61], 28, 45, "null"); + onError$35isSet = true; + return onError = t142; + } + function onAwait(value) { + let f = null; + if (async._Future.is(value)) { + f = value; + } else if (async.Future.is(value)) { + f = new (T$._FutureOfObjectN()).new(); + f[_chainForeignFuture](value); + } else { + f = new (T$._FutureOfObjectN()).value(value); + } + f = f[_thenAwait](T$.ObjectN(), onValue$35get(), onError$35get()); + return f; + } + onValue$35set(value => { + let iteratorResult = iter.next(value); + value = iteratorResult.value; + return iteratorResult.done ? value : onAwait(value); + }); + onError$35set((value, stackTrace) => { + if (value == null) dart.nullFailed(I[61], 58, 14, "value"); + let iteratorResult = iter.throw(dart.createErrorWithStack(value, stackTrace)); + value = iteratorResult.value; + return iteratorResult.done ? value : onAwait(value); + }); + let zone = async.Zone.current; + if (zone != async._rootZone) { + onValue$35set(zone.registerUnaryCallback(T$.ObjectN(), T$.ObjectN(), onValue$35get())); + onError$35set(zone.registerBinaryCallback(core.Object, core.Object, T$.StackTraceN(), onError$35get())); + } + let asyncFuture = new (async._Future$(T)).new(); + let isRunningAsEvent = false; + function runBody() { + try { + iter = initGenerator()[Symbol.iterator](); + let iteratorValue = iter.next(null); + let value = iteratorValue.value; + if (iteratorValue.done) { + if (async.Future.is(value)) { + if (async._Future.is(value)) { + async._Future._chainCoreFuture(value, asyncFuture); + } else { + asyncFuture[_chainForeignFuture](value); + } + } else if (isRunningAsEvent) { + asyncFuture[_completeWithValue](value); + } else { + asyncFuture[_asyncComplete](value); + } + } else { + async._Future._chainCoreFuture(onAwait(value), asyncFuture); + } + } catch (e$) { + let e = dart.getThrown(e$); + let s = dart.stackTrace(e$); + if (core.Object.is(e)) { + if (isRunningAsEvent) { + async._completeWithErrorCallback(asyncFuture, e, s); + } else { + async._asyncCompleteWithErrorCallback(asyncFuture, e, s); + } + } else + throw e$; + } + } + if (dart.test(dart.startAsyncSynchronously)) { + runBody(); + isRunningAsEvent = true; + } else { + isRunningAsEvent = true; + async.scheduleMicrotask(runBody); + } + return asyncFuture; + }; + async._invokeErrorHandler = function _invokeErrorHandler(errorHandler, error, stackTrace) { + if (errorHandler == null) dart.nullFailed(I[62], 37, 14, "errorHandler"); + if (error == null) dart.nullFailed(I[62], 37, 35, "error"); + if (stackTrace == null) dart.nullFailed(I[62], 37, 53, "stackTrace"); + let handler = errorHandler; + if (T$.NeverAndNeverTodynamic().is(handler)) { + return dart.dcall(errorHandler, [error, stackTrace]); + } else { + return dart.dcall(errorHandler, [error]); + } + }; + async['FutureExtensions|onError'] = function FutureExtensions$124onError(T, E, $this, handleError, opts) { + if ($this == null) dart.nullFailed(I[67], 763, 13, "#this"); + if (handleError == null) dart.nullFailed(I[67], 764, 19, "handleError"); + let test = opts && 'test' in opts ? opts.test : null; + return $this.catchError(dart.fn((error, stackTrace) => { + if (error == null) dart.nullFailed(I[67], 769, 17, "error"); + if (stackTrace == null) dart.nullFailed(I[67], 769, 35, "stackTrace"); + return handleError(E.as(error), stackTrace); + }, dart.fnType(async.FutureOr$(T), [core.Object, core.StackTrace])), {test: dart.fn(error => { + if (error == null) dart.nullFailed(I[67], 771, 23, "error"); + return E.is(error) && (test == null || dart.test(test(error))); + }, T$.ObjectTobool())}); + }; + async['FutureExtensions|get#onError'] = function FutureExtensions$124get$35onError(T, $this) { + if ($this == null) dart.nullFailed(I[67], 763, 13, "#this"); + return dart.fn((E, handleError, opts) => { + if (handleError == null) dart.nullFailed(I[67], 764, 19, "handleError"); + let test = opts && 'test' in opts ? opts.test : null; + return async['FutureExtensions|onError'](T, E, $this, handleError, {test: test}); + }, dart.gFnType(E => { + var ETobool = () => (ETobool = dart.constFn(dart.fnType(core.bool, [E])))(); + var EToNbool = () => (EToNbool = dart.constFn(dart.nullable(ETobool())))(); + return [async.Future$(T), [dart.fnType(async.FutureOr$(T), [E, core.StackTrace])], {test: EToNbool()}, {}]; + }, E => { + var ETobool = () => (ETobool = dart.constFn(dart.fnType(core.bool, [E])))(); + var EToNbool = () => (EToNbool = dart.constFn(dart.nullable(ETobool())))(); + return [core.Object]; + })); + }; + async._completeWithErrorCallback = function _completeWithErrorCallback(result, error, stackTrace) { + if (result == null) dart.nullFailed(I[67], 963, 13, "result"); + if (error == null) dart.nullFailed(I[67], 963, 28, "error"); + let replacement = async.Zone.current.errorCallback(error, stackTrace); + if (replacement != null) { + error = replacement.error; + stackTrace = replacement.stackTrace; + } else { + stackTrace == null ? stackTrace = async.AsyncError.defaultStackTrace(error) : null; + } + if (stackTrace == null) dart.throw("unreachable"); + result[_completeError](error, stackTrace); + }; + async._asyncCompleteWithErrorCallback = function _asyncCompleteWithErrorCallback(result, error, stackTrace) { + if (result == null) dart.nullFailed(I[67], 977, 13, "result"); + if (error == null) dart.nullFailed(I[67], 977, 28, "error"); + let replacement = async.Zone.current.errorCallback(error, stackTrace); + if (replacement != null) { + error = replacement.error; + stackTrace = replacement.stackTrace; + } else { + stackTrace == null ? stackTrace = async.AsyncError.defaultStackTrace(error) : null; + } + if (stackTrace == null) { + dart.throw("unreachable"); + } + result[_asyncCompleteError](error, stackTrace); + }; + async._registerErrorHandler = function _registerErrorHandler(errorHandler, zone) { + if (errorHandler == null) dart.nullFailed(I[68], 837, 41, "errorHandler"); + if (zone == null) dart.nullFailed(I[68], 837, 60, "zone"); + if (T$.ObjectAndStackTraceTodynamic().is(errorHandler)) { + return zone.registerBinaryCallback(dart.dynamic, core.Object, core.StackTrace, errorHandler); + } + if (T$.ObjectTodynamic().is(errorHandler)) { + return zone.registerUnaryCallback(dart.dynamic, core.Object, errorHandler); + } + dart.throw(new core.ArgumentError.value(errorHandler, "onError", "Error handler must accept one Object or one Object and a StackTrace" + " as arguments, and return a valid result")); + }; + async._microtaskLoop = function _microtaskLoop() { + for (let entry = async._nextCallback; entry != null; entry = async._nextCallback) { + async._lastPriorityCallback = null; + let next = entry.next; + async._nextCallback = next; + if (next == null) async._lastCallback = null; + entry.callback(); + } + }; + async._startMicrotaskLoop = function _startMicrotaskLoop() { + async._isInCallbackLoop = true; + try { + async._microtaskLoop(); + } finally { + async._lastPriorityCallback = null; + async._isInCallbackLoop = false; + if (async._nextCallback != null) { + async._AsyncRun._scheduleImmediate(C[71] || CT.C71); + } + } + }; + async._scheduleAsyncCallback = function _scheduleAsyncCallback(callback) { + if (callback == null) dart.nullFailed(I[69], 63, 44, "callback"); + let newEntry = new async._AsyncCallbackEntry.new(callback); + let lastCallback = async._lastCallback; + if (lastCallback == null) { + async._nextCallback = async._lastCallback = newEntry; + if (!dart.test(async._isInCallbackLoop)) { + async._AsyncRun._scheduleImmediate(C[71] || CT.C71); + } + } else { + lastCallback.next = newEntry; + async._lastCallback = newEntry; + } + }; + async._schedulePriorityAsyncCallback = function _schedulePriorityAsyncCallback(callback) { + if (callback == null) dart.nullFailed(I[69], 83, 52, "callback"); + if (async._nextCallback == null) { + async._scheduleAsyncCallback(callback); + async._lastPriorityCallback = async._lastCallback; + return; + } + let entry = new async._AsyncCallbackEntry.new(callback); + let lastPriorityCallback = async._lastPriorityCallback; + if (lastPriorityCallback == null) { + entry.next = async._nextCallback; + async._nextCallback = async._lastPriorityCallback = entry; + } else { + let next = lastPriorityCallback.next; + entry.next = next; + lastPriorityCallback.next = entry; + async._lastPriorityCallback = entry; + if (next == null) { + async._lastCallback = entry; + } + } + }; + async.scheduleMicrotask = function scheduleMicrotask(callback) { + if (callback == null) dart.nullFailed(I[69], 129, 40, "callback"); + let currentZone = async.Zone._current; + if (async._rootZone == currentZone) { + async._rootScheduleMicrotask(null, null, async._rootZone, callback); + return; + } + let implementation = currentZone[_scheduleMicrotask]; + if (async._rootZone == implementation.zone && dart.test(async._rootZone.inSameErrorZone(currentZone))) { + async._rootScheduleMicrotask(null, null, currentZone, currentZone.registerCallback(dart.void, callback)); + return; + } + async.Zone.current.scheduleMicrotask(async.Zone.current.bindCallbackGuarded(callback)); + }; + async._runGuarded = function _runGuarded(notificationHandler) { + if (notificationHandler == null) return; + try { + notificationHandler(); + } catch (e$) { + let e = dart.getThrown(e$); + let s = dart.stackTrace(e$); + if (core.Object.is(e)) { + async.Zone.current.handleUncaughtError(e, s); + } else + throw e$; + } + }; + async._nullDataHandler = function _nullDataHandler(value) { + }; + async._nullErrorHandler = function _nullErrorHandler(error, stackTrace) { + if (error == null) dart.nullFailed(I[65], 570, 31, "error"); + if (stackTrace == null) dart.nullFailed(I[65], 570, 49, "stackTrace"); + async.Zone.current.handleUncaughtError(error, stackTrace); + }; + async._nullDoneHandler = function _nullDoneHandler() { + }; + async._runUserCode = function _runUserCode(T, userCode, onSuccess, onError) { + if (userCode == null) dart.nullFailed(I[70], 8, 19, "userCode"); + if (onSuccess == null) dart.nullFailed(I[70], 8, 31, "onSuccess"); + if (onError == null) dart.nullFailed(I[70], 9, 5, "onError"); + try { + onSuccess(userCode()); + } catch (e$) { + let e = dart.getThrown(e$); + let s = dart.stackTrace(e$); + if (core.Object.is(e)) { + let replacement = async.Zone.current.errorCallback(e, s); + if (replacement == null) { + onError(e, s); + } else { + let error = replacement.error; + let stackTrace = replacement.stackTrace; + onError(error, stackTrace); + } + } else + throw e$; + } + }; + async._cancelAndError = function _cancelAndError(subscription, future, error, stackTrace) { + if (subscription == null) dart.nullFailed(I[70], 26, 41, "subscription"); + if (future == null) dart.nullFailed(I[70], 26, 63, "future"); + if (error == null) dart.nullFailed(I[70], 27, 12, "error"); + if (stackTrace == null) dart.nullFailed(I[70], 27, 30, "stackTrace"); + let cancelFuture = subscription.cancel(); + if (cancelFuture != null && cancelFuture != async.Future._nullFuture) { + cancelFuture.whenComplete(dart.fn(() => future[_completeError](error, stackTrace), T$.VoidTovoid())); + } else { + future[_completeError](error, stackTrace); + } + }; + async._cancelAndErrorWithReplacement = function _cancelAndErrorWithReplacement(subscription, future, error, stackTrace) { + if (subscription == null) dart.nullFailed(I[70], 36, 56, "subscription"); + if (future == null) dart.nullFailed(I[70], 37, 13, "future"); + if (error == null) dart.nullFailed(I[70], 37, 28, "error"); + if (stackTrace == null) dart.nullFailed(I[70], 37, 46, "stackTrace"); + let replacement = async.Zone.current.errorCallback(error, stackTrace); + if (replacement != null) { + error = replacement.error; + stackTrace = replacement.stackTrace; + } + async._cancelAndError(subscription, future, error, stackTrace); + }; + async._cancelAndErrorClosure = function _cancelAndErrorClosure(subscription, future) { + if (subscription == null) dart.nullFailed(I[70], 48, 24, "subscription"); + if (future == null) dart.nullFailed(I[70], 48, 46, "future"); + return dart.fn((error, stackTrace) => { + if (error == null) dart.nullFailed(I[70], 49, 18, "error"); + if (stackTrace == null) dart.nullFailed(I[70], 49, 36, "stackTrace"); + async._cancelAndError(subscription, future, error, stackTrace); + }, T$.ObjectAndStackTraceTovoid()); + }; + async._cancelAndValue = function _cancelAndValue(subscription, future, value) { + if (subscription == null) dart.nullFailed(I[70], 56, 41, "subscription"); + if (future == null) dart.nullFailed(I[70], 56, 63, "future"); + let cancelFuture = subscription.cancel(); + if (cancelFuture != null && cancelFuture != async.Future._nullFuture) { + cancelFuture.whenComplete(dart.fn(() => future[_complete](value), T$.VoidTovoid())); + } else { + future[_complete](value); + } + }; + async._addErrorWithReplacement = function _addErrorWithReplacement(sink, error, stackTrace) { + if (sink == null) dart.nullFailed(I[70], 170, 16, "sink"); + if (error == null) dart.nullFailed(I[70], 170, 29, "error"); + if (stackTrace == null) dart.nullFailed(I[70], 170, 47, "stackTrace"); + let replacement = async.Zone.current.errorCallback(error, stackTrace); + if (replacement != null) { + error = replacement.error; + stackTrace = replacement.stackTrace; + } + sink[_addError](error, stackTrace); + }; + async._rootHandleUncaughtError = function _rootHandleUncaughtError(self, parent, zone, error, stackTrace) { + if (zone == null) dart.nullFailed(I[73], 1336, 70, "zone"); + if (error == null) dart.nullFailed(I[73], 1337, 12, "error"); + if (stackTrace == null) dart.nullFailed(I[73], 1337, 30, "stackTrace"); + async._schedulePriorityAsyncCallback(dart.fn(() => { + async._rethrow(error, stackTrace); + }, T$.VoidTovoid())); + }; + async._rethrow = function _rethrow(error, stackTrace) { + if (error == null) dart.nullFailed(I[61], 199, 22, "error"); + if (stackTrace == null) dart.nullFailed(I[61], 199, 40, "stackTrace"); + throw dart.createErrorWithStack(error, stackTrace); + }; + async._rootRun = function _rootRun(R, self, parent, zone, f) { + if (zone == null) dart.nullFailed(I[73], 1345, 54, "zone"); + if (f == null) dart.nullFailed(I[73], 1345, 62, "f"); + if (async.Zone._current == zone) return f(); + if (!async._Zone.is(zone)) { + dart.throw(new core.ArgumentError.value(zone, "zone", "Can only run in platform zones")); + } + let old = async.Zone._enter(zone); + try { + return f(); + } finally { + async.Zone._leave(old); + } + }; + async._rootRunUnary = function _rootRunUnary(R, T, self, parent, zone, f, arg) { + if (zone == null) dart.nullFailed(I[73], 1361, 44, "zone"); + if (f == null) dart.nullFailed(I[73], 1361, 52, "f"); + if (async.Zone._current == zone) return f(arg); + if (!async._Zone.is(zone)) { + dart.throw(new core.ArgumentError.value(zone, "zone", "Can only run in platform zones")); + } + let old = async.Zone._enter(zone); + try { + return f(arg); + } finally { + async.Zone._leave(old); + } + }; + async._rootRunBinary = function _rootRunBinary(R, T1, T2, self, parent, zone, f, arg1, arg2) { + if (zone == null) dart.nullFailed(I[73], 1376, 68, "zone"); + if (f == null) dart.nullFailed(I[73], 1377, 7, "f"); + if (async.Zone._current == zone) return f(arg1, arg2); + if (!async._Zone.is(zone)) { + dart.throw(new core.ArgumentError.value(zone, "zone", "Can only run in platform zones")); + } + let old = async.Zone._enter(zone); + try { + return f(arg1, arg2); + } finally { + async.Zone._leave(old); + } + }; + async._rootRegisterCallback = function _rootRegisterCallback(R, self, parent, zone, f) { + if (self == null) dart.nullFailed(I[73], 1393, 10, "self"); + if (parent == null) dart.nullFailed(I[73], 1393, 29, "parent"); + if (zone == null) dart.nullFailed(I[73], 1393, 42, "zone"); + if (f == null) dart.nullFailed(I[73], 1393, 50, "f"); + return f; + }; + async._rootRegisterUnaryCallback = function _rootRegisterUnaryCallback(R, T, self, parent, zone, f) { + if (self == null) dart.nullFailed(I[73], 1398, 10, "self"); + if (parent == null) dart.nullFailed(I[73], 1398, 29, "parent"); + if (zone == null) dart.nullFailed(I[73], 1398, 42, "zone"); + if (f == null) dart.nullFailed(I[73], 1398, 50, "f"); + return f; + }; + async._rootRegisterBinaryCallback = function _rootRegisterBinaryCallback(R, T1, T2, self, parent, zone, f) { + if (self == null) dart.nullFailed(I[73], 1403, 10, "self"); + if (parent == null) dart.nullFailed(I[73], 1403, 29, "parent"); + if (zone == null) dart.nullFailed(I[73], 1403, 42, "zone"); + if (f == null) dart.nullFailed(I[73], 1403, 50, "f"); + return f; + }; + async._rootErrorCallback = function _rootErrorCallback(self, parent, zone, error, stackTrace) { + if (self == null) dart.nullFailed(I[73], 1407, 37, "self"); + if (parent == null) dart.nullFailed(I[73], 1407, 56, "parent"); + if (zone == null) dart.nullFailed(I[73], 1407, 69, "zone"); + if (error == null) dart.nullFailed(I[73], 1408, 16, "error"); + return null; + }; + async._rootScheduleMicrotask = function _rootScheduleMicrotask(self, parent, zone, f) { + if (zone == null) dart.nullFailed(I[73], 1412, 44, "zone"); + if (f == null) dart.nullFailed(I[73], 1412, 55, "f"); + if (async._rootZone != zone) { + let hasErrorHandler = !dart.test(async._rootZone.inSameErrorZone(zone)); + if (hasErrorHandler) { + f = zone.bindCallbackGuarded(f); + } else { + f = zone.bindCallback(dart.void, f); + } + } + async._scheduleAsyncCallback(f); + }; + async._rootCreateTimer = function _rootCreateTimer(self, parent, zone, duration, callback) { + if (self == null) dart.nullFailed(I[73], 1424, 29, "self"); + if (parent == null) dart.nullFailed(I[73], 1424, 48, "parent"); + if (zone == null) dart.nullFailed(I[73], 1424, 61, "zone"); + if (duration == null) dart.nullFailed(I[73], 1425, 14, "duration"); + if (callback == null) dart.nullFailed(I[73], 1425, 40, "callback"); + if (async._rootZone != zone) { + callback = zone.bindCallback(dart.void, callback); + } + return async.Timer._createTimer(duration, callback); + }; + async._rootCreatePeriodicTimer = function _rootCreatePeriodicTimer(self, parent, zone, duration, callback) { + if (self == null) dart.nullFailed(I[73], 1432, 37, "self"); + if (parent == null) dart.nullFailed(I[73], 1432, 56, "parent"); + if (zone == null) dart.nullFailed(I[73], 1432, 69, "zone"); + if (duration == null) dart.nullFailed(I[73], 1433, 14, "duration"); + if (callback == null) dart.nullFailed(I[73], 1433, 29, "callback"); + if (async._rootZone != zone) { + callback = zone.bindUnaryCallback(dart.void, async.Timer, callback); + } + return async.Timer._createPeriodicTimer(duration, callback); + }; + async._rootPrint = function _rootPrint(self, parent, zone, line) { + if (self == null) dart.nullFailed(I[73], 1440, 22, "self"); + if (parent == null) dart.nullFailed(I[73], 1440, 41, "parent"); + if (zone == null) dart.nullFailed(I[73], 1440, 54, "zone"); + if (line == null) dart.nullFailed(I[73], 1440, 67, "line"); + _internal.printToConsole(line); + }; + async._printToZone = function _printToZone(line) { + if (line == null) dart.nullFailed(I[73], 1444, 26, "line"); + async.Zone.current.print(line); + }; + async._rootFork = function _rootFork(self, parent, zone, specification, zoneValues) { + if (zone == null) dart.nullFailed(I[73], 1448, 55, "zone"); + if (!async._Zone.is(zone)) { + dart.throw(new core.ArgumentError.value(zone, "zone", "Can only fork a platform zone")); + } + _internal.printToZone = C[72] || CT.C72; + if (specification == null) { + specification = C[73] || CT.C73; + } else if (!async._ZoneSpecification.is(specification)) { + specification = async.ZoneSpecification.from(specification); + } + let valueMap = null; + if (zoneValues == null) { + valueMap = zone[_map$3]; + } else { + valueMap = T$.HashMapOfObjectN$ObjectN().from(zoneValues); + } + if (specification == null) dart.throw("unreachable"); + return new async._CustomZone.new(zone, specification, valueMap); + }; + async.runZoned = function runZoned(R, body, opts) { + if (body == null) dart.nullFailed(I[73], 1692, 17, "body"); + let zoneValues = opts && 'zoneValues' in opts ? opts.zoneValues : null; + let zoneSpecification = opts && 'zoneSpecification' in opts ? opts.zoneSpecification : null; + let onError = opts && 'onError' in opts ? opts.onError : null; + _internal.checkNotNullable(dart.fnType(R, []), body, "body"); + if (onError != null) { + if (!T$.ObjectAndStackTraceTovoid().is(onError)) { + if (T$.ObjectTovoid().is(onError)) { + let originalOnError = onError; + onError = dart.fn((error, stack) => { + if (error == null) dart.nullFailed(I[73], 1702, 27, "error"); + if (stack == null) dart.nullFailed(I[73], 1702, 45, "stack"); + return originalOnError(error); + }, T$.ObjectAndStackTraceTovoid()); + } else { + dart.throw(new core.ArgumentError.value(onError, "onError", "Must be Function(Object) or Function(Object, StackTrace)")); + } + } + return R.as(async.runZonedGuarded(R, body, onError, {zoneSpecification: zoneSpecification, zoneValues: zoneValues})); + } + return async._runZoned(R, body, zoneValues, zoneSpecification); + }; + async.runZonedGuarded = function runZonedGuarded(R, body, onError, opts) { + if (body == null) dart.nullFailed(I[73], 1752, 25, "body"); + if (onError == null) dart.nullFailed(I[73], 1752, 38, "onError"); + let zoneValues = opts && 'zoneValues' in opts ? opts.zoneValues : null; + let zoneSpecification = opts && 'zoneSpecification' in opts ? opts.zoneSpecification : null; + _internal.checkNotNullable(dart.fnType(R, []), body, "body"); + _internal.checkNotNullable(T$.ObjectAndStackTraceTovoid(), onError, "onError"); + let parentZone = async.Zone._current; + let errorHandler = dart.fn((self, parent, zone, error, stackTrace) => { + if (self == null) dart.nullFailed(I[73], 1757, 51, "self"); + if (parent == null) dart.nullFailed(I[73], 1757, 70, "parent"); + if (zone == null) dart.nullFailed(I[73], 1758, 12, "zone"); + if (error == null) dart.nullFailed(I[73], 1758, 25, "error"); + if (stackTrace == null) dart.nullFailed(I[73], 1758, 43, "stackTrace"); + try { + parentZone.runBinary(dart.void, core.Object, core.StackTrace, onError, error, stackTrace); + } catch (e$) { + let e = dart.getThrown(e$); + let s = dart.stackTrace(e$); + if (core.Object.is(e)) { + if (core.identical(e, error)) { + parent.handleUncaughtError(zone, error, stackTrace); + } else { + parent.handleUncaughtError(zone, e, s); + } + } else + throw e$; + } + }, T$.ZoneAndZoneDelegateAndZone__Tovoid$2()); + if (zoneSpecification == null) { + zoneSpecification = new async._ZoneSpecification.new({handleUncaughtError: errorHandler}); + } else { + zoneSpecification = async.ZoneSpecification.from(zoneSpecification, {handleUncaughtError: errorHandler}); + } + try { + return async._runZoned(R, body, zoneValues, zoneSpecification); + } catch (e) { + let error = dart.getThrown(e); + let stackTrace = dart.stackTrace(e); + if (core.Object.is(error)) { + onError(error, stackTrace); + } else + throw e; + } + return null; + }; + async._runZoned = function _runZoned(R, body, zoneValues, specification) { + if (body == null) dart.nullFailed(I[73], 1785, 18, "body"); + return async.Zone.current.fork({specification: specification, zoneValues: zoneValues}).run(R, body); + }; + dart.defineLazy(async, { + /*async._nextCallback*/get _nextCallback() { + return null; + }, + set _nextCallback(_) {}, + /*async._lastCallback*/get _lastCallback() { + return null; + }, + set _lastCallback(_) {}, + /*async._lastPriorityCallback*/get _lastPriorityCallback() { + return null; + }, + set _lastPriorityCallback(_) {}, + /*async._isInCallbackLoop*/get _isInCallbackLoop() { + return false; + }, + set _isInCallbackLoop(_) {}, + /*async._rootZone*/get _rootZone() { + return C[44] || CT.C44; + } + }, false); + var _map$4 = dart.privateName(collection, "_HashSet._map"); + var _modifications$2 = dart.privateName(collection, "_HashSet._modifications"); + var _keyMap$ = dart.privateName(collection, "_keyMap"); + var _map$5 = dart.privateName(collection, "_map"); + var _modifications$3 = dart.privateName(collection, "_modifications"); + var _newSet = dart.privateName(collection, "_newSet"); + var _newSimilarSet = dart.privateName(collection, "_newSimilarSet"); + const _is_SetMixin_default = Symbol('_is_SetMixin_default'); + collection.SetMixin$ = dart.generic(E => { + var IterableOfE = () => (IterableOfE = dart.constFn(core.Iterable$(E)))(); + var FollowedByIterableOfE = () => (FollowedByIterableOfE = dart.constFn(_internal.FollowedByIterable$(E)))(); + var SetOfE = () => (SetOfE = dart.constFn(core.Set$(E)))(); + var ListOfE = () => (ListOfE = dart.constFn(core.List$(E)))(); + var WhereIterableOfE = () => (WhereIterableOfE = dart.constFn(_internal.WhereIterable$(E)))(); + var EAndEToE = () => (EAndEToE = dart.constFn(dart.fnType(E, [E, E])))(); + var TakeIterableOfE = () => (TakeIterableOfE = dart.constFn(_internal.TakeIterable$(E)))(); + var TakeWhileIterableOfE = () => (TakeWhileIterableOfE = dart.constFn(_internal.TakeWhileIterable$(E)))(); + var SkipIterableOfE = () => (SkipIterableOfE = dart.constFn(_internal.SkipIterable$(E)))(); + var SkipWhileIterableOfE = () => (SkipWhileIterableOfE = dart.constFn(_internal.SkipWhileIterable$(E)))(); + var VoidToE = () => (VoidToE = dart.constFn(dart.fnType(E, [])))(); + var VoidToNE = () => (VoidToNE = dart.constFn(dart.nullable(VoidToE())))(); + var ETodynamic = () => (ETodynamic = dart.constFn(dart.fnType(dart.dynamic, [E])))(); + class SetMixin extends core.Object { + [Symbol.iterator]() { + return new dart.JsIterator(this[$iterator]); + } + get isEmpty() { + return this.length === 0; + } + get isNotEmpty() { + return this.length !== 0; + } + cast(R) { + return core.Set.castFrom(E, R, this); + } + followedBy(other) { + IterableOfE().as(other); + if (other == null) dart.nullFailed(I[75], 47, 38, "other"); + return FollowedByIterableOfE().firstEfficient(this, other); + } + whereType(T) { + return new (_internal.WhereTypeIterable$(T)).new(this); + } + clear() { + this.removeAll(this.toList()); + } + addAll(elements) { + IterableOfE().as(elements); + if (elements == null) dart.nullFailed(I[75], 56, 27, "elements"); + for (let element of elements) + this.add(element); + } + removeAll(elements) { + if (elements == null) dart.nullFailed(I[75], 60, 36, "elements"); + for (let element of elements) + this.remove(element); + } + retainAll(elements) { + if (elements == null) dart.nullFailed(I[75], 64, 36, "elements"); + let toRemove = this.toSet(); + for (let o of elements) { + toRemove.remove(o); + } + this.removeAll(toRemove); + } + removeWhere(test) { + if (test == null) dart.nullFailed(I[75], 74, 25, "test"); + let toRemove = T$.JSArrayOfObjectN().of([]); + for (let element of this) { + if (dart.test(test(element))) toRemove[$add](element); + } + this.removeAll(toRemove); + } + retainWhere(test) { + if (test == null) dart.nullFailed(I[75], 82, 25, "test"); + let toRemove = T$.JSArrayOfObjectN().of([]); + for (let element of this) { + if (!dart.test(test(element))) toRemove[$add](element); + } + this.removeAll(toRemove); + } + containsAll(other) { + if (other == null) dart.nullFailed(I[75], 90, 38, "other"); + for (let o of other) { + if (!dart.test(this.contains(o))) return false; + } + return true; + } + union(other) { + let t151; + SetOfE().as(other); + if (other == null) dart.nullFailed(I[75], 97, 23, "other"); + t151 = this.toSet(); + return (() => { + t151.addAll(other); + return t151; + })(); + } + intersection(other) { + if (other == null) dart.nullFailed(I[75], 101, 36, "other"); + let result = this.toSet(); + for (let element of this) { + if (!dart.test(other.contains(element))) result.remove(element); + } + return result; + } + difference(other) { + if (other == null) dart.nullFailed(I[75], 109, 34, "other"); + let result = this.toSet(); + for (let element of this) { + if (dart.test(other.contains(element))) result.remove(element); + } + return result; + } + toList(opts) { + let growable = opts && 'growable' in opts ? opts.growable : true; + if (growable == null) dart.nullFailed(I[75], 117, 24, "growable"); + return ListOfE().of(this, {growable: growable}); + } + map(T, f) { + if (f == null) dart.nullFailed(I[75], 120, 24, "f"); + return new (_internal.EfficientLengthMappedIterable$(E, T)).new(this, f); + } + get single() { + if (dart.notNull(this.length) > 1) dart.throw(_internal.IterableElementError.tooMany()); + let it = this.iterator; + if (!dart.test(it.moveNext())) dart.throw(_internal.IterableElementError.noElement()); + let result = it.current; + return result; + } + toString() { + return collection.IterableBase.iterableToFullString(this, "{", "}"); + } + where(f) { + if (f == null) dart.nullFailed(I[75], 136, 26, "f"); + return new (WhereIterableOfE()).new(this, f); + } + expand(T, f) { + if (f == null) dart.nullFailed(I[75], 138, 37, "f"); + return new (_internal.ExpandIterable$(E, T)).new(this, f); + } + forEach(f) { + if (f == null) dart.nullFailed(I[75], 141, 21, "f"); + for (let element of this) + f(element); + } + reduce(combine) { + EAndEToE().as(combine); + if (combine == null) dart.nullFailed(I[75], 145, 14, "combine"); + let iterator = this.iterator; + if (!dart.test(iterator.moveNext())) { + dart.throw(_internal.IterableElementError.noElement()); + } + let value = iterator.current; + while (dart.test(iterator.moveNext())) { + value = combine(value, iterator.current); + } + return value; + } + fold(T, initialValue, combine) { + if (combine == null) dart.nullFailed(I[75], 157, 31, "combine"); + let value = initialValue; + for (let element of this) + value = combine(value, element); + return value; + } + every(f) { + if (f == null) dart.nullFailed(I[75], 163, 19, "f"); + for (let element of this) { + if (!dart.test(f(element))) return false; + } + return true; + } + join(separator = "") { + if (separator == null) dart.nullFailed(I[75], 170, 23, "separator"); + let iterator = this.iterator; + if (!dart.test(iterator.moveNext())) return ""; + let buffer = new core.StringBuffer.new(); + if (separator == null || separator === "") { + do { + buffer.write(iterator.current); + } while (dart.test(iterator.moveNext())); + } else { + buffer.write(iterator.current); + while (dart.test(iterator.moveNext())) { + buffer.write(separator); + buffer.write(iterator.current); + } + } + return buffer.toString(); + } + any(test) { + if (test == null) dart.nullFailed(I[75], 188, 17, "test"); + for (let element of this) { + if (dart.test(test(element))) return true; + } + return false; + } + take(n) { + if (n == null) dart.nullFailed(I[75], 195, 24, "n"); + return TakeIterableOfE().new(this, n); + } + takeWhile(test) { + if (test == null) dart.nullFailed(I[75], 199, 30, "test"); + return new (TakeWhileIterableOfE()).new(this, test); + } + skip(n) { + if (n == null) dart.nullFailed(I[75], 203, 24, "n"); + return SkipIterableOfE().new(this, n); + } + skipWhile(test) { + if (test == null) dart.nullFailed(I[75], 207, 30, "test"); + return new (SkipWhileIterableOfE()).new(this, test); + } + get first() { + let it = this.iterator; + if (!dart.test(it.moveNext())) { + dart.throw(_internal.IterableElementError.noElement()); + } + return it.current; + } + get last() { + let it = this.iterator; + if (!dart.test(it.moveNext())) { + dart.throw(_internal.IterableElementError.noElement()); + } + let result = null; + do { + result = it.current; + } while (dart.test(it.moveNext())); + return result; + } + firstWhere(test, opts) { + if (test == null) dart.nullFailed(I[75], 231, 21, "test"); + let orElse = opts && 'orElse' in opts ? opts.orElse : null; + VoidToNE().as(orElse); + for (let element of this) { + if (dart.test(test(element))) return element; + } + if (orElse != null) return orElse(); + dart.throw(_internal.IterableElementError.noElement()); + } + lastWhere(test, opts) { + if (test == null) dart.nullFailed(I[75], 239, 20, "test"); + let orElse = opts && 'orElse' in opts ? opts.orElse : null; + VoidToNE().as(orElse); + let result = null; + let result$35isSet = false; + function result$35get() { + return result$35isSet ? result : dart.throw(new _internal.LateError.localNI("result")); + } + dart.fn(result$35get, VoidToE()); + function result$35set(t154) { + result$35isSet = true; + return result = t154; + } + dart.fn(result$35set, ETodynamic()); + let foundMatching = false; + for (let element of this) { + if (dart.test(test(element))) { + result$35set(element); + foundMatching = true; + } + } + if (foundMatching) return result$35get(); + if (orElse != null) return orElse(); + dart.throw(_internal.IterableElementError.noElement()); + } + singleWhere(test, opts) { + if (test == null) dart.nullFailed(I[75], 253, 22, "test"); + let orElse = opts && 'orElse' in opts ? opts.orElse : null; + VoidToNE().as(orElse); + let result = null; + let result$35isSet = false; + function result$35get() { + return result$35isSet ? result : dart.throw(new _internal.LateError.localNI("result")); + } + dart.fn(result$35get, VoidToE()); + function result$35set(t159) { + result$35isSet = true; + return result = t159; + } + dart.fn(result$35set, ETodynamic()); + let foundMatching = false; + for (let element of this) { + if (dart.test(test(element))) { + if (foundMatching) { + dart.throw(_internal.IterableElementError.tooMany()); + } + result$35set(element); + foundMatching = true; + } + } + if (foundMatching) return result$35get(); + if (orElse != null) return orElse(); + dart.throw(_internal.IterableElementError.noElement()); + } + elementAt(index) { + if (index == null) dart.nullFailed(I[75], 270, 19, "index"); + _internal.checkNotNullable(core.int, index, "index"); + core.RangeError.checkNotNegative(index, "index"); + let elementIndex = 0; + for (let element of this) { + if (index === elementIndex) return element; + elementIndex = elementIndex + 1; + } + dart.throw(new core.IndexError.new(index, this, "index", null, elementIndex)); + } + } + (SetMixin.new = function() { + ; + }).prototype = SetMixin.prototype; + dart.addTypeTests(SetMixin); + SetMixin.prototype[_is_SetMixin_default] = true; + dart.addTypeCaches(SetMixin); + SetMixin[dart.implements] = () => [core.Set$(E)]; + dart.setMethodSignature(SetMixin, () => ({ + __proto__: dart.getMethods(SetMixin.__proto__), + cast: dart.gFnType(R => [core.Set$(R), []], R => [dart.nullable(core.Object)]), + [$cast]: dart.gFnType(R => [core.Set$(R), []], R => [dart.nullable(core.Object)]), + followedBy: dart.fnType(core.Iterable$(E), [dart.nullable(core.Object)]), + [$followedBy]: dart.fnType(core.Iterable$(E), [dart.nullable(core.Object)]), + whereType: dart.gFnType(T => [core.Iterable$(T), []], T => [dart.nullable(core.Object)]), + [$whereType]: dart.gFnType(T => [core.Iterable$(T), []], T => [dart.nullable(core.Object)]), + clear: dart.fnType(dart.void, []), + addAll: dart.fnType(dart.void, [dart.nullable(core.Object)]), + removeAll: dart.fnType(dart.void, [core.Iterable$(dart.nullable(core.Object))]), + retainAll: dart.fnType(dart.void, [core.Iterable$(dart.nullable(core.Object))]), + removeWhere: dart.fnType(dart.void, [dart.fnType(core.bool, [E])]), + retainWhere: dart.fnType(dart.void, [dart.fnType(core.bool, [E])]), + containsAll: dart.fnType(core.bool, [core.Iterable$(dart.nullable(core.Object))]), + union: dart.fnType(core.Set$(E), [dart.nullable(core.Object)]), + intersection: dart.fnType(core.Set$(E), [core.Set$(dart.nullable(core.Object))]), + difference: dart.fnType(core.Set$(E), [core.Set$(dart.nullable(core.Object))]), + toList: dart.fnType(core.List$(E), [], {growable: core.bool}, {}), + [$toList]: dart.fnType(core.List$(E), [], {growable: core.bool}, {}), + map: dart.gFnType(T => [core.Iterable$(T), [dart.fnType(T, [E])]], T => [dart.nullable(core.Object)]), + [$map]: dart.gFnType(T => [core.Iterable$(T), [dart.fnType(T, [E])]], T => [dart.nullable(core.Object)]), + where: dart.fnType(core.Iterable$(E), [dart.fnType(core.bool, [E])]), + [$where]: dart.fnType(core.Iterable$(E), [dart.fnType(core.bool, [E])]), + expand: dart.gFnType(T => [core.Iterable$(T), [dart.fnType(core.Iterable$(T), [E])]], T => [dart.nullable(core.Object)]), + [$expand]: dart.gFnType(T => [core.Iterable$(T), [dart.fnType(core.Iterable$(T), [E])]], T => [dart.nullable(core.Object)]), + forEach: dart.fnType(dart.void, [dart.fnType(dart.void, [E])]), + [$forEach]: dart.fnType(dart.void, [dart.fnType(dart.void, [E])]), + reduce: dart.fnType(E, [dart.nullable(core.Object)]), + [$reduce]: dart.fnType(E, [dart.nullable(core.Object)]), + fold: dart.gFnType(T => [T, [T, dart.fnType(T, [T, E])]], T => [dart.nullable(core.Object)]), + [$fold]: dart.gFnType(T => [T, [T, dart.fnType(T, [T, E])]], T => [dart.nullable(core.Object)]), + every: dart.fnType(core.bool, [dart.fnType(core.bool, [E])]), + [$every]: dart.fnType(core.bool, [dart.fnType(core.bool, [E])]), + join: dart.fnType(core.String, [], [core.String]), + [$join]: dart.fnType(core.String, [], [core.String]), + any: dart.fnType(core.bool, [dart.fnType(core.bool, [E])]), + [$any]: dart.fnType(core.bool, [dart.fnType(core.bool, [E])]), + take: dart.fnType(core.Iterable$(E), [core.int]), + [$take]: dart.fnType(core.Iterable$(E), [core.int]), + takeWhile: dart.fnType(core.Iterable$(E), [dart.fnType(core.bool, [E])]), + [$takeWhile]: dart.fnType(core.Iterable$(E), [dart.fnType(core.bool, [E])]), + skip: dart.fnType(core.Iterable$(E), [core.int]), + [$skip]: dart.fnType(core.Iterable$(E), [core.int]), + skipWhile: dart.fnType(core.Iterable$(E), [dart.fnType(core.bool, [E])]), + [$skipWhile]: dart.fnType(core.Iterable$(E), [dart.fnType(core.bool, [E])]), + firstWhere: dart.fnType(E, [dart.fnType(core.bool, [E])], {orElse: dart.nullable(core.Object)}, {}), + [$firstWhere]: dart.fnType(E, [dart.fnType(core.bool, [E])], {orElse: dart.nullable(core.Object)}, {}), + lastWhere: dart.fnType(E, [dart.fnType(core.bool, [E])], {orElse: dart.nullable(core.Object)}, {}), + [$lastWhere]: dart.fnType(E, [dart.fnType(core.bool, [E])], {orElse: dart.nullable(core.Object)}, {}), + singleWhere: dart.fnType(E, [dart.fnType(core.bool, [E])], {orElse: dart.nullable(core.Object)}, {}), + [$singleWhere]: dart.fnType(E, [dart.fnType(core.bool, [E])], {orElse: dart.nullable(core.Object)}, {}), + elementAt: dart.fnType(E, [core.int]), + [$elementAt]: dart.fnType(E, [core.int]) + })); + dart.setGetterSignature(SetMixin, () => ({ + __proto__: dart.getGetters(SetMixin.__proto__), + isEmpty: core.bool, + [$isEmpty]: core.bool, + isNotEmpty: core.bool, + [$isNotEmpty]: core.bool, + single: E, + [$single]: E, + first: E, + [$first]: E, + last: E, + [$last]: E + })); + dart.setLibraryUri(SetMixin, I[24]); + dart.defineExtensionMethods(SetMixin, [ + 'cast', + 'followedBy', + 'whereType', + 'toList', + 'map', + 'toString', + 'where', + 'expand', + 'forEach', + 'reduce', + 'fold', + 'every', + 'join', + 'any', + 'take', + 'takeWhile', + 'skip', + 'skipWhile', + 'firstWhere', + 'lastWhere', + 'singleWhere', + 'elementAt' + ]); + dart.defineExtensionAccessors(SetMixin, [ + 'isEmpty', + 'isNotEmpty', + 'single', + 'first', + 'last' + ]); + return SetMixin; + }); + collection.SetMixin = collection.SetMixin$(); + dart.addTypeTests(collection.SetMixin, _is_SetMixin_default); + const _is__SetBase_default = Symbol('_is__SetBase_default'); + collection._SetBase$ = dart.generic(E => { + const Object_SetMixin$36 = class Object_SetMixin extends core.Object {}; + (Object_SetMixin$36.new = function() { + }).prototype = Object_SetMixin$36.prototype; + dart.applyMixin(Object_SetMixin$36, collection.SetMixin$(E)); + class _SetBase extends Object_SetMixin$36 { + cast(R) { + return core.Set.castFrom(E, R, this, {newSet: dart.bind(this, _newSimilarSet)}); + } + difference(other) { + if (other == null) dart.nullFailed(I[75], 323, 34, "other"); + let result = this[_newSet](); + for (let element of this) { + if (!dart.test(other.contains(element))) result.add(element); + } + return result; + } + intersection(other) { + if (other == null) dart.nullFailed(I[75], 331, 36, "other"); + let result = this[_newSet](); + for (let element of this) { + if (dart.test(other.contains(element))) result.add(element); + } + return result; + } + toSet() { + let t151; + t151 = this[_newSet](); + return (() => { + t151.addAll(this); + return t151; + })(); + } + } + (_SetBase.new = function() { + ; + }).prototype = _SetBase.prototype; + dart.addTypeTests(_SetBase); + _SetBase.prototype[_is__SetBase_default] = true; + dart.addTypeCaches(_SetBase); + dart.setMethodSignature(_SetBase, () => ({ + __proto__: dart.getMethods(_SetBase.__proto__), + cast: dart.gFnType(R => [core.Set$(R), []], R => [dart.nullable(core.Object)]), + [$cast]: dart.gFnType(R => [core.Set$(R), []], R => [dart.nullable(core.Object)]), + toSet: dart.fnType(core.Set$(E), []), + [$toSet]: dart.fnType(core.Set$(E), []) + })); + dart.setLibraryUri(_SetBase, I[24]); + dart.defineExtensionMethods(_SetBase, ['cast', 'toSet']); + return _SetBase; + }); + collection._SetBase = collection._SetBase$(); + dart.addTypeTests(collection._SetBase, _is__SetBase_default); + const _is__InternalSet_default = Symbol('_is__InternalSet_default'); + collection._InternalSet$ = dart.generic(E => { + var DartIteratorOfE = () => (DartIteratorOfE = dart.constFn(_js_helper.DartIterator$(E)))(); + class _InternalSet extends collection._SetBase$(E) { + get length() { + return this[_map$5].size; + } + get isEmpty() { + return this[_map$5].size == 0; + } + get isNotEmpty() { + return this[_map$5].size != 0; + } + get iterator() { + return new (DartIteratorOfE()).new(this[Symbol.iterator]()); + } + [Symbol.iterator]() { + let self = this; + let iterator = self[_map$5].values(); + let modifications = self[_modifications$3]; + return { + next() { + if (modifications != self[_modifications$3]) { + throw new core.ConcurrentModificationError.new(self); + } + return iterator.next(); + } + }; + } + } + (_InternalSet.new = function() { + _InternalSet.__proto__.new.call(this); + ; + }).prototype = _InternalSet.prototype; + dart.addTypeTests(_InternalSet); + _InternalSet.prototype[_is__InternalSet_default] = true; + dart.addTypeCaches(_InternalSet); + dart.setMethodSignature(_InternalSet, () => ({ + __proto__: dart.getMethods(_InternalSet.__proto__), + [Symbol.iterator]: dart.fnType(dart.dynamic, []) + })); + dart.setGetterSignature(_InternalSet, () => ({ + __proto__: dart.getGetters(_InternalSet.__proto__), + length: core.int, + [$length]: core.int, + iterator: core.Iterator$(E), + [$iterator]: core.Iterator$(E) + })); + dart.setLibraryUri(_InternalSet, I[24]); + dart.defineExtensionAccessors(_InternalSet, ['length', 'isEmpty', 'isNotEmpty', 'iterator']); + return _InternalSet; + }); + collection._InternalSet = collection._InternalSet$(); + dart.addTypeTests(collection._InternalSet, _is__InternalSet_default); + const _is__HashSet_default = Symbol('_is__HashSet_default'); + collection._HashSet$ = dart.generic(E => { + var _HashSetOfE = () => (_HashSetOfE = dart.constFn(collection._HashSet$(E)))(); + var IterableOfE = () => (IterableOfE = dart.constFn(core.Iterable$(E)))(); + class _HashSet extends collection._InternalSet$(E) { + get [_map$5]() { + return this[_map$4]; + } + set [_map$5](value) { + super[_map$5] = value; + } + get [_modifications$3]() { + return this[_modifications$2]; + } + set [_modifications$3](value) { + this[_modifications$2] = value; + } + [_newSet]() { + return new (_HashSetOfE()).new(); + } + [_newSimilarSet](R) { + return new (collection._HashSet$(R)).new(); + } + contains(key) { + if (key == null) { + key = null; + } else if (key[$_equals] !== dart.identityEquals) { + let k = key; + let buckets = this[_keyMap$].get(dart.hashCode(k) & 0x3ffffff); + if (buckets != null) { + for (let i = 0, n = buckets.length; i < n; i = i + 1) { + k = buckets[i]; + if (dart.equals(k, key)) return true; + } + } + return false; + } + return this[_map$5].has(key); + } + lookup(key) { + if (key == null) return null; + if (key[$_equals] !== dart.identityEquals) { + let k = key; + let buckets = this[_keyMap$].get(dart.hashCode(k) & 0x3ffffff); + if (buckets != null) { + for (let i = 0, n = buckets.length; i < n; i = i + 1) { + k = buckets[i]; + if (dart.equals(k, key)) return k; + } + } + return null; + } + return this[_map$5].has(key) ? key : null; + } + add(key) { + E.as(key); + let map = this[_map$5]; + if (key == null) { + if (dart.test(map.has(null))) return false; + key = null; + } else if (key[$_equals] !== dart.identityEquals) { + let keyMap = this[_keyMap$]; + let k = key; + let hash = dart.hashCode(k) & 0x3ffffff; + let buckets = keyMap.get(hash); + if (buckets == null) { + keyMap.set(hash, [key]); + } else { + for (let i = 0, n = buckets.length; i < n; i = i + 1) { + k = buckets[i]; + if (dart.equals(k, key)) return false; + } + buckets.push(key); + } + } else if (dart.test(map.has(key))) { + return false; + } + map.add(key); + this[_modifications$3] = this[_modifications$3] + 1 & 67108863; + return true; + } + addAll(objects) { + IterableOfE().as(objects); + if (objects == null) dart.nullFailed(I[74], 247, 27, "objects"); + let map = this[_map$5]; + let length = map.size; + for (let key of objects) { + if (key == null) { + key = null; + } else if (key[$_equals] !== dart.identityEquals) { + key = _js_helper.putLinkedMapKey(key, this[_keyMap$]); + } + map.add(key); + } + if (length !== map.size) { + this[_modifications$3] = this[_modifications$3] + 1 & 67108863; + } + } + remove(key) { + if (key == null) { + key = null; + } else if (key[$_equals] !== dart.identityEquals) { + let k = key; + let hash = dart.hashCode(k) & 0x3ffffff; + let buckets = this[_keyMap$].get(hash); + if (buckets == null) return false; + for (let i = 0, n = buckets.length;;) { + k = buckets[i]; + if (dart.equals(k, key)) { + key = k; + if (n === 1) { + this[_keyMap$].delete(hash); + } else { + buckets.splice(i, 1); + } + break; + } + if ((i = i + 1) >= n) return false; + } + } + let map = this[_map$5]; + if (map.delete(key)) { + this[_modifications$3] = this[_modifications$3] + 1 & 67108863; + return true; + } + return false; + } + clear() { + let map = this[_map$5]; + if (map.size > 0) { + map.clear(); + this[_keyMap$].clear(); + this[_modifications$3] = this[_modifications$3] + 1 & 67108863; + } + } + } + (_HashSet.new = function() { + this[_map$4] = new Set(); + this[_keyMap$] = new Map(); + this[_modifications$2] = 0; + _HashSet.__proto__.new.call(this); + ; + }).prototype = _HashSet.prototype; + dart.addTypeTests(_HashSet); + _HashSet.prototype[_is__HashSet_default] = true; + dart.addTypeCaches(_HashSet); + _HashSet[dart.implements] = () => [collection.HashSet$(E), collection.LinkedHashSet$(E)]; + dart.setMethodSignature(_HashSet, () => ({ + __proto__: dart.getMethods(_HashSet.__proto__), + [_newSet]: dart.fnType(core.Set$(E), []), + [_newSimilarSet]: dart.gFnType(R => [core.Set$(R), []], R => [dart.nullable(core.Object)]), + contains: dart.fnType(core.bool, [dart.nullable(core.Object)]), + [$contains]: dart.fnType(core.bool, [dart.nullable(core.Object)]), + lookup: dart.fnType(dart.nullable(E), [dart.nullable(core.Object)]), + add: dart.fnType(core.bool, [dart.nullable(core.Object)]), + remove: dart.fnType(core.bool, [dart.nullable(core.Object)]) + })); + dart.setLibraryUri(_HashSet, I[24]); + dart.setFieldSignature(_HashSet, () => ({ + __proto__: dart.getFields(_HashSet.__proto__), + [_map$5]: dart.finalFieldType(dart.dynamic), + [_keyMap$]: dart.finalFieldType(dart.nullable(core.Object)), + [_modifications$3]: dart.fieldType(core.int) + })); + dart.defineExtensionMethods(_HashSet, ['contains']); + return _HashSet; + }); + collection._HashSet = collection._HashSet$(); + dart.addTypeTests(collection._HashSet, _is__HashSet_default); + const _is__ImmutableSet_default = Symbol('_is__ImmutableSet_default'); + collection._ImmutableSet$ = dart.generic(E => { + var IterableOfE = () => (IterableOfE = dart.constFn(core.Iterable$(E)))(); + class _ImmutableSet extends collection._HashSet$(E) { + add(value) { + E.as(value); + return dart.throw(collection._ImmutableSet._unsupported()); + } + addAll(elements) { + IterableOfE().as(elements); + if (elements == null) dart.nullFailed(I[74], 325, 27, "elements"); + return dart.throw(collection._ImmutableSet._unsupported()); + } + clear() { + return dart.throw(collection._ImmutableSet._unsupported()); + } + remove(value) { + return dart.throw(collection._ImmutableSet._unsupported()); + } + static _unsupported() { + return new core.UnsupportedError.new("Cannot modify unmodifiable set"); + } + } + (_ImmutableSet.from = function(entries) { + if (entries == null) dart.nullFailed(I[74], 310, 33, "entries"); + _ImmutableSet.__proto__.new.call(this); + let map = this[_map$5]; + for (let key of entries) { + if (key == null) { + key = null; + } else if (key[$_equals] !== dart.identityEquals) { + key = _js_helper.putLinkedMapKey(key, this[_keyMap$]); + } + map.add(key); + } + }).prototype = _ImmutableSet.prototype; + dart.addTypeTests(_ImmutableSet); + _ImmutableSet.prototype[_is__ImmutableSet_default] = true; + dart.addTypeCaches(_ImmutableSet); + dart.setLibraryUri(_ImmutableSet, I[24]); + return _ImmutableSet; + }); + collection._ImmutableSet = collection._ImmutableSet$(); + dart.addTypeTests(collection._ImmutableSet, _is__ImmutableSet_default); + var _map$6 = dart.privateName(collection, "_IdentityHashSet._map"); + var _modifications$4 = dart.privateName(collection, "_IdentityHashSet._modifications"); + const _is__IdentityHashSet_default = Symbol('_is__IdentityHashSet_default'); + collection._IdentityHashSet$ = dart.generic(E => { + var _IdentityHashSetOfE = () => (_IdentityHashSetOfE = dart.constFn(collection._IdentityHashSet$(E)))(); + var IterableOfE = () => (IterableOfE = dart.constFn(core.Iterable$(E)))(); + class _IdentityHashSet extends collection._InternalSet$(E) { + get [_map$5]() { + return this[_map$6]; + } + set [_map$5](value) { + super[_map$5] = value; + } + get [_modifications$3]() { + return this[_modifications$4]; + } + set [_modifications$3](value) { + this[_modifications$4] = value; + } + [_newSet]() { + return new (_IdentityHashSetOfE()).new(); + } + [_newSimilarSet](R) { + return new (collection._IdentityHashSet$(R)).new(); + } + contains(element) { + return this[_map$5].has(element); + } + lookup(element) { + return E.is(element) && this[_map$5].has(element) ? element : null; + } + add(element) { + E.as(element); + let map = this[_map$5]; + if (map.has(element)) return false; + map.add(element); + this[_modifications$3] = this[_modifications$3] + 1 & 67108863; + return true; + } + addAll(objects) { + IterableOfE().as(objects); + if (objects == null) dart.nullFailed(I[74], 366, 27, "objects"); + let map = this[_map$5]; + let length = map.size; + for (let key of objects) { + map.add(key); + } + if (length !== map.size) { + this[_modifications$3] = this[_modifications$3] + 1 & 67108863; + } + } + remove(element) { + if (this[_map$5].delete(element)) { + this[_modifications$3] = this[_modifications$3] + 1 & 67108863; + return true; + } + return false; + } + clear() { + let map = this[_map$5]; + if (map.size > 0) { + map.clear(); + this[_modifications$3] = this[_modifications$3] + 1 & 67108863; + } + } + } + (_IdentityHashSet.new = function() { + this[_map$6] = new Set(); + this[_modifications$4] = 0; + _IdentityHashSet.__proto__.new.call(this); + ; + }).prototype = _IdentityHashSet.prototype; + dart.addTypeTests(_IdentityHashSet); + _IdentityHashSet.prototype[_is__IdentityHashSet_default] = true; + dart.addTypeCaches(_IdentityHashSet); + _IdentityHashSet[dart.implements] = () => [collection.HashSet$(E), collection.LinkedHashSet$(E)]; + dart.setMethodSignature(_IdentityHashSet, () => ({ + __proto__: dart.getMethods(_IdentityHashSet.__proto__), + [_newSet]: dart.fnType(core.Set$(E), []), + [_newSimilarSet]: dart.gFnType(R => [core.Set$(R), []], R => [dart.nullable(core.Object)]), + contains: dart.fnType(core.bool, [dart.nullable(core.Object)]), + [$contains]: dart.fnType(core.bool, [dart.nullable(core.Object)]), + lookup: dart.fnType(dart.nullable(E), [dart.nullable(core.Object)]), + add: dart.fnType(core.bool, [dart.nullable(core.Object)]), + remove: dart.fnType(core.bool, [dart.nullable(core.Object)]) + })); + dart.setLibraryUri(_IdentityHashSet, I[24]); + dart.setFieldSignature(_IdentityHashSet, () => ({ + __proto__: dart.getFields(_IdentityHashSet.__proto__), + [_map$5]: dart.finalFieldType(dart.dynamic), + [_modifications$3]: dart.fieldType(core.int) + })); + dart.defineExtensionMethods(_IdentityHashSet, ['contains']); + return _IdentityHashSet; + }); + collection._IdentityHashSet = collection._IdentityHashSet$(); + dart.addTypeTests(collection._IdentityHashSet, _is__IdentityHashSet_default); + var _validKey$0 = dart.privateName(collection, "_validKey"); + var _equals$0 = dart.privateName(collection, "_equals"); + var _hashCode$0 = dart.privateName(collection, "_hashCode"); + var _modifications$5 = dart.privateName(collection, "_CustomHashSet._modifications"); + var _map$7 = dart.privateName(collection, "_CustomHashSet._map"); + const _is__CustomHashSet_default = Symbol('_is__CustomHashSet_default'); + collection._CustomHashSet$ = dart.generic(E => { + var _CustomHashSetOfE = () => (_CustomHashSetOfE = dart.constFn(collection._CustomHashSet$(E)))(); + var IterableOfE = () => (IterableOfE = dart.constFn(core.Iterable$(E)))(); + class _CustomHashSet extends collection._InternalSet$(E) { + get [_modifications$3]() { + return this[_modifications$5]; + } + set [_modifications$3](value) { + this[_modifications$5] = value; + } + get [_map$5]() { + return this[_map$7]; + } + set [_map$5](value) { + super[_map$5] = value; + } + [_newSet]() { + return new (_CustomHashSetOfE()).new(this[_equals$0], this[_hashCode$0]); + } + [_newSimilarSet](R) { + return new (collection._HashSet$(R)).new(); + } + contains(key) { + let t161; + if (E.is(key)) { + let buckets = this[_keyMap$].get((t161 = key, this[_hashCode$0](t161)) & 0x3ffffff); + if (buckets != null) { + let equals = this[_equals$0]; + for (let i = 0, n = buckets.length; i < n; i = i + 1) { + let k = buckets[i]; + if (dart.test(equals(k, key))) return true; + } + } + } + return false; + } + lookup(key) { + let t161; + if (E.is(key)) { + let buckets = this[_keyMap$].get((t161 = key, this[_hashCode$0](t161)) & 0x3ffffff); + if (buckets != null) { + let equals = this[_equals$0]; + for (let i = 0, n = buckets.length; i < n; i = i + 1) { + let k = buckets[i]; + if (dart.test(equals(k, key))) return k; + } + } + } + return null; + } + add(key) { + let t161; + E.as(key); + let keyMap = this[_keyMap$]; + let hash = (t161 = key, this[_hashCode$0](t161)) & 0x3ffffff; + let buckets = keyMap.get(hash); + if (buckets == null) { + keyMap.set(hash, [key]); + } else { + let equals = this[_equals$0]; + for (let i = 0, n = buckets.length; i < n; i = i + 1) { + let k = buckets[i]; + if (dart.test(equals(k, key))) return false; + } + buckets.push(key); + } + this[_map$5].add(key); + this[_modifications$3] = this[_modifications$3] + 1 & 67108863; + return true; + } + addAll(objects) { + IterableOfE().as(objects); + if (objects == null) dart.nullFailed(I[74], 500, 27, "objects"); + for (let element of objects) + this.add(element); + } + remove(key) { + let t161; + if (E.is(key)) { + let hash = (t161 = key, this[_hashCode$0](t161)) & 0x3ffffff; + let keyMap = this[_keyMap$]; + let buckets = keyMap.get(hash); + if (buckets == null) return false; + let equals = this[_equals$0]; + for (let i = 0, n = buckets.length; i < n; i = i + 1) { + let k = buckets[i]; + if (dart.test(equals(k, key))) { + if (n === 1) { + keyMap.delete(hash); + } else { + buckets.splice(i, 1); + } + this[_map$5].delete(k); + this[_modifications$3] = this[_modifications$3] + 1 & 67108863; + return true; + } + } + } + return false; + } + clear() { + let map = this[_map$5]; + if (map.size > 0) { + map.clear(); + this[_keyMap$].clear(); + this[_modifications$3] = this[_modifications$3] + 1 & 67108863; + } + } + } + (_CustomHashSet.new = function(_equals, _hashCode) { + if (_equals == null) dart.nullFailed(I[74], 448, 23, "_equals"); + if (_hashCode == null) dart.nullFailed(I[74], 448, 37, "_hashCode"); + this[_modifications$5] = 0; + this[_map$7] = new Set(); + this[_keyMap$] = new Map(); + this[_equals$0] = _equals; + this[_hashCode$0] = _hashCode; + _CustomHashSet.__proto__.new.call(this); + ; + }).prototype = _CustomHashSet.prototype; + dart.addTypeTests(_CustomHashSet); + _CustomHashSet.prototype[_is__CustomHashSet_default] = true; + dart.addTypeCaches(_CustomHashSet); + _CustomHashSet[dart.implements] = () => [collection.HashSet$(E), collection.LinkedHashSet$(E)]; + dart.setMethodSignature(_CustomHashSet, () => ({ + __proto__: dart.getMethods(_CustomHashSet.__proto__), + [_newSet]: dart.fnType(core.Set$(E), []), + [_newSimilarSet]: dart.gFnType(R => [core.Set$(R), []], R => [dart.nullable(core.Object)]), + contains: dart.fnType(core.bool, [dart.nullable(core.Object)]), + [$contains]: dart.fnType(core.bool, [dart.nullable(core.Object)]), + lookup: dart.fnType(dart.nullable(E), [dart.nullable(core.Object)]), + add: dart.fnType(core.bool, [dart.nullable(core.Object)]), + remove: dart.fnType(core.bool, [dart.nullable(core.Object)]) + })); + dart.setLibraryUri(_CustomHashSet, I[24]); + dart.setFieldSignature(_CustomHashSet, () => ({ + __proto__: dart.getFields(_CustomHashSet.__proto__), + [_equals$0]: dart.fieldType(dart.fnType(core.bool, [E, E])), + [_hashCode$0]: dart.fieldType(dart.fnType(core.int, [E])), + [_modifications$3]: dart.fieldType(core.int), + [_map$5]: dart.finalFieldType(dart.dynamic), + [_keyMap$]: dart.finalFieldType(dart.nullable(core.Object)) + })); + dart.defineExtensionMethods(_CustomHashSet, ['contains']); + return _CustomHashSet; + }); + collection._CustomHashSet = collection._CustomHashSet$(); + dart.addTypeTests(collection._CustomHashSet, _is__CustomHashSet_default); + const _is__CustomKeyHashSet_default = Symbol('_is__CustomKeyHashSet_default'); + collection._CustomKeyHashSet$ = dart.generic(E => { + var _CustomKeyHashSetOfE = () => (_CustomKeyHashSetOfE = dart.constFn(collection._CustomKeyHashSet$(E)))(); + class _CustomKeyHashSet extends collection._CustomHashSet$(E) { + [_newSet]() { + return new (_CustomKeyHashSetOfE()).new(this[_equals$0], this[_hashCode$0], this[_validKey$0]); + } + [_newSimilarSet](R) { + return new (collection._HashSet$(R)).new(); + } + contains(element) { + let t161; + if (!dart.test((t161 = element, this[_validKey$0](t161)))) return false; + return super.contains(element); + } + lookup(element) { + let t161; + if (!dart.test((t161 = element, this[_validKey$0](t161)))) return null; + return super.lookup(element); + } + remove(element) { + let t161; + if (!dart.test((t161 = element, this[_validKey$0](t161)))) return false; + return super.remove(element); + } + } + (_CustomKeyHashSet.new = function(equals, hashCode, _validKey) { + if (equals == null) dart.nullFailed(I[74], 396, 34, "equals"); + if (hashCode == null) dart.nullFailed(I[74], 396, 53, "hashCode"); + if (_validKey == null) dart.nullFailed(I[74], 396, 68, "_validKey"); + this[_validKey$0] = _validKey; + _CustomKeyHashSet.__proto__.new.call(this, equals, hashCode); + ; + }).prototype = _CustomKeyHashSet.prototype; + dart.addTypeTests(_CustomKeyHashSet); + _CustomKeyHashSet.prototype[_is__CustomKeyHashSet_default] = true; + dart.addTypeCaches(_CustomKeyHashSet); + dart.setMethodSignature(_CustomKeyHashSet, () => ({ + __proto__: dart.getMethods(_CustomKeyHashSet.__proto__), + [_newSimilarSet]: dart.gFnType(R => [core.Set$(R), []], R => [dart.nullable(core.Object)]) + })); + dart.setLibraryUri(_CustomKeyHashSet, I[24]); + dart.setFieldSignature(_CustomKeyHashSet, () => ({ + __proto__: dart.getFields(_CustomKeyHashSet.__proto__), + [_validKey$0]: dart.fieldType(dart.fnType(core.bool, [dart.nullable(core.Object)])) + })); + dart.defineExtensionMethods(_CustomKeyHashSet, ['contains']); + return _CustomKeyHashSet; + }); + collection._CustomKeyHashSet = collection._CustomKeyHashSet$(); + dart.addTypeTests(collection._CustomKeyHashSet, _is__CustomKeyHashSet_default); + var _source = dart.privateName(collection, "_source"); + const _is_UnmodifiableListView_default = Symbol('_is_UnmodifiableListView_default'); + collection.UnmodifiableListView$ = dart.generic(E => { + class UnmodifiableListView extends _internal.UnmodifiableListBase$(E) { + cast(R) { + return new (collection.UnmodifiableListView$(R)).new(this[_source][$cast](R)); + } + get length() { + return this[_source][$length]; + } + set length(value) { + super.length = value; + } + _get(index) { + if (index == null) dart.nullFailed(I[76], 23, 21, "index"); + return this[_source][$elementAt](index); + } + } + (UnmodifiableListView.new = function(source) { + if (source == null) dart.nullFailed(I[76], 18, 36, "source"); + this[_source] = source; + ; + }).prototype = UnmodifiableListView.prototype; + dart.addTypeTests(UnmodifiableListView); + UnmodifiableListView.prototype[_is_UnmodifiableListView_default] = true; + dart.addTypeCaches(UnmodifiableListView); + dart.setMethodSignature(UnmodifiableListView, () => ({ + __proto__: dart.getMethods(UnmodifiableListView.__proto__), + cast: dart.gFnType(R => [core.List$(R), []], R => [dart.nullable(core.Object)]), + [$cast]: dart.gFnType(R => [core.List$(R), []], R => [dart.nullable(core.Object)]), + _get: dart.fnType(E, [core.int]), + [$_get]: dart.fnType(E, [core.int]) + })); + dart.setGetterSignature(UnmodifiableListView, () => ({ + __proto__: dart.getGetters(UnmodifiableListView.__proto__), + length: core.int, + [$length]: core.int + })); + dart.setLibraryUri(UnmodifiableListView, I[24]); + dart.setFieldSignature(UnmodifiableListView, () => ({ + __proto__: dart.getFields(UnmodifiableListView.__proto__), + [_source]: dart.finalFieldType(core.Iterable$(E)) + })); + dart.defineExtensionMethods(UnmodifiableListView, ['cast', '_get']); + dart.defineExtensionAccessors(UnmodifiableListView, ['length']); + return UnmodifiableListView; + }); + collection.UnmodifiableListView = collection.UnmodifiableListView$(); + dart.addTypeTests(collection.UnmodifiableListView, _is_UnmodifiableListView_default); + const _is_HashMap_default = Symbol('_is_HashMap_default'); + collection.HashMap$ = dart.generic((K, V) => { + class HashMap extends core.Object { + static new(opts) { + let t161, t161$, t161$0; + let equals = opts && 'equals' in opts ? opts.equals : null; + let hashCode = opts && 'hashCode' in opts ? opts.hashCode : null; + let isValidKey = opts && 'isValidKey' in opts ? opts.isValidKey : null; + if (isValidKey == null) { + if (hashCode == null) { + if (equals == null) { + if (dart.wrapType(K) === dart.wrapType(core.String) || dart.wrapType(K) === dart.wrapType(core.int)) { + return new (_js_helper.IdentityMap$(K, V)).new(); + } + return new (_js_helper.LinkedMap$(K, V)).new(); + } + hashCode = C[74] || CT.C74; + } else if ((C[75] || CT.C75) === hashCode && (C[76] || CT.C76) === equals) { + return new (_js_helper.IdentityMap$(K, V)).new(); + } + return new (_js_helper.CustomHashMap$(K, V)).new((t161 = equals, t161 == null ? C[77] || CT.C77 : t161), hashCode); + } + return new (_js_helper.CustomKeyHashMap$(K, V)).new((t161$ = equals, t161$ == null ? C[77] || CT.C77 : t161$), (t161$0 = hashCode, t161$0 == null ? C[74] || CT.C74 : t161$0), isValidKey); + } + static from(other) { + if (other == null) dart.nullFailed(I[77], 101, 46, "other"); + let result = new (_js_helper.LinkedMap$(K, V)).new(); + other[$forEach](dart.fn((k, v) => { + result[$_set](K.as(k), V.as(v)); + }, T$.dynamicAnddynamicTovoid())); + return result; + } + static of(other) { + let t161; + if (other == null) dart.nullFailed(I[77], 110, 32, "other"); + t161 = new (_js_helper.LinkedMap$(K, V)).new(); + return (() => { + t161[$addAll](other); + return t161; + })(); + } + static fromIterable(iterable, opts) { + if (iterable == null) dart.nullFailed(I[77], 123, 41, "iterable"); + let key = opts && 'key' in opts ? opts.key : null; + let value = opts && 'value' in opts ? opts.value : null; + let map = new (_js_helper.LinkedMap$(K, V)).new(); + collection.MapBase._fillMapWithMappedIterable(map, iterable, key, value); + return map; + } + static fromIterables(keys, values) { + if (keys == null) dart.nullFailed(I[77], 139, 45, "keys"); + if (values == null) dart.nullFailed(I[77], 139, 63, "values"); + let map = new (_js_helper.LinkedMap$(K, V)).new(); + collection.MapBase._fillMapWithIterables(map, keys, values); + return map; + } + static fromEntries(entries) { + let t161; + if (entries == null) dart.nullFailed(I[77], 153, 56, "entries"); + t161 = new (_js_helper.LinkedMap$(K, V)).new(); + return (() => { + t161[$addEntries](entries); + return t161; + })(); + } + } + (HashMap[dart.mixinNew] = function() { + }).prototype = HashMap.prototype; + HashMap.prototype[dart.isMap] = true; + dart.addTypeTests(HashMap); + HashMap.prototype[_is_HashMap_default] = true; + dart.addTypeCaches(HashMap); + HashMap[dart.implements] = () => [core.Map$(K, V)]; + dart.setLibraryUri(HashMap, I[24]); + return HashMap; + }); + collection.HashMap = collection.HashMap$(); + dart.addTypeTests(collection.HashMap, _is_HashMap_default); + const _is_HashSet_default = Symbol('_is_HashSet_default'); + collection.HashSet$ = dart.generic(E => { + class HashSet extends core.Object { + static new(opts) { + let t161, t161$, t161$0, t161$1; + let equals = opts && 'equals' in opts ? opts.equals : null; + let hashCode = opts && 'hashCode' in opts ? opts.hashCode : null; + let isValidKey = opts && 'isValidKey' in opts ? opts.isValidKey : null; + if (isValidKey == null) { + if (hashCode == null) { + if (equals == null) { + if (dart.wrapType(E) === dart.wrapType(core.String) || dart.wrapType(E) === dart.wrapType(core.int)) { + return new (collection._IdentityHashSet$(E)).new(); + } + return new (collection._HashSet$(E)).new(); + } + } else if ((C[75] || CT.C75) === hashCode && (C[76] || CT.C76) === equals) { + return new (collection._IdentityHashSet$(E)).new(); + } + return new (collection._CustomHashSet$(E)).new((t161 = equals, t161 == null ? C[77] || CT.C77 : t161), (t161$ = hashCode, t161$ == null ? C[74] || CT.C74 : t161$)); + } + return new (collection._CustomKeyHashSet$(E)).new((t161$0 = equals, t161$0 == null ? C[77] || CT.C77 : t161$0), (t161$1 = hashCode, t161$1 == null ? C[74] || CT.C74 : t161$1), isValidKey); + } + static from(elements) { + if (elements == null) dart.nullFailed(I[78], 93, 42, "elements"); + let result = new (collection._HashSet$(E)).new(); + for (let e of elements) { + result.add(E.as(e)); + } + return result; + } + static of(elements) { + let t161; + if (elements == null) dart.nullFailed(I[78], 107, 34, "elements"); + t161 = new (collection._HashSet$(E)).new(); + return (() => { + t161.addAll(elements); + return t161; + })(); + } + [Symbol.iterator]() { + return new dart.JsIterator(this[$iterator]); + } + } + (HashSet[dart.mixinNew] = function() { + }).prototype = HashSet.prototype; + dart.addTypeTests(HashSet); + HashSet.prototype[_is_HashSet_default] = true; + dart.addTypeCaches(HashSet); + HashSet[dart.implements] = () => [core.Set$(E)]; + dart.setLibraryUri(HashSet, I[24]); + return HashSet; + }); + collection.HashSet = collection.HashSet$(); + dart.addTypeTests(collection.HashSet, _is_HashSet_default); + const _is_IterableMixin_default = Symbol('_is_IterableMixin_default'); + collection.IterableMixin$ = dart.generic(E => { + var WhereIterableOfE = () => (WhereIterableOfE = dart.constFn(_internal.WhereIterable$(E)))(); + var IterableOfE = () => (IterableOfE = dart.constFn(core.Iterable$(E)))(); + var EfficientLengthIterableOfE = () => (EfficientLengthIterableOfE = dart.constFn(_internal.EfficientLengthIterable$(E)))(); + var FollowedByIterableOfE = () => (FollowedByIterableOfE = dart.constFn(_internal.FollowedByIterable$(E)))(); + var EAndEToE = () => (EAndEToE = dart.constFn(dart.fnType(E, [E, E])))(); + var ListOfE = () => (ListOfE = dart.constFn(core.List$(E)))(); + var LinkedHashSetOfE = () => (LinkedHashSetOfE = dart.constFn(collection.LinkedHashSet$(E)))(); + var TakeIterableOfE = () => (TakeIterableOfE = dart.constFn(_internal.TakeIterable$(E)))(); + var TakeWhileIterableOfE = () => (TakeWhileIterableOfE = dart.constFn(_internal.TakeWhileIterable$(E)))(); + var SkipIterableOfE = () => (SkipIterableOfE = dart.constFn(_internal.SkipIterable$(E)))(); + var SkipWhileIterableOfE = () => (SkipWhileIterableOfE = dart.constFn(_internal.SkipWhileIterable$(E)))(); + var VoidToE = () => (VoidToE = dart.constFn(dart.fnType(E, [])))(); + var VoidToNE = () => (VoidToNE = dart.constFn(dart.nullable(VoidToE())))(); + var ETodynamic = () => (ETodynamic = dart.constFn(dart.fnType(dart.dynamic, [E])))(); + class IterableMixin extends core.Object { + cast(R) { + return core.Iterable.castFrom(E, R, this); + } + map(T, f) { + if (f == null) dart.nullFailed(I[39], 17, 24, "f"); + return _internal.MappedIterable$(E, T).new(this, f); + } + where(f) { + if (f == null) dart.nullFailed(I[39], 19, 26, "f"); + return new (WhereIterableOfE()).new(this, f); + } + whereType(T) { + return new (_internal.WhereTypeIterable$(T)).new(this); + } + expand(T, f) { + if (f == null) dart.nullFailed(I[39], 23, 37, "f"); + return new (_internal.ExpandIterable$(E, T)).new(this, f); + } + followedBy(other) { + IterableOfE().as(other); + if (other == null) dart.nullFailed(I[39], 26, 38, "other"); + let self = this; + if (EfficientLengthIterableOfE().is(self)) { + return FollowedByIterableOfE().firstEfficient(self, other); + } + return new (FollowedByIterableOfE()).new(this, other); + } + contains(element) { + for (let e of this) { + if (dart.equals(e, element)) return true; + } + return false; + } + forEach(f) { + if (f == null) dart.nullFailed(I[39], 43, 21, "f"); + for (let element of this) + f(element); + } + reduce(combine) { + EAndEToE().as(combine); + if (combine == null) dart.nullFailed(I[39], 47, 14, "combine"); + let iterator = this[$iterator]; + if (!dart.test(iterator.moveNext())) { + dart.throw(_internal.IterableElementError.noElement()); + } + let value = iterator.current; + while (dart.test(iterator.moveNext())) { + value = combine(value, iterator.current); + } + return value; + } + fold(T, initialValue, combine) { + if (combine == null) dart.nullFailed(I[39], 59, 31, "combine"); + let value = initialValue; + for (let element of this) + value = combine(value, element); + return value; + } + every(f) { + if (f == null) dart.nullFailed(I[39], 65, 19, "f"); + for (let element of this) { + if (!dart.test(f(element))) return false; + } + return true; + } + join(separator = "") { + if (separator == null) dart.nullFailed(I[39], 72, 23, "separator"); + let iterator = this[$iterator]; + if (!dart.test(iterator.moveNext())) return ""; + let buffer = new core.StringBuffer.new(); + if (separator == null || separator === "") { + do { + buffer.write(dart.str(iterator.current)); + } while (dart.test(iterator.moveNext())); + } else { + buffer.write(dart.str(iterator.current)); + while (dart.test(iterator.moveNext())) { + buffer.write(separator); + buffer.write(dart.str(iterator.current)); + } + } + return buffer.toString(); + } + any(test) { + if (test == null) dart.nullFailed(I[39], 90, 17, "test"); + for (let element of this) { + if (dart.test(test(element))) return true; + } + return false; + } + toList(opts) { + let growable = opts && 'growable' in opts ? opts.growable : true; + if (growable == null) dart.nullFailed(I[39], 97, 24, "growable"); + return ListOfE().from(this, {growable: growable}); + } + toSet() { + return LinkedHashSetOfE().from(this); + } + get length() { + if (!!_internal.EfficientLengthIterable.is(this)) dart.assertFailed(null, I[39], 103, 12, "this is! EfficientLengthIterable"); + let count = 0; + let it = this[$iterator]; + while (dart.test(it.moveNext())) { + count = count + 1; + } + return count; + } + get isEmpty() { + return !dart.test(this[$iterator].moveNext()); + } + get isNotEmpty() { + return !dart.test(this.isEmpty); + } + take(count) { + if (count == null) dart.nullFailed(I[39], 116, 24, "count"); + return TakeIterableOfE().new(this, count); + } + takeWhile(test) { + if (test == null) dart.nullFailed(I[39], 120, 30, "test"); + return new (TakeWhileIterableOfE()).new(this, test); + } + skip(count) { + if (count == null) dart.nullFailed(I[39], 124, 24, "count"); + return SkipIterableOfE().new(this, count); + } + skipWhile(test) { + if (test == null) dart.nullFailed(I[39], 128, 30, "test"); + return new (SkipWhileIterableOfE()).new(this, test); + } + get first() { + let it = this[$iterator]; + if (!dart.test(it.moveNext())) { + dart.throw(_internal.IterableElementError.noElement()); + } + return it.current; + } + get last() { + let it = this[$iterator]; + if (!dart.test(it.moveNext())) { + dart.throw(_internal.IterableElementError.noElement()); + } + let result = null; + do { + result = it.current; + } while (dart.test(it.moveNext())); + return result; + } + get single() { + let it = this[$iterator]; + if (!dart.test(it.moveNext())) dart.throw(_internal.IterableElementError.noElement()); + let result = it.current; + if (dart.test(it.moveNext())) dart.throw(_internal.IterableElementError.tooMany()); + return result; + } + firstWhere(test, opts) { + if (test == null) dart.nullFailed(I[39], 160, 21, "test"); + let orElse = opts && 'orElse' in opts ? opts.orElse : null; + VoidToNE().as(orElse); + for (let element of this) { + if (dart.test(test(element))) return element; + } + if (orElse != null) return orElse(); + dart.throw(_internal.IterableElementError.noElement()); + } + lastWhere(test, opts) { + if (test == null) dart.nullFailed(I[39], 168, 20, "test"); + let orElse = opts && 'orElse' in opts ? opts.orElse : null; + VoidToNE().as(orElse); + let result = null; + let result$35isSet = false; + function result$35get() { + return result$35isSet ? result : dart.throw(new _internal.LateError.localNI("result")); + } + dart.fn(result$35get, VoidToE()); + function result$35set(t164) { + result$35isSet = true; + return result = t164; + } + dart.fn(result$35set, ETodynamic()); + let foundMatching = false; + for (let element of this) { + if (dart.test(test(element))) { + result$35set(element); + foundMatching = true; + } + } + if (foundMatching) return result$35get(); + if (orElse != null) return orElse(); + dart.throw(_internal.IterableElementError.noElement()); + } + singleWhere(test, opts) { + if (test == null) dart.nullFailed(I[39], 182, 22, "test"); + let orElse = opts && 'orElse' in opts ? opts.orElse : null; + VoidToNE().as(orElse); + let result = null; + let result$35isSet = false; + function result$35get() { + return result$35isSet ? result : dart.throw(new _internal.LateError.localNI("result")); + } + dart.fn(result$35get, VoidToE()); + function result$35set(t169) { + result$35isSet = true; + return result = t169; + } + dart.fn(result$35set, ETodynamic()); + let foundMatching = false; + for (let element of this) { + if (dart.test(test(element))) { + if (foundMatching) { + dart.throw(_internal.IterableElementError.tooMany()); + } + result$35set(element); + foundMatching = true; + } + } + if (foundMatching) return result$35get(); + if (orElse != null) return orElse(); + dart.throw(_internal.IterableElementError.noElement()); + } + elementAt(index) { + if (index == null) dart.nullFailed(I[39], 199, 19, "index"); + _internal.checkNotNullable(core.int, index, "index"); + core.RangeError.checkNotNegative(index, "index"); + let elementIndex = 0; + for (let element of this) { + if (index === elementIndex) return element; + elementIndex = elementIndex + 1; + } + dart.throw(new core.IndexError.new(index, this, "index", null, elementIndex)); + } + toString() { + return collection.IterableBase.iterableToShortString(this, "(", ")"); + } + [Symbol.iterator]() { + return new dart.JsIterator(this[$iterator]); + } + } + (IterableMixin.new = function() { + ; + }).prototype = IterableMixin.prototype; + IterableMixin.prototype[dart.isIterable] = true; + dart.addTypeTests(IterableMixin); + IterableMixin.prototype[_is_IterableMixin_default] = true; + dart.addTypeCaches(IterableMixin); + IterableMixin[dart.implements] = () => [core.Iterable$(E)]; + dart.setMethodSignature(IterableMixin, () => ({ + __proto__: dart.getMethods(IterableMixin.__proto__), + cast: dart.gFnType(R => [core.Iterable$(R), []], R => [dart.nullable(core.Object)]), + [$cast]: dart.gFnType(R => [core.Iterable$(R), []], R => [dart.nullable(core.Object)]), + map: dart.gFnType(T => [core.Iterable$(T), [dart.fnType(T, [E])]], T => [dart.nullable(core.Object)]), + [$map]: dart.gFnType(T => [core.Iterable$(T), [dart.fnType(T, [E])]], T => [dart.nullable(core.Object)]), + where: dart.fnType(core.Iterable$(E), [dart.fnType(core.bool, [E])]), + [$where]: dart.fnType(core.Iterable$(E), [dart.fnType(core.bool, [E])]), + whereType: dart.gFnType(T => [core.Iterable$(T), []], T => [dart.nullable(core.Object)]), + [$whereType]: dart.gFnType(T => [core.Iterable$(T), []], T => [dart.nullable(core.Object)]), + expand: dart.gFnType(T => [core.Iterable$(T), [dart.fnType(core.Iterable$(T), [E])]], T => [dart.nullable(core.Object)]), + [$expand]: dart.gFnType(T => [core.Iterable$(T), [dart.fnType(core.Iterable$(T), [E])]], T => [dart.nullable(core.Object)]), + followedBy: dart.fnType(core.Iterable$(E), [dart.nullable(core.Object)]), + [$followedBy]: dart.fnType(core.Iterable$(E), [dart.nullable(core.Object)]), + contains: dart.fnType(core.bool, [dart.nullable(core.Object)]), + [$contains]: dart.fnType(core.bool, [dart.nullable(core.Object)]), + forEach: dart.fnType(dart.void, [dart.fnType(dart.void, [E])]), + [$forEach]: dart.fnType(dart.void, [dart.fnType(dart.void, [E])]), + reduce: dart.fnType(E, [dart.nullable(core.Object)]), + [$reduce]: dart.fnType(E, [dart.nullable(core.Object)]), + fold: dart.gFnType(T => [T, [T, dart.fnType(T, [T, E])]], T => [dart.nullable(core.Object)]), + [$fold]: dart.gFnType(T => [T, [T, dart.fnType(T, [T, E])]], T => [dart.nullable(core.Object)]), + every: dart.fnType(core.bool, [dart.fnType(core.bool, [E])]), + [$every]: dart.fnType(core.bool, [dart.fnType(core.bool, [E])]), + join: dart.fnType(core.String, [], [core.String]), + [$join]: dart.fnType(core.String, [], [core.String]), + any: dart.fnType(core.bool, [dart.fnType(core.bool, [E])]), + [$any]: dart.fnType(core.bool, [dart.fnType(core.bool, [E])]), + toList: dart.fnType(core.List$(E), [], {growable: core.bool}, {}), + [$toList]: dart.fnType(core.List$(E), [], {growable: core.bool}, {}), + toSet: dart.fnType(core.Set$(E), []), + [$toSet]: dart.fnType(core.Set$(E), []), + take: dart.fnType(core.Iterable$(E), [core.int]), + [$take]: dart.fnType(core.Iterable$(E), [core.int]), + takeWhile: dart.fnType(core.Iterable$(E), [dart.fnType(core.bool, [E])]), + [$takeWhile]: dart.fnType(core.Iterable$(E), [dart.fnType(core.bool, [E])]), + skip: dart.fnType(core.Iterable$(E), [core.int]), + [$skip]: dart.fnType(core.Iterable$(E), [core.int]), + skipWhile: dart.fnType(core.Iterable$(E), [dart.fnType(core.bool, [E])]), + [$skipWhile]: dart.fnType(core.Iterable$(E), [dart.fnType(core.bool, [E])]), + firstWhere: dart.fnType(E, [dart.fnType(core.bool, [E])], {orElse: dart.nullable(core.Object)}, {}), + [$firstWhere]: dart.fnType(E, [dart.fnType(core.bool, [E])], {orElse: dart.nullable(core.Object)}, {}), + lastWhere: dart.fnType(E, [dart.fnType(core.bool, [E])], {orElse: dart.nullable(core.Object)}, {}), + [$lastWhere]: dart.fnType(E, [dart.fnType(core.bool, [E])], {orElse: dart.nullable(core.Object)}, {}), + singleWhere: dart.fnType(E, [dart.fnType(core.bool, [E])], {orElse: dart.nullable(core.Object)}, {}), + [$singleWhere]: dart.fnType(E, [dart.fnType(core.bool, [E])], {orElse: dart.nullable(core.Object)}, {}), + elementAt: dart.fnType(E, [core.int]), + [$elementAt]: dart.fnType(E, [core.int]) + })); + dart.setGetterSignature(IterableMixin, () => ({ + __proto__: dart.getGetters(IterableMixin.__proto__), + length: core.int, + [$length]: core.int, + isEmpty: core.bool, + [$isEmpty]: core.bool, + isNotEmpty: core.bool, + [$isNotEmpty]: core.bool, + first: E, + [$first]: E, + last: E, + [$last]: E, + single: E, + [$single]: E + })); + dart.setLibraryUri(IterableMixin, I[24]); + dart.defineExtensionMethods(IterableMixin, [ + 'cast', + 'map', + 'where', + 'whereType', + 'expand', + 'followedBy', + 'contains', + 'forEach', + 'reduce', + 'fold', + 'every', + 'join', + 'any', + 'toList', + 'toSet', + 'take', + 'takeWhile', + 'skip', + 'skipWhile', + 'firstWhere', + 'lastWhere', + 'singleWhere', + 'elementAt', + 'toString' + ]); + dart.defineExtensionAccessors(IterableMixin, [ + 'length', + 'isEmpty', + 'isNotEmpty', + 'first', + 'last', + 'single' + ]); + return IterableMixin; + }); + collection.IterableMixin = collection.IterableMixin$(); + dart.addTypeTests(collection.IterableMixin, _is_IterableMixin_default); + var _state$ = dart.privateName(collection, "_state"); + var _iterator$0 = dart.privateName(collection, "_iterator"); + var _move = dart.privateName(collection, "_move"); + const _is_HasNextIterator_default = Symbol('_is_HasNextIterator_default'); + collection.HasNextIterator$ = dart.generic(E => { + class HasNextIterator extends core.Object { + get hasNext() { + if (this[_state$] === 2) this[_move](); + return this[_state$] === 0; + } + next() { + if (!dart.test(this.hasNext)) dart.throw(new core.StateError.new("No more elements")); + if (!(this[_state$] === 0)) dart.assertFailed(null, I[79], 30, 12, "_state == _HAS_NEXT_AND_NEXT_IN_CURRENT"); + let result = this[_iterator$0].current; + this[_move](); + return result; + } + [_move]() { + if (dart.test(this[_iterator$0].moveNext())) { + this[_state$] = 0; + } else { + this[_state$] = 1; + } + } + } + (HasNextIterator.new = function(_iterator) { + if (_iterator == null) dart.nullFailed(I[79], 19, 24, "_iterator"); + this[_state$] = 2; + this[_iterator$0] = _iterator; + ; + }).prototype = HasNextIterator.prototype; + dart.addTypeTests(HasNextIterator); + HasNextIterator.prototype[_is_HasNextIterator_default] = true; + dart.addTypeCaches(HasNextIterator); + dart.setMethodSignature(HasNextIterator, () => ({ + __proto__: dart.getMethods(HasNextIterator.__proto__), + next: dart.fnType(E, []), + [_move]: dart.fnType(dart.void, []) + })); + dart.setGetterSignature(HasNextIterator, () => ({ + __proto__: dart.getGetters(HasNextIterator.__proto__), + hasNext: core.bool + })); + dart.setLibraryUri(HasNextIterator, I[24]); + dart.setFieldSignature(HasNextIterator, () => ({ + __proto__: dart.getFields(HasNextIterator.__proto__), + [_iterator$0]: dart.fieldType(core.Iterator$(E)), + [_state$]: dart.fieldType(core.int) + })); + return HasNextIterator; + }); + collection.HasNextIterator = collection.HasNextIterator$(); + dart.defineLazy(collection.HasNextIterator, { + /*collection.HasNextIterator._HAS_NEXT_AND_NEXT_IN_CURRENT*/get _HAS_NEXT_AND_NEXT_IN_CURRENT() { + return 0; + }, + /*collection.HasNextIterator._NO_NEXT*/get _NO_NEXT() { + return 1; + }, + /*collection.HasNextIterator._NOT_MOVED_YET*/get _NOT_MOVED_YET() { + return 2; + } + }, false); + dart.addTypeTests(collection.HasNextIterator, _is_HasNextIterator_default); + const _is_LinkedHashMap_default = Symbol('_is_LinkedHashMap_default'); + collection.LinkedHashMap$ = dart.generic((K, V) => { + class LinkedHashMap extends core.Object { + static new(opts) { + let t171, t171$, t171$0; + let equals = opts && 'equals' in opts ? opts.equals : null; + let hashCode = opts && 'hashCode' in opts ? opts.hashCode : null; + let isValidKey = opts && 'isValidKey' in opts ? opts.isValidKey : null; + if (isValidKey == null) { + if (hashCode == null) { + if (equals == null) { + if (dart.wrapType(K) === dart.wrapType(core.String) || dart.wrapType(K) === dart.wrapType(core.int)) { + return new (_js_helper.IdentityMap$(K, V)).new(); + } + return new (_js_helper.LinkedMap$(K, V)).new(); + } + hashCode = C[74] || CT.C74; + } else if ((C[75] || CT.C75) === hashCode && (C[76] || CT.C76) === equals) { + return new (_js_helper.IdentityMap$(K, V)).new(); + } + return new (_js_helper.CustomHashMap$(K, V)).new((t171 = equals, t171 == null ? C[77] || CT.C77 : t171), hashCode); + } + return new (_js_helper.CustomKeyHashMap$(K, V)).new((t171$ = equals, t171$ == null ? C[77] || CT.C77 : t171$), (t171$0 = hashCode, t171$0 == null ? C[74] || CT.C74 : t171$0), isValidKey); + } + static from(other) { + if (other == null) dart.nullFailed(I[80], 85, 52, "other"); + let result = new (_js_helper.LinkedMap$(K, V)).new(); + other[$forEach](dart.fn((k, v) => { + result[$_set](K.as(k), V.as(v)); + }, T$.dynamicAnddynamicTovoid())); + return result; + } + static of(other) { + let t171; + if (other == null) dart.nullFailed(I[80], 94, 38, "other"); + t171 = new (_js_helper.LinkedMap$(K, V)).new(); + return (() => { + t171[$addAll](other); + return t171; + })(); + } + static fromIterable(iterable, opts) { + if (iterable == null) dart.nullFailed(I[80], 108, 47, "iterable"); + let key = opts && 'key' in opts ? opts.key : null; + let value = opts && 'value' in opts ? opts.value : null; + let map = new (_js_helper.LinkedMap$(K, V)).new(); + collection.MapBase._fillMapWithMappedIterable(map, iterable, key, value); + return map; + } + static fromIterables(keys, values) { + if (keys == null) dart.nullFailed(I[80], 124, 51, "keys"); + if (values == null) dart.nullFailed(I[80], 124, 69, "values"); + let map = new (_js_helper.LinkedMap$(K, V)).new(); + collection.MapBase._fillMapWithIterables(map, keys, values); + return map; + } + static fromEntries(entries) { + let t171; + if (entries == null) dart.nullFailed(I[80], 138, 62, "entries"); + t171 = new (_js_helper.LinkedMap$(K, V)).new(); + return (() => { + t171[$addEntries](entries); + return t171; + })(); + } + } + (LinkedHashMap[dart.mixinNew] = function() { + }).prototype = LinkedHashMap.prototype; + LinkedHashMap.prototype[dart.isMap] = true; + dart.addTypeTests(LinkedHashMap); + LinkedHashMap.prototype[_is_LinkedHashMap_default] = true; + dart.addTypeCaches(LinkedHashMap); + LinkedHashMap[dart.implements] = () => [core.Map$(K, V)]; + dart.setLibraryUri(LinkedHashMap, I[24]); + return LinkedHashMap; + }); + collection.LinkedHashMap = collection.LinkedHashMap$(); + dart.addTypeTests(collection.LinkedHashMap, _is_LinkedHashMap_default); + const _is_LinkedHashSet_default = Symbol('_is_LinkedHashSet_default'); + collection.LinkedHashSet$ = dart.generic(E => { + class LinkedHashSet extends core.Object { + static new(opts) { + let t171, t171$, t171$0; + let equals = opts && 'equals' in opts ? opts.equals : null; + let hashCode = opts && 'hashCode' in opts ? opts.hashCode : null; + let isValidKey = opts && 'isValidKey' in opts ? opts.isValidKey : null; + if (isValidKey == null) { + if (hashCode == null) { + if (equals == null) { + if (dart.wrapType(E) === dart.wrapType(core.String) || dart.wrapType(E) === dart.wrapType(core.int)) { + return new (collection._IdentityHashSet$(E)).new(); + } + return new (collection._HashSet$(E)).new(); + } + hashCode = C[74] || CT.C74; + } else if ((C[75] || CT.C75) === hashCode && (C[76] || CT.C76) === equals) { + return new (collection._IdentityHashSet$(E)).new(); + } + return new (collection._CustomHashSet$(E)).new((t171 = equals, t171 == null ? C[77] || CT.C77 : t171), hashCode); + } + return new (collection._CustomKeyHashSet$(E)).new((t171$ = equals, t171$ == null ? C[77] || CT.C77 : t171$), (t171$0 = hashCode, t171$0 == null ? C[74] || CT.C74 : t171$0), isValidKey); + } + static from(elements) { + if (elements == null) dart.nullFailed(I[81], 98, 48, "elements"); + let result = new (collection._HashSet$(E)).new(); + for (let element of elements) { + result.add(E.as(element)); + } + return result; + } + static of(elements) { + let t171; + if (elements == null) dart.nullFailed(I[81], 110, 40, "elements"); + t171 = new (collection._HashSet$(E)).new(); + return (() => { + t171.addAll(elements); + return t171; + })(); + } + [Symbol.iterator]() { + return new dart.JsIterator(this[$iterator]); + } + } + (LinkedHashSet[dart.mixinNew] = function() { + }).prototype = LinkedHashSet.prototype; + dart.addTypeTests(LinkedHashSet); + LinkedHashSet.prototype[_is_LinkedHashSet_default] = true; + dart.addTypeCaches(LinkedHashSet); + LinkedHashSet[dart.implements] = () => [core.Set$(E)]; + dart.setLibraryUri(LinkedHashSet, I[24]); + return LinkedHashSet; + }); + collection.LinkedHashSet = collection.LinkedHashSet$(); + dart.addTypeTests(collection.LinkedHashSet, _is_LinkedHashSet_default); + var _modificationCount = dart.privateName(collection, "_modificationCount"); + var _length$0 = dart.privateName(collection, "_length"); + var _first = dart.privateName(collection, "_first"); + var _insertBefore = dart.privateName(collection, "_insertBefore"); + var _list$0 = dart.privateName(collection, "_list"); + var _unlink = dart.privateName(collection, "_unlink"); + var _next$2 = dart.privateName(collection, "_next"); + var _previous$2 = dart.privateName(collection, "_previous"); + const _is_LinkedList_default$ = Symbol('_is_LinkedList_default'); + collection.LinkedList$ = dart.generic(E => { + var IterableOfE = () => (IterableOfE = dart.constFn(core.Iterable$(E)))(); + var _LinkedListIteratorOfE = () => (_LinkedListIteratorOfE = dart.constFn(collection._LinkedListIterator$(E)))(); + var EN = () => (EN = dart.constFn(dart.nullable(E)))(); + class LinkedList extends core.Iterable$(E) { + addFirst(entry) { + E.as(entry); + if (entry == null) dart.nullFailed(I[82], 40, 19, "entry"); + this[_insertBefore](this[_first], entry, {updateFirst: true}); + this[_first] = entry; + } + add(entry) { + E.as(entry); + if (entry == null) dart.nullFailed(I[82], 46, 14, "entry"); + this[_insertBefore](this[_first], entry, {updateFirst: false}); + } + addAll(entries) { + IterableOfE().as(entries); + if (entries == null) dart.nullFailed(I[82], 51, 27, "entries"); + entries[$forEach](dart.bind(this, 'add')); + } + remove(entry) { + E.as(entry); + if (entry == null) dart.nullFailed(I[82], 61, 17, "entry"); + if (!dart.equals(entry[_list$0], this)) return false; + this[_unlink](entry); + return true; + } + contains(entry) { + return T$.LinkedListEntryOfLinkedListEntry().is(entry) && this === entry.list; + } + get iterator() { + return new (_LinkedListIteratorOfE()).new(this); + } + get length() { + return this[_length$0]; + } + clear() { + this[_modificationCount] = dart.notNull(this[_modificationCount]) + 1; + if (dart.test(this.isEmpty)) return; + let next = dart.nullCheck(this[_first]); + do { + let entry = next; + next = dart.nullCheck(entry[_next$2]); + entry[_next$2] = entry[_previous$2] = entry[_list$0] = null; + } while (next !== this[_first]); + this[_first] = null; + this[_length$0] = 0; + } + get first() { + if (dart.test(this.isEmpty)) { + dart.throw(new core.StateError.new("No such element")); + } + return dart.nullCheck(this[_first]); + } + get last() { + if (dart.test(this.isEmpty)) { + dart.throw(new core.StateError.new("No such element")); + } + return dart.nullCheck(dart.nullCheck(this[_first])[_previous$2]); + } + get single() { + if (dart.test(this.isEmpty)) { + dart.throw(new core.StateError.new("No such element")); + } + if (dart.notNull(this[_length$0]) > 1) { + dart.throw(new core.StateError.new("Too many elements")); + } + return dart.nullCheck(this[_first]); + } + forEach(action) { + if (action == null) dart.nullFailed(I[82], 121, 21, "action"); + let modificationCount = this[_modificationCount]; + if (dart.test(this.isEmpty)) return; + let current = dart.nullCheck(this[_first]); + do { + action(current); + if (modificationCount != this[_modificationCount]) { + dart.throw(new core.ConcurrentModificationError.new(this)); + } + current = dart.nullCheck(current[_next$2]); + } while (current !== this[_first]); + } + get isEmpty() { + return this[_length$0] === 0; + } + [_insertBefore](entry, newEntry, opts) { + EN().as(entry); + E.as(newEntry); + if (newEntry == null) dart.nullFailed(I[82], 141, 34, "newEntry"); + let updateFirst = opts && 'updateFirst' in opts ? opts.updateFirst : null; + if (updateFirst == null) dart.nullFailed(I[82], 141, 59, "updateFirst"); + if (newEntry.list != null) { + dart.throw(new core.StateError.new("LinkedListEntry is already in a LinkedList")); + } + this[_modificationCount] = dart.notNull(this[_modificationCount]) + 1; + newEntry[_list$0] = this; + if (dart.test(this.isEmpty)) { + if (!(entry == null)) dart.assertFailed(null, I[82], 149, 14, "entry == null"); + newEntry[_previous$2] = newEntry[_next$2] = newEntry; + this[_first] = newEntry; + this[_length$0] = dart.notNull(this[_length$0]) + 1; + return; + } + let predecessor = dart.nullCheck(dart.nullCheck(entry)[_previous$2]); + let successor = entry; + newEntry[_previous$2] = predecessor; + newEntry[_next$2] = successor; + predecessor[_next$2] = newEntry; + successor[_previous$2] = newEntry; + if (dart.test(updateFirst) && entry == this[_first]) { + this[_first] = newEntry; + } + this[_length$0] = dart.notNull(this[_length$0]) + 1; + } + [_unlink](entry) { + E.as(entry); + if (entry == null) dart.nullFailed(I[82], 167, 18, "entry"); + this[_modificationCount] = dart.notNull(this[_modificationCount]) + 1; + dart.nullCheck(entry[_next$2])[_previous$2] = entry[_previous$2]; + let next = dart.nullCheck(entry[_previous$2])[_next$2] = entry[_next$2]; + this[_length$0] = dart.notNull(this[_length$0]) - 1; + entry[_list$0] = entry[_next$2] = entry[_previous$2] = null; + if (dart.test(this.isEmpty)) { + this[_first] = null; + } else if (entry == this[_first]) { + this[_first] = next; + } + } + } + (LinkedList.new = function() { + this[_modificationCount] = 0; + this[_length$0] = 0; + this[_first] = null; + LinkedList.__proto__.new.call(this); + ; + }).prototype = LinkedList.prototype; + dart.addTypeTests(LinkedList); + LinkedList.prototype[_is_LinkedList_default$] = true; + dart.addTypeCaches(LinkedList); + dart.setMethodSignature(LinkedList, () => ({ + __proto__: dart.getMethods(LinkedList.__proto__), + addFirst: dart.fnType(dart.void, [dart.nullable(core.Object)]), + add: dart.fnType(dart.void, [dart.nullable(core.Object)]), + addAll: dart.fnType(dart.void, [dart.nullable(core.Object)]), + remove: dart.fnType(core.bool, [dart.nullable(core.Object)]), + clear: dart.fnType(dart.void, []), + [_insertBefore]: dart.fnType(dart.void, [dart.nullable(core.Object), dart.nullable(core.Object)], {updateFirst: core.bool}, {}), + [_unlink]: dart.fnType(dart.void, [dart.nullable(core.Object)]) + })); + dart.setGetterSignature(LinkedList, () => ({ + __proto__: dart.getGetters(LinkedList.__proto__), + iterator: core.Iterator$(E), + [$iterator]: core.Iterator$(E) + })); + dart.setLibraryUri(LinkedList, I[24]); + dart.setFieldSignature(LinkedList, () => ({ + __proto__: dart.getFields(LinkedList.__proto__), + [_modificationCount]: dart.fieldType(core.int), + [_length$0]: dart.fieldType(core.int), + [_first]: dart.fieldType(dart.nullable(E)) + })); + dart.defineExtensionMethods(LinkedList, ['contains', 'forEach']); + dart.defineExtensionAccessors(LinkedList, [ + 'iterator', + 'length', + 'first', + 'last', + 'single', + 'isEmpty' + ]); + return LinkedList; + }); + collection.LinkedList = collection.LinkedList$(); + dart.addTypeTests(collection.LinkedList, _is_LinkedList_default$); + var _current$1 = dart.privateName(collection, "_current"); + var _visitedFirst = dart.privateName(collection, "_visitedFirst"); + const _is__LinkedListIterator_default$ = Symbol('_is__LinkedListIterator_default'); + collection._LinkedListIterator$ = dart.generic(E => { + class _LinkedListIterator extends core.Object { + get current() { + return dart.nullCast(this[_current$1], E); + } + moveNext() { + if (this[_modificationCount] != this[_list$0][_modificationCount]) { + dart.throw(new core.ConcurrentModificationError.new(this)); + } + if (dart.test(this[_list$0].isEmpty) || dart.test(this[_visitedFirst]) && this[_next$2] == this[_list$0].first) { + this[_current$1] = null; + return false; + } + this[_visitedFirst] = true; + this[_current$1] = this[_next$2]; + this[_next$2] = dart.nullCheck(this[_next$2])[_next$2]; + return true; + } + } + (_LinkedListIterator.new = function(list) { + if (list == null) dart.nullFailed(I[82], 188, 37, "list"); + this[_current$1] = null; + this[_list$0] = list; + this[_modificationCount] = list[_modificationCount]; + this[_next$2] = list[_first]; + this[_visitedFirst] = false; + ; + }).prototype = _LinkedListIterator.prototype; + dart.addTypeTests(_LinkedListIterator); + _LinkedListIterator.prototype[_is__LinkedListIterator_default$] = true; + dart.addTypeCaches(_LinkedListIterator); + _LinkedListIterator[dart.implements] = () => [core.Iterator$(E)]; + dart.setMethodSignature(_LinkedListIterator, () => ({ + __proto__: dart.getMethods(_LinkedListIterator.__proto__), + moveNext: dart.fnType(core.bool, []) + })); + dart.setGetterSignature(_LinkedListIterator, () => ({ + __proto__: dart.getGetters(_LinkedListIterator.__proto__), + current: E + })); + dart.setLibraryUri(_LinkedListIterator, I[24]); + dart.setFieldSignature(_LinkedListIterator, () => ({ + __proto__: dart.getFields(_LinkedListIterator.__proto__), + [_list$0]: dart.finalFieldType(collection.LinkedList$(E)), + [_modificationCount]: dart.finalFieldType(core.int), + [_current$1]: dart.fieldType(dart.nullable(E)), + [_next$2]: dart.fieldType(dart.nullable(E)), + [_visitedFirst]: dart.fieldType(core.bool) + })); + return _LinkedListIterator; + }); + collection._LinkedListIterator = collection._LinkedListIterator$(); + dart.addTypeTests(collection._LinkedListIterator, _is__LinkedListIterator_default$); + var _list$1 = dart.privateName(collection, "LinkedListEntry._list"); + var _next$3 = dart.privateName(collection, "LinkedListEntry._next"); + var _previous$3 = dart.privateName(collection, "LinkedListEntry._previous"); + const _is_LinkedListEntry_default$ = Symbol('_is_LinkedListEntry_default'); + collection.LinkedListEntry$ = dart.generic(E => { + var LinkedListOfE = () => (LinkedListOfE = dart.constFn(collection.LinkedList$(E)))(); + var LinkedListNOfE = () => (LinkedListNOfE = dart.constFn(dart.nullable(LinkedListOfE())))(); + var EN = () => (EN = dart.constFn(dart.nullable(E)))(); + class LinkedListEntry extends core.Object { + get [_list$0]() { + return this[_list$1]; + } + set [_list$0](value) { + this[_list$1] = LinkedListNOfE().as(value); + } + get [_next$2]() { + return this[_next$3]; + } + set [_next$2](value) { + this[_next$3] = EN().as(value); + } + get [_previous$2]() { + return this[_previous$3]; + } + set [_previous$2](value) { + this[_previous$3] = EN().as(value); + } + get list() { + return this[_list$0]; + } + unlink() { + dart.nullCheck(this[_list$0])[_unlink](E.as(this)); + } + get next() { + if (this[_list$0] == null || dart.nullCheck(this[_list$0]).first == this[_next$2]) return null; + return this[_next$2]; + } + get previous() { + if (this[_list$0] == null || this === dart.nullCheck(this[_list$0]).first) return null; + return this[_previous$2]; + } + insertAfter(entry) { + E.as(entry); + if (entry == null) dart.nullFailed(I[82], 262, 22, "entry"); + dart.nullCheck(this[_list$0])[_insertBefore](this[_next$2], entry, {updateFirst: false}); + } + insertBefore(entry) { + E.as(entry); + if (entry == null) dart.nullFailed(I[82], 270, 23, "entry"); + dart.nullCheck(this[_list$0])[_insertBefore](E.as(this), entry, {updateFirst: true}); + } + } + (LinkedListEntry.new = function() { + this[_list$1] = null; + this[_next$3] = null; + this[_previous$3] = null; + ; + }).prototype = LinkedListEntry.prototype; + dart.addTypeTests(LinkedListEntry); + LinkedListEntry.prototype[_is_LinkedListEntry_default$] = true; + dart.addTypeCaches(LinkedListEntry); + dart.setMethodSignature(LinkedListEntry, () => ({ + __proto__: dart.getMethods(LinkedListEntry.__proto__), + unlink: dart.fnType(dart.void, []), + insertAfter: dart.fnType(dart.void, [dart.nullable(core.Object)]), + insertBefore: dart.fnType(dart.void, [dart.nullable(core.Object)]) + })); + dart.setGetterSignature(LinkedListEntry, () => ({ + __proto__: dart.getGetters(LinkedListEntry.__proto__), + list: dart.nullable(collection.LinkedList$(E)), + next: dart.nullable(E), + previous: dart.nullable(E) + })); + dart.setLibraryUri(LinkedListEntry, I[24]); + dart.setFieldSignature(LinkedListEntry, () => ({ + __proto__: dart.getFields(LinkedListEntry.__proto__), + [_list$0]: dart.fieldType(dart.nullable(collection.LinkedList$(E))), + [_next$2]: dart.fieldType(dart.nullable(E)), + [_previous$2]: dart.fieldType(dart.nullable(E)) + })); + return LinkedListEntry; + }); + collection.LinkedListEntry = collection.LinkedListEntry$(); + dart.addTypeTests(collection.LinkedListEntry, _is_LinkedListEntry_default$); + const _is__MapBaseValueIterable_default = Symbol('_is__MapBaseValueIterable_default'); + collection._MapBaseValueIterable$ = dart.generic((K, V) => { + var _MapBaseValueIteratorOfK$V = () => (_MapBaseValueIteratorOfK$V = dart.constFn(collection._MapBaseValueIterator$(K, V)))(); + class _MapBaseValueIterable extends _internal.EfficientLengthIterable$(V) { + get length() { + return this[_map$5][$length]; + } + get isEmpty() { + return this[_map$5][$isEmpty]; + } + get isNotEmpty() { + return this[_map$5][$isNotEmpty]; + } + get first() { + return V.as(this[_map$5][$_get](this[_map$5][$keys][$first])); + } + get single() { + return V.as(this[_map$5][$_get](this[_map$5][$keys][$single])); + } + get last() { + return V.as(this[_map$5][$_get](this[_map$5][$keys][$last])); + } + get iterator() { + return new (_MapBaseValueIteratorOfK$V()).new(this[_map$5]); + } + } + (_MapBaseValueIterable.new = function(_map) { + if (_map == null) dart.nullFailed(I[35], 227, 30, "_map"); + this[_map$5] = _map; + _MapBaseValueIterable.__proto__.new.call(this); + ; + }).prototype = _MapBaseValueIterable.prototype; + dart.addTypeTests(_MapBaseValueIterable); + _MapBaseValueIterable.prototype[_is__MapBaseValueIterable_default] = true; + dart.addTypeCaches(_MapBaseValueIterable); + dart.setGetterSignature(_MapBaseValueIterable, () => ({ + __proto__: dart.getGetters(_MapBaseValueIterable.__proto__), + iterator: core.Iterator$(V), + [$iterator]: core.Iterator$(V) + })); + dart.setLibraryUri(_MapBaseValueIterable, I[24]); + dart.setFieldSignature(_MapBaseValueIterable, () => ({ + __proto__: dart.getFields(_MapBaseValueIterable.__proto__), + [_map$5]: dart.finalFieldType(core.Map$(K, V)) + })); + dart.defineExtensionAccessors(_MapBaseValueIterable, [ + 'length', + 'isEmpty', + 'isNotEmpty', + 'first', + 'single', + 'last', + 'iterator' + ]); + return _MapBaseValueIterable; + }); + collection._MapBaseValueIterable = collection._MapBaseValueIterable$(); + dart.addTypeTests(collection._MapBaseValueIterable, _is__MapBaseValueIterable_default); + var _keys = dart.privateName(collection, "_keys"); + const _is__MapBaseValueIterator_default = Symbol('_is__MapBaseValueIterator_default'); + collection._MapBaseValueIterator$ = dart.generic((K, V) => { + class _MapBaseValueIterator extends core.Object { + moveNext() { + if (dart.test(this[_keys].moveNext())) { + this[_current$1] = this[_map$5][$_get](this[_keys].current); + return true; + } + this[_current$1] = null; + return false; + } + get current() { + return V.as(this[_current$1]); + } + } + (_MapBaseValueIterator.new = function(map) { + if (map == null) dart.nullFailed(I[35], 248, 35, "map"); + this[_current$1] = null; + this[_map$5] = map; + this[_keys] = map[$keys][$iterator]; + ; + }).prototype = _MapBaseValueIterator.prototype; + dart.addTypeTests(_MapBaseValueIterator); + _MapBaseValueIterator.prototype[_is__MapBaseValueIterator_default] = true; + dart.addTypeCaches(_MapBaseValueIterator); + _MapBaseValueIterator[dart.implements] = () => [core.Iterator$(V)]; + dart.setMethodSignature(_MapBaseValueIterator, () => ({ + __proto__: dart.getMethods(_MapBaseValueIterator.__proto__), + moveNext: dart.fnType(core.bool, []) + })); + dart.setGetterSignature(_MapBaseValueIterator, () => ({ + __proto__: dart.getGetters(_MapBaseValueIterator.__proto__), + current: V + })); + dart.setLibraryUri(_MapBaseValueIterator, I[24]); + dart.setFieldSignature(_MapBaseValueIterator, () => ({ + __proto__: dart.getFields(_MapBaseValueIterator.__proto__), + [_keys]: dart.finalFieldType(core.Iterator$(K)), + [_map$5]: dart.finalFieldType(core.Map$(K, V)), + [_current$1]: dart.fieldType(dart.nullable(V)) + })); + return _MapBaseValueIterator; + }); + collection._MapBaseValueIterator = collection._MapBaseValueIterator$(); + dart.addTypeTests(collection._MapBaseValueIterator, _is__MapBaseValueIterator_default); + var _map$8 = dart.privateName(collection, "MapView._map"); + const _is_MapView_default = Symbol('_is_MapView_default'); + collection.MapView$ = dart.generic((K, V) => { + var MapOfK$V = () => (MapOfK$V = dart.constFn(core.Map$(K, V)))(); + var MapEntryOfK$V = () => (MapEntryOfK$V = dart.constFn(core.MapEntry$(K, V)))(); + var IterableOfMapEntryOfK$V = () => (IterableOfMapEntryOfK$V = dart.constFn(core.Iterable$(MapEntryOfK$V())))(); + var KAndVToV = () => (KAndVToV = dart.constFn(dart.fnType(V, [K, V])))(); + var VoidToV = () => (VoidToV = dart.constFn(dart.fnType(V, [])))(); + var VToV = () => (VToV = dart.constFn(dart.fnType(V, [V])))(); + var VoidToNV = () => (VoidToNV = dart.constFn(dart.nullable(VoidToV())))(); + class MapView extends core.Object { + get [_map$5]() { + return this[_map$8]; + } + set [_map$5](value) { + super[_map$5] = value; + } + cast(RK, RV) { + return this[_map$5][$cast](RK, RV); + } + _get(key) { + return this[_map$5][$_get](key); + } + _set(key, value$) { + let value = value$; + K.as(key); + V.as(value); + this[_map$5][$_set](key, value); + return value$; + } + addAll(other) { + MapOfK$V().as(other); + if (other == null) dart.nullFailed(I[35], 330, 25, "other"); + this[_map$5][$addAll](other); + } + clear() { + this[_map$5][$clear](); + } + putIfAbsent(key, ifAbsent) { + K.as(key); + VoidToV().as(ifAbsent); + if (ifAbsent == null) dart.nullFailed(I[35], 338, 26, "ifAbsent"); + return this[_map$5][$putIfAbsent](key, ifAbsent); + } + containsKey(key) { + return this[_map$5][$containsKey](key); + } + containsValue(value) { + return this[_map$5][$containsValue](value); + } + forEach(action) { + if (action == null) dart.nullFailed(I[35], 341, 21, "action"); + this[_map$5][$forEach](action); + } + get isEmpty() { + return this[_map$5][$isEmpty]; + } + get isNotEmpty() { + return this[_map$5][$isNotEmpty]; + } + get length() { + return this[_map$5][$length]; + } + get keys() { + return this[_map$5][$keys]; + } + remove(key) { + return this[_map$5][$remove](key); + } + toString() { + return dart.toString(this[_map$5]); + } + get values() { + return this[_map$5][$values]; + } + get entries() { + return this[_map$5][$entries]; + } + addEntries(entries) { + IterableOfMapEntryOfK$V().as(entries); + if (entries == null) dart.nullFailed(I[35], 355, 44, "entries"); + this[_map$5][$addEntries](entries); + } + map(K2, V2, transform) { + if (transform == null) dart.nullFailed(I[35], 359, 44, "transform"); + return this[_map$5][$map](K2, V2, transform); + } + update(key, update, opts) { + K.as(key); + VToV().as(update); + if (update == null) dart.nullFailed(I[35], 362, 21, "update"); + let ifAbsent = opts && 'ifAbsent' in opts ? opts.ifAbsent : null; + VoidToNV().as(ifAbsent); + return this[_map$5][$update](key, update, {ifAbsent: ifAbsent}); + } + updateAll(update) { + KAndVToV().as(update); + if (update == null) dart.nullFailed(I[35], 365, 20, "update"); + this[_map$5][$updateAll](update); + } + removeWhere(test) { + if (test == null) dart.nullFailed(I[35], 369, 25, "test"); + this[_map$5][$removeWhere](test); + } + } + (MapView.new = function(map) { + if (map == null) dart.nullFailed(I[35], 322, 27, "map"); + this[_map$8] = map; + ; + }).prototype = MapView.prototype; + MapView.prototype[dart.isMap] = true; + dart.addTypeTests(MapView); + MapView.prototype[_is_MapView_default] = true; + dart.addTypeCaches(MapView); + MapView[dart.implements] = () => [core.Map$(K, V)]; + dart.setMethodSignature(MapView, () => ({ + __proto__: dart.getMethods(MapView.__proto__), + cast: dart.gFnType((RK, RV) => [core.Map$(RK, RV), []], (RK, RV) => [dart.nullable(core.Object), dart.nullable(core.Object)]), + [$cast]: dart.gFnType((RK, RV) => [core.Map$(RK, RV), []], (RK, RV) => [dart.nullable(core.Object), dart.nullable(core.Object)]), + _get: dart.fnType(dart.nullable(V), [dart.nullable(core.Object)]), + [$_get]: dart.fnType(dart.nullable(V), [dart.nullable(core.Object)]), + _set: dart.fnType(dart.void, [dart.nullable(core.Object), dart.nullable(core.Object)]), + [$_set]: dart.fnType(dart.void, [dart.nullable(core.Object), dart.nullable(core.Object)]), + addAll: dart.fnType(dart.void, [dart.nullable(core.Object)]), + [$addAll]: dart.fnType(dart.void, [dart.nullable(core.Object)]), + clear: dart.fnType(dart.void, []), + [$clear]: dart.fnType(dart.void, []), + putIfAbsent: dart.fnType(V, [dart.nullable(core.Object), dart.nullable(core.Object)]), + [$putIfAbsent]: dart.fnType(V, [dart.nullable(core.Object), dart.nullable(core.Object)]), + containsKey: dart.fnType(core.bool, [dart.nullable(core.Object)]), + [$containsKey]: dart.fnType(core.bool, [dart.nullable(core.Object)]), + containsValue: dart.fnType(core.bool, [dart.nullable(core.Object)]), + [$containsValue]: dart.fnType(core.bool, [dart.nullable(core.Object)]), + forEach: dart.fnType(dart.void, [dart.fnType(dart.void, [K, V])]), + [$forEach]: dart.fnType(dart.void, [dart.fnType(dart.void, [K, V])]), + remove: dart.fnType(dart.nullable(V), [dart.nullable(core.Object)]), + [$remove]: dart.fnType(dart.nullable(V), [dart.nullable(core.Object)]), + addEntries: dart.fnType(dart.void, [dart.nullable(core.Object)]), + [$addEntries]: dart.fnType(dart.void, [dart.nullable(core.Object)]), + map: dart.gFnType((K2, V2) => [core.Map$(K2, V2), [dart.fnType(core.MapEntry$(K2, V2), [K, V])]], (K2, V2) => [dart.nullable(core.Object), dart.nullable(core.Object)]), + [$map]: dart.gFnType((K2, V2) => [core.Map$(K2, V2), [dart.fnType(core.MapEntry$(K2, V2), [K, V])]], (K2, V2) => [dart.nullable(core.Object), dart.nullable(core.Object)]), + update: dart.fnType(V, [dart.nullable(core.Object), dart.nullable(core.Object)], {ifAbsent: dart.nullable(core.Object)}, {}), + [$update]: dart.fnType(V, [dart.nullable(core.Object), dart.nullable(core.Object)], {ifAbsent: dart.nullable(core.Object)}, {}), + updateAll: dart.fnType(dart.void, [dart.nullable(core.Object)]), + [$updateAll]: dart.fnType(dart.void, [dart.nullable(core.Object)]), + removeWhere: dart.fnType(dart.void, [dart.fnType(core.bool, [K, V])]), + [$removeWhere]: dart.fnType(dart.void, [dart.fnType(core.bool, [K, V])]) + })); + dart.setGetterSignature(MapView, () => ({ + __proto__: dart.getGetters(MapView.__proto__), + isEmpty: core.bool, + [$isEmpty]: core.bool, + isNotEmpty: core.bool, + [$isNotEmpty]: core.bool, + length: core.int, + [$length]: core.int, + keys: core.Iterable$(K), + [$keys]: core.Iterable$(K), + values: core.Iterable$(V), + [$values]: core.Iterable$(V), + entries: core.Iterable$(core.MapEntry$(K, V)), + [$entries]: core.Iterable$(core.MapEntry$(K, V)) + })); + dart.setLibraryUri(MapView, I[24]); + dart.setFieldSignature(MapView, () => ({ + __proto__: dart.getFields(MapView.__proto__), + [_map$5]: dart.finalFieldType(core.Map$(K, V)) + })); + dart.defineExtensionMethods(MapView, [ + 'cast', + '_get', + '_set', + 'addAll', + 'clear', + 'putIfAbsent', + 'containsKey', + 'containsValue', + 'forEach', + 'remove', + 'toString', + 'addEntries', + 'map', + 'update', + 'updateAll', + 'removeWhere' + ]); + dart.defineExtensionAccessors(MapView, [ + 'isEmpty', + 'isNotEmpty', + 'length', + 'keys', + 'values', + 'entries' + ]); + return MapView; + }); + collection.MapView = collection.MapView$(); + dart.addTypeTests(collection.MapView, _is_MapView_default); + const _is_UnmodifiableMapView_default = Symbol('_is_UnmodifiableMapView_default'); + collection.UnmodifiableMapView$ = dart.generic((K, V) => { + const MapView__UnmodifiableMapMixin$36 = class MapView__UnmodifiableMapMixin extends collection.MapView$(K, V) {}; + (MapView__UnmodifiableMapMixin$36.new = function(map) { + MapView__UnmodifiableMapMixin$36.__proto__.new.call(this, map); + }).prototype = MapView__UnmodifiableMapMixin$36.prototype; + dart.applyMixin(MapView__UnmodifiableMapMixin$36, collection._UnmodifiableMapMixin$(K, V)); + class UnmodifiableMapView extends MapView__UnmodifiableMapMixin$36 { + cast(RK, RV) { + return new (collection.UnmodifiableMapView$(RK, RV)).new(this[_map$5][$cast](RK, RV)); + } + } + (UnmodifiableMapView.new = function(map) { + if (map == null) dart.nullFailed(I[35], 381, 33, "map"); + UnmodifiableMapView.__proto__.new.call(this, map); + ; + }).prototype = UnmodifiableMapView.prototype; + dart.addTypeTests(UnmodifiableMapView); + UnmodifiableMapView.prototype[_is_UnmodifiableMapView_default] = true; + dart.addTypeCaches(UnmodifiableMapView); + dart.setMethodSignature(UnmodifiableMapView, () => ({ + __proto__: dart.getMethods(UnmodifiableMapView.__proto__), + cast: dart.gFnType((RK, RV) => [core.Map$(RK, RV), []], (RK, RV) => [dart.nullable(core.Object), dart.nullable(core.Object)]), + [$cast]: dart.gFnType((RK, RV) => [core.Map$(RK, RV), []], (RK, RV) => [dart.nullable(core.Object), dart.nullable(core.Object)]) + })); + dart.setLibraryUri(UnmodifiableMapView, I[24]); + dart.defineExtensionMethods(UnmodifiableMapView, ['cast']); + return UnmodifiableMapView; + }); + collection.UnmodifiableMapView = collection.UnmodifiableMapView$(); + dart.addTypeTests(collection.UnmodifiableMapView, _is_UnmodifiableMapView_default); + const _is_Queue_default = Symbol('_is_Queue_default'); + collection.Queue$ = dart.generic(E => { + class Queue extends core.Object { + static castFrom(S, T, source) { + if (source == null) dart.nullFailed(I[83], 55, 43, "source"); + return new (_internal.CastQueue$(S, T)).new(source); + } + [Symbol.iterator]() { + return new dart.JsIterator(this[$iterator]); + } + } + (Queue[dart.mixinNew] = function() { + }).prototype = Queue.prototype; + dart.addTypeTests(Queue); + Queue.prototype[_is_Queue_default] = true; + dart.addTypeCaches(Queue); + Queue[dart.implements] = () => [_internal.EfficientLengthIterable$(E)]; + dart.setLibraryUri(Queue, I[24]); + return Queue; + }); + collection.Queue = collection.Queue$(); + dart.addTypeTests(collection.Queue, _is_Queue_default); + var _previousLink = dart.privateName(collection, "_DoubleLink._previousLink"); + var _nextLink = dart.privateName(collection, "_DoubleLink._nextLink"); + var _previousLink$ = dart.privateName(collection, "_previousLink"); + var _nextLink$ = dart.privateName(collection, "_nextLink"); + var _link = dart.privateName(collection, "_link"); + const _is__DoubleLink_default = Symbol('_is__DoubleLink_default'); + collection._DoubleLink$ = dart.generic(Link => { + var LinkN = () => (LinkN = dart.constFn(dart.nullable(Link)))(); + class _DoubleLink extends core.Object { + get [_previousLink$]() { + return this[_previousLink]; + } + set [_previousLink$](value) { + this[_previousLink] = LinkN().as(value); + } + get [_nextLink$]() { + return this[_nextLink]; + } + set [_nextLink$](value) { + this[_nextLink] = LinkN().as(value); + } + [_link](previous, next) { + this[_nextLink$] = next; + this[_previousLink$] = previous; + if (previous != null) previous[_nextLink$] = Link.as(this); + if (next != null) next[_previousLink$] = Link.as(this); + } + [_unlink]() { + if (this[_previousLink$] != null) dart.nullCheck(this[_previousLink$])[_nextLink$] = this[_nextLink$]; + if (this[_nextLink$] != null) dart.nullCheck(this[_nextLink$])[_previousLink$] = this[_previousLink$]; + this[_nextLink$] = null; + this[_previousLink$] = null; + } + } + (_DoubleLink.new = function() { + this[_previousLink] = null; + this[_nextLink] = null; + ; + }).prototype = _DoubleLink.prototype; + dart.addTypeTests(_DoubleLink); + _DoubleLink.prototype[_is__DoubleLink_default] = true; + dart.addTypeCaches(_DoubleLink); + dart.setMethodSignature(_DoubleLink, () => ({ + __proto__: dart.getMethods(_DoubleLink.__proto__), + [_link]: dart.fnType(dart.void, [dart.nullable(Link), dart.nullable(Link)]), + [_unlink]: dart.fnType(dart.void, []) + })); + dart.setLibraryUri(_DoubleLink, I[24]); + dart.setFieldSignature(_DoubleLink, () => ({ + __proto__: dart.getFields(_DoubleLink.__proto__), + [_previousLink$]: dart.fieldType(dart.nullable(Link)), + [_nextLink$]: dart.fieldType(dart.nullable(Link)) + })); + return _DoubleLink; + }); + collection._DoubleLink = collection._DoubleLink$(); + dart.addTypeTests(collection._DoubleLink, _is__DoubleLink_default); + var _element$ = dart.privateName(collection, "DoubleLinkedQueueEntry._element"); + var _element = dart.privateName(collection, "_element"); + const _is_DoubleLinkedQueueEntry_default = Symbol('_is_DoubleLinkedQueueEntry_default'); + collection.DoubleLinkedQueueEntry$ = dart.generic(E => { + var DoubleLinkedQueueEntryOfE = () => (DoubleLinkedQueueEntryOfE = dart.constFn(collection.DoubleLinkedQueueEntry$(E)))(); + class DoubleLinkedQueueEntry extends collection._DoubleLink { + get [_element]() { + return this[_element$]; + } + set [_element](value) { + this[_element$] = value; + } + get element() { + return E.as(this[_element]); + } + set element(element) { + E.as(element); + this[_element] = element; + } + append(e) { + E.as(e); + new (DoubleLinkedQueueEntryOfE()).new(e)[_link](this, this[_nextLink$]); + } + prepend(e) { + E.as(e); + new (DoubleLinkedQueueEntryOfE()).new(e)[_link](this[_previousLink$], this); + } + remove() { + this[_unlink](); + return this.element; + } + previousEntry() { + return this[_previousLink$]; + } + nextEntry() { + return this[_nextLink$]; + } + } + (DoubleLinkedQueueEntry.new = function(_element) { + this[_element$] = _element; + DoubleLinkedQueueEntry.__proto__.new.call(this); + ; + }).prototype = DoubleLinkedQueueEntry.prototype; + dart.addTypeTests(DoubleLinkedQueueEntry); + DoubleLinkedQueueEntry.prototype[_is_DoubleLinkedQueueEntry_default] = true; + dart.addTypeCaches(DoubleLinkedQueueEntry); + dart.setMethodSignature(DoubleLinkedQueueEntry, () => ({ + __proto__: dart.getMethods(DoubleLinkedQueueEntry.__proto__), + append: dart.fnType(dart.void, [dart.nullable(core.Object)]), + prepend: dart.fnType(dart.void, [dart.nullable(core.Object)]), + remove: dart.fnType(E, []), + previousEntry: dart.fnType(dart.nullable(collection.DoubleLinkedQueueEntry$(E)), []), + nextEntry: dart.fnType(dart.nullable(collection.DoubleLinkedQueueEntry$(E)), []) + })); + dart.setGetterSignature(DoubleLinkedQueueEntry, () => ({ + __proto__: dart.getGetters(DoubleLinkedQueueEntry.__proto__), + element: E + })); + dart.setSetterSignature(DoubleLinkedQueueEntry, () => ({ + __proto__: dart.getSetters(DoubleLinkedQueueEntry.__proto__), + element: dart.nullable(core.Object) + })); + dart.setLibraryUri(DoubleLinkedQueueEntry, I[24]); + dart.setFieldSignature(DoubleLinkedQueueEntry, () => ({ + __proto__: dart.getFields(DoubleLinkedQueueEntry.__proto__), + [_element]: dart.fieldType(dart.nullable(E)) + })); + return DoubleLinkedQueueEntry; + }, E => { + dart.setBaseClass(collection.DoubleLinkedQueueEntry$(E), collection._DoubleLink$(collection.DoubleLinkedQueueEntry$(E))); + }); + collection.DoubleLinkedQueueEntry = collection.DoubleLinkedQueueEntry$(); + dart.addTypeTests(collection.DoubleLinkedQueueEntry, _is_DoubleLinkedQueueEntry_default); + var _queue$ = dart.privateName(collection, "_queue"); + var _append = dart.privateName(collection, "_append"); + var _prepend = dart.privateName(collection, "_prepend"); + var _asNonSentinelEntry = dart.privateName(collection, "_asNonSentinelEntry"); + const _is__DoubleLinkedQueueEntry_default = Symbol('_is__DoubleLinkedQueueEntry_default'); + collection._DoubleLinkedQueueEntry$ = dart.generic(E => { + var _DoubleLinkedQueueElementOfE = () => (_DoubleLinkedQueueElementOfE = dart.constFn(collection._DoubleLinkedQueueElement$(E)))(); + var _DoubleLinkedQueueEntryOfE = () => (_DoubleLinkedQueueEntryOfE = dart.constFn(collection._DoubleLinkedQueueEntry$(E)))(); + class _DoubleLinkedQueueEntry extends collection.DoubleLinkedQueueEntry$(E) { + [_append](e) { + E.as(e); + new (_DoubleLinkedQueueElementOfE()).new(e, this[_queue$])[_link](this, this[_nextLink$]); + } + [_prepend](e) { + E.as(e); + new (_DoubleLinkedQueueElementOfE()).new(e, this[_queue$])[_link](this[_previousLink$], this); + } + get [_element]() { + return E.as(super[_element]); + } + set [_element](value) { + super[_element] = value; + } + nextEntry() { + let entry = _DoubleLinkedQueueEntryOfE().as(this[_nextLink$]); + return entry[_asNonSentinelEntry](); + } + previousEntry() { + let entry = _DoubleLinkedQueueEntryOfE().as(this[_previousLink$]); + return entry[_asNonSentinelEntry](); + } + } + (_DoubleLinkedQueueEntry.new = function(element, _queue) { + this[_queue$] = _queue; + _DoubleLinkedQueueEntry.__proto__.new.call(this, element); + ; + }).prototype = _DoubleLinkedQueueEntry.prototype; + dart.addTypeTests(_DoubleLinkedQueueEntry); + _DoubleLinkedQueueEntry.prototype[_is__DoubleLinkedQueueEntry_default] = true; + dart.addTypeCaches(_DoubleLinkedQueueEntry); + dart.setMethodSignature(_DoubleLinkedQueueEntry, () => ({ + __proto__: dart.getMethods(_DoubleLinkedQueueEntry.__proto__), + [_append]: dart.fnType(dart.void, [dart.nullable(core.Object)]), + [_prepend]: dart.fnType(dart.void, [dart.nullable(core.Object)]) + })); + dart.setGetterSignature(_DoubleLinkedQueueEntry, () => ({ + __proto__: dart.getGetters(_DoubleLinkedQueueEntry.__proto__), + [_element]: E + })); + dart.setLibraryUri(_DoubleLinkedQueueEntry, I[24]); + dart.setFieldSignature(_DoubleLinkedQueueEntry, () => ({ + __proto__: dart.getFields(_DoubleLinkedQueueEntry.__proto__), + [_queue$]: dart.fieldType(dart.nullable(collection.DoubleLinkedQueue$(E))) + })); + return _DoubleLinkedQueueEntry; + }); + collection._DoubleLinkedQueueEntry = collection._DoubleLinkedQueueEntry$(); + dart.addTypeTests(collection._DoubleLinkedQueueEntry, _is__DoubleLinkedQueueEntry_default); + var _elementCount = dart.privateName(collection, "_elementCount"); + var _remove = dart.privateName(collection, "_remove"); + const _is__DoubleLinkedQueueElement_default = Symbol('_is__DoubleLinkedQueueElement_default'); + collection._DoubleLinkedQueueElement$ = dart.generic(E => { + class _DoubleLinkedQueueElement extends collection._DoubleLinkedQueueEntry$(E) { + append(e) { + let t171; + E.as(e); + this[_append](e); + if (this[_queue$] != null) { + t171 = dart.nullCheck(this[_queue$]); + t171[_elementCount] = dart.notNull(t171[_elementCount]) + 1; + } + } + prepend(e) { + let t171; + E.as(e); + this[_prepend](e); + if (this[_queue$] != null) { + t171 = dart.nullCheck(this[_queue$]); + t171[_elementCount] = dart.notNull(t171[_elementCount]) + 1; + } + } + [_remove]() { + this[_queue$] = null; + this[_unlink](); + return this.element; + } + remove() { + let t171; + if (this[_queue$] != null) { + t171 = dart.nullCheck(this[_queue$]); + t171[_elementCount] = dart.notNull(t171[_elementCount]) - 1; + } + return this[_remove](); + } + [_asNonSentinelEntry]() { + return this; + } + } + (_DoubleLinkedQueueElement.new = function(element, queue) { + _DoubleLinkedQueueElement.__proto__.new.call(this, element, queue); + ; + }).prototype = _DoubleLinkedQueueElement.prototype; + dart.addTypeTests(_DoubleLinkedQueueElement); + _DoubleLinkedQueueElement.prototype[_is__DoubleLinkedQueueElement_default] = true; + dart.addTypeCaches(_DoubleLinkedQueueElement); + dart.setMethodSignature(_DoubleLinkedQueueElement, () => ({ + __proto__: dart.getMethods(_DoubleLinkedQueueElement.__proto__), + [_remove]: dart.fnType(E, []), + [_asNonSentinelEntry]: dart.fnType(dart.nullable(collection._DoubleLinkedQueueElement$(E)), []) + })); + dart.setLibraryUri(_DoubleLinkedQueueElement, I[24]); + return _DoubleLinkedQueueElement; + }); + collection._DoubleLinkedQueueElement = collection._DoubleLinkedQueueElement$(); + dart.addTypeTests(collection._DoubleLinkedQueueElement, _is__DoubleLinkedQueueElement_default); + const _is__DoubleLinkedQueueSentinel_default = Symbol('_is__DoubleLinkedQueueSentinel_default'); + collection._DoubleLinkedQueueSentinel$ = dart.generic(E => { + class _DoubleLinkedQueueSentinel extends collection._DoubleLinkedQueueEntry$(E) { + [_asNonSentinelEntry]() { + return null; + } + [_remove]() { + dart.throw(_internal.IterableElementError.noElement()); + } + get [_element]() { + dart.throw(_internal.IterableElementError.noElement()); + } + set [_element](value) { + super[_element] = value; + } + } + (_DoubleLinkedQueueSentinel.new = function(queue) { + if (queue == null) dart.nullFailed(I[83], 247, 51, "queue"); + _DoubleLinkedQueueSentinel.__proto__.new.call(this, null, queue); + this[_previousLink$] = this; + this[_nextLink$] = this; + }).prototype = _DoubleLinkedQueueSentinel.prototype; + dart.addTypeTests(_DoubleLinkedQueueSentinel); + _DoubleLinkedQueueSentinel.prototype[_is__DoubleLinkedQueueSentinel_default] = true; + dart.addTypeCaches(_DoubleLinkedQueueSentinel); + dart.setMethodSignature(_DoubleLinkedQueueSentinel, () => ({ + __proto__: dart.getMethods(_DoubleLinkedQueueSentinel.__proto__), + [_asNonSentinelEntry]: dart.fnType(dart.nullable(collection.DoubleLinkedQueueEntry$(E)), []), + [_remove]: dart.fnType(E, []) + })); + dart.setLibraryUri(_DoubleLinkedQueueSentinel, I[24]); + return _DoubleLinkedQueueSentinel; + }); + collection._DoubleLinkedQueueSentinel = collection._DoubleLinkedQueueSentinel$(); + dart.addTypeTests(collection._DoubleLinkedQueueSentinel, _is__DoubleLinkedQueueSentinel_default); + var __DoubleLinkedQueue__sentinel = dart.privateName(collection, "_#DoubleLinkedQueue#_sentinel"); + var __DoubleLinkedQueue__sentinel_isSet = dart.privateName(collection, "_#DoubleLinkedQueue#_sentinel#isSet"); + var _sentinel = dart.privateName(collection, "_sentinel"); + const _is_DoubleLinkedQueue_default = Symbol('_is_DoubleLinkedQueue_default'); + collection.DoubleLinkedQueue$ = dart.generic(E => { + var _DoubleLinkedQueueSentinelOfE = () => (_DoubleLinkedQueueSentinelOfE = dart.constFn(collection._DoubleLinkedQueueSentinel$(E)))(); + var IterableOfE = () => (IterableOfE = dart.constFn(core.Iterable$(E)))(); + var _DoubleLinkedQueueEntryOfE = () => (_DoubleLinkedQueueEntryOfE = dart.constFn(collection._DoubleLinkedQueueEntry$(E)))(); + var _DoubleLinkedQueueElementOfE = () => (_DoubleLinkedQueueElementOfE = dart.constFn(collection._DoubleLinkedQueueElement$(E)))(); + var _DoubleLinkedQueueIteratorOfE = () => (_DoubleLinkedQueueIteratorOfE = dart.constFn(collection._DoubleLinkedQueueIterator$(E)))(); + class DoubleLinkedQueue extends core.Iterable$(E) { + get [_sentinel]() { + let t171; + if (!dart.test(this[__DoubleLinkedQueue__sentinel_isSet])) { + this[__DoubleLinkedQueue__sentinel] = new (_DoubleLinkedQueueSentinelOfE()).new(this); + this[__DoubleLinkedQueue__sentinel_isSet] = true; + } + t171 = this[__DoubleLinkedQueue__sentinel]; + return t171; + } + set [_sentinel](t171) { + if (t171 == null) dart.nullFailed(I[83], 271, 38, "null"); + this[__DoubleLinkedQueue__sentinel_isSet] = true; + this[__DoubleLinkedQueue__sentinel] = t171; + } + static from(elements) { + if (elements == null) dart.nullFailed(I[83], 291, 52, "elements"); + let list = new (collection.DoubleLinkedQueue$(E)).new(); + for (let e of elements) { + list.addLast(E.as(e)); + } + return list; + } + static of(elements) { + let t172; + if (elements == null) dart.nullFailed(I[83], 303, 44, "elements"); + t172 = new (collection.DoubleLinkedQueue$(E)).new(); + return (() => { + t172.addAll(elements); + return t172; + })(); + } + cast(R) { + return collection.Queue.castFrom(E, R, this); + } + get length() { + return this[_elementCount]; + } + addLast(value) { + E.as(value); + this[_sentinel][_prepend](value); + this[_elementCount] = dart.notNull(this[_elementCount]) + 1; + } + addFirst(value) { + E.as(value); + this[_sentinel][_append](value); + this[_elementCount] = dart.notNull(this[_elementCount]) + 1; + } + add(value) { + E.as(value); + this[_sentinel][_prepend](value); + this[_elementCount] = dart.notNull(this[_elementCount]) + 1; + } + addAll(iterable) { + IterableOfE().as(iterable); + if (iterable == null) dart.nullFailed(I[83], 324, 27, "iterable"); + for (let value of iterable) { + this[_sentinel][_prepend](value); + this[_elementCount] = dart.notNull(this[_elementCount]) + 1; + } + } + removeLast() { + let lastEntry = _DoubleLinkedQueueEntryOfE().as(this[_sentinel][_previousLink$]); + let result = lastEntry[_remove](); + this[_elementCount] = dart.notNull(this[_elementCount]) - 1; + return result; + } + removeFirst() { + let firstEntry = _DoubleLinkedQueueEntryOfE().as(this[_sentinel][_nextLink$]); + let result = firstEntry[_remove](); + this[_elementCount] = dart.notNull(this[_elementCount]) - 1; + return result; + } + remove(o) { + let entry = _DoubleLinkedQueueEntryOfE().as(this[_sentinel][_nextLink$]); + while (entry != this[_sentinel]) { + let equals = dart.equals(entry[_element], o); + if (this !== entry[_queue$]) { + dart.throw(new core.ConcurrentModificationError.new(this)); + } + if (equals) { + entry[_remove](); + this[_elementCount] = dart.notNull(this[_elementCount]) - 1; + return true; + } + entry = _DoubleLinkedQueueEntryOfE().as(entry[_nextLink$]); + } + return false; + } + [_filter](test, removeMatching) { + if (test == null) dart.nullFailed(I[83], 366, 21, "test"); + if (removeMatching == null) dart.nullFailed(I[83], 366, 43, "removeMatching"); + let entry = _DoubleLinkedQueueEntryOfE().as(this[_sentinel][_nextLink$]); + while (entry != this[_sentinel]) { + let matches = test(entry[_element]); + if (this !== entry[_queue$]) { + dart.throw(new core.ConcurrentModificationError.new(this)); + } + let next = dart.nullCheck(entry[_nextLink$]); + if (removeMatching == matches) { + entry[_remove](); + this[_elementCount] = dart.notNull(this[_elementCount]) - 1; + } + entry = _DoubleLinkedQueueEntryOfE().as(next); + } + } + removeWhere(test) { + if (test == null) dart.nullFailed(I[83], 384, 25, "test"); + this[_filter](test, true); + } + retainWhere(test) { + if (test == null) dart.nullFailed(I[83], 388, 25, "test"); + this[_filter](test, false); + } + get first() { + let firstEntry = dart.nullCheck(this[_sentinel][_nextLink$]); + return E.as(firstEntry[_element]); + } + get last() { + let lastEntry = dart.nullCheck(this[_sentinel][_previousLink$]); + return E.as(lastEntry[_element]); + } + get single() { + if (this[_sentinel][_nextLink$] == this[_sentinel][_previousLink$]) { + let entry = dart.nullCheck(this[_sentinel][_nextLink$]); + return E.as(entry[_element]); + } + dart.throw(_internal.IterableElementError.tooMany()); + } + firstEntry() { + return this[_sentinel].nextEntry(); + } + lastEntry() { + return this[_sentinel].previousEntry(); + } + get isEmpty() { + return this[_sentinel][_nextLink$] == this[_sentinel]; + } + clear() { + this[_sentinel][_nextLink$] = this[_sentinel]; + this[_sentinel][_previousLink$] = this[_sentinel]; + this[_elementCount] = 0; + } + forEachEntry(action) { + if (action == null) dart.nullFailed(I[83], 466, 26, "action"); + let entry = _DoubleLinkedQueueEntryOfE().as(this[_sentinel][_nextLink$]); + while (entry != this[_sentinel]) { + let element = _DoubleLinkedQueueElementOfE().as(entry); + let next = _DoubleLinkedQueueEntryOfE().as(element[_nextLink$]); + action(element); + if (this === entry[_queue$]) { + next = _DoubleLinkedQueueEntryOfE().as(entry[_nextLink$]); + } else if (this !== next[_queue$]) { + dart.throw(new core.ConcurrentModificationError.new(this)); + } + entry = next; + } + } + get iterator() { + return new (_DoubleLinkedQueueIteratorOfE()).new(this[_sentinel]); + } + toString() { + return collection.IterableBase.iterableToFullString(this, "{", "}"); + } + } + (DoubleLinkedQueue.new = function() { + this[__DoubleLinkedQueue__sentinel] = null; + this[__DoubleLinkedQueue__sentinel_isSet] = false; + this[_elementCount] = 0; + DoubleLinkedQueue.__proto__.new.call(this); + ; + }).prototype = DoubleLinkedQueue.prototype; + dart.addTypeTests(DoubleLinkedQueue); + DoubleLinkedQueue.prototype[_is_DoubleLinkedQueue_default] = true; + dart.addTypeCaches(DoubleLinkedQueue); + DoubleLinkedQueue[dart.implements] = () => [collection.Queue$(E)]; + dart.setMethodSignature(DoubleLinkedQueue, () => ({ + __proto__: dart.getMethods(DoubleLinkedQueue.__proto__), + cast: dart.gFnType(R => [collection.Queue$(R), []], R => [dart.nullable(core.Object)]), + [$cast]: dart.gFnType(R => [collection.Queue$(R), []], R => [dart.nullable(core.Object)]), + addLast: dart.fnType(dart.void, [dart.nullable(core.Object)]), + addFirst: dart.fnType(dart.void, [dart.nullable(core.Object)]), + add: dart.fnType(dart.void, [dart.nullable(core.Object)]), + addAll: dart.fnType(dart.void, [dart.nullable(core.Object)]), + removeLast: dart.fnType(E, []), + removeFirst: dart.fnType(E, []), + remove: dart.fnType(core.bool, [dart.nullable(core.Object)]), + [_filter]: dart.fnType(dart.void, [dart.fnType(core.bool, [E]), core.bool]), + removeWhere: dart.fnType(dart.void, [dart.fnType(core.bool, [E])]), + retainWhere: dart.fnType(dart.void, [dart.fnType(core.bool, [E])]), + firstEntry: dart.fnType(dart.nullable(collection.DoubleLinkedQueueEntry$(E)), []), + lastEntry: dart.fnType(dart.nullable(collection.DoubleLinkedQueueEntry$(E)), []), + clear: dart.fnType(dart.void, []), + forEachEntry: dart.fnType(dart.void, [dart.fnType(dart.void, [collection.DoubleLinkedQueueEntry$(E)])]) + })); + dart.setGetterSignature(DoubleLinkedQueue, () => ({ + __proto__: dart.getGetters(DoubleLinkedQueue.__proto__), + [_sentinel]: collection._DoubleLinkedQueueSentinel$(E), + iterator: collection._DoubleLinkedQueueIterator$(E), + [$iterator]: collection._DoubleLinkedQueueIterator$(E) + })); + dart.setSetterSignature(DoubleLinkedQueue, () => ({ + __proto__: dart.getSetters(DoubleLinkedQueue.__proto__), + [_sentinel]: collection._DoubleLinkedQueueSentinel$(E) + })); + dart.setLibraryUri(DoubleLinkedQueue, I[24]); + dart.setFieldSignature(DoubleLinkedQueue, () => ({ + __proto__: dart.getFields(DoubleLinkedQueue.__proto__), + [__DoubleLinkedQueue__sentinel]: dart.fieldType(dart.nullable(collection._DoubleLinkedQueueSentinel$(E))), + [__DoubleLinkedQueue__sentinel_isSet]: dart.fieldType(core.bool), + [_elementCount]: dart.fieldType(core.int) + })); + dart.defineExtensionMethods(DoubleLinkedQueue, ['cast', 'toString']); + dart.defineExtensionAccessors(DoubleLinkedQueue, [ + 'length', + 'first', + 'last', + 'single', + 'isEmpty', + 'iterator' + ]); + return DoubleLinkedQueue; + }); + collection.DoubleLinkedQueue = collection.DoubleLinkedQueue$(); + dart.addTypeTests(collection.DoubleLinkedQueue, _is_DoubleLinkedQueue_default); + var _nextEntry = dart.privateName(collection, "_nextEntry"); + const _is__DoubleLinkedQueueIterator_default = Symbol('_is__DoubleLinkedQueueIterator_default'); + collection._DoubleLinkedQueueIterator$ = dart.generic(E => { + var _DoubleLinkedQueueEntryOfE = () => (_DoubleLinkedQueueEntryOfE = dart.constFn(collection._DoubleLinkedQueueEntry$(E)))(); + class _DoubleLinkedQueueIterator extends core.Object { + moveNext() { + if (this[_nextEntry] == this[_sentinel]) { + this[_current$1] = null; + this[_nextEntry] = null; + this[_sentinel] = null; + return false; + } + let elementEntry = _DoubleLinkedQueueEntryOfE().as(this[_nextEntry]); + if (dart.nullCheck(this[_sentinel])[_queue$] != elementEntry[_queue$]) { + dart.throw(new core.ConcurrentModificationError.new(dart.nullCheck(this[_sentinel])[_queue$])); + } + this[_current$1] = elementEntry[_element]; + this[_nextEntry] = elementEntry[_nextLink$]; + return true; + } + get current() { + return E.as(this[_current$1]); + } + } + (_DoubleLinkedQueueIterator.new = function(sentinel) { + if (sentinel == null) dart.nullFailed(I[83], 500, 60, "sentinel"); + this[_current$1] = null; + this[_sentinel] = sentinel; + this[_nextEntry] = sentinel[_nextLink$]; + ; + }).prototype = _DoubleLinkedQueueIterator.prototype; + dart.addTypeTests(_DoubleLinkedQueueIterator); + _DoubleLinkedQueueIterator.prototype[_is__DoubleLinkedQueueIterator_default] = true; + dart.addTypeCaches(_DoubleLinkedQueueIterator); + _DoubleLinkedQueueIterator[dart.implements] = () => [core.Iterator$(E)]; + dart.setMethodSignature(_DoubleLinkedQueueIterator, () => ({ + __proto__: dart.getMethods(_DoubleLinkedQueueIterator.__proto__), + moveNext: dart.fnType(core.bool, []) + })); + dart.setGetterSignature(_DoubleLinkedQueueIterator, () => ({ + __proto__: dart.getGetters(_DoubleLinkedQueueIterator.__proto__), + current: E + })); + dart.setLibraryUri(_DoubleLinkedQueueIterator, I[24]); + dart.setFieldSignature(_DoubleLinkedQueueIterator, () => ({ + __proto__: dart.getFields(_DoubleLinkedQueueIterator.__proto__), + [_sentinel]: dart.fieldType(dart.nullable(collection._DoubleLinkedQueueSentinel$(E))), + [_nextEntry]: dart.fieldType(dart.nullable(collection.DoubleLinkedQueueEntry$(E))), + [_current$1]: dart.fieldType(dart.nullable(E)) + })); + return _DoubleLinkedQueueIterator; + }); + collection._DoubleLinkedQueueIterator = collection._DoubleLinkedQueueIterator$(); + dart.addTypeTests(collection._DoubleLinkedQueueIterator, _is__DoubleLinkedQueueIterator_default); + var _head = dart.privateName(collection, "_head"); + var _tail = dart.privateName(collection, "_tail"); + var _table = dart.privateName(collection, "_table"); + var _checkModification = dart.privateName(collection, "_checkModification"); + var _add$ = dart.privateName(collection, "_add"); + var _preGrow = dart.privateName(collection, "_preGrow"); + var _filterWhere = dart.privateName(collection, "_filterWhere"); + var _grow$ = dart.privateName(collection, "_grow"); + var _writeToList = dart.privateName(collection, "_writeToList"); + const _is_ListQueue_default = Symbol('_is_ListQueue_default'); + collection.ListQueue$ = dart.generic(E => { + var EN = () => (EN = dart.constFn(dart.nullable(E)))(); + var ListOfEN = () => (ListOfEN = dart.constFn(core.List$(EN())))(); + var _ListQueueIteratorOfE = () => (_ListQueueIteratorOfE = dart.constFn(collection._ListQueueIterator$(E)))(); + var ListOfE = () => (ListOfE = dart.constFn(core.List$(E)))(); + var IterableOfE = () => (IterableOfE = dart.constFn(core.Iterable$(E)))(); + class ListQueue extends _internal.ListIterable$(E) { + static _calculateCapacity(initialCapacity) { + if (initialCapacity == null || dart.notNull(initialCapacity) < 8) { + return 8; + } else if (!dart.test(collection.ListQueue._isPowerOf2(initialCapacity))) { + return collection.ListQueue._nextPowerOf2(initialCapacity); + } + if (!dart.test(collection.ListQueue._isPowerOf2(initialCapacity))) dart.assertFailed(null, I[83], 553, 12, "_isPowerOf2(initialCapacity)"); + return initialCapacity; + } + static from(elements) { + if (elements == null) dart.nullFailed(I[83], 570, 44, "elements"); + if (core.List.is(elements)) { + let length = elements[$length]; + let queue = new (collection.ListQueue$(E)).new(dart.notNull(length) + 1); + if (!(dart.notNull(queue[_table][$length]) > dart.notNull(length))) dart.assertFailed(null, I[83], 574, 14, "queue._table.length > length"); + for (let i = 0; i < dart.notNull(length); i = i + 1) { + queue[_table][$_set](i, E.as(elements[$_get](i))); + } + queue[_tail] = length; + return queue; + } else { + let capacity = 8; + if (_internal.EfficientLengthIterable.is(elements)) { + capacity = elements[$length]; + } + let result = new (collection.ListQueue$(E)).new(capacity); + for (let element of elements) { + result.addLast(E.as(element)); + } + return result; + } + } + static of(elements) { + let t172; + if (elements == null) dart.nullFailed(I[83], 597, 36, "elements"); + t172 = new (collection.ListQueue$(E)).new(); + return (() => { + t172.addAll(elements); + return t172; + })(); + } + cast(R) { + return collection.Queue.castFrom(E, R, this); + } + get iterator() { + return new (_ListQueueIteratorOfE()).new(this); + } + forEach(f) { + if (f == null) dart.nullFailed(I[83], 605, 21, "f"); + let modificationCount = this[_modificationCount]; + for (let i = this[_head]; i != this[_tail]; i = (dart.notNull(i) + 1 & dart.notNull(this[_table][$length]) - 1) >>> 0) { + f(E.as(this[_table][$_get](i))); + this[_checkModification](modificationCount); + } + } + get isEmpty() { + return this[_head] == this[_tail]; + } + get length() { + return (dart.notNull(this[_tail]) - dart.notNull(this[_head]) & dart.notNull(this[_table][$length]) - 1) >>> 0; + } + get first() { + if (this[_head] == this[_tail]) dart.throw(_internal.IterableElementError.noElement()); + return E.as(this[_table][$_get](this[_head])); + } + get last() { + if (this[_head] == this[_tail]) dart.throw(_internal.IterableElementError.noElement()); + return E.as(this[_table][$_get]((dart.notNull(this[_tail]) - 1 & dart.notNull(this[_table][$length]) - 1) >>> 0)); + } + get single() { + if (this[_head] == this[_tail]) dart.throw(_internal.IterableElementError.noElement()); + if (dart.notNull(this.length) > 1) dart.throw(_internal.IterableElementError.tooMany()); + return E.as(this[_table][$_get](this[_head])); + } + elementAt(index) { + if (index == null) dart.nullFailed(I[83], 633, 19, "index"); + core.RangeError.checkValidIndex(index, this); + return E.as(this[_table][$_get]((dart.notNull(this[_head]) + dart.notNull(index) & dart.notNull(this[_table][$length]) - 1) >>> 0)); + } + toList(opts) { + let growable = opts && 'growable' in opts ? opts.growable : true; + if (growable == null) dart.nullFailed(I[83], 638, 24, "growable"); + let mask = dart.notNull(this[_table][$length]) - 1; + let length = (dart.notNull(this[_tail]) - dart.notNull(this[_head]) & mask) >>> 0; + if (length === 0) return ListOfE().empty({growable: growable}); + let list = ListOfE().filled(length, this.first, {growable: growable}); + for (let i = 0; i < length; i = i + 1) { + list[$_set](i, E.as(this[_table][$_get]((dart.notNull(this[_head]) + i & mask) >>> 0))); + } + return list; + } + add(value) { + E.as(value); + this[_add$](value); + } + addAll(elements) { + IterableOfE().as(elements); + if (elements == null) dart.nullFailed(I[83], 656, 27, "elements"); + if (ListOfE().is(elements)) { + let list = elements; + let addCount = list[$length]; + let length = this.length; + if (dart.notNull(length) + dart.notNull(addCount) >= dart.notNull(this[_table][$length])) { + this[_preGrow](dart.notNull(length) + dart.notNull(addCount)); + this[_table][$setRange](length, dart.notNull(length) + dart.notNull(addCount), list, 0); + this[_tail] = dart.notNull(this[_tail]) + dart.notNull(addCount); + } else { + let endSpace = dart.notNull(this[_table][$length]) - dart.notNull(this[_tail]); + if (dart.notNull(addCount) < endSpace) { + this[_table][$setRange](this[_tail], dart.notNull(this[_tail]) + dart.notNull(addCount), list, 0); + this[_tail] = dart.notNull(this[_tail]) + dart.notNull(addCount); + } else { + let preSpace = dart.notNull(addCount) - endSpace; + this[_table][$setRange](this[_tail], dart.notNull(this[_tail]) + endSpace, list, 0); + this[_table][$setRange](0, preSpace, list, endSpace); + this[_tail] = preSpace; + } + } + this[_modificationCount] = dart.notNull(this[_modificationCount]) + 1; + } else { + for (let element of elements) + this[_add$](element); + } + } + remove(value) { + for (let i = this[_head]; i != this[_tail]; i = (dart.notNull(i) + 1 & dart.notNull(this[_table][$length]) - 1) >>> 0) { + let element = this[_table][$_get](i); + if (dart.equals(element, value)) { + this[_remove](i); + this[_modificationCount] = dart.notNull(this[_modificationCount]) + 1; + return true; + } + } + return false; + } + [_filterWhere](test, removeMatching) { + if (test == null) dart.nullFailed(I[83], 697, 26, "test"); + if (removeMatching == null) dart.nullFailed(I[83], 697, 48, "removeMatching"); + let modificationCount = this[_modificationCount]; + let i = this[_head]; + while (i != this[_tail]) { + let element = E.as(this[_table][$_get](i)); + let remove = removeMatching == test(element); + this[_checkModification](modificationCount); + if (remove) { + i = this[_remove](i); + modificationCount = this[_modificationCount] = dart.notNull(this[_modificationCount]) + 1; + } else { + i = (dart.notNull(i) + 1 & dart.notNull(this[_table][$length]) - 1) >>> 0; + } + } + } + removeWhere(test) { + if (test == null) dart.nullFailed(I[83], 717, 25, "test"); + this[_filterWhere](test, true); + } + retainWhere(test) { + if (test == null) dart.nullFailed(I[83], 725, 25, "test"); + this[_filterWhere](test, false); + } + clear() { + if (this[_head] != this[_tail]) { + for (let i = this[_head]; i != this[_tail]; i = (dart.notNull(i) + 1 & dart.notNull(this[_table][$length]) - 1) >>> 0) { + this[_table][$_set](i, null); + } + this[_head] = this[_tail] = 0; + this[_modificationCount] = dart.notNull(this[_modificationCount]) + 1; + } + } + toString() { + return collection.IterableBase.iterableToFullString(this, "{", "}"); + } + addLast(value) { + E.as(value); + this[_add$](value); + } + addFirst(value) { + E.as(value); + this[_head] = (dart.notNull(this[_head]) - 1 & dart.notNull(this[_table][$length]) - 1) >>> 0; + this[_table][$_set](this[_head], value); + if (this[_head] == this[_tail]) this[_grow$](); + this[_modificationCount] = dart.notNull(this[_modificationCount]) + 1; + } + removeFirst() { + if (this[_head] == this[_tail]) dart.throw(_internal.IterableElementError.noElement()); + this[_modificationCount] = dart.notNull(this[_modificationCount]) + 1; + let result = E.as(this[_table][$_get](this[_head])); + this[_table][$_set](this[_head], null); + this[_head] = (dart.notNull(this[_head]) + 1 & dart.notNull(this[_table][$length]) - 1) >>> 0; + return result; + } + removeLast() { + if (this[_head] == this[_tail]) dart.throw(_internal.IterableElementError.noElement()); + this[_modificationCount] = dart.notNull(this[_modificationCount]) + 1; + this[_tail] = (dart.notNull(this[_tail]) - 1 & dart.notNull(this[_table][$length]) - 1) >>> 0; + let result = E.as(this[_table][$_get](this[_tail])); + this[_table][$_set](this[_tail], null); + return result; + } + static _isPowerOf2(number) { + if (number == null) dart.nullFailed(I[83], 777, 31, "number"); + return (dart.notNull(number) & dart.notNull(number) - 1) === 0; + } + static _nextPowerOf2(number) { + if (number == null) dart.nullFailed(I[83], 784, 32, "number"); + if (!(dart.notNull(number) > 0)) dart.assertFailed(null, I[83], 785, 12, "number > 0"); + number = (dart.notNull(number) << 1 >>> 0) - 1; + for (;;) { + let nextNumber = (dart.notNull(number) & dart.notNull(number) - 1) >>> 0; + if (nextNumber === 0) return number; + number = nextNumber; + } + } + [_checkModification](expectedModificationCount) { + if (expectedModificationCount == null) dart.nullFailed(I[83], 795, 31, "expectedModificationCount"); + if (expectedModificationCount != this[_modificationCount]) { + dart.throw(new core.ConcurrentModificationError.new(this)); + } + } + [_add$](element) { + this[_table][$_set](this[_tail], element); + this[_tail] = (dart.notNull(this[_tail]) + 1 & dart.notNull(this[_table][$length]) - 1) >>> 0; + if (this[_head] == this[_tail]) this[_grow$](); + this[_modificationCount] = dart.notNull(this[_modificationCount]) + 1; + } + [_remove](offset) { + if (offset == null) dart.nullFailed(I[83], 817, 19, "offset"); + let mask = dart.notNull(this[_table][$length]) - 1; + let startDistance = (dart.notNull(offset) - dart.notNull(this[_head]) & mask) >>> 0; + let endDistance = (dart.notNull(this[_tail]) - dart.notNull(offset) & mask) >>> 0; + if (startDistance < endDistance) { + let i = offset; + while (i != this[_head]) { + let prevOffset = (dart.notNull(i) - 1 & mask) >>> 0; + this[_table][$_set](i, this[_table][$_get](prevOffset)); + i = prevOffset; + } + this[_table][$_set](this[_head], null); + this[_head] = (dart.notNull(this[_head]) + 1 & mask) >>> 0; + return (dart.notNull(offset) + 1 & mask) >>> 0; + } else { + this[_tail] = (dart.notNull(this[_tail]) - 1 & mask) >>> 0; + let i = offset; + while (i != this[_tail]) { + let nextOffset = (dart.notNull(i) + 1 & mask) >>> 0; + this[_table][$_set](i, this[_table][$_get](nextOffset)); + i = nextOffset; + } + this[_table][$_set](this[_tail], null); + return offset; + } + } + [_grow$]() { + let newTable = ListOfEN().filled(dart.notNull(this[_table][$length]) * 2, null); + let split = dart.notNull(this[_table][$length]) - dart.notNull(this[_head]); + newTable[$setRange](0, split, this[_table], this[_head]); + newTable[$setRange](split, split + dart.notNull(this[_head]), this[_table], 0); + this[_head] = 0; + this[_tail] = this[_table][$length]; + this[_table] = newTable; + } + [_writeToList](target) { + if (target == null) dart.nullFailed(I[83], 856, 29, "target"); + if (!(dart.notNull(target[$length]) >= dart.notNull(this.length))) dart.assertFailed(null, I[83], 857, 12, "target.length >= length"); + if (dart.notNull(this[_head]) <= dart.notNull(this[_tail])) { + let length = dart.notNull(this[_tail]) - dart.notNull(this[_head]); + target[$setRange](0, length, this[_table], this[_head]); + return length; + } else { + let firstPartSize = dart.notNull(this[_table][$length]) - dart.notNull(this[_head]); + target[$setRange](0, firstPartSize, this[_table], this[_head]); + target[$setRange](firstPartSize, firstPartSize + dart.notNull(this[_tail]), this[_table], 0); + return dart.notNull(this[_tail]) + firstPartSize; + } + } + [_preGrow](newElementCount) { + if (newElementCount == null) dart.nullFailed(I[83], 871, 21, "newElementCount"); + if (!(dart.notNull(newElementCount) >= dart.notNull(this.length))) dart.assertFailed(null, I[83], 872, 12, "newElementCount >= length"); + newElementCount = dart.notNull(newElementCount) + newElementCount[$rightShift](1); + let newCapacity = collection.ListQueue._nextPowerOf2(newElementCount); + let newTable = ListOfEN().filled(newCapacity, null); + this[_tail] = this[_writeToList](newTable); + this[_table] = newTable; + this[_head] = 0; + } + } + (ListQueue.new = function(initialCapacity = null) { + this[_modificationCount] = 0; + this[_head] = 0; + this[_tail] = 0; + this[_table] = ListOfEN().filled(collection.ListQueue._calculateCapacity(initialCapacity), null); + ListQueue.__proto__.new.call(this); + ; + }).prototype = ListQueue.prototype; + dart.addTypeTests(ListQueue); + ListQueue.prototype[_is_ListQueue_default] = true; + dart.addTypeCaches(ListQueue); + ListQueue[dart.implements] = () => [collection.Queue$(E)]; + dart.setMethodSignature(ListQueue, () => ({ + __proto__: dart.getMethods(ListQueue.__proto__), + cast: dart.gFnType(R => [collection.Queue$(R), []], R => [dart.nullable(core.Object)]), + [$cast]: dart.gFnType(R => [collection.Queue$(R), []], R => [dart.nullable(core.Object)]), + add: dart.fnType(dart.void, [dart.nullable(core.Object)]), + addAll: dart.fnType(dart.void, [dart.nullable(core.Object)]), + remove: dart.fnType(core.bool, [dart.nullable(core.Object)]), + [_filterWhere]: dart.fnType(dart.void, [dart.fnType(core.bool, [E]), core.bool]), + removeWhere: dart.fnType(dart.void, [dart.fnType(core.bool, [E])]), + retainWhere: dart.fnType(dart.void, [dart.fnType(core.bool, [E])]), + clear: dart.fnType(dart.void, []), + addLast: dart.fnType(dart.void, [dart.nullable(core.Object)]), + addFirst: dart.fnType(dart.void, [dart.nullable(core.Object)]), + removeFirst: dart.fnType(E, []), + removeLast: dart.fnType(E, []), + [_checkModification]: dart.fnType(dart.void, [core.int]), + [_add$]: dart.fnType(dart.void, [E]), + [_remove]: dart.fnType(core.int, [core.int]), + [_grow$]: dart.fnType(dart.void, []), + [_writeToList]: dart.fnType(core.int, [core.List$(dart.nullable(E))]), + [_preGrow]: dart.fnType(dart.void, [core.int]) + })); + dart.setLibraryUri(ListQueue, I[24]); + dart.setFieldSignature(ListQueue, () => ({ + __proto__: dart.getFields(ListQueue.__proto__), + [_table]: dart.fieldType(core.List$(dart.nullable(E))), + [_head]: dart.fieldType(core.int), + [_tail]: dart.fieldType(core.int), + [_modificationCount]: dart.fieldType(core.int) + })); + dart.defineExtensionMethods(ListQueue, [ + 'cast', + 'forEach', + 'elementAt', + 'toList', + 'toString' + ]); + dart.defineExtensionAccessors(ListQueue, [ + 'iterator', + 'isEmpty', + 'length', + 'first', + 'last', + 'single' + ]); + return ListQueue; + }); + collection.ListQueue = collection.ListQueue$(); + dart.defineLazy(collection.ListQueue, { + /*collection.ListQueue._INITIAL_CAPACITY*/get _INITIAL_CAPACITY() { + return 8; + } + }, false); + dart.addTypeTests(collection.ListQueue, _is_ListQueue_default); + var _end = dart.privateName(collection, "_end"); + var _position = dart.privateName(collection, "_position"); + const _is__ListQueueIterator_default = Symbol('_is__ListQueueIterator_default'); + collection._ListQueueIterator$ = dart.generic(E => { + class _ListQueueIterator extends core.Object { + get current() { + return E.as(this[_current$1]); + } + moveNext() { + this[_queue$][_checkModification](this[_modificationCount]); + if (this[_position] == this[_end]) { + this[_current$1] = null; + return false; + } + this[_current$1] = this[_queue$][_table][$_get](this[_position]); + this[_position] = (dart.notNull(this[_position]) + 1 & dart.notNull(this[_queue$][_table][$length]) - 1) >>> 0; + return true; + } + } + (_ListQueueIterator.new = function(queue) { + if (queue == null) dart.nullFailed(I[83], 895, 35, "queue"); + this[_current$1] = null; + this[_queue$] = queue; + this[_end] = queue[_tail]; + this[_modificationCount] = queue[_modificationCount]; + this[_position] = queue[_head]; + ; + }).prototype = _ListQueueIterator.prototype; + dart.addTypeTests(_ListQueueIterator); + _ListQueueIterator.prototype[_is__ListQueueIterator_default] = true; + dart.addTypeCaches(_ListQueueIterator); + _ListQueueIterator[dart.implements] = () => [core.Iterator$(E)]; + dart.setMethodSignature(_ListQueueIterator, () => ({ + __proto__: dart.getMethods(_ListQueueIterator.__proto__), + moveNext: dart.fnType(core.bool, []) + })); + dart.setGetterSignature(_ListQueueIterator, () => ({ + __proto__: dart.getGetters(_ListQueueIterator.__proto__), + current: E + })); + dart.setLibraryUri(_ListQueueIterator, I[24]); + dart.setFieldSignature(_ListQueueIterator, () => ({ + __proto__: dart.getFields(_ListQueueIterator.__proto__), + [_queue$]: dart.finalFieldType(collection.ListQueue$(E)), + [_end]: dart.finalFieldType(core.int), + [_modificationCount]: dart.finalFieldType(core.int), + [_position]: dart.fieldType(core.int), + [_current$1]: dart.fieldType(dart.nullable(E)) + })); + return _ListQueueIterator; + }); + collection._ListQueueIterator = collection._ListQueueIterator$(); + dart.addTypeTests(collection._ListQueueIterator, _is__ListQueueIterator_default); + const _is_SetBase_default = Symbol('_is_SetBase_default'); + collection.SetBase$ = dart.generic(E => { + const Object_SetMixin$36 = class Object_SetMixin extends core.Object {}; + (Object_SetMixin$36.new = function() { + }).prototype = Object_SetMixin$36.prototype; + dart.applyMixin(Object_SetMixin$36, collection.SetMixin$(E)); + class SetBase extends Object_SetMixin$36 { + static setToString(set) { + if (set == null) dart.nullFailed(I[75], 306, 33, "set"); + return collection.IterableBase.iterableToFullString(set, "{", "}"); + } + } + (SetBase.new = function() { + ; + }).prototype = SetBase.prototype; + dart.addTypeTests(SetBase); + SetBase.prototype[_is_SetBase_default] = true; + dart.addTypeCaches(SetBase); + dart.setLibraryUri(SetBase, I[24]); + return SetBase; + }); + collection.SetBase = collection.SetBase$(); + dart.addTypeTests(collection.SetBase, _is_SetBase_default); + const _is__UnmodifiableSetMixin_default = Symbol('_is__UnmodifiableSetMixin_default'); + collection._UnmodifiableSetMixin$ = dart.generic(E => { + var IterableOfE = () => (IterableOfE = dart.constFn(core.Iterable$(E)))(); + class _UnmodifiableSetMixin extends core.Object { + static _throwUnmodifiable() { + dart.throw(new core.UnsupportedError.new("Cannot change an unmodifiable set")); + } + add(value) { + E.as(value); + collection._UnmodifiableSetMixin._throwUnmodifiable(); + return dart.throw(new _internal.ReachabilityError.new("`null` encountered as the result from expression with type `Never`.")); + } + clear() { + collection._UnmodifiableSetMixin._throwUnmodifiable(); + return dart.throw(new _internal.ReachabilityError.new("`null` encountered as the result from expression with type `Never`.")); + } + addAll(elements) { + IterableOfE().as(elements); + if (elements == null) dart.nullFailed(I[75], 355, 27, "elements"); + collection._UnmodifiableSetMixin._throwUnmodifiable(); + return dart.throw(new _internal.ReachabilityError.new("`null` encountered as the result from expression with type `Never`.")); + } + removeAll(elements) { + if (elements == null) dart.nullFailed(I[75], 358, 36, "elements"); + collection._UnmodifiableSetMixin._throwUnmodifiable(); + return dart.throw(new _internal.ReachabilityError.new("`null` encountered as the result from expression with type `Never`.")); + } + retainAll(elements) { + if (elements == null) dart.nullFailed(I[75], 361, 36, "elements"); + collection._UnmodifiableSetMixin._throwUnmodifiable(); + return dart.throw(new _internal.ReachabilityError.new("`null` encountered as the result from expression with type `Never`.")); + } + removeWhere(test) { + if (test == null) dart.nullFailed(I[75], 364, 25, "test"); + collection._UnmodifiableSetMixin._throwUnmodifiable(); + return dart.throw(new _internal.ReachabilityError.new("`null` encountered as the result from expression with type `Never`.")); + } + retainWhere(test) { + if (test == null) dart.nullFailed(I[75], 367, 25, "test"); + collection._UnmodifiableSetMixin._throwUnmodifiable(); + return dart.throw(new _internal.ReachabilityError.new("`null` encountered as the result from expression with type `Never`.")); + } + remove(value) { + collection._UnmodifiableSetMixin._throwUnmodifiable(); + return dart.throw(new _internal.ReachabilityError.new("`null` encountered as the result from expression with type `Never`.")); + } + [Symbol.iterator]() { + return new dart.JsIterator(this[$iterator]); + } + } + (_UnmodifiableSetMixin.new = function() { + ; + }).prototype = _UnmodifiableSetMixin.prototype; + dart.addTypeTests(_UnmodifiableSetMixin); + _UnmodifiableSetMixin.prototype[_is__UnmodifiableSetMixin_default] = true; + dart.addTypeCaches(_UnmodifiableSetMixin); + _UnmodifiableSetMixin[dart.implements] = () => [core.Set$(E)]; + dart.setMethodSignature(_UnmodifiableSetMixin, () => ({ + __proto__: dart.getMethods(_UnmodifiableSetMixin.__proto__), + add: dart.fnType(core.bool, [dart.nullable(core.Object)]), + clear: dart.fnType(dart.void, []), + addAll: dart.fnType(dart.void, [dart.nullable(core.Object)]), + removeAll: dart.fnType(dart.void, [core.Iterable$(dart.nullable(core.Object))]), + retainAll: dart.fnType(dart.void, [core.Iterable$(dart.nullable(core.Object))]), + removeWhere: dart.fnType(dart.void, [dart.fnType(core.bool, [E])]), + retainWhere: dart.fnType(dart.void, [dart.fnType(core.bool, [E])]), + remove: dart.fnType(core.bool, [dart.nullable(core.Object)]) + })); + dart.setLibraryUri(_UnmodifiableSetMixin, I[24]); + return _UnmodifiableSetMixin; + }); + collection._UnmodifiableSetMixin = collection._UnmodifiableSetMixin$(); + dart.addTypeTests(collection._UnmodifiableSetMixin, _is__UnmodifiableSetMixin_default); + var _map$9 = dart.privateName(collection, "_UnmodifiableSet._map"); + const _is__UnmodifiableSet_default = Symbol('_is__UnmodifiableSet_default'); + collection._UnmodifiableSet$ = dart.generic(E => { + var _HashSetOfE = () => (_HashSetOfE = dart.constFn(collection._HashSet$(E)))(); + const _SetBase__UnmodifiableSetMixin$36 = class _SetBase__UnmodifiableSetMixin extends collection._SetBase$(E) {}; + (_SetBase__UnmodifiableSetMixin$36.new = function() { + _SetBase__UnmodifiableSetMixin$36.__proto__.new.call(this); + }).prototype = _SetBase__UnmodifiableSetMixin$36.prototype; + dart.applyMixin(_SetBase__UnmodifiableSetMixin$36, collection._UnmodifiableSetMixin$(E)); + class _UnmodifiableSet extends _SetBase__UnmodifiableSetMixin$36 { + get [_map$5]() { + return this[_map$9]; + } + set [_map$5](value) { + super[_map$5] = value; + } + [_newSet]() { + return new (_HashSetOfE()).new(); + } + [_newSimilarSet](R) { + return new (collection._HashSet$(R)).new(); + } + contains(element) { + return this[_map$5][$containsKey](element); + } + get iterator() { + return this[_map$5][$keys][$iterator]; + } + get length() { + return this[_map$5][$length]; + } + lookup(element) { + for (let key of this[_map$5][$keys]) { + if (dart.equals(key, element)) return key; + } + return null; + } + } + (_UnmodifiableSet.new = function(_map) { + if (_map == null) dart.nullFailed(I[75], 377, 31, "_map"); + this[_map$9] = _map; + _UnmodifiableSet.__proto__.new.call(this); + ; + }).prototype = _UnmodifiableSet.prototype; + dart.addTypeTests(_UnmodifiableSet); + _UnmodifiableSet.prototype[_is__UnmodifiableSet_default] = true; + dart.addTypeCaches(_UnmodifiableSet); + dart.setMethodSignature(_UnmodifiableSet, () => ({ + __proto__: dart.getMethods(_UnmodifiableSet.__proto__), + [_newSet]: dart.fnType(core.Set$(E), []), + [_newSimilarSet]: dart.gFnType(R => [core.Set$(R), []], R => [dart.nullable(core.Object)]), + contains: dart.fnType(core.bool, [dart.nullable(core.Object)]), + [$contains]: dart.fnType(core.bool, [dart.nullable(core.Object)]), + lookup: dart.fnType(dart.nullable(E), [dart.nullable(core.Object)]) + })); + dart.setGetterSignature(_UnmodifiableSet, () => ({ + __proto__: dart.getGetters(_UnmodifiableSet.__proto__), + iterator: core.Iterator$(E), + [$iterator]: core.Iterator$(E), + length: core.int, + [$length]: core.int + })); + dart.setLibraryUri(_UnmodifiableSet, I[24]); + dart.setFieldSignature(_UnmodifiableSet, () => ({ + __proto__: dart.getFields(_UnmodifiableSet.__proto__), + [_map$5]: dart.finalFieldType(core.Map$(E, core.Null)) + })); + dart.defineExtensionMethods(_UnmodifiableSet, ['contains']); + dart.defineExtensionAccessors(_UnmodifiableSet, ['iterator', 'length']); + return _UnmodifiableSet; + }); + collection._UnmodifiableSet = collection._UnmodifiableSet$(); + dart.addTypeTests(collection._UnmodifiableSet, _is__UnmodifiableSet_default); + const _is_UnmodifiableSetView_default = Symbol('_is_UnmodifiableSetView_default'); + collection.UnmodifiableSetView$ = dart.generic(E => { + const SetBase__UnmodifiableSetMixin$36 = class SetBase__UnmodifiableSetMixin extends collection.SetBase$(E) {}; + (SetBase__UnmodifiableSetMixin$36.new = function() { + }).prototype = SetBase__UnmodifiableSetMixin$36.prototype; + dart.applyMixin(SetBase__UnmodifiableSetMixin$36, collection._UnmodifiableSetMixin$(E)); + class UnmodifiableSetView extends SetBase__UnmodifiableSetMixin$36 { + contains(element) { + return this[_source].contains(element); + } + lookup(element) { + return this[_source].lookup(element); + } + get length() { + return this[_source][$length]; + } + get iterator() { + return this[_source].iterator; + } + toSet() { + return this[_source].toSet(); + } + } + (UnmodifiableSetView.new = function(source) { + if (source == null) dart.nullFailed(I[75], 408, 30, "source"); + this[_source] = source; + ; + }).prototype = UnmodifiableSetView.prototype; + dart.addTypeTests(UnmodifiableSetView); + UnmodifiableSetView.prototype[_is_UnmodifiableSetView_default] = true; + dart.addTypeCaches(UnmodifiableSetView); + dart.setMethodSignature(UnmodifiableSetView, () => ({ + __proto__: dart.getMethods(UnmodifiableSetView.__proto__), + contains: dart.fnType(core.bool, [dart.nullable(core.Object)]), + [$contains]: dart.fnType(core.bool, [dart.nullable(core.Object)]), + lookup: dart.fnType(dart.nullable(E), [dart.nullable(core.Object)]), + toSet: dart.fnType(core.Set$(E), []), + [$toSet]: dart.fnType(core.Set$(E), []) + })); + dart.setGetterSignature(UnmodifiableSetView, () => ({ + __proto__: dart.getGetters(UnmodifiableSetView.__proto__), + length: core.int, + [$length]: core.int, + iterator: core.Iterator$(E), + [$iterator]: core.Iterator$(E) + })); + dart.setLibraryUri(UnmodifiableSetView, I[24]); + dart.setFieldSignature(UnmodifiableSetView, () => ({ + __proto__: dart.getFields(UnmodifiableSetView.__proto__), + [_source]: dart.finalFieldType(core.Set$(E)) + })); + dart.defineExtensionMethods(UnmodifiableSetView, ['contains', 'toSet']); + dart.defineExtensionAccessors(UnmodifiableSetView, ['length', 'iterator']); + return UnmodifiableSetView; + }); + collection.UnmodifiableSetView = collection.UnmodifiableSetView$(); + dart.addTypeTests(collection.UnmodifiableSetView, _is_UnmodifiableSetView_default); + var _left = dart.privateName(collection, "_SplayTreeNode._left"); + var _right = dart.privateName(collection, "_SplayTreeNode._right"); + var _left$ = dart.privateName(collection, "_left"); + var _right$ = dart.privateName(collection, "_right"); + const _is__SplayTreeNode_default = Symbol('_is__SplayTreeNode_default'); + collection._SplayTreeNode$ = dart.generic((K, Node) => { + var NodeN = () => (NodeN = dart.constFn(dart.nullable(Node)))(); + class _SplayTreeNode extends core.Object { + get [_left$]() { + return this[_left]; + } + set [_left$](value) { + this[_left] = NodeN().as(value); + } + get [_right$]() { + return this[_right]; + } + set [_right$](value) { + this[_right] = NodeN().as(value); + } + } + (_SplayTreeNode.new = function(key) { + this[_left] = null; + this[_right] = null; + this.key = key; + ; + }).prototype = _SplayTreeNode.prototype; + dart.addTypeTests(_SplayTreeNode); + _SplayTreeNode.prototype[_is__SplayTreeNode_default] = true; + dart.addTypeCaches(_SplayTreeNode); + dart.setLibraryUri(_SplayTreeNode, I[24]); + dart.setFieldSignature(_SplayTreeNode, () => ({ + __proto__: dart.getFields(_SplayTreeNode.__proto__), + key: dart.finalFieldType(K), + [_left$]: dart.fieldType(dart.nullable(Node)), + [_right$]: dart.fieldType(dart.nullable(Node)) + })); + return _SplayTreeNode; + }); + collection._SplayTreeNode = collection._SplayTreeNode$(); + dart.addTypeTests(collection._SplayTreeNode, _is__SplayTreeNode_default); + const _is__SplayTreeSetNode_default = Symbol('_is__SplayTreeSetNode_default'); + collection._SplayTreeSetNode$ = dart.generic(K => { + class _SplayTreeSetNode extends collection._SplayTreeNode {} + (_SplayTreeSetNode.new = function(key) { + _SplayTreeSetNode.__proto__.new.call(this, key); + ; + }).prototype = _SplayTreeSetNode.prototype; + dart.addTypeTests(_SplayTreeSetNode); + _SplayTreeSetNode.prototype[_is__SplayTreeSetNode_default] = true; + dart.addTypeCaches(_SplayTreeSetNode); + dart.setLibraryUri(_SplayTreeSetNode, I[24]); + return _SplayTreeSetNode; + }, K => { + dart.setBaseClass(collection._SplayTreeSetNode$(K), collection._SplayTreeNode$(K, collection._SplayTreeSetNode$(K))); + }); + collection._SplayTreeSetNode = collection._SplayTreeSetNode$(); + dart.addTypeTests(collection._SplayTreeSetNode, _is__SplayTreeSetNode_default); + var _replaceValue = dart.privateName(collection, "_replaceValue"); + const _is__SplayTreeMapNode_default = Symbol('_is__SplayTreeMapNode_default'); + collection._SplayTreeMapNode$ = dart.generic((K, V) => { + var _SplayTreeMapNodeOfK$V = () => (_SplayTreeMapNodeOfK$V = dart.constFn(collection._SplayTreeMapNode$(K, V)))(); + class _SplayTreeMapNode extends collection._SplayTreeNode { + [_replaceValue](value) { + let t172; + V.as(value); + t172 = new (_SplayTreeMapNodeOfK$V()).new(this.key, value); + return (() => { + t172[_left$] = this[_left$]; + t172[_right$] = this[_right$]; + return t172; + })(); + } + toString() { + return "MapEntry(" + dart.str(this.key) + ": " + dart.str(this.value) + ")"; + } + } + (_SplayTreeMapNode.new = function(key, value) { + this.value = value; + _SplayTreeMapNode.__proto__.new.call(this, key); + ; + }).prototype = _SplayTreeMapNode.prototype; + dart.addTypeTests(_SplayTreeMapNode); + _SplayTreeMapNode.prototype[_is__SplayTreeMapNode_default] = true; + dart.addTypeCaches(_SplayTreeMapNode); + _SplayTreeMapNode[dart.implements] = () => [core.MapEntry$(K, V)]; + dart.setMethodSignature(_SplayTreeMapNode, () => ({ + __proto__: dart.getMethods(_SplayTreeMapNode.__proto__), + [_replaceValue]: dart.fnType(collection._SplayTreeMapNode$(K, V), [dart.nullable(core.Object)]) + })); + dart.setLibraryUri(_SplayTreeMapNode, I[24]); + dart.setFieldSignature(_SplayTreeMapNode, () => ({ + __proto__: dart.getFields(_SplayTreeMapNode.__proto__), + value: dart.finalFieldType(V) + })); + dart.defineExtensionMethods(_SplayTreeMapNode, ['toString']); + return _SplayTreeMapNode; + }, (K, V) => { + dart.setBaseClass(collection._SplayTreeMapNode$(K, V), collection._SplayTreeNode$(K, collection._SplayTreeMapNode$(K, V))); + }); + collection._SplayTreeMapNode = collection._SplayTreeMapNode$(); + dart.addTypeTests(collection._SplayTreeMapNode, _is__SplayTreeMapNode_default); + var _count$ = dart.privateName(collection, "_count"); + var _splayCount = dart.privateName(collection, "_splayCount"); + var _root = dart.privateName(collection, "_root"); + var _compare = dart.privateName(collection, "_compare"); + var _splay = dart.privateName(collection, "_splay"); + var _splayMin = dart.privateName(collection, "_splayMin"); + var _splayMax = dart.privateName(collection, "_splayMax"); + var _addNewRoot = dart.privateName(collection, "_addNewRoot"); + var _last$ = dart.privateName(collection, "_last"); + var _clear$ = dart.privateName(collection, "_clear"); + var _containsKey = dart.privateName(collection, "_containsKey"); + const _is__SplayTree_default = Symbol('_is__SplayTree_default'); + collection._SplayTree$ = dart.generic((K, Node) => { + class _SplayTree extends core.Object { + [_splay](key) { + let t173, t172; + K.as(key); + let root = this[_root]; + if (root == null) { + t172 = key; + t173 = key; + this[_compare](t172, t173); + return -1; + } + let right = null; + let newTreeRight = null; + let left = null; + let newTreeLeft = null; + let current = root; + let compare = this[_compare]; + let comp = null; + while (true) { + comp = compare(current.key, key); + if (dart.notNull(comp) > 0) { + let currentLeft = current[_left$]; + if (currentLeft == null) break; + comp = compare(currentLeft.key, key); + if (dart.notNull(comp) > 0) { + current[_left$] = currentLeft[_right$]; + currentLeft[_right$] = current; + current = currentLeft; + currentLeft = current[_left$]; + if (currentLeft == null) break; + } + if (right == null) { + newTreeRight = current; + } else { + right[_left$] = current; + } + right = current; + current = currentLeft; + } else if (dart.notNull(comp) < 0) { + let currentRight = current[_right$]; + if (currentRight == null) break; + comp = compare(currentRight.key, key); + if (dart.notNull(comp) < 0) { + current[_right$] = currentRight[_left$]; + currentRight[_left$] = current; + current = currentRight; + currentRight = current[_right$]; + if (currentRight == null) break; + } + if (left == null) { + newTreeLeft = current; + } else { + left[_right$] = current; + } + left = current; + current = currentRight; + } else { + break; + } + } + if (left != null) { + left[_right$] = current[_left$]; + current[_left$] = newTreeLeft; + } + if (right != null) { + right[_left$] = current[_right$]; + current[_right$] = newTreeRight; + } + if (this[_root] != current) { + this[_root] = current; + this[_splayCount] = dart.notNull(this[_splayCount]) + 1; + } + return comp; + } + [_splayMin](node) { + if (node == null) dart.nullFailed(I[84], 173, 23, "node"); + let current = node; + let nextLeft = current[_left$]; + while (nextLeft != null) { + let left = nextLeft; + current[_left$] = left[_right$]; + left[_right$] = current; + current = left; + nextLeft = current[_left$]; + } + return current; + } + [_splayMax](node) { + if (node == null) dart.nullFailed(I[84], 191, 23, "node"); + let current = node; + let nextRight = current[_right$]; + while (nextRight != null) { + let right = nextRight; + current[_right$] = right[_left$]; + right[_left$] = current; + current = right; + nextRight = current[_right$]; + } + return current; + } + [_remove](key) { + if (this[_root] == null) return null; + let comp = this[_splay](key); + if (comp !== 0) return null; + let root = dart.nullCheck(this[_root]); + let result = root; + let left = root[_left$]; + this[_count$] = dart.notNull(this[_count$]) - 1; + if (left == null) { + this[_root] = root[_right$]; + } else { + let right = root[_right$]; + root = this[_splayMax](left); + root[_right$] = right; + this[_root] = root; + } + this[_modificationCount] = dart.notNull(this[_modificationCount]) + 1; + return result; + } + [_addNewRoot](node, comp) { + if (node == null) dart.nullFailed(I[84], 233, 25, "node"); + if (comp == null) dart.nullFailed(I[84], 233, 35, "comp"); + this[_count$] = dart.notNull(this[_count$]) + 1; + this[_modificationCount] = dart.notNull(this[_modificationCount]) + 1; + let root = this[_root]; + if (root == null) { + this[_root] = node; + return; + } + if (dart.notNull(comp) < 0) { + node[_left$] = root; + node[_right$] = root[_right$]; + root[_right$] = null; + } else { + node[_right$] = root; + node[_left$] = root[_left$]; + root[_left$] = null; + } + this[_root] = node; + } + get [_first]() { + let root = this[_root]; + if (root == null) return null; + this[_root] = this[_splayMin](root); + return this[_root]; + } + get [_last$]() { + let root = this[_root]; + if (root == null) return null; + this[_root] = this[_splayMax](root); + return this[_root]; + } + [_clear$]() { + this[_root] = null; + this[_count$] = 0; + this[_modificationCount] = dart.notNull(this[_modificationCount]) + 1; + } + [_containsKey](key) { + let t172; + return dart.test((t172 = key, this[_validKey$0](t172))) && this[_splay](K.as(key)) === 0; + } + } + (_SplayTree.new = function() { + this[_count$] = 0; + this[_modificationCount] = 0; + this[_splayCount] = 0; + ; + }).prototype = _SplayTree.prototype; + dart.addTypeTests(_SplayTree); + _SplayTree.prototype[_is__SplayTree_default] = true; + dart.addTypeCaches(_SplayTree); + dart.setMethodSignature(_SplayTree, () => ({ + __proto__: dart.getMethods(_SplayTree.__proto__), + [_splay]: dart.fnType(core.int, [dart.nullable(core.Object)]), + [_splayMin]: dart.fnType(Node, [Node]), + [_splayMax]: dart.fnType(Node, [Node]), + [_remove]: dart.fnType(dart.nullable(Node), [K]), + [_addNewRoot]: dart.fnType(dart.void, [Node, core.int]), + [_clear$]: dart.fnType(dart.void, []), + [_containsKey]: dart.fnType(core.bool, [dart.nullable(core.Object)]) + })); + dart.setGetterSignature(_SplayTree, () => ({ + __proto__: dart.getGetters(_SplayTree.__proto__), + [_first]: dart.nullable(Node), + [_last$]: dart.nullable(Node) + })); + dart.setLibraryUri(_SplayTree, I[24]); + dart.setFieldSignature(_SplayTree, () => ({ + __proto__: dart.getFields(_SplayTree.__proto__), + [_count$]: dart.fieldType(core.int), + [_modificationCount]: dart.fieldType(core.int), + [_splayCount]: dart.fieldType(core.int) + })); + return _SplayTree; + }); + collection._SplayTree = collection._SplayTree$(); + dart.addTypeTests(collection._SplayTree, _is__SplayTree_default); + var _root$ = dart.privateName(collection, "SplayTreeMap._root"); + var _compare$ = dart.privateName(collection, "SplayTreeMap._compare"); + var _validKey = dart.privateName(collection, "SplayTreeMap._validKey"); + const _is_SplayTreeMap_default = Symbol('_is_SplayTreeMap_default'); + collection.SplayTreeMap$ = dart.generic((K, V) => { + var _SplayTreeMapNodeOfK$V = () => (_SplayTreeMapNodeOfK$V = dart.constFn(collection._SplayTreeMapNode$(K, V)))(); + var KAndVToV = () => (KAndVToV = dart.constFn(dart.fnType(V, [K, V])))(); + var _SplayTreeMapEntryIteratorOfK$V = () => (_SplayTreeMapEntryIteratorOfK$V = dart.constFn(collection._SplayTreeMapEntryIterator$(K, V)))(); + var MapOfK$V = () => (MapOfK$V = dart.constFn(core.Map$(K, V)))(); + var KAndVTovoid = () => (KAndVTovoid = dart.constFn(dart.fnType(dart.void, [K, V])))(); + var _SplayTreeMapNodeNOfK$V = () => (_SplayTreeMapNodeNOfK$V = dart.constFn(dart.nullable(_SplayTreeMapNodeOfK$V())))(); + var _SplayTreeMapNodeNOfK$VTobool = () => (_SplayTreeMapNodeNOfK$VTobool = dart.constFn(dart.fnType(core.bool, [_SplayTreeMapNodeNOfK$V()])))(); + var _SplayTreeKeyIterableOfK$_SplayTreeMapNodeOfK$V = () => (_SplayTreeKeyIterableOfK$_SplayTreeMapNodeOfK$V = dart.constFn(collection._SplayTreeKeyIterable$(K, _SplayTreeMapNodeOfK$V())))(); + var _SplayTreeValueIterableOfK$V = () => (_SplayTreeValueIterableOfK$V = dart.constFn(collection._SplayTreeValueIterable$(K, V)))(); + var _SplayTreeMapEntryIterableOfK$V = () => (_SplayTreeMapEntryIterableOfK$V = dart.constFn(collection._SplayTreeMapEntryIterable$(K, V)))(); + var VoidToV = () => (VoidToV = dart.constFn(dart.fnType(V, [])))(); + var VToV = () => (VToV = dart.constFn(dart.fnType(V, [V])))(); + var VoidToNV = () => (VoidToNV = dart.constFn(dart.nullable(VoidToV())))(); + const _SplayTree_MapMixin$36 = class _SplayTree_MapMixin extends collection._SplayTree$(K, collection._SplayTreeMapNode$(K, V)) {}; + (_SplayTree_MapMixin$36.new = function() { + _SplayTree_MapMixin$36.__proto__.new.call(this); + }).prototype = _SplayTree_MapMixin$36.prototype; + dart.applyMixin(_SplayTree_MapMixin$36, collection.MapMixin$(K, V)); + class SplayTreeMap extends _SplayTree_MapMixin$36 { + get [_root]() { + return this[_root$]; + } + set [_root](value) { + this[_root$] = value; + } + get [_compare]() { + return this[_compare$]; + } + set [_compare](value) { + this[_compare$] = value; + } + get [_validKey$0]() { + return this[_validKey]; + } + set [_validKey$0](value) { + this[_validKey] = value; + } + static from(other, compare = null, isValidKey = null) { + if (other == null) dart.nullFailed(I[84], 330, 51, "other"); + if (core.Map$(K, V).is(other)) { + return collection.SplayTreeMap$(K, V).of(other, compare, isValidKey); + } + let result = new (collection.SplayTreeMap$(K, V)).new(compare, isValidKey); + other[$forEach](dart.fn((k, v) => { + result._set(K.as(k), V.as(v)); + }, T$.dynamicAnddynamicTovoid())); + return result; + } + static of(other, compare = null, isValidKey = null) { + let t172; + if (other == null) dart.nullFailed(I[84], 344, 37, "other"); + t172 = new (collection.SplayTreeMap$(K, V)).new(compare, isValidKey); + return (() => { + t172.addAll(other); + return t172; + })(); + } + static fromIterable(iterable, opts) { + if (iterable == null) dart.nullFailed(I[84], 360, 46, "iterable"); + let key = opts && 'key' in opts ? opts.key : null; + let value = opts && 'value' in opts ? opts.value : null; + let compare = opts && 'compare' in opts ? opts.compare : null; + let isValidKey = opts && 'isValidKey' in opts ? opts.isValidKey : null; + let map = new (collection.SplayTreeMap$(K, V)).new(compare, isValidKey); + collection.MapBase._fillMapWithMappedIterable(map, iterable, key, value); + return map; + } + static fromIterables(keys, values, compare = null, isValidKey = null) { + if (keys == null) dart.nullFailed(I[84], 379, 50, "keys"); + if (values == null) dart.nullFailed(I[84], 379, 68, "values"); + let map = new (collection.SplayTreeMap$(K, V)).new(compare, isValidKey); + collection.MapBase._fillMapWithIterables(map, keys, values); + return map; + } + _get(key) { + let t172; + if (!dart.test((t172 = key, this[_validKey$0](t172)))) return null; + if (this[_root] != null) { + let comp = this[_splay](K.as(key)); + if (comp === 0) { + return dart.nullCheck(this[_root]).value; + } + } + return null; + } + remove(key) { + let t172; + if (!dart.test((t172 = key, this[_validKey$0](t172)))) return null; + let mapRoot = this[_remove](K.as(key)); + if (mapRoot != null) return mapRoot.value; + return null; + } + _set(key, value$) { + let value = value$; + K.as(key); + V.as(value); + let comp = this[_splay](key); + if (comp === 0) { + this[_root] = dart.nullCheck(this[_root])[_replaceValue](value); + this[_splayCount] = dart.notNull(this[_splayCount]) + 1; + return value$; + } + this[_addNewRoot](new (_SplayTreeMapNodeOfK$V()).new(key, value), comp); + return value$; + } + putIfAbsent(key, ifAbsent) { + K.as(key); + VoidToV().as(ifAbsent); + if (ifAbsent == null) dart.nullFailed(I[84], 418, 26, "ifAbsent"); + let comp = this[_splay](key); + if (comp === 0) { + return dart.nullCheck(this[_root]).value; + } + let modificationCount = this[_modificationCount]; + let splayCount = this[_splayCount]; + let value = ifAbsent(); + if (modificationCount != this[_modificationCount]) { + dart.throw(new core.ConcurrentModificationError.new(this)); + } + if (splayCount != this[_splayCount]) { + comp = this[_splay](key); + if (!(comp !== 0)) dart.assertFailed(null, I[84], 432, 14, "comp != 0"); + } + this[_addNewRoot](new (_SplayTreeMapNodeOfK$V()).new(key, value), comp); + return value; + } + update(key, update, opts) { + K.as(key); + VToV().as(update); + if (update == null) dart.nullFailed(I[84], 438, 21, "update"); + let ifAbsent = opts && 'ifAbsent' in opts ? opts.ifAbsent : null; + VoidToNV().as(ifAbsent); + let comp = this[_splay](key); + if (comp === 0) { + let modificationCount = this[_modificationCount]; + let splayCount = this[_splayCount]; + let newValue = update(dart.nullCheck(this[_root]).value); + if (modificationCount != this[_modificationCount]) { + dart.throw(new core.ConcurrentModificationError.new(this)); + } + if (splayCount != this[_splayCount]) { + this[_splay](key); + } + this[_root] = dart.nullCheck(this[_root])[_replaceValue](newValue); + this[_splayCount] = dart.notNull(this[_splayCount]) + 1; + return newValue; + } + if (ifAbsent != null) { + let modificationCount = this[_modificationCount]; + let splayCount = this[_splayCount]; + let newValue = ifAbsent(); + if (modificationCount != this[_modificationCount]) { + dart.throw(new core.ConcurrentModificationError.new(this)); + } + if (splayCount != this[_splayCount]) { + comp = this[_splay](key); + } + this[_addNewRoot](new (_SplayTreeMapNodeOfK$V()).new(key, newValue), comp); + return newValue; + } + dart.throw(new core.ArgumentError.value(key, "key", "Key not in map.")); + } + updateAll(update) { + KAndVToV().as(update); + if (update == null) dart.nullFailed(I[84], 470, 20, "update"); + let root = this[_root]; + if (root == null) return; + let iterator = new (_SplayTreeMapEntryIteratorOfK$V()).new(this); + while (dart.test(iterator.moveNext())) { + let node = iterator.current; + let newValue = update(node.key, node.value); + iterator[_replaceValue](newValue); + } + } + addAll(other) { + MapOfK$V().as(other); + if (other == null) dart.nullFailed(I[84], 481, 25, "other"); + other[$forEach](dart.fn((key, value) => { + this._set(key, value); + }, KAndVTovoid())); + } + get isEmpty() { + return this[_root] == null; + } + get isNotEmpty() { + return !dart.test(this.isEmpty); + } + forEach(f) { + if (f == null) dart.nullFailed(I[84], 493, 21, "f"); + let nodes = new (_SplayTreeMapEntryIteratorOfK$V()).new(this); + while (dart.test(nodes.moveNext())) { + let node = nodes.current; + f(node.key, node.value); + } + } + get length() { + return this[_count$]; + } + clear() { + this[_clear$](); + } + containsKey(key) { + return this[_containsKey](key); + } + containsValue(value) { + let initialSplayCount = this[_splayCount]; + const visit = node => { + while (node != null) { + if (dart.equals(node.value, value)) return true; + if (initialSplayCount != this[_splayCount]) { + dart.throw(new core.ConcurrentModificationError.new(this)); + } + if (node[_right$] != null && dart.test(visit(node[_right$]))) { + return true; + } + node = node[_left$]; + } + return false; + }; + dart.fn(visit, _SplayTreeMapNodeNOfK$VTobool()); + return visit(this[_root]); + } + get keys() { + return new (_SplayTreeKeyIterableOfK$_SplayTreeMapNodeOfK$V()).new(this); + } + get values() { + return new (_SplayTreeValueIterableOfK$V()).new(this); + } + get entries() { + return new (_SplayTreeMapEntryIterableOfK$V()).new(this); + } + firstKey() { + if (this[_root] == null) return null; + return dart.nullCheck(this[_first]).key; + } + lastKey() { + if (this[_root] == null) return null; + return dart.nullCheck(this[_last$]).key; + } + lastKeyBefore(key) { + K.as(key); + if (key == null) dart.throw(new core.ArgumentError.new(key)); + if (this[_root] == null) return null; + let comp = this[_splay](key); + if (dart.notNull(comp) < 0) return dart.nullCheck(this[_root]).key; + let node = dart.nullCheck(this[_root])[_left$]; + if (node == null) return null; + let nodeRight = node[_right$]; + while (nodeRight != null) { + node = nodeRight; + nodeRight = node[_right$]; + } + return dart.nullCheck(node).key; + } + firstKeyAfter(key) { + K.as(key); + if (key == null) dart.throw(new core.ArgumentError.new(key)); + if (this[_root] == null) return null; + let comp = this[_splay](key); + if (dart.notNull(comp) > 0) return dart.nullCheck(this[_root]).key; + let node = dart.nullCheck(this[_root])[_right$]; + if (node == null) return null; + let nodeLeft = node[_left$]; + while (nodeLeft != null) { + node = nodeLeft; + nodeLeft = node[_left$]; + } + return dart.nullCheck(node).key; + } + } + (SplayTreeMap.new = function(compare = null, isValidKey = null) { + let t172, t172$; + this[_root$] = null; + this[_compare$] = (t172 = compare, t172 == null ? collection._defaultCompare(K) : t172); + this[_validKey] = (t172$ = isValidKey, t172$ == null ? dart.fn(a => K.is(a), T$0.dynamicTobool()) : t172$); + SplayTreeMap.__proto__.new.call(this); + ; + }).prototype = SplayTreeMap.prototype; + dart.addTypeTests(SplayTreeMap); + SplayTreeMap.prototype[_is_SplayTreeMap_default] = true; + dart.addTypeCaches(SplayTreeMap); + dart.setMethodSignature(SplayTreeMap, () => ({ + __proto__: dart.getMethods(SplayTreeMap.__proto__), + _get: dart.fnType(dart.nullable(V), [dart.nullable(core.Object)]), + [$_get]: dart.fnType(dart.nullable(V), [dart.nullable(core.Object)]), + remove: dart.fnType(dart.nullable(V), [dart.nullable(core.Object)]), + [$remove]: dart.fnType(dart.nullable(V), [dart.nullable(core.Object)]), + _set: dart.fnType(dart.void, [dart.nullable(core.Object), dart.nullable(core.Object)]), + [$_set]: dart.fnType(dart.void, [dart.nullable(core.Object), dart.nullable(core.Object)]), + clear: dart.fnType(dart.void, []), + [$clear]: dart.fnType(dart.void, []), + firstKey: dart.fnType(dart.nullable(K), []), + lastKey: dart.fnType(dart.nullable(K), []), + lastKeyBefore: dart.fnType(dart.nullable(K), [dart.nullable(core.Object)]), + firstKeyAfter: dart.fnType(dart.nullable(K), [dart.nullable(core.Object)]) + })); + dart.setGetterSignature(SplayTreeMap, () => ({ + __proto__: dart.getGetters(SplayTreeMap.__proto__), + keys: core.Iterable$(K), + [$keys]: core.Iterable$(K) + })); + dart.setLibraryUri(SplayTreeMap, I[24]); + dart.setFieldSignature(SplayTreeMap, () => ({ + __proto__: dart.getFields(SplayTreeMap.__proto__), + [_root]: dart.fieldType(dart.nullable(collection._SplayTreeMapNode$(K, V))), + [_compare]: dart.fieldType(dart.fnType(core.int, [K, K])), + [_validKey$0]: dart.fieldType(dart.fnType(core.bool, [dart.dynamic])) + })); + dart.defineExtensionMethods(SplayTreeMap, [ + '_get', + 'remove', + '_set', + 'putIfAbsent', + 'update', + 'updateAll', + 'addAll', + 'forEach', + 'clear', + 'containsKey', + 'containsValue' + ]); + dart.defineExtensionAccessors(SplayTreeMap, [ + 'isEmpty', + 'isNotEmpty', + 'length', + 'keys', + 'values', + 'entries' + ]); + return SplayTreeMap; + }); + collection.SplayTreeMap = collection.SplayTreeMap$(); + dart.addTypeTests(collection.SplayTreeMap, _is_SplayTreeMap_default); + var _path = dart.privateName(collection, "_path"); + var _tree$ = dart.privateName(collection, "_tree"); + var _getValue = dart.privateName(collection, "_getValue"); + var _rebuildPath = dart.privateName(collection, "_rebuildPath"); + var _findLeftMostDescendent = dart.privateName(collection, "_findLeftMostDescendent"); + const _is__SplayTreeIterator_default = Symbol('_is__SplayTreeIterator_default'); + collection._SplayTreeIterator$ = dart.generic((K, Node, T) => { + var JSArrayOfNode = () => (JSArrayOfNode = dart.constFn(_interceptors.JSArray$(Node)))(); + class _SplayTreeIterator extends core.Object { + get current() { + if (dart.test(this[_path][$isEmpty])) return T.as(null); + let node = this[_path][$last]; + return this[_getValue](node); + } + [_rebuildPath](key) { + this[_path][$clear](); + this[_tree$][_splay](key); + this[_path][$add](dart.nullCheck(this[_tree$][_root])); + this[_splayCount] = this[_tree$][_splayCount]; + } + [_findLeftMostDescendent](node) { + while (node != null) { + this[_path][$add](node); + node = node[_left$]; + } + } + moveNext() { + if (this[_modificationCount] != this[_tree$][_modificationCount]) { + if (this[_modificationCount] == null) { + this[_modificationCount] = this[_tree$][_modificationCount]; + let node = this[_tree$][_root]; + while (node != null) { + this[_path][$add](node); + node = node[_left$]; + } + return this[_path][$isNotEmpty]; + } + dart.throw(new core.ConcurrentModificationError.new(this[_tree$])); + } + if (dart.test(this[_path][$isEmpty])) return false; + if (this[_splayCount] != this[_tree$][_splayCount]) { + this[_rebuildPath](this[_path][$last].key); + } + let node = this[_path][$last]; + let next = node[_right$]; + if (next != null) { + while (next != null) { + this[_path][$add](next); + next = next[_left$]; + } + return true; + } + this[_path][$removeLast](); + while (dart.test(this[_path][$isNotEmpty]) && this[_path][$last][_right$] == node) { + node = this[_path][$removeLast](); + } + return this[_path][$isNotEmpty]; + } + } + (_SplayTreeIterator.new = function(tree) { + if (tree == null) dart.nullFailed(I[84], 615, 42, "tree"); + this[_path] = JSArrayOfNode().of([]); + this[_modificationCount] = null; + this[_tree$] = tree; + this[_splayCount] = tree[_splayCount]; + ; + }).prototype = _SplayTreeIterator.prototype; + dart.addTypeTests(_SplayTreeIterator); + _SplayTreeIterator.prototype[_is__SplayTreeIterator_default] = true; + dart.addTypeCaches(_SplayTreeIterator); + _SplayTreeIterator[dart.implements] = () => [core.Iterator$(T)]; + dart.setMethodSignature(_SplayTreeIterator, () => ({ + __proto__: dart.getMethods(_SplayTreeIterator.__proto__), + [_rebuildPath]: dart.fnType(dart.void, [K]), + [_findLeftMostDescendent]: dart.fnType(dart.void, [dart.nullable(Node)]), + moveNext: dart.fnType(core.bool, []) + })); + dart.setGetterSignature(_SplayTreeIterator, () => ({ + __proto__: dart.getGetters(_SplayTreeIterator.__proto__), + current: T + })); + dart.setLibraryUri(_SplayTreeIterator, I[24]); + dart.setFieldSignature(_SplayTreeIterator, () => ({ + __proto__: dart.getFields(_SplayTreeIterator.__proto__), + [_tree$]: dart.finalFieldType(collection._SplayTree$(K, Node)), + [_path]: dart.finalFieldType(core.List$(Node)), + [_modificationCount]: dart.fieldType(dart.nullable(core.int)), + [_splayCount]: dart.fieldType(core.int) + })); + return _SplayTreeIterator; + }); + collection._SplayTreeIterator = collection._SplayTreeIterator$(); + dart.addTypeTests(collection._SplayTreeIterator, _is__SplayTreeIterator_default); + var _copyNode = dart.privateName(collection, "_copyNode"); + const _is__SplayTreeKeyIterable_default = Symbol('_is__SplayTreeKeyIterable_default'); + collection._SplayTreeKeyIterable$ = dart.generic((K, Node) => { + var _SplayTreeKeyIteratorOfK$Node = () => (_SplayTreeKeyIteratorOfK$Node = dart.constFn(collection._SplayTreeKeyIterator$(K, Node)))(); + var SplayTreeSetOfK = () => (SplayTreeSetOfK = dart.constFn(collection.SplayTreeSet$(K)))(); + var KAndKToint = () => (KAndKToint = dart.constFn(dart.fnType(core.int, [K, K])))(); + class _SplayTreeKeyIterable extends _internal.EfficientLengthIterable$(K) { + get length() { + return this[_tree$][_count$]; + } + get isEmpty() { + return this[_tree$][_count$] === 0; + } + get iterator() { + return new (_SplayTreeKeyIteratorOfK$Node()).new(this[_tree$]); + } + contains(o) { + return this[_tree$][_containsKey](o); + } + toSet() { + let set = new (SplayTreeSetOfK()).new(KAndKToint().as(this[_tree$][_compare]), this[_tree$][_validKey$0]); + set[_count$] = this[_tree$][_count$]; + set[_root] = set[_copyNode](Node, this[_tree$][_root]); + return set; + } + } + (_SplayTreeKeyIterable.new = function(_tree) { + if (_tree == null) dart.nullFailed(I[84], 684, 30, "_tree"); + this[_tree$] = _tree; + _SplayTreeKeyIterable.__proto__.new.call(this); + ; + }).prototype = _SplayTreeKeyIterable.prototype; + dart.addTypeTests(_SplayTreeKeyIterable); + _SplayTreeKeyIterable.prototype[_is__SplayTreeKeyIterable_default] = true; + dart.addTypeCaches(_SplayTreeKeyIterable); + dart.setGetterSignature(_SplayTreeKeyIterable, () => ({ + __proto__: dart.getGetters(_SplayTreeKeyIterable.__proto__), + iterator: core.Iterator$(K), + [$iterator]: core.Iterator$(K) + })); + dart.setLibraryUri(_SplayTreeKeyIterable, I[24]); + dart.setFieldSignature(_SplayTreeKeyIterable, () => ({ + __proto__: dart.getFields(_SplayTreeKeyIterable.__proto__), + [_tree$]: dart.fieldType(collection._SplayTree$(K, Node)) + })); + dart.defineExtensionMethods(_SplayTreeKeyIterable, ['contains', 'toSet']); + dart.defineExtensionAccessors(_SplayTreeKeyIterable, ['length', 'isEmpty', 'iterator']); + return _SplayTreeKeyIterable; + }); + collection._SplayTreeKeyIterable = collection._SplayTreeKeyIterable$(); + dart.addTypeTests(collection._SplayTreeKeyIterable, _is__SplayTreeKeyIterable_default); + const _is__SplayTreeValueIterable_default = Symbol('_is__SplayTreeValueIterable_default'); + collection._SplayTreeValueIterable$ = dart.generic((K, V) => { + var _SplayTreeValueIteratorOfK$V = () => (_SplayTreeValueIteratorOfK$V = dart.constFn(collection._SplayTreeValueIterator$(K, V)))(); + class _SplayTreeValueIterable extends _internal.EfficientLengthIterable$(V) { + get length() { + return this[_map$5][_count$]; + } + get isEmpty() { + return this[_map$5][_count$] === 0; + } + get iterator() { + return new (_SplayTreeValueIteratorOfK$V()).new(this[_map$5]); + } + } + (_SplayTreeValueIterable.new = function(_map) { + if (_map == null) dart.nullFailed(I[84], 701, 32, "_map"); + this[_map$5] = _map; + _SplayTreeValueIterable.__proto__.new.call(this); + ; + }).prototype = _SplayTreeValueIterable.prototype; + dart.addTypeTests(_SplayTreeValueIterable); + _SplayTreeValueIterable.prototype[_is__SplayTreeValueIterable_default] = true; + dart.addTypeCaches(_SplayTreeValueIterable); + dart.setGetterSignature(_SplayTreeValueIterable, () => ({ + __proto__: dart.getGetters(_SplayTreeValueIterable.__proto__), + iterator: core.Iterator$(V), + [$iterator]: core.Iterator$(V) + })); + dart.setLibraryUri(_SplayTreeValueIterable, I[24]); + dart.setFieldSignature(_SplayTreeValueIterable, () => ({ + __proto__: dart.getFields(_SplayTreeValueIterable.__proto__), + [_map$5]: dart.fieldType(collection.SplayTreeMap$(K, V)) + })); + dart.defineExtensionAccessors(_SplayTreeValueIterable, ['length', 'isEmpty', 'iterator']); + return _SplayTreeValueIterable; + }); + collection._SplayTreeValueIterable = collection._SplayTreeValueIterable$(); + dart.addTypeTests(collection._SplayTreeValueIterable, _is__SplayTreeValueIterable_default); + var key$0 = dart.privateName(core, "MapEntry.key"); + var value$2 = dart.privateName(core, "MapEntry.value"); + const _is_MapEntry_default = Symbol('_is_MapEntry_default'); + core.MapEntry$ = dart.generic((K, V) => { + class MapEntry extends core.Object { + get key() { + return this[key$0]; + } + set key(value) { + super.key = value; + } + get value() { + return this[value$2]; + } + set value(value) { + super.value = value; + } + toString() { + return "MapEntry(" + dart.str(this.key) + ": " + dart.str(this.value) + ")"; + } + } + (MapEntry.__ = function(key, value) { + this[key$0] = key; + this[value$2] = value; + ; + }).prototype = MapEntry.prototype; + dart.addTypeTests(MapEntry); + MapEntry.prototype[_is_MapEntry_default] = true; + dart.addTypeCaches(MapEntry); + dart.setLibraryUri(MapEntry, I[8]); + dart.setFieldSignature(MapEntry, () => ({ + __proto__: dart.getFields(MapEntry.__proto__), + key: dart.finalFieldType(K), + value: dart.finalFieldType(V) + })); + dart.defineExtensionMethods(MapEntry, ['toString']); + return MapEntry; + }); + core.MapEntry = core.MapEntry$(); + dart.addTypeTests(core.MapEntry, _is_MapEntry_default); + const _is__SplayTreeMapEntryIterable_default = Symbol('_is__SplayTreeMapEntryIterable_default'); + collection._SplayTreeMapEntryIterable$ = dart.generic((K, V) => { + var _SplayTreeMapEntryIteratorOfK$V = () => (_SplayTreeMapEntryIteratorOfK$V = dart.constFn(collection._SplayTreeMapEntryIterator$(K, V)))(); + class _SplayTreeMapEntryIterable extends _internal.EfficientLengthIterable$(core.MapEntry$(K, V)) { + get length() { + return this[_map$5][_count$]; + } + get isEmpty() { + return this[_map$5][_count$] === 0; + } + get iterator() { + return new (_SplayTreeMapEntryIteratorOfK$V()).new(this[_map$5]); + } + } + (_SplayTreeMapEntryIterable.new = function(_map) { + if (_map == null) dart.nullFailed(I[84], 710, 35, "_map"); + this[_map$5] = _map; + _SplayTreeMapEntryIterable.__proto__.new.call(this); + ; + }).prototype = _SplayTreeMapEntryIterable.prototype; + dart.addTypeTests(_SplayTreeMapEntryIterable); + _SplayTreeMapEntryIterable.prototype[_is__SplayTreeMapEntryIterable_default] = true; + dart.addTypeCaches(_SplayTreeMapEntryIterable); + dart.setGetterSignature(_SplayTreeMapEntryIterable, () => ({ + __proto__: dart.getGetters(_SplayTreeMapEntryIterable.__proto__), + iterator: core.Iterator$(core.MapEntry$(K, V)), + [$iterator]: core.Iterator$(core.MapEntry$(K, V)) + })); + dart.setLibraryUri(_SplayTreeMapEntryIterable, I[24]); + dart.setFieldSignature(_SplayTreeMapEntryIterable, () => ({ + __proto__: dart.getFields(_SplayTreeMapEntryIterable.__proto__), + [_map$5]: dart.fieldType(collection.SplayTreeMap$(K, V)) + })); + dart.defineExtensionAccessors(_SplayTreeMapEntryIterable, ['length', 'isEmpty', 'iterator']); + return _SplayTreeMapEntryIterable; + }); + collection._SplayTreeMapEntryIterable = collection._SplayTreeMapEntryIterable$(); + dart.addTypeTests(collection._SplayTreeMapEntryIterable, _is__SplayTreeMapEntryIterable_default); + const _is__SplayTreeKeyIterator_default = Symbol('_is__SplayTreeKeyIterator_default'); + collection._SplayTreeKeyIterator$ = dart.generic((K, Node) => { + class _SplayTreeKeyIterator extends collection._SplayTreeIterator$(K, Node, K) { + [_getValue](node) { + if (node == null) dart.nullFailed(I[84], 720, 20, "node"); + return node.key; + } + } + (_SplayTreeKeyIterator.new = function(map) { + if (map == null) dart.nullFailed(I[84], 719, 45, "map"); + _SplayTreeKeyIterator.__proto__.new.call(this, map); + ; + }).prototype = _SplayTreeKeyIterator.prototype; + dart.addTypeTests(_SplayTreeKeyIterator); + _SplayTreeKeyIterator.prototype[_is__SplayTreeKeyIterator_default] = true; + dart.addTypeCaches(_SplayTreeKeyIterator); + dart.setMethodSignature(_SplayTreeKeyIterator, () => ({ + __proto__: dart.getMethods(_SplayTreeKeyIterator.__proto__), + [_getValue]: dart.fnType(K, [Node]) + })); + dart.setLibraryUri(_SplayTreeKeyIterator, I[24]); + return _SplayTreeKeyIterator; + }); + collection._SplayTreeKeyIterator = collection._SplayTreeKeyIterator$(); + dart.addTypeTests(collection._SplayTreeKeyIterator, _is__SplayTreeKeyIterator_default); + const _is__SplayTreeValueIterator_default = Symbol('_is__SplayTreeValueIterator_default'); + collection._SplayTreeValueIterator$ = dart.generic((K, V) => { + class _SplayTreeValueIterator extends collection._SplayTreeIterator$(K, collection._SplayTreeMapNode$(K, V), V) { + [_getValue](node) { + if (node == null) dart.nullFailed(I[84], 726, 39, "node"); + return node.value; + } + } + (_SplayTreeValueIterator.new = function(map) { + if (map == null) dart.nullFailed(I[84], 725, 46, "map"); + _SplayTreeValueIterator.__proto__.new.call(this, map); + ; + }).prototype = _SplayTreeValueIterator.prototype; + dart.addTypeTests(_SplayTreeValueIterator); + _SplayTreeValueIterator.prototype[_is__SplayTreeValueIterator_default] = true; + dart.addTypeCaches(_SplayTreeValueIterator); + dart.setMethodSignature(_SplayTreeValueIterator, () => ({ + __proto__: dart.getMethods(_SplayTreeValueIterator.__proto__), + [_getValue]: dart.fnType(V, [collection._SplayTreeMapNode$(K, V)]) + })); + dart.setLibraryUri(_SplayTreeValueIterator, I[24]); + return _SplayTreeValueIterator; + }); + collection._SplayTreeValueIterator = collection._SplayTreeValueIterator$(); + dart.addTypeTests(collection._SplayTreeValueIterator, _is__SplayTreeValueIterator_default); + const _is__SplayTreeMapEntryIterator_default = Symbol('_is__SplayTreeMapEntryIterator_default'); + collection._SplayTreeMapEntryIterator$ = dart.generic((K, V) => { + class _SplayTreeMapEntryIterator extends collection._SplayTreeIterator$(K, collection._SplayTreeMapNode$(K, V), core.MapEntry$(K, V)) { + [_getValue](node) { + if (node == null) dart.nullFailed(I[84], 732, 52, "node"); + return node; + } + [_replaceValue](value) { + let t172; + V.as(value); + if (!dart.test(this[_path][$isNotEmpty])) dart.assertFailed(null, I[84], 736, 12, "_path.isNotEmpty"); + if (this[_modificationCount] != this[_tree$][_modificationCount]) { + dart.throw(new core.ConcurrentModificationError.new(this[_tree$])); + } + if (this[_splayCount] != this[_tree$][_splayCount]) { + this[_rebuildPath](this[_path][$last].key); + } + let last = this[_path][$removeLast](); + let newLast = last[_replaceValue](value); + if (dart.test(this[_path][$isEmpty])) { + this[_tree$][_root] = newLast; + } else { + let parent = this[_path][$last]; + if (last == parent[_left$]) { + parent[_left$] = newLast; + } else { + if (!(last == parent[_right$])) dart.assertFailed(null, I[84], 752, 16, "identical(last, parent._right)"); + parent[_right$] = newLast; + } + } + this[_path][$add](newLast); + this[_splayCount] = (t172 = this[_tree$], t172[_splayCount] = dart.notNull(t172[_splayCount]) + 1); + } + } + (_SplayTreeMapEntryIterator.new = function(tree) { + if (tree == null) dart.nullFailed(I[84], 731, 49, "tree"); + _SplayTreeMapEntryIterator.__proto__.new.call(this, tree); + ; + }).prototype = _SplayTreeMapEntryIterator.prototype; + dart.addTypeTests(_SplayTreeMapEntryIterator); + _SplayTreeMapEntryIterator.prototype[_is__SplayTreeMapEntryIterator_default] = true; + dart.addTypeCaches(_SplayTreeMapEntryIterator); + dart.setMethodSignature(_SplayTreeMapEntryIterator, () => ({ + __proto__: dart.getMethods(_SplayTreeMapEntryIterator.__proto__), + [_getValue]: dart.fnType(core.MapEntry$(K, V), [collection._SplayTreeMapNode$(K, V)]), + [_replaceValue]: dart.fnType(dart.void, [dart.nullable(core.Object)]) + })); + dart.setLibraryUri(_SplayTreeMapEntryIterator, I[24]); + return _SplayTreeMapEntryIterator; + }); + collection._SplayTreeMapEntryIterator = collection._SplayTreeMapEntryIterator$(); + dart.addTypeTests(collection._SplayTreeMapEntryIterator, _is__SplayTreeMapEntryIterator_default); + var _root$0 = dart.privateName(collection, "SplayTreeSet._root"); + var _compare$0 = dart.privateName(collection, "SplayTreeSet._compare"); + var _validKey$1 = dart.privateName(collection, "SplayTreeSet._validKey"); + var _clone$ = dart.privateName(collection, "_clone"); + const _is_SplayTreeSet_default = Symbol('_is_SplayTreeSet_default'); + collection.SplayTreeSet$ = dart.generic(E => { + var _SplayTreeSetNodeOfE = () => (_SplayTreeSetNodeOfE = dart.constFn(collection._SplayTreeSetNode$(E)))(); + var _SplayTreeSetNodeNOfE = () => (_SplayTreeSetNodeNOfE = dart.constFn(dart.nullable(_SplayTreeSetNodeOfE())))(); + var _SplayTreeKeyIteratorOfE$_SplayTreeSetNodeOfE = () => (_SplayTreeKeyIteratorOfE$_SplayTreeSetNodeOfE = dart.constFn(collection._SplayTreeKeyIterator$(E, _SplayTreeSetNodeOfE())))(); + var IterableOfE = () => (IterableOfE = dart.constFn(core.Iterable$(E)))(); + var SplayTreeSetOfE = () => (SplayTreeSetOfE = dart.constFn(collection.SplayTreeSet$(E)))(); + var SetOfE = () => (SetOfE = dart.constFn(core.Set$(E)))(); + const _SplayTree_IterableMixin$36 = class _SplayTree_IterableMixin extends collection._SplayTree$(E, collection._SplayTreeSetNode$(E)) {}; + (_SplayTree_IterableMixin$36.new = function() { + _SplayTree_IterableMixin$36.__proto__.new.call(this); + }).prototype = _SplayTree_IterableMixin$36.prototype; + dart.applyMixin(_SplayTree_IterableMixin$36, collection.IterableMixin$(E)); + const _SplayTree_SetMixin$36 = class _SplayTree_SetMixin extends _SplayTree_IterableMixin$36 {}; + (_SplayTree_SetMixin$36.new = function() { + _SplayTree_SetMixin$36.__proto__.new.call(this); + }).prototype = _SplayTree_SetMixin$36.prototype; + dart.applyMixin(_SplayTree_SetMixin$36, collection.SetMixin$(E)); + class SplayTreeSet extends _SplayTree_SetMixin$36 { + get [_root]() { + return this[_root$0]; + } + set [_root](value) { + this[_root$0] = _SplayTreeSetNodeNOfE().as(value); + } + get [_compare]() { + return this[_compare$0]; + } + set [_compare](value) { + this[_compare$0] = value; + } + get [_validKey$0]() { + return this[_validKey$1]; + } + set [_validKey$0](value) { + this[_validKey$1] = value; + } + static from(elements, compare = null, isValidKey = null) { + if (elements == null) dart.nullFailed(I[84], 823, 38, "elements"); + if (core.Iterable$(E).is(elements)) { + return collection.SplayTreeSet$(E).of(elements, compare, isValidKey); + } + let result = new (collection.SplayTreeSet$(E)).new(compare, isValidKey); + for (let element of elements) { + result.add(E.as(element)); + } + return result; + } + static of(elements, compare = null, isValidKey = null) { + let t172; + if (elements == null) dart.nullFailed(I[84], 841, 39, "elements"); + t172 = new (collection.SplayTreeSet$(E)).new(compare, isValidKey); + return (() => { + t172.addAll(elements); + return t172; + })(); + } + [_newSet](T) { + return new (collection.SplayTreeSet$(T)).new(dart.fn((a, b) => { + let t173, t172; + t172 = E.as(a); + t173 = E.as(b); + return this[_compare](t172, t173); + }, dart.fnType(core.int, [T, T])), this[_validKey$0]); + } + cast(R) { + return core.Set.castFrom(E, R, this, {newSet: dart.bind(this, _newSet)}); + } + get iterator() { + return new (_SplayTreeKeyIteratorOfE$_SplayTreeSetNodeOfE()).new(this); + } + get length() { + return this[_count$]; + } + get isEmpty() { + return this[_root] == null; + } + get isNotEmpty() { + return this[_root] != null; + } + get first() { + if (this[_count$] === 0) dart.throw(_internal.IterableElementError.noElement()); + return dart.nullCheck(this[_first]).key; + } + get last() { + if (this[_count$] === 0) dart.throw(_internal.IterableElementError.noElement()); + return dart.nullCheck(this[_last$]).key; + } + get single() { + if (this[_count$] === 0) dart.throw(_internal.IterableElementError.noElement()); + if (dart.notNull(this[_count$]) > 1) dart.throw(_internal.IterableElementError.tooMany()); + return dart.nullCheck(this[_root]).key; + } + contains(element) { + let t172; + return dart.test((t172 = element, this[_validKey$0](t172))) && this[_splay](E.as(element)) === 0; + } + add(element) { + E.as(element); + return this[_add$](element); + } + [_add$](element) { + let compare = this[_splay](element); + if (compare === 0) return false; + this[_addNewRoot](new (_SplayTreeSetNodeOfE()).new(element), compare); + return true; + } + remove(object) { + let t172; + if (!dart.test((t172 = object, this[_validKey$0](t172)))) return false; + return this[_remove](E.as(object)) != null; + } + addAll(elements) { + IterableOfE().as(elements); + if (elements == null) dart.nullFailed(I[84], 895, 27, "elements"); + for (let element of elements) { + this[_add$](element); + } + } + removeAll(elements) { + let t172; + if (elements == null) dart.nullFailed(I[84], 901, 36, "elements"); + for (let element of elements) { + if (dart.test((t172 = element, this[_validKey$0](t172)))) this[_remove](E.as(element)); + } + } + retainAll(elements) { + let t172; + if (elements == null) dart.nullFailed(I[84], 907, 36, "elements"); + let retainSet = new (SplayTreeSetOfE()).new(this[_compare], this[_validKey$0]); + let modificationCount = this[_modificationCount]; + for (let object of elements) { + if (modificationCount != this[_modificationCount]) { + dart.throw(new core.ConcurrentModificationError.new(this)); + } + if (dart.test((t172 = object, this[_validKey$0](t172))) && this[_splay](E.as(object)) === 0) { + retainSet.add(dart.nullCheck(this[_root]).key); + } + } + if (retainSet[_count$] != this[_count$]) { + this[_root] = retainSet[_root]; + this[_count$] = retainSet[_count$]; + this[_modificationCount] = dart.notNull(this[_modificationCount]) + 1; + } + } + lookup(object) { + let t172; + if (!dart.test((t172 = object, this[_validKey$0](t172)))) return null; + let comp = this[_splay](E.as(object)); + if (comp !== 0) return null; + return dart.nullCheck(this[_root]).key; + } + intersection(other) { + if (other == null) dart.nullFailed(I[84], 936, 36, "other"); + let result = new (SplayTreeSetOfE()).new(this[_compare], this[_validKey$0]); + for (let element of this) { + if (dart.test(other.contains(element))) result.add(element); + } + return result; + } + difference(other) { + if (other == null) dart.nullFailed(I[84], 944, 34, "other"); + let result = new (SplayTreeSetOfE()).new(this[_compare], this[_validKey$0]); + for (let element of this) { + if (!dart.test(other.contains(element))) result.add(element); + } + return result; + } + union(other) { + let t172; + SetOfE().as(other); + if (other == null) dart.nullFailed(I[84], 952, 23, "other"); + t172 = this[_clone$](); + return (() => { + t172.addAll(other); + return t172; + })(); + } + [_clone$]() { + let set = new (SplayTreeSetOfE()).new(this[_compare], this[_validKey$0]); + set[_count$] = this[_count$]; + set[_root] = this[_copyNode](_SplayTreeSetNodeOfE(), this[_root]); + return set; + } + [_copyNode](Node, node) { + dart.checkTypeBound(Node, collection._SplayTreeNode$(E, Node), 'Node'); + if (node == null) return null; + function copyChildren(node, dest) { + if (node == null) dart.nullFailed(I[84], 972, 28, "node"); + if (dest == null) dart.nullFailed(I[84], 972, 55, "dest"); + let left = null; + let right = null; + do { + left = node[_left$]; + right = node[_right$]; + if (left != null) { + let newLeft = new (_SplayTreeSetNodeOfE()).new(left.key); + dest[_left$] = newLeft; + copyChildren(left, newLeft); + } + if (right != null) { + let newRight = new (_SplayTreeSetNodeOfE()).new(right.key); + dest[_right$] = newRight; + node = right; + dest = newRight; + } + } while (right != null); + } + dart.fn(copyChildren, dart.fnType(dart.void, [Node, _SplayTreeSetNodeOfE()])); + let result = new (_SplayTreeSetNodeOfE()).new(node.key); + copyChildren(node, result); + return result; + } + clear() { + this[_clear$](); + } + toSet() { + return this[_clone$](); + } + toString() { + return collection.IterableBase.iterableToFullString(this, "{", "}"); + } + } + (SplayTreeSet.new = function(compare = null, isValidKey = null) { + let t172, t172$; + this[_root$0] = null; + this[_compare$0] = (t172 = compare, t172 == null ? collection._defaultCompare(E) : t172); + this[_validKey$1] = (t172$ = isValidKey, t172$ == null ? dart.fn(v => E.is(v), T$0.dynamicTobool()) : t172$); + SplayTreeSet.__proto__.new.call(this); + ; + }).prototype = SplayTreeSet.prototype; + dart.addTypeTests(SplayTreeSet); + SplayTreeSet.prototype[_is_SplayTreeSet_default] = true; + dart.addTypeCaches(SplayTreeSet); + dart.setMethodSignature(SplayTreeSet, () => ({ + __proto__: dart.getMethods(SplayTreeSet.__proto__), + [_newSet]: dart.gFnType(T => [core.Set$(T), []], T => [dart.nullable(core.Object)]), + cast: dart.gFnType(R => [core.Set$(R), []], R => [dart.nullable(core.Object)]), + [$cast]: dart.gFnType(R => [core.Set$(R), []], R => [dart.nullable(core.Object)]), + add: dart.fnType(core.bool, [dart.nullable(core.Object)]), + [_add$]: dart.fnType(core.bool, [E]), + remove: dart.fnType(core.bool, [dart.nullable(core.Object)]), + lookup: dart.fnType(dart.nullable(E), [dart.nullable(core.Object)]), + [_clone$]: dart.fnType(collection.SplayTreeSet$(E), []), + [_copyNode]: dart.gFnType(Node => [dart.nullable(collection._SplayTreeSetNode$(E)), [dart.nullable(Node)]], Node => [collection._SplayTreeNode$(E, Node)]) + })); + dart.setGetterSignature(SplayTreeSet, () => ({ + __proto__: dart.getGetters(SplayTreeSet.__proto__), + iterator: core.Iterator$(E), + [$iterator]: core.Iterator$(E) + })); + dart.setLibraryUri(SplayTreeSet, I[24]); + dart.setFieldSignature(SplayTreeSet, () => ({ + __proto__: dart.getFields(SplayTreeSet.__proto__), + [_root]: dart.fieldType(dart.nullable(collection._SplayTreeSetNode$(E))), + [_compare]: dart.fieldType(dart.fnType(core.int, [E, E])), + [_validKey$0]: dart.fieldType(dart.fnType(core.bool, [dart.dynamic])) + })); + dart.defineExtensionMethods(SplayTreeSet, ['cast', 'contains', 'toSet', 'toString']); + dart.defineExtensionAccessors(SplayTreeSet, [ + 'iterator', + 'length', + 'isEmpty', + 'isNotEmpty', + 'first', + 'last', + 'single' + ]); + return SplayTreeSet; + }); + collection.SplayTreeSet = collection.SplayTreeSet$(); + dart.addTypeTests(collection.SplayTreeSet, _is_SplayTreeSet_default); + collection._defaultEquals = function _defaultEquals(a, b) { + return dart.equals(a, b); + }; + collection._defaultHashCode = function _defaultHashCode(a) { + return dart.hashCode(a); + }; + collection._isToStringVisiting = function _isToStringVisiting(o) { + if (o == null) dart.nullFailed(I[39], 281, 33, "o"); + for (let i = 0; i < dart.notNull(collection._toStringVisiting[$length]); i = i + 1) { + if (core.identical(o, collection._toStringVisiting[$_get](i))) return true; + } + return false; + }; + collection._iterablePartsToStrings = function _iterablePartsToStrings(iterable, parts) { + if (iterable == null) dart.nullFailed(I[39], 289, 48, "iterable"); + if (parts == null) dart.nullFailed(I[39], 289, 71, "parts"); + let length = 0; + let count = 0; + let it = iterable[$iterator]; + while (length < 80 || count < 3) { + if (!dart.test(it.moveNext())) return; + let next = dart.str(it.current); + parts[$add](next); + length = length + (next.length + 2); + count = count + 1; + } + let penultimateString = null; + let ultimateString = null; + if (!dart.test(it.moveNext())) { + if (count <= 3 + 2) return; + ultimateString = parts[$removeLast](); + penultimateString = parts[$removeLast](); + } else { + let penultimate = it.current; + count = count + 1; + if (!dart.test(it.moveNext())) { + if (count <= 3 + 1) { + parts[$add](dart.str(penultimate)); + return; + } + ultimateString = dart.str(penultimate); + penultimateString = parts[$removeLast](); + length = length + (ultimateString.length + 2); + } else { + let ultimate = it.current; + count = count + 1; + if (!(count < 100)) dart.assertFailed(null, I[39], 349, 14, "count < maxCount"); + while (dart.test(it.moveNext())) { + penultimate = ultimate; + ultimate = it.current; + count = count + 1; + if (count > 100) { + while (length > 80 - 3 - 2 && count > 3) { + length = length - (parts[$removeLast]().length + 2); + count = count - 1; + } + parts[$add]("..."); + return; + } + } + penultimateString = dart.str(penultimate); + ultimateString = dart.str(ultimate); + length = length + (ultimateString.length + penultimateString.length + 2 * 2); + } + } + let elision = null; + if (count > dart.notNull(parts[$length]) + 2) { + elision = "..."; + length = length + (3 + 2); + } + while (length > 80 && dart.notNull(parts[$length]) > 3) { + length = length - (parts[$removeLast]().length + 2); + if (elision == null) { + elision = "..."; + length = length + (3 + 2); + } + } + if (elision != null) { + parts[$add](elision); + } + parts[$add](penultimateString); + parts[$add](ultimateString); + }; + collection._dynamicCompare = function _dynamicCompare(a, b) { + return core.Comparable.compare(core.Comparable.as(a), core.Comparable.as(b)); + }; + collection._defaultCompare = function _defaultCompare(K) { + let compare = C[78] || CT.C78; + if (dart.fnType(core.int, [K, K]).is(compare)) { + return compare; + } + return C[79] || CT.C79; + }; + dart.defineLazy(collection, { + /*collection._toStringVisiting*/get _toStringVisiting() { + return T$.JSArrayOfObject().of([]); + } + }, false); + var _processed = dart.privateName(convert, "_processed"); + var _data = dart.privateName(convert, "_data"); + var _original$ = dart.privateName(convert, "_original"); + var _isUpgraded = dart.privateName(convert, "_isUpgraded"); + var _upgradedMap = dart.privateName(convert, "_upgradedMap"); + var _process = dart.privateName(convert, "_process"); + var _computeKeys = dart.privateName(convert, "_computeKeys"); + var _upgrade = dart.privateName(convert, "_upgrade"); + core.String = class String extends core.Object { + static _stringFromJSArray(list, start, endOrNull) { + if (start == null) dart.nullFailed(I[7], 598, 11, "start"); + let len = core.int.as(dart.dload(list, 'length')); + let end = core.RangeError.checkValidRange(start, endOrNull, len); + if (dart.notNull(start) > 0 || dart.notNull(end) < dart.notNull(len)) { + list = dart.dsend(list, 'sublist', [start, end]); + } + return _js_helper.Primitives.stringFromCharCodes(T$.JSArrayOfint().as(list)); + } + static _stringFromUint8List(charCodes, start, endOrNull) { + if (charCodes == null) dart.nullFailed(I[7], 609, 23, "charCodes"); + if (start == null) dart.nullFailed(I[7], 609, 38, "start"); + let len = charCodes[$length]; + let end = core.RangeError.checkValidRange(start, endOrNull, len); + return _js_helper.Primitives.stringFromNativeUint8List(charCodes, start, end); + } + static _stringFromIterable(charCodes, start, end) { + if (charCodes == null) dart.nullFailed(I[7], 616, 21, "charCodes"); + if (start == null) dart.nullFailed(I[7], 616, 36, "start"); + if (dart.notNull(start) < 0) dart.throw(new core.RangeError.range(start, 0, charCodes[$length])); + if (end != null && dart.notNull(end) < dart.notNull(start)) { + dart.throw(new core.RangeError.range(end, start, charCodes[$length])); + } + let it = charCodes[$iterator]; + for (let i = 0; i < dart.notNull(start); i = i + 1) { + if (!dart.test(it.moveNext())) { + dart.throw(new core.RangeError.range(start, 0, i)); + } + } + let list = T$.JSArrayOfint().of(new Array()); + if (end == null) { + while (dart.test(it.moveNext())) + list[$add](it.current); + } else { + for (let i = start; dart.notNull(i) < dart.notNull(end); i = dart.notNull(i) + 1) { + if (!dart.test(it.moveNext())) { + dart.throw(new core.RangeError.range(end, start, i)); + } + list[$add](it.current); + } + } + return _js_helper.Primitives.stringFromCharCodes(list); + } + static is(o) { + return typeof o == "string"; + } + static as(o) { + if (typeof o == "string") return o; + return dart.as(o, core.String); + } + static fromCharCodes(charCodes, start = 0, end = null) { + if (charCodes == null) dart.nullFailed(I[7], 573, 46, "charCodes"); + if (start == null) dart.nullFailed(I[7], 574, 12, "start"); + if (_interceptors.JSArray.is(charCodes)) { + return core.String._stringFromJSArray(charCodes, start, end); + } + if (_native_typed_data.NativeUint8List.is(charCodes)) { + return core.String._stringFromUint8List(charCodes, start, end); + } + return core.String._stringFromIterable(charCodes, start, end); + } + static fromCharCode(charCode) { + if (charCode == null) dart.nullFailed(I[7], 585, 35, "charCode"); + return _js_helper.Primitives.stringFromCharCode(charCode); + } + static fromEnvironment(name, opts) { + if (name == null) dart.nullFailed(I[7], 590, 41, "name"); + let defaultValue = opts && 'defaultValue' in opts ? opts.defaultValue : ""; + if (defaultValue == null) dart.nullFailed(I[7], 590, 55, "defaultValue"); + dart.throw(new core.UnsupportedError.new("String.fromEnvironment can only be used as a const constructor")); + } + }; + (core.String[dart.mixinNew] = function() { + }).prototype = core.String.prototype; + dart.addTypeCaches(core.String); + core.String[dart.implements] = () => [core.Comparable$(core.String), core.Pattern]; + dart.setLibraryUri(core.String, I[8]); + convert._JsonMap = class _JsonMap extends collection.MapBase$(core.String, dart.dynamic) { + _get(key) { + if (dart.test(this[_isUpgraded])) { + return this[_upgradedMap][$_get](key); + } else if (!(typeof key == 'string')) { + return null; + } else { + let result = convert._JsonMap._getProperty(this[_processed], key); + if (dart.test(convert._JsonMap._isUnprocessed(result))) result = this[_process](key); + return result; + } + } + get length() { + return dart.test(this[_isUpgraded]) ? this[_upgradedMap][$length] : this[_computeKeys]()[$length]; + } + get isEmpty() { + return this.length === 0; + } + get isNotEmpty() { + return dart.notNull(this.length) > 0; + } + get keys() { + if (dart.test(this[_isUpgraded])) return this[_upgradedMap][$keys]; + return new convert._JsonMapKeyIterable.new(this); + } + get values() { + if (dart.test(this[_isUpgraded])) return this[_upgradedMap][$values]; + return T$0.MappedIterableOfString$dynamic().new(this[_computeKeys](), dart.fn(each => this._get(each), T$0.ObjectNTodynamic())); + } + _set(key, value$) { + let value = value$; + core.String.as(key); + if (key == null) dart.nullFailed(I[85], 170, 16, "key"); + if (dart.test(this[_isUpgraded])) { + this[_upgradedMap][$_set](key, value); + } else if (dart.test(this.containsKey(key))) { + let processed = this[_processed]; + convert._JsonMap._setProperty(processed, key, value); + let original = this[_original$]; + if (!core.identical(original, processed)) { + convert._JsonMap._setProperty(original, key, null); + } + } else { + this[_upgrade]()[$_set](key, value); + } + return value$; + } + addAll(other) { + T$0.MapOfString$dynamic().as(other); + if (other == null) dart.nullFailed(I[85], 185, 36, "other"); + other[$forEach](dart.fn((key, value) => { + if (key == null) dart.nullFailed(I[85], 186, 20, "key"); + this._set(key, value); + }, T$0.StringAnddynamicTovoid())); + } + containsValue(value) { + if (dart.test(this[_isUpgraded])) return this[_upgradedMap][$containsValue](value); + let keys = this[_computeKeys](); + for (let i = 0; i < dart.notNull(keys[$length]); i = i + 1) { + let key = keys[$_get](i); + if (dart.equals(this._get(key), value)) return true; + } + return false; + } + containsKey(key) { + if (dart.test(this[_isUpgraded])) return this[_upgradedMap][$containsKey](key); + if (!(typeof key == 'string')) return false; + return convert._JsonMap._hasProperty(this[_original$], key); + } + putIfAbsent(key, ifAbsent) { + core.String.as(key); + if (key == null) dart.nullFailed(I[85], 207, 15, "key"); + T$.VoidTodynamic().as(ifAbsent); + if (ifAbsent == null) dart.nullFailed(I[85], 207, 20, "ifAbsent"); + if (dart.test(this.containsKey(key))) return this._get(key); + let value = ifAbsent(); + this._set(key, value); + return value; + } + remove(key) { + if (!dart.test(this[_isUpgraded]) && !dart.test(this.containsKey(key))) return null; + return this[_upgrade]()[$remove](key); + } + clear() { + if (dart.test(this[_isUpgraded])) { + this[_upgradedMap][$clear](); + } else { + if (this[_data] != null) { + dart.dsend(this[_data], 'clear', []); + } + this[_original$] = this[_processed] = null; + this[_data] = new _js_helper.LinkedMap.new(); + } + } + forEach(f) { + if (f == null) dart.nullFailed(I[85], 234, 21, "f"); + if (dart.test(this[_isUpgraded])) return this[_upgradedMap][$forEach](f); + let keys = this[_computeKeys](); + for (let i = 0; i < dart.notNull(keys[$length]); i = i + 1) { + let key = keys[$_get](i); + let value = convert._JsonMap._getProperty(this[_processed], key); + if (dart.test(convert._JsonMap._isUnprocessed(value))) { + value = convert._convertJsonToDartLazy(convert._JsonMap._getProperty(this[_original$], key)); + convert._JsonMap._setProperty(this[_processed], key, value); + } + f(key, value); + if (!core.identical(keys, this[_data])) { + dart.throw(new core.ConcurrentModificationError.new(this)); + } + } + } + get [_isUpgraded]() { + return this[_processed] == null; + } + get [_upgradedMap]() { + if (!dart.test(this[_isUpgraded])) dart.assertFailed(null, I[85], 266, 12, "_isUpgraded"); + return this[_data]; + } + [_computeKeys]() { + if (!!dart.test(this[_isUpgraded])) dart.assertFailed(null, I[85], 274, 12, "!_isUpgraded"); + let keys = T$.ListN().as(this[_data]); + if (keys == null) { + keys = this[_data] = convert._JsonMap._getPropertyNames(this[_original$]); + } + return keys; + } + [_upgrade]() { + if (dart.test(this[_isUpgraded])) return this[_upgradedMap]; + let result = new (T$0.IdentityMapOfString$dynamic()).new(); + let keys = this[_computeKeys](); + for (let i = 0; i < dart.notNull(keys[$length]); i = i + 1) { + let key = keys[$_get](i); + result[$_set](key, this._get(key)); + } + if (dart.test(keys[$isEmpty])) { + keys[$add](""); + } else { + keys[$clear](); + } + this[_original$] = this[_processed] = null; + this[_data] = result; + if (!dart.test(this[_isUpgraded])) dart.assertFailed(null, I[85], 307, 12, "_isUpgraded"); + return result; + } + [_process](key) { + if (key == null) dart.nullFailed(I[85], 311, 19, "key"); + if (!dart.test(convert._JsonMap._hasProperty(this[_original$], key))) return null; + let result = convert._convertJsonToDartLazy(convert._JsonMap._getProperty(this[_original$], key)); + return convert._JsonMap._setProperty(this[_processed], key, result); + } + static _hasProperty(object, key) { + if (key == null) dart.nullFailed(I[85], 321, 43, "key"); + return Object.prototype.hasOwnProperty.call(object, key); + } + static _getProperty(object, key) { + if (key == null) dart.nullFailed(I[85], 323, 38, "key"); + return object[key]; + } + static _setProperty(object, key, value) { + if (key == null) dart.nullFailed(I[85], 324, 38, "key"); + return object[key] = value; + } + static _getPropertyNames(object) { + return Object.keys(object); + } + static _isUnprocessed(object) { + return typeof object == "undefined"; + } + static _newJavaScriptObject() { + return Object.create(null); + } + }; + (convert._JsonMap.new = function(_original) { + this[_processed] = convert._JsonMap._newJavaScriptObject(); + this[_data] = null; + this[_original$] = _original; + ; + }).prototype = convert._JsonMap.prototype; + dart.addTypeTests(convert._JsonMap); + dart.addTypeCaches(convert._JsonMap); + dart.setMethodSignature(convert._JsonMap, () => ({ + __proto__: dart.getMethods(convert._JsonMap.__proto__), + _get: dart.fnType(dart.dynamic, [dart.nullable(core.Object)]), + [$_get]: dart.fnType(dart.dynamic, [dart.nullable(core.Object)]), + _set: dart.fnType(dart.void, [dart.nullable(core.Object), dart.nullable(core.Object)]), + [$_set]: dart.fnType(dart.void, [dart.nullable(core.Object), dart.nullable(core.Object)]), + remove: dart.fnType(dart.dynamic, [dart.nullable(core.Object)]), + [$remove]: dart.fnType(dart.dynamic, [dart.nullable(core.Object)]), + clear: dart.fnType(dart.void, []), + [$clear]: dart.fnType(dart.void, []), + [_computeKeys]: dart.fnType(core.List$(core.String), []), + [_upgrade]: dart.fnType(core.Map$(core.String, dart.dynamic), []), + [_process]: dart.fnType(dart.dynamic, [core.String]) + })); + dart.setGetterSignature(convert._JsonMap, () => ({ + __proto__: dart.getGetters(convert._JsonMap.__proto__), + keys: core.Iterable$(core.String), + [$keys]: core.Iterable$(core.String), + [_isUpgraded]: core.bool, + [_upgradedMap]: core.Map$(core.String, dart.dynamic) + })); + dart.setLibraryUri(convert._JsonMap, I[31]); + dart.setFieldSignature(convert._JsonMap, () => ({ + __proto__: dart.getFields(convert._JsonMap.__proto__), + [_original$]: dart.fieldType(dart.dynamic), + [_processed]: dart.fieldType(dart.dynamic), + [_data]: dart.fieldType(dart.dynamic) + })); + dart.defineExtensionMethods(convert._JsonMap, [ + '_get', + '_set', + 'addAll', + 'containsValue', + 'containsKey', + 'putIfAbsent', + 'remove', + 'clear', + 'forEach' + ]); + dart.defineExtensionAccessors(convert._JsonMap, [ + 'length', + 'isEmpty', + 'isNotEmpty', + 'keys', + 'values' + ]); + var _parent$ = dart.privateName(convert, "_parent"); + convert._JsonMapKeyIterable = class _JsonMapKeyIterable extends _internal.ListIterable$(core.String) { + get length() { + return this[_parent$].length; + } + elementAt(index) { + if (index == null) dart.nullFailed(I[85], 340, 24, "index"); + return dart.test(this[_parent$][_isUpgraded]) ? this[_parent$].keys[$elementAt](index) : this[_parent$][_computeKeys]()[$_get](index); + } + get iterator() { + return dart.test(this[_parent$][_isUpgraded]) ? this[_parent$].keys[$iterator] : this[_parent$][_computeKeys]()[$iterator]; + } + contains(key) { + return this[_parent$].containsKey(key); + } + }; + (convert._JsonMapKeyIterable.new = function(_parent) { + if (_parent == null) dart.nullFailed(I[85], 336, 28, "_parent"); + this[_parent$] = _parent; + convert._JsonMapKeyIterable.__proto__.new.call(this); + ; + }).prototype = convert._JsonMapKeyIterable.prototype; + dart.addTypeTests(convert._JsonMapKeyIterable); + dart.addTypeCaches(convert._JsonMapKeyIterable); + dart.setLibraryUri(convert._JsonMapKeyIterable, I[31]); + dart.setFieldSignature(convert._JsonMapKeyIterable, () => ({ + __proto__: dart.getFields(convert._JsonMapKeyIterable.__proto__), + [_parent$]: dart.finalFieldType(convert._JsonMap) + })); + dart.defineExtensionMethods(convert._JsonMapKeyIterable, ['elementAt', 'contains']); + dart.defineExtensionAccessors(convert._JsonMapKeyIterable, ['length', 'iterator']); + var _reviver$ = dart.privateName(convert, "_reviver"); + var _sink$0 = dart.privateName(convert, "_sink"); + var _stringSink$ = dart.privateName(convert, "_stringSink"); + convert.StringConversionSinkMixin = class StringConversionSinkMixin extends core.Object { + add(str) { + core.String.as(str); + if (str == null) dart.nullFailed(I[86], 162, 19, "str"); + this.addSlice(str, 0, str.length, false); + } + asUtf8Sink(allowMalformed) { + if (allowMalformed == null) dart.nullFailed(I[86], 166, 38, "allowMalformed"); + return new convert._Utf8ConversionSink.new(this, allowMalformed); + } + asStringSink() { + return new convert._StringConversionSinkAsStringSinkAdapter.new(this); + } + }; + (convert.StringConversionSinkMixin.new = function() { + ; + }).prototype = convert.StringConversionSinkMixin.prototype; + dart.addTypeTests(convert.StringConversionSinkMixin); + dart.addTypeCaches(convert.StringConversionSinkMixin); + convert.StringConversionSinkMixin[dart.implements] = () => [convert.StringConversionSink]; + dart.setMethodSignature(convert.StringConversionSinkMixin, () => ({ + __proto__: dart.getMethods(convert.StringConversionSinkMixin.__proto__), + add: dart.fnType(dart.void, [dart.nullable(core.Object)]), + asUtf8Sink: dart.fnType(convert.ByteConversionSink, [core.bool]), + asStringSink: dart.fnType(convert.ClosableStringSink, []) + })); + dart.setLibraryUri(convert.StringConversionSinkMixin, I[31]); + convert.StringConversionSinkBase = class StringConversionSinkBase extends convert.StringConversionSinkMixin {}; + (convert.StringConversionSinkBase.new = function() { + ; + }).prototype = convert.StringConversionSinkBase.prototype; + dart.addTypeTests(convert.StringConversionSinkBase); + dart.addTypeCaches(convert.StringConversionSinkBase); + dart.setLibraryUri(convert.StringConversionSinkBase, I[31]); + const _is__StringSinkConversionSink_default = Symbol('_is__StringSinkConversionSink_default'); + convert._StringSinkConversionSink$ = dart.generic(TStringSink => { + class _StringSinkConversionSink extends convert.StringConversionSinkBase { + close() { + } + addSlice(str, start, end, isLast) { + if (str == null) dart.nullFailed(I[86], 183, 24, "str"); + if (start == null) dart.nullFailed(I[86], 183, 33, "start"); + if (end == null) dart.nullFailed(I[86], 183, 44, "end"); + if (isLast == null) dart.nullFailed(I[86], 183, 54, "isLast"); + if (start !== 0 || end !== str.length) { + for (let i = start; dart.notNull(i) < dart.notNull(end); i = dart.notNull(i) + 1) { + this[_stringSink$].writeCharCode(str[$codeUnitAt](i)); + } + } else { + this[_stringSink$].write(str); + } + if (dart.test(isLast)) this.close(); + } + add(str) { + core.String.as(str); + if (str == null) dart.nullFailed(I[86], 194, 19, "str"); + this[_stringSink$].write(str); + } + asUtf8Sink(allowMalformed) { + if (allowMalformed == null) dart.nullFailed(I[86], 198, 38, "allowMalformed"); + return new convert._Utf8StringSinkAdapter.new(this, this[_stringSink$], allowMalformed); + } + asStringSink() { + return new convert._ClosableStringSink.new(this[_stringSink$], dart.bind(this, 'close')); + } + } + (_StringSinkConversionSink.new = function(_stringSink) { + if (_stringSink == null) dart.nullFailed(I[86], 179, 34, "_stringSink"); + this[_stringSink$] = _stringSink; + ; + }).prototype = _StringSinkConversionSink.prototype; + dart.addTypeTests(_StringSinkConversionSink); + _StringSinkConversionSink.prototype[_is__StringSinkConversionSink_default] = true; + dart.addTypeCaches(_StringSinkConversionSink); + dart.setMethodSignature(_StringSinkConversionSink, () => ({ + __proto__: dart.getMethods(_StringSinkConversionSink.__proto__), + close: dart.fnType(dart.void, []), + addSlice: dart.fnType(dart.void, [core.String, core.int, core.int, core.bool]) + })); + dart.setLibraryUri(_StringSinkConversionSink, I[31]); + dart.setFieldSignature(_StringSinkConversionSink, () => ({ + __proto__: dart.getFields(_StringSinkConversionSink.__proto__), + [_stringSink$]: dart.finalFieldType(TStringSink) + })); + return _StringSinkConversionSink; + }); + convert._StringSinkConversionSink = convert._StringSinkConversionSink$(); + dart.addTypeTests(convert._StringSinkConversionSink, _is__StringSinkConversionSink_default); + var _contents = dart.privateName(core, "_contents"); + var _writeString = dart.privateName(core, "_writeString"); + core.StringBuffer = class StringBuffer extends core.Object { + [_writeString](str) { + this[_contents] = this[_contents] + str; + } + static _writeAll(string, objects, separator) { + if (string == null) dart.nullFailed(I[7], 751, 34, "string"); + if (objects == null) dart.nullFailed(I[7], 751, 51, "objects"); + if (separator == null) dart.nullFailed(I[7], 751, 67, "separator"); + let iterator = objects[$iterator]; + if (!dart.test(iterator.moveNext())) return string; + if (separator[$isEmpty]) { + do { + string = core.StringBuffer._writeOne(string, iterator.current); + } while (dart.test(iterator.moveNext())); + } else { + string = core.StringBuffer._writeOne(string, iterator.current); + while (dart.test(iterator.moveNext())) { + string = core.StringBuffer._writeOne(string, separator); + string = core.StringBuffer._writeOne(string, iterator.current); + } + } + return string; + } + static _writeOne(string, obj) { + return string + dart.str(obj); + } + get length() { + return this[_contents].length; + } + get isEmpty() { + return this.length === 0; + } + get isNotEmpty() { + return !dart.test(this.isEmpty); + } + write(obj) { + this[_writeString](dart.str(obj)); + } + writeCharCode(charCode) { + if (charCode == null) dart.nullFailed(I[7], 725, 26, "charCode"); + this[_writeString](core.String.fromCharCode(charCode)); + } + writeAll(objects, separator = "") { + if (objects == null) dart.nullFailed(I[7], 730, 35, "objects"); + if (separator == null) dart.nullFailed(I[7], 730, 52, "separator"); + this[_contents] = core.StringBuffer._writeAll(this[_contents], objects, separator); + } + writeln(obj = "") { + this[_writeString](dart.str(obj) + "\n"); + } + clear() { + this[_contents] = ""; + } + toString() { + return _js_helper.Primitives.flattenString(this[_contents]); + } + }; + (core.StringBuffer.new = function(content = "") { + if (content == null) dart.nullFailed(I[7], 714, 24, "content"); + this[_contents] = dart.str(content); + ; + }).prototype = core.StringBuffer.prototype; + dart.addTypeTests(core.StringBuffer); + dart.addTypeCaches(core.StringBuffer); + core.StringBuffer[dart.implements] = () => [core.StringSink]; + dart.setMethodSignature(core.StringBuffer, () => ({ + __proto__: dart.getMethods(core.StringBuffer.__proto__), + [_writeString]: dart.fnType(dart.void, [core.String]), + write: dart.fnType(dart.void, [dart.nullable(core.Object)]), + writeCharCode: dart.fnType(dart.void, [core.int]), + writeAll: dart.fnType(dart.void, [core.Iterable], [core.String]), + writeln: dart.fnType(dart.void, [], [dart.nullable(core.Object)]), + clear: dart.fnType(dart.void, []) + })); + dart.setGetterSignature(core.StringBuffer, () => ({ + __proto__: dart.getGetters(core.StringBuffer.__proto__), + length: core.int, + isEmpty: core.bool, + isNotEmpty: core.bool + })); + dart.setLibraryUri(core.StringBuffer, I[8]); + dart.setFieldSignature(core.StringBuffer, () => ({ + __proto__: dart.getFields(core.StringBuffer.__proto__), + [_contents]: dart.fieldType(core.String) + })); + dart.defineExtensionMethods(core.StringBuffer, ['toString']); + convert._JsonDecoderSink = class _JsonDecoderSink extends convert._StringSinkConversionSink$(core.StringBuffer) { + close() { + super.close(); + let accumulated = dart.toString(this[_stringSink$]); + this[_stringSink$].clear(); + let decoded = convert._parseJson(accumulated, this[_reviver$]); + this[_sink$0].add(decoded); + this[_sink$0].close(); + } + }; + (convert._JsonDecoderSink.new = function(_reviver, _sink) { + if (_sink == null) dart.nullFailed(I[85], 379, 40, "_sink"); + this[_reviver$] = _reviver; + this[_sink$0] = _sink; + convert._JsonDecoderSink.__proto__.new.call(this, new core.StringBuffer.new("")); + ; + }).prototype = convert._JsonDecoderSink.prototype; + dart.addTypeTests(convert._JsonDecoderSink); + dart.addTypeCaches(convert._JsonDecoderSink); + dart.setLibraryUri(convert._JsonDecoderSink, I[31]); + dart.setFieldSignature(convert._JsonDecoderSink, () => ({ + __proto__: dart.getFields(convert._JsonDecoderSink.__proto__), + [_reviver$]: dart.finalFieldType(dart.nullable(dart.fnType(dart.nullable(core.Object), [dart.nullable(core.Object), dart.nullable(core.Object)]))), + [_sink$0]: dart.finalFieldType(core.Sink$(dart.nullable(core.Object))) + })); + var _allowInvalid = dart.privateName(convert, "AsciiCodec._allowInvalid"); + var _allowInvalid$ = dart.privateName(convert, "_allowInvalid"); + var _UnicodeSubsetDecoder__subsetMask = dart.privateName(convert, "_UnicodeSubsetDecoder._subsetMask"); + var _UnicodeSubsetDecoder__allowInvalid = dart.privateName(convert, "_UnicodeSubsetDecoder._allowInvalid"); + var _UnicodeSubsetEncoder__subsetMask = dart.privateName(convert, "_UnicodeSubsetEncoder._subsetMask"); + const _is_Codec_default = Symbol('_is_Codec_default'); + convert.Codec$ = dart.generic((S, T) => { + var _InvertedCodecOfT$S = () => (_InvertedCodecOfT$S = dart.constFn(convert._InvertedCodec$(T, S)))(); + class Codec extends core.Object { + encode(input) { + S.as(input); + return this.encoder.convert(input); + } + decode(encoded) { + T.as(encoded); + return this.decoder.convert(encoded); + } + fuse(R, other) { + convert.Codec$(T, R).as(other); + if (other == null) dart.nullFailed(I[89], 64, 35, "other"); + return new (convert._FusedCodec$(S, T, R)).new(this, other); + } + get inverted() { + return new (_InvertedCodecOfT$S()).new(this); + } + } + (Codec.new = function() { + ; + }).prototype = Codec.prototype; + dart.addTypeTests(Codec); + Codec.prototype[_is_Codec_default] = true; + dart.addTypeCaches(Codec); + dart.setMethodSignature(Codec, () => ({ + __proto__: dart.getMethods(Codec.__proto__), + encode: dart.fnType(T, [dart.nullable(core.Object)]), + decode: dart.fnType(S, [dart.nullable(core.Object)]), + fuse: dart.gFnType(R => [convert.Codec$(S, R), [dart.nullable(core.Object)]], R => [dart.nullable(core.Object)]) + })); + dart.setGetterSignature(Codec, () => ({ + __proto__: dart.getGetters(Codec.__proto__), + inverted: convert.Codec$(T, S) + })); + dart.setLibraryUri(Codec, I[31]); + return Codec; + }); + convert.Codec = convert.Codec$(); + dart.addTypeTests(convert.Codec, _is_Codec_default); + core.List$ = dart.generic(E => { + class List extends core.Object { + static new(length = null) { + let list = null; + if (length === void 0) { + list = []; + } else { + let _length = length; + if (length == null || _length < 0) { + dart.throw(new core.ArgumentError.new("Length must be a non-negative integer: " + dart.str(_length))); + } + list = new Array(_length); + list.fill(null); + _interceptors.JSArray.markFixedList(list); + } + return _interceptors.JSArray$(E).of(list); + } + static filled(length, fill, opts) { + if (length == null) dart.argumentError(length); + let growable = opts && 'growable' in opts ? opts.growable : false; + if (growable == null) dart.nullFailed(I[7], 497, 60, "growable"); + let list = _interceptors.JSArray$(E).of(new Array(length)); + list.fill(fill); + if (!dart.test(growable)) _interceptors.JSArray.markFixedList(list); + return list; + } + static empty(opts) { + let growable = opts && 'growable' in opts ? opts.growable : false; + if (growable == null) dart.nullFailed(I[7], 490, 28, "growable"); + let list = _interceptors.JSArray$(E).of(new Array()); + if (!dart.test(growable)) _interceptors.JSArray.markFixedList(list); + return list; + } + static from(elements, opts) { + if (elements == null) dart.nullFailed(I[7], 505, 30, "elements"); + let growable = opts && 'growable' in opts ? opts.growable : true; + if (growable == null) dart.nullFailed(I[7], 505, 46, "growable"); + let list = _interceptors.JSArray$(E).of([]); + if (core.Iterable$(E).is(elements)) { + for (let e of elements) { + list.push(e); + } + } else { + for (let e of elements) { + list.push(E.as(e)); + } + } + if (!dart.test(growable)) _interceptors.JSArray.markFixedList(list); + return list; + } + static of(elements, opts) { + if (elements == null) dart.nullFailed(I[7], 527, 31, "elements"); + let growable = opts && 'growable' in opts ? opts.growable : true; + if (growable == null) dart.nullFailed(I[7], 527, 47, "growable"); + let list = _interceptors.JSArray$(E).of([]); + for (let e of elements) { + list.push(e); + } + if (!dart.test(growable)) _interceptors.JSArray.markFixedList(list); + return list; + } + static generate(length, generator, opts) { + if (length == null) dart.nullFailed(I[7], 539, 29, "length"); + if (generator == null) dart.nullFailed(I[7], 539, 39, "generator"); + let growable = opts && 'growable' in opts ? opts.growable : true; + if (growable == null) dart.nullFailed(I[7], 540, 13, "growable"); + let result = _interceptors.JSArray$(E).of(new Array(length)); + if (!dart.test(growable)) _interceptors.JSArray.markFixedList(result); + for (let i = 0; i < dart.notNull(length); i = i + 1) { + result[i] = generator(i); + } + return result; + } + static unmodifiable(elements) { + if (elements == null) dart.nullFailed(I[7], 552, 38, "elements"); + let list = core.List$(E).from(elements); + _interceptors.JSArray.markUnmodifiableList(list); + return list; + } + static castFrom(S, T, source) { + if (source == null) dart.nullFailed(I[90], 190, 41, "source"); + return new (_internal.CastList$(S, T)).new(source); + } + static copyRange(T, target, at, source, start = null, end = null) { + if (target == null) dart.nullFailed(I[90], 206, 36, "target"); + if (at == null) dart.nullFailed(I[90], 206, 48, "at"); + if (source == null) dart.nullFailed(I[90], 206, 60, "source"); + start == null ? start = 0 : null; + end = core.RangeError.checkValidRange(start, end, source[$length]); + if (end == null) { + dart.throw("unreachable"); + } + let length = dart.notNull(end) - dart.notNull(start); + if (dart.notNull(target[$length]) < dart.notNull(at) + length) { + dart.throw(new core.ArgumentError.value(target, "target", "Not big enough to hold " + dart.str(length) + " elements at position " + dart.str(at))); + } + if (source != target || dart.notNull(start) >= dart.notNull(at)) { + for (let i = 0; i < length; i = i + 1) { + target[$_set](dart.notNull(at) + i, source[$_get](dart.notNull(start) + i)); + } + } else { + for (let i = length; (i = i - 1) >= 0;) { + target[$_set](dart.notNull(at) + i, source[$_get](dart.notNull(start) + i)); + } + } + } + static writeIterable(T, target, at, source) { + if (target == null) dart.nullFailed(I[90], 241, 40, "target"); + if (at == null) dart.nullFailed(I[90], 241, 52, "at"); + if (source == null) dart.nullFailed(I[90], 241, 68, "source"); + core.RangeError.checkValueInInterval(at, 0, target[$length], "at"); + let index = at; + let targetLength = target[$length]; + for (let element of source) { + if (index == targetLength) { + dart.throw(new core.IndexError.new(targetLength, target)); + } + target[$_set](index, element); + index = dart.notNull(index) + 1; + } + } + [Symbol.iterator]() { + return new dart.JsIterator(this[$iterator]); + } + } + (List[dart.mixinNew] = function() { + }).prototype = List.prototype; + dart.addTypeTests(List); + List.prototype[dart.isList] = true; + dart.addTypeCaches(List); + List[dart.implements] = () => [_internal.EfficientLengthIterable$(E)]; + dart.setLibraryUri(List, I[8]); + return List; + }); + core.List = core.List$(); + dart.addTypeTests(core.List, dart.isList); + convert.Encoding = class Encoding extends convert.Codec$(core.String, core.List$(core.int)) { + decodeStream(byteStream) { + if (byteStream == null) dart.nullFailed(I[88], 21, 49, "byteStream"); + return this.decoder.bind(byteStream).fold(core.StringBuffer, new core.StringBuffer.new(), dart.fn((buffer, string) => { + let t172; + if (buffer == null) dart.nullFailed(I[88], 25, 27, "buffer"); + if (string == null) dart.nullFailed(I[88], 25, 42, "string"); + t172 = buffer; + return (() => { + t172.write(string); + return t172; + })(); + }, T$0.StringBufferAndStringToStringBuffer())).then(core.String, dart.fn(buffer => { + if (buffer == null) dart.nullFailed(I[88], 26, 29, "buffer"); + return dart.toString(buffer); + }, T$0.StringBufferToString())); + } + static getByName(name) { + if (name == null) return null; + return convert.Encoding._nameToEncoding[$_get](name[$toLowerCase]()); + } + }; + (convert.Encoding.new = function() { + convert.Encoding.__proto__.new.call(this); + ; + }).prototype = convert.Encoding.prototype; + dart.addTypeTests(convert.Encoding); + dart.addTypeCaches(convert.Encoding); + dart.setMethodSignature(convert.Encoding, () => ({ + __proto__: dart.getMethods(convert.Encoding.__proto__), + decodeStream: dart.fnType(async.Future$(core.String), [async.Stream$(core.List$(core.int))]) + })); + dart.setLibraryUri(convert.Encoding, I[31]); + dart.defineLazy(convert.Encoding, { + /*convert.Encoding._nameToEncoding*/get _nameToEncoding() { + return new (T$0.IdentityMapOfString$Encoding()).from(["iso_8859-1:1987", convert.latin1, "iso-ir-100", convert.latin1, "iso_8859-1", convert.latin1, "iso-8859-1", convert.latin1, "latin1", convert.latin1, "l1", convert.latin1, "ibm819", convert.latin1, "cp819", convert.latin1, "csisolatin1", convert.latin1, "iso-ir-6", convert.ascii, "ansi_x3.4-1968", convert.ascii, "ansi_x3.4-1986", convert.ascii, "iso_646.irv:1991", convert.ascii, "iso646-us", convert.ascii, "us-ascii", convert.ascii, "us", convert.ascii, "ibm367", convert.ascii, "cp367", convert.ascii, "csascii", convert.ascii, "ascii", convert.ascii, "csutf8", convert.utf8, "utf-8", convert.utf8]); + } + }, false); + convert.AsciiCodec = class AsciiCodec extends convert.Encoding { + get [_allowInvalid$]() { + return this[_allowInvalid]; + } + set [_allowInvalid$](value) { + super[_allowInvalid$] = value; + } + get name() { + return "us-ascii"; + } + encode(source) { + core.String.as(source); + if (source == null) dart.nullFailed(I[87], 41, 27, "source"); + return this.encoder.convert(source); + } + decode(bytes, opts) { + let t172; + T$0.ListOfint().as(bytes); + if (bytes == null) dart.nullFailed(I[87], 51, 27, "bytes"); + let allowInvalid = opts && 'allowInvalid' in opts ? opts.allowInvalid : null; + if (dart.test((t172 = allowInvalid, t172 == null ? this[_allowInvalid$] : t172))) { + return (C[80] || CT.C80).convert(bytes); + } else { + return (C[81] || CT.C81).convert(bytes); + } + } + get encoder() { + return C[82] || CT.C82; + } + get decoder() { + return dart.test(this[_allowInvalid$]) ? C[80] || CT.C80 : C[81] || CT.C81; + } + }; + (convert.AsciiCodec.new = function(opts) { + let allowInvalid = opts && 'allowInvalid' in opts ? opts.allowInvalid : false; + if (allowInvalid == null) dart.nullFailed(I[87], 36, 26, "allowInvalid"); + this[_allowInvalid] = allowInvalid; + convert.AsciiCodec.__proto__.new.call(this); + ; + }).prototype = convert.AsciiCodec.prototype; + dart.addTypeTests(convert.AsciiCodec); + dart.addTypeCaches(convert.AsciiCodec); + dart.setMethodSignature(convert.AsciiCodec, () => ({ + __proto__: dart.getMethods(convert.AsciiCodec.__proto__), + encode: dart.fnType(typed_data.Uint8List, [dart.nullable(core.Object)]), + decode: dart.fnType(core.String, [dart.nullable(core.Object)], {allowInvalid: dart.nullable(core.bool)}, {}) + })); + dart.setGetterSignature(convert.AsciiCodec, () => ({ + __proto__: dart.getGetters(convert.AsciiCodec.__proto__), + name: core.String, + encoder: convert.AsciiEncoder, + decoder: convert.AsciiDecoder + })); + dart.setLibraryUri(convert.AsciiCodec, I[31]); + dart.setFieldSignature(convert.AsciiCodec, () => ({ + __proto__: dart.getFields(convert.AsciiCodec.__proto__), + [_allowInvalid$]: dart.finalFieldType(core.bool) + })); + var _subsetMask$ = dart.privateName(convert, "_subsetMask"); + const _subsetMask$0 = _UnicodeSubsetEncoder__subsetMask; + convert._UnicodeSubsetEncoder = class _UnicodeSubsetEncoder extends convert.Converter$(core.String, core.List$(core.int)) { + get [_subsetMask$]() { + return this[_subsetMask$0]; + } + set [_subsetMask$](value) { + super[_subsetMask$] = value; + } + convert(string, start = 0, end = null) { + core.String.as(string); + if (string == null) dart.nullFailed(I[87], 77, 28, "string"); + if (start == null) dart.nullFailed(I[87], 77, 41, "start"); + let stringLength = string.length; + end = core.RangeError.checkValidRange(start, end, stringLength); + if (end == null) { + dart.throw(new core.RangeError.new("Invalid range")); + } + let length = dart.notNull(end) - dart.notNull(start); + let result = _native_typed_data.NativeUint8List.new(length); + for (let i = 0; i < length; i = i + 1) { + let codeUnit = string[$codeUnitAt](dart.notNull(start) + i); + if ((codeUnit & ~dart.notNull(this[_subsetMask$]) >>> 0) !== 0) { + dart.throw(new core.ArgumentError.value(string, "string", "Contains invalid characters.")); + } + result[$_set](i, codeUnit); + } + return result; + } + startChunkedConversion(sink) { + T$0.SinkOfListOfint().as(sink); + if (sink == null) dart.nullFailed(I[87], 101, 63, "sink"); + return new convert._UnicodeSubsetEncoderSink.new(this[_subsetMask$], convert.ByteConversionSink.is(sink) ? sink : new convert._ByteAdapterSink.new(sink)); + } + bind(stream) { + T$0.StreamOfString().as(stream); + if (stream == null) dart.nullFailed(I[87], 107, 41, "stream"); + return super.bind(stream); + } + }; + (convert._UnicodeSubsetEncoder.new = function(_subsetMask) { + if (_subsetMask == null) dart.nullFailed(I[87], 71, 36, "_subsetMask"); + this[_subsetMask$0] = _subsetMask; + convert._UnicodeSubsetEncoder.__proto__.new.call(this); + ; + }).prototype = convert._UnicodeSubsetEncoder.prototype; + dart.addTypeTests(convert._UnicodeSubsetEncoder); + dart.addTypeCaches(convert._UnicodeSubsetEncoder); + dart.setMethodSignature(convert._UnicodeSubsetEncoder, () => ({ + __proto__: dart.getMethods(convert._UnicodeSubsetEncoder.__proto__), + convert: dart.fnType(typed_data.Uint8List, [dart.nullable(core.Object)], [core.int, dart.nullable(core.int)]), + startChunkedConversion: dart.fnType(convert.StringConversionSink, [dart.nullable(core.Object)]) + })); + dart.setLibraryUri(convert._UnicodeSubsetEncoder, I[31]); + dart.setFieldSignature(convert._UnicodeSubsetEncoder, () => ({ + __proto__: dart.getFields(convert._UnicodeSubsetEncoder.__proto__), + [_subsetMask$]: dart.finalFieldType(core.int) + })); + convert.AsciiEncoder = class AsciiEncoder extends convert._UnicodeSubsetEncoder {}; + (convert.AsciiEncoder.new = function() { + convert.AsciiEncoder.__proto__.new.call(this, 127); + ; + }).prototype = convert.AsciiEncoder.prototype; + dart.addTypeTests(convert.AsciiEncoder); + dart.addTypeCaches(convert.AsciiEncoder); + dart.setLibraryUri(convert.AsciiEncoder, I[31]); + convert._UnicodeSubsetEncoderSink = class _UnicodeSubsetEncoderSink extends convert.StringConversionSinkBase { + close() { + this[_sink$0].close(); + } + addSlice(source, start, end, isLast) { + if (source == null) dart.nullFailed(I[87], 127, 24, "source"); + if (start == null) dart.nullFailed(I[87], 127, 36, "start"); + if (end == null) dart.nullFailed(I[87], 127, 47, "end"); + if (isLast == null) dart.nullFailed(I[87], 127, 57, "isLast"); + core.RangeError.checkValidRange(start, end, source.length); + for (let i = start; dart.notNull(i) < dart.notNull(end); i = dart.notNull(i) + 1) { + let codeUnit = source[$codeUnitAt](i); + if ((codeUnit & ~dart.notNull(this[_subsetMask$]) >>> 0) !== 0) { + dart.throw(new core.ArgumentError.new("Source contains invalid character with code point: " + dart.str(codeUnit) + ".")); + } + } + this[_sink$0].add(source[$codeUnits][$sublist](start, end)); + if (dart.test(isLast)) { + this.close(); + } + } + }; + (convert._UnicodeSubsetEncoderSink.new = function(_subsetMask, _sink) { + if (_subsetMask == null) dart.nullFailed(I[87], 121, 34, "_subsetMask"); + if (_sink == null) dart.nullFailed(I[87], 121, 52, "_sink"); + this[_subsetMask$] = _subsetMask; + this[_sink$0] = _sink; + ; + }).prototype = convert._UnicodeSubsetEncoderSink.prototype; + dart.addTypeTests(convert._UnicodeSubsetEncoderSink); + dart.addTypeCaches(convert._UnicodeSubsetEncoderSink); + dart.setMethodSignature(convert._UnicodeSubsetEncoderSink, () => ({ + __proto__: dart.getMethods(convert._UnicodeSubsetEncoderSink.__proto__), + close: dart.fnType(dart.void, []), + addSlice: dart.fnType(dart.void, [core.String, core.int, core.int, core.bool]) + })); + dart.setLibraryUri(convert._UnicodeSubsetEncoderSink, I[31]); + dart.setFieldSignature(convert._UnicodeSubsetEncoderSink, () => ({ + __proto__: dart.getFields(convert._UnicodeSubsetEncoderSink.__proto__), + [_sink$0]: dart.finalFieldType(convert.ByteConversionSink), + [_subsetMask$]: dart.finalFieldType(core.int) + })); + var _convertInvalid = dart.privateName(convert, "_convertInvalid"); + const _allowInvalid$0 = _UnicodeSubsetDecoder__allowInvalid; + const _subsetMask$1 = _UnicodeSubsetDecoder__subsetMask; + convert._UnicodeSubsetDecoder = class _UnicodeSubsetDecoder extends convert.Converter$(core.List$(core.int), core.String) { + get [_allowInvalid$]() { + return this[_allowInvalid$0]; + } + set [_allowInvalid$](value) { + super[_allowInvalid$] = value; + } + get [_subsetMask$]() { + return this[_subsetMask$1]; + } + set [_subsetMask$](value) { + super[_subsetMask$] = value; + } + convert(bytes, start = 0, end = null) { + T$0.ListOfint().as(bytes); + if (bytes == null) dart.nullFailed(I[87], 168, 28, "bytes"); + if (start == null) dart.nullFailed(I[87], 168, 40, "start"); + end = core.RangeError.checkValidRange(start, end, bytes[$length]); + if (end == null) { + dart.throw(new core.RangeError.new("Invalid range")); + } + for (let i = start; dart.notNull(i) < dart.notNull(end); i = dart.notNull(i) + 1) { + let byte = bytes[$_get](i); + if ((dart.notNull(byte) & ~dart.notNull(this[_subsetMask$]) >>> 0) !== 0) { + if (!dart.test(this[_allowInvalid$])) { + dart.throw(new core.FormatException.new("Invalid value in input: " + dart.str(byte))); + } + return this[_convertInvalid](bytes, start, end); + } + } + return core.String.fromCharCodes(bytes, start, end); + } + [_convertInvalid](bytes, start, end) { + if (bytes == null) dart.nullFailed(I[87], 186, 36, "bytes"); + if (start == null) dart.nullFailed(I[87], 186, 47, "start"); + if (end == null) dart.nullFailed(I[87], 186, 58, "end"); + let buffer = new core.StringBuffer.new(); + for (let i = start; dart.notNull(i) < dart.notNull(end); i = dart.notNull(i) + 1) { + let value = bytes[$_get](i); + if ((dart.notNull(value) & ~dart.notNull(this[_subsetMask$]) >>> 0) !== 0) value = 65533; + buffer.writeCharCode(value); + } + return buffer.toString(); + } + bind(stream) { + T$0.StreamOfListOfint().as(stream); + if (stream == null) dart.nullFailed(I[87], 203, 41, "stream"); + return super.bind(stream); + } + }; + (convert._UnicodeSubsetDecoder.new = function(_allowInvalid, _subsetMask) { + if (_allowInvalid == null) dart.nullFailed(I[87], 161, 36, "_allowInvalid"); + if (_subsetMask == null) dart.nullFailed(I[87], 161, 56, "_subsetMask"); + this[_allowInvalid$0] = _allowInvalid; + this[_subsetMask$1] = _subsetMask; + convert._UnicodeSubsetDecoder.__proto__.new.call(this); + ; + }).prototype = convert._UnicodeSubsetDecoder.prototype; + dart.addTypeTests(convert._UnicodeSubsetDecoder); + dart.addTypeCaches(convert._UnicodeSubsetDecoder); + dart.setMethodSignature(convert._UnicodeSubsetDecoder, () => ({ + __proto__: dart.getMethods(convert._UnicodeSubsetDecoder.__proto__), + convert: dart.fnType(core.String, [dart.nullable(core.Object)], [core.int, dart.nullable(core.int)]), + [_convertInvalid]: dart.fnType(core.String, [core.List$(core.int), core.int, core.int]) + })); + dart.setLibraryUri(convert._UnicodeSubsetDecoder, I[31]); + dart.setFieldSignature(convert._UnicodeSubsetDecoder, () => ({ + __proto__: dart.getFields(convert._UnicodeSubsetDecoder.__proto__), + [_allowInvalid$]: dart.finalFieldType(core.bool), + [_subsetMask$]: dart.finalFieldType(core.int) + })); + convert.AsciiDecoder = class AsciiDecoder extends convert._UnicodeSubsetDecoder { + startChunkedConversion(sink) { + T$0.SinkOfString().as(sink); + if (sink == null) dart.nullFailed(I[87], 214, 58, "sink"); + let stringSink = null; + if (convert.StringConversionSink.is(sink)) { + stringSink = sink; + } else { + stringSink = new convert._StringAdapterSink.new(sink); + } + if (dart.test(this[_allowInvalid$])) { + return new convert._ErrorHandlingAsciiDecoderSink.new(stringSink.asUtf8Sink(false)); + } else { + return new convert._SimpleAsciiDecoderSink.new(stringSink); + } + } + }; + (convert.AsciiDecoder.new = function(opts) { + let allowInvalid = opts && 'allowInvalid' in opts ? opts.allowInvalid : false; + if (allowInvalid == null) dart.nullFailed(I[87], 207, 28, "allowInvalid"); + convert.AsciiDecoder.__proto__.new.call(this, allowInvalid, 127); + ; + }).prototype = convert.AsciiDecoder.prototype; + dart.addTypeTests(convert.AsciiDecoder); + dart.addTypeCaches(convert.AsciiDecoder); + dart.setMethodSignature(convert.AsciiDecoder, () => ({ + __proto__: dart.getMethods(convert.AsciiDecoder.__proto__), + startChunkedConversion: dart.fnType(convert.ByteConversionSink, [dart.nullable(core.Object)]) + })); + dart.setLibraryUri(convert.AsciiDecoder, I[31]); + var _utf8Sink$ = dart.privateName(convert, "_utf8Sink"); + const _is_ChunkedConversionSink_default = Symbol('_is_ChunkedConversionSink_default'); + convert.ChunkedConversionSink$ = dart.generic(T => { + class ChunkedConversionSink extends core.Object {} + (ChunkedConversionSink.new = function() { + ; + }).prototype = ChunkedConversionSink.prototype; + dart.addTypeTests(ChunkedConversionSink); + ChunkedConversionSink.prototype[_is_ChunkedConversionSink_default] = true; + dart.addTypeCaches(ChunkedConversionSink); + ChunkedConversionSink[dart.implements] = () => [core.Sink$(T)]; + dart.setLibraryUri(ChunkedConversionSink, I[31]); + return ChunkedConversionSink; + }); + convert.ChunkedConversionSink = convert.ChunkedConversionSink$(); + dart.addTypeTests(convert.ChunkedConversionSink, _is_ChunkedConversionSink_default); + convert.ByteConversionSink = class ByteConversionSink extends convert.ChunkedConversionSink$(core.List$(core.int)) {}; + (convert.ByteConversionSink.new = function() { + convert.ByteConversionSink.__proto__.new.call(this); + ; + }).prototype = convert.ByteConversionSink.prototype; + dart.addTypeTests(convert.ByteConversionSink); + dart.addTypeCaches(convert.ByteConversionSink); + dart.setLibraryUri(convert.ByteConversionSink, I[31]); + convert.ByteConversionSinkBase = class ByteConversionSinkBase extends convert.ByteConversionSink { + addSlice(chunk, start, end, isLast) { + if (chunk == null) dart.nullFailed(I[91], 42, 27, "chunk"); + if (start == null) dart.nullFailed(I[91], 42, 38, "start"); + if (end == null) dart.nullFailed(I[91], 42, 49, "end"); + if (isLast == null) dart.nullFailed(I[91], 42, 59, "isLast"); + this.add(chunk[$sublist](start, end)); + if (dart.test(isLast)) this.close(); + } + }; + (convert.ByteConversionSinkBase.new = function() { + convert.ByteConversionSinkBase.__proto__.new.call(this); + ; + }).prototype = convert.ByteConversionSinkBase.prototype; + dart.addTypeTests(convert.ByteConversionSinkBase); + dart.addTypeCaches(convert.ByteConversionSinkBase); + dart.setMethodSignature(convert.ByteConversionSinkBase, () => ({ + __proto__: dart.getMethods(convert.ByteConversionSinkBase.__proto__), + addSlice: dart.fnType(dart.void, [core.List$(core.int), core.int, core.int, core.bool]) + })); + dart.setLibraryUri(convert.ByteConversionSinkBase, I[31]); + convert._ErrorHandlingAsciiDecoderSink = class _ErrorHandlingAsciiDecoderSink extends convert.ByteConversionSinkBase { + close() { + this[_utf8Sink$].close(); + } + add(source) { + T$0.ListOfint().as(source); + if (source == null) dart.nullFailed(I[87], 241, 22, "source"); + this.addSlice(source, 0, source[$length], false); + } + addSlice(source, start, end, isLast) { + if (source == null) dart.nullFailed(I[87], 245, 27, "source"); + if (start == null) dart.nullFailed(I[87], 245, 39, "start"); + if (end == null) dart.nullFailed(I[87], 245, 50, "end"); + if (isLast == null) dart.nullFailed(I[87], 245, 60, "isLast"); + core.RangeError.checkValidRange(start, end, source[$length]); + for (let i = start; dart.notNull(i) < dart.notNull(end); i = dart.notNull(i) + 1) { + if ((dart.notNull(source[$_get](i)) & ~127 >>> 0) !== 0) { + if (dart.notNull(i) > dart.notNull(start)) this[_utf8Sink$].addSlice(source, start, i, false); + this[_utf8Sink$].add(C[83] || CT.C83); + start = dart.notNull(i) + 1; + } + } + if (dart.notNull(start) < dart.notNull(end)) { + this[_utf8Sink$].addSlice(source, start, end, isLast); + } else if (dart.test(isLast)) { + this.close(); + } + } + }; + (convert._ErrorHandlingAsciiDecoderSink.new = function(_utf8Sink) { + if (_utf8Sink == null) dart.nullFailed(I[87], 235, 39, "_utf8Sink"); + this[_utf8Sink$] = _utf8Sink; + convert._ErrorHandlingAsciiDecoderSink.__proto__.new.call(this); + ; + }).prototype = convert._ErrorHandlingAsciiDecoderSink.prototype; + dart.addTypeTests(convert._ErrorHandlingAsciiDecoderSink); + dart.addTypeCaches(convert._ErrorHandlingAsciiDecoderSink); + dart.setMethodSignature(convert._ErrorHandlingAsciiDecoderSink, () => ({ + __proto__: dart.getMethods(convert._ErrorHandlingAsciiDecoderSink.__proto__), + close: dart.fnType(dart.void, []), + add: dart.fnType(dart.void, [dart.nullable(core.Object)]) + })); + dart.setLibraryUri(convert._ErrorHandlingAsciiDecoderSink, I[31]); + dart.setFieldSignature(convert._ErrorHandlingAsciiDecoderSink, () => ({ + __proto__: dart.getFields(convert._ErrorHandlingAsciiDecoderSink.__proto__), + [_utf8Sink$]: dart.fieldType(convert.ByteConversionSink) + })); + convert._SimpleAsciiDecoderSink = class _SimpleAsciiDecoderSink extends convert.ByteConversionSinkBase { + close() { + this[_sink$0].close(); + } + add(source) { + T$0.ListOfint().as(source); + if (source == null) dart.nullFailed(I[87], 271, 22, "source"); + for (let i = 0; i < dart.notNull(source[$length]); i = i + 1) { + if ((dart.notNull(source[$_get](i)) & ~127 >>> 0) !== 0) { + dart.throw(new core.FormatException.new("Source contains non-ASCII bytes.")); + } + } + this[_sink$0].add(core.String.fromCharCodes(source)); + } + addSlice(source, start, end, isLast) { + if (source == null) dart.nullFailed(I[87], 280, 27, "source"); + if (start == null) dart.nullFailed(I[87], 280, 39, "start"); + if (end == null) dart.nullFailed(I[87], 280, 50, "end"); + if (isLast == null) dart.nullFailed(I[87], 280, 60, "isLast"); + let length = source[$length]; + core.RangeError.checkValidRange(start, end, length); + if (dart.notNull(start) < dart.notNull(end)) { + if (start !== 0 || end != length) { + source = source[$sublist](start, end); + } + this.add(source); + } + if (dart.test(isLast)) this.close(); + } + }; + (convert._SimpleAsciiDecoderSink.new = function(_sink) { + if (_sink == null) dart.nullFailed(I[87], 265, 32, "_sink"); + this[_sink$0] = _sink; + convert._SimpleAsciiDecoderSink.__proto__.new.call(this); + ; + }).prototype = convert._SimpleAsciiDecoderSink.prototype; + dart.addTypeTests(convert._SimpleAsciiDecoderSink); + dart.addTypeCaches(convert._SimpleAsciiDecoderSink); + dart.setMethodSignature(convert._SimpleAsciiDecoderSink, () => ({ + __proto__: dart.getMethods(convert._SimpleAsciiDecoderSink.__proto__), + close: dart.fnType(dart.void, []), + add: dart.fnType(dart.void, [dart.nullable(core.Object)]) + })); + dart.setLibraryUri(convert._SimpleAsciiDecoderSink, I[31]); + dart.setFieldSignature(convert._SimpleAsciiDecoderSink, () => ({ + __proto__: dart.getFields(convert._SimpleAsciiDecoderSink.__proto__), + [_sink$0]: dart.fieldType(core.Sink) + })); + var _encoder = dart.privateName(convert, "Base64Codec._encoder"); + var Base64Encoder__urlSafe = dart.privateName(convert, "Base64Encoder._urlSafe"); + var _encoder$ = dart.privateName(convert, "_encoder"); + convert.Base64Codec = class Base64Codec extends convert.Codec$(core.List$(core.int), core.String) { + get [_encoder$]() { + return this[_encoder]; + } + set [_encoder$](value) { + super[_encoder$] = value; + } + get encoder() { + return this[_encoder$]; + } + get decoder() { + return C[86] || CT.C86; + } + decode(encoded) { + core.String.as(encoded); + if (encoded == null) dart.nullFailed(I[92], 83, 27, "encoded"); + return this.decoder.convert(encoded); + } + normalize(source, start = 0, end = null) { + let t172, t172$, t172$0, t172$1, t172$2; + if (source == null) dart.nullFailed(I[92], 97, 27, "source"); + if (start == null) dart.nullFailed(I[92], 97, 40, "start"); + end = core.RangeError.checkValidRange(start, end, source.length); + if (end == null) { + dart.throw(new core.RangeError.new("Invalid range")); + } + let buffer = null; + let sliceStart = start; + let alphabet = convert._Base64Encoder._base64Alphabet; + let inverseAlphabet = convert._Base64Decoder._inverseAlphabet; + let firstPadding = -1; + let firstPaddingSourceIndex = -1; + let paddingCount = 0; + for (let i = start; dart.notNull(i) < dart.notNull(end);) { + let sliceEnd = i; + let char = source[$codeUnitAt]((t172 = i, i = dart.notNull(t172) + 1, t172)); + let originalChar = char; + if (char === 37) { + if (dart.notNull(i) + 2 <= dart.notNull(end)) { + char = _internal.parseHexByte(source, i); + i = dart.notNull(i) + 2; + if (char === 37) char = -1; + } else { + char = -1; + } + } + if (0 <= dart.notNull(char) && dart.notNull(char) <= 127) { + let value = inverseAlphabet[$_get](char); + if (dart.notNull(value) >= 0) { + char = alphabet[$codeUnitAt](value); + if (char == originalChar) continue; + } else if (value === -1) { + if (firstPadding < 0) { + firstPadding = dart.notNull((t172$0 = (t172$ = buffer, t172$ == null ? null : t172$.length), t172$0 == null ? 0 : t172$0)) + (dart.notNull(sliceEnd) - dart.notNull(sliceStart)); + firstPaddingSourceIndex = sliceEnd; + } + paddingCount = paddingCount + 1; + if (originalChar === 61) continue; + } + if (value !== -2) { + t172$2 = (t172$1 = buffer, t172$1 == null ? buffer = new core.StringBuffer.new() : t172$1); + (() => { + t172$2.write(source[$substring](sliceStart, sliceEnd)); + t172$2.writeCharCode(char); + return t172$2; + })(); + sliceStart = i; + continue; + } + } + dart.throw(new core.FormatException.new("Invalid base64 data", source, sliceEnd)); + } + if (buffer != null) { + buffer.write(source[$substring](sliceStart, end)); + if (firstPadding >= 0) { + convert.Base64Codec._checkPadding(source, firstPaddingSourceIndex, end, firstPadding, paddingCount, buffer.length); + } else { + let endLength = (dart.notNull(buffer.length) - 1)[$modulo](4) + 1; + if (endLength === 1) { + dart.throw(new core.FormatException.new("Invalid base64 encoding length ", source, end)); + } + while (endLength < 4) { + buffer.write("="); + endLength = endLength + 1; + } + } + return source[$replaceRange](start, end, dart.toString(buffer)); + } + let length = dart.notNull(end) - dart.notNull(start); + if (firstPadding >= 0) { + convert.Base64Codec._checkPadding(source, firstPaddingSourceIndex, end, firstPadding, paddingCount, length); + } else { + let endLength = length[$modulo](4); + if (endLength === 1) { + dart.throw(new core.FormatException.new("Invalid base64 encoding length ", source, end)); + } + if (endLength > 1) { + source = source[$replaceRange](end, end, endLength === 2 ? "==" : "="); + } + } + return source; + } + static _checkPadding(source, sourceIndex, sourceEnd, firstPadding, paddingCount, length) { + if (source == null) dart.nullFailed(I[92], 199, 36, "source"); + if (sourceIndex == null) dart.nullFailed(I[92], 199, 48, "sourceIndex"); + if (sourceEnd == null) dart.nullFailed(I[92], 199, 65, "sourceEnd"); + if (firstPadding == null) dart.nullFailed(I[92], 200, 11, "firstPadding"); + if (paddingCount == null) dart.nullFailed(I[92], 200, 29, "paddingCount"); + if (length == null) dart.nullFailed(I[92], 200, 47, "length"); + if (length[$modulo](4) !== 0) { + dart.throw(new core.FormatException.new("Invalid base64 padding, padded length must be multiple of four, " + "is " + dart.str(length), source, sourceEnd)); + } + if (dart.notNull(firstPadding) + dart.notNull(paddingCount) !== length) { + dart.throw(new core.FormatException.new("Invalid base64 padding, '=' not at the end", source, sourceIndex)); + } + if (dart.notNull(paddingCount) > 2) { + dart.throw(new core.FormatException.new("Invalid base64 padding, more than two '=' characters", source, sourceIndex)); + } + } + }; + (convert.Base64Codec.new = function() { + this[_encoder] = C[84] || CT.C84; + convert.Base64Codec.__proto__.new.call(this); + ; + }).prototype = convert.Base64Codec.prototype; + (convert.Base64Codec.urlSafe = function() { + this[_encoder] = C[85] || CT.C85; + convert.Base64Codec.__proto__.new.call(this); + ; + }).prototype = convert.Base64Codec.prototype; + dart.addTypeTests(convert.Base64Codec); + dart.addTypeCaches(convert.Base64Codec); + dart.setMethodSignature(convert.Base64Codec, () => ({ + __proto__: dart.getMethods(convert.Base64Codec.__proto__), + decode: dart.fnType(typed_data.Uint8List, [dart.nullable(core.Object)]), + normalize: dart.fnType(core.String, [core.String], [core.int, dart.nullable(core.int)]) + })); + dart.setGetterSignature(convert.Base64Codec, () => ({ + __proto__: dart.getGetters(convert.Base64Codec.__proto__), + encoder: convert.Base64Encoder, + decoder: convert.Base64Decoder + })); + dart.setLibraryUri(convert.Base64Codec, I[31]); + dart.setFieldSignature(convert.Base64Codec, () => ({ + __proto__: dart.getFields(convert.Base64Codec.__proto__), + [_encoder$]: dart.finalFieldType(convert.Base64Encoder) + })); + var _urlSafe = dart.privateName(convert, "_urlSafe"); + const _urlSafe$ = Base64Encoder__urlSafe; + convert.Base64Encoder = class Base64Encoder extends convert.Converter$(core.List$(core.int), core.String) { + get [_urlSafe]() { + return this[_urlSafe$]; + } + set [_urlSafe](value) { + super[_urlSafe] = value; + } + convert(input) { + T$0.ListOfint().as(input); + if (input == null) dart.nullFailed(I[92], 236, 28, "input"); + if (dart.test(input[$isEmpty])) return ""; + let encoder = new convert._Base64Encoder.new(this[_urlSafe]); + let buffer = dart.nullCheck(encoder.encode(input, 0, input[$length], true)); + return core.String.fromCharCodes(buffer); + } + startChunkedConversion(sink) { + T$0.SinkOfString().as(sink); + if (sink == null) dart.nullFailed(I[92], 243, 58, "sink"); + if (convert.StringConversionSink.is(sink)) { + return new convert._Utf8Base64EncoderSink.new(sink.asUtf8Sink(false), this[_urlSafe]); + } + return new convert._AsciiBase64EncoderSink.new(sink, this[_urlSafe]); + } + }; + (convert.Base64Encoder.new = function() { + this[_urlSafe$] = false; + convert.Base64Encoder.__proto__.new.call(this); + ; + }).prototype = convert.Base64Encoder.prototype; + (convert.Base64Encoder.urlSafe = function() { + this[_urlSafe$] = true; + convert.Base64Encoder.__proto__.new.call(this); + ; + }).prototype = convert.Base64Encoder.prototype; + dart.addTypeTests(convert.Base64Encoder); + dart.addTypeCaches(convert.Base64Encoder); + dart.setMethodSignature(convert.Base64Encoder, () => ({ + __proto__: dart.getMethods(convert.Base64Encoder.__proto__), + convert: dart.fnType(core.String, [dart.nullable(core.Object)]), + startChunkedConversion: dart.fnType(convert.ByteConversionSink, [dart.nullable(core.Object)]) + })); + dart.setLibraryUri(convert.Base64Encoder, I[31]); + dart.setFieldSignature(convert.Base64Encoder, () => ({ + __proto__: dart.getFields(convert.Base64Encoder.__proto__), + [_urlSafe]: dart.finalFieldType(core.bool) + })); + var _state$0 = dart.privateName(convert, "_state"); + var _alphabet = dart.privateName(convert, "_alphabet"); + convert._Base64Encoder = class _Base64Encoder extends core.Object { + static _encodeState(count, bits) { + if (count == null) dart.nullFailed(I[92], 283, 31, "count"); + if (bits == null) dart.nullFailed(I[92], 283, 42, "bits"); + if (!(dart.notNull(count) <= 3)) dart.assertFailed(null, I[92], 284, 12, "count <= _countMask"); + return (bits[$leftShift](2) | dart.notNull(count)) >>> 0; + } + static _stateBits(state) { + if (state == null) dart.nullFailed(I[92], 289, 29, "state"); + return state[$rightShift](2); + } + static _stateCount(state) { + if (state == null) dart.nullFailed(I[92], 292, 30, "state"); + return (dart.notNull(state) & 3) >>> 0; + } + createBuffer(bufferLength) { + if (bufferLength == null) dart.nullFailed(I[92], 295, 30, "bufferLength"); + return _native_typed_data.NativeUint8List.new(bufferLength); + } + encode(bytes, start, end, isLast) { + if (bytes == null) dart.nullFailed(I[92], 308, 31, "bytes"); + if (start == null) dart.nullFailed(I[92], 308, 42, "start"); + if (end == null) dart.nullFailed(I[92], 308, 53, "end"); + if (isLast == null) dart.nullFailed(I[92], 308, 63, "isLast"); + if (!(0 <= dart.notNull(start))) dart.assertFailed(null, I[92], 309, 12, "0 <= start"); + if (!(dart.notNull(start) <= dart.notNull(end))) dart.assertFailed(null, I[92], 310, 12, "start <= end"); + if (!(dart.notNull(end) <= dart.notNull(bytes[$length]))) dart.assertFailed(null, I[92], 311, 12, "end <= bytes.length"); + let length = dart.notNull(end) - dart.notNull(start); + let count = convert._Base64Encoder._stateCount(this[_state$0]); + let byteCount = dart.notNull(count) + length; + let fullChunks = (byteCount / 3)[$truncate](); + let partialChunkLength = byteCount - fullChunks * 3; + let bufferLength = fullChunks * 4; + if (dart.test(isLast) && partialChunkLength > 0) { + bufferLength = bufferLength + 4; + } + let output = this.createBuffer(bufferLength); + this[_state$0] = convert._Base64Encoder.encodeChunk(this[_alphabet], bytes, start, end, isLast, output, 0, this[_state$0]); + if (bufferLength > 0) return output; + return null; + } + static encodeChunk(alphabet, bytes, start, end, isLast, output, outputIndex, state) { + let t172, t172$, t172$0, t172$1; + if (alphabet == null) dart.nullFailed(I[92], 331, 33, "alphabet"); + if (bytes == null) dart.nullFailed(I[92], 331, 53, "bytes"); + if (start == null) dart.nullFailed(I[92], 331, 64, "start"); + if (end == null) dart.nullFailed(I[92], 331, 75, "end"); + if (isLast == null) dart.nullFailed(I[92], 332, 12, "isLast"); + if (output == null) dart.nullFailed(I[92], 332, 30, "output"); + if (outputIndex == null) dart.nullFailed(I[92], 332, 42, "outputIndex"); + if (state == null) dart.nullFailed(I[92], 332, 59, "state"); + let bits = convert._Base64Encoder._stateBits(state); + let expectedChars = 3 - dart.notNull(convert._Base64Encoder._stateCount(state)); + let byteOr = 0; + for (let i = start; dart.notNull(i) < dart.notNull(end); i = dart.notNull(i) + 1) { + let byte = bytes[$_get](i); + byteOr = (byteOr | dart.notNull(byte)) >>> 0; + bits = (dart.notNull(bits) << 8 | dart.notNull(byte)) & 16777215; + expectedChars = expectedChars - 1; + if (expectedChars === 0) { + output[$_set]((t172 = outputIndex, outputIndex = dart.notNull(t172) + 1, t172), alphabet[$codeUnitAt]((bits[$rightShift](18) & 63) >>> 0)); + output[$_set]((t172$ = outputIndex, outputIndex = dart.notNull(t172$) + 1, t172$), alphabet[$codeUnitAt]((bits[$rightShift](12) & 63) >>> 0)); + output[$_set]((t172$0 = outputIndex, outputIndex = dart.notNull(t172$0) + 1, t172$0), alphabet[$codeUnitAt]((bits[$rightShift](6) & 63) >>> 0)); + output[$_set]((t172$1 = outputIndex, outputIndex = dart.notNull(t172$1) + 1, t172$1), alphabet[$codeUnitAt]((dart.notNull(bits) & 63) >>> 0)); + expectedChars = 3; + bits = 0; + } + } + if (byteOr >= 0 && byteOr <= 255) { + if (dart.test(isLast) && expectedChars < 3) { + convert._Base64Encoder.writeFinalChunk(alphabet, output, outputIndex, 3 - expectedChars, bits); + return 0; + } + return convert._Base64Encoder._encodeState(3 - expectedChars, bits); + } + let i = start; + while (dart.notNull(i) < dart.notNull(end)) { + let byte = bytes[$_get](i); + if (dart.notNull(byte) < 0 || dart.notNull(byte) > 255) break; + i = dart.notNull(i) + 1; + } + dart.throw(new core.ArgumentError.value(bytes, "Not a byte value at index " + dart.str(i) + ": 0x" + bytes[$_get](i)[$toRadixString](16))); + } + static writeFinalChunk(alphabet, output, outputIndex, count, bits) { + let t172, t172$, t172$0, t172$1, t172$2, t172$3, t172$4, t172$5; + if (alphabet == null) dart.nullFailed(I[92], 379, 14, "alphabet"); + if (output == null) dart.nullFailed(I[92], 379, 34, "output"); + if (outputIndex == null) dart.nullFailed(I[92], 379, 46, "outputIndex"); + if (count == null) dart.nullFailed(I[92], 379, 63, "count"); + if (bits == null) dart.nullFailed(I[92], 379, 74, "bits"); + if (!(dart.notNull(count) > 0)) dart.assertFailed(null, I[92], 380, 12, "count > 0"); + if (count === 1) { + output[$_set]((t172 = outputIndex, outputIndex = dart.notNull(t172) + 1, t172), alphabet[$codeUnitAt]((bits[$rightShift](2) & 63) >>> 0)); + output[$_set]((t172$ = outputIndex, outputIndex = dart.notNull(t172$) + 1, t172$), alphabet[$codeUnitAt]((dart.notNull(bits) << 4 & 63) >>> 0)); + output[$_set]((t172$0 = outputIndex, outputIndex = dart.notNull(t172$0) + 1, t172$0), 61); + output[$_set]((t172$1 = outputIndex, outputIndex = dart.notNull(t172$1) + 1, t172$1), 61); + } else { + if (!(count === 2)) dart.assertFailed(null, I[92], 387, 14, "count == 2"); + output[$_set]((t172$2 = outputIndex, outputIndex = dart.notNull(t172$2) + 1, t172$2), alphabet[$codeUnitAt]((bits[$rightShift](10) & 63) >>> 0)); + output[$_set]((t172$3 = outputIndex, outputIndex = dart.notNull(t172$3) + 1, t172$3), alphabet[$codeUnitAt]((bits[$rightShift](4) & 63) >>> 0)); + output[$_set]((t172$4 = outputIndex, outputIndex = dart.notNull(t172$4) + 1, t172$4), alphabet[$codeUnitAt]((dart.notNull(bits) << 2 & 63) >>> 0)); + output[$_set]((t172$5 = outputIndex, outputIndex = dart.notNull(t172$5) + 1, t172$5), 61); + } + } + }; + (convert._Base64Encoder.new = function(urlSafe) { + if (urlSafe == null) dart.nullFailed(I[92], 279, 23, "urlSafe"); + this[_state$0] = 0; + this[_alphabet] = dart.test(urlSafe) ? convert._Base64Encoder._base64UrlAlphabet : convert._Base64Encoder._base64Alphabet; + ; + }).prototype = convert._Base64Encoder.prototype; + dart.addTypeTests(convert._Base64Encoder); + dart.addTypeCaches(convert._Base64Encoder); + dart.setMethodSignature(convert._Base64Encoder, () => ({ + __proto__: dart.getMethods(convert._Base64Encoder.__proto__), + createBuffer: dart.fnType(typed_data.Uint8List, [core.int]), + encode: dart.fnType(dart.nullable(typed_data.Uint8List), [core.List$(core.int), core.int, core.int, core.bool]) + })); + dart.setLibraryUri(convert._Base64Encoder, I[31]); + dart.setFieldSignature(convert._Base64Encoder, () => ({ + __proto__: dart.getFields(convert._Base64Encoder.__proto__), + [_state$0]: dart.fieldType(core.int), + [_alphabet]: dart.finalFieldType(core.String) + })); + dart.defineLazy(convert._Base64Encoder, { + /*convert._Base64Encoder._base64Alphabet*/get _base64Alphabet() { + return "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"; + }, + /*convert._Base64Encoder._base64UrlAlphabet*/get _base64UrlAlphabet() { + return "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"; + }, + /*convert._Base64Encoder._valueShift*/get _valueShift() { + return 2; + }, + /*convert._Base64Encoder._countMask*/get _countMask() { + return 3; + }, + /*convert._Base64Encoder._sixBitMask*/get _sixBitMask() { + return 63; + } + }, false); + convert._BufferCachingBase64Encoder = class _BufferCachingBase64Encoder extends convert._Base64Encoder { + createBuffer(bufferLength) { + if (bufferLength == null) dart.nullFailed(I[92], 405, 30, "bufferLength"); + let buffer = this.bufferCache; + if (buffer == null || dart.notNull(buffer[$length]) < dart.notNull(bufferLength)) { + this.bufferCache = buffer = _native_typed_data.NativeUint8List.new(bufferLength); + } + if (buffer == null) { + dart.throw("unreachable"); + } + return typed_data.Uint8List.view(buffer[$buffer], buffer[$offsetInBytes], bufferLength); + } + }; + (convert._BufferCachingBase64Encoder.new = function(urlSafe) { + if (urlSafe == null) dart.nullFailed(I[92], 403, 36, "urlSafe"); + this.bufferCache = null; + convert._BufferCachingBase64Encoder.__proto__.new.call(this, urlSafe); + ; + }).prototype = convert._BufferCachingBase64Encoder.prototype; + dart.addTypeTests(convert._BufferCachingBase64Encoder); + dart.addTypeCaches(convert._BufferCachingBase64Encoder); + dart.setLibraryUri(convert._BufferCachingBase64Encoder, I[31]); + dart.setFieldSignature(convert._BufferCachingBase64Encoder, () => ({ + __proto__: dart.getFields(convert._BufferCachingBase64Encoder.__proto__), + bufferCache: dart.fieldType(dart.nullable(typed_data.Uint8List)) + })); + var _add$0 = dart.privateName(convert, "_add"); + convert._Base64EncoderSink = class _Base64EncoderSink extends convert.ByteConversionSinkBase { + add(source) { + T$0.ListOfint().as(source); + if (source == null) dart.nullFailed(I[92], 420, 22, "source"); + this[_add$0](source, 0, source[$length], false); + } + close() { + this[_add$0](C[87] || CT.C87, 0, 0, true); + } + addSlice(source, start, end, isLast) { + if (source == null) dart.nullFailed(I[92], 428, 27, "source"); + if (start == null) dart.nullFailed(I[92], 428, 39, "start"); + if (end == null) dart.nullFailed(I[92], 428, 50, "end"); + if (isLast == null) dart.nullFailed(I[92], 428, 60, "isLast"); + if (end == null) dart.throw(new core.ArgumentError.notNull("end")); + core.RangeError.checkValidRange(start, end, source[$length]); + this[_add$0](source, start, end, isLast); + } + }; + (convert._Base64EncoderSink.new = function() { + convert._Base64EncoderSink.__proto__.new.call(this); + ; + }).prototype = convert._Base64EncoderSink.prototype; + dart.addTypeTests(convert._Base64EncoderSink); + dart.addTypeCaches(convert._Base64EncoderSink); + dart.setMethodSignature(convert._Base64EncoderSink, () => ({ + __proto__: dart.getMethods(convert._Base64EncoderSink.__proto__), + add: dart.fnType(dart.void, [dart.nullable(core.Object)]), + close: dart.fnType(dart.void, []) + })); + dart.setLibraryUri(convert._Base64EncoderSink, I[31]); + convert._AsciiBase64EncoderSink = class _AsciiBase64EncoderSink extends convert._Base64EncoderSink { + [_add$0](source, start, end, isLast) { + if (source == null) dart.nullFailed(I[92], 444, 23, "source"); + if (start == null) dart.nullFailed(I[92], 444, 35, "start"); + if (end == null) dart.nullFailed(I[92], 444, 46, "end"); + if (isLast == null) dart.nullFailed(I[92], 444, 56, "isLast"); + let buffer = this[_encoder$].encode(source, start, end, isLast); + if (buffer != null) { + let string = core.String.fromCharCodes(buffer); + this[_sink$0].add(string); + } + if (dart.test(isLast)) { + this[_sink$0].close(); + } + } + }; + (convert._AsciiBase64EncoderSink.new = function(_sink, urlSafe) { + if (_sink == null) dart.nullFailed(I[92], 441, 32, "_sink"); + if (urlSafe == null) dart.nullFailed(I[92], 441, 44, "urlSafe"); + this[_sink$0] = _sink; + this[_encoder$] = new convert._BufferCachingBase64Encoder.new(urlSafe); + convert._AsciiBase64EncoderSink.__proto__.new.call(this); + ; + }).prototype = convert._AsciiBase64EncoderSink.prototype; + dart.addTypeTests(convert._AsciiBase64EncoderSink); + dart.addTypeCaches(convert._AsciiBase64EncoderSink); + dart.setMethodSignature(convert._AsciiBase64EncoderSink, () => ({ + __proto__: dart.getMethods(convert._AsciiBase64EncoderSink.__proto__), + [_add$0]: dart.fnType(dart.void, [core.List$(core.int), core.int, core.int, core.bool]) + })); + dart.setLibraryUri(convert._AsciiBase64EncoderSink, I[31]); + dart.setFieldSignature(convert._AsciiBase64EncoderSink, () => ({ + __proto__: dart.getFields(convert._AsciiBase64EncoderSink.__proto__), + [_sink$0]: dart.finalFieldType(core.Sink$(core.String)), + [_encoder$]: dart.finalFieldType(convert._Base64Encoder) + })); + convert._Utf8Base64EncoderSink = class _Utf8Base64EncoderSink extends convert._Base64EncoderSink { + [_add$0](source, start, end, isLast) { + if (source == null) dart.nullFailed(I[92], 463, 23, "source"); + if (start == null) dart.nullFailed(I[92], 463, 35, "start"); + if (end == null) dart.nullFailed(I[92], 463, 46, "end"); + if (isLast == null) dart.nullFailed(I[92], 463, 56, "isLast"); + let buffer = this[_encoder$].encode(source, start, end, isLast); + if (buffer != null) { + this[_sink$0].addSlice(buffer, 0, buffer[$length], isLast); + } + } + }; + (convert._Utf8Base64EncoderSink.new = function(_sink, urlSafe) { + if (_sink == null) dart.nullFailed(I[92], 460, 31, "_sink"); + if (urlSafe == null) dart.nullFailed(I[92], 460, 43, "urlSafe"); + this[_sink$0] = _sink; + this[_encoder$] = new convert._Base64Encoder.new(urlSafe); + convert._Utf8Base64EncoderSink.__proto__.new.call(this); + ; + }).prototype = convert._Utf8Base64EncoderSink.prototype; + dart.addTypeTests(convert._Utf8Base64EncoderSink); + dart.addTypeCaches(convert._Utf8Base64EncoderSink); + dart.setMethodSignature(convert._Utf8Base64EncoderSink, () => ({ + __proto__: dart.getMethods(convert._Utf8Base64EncoderSink.__proto__), + [_add$0]: dart.fnType(dart.void, [core.List$(core.int), core.int, core.int, core.bool]) + })); + dart.setLibraryUri(convert._Utf8Base64EncoderSink, I[31]); + dart.setFieldSignature(convert._Utf8Base64EncoderSink, () => ({ + __proto__: dart.getFields(convert._Utf8Base64EncoderSink.__proto__), + [_sink$0]: dart.finalFieldType(convert.ByteConversionSink), + [_encoder$]: dart.finalFieldType(convert._Base64Encoder) + })); + convert.Base64Decoder = class Base64Decoder extends convert.Converter$(core.String, core.List$(core.int)) { + convert(input, start = 0, end = null) { + core.String.as(input); + if (input == null) dart.nullFailed(I[92], 491, 28, "input"); + if (start == null) dart.nullFailed(I[92], 491, 40, "start"); + end = core.RangeError.checkValidRange(start, end, input.length); + if (end == null) { + dart.throw(new core.RangeError.new("Invalid range")); + } + if (start == end) return _native_typed_data.NativeUint8List.new(0); + let decoder = new convert._Base64Decoder.new(); + let buffer = dart.nullCheck(decoder.decode(input, start, end)); + decoder.close(input, end); + return buffer; + } + startChunkedConversion(sink) { + T$0.SinkOfListOfint().as(sink); + if (sink == null) dart.nullFailed(I[92], 504, 63, "sink"); + return new convert._Base64DecoderSink.new(sink); + } + }; + (convert.Base64Decoder.new = function() { + convert.Base64Decoder.__proto__.new.call(this); + ; + }).prototype = convert.Base64Decoder.prototype; + dart.addTypeTests(convert.Base64Decoder); + dart.addTypeCaches(convert.Base64Decoder); + dart.setMethodSignature(convert.Base64Decoder, () => ({ + __proto__: dart.getMethods(convert.Base64Decoder.__proto__), + convert: dart.fnType(typed_data.Uint8List, [dart.nullable(core.Object)], [core.int, dart.nullable(core.int)]), + startChunkedConversion: dart.fnType(convert.StringConversionSink, [dart.nullable(core.Object)]) + })); + dart.setLibraryUri(convert.Base64Decoder, I[31]); + convert._Base64Decoder = class _Base64Decoder extends core.Object { + static _encodeCharacterState(count, bits) { + if (count == null) dart.nullFailed(I[92], 572, 40, "count"); + if (bits == null) dart.nullFailed(I[92], 572, 51, "bits"); + if (!(count === (dart.notNull(count) & 3) >>> 0)) dart.assertFailed(null, I[92], 573, 12, "count == (count & _countMask)"); + return (bits[$leftShift](2) | dart.notNull(count)) >>> 0; + } + static _stateCount(state) { + if (state == null) dart.nullFailed(I[92], 578, 30, "state"); + if (!(dart.notNull(state) >= 0)) dart.assertFailed(null, I[92], 579, 12, "state >= 0"); + return (dart.notNull(state) & 3) >>> 0; + } + static _stateBits(state) { + if (state == null) dart.nullFailed(I[92], 584, 29, "state"); + if (!(dart.notNull(state) >= 0)) dart.assertFailed(null, I[92], 585, 12, "state >= 0"); + return state[$rightShift](2); + } + static _encodePaddingState(expectedPadding) { + if (expectedPadding == null) dart.nullFailed(I[92], 590, 38, "expectedPadding"); + if (!(dart.notNull(expectedPadding) >= 0)) dart.assertFailed(null, I[92], 591, 12, "expectedPadding >= 0"); + if (!(dart.notNull(expectedPadding) <= 5)) dart.assertFailed(null, I[92], 592, 12, "expectedPadding <= 5"); + return -dart.notNull(expectedPadding) - 1; + } + static _statePadding(state) { + if (state == null) dart.nullFailed(I[92], 597, 32, "state"); + if (!(dart.notNull(state) < 0)) dart.assertFailed(null, I[92], 598, 12, "state < 0"); + return -dart.notNull(state) - 1; + } + static _hasSeenPadding(state) { + if (state == null) dart.nullFailed(I[92], 602, 35, "state"); + return dart.notNull(state) < 0; + } + decode(input, start, end) { + if (input == null) dart.nullFailed(I[92], 609, 28, "input"); + if (start == null) dart.nullFailed(I[92], 609, 39, "start"); + if (end == null) dart.nullFailed(I[92], 609, 50, "end"); + if (!(0 <= dart.notNull(start))) dart.assertFailed(null, I[92], 610, 12, "0 <= start"); + if (!(dart.notNull(start) <= dart.notNull(end))) dart.assertFailed(null, I[92], 611, 12, "start <= end"); + if (!(dart.notNull(end) <= input.length)) dart.assertFailed(null, I[92], 612, 12, "end <= input.length"); + if (dart.test(convert._Base64Decoder._hasSeenPadding(this[_state$0]))) { + this[_state$0] = convert._Base64Decoder._checkPadding(input, start, end, this[_state$0]); + return null; + } + if (start == end) return _native_typed_data.NativeUint8List.new(0); + let buffer = convert._Base64Decoder._allocateBuffer(input, start, end, this[_state$0]); + this[_state$0] = convert._Base64Decoder.decodeChunk(input, start, end, buffer, 0, this[_state$0]); + return buffer; + } + close(input, end) { + if (dart.notNull(this[_state$0]) < dart.notNull(convert._Base64Decoder._encodePaddingState(0))) { + dart.throw(new core.FormatException.new("Missing padding character", input, end)); + } + if (dart.notNull(this[_state$0]) > 0) { + dart.throw(new core.FormatException.new("Invalid length, must be multiple of four", input, end)); + } + this[_state$0] = convert._Base64Decoder._encodePaddingState(0); + } + static decodeChunk(input, start, end, output, outIndex, state) { + let t172, t172$, t172$0, t172$1, t172$2, t172$3; + if (input == null) dart.nullFailed(I[92], 640, 33, "input"); + if (start == null) dart.nullFailed(I[92], 640, 44, "start"); + if (end == null) dart.nullFailed(I[92], 640, 55, "end"); + if (output == null) dart.nullFailed(I[92], 640, 70, "output"); + if (outIndex == null) dart.nullFailed(I[92], 641, 11, "outIndex"); + if (state == null) dart.nullFailed(I[92], 641, 25, "state"); + if (!!dart.test(convert._Base64Decoder._hasSeenPadding(state))) dart.assertFailed(null, I[92], 642, 12, "!_hasSeenPadding(state)"); + let bits = convert._Base64Decoder._stateBits(state); + let count = convert._Base64Decoder._stateCount(state); + let charOr = 0; + let inverseAlphabet = convert._Base64Decoder._inverseAlphabet; + for (let i = start; dart.notNull(i) < dart.notNull(end); i = dart.notNull(i) + 1) { + let char = input[$codeUnitAt](i); + charOr = (charOr | char) >>> 0; + let code = inverseAlphabet[$_get]((char & 127) >>> 0); + if (dart.notNull(code) >= 0) { + bits = (bits[$leftShift](6) | dart.notNull(code)) & 16777215; + count = dart.notNull(count) + 1 & 3; + if (count === 0) { + if (!(dart.notNull(outIndex) + 3 <= dart.notNull(output[$length]))) dart.assertFailed(null, I[92], 664, 18, "outIndex + 3 <= output.length"); + output[$_set]((t172 = outIndex, outIndex = dart.notNull(t172) + 1, t172), (bits[$rightShift](16) & 255) >>> 0); + output[$_set]((t172$ = outIndex, outIndex = dart.notNull(t172$) + 1, t172$), (bits[$rightShift](8) & 255) >>> 0); + output[$_set]((t172$0 = outIndex, outIndex = dart.notNull(t172$0) + 1, t172$0), (dart.notNull(bits) & 255) >>> 0); + bits = 0; + } + continue; + } else if (code === -1 && dart.notNull(count) > 1) { + if (charOr < 0 || charOr > 127) break; + if (count === 3) { + if ((dart.notNull(bits) & 3) !== 0) { + dart.throw(new core.FormatException.new("Invalid encoding before padding", input, i)); + } + output[$_set]((t172$1 = outIndex, outIndex = dart.notNull(t172$1) + 1, t172$1), bits[$rightShift](10)); + output[$_set]((t172$2 = outIndex, outIndex = dart.notNull(t172$2) + 1, t172$2), bits[$rightShift](2)); + } else { + if ((dart.notNull(bits) & 15) !== 0) { + dart.throw(new core.FormatException.new("Invalid encoding before padding", input, i)); + } + output[$_set]((t172$3 = outIndex, outIndex = dart.notNull(t172$3) + 1, t172$3), bits[$rightShift](4)); + } + let expectedPadding = (3 - dart.notNull(count)) * 3; + if (char === 37) expectedPadding = expectedPadding + 2; + state = convert._Base64Decoder._encodePaddingState(expectedPadding); + return convert._Base64Decoder._checkPadding(input, dart.notNull(i) + 1, end, state); + } + dart.throw(new core.FormatException.new("Invalid character", input, i)); + } + if (charOr >= 0 && charOr <= 127) { + return convert._Base64Decoder._encodeCharacterState(count, bits); + } + let i = null; + for (let t172$4 = i = start; dart.notNull(i) < dart.notNull(end); i = dart.notNull(i) + 1) { + let char = input[$codeUnitAt](i); + if (char < 0 || char > 127) break; + } + dart.throw(new core.FormatException.new("Invalid character", input, i)); + } + static _allocateBuffer(input, start, end, state) { + if (input == null) dart.nullFailed(I[92], 715, 14, "input"); + if (start == null) dart.nullFailed(I[92], 715, 25, "start"); + if (end == null) dart.nullFailed(I[92], 715, 36, "end"); + if (state == null) dart.nullFailed(I[92], 715, 45, "state"); + if (!(dart.notNull(state) >= 0)) dart.assertFailed(null, I[92], 716, 12, "state >= 0"); + let paddingStart = convert._Base64Decoder._trimPaddingChars(input, start, end); + let length = dart.notNull(convert._Base64Decoder._stateCount(state)) + (dart.notNull(paddingStart) - dart.notNull(start)); + let bufferLength = length[$rightShift](2) * 3; + let remainderLength = length & 3; + if (remainderLength !== 0 && dart.notNull(paddingStart) < dart.notNull(end)) { + bufferLength = bufferLength + (remainderLength - 1); + } + if (bufferLength > 0) return _native_typed_data.NativeUint8List.new(bufferLength); + return convert._Base64Decoder._emptyBuffer; + } + static _trimPaddingChars(input, start, end) { + if (input == null) dart.nullFailed(I[92], 744, 39, "input"); + if (start == null) dart.nullFailed(I[92], 744, 50, "start"); + if (end == null) dart.nullFailed(I[92], 744, 61, "end"); + let padding = 0; + let index = end; + let newEnd = end; + while (dart.notNull(index) > dart.notNull(start) && padding < 2) { + index = dart.notNull(index) - 1; + let char = input[$codeUnitAt](index); + if (char === 61) { + padding = padding + 1; + newEnd = index; + continue; + } + if ((char | 32) >>> 0 === 100) { + if (index == start) break; + index = dart.notNull(index) - 1; + char = input[$codeUnitAt](index); + } + if (char === 51) { + if (index == start) break; + index = dart.notNull(index) - 1; + char = input[$codeUnitAt](index); + } + if (char === 37) { + padding = padding + 1; + newEnd = index; + continue; + } + break; + } + return newEnd; + } + static _checkPadding(input, start, end, state) { + if (input == null) dart.nullFailed(I[92], 796, 35, "input"); + if (start == null) dart.nullFailed(I[92], 796, 46, "start"); + if (end == null) dart.nullFailed(I[92], 796, 57, "end"); + if (state == null) dart.nullFailed(I[92], 796, 66, "state"); + if (!dart.test(convert._Base64Decoder._hasSeenPadding(state))) dart.assertFailed(null, I[92], 797, 12, "_hasSeenPadding(state)"); + if (start == end) return state; + let expectedPadding = convert._Base64Decoder._statePadding(state); + if (!(dart.notNull(expectedPadding) >= 0)) dart.assertFailed(null, I[92], 800, 12, "expectedPadding >= 0"); + if (!(dart.notNull(expectedPadding) < 6)) dart.assertFailed(null, I[92], 801, 12, "expectedPadding < 6"); + while (dart.notNull(expectedPadding) > 0) { + let char = input[$codeUnitAt](start); + if (expectedPadding === 3) { + if (char === 61) { + expectedPadding = dart.notNull(expectedPadding) - 3; + start = dart.notNull(start) + 1; + break; + } + if (char === 37) { + expectedPadding = dart.notNull(expectedPadding) - 1; + start = dart.notNull(start) + 1; + if (start == end) break; + char = input[$codeUnitAt](start); + } else { + break; + } + } + let expectedPartialPadding = expectedPadding; + if (dart.notNull(expectedPartialPadding) > 3) expectedPartialPadding = dart.notNull(expectedPartialPadding) - 3; + if (expectedPartialPadding === 2) { + if (char !== 51) break; + start = dart.notNull(start) + 1; + expectedPadding = dart.notNull(expectedPadding) - 1; + if (start == end) break; + char = input[$codeUnitAt](start); + } + if ((char | 32) >>> 0 !== 100) break; + start = dart.notNull(start) + 1; + expectedPadding = dart.notNull(expectedPadding) - 1; + if (start == end) break; + } + if (start != end) { + dart.throw(new core.FormatException.new("Invalid padding character", input, start)); + } + return convert._Base64Decoder._encodePaddingState(expectedPadding); + } + }; + (convert._Base64Decoder.new = function() { + this[_state$0] = 0; + ; + }).prototype = convert._Base64Decoder.prototype; + dart.addTypeTests(convert._Base64Decoder); + dart.addTypeCaches(convert._Base64Decoder); + dart.setMethodSignature(convert._Base64Decoder, () => ({ + __proto__: dart.getMethods(convert._Base64Decoder.__proto__), + decode: dart.fnType(dart.nullable(typed_data.Uint8List), [core.String, core.int, core.int]), + close: dart.fnType(dart.void, [dart.nullable(core.String), dart.nullable(core.int)]) + })); + dart.setLibraryUri(convert._Base64Decoder, I[31]); + dart.setFieldSignature(convert._Base64Decoder, () => ({ + __proto__: dart.getFields(convert._Base64Decoder.__proto__), + [_state$0]: dart.fieldType(core.int) + })); + dart.defineLazy(convert._Base64Decoder, { + /*convert._Base64Decoder._valueShift*/get _valueShift() { + return 2; + }, + /*convert._Base64Decoder._countMask*/get _countMask() { + return 3; + }, + /*convert._Base64Decoder._invalid*/get _invalid() { + return -2; + }, + /*convert._Base64Decoder._padding*/get _padding() { + return -1; + }, + /*convert._Base64Decoder.___*/get ___() { + return -2; + }, + /*convert._Base64Decoder._p*/get _p() { + return -1; + }, + /*convert._Base64Decoder._inverseAlphabet*/get _inverseAlphabet() { + return _native_typed_data.NativeInt8List.fromList(T$.JSArrayOfint().of([-2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -1, -2, -2, -2, -2, -2, 62, -2, 62, -2, 63, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, -2, -2, -2, -1, -2, -2, -2, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, -2, -2, -2, -2, 63, -2, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, -2, -2, -2, -2, -2])); + }, + /*convert._Base64Decoder._char_percent*/get _char_percent() { + return 37; + }, + /*convert._Base64Decoder._char_3*/get _char_3() { + return 51; + }, + /*convert._Base64Decoder._char_d*/get _char_d() { + return 100; + }, + /*convert._Base64Decoder._emptyBuffer*/get _emptyBuffer() { + return _native_typed_data.NativeUint8List.new(0); + }, + set _emptyBuffer(_) {} + }, false); + var _decoder = dart.privateName(convert, "_decoder"); + convert._Base64DecoderSink = class _Base64DecoderSink extends convert.StringConversionSinkBase { + add(string) { + core.String.as(string); + if (string == null) dart.nullFailed(I[92], 850, 19, "string"); + if (string[$isEmpty]) return; + let buffer = this[_decoder].decode(string, 0, string.length); + if (buffer != null) this[_sink$0].add(buffer); + } + close() { + this[_decoder].close(null, null); + this[_sink$0].close(); + } + addSlice(string, start, end, isLast) { + if (string == null) dart.nullFailed(I[92], 861, 24, "string"); + if (start == null) dart.nullFailed(I[92], 861, 36, "start"); + if (end == null) dart.nullFailed(I[92], 861, 47, "end"); + if (isLast == null) dart.nullFailed(I[92], 861, 57, "isLast"); + core.RangeError.checkValidRange(start, end, string.length); + if (start == end) return; + let buffer = this[_decoder].decode(string, start, end); + if (buffer != null) this[_sink$0].add(buffer); + if (dart.test(isLast)) { + this[_decoder].close(string, end); + this[_sink$0].close(); + } + } + }; + (convert._Base64DecoderSink.new = function(_sink) { + if (_sink == null) dart.nullFailed(I[92], 848, 27, "_sink"); + this[_decoder] = new convert._Base64Decoder.new(); + this[_sink$0] = _sink; + ; + }).prototype = convert._Base64DecoderSink.prototype; + dart.addTypeTests(convert._Base64DecoderSink); + dart.addTypeCaches(convert._Base64DecoderSink); + dart.setMethodSignature(convert._Base64DecoderSink, () => ({ + __proto__: dart.getMethods(convert._Base64DecoderSink.__proto__), + close: dart.fnType(dart.void, []), + addSlice: dart.fnType(dart.void, [core.String, core.int, core.int, core.bool]) + })); + dart.setLibraryUri(convert._Base64DecoderSink, I[31]); + dart.setFieldSignature(convert._Base64DecoderSink, () => ({ + __proto__: dart.getFields(convert._Base64DecoderSink.__proto__), + [_sink$0]: dart.finalFieldType(core.Sink$(core.List$(core.int))), + [_decoder]: dart.finalFieldType(convert._Base64Decoder) + })); + convert._ByteAdapterSink = class _ByteAdapterSink extends convert.ByteConversionSinkBase { + add(chunk) { + T$0.ListOfint().as(chunk); + if (chunk == null) dart.nullFailed(I[91], 57, 22, "chunk"); + this[_sink$0].add(chunk); + } + close() { + this[_sink$0].close(); + } + }; + (convert._ByteAdapterSink.new = function(_sink) { + if (_sink == null) dart.nullFailed(I[91], 55, 25, "_sink"); + this[_sink$0] = _sink; + convert._ByteAdapterSink.__proto__.new.call(this); + ; + }).prototype = convert._ByteAdapterSink.prototype; + dart.addTypeTests(convert._ByteAdapterSink); + dart.addTypeCaches(convert._ByteAdapterSink); + dart.setMethodSignature(convert._ByteAdapterSink, () => ({ + __proto__: dart.getMethods(convert._ByteAdapterSink.__proto__), + add: dart.fnType(dart.void, [dart.nullable(core.Object)]), + close: dart.fnType(dart.void, []) + })); + dart.setLibraryUri(convert._ByteAdapterSink, I[31]); + dart.setFieldSignature(convert._ByteAdapterSink, () => ({ + __proto__: dart.getFields(convert._ByteAdapterSink.__proto__), + [_sink$0]: dart.finalFieldType(core.Sink$(core.List$(core.int))) + })); + var _buffer$ = dart.privateName(convert, "_buffer"); + var _bufferIndex = dart.privateName(convert, "_bufferIndex"); + var _callback$ = dart.privateName(convert, "_callback"); + convert._ByteCallbackSink = class _ByteCallbackSink extends convert.ByteConversionSinkBase { + add(chunk) { + T$.IterableOfint().as(chunk); + if (chunk == null) dart.nullFailed(I[91], 80, 26, "chunk"); + let freeCount = dart.notNull(this[_buffer$][$length]) - dart.notNull(this[_bufferIndex]); + if (dart.notNull(chunk[$length]) > freeCount) { + let oldLength = this[_buffer$][$length]; + let newLength = dart.notNull(convert._ByteCallbackSink._roundToPowerOf2(dart.notNull(chunk[$length]) + dart.notNull(oldLength))) * 2; + let grown = _native_typed_data.NativeUint8List.new(newLength); + grown[$setRange](0, this[_buffer$][$length], this[_buffer$]); + this[_buffer$] = grown; + } + this[_buffer$][$setRange](this[_bufferIndex], dart.notNull(this[_bufferIndex]) + dart.notNull(chunk[$length]), chunk); + this[_bufferIndex] = dart.notNull(this[_bufferIndex]) + dart.notNull(chunk[$length]); + } + static _roundToPowerOf2(v) { + if (v == null) dart.nullFailed(I[91], 94, 35, "v"); + if (!(dart.notNull(v) > 0)) dart.assertFailed(null, I[91], 95, 12, "v > 0"); + v = dart.notNull(v) - 1; + v = (dart.notNull(v) | v[$rightShift](1)) >>> 0; + v = (dart.notNull(v) | v[$rightShift](2)) >>> 0; + v = (dart.notNull(v) | v[$rightShift](4)) >>> 0; + v = (dart.notNull(v) | v[$rightShift](8)) >>> 0; + v = (dart.notNull(v) | v[$rightShift](16)) >>> 0; + v = dart.notNull(v) + 1; + return v; + } + close() { + let t173; + t173 = this[_buffer$][$sublist](0, this[_bufferIndex]); + this[_callback$](t173); + } + }; + (convert._ByteCallbackSink.new = function(callback) { + if (callback == null) dart.nullFailed(I[91], 77, 26, "callback"); + this[_buffer$] = _native_typed_data.NativeUint8List.new(1024); + this[_bufferIndex] = 0; + this[_callback$] = callback; + convert._ByteCallbackSink.__proto__.new.call(this); + ; + }).prototype = convert._ByteCallbackSink.prototype; + dart.addTypeTests(convert._ByteCallbackSink); + dart.addTypeCaches(convert._ByteCallbackSink); + dart.setMethodSignature(convert._ByteCallbackSink, () => ({ + __proto__: dart.getMethods(convert._ByteCallbackSink.__proto__), + add: dart.fnType(dart.void, [dart.nullable(core.Object)]), + close: dart.fnType(dart.void, []) + })); + dart.setLibraryUri(convert._ByteCallbackSink, I[31]); + dart.setFieldSignature(convert._ByteCallbackSink, () => ({ + __proto__: dart.getFields(convert._ByteCallbackSink.__proto__), + [_callback$]: dart.finalFieldType(dart.fnType(dart.void, [core.List$(core.int)])), + [_buffer$]: dart.fieldType(core.List$(core.int)), + [_bufferIndex]: dart.fieldType(core.int) + })); + dart.defineLazy(convert._ByteCallbackSink, { + /*convert._ByteCallbackSink._INITIAL_BUFFER_SIZE*/get _INITIAL_BUFFER_SIZE() { + return 1024; + } + }, false); + var _accumulated = dart.privateName(convert, "_accumulated"); + const _is__SimpleCallbackSink_default = Symbol('_is__SimpleCallbackSink_default'); + convert._SimpleCallbackSink$ = dart.generic(T => { + var JSArrayOfT = () => (JSArrayOfT = dart.constFn(_interceptors.JSArray$(T)))(); + class _SimpleCallbackSink extends convert.ChunkedConversionSink$(T) { + add(chunk) { + T.as(chunk); + this[_accumulated][$add](chunk); + } + close() { + let t173; + t173 = this[_accumulated]; + this[_callback$](t173); + } + } + (_SimpleCallbackSink.new = function(_callback) { + if (_callback == null) dart.nullFailed(I[93], 41, 28, "_callback"); + this[_accumulated] = JSArrayOfT().of([]); + this[_callback$] = _callback; + _SimpleCallbackSink.__proto__.new.call(this); + ; + }).prototype = _SimpleCallbackSink.prototype; + dart.addTypeTests(_SimpleCallbackSink); + _SimpleCallbackSink.prototype[_is__SimpleCallbackSink_default] = true; + dart.addTypeCaches(_SimpleCallbackSink); + dart.setMethodSignature(_SimpleCallbackSink, () => ({ + __proto__: dart.getMethods(_SimpleCallbackSink.__proto__), + add: dart.fnType(dart.void, [dart.nullable(core.Object)]), + close: dart.fnType(dart.void, []) + })); + dart.setLibraryUri(_SimpleCallbackSink, I[31]); + dart.setFieldSignature(_SimpleCallbackSink, () => ({ + __proto__: dart.getFields(_SimpleCallbackSink.__proto__), + [_callback$]: dart.finalFieldType(dart.fnType(dart.void, [core.List$(T)])), + [_accumulated]: dart.finalFieldType(core.List$(T)) + })); + return _SimpleCallbackSink; + }); + convert._SimpleCallbackSink = convert._SimpleCallbackSink$(); + dart.addTypeTests(convert._SimpleCallbackSink, _is__SimpleCallbackSink_default); + var _eventSink = dart.privateName(convert, "_eventSink"); + var _chunkedSink$ = dart.privateName(convert, "_chunkedSink"); + const _is__ConverterStreamEventSink_default = Symbol('_is__ConverterStreamEventSink_default'); + convert._ConverterStreamEventSink$ = dart.generic((S, T) => { + class _ConverterStreamEventSink extends core.Object { + add(o) { + S.as(o); + this[_chunkedSink$].add(o); + } + addError(error, stackTrace = null) { + if (error == null) dart.nullFailed(I[93], 75, 24, "error"); + _internal.checkNotNullable(core.Object, error, "error"); + this[_eventSink].addError(error, stackTrace); + } + close() { + this[_chunkedSink$].close(); + } + } + (_ConverterStreamEventSink.new = function(converter, sink) { + if (converter == null) dart.nullFailed(I[93], 67, 45, "converter"); + if (sink == null) dart.nullFailed(I[93], 67, 69, "sink"); + this[_eventSink] = sink; + this[_chunkedSink$] = converter.startChunkedConversion(sink); + ; + }).prototype = _ConverterStreamEventSink.prototype; + dart.addTypeTests(_ConverterStreamEventSink); + _ConverterStreamEventSink.prototype[_is__ConverterStreamEventSink_default] = true; + dart.addTypeCaches(_ConverterStreamEventSink); + _ConverterStreamEventSink[dart.implements] = () => [async.EventSink$(S)]; + dart.setMethodSignature(_ConverterStreamEventSink, () => ({ + __proto__: dart.getMethods(_ConverterStreamEventSink.__proto__), + add: dart.fnType(dart.void, [dart.nullable(core.Object)]), + addError: dart.fnType(dart.void, [core.Object], [dart.nullable(core.StackTrace)]), + close: dart.fnType(dart.void, []) + })); + dart.setLibraryUri(_ConverterStreamEventSink, I[31]); + dart.setFieldSignature(_ConverterStreamEventSink, () => ({ + __proto__: dart.getFields(_ConverterStreamEventSink.__proto__), + [_eventSink]: dart.finalFieldType(async.EventSink$(T)), + [_chunkedSink$]: dart.finalFieldType(core.Sink$(S)) + })); + return _ConverterStreamEventSink; + }); + convert._ConverterStreamEventSink = convert._ConverterStreamEventSink$(); + dart.addTypeTests(convert._ConverterStreamEventSink, _is__ConverterStreamEventSink_default); + var _first$0 = dart.privateName(convert, "_first"); + var _second$0 = dart.privateName(convert, "_second"); + const _is__FusedCodec_default = Symbol('_is__FusedCodec_default'); + convert._FusedCodec$ = dart.generic((S, M, T) => { + class _FusedCodec extends convert.Codec$(S, T) { + get encoder() { + return this[_first$0].encoder.fuse(T, this[_second$0].encoder); + } + get decoder() { + return this[_second$0].decoder.fuse(S, this[_first$0].decoder); + } + } + (_FusedCodec.new = function(_first, _second) { + if (_first == null) dart.nullFailed(I[89], 85, 20, "_first"); + if (_second == null) dart.nullFailed(I[89], 85, 33, "_second"); + this[_first$0] = _first; + this[_second$0] = _second; + _FusedCodec.__proto__.new.call(this); + ; + }).prototype = _FusedCodec.prototype; + dart.addTypeTests(_FusedCodec); + _FusedCodec.prototype[_is__FusedCodec_default] = true; + dart.addTypeCaches(_FusedCodec); + dart.setGetterSignature(_FusedCodec, () => ({ + __proto__: dart.getGetters(_FusedCodec.__proto__), + encoder: convert.Converter$(S, T), + decoder: convert.Converter$(T, S) + })); + dart.setLibraryUri(_FusedCodec, I[31]); + dart.setFieldSignature(_FusedCodec, () => ({ + __proto__: dart.getFields(_FusedCodec.__proto__), + [_first$0]: dart.finalFieldType(convert.Codec$(S, M)), + [_second$0]: dart.finalFieldType(convert.Codec$(M, T)) + })); + return _FusedCodec; + }); + convert._FusedCodec = convert._FusedCodec$(); + dart.addTypeTests(convert._FusedCodec, _is__FusedCodec_default); + var _codec = dart.privateName(convert, "_codec"); + const _is__InvertedCodec_default = Symbol('_is__InvertedCodec_default'); + convert._InvertedCodec$ = dart.generic((T, S) => { + class _InvertedCodec extends convert.Codec$(T, S) { + get encoder() { + return this[_codec].decoder; + } + get decoder() { + return this[_codec].encoder; + } + get inverted() { + return this[_codec]; + } + } + (_InvertedCodec.new = function(codec) { + if (codec == null) dart.nullFailed(I[89], 91, 30, "codec"); + this[_codec] = codec; + _InvertedCodec.__proto__.new.call(this); + ; + }).prototype = _InvertedCodec.prototype; + dart.addTypeTests(_InvertedCodec); + _InvertedCodec.prototype[_is__InvertedCodec_default] = true; + dart.addTypeCaches(_InvertedCodec); + dart.setGetterSignature(_InvertedCodec, () => ({ + __proto__: dart.getGetters(_InvertedCodec.__proto__), + encoder: convert.Converter$(T, S), + decoder: convert.Converter$(S, T) + })); + dart.setLibraryUri(_InvertedCodec, I[31]); + dart.setFieldSignature(_InvertedCodec, () => ({ + __proto__: dart.getFields(_InvertedCodec.__proto__), + [_codec]: dart.finalFieldType(convert.Codec$(S, T)) + })); + return _InvertedCodec; + }); + convert._InvertedCodec = convert._InvertedCodec$(); + dart.addTypeTests(convert._InvertedCodec, _is__InvertedCodec_default); + const _is__FusedConverter_default = Symbol('_is__FusedConverter_default'); + convert._FusedConverter$ = dart.generic((S, M, T) => { + var SinkOfT = () => (SinkOfT = dart.constFn(core.Sink$(T)))(); + class _FusedConverter extends convert.Converter$(S, T) { + convert(input) { + S.as(input); + return this[_second$0].convert(this[_first$0].convert(input)); + } + startChunkedConversion(sink) { + SinkOfT().as(sink); + if (sink == null) dart.nullFailed(I[30], 69, 42, "sink"); + return this[_first$0].startChunkedConversion(this[_second$0].startChunkedConversion(sink)); + } + } + (_FusedConverter.new = function(_first, _second) { + if (_first == null) dart.nullFailed(I[30], 65, 24, "_first"); + if (_second == null) dart.nullFailed(I[30], 65, 37, "_second"); + this[_first$0] = _first; + this[_second$0] = _second; + _FusedConverter.__proto__.new.call(this); + ; + }).prototype = _FusedConverter.prototype; + dart.addTypeTests(_FusedConverter); + _FusedConverter.prototype[_is__FusedConverter_default] = true; + dart.addTypeCaches(_FusedConverter); + dart.setMethodSignature(_FusedConverter, () => ({ + __proto__: dart.getMethods(_FusedConverter.__proto__), + convert: dart.fnType(T, [dart.nullable(core.Object)]) + })); + dart.setLibraryUri(_FusedConverter, I[31]); + dart.setFieldSignature(_FusedConverter, () => ({ + __proto__: dart.getFields(_FusedConverter.__proto__), + [_first$0]: dart.finalFieldType(convert.Converter$(S, M)), + [_second$0]: dart.finalFieldType(convert.Converter$(M, T)) + })); + return _FusedConverter; + }); + convert._FusedConverter = convert._FusedConverter$(); + dart.addTypeTests(convert._FusedConverter, _is__FusedConverter_default); + var _name$2 = dart.privateName(convert, "HtmlEscapeMode._name"); + var escapeLtGt$ = dart.privateName(convert, "HtmlEscapeMode.escapeLtGt"); + var escapeQuot$ = dart.privateName(convert, "HtmlEscapeMode.escapeQuot"); + var escapeApos$ = dart.privateName(convert, "HtmlEscapeMode.escapeApos"); + var escapeSlash$ = dart.privateName(convert, "HtmlEscapeMode.escapeSlash"); + var _name$3 = dart.privateName(convert, "_name"); + convert.HtmlEscapeMode = class HtmlEscapeMode extends core.Object { + get [_name$3]() { + return this[_name$2]; + } + set [_name$3](value) { + super[_name$3] = value; + } + get escapeLtGt() { + return this[escapeLtGt$]; + } + set escapeLtGt(value) { + super.escapeLtGt = value; + } + get escapeQuot() { + return this[escapeQuot$]; + } + set escapeQuot(value) { + super.escapeQuot = value; + } + get escapeApos() { + return this[escapeApos$]; + } + set escapeApos(value) { + super.escapeApos = value; + } + get escapeSlash() { + return this[escapeSlash$]; + } + set escapeSlash(value) { + super.escapeSlash = value; + } + toString() { + return this[_name$3]; + } + }; + (convert.HtmlEscapeMode.__ = function(_name, escapeLtGt, escapeQuot, escapeApos, escapeSlash) { + if (_name == null) dart.nullFailed(I[94], 102, 31, "_name"); + if (escapeLtGt == null) dart.nullFailed(I[94], 102, 43, "escapeLtGt"); + if (escapeQuot == null) dart.nullFailed(I[94], 102, 60, "escapeQuot"); + if (escapeApos == null) dart.nullFailed(I[94], 103, 12, "escapeApos"); + if (escapeSlash == null) dart.nullFailed(I[94], 103, 29, "escapeSlash"); + this[_name$2] = _name; + this[escapeLtGt$] = escapeLtGt; + this[escapeQuot$] = escapeQuot; + this[escapeApos$] = escapeApos; + this[escapeSlash$] = escapeSlash; + ; + }).prototype = convert.HtmlEscapeMode.prototype; + (convert.HtmlEscapeMode.new = function(opts) { + let name = opts && 'name' in opts ? opts.name : "custom"; + if (name == null) dart.nullFailed(I[94], 111, 15, "name"); + let escapeLtGt = opts && 'escapeLtGt' in opts ? opts.escapeLtGt : false; + if (escapeLtGt == null) dart.nullFailed(I[94], 112, 12, "escapeLtGt"); + let escapeQuot = opts && 'escapeQuot' in opts ? opts.escapeQuot : false; + if (escapeQuot == null) dart.nullFailed(I[94], 113, 12, "escapeQuot"); + let escapeApos = opts && 'escapeApos' in opts ? opts.escapeApos : false; + if (escapeApos == null) dart.nullFailed(I[94], 114, 12, "escapeApos"); + let escapeSlash = opts && 'escapeSlash' in opts ? opts.escapeSlash : false; + if (escapeSlash == null) dart.nullFailed(I[94], 115, 12, "escapeSlash"); + this[escapeLtGt$] = escapeLtGt; + this[escapeQuot$] = escapeQuot; + this[escapeApos$] = escapeApos; + this[escapeSlash$] = escapeSlash; + this[_name$2] = name; + ; + }).prototype = convert.HtmlEscapeMode.prototype; + dart.addTypeTests(convert.HtmlEscapeMode); + dart.addTypeCaches(convert.HtmlEscapeMode); + dart.setLibraryUri(convert.HtmlEscapeMode, I[31]); + dart.setFieldSignature(convert.HtmlEscapeMode, () => ({ + __proto__: dart.getFields(convert.HtmlEscapeMode.__proto__), + [_name$3]: dart.finalFieldType(core.String), + escapeLtGt: dart.finalFieldType(core.bool), + escapeQuot: dart.finalFieldType(core.bool), + escapeApos: dart.finalFieldType(core.bool), + escapeSlash: dart.finalFieldType(core.bool) + })); + dart.defineExtensionMethods(convert.HtmlEscapeMode, ['toString']); + dart.defineLazy(convert.HtmlEscapeMode, { + /*convert.HtmlEscapeMode.unknown*/get unknown() { + return C[88] || CT.C88; + }, + /*convert.HtmlEscapeMode.attribute*/get attribute() { + return C[89] || CT.C89; + }, + /*convert.HtmlEscapeMode.sqAttribute*/get sqAttribute() { + return C[90] || CT.C90; + }, + /*convert.HtmlEscapeMode.element*/get element() { + return C[91] || CT.C91; + } + }, false); + var mode$ = dart.privateName(convert, "HtmlEscape.mode"); + var _convert = dart.privateName(convert, "_convert"); + convert.HtmlEscape = class HtmlEscape extends convert.Converter$(core.String, core.String) { + get mode() { + return this[mode$]; + } + set mode(value) { + super.mode = value; + } + convert(text) { + core.String.as(text); + if (text == null) dart.nullFailed(I[94], 152, 25, "text"); + let val = this[_convert](text, 0, text.length); + return val == null ? text : val; + } + [_convert](text, start, end) { + if (text == null) dart.nullFailed(I[94], 161, 27, "text"); + if (start == null) dart.nullFailed(I[94], 161, 37, "start"); + if (end == null) dart.nullFailed(I[94], 161, 48, "end"); + let result = null; + for (let i = start; dart.notNull(i) < dart.notNull(end); i = dart.notNull(i) + 1) { + let ch = text[$_get](i); + let replacement = null; + switch (ch) { + case "&": + { + replacement = "&"; + break; + } + case "\"": + { + if (dart.test(this.mode.escapeQuot)) replacement = """; + break; + } + case "'": + { + if (dart.test(this.mode.escapeApos)) replacement = "'"; + break; + } + case "<": + { + if (dart.test(this.mode.escapeLtGt)) replacement = "<"; + break; + } + case ">": + { + if (dart.test(this.mode.escapeLtGt)) replacement = ">"; + break; + } + case "/": + { + if (dart.test(this.mode.escapeSlash)) replacement = "/"; + break; + } + } + if (replacement != null) { + result == null ? result = new core.StringBuffer.new() : null; + if (result == null) { + dart.throw("unreachable"); + } + if (dart.notNull(i) > dart.notNull(start)) result.write(text[$substring](start, i)); + result.write(replacement); + start = dart.notNull(i) + 1; + } + } + if (result == null) return null; + if (dart.notNull(end) > dart.notNull(start)) result.write(text[$substring](start, end)); + return dart.toString(result); + } + startChunkedConversion(sink) { + T$0.SinkOfString().as(sink); + if (sink == null) dart.nullFailed(I[94], 203, 60, "sink"); + return new convert._HtmlEscapeSink.new(this, convert.StringConversionSink.is(sink) ? sink : new convert._StringAdapterSink.new(sink)); + } + }; + (convert.HtmlEscape.new = function(mode = C[88] || CT.C88) { + if (mode == null) dart.nullFailed(I[94], 150, 26, "mode"); + this[mode$] = mode; + convert.HtmlEscape.__proto__.new.call(this); + ; + }).prototype = convert.HtmlEscape.prototype; + dart.addTypeTests(convert.HtmlEscape); + dart.addTypeCaches(convert.HtmlEscape); + dart.setMethodSignature(convert.HtmlEscape, () => ({ + __proto__: dart.getMethods(convert.HtmlEscape.__proto__), + convert: dart.fnType(core.String, [dart.nullable(core.Object)]), + [_convert]: dart.fnType(dart.nullable(core.String), [core.String, core.int, core.int]), + startChunkedConversion: dart.fnType(convert.StringConversionSink, [dart.nullable(core.Object)]) + })); + dart.setLibraryUri(convert.HtmlEscape, I[31]); + dart.setFieldSignature(convert.HtmlEscape, () => ({ + __proto__: dart.getFields(convert.HtmlEscape.__proto__), + mode: dart.finalFieldType(convert.HtmlEscapeMode) + })); + var _escape$ = dart.privateName(convert, "_escape"); + convert._HtmlEscapeSink = class _HtmlEscapeSink extends convert.StringConversionSinkBase { + addSlice(chunk, start, end, isLast) { + if (chunk == null) dart.nullFailed(I[94], 215, 24, "chunk"); + if (start == null) dart.nullFailed(I[94], 215, 35, "start"); + if (end == null) dart.nullFailed(I[94], 215, 46, "end"); + if (isLast == null) dart.nullFailed(I[94], 215, 56, "isLast"); + let val = this[_escape$][_convert](chunk, start, end); + if (val == null) { + this[_sink$0].addSlice(chunk, start, end, isLast); + } else { + this[_sink$0].add(val); + if (dart.test(isLast)) this[_sink$0].close(); + } + } + close() { + this[_sink$0].close(); + } + }; + (convert._HtmlEscapeSink.new = function(_escape, _sink) { + if (_escape == null) dart.nullFailed(I[94], 213, 24, "_escape"); + if (_sink == null) dart.nullFailed(I[94], 213, 38, "_sink"); + this[_escape$] = _escape; + this[_sink$0] = _sink; + ; + }).prototype = convert._HtmlEscapeSink.prototype; + dart.addTypeTests(convert._HtmlEscapeSink); + dart.addTypeCaches(convert._HtmlEscapeSink); + dart.setMethodSignature(convert._HtmlEscapeSink, () => ({ + __proto__: dart.getMethods(convert._HtmlEscapeSink.__proto__), + addSlice: dart.fnType(dart.void, [core.String, core.int, core.int, core.bool]), + close: dart.fnType(dart.void, []) + })); + dart.setLibraryUri(convert._HtmlEscapeSink, I[31]); + dart.setFieldSignature(convert._HtmlEscapeSink, () => ({ + __proto__: dart.getFields(convert._HtmlEscapeSink.__proto__), + [_escape$]: dart.finalFieldType(convert.HtmlEscape), + [_sink$0]: dart.finalFieldType(convert.StringConversionSink) + })); + var unsupportedObject$ = dart.privateName(convert, "JsonUnsupportedObjectError.unsupportedObject"); + var cause$ = dart.privateName(convert, "JsonUnsupportedObjectError.cause"); + var partialResult$ = dart.privateName(convert, "JsonUnsupportedObjectError.partialResult"); + convert.JsonUnsupportedObjectError = class JsonUnsupportedObjectError extends core.Error { + get unsupportedObject() { + return this[unsupportedObject$]; + } + set unsupportedObject(value) { + super.unsupportedObject = value; + } + get cause() { + return this[cause$]; + } + set cause(value) { + super.cause = value; + } + get partialResult() { + return this[partialResult$]; + } + set partialResult(value) { + super.partialResult = value; + } + toString() { + let safeString = core.Error.safeToString(this.unsupportedObject); + let prefix = null; + if (this.cause != null) { + prefix = "Converting object to an encodable object failed:"; + } else { + prefix = "Converting object did not return an encodable object:"; + } + return dart.str(prefix) + " " + dart.str(safeString); + } + }; + (convert.JsonUnsupportedObjectError.new = function(unsupportedObject, opts) { + let cause = opts && 'cause' in opts ? opts.cause : null; + let partialResult = opts && 'partialResult' in opts ? opts.partialResult : null; + this[unsupportedObject$] = unsupportedObject; + this[cause$] = cause; + this[partialResult$] = partialResult; + convert.JsonUnsupportedObjectError.__proto__.new.call(this); + ; + }).prototype = convert.JsonUnsupportedObjectError.prototype; + dart.addTypeTests(convert.JsonUnsupportedObjectError); + dart.addTypeCaches(convert.JsonUnsupportedObjectError); + dart.setLibraryUri(convert.JsonUnsupportedObjectError, I[31]); + dart.setFieldSignature(convert.JsonUnsupportedObjectError, () => ({ + __proto__: dart.getFields(convert.JsonUnsupportedObjectError.__proto__), + unsupportedObject: dart.finalFieldType(dart.nullable(core.Object)), + cause: dart.finalFieldType(dart.nullable(core.Object)), + partialResult: dart.finalFieldType(dart.nullable(core.String)) + })); + dart.defineExtensionMethods(convert.JsonUnsupportedObjectError, ['toString']); + convert.JsonCyclicError = class JsonCyclicError extends convert.JsonUnsupportedObjectError { + toString() { + return "Cyclic error in JSON stringify"; + } + }; + (convert.JsonCyclicError.new = function(object) { + convert.JsonCyclicError.__proto__.new.call(this, object); + ; + }).prototype = convert.JsonCyclicError.prototype; + dart.addTypeTests(convert.JsonCyclicError); + dart.addTypeCaches(convert.JsonCyclicError); + dart.setLibraryUri(convert.JsonCyclicError, I[31]); + dart.defineExtensionMethods(convert.JsonCyclicError, ['toString']); + var _reviver = dart.privateName(convert, "JsonCodec._reviver"); + var _toEncodable = dart.privateName(convert, "JsonCodec._toEncodable"); + var _toEncodable$ = dart.privateName(convert, "_toEncodable"); + var JsonEncoder__toEncodable = dart.privateName(convert, "JsonEncoder._toEncodable"); + var JsonEncoder_indent = dart.privateName(convert, "JsonEncoder.indent"); + var JsonDecoder__reviver = dart.privateName(convert, "JsonDecoder._reviver"); + convert.JsonCodec = class JsonCodec extends convert.Codec$(dart.nullable(core.Object), core.String) { + get [_reviver$]() { + return this[_reviver]; + } + set [_reviver$](value) { + super[_reviver$] = value; + } + get [_toEncodable$]() { + return this[_toEncodable]; + } + set [_toEncodable$](value) { + super[_toEncodable$] = value; + } + decode(source, opts) { + core.String.as(source); + if (source == null) dart.nullFailed(I[95], 154, 25, "source"); + let reviver = opts && 'reviver' in opts ? opts.reviver : null; + reviver == null ? reviver = this[_reviver$] : null; + if (reviver == null) return this.decoder.convert(source); + return new convert.JsonDecoder.new(reviver).convert(source); + } + encode(value, opts) { + let toEncodable = opts && 'toEncodable' in opts ? opts.toEncodable : null; + toEncodable == null ? toEncodable = this[_toEncodable$] : null; + if (toEncodable == null) return this.encoder.convert(value); + return new convert.JsonEncoder.new(toEncodable).convert(value); + } + get encoder() { + if (this[_toEncodable$] == null) return C[92] || CT.C92; + return new convert.JsonEncoder.new(this[_toEncodable$]); + } + get decoder() { + if (this[_reviver$] == null) return C[93] || CT.C93; + return new convert.JsonDecoder.new(this[_reviver$]); + } + }; + (convert.JsonCodec.new = function(opts) { + let reviver = opts && 'reviver' in opts ? opts.reviver : null; + let toEncodable = opts && 'toEncodable' in opts ? opts.toEncodable : null; + this[_reviver] = reviver; + this[_toEncodable] = toEncodable; + convert.JsonCodec.__proto__.new.call(this); + ; + }).prototype = convert.JsonCodec.prototype; + (convert.JsonCodec.withReviver = function(reviver) { + if (reviver == null) dart.nullFailed(I[95], 143, 33, "reviver"); + convert.JsonCodec.new.call(this, {reviver: reviver}); + }).prototype = convert.JsonCodec.prototype; + dart.addTypeTests(convert.JsonCodec); + dart.addTypeCaches(convert.JsonCodec); + dart.setMethodSignature(convert.JsonCodec, () => ({ + __proto__: dart.getMethods(convert.JsonCodec.__proto__), + decode: dart.fnType(dart.dynamic, [dart.nullable(core.Object)], {reviver: dart.nullable(dart.fnType(dart.nullable(core.Object), [dart.nullable(core.Object), dart.nullable(core.Object)]))}, {}), + encode: dart.fnType(core.String, [dart.nullable(core.Object)], {toEncodable: dart.nullable(dart.fnType(dart.nullable(core.Object), [dart.dynamic]))}, {}) + })); + dart.setGetterSignature(convert.JsonCodec, () => ({ + __proto__: dart.getGetters(convert.JsonCodec.__proto__), + encoder: convert.JsonEncoder, + decoder: convert.JsonDecoder + })); + dart.setLibraryUri(convert.JsonCodec, I[31]); + dart.setFieldSignature(convert.JsonCodec, () => ({ + __proto__: dart.getFields(convert.JsonCodec.__proto__), + [_reviver$]: dart.finalFieldType(dart.nullable(dart.fnType(dart.nullable(core.Object), [dart.nullable(core.Object), dart.nullable(core.Object)]))), + [_toEncodable$]: dart.finalFieldType(dart.nullable(dart.fnType(dart.nullable(core.Object), [dart.dynamic]))) + })); + const indent$ = JsonEncoder_indent; + const _toEncodable$0 = JsonEncoder__toEncodable; + convert.JsonEncoder = class JsonEncoder extends convert.Converter$(dart.nullable(core.Object), core.String) { + get indent() { + return this[indent$]; + } + set indent(value) { + super.indent = value; + } + get [_toEncodable$]() { + return this[_toEncodable$0]; + } + set [_toEncodable$](value) { + super[_toEncodable$] = value; + } + convert(object) { + return convert._JsonStringStringifier.stringify(object, this[_toEncodable$], this.indent); + } + startChunkedConversion(sink) { + T$0.SinkOfString().as(sink); + if (sink == null) dart.nullFailed(I[95], 271, 70, "sink"); + if (convert._Utf8EncoderSink.is(sink)) { + return new convert._JsonUtf8EncoderSink.new(sink[_sink$0], this[_toEncodable$], convert.JsonUtf8Encoder._utf8Encode(this.indent), 256); + } + return new convert._JsonEncoderSink.new(convert.StringConversionSink.is(sink) ? sink : new convert._StringAdapterSink.new(sink), this[_toEncodable$], this.indent); + } + bind(stream) { + T$0.StreamOfObjectN().as(stream); + if (stream == null) dart.nullFailed(I[95], 286, 39, "stream"); + return super.bind(stream); + } + fuse(T, other) { + convert.Converter$(core.String, T).as(other); + if (other == null) dart.nullFailed(I[95], 288, 54, "other"); + if (convert.Utf8Encoder.is(other)) { + return convert.Converter$(T$.ObjectN(), T).as(new convert.JsonUtf8Encoder.new(this.indent, this[_toEncodable$])); + } + return super.fuse(T, other); + } + }; + (convert.JsonEncoder.new = function(toEncodable = null) { + this[indent$] = null; + this[_toEncodable$0] = toEncodable; + convert.JsonEncoder.__proto__.new.call(this); + ; + }).prototype = convert.JsonEncoder.prototype; + (convert.JsonEncoder.withIndent = function(indent, toEncodable = null) { + this[indent$] = indent; + this[_toEncodable$0] = toEncodable; + convert.JsonEncoder.__proto__.new.call(this); + ; + }).prototype = convert.JsonEncoder.prototype; + dart.addTypeTests(convert.JsonEncoder); + dart.addTypeCaches(convert.JsonEncoder); + dart.setMethodSignature(convert.JsonEncoder, () => ({ + __proto__: dart.getMethods(convert.JsonEncoder.__proto__), + convert: dart.fnType(core.String, [dart.nullable(core.Object)]), + startChunkedConversion: dart.fnType(convert.ChunkedConversionSink$(dart.nullable(core.Object)), [dart.nullable(core.Object)]), + fuse: dart.gFnType(T => [convert.Converter$(dart.nullable(core.Object), T), [dart.nullable(core.Object)]], T => [dart.nullable(core.Object)]) + })); + dart.setLibraryUri(convert.JsonEncoder, I[31]); + dart.setFieldSignature(convert.JsonEncoder, () => ({ + __proto__: dart.getFields(convert.JsonEncoder.__proto__), + indent: dart.finalFieldType(dart.nullable(core.String)), + [_toEncodable$]: dart.finalFieldType(dart.nullable(dart.fnType(dart.nullable(core.Object), [dart.dynamic]))) + })); + var _indent$ = dart.privateName(convert, "_indent"); + var _bufferSize$ = dart.privateName(convert, "_bufferSize"); + convert.JsonUtf8Encoder = class JsonUtf8Encoder extends convert.Converter$(dart.nullable(core.Object), core.List$(core.int)) { + static _utf8Encode(string) { + if (string == null) return null; + if (string[$isEmpty]) return _native_typed_data.NativeUint8List.new(0); + L0: { + for (let i = 0; i < string.length; i = i + 1) { + if (string[$codeUnitAt](i) >= 128) break L0; + } + return string[$codeUnits]; + } + return convert.utf8.encode(string); + } + convert(object) { + let bytes = T$0.JSArrayOfListOfint().of([]); + function addChunk(chunk, start, end) { + if (chunk == null) dart.nullFailed(I[95], 365, 29, "chunk"); + if (start == null) dart.nullFailed(I[95], 365, 40, "start"); + if (end == null) dart.nullFailed(I[95], 365, 51, "end"); + if (dart.notNull(start) > 0 || dart.notNull(end) < dart.notNull(chunk[$length])) { + let length = dart.notNull(end) - dart.notNull(start); + chunk = typed_data.Uint8List.view(chunk[$buffer], dart.notNull(chunk[$offsetInBytes]) + dart.notNull(start), length); + } + bytes[$add](chunk); + } + dart.fn(addChunk, T$0.Uint8ListAndintAndintTovoid()); + convert._JsonUtf8Stringifier.stringify(object, this[_indent$], this[_toEncodable$], this[_bufferSize$], addChunk); + if (bytes[$length] === 1) return bytes[$_get](0); + let length = 0; + for (let i = 0; i < dart.notNull(bytes[$length]); i = i + 1) { + length = length + dart.notNull(bytes[$_get](i)[$length]); + } + let result = _native_typed_data.NativeUint8List.new(length); + for (let i = 0, offset = 0; i < dart.notNull(bytes[$length]); i = i + 1) { + let byteList = bytes[$_get](i); + let end = offset + dart.notNull(byteList[$length]); + result[$setRange](offset, end, byteList); + offset = end; + } + return result; + } + startChunkedConversion(sink) { + T$0.SinkOfListOfint().as(sink); + if (sink == null) dart.nullFailed(I[95], 397, 73, "sink"); + let byteSink = null; + if (convert.ByteConversionSink.is(sink)) { + byteSink = sink; + } else { + byteSink = new convert._ByteAdapterSink.new(sink); + } + return new convert._JsonUtf8EncoderSink.new(byteSink, this[_toEncodable$], this[_indent$], this[_bufferSize$]); + } + bind(stream) { + T$0.StreamOfObjectN().as(stream); + if (stream == null) dart.nullFailed(I[95], 408, 42, "stream"); + return super.bind(stream); + } + }; + (convert.JsonUtf8Encoder.new = function(indent = null, toEncodable = null, bufferSize = null) { + let t173; + this[_indent$] = convert.JsonUtf8Encoder._utf8Encode(indent); + this[_toEncodable$] = toEncodable; + this[_bufferSize$] = (t173 = bufferSize, t173 == null ? 256 : t173); + convert.JsonUtf8Encoder.__proto__.new.call(this); + ; + }).prototype = convert.JsonUtf8Encoder.prototype; + dart.addTypeTests(convert.JsonUtf8Encoder); + dart.addTypeCaches(convert.JsonUtf8Encoder); + dart.setMethodSignature(convert.JsonUtf8Encoder, () => ({ + __proto__: dart.getMethods(convert.JsonUtf8Encoder.__proto__), + convert: dart.fnType(core.List$(core.int), [dart.nullable(core.Object)]), + startChunkedConversion: dart.fnType(convert.ChunkedConversionSink$(dart.nullable(core.Object)), [dart.nullable(core.Object)]) + })); + dart.setLibraryUri(convert.JsonUtf8Encoder, I[31]); + dart.setFieldSignature(convert.JsonUtf8Encoder, () => ({ + __proto__: dart.getFields(convert.JsonUtf8Encoder.__proto__), + [_indent$]: dart.finalFieldType(dart.nullable(core.List$(core.int))), + [_toEncodable$]: dart.finalFieldType(dart.nullable(dart.fnType(dart.nullable(core.Object), [dart.dynamic]))), + [_bufferSize$]: dart.finalFieldType(core.int) + })); + dart.defineLazy(convert.JsonUtf8Encoder, { + /*convert.JsonUtf8Encoder._defaultBufferSize*/get _defaultBufferSize() { + return 256; + }, + /*convert.JsonUtf8Encoder.DEFAULT_BUFFER_SIZE*/get DEFAULT_BUFFER_SIZE() { + return 256; + } + }, false); + var _isDone = dart.privateName(convert, "_isDone"); + convert._JsonEncoderSink = class _JsonEncoderSink extends convert.ChunkedConversionSink$(dart.nullable(core.Object)) { + add(o) { + if (dart.test(this[_isDone])) { + dart.throw(new core.StateError.new("Only one call to add allowed")); + } + this[_isDone] = true; + let stringSink = this[_sink$0].asStringSink(); + convert._JsonStringStringifier.printOn(o, stringSink, this[_toEncodable$], this[_indent$]); + stringSink.close(); + } + close() { + } + }; + (convert._JsonEncoderSink.new = function(_sink, _toEncodable, _indent) { + if (_sink == null) dart.nullFailed(I[95], 422, 25, "_sink"); + this[_isDone] = false; + this[_sink$0] = _sink; + this[_toEncodable$] = _toEncodable; + this[_indent$] = _indent; + convert._JsonEncoderSink.__proto__.new.call(this); + ; + }).prototype = convert._JsonEncoderSink.prototype; + dart.addTypeTests(convert._JsonEncoderSink); + dart.addTypeCaches(convert._JsonEncoderSink); + dart.setMethodSignature(convert._JsonEncoderSink, () => ({ + __proto__: dart.getMethods(convert._JsonEncoderSink.__proto__), + add: dart.fnType(dart.void, [dart.nullable(core.Object)]), + close: dart.fnType(dart.void, []) + })); + dart.setLibraryUri(convert._JsonEncoderSink, I[31]); + dart.setFieldSignature(convert._JsonEncoderSink, () => ({ + __proto__: dart.getFields(convert._JsonEncoderSink.__proto__), + [_indent$]: dart.finalFieldType(dart.nullable(core.String)), + [_toEncodable$]: dart.finalFieldType(dart.nullable(dart.fnType(dart.nullable(core.Object), [dart.dynamic]))), + [_sink$0]: dart.finalFieldType(convert.StringConversionSink), + [_isDone]: dart.fieldType(core.bool) + })); + var _addChunk = dart.privateName(convert, "_addChunk"); + convert._JsonUtf8EncoderSink = class _JsonUtf8EncoderSink extends convert.ChunkedConversionSink$(dart.nullable(core.Object)) { + [_addChunk](chunk, start, end) { + if (chunk == null) dart.nullFailed(I[95], 454, 28, "chunk"); + if (start == null) dart.nullFailed(I[95], 454, 39, "start"); + if (end == null) dart.nullFailed(I[95], 454, 50, "end"); + this[_sink$0].addSlice(chunk, start, end, false); + } + add(object) { + if (dart.test(this[_isDone])) { + dart.throw(new core.StateError.new("Only one call to add allowed")); + } + this[_isDone] = true; + convert._JsonUtf8Stringifier.stringify(object, this[_indent$], this[_toEncodable$], this[_bufferSize$], dart.bind(this, _addChunk)); + this[_sink$0].close(); + } + close() { + if (!dart.test(this[_isDone])) { + this[_isDone] = true; + this[_sink$0].close(); + } + } + }; + (convert._JsonUtf8EncoderSink.new = function(_sink, _toEncodable, _indent, _bufferSize) { + if (_sink == null) dart.nullFailed(I[95], 451, 12, "_sink"); + if (_bufferSize == null) dart.nullFailed(I[95], 451, 57, "_bufferSize"); + this[_isDone] = false; + this[_sink$0] = _sink; + this[_toEncodable$] = _toEncodable; + this[_indent$] = _indent; + this[_bufferSize$] = _bufferSize; + convert._JsonUtf8EncoderSink.__proto__.new.call(this); + ; + }).prototype = convert._JsonUtf8EncoderSink.prototype; + dart.addTypeTests(convert._JsonUtf8EncoderSink); + dart.addTypeCaches(convert._JsonUtf8EncoderSink); + dart.setMethodSignature(convert._JsonUtf8EncoderSink, () => ({ + __proto__: dart.getMethods(convert._JsonUtf8EncoderSink.__proto__), + [_addChunk]: dart.fnType(dart.void, [typed_data.Uint8List, core.int, core.int]), + add: dart.fnType(dart.void, [dart.nullable(core.Object)]), + close: dart.fnType(dart.void, []) + })); + dart.setLibraryUri(convert._JsonUtf8EncoderSink, I[31]); + dart.setFieldSignature(convert._JsonUtf8EncoderSink, () => ({ + __proto__: dart.getFields(convert._JsonUtf8EncoderSink.__proto__), + [_sink$0]: dart.finalFieldType(convert.ByteConversionSink), + [_indent$]: dart.finalFieldType(dart.nullable(core.List$(core.int))), + [_toEncodable$]: dart.finalFieldType(dart.nullable(dart.fnType(dart.nullable(core.Object), [dart.dynamic]))), + [_bufferSize$]: dart.finalFieldType(core.int), + [_isDone]: dart.fieldType(core.bool) + })); + const _reviver$0 = JsonDecoder__reviver; + convert.JsonDecoder = class JsonDecoder extends convert.Converter$(core.String, dart.nullable(core.Object)) { + get [_reviver$]() { + return this[_reviver$0]; + } + set [_reviver$](value) { + super[_reviver$] = value; + } + convert(input) { + core.String.as(input); + if (input == null) dart.nullFailed(I[95], 506, 26, "input"); + return convert._parseJson(input, this[_reviver$]); + } + startChunkedConversion(sink) { + if (sink == null) dart.nullFailed(I[85], 363, 61, "sink"); + return new convert._JsonDecoderSink.new(this[_reviver$], sink); + } + bind(stream) { + T$0.StreamOfString().as(stream); + if (stream == null) dart.nullFailed(I[95], 514, 39, "stream"); + return super.bind(stream); + } + }; + (convert.JsonDecoder.new = function(reviver = null) { + this[_reviver$0] = reviver; + convert.JsonDecoder.__proto__.new.call(this); + ; + }).prototype = convert.JsonDecoder.prototype; + dart.addTypeTests(convert.JsonDecoder); + dart.addTypeCaches(convert.JsonDecoder); + dart.setMethodSignature(convert.JsonDecoder, () => ({ + __proto__: dart.getMethods(convert.JsonDecoder.__proto__), + convert: dart.fnType(dart.dynamic, [dart.nullable(core.Object)]), + startChunkedConversion: dart.fnType(convert.StringConversionSink, [core.Sink$(dart.nullable(core.Object))]) + })); + dart.setLibraryUri(convert.JsonDecoder, I[31]); + dart.setFieldSignature(convert.JsonDecoder, () => ({ + __proto__: dart.getFields(convert.JsonDecoder.__proto__), + [_reviver$]: dart.finalFieldType(dart.nullable(dart.fnType(dart.nullable(core.Object), [dart.nullable(core.Object), dart.nullable(core.Object)]))) + })); + var _seen = dart.privateName(convert, "_seen"); + var _checkCycle = dart.privateName(convert, "_checkCycle"); + var _removeSeen = dart.privateName(convert, "_removeSeen"); + var _partialResult = dart.privateName(convert, "_partialResult"); + convert._JsonStringifier = class _JsonStringifier extends core.Object { + static hexDigit(x) { + if (x == null) dart.nullFailed(I[95], 574, 27, "x"); + return dart.notNull(x) < 10 ? 48 + dart.notNull(x) : 87 + dart.notNull(x); + } + writeStringContent(s) { + if (s == null) dart.nullFailed(I[95], 577, 34, "s"); + let offset = 0; + let length = s.length; + for (let i = 0; i < length; i = i + 1) { + let charCode = s[$codeUnitAt](i); + if (charCode > 92) { + if (charCode >= 55296) { + if ((charCode & 64512) >>> 0 === 55296 && !(i + 1 < length && (s[$codeUnitAt](i + 1) & 64512) >>> 0 === 56320) || (charCode & 64512) >>> 0 === 56320 && !(i - 1 >= 0 && (s[$codeUnitAt](i - 1) & 64512) >>> 0 === 55296)) { + if (i > offset) this.writeStringSlice(s, offset, i); + offset = i + 1; + this.writeCharCode(92); + this.writeCharCode(117); + this.writeCharCode(100); + this.writeCharCode(convert._JsonStringifier.hexDigit(charCode >> 8 & 15)); + this.writeCharCode(convert._JsonStringifier.hexDigit(charCode >> 4 & 15)); + this.writeCharCode(convert._JsonStringifier.hexDigit(charCode & 15)); + } + } + continue; + } + if (charCode < 32) { + if (i > offset) this.writeStringSlice(s, offset, i); + offset = i + 1; + this.writeCharCode(92); + switch (charCode) { + case 8: + { + this.writeCharCode(98); + break; + } + case 9: + { + this.writeCharCode(116); + break; + } + case 10: + { + this.writeCharCode(110); + break; + } + case 12: + { + this.writeCharCode(102); + break; + } + case 13: + { + this.writeCharCode(114); + break; + } + default: + { + this.writeCharCode(117); + this.writeCharCode(48); + this.writeCharCode(48); + this.writeCharCode(convert._JsonStringifier.hexDigit(charCode >> 4 & 15)); + this.writeCharCode(convert._JsonStringifier.hexDigit(charCode & 15)); + break; + } + } + } else if (charCode === 34 || charCode === 92) { + if (i > offset) this.writeStringSlice(s, offset, i); + offset = i + 1; + this.writeCharCode(92); + this.writeCharCode(charCode); + } + } + if (offset === 0) { + this.writeString(s); + } else if (offset < length) { + this.writeStringSlice(s, offset, length); + } + } + [_checkCycle](object) { + for (let i = 0; i < dart.notNull(this[_seen][$length]); i = i + 1) { + if (core.identical(object, this[_seen][$_get](i))) { + dart.throw(new convert.JsonCyclicError.new(object)); + } + } + this[_seen][$add](object); + } + [_removeSeen](object) { + if (!dart.test(this[_seen][$isNotEmpty])) dart.assertFailed(null, I[95], 666, 12, "_seen.isNotEmpty"); + if (!core.identical(this[_seen][$last], object)) dart.assertFailed(null, I[95], 667, 12, "identical(_seen.last, object)"); + this[_seen][$removeLast](); + } + writeObject(object) { + let t173; + if (dart.test(this.writeJsonValue(object))) return; + this[_checkCycle](object); + try { + let customJson = (t173 = object, this[_toEncodable$](t173)); + if (!dart.test(this.writeJsonValue(customJson))) { + dart.throw(new convert.JsonUnsupportedObjectError.new(object, {partialResult: this[_partialResult]})); + } + this[_removeSeen](object); + } catch (e$) { + let e = dart.getThrown(e$); + if (core.Object.is(e)) { + dart.throw(new convert.JsonUnsupportedObjectError.new(object, {cause: e, partialResult: this[_partialResult]})); + } else + throw e$; + } + } + writeJsonValue(object) { + if (typeof object == 'number') { + if (!object[$isFinite]) return false; + this.writeNumber(object); + return true; + } else if (object === true) { + this.writeString("true"); + return true; + } else if (object === false) { + this.writeString("false"); + return true; + } else if (object == null) { + this.writeString("null"); + return true; + } else if (typeof object == 'string') { + this.writeString("\""); + this.writeStringContent(object); + this.writeString("\""); + return true; + } else if (core.List.is(object)) { + this[_checkCycle](object); + this.writeList(object); + this[_removeSeen](object); + return true; + } else if (core.Map.is(object)) { + this[_checkCycle](object); + let success = this.writeMap(object); + this[_removeSeen](object); + return success; + } else { + return false; + } + } + writeList(list) { + if (list == null) dart.nullFailed(I[95], 733, 32, "list"); + this.writeString("["); + if (dart.test(list[$isNotEmpty])) { + this.writeObject(list[$_get](0)); + for (let i = 1; i < dart.notNull(list[$length]); i = i + 1) { + this.writeString(","); + this.writeObject(list[$_get](i)); + } + } + this.writeString("]"); + } + writeMap(map) { + if (map == null) dart.nullFailed(I[95], 746, 39, "map"); + if (dart.test(map[$isEmpty])) { + this.writeString("{}"); + return true; + } + let keyValueList = T$.ListOfObjectN().filled(dart.notNull(map[$length]) * 2, null); + let i = 0; + let allStringKeys = true; + map[$forEach](dart.fn((key, value) => { + let t174, t174$; + if (!(typeof key == 'string')) { + allStringKeys = false; + } + keyValueList[$_set]((t174 = i, i = t174 + 1, t174), key); + keyValueList[$_set]((t174$ = i, i = t174$ + 1, t174$), value); + }, T$.ObjectNAndObjectNTovoid())); + if (!allStringKeys) return false; + this.writeString("{"); + let separator = "\""; + for (let i = 0; i < dart.notNull(keyValueList[$length]); i = i + 2) { + this.writeString(separator); + separator = ",\""; + this.writeStringContent(core.String.as(keyValueList[$_get](i))); + this.writeString("\":"); + this.writeObject(keyValueList[$_get](i + 1)); + } + this.writeString("}"); + return true; + } + }; + (convert._JsonStringifier.new = function(toEncodable) { + let t173; + this[_seen] = []; + this[_toEncodable$] = (t173 = toEncodable, t173 == null ? C[94] || CT.C94 : t173); + ; + }).prototype = convert._JsonStringifier.prototype; + dart.addTypeTests(convert._JsonStringifier); + dart.addTypeCaches(convert._JsonStringifier); + dart.setMethodSignature(convert._JsonStringifier, () => ({ + __proto__: dart.getMethods(convert._JsonStringifier.__proto__), + writeStringContent: dart.fnType(dart.void, [core.String]), + [_checkCycle]: dart.fnType(dart.void, [dart.nullable(core.Object)]), + [_removeSeen]: dart.fnType(dart.void, [dart.nullable(core.Object)]), + writeObject: dart.fnType(dart.void, [dart.nullable(core.Object)]), + writeJsonValue: dart.fnType(core.bool, [dart.nullable(core.Object)]), + writeList: dart.fnType(dart.void, [core.List$(dart.nullable(core.Object))]), + writeMap: dart.fnType(core.bool, [core.Map$(dart.nullable(core.Object), dart.nullable(core.Object))]) + })); + dart.setLibraryUri(convert._JsonStringifier, I[31]); + dart.setFieldSignature(convert._JsonStringifier, () => ({ + __proto__: dart.getFields(convert._JsonStringifier.__proto__), + [_seen]: dart.finalFieldType(core.List), + [_toEncodable$]: dart.finalFieldType(dart.fnType(dart.dynamic, [dart.dynamic])) + })); + dart.defineLazy(convert._JsonStringifier, { + /*convert._JsonStringifier.backspace*/get backspace() { + return 8; + }, + /*convert._JsonStringifier.tab*/get tab() { + return 9; + }, + /*convert._JsonStringifier.newline*/get newline() { + return 10; + }, + /*convert._JsonStringifier.carriageReturn*/get carriageReturn() { + return 13; + }, + /*convert._JsonStringifier.formFeed*/get formFeed() { + return 12; + }, + /*convert._JsonStringifier.quote*/get quote() { + return 34; + }, + /*convert._JsonStringifier.char_0*/get char_0() { + return 48; + }, + /*convert._JsonStringifier.backslash*/get backslash() { + return 92; + }, + /*convert._JsonStringifier.char_b*/get char_b() { + return 98; + }, + /*convert._JsonStringifier.char_d*/get char_d() { + return 100; + }, + /*convert._JsonStringifier.char_f*/get char_f() { + return 102; + }, + /*convert._JsonStringifier.char_n*/get char_n() { + return 110; + }, + /*convert._JsonStringifier.char_r*/get char_r() { + return 114; + }, + /*convert._JsonStringifier.char_t*/get char_t() { + return 116; + }, + /*convert._JsonStringifier.char_u*/get char_u() { + return 117; + }, + /*convert._JsonStringifier.surrogateMin*/get surrogateMin() { + return 55296; + }, + /*convert._JsonStringifier.surrogateMask*/get surrogateMask() { + return 64512; + }, + /*convert._JsonStringifier.surrogateLead*/get surrogateLead() { + return 55296; + }, + /*convert._JsonStringifier.surrogateTrail*/get surrogateTrail() { + return 56320; + } + }, false); + var _indentLevel = dart.privateName(convert, "_JsonPrettyPrintMixin._indentLevel"); + var _indentLevel$ = dart.privateName(convert, "_indentLevel"); + convert._JsonPrettyPrintMixin = class _JsonPrettyPrintMixin extends core.Object { + get [_indentLevel$]() { + return this[_indentLevel]; + } + set [_indentLevel$](value) { + this[_indentLevel] = value; + } + writeList(list) { + if (list == null) dart.nullFailed(I[95], 786, 32, "list"); + if (dart.test(list[$isEmpty])) { + this.writeString("[]"); + } else { + this.writeString("[\n"); + this[_indentLevel$] = dart.notNull(this[_indentLevel$]) + 1; + this.writeIndentation(this[_indentLevel$]); + this.writeObject(list[$_get](0)); + for (let i = 1; i < dart.notNull(list[$length]); i = i + 1) { + this.writeString(",\n"); + this.writeIndentation(this[_indentLevel$]); + this.writeObject(list[$_get](i)); + } + this.writeString("\n"); + this[_indentLevel$] = dart.notNull(this[_indentLevel$]) - 1; + this.writeIndentation(this[_indentLevel$]); + this.writeString("]"); + } + } + writeMap(map) { + if (map == null) dart.nullFailed(I[95], 806, 39, "map"); + if (dart.test(map[$isEmpty])) { + this.writeString("{}"); + return true; + } + let keyValueList = T$.ListOfObjectN().filled(dart.notNull(map[$length]) * 2, null); + let i = 0; + let allStringKeys = true; + map[$forEach](dart.fn((key, value) => { + let t174, t174$; + if (!(typeof key == 'string')) { + allStringKeys = false; + } + keyValueList[$_set]((t174 = i, i = t174 + 1, t174), key); + keyValueList[$_set]((t174$ = i, i = t174$ + 1, t174$), value); + }, T$.ObjectNAndObjectNTovoid())); + if (!allStringKeys) return false; + this.writeString("{\n"); + this[_indentLevel$] = dart.notNull(this[_indentLevel$]) + 1; + let separator = ""; + for (let i = 0; i < dart.notNull(keyValueList[$length]); i = i + 2) { + this.writeString(separator); + separator = ",\n"; + this.writeIndentation(this[_indentLevel$]); + this.writeString("\""); + this.writeStringContent(core.String.as(keyValueList[$_get](i))); + this.writeString("\": "); + this.writeObject(keyValueList[$_get](i + 1)); + } + this.writeString("\n"); + this[_indentLevel$] = dart.notNull(this[_indentLevel$]) - 1; + this.writeIndentation(this[_indentLevel$]); + this.writeString("}"); + return true; + } + }; + (convert._JsonPrettyPrintMixin.new = function() { + this[_indentLevel] = 0; + ; + }).prototype = convert._JsonPrettyPrintMixin.prototype; + dart.addTypeTests(convert._JsonPrettyPrintMixin); + dart.addTypeCaches(convert._JsonPrettyPrintMixin); + convert._JsonPrettyPrintMixin[dart.implements] = () => [convert._JsonStringifier]; + dart.setMethodSignature(convert._JsonPrettyPrintMixin, () => ({ + __proto__: dart.getMethods(convert._JsonPrettyPrintMixin.__proto__), + writeList: dart.fnType(dart.void, [core.List$(dart.nullable(core.Object))]), + writeMap: dart.fnType(core.bool, [core.Map$(dart.nullable(core.Object), dart.nullable(core.Object))]) + })); + dart.setLibraryUri(convert._JsonPrettyPrintMixin, I[31]); + dart.setFieldSignature(convert._JsonPrettyPrintMixin, () => ({ + __proto__: dart.getFields(convert._JsonPrettyPrintMixin.__proto__), + [_indentLevel$]: dart.fieldType(core.int) + })); + convert._JsonStringStringifier = class _JsonStringStringifier extends convert._JsonStringifier { + static stringify(object, toEncodable, indent) { + let output = new core.StringBuffer.new(); + convert._JsonStringStringifier.printOn(object, output, toEncodable, indent); + return output.toString(); + } + static printOn(object, output, toEncodable, indent) { + if (output == null) dart.nullFailed(I[95], 869, 50, "output"); + let stringifier = null; + if (indent == null) { + stringifier = new convert._JsonStringStringifier.new(output, toEncodable); + } else { + stringifier = new convert._JsonStringStringifierPretty.new(output, toEncodable, indent); + } + stringifier.writeObject(object); + } + get [_partialResult]() { + return core.StringBuffer.is(this[_sink$0]) ? dart.toString(this[_sink$0]) : null; + } + writeNumber(number) { + if (number == null) dart.nullFailed(I[95], 882, 24, "number"); + this[_sink$0].write(dart.toString(number)); + } + writeString(string) { + if (string == null) dart.nullFailed(I[95], 886, 27, "string"); + this[_sink$0].write(string); + } + writeStringSlice(string, start, end) { + if (string == null) dart.nullFailed(I[95], 890, 32, "string"); + if (start == null) dart.nullFailed(I[95], 890, 44, "start"); + if (end == null) dart.nullFailed(I[95], 890, 55, "end"); + this[_sink$0].write(string[$substring](start, end)); + } + writeCharCode(charCode) { + if (charCode == null) dart.nullFailed(I[95], 894, 26, "charCode"); + this[_sink$0].writeCharCode(charCode); + } + }; + (convert._JsonStringStringifier.new = function(_sink, _toEncodable) { + if (_sink == null) dart.nullFailed(I[95], 847, 12, "_sink"); + this[_sink$0] = _sink; + convert._JsonStringStringifier.__proto__.new.call(this, _toEncodable); + ; + }).prototype = convert._JsonStringStringifier.prototype; + dart.addTypeTests(convert._JsonStringStringifier); + dart.addTypeCaches(convert._JsonStringStringifier); + dart.setMethodSignature(convert._JsonStringStringifier, () => ({ + __proto__: dart.getMethods(convert._JsonStringStringifier.__proto__), + writeNumber: dart.fnType(dart.void, [core.num]), + writeString: dart.fnType(dart.void, [core.String]), + writeStringSlice: dart.fnType(dart.void, [core.String, core.int, core.int]), + writeCharCode: dart.fnType(dart.void, [core.int]) + })); + dart.setGetterSignature(convert._JsonStringStringifier, () => ({ + __proto__: dart.getGetters(convert._JsonStringStringifier.__proto__), + [_partialResult]: dart.nullable(core.String) + })); + dart.setLibraryUri(convert._JsonStringStringifier, I[31]); + dart.setFieldSignature(convert._JsonStringStringifier, () => ({ + __proto__: dart.getFields(convert._JsonStringStringifier.__proto__), + [_sink$0]: dart.finalFieldType(core.StringSink) + })); + const _JsonStringStringifier__JsonPrettyPrintMixin$36 = class _JsonStringStringifier__JsonPrettyPrintMixin extends convert._JsonStringStringifier {}; + (_JsonStringStringifier__JsonPrettyPrintMixin$36.new = function(_sink, _toEncodable) { + convert._JsonPrettyPrintMixin.new.call(this); + _JsonStringStringifier__JsonPrettyPrintMixin$36.__proto__.new.call(this, _sink, _toEncodable); + }).prototype = _JsonStringStringifier__JsonPrettyPrintMixin$36.prototype; + dart.applyMixin(_JsonStringStringifier__JsonPrettyPrintMixin$36, convert._JsonPrettyPrintMixin); + convert._JsonStringStringifierPretty = class _JsonStringStringifierPretty extends _JsonStringStringifier__JsonPrettyPrintMixin$36 { + writeIndentation(count) { + if (count == null) dart.nullFailed(I[95], 907, 29, "count"); + for (let i = 0; i < dart.notNull(count); i = i + 1) + this.writeString(this[_indent$]); + } + }; + (convert._JsonStringStringifierPretty.new = function(sink, toEncodable, _indent) { + if (sink == null) dart.nullFailed(I[95], 904, 18, "sink"); + if (_indent == null) dart.nullFailed(I[95], 904, 62, "_indent"); + this[_indent$] = _indent; + convert._JsonStringStringifierPretty.__proto__.new.call(this, sink, toEncodable); + ; + }).prototype = convert._JsonStringStringifierPretty.prototype; + dart.addTypeTests(convert._JsonStringStringifierPretty); + dart.addTypeCaches(convert._JsonStringStringifierPretty); + dart.setMethodSignature(convert._JsonStringStringifierPretty, () => ({ + __proto__: dart.getMethods(convert._JsonStringStringifierPretty.__proto__), + writeIndentation: dart.fnType(dart.void, [core.int]) + })); + dart.setLibraryUri(convert._JsonStringStringifierPretty, I[31]); + dart.setFieldSignature(convert._JsonStringStringifierPretty, () => ({ + __proto__: dart.getFields(convert._JsonStringStringifierPretty.__proto__), + [_indent$]: dart.finalFieldType(core.String) + })); + convert._JsonUtf8Stringifier = class _JsonUtf8Stringifier extends convert._JsonStringifier { + static stringify(object, indent, toEncodable, bufferSize, addChunk) { + if (bufferSize == null) dart.nullFailed(I[95], 940, 11, "bufferSize"); + if (addChunk == null) dart.nullFailed(I[95], 941, 12, "addChunk"); + let stringifier = null; + if (indent != null) { + stringifier = new convert._JsonUtf8StringifierPretty.new(toEncodable, indent, bufferSize, addChunk); + } else { + stringifier = new convert._JsonUtf8Stringifier.new(toEncodable, bufferSize, addChunk); + } + stringifier.writeObject(object); + stringifier.flush(); + } + flush() { + let t176, t175, t174; + if (dart.notNull(this.index) > 0) { + t174 = this.buffer; + t175 = 0; + t176 = this.index; + this.addChunk(t174, t175, t176); + } + this.buffer = _native_typed_data.NativeUint8List.new(0); + this.index = 0; + } + get [_partialResult]() { + return null; + } + writeNumber(number) { + if (number == null) dart.nullFailed(I[95], 965, 24, "number"); + this.writeAsciiString(dart.toString(number)); + } + writeAsciiString(string) { + if (string == null) dart.nullFailed(I[95], 970, 32, "string"); + for (let i = 0; i < string.length; i = i + 1) { + let char = string[$codeUnitAt](i); + if (!(char <= 127)) dart.assertFailed(null, I[95], 975, 14, "char <= 0x7f"); + this.writeByte(char); + } + } + writeString(string) { + if (string == null) dart.nullFailed(I[95], 980, 27, "string"); + this.writeStringSlice(string, 0, string.length); + } + writeStringSlice(string, start, end) { + if (string == null) dart.nullFailed(I[95], 984, 32, "string"); + if (start == null) dart.nullFailed(I[95], 984, 44, "start"); + if (end == null) dart.nullFailed(I[95], 984, 55, "end"); + for (let i = start; dart.notNull(i) < dart.notNull(end); i = dart.notNull(i) + 1) { + let char = string[$codeUnitAt](i); + if (char <= 127) { + this.writeByte(char); + } else { + if ((char & 63488) === 55296) { + if (char < 56320 && dart.notNull(i) + 1 < dart.notNull(end)) { + let nextChar = string[$codeUnitAt](dart.notNull(i) + 1); + if ((nextChar & 64512) === 56320) { + char = 65536 + ((char & 1023) << 10) + (nextChar & 1023); + this.writeFourByteCharCode(char); + i = dart.notNull(i) + 1; + continue; + } + } + this.writeMultiByteCharCode(65533); + continue; + } + this.writeMultiByteCharCode(char); + } + } + } + writeCharCode(charCode) { + if (charCode == null) dart.nullFailed(I[95], 1015, 26, "charCode"); + if (dart.notNull(charCode) <= 127) { + this.writeByte(charCode); + return; + } + this.writeMultiByteCharCode(charCode); + } + writeMultiByteCharCode(charCode) { + if (charCode == null) dart.nullFailed(I[95], 1023, 35, "charCode"); + if (dart.notNull(charCode) <= 2047) { + this.writeByte((192 | charCode[$rightShift](6)) >>> 0); + this.writeByte(128 | dart.notNull(charCode) & 63); + return; + } + if (dart.notNull(charCode) <= 65535) { + this.writeByte((224 | charCode[$rightShift](12)) >>> 0); + this.writeByte(128 | dart.notNull(charCode) >> 6 & 63); + this.writeByte(128 | dart.notNull(charCode) & 63); + return; + } + this.writeFourByteCharCode(charCode); + } + writeFourByteCharCode(charCode) { + if (charCode == null) dart.nullFailed(I[95], 1038, 34, "charCode"); + if (!(dart.notNull(charCode) <= 1114111)) dart.assertFailed(null, I[95], 1039, 12, "charCode <= 0x10ffff"); + this.writeByte((240 | charCode[$rightShift](18)) >>> 0); + this.writeByte(128 | dart.notNull(charCode) >> 12 & 63); + this.writeByte(128 | dart.notNull(charCode) >> 6 & 63); + this.writeByte(128 | dart.notNull(charCode) & 63); + } + writeByte(byte) { + let t176, t175, t174, t174$; + if (byte == null) dart.nullFailed(I[95], 1046, 22, "byte"); + if (!(dart.notNull(byte) <= 255)) dart.assertFailed(null, I[95], 1047, 12, "byte <= 0xff"); + if (this.index == this.buffer[$length]) { + t174 = this.buffer; + t175 = 0; + t176 = this.index; + this.addChunk(t174, t175, t176); + this.buffer = _native_typed_data.NativeUint8List.new(this.bufferSize); + this.index = 0; + } + this.buffer[$_set]((t174$ = this.index, this.index = dart.notNull(t174$) + 1, t174$), byte); + } + }; + (convert._JsonUtf8Stringifier.new = function(toEncodable, bufferSize, addChunk) { + if (bufferSize == null) dart.nullFailed(I[95], 923, 45, "bufferSize"); + if (addChunk == null) dart.nullFailed(I[95], 923, 62, "addChunk"); + this.index = 0; + this.bufferSize = bufferSize; + this.addChunk = addChunk; + this.buffer = _native_typed_data.NativeUint8List.new(bufferSize); + convert._JsonUtf8Stringifier.__proto__.new.call(this, toEncodable); + ; + }).prototype = convert._JsonUtf8Stringifier.prototype; + dart.addTypeTests(convert._JsonUtf8Stringifier); + dart.addTypeCaches(convert._JsonUtf8Stringifier); + dart.setMethodSignature(convert._JsonUtf8Stringifier, () => ({ + __proto__: dart.getMethods(convert._JsonUtf8Stringifier.__proto__), + flush: dart.fnType(dart.void, []), + writeNumber: dart.fnType(dart.void, [core.num]), + writeAsciiString: dart.fnType(dart.void, [core.String]), + writeString: dart.fnType(dart.void, [core.String]), + writeStringSlice: dart.fnType(dart.void, [core.String, core.int, core.int]), + writeCharCode: dart.fnType(dart.void, [core.int]), + writeMultiByteCharCode: dart.fnType(dart.void, [core.int]), + writeFourByteCharCode: dart.fnType(dart.void, [core.int]), + writeByte: dart.fnType(dart.void, [core.int]) + })); + dart.setGetterSignature(convert._JsonUtf8Stringifier, () => ({ + __proto__: dart.getGetters(convert._JsonUtf8Stringifier.__proto__), + [_partialResult]: dart.nullable(core.String) + })); + dart.setLibraryUri(convert._JsonUtf8Stringifier, I[31]); + dart.setFieldSignature(convert._JsonUtf8Stringifier, () => ({ + __proto__: dart.getFields(convert._JsonUtf8Stringifier.__proto__), + bufferSize: dart.finalFieldType(core.int), + addChunk: dart.finalFieldType(dart.fnType(dart.void, [typed_data.Uint8List, core.int, core.int])), + buffer: dart.fieldType(typed_data.Uint8List), + index: dart.fieldType(core.int) + })); + const _JsonUtf8Stringifier__JsonPrettyPrintMixin$36 = class _JsonUtf8Stringifier__JsonPrettyPrintMixin extends convert._JsonUtf8Stringifier {}; + (_JsonUtf8Stringifier__JsonPrettyPrintMixin$36.new = function(toEncodable, bufferSize, addChunk) { + convert._JsonPrettyPrintMixin.new.call(this); + _JsonUtf8Stringifier__JsonPrettyPrintMixin$36.__proto__.new.call(this, toEncodable, bufferSize, addChunk); + }).prototype = _JsonUtf8Stringifier__JsonPrettyPrintMixin$36.prototype; + dart.applyMixin(_JsonUtf8Stringifier__JsonPrettyPrintMixin$36, convert._JsonPrettyPrintMixin); + convert._JsonUtf8StringifierPretty = class _JsonUtf8StringifierPretty extends _JsonUtf8Stringifier__JsonPrettyPrintMixin$36 { + writeIndentation(count) { + if (count == null) dart.nullFailed(I[95], 1065, 29, "count"); + let indent = this.indent; + let indentLength = indent[$length]; + if (indentLength === 1) { + let char = indent[$_get](0); + while (dart.notNull(count) > 0) { + this.writeByte(char); + count = dart.notNull(count) - 1; + } + return; + } + while (dart.notNull(count) > 0) { + count = dart.notNull(count) - 1; + let end = dart.notNull(this.index) + dart.notNull(indentLength); + if (end <= dart.notNull(this.buffer[$length])) { + this.buffer[$setRange](this.index, end, indent); + this.index = end; + } else { + for (let i = 0; i < dart.notNull(indentLength); i = i + 1) { + this.writeByte(indent[$_get](i)); + } + } + } + } + }; + (convert._JsonUtf8StringifierPretty.new = function(toEncodable, indent, bufferSize, addChunk) { + if (indent == null) dart.nullFailed(I[95], 1061, 68, "indent"); + if (bufferSize == null) dart.nullFailed(I[95], 1062, 11, "bufferSize"); + if (addChunk == null) dart.nullFailed(I[95], 1062, 28, "addChunk"); + this.indent = indent; + convert._JsonUtf8StringifierPretty.__proto__.new.call(this, toEncodable, bufferSize, addChunk); + ; + }).prototype = convert._JsonUtf8StringifierPretty.prototype; + dart.addTypeTests(convert._JsonUtf8StringifierPretty); + dart.addTypeCaches(convert._JsonUtf8StringifierPretty); + dart.setMethodSignature(convert._JsonUtf8StringifierPretty, () => ({ + __proto__: dart.getMethods(convert._JsonUtf8StringifierPretty.__proto__), + writeIndentation: dart.fnType(dart.void, [core.int]) + })); + dart.setLibraryUri(convert._JsonUtf8StringifierPretty, I[31]); + dart.setFieldSignature(convert._JsonUtf8StringifierPretty, () => ({ + __proto__: dart.getFields(convert._JsonUtf8StringifierPretty.__proto__), + indent: dart.finalFieldType(core.List$(core.int)) + })); + var _allowInvalid$1 = dart.privateName(convert, "Latin1Codec._allowInvalid"); + convert.Latin1Codec = class Latin1Codec extends convert.Encoding { + get [_allowInvalid$]() { + return this[_allowInvalid$1]; + } + set [_allowInvalid$](value) { + super[_allowInvalid$] = value; + } + get name() { + return "iso-8859-1"; + } + encode(source) { + core.String.as(source); + if (source == null) dart.nullFailed(I[96], 40, 27, "source"); + return this.encoder.convert(source); + } + decode(bytes, opts) { + let t174; + T$0.ListOfint().as(bytes); + if (bytes == null) dart.nullFailed(I[96], 50, 27, "bytes"); + let allowInvalid = opts && 'allowInvalid' in opts ? opts.allowInvalid : null; + if (dart.test((t174 = allowInvalid, t174 == null ? this[_allowInvalid$] : t174))) { + return (C[95] || CT.C95).convert(bytes); + } else { + return (C[96] || CT.C96).convert(bytes); + } + } + get encoder() { + return C[97] || CT.C97; + } + get decoder() { + return dart.test(this[_allowInvalid$]) ? C[95] || CT.C95 : C[96] || CT.C96; + } + }; + (convert.Latin1Codec.new = function(opts) { + let allowInvalid = opts && 'allowInvalid' in opts ? opts.allowInvalid : false; + if (allowInvalid == null) dart.nullFailed(I[96], 35, 27, "allowInvalid"); + this[_allowInvalid$1] = allowInvalid; + convert.Latin1Codec.__proto__.new.call(this); + ; + }).prototype = convert.Latin1Codec.prototype; + dart.addTypeTests(convert.Latin1Codec); + dart.addTypeCaches(convert.Latin1Codec); + dart.setMethodSignature(convert.Latin1Codec, () => ({ + __proto__: dart.getMethods(convert.Latin1Codec.__proto__), + encode: dart.fnType(typed_data.Uint8List, [dart.nullable(core.Object)]), + decode: dart.fnType(core.String, [dart.nullable(core.Object)], {allowInvalid: dart.nullable(core.bool)}, {}) + })); + dart.setGetterSignature(convert.Latin1Codec, () => ({ + __proto__: dart.getGetters(convert.Latin1Codec.__proto__), + name: core.String, + encoder: convert.Latin1Encoder, + decoder: convert.Latin1Decoder + })); + dart.setLibraryUri(convert.Latin1Codec, I[31]); + dart.setFieldSignature(convert.Latin1Codec, () => ({ + __proto__: dart.getFields(convert.Latin1Codec.__proto__), + [_allowInvalid$]: dart.finalFieldType(core.bool) + })); + convert.Latin1Encoder = class Latin1Encoder extends convert._UnicodeSubsetEncoder {}; + (convert.Latin1Encoder.new = function() { + convert.Latin1Encoder.__proto__.new.call(this, 255); + ; + }).prototype = convert.Latin1Encoder.prototype; + dart.addTypeTests(convert.Latin1Encoder); + dart.addTypeCaches(convert.Latin1Encoder); + dart.setLibraryUri(convert.Latin1Encoder, I[31]); + convert.Latin1Decoder = class Latin1Decoder extends convert._UnicodeSubsetDecoder { + startChunkedConversion(sink) { + T$0.SinkOfString().as(sink); + if (sink == null) dart.nullFailed(I[96], 88, 58, "sink"); + let stringSink = null; + if (convert.StringConversionSink.is(sink)) { + stringSink = sink; + } else { + stringSink = new convert._StringAdapterSink.new(sink); + } + if (!dart.test(this[_allowInvalid$])) return new convert._Latin1DecoderSink.new(stringSink); + return new convert._Latin1AllowInvalidDecoderSink.new(stringSink); + } + }; + (convert.Latin1Decoder.new = function(opts) { + let allowInvalid = opts && 'allowInvalid' in opts ? opts.allowInvalid : false; + if (allowInvalid == null) dart.nullFailed(I[96], 81, 29, "allowInvalid"); + convert.Latin1Decoder.__proto__.new.call(this, allowInvalid, 255); + ; + }).prototype = convert.Latin1Decoder.prototype; + dart.addTypeTests(convert.Latin1Decoder); + dart.addTypeCaches(convert.Latin1Decoder); + dart.setMethodSignature(convert.Latin1Decoder, () => ({ + __proto__: dart.getMethods(convert.Latin1Decoder.__proto__), + startChunkedConversion: dart.fnType(convert.ByteConversionSink, [dart.nullable(core.Object)]) + })); + dart.setLibraryUri(convert.Latin1Decoder, I[31]); + var _addSliceToSink = dart.privateName(convert, "_addSliceToSink"); + convert._Latin1DecoderSink = class _Latin1DecoderSink extends convert.ByteConversionSinkBase { + close() { + dart.nullCheck(this[_sink$0]).close(); + this[_sink$0] = null; + } + add(source) { + T$0.ListOfint().as(source); + if (source == null) dart.nullFailed(I[96], 110, 22, "source"); + this.addSlice(source, 0, source[$length], false); + } + [_addSliceToSink](source, start, end, isLast) { + if (source == null) dart.nullFailed(I[96], 114, 34, "source"); + if (start == null) dart.nullFailed(I[96], 114, 46, "start"); + if (end == null) dart.nullFailed(I[96], 114, 57, "end"); + if (isLast == null) dart.nullFailed(I[96], 114, 67, "isLast"); + dart.nullCheck(this[_sink$0]).add(core.String.fromCharCodes(source, start, end)); + if (dart.test(isLast)) this.close(); + } + addSlice(source, start, end, isLast) { + if (source == null) dart.nullFailed(I[96], 123, 27, "source"); + if (start == null) dart.nullFailed(I[96], 123, 39, "start"); + if (end == null) dart.nullFailed(I[96], 123, 50, "end"); + if (isLast == null) dart.nullFailed(I[96], 123, 60, "isLast"); + core.RangeError.checkValidRange(start, end, source[$length]); + if (start == end) return; + if (!typed_data.Uint8List.is(source)) { + convert._Latin1DecoderSink._checkValidLatin1(source, start, end); + } + this[_addSliceToSink](source, start, end, isLast); + } + static _checkValidLatin1(source, start, end) { + if (source == null) dart.nullFailed(I[96], 135, 43, "source"); + if (start == null) dart.nullFailed(I[96], 135, 55, "start"); + if (end == null) dart.nullFailed(I[96], 135, 66, "end"); + let mask = 0; + for (let i = start; dart.notNull(i) < dart.notNull(end); i = dart.notNull(i) + 1) { + mask = (mask | dart.notNull(source[$_get](i))) >>> 0; + } + if (mask >= 0 && mask <= 255) { + return; + } + convert._Latin1DecoderSink._reportInvalidLatin1(source, start, end); + } + static _reportInvalidLatin1(source, start, end) { + if (source == null) dart.nullFailed(I[96], 146, 46, "source"); + if (start == null) dart.nullFailed(I[96], 146, 58, "start"); + if (end == null) dart.nullFailed(I[96], 146, 69, "end"); + for (let i = start; dart.notNull(i) < dart.notNull(end); i = dart.notNull(i) + 1) { + let char = source[$_get](i); + if (dart.notNull(char) < 0 || dart.notNull(char) > 255) { + dart.throw(new core.FormatException.new("Source contains non-Latin-1 characters.", source, i)); + } + } + if (!false) dart.assertFailed(null, I[96], 156, 12, "false"); + } + }; + (convert._Latin1DecoderSink.new = function(_sink) { + this[_sink$0] = _sink; + convert._Latin1DecoderSink.__proto__.new.call(this); + ; + }).prototype = convert._Latin1DecoderSink.prototype; + dart.addTypeTests(convert._Latin1DecoderSink); + dart.addTypeCaches(convert._Latin1DecoderSink); + dart.setMethodSignature(convert._Latin1DecoderSink, () => ({ + __proto__: dart.getMethods(convert._Latin1DecoderSink.__proto__), + close: dart.fnType(dart.void, []), + add: dart.fnType(dart.void, [dart.nullable(core.Object)]), + [_addSliceToSink]: dart.fnType(dart.void, [core.List$(core.int), core.int, core.int, core.bool]) + })); + dart.setLibraryUri(convert._Latin1DecoderSink, I[31]); + dart.setFieldSignature(convert._Latin1DecoderSink, () => ({ + __proto__: dart.getFields(convert._Latin1DecoderSink.__proto__), + [_sink$0]: dart.fieldType(dart.nullable(convert.StringConversionSink)) + })); + convert._Latin1AllowInvalidDecoderSink = class _Latin1AllowInvalidDecoderSink extends convert._Latin1DecoderSink { + addSlice(source, start, end, isLast) { + if (source == null) dart.nullFailed(I[96], 163, 27, "source"); + if (start == null) dart.nullFailed(I[96], 163, 39, "start"); + if (end == null) dart.nullFailed(I[96], 163, 50, "end"); + if (isLast == null) dart.nullFailed(I[96], 163, 60, "isLast"); + core.RangeError.checkValidRange(start, end, source[$length]); + for (let i = start; dart.notNull(i) < dart.notNull(end); i = dart.notNull(i) + 1) { + let char = source[$_get](i); + if (dart.notNull(char) > 255 || dart.notNull(char) < 0) { + if (dart.notNull(i) > dart.notNull(start)) this[_addSliceToSink](source, start, i, false); + this[_addSliceToSink](C[98] || CT.C98, 0, 1, false); + start = dart.notNull(i) + 1; + } + } + if (dart.notNull(start) < dart.notNull(end)) { + this[_addSliceToSink](source, start, end, isLast); + } + if (dart.test(isLast)) { + this.close(); + } + } + }; + (convert._Latin1AllowInvalidDecoderSink.new = function(sink) { + if (sink == null) dart.nullFailed(I[96], 161, 55, "sink"); + convert._Latin1AllowInvalidDecoderSink.__proto__.new.call(this, sink); + ; + }).prototype = convert._Latin1AllowInvalidDecoderSink.prototype; + dart.addTypeTests(convert._Latin1AllowInvalidDecoderSink); + dart.addTypeCaches(convert._Latin1AllowInvalidDecoderSink); + dart.setLibraryUri(convert._Latin1AllowInvalidDecoderSink, I[31]); + convert.LineSplitter = class LineSplitter extends async.StreamTransformerBase$(core.String, core.String) { + static split(lines, start = 0, end = null) { + if (lines == null) dart.nullFailed(I[97], 28, 40, "lines"); + if (start == null) dart.nullFailed(I[97], 28, 52, "start"); + return new (T$0.SyncIterableOfString()).new(() => (function* split(end) { + end = core.RangeError.checkValidRange(start, end, lines.length); + if (end == null) { + dart.throw(new core.RangeError.new("Invalid range")); + } + let sliceStart = start; + let char = 0; + for (let i = start; dart.notNull(i) < dart.notNull(end); i = dart.notNull(i) + 1) { + let previousChar = char; + char = lines[$codeUnitAt](i); + if (char !== 13) { + if (char !== 10) continue; + if (previousChar === 13) { + sliceStart = dart.notNull(i) + 1; + continue; + } + } + yield lines[$substring](sliceStart, i); + sliceStart = dart.notNull(i) + 1; + } + if (dart.notNull(sliceStart) < dart.notNull(end)) { + yield lines[$substring](sliceStart, end); + } + })(end)); + } + convert(data) { + if (data == null) dart.nullFailed(I[97], 54, 31, "data"); + let lines = T$.JSArrayOfString().of([]); + let end = data.length; + let sliceStart = 0; + let char = 0; + for (let i = 0; i < end; i = i + 1) { + let previousChar = char; + char = data[$codeUnitAt](i); + if (char !== 13) { + if (char !== 10) continue; + if (previousChar === 13) { + sliceStart = i + 1; + continue; + } + } + lines[$add](data[$substring](sliceStart, i)); + sliceStart = i + 1; + } + if (sliceStart < end) { + lines[$add](data[$substring](sliceStart, end)); + } + return lines; + } + startChunkedConversion(sink) { + if (sink == null) dart.nullFailed(I[97], 78, 60, "sink"); + return new convert._LineSplitterSink.new(convert.StringConversionSink.is(sink) ? sink : new convert._StringAdapterSink.new(sink)); + } + bind(stream) { + T$0.StreamOfString().as(stream); + if (stream == null) dart.nullFailed(I[97], 83, 38, "stream"); + return T$0.StreamOfString().eventTransformed(stream, dart.fn(sink => { + if (sink == null) dart.nullFailed(I[97], 85, 36, "sink"); + return new convert._LineSplitterEventSink.new(sink); + }, T$0.EventSinkOfStringTo_LineSplitterEventSink())); + } + }; + (convert.LineSplitter.new = function() { + convert.LineSplitter.__proto__.new.call(this); + ; + }).prototype = convert.LineSplitter.prototype; + dart.addTypeTests(convert.LineSplitter); + dart.addTypeCaches(convert.LineSplitter); + dart.setMethodSignature(convert.LineSplitter, () => ({ + __proto__: dart.getMethods(convert.LineSplitter.__proto__), + convert: dart.fnType(core.List$(core.String), [core.String]), + startChunkedConversion: dart.fnType(convert.StringConversionSink, [core.Sink$(core.String)]), + bind: dart.fnType(async.Stream$(core.String), [dart.nullable(core.Object)]) + })); + dart.setLibraryUri(convert.LineSplitter, I[31]); + var _carry = dart.privateName(convert, "_carry"); + var _skipLeadingLF = dart.privateName(convert, "_skipLeadingLF"); + var _addLines = dart.privateName(convert, "_addLines"); + convert._LineSplitterSink = class _LineSplitterSink extends convert.StringConversionSinkBase { + addSlice(chunk, start, end, isLast) { + if (chunk == null) dart.nullFailed(I[97], 109, 24, "chunk"); + if (start == null) dart.nullFailed(I[97], 109, 35, "start"); + if (end == null) dart.nullFailed(I[97], 109, 46, "end"); + if (isLast == null) dart.nullFailed(I[97], 109, 56, "isLast"); + end = core.RangeError.checkValidRange(start, end, chunk.length); + if (dart.notNull(start) >= dart.notNull(end)) { + if (dart.test(isLast)) this.close(); + return; + } + let carry = this[_carry]; + if (carry != null) { + if (!!dart.test(this[_skipLeadingLF])) dart.assertFailed(null, I[97], 119, 14, "!_skipLeadingLF"); + chunk = dart.notNull(carry) + chunk[$substring](start, end); + start = 0; + end = chunk.length; + this[_carry] = null; + } else if (dart.test(this[_skipLeadingLF])) { + if (chunk[$codeUnitAt](start) === 10) { + start = dart.notNull(start) + 1; + } + this[_skipLeadingLF] = false; + } + this[_addLines](chunk, start, end); + if (dart.test(isLast)) this.close(); + } + close() { + if (this[_carry] != null) { + this[_sink$0].add(dart.nullCheck(this[_carry])); + this[_carry] = null; + } + this[_sink$0].close(); + } + [_addLines](lines, start, end) { + if (lines == null) dart.nullFailed(I[97], 142, 25, "lines"); + if (start == null) dart.nullFailed(I[97], 142, 36, "start"); + if (end == null) dart.nullFailed(I[97], 142, 47, "end"); + let sliceStart = start; + let char = 0; + for (let i = start; dart.notNull(i) < dart.notNull(end); i = dart.notNull(i) + 1) { + let previousChar = char; + char = lines[$codeUnitAt](i); + if (char !== 13) { + if (char !== 10) continue; + if (previousChar === 13) { + sliceStart = dart.notNull(i) + 1; + continue; + } + } + this[_sink$0].add(lines[$substring](sliceStart, i)); + sliceStart = dart.notNull(i) + 1; + } + if (dart.notNull(sliceStart) < dart.notNull(end)) { + this[_carry] = lines[$substring](sliceStart, end); + } else { + this[_skipLeadingLF] = char === 13; + } + } + }; + (convert._LineSplitterSink.new = function(_sink) { + if (_sink == null) dart.nullFailed(I[97], 107, 26, "_sink"); + this[_carry] = null; + this[_skipLeadingLF] = false; + this[_sink$0] = _sink; + ; + }).prototype = convert._LineSplitterSink.prototype; + dart.addTypeTests(convert._LineSplitterSink); + dart.addTypeCaches(convert._LineSplitterSink); + dart.setMethodSignature(convert._LineSplitterSink, () => ({ + __proto__: dart.getMethods(convert._LineSplitterSink.__proto__), + addSlice: dart.fnType(dart.void, [core.String, core.int, core.int, core.bool]), + close: dart.fnType(dart.void, []), + [_addLines]: dart.fnType(dart.void, [core.String, core.int, core.int]) + })); + dart.setLibraryUri(convert._LineSplitterSink, I[31]); + dart.setFieldSignature(convert._LineSplitterSink, () => ({ + __proto__: dart.getFields(convert._LineSplitterSink.__proto__), + [_sink$0]: dart.finalFieldType(convert.StringConversionSink), + [_carry]: dart.fieldType(dart.nullable(core.String)), + [_skipLeadingLF]: dart.fieldType(core.bool) + })); + convert._LineSplitterEventSink = class _LineSplitterEventSink extends convert._LineSplitterSink { + addError(o, stackTrace = null) { + if (o == null) dart.nullFailed(I[97], 174, 24, "o"); + this[_eventSink].addError(o, stackTrace); + } + }; + (convert._LineSplitterEventSink.new = function(eventSink) { + if (eventSink == null) dart.nullFailed(I[97], 170, 44, "eventSink"); + this[_eventSink] = eventSink; + convert._LineSplitterEventSink.__proto__.new.call(this, new convert._StringAdapterSink.new(eventSink)); + ; + }).prototype = convert._LineSplitterEventSink.prototype; + dart.addTypeTests(convert._LineSplitterEventSink); + dart.addTypeCaches(convert._LineSplitterEventSink); + convert._LineSplitterEventSink[dart.implements] = () => [async.EventSink$(core.String)]; + dart.setMethodSignature(convert._LineSplitterEventSink, () => ({ + __proto__: dart.getMethods(convert._LineSplitterEventSink.__proto__), + addError: dart.fnType(dart.void, [core.Object], [dart.nullable(core.StackTrace)]) + })); + dart.setLibraryUri(convert._LineSplitterEventSink, I[31]); + dart.setFieldSignature(convert._LineSplitterEventSink, () => ({ + __proto__: dart.getFields(convert._LineSplitterEventSink.__proto__), + [_eventSink]: dart.finalFieldType(async.EventSink$(core.String)) + })); + convert.StringConversionSink = class StringConversionSink extends convert.ChunkedConversionSink$(core.String) {}; + (convert.StringConversionSink.new = function() { + convert.StringConversionSink.__proto__.new.call(this); + ; + }).prototype = convert.StringConversionSink.prototype; + dart.addTypeTests(convert.StringConversionSink); + dart.addTypeCaches(convert.StringConversionSink); + dart.setLibraryUri(convert.StringConversionSink, I[31]); + core.StringSink = class StringSink extends core.Object {}; + (core.StringSink.new = function() { + ; + }).prototype = core.StringSink.prototype; + dart.addTypeTests(core.StringSink); + dart.addTypeCaches(core.StringSink); + dart.setLibraryUri(core.StringSink, I[8]); + convert.ClosableStringSink = class ClosableStringSink extends core.StringSink {}; + dart.addTypeTests(convert.ClosableStringSink); + dart.addTypeCaches(convert.ClosableStringSink); + dart.setLibraryUri(convert.ClosableStringSink, I[31]); + convert._ClosableStringSink = class _ClosableStringSink extends core.Object { + close() { + this[_callback$](); + } + writeCharCode(charCode) { + if (charCode == null) dart.nullFailed(I[86], 78, 26, "charCode"); + this[_sink$0].writeCharCode(charCode); + } + write(o) { + this[_sink$0].write(o); + } + writeln(o = "") { + this[_sink$0].writeln(o); + } + writeAll(objects, separator = "") { + if (objects == null) dart.nullFailed(I[86], 90, 26, "objects"); + if (separator == null) dart.nullFailed(I[86], 90, 43, "separator"); + this[_sink$0].writeAll(objects, separator); + } + }; + (convert._ClosableStringSink.new = function(_sink, _callback) { + if (_sink == null) dart.nullFailed(I[86], 72, 28, "_sink"); + if (_callback == null) dart.nullFailed(I[86], 72, 40, "_callback"); + this[_sink$0] = _sink; + this[_callback$] = _callback; + ; + }).prototype = convert._ClosableStringSink.prototype; + dart.addTypeTests(convert._ClosableStringSink); + dart.addTypeCaches(convert._ClosableStringSink); + convert._ClosableStringSink[dart.implements] = () => [convert.ClosableStringSink]; + dart.setMethodSignature(convert._ClosableStringSink, () => ({ + __proto__: dart.getMethods(convert._ClosableStringSink.__proto__), + close: dart.fnType(dart.void, []), + writeCharCode: dart.fnType(dart.void, [core.int]), + write: dart.fnType(dart.void, [dart.nullable(core.Object)]), + writeln: dart.fnType(dart.void, [], [dart.nullable(core.Object)]), + writeAll: dart.fnType(dart.void, [core.Iterable], [core.String]) + })); + dart.setLibraryUri(convert._ClosableStringSink, I[31]); + dart.setFieldSignature(convert._ClosableStringSink, () => ({ + __proto__: dart.getFields(convert._ClosableStringSink.__proto__), + [_callback$]: dart.finalFieldType(dart.fnType(dart.void, [])), + [_sink$0]: dart.finalFieldType(core.StringSink) + })); + var _flush = dart.privateName(convert, "_flush"); + convert._StringConversionSinkAsStringSinkAdapter = class _StringConversionSinkAsStringSinkAdapter extends core.Object { + close() { + if (dart.test(this[_buffer$].isNotEmpty)) this[_flush](); + this[_chunkedSink$].close(); + } + writeCharCode(charCode) { + if (charCode == null) dart.nullFailed(I[86], 113, 26, "charCode"); + this[_buffer$].writeCharCode(charCode); + if (dart.notNull(this[_buffer$].length) > 16) this[_flush](); + } + write(o) { + if (dart.test(this[_buffer$].isNotEmpty)) this[_flush](); + this[_chunkedSink$].add(dart.toString(o)); + } + writeln(o = "") { + this[_buffer$].writeln(o); + if (dart.notNull(this[_buffer$].length) > 16) this[_flush](); + } + writeAll(objects, separator = "") { + if (objects == null) dart.nullFailed(I[86], 128, 26, "objects"); + if (separator == null) dart.nullFailed(I[86], 128, 43, "separator"); + if (dart.test(this[_buffer$].isNotEmpty)) this[_flush](); + let iterator = objects[$iterator]; + if (!dart.test(iterator.moveNext())) return; + if (separator[$isEmpty]) { + do { + this[_chunkedSink$].add(dart.toString(iterator.current)); + } while (dart.test(iterator.moveNext())); + } else { + this[_chunkedSink$].add(dart.toString(iterator.current)); + while (dart.test(iterator.moveNext())) { + this.write(separator); + this[_chunkedSink$].add(dart.toString(iterator.current)); + } + } + } + [_flush]() { + let accumulated = dart.toString(this[_buffer$]); + this[_buffer$].clear(); + this[_chunkedSink$].add(accumulated); + } + }; + (convert._StringConversionSinkAsStringSinkAdapter.new = function(_chunkedSink) { + if (_chunkedSink == null) dart.nullFailed(I[86], 105, 49, "_chunkedSink"); + this[_chunkedSink$] = _chunkedSink; + this[_buffer$] = new core.StringBuffer.new(); + ; + }).prototype = convert._StringConversionSinkAsStringSinkAdapter.prototype; + dart.addTypeTests(convert._StringConversionSinkAsStringSinkAdapter); + dart.addTypeCaches(convert._StringConversionSinkAsStringSinkAdapter); + convert._StringConversionSinkAsStringSinkAdapter[dart.implements] = () => [convert.ClosableStringSink]; + dart.setMethodSignature(convert._StringConversionSinkAsStringSinkAdapter, () => ({ + __proto__: dart.getMethods(convert._StringConversionSinkAsStringSinkAdapter.__proto__), + close: dart.fnType(dart.void, []), + writeCharCode: dart.fnType(dart.void, [core.int]), + write: dart.fnType(dart.void, [dart.nullable(core.Object)]), + writeln: dart.fnType(dart.void, [], [dart.nullable(core.Object)]), + writeAll: dart.fnType(dart.void, [core.Iterable], [core.String]), + [_flush]: dart.fnType(dart.void, []) + })); + dart.setLibraryUri(convert._StringConversionSinkAsStringSinkAdapter, I[31]); + dart.setFieldSignature(convert._StringConversionSinkAsStringSinkAdapter, () => ({ + __proto__: dart.getFields(convert._StringConversionSinkAsStringSinkAdapter.__proto__), + [_buffer$]: dart.finalFieldType(core.StringBuffer), + [_chunkedSink$]: dart.finalFieldType(convert.StringConversionSink) + })); + dart.defineLazy(convert._StringConversionSinkAsStringSinkAdapter, { + /*convert._StringConversionSinkAsStringSinkAdapter._MIN_STRING_SIZE*/get _MIN_STRING_SIZE() { + return 16; + } + }, false); + convert._StringCallbackSink = class _StringCallbackSink extends convert._StringSinkConversionSink$(core.StringBuffer) { + close() { + let t174; + let accumulated = dart.toString(this[_stringSink$]); + this[_stringSink$].clear(); + t174 = accumulated; + this[_callback$](t174); + } + asUtf8Sink(allowMalformed) { + if (allowMalformed == null) dart.nullFailed(I[86], 222, 38, "allowMalformed"); + return new convert._Utf8StringSinkAdapter.new(this, this[_stringSink$], allowMalformed); + } + }; + (convert._StringCallbackSink.new = function(_callback) { + if (_callback == null) dart.nullFailed(I[86], 214, 28, "_callback"); + this[_callback$] = _callback; + convert._StringCallbackSink.__proto__.new.call(this, new core.StringBuffer.new()); + ; + }).prototype = convert._StringCallbackSink.prototype; + dart.addTypeTests(convert._StringCallbackSink); + dart.addTypeCaches(convert._StringCallbackSink); + dart.setLibraryUri(convert._StringCallbackSink, I[31]); + dart.setFieldSignature(convert._StringCallbackSink, () => ({ + __proto__: dart.getFields(convert._StringCallbackSink.__proto__), + [_callback$]: dart.finalFieldType(dart.fnType(dart.void, [core.String])) + })); + convert._StringAdapterSink = class _StringAdapterSink extends convert.StringConversionSinkBase { + add(str) { + core.String.as(str); + if (str == null) dart.nullFailed(I[86], 237, 19, "str"); + this[_sink$0].add(str); + } + addSlice(str, start, end, isLast) { + if (str == null) dart.nullFailed(I[86], 241, 24, "str"); + if (start == null) dart.nullFailed(I[86], 241, 33, "start"); + if (end == null) dart.nullFailed(I[86], 241, 44, "end"); + if (isLast == null) dart.nullFailed(I[86], 241, 54, "isLast"); + if (start === 0 && end === str.length) { + this.add(str); + } else { + this.add(str[$substring](start, end)); + } + if (dart.test(isLast)) this.close(); + } + close() { + this[_sink$0].close(); + } + }; + (convert._StringAdapterSink.new = function(_sink) { + if (_sink == null) dart.nullFailed(I[86], 235, 27, "_sink"); + this[_sink$0] = _sink; + ; + }).prototype = convert._StringAdapterSink.prototype; + dart.addTypeTests(convert._StringAdapterSink); + dart.addTypeCaches(convert._StringAdapterSink); + dart.setMethodSignature(convert._StringAdapterSink, () => ({ + __proto__: dart.getMethods(convert._StringAdapterSink.__proto__), + addSlice: dart.fnType(dart.void, [core.String, core.int, core.int, core.bool]), + close: dart.fnType(dart.void, []) + })); + dart.setLibraryUri(convert._StringAdapterSink, I[31]); + dart.setFieldSignature(convert._StringAdapterSink, () => ({ + __proto__: dart.getFields(convert._StringAdapterSink.__proto__), + [_sink$0]: dart.finalFieldType(core.Sink$(core.String)) + })); + convert._Utf8StringSinkAdapter = class _Utf8StringSinkAdapter extends convert.ByteConversionSink { + close() { + this[_decoder].flush(this[_stringSink$]); + this[_sink$0].close(); + } + add(chunk) { + T$0.ListOfint().as(chunk); + if (chunk == null) dart.nullFailed(I[86], 271, 22, "chunk"); + this.addSlice(chunk, 0, chunk[$length], false); + } + addSlice(codeUnits, startIndex, endIndex, isLast) { + if (codeUnits == null) dart.nullFailed(I[86], 276, 17, "codeUnits"); + if (startIndex == null) dart.nullFailed(I[86], 276, 32, "startIndex"); + if (endIndex == null) dart.nullFailed(I[86], 276, 48, "endIndex"); + if (isLast == null) dart.nullFailed(I[86], 276, 63, "isLast"); + this[_stringSink$].write(this[_decoder].convertChunked(codeUnits, startIndex, endIndex)); + if (dart.test(isLast)) this.close(); + } + }; + (convert._Utf8StringSinkAdapter.new = function(_sink, _stringSink, allowMalformed) { + if (_sink == null) dart.nullFailed(I[86], 263, 31, "_sink"); + if (_stringSink == null) dart.nullFailed(I[86], 263, 43, "_stringSink"); + if (allowMalformed == null) dart.nullFailed(I[86], 263, 61, "allowMalformed"); + this[_sink$0] = _sink; + this[_stringSink$] = _stringSink; + this[_decoder] = new convert._Utf8Decoder.new(allowMalformed); + convert._Utf8StringSinkAdapter.__proto__.new.call(this); + ; + }).prototype = convert._Utf8StringSinkAdapter.prototype; + dart.addTypeTests(convert._Utf8StringSinkAdapter); + dart.addTypeCaches(convert._Utf8StringSinkAdapter); + dart.setMethodSignature(convert._Utf8StringSinkAdapter, () => ({ + __proto__: dart.getMethods(convert._Utf8StringSinkAdapter.__proto__), + close: dart.fnType(dart.void, []), + add: dart.fnType(dart.void, [dart.nullable(core.Object)]), + addSlice: dart.fnType(dart.void, [core.List$(core.int), core.int, core.int, core.bool]) + })); + dart.setLibraryUri(convert._Utf8StringSinkAdapter, I[31]); + dart.setFieldSignature(convert._Utf8StringSinkAdapter, () => ({ + __proto__: dart.getFields(convert._Utf8StringSinkAdapter.__proto__), + [_decoder]: dart.finalFieldType(convert._Utf8Decoder), + [_sink$0]: dart.finalFieldType(core.Sink$(dart.nullable(core.Object))), + [_stringSink$]: dart.finalFieldType(core.StringSink) + })); + convert._Utf8ConversionSink = class _Utf8ConversionSink extends convert.ByteConversionSink { + close() { + this[_decoder].flush(this[_buffer$]); + if (dart.test(this[_buffer$].isNotEmpty)) { + let accumulated = dart.toString(this[_buffer$]); + this[_buffer$].clear(); + this[_chunkedSink$].addSlice(accumulated, 0, accumulated.length, true); + } else { + this[_chunkedSink$].close(); + } + } + add(chunk) { + T$0.ListOfint().as(chunk); + if (chunk == null) dart.nullFailed(I[86], 309, 22, "chunk"); + this.addSlice(chunk, 0, chunk[$length], false); + } + addSlice(chunk, startIndex, endIndex, isLast) { + if (chunk == null) dart.nullFailed(I[86], 313, 27, "chunk"); + if (startIndex == null) dart.nullFailed(I[86], 313, 38, "startIndex"); + if (endIndex == null) dart.nullFailed(I[86], 313, 54, "endIndex"); + if (isLast == null) dart.nullFailed(I[86], 313, 69, "isLast"); + this[_buffer$].write(this[_decoder].convertChunked(chunk, startIndex, endIndex)); + if (dart.test(this[_buffer$].isNotEmpty)) { + let accumulated = dart.toString(this[_buffer$]); + this[_chunkedSink$].addSlice(accumulated, 0, accumulated.length, isLast); + this[_buffer$].clear(); + return; + } + if (dart.test(isLast)) this.close(); + } + }; + (convert._Utf8ConversionSink.new = function(sink, allowMalformed) { + if (sink == null) dart.nullFailed(I[86], 290, 44, "sink"); + if (allowMalformed == null) dart.nullFailed(I[86], 290, 55, "allowMalformed"); + convert._Utf8ConversionSink.__.call(this, sink, new core.StringBuffer.new(), allowMalformed); + }).prototype = convert._Utf8ConversionSink.prototype; + (convert._Utf8ConversionSink.__ = function(_chunkedSink, stringBuffer, allowMalformed) { + if (_chunkedSink == null) dart.nullFailed(I[86], 294, 12, "_chunkedSink"); + if (stringBuffer == null) dart.nullFailed(I[86], 294, 39, "stringBuffer"); + if (allowMalformed == null) dart.nullFailed(I[86], 294, 58, "allowMalformed"); + this[_chunkedSink$] = _chunkedSink; + this[_decoder] = new convert._Utf8Decoder.new(allowMalformed); + this[_buffer$] = stringBuffer; + convert._Utf8ConversionSink.__proto__.new.call(this); + ; + }).prototype = convert._Utf8ConversionSink.prototype; + dart.addTypeTests(convert._Utf8ConversionSink); + dart.addTypeCaches(convert._Utf8ConversionSink); + dart.setMethodSignature(convert._Utf8ConversionSink, () => ({ + __proto__: dart.getMethods(convert._Utf8ConversionSink.__proto__), + close: dart.fnType(dart.void, []), + add: dart.fnType(dart.void, [dart.nullable(core.Object)]), + addSlice: dart.fnType(dart.void, [core.List$(core.int), core.int, core.int, core.bool]) + })); + dart.setLibraryUri(convert._Utf8ConversionSink, I[31]); + dart.setFieldSignature(convert._Utf8ConversionSink, () => ({ + __proto__: dart.getFields(convert._Utf8ConversionSink.__proto__), + [_decoder]: dart.finalFieldType(convert._Utf8Decoder), + [_chunkedSink$]: dart.finalFieldType(convert.StringConversionSink), + [_buffer$]: dart.finalFieldType(core.StringBuffer) + })); + var _allowMalformed = dart.privateName(convert, "Utf8Codec._allowMalformed"); + var _allowMalformed$ = dart.privateName(convert, "_allowMalformed"); + var Utf8Decoder__allowMalformed = dart.privateName(convert, "Utf8Decoder._allowMalformed"); + convert.Utf8Codec = class Utf8Codec extends convert.Encoding { + get [_allowMalformed$]() { + return this[_allowMalformed]; + } + set [_allowMalformed$](value) { + super[_allowMalformed$] = value; + } + get name() { + return "utf-8"; + } + decode(codeUnits, opts) { + let t174; + T$0.ListOfint().as(codeUnits); + if (codeUnits == null) dart.nullFailed(I[98], 58, 27, "codeUnits"); + let allowMalformed = opts && 'allowMalformed' in opts ? opts.allowMalformed : null; + let decoder = dart.test((t174 = allowMalformed, t174 == null ? this[_allowMalformed$] : t174)) ? C[99] || CT.C99 : C[100] || CT.C100; + return decoder.convert(codeUnits); + } + get encoder() { + return C[101] || CT.C101; + } + get decoder() { + return dart.test(this[_allowMalformed$]) ? C[99] || CT.C99 : C[100] || CT.C100; + } + }; + (convert.Utf8Codec.new = function(opts) { + let allowMalformed = opts && 'allowMalformed' in opts ? opts.allowMalformed : false; + if (allowMalformed == null) dart.nullFailed(I[98], 40, 25, "allowMalformed"); + this[_allowMalformed] = allowMalformed; + convert.Utf8Codec.__proto__.new.call(this); + ; + }).prototype = convert.Utf8Codec.prototype; + dart.addTypeTests(convert.Utf8Codec); + dart.addTypeCaches(convert.Utf8Codec); + dart.setMethodSignature(convert.Utf8Codec, () => ({ + __proto__: dart.getMethods(convert.Utf8Codec.__proto__), + decode: dart.fnType(core.String, [dart.nullable(core.Object)], {allowMalformed: dart.nullable(core.bool)}, {}) + })); + dart.setGetterSignature(convert.Utf8Codec, () => ({ + __proto__: dart.getGetters(convert.Utf8Codec.__proto__), + name: core.String, + encoder: convert.Utf8Encoder, + decoder: convert.Utf8Decoder + })); + dart.setLibraryUri(convert.Utf8Codec, I[31]); + dart.setFieldSignature(convert.Utf8Codec, () => ({ + __proto__: dart.getFields(convert.Utf8Codec.__proto__), + [_allowMalformed$]: dart.finalFieldType(core.bool) + })); + var _fillBuffer = dart.privateName(convert, "_fillBuffer"); + var _writeReplacementCharacter = dart.privateName(convert, "_writeReplacementCharacter"); + convert.Utf8Encoder = class Utf8Encoder extends convert.Converter$(core.String, core.List$(core.int)) { + convert(string, start = 0, end = null) { + core.String.as(string); + if (string == null) dart.nullFailed(I[98], 88, 28, "string"); + if (start == null) dart.nullFailed(I[98], 88, 41, "start"); + let stringLength = string.length; + end = core.RangeError.checkValidRange(start, end, stringLength); + if (end == null) { + dart.throw(new core.RangeError.new("Invalid range")); + } + let length = dart.notNull(end) - dart.notNull(start); + if (length === 0) return _native_typed_data.NativeUint8List.new(0); + let encoder = new convert._Utf8Encoder.withBufferSize(length * 3); + let endPosition = encoder[_fillBuffer](string, start, end); + if (!(dart.notNull(endPosition) >= dart.notNull(end) - 1)) dart.assertFailed(null, I[98], 101, 12, "endPosition >= end - 1"); + if (endPosition != end) { + let lastCodeUnit = string[$codeUnitAt](dart.notNull(end) - 1); + if (!dart.test(convert._isLeadSurrogate(lastCodeUnit))) dart.assertFailed(null, I[98], 107, 14, "_isLeadSurrogate(lastCodeUnit)"); + encoder[_writeReplacementCharacter](); + } + return encoder[_buffer$][$sublist](0, encoder[_bufferIndex]); + } + startChunkedConversion(sink) { + T$0.SinkOfListOfint().as(sink); + if (sink == null) dart.nullFailed(I[98], 118, 63, "sink"); + return new convert._Utf8EncoderSink.new(convert.ByteConversionSink.is(sink) ? sink : new convert._ByteAdapterSink.new(sink)); + } + bind(stream) { + T$0.StreamOfString().as(stream); + if (stream == null) dart.nullFailed(I[98], 124, 41, "stream"); + return super.bind(stream); + } + }; + (convert.Utf8Encoder.new = function() { + convert.Utf8Encoder.__proto__.new.call(this); + ; + }).prototype = convert.Utf8Encoder.prototype; + dart.addTypeTests(convert.Utf8Encoder); + dart.addTypeCaches(convert.Utf8Encoder); + dart.setMethodSignature(convert.Utf8Encoder, () => ({ + __proto__: dart.getMethods(convert.Utf8Encoder.__proto__), + convert: dart.fnType(typed_data.Uint8List, [dart.nullable(core.Object)], [core.int, dart.nullable(core.int)]), + startChunkedConversion: dart.fnType(convert.StringConversionSink, [dart.nullable(core.Object)]) + })); + dart.setLibraryUri(convert.Utf8Encoder, I[31]); + var _writeSurrogate = dart.privateName(convert, "_writeSurrogate"); + convert._Utf8Encoder = class _Utf8Encoder extends core.Object { + static _createBuffer(size) { + if (size == null) dart.nullFailed(I[98], 142, 38, "size"); + return _native_typed_data.NativeUint8List.new(size); + } + [_writeReplacementCharacter]() { + let t174, t174$, t174$0; + this[_buffer$][$_set]((t174 = this[_bufferIndex], this[_bufferIndex] = dart.notNull(t174) + 1, t174), 239); + this[_buffer$][$_set]((t174$ = this[_bufferIndex], this[_bufferIndex] = dart.notNull(t174$) + 1, t174$), 191); + this[_buffer$][$_set]((t174$0 = this[_bufferIndex], this[_bufferIndex] = dart.notNull(t174$0) + 1, t174$0), 189); + } + [_writeSurrogate](leadingSurrogate, nextCodeUnit) { + let t174, t174$, t174$0, t174$1; + if (leadingSurrogate == null) dart.nullFailed(I[98], 160, 28, "leadingSurrogate"); + if (nextCodeUnit == null) dart.nullFailed(I[98], 160, 50, "nextCodeUnit"); + if (dart.test(convert._isTailSurrogate(nextCodeUnit))) { + let rune = convert._combineSurrogatePair(leadingSurrogate, nextCodeUnit); + if (!(dart.notNull(rune) > 65535)) dart.assertFailed(null, I[98], 165, 14, "rune > _THREE_BYTE_LIMIT"); + if (!(dart.notNull(rune) <= 1114111)) dart.assertFailed(null, I[98], 166, 14, "rune <= _FOUR_BYTE_LIMIT"); + this[_buffer$][$_set]((t174 = this[_bufferIndex], this[_bufferIndex] = dart.notNull(t174) + 1, t174), (240 | rune[$rightShift](18)) >>> 0); + this[_buffer$][$_set]((t174$ = this[_bufferIndex], this[_bufferIndex] = dart.notNull(t174$) + 1, t174$), 128 | dart.notNull(rune) >> 12 & 63); + this[_buffer$][$_set]((t174$0 = this[_bufferIndex], this[_bufferIndex] = dart.notNull(t174$0) + 1, t174$0), 128 | dart.notNull(rune) >> 6 & 63); + this[_buffer$][$_set]((t174$1 = this[_bufferIndex], this[_bufferIndex] = dart.notNull(t174$1) + 1, t174$1), 128 | dart.notNull(rune) & 63); + return true; + } else { + this[_writeReplacementCharacter](); + return false; + } + } + [_fillBuffer](str, start, end) { + let t175, t175$, t175$0, t175$1, t175$2, t175$3; + if (str == null) dart.nullFailed(I[98], 186, 26, "str"); + if (start == null) dart.nullFailed(I[98], 186, 35, "start"); + if (end == null) dart.nullFailed(I[98], 186, 46, "end"); + if (start != end && dart.test(convert._isLeadSurrogate(str[$codeUnitAt](dart.notNull(end) - 1)))) { + end = dart.notNull(end) - 1; + } + let stringIndex = null; + for (let t174 = stringIndex = start; dart.notNull(stringIndex) < dart.notNull(end); stringIndex = dart.notNull(stringIndex) + 1) { + let codeUnit = str[$codeUnitAt](stringIndex); + if (codeUnit <= 127) { + if (dart.notNull(this[_bufferIndex]) >= dart.notNull(this[_buffer$][$length])) break; + this[_buffer$][$_set]((t175 = this[_bufferIndex], this[_bufferIndex] = dart.notNull(t175) + 1, t175), codeUnit); + } else if (dart.test(convert._isLeadSurrogate(codeUnit))) { + if (dart.notNull(this[_bufferIndex]) + 4 > dart.notNull(this[_buffer$][$length])) break; + let nextCodeUnit = str[$codeUnitAt](dart.notNull(stringIndex) + 1); + let wasCombined = this[_writeSurrogate](codeUnit, nextCodeUnit); + if (dart.test(wasCombined)) stringIndex = dart.notNull(stringIndex) + 1; + } else if (dart.test(convert._isTailSurrogate(codeUnit))) { + if (dart.notNull(this[_bufferIndex]) + 3 > dart.notNull(this[_buffer$][$length])) break; + this[_writeReplacementCharacter](); + } else { + let rune = codeUnit; + if (rune <= 2047) { + if (dart.notNull(this[_bufferIndex]) + 1 >= dart.notNull(this[_buffer$][$length])) break; + this[_buffer$][$_set]((t175$ = this[_bufferIndex], this[_bufferIndex] = dart.notNull(t175$) + 1, t175$), (192 | rune[$rightShift](6)) >>> 0); + this[_buffer$][$_set]((t175$0 = this[_bufferIndex], this[_bufferIndex] = dart.notNull(t175$0) + 1, t175$0), 128 | rune & 63); + } else { + if (!(rune <= 65535)) dart.assertFailed(null, I[98], 217, 18, "rune <= _THREE_BYTE_LIMIT"); + if (dart.notNull(this[_bufferIndex]) + 2 >= dart.notNull(this[_buffer$][$length])) break; + this[_buffer$][$_set]((t175$1 = this[_bufferIndex], this[_bufferIndex] = dart.notNull(t175$1) + 1, t175$1), (224 | rune[$rightShift](12)) >>> 0); + this[_buffer$][$_set]((t175$2 = this[_bufferIndex], this[_bufferIndex] = dart.notNull(t175$2) + 1, t175$2), 128 | rune >> 6 & 63); + this[_buffer$][$_set]((t175$3 = this[_bufferIndex], this[_bufferIndex] = dart.notNull(t175$3) + 1, t175$3), 128 | rune & 63); + } + } + } + return stringIndex; + } + }; + (convert._Utf8Encoder.new = function() { + convert._Utf8Encoder.withBufferSize.call(this, 1024); + }).prototype = convert._Utf8Encoder.prototype; + (convert._Utf8Encoder.withBufferSize = function(bufferSize) { + if (bufferSize == null) dart.nullFailed(I[98], 138, 35, "bufferSize"); + this[_carry] = 0; + this[_bufferIndex] = 0; + this[_buffer$] = convert._Utf8Encoder._createBuffer(bufferSize); + ; + }).prototype = convert._Utf8Encoder.prototype; + dart.addTypeTests(convert._Utf8Encoder); + dart.addTypeCaches(convert._Utf8Encoder); + dart.setMethodSignature(convert._Utf8Encoder, () => ({ + __proto__: dart.getMethods(convert._Utf8Encoder.__proto__), + [_writeReplacementCharacter]: dart.fnType(dart.void, []), + [_writeSurrogate]: dart.fnType(core.bool, [core.int, core.int]), + [_fillBuffer]: dart.fnType(core.int, [core.String, core.int, core.int]) + })); + dart.setLibraryUri(convert._Utf8Encoder, I[31]); + dart.setFieldSignature(convert._Utf8Encoder, () => ({ + __proto__: dart.getFields(convert._Utf8Encoder.__proto__), + [_carry]: dart.fieldType(core.int), + [_bufferIndex]: dart.fieldType(core.int), + [_buffer$]: dart.finalFieldType(typed_data.Uint8List) + })); + dart.defineLazy(convert._Utf8Encoder, { + /*convert._Utf8Encoder._DEFAULT_BYTE_BUFFER_SIZE*/get _DEFAULT_BYTE_BUFFER_SIZE() { + return 1024; + } + }, false); + const _Utf8Encoder_StringConversionSinkMixin$36 = class _Utf8Encoder_StringConversionSinkMixin extends convert._Utf8Encoder {}; + (_Utf8Encoder_StringConversionSinkMixin$36.new = function() { + _Utf8Encoder_StringConversionSinkMixin$36.__proto__.new.call(this); + }).prototype = _Utf8Encoder_StringConversionSinkMixin$36.prototype; + (_Utf8Encoder_StringConversionSinkMixin$36.withBufferSize = function(bufferSize) { + _Utf8Encoder_StringConversionSinkMixin$36.__proto__.withBufferSize.call(this, bufferSize); + }).prototype = _Utf8Encoder_StringConversionSinkMixin$36.prototype; + dart.applyMixin(_Utf8Encoder_StringConversionSinkMixin$36, convert.StringConversionSinkMixin); + convert._Utf8EncoderSink = class _Utf8EncoderSink extends _Utf8Encoder_StringConversionSinkMixin$36 { + close() { + if (this[_carry] !== 0) { + this.addSlice("", 0, 0, true); + return; + } + this[_sink$0].close(); + } + addSlice(str, start, end, isLast) { + if (str == null) dart.nullFailed(I[98], 245, 24, "str"); + if (start == null) dart.nullFailed(I[98], 245, 33, "start"); + if (end == null) dart.nullFailed(I[98], 245, 44, "end"); + if (isLast == null) dart.nullFailed(I[98], 245, 54, "isLast"); + this[_bufferIndex] = 0; + if (start == end && !dart.test(isLast)) { + return; + } + if (this[_carry] !== 0) { + let nextCodeUnit = 0; + if (start != end) { + nextCodeUnit = str[$codeUnitAt](start); + } else { + if (!dart.test(isLast)) dart.assertFailed(null, I[98], 257, 16, "isLast"); + } + let wasCombined = this[_writeSurrogate](this[_carry], nextCodeUnit); + if (!(!dart.test(wasCombined) || start != end)) dart.assertFailed(null, I[98], 261, 14, "!wasCombined || start != end"); + if (dart.test(wasCombined)) start = dart.notNull(start) + 1; + this[_carry] = 0; + } + do { + start = this[_fillBuffer](str, start, end); + let isLastSlice = dart.test(isLast) && start == end; + if (start === dart.notNull(end) - 1 && dart.test(convert._isLeadSurrogate(str[$codeUnitAt](start)))) { + if (dart.test(isLast) && dart.notNull(this[_bufferIndex]) < dart.notNull(this[_buffer$][$length]) - 3) { + this[_writeReplacementCharacter](); + } else { + this[_carry] = str[$codeUnitAt](start); + } + start = dart.notNull(start) + 1; + } + this[_sink$0].addSlice(this[_buffer$], 0, this[_bufferIndex], isLastSlice); + this[_bufferIndex] = 0; + } while (dart.notNull(start) < dart.notNull(end)); + if (dart.test(isLast)) this.close(); + } + }; + (convert._Utf8EncoderSink.new = function(_sink) { + if (_sink == null) dart.nullFailed(I[98], 234, 25, "_sink"); + this[_sink$0] = _sink; + convert._Utf8EncoderSink.__proto__.new.call(this); + ; + }).prototype = convert._Utf8EncoderSink.prototype; + dart.addTypeTests(convert._Utf8EncoderSink); + dart.addTypeCaches(convert._Utf8EncoderSink); + dart.setMethodSignature(convert._Utf8EncoderSink, () => ({ + __proto__: dart.getMethods(convert._Utf8EncoderSink.__proto__), + close: dart.fnType(dart.void, []), + addSlice: dart.fnType(dart.void, [core.String, core.int, core.int, core.bool]) + })); + dart.setLibraryUri(convert._Utf8EncoderSink, I[31]); + dart.setFieldSignature(convert._Utf8EncoderSink, () => ({ + __proto__: dart.getFields(convert._Utf8EncoderSink.__proto__), + [_sink$0]: dart.finalFieldType(convert.ByteConversionSink) + })); + const _allowMalformed$0 = Utf8Decoder__allowMalformed; + convert.Utf8Decoder = class Utf8Decoder extends convert.Converter$(core.List$(core.int), core.String) { + get [_allowMalformed$]() { + return this[_allowMalformed$0]; + } + set [_allowMalformed$](value) { + super[_allowMalformed$] = value; + } + static _convertInterceptedUint8List(allowMalformed, codeUnits, start, end) { + if (allowMalformed == null) dart.nullFailed(I[85], 433, 12, "allowMalformed"); + if (codeUnits == null) dart.nullFailed(I[85], 433, 44, "codeUnits"); + if (start == null) dart.nullFailed(I[85], 433, 59, "start"); + if (end == null) dart.nullFailed(I[85], 433, 70, "end"); + let decoder = dart.test(allowMalformed) ? convert.Utf8Decoder._decoderNonfatal : convert.Utf8Decoder._decoder; + if (decoder == null) return null; + if (0 === start && end == codeUnits[$length]) { + return convert.Utf8Decoder._useTextDecoder(decoder, codeUnits); + } + let length = codeUnits[$length]; + end = core.RangeError.checkValidRange(start, end, length); + return convert.Utf8Decoder._useTextDecoder(decoder, codeUnits.subarray(start, end)); + } + static _useTextDecoder(decoder, codeUnits) { + if (codeUnits == null) dart.nullFailed(I[85], 447, 59, "codeUnits"); + try { + return decoder.decode(codeUnits); + } catch (e$) { + let e = dart.getThrown(e$); + if (core.Object.is(e)) { + } else + throw e$; + } + return null; + } + convert(codeUnits, start = 0, end = null) { + T$0.ListOfint().as(codeUnits); + if (codeUnits == null) dart.nullFailed(I[98], 314, 28, "codeUnits"); + if (start == null) dart.nullFailed(I[98], 314, 44, "start"); + let result = convert.Utf8Decoder._convertIntercepted(this[_allowMalformed$], codeUnits, start, end); + if (result != null) { + return result; + } + return new convert._Utf8Decoder.new(this[_allowMalformed$]).convertSingle(codeUnits, start, end); + } + startChunkedConversion(sink) { + T$0.SinkOfString().as(sink); + if (sink == null) dart.nullFailed(I[98], 329, 58, "sink"); + let stringSink = null; + if (convert.StringConversionSink.is(sink)) { + stringSink = sink; + } else { + stringSink = new convert._StringAdapterSink.new(sink); + } + return stringSink.asUtf8Sink(this[_allowMalformed$]); + } + bind(stream) { + T$0.StreamOfListOfint().as(stream); + if (stream == null) dart.nullFailed(I[98], 340, 41, "stream"); + return super.bind(stream); + } + fuse(T, next) { + if (next == null) dart.nullFailed(I[85], 398, 56, "next"); + return super.fuse(T, next); + } + static _convertIntercepted(allowMalformed, codeUnits, start, end) { + if (allowMalformed == null) dart.nullFailed(I[85], 405, 12, "allowMalformed"); + if (codeUnits == null) dart.nullFailed(I[85], 405, 38, "codeUnits"); + if (start == null) dart.nullFailed(I[85], 405, 53, "start"); + if (codeUnits instanceof Uint8Array) { + let casted = codeUnits; + end == null ? end = casted[$length] : null; + if (dart.notNull(end) - dart.notNull(start) < 15) { + return null; + } + let result = convert.Utf8Decoder._convertInterceptedUint8List(allowMalformed, casted, start, end); + if (result != null && dart.test(allowMalformed)) { + if (result.indexOf("�") >= 0) { + return null; + } + } + return result; + } + return null; + } + }; + (convert.Utf8Decoder.new = function(opts) { + let allowMalformed = opts && 'allowMalformed' in opts ? opts.allowMalformed : false; + if (allowMalformed == null) dart.nullFailed(I[98], 303, 27, "allowMalformed"); + this[_allowMalformed$0] = allowMalformed; + convert.Utf8Decoder.__proto__.new.call(this); + ; + }).prototype = convert.Utf8Decoder.prototype; + dart.addTypeTests(convert.Utf8Decoder); + dart.addTypeCaches(convert.Utf8Decoder); + dart.setMethodSignature(convert.Utf8Decoder, () => ({ + __proto__: dart.getMethods(convert.Utf8Decoder.__proto__), + convert: dart.fnType(core.String, [dart.nullable(core.Object)], [core.int, dart.nullable(core.int)]), + startChunkedConversion: dart.fnType(convert.ByteConversionSink, [dart.nullable(core.Object)]), + fuse: dart.gFnType(T => [convert.Converter$(core.List$(core.int), T), [convert.Converter$(core.String, T)]], T => [dart.nullable(core.Object)]) + })); + dart.setLibraryUri(convert.Utf8Decoder, I[31]); + dart.setFieldSignature(convert.Utf8Decoder, () => ({ + __proto__: dart.getFields(convert.Utf8Decoder.__proto__), + [_allowMalformed$]: dart.finalFieldType(core.bool) + })); + dart.defineLazy(convert.Utf8Decoder, { + /*convert.Utf8Decoder._shortInputThreshold*/get _shortInputThreshold() { + return 15; + }, + /*convert.Utf8Decoder._decoder*/get _decoder() { + return dart.fn(() => { + try { + return new TextDecoder("utf-8", {fatal: true}); + } catch (e$) { + let e = dart.getThrown(e$); + if (core.Object.is(e)) { + } else + throw e$; + } + return null; + }, T$0.VoidToObjectN())(); + }, + /*convert.Utf8Decoder._decoderNonfatal*/get _decoderNonfatal() { + return dart.fn(() => { + try { + return new TextDecoder("utf-8", {fatal: false}); + } catch (e$) { + let e = dart.getThrown(e$); + if (core.Object.is(e)) { + } else + throw e$; + } + return null; + }, T$0.VoidToObjectN())(); + } + }, false); + var _charOrIndex = dart.privateName(convert, "_charOrIndex"); + var _convertRecursive = dart.privateName(convert, "_convertRecursive"); + convert._Utf8Decoder = class _Utf8Decoder extends core.Object { + static isErrorState(state) { + if (state == null) dart.nullFailed(I[98], 499, 32, "state"); + return (dart.notNull(state) & 1) !== 0; + } + static errorDescription(state) { + if (state == null) dart.nullFailed(I[98], 501, 38, "state"); + switch (state) { + case 65: + { + return "Missing extension byte"; + } + case 67: + { + return "Unexpected extension byte"; + } + case 69: + { + return "Invalid UTF-8 byte"; + } + case 71: + { + return "Overlong encoding"; + } + case 73: + { + return "Out of unicode range"; + } + case 75: + { + return "Encoded surrogate"; + } + case 77: + { + return "Unfinished UTF-8 octet sequence"; + } + default: + { + return ""; + } + } + } + convertSingle(codeUnits, start, maybeEnd) { + if (codeUnits == null) dart.nullFailed(I[85], 479, 34, "codeUnits"); + if (start == null) dart.nullFailed(I[85], 479, 49, "start"); + return this.convertGeneral(codeUnits, start, maybeEnd, true); + } + convertChunked(codeUnits, start, maybeEnd) { + if (codeUnits == null) dart.nullFailed(I[85], 484, 35, "codeUnits"); + if (start == null) dart.nullFailed(I[85], 484, 50, "start"); + return this.convertGeneral(codeUnits, start, maybeEnd, false); + } + convertGeneral(codeUnits, start, maybeEnd, single) { + if (codeUnits == null) dart.nullFailed(I[98], 529, 17, "codeUnits"); + if (start == null) dart.nullFailed(I[98], 529, 32, "start"); + if (single == null) dart.nullFailed(I[98], 529, 59, "single"); + let end = core.RangeError.checkValidRange(start, maybeEnd, codeUnits[$length]); + if (start == end) return ""; + let bytes = null; + let errorOffset = null; + if (typed_data.Uint8List.is(codeUnits)) { + bytes = codeUnits; + errorOffset = 0; + } else { + bytes = convert._Utf8Decoder._makeUint8List(codeUnits, start, end); + errorOffset = start; + end = dart.notNull(end) - dart.notNull(start); + start = 0; + } + let result = this[_convertRecursive](bytes, start, end, single); + if (dart.test(convert._Utf8Decoder.isErrorState(this[_state$0]))) { + let message = convert._Utf8Decoder.errorDescription(this[_state$0]); + this[_state$0] = 0; + dart.throw(new core.FormatException.new(message, codeUnits, dart.notNull(errorOffset) + dart.notNull(this[_charOrIndex]))); + } + return result; + } + [_convertRecursive](bytes, start, end, single) { + if (bytes == null) dart.nullFailed(I[98], 556, 38, "bytes"); + if (start == null) dart.nullFailed(I[98], 556, 49, "start"); + if (end == null) dart.nullFailed(I[98], 556, 60, "end"); + if (single == null) dart.nullFailed(I[98], 556, 70, "single"); + if (dart.notNull(end) - dart.notNull(start) > 1000) { + let mid = ((dart.notNull(start) + dart.notNull(end)) / 2)[$truncate](); + let s1 = this[_convertRecursive](bytes, start, mid, false); + if (dart.test(convert._Utf8Decoder.isErrorState(this[_state$0]))) return s1; + let s2 = this[_convertRecursive](bytes, mid, end, single); + return dart.notNull(s1) + dart.notNull(s2); + } + return this.decodeGeneral(bytes, start, end, single); + } + flush(sink) { + if (sink == null) dart.nullFailed(I[98], 573, 25, "sink"); + let state = this[_state$0]; + this[_state$0] = 0; + if (dart.notNull(state) <= 32) { + return; + } + if (dart.test(this.allowMalformed)) { + sink.writeCharCode(65533); + } else { + dart.throw(new core.FormatException.new(convert._Utf8Decoder.errorDescription(77), null, null)); + } + } + decodeGeneral(bytes, start, end, single) { + let t178, t178$, t178$0, t178$1; + if (bytes == null) dart.nullFailed(I[98], 587, 34, "bytes"); + if (start == null) dart.nullFailed(I[98], 587, 45, "start"); + if (end == null) dart.nullFailed(I[98], 587, 56, "end"); + if (single == null) dart.nullFailed(I[98], 587, 66, "single"); + let typeTable = convert._Utf8Decoder.typeTable; + let transitionTable = convert._Utf8Decoder.transitionTable; + let state = this[_state$0]; + let char = this[_charOrIndex]; + let buffer = new core.StringBuffer.new(); + let i = start; + let byte = bytes[$_get]((t178 = i, i = dart.notNull(t178) + 1, t178)); + L1: + while (true) { + while (true) { + let type = (typeTable[$codeUnitAt](byte) & 31) >>> 0; + char = dart.notNull(state) <= 32 ? (dart.notNull(byte) & (61694)[$rightShift](type)) >>> 0 : (dart.notNull(byte) & 63 | dart.notNull(char) << 6 >>> 0) >>> 0; + state = transitionTable[$codeUnitAt](dart.notNull(state) + type); + if (state === 0) { + buffer.writeCharCode(char); + if (i == end) break L1; + break; + } else if (dart.test(convert._Utf8Decoder.isErrorState(state))) { + if (dart.test(this.allowMalformed)) { + switch (state) { + case 69: + case 67: + { + buffer.writeCharCode(65533); + break; + } + case 65: + { + buffer.writeCharCode(65533); + i = dart.notNull(i) - 1; + break; + } + default: + { + buffer.writeCharCode(65533); + buffer.writeCharCode(65533); + break; + } + } + state = 0; + } else { + this[_state$0] = state; + this[_charOrIndex] = dart.notNull(i) - 1; + return ""; + } + } + if (i == end) break L1; + byte = bytes[$_get]((t178$ = i, i = dart.notNull(t178$) + 1, t178$)); + } + let markStart = i; + byte = bytes[$_get]((t178$0 = i, i = dart.notNull(t178$0) + 1, t178$0)); + if (dart.notNull(byte) < 128) { + let markEnd = end; + while (dart.notNull(i) < dart.notNull(end)) { + byte = bytes[$_get]((t178$1 = i, i = dart.notNull(t178$1) + 1, t178$1)); + if (dart.notNull(byte) >= 128) { + markEnd = dart.notNull(i) - 1; + break; + } + } + if (!(dart.notNull(markStart) < dart.notNull(markEnd))) dart.assertFailed(null, I[98], 652, 16, "markStart < markEnd"); + if (dart.notNull(markEnd) - dart.notNull(markStart) < 20) { + for (let m = markStart; dart.notNull(m) < dart.notNull(markEnd); m = dart.notNull(m) + 1) { + buffer.writeCharCode(bytes[$_get](m)); + } + } else { + buffer.write(core.String.fromCharCodes(bytes, markStart, markEnd)); + } + if (markEnd == end) break; + } + } + if (dart.test(single) && dart.notNull(state) > 32) { + if (dart.test(this.allowMalformed)) { + buffer.writeCharCode(65533); + } else { + this[_state$0] = 77; + this[_charOrIndex] = end; + return ""; + } + } + this[_state$0] = state; + this[_charOrIndex] = char; + return buffer.toString(); + } + static _makeUint8List(codeUnits, start, end) { + if (codeUnits == null) dart.nullFailed(I[98], 679, 45, "codeUnits"); + if (start == null) dart.nullFailed(I[98], 679, 60, "start"); + if (end == null) dart.nullFailed(I[98], 679, 71, "end"); + let length = dart.notNull(end) - dart.notNull(start); + let bytes = _native_typed_data.NativeUint8List.new(length); + for (let i = 0; i < length; i = i + 1) { + let b = codeUnits[$_get](dart.notNull(start) + i); + if ((dart.notNull(b) & ~255 >>> 0) !== 0) { + b = 255; + } + bytes[$_set](i, b); + } + return bytes; + } + }; + (convert._Utf8Decoder.new = function(allowMalformed) { + if (allowMalformed == null) dart.nullFailed(I[85], 476, 21, "allowMalformed"); + this[_charOrIndex] = 0; + this.allowMalformed = allowMalformed; + this[_state$0] = 16; + ; + }).prototype = convert._Utf8Decoder.prototype; + dart.addTypeTests(convert._Utf8Decoder); + dart.addTypeCaches(convert._Utf8Decoder); + dart.setMethodSignature(convert._Utf8Decoder, () => ({ + __proto__: dart.getMethods(convert._Utf8Decoder.__proto__), + convertSingle: dart.fnType(core.String, [core.List$(core.int), core.int, dart.nullable(core.int)]), + convertChunked: dart.fnType(core.String, [core.List$(core.int), core.int, dart.nullable(core.int)]), + convertGeneral: dart.fnType(core.String, [core.List$(core.int), core.int, dart.nullable(core.int), core.bool]), + [_convertRecursive]: dart.fnType(core.String, [typed_data.Uint8List, core.int, core.int, core.bool]), + flush: dart.fnType(dart.void, [core.StringSink]), + decodeGeneral: dart.fnType(core.String, [typed_data.Uint8List, core.int, core.int, core.bool]) + })); + dart.setLibraryUri(convert._Utf8Decoder, I[31]); + dart.setFieldSignature(convert._Utf8Decoder, () => ({ + __proto__: dart.getFields(convert._Utf8Decoder.__proto__), + allowMalformed: dart.finalFieldType(core.bool), + [_state$0]: dart.fieldType(core.int), + [_charOrIndex]: dart.fieldType(core.int) + })); + dart.defineLazy(convert._Utf8Decoder, { + /*convert._Utf8Decoder.typeMask*/get typeMask() { + return 31; + }, + /*convert._Utf8Decoder.shiftedByteMask*/get shiftedByteMask() { + return 61694; + }, + /*convert._Utf8Decoder.typeTable*/get typeTable() { + return "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFFFFFFFFFFFFFFFFGGGGGGGGGGGGGGGGHHHHHHHHHHHHHHHHHHHHHHHHHHHIHHHJEEBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBKCCCCCCCCCCCCDCLONNNMEEEEEEEEEEE"; + }, + /*convert._Utf8Decoder.IA*/get IA() { + return 0; + }, + /*convert._Utf8Decoder.BB*/get BB() { + return 16; + }, + /*convert._Utf8Decoder.AB*/get AB() { + return 32; + }, + /*convert._Utf8Decoder.X1*/get X1() { + return 48; + }, + /*convert._Utf8Decoder.X2*/get X2() { + return 58; + }, + /*convert._Utf8Decoder.X3*/get X3() { + return 68; + }, + /*convert._Utf8Decoder.TO*/get TO() { + return 78; + }, + /*convert._Utf8Decoder.TS*/get TS() { + return 88; + }, + /*convert._Utf8Decoder.QO*/get QO() { + return 98; + }, + /*convert._Utf8Decoder.QR*/get QR() { + return 108; + }, + /*convert._Utf8Decoder.B1*/get B1() { + return 118; + }, + /*convert._Utf8Decoder.B2*/get B2() { + return 128; + }, + /*convert._Utf8Decoder.E1*/get E1() { + return 65; + }, + /*convert._Utf8Decoder.E2*/get E2() { + return 67; + }, + /*convert._Utf8Decoder.E3*/get E3() { + return 69; + }, + /*convert._Utf8Decoder.E4*/get E4() { + return 71; + }, + /*convert._Utf8Decoder.E5*/get E5() { + return 73; + }, + /*convert._Utf8Decoder.E6*/get E6() { + return 75; + }, + /*convert._Utf8Decoder.E7*/get E7() { + return 77; + }, + /*convert._Utf8Decoder._IA*/get _IA() { + return ""; + }, + /*convert._Utf8Decoder._BB*/get _BB() { + return ""; + }, + /*convert._Utf8Decoder._AB*/get _AB() { + return " "; + }, + /*convert._Utf8Decoder._X1*/get _X1() { + return "0"; + }, + /*convert._Utf8Decoder._X2*/get _X2() { + return ":"; + }, + /*convert._Utf8Decoder._X3*/get _X3() { + return "D"; + }, + /*convert._Utf8Decoder._TO*/get _TO() { + return "N"; + }, + /*convert._Utf8Decoder._TS*/get _TS() { + return "X"; + }, + /*convert._Utf8Decoder._QO*/get _QO() { + return "b"; + }, + /*convert._Utf8Decoder._QR*/get _QR() { + return "l"; + }, + /*convert._Utf8Decoder._B1*/get _B1() { + return "v"; + }, + /*convert._Utf8Decoder._B2*/get _B2() { + return "€"; + }, + /*convert._Utf8Decoder._E1*/get _E1() { + return "A"; + }, + /*convert._Utf8Decoder._E2*/get _E2() { + return "C"; + }, + /*convert._Utf8Decoder._E3*/get _E3() { + return "E"; + }, + /*convert._Utf8Decoder._E4*/get _E4() { + return "G"; + }, + /*convert._Utf8Decoder._E5*/get _E5() { + return "I"; + }, + /*convert._Utf8Decoder._E6*/get _E6() { + return "K"; + }, + /*convert._Utf8Decoder._E7*/get _E7() { + return "M"; + }, + /*convert._Utf8Decoder.transitionTable*/get transitionTable() { + return " 0:XECCCCCN:lDb 0:XECCCCCNvlDb 0:XECCCCCN:lDb AAAAAAAAAA00000AAAAA:::::AAAAAGG000AAAAA00KKKAAAAAG::::AAAAA:IIIIAAAAA000€0AAAAA AAAAA"; + }, + /*convert._Utf8Decoder.initial*/get initial() { + return 0; + }, + /*convert._Utf8Decoder.accept*/get accept() { + return 0; + }, + /*convert._Utf8Decoder.beforeBom*/get beforeBom() { + return 16; + }, + /*convert._Utf8Decoder.afterBom*/get afterBom() { + return 32; + }, + /*convert._Utf8Decoder.errorMissingExtension*/get errorMissingExtension() { + return 65; + }, + /*convert._Utf8Decoder.errorUnexpectedExtension*/get errorUnexpectedExtension() { + return 67; + }, + /*convert._Utf8Decoder.errorInvalid*/get errorInvalid() { + return 69; + }, + /*convert._Utf8Decoder.errorOverlong*/get errorOverlong() { + return 71; + }, + /*convert._Utf8Decoder.errorOutOfRange*/get errorOutOfRange() { + return 73; + }, + /*convert._Utf8Decoder.errorSurrogate*/get errorSurrogate() { + return 75; + }, + /*convert._Utf8Decoder.errorUnfinished*/get errorUnfinished() { + return 77; + } + }, false); + convert._convertJsonToDart = function _convertJsonToDart(json, reviver) { + if (reviver == null) dart.nullFailed(I[85], 54, 26, "reviver"); + function walk(e) { + if (e == null || typeof e != "object") { + return e; + } + if (Object.getPrototypeOf(e) === Array.prototype) { + for (let i = 0; i < e.length; i = i + 1) { + let item = e[i]; + e[i] = reviver(i, walk(item)); + } + return e; + } + let map = new convert._JsonMap.new(e); + let processed = map[_processed]; + let keys = map[_computeKeys](); + for (let i = 0; i < dart.notNull(keys[$length]); i = i + 1) { + let key = keys[$_get](i); + let revived = reviver(key, walk(e[key])); + processed[key] = revived; + } + map[_original$] = processed; + return map; + } + dart.fn(walk, T$.dynamicTodynamic()); + return reviver(null, walk(json)); + }; + convert._convertJsonToDartLazy = function _convertJsonToDartLazy(object) { + if (object == null) return null; + if (typeof object != "object") { + return object; + } + if (Object.getPrototypeOf(object) !== Array.prototype) { + return new convert._JsonMap.new(object); + } + for (let i = 0; i < object.length; i = i + 1) { + let item = object[i]; + object[i] = convert._convertJsonToDartLazy(item); + } + return object; + }; + convert.base64Encode = function base64Encode(bytes) { + if (bytes == null) dart.nullFailed(I[92], 41, 31, "bytes"); + return convert.base64.encode(bytes); + }; + convert.base64UrlEncode = function base64UrlEncode(bytes) { + if (bytes == null) dart.nullFailed(I[92], 46, 34, "bytes"); + return convert.base64Url.encode(bytes); + }; + convert.base64Decode = function base64Decode(source) { + if (source == null) dart.nullFailed(I[92], 52, 31, "source"); + return convert.base64.decode(source); + }; + convert.jsonEncode = function jsonEncode(object, opts) { + let toEncodable = opts && 'toEncodable' in opts ? opts.toEncodable : null; + return convert.json.encode(object, {toEncodable: toEncodable}); + }; + convert.jsonDecode = function jsonDecode(source, opts) { + if (source == null) dart.nullFailed(I[95], 94, 27, "source"); + let reviver = opts && 'reviver' in opts ? opts.reviver : null; + return convert.json.decode(source, {reviver: reviver}); + }; + convert._parseJson = function _parseJson(source, reviver) { + if (source == null) dart.nullFailed(I[85], 31, 19, "source"); + if (!(typeof source == 'string')) dart.throw(_js_helper.argumentErrorValue(source)); + let parsed = null; + try { + parsed = JSON.parse(source); + } catch (e$) { + let e = dart.getThrown(e$); + if (core.Object.is(e)) { + dart.throw(new core.FormatException.new(String(e))); + } else + throw e$; + } + if (reviver == null) { + return convert._convertJsonToDartLazy(parsed); + } else { + return convert._convertJsonToDart(parsed, reviver); + } + }; + convert._defaultToEncodable = function _defaultToEncodable(object) { + return dart.dsend(object, 'toJson', []); + }; + convert._isLeadSurrogate = function _isLeadSurrogate(codeUnit) { + if (codeUnit == null) dart.nullFailed(I[98], 360, 27, "codeUnit"); + return (dart.notNull(codeUnit) & 64512) >>> 0 === 55296; + }; + convert._isTailSurrogate = function _isTailSurrogate(codeUnit) { + if (codeUnit == null) dart.nullFailed(I[98], 362, 27, "codeUnit"); + return (dart.notNull(codeUnit) & 64512) >>> 0 === 56320; + }; + convert._combineSurrogatePair = function _combineSurrogatePair(lead, tail) { + if (lead == null) dart.nullFailed(I[98], 364, 31, "lead"); + if (tail == null) dart.nullFailed(I[98], 364, 41, "tail"); + return (65536 + ((dart.notNull(lead) & 1023) >>> 0 << 10 >>> 0) | (dart.notNull(tail) & 1023) >>> 0) >>> 0; + }; + dart.defineLazy(convert, { + /*convert.ascii*/get ascii() { + return C[102] || CT.C102; + }, + /*convert._asciiMask*/get _asciiMask() { + return 127; + }, + /*convert.base64*/get base64() { + return C[103] || CT.C103; + }, + /*convert.base64Url*/get base64Url() { + return C[104] || CT.C104; + }, + /*convert._paddingChar*/get _paddingChar() { + return 61; + }, + /*convert.htmlEscape*/get htmlEscape() { + return C[105] || CT.C105; + }, + /*convert.json*/get json() { + return C[106] || CT.C106; + }, + /*convert.latin1*/get latin1() { + return C[107] || CT.C107; + }, + /*convert._latin1Mask*/get _latin1Mask() { + return 255; + }, + /*convert._LF*/get _LF() { + return 10; + }, + /*convert._CR*/get _CR() { + return 13; + }, + /*convert.unicodeReplacementCharacterRune*/get unicodeReplacementCharacterRune() { + return 65533; + }, + /*convert.unicodeBomCharacterRune*/get unicodeBomCharacterRune() { + return 65279; + }, + /*convert.utf8*/get utf8() { + return C[108] || CT.C108; + }, + /*convert._ONE_BYTE_LIMIT*/get _ONE_BYTE_LIMIT() { + return 127; + }, + /*convert._TWO_BYTE_LIMIT*/get _TWO_BYTE_LIMIT() { + return 2047; + }, + /*convert._THREE_BYTE_LIMIT*/get _THREE_BYTE_LIMIT() { + return 65535; + }, + /*convert._FOUR_BYTE_LIMIT*/get _FOUR_BYTE_LIMIT() { + return 1114111; + }, + /*convert._SURROGATE_TAG_MASK*/get _SURROGATE_TAG_MASK() { + return 64512; + }, + /*convert._SURROGATE_VALUE_MASK*/get _SURROGATE_VALUE_MASK() { + return 1023; + }, + /*convert._LEAD_SURROGATE_MIN*/get _LEAD_SURROGATE_MIN() { + return 55296; + }, + /*convert._TAIL_SURROGATE_MIN*/get _TAIL_SURROGATE_MIN() { + return 56320; + } + }, false); + developer._FakeUserTag = class _FakeUserTag extends core.Object { + static new(label) { + let t181, t180, t179; + if (label == null) dart.nullFailed(I[99], 173, 31, "label"); + let existingTag = developer._FakeUserTag._instances[$_get](label); + if (existingTag != null) { + return existingTag; + } + if (developer._FakeUserTag._instances[$length] === 64) { + dart.throw(new core.UnsupportedError.new("UserTag instance limit (" + dart.str(64) + ") reached.")); + } + t179 = developer._FakeUserTag._instances; + t180 = label; + t181 = new developer._FakeUserTag.real(label); + t179[$_set](t180, t181); + return t181; + } + makeCurrent() { + let old = developer._currentTag; + developer._currentTag = this; + return old; + } + }; + (developer._FakeUserTag.real = function(label) { + if (label == null) dart.nullFailed(I[99], 171, 26, "label"); + this.label = label; + ; + }).prototype = developer._FakeUserTag.prototype; + dart.addTypeTests(developer._FakeUserTag); + dart.addTypeCaches(developer._FakeUserTag); + developer._FakeUserTag[dart.implements] = () => [developer.UserTag]; + dart.setMethodSignature(developer._FakeUserTag, () => ({ + __proto__: dart.getMethods(developer._FakeUserTag.__proto__), + makeCurrent: dart.fnType(developer.UserTag, []) + })); + dart.setLibraryUri(developer._FakeUserTag, I[100]); + dart.setFieldSignature(developer._FakeUserTag, () => ({ + __proto__: dart.getFields(developer._FakeUserTag.__proto__), + label: dart.finalFieldType(core.String) + })); + dart.defineLazy(developer._FakeUserTag, { + /*developer._FakeUserTag._instances*/get _instances() { + return new (T$0.IdentityMapOfString$_FakeUserTag()).new(); + }, + /*developer._FakeUserTag._defaultTag*/get _defaultTag() { + return developer._FakeUserTag.new("Default"); + } + }, false); + var result$ = dart.privateName(developer, "ServiceExtensionResponse.result"); + var errorCode$ = dart.privateName(developer, "ServiceExtensionResponse.errorCode"); + var errorDetail$ = dart.privateName(developer, "ServiceExtensionResponse.errorDetail"); + var _toString$ = dart.privateName(developer, "_toString"); + developer.ServiceExtensionResponse = class ServiceExtensionResponse extends core.Object { + get result() { + return this[result$]; + } + set result(value) { + super.result = value; + } + get errorCode() { + return this[errorCode$]; + } + set errorCode(value) { + super.errorCode = value; + } + get errorDetail() { + return this[errorDetail$]; + } + set errorDetail(value) { + super.errorDetail = value; + } + static _errorCodeMessage(errorCode) { + if (errorCode == null) dart.nullFailed(I[101], 76, 39, "errorCode"); + developer.ServiceExtensionResponse._validateErrorCode(errorCode); + if (errorCode === -32602) { + return "Invalid params"; + } + return "Server error"; + } + static _validateErrorCode(errorCode) { + if (errorCode == null) dart.nullFailed(I[101], 84, 33, "errorCode"); + core.ArgumentError.checkNotNull(core.int, errorCode, "errorCode"); + if (errorCode === -32602) return; + if (dart.notNull(errorCode) >= -32016 && dart.notNull(errorCode) <= -32000) { + return; + } + dart.throw(new core.ArgumentError.value(errorCode, "errorCode", "Out of range")); + } + isError() { + return this.errorCode != null && this.errorDetail != null; + } + [_toString$]() { + let t179; + t179 = this.result; + return t179 == null ? convert.json.encode(new (T$.IdentityMapOfString$Object()).from(["code", dart.nullCheck(this.errorCode), "message", developer.ServiceExtensionResponse._errorCodeMessage(dart.nullCheck(this.errorCode)), "data", new (T$.IdentityMapOfString$String()).from(["details", dart.nullCheck(this.errorDetail)])])) : t179; + } + }; + (developer.ServiceExtensionResponse.result = function(result) { + if (result == null) dart.nullFailed(I[101], 25, 42, "result"); + this[result$] = result; + this[errorCode$] = null; + this[errorDetail$] = null; + core.ArgumentError.checkNotNull(core.String, result, "result"); + }).prototype = developer.ServiceExtensionResponse.prototype; + (developer.ServiceExtensionResponse.error = function(errorCode, errorDetail) { + if (errorCode == null) dart.nullFailed(I[101], 39, 38, "errorCode"); + if (errorDetail == null) dart.nullFailed(I[101], 39, 56, "errorDetail"); + this[result$] = null; + this[errorCode$] = errorCode; + this[errorDetail$] = errorDetail; + developer.ServiceExtensionResponse._validateErrorCode(errorCode); + core.ArgumentError.checkNotNull(core.String, errorDetail, "errorDetail"); + }).prototype = developer.ServiceExtensionResponse.prototype; + dart.addTypeTests(developer.ServiceExtensionResponse); + dart.addTypeCaches(developer.ServiceExtensionResponse); + dart.setMethodSignature(developer.ServiceExtensionResponse, () => ({ + __proto__: dart.getMethods(developer.ServiceExtensionResponse.__proto__), + isError: dart.fnType(core.bool, []), + [_toString$]: dart.fnType(core.String, []) + })); + dart.setLibraryUri(developer.ServiceExtensionResponse, I[100]); + dart.setFieldSignature(developer.ServiceExtensionResponse, () => ({ + __proto__: dart.getFields(developer.ServiceExtensionResponse.__proto__), + result: dart.finalFieldType(dart.nullable(core.String)), + errorCode: dart.finalFieldType(dart.nullable(core.int)), + errorDetail: dart.finalFieldType(dart.nullable(core.String)) + })); + dart.defineLazy(developer.ServiceExtensionResponse, { + /*developer.ServiceExtensionResponse.kInvalidParams*/get kInvalidParams() { + return -32602; + }, + /*developer.ServiceExtensionResponse.kExtensionError*/get kExtensionError() { + return -32000; + }, + /*developer.ServiceExtensionResponse.kExtensionErrorMax*/get kExtensionErrorMax() { + return -32000; + }, + /*developer.ServiceExtensionResponse.kExtensionErrorMin*/get kExtensionErrorMin() { + return -32016; + }, + /*developer.ServiceExtensionResponse.invalidParams*/get invalidParams() { + return -32602; + }, + /*developer.ServiceExtensionResponse.extensionError*/get extensionError() { + return -32000; + }, + /*developer.ServiceExtensionResponse.extensionErrorMax*/get extensionErrorMax() { + return -32000; + }, + /*developer.ServiceExtensionResponse.extensionErrorMin*/get extensionErrorMin() { + return -32016; + } + }, false); + developer.UserTag = class UserTag extends core.Object { + static get defaultTag() { + return developer._FakeUserTag._defaultTag; + } + }; + (developer.UserTag[dart.mixinNew] = function() { + }).prototype = developer.UserTag.prototype; + dart.addTypeTests(developer.UserTag); + dart.addTypeCaches(developer.UserTag); + dart.setLibraryUri(developer.UserTag, I[100]); + dart.defineLazy(developer.UserTag, { + /*developer.UserTag.MAX_USER_TAGS*/get MAX_USER_TAGS() { + return 64; + } + }, false); + var name$10 = dart.privateName(developer, "Metric.name"); + var description$ = dart.privateName(developer, "Metric.description"); + developer.Metric = class Metric extends core.Object { + get name() { + return this[name$10]; + } + set name(value) { + super.name = value; + } + get description() { + return this[description$]; + } + set description(value) { + super.description = value; + } + }; + (developer.Metric.new = function(name, description) { + if (name == null) dart.nullFailed(I[102], 39, 15, "name"); + if (description == null) dart.nullFailed(I[102], 39, 26, "description"); + this[name$10] = name; + this[description$] = description; + if (this.name === "vm" || this.name[$contains]("/")) { + dart.throw(new core.ArgumentError.new("Invalid Metric name.")); + } + }).prototype = developer.Metric.prototype; + dart.addTypeTests(developer.Metric); + dart.addTypeCaches(developer.Metric); + dart.setLibraryUri(developer.Metric, I[100]); + dart.setFieldSignature(developer.Metric, () => ({ + __proto__: dart.getFields(developer.Metric.__proto__), + name: dart.finalFieldType(core.String), + description: dart.finalFieldType(core.String) + })); + var min$ = dart.privateName(developer, "Gauge.min"); + var max$ = dart.privateName(developer, "Gauge.max"); + var _value = dart.privateName(developer, "_value"); + var _toJSON = dart.privateName(developer, "_toJSON"); + developer.Gauge = class Gauge extends developer.Metric { + get min() { + return this[min$]; + } + set min(value) { + super.min = value; + } + get max() { + return this[max$]; + } + set max(value) { + super.max = value; + } + get value() { + return this[_value]; + } + set value(v) { + if (v == null) dart.nullFailed(I[102], 56, 20, "v"); + if (dart.notNull(v) < dart.notNull(this.min)) { + v = this.min; + } else if (dart.notNull(v) > dart.notNull(this.max)) { + v = this.max; + } + this[_value] = v; + } + [_toJSON]() { + let map = new (T$.IdentityMapOfString$Object()).from(["type", "Gauge", "id", "metrics/" + dart.str(this.name), "name", this.name, "description", this.description, "value", this.value, "min", this.min, "max", this.max]); + return map; + } + }; + (developer.Gauge.new = function(name, description, min, max) { + if (name == null) dart.nullFailed(I[102], 65, 16, "name"); + if (description == null) dart.nullFailed(I[102], 65, 29, "description"); + if (min == null) dart.nullFailed(I[102], 65, 47, "min"); + if (max == null) dart.nullFailed(I[102], 65, 57, "max"); + this[min$] = min; + this[max$] = max; + this[_value] = min; + developer.Gauge.__proto__.new.call(this, name, description); + core.ArgumentError.checkNotNull(core.double, this.min, "min"); + core.ArgumentError.checkNotNull(core.double, this.max, "max"); + if (!(dart.notNull(this.min) < dart.notNull(this.max))) dart.throw(new core.ArgumentError.new("min must be less than max")); + }).prototype = developer.Gauge.prototype; + dart.addTypeTests(developer.Gauge); + dart.addTypeCaches(developer.Gauge); + dart.setMethodSignature(developer.Gauge, () => ({ + __proto__: dart.getMethods(developer.Gauge.__proto__), + [_toJSON]: dart.fnType(core.Map, []) + })); + dart.setGetterSignature(developer.Gauge, () => ({ + __proto__: dart.getGetters(developer.Gauge.__proto__), + value: core.double + })); + dart.setSetterSignature(developer.Gauge, () => ({ + __proto__: dart.getSetters(developer.Gauge.__proto__), + value: core.double + })); + dart.setLibraryUri(developer.Gauge, I[100]); + dart.setFieldSignature(developer.Gauge, () => ({ + __proto__: dart.getFields(developer.Gauge.__proto__), + min: dart.finalFieldType(core.double), + max: dart.finalFieldType(core.double), + [_value]: dart.fieldType(core.double) + })); + developer.Counter = class Counter extends developer.Metric { + get value() { + return this[_value]; + } + set value(v) { + if (v == null) dart.nullFailed(I[102], 94, 20, "v"); + this[_value] = v; + } + [_toJSON]() { + let map = new (T$.IdentityMapOfString$Object()).from(["type", "Counter", "id", "metrics/" + dart.str(this.name), "name", this.name, "description", this.description, "value", this.value]); + return map; + } + }; + (developer.Counter.new = function(name, description) { + if (name == null) dart.nullFailed(I[102], 90, 18, "name"); + if (description == null) dart.nullFailed(I[102], 90, 31, "description"); + this[_value] = 0.0; + developer.Counter.__proto__.new.call(this, name, description); + ; + }).prototype = developer.Counter.prototype; + dart.addTypeTests(developer.Counter); + dart.addTypeCaches(developer.Counter); + dart.setMethodSignature(developer.Counter, () => ({ + __proto__: dart.getMethods(developer.Counter.__proto__), + [_toJSON]: dart.fnType(core.Map, []) + })); + dart.setGetterSignature(developer.Counter, () => ({ + __proto__: dart.getGetters(developer.Counter.__proto__), + value: core.double + })); + dart.setSetterSignature(developer.Counter, () => ({ + __proto__: dart.getSetters(developer.Counter.__proto__), + value: core.double + })); + dart.setLibraryUri(developer.Counter, I[100]); + dart.setFieldSignature(developer.Counter, () => ({ + __proto__: dart.getFields(developer.Counter.__proto__), + [_value]: dart.fieldType(core.double) + })); + developer.Metrics = class Metrics extends core.Object { + static register(metric) { + if (metric == null) dart.nullFailed(I[102], 114, 31, "metric"); + core.ArgumentError.checkNotNull(developer.Metric, metric, "metric"); + if (developer.Metrics._metrics[$_get](metric.name) != null) { + dart.throw(new core.ArgumentError.new("Registered metrics have unique names")); + } + developer.Metrics._metrics[$_set](metric.name, metric); + } + static deregister(metric) { + if (metric == null) dart.nullFailed(I[102], 124, 33, "metric"); + core.ArgumentError.checkNotNull(developer.Metric, metric, "metric"); + developer.Metrics._metrics[$remove](metric.name); + } + static _printMetric(id) { + if (id == null) dart.nullFailed(I[102], 132, 38, "id"); + let metric = developer.Metrics._metrics[$_get](id); + if (metric == null) { + return null; + } + return convert.json.encode(metric[_toJSON]()); + } + static _printMetrics() { + let metrics = []; + for (let metric of developer.Metrics._metrics[$values]) { + metrics[$add](metric[_toJSON]()); + } + let map = new (T$.IdentityMapOfString$Object()).from(["type", "MetricList", "metrics", metrics]); + return convert.json.encode(map); + } + }; + (developer.Metrics.new = function() { + ; + }).prototype = developer.Metrics.prototype; + dart.addTypeTests(developer.Metrics); + dart.addTypeCaches(developer.Metrics); + dart.setLibraryUri(developer.Metrics, I[100]); + dart.defineLazy(developer.Metrics, { + /*developer.Metrics._metrics*/get _metrics() { + return new (T$0.LinkedMapOfString$Metric()).new(); + } + }, false); + var majorVersion = dart.privateName(developer, "ServiceProtocolInfo.majorVersion"); + var minorVersion = dart.privateName(developer, "ServiceProtocolInfo.minorVersion"); + var serverUri$ = dart.privateName(developer, "ServiceProtocolInfo.serverUri"); + developer.ServiceProtocolInfo = class ServiceProtocolInfo extends core.Object { + get majorVersion() { + return this[majorVersion]; + } + set majorVersion(value) { + super.majorVersion = value; + } + get minorVersion() { + return this[minorVersion]; + } + set minorVersion(value) { + super.minorVersion = value; + } + get serverUri() { + return this[serverUri$]; + } + set serverUri(value) { + super.serverUri = value; + } + toString() { + if (this.serverUri != null) { + return "Dart VM Service Protocol v" + dart.str(this.majorVersion) + "." + dart.str(this.minorVersion) + " " + "listening on " + dart.str(this.serverUri); + } else { + return "Dart VM Service Protocol v" + dart.str(this.majorVersion) + "." + dart.str(this.minorVersion); + } + } + }; + (developer.ServiceProtocolInfo.new = function(serverUri) { + this[majorVersion] = developer._getServiceMajorVersion(); + this[minorVersion] = developer._getServiceMinorVersion(); + this[serverUri$] = serverUri; + ; + }).prototype = developer.ServiceProtocolInfo.prototype; + dart.addTypeTests(developer.ServiceProtocolInfo); + dart.addTypeCaches(developer.ServiceProtocolInfo); + dart.setLibraryUri(developer.ServiceProtocolInfo, I[100]); + dart.setFieldSignature(developer.ServiceProtocolInfo, () => ({ + __proto__: dart.getFields(developer.ServiceProtocolInfo.__proto__), + majorVersion: dart.finalFieldType(core.int), + minorVersion: dart.finalFieldType(core.int), + serverUri: dart.finalFieldType(dart.nullable(core.Uri)) + })); + dart.defineExtensionMethods(developer.ServiceProtocolInfo, ['toString']); + developer.Service = class Service extends core.Object { + static getInfo() { + return async.async(developer.ServiceProtocolInfo, function* getInfo() { + let receivePort = isolate$.RawReceivePort.new(null, "Service.getInfo"); + let uriCompleter = T$0.CompleterOfUriN().new(); + receivePort.handler = dart.fn(uri => uriCompleter.complete(uri), T$0.UriNTovoid()); + developer._getServerInfo(receivePort.sendPort); + let uri = (yield uriCompleter.future); + receivePort.close(); + return new developer.ServiceProtocolInfo.new(uri); + }); + } + static controlWebServer(opts) { + let enable = opts && 'enable' in opts ? opts.enable : false; + if (enable == null) dart.nullFailed(I[103], 62, 13, "enable"); + let silenceOutput = opts && 'silenceOutput' in opts ? opts.silenceOutput : null; + return async.async(developer.ServiceProtocolInfo, function* controlWebServer() { + core.ArgumentError.checkNotNull(core.bool, enable, "enable"); + let receivePort = isolate$.RawReceivePort.new(null, "Service.controlWebServer"); + let uriCompleter = T$0.CompleterOfUri().new(); + receivePort.handler = dart.fn(uri => { + if (uri == null) dart.nullFailed(I[103], 69, 32, "uri"); + return uriCompleter.complete(uri); + }, T$0.UriTovoid()); + developer._webServerControl(receivePort.sendPort, enable, silenceOutput); + let uri = (yield uriCompleter.future); + receivePort.close(); + return new developer.ServiceProtocolInfo.new(uri); + }); + } + static getIsolateID(isolate) { + if (isolate == null) dart.nullFailed(I[103], 83, 39, "isolate"); + core.ArgumentError.checkNotNull(isolate$.Isolate, isolate, "isolate"); + return developer._getIsolateIDFromSendPort(isolate.controlPort); + } + }; + (developer.Service.new = function() { + ; + }).prototype = developer.Service.prototype; + dart.addTypeTests(developer.Service); + dart.addTypeCaches(developer.Service); + dart.setLibraryUri(developer.Service, I[100]); + var id$ = dart.privateName(developer, "Flow.id"); + var _type$0 = dart.privateName(developer, "_type"); + developer.Flow = class Flow extends core.Object { + get id() { + return this[id$]; + } + set id(value) { + super.id = value; + } + static begin(opts) { + let t179; + let id = opts && 'id' in opts ? opts.id : null; + return new developer.Flow.__(9, (t179 = id, t179 == null ? developer._getNextAsyncId() : t179)); + } + static step(id) { + if (id == null) dart.nullFailed(I[104], 68, 24, "id"); + return new developer.Flow.__(10, id); + } + static end(id) { + if (id == null) dart.nullFailed(I[104], 75, 23, "id"); + return new developer.Flow.__(11, id); + } + }; + (developer.Flow.__ = function(_type, id) { + if (_type == null) dart.nullFailed(I[104], 52, 15, "_type"); + if (id == null) dart.nullFailed(I[104], 52, 27, "id"); + this[_type$0] = _type; + this[id$] = id; + ; + }).prototype = developer.Flow.prototype; + dart.addTypeTests(developer.Flow); + dart.addTypeCaches(developer.Flow); + dart.setLibraryUri(developer.Flow, I[100]); + dart.setFieldSignature(developer.Flow, () => ({ + __proto__: dart.getFields(developer.Flow.__proto__), + [_type$0]: dart.finalFieldType(core.int), + id: dart.finalFieldType(core.int) + })); + dart.defineLazy(developer.Flow, { + /*developer.Flow._begin*/get _begin() { + return 9; + }, + /*developer.Flow._step*/get _step() { + return 10; + }, + /*developer.Flow._end*/get _end() { + return 11; + } + }, false); + var _arguments$1 = dart.privateName(developer, "_arguments"); + var _startSync = dart.privateName(developer, "_startSync"); + developer.Timeline = class Timeline extends core.Object { + static startSync(name, opts) { + if (name == null) dart.nullFailed(I[104], 103, 32, "name"); + let $arguments = opts && 'arguments' in opts ? opts.arguments : null; + let flow = opts && 'flow' in opts ? opts.flow : null; + if (!true) return; + core.ArgumentError.checkNotNull(core.String, name, "name"); + if (!dart.test(developer._isDartStreamEnabled())) { + developer.Timeline._stack[$add](null); + return; + } + let block = new developer._SyncBlock.__(name); + if ($arguments != null) { + block[_arguments$1] = $arguments; + } + if (flow != null) { + block.flow = flow; + } + developer.Timeline._stack[$add](block); + block[_startSync](); + } + static finishSync() { + if (!true) { + return; + } + if (developer.Timeline._stack[$length] === 0) { + dart.throw(new core.StateError.new("Uneven calls to startSync and finishSync")); + } + let block = developer.Timeline._stack[$removeLast](); + if (block == null) { + return; + } + block.finish(); + } + static instantSync(name, opts) { + if (name == null) dart.nullFailed(I[104], 142, 34, "name"); + let $arguments = opts && 'arguments' in opts ? opts.arguments : null; + if (!true) return; + core.ArgumentError.checkNotNull(core.String, name, "name"); + if (!dart.test(developer._isDartStreamEnabled())) { + return; + } + let instantArguments = null; + if ($arguments != null) { + instantArguments = collection.LinkedHashMap.from($arguments); + } + developer._reportInstantEvent("Dart", name, developer._argumentsAsJson(instantArguments)); + } + static timeSync(T, name, $function, opts) { + if (name == null) dart.nullFailed(I[104], 159, 31, "name"); + if ($function == null) dart.nullFailed(I[104], 159, 61, "function"); + let $arguments = opts && 'arguments' in opts ? opts.arguments : null; + let flow = opts && 'flow' in opts ? opts.flow : null; + developer.Timeline.startSync(name, {arguments: $arguments, flow: flow}); + try { + return $function(); + } finally { + developer.Timeline.finishSync(); + } + } + static get now() { + return developer._getTraceClock(); + } + }; + (developer.Timeline.new = function() { + ; + }).prototype = developer.Timeline.prototype; + dart.addTypeTests(developer.Timeline); + dart.addTypeCaches(developer.Timeline); + dart.setLibraryUri(developer.Timeline, I[100]); + dart.defineLazy(developer.Timeline, { + /*developer.Timeline._stack*/get _stack() { + return T$0.JSArrayOf_SyncBlockN().of([]); + } + }, false); + var _stack = dart.privateName(developer, "_stack"); + var _parent = dart.privateName(developer, "_parent"); + var _filterKey = dart.privateName(developer, "_filterKey"); + var _taskId$ = dart.privateName(developer, "_taskId"); + var _start = dart.privateName(developer, "_start"); + var _finish = dart.privateName(developer, "_finish"); + developer.TimelineTask = class TimelineTask extends core.Object { + start(name, opts) { + if (name == null) dart.nullFailed(I[104], 218, 21, "name"); + let $arguments = opts && 'arguments' in opts ? opts.arguments : null; + if (!true) return; + core.ArgumentError.checkNotNull(core.String, name, "name"); + let block = new developer._AsyncBlock.__(name, this[_taskId$]); + this[_stack][$add](block); + let map = new (T$0.LinkedMapOfObjectN$ObjectN()).new(); + if ($arguments != null) { + for (let key of $arguments[$keys]) { + map[$_set](key, $arguments[$_get](key)); + } + } + if (this[_parent] != null) map[$_set]("parentId", dart.nullCheck(this[_parent])[_taskId$][$toRadixString](16)); + if (this[_filterKey] != null) map[$_set]("filterKey", this[_filterKey]); + block[_start](map); + } + instant(name, opts) { + if (name == null) dart.nullFailed(I[104], 241, 23, "name"); + let $arguments = opts && 'arguments' in opts ? opts.arguments : null; + if (!true) return; + core.ArgumentError.checkNotNull(core.String, name, "name"); + let instantArguments = null; + if ($arguments != null) { + instantArguments = collection.LinkedHashMap.from($arguments); + } + if (this[_filterKey] != null) { + instantArguments == null ? instantArguments = new _js_helper.LinkedMap.new() : null; + instantArguments[$_set]("filterKey", this[_filterKey]); + } + developer._reportTaskEvent(this[_taskId$], "n", "Dart", name, developer._argumentsAsJson(instantArguments)); + } + finish(opts) { + let $arguments = opts && 'arguments' in opts ? opts.arguments : null; + if (!true) { + return; + } + if (this[_stack][$length] === 0) { + dart.throw(new core.StateError.new("Uneven calls to start and finish")); + } + if (this[_filterKey] != null) { + $arguments == null ? $arguments = new _js_helper.LinkedMap.new() : null; + $arguments[$_set]("filterKey", this[_filterKey]); + } + let block = this[_stack][$removeLast](); + block[_finish]($arguments); + } + pass() { + if (dart.notNull(this[_stack][$length]) > 0) { + dart.throw(new core.StateError.new("You cannot pass a TimelineTask without finishing all started " + "operations")); + } + let r = this[_taskId$]; + return r; + } + }; + (developer.TimelineTask.new = function(opts) { + let parent = opts && 'parent' in opts ? opts.parent : null; + let filterKey = opts && 'filterKey' in opts ? opts.filterKey : null; + this[_stack] = T$0.JSArrayOf_AsyncBlock().of([]); + this[_parent] = parent; + this[_filterKey] = filterKey; + this[_taskId$] = developer._getNextAsyncId(); + }).prototype = developer.TimelineTask.prototype; + (developer.TimelineTask.withTaskId = function(taskId, opts) { + if (taskId == null) dart.nullFailed(I[104], 208, 31, "taskId"); + let filterKey = opts && 'filterKey' in opts ? opts.filterKey : null; + this[_stack] = T$0.JSArrayOf_AsyncBlock().of([]); + this[_parent] = null; + this[_filterKey] = filterKey; + this[_taskId$] = taskId; + core.ArgumentError.checkNotNull(core.int, taskId, "taskId"); + }).prototype = developer.TimelineTask.prototype; + dart.addTypeTests(developer.TimelineTask); + dart.addTypeCaches(developer.TimelineTask); + dart.setMethodSignature(developer.TimelineTask, () => ({ + __proto__: dart.getMethods(developer.TimelineTask.__proto__), + start: dart.fnType(dart.void, [core.String], {arguments: dart.nullable(core.Map)}, {}), + instant: dart.fnType(dart.void, [core.String], {arguments: dart.nullable(core.Map)}, {}), + finish: dart.fnType(dart.void, [], {arguments: dart.nullable(core.Map)}, {}), + pass: dart.fnType(core.int, []) + })); + dart.setLibraryUri(developer.TimelineTask, I[100]); + dart.setFieldSignature(developer.TimelineTask, () => ({ + __proto__: dart.getFields(developer.TimelineTask.__proto__), + [_parent]: dart.finalFieldType(dart.nullable(developer.TimelineTask)), + [_filterKey]: dart.finalFieldType(dart.nullable(core.String)), + [_taskId$]: dart.finalFieldType(core.int), + [_stack]: dart.finalFieldType(core.List$(developer._AsyncBlock)) + })); + dart.defineLazy(developer.TimelineTask, { + /*developer.TimelineTask._kFilterKey*/get _kFilterKey() { + return "filterKey"; + } + }, false); + developer._AsyncBlock = class _AsyncBlock extends core.Object { + [_start]($arguments) { + if ($arguments == null) dart.nullFailed(I[104], 309, 19, "arguments"); + developer._reportTaskEvent(this[_taskId$], "b", this.category, this.name, developer._argumentsAsJson($arguments)); + } + [_finish]($arguments) { + developer._reportTaskEvent(this[_taskId$], "e", this.category, this.name, developer._argumentsAsJson($arguments)); + } + }; + (developer._AsyncBlock.__ = function(name, _taskId) { + if (name == null) dart.nullFailed(I[104], 306, 22, "name"); + if (_taskId == null) dart.nullFailed(I[104], 306, 33, "_taskId"); + this.category = "Dart"; + this.name = name; + this[_taskId$] = _taskId; + ; + }).prototype = developer._AsyncBlock.prototype; + dart.addTypeTests(developer._AsyncBlock); + dart.addTypeCaches(developer._AsyncBlock); + dart.setMethodSignature(developer._AsyncBlock, () => ({ + __proto__: dart.getMethods(developer._AsyncBlock.__proto__), + [_start]: dart.fnType(dart.void, [core.Map]), + [_finish]: dart.fnType(dart.void, [dart.nullable(core.Map)]) + })); + dart.setLibraryUri(developer._AsyncBlock, I[100]); + dart.setFieldSignature(developer._AsyncBlock, () => ({ + __proto__: dart.getFields(developer._AsyncBlock.__proto__), + category: dart.finalFieldType(core.String), + name: dart.finalFieldType(core.String), + [_taskId$]: dart.finalFieldType(core.int) + })); + var _flow = dart.privateName(developer, "_flow"); + developer._SyncBlock = class _SyncBlock extends core.Object { + [_startSync]() { + developer._reportTaskEvent(0, "B", this.category, this.name, developer._argumentsAsJson(this[_arguments$1])); + } + finish() { + developer._reportTaskEvent(0, "E", this.category, this.name, developer._argumentsAsJson(this[_arguments$1])); + if (this[_flow] != null) { + developer._reportFlowEvent(this.category, dart.str(dart.nullCheck(this[_flow]).id), dart.nullCheck(this[_flow])[_type$0], dart.nullCheck(this[_flow]).id, developer._argumentsAsJson(null)); + } + } + set flow(f) { + if (f == null) dart.nullFailed(I[104], 353, 22, "f"); + this[_flow] = f; + } + }; + (developer._SyncBlock.__ = function(name) { + if (name == null) dart.nullFailed(I[104], 335, 21, "name"); + this.category = "Dart"; + this[_arguments$1] = null; + this[_flow] = null; + this.name = name; + ; + }).prototype = developer._SyncBlock.prototype; + dart.addTypeTests(developer._SyncBlock); + dart.addTypeCaches(developer._SyncBlock); + dart.setMethodSignature(developer._SyncBlock, () => ({ + __proto__: dart.getMethods(developer._SyncBlock.__proto__), + [_startSync]: dart.fnType(dart.void, []), + finish: dart.fnType(dart.void, []) + })); + dart.setSetterSignature(developer._SyncBlock, () => ({ + __proto__: dart.getSetters(developer._SyncBlock.__proto__), + flow: developer.Flow + })); + dart.setLibraryUri(developer._SyncBlock, I[100]); + dart.setFieldSignature(developer._SyncBlock, () => ({ + __proto__: dart.getFields(developer._SyncBlock.__proto__), + category: dart.finalFieldType(core.String), + name: dart.finalFieldType(core.String), + [_arguments$1]: dart.fieldType(dart.nullable(core.Map)), + [_flow]: dart.fieldType(dart.nullable(developer.Flow)) + })); + developer.invokeExtension = function _invokeExtension(methodName, encodedJson) { + if (methodName == null) dart.nullFailed(I[99], 77, 25, "methodName"); + if (encodedJson == null) dart.nullFailed(I[99], 77, 44, "encodedJson"); + return new dart.global.Promise((resolve, reject) => { + if (resolve == null) dart.nullFailed(I[99], 80, 25, "resolve"); + if (reject == null) dart.nullFailed(I[99], 80, 51, "reject"); + return async.async(core.Null, function*() { + try { + let method = dart.nullCheck(developer._lookupExtension(methodName)); + let parameters = core.Map.as(convert.json.decode(encodedJson))[$cast](core.String, core.String); + let result = (yield method(methodName, parameters)); + resolve(result[_toString$]()); + } catch (e$) { + let e = dart.getThrown(e$); + if (core.Object.is(e)) { + reject(dart.str(e)); + } else + throw e$; + } + }); + }); + }; + developer.debugger = function $debugger(opts) { + let when = opts && 'when' in opts ? opts.when : true; + if (when == null) dart.nullFailed(I[99], 16, 21, "when"); + let message = opts && 'message' in opts ? opts.message : null; + if (dart.test(when)) { + debugger; + } + return when; + }; + developer.inspect = function inspect(object) { + console.debug("dart.developer.inspect", object); + return object; + }; + developer.log = function log(message, opts) { + if (message == null) dart.nullFailed(I[99], 32, 17, "message"); + let time = opts && 'time' in opts ? opts.time : null; + let sequenceNumber = opts && 'sequenceNumber' in opts ? opts.sequenceNumber : null; + let level = opts && 'level' in opts ? opts.level : 0; + if (level == null) dart.nullFailed(I[99], 35, 9, "level"); + let name = opts && 'name' in opts ? opts.name : ""; + if (name == null) dart.nullFailed(I[99], 36, 12, "name"); + let zone = opts && 'zone' in opts ? opts.zone : null; + let error = opts && 'error' in opts ? opts.error : null; + let stackTrace = opts && 'stackTrace' in opts ? opts.stackTrace : null; + let items = {message: message, name: name, level: level}; + if (time != null) items.time = time; + if (sequenceNumber != null) { + items.sequenceNumber = sequenceNumber; + } + if (zone != null) items.zone = zone; + if (error != null) items.error = error; + if (stackTrace != null) items.stackTrace = stackTrace; + console.debug("dart.developer.log", items); + }; + developer.registerExtension = function registerExtension$(method, handler) { + if (method == null) dart.nullFailed(I[101], 130, 31, "method"); + if (handler == null) dart.nullFailed(I[101], 130, 63, "handler"); + core.ArgumentError.checkNotNull(core.String, method, "method"); + if (!method[$startsWith]("ext.")) { + dart.throw(new core.ArgumentError.value(method, "method", "Must begin with ext.")); + } + if (developer._lookupExtension(method) != null) { + dart.throw(new core.ArgumentError.new("Extension already registered: " + dart.str(method))); + } + core.ArgumentError.checkNotNull(T$0.StringAndMapOfString$StringToFutureOfServiceExtensionResponse(), handler, "handler"); + developer._registerExtension(method, handler); + }; + developer.postEvent = function postEvent(eventKind, eventData) { + if (eventKind == null) dart.nullFailed(I[101], 146, 23, "eventKind"); + if (eventData == null) dart.nullFailed(I[101], 146, 38, "eventData"); + core.ArgumentError.checkNotNull(core.String, eventKind, "eventKind"); + core.ArgumentError.checkNotNull(core.Map, eventData, "eventData"); + let eventDataAsString = convert.json.encode(eventData); + developer._postEvent(eventKind, eventDataAsString); + }; + developer._postEvent = function _postEvent(eventKind, eventData) { + if (eventKind == null) dart.nullFailed(I[99], 94, 24, "eventKind"); + if (eventData == null) dart.nullFailed(I[99], 94, 42, "eventData"); + console.debug("dart.developer.postEvent", eventKind, eventData); + }; + developer._lookupExtension = function _lookupExtension(method) { + if (method == null) dart.nullFailed(I[99], 56, 50, "method"); + return developer._extensions[$_get](method); + }; + developer._registerExtension = function _registerExtension(method, handler) { + if (method == null) dart.nullFailed(I[99], 61, 27, "method"); + if (handler == null) dart.nullFailed(I[99], 61, 59, "handler"); + developer._extensions[$_set](method, handler); + console.debug("dart.developer.registerExtension", method); + }; + developer.getCurrentTag = function getCurrentTag() { + return developer._currentTag; + }; + developer._getServerInfo = function _getServerInfo(sendPort) { + if (sendPort == null) dart.nullFailed(I[99], 145, 30, "sendPort"); + sendPort.send(null); + }; + developer._webServerControl = function _webServerControl(sendPort, enable, silenceOutput) { + if (sendPort == null) dart.nullFailed(I[99], 150, 33, "sendPort"); + if (enable == null) dart.nullFailed(I[99], 150, 48, "enable"); + sendPort.send(null); + }; + developer._getServiceMajorVersion = function _getServiceMajorVersion() { + return 0; + }; + developer._getServiceMinorVersion = function _getServiceMinorVersion() { + return 0; + }; + developer._getIsolateIDFromSendPort = function _getIsolateIDFromSendPort(sendPort) { + if (sendPort == null) dart.nullFailed(I[99], 155, 44, "sendPort"); + return null; + }; + developer._argumentsAsJson = function _argumentsAsJson($arguments) { + if ($arguments == null || $arguments[$length] === 0) { + return "{}"; + } + return convert.json.encode($arguments); + }; + developer._isDartStreamEnabled = function _isDartStreamEnabled() { + return false; + }; + developer._getNextAsyncId = function _getNextAsyncId() { + return 0; + }; + developer._getTraceClock = function _getTraceClock() { + let t180; + t180 = developer._clockValue; + developer._clockValue = dart.notNull(t180) + 1; + return t180; + }; + developer._reportTaskEvent = function _reportTaskEvent(taskId, phase, category, name, argumentsAsJson) { + if (taskId == null) dart.nullFailed(I[99], 129, 27, "taskId"); + if (phase == null) dart.nullFailed(I[99], 129, 42, "phase"); + if (category == null) dart.nullFailed(I[99], 129, 56, "category"); + if (name == null) dart.nullFailed(I[99], 129, 73, "name"); + if (argumentsAsJson == null) dart.nullFailed(I[99], 130, 12, "argumentsAsJson"); + }; + developer._reportFlowEvent = function _reportFlowEvent(category, name, type, id, argumentsAsJson) { + if (category == null) dart.nullFailed(I[99], 114, 12, "category"); + if (name == null) dart.nullFailed(I[99], 114, 29, "name"); + if (type == null) dart.nullFailed(I[99], 114, 39, "type"); + if (id == null) dart.nullFailed(I[99], 114, 49, "id"); + if (argumentsAsJson == null) dart.nullFailed(I[99], 114, 60, "argumentsAsJson"); + }; + developer._reportInstantEvent = function _reportInstantEvent(category, name, argumentsAsJson) { + if (category == null) dart.nullFailed(I[99], 119, 33, "category"); + if (name == null) dart.nullFailed(I[99], 119, 50, "name"); + if (argumentsAsJson == null) dart.nullFailed(I[99], 119, 63, "argumentsAsJson"); + }; + dart.defineLazy(developer, { + /*developer._extensions*/get _extensions() { + return new (T$0.IdentityMapOfString$StringAndMapOfString$StringToFutureOfServiceExtensionResponse()).new(); + }, + /*developer._clockValue*/get _clockValue() { + return 0; + }, + set _clockValue(_) {}, + /*developer._currentTag*/get _currentTag() { + return developer._FakeUserTag._defaultTag; + }, + set _currentTag(_) {}, + /*developer._hasTimeline*/get _hasTimeline() { + return true; + } + }, false); + io.IOException = class IOException extends core.Object { + toString() { + return "IOException"; + } + }; + (io.IOException.new = function() { + ; + }).prototype = io.IOException.prototype; + dart.addTypeTests(io.IOException); + dart.addTypeCaches(io.IOException); + io.IOException[dart.implements] = () => [core.Exception]; + dart.setLibraryUri(io.IOException, I[105]); + dart.defineExtensionMethods(io.IOException, ['toString']); + var message$2 = dart.privateName(io, "OSError.message"); + var errorCode$0 = dart.privateName(io, "OSError.errorCode"); + io.OSError = class OSError extends core.Object { + get message() { + return this[message$2]; + } + set message(value) { + super.message = value; + } + get errorCode() { + return this[errorCode$0]; + } + set errorCode(value) { + super.errorCode = value; + } + toString() { + let t180, t180$, t180$0; + let sb = new core.StringBuffer.new(); + sb.write("OS Error"); + if (this.message[$isNotEmpty]) { + t180 = sb; + (() => { + t180.write(": "); + t180.write(this.message); + return t180; + })(); + if (this.errorCode !== -1) { + t180$ = sb; + (() => { + t180$.write(", errno = "); + t180$.write(dart.toString(this.errorCode)); + return t180$; + })(); + } + } else if (this.errorCode !== -1) { + t180$0 = sb; + (() => { + t180$0.write(": errno = "); + t180$0.write(dart.toString(this.errorCode)); + return t180$0; + })(); + } + return sb.toString(); + } + }; + (io.OSError.new = function(message = "", errorCode = -1) { + if (message == null) dart.nullFailed(I[106], 63, 23, "message"); + if (errorCode == null) dart.nullFailed(I[106], 63, 42, "errorCode"); + this[message$2] = message; + this[errorCode$0] = errorCode; + ; + }).prototype = io.OSError.prototype; + dart.addTypeTests(io.OSError); + dart.addTypeCaches(io.OSError); + io.OSError[dart.implements] = () => [core.Exception]; + dart.setLibraryUri(io.OSError, I[105]); + dart.setFieldSignature(io.OSError, () => ({ + __proto__: dart.getFields(io.OSError.__proto__), + message: dart.finalFieldType(core.String), + errorCode: dart.finalFieldType(core.int) + })); + dart.defineExtensionMethods(io.OSError, ['toString']); + dart.defineLazy(io.OSError, { + /*io.OSError.noErrorCode*/get noErrorCode() { + return -1; + } + }, false); + io._BufferAndStart = class _BufferAndStart extends core.Object {}; + (io._BufferAndStart.new = function(buffer, start) { + if (buffer == null) dart.nullFailed(I[106], 85, 24, "buffer"); + if (start == null) dart.nullFailed(I[106], 85, 37, "start"); + this.buffer = buffer; + this.start = start; + ; + }).prototype = io._BufferAndStart.prototype; + dart.addTypeTests(io._BufferAndStart); + dart.addTypeCaches(io._BufferAndStart); + dart.setLibraryUri(io._BufferAndStart, I[105]); + dart.setFieldSignature(io._BufferAndStart, () => ({ + __proto__: dart.getFields(io._BufferAndStart.__proto__), + buffer: dart.fieldType(core.List$(core.int)), + start: dart.fieldType(core.int) + })); + io._IOCrypto = class _IOCrypto extends core.Object { + static getRandomBytes(count) { + if (count == null) dart.nullFailed(I[107], 225, 39, "count"); + dart.throw(new core.UnsupportedError.new("_IOCrypto.getRandomBytes")); + } + }; + (io._IOCrypto.new = function() { + ; + }).prototype = io._IOCrypto.prototype; + dart.addTypeTests(io._IOCrypto); + dart.addTypeCaches(io._IOCrypto); + dart.setLibraryUri(io._IOCrypto, I[105]); + io.ZLibOption = class ZLibOption extends core.Object {}; + (io.ZLibOption.new = function() { + ; + }).prototype = io.ZLibOption.prototype; + dart.addTypeTests(io.ZLibOption); + dart.addTypeCaches(io.ZLibOption); + dart.setLibraryUri(io.ZLibOption, I[105]); + dart.defineLazy(io.ZLibOption, { + /*io.ZLibOption.minWindowBits*/get minWindowBits() { + return 8; + }, + /*io.ZLibOption.MIN_WINDOW_BITS*/get MIN_WINDOW_BITS() { + return 8; + }, + /*io.ZLibOption.maxWindowBits*/get maxWindowBits() { + return 15; + }, + /*io.ZLibOption.MAX_WINDOW_BITS*/get MAX_WINDOW_BITS() { + return 15; + }, + /*io.ZLibOption.defaultWindowBits*/get defaultWindowBits() { + return 15; + }, + /*io.ZLibOption.DEFAULT_WINDOW_BITS*/get DEFAULT_WINDOW_BITS() { + return 15; + }, + /*io.ZLibOption.minLevel*/get minLevel() { + return -1; + }, + /*io.ZLibOption.MIN_LEVEL*/get MIN_LEVEL() { + return -1; + }, + /*io.ZLibOption.maxLevel*/get maxLevel() { + return 9; + }, + /*io.ZLibOption.MAX_LEVEL*/get MAX_LEVEL() { + return 9; + }, + /*io.ZLibOption.defaultLevel*/get defaultLevel() { + return 6; + }, + /*io.ZLibOption.DEFAULT_LEVEL*/get DEFAULT_LEVEL() { + return 6; + }, + /*io.ZLibOption.minMemLevel*/get minMemLevel() { + return 1; + }, + /*io.ZLibOption.MIN_MEM_LEVEL*/get MIN_MEM_LEVEL() { + return 1; + }, + /*io.ZLibOption.maxMemLevel*/get maxMemLevel() { + return 9; + }, + /*io.ZLibOption.MAX_MEM_LEVEL*/get MAX_MEM_LEVEL() { + return 9; + }, + /*io.ZLibOption.defaultMemLevel*/get defaultMemLevel() { + return 8; + }, + /*io.ZLibOption.DEFAULT_MEM_LEVEL*/get DEFAULT_MEM_LEVEL() { + return 8; + }, + /*io.ZLibOption.strategyFiltered*/get strategyFiltered() { + return 1; + }, + /*io.ZLibOption.STRATEGY_FILTERED*/get STRATEGY_FILTERED() { + return 1; + }, + /*io.ZLibOption.strategyHuffmanOnly*/get strategyHuffmanOnly() { + return 2; + }, + /*io.ZLibOption.STRATEGY_HUFFMAN_ONLY*/get STRATEGY_HUFFMAN_ONLY() { + return 2; + }, + /*io.ZLibOption.strategyRle*/get strategyRle() { + return 3; + }, + /*io.ZLibOption.STRATEGY_RLE*/get STRATEGY_RLE() { + return 3; + }, + /*io.ZLibOption.strategyFixed*/get strategyFixed() { + return 4; + }, + /*io.ZLibOption.STRATEGY_FIXED*/get STRATEGY_FIXED() { + return 4; + }, + /*io.ZLibOption.strategyDefault*/get strategyDefault() { + return 0; + }, + /*io.ZLibOption.STRATEGY_DEFAULT*/get STRATEGY_DEFAULT() { + return 0; + } + }, false); + var gzip$ = dart.privateName(io, "ZLibCodec.gzip"); + var level$ = dart.privateName(io, "ZLibCodec.level"); + var memLevel$ = dart.privateName(io, "ZLibCodec.memLevel"); + var strategy$ = dart.privateName(io, "ZLibCodec.strategy"); + var windowBits$ = dart.privateName(io, "ZLibCodec.windowBits"); + var raw$ = dart.privateName(io, "ZLibCodec.raw"); + var dictionary$ = dart.privateName(io, "ZLibCodec.dictionary"); + io.ZLibCodec = class ZLibCodec extends convert.Codec$(core.List$(core.int), core.List$(core.int)) { + get gzip() { + return this[gzip$]; + } + set gzip(value) { + super.gzip = value; + } + get level() { + return this[level$]; + } + set level(value) { + super.level = value; + } + get memLevel() { + return this[memLevel$]; + } + set memLevel(value) { + super.memLevel = value; + } + get strategy() { + return this[strategy$]; + } + set strategy(value) { + super.strategy = value; + } + get windowBits() { + return this[windowBits$]; + } + set windowBits(value) { + super.windowBits = value; + } + get raw() { + return this[raw$]; + } + set raw(value) { + super.raw = value; + } + get dictionary() { + return this[dictionary$]; + } + set dictionary(value) { + super.dictionary = value; + } + get encoder() { + return new io.ZLibEncoder.new({gzip: false, level: this.level, windowBits: this.windowBits, memLevel: this.memLevel, strategy: this.strategy, dictionary: this.dictionary, raw: this.raw}); + } + get decoder() { + return new io.ZLibDecoder.new({windowBits: this.windowBits, dictionary: this.dictionary, raw: this.raw}); + } + }; + (io.ZLibCodec.new = function(opts) { + let level = opts && 'level' in opts ? opts.level : 6; + if (level == null) dart.nullFailed(I[108], 140, 13, "level"); + let windowBits = opts && 'windowBits' in opts ? opts.windowBits : 15; + if (windowBits == null) dart.nullFailed(I[108], 141, 12, "windowBits"); + let memLevel = opts && 'memLevel' in opts ? opts.memLevel : 8; + if (memLevel == null) dart.nullFailed(I[108], 142, 12, "memLevel"); + let strategy = opts && 'strategy' in opts ? opts.strategy : 0; + if (strategy == null) dart.nullFailed(I[108], 143, 12, "strategy"); + let dictionary = opts && 'dictionary' in opts ? opts.dictionary : null; + let raw = opts && 'raw' in opts ? opts.raw : false; + if (raw == null) dart.nullFailed(I[108], 145, 12, "raw"); + let gzip = opts && 'gzip' in opts ? opts.gzip : false; + if (gzip == null) dart.nullFailed(I[108], 146, 12, "gzip"); + this[level$] = level; + this[windowBits$] = windowBits; + this[memLevel$] = memLevel; + this[strategy$] = strategy; + this[dictionary$] = dictionary; + this[raw$] = raw; + this[gzip$] = gzip; + io.ZLibCodec.__proto__.new.call(this); + io._validateZLibeLevel(this.level); + io._validateZLibMemLevel(this.memLevel); + io._validateZLibStrategy(this.strategy); + io._validateZLibWindowBits(this.windowBits); + }).prototype = io.ZLibCodec.prototype; + (io.ZLibCodec._default = function() { + this[level$] = 6; + this[windowBits$] = 15; + this[memLevel$] = 8; + this[strategy$] = 0; + this[raw$] = false; + this[gzip$] = false; + this[dictionary$] = null; + io.ZLibCodec.__proto__.new.call(this); + ; + }).prototype = io.ZLibCodec.prototype; + dart.addTypeTests(io.ZLibCodec); + dart.addTypeCaches(io.ZLibCodec); + dart.setGetterSignature(io.ZLibCodec, () => ({ + __proto__: dart.getGetters(io.ZLibCodec.__proto__), + encoder: io.ZLibEncoder, + decoder: io.ZLibDecoder + })); + dart.setLibraryUri(io.ZLibCodec, I[105]); + dart.setFieldSignature(io.ZLibCodec, () => ({ + __proto__: dart.getFields(io.ZLibCodec.__proto__), + gzip: dart.finalFieldType(core.bool), + level: dart.finalFieldType(core.int), + memLevel: dart.finalFieldType(core.int), + strategy: dart.finalFieldType(core.int), + windowBits: dart.finalFieldType(core.int), + raw: dart.finalFieldType(core.bool), + dictionary: dart.finalFieldType(dart.nullable(core.List$(core.int))) + })); + var gzip$0 = dart.privateName(io, "GZipCodec.gzip"); + var level$0 = dart.privateName(io, "GZipCodec.level"); + var memLevel$0 = dart.privateName(io, "GZipCodec.memLevel"); + var strategy$0 = dart.privateName(io, "GZipCodec.strategy"); + var windowBits$0 = dart.privateName(io, "GZipCodec.windowBits"); + var dictionary$0 = dart.privateName(io, "GZipCodec.dictionary"); + var raw$0 = dart.privateName(io, "GZipCodec.raw"); + io.GZipCodec = class GZipCodec extends convert.Codec$(core.List$(core.int), core.List$(core.int)) { + get gzip() { + return this[gzip$0]; + } + set gzip(value) { + super.gzip = value; + } + get level() { + return this[level$0]; + } + set level(value) { + super.level = value; + } + get memLevel() { + return this[memLevel$0]; + } + set memLevel(value) { + super.memLevel = value; + } + get strategy() { + return this[strategy$0]; + } + set strategy(value) { + super.strategy = value; + } + get windowBits() { + return this[windowBits$0]; + } + set windowBits(value) { + super.windowBits = value; + } + get dictionary() { + return this[dictionary$0]; + } + set dictionary(value) { + super.dictionary = value; + } + get raw() { + return this[raw$0]; + } + set raw(value) { + super.raw = value; + } + get encoder() { + return new io.ZLibEncoder.new({gzip: true, level: this.level, windowBits: this.windowBits, memLevel: this.memLevel, strategy: this.strategy, dictionary: this.dictionary, raw: this.raw}); + } + get decoder() { + return new io.ZLibDecoder.new({windowBits: this.windowBits, dictionary: this.dictionary, raw: this.raw}); + } + }; + (io.GZipCodec.new = function(opts) { + let level = opts && 'level' in opts ? opts.level : 6; + if (level == null) dart.nullFailed(I[108], 236, 13, "level"); + let windowBits = opts && 'windowBits' in opts ? opts.windowBits : 15; + if (windowBits == null) dart.nullFailed(I[108], 237, 12, "windowBits"); + let memLevel = opts && 'memLevel' in opts ? opts.memLevel : 8; + if (memLevel == null) dart.nullFailed(I[108], 238, 12, "memLevel"); + let strategy = opts && 'strategy' in opts ? opts.strategy : 0; + if (strategy == null) dart.nullFailed(I[108], 239, 12, "strategy"); + let dictionary = opts && 'dictionary' in opts ? opts.dictionary : null; + let raw = opts && 'raw' in opts ? opts.raw : false; + if (raw == null) dart.nullFailed(I[108], 241, 12, "raw"); + let gzip = opts && 'gzip' in opts ? opts.gzip : true; + if (gzip == null) dart.nullFailed(I[108], 242, 12, "gzip"); + this[level$0] = level; + this[windowBits$0] = windowBits; + this[memLevel$0] = memLevel; + this[strategy$0] = strategy; + this[dictionary$0] = dictionary; + this[raw$0] = raw; + this[gzip$0] = gzip; + io.GZipCodec.__proto__.new.call(this); + io._validateZLibeLevel(this.level); + io._validateZLibMemLevel(this.memLevel); + io._validateZLibStrategy(this.strategy); + io._validateZLibWindowBits(this.windowBits); + }).prototype = io.GZipCodec.prototype; + (io.GZipCodec._default = function() { + this[level$0] = 6; + this[windowBits$0] = 15; + this[memLevel$0] = 8; + this[strategy$0] = 0; + this[raw$0] = false; + this[gzip$0] = true; + this[dictionary$0] = null; + io.GZipCodec.__proto__.new.call(this); + ; + }).prototype = io.GZipCodec.prototype; + dart.addTypeTests(io.GZipCodec); + dart.addTypeCaches(io.GZipCodec); + dart.setGetterSignature(io.GZipCodec, () => ({ + __proto__: dart.getGetters(io.GZipCodec.__proto__), + encoder: io.ZLibEncoder, + decoder: io.ZLibDecoder + })); + dart.setLibraryUri(io.GZipCodec, I[105]); + dart.setFieldSignature(io.GZipCodec, () => ({ + __proto__: dart.getFields(io.GZipCodec.__proto__), + gzip: dart.finalFieldType(core.bool), + level: dart.finalFieldType(core.int), + memLevel: dart.finalFieldType(core.int), + strategy: dart.finalFieldType(core.int), + windowBits: dart.finalFieldType(core.int), + dictionary: dart.finalFieldType(dart.nullable(core.List$(core.int))), + raw: dart.finalFieldType(core.bool) + })); + var gzip$1 = dart.privateName(io, "ZLibEncoder.gzip"); + var level$1 = dart.privateName(io, "ZLibEncoder.level"); + var memLevel$1 = dart.privateName(io, "ZLibEncoder.memLevel"); + var strategy$1 = dart.privateName(io, "ZLibEncoder.strategy"); + var windowBits$1 = dart.privateName(io, "ZLibEncoder.windowBits"); + var dictionary$1 = dart.privateName(io, "ZLibEncoder.dictionary"); + var raw$1 = dart.privateName(io, "ZLibEncoder.raw"); + io.ZLibEncoder = class ZLibEncoder extends convert.Converter$(core.List$(core.int), core.List$(core.int)) { + get gzip() { + return this[gzip$1]; + } + set gzip(value) { + super.gzip = value; + } + get level() { + return this[level$1]; + } + set level(value) { + super.level = value; + } + get memLevel() { + return this[memLevel$1]; + } + set memLevel(value) { + super.memLevel = value; + } + get strategy() { + return this[strategy$1]; + } + set strategy(value) { + super.strategy = value; + } + get windowBits() { + return this[windowBits$1]; + } + set windowBits(value) { + super.windowBits = value; + } + get dictionary() { + return this[dictionary$1]; + } + set dictionary(value) { + super.dictionary = value; + } + get raw() { + return this[raw$1]; + } + set raw(value) { + super.raw = value; + } + convert(bytes) { + let t180; + T$0.ListOfint().as(bytes); + if (bytes == null) dart.nullFailed(I[108], 339, 31, "bytes"); + let sink = new io._BufferSink.new(); + t180 = this.startChunkedConversion(sink); + (() => { + t180.add(bytes); + t180.close(); + return t180; + })(); + return sink.builder.takeBytes(); + } + startChunkedConversion(sink) { + T$0.SinkOfListOfint().as(sink); + if (sink == null) dart.nullFailed(I[108], 353, 61, "sink"); + if (!convert.ByteConversionSink.is(sink)) { + sink = new convert._ByteAdapterSink.new(sink); + } + return new io._ZLibEncoderSink.__(sink, this.gzip, this.level, this.windowBits, this.memLevel, this.strategy, this.dictionary, this.raw); + } + }; + (io.ZLibEncoder.new = function(opts) { + let gzip = opts && 'gzip' in opts ? opts.gzip : false; + if (gzip == null) dart.nullFailed(I[108], 324, 13, "gzip"); + let level = opts && 'level' in opts ? opts.level : 6; + if (level == null) dart.nullFailed(I[108], 325, 12, "level"); + let windowBits = opts && 'windowBits' in opts ? opts.windowBits : 15; + if (windowBits == null) dart.nullFailed(I[108], 326, 12, "windowBits"); + let memLevel = opts && 'memLevel' in opts ? opts.memLevel : 8; + if (memLevel == null) dart.nullFailed(I[108], 327, 12, "memLevel"); + let strategy = opts && 'strategy' in opts ? opts.strategy : 0; + if (strategy == null) dart.nullFailed(I[108], 328, 12, "strategy"); + let dictionary = opts && 'dictionary' in opts ? opts.dictionary : null; + let raw = opts && 'raw' in opts ? opts.raw : false; + if (raw == null) dart.nullFailed(I[108], 330, 12, "raw"); + this[gzip$1] = gzip; + this[level$1] = level; + this[windowBits$1] = windowBits; + this[memLevel$1] = memLevel; + this[strategy$1] = strategy; + this[dictionary$1] = dictionary; + this[raw$1] = raw; + io.ZLibEncoder.__proto__.new.call(this); + io._validateZLibeLevel(this.level); + io._validateZLibMemLevel(this.memLevel); + io._validateZLibStrategy(this.strategy); + io._validateZLibWindowBits(this.windowBits); + }).prototype = io.ZLibEncoder.prototype; + dart.addTypeTests(io.ZLibEncoder); + dart.addTypeCaches(io.ZLibEncoder); + dart.setMethodSignature(io.ZLibEncoder, () => ({ + __proto__: dart.getMethods(io.ZLibEncoder.__proto__), + convert: dart.fnType(core.List$(core.int), [dart.nullable(core.Object)]), + startChunkedConversion: dart.fnType(convert.ByteConversionSink, [dart.nullable(core.Object)]) + })); + dart.setLibraryUri(io.ZLibEncoder, I[105]); + dart.setFieldSignature(io.ZLibEncoder, () => ({ + __proto__: dart.getFields(io.ZLibEncoder.__proto__), + gzip: dart.finalFieldType(core.bool), + level: dart.finalFieldType(core.int), + memLevel: dart.finalFieldType(core.int), + strategy: dart.finalFieldType(core.int), + windowBits: dart.finalFieldType(core.int), + dictionary: dart.finalFieldType(dart.nullable(core.List$(core.int))), + raw: dart.finalFieldType(core.bool) + })); + var windowBits$2 = dart.privateName(io, "ZLibDecoder.windowBits"); + var dictionary$2 = dart.privateName(io, "ZLibDecoder.dictionary"); + var raw$2 = dart.privateName(io, "ZLibDecoder.raw"); + io.ZLibDecoder = class ZLibDecoder extends convert.Converter$(core.List$(core.int), core.List$(core.int)) { + get windowBits() { + return this[windowBits$2]; + } + set windowBits(value) { + super.windowBits = value; + } + get dictionary() { + return this[dictionary$2]; + } + set dictionary(value) { + super.dictionary = value; + } + get raw() { + return this[raw$2]; + } + set raw(value) { + super.raw = value; + } + convert(bytes) { + let t180; + T$0.ListOfint().as(bytes); + if (bytes == null) dart.nullFailed(I[108], 392, 31, "bytes"); + let sink = new io._BufferSink.new(); + t180 = this.startChunkedConversion(sink); + (() => { + t180.add(bytes); + t180.close(); + return t180; + })(); + return sink.builder.takeBytes(); + } + startChunkedConversion(sink) { + T$0.SinkOfListOfint().as(sink); + if (sink == null) dart.nullFailed(I[108], 405, 61, "sink"); + if (!convert.ByteConversionSink.is(sink)) { + sink = new convert._ByteAdapterSink.new(sink); + } + return new io._ZLibDecoderSink.__(sink, this.windowBits, this.dictionary, this.raw); + } + }; + (io.ZLibDecoder.new = function(opts) { + let windowBits = opts && 'windowBits' in opts ? opts.windowBits : 15; + if (windowBits == null) dart.nullFailed(I[108], 384, 13, "windowBits"); + let dictionary = opts && 'dictionary' in opts ? opts.dictionary : null; + let raw = opts && 'raw' in opts ? opts.raw : false; + if (raw == null) dart.nullFailed(I[108], 386, 12, "raw"); + this[windowBits$2] = windowBits; + this[dictionary$2] = dictionary; + this[raw$2] = raw; + io.ZLibDecoder.__proto__.new.call(this); + io._validateZLibWindowBits(this.windowBits); + }).prototype = io.ZLibDecoder.prototype; + dart.addTypeTests(io.ZLibDecoder); + dart.addTypeCaches(io.ZLibDecoder); + dart.setMethodSignature(io.ZLibDecoder, () => ({ + __proto__: dart.getMethods(io.ZLibDecoder.__proto__), + convert: dart.fnType(core.List$(core.int), [dart.nullable(core.Object)]), + startChunkedConversion: dart.fnType(convert.ByteConversionSink, [dart.nullable(core.Object)]) + })); + dart.setLibraryUri(io.ZLibDecoder, I[105]); + dart.setFieldSignature(io.ZLibDecoder, () => ({ + __proto__: dart.getFields(io.ZLibDecoder.__proto__), + windowBits: dart.finalFieldType(core.int), + dictionary: dart.finalFieldType(dart.nullable(core.List$(core.int))), + raw: dart.finalFieldType(core.bool) + })); + io.RawZLibFilter = class RawZLibFilter extends core.Object { + static deflateFilter(opts) { + let gzip = opts && 'gzip' in opts ? opts.gzip : false; + if (gzip == null) dart.nullFailed(I[108], 418, 10, "gzip"); + let level = opts && 'level' in opts ? opts.level : 6; + if (level == null) dart.nullFailed(I[108], 419, 9, "level"); + let windowBits = opts && 'windowBits' in opts ? opts.windowBits : 15; + if (windowBits == null) dart.nullFailed(I[108], 420, 9, "windowBits"); + let memLevel = opts && 'memLevel' in opts ? opts.memLevel : 8; + if (memLevel == null) dart.nullFailed(I[108], 421, 9, "memLevel"); + let strategy = opts && 'strategy' in opts ? opts.strategy : 0; + if (strategy == null) dart.nullFailed(I[108], 422, 9, "strategy"); + let dictionary = opts && 'dictionary' in opts ? opts.dictionary : null; + let raw = opts && 'raw' in opts ? opts.raw : false; + if (raw == null) dart.nullFailed(I[108], 424, 10, "raw"); + return io.RawZLibFilter._makeZLibDeflateFilter(gzip, level, windowBits, memLevel, strategy, dictionary, raw); + } + static inflateFilter(opts) { + let windowBits = opts && 'windowBits' in opts ? opts.windowBits : 15; + if (windowBits == null) dart.nullFailed(I[108], 433, 9, "windowBits"); + let dictionary = opts && 'dictionary' in opts ? opts.dictionary : null; + let raw = opts && 'raw' in opts ? opts.raw : false; + if (raw == null) dart.nullFailed(I[108], 435, 10, "raw"); + return io.RawZLibFilter._makeZLibInflateFilter(windowBits, dictionary, raw); + } + static _makeZLibDeflateFilter(gzip, level, windowBits, memLevel, strategy, dictionary, raw) { + if (gzip == null) dart.nullFailed(I[107], 614, 12, "gzip"); + if (level == null) dart.nullFailed(I[107], 615, 11, "level"); + if (windowBits == null) dart.nullFailed(I[107], 616, 11, "windowBits"); + if (memLevel == null) dart.nullFailed(I[107], 617, 11, "memLevel"); + if (strategy == null) dart.nullFailed(I[107], 618, 11, "strategy"); + if (raw == null) dart.nullFailed(I[107], 620, 12, "raw"); + dart.throw(new core.UnsupportedError.new("_newZLibDeflateFilter")); + } + static _makeZLibInflateFilter(windowBits, dictionary, raw) { + if (windowBits == null) dart.nullFailed(I[107], 626, 11, "windowBits"); + if (raw == null) dart.nullFailed(I[107], 626, 51, "raw"); + dart.throw(new core.UnsupportedError.new("_newZLibInflateFilter")); + } + }; + (io.RawZLibFilter[dart.mixinNew] = function() { + }).prototype = io.RawZLibFilter.prototype; + dart.addTypeTests(io.RawZLibFilter); + dart.addTypeCaches(io.RawZLibFilter); + dart.setLibraryUri(io.RawZLibFilter, I[105]); + io._BufferSink = class _BufferSink extends convert.ByteConversionSink { + add(chunk) { + T$0.ListOfint().as(chunk); + if (chunk == null) dart.nullFailed(I[108], 472, 22, "chunk"); + this.builder.add(chunk); + } + addSlice(chunk, start, end, isLast) { + if (chunk == null) dart.nullFailed(I[108], 476, 27, "chunk"); + if (start == null) dart.nullFailed(I[108], 476, 38, "start"); + if (end == null) dart.nullFailed(I[108], 476, 49, "end"); + if (isLast == null) dart.nullFailed(I[108], 476, 59, "isLast"); + if (typed_data.Uint8List.is(chunk)) { + let list = chunk; + this.builder.add(typed_data.Uint8List.view(list[$buffer], dart.notNull(list[$offsetInBytes]) + dart.notNull(start), dart.notNull(end) - dart.notNull(start))); + } else { + this.builder.add(chunk[$sublist](start, end)); + } + } + close() { + } + }; + (io._BufferSink.new = function() { + this.builder = _internal.BytesBuilder.new({copy: false}); + io._BufferSink.__proto__.new.call(this); + ; + }).prototype = io._BufferSink.prototype; + dart.addTypeTests(io._BufferSink); + dart.addTypeCaches(io._BufferSink); + dart.setMethodSignature(io._BufferSink, () => ({ + __proto__: dart.getMethods(io._BufferSink.__proto__), + add: dart.fnType(dart.void, [dart.nullable(core.Object)]), + addSlice: dart.fnType(dart.void, [core.List$(core.int), core.int, core.int, core.bool]), + close: dart.fnType(dart.void, []) + })); + dart.setLibraryUri(io._BufferSink, I[105]); + dart.setFieldSignature(io._BufferSink, () => ({ + __proto__: dart.getFields(io._BufferSink.__proto__), + builder: dart.finalFieldType(_internal.BytesBuilder) + })); + var _closed = dart.privateName(io, "_closed"); + var _empty = dart.privateName(io, "_empty"); + var _sink$1 = dart.privateName(io, "_sink"); + var _filter$ = dart.privateName(io, "_filter"); + io._FilterSink = class _FilterSink extends convert.ByteConversionSink { + add(data) { + T$0.ListOfint().as(data); + if (data == null) dart.nullFailed(I[108], 520, 22, "data"); + this.addSlice(data, 0, data[$length], false); + } + addSlice(data, start, end, isLast) { + if (data == null) dart.nullFailed(I[108], 524, 27, "data"); + if (start == null) dart.nullFailed(I[108], 524, 37, "start"); + if (end == null) dart.nullFailed(I[108], 524, 48, "end"); + if (isLast == null) dart.nullFailed(I[108], 524, 58, "isLast"); + core.ArgumentError.checkNotNull(core.int, end, "end"); + if (dart.test(this[_closed])) return; + core.RangeError.checkValidRange(start, end, data[$length]); + try { + this[_empty] = false; + let bufferAndStart = io._ensureFastAndSerializableByteData(data, start, end); + this[_filter$].process(bufferAndStart.buffer, bufferAndStart.start, dart.notNull(end) - (dart.notNull(start) - dart.notNull(bufferAndStart.start))); + let out = null; + while (true) { + let out = this[_filter$].processed({flush: false}); + if (out == null) break; + this[_sink$1].add(out); + } + } catch (e$) { + let e = dart.getThrown(e$); + if (core.Object.is(e)) { + this[_closed] = true; + dart.rethrow(e$); + } else + throw e$; + } + if (dart.test(isLast)) this.close(); + } + close() { + if (dart.test(this[_closed])) return; + if (dart.test(this[_empty])) this[_filter$].process(C[87] || CT.C87, 0, 0); + try { + while (true) { + let out = this[_filter$].processed({end: true}); + if (out == null) break; + this[_sink$1].add(out); + } + } catch (e$) { + let e = dart.getThrown(e$); + if (core.Object.is(e)) { + this[_closed] = true; + dart.throw(e); + } else + throw e$; + } + this[_closed] = true; + this[_sink$1].close(); + } + }; + (io._FilterSink.new = function(_sink, _filter) { + if (_sink == null) dart.nullFailed(I[108], 518, 20, "_sink"); + if (_filter == null) dart.nullFailed(I[108], 518, 32, "_filter"); + this[_closed] = false; + this[_empty] = true; + this[_sink$1] = _sink; + this[_filter$] = _filter; + io._FilterSink.__proto__.new.call(this); + ; + }).prototype = io._FilterSink.prototype; + dart.addTypeTests(io._FilterSink); + dart.addTypeCaches(io._FilterSink); + dart.setMethodSignature(io._FilterSink, () => ({ + __proto__: dart.getMethods(io._FilterSink.__proto__), + add: dart.fnType(dart.void, [dart.nullable(core.Object)]), + addSlice: dart.fnType(dart.void, [core.List$(core.int), core.int, core.int, core.bool]), + close: dart.fnType(dart.void, []) + })); + dart.setLibraryUri(io._FilterSink, I[105]); + dart.setFieldSignature(io._FilterSink, () => ({ + __proto__: dart.getFields(io._FilterSink.__proto__), + [_filter$]: dart.finalFieldType(io.RawZLibFilter), + [_sink$1]: dart.finalFieldType(convert.ByteConversionSink), + [_closed]: dart.fieldType(core.bool), + [_empty]: dart.fieldType(core.bool) + })); + io._ZLibEncoderSink = class _ZLibEncoderSink extends io._FilterSink {}; + (io._ZLibEncoderSink.__ = function(sink, gzip, level, windowBits, memLevel, strategy, dictionary, raw) { + if (sink == null) dart.nullFailed(I[108], 491, 26, "sink"); + if (gzip == null) dart.nullFailed(I[108], 492, 12, "gzip"); + if (level == null) dart.nullFailed(I[108], 493, 11, "level"); + if (windowBits == null) dart.nullFailed(I[108], 494, 11, "windowBits"); + if (memLevel == null) dart.nullFailed(I[108], 495, 11, "memLevel"); + if (strategy == null) dart.nullFailed(I[108], 496, 11, "strategy"); + if (raw == null) dart.nullFailed(I[108], 498, 12, "raw"); + io._ZLibEncoderSink.__proto__.new.call(this, sink, io.RawZLibFilter._makeZLibDeflateFilter(gzip, level, windowBits, memLevel, strategy, dictionary, raw)); + ; + }).prototype = io._ZLibEncoderSink.prototype; + dart.addTypeTests(io._ZLibEncoderSink); + dart.addTypeCaches(io._ZLibEncoderSink); + dart.setLibraryUri(io._ZLibEncoderSink, I[105]); + io._ZLibDecoderSink = class _ZLibDecoderSink extends io._FilterSink {}; + (io._ZLibDecoderSink.__ = function(sink, windowBits, dictionary, raw) { + if (sink == null) dart.nullFailed(I[108], 507, 26, "sink"); + if (windowBits == null) dart.nullFailed(I[108], 507, 36, "windowBits"); + if (raw == null) dart.nullFailed(I[108], 507, 76, "raw"); + io._ZLibDecoderSink.__proto__.new.call(this, sink, io.RawZLibFilter._makeZLibInflateFilter(windowBits, dictionary, raw)); + ; + }).prototype = io._ZLibDecoderSink.prototype; + dart.addTypeTests(io._ZLibDecoderSink); + dart.addTypeCaches(io._ZLibDecoderSink); + dart.setLibraryUri(io._ZLibDecoderSink, I[105]); + io.Directory = class Directory extends core.Object { + static new(path) { + if (path == null) dart.nullFailed(I[109], 112, 28, "path"); + let overrides = io.IOOverrides.current; + if (overrides == null) { + return new io._Directory.new(path); + } + return overrides.createDirectory(path); + } + static fromRawPath(path) { + if (path == null) dart.nullFailed(I[109], 121, 43, "path"); + return new io._Directory.fromRawPath(path); + } + static fromUri(uri) { + if (uri == null) dart.nullFailed(I[109], 129, 33, "uri"); + return io.Directory.new(uri.toFilePath()); + } + static get current() { + let overrides = io.IOOverrides.current; + if (overrides == null) { + return io._Directory.current; + } + return overrides.getCurrentDirectory(); + } + static set current(path) { + let overrides = io.IOOverrides.current; + if (overrides == null) { + io._Directory.current = path; + return; + } + overrides.setCurrentDirectory(core.String.as(path)); + } + static get systemTemp() { + let overrides = io.IOOverrides.current; + if (overrides == null) { + return io._Directory.systemTemp; + } + return overrides.getSystemTempDirectory(); + } + }; + (io.Directory[dart.mixinNew] = function() { + }).prototype = io.Directory.prototype; + dart.addTypeTests(io.Directory); + dart.addTypeCaches(io.Directory); + io.Directory[dart.implements] = () => [io.FileSystemEntity]; + dart.setLibraryUri(io.Directory, I[105]); + var _path$ = dart.privateName(io, "_Directory._path"); + var _rawPath = dart.privateName(io, "_Directory._rawPath"); + var _path$0 = dart.privateName(io, "_path"); + var _rawPath$ = dart.privateName(io, "_rawPath"); + var _isErrorResponse = dart.privateName(io, "_isErrorResponse"); + var _exceptionOrErrorFromResponse = dart.privateName(io, "_exceptionOrErrorFromResponse"); + var _absolutePath = dart.privateName(io, "_absolutePath"); + var _delete = dart.privateName(io, "_delete"); + var _deleteSync = dart.privateName(io, "_deleteSync"); + io.FileSystemEntity = class FileSystemEntity extends core.Object { + get uri() { + return core._Uri.file(this.path); + } + resolveSymbolicLinks() { + return io._File._dispatchWithNamespace(6, [null, this[_rawPath$]]).then(core.String, dart.fn(response => { + if (dart.test(io._isErrorResponse(response))) { + dart.throw(io._exceptionFromResponse(response, "Cannot resolve symbolic links", this.path)); + } + return T$0.FutureOrOfString().as(response); + }, T$0.dynamicToFutureOrOfString())); + } + resolveSymbolicLinksSync() { + let result = io.FileSystemEntity._resolveSymbolicLinks(io._Namespace._namespace, this[_rawPath$]); + io.FileSystemEntity._throwIfError(core.Object.as(result), "Cannot resolve symbolic links", this.path); + return core.String.as(result); + } + stat() { + return io.FileStat.stat(this.path); + } + statSync() { + return io.FileStat.statSync(this.path); + } + delete(opts) { + let recursive = opts && 'recursive' in opts ? opts.recursive : false; + if (recursive == null) dart.nullFailed(I[111], 390, 41, "recursive"); + return this[_delete]({recursive: recursive}); + } + deleteSync(opts) { + let recursive = opts && 'recursive' in opts ? opts.recursive : false; + if (recursive == null) dart.nullFailed(I[111], 407, 25, "recursive"); + return this[_deleteSync]({recursive: recursive}); + } + watch(opts) { + let events = opts && 'events' in opts ? opts.events : 15; + if (events == null) dart.nullFailed(I[111], 442, 12, "events"); + let recursive = opts && 'recursive' in opts ? opts.recursive : false; + if (recursive == null) dart.nullFailed(I[111], 442, 47, "recursive"); + let trimmedPath = io.FileSystemEntity._trimTrailingPathSeparators(this.path); + let overrides = io.IOOverrides.current; + if (overrides == null) { + return io._FileSystemWatcher._watch(trimmedPath, events, recursive); + } + return overrides.fsWatch(trimmedPath, events, recursive); + } + static _identical(path1, path2) { + if (path1 == null) dart.nullFailed(I[111], 455, 41, "path1"); + if (path2 == null) dart.nullFailed(I[111], 455, 55, "path2"); + return io._File._dispatchWithNamespace(28, [null, path1, path2]).then(core.bool, dart.fn(response => { + if (dart.test(io._isErrorResponse(response))) { + dart.throw(io._exceptionFromResponse(response, "Error in FileSystemEntity.identical(" + dart.str(path1) + ", " + dart.str(path2) + ")", "")); + } + return T$.FutureOrOfbool().as(response); + }, T$0.dynamicToFutureOrOfbool())); + } + static identical(path1, path2) { + if (path1 == null) dart.nullFailed(I[111], 478, 40, "path1"); + if (path2 == null) dart.nullFailed(I[111], 478, 54, "path2"); + let overrides = io.IOOverrides.current; + if (overrides == null) { + return io.FileSystemEntity._identical(path1, path2); + } + return overrides.fseIdentical(path1, path2); + } + get isAbsolute() { + return io.FileSystemEntity._isAbsolute(this.path); + } + static _isAbsolute(path) { + if (path == null) dart.nullFailed(I[111], 509, 34, "path"); + if (dart.test(io.Platform.isWindows)) { + return path[$startsWith](io.FileSystemEntity._absoluteWindowsPathPattern); + } else { + return path[$startsWith]("/"); + } + } + get [_absolutePath]() { + if (dart.test(this.isAbsolute)) return this.path; + if (dart.test(io.Platform.isWindows)) return io.FileSystemEntity._absoluteWindowsPath(this.path); + let current = io.Directory.current.path; + if (current[$endsWith]("/")) { + return dart.str(current) + dart.str(this.path); + } else { + return dart.str(current) + dart.str(io.Platform.pathSeparator) + dart.str(this.path); + } + } + static _windowsDriveLetter(path) { + if (path == null) dart.nullFailed(I[111], 544, 41, "path"); + if (path[$isEmpty] || !path[$startsWith](":", 1)) return -1; + let first = (path[$codeUnitAt](0) & ~32 >>> 0) >>> 0; + if (first >= 65 && first <= 91) return first; + return -1; + } + static _absoluteWindowsPath(path) { + if (path == null) dart.nullFailed(I[111], 552, 45, "path"); + if (!dart.test(io.Platform.isWindows)) dart.assertFailed(null, I[111], 553, 12, "Platform.isWindows"); + if (!!dart.test(io.FileSystemEntity._isAbsolute(path))) dart.assertFailed(null, I[111], 554, 12, "!_isAbsolute(path)"); + let current = io.Directory.current.path; + if (path[$startsWith]("\\")) { + if (!!path[$startsWith]("\\", 1)) dart.assertFailed(null, I[111], 559, 14, "!path.startsWith(r'\\', 1)"); + let currentDrive = io.FileSystemEntity._windowsDriveLetter(current); + if (dart.notNull(currentDrive) >= 0) { + return current[$_get](0) + ":" + dart.str(path); + } + if (current[$startsWith]("\\\\")) { + let serverEnd = current[$indexOf]("\\", 2); + if (serverEnd >= 0) { + let shareEnd = current[$indexOf]("\\", serverEnd + 1); + if (shareEnd < 0) shareEnd = current.length; + return current[$substring](0, shareEnd) + dart.str(path); + } + } + return path; + } + let entityDrive = io.FileSystemEntity._windowsDriveLetter(path); + if (dart.notNull(entityDrive) >= 0) { + if (entityDrive != io.FileSystemEntity._windowsDriveLetter(current)) { + return path[$_get](0) + ":\\" + dart.str(path); + } + path = path[$substring](2); + if (!!path[$startsWith]("\\\\")) dart.assertFailed(null, I[111], 596, 14, "!path.startsWith(r'\\\\')"); + } + if (current[$endsWith]("\\") || current[$endsWith]("/")) { + return dart.str(current) + dart.str(path); + } + return dart.str(current) + "\\" + dart.str(path); + } + static _identicalSync(path1, path2) { + if (path1 == null) dart.nullFailed(I[111], 604, 37, "path1"); + if (path2 == null) dart.nullFailed(I[111], 604, 51, "path2"); + let result = io.FileSystemEntity._identicalNative(io._Namespace._namespace, path1, path2); + io.FileSystemEntity._throwIfError(core.Object.as(result), "Error in FileSystemEntity.identicalSync"); + return core.bool.as(result); + } + static identicalSync(path1, path2) { + if (path1 == null) dart.nullFailed(I[111], 620, 36, "path1"); + if (path2 == null) dart.nullFailed(I[111], 620, 50, "path2"); + let overrides = io.IOOverrides.current; + if (overrides == null) { + return io.FileSystemEntity._identicalSync(path1, path2); + } + return overrides.fseIdenticalSync(path1, path2); + } + static get isWatchSupported() { + let overrides = io.IOOverrides.current; + if (overrides == null) { + return io._FileSystemWatcher.isSupported; + } + return overrides.fsWatchIsSupported(); + } + static _toUtf8Array(s) { + if (s == null) dart.nullFailed(I[111], 641, 40, "s"); + return io.FileSystemEntity._toNullTerminatedUtf8Array(convert.utf8.encoder.convert(s)); + } + static _toNullTerminatedUtf8Array(l) { + if (l == null) dart.nullFailed(I[111], 644, 57, "l"); + if (dart.test(l[$isNotEmpty]) && l[$last] !== 0) { + let tmp = _native_typed_data.NativeUint8List.new(dart.notNull(l[$length]) + 1); + tmp[$setRange](0, l[$length], l); + return tmp; + } else { + return l; + } + } + static _toStringFromUtf8Array(l) { + if (l == null) dart.nullFailed(I[111], 654, 50, "l"); + let nonNullTerminated = l; + if (l[$last] === 0) { + nonNullTerminated = typed_data.Uint8List.view(l[$buffer], l[$offsetInBytes], dart.notNull(l[$length]) - 1); + } + return convert.utf8.decode(nonNullTerminated, {allowMalformed: true}); + } + static type(path, opts) { + if (path == null) dart.nullFailed(I[111], 667, 51, "path"); + let followLinks = opts && 'followLinks' in opts ? opts.followLinks : true; + if (followLinks == null) dart.nullFailed(I[111], 668, 13, "followLinks"); + return io.FileSystemEntity._getType(io.FileSystemEntity._toUtf8Array(path), followLinks); + } + static typeSync(path, opts) { + if (path == null) dart.nullFailed(I[111], 679, 47, "path"); + let followLinks = opts && 'followLinks' in opts ? opts.followLinks : true; + if (followLinks == null) dart.nullFailed(I[111], 679, 59, "followLinks"); + return io.FileSystemEntity._getTypeSync(io.FileSystemEntity._toUtf8Array(path), followLinks); + } + static isLink(path) { + if (path == null) dart.nullFailed(I[111], 687, 37, "path"); + return io.FileSystemEntity._isLinkRaw(io.FileSystemEntity._toUtf8Array(path)); + } + static _isLinkRaw(rawPath) { + if (rawPath == null) dart.nullFailed(I[111], 689, 44, "rawPath"); + return io.FileSystemEntity._getType(rawPath, false).then(core.bool, dart.fn(type => { + if (type == null) dart.nullFailed(I[111], 690, 14, "type"); + return dart.equals(type, io.FileSystemEntityType.link); + }, T$0.FileSystemEntityTypeTobool())); + } + static isFile(path) { + if (path == null) dart.nullFailed(I[111], 695, 37, "path"); + return io.FileSystemEntity._getType(io.FileSystemEntity._toUtf8Array(path), true).then(core.bool, dart.fn(type => { + if (type == null) dart.nullFailed(I[111], 696, 14, "type"); + return dart.equals(type, io.FileSystemEntityType.file); + }, T$0.FileSystemEntityTypeTobool())); + } + static isDirectory(path) { + if (path == null) dart.nullFailed(I[111], 701, 42, "path"); + return io.FileSystemEntity._getType(io.FileSystemEntity._toUtf8Array(path), true).then(core.bool, dart.fn(type => { + if (type == null) dart.nullFailed(I[111], 703, 18, "type"); + return dart.equals(type, io.FileSystemEntityType.directory); + }, T$0.FileSystemEntityTypeTobool())); + } + static isLinkSync(path) { + if (path == null) dart.nullFailed(I[111], 709, 33, "path"); + return io.FileSystemEntity._isLinkRawSync(io.FileSystemEntity._toUtf8Array(path)); + } + static _isLinkRawSync(rawPath) { + return dart.equals(io.FileSystemEntity._getTypeSync(typed_data.Uint8List.as(rawPath), false), io.FileSystemEntityType.link); + } + static isFileSync(path) { + if (path == null) dart.nullFailed(I[111], 718, 33, "path"); + return dart.equals(io.FileSystemEntity._getTypeSync(io.FileSystemEntity._toUtf8Array(path), true), io.FileSystemEntityType.file); + } + static isDirectorySync(path) { + if (path == null) dart.nullFailed(I[111], 725, 38, "path"); + return dart.equals(io.FileSystemEntity._getTypeSync(io.FileSystemEntity._toUtf8Array(path), true), io.FileSystemEntityType.directory); + } + static _getTypeNative(namespace, rawPath, followLinks) { + if (namespace == null) dart.nullFailed(I[107], 93, 18, "namespace"); + if (rawPath == null) dart.nullFailed(I[107], 93, 39, "rawPath"); + if (followLinks == null) dart.nullFailed(I[107], 93, 53, "followLinks"); + dart.throw(new core.UnsupportedError.new("FileSystemEntity._getType")); + } + static _identicalNative(namespace, path1, path2) { + if (namespace == null) dart.nullFailed(I[107], 98, 38, "namespace"); + if (path1 == null) dart.nullFailed(I[107], 98, 56, "path1"); + if (path2 == null) dart.nullFailed(I[107], 98, 70, "path2"); + dart.throw(new core.UnsupportedError.new("FileSystemEntity._identical")); + } + static _resolveSymbolicLinks(namespace, rawPath) { + if (namespace == null) dart.nullFailed(I[107], 103, 43, "namespace"); + if (rawPath == null) dart.nullFailed(I[107], 103, 64, "rawPath"); + dart.throw(new core.UnsupportedError.new("FileSystemEntity._resolveSymbolicLinks")); + } + static parentOf(path) { + if (path == null) dart.nullFailed(I[111], 749, 33, "path"); + let rootEnd = -1; + if (dart.test(io.Platform.isWindows)) { + if (path[$startsWith](io.FileSystemEntity._absoluteWindowsPathPattern)) { + rootEnd = path[$indexOf](core.RegExp.new("[/\\\\]"), 2); + if (rootEnd === -1) return path; + } else if (path[$startsWith]("\\") || path[$startsWith]("/")) { + rootEnd = 0; + } + } else if (path[$startsWith]("/")) { + rootEnd = 0; + } + let pos = path[$lastIndexOf](io.FileSystemEntity._parentRegExp); + if (pos > rootEnd) { + return path[$substring](0, pos + 1); + } else if (rootEnd > -1) { + return path[$substring](0, rootEnd + 1); + } else { + return "."; + } + } + get parent() { + return io.Directory.new(io.FileSystemEntity.parentOf(this.path)); + } + static _getTypeSyncHelper(rawPath, followLinks) { + if (rawPath == null) dart.nullFailed(I[111], 778, 17, "rawPath"); + if (followLinks == null) dart.nullFailed(I[111], 778, 31, "followLinks"); + let result = io.FileSystemEntity._getTypeNative(io._Namespace._namespace, rawPath, followLinks); + io.FileSystemEntity._throwIfError(core.Object.as(result), "Error getting type of FileSystemEntity"); + return io.FileSystemEntityType._lookup(core.int.as(result)); + } + static _getTypeSync(rawPath, followLinks) { + if (rawPath == null) dart.nullFailed(I[111], 785, 17, "rawPath"); + if (followLinks == null) dart.nullFailed(I[111], 785, 31, "followLinks"); + let overrides = io.IOOverrides.current; + if (overrides == null) { + return io.FileSystemEntity._getTypeSyncHelper(rawPath, followLinks); + } + return overrides.fseGetTypeSync(convert.utf8.decode(rawPath, {allowMalformed: true}), followLinks); + } + static _getTypeRequest(rawPath, followLinks) { + if (rawPath == null) dart.nullFailed(I[111], 795, 17, "rawPath"); + if (followLinks == null) dart.nullFailed(I[111], 795, 31, "followLinks"); + return io._File._dispatchWithNamespace(27, [null, rawPath, followLinks]).then(io.FileSystemEntityType, dart.fn(response => { + if (dart.test(io._isErrorResponse(response))) { + dart.throw(io._exceptionFromResponse(response, "Error getting type", convert.utf8.decode(rawPath, {allowMalformed: true}))); + } + return io.FileSystemEntityType._lookup(core.int.as(response)); + }, T$0.dynamicToFileSystemEntityType())); + } + static _getType(rawPath, followLinks) { + if (rawPath == null) dart.nullFailed(I[111], 807, 17, "rawPath"); + if (followLinks == null) dart.nullFailed(I[111], 807, 31, "followLinks"); + let overrides = io.IOOverrides.current; + if (overrides == null) { + return io.FileSystemEntity._getTypeRequest(rawPath, followLinks); + } + return overrides.fseGetType(convert.utf8.decode(rawPath, {allowMalformed: true}), followLinks); + } + static _throwIfError(result, msg, path = null) { + if (result == null) dart.nullFailed(I[111], 816, 31, "result"); + if (msg == null) dart.nullFailed(I[111], 816, 46, "msg"); + if (io.OSError.is(result)) { + dart.throw(new io.FileSystemException.new(msg, path, result)); + } else if (core.ArgumentError.is(result)) { + dart.throw(result); + } + } + static _trimTrailingPathSeparators(path) { + if (path == null) dart.nullFailed(I[111], 825, 52, "path"); + core.ArgumentError.checkNotNull(core.String, path, "path"); + if (dart.test(io.Platform.isWindows)) { + while (path.length > 1 && (path[$endsWith](io.Platform.pathSeparator) || path[$endsWith]("/"))) { + path = path[$substring](0, path.length - 1); + } + } else { + while (path.length > 1 && path[$endsWith](io.Platform.pathSeparator)) { + path = path[$substring](0, path.length - 1); + } + } + return path; + } + static _ensureTrailingPathSeparators(path) { + if (path == null) dart.nullFailed(I[111], 842, 54, "path"); + if (path[$isEmpty]) path = "."; + if (dart.test(io.Platform.isWindows)) { + while (!path[$endsWith](io.Platform.pathSeparator) && !path[$endsWith]("/")) { + path = dart.str(path) + dart.str(io.Platform.pathSeparator); + } + } else { + while (!path[$endsWith](io.Platform.pathSeparator)) { + path = dart.str(path) + dart.str(io.Platform.pathSeparator); + } + } + return path; + } + }; + (io.FileSystemEntity.new = function() { + ; + }).prototype = io.FileSystemEntity.prototype; + dart.addTypeTests(io.FileSystemEntity); + dart.addTypeCaches(io.FileSystemEntity); + dart.setMethodSignature(io.FileSystemEntity, () => ({ + __proto__: dart.getMethods(io.FileSystemEntity.__proto__), + resolveSymbolicLinks: dart.fnType(async.Future$(core.String), []), + resolveSymbolicLinksSync: dart.fnType(core.String, []), + stat: dart.fnType(async.Future$(io.FileStat), []), + statSync: dart.fnType(io.FileStat, []), + delete: dart.fnType(async.Future$(io.FileSystemEntity), [], {recursive: core.bool}, {}), + deleteSync: dart.fnType(dart.void, [], {recursive: core.bool}, {}), + watch: dart.fnType(async.Stream$(io.FileSystemEvent), [], {events: core.int, recursive: core.bool}, {}) + })); + dart.setGetterSignature(io.FileSystemEntity, () => ({ + __proto__: dart.getGetters(io.FileSystemEntity.__proto__), + uri: core.Uri, + isAbsolute: core.bool, + [_absolutePath]: core.String, + parent: io.Directory + })); + dart.setLibraryUri(io.FileSystemEntity, I[105]); + dart.defineLazy(io.FileSystemEntity, { + /*io.FileSystemEntity._backslashChar*/get _backslashChar() { + return 92; + }, + /*io.FileSystemEntity._slashChar*/get _slashChar() { + return 47; + }, + /*io.FileSystemEntity._colonChar*/get _colonChar() { + return 58; + }, + /*io.FileSystemEntity._absoluteWindowsPathPattern*/get _absoluteWindowsPathPattern() { + return core.RegExp.new("^(?:\\\\\\\\|[a-zA-Z]:[/\\\\])"); + }, + /*io.FileSystemEntity._parentRegExp*/get _parentRegExp() { + return dart.test(io.Platform.isWindows) ? core.RegExp.new("[^/\\\\][/\\\\]+[^/\\\\]") : core.RegExp.new("[^/]/+[^/]"); + } + }, false); + io._Directory = class _Directory extends io.FileSystemEntity { + get [_path$0]() { + return this[_path$]; + } + set [_path$0](value) { + super[_path$0] = value; + } + get [_rawPath$]() { + return this[_rawPath]; + } + set [_rawPath$](value) { + super[_rawPath$] = value; + } + get path() { + return this[_path$0]; + } + static _current(namespace) { + if (namespace == null) dart.nullFailed(I[107], 14, 30, "namespace"); + dart.throw(new core.UnsupportedError.new("Directory._current")); + } + static _setCurrent(namespace, rawPath) { + if (namespace == null) dart.nullFailed(I[107], 19, 33, "namespace"); + if (rawPath == null) dart.nullFailed(I[107], 19, 54, "rawPath"); + dart.throw(new core.UnsupportedError.new("Directory_SetCurrent")); + } + static _createTemp(namespace, rawPath) { + if (namespace == null) dart.nullFailed(I[107], 24, 33, "namespace"); + if (rawPath == null) dart.nullFailed(I[107], 24, 54, "rawPath"); + dart.throw(new core.UnsupportedError.new("Directory._createTemp")); + } + static _systemTemp(namespace) { + if (namespace == null) dart.nullFailed(I[107], 29, 40, "namespace"); + dart.throw(new core.UnsupportedError.new("Directory._systemTemp")); + } + static _exists(namespace, rawPath) { + if (namespace == null) dart.nullFailed(I[107], 34, 29, "namespace"); + if (rawPath == null) dart.nullFailed(I[107], 34, 50, "rawPath"); + dart.throw(new core.UnsupportedError.new("Directory._exists")); + } + static _create(namespace, rawPath) { + if (namespace == null) dart.nullFailed(I[107], 39, 29, "namespace"); + if (rawPath == null) dart.nullFailed(I[107], 39, 50, "rawPath"); + dart.throw(new core.UnsupportedError.new("Directory._create")); + } + static _deleteNative(namespace, rawPath, recursive) { + if (namespace == null) dart.nullFailed(I[107], 45, 18, "namespace"); + if (rawPath == null) dart.nullFailed(I[107], 45, 39, "rawPath"); + if (recursive == null) dart.nullFailed(I[107], 45, 53, "recursive"); + dart.throw(new core.UnsupportedError.new("Directory._deleteNative")); + } + static _rename(namespace, rawPath, newPath) { + if (namespace == null) dart.nullFailed(I[107], 50, 29, "namespace"); + if (rawPath == null) dart.nullFailed(I[107], 50, 50, "rawPath"); + if (newPath == null) dart.nullFailed(I[107], 50, 66, "newPath"); + dart.throw(new core.UnsupportedError.new("Directory._rename")); + } + static _fillWithDirectoryListing(namespace, list, rawPath, recursive, followLinks) { + if (namespace == null) dart.nullFailed(I[107], 56, 18, "namespace"); + if (list == null) dart.nullFailed(I[107], 57, 30, "list"); + if (rawPath == null) dart.nullFailed(I[107], 58, 17, "rawPath"); + if (recursive == null) dart.nullFailed(I[107], 59, 12, "recursive"); + if (followLinks == null) dart.nullFailed(I[107], 60, 12, "followLinks"); + dart.throw(new core.UnsupportedError.new("Directory._fillWithDirectoryListing")); + } + static get current() { + let result = io._Directory._current(io._Namespace._namespace); + if (io.OSError.is(result)) { + dart.throw(new io.FileSystemException.new("Getting current working directory failed", "", result)); + } + return new io._Directory.new(core.String.as(result)); + } + static set current(path) { + let _rawPath = null; + let _rawPath$35isSet = false; + function _rawPath$35get() { + return _rawPath$35isSet ? _rawPath : dart.throw(new _internal.LateError.localNI("_rawPath")); + } + dart.fn(_rawPath$35get, T$0.VoidToUint8List()); + function _rawPath$35set(t185) { + if (t185 == null) dart.nullFailed(I[110], 49, 20, "null"); + _rawPath$35isSet = true; + return _rawPath = t185; + } + dart.fn(_rawPath$35set, T$0.Uint8ListTodynamic()); + if (io._Directory.is(path)) { + _rawPath$35set(path[_rawPath$]); + } else if (io.Directory.is(path)) { + _rawPath$35set(io.FileSystemEntity._toUtf8Array(path.path)); + } else if (typeof path == 'string') { + _rawPath$35set(io.FileSystemEntity._toUtf8Array(path)); + } else { + dart.throw(new core.ArgumentError.new(dart.str(core.Error.safeToString(path)) + " is not a String or" + " Directory")); + } + if (!dart.test(io._EmbedderConfig._mayChdir)) { + dart.throw(new core.UnsupportedError.new("This embedder disallows setting Directory.current")); + } + let result = io._Directory._setCurrent(io._Namespace._namespace, _rawPath$35get()); + if (core.ArgumentError.is(result)) dart.throw(result); + if (io.OSError.is(result)) { + dart.throw(new io.FileSystemException.new("Setting current working directory failed", dart.toString(path), result)); + } + } + get uri() { + return core._Uri.directory(this.path); + } + exists() { + return io._File._dispatchWithNamespace(36, [null, this[_rawPath$]]).then(core.bool, dart.fn(response => { + if (dart.test(this[_isErrorResponse](response))) { + dart.throw(this[_exceptionOrErrorFromResponse](response, "Exists failed")); + } + return dart.equals(response, 1); + }, T$0.dynamicTobool())); + } + existsSync() { + let result = io._Directory._exists(io._Namespace._namespace, this[_rawPath$]); + if (io.OSError.is(result)) { + dart.throw(new io.FileSystemException.new("Exists failed", this.path, result)); + } + return dart.equals(result, 1); + } + get absolute() { + return io.Directory.new(this[_absolutePath]); + } + create(opts) { + let recursive = opts && 'recursive' in opts ? opts.recursive : false; + if (recursive == null) dart.nullFailed(I[110], 101, 34, "recursive"); + if (dart.test(recursive)) { + return this.exists().then(io.Directory, dart.fn(exists => { + if (exists == null) dart.nullFailed(I[110], 103, 29, "exists"); + if (dart.test(exists)) return this; + if (this.path != this.parent.path) { + return this.parent.create({recursive: true}).then(io.Directory, dart.fn(_ => { + if (_ == null) dart.nullFailed(I[110], 106, 55, "_"); + return this.create(); + }, T$0.DirectoryToFutureOfDirectory())); + } else { + return this.create(); + } + }, T$0.boolToFutureOrOfDirectory())); + } else { + return io._File._dispatchWithNamespace(34, [null, this[_rawPath$]]).then(io.Directory, dart.fn(response => { + if (dart.test(this[_isErrorResponse](response))) { + dart.throw(this[_exceptionOrErrorFromResponse](response, "Creation failed")); + } + return this; + }, T$0.dynamicTo_Directory())); + } + } + createSync(opts) { + let recursive = opts && 'recursive' in opts ? opts.recursive : false; + if (recursive == null) dart.nullFailed(I[110], 124, 25, "recursive"); + if (dart.test(recursive)) { + if (dart.test(this.existsSync())) return; + if (this.path != this.parent.path) { + this.parent.createSync({recursive: true}); + } + } + let result = io._Directory._create(io._Namespace._namespace, this[_rawPath$]); + if (io.OSError.is(result)) { + dart.throw(new io.FileSystemException.new("Creation failed", this.path, result)); + } + } + static get systemTemp() { + return io.Directory.new(io._Directory._systemTemp(io._Namespace._namespace)); + } + createTemp(prefix = null) { + prefix == null ? prefix = "" : null; + if (this.path === "") { + dart.throw(new core.ArgumentError.new("Directory.createTemp called with an empty path. " + "To use the system temp directory, use Directory.systemTemp")); + } + let fullPrefix = null; + if (this.path[$endsWith]("/") || dart.test(io.Platform.isWindows) && this.path[$endsWith]("\\")) { + fullPrefix = dart.str(this.path) + dart.str(prefix); + } else { + fullPrefix = dart.str(this.path) + dart.str(io.Platform.pathSeparator) + dart.str(prefix); + } + return io._File._dispatchWithNamespace(37, [null, io.FileSystemEntity._toUtf8Array(fullPrefix)]).then(io.Directory, dart.fn(response => { + if (dart.test(this[_isErrorResponse](response))) { + dart.throw(this[_exceptionOrErrorFromResponse](response, "Creation of temporary directory failed")); + } + return io.Directory.new(core.String.as(response)); + }, T$0.dynamicToDirectory())); + } + createTempSync(prefix = null) { + prefix == null ? prefix = "" : null; + if (this.path === "") { + dart.throw(new core.ArgumentError.new("Directory.createTemp called with an empty path. " + "To use the system temp directory, use Directory.systemTemp")); + } + let fullPrefix = null; + if (this.path[$endsWith]("/") || dart.test(io.Platform.isWindows) && this.path[$endsWith]("\\")) { + fullPrefix = dart.str(this.path) + dart.str(prefix); + } else { + fullPrefix = dart.str(this.path) + dart.str(io.Platform.pathSeparator) + dart.str(prefix); + } + let result = io._Directory._createTemp(io._Namespace._namespace, io.FileSystemEntity._toUtf8Array(fullPrefix)); + if (io.OSError.is(result)) { + dart.throw(new io.FileSystemException.new("Creation of temporary directory failed", fullPrefix, result)); + } + return io.Directory.new(core.String.as(result)); + } + [_delete](opts) { + let recursive = opts && 'recursive' in opts ? opts.recursive : false; + if (recursive == null) dart.nullFailed(I[110], 187, 35, "recursive"); + return io._File._dispatchWithNamespace(35, [null, this[_rawPath$], recursive]).then(io.Directory, dart.fn(response => { + if (dart.test(this[_isErrorResponse](response))) { + dart.throw(this[_exceptionOrErrorFromResponse](response, "Deletion failed")); + } + return this; + }, T$0.dynamicTo_Directory())); + } + [_deleteSync](opts) { + let recursive = opts && 'recursive' in opts ? opts.recursive : false; + if (recursive == null) dart.nullFailed(I[110], 198, 26, "recursive"); + let result = io._Directory._deleteNative(io._Namespace._namespace, this[_rawPath$], recursive); + if (io.OSError.is(result)) { + dart.throw(new io.FileSystemException.new("Deletion failed", this.path, result)); + } + } + rename(newPath) { + if (newPath == null) dart.nullFailed(I[110], 205, 35, "newPath"); + return io._File._dispatchWithNamespace(41, [null, this[_rawPath$], newPath]).then(io.Directory, dart.fn(response => { + if (dart.test(this[_isErrorResponse](response))) { + dart.throw(this[_exceptionOrErrorFromResponse](response, "Rename failed")); + } + return io.Directory.new(newPath); + }, T$0.dynamicToDirectory())); + } + renameSync(newPath) { + if (newPath == null) dart.nullFailed(I[110], 215, 31, "newPath"); + core.ArgumentError.checkNotNull(core.String, newPath, "newPath"); + let result = io._Directory._rename(io._Namespace._namespace, this[_rawPath$], newPath); + if (io.OSError.is(result)) { + dart.throw(new io.FileSystemException.new("Rename failed", this.path, result)); + } + return io.Directory.new(newPath); + } + list(opts) { + let recursive = opts && 'recursive' in opts ? opts.recursive : false; + if (recursive == null) dart.nullFailed(I[110], 226, 13, "recursive"); + let followLinks = opts && 'followLinks' in opts ? opts.followLinks : true; + if (followLinks == null) dart.nullFailed(I[110], 226, 37, "followLinks"); + return new io._AsyncDirectoryLister.new(io.FileSystemEntity._toUtf8Array(io.FileSystemEntity._ensureTrailingPathSeparators(this.path)), recursive, followLinks).stream; + } + listSync(opts) { + let recursive = opts && 'recursive' in opts ? opts.recursive : false; + if (recursive == null) dart.nullFailed(I[110], 238, 13, "recursive"); + let followLinks = opts && 'followLinks' in opts ? opts.followLinks : true; + if (followLinks == null) dart.nullFailed(I[110], 238, 37, "followLinks"); + core.ArgumentError.checkNotNull(core.bool, recursive, "recursive"); + core.ArgumentError.checkNotNull(core.bool, followLinks, "followLinks"); + let result = T$0.JSArrayOfFileSystemEntity().of([]); + io._Directory._fillWithDirectoryListing(io._Namespace._namespace, result, io.FileSystemEntity._toUtf8Array(io.FileSystemEntity._ensureTrailingPathSeparators(this.path)), recursive, followLinks); + return result; + } + toString() { + return "Directory: '" + dart.str(this.path) + "'"; + } + [_isErrorResponse](response) { + return core.List.is(response) && !dart.equals(response[$_get](0), 0); + } + [_exceptionOrErrorFromResponse](response, message) { + if (message == null) dart.nullFailed(I[110], 260, 50, "message"); + if (!dart.test(this[_isErrorResponse](response))) dart.assertFailed(null, I[110], 261, 12, "_isErrorResponse(response)"); + switch (dart.dsend(response, '_get', [0])) { + case 1: + { + return new core.ArgumentError.new(); + } + case 2: + { + let err = new io.OSError.new(core.String.as(dart.dsend(response, '_get', [2])), core.int.as(dart.dsend(response, '_get', [1]))); + return new io.FileSystemException.new(message, this.path, err); + } + default: + { + return core.Exception.new("Unknown error"); + } + } + } + static _checkNotNull(T, t, name) { + if (name == null) dart.nullFailed(I[110], 275, 41, "name"); + core.ArgumentError.checkNotNull(T, t, name); + return t; + } + }; + (io._Directory.new = function(path) { + if (path == null) dart.nullFailed(I[110], 11, 21, "path"); + this[_path$] = io._Directory._checkNotNull(core.String, path, "path"); + this[_rawPath] = io.FileSystemEntity._toUtf8Array(path); + ; + }).prototype = io._Directory.prototype; + (io._Directory.fromRawPath = function(rawPath) { + if (rawPath == null) dart.nullFailed(I[110], 15, 36, "rawPath"); + this[_rawPath] = io.FileSystemEntity._toNullTerminatedUtf8Array(io._Directory._checkNotNull(typed_data.Uint8List, rawPath, "rawPath")); + this[_path$] = io.FileSystemEntity._toStringFromUtf8Array(rawPath); + ; + }).prototype = io._Directory.prototype; + dart.addTypeTests(io._Directory); + dart.addTypeCaches(io._Directory); + io._Directory[dart.implements] = () => [io.Directory]; + dart.setMethodSignature(io._Directory, () => ({ + __proto__: dart.getMethods(io._Directory.__proto__), + exists: dart.fnType(async.Future$(core.bool), []), + existsSync: dart.fnType(core.bool, []), + create: dart.fnType(async.Future$(io.Directory), [], {recursive: core.bool}, {}), + createSync: dart.fnType(dart.void, [], {recursive: core.bool}, {}), + createTemp: dart.fnType(async.Future$(io.Directory), [], [dart.nullable(core.String)]), + createTempSync: dart.fnType(io.Directory, [], [dart.nullable(core.String)]), + [_delete]: dart.fnType(async.Future$(io.Directory), [], {recursive: core.bool}, {}), + [_deleteSync]: dart.fnType(dart.void, [], {recursive: core.bool}, {}), + rename: dart.fnType(async.Future$(io.Directory), [core.String]), + renameSync: dart.fnType(io.Directory, [core.String]), + list: dart.fnType(async.Stream$(io.FileSystemEntity), [], {followLinks: core.bool, recursive: core.bool}, {}), + listSync: dart.fnType(core.List$(io.FileSystemEntity), [], {followLinks: core.bool, recursive: core.bool}, {}), + [_isErrorResponse]: dart.fnType(core.bool, [dart.dynamic]), + [_exceptionOrErrorFromResponse]: dart.fnType(dart.dynamic, [dart.dynamic, core.String]) + })); + dart.setGetterSignature(io._Directory, () => ({ + __proto__: dart.getGetters(io._Directory.__proto__), + path: core.String, + absolute: io.Directory + })); + dart.setLibraryUri(io._Directory, I[105]); + dart.setFieldSignature(io._Directory, () => ({ + __proto__: dart.getFields(io._Directory.__proto__), + [_path$0]: dart.finalFieldType(core.String), + [_rawPath$]: dart.finalFieldType(typed_data.Uint8List) + })); + dart.defineExtensionMethods(io._Directory, ['toString']); + io._AsyncDirectoryListerOps = class _AsyncDirectoryListerOps extends core.Object { + static new(pointer) { + if (pointer == null) dart.nullFailed(I[107], 68, 40, "pointer"); + dart.throw(new core.UnsupportedError.new("Directory._list")); + } + }; + (io._AsyncDirectoryListerOps[dart.mixinNew] = function() { + }).prototype = io._AsyncDirectoryListerOps.prototype; + dart.addTypeTests(io._AsyncDirectoryListerOps); + dart.addTypeCaches(io._AsyncDirectoryListerOps); + dart.setLibraryUri(io._AsyncDirectoryListerOps, I[105]); + var _ops = dart.privateName(io, "_ops"); + var _pointer = dart.privateName(io, "_pointer"); + var _cleanup = dart.privateName(io, "_cleanup"); + io._AsyncDirectoryLister = class _AsyncDirectoryLister extends core.Object { + [_pointer]() { + let t187; + t187 = this[_ops]; + return t187 == null ? null : t187.getPointer(); + } + get stream() { + return this.controller.stream; + } + onListen() { + io._File._dispatchWithNamespace(38, [null, this.rawPath, this.recursive, this.followLinks]).then(core.Null, dart.fn(response => { + if (core.int.is(response)) { + this[_ops] = io._AsyncDirectoryListerOps.new(response); + this.next(); + } else if (core.Error.is(response)) { + this.controller.addError(response, response[$stackTrace]); + this.close(); + } else { + this.error(response); + this.close(); + } + }, T$.dynamicToNull())); + } + onResume() { + if (!dart.test(this.nextRunning)) { + this.next(); + } + } + onCancel() { + this.canceled = true; + if (!dart.test(this.nextRunning)) { + this.close(); + } + return this.closeCompleter.future; + } + next() { + if (dart.test(this.canceled)) { + this.close(); + return; + } + if (dart.test(this.controller.isPaused) || dart.test(this.nextRunning)) { + return; + } + let pointer = this[_pointer](); + if (pointer == null) { + return; + } + this.nextRunning = true; + io._IOService._dispatch(39, [pointer]).then(core.Null, dart.fn(result => { + let t187; + this.nextRunning = false; + if (core.List.is(result)) { + this.next(); + if (!(result[$length][$modulo](2) === 0)) dart.assertFailed(null, I[110], 378, 16, "result.length % 2 == 0"); + for (let i = 0; i < dart.notNull(result[$length]); i = i + 1) { + if (!(i[$modulo](2) === 0)) dart.assertFailed(null, I[110], 380, 18, "i % 2 == 0"); + switch (result[$_get]((t187 = i, i = t187 + 1, t187))) { + case 0: + { + this.controller.add(io.File.fromRawPath(typed_data.Uint8List.as(result[$_get](i)))); + break; + } + case 1: + { + this.controller.add(io.Directory.fromRawPath(typed_data.Uint8List.as(result[$_get](i)))); + break; + } + case 2: + { + this.controller.add(io.Link.fromRawPath(typed_data.Uint8List.as(result[$_get](i)))); + break; + } + case 3: + { + this.error(result[$_get](i)); + break; + } + case 4: + { + this.canceled = true; + return; + } + } + } + } else { + this.controller.addError(new io.FileSystemException.new("Internal error")); + } + }, T$.dynamicToNull())); + } + [_cleanup]() { + this.controller.close(); + this.closeCompleter.complete(); + this[_ops] = null; + } + close() { + if (dart.test(this.closed)) { + return; + } + if (dart.test(this.nextRunning)) { + return; + } + this.closed = true; + let pointer = this[_pointer](); + if (pointer == null) { + this[_cleanup](); + } else { + io._IOService._dispatch(40, [pointer]).whenComplete(dart.bind(this, _cleanup)); + } + } + error(message) { + let errorType = dart.dsend(dart.dsend(message, '_get', [2]), '_get', [0]); + if (dart.equals(errorType, 1)) { + this.controller.addError(new core.ArgumentError.new()); + } else if (dart.equals(errorType, 2)) { + let responseErrorInfo = dart.dsend(message, '_get', [2]); + let err = new io.OSError.new(core.String.as(dart.dsend(responseErrorInfo, '_get', [2])), core.int.as(dart.dsend(responseErrorInfo, '_get', [1]))); + let errorPath = dart.dsend(message, '_get', [1]); + if (errorPath == null) { + errorPath = convert.utf8.decode(this.rawPath, {allowMalformed: true}); + } else if (typed_data.Uint8List.is(errorPath)) { + errorPath = convert.utf8.decode(T$0.ListOfint().as(dart.dsend(message, '_get', [1])), {allowMalformed: true}); + } + this.controller.addError(new io.FileSystemException.new("Directory listing failed", T$.StringN().as(errorPath), err)); + } else { + this.controller.addError(new io.FileSystemException.new("Internal error")); + } + } + }; + (io._AsyncDirectoryLister.new = function(rawPath, recursive, followLinks) { + let t187; + if (rawPath == null) dart.nullFailed(I[110], 310, 30, "rawPath"); + if (recursive == null) dart.nullFailed(I[110], 310, 44, "recursive"); + if (followLinks == null) dart.nullFailed(I[110], 310, 60, "followLinks"); + this.controller = T$0.StreamControllerOfFileSystemEntity().new({sync: true}); + this.canceled = false; + this.nextRunning = false; + this.closed = false; + this[_ops] = null; + this.closeCompleter = async.Completer.new(); + this.rawPath = rawPath; + this.recursive = recursive; + this.followLinks = followLinks; + t187 = this.controller; + (() => { + t187.onListen = dart.bind(this, 'onListen'); + t187.onResume = dart.bind(this, 'onResume'); + t187.onCancel = dart.bind(this, 'onCancel'); + return t187; + })(); + }).prototype = io._AsyncDirectoryLister.prototype; + dart.addTypeTests(io._AsyncDirectoryLister); + dart.addTypeCaches(io._AsyncDirectoryLister); + dart.setMethodSignature(io._AsyncDirectoryLister, () => ({ + __proto__: dart.getMethods(io._AsyncDirectoryLister.__proto__), + [_pointer]: dart.fnType(dart.nullable(core.int), []), + onListen: dart.fnType(dart.void, []), + onResume: dart.fnType(dart.void, []), + onCancel: dart.fnType(async.Future, []), + next: dart.fnType(dart.void, []), + [_cleanup]: dart.fnType(dart.void, []), + close: dart.fnType(dart.void, []), + error: dart.fnType(dart.void, [dart.dynamic]) + })); + dart.setGetterSignature(io._AsyncDirectoryLister, () => ({ + __proto__: dart.getGetters(io._AsyncDirectoryLister.__proto__), + stream: async.Stream$(io.FileSystemEntity) + })); + dart.setLibraryUri(io._AsyncDirectoryLister, I[105]); + dart.setFieldSignature(io._AsyncDirectoryLister, () => ({ + __proto__: dart.getFields(io._AsyncDirectoryLister.__proto__), + rawPath: dart.finalFieldType(typed_data.Uint8List), + recursive: dart.finalFieldType(core.bool), + followLinks: dart.finalFieldType(core.bool), + controller: dart.finalFieldType(async.StreamController$(io.FileSystemEntity)), + canceled: dart.fieldType(core.bool), + nextRunning: dart.fieldType(core.bool), + closed: dart.fieldType(core.bool), + [_ops]: dart.fieldType(dart.nullable(io._AsyncDirectoryListerOps)), + closeCompleter: dart.fieldType(async.Completer) + })); + dart.defineLazy(io._AsyncDirectoryLister, { + /*io._AsyncDirectoryLister.listFile*/get listFile() { + return 0; + }, + /*io._AsyncDirectoryLister.listDirectory*/get listDirectory() { + return 1; + }, + /*io._AsyncDirectoryLister.listLink*/get listLink() { + return 2; + }, + /*io._AsyncDirectoryLister.listError*/get listError() { + return 3; + }, + /*io._AsyncDirectoryLister.listDone*/get listDone() { + return 4; + }, + /*io._AsyncDirectoryLister.responseType*/get responseType() { + return 0; + }, + /*io._AsyncDirectoryLister.responsePath*/get responsePath() { + return 1; + }, + /*io._AsyncDirectoryLister.responseComplete*/get responseComplete() { + return 1; + }, + /*io._AsyncDirectoryLister.responseError*/get responseError() { + return 2; + } + }, false); + io._EmbedderConfig = class _EmbedderConfig extends core.Object { + static _setDomainPolicies(domainNetworkPolicyJson) { + if (domainNetworkPolicyJson == null) dart.nullFailed(I[112], 44, 41, "domainNetworkPolicyJson"); + io._domainPolicies = io._constructDomainPolicies(domainNetworkPolicyJson); + } + }; + (io._EmbedderConfig.new = function() { + ; + }).prototype = io._EmbedderConfig.prototype; + dart.addTypeTests(io._EmbedderConfig); + dart.addTypeCaches(io._EmbedderConfig); + dart.setLibraryUri(io._EmbedderConfig, I[105]); + dart.defineLazy(io._EmbedderConfig, { + /*io._EmbedderConfig._mayChdir*/get _mayChdir() { + return true; + }, + set _mayChdir(_) {}, + /*io._EmbedderConfig._mayExit*/get _mayExit() { + return true; + }, + set _mayExit(_) {}, + /*io._EmbedderConfig._maySetEchoMode*/get _maySetEchoMode() { + return true; + }, + set _maySetEchoMode(_) {}, + /*io._EmbedderConfig._maySetLineMode*/get _maySetLineMode() { + return true; + }, + set _maySetLineMode(_) {}, + /*io._EmbedderConfig._maySleep*/get _maySleep() { + return true; + }, + set _maySleep(_) {}, + /*io._EmbedderConfig._mayInsecurelyConnectToAllDomains*/get _mayInsecurelyConnectToAllDomains() { + return true; + }, + set _mayInsecurelyConnectToAllDomains(_) {} + }, false); + io._EventHandler = class _EventHandler extends core.Object { + static _sendData(sender, sendPort, data) { + if (sendPort == null) dart.nullFailed(I[107], 76, 50, "sendPort"); + if (data == null) dart.nullFailed(I[107], 76, 64, "data"); + dart.throw(new core.UnsupportedError.new("EventHandler._sendData")); + } + }; + (io._EventHandler.new = function() { + ; + }).prototype = io._EventHandler.prototype; + dart.addTypeTests(io._EventHandler); + dart.addTypeCaches(io._EventHandler); + dart.setLibraryUri(io._EventHandler, I[105]); + var _mode$ = dart.privateName(io, "FileMode._mode"); + var _mode = dart.privateName(io, "_mode"); + io.FileMode = class FileMode extends core.Object { + get [_mode]() { + return this[_mode$]; + } + set [_mode](value) { + super[_mode] = value; + } + }; + (io.FileMode._internal = function(_mode) { + if (_mode == null) dart.nullFailed(I[113], 42, 33, "_mode"); + this[_mode$] = _mode; + ; + }).prototype = io.FileMode.prototype; + dart.addTypeTests(io.FileMode); + dart.addTypeCaches(io.FileMode); + dart.setLibraryUri(io.FileMode, I[105]); + dart.setFieldSignature(io.FileMode, () => ({ + __proto__: dart.getFields(io.FileMode.__proto__), + [_mode]: dart.finalFieldType(core.int) + })); + dart.defineLazy(io.FileMode, { + /*io.FileMode.read*/get read() { + return C[109] || CT.C109; + }, + /*io.FileMode.READ*/get READ() { + return C[109] || CT.C109; + }, + /*io.FileMode.write*/get write() { + return C[110] || CT.C110; + }, + /*io.FileMode.WRITE*/get WRITE() { + return C[110] || CT.C110; + }, + /*io.FileMode.append*/get append() { + return C[111] || CT.C111; + }, + /*io.FileMode.APPEND*/get APPEND() { + return C[111] || CT.C111; + }, + /*io.FileMode.writeOnly*/get writeOnly() { + return C[112] || CT.C112; + }, + /*io.FileMode.WRITE_ONLY*/get WRITE_ONLY() { + return C[112] || CT.C112; + }, + /*io.FileMode.writeOnlyAppend*/get writeOnlyAppend() { + return C[113] || CT.C113; + }, + /*io.FileMode.WRITE_ONLY_APPEND*/get WRITE_ONLY_APPEND() { + return C[113] || CT.C113; + } + }, false); + var _type$1 = dart.privateName(io, "FileLock._type"); + var _type = dart.privateName(io, "_type"); + io.FileLock = class FileLock extends core.Object { + get [_type]() { + return this[_type$1]; + } + set [_type](value) { + super[_type] = value; + } + }; + (io.FileLock._internal = function(_type) { + if (_type == null) dart.nullFailed(I[113], 95, 33, "_type"); + this[_type$1] = _type; + ; + }).prototype = io.FileLock.prototype; + dart.addTypeTests(io.FileLock); + dart.addTypeCaches(io.FileLock); + dart.setLibraryUri(io.FileLock, I[105]); + dart.setFieldSignature(io.FileLock, () => ({ + __proto__: dart.getFields(io.FileLock.__proto__), + [_type]: dart.finalFieldType(core.int) + })); + dart.defineLazy(io.FileLock, { + /*io.FileLock.shared*/get shared() { + return C[114] || CT.C114; + }, + /*io.FileLock.SHARED*/get SHARED() { + return C[114] || CT.C114; + }, + /*io.FileLock.exclusive*/get exclusive() { + return C[115] || CT.C115; + }, + /*io.FileLock.EXCLUSIVE*/get EXCLUSIVE() { + return C[115] || CT.C115; + }, + /*io.FileLock.blockingShared*/get blockingShared() { + return C[116] || CT.C116; + }, + /*io.FileLock.BLOCKING_SHARED*/get BLOCKING_SHARED() { + return C[116] || CT.C116; + }, + /*io.FileLock.blockingExclusive*/get blockingExclusive() { + return C[117] || CT.C117; + }, + /*io.FileLock.BLOCKING_EXCLUSIVE*/get BLOCKING_EXCLUSIVE() { + return C[117] || CT.C117; + } + }, false); + io.File = class File extends core.Object { + static new(path) { + if (path == null) dart.nullFailed(I[113], 237, 23, "path"); + let overrides = io.IOOverrides.current; + if (overrides == null) { + return new io._File.new(path); + } + return overrides.createFile(path); + } + static fromUri(uri) { + if (uri == null) dart.nullFailed(I[113], 248, 28, "uri"); + return io.File.new(uri.toFilePath()); + } + static fromRawPath(rawPath) { + if (rawPath == null) dart.nullFailed(I[113], 254, 38, "rawPath"); + return new io._File.fromRawPath(rawPath); + } + }; + (io.File[dart.mixinNew] = function() { + }).prototype = io.File.prototype; + dart.addTypeTests(io.File); + dart.addTypeCaches(io.File); + io.File[dart.implements] = () => [io.FileSystemEntity]; + dart.setLibraryUri(io.File, I[105]); + io.RandomAccessFile = class RandomAccessFile extends core.Object {}; + (io.RandomAccessFile.new = function() { + ; + }).prototype = io.RandomAccessFile.prototype; + dart.addTypeTests(io.RandomAccessFile); + dart.addTypeCaches(io.RandomAccessFile); + dart.setLibraryUri(io.RandomAccessFile, I[105]); + var message$3 = dart.privateName(io, "FileSystemException.message"); + var path$ = dart.privateName(io, "FileSystemException.path"); + var osError$ = dart.privateName(io, "FileSystemException.osError"); + io.FileSystemException = class FileSystemException extends core.Object { + get message() { + return this[message$3]; + } + set message(value) { + super.message = value; + } + get path() { + return this[path$]; + } + set path(value) { + super.path = value; + } + get osError() { + return this[osError$]; + } + set osError(value) { + super.osError = value; + } + toString() { + let sb = new core.StringBuffer.new(); + sb.write("FileSystemException"); + if (this.message[$isNotEmpty]) { + sb.write(": " + dart.str(this.message)); + if (this.path != null) { + sb.write(", path = '" + dart.str(this.path) + "'"); + } + if (this.osError != null) { + sb.write(" (" + dart.str(this.osError) + ")"); + } + } else if (this.osError != null) { + sb.write(": " + dart.str(this.osError)); + if (this.path != null) { + sb.write(", path = '" + dart.str(this.path) + "'"); + } + } else if (this.path != null) { + sb.write(": " + dart.str(this.path)); + } + return sb.toString(); + } + }; + (io.FileSystemException.new = function(message = "", path = "", osError = null) { + if (message == null) dart.nullFailed(I[113], 926, 35, "message"); + this[message$3] = message; + this[path$] = path; + this[osError$] = osError; + ; + }).prototype = io.FileSystemException.prototype; + dart.addTypeTests(io.FileSystemException); + dart.addTypeCaches(io.FileSystemException); + io.FileSystemException[dart.implements] = () => [io.IOException]; + dart.setLibraryUri(io.FileSystemException, I[105]); + dart.setFieldSignature(io.FileSystemException, () => ({ + __proto__: dart.getFields(io.FileSystemException.__proto__), + message: dart.finalFieldType(core.String), + path: dart.finalFieldType(dart.nullable(core.String)), + osError: dart.finalFieldType(dart.nullable(io.OSError)) + })); + dart.defineExtensionMethods(io.FileSystemException, ['toString']); + var ___FileStream__controller = dart.privateName(io, "_#_FileStream#_controller"); + var ___FileStream__controller_isSet = dart.privateName(io, "_#_FileStream#_controller#isSet"); + var ___FileStream__openedFile = dart.privateName(io, "_#_FileStream#_openedFile"); + var ___FileStream__openedFile_isSet = dart.privateName(io, "_#_FileStream#_openedFile#isSet"); + var _closeCompleter = dart.privateName(io, "_closeCompleter"); + var _unsubscribed = dart.privateName(io, "_unsubscribed"); + var _readInProgress = dart.privateName(io, "_readInProgress"); + var _atEnd = dart.privateName(io, "_atEnd"); + var _end$ = dart.privateName(io, "_end"); + var _position$ = dart.privateName(io, "_position"); + var _controller = dart.privateName(io, "_controller"); + var _openedFile = dart.privateName(io, "_openedFile"); + var _start$1 = dart.privateName(io, "_start"); + var _readBlock = dart.privateName(io, "_readBlock"); + var _closeFile = dart.privateName(io, "_closeFile"); + io._FileStream = class _FileStream extends async.Stream$(core.List$(core.int)) { + get [_controller]() { + let t187; + return dart.test(this[___FileStream__controller_isSet]) ? (t187 = this[___FileStream__controller], t187) : dart.throw(new _internal.LateError.fieldNI("_controller")); + } + set [_controller](t187) { + if (t187 == null) dart.nullFailed(I[114], 12, 36, "null"); + this[___FileStream__controller_isSet] = true; + this[___FileStream__controller] = t187; + } + get [_openedFile]() { + let t188; + return dart.test(this[___FileStream__openedFile_isSet]) ? (t188 = this[___FileStream__openedFile], t188) : dart.throw(new _internal.LateError.fieldNI("_openedFile")); + } + set [_openedFile](t188) { + if (t188 == null) dart.nullFailed(I[114], 16, 25, "null"); + this[___FileStream__openedFile_isSet] = true; + this[___FileStream__openedFile] = t188; + } + listen(onData, opts) { + let onError = opts && 'onError' in opts ? opts.onError : null; + let onDone = opts && 'onDone' in opts ? opts.onDone : null; + let cancelOnError = opts && 'cancelOnError' in opts ? opts.cancelOnError : null; + this[_controller] = T$0.StreamControllerOfUint8List().new({sync: true, onListen: dart.bind(this, _start$1), onResume: dart.bind(this, _readBlock), onCancel: dart.fn(() => { + this[_unsubscribed] = true; + return this[_closeFile](); + }, T$0.VoidToFuture())}); + return this[_controller].stream.listen(onData, {onError: onError, onDone: onDone, cancelOnError: cancelOnError}); + } + [_closeFile]() { + if (dart.test(this[_readInProgress]) || dart.test(this[_closed])) { + return this[_closeCompleter].future; + } + this[_closed] = true; + const done = () => { + this[_closeCompleter].complete(); + this[_controller].close(); + }; + dart.fn(done, T$.VoidTovoid()); + this[_openedFile].close().catchError(dart.bind(this[_controller], 'addError')).whenComplete(done); + return this[_closeCompleter].future; + } + [_readBlock]() { + if (dart.test(this[_readInProgress])) return; + if (dart.test(this[_atEnd])) { + this[_closeFile](); + return; + } + this[_readInProgress] = true; + let readBytes = 65536; + let end = this[_end$]; + if (end != null) { + readBytes = math.min(core.int, readBytes, dart.notNull(end) - dart.notNull(this[_position$])); + if (readBytes < 0) { + this[_readInProgress] = false; + if (!dart.test(this[_unsubscribed])) { + this[_controller].addError(new core.RangeError.new("Bad end position: " + dart.str(end))); + this[_closeFile](); + this[_unsubscribed] = true; + } + return; + } + } + this[_openedFile].read(readBytes).then(core.Null, dart.fn(block => { + if (block == null) dart.nullFailed(I[114], 85, 39, "block"); + this[_readInProgress] = false; + if (dart.test(this[_unsubscribed])) { + this[_closeFile](); + return; + } + this[_position$] = dart.notNull(this[_position$]) + dart.notNull(block[$length]); + if (dart.notNull(block[$length]) < readBytes || this[_end$] != null && this[_position$] == this[_end$]) { + this[_atEnd] = true; + } + if (!dart.test(this[_atEnd]) && !dart.test(this[_controller].isPaused)) { + this[_readBlock](); + } + this[_controller].add(block); + if (dart.test(this[_atEnd])) { + this[_closeFile](); + } + }, T$0.Uint8ListToNull())).catchError(dart.fn((e, s) => { + if (!dart.test(this[_unsubscribed])) { + this[_controller].addError(core.Object.as(e), T$.StackTraceN().as(s)); + this[_closeFile](); + this[_unsubscribed] = true; + } + }, T$.dynamicAnddynamicToNull())); + } + [_start$1]() { + if (dart.notNull(this[_position$]) < 0) { + this[_controller].addError(new core.RangeError.new("Bad start position: " + dart.str(this[_position$]))); + this[_controller].close(); + this[_closeCompleter].complete(); + return; + } + const onReady = file => { + if (file == null) dart.nullFailed(I[114], 119, 35, "file"); + this[_openedFile] = file; + this[_readInProgress] = false; + this[_readBlock](); + }; + dart.fn(onReady, T$0.RandomAccessFileTovoid()); + const onOpenFile = file => { + if (file == null) dart.nullFailed(I[114], 125, 38, "file"); + if (dart.notNull(this[_position$]) > 0) { + file.setPosition(this[_position$]).then(dart.void, onReady, {onError: dart.fn((e, s) => { + this[_controller].addError(core.Object.as(e), T$.StackTraceN().as(s)); + this[_readInProgress] = false; + this[_closeFile](); + }, T$.dynamicAnddynamicToNull())}); + } else { + onReady(file); + } + }; + dart.fn(onOpenFile, T$0.RandomAccessFileTovoid()); + const openFailed = (error, stackTrace) => { + this[_controller].addError(core.Object.as(error), T$.StackTraceN().as(stackTrace)); + this[_controller].close(); + this[_closeCompleter].complete(); + }; + dart.fn(openFailed, T$.dynamicAnddynamicTovoid()); + let path = this[_path$0]; + if (path != null) { + io.File.new(path).open({mode: io.FileMode.read}).then(dart.void, onOpenFile, {onError: openFailed}); + } else { + try { + onOpenFile(io._File._openStdioSync(0)); + } catch (e$) { + let e = dart.getThrown(e$); + let s = dart.stackTrace(e$); + if (core.Object.is(e)) { + openFailed(e, s); + } else + throw e$; + } + } + } + }; + (io._FileStream.new = function(_path, position, _end) { + let t187; + this[___FileStream__controller] = null; + this[___FileStream__controller_isSet] = false; + this[___FileStream__openedFile] = null; + this[___FileStream__openedFile_isSet] = false; + this[_closeCompleter] = async.Completer.new(); + this[_unsubscribed] = false; + this[_readInProgress] = true; + this[_closed] = false; + this[_atEnd] = false; + this[_path$0] = _path; + this[_end$] = _end; + this[_position$] = (t187 = position, t187 == null ? 0 : t187); + io._FileStream.__proto__.new.call(this); + ; + }).prototype = io._FileStream.prototype; + (io._FileStream.forStdin = function() { + this[___FileStream__controller] = null; + this[___FileStream__controller_isSet] = false; + this[___FileStream__openedFile] = null; + this[___FileStream__openedFile_isSet] = false; + this[_closeCompleter] = async.Completer.new(); + this[_unsubscribed] = false; + this[_readInProgress] = true; + this[_closed] = false; + this[_atEnd] = false; + this[_end$] = null; + this[_path$0] = null; + this[_position$] = 0; + io._FileStream.__proto__.new.call(this); + ; + }).prototype = io._FileStream.prototype; + dart.addTypeTests(io._FileStream); + dart.addTypeCaches(io._FileStream); + dart.setMethodSignature(io._FileStream, () => ({ + __proto__: dart.getMethods(io._FileStream.__proto__), + listen: dart.fnType(async.StreamSubscription$(typed_data.Uint8List), [dart.nullable(dart.fnType(dart.void, [typed_data.Uint8List]))], {cancelOnError: dart.nullable(core.bool), onDone: dart.nullable(dart.fnType(dart.void, [])), onError: dart.nullable(core.Function)}, {}), + [_closeFile]: dart.fnType(async.Future, []), + [_readBlock]: dart.fnType(dart.void, []), + [_start$1]: dart.fnType(dart.void, []) + })); + dart.setGetterSignature(io._FileStream, () => ({ + __proto__: dart.getGetters(io._FileStream.__proto__), + [_controller]: async.StreamController$(typed_data.Uint8List), + [_openedFile]: io.RandomAccessFile + })); + dart.setSetterSignature(io._FileStream, () => ({ + __proto__: dart.getSetters(io._FileStream.__proto__), + [_controller]: async.StreamController$(typed_data.Uint8List), + [_openedFile]: io.RandomAccessFile + })); + dart.setLibraryUri(io._FileStream, I[105]); + dart.setFieldSignature(io._FileStream, () => ({ + __proto__: dart.getFields(io._FileStream.__proto__), + [___FileStream__controller]: dart.fieldType(dart.nullable(async.StreamController$(typed_data.Uint8List))), + [___FileStream__controller_isSet]: dart.fieldType(core.bool), + [_path$0]: dart.fieldType(dart.nullable(core.String)), + [___FileStream__openedFile]: dart.fieldType(dart.nullable(io.RandomAccessFile)), + [___FileStream__openedFile_isSet]: dart.fieldType(core.bool), + [_position$]: dart.fieldType(core.int), + [_end$]: dart.fieldType(dart.nullable(core.int)), + [_closeCompleter]: dart.finalFieldType(async.Completer), + [_unsubscribed]: dart.fieldType(core.bool), + [_readInProgress]: dart.fieldType(core.bool), + [_closed]: dart.fieldType(core.bool), + [_atEnd]: dart.fieldType(core.bool) + })); + var _file = dart.privateName(io, "_file"); + var _openFuture = dart.privateName(io, "_openFuture"); + io._FileStreamConsumer = class _FileStreamConsumer extends async.StreamConsumer$(core.List$(core.int)) { + addStream(stream) { + T$0.StreamOfListOfint().as(stream); + if (stream == null) dart.nullFailed(I[114], 169, 45, "stream"); + let completer = T$0.CompleterOfFileN().sync(); + this[_openFuture].then(core.Null, dart.fn(openedFile => { + if (openedFile == null) dart.nullFailed(I[114], 171, 23, "openedFile"); + let _subscription = null; + let _subscription$35isSet = false; + function _subscription$35get() { + return _subscription$35isSet ? _subscription : dart.throw(new _internal.LateError.localNI("_subscription")); + } + dart.fn(_subscription$35get, T$0.VoidToStreamSubscriptionOfListOfint()); + function _subscription$35set(t193) { + if (t193 == null) dart.nullFailed(I[114], 172, 42, "null"); + _subscription$35isSet = true; + return _subscription = t193; + } + dart.fn(_subscription$35set, T$0.StreamSubscriptionOfListOfintTodynamic()); + function error(e, stackTrace) { + if (stackTrace == null) dart.nullFailed(I[114], 173, 32, "stackTrace"); + _subscription$35get().cancel(); + openedFile.close(); + completer.completeError(core.Object.as(e), stackTrace); + } + dart.fn(error, T$0.dynamicAndStackTraceTovoid()); + _subscription$35set(stream.listen(dart.fn(d => { + if (d == null) dart.nullFailed(I[114], 179, 38, "d"); + _subscription$35get().pause(); + try { + openedFile.writeFrom(d, 0, d[$length]).then(dart.void, dart.fn(_ => { + if (_ == null) dart.nullFailed(I[114], 184, 22, "_"); + return _subscription$35get().resume(); + }, T$0.RandomAccessFileTovoid()), {onError: error}); + } catch (e$) { + let e = dart.getThrown(e$); + let stackTrace = dart.stackTrace(e$); + if (core.Object.is(e)) { + error(e, stackTrace); + } else + throw e$; + } + }, T$0.ListOfintTovoid()), {onDone: dart.fn(() => { + completer.complete(this[_file]); + }, T$.VoidTovoid()), onError: error, cancelOnError: true})); + }, T$0.RandomAccessFileToNull())).catchError(dart.bind(completer, 'completeError')); + return completer.future; + } + close() { + return this[_openFuture].then(dart.void, dart.fn(openedFile => { + if (openedFile == null) dart.nullFailed(I[114], 196, 25, "openedFile"); + return openedFile.close(); + }, T$0.RandomAccessFileToFutureOfvoid())).then(T$0.FileN(), dart.fn(_ => this[_file], T$0.voidToFileN())); + } + }; + (io._FileStreamConsumer.new = function(file, mode) { + if (file == null) dart.nullFailed(I[114], 162, 28, "file"); + if (mode == null) dart.nullFailed(I[114], 162, 43, "mode"); + this[_file] = file; + this[_openFuture] = file.open({mode: mode}); + ; + }).prototype = io._FileStreamConsumer.prototype; + (io._FileStreamConsumer.fromStdio = function(fd) { + if (fd == null) dart.nullFailed(I[114], 166, 37, "fd"); + this[_file] = null; + this[_openFuture] = T$0.FutureOfRandomAccessFile().value(io._File._openStdioSync(fd)); + ; + }).prototype = io._FileStreamConsumer.prototype; + dart.addTypeTests(io._FileStreamConsumer); + dart.addTypeCaches(io._FileStreamConsumer); + dart.setMethodSignature(io._FileStreamConsumer, () => ({ + __proto__: dart.getMethods(io._FileStreamConsumer.__proto__), + addStream: dart.fnType(async.Future$(dart.nullable(io.File)), [dart.nullable(core.Object)]), + close: dart.fnType(async.Future$(dart.nullable(io.File)), []) + })); + dart.setLibraryUri(io._FileStreamConsumer, I[105]); + dart.setFieldSignature(io._FileStreamConsumer, () => ({ + __proto__: dart.getFields(io._FileStreamConsumer.__proto__), + [_file]: dart.fieldType(dart.nullable(io.File)), + [_openFuture]: dart.fieldType(async.Future$(io.RandomAccessFile)) + })); + var _path$1 = dart.privateName(io, "_File._path"); + var _rawPath$0 = dart.privateName(io, "_File._rawPath"); + var _tryDecode = dart.privateName(io, "_tryDecode"); + io._File = class _File extends io.FileSystemEntity { + get [_path$0]() { + return this[_path$1]; + } + set [_path$0](value) { + super[_path$0] = value; + } + get [_rawPath$]() { + return this[_rawPath$0]; + } + set [_rawPath$](value) { + super[_rawPath$] = value; + } + get path() { + return this[_path$0]; + } + static _namespacePointer() { + return io._Namespace._namespacePointer; + } + static _dispatchWithNamespace(request, data) { + if (request == null) dart.nullFailed(I[114], 222, 44, "request"); + if (data == null) dart.nullFailed(I[114], 222, 58, "data"); + data[$_set](0, io._File._namespacePointer()); + return io._IOService._dispatch(request, data); + } + exists() { + return io._File._dispatchWithNamespace(0, [null, this[_rawPath$]]).then(core.bool, dart.fn(response => { + if (dart.test(io._isErrorResponse(response))) { + dart.throw(io._exceptionFromResponse(response, "Cannot check existence", this.path)); + } + return T$.FutureOrOfbool().as(response); + }, T$0.dynamicToFutureOrOfbool())); + } + static _exists(namespace, rawPath) { + if (namespace == null) dart.nullFailed(I[107], 111, 29, "namespace"); + if (rawPath == null) dart.nullFailed(I[107], 111, 50, "rawPath"); + dart.throw(new core.UnsupportedError.new("File._exists")); + } + existsSync() { + let result = io._File._exists(io._Namespace._namespace, this[_rawPath$]); + io._File.throwIfError(core.Object.as(result), "Cannot check existence of file", this.path); + return core.bool.as(result); + } + get absolute() { + return io.File.new(this[_absolutePath]); + } + create(opts) { + let recursive = opts && 'recursive' in opts ? opts.recursive : false; + if (recursive == null) dart.nullFailed(I[114], 247, 29, "recursive"); + let result = dart.test(recursive) ? this.parent.create({recursive: true}) : T$.FutureOfNull().value(null); + return result.then(dart.dynamic, dart.fn(_ => io._File._dispatchWithNamespace(1, [null, this[_rawPath$]]), T$0.DirectoryNToFuture())).then(io.File, dart.fn(response => { + if (dart.test(io._isErrorResponse(response))) { + dart.throw(io._exceptionFromResponse(response, "Cannot create file", this.path)); + } + return this; + }, T$0.dynamicTo_File())); + } + static _create(namespace, rawPath) { + if (namespace == null) dart.nullFailed(I[107], 116, 29, "namespace"); + if (rawPath == null) dart.nullFailed(I[107], 116, 50, "rawPath"); + dart.throw(new core.UnsupportedError.new("File._create")); + } + static _createLink(namespace, rawPath, target) { + if (namespace == null) dart.nullFailed(I[107], 121, 33, "namespace"); + if (rawPath == null) dart.nullFailed(I[107], 121, 54, "rawPath"); + if (target == null) dart.nullFailed(I[107], 121, 70, "target"); + dart.throw(new core.UnsupportedError.new("File._createLink")); + } + static _linkTarget(namespace, rawPath) { + if (namespace == null) dart.nullFailed(I[107], 126, 33, "namespace"); + if (rawPath == null) dart.nullFailed(I[107], 126, 54, "rawPath"); + dart.throw(new core.UnsupportedError.new("File._linkTarget")); + } + createSync(opts) { + let recursive = opts && 'recursive' in opts ? opts.recursive : false; + if (recursive == null) dart.nullFailed(I[114], 268, 25, "recursive"); + if (dart.test(recursive)) { + this.parent.createSync({recursive: true}); + } + let result = io._File._create(io._Namespace._namespace, this[_rawPath$]); + io._File.throwIfError(core.Object.as(result), "Cannot create file", this.path); + } + [_delete](opts) { + let recursive = opts && 'recursive' in opts ? opts.recursive : false; + if (recursive == null) dart.nullFailed(I[114], 276, 30, "recursive"); + if (dart.test(recursive)) { + return io.Directory.new(this.path).delete({recursive: true}).then(io.File, dart.fn(_ => { + if (_ == null) dart.nullFailed(I[114], 278, 64, "_"); + return this; + }, T$0.FileSystemEntityTo_File())); + } + return io._File._dispatchWithNamespace(2, [null, this[_rawPath$]]).then(io.File, dart.fn(response => { + if (dart.test(io._isErrorResponse(response))) { + dart.throw(io._exceptionFromResponse(response, "Cannot delete file", this.path)); + } + return this; + }, T$0.dynamicTo_File())); + } + static _deleteNative(namespace, rawPath) { + if (namespace == null) dart.nullFailed(I[107], 131, 35, "namespace"); + if (rawPath == null) dart.nullFailed(I[107], 131, 56, "rawPath"); + dart.throw(new core.UnsupportedError.new("File._deleteNative")); + } + static _deleteLinkNative(namespace, rawPath) { + if (namespace == null) dart.nullFailed(I[107], 136, 39, "namespace"); + if (rawPath == null) dart.nullFailed(I[107], 136, 60, "rawPath"); + dart.throw(new core.UnsupportedError.new("File._deleteLinkNative")); + } + [_deleteSync](opts) { + let recursive = opts && 'recursive' in opts ? opts.recursive : false; + if (recursive == null) dart.nullFailed(I[114], 293, 26, "recursive"); + if (dart.test(recursive)) { + return io.Directory.fromRawPath(this[_rawPath$]).deleteSync({recursive: true}); + } + let result = io._File._deleteNative(io._Namespace._namespace, this[_rawPath$]); + io._File.throwIfError(core.Object.as(result), "Cannot delete file", this.path); + } + rename(newPath) { + if (newPath == null) dart.nullFailed(I[114], 301, 30, "newPath"); + return io._File._dispatchWithNamespace(3, [null, this[_rawPath$], newPath]).then(io.File, dart.fn(response => { + if (dart.test(io._isErrorResponse(response))) { + dart.throw(io._exceptionFromResponse(response, "Cannot rename file to '" + dart.str(newPath) + "'", this.path)); + } + return io.File.new(newPath); + }, T$0.dynamicToFile())); + } + static _rename(namespace, oldPath, newPath) { + if (namespace == null) dart.nullFailed(I[107], 141, 29, "namespace"); + if (oldPath == null) dart.nullFailed(I[107], 141, 50, "oldPath"); + if (newPath == null) dart.nullFailed(I[107], 141, 66, "newPath"); + dart.throw(new core.UnsupportedError.new("File._rename")); + } + static _renameLink(namespace, oldPath, newPath) { + if (namespace == null) dart.nullFailed(I[107], 146, 33, "namespace"); + if (oldPath == null) dart.nullFailed(I[107], 146, 54, "oldPath"); + if (newPath == null) dart.nullFailed(I[107], 146, 70, "newPath"); + dart.throw(new core.UnsupportedError.new("File._renameLink")); + } + renameSync(newPath) { + if (newPath == null) dart.nullFailed(I[114], 318, 26, "newPath"); + let result = io._File._rename(io._Namespace._namespace, this[_rawPath$], newPath); + io._File.throwIfError(core.Object.as(result), "Cannot rename file to '" + dart.str(newPath) + "'", this.path); + return io.File.new(newPath); + } + copy(newPath) { + if (newPath == null) dart.nullFailed(I[114], 324, 28, "newPath"); + return io._File._dispatchWithNamespace(4, [null, this[_rawPath$], newPath]).then(io.File, dart.fn(response => { + if (dart.test(io._isErrorResponse(response))) { + dart.throw(io._exceptionFromResponse(response, "Cannot copy file to '" + dart.str(newPath) + "'", this.path)); + } + return io.File.new(newPath); + }, T$0.dynamicToFile())); + } + static _copy(namespace, oldPath, newPath) { + if (namespace == null) dart.nullFailed(I[107], 151, 27, "namespace"); + if (oldPath == null) dart.nullFailed(I[107], 151, 48, "oldPath"); + if (newPath == null) dart.nullFailed(I[107], 151, 64, "newPath"); + dart.throw(new core.UnsupportedError.new("File._copy")); + } + copySync(newPath) { + if (newPath == null) dart.nullFailed(I[114], 338, 24, "newPath"); + let result = io._File._copy(io._Namespace._namespace, this[_rawPath$], newPath); + io._File.throwIfError(core.Object.as(result), "Cannot copy file to '" + dart.str(newPath) + "'", this.path); + return io.File.new(newPath); + } + open(opts) { + let mode = opts && 'mode' in opts ? opts.mode : C[109] || CT.C109; + if (mode == null) dart.nullFailed(I[114], 344, 43, "mode"); + if (!dart.equals(mode, io.FileMode.read) && !dart.equals(mode, io.FileMode.write) && !dart.equals(mode, io.FileMode.append) && !dart.equals(mode, io.FileMode.writeOnly) && !dart.equals(mode, io.FileMode.writeOnlyAppend)) { + return T$0.FutureOfRandomAccessFile().error(new core.ArgumentError.new("Invalid file mode for this operation")); + } + return io._File._dispatchWithNamespace(5, [null, this[_rawPath$], mode[_mode]]).then(io.RandomAccessFile, dart.fn(response => { + if (dart.test(io._isErrorResponse(response))) { + dart.throw(io._exceptionFromResponse(response, "Cannot open file", this.path)); + } + return new io._RandomAccessFile.new(core.int.as(response), this.path); + }, T$0.dynamicTo_RandomAccessFile())); + } + length() { + return io._File._dispatchWithNamespace(12, [null, this[_rawPath$]]).then(core.int, dart.fn(response => { + if (dart.test(io._isErrorResponse(response))) { + dart.throw(io._exceptionFromResponse(response, "Cannot retrieve length of file", this.path)); + } + return T$0.FutureOrOfint().as(response); + }, T$0.dynamicToFutureOrOfint())); + } + static _lengthFromPath(namespace, rawPath) { + if (namespace == null) dart.nullFailed(I[107], 156, 37, "namespace"); + if (rawPath == null) dart.nullFailed(I[107], 156, 58, "rawPath"); + dart.throw(new core.UnsupportedError.new("File._lengthFromPath")); + } + lengthSync() { + let result = io._File._lengthFromPath(io._Namespace._namespace, this[_rawPath$]); + io._File.throwIfError(core.Object.as(result), "Cannot retrieve length of file", this.path); + return core.int.as(result); + } + lastAccessed() { + return io._File._dispatchWithNamespace(13, [null, this[_rawPath$]]).then(core.DateTime, dart.fn(response => { + if (dart.test(io._isErrorResponse(response))) { + dart.throw(io._exceptionFromResponse(response, "Cannot retrieve access time", this.path)); + } + return new core.DateTime.fromMillisecondsSinceEpoch(core.int.as(response)); + }, T$0.dynamicToDateTime())); + } + static _lastAccessed(namespace, rawPath) { + if (namespace == null) dart.nullFailed(I[107], 166, 35, "namespace"); + if (rawPath == null) dart.nullFailed(I[107], 166, 56, "rawPath"); + dart.throw(new core.UnsupportedError.new("File._lastAccessed")); + } + lastAccessedSync() { + let ms = io._File._lastAccessed(io._Namespace._namespace, this[_rawPath$]); + io._File.throwIfError(core.Object.as(ms), "Cannot retrieve access time", this.path); + return new core.DateTime.fromMillisecondsSinceEpoch(core.int.as(ms)); + } + setLastAccessed(time) { + if (time == null) dart.nullFailed(I[114], 400, 35, "time"); + let millis = time.millisecondsSinceEpoch; + return io._File._dispatchWithNamespace(14, [null, this[_rawPath$], millis]).then(dart.dynamic, dart.fn(response => { + if (dart.test(io._isErrorResponse(response))) { + dart.throw(io._exceptionFromResponse(response, "Cannot set access time", this.path)); + } + return null; + }, T$.dynamicToNull())); + } + static _setLastAccessed(namespace, rawPath, millis) { + if (namespace == null) dart.nullFailed(I[107], 176, 38, "namespace"); + if (rawPath == null) dart.nullFailed(I[107], 176, 59, "rawPath"); + if (millis == null) dart.nullFailed(I[107], 176, 72, "millis"); + dart.throw(new core.UnsupportedError.new("File._setLastAccessed")); + } + setLastAccessedSync(time) { + if (time == null) dart.nullFailed(I[114], 415, 37, "time"); + let millis = time.millisecondsSinceEpoch; + let result = io._File._setLastAccessed(io._Namespace._namespace, this[_rawPath$], millis); + if (io.OSError.is(result)) { + dart.throw(new io.FileSystemException.new("Failed to set file access time", this.path, result)); + } + } + lastModified() { + return io._File._dispatchWithNamespace(15, [null, this[_rawPath$]]).then(core.DateTime, dart.fn(response => { + if (dart.test(io._isErrorResponse(response))) { + dart.throw(io._exceptionFromResponse(response, "Cannot retrieve modification time", this.path)); + } + return new core.DateTime.fromMillisecondsSinceEpoch(core.int.as(response)); + }, T$0.dynamicToDateTime())); + } + static _lastModified(namespace, rawPath) { + if (namespace == null) dart.nullFailed(I[107], 161, 35, "namespace"); + if (rawPath == null) dart.nullFailed(I[107], 161, 56, "rawPath"); + dart.throw(new core.UnsupportedError.new("File._lastModified")); + } + lastModifiedSync() { + let ms = io._File._lastModified(io._Namespace._namespace, this[_rawPath$]); + io._File.throwIfError(core.Object.as(ms), "Cannot retrieve modification time", this.path); + return new core.DateTime.fromMillisecondsSinceEpoch(core.int.as(ms)); + } + setLastModified(time) { + if (time == null) dart.nullFailed(I[114], 443, 35, "time"); + let millis = time.millisecondsSinceEpoch; + return io._File._dispatchWithNamespace(16, [null, this[_rawPath$], millis]).then(dart.dynamic, dart.fn(response => { + if (dart.test(io._isErrorResponse(response))) { + dart.throw(io._exceptionFromResponse(response, "Cannot set modification time", this.path)); + } + return null; + }, T$.dynamicToNull())); + } + static _setLastModified(namespace, rawPath, millis) { + if (namespace == null) dart.nullFailed(I[107], 171, 38, "namespace"); + if (rawPath == null) dart.nullFailed(I[107], 171, 59, "rawPath"); + if (millis == null) dart.nullFailed(I[107], 171, 72, "millis"); + dart.throw(new core.UnsupportedError.new("File._setLastModified")); + } + setLastModifiedSync(time) { + if (time == null) dart.nullFailed(I[114], 459, 37, "time"); + let millis = time.millisecondsSinceEpoch; + let result = io._File._setLastModified(io._Namespace._namespace, this[_rawPath$], millis); + if (io.OSError.is(result)) { + dart.throw(new io.FileSystemException.new("Failed to set file modification time", this.path, result)); + } + } + static _open(namespace, rawPath, mode) { + if (namespace == null) dart.nullFailed(I[107], 181, 27, "namespace"); + if (rawPath == null) dart.nullFailed(I[107], 181, 48, "rawPath"); + if (mode == null) dart.nullFailed(I[107], 181, 61, "mode"); + dart.throw(new core.UnsupportedError.new("File._open")); + } + openSync(opts) { + let mode = opts && 'mode' in opts ? opts.mode : C[109] || CT.C109; + if (mode == null) dart.nullFailed(I[114], 470, 39, "mode"); + if (!dart.equals(mode, io.FileMode.read) && !dart.equals(mode, io.FileMode.write) && !dart.equals(mode, io.FileMode.append) && !dart.equals(mode, io.FileMode.writeOnly) && !dart.equals(mode, io.FileMode.writeOnlyAppend)) { + dart.throw(new core.ArgumentError.new("Invalid file mode for this operation")); + } + let id = io._File._open(io._Namespace._namespace, this[_rawPath$], mode[_mode]); + io._File.throwIfError(core.Object.as(id), "Cannot open file", this.path); + return new io._RandomAccessFile.new(core.int.as(id), this[_path$0]); + } + static _openStdio(fd) { + if (fd == null) dart.nullFailed(I[107], 186, 29, "fd"); + dart.throw(new core.UnsupportedError.new("File._openStdio")); + } + static _openStdioSync(fd) { + if (fd == null) dart.nullFailed(I[114], 485, 46, "fd"); + let id = io._File._openStdio(fd); + if (id === 0) { + dart.throw(new io.FileSystemException.new("Cannot open stdio file for: " + dart.str(fd))); + } + return new io._RandomAccessFile.new(id, ""); + } + openRead(start = null, end = null) { + return new io._FileStream.new(this.path, start, end); + } + openWrite(opts) { + let mode = opts && 'mode' in opts ? opts.mode : C[110] || CT.C110; + if (mode == null) dart.nullFailed(I[114], 497, 30, "mode"); + let encoding = opts && 'encoding' in opts ? opts.encoding : C[108] || CT.C108; + if (encoding == null) dart.nullFailed(I[114], 497, 62, "encoding"); + if (!dart.equals(mode, io.FileMode.write) && !dart.equals(mode, io.FileMode.append) && !dart.equals(mode, io.FileMode.writeOnly) && !dart.equals(mode, io.FileMode.writeOnlyAppend)) { + dart.throw(new core.ArgumentError.new("Invalid file mode for this operation")); + } + let consumer = new io._FileStreamConsumer.new(this, mode); + return io.IOSink.new(consumer, {encoding: encoding}); + } + readAsBytes() { + function readDataChunked(file) { + if (file == null) dart.nullFailed(I[114], 509, 56, "file"); + let builder = _internal.BytesBuilder.new({copy: false}); + let completer = T$0.CompleterOfUint8List().new(); + function read() { + file.read(65536).then(core.Null, dart.fn(data => { + if (data == null) dart.nullFailed(I[114], 513, 37, "data"); + if (dart.notNull(data[$length]) > 0) { + builder.add(data); + read(); + } else { + completer.complete(builder.takeBytes()); + } + }, T$0.Uint8ListToNull()), {onError: dart.bind(completer, 'completeError')}); + } + dart.fn(read, T$.VoidTovoid()); + read(); + return completer.future; + } + dart.fn(readDataChunked, T$0.RandomAccessFileToFutureOfUint8List()); + return this.open().then(typed_data.Uint8List, dart.fn(file => { + if (file == null) dart.nullFailed(I[114], 527, 25, "file"); + return file.length().then(typed_data.Uint8List, dart.fn(length => { + if (length == null) dart.nullFailed(I[114], 528, 34, "length"); + if (length === 0) { + return readDataChunked(file); + } + return file.read(length); + }, T$0.intToFutureOfUint8List())).whenComplete(dart.bind(file, 'close')); + }, T$0.RandomAccessFileToFutureOfUint8List())); + } + readAsBytesSync() { + let opened = this.openSync(); + try { + let data = null; + let length = opened.lengthSync(); + if (length === 0) { + let builder = _internal.BytesBuilder.new({copy: false}); + do { + data = opened.readSync(65536); + if (dart.notNull(data[$length]) > 0) builder.add(data); + } while (dart.notNull(data[$length]) > 0); + data = builder.takeBytes(); + } else { + data = opened.readSync(length); + } + return data; + } finally { + opened.closeSync(); + } + } + [_tryDecode](bytes, encoding) { + if (bytes == null) dart.nullFailed(I[114], 560, 31, "bytes"); + if (encoding == null) dart.nullFailed(I[114], 560, 47, "encoding"); + try { + return encoding.decode(bytes); + } catch (e) { + let _ = dart.getThrown(e); + if (core.Object.is(_)) { + dart.throw(new io.FileSystemException.new("Failed to decode data using encoding '" + dart.str(encoding.name) + "'", this.path)); + } else + throw e; + } + } + readAsString(opts) { + let encoding = opts && 'encoding' in opts ? opts.encoding : C[108] || CT.C108; + if (encoding == null) dart.nullFailed(I[114], 569, 41, "encoding"); + let stack = core.StackTrace.current; + return this.readAsBytes().then(core.String, dart.fn(bytes => { + if (bytes == null) dart.nullFailed(I[114], 574, 32, "bytes"); + try { + return this[_tryDecode](bytes, encoding); + } catch (e$) { + let e = dart.getThrown(e$); + if (core.Object.is(e)) { + return T$0.FutureOfString().error(e, stack); + } else + throw e$; + } + }, T$0.Uint8ListToFutureOrOfString())); + } + readAsStringSync(opts) { + let encoding = opts && 'encoding' in opts ? opts.encoding : C[108] || CT.C108; + if (encoding == null) dart.nullFailed(I[114], 583, 37, "encoding"); + return this[_tryDecode](this.readAsBytesSync(), encoding); + } + readAsLines(opts) { + let encoding = opts && 'encoding' in opts ? opts.encoding : C[108] || CT.C108; + if (encoding == null) dart.nullFailed(I[114], 586, 46, "encoding"); + return this.readAsString({encoding: encoding}).then(T$.ListOfString(), dart.bind(C[118] || CT.C118, 'convert')); + } + readAsLinesSync(opts) { + let encoding = opts && 'encoding' in opts ? opts.encoding : C[108] || CT.C108; + if (encoding == null) dart.nullFailed(I[114], 589, 42, "encoding"); + return (C[118] || CT.C118).convert(this.readAsStringSync({encoding: encoding})); + } + writeAsBytes(bytes, opts) { + if (bytes == null) dart.nullFailed(I[114], 592, 39, "bytes"); + let mode = opts && 'mode' in opts ? opts.mode : C[110] || CT.C110; + if (mode == null) dart.nullFailed(I[114], 593, 17, "mode"); + let flush = opts && 'flush' in opts ? opts.flush : false; + if (flush == null) dart.nullFailed(I[114], 593, 45, "flush"); + return this.open({mode: mode}).then(io.File, dart.fn(file => { + if (file == null) dart.nullFailed(I[114], 594, 35, "file"); + return file.writeFrom(bytes, 0, bytes[$length]).then(io.File, dart.fn(_ => { + if (_ == null) dart.nullFailed(I[114], 595, 65, "_"); + if (dart.test(flush)) return file.flush().then(io.File, dart.fn(_ => { + if (_ == null) dart.nullFailed(I[114], 596, 46, "_"); + return this; + }, T$0.RandomAccessFileTo_File())); + return this; + }, T$0.RandomAccessFileToFutureOrOfFile())).whenComplete(dart.bind(file, 'close')); + }, T$0.RandomAccessFileToFutureOfFile())); + } + writeAsBytesSync(bytes, opts) { + if (bytes == null) dart.nullFailed(I[114], 602, 35, "bytes"); + let mode = opts && 'mode' in opts ? opts.mode : C[110] || CT.C110; + if (mode == null) dart.nullFailed(I[114], 603, 17, "mode"); + let flush = opts && 'flush' in opts ? opts.flush : false; + if (flush == null) dart.nullFailed(I[114], 603, 45, "flush"); + let opened = this.openSync({mode: mode}); + try { + opened.writeFromSync(bytes, 0, bytes[$length]); + if (dart.test(flush)) opened.flushSync(); + } finally { + opened.closeSync(); + } + } + writeAsString(contents, opts) { + if (contents == null) dart.nullFailed(I[114], 613, 37, "contents"); + let mode = opts && 'mode' in opts ? opts.mode : C[110] || CT.C110; + if (mode == null) dart.nullFailed(I[114], 614, 17, "mode"); + let encoding = opts && 'encoding' in opts ? opts.encoding : C[108] || CT.C108; + if (encoding == null) dart.nullFailed(I[114], 615, 16, "encoding"); + let flush = opts && 'flush' in opts ? opts.flush : false; + if (flush == null) dart.nullFailed(I[114], 616, 12, "flush"); + try { + return this.writeAsBytes(encoding.encode(contents), {mode: mode, flush: flush}); + } catch (e$) { + let e = dart.getThrown(e$); + if (core.Object.is(e)) { + return T$0.FutureOfFile().error(e); + } else + throw e$; + } + } + writeAsStringSync(contents, opts) { + if (contents == null) dart.nullFailed(I[114], 624, 33, "contents"); + let mode = opts && 'mode' in opts ? opts.mode : C[110] || CT.C110; + if (mode == null) dart.nullFailed(I[114], 625, 17, "mode"); + let encoding = opts && 'encoding' in opts ? opts.encoding : C[108] || CT.C108; + if (encoding == null) dart.nullFailed(I[114], 626, 16, "encoding"); + let flush = opts && 'flush' in opts ? opts.flush : false; + if (flush == null) dart.nullFailed(I[114], 627, 12, "flush"); + this.writeAsBytesSync(encoding.encode(contents), {mode: mode, flush: flush}); + } + toString() { + return "File: '" + dart.str(this.path) + "'"; + } + static throwIfError(result, msg, path) { + if (result == null) dart.nullFailed(I[114], 633, 30, "result"); + if (msg == null) dart.nullFailed(I[114], 633, 45, "msg"); + if (path == null) dart.nullFailed(I[114], 633, 57, "path"); + if (io.OSError.is(result)) { + dart.throw(new io.FileSystemException.new(msg, path, result)); + } + } + static _checkNotNull(T, t, name) { + if (name == null) dart.nullFailed(I[114], 640, 41, "name"); + core.ArgumentError.checkNotNull(T, t, name); + return t; + } + }; + (io._File.new = function(path) { + if (path == null) dart.nullFailed(I[114], 204, 16, "path"); + this[_path$1] = io._File._checkNotNull(core.String, path, "path"); + this[_rawPath$0] = io.FileSystemEntity._toUtf8Array(path); + ; + }).prototype = io._File.prototype; + (io._File.fromRawPath = function(rawPath) { + if (rawPath == null) dart.nullFailed(I[114], 208, 31, "rawPath"); + this[_rawPath$0] = io.FileSystemEntity._toNullTerminatedUtf8Array(io._File._checkNotNull(typed_data.Uint8List, rawPath, "rawPath")); + this[_path$1] = io.FileSystemEntity._toStringFromUtf8Array(rawPath); + ; + }).prototype = io._File.prototype; + dart.addTypeTests(io._File); + dart.addTypeCaches(io._File); + io._File[dart.implements] = () => [io.File]; + dart.setMethodSignature(io._File, () => ({ + __proto__: dart.getMethods(io._File.__proto__), + exists: dart.fnType(async.Future$(core.bool), []), + existsSync: dart.fnType(core.bool, []), + create: dart.fnType(async.Future$(io.File), [], {recursive: core.bool}, {}), + createSync: dart.fnType(dart.void, [], {recursive: core.bool}, {}), + [_delete]: dart.fnType(async.Future$(io.File), [], {recursive: core.bool}, {}), + [_deleteSync]: dart.fnType(dart.void, [], {recursive: core.bool}, {}), + rename: dart.fnType(async.Future$(io.File), [core.String]), + renameSync: dart.fnType(io.File, [core.String]), + copy: dart.fnType(async.Future$(io.File), [core.String]), + copySync: dart.fnType(io.File, [core.String]), + open: dart.fnType(async.Future$(io.RandomAccessFile), [], {mode: io.FileMode}, {}), + length: dart.fnType(async.Future$(core.int), []), + lengthSync: dart.fnType(core.int, []), + lastAccessed: dart.fnType(async.Future$(core.DateTime), []), + lastAccessedSync: dart.fnType(core.DateTime, []), + setLastAccessed: dart.fnType(async.Future, [core.DateTime]), + setLastAccessedSync: dart.fnType(dart.void, [core.DateTime]), + lastModified: dart.fnType(async.Future$(core.DateTime), []), + lastModifiedSync: dart.fnType(core.DateTime, []), + setLastModified: dart.fnType(async.Future, [core.DateTime]), + setLastModifiedSync: dart.fnType(dart.void, [core.DateTime]), + openSync: dart.fnType(io.RandomAccessFile, [], {mode: io.FileMode}, {}), + openRead: dart.fnType(async.Stream$(core.List$(core.int)), [], [dart.nullable(core.int), dart.nullable(core.int)]), + openWrite: dart.fnType(io.IOSink, [], {encoding: convert.Encoding, mode: io.FileMode}, {}), + readAsBytes: dart.fnType(async.Future$(typed_data.Uint8List), []), + readAsBytesSync: dart.fnType(typed_data.Uint8List, []), + [_tryDecode]: dart.fnType(core.String, [core.List$(core.int), convert.Encoding]), + readAsString: dart.fnType(async.Future$(core.String), [], {encoding: convert.Encoding}, {}), + readAsStringSync: dart.fnType(core.String, [], {encoding: convert.Encoding}, {}), + readAsLines: dart.fnType(async.Future$(core.List$(core.String)), [], {encoding: convert.Encoding}, {}), + readAsLinesSync: dart.fnType(core.List$(core.String), [], {encoding: convert.Encoding}, {}), + writeAsBytes: dart.fnType(async.Future$(io.File), [core.List$(core.int)], {flush: core.bool, mode: io.FileMode}, {}), + writeAsBytesSync: dart.fnType(dart.void, [core.List$(core.int)], {flush: core.bool, mode: io.FileMode}, {}), + writeAsString: dart.fnType(async.Future$(io.File), [core.String], {encoding: convert.Encoding, flush: core.bool, mode: io.FileMode}, {}), + writeAsStringSync: dart.fnType(dart.void, [core.String], {encoding: convert.Encoding, flush: core.bool, mode: io.FileMode}, {}) + })); + dart.setGetterSignature(io._File, () => ({ + __proto__: dart.getGetters(io._File.__proto__), + path: core.String, + absolute: io.File + })); + dart.setLibraryUri(io._File, I[105]); + dart.setFieldSignature(io._File, () => ({ + __proto__: dart.getFields(io._File.__proto__), + [_path$0]: dart.finalFieldType(core.String), + [_rawPath$]: dart.finalFieldType(typed_data.Uint8List) + })); + dart.defineExtensionMethods(io._File, ['toString']); + io._RandomAccessFileOps = class _RandomAccessFileOps extends core.Object { + static new(pointer) { + if (pointer == null) dart.nullFailed(I[107], 212, 36, "pointer"); + dart.throw(new core.UnsupportedError.new("RandomAccessFile")); + } + }; + (io._RandomAccessFileOps[dart.mixinNew] = function() { + }).prototype = io._RandomAccessFileOps.prototype; + dart.addTypeTests(io._RandomAccessFileOps); + dart.addTypeCaches(io._RandomAccessFileOps); + dart.setLibraryUri(io._RandomAccessFileOps, I[105]); + var _asyncDispatched = dart.privateName(io, "_asyncDispatched"); + var ___RandomAccessFile__resourceInfo = dart.privateName(io, "_#_RandomAccessFile#_resourceInfo"); + var ___RandomAccessFile__resourceInfo_isSet = dart.privateName(io, "_#_RandomAccessFile#_resourceInfo#isSet"); + var _resourceInfo = dart.privateName(io, "_resourceInfo"); + var _maybeConnectHandler = dart.privateName(io, "_maybeConnectHandler"); + var _maybePerformCleanup = dart.privateName(io, "_maybePerformCleanup"); + var _dispatch = dart.privateName(io, "_dispatch"); + var _checkAvailable = dart.privateName(io, "_checkAvailable"); + var _fileLockValue = dart.privateName(io, "_fileLockValue"); + io._RandomAccessFile = class _RandomAccessFile extends core.Object { + get [_resourceInfo]() { + let t199; + return dart.test(this[___RandomAccessFile__resourceInfo_isSet]) ? (t199 = this[___RandomAccessFile__resourceInfo], t199) : dart.throw(new _internal.LateError.fieldNI("_resourceInfo")); + } + set [_resourceInfo](t199) { + if (t199 == null) dart.nullFailed(I[114], 671, 26, "null"); + this[___RandomAccessFile__resourceInfo_isSet] = true; + this[___RandomAccessFile__resourceInfo] = t199; + } + [_maybePerformCleanup]() { + if (dart.test(this.closed)) { + io._FileResourceInfo.fileClosed(this[_resourceInfo]); + } + } + [_maybeConnectHandler]() { + if (!dart.test(io._RandomAccessFile._connectedResourceHandler)) { + developer.registerExtension("ext.dart.io.getOpenFiles", C[119] || CT.C119); + developer.registerExtension("ext.dart.io.getOpenFileById", C[120] || CT.C120); + io._RandomAccessFile._connectedResourceHandler = true; + } + } + close() { + return this[_dispatch](7, [null], {markClosed: true}).then(dart.void, dart.fn(result => { + if (dart.equals(result, -1)) { + dart.throw(new io.FileSystemException.new("Cannot close file", this.path)); + } + this.closed = dart.test(this.closed) || dart.equals(result, 0); + this[_maybePerformCleanup](); + }, T$.dynamicToNull())); + } + closeSync() { + this[_checkAvailable](); + let id = this[_ops].close(); + if (id === -1) { + dart.throw(new io.FileSystemException.new("Cannot close file", this.path)); + } + this.closed = dart.test(this.closed) || id === 0; + this[_maybePerformCleanup](); + } + readByte() { + return this[_dispatch](18, [null]).then(core.int, dart.fn(response => { + if (dart.test(io._isErrorResponse(response))) { + dart.throw(io._exceptionFromResponse(response, "readByte failed", this.path)); + } + this[_resourceInfo].addRead(1); + return T$0.FutureOrOfint().as(response); + }, T$0.dynamicToFutureOrOfint())); + } + readByteSync() { + this[_checkAvailable](); + let result = this[_ops].readByte(); + if (io.OSError.is(result)) { + dart.throw(new io.FileSystemException.new("readByte failed", this.path, result)); + } + this[_resourceInfo].addRead(1); + return core.int.as(result); + } + read(bytes) { + if (bytes == null) dart.nullFailed(I[114], 741, 30, "bytes"); + core.ArgumentError.checkNotNull(core.int, bytes, "bytes"); + return this[_dispatch](20, [null, bytes]).then(typed_data.Uint8List, dart.fn(response => { + if (dart.test(io._isErrorResponse(response))) { + dart.throw(io._exceptionFromResponse(response, "read failed", this.path)); + } + this[_resourceInfo].addRead(core.int.as(dart.dload(dart.dsend(response, '_get', [1]), 'length'))); + let result = typed_data.Uint8List.as(dart.dsend(response, '_get', [1])); + return result; + }, T$0.dynamicToUint8List())); + } + readSync(bytes) { + if (bytes == null) dart.nullFailed(I[114], 754, 26, "bytes"); + core.ArgumentError.checkNotNull(core.int, bytes, "bytes"); + this[_checkAvailable](); + let result = this[_ops].read(bytes); + if (io.OSError.is(result)) { + dart.throw(new io.FileSystemException.new("readSync failed", this.path, result)); + } + this[_resourceInfo].addRead(core.int.as(dart.dload(result, 'length'))); + return typed_data.Uint8List.as(result); + } + readInto(buffer, start = 0, end = null) { + if (buffer == null) dart.nullFailed(I[114], 766, 34, "buffer"); + if (start == null) dart.nullFailed(I[114], 766, 47, "start"); + core.ArgumentError.checkNotNull(T$0.ListOfint(), buffer, "buffer"); + end = core.RangeError.checkValidRange(start, end, buffer[$length]); + if (end == start) { + return T$0.FutureOfint().value(0); + } + let length = dart.notNull(end) - dart.notNull(start); + return this[_dispatch](21, [null, length]).then(core.int, dart.fn(response => { + if (dart.test(io._isErrorResponse(response))) { + dart.throw(io._exceptionFromResponse(response, "readInto failed", this.path)); + } + let read = core.int.as(dart.dsend(response, '_get', [1])); + let data = T$0.ListOfint().as(dart.dsend(response, '_get', [2])); + buffer[$setRange](start, dart.notNull(start) + dart.notNull(read), data); + this[_resourceInfo].addRead(read); + return read; + }, T$0.dynamicToint())); + } + readIntoSync(buffer, start = 0, end = null) { + if (buffer == null) dart.nullFailed(I[114], 786, 30, "buffer"); + if (start == null) dart.nullFailed(I[114], 786, 43, "start"); + core.ArgumentError.checkNotNull(T$0.ListOfint(), buffer, "buffer"); + this[_checkAvailable](); + end = core.RangeError.checkValidRange(start, end, buffer[$length]); + if (end == start) { + return 0; + } + let result = this[_ops].readInto(buffer, start, end); + if (io.OSError.is(result)) { + dart.throw(new io.FileSystemException.new("readInto failed", this.path, result)); + } + this[_resourceInfo].addRead(core.int.as(result)); + return core.int.as(result); + } + writeByte(value) { + if (value == null) dart.nullFailed(I[114], 802, 42, "value"); + core.ArgumentError.checkNotNull(core.int, value, "value"); + return this[_dispatch](19, [null, value]).then(io.RandomAccessFile, dart.fn(response => { + if (dart.test(io._isErrorResponse(response))) { + dart.throw(io._exceptionFromResponse(response, "writeByte failed", this.path)); + } + this[_resourceInfo].addWrite(1); + return this; + }, T$0.dynamicTo_RandomAccessFile())); + } + writeByteSync(value) { + if (value == null) dart.nullFailed(I[114], 814, 25, "value"); + this[_checkAvailable](); + core.ArgumentError.checkNotNull(core.int, value, "value"); + let result = this[_ops].writeByte(value); + if (io.OSError.is(result)) { + dart.throw(new io.FileSystemException.new("writeByte failed", this.path, result)); + } + this[_resourceInfo].addWrite(1); + return core.int.as(result); + } + writeFrom(buffer, start = 0, end = null) { + if (buffer == null) dart.nullFailed(I[114], 826, 48, "buffer"); + if (start == null) dart.nullFailed(I[114], 827, 12, "start"); + core.ArgumentError.checkNotNull(T$0.ListOfint(), buffer, "buffer"); + core.ArgumentError.checkNotNull(core.int, start, "start"); + end = core.RangeError.checkValidRange(start, end, buffer[$length]); + if (end == start) { + return T$0.FutureOfRandomAccessFile().value(this); + } + let result = null; + try { + result = io._ensureFastAndSerializableByteData(buffer, start, end); + } catch (e$) { + let e = dart.getThrown(e$); + if (core.Object.is(e)) { + return T$0.FutureOfRandomAccessFile().error(e); + } else + throw e$; + } + let request = core.List.filled(4, null); + request[$_set](0, null); + request[$_set](1, result.buffer); + request[$_set](2, result.start); + request[$_set](3, dart.notNull(end) - (dart.notNull(start) - dart.notNull(result.start))); + return this[_dispatch](22, request).then(io.RandomAccessFile, dart.fn(response => { + if (dart.test(io._isErrorResponse(response))) { + dart.throw(io._exceptionFromResponse(response, "writeFrom failed", this.path)); + } + this[_resourceInfo].addWrite(dart.nullCheck(end) - (dart.notNull(start) - dart.notNull(result.start))); + return this; + }, T$0.dynamicTo_RandomAccessFile())); + } + writeFromSync(buffer, start = 0, end = null) { + if (buffer == null) dart.nullFailed(I[114], 856, 32, "buffer"); + if (start == null) dart.nullFailed(I[114], 856, 45, "start"); + this[_checkAvailable](); + core.ArgumentError.checkNotNull(T$0.ListOfint(), buffer, "buffer"); + core.ArgumentError.checkNotNull(core.int, start, "start"); + end = core.RangeError.checkValidRange(start, end, buffer[$length]); + if (end == start) { + return; + } + let bufferAndStart = io._ensureFastAndSerializableByteData(buffer, start, end); + let result = this[_ops].writeFrom(bufferAndStart.buffer, bufferAndStart.start, dart.notNull(end) - (dart.notNull(start) - dart.notNull(bufferAndStart.start))); + if (io.OSError.is(result)) { + dart.throw(new io.FileSystemException.new("writeFrom failed", this.path, result)); + } + this[_resourceInfo].addWrite(dart.notNull(end) - (dart.notNull(start) - dart.notNull(bufferAndStart.start))); + } + writeString(string, opts) { + if (string == null) dart.nullFailed(I[114], 875, 47, "string"); + let encoding = opts && 'encoding' in opts ? opts.encoding : C[108] || CT.C108; + if (encoding == null) dart.nullFailed(I[114], 876, 17, "encoding"); + core.ArgumentError.checkNotNull(convert.Encoding, encoding, "encoding"); + let data = encoding.encode(string); + return this.writeFrom(data, 0, data[$length]); + } + writeStringSync(string, opts) { + if (string == null) dart.nullFailed(I[114], 883, 31, "string"); + let encoding = opts && 'encoding' in opts ? opts.encoding : C[108] || CT.C108; + if (encoding == null) dart.nullFailed(I[114], 883, 49, "encoding"); + core.ArgumentError.checkNotNull(convert.Encoding, encoding, "encoding"); + let data = encoding.encode(string); + this.writeFromSync(data, 0, data[$length]); + } + position() { + return this[_dispatch](8, [null]).then(core.int, dart.fn(response => { + if (dart.test(io._isErrorResponse(response))) { + dart.throw(io._exceptionFromResponse(response, "position failed", this.path)); + } + return T$0.FutureOrOfint().as(response); + }, T$0.dynamicToFutureOrOfint())); + } + positionSync() { + this[_checkAvailable](); + let result = this[_ops].position(); + if (io.OSError.is(result)) { + dart.throw(new io.FileSystemException.new("position failed", this.path, result)); + } + return core.int.as(result); + } + setPosition(position) { + if (position == null) dart.nullFailed(I[114], 908, 44, "position"); + return this[_dispatch](9, [null, position]).then(io.RandomAccessFile, dart.fn(response => { + if (dart.test(io._isErrorResponse(response))) { + dart.throw(io._exceptionFromResponse(response, "setPosition failed", this.path)); + } + return this; + }, T$0.dynamicTo_RandomAccessFile())); + } + setPositionSync(position) { + if (position == null) dart.nullFailed(I[114], 918, 28, "position"); + this[_checkAvailable](); + let result = this[_ops].setPosition(position); + if (io.OSError.is(result)) { + dart.throw(new io.FileSystemException.new("setPosition failed", this.path, result)); + } + } + truncate(length) { + if (length == null) dart.nullFailed(I[114], 926, 41, "length"); + return this[_dispatch](10, [null, length]).then(io.RandomAccessFile, dart.fn(response => { + if (dart.test(io._isErrorResponse(response))) { + dart.throw(io._exceptionFromResponse(response, "truncate failed", this.path)); + } + return this; + }, T$0.dynamicTo_RandomAccessFile())); + } + truncateSync(length) { + if (length == null) dart.nullFailed(I[114], 935, 25, "length"); + this[_checkAvailable](); + let result = this[_ops].truncate(length); + if (io.OSError.is(result)) { + dart.throw(new io.FileSystemException.new("truncate failed", this.path, result)); + } + } + length() { + return this[_dispatch](11, [null]).then(core.int, dart.fn(response => { + if (dart.test(io._isErrorResponse(response))) { + dart.throw(io._exceptionFromResponse(response, "length failed", this.path)); + } + return T$0.FutureOrOfint().as(response); + }, T$0.dynamicToFutureOrOfint())); + } + lengthSync() { + this[_checkAvailable](); + let result = this[_ops].length(); + if (io.OSError.is(result)) { + dart.throw(new io.FileSystemException.new("length failed", this.path, result)); + } + return core.int.as(result); + } + flush() { + return this[_dispatch](17, [null]).then(io.RandomAccessFile, dart.fn(response => { + if (dart.test(io._isErrorResponse(response))) { + dart.throw(io._exceptionFromResponse(response, "flush failed", this.path)); + } + return this; + }, T$0.dynamicTo_RandomAccessFile())); + } + flushSync() { + this[_checkAvailable](); + let result = this[_ops].flush(); + if (io.OSError.is(result)) { + dart.throw(new io.FileSystemException.new("flush failed", this.path, result)); + } + } + [_fileLockValue](fl) { + if (fl == null) dart.nullFailed(I[114], 984, 31, "fl"); + return fl[_type]; + } + lock(mode = C[115] || CT.C115, start = 0, end = -1) { + if (mode == null) dart.nullFailed(I[114], 987, 17, "mode"); + if (start == null) dart.nullFailed(I[114], 987, 48, "start"); + if (end == null) dart.nullFailed(I[114], 987, 63, "end"); + core.ArgumentError.checkNotNull(io.FileLock, mode, "mode"); + core.ArgumentError.checkNotNull(core.int, start, "start"); + core.ArgumentError.checkNotNull(core.int, end, "end"); + if (dart.notNull(start) < 0 || dart.notNull(end) < -1 || end !== -1 && dart.notNull(start) >= dart.notNull(end)) { + dart.throw(new core.ArgumentError.new()); + } + let lock = this[_fileLockValue](mode); + return this[_dispatch](30, [null, lock, start, end]).then(io.RandomAccessFile, dart.fn(response => { + if (dart.test(io._isErrorResponse(response))) { + dart.throw(io._exceptionFromResponse(response, "lock failed", this.path)); + } + return this; + }, T$0.dynamicTo_RandomAccessFile())); + } + unlock(start = 0, end = -1) { + if (start == null) dart.nullFailed(I[114], 1005, 40, "start"); + if (end == null) dart.nullFailed(I[114], 1005, 55, "end"); + core.ArgumentError.checkNotNull(core.int, start, "start"); + core.ArgumentError.checkNotNull(core.int, end, "end"); + if (start == end) { + dart.throw(new core.ArgumentError.new()); + } + return this[_dispatch](30, [null, 0, start, end]).then(io.RandomAccessFile, dart.fn(response => { + if (dart.test(io._isErrorResponse(response))) { + dart.throw(io._exceptionFromResponse(response, "unlock failed", this.path)); + } + return this; + }, T$0.dynamicTo_RandomAccessFile())); + } + lockSync(mode = C[115] || CT.C115, start = 0, end = -1) { + if (mode == null) dart.nullFailed(I[114], 1022, 17, "mode"); + if (start == null) dart.nullFailed(I[114], 1022, 48, "start"); + if (end == null) dart.nullFailed(I[114], 1022, 63, "end"); + this[_checkAvailable](); + core.ArgumentError.checkNotNull(io.FileLock, mode, "mode"); + core.ArgumentError.checkNotNull(core.int, start, "start"); + core.ArgumentError.checkNotNull(core.int, end, "end"); + if (dart.notNull(start) < 0 || dart.notNull(end) < -1 || end !== -1 && dart.notNull(start) >= dart.notNull(end)) { + dart.throw(new core.ArgumentError.new()); + } + let lock = this[_fileLockValue](mode); + let result = this[_ops].lock(lock, start, end); + if (io.OSError.is(result)) { + dart.throw(new io.FileSystemException.new("lock failed", this.path, result)); + } + } + unlockSync(start = 0, end = -1) { + if (start == null) dart.nullFailed(I[114], 1038, 24, "start"); + if (end == null) dart.nullFailed(I[114], 1038, 39, "end"); + this[_checkAvailable](); + core.ArgumentError.checkNotNull(core.int, start, "start"); + core.ArgumentError.checkNotNull(core.int, end, "end"); + if (start == end) { + dart.throw(new core.ArgumentError.new()); + } + let result = this[_ops].lock(0, start, end); + if (io.OSError.is(result)) { + dart.throw(new io.FileSystemException.new("unlock failed", this.path, result)); + } + } + [_pointer]() { + return this[_ops].getPointer(); + } + [_dispatch](request, data, opts) { + if (request == null) dart.nullFailed(I[114], 1061, 24, "request"); + if (data == null) dart.nullFailed(I[114], 1061, 38, "data"); + let markClosed = opts && 'markClosed' in opts ? opts.markClosed : false; + if (markClosed == null) dart.nullFailed(I[114], 1061, 50, "markClosed"); + if (dart.test(this.closed)) { + return async.Future.error(new io.FileSystemException.new("File closed", this.path)); + } + if (dart.test(this[_asyncDispatched])) { + let msg = "An async operation is currently pending"; + return async.Future.error(new io.FileSystemException.new(msg, this.path)); + } + if (dart.test(markClosed)) { + this.closed = true; + } + this[_asyncDispatched] = true; + data[$_set](0, this[_pointer]()); + return io._IOService._dispatch(request, data).whenComplete(dart.fn(() => { + this[_asyncDispatched] = false; + }, T$.VoidToNull())); + } + [_checkAvailable]() { + if (dart.test(this[_asyncDispatched])) { + dart.throw(new io.FileSystemException.new("An async operation is currently pending", this.path)); + } + if (dart.test(this.closed)) { + dart.throw(new io.FileSystemException.new("File closed", this.path)); + } + } + }; + (io._RandomAccessFile.new = function(pointer, path) { + if (pointer == null) dart.nullFailed(I[114], 674, 25, "pointer"); + if (path == null) dart.nullFailed(I[114], 674, 39, "path"); + this[_asyncDispatched] = false; + this[___RandomAccessFile__resourceInfo] = null; + this[___RandomAccessFile__resourceInfo_isSet] = false; + this.closed = false; + this.path = path; + this[_ops] = io._RandomAccessFileOps.new(pointer); + this[_resourceInfo] = new io._FileResourceInfo.new(this); + this[_maybeConnectHandler](); + }).prototype = io._RandomAccessFile.prototype; + dart.addTypeTests(io._RandomAccessFile); + dart.addTypeCaches(io._RandomAccessFile); + io._RandomAccessFile[dart.implements] = () => [io.RandomAccessFile]; + dart.setMethodSignature(io._RandomAccessFile, () => ({ + __proto__: dart.getMethods(io._RandomAccessFile.__proto__), + [_maybePerformCleanup]: dart.fnType(dart.void, []), + [_maybeConnectHandler]: dart.fnType(dart.dynamic, []), + close: dart.fnType(async.Future$(dart.void), []), + closeSync: dart.fnType(dart.void, []), + readByte: dart.fnType(async.Future$(core.int), []), + readByteSync: dart.fnType(core.int, []), + read: dart.fnType(async.Future$(typed_data.Uint8List), [core.int]), + readSync: dart.fnType(typed_data.Uint8List, [core.int]), + readInto: dart.fnType(async.Future$(core.int), [core.List$(core.int)], [core.int, dart.nullable(core.int)]), + readIntoSync: dart.fnType(core.int, [core.List$(core.int)], [core.int, dart.nullable(core.int)]), + writeByte: dart.fnType(async.Future$(io.RandomAccessFile), [core.int]), + writeByteSync: dart.fnType(core.int, [core.int]), + writeFrom: dart.fnType(async.Future$(io.RandomAccessFile), [core.List$(core.int)], [core.int, dart.nullable(core.int)]), + writeFromSync: dart.fnType(dart.void, [core.List$(core.int)], [core.int, dart.nullable(core.int)]), + writeString: dart.fnType(async.Future$(io.RandomAccessFile), [core.String], {encoding: convert.Encoding}, {}), + writeStringSync: dart.fnType(dart.void, [core.String], {encoding: convert.Encoding}, {}), + position: dart.fnType(async.Future$(core.int), []), + positionSync: dart.fnType(core.int, []), + setPosition: dart.fnType(async.Future$(io.RandomAccessFile), [core.int]), + setPositionSync: dart.fnType(dart.void, [core.int]), + truncate: dart.fnType(async.Future$(io.RandomAccessFile), [core.int]), + truncateSync: dart.fnType(dart.void, [core.int]), + length: dart.fnType(async.Future$(core.int), []), + lengthSync: dart.fnType(core.int, []), + flush: dart.fnType(async.Future$(io.RandomAccessFile), []), + flushSync: dart.fnType(dart.void, []), + [_fileLockValue]: dart.fnType(core.int, [io.FileLock]), + lock: dart.fnType(async.Future$(io.RandomAccessFile), [], [io.FileLock, core.int, core.int]), + unlock: dart.fnType(async.Future$(io.RandomAccessFile), [], [core.int, core.int]), + lockSync: dart.fnType(dart.void, [], [io.FileLock, core.int, core.int]), + unlockSync: dart.fnType(dart.void, [], [core.int, core.int]), + [_pointer]: dart.fnType(core.int, []), + [_dispatch]: dart.fnType(async.Future, [core.int, core.List], {markClosed: core.bool}, {}), + [_checkAvailable]: dart.fnType(dart.void, []) + })); + dart.setGetterSignature(io._RandomAccessFile, () => ({ + __proto__: dart.getGetters(io._RandomAccessFile.__proto__), + [_resourceInfo]: io._FileResourceInfo + })); + dart.setSetterSignature(io._RandomAccessFile, () => ({ + __proto__: dart.getSetters(io._RandomAccessFile.__proto__), + [_resourceInfo]: io._FileResourceInfo + })); + dart.setLibraryUri(io._RandomAccessFile, I[105]); + dart.setFieldSignature(io._RandomAccessFile, () => ({ + __proto__: dart.getFields(io._RandomAccessFile.__proto__), + path: dart.finalFieldType(core.String), + [_asyncDispatched]: dart.fieldType(core.bool), + [___RandomAccessFile__resourceInfo]: dart.fieldType(dart.nullable(io._FileResourceInfo)), + [___RandomAccessFile__resourceInfo_isSet]: dart.fieldType(core.bool), + [_ops]: dart.fieldType(io._RandomAccessFileOps), + closed: dart.fieldType(core.bool) + })); + dart.defineLazy(io._RandomAccessFile, { + /*io._RandomAccessFile._connectedResourceHandler*/get _connectedResourceHandler() { + return false; + }, + set _connectedResourceHandler(_) {}, + /*io._RandomAccessFile.lockUnlock*/get lockUnlock() { + return 0; + } + }, false); + var _type$2 = dart.privateName(io, "FileSystemEntityType._type"); + io.FileSystemEntityType = class FileSystemEntityType extends core.Object { + get [_type]() { + return this[_type$2]; + } + set [_type](value) { + super[_type] = value; + } + static _lookup(type) { + if (type == null) dart.nullFailed(I[111], 39, 43, "type"); + return io.FileSystemEntityType._typeList[$_get](type); + } + toString() { + return (C[121] || CT.C121)[$_get](this[_type]); + } + }; + (io.FileSystemEntityType._internal = function(_type) { + if (_type == null) dart.nullFailed(I[111], 37, 45, "_type"); + this[_type$2] = _type; + ; + }).prototype = io.FileSystemEntityType.prototype; + dart.addTypeTests(io.FileSystemEntityType); + dart.addTypeCaches(io.FileSystemEntityType); + dart.setLibraryUri(io.FileSystemEntityType, I[105]); + dart.setFieldSignature(io.FileSystemEntityType, () => ({ + __proto__: dart.getFields(io.FileSystemEntityType.__proto__), + [_type]: dart.finalFieldType(core.int) + })); + dart.defineExtensionMethods(io.FileSystemEntityType, ['toString']); + dart.defineLazy(io.FileSystemEntityType, { + /*io.FileSystemEntityType.file*/get file() { + return C[122] || CT.C122; + }, + /*io.FileSystemEntityType.FILE*/get FILE() { + return C[122] || CT.C122; + }, + /*io.FileSystemEntityType.directory*/get directory() { + return C[123] || CT.C123; + }, + /*io.FileSystemEntityType.DIRECTORY*/get DIRECTORY() { + return C[123] || CT.C123; + }, + /*io.FileSystemEntityType.link*/get link() { + return C[124] || CT.C124; + }, + /*io.FileSystemEntityType.LINK*/get LINK() { + return C[124] || CT.C124; + }, + /*io.FileSystemEntityType.notFound*/get notFound() { + return C[125] || CT.C125; + }, + /*io.FileSystemEntityType.NOT_FOUND*/get NOT_FOUND() { + return C[125] || CT.C125; + }, + /*io.FileSystemEntityType._typeList*/get _typeList() { + return C[126] || CT.C126; + } + }, false); + var changed$ = dart.privateName(io, "FileStat.changed"); + var modified$ = dart.privateName(io, "FileStat.modified"); + var accessed$ = dart.privateName(io, "FileStat.accessed"); + var type$1 = dart.privateName(io, "FileStat.type"); + var mode$0 = dart.privateName(io, "FileStat.mode"); + var size$ = dart.privateName(io, "FileStat.size"); + io.FileStat = class FileStat extends core.Object { + get changed() { + return this[changed$]; + } + set changed(value) { + super.changed = value; + } + get modified() { + return this[modified$]; + } + set modified(value) { + super.modified = value; + } + get accessed() { + return this[accessed$]; + } + set accessed(value) { + super.accessed = value; + } + get type() { + return this[type$1]; + } + set type(value) { + super.type = value; + } + get mode() { + return this[mode$0]; + } + set mode(value) { + super.mode = value; + } + get size() { + return this[size$]; + } + set size(value) { + super.size = value; + } + static _statSync(namespace, path) { + if (namespace == null) dart.nullFailed(I[107], 84, 31, "namespace"); + if (path == null) dart.nullFailed(I[107], 84, 49, "path"); + dart.throw(new core.UnsupportedError.new("FileStat.stat")); + } + static statSync(path) { + if (path == null) dart.nullFailed(I[111], 99, 35, "path"); + let overrides = io.IOOverrides.current; + if (overrides == null) { + return io.FileStat._statSyncInternal(path); + } + return overrides.statSync(path); + } + static _statSyncInternal(path) { + if (path == null) dart.nullFailed(I[111], 107, 44, "path"); + if (dart.test(io.Platform.isWindows)) { + path = io.FileSystemEntity._trimTrailingPathSeparators(path); + } + let data = io.FileStat._statSync(io._Namespace._namespace, path); + if (io.OSError.is(data)) return io.FileStat._notFound; + return new io.FileStat._internal(new core.DateTime.fromMillisecondsSinceEpoch(core.int.as(dart.dsend(data, '_get', [1]))), new core.DateTime.fromMillisecondsSinceEpoch(core.int.as(dart.dsend(data, '_get', [2]))), new core.DateTime.fromMillisecondsSinceEpoch(core.int.as(dart.dsend(data, '_get', [3]))), io.FileSystemEntityType._lookup(core.int.as(dart.dsend(data, '_get', [0]))), core.int.as(dart.dsend(data, '_get', [4])), core.int.as(dart.dsend(data, '_get', [5]))); + } + static stat(path) { + if (path == null) dart.nullFailed(I[111], 127, 39, "path"); + let overrides = io.IOOverrides.current; + if (overrides == null) { + return io.FileStat._stat(path); + } + return overrides.stat(path); + } + static _stat(path) { + if (path == null) dart.nullFailed(I[111], 135, 40, "path"); + if (dart.test(io.Platform.isWindows)) { + path = io.FileSystemEntity._trimTrailingPathSeparators(path); + } + return io._File._dispatchWithNamespace(29, [null, path]).then(io.FileStat, dart.fn(response => { + if (dart.test(io._isErrorResponse(response))) { + return io.FileStat._notFound; + } + let data = core.List.as(dart.dsend(response, '_get', [1])); + return new io.FileStat._internal(new core.DateTime.fromMillisecondsSinceEpoch(core.int.as(data[$_get](1))), new core.DateTime.fromMillisecondsSinceEpoch(core.int.as(data[$_get](2))), new core.DateTime.fromMillisecondsSinceEpoch(core.int.as(data[$_get](3))), io.FileSystemEntityType._lookup(core.int.as(data[$_get](0))), core.int.as(data[$_get](4)), core.int.as(data[$_get](5))); + }, T$0.dynamicToFileStat())); + } + toString() { + return "FileStat: type " + dart.str(this.type) + "\n changed " + dart.str(this.changed) + "\n modified " + dart.str(this.modified) + "\n accessed " + dart.str(this.accessed) + "\n mode " + dart.str(this.modeString()) + "\n size " + dart.str(this.size); + } + modeString() { + let t201; + let permissions = dart.notNull(this.mode) & 4095; + let codes = C[127] || CT.C127; + let result = []; + if ((permissions & 2048) !== 0) result[$add]("(suid) "); + if ((permissions & 1024) !== 0) result[$add]("(guid) "); + if ((permissions & 512) !== 0) result[$add]("(sticky) "); + t201 = result; + (() => { + t201[$add](codes[$_get](permissions >> 6 & 7)); + t201[$add](codes[$_get](permissions >> 3 & 7)); + t201[$add](codes[$_get](permissions & 7)); + return t201; + })(); + return result[$join](); + } + }; + (io.FileStat._internal = function(changed, modified, accessed, type, mode, size) { + if (changed == null) dart.nullFailed(I[111], 89, 27, "changed"); + if (modified == null) dart.nullFailed(I[111], 89, 41, "modified"); + if (accessed == null) dart.nullFailed(I[111], 89, 56, "accessed"); + if (type == null) dart.nullFailed(I[111], 89, 71, "type"); + if (mode == null) dart.nullFailed(I[111], 90, 12, "mode"); + if (size == null) dart.nullFailed(I[111], 90, 23, "size"); + this[changed$] = changed; + this[modified$] = modified; + this[accessed$] = accessed; + this[type$1] = type; + this[mode$0] = mode; + this[size$] = size; + ; + }).prototype = io.FileStat.prototype; + dart.addTypeTests(io.FileStat); + dart.addTypeCaches(io.FileStat); + dart.setMethodSignature(io.FileStat, () => ({ + __proto__: dart.getMethods(io.FileStat.__proto__), + modeString: dart.fnType(core.String, []) + })); + dart.setLibraryUri(io.FileStat, I[105]); + dart.setFieldSignature(io.FileStat, () => ({ + __proto__: dart.getFields(io.FileStat.__proto__), + changed: dart.finalFieldType(core.DateTime), + modified: dart.finalFieldType(core.DateTime), + accessed: dart.finalFieldType(core.DateTime), + type: dart.finalFieldType(io.FileSystemEntityType), + mode: dart.finalFieldType(core.int), + size: dart.finalFieldType(core.int) + })); + dart.defineExtensionMethods(io.FileStat, ['toString']); + dart.defineLazy(io.FileStat, { + /*io.FileStat._type*/get _type() { + return 0; + }, + /*io.FileStat._changedTime*/get _changedTime() { + return 1; + }, + /*io.FileStat._modifiedTime*/get _modifiedTime() { + return 2; + }, + /*io.FileStat._accessedTime*/get _accessedTime() { + return 3; + }, + /*io.FileStat._mode*/get _mode() { + return 4; + }, + /*io.FileStat._size*/get _size() { + return 5; + }, + /*io.FileStat._epoch*/get _epoch() { + return new core.DateTime.fromMillisecondsSinceEpoch(0, {isUtc: true}); + }, + /*io.FileStat._notFound*/get _notFound() { + return new io.FileStat._internal(io.FileStat._epoch, io.FileStat._epoch, io.FileStat._epoch, io.FileSystemEntityType.notFound, 0, -1); + } + }, false); + var type$2 = dart.privateName(io, "FileSystemEvent.type"); + var path$0 = dart.privateName(io, "FileSystemEvent.path"); + var isDirectory$ = dart.privateName(io, "FileSystemEvent.isDirectory"); + io.FileSystemEvent = class FileSystemEvent extends core.Object { + get type() { + return this[type$2]; + } + set type(value) { + super.type = value; + } + get path() { + return this[path$0]; + } + set path(value) { + super.path = value; + } + get isDirectory() { + return this[isDirectory$]; + } + set isDirectory(value) { + super.isDirectory = value; + } + }; + (io.FileSystemEvent.__ = function(type, path, isDirectory) { + if (type == null) dart.nullFailed(I[111], 905, 26, "type"); + if (path == null) dart.nullFailed(I[111], 905, 37, "path"); + if (isDirectory == null) dart.nullFailed(I[111], 905, 48, "isDirectory"); + this[type$2] = type; + this[path$0] = path; + this[isDirectory$] = isDirectory; + ; + }).prototype = io.FileSystemEvent.prototype; + dart.addTypeTests(io.FileSystemEvent); + dart.addTypeCaches(io.FileSystemEvent); + dart.setLibraryUri(io.FileSystemEvent, I[105]); + dart.setFieldSignature(io.FileSystemEvent, () => ({ + __proto__: dart.getFields(io.FileSystemEvent.__proto__), + type: dart.finalFieldType(core.int), + path: dart.finalFieldType(core.String), + isDirectory: dart.finalFieldType(core.bool) + })); + dart.defineLazy(io.FileSystemEvent, { + /*io.FileSystemEvent.create*/get create() { + return 1; + }, + /*io.FileSystemEvent.CREATE*/get CREATE() { + return 1; + }, + /*io.FileSystemEvent.modify*/get modify() { + return 2; + }, + /*io.FileSystemEvent.MODIFY*/get MODIFY() { + return 2; + }, + /*io.FileSystemEvent.delete*/get delete() { + return 4; + }, + /*io.FileSystemEvent.DELETE*/get DELETE() { + return 4; + }, + /*io.FileSystemEvent.move*/get move() { + return 8; + }, + /*io.FileSystemEvent.MOVE*/get MOVE() { + return 8; + }, + /*io.FileSystemEvent.all*/get all() { + return 15; + }, + /*io.FileSystemEvent.ALL*/get ALL() { + return 15; + }, + /*io.FileSystemEvent._modifyAttributes*/get _modifyAttributes() { + return 16; + }, + /*io.FileSystemEvent._deleteSelf*/get _deleteSelf() { + return 32; + }, + /*io.FileSystemEvent._isDir*/get _isDir() { + return 64; + } + }, false); + io.FileSystemCreateEvent = class FileSystemCreateEvent extends io.FileSystemEvent { + toString() { + return "FileSystemCreateEvent('" + dart.str(this.path) + "')"; + } + }; + (io.FileSystemCreateEvent.__ = function(path, isDirectory) { + io.FileSystemCreateEvent.__proto__.__.call(this, 1, core.String.as(path), core.bool.as(isDirectory)); + ; + }).prototype = io.FileSystemCreateEvent.prototype; + dart.addTypeTests(io.FileSystemCreateEvent); + dart.addTypeCaches(io.FileSystemCreateEvent); + dart.setLibraryUri(io.FileSystemCreateEvent, I[105]); + dart.defineExtensionMethods(io.FileSystemCreateEvent, ['toString']); + var contentChanged$ = dart.privateName(io, "FileSystemModifyEvent.contentChanged"); + io.FileSystemModifyEvent = class FileSystemModifyEvent extends io.FileSystemEvent { + get contentChanged() { + return this[contentChanged$]; + } + set contentChanged(value) { + super.contentChanged = value; + } + toString() { + return "FileSystemModifyEvent('" + dart.str(this.path) + "', contentChanged=" + dart.str(this.contentChanged) + ")"; + } + }; + (io.FileSystemModifyEvent.__ = function(path, isDirectory, contentChanged) { + if (contentChanged == null) dart.nullFailed(I[111], 922, 51, "contentChanged"); + this[contentChanged$] = contentChanged; + io.FileSystemModifyEvent.__proto__.__.call(this, 2, core.String.as(path), core.bool.as(isDirectory)); + ; + }).prototype = io.FileSystemModifyEvent.prototype; + dart.addTypeTests(io.FileSystemModifyEvent); + dart.addTypeCaches(io.FileSystemModifyEvent); + dart.setLibraryUri(io.FileSystemModifyEvent, I[105]); + dart.setFieldSignature(io.FileSystemModifyEvent, () => ({ + __proto__: dart.getFields(io.FileSystemModifyEvent.__proto__), + contentChanged: dart.finalFieldType(core.bool) + })); + dart.defineExtensionMethods(io.FileSystemModifyEvent, ['toString']); + io.FileSystemDeleteEvent = class FileSystemDeleteEvent extends io.FileSystemEvent { + toString() { + return "FileSystemDeleteEvent('" + dart.str(this.path) + "')"; + } + }; + (io.FileSystemDeleteEvent.__ = function(path, isDirectory) { + io.FileSystemDeleteEvent.__proto__.__.call(this, 4, core.String.as(path), core.bool.as(isDirectory)); + ; + }).prototype = io.FileSystemDeleteEvent.prototype; + dart.addTypeTests(io.FileSystemDeleteEvent); + dart.addTypeCaches(io.FileSystemDeleteEvent); + dart.setLibraryUri(io.FileSystemDeleteEvent, I[105]); + dart.defineExtensionMethods(io.FileSystemDeleteEvent, ['toString']); + var destination$ = dart.privateName(io, "FileSystemMoveEvent.destination"); + io.FileSystemMoveEvent = class FileSystemMoveEvent extends io.FileSystemEvent { + get destination() { + return this[destination$]; + } + set destination(value) { + super.destination = value; + } + toString() { + let buffer = new core.StringBuffer.new(); + buffer.write("FileSystemMoveEvent('" + dart.str(this.path) + "'"); + if (this.destination != null) buffer.write(", '" + dart.str(this.destination) + "'"); + buffer.write(")"); + return buffer.toString(); + } + }; + (io.FileSystemMoveEvent.__ = function(path, isDirectory, destination) { + this[destination$] = destination; + io.FileSystemMoveEvent.__proto__.__.call(this, 8, core.String.as(path), core.bool.as(isDirectory)); + ; + }).prototype = io.FileSystemMoveEvent.prototype; + dart.addTypeTests(io.FileSystemMoveEvent); + dart.addTypeCaches(io.FileSystemMoveEvent); + dart.setLibraryUri(io.FileSystemMoveEvent, I[105]); + dart.setFieldSignature(io.FileSystemMoveEvent, () => ({ + __proto__: dart.getFields(io.FileSystemMoveEvent.__proto__), + destination: dart.finalFieldType(dart.nullable(core.String)) + })); + dart.defineExtensionMethods(io.FileSystemMoveEvent, ['toString']); + io._FileSystemWatcher = class _FileSystemWatcher extends core.Object { + static _watch(path, events, recursive) { + if (path == null) dart.nullFailed(I[107], 691, 14, "path"); + if (events == null) dart.nullFailed(I[107], 691, 24, "events"); + if (recursive == null) dart.nullFailed(I[107], 691, 37, "recursive"); + dart.throw(new core.UnsupportedError.new("_FileSystemWatcher.watch")); + } + static get isSupported() { + dart.throw(new core.UnsupportedError.new("_FileSystemWatcher.isSupported")); + } + }; + (io._FileSystemWatcher.new = function() { + ; + }).prototype = io._FileSystemWatcher.prototype; + dart.addTypeTests(io._FileSystemWatcher); + dart.addTypeCaches(io._FileSystemWatcher); + dart.setLibraryUri(io._FileSystemWatcher, I[105]); + io._IOResourceInfo = class _IOResourceInfo extends core.Object { + static get timestamp() { + return dart.notNull(io._IOResourceInfo._startTime) + (dart.notNull(io._IOResourceInfo._sw.elapsedMicroseconds) / 1000)[$truncate](); + } + get referenceValueMap() { + return new (T$0.IdentityMapOfString$dynamic()).from(["type", "@" + dart.str(this.type), "id", this.id, "name", this.name]); + } + static getNextID() { + let t201; + t201 = io._IOResourceInfo._count; + io._IOResourceInfo._count = dart.notNull(t201) + 1; + return t201; + } + }; + (io._IOResourceInfo.new = function(type) { + if (type == null) dart.nullFailed(I[115], 18, 24, "type"); + this.type = type; + this.id = io._IOResourceInfo.getNextID(); + ; + }).prototype = io._IOResourceInfo.prototype; + dart.addTypeTests(io._IOResourceInfo); + dart.addTypeCaches(io._IOResourceInfo); + dart.setGetterSignature(io._IOResourceInfo, () => ({ + __proto__: dart.getGetters(io._IOResourceInfo.__proto__), + referenceValueMap: core.Map$(core.String, dart.dynamic) + })); + dart.setLibraryUri(io._IOResourceInfo, I[105]); + dart.setFieldSignature(io._IOResourceInfo, () => ({ + __proto__: dart.getFields(io._IOResourceInfo.__proto__), + type: dart.finalFieldType(core.String), + id: dart.finalFieldType(core.int) + })); + dart.defineLazy(io._IOResourceInfo, { + /*io._IOResourceInfo._count*/get _count() { + return 0; + }, + set _count(_) {}, + /*io._IOResourceInfo._sw*/get _sw() { + let t201; + return t201 = new core.Stopwatch.new(), (() => { + t201.start(); + return t201; + })(); + }, + /*io._IOResourceInfo._startTime*/get _startTime() { + return new core.DateTime.now().millisecondsSinceEpoch; + } + }, false); + io._ReadWriteResourceInfo = class _ReadWriteResourceInfo extends io._IOResourceInfo { + addRead(bytes) { + if (bytes == null) dart.nullFailed(I[115], 47, 20, "bytes"); + this.readBytes = dart.notNull(this.readBytes) + dart.notNull(bytes); + this.readCount = dart.notNull(this.readCount) + 1; + this.lastReadTime = io._IOResourceInfo.timestamp; + } + didRead() { + this.addRead(0); + } + addWrite(bytes) { + if (bytes == null) dart.nullFailed(I[115], 60, 21, "bytes"); + this.writeBytes = dart.notNull(this.writeBytes) + dart.notNull(bytes); + this.writeCount = dart.notNull(this.writeCount) + 1; + this.lastWriteTime = io._IOResourceInfo.timestamp; + } + get fullValueMap() { + return new (T$0.IdentityMapOfString$dynamic()).from(["type", this.type, "id", this.id, "name", this.name, "readBytes", this.readBytes, "writeBytes", this.writeBytes, "readCount", this.readCount, "writeCount", this.writeCount, "lastReadTime", this.lastReadTime, "lastWriteTime", this.lastWriteTime]); + } + }; + (io._ReadWriteResourceInfo.new = function(type) { + if (type == null) dart.nullFailed(I[115], 66, 33, "type"); + this.readBytes = 0; + this.writeBytes = 0; + this.readCount = 0; + this.writeCount = 0; + this.lastReadTime = 0; + this.lastWriteTime = 0; + io._ReadWriteResourceInfo.__proto__.new.call(this, type); + ; + }).prototype = io._ReadWriteResourceInfo.prototype; + dart.addTypeTests(io._ReadWriteResourceInfo); + dart.addTypeCaches(io._ReadWriteResourceInfo); + dart.setMethodSignature(io._ReadWriteResourceInfo, () => ({ + __proto__: dart.getMethods(io._ReadWriteResourceInfo.__proto__), + addRead: dart.fnType(dart.void, [core.int]), + didRead: dart.fnType(dart.void, []), + addWrite: dart.fnType(dart.void, [core.int]) + })); + dart.setGetterSignature(io._ReadWriteResourceInfo, () => ({ + __proto__: dart.getGetters(io._ReadWriteResourceInfo.__proto__), + fullValueMap: core.Map$(core.String, dart.dynamic) + })); + dart.setLibraryUri(io._ReadWriteResourceInfo, I[105]); + dart.setFieldSignature(io._ReadWriteResourceInfo, () => ({ + __proto__: dart.getFields(io._ReadWriteResourceInfo.__proto__), + readBytes: dart.fieldType(core.int), + writeBytes: dart.fieldType(core.int), + readCount: dart.fieldType(core.int), + writeCount: dart.fieldType(core.int), + lastReadTime: dart.fieldType(core.int), + lastWriteTime: dart.fieldType(core.int) + })); + io._FileResourceInfo = class _FileResourceInfo extends io._ReadWriteResourceInfo { + static fileOpened(info) { + if (info == null) dart.nullFailed(I[115], 99, 39, "info"); + if (!!dart.test(io._FileResourceInfo.openFiles[$containsKey](info.id))) dart.assertFailed(null, I[115], 100, 12, "!openFiles.containsKey(info.id)"); + io._FileResourceInfo.openFiles[$_set](info.id, info); + } + static fileClosed(info) { + if (info == null) dart.nullFailed(I[115], 104, 39, "info"); + if (!dart.test(io._FileResourceInfo.openFiles[$containsKey](info.id))) dart.assertFailed(null, I[115], 105, 12, "openFiles.containsKey(info.id)"); + io._FileResourceInfo.openFiles[$remove](info.id); + } + static getOpenFilesList() { + return T$0.ListOfMapOfString$dynamic().from(io._FileResourceInfo.openFiles[$values][$map](dart.dynamic, dart.fn(e => { + if (e == null) dart.nullFailed(I[115], 111, 8, "e"); + return e.referenceValueMap; + }, T$0._FileResourceInfoToMapOfString$dynamic()))); + } + static getOpenFiles($function, params) { + if (!dart.equals($function, "ext.dart.io.getOpenFiles")) dart.assertFailed(null, I[115], 116, 12, "function == 'ext.dart.io.getOpenFiles'"); + let data = new (T$.IdentityMapOfString$Object()).from(["type", "OpenFileList", "files", io._FileResourceInfo.getOpenFilesList()]); + let jsonValue = convert.json.encode(data); + return T$0.FutureOfServiceExtensionResponse().value(new developer.ServiceExtensionResponse.result(jsonValue)); + } + get fileInfoMap() { + return this.fullValueMap; + } + static getOpenFileInfoMapByID($function, params) { + let id = core.int.parse(core.String.as(dart.nullCheck(dart.dsend(params, '_get', ["id"])))); + let result = dart.test(io._FileResourceInfo.openFiles[$containsKey](id)) ? dart.nullCheck(io._FileResourceInfo.openFiles[$_get](id)).fileInfoMap : new _js_helper.LinkedMap.new(); + let jsonValue = convert.json.encode(result); + return T$0.FutureOfServiceExtensionResponse().value(new developer.ServiceExtensionResponse.result(jsonValue)); + } + get name() { + return core.String.as(dart.dload(this.file, 'path')); + } + }; + (io._FileResourceInfo.new = function(file) { + this.file = file; + io._FileResourceInfo.__proto__.new.call(this, "OpenFile"); + io._FileResourceInfo.fileOpened(this); + }).prototype = io._FileResourceInfo.prototype; + dart.addTypeTests(io._FileResourceInfo); + dart.addTypeCaches(io._FileResourceInfo); + dart.setGetterSignature(io._FileResourceInfo, () => ({ + __proto__: dart.getGetters(io._FileResourceInfo.__proto__), + fileInfoMap: core.Map$(core.String, dart.dynamic), + name: core.String + })); + dart.setLibraryUri(io._FileResourceInfo, I[105]); + dart.setFieldSignature(io._FileResourceInfo, () => ({ + __proto__: dart.getFields(io._FileResourceInfo.__proto__), + file: dart.finalFieldType(dart.dynamic) + })); + dart.defineLazy(io._FileResourceInfo, { + /*io._FileResourceInfo._type*/get _type() { + return "OpenFile"; + }, + /*io._FileResourceInfo.openFiles*/get openFiles() { + return new (T$0.IdentityMapOfint$_FileResourceInfo()).new(); + }, + set openFiles(_) {} + }, false); + var _arguments$2 = dart.privateName(io, "_arguments"); + var _workingDirectory = dart.privateName(io, "_workingDirectory"); + io._SpawnedProcessResourceInfo = class _SpawnedProcessResourceInfo extends io._IOResourceInfo { + get name() { + return core.String.as(dart.dload(this.process, _path$0)); + } + stopped() { + return io._SpawnedProcessResourceInfo.processStopped(this); + } + get fullValueMap() { + return new (T$0.IdentityMapOfString$dynamic()).from(["type", this.type, "id", this.id, "name", this.name, "pid", dart.dload(this.process, 'pid'), "startedAt", this.startedAt, "arguments", dart.dload(this.process, _arguments$2), "workingDirectory", dart.dload(this.process, _workingDirectory) == null ? "." : dart.dload(this.process, _workingDirectory)]); + } + static processStarted(info) { + if (info == null) dart.nullFailed(I[115], 167, 53, "info"); + if (!!dart.test(io._SpawnedProcessResourceInfo.startedProcesses[$containsKey](info.id))) dart.assertFailed(null, I[115], 168, 12, "!startedProcesses.containsKey(info.id)"); + io._SpawnedProcessResourceInfo.startedProcesses[$_set](info.id, info); + } + static processStopped(info) { + if (info == null) dart.nullFailed(I[115], 172, 53, "info"); + if (!dart.test(io._SpawnedProcessResourceInfo.startedProcesses[$containsKey](info.id))) dart.assertFailed(null, I[115], 173, 12, "startedProcesses.containsKey(info.id)"); + io._SpawnedProcessResourceInfo.startedProcesses[$remove](info.id); + } + static getStartedProcessesList() { + return T$0.ListOfMapOfString$dynamic().from(io._SpawnedProcessResourceInfo.startedProcesses[$values][$map](dart.dynamic, dart.fn(e => { + if (e == null) dart.nullFailed(I[115], 179, 10, "e"); + return e.referenceValueMap; + }, T$0._SpawnedProcessResourceInfoToMapOfString$dynamic()))); + } + static getStartedProcesses($function, params) { + if ($function == null) dart.nullFailed(I[115], 183, 14, "function"); + if (params == null) dart.nullFailed(I[115], 183, 44, "params"); + if (!($function === "ext.dart.io.getSpawnedProcesses")) dart.assertFailed(null, I[115], 184, 12, "function == 'ext.dart.io.getSpawnedProcesses'"); + let data = new (T$.IdentityMapOfString$Object()).from(["type", "SpawnedProcessList", "processes", io._SpawnedProcessResourceInfo.getStartedProcessesList()]); + let jsonValue = convert.json.encode(data); + return T$0.FutureOfServiceExtensionResponse().value(new developer.ServiceExtensionResponse.result(jsonValue)); + } + static getProcessInfoMapById($function, params) { + if ($function == null) dart.nullFailed(I[115], 194, 14, "function"); + if (params == null) dart.nullFailed(I[115], 194, 44, "params"); + let id = core.int.parse(dart.nullCheck(params[$_get]("id"))); + let result = dart.test(io._SpawnedProcessResourceInfo.startedProcesses[$containsKey](id)) ? dart.nullCheck(io._SpawnedProcessResourceInfo.startedProcesses[$_get](id)).fullValueMap : new _js_helper.LinkedMap.new(); + let jsonValue = convert.json.encode(result); + return T$0.FutureOfServiceExtensionResponse().value(new developer.ServiceExtensionResponse.result(jsonValue)); + } + }; + (io._SpawnedProcessResourceInfo.new = function(process) { + this.process = process; + this.startedAt = io._IOResourceInfo.timestamp; + io._SpawnedProcessResourceInfo.__proto__.new.call(this, "SpawnedProcess"); + io._SpawnedProcessResourceInfo.processStarted(this); + }).prototype = io._SpawnedProcessResourceInfo.prototype; + dart.addTypeTests(io._SpawnedProcessResourceInfo); + dart.addTypeCaches(io._SpawnedProcessResourceInfo); + dart.setMethodSignature(io._SpawnedProcessResourceInfo, () => ({ + __proto__: dart.getMethods(io._SpawnedProcessResourceInfo.__proto__), + stopped: dart.fnType(dart.void, []) + })); + dart.setGetterSignature(io._SpawnedProcessResourceInfo, () => ({ + __proto__: dart.getGetters(io._SpawnedProcessResourceInfo.__proto__), + name: core.String, + fullValueMap: core.Map$(core.String, dart.dynamic) + })); + dart.setLibraryUri(io._SpawnedProcessResourceInfo, I[105]); + dart.setFieldSignature(io._SpawnedProcessResourceInfo, () => ({ + __proto__: dart.getFields(io._SpawnedProcessResourceInfo.__proto__), + process: dart.finalFieldType(dart.dynamic), + startedAt: dart.finalFieldType(core.int) + })); + dart.defineLazy(io._SpawnedProcessResourceInfo, { + /*io._SpawnedProcessResourceInfo._type*/get _type() { + return "SpawnedProcess"; + }, + /*io._SpawnedProcessResourceInfo.startedProcesses*/get startedProcesses() { + return new (T$0.LinkedMapOfint$_SpawnedProcessResourceInfo()).new(); + }, + set startedProcesses(_) {} + }, false); + var __IOSink_encoding = dart.privateName(io, "_#IOSink#encoding"); + var __IOSink_encoding_isSet = dart.privateName(io, "_#IOSink#encoding#isSet"); + io.IOSink = class IOSink extends core.Object { + static new(target, opts) { + if (target == null) dart.nullFailed(I[116], 23, 44, "target"); + let encoding = opts && 'encoding' in opts ? opts.encoding : C[108] || CT.C108; + if (encoding == null) dart.nullFailed(I[116], 24, 21, "encoding"); + return new io._IOSinkImpl.new(target, encoding); + } + get encoding() { + let t201; + return dart.test(this[__IOSink_encoding_isSet]) ? (t201 = this[__IOSink_encoding], t201) : dart.throw(new _internal.LateError.fieldNI("encoding")); + } + set encoding(t201) { + if (t201 == null) dart.nullFailed(I[116], 30, 17, "null"); + this[__IOSink_encoding_isSet] = true; + this[__IOSink_encoding] = t201; + } + }; + (io.IOSink[dart.mixinNew] = function() { + this[__IOSink_encoding] = null; + this[__IOSink_encoding_isSet] = false; + }).prototype = io.IOSink.prototype; + dart.addTypeTests(io.IOSink); + dart.addTypeCaches(io.IOSink); + io.IOSink[dart.implements] = () => [async.StreamSink$(core.List$(core.int)), core.StringSink]; + dart.setGetterSignature(io.IOSink, () => ({ + __proto__: dart.getGetters(io.IOSink.__proto__), + encoding: convert.Encoding + })); + dart.setSetterSignature(io.IOSink, () => ({ + __proto__: dart.getSetters(io.IOSink.__proto__), + encoding: convert.Encoding + })); + dart.setLibraryUri(io.IOSink, I[105]); + dart.setFieldSignature(io.IOSink, () => ({ + __proto__: dart.getFields(io.IOSink.__proto__), + [__IOSink_encoding]: dart.fieldType(dart.nullable(convert.Encoding)), + [__IOSink_encoding_isSet]: dart.fieldType(core.bool) + })); + var _doneCompleter = dart.privateName(io, "_doneCompleter"); + var _controllerInstance = dart.privateName(io, "_controllerInstance"); + var _controllerCompleter = dart.privateName(io, "_controllerCompleter"); + var _isClosed$ = dart.privateName(io, "_isClosed"); + var _isBound = dart.privateName(io, "_isBound"); + var _hasError$ = dart.privateName(io, "_hasError"); + var _target$0 = dart.privateName(io, "_target"); + var _closeTarget = dart.privateName(io, "_closeTarget"); + var _completeDoneValue = dart.privateName(io, "_completeDoneValue"); + var _completeDoneError = dart.privateName(io, "_completeDoneError"); + const _is__StreamSinkImpl_default = Symbol('_is__StreamSinkImpl_default'); + io._StreamSinkImpl$ = dart.generic(T => { + var StreamOfT = () => (StreamOfT = dart.constFn(async.Stream$(T)))(); + var StreamControllerOfT = () => (StreamControllerOfT = dart.constFn(async.StreamController$(T)))(); + class _StreamSinkImpl extends core.Object { + add(data) { + T.as(data); + if (dart.test(this[_isClosed$])) { + dart.throw(new core.StateError.new("StreamSink is closed")); + } + this[_controller].add(data); + } + addError(error, stackTrace = null) { + if (error == null) dart.nullFailed(I[116], 139, 17, "error"); + if (dart.test(this[_isClosed$])) { + dart.throw(new core.StateError.new("StreamSink is closed")); + } + this[_controller].addError(error, stackTrace); + } + addStream(stream) { + let t202; + StreamOfT().as(stream); + if (stream == null) dart.nullFailed(I[116], 146, 30, "stream"); + if (dart.test(this[_isBound])) { + dart.throw(new core.StateError.new("StreamSink is already bound to a stream")); + } + if (dart.test(this[_hasError$])) return this.done; + this[_isBound] = true; + let future = this[_controllerCompleter] == null ? this[_target$0].addStream(stream) : dart.nullCheck(this[_controllerCompleter]).future.then(dart.dynamic, dart.fn(_ => this[_target$0].addStream(stream), T$.dynamicToFuture())); + t202 = this[_controllerInstance]; + t202 == null ? null : t202.close(); + return future.whenComplete(dart.fn(() => { + this[_isBound] = false; + }, T$.VoidToNull())); + } + flush() { + if (dart.test(this[_isBound])) { + dart.throw(new core.StateError.new("StreamSink is bound to a stream")); + } + if (this[_controllerInstance] == null) return async.Future.value(this); + this[_isBound] = true; + let future = dart.nullCheck(this[_controllerCompleter]).future; + dart.nullCheck(this[_controllerInstance]).close(); + return future.whenComplete(dart.fn(() => { + this[_isBound] = false; + }, T$.VoidToNull())); + } + close() { + if (dart.test(this[_isBound])) { + dart.throw(new core.StateError.new("StreamSink is bound to a stream")); + } + if (!dart.test(this[_isClosed$])) { + this[_isClosed$] = true; + if (this[_controllerInstance] != null) { + dart.nullCheck(this[_controllerInstance]).close(); + } else { + this[_closeTarget](); + } + } + return this.done; + } + [_closeTarget]() { + this[_target$0].close().then(dart.void, dart.bind(this, _completeDoneValue), {onError: dart.bind(this, _completeDoneError)}); + } + get done() { + return this[_doneCompleter].future; + } + [_completeDoneValue](value) { + if (!dart.test(this[_doneCompleter].isCompleted)) { + this[_doneCompleter].complete(value); + } + } + [_completeDoneError](error, stackTrace) { + if (!dart.test(this[_doneCompleter].isCompleted)) { + this[_hasError$] = true; + this[_doneCompleter].completeError(core.Object.as(error), stackTrace); + } + } + get [_controller]() { + if (dart.test(this[_isBound])) { + dart.throw(new core.StateError.new("StreamSink is bound to a stream")); + } + if (dart.test(this[_isClosed$])) { + dart.throw(new core.StateError.new("StreamSink is closed")); + } + if (this[_controllerInstance] == null) { + this[_controllerInstance] = StreamControllerOfT().new({sync: true}); + this[_controllerCompleter] = async.Completer.new(); + this[_target$0].addStream(this[_controller].stream).then(core.Null, dart.fn(_ => { + if (dart.test(this[_isBound])) { + dart.nullCheck(this[_controllerCompleter]).complete(this); + this[_controllerCompleter] = null; + this[_controllerInstance] = null; + } else { + this[_closeTarget](); + } + }, T$.dynamicToNull()), {onError: dart.fn((error, stackTrace) => { + if (dart.test(this[_isBound])) { + dart.nullCheck(this[_controllerCompleter]).completeError(core.Object.as(error), T$.StackTraceN().as(stackTrace)); + this[_controllerCompleter] = null; + this[_controllerInstance] = null; + } else { + this[_completeDoneError](error, T$.StackTraceN().as(stackTrace)); + } + }, T$.dynamicAnddynamicToNull())}); + } + return dart.nullCheck(this[_controllerInstance]); + } + } + (_StreamSinkImpl.new = function(_target) { + if (_target == null) dart.nullFailed(I[116], 130, 24, "_target"); + this[_doneCompleter] = async.Completer.new(); + this[_controllerInstance] = null; + this[_controllerCompleter] = null; + this[_isClosed$] = false; + this[_isBound] = false; + this[_hasError$] = false; + this[_target$0] = _target; + ; + }).prototype = _StreamSinkImpl.prototype; + dart.addTypeTests(_StreamSinkImpl); + _StreamSinkImpl.prototype[_is__StreamSinkImpl_default] = true; + dart.addTypeCaches(_StreamSinkImpl); + _StreamSinkImpl[dart.implements] = () => [async.StreamSink$(T)]; + dart.setMethodSignature(_StreamSinkImpl, () => ({ + __proto__: dart.getMethods(_StreamSinkImpl.__proto__), + add: dart.fnType(dart.void, [dart.nullable(core.Object)]), + addError: dart.fnType(dart.void, [core.Object], [dart.nullable(core.StackTrace)]), + addStream: dart.fnType(async.Future, [dart.nullable(core.Object)]), + flush: dart.fnType(async.Future, []), + close: dart.fnType(async.Future, []), + [_closeTarget]: dart.fnType(dart.void, []), + [_completeDoneValue]: dart.fnType(dart.void, [dart.dynamic]), + [_completeDoneError]: dart.fnType(dart.void, [dart.dynamic, dart.nullable(core.StackTrace)]) + })); + dart.setGetterSignature(_StreamSinkImpl, () => ({ + __proto__: dart.getGetters(_StreamSinkImpl.__proto__), + done: async.Future, + [_controller]: async.StreamController$(T) + })); + dart.setLibraryUri(_StreamSinkImpl, I[105]); + dart.setFieldSignature(_StreamSinkImpl, () => ({ + __proto__: dart.getFields(_StreamSinkImpl.__proto__), + [_target$0]: dart.finalFieldType(async.StreamConsumer$(T)), + [_doneCompleter]: dart.finalFieldType(async.Completer), + [_controllerInstance]: dart.fieldType(dart.nullable(async.StreamController$(T))), + [_controllerCompleter]: dart.fieldType(dart.nullable(async.Completer)), + [_isClosed$]: dart.fieldType(core.bool), + [_isBound]: dart.fieldType(core.bool), + [_hasError$]: dart.fieldType(core.bool) + })); + return _StreamSinkImpl; + }); + io._StreamSinkImpl = io._StreamSinkImpl$(); + dart.addTypeTests(io._StreamSinkImpl, _is__StreamSinkImpl_default); + var _encodingMutable = dart.privateName(io, "_encodingMutable"); + var _encoding$ = dart.privateName(io, "_encoding"); + io._IOSinkImpl = class _IOSinkImpl extends io._StreamSinkImpl$(core.List$(core.int)) { + get encoding() { + return this[_encoding$]; + } + set encoding(value) { + if (value == null) dart.nullFailed(I[116], 259, 30, "value"); + if (!dart.test(this[_encodingMutable])) { + dart.throw(new core.StateError.new("IOSink encoding is not mutable")); + } + this[_encoding$] = value; + } + write(obj) { + let string = dart.str(obj); + if (string[$isEmpty]) return; + this.add(this[_encoding$].encode(string)); + } + writeAll(objects, separator = "") { + if (objects == null) dart.nullFailed(I[116], 272, 26, "objects"); + if (separator == null) dart.nullFailed(I[116], 272, 43, "separator"); + let iterator = objects[$iterator]; + if (!dart.test(iterator.moveNext())) return; + if (separator[$isEmpty]) { + do { + this.write(iterator.current); + } while (dart.test(iterator.moveNext())); + } else { + this.write(iterator.current); + while (dart.test(iterator.moveNext())) { + this.write(separator); + this.write(iterator.current); + } + } + } + writeln(object = "") { + this.write(object); + this.write("\n"); + } + writeCharCode(charCode) { + if (charCode == null) dart.nullFailed(I[116], 293, 26, "charCode"); + this.write(core.String.fromCharCode(charCode)); + } + }; + (io._IOSinkImpl.new = function(target, _encoding) { + if (target == null) dart.nullFailed(I[116], 255, 41, "target"); + if (_encoding == null) dart.nullFailed(I[116], 255, 54, "_encoding"); + this[_encodingMutable] = true; + this[_encoding$] = _encoding; + io._IOSinkImpl.__proto__.new.call(this, target); + ; + }).prototype = io._IOSinkImpl.prototype; + dart.addTypeTests(io._IOSinkImpl); + dart.addTypeCaches(io._IOSinkImpl); + io._IOSinkImpl[dart.implements] = () => [io.IOSink]; + dart.setMethodSignature(io._IOSinkImpl, () => ({ + __proto__: dart.getMethods(io._IOSinkImpl.__proto__), + write: dart.fnType(dart.void, [dart.nullable(core.Object)]), + writeAll: dart.fnType(dart.void, [core.Iterable], [core.String]), + writeln: dart.fnType(dart.void, [], [dart.nullable(core.Object)]), + writeCharCode: dart.fnType(dart.void, [core.int]) + })); + dart.setGetterSignature(io._IOSinkImpl, () => ({ + __proto__: dart.getGetters(io._IOSinkImpl.__proto__), + encoding: convert.Encoding + })); + dart.setSetterSignature(io._IOSinkImpl, () => ({ + __proto__: dart.getSetters(io._IOSinkImpl.__proto__), + encoding: convert.Encoding + })); + dart.setLibraryUri(io._IOSinkImpl, I[105]); + dart.setFieldSignature(io._IOSinkImpl, () => ({ + __proto__: dart.getFields(io._IOSinkImpl.__proto__), + [_encoding$]: dart.fieldType(convert.Encoding), + [_encodingMutable]: dart.fieldType(core.bool) + })); + io._IOService = class _IOService extends core.Object { + static _dispatch(request, data) { + if (request == null) dart.nullFailed(I[107], 704, 31, "request"); + if (data == null) dart.nullFailed(I[107], 704, 45, "data"); + dart.throw(new core.UnsupportedError.new("_IOService._dispatch")); + } + }; + (io._IOService.new = function() { + ; + }).prototype = io._IOService.prototype; + dart.addTypeTests(io._IOService); + dart.addTypeCaches(io._IOService); + dart.setLibraryUri(io._IOService, I[105]); + dart.defineLazy(io._IOService, { + /*io._IOService.fileExists*/get fileExists() { + return 0; + }, + /*io._IOService.fileCreate*/get fileCreate() { + return 1; + }, + /*io._IOService.fileDelete*/get fileDelete() { + return 2; + }, + /*io._IOService.fileRename*/get fileRename() { + return 3; + }, + /*io._IOService.fileCopy*/get fileCopy() { + return 4; + }, + /*io._IOService.fileOpen*/get fileOpen() { + return 5; + }, + /*io._IOService.fileResolveSymbolicLinks*/get fileResolveSymbolicLinks() { + return 6; + }, + /*io._IOService.fileClose*/get fileClose() { + return 7; + }, + /*io._IOService.filePosition*/get filePosition() { + return 8; + }, + /*io._IOService.fileSetPosition*/get fileSetPosition() { + return 9; + }, + /*io._IOService.fileTruncate*/get fileTruncate() { + return 10; + }, + /*io._IOService.fileLength*/get fileLength() { + return 11; + }, + /*io._IOService.fileLengthFromPath*/get fileLengthFromPath() { + return 12; + }, + /*io._IOService.fileLastAccessed*/get fileLastAccessed() { + return 13; + }, + /*io._IOService.fileSetLastAccessed*/get fileSetLastAccessed() { + return 14; + }, + /*io._IOService.fileLastModified*/get fileLastModified() { + return 15; + }, + /*io._IOService.fileSetLastModified*/get fileSetLastModified() { + return 16; + }, + /*io._IOService.fileFlush*/get fileFlush() { + return 17; + }, + /*io._IOService.fileReadByte*/get fileReadByte() { + return 18; + }, + /*io._IOService.fileWriteByte*/get fileWriteByte() { + return 19; + }, + /*io._IOService.fileRead*/get fileRead() { + return 20; + }, + /*io._IOService.fileReadInto*/get fileReadInto() { + return 21; + }, + /*io._IOService.fileWriteFrom*/get fileWriteFrom() { + return 22; + }, + /*io._IOService.fileCreateLink*/get fileCreateLink() { + return 23; + }, + /*io._IOService.fileDeleteLink*/get fileDeleteLink() { + return 24; + }, + /*io._IOService.fileRenameLink*/get fileRenameLink() { + return 25; + }, + /*io._IOService.fileLinkTarget*/get fileLinkTarget() { + return 26; + }, + /*io._IOService.fileType*/get fileType() { + return 27; + }, + /*io._IOService.fileIdentical*/get fileIdentical() { + return 28; + }, + /*io._IOService.fileStat*/get fileStat() { + return 29; + }, + /*io._IOService.fileLock*/get fileLock() { + return 30; + }, + /*io._IOService.socketLookup*/get socketLookup() { + return 31; + }, + /*io._IOService.socketListInterfaces*/get socketListInterfaces() { + return 32; + }, + /*io._IOService.socketReverseLookup*/get socketReverseLookup() { + return 33; + }, + /*io._IOService.directoryCreate*/get directoryCreate() { + return 34; + }, + /*io._IOService.directoryDelete*/get directoryDelete() { + return 35; + }, + /*io._IOService.directoryExists*/get directoryExists() { + return 36; + }, + /*io._IOService.directoryCreateTemp*/get directoryCreateTemp() { + return 37; + }, + /*io._IOService.directoryListStart*/get directoryListStart() { + return 38; + }, + /*io._IOService.directoryListNext*/get directoryListNext() { + return 39; + }, + /*io._IOService.directoryListStop*/get directoryListStop() { + return 40; + }, + /*io._IOService.directoryRename*/get directoryRename() { + return 41; + }, + /*io._IOService.sslProcessFilter*/get sslProcessFilter() { + return 42; + } + }, false); + io.Link = class Link extends core.Object { + static new(path) { + if (path == null) dart.nullFailed(I[117], 12, 23, "path"); + let overrides = io.IOOverrides.current; + if (overrides == null) { + return new io._Link.new(path); + } + return overrides.createLink(path); + } + static fromRawPath(rawPath) { + if (rawPath == null) dart.nullFailed(I[117], 21, 38, "rawPath"); + return new io._Link.fromRawPath(rawPath); + } + static fromUri(uri) { + if (uri == null) dart.nullFailed(I[117], 33, 28, "uri"); + return io.Link.new(uri.toFilePath()); + } + }; + (io.Link[dart.mixinNew] = function() { + }).prototype = io.Link.prototype; + dart.addTypeTests(io.Link); + dart.addTypeCaches(io.Link); + io.Link[dart.implements] = () => [io.FileSystemEntity]; + dart.setLibraryUri(io.Link, I[105]); + var _path$2 = dart.privateName(io, "_Link._path"); + var _rawPath$1 = dart.privateName(io, "_Link._rawPath"); + var _exceptionFromResponse = dart.privateName(io, "_exceptionFromResponse"); + io._Link = class _Link extends io.FileSystemEntity { + get [_path$0]() { + return this[_path$2]; + } + set [_path$0](value) { + super[_path$0] = value; + } + get [_rawPath$]() { + return this[_rawPath$1]; + } + set [_rawPath$](value) { + super[_rawPath$] = value; + } + get path() { + return this[_path$0]; + } + toString() { + return "Link: '" + dart.str(this.path) + "'"; + } + exists() { + return io.FileSystemEntity._isLinkRaw(this[_rawPath$]); + } + existsSync() { + return io.FileSystemEntity._isLinkRawSync(this[_rawPath$]); + } + get absolute() { + return dart.test(this.isAbsolute) ? this : new io._Link.new(this[_absolutePath]); + } + create(target, opts) { + if (target == null) dart.nullFailed(I[117], 164, 30, "target"); + let recursive = opts && 'recursive' in opts ? opts.recursive : false; + if (recursive == null) dart.nullFailed(I[117], 164, 44, "recursive"); + let result = dart.test(recursive) ? this.parent.create({recursive: true}) : T$.FutureOfNull().value(null); + return result.then(dart.dynamic, dart.fn(_ => io._File._dispatchWithNamespace(23, [null, this[_rawPath$], target]), T$0.DirectoryNToFuture())).then(io.Link, dart.fn(response => { + if (dart.test(this[_isErrorResponse](response))) { + dart.throw(this[_exceptionFromResponse](response, "Cannot create link to target '" + dart.str(target) + "'", this.path)); + } + return this; + }, T$0.dynamicTo_Link())); + } + createSync(target, opts) { + if (target == null) dart.nullFailed(I[117], 179, 26, "target"); + let recursive = opts && 'recursive' in opts ? opts.recursive : false; + if (recursive == null) dart.nullFailed(I[117], 179, 40, "recursive"); + if (dart.test(recursive)) { + this.parent.createSync({recursive: true}); + } + let result = io._File._createLink(io._Namespace._namespace, this[_rawPath$], target); + io._Link.throwIfError(result, "Cannot create link", this.path); + } + updateSync(target) { + if (target == null) dart.nullFailed(I[117], 187, 26, "target"); + this.deleteSync(); + this.createSync(target); + } + update(target) { + if (target == null) dart.nullFailed(I[117], 196, 30, "target"); + return this.delete().then(io.Link, dart.fn(_ => { + if (_ == null) dart.nullFailed(I[117], 201, 33, "_"); + return this.create(target); + }, T$0.FileSystemEntityToFutureOfLink())); + } + [_delete](opts) { + let recursive = opts && 'recursive' in opts ? opts.recursive : false; + if (recursive == null) dart.nullFailed(I[117], 204, 30, "recursive"); + if (dart.test(recursive)) { + return io.Directory.fromRawPath(this[_rawPath$]).delete({recursive: true}).then(io.Link, dart.fn(_ => { + if (_ == null) dart.nullFailed(I[117], 208, 18, "_"); + return this; + }, T$0.FileSystemEntityTo_Link())); + } + return io._File._dispatchWithNamespace(24, [null, this[_rawPath$]]).then(io.Link, dart.fn(response => { + if (dart.test(this[_isErrorResponse](response))) { + dart.throw(this[_exceptionFromResponse](response, "Cannot delete link", this.path)); + } + return this; + }, T$0.dynamicTo_Link())); + } + [_deleteSync](opts) { + let recursive = opts && 'recursive' in opts ? opts.recursive : false; + if (recursive == null) dart.nullFailed(I[117], 219, 26, "recursive"); + if (dart.test(recursive)) { + return io.Directory.fromRawPath(this[_rawPath$]).deleteSync({recursive: true}); + } + let result = io._File._deleteLinkNative(io._Namespace._namespace, this[_rawPath$]); + io._Link.throwIfError(result, "Cannot delete link", this.path); + } + rename(newPath) { + if (newPath == null) dart.nullFailed(I[117], 227, 30, "newPath"); + return io._File._dispatchWithNamespace(25, [null, this[_rawPath$], newPath]).then(io.Link, dart.fn(response => { + if (dart.test(this[_isErrorResponse](response))) { + dart.throw(this[_exceptionFromResponse](response, "Cannot rename link to '" + dart.str(newPath) + "'", this.path)); + } + return io.Link.new(newPath); + }, T$0.dynamicToLink())); + } + renameSync(newPath) { + if (newPath == null) dart.nullFailed(I[117], 238, 26, "newPath"); + let result = io._File._renameLink(io._Namespace._namespace, this[_rawPath$], newPath); + io._Link.throwIfError(result, "Cannot rename link '" + dart.str(this.path) + "' to '" + dart.str(newPath) + "'"); + return io.Link.new(newPath); + } + target() { + return io._File._dispatchWithNamespace(26, [null, this[_rawPath$]]).then(core.String, dart.fn(response => { + if (dart.test(this[_isErrorResponse](response))) { + dart.throw(this[_exceptionFromResponse](response, "Cannot get target of link", this.path)); + } + return T$0.FutureOrOfString().as(response); + }, T$0.dynamicToFutureOrOfString())); + } + targetSync() { + let result = io._File._linkTarget(io._Namespace._namespace, this[_rawPath$]); + io._Link.throwIfError(result, "Cannot read link", this.path); + return core.String.as(result); + } + static throwIfError(result, msg, path = "") { + if (msg == null) dart.nullFailed(I[117], 261, 46, "msg"); + if (path == null) dart.nullFailed(I[117], 261, 59, "path"); + if (io.OSError.is(result)) { + dart.throw(new io.FileSystemException.new(msg, path, result)); + } + } + [_isErrorResponse](response) { + return core.List.is(response) && !dart.equals(response[$_get](0), 0); + } + [_exceptionFromResponse](response, message, path) { + if (message == null) dart.nullFailed(I[117], 271, 43, "message"); + if (path == null) dart.nullFailed(I[117], 271, 59, "path"); + if (!dart.test(this[_isErrorResponse](response))) dart.assertFailed(null, I[117], 272, 12, "_isErrorResponse(response)"); + switch (dart.dsend(response, '_get', [0])) { + case 1: + { + return new core.ArgumentError.new(); + } + case 2: + { + let err = new io.OSError.new(core.String.as(dart.dsend(response, '_get', [2])), core.int.as(dart.dsend(response, '_get', [1]))); + return new io.FileSystemException.new(message, path, err); + } + default: + { + return core.Exception.new("Unknown error"); + } + } + } + }; + (io._Link.new = function(path) { + if (path == null) dart.nullFailed(I[117], 146, 16, "path"); + this[_path$2] = path; + this[_rawPath$1] = io.FileSystemEntity._toUtf8Array(path); + ; + }).prototype = io._Link.prototype; + (io._Link.fromRawPath = function(rawPath) { + if (rawPath == null) dart.nullFailed(I[117], 150, 31, "rawPath"); + this[_rawPath$1] = io.FileSystemEntity._toNullTerminatedUtf8Array(rawPath); + this[_path$2] = io.FileSystemEntity._toStringFromUtf8Array(rawPath); + ; + }).prototype = io._Link.prototype; + dart.addTypeTests(io._Link); + dart.addTypeCaches(io._Link); + io._Link[dart.implements] = () => [io.Link]; + dart.setMethodSignature(io._Link, () => ({ + __proto__: dart.getMethods(io._Link.__proto__), + exists: dart.fnType(async.Future$(core.bool), []), + existsSync: dart.fnType(core.bool, []), + create: dart.fnType(async.Future$(io.Link), [core.String], {recursive: core.bool}, {}), + createSync: dart.fnType(dart.void, [core.String], {recursive: core.bool}, {}), + updateSync: dart.fnType(dart.void, [core.String]), + update: dart.fnType(async.Future$(io.Link), [core.String]), + [_delete]: dart.fnType(async.Future$(io.Link), [], {recursive: core.bool}, {}), + [_deleteSync]: dart.fnType(dart.void, [], {recursive: core.bool}, {}), + rename: dart.fnType(async.Future$(io.Link), [core.String]), + renameSync: dart.fnType(io.Link, [core.String]), + target: dart.fnType(async.Future$(core.String), []), + targetSync: dart.fnType(core.String, []), + [_isErrorResponse]: dart.fnType(core.bool, [dart.dynamic]), + [_exceptionFromResponse]: dart.fnType(dart.dynamic, [dart.dynamic, core.String, core.String]) + })); + dart.setGetterSignature(io._Link, () => ({ + __proto__: dart.getGetters(io._Link.__proto__), + path: core.String, + absolute: io.Link + })); + dart.setLibraryUri(io._Link, I[105]); + dart.setFieldSignature(io._Link, () => ({ + __proto__: dart.getFields(io._Link.__proto__), + [_path$0]: dart.finalFieldType(core.String), + [_rawPath$]: dart.finalFieldType(typed_data.Uint8List) + })); + dart.defineExtensionMethods(io._Link, ['toString']); + io._Namespace = class _Namespace extends core.Object { + static get _namespace() { + dart.throw(new core.UnsupportedError.new("_Namespace")); + } + static get _namespacePointer() { + dart.throw(new core.UnsupportedError.new("_Namespace")); + } + static _setupNamespace(namespace) { + dart.throw(new core.UnsupportedError.new("_Namespace")); + } + }; + (io._Namespace.new = function() { + ; + }).prototype = io._Namespace.prototype; + dart.addTypeTests(io._Namespace); + dart.addTypeCaches(io._Namespace); + dart.setLibraryUri(io._Namespace, I[105]); + io._DomainNetworkPolicy = class _DomainNetworkPolicy extends core.Object { + matchScore(host) { + if (host == null) dart.nullFailed(I[118], 100, 25, "host"); + let domainLength = this.domain.length; + let hostLength = host.length; + let lengthDelta = hostLength - domainLength; + if (host[$endsWith](this.domain) && (lengthDelta === 0 || dart.test(this.includesSubDomains) && host[$codeUnitAt](lengthDelta - 1) === 46)) { + return domainLength * 2 + (dart.test(this.includesSubDomains) ? 0 : 1); + } + return -1; + } + checkConflict(existingPolicies) { + if (existingPolicies == null) dart.nullFailed(I[118], 118, 49, "existingPolicies"); + for (let existingPolicy of existingPolicies) { + if (this.includesSubDomains == existingPolicy.includesSubDomains && this.domain == existingPolicy.domain) { + if (this.allowInsecureConnections == existingPolicy.allowInsecureConnections) { + return false; + } + dart.throw(new core.StateError.new("Contradiction in the domain security policies: " + "'" + dart.str(this) + "' contradicts '" + dart.str(existingPolicy) + "'")); + } + } + return true; + } + toString() { + let subDomainPrefix = dart.test(this.includesSubDomains) ? "*." : ""; + let insecureConnectionPermission = dart.test(this.allowInsecureConnections) ? "Allows" : "Disallows"; + return subDomainPrefix + dart.str(this.domain) + ": " + insecureConnectionPermission + " insecure connections"; + } + }; + (io._DomainNetworkPolicy.new = function(domain, opts) { + if (domain == null) dart.nullFailed(I[118], 81, 29, "domain"); + let includesSubDomains = opts && 'includesSubDomains' in opts ? opts.includesSubDomains : false; + if (includesSubDomains == null) dart.nullFailed(I[118], 82, 13, "includesSubDomains"); + let allowInsecureConnections = opts && 'allowInsecureConnections' in opts ? opts.allowInsecureConnections : false; + if (allowInsecureConnections == null) dart.nullFailed(I[118], 83, 12, "allowInsecureConnections"); + this.domain = domain; + this.includesSubDomains = includesSubDomains; + this.allowInsecureConnections = allowInsecureConnections; + if (this.domain.length > 255 || !dart.test(io._DomainNetworkPolicy._domainMatcher.hasMatch(this.domain))) { + dart.throw(new core.ArgumentError.value(this.domain, "domain", "Invalid domain name")); + } + }).prototype = io._DomainNetworkPolicy.prototype; + dart.addTypeTests(io._DomainNetworkPolicy); + dart.addTypeCaches(io._DomainNetworkPolicy); + dart.setMethodSignature(io._DomainNetworkPolicy, () => ({ + __proto__: dart.getMethods(io._DomainNetworkPolicy.__proto__), + matchScore: dart.fnType(core.int, [core.String]), + checkConflict: dart.fnType(core.bool, [core.List$(io._DomainNetworkPolicy)]) + })); + dart.setLibraryUri(io._DomainNetworkPolicy, I[105]); + dart.setFieldSignature(io._DomainNetworkPolicy, () => ({ + __proto__: dart.getFields(io._DomainNetworkPolicy.__proto__), + domain: dart.finalFieldType(core.String), + allowInsecureConnections: dart.finalFieldType(core.bool), + includesSubDomains: dart.finalFieldType(core.bool) + })); + dart.defineExtensionMethods(io._DomainNetworkPolicy, ['toString']); + dart.defineLazy(io._DomainNetworkPolicy, { + /*io._DomainNetworkPolicy._domainMatcher*/get _domainMatcher() { + return core.RegExp.new("^(?:[a-z\\d-]{1,63}\\.)+[a-z][a-z\\d-]{0,62}$", {caseSensitive: false}); + } + }, false); + io._NetworkProfiling = class _NetworkProfiling extends core.Object { + static _registerServiceExtension() { + developer.registerExtension(io._NetworkProfiling._kGetHttpEnableTimelineLogging, C[128] || CT.C128); + developer.registerExtension(io._NetworkProfiling._kSetHttpEnableTimelineLogging, C[128] || CT.C128); + developer.registerExtension(io._NetworkProfiling._kHttpEnableTimelineLogging, C[128] || CT.C128); + developer.registerExtension("ext.dart.io.getSocketProfile", C[128] || CT.C128); + developer.registerExtension(io._NetworkProfiling._kStartSocketProfilingRPC, C[128] || CT.C128); + developer.registerExtension(io._NetworkProfiling._kPauseSocketProfilingRPC, C[128] || CT.C128); + developer.registerExtension(io._NetworkProfiling._kSocketProfilingEnabledRPC, C[128] || CT.C128); + developer.registerExtension("ext.dart.io.clearSocketProfile", C[128] || CT.C128); + developer.registerExtension("ext.dart.io.getVersion", C[128] || CT.C128); + developer.registerExtension("ext.dart.io.getHttpProfile", C[128] || CT.C128); + developer.registerExtension(io._NetworkProfiling._kGetHttpProfileRequestRPC, C[128] || CT.C128); + developer.registerExtension("ext.dart.io.clearHttpProfile", C[128] || CT.C128); + } + static _serviceExtensionHandler(method, parameters) { + if (method == null) dart.nullFailed(I[119], 60, 14, "method"); + if (parameters == null) dart.nullFailed(I[119], 60, 42, "parameters"); + try { + let responseJson = null; + switch (method) { + case "ext.dart.io.getHttpEnableTimelineLogging": + { + responseJson = io._getHttpEnableTimelineLogging(); + break; + } + case "ext.dart.io.setHttpEnableTimelineLogging": + { + responseJson = io._setHttpEnableTimelineLogging(parameters); + break; + } + case "ext.dart.io.httpEnableTimelineLogging": + { + if (dart.test(parameters[$containsKey]("enabled")) || dart.test(parameters[$containsKey]("enable"))) { + if (!(1 === 1)) dart.assertFailed("'enable' is deprecated and should be removed (See #43638)", I[119], 75, 20, "_versionMajor == 1"); + if (dart.test(parameters[$containsKey]("enabled"))) { + parameters[$_set]("enable", dart.nullCheck(parameters[$_get]("enabled"))); + } + io._setHttpEnableTimelineLogging(parameters); + } + responseJson = io._getHttpEnableTimelineLogging(); + break; + } + case "ext.dart.io.getHttpProfile": + { + responseJson = _http.HttpProfiler.toJson(dart.test(parameters[$containsKey]("updatedSince")) ? core.int.tryParse(dart.nullCheck(parameters[$_get]("updatedSince"))) : null); + break; + } + case "ext.dart.io.getHttpProfileRequest": + { + responseJson = io._getHttpProfileRequest(parameters); + break; + } + case "ext.dart.io.clearHttpProfile": + { + _http.HttpProfiler.clear(); + responseJson = io._success(); + break; + } + case "ext.dart.io.getSocketProfile": + { + responseJson = io._SocketProfile.toJson(); + break; + } + case "ext.dart.io.socketProfilingEnabled": + { + responseJson = io._socketProfilingEnabled(parameters); + break; + } + case "ext.dart.io.startSocketProfiling": + { + responseJson = io._SocketProfile.start(); + break; + } + case "ext.dart.io.pauseSocketProfiling": + { + responseJson = io._SocketProfile.pause(); + break; + } + case "ext.dart.io.clearSocketProfile": + { + responseJson = io._SocketProfile.clear(); + break; + } + case "ext.dart.io.getVersion": + { + responseJson = io._NetworkProfiling.getVersion(); + break; + } + default: + { + return T$0.FutureOfServiceExtensionResponse().value(new developer.ServiceExtensionResponse.error(-32000, "Method " + dart.str(method) + " does not exist")); + } + } + return T$0.FutureOfServiceExtensionResponse().value(new developer.ServiceExtensionResponse.result(responseJson)); + } catch (e) { + let errorMessage = dart.getThrown(e); + if (core.Object.is(errorMessage)) { + return T$0.FutureOfServiceExtensionResponse().value(new developer.ServiceExtensionResponse.error(-32602, dart.toString(errorMessage))); + } else + throw e; + } + } + static getVersion() { + return convert.json.encode(new (T$.IdentityMapOfString$Object()).from(["type", "Version", "major", 1, "minor", 6])); + } + }; + (io._NetworkProfiling.new = function() { + ; + }).prototype = io._NetworkProfiling.prototype; + dart.addTypeTests(io._NetworkProfiling); + dart.addTypeCaches(io._NetworkProfiling); + dart.setLibraryUri(io._NetworkProfiling, I[105]); + dart.defineLazy(io._NetworkProfiling, { + /*io._NetworkProfiling._kGetHttpEnableTimelineLogging*/get _kGetHttpEnableTimelineLogging() { + return "ext.dart.io.getHttpEnableTimelineLogging"; + }, + /*io._NetworkProfiling._kSetHttpEnableTimelineLogging*/get _kSetHttpEnableTimelineLogging() { + return "ext.dart.io.setHttpEnableTimelineLogging"; + }, + /*io._NetworkProfiling._kHttpEnableTimelineLogging*/get _kHttpEnableTimelineLogging() { + return "ext.dart.io.httpEnableTimelineLogging"; + }, + /*io._NetworkProfiling._kGetHttpProfileRPC*/get _kGetHttpProfileRPC() { + return "ext.dart.io.getHttpProfile"; + }, + /*io._NetworkProfiling._kGetHttpProfileRequestRPC*/get _kGetHttpProfileRequestRPC() { + return "ext.dart.io.getHttpProfileRequest"; + }, + /*io._NetworkProfiling._kClearHttpProfileRPC*/get _kClearHttpProfileRPC() { + return "ext.dart.io.clearHttpProfile"; + }, + /*io._NetworkProfiling._kClearSocketProfileRPC*/get _kClearSocketProfileRPC() { + return "ext.dart.io.clearSocketProfile"; + }, + /*io._NetworkProfiling._kGetSocketProfileRPC*/get _kGetSocketProfileRPC() { + return "ext.dart.io.getSocketProfile"; + }, + /*io._NetworkProfiling._kSocketProfilingEnabledRPC*/get _kSocketProfilingEnabledRPC() { + return "ext.dart.io.socketProfilingEnabled"; + }, + /*io._NetworkProfiling._kPauseSocketProfilingRPC*/get _kPauseSocketProfilingRPC() { + return "ext.dart.io.pauseSocketProfiling"; + }, + /*io._NetworkProfiling._kStartSocketProfilingRPC*/get _kStartSocketProfilingRPC() { + return "ext.dart.io.startSocketProfiling"; + }, + /*io._NetworkProfiling._kGetVersionRPC*/get _kGetVersionRPC() { + return "ext.dart.io.getVersion"; + } + }, false); + var _name$4 = dart.privateName(io, "_name"); + io._SocketProfile = class _SocketProfile extends core.Object { + static set enableSocketProfiling(enabled) { + if (enabled == null) dart.nullFailed(I[119], 205, 41, "enabled"); + if (enabled != io._SocketProfile._enableSocketProfiling) { + developer.postEvent("SocketProfilingStateChange", new _js_helper.LinkedMap.from(["isolateId", developer.Service.getIsolateID(isolate$.Isolate.current), "enabled", enabled])); + io._SocketProfile._enableSocketProfiling = enabled; + } + } + static get enableSocketProfiling() { + return io._SocketProfile._enableSocketProfiling; + } + static toJson() { + return convert.json.encode(new (T$.IdentityMapOfString$Object()).from(["type", "SocketProfile", "sockets", io._SocketProfile._idToSocketStatistic[$values][$map](T$0.MapOfString$dynamic(), dart.fn(f => { + if (f == null) dart.nullFailed(I[119], 222, 53, "f"); + return f.toMap(); + }, T$0._SocketStatisticToMapOfString$dynamic()))[$toList]()])); + } + static collectNewSocket(id, type, addr, port) { + if (id == null) dart.nullFailed(I[119], 226, 11, "id"); + if (type == null) dart.nullFailed(I[119], 226, 22, "type"); + if (addr == null) dart.nullFailed(I[119], 226, 44, "addr"); + if (port == null) dart.nullFailed(I[119], 226, 54, "port"); + io._SocketProfile.collectStatistic(id, io._SocketProfileType.startTime); + io._SocketProfile.collectStatistic(id, io._SocketProfileType.socketType, type); + io._SocketProfile.collectStatistic(id, io._SocketProfileType.address, addr); + io._SocketProfile.collectStatistic(id, io._SocketProfileType.port, port); + } + static collectStatistic(id, type, object = null) { + let t206, t205, t204, t203, t203$, t203$0; + if (id == null) dart.nullFailed(I[119], 233, 36, "id"); + if (type == null) dart.nullFailed(I[119], 233, 59, "type"); + if (!dart.test(io._SocketProfile._enableSocketProfiling)) { + return; + } + if (!dart.test(io._SocketProfile._idToSocketStatistic[$containsKey](id)) && type != io._SocketProfileType.startTime) return; + let stats = (t203 = io._SocketProfile._idToSocketStatistic, t204 = id, t205 = t203[$_get](t204), t205 == null ? (t206 = new io._SocketStatistic.new(id), t203[$_set](t204, t206), t206) : t205); + switch (type) { + case C[129] || CT.C129: + { + stats.startTime = developer.Timeline.now; + break; + } + case C[130] || CT.C130: + { + stats.endTime = developer.Timeline.now; + break; + } + case C[131] || CT.C131: + { + if (!io.InternetAddress.is(object)) dart.assertFailed(null, I[119], 250, 16, "object is InternetAddress"); + stats.address = dart.toString(io.InternetAddress.as(object)); + break; + } + case C[132] || CT.C132: + { + if (!core.int.is(object)) dart.assertFailed(null, I[119], 254, 16, "object is int"); + stats.port = T$.intN().as(object); + break; + } + case C[133] || CT.C133: + { + if (!(typeof object == 'string')) dart.assertFailed(null, I[119], 258, 16, "object is String"); + stats.socketType = T$.StringN().as(object); + break; + } + case C[134] || CT.C134: + { + if (object == null) return; + t203$ = stats; + t203$.readBytes = dart.notNull(t203$.readBytes) + dart.notNull(core.int.as(object)); + stats.lastReadTime = developer.Timeline.now; + break; + } + case C[135] || CT.C135: + { + if (object == null) return; + t203$0 = stats; + t203$0.writeBytes = dart.notNull(t203$0.writeBytes) + dart.notNull(core.int.as(object)); + stats.lastWriteTime = developer.Timeline.now; + break; + } + default: + { + dart.throw(new core.ArgumentError.new("type " + dart.str(type) + " does not exist")); + } + } + } + static start() { + io._SocketProfile.enableSocketProfiling = true; + return io._success(); + } + static pause() { + io._SocketProfile.enableSocketProfiling = false; + return io._success(); + } + static clear() { + io._SocketProfile._idToSocketStatistic[$clear](); + return io._success(); + } + }; + (io._SocketProfile.new = function() { + ; + }).prototype = io._SocketProfile.prototype; + dart.addTypeTests(io._SocketProfile); + dart.addTypeCaches(io._SocketProfile); + dart.setLibraryUri(io._SocketProfile, I[105]); + dart.defineLazy(io._SocketProfile, { + /*io._SocketProfile._kType*/get _kType() { + return "SocketProfile"; + }, + /*io._SocketProfile._enableSocketProfiling*/get _enableSocketProfiling() { + return false; + }, + set _enableSocketProfiling(_) {}, + /*io._SocketProfile._idToSocketStatistic*/get _idToSocketStatistic() { + return new (T$0.IdentityMapOfint$_SocketStatistic()).new(); + }, + set _idToSocketStatistic(_) {} + }, false); + io._SocketProfileType = class _SocketProfileType extends core.Object { + toString() { + return this[_name$4]; + } + }; + (io._SocketProfileType.new = function(index, _name) { + if (index == null) dart.nullFailed(I[119], 295, 6, "index"); + if (_name == null) dart.nullFailed(I[119], 295, 6, "_name"); + this.index = index; + this[_name$4] = _name; + ; + }).prototype = io._SocketProfileType.prototype; + dart.addTypeTests(io._SocketProfileType); + dart.addTypeCaches(io._SocketProfileType); + dart.setLibraryUri(io._SocketProfileType, I[105]); + dart.setFieldSignature(io._SocketProfileType, () => ({ + __proto__: dart.getFields(io._SocketProfileType.__proto__), + index: dart.finalFieldType(core.int), + [_name$4]: dart.finalFieldType(core.String) + })); + dart.defineExtensionMethods(io._SocketProfileType, ['toString']); + io._SocketProfileType.startTime = C[129] || CT.C129; + io._SocketProfileType.endTime = C[130] || CT.C130; + io._SocketProfileType.address = C[131] || CT.C131; + io._SocketProfileType.port = C[132] || CT.C132; + io._SocketProfileType.socketType = C[133] || CT.C133; + io._SocketProfileType.readBytes = C[134] || CT.C134; + io._SocketProfileType.writeBytes = C[135] || CT.C135; + io._SocketProfileType.values = C[136] || CT.C136; + var _setIfNotNull = dart.privateName(io, "_setIfNotNull"); + io._SocketStatistic = class _SocketStatistic extends core.Object { + toMap() { + let map = new (T$0.IdentityMapOfString$dynamic()).from(["id", this.id]); + this[_setIfNotNull](map, "startTime", this.startTime); + this[_setIfNotNull](map, "endTime", this.endTime); + this[_setIfNotNull](map, "address", this.address); + this[_setIfNotNull](map, "port", this.port); + this[_setIfNotNull](map, "socketType", this.socketType); + this[_setIfNotNull](map, "readBytes", this.readBytes); + this[_setIfNotNull](map, "writeBytes", this.writeBytes); + this[_setIfNotNull](map, "lastWriteTime", this.lastWriteTime); + this[_setIfNotNull](map, "lastReadTime", this.lastReadTime); + return map; + } + [_setIfNotNull](json, key, value) { + if (json == null) dart.nullFailed(I[119], 336, 43, "json"); + if (key == null) dart.nullFailed(I[119], 336, 56, "key"); + if (value == null) return; + json[$_set](key, value); + } + }; + (io._SocketStatistic.new = function(id) { + if (id == null) dart.nullFailed(I[119], 318, 25, "id"); + this.startTime = null; + this.endTime = null; + this.address = null; + this.port = null; + this.socketType = null; + this.readBytes = 0; + this.writeBytes = 0; + this.lastWriteTime = null; + this.lastReadTime = null; + this.id = id; + ; + }).prototype = io._SocketStatistic.prototype; + dart.addTypeTests(io._SocketStatistic); + dart.addTypeCaches(io._SocketStatistic); + dart.setMethodSignature(io._SocketStatistic, () => ({ + __proto__: dart.getMethods(io._SocketStatistic.__proto__), + toMap: dart.fnType(core.Map$(core.String, dart.dynamic), []), + [_setIfNotNull]: dart.fnType(dart.void, [core.Map$(core.String, dart.dynamic), core.String, dart.nullable(core.Object)]) + })); + dart.setLibraryUri(io._SocketStatistic, I[105]); + dart.setFieldSignature(io._SocketStatistic, () => ({ + __proto__: dart.getFields(io._SocketStatistic.__proto__), + id: dart.finalFieldType(core.int), + startTime: dart.fieldType(dart.nullable(core.int)), + endTime: dart.fieldType(dart.nullable(core.int)), + address: dart.fieldType(dart.nullable(core.String)), + port: dart.fieldType(dart.nullable(core.int)), + socketType: dart.fieldType(dart.nullable(core.String)), + readBytes: dart.fieldType(core.int), + writeBytes: dart.fieldType(core.int), + lastWriteTime: dart.fieldType(dart.nullable(core.int)), + lastReadTime: dart.fieldType(dart.nullable(core.int)) + })); + io.IOOverrides = class IOOverrides extends core.Object { + static get current() { + let t203; + return T$0.IOOverridesN().as((t203 = async.Zone.current._get(io._ioOverridesToken), t203 == null ? io.IOOverrides._global : t203)); + } + static set global(overrides) { + io.IOOverrides._global = overrides; + } + static runZoned(R, body, opts) { + if (body == null) dart.nullFailed(I[120], 54, 26, "body"); + let createDirectory = opts && 'createDirectory' in opts ? opts.createDirectory : null; + let getCurrentDirectory = opts && 'getCurrentDirectory' in opts ? opts.getCurrentDirectory : null; + let setCurrentDirectory = opts && 'setCurrentDirectory' in opts ? opts.setCurrentDirectory : null; + let getSystemTempDirectory = opts && 'getSystemTempDirectory' in opts ? opts.getSystemTempDirectory : null; + let createFile = opts && 'createFile' in opts ? opts.createFile : null; + let stat = opts && 'stat' in opts ? opts.stat : null; + let statSync = opts && 'statSync' in opts ? opts.statSync : null; + let fseIdentical = opts && 'fseIdentical' in opts ? opts.fseIdentical : null; + let fseIdenticalSync = opts && 'fseIdenticalSync' in opts ? opts.fseIdenticalSync : null; + let fseGetType = opts && 'fseGetType' in opts ? opts.fseGetType : null; + let fseGetTypeSync = opts && 'fseGetTypeSync' in opts ? opts.fseGetTypeSync : null; + let fsWatch = opts && 'fsWatch' in opts ? opts.fsWatch : null; + let fsWatchIsSupported = opts && 'fsWatchIsSupported' in opts ? opts.fsWatchIsSupported : null; + let createLink = opts && 'createLink' in opts ? opts.createLink : null; + let socketConnect = opts && 'socketConnect' in opts ? opts.socketConnect : null; + let socketStartConnect = opts && 'socketStartConnect' in opts ? opts.socketStartConnect : null; + let serverSocketBind = opts && 'serverSocketBind' in opts ? opts.serverSocketBind : null; + let overrides = new io._IOOverridesScope.new(createDirectory, getCurrentDirectory, setCurrentDirectory, getSystemTempDirectory, createFile, stat, statSync, fseIdentical, fseIdenticalSync, fseGetType, fseGetTypeSync, fsWatch, fsWatchIsSupported, createLink, socketConnect, socketStartConnect, serverSocketBind); + return io._asyncRunZoned(R, body, {zoneValues: new (T$0.LinkedMapOfObjectN$ObjectN()).from([io._ioOverridesToken, overrides])}); + } + static runWithIOOverrides(R, body, overrides) { + if (body == null) dart.nullFailed(I[120], 135, 36, "body"); + if (overrides == null) dart.nullFailed(I[120], 135, 56, "overrides"); + return io._asyncRunZoned(R, body, {zoneValues: new (T$0.LinkedMapOfObjectN$ObjectN()).from([io._ioOverridesToken, overrides])}); + } + createDirectory(path) { + if (path == null) dart.nullFailed(I[120], 145, 36, "path"); + return new io._Directory.new(path); + } + getCurrentDirectory() { + return io._Directory.current; + } + setCurrentDirectory(path) { + if (path == null) dart.nullFailed(I[120], 157, 35, "path"); + io._Directory.current = path; + } + getSystemTempDirectory() { + return io._Directory.systemTemp; + } + createFile(path) { + if (path == null) dart.nullFailed(I[120], 173, 26, "path"); + return new io._File.new(path); + } + stat(path) { + if (path == null) dart.nullFailed(I[120], 181, 32, "path"); + return io.FileStat._stat(path); + } + statSync(path) { + if (path == null) dart.nullFailed(I[120], 189, 28, "path"); + return io.FileStat._statSyncInternal(path); + } + fseIdentical(path1, path2) { + if (path1 == null) dart.nullFailed(I[120], 200, 36, "path1"); + if (path2 == null) dart.nullFailed(I[120], 200, 50, "path2"); + return io.FileSystemEntity._identical(path1, path2); + } + fseIdenticalSync(path1, path2) { + if (path1 == null) dart.nullFailed(I[120], 209, 32, "path1"); + if (path2 == null) dart.nullFailed(I[120], 209, 46, "path2"); + return io.FileSystemEntity._identicalSync(path1, path2); + } + fseGetType(path, followLinks) { + if (path == null) dart.nullFailed(I[120], 217, 50, "path"); + if (followLinks == null) dart.nullFailed(I[120], 217, 61, "followLinks"); + return io.FileSystemEntity._getTypeRequest(convert.utf8.encoder.convert(path), followLinks); + } + fseGetTypeSync(path, followLinks) { + if (path == null) dart.nullFailed(I[120], 226, 46, "path"); + if (followLinks == null) dart.nullFailed(I[120], 226, 57, "followLinks"); + return io.FileSystemEntity._getTypeSyncHelper(convert.utf8.encoder.convert(path), followLinks); + } + fsWatch(path, events, recursive) { + if (path == null) dart.nullFailed(I[120], 237, 42, "path"); + if (events == null) dart.nullFailed(I[120], 237, 52, "events"); + if (recursive == null) dart.nullFailed(I[120], 237, 65, "recursive"); + return io._FileSystemWatcher._watch(path, events, recursive); + } + fsWatchIsSupported() { + return io._FileSystemWatcher.isSupported; + } + createLink(path) { + if (path == null) dart.nullFailed(I[120], 253, 26, "path"); + return new io._Link.new(path); + } + socketConnect(host, port, opts) { + if (port == null) dart.nullFailed(I[120], 261, 42, "port"); + let sourceAddress = opts && 'sourceAddress' in opts ? opts.sourceAddress : null; + let timeout = opts && 'timeout' in opts ? opts.timeout : null; + return io.Socket._connect(host, port, {sourceAddress: sourceAddress, timeout: timeout}); + } + socketStartConnect(host, port, opts) { + if (port == null) dart.nullFailed(I[120], 272, 63, "port"); + let sourceAddress = opts && 'sourceAddress' in opts ? opts.sourceAddress : null; + return io.Socket._startConnect(host, port, {sourceAddress: sourceAddress}); + } + serverSocketBind(address, port, opts) { + if (port == null) dart.nullFailed(I[120], 284, 54, "port"); + let backlog = opts && 'backlog' in opts ? opts.backlog : 0; + if (backlog == null) dart.nullFailed(I[120], 285, 12, "backlog"); + let v6Only = opts && 'v6Only' in opts ? opts.v6Only : false; + if (v6Only == null) dart.nullFailed(I[120], 285, 30, "v6Only"); + let shared = opts && 'shared' in opts ? opts.shared : false; + if (shared == null) dart.nullFailed(I[120], 285, 51, "shared"); + return io.ServerSocket._bind(address, port, {backlog: backlog, v6Only: v6Only, shared: shared}); + } + }; + (io.IOOverrides.new = function() { + ; + }).prototype = io.IOOverrides.prototype; + dart.addTypeTests(io.IOOverrides); + dart.addTypeCaches(io.IOOverrides); + dart.setMethodSignature(io.IOOverrides, () => ({ + __proto__: dart.getMethods(io.IOOverrides.__proto__), + createDirectory: dart.fnType(io.Directory, [core.String]), + getCurrentDirectory: dart.fnType(io.Directory, []), + setCurrentDirectory: dart.fnType(dart.void, [core.String]), + getSystemTempDirectory: dart.fnType(io.Directory, []), + createFile: dart.fnType(io.File, [core.String]), + stat: dart.fnType(async.Future$(io.FileStat), [core.String]), + statSync: dart.fnType(io.FileStat, [core.String]), + fseIdentical: dart.fnType(async.Future$(core.bool), [core.String, core.String]), + fseIdenticalSync: dart.fnType(core.bool, [core.String, core.String]), + fseGetType: dart.fnType(async.Future$(io.FileSystemEntityType), [core.String, core.bool]), + fseGetTypeSync: dart.fnType(io.FileSystemEntityType, [core.String, core.bool]), + fsWatch: dart.fnType(async.Stream$(io.FileSystemEvent), [core.String, core.int, core.bool]), + fsWatchIsSupported: dart.fnType(core.bool, []), + createLink: dart.fnType(io.Link, [core.String]), + socketConnect: dart.fnType(async.Future$(io.Socket), [dart.dynamic, core.int], {sourceAddress: dart.dynamic, timeout: dart.nullable(core.Duration)}, {}), + socketStartConnect: dart.fnType(async.Future$(io.ConnectionTask$(io.Socket)), [dart.dynamic, core.int], {sourceAddress: dart.dynamic}, {}), + serverSocketBind: dart.fnType(async.Future$(io.ServerSocket), [dart.dynamic, core.int], {backlog: core.int, shared: core.bool, v6Only: core.bool}, {}) + })); + dart.setLibraryUri(io.IOOverrides, I[105]); + dart.defineLazy(io.IOOverrides, { + /*io.IOOverrides._global*/get _global() { + return null; + }, + set _global(_) {} + }, false); + var _previous$4 = dart.privateName(io, "_previous"); + var _createDirectory$ = dart.privateName(io, "_createDirectory"); + var _getCurrentDirectory$ = dart.privateName(io, "_getCurrentDirectory"); + var _setCurrentDirectory$ = dart.privateName(io, "_setCurrentDirectory"); + var _getSystemTempDirectory$ = dart.privateName(io, "_getSystemTempDirectory"); + var _createFile$ = dart.privateName(io, "_createFile"); + var _stat$ = dart.privateName(io, "_stat"); + var _statSync$ = dart.privateName(io, "_statSync"); + var _fseIdentical$ = dart.privateName(io, "_fseIdentical"); + var _fseIdenticalSync$ = dart.privateName(io, "_fseIdenticalSync"); + var _fseGetType$ = dart.privateName(io, "_fseGetType"); + var _fseGetTypeSync$ = dart.privateName(io, "_fseGetTypeSync"); + var _fsWatch$ = dart.privateName(io, "_fsWatch"); + var _fsWatchIsSupported$ = dart.privateName(io, "_fsWatchIsSupported"); + var _createLink$ = dart.privateName(io, "_createLink"); + var _socketConnect$ = dart.privateName(io, "_socketConnect"); + var _socketStartConnect$ = dart.privateName(io, "_socketStartConnect"); + var _serverSocketBind$ = dart.privateName(io, "_serverSocketBind"); + io._IOOverridesScope = class _IOOverridesScope extends io.IOOverrides { + createDirectory(path) { + if (path == null) dart.nullFailed(I[120], 367, 36, "path"); + if (this[_createDirectory$] != null) return dart.nullCheck(this[_createDirectory$])(path); + if (this[_previous$4] != null) return dart.nullCheck(this[_previous$4]).createDirectory(path); + return super.createDirectory(path); + } + getCurrentDirectory() { + if (this[_getCurrentDirectory$] != null) return dart.nullCheck(this[_getCurrentDirectory$])(); + if (this[_previous$4] != null) return dart.nullCheck(this[_previous$4]).getCurrentDirectory(); + return super.getCurrentDirectory(); + } + setCurrentDirectory(path) { + if (path == null) dart.nullFailed(I[120], 381, 35, "path"); + if (this[_setCurrentDirectory$] != null) + dart.nullCheck(this[_setCurrentDirectory$])(path); + else if (this[_previous$4] != null) + dart.nullCheck(this[_previous$4]).setCurrentDirectory(path); + else + super.setCurrentDirectory(path); + } + getSystemTempDirectory() { + if (this[_getSystemTempDirectory$] != null) return dart.nullCheck(this[_getSystemTempDirectory$])(); + if (this[_previous$4] != null) return dart.nullCheck(this[_previous$4]).getSystemTempDirectory(); + return super.getSystemTempDirectory(); + } + createFile(path) { + if (path == null) dart.nullFailed(I[120], 399, 26, "path"); + if (this[_createFile$] != null) return dart.nullCheck(this[_createFile$])(path); + if (this[_previous$4] != null) return dart.nullCheck(this[_previous$4]).createFile(path); + return super.createFile(path); + } + stat(path) { + if (path == null) dart.nullFailed(I[120], 407, 32, "path"); + if (this[_stat$] != null) return dart.nullCheck(this[_stat$])(path); + if (this[_previous$4] != null) return dart.nullCheck(this[_previous$4]).stat(path); + return super.stat(path); + } + statSync(path) { + if (path == null) dart.nullFailed(I[120], 414, 28, "path"); + if (this[_stat$] != null) return dart.nullCheck(this[_statSync$])(path); + if (this[_previous$4] != null) return dart.nullCheck(this[_previous$4]).statSync(path); + return super.statSync(path); + } + fseIdentical(path1, path2) { + if (path1 == null) dart.nullFailed(I[120], 422, 36, "path1"); + if (path2 == null) dart.nullFailed(I[120], 422, 50, "path2"); + if (this[_fseIdentical$] != null) return dart.nullCheck(this[_fseIdentical$])(path1, path2); + if (this[_previous$4] != null) return dart.nullCheck(this[_previous$4]).fseIdentical(path1, path2); + return super.fseIdentical(path1, path2); + } + fseIdenticalSync(path1, path2) { + if (path1 == null) dart.nullFailed(I[120], 429, 32, "path1"); + if (path2 == null) dart.nullFailed(I[120], 429, 46, "path2"); + if (this[_fseIdenticalSync$] != null) return dart.nullCheck(this[_fseIdenticalSync$])(path1, path2); + if (this[_previous$4] != null) return dart.nullCheck(this[_previous$4]).fseIdenticalSync(path1, path2); + return super.fseIdenticalSync(path1, path2); + } + fseGetType(path, followLinks) { + if (path == null) dart.nullFailed(I[120], 436, 50, "path"); + if (followLinks == null) dart.nullFailed(I[120], 436, 61, "followLinks"); + if (this[_fseGetType$] != null) return dart.nullCheck(this[_fseGetType$])(path, followLinks); + if (this[_previous$4] != null) return dart.nullCheck(this[_previous$4]).fseGetType(path, followLinks); + return super.fseGetType(path, followLinks); + } + fseGetTypeSync(path, followLinks) { + if (path == null) dart.nullFailed(I[120], 443, 46, "path"); + if (followLinks == null) dart.nullFailed(I[120], 443, 57, "followLinks"); + if (this[_fseGetTypeSync$] != null) return dart.nullCheck(this[_fseGetTypeSync$])(path, followLinks); + if (this[_previous$4] != null) return dart.nullCheck(this[_previous$4]).fseGetTypeSync(path, followLinks); + return super.fseGetTypeSync(path, followLinks); + } + fsWatch(path, events, recursive) { + if (path == null) dart.nullFailed(I[120], 451, 42, "path"); + if (events == null) dart.nullFailed(I[120], 451, 52, "events"); + if (recursive == null) dart.nullFailed(I[120], 451, 65, "recursive"); + if (this[_fsWatch$] != null) return dart.nullCheck(this[_fsWatch$])(path, events, recursive); + if (this[_previous$4] != null) return dart.nullCheck(this[_previous$4]).fsWatch(path, events, recursive); + return super.fsWatch(path, events, recursive); + } + fsWatchIsSupported() { + if (this[_fsWatchIsSupported$] != null) return dart.nullCheck(this[_fsWatchIsSupported$])(); + if (this[_previous$4] != null) return dart.nullCheck(this[_previous$4]).fsWatchIsSupported(); + return super.fsWatchIsSupported(); + } + createLink(path) { + if (path == null) dart.nullFailed(I[120], 466, 26, "path"); + if (this[_createLink$] != null) return dart.nullCheck(this[_createLink$])(path); + if (this[_previous$4] != null) return dart.nullCheck(this[_previous$4]).createLink(path); + return super.createLink(path); + } + socketConnect(host, port, opts) { + if (port == null) dart.nullFailed(I[120], 474, 42, "port"); + let sourceAddress = opts && 'sourceAddress' in opts ? opts.sourceAddress : null; + let timeout = opts && 'timeout' in opts ? opts.timeout : null; + if (this[_socketConnect$] != null) { + return dart.nullCheck(this[_socketConnect$])(host, port, {sourceAddress: sourceAddress, timeout: timeout}); + } + if (this[_previous$4] != null) { + return dart.nullCheck(this[_previous$4]).socketConnect(host, port, {sourceAddress: sourceAddress, timeout: timeout}); + } + return super.socketConnect(host, port, {sourceAddress: sourceAddress, timeout: timeout}); + } + socketStartConnect(host, port, opts) { + if (port == null) dart.nullFailed(I[120], 489, 63, "port"); + let sourceAddress = opts && 'sourceAddress' in opts ? opts.sourceAddress : null; + if (this[_socketStartConnect$] != null) { + return dart.nullCheck(this[_socketStartConnect$])(host, port, {sourceAddress: sourceAddress}); + } + if (this[_previous$4] != null) { + return dart.nullCheck(this[_previous$4]).socketStartConnect(host, port, {sourceAddress: sourceAddress}); + } + return super.socketStartConnect(host, port, {sourceAddress: sourceAddress}); + } + serverSocketBind(address, port, opts) { + if (port == null) dart.nullFailed(I[120], 504, 54, "port"); + let backlog = opts && 'backlog' in opts ? opts.backlog : 0; + if (backlog == null) dart.nullFailed(I[120], 505, 12, "backlog"); + let v6Only = opts && 'v6Only' in opts ? opts.v6Only : false; + if (v6Only == null) dart.nullFailed(I[120], 505, 30, "v6Only"); + let shared = opts && 'shared' in opts ? opts.shared : false; + if (shared == null) dart.nullFailed(I[120], 505, 51, "shared"); + if (this[_serverSocketBind$] != null) { + return dart.nullCheck(this[_serverSocketBind$])(address, port, {backlog: backlog, v6Only: v6Only, shared: shared}); + } + if (this[_previous$4] != null) { + return dart.nullCheck(this[_previous$4]).serverSocketBind(address, port, {backlog: backlog, v6Only: v6Only, shared: shared}); + } + return super.serverSocketBind(address, port, {backlog: backlog, v6Only: v6Only, shared: shared}); + } + }; + (io._IOOverridesScope.new = function(_createDirectory, _getCurrentDirectory, _setCurrentDirectory, _getSystemTempDirectory, _createFile, _stat, _statSync, _fseIdentical, _fseIdenticalSync, _fseGetType, _fseGetTypeSync, _fsWatch, _fsWatchIsSupported, _createLink, _socketConnect, _socketStartConnect, _serverSocketBind) { + this[_previous$4] = io.IOOverrides.current; + this[_createDirectory$] = _createDirectory; + this[_getCurrentDirectory$] = _getCurrentDirectory; + this[_setCurrentDirectory$] = _setCurrentDirectory; + this[_getSystemTempDirectory$] = _getSystemTempDirectory; + this[_createFile$] = _createFile; + this[_stat$] = _stat; + this[_statSync$] = _statSync; + this[_fseIdentical$] = _fseIdentical; + this[_fseIdenticalSync$] = _fseIdenticalSync; + this[_fseGetType$] = _fseGetType; + this[_fseGetTypeSync$] = _fseGetTypeSync; + this[_fsWatch$] = _fsWatch; + this[_fsWatchIsSupported$] = _fsWatchIsSupported; + this[_createLink$] = _createLink; + this[_socketConnect$] = _socketConnect; + this[_socketStartConnect$] = _socketStartConnect; + this[_serverSocketBind$] = _serverSocketBind; + ; + }).prototype = io._IOOverridesScope.prototype; + dart.addTypeTests(io._IOOverridesScope); + dart.addTypeCaches(io._IOOverridesScope); + dart.setLibraryUri(io._IOOverridesScope, I[105]); + dart.setFieldSignature(io._IOOverridesScope, () => ({ + __proto__: dart.getFields(io._IOOverridesScope.__proto__), + [_previous$4]: dart.finalFieldType(dart.nullable(io.IOOverrides)), + [_createDirectory$]: dart.fieldType(dart.nullable(dart.fnType(io.Directory, [core.String]))), + [_getCurrentDirectory$]: dart.fieldType(dart.nullable(dart.fnType(io.Directory, []))), + [_setCurrentDirectory$]: dart.fieldType(dart.nullable(dart.fnType(dart.void, [core.String]))), + [_getSystemTempDirectory$]: dart.fieldType(dart.nullable(dart.fnType(io.Directory, []))), + [_createFile$]: dart.fieldType(dart.nullable(dart.fnType(io.File, [core.String]))), + [_stat$]: dart.fieldType(dart.nullable(dart.fnType(async.Future$(io.FileStat), [core.String]))), + [_statSync$]: dart.fieldType(dart.nullable(dart.fnType(io.FileStat, [core.String]))), + [_fseIdentical$]: dart.fieldType(dart.nullable(dart.fnType(async.Future$(core.bool), [core.String, core.String]))), + [_fseIdenticalSync$]: dart.fieldType(dart.nullable(dart.fnType(core.bool, [core.String, core.String]))), + [_fseGetType$]: dart.fieldType(dart.nullable(dart.fnType(async.Future$(io.FileSystemEntityType), [core.String, core.bool]))), + [_fseGetTypeSync$]: dart.fieldType(dart.nullable(dart.fnType(io.FileSystemEntityType, [core.String, core.bool]))), + [_fsWatch$]: dart.fieldType(dart.nullable(dart.fnType(async.Stream$(io.FileSystemEvent), [core.String, core.int, core.bool]))), + [_fsWatchIsSupported$]: dart.fieldType(dart.nullable(dart.fnType(core.bool, []))), + [_createLink$]: dart.fieldType(dart.nullable(dart.fnType(io.Link, [core.String]))), + [_socketConnect$]: dart.fieldType(dart.nullable(dart.fnType(async.Future$(io.Socket), [dart.dynamic, core.int], {sourceAddress: dart.dynamic, timeout: dart.nullable(core.Duration)}, {}))), + [_socketStartConnect$]: dart.fieldType(dart.nullable(dart.fnType(async.Future$(io.ConnectionTask$(io.Socket)), [dart.dynamic, core.int], {sourceAddress: dart.dynamic}, {}))), + [_serverSocketBind$]: dart.fieldType(dart.nullable(dart.fnType(async.Future$(io.ServerSocket), [dart.dynamic, core.int], {backlog: core.int, shared: core.bool, v6Only: core.bool}, {}))) + })); + io.Platform = class Platform extends core.Object { + static get numberOfProcessors() { + return io.Platform._numberOfProcessors; + } + static get pathSeparator() { + return io.Platform._pathSeparator; + } + static get localeName() { + return io._Platform.localeName(); + } + static get operatingSystem() { + return io.Platform._operatingSystem; + } + static get operatingSystemVersion() { + return io.Platform._operatingSystemVersion; + } + static get localHostname() { + return io.Platform._localHostname; + } + static get environment() { + return io._Platform.environment; + } + static get executable() { + return io._Platform.executable; + } + static get resolvedExecutable() { + return io._Platform.resolvedExecutable; + } + static get script() { + return io._Platform.script; + } + static get executableArguments() { + return io._Platform.executableArguments; + } + static get packageRoot() { + return null; + } + static get packageConfig() { + return io._Platform.packageConfig; + } + static get version() { + return io.Platform._version; + } + }; + (io.Platform.new = function() { + ; + }).prototype = io.Platform.prototype; + dart.addTypeTests(io.Platform); + dart.addTypeCaches(io.Platform); + dart.setLibraryUri(io.Platform, I[105]); + dart.defineLazy(io.Platform, { + /*io.Platform._numberOfProcessors*/get _numberOfProcessors() { + return io._Platform.numberOfProcessors; + }, + /*io.Platform._pathSeparator*/get _pathSeparator() { + return io._Platform.pathSeparator; + }, + /*io.Platform._operatingSystem*/get _operatingSystem() { + return io._Platform.operatingSystem; + }, + /*io.Platform._operatingSystemVersion*/get _operatingSystemVersion() { + return io._Platform.operatingSystemVersion; + }, + /*io.Platform._localHostname*/get _localHostname() { + return io._Platform.localHostname; + }, + /*io.Platform._version*/get _version() { + return io._Platform.version; + }, + /*io.Platform.isLinux*/get isLinux() { + return io.Platform._operatingSystem === "linux"; + }, + /*io.Platform.isMacOS*/get isMacOS() { + return io.Platform._operatingSystem === "macos"; + }, + /*io.Platform.isWindows*/get isWindows() { + return io.Platform._operatingSystem === "windows"; + }, + /*io.Platform.isAndroid*/get isAndroid() { + return io.Platform._operatingSystem === "android"; + }, + /*io.Platform.isIOS*/get isIOS() { + return io.Platform._operatingSystem === "ios"; + }, + /*io.Platform.isFuchsia*/get isFuchsia() { + return io.Platform._operatingSystem === "fuchsia"; + } + }, false); + io._Platform = class _Platform extends core.Object { + static _packageRoot() { + dart.throw(new core.UnsupportedError.new("Platform._packageRoot")); + } + static _numberOfProcessors() { + dart.throw(new core.UnsupportedError.new("Platform._numberOfProcessors")); + } + static _pathSeparator() { + dart.throw(new core.UnsupportedError.new("Platform._pathSeparator")); + } + static _operatingSystem() { + dart.throw(new core.UnsupportedError.new("Platform._operatingSystem")); + } + static _operatingSystemVersion() { + dart.throw(new core.UnsupportedError.new("Platform._operatingSystemVersion")); + } + static _localHostname() { + dart.throw(new core.UnsupportedError.new("Platform._localHostname")); + } + static _executable() { + dart.throw(new core.UnsupportedError.new("Platform._executable")); + } + static _resolvedExecutable() { + dart.throw(new core.UnsupportedError.new("Platform._resolvedExecutable")); + } + static _environment() { + dart.throw(new core.UnsupportedError.new("Platform._environment")); + } + static _executableArguments() { + dart.throw(new core.UnsupportedError.new("Platform._executableArguments")); + } + static _packageConfig() { + dart.throw(new core.UnsupportedError.new("Platform._packageConfig")); + } + static _version() { + dart.throw(new core.UnsupportedError.new("Platform._version")); + } + static _localeName() { + dart.throw(new core.UnsupportedError.new("Platform._localeName")); + } + static _script() { + dart.throw(new core.UnsupportedError.new("Platform._script")); + } + static localeName() { + let result = io._Platform._localeClosure == null ? io._Platform._localeName() : dart.nullCheck(io._Platform._localeClosure)(); + if (io.OSError.is(result)) { + dart.throw(result); + } + return result; + } + static get numberOfProcessors() { + return io._Platform._numberOfProcessors(); + } + static get pathSeparator() { + return io._Platform._pathSeparator(); + } + static get operatingSystem() { + return io._Platform._operatingSystem(); + } + static get script() { + return io._Platform._script(); + } + static get operatingSystemVersion() { + if (io._Platform._cachedOSVersion == null) { + let result = io._Platform._operatingSystemVersion(); + if (io.OSError.is(result)) { + dart.throw(result); + } + io._Platform._cachedOSVersion = T$.StringN().as(result); + } + return dart.nullCheck(io._Platform._cachedOSVersion); + } + static get localHostname() { + let result = io._Platform._localHostname(); + if (io.OSError.is(result)) { + dart.throw(result); + } + return core.String.as(result); + } + static get executableArguments() { + return io._Platform._executableArguments(); + } + static get environment() { + if (io._Platform._environmentCache == null) { + let env = io._Platform._environment(); + if (!io.OSError.is(env)) { + let isWindows = io._Platform.operatingSystem === "windows"; + let result = isWindows ? new (T$0._CaseInsensitiveStringMapOfString()).new() : new (T$0.LinkedMapOfString$String()).new(); + for (let str of core.Iterable.as(env)) { + if (str == null) { + continue; + } + let equalsIndex = dart.dsend(str, 'indexOf', ["="]); + if (dart.dtest(dart.dsend(equalsIndex, '>', [0]))) { + result[$_set](core.String.as(dart.dsend(str, 'substring', [0, equalsIndex])), core.String.as(dart.dsend(str, 'substring', [dart.dsend(equalsIndex, '+', [1])]))); + } + } + io._Platform._environmentCache = new (T$0.UnmodifiableMapViewOfString$String()).new(result); + } else { + io._Platform._environmentCache = env; + } + } + if (io.OSError.is(io._Platform._environmentCache)) { + dart.throw(io._Platform._environmentCache); + } else { + return T$0.MapOfString$String().as(dart.nullCheck(io._Platform._environmentCache)); + } + } + static get version() { + return io._Platform._version(); + } + }; + (io._Platform.new = function() { + ; + }).prototype = io._Platform.prototype; + dart.addTypeTests(io._Platform); + dart.addTypeCaches(io._Platform); + dart.setLibraryUri(io._Platform, I[105]); + dart.defineLazy(io._Platform, { + /*io._Platform.executable*/get executable() { + return core.String.as(io._Platform._executable()); + }, + set executable(_) {}, + /*io._Platform.resolvedExecutable*/get resolvedExecutable() { + return core.String.as(io._Platform._resolvedExecutable()); + }, + set resolvedExecutable(_) {}, + /*io._Platform.packageConfig*/get packageConfig() { + return io._Platform._packageConfig(); + }, + set packageConfig(_) {}, + /*io._Platform._localeClosure*/get _localeClosure() { + return null; + }, + set _localeClosure(_) {}, + /*io._Platform._environmentCache*/get _environmentCache() { + return null; + }, + set _environmentCache(_) {}, + /*io._Platform._cachedOSVersion*/get _cachedOSVersion() { + return null; + }, + set _cachedOSVersion(_) {} + }, false); + var _map$10 = dart.privateName(io, "_map"); + const _is__CaseInsensitiveStringMap_default = Symbol('_is__CaseInsensitiveStringMap_default'); + io._CaseInsensitiveStringMap$ = dart.generic(V => { + var LinkedMapOfString$V = () => (LinkedMapOfString$V = dart.constFn(_js_helper.LinkedMap$(core.String, V)))(); + var VoidToV = () => (VoidToV = dart.constFn(dart.fnType(V, [])))(); + var MapOfString$V = () => (MapOfString$V = dart.constFn(core.Map$(core.String, V)))(); + var StringAndVTovoid = () => (StringAndVTovoid = dart.constFn(dart.fnType(dart.void, [core.String, V])))(); + var VToV = () => (VToV = dart.constFn(dart.fnType(V, [V])))(); + var VoidToNV = () => (VoidToNV = dart.constFn(dart.nullable(VoidToV())))(); + var StringAndVToV = () => (StringAndVToV = dart.constFn(dart.fnType(V, [core.String, V])))(); + class _CaseInsensitiveStringMap extends collection.MapBase$(core.String, V) { + containsKey(key) { + return typeof key == 'string' && dart.test(this[_map$10][$containsKey](key[$toUpperCase]())); + } + containsValue(value) { + return this[_map$10][$containsValue](value); + } + _get(key) { + return typeof key == 'string' ? this[_map$10][$_get](key[$toUpperCase]()) : null; + } + _set(key, value$) { + let value = value$; + core.String.as(key); + if (key == null) dart.nullFailed(I[121], 129, 28, "key"); + V.as(value); + this[_map$10][$_set](key[$toUpperCase](), value); + return value$; + } + putIfAbsent(key, ifAbsent) { + core.String.as(key); + if (key == null) dart.nullFailed(I[121], 133, 24, "key"); + VoidToV().as(ifAbsent); + if (ifAbsent == null) dart.nullFailed(I[121], 133, 31, "ifAbsent"); + return this[_map$10][$putIfAbsent](key[$toUpperCase](), ifAbsent); + } + addAll(other) { + MapOfString$V().as(other); + if (other == null) dart.nullFailed(I[121], 137, 30, "other"); + other[$forEach](dart.fn((key, value) => { + let t204, t203; + if (key == null) dart.nullFailed(I[121], 138, 20, "key"); + t203 = key[$toUpperCase](); + t204 = value; + this._set(t203, t204); + return t204; + }, StringAndVTovoid())); + } + remove(key) { + return typeof key == 'string' ? this[_map$10][$remove](key[$toUpperCase]()) : null; + } + clear() { + this[_map$10][$clear](); + } + forEach(f) { + if (f == null) dart.nullFailed(I[121], 148, 21, "f"); + this[_map$10][$forEach](f); + } + get keys() { + return this[_map$10][$keys]; + } + get values() { + return this[_map$10][$values]; + } + get length() { + return this[_map$10][$length]; + } + get isEmpty() { + return this[_map$10][$isEmpty]; + } + get isNotEmpty() { + return this[_map$10][$isNotEmpty]; + } + get entries() { + return this[_map$10][$entries]; + } + map(K2, V2, transform) { + if (transform == null) dart.nullFailed(I[121], 160, 44, "transform"); + return this[_map$10][$map](K2, V2, transform); + } + update(key, update, opts) { + core.String.as(key); + if (key == null) dart.nullFailed(I[121], 163, 19, "key"); + VToV().as(update); + if (update == null) dart.nullFailed(I[121], 163, 26, "update"); + let ifAbsent = opts && 'ifAbsent' in opts ? opts.ifAbsent : null; + VoidToNV().as(ifAbsent); + return this[_map$10][$update](key[$toUpperCase](), update, {ifAbsent: ifAbsent}); + } + updateAll(update) { + StringAndVToV().as(update); + if (update == null) dart.nullFailed(I[121], 166, 20, "update"); + this[_map$10][$updateAll](update); + } + removeWhere(test) { + if (test == null) dart.nullFailed(I[121], 170, 25, "test"); + this[_map$10][$removeWhere](test); + } + toString() { + return dart.toString(this[_map$10]); + } + } + (_CaseInsensitiveStringMap.new = function() { + this[_map$10] = new (LinkedMapOfString$V()).new(); + ; + }).prototype = _CaseInsensitiveStringMap.prototype; + dart.addTypeTests(_CaseInsensitiveStringMap); + _CaseInsensitiveStringMap.prototype[_is__CaseInsensitiveStringMap_default] = true; + dart.addTypeCaches(_CaseInsensitiveStringMap); + dart.setMethodSignature(_CaseInsensitiveStringMap, () => ({ + __proto__: dart.getMethods(_CaseInsensitiveStringMap.__proto__), + _get: dart.fnType(dart.nullable(V), [dart.nullable(core.Object)]), + [$_get]: dart.fnType(dart.nullable(V), [dart.nullable(core.Object)]), + _set: dart.fnType(dart.void, [dart.nullable(core.Object), dart.nullable(core.Object)]), + [$_set]: dart.fnType(dart.void, [dart.nullable(core.Object), dart.nullable(core.Object)]), + remove: dart.fnType(dart.nullable(V), [dart.nullable(core.Object)]), + [$remove]: dart.fnType(dart.nullable(V), [dart.nullable(core.Object)]), + clear: dart.fnType(dart.void, []), + [$clear]: dart.fnType(dart.void, []), + map: dart.gFnType((K2, V2) => [core.Map$(K2, V2), [dart.fnType(core.MapEntry$(K2, V2), [core.String, V])]], (K2, V2) => [dart.nullable(core.Object), dart.nullable(core.Object)]), + [$map]: dart.gFnType((K2, V2) => [core.Map$(K2, V2), [dart.fnType(core.MapEntry$(K2, V2), [core.String, V])]], (K2, V2) => [dart.nullable(core.Object), dart.nullable(core.Object)]) + })); + dart.setGetterSignature(_CaseInsensitiveStringMap, () => ({ + __proto__: dart.getGetters(_CaseInsensitiveStringMap.__proto__), + keys: core.Iterable$(core.String), + [$keys]: core.Iterable$(core.String) + })); + dart.setLibraryUri(_CaseInsensitiveStringMap, I[105]); + dart.setFieldSignature(_CaseInsensitiveStringMap, () => ({ + __proto__: dart.getFields(_CaseInsensitiveStringMap.__proto__), + [_map$10]: dart.finalFieldType(core.Map$(core.String, V)) + })); + dart.defineExtensionMethods(_CaseInsensitiveStringMap, [ + 'containsKey', + 'containsValue', + '_get', + '_set', + 'putIfAbsent', + 'addAll', + 'remove', + 'clear', + 'forEach', + 'map', + 'update', + 'updateAll', + 'removeWhere', + 'toString' + ]); + dart.defineExtensionAccessors(_CaseInsensitiveStringMap, [ + 'keys', + 'values', + 'length', + 'isEmpty', + 'isNotEmpty', + 'entries' + ]); + return _CaseInsensitiveStringMap; + }); + io._CaseInsensitiveStringMap = io._CaseInsensitiveStringMap$(); + dart.addTypeTests(io._CaseInsensitiveStringMap, _is__CaseInsensitiveStringMap_default); + io._ProcessUtils = class _ProcessUtils extends core.Object { + static _exit(status) { + if (status == null) dart.nullFailed(I[107], 306, 26, "status"); + dart.throw(new core.UnsupportedError.new("ProcessUtils._exit")); + } + static _setExitCode(status) { + if (status == null) dart.nullFailed(I[107], 311, 32, "status"); + dart.throw(new core.UnsupportedError.new("ProcessUtils._setExitCode")); + } + static _getExitCode() { + dart.throw(new core.UnsupportedError.new("ProcessUtils._getExitCode")); + } + static _sleep(millis) { + if (millis == null) dart.nullFailed(I[107], 321, 26, "millis"); + dart.throw(new core.UnsupportedError.new("ProcessUtils._sleep")); + } + static _pid(process) { + dart.throw(new core.UnsupportedError.new("ProcessUtils._pid")); + } + static _watchSignal(signal) { + if (signal == null) dart.nullFailed(I[107], 331, 59, "signal"); + dart.throw(new core.UnsupportedError.new("ProcessUtils._watchSignal")); + } + }; + (io._ProcessUtils.new = function() { + ; + }).prototype = io._ProcessUtils.prototype; + dart.addTypeTests(io._ProcessUtils); + dart.addTypeCaches(io._ProcessUtils); + dart.setLibraryUri(io._ProcessUtils, I[105]); + io.ProcessInfo = class ProcessInfo extends core.Object { + static get currentRss() { + dart.throw(new core.UnsupportedError.new("ProcessInfo.currentRss")); + } + static get maxRss() { + dart.throw(new core.UnsupportedError.new("ProcessInfo.maxRss")); + } + }; + (io.ProcessInfo.new = function() { + ; + }).prototype = io.ProcessInfo.prototype; + dart.addTypeTests(io.ProcessInfo); + dart.addTypeCaches(io.ProcessInfo); + dart.setLibraryUri(io.ProcessInfo, I[105]); + var _mode$0 = dart.privateName(io, "ProcessStartMode._mode"); + io.ProcessStartMode = class ProcessStartMode extends core.Object { + get [_mode]() { + return this[_mode$0]; + } + set [_mode](value) { + super[_mode] = value; + } + static get values() { + return C[137] || CT.C137; + } + toString() { + return (C[142] || CT.C142)[$_get](this[_mode]); + } + }; + (io.ProcessStartMode._internal = function(_mode) { + if (_mode == null) dart.nullFailed(I[122], 156, 41, "_mode"); + this[_mode$0] = _mode; + ; + }).prototype = io.ProcessStartMode.prototype; + dart.addTypeTests(io.ProcessStartMode); + dart.addTypeCaches(io.ProcessStartMode); + dart.setLibraryUri(io.ProcessStartMode, I[105]); + dart.setFieldSignature(io.ProcessStartMode, () => ({ + __proto__: dart.getFields(io.ProcessStartMode.__proto__), + [_mode]: dart.finalFieldType(core.int) + })); + dart.defineExtensionMethods(io.ProcessStartMode, ['toString']); + dart.defineLazy(io.ProcessStartMode, { + /*io.ProcessStartMode.normal*/get normal() { + return C[138] || CT.C138; + }, + /*io.ProcessStartMode.NORMAL*/get NORMAL() { + return C[138] || CT.C138; + }, + /*io.ProcessStartMode.inheritStdio*/get inheritStdio() { + return C[139] || CT.C139; + }, + /*io.ProcessStartMode.INHERIT_STDIO*/get INHERIT_STDIO() { + return C[139] || CT.C139; + }, + /*io.ProcessStartMode.detached*/get detached() { + return C[140] || CT.C140; + }, + /*io.ProcessStartMode.DETACHED*/get DETACHED() { + return C[140] || CT.C140; + }, + /*io.ProcessStartMode.detachedWithStdio*/get detachedWithStdio() { + return C[141] || CT.C141; + }, + /*io.ProcessStartMode.DETACHED_WITH_STDIO*/get DETACHED_WITH_STDIO() { + return C[141] || CT.C141; + } + }, false); + var ProcessSignal__name = dart.privateName(io, "ProcessSignal._name"); + var ProcessSignal__signalNumber = dart.privateName(io, "ProcessSignal._signalNumber"); + io.Process = class Process extends core.Object { + static start(executable, $arguments, opts) { + if (executable == null) dart.nullFailed(I[107], 352, 39, "executable"); + if ($arguments == null) dart.nullFailed(I[107], 352, 64, "arguments"); + let workingDirectory = opts && 'workingDirectory' in opts ? opts.workingDirectory : null; + let environment = opts && 'environment' in opts ? opts.environment : null; + let includeParentEnvironment = opts && 'includeParentEnvironment' in opts ? opts.includeParentEnvironment : true; + if (includeParentEnvironment == null) dart.nullFailed(I[107], 355, 12, "includeParentEnvironment"); + let runInShell = opts && 'runInShell' in opts ? opts.runInShell : false; + if (runInShell == null) dart.nullFailed(I[107], 356, 12, "runInShell"); + let mode = opts && 'mode' in opts ? opts.mode : C[138] || CT.C138; + if (mode == null) dart.nullFailed(I[107], 357, 24, "mode"); + dart.throw(new core.UnsupportedError.new("Process.start")); + } + static run(executable, $arguments, opts) { + if (executable == null) dart.nullFailed(I[107], 362, 43, "executable"); + if ($arguments == null) dart.nullFailed(I[107], 362, 68, "arguments"); + let workingDirectory = opts && 'workingDirectory' in opts ? opts.workingDirectory : null; + let environment = opts && 'environment' in opts ? opts.environment : null; + let includeParentEnvironment = opts && 'includeParentEnvironment' in opts ? opts.includeParentEnvironment : true; + if (includeParentEnvironment == null) dart.nullFailed(I[107], 365, 12, "includeParentEnvironment"); + let runInShell = opts && 'runInShell' in opts ? opts.runInShell : false; + if (runInShell == null) dart.nullFailed(I[107], 366, 12, "runInShell"); + let stdoutEncoding = opts && 'stdoutEncoding' in opts ? opts.stdoutEncoding : C[143] || CT.C143; + if (stdoutEncoding == null) dart.nullFailed(I[107], 367, 16, "stdoutEncoding"); + let stderrEncoding = opts && 'stderrEncoding' in opts ? opts.stderrEncoding : C[143] || CT.C143; + if (stderrEncoding == null) dart.nullFailed(I[107], 368, 16, "stderrEncoding"); + dart.throw(new core.UnsupportedError.new("Process.run")); + } + static runSync(executable, $arguments, opts) { + if (executable == null) dart.nullFailed(I[107], 373, 39, "executable"); + if ($arguments == null) dart.nullFailed(I[107], 373, 64, "arguments"); + let workingDirectory = opts && 'workingDirectory' in opts ? opts.workingDirectory : null; + let environment = opts && 'environment' in opts ? opts.environment : null; + let includeParentEnvironment = opts && 'includeParentEnvironment' in opts ? opts.includeParentEnvironment : true; + if (includeParentEnvironment == null) dart.nullFailed(I[107], 376, 12, "includeParentEnvironment"); + let runInShell = opts && 'runInShell' in opts ? opts.runInShell : false; + if (runInShell == null) dart.nullFailed(I[107], 377, 12, "runInShell"); + let stdoutEncoding = opts && 'stdoutEncoding' in opts ? opts.stdoutEncoding : C[143] || CT.C143; + if (stdoutEncoding == null) dart.nullFailed(I[107], 378, 16, "stdoutEncoding"); + let stderrEncoding = opts && 'stderrEncoding' in opts ? opts.stderrEncoding : C[143] || CT.C143; + if (stderrEncoding == null) dart.nullFailed(I[107], 379, 16, "stderrEncoding"); + dart.throw(new core.UnsupportedError.new("Process.runSync")); + } + static killPid(pid, signal = C[144] || CT.C144) { + if (pid == null) dart.nullFailed(I[107], 384, 27, "pid"); + if (signal == null) dart.nullFailed(I[107], 384, 47, "signal"); + dart.throw(new core.UnsupportedError.new("Process.killPid")); + } + }; + (io.Process.new = function() { + ; + }).prototype = io.Process.prototype; + dart.addTypeTests(io.Process); + dart.addTypeCaches(io.Process); + dart.setLibraryUri(io.Process, I[105]); + var exitCode$ = dart.privateName(io, "ProcessResult.exitCode"); + var stdout$ = dart.privateName(io, "ProcessResult.stdout"); + var stderr$ = dart.privateName(io, "ProcessResult.stderr"); + var pid$ = dart.privateName(io, "ProcessResult.pid"); + io.ProcessResult = class ProcessResult extends core.Object { + get exitCode() { + return this[exitCode$]; + } + set exitCode(value) { + super.exitCode = value; + } + get stdout() { + return this[stdout$]; + } + set stdout(value) { + super.stdout = value; + } + get stderr() { + return this[stderr$]; + } + set stderr(value) { + super.stderr = value; + } + get pid() { + return this[pid$]; + } + set pid(value) { + super.pid = value; + } + }; + (io.ProcessResult.new = function(pid, exitCode, stdout, stderr) { + if (pid == null) dart.nullFailed(I[122], 469, 22, "pid"); + if (exitCode == null) dart.nullFailed(I[122], 469, 32, "exitCode"); + this[pid$] = pid; + this[exitCode$] = exitCode; + this[stdout$] = stdout; + this[stderr$] = stderr; + ; + }).prototype = io.ProcessResult.prototype; + dart.addTypeTests(io.ProcessResult); + dart.addTypeCaches(io.ProcessResult); + dart.setLibraryUri(io.ProcessResult, I[105]); + dart.setFieldSignature(io.ProcessResult, () => ({ + __proto__: dart.getFields(io.ProcessResult.__proto__), + exitCode: dart.finalFieldType(core.int), + stdout: dart.finalFieldType(dart.dynamic), + stderr: dart.finalFieldType(dart.dynamic), + pid: dart.finalFieldType(core.int) + })); + var _signalNumber = dart.privateName(io, "_signalNumber"); + const _signalNumber$ = ProcessSignal__signalNumber; + const _name$5 = ProcessSignal__name; + io.ProcessSignal = class ProcessSignal extends core.Object { + get [_signalNumber]() { + return this[_signalNumber$]; + } + set [_signalNumber](value) { + super[_signalNumber] = value; + } + get [_name$4]() { + return this[_name$5]; + } + set [_name$4](value) { + super[_name$4] = value; + } + toString() { + return this[_name$4]; + } + watch() { + return io._ProcessUtils._watchSignal(this); + } + }; + (io.ProcessSignal.__ = function(_signalNumber, _name) { + if (_signalNumber == null) dart.nullFailed(I[122], 571, 30, "_signalNumber"); + if (_name == null) dart.nullFailed(I[122], 571, 50, "_name"); + this[_signalNumber$] = _signalNumber; + this[_name$5] = _name; + ; + }).prototype = io.ProcessSignal.prototype; + dart.addTypeTests(io.ProcessSignal); + dart.addTypeCaches(io.ProcessSignal); + dart.setMethodSignature(io.ProcessSignal, () => ({ + __proto__: dart.getMethods(io.ProcessSignal.__proto__), + watch: dart.fnType(async.Stream$(io.ProcessSignal), []) + })); + dart.setLibraryUri(io.ProcessSignal, I[105]); + dart.setFieldSignature(io.ProcessSignal, () => ({ + __proto__: dart.getFields(io.ProcessSignal.__proto__), + [_signalNumber]: dart.finalFieldType(core.int), + [_name$4]: dart.finalFieldType(core.String) + })); + dart.defineExtensionMethods(io.ProcessSignal, ['toString']); + dart.defineLazy(io.ProcessSignal, { + /*io.ProcessSignal.sighup*/get sighup() { + return C[145] || CT.C145; + }, + /*io.ProcessSignal.sigint*/get sigint() { + return C[146] || CT.C146; + }, + /*io.ProcessSignal.sigquit*/get sigquit() { + return C[147] || CT.C147; + }, + /*io.ProcessSignal.sigill*/get sigill() { + return C[148] || CT.C148; + }, + /*io.ProcessSignal.sigtrap*/get sigtrap() { + return C[149] || CT.C149; + }, + /*io.ProcessSignal.sigabrt*/get sigabrt() { + return C[150] || CT.C150; + }, + /*io.ProcessSignal.sigbus*/get sigbus() { + return C[151] || CT.C151; + }, + /*io.ProcessSignal.sigfpe*/get sigfpe() { + return C[152] || CT.C152; + }, + /*io.ProcessSignal.sigkill*/get sigkill() { + return C[153] || CT.C153; + }, + /*io.ProcessSignal.sigusr1*/get sigusr1() { + return C[154] || CT.C154; + }, + /*io.ProcessSignal.sigsegv*/get sigsegv() { + return C[155] || CT.C155; + }, + /*io.ProcessSignal.sigusr2*/get sigusr2() { + return C[156] || CT.C156; + }, + /*io.ProcessSignal.sigpipe*/get sigpipe() { + return C[157] || CT.C157; + }, + /*io.ProcessSignal.sigalrm*/get sigalrm() { + return C[158] || CT.C158; + }, + /*io.ProcessSignal.sigterm*/get sigterm() { + return C[144] || CT.C144; + }, + /*io.ProcessSignal.sigchld*/get sigchld() { + return C[159] || CT.C159; + }, + /*io.ProcessSignal.sigcont*/get sigcont() { + return C[160] || CT.C160; + }, + /*io.ProcessSignal.sigstop*/get sigstop() { + return C[161] || CT.C161; + }, + /*io.ProcessSignal.sigtstp*/get sigtstp() { + return C[162] || CT.C162; + }, + /*io.ProcessSignal.sigttin*/get sigttin() { + return C[163] || CT.C163; + }, + /*io.ProcessSignal.sigttou*/get sigttou() { + return C[164] || CT.C164; + }, + /*io.ProcessSignal.sigurg*/get sigurg() { + return C[165] || CT.C165; + }, + /*io.ProcessSignal.sigxcpu*/get sigxcpu() { + return C[166] || CT.C166; + }, + /*io.ProcessSignal.sigxfsz*/get sigxfsz() { + return C[167] || CT.C167; + }, + /*io.ProcessSignal.sigvtalrm*/get sigvtalrm() { + return C[168] || CT.C168; + }, + /*io.ProcessSignal.sigprof*/get sigprof() { + return C[169] || CT.C169; + }, + /*io.ProcessSignal.sigwinch*/get sigwinch() { + return C[170] || CT.C170; + }, + /*io.ProcessSignal.sigpoll*/get sigpoll() { + return C[171] || CT.C171; + }, + /*io.ProcessSignal.sigsys*/get sigsys() { + return C[172] || CT.C172; + }, + /*io.ProcessSignal.SIGHUP*/get SIGHUP() { + return C[145] || CT.C145; + }, + /*io.ProcessSignal.SIGINT*/get SIGINT() { + return C[146] || CT.C146; + }, + /*io.ProcessSignal.SIGQUIT*/get SIGQUIT() { + return C[147] || CT.C147; + }, + /*io.ProcessSignal.SIGILL*/get SIGILL() { + return C[148] || CT.C148; + }, + /*io.ProcessSignal.SIGTRAP*/get SIGTRAP() { + return C[149] || CT.C149; + }, + /*io.ProcessSignal.SIGABRT*/get SIGABRT() { + return C[150] || CT.C150; + }, + /*io.ProcessSignal.SIGBUS*/get SIGBUS() { + return C[151] || CT.C151; + }, + /*io.ProcessSignal.SIGFPE*/get SIGFPE() { + return C[152] || CT.C152; + }, + /*io.ProcessSignal.SIGKILL*/get SIGKILL() { + return C[153] || CT.C153; + }, + /*io.ProcessSignal.SIGUSR1*/get SIGUSR1() { + return C[154] || CT.C154; + }, + /*io.ProcessSignal.SIGSEGV*/get SIGSEGV() { + return C[155] || CT.C155; + }, + /*io.ProcessSignal.SIGUSR2*/get SIGUSR2() { + return C[156] || CT.C156; + }, + /*io.ProcessSignal.SIGPIPE*/get SIGPIPE() { + return C[157] || CT.C157; + }, + /*io.ProcessSignal.SIGALRM*/get SIGALRM() { + return C[158] || CT.C158; + }, + /*io.ProcessSignal.SIGTERM*/get SIGTERM() { + return C[144] || CT.C144; + }, + /*io.ProcessSignal.SIGCHLD*/get SIGCHLD() { + return C[159] || CT.C159; + }, + /*io.ProcessSignal.SIGCONT*/get SIGCONT() { + return C[160] || CT.C160; + }, + /*io.ProcessSignal.SIGSTOP*/get SIGSTOP() { + return C[161] || CT.C161; + }, + /*io.ProcessSignal.SIGTSTP*/get SIGTSTP() { + return C[162] || CT.C162; + }, + /*io.ProcessSignal.SIGTTIN*/get SIGTTIN() { + return C[163] || CT.C163; + }, + /*io.ProcessSignal.SIGTTOU*/get SIGTTOU() { + return C[164] || CT.C164; + }, + /*io.ProcessSignal.SIGURG*/get SIGURG() { + return C[165] || CT.C165; + }, + /*io.ProcessSignal.SIGXCPU*/get SIGXCPU() { + return C[166] || CT.C166; + }, + /*io.ProcessSignal.SIGXFSZ*/get SIGXFSZ() { + return C[167] || CT.C167; + }, + /*io.ProcessSignal.SIGVTALRM*/get SIGVTALRM() { + return C[168] || CT.C168; + }, + /*io.ProcessSignal.SIGPROF*/get SIGPROF() { + return C[169] || CT.C169; + }, + /*io.ProcessSignal.SIGWINCH*/get SIGWINCH() { + return C[170] || CT.C170; + }, + /*io.ProcessSignal.SIGPOLL*/get SIGPOLL() { + return C[171] || CT.C171; + }, + /*io.ProcessSignal.SIGSYS*/get SIGSYS() { + return C[172] || CT.C172; + } + }, false); + var message$4 = dart.privateName(io, "SignalException.message"); + var osError$0 = dart.privateName(io, "SignalException.osError"); + io.SignalException = class SignalException extends core.Object { + get message() { + return this[message$4]; + } + set message(value) { + super.message = value; + } + get osError() { + return this[osError$0]; + } + set osError(value) { + super.osError = value; + } + toString() { + let msg = ""; + if (this.osError != null) { + msg = ", osError: " + dart.str(this.osError); + } + return "SignalException: " + dart.str(this.message) + msg; + } + }; + (io.SignalException.new = function(message, osError = null) { + if (message == null) dart.nullFailed(I[122], 597, 30, "message"); + this[message$4] = message; + this[osError$0] = osError; + ; + }).prototype = io.SignalException.prototype; + dart.addTypeTests(io.SignalException); + dart.addTypeCaches(io.SignalException); + io.SignalException[dart.implements] = () => [io.IOException]; + dart.setLibraryUri(io.SignalException, I[105]); + dart.setFieldSignature(io.SignalException, () => ({ + __proto__: dart.getFields(io.SignalException.__proto__), + message: dart.finalFieldType(core.String), + osError: dart.finalFieldType(dart.dynamic) + })); + dart.defineExtensionMethods(io.SignalException, ['toString']); + var executable$ = dart.privateName(io, "ProcessException.executable"); + var $arguments$ = dart.privateName(io, "ProcessException.arguments"); + var message$5 = dart.privateName(io, "ProcessException.message"); + var errorCode$1 = dart.privateName(io, "ProcessException.errorCode"); + io.ProcessException = class ProcessException extends core.Object { + get executable() { + return this[executable$]; + } + set executable(value) { + super.executable = value; + } + get arguments() { + return this[$arguments$]; + } + set arguments(value) { + super.arguments = value; + } + get message() { + return this[message$5]; + } + set message(value) { + super.message = value; + } + get errorCode() { + return this[errorCode$1]; + } + set errorCode(value) { + super.errorCode = value; + } + toString() { + let args = this.arguments[$join](" "); + return "ProcessException: " + dart.str(this.message) + "\n Command: " + dart.str(this.executable) + " " + dart.str(args); + } + }; + (io.ProcessException.new = function(executable, $arguments, message = "", errorCode = 0) { + if (executable == null) dart.nullFailed(I[122], 625, 31, "executable"); + if ($arguments == null) dart.nullFailed(I[122], 625, 48, "arguments"); + if (message == null) dart.nullFailed(I[122], 626, 13, "message"); + if (errorCode == null) dart.nullFailed(I[122], 626, 32, "errorCode"); + this[executable$] = executable; + this[$arguments$] = $arguments; + this[message$5] = message; + this[errorCode$1] = errorCode; + ; + }).prototype = io.ProcessException.prototype; + dart.addTypeTests(io.ProcessException); + dart.addTypeCaches(io.ProcessException); + io.ProcessException[dart.implements] = () => [io.IOException]; + dart.setLibraryUri(io.ProcessException, I[105]); + dart.setFieldSignature(io.ProcessException, () => ({ + __proto__: dart.getFields(io.ProcessException.__proto__), + executable: dart.finalFieldType(core.String), + arguments: dart.finalFieldType(core.List$(core.String)), + message: dart.finalFieldType(core.String), + errorCode: dart.finalFieldType(core.int) + })); + dart.defineExtensionMethods(io.ProcessException, ['toString']); + var _socket$ = dart.privateName(io, "_socket"); + var _owner = dart.privateName(io, "_owner"); + var _onCancel$ = dart.privateName(io, "_onCancel"); + var _detachRaw = dart.privateName(io, "_detachRaw"); + io.SecureSocket = class SecureSocket extends core.Object { + static connect(host, port, opts) { + if (port == null) dart.nullFailed(I[124], 40, 49, "port"); + let context = opts && 'context' in opts ? opts.context : null; + let onBadCertificate = opts && 'onBadCertificate' in opts ? opts.onBadCertificate : null; + let supportedProtocols = opts && 'supportedProtocols' in opts ? opts.supportedProtocols : null; + let timeout = opts && 'timeout' in opts ? opts.timeout : null; + return io.RawSecureSocket.connect(host, port, {context: context, onBadCertificate: onBadCertificate, supportedProtocols: supportedProtocols, timeout: timeout}).then(io.SecureSocket, dart.fn(rawSocket => { + if (rawSocket == null) dart.nullFailed(I[124], 50, 16, "rawSocket"); + return io.SecureSocket.__(rawSocket); + }, T$0.RawSecureSocketToSecureSocket())); + } + static startConnect(host, port, opts) { + if (port == null) dart.nullFailed(I[124], 56, 70, "port"); + let context = opts && 'context' in opts ? opts.context : null; + let onBadCertificate = opts && 'onBadCertificate' in opts ? opts.onBadCertificate : null; + let supportedProtocols = opts && 'supportedProtocols' in opts ? opts.supportedProtocols : null; + return io.RawSecureSocket.startConnect(host, port, {context: context, onBadCertificate: onBadCertificate, supportedProtocols: supportedProtocols}).then(T$0.ConnectionTaskOfSecureSocket(), dart.fn(rawState => { + if (rawState == null) dart.nullFailed(I[124], 64, 16, "rawState"); + let socket = rawState.socket.then(io.SecureSocket, dart.fn(rawSocket => { + if (rawSocket == null) dart.nullFailed(I[124], 66, 33, "rawSocket"); + return io.SecureSocket.__(rawSocket); + }, T$0.RawSecureSocketToSecureSocket())); + return new (T$0.ConnectionTaskOfSecureSocket()).__(socket, rawState[_onCancel$]); + }, T$0.ConnectionTaskOfRawSecureSocketToConnectionTaskOfSecureSocket())); + } + static secure(socket, opts) { + if (socket == null) dart.nullFailed(I[124], 103, 45, "socket"); + let host = opts && 'host' in opts ? opts.host : null; + let context = opts && 'context' in opts ? opts.context : null; + let onBadCertificate = opts && 'onBadCertificate' in opts ? opts.onBadCertificate : null; + let supportedProtocols = opts && 'supportedProtocols' in opts ? opts.supportedProtocols : null; + return async.Future.as(dart.dsend(socket, _detachRaw, [])).then(io.RawSecureSocket, dart.fn(detachedRaw => io.RawSecureSocket.secure(io.RawSocket.as(dart.dsend(detachedRaw, '_get', [0])), {subscription: T$0.StreamSubscriptionNOfRawSocketEvent().as(dart.dsend(detachedRaw, '_get', [1])), host: host, context: context, onBadCertificate: onBadCertificate, supportedProtocols: supportedProtocols}), T$0.dynamicToFutureOfRawSecureSocket())).then(io.SecureSocket, dart.fn(raw => { + if (raw == null) dart.nullFailed(I[124], 116, 28, "raw"); + return io.SecureSocket.__(raw); + }, T$0.RawSecureSocketToSecureSocket())); + } + static secureServer(socket, context, opts) { + if (socket == null) dart.nullFailed(I[124], 140, 14, "socket"); + let bufferedData = opts && 'bufferedData' in opts ? opts.bufferedData : null; + let requestClientCertificate = opts && 'requestClientCertificate' in opts ? opts.requestClientCertificate : false; + if (requestClientCertificate == null) dart.nullFailed(I[124], 142, 12, "requestClientCertificate"); + let requireClientCertificate = opts && 'requireClientCertificate' in opts ? opts.requireClientCertificate : false; + if (requireClientCertificate == null) dart.nullFailed(I[124], 143, 12, "requireClientCertificate"); + let supportedProtocols = opts && 'supportedProtocols' in opts ? opts.supportedProtocols : null; + return async.Future.as(dart.dsend(socket, _detachRaw, [])).then(io.RawSecureSocket, dart.fn(detachedRaw => io.RawSecureSocket.secureServer(io.RawSocket.as(dart.dsend(detachedRaw, '_get', [0])), context, {subscription: T$0.StreamSubscriptionNOfRawSocketEvent().as(dart.dsend(detachedRaw, '_get', [1])), bufferedData: bufferedData, requestClientCertificate: requestClientCertificate, requireClientCertificate: requireClientCertificate, supportedProtocols: supportedProtocols}), T$0.dynamicToFutureOfRawSecureSocket())).then(io.SecureSocket, dart.fn(raw => { + if (raw == null) dart.nullFailed(I[124], 153, 28, "raw"); + return io.SecureSocket.__(raw); + }, T$0.RawSecureSocketToSecureSocket())); + } + }; + (io.SecureSocket[dart.mixinNew] = function() { + }).prototype = io.SecureSocket.prototype; + dart.addTypeTests(io.SecureSocket); + dart.addTypeCaches(io.SecureSocket); + io.SecureSocket[dart.implements] = () => [io.Socket]; + dart.setLibraryUri(io.SecureSocket, I[105]); + io.SecureServerSocket = class SecureServerSocket extends async.Stream$(io.SecureSocket) { + static bind(address, port, context, opts) { + if (port == null) dart.nullFailed(I[123], 66, 20, "port"); + let backlog = opts && 'backlog' in opts ? opts.backlog : 0; + if (backlog == null) dart.nullFailed(I[123], 67, 12, "backlog"); + let v6Only = opts && 'v6Only' in opts ? opts.v6Only : false; + if (v6Only == null) dart.nullFailed(I[123], 68, 12, "v6Only"); + let requestClientCertificate = opts && 'requestClientCertificate' in opts ? opts.requestClientCertificate : false; + if (requestClientCertificate == null) dart.nullFailed(I[123], 69, 12, "requestClientCertificate"); + let requireClientCertificate = opts && 'requireClientCertificate' in opts ? opts.requireClientCertificate : false; + if (requireClientCertificate == null) dart.nullFailed(I[123], 70, 12, "requireClientCertificate"); + let supportedProtocols = opts && 'supportedProtocols' in opts ? opts.supportedProtocols : null; + let shared = opts && 'shared' in opts ? opts.shared : false; + if (shared == null) dart.nullFailed(I[123], 72, 12, "shared"); + return io.RawSecureServerSocket.bind(address, port, context, {backlog: backlog, v6Only: v6Only, requestClientCertificate: requestClientCertificate, requireClientCertificate: requireClientCertificate, supportedProtocols: supportedProtocols, shared: shared}).then(io.SecureServerSocket, dart.fn(serverSocket => { + if (serverSocket == null) dart.nullFailed(I[123], 80, 16, "serverSocket"); + return new io.SecureServerSocket.__(serverSocket); + }, T$0.RawSecureServerSocketToSecureServerSocket())); + } + listen(onData, opts) { + let onError = opts && 'onError' in opts ? opts.onError : null; + let onDone = opts && 'onDone' in opts ? opts.onDone : null; + let cancelOnError = opts && 'cancelOnError' in opts ? opts.cancelOnError : null; + return this[_socket$].map(io.SecureSocket, dart.fn(rawSocket => { + if (rawSocket == null) dart.nullFailed(I[123], 85, 25, "rawSocket"); + return io.SecureSocket.__(rawSocket); + }, T$0.RawSecureSocketToSecureSocket())).listen(onData, {onError: onError, onDone: onDone, cancelOnError: cancelOnError}); + } + get port() { + return this[_socket$].port; + } + get address() { + return this[_socket$].address; + } + close() { + return this[_socket$].close().then(io.SecureServerSocket, dart.fn(_ => { + if (_ == null) dart.nullFailed(I[123], 102, 63, "_"); + return this; + }, T$0.RawSecureServerSocketToSecureServerSocket())); + } + set [_owner](owner) { + this[_socket$][_owner] = owner; + } + }; + (io.SecureServerSocket.__ = function(_socket) { + if (_socket == null) dart.nullFailed(I[123], 13, 29, "_socket"); + this[_socket$] = _socket; + io.SecureServerSocket.__proto__.new.call(this); + ; + }).prototype = io.SecureServerSocket.prototype; + dart.addTypeTests(io.SecureServerSocket); + dart.addTypeCaches(io.SecureServerSocket); + dart.setMethodSignature(io.SecureServerSocket, () => ({ + __proto__: dart.getMethods(io.SecureServerSocket.__proto__), + listen: dart.fnType(async.StreamSubscription$(io.SecureSocket), [dart.nullable(dart.fnType(dart.void, [io.SecureSocket]))], {cancelOnError: dart.nullable(core.bool), onDone: dart.nullable(dart.fnType(dart.void, [])), onError: dart.nullable(core.Function)}, {}), + close: dart.fnType(async.Future$(io.SecureServerSocket), []) + })); + dart.setGetterSignature(io.SecureServerSocket, () => ({ + __proto__: dart.getGetters(io.SecureServerSocket.__proto__), + port: core.int, + address: io.InternetAddress + })); + dart.setSetterSignature(io.SecureServerSocket, () => ({ + __proto__: dart.getSetters(io.SecureServerSocket.__proto__), + [_owner]: dart.dynamic + })); + dart.setLibraryUri(io.SecureServerSocket, I[105]); + dart.setFieldSignature(io.SecureServerSocket, () => ({ + __proto__: dart.getFields(io.SecureServerSocket.__proto__), + [_socket$]: dart.finalFieldType(io.RawSecureServerSocket) + })); + var requestClientCertificate$ = dart.privateName(io, "RawSecureServerSocket.requestClientCertificate"); + var requireClientCertificate$ = dart.privateName(io, "RawSecureServerSocket.requireClientCertificate"); + var supportedProtocols$ = dart.privateName(io, "RawSecureServerSocket.supportedProtocols"); + var __RawSecureServerSocket__controller = dart.privateName(io, "_#RawSecureServerSocket#_controller"); + var __RawSecureServerSocket__controller_isSet = dart.privateName(io, "_#RawSecureServerSocket#_controller#isSet"); + var _subscription$ = dart.privateName(io, "_subscription"); + var _context$ = dart.privateName(io, "_context"); + var _onSubscriptionStateChange = dart.privateName(io, "_onSubscriptionStateChange"); + var _onPauseStateChange = dart.privateName(io, "_onPauseStateChange"); + var _onData$0 = dart.privateName(io, "_onData"); + io.RawSecureSocket = class RawSecureSocket extends core.Object { + static connect(host, port, opts) { + if (port == null) dart.nullFailed(I[124], 216, 52, "port"); + let context = opts && 'context' in opts ? opts.context : null; + let onBadCertificate = opts && 'onBadCertificate' in opts ? opts.onBadCertificate : null; + let supportedProtocols = opts && 'supportedProtocols' in opts ? opts.supportedProtocols : null; + let timeout = opts && 'timeout' in opts ? opts.timeout : null; + io._RawSecureSocket._verifyFields(host, port, false, false); + return io.RawSocket.connect(host, port, {timeout: timeout}).then(io.RawSecureSocket, dart.fn(socket => { + if (socket == null) dart.nullFailed(I[124], 222, 66, "socket"); + return io.RawSecureSocket.secure(socket, {context: context, onBadCertificate: onBadCertificate, supportedProtocols: supportedProtocols}); + }, T$0.RawSocketToFutureOfRawSecureSocket())); + } + static startConnect(host, port, opts) { + if (port == null) dart.nullFailed(I[124], 233, 73, "port"); + let context = opts && 'context' in opts ? opts.context : null; + let onBadCertificate = opts && 'onBadCertificate' in opts ? opts.onBadCertificate : null; + let supportedProtocols = opts && 'supportedProtocols' in opts ? opts.supportedProtocols : null; + return io.RawSocket.startConnect(host, port).then(T$0.ConnectionTaskOfRawSecureSocket(), dart.fn(rawState => { + if (rawState == null) dart.nullFailed(I[124], 238, 42, "rawState"); + let socket = rawState.socket.then(io.RawSecureSocket, dart.fn(rawSocket => { + if (rawSocket == null) dart.nullFailed(I[124], 239, 62, "rawSocket"); + return io.RawSecureSocket.secure(rawSocket, {context: context, onBadCertificate: onBadCertificate, supportedProtocols: supportedProtocols}); + }, T$0.RawSocketToFutureOfRawSecureSocket())); + return new (T$0.ConnectionTaskOfRawSecureSocket()).__(socket, rawState[_onCancel$]); + }, T$0.ConnectionTaskOfRawSocketToConnectionTaskOfRawSecureSocket())); + } + static secure(socket, opts) { + if (socket == null) dart.nullFailed(I[124], 281, 51, "socket"); + let subscription = opts && 'subscription' in opts ? opts.subscription : null; + let host = opts && 'host' in opts ? opts.host : null; + let context = opts && 'context' in opts ? opts.context : null; + let onBadCertificate = opts && 'onBadCertificate' in opts ? opts.onBadCertificate : null; + let supportedProtocols = opts && 'supportedProtocols' in opts ? opts.supportedProtocols : null; + socket.readEventsEnabled = false; + socket.writeEventsEnabled = false; + return io._RawSecureSocket.connect(host != null ? host : socket.address.host, socket.port, false, socket, {subscription: subscription, context: context, onBadCertificate: onBadCertificate, supportedProtocols: supportedProtocols}); + } + static secureServer(socket, context, opts) { + if (socket == null) dart.nullFailed(I[124], 320, 17, "socket"); + let subscription = opts && 'subscription' in opts ? opts.subscription : null; + let bufferedData = opts && 'bufferedData' in opts ? opts.bufferedData : null; + let requestClientCertificate = opts && 'requestClientCertificate' in opts ? opts.requestClientCertificate : false; + if (requestClientCertificate == null) dart.nullFailed(I[124], 323, 12, "requestClientCertificate"); + let requireClientCertificate = opts && 'requireClientCertificate' in opts ? opts.requireClientCertificate : false; + if (requireClientCertificate == null) dart.nullFailed(I[124], 324, 12, "requireClientCertificate"); + let supportedProtocols = opts && 'supportedProtocols' in opts ? opts.supportedProtocols : null; + socket.readEventsEnabled = false; + socket.writeEventsEnabled = false; + return io._RawSecureSocket.connect(socket.address, socket.remotePort, true, socket, {context: context, subscription: subscription, bufferedData: bufferedData, requestClientCertificate: requestClientCertificate, requireClientCertificate: requireClientCertificate, supportedProtocols: supportedProtocols}); + } + }; + (io.RawSecureSocket.new = function() { + ; + }).prototype = io.RawSecureSocket.prototype; + dart.addTypeTests(io.RawSecureSocket); + dart.addTypeCaches(io.RawSecureSocket); + io.RawSecureSocket[dart.implements] = () => [io.RawSocket]; + dart.setLibraryUri(io.RawSecureSocket, I[105]); + io.RawSecureServerSocket = class RawSecureServerSocket extends async.Stream$(io.RawSecureSocket) { + get requestClientCertificate() { + return this[requestClientCertificate$]; + } + set requestClientCertificate(value) { + super.requestClientCertificate = value; + } + get requireClientCertificate() { + return this[requireClientCertificate$]; + } + set requireClientCertificate(value) { + super.requireClientCertificate = value; + } + get supportedProtocols() { + return this[supportedProtocols$]; + } + set supportedProtocols(value) { + super.supportedProtocols = value; + } + get [_controller]() { + let t203; + return dart.test(this[__RawSecureServerSocket__controller_isSet]) ? (t203 = this[__RawSecureServerSocket__controller], t203) : dart.throw(new _internal.LateError.fieldNI("_controller")); + } + set [_controller](t203) { + if (t203 == null) dart.nullFailed(I[123], 114, 42, "null"); + this[__RawSecureServerSocket__controller_isSet] = true; + this[__RawSecureServerSocket__controller] = t203; + } + static bind(address, port, context, opts) { + if (port == null) dart.nullFailed(I[123], 186, 20, "port"); + let backlog = opts && 'backlog' in opts ? opts.backlog : 0; + if (backlog == null) dart.nullFailed(I[123], 187, 12, "backlog"); + let v6Only = opts && 'v6Only' in opts ? opts.v6Only : false; + if (v6Only == null) dart.nullFailed(I[123], 188, 12, "v6Only"); + let requestClientCertificate = opts && 'requestClientCertificate' in opts ? opts.requestClientCertificate : false; + if (requestClientCertificate == null) dart.nullFailed(I[123], 189, 12, "requestClientCertificate"); + let requireClientCertificate = opts && 'requireClientCertificate' in opts ? opts.requireClientCertificate : false; + if (requireClientCertificate == null) dart.nullFailed(I[123], 190, 12, "requireClientCertificate"); + let supportedProtocols = opts && 'supportedProtocols' in opts ? opts.supportedProtocols : null; + let shared = opts && 'shared' in opts ? opts.shared : false; + if (shared == null) dart.nullFailed(I[123], 192, 12, "shared"); + return io.RawServerSocket.bind(address, port, {backlog: backlog, v6Only: v6Only, shared: shared}).then(io.RawSecureServerSocket, dart.fn(serverSocket => { + if (serverSocket == null) dart.nullFailed(I[123], 195, 16, "serverSocket"); + return new io.RawSecureServerSocket.__(serverSocket, context, requestClientCertificate, requireClientCertificate, supportedProtocols); + }, T$0.RawServerSocketToRawSecureServerSocket())); + } + listen(onData, opts) { + let onError = opts && 'onError' in opts ? opts.onError : null; + let onDone = opts && 'onDone' in opts ? opts.onDone : null; + let cancelOnError = opts && 'cancelOnError' in opts ? opts.cancelOnError : null; + return this[_controller].stream.listen(onData, {onError: onError, onDone: onDone, cancelOnError: cancelOnError}); + } + get port() { + return this[_socket$].port; + } + get address() { + return this[_socket$].address; + } + close() { + this[_closed] = true; + return this[_socket$].close().then(io.RawSecureServerSocket, dart.fn(_ => { + if (_ == null) dart.nullFailed(I[123], 221, 34, "_"); + return this; + }, T$0.RawServerSocketToRawSecureServerSocket())); + } + [_onData$0](connection) { + if (connection == null) dart.nullFailed(I[123], 224, 26, "connection"); + let remotePort = null; + try { + remotePort = connection.remotePort; + } catch (e$) { + let e = dart.getThrown(e$); + if (core.Object.is(e)) { + return; + } else + throw e$; + } + io._RawSecureSocket.connect(connection.address, core.int.as(remotePort), true, connection, {context: this[_context$], requestClientCertificate: this.requestClientCertificate, requireClientCertificate: this.requireClientCertificate, supportedProtocols: this.supportedProtocols}).then(core.Null, dart.fn(secureConnection => { + if (secureConnection == null) dart.nullFailed(I[123], 238, 32, "secureConnection"); + if (dart.test(this[_closed])) { + secureConnection.close(); + } else { + this[_controller].add(secureConnection); + } + }, T$0.RawSecureSocketToNull())).catchError(dart.fn((e, s) => { + if (!dart.test(this[_closed])) { + this[_controller].addError(core.Object.as(e), T$.StackTraceN().as(s)); + } + }, T$.dynamicAnddynamicToNull())); + } + [_onPauseStateChange]() { + if (dart.test(this[_controller].isPaused)) { + dart.nullCheck(this[_subscription$]).pause(); + } else { + dart.nullCheck(this[_subscription$]).resume(); + } + } + [_onSubscriptionStateChange]() { + if (dart.test(this[_controller].hasListener)) { + this[_subscription$] = this[_socket$].listen(dart.bind(this, _onData$0), {onError: dart.bind(this[_controller], 'addError'), onDone: dart.bind(this[_controller], 'close')}); + } else { + this.close(); + } + } + set [_owner](owner) { + dart.dput(this[_socket$], _owner, owner); + } + }; + (io.RawSecureServerSocket.__ = function(_socket, _context, requestClientCertificate, requireClientCertificate, supportedProtocols) { + if (_socket == null) dart.nullFailed(I[123], 123, 12, "_socket"); + if (requestClientCertificate == null) dart.nullFailed(I[123], 125, 12, "requestClientCertificate"); + if (requireClientCertificate == null) dart.nullFailed(I[123], 126, 12, "requireClientCertificate"); + this[__RawSecureServerSocket__controller] = null; + this[__RawSecureServerSocket__controller_isSet] = false; + this[_subscription$] = null; + this[_closed] = false; + this[_socket$] = _socket; + this[_context$] = _context; + this[requestClientCertificate$] = requestClientCertificate; + this[requireClientCertificate$] = requireClientCertificate; + this[supportedProtocols$] = supportedProtocols; + io.RawSecureServerSocket.__proto__.new.call(this); + this[_controller] = T$0.StreamControllerOfRawSecureSocket().new({sync: true, onListen: dart.bind(this, _onSubscriptionStateChange), onPause: dart.bind(this, _onPauseStateChange), onResume: dart.bind(this, _onPauseStateChange), onCancel: dart.bind(this, _onSubscriptionStateChange)}); + }).prototype = io.RawSecureServerSocket.prototype; + dart.addTypeTests(io.RawSecureServerSocket); + dart.addTypeCaches(io.RawSecureServerSocket); + dart.setMethodSignature(io.RawSecureServerSocket, () => ({ + __proto__: dart.getMethods(io.RawSecureServerSocket.__proto__), + listen: dart.fnType(async.StreamSubscription$(io.RawSecureSocket), [dart.nullable(dart.fnType(dart.void, [io.RawSecureSocket]))], {cancelOnError: dart.nullable(core.bool), onDone: dart.nullable(dart.fnType(dart.void, [])), onError: dart.nullable(core.Function)}, {}), + close: dart.fnType(async.Future$(io.RawSecureServerSocket), []), + [_onData$0]: dart.fnType(dart.void, [io.RawSocket]), + [_onPauseStateChange]: dart.fnType(dart.void, []), + [_onSubscriptionStateChange]: dart.fnType(dart.void, []) + })); + dart.setGetterSignature(io.RawSecureServerSocket, () => ({ + __proto__: dart.getGetters(io.RawSecureServerSocket.__proto__), + [_controller]: async.StreamController$(io.RawSecureSocket), + port: core.int, + address: io.InternetAddress + })); + dart.setSetterSignature(io.RawSecureServerSocket, () => ({ + __proto__: dart.getSetters(io.RawSecureServerSocket.__proto__), + [_controller]: async.StreamController$(io.RawSecureSocket), + [_owner]: dart.dynamic + })); + dart.setLibraryUri(io.RawSecureServerSocket, I[105]); + dart.setFieldSignature(io.RawSecureServerSocket, () => ({ + __proto__: dart.getFields(io.RawSecureServerSocket.__proto__), + [_socket$]: dart.finalFieldType(io.RawServerSocket), + [__RawSecureServerSocket__controller]: dart.fieldType(dart.nullable(async.StreamController$(io.RawSecureSocket))), + [__RawSecureServerSocket__controller_isSet]: dart.fieldType(core.bool), + [_subscription$]: dart.fieldType(dart.nullable(async.StreamSubscription$(io.RawSocket))), + [_context$]: dart.finalFieldType(dart.nullable(io.SecurityContext)), + requestClientCertificate: dart.finalFieldType(core.bool), + requireClientCertificate: dart.finalFieldType(core.bool), + supportedProtocols: dart.finalFieldType(dart.nullable(core.List$(core.String))), + [_closed]: dart.fieldType(core.bool) + })); + io.X509Certificate = class X509Certificate extends core.Object {}; + (io.X509Certificate[dart.mixinNew] = function() { + }).prototype = io.X509Certificate.prototype; + dart.addTypeTests(io.X509Certificate); + dart.addTypeCaches(io.X509Certificate); + dart.setLibraryUri(io.X509Certificate, I[105]); + io._FilterStatus = class _FilterStatus extends core.Object {}; + (io._FilterStatus.new = function() { + this.progress = false; + this.readEmpty = true; + this.writeEmpty = true; + this.readPlaintextNoLongerEmpty = false; + this.writePlaintextNoLongerFull = false; + this.readEncryptedNoLongerFull = false; + this.writeEncryptedNoLongerEmpty = false; + ; + }).prototype = io._FilterStatus.prototype; + dart.addTypeTests(io._FilterStatus); + dart.addTypeCaches(io._FilterStatus); + dart.setLibraryUri(io._FilterStatus, I[105]); + dart.setFieldSignature(io._FilterStatus, () => ({ + __proto__: dart.getFields(io._FilterStatus.__proto__), + progress: dart.fieldType(core.bool), + readEmpty: dart.fieldType(core.bool), + writeEmpty: dart.fieldType(core.bool), + readPlaintextNoLongerEmpty: dart.fieldType(core.bool), + writePlaintextNoLongerFull: dart.fieldType(core.bool), + readEncryptedNoLongerFull: dart.fieldType(core.bool), + writeEncryptedNoLongerEmpty: dart.fieldType(core.bool) + })); + var _handshakeComplete = dart.privateName(io, "_handshakeComplete"); + var ___RawSecureSocket__socketSubscription = dart.privateName(io, "_#_RawSecureSocket#_socketSubscription"); + var ___RawSecureSocket__socketSubscription_isSet = dart.privateName(io, "_#_RawSecureSocket#_socketSubscription#isSet"); + var _bufferedDataIndex = dart.privateName(io, "_bufferedDataIndex"); + var _status = dart.privateName(io, "_status"); + var _writeEventsEnabled = dart.privateName(io, "_writeEventsEnabled"); + var _readEventsEnabled = dart.privateName(io, "_readEventsEnabled"); + var _pauseCount = dart.privateName(io, "_pauseCount"); + var _pendingReadEvent = dart.privateName(io, "_pendingReadEvent"); + var _socketClosedRead = dart.privateName(io, "_socketClosedRead"); + var _socketClosedWrite = dart.privateName(io, "_socketClosedWrite"); + var _closedRead = dart.privateName(io, "_closedRead"); + var _closedWrite = dart.privateName(io, "_closedWrite"); + var _filterStatus = dart.privateName(io, "_filterStatus"); + var _connectPending = dart.privateName(io, "_connectPending"); + var _filterPending = dart.privateName(io, "_filterPending"); + var _filterActive = dart.privateName(io, "_filterActive"); + var _secureFilter = dart.privateName(io, "_secureFilter"); + var _selectedProtocol = dart.privateName(io, "_selectedProtocol"); + var _bufferedData$ = dart.privateName(io, "_bufferedData"); + var _secureHandshakeCompleteHandler = dart.privateName(io, "_secureHandshakeCompleteHandler"); + var _onBadCertificateWrapper = dart.privateName(io, "_onBadCertificateWrapper"); + var _socketSubscription = dart.privateName(io, "_socketSubscription"); + var _eventDispatcher = dart.privateName(io, "_eventDispatcher"); + var _reportError = dart.privateName(io, "_reportError"); + var _doneHandler = dart.privateName(io, "_doneHandler"); + var _secureHandshake = dart.privateName(io, "_secureHandshake"); + var _sendWriteEvent = dart.privateName(io, "_sendWriteEvent"); + var _completeCloseCompleter = dart.privateName(io, "_completeCloseCompleter"); + var _close$ = dart.privateName(io, "_close"); + var _scheduleReadEvent = dart.privateName(io, "_scheduleReadEvent"); + var _scheduleFilter = dart.privateName(io, "_scheduleFilter"); + var _readHandler = dart.privateName(io, "_readHandler"); + var _writeHandler = dart.privateName(io, "_writeHandler"); + var _closeHandler = dart.privateName(io, "_closeHandler"); + var _readSocket = dart.privateName(io, "_readSocket"); + var _writeSocket = dart.privateName(io, "_writeSocket"); + var _tryFilter = dart.privateName(io, "_tryFilter"); + var _pushAllFilterStages = dart.privateName(io, "_pushAllFilterStages"); + var _readSocketOrBufferedData = dart.privateName(io, "_readSocketOrBufferedData"); + var _sendReadEvent = dart.privateName(io, "_sendReadEvent"); + var _value$ = dart.privateName(io, "RawSocketEvent._value"); + var _value$0 = dart.privateName(io, "_value"); + io.RawSocketEvent = class RawSocketEvent extends core.Object { + get [_value$0]() { + return this[_value$]; + } + set [_value$0](value) { + super[_value$0] = value; + } + toString() { + return (C[173] || CT.C173)[$_get](this[_value$0]); + } + }; + (io.RawSocketEvent.__ = function(_value) { + if (_value == null) dart.nullFailed(I[125], 518, 31, "_value"); + this[_value$] = _value; + ; + }).prototype = io.RawSocketEvent.prototype; + dart.addTypeTests(io.RawSocketEvent); + dart.addTypeCaches(io.RawSocketEvent); + dart.setLibraryUri(io.RawSocketEvent, I[105]); + dart.setFieldSignature(io.RawSocketEvent, () => ({ + __proto__: dart.getFields(io.RawSocketEvent.__proto__), + [_value$0]: dart.finalFieldType(core.int) + })); + dart.defineExtensionMethods(io.RawSocketEvent, ['toString']); + dart.defineLazy(io.RawSocketEvent, { + /*io.RawSocketEvent.read*/get read() { + return C[174] || CT.C174; + }, + /*io.RawSocketEvent.write*/get write() { + return C[175] || CT.C175; + }, + /*io.RawSocketEvent.readClosed*/get readClosed() { + return C[176] || CT.C176; + }, + /*io.RawSocketEvent.closed*/get closed() { + return C[177] || CT.C177; + }, + /*io.RawSocketEvent.READ*/get READ() { + return C[174] || CT.C174; + }, + /*io.RawSocketEvent.WRITE*/get WRITE() { + return C[175] || CT.C175; + }, + /*io.RawSocketEvent.READ_CLOSED*/get READ_CLOSED() { + return C[176] || CT.C176; + }, + /*io.RawSocketEvent.CLOSED*/get CLOSED() { + return C[177] || CT.C177; + } + }, false); + io._RawSecureSocket = class _RawSecureSocket extends async.Stream$(io.RawSocketEvent) { + static _isBufferEncrypted(identifier) { + if (identifier == null) dart.nullFailed(I[124], 414, 38, "identifier"); + return dart.notNull(identifier) >= 2; + } + get [_socketSubscription]() { + let t206; + return dart.test(this[___RawSecureSocket__socketSubscription_isSet]) ? (t206 = this[___RawSecureSocket__socketSubscription], t206) : dart.throw(new _internal.LateError.fieldNI("_socketSubscription")); + } + set [_socketSubscription](t206) { + if (t206 == null) dart.nullFailed(I[124], 421, 49, "null"); + if (dart.test(this[___RawSecureSocket__socketSubscription_isSet])) + dart.throw(new _internal.LateError.fieldAI("_socketSubscription")); + else { + this[___RawSecureSocket__socketSubscription_isSet] = true; + this[___RawSecureSocket__socketSubscription] = t206; + } + } + static connect(host, requestedPort, isServer, socket, opts) { + let t207; + if (requestedPort == null) dart.nullFailed(I[124], 452, 11, "requestedPort"); + if (isServer == null) dart.nullFailed(I[124], 453, 12, "isServer"); + if (socket == null) dart.nullFailed(I[124], 454, 17, "socket"); + let context = opts && 'context' in opts ? opts.context : null; + let subscription = opts && 'subscription' in opts ? opts.subscription : null; + let bufferedData = opts && 'bufferedData' in opts ? opts.bufferedData : null; + let requestClientCertificate = opts && 'requestClientCertificate' in opts ? opts.requestClientCertificate : false; + if (requestClientCertificate == null) dart.nullFailed(I[124], 458, 12, "requestClientCertificate"); + let requireClientCertificate = opts && 'requireClientCertificate' in opts ? opts.requireClientCertificate : false; + if (requireClientCertificate == null) dart.nullFailed(I[124], 459, 12, "requireClientCertificate"); + let onBadCertificate = opts && 'onBadCertificate' in opts ? opts.onBadCertificate : null; + let supportedProtocols = opts && 'supportedProtocols' in opts ? opts.supportedProtocols : null; + io._RawSecureSocket._verifyFields(host, requestedPort, requestClientCertificate, requireClientCertificate); + if (io.InternetAddress.is(host)) host = host.host; + let address = socket.address; + if (host != null) { + address = io.InternetAddress._cloneWithNewHost(address, core.String.as(host)); + } + return new io._RawSecureSocket.new(address, requestedPort, isServer, (t207 = context, t207 == null ? io.SecurityContext.defaultContext : t207), socket, subscription, bufferedData, requestClientCertificate, requireClientCertificate, onBadCertificate, supportedProtocols)[_handshakeComplete].future; + } + listen(onData, opts) { + let onError = opts && 'onError' in opts ? opts.onError : null; + let onDone = opts && 'onDone' in opts ? opts.onDone : null; + let cancelOnError = opts && 'cancelOnError' in opts ? opts.cancelOnError : null; + this[_sendWriteEvent](); + return this[_controller].stream.listen(onData, {onError: onError, onDone: onDone, cancelOnError: cancelOnError}); + } + static _verifyFields(host, requestedPort, requestClientCertificate, requireClientCertificate) { + if (requestedPort == null) dart.nullFailed(I[124], 558, 39, "requestedPort"); + if (requestClientCertificate == null) dart.nullFailed(I[124], 559, 12, "requestClientCertificate"); + if (requireClientCertificate == null) dart.nullFailed(I[124], 559, 43, "requireClientCertificate"); + if (!(typeof host == 'string') && !io.InternetAddress.is(host)) { + dart.throw(new core.ArgumentError.new("host is not a String or an InternetAddress")); + } + core.ArgumentError.checkNotNull(core.int, requestedPort, "requestedPort"); + if (dart.notNull(requestedPort) < 0 || dart.notNull(requestedPort) > 65535) { + dart.throw(new core.ArgumentError.new("requestedPort is not in the range 0..65535")); + } + core.ArgumentError.checkNotNull(core.bool, requestClientCertificate, "requestClientCertificate"); + core.ArgumentError.checkNotNull(core.bool, requireClientCertificate, "requireClientCertificate"); + } + get port() { + return this[_socket$].port; + } + get remoteAddress() { + return this[_socket$].remoteAddress; + } + get remotePort() { + return this[_socket$].remotePort; + } + set [_owner](owner) { + dart.dput(this[_socket$], _owner, owner); + } + available() { + return this[_status] !== 202 ? 0 : dart.nullCheck(dart.nullCheck(this[_secureFilter]).buffers)[$_get](0).length; + } + close() { + this.shutdown(io.SocketDirection.both); + return this[_closeCompleter].future; + } + [_completeCloseCompleter](dummy = null) { + if (!dart.test(this[_closeCompleter].isCompleted)) this[_closeCompleter].complete(this); + } + [_close$]() { + this[_closedWrite] = true; + this[_closedRead] = true; + this[_socket$].close().then(dart.void, dart.bind(this, _completeCloseCompleter)); + this[_socketClosedWrite] = true; + this[_socketClosedRead] = true; + if (!dart.test(this[_filterActive]) && this[_secureFilter] != null) { + dart.nullCheck(this[_secureFilter]).destroy(); + this[_secureFilter] = null; + } + if (this[_socketSubscription] != null) { + this[_socketSubscription].cancel(); + } + this[_controller].close(); + this[_status] = 203; + } + shutdown(direction) { + if (direction == null) dart.nullFailed(I[124], 617, 33, "direction"); + if (dart.equals(direction, io.SocketDirection.send) || dart.equals(direction, io.SocketDirection.both)) { + this[_closedWrite] = true; + if (dart.test(this[_filterStatus].writeEmpty)) { + this[_socket$].shutdown(io.SocketDirection.send); + this[_socketClosedWrite] = true; + if (dart.test(this[_closedRead])) { + this[_close$](); + } + } + } + if (dart.equals(direction, io.SocketDirection.receive) || dart.equals(direction, io.SocketDirection.both)) { + this[_closedRead] = true; + this[_socketClosedRead] = true; + this[_socket$].shutdown(io.SocketDirection.receive); + if (dart.test(this[_socketClosedWrite])) { + this[_close$](); + } + } + } + get writeEventsEnabled() { + return this[_writeEventsEnabled]; + } + set writeEventsEnabled(value) { + if (value == null) dart.nullFailed(I[124], 642, 36, "value"); + this[_writeEventsEnabled] = value; + if (dart.test(value)) { + async.Timer.run(dart.fn(() => this[_sendWriteEvent](), T$.VoidTovoid())); + } + } + get readEventsEnabled() { + return this[_readEventsEnabled]; + } + set readEventsEnabled(value) { + if (value == null) dart.nullFailed(I[124], 651, 35, "value"); + this[_readEventsEnabled] = value; + this[_scheduleReadEvent](); + } + read(length = null) { + if (length != null && dart.notNull(length) < 0) { + dart.throw(new core.ArgumentError.new("Invalid length parameter in SecureSocket.read (length: " + dart.str(length) + ")")); + } + if (dart.test(this[_closedRead])) { + dart.throw(new io.SocketException.new("Reading from a closed socket")); + } + if (this[_status] !== 202) { + return null; + } + let result = dart.nullCheck(dart.nullCheck(this[_secureFilter]).buffers)[$_get](0).read(length); + this[_scheduleFilter](); + return result; + } + static _fixOffset(offset) { + let t207; + t207 = offset; + return t207 == null ? 0 : t207; + } + write(data, offset = 0, bytes = null) { + if (data == null) dart.nullFailed(I[124], 675, 23, "data"); + if (offset == null) dart.nullFailed(I[124], 675, 34, "offset"); + if (bytes != null && dart.notNull(bytes) < 0) { + dart.throw(new core.ArgumentError.new("Invalid bytes parameter in SecureSocket.read (bytes: " + dart.str(bytes) + ")")); + } + offset = io._RawSecureSocket._fixOffset(offset); + if (dart.notNull(offset) < 0) { + dart.throw(new core.ArgumentError.new("Invalid offset parameter in SecureSocket.read (offset: " + dart.str(offset) + ")")); + } + if (dart.test(this[_closedWrite])) { + this[_controller].addError(new io.SocketException.new("Writing to a closed socket")); + return 0; + } + if (this[_status] !== 202) return 0; + bytes == null ? bytes = dart.notNull(data[$length]) - dart.notNull(offset) : null; + let written = dart.nullCheck(dart.nullCheck(this[_secureFilter]).buffers)[$_get](1).write(data, offset, bytes); + if (dart.notNull(written) > 0) { + this[_filterStatus].writeEmpty = false; + } + this[_scheduleFilter](); + return written; + } + get peerCertificate() { + return dart.nullCheck(this[_secureFilter]).peerCertificate; + } + get selectedProtocol() { + return this[_selectedProtocol]; + } + [_onBadCertificateWrapper](certificate) { + if (certificate == null) dart.nullFailed(I[124], 706, 49, "certificate"); + if (this.onBadCertificate == null) return false; + return dart.nullCheck(this.onBadCertificate)(certificate); + } + setOption(option, enabled) { + if (option == null) dart.nullFailed(I[124], 711, 31, "option"); + if (enabled == null) dart.nullFailed(I[124], 711, 44, "enabled"); + return this[_socket$].setOption(option, enabled); + } + getRawOption(option) { + if (option == null) dart.nullFailed(I[124], 715, 42, "option"); + return this[_socket$].getRawOption(option); + } + setRawOption(option) { + if (option == null) dart.nullFailed(I[124], 719, 37, "option"); + this[_socket$].setRawOption(option); + } + [_eventDispatcher](event) { + if (event == null) dart.nullFailed(I[124], 723, 40, "event"); + try { + if (dart.equals(event, io.RawSocketEvent.read)) { + this[_readHandler](); + } else if (dart.equals(event, io.RawSocketEvent.write)) { + this[_writeHandler](); + } else if (dart.equals(event, io.RawSocketEvent.readClosed)) { + this[_closeHandler](); + } + } catch (e$) { + let e = dart.getThrown(e$); + let stackTrace = dart.stackTrace(e$); + if (core.Object.is(e)) { + this[_reportError](e, stackTrace); + } else + throw e$; + } + } + [_readHandler]() { + this[_readSocket](); + this[_scheduleFilter](); + } + [_writeHandler]() { + this[_writeSocket](); + this[_scheduleFilter](); + } + [_doneHandler]() { + if (dart.test(this[_filterStatus].readEmpty)) { + this[_close$](); + } + } + [_reportError](e, stackTrace = null) { + if (this[_status] === 203) { + return; + } else if (dart.test(this[_connectPending])) { + this[_handshakeComplete].completeError(core.Object.as(e), stackTrace); + } else { + this[_controller].addError(core.Object.as(e), stackTrace); + } + this[_close$](); + } + [_closeHandler]() { + return async.async(dart.void, (function* _closeHandler() { + if (this[_status] === 202) { + if (dart.test(this[_closedRead])) return; + this[_socketClosedRead] = true; + if (dart.test(this[_filterStatus].readEmpty)) { + this[_closedRead] = true; + this[_controller].add(io.RawSocketEvent.readClosed); + if (dart.test(this[_socketClosedWrite])) { + this[_close$](); + } + } else { + yield this[_scheduleFilter](); + } + } else if (this[_status] === 201) { + this[_socketClosedRead] = true; + if (dart.test(this[_filterStatus].readEmpty)) { + this[_reportError](new io.HandshakeException.new("Connection terminated during handshake"), null); + } else { + yield this[_secureHandshake](); + } + } + }).bind(this)); + } + [_secureHandshake]() { + return async.async(dart.void, (function* _secureHandshake$() { + try { + let needRetryHandshake = (yield dart.nullCheck(this[_secureFilter]).handshake()); + if (dart.test(needRetryHandshake)) { + yield this[_secureHandshake](); + } else { + this[_filterStatus].writeEmpty = false; + this[_readSocket](); + this[_writeSocket](); + yield this[_scheduleFilter](); + } + } catch (e$) { + let e = dart.getThrown(e$); + let stackTrace = dart.stackTrace(e$); + if (core.Object.is(e)) { + this[_reportError](e, stackTrace); + } else + throw e$; + } + }).bind(this)); + } + renegotiate(opts) { + let useSessionCache = opts && 'useSessionCache' in opts ? opts.useSessionCache : true; + if (useSessionCache == null) dart.nullFailed(I[124], 810, 13, "useSessionCache"); + let requestClientCertificate = opts && 'requestClientCertificate' in opts ? opts.requestClientCertificate : false; + if (requestClientCertificate == null) dart.nullFailed(I[124], 811, 12, "requestClientCertificate"); + let requireClientCertificate = opts && 'requireClientCertificate' in opts ? opts.requireClientCertificate : false; + if (requireClientCertificate == null) dart.nullFailed(I[124], 812, 12, "requireClientCertificate"); + if (this[_status] !== 202) { + dart.throw(new io.HandshakeException.new("Called renegotiate on a non-connected socket")); + } + dart.nullCheck(this[_secureFilter]).renegotiate(useSessionCache, requestClientCertificate, requireClientCertificate); + this[_status] = 201; + this[_filterStatus].writeEmpty = false; + this[_scheduleFilter](); + } + [_secureHandshakeCompleteHandler]() { + this[_status] = 202; + if (dart.test(this[_connectPending])) { + this[_connectPending] = false; + try { + this[_selectedProtocol] = dart.nullCheck(this[_secureFilter]).selectedProtocol(); + async.Timer.run(dart.fn(() => this[_handshakeComplete].complete(this), T$.VoidTovoid())); + } catch (e) { + let error = dart.getThrown(e); + let stack = dart.stackTrace(e); + if (core.Object.is(error)) { + this[_handshakeComplete].completeError(error, stack); + } else + throw e; + } + } + } + [_onPauseStateChange]() { + if (dart.test(this[_controller].isPaused)) { + this[_pauseCount] = dart.notNull(this[_pauseCount]) + 1; + } else { + this[_pauseCount] = dart.notNull(this[_pauseCount]) - 1; + if (this[_pauseCount] === 0) { + this[_scheduleReadEvent](); + this[_sendWriteEvent](); + } + } + if (!dart.test(this[_socketClosedRead]) || !dart.test(this[_socketClosedWrite])) { + if (dart.test(this[_controller].isPaused)) { + this[_socketSubscription].pause(); + } else { + this[_socketSubscription].resume(); + } + } + } + [_onSubscriptionStateChange]() { + if (dart.test(this[_controller].hasListener)) { + } + } + [_scheduleFilter]() { + this[_filterPending] = true; + return this[_tryFilter](); + } + [_tryFilter]() { + return async.async(dart.void, (function* _tryFilter() { + try { + while (true) { + if (this[_status] === 203) { + return; + } + if (!dart.test(this[_filterPending]) || dart.test(this[_filterActive])) { + return; + } + this[_filterActive] = true; + this[_filterPending] = false; + this[_filterStatus] = (yield this[_pushAllFilterStages]()); + this[_filterActive] = false; + if (this[_status] === 203) { + dart.nullCheck(this[_secureFilter]).destroy(); + this[_secureFilter] = null; + return; + } + this[_socket$].readEventsEnabled = true; + if (dart.test(this[_filterStatus].writeEmpty) && dart.test(this[_closedWrite]) && !dart.test(this[_socketClosedWrite])) { + this.shutdown(io.SocketDirection.send); + if (this[_status] === 203) { + return; + } + } + if (dart.test(this[_filterStatus].readEmpty) && dart.test(this[_socketClosedRead]) && !dart.test(this[_closedRead])) { + if (this[_status] === 201) { + dart.nullCheck(this[_secureFilter]).handshake(); + if (this[_status] === 201) { + dart.throw(new io.HandshakeException.new("Connection terminated during handshake")); + } + } + this[_closeHandler](); + } + if (this[_status] === 203) { + return; + } + if (dart.test(this[_filterStatus].progress)) { + this[_filterPending] = true; + if (dart.test(this[_filterStatus].writeEncryptedNoLongerEmpty)) { + this[_writeSocket](); + } + if (dart.test(this[_filterStatus].writePlaintextNoLongerFull)) { + this[_sendWriteEvent](); + } + if (dart.test(this[_filterStatus].readEncryptedNoLongerFull)) { + this[_readSocket](); + } + if (dart.test(this[_filterStatus].readPlaintextNoLongerEmpty)) { + this[_scheduleReadEvent](); + } + if (this[_status] === 201) { + yield this[_secureHandshake](); + } + } + } + } catch (e$) { + let e = dart.getThrown(e$); + let st = dart.stackTrace(e$); + if (core.Object.is(e)) { + this[_reportError](e, st); + } else + throw e$; + } + }).bind(this)); + } + [_readSocketOrBufferedData](bytes) { + if (bytes == null) dart.nullFailed(I[124], 933, 44, "bytes"); + let bufferedData = this[_bufferedData$]; + if (bufferedData != null) { + if (dart.notNull(bytes) > dart.notNull(bufferedData[$length]) - dart.notNull(this[_bufferedDataIndex])) { + bytes = dart.notNull(bufferedData[$length]) - dart.notNull(this[_bufferedDataIndex]); + } + let result = bufferedData[$sublist](this[_bufferedDataIndex], dart.notNull(this[_bufferedDataIndex]) + dart.notNull(bytes)); + this[_bufferedDataIndex] = dart.notNull(this[_bufferedDataIndex]) + dart.notNull(bytes); + if (bufferedData[$length] == this[_bufferedDataIndex]) { + this[_bufferedData$] = null; + } + return result; + } else if (!dart.test(this[_socketClosedRead])) { + return this[_socket$].read(bytes); + } else { + return null; + } + } + [_readSocket]() { + if (this[_status] === 203) return; + let buffer = dart.nullCheck(dart.nullCheck(this[_secureFilter]).buffers)[$_get](2); + if (dart.notNull(buffer.writeFromSource(dart.bind(this, _readSocketOrBufferedData))) > 0) { + this[_filterStatus].readEmpty = false; + } else { + this[_socket$].readEventsEnabled = false; + } + } + [_writeSocket]() { + if (dart.test(this[_socketClosedWrite])) return; + let buffer = dart.nullCheck(dart.nullCheck(this[_secureFilter]).buffers)[$_get](3); + if (dart.test(buffer.readToSocket(this[_socket$]))) { + this[_socket$].writeEventsEnabled = true; + } + } + [_scheduleReadEvent]() { + if (!dart.test(this[_pendingReadEvent]) && dart.test(this[_readEventsEnabled]) && this[_pauseCount] === 0 && this[_secureFilter] != null && !dart.test(dart.nullCheck(dart.nullCheck(this[_secureFilter]).buffers)[$_get](0).isEmpty)) { + this[_pendingReadEvent] = true; + async.Timer.run(dart.bind(this, _sendReadEvent)); + } + } + [_sendReadEvent]() { + this[_pendingReadEvent] = false; + if (this[_status] !== 203 && dart.test(this[_readEventsEnabled]) && this[_pauseCount] === 0 && this[_secureFilter] != null && !dart.test(dart.nullCheck(dart.nullCheck(this[_secureFilter]).buffers)[$_get](0).isEmpty)) { + this[_controller].add(io.RawSocketEvent.read); + this[_scheduleReadEvent](); + } + } + [_sendWriteEvent]() { + if (!dart.test(this[_closedWrite]) && dart.test(this[_writeEventsEnabled]) && this[_pauseCount] === 0 && this[_secureFilter] != null && dart.notNull(dart.nullCheck(dart.nullCheck(this[_secureFilter]).buffers)[$_get](1).free) > 0) { + this[_writeEventsEnabled] = false; + this[_controller].add(io.RawSocketEvent.write); + } + } + [_pushAllFilterStages]() { + return async.async(io._FilterStatus, (function* _pushAllFilterStages() { + let wasInHandshake = this[_status] !== 202; + let args = core.List.filled(2 + 4 * 2, null); + args[$_set](0, dart.nullCheck(this[_secureFilter])[_pointer]()); + args[$_set](1, wasInHandshake); + let bufs = dart.nullCheck(dart.nullCheck(this[_secureFilter]).buffers); + for (let i = 0; i < 4; i = i + 1) { + args[$_set](2 * i + 2, bufs[$_get](i).start); + args[$_set](2 * i + 3, bufs[$_get](i).end); + } + let response = (yield io._IOService._dispatch(42, args)); + if (dart.equals(dart.dload(response, 'length'), 2)) { + if (wasInHandshake) { + this[_reportError](new io.HandshakeException.new(dart.str(dart.dsend(response, '_get', [1])) + " error " + dart.str(dart.dsend(response, '_get', [0]))), null); + } else { + this[_reportError](new io.TlsException.new(dart.str(dart.dsend(response, '_get', [1])) + " error " + dart.str(dart.dsend(response, '_get', [0]))), null); + } + } + function start(index) { + if (index == null) dart.nullFailed(I[124], 1033, 19, "index"); + return core.int.as(dart.dsend(response, '_get', [2 * dart.notNull(index)])); + } + dart.fn(start, T$0.intToint()); + function end(index) { + if (index == null) dart.nullFailed(I[124], 1034, 17, "index"); + return core.int.as(dart.dsend(response, '_get', [2 * dart.notNull(index) + 1])); + } + dart.fn(end, T$0.intToint()); + let status = new io._FilterStatus.new(); + status.writeEmpty = dart.test(bufs[$_get](1).isEmpty) && start(3) == end(3); + if (wasInHandshake) status.writeEmpty = false; + status.readEmpty = dart.test(bufs[$_get](2).isEmpty) && start(0) == end(0); + let buffer = bufs[$_get](1); + let new_start = start(1); + if (new_start != buffer.start) { + status.progress = true; + if (buffer.free === 0) { + status.writePlaintextNoLongerFull = true; + } + buffer.start = new_start; + } + buffer = bufs[$_get](2); + new_start = start(2); + if (new_start != buffer.start) { + status.progress = true; + if (buffer.free === 0) { + status.readEncryptedNoLongerFull = true; + } + buffer.start = new_start; + } + buffer = bufs[$_get](3); + let new_end = end(3); + if (new_end != buffer.end) { + status.progress = true; + if (buffer.length === 0) { + status.writeEncryptedNoLongerEmpty = true; + } + buffer.end = new_end; + } + buffer = bufs[$_get](0); + new_end = end(0); + if (new_end != buffer.end) { + status.progress = true; + if (buffer.length === 0) { + status.readPlaintextNoLongerEmpty = true; + } + buffer.end = new_end; + } + return status; + }).bind(this)); + } + }; + (io._RawSecureSocket.new = function(address, requestedPort, isServer, context, _socket, subscription, _bufferedData, requestClientCertificate, requireClientCertificate, onBadCertificate, supportedProtocols) { + let t205, t205$; + if (address == null) dart.nullFailed(I[124], 486, 12, "address"); + if (requestedPort == null) dart.nullFailed(I[124], 487, 11, "requestedPort"); + if (isServer == null) dart.nullFailed(I[124], 488, 12, "isServer"); + if (context == null) dart.nullFailed(I[124], 489, 12, "context"); + if (_socket == null) dart.nullFailed(I[124], 490, 12, "_socket"); + if (requestClientCertificate == null) dart.nullFailed(I[124], 493, 12, "requestClientCertificate"); + if (requireClientCertificate == null) dart.nullFailed(I[124], 494, 12, "requireClientCertificate"); + this[_handshakeComplete] = T$0.CompleterOf_RawSecureSocket().new(); + this[_controller] = T$0.StreamControllerOfRawSocketEvent().new({sync: true}); + this[___RawSecureSocket__socketSubscription] = null; + this[___RawSecureSocket__socketSubscription_isSet] = false; + this[_bufferedDataIndex] = 0; + this[_status] = 201; + this[_writeEventsEnabled] = true; + this[_readEventsEnabled] = true; + this[_pauseCount] = 0; + this[_pendingReadEvent] = false; + this[_socketClosedRead] = false; + this[_socketClosedWrite] = false; + this[_closedRead] = false; + this[_closedWrite] = false; + this[_closeCompleter] = T$0.CompleterOfRawSecureSocket().new(); + this[_filterStatus] = new io._FilterStatus.new(); + this[_connectPending] = true; + this[_filterPending] = false; + this[_filterActive] = false; + this[_secureFilter] = io._SecureFilter.__(); + this[_selectedProtocol] = null; + this.address = address; + this.isServer = isServer; + this.context = context; + this[_socket$] = _socket; + this[_bufferedData$] = _bufferedData; + this.requestClientCertificate = requestClientCertificate; + this.requireClientCertificate = requireClientCertificate; + this.onBadCertificate = onBadCertificate; + io._RawSecureSocket.__proto__.new.call(this); + t205 = this[_controller]; + (() => { + t205.onListen = dart.bind(this, _onSubscriptionStateChange); + t205.onPause = dart.bind(this, _onPauseStateChange); + t205.onResume = dart.bind(this, _onPauseStateChange); + t205.onCancel = dart.bind(this, _onSubscriptionStateChange); + return t205; + })(); + let secureFilter = dart.nullCheck(this[_secureFilter]); + secureFilter.init(); + secureFilter.registerHandshakeCompleteCallback(dart.bind(this, _secureHandshakeCompleteHandler)); + if (this.onBadCertificate != null) { + secureFilter.registerBadCertificateCallback(dart.bind(this, _onBadCertificateWrapper)); + } + this[_socket$].readEventsEnabled = true; + this[_socket$].writeEventsEnabled = false; + if (subscription == null) { + this[_socketSubscription] = this[_socket$].listen(dart.bind(this, _eventDispatcher), {onError: dart.bind(this, _reportError), onDone: dart.bind(this, _doneHandler)}); + } else { + this[_socketSubscription] = subscription; + if (dart.test(this[_socketSubscription].isPaused)) { + this[_socket$].close(); + dart.throw(new core.ArgumentError.new("Subscription passed to TLS upgrade is paused")); + } + let s = this[_socket$]; + if (dart.dtest(dart.dload(dart.dload(s, _socket$), 'closedReadEventSent'))) { + this[_eventDispatcher](io.RawSocketEvent.readClosed); + } + t205$ = this[_socketSubscription]; + (() => { + t205$.onData(dart.bind(this, _eventDispatcher)); + t205$.onError(dart.bind(this, _reportError)); + t205$.onDone(dart.bind(this, _doneHandler)); + return t205$; + })(); + } + try { + let encodedProtocols = io.SecurityContext._protocolsToLengthEncoding(supportedProtocols); + secureFilter.connect(this.address.host, this.context, this.isServer, dart.test(this.requestClientCertificate) || dart.test(this.requireClientCertificate), this.requireClientCertificate, encodedProtocols); + this[_secureHandshake](); + } catch (e$) { + let e = dart.getThrown(e$); + let s = dart.stackTrace(e$); + if (core.Object.is(e)) { + this[_reportError](e, s); + } else + throw e$; + } + }).prototype = io._RawSecureSocket.prototype; + dart.addTypeTests(io._RawSecureSocket); + dart.addTypeCaches(io._RawSecureSocket); + io._RawSecureSocket[dart.implements] = () => [io.RawSecureSocket]; + dart.setMethodSignature(io._RawSecureSocket, () => ({ + __proto__: dart.getMethods(io._RawSecureSocket.__proto__), + listen: dart.fnType(async.StreamSubscription$(io.RawSocketEvent), [dart.nullable(dart.fnType(dart.void, [io.RawSocketEvent]))], {cancelOnError: dart.nullable(core.bool), onDone: dart.nullable(dart.fnType(dart.void, [])), onError: dart.nullable(core.Function)}, {}), + available: dart.fnType(core.int, []), + close: dart.fnType(async.Future$(io.RawSecureSocket), []), + [_completeCloseCompleter]: dart.fnType(dart.void, [], [dart.nullable(io.RawSocket)]), + [_close$]: dart.fnType(dart.void, []), + shutdown: dart.fnType(dart.void, [io.SocketDirection]), + read: dart.fnType(dart.nullable(typed_data.Uint8List), [], [dart.nullable(core.int)]), + write: dart.fnType(core.int, [core.List$(core.int)], [core.int, dart.nullable(core.int)]), + [_onBadCertificateWrapper]: dart.fnType(core.bool, [io.X509Certificate]), + setOption: dart.fnType(core.bool, [io.SocketOption, core.bool]), + getRawOption: dart.fnType(typed_data.Uint8List, [io.RawSocketOption]), + setRawOption: dart.fnType(dart.void, [io.RawSocketOption]), + [_eventDispatcher]: dart.fnType(dart.void, [io.RawSocketEvent]), + [_readHandler]: dart.fnType(dart.void, []), + [_writeHandler]: dart.fnType(dart.void, []), + [_doneHandler]: dart.fnType(dart.void, []), + [_reportError]: dart.fnType(dart.void, [dart.dynamic], [dart.nullable(core.StackTrace)]), + [_closeHandler]: dart.fnType(dart.void, []), + [_secureHandshake]: dart.fnType(async.Future$(dart.void), []), + renegotiate: dart.fnType(dart.void, [], {requestClientCertificate: core.bool, requireClientCertificate: core.bool, useSessionCache: core.bool}, {}), + [_secureHandshakeCompleteHandler]: dart.fnType(dart.void, []), + [_onPauseStateChange]: dart.fnType(dart.void, []), + [_onSubscriptionStateChange]: dart.fnType(dart.void, []), + [_scheduleFilter]: dart.fnType(async.Future$(dart.void), []), + [_tryFilter]: dart.fnType(async.Future$(dart.void), []), + [_readSocketOrBufferedData]: dart.fnType(dart.nullable(core.List$(core.int)), [core.int]), + [_readSocket]: dart.fnType(dart.void, []), + [_writeSocket]: dart.fnType(dart.void, []), + [_scheduleReadEvent]: dart.fnType(dart.dynamic, []), + [_sendReadEvent]: dart.fnType(dart.dynamic, []), + [_sendWriteEvent]: dart.fnType(dart.dynamic, []), + [_pushAllFilterStages]: dart.fnType(async.Future$(io._FilterStatus), []) + })); + dart.setGetterSignature(io._RawSecureSocket, () => ({ + __proto__: dart.getGetters(io._RawSecureSocket.__proto__), + [_socketSubscription]: async.StreamSubscription$(io.RawSocketEvent), + port: core.int, + remoteAddress: io.InternetAddress, + remotePort: core.int, + writeEventsEnabled: core.bool, + readEventsEnabled: core.bool, + peerCertificate: dart.nullable(io.X509Certificate), + selectedProtocol: dart.nullable(core.String) + })); + dart.setSetterSignature(io._RawSecureSocket, () => ({ + __proto__: dart.getSetters(io._RawSecureSocket.__proto__), + [_socketSubscription]: async.StreamSubscription$(io.RawSocketEvent), + [_owner]: dart.dynamic, + writeEventsEnabled: core.bool, + readEventsEnabled: core.bool + })); + dart.setLibraryUri(io._RawSecureSocket, I[105]); + dart.setFieldSignature(io._RawSecureSocket, () => ({ + __proto__: dart.getFields(io._RawSecureSocket.__proto__), + [_socket$]: dart.finalFieldType(io.RawSocket), + [_handshakeComplete]: dart.finalFieldType(async.Completer$(io._RawSecureSocket)), + [_controller]: dart.finalFieldType(async.StreamController$(io.RawSocketEvent)), + [___RawSecureSocket__socketSubscription]: dart.fieldType(dart.nullable(async.StreamSubscription$(io.RawSocketEvent))), + [___RawSecureSocket__socketSubscription_isSet]: dart.fieldType(core.bool), + [_bufferedData$]: dart.fieldType(dart.nullable(core.List$(core.int))), + [_bufferedDataIndex]: dart.fieldType(core.int), + address: dart.finalFieldType(io.InternetAddress), + isServer: dart.finalFieldType(core.bool), + context: dart.finalFieldType(io.SecurityContext), + requestClientCertificate: dart.finalFieldType(core.bool), + requireClientCertificate: dart.finalFieldType(core.bool), + onBadCertificate: dart.finalFieldType(dart.nullable(dart.fnType(core.bool, [io.X509Certificate]))), + [_status]: dart.fieldType(core.int), + [_writeEventsEnabled]: dart.fieldType(core.bool), + [_readEventsEnabled]: dart.fieldType(core.bool), + [_pauseCount]: dart.fieldType(core.int), + [_pendingReadEvent]: dart.fieldType(core.bool), + [_socketClosedRead]: dart.fieldType(core.bool), + [_socketClosedWrite]: dart.fieldType(core.bool), + [_closedRead]: dart.fieldType(core.bool), + [_closedWrite]: dart.fieldType(core.bool), + [_closeCompleter]: dart.fieldType(async.Completer$(io.RawSecureSocket)), + [_filterStatus]: dart.fieldType(io._FilterStatus), + [_connectPending]: dart.fieldType(core.bool), + [_filterPending]: dart.fieldType(core.bool), + [_filterActive]: dart.fieldType(core.bool), + [_secureFilter]: dart.fieldType(dart.nullable(io._SecureFilter)), + [_selectedProtocol]: dart.fieldType(dart.nullable(core.String)) + })); + dart.defineLazy(io._RawSecureSocket, { + /*io._RawSecureSocket.handshakeStatus*/get handshakeStatus() { + return 201; + }, + /*io._RawSecureSocket.connectedStatus*/get connectedStatus() { + return 202; + }, + /*io._RawSecureSocket.closedStatus*/get closedStatus() { + return 203; + }, + /*io._RawSecureSocket.readPlaintextId*/get readPlaintextId() { + return 0; + }, + /*io._RawSecureSocket.writePlaintextId*/get writePlaintextId() { + return 1; + }, + /*io._RawSecureSocket.readEncryptedId*/get readEncryptedId() { + return 2; + }, + /*io._RawSecureSocket.writeEncryptedId*/get writeEncryptedId() { + return 3; + }, + /*io._RawSecureSocket.bufferCount*/get bufferCount() { + return 4; + } + }, false); + io._ExternalBuffer = class _ExternalBuffer extends core.Object { + advanceStart(bytes) { + if (bytes == null) dart.nullFailed(I[124], 1111, 25, "bytes"); + if (!(dart.notNull(this.start) > dart.notNull(this.end) || dart.notNull(this.start) + dart.notNull(bytes) <= dart.notNull(this.end))) dart.assertFailed(null, I[124], 1112, 12, "start > end || start + bytes <= end"); + this.start = dart.notNull(this.start) + dart.notNull(bytes); + if (dart.notNull(this.start) >= dart.notNull(this.size)) { + this.start = dart.notNull(this.start) - dart.notNull(this.size); + if (!(dart.notNull(this.start) <= dart.notNull(this.end))) dart.assertFailed(null, I[124], 1116, 14, "start <= end"); + if (!(dart.notNull(this.start) < dart.notNull(this.size))) dart.assertFailed(null, I[124], 1117, 14, "start < size"); + } + } + advanceEnd(bytes) { + if (bytes == null) dart.nullFailed(I[124], 1121, 23, "bytes"); + if (!(dart.notNull(this.start) <= dart.notNull(this.end) || dart.notNull(this.start) > dart.notNull(this.end) + dart.notNull(bytes))) dart.assertFailed(null, I[124], 1122, 12, "start <= end || start > end + bytes"); + this.end = dart.notNull(this.end) + dart.notNull(bytes); + if (dart.notNull(this.end) >= dart.notNull(this.size)) { + this.end = dart.notNull(this.end) - dart.notNull(this.size); + if (!(dart.notNull(this.end) < dart.notNull(this.start))) dart.assertFailed(null, I[124], 1126, 14, "end < start"); + if (!(dart.notNull(this.end) < dart.notNull(this.size))) dart.assertFailed(null, I[124], 1127, 14, "end < size"); + } + } + get isEmpty() { + return this.end == this.start; + } + get length() { + return dart.notNull(this.start) > dart.notNull(this.end) ? dart.notNull(this.size) + dart.notNull(this.end) - dart.notNull(this.start) : dart.notNull(this.end) - dart.notNull(this.start); + } + get linearLength() { + return dart.notNull(this.start) > dart.notNull(this.end) ? dart.notNull(this.size) - dart.notNull(this.start) : dart.notNull(this.end) - dart.notNull(this.start); + } + get free() { + return dart.notNull(this.start) > dart.notNull(this.end) ? dart.notNull(this.start) - dart.notNull(this.end) - 1 : dart.notNull(this.size) + dart.notNull(this.start) - dart.notNull(this.end) - 1; + } + get linearFree() { + if (dart.notNull(this.start) > dart.notNull(this.end)) return dart.notNull(this.start) - dart.notNull(this.end) - 1; + if (this.start === 0) return dart.notNull(this.size) - dart.notNull(this.end) - 1; + return dart.notNull(this.size) - dart.notNull(this.end); + } + read(bytes) { + if (bytes == null) { + bytes = this.length; + } else { + bytes = math.min(core.int, bytes, this.length); + } + if (bytes === 0) return null; + let result = _native_typed_data.NativeUint8List.new(bytes); + let bytesRead = 0; + while (bytesRead < dart.notNull(bytes)) { + let toRead = math.min(core.int, dart.notNull(bytes) - bytesRead, this.linearLength); + result[$setRange](bytesRead, bytesRead + toRead, dart.nullCheck(this.data), this.start); + this.advanceStart(toRead); + bytesRead = bytesRead + toRead; + } + return result; + } + write(inputData, offset, bytes) { + if (inputData == null) dart.nullFailed(I[124], 1164, 23, "inputData"); + if (offset == null) dart.nullFailed(I[124], 1164, 38, "offset"); + if (bytes == null) dart.nullFailed(I[124], 1164, 50, "bytes"); + if (dart.notNull(bytes) > dart.notNull(this.free)) { + bytes = this.free; + } + let written = 0; + let toWrite = math.min(core.int, bytes, this.linearFree); + while (toWrite > 0) { + dart.nullCheck(this.data)[$setRange](this.end, dart.notNull(this.end) + toWrite, inputData, offset); + this.advanceEnd(toWrite); + offset = dart.notNull(offset) + toWrite; + written = written + toWrite; + toWrite = math.min(core.int, dart.notNull(bytes) - written, this.linearFree); + } + return written; + } + writeFromSource(getData) { + if (getData == null) dart.nullFailed(I[124], 1181, 34, "getData"); + let written = 0; + let toWrite = this.linearFree; + while (dart.notNull(toWrite) > 0) { + let inputData = getData(toWrite); + if (inputData == null || inputData[$length] === 0) break; + let len = inputData[$length]; + dart.nullCheck(this.data)[$setRange](this.end, dart.notNull(this.end) + dart.notNull(len), inputData); + this.advanceEnd(len); + written = written + dart.notNull(len); + toWrite = this.linearFree; + } + return written; + } + readToSocket(socket) { + if (socket == null) dart.nullFailed(I[124], 1198, 31, "socket"); + while (true) { + let toWrite = this.linearLength; + if (toWrite === 0) return false; + let bytes = socket.write(dart.nullCheck(this.data), this.start, toWrite); + this.advanceStart(bytes); + if (dart.notNull(bytes) < dart.notNull(toWrite)) { + return true; + } + } + } + }; + (io._ExternalBuffer.new = function(size) { + if (size == null) dart.nullFailed(I[124], 1106, 23, "size"); + this.data = null; + this.size = size; + this.start = (dart.notNull(size) / 2)[$truncate](); + this.end = (dart.notNull(size) / 2)[$truncate](); + ; + }).prototype = io._ExternalBuffer.prototype; + dart.addTypeTests(io._ExternalBuffer); + dart.addTypeCaches(io._ExternalBuffer); + dart.setMethodSignature(io._ExternalBuffer, () => ({ + __proto__: dart.getMethods(io._ExternalBuffer.__proto__), + advanceStart: dart.fnType(dart.void, [core.int]), + advanceEnd: dart.fnType(dart.void, [core.int]), + read: dart.fnType(dart.nullable(typed_data.Uint8List), [dart.nullable(core.int)]), + write: dart.fnType(core.int, [core.List$(core.int), core.int, core.int]), + writeFromSource: dart.fnType(core.int, [dart.fnType(dart.nullable(core.List$(core.int)), [core.int])]), + readToSocket: dart.fnType(core.bool, [io.RawSocket]) + })); + dart.setGetterSignature(io._ExternalBuffer, () => ({ + __proto__: dart.getGetters(io._ExternalBuffer.__proto__), + isEmpty: core.bool, + length: core.int, + linearLength: core.int, + free: core.int, + linearFree: core.int + })); + dart.setLibraryUri(io._ExternalBuffer, I[105]); + dart.setFieldSignature(io._ExternalBuffer, () => ({ + __proto__: dart.getFields(io._ExternalBuffer.__proto__), + data: dart.fieldType(dart.nullable(core.List$(core.int))), + start: dart.fieldType(core.int), + end: dart.fieldType(core.int), + size: dart.finalFieldType(core.int) + })); + io._SecureFilter = class _SecureFilter extends core.Object {}; + (io._SecureFilter[dart.mixinNew] = function() { + }).prototype = io._SecureFilter.prototype; + dart.addTypeTests(io._SecureFilter); + dart.addTypeCaches(io._SecureFilter); + dart.setLibraryUri(io._SecureFilter, I[105]); + var type$3 = dart.privateName(io, "TlsException.type"); + var message$6 = dart.privateName(io, "TlsException.message"); + var osError$1 = dart.privateName(io, "TlsException.osError"); + io.TlsException = class TlsException extends core.Object { + get type() { + return this[type$3]; + } + set type(value) { + super.type = value; + } + get message() { + return this[message$6]; + } + set message(value) { + super.message = value; + } + get osError() { + return this[osError$1]; + } + set osError(value) { + super.osError = value; + } + toString() { + let sb = new core.StringBuffer.new(); + sb.write(this.type); + if (this.message[$isNotEmpty]) { + sb.write(": " + dart.str(this.message)); + if (this.osError != null) { + sb.write(" (" + dart.str(this.osError) + ")"); + } + } else if (this.osError != null) { + sb.write(": " + dart.str(this.osError)); + } + return sb.toString(); + } + }; + (io.TlsException.new = function(message = "", osError = null) { + if (message == null) dart.nullFailed(I[124], 1251, 30, "message"); + io.TlsException.__.call(this, "TlsException", message, osError); + }).prototype = io.TlsException.prototype; + (io.TlsException.__ = function(type, message, osError) { + if (type == null) dart.nullFailed(I[124], 1254, 29, "type"); + if (message == null) dart.nullFailed(I[124], 1254, 40, "message"); + this[type$3] = type; + this[message$6] = message; + this[osError$1] = osError; + ; + }).prototype = io.TlsException.prototype; + dart.addTypeTests(io.TlsException); + dart.addTypeCaches(io.TlsException); + io.TlsException[dart.implements] = () => [io.IOException]; + dart.setLibraryUri(io.TlsException, I[105]); + dart.setFieldSignature(io.TlsException, () => ({ + __proto__: dart.getFields(io.TlsException.__proto__), + type: dart.finalFieldType(core.String), + message: dart.finalFieldType(core.String), + osError: dart.finalFieldType(dart.nullable(io.OSError)) + })); + dart.defineExtensionMethods(io.TlsException, ['toString']); + io.HandshakeException = class HandshakeException extends io.TlsException {}; + (io.HandshakeException.new = function(message = "", osError = null) { + if (message == null) dart.nullFailed(I[124], 1276, 36, "message"); + io.HandshakeException.__proto__.__.call(this, "HandshakeException", message, osError); + ; + }).prototype = io.HandshakeException.prototype; + dart.addTypeTests(io.HandshakeException); + dart.addTypeCaches(io.HandshakeException); + dart.setLibraryUri(io.HandshakeException, I[105]); + io.CertificateException = class CertificateException extends io.TlsException {}; + (io.CertificateException.new = function(message = "", osError = null) { + if (message == null) dart.nullFailed(I[124], 1285, 38, "message"); + io.CertificateException.__proto__.__.call(this, "CertificateException", message, osError); + ; + }).prototype = io.CertificateException.prototype; + dart.addTypeTests(io.CertificateException); + dart.addTypeCaches(io.CertificateException); + dart.setLibraryUri(io.CertificateException, I[105]); + io.SecurityContext = class SecurityContext extends core.Object { + static new(opts) { + let withTrustedRoots = opts && 'withTrustedRoots' in opts ? opts.withTrustedRoots : false; + if (withTrustedRoots == null) dart.nullFailed(I[107], 531, 33, "withTrustedRoots"); + dart.throw(new core.UnsupportedError.new("SecurityContext constructor")); + } + static get defaultContext() { + dart.throw(new core.UnsupportedError.new("default SecurityContext getter")); + } + static get alpnSupported() { + dart.throw(new core.UnsupportedError.new("SecurityContext alpnSupported getter")); + } + static _protocolsToLengthEncoding(protocols) { + let t211, t211$; + if (protocols == null || protocols[$length] === 0) { + return _native_typed_data.NativeUint8List.new(0); + } + let protocolsLength = protocols[$length]; + let expectedLength = protocolsLength; + for (let i = 0; i < dart.notNull(protocolsLength); i = i + 1) { + let length = protocols[$_get](i).length; + if (length > 0 && length <= 255) { + expectedLength = dart.notNull(expectedLength) + length; + } else { + dart.throw(new core.ArgumentError.new("Length of protocol must be between 1 and 255 (was: " + dart.str(length) + ").")); + } + } + if (dart.notNull(expectedLength) >= 1 << 13) { + dart.throw(new core.ArgumentError.new("The maximum message length supported is 2^13-1.")); + } + let bytes = _native_typed_data.NativeUint8List.new(expectedLength); + let bytesOffset = 0; + for (let i = 0; i < dart.notNull(protocolsLength); i = i + 1) { + let proto = protocols[$_get](i); + bytes[$_set]((t211 = bytesOffset, bytesOffset = t211 + 1, t211), proto.length); + let bits = 0; + for (let j = 0; j < proto.length; j = j + 1) { + let char = proto[$codeUnitAt](j); + bits = (bits | char) >>> 0; + bytes[$_set]((t211$ = bytesOffset, bytesOffset = t211$ + 1, t211$), char & 255); + } + if (bits > 127) { + return io.SecurityContext._protocolsToLengthEncodingNonAsciiBailout(protocols); + } + } + return bytes; + } + static _protocolsToLengthEncodingNonAsciiBailout(protocols) { + if (protocols == null) dart.nullFailed(I[126], 233, 20, "protocols"); + function addProtocol(outBytes, protocol) { + if (outBytes == null) dart.nullFailed(I[126], 234, 32, "outBytes"); + if (protocol == null) dart.nullFailed(I[126], 234, 49, "protocol"); + let protocolBytes = convert.utf8.encode(protocol); + let len = protocolBytes[$length]; + if (dart.notNull(len) > 255) { + dart.throw(new core.ArgumentError.new("Length of protocol must be between 1 and 255 (was: " + dart.str(len) + ")")); + } + outBytes[$add](len); + outBytes[$addAll](protocolBytes); + } + dart.fn(addProtocol, T$0.ListOfintAndStringTovoid()); + let bytes = T$.JSArrayOfint().of([]); + for (let i = 0; i < dart.notNull(protocols[$length]); i = i + 1) { + addProtocol(bytes, protocols[$_get](i)); + } + if (dart.notNull(bytes[$length]) >= 1 << 13) { + dart.throw(new core.ArgumentError.new("The maximum message length supported is 2^13-1.")); + } + return _native_typed_data.NativeUint8List.fromList(bytes); + } + }; + (io.SecurityContext[dart.mixinNew] = function() { + }).prototype = io.SecurityContext.prototype; + dart.addTypeTests(io.SecurityContext); + dart.addTypeCaches(io.SecurityContext); + dart.setLibraryUri(io.SecurityContext, I[105]); + var __serviceId = dart.privateName(io, "__serviceId"); + var _serviceId = dart.privateName(io, "_serviceId"); + var _serviceTypePath = dart.privateName(io, "_serviceTypePath"); + var _servicePath = dart.privateName(io, "_servicePath"); + var _serviceTypeName = dart.privateName(io, "_serviceTypeName"); + var _serviceType = dart.privateName(io, "_serviceType"); + io._ServiceObject = class _ServiceObject extends core.Object { + get [_serviceId]() { + let t211; + if (this[__serviceId] === 0) this[__serviceId] = (t211 = io._nextServiceId, io._nextServiceId = dart.notNull(t211) + 1, t211); + return this[__serviceId]; + } + get [_servicePath]() { + return dart.str(this[_serviceTypePath]) + "/" + dart.str(this[_serviceId]); + } + [_serviceType](ref) { + if (ref == null) dart.nullFailed(I[127], 25, 28, "ref"); + if (dart.test(ref)) return "@" + dart.str(this[_serviceTypeName]); + return this[_serviceTypeName]; + } + }; + (io._ServiceObject.new = function() { + this[__serviceId] = 0; + ; + }).prototype = io._ServiceObject.prototype; + dart.addTypeTests(io._ServiceObject); + dart.addTypeCaches(io._ServiceObject); + dart.setMethodSignature(io._ServiceObject, () => ({ + __proto__: dart.getMethods(io._ServiceObject.__proto__), + [_serviceType]: dart.fnType(core.String, [core.bool]) + })); + dart.setGetterSignature(io._ServiceObject, () => ({ + __proto__: dart.getGetters(io._ServiceObject.__proto__), + [_serviceId]: core.int, + [_servicePath]: core.String + })); + dart.setLibraryUri(io._ServiceObject, I[105]); + dart.setFieldSignature(io._ServiceObject, () => ({ + __proto__: dart.getFields(io._ServiceObject.__proto__), + [__serviceId]: dart.fieldType(core.int) + })); + var _value$1 = dart.privateName(io, "InternetAddressType._value"); + io.InternetAddressType = class InternetAddressType extends core.Object { + get [_value$0]() { + return this[_value$1]; + } + set [_value$0](value) { + super[_value$0] = value; + } + static _from(value) { + if (value == null) dart.nullFailed(I[125], 30, 41, "value"); + if (value == io.InternetAddressType.IPv4[_value$0]) return io.InternetAddressType.IPv4; + if (value == io.InternetAddressType.IPv6[_value$0]) return io.InternetAddressType.IPv6; + if (value == io.InternetAddressType.unix[_value$0]) return io.InternetAddressType.unix; + dart.throw(new core.ArgumentError.new("Invalid type: " + dart.str(value))); + } + get name() { + return (C[178] || CT.C178)[$_get](dart.notNull(this[_value$0]) + 1); + } + toString() { + return "InternetAddressType: " + dart.str(this.name); + } + }; + (io.InternetAddressType.__ = function(_value) { + if (_value == null) dart.nullFailed(I[125], 28, 36, "_value"); + this[_value$1] = _value; + ; + }).prototype = io.InternetAddressType.prototype; + dart.addTypeTests(io.InternetAddressType); + dart.addTypeCaches(io.InternetAddressType); + dart.setGetterSignature(io.InternetAddressType, () => ({ + __proto__: dart.getGetters(io.InternetAddressType.__proto__), + name: core.String + })); + dart.setLibraryUri(io.InternetAddressType, I[105]); + dart.setFieldSignature(io.InternetAddressType, () => ({ + __proto__: dart.getFields(io.InternetAddressType.__proto__), + [_value$0]: dart.finalFieldType(core.int) + })); + dart.defineExtensionMethods(io.InternetAddressType, ['toString']); + dart.defineLazy(io.InternetAddressType, { + /*io.InternetAddressType.IPv4*/get IPv4() { + return C[179] || CT.C179; + }, + /*io.InternetAddressType.IPv6*/get IPv6() { + return C[180] || CT.C180; + }, + /*io.InternetAddressType.unix*/get unix() { + return C[181] || CT.C181; + }, + /*io.InternetAddressType.any*/get any() { + return C[182] || CT.C182; + }, + /*io.InternetAddressType.IP_V4*/get IP_V4() { + return C[179] || CT.C179; + }, + /*io.InternetAddressType.IP_V6*/get IP_V6() { + return C[180] || CT.C180; + }, + /*io.InternetAddressType.ANY*/get ANY() { + return C[182] || CT.C182; + } + }, false); + io.InternetAddress = class InternetAddress extends core.Object { + static get loopbackIPv4() { + return io.InternetAddress.LOOPBACK_IP_V4; + } + static get LOOPBACK_IP_V4() { + dart.throw(new core.UnsupportedError.new("InternetAddress.LOOPBACK_IP_V4")); + } + static get loopbackIPv6() { + return io.InternetAddress.LOOPBACK_IP_V6; + } + static get LOOPBACK_IP_V6() { + dart.throw(new core.UnsupportedError.new("InternetAddress.LOOPBACK_IP_V6")); + } + static get anyIPv4() { + return io.InternetAddress.ANY_IP_V4; + } + static get ANY_IP_V4() { + dart.throw(new core.UnsupportedError.new("InternetAddress.ANY_IP_V4")); + } + static get anyIPv6() { + return io.InternetAddress.ANY_IP_V6; + } + static get ANY_IP_V6() { + dart.throw(new core.UnsupportedError.new("InternetAddress.ANY_IP_V6")); + } + static new(address, opts) { + if (address == null) dart.nullFailed(I[107], 412, 34, "address"); + let type = opts && 'type' in opts ? opts.type : null; + dart.throw(new core.UnsupportedError.new("InternetAddress")); + } + static fromRawAddress(rawAddress, opts) { + if (rawAddress == null) dart.nullFailed(I[107], 417, 52, "rawAddress"); + let type = opts && 'type' in opts ? opts.type : null; + dart.throw(new core.UnsupportedError.new("InternetAddress.fromRawAddress")); + } + static lookup(host, opts) { + if (host == null) dart.nullFailed(I[107], 423, 54, "host"); + let type = opts && 'type' in opts ? opts.type : C[182] || CT.C182; + if (type == null) dart.nullFailed(I[107], 424, 28, "type"); + dart.throw(new core.UnsupportedError.new("InternetAddress.lookup")); + } + static _cloneWithNewHost(address, host) { + if (address == null) dart.nullFailed(I[107], 430, 23, "address"); + if (host == null) dart.nullFailed(I[107], 430, 39, "host"); + dart.throw(new core.UnsupportedError.new("InternetAddress._cloneWithNewHost")); + } + static tryParse(address) { + if (address == null) dart.nullFailed(I[107], 435, 43, "address"); + dart.throw(new core.UnsupportedError.new("InternetAddress.tryParse")); + } + }; + (io.InternetAddress[dart.mixinNew] = function() { + }).prototype = io.InternetAddress.prototype; + dart.addTypeTests(io.InternetAddress); + dart.addTypeCaches(io.InternetAddress); + dart.setLibraryUri(io.InternetAddress, I[105]); + io.NetworkInterface = class NetworkInterface extends core.Object { + static get listSupported() { + dart.throw(new core.UnsupportedError.new("NetworkInterface.listSupported")); + } + static list(opts) { + let includeLoopback = opts && 'includeLoopback' in opts ? opts.includeLoopback : false; + if (includeLoopback == null) dart.nullFailed(I[107], 449, 13, "includeLoopback"); + let includeLinkLocal = opts && 'includeLinkLocal' in opts ? opts.includeLinkLocal : false; + if (includeLinkLocal == null) dart.nullFailed(I[107], 450, 12, "includeLinkLocal"); + let type = opts && 'type' in opts ? opts.type : C[182] || CT.C182; + if (type == null) dart.nullFailed(I[107], 451, 27, "type"); + dart.throw(new core.UnsupportedError.new("NetworkInterface.list")); + } + }; + (io.NetworkInterface.new = function() { + ; + }).prototype = io.NetworkInterface.prototype; + dart.addTypeTests(io.NetworkInterface); + dart.addTypeCaches(io.NetworkInterface); + dart.setLibraryUri(io.NetworkInterface, I[105]); + io.RawServerSocket = class RawServerSocket extends core.Object { + static bind(address, port, opts) { + if (port == null) dart.nullFailed(I[107], 459, 52, "port"); + let backlog = opts && 'backlog' in opts ? opts.backlog : 0; + if (backlog == null) dart.nullFailed(I[107], 460, 12, "backlog"); + let v6Only = opts && 'v6Only' in opts ? opts.v6Only : false; + if (v6Only == null) dart.nullFailed(I[107], 460, 30, "v6Only"); + let shared = opts && 'shared' in opts ? opts.shared : false; + if (shared == null) dart.nullFailed(I[107], 460, 51, "shared"); + dart.throw(new core.UnsupportedError.new("RawServerSocket.bind")); + } + }; + (io.RawServerSocket.new = function() { + ; + }).prototype = io.RawServerSocket.prototype; + io.RawServerSocket.prototype[dart.isStream] = true; + dart.addTypeTests(io.RawServerSocket); + dart.addTypeCaches(io.RawServerSocket); + io.RawServerSocket[dart.implements] = () => [async.Stream$(io.RawSocket)]; + dart.setLibraryUri(io.RawServerSocket, I[105]); + io.ServerSocket = class ServerSocket extends core.Object { + static bind(address, port, opts) { + if (port == null) dart.nullFailed(I[125], 318, 49, "port"); + let backlog = opts && 'backlog' in opts ? opts.backlog : 0; + if (backlog == null) dart.nullFailed(I[125], 319, 12, "backlog"); + let v6Only = opts && 'v6Only' in opts ? opts.v6Only : false; + if (v6Only == null) dart.nullFailed(I[125], 319, 30, "v6Only"); + let shared = opts && 'shared' in opts ? opts.shared : false; + if (shared == null) dart.nullFailed(I[125], 319, 51, "shared"); + let overrides = io.IOOverrides.current; + if (overrides == null) { + return io.ServerSocket._bind(address, port, {backlog: backlog, v6Only: v6Only, shared: shared}); + } + return overrides.serverSocketBind(address, port, {backlog: backlog, v6Only: v6Only, shared: shared}); + } + static _bind(address, port, opts) { + if (port == null) dart.nullFailed(I[107], 468, 50, "port"); + let backlog = opts && 'backlog' in opts ? opts.backlog : 0; + if (backlog == null) dart.nullFailed(I[107], 469, 12, "backlog"); + let v6Only = opts && 'v6Only' in opts ? opts.v6Only : false; + if (v6Only == null) dart.nullFailed(I[107], 469, 30, "v6Only"); + let shared = opts && 'shared' in opts ? opts.shared : false; + if (shared == null) dart.nullFailed(I[107], 469, 51, "shared"); + dart.throw(new core.UnsupportedError.new("ServerSocket.bind")); + } + }; + (io.ServerSocket.new = function() { + ; + }).prototype = io.ServerSocket.prototype; + io.ServerSocket.prototype[dart.isStream] = true; + dart.addTypeTests(io.ServerSocket); + dart.addTypeCaches(io.ServerSocket); + io.ServerSocket[dart.implements] = () => [async.Stream$(io.Socket)]; + dart.setLibraryUri(io.ServerSocket, I[105]); + var _value$2 = dart.privateName(io, "SocketDirection._value"); + io.SocketDirection = class SocketDirection extends core.Object { + get [_value$0]() { + return this[_value$2]; + } + set [_value$0](value) { + super[_value$0] = value; + } + }; + (io.SocketDirection.__ = function(_value) { + this[_value$2] = _value; + ; + }).prototype = io.SocketDirection.prototype; + dart.addTypeTests(io.SocketDirection); + dart.addTypeCaches(io.SocketDirection); + dart.setLibraryUri(io.SocketDirection, I[105]); + dart.setFieldSignature(io.SocketDirection, () => ({ + __proto__: dart.getFields(io.SocketDirection.__proto__), + [_value$0]: dart.finalFieldType(dart.dynamic) + })); + dart.defineLazy(io.SocketDirection, { + /*io.SocketDirection.receive*/get receive() { + return C[183] || CT.C183; + }, + /*io.SocketDirection.send*/get send() { + return C[184] || CT.C184; + }, + /*io.SocketDirection.both*/get both() { + return C[185] || CT.C185; + }, + /*io.SocketDirection.RECEIVE*/get RECEIVE() { + return C[183] || CT.C183; + }, + /*io.SocketDirection.SEND*/get SEND() { + return C[184] || CT.C184; + }, + /*io.SocketDirection.BOTH*/get BOTH() { + return C[185] || CT.C185; + } + }, false); + var _value$3 = dart.privateName(io, "SocketOption._value"); + io.SocketOption = class SocketOption extends core.Object { + get [_value$0]() { + return this[_value$3]; + } + set [_value$0](value) { + super[_value$0] = value; + } + }; + (io.SocketOption.__ = function(_value) { + this[_value$3] = _value; + ; + }).prototype = io.SocketOption.prototype; + dart.addTypeTests(io.SocketOption); + dart.addTypeCaches(io.SocketOption); + dart.setLibraryUri(io.SocketOption, I[105]); + dart.setFieldSignature(io.SocketOption, () => ({ + __proto__: dart.getFields(io.SocketOption.__proto__), + [_value$0]: dart.finalFieldType(dart.dynamic) + })); + dart.defineLazy(io.SocketOption, { + /*io.SocketOption.tcpNoDelay*/get tcpNoDelay() { + return C[186] || CT.C186; + }, + /*io.SocketOption.TCP_NODELAY*/get TCP_NODELAY() { + return C[186] || CT.C186; + }, + /*io.SocketOption._ipMulticastLoop*/get _ipMulticastLoop() { + return C[187] || CT.C187; + }, + /*io.SocketOption._ipMulticastHops*/get _ipMulticastHops() { + return C[188] || CT.C188; + }, + /*io.SocketOption._ipMulticastIf*/get _ipMulticastIf() { + return C[189] || CT.C189; + }, + /*io.SocketOption._ipBroadcast*/get _ipBroadcast() { + return C[190] || CT.C190; + } + }, false); + io._RawSocketOptions = class _RawSocketOptions extends core.Object { + toString() { + return this[_name$4]; + } + }; + (io._RawSocketOptions.new = function(index, _name) { + if (index == null) dart.nullFailed(I[125], 390, 6, "index"); + if (_name == null) dart.nullFailed(I[125], 390, 6, "_name"); + this.index = index; + this[_name$4] = _name; + ; + }).prototype = io._RawSocketOptions.prototype; + dart.addTypeTests(io._RawSocketOptions); + dart.addTypeCaches(io._RawSocketOptions); + dart.setLibraryUri(io._RawSocketOptions, I[105]); + dart.setFieldSignature(io._RawSocketOptions, () => ({ + __proto__: dart.getFields(io._RawSocketOptions.__proto__), + index: dart.finalFieldType(core.int), + [_name$4]: dart.finalFieldType(core.String) + })); + dart.defineExtensionMethods(io._RawSocketOptions, ['toString']); + io._RawSocketOptions.SOL_SOCKET = C[191] || CT.C191; + io._RawSocketOptions.IPPROTO_IP = C[192] || CT.C192; + io._RawSocketOptions.IP_MULTICAST_IF = C[193] || CT.C193; + io._RawSocketOptions.IPPROTO_IPV6 = C[194] || CT.C194; + io._RawSocketOptions.IPV6_MULTICAST_IF = C[195] || CT.C195; + io._RawSocketOptions.IPPROTO_TCP = C[196] || CT.C196; + io._RawSocketOptions.IPPROTO_UDP = C[197] || CT.C197; + io._RawSocketOptions.values = C[198] || CT.C198; + var level$2 = dart.privateName(io, "RawSocketOption.level"); + var option$ = dart.privateName(io, "RawSocketOption.option"); + var value$3 = dart.privateName(io, "RawSocketOption.value"); + io.RawSocketOption = class RawSocketOption extends core.Object { + get level() { + return this[level$2]; + } + set level(value) { + super.level = value; + } + get option() { + return this[option$]; + } + set option(value) { + super.option = value; + } + get value() { + return this[value$3]; + } + set value(value) { + super.value = value; + } + static fromInt(level, option, value) { + if (level == null) dart.nullFailed(I[125], 426, 39, "level"); + if (option == null) dart.nullFailed(I[125], 426, 50, "option"); + if (value == null) dart.nullFailed(I[125], 426, 62, "value"); + let list = _native_typed_data.NativeUint8List.new(4); + let buffer = typed_data.ByteData.view(list[$buffer], list[$offsetInBytes]); + buffer[$setInt32](0, value, typed_data.Endian.host); + return new io.RawSocketOption.new(level, option, list); + } + static fromBool(level, option, value) { + if (level == null) dart.nullFailed(I[125], 434, 40, "level"); + if (option == null) dart.nullFailed(I[125], 434, 51, "option"); + if (value == null) dart.nullFailed(I[125], 434, 64, "value"); + return io.RawSocketOption.fromInt(level, option, dart.test(value) ? 1 : 0); + } + static get levelSocket() { + return io.RawSocketOption._getOptionValue(io._RawSocketOptions.SOL_SOCKET.index); + } + static get levelIPv4() { + return io.RawSocketOption._getOptionValue(io._RawSocketOptions.IPPROTO_IP.index); + } + static get IPv4MulticastInterface() { + return io.RawSocketOption._getOptionValue(io._RawSocketOptions.IP_MULTICAST_IF.index); + } + static get levelIPv6() { + return io.RawSocketOption._getOptionValue(io._RawSocketOptions.IPPROTO_IPV6.index); + } + static get IPv6MulticastInterface() { + return io.RawSocketOption._getOptionValue(io._RawSocketOptions.IPV6_MULTICAST_IF.index); + } + static get levelTcp() { + return io.RawSocketOption._getOptionValue(io._RawSocketOptions.IPPROTO_TCP.index); + } + static get levelUdp() { + return io.RawSocketOption._getOptionValue(io._RawSocketOptions.IPPROTO_UDP.index); + } + static _getOptionValue(key) { + if (key == null) dart.nullFailed(I[107], 523, 34, "key"); + dart.throw(new core.UnsupportedError.new("RawSocketOption._getOptionValue")); + } + }; + (io.RawSocketOption.new = function(level, option, value) { + if (level == null) dart.nullFailed(I[125], 423, 30, "level"); + if (option == null) dart.nullFailed(I[125], 423, 42, "option"); + if (value == null) dart.nullFailed(I[125], 423, 55, "value"); + this[level$2] = level; + this[option$] = option; + this[value$3] = value; + ; + }).prototype = io.RawSocketOption.prototype; + dart.addTypeTests(io.RawSocketOption); + dart.addTypeCaches(io.RawSocketOption); + dart.setLibraryUri(io.RawSocketOption, I[105]); + dart.setFieldSignature(io.RawSocketOption, () => ({ + __proto__: dart.getFields(io.RawSocketOption.__proto__), + level: dart.finalFieldType(core.int), + option: dart.finalFieldType(core.int), + value: dart.finalFieldType(typed_data.Uint8List) + })); + var socket$ = dart.privateName(io, "ConnectionTask.socket"); + const _is_ConnectionTask_default = Symbol('_is_ConnectionTask_default'); + io.ConnectionTask$ = dart.generic(S => { + class ConnectionTask extends core.Object { + get socket() { + return this[socket$]; + } + set socket(value) { + super.socket = value; + } + cancel() { + this[_onCancel$](); + } + } + (ConnectionTask.__ = function(socket, onCancel) { + if (socket == null) dart.nullFailed(I[125], 542, 35, "socket"); + if (onCancel == null) dart.nullFailed(I[125], 542, 59, "onCancel"); + this[socket$] = socket; + this[_onCancel$] = onCancel; + ; + }).prototype = ConnectionTask.prototype; + dart.addTypeTests(ConnectionTask); + ConnectionTask.prototype[_is_ConnectionTask_default] = true; + dart.addTypeCaches(ConnectionTask); + dart.setMethodSignature(ConnectionTask, () => ({ + __proto__: dart.getMethods(ConnectionTask.__proto__), + cancel: dart.fnType(dart.void, []) + })); + dart.setLibraryUri(ConnectionTask, I[105]); + dart.setFieldSignature(ConnectionTask, () => ({ + __proto__: dart.getFields(ConnectionTask.__proto__), + socket: dart.finalFieldType(async.Future$(S)), + [_onCancel$]: dart.finalFieldType(dart.fnType(dart.void, [])) + })); + return ConnectionTask; + }); + io.ConnectionTask = io.ConnectionTask$(); + dart.addTypeTests(io.ConnectionTask, _is_ConnectionTask_default); + io.RawSocket = class RawSocket extends core.Object { + static connect(host, port, opts) { + if (port == null) dart.nullFailed(I[107], 477, 54, "port"); + let sourceAddress = opts && 'sourceAddress' in opts ? opts.sourceAddress : null; + let timeout = opts && 'timeout' in opts ? opts.timeout : null; + dart.throw(new core.UnsupportedError.new("RawSocket constructor")); + } + static startConnect(host, port, opts) { + if (port == null) dart.nullFailed(I[107], 483, 75, "port"); + let sourceAddress = opts && 'sourceAddress' in opts ? opts.sourceAddress : null; + dart.throw(new core.UnsupportedError.new("RawSocket constructor")); + } + }; + (io.RawSocket.new = function() { + ; + }).prototype = io.RawSocket.prototype; + io.RawSocket.prototype[dart.isStream] = true; + dart.addTypeTests(io.RawSocket); + dart.addTypeCaches(io.RawSocket); + io.RawSocket[dart.implements] = () => [async.Stream$(io.RawSocketEvent)]; + dart.setLibraryUri(io.RawSocket, I[105]); + io.Socket = class Socket extends core.Object { + static connect(host, port, opts) { + if (port == null) dart.nullFailed(I[125], 720, 43, "port"); + let sourceAddress = opts && 'sourceAddress' in opts ? opts.sourceAddress : null; + let timeout = opts && 'timeout' in opts ? opts.timeout : null; + let overrides = io.IOOverrides.current; + if (overrides == null) { + return io.Socket._connect(host, port, {sourceAddress: sourceAddress, timeout: timeout}); + } + return overrides.socketConnect(host, port, {sourceAddress: sourceAddress, timeout: timeout}); + } + static startConnect(host, port, opts) { + if (port == null) dart.nullFailed(I[125], 734, 64, "port"); + let sourceAddress = opts && 'sourceAddress' in opts ? opts.sourceAddress : null; + let overrides = io.IOOverrides.current; + if (overrides == null) { + return io.Socket._startConnect(host, port, {sourceAddress: sourceAddress}); + } + return overrides.socketStartConnect(host, port, {sourceAddress: sourceAddress}); + } + static _connect(host, port, opts) { + if (port == null) dart.nullFailed(I[107], 492, 52, "port"); + let sourceAddress = opts && 'sourceAddress' in opts ? opts.sourceAddress : null; + let timeout = opts && 'timeout' in opts ? opts.timeout : null; + dart.throw(new core.UnsupportedError.new("Socket constructor")); + } + static _startConnect(host, port, opts) { + if (port == null) dart.nullFailed(I[107], 498, 73, "port"); + let sourceAddress = opts && 'sourceAddress' in opts ? opts.sourceAddress : null; + dart.throw(new core.UnsupportedError.new("Socket constructor")); + } + }; + (io.Socket.new = function() { + ; + }).prototype = io.Socket.prototype; + io.Socket.prototype[dart.isStream] = true; + dart.addTypeTests(io.Socket); + dart.addTypeCaches(io.Socket); + io.Socket[dart.implements] = () => [async.Stream$(typed_data.Uint8List), io.IOSink]; + dart.setLibraryUri(io.Socket, I[105]); + var data$ = dart.privateName(io, "Datagram.data"); + var address$ = dart.privateName(io, "Datagram.address"); + var port$ = dart.privateName(io, "Datagram.port"); + io.Datagram = class Datagram extends core.Object { + get data() { + return this[data$]; + } + set data(value) { + this[data$] = value; + } + get address() { + return this[address$]; + } + set address(value) { + this[address$] = value; + } + get port() { + return this[port$]; + } + set port(value) { + this[port$] = value; + } + }; + (io.Datagram.new = function(data, address, port) { + if (data == null) dart.nullFailed(I[125], 825, 17, "data"); + if (address == null) dart.nullFailed(I[125], 825, 28, "address"); + if (port == null) dart.nullFailed(I[125], 825, 42, "port"); + this[data$] = data; + this[address$] = address; + this[port$] = port; + ; + }).prototype = io.Datagram.prototype; + dart.addTypeTests(io.Datagram); + dart.addTypeCaches(io.Datagram); + dart.setLibraryUri(io.Datagram, I[105]); + dart.setFieldSignature(io.Datagram, () => ({ + __proto__: dart.getFields(io.Datagram.__proto__), + data: dart.fieldType(typed_data.Uint8List), + address: dart.fieldType(io.InternetAddress), + port: dart.fieldType(core.int) + })); + var multicastInterface = dart.privateName(io, "RawDatagramSocket.multicastInterface"); + io.RawDatagramSocket = class RawDatagramSocket extends async.Stream$(io.RawSocketEvent) { + get multicastInterface() { + return this[multicastInterface]; + } + set multicastInterface(value) { + this[multicastInterface] = value; + } + static bind(host, port, opts) { + if (port == null) dart.nullFailed(I[107], 557, 59, "port"); + let reuseAddress = opts && 'reuseAddress' in opts ? opts.reuseAddress : true; + if (reuseAddress == null) dart.nullFailed(I[107], 558, 13, "reuseAddress"); + let reusePort = opts && 'reusePort' in opts ? opts.reusePort : false; + if (reusePort == null) dart.nullFailed(I[107], 558, 39, "reusePort"); + let ttl = opts && 'ttl' in opts ? opts.ttl : 1; + if (ttl == null) dart.nullFailed(I[107], 558, 62, "ttl"); + dart.throw(new core.UnsupportedError.new("RawDatagramSocket.bind")); + } + }; + (io.RawDatagramSocket.new = function() { + this[multicastInterface] = null; + io.RawDatagramSocket.__proto__.new.call(this); + ; + }).prototype = io.RawDatagramSocket.prototype; + dart.addTypeTests(io.RawDatagramSocket); + dart.addTypeCaches(io.RawDatagramSocket); + dart.setLibraryUri(io.RawDatagramSocket, I[105]); + dart.setFieldSignature(io.RawDatagramSocket, () => ({ + __proto__: dart.getFields(io.RawDatagramSocket.__proto__), + multicastInterface: dart.fieldType(dart.nullable(io.NetworkInterface)) + })); + var message$7 = dart.privateName(io, "SocketException.message"); + var osError$2 = dart.privateName(io, "SocketException.osError"); + var address$0 = dart.privateName(io, "SocketException.address"); + var port$0 = dart.privateName(io, "SocketException.port"); + io.SocketException = class SocketException extends core.Object { + get message() { + return this[message$7]; + } + set message(value) { + super.message = value; + } + get osError() { + return this[osError$2]; + } + set osError(value) { + super.osError = value; + } + get address() { + return this[address$0]; + } + set address(value) { + super.address = value; + } + get port() { + return this[port$0]; + } + set port(value) { + super.port = value; + } + toString() { + let sb = new core.StringBuffer.new(); + sb.write("SocketException"); + if (this.message[$isNotEmpty]) { + sb.write(": " + dart.str(this.message)); + if (this.osError != null) { + sb.write(" (" + dart.str(this.osError) + ")"); + } + } else if (this.osError != null) { + sb.write(": " + dart.str(this.osError)); + } + if (this.address != null) { + sb.write(", address = " + dart.str(dart.nullCheck(this.address).host)); + } + if (this.port != null) { + sb.write(", port = " + dart.str(this.port)); + } + return sb.toString(); + } + }; + (io.SocketException.new = function(message, opts) { + if (message == null) dart.nullFailed(I[125], 985, 30, "message"); + let osError = opts && 'osError' in opts ? opts.osError : null; + let address = opts && 'address' in opts ? opts.address : null; + let port = opts && 'port' in opts ? opts.port : null; + this[message$7] = message; + this[osError$2] = osError; + this[address$0] = address; + this[port$0] = port; + ; + }).prototype = io.SocketException.prototype; + (io.SocketException.closed = function() { + this[message$7] = "Socket has been closed"; + this[osError$2] = null; + this[address$0] = null; + this[port$0] = null; + ; + }).prototype = io.SocketException.prototype; + dart.addTypeTests(io.SocketException); + dart.addTypeCaches(io.SocketException); + io.SocketException[dart.implements] = () => [io.IOException]; + dart.setLibraryUri(io.SocketException, I[105]); + dart.setFieldSignature(io.SocketException, () => ({ + __proto__: dart.getFields(io.SocketException.__proto__), + message: dart.finalFieldType(core.String), + osError: dart.finalFieldType(dart.nullable(io.OSError)), + address: dart.finalFieldType(dart.nullable(io.InternetAddress)), + port: dart.finalFieldType(dart.nullable(core.int)) + })); + dart.defineExtensionMethods(io.SocketException, ['toString']); + var _stream$0 = dart.privateName(io, "_stream"); + io._StdStream = class _StdStream extends async.Stream$(core.List$(core.int)) { + listen(onData, opts) { + let onError = opts && 'onError' in opts ? opts.onError : null; + let onDone = opts && 'onDone' in opts ? opts.onDone : null; + let cancelOnError = opts && 'cancelOnError' in opts ? opts.cancelOnError : null; + return this[_stream$0].listen(onData, {onError: onError, onDone: onDone, cancelOnError: cancelOnError}); + } + }; + (io._StdStream.new = function(_stream) { + if (_stream == null) dart.nullFailed(I[128], 18, 19, "_stream"); + this[_stream$0] = _stream; + io._StdStream.__proto__.new.call(this); + ; + }).prototype = io._StdStream.prototype; + dart.addTypeTests(io._StdStream); + dart.addTypeCaches(io._StdStream); + dart.setMethodSignature(io._StdStream, () => ({ + __proto__: dart.getMethods(io._StdStream.__proto__), + listen: dart.fnType(async.StreamSubscription$(core.List$(core.int)), [dart.nullable(dart.fnType(dart.void, [core.List$(core.int)]))], {cancelOnError: dart.nullable(core.bool), onDone: dart.nullable(dart.fnType(dart.void, [])), onError: dart.nullable(core.Function)}, {}) + })); + dart.setLibraryUri(io._StdStream, I[105]); + dart.setFieldSignature(io._StdStream, () => ({ + __proto__: dart.getFields(io._StdStream.__proto__), + [_stream$0]: dart.finalFieldType(async.Stream$(core.List$(core.int))) + })); + var _fd$ = dart.privateName(io, "_fd"); + io.Stdin = class Stdin extends io._StdStream { + readLineSync(opts) { + let encoding = opts && 'encoding' in opts ? opts.encoding : C[143] || CT.C143; + if (encoding == null) dart.nullFailed(I[128], 57, 17, "encoding"); + let retainNewlines = opts && 'retainNewlines' in opts ? opts.retainNewlines : false; + if (retainNewlines == null) dart.nullFailed(I[128], 57, 49, "retainNewlines"); + let line = T$.JSArrayOfint().of([]); + let crIsNewline = dart.test(io.Platform.isWindows) && dart.equals(io.stdioType(io.stdin), io.StdioType.terminal) && !dart.test(this.lineMode); + if (dart.test(retainNewlines)) { + let byte = null; + do { + byte = this.readByteSync(); + if (dart.notNull(byte) < 0) { + break; + } + line[$add](byte); + } while (byte !== 10 && !(byte === 13 && crIsNewline)); + if (dart.test(line[$isEmpty])) { + return null; + } + } else if (crIsNewline) { + while (true) { + let byte = this.readByteSync(); + if (dart.notNull(byte) < 0) { + if (dart.test(line[$isEmpty])) return null; + break; + } + if (byte === 10 || byte === 13) break; + line[$add](byte); + } + } else { + L2: + while (true) { + let byte = this.readByteSync(); + if (byte === 10) break; + if (byte === 13) { + do { + byte = this.readByteSync(); + if (byte === 10) break L2; + line[$add](13); + } while (byte === 13); + } + if (dart.notNull(byte) < 0) { + if (dart.test(line[$isEmpty])) return null; + break; + } + line[$add](byte); + } + } + return encoding.decode(line); + } + get echoMode() { + dart.throw(new core.UnsupportedError.new("Stdin.echoMode")); + } + set echoMode(enabled) { + if (enabled == null) dart.nullFailed(I[107], 644, 26, "enabled"); + dart.throw(new core.UnsupportedError.new("Stdin.echoMode")); + } + get lineMode() { + dart.throw(new core.UnsupportedError.new("Stdin.lineMode")); + } + set lineMode(enabled) { + if (enabled == null) dart.nullFailed(I[107], 654, 26, "enabled"); + dart.throw(new core.UnsupportedError.new("Stdin.lineMode")); + } + get supportsAnsiEscapes() { + dart.throw(new core.UnsupportedError.new("Stdin.supportsAnsiEscapes")); + } + readByteSync() { + dart.throw(new core.UnsupportedError.new("Stdin.readByteSync")); + } + get hasTerminal() { + try { + return dart.equals(io.stdioType(this), io.StdioType.terminal); + } catch (e) { + let _ = dart.getThrown(e); + if (io.FileSystemException.is(_)) { + return false; + } else + throw e; + } + } + }; + (io.Stdin.__ = function(stream, _fd) { + if (stream == null) dart.nullFailed(I[128], 36, 29, "stream"); + if (_fd == null) dart.nullFailed(I[128], 36, 42, "_fd"); + this[_fd$] = _fd; + io.Stdin.__proto__.new.call(this, stream); + ; + }).prototype = io.Stdin.prototype; + io.Stdin.prototype[dart.isStream] = true; + dart.addTypeTests(io.Stdin); + dart.addTypeCaches(io.Stdin); + io.Stdin[dart.implements] = () => [async.Stream$(core.List$(core.int))]; + dart.setMethodSignature(io.Stdin, () => ({ + __proto__: dart.getMethods(io.Stdin.__proto__), + readLineSync: dart.fnType(dart.nullable(core.String), [], {encoding: convert.Encoding, retainNewlines: core.bool}, {}), + readByteSync: dart.fnType(core.int, []) + })); + dart.setGetterSignature(io.Stdin, () => ({ + __proto__: dart.getGetters(io.Stdin.__proto__), + echoMode: core.bool, + lineMode: core.bool, + supportsAnsiEscapes: core.bool, + hasTerminal: core.bool + })); + dart.setSetterSignature(io.Stdin, () => ({ + __proto__: dart.getSetters(io.Stdin.__proto__), + echoMode: core.bool, + lineMode: core.bool + })); + dart.setLibraryUri(io.Stdin, I[105]); + dart.setFieldSignature(io.Stdin, () => ({ + __proto__: dart.getFields(io.Stdin.__proto__), + [_fd$]: dart.fieldType(core.int) + })); + var _nonBlocking = dart.privateName(io, "_nonBlocking"); + var _hasTerminal = dart.privateName(io, "_hasTerminal"); + var _terminalColumns = dart.privateName(io, "_terminalColumns"); + var _terminalLines = dart.privateName(io, "_terminalLines"); + io._StdSink = class _StdSink extends core.Object { + get encoding() { + return this[_sink$1].encoding; + } + set encoding(encoding) { + if (encoding == null) dart.nullFailed(I[128], 310, 30, "encoding"); + this[_sink$1].encoding = encoding; + } + write(object) { + this[_sink$1].write(object); + } + writeln(object = "") { + this[_sink$1].writeln(object); + } + writeAll(objects, sep = "") { + if (objects == null) dart.nullFailed(I[128], 322, 26, "objects"); + if (sep == null) dart.nullFailed(I[128], 322, 43, "sep"); + this[_sink$1].writeAll(objects, sep); + } + add(data) { + T$0.ListOfint().as(data); + if (data == null) dart.nullFailed(I[128], 326, 22, "data"); + this[_sink$1].add(data); + } + addError(error, stackTrace = null) { + if (error == null) dart.nullFailed(I[128], 330, 17, "error"); + this[_sink$1].addError(error, stackTrace); + } + writeCharCode(charCode) { + if (charCode == null) dart.nullFailed(I[128], 334, 26, "charCode"); + this[_sink$1].writeCharCode(charCode); + } + addStream(stream) { + T$0.StreamOfListOfint().as(stream); + if (stream == null) dart.nullFailed(I[128], 338, 38, "stream"); + return this[_sink$1].addStream(stream); + } + flush() { + return this[_sink$1].flush(); + } + close() { + return this[_sink$1].close(); + } + get done() { + return this[_sink$1].done; + } + }; + (io._StdSink.new = function(_sink) { + if (_sink == null) dart.nullFailed(I[128], 307, 17, "_sink"); + this[_sink$1] = _sink; + ; + }).prototype = io._StdSink.prototype; + dart.addTypeTests(io._StdSink); + dart.addTypeCaches(io._StdSink); + io._StdSink[dart.implements] = () => [io.IOSink]; + dart.setMethodSignature(io._StdSink, () => ({ + __proto__: dart.getMethods(io._StdSink.__proto__), + write: dart.fnType(dart.void, [dart.nullable(core.Object)]), + writeln: dart.fnType(dart.void, [], [dart.nullable(core.Object)]), + writeAll: dart.fnType(dart.void, [core.Iterable], [core.String]), + add: dart.fnType(dart.void, [dart.nullable(core.Object)]), + addError: dart.fnType(dart.void, [core.Object], [dart.nullable(core.StackTrace)]), + writeCharCode: dart.fnType(dart.void, [core.int]), + addStream: dart.fnType(async.Future, [dart.nullable(core.Object)]), + flush: dart.fnType(async.Future, []), + close: dart.fnType(async.Future, []) + })); + dart.setGetterSignature(io._StdSink, () => ({ + __proto__: dart.getGetters(io._StdSink.__proto__), + encoding: convert.Encoding, + done: async.Future + })); + dart.setSetterSignature(io._StdSink, () => ({ + __proto__: dart.getSetters(io._StdSink.__proto__), + encoding: convert.Encoding + })); + dart.setLibraryUri(io._StdSink, I[105]); + dart.setFieldSignature(io._StdSink, () => ({ + __proto__: dart.getFields(io._StdSink.__proto__), + [_sink$1]: dart.finalFieldType(io.IOSink) + })); + io.Stdout = class Stdout extends io._StdSink { + get hasTerminal() { + return this[_hasTerminal](this[_fd$]); + } + get terminalColumns() { + return this[_terminalColumns](this[_fd$]); + } + get terminalLines() { + return this[_terminalLines](this[_fd$]); + } + get supportsAnsiEscapes() { + return io.Stdout._supportsAnsiEscapes(this[_fd$]); + } + [_hasTerminal](fd) { + if (fd == null) dart.nullFailed(I[107], 667, 25, "fd"); + dart.throw(new core.UnsupportedError.new("Stdout.hasTerminal")); + } + [_terminalColumns](fd) { + if (fd == null) dart.nullFailed(I[107], 672, 28, "fd"); + dart.throw(new core.UnsupportedError.new("Stdout.terminalColumns")); + } + [_terminalLines](fd) { + if (fd == null) dart.nullFailed(I[107], 677, 26, "fd"); + dart.throw(new core.UnsupportedError.new("Stdout.terminalLines")); + } + static _supportsAnsiEscapes(fd) { + if (fd == null) dart.nullFailed(I[107], 682, 40, "fd"); + dart.throw(new core.UnsupportedError.new("Stdout.supportsAnsiEscapes")); + } + get nonBlocking() { + let t212; + t212 = this[_nonBlocking]; + return t212 == null ? this[_nonBlocking] = io.IOSink.new(new io._FileStreamConsumer.fromStdio(this[_fd$])) : t212; + } + }; + (io.Stdout.__ = function(sink, _fd) { + if (sink == null) dart.nullFailed(I[128], 196, 19, "sink"); + if (_fd == null) dart.nullFailed(I[128], 196, 30, "_fd"); + this[_nonBlocking] = null; + this[_fd$] = _fd; + io.Stdout.__proto__.new.call(this, sink); + ; + }).prototype = io.Stdout.prototype; + dart.addTypeTests(io.Stdout); + dart.addTypeCaches(io.Stdout); + io.Stdout[dart.implements] = () => [io.IOSink]; + dart.setMethodSignature(io.Stdout, () => ({ + __proto__: dart.getMethods(io.Stdout.__proto__), + [_hasTerminal]: dart.fnType(core.bool, [core.int]), + [_terminalColumns]: dart.fnType(core.int, [core.int]), + [_terminalLines]: dart.fnType(core.int, [core.int]) + })); + dart.setGetterSignature(io.Stdout, () => ({ + __proto__: dart.getGetters(io.Stdout.__proto__), + hasTerminal: core.bool, + terminalColumns: core.int, + terminalLines: core.int, + supportsAnsiEscapes: core.bool, + nonBlocking: io.IOSink + })); + dart.setLibraryUri(io.Stdout, I[105]); + dart.setFieldSignature(io.Stdout, () => ({ + __proto__: dart.getFields(io.Stdout.__proto__), + [_fd$]: dart.finalFieldType(core.int), + [_nonBlocking]: dart.fieldType(dart.nullable(io.IOSink)) + })); + var message$8 = dart.privateName(io, "StdoutException.message"); + var osError$3 = dart.privateName(io, "StdoutException.osError"); + io.StdoutException = class StdoutException extends core.Object { + get message() { + return this[message$8]; + } + set message(value) { + super.message = value; + } + get osError() { + return this[osError$3]; + } + set osError(value) { + super.osError = value; + } + toString() { + return "StdoutException: " + dart.str(this.message) + (this.osError == null ? "" : ", " + dart.str(this.osError)); + } + }; + (io.StdoutException.new = function(message, osError = null) { + if (message == null) dart.nullFailed(I[128], 254, 30, "message"); + this[message$8] = message; + this[osError$3] = osError; + ; + }).prototype = io.StdoutException.prototype; + dart.addTypeTests(io.StdoutException); + dart.addTypeCaches(io.StdoutException); + io.StdoutException[dart.implements] = () => [io.IOException]; + dart.setLibraryUri(io.StdoutException, I[105]); + dart.setFieldSignature(io.StdoutException, () => ({ + __proto__: dart.getFields(io.StdoutException.__proto__), + message: dart.finalFieldType(core.String), + osError: dart.finalFieldType(dart.nullable(io.OSError)) + })); + dart.defineExtensionMethods(io.StdoutException, ['toString']); + var message$9 = dart.privateName(io, "StdinException.message"); + var osError$4 = dart.privateName(io, "StdinException.osError"); + io.StdinException = class StdinException extends core.Object { + get message() { + return this[message$9]; + } + set message(value) { + super.message = value; + } + get osError() { + return this[osError$4]; + } + set osError(value) { + super.osError = value; + } + toString() { + return "StdinException: " + dart.str(this.message) + (this.osError == null ? "" : ", " + dart.str(this.osError)); + } + }; + (io.StdinException.new = function(message, osError = null) { + if (message == null) dart.nullFailed(I[128], 269, 29, "message"); + this[message$9] = message; + this[osError$4] = osError; + ; + }).prototype = io.StdinException.prototype; + dart.addTypeTests(io.StdinException); + dart.addTypeCaches(io.StdinException); + io.StdinException[dart.implements] = () => [io.IOException]; + dart.setLibraryUri(io.StdinException, I[105]); + dart.setFieldSignature(io.StdinException, () => ({ + __proto__: dart.getFields(io.StdinException.__proto__), + message: dart.finalFieldType(core.String), + osError: dart.finalFieldType(dart.nullable(io.OSError)) + })); + dart.defineExtensionMethods(io.StdinException, ['toString']); + io._StdConsumer = class _StdConsumer extends core.Object { + addStream(stream) { + T$0.StreamOfListOfint().as(stream); + if (stream == null) dart.nullFailed(I[128], 281, 38, "stream"); + let completer = async.Completer.new(); + let sub = null; + sub = stream.listen(dart.fn(data => { + if (data == null) dart.nullFailed(I[128], 284, 26, "data"); + try { + dart.dsend(this[_file], 'writeFromSync', [data]); + } catch (e$) { + let e = dart.getThrown(e$); + let s = dart.stackTrace(e$); + if (core.Object.is(e)) { + dart.dsend(sub, 'cancel', []); + completer.completeError(e, s); + } else + throw e$; + } + }, T$0.ListOfintTovoid()), {onError: dart.bind(completer, 'completeError'), onDone: dart.bind(completer, 'complete'), cancelOnError: true}); + return completer.future; + } + close() { + dart.dsend(this[_file], 'closeSync', []); + return async.Future.value(); + } + }; + (io._StdConsumer.new = function(fd) { + if (fd == null) dart.nullFailed(I[128], 279, 20, "fd"); + this[_file] = io._File._openStdioSync(fd); + ; + }).prototype = io._StdConsumer.prototype; + dart.addTypeTests(io._StdConsumer); + dart.addTypeCaches(io._StdConsumer); + io._StdConsumer[dart.implements] = () => [async.StreamConsumer$(core.List$(core.int))]; + dart.setMethodSignature(io._StdConsumer, () => ({ + __proto__: dart.getMethods(io._StdConsumer.__proto__), + addStream: dart.fnType(async.Future, [dart.nullable(core.Object)]), + close: dart.fnType(async.Future, []) + })); + dart.setLibraryUri(io._StdConsumer, I[105]); + dart.setFieldSignature(io._StdConsumer, () => ({ + __proto__: dart.getFields(io._StdConsumer.__proto__), + [_file]: dart.finalFieldType(dart.dynamic) + })); + var name$11 = dart.privateName(io, "StdioType.name"); + io.StdioType = class StdioType extends core.Object { + get name() { + return this[name$11]; + } + set name(value) { + super.name = value; + } + toString() { + return "StdioType: " + dart.str(this.name); + } + }; + (io.StdioType.__ = function(name) { + if (name == null) dart.nullFailed(I[128], 361, 26, "name"); + this[name$11] = name; + ; + }).prototype = io.StdioType.prototype; + dart.addTypeTests(io.StdioType); + dart.addTypeCaches(io.StdioType); + dart.setLibraryUri(io.StdioType, I[105]); + dart.setFieldSignature(io.StdioType, () => ({ + __proto__: dart.getFields(io.StdioType.__proto__), + name: dart.finalFieldType(core.String) + })); + dart.defineExtensionMethods(io.StdioType, ['toString']); + dart.defineLazy(io.StdioType, { + /*io.StdioType.terminal*/get terminal() { + return C[199] || CT.C199; + }, + /*io.StdioType.pipe*/get pipe() { + return C[200] || CT.C200; + }, + /*io.StdioType.file*/get file() { + return C[201] || CT.C201; + }, + /*io.StdioType.other*/get other() { + return C[202] || CT.C202; + }, + /*io.StdioType.TERMINAL*/get TERMINAL() { + return C[199] || CT.C199; + }, + /*io.StdioType.PIPE*/get PIPE() { + return C[200] || CT.C200; + }, + /*io.StdioType.FILE*/get FILE() { + return C[201] || CT.C201; + }, + /*io.StdioType.OTHER*/get OTHER() { + return C[202] || CT.C202; + } + }, false); + io._StdIOUtils = class _StdIOUtils extends core.Object { + static _getStdioOutputStream(fd) { + if (fd == null) dart.nullFailed(I[107], 579, 36, "fd"); + dart.throw(new core.UnsupportedError.new("StdIOUtils._getStdioOutputStream")); + } + static _getStdioInputStream(fd) { + if (fd == null) dart.nullFailed(I[107], 574, 41, "fd"); + dart.throw(new core.UnsupportedError.new("StdIOUtils._getStdioInputStream")); + } + static _socketType(socket) { + if (socket == null) dart.nullFailed(I[107], 584, 33, "socket"); + dart.throw(new core.UnsupportedError.new("StdIOUtils._socketType")); + } + static _getStdioHandleType(fd) { + if (fd == null) dart.nullFailed(I[107], 589, 34, "fd"); + dart.throw(new core.UnsupportedError.new("StdIOUtils._getStdioHandleType")); + } + }; + (io._StdIOUtils.new = function() { + ; + }).prototype = io._StdIOUtils.prototype; + dart.addTypeTests(io._StdIOUtils); + dart.addTypeCaches(io._StdIOUtils); + dart.setLibraryUri(io._StdIOUtils, I[105]); + io.SystemEncoding = class SystemEncoding extends convert.Encoding { + get name() { + return "system"; + } + encode(input) { + core.String.as(input); + if (input == null) dart.nullFailed(I[129], 28, 27, "input"); + return this.encoder.convert(input); + } + decode(encoded) { + T$0.ListOfint().as(encoded); + if (encoded == null) dart.nullFailed(I[129], 29, 27, "encoded"); + return this.decoder.convert(encoded); + } + get encoder() { + if (io.Platform.operatingSystem === "windows") { + return C[203] || CT.C203; + } else { + return C[101] || CT.C101; + } + } + get decoder() { + if (io.Platform.operatingSystem === "windows") { + return C[204] || CT.C204; + } else { + return C[100] || CT.C100; + } + } + }; + (io.SystemEncoding.new = function() { + io.SystemEncoding.__proto__.new.call(this); + ; + }).prototype = io.SystemEncoding.prototype; + dart.addTypeTests(io.SystemEncoding); + dart.addTypeCaches(io.SystemEncoding); + dart.setGetterSignature(io.SystemEncoding, () => ({ + __proto__: dart.getGetters(io.SystemEncoding.__proto__), + name: core.String, + encoder: convert.Converter$(core.String, core.List$(core.int)), + decoder: convert.Converter$(core.List$(core.int), core.String) + })); + dart.setLibraryUri(io.SystemEncoding, I[105]); + io._WindowsCodePageEncoder = class _WindowsCodePageEncoder extends convert.Converter$(core.String, core.List$(core.int)) { + convert(input) { + core.String.as(input); + if (input == null) dart.nullFailed(I[129], 51, 28, "input"); + let encoded = io._WindowsCodePageEncoder._encodeString(input); + if (encoded == null) { + dart.throw(new core.FormatException.new("Invalid character for encoding")); + } + return encoded; + } + startChunkedConversion(sink) { + T$0.SinkOfListOfint().as(sink); + if (sink == null) dart.nullFailed(I[129], 60, 63, "sink"); + return new io._WindowsCodePageEncoderSink.new(sink); + } + static _encodeString(string) { + if (string == null) dart.nullFailed(I[107], 605, 41, "string"); + dart.throw(new core.UnsupportedError.new("_WindowsCodePageEncoder._encodeString")); + } + }; + (io._WindowsCodePageEncoder.new = function() { + io._WindowsCodePageEncoder.__proto__.new.call(this); + ; + }).prototype = io._WindowsCodePageEncoder.prototype; + dart.addTypeTests(io._WindowsCodePageEncoder); + dart.addTypeCaches(io._WindowsCodePageEncoder); + dart.setMethodSignature(io._WindowsCodePageEncoder, () => ({ + __proto__: dart.getMethods(io._WindowsCodePageEncoder.__proto__), + convert: dart.fnType(core.List$(core.int), [dart.nullable(core.Object)]), + startChunkedConversion: dart.fnType(convert.StringConversionSink, [dart.nullable(core.Object)]) + })); + dart.setLibraryUri(io._WindowsCodePageEncoder, I[105]); + io._WindowsCodePageEncoderSink = class _WindowsCodePageEncoderSink extends convert.StringConversionSinkBase { + close() { + this[_sink$1].close(); + } + add(string) { + core.String.as(string); + if (string == null) dart.nullFailed(I[129], 79, 19, "string"); + let encoded = io._WindowsCodePageEncoder._encodeString(string); + if (encoded == null) { + dart.throw(new core.FormatException.new("Invalid character for encoding")); + } + this[_sink$1].add(encoded); + } + addSlice(source, start, end, isLast) { + if (source == null) dart.nullFailed(I[129], 87, 24, "source"); + if (start == null) dart.nullFailed(I[129], 87, 36, "start"); + if (end == null) dart.nullFailed(I[129], 87, 47, "end"); + if (isLast == null) dart.nullFailed(I[129], 87, 57, "isLast"); + if (start !== 0 || end !== source.length) { + source = source[$substring](start, end); + } + this.add(source); + if (dart.test(isLast)) this.close(); + } + }; + (io._WindowsCodePageEncoderSink.new = function(_sink) { + if (_sink == null) dart.nullFailed(I[129], 73, 36, "_sink"); + this[_sink$1] = _sink; + ; + }).prototype = io._WindowsCodePageEncoderSink.prototype; + dart.addTypeTests(io._WindowsCodePageEncoderSink); + dart.addTypeCaches(io._WindowsCodePageEncoderSink); + dart.setMethodSignature(io._WindowsCodePageEncoderSink, () => ({ + __proto__: dart.getMethods(io._WindowsCodePageEncoderSink.__proto__), + close: dart.fnType(dart.void, []), + addSlice: dart.fnType(dart.void, [core.String, core.int, core.int, core.bool]) + })); + dart.setLibraryUri(io._WindowsCodePageEncoderSink, I[105]); + dart.setFieldSignature(io._WindowsCodePageEncoderSink, () => ({ + __proto__: dart.getFields(io._WindowsCodePageEncoderSink.__proto__), + [_sink$1]: dart.finalFieldType(core.Sink$(core.List$(core.int))) + })); + io._WindowsCodePageDecoder = class _WindowsCodePageDecoder extends convert.Converter$(core.List$(core.int), core.String) { + convert(input) { + T$0.ListOfint().as(input); + if (input == null) dart.nullFailed(I[129], 99, 28, "input"); + return io._WindowsCodePageDecoder._decodeBytes(input); + } + startChunkedConversion(sink) { + T$0.SinkOfString().as(sink); + if (sink == null) dart.nullFailed(I[129], 104, 58, "sink"); + return new io._WindowsCodePageDecoderSink.new(sink); + } + static _decodeBytes(bytes) { + if (bytes == null) dart.nullFailed(I[107], 597, 40, "bytes"); + dart.throw(new core.UnsupportedError.new("_WindowsCodePageDecoder._decodeBytes")); + } + }; + (io._WindowsCodePageDecoder.new = function() { + io._WindowsCodePageDecoder.__proto__.new.call(this); + ; + }).prototype = io._WindowsCodePageDecoder.prototype; + dart.addTypeTests(io._WindowsCodePageDecoder); + dart.addTypeCaches(io._WindowsCodePageDecoder); + dart.setMethodSignature(io._WindowsCodePageDecoder, () => ({ + __proto__: dart.getMethods(io._WindowsCodePageDecoder.__proto__), + convert: dart.fnType(core.String, [dart.nullable(core.Object)]), + startChunkedConversion: dart.fnType(convert.ByteConversionSink, [dart.nullable(core.Object)]) + })); + dart.setLibraryUri(io._WindowsCodePageDecoder, I[105]); + io._WindowsCodePageDecoderSink = class _WindowsCodePageDecoderSink extends convert.ByteConversionSinkBase { + close() { + this[_sink$1].close(); + } + add(bytes) { + T$0.ListOfint().as(bytes); + if (bytes == null) dart.nullFailed(I[129], 123, 22, "bytes"); + this[_sink$1].add(io._WindowsCodePageDecoder._decodeBytes(bytes)); + } + }; + (io._WindowsCodePageDecoderSink.new = function(_sink) { + if (_sink == null) dart.nullFailed(I[129], 117, 36, "_sink"); + this[_sink$1] = _sink; + io._WindowsCodePageDecoderSink.__proto__.new.call(this); + ; + }).prototype = io._WindowsCodePageDecoderSink.prototype; + dart.addTypeTests(io._WindowsCodePageDecoderSink); + dart.addTypeCaches(io._WindowsCodePageDecoderSink); + dart.setMethodSignature(io._WindowsCodePageDecoderSink, () => ({ + __proto__: dart.getMethods(io._WindowsCodePageDecoderSink.__proto__), + close: dart.fnType(dart.void, []), + add: dart.fnType(dart.void, [dart.nullable(core.Object)]) + })); + dart.setLibraryUri(io._WindowsCodePageDecoderSink, I[105]); + dart.setFieldSignature(io._WindowsCodePageDecoderSink, () => ({ + __proto__: dart.getFields(io._WindowsCodePageDecoderSink.__proto__), + [_sink$1]: dart.finalFieldType(core.Sink$(core.String)) + })); + io.RawSynchronousSocket = class RawSynchronousSocket extends core.Object { + static connectSync(host, port) { + if (port == null) dart.nullFailed(I[107], 515, 61, "port"); + dart.throw(new core.UnsupportedError.new("RawSynchronousSocket.connectSync")); + } + }; + (io.RawSynchronousSocket.new = function() { + ; + }).prototype = io.RawSynchronousSocket.prototype; + dart.addTypeTests(io.RawSynchronousSocket); + dart.addTypeCaches(io.RawSynchronousSocket); + dart.setLibraryUri(io.RawSynchronousSocket, I[105]); + io._isErrorResponse = function _isErrorResponse$(response) { + return core.List.is(response) && !dart.equals(response[$_get](0), 0); + }; + io._exceptionFromResponse = function _exceptionFromResponse$(response, message, path) { + if (message == null) dart.nullFailed(I[106], 23, 41, "message"); + if (path == null) dart.nullFailed(I[106], 23, 57, "path"); + if (!dart.test(io._isErrorResponse(response))) dart.assertFailed(null, I[106], 24, 10, "_isErrorResponse(response)"); + switch (dart.dsend(response, '_get', [0])) { + case 1: + { + return new core.ArgumentError.new(dart.str(message) + ": " + dart.str(path)); + } + case 2: + { + let err = new io.OSError.new(core.String.as(dart.dsend(response, '_get', [2])), core.int.as(dart.dsend(response, '_get', [1]))); + return new io.FileSystemException.new(message, path, err); + } + case 3: + { + return new io.FileSystemException.new("File closed", path); + } + default: + { + return core.Exception.new("Unknown error"); + } + } + }; + io._ensureFastAndSerializableByteData = function _ensureFastAndSerializableByteData(buffer, start, end) { + if (buffer == null) dart.nullFailed(I[106], 93, 15, "buffer"); + if (start == null) dart.nullFailed(I[106], 93, 27, "start"); + if (end == null) dart.nullFailed(I[106], 93, 38, "end"); + if (dart.test(io._isDirectIOCapableTypedList(buffer))) { + return new io._BufferAndStart.new(buffer, start); + } + let length = dart.notNull(end) - dart.notNull(start); + let newBuffer = _native_typed_data.NativeUint8List.new(length); + newBuffer[$setRange](0, length, buffer, start); + return new io._BufferAndStart.new(newBuffer, 0); + }; + io._isDirectIOCapableTypedList = function _isDirectIOCapableTypedList(buffer) { + if (buffer == null) dart.nullFailed(I[107], 218, 44, "buffer"); + dart.throw(new core.UnsupportedError.new("_isDirectIOCapableTypedList")); + }; + io._validateZLibWindowBits = function _validateZLibWindowBits(windowBits) { + if (windowBits == null) dart.nullFailed(I[108], 570, 34, "windowBits"); + if (8 > dart.notNull(windowBits) || 15 < dart.notNull(windowBits)) { + dart.throw(new core.RangeError.range(windowBits, 8, 15)); + } + }; + io._validateZLibeLevel = function _validateZLibeLevel(level) { + if (level == null) dart.nullFailed(I[108], 578, 30, "level"); + if (-1 > dart.notNull(level) || 9 < dart.notNull(level)) { + dart.throw(new core.RangeError.range(level, -1, 9)); + } + }; + io._validateZLibMemLevel = function _validateZLibMemLevel(memLevel) { + if (memLevel == null) dart.nullFailed(I[108], 584, 32, "memLevel"); + if (1 > dart.notNull(memLevel) || 9 < dart.notNull(memLevel)) { + dart.throw(new core.RangeError.range(memLevel, 1, 9)); + } + }; + io._validateZLibStrategy = function _validateZLibStrategy(strategy) { + if (strategy == null) dart.nullFailed(I[108], 591, 32, "strategy"); + let strategies = C[205] || CT.C205; + if (strategies[$indexOf](strategy) === -1) { + dart.throw(new core.ArgumentError.new("Unsupported 'strategy'")); + } + }; + io.isInsecureConnectionAllowed = function isInsecureConnectionAllowed(host) { + let t215, t215$; + let hostString = null; + if (typeof host == 'string') { + try { + if ("localhost" === host || dart.test(io.InternetAddress.new(host).isLoopback)) return true; + } catch (e) { + let ex = dart.getThrown(e); + if (core.ArgumentError.is(ex)) { + } else + throw e; + } + hostString = host; + } else if (io.InternetAddress.is(host)) { + if (dart.test(host.isLoopback)) return true; + hostString = host.host; + } else { + dart.throw(new core.ArgumentError.value(host, "host", "Must be a String or InternetAddress")); + } + let topMatchedPolicy = io._findBestDomainNetworkPolicy(hostString); + let envOverride = core.bool.fromEnvironment("dart.library.io.may_insecurely_connect_to_all_domains", {defaultValue: true}); + t215$ = (t215 = topMatchedPolicy, t215 == null ? null : t215.allowInsecureConnections); + return t215$ == null ? dart.test(envOverride) && dart.test(io._EmbedderConfig._mayInsecurelyConnectToAllDomains) : t215$; + }; + io._findBestDomainNetworkPolicy = function _findBestDomainNetworkPolicy(domain) { + if (domain == null) dart.nullFailed(I[118], 154, 59, "domain"); + let topScore = 0; + let topPolicy = null; + for (let policy of io._domainPolicies) { + let score = policy.matchScore(domain); + if (dart.notNull(score) > dart.notNull(topScore)) { + topScore = score; + topPolicy = policy; + } + } + return topPolicy; + }; + io._constructDomainPolicies = function _constructDomainPolicies(domainPoliciesString) { + let domainPolicies = T$0.JSArrayOf_DomainNetworkPolicy().of([]); + domainPoliciesString == null ? domainPoliciesString = core.String.fromEnvironment("dart.library.io.domain_network_policies", {defaultValue: ""}) : null; + if (domainPoliciesString[$isNotEmpty]) { + let policiesJson = core.List.as(convert.json.decode(domainPoliciesString)); + for (let t215 of policiesJson) { + let policyJson = core.List.as(t215); + if (!(policyJson[$length] === 3)) dart.assertFailed(null, I[118], 180, 14, "policyJson.length == 3"); + let policy = new io._DomainNetworkPolicy.new(core.String.as(policyJson[$_get](0)), {includesSubDomains: core.bool.as(policyJson[$_get](1)), allowInsecureConnections: core.bool.as(policyJson[$_get](2))}); + if (dart.test(policy.checkConflict(domainPolicies))) { + domainPolicies[$add](policy); + } + } + } + return domainPolicies; + }; + io._success = function _success() { + return convert.json.encode(new (T$.IdentityMapOfString$String()).from(["type", "Success"])); + }; + io._invalidArgument = function _invalidArgument(argument, value) { + if (argument == null) dart.nullFailed(I[119], 148, 32, "argument"); + return "Value for parameter '" + dart.str(argument) + "' is not valid: " + dart.str(value); + }; + io._missingArgument = function _missingArgument(argument) { + if (argument == null) dart.nullFailed(I[119], 151, 32, "argument"); + return "Parameter '" + dart.str(argument) + "' is required"; + }; + io._getHttpEnableTimelineLogging = function _getHttpEnableTimelineLogging() { + return convert.json.encode(new (T$.IdentityMapOfString$Object()).from(["type", "HttpTimelineLoggingState", "enabled", _http.HttpClient.enableTimelineLogging])); + }; + io._setHttpEnableTimelineLogging = function _setHttpEnableTimelineLogging(parameters) { + if (parameters == null) dart.nullFailed(I[119], 158, 58, "parameters"); + if (!dart.test(parameters[$containsKey]("enable"))) { + dart.throw(io._missingArgument("enable")); + } + let enable = dart.nullCheck(parameters[$_get]("enable"))[$toLowerCase](); + if (enable !== "true" && enable !== "false") { + dart.throw(io._invalidArgument("enable", enable)); + } + _http.HttpClient.enableTimelineLogging = enable === "true"; + return io._success(); + }; + io._getHttpProfileRequest = function _getHttpProfileRequest(parameters) { + if (parameters == null) dart.nullFailed(I[119], 171, 51, "parameters"); + if (!dart.test(parameters[$containsKey]("id"))) { + dart.throw(io._missingArgument("id")); + } + let id = core.int.tryParse(dart.nullCheck(parameters[$_get]("id"))); + if (id == null) { + dart.throw(io._invalidArgument("id", dart.nullCheck(parameters[$_get]("id")))); + } + let request = _http.HttpProfiler.getHttpProfileRequest(id); + if (request == null) { + dart.throw("Unable to find request with id: '" + dart.str(id) + "'"); + } + return convert.json.encode(request.toJson({ref: false})); + }; + io._socketProfilingEnabled = function _socketProfilingEnabled(parameters) { + if (parameters == null) dart.nullFailed(I[119], 188, 52, "parameters"); + if (dart.test(parameters[$containsKey]("enabled"))) { + let enable = dart.nullCheck(parameters[$_get]("enabled"))[$toLowerCase](); + if (enable !== "true" && enable !== "false") { + dart.throw(io._invalidArgument("enabled", enable)); + } + enable === "true" ? io._SocketProfile.start() : io._SocketProfile.pause(); + } + return convert.json.encode(new (T$.IdentityMapOfString$Object()).from(["type", "SocketProfilingState", "enabled", io._SocketProfile.enableSocketProfiling])); + }; + io.exit = function exit(code) { + if (code == null) dart.nullFailed(I[122], 50, 16, "code"); + core.ArgumentError.checkNotNull(core.int, code, "code"); + if (!dart.test(io._EmbedderConfig._mayExit)) { + dart.throw(new core.UnsupportedError.new("This embedder disallows calling dart:io's exit()")); + } + io._ProcessUtils._exit(code); + dart.throw(new _internal.ReachabilityError.new("`null` encountered as the result from expression with type `Never`.")); + }; + io.sleep = function sleep(duration) { + if (duration == null) dart.nullFailed(I[122], 88, 21, "duration"); + let milliseconds = duration.inMilliseconds; + if (dart.notNull(milliseconds) < 0) { + dart.throw(new core.ArgumentError.new("sleep: duration cannot be negative")); + } + if (!dart.test(io._EmbedderConfig._maySleep)) { + dart.throw(new core.UnsupportedError.new("This embedder disallows calling dart:io's sleep()")); + } + io._ProcessUtils._sleep(milliseconds); + }; + io._setStdioFDs = function _setStdioFDs(stdin, stdout, stderr) { + if (stdin == null) dart.nullFailed(I[128], 376, 23, "stdin"); + if (stdout == null) dart.nullFailed(I[128], 376, 34, "stdout"); + if (stderr == null) dart.nullFailed(I[128], 376, 46, "stderr"); + io._stdinFD = stdin; + io._stdoutFD = stdout; + io._stderrFD = stderr; + }; + io.stdioType = function stdioType(object) { + if (io._StdStream.is(object)) { + object = object[_stream$0]; + } else if (dart.equals(object, io.stdout) || dart.equals(object, io.stderr)) { + let stdiofd = dart.equals(object, io.stdout) ? io._stdoutFD : io._stderrFD; + let type = io._StdIOUtils._getStdioHandleType(stdiofd); + if (io.OSError.is(type)) { + dart.throw(new io.FileSystemException.new("Failed to get type of stdio handle (fd " + dart.str(stdiofd) + ")", "", type)); + } + switch (type) { + case 0: + { + return io.StdioType.terminal; + } + case 1: + { + return io.StdioType.pipe; + } + case 2: + { + return io.StdioType.file; + } + } + } + if (io._FileStream.is(object)) { + return io.StdioType.file; + } + if (io.Socket.is(object)) { + let socketType = io._StdIOUtils._socketType(object); + if (socketType == null) return io.StdioType.other; + switch (socketType) { + case 0: + { + return io.StdioType.terminal; + } + case 1: + { + return io.StdioType.pipe; + } + case 2: + { + return io.StdioType.file; + } + } + } + if (io._IOSinkImpl.is(object)) { + try { + if (io._FileStreamConsumer.is(object[_target$0])) { + return io.StdioType.file; + } + } catch (e$) { + let e = dart.getThrown(e$); + if (core.Object.is(e)) { + } else + throw e$; + } + } + return io.StdioType.other; + }; + dart.copyProperties(io, { + get _domainPolicies() { + let t217; + if (!dart.test(io['_#_domainPolicies#isSet'])) { + io['_#_domainPolicies'] = io._constructDomainPolicies(null); + io['_#_domainPolicies#isSet'] = true; + } + t217 = io['_#_domainPolicies']; + return t217; + }, + set _domainPolicies(t217) { + if (t217 == null) dart.nullFailed(I[118], 168, 33, "null"); + io['_#_domainPolicies#isSet'] = true; + io['_#_domainPolicies'] = t217; + }, + set exitCode(code) { + if (code == null) dart.nullFailed(I[122], 69, 23, "code"); + core.ArgumentError.checkNotNull(core.int, code, "code"); + io._ProcessUtils._setExitCode(code); + }, + get exitCode() { + return io._ProcessUtils._getExitCode(); + }, + get pid() { + return io._ProcessUtils._pid(null); + }, + get stdin() { + let t218; + t218 = io._stdin; + return t218 == null ? io._stdin = io._StdIOUtils._getStdioInputStream(io._stdinFD) : t218; + }, + get stdout() { + let t218; + return io.Stdout.as((t218 = io._stdout, t218 == null ? io._stdout = T$0.StdoutN().as(io._StdIOUtils._getStdioOutputStream(io._stdoutFD)) : t218)); + }, + get stderr() { + let t218; + return io.Stdout.as((t218 = io._stderr, t218 == null ? io._stderr = T$0.StdoutN().as(io._StdIOUtils._getStdioOutputStream(io._stderrFD)) : t218)); + } + }); + dart.defineLazy(io, { + /*io._successResponse*/get _successResponse() { + return 0; + }, + /*io._illegalArgumentResponse*/get _illegalArgumentResponse() { + return 1; + }, + /*io._osErrorResponse*/get _osErrorResponse() { + return 2; + }, + /*io._fileClosedResponse*/get _fileClosedResponse() { + return 3; + }, + /*io._errorResponseErrorType*/get _errorResponseErrorType() { + return 0; + }, + /*io._osErrorResponseErrorCode*/get _osErrorResponseErrorCode() { + return 1; + }, + /*io._osErrorResponseMessage*/get _osErrorResponseMessage() { + return 2; + }, + /*io.zlib*/get zlib() { + return C[206] || CT.C206; + }, + /*io.ZLIB*/get ZLIB() { + return C[206] || CT.C206; + }, + /*io.gzip*/get gzip() { + return C[207] || CT.C207; + }, + /*io.GZIP*/get GZIP() { + return C[207] || CT.C207; + }, + /*io.READ*/get READ() { + return C[109] || CT.C109; + }, + /*io.WRITE*/get WRITE() { + return C[110] || CT.C110; + }, + /*io.APPEND*/get APPEND() { + return C[111] || CT.C111; + }, + /*io.WRITE_ONLY*/get WRITE_ONLY() { + return C[112] || CT.C112; + }, + /*io.WRITE_ONLY_APPEND*/get WRITE_ONLY_APPEND() { + return C[113] || CT.C113; + }, + /*io._blockSize*/get _blockSize() { + return 65536; + }, + /*io['_#_domainPolicies']*/get ['_#_domainPolicies']() { + return null; + }, + set ['_#_domainPolicies'](_) {}, + /*io['_#_domainPolicies#isSet']*/get ['_#_domainPolicies#isSet']() { + return false; + }, + set ['_#_domainPolicies#isSet'](_) {}, + /*io._versionMajor*/get _versionMajor() { + return 1; + }, + /*io._versionMinor*/get _versionMinor() { + return 6; + }, + /*io._tcpSocket*/get _tcpSocket() { + return "tcp"; + }, + /*io._udpSocket*/get _udpSocket() { + return "udp"; + }, + /*io._ioOverridesToken*/get _ioOverridesToken() { + return new core.Object.new(); + }, + /*io._asyncRunZoned*/get _asyncRunZoned() { + return C[208] || CT.C208; + }, + /*io._nextServiceId*/get _nextServiceId() { + return 1; + }, + set _nextServiceId(_) {}, + /*io._stdioHandleTypeTerminal*/get _stdioHandleTypeTerminal() { + return 0; + }, + /*io._stdioHandleTypePipe*/get _stdioHandleTypePipe() { + return 1; + }, + /*io._stdioHandleTypeFile*/get _stdioHandleTypeFile() { + return 2; + }, + /*io._stdioHandleTypeSocket*/get _stdioHandleTypeSocket() { + return 3; + }, + /*io._stdioHandleTypeOther*/get _stdioHandleTypeOther() { + return 4; + }, + /*io._stdioHandleTypeError*/get _stdioHandleTypeError() { + return 5; + }, + /*io._stdin*/get _stdin() { + return null; + }, + set _stdin(_) {}, + /*io._stdout*/get _stdout() { + return null; + }, + set _stdout(_) {}, + /*io._stderr*/get _stderr() { + return null; + }, + set _stderr(_) {}, + /*io._stdinFD*/get _stdinFD() { + return 0; + }, + set _stdinFD(_) {}, + /*io._stdoutFD*/get _stdoutFD() { + return 1; + }, + set _stdoutFD(_) {}, + /*io._stderrFD*/get _stderrFD() { + return 2; + }, + set _stderrFD(_) {}, + /*io.systemEncoding*/get systemEncoding() { + return C[143] || CT.C143; + }, + /*io.SYSTEM_ENCODING*/get SYSTEM_ENCODING() { + return C[143] || CT.C143; + } + }, false); + isolate$._ReceivePort = class _ReceivePort extends async.Stream { + close() { + } + get sendPort() { + return isolate$._unsupported(); + } + listen(onData, opts) { + let onError = opts && 'onError' in opts ? opts.onError : null; + let onDone = opts && 'onDone' in opts ? opts.onDone : null; + let cancelOnError = opts && 'cancelOnError' in opts ? opts.cancelOnError : true; + return isolate$._unsupported(); + } + }; + (isolate$._ReceivePort.new = function(debugName = "") { + if (debugName == null) dart.nullFailed(I[130], 97, 24, "debugName"); + isolate$._ReceivePort.__proto__.new.call(this); + ; + }).prototype = isolate$._ReceivePort.prototype; + dart.addTypeTests(isolate$._ReceivePort); + dart.addTypeCaches(isolate$._ReceivePort); + isolate$._ReceivePort[dart.implements] = () => [isolate$.ReceivePort]; + dart.setMethodSignature(isolate$._ReceivePort, () => ({ + __proto__: dart.getMethods(isolate$._ReceivePort.__proto__), + close: dart.fnType(dart.void, []), + listen: dart.fnType(async.StreamSubscription, [dart.nullable(dart.fnType(dart.void, [dart.dynamic]))], {cancelOnError: dart.nullable(core.bool), onDone: dart.nullable(dart.fnType(dart.void, [])), onError: dart.nullable(core.Function)}, {}) + })); + dart.setGetterSignature(isolate$._ReceivePort, () => ({ + __proto__: dart.getGetters(isolate$._ReceivePort.__proto__), + sendPort: isolate$.SendPort + })); + dart.setLibraryUri(isolate$._ReceivePort, I[131]); + var message$10 = dart.privateName(isolate$, "IsolateSpawnException.message"); + isolate$.IsolateSpawnException = class IsolateSpawnException extends core.Object { + get message() { + return this[message$10]; + } + set message(value) { + super.message = value; + } + toString() { + return "IsolateSpawnException: " + dart.str(this.message); + } + }; + (isolate$.IsolateSpawnException.new = function(message) { + if (message == null) dart.nullFailed(I[132], 28, 30, "message"); + this[message$10] = message; + ; + }).prototype = isolate$.IsolateSpawnException.prototype; + dart.addTypeTests(isolate$.IsolateSpawnException); + dart.addTypeCaches(isolate$.IsolateSpawnException); + isolate$.IsolateSpawnException[dart.implements] = () => [core.Exception]; + dart.setLibraryUri(isolate$.IsolateSpawnException, I[131]); + dart.setFieldSignature(isolate$.IsolateSpawnException, () => ({ + __proto__: dart.getFields(isolate$.IsolateSpawnException.__proto__), + message: dart.finalFieldType(core.String) + })); + dart.defineExtensionMethods(isolate$.IsolateSpawnException, ['toString']); + var controlPort$ = dart.privateName(isolate$, "Isolate.controlPort"); + var pauseCapability$ = dart.privateName(isolate$, "Isolate.pauseCapability"); + var terminateCapability$ = dart.privateName(isolate$, "Isolate.terminateCapability"); + var _pause = dart.privateName(isolate$, "_pause"); + isolate$.Isolate = class Isolate extends core.Object { + get controlPort() { + return this[controlPort$]; + } + set controlPort(value) { + super.controlPort = value; + } + get pauseCapability() { + return this[pauseCapability$]; + } + set pauseCapability(value) { + super.pauseCapability = value; + } + get terminateCapability() { + return this[terminateCapability$]; + } + set terminateCapability(value) { + super.terminateCapability = value; + } + get debugName() { + return isolate$._unsupported(); + } + static get current() { + return isolate$._unsupported(); + } + static get packageRoot() { + return isolate$._unsupported(); + } + static get packageConfig() { + return isolate$._unsupported(); + } + static resolvePackageUri(packageUri) { + if (packageUri == null) dart.nullFailed(I[130], 28, 45, "packageUri"); + return isolate$._unsupported(); + } + static spawn(T, entryPoint, message, opts) { + if (entryPoint == null) dart.nullFailed(I[130], 31, 40, "entryPoint"); + let paused = opts && 'paused' in opts ? opts.paused : false; + if (paused == null) dart.nullFailed(I[130], 32, 17, "paused"); + let errorsAreFatal = opts && 'errorsAreFatal' in opts ? opts.errorsAreFatal : true; + if (errorsAreFatal == null) dart.nullFailed(I[130], 33, 16, "errorsAreFatal"); + let onExit = opts && 'onExit' in opts ? opts.onExit : null; + let onError = opts && 'onError' in opts ? opts.onError : null; + return isolate$._unsupported(); + } + static spawnUri(uri, args, message, opts) { + if (uri == null) dart.nullFailed(I[130], 39, 39, "uri"); + if (args == null) dart.nullFailed(I[130], 39, 57, "args"); + let paused = opts && 'paused' in opts ? opts.paused : false; + if (paused == null) dart.nullFailed(I[130], 40, 17, "paused"); + let onExit = opts && 'onExit' in opts ? opts.onExit : null; + let onError = opts && 'onError' in opts ? opts.onError : null; + let errorsAreFatal = opts && 'errorsAreFatal' in opts ? opts.errorsAreFatal : true; + if (errorsAreFatal == null) dart.nullFailed(I[130], 43, 16, "errorsAreFatal"); + let checked = opts && 'checked' in opts ? opts.checked : null; + let environment = opts && 'environment' in opts ? opts.environment : null; + let packageRoot = opts && 'packageRoot' in opts ? opts.packageRoot : null; + let packageConfig = opts && 'packageConfig' in opts ? opts.packageConfig : null; + let automaticPackageResolution = opts && 'automaticPackageResolution' in opts ? opts.automaticPackageResolution : false; + if (automaticPackageResolution == null) dart.nullFailed(I[130], 48, 16, "automaticPackageResolution"); + let debugName = opts && 'debugName' in opts ? opts.debugName : null; + return isolate$._unsupported(); + } + pause(resumeCapability = null) { + resumeCapability == null ? resumeCapability = isolate$.Capability.new() : null; + this[_pause](resumeCapability); + return resumeCapability; + } + [_pause](resumeCapability) { + if (resumeCapability == null) dart.nullFailed(I[130], 53, 26, "resumeCapability"); + return isolate$._unsupported(); + } + resume(resumeCapability) { + if (resumeCapability == null) dart.nullFailed(I[130], 56, 26, "resumeCapability"); + return isolate$._unsupported(); + } + addOnExitListener(responsePort, opts) { + if (responsePort == null) dart.nullFailed(I[130], 59, 35, "responsePort"); + let response = opts && 'response' in opts ? opts.response : null; + return isolate$._unsupported(); + } + removeOnExitListener(responsePort) { + if (responsePort == null) dart.nullFailed(I[130], 63, 38, "responsePort"); + return isolate$._unsupported(); + } + setErrorsFatal(errorsAreFatal) { + if (errorsAreFatal == null) dart.nullFailed(I[130], 66, 28, "errorsAreFatal"); + return isolate$._unsupported(); + } + kill(opts) { + let priority = opts && 'priority' in opts ? opts.priority : 1; + if (priority == null) dart.nullFailed(I[130], 69, 18, "priority"); + return isolate$._unsupported(); + } + ping(responsePort, opts) { + if (responsePort == null) dart.nullFailed(I[130], 71, 22, "responsePort"); + let response = opts && 'response' in opts ? opts.response : null; + let priority = opts && 'priority' in opts ? opts.priority : 0; + if (priority == null) dart.nullFailed(I[130], 72, 34, "priority"); + return isolate$._unsupported(); + } + addErrorListener(port) { + if (port == null) dart.nullFailed(I[130], 76, 34, "port"); + return isolate$._unsupported(); + } + removeErrorListener(port) { + if (port == null) dart.nullFailed(I[130], 79, 37, "port"); + return isolate$._unsupported(); + } + get errors() { + let controller = async.StreamController.broadcast({sync: true}); + let port = null; + function handleError(message) { + let listMessage = T$.ListOfObjectN().as(message); + let errorDescription = core.String.as(listMessage[$_get](0)); + let stackDescription = core.String.as(listMessage[$_get](1)); + let error = new isolate$.RemoteError.new(errorDescription, stackDescription); + controller.addError(error, error.stackTrace); + } + dart.fn(handleError, T$.ObjectNTovoid()); + controller.onListen = dart.fn(() => { + let receivePort = isolate$.RawReceivePort.new(handleError); + port = receivePort; + this.addErrorListener(receivePort.sendPort); + }, T$.VoidTovoid()); + controller.onCancel = dart.fn(() => { + let listenPort = dart.nullCheck(port); + port = null; + this.removeErrorListener(listenPort.sendPort); + listenPort.close(); + }, T$.VoidToNull()); + return controller.stream; + } + }; + (isolate$.Isolate.new = function(controlPort, opts) { + if (controlPort == null) dart.nullFailed(I[132], 141, 16, "controlPort"); + let pauseCapability = opts && 'pauseCapability' in opts ? opts.pauseCapability : null; + let terminateCapability = opts && 'terminateCapability' in opts ? opts.terminateCapability : null; + this[controlPort$] = controlPort; + this[pauseCapability$] = pauseCapability; + this[terminateCapability$] = terminateCapability; + ; + }).prototype = isolate$.Isolate.prototype; + dart.addTypeTests(isolate$.Isolate); + dart.addTypeCaches(isolate$.Isolate); + dart.setMethodSignature(isolate$.Isolate, () => ({ + __proto__: dart.getMethods(isolate$.Isolate.__proto__), + pause: dart.fnType(isolate$.Capability, [], [dart.nullable(isolate$.Capability)]), + [_pause]: dart.fnType(dart.void, [isolate$.Capability]), + resume: dart.fnType(dart.void, [isolate$.Capability]), + addOnExitListener: dart.fnType(dart.void, [isolate$.SendPort], {response: dart.nullable(core.Object)}, {}), + removeOnExitListener: dart.fnType(dart.void, [isolate$.SendPort]), + setErrorsFatal: dart.fnType(dart.void, [core.bool]), + kill: dart.fnType(dart.void, [], {priority: core.int}, {}), + ping: dart.fnType(dart.void, [isolate$.SendPort], {priority: core.int, response: dart.nullable(core.Object)}, {}), + addErrorListener: dart.fnType(dart.void, [isolate$.SendPort]), + removeErrorListener: dart.fnType(dart.void, [isolate$.SendPort]) + })); + dart.setGetterSignature(isolate$.Isolate, () => ({ + __proto__: dart.getGetters(isolate$.Isolate.__proto__), + debugName: dart.nullable(core.String), + errors: async.Stream + })); + dart.setLibraryUri(isolate$.Isolate, I[131]); + dart.setFieldSignature(isolate$.Isolate, () => ({ + __proto__: dart.getFields(isolate$.Isolate.__proto__), + controlPort: dart.finalFieldType(isolate$.SendPort), + pauseCapability: dart.finalFieldType(dart.nullable(isolate$.Capability)), + terminateCapability: dart.finalFieldType(dart.nullable(isolate$.Capability)) + })); + dart.defineLazy(isolate$.Isolate, { + /*isolate$.Isolate.immediate*/get immediate() { + return 0; + }, + /*isolate$.Isolate.beforeNextEvent*/get beforeNextEvent() { + return 1; + } + }, false); + isolate$.SendPort = class SendPort extends core.Object {}; + (isolate$.SendPort.new = function() { + ; + }).prototype = isolate$.SendPort.prototype; + dart.addTypeTests(isolate$.SendPort); + dart.addTypeCaches(isolate$.SendPort); + isolate$.SendPort[dart.implements] = () => [isolate$.Capability]; + dart.setLibraryUri(isolate$.SendPort, I[131]); + isolate$.ReceivePort = class ReceivePort extends core.Object { + static fromRawReceivePort(rawPort) { + if (rawPort == null) dart.nullFailed(I[130], 89, 57, "rawPort"); + return isolate$._unsupported(); + } + }; + (isolate$.ReceivePort[dart.mixinNew] = function() { + }).prototype = isolate$.ReceivePort.prototype; + isolate$.ReceivePort.prototype[dart.isStream] = true; + dart.addTypeTests(isolate$.ReceivePort); + dart.addTypeCaches(isolate$.ReceivePort); + isolate$.ReceivePort[dart.implements] = () => [async.Stream]; + dart.setLibraryUri(isolate$.ReceivePort, I[131]); + isolate$.RawReceivePort = class RawReceivePort extends core.Object { + static new(handler = null, debugName = "") { + if (debugName == null) dart.nullFailed(I[130], 113, 53, "debugName"); + return isolate$._unsupported(); + } + }; + (isolate$.RawReceivePort[dart.mixinNew] = function() { + }).prototype = isolate$.RawReceivePort.prototype; + dart.addTypeTests(isolate$.RawReceivePort); + dart.addTypeCaches(isolate$.RawReceivePort); + dart.setLibraryUri(isolate$.RawReceivePort, I[131]); + var stackTrace$0 = dart.privateName(isolate$, "RemoteError.stackTrace"); + var _description = dart.privateName(isolate$, "_description"); + isolate$.RemoteError = class RemoteError extends core.Object { + get stackTrace() { + return this[stackTrace$0]; + } + set stackTrace(value) { + super.stackTrace = value; + } + toString() { + return this[_description]; + } + }; + (isolate$.RemoteError.new = function(description, stackDescription) { + if (description == null) dart.nullFailed(I[132], 714, 22, "description"); + if (stackDescription == null) dart.nullFailed(I[132], 714, 42, "stackDescription"); + this[_description] = description; + this[stackTrace$0] = new core._StringStackTrace.new(stackDescription); + ; + }).prototype = isolate$.RemoteError.prototype; + dart.addTypeTests(isolate$.RemoteError); + dart.addTypeCaches(isolate$.RemoteError); + isolate$.RemoteError[dart.implements] = () => [core.Error]; + dart.setLibraryUri(isolate$.RemoteError, I[131]); + dart.setFieldSignature(isolate$.RemoteError, () => ({ + __proto__: dart.getFields(isolate$.RemoteError.__proto__), + [_description]: dart.finalFieldType(core.String), + stackTrace: dart.finalFieldType(core.StackTrace) + })); + dart.defineExtensionMethods(isolate$.RemoteError, ['toString']); + dart.defineExtensionAccessors(isolate$.RemoteError, ['stackTrace']); + isolate$.TransferableTypedData = class TransferableTypedData extends core.Object { + static fromList(list) { + if (list == null) dart.nullFailed(I[130], 126, 58, "list"); + return isolate$._unsupported(); + } + }; + (isolate$.TransferableTypedData[dart.mixinNew] = function() { + }).prototype = isolate$.TransferableTypedData.prototype; + dart.addTypeTests(isolate$.TransferableTypedData); + dart.addTypeCaches(isolate$.TransferableTypedData); + dart.setLibraryUri(isolate$.TransferableTypedData, I[131]); + isolate$.Capability = class Capability extends core.Object { + static new() { + return isolate$._unsupported(); + } + }; + (isolate$.Capability[dart.mixinNew] = function() { + }).prototype = isolate$.Capability.prototype; + dart.addTypeTests(isolate$.Capability); + dart.addTypeCaches(isolate$.Capability); + dart.setLibraryUri(isolate$.Capability, I[131]); + isolate$._unsupported = function _unsupported() { + dart.throw(new core.UnsupportedError.new("dart:isolate is not supported on dart4web")); + }; + var _dartObj$ = dart.privateName(js, "_dartObj"); + js._DartObject = class _DartObject extends core.Object {}; + (js._DartObject.new = function(_dartObj) { + if (_dartObj == null) dart.nullFailed(I[133], 327, 20, "_dartObj"); + this[_dartObj$] = _dartObj; + ; + }).prototype = js._DartObject.prototype; + dart.addTypeTests(js._DartObject); + dart.addTypeCaches(js._DartObject); + dart.setLibraryUri(js._DartObject, I[134]); + dart.setFieldSignature(js._DartObject, () => ({ + __proto__: dart.getFields(js._DartObject.__proto__), + [_dartObj$]: dart.finalFieldType(core.Object) + })); + var _jsObject$ = dart.privateName(js, "_jsObject"); + js.JsObject = class JsObject extends core.Object { + static _convertDataTree(data) { + if (data == null) dart.nullFailed(I[133], 55, 34, "data"); + let _convertedObjects = new _js_helper.IdentityMap.new(); + function _convert(o) { + if (dart.test(_convertedObjects[$containsKey](o))) { + return _convertedObjects[$_get](o); + } + if (core.Map.is(o)) { + let convertedMap = {}; + _convertedObjects[$_set](o, convertedMap); + for (let key of o[$keys]) { + convertedMap[key] = _convert(o[$_get](key)); + } + return convertedMap; + } else if (core.Iterable.is(o)) { + let convertedList = []; + _convertedObjects[$_set](o, convertedList); + convertedList[$addAll](o[$map](dart.dynamic, _convert)); + return convertedList; + } else { + return js._convertToJS(o); + } + } + dart.fn(_convert, T$0.ObjectNTodynamic()); + return _convert(data); + } + static new(constructor, $arguments = null) { + if (constructor == null) dart.nullFailed(I[133], 30, 31, "constructor"); + let ctor = constructor[_jsObject$]; + if ($arguments == null) { + return js._wrapToDart(new ctor()); + } + let unwrapped = core.List.from($arguments[$map](dart.dynamic, C[209] || CT.C209)); + return js._wrapToDart(new ctor(...unwrapped)); + } + static fromBrowserObject(object) { + if (object == null) dart.nullFailed(I[133], 40, 45, "object"); + if (typeof object == 'number' || typeof object == 'string' || typeof object == 'boolean' || object == null) { + dart.throw(new core.ArgumentError.new("object cannot be a num, string, bool, or null")); + } + return js._wrapToDart(dart.nullCheck(js._convertToJS(object))); + } + static jsify(object) { + if (object == null) dart.nullFailed(I[133], 48, 33, "object"); + if (!core.Map.is(object) && !core.Iterable.is(object)) { + dart.throw(new core.ArgumentError.new("object must be a Map or Iterable")); + } + return js._wrapToDart(core.Object.as(js.JsObject._convertDataTree(object))); + } + _get(property) { + if (property == null) dart.nullFailed(I[133], 83, 30, "property"); + if (!(typeof property == 'string') && !(typeof property == 'number')) { + dart.throw(new core.ArgumentError.new("property is not a String or num")); + } + return js._convertToDart(this[_jsObject$][property]); + } + _set(property, value$) { + let value = value$; + if (property == null) dart.nullFailed(I[133], 91, 28, "property"); + if (!(typeof property == 'string') && !(typeof property == 'number')) { + dart.throw(new core.ArgumentError.new("property is not a String or num")); + } + this[_jsObject$][property] = js._convertToJS(value); + return value$; + } + get hashCode() { + return 0; + } + _equals(other) { + if (other == null) return false; + return js.JsObject.is(other) && this[_jsObject$] === other[_jsObject$]; + } + hasProperty(property) { + if (property == null) dart.nullFailed(I[133], 103, 27, "property"); + if (!(typeof property == 'string') && !(typeof property == 'number')) { + dart.throw(new core.ArgumentError.new("property is not a String or num")); + } + return property in this[_jsObject$]; + } + deleteProperty(property) { + if (property == null) dart.nullFailed(I[133], 111, 30, "property"); + if (!(typeof property == 'string') && !(typeof property == 'number')) { + dart.throw(new core.ArgumentError.new("property is not a String or num")); + } + delete this[_jsObject$][property]; + } + instanceof(type) { + if (type == null) dart.nullFailed(I[133], 119, 30, "type"); + return this[_jsObject$] instanceof js._convertToJS(type); + } + toString() { + try { + return String(this[_jsObject$]); + } catch (e$) { + let e = dart.getThrown(e$); + if (core.Object.is(e)) { + return super[$toString](); + } else + throw e$; + } + } + callMethod(method, args = null) { + if (method == null) dart.nullFailed(I[133], 133, 29, "method"); + if (!(typeof method == 'string') && !(typeof method == 'number')) { + dart.throw(new core.ArgumentError.new("method is not a String or num")); + } + if (args != null) args = core.List.from(args[$map](dart.dynamic, C[209] || CT.C209)); + let fn = this[_jsObject$][method]; + if (typeof fn !== "function") { + dart.throw(new core.NoSuchMethodError.new(this[_jsObject$], new _internal.Symbol.new(dart.str(method)), args, new (T$0.LinkedMapOfSymbol$dynamic()).new())); + } + return js._convertToDart(fn.apply(this[_jsObject$], args)); + } + }; + (js.JsObject._fromJs = function(_jsObject) { + if (_jsObject == null) dart.nullFailed(I[133], 25, 25, "_jsObject"); + this[_jsObject$] = _jsObject; + if (!(this[_jsObject$] != null)) dart.assertFailed(null, I[133], 26, 12, "_jsObject != null"); + }).prototype = js.JsObject.prototype; + dart.addTypeTests(js.JsObject); + dart.addTypeCaches(js.JsObject); + dart.setMethodSignature(js.JsObject, () => ({ + __proto__: dart.getMethods(js.JsObject.__proto__), + _get: dart.fnType(dart.dynamic, [core.Object]), + _set: dart.fnType(dart.void, [core.Object, dart.nullable(core.Object)]), + hasProperty: dart.fnType(core.bool, [core.Object]), + deleteProperty: dart.fnType(dart.void, [core.Object]), + instanceof: dart.fnType(core.bool, [js.JsFunction]), + callMethod: dart.fnType(dart.dynamic, [core.Object], [dart.nullable(core.List)]) + })); + dart.setLibraryUri(js.JsObject, I[134]); + dart.setFieldSignature(js.JsObject, () => ({ + __proto__: dart.getFields(js.JsObject.__proto__), + [_jsObject$]: dart.finalFieldType(core.Object) + })); + dart.defineExtensionMethods(js.JsObject, ['_equals', 'toString']); + dart.defineExtensionAccessors(js.JsObject, ['hashCode']); + js.JsFunction = class JsFunction extends js.JsObject { + static withThis(f) { + if (f == null) dart.nullFailed(I[133], 149, 40, "f"); + return new js.JsFunction._fromJs(function() { + let args = [js._convertToDart(this)]; + for (let arg of arguments) { + args.push(js._convertToDart(arg)); + } + return js._convertToJS(f(...args)); + }); + } + apply(args, opts) { + if (args == null) dart.nullFailed(I[133], 168, 22, "args"); + let thisArg = opts && 'thisArg' in opts ? opts.thisArg : null; + return js._convertToDart(this[_jsObject$].apply(js._convertToJS(thisArg), args == null ? null : core.List.from(args[$map](dart.dynamic, js._convertToJS)))); + } + }; + (js.JsFunction._fromJs = function(jsObject) { + if (jsObject == null) dart.nullFailed(I[133], 165, 29, "jsObject"); + js.JsFunction.__proto__._fromJs.call(this, jsObject); + ; + }).prototype = js.JsFunction.prototype; + dart.addTypeTests(js.JsFunction); + dart.addTypeCaches(js.JsFunction); + dart.setMethodSignature(js.JsFunction, () => ({ + __proto__: dart.getMethods(js.JsFunction.__proto__), + apply: dart.fnType(dart.dynamic, [core.List], {thisArg: dart.dynamic}, {}) + })); + dart.setLibraryUri(js.JsFunction, I[134]); + var _checkIndex = dart.privateName(js, "_checkIndex"); + var _checkInsertIndex = dart.privateName(js, "_checkInsertIndex"); + const _is_JsArray_default = Symbol('_is_JsArray_default'); + js.JsArray$ = dart.generic(E => { + var IterableOfE = () => (IterableOfE = dart.constFn(core.Iterable$(E)))(); + const JsObject_ListMixin$36 = class JsObject_ListMixin extends js.JsObject { + _set(property, value$) { + let value = value$; + if (property == null) dart.nullFailed(I[135], 175, 7, "property"); + super._set(property, value); + return value$; + } + }; + (JsObject_ListMixin$36._fromJs = function(_jsObject) { + JsObject_ListMixin$36.__proto__._fromJs.call(this, _jsObject); + }).prototype = JsObject_ListMixin$36.prototype; + dart.applyMixin(JsObject_ListMixin$36, collection.ListMixin$(E)); + class JsArray extends JsObject_ListMixin$36 { + [_checkIndex](index) { + if (index == null) dart.nullFailed(I[133], 188, 19, "index"); + if (dart.notNull(index) < 0 || dart.notNull(index) >= dart.notNull(this.length)) { + dart.throw(new core.RangeError.range(index, 0, this.length)); + } + } + [_checkInsertIndex](index) { + if (index == null) dart.nullFailed(I[133], 194, 25, "index"); + if (dart.notNull(index) < 0 || dart.notNull(index) >= dart.notNull(this.length) + 1) { + dart.throw(new core.RangeError.range(index, 0, this.length)); + } + } + static _checkRange(start, end, length) { + if (start == null) dart.nullFailed(I[133], 200, 26, "start"); + if (end == null) dart.nullFailed(I[133], 200, 37, "end"); + if (length == null) dart.nullFailed(I[133], 200, 46, "length"); + if (dart.notNull(start) < 0 || dart.notNull(start) > dart.notNull(length)) { + dart.throw(new core.RangeError.range(start, 0, length)); + } + if (dart.notNull(end) < dart.notNull(start) || dart.notNull(end) > dart.notNull(length)) { + dart.throw(new core.RangeError.range(end, start, length)); + } + } + static new() { + return new (js.JsArray$(E))._fromJs([]); + } + static from(other) { + let t219; + if (other == null) dart.nullFailed(I[133], 183, 36, "other"); + return new (js.JsArray$(E))._fromJs((t219 = [], (() => { + t219[$addAll](other[$map](dart.dynamic, C[209] || CT.C209)); + return t219; + })())); + } + _get(index) { + if (index == null) dart.nullFailed(I[133], 210, 24, "index"); + if (core.int.is(index)) { + this[_checkIndex](index); + } + return E.as(super._get(index)); + } + _set(index, value$) { + let value = value$; + if (index == null) dart.nullFailed(I[133], 218, 28, "index"); + if (core.int.is(index)) { + this[_checkIndex](index); + } + super._set(index, value); + return value$; + } + get length() { + let len = this[_jsObject$].length; + if (typeof len === "number" && len >>> 0 === len) { + return len; + } + dart.throw(new core.StateError.new("Bad JsArray length")); + } + set length(length) { + if (length == null) dart.nullFailed(I[133], 238, 23, "length"); + super._set("length", length); + } + add(value) { + E.as(value); + this.callMethod("push", [value]); + } + addAll(iterable) { + IterableOfE().as(iterable); + if (iterable == null) dart.nullFailed(I[133], 248, 27, "iterable"); + let list = iterable instanceof Array ? iterable : core.List.from(iterable); + this.callMethod("push", list); + } + insert(index, element) { + if (index == null) dart.nullFailed(I[133], 256, 19, "index"); + E.as(element); + this[_checkInsertIndex](index); + this.callMethod("splice", [index, 0, element]); + } + removeAt(index) { + if (index == null) dart.nullFailed(I[133], 262, 18, "index"); + this[_checkIndex](index); + return E.as(dart.dsend(this.callMethod("splice", [index, 1]), '_get', [0])); + } + removeLast() { + if (this.length === 0) dart.throw(new core.RangeError.new(-1)); + return E.as(this.callMethod("pop")); + } + removeRange(start, end) { + if (start == null) dart.nullFailed(I[133], 274, 24, "start"); + if (end == null) dart.nullFailed(I[133], 274, 35, "end"); + js.JsArray._checkRange(start, end, this.length); + this.callMethod("splice", [start, dart.notNull(end) - dart.notNull(start)]); + } + setRange(start, end, iterable, skipCount = 0) { + let t219; + if (start == null) dart.nullFailed(I[133], 280, 21, "start"); + if (end == null) dart.nullFailed(I[133], 280, 32, "end"); + IterableOfE().as(iterable); + if (iterable == null) dart.nullFailed(I[133], 280, 49, "iterable"); + if (skipCount == null) dart.nullFailed(I[133], 280, 64, "skipCount"); + js.JsArray._checkRange(start, end, this.length); + let length = dart.notNull(end) - dart.notNull(start); + if (length === 0) return; + if (dart.notNull(skipCount) < 0) dart.throw(new core.ArgumentError.new(skipCount)); + let args = (t219 = T$.JSArrayOfObjectN().of([start, length]), (() => { + t219[$addAll](iterable[$skip](skipCount)[$take](length)); + return t219; + })()); + this.callMethod("splice", args); + } + sort(compare = null) { + this.callMethod("sort", compare == null ? [] : [compare]); + } + } + (JsArray._fromJs = function(jsObject) { + if (jsObject == null) dart.nullFailed(I[133], 186, 26, "jsObject"); + JsArray.__proto__._fromJs.call(this, jsObject); + ; + }).prototype = JsArray.prototype; + dart.addTypeTests(JsArray); + JsArray.prototype[_is_JsArray_default] = true; + dart.addTypeCaches(JsArray); + dart.setMethodSignature(JsArray, () => ({ + __proto__: dart.getMethods(JsArray.__proto__), + [_checkIndex]: dart.fnType(dart.dynamic, [core.int]), + [_checkInsertIndex]: dart.fnType(dart.dynamic, [core.int]), + _get: dart.fnType(E, [core.Object]), + [$_get]: dart.fnType(E, [core.Object]), + _set: dart.fnType(dart.void, [core.Object, dart.dynamic]), + [$_set]: dart.fnType(dart.void, [core.Object, dart.dynamic]) + })); + dart.setGetterSignature(JsArray, () => ({ + __proto__: dart.getGetters(JsArray.__proto__), + length: core.int, + [$length]: core.int + })); + dart.setSetterSignature(JsArray, () => ({ + __proto__: dart.getSetters(JsArray.__proto__), + length: core.int, + [$length]: core.int + })); + dart.setLibraryUri(JsArray, I[134]); + dart.defineExtensionMethods(JsArray, [ + '_get', + '_set', + 'add', + 'addAll', + 'insert', + 'removeAt', + 'removeLast', + 'removeRange', + 'setRange', + 'sort' + ]); + dart.defineExtensionAccessors(JsArray, ['length']); + return JsArray; + }); + js.JsArray = js.JsArray$(); + dart.addTypeTests(js.JsArray, _is_JsArray_default); + js._isBrowserType = function _isBrowserType(o) { + if (o == null) dart.nullFailed(I[133], 301, 28, "o"); + return o instanceof Object && (o instanceof Blob || o instanceof Event || window.KeyRange && o instanceof KeyRange || window.IDBKeyRange && o instanceof IDBKeyRange || o instanceof ImageData || o instanceof Node || window.DataView && o instanceof DataView || window.Int8Array && o instanceof Int8Array.__proto__ || o instanceof Window); + }; + js._convertToJS = function _convertToJS(o) { + if (o == null || typeof o == 'string' || typeof o == 'number' || typeof o == 'boolean' || dart.test(js._isBrowserType(o))) { + return o; + } else if (core.DateTime.is(o)) { + return _js_helper.Primitives.lazyAsJsDate(o); + } else if (js.JsObject.is(o)) { + return o[_jsObject$]; + } else if (core.Function.is(o)) { + return js._putIfAbsent(js._jsProxies, o, C[210] || CT.C210); + } else { + return js._putIfAbsent(js._jsProxies, o, dart.fn(o => { + if (o == null) dart.nullFailed(I[133], 342, 41, "o"); + return new js._DartObject.new(o); + }, T$0.ObjectTo_DartObject())); + } + }; + js._wrapDartFunction = function _wrapDartFunction(f) { + if (f == null) dart.nullFailed(I[133], 346, 33, "f"); + let wrapper = function() { + let args = Array.prototype.map.call(arguments, js._convertToDart); + return js._convertToJS(f(...args)); + }; + js._dartProxies.set(wrapper, f); + return wrapper; + }; + js._convertToDart = function _convertToDart(o) { + if (o == null || typeof o == 'string' || typeof o == 'number' || typeof o == 'boolean' || dart.test(js._isBrowserType(o))) { + return o; + } else if (o instanceof Date) { + let ms = o.getTime(); + return new core.DateTime.fromMillisecondsSinceEpoch(ms); + } else if (js._DartObject.is(o) && !core.identical(dart.getReifiedType(o), dart.jsobject)) { + return o[_dartObj$]; + } else { + return js._wrapToDart(o); + } + }; + js._wrapToDart = function _wrapToDart(o) { + if (o == null) dart.nullFailed(I[133], 377, 29, "o"); + return js._putIfAbsent(js._dartProxies, o, C[211] || CT.C211); + }; + js._wrapToDartHelper = function _wrapToDartHelper(o) { + if (o == null) dart.nullFailed(I[133], 380, 35, "o"); + if (typeof o == "function") { + return new js.JsFunction._fromJs(o); + } + if (o instanceof Array) { + return new js.JsArray._fromJs(o); + } + return new js.JsObject._fromJs(o); + }; + js._putIfAbsent = function _putIfAbsent(weakMap, o, getValue) { + if (weakMap == null) dart.nullFailed(I[133], 394, 26, "weakMap"); + if (o == null) dart.nullFailed(I[133], 394, 42, "o"); + if (getValue == null) dart.nullFailed(I[133], 394, 47, "getValue"); + let value = weakMap.get(o); + if (value == null) { + value = getValue(o); + weakMap.set(o, value); + } + return value; + }; + js.allowInterop = function allowInterop(F, f) { + if (f == null) dart.nullFailed(I[133], 407, 38, "f"); + if (!dart.test(dart.isDartFunction(f))) return f; + let ret = dart.nullable(F).as(js._interopExpando._get(f)); + if (ret == null) { + ret = function(...args) { + return dart.dcall(f, args); + }; + js._interopExpando._set(f, ret); + } + return ret; + }; + js.allowInteropCaptureThis = function allowInteropCaptureThis(f) { + if (f == null) dart.nullFailed(I[133], 426, 43, "f"); + if (!dart.test(dart.isDartFunction(f))) return f; + let ret = js._interopCaptureThisExpando._get(f); + if (ret == null) { + ret = function(...arguments$) { + let args = [this]; + args.push.apply(args, arguments$); + return dart.dcall(f, args); + }; + js._interopCaptureThisExpando._set(f, ret); + } + return ret; + }; + dart.copyProperties(js, { + get context() { + return js._context; + } + }); + dart.defineLazy(js, { + /*js._context*/get _context() { + return js._wrapToDart(dart.global); + }, + /*js._dartProxies*/get _dartProxies() { + return new WeakMap(); + }, + /*js._jsProxies*/get _jsProxies() { + return new WeakMap(); + }, + /*js._interopExpando*/get _interopExpando() { + return new (T$.ExpandoOfFunction()).new(); + }, + set _interopExpando(_) {}, + /*js._interopCaptureThisExpando*/get _interopCaptureThisExpando() { + return new (T$.ExpandoOfFunction()).new(); + }, + set _interopCaptureThisExpando(_) {} + }, false); + var isUndefined$ = dart.privateName(js_util, "NullRejectionException.isUndefined"); + js_util.NullRejectionException = class NullRejectionException extends core.Object { + get isUndefined() { + return this[isUndefined$]; + } + set isUndefined(value) { + super.isUndefined = value; + } + toString() { + let value = dart.test(this.isUndefined) ? "undefined" : "null"; + return "Promise was rejected with a value of `" + value + "`."; + } + }; + (js_util.NullRejectionException.__ = function(isUndefined) { + if (isUndefined == null) dart.nullFailed(I[136], 161, 33, "isUndefined"); + this[isUndefined$] = isUndefined; + ; + }).prototype = js_util.NullRejectionException.prototype; + dart.addTypeTests(js_util.NullRejectionException); + dart.addTypeCaches(js_util.NullRejectionException); + js_util.NullRejectionException[dart.implements] = () => [core.Exception]; + dart.setLibraryUri(js_util.NullRejectionException, I[137]); + dart.setFieldSignature(js_util.NullRejectionException, () => ({ + __proto__: dart.getFields(js_util.NullRejectionException.__proto__), + isUndefined: dart.finalFieldType(core.bool) + })); + dart.defineExtensionMethods(js_util.NullRejectionException, ['toString']); + js_util.jsify = function jsify(object) { + if (object == null) dart.nullFailed(I[136], 33, 22, "object"); + if (!core.Map.is(object) && !core.Iterable.is(object)) { + dart.throw(new core.ArgumentError.new("object must be a Map or Iterable")); + } + return js_util._convertDataTree(object); + }; + js_util._convertDataTree = function _convertDataTree(data) { + if (data == null) dart.nullFailed(I[136], 40, 32, "data"); + let _convertedObjects = new _js_helper.IdentityMap.new(); + function _convert(o) { + if (dart.test(_convertedObjects[$containsKey](o))) { + return _convertedObjects[$_get](o); + } + if (core.Map.is(o)) { + let convertedMap = {}; + _convertedObjects[$_set](o, convertedMap); + for (let key of o[$keys]) { + convertedMap[key] = _convert(o[$_get](key)); + } + return convertedMap; + } else if (core.Iterable.is(o)) { + let convertedList = []; + _convertedObjects[$_set](o, convertedList); + convertedList[$addAll](o[$map](dart.dynamic, _convert)); + return convertedList; + } else { + return o; + } + } + dart.fn(_convert, T$.ObjectNToObjectN()); + return dart.nullCheck(_convert(data)); + }; + js_util.newObject = function newObject() { + return {}; + }; + js_util.hasProperty = function hasProperty(o, name) { + if (o == null) dart.nullFailed(I[136], 69, 25, "o"); + if (name == null) dart.nullFailed(I[136], 69, 35, "name"); + return name in o; + }; + js_util.getProperty = function getProperty(o, name) { + if (o == null) dart.nullFailed(I[136], 71, 28, "o"); + if (name == null) dart.nullFailed(I[136], 71, 38, "name"); + return o[name]; + }; + js_util.setProperty = function setProperty(o, name, value) { + if (o == null) dart.nullFailed(I[136], 74, 28, "o"); + if (name == null) dart.nullFailed(I[136], 74, 38, "name"); + _js_helper.assertInterop(value); + return o[name] = value; + }; + js_util.callMethod = function callMethod$(o, method, args) { + if (o == null) dart.nullFailed(I[136], 79, 27, "o"); + if (method == null) dart.nullFailed(I[136], 79, 37, "method"); + if (args == null) dart.nullFailed(I[136], 79, 59, "args"); + _js_helper.assertInteropArgs(args); + return o[method].apply(o, args); + }; + js_util.instanceof = function $instanceof(o, type) { + if (type == null) dart.nullFailed(I[136], 88, 35, "type"); + return o instanceof type; + }; + js_util.callConstructor = function callConstructor(constr, $arguments) { + let t219; + if (constr == null) dart.nullFailed(I[136], 91, 32, "constr"); + if ($arguments == null) { + return new constr(); + } else { + _js_helper.assertInteropArgs($arguments); + } + if ($arguments instanceof Array) { + let argumentCount = $arguments.length; + switch (argumentCount) { + case 0: + { + return new constr(); + } + case 1: + { + let arg0 = $arguments[0]; + return new constr(arg0); + } + case 2: + { + let arg0 = $arguments[0]; + let arg1 = $arguments[1]; + return new constr(arg0, arg1); + } + case 3: + { + let arg0 = $arguments[0]; + let arg1 = $arguments[1]; + let arg2 = $arguments[2]; + return new constr(arg0, arg1, arg2); + } + case 4: + { + let arg0 = $arguments[0]; + let arg1 = $arguments[1]; + let arg2 = $arguments[2]; + let arg3 = $arguments[3]; + return new constr(arg0, arg1, arg2, arg3); + } + } + } + let args = (t219 = [null], (() => { + t219[$addAll]($arguments); + return t219; + })()); + let factoryFunction = constr.bind.apply(constr, args); + String(factoryFunction); + return new factoryFunction(); + }; + js_util.promiseToFuture = function promiseToFuture(T, jsPromise) { + if (jsPromise == null) dart.nullFailed(I[136], 180, 37, "jsPromise"); + let completer = async.Completer$(T).new(); + let success = _js_helper.convertDartClosureToJS(T$.dynamicTovoid(), dart.fn(r => completer.complete(dart.nullable(async.FutureOr$(T)).as(r)), T$.dynamicTovoid()), 1); + let error = _js_helper.convertDartClosureToJS(T$.dynamicTovoid(), dart.fn(e => { + if (e == null) { + return completer.completeError(new js_util.NullRejectionException.__(e === undefined)); + } + return completer.completeError(core.Object.as(e)); + }, T$.dynamicTovoid()), 1); + jsPromise.then(success, error); + return completer.future; + }; + math._JSRandom = class _JSRandom extends core.Object { + nextInt(max) { + if (max == null) dart.nullFailed(I[138], 85, 19, "max"); + if (dart.notNull(max) <= 0 || dart.notNull(max) > 4294967296.0) { + dart.throw(new core.RangeError.new("max must be in range 0 < max ≤ 2^32, was " + dart.str(max))); + } + return Math.random() * max >>> 0; + } + nextDouble() { + return Math.random(); + } + nextBool() { + return Math.random() < 0.5; + } + }; + (math._JSRandom.new = function() { + ; + }).prototype = math._JSRandom.prototype; + dart.addTypeTests(math._JSRandom); + dart.addTypeCaches(math._JSRandom); + math._JSRandom[dart.implements] = () => [math.Random]; + dart.setMethodSignature(math._JSRandom, () => ({ + __proto__: dart.getMethods(math._JSRandom.__proto__), + nextInt: dart.fnType(core.int, [core.int]), + nextDouble: dart.fnType(core.double, []), + nextBool: dart.fnType(core.bool, []) + })); + dart.setLibraryUri(math._JSRandom, I[139]); + var _lo = dart.privateName(math, "_lo"); + var _hi = dart.privateName(math, "_hi"); + var _nextState = dart.privateName(math, "_nextState"); + math._Random = class _Random extends core.Object { + [_nextState]() { + let tmpHi = 4294901760 * this[_lo]; + let tmpHiLo = (tmpHi & 4294967295.0) >>> 0; + let tmpHiHi = tmpHi - tmpHiLo; + let tmpLo = 55905 * this[_lo]; + let tmpLoLo = (tmpLo & 4294967295.0) >>> 0; + let tmpLoHi = tmpLo - tmpLoLo; + let newLo = tmpLoLo + tmpHiLo + this[_hi]; + this[_lo] = (newLo & 4294967295.0) >>> 0; + let newLoHi = newLo - this[_lo]; + this[_hi] = (((tmpLoHi + tmpHiHi + newLoHi) / 4294967296.0)[$truncate]() & 4294967295.0) >>> 0; + if (!(this[_lo] < 4294967296.0)) dart.assertFailed(null, I[138], 221, 12, "_lo < _POW2_32"); + if (!(this[_hi] < 4294967296.0)) dart.assertFailed(null, I[138], 222, 12, "_hi < _POW2_32"); + } + nextInt(max) { + if (max == null) dart.argumentError(max); + if (max <= 0 || max > 4294967296.0) { + dart.throw(new core.RangeError.new("max must be in range 0 < max ≤ 2^32, was " + dart.str(max))); + } + if ((max & max - 1) === 0) { + this[_nextState](); + return (this[_lo] & max - 1) >>> 0; + } + let rnd32 = null; + let result = null; + do { + this[_nextState](); + rnd32 = this[_lo]; + result = rnd32[$remainder](max)[$toInt](); + } while (dart.notNull(rnd32) - dart.notNull(result) + max >= 4294967296.0); + return result; + } + nextDouble() { + this[_nextState](); + let bits26 = (this[_lo] & (1 << 26) - 1) >>> 0; + this[_nextState](); + let bits27 = (this[_lo] & (1 << 27) - 1) >>> 0; + return (bits26 * 134217728 + bits27) / 9007199254740992.0; + } + nextBool() { + this[_nextState](); + return (this[_lo] & 1) === 0; + } + }; + (math._Random.new = function(seed) { + if (seed == null) dart.nullFailed(I[138], 130, 15, "seed"); + this[_lo] = 0; + this[_hi] = 0; + let empty_seed = 0; + if (dart.notNull(seed) < 0) { + empty_seed = -1; + } + do { + let low = (dart.notNull(seed) & 4294967295.0) >>> 0; + seed = ((dart.notNull(seed) - low) / 4294967296.0)[$truncate](); + let high = (dart.notNull(seed) & 4294967295.0) >>> 0; + seed = ((dart.notNull(seed) - high) / 4294967296.0)[$truncate](); + let tmplow = low << 21 >>> 0; + let tmphigh = (high << 21 | low[$rightShift](11)) >>> 0; + tmplow = ((~low & 4294967295.0) >>> 0) + tmplow; + low = (tmplow & 4294967295.0) >>> 0; + high = ((~high >>> 0) + tmphigh + ((tmplow - low) / 4294967296)[$truncate]() & 4294967295.0) >>> 0; + tmphigh = high[$rightShift](24); + tmplow = (low[$rightShift](24) | high << 8 >>> 0) >>> 0; + low = (low ^ tmplow) >>> 0; + high = (high ^ tmphigh) >>> 0; + tmplow = low * 265; + low = (tmplow & 4294967295.0) >>> 0; + high = (high * 265 + ((tmplow - low) / 4294967296)[$truncate]() & 4294967295.0) >>> 0; + tmphigh = high[$rightShift](14); + tmplow = (low[$rightShift](14) | high << 18 >>> 0) >>> 0; + low = (low ^ tmplow) >>> 0; + high = (high ^ tmphigh) >>> 0; + tmplow = low * 21; + low = (tmplow & 4294967295.0) >>> 0; + high = (high * 21 + ((tmplow - low) / 4294967296)[$truncate]() & 4294967295.0) >>> 0; + tmphigh = high[$rightShift](28); + tmplow = (low[$rightShift](28) | high << 4 >>> 0) >>> 0; + low = (low ^ tmplow) >>> 0; + high = (high ^ tmphigh) >>> 0; + tmplow = low << 31 >>> 0; + tmphigh = (high << 31 | low[$rightShift](1)) >>> 0; + tmplow = tmplow + low; + low = (tmplow & 4294967295.0) >>> 0; + high = (high + tmphigh + ((tmplow - low) / 4294967296)[$truncate]() & 4294967295.0) >>> 0; + tmplow = this[_lo] * 1037; + this[_lo] = (tmplow & 4294967295.0) >>> 0; + this[_hi] = (this[_hi] * 1037 + ((tmplow - this[_lo]) / 4294967296)[$truncate]() & 4294967295.0) >>> 0; + this[_lo] = (this[_lo] ^ low) >>> 0; + this[_hi] = (this[_hi] ^ high) >>> 0; + } while (seed !== empty_seed); + if (this[_hi] === 0 && this[_lo] === 0) { + this[_lo] = 23063; + } + this[_nextState](); + this[_nextState](); + this[_nextState](); + this[_nextState](); + }).prototype = math._Random.prototype; + dart.addTypeTests(math._Random); + dart.addTypeCaches(math._Random); + math._Random[dart.implements] = () => [math.Random]; + dart.setMethodSignature(math._Random, () => ({ + __proto__: dart.getMethods(math._Random.__proto__), + [_nextState]: dart.fnType(dart.void, []), + nextInt: dart.fnType(core.int, [core.int]), + nextDouble: dart.fnType(core.double, []), + nextBool: dart.fnType(core.bool, []) + })); + dart.setLibraryUri(math._Random, I[139]); + dart.setFieldSignature(math._Random, () => ({ + __proto__: dart.getFields(math._Random.__proto__), + [_lo]: dart.fieldType(core.int), + [_hi]: dart.fieldType(core.int) + })); + dart.defineLazy(math._Random, { + /*math._Random._POW2_53_D*/get _POW2_53_D() { + return 9007199254740992.0; + }, + /*math._Random._POW2_27_D*/get _POW2_27_D() { + return 134217728; + }, + /*math._Random._MASK32*/get _MASK32() { + return 4294967295.0; + } + }, false); + var _buffer$0 = dart.privateName(math, "_buffer"); + var _getRandomBytes = dart.privateName(math, "_getRandomBytes"); + math._JSSecureRandom = class _JSSecureRandom extends core.Object { + [_getRandomBytes](start, length) { + if (start == null) dart.nullFailed(I[138], 279, 28, "start"); + if (length == null) dart.nullFailed(I[138], 279, 39, "length"); + crypto.getRandomValues(this[_buffer$0][$buffer][$asUint8List](start, length)); + } + nextBool() { + this[_getRandomBytes](0, 1); + return this[_buffer$0][$getUint8](0)[$isOdd]; + } + nextDouble() { + this[_getRandomBytes](1, 7); + this[_buffer$0][$setUint8](0, 63); + let highByte = this[_buffer$0][$getUint8](1); + this[_buffer$0][$setUint8](1, (dart.notNull(highByte) | 240) >>> 0); + let result = dart.notNull(this[_buffer$0][$getFloat64](0)) - 1.0; + if ((dart.notNull(highByte) & 16) !== 0) { + result = result + 1.1102230246251565e-16; + } + return result; + } + nextInt(max) { + if (max == null) dart.argumentError(max); + if (max <= 0 || max > 4294967296.0) { + dart.throw(new core.RangeError.new("max must be in range 0 < max ≤ 2^32, was " + dart.str(max))); + } + let byteCount = 1; + if (max > 255) { + byteCount = byteCount + 1; + if (max > 65535) { + byteCount = byteCount + 1; + if (max > 16777215) { + byteCount = byteCount + 1; + } + } + } + this[_buffer$0][$setUint32](0, 0); + let start = 4 - byteCount; + let randomLimit = math.pow(256, byteCount)[$toInt](); + while (true) { + this[_getRandomBytes](start, byteCount); + let random = this[_buffer$0][$getUint32](0); + if ((max & max - 1) === 0) { + return (dart.notNull(random) & max - 1) >>> 0; + } + let result = random[$remainder](max)[$toInt](); + if (dart.notNull(random) - result + max < randomLimit) { + return result; + } + } + } + }; + (math._JSSecureRandom.new = function() { + this[_buffer$0] = _native_typed_data.NativeByteData.new(8); + let crypto = self.crypto; + if (crypto != null) { + let getRandomValues = crypto.getRandomValues; + if (getRandomValues != null) { + return; + } + } + dart.throw(new core.UnsupportedError.new("No source of cryptographically secure random numbers available.")); + }).prototype = math._JSSecureRandom.prototype; + dart.addTypeTests(math._JSSecureRandom); + dart.addTypeCaches(math._JSSecureRandom); + math._JSSecureRandom[dart.implements] = () => [math.Random]; + dart.setMethodSignature(math._JSSecureRandom, () => ({ + __proto__: dart.getMethods(math._JSSecureRandom.__proto__), + [_getRandomBytes]: dart.fnType(dart.void, [core.int, core.int]), + nextBool: dart.fnType(core.bool, []), + nextDouble: dart.fnType(core.double, []), + nextInt: dart.fnType(core.int, [core.int]) + })); + dart.setLibraryUri(math._JSSecureRandom, I[139]); + dart.setFieldSignature(math._JSSecureRandom, () => ({ + __proto__: dart.getFields(math._JSSecureRandom.__proto__), + [_buffer$0]: dart.finalFieldType(typed_data.ByteData) + })); + var x$2 = dart.privateName(math, "Point.x"); + var y$2 = dart.privateName(math, "Point.y"); + const _is_Point_default = Symbol('_is_Point_default'); + math.Point$ = dart.generic(T => { + var PointOfT = () => (PointOfT = dart.constFn(math.Point$(T)))(); + class Point extends core.Object { + get x() { + return this[x$2]; + } + set x(value) { + super.x = value; + } + get y() { + return this[y$2]; + } + set y(value) { + super.y = value; + } + toString() { + return "Point(" + dart.str(this.x) + ", " + dart.str(this.y) + ")"; + } + _equals(other) { + if (other == null) return false; + return T$0.PointOfnum().is(other) && this.x == other.x && this.y == other.y; + } + get hashCode() { + return _internal.SystemHash.hash2(dart.hashCode(this.x), dart.hashCode(this.y)); + } + ['+'](other) { + PointOfT().as(other); + if (other == null) dart.nullFailed(I[140], 32, 32, "other"); + return new (PointOfT()).new(T.as(dart.notNull(this.x) + dart.notNull(other.x)), T.as(dart.notNull(this.y) + dart.notNull(other.y))); + } + ['-'](other) { + PointOfT().as(other); + if (other == null) dart.nullFailed(I[140], 39, 32, "other"); + return new (PointOfT()).new(T.as(dart.notNull(this.x) - dart.notNull(other.x)), T.as(dart.notNull(this.y) - dart.notNull(other.y))); + } + ['*'](factor) { + if (factor == null) dart.nullFailed(I[140], 50, 37, "factor"); + return new (PointOfT()).new(T.as(dart.notNull(this.x) * dart.notNull(factor)), T.as(dart.notNull(this.y) * dart.notNull(factor))); + } + get magnitude() { + return math.sqrt(dart.notNull(this.x) * dart.notNull(this.x) + dart.notNull(this.y) * dart.notNull(this.y)); + } + distanceTo(other) { + PointOfT().as(other); + if (other == null) dart.nullFailed(I[140], 59, 30, "other"); + let dx = dart.notNull(this.x) - dart.notNull(other.x); + let dy = dart.notNull(this.y) - dart.notNull(other.y); + return math.sqrt(dx * dx + dy * dy); + } + squaredDistanceTo(other) { + PointOfT().as(other); + if (other == null) dart.nullFailed(I[140], 69, 32, "other"); + let dx = dart.notNull(this.x) - dart.notNull(other.x); + let dy = dart.notNull(this.y) - dart.notNull(other.y); + return T.as(dx * dx + dy * dy); + } + } + (Point.new = function(x, y) { + if (x == null) dart.nullFailed(I[140], 13, 17, "x"); + if (y == null) dart.nullFailed(I[140], 13, 22, "y"); + this[x$2] = x; + this[y$2] = y; + ; + }).prototype = Point.prototype; + dart.addTypeTests(Point); + Point.prototype[_is_Point_default] = true; + dart.addTypeCaches(Point); + dart.setMethodSignature(Point, () => ({ + __proto__: dart.getMethods(Point.__proto__), + '+': dart.fnType(math.Point$(T), [dart.nullable(core.Object)]), + '-': dart.fnType(math.Point$(T), [dart.nullable(core.Object)]), + '*': dart.fnType(math.Point$(T), [core.num]), + distanceTo: dart.fnType(core.double, [dart.nullable(core.Object)]), + squaredDistanceTo: dart.fnType(T, [dart.nullable(core.Object)]) + })); + dart.setGetterSignature(Point, () => ({ + __proto__: dart.getGetters(Point.__proto__), + magnitude: core.double + })); + dart.setLibraryUri(Point, I[139]); + dart.setFieldSignature(Point, () => ({ + __proto__: dart.getFields(Point.__proto__), + x: dart.finalFieldType(T), + y: dart.finalFieldType(T) + })); + dart.defineExtensionMethods(Point, ['toString', '_equals']); + dart.defineExtensionAccessors(Point, ['hashCode']); + return Point; + }); + math.Point = math.Point$(); + dart.addTypeTests(math.Point, _is_Point_default); + math.Random = class Random extends core.Object { + static new(seed = null) { + return seed == null ? C[212] || CT.C212 : new math._Random.new(seed); + } + static secure() { + let t219; + t219 = math.Random._secureRandom; + return t219 == null ? math.Random._secureRandom = new math._JSSecureRandom.new() : t219; + } + }; + (math.Random[dart.mixinNew] = function() { + }).prototype = math.Random.prototype; + dart.addTypeTests(math.Random); + dart.addTypeCaches(math.Random); + dart.setLibraryUri(math.Random, I[139]); + dart.defineLazy(math.Random, { + /*math.Random._secureRandom*/get _secureRandom() { + return null; + }, + set _secureRandom(_) {} + }, false); + const _is__RectangleBase_default = Symbol('_is__RectangleBase_default'); + math._RectangleBase$ = dart.generic(T => { + var RectangleOfT = () => (RectangleOfT = dart.constFn(math.Rectangle$(T)))(); + var PointOfT = () => (PointOfT = dart.constFn(math.Point$(T)))(); + class _RectangleBase extends core.Object { + get right() { + return T.as(dart.notNull(this[$left]) + dart.notNull(this[$width])); + } + get bottom() { + return T.as(dart.notNull(this[$top]) + dart.notNull(this[$height])); + } + toString() { + return "Rectangle (" + dart.str(this[$left]) + ", " + dart.str(this[$top]) + ") " + dart.str(this[$width]) + " x " + dart.str(this[$height]); + } + _equals(other) { + if (other == null) return false; + return T$0.RectangleOfnum().is(other) && this[$left] == other[$left] && this[$top] == other[$top] && this[$right] == other[$right] && this[$bottom] == other[$bottom]; + } + get hashCode() { + return _internal.SystemHash.hash4(dart.hashCode(this[$left]), dart.hashCode(this[$top]), dart.hashCode(this[$right]), dart.hashCode(this[$bottom])); + } + intersection(other) { + RectangleOfT().as(other); + if (other == null) dart.nullFailed(I[141], 61, 43, "other"); + let x0 = math.max(T, this[$left], other[$left]); + let x1 = math.min(core.num, dart.notNull(this[$left]) + dart.notNull(this[$width]), dart.notNull(other[$left]) + dart.notNull(other[$width])); + if (x0 <= x1) { + let y0 = math.max(T, this[$top], other[$top]); + let y1 = math.min(core.num, dart.notNull(this[$top]) + dart.notNull(this[$height]), dart.notNull(other[$top]) + dart.notNull(other[$height])); + if (y0 <= y1) { + return new (RectangleOfT()).new(x0, y0, T.as(x1 - x0), T.as(y1 - y0)); + } + } + return null; + } + intersects(other) { + if (other == null) dart.nullFailed(I[141], 77, 34, "other"); + return dart.notNull(this[$left]) <= dart.notNull(other[$left]) + dart.notNull(other[$width]) && dart.notNull(other[$left]) <= dart.notNull(this[$left]) + dart.notNull(this[$width]) && dart.notNull(this[$top]) <= dart.notNull(other[$top]) + dart.notNull(other[$height]) && dart.notNull(other[$top]) <= dart.notNull(this[$top]) + dart.notNull(this[$height]); + } + boundingBox(other) { + RectangleOfT().as(other); + if (other == null) dart.nullFailed(I[141], 85, 41, "other"); + let right = math.max(core.num, dart.notNull(this[$left]) + dart.notNull(this[$width]), dart.notNull(other[$left]) + dart.notNull(other[$width])); + let bottom = math.max(core.num, dart.notNull(this[$top]) + dart.notNull(this[$height]), dart.notNull(other[$top]) + dart.notNull(other[$height])); + let left = math.min(T, this[$left], other[$left]); + let top = math.min(T, this[$top], other[$top]); + return new (RectangleOfT()).new(left, top, T.as(right - left), T.as(bottom - top)); + } + containsRectangle(another) { + if (another == null) dart.nullFailed(I[141], 96, 41, "another"); + return dart.notNull(this[$left]) <= dart.notNull(another[$left]) && dart.notNull(this[$left]) + dart.notNull(this[$width]) >= dart.notNull(another[$left]) + dart.notNull(another[$width]) && dart.notNull(this[$top]) <= dart.notNull(another[$top]) && dart.notNull(this[$top]) + dart.notNull(this[$height]) >= dart.notNull(another[$top]) + dart.notNull(another[$height]); + } + containsPoint(another) { + if (another == null) dart.nullFailed(I[141], 104, 33, "another"); + return dart.notNull(another.x) >= dart.notNull(this[$left]) && dart.notNull(another.x) <= dart.notNull(this[$left]) + dart.notNull(this[$width]) && dart.notNull(another.y) >= dart.notNull(this[$top]) && dart.notNull(another.y) <= dart.notNull(this[$top]) + dart.notNull(this[$height]); + } + get topLeft() { + return new (PointOfT()).new(this[$left], this[$top]); + } + get topRight() { + return new (PointOfT()).new(T.as(dart.notNull(this[$left]) + dart.notNull(this[$width])), this[$top]); + } + get bottomRight() { + return new (PointOfT()).new(T.as(dart.notNull(this[$left]) + dart.notNull(this[$width])), T.as(dart.notNull(this[$top]) + dart.notNull(this[$height]))); + } + get bottomLeft() { + return new (PointOfT()).new(this[$left], T.as(dart.notNull(this[$top]) + dart.notNull(this[$height]))); + } + } + (_RectangleBase.new = function() { + ; + }).prototype = _RectangleBase.prototype; + dart.addTypeTests(_RectangleBase); + _RectangleBase.prototype[_is__RectangleBase_default] = true; + dart.addTypeCaches(_RectangleBase); + dart.setMethodSignature(_RectangleBase, () => ({ + __proto__: dart.getMethods(_RectangleBase.__proto__), + intersection: dart.fnType(dart.nullable(math.Rectangle$(T)), [dart.nullable(core.Object)]), + [$intersection]: dart.fnType(dart.nullable(math.Rectangle$(T)), [dart.nullable(core.Object)]), + intersects: dart.fnType(core.bool, [math.Rectangle$(core.num)]), + [$intersects]: dart.fnType(core.bool, [math.Rectangle$(core.num)]), + boundingBox: dart.fnType(math.Rectangle$(T), [dart.nullable(core.Object)]), + [$boundingBox]: dart.fnType(math.Rectangle$(T), [dart.nullable(core.Object)]), + containsRectangle: dart.fnType(core.bool, [math.Rectangle$(core.num)]), + [$containsRectangle]: dart.fnType(core.bool, [math.Rectangle$(core.num)]), + containsPoint: dart.fnType(core.bool, [math.Point$(core.num)]), + [$containsPoint]: dart.fnType(core.bool, [math.Point$(core.num)]) + })); + dart.setGetterSignature(_RectangleBase, () => ({ + __proto__: dart.getGetters(_RectangleBase.__proto__), + right: T, + [$right]: T, + bottom: T, + [$bottom]: T, + topLeft: math.Point$(T), + [$topLeft]: math.Point$(T), + topRight: math.Point$(T), + [$topRight]: math.Point$(T), + bottomRight: math.Point$(T), + [$bottomRight]: math.Point$(T), + bottomLeft: math.Point$(T), + [$bottomLeft]: math.Point$(T) + })); + dart.setLibraryUri(_RectangleBase, I[139]); + dart.defineExtensionMethods(_RectangleBase, [ + 'toString', + '_equals', + 'intersection', + 'intersects', + 'boundingBox', + 'containsRectangle', + 'containsPoint' + ]); + dart.defineExtensionAccessors(_RectangleBase, [ + 'right', + 'bottom', + 'hashCode', + 'topLeft', + 'topRight', + 'bottomRight', + 'bottomLeft' + ]); + return _RectangleBase; + }); + math._RectangleBase = math._RectangleBase$(); + dart.addTypeTests(math._RectangleBase, _is__RectangleBase_default); + var left$ = dart.privateName(math, "Rectangle.left"); + var top$ = dart.privateName(math, "Rectangle.top"); + var width$ = dart.privateName(math, "Rectangle.width"); + var height$ = dart.privateName(math, "Rectangle.height"); + const _is_Rectangle_default = Symbol('_is_Rectangle_default'); + math.Rectangle$ = dart.generic(T => { + class Rectangle extends math._RectangleBase$(T) { + get left() { + return this[left$]; + } + set left(value) { + super.left = value; + } + get top() { + return this[top$]; + } + set top(value) { + super.top = value; + } + get width() { + return this[width$]; + } + set width(value) { + super.width = value; + } + get height() { + return this[height$]; + } + set height(value) { + super.height = value; + } + static fromPoints(a, b) { + if (a == null) dart.nullFailed(I[141], 154, 41, "a"); + if (b == null) dart.nullFailed(I[141], 154, 53, "b"); + let left = math.min(T, a.x, b.x); + let width = T.as(math.max(T, a.x, b.x) - left); + let top = math.min(T, a.y, b.y); + let height = T.as(math.max(T, a.y, b.y) - top); + return new (math.Rectangle$(T)).new(left, top, width, height); + } + } + (Rectangle.new = function(left, top, width, height) { + if (left == null) dart.nullFailed(I[141], 138, 24, "left"); + if (top == null) dart.nullFailed(I[141], 138, 35, "top"); + if (width == null) dart.nullFailed(I[141], 138, 42, "width"); + if (height == null) dart.nullFailed(I[141], 138, 51, "height"); + this[left$] = left; + this[top$] = top; + this[width$] = T.as(dart.notNull(width) < 0 ? -dart.notNull(width) * 0 : width); + this[height$] = T.as(dart.notNull(height) < 0 ? -dart.notNull(height) * 0 : height); + Rectangle.__proto__.new.call(this); + ; + }).prototype = Rectangle.prototype; + dart.addTypeTests(Rectangle); + Rectangle.prototype[_is_Rectangle_default] = true; + dart.addTypeCaches(Rectangle); + dart.setLibraryUri(Rectangle, I[139]); + dart.setFieldSignature(Rectangle, () => ({ + __proto__: dart.getFields(Rectangle.__proto__), + left: dart.finalFieldType(T), + top: dart.finalFieldType(T), + width: dart.finalFieldType(T), + height: dart.finalFieldType(T) + })); + dart.defineExtensionAccessors(Rectangle, ['left', 'top', 'width', 'height']); + return Rectangle; + }); + math.Rectangle = math.Rectangle$(); + dart.addTypeTests(math.Rectangle, _is_Rectangle_default); + var left$0 = dart.privateName(math, "MutableRectangle.left"); + var top$0 = dart.privateName(math, "MutableRectangle.top"); + var _width = dart.privateName(math, "_width"); + var _height = dart.privateName(math, "_height"); + const _is_MutableRectangle_default = Symbol('_is_MutableRectangle_default'); + math.MutableRectangle$ = dart.generic(T => { + class MutableRectangle extends math._RectangleBase$(T) { + get left() { + return this[left$0]; + } + set left(value) { + this[left$0] = T.as(value); + } + get top() { + return this[top$0]; + } + set top(value) { + this[top$0] = T.as(value); + } + static fromPoints(a, b) { + if (a == null) dart.nullFailed(I[141], 205, 48, "a"); + if (b == null) dart.nullFailed(I[141], 205, 60, "b"); + let left = math.min(T, a.x, b.x); + let width = T.as(math.max(T, a.x, b.x) - left); + let top = math.min(T, a.y, b.y); + let height = T.as(math.max(T, a.y, b.y) - top); + return new (math.MutableRectangle$(T)).new(left, top, width, height); + } + get width() { + return this[_width]; + } + set width(width) { + T.as(width); + if (width == null) dart.nullFailed(I[141], 222, 15, "width"); + if (dart.notNull(width) < 0) width = math._clampToZero(T, width); + this[_width] = width; + } + get height() { + return this[_height]; + } + set height(height) { + T.as(height); + if (height == null) dart.nullFailed(I[141], 236, 16, "height"); + if (dart.notNull(height) < 0) height = math._clampToZero(T, height); + this[_height] = height; + } + } + (MutableRectangle.new = function(left, top, width, height) { + if (left == null) dart.nullFailed(I[141], 191, 25, "left"); + if (top == null) dart.nullFailed(I[141], 191, 36, "top"); + if (width == null) dart.nullFailed(I[141], 191, 43, "width"); + if (height == null) dart.nullFailed(I[141], 191, 52, "height"); + this[left$0] = left; + this[top$0] = top; + this[_width] = dart.notNull(width) < 0 ? math._clampToZero(T, width) : width; + this[_height] = dart.notNull(height) < 0 ? math._clampToZero(T, height) : height; + MutableRectangle.__proto__.new.call(this); + ; + }).prototype = MutableRectangle.prototype; + dart.addTypeTests(MutableRectangle); + MutableRectangle.prototype[_is_MutableRectangle_default] = true; + dart.addTypeCaches(MutableRectangle); + MutableRectangle[dart.implements] = () => [math.Rectangle$(T)]; + dart.setGetterSignature(MutableRectangle, () => ({ + __proto__: dart.getGetters(MutableRectangle.__proto__), + width: T, + [$width]: T, + height: T, + [$height]: T + })); + dart.setSetterSignature(MutableRectangle, () => ({ + __proto__: dart.getSetters(MutableRectangle.__proto__), + width: dart.nullable(core.Object), + [$width]: dart.nullable(core.Object), + height: dart.nullable(core.Object), + [$height]: dart.nullable(core.Object) + })); + dart.setLibraryUri(MutableRectangle, I[139]); + dart.setFieldSignature(MutableRectangle, () => ({ + __proto__: dart.getFields(MutableRectangle.__proto__), + left: dart.fieldType(T), + top: dart.fieldType(T), + [_width]: dart.fieldType(T), + [_height]: dart.fieldType(T) + })); + dart.defineExtensionAccessors(MutableRectangle, ['left', 'top', 'width', 'height']); + return MutableRectangle; + }); + math.MutableRectangle = math.MutableRectangle$(); + dart.addTypeTests(math.MutableRectangle, _is_MutableRectangle_default); + math.min = function min(T, a, b) { + if (a == null) dart.argumentError(a); + if (b == null) dart.argumentError(b); + return Math.min(a, b); + }; + math.max = function max(T, a, b) { + if (a == null) dart.argumentError(a); + if (b == null) dart.argumentError(b); + return Math.max(a, b); + }; + math.atan2 = function atan2(a, b) { + if (a == null) dart.argumentError(a); + if (b == null) dart.argumentError(b); + return Math.atan2(a, b); + }; + math.pow = function pow(x, exponent) { + if (x == null) dart.argumentError(x); + if (exponent == null) dart.argumentError(exponent); + return Math.pow(x, exponent); + }; + math.sin = function sin(radians) { + if (radians == null) dart.argumentError(radians); + return Math.sin(radians); + }; + math.cos = function cos(radians) { + if (radians == null) dart.argumentError(radians); + return Math.cos(radians); + }; + math.tan = function tan(radians) { + if (radians == null) dart.argumentError(radians); + return Math.tan(radians); + }; + math.acos = function acos(x) { + if (x == null) dart.argumentError(x); + return Math.acos(x); + }; + math.asin = function asin(x) { + if (x == null) dart.argumentError(x); + return Math.asin(x); + }; + math.atan = function atan(x) { + if (x == null) dart.argumentError(x); + return Math.atan(x); + }; + math.sqrt = function sqrt(x) { + if (x == null) dart.argumentError(x); + return Math.sqrt(x); + }; + math.exp = function exp(x) { + if (x == null) dart.argumentError(x); + return Math.exp(x); + }; + math.log = function log$(x) { + if (x == null) dart.argumentError(x); + return Math.log(x); + }; + math._clampToZero = function _clampToZero(T, value) { + if (value == null) dart.nullFailed(I[141], 245, 33, "value"); + if (!(dart.notNull(value) < 0)) dart.assertFailed(null, I[141], 246, 10, "value < 0"); + return T.as(-dart.notNull(value) * 0); + }; + dart.defineLazy(math, { + /*math._POW2_32*/get _POW2_32() { + return 4294967296.0; + }, + /*math.e*/get e() { + return 2.718281828459045; + }, + /*math.ln10*/get ln10() { + return 2.302585092994046; + }, + /*math.ln2*/get ln2() { + return 0.6931471805599453; + }, + /*math.log2e*/get log2e() { + return 1.4426950408889634; + }, + /*math.log10e*/get log10e() { + return 0.4342944819032518; + }, + /*math.pi*/get pi() { + return 3.141592653589793; + }, + /*math.sqrt1_2*/get sqrt1_2() { + return 0.7071067811865476; + }, + /*math.sqrt2*/get sqrt2() { + return 1.4142135623730951; + } + }, false); + typed_data.ByteBuffer = class ByteBuffer extends core.Object {}; + (typed_data.ByteBuffer.new = function() { + ; + }).prototype = typed_data.ByteBuffer.prototype; + dart.addTypeTests(typed_data.ByteBuffer); + dart.addTypeCaches(typed_data.ByteBuffer); + dart.setLibraryUri(typed_data.ByteBuffer, I[60]); + typed_data.TypedData = class TypedData extends core.Object {}; + (typed_data.TypedData.new = function() { + ; + }).prototype = typed_data.TypedData.prototype; + dart.addTypeTests(typed_data.TypedData); + dart.addTypeCaches(typed_data.TypedData); + dart.setLibraryUri(typed_data.TypedData, I[60]); + typed_data._TypedIntList = class _TypedIntList extends typed_data.TypedData {}; + (typed_data._TypedIntList.new = function() { + ; + }).prototype = typed_data._TypedIntList.prototype; + dart.addTypeTests(typed_data._TypedIntList); + dart.addTypeCaches(typed_data._TypedIntList); + dart.setLibraryUri(typed_data._TypedIntList, I[60]); + typed_data._TypedFloatList = class _TypedFloatList extends typed_data.TypedData {}; + (typed_data._TypedFloatList.new = function() { + ; + }).prototype = typed_data._TypedFloatList.prototype; + dart.addTypeTests(typed_data._TypedFloatList); + dart.addTypeCaches(typed_data._TypedFloatList); + dart.setLibraryUri(typed_data._TypedFloatList, I[60]); + var _littleEndian = dart.privateName(typed_data, "_littleEndian"); + const _littleEndian$ = Endian__littleEndian; + typed_data.Endian = class Endian extends core.Object { + get [_littleEndian]() { + return this[_littleEndian$]; + } + set [_littleEndian](value) { + super[_littleEndian] = value; + } + }; + (typed_data.Endian.__ = function(_littleEndian) { + if (_littleEndian == null) dart.nullFailed(I[142], 375, 23, "_littleEndian"); + this[_littleEndian$] = _littleEndian; + ; + }).prototype = typed_data.Endian.prototype; + dart.addTypeTests(typed_data.Endian); + dart.addTypeCaches(typed_data.Endian); + dart.setLibraryUri(typed_data.Endian, I[60]); + dart.setFieldSignature(typed_data.Endian, () => ({ + __proto__: dart.getFields(typed_data.Endian.__proto__), + [_littleEndian]: dart.finalFieldType(core.bool) + })); + dart.defineLazy(typed_data.Endian, { + /*typed_data.Endian.big*/get big() { + return C[36] || CT.C36; + }, + /*typed_data.Endian.little*/get little() { + return C[213] || CT.C213; + }, + /*typed_data.Endian.host*/get host() { + return typed_data.ByteData.view(_native_typed_data.NativeUint16List.fromList(T$.JSArrayOfint().of([1]))[$buffer])[$getInt8](0) === 1 ? typed_data.Endian.little : typed_data.Endian.big; + } + }, false); + typed_data.ByteData = class ByteData extends core.Object { + static view(buffer, offsetInBytes = 0, length = null) { + if (buffer == null) dart.nullFailed(I[142], 452, 36, "buffer"); + if (offsetInBytes == null) dart.nullFailed(I[142], 453, 12, "offsetInBytes"); + return buffer[$asByteData](offsetInBytes, length); + } + static sublistView(data, start = 0, end = null) { + if (data == null) dart.nullFailed(I[142], 474, 42, "data"); + if (start == null) dart.nullFailed(I[142], 474, 53, "start"); + let elementSize = data[$elementSizeInBytes]; + end = core.RangeError.checkValidRange(start, end, (dart.notNull(data[$lengthInBytes]) / dart.notNull(elementSize))[$truncate]()); + if (end == null) dart.throw("unreachable"); + return data[$buffer][$asByteData](dart.notNull(data[$offsetInBytes]) + dart.notNull(start) * dart.notNull(elementSize), (dart.notNull(end) - dart.notNull(start)) * dart.notNull(elementSize)); + } + }; + (typed_data.ByteData[dart.mixinNew] = function() { + }).prototype = typed_data.ByteData.prototype; + dart.addTypeTests(typed_data.ByteData); + dart.addTypeCaches(typed_data.ByteData); + typed_data.ByteData[dart.implements] = () => [typed_data.TypedData]; + dart.setLibraryUri(typed_data.ByteData, I[60]); + typed_data.Int8List = class Int8List extends core.Object { + static view(buffer, offsetInBytes = 0, length = null) { + if (buffer == null) dart.nullFailed(I[142], 748, 36, "buffer"); + if (offsetInBytes == null) dart.nullFailed(I[142], 749, 12, "offsetInBytes"); + return buffer[$asInt8List](offsetInBytes, length); + } + static sublistView(data, start = 0, end = null) { + if (data == null) dart.nullFailed(I[142], 770, 42, "data"); + if (start == null) dart.nullFailed(I[142], 770, 53, "start"); + let elementSize = data[$elementSizeInBytes]; + end = core.RangeError.checkValidRange(start, end, (dart.notNull(data[$lengthInBytes]) / dart.notNull(elementSize))[$truncate]()); + if (end == null) dart.throw("unreachable"); + return data[$buffer][$asInt8List](dart.notNull(data[$offsetInBytes]) + dart.notNull(start) * dart.notNull(elementSize), (dart.notNull(end) - dart.notNull(start)) * dart.notNull(elementSize)); + } + [Symbol.iterator]() { + return new dart.JsIterator(this[$iterator]); + } + }; + (typed_data.Int8List[dart.mixinNew] = function() { + }).prototype = typed_data.Int8List.prototype; + typed_data.Int8List.prototype[dart.isList] = true; + dart.addTypeTests(typed_data.Int8List); + dart.addTypeCaches(typed_data.Int8List); + typed_data.Int8List[dart.implements] = () => [core.List$(core.int), typed_data._TypedIntList]; + dart.setLibraryUri(typed_data.Int8List, I[60]); + dart.defineLazy(typed_data.Int8List, { + /*typed_data.Int8List.bytesPerElement*/get bytesPerElement() { + return 1; + } + }, false); + typed_data.Uint8List = class Uint8List extends core.Object { + static view(buffer, offsetInBytes = 0, length = null) { + if (buffer == null) dart.nullFailed(I[142], 859, 37, "buffer"); + if (offsetInBytes == null) dart.nullFailed(I[142], 860, 12, "offsetInBytes"); + return buffer[$asUint8List](offsetInBytes, length); + } + static sublistView(data, start = 0, end = null) { + if (data == null) dart.nullFailed(I[142], 881, 43, "data"); + if (start == null) dart.nullFailed(I[142], 881, 54, "start"); + let elementSize = data[$elementSizeInBytes]; + end = core.RangeError.checkValidRange(start, end, (dart.notNull(data[$lengthInBytes]) / dart.notNull(elementSize))[$truncate]()); + if (end == null) dart.throw("unreachable"); + return data[$buffer][$asUint8List](dart.notNull(data[$offsetInBytes]) + dart.notNull(start) * dart.notNull(elementSize), (dart.notNull(end) - dart.notNull(start)) * dart.notNull(elementSize)); + } + [Symbol.iterator]() { + return new dart.JsIterator(this[$iterator]); + } + }; + (typed_data.Uint8List[dart.mixinNew] = function() { + }).prototype = typed_data.Uint8List.prototype; + typed_data.Uint8List.prototype[dart.isList] = true; + dart.addTypeTests(typed_data.Uint8List); + dart.addTypeCaches(typed_data.Uint8List); + typed_data.Uint8List[dart.implements] = () => [core.List$(core.int), typed_data._TypedIntList]; + dart.setLibraryUri(typed_data.Uint8List, I[60]); + dart.defineLazy(typed_data.Uint8List, { + /*typed_data.Uint8List.bytesPerElement*/get bytesPerElement() { + return 1; + } + }, false); + typed_data.Uint8ClampedList = class Uint8ClampedList extends core.Object { + static view(buffer, offsetInBytes = 0, length = null) { + if (buffer == null) dart.nullFailed(I[142], 978, 44, "buffer"); + if (offsetInBytes == null) dart.nullFailed(I[142], 979, 12, "offsetInBytes"); + return buffer[$asUint8ClampedList](offsetInBytes, length); + } + static sublistView(data, start = 0, end = null) { + if (data == null) dart.nullFailed(I[142], 1000, 50, "data"); + if (start == null) dart.nullFailed(I[142], 1001, 12, "start"); + let elementSize = data[$elementSizeInBytes]; + end = core.RangeError.checkValidRange(start, end, (dart.notNull(data[$lengthInBytes]) / dart.notNull(elementSize))[$truncate]()); + if (end == null) dart.throw("unreachable"); + return data[$buffer][$asUint8ClampedList](dart.notNull(data[$offsetInBytes]) + dart.notNull(start) * dart.notNull(elementSize), (dart.notNull(end) - dart.notNull(start)) * dart.notNull(elementSize)); + } + [Symbol.iterator]() { + return new dart.JsIterator(this[$iterator]); + } + }; + (typed_data.Uint8ClampedList[dart.mixinNew] = function() { + }).prototype = typed_data.Uint8ClampedList.prototype; + typed_data.Uint8ClampedList.prototype[dart.isList] = true; + dart.addTypeTests(typed_data.Uint8ClampedList); + dart.addTypeCaches(typed_data.Uint8ClampedList); + typed_data.Uint8ClampedList[dart.implements] = () => [core.List$(core.int), typed_data._TypedIntList]; + dart.setLibraryUri(typed_data.Uint8ClampedList, I[60]); + dart.defineLazy(typed_data.Uint8ClampedList, { + /*typed_data.Uint8ClampedList.bytesPerElement*/get bytesPerElement() { + return 1; + } + }, false); + typed_data.Int16List = class Int16List extends core.Object { + static view(buffer, offsetInBytes = 0, length = null) { + if (buffer == null) dart.nullFailed(I[142], 1094, 37, "buffer"); + if (offsetInBytes == null) dart.nullFailed(I[142], 1095, 12, "offsetInBytes"); + return buffer[$asInt16List](offsetInBytes, length); + } + static sublistView(data, start = 0, end = null) { + if (data == null) dart.nullFailed(I[142], 1119, 43, "data"); + if (start == null) dart.nullFailed(I[142], 1119, 54, "start"); + let elementSize = data[$elementSizeInBytes]; + end = core.RangeError.checkValidRange(start, end, (dart.notNull(data[$lengthInBytes]) / dart.notNull(elementSize))[$truncate]()); + if (end == null) dart.throw("unreachable"); + let byteLength = (dart.notNull(end) - dart.notNull(start)) * dart.notNull(elementSize); + if (byteLength[$modulo](2) !== 0) { + dart.throw(new core.ArgumentError.new("The number of bytes to view must be a multiple of " + dart.str(2))); + } + return data[$buffer][$asInt16List](dart.notNull(data[$offsetInBytes]) + dart.notNull(start) * dart.notNull(elementSize), (byteLength / 2)[$truncate]()); + } + [Symbol.iterator]() { + return new dart.JsIterator(this[$iterator]); + } + }; + (typed_data.Int16List[dart.mixinNew] = function() { + }).prototype = typed_data.Int16List.prototype; + typed_data.Int16List.prototype[dart.isList] = true; + dart.addTypeTests(typed_data.Int16List); + dart.addTypeCaches(typed_data.Int16List); + typed_data.Int16List[dart.implements] = () => [core.List$(core.int), typed_data._TypedIntList]; + dart.setLibraryUri(typed_data.Int16List, I[60]); + dart.defineLazy(typed_data.Int16List, { + /*typed_data.Int16List.bytesPerElement*/get bytesPerElement() { + return 2; + } + }, false); + typed_data.Uint16List = class Uint16List extends core.Object { + static view(buffer, offsetInBytes = 0, length = null) { + if (buffer == null) dart.nullFailed(I[142], 1218, 38, "buffer"); + if (offsetInBytes == null) dart.nullFailed(I[142], 1219, 12, "offsetInBytes"); + return buffer[$asUint16List](offsetInBytes, length); + } + static sublistView(data, start = 0, end = null) { + if (data == null) dart.nullFailed(I[142], 1243, 44, "data"); + if (start == null) dart.nullFailed(I[142], 1243, 55, "start"); + let elementSize = data[$elementSizeInBytes]; + end = core.RangeError.checkValidRange(start, end, (dart.notNull(data[$lengthInBytes]) / dart.notNull(elementSize))[$truncate]()); + if (end == null) dart.throw("unreachable"); + let byteLength = (dart.notNull(end) - dart.notNull(start)) * dart.notNull(elementSize); + if (byteLength[$modulo](2) !== 0) { + dart.throw(new core.ArgumentError.new("The number of bytes to view must be a multiple of " + dart.str(2))); + } + return data[$buffer][$asUint16List](dart.notNull(data[$offsetInBytes]) + dart.notNull(start) * dart.notNull(elementSize), (byteLength / 2)[$truncate]()); + } + [Symbol.iterator]() { + return new dart.JsIterator(this[$iterator]); + } + }; + (typed_data.Uint16List[dart.mixinNew] = function() { + }).prototype = typed_data.Uint16List.prototype; + typed_data.Uint16List.prototype[dart.isList] = true; + dart.addTypeTests(typed_data.Uint16List); + dart.addTypeCaches(typed_data.Uint16List); + typed_data.Uint16List[dart.implements] = () => [core.List$(core.int), typed_data._TypedIntList]; + dart.setLibraryUri(typed_data.Uint16List, I[60]); + dart.defineLazy(typed_data.Uint16List, { + /*typed_data.Uint16List.bytesPerElement*/get bytesPerElement() { + return 2; + } + }, false); + typed_data.Int32List = class Int32List extends core.Object { + static view(buffer, offsetInBytes = 0, length = null) { + if (buffer == null) dart.nullFailed(I[142], 1341, 37, "buffer"); + if (offsetInBytes == null) dart.nullFailed(I[142], 1342, 12, "offsetInBytes"); + return buffer[$asInt32List](offsetInBytes, length); + } + static sublistView(data, start = 0, end = null) { + if (data == null) dart.nullFailed(I[142], 1366, 43, "data"); + if (start == null) dart.nullFailed(I[142], 1366, 54, "start"); + let elementSize = data[$elementSizeInBytes]; + end = core.RangeError.checkValidRange(start, end, (dart.notNull(data[$lengthInBytes]) / dart.notNull(elementSize))[$truncate]()); + if (end == null) dart.throw("unreachable"); + let byteLength = (dart.notNull(end) - dart.notNull(start)) * dart.notNull(elementSize); + if (byteLength[$modulo](4) !== 0) { + dart.throw(new core.ArgumentError.new("The number of bytes to view must be a multiple of " + dart.str(4))); + } + return data[$buffer][$asInt32List](dart.notNull(data[$offsetInBytes]) + dart.notNull(start) * dart.notNull(elementSize), (byteLength / 4)[$truncate]()); + } + [Symbol.iterator]() { + return new dart.JsIterator(this[$iterator]); + } + }; + (typed_data.Int32List[dart.mixinNew] = function() { + }).prototype = typed_data.Int32List.prototype; + typed_data.Int32List.prototype[dart.isList] = true; + dart.addTypeTests(typed_data.Int32List); + dart.addTypeCaches(typed_data.Int32List); + typed_data.Int32List[dart.implements] = () => [core.List$(core.int), typed_data._TypedIntList]; + dart.setLibraryUri(typed_data.Int32List, I[60]); + dart.defineLazy(typed_data.Int32List, { + /*typed_data.Int32List.bytesPerElement*/get bytesPerElement() { + return 4; + } + }, false); + typed_data.Uint32List = class Uint32List extends core.Object { + static view(buffer, offsetInBytes = 0, length = null) { + if (buffer == null) dart.nullFailed(I[142], 1465, 38, "buffer"); + if (offsetInBytes == null) dart.nullFailed(I[142], 1466, 12, "offsetInBytes"); + return buffer[$asUint32List](offsetInBytes, length); + } + static sublistView(data, start = 0, end = null) { + if (data == null) dart.nullFailed(I[142], 1490, 44, "data"); + if (start == null) dart.nullFailed(I[142], 1490, 55, "start"); + let elementSize = data[$elementSizeInBytes]; + end = core.RangeError.checkValidRange(start, end, (dart.notNull(data[$lengthInBytes]) / dart.notNull(elementSize))[$truncate]()); + if (end == null) dart.throw("unreachable"); + let byteLength = (dart.notNull(end) - dart.notNull(start)) * dart.notNull(elementSize); + if (byteLength[$modulo](4) !== 0) { + dart.throw(new core.ArgumentError.new("The number of bytes to view must be a multiple of " + dart.str(4))); + } + return data[$buffer][$asUint32List](dart.notNull(data[$offsetInBytes]) + dart.notNull(start) * dart.notNull(elementSize), (byteLength / 4)[$truncate]()); + } + [Symbol.iterator]() { + return new dart.JsIterator(this[$iterator]); + } + }; + (typed_data.Uint32List[dart.mixinNew] = function() { + }).prototype = typed_data.Uint32List.prototype; + typed_data.Uint32List.prototype[dart.isList] = true; + dart.addTypeTests(typed_data.Uint32List); + dart.addTypeCaches(typed_data.Uint32List); + typed_data.Uint32List[dart.implements] = () => [core.List$(core.int), typed_data._TypedIntList]; + dart.setLibraryUri(typed_data.Uint32List, I[60]); + dart.defineLazy(typed_data.Uint32List, { + /*typed_data.Uint32List.bytesPerElement*/get bytesPerElement() { + return 4; + } + }, false); + typed_data.Int64List = class Int64List extends core.Object { + static new(length) { + if (length == null) dart.nullFailed(I[143], 101, 25, "length"); + dart.throw(new core.UnsupportedError.new("Int64List not supported on the web.")); + } + static fromList(elements) { + if (elements == null) dart.nullFailed(I[143], 106, 40, "elements"); + dart.throw(new core.UnsupportedError.new("Int64List not supported on the web.")); + } + static view(buffer, offsetInBytes = 0, length = null) { + if (buffer == null) dart.nullFailed(I[142], 1588, 37, "buffer"); + if (offsetInBytes == null) dart.nullFailed(I[142], 1589, 12, "offsetInBytes"); + return buffer[$asInt64List](offsetInBytes, length); + } + static sublistView(data, start = 0, end = null) { + if (data == null) dart.nullFailed(I[142], 1613, 43, "data"); + if (start == null) dart.nullFailed(I[142], 1613, 54, "start"); + let elementSize = data[$elementSizeInBytes]; + end = core.RangeError.checkValidRange(start, end, (dart.notNull(data[$lengthInBytes]) / dart.notNull(elementSize))[$truncate]()); + if (end == null) dart.throw("unreachable"); + let byteLength = (dart.notNull(end) - dart.notNull(start)) * dart.notNull(elementSize); + if (byteLength[$modulo](8) !== 0) { + dart.throw(new core.ArgumentError.new("The number of bytes to view must be a multiple of " + dart.str(8))); + } + return data[$buffer][$asInt64List](dart.notNull(data[$offsetInBytes]) + dart.notNull(start) * dart.notNull(elementSize), (byteLength / 8)[$truncate]()); + } + [Symbol.iterator]() { + return new dart.JsIterator(this[$iterator]); + } + }; + (typed_data.Int64List[dart.mixinNew] = function() { + }).prototype = typed_data.Int64List.prototype; + typed_data.Int64List.prototype[dart.isList] = true; + dart.addTypeTests(typed_data.Int64List); + dart.addTypeCaches(typed_data.Int64List); + typed_data.Int64List[dart.implements] = () => [core.List$(core.int), typed_data._TypedIntList]; + dart.setLibraryUri(typed_data.Int64List, I[60]); + dart.defineLazy(typed_data.Int64List, { + /*typed_data.Int64List.bytesPerElement*/get bytesPerElement() { + return 8; + } + }, false); + typed_data.Uint64List = class Uint64List extends core.Object { + static new(length) { + if (length == null) dart.nullFailed(I[143], 114, 26, "length"); + dart.throw(new core.UnsupportedError.new("Uint64List not supported on the web.")); + } + static fromList(elements) { + if (elements == null) dart.nullFailed(I[143], 119, 41, "elements"); + dart.throw(new core.UnsupportedError.new("Uint64List not supported on the web.")); + } + static view(buffer, offsetInBytes = 0, length = null) { + if (buffer == null) dart.nullFailed(I[142], 1712, 38, "buffer"); + if (offsetInBytes == null) dart.nullFailed(I[142], 1713, 12, "offsetInBytes"); + return buffer[$asUint64List](offsetInBytes, length); + } + static sublistView(data, start = 0, end = null) { + if (data == null) dart.nullFailed(I[142], 1737, 44, "data"); + if (start == null) dart.nullFailed(I[142], 1737, 55, "start"); + let elementSize = data[$elementSizeInBytes]; + end = core.RangeError.checkValidRange(start, end, (dart.notNull(data[$lengthInBytes]) / dart.notNull(elementSize))[$truncate]()); + if (end == null) dart.throw("unreachable"); + let byteLength = (dart.notNull(end) - dart.notNull(start)) * dart.notNull(elementSize); + if (byteLength[$modulo](8) !== 0) { + dart.throw(new core.ArgumentError.new("The number of bytes to view must be a multiple of " + dart.str(8))); + } + return data[$buffer][$asUint64List](dart.notNull(data[$offsetInBytes]) + dart.notNull(start) * dart.notNull(elementSize), (byteLength / 8)[$truncate]()); + } + [Symbol.iterator]() { + return new dart.JsIterator(this[$iterator]); + } + }; + (typed_data.Uint64List[dart.mixinNew] = function() { + }).prototype = typed_data.Uint64List.prototype; + typed_data.Uint64List.prototype[dart.isList] = true; + dart.addTypeTests(typed_data.Uint64List); + dart.addTypeCaches(typed_data.Uint64List); + typed_data.Uint64List[dart.implements] = () => [core.List$(core.int), typed_data._TypedIntList]; + dart.setLibraryUri(typed_data.Uint64List, I[60]); + dart.defineLazy(typed_data.Uint64List, { + /*typed_data.Uint64List.bytesPerElement*/get bytesPerElement() { + return 8; + } + }, false); + typed_data.Float32List = class Float32List extends core.Object { + static view(buffer, offsetInBytes = 0, length = null) { + if (buffer == null) dart.nullFailed(I[142], 1836, 39, "buffer"); + if (offsetInBytes == null) dart.nullFailed(I[142], 1837, 12, "offsetInBytes"); + return buffer[$asFloat32List](offsetInBytes, length); + } + static sublistView(data, start = 0, end = null) { + if (data == null) dart.nullFailed(I[142], 1861, 45, "data"); + if (start == null) dart.nullFailed(I[142], 1861, 56, "start"); + let elementSize = data[$elementSizeInBytes]; + end = core.RangeError.checkValidRange(start, end, (dart.notNull(data[$lengthInBytes]) / dart.notNull(elementSize))[$truncate]()); + if (end == null) dart.throw("unreachable"); + let byteLength = (dart.notNull(end) - dart.notNull(start)) * dart.notNull(elementSize); + if (byteLength[$modulo](4) !== 0) { + dart.throw(new core.ArgumentError.new("The number of bytes to view must be a multiple of " + dart.str(4))); + } + return data[$buffer][$asFloat32List](dart.notNull(data[$offsetInBytes]) + dart.notNull(start) * dart.notNull(elementSize), (byteLength / 4)[$truncate]()); + } + [Symbol.iterator]() { + return new dart.JsIterator(this[$iterator]); + } + }; + (typed_data.Float32List[dart.mixinNew] = function() { + }).prototype = typed_data.Float32List.prototype; + typed_data.Float32List.prototype[dart.isList] = true; + dart.addTypeTests(typed_data.Float32List); + dart.addTypeCaches(typed_data.Float32List); + typed_data.Float32List[dart.implements] = () => [core.List$(core.double), typed_data._TypedFloatList]; + dart.setLibraryUri(typed_data.Float32List, I[60]); + dart.defineLazy(typed_data.Float32List, { + /*typed_data.Float32List.bytesPerElement*/get bytesPerElement() { + return 4; + } + }, false); + typed_data.Float64List = class Float64List extends core.Object { + static view(buffer, offsetInBytes = 0, length = null) { + if (buffer == null) dart.nullFailed(I[142], 1953, 39, "buffer"); + if (offsetInBytes == null) dart.nullFailed(I[142], 1954, 12, "offsetInBytes"); + return buffer[$asFloat64List](offsetInBytes, length); + } + static sublistView(data, start = 0, end = null) { + if (data == null) dart.nullFailed(I[142], 1978, 45, "data"); + if (start == null) dart.nullFailed(I[142], 1978, 56, "start"); + let elementSize = data[$elementSizeInBytes]; + end = core.RangeError.checkValidRange(start, end, (dart.notNull(data[$lengthInBytes]) / dart.notNull(elementSize))[$truncate]()); + if (end == null) dart.throw("unreachable"); + let byteLength = (dart.notNull(end) - dart.notNull(start)) * dart.notNull(elementSize); + if (byteLength[$modulo](8) !== 0) { + dart.throw(new core.ArgumentError.new("The number of bytes to view must be a multiple of " + dart.str(8))); + } + return data[$buffer][$asFloat64List](dart.notNull(data[$offsetInBytes]) + dart.notNull(start) * dart.notNull(elementSize), (byteLength / 8)[$truncate]()); + } + [Symbol.iterator]() { + return new dart.JsIterator(this[$iterator]); + } + }; + (typed_data.Float64List[dart.mixinNew] = function() { + }).prototype = typed_data.Float64List.prototype; + typed_data.Float64List.prototype[dart.isList] = true; + dart.addTypeTests(typed_data.Float64List); + dart.addTypeCaches(typed_data.Float64List); + typed_data.Float64List[dart.implements] = () => [core.List$(core.double), typed_data._TypedFloatList]; + dart.setLibraryUri(typed_data.Float64List, I[60]); + dart.defineLazy(typed_data.Float64List, { + /*typed_data.Float64List.bytesPerElement*/get bytesPerElement() { + return 8; + } + }, false); + typed_data.Float32x4List = class Float32x4List extends core.Object { + static view(buffer, offsetInBytes = 0, length = null) { + if (buffer == null) dart.nullFailed(I[142], 2069, 41, "buffer"); + if (offsetInBytes == null) dart.nullFailed(I[142], 2070, 12, "offsetInBytes"); + return buffer[$asFloat32x4List](offsetInBytes, length); + } + static sublistView(data, start = 0, end = null) { + if (data == null) dart.nullFailed(I[142], 2094, 47, "data"); + if (start == null) dart.nullFailed(I[142], 2094, 58, "start"); + let elementSize = data[$elementSizeInBytes]; + end = core.RangeError.checkValidRange(start, end, (dart.notNull(data[$lengthInBytes]) / dart.notNull(elementSize))[$truncate]()); + if (end == null) dart.throw("unreachable"); + let byteLength = (dart.notNull(end) - dart.notNull(start)) * dart.notNull(elementSize); + if (byteLength[$modulo](16) !== 0) { + dart.throw(new core.ArgumentError.new("The number of bytes to view must be a multiple of " + dart.str(16))); + } + return data[$buffer][$asFloat32x4List](dart.notNull(data[$offsetInBytes]) + dart.notNull(start) * dart.notNull(elementSize), (byteLength / 16)[$truncate]()); + } + [Symbol.iterator]() { + return new dart.JsIterator(this[$iterator]); + } + }; + (typed_data.Float32x4List[dart.mixinNew] = function() { + }).prototype = typed_data.Float32x4List.prototype; + typed_data.Float32x4List.prototype[dart.isList] = true; + dart.addTypeTests(typed_data.Float32x4List); + dart.addTypeCaches(typed_data.Float32x4List); + typed_data.Float32x4List[dart.implements] = () => [core.List$(typed_data.Float32x4), typed_data.TypedData]; + dart.setLibraryUri(typed_data.Float32x4List, I[60]); + dart.defineLazy(typed_data.Float32x4List, { + /*typed_data.Float32x4List.bytesPerElement*/get bytesPerElement() { + return 16; + } + }, false); + typed_data.Int32x4List = class Int32x4List extends core.Object { + static view(buffer, offsetInBytes = 0, length = null) { + if (buffer == null) dart.nullFailed(I[142], 2191, 39, "buffer"); + if (offsetInBytes == null) dart.nullFailed(I[142], 2192, 12, "offsetInBytes"); + return buffer[$asInt32x4List](offsetInBytes, length); + } + static sublistView(data, start = 0, end = null) { + if (data == null) dart.nullFailed(I[142], 2216, 45, "data"); + if (start == null) dart.nullFailed(I[142], 2216, 56, "start"); + let elementSize = data[$elementSizeInBytes]; + end = core.RangeError.checkValidRange(start, end, (dart.notNull(data[$lengthInBytes]) / dart.notNull(elementSize))[$truncate]()); + if (end == null) dart.throw("unreachable"); + let byteLength = (dart.notNull(end) - dart.notNull(start)) * dart.notNull(elementSize); + if (byteLength[$modulo](16) !== 0) { + dart.throw(new core.ArgumentError.new("The number of bytes to view must be a multiple of " + dart.str(16))); + } + return data[$buffer][$asInt32x4List](dart.notNull(data[$offsetInBytes]) + dart.notNull(start) * dart.notNull(elementSize), (byteLength / 16)[$truncate]()); + } + [Symbol.iterator]() { + return new dart.JsIterator(this[$iterator]); + } + }; + (typed_data.Int32x4List[dart.mixinNew] = function() { + }).prototype = typed_data.Int32x4List.prototype; + typed_data.Int32x4List.prototype[dart.isList] = true; + dart.addTypeTests(typed_data.Int32x4List); + dart.addTypeCaches(typed_data.Int32x4List); + typed_data.Int32x4List[dart.implements] = () => [core.List$(typed_data.Int32x4), typed_data.TypedData]; + dart.setLibraryUri(typed_data.Int32x4List, I[60]); + dart.defineLazy(typed_data.Int32x4List, { + /*typed_data.Int32x4List.bytesPerElement*/get bytesPerElement() { + return 16; + } + }, false); + typed_data.Float64x2List = class Float64x2List extends core.Object { + static view(buffer, offsetInBytes = 0, length = null) { + if (buffer == null) dart.nullFailed(I[142], 2319, 41, "buffer"); + if (offsetInBytes == null) dart.nullFailed(I[142], 2320, 12, "offsetInBytes"); + return buffer[$asFloat64x2List](offsetInBytes, length); + } + static sublistView(data, start = 0, end = null) { + if (data == null) dart.nullFailed(I[142], 2344, 47, "data"); + if (start == null) dart.nullFailed(I[142], 2344, 58, "start"); + let elementSize = data[$elementSizeInBytes]; + end = core.RangeError.checkValidRange(start, end, (dart.notNull(data[$lengthInBytes]) / dart.notNull(elementSize))[$truncate]()); + if (end == null) dart.throw("unreachable"); + let byteLength = (dart.notNull(end) - dart.notNull(start)) * dart.notNull(elementSize); + if (byteLength[$modulo](16) !== 0) { + dart.throw(new core.ArgumentError.new("The number of bytes to view must be a multiple of " + dart.str(16))); + } + return data[$buffer][$asFloat64x2List](dart.notNull(data[$offsetInBytes]) + dart.notNull(start) * dart.notNull(elementSize), (byteLength / 16)[$truncate]()); + } + [Symbol.iterator]() { + return new dart.JsIterator(this[$iterator]); + } + }; + (typed_data.Float64x2List[dart.mixinNew] = function() { + }).prototype = typed_data.Float64x2List.prototype; + typed_data.Float64x2List.prototype[dart.isList] = true; + dart.addTypeTests(typed_data.Float64x2List); + dart.addTypeCaches(typed_data.Float64x2List); + typed_data.Float64x2List[dart.implements] = () => [core.List$(typed_data.Float64x2), typed_data.TypedData]; + dart.setLibraryUri(typed_data.Float64x2List, I[60]); + dart.defineLazy(typed_data.Float64x2List, { + /*typed_data.Float64x2List.bytesPerElement*/get bytesPerElement() { + return 16; + } + }, false); + var _data$ = dart.privateName(typed_data, "_data"); + typed_data.UnmodifiableByteBufferView = class UnmodifiableByteBufferView extends core.Object { + get lengthInBytes() { + return this[_data$][$lengthInBytes]; + } + asUint8List(offsetInBytes = 0, length = null) { + if (offsetInBytes == null) dart.nullFailed(I[144], 15, 30, "offsetInBytes"); + return new typed_data.UnmodifiableUint8ListView.new(this[_data$][$asUint8List](offsetInBytes, length)); + } + asInt8List(offsetInBytes = 0, length = null) { + if (offsetInBytes == null) dart.nullFailed(I[144], 18, 28, "offsetInBytes"); + return new typed_data.UnmodifiableInt8ListView.new(this[_data$][$asInt8List](offsetInBytes, length)); + } + asUint8ClampedList(offsetInBytes = 0, length = null) { + if (offsetInBytes == null) dart.nullFailed(I[144], 21, 44, "offsetInBytes"); + return new typed_data.UnmodifiableUint8ClampedListView.new(this[_data$][$asUint8ClampedList](offsetInBytes, length)); + } + asUint16List(offsetInBytes = 0, length = null) { + if (offsetInBytes == null) dart.nullFailed(I[144], 25, 32, "offsetInBytes"); + return new typed_data.UnmodifiableUint16ListView.new(this[_data$][$asUint16List](offsetInBytes, length)); + } + asInt16List(offsetInBytes = 0, length = null) { + if (offsetInBytes == null) dart.nullFailed(I[144], 28, 30, "offsetInBytes"); + return new typed_data.UnmodifiableInt16ListView.new(this[_data$][$asInt16List](offsetInBytes, length)); + } + asUint32List(offsetInBytes = 0, length = null) { + if (offsetInBytes == null) dart.nullFailed(I[144], 31, 32, "offsetInBytes"); + return new typed_data.UnmodifiableUint32ListView.new(this[_data$][$asUint32List](offsetInBytes, length)); + } + asInt32List(offsetInBytes = 0, length = null) { + if (offsetInBytes == null) dart.nullFailed(I[144], 34, 30, "offsetInBytes"); + return new typed_data.UnmodifiableInt32ListView.new(this[_data$][$asInt32List](offsetInBytes, length)); + } + asUint64List(offsetInBytes = 0, length = null) { + if (offsetInBytes == null) dart.nullFailed(I[144], 37, 32, "offsetInBytes"); + return new typed_data.UnmodifiableUint64ListView.new(this[_data$][$asUint64List](offsetInBytes, length)); + } + asInt64List(offsetInBytes = 0, length = null) { + if (offsetInBytes == null) dart.nullFailed(I[144], 40, 30, "offsetInBytes"); + return new typed_data.UnmodifiableInt64ListView.new(this[_data$][$asInt64List](offsetInBytes, length)); + } + asInt32x4List(offsetInBytes = 0, length = null) { + if (offsetInBytes == null) dart.nullFailed(I[144], 43, 34, "offsetInBytes"); + return new typed_data.UnmodifiableInt32x4ListView.new(this[_data$][$asInt32x4List](offsetInBytes, length)); + } + asFloat32List(offsetInBytes = 0, length = null) { + if (offsetInBytes == null) dart.nullFailed(I[144], 47, 34, "offsetInBytes"); + return new typed_data.UnmodifiableFloat32ListView.new(this[_data$][$asFloat32List](offsetInBytes, length)); + } + asFloat64List(offsetInBytes = 0, length = null) { + if (offsetInBytes == null) dart.nullFailed(I[144], 51, 34, "offsetInBytes"); + return new typed_data.UnmodifiableFloat64ListView.new(this[_data$][$asFloat64List](offsetInBytes, length)); + } + asFloat32x4List(offsetInBytes = 0, length = null) { + if (offsetInBytes == null) dart.nullFailed(I[144], 55, 38, "offsetInBytes"); + return new typed_data.UnmodifiableFloat32x4ListView.new(this[_data$][$asFloat32x4List](offsetInBytes, length)); + } + asFloat64x2List(offsetInBytes = 0, length = null) { + if (offsetInBytes == null) dart.nullFailed(I[144], 59, 38, "offsetInBytes"); + return new typed_data.UnmodifiableFloat64x2ListView.new(this[_data$][$asFloat64x2List](offsetInBytes, length)); + } + asByteData(offsetInBytes = 0, length = null) { + if (offsetInBytes == null) dart.nullFailed(I[144], 63, 28, "offsetInBytes"); + return new typed_data.UnmodifiableByteDataView.new(this[_data$][$asByteData](offsetInBytes, length)); + } + }; + (typed_data.UnmodifiableByteBufferView.new = function(data) { + if (data == null) dart.nullFailed(I[144], 11, 41, "data"); + this[_data$] = data; + ; + }).prototype = typed_data.UnmodifiableByteBufferView.prototype; + dart.addTypeTests(typed_data.UnmodifiableByteBufferView); + dart.addTypeCaches(typed_data.UnmodifiableByteBufferView); + typed_data.UnmodifiableByteBufferView[dart.implements] = () => [typed_data.ByteBuffer]; + dart.setMethodSignature(typed_data.UnmodifiableByteBufferView, () => ({ + __proto__: dart.getMethods(typed_data.UnmodifiableByteBufferView.__proto__), + asUint8List: dart.fnType(typed_data.Uint8List, [], [core.int, dart.nullable(core.int)]), + [$asUint8List]: dart.fnType(typed_data.Uint8List, [], [core.int, dart.nullable(core.int)]), + asInt8List: dart.fnType(typed_data.Int8List, [], [core.int, dart.nullable(core.int)]), + [$asInt8List]: dart.fnType(typed_data.Int8List, [], [core.int, dart.nullable(core.int)]), + asUint8ClampedList: dart.fnType(typed_data.Uint8ClampedList, [], [core.int, dart.nullable(core.int)]), + [$asUint8ClampedList]: dart.fnType(typed_data.Uint8ClampedList, [], [core.int, dart.nullable(core.int)]), + asUint16List: dart.fnType(typed_data.Uint16List, [], [core.int, dart.nullable(core.int)]), + [$asUint16List]: dart.fnType(typed_data.Uint16List, [], [core.int, dart.nullable(core.int)]), + asInt16List: dart.fnType(typed_data.Int16List, [], [core.int, dart.nullable(core.int)]), + [$asInt16List]: dart.fnType(typed_data.Int16List, [], [core.int, dart.nullable(core.int)]), + asUint32List: dart.fnType(typed_data.Uint32List, [], [core.int, dart.nullable(core.int)]), + [$asUint32List]: dart.fnType(typed_data.Uint32List, [], [core.int, dart.nullable(core.int)]), + asInt32List: dart.fnType(typed_data.Int32List, [], [core.int, dart.nullable(core.int)]), + [$asInt32List]: dart.fnType(typed_data.Int32List, [], [core.int, dart.nullable(core.int)]), + asUint64List: dart.fnType(typed_data.Uint64List, [], [core.int, dart.nullable(core.int)]), + [$asUint64List]: dart.fnType(typed_data.Uint64List, [], [core.int, dart.nullable(core.int)]), + asInt64List: dart.fnType(typed_data.Int64List, [], [core.int, dart.nullable(core.int)]), + [$asInt64List]: dart.fnType(typed_data.Int64List, [], [core.int, dart.nullable(core.int)]), + asInt32x4List: dart.fnType(typed_data.Int32x4List, [], [core.int, dart.nullable(core.int)]), + [$asInt32x4List]: dart.fnType(typed_data.Int32x4List, [], [core.int, dart.nullable(core.int)]), + asFloat32List: dart.fnType(typed_data.Float32List, [], [core.int, dart.nullable(core.int)]), + [$asFloat32List]: dart.fnType(typed_data.Float32List, [], [core.int, dart.nullable(core.int)]), + asFloat64List: dart.fnType(typed_data.Float64List, [], [core.int, dart.nullable(core.int)]), + [$asFloat64List]: dart.fnType(typed_data.Float64List, [], [core.int, dart.nullable(core.int)]), + asFloat32x4List: dart.fnType(typed_data.Float32x4List, [], [core.int, dart.nullable(core.int)]), + [$asFloat32x4List]: dart.fnType(typed_data.Float32x4List, [], [core.int, dart.nullable(core.int)]), + asFloat64x2List: dart.fnType(typed_data.Float64x2List, [], [core.int, dart.nullable(core.int)]), + [$asFloat64x2List]: dart.fnType(typed_data.Float64x2List, [], [core.int, dart.nullable(core.int)]), + asByteData: dart.fnType(typed_data.ByteData, [], [core.int, dart.nullable(core.int)]), + [$asByteData]: dart.fnType(typed_data.ByteData, [], [core.int, dart.nullable(core.int)]) + })); + dart.setGetterSignature(typed_data.UnmodifiableByteBufferView, () => ({ + __proto__: dart.getGetters(typed_data.UnmodifiableByteBufferView.__proto__), + lengthInBytes: core.int, + [$lengthInBytes]: core.int + })); + dart.setLibraryUri(typed_data.UnmodifiableByteBufferView, I[60]); + dart.setFieldSignature(typed_data.UnmodifiableByteBufferView, () => ({ + __proto__: dart.getFields(typed_data.UnmodifiableByteBufferView.__proto__), + [_data$]: dart.finalFieldType(typed_data.ByteBuffer) + })); + dart.defineExtensionMethods(typed_data.UnmodifiableByteBufferView, [ + 'asUint8List', + 'asInt8List', + 'asUint8ClampedList', + 'asUint16List', + 'asInt16List', + 'asUint32List', + 'asInt32List', + 'asUint64List', + 'asInt64List', + 'asInt32x4List', + 'asFloat32List', + 'asFloat64List', + 'asFloat32x4List', + 'asFloat64x2List', + 'asByteData' + ]); + dart.defineExtensionAccessors(typed_data.UnmodifiableByteBufferView, ['lengthInBytes']); + var _unsupported$ = dart.privateName(typed_data, "_unsupported"); + typed_data.UnmodifiableByteDataView = class UnmodifiableByteDataView extends core.Object { + getInt8(byteOffset) { + if (byteOffset == null) dart.nullFailed(I[144], 73, 19, "byteOffset"); + return this[_data$][$getInt8](byteOffset); + } + setInt8(byteOffset, value) { + if (byteOffset == null) dart.nullFailed(I[144], 75, 20, "byteOffset"); + if (value == null) dart.nullFailed(I[144], 75, 36, "value"); + return this[_unsupported$](); + } + getUint8(byteOffset) { + if (byteOffset == null) dart.nullFailed(I[144], 77, 20, "byteOffset"); + return this[_data$][$getUint8](byteOffset); + } + setUint8(byteOffset, value) { + if (byteOffset == null) dart.nullFailed(I[144], 79, 21, "byteOffset"); + if (value == null) dart.nullFailed(I[144], 79, 37, "value"); + return this[_unsupported$](); + } + getInt16(byteOffset, endian = C[36] || CT.C36) { + if (byteOffset == null) dart.nullFailed(I[144], 81, 20, "byteOffset"); + if (endian == null) dart.nullFailed(I[144], 81, 40, "endian"); + return this[_data$][$getInt16](byteOffset, endian); + } + setInt16(byteOffset, value, endian = C[36] || CT.C36) { + if (byteOffset == null) dart.nullFailed(I[144], 84, 21, "byteOffset"); + if (value == null) dart.nullFailed(I[144], 84, 37, "value"); + if (endian == null) dart.nullFailed(I[144], 84, 52, "endian"); + return this[_unsupported$](); + } + getUint16(byteOffset, endian = C[36] || CT.C36) { + if (byteOffset == null) dart.nullFailed(I[144], 87, 21, "byteOffset"); + if (endian == null) dart.nullFailed(I[144], 87, 41, "endian"); + return this[_data$][$getUint16](byteOffset, endian); + } + setUint16(byteOffset, value, endian = C[36] || CT.C36) { + if (byteOffset == null) dart.nullFailed(I[144], 90, 22, "byteOffset"); + if (value == null) dart.nullFailed(I[144], 90, 38, "value"); + if (endian == null) dart.nullFailed(I[144], 90, 53, "endian"); + return this[_unsupported$](); + } + getInt32(byteOffset, endian = C[36] || CT.C36) { + if (byteOffset == null) dart.nullFailed(I[144], 93, 20, "byteOffset"); + if (endian == null) dart.nullFailed(I[144], 93, 40, "endian"); + return this[_data$][$getInt32](byteOffset, endian); + } + setInt32(byteOffset, value, endian = C[36] || CT.C36) { + if (byteOffset == null) dart.nullFailed(I[144], 96, 21, "byteOffset"); + if (value == null) dart.nullFailed(I[144], 96, 37, "value"); + if (endian == null) dart.nullFailed(I[144], 96, 52, "endian"); + return this[_unsupported$](); + } + getUint32(byteOffset, endian = C[36] || CT.C36) { + if (byteOffset == null) dart.nullFailed(I[144], 99, 21, "byteOffset"); + if (endian == null) dart.nullFailed(I[144], 99, 41, "endian"); + return this[_data$][$getUint32](byteOffset, endian); + } + setUint32(byteOffset, value, endian = C[36] || CT.C36) { + if (byteOffset == null) dart.nullFailed(I[144], 102, 22, "byteOffset"); + if (value == null) dart.nullFailed(I[144], 102, 38, "value"); + if (endian == null) dart.nullFailed(I[144], 102, 53, "endian"); + return this[_unsupported$](); + } + getInt64(byteOffset, endian = C[36] || CT.C36) { + if (byteOffset == null) dart.nullFailed(I[144], 105, 20, "byteOffset"); + if (endian == null) dart.nullFailed(I[144], 105, 40, "endian"); + return this[_data$][$getInt64](byteOffset, endian); + } + setInt64(byteOffset, value, endian = C[36] || CT.C36) { + if (byteOffset == null) dart.nullFailed(I[144], 108, 21, "byteOffset"); + if (value == null) dart.nullFailed(I[144], 108, 37, "value"); + if (endian == null) dart.nullFailed(I[144], 108, 52, "endian"); + return this[_unsupported$](); + } + getUint64(byteOffset, endian = C[36] || CT.C36) { + if (byteOffset == null) dart.nullFailed(I[144], 111, 21, "byteOffset"); + if (endian == null) dart.nullFailed(I[144], 111, 41, "endian"); + return this[_data$][$getUint64](byteOffset, endian); + } + setUint64(byteOffset, value, endian = C[36] || CT.C36) { + if (byteOffset == null) dart.nullFailed(I[144], 114, 22, "byteOffset"); + if (value == null) dart.nullFailed(I[144], 114, 38, "value"); + if (endian == null) dart.nullFailed(I[144], 114, 53, "endian"); + return this[_unsupported$](); + } + getFloat32(byteOffset, endian = C[36] || CT.C36) { + if (byteOffset == null) dart.nullFailed(I[144], 117, 25, "byteOffset"); + if (endian == null) dart.nullFailed(I[144], 117, 45, "endian"); + return this[_data$][$getFloat32](byteOffset, endian); + } + setFloat32(byteOffset, value, endian = C[36] || CT.C36) { + if (byteOffset == null) dart.nullFailed(I[144], 120, 23, "byteOffset"); + if (value == null) dart.nullFailed(I[144], 120, 42, "value"); + if (endian == null) dart.nullFailed(I[144], 120, 57, "endian"); + return this[_unsupported$](); + } + getFloat64(byteOffset, endian = C[36] || CT.C36) { + if (byteOffset == null) dart.nullFailed(I[144], 123, 25, "byteOffset"); + if (endian == null) dart.nullFailed(I[144], 123, 45, "endian"); + return this[_data$][$getFloat64](byteOffset, endian); + } + setFloat64(byteOffset, value, endian = C[36] || CT.C36) { + if (byteOffset == null) dart.nullFailed(I[144], 126, 23, "byteOffset"); + if (value == null) dart.nullFailed(I[144], 126, 42, "value"); + if (endian == null) dart.nullFailed(I[144], 126, 57, "endian"); + return this[_unsupported$](); + } + get elementSizeInBytes() { + return this[_data$][$elementSizeInBytes]; + } + get offsetInBytes() { + return this[_data$][$offsetInBytes]; + } + get lengthInBytes() { + return this[_data$][$lengthInBytes]; + } + get buffer() { + return new typed_data.UnmodifiableByteBufferView.new(this[_data$][$buffer]); + } + [_unsupported$]() { + dart.throw(new core.UnsupportedError.new("An UnmodifiableByteDataView may not be modified")); + } + }; + (typed_data.UnmodifiableByteDataView.new = function(data) { + if (data == null) dart.nullFailed(I[144], 71, 37, "data"); + this[_data$] = data; + ; + }).prototype = typed_data.UnmodifiableByteDataView.prototype; + dart.addTypeTests(typed_data.UnmodifiableByteDataView); + dart.addTypeCaches(typed_data.UnmodifiableByteDataView); + typed_data.UnmodifiableByteDataView[dart.implements] = () => [typed_data.ByteData]; + dart.setMethodSignature(typed_data.UnmodifiableByteDataView, () => ({ + __proto__: dart.getMethods(typed_data.UnmodifiableByteDataView.__proto__), + getInt8: dart.fnType(core.int, [core.int]), + [$getInt8]: dart.fnType(core.int, [core.int]), + setInt8: dart.fnType(dart.void, [core.int, core.int]), + [$setInt8]: dart.fnType(dart.void, [core.int, core.int]), + getUint8: dart.fnType(core.int, [core.int]), + [$getUint8]: dart.fnType(core.int, [core.int]), + setUint8: dart.fnType(dart.void, [core.int, core.int]), + [$setUint8]: dart.fnType(dart.void, [core.int, core.int]), + getInt16: dart.fnType(core.int, [core.int], [typed_data.Endian]), + [$getInt16]: dart.fnType(core.int, [core.int], [typed_data.Endian]), + setInt16: dart.fnType(dart.void, [core.int, core.int], [typed_data.Endian]), + [$setInt16]: dart.fnType(dart.void, [core.int, core.int], [typed_data.Endian]), + getUint16: dart.fnType(core.int, [core.int], [typed_data.Endian]), + [$getUint16]: dart.fnType(core.int, [core.int], [typed_data.Endian]), + setUint16: dart.fnType(dart.void, [core.int, core.int], [typed_data.Endian]), + [$setUint16]: dart.fnType(dart.void, [core.int, core.int], [typed_data.Endian]), + getInt32: dart.fnType(core.int, [core.int], [typed_data.Endian]), + [$getInt32]: dart.fnType(core.int, [core.int], [typed_data.Endian]), + setInt32: dart.fnType(dart.void, [core.int, core.int], [typed_data.Endian]), + [$setInt32]: dart.fnType(dart.void, [core.int, core.int], [typed_data.Endian]), + getUint32: dart.fnType(core.int, [core.int], [typed_data.Endian]), + [$getUint32]: dart.fnType(core.int, [core.int], [typed_data.Endian]), + setUint32: dart.fnType(dart.void, [core.int, core.int], [typed_data.Endian]), + [$setUint32]: dart.fnType(dart.void, [core.int, core.int], [typed_data.Endian]), + getInt64: dart.fnType(core.int, [core.int], [typed_data.Endian]), + [$getInt64]: dart.fnType(core.int, [core.int], [typed_data.Endian]), + setInt64: dart.fnType(dart.void, [core.int, core.int], [typed_data.Endian]), + [$setInt64]: dart.fnType(dart.void, [core.int, core.int], [typed_data.Endian]), + getUint64: dart.fnType(core.int, [core.int], [typed_data.Endian]), + [$getUint64]: dart.fnType(core.int, [core.int], [typed_data.Endian]), + setUint64: dart.fnType(dart.void, [core.int, core.int], [typed_data.Endian]), + [$setUint64]: dart.fnType(dart.void, [core.int, core.int], [typed_data.Endian]), + getFloat32: dart.fnType(core.double, [core.int], [typed_data.Endian]), + [$getFloat32]: dart.fnType(core.double, [core.int], [typed_data.Endian]), + setFloat32: dart.fnType(dart.void, [core.int, core.double], [typed_data.Endian]), + [$setFloat32]: dart.fnType(dart.void, [core.int, core.double], [typed_data.Endian]), + getFloat64: dart.fnType(core.double, [core.int], [typed_data.Endian]), + [$getFloat64]: dart.fnType(core.double, [core.int], [typed_data.Endian]), + setFloat64: dart.fnType(dart.void, [core.int, core.double], [typed_data.Endian]), + [$setFloat64]: dart.fnType(dart.void, [core.int, core.double], [typed_data.Endian]), + [_unsupported$]: dart.fnType(dart.void, []) + })); + dart.setGetterSignature(typed_data.UnmodifiableByteDataView, () => ({ + __proto__: dart.getGetters(typed_data.UnmodifiableByteDataView.__proto__), + elementSizeInBytes: core.int, + [$elementSizeInBytes]: core.int, + offsetInBytes: core.int, + [$offsetInBytes]: core.int, + lengthInBytes: core.int, + [$lengthInBytes]: core.int, + buffer: typed_data.ByteBuffer, + [$buffer]: typed_data.ByteBuffer + })); + dart.setLibraryUri(typed_data.UnmodifiableByteDataView, I[60]); + dart.setFieldSignature(typed_data.UnmodifiableByteDataView, () => ({ + __proto__: dart.getFields(typed_data.UnmodifiableByteDataView.__proto__), + [_data$]: dart.finalFieldType(typed_data.ByteData) + })); + dart.defineExtensionMethods(typed_data.UnmodifiableByteDataView, [ + 'getInt8', + 'setInt8', + 'getUint8', + 'setUint8', + 'getInt16', + 'setInt16', + 'getUint16', + 'setUint16', + 'getInt32', + 'setInt32', + 'getUint32', + 'setUint32', + 'getInt64', + 'setInt64', + 'getUint64', + 'setUint64', + 'getFloat32', + 'setFloat32', + 'getFloat64', + 'setFloat64' + ]); + dart.defineExtensionAccessors(typed_data.UnmodifiableByteDataView, ['elementSizeInBytes', 'offsetInBytes', 'lengthInBytes', 'buffer']); + var _list$2 = dart.privateName(typed_data, "_list"); + var _createList = dart.privateName(typed_data, "_createList"); + const _is__UnmodifiableListMixin_default = Symbol('_is__UnmodifiableListMixin_default'); + typed_data._UnmodifiableListMixin$ = dart.generic((N, L, TD) => { + class _UnmodifiableListMixin extends core.Object { + get [_data$]() { + return TD.as(this[_list$2]); + } + get length() { + return this[_list$2][$length]; + } + _get(index) { + if (index == null) dart.nullFailed(I[144], 150, 21, "index"); + return this[_list$2][$_get](index); + } + get elementSizeInBytes() { + return this[_data$][$elementSizeInBytes]; + } + get offsetInBytes() { + return this[_data$][$offsetInBytes]; + } + get lengthInBytes() { + return this[_data$][$lengthInBytes]; + } + get buffer() { + return new typed_data.UnmodifiableByteBufferView.new(this[_data$][$buffer]); + } + sublist(start, end = null) { + if (start == null) dart.nullFailed(I[144], 162, 17, "start"); + let endIndex = core.RangeError.checkValidRange(start, dart.nullCheck(end), this.length); + let sublistLength = dart.notNull(endIndex) - dart.notNull(start); + let result = this[_createList](sublistLength); + result[$setRange](0, sublistLength, this[_list$2], start); + return result; + } + } + (_UnmodifiableListMixin.new = function() { + ; + }).prototype = _UnmodifiableListMixin.prototype; + dart.addTypeTests(_UnmodifiableListMixin); + _UnmodifiableListMixin.prototype[_is__UnmodifiableListMixin_default] = true; + dart.addTypeCaches(_UnmodifiableListMixin); + dart.setMethodSignature(_UnmodifiableListMixin, () => ({ + __proto__: dart.getMethods(_UnmodifiableListMixin.__proto__), + _get: dart.fnType(N, [core.int]), + sublist: dart.fnType(L, [core.int], [dart.nullable(core.int)]) + })); + dart.setGetterSignature(_UnmodifiableListMixin, () => ({ + __proto__: dart.getGetters(_UnmodifiableListMixin.__proto__), + [_data$]: TD, + length: core.int, + elementSizeInBytes: core.int, + offsetInBytes: core.int, + lengthInBytes: core.int, + buffer: typed_data.ByteBuffer + })); + dart.setLibraryUri(_UnmodifiableListMixin, I[60]); + return _UnmodifiableListMixin; + }); + typed_data._UnmodifiableListMixin = typed_data._UnmodifiableListMixin$(); + dart.addTypeTests(typed_data._UnmodifiableListMixin, _is__UnmodifiableListMixin_default); + var _list$3 = dart.privateName(typed_data, "UnmodifiableUint8ListView._list"); + const UnmodifiableListBase__UnmodifiableListMixin$36 = class UnmodifiableListBase__UnmodifiableListMixin extends _internal.UnmodifiableListBase$(core.int) {}; + (UnmodifiableListBase__UnmodifiableListMixin$36.new = function() { + }).prototype = UnmodifiableListBase__UnmodifiableListMixin$36.prototype; + dart.applyMixin(UnmodifiableListBase__UnmodifiableListMixin$36, typed_data._UnmodifiableListMixin$(core.int, typed_data.Uint8List, typed_data.Uint8List)); + typed_data.UnmodifiableUint8ListView = class UnmodifiableUint8ListView extends UnmodifiableListBase__UnmodifiableListMixin$36 { + get [_list$2]() { + return this[_list$3]; + } + set [_list$2](value) { + super[_list$2] = value; + } + [_createList](length) { + if (length == null) dart.nullFailed(I[144], 179, 29, "length"); + return _native_typed_data.NativeUint8List.new(length); + } + }; + (typed_data.UnmodifiableUint8ListView.new = function(list) { + if (list == null) dart.nullFailed(I[144], 177, 39, "list"); + this[_list$3] = list; + ; + }).prototype = typed_data.UnmodifiableUint8ListView.prototype; + dart.addTypeTests(typed_data.UnmodifiableUint8ListView); + dart.addTypeCaches(typed_data.UnmodifiableUint8ListView); + typed_data.UnmodifiableUint8ListView[dart.implements] = () => [typed_data.Uint8List]; + dart.setMethodSignature(typed_data.UnmodifiableUint8ListView, () => ({ + __proto__: dart.getMethods(typed_data.UnmodifiableUint8ListView.__proto__), + [_createList]: dart.fnType(typed_data.Uint8List, [core.int]) + })); + dart.setLibraryUri(typed_data.UnmodifiableUint8ListView, I[60]); + dart.setFieldSignature(typed_data.UnmodifiableUint8ListView, () => ({ + __proto__: dart.getFields(typed_data.UnmodifiableUint8ListView.__proto__), + [_list$2]: dart.finalFieldType(typed_data.Uint8List) + })); + dart.defineExtensionMethods(typed_data.UnmodifiableUint8ListView, ['_get', 'sublist']); + dart.defineExtensionAccessors(typed_data.UnmodifiableUint8ListView, [ + 'length', + 'elementSizeInBytes', + 'offsetInBytes', + 'lengthInBytes', + 'buffer' + ]); + var _list$4 = dart.privateName(typed_data, "UnmodifiableInt8ListView._list"); + const UnmodifiableListBase__UnmodifiableListMixin$36$ = class UnmodifiableListBase__UnmodifiableListMixin extends _internal.UnmodifiableListBase$(core.int) {}; + (UnmodifiableListBase__UnmodifiableListMixin$36$.new = function() { + }).prototype = UnmodifiableListBase__UnmodifiableListMixin$36$.prototype; + dart.applyMixin(UnmodifiableListBase__UnmodifiableListMixin$36$, typed_data._UnmodifiableListMixin$(core.int, typed_data.Int8List, typed_data.Int8List)); + typed_data.UnmodifiableInt8ListView = class UnmodifiableInt8ListView extends UnmodifiableListBase__UnmodifiableListMixin$36$ { + get [_list$2]() { + return this[_list$4]; + } + set [_list$2](value) { + super[_list$2] = value; + } + [_createList](length) { + if (length == null) dart.nullFailed(I[144], 189, 28, "length"); + return _native_typed_data.NativeInt8List.new(length); + } + }; + (typed_data.UnmodifiableInt8ListView.new = function(list) { + if (list == null) dart.nullFailed(I[144], 187, 37, "list"); + this[_list$4] = list; + ; + }).prototype = typed_data.UnmodifiableInt8ListView.prototype; + dart.addTypeTests(typed_data.UnmodifiableInt8ListView); + dart.addTypeCaches(typed_data.UnmodifiableInt8ListView); + typed_data.UnmodifiableInt8ListView[dart.implements] = () => [typed_data.Int8List]; + dart.setMethodSignature(typed_data.UnmodifiableInt8ListView, () => ({ + __proto__: dart.getMethods(typed_data.UnmodifiableInt8ListView.__proto__), + [_createList]: dart.fnType(typed_data.Int8List, [core.int]) + })); + dart.setLibraryUri(typed_data.UnmodifiableInt8ListView, I[60]); + dart.setFieldSignature(typed_data.UnmodifiableInt8ListView, () => ({ + __proto__: dart.getFields(typed_data.UnmodifiableInt8ListView.__proto__), + [_list$2]: dart.finalFieldType(typed_data.Int8List) + })); + dart.defineExtensionMethods(typed_data.UnmodifiableInt8ListView, ['_get', 'sublist']); + dart.defineExtensionAccessors(typed_data.UnmodifiableInt8ListView, [ + 'length', + 'elementSizeInBytes', + 'offsetInBytes', + 'lengthInBytes', + 'buffer' + ]); + var _list$5 = dart.privateName(typed_data, "UnmodifiableUint8ClampedListView._list"); + const UnmodifiableListBase__UnmodifiableListMixin$36$0 = class UnmodifiableListBase__UnmodifiableListMixin extends _internal.UnmodifiableListBase$(core.int) {}; + (UnmodifiableListBase__UnmodifiableListMixin$36$0.new = function() { + }).prototype = UnmodifiableListBase__UnmodifiableListMixin$36$0.prototype; + dart.applyMixin(UnmodifiableListBase__UnmodifiableListMixin$36$0, typed_data._UnmodifiableListMixin$(core.int, typed_data.Uint8ClampedList, typed_data.Uint8ClampedList)); + typed_data.UnmodifiableUint8ClampedListView = class UnmodifiableUint8ClampedListView extends UnmodifiableListBase__UnmodifiableListMixin$36$0 { + get [_list$2]() { + return this[_list$5]; + } + set [_list$2](value) { + super[_list$2] = value; + } + [_createList](length) { + if (length == null) dart.nullFailed(I[144], 199, 36, "length"); + return _native_typed_data.NativeUint8ClampedList.new(length); + } + }; + (typed_data.UnmodifiableUint8ClampedListView.new = function(list) { + if (list == null) dart.nullFailed(I[144], 197, 53, "list"); + this[_list$5] = list; + ; + }).prototype = typed_data.UnmodifiableUint8ClampedListView.prototype; + dart.addTypeTests(typed_data.UnmodifiableUint8ClampedListView); + dart.addTypeCaches(typed_data.UnmodifiableUint8ClampedListView); + typed_data.UnmodifiableUint8ClampedListView[dart.implements] = () => [typed_data.Uint8ClampedList]; + dart.setMethodSignature(typed_data.UnmodifiableUint8ClampedListView, () => ({ + __proto__: dart.getMethods(typed_data.UnmodifiableUint8ClampedListView.__proto__), + [_createList]: dart.fnType(typed_data.Uint8ClampedList, [core.int]) + })); + dart.setLibraryUri(typed_data.UnmodifiableUint8ClampedListView, I[60]); + dart.setFieldSignature(typed_data.UnmodifiableUint8ClampedListView, () => ({ + __proto__: dart.getFields(typed_data.UnmodifiableUint8ClampedListView.__proto__), + [_list$2]: dart.finalFieldType(typed_data.Uint8ClampedList) + })); + dart.defineExtensionMethods(typed_data.UnmodifiableUint8ClampedListView, ['_get', 'sublist']); + dart.defineExtensionAccessors(typed_data.UnmodifiableUint8ClampedListView, [ + 'length', + 'elementSizeInBytes', + 'offsetInBytes', + 'lengthInBytes', + 'buffer' + ]); + var _list$6 = dart.privateName(typed_data, "UnmodifiableUint16ListView._list"); + const UnmodifiableListBase__UnmodifiableListMixin$36$1 = class UnmodifiableListBase__UnmodifiableListMixin extends _internal.UnmodifiableListBase$(core.int) {}; + (UnmodifiableListBase__UnmodifiableListMixin$36$1.new = function() { + }).prototype = UnmodifiableListBase__UnmodifiableListMixin$36$1.prototype; + dart.applyMixin(UnmodifiableListBase__UnmodifiableListMixin$36$1, typed_data._UnmodifiableListMixin$(core.int, typed_data.Uint16List, typed_data.Uint16List)); + typed_data.UnmodifiableUint16ListView = class UnmodifiableUint16ListView extends UnmodifiableListBase__UnmodifiableListMixin$36$1 { + get [_list$2]() { + return this[_list$6]; + } + set [_list$2](value) { + super[_list$2] = value; + } + [_createList](length) { + if (length == null) dart.nullFailed(I[144], 209, 30, "length"); + return _native_typed_data.NativeUint16List.new(length); + } + }; + (typed_data.UnmodifiableUint16ListView.new = function(list) { + if (list == null) dart.nullFailed(I[144], 207, 41, "list"); + this[_list$6] = list; + ; + }).prototype = typed_data.UnmodifiableUint16ListView.prototype; + dart.addTypeTests(typed_data.UnmodifiableUint16ListView); + dart.addTypeCaches(typed_data.UnmodifiableUint16ListView); + typed_data.UnmodifiableUint16ListView[dart.implements] = () => [typed_data.Uint16List]; + dart.setMethodSignature(typed_data.UnmodifiableUint16ListView, () => ({ + __proto__: dart.getMethods(typed_data.UnmodifiableUint16ListView.__proto__), + [_createList]: dart.fnType(typed_data.Uint16List, [core.int]) + })); + dart.setLibraryUri(typed_data.UnmodifiableUint16ListView, I[60]); + dart.setFieldSignature(typed_data.UnmodifiableUint16ListView, () => ({ + __proto__: dart.getFields(typed_data.UnmodifiableUint16ListView.__proto__), + [_list$2]: dart.finalFieldType(typed_data.Uint16List) + })); + dart.defineExtensionMethods(typed_data.UnmodifiableUint16ListView, ['_get', 'sublist']); + dart.defineExtensionAccessors(typed_data.UnmodifiableUint16ListView, [ + 'length', + 'elementSizeInBytes', + 'offsetInBytes', + 'lengthInBytes', + 'buffer' + ]); + var _list$7 = dart.privateName(typed_data, "UnmodifiableInt16ListView._list"); + const UnmodifiableListBase__UnmodifiableListMixin$36$2 = class UnmodifiableListBase__UnmodifiableListMixin extends _internal.UnmodifiableListBase$(core.int) {}; + (UnmodifiableListBase__UnmodifiableListMixin$36$2.new = function() { + }).prototype = UnmodifiableListBase__UnmodifiableListMixin$36$2.prototype; + dart.applyMixin(UnmodifiableListBase__UnmodifiableListMixin$36$2, typed_data._UnmodifiableListMixin$(core.int, typed_data.Int16List, typed_data.Int16List)); + typed_data.UnmodifiableInt16ListView = class UnmodifiableInt16ListView extends UnmodifiableListBase__UnmodifiableListMixin$36$2 { + get [_list$2]() { + return this[_list$7]; + } + set [_list$2](value) { + super[_list$2] = value; + } + [_createList](length) { + if (length == null) dart.nullFailed(I[144], 219, 29, "length"); + return _native_typed_data.NativeInt16List.new(length); + } + }; + (typed_data.UnmodifiableInt16ListView.new = function(list) { + if (list == null) dart.nullFailed(I[144], 217, 39, "list"); + this[_list$7] = list; + ; + }).prototype = typed_data.UnmodifiableInt16ListView.prototype; + dart.addTypeTests(typed_data.UnmodifiableInt16ListView); + dart.addTypeCaches(typed_data.UnmodifiableInt16ListView); + typed_data.UnmodifiableInt16ListView[dart.implements] = () => [typed_data.Int16List]; + dart.setMethodSignature(typed_data.UnmodifiableInt16ListView, () => ({ + __proto__: dart.getMethods(typed_data.UnmodifiableInt16ListView.__proto__), + [_createList]: dart.fnType(typed_data.Int16List, [core.int]) + })); + dart.setLibraryUri(typed_data.UnmodifiableInt16ListView, I[60]); + dart.setFieldSignature(typed_data.UnmodifiableInt16ListView, () => ({ + __proto__: dart.getFields(typed_data.UnmodifiableInt16ListView.__proto__), + [_list$2]: dart.finalFieldType(typed_data.Int16List) + })); + dart.defineExtensionMethods(typed_data.UnmodifiableInt16ListView, ['_get', 'sublist']); + dart.defineExtensionAccessors(typed_data.UnmodifiableInt16ListView, [ + 'length', + 'elementSizeInBytes', + 'offsetInBytes', + 'lengthInBytes', + 'buffer' + ]); + var _list$8 = dart.privateName(typed_data, "UnmodifiableUint32ListView._list"); + const UnmodifiableListBase__UnmodifiableListMixin$36$3 = class UnmodifiableListBase__UnmodifiableListMixin extends _internal.UnmodifiableListBase$(core.int) {}; + (UnmodifiableListBase__UnmodifiableListMixin$36$3.new = function() { + }).prototype = UnmodifiableListBase__UnmodifiableListMixin$36$3.prototype; + dart.applyMixin(UnmodifiableListBase__UnmodifiableListMixin$36$3, typed_data._UnmodifiableListMixin$(core.int, typed_data.Uint32List, typed_data.Uint32List)); + typed_data.UnmodifiableUint32ListView = class UnmodifiableUint32ListView extends UnmodifiableListBase__UnmodifiableListMixin$36$3 { + get [_list$2]() { + return this[_list$8]; + } + set [_list$2](value) { + super[_list$2] = value; + } + [_createList](length) { + if (length == null) dart.nullFailed(I[144], 229, 30, "length"); + return _native_typed_data.NativeUint32List.new(length); + } + }; + (typed_data.UnmodifiableUint32ListView.new = function(list) { + if (list == null) dart.nullFailed(I[144], 227, 41, "list"); + this[_list$8] = list; + ; + }).prototype = typed_data.UnmodifiableUint32ListView.prototype; + dart.addTypeTests(typed_data.UnmodifiableUint32ListView); + dart.addTypeCaches(typed_data.UnmodifiableUint32ListView); + typed_data.UnmodifiableUint32ListView[dart.implements] = () => [typed_data.Uint32List]; + dart.setMethodSignature(typed_data.UnmodifiableUint32ListView, () => ({ + __proto__: dart.getMethods(typed_data.UnmodifiableUint32ListView.__proto__), + [_createList]: dart.fnType(typed_data.Uint32List, [core.int]) + })); + dart.setLibraryUri(typed_data.UnmodifiableUint32ListView, I[60]); + dart.setFieldSignature(typed_data.UnmodifiableUint32ListView, () => ({ + __proto__: dart.getFields(typed_data.UnmodifiableUint32ListView.__proto__), + [_list$2]: dart.finalFieldType(typed_data.Uint32List) + })); + dart.defineExtensionMethods(typed_data.UnmodifiableUint32ListView, ['_get', 'sublist']); + dart.defineExtensionAccessors(typed_data.UnmodifiableUint32ListView, [ + 'length', + 'elementSizeInBytes', + 'offsetInBytes', + 'lengthInBytes', + 'buffer' + ]); + var _list$9 = dart.privateName(typed_data, "UnmodifiableInt32ListView._list"); + const UnmodifiableListBase__UnmodifiableListMixin$36$4 = class UnmodifiableListBase__UnmodifiableListMixin extends _internal.UnmodifiableListBase$(core.int) {}; + (UnmodifiableListBase__UnmodifiableListMixin$36$4.new = function() { + }).prototype = UnmodifiableListBase__UnmodifiableListMixin$36$4.prototype; + dart.applyMixin(UnmodifiableListBase__UnmodifiableListMixin$36$4, typed_data._UnmodifiableListMixin$(core.int, typed_data.Int32List, typed_data.Int32List)); + typed_data.UnmodifiableInt32ListView = class UnmodifiableInt32ListView extends UnmodifiableListBase__UnmodifiableListMixin$36$4 { + get [_list$2]() { + return this[_list$9]; + } + set [_list$2](value) { + super[_list$2] = value; + } + [_createList](length) { + if (length == null) dart.nullFailed(I[144], 239, 29, "length"); + return _native_typed_data.NativeInt32List.new(length); + } + }; + (typed_data.UnmodifiableInt32ListView.new = function(list) { + if (list == null) dart.nullFailed(I[144], 237, 39, "list"); + this[_list$9] = list; + ; + }).prototype = typed_data.UnmodifiableInt32ListView.prototype; + dart.addTypeTests(typed_data.UnmodifiableInt32ListView); + dart.addTypeCaches(typed_data.UnmodifiableInt32ListView); + typed_data.UnmodifiableInt32ListView[dart.implements] = () => [typed_data.Int32List]; + dart.setMethodSignature(typed_data.UnmodifiableInt32ListView, () => ({ + __proto__: dart.getMethods(typed_data.UnmodifiableInt32ListView.__proto__), + [_createList]: dart.fnType(typed_data.Int32List, [core.int]) + })); + dart.setLibraryUri(typed_data.UnmodifiableInt32ListView, I[60]); + dart.setFieldSignature(typed_data.UnmodifiableInt32ListView, () => ({ + __proto__: dart.getFields(typed_data.UnmodifiableInt32ListView.__proto__), + [_list$2]: dart.finalFieldType(typed_data.Int32List) + })); + dart.defineExtensionMethods(typed_data.UnmodifiableInt32ListView, ['_get', 'sublist']); + dart.defineExtensionAccessors(typed_data.UnmodifiableInt32ListView, [ + 'length', + 'elementSizeInBytes', + 'offsetInBytes', + 'lengthInBytes', + 'buffer' + ]); + var _list$10 = dart.privateName(typed_data, "UnmodifiableUint64ListView._list"); + const UnmodifiableListBase__UnmodifiableListMixin$36$5 = class UnmodifiableListBase__UnmodifiableListMixin extends _internal.UnmodifiableListBase$(core.int) {}; + (UnmodifiableListBase__UnmodifiableListMixin$36$5.new = function() { + }).prototype = UnmodifiableListBase__UnmodifiableListMixin$36$5.prototype; + dart.applyMixin(UnmodifiableListBase__UnmodifiableListMixin$36$5, typed_data._UnmodifiableListMixin$(core.int, typed_data.Uint64List, typed_data.Uint64List)); + typed_data.UnmodifiableUint64ListView = class UnmodifiableUint64ListView extends UnmodifiableListBase__UnmodifiableListMixin$36$5 { + get [_list$2]() { + return this[_list$10]; + } + set [_list$2](value) { + super[_list$2] = value; + } + [_createList](length) { + if (length == null) dart.nullFailed(I[144], 249, 30, "length"); + return typed_data.Uint64List.new(length); + } + }; + (typed_data.UnmodifiableUint64ListView.new = function(list) { + if (list == null) dart.nullFailed(I[144], 247, 41, "list"); + this[_list$10] = list; + ; + }).prototype = typed_data.UnmodifiableUint64ListView.prototype; + dart.addTypeTests(typed_data.UnmodifiableUint64ListView); + dart.addTypeCaches(typed_data.UnmodifiableUint64ListView); + typed_data.UnmodifiableUint64ListView[dart.implements] = () => [typed_data.Uint64List]; + dart.setMethodSignature(typed_data.UnmodifiableUint64ListView, () => ({ + __proto__: dart.getMethods(typed_data.UnmodifiableUint64ListView.__proto__), + [_createList]: dart.fnType(typed_data.Uint64List, [core.int]) + })); + dart.setLibraryUri(typed_data.UnmodifiableUint64ListView, I[60]); + dart.setFieldSignature(typed_data.UnmodifiableUint64ListView, () => ({ + __proto__: dart.getFields(typed_data.UnmodifiableUint64ListView.__proto__), + [_list$2]: dart.finalFieldType(typed_data.Uint64List) + })); + dart.defineExtensionMethods(typed_data.UnmodifiableUint64ListView, ['_get', 'sublist']); + dart.defineExtensionAccessors(typed_data.UnmodifiableUint64ListView, [ + 'length', + 'elementSizeInBytes', + 'offsetInBytes', + 'lengthInBytes', + 'buffer' + ]); + var _list$11 = dart.privateName(typed_data, "UnmodifiableInt64ListView._list"); + const UnmodifiableListBase__UnmodifiableListMixin$36$6 = class UnmodifiableListBase__UnmodifiableListMixin extends _internal.UnmodifiableListBase$(core.int) {}; + (UnmodifiableListBase__UnmodifiableListMixin$36$6.new = function() { + }).prototype = UnmodifiableListBase__UnmodifiableListMixin$36$6.prototype; + dart.applyMixin(UnmodifiableListBase__UnmodifiableListMixin$36$6, typed_data._UnmodifiableListMixin$(core.int, typed_data.Int64List, typed_data.Int64List)); + typed_data.UnmodifiableInt64ListView = class UnmodifiableInt64ListView extends UnmodifiableListBase__UnmodifiableListMixin$36$6 { + get [_list$2]() { + return this[_list$11]; + } + set [_list$2](value) { + super[_list$2] = value; + } + [_createList](length) { + if (length == null) dart.nullFailed(I[144], 259, 29, "length"); + return typed_data.Int64List.new(length); + } + }; + (typed_data.UnmodifiableInt64ListView.new = function(list) { + if (list == null) dart.nullFailed(I[144], 257, 39, "list"); + this[_list$11] = list; + ; + }).prototype = typed_data.UnmodifiableInt64ListView.prototype; + dart.addTypeTests(typed_data.UnmodifiableInt64ListView); + dart.addTypeCaches(typed_data.UnmodifiableInt64ListView); + typed_data.UnmodifiableInt64ListView[dart.implements] = () => [typed_data.Int64List]; + dart.setMethodSignature(typed_data.UnmodifiableInt64ListView, () => ({ + __proto__: dart.getMethods(typed_data.UnmodifiableInt64ListView.__proto__), + [_createList]: dart.fnType(typed_data.Int64List, [core.int]) + })); + dart.setLibraryUri(typed_data.UnmodifiableInt64ListView, I[60]); + dart.setFieldSignature(typed_data.UnmodifiableInt64ListView, () => ({ + __proto__: dart.getFields(typed_data.UnmodifiableInt64ListView.__proto__), + [_list$2]: dart.finalFieldType(typed_data.Int64List) + })); + dart.defineExtensionMethods(typed_data.UnmodifiableInt64ListView, ['_get', 'sublist']); + dart.defineExtensionAccessors(typed_data.UnmodifiableInt64ListView, [ + 'length', + 'elementSizeInBytes', + 'offsetInBytes', + 'lengthInBytes', + 'buffer' + ]); + var _list$12 = dart.privateName(typed_data, "UnmodifiableInt32x4ListView._list"); + const UnmodifiableListBase__UnmodifiableListMixin$36$7 = class UnmodifiableListBase__UnmodifiableListMixin extends _internal.UnmodifiableListBase$(typed_data.Int32x4) {}; + (UnmodifiableListBase__UnmodifiableListMixin$36$7.new = function() { + }).prototype = UnmodifiableListBase__UnmodifiableListMixin$36$7.prototype; + dart.applyMixin(UnmodifiableListBase__UnmodifiableListMixin$36$7, typed_data._UnmodifiableListMixin$(typed_data.Int32x4, typed_data.Int32x4List, typed_data.Int32x4List)); + typed_data.UnmodifiableInt32x4ListView = class UnmodifiableInt32x4ListView extends UnmodifiableListBase__UnmodifiableListMixin$36$7 { + get [_list$2]() { + return this[_list$12]; + } + set [_list$2](value) { + super[_list$2] = value; + } + [_createList](length) { + if (length == null) dart.nullFailed(I[144], 269, 31, "length"); + return new _native_typed_data.NativeInt32x4List.new(length); + } + }; + (typed_data.UnmodifiableInt32x4ListView.new = function(list) { + if (list == null) dart.nullFailed(I[144], 267, 43, "list"); + this[_list$12] = list; + ; + }).prototype = typed_data.UnmodifiableInt32x4ListView.prototype; + dart.addTypeTests(typed_data.UnmodifiableInt32x4ListView); + dart.addTypeCaches(typed_data.UnmodifiableInt32x4ListView); + typed_data.UnmodifiableInt32x4ListView[dart.implements] = () => [typed_data.Int32x4List]; + dart.setMethodSignature(typed_data.UnmodifiableInt32x4ListView, () => ({ + __proto__: dart.getMethods(typed_data.UnmodifiableInt32x4ListView.__proto__), + [_createList]: dart.fnType(typed_data.Int32x4List, [core.int]) + })); + dart.setLibraryUri(typed_data.UnmodifiableInt32x4ListView, I[60]); + dart.setFieldSignature(typed_data.UnmodifiableInt32x4ListView, () => ({ + __proto__: dart.getFields(typed_data.UnmodifiableInt32x4ListView.__proto__), + [_list$2]: dart.finalFieldType(typed_data.Int32x4List) + })); + dart.defineExtensionMethods(typed_data.UnmodifiableInt32x4ListView, ['_get', 'sublist']); + dart.defineExtensionAccessors(typed_data.UnmodifiableInt32x4ListView, [ + 'length', + 'elementSizeInBytes', + 'offsetInBytes', + 'lengthInBytes', + 'buffer' + ]); + var _list$13 = dart.privateName(typed_data, "UnmodifiableFloat32x4ListView._list"); + const UnmodifiableListBase__UnmodifiableListMixin$36$8 = class UnmodifiableListBase__UnmodifiableListMixin extends _internal.UnmodifiableListBase$(typed_data.Float32x4) {}; + (UnmodifiableListBase__UnmodifiableListMixin$36$8.new = function() { + }).prototype = UnmodifiableListBase__UnmodifiableListMixin$36$8.prototype; + dart.applyMixin(UnmodifiableListBase__UnmodifiableListMixin$36$8, typed_data._UnmodifiableListMixin$(typed_data.Float32x4, typed_data.Float32x4List, typed_data.Float32x4List)); + typed_data.UnmodifiableFloat32x4ListView = class UnmodifiableFloat32x4ListView extends UnmodifiableListBase__UnmodifiableListMixin$36$8 { + get [_list$2]() { + return this[_list$13]; + } + set [_list$2](value) { + super[_list$2] = value; + } + [_createList](length) { + if (length == null) dart.nullFailed(I[144], 279, 33, "length"); + return new _native_typed_data.NativeFloat32x4List.new(length); + } + }; + (typed_data.UnmodifiableFloat32x4ListView.new = function(list) { + if (list == null) dart.nullFailed(I[144], 277, 47, "list"); + this[_list$13] = list; + ; + }).prototype = typed_data.UnmodifiableFloat32x4ListView.prototype; + dart.addTypeTests(typed_data.UnmodifiableFloat32x4ListView); + dart.addTypeCaches(typed_data.UnmodifiableFloat32x4ListView); + typed_data.UnmodifiableFloat32x4ListView[dart.implements] = () => [typed_data.Float32x4List]; + dart.setMethodSignature(typed_data.UnmodifiableFloat32x4ListView, () => ({ + __proto__: dart.getMethods(typed_data.UnmodifiableFloat32x4ListView.__proto__), + [_createList]: dart.fnType(typed_data.Float32x4List, [core.int]) + })); + dart.setLibraryUri(typed_data.UnmodifiableFloat32x4ListView, I[60]); + dart.setFieldSignature(typed_data.UnmodifiableFloat32x4ListView, () => ({ + __proto__: dart.getFields(typed_data.UnmodifiableFloat32x4ListView.__proto__), + [_list$2]: dart.finalFieldType(typed_data.Float32x4List) + })); + dart.defineExtensionMethods(typed_data.UnmodifiableFloat32x4ListView, ['_get', 'sublist']); + dart.defineExtensionAccessors(typed_data.UnmodifiableFloat32x4ListView, [ + 'length', + 'elementSizeInBytes', + 'offsetInBytes', + 'lengthInBytes', + 'buffer' + ]); + var _list$14 = dart.privateName(typed_data, "UnmodifiableFloat64x2ListView._list"); + const UnmodifiableListBase__UnmodifiableListMixin$36$9 = class UnmodifiableListBase__UnmodifiableListMixin extends _internal.UnmodifiableListBase$(typed_data.Float64x2) {}; + (UnmodifiableListBase__UnmodifiableListMixin$36$9.new = function() { + }).prototype = UnmodifiableListBase__UnmodifiableListMixin$36$9.prototype; + dart.applyMixin(UnmodifiableListBase__UnmodifiableListMixin$36$9, typed_data._UnmodifiableListMixin$(typed_data.Float64x2, typed_data.Float64x2List, typed_data.Float64x2List)); + typed_data.UnmodifiableFloat64x2ListView = class UnmodifiableFloat64x2ListView extends UnmodifiableListBase__UnmodifiableListMixin$36$9 { + get [_list$2]() { + return this[_list$14]; + } + set [_list$2](value) { + super[_list$2] = value; + } + [_createList](length) { + if (length == null) dart.nullFailed(I[144], 289, 33, "length"); + return new _native_typed_data.NativeFloat64x2List.new(length); + } + }; + (typed_data.UnmodifiableFloat64x2ListView.new = function(list) { + if (list == null) dart.nullFailed(I[144], 287, 47, "list"); + this[_list$14] = list; + ; + }).prototype = typed_data.UnmodifiableFloat64x2ListView.prototype; + dart.addTypeTests(typed_data.UnmodifiableFloat64x2ListView); + dart.addTypeCaches(typed_data.UnmodifiableFloat64x2ListView); + typed_data.UnmodifiableFloat64x2ListView[dart.implements] = () => [typed_data.Float64x2List]; + dart.setMethodSignature(typed_data.UnmodifiableFloat64x2ListView, () => ({ + __proto__: dart.getMethods(typed_data.UnmodifiableFloat64x2ListView.__proto__), + [_createList]: dart.fnType(typed_data.Float64x2List, [core.int]) + })); + dart.setLibraryUri(typed_data.UnmodifiableFloat64x2ListView, I[60]); + dart.setFieldSignature(typed_data.UnmodifiableFloat64x2ListView, () => ({ + __proto__: dart.getFields(typed_data.UnmodifiableFloat64x2ListView.__proto__), + [_list$2]: dart.finalFieldType(typed_data.Float64x2List) + })); + dart.defineExtensionMethods(typed_data.UnmodifiableFloat64x2ListView, ['_get', 'sublist']); + dart.defineExtensionAccessors(typed_data.UnmodifiableFloat64x2ListView, [ + 'length', + 'elementSizeInBytes', + 'offsetInBytes', + 'lengthInBytes', + 'buffer' + ]); + var _list$15 = dart.privateName(typed_data, "UnmodifiableFloat32ListView._list"); + const UnmodifiableListBase__UnmodifiableListMixin$36$10 = class UnmodifiableListBase__UnmodifiableListMixin extends _internal.UnmodifiableListBase$(core.double) {}; + (UnmodifiableListBase__UnmodifiableListMixin$36$10.new = function() { + }).prototype = UnmodifiableListBase__UnmodifiableListMixin$36$10.prototype; + dart.applyMixin(UnmodifiableListBase__UnmodifiableListMixin$36$10, typed_data._UnmodifiableListMixin$(core.double, typed_data.Float32List, typed_data.Float32List)); + typed_data.UnmodifiableFloat32ListView = class UnmodifiableFloat32ListView extends UnmodifiableListBase__UnmodifiableListMixin$36$10 { + get [_list$2]() { + return this[_list$15]; + } + set [_list$2](value) { + super[_list$2] = value; + } + [_createList](length) { + if (length == null) dart.nullFailed(I[144], 299, 31, "length"); + return _native_typed_data.NativeFloat32List.new(length); + } + }; + (typed_data.UnmodifiableFloat32ListView.new = function(list) { + if (list == null) dart.nullFailed(I[144], 297, 43, "list"); + this[_list$15] = list; + ; + }).prototype = typed_data.UnmodifiableFloat32ListView.prototype; + dart.addTypeTests(typed_data.UnmodifiableFloat32ListView); + dart.addTypeCaches(typed_data.UnmodifiableFloat32ListView); + typed_data.UnmodifiableFloat32ListView[dart.implements] = () => [typed_data.Float32List]; + dart.setMethodSignature(typed_data.UnmodifiableFloat32ListView, () => ({ + __proto__: dart.getMethods(typed_data.UnmodifiableFloat32ListView.__proto__), + [_createList]: dart.fnType(typed_data.Float32List, [core.int]) + })); + dart.setLibraryUri(typed_data.UnmodifiableFloat32ListView, I[60]); + dart.setFieldSignature(typed_data.UnmodifiableFloat32ListView, () => ({ + __proto__: dart.getFields(typed_data.UnmodifiableFloat32ListView.__proto__), + [_list$2]: dart.finalFieldType(typed_data.Float32List) + })); + dart.defineExtensionMethods(typed_data.UnmodifiableFloat32ListView, ['_get', 'sublist']); + dart.defineExtensionAccessors(typed_data.UnmodifiableFloat32ListView, [ + 'length', + 'elementSizeInBytes', + 'offsetInBytes', + 'lengthInBytes', + 'buffer' + ]); + var _list$16 = dart.privateName(typed_data, "UnmodifiableFloat64ListView._list"); + const UnmodifiableListBase__UnmodifiableListMixin$36$11 = class UnmodifiableListBase__UnmodifiableListMixin extends _internal.UnmodifiableListBase$(core.double) {}; + (UnmodifiableListBase__UnmodifiableListMixin$36$11.new = function() { + }).prototype = UnmodifiableListBase__UnmodifiableListMixin$36$11.prototype; + dart.applyMixin(UnmodifiableListBase__UnmodifiableListMixin$36$11, typed_data._UnmodifiableListMixin$(core.double, typed_data.Float64List, typed_data.Float64List)); + typed_data.UnmodifiableFloat64ListView = class UnmodifiableFloat64ListView extends UnmodifiableListBase__UnmodifiableListMixin$36$11 { + get [_list$2]() { + return this[_list$16]; + } + set [_list$2](value) { + super[_list$2] = value; + } + [_createList](length) { + if (length == null) dart.nullFailed(I[144], 309, 31, "length"); + return _native_typed_data.NativeFloat64List.new(length); + } + }; + (typed_data.UnmodifiableFloat64ListView.new = function(list) { + if (list == null) dart.nullFailed(I[144], 307, 43, "list"); + this[_list$16] = list; + ; + }).prototype = typed_data.UnmodifiableFloat64ListView.prototype; + dart.addTypeTests(typed_data.UnmodifiableFloat64ListView); + dart.addTypeCaches(typed_data.UnmodifiableFloat64ListView); + typed_data.UnmodifiableFloat64ListView[dart.implements] = () => [typed_data.Float64List]; + dart.setMethodSignature(typed_data.UnmodifiableFloat64ListView, () => ({ + __proto__: dart.getMethods(typed_data.UnmodifiableFloat64ListView.__proto__), + [_createList]: dart.fnType(typed_data.Float64List, [core.int]) + })); + dart.setLibraryUri(typed_data.UnmodifiableFloat64ListView, I[60]); + dart.setFieldSignature(typed_data.UnmodifiableFloat64ListView, () => ({ + __proto__: dart.getFields(typed_data.UnmodifiableFloat64ListView.__proto__), + [_list$2]: dart.finalFieldType(typed_data.Float64List) + })); + dart.defineExtensionMethods(typed_data.UnmodifiableFloat64ListView, ['_get', 'sublist']); + dart.defineExtensionAccessors(typed_data.UnmodifiableFloat64ListView, [ + 'length', + 'elementSizeInBytes', + 'offsetInBytes', + 'lengthInBytes', + 'buffer' + ]); + indexed_db._KeyRangeFactoryProvider = class _KeyRangeFactoryProvider extends core.Object { + static createKeyRange_only(value) { + return indexed_db._KeyRangeFactoryProvider._only(indexed_db._KeyRangeFactoryProvider._class(), indexed_db._KeyRangeFactoryProvider._translateKey(value)); + } + static createKeyRange_lowerBound(bound, open = false) { + if (open == null) dart.nullFailed(I[145], 96, 17, "open"); + return indexed_db._KeyRangeFactoryProvider._lowerBound(indexed_db._KeyRangeFactoryProvider._class(), indexed_db._KeyRangeFactoryProvider._translateKey(bound), open); + } + static createKeyRange_upperBound(bound, open = false) { + if (open == null) dart.nullFailed(I[145], 101, 17, "open"); + return indexed_db._KeyRangeFactoryProvider._upperBound(indexed_db._KeyRangeFactoryProvider._class(), indexed_db._KeyRangeFactoryProvider._translateKey(bound), open); + } + static createKeyRange_bound(lower, upper, lowerOpen = false, upperOpen = false) { + if (lowerOpen == null) dart.nullFailed(I[145], 105, 17, "lowerOpen"); + if (upperOpen == null) dart.nullFailed(I[145], 105, 41, "upperOpen"); + return indexed_db._KeyRangeFactoryProvider._bound(indexed_db._KeyRangeFactoryProvider._class(), indexed_db._KeyRangeFactoryProvider._translateKey(lower), indexed_db._KeyRangeFactoryProvider._translateKey(upper), lowerOpen, upperOpen); + } + static _class() { + if (indexed_db._KeyRangeFactoryProvider._cachedClass != null) return indexed_db._KeyRangeFactoryProvider._cachedClass; + return indexed_db._KeyRangeFactoryProvider._cachedClass = indexed_db._KeyRangeFactoryProvider._uncachedClass(); + } + static _uncachedClass() { + return window.webkitIDBKeyRange || window.mozIDBKeyRange || window.msIDBKeyRange || window.IDBKeyRange; + } + static _translateKey(idbkey) { + return idbkey; + } + static _only(cls, value) { + return cls.only(value); + } + static _lowerBound(cls, bound, open) { + return cls.lowerBound(bound, open); + } + static _upperBound(cls, bound, open) { + return cls.upperBound(bound, open); + } + static _bound(cls, lower, upper, lowerOpen, upperOpen) { + return cls.bound(lower, upper, lowerOpen, upperOpen); + } + }; + (indexed_db._KeyRangeFactoryProvider.new = function() { + ; + }).prototype = indexed_db._KeyRangeFactoryProvider.prototype; + dart.addTypeTests(indexed_db._KeyRangeFactoryProvider); + dart.addTypeCaches(indexed_db._KeyRangeFactoryProvider); + dart.setLibraryUri(indexed_db._KeyRangeFactoryProvider, I[146]); + dart.defineLazy(indexed_db._KeyRangeFactoryProvider, { + /*indexed_db._KeyRangeFactoryProvider._cachedClass*/get _cachedClass() { + return null; + }, + set _cachedClass(_) {} + }, false); + indexed_db.Cursor = class Cursor extends _interceptors.Interceptor { + [S.$delete]() { + try { + return indexed_db._completeRequest(dart.dynamic, this[S._delete$1]()); + } catch (e$) { + let e = dart.getThrown(e$); + let stacktrace = dart.stackTrace(e$); + if (core.Object.is(e)) { + return async.Future.error(e, stacktrace); + } else + throw e$; + } + } + [$update](value) { + try { + return indexed_db._completeRequest(dart.dynamic, this[S._update](value)); + } catch (e$) { + let e = dart.getThrown(e$); + let stacktrace = dart.stackTrace(e$); + if (core.Object.is(e)) { + return async.Future.error(e, stacktrace); + } else + throw e$; + } + } + [S.$next](key = null) { + if (key == null) { + this.continue(); + } else { + this.continue(key); + } + } + get [S.$direction]() { + return this.direction; + } + get [S.$key]() { + return this.key; + } + get [S.$primaryKey]() { + return this.primaryKey; + } + get [S.$source]() { + return this.source; + } + [S.$advance](...args) { + return this.advance.apply(this, args); + } + [S.$continuePrimaryKey](...args) { + return this.continuePrimaryKey.apply(this, args); + } + [S._delete$1](...args) { + return this.delete.apply(this, args); + } + [S._update](value) { + let value_1 = html_common.convertDartToNative_SerializedScriptValue(value); + return this[S._update_1](value_1); + } + [S._update_1](...args) { + return this.update.apply(this, args); + } + }; + dart.addTypeTests(indexed_db.Cursor); + dart.addTypeCaches(indexed_db.Cursor); + dart.setMethodSignature(indexed_db.Cursor, () => ({ + __proto__: dart.getMethods(indexed_db.Cursor.__proto__), + [S.$delete]: dart.fnType(async.Future, []), + [$update]: dart.fnType(async.Future, [dart.dynamic]), + [S.$next]: dart.fnType(dart.void, [], [dart.nullable(core.Object)]), + [S.$advance]: dart.fnType(dart.void, [core.int]), + [S.$continuePrimaryKey]: dart.fnType(dart.void, [core.Object, core.Object]), + [S._delete$1]: dart.fnType(indexed_db.Request, []), + [S._update]: dart.fnType(indexed_db.Request, [dart.dynamic]), + [S._update_1]: dart.fnType(indexed_db.Request, [dart.dynamic]) + })); + dart.setGetterSignature(indexed_db.Cursor, () => ({ + __proto__: dart.getGetters(indexed_db.Cursor.__proto__), + [S.$direction]: dart.nullable(core.String), + [S.$key]: dart.nullable(core.Object), + [S.$primaryKey]: dart.nullable(core.Object), + [S.$source]: dart.nullable(core.Object) + })); + dart.setLibraryUri(indexed_db.Cursor, I[146]); + dart.registerExtension("IDBCursor", indexed_db.Cursor); + indexed_db.CursorWithValue = class CursorWithValue extends indexed_db.Cursor { + get [S.$value]() { + return indexed_db._convertNativeToDart_IDBAny(this[S._get_value]); + } + get [S._get_value]() { + return this.value; + } + }; + dart.addTypeTests(indexed_db.CursorWithValue); + dart.addTypeCaches(indexed_db.CursorWithValue); + dart.setGetterSignature(indexed_db.CursorWithValue, () => ({ + __proto__: dart.getGetters(indexed_db.CursorWithValue.__proto__), + [S.$value]: dart.dynamic, + [S._get_value]: dart.dynamic + })); + dart.setLibraryUri(indexed_db.CursorWithValue, I[146]); + dart.registerExtension("IDBCursorWithValue", indexed_db.CursorWithValue); + html$.EventTarget = class EventTarget extends _interceptors.Interceptor { + get [S.$on]() { + return new html$.Events.new(this); + } + [S.$addEventListener](type, listener, useCapture = null) { + if (type == null) dart.nullFailed(I[147], 15797, 32, "type"); + if (listener != null) { + this[S._addEventListener](type, listener, useCapture); + } + } + [S.$removeEventListener](type, listener, useCapture = null) { + if (type == null) dart.nullFailed(I[147], 15807, 35, "type"); + if (listener != null) { + this[S._removeEventListener](type, listener, useCapture); + } + } + [S._addEventListener](...args) { + return this.addEventListener.apply(this, args); + } + [S.$dispatchEvent](...args) { + return this.dispatchEvent.apply(this, args); + } + [S._removeEventListener](...args) { + return this.removeEventListener.apply(this, args); + } + }; + (html$.EventTarget._created = function() { + html$.EventTarget.__proto__.new.call(this); + ; + }).prototype = html$.EventTarget.prototype; + dart.addTypeTests(html$.EventTarget); + dart.addTypeCaches(html$.EventTarget); + dart.setMethodSignature(html$.EventTarget, () => ({ + __proto__: dart.getMethods(html$.EventTarget.__proto__), + [S.$addEventListener]: dart.fnType(dart.void, [core.String, dart.nullable(dart.fnType(dart.dynamic, [html$.Event]))], [dart.nullable(core.bool)]), + [S.$removeEventListener]: dart.fnType(dart.void, [core.String, dart.nullable(dart.fnType(dart.dynamic, [html$.Event]))], [dart.nullable(core.bool)]), + [S._addEventListener]: dart.fnType(dart.void, [core.String, dart.nullable(dart.fnType(dart.dynamic, [html$.Event]))], [dart.nullable(core.bool)]), + [S.$dispatchEvent]: dart.fnType(core.bool, [html$.Event]), + [S._removeEventListener]: dart.fnType(dart.void, [core.String, dart.nullable(dart.fnType(dart.dynamic, [html$.Event]))], [dart.nullable(core.bool)]) + })); + dart.setGetterSignature(html$.EventTarget, () => ({ + __proto__: dart.getGetters(html$.EventTarget.__proto__), + [S.$on]: html$.Events + })); + dart.setLibraryUri(html$.EventTarget, I[148]); + dart.registerExtension("EventTarget", html$.EventTarget); + indexed_db.Database = class Database extends html$.EventTarget { + [S.$createObjectStore](name, opts) { + if (name == null) dart.nullFailed(I[145], 304, 40, "name"); + let keyPath = opts && 'keyPath' in opts ? opts.keyPath : null; + let autoIncrement = opts && 'autoIncrement' in opts ? opts.autoIncrement : null; + let options = new _js_helper.LinkedMap.new(); + if (keyPath != null) { + options[$_set]("keyPath", keyPath); + } + if (autoIncrement != null) { + options[$_set]("autoIncrement", autoIncrement); + } + return this[S._createObjectStore](name, options); + } + [S.$transaction](storeName_OR_storeNames, mode) { + if (mode == null) dart.nullFailed(I[145], 316, 59, "mode"); + if (mode !== "readonly" && mode !== "readwrite") { + dart.throw(new core.ArgumentError.new(mode)); + } + return this[S._transaction](storeName_OR_storeNames, mode); + } + [S.$transactionStore](storeName, mode) { + if (storeName == null) dart.nullFailed(I[145], 330, 39, "storeName"); + if (mode == null) dart.nullFailed(I[145], 330, 57, "mode"); + if (mode !== "readonly" && mode !== "readwrite") { + dart.throw(new core.ArgumentError.new(mode)); + } + return this[S._transaction](storeName, mode); + } + [S.$transactionList](storeNames, mode) { + if (storeNames == null) dart.nullFailed(I[145], 340, 44, "storeNames"); + if (mode == null) dart.nullFailed(I[145], 340, 63, "mode"); + if (mode !== "readonly" && mode !== "readwrite") { + dart.throw(new core.ArgumentError.new(mode)); + } + let storeNames_1 = html_common.convertDartToNative_StringArray(storeNames); + return this[S._transaction](storeNames_1, mode); + } + [S.$transactionStores](storeNames, mode) { + if (storeNames == null) dart.nullFailed(I[145], 348, 47, "storeNames"); + if (mode == null) dart.nullFailed(I[145], 348, 66, "mode"); + if (mode !== "readonly" && mode !== "readwrite") { + dart.throw(new core.ArgumentError.new(mode)); + } + return this[S._transaction](storeNames, mode); + } + [S._transaction](...args) { + return this.transaction.apply(this, args); + } + get [$name]() { + return this.name; + } + get [S.$objectStoreNames]() { + return this.objectStoreNames; + } + get [S.$version]() { + return this.version; + } + [S.$close](...args) { + return this.close.apply(this, args); + } + [S._createObjectStore](name, options = null) { + if (name == null) dart.nullFailed(I[145], 411, 41, "name"); + if (options != null) { + let options_1 = html_common.convertDartToNative_Dictionary(options); + return this[S._createObjectStore_1](name, options_1); + } + return this[S._createObjectStore_2](name); + } + [S._createObjectStore_1](...args) { + return this.createObjectStore.apply(this, args); + } + [S._createObjectStore_2](...args) { + return this.createObjectStore.apply(this, args); + } + [S.$deleteObjectStore](...args) { + return this.deleteObjectStore.apply(this, args); + } + get [S.$onAbort]() { + return indexed_db.Database.abortEvent.forTarget(this); + } + get [S.$onClose]() { + return indexed_db.Database.closeEvent.forTarget(this); + } + get [S.$onError]() { + return indexed_db.Database.errorEvent.forTarget(this); + } + get [S.$onVersionChange]() { + return indexed_db.Database.versionChangeEvent.forTarget(this); + } + }; + dart.addTypeTests(indexed_db.Database); + dart.addTypeCaches(indexed_db.Database); + dart.setMethodSignature(indexed_db.Database, () => ({ + __proto__: dart.getMethods(indexed_db.Database.__proto__), + [S.$createObjectStore]: dart.fnType(indexed_db.ObjectStore, [core.String], {autoIncrement: dart.nullable(core.bool), keyPath: dart.dynamic}, {}), + [S.$transaction]: dart.fnType(indexed_db.Transaction, [dart.dynamic, core.String]), + [S.$transactionStore]: dart.fnType(indexed_db.Transaction, [core.String, core.String]), + [S.$transactionList]: dart.fnType(indexed_db.Transaction, [core.List$(core.String), core.String]), + [S.$transactionStores]: dart.fnType(indexed_db.Transaction, [html$.DomStringList, core.String]), + [S._transaction]: dart.fnType(indexed_db.Transaction, [dart.dynamic, dart.dynamic]), + [S.$close]: dart.fnType(dart.void, []), + [S._createObjectStore]: dart.fnType(indexed_db.ObjectStore, [core.String], [dart.nullable(core.Map)]), + [S._createObjectStore_1]: dart.fnType(indexed_db.ObjectStore, [dart.dynamic, dart.dynamic]), + [S._createObjectStore_2]: dart.fnType(indexed_db.ObjectStore, [dart.dynamic]), + [S.$deleteObjectStore]: dart.fnType(dart.void, [core.String]) + })); + dart.setGetterSignature(indexed_db.Database, () => ({ + __proto__: dart.getGetters(indexed_db.Database.__proto__), + [$name]: dart.nullable(core.String), + [S.$objectStoreNames]: dart.nullable(core.List$(core.String)), + [S.$version]: dart.nullable(core.int), + [S.$onAbort]: async.Stream$(html$.Event), + [S.$onClose]: async.Stream$(html$.Event), + [S.$onError]: async.Stream$(html$.Event), + [S.$onVersionChange]: async.Stream$(indexed_db.VersionChangeEvent) + })); + dart.setLibraryUri(indexed_db.Database, I[146]); + dart.defineLazy(indexed_db.Database, { + /*indexed_db.Database.abortEvent*/get abortEvent() { + return C[214] || CT.C214; + }, + /*indexed_db.Database.closeEvent*/get closeEvent() { + return C[215] || CT.C215; + }, + /*indexed_db.Database.errorEvent*/get errorEvent() { + return C[216] || CT.C216; + }, + /*indexed_db.Database.versionChangeEvent*/get versionChangeEvent() { + return C[217] || CT.C217; + } + }, false); + dart.registerExtension("IDBDatabase", indexed_db.Database); + indexed_db.IdbFactory = class IdbFactory extends _interceptors.Interceptor { + static get supported() { + return !!(window.indexedDB || window.webkitIndexedDB || window.mozIndexedDB); + } + [S.$open](name, opts) { + if (name == null) dart.nullFailed(I[145], 467, 32, "name"); + let version = opts && 'version' in opts ? opts.version : null; + let onUpgradeNeeded = opts && 'onUpgradeNeeded' in opts ? opts.onUpgradeNeeded : null; + let onBlocked = opts && 'onBlocked' in opts ? opts.onBlocked : null; + if (version == null !== (onUpgradeNeeded == null)) { + return T$0.FutureOfDatabase().error(new core.ArgumentError.new("version and onUpgradeNeeded must be specified together")); + } + try { + let request = null; + if (version != null) { + request = this[S._open](name, version); + } else { + request = this[S._open](name); + } + if (onUpgradeNeeded != null) { + request[S.$onUpgradeNeeded].listen(onUpgradeNeeded); + } + if (onBlocked != null) { + request[S.$onBlocked].listen(onBlocked); + } + return indexed_db._completeRequest(indexed_db.Database, request); + } catch (e$) { + let e = dart.getThrown(e$); + let stacktrace = dart.stackTrace(e$); + if (core.Object.is(e)) { + return T$0.FutureOfDatabase().error(e, stacktrace); + } else + throw e$; + } + } + [S.$deleteDatabase](name, opts) { + if (name == null) dart.nullFailed(I[145], 495, 44, "name"); + let onBlocked = opts && 'onBlocked' in opts ? opts.onBlocked : null; + try { + let request = this[S._deleteDatabase](name); + if (onBlocked != null) { + request[S.$onBlocked].listen(onBlocked); + } + let completer = T$0.CompleterOfIdbFactory().sync(); + request[S.$onSuccess].listen(dart.fn(e => { + if (e == null) dart.nullFailed(I[145], 503, 33, "e"); + completer.complete(this); + }, T$0.EventTovoid())); + request[S.$onError].listen(dart.bind(completer, 'completeError')); + return completer.future; + } catch (e$) { + let e = dart.getThrown(e$); + let stacktrace = dart.stackTrace(e$); + if (core.Object.is(e)) { + return T$0.FutureOfIdbFactory().error(e, stacktrace); + } else + throw e$; + } + } + get [S.$supportsDatabaseNames]() { + return dart.test(indexed_db.IdbFactory.supported) && !!(this.getDatabaseNames || this.webkitGetDatabaseNames); + } + [S.$cmp](...args) { + return this.cmp.apply(this, args); + } + [S._deleteDatabase](...args) { + return this.deleteDatabase.apply(this, args); + } + [S._open](...args) { + return this.open.apply(this, args); + } + }; + dart.addTypeTests(indexed_db.IdbFactory); + dart.addTypeCaches(indexed_db.IdbFactory); + dart.setMethodSignature(indexed_db.IdbFactory, () => ({ + __proto__: dart.getMethods(indexed_db.IdbFactory.__proto__), + [S.$open]: dart.fnType(async.Future$(indexed_db.Database), [core.String], {onBlocked: dart.nullable(dart.fnType(dart.void, [html$.Event])), onUpgradeNeeded: dart.nullable(dart.fnType(dart.void, [indexed_db.VersionChangeEvent])), version: dart.nullable(core.int)}, {}), + [S.$deleteDatabase]: dart.fnType(async.Future$(indexed_db.IdbFactory), [core.String], {onBlocked: dart.nullable(dart.fnType(dart.void, [html$.Event]))}, {}), + [S.$cmp]: dart.fnType(core.int, [core.Object, core.Object]), + [S._deleteDatabase]: dart.fnType(indexed_db.OpenDBRequest, [core.String]), + [S._open]: dart.fnType(indexed_db.OpenDBRequest, [core.String], [dart.nullable(core.int)]) + })); + dart.setGetterSignature(indexed_db.IdbFactory, () => ({ + __proto__: dart.getGetters(indexed_db.IdbFactory.__proto__), + [S.$supportsDatabaseNames]: core.bool + })); + dart.setLibraryUri(indexed_db.IdbFactory, I[146]); + dart.registerExtension("IDBFactory", indexed_db.IdbFactory); + indexed_db.Index = class Index extends _interceptors.Interceptor { + [S.$count](key_OR_range = null) { + try { + let request = this[S._count$2](key_OR_range); + return indexed_db._completeRequest(core.int, request); + } catch (e$) { + let e = dart.getThrown(e$); + let stacktrace = dart.stackTrace(e$); + if (core.Object.is(e)) { + return T$0.FutureOfint().error(e, stacktrace); + } else + throw e$; + } + } + [S.$get](key) { + try { + let request = this[S._get](core.Object.as(key)); + return indexed_db._completeRequest(dart.dynamic, request); + } catch (e$) { + let e = dart.getThrown(e$); + let stacktrace = dart.stackTrace(e$); + if (core.Object.is(e)) { + return async.Future.error(e, stacktrace); + } else + throw e$; + } + } + [S.$getKey](key) { + try { + let request = this[S._getKey](core.Object.as(key)); + return indexed_db._completeRequest(dart.dynamic, request); + } catch (e$) { + let e = dart.getThrown(e$); + let stacktrace = dart.stackTrace(e$); + if (core.Object.is(e)) { + return async.Future.error(e, stacktrace); + } else + throw e$; + } + } + [S.$openCursor](opts) { + let key = opts && 'key' in opts ? opts.key : null; + let range = opts && 'range' in opts ? opts.range : null; + let direction = opts && 'direction' in opts ? opts.direction : null; + let autoAdvance = opts && 'autoAdvance' in opts ? opts.autoAdvance : null; + let key_OR_range = null; + if (key != null) { + if (range != null) { + dart.throw(new core.ArgumentError.new("Cannot specify both key and range.")); + } + key_OR_range = key; + } else { + key_OR_range = range; + } + let request = null; + if (direction == null) { + request = this[S._openCursor](key_OR_range, "next"); + } else { + request = this[S._openCursor](key_OR_range, direction); + } + return indexed_db.ObjectStore._cursorStreamFromResult(indexed_db.CursorWithValue, indexed_db.Request.as(request), autoAdvance); + } + [S.$openKeyCursor](opts) { + let key = opts && 'key' in opts ? opts.key : null; + let range = opts && 'range' in opts ? opts.range : null; + let direction = opts && 'direction' in opts ? opts.direction : null; + let autoAdvance = opts && 'autoAdvance' in opts ? opts.autoAdvance : null; + let key_OR_range = null; + if (key != null) { + if (range != null) { + dart.throw(new core.ArgumentError.new("Cannot specify both key and range.")); + } + key_OR_range = key; + } else { + key_OR_range = range; + } + let request = null; + if (direction == null) { + request = this[S._openKeyCursor](key_OR_range, "next"); + } else { + request = this[S._openKeyCursor](key_OR_range, direction); + } + return indexed_db.ObjectStore._cursorStreamFromResult(indexed_db.Cursor, indexed_db.Request.as(request), autoAdvance); + } + get [S.$keyPath]() { + return this.keyPath; + } + get [S.$multiEntry]() { + return this.multiEntry; + } + get [$name]() { + return this.name; + } + set [$name](value) { + this.name = value; + } + get [S.$objectStore]() { + return this.objectStore; + } + get [S.$unique]() { + return this.unique; + } + [S._count$2](...args) { + return this.count.apply(this, args); + } + [S._get](...args) { + return this.get.apply(this, args); + } + [S.$getAll](...args) { + return this.getAll.apply(this, args); + } + [S.$getAllKeys](...args) { + return this.getAllKeys.apply(this, args); + } + [S._getKey](...args) { + return this.getKey.apply(this, args); + } + [S._openCursor](...args) { + return this.openCursor.apply(this, args); + } + [S._openKeyCursor](...args) { + return this.openKeyCursor.apply(this, args); + } + }; + dart.addTypeTests(indexed_db.Index); + dart.addTypeCaches(indexed_db.Index); + dart.setMethodSignature(indexed_db.Index, () => ({ + __proto__: dart.getMethods(indexed_db.Index.__proto__), + [S.$count]: dart.fnType(async.Future$(core.int), [], [dart.dynamic]), + [S.$get]: dart.fnType(async.Future, [dart.dynamic]), + [S.$getKey]: dart.fnType(async.Future, [dart.dynamic]), + [S.$openCursor]: dart.fnType(async.Stream$(indexed_db.CursorWithValue), [], {autoAdvance: dart.nullable(core.bool), direction: dart.nullable(core.String), key: dart.dynamic, range: dart.nullable(indexed_db.KeyRange)}, {}), + [S.$openKeyCursor]: dart.fnType(async.Stream$(indexed_db.Cursor), [], {autoAdvance: dart.nullable(core.bool), direction: dart.nullable(core.String), key: dart.dynamic, range: dart.nullable(indexed_db.KeyRange)}, {}), + [S._count$2]: dart.fnType(indexed_db.Request, [dart.nullable(core.Object)]), + [S._get]: dart.fnType(indexed_db.Request, [core.Object]), + [S.$getAll]: dart.fnType(indexed_db.Request, [dart.nullable(core.Object)], [dart.nullable(core.int)]), + [S.$getAllKeys]: dart.fnType(indexed_db.Request, [dart.nullable(core.Object)], [dart.nullable(core.int)]), + [S._getKey]: dart.fnType(indexed_db.Request, [core.Object]), + [S._openCursor]: dart.fnType(indexed_db.Request, [dart.nullable(core.Object)], [dart.nullable(core.String)]), + [S._openKeyCursor]: dart.fnType(indexed_db.Request, [dart.nullable(core.Object)], [dart.nullable(core.String)]) + })); + dart.setGetterSignature(indexed_db.Index, () => ({ + __proto__: dart.getGetters(indexed_db.Index.__proto__), + [S.$keyPath]: dart.nullable(core.Object), + [S.$multiEntry]: dart.nullable(core.bool), + [$name]: dart.nullable(core.String), + [S.$objectStore]: dart.nullable(indexed_db.ObjectStore), + [S.$unique]: dart.nullable(core.bool) + })); + dart.setSetterSignature(indexed_db.Index, () => ({ + __proto__: dart.getSetters(indexed_db.Index.__proto__), + [$name]: dart.nullable(core.String) + })); + dart.setLibraryUri(indexed_db.Index, I[146]); + dart.registerExtension("IDBIndex", indexed_db.Index); + indexed_db.KeyRange = class KeyRange extends _interceptors.Interceptor { + static only(value) { + return indexed_db._KeyRangeFactoryProvider.createKeyRange_only(value); + } + static lowerBound(bound, open = false) { + if (open == null) dart.nullFailed(I[145], 707, 52, "open"); + return indexed_db._KeyRangeFactoryProvider.createKeyRange_lowerBound(bound, open); + } + static upperBound(bound, open = false) { + if (open == null) dart.nullFailed(I[145], 710, 52, "open"); + return indexed_db._KeyRangeFactoryProvider.createKeyRange_upperBound(bound, open); + } + static bound(lower, upper, lowerOpen = false, upperOpen = false) { + if (lowerOpen == null) dart.nullFailed(I[145], 714, 17, "lowerOpen"); + if (upperOpen == null) dart.nullFailed(I[145], 714, 41, "upperOpen"); + return indexed_db._KeyRangeFactoryProvider.createKeyRange_bound(lower, upper, lowerOpen, upperOpen); + } + get [S.$lower]() { + return this.lower; + } + get [S.$lowerOpen]() { + return this.lowerOpen; + } + get [S.$upper]() { + return this.upper; + } + get [S.$upperOpen]() { + return this.upperOpen; + } + [S.$includes](...args) { + return this.includes.apply(this, args); + } + }; + dart.addTypeTests(indexed_db.KeyRange); + dart.addTypeCaches(indexed_db.KeyRange); + dart.setMethodSignature(indexed_db.KeyRange, () => ({ + __proto__: dart.getMethods(indexed_db.KeyRange.__proto__), + [S.$includes]: dart.fnType(core.bool, [core.Object]) + })); + dart.setGetterSignature(indexed_db.KeyRange, () => ({ + __proto__: dart.getGetters(indexed_db.KeyRange.__proto__), + [S.$lower]: dart.nullable(core.Object), + [S.$lowerOpen]: dart.nullable(core.bool), + [S.$upper]: dart.nullable(core.Object), + [S.$upperOpen]: dart.nullable(core.bool) + })); + dart.setLibraryUri(indexed_db.KeyRange, I[146]); + dart.registerExtension("IDBKeyRange", indexed_db.KeyRange); + indexed_db.ObjectStore = class ObjectStore extends _interceptors.Interceptor { + [$add](value, key = null) { + try { + let request = null; + if (key != null) { + request = this[S._add$3](value, key); + } else { + request = this[S._add$3](value); + } + return indexed_db._completeRequest(dart.dynamic, indexed_db.Request.as(request)); + } catch (e$) { + let e = dart.getThrown(e$); + let stacktrace = dart.stackTrace(e$); + if (core.Object.is(e)) { + return async.Future.error(e, stacktrace); + } else + throw e$; + } + } + [$clear]() { + try { + return indexed_db._completeRequest(dart.dynamic, this[S._clear$2]()); + } catch (e$) { + let e = dart.getThrown(e$); + let stacktrace = dart.stackTrace(e$); + if (core.Object.is(e)) { + return async.Future.error(e, stacktrace); + } else + throw e$; + } + } + [S.$delete](key_OR_keyRange) { + try { + return indexed_db._completeRequest(dart.dynamic, this[S._delete$1](core.Object.as(key_OR_keyRange))); + } catch (e$) { + let e = dart.getThrown(e$); + let stacktrace = dart.stackTrace(e$); + if (core.Object.is(e)) { + return async.Future.error(e, stacktrace); + } else + throw e$; + } + } + [S.$count](key_OR_range = null) { + try { + let request = this[S._count$2](key_OR_range); + return indexed_db._completeRequest(core.int, request); + } catch (e$) { + let e = dart.getThrown(e$); + let stacktrace = dart.stackTrace(e$); + if (core.Object.is(e)) { + return T$0.FutureOfint().error(e, stacktrace); + } else + throw e$; + } + } + [S.$put](value, key = null) { + try { + let request = null; + if (key != null) { + request = this[S._put](value, key); + } else { + request = this[S._put](value); + } + return indexed_db._completeRequest(dart.dynamic, indexed_db.Request.as(request)); + } catch (e$) { + let e = dart.getThrown(e$); + let stacktrace = dart.stackTrace(e$); + if (core.Object.is(e)) { + return async.Future.error(e, stacktrace); + } else + throw e$; + } + } + [S.$getObject](key) { + try { + let request = this[S._get](core.Object.as(key)); + return indexed_db._completeRequest(dart.dynamic, request); + } catch (e$) { + let e = dart.getThrown(e$); + let stacktrace = dart.stackTrace(e$); + if (core.Object.is(e)) { + return async.Future.error(e, stacktrace); + } else + throw e$; + } + } + [S.$openCursor](opts) { + let key = opts && 'key' in opts ? opts.key : null; + let range = opts && 'range' in opts ? opts.range : null; + let direction = opts && 'direction' in opts ? opts.direction : null; + let autoAdvance = opts && 'autoAdvance' in opts ? opts.autoAdvance : null; + let key_OR_range = null; + if (key != null) { + if (range != null) { + dart.throw(new core.ArgumentError.new("Cannot specify both key and range.")); + } + key_OR_range = key; + } else { + key_OR_range = range; + } + let request = null; + if (direction == null) { + request = this[S._openCursor](key_OR_range); + } else { + request = this[S._openCursor](key_OR_range, direction); + } + return indexed_db.ObjectStore._cursorStreamFromResult(indexed_db.CursorWithValue, indexed_db.Request.as(request), autoAdvance); + } + [S.$createIndex](name, keyPath, opts) { + if (name == null) dart.nullFailed(I[145], 861, 28, "name"); + let unique = opts && 'unique' in opts ? opts.unique : null; + let multiEntry = opts && 'multiEntry' in opts ? opts.multiEntry : null; + let options = new _js_helper.LinkedMap.new(); + if (unique != null) { + options[$_set]("unique", unique); + } + if (multiEntry != null) { + options[$_set]("multiEntry", multiEntry); + } + return this[S._createIndex](name, core.Object.as(keyPath), options); + } + get [S.$autoIncrement]() { + return this.autoIncrement; + } + get [S.$indexNames]() { + return this.indexNames; + } + get [S.$keyPath]() { + return this.keyPath; + } + get [$name]() { + return this.name; + } + set [$name](value) { + this.name = value; + } + get [S.$transaction]() { + return this.transaction; + } + [S._add$3](value, key = null) { + if (key != null) { + let value_1 = html_common.convertDartToNative_SerializedScriptValue(value); + let key_2 = html_common.convertDartToNative_SerializedScriptValue(key); + return this[S._add_1](value_1, key_2); + } + let value_1 = html_common.convertDartToNative_SerializedScriptValue(value); + return this[S._add_2](value_1); + } + [S._add_1](...args) { + return this.add.apply(this, args); + } + [S._add_2](...args) { + return this.add.apply(this, args); + } + [S._clear$2](...args) { + return this.clear.apply(this, args); + } + [S._count$2](...args) { + return this.count.apply(this, args); + } + [S._createIndex](name, keyPath, options = null) { + if (name == null) dart.nullFailed(I[145], 923, 29, "name"); + if (keyPath == null) dart.nullFailed(I[145], 923, 42, "keyPath"); + if (options != null) { + let options_1 = html_common.convertDartToNative_Dictionary(options); + return this[S._createIndex_1](name, keyPath, options_1); + } + return this[S._createIndex_2](name, keyPath); + } + [S._createIndex_1](...args) { + return this.createIndex.apply(this, args); + } + [S._createIndex_2](...args) { + return this.createIndex.apply(this, args); + } + [S._delete$1](...args) { + return this.delete.apply(this, args); + } + [S.$deleteIndex](...args) { + return this.deleteIndex.apply(this, args); + } + [S._get](...args) { + return this.get.apply(this, args); + } + [S.$getAll](...args) { + return this.getAll.apply(this, args); + } + [S.$getAllKeys](...args) { + return this.getAllKeys.apply(this, args); + } + [S.$getKey](...args) { + return this.getKey.apply(this, args); + } + [S.$index](...args) { + return this.index.apply(this, args); + } + [S._openCursor](...args) { + return this.openCursor.apply(this, args); + } + [S.$openKeyCursor](...args) { + return this.openKeyCursor.apply(this, args); + } + [S._put](value, key = null) { + if (key != null) { + let value_1 = html_common.convertDartToNative_SerializedScriptValue(value); + let key_2 = html_common.convertDartToNative_SerializedScriptValue(key); + return this[S._put_1](value_1, key_2); + } + let value_1 = html_common.convertDartToNative_SerializedScriptValue(value); + return this[S._put_2](value_1); + } + [S._put_1](...args) { + return this.put.apply(this, args); + } + [S._put_2](...args) { + return this.put.apply(this, args); + } + static _cursorStreamFromResult(T, request, autoAdvance) { + if (request == null) dart.nullFailed(I[145], 991, 15, "request"); + let controller = async.StreamController$(T).new({sync: true}); + request[S.$onError].listen(dart.bind(controller, 'addError')); + request[S.$onSuccess].listen(dart.fn(e => { + if (e == null) dart.nullFailed(I[145], 1000, 31, "e"); + let cursor = dart.nullable(T).as(request[S.$result]); + if (cursor == null) { + controller.close(); + } else { + controller.add(cursor); + if (autoAdvance === true && dart.test(controller.hasListener)) { + cursor[S.$next](); + } + } + }, T$0.EventTovoid())); + return controller.stream; + } + }; + dart.addTypeTests(indexed_db.ObjectStore); + dart.addTypeCaches(indexed_db.ObjectStore); + dart.setMethodSignature(indexed_db.ObjectStore, () => ({ + __proto__: dart.getMethods(indexed_db.ObjectStore.__proto__), + [$add]: dart.fnType(async.Future, [dart.dynamic], [dart.dynamic]), + [$clear]: dart.fnType(async.Future, []), + [S.$delete]: dart.fnType(async.Future, [dart.dynamic]), + [S.$count]: dart.fnType(async.Future$(core.int), [], [dart.dynamic]), + [S.$put]: dart.fnType(async.Future, [dart.dynamic], [dart.dynamic]), + [S.$getObject]: dart.fnType(async.Future, [dart.dynamic]), + [S.$openCursor]: dart.fnType(async.Stream$(indexed_db.CursorWithValue), [], {autoAdvance: dart.nullable(core.bool), direction: dart.nullable(core.String), key: dart.dynamic, range: dart.nullable(indexed_db.KeyRange)}, {}), + [S.$createIndex]: dart.fnType(indexed_db.Index, [core.String, dart.dynamic], {multiEntry: dart.nullable(core.bool), unique: dart.nullable(core.bool)}, {}), + [S._add$3]: dart.fnType(indexed_db.Request, [dart.dynamic], [dart.dynamic]), + [S._add_1]: dart.fnType(indexed_db.Request, [dart.dynamic, dart.dynamic]), + [S._add_2]: dart.fnType(indexed_db.Request, [dart.dynamic]), + [S._clear$2]: dart.fnType(indexed_db.Request, []), + [S._count$2]: dart.fnType(indexed_db.Request, [dart.nullable(core.Object)]), + [S._createIndex]: dart.fnType(indexed_db.Index, [core.String, core.Object], [dart.nullable(core.Map)]), + [S._createIndex_1]: dart.fnType(indexed_db.Index, [dart.dynamic, dart.dynamic, dart.dynamic]), + [S._createIndex_2]: dart.fnType(indexed_db.Index, [dart.dynamic, dart.dynamic]), + [S._delete$1]: dart.fnType(indexed_db.Request, [core.Object]), + [S.$deleteIndex]: dart.fnType(dart.void, [core.String]), + [S._get]: dart.fnType(indexed_db.Request, [core.Object]), + [S.$getAll]: dart.fnType(indexed_db.Request, [dart.nullable(core.Object)], [dart.nullable(core.int)]), + [S.$getAllKeys]: dart.fnType(indexed_db.Request, [dart.nullable(core.Object)], [dart.nullable(core.int)]), + [S.$getKey]: dart.fnType(indexed_db.Request, [core.Object]), + [S.$index]: dart.fnType(indexed_db.Index, [core.String]), + [S._openCursor]: dart.fnType(indexed_db.Request, [dart.nullable(core.Object)], [dart.nullable(core.String)]), + [S.$openKeyCursor]: dart.fnType(indexed_db.Request, [dart.nullable(core.Object)], [dart.nullable(core.String)]), + [S._put]: dart.fnType(indexed_db.Request, [dart.dynamic], [dart.dynamic]), + [S._put_1]: dart.fnType(indexed_db.Request, [dart.dynamic, dart.dynamic]), + [S._put_2]: dart.fnType(indexed_db.Request, [dart.dynamic]) + })); + dart.setGetterSignature(indexed_db.ObjectStore, () => ({ + __proto__: dart.getGetters(indexed_db.ObjectStore.__proto__), + [S.$autoIncrement]: dart.nullable(core.bool), + [S.$indexNames]: dart.nullable(core.List$(core.String)), + [S.$keyPath]: dart.nullable(core.Object), + [$name]: dart.nullable(core.String), + [S.$transaction]: dart.nullable(indexed_db.Transaction) + })); + dart.setSetterSignature(indexed_db.ObjectStore, () => ({ + __proto__: dart.getSetters(indexed_db.ObjectStore.__proto__), + [$name]: dart.nullable(core.String) + })); + dart.setLibraryUri(indexed_db.ObjectStore, I[146]); + dart.registerExtension("IDBObjectStore", indexed_db.ObjectStore); + indexed_db.Observation = class Observation extends _interceptors.Interceptor { + get [S.$key]() { + return this.key; + } + get [S.$type]() { + return this.type; + } + get [S.$value]() { + return this.value; + } + }; + dart.addTypeTests(indexed_db.Observation); + dart.addTypeCaches(indexed_db.Observation); + dart.setGetterSignature(indexed_db.Observation, () => ({ + __proto__: dart.getGetters(indexed_db.Observation.__proto__), + [S.$key]: dart.nullable(core.Object), + [S.$type]: dart.nullable(core.String), + [S.$value]: dart.nullable(core.Object) + })); + dart.setLibraryUri(indexed_db.Observation, I[146]); + dart.registerExtension("IDBObservation", indexed_db.Observation); + indexed_db.Observer = class Observer extends _interceptors.Interceptor { + static new(callback) { + if (callback == null) dart.nullFailed(I[145], 1042, 37, "callback"); + let callback_1 = _js_helper.convertDartClosureToJS(T$0.ObserverChangesTovoid(), callback, 1); + return indexed_db.Observer._create_1(callback_1); + } + static _create_1(callback) { + return new IDBObserver(callback); + } + [S.$observe](db, tx, options) { + if (db == null) dart.nullFailed(I[145], 1049, 25, "db"); + if (tx == null) dart.nullFailed(I[145], 1049, 41, "tx"); + if (options == null) dart.nullFailed(I[145], 1049, 49, "options"); + let options_1 = html_common.convertDartToNative_Dictionary(options); + this[S._observe_1](db, tx, options_1); + return; + } + [S._observe_1](...args) { + return this.observe.apply(this, args); + } + [S.$unobserve](...args) { + return this.unobserve.apply(this, args); + } + }; + dart.addTypeTests(indexed_db.Observer); + dart.addTypeCaches(indexed_db.Observer); + dart.setMethodSignature(indexed_db.Observer, () => ({ + __proto__: dart.getMethods(indexed_db.Observer.__proto__), + [S.$observe]: dart.fnType(dart.void, [indexed_db.Database, indexed_db.Transaction, core.Map]), + [S._observe_1]: dart.fnType(dart.void, [indexed_db.Database, indexed_db.Transaction, dart.dynamic]), + [S.$unobserve]: dart.fnType(dart.void, [indexed_db.Database]) + })); + dart.setLibraryUri(indexed_db.Observer, I[146]); + dart.registerExtension("IDBObserver", indexed_db.Observer); + indexed_db.ObserverChanges = class ObserverChanges extends _interceptors.Interceptor { + get [S.$database]() { + return this.database; + } + get [S.$records]() { + return this.records; + } + get [S.$transaction]() { + return this.transaction; + } + }; + dart.addTypeTests(indexed_db.ObserverChanges); + dart.addTypeCaches(indexed_db.ObserverChanges); + dart.setGetterSignature(indexed_db.ObserverChanges, () => ({ + __proto__: dart.getGetters(indexed_db.ObserverChanges.__proto__), + [S.$database]: dart.nullable(indexed_db.Database), + [S.$records]: dart.nullable(core.Object), + [S.$transaction]: dart.nullable(indexed_db.Transaction) + })); + dart.setLibraryUri(indexed_db.ObserverChanges, I[146]); + dart.registerExtension("IDBObserverChanges", indexed_db.ObserverChanges); + indexed_db.Request = class Request extends html$.EventTarget { + get [S.$error]() { + return this.error; + } + get [S.$readyState]() { + return this.readyState; + } + get [S.$result]() { + return indexed_db._convertNativeToDart_IDBAny(this[S._get_result]); + } + get [S._get_result]() { + return this.result; + } + get [S.$source]() { + return this.source; + } + get [S.$transaction]() { + return this.transaction; + } + get [S.$onError]() { + return indexed_db.Request.errorEvent.forTarget(this); + } + get [S.$onSuccess]() { + return indexed_db.Request.successEvent.forTarget(this); + } + }; + dart.addTypeTests(indexed_db.Request); + dart.addTypeCaches(indexed_db.Request); + dart.setGetterSignature(indexed_db.Request, () => ({ + __proto__: dart.getGetters(indexed_db.Request.__proto__), + [S.$error]: dart.nullable(html$.DomException), + [S.$readyState]: dart.nullable(core.String), + [S.$result]: dart.dynamic, + [S._get_result]: dart.dynamic, + [S.$source]: dart.nullable(core.Object), + [S.$transaction]: dart.nullable(indexed_db.Transaction), + [S.$onError]: async.Stream$(html$.Event), + [S.$onSuccess]: async.Stream$(html$.Event) + })); + dart.setLibraryUri(indexed_db.Request, I[146]); + dart.defineLazy(indexed_db.Request, { + /*indexed_db.Request.errorEvent*/get errorEvent() { + return C[216] || CT.C216; + }, + /*indexed_db.Request.successEvent*/get successEvent() { + return C[218] || CT.C218; + } + }, false); + dart.registerExtension("IDBRequest", indexed_db.Request); + indexed_db.OpenDBRequest = class OpenDBRequest extends indexed_db.Request { + get [S.$onBlocked]() { + return indexed_db.OpenDBRequest.blockedEvent.forTarget(this); + } + get [S.$onUpgradeNeeded]() { + return indexed_db.OpenDBRequest.upgradeNeededEvent.forTarget(this); + } + }; + dart.addTypeTests(indexed_db.OpenDBRequest); + dart.addTypeCaches(indexed_db.OpenDBRequest); + dart.setGetterSignature(indexed_db.OpenDBRequest, () => ({ + __proto__: dart.getGetters(indexed_db.OpenDBRequest.__proto__), + [S.$onBlocked]: async.Stream$(html$.Event), + [S.$onUpgradeNeeded]: async.Stream$(indexed_db.VersionChangeEvent) + })); + dart.setLibraryUri(indexed_db.OpenDBRequest, I[146]); + dart.defineLazy(indexed_db.OpenDBRequest, { + /*indexed_db.OpenDBRequest.blockedEvent*/get blockedEvent() { + return C[219] || CT.C219; + }, + /*indexed_db.OpenDBRequest.upgradeNeededEvent*/get upgradeNeededEvent() { + return C[220] || CT.C220; + } + }, false); + dart.registerExtension("IDBOpenDBRequest", indexed_db.OpenDBRequest); + dart.registerExtension("IDBVersionChangeRequest", indexed_db.OpenDBRequest); + indexed_db.Transaction = class Transaction extends html$.EventTarget { + get [S.$completed]() { + let completer = T$0.CompleterOfDatabase().new(); + this[S.$onComplete].first.then(core.Null, dart.fn(_ => { + if (_ == null) dart.nullFailed(I[145], 1181, 33, "_"); + completer.complete(this.db); + }, T$0.EventToNull())); + this[S.$onError].first.then(core.Null, dart.fn(e => { + if (e == null) dart.nullFailed(I[145], 1185, 30, "e"); + completer.completeError(e); + }, T$0.EventToNull())); + this[S.$onAbort].first.then(core.Null, dart.fn(e => { + if (e == null) dart.nullFailed(I[145], 1189, 30, "e"); + if (!dart.test(completer.isCompleted)) { + completer.completeError(e); + } + }, T$0.EventToNull())); + return completer.future; + } + get [S.$db]() { + return this.db; + } + get [S.$error]() { + return this.error; + } + get [S.$mode]() { + return this.mode; + } + get [S.$objectStoreNames]() { + return this.objectStoreNames; + } + [S.$abort](...args) { + return this.abort.apply(this, args); + } + [S.$objectStore](...args) { + return this.objectStore.apply(this, args); + } + get [S.$onAbort]() { + return indexed_db.Transaction.abortEvent.forTarget(this); + } + get [S.$onComplete]() { + return indexed_db.Transaction.completeEvent.forTarget(this); + } + get [S.$onError]() { + return indexed_db.Transaction.errorEvent.forTarget(this); + } + }; + dart.addTypeTests(indexed_db.Transaction); + dart.addTypeCaches(indexed_db.Transaction); + dart.setMethodSignature(indexed_db.Transaction, () => ({ + __proto__: dart.getMethods(indexed_db.Transaction.__proto__), + [S.$abort]: dart.fnType(dart.void, []), + [S.$objectStore]: dart.fnType(indexed_db.ObjectStore, [core.String]) + })); + dart.setGetterSignature(indexed_db.Transaction, () => ({ + __proto__: dart.getGetters(indexed_db.Transaction.__proto__), + [S.$completed]: async.Future$(indexed_db.Database), + [S.$db]: dart.nullable(indexed_db.Database), + [S.$error]: dart.nullable(html$.DomException), + [S.$mode]: dart.nullable(core.String), + [S.$objectStoreNames]: dart.nullable(core.List$(core.String)), + [S.$onAbort]: async.Stream$(html$.Event), + [S.$onComplete]: async.Stream$(html$.Event), + [S.$onError]: async.Stream$(html$.Event) + })); + dart.setLibraryUri(indexed_db.Transaction, I[146]); + dart.defineLazy(indexed_db.Transaction, { + /*indexed_db.Transaction.abortEvent*/get abortEvent() { + return C[214] || CT.C214; + }, + /*indexed_db.Transaction.completeEvent*/get completeEvent() { + return C[221] || CT.C221; + }, + /*indexed_db.Transaction.errorEvent*/get errorEvent() { + return C[216] || CT.C216; + } + }, false); + dart.registerExtension("IDBTransaction", indexed_db.Transaction); + html$.Event = class Event$ extends _interceptors.Interceptor { + static new(type, opts) { + if (type == null) dart.nullFailed(I[147], 15487, 24, "type"); + let canBubble = opts && 'canBubble' in opts ? opts.canBubble : true; + if (canBubble == null) dart.nullFailed(I[147], 15487, 36, "canBubble"); + let cancelable = opts && 'cancelable' in opts ? opts.cancelable : true; + if (cancelable == null) dart.nullFailed(I[147], 15487, 58, "cancelable"); + return html$.Event.eventType("Event", type, {canBubble: canBubble, cancelable: cancelable}); + } + static eventType(type, name, opts) { + if (type == null) dart.nullFailed(I[147], 15500, 34, "type"); + if (name == null) dart.nullFailed(I[147], 15500, 47, "name"); + let canBubble = opts && 'canBubble' in opts ? opts.canBubble : true; + if (canBubble == null) dart.nullFailed(I[147], 15501, 13, "canBubble"); + let cancelable = opts && 'cancelable' in opts ? opts.cancelable : true; + if (cancelable == null) dart.nullFailed(I[147], 15501, 35, "cancelable"); + let e = html$.document[S._createEvent](type); + e[S._initEvent](name, canBubble, cancelable); + return e; + } + get [S._selector]() { + return this._selector; + } + set [S._selector](value) { + this._selector = value; + } + get [S.$matchingTarget]() { + if (this[S._selector] == null) { + dart.throw(new core.UnsupportedError.new("Cannot call matchingTarget if this Event did" + " not arise as a result of event delegation.")); + } + let currentTarget = T$0.ElementN().as(this[S.$currentTarget]); + let target = T$0.ElementN().as(this[S.$target]); + let matchedTarget = null; + do { + if (dart.test(dart.nullCheck(target)[S.$matches](dart.nullCheck(this[S._selector])))) return target; + target = target[S.$parent]; + } while (target != null && !dart.equals(target, dart.nullCheck(currentTarget)[S.$parent])); + dart.throw(new core.StateError.new("No selector matched for populating matchedTarget.")); + } + get [S.$path]() { + return !!this.composedPath ? this.composedPath() : T$0.JSArrayOfEventTarget().of([]); + } + static __(type, eventInitDict = null) { + if (type == null) dart.nullFailed(I[147], 15534, 26, "type"); + if (eventInitDict != null) { + let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); + return html$.Event._create_1(type, eventInitDict_1); + } + return html$.Event._create_2(type); + } + static _create_1(type, eventInitDict) { + return new Event(type, eventInitDict); + } + static _create_2(type) { + return new Event(type); + } + get [S.$bubbles]() { + return this.bubbles; + } + get [S.$cancelable]() { + return this.cancelable; + } + get [S.$composed]() { + return this.composed; + } + get [S.$currentTarget]() { + return html$._convertNativeToDart_EventTarget(this[S._get_currentTarget]); + } + get [S._get_currentTarget]() { + return this.currentTarget; + } + get [S.$defaultPrevented]() { + return this.defaultPrevented; + } + get [S.$eventPhase]() { + return this.eventPhase; + } + get [S.$isTrusted]() { + return this.isTrusted; + } + get [S.$target]() { + return html$._convertNativeToDart_EventTarget(this[S._get_target]); + } + get [S._get_target]() { + return this.target; + } + get [S.$timeStamp]() { + return this.timeStamp; + } + get [S.$type]() { + return this.type; + } + [S.$composedPath](...args) { + return this.composedPath.apply(this, args); + } + [S._initEvent](...args) { + return this.initEvent.apply(this, args); + } + [S.$preventDefault](...args) { + return this.preventDefault.apply(this, args); + } + [S.$stopImmediatePropagation](...args) { + return this.stopImmediatePropagation.apply(this, args); + } + [S.$stopPropagation](...args) { + return this.stopPropagation.apply(this, args); + } + }; + dart.addTypeTests(html$.Event); + dart.addTypeCaches(html$.Event); + dart.setMethodSignature(html$.Event, () => ({ + __proto__: dart.getMethods(html$.Event.__proto__), + [S.$composedPath]: dart.fnType(core.List$(html$.EventTarget), []), + [S._initEvent]: dart.fnType(dart.void, [core.String], [dart.nullable(core.bool), dart.nullable(core.bool)]), + [S.$preventDefault]: dart.fnType(dart.void, []), + [S.$stopImmediatePropagation]: dart.fnType(dart.void, []), + [S.$stopPropagation]: dart.fnType(dart.void, []) + })); + dart.setGetterSignature(html$.Event, () => ({ + __proto__: dart.getGetters(html$.Event.__proto__), + [S._selector]: dart.nullable(core.String), + [S.$matchingTarget]: html$.Element, + [S.$path]: core.List$(html$.EventTarget), + [S.$bubbles]: dart.nullable(core.bool), + [S.$cancelable]: dart.nullable(core.bool), + [S.$composed]: dart.nullable(core.bool), + [S.$currentTarget]: dart.nullable(html$.EventTarget), + [S._get_currentTarget]: dart.dynamic, + [S.$defaultPrevented]: core.bool, + [S.$eventPhase]: core.int, + [S.$isTrusted]: dart.nullable(core.bool), + [S.$target]: dart.nullable(html$.EventTarget), + [S._get_target]: dart.dynamic, + [S.$timeStamp]: dart.nullable(core.num), + [S.$type]: core.String + })); + dart.setSetterSignature(html$.Event, () => ({ + __proto__: dart.getSetters(html$.Event.__proto__), + [S._selector]: dart.nullable(core.String) + })); + dart.setLibraryUri(html$.Event, I[148]); + dart.defineLazy(html$.Event, { + /*html$.Event.AT_TARGET*/get AT_TARGET() { + return 2; + }, + /*html$.Event.BUBBLING_PHASE*/get BUBBLING_PHASE() { + return 3; + }, + /*html$.Event.CAPTURING_PHASE*/get CAPTURING_PHASE() { + return 1; + } + }, false); + dart.registerExtension("Event", html$.Event); + dart.registerExtension("InputEvent", html$.Event); + dart.registerExtension("SubmitEvent", html$.Event); + indexed_db.VersionChangeEvent = class VersionChangeEvent extends html$.Event { + static new(type, eventInitDict = null) { + if (type == null) dart.nullFailed(I[145], 1266, 37, "type"); + if (eventInitDict != null) { + let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); + return indexed_db.VersionChangeEvent._create_1(type, eventInitDict_1); + } + return indexed_db.VersionChangeEvent._create_2(type); + } + static _create_1(type, eventInitDict) { + return new IDBVersionChangeEvent(type, eventInitDict); + } + static _create_2(type) { + return new IDBVersionChangeEvent(type); + } + get [S.$dataLoss]() { + return this.dataLoss; + } + get [S.$dataLossMessage]() { + return this.dataLossMessage; + } + get [S.$newVersion]() { + return this.newVersion; + } + get [S.$oldVersion]() { + return this.oldVersion; + } + get [S.$target]() { + return this.target; + } + }; + dart.addTypeTests(indexed_db.VersionChangeEvent); + dart.addTypeCaches(indexed_db.VersionChangeEvent); + dart.setGetterSignature(indexed_db.VersionChangeEvent, () => ({ + __proto__: dart.getGetters(indexed_db.VersionChangeEvent.__proto__), + [S.$dataLoss]: dart.nullable(core.String), + [S.$dataLossMessage]: dart.nullable(core.String), + [S.$newVersion]: dart.nullable(core.int), + [S.$oldVersion]: dart.nullable(core.int), + [S.$target]: indexed_db.OpenDBRequest + })); + dart.setLibraryUri(indexed_db.VersionChangeEvent, I[146]); + dart.registerExtension("IDBVersionChangeEvent", indexed_db.VersionChangeEvent); + indexed_db._convertNativeToDart_IDBKey = function _convertNativeToDart_IDBKey(nativeKey) { + function containsDate(object) { + if (dart.test(html_common.isJavaScriptDate(object))) return true; + if (core.List.is(object)) { + for (let i = 0; i < dart.notNull(object[$length]); i = i + 1) { + if (dart.dtest(containsDate(object[$_get](i)))) return true; + } + } + return false; + } + dart.fn(containsDate, T$0.dynamicTobool()); + if (dart.test(containsDate(nativeKey))) { + dart.throw(new core.UnimplementedError.new("Key containing DateTime")); + } + return nativeKey; + }; + indexed_db._convertDartToNative_IDBKey = function _convertDartToNative_IDBKey(dartKey) { + return dartKey; + }; + indexed_db._convertNativeToDart_IDBAny = function _convertNativeToDart_IDBAny(object) { + return html_common.convertNativeToDart_AcceptStructuredClone(object, {mustCopy: false}); + }; + indexed_db._completeRequest = function _completeRequest(T, request) { + if (request == null) dart.nullFailed(I[145], 544, 39, "request"); + let completer = async.Completer$(T).sync(); + request[S.$onSuccess].listen(dart.fn(e => { + if (e == null) dart.nullFailed(I[145], 548, 29, "e"); + let result = T.as(request[S.$result]); + completer.complete(result); + }, T$0.EventTovoid())); + request[S.$onError].listen(dart.bind(completer, 'completeError')); + return completer.future; + }; + dart.defineLazy(indexed_db, { + /*indexed_db._idbKey*/get _idbKey() { + return "JSExtendableArray|=Object|num|String"; + }, + /*indexed_db._annotation_Creates_IDBKey*/get _annotation_Creates_IDBKey() { + return C[222] || CT.C222; + }, + /*indexed_db._annotation_Returns_IDBKey*/get _annotation_Returns_IDBKey() { + return C[223] || CT.C223; + } + }, false); + html$.Node = class Node extends html$.EventTarget { + get [S.$nodes]() { + return new html$._ChildNodeListLazy.new(this); + } + set [S.$nodes](value) { + if (value == null) dart.nullFailed(I[147], 23177, 28, "value"); + let copy = value[$toList](); + this[S.$text] = ""; + for (let node of copy) { + this[S.$append](node); + } + } + [$remove]() { + if (this.parentNode != null) { + let parent = dart.nullCheck(this.parentNode); + parent[S$._removeChild](this); + } + } + [S$.$replaceWith](otherNode) { + if (otherNode == null) dart.nullFailed(I[147], 23202, 25, "otherNode"); + try { + let parent = dart.nullCheck(this.parentNode); + parent[S$._replaceChild](otherNode, this); + } catch (e$) { + let e = dart.getThrown(e$); + if (core.Object.is(e)) { + } else + throw e$; + } + return this; + } + [S$.$insertAllBefore](newNodes, refChild) { + if (newNodes == null) dart.nullFailed(I[147], 23217, 39, "newNodes"); + if (refChild == null) dart.nullFailed(I[147], 23217, 54, "refChild"); + if (html$._ChildNodeListLazy.is(newNodes)) { + let otherList = newNodes; + if (otherList[S$._this] === this) { + dart.throw(new core.ArgumentError.new(newNodes)); + } + for (let i = 0, len = otherList.length; i < dart.notNull(len); i = i + 1) { + this.insertBefore(dart.nullCheck(otherList[S$._this].firstChild), refChild); + } + } else { + for (let node of newNodes) { + this.insertBefore(node, refChild); + } + } + } + [S$._clearChildren]() { + while (this.firstChild != null) { + this[S$._removeChild](dart.nullCheck(this.firstChild)); + } + } + [$toString]() { + let value = this.nodeValue; + return value == null ? super[$toString]() : value; + } + get [S$.$childNodes]() { + return this.childNodes; + } + get [S.$baseUri]() { + return this.baseURI; + } + get [S$.$firstChild]() { + return this.firstChild; + } + get [S$.$isConnected]() { + return this.isConnected; + } + get [S$.$lastChild]() { + return this.lastChild; + } + get [S.$nextNode]() { + return this.nextSibling; + } + get [S$.$nodeName]() { + return this.nodeName; + } + get [S$.$nodeType]() { + return this.nodeType; + } + get [S$.$nodeValue]() { + return this.nodeValue; + } + get [S$.$ownerDocument]() { + return this.ownerDocument; + } + get [S.$parent]() { + return this.parentElement; + } + get [S$.$parentNode]() { + return this.parentNode; + } + get [S$.$previousNode]() { + return this.previousSibling; + } + get [S.$text]() { + return this.textContent; + } + set [S.$text](value) { + this.textContent = value; + } + [S.$append](...args) { + return this.appendChild.apply(this, args); + } + [S$.$clone](...args) { + return this.cloneNode.apply(this, args); + } + [$contains](...args) { + return this.contains.apply(this, args); + } + [S$.$getRootNode](options = null) { + if (options != null) { + let options_1 = html_common.convertDartToNative_Dictionary(options); + return this[S$._getRootNode_1](options_1); + } + return this[S$._getRootNode_2](); + } + [S$._getRootNode_1](...args) { + return this.getRootNode.apply(this, args); + } + [S$._getRootNode_2](...args) { + return this.getRootNode.apply(this, args); + } + [S$.$hasChildNodes](...args) { + return this.hasChildNodes.apply(this, args); + } + [S$.$insertBefore](...args) { + return this.insertBefore.apply(this, args); + } + [S$._removeChild](...args) { + return this.removeChild.apply(this, args); + } + [S$._replaceChild](...args) { + return this.replaceChild.apply(this, args); + } + }; + (html$.Node._created = function() { + html$.Node.__proto__._created.call(this); + ; + }).prototype = html$.Node.prototype; + dart.addTypeTests(html$.Node); + dart.addTypeCaches(html$.Node); + dart.setMethodSignature(html$.Node, () => ({ + __proto__: dart.getMethods(html$.Node.__proto__), + [$remove]: dart.fnType(dart.void, []), + [S$.$replaceWith]: dart.fnType(html$.Node, [html$.Node]), + [S$.$insertAllBefore]: dart.fnType(dart.void, [core.Iterable$(html$.Node), html$.Node]), + [S$._clearChildren]: dart.fnType(dart.void, []), + [S.$append]: dart.fnType(html$.Node, [html$.Node]), + [S$.$clone]: dart.fnType(html$.Node, [dart.nullable(core.bool)]), + [$contains]: dart.fnType(core.bool, [dart.nullable(html$.Node)]), + [S$.$getRootNode]: dart.fnType(html$.Node, [], [dart.nullable(core.Map)]), + [S$._getRootNode_1]: dart.fnType(html$.Node, [dart.dynamic]), + [S$._getRootNode_2]: dart.fnType(html$.Node, []), + [S$.$hasChildNodes]: dart.fnType(core.bool, []), + [S$.$insertBefore]: dart.fnType(html$.Node, [html$.Node, dart.nullable(html$.Node)]), + [S$._removeChild]: dart.fnType(html$.Node, [html$.Node]), + [S$._replaceChild]: dart.fnType(html$.Node, [html$.Node, html$.Node]) + })); + dart.setGetterSignature(html$.Node, () => ({ + __proto__: dart.getGetters(html$.Node.__proto__), + [S.$nodes]: core.List$(html$.Node), + [S$.$childNodes]: core.List$(html$.Node), + [S.$baseUri]: dart.nullable(core.String), + [S$.$firstChild]: dart.nullable(html$.Node), + [S$.$isConnected]: dart.nullable(core.bool), + [S$.$lastChild]: dart.nullable(html$.Node), + [S.$nextNode]: dart.nullable(html$.Node), + [S$.$nodeName]: dart.nullable(core.String), + [S$.$nodeType]: core.int, + [S$.$nodeValue]: dart.nullable(core.String), + [S$.$ownerDocument]: dart.nullable(html$.Document), + [S.$parent]: dart.nullable(html$.Element), + [S$.$parentNode]: dart.nullable(html$.Node), + [S$.$previousNode]: dart.nullable(html$.Node), + [S.$text]: dart.nullable(core.String) + })); + dart.setSetterSignature(html$.Node, () => ({ + __proto__: dart.getSetters(html$.Node.__proto__), + [S.$nodes]: core.Iterable$(html$.Node), + [S.$text]: dart.nullable(core.String) + })); + dart.setLibraryUri(html$.Node, I[148]); + dart.defineLazy(html$.Node, { + /*html$.Node.ATTRIBUTE_NODE*/get ATTRIBUTE_NODE() { + return 2; + }, + /*html$.Node.CDATA_SECTION_NODE*/get CDATA_SECTION_NODE() { + return 4; + }, + /*html$.Node.COMMENT_NODE*/get COMMENT_NODE() { + return 8; + }, + /*html$.Node.DOCUMENT_FRAGMENT_NODE*/get DOCUMENT_FRAGMENT_NODE() { + return 11; + }, + /*html$.Node.DOCUMENT_NODE*/get DOCUMENT_NODE() { + return 9; + }, + /*html$.Node.DOCUMENT_TYPE_NODE*/get DOCUMENT_TYPE_NODE() { + return 10; + }, + /*html$.Node.ELEMENT_NODE*/get ELEMENT_NODE() { + return 1; + }, + /*html$.Node.ENTITY_NODE*/get ENTITY_NODE() { + return 6; + }, + /*html$.Node.ENTITY_REFERENCE_NODE*/get ENTITY_REFERENCE_NODE() { + return 5; + }, + /*html$.Node.NOTATION_NODE*/get NOTATION_NODE() { + return 12; + }, + /*html$.Node.PROCESSING_INSTRUCTION_NODE*/get PROCESSING_INSTRUCTION_NODE() { + return 7; + }, + /*html$.Node.TEXT_NODE*/get TEXT_NODE() { + return 3; + } + }, false); + dart.registerExtension("Node", html$.Node); + html$.Element = class Element extends html$.Node { + static html(html, opts) { + let validator = opts && 'validator' in opts ? opts.validator : null; + let treeSanitizer = opts && 'treeSanitizer' in opts ? opts.treeSanitizer : null; + let fragment = dart.nullCheck(html$.document.body)[S.$createFragment](html, {validator: validator, treeSanitizer: treeSanitizer}); + return html$.Element.as(fragment[S.$nodes][$where](dart.fn(e => { + if (e == null) dart.nullFailed(I[147], 12731, 34, "e"); + return html$.Element.is(e); + }, T$0.NodeTobool()))[$single]); + } + static tag(tag, typeExtension = null) { + if (tag == null) dart.nullFailed(I[147], 12776, 30, "tag"); + return html$.Element.as(html$._ElementFactoryProvider.createElement_tag(tag, typeExtension)); + } + static a() { + return html$.AnchorElement.new(); + } + static article() { + return html$.Element.tag("article"); + } + static aside() { + return html$.Element.tag("aside"); + } + static audio() { + return html$.Element.tag("audio"); + } + static br() { + return html$.BRElement.new(); + } + static canvas() { + return html$.CanvasElement.new(); + } + static div() { + return html$.DivElement.new(); + } + static footer() { + return html$.Element.tag("footer"); + } + static header() { + return html$.Element.tag("header"); + } + static hr() { + return html$.Element.tag("hr"); + } + static iframe() { + return html$.Element.tag("iframe"); + } + static img() { + return html$.Element.tag("img"); + } + static li() { + return html$.Element.tag("li"); + } + static nav() { + return html$.Element.tag("nav"); + } + static ol() { + return html$.Element.tag("ol"); + } + static option() { + return html$.Element.tag("option"); + } + static p() { + return html$.Element.tag("p"); + } + static pre() { + return html$.Element.tag("pre"); + } + static section() { + return html$.Element.tag("section"); + } + static select() { + return html$.Element.tag("select"); + } + static span() { + return html$.Element.tag("span"); + } + static svg() { + return html$.Element.tag("svg"); + } + static table() { + return html$.Element.tag("table"); + } + static td() { + return html$.Element.tag("td"); + } + static textarea() { + return html$.Element.tag("textarea"); + } + static th() { + return html$.Element.tag("th"); + } + static tr() { + return html$.Element.tag("tr"); + } + static ul() { + return html$.Element.tag("ul"); + } + static video() { + return html$.Element.tag("video"); + } + get [S.$attributes]() { + return new html$._ElementAttributeMap.new(this); + } + set [S.$attributes](value) { + if (value == null) dart.nullFailed(I[147], 12936, 38, "value"); + let attributes = this[S.$attributes]; + attributes[$clear](); + for (let key of value[$keys]) { + attributes[$_set](key, dart.nullCheck(value[$_get](key))); + } + } + [S.$getAttribute](name) { + if (name == null) dart.nullFailed(I[147], 12945, 31, "name"); + if (!(name != null)) dart.assertFailed("Attribute name cannot be null", I[147], 12948, 12, "name != null"); + return this[S._getAttribute](name); + } + [S.$getAttributeNS](namespaceURI, name) { + if (name == null) dart.nullFailed(I[147], 12953, 55, "name"); + if (!(name != null)) dart.assertFailed("Attribute name cannot be null", I[147], 12957, 12, "name != null"); + return this[S._getAttributeNS](namespaceURI, name); + } + [S.$hasAttribute](name) { + if (name == null) dart.nullFailed(I[147], 12962, 28, "name"); + if (!(name != null)) dart.assertFailed("Attribute name cannot be null", I[147], 12965, 12, "name != null"); + return this[S._hasAttribute](name); + } + [S.$hasAttributeNS](namespaceURI, name) { + if (name == null) dart.nullFailed(I[147], 12970, 52, "name"); + if (!(name != null)) dart.assertFailed("Attribute name cannot be null", I[147], 12974, 12, "name != null"); + return this[S._hasAttributeNS](namespaceURI, name); + } + [S.$removeAttribute](name) { + if (name == null) dart.nullFailed(I[147], 12979, 31, "name"); + if (!(name != null)) dart.assertFailed("Attribute name cannot be null", I[147], 12982, 12, "name != null"); + this[S._removeAttribute](name); + } + [S.$removeAttributeNS](namespaceURI, name) { + if (name == null) dart.nullFailed(I[147], 12987, 55, "name"); + if (!(name != null)) dart.assertFailed("Attribute name cannot be null", I[147], 12990, 12, "name != null"); + this[S._removeAttributeNS](namespaceURI, name); + } + [S.$setAttribute](name, value) { + if (name == null) dart.nullFailed(I[147], 12995, 28, "name"); + if (value == null) dart.nullFailed(I[147], 12995, 41, "value"); + if (!(name != null)) dart.assertFailed("Attribute name cannot be null", I[147], 12998, 12, "name != null"); + this[S._setAttribute](name, value); + } + [S.$setAttributeNS](namespaceURI, name, value) { + if (name == null) dart.nullFailed(I[147], 13004, 52, "name"); + if (value == null) dart.nullFailed(I[147], 13004, 65, "value"); + if (!(name != null)) dart.assertFailed("Attribute name cannot be null", I[147], 13007, 12, "name != null"); + this[S._setAttributeNS](namespaceURI, name, value); + } + get [S.$children]() { + return new html$._ChildrenElementList._wrap(this); + } + get [S._children]() { + return this.children; + } + set [S.$children](value) { + if (value == null) dart.nullFailed(I[147], 13036, 30, "value"); + let copy = value[$toList](); + let children = this[S.$children]; + children[$clear](); + children[$addAll](copy); + } + [S.$querySelectorAll](T, selectors) { + if (selectors == null) dart.nullFailed(I[147], 13055, 61, "selectors"); + return new (html$._FrozenElementList$(T))._wrap(this[S._querySelectorAll](selectors)); + } + [S._setApplyScroll](...args) { + return this.setApplyScroll.apply(this, args); + } + [S.$setApplyScroll](nativeScrollBehavior) { + if (nativeScrollBehavior == null) dart.nullFailed(I[147], 13062, 45, "nativeScrollBehavior"); + let completer = T$0.CompleterOfScrollState().new(); + this[S._setApplyScroll](dart.fn(value => { + if (value == null) dart.nullFailed(I[147], 13064, 22, "value"); + completer.complete(value); + }, T$0.ScrollStateTovoid()), nativeScrollBehavior); + return completer.future; + } + [S._setDistributeScroll](...args) { + return this.setDistributeScroll.apply(this, args); + } + [S.$setDistributeScroll](nativeScrollBehavior) { + if (nativeScrollBehavior == null) dart.nullFailed(I[147], 13074, 50, "nativeScrollBehavior"); + let completer = T$0.CompleterOfScrollState().new(); + this[S._setDistributeScroll](dart.fn(value => { + if (value == null) dart.nullFailed(I[147], 13076, 27, "value"); + completer.complete(value); + }, T$0.ScrollStateTovoid()), nativeScrollBehavior); + return completer.future; + } + get [S.$classes]() { + return new html$._ElementCssClassSet.new(this); + } + set [S.$classes](value) { + if (value == null) dart.nullFailed(I[147], 13094, 32, "value"); + let classSet = this[S.$classes]; + classSet.clear(); + classSet.addAll(value); + } + get [S.$dataset]() { + return new html$._DataAttributeMap.new(this[S.$attributes]); + } + set [S.$dataset](value) { + if (value == null) dart.nullFailed(I[147], 13128, 35, "value"); + let data = this[S.$dataset]; + data[$clear](); + for (let key of value[$keys]) { + data[$_set](key, dart.nullCheck(value[$_get](key))); + } + } + [S.$getNamespacedAttributes](namespace) { + if (namespace == null) dart.nullFailed(I[147], 13141, 54, "namespace"); + return new html$._NamespacedAttributeMap.new(this, namespace); + } + [S.$getComputedStyle](pseudoElement = null) { + if (pseudoElement == null) { + pseudoElement = ""; + } + return html$.window[S._getComputedStyle](this, pseudoElement); + } + get [S.$client]() { + return new (T$0.RectangleOfnum()).new(dart.nullCheck(this.clientLeft), dart.nullCheck(this.clientTop), this.clientWidth, this.clientHeight); + } + get [S.$offset]() { + return new (T$0.RectangleOfnum()).new(this[S.$offsetLeft], this[S.$offsetTop], this[S.$offsetWidth], this[S.$offsetHeight]); + } + [S.$appendText](text) { + if (text == null) dart.nullFailed(I[147], 13187, 26, "text"); + this[S.$append](html$.Text.new(text)); + } + [S.$appendHtml](text, opts) { + if (text == null) dart.nullFailed(I[147], 13195, 26, "text"); + let validator = opts && 'validator' in opts ? opts.validator : null; + let treeSanitizer = opts && 'treeSanitizer' in opts ? opts.treeSanitizer : null; + this[S.$insertAdjacentHtml]("beforeend", text, {validator: validator, treeSanitizer: treeSanitizer}); + } + static isTagSupported(tag) { + if (tag == null) dart.nullFailed(I[147], 13206, 37, "tag"); + let e = html$._ElementFactoryProvider.createElement_tag(tag, null); + return html$.Element.is(e) && !html$.UnknownElement.is(e); + } + [S.$attached]() { + this[S.$enteredView](); + } + [S.$detached]() { + this[S.$leftView](); + } + [S.$enteredView]() { + } + [S.$getClientRects]() { + let value = this[S._getClientRects](); + let jsProto = value.prototype; + if (jsProto == null) { + value.prototype = Object.create(null); + } + _js_helper.applyExtension("DOMRectList", value); + return value; + } + [S.$leftView]() { + } + [S.$animate](frames, timing = null) { + if (frames == null) dart.nullFailed(I[147], 13282, 52, "frames"); + if (!core.Iterable.is(frames) || !dart.test(frames[$every](dart.fn(x => { + if (x == null) dart.nullFailed(I[147], 13283, 48, "x"); + return core.Map.is(x); + }, T$0.MapOfString$dynamicTobool())))) { + dart.throw(new core.ArgumentError.new("The frames parameter should be a List of Maps " + "with frame information")); + } + let convertedFrames = null; + if (core.Iterable.is(frames)) { + convertedFrames = frames[$map](dart.dynamic, C[224] || CT.C224)[$toList](); + } else { + convertedFrames = frames; + } + let convertedTiming = core.Map.is(timing) ? html_common.convertDartToNative_Dictionary(timing) : timing; + return convertedTiming == null ? this[S._animate](core.Object.as(convertedFrames)) : this[S._animate](core.Object.as(convertedFrames), convertedTiming); + } + [S._animate](...args) { + return this.animate.apply(this, args); + } + [S.$attributeChanged](name, oldValue, newValue) { + if (name == null) dart.nullFailed(I[147], 13305, 32, "name"); + if (oldValue == null) dart.nullFailed(I[147], 13305, 45, "oldValue"); + if (newValue == null) dart.nullFailed(I[147], 13305, 62, "newValue"); + } + get [S.$localName]() { + return this[S._localName]; + } + get [S.$namespaceUri]() { + return this[S._namespaceUri]; + } + [$toString]() { + return this[S.$localName]; + } + [S.$scrollIntoView](alignment = null) { + let hasScrollIntoViewIfNeeded = true; + hasScrollIntoViewIfNeeded = !!this.scrollIntoViewIfNeeded; + if (dart.equals(alignment, html$.ScrollAlignment.TOP)) { + this[S._scrollIntoView](true); + } else if (dart.equals(alignment, html$.ScrollAlignment.BOTTOM)) { + this[S._scrollIntoView](false); + } else if (hasScrollIntoViewIfNeeded) { + if (dart.equals(alignment, html$.ScrollAlignment.CENTER)) { + this[S._scrollIntoViewIfNeeded](true); + } else { + this[S._scrollIntoViewIfNeeded](); + } + } else { + this[S._scrollIntoView](); + } + } + static _determineMouseWheelEventType(e) { + if (e == null) dart.nullFailed(I[147], 13378, 59, "e"); + return "wheel"; + } + static _determineTransitionEventType(e) { + if (e == null) dart.nullFailed(I[147], 13390, 59, "e"); + if (dart.test(html_common.Device.isWebKit)) { + return "webkitTransitionEnd"; + } else if (dart.test(html_common.Device.isOpera)) { + return "oTransitionEnd"; + } + return "transitionend"; + } + [S.$insertAdjacentText](where, text) { + if (where == null) dart.nullFailed(I[147], 13410, 34, "where"); + if (text == null) dart.nullFailed(I[147], 13410, 48, "text"); + if (!!this.insertAdjacentText) { + this[S._insertAdjacentText](where, text); + } else { + this[S._insertAdjacentNode](where, html$.Text.new(text)); + } + } + [S._insertAdjacentText](...args) { + return this.insertAdjacentText.apply(this, args); + } + [S.$insertAdjacentHtml](where, html, opts) { + if (where == null) dart.nullFailed(I[147], 13443, 34, "where"); + if (html == null) dart.nullFailed(I[147], 13443, 48, "html"); + let validator = opts && 'validator' in opts ? opts.validator : null; + let treeSanitizer = opts && 'treeSanitizer' in opts ? opts.treeSanitizer : null; + if (html$._TrustedHtmlTreeSanitizer.is(treeSanitizer)) { + this[S._insertAdjacentHtml](where, html); + } else { + this[S._insertAdjacentNode](where, this[S.$createFragment](html, {validator: validator, treeSanitizer: treeSanitizer})); + } + } + [S._insertAdjacentHtml](...args) { + return this.insertAdjacentHTML.apply(this, args); + } + [S.$insertAdjacentElement](where, element) { + if (where == null) dart.nullFailed(I[147], 13468, 40, "where"); + if (element == null) dart.nullFailed(I[147], 13468, 55, "element"); + if (!!this.insertAdjacentElement) { + this[S._insertAdjacentElement](where, element); + } else { + this[S._insertAdjacentNode](where, element); + } + return element; + } + [S._insertAdjacentElement](...args) { + return this.insertAdjacentElement.apply(this, args); + } + [S._insertAdjacentNode](where, node) { + if (where == null) dart.nullFailed(I[147], 13480, 35, "where"); + if (node == null) dart.nullFailed(I[147], 13480, 47, "node"); + switch (where[$toLowerCase]()) { + case "beforebegin": + { + dart.nullCheck(this.parentNode).insertBefore(node, this); + break; + } + case "afterbegin": + { + let first = dart.notNull(this[S.$nodes][$length]) > 0 ? this[S.$nodes][$_get](0) : null; + this.insertBefore(node, first); + break; + } + case "beforeend": + { + this[S.$append](node); + break; + } + case "afterend": + { + dart.nullCheck(this.parentNode).insertBefore(node, this[S.$nextNode]); + break; + } + default: + { + dart.throw(new core.ArgumentError.new("Invalid position " + dart.str(where))); + } + } + } + [S.$matches](selectors) { + if (selectors == null) dart.nullFailed(I[147], 13503, 23, "selectors"); + if (!!this.matches) { + return this.matches(selectors); + } else if (!!this.webkitMatchesSelector) { + return this.webkitMatchesSelector(selectors); + } else if (!!this.mozMatchesSelector) { + return this.mozMatchesSelector(selectors); + } else if (!!this.msMatchesSelector) { + return this.msMatchesSelector(selectors); + } else if (!!this.oMatchesSelector) { + return this.oMatchesSelector(selectors); + } else { + dart.throw(new core.UnsupportedError.new("Not supported on this platform")); + } + } + [S.$matchesWithAncestors](selectors) { + if (selectors == null) dart.nullFailed(I[147], 13520, 36, "selectors"); + let elem = this; + do { + if (dart.test(dart.nullCheck(elem)[S.$matches](selectors))) return true; + elem = elem[S.$parent]; + } while (elem != null); + return false; + } + [S.$createShadowRoot]() { + return (this.createShadowRoot || this.webkitCreateShadowRoot).call(this); + } + get [S.$shadowRoot]() { + return this.shadowRoot || this.webkitShadowRoot; + } + get [S.$contentEdge]() { + return new html$._ContentCssRect.new(this); + } + get [S.$paddingEdge]() { + return new html$._PaddingCssRect.new(this); + } + get [S.$borderEdge]() { + return new html$._BorderCssRect.new(this); + } + get [S.$marginEdge]() { + return new html$._MarginCssRect.new(this); + } + get [S.$documentOffset]() { + return this[S.$offsetTo](dart.nullCheck(html$.document.documentElement)); + } + [S.$offsetTo](parent) { + if (parent == null) dart.nullFailed(I[147], 13652, 26, "parent"); + return html$.Element._offsetToHelper(this, parent); + } + static _offsetToHelper(current, parent) { + if (parent == null) dart.nullFailed(I[147], 13656, 58, "parent"); + let sameAsParent = current == parent; + let foundAsParent = sameAsParent || parent.tagName === "HTML"; + if (current == null || sameAsParent) { + if (foundAsParent) return new (T$0.PointOfnum()).new(0, 0); + dart.throw(new core.ArgumentError.new("Specified element is not a transitive offset " + "parent of this element.")); + } + let parentOffset = current.offsetParent; + let p = html$.Element._offsetToHelper(parentOffset, parent); + return new (T$0.PointOfnum()).new(dart.notNull(p.x) + dart.notNull(current[S.$offsetLeft]), dart.notNull(p.y) + dart.notNull(current[S.$offsetTop])); + } + [S.$createFragment](html, opts) { + let t232; + let validator = opts && 'validator' in opts ? opts.validator : null; + let treeSanitizer = opts && 'treeSanitizer' in opts ? opts.treeSanitizer : null; + if (treeSanitizer == null) { + if (validator == null) { + if (html$.Element._defaultValidator == null) { + html$.Element._defaultValidator = new html$.NodeValidatorBuilder.common(); + } + validator = html$.Element._defaultValidator; + } + if (html$.Element._defaultSanitizer == null) { + html$.Element._defaultSanitizer = new html$._ValidatingTreeSanitizer.new(dart.nullCheck(validator)); + } else { + dart.nullCheck(html$.Element._defaultSanitizer).validator = dart.nullCheck(validator); + } + treeSanitizer = html$.Element._defaultSanitizer; + } else if (validator != null) { + dart.throw(new core.ArgumentError.new("validator can only be passed if treeSanitizer is null")); + } + if (html$.Element._parseDocument == null) { + html$.Element._parseDocument = dart.nullCheck(html$.document.implementation)[S.$createHtmlDocument](""); + html$.Element._parseRange = dart.nullCheck(html$.Element._parseDocument).createRange(); + let base = html$.BaseElement.as(dart.nullCheck(html$.Element._parseDocument)[S.$createElement]("base")); + base.href = dart.nullCheck(html$.document[S.$baseUri]); + dart.nullCheck(dart.nullCheck(html$.Element._parseDocument)[S.$head])[S.$append](base); + } + if (dart.nullCheck(html$.Element._parseDocument).body == null) { + dart.nullCheck(html$.Element._parseDocument).body = html$.BodyElement.as(dart.nullCheck(html$.Element._parseDocument)[S.$createElement]("body")); + } + let contextElement = null; + if (html$.BodyElement.is(this)) { + contextElement = dart.nullCheck(dart.nullCheck(html$.Element._parseDocument).body); + } else { + contextElement = dart.nullCheck(html$.Element._parseDocument)[S.$createElement](this.tagName); + dart.nullCheck(dart.nullCheck(html$.Element._parseDocument).body)[S.$append](html$.Node.as(contextElement)); + } + let fragment = null; + if (dart.test(html$.Range.supportsCreateContextualFragment) && dart.test(this[S._canBeUsedToCreateContextualFragment])) { + dart.nullCheck(html$.Element._parseRange).selectNodeContents(html$.Node.as(contextElement)); + fragment = dart.nullCheck(html$.Element._parseRange).createContextualFragment((t232 = html, t232 == null ? "null" : t232)); + } else { + dart.dput(contextElement, S._innerHtml, html); + fragment = dart.nullCheck(html$.Element._parseDocument).createDocumentFragment(); + while (dart.dload(contextElement, 'firstChild') != null) { + fragment[S.$append](html$.Node.as(dart.dload(contextElement, 'firstChild'))); + } + } + if (!dart.equals(contextElement, dart.nullCheck(html$.Element._parseDocument).body)) { + dart.dsend(contextElement, 'remove', []); + } + dart.nullCheck(treeSanitizer).sanitizeTree(fragment); + html$.document.adoptNode(fragment); + return fragment; + } + get [S._canBeUsedToCreateContextualFragment]() { + return !dart.test(this[S._cannotBeUsedToCreateContextualFragment]); + } + get [S._cannotBeUsedToCreateContextualFragment]() { + return html$.Element._tagsForWhichCreateContextualFragmentIsNotSupported[$contains](this.tagName); + } + set [S.$innerHtml](html) { + this[S.$setInnerHtml](html); + } + [S.$setInnerHtml](html, opts) { + let validator = opts && 'validator' in opts ? opts.validator : null; + let treeSanitizer = opts && 'treeSanitizer' in opts ? opts.treeSanitizer : null; + this[S.$text] = null; + if (html$._TrustedHtmlTreeSanitizer.is(treeSanitizer)) { + this[S._innerHtml] = html; + } else { + this[S.$append](this[S.$createFragment](html, {validator: validator, treeSanitizer: treeSanitizer})); + } + } + get [S.$innerHtml]() { + return this[S._innerHtml]; + } + get [S.$innerText]() { + return this.innerText; + } + set [S.$innerText](value) { + this.innerText = value; + } + get [S.$on]() { + return new html$.ElementEvents.new(this); + } + static _hasCorruptedAttributes(element) { + if (element == null) dart.nullFailed(I[147], 13865, 47, "element"); + return (function(element) { + if (!(element.attributes instanceof NamedNodeMap)) { + return true; + } + if (element.id == 'lastChild' || element.name == 'lastChild' || element.id == 'previousSibling' || element.name == 'previousSibling' || element.id == 'children' || element.name == 'children') { + return true; + } + var childNodes = element.childNodes; + if (element.lastChild && element.lastChild !== childNodes[childNodes.length - 1]) { + return true; + } + if (element.children) { + if (!(element.children instanceof HTMLCollection || element.children instanceof NodeList)) { + return true; + } + } + var length = 0; + if (element.children) { + length = element.children.length; + } + for (var i = 0; i < length; i++) { + var child = element.children[i]; + if (child.id == 'attributes' || child.name == 'attributes' || child.id == 'lastChild' || child.name == 'lastChild' || child.id == 'previousSibling' || child.name == 'previousSibling' || child.id == 'children' || child.name == 'children') { + return true; + } + } + return false; + })(element); + } + static _hasCorruptedAttributesAdditionalCheck(element) { + if (element == null) dart.nullFailed(I[147], 13917, 62, "element"); + return !(element.attributes instanceof NamedNodeMap); + } + static _safeTagName(element) { + let result = "element tag unavailable"; + try { + if (typeof dart.dload(element, 'tagName') == 'string') { + result = core.String.as(dart.dload(element, 'tagName')); + } + } catch (e$) { + let e = dart.getThrown(e$); + if (core.Object.is(e)) { + } else + throw e$; + } + return result; + } + get [S.$offsetParent]() { + return this.offsetParent; + } + get [S.$offsetHeight]() { + return this.offsetHeight[$round](); + } + get [S.$offsetLeft]() { + return this.offsetLeft[$round](); + } + get [S.$offsetTop]() { + return this.offsetTop[$round](); + } + get [S.$offsetWidth]() { + return this.offsetWidth[$round](); + } + get [S.$scrollHeight]() { + return this.scrollHeight[$round](); + } + get [S.$scrollLeft]() { + return this.scrollLeft[$round](); + } + set [S.$scrollLeft](value) { + if (value == null) dart.nullFailed(I[147], 13944, 22, "value"); + this.scrollLeft = value[$round](); + } + get [S.$scrollTop]() { + return this.scrollTop[$round](); + } + set [S.$scrollTop](value) { + if (value == null) dart.nullFailed(I[147], 13950, 21, "value"); + this.scrollTop = value[$round](); + } + get [S.$scrollWidth]() { + return this.scrollWidth[$round](); + } + get [S.$contentEditable]() { + return this.contentEditable; + } + set [S.$contentEditable](value) { + this.contentEditable = value; + } + get [S.$dir]() { + return this.dir; + } + set [S.$dir](value) { + this.dir = value; + } + get [S.$draggable]() { + return this.draggable; + } + set [S.$draggable](value) { + this.draggable = value; + } + get [S.$hidden]() { + return this.hidden; + } + set [S.$hidden](value) { + this.hidden = value; + } + get [S.$inert]() { + return this.inert; + } + set [S.$inert](value) { + this.inert = value; + } + get [S.$inputMode]() { + return this.inputMode; + } + set [S.$inputMode](value) { + this.inputMode = value; + } + get [S.$isContentEditable]() { + return this.isContentEditable; + } + get [S.$lang]() { + return this.lang; + } + set [S.$lang](value) { + this.lang = value; + } + get [S.$spellcheck]() { + return this.spellcheck; + } + set [S.$spellcheck](value) { + this.spellcheck = value; + } + get [S.$style]() { + return this.style; + } + get [S.$tabIndex]() { + return this.tabIndex; + } + set [S.$tabIndex](value) { + this.tabIndex = value; + } + get [S.$title]() { + return this.title; + } + set [S.$title](value) { + this.title = value; + } + get [S.$translate]() { + return this.translate; + } + set [S.$translate](value) { + this.translate = value; + } + [S.$blur](...args) { + return this.blur.apply(this, args); + } + [S.$click](...args) { + return this.click.apply(this, args); + } + [S.$focus](...args) { + return this.focus.apply(this, args); + } + get [S.$accessibleNode]() { + return this.accessibleNode; + } + get [S.$assignedSlot]() { + return this.assignedSlot; + } + get [S._attributes$1]() { + return this.attributes; + } + get [S.$className]() { + return this.className; + } + set [S.$className](value) { + this.className = value; + } + get [S.$clientHeight]() { + return this.clientHeight; + } + get [S.$clientLeft]() { + return this.clientLeft; + } + get [S.$clientTop]() { + return this.clientTop; + } + get [S.$clientWidth]() { + return this.clientWidth; + } + get [S.$computedName]() { + return this.computedName; + } + get [S.$computedRole]() { + return this.computedRole; + } + get [S.$id]() { + return this.id; + } + set [S.$id](value) { + this.id = value; + } + get [S._innerHtml]() { + return this.innerHTML; + } + set [S._innerHtml](value) { + this.innerHTML = value; + } + get [S._localName]() { + return this.localName; + } + get [S._namespaceUri]() { + return this.namespaceURI; + } + get [S.$outerHtml]() { + return this.outerHTML; + } + get [S._scrollHeight]() { + return this.scrollHeight; + } + get [S._scrollLeft]() { + return this.scrollLeft; + } + set [S._scrollLeft](value) { + this.scrollLeft = value; + } + get [S._scrollTop]() { + return this.scrollTop; + } + set [S._scrollTop](value) { + this.scrollTop = value; + } + get [S._scrollWidth]() { + return this.scrollWidth; + } + get [S.$slot]() { + return this.slot; + } + set [S.$slot](value) { + this.slot = value; + } + get [S.$styleMap]() { + return this.styleMap; + } + get [S.$tagName]() { + return this.tagName; + } + [S.$attachShadow](shadowRootInitDict) { + if (shadowRootInitDict == null) dart.nullFailed(I[147], 14673, 31, "shadowRootInitDict"); + let shadowRootInitDict_1 = html_common.convertDartToNative_Dictionary(shadowRootInitDict); + return this[S._attachShadow_1](shadowRootInitDict_1); + } + [S._attachShadow_1](...args) { + return this.attachShadow.apply(this, args); + } + [S.$closest](...args) { + return this.closest.apply(this, args); + } + [S.$getAnimations](...args) { + return this.getAnimations.apply(this, args); + } + [S._getAttribute](...args) { + return this.getAttribute.apply(this, args); + } + [S._getAttributeNS](...args) { + return this.getAttributeNS.apply(this, args); + } + [S.$getAttributeNames](...args) { + return this.getAttributeNames.apply(this, args); + } + [S.$getBoundingClientRect](...args) { + return this.getBoundingClientRect.apply(this, args); + } + [S._getClientRects](...args) { + return this.getClientRects.apply(this, args); + } + [S.$getDestinationInsertionPoints](...args) { + return this.getDestinationInsertionPoints.apply(this, args); + } + [S.$getElementsByClassName](...args) { + return this.getElementsByClassName.apply(this, args); + } + [S._getElementsByTagName](...args) { + return this.getElementsByTagName.apply(this, args); + } + [S._hasAttribute](...args) { + return this.hasAttribute.apply(this, args); + } + [S._hasAttributeNS](...args) { + return this.hasAttributeNS.apply(this, args); + } + [S.$hasPointerCapture](...args) { + return this.hasPointerCapture.apply(this, args); + } + [S.$releasePointerCapture](...args) { + return this.releasePointerCapture.apply(this, args); + } + [S._removeAttribute](...args) { + return this.removeAttribute.apply(this, args); + } + [S._removeAttributeNS](...args) { + return this.removeAttributeNS.apply(this, args); + } + [S.$requestPointerLock](...args) { + return this.requestPointerLock.apply(this, args); + } + [S.$scroll](options_OR_x = null, y = null) { + if (options_OR_x == null && y == null) { + this[S._scroll_1](); + return; + } + if (core.Map.is(options_OR_x) && y == null) { + let options_1 = html_common.convertDartToNative_Dictionary(options_OR_x); + this[S._scroll_2](options_1); + return; + } + if (y != null && typeof options_OR_x == 'number') { + this[S._scroll_3](options_OR_x, y); + return; + } + dart.throw(new core.ArgumentError.new("Incorrect number or type of arguments")); + } + [S._scroll_1](...args) { + return this.scroll.apply(this, args); + } + [S._scroll_2](...args) { + return this.scroll.apply(this, args); + } + [S._scroll_3](...args) { + return this.scroll.apply(this, args); + } + [S.$scrollBy](options_OR_x = null, y = null) { + if (options_OR_x == null && y == null) { + this[S._scrollBy_1](); + return; + } + if (core.Map.is(options_OR_x) && y == null) { + let options_1 = html_common.convertDartToNative_Dictionary(options_OR_x); + this[S._scrollBy_2](options_1); + return; + } + if (y != null && typeof options_OR_x == 'number') { + this[S._scrollBy_3](options_OR_x, y); + return; + } + dart.throw(new core.ArgumentError.new("Incorrect number or type of arguments")); + } + [S._scrollBy_1](...args) { + return this.scrollBy.apply(this, args); + } + [S._scrollBy_2](...args) { + return this.scrollBy.apply(this, args); + } + [S._scrollBy_3](...args) { + return this.scrollBy.apply(this, args); + } + [S._scrollIntoView](...args) { + return this.scrollIntoView.apply(this, args); + } + [S._scrollIntoViewIfNeeded](...args) { + return this.scrollIntoViewIfNeeded.apply(this, args); + } + [S.$scrollTo](options_OR_x = null, y = null) { + if (options_OR_x == null && y == null) { + this[S._scrollTo_1](); + return; + } + if (core.Map.is(options_OR_x) && y == null) { + let options_1 = html_common.convertDartToNative_Dictionary(options_OR_x); + this[S._scrollTo_2](options_1); + return; + } + if (y != null && typeof options_OR_x == 'number') { + this[S._scrollTo_3](options_OR_x, y); + return; + } + dart.throw(new core.ArgumentError.new("Incorrect number or type of arguments")); + } + [S._scrollTo_1](...args) { + return this.scrollTo.apply(this, args); + } + [S._scrollTo_2](...args) { + return this.scrollTo.apply(this, args); + } + [S._scrollTo_3](...args) { + return this.scrollTo.apply(this, args); + } + [S._setAttribute](...args) { + return this.setAttribute.apply(this, args); + } + [S._setAttributeNS](...args) { + return this.setAttributeNS.apply(this, args); + } + [S.$setPointerCapture](...args) { + return this.setPointerCapture.apply(this, args); + } + [S.$requestFullscreen](...args) { + return this.webkitRequestFullscreen.apply(this, args); + } + [S.$after](...args) { + return this.after.apply(this, args); + } + [S.$before](...args) { + return this.before.apply(this, args); + } + get [S.$nextElementSibling]() { + return this.nextElementSibling; + } + get [S.$previousElementSibling]() { + return this.previousElementSibling; + } + get [S._childElementCount]() { + return this.childElementCount; + } + get [S._firstElementChild]() { + return this.firstElementChild; + } + get [S._lastElementChild]() { + return this.lastElementChild; + } + [S.$querySelector](...args) { + return this.querySelector.apply(this, args); + } + [S._querySelectorAll](...args) { + return this.querySelectorAll.apply(this, args); + } + get [S.$onAbort]() { + return html$.Element.abortEvent.forElement(this); + } + get [S.$onBeforeCopy]() { + return html$.Element.beforeCopyEvent.forElement(this); + } + get [S.$onBeforeCut]() { + return html$.Element.beforeCutEvent.forElement(this); + } + get [S.$onBeforePaste]() { + return html$.Element.beforePasteEvent.forElement(this); + } + get [S.$onBlur]() { + return html$.Element.blurEvent.forElement(this); + } + get [S.$onCanPlay]() { + return html$.Element.canPlayEvent.forElement(this); + } + get [S.$onCanPlayThrough]() { + return html$.Element.canPlayThroughEvent.forElement(this); + } + get [S.$onChange]() { + return html$.Element.changeEvent.forElement(this); + } + get [S.$onClick]() { + return html$.Element.clickEvent.forElement(this); + } + get [S.$onContextMenu]() { + return html$.Element.contextMenuEvent.forElement(this); + } + get [S.$onCopy]() { + return html$.Element.copyEvent.forElement(this); + } + get [S.$onCut]() { + return html$.Element.cutEvent.forElement(this); + } + get [S.$onDoubleClick]() { + return html$.Element.doubleClickEvent.forElement(this); + } + get [S.$onDrag]() { + return html$.Element.dragEvent.forElement(this); + } + get [S.$onDragEnd]() { + return html$.Element.dragEndEvent.forElement(this); + } + get [S.$onDragEnter]() { + return html$.Element.dragEnterEvent.forElement(this); + } + get [S.$onDragLeave]() { + return html$.Element.dragLeaveEvent.forElement(this); + } + get [S.$onDragOver]() { + return html$.Element.dragOverEvent.forElement(this); + } + get [S.$onDragStart]() { + return html$.Element.dragStartEvent.forElement(this); + } + get [S.$onDrop]() { + return html$.Element.dropEvent.forElement(this); + } + get [S.$onDurationChange]() { + return html$.Element.durationChangeEvent.forElement(this); + } + get [S.$onEmptied]() { + return html$.Element.emptiedEvent.forElement(this); + } + get [S.$onEnded]() { + return html$.Element.endedEvent.forElement(this); + } + get [S.$onError]() { + return html$.Element.errorEvent.forElement(this); + } + get [S.$onFocus]() { + return html$.Element.focusEvent.forElement(this); + } + get [S.$onInput]() { + return html$.Element.inputEvent.forElement(this); + } + get [S.$onInvalid]() { + return html$.Element.invalidEvent.forElement(this); + } + get [S.$onKeyDown]() { + return html$.Element.keyDownEvent.forElement(this); + } + get [S.$onKeyPress]() { + return html$.Element.keyPressEvent.forElement(this); + } + get [S.$onKeyUp]() { + return html$.Element.keyUpEvent.forElement(this); + } + get [S.$onLoad]() { + return html$.Element.loadEvent.forElement(this); + } + get [S.$onLoadedData]() { + return html$.Element.loadedDataEvent.forElement(this); + } + get [S.$onLoadedMetadata]() { + return html$.Element.loadedMetadataEvent.forElement(this); + } + get [S.$onMouseDown]() { + return html$.Element.mouseDownEvent.forElement(this); + } + get [S.$onMouseEnter]() { + return html$.Element.mouseEnterEvent.forElement(this); + } + get [S.$onMouseLeave]() { + return html$.Element.mouseLeaveEvent.forElement(this); + } + get [S.$onMouseMove]() { + return html$.Element.mouseMoveEvent.forElement(this); + } + get [S.$onMouseOut]() { + return html$.Element.mouseOutEvent.forElement(this); + } + get [S.$onMouseOver]() { + return html$.Element.mouseOverEvent.forElement(this); + } + get [S.$onMouseUp]() { + return html$.Element.mouseUpEvent.forElement(this); + } + get [S.$onMouseWheel]() { + return html$.Element.mouseWheelEvent.forElement(this); + } + get [S.$onPaste]() { + return html$.Element.pasteEvent.forElement(this); + } + get [S.$onPause]() { + return html$.Element.pauseEvent.forElement(this); + } + get [S.$onPlay]() { + return html$.Element.playEvent.forElement(this); + } + get [S.$onPlaying]() { + return html$.Element.playingEvent.forElement(this); + } + get [S.$onRateChange]() { + return html$.Element.rateChangeEvent.forElement(this); + } + get [S.$onReset]() { + return html$.Element.resetEvent.forElement(this); + } + get [S.$onResize]() { + return html$.Element.resizeEvent.forElement(this); + } + get [S.$onScroll]() { + return html$.Element.scrollEvent.forElement(this); + } + get [S.$onSearch]() { + return html$.Element.searchEvent.forElement(this); + } + get [S.$onSeeked]() { + return html$.Element.seekedEvent.forElement(this); + } + get [S.$onSeeking]() { + return html$.Element.seekingEvent.forElement(this); + } + get [S.$onSelect]() { + return html$.Element.selectEvent.forElement(this); + } + get [S.$onSelectStart]() { + return html$.Element.selectStartEvent.forElement(this); + } + get [S.$onStalled]() { + return html$.Element.stalledEvent.forElement(this); + } + get [S.$onSubmit]() { + return html$.Element.submitEvent.forElement(this); + } + get [S$.$onSuspend]() { + return html$.Element.suspendEvent.forElement(this); + } + get [S$.$onTimeUpdate]() { + return html$.Element.timeUpdateEvent.forElement(this); + } + get [S$.$onTouchCancel]() { + return html$.Element.touchCancelEvent.forElement(this); + } + get [S$.$onTouchEnd]() { + return html$.Element.touchEndEvent.forElement(this); + } + get [S$.$onTouchEnter]() { + return html$.Element.touchEnterEvent.forElement(this); + } + get [S$.$onTouchLeave]() { + return html$.Element.touchLeaveEvent.forElement(this); + } + get [S$.$onTouchMove]() { + return html$.Element.touchMoveEvent.forElement(this); + } + get [S$.$onTouchStart]() { + return html$.Element.touchStartEvent.forElement(this); + } + get [S$.$onTransitionEnd]() { + return html$.Element.transitionEndEvent.forElement(this); + } + get [S$.$onVolumeChange]() { + return html$.Element.volumeChangeEvent.forElement(this); + } + get [S$.$onWaiting]() { + return html$.Element.waitingEvent.forElement(this); + } + get [S$.$onFullscreenChange]() { + return html$.Element.fullscreenChangeEvent.forElement(this); + } + get [S$.$onFullscreenError]() { + return html$.Element.fullscreenErrorEvent.forElement(this); + } + get [S$.$onWheel]() { + return html$.Element.wheelEvent.forElement(this); + } + }; + (html$.Element.created = function() { + html$.Element.__proto__._created.call(this); + ; + }).prototype = html$.Element.prototype; + dart.addTypeTests(html$.Element); + dart.addTypeCaches(html$.Element); + html$.Element[dart.implements] = () => [html$.NonDocumentTypeChildNode, html$.GlobalEventHandlers, html$.ParentNode, html$.ChildNode]; + dart.setMethodSignature(html$.Element, () => ({ + __proto__: dart.getMethods(html$.Element.__proto__), + [S.$getAttribute]: dart.fnType(dart.nullable(core.String), [core.String]), + [S.$getAttributeNS]: dart.fnType(dart.nullable(core.String), [dart.nullable(core.String), core.String]), + [S.$hasAttribute]: dart.fnType(core.bool, [core.String]), + [S.$hasAttributeNS]: dart.fnType(core.bool, [dart.nullable(core.String), core.String]), + [S.$removeAttribute]: dart.fnType(dart.void, [core.String]), + [S.$removeAttributeNS]: dart.fnType(dart.void, [dart.nullable(core.String), core.String]), + [S.$setAttribute]: dart.fnType(dart.void, [core.String, core.String]), + [S.$setAttributeNS]: dart.fnType(dart.void, [dart.nullable(core.String), core.String, core.String]), + [S.$querySelectorAll]: dart.gFnType(T => [html$.ElementList$(T), [core.String]], T => [html$.Element]), + [S._setApplyScroll]: dart.fnType(dart.void, [dart.fnType(dart.void, [html$.ScrollState]), core.String]), + [S.$setApplyScroll]: dart.fnType(async.Future$(html$.ScrollState), [core.String]), + [S._setDistributeScroll]: dart.fnType(dart.void, [dart.fnType(dart.void, [html$.ScrollState]), core.String]), + [S.$setDistributeScroll]: dart.fnType(async.Future$(html$.ScrollState), [core.String]), + [S.$getNamespacedAttributes]: dart.fnType(core.Map$(core.String, core.String), [core.String]), + [S.$getComputedStyle]: dart.fnType(html$.CssStyleDeclaration, [], [dart.nullable(core.String)]), + [S.$appendText]: dart.fnType(dart.void, [core.String]), + [S.$appendHtml]: dart.fnType(dart.void, [core.String], {treeSanitizer: dart.nullable(html$.NodeTreeSanitizer), validator: dart.nullable(html$.NodeValidator)}, {}), + [S.$attached]: dart.fnType(dart.void, []), + [S.$detached]: dart.fnType(dart.void, []), + [S.$enteredView]: dart.fnType(dart.void, []), + [S.$getClientRects]: dart.fnType(core.List$(math.Rectangle$(core.num)), []), + [S.$leftView]: dart.fnType(dart.void, []), + [S.$animate]: dart.fnType(html$.Animation, [core.Iterable$(core.Map$(core.String, dart.dynamic))], [dart.dynamic]), + [S._animate]: dart.fnType(html$.Animation, [core.Object], [dart.dynamic]), + [S.$attributeChanged]: dart.fnType(dart.void, [core.String, core.String, core.String]), + [S.$scrollIntoView]: dart.fnType(dart.void, [], [dart.nullable(html$.ScrollAlignment)]), + [S.$insertAdjacentText]: dart.fnType(dart.void, [core.String, core.String]), + [S._insertAdjacentText]: dart.fnType(dart.void, [core.String, core.String]), + [S.$insertAdjacentHtml]: dart.fnType(dart.void, [core.String, core.String], {treeSanitizer: dart.nullable(html$.NodeTreeSanitizer), validator: dart.nullable(html$.NodeValidator)}, {}), + [S._insertAdjacentHtml]: dart.fnType(dart.void, [core.String, core.String]), + [S.$insertAdjacentElement]: dart.fnType(html$.Element, [core.String, html$.Element]), + [S._insertAdjacentElement]: dart.fnType(dart.void, [core.String, html$.Element]), + [S._insertAdjacentNode]: dart.fnType(dart.void, [core.String, html$.Node]), + [S.$matches]: dart.fnType(core.bool, [core.String]), + [S.$matchesWithAncestors]: dart.fnType(core.bool, [core.String]), + [S.$createShadowRoot]: dart.fnType(html$.ShadowRoot, []), + [S.$offsetTo]: dart.fnType(math.Point$(core.num), [html$.Element]), + [S.$createFragment]: dart.fnType(html$.DocumentFragment, [dart.nullable(core.String)], {treeSanitizer: dart.nullable(html$.NodeTreeSanitizer), validator: dart.nullable(html$.NodeValidator)}, {}), + [S.$setInnerHtml]: dart.fnType(dart.void, [dart.nullable(core.String)], {treeSanitizer: dart.nullable(html$.NodeTreeSanitizer), validator: dart.nullable(html$.NodeValidator)}, {}), + [S.$blur]: dart.fnType(dart.void, []), + [S.$click]: dart.fnType(dart.void, []), + [S.$focus]: dart.fnType(dart.void, []), + [S.$attachShadow]: dart.fnType(html$.ShadowRoot, [core.Map]), + [S._attachShadow_1]: dart.fnType(html$.ShadowRoot, [dart.dynamic]), + [S.$closest]: dart.fnType(dart.nullable(html$.Element), [core.String]), + [S.$getAnimations]: dart.fnType(core.List$(html$.Animation), []), + [S._getAttribute]: dart.fnType(dart.nullable(core.String), [core.String]), + [S._getAttributeNS]: dart.fnType(dart.nullable(core.String), [dart.nullable(core.String), core.String]), + [S.$getAttributeNames]: dart.fnType(core.List$(core.String), []), + [S.$getBoundingClientRect]: dart.fnType(math.Rectangle$(core.num), []), + [S._getClientRects]: dart.fnType(core.List$(math.Rectangle$(core.num)), []), + [S.$getDestinationInsertionPoints]: dart.fnType(core.List$(html$.Node), []), + [S.$getElementsByClassName]: dart.fnType(core.List$(html$.Node), [core.String]), + [S._getElementsByTagName]: dart.fnType(core.List$(html$.Node), [core.String]), + [S._hasAttribute]: dart.fnType(core.bool, [core.String]), + [S._hasAttributeNS]: dart.fnType(core.bool, [dart.nullable(core.String), core.String]), + [S.$hasPointerCapture]: dart.fnType(core.bool, [core.int]), + [S.$releasePointerCapture]: dart.fnType(dart.void, [core.int]), + [S._removeAttribute]: dart.fnType(dart.void, [core.String]), + [S._removeAttributeNS]: dart.fnType(dart.void, [dart.nullable(core.String), core.String]), + [S.$requestPointerLock]: dart.fnType(dart.void, []), + [S.$scroll]: dart.fnType(dart.void, [], [dart.dynamic, dart.nullable(core.num)]), + [S._scroll_1]: dart.fnType(dart.void, []), + [S._scroll_2]: dart.fnType(dart.void, [dart.dynamic]), + [S._scroll_3]: dart.fnType(dart.void, [dart.nullable(core.num), dart.dynamic]), + [S.$scrollBy]: dart.fnType(dart.void, [], [dart.dynamic, dart.nullable(core.num)]), + [S._scrollBy_1]: dart.fnType(dart.void, []), + [S._scrollBy_2]: dart.fnType(dart.void, [dart.dynamic]), + [S._scrollBy_3]: dart.fnType(dart.void, [dart.nullable(core.num), dart.dynamic]), + [S._scrollIntoView]: dart.fnType(dart.void, [], [dart.nullable(core.Object)]), + [S._scrollIntoViewIfNeeded]: dart.fnType(dart.void, [], [dart.nullable(core.bool)]), + [S.$scrollTo]: dart.fnType(dart.void, [], [dart.dynamic, dart.nullable(core.num)]), + [S._scrollTo_1]: dart.fnType(dart.void, []), + [S._scrollTo_2]: dart.fnType(dart.void, [dart.dynamic]), + [S._scrollTo_3]: dart.fnType(dart.void, [dart.nullable(core.num), dart.dynamic]), + [S._setAttribute]: dart.fnType(dart.void, [core.String, core.String]), + [S._setAttributeNS]: dart.fnType(dart.void, [dart.nullable(core.String), core.String, core.String]), + [S.$setPointerCapture]: dart.fnType(dart.void, [core.int]), + [S.$requestFullscreen]: dart.fnType(dart.void, []), + [S.$after]: dart.fnType(dart.void, [core.Object]), + [S.$before]: dart.fnType(dart.void, [core.Object]), + [S.$querySelector]: dart.fnType(dart.nullable(html$.Element), [core.String]), + [S._querySelectorAll]: dart.fnType(core.List$(html$.Node), [core.String]) + })); + dart.setGetterSignature(html$.Element, () => ({ + __proto__: dart.getGetters(html$.Element.__proto__), + [S.$attributes]: core.Map$(core.String, core.String), + [S.$children]: core.List$(html$.Element), + [S._children]: core.List$(html$.Node), + [S.$classes]: html$.CssClassSet, + [S.$dataset]: core.Map$(core.String, core.String), + [S.$client]: math.Rectangle$(core.num), + [S.$offset]: math.Rectangle$(core.num), + [S.$localName]: core.String, + [S.$namespaceUri]: dart.nullable(core.String), + [S.$shadowRoot]: dart.nullable(html$.ShadowRoot), + [S.$contentEdge]: html$.CssRect, + [S.$paddingEdge]: html$.CssRect, + [S.$borderEdge]: html$.CssRect, + [S.$marginEdge]: html$.CssRect, + [S.$documentOffset]: math.Point$(core.num), + [S._canBeUsedToCreateContextualFragment]: core.bool, + [S._cannotBeUsedToCreateContextualFragment]: core.bool, + [S.$innerHtml]: dart.nullable(core.String), + [S.$innerText]: core.String, + [S.$on]: html$.ElementEvents, + [S.$offsetParent]: dart.nullable(html$.Element), + [S.$offsetHeight]: core.int, + [S.$offsetLeft]: core.int, + [S.$offsetTop]: core.int, + [S.$offsetWidth]: core.int, + [S.$scrollHeight]: core.int, + [S.$scrollLeft]: core.int, + [S.$scrollTop]: core.int, + [S.$scrollWidth]: core.int, + [S.$contentEditable]: core.String, + [S.$dir]: dart.nullable(core.String), + [S.$draggable]: core.bool, + [S.$hidden]: core.bool, + [S.$inert]: dart.nullable(core.bool), + [S.$inputMode]: dart.nullable(core.String), + [S.$isContentEditable]: dart.nullable(core.bool), + [S.$lang]: dart.nullable(core.String), + [S.$spellcheck]: dart.nullable(core.bool), + [S.$style]: html$.CssStyleDeclaration, + [S.$tabIndex]: dart.nullable(core.int), + [S.$title]: dart.nullable(core.String), + [S.$translate]: dart.nullable(core.bool), + [S.$accessibleNode]: dart.nullable(html$.AccessibleNode), + [S.$assignedSlot]: dart.nullable(html$.SlotElement), + [S._attributes$1]: dart.nullable(html$._NamedNodeMap), + [S.$className]: core.String, + [S.$clientHeight]: core.int, + [S.$clientLeft]: dart.nullable(core.int), + [S.$clientTop]: dart.nullable(core.int), + [S.$clientWidth]: core.int, + [S.$computedName]: dart.nullable(core.String), + [S.$computedRole]: dart.nullable(core.String), + [S.$id]: core.String, + [S._innerHtml]: dart.nullable(core.String), + [S._localName]: dart.nullable(core.String), + [S._namespaceUri]: dart.nullable(core.String), + [S.$outerHtml]: dart.nullable(core.String), + [S._scrollHeight]: dart.nullable(core.int), + [S._scrollLeft]: core.num, + [S._scrollTop]: core.num, + [S._scrollWidth]: dart.nullable(core.int), + [S.$slot]: dart.nullable(core.String), + [S.$styleMap]: dart.nullable(html$.StylePropertyMap), + [S.$tagName]: core.String, + [S.$nextElementSibling]: dart.nullable(html$.Element), + [S.$previousElementSibling]: dart.nullable(html$.Element), + [S._childElementCount]: core.int, + [S._firstElementChild]: dart.nullable(html$.Element), + [S._lastElementChild]: dart.nullable(html$.Element), + [S.$onAbort]: html$.ElementStream$(html$.Event), + [S.$onBeforeCopy]: html$.ElementStream$(html$.Event), + [S.$onBeforeCut]: html$.ElementStream$(html$.Event), + [S.$onBeforePaste]: html$.ElementStream$(html$.Event), + [S.$onBlur]: html$.ElementStream$(html$.Event), + [S.$onCanPlay]: html$.ElementStream$(html$.Event), + [S.$onCanPlayThrough]: html$.ElementStream$(html$.Event), + [S.$onChange]: html$.ElementStream$(html$.Event), + [S.$onClick]: html$.ElementStream$(html$.MouseEvent), + [S.$onContextMenu]: html$.ElementStream$(html$.MouseEvent), + [S.$onCopy]: html$.ElementStream$(html$.ClipboardEvent), + [S.$onCut]: html$.ElementStream$(html$.ClipboardEvent), + [S.$onDoubleClick]: html$.ElementStream$(html$.Event), + [S.$onDrag]: html$.ElementStream$(html$.MouseEvent), + [S.$onDragEnd]: html$.ElementStream$(html$.MouseEvent), + [S.$onDragEnter]: html$.ElementStream$(html$.MouseEvent), + [S.$onDragLeave]: html$.ElementStream$(html$.MouseEvent), + [S.$onDragOver]: html$.ElementStream$(html$.MouseEvent), + [S.$onDragStart]: html$.ElementStream$(html$.MouseEvent), + [S.$onDrop]: html$.ElementStream$(html$.MouseEvent), + [S.$onDurationChange]: html$.ElementStream$(html$.Event), + [S.$onEmptied]: html$.ElementStream$(html$.Event), + [S.$onEnded]: html$.ElementStream$(html$.Event), + [S.$onError]: html$.ElementStream$(html$.Event), + [S.$onFocus]: html$.ElementStream$(html$.Event), + [S.$onInput]: html$.ElementStream$(html$.Event), + [S.$onInvalid]: html$.ElementStream$(html$.Event), + [S.$onKeyDown]: html$.ElementStream$(html$.KeyboardEvent), + [S.$onKeyPress]: html$.ElementStream$(html$.KeyboardEvent), + [S.$onKeyUp]: html$.ElementStream$(html$.KeyboardEvent), + [S.$onLoad]: html$.ElementStream$(html$.Event), + [S.$onLoadedData]: html$.ElementStream$(html$.Event), + [S.$onLoadedMetadata]: html$.ElementStream$(html$.Event), + [S.$onMouseDown]: html$.ElementStream$(html$.MouseEvent), + [S.$onMouseEnter]: html$.ElementStream$(html$.MouseEvent), + [S.$onMouseLeave]: html$.ElementStream$(html$.MouseEvent), + [S.$onMouseMove]: html$.ElementStream$(html$.MouseEvent), + [S.$onMouseOut]: html$.ElementStream$(html$.MouseEvent), + [S.$onMouseOver]: html$.ElementStream$(html$.MouseEvent), + [S.$onMouseUp]: html$.ElementStream$(html$.MouseEvent), + [S.$onMouseWheel]: html$.ElementStream$(html$.WheelEvent), + [S.$onPaste]: html$.ElementStream$(html$.ClipboardEvent), + [S.$onPause]: html$.ElementStream$(html$.Event), + [S.$onPlay]: html$.ElementStream$(html$.Event), + [S.$onPlaying]: html$.ElementStream$(html$.Event), + [S.$onRateChange]: html$.ElementStream$(html$.Event), + [S.$onReset]: html$.ElementStream$(html$.Event), + [S.$onResize]: html$.ElementStream$(html$.Event), + [S.$onScroll]: html$.ElementStream$(html$.Event), + [S.$onSearch]: html$.ElementStream$(html$.Event), + [S.$onSeeked]: html$.ElementStream$(html$.Event), + [S.$onSeeking]: html$.ElementStream$(html$.Event), + [S.$onSelect]: html$.ElementStream$(html$.Event), + [S.$onSelectStart]: html$.ElementStream$(html$.Event), + [S.$onStalled]: html$.ElementStream$(html$.Event), + [S.$onSubmit]: html$.ElementStream$(html$.Event), + [S$.$onSuspend]: html$.ElementStream$(html$.Event), + [S$.$onTimeUpdate]: html$.ElementStream$(html$.Event), + [S$.$onTouchCancel]: html$.ElementStream$(html$.TouchEvent), + [S$.$onTouchEnd]: html$.ElementStream$(html$.TouchEvent), + [S$.$onTouchEnter]: html$.ElementStream$(html$.TouchEvent), + [S$.$onTouchLeave]: html$.ElementStream$(html$.TouchEvent), + [S$.$onTouchMove]: html$.ElementStream$(html$.TouchEvent), + [S$.$onTouchStart]: html$.ElementStream$(html$.TouchEvent), + [S$.$onTransitionEnd]: html$.ElementStream$(html$.TransitionEvent), + [S$.$onVolumeChange]: html$.ElementStream$(html$.Event), + [S$.$onWaiting]: html$.ElementStream$(html$.Event), + [S$.$onFullscreenChange]: html$.ElementStream$(html$.Event), + [S$.$onFullscreenError]: html$.ElementStream$(html$.Event), + [S$.$onWheel]: html$.ElementStream$(html$.WheelEvent) + })); + dart.setSetterSignature(html$.Element, () => ({ + __proto__: dart.getSetters(html$.Element.__proto__), + [S.$attributes]: core.Map$(core.String, core.String), + [S.$children]: core.List$(html$.Element), + [S.$classes]: core.Iterable$(core.String), + [S.$dataset]: core.Map$(core.String, core.String), + [S.$innerHtml]: dart.nullable(core.String), + [S.$innerText]: core.String, + [S.$scrollLeft]: core.int, + [S.$scrollTop]: core.int, + [S.$contentEditable]: core.String, + [S.$dir]: dart.nullable(core.String), + [S.$draggable]: core.bool, + [S.$hidden]: core.bool, + [S.$inert]: dart.nullable(core.bool), + [S.$inputMode]: dart.nullable(core.String), + [S.$lang]: dart.nullable(core.String), + [S.$spellcheck]: dart.nullable(core.bool), + [S.$tabIndex]: dart.nullable(core.int), + [S.$title]: dart.nullable(core.String), + [S.$translate]: dart.nullable(core.bool), + [S.$className]: core.String, + [S.$id]: core.String, + [S._innerHtml]: dart.nullable(core.String), + [S._scrollLeft]: core.num, + [S._scrollTop]: core.num, + [S.$slot]: dart.nullable(core.String) + })); + dart.setLibraryUri(html$.Element, I[148]); + dart.defineLazy(html$.Element, { + /*html$.Element.mouseWheelEvent*/get mouseWheelEvent() { + return C[225] || CT.C225; + }, + /*html$.Element.transitionEndEvent*/get transitionEndEvent() { + return C[227] || CT.C227; + }, + /*html$.Element._parseDocument*/get _parseDocument() { + return null; + }, + set _parseDocument(_) {}, + /*html$.Element._parseRange*/get _parseRange() { + return null; + }, + set _parseRange(_) {}, + /*html$.Element._defaultValidator*/get _defaultValidator() { + return null; + }, + set _defaultValidator(_) {}, + /*html$.Element._defaultSanitizer*/get _defaultSanitizer() { + return null; + }, + set _defaultSanitizer(_) {}, + /*html$.Element._tagsForWhichCreateContextualFragmentIsNotSupported*/get _tagsForWhichCreateContextualFragmentIsNotSupported() { + return C[229] || CT.C229; + }, + /*html$.Element.abortEvent*/get abortEvent() { + return C[214] || CT.C214; + }, + /*html$.Element.beforeCopyEvent*/get beforeCopyEvent() { + return C[230] || CT.C230; + }, + /*html$.Element.beforeCutEvent*/get beforeCutEvent() { + return C[231] || CT.C231; + }, + /*html$.Element.beforePasteEvent*/get beforePasteEvent() { + return C[232] || CT.C232; + }, + /*html$.Element.blurEvent*/get blurEvent() { + return C[233] || CT.C233; + }, + /*html$.Element.canPlayEvent*/get canPlayEvent() { + return C[234] || CT.C234; + }, + /*html$.Element.canPlayThroughEvent*/get canPlayThroughEvent() { + return C[235] || CT.C235; + }, + /*html$.Element.changeEvent*/get changeEvent() { + return C[236] || CT.C236; + }, + /*html$.Element.clickEvent*/get clickEvent() { + return C[237] || CT.C237; + }, + /*html$.Element.contextMenuEvent*/get contextMenuEvent() { + return C[238] || CT.C238; + }, + /*html$.Element.copyEvent*/get copyEvent() { + return C[239] || CT.C239; + }, + /*html$.Element.cutEvent*/get cutEvent() { + return C[240] || CT.C240; + }, + /*html$.Element.doubleClickEvent*/get doubleClickEvent() { + return C[241] || CT.C241; + }, + /*html$.Element.dragEvent*/get dragEvent() { + return C[242] || CT.C242; + }, + /*html$.Element.dragEndEvent*/get dragEndEvent() { + return C[243] || CT.C243; + }, + /*html$.Element.dragEnterEvent*/get dragEnterEvent() { + return C[244] || CT.C244; + }, + /*html$.Element.dragLeaveEvent*/get dragLeaveEvent() { + return C[245] || CT.C245; + }, + /*html$.Element.dragOverEvent*/get dragOverEvent() { + return C[246] || CT.C246; + }, + /*html$.Element.dragStartEvent*/get dragStartEvent() { + return C[247] || CT.C247; + }, + /*html$.Element.dropEvent*/get dropEvent() { + return C[248] || CT.C248; + }, + /*html$.Element.durationChangeEvent*/get durationChangeEvent() { + return C[249] || CT.C249; + }, + /*html$.Element.emptiedEvent*/get emptiedEvent() { + return C[250] || CT.C250; + }, + /*html$.Element.endedEvent*/get endedEvent() { + return C[251] || CT.C251; + }, + /*html$.Element.errorEvent*/get errorEvent() { + return C[216] || CT.C216; + }, + /*html$.Element.focusEvent*/get focusEvent() { + return C[252] || CT.C252; + }, + /*html$.Element.inputEvent*/get inputEvent() { + return C[253] || CT.C253; + }, + /*html$.Element.invalidEvent*/get invalidEvent() { + return C[254] || CT.C254; + }, + /*html$.Element.keyDownEvent*/get keyDownEvent() { + return C[255] || CT.C255; + }, + /*html$.Element.keyPressEvent*/get keyPressEvent() { + return C[256] || CT.C256; + }, + /*html$.Element.keyUpEvent*/get keyUpEvent() { + return C[257] || CT.C257; + }, + /*html$.Element.loadEvent*/get loadEvent() { + return C[258] || CT.C258; + }, + /*html$.Element.loadedDataEvent*/get loadedDataEvent() { + return C[259] || CT.C259; + }, + /*html$.Element.loadedMetadataEvent*/get loadedMetadataEvent() { + return C[260] || CT.C260; + }, + /*html$.Element.mouseDownEvent*/get mouseDownEvent() { + return C[261] || CT.C261; + }, + /*html$.Element.mouseEnterEvent*/get mouseEnterEvent() { + return C[262] || CT.C262; + }, + /*html$.Element.mouseLeaveEvent*/get mouseLeaveEvent() { + return C[263] || CT.C263; + }, + /*html$.Element.mouseMoveEvent*/get mouseMoveEvent() { + return C[264] || CT.C264; + }, + /*html$.Element.mouseOutEvent*/get mouseOutEvent() { + return C[265] || CT.C265; + }, + /*html$.Element.mouseOverEvent*/get mouseOverEvent() { + return C[266] || CT.C266; + }, + /*html$.Element.mouseUpEvent*/get mouseUpEvent() { + return C[267] || CT.C267; + }, + /*html$.Element.pasteEvent*/get pasteEvent() { + return C[268] || CT.C268; + }, + /*html$.Element.pauseEvent*/get pauseEvent() { + return C[269] || CT.C269; + }, + /*html$.Element.playEvent*/get playEvent() { + return C[270] || CT.C270; + }, + /*html$.Element.playingEvent*/get playingEvent() { + return C[271] || CT.C271; + }, + /*html$.Element.rateChangeEvent*/get rateChangeEvent() { + return C[272] || CT.C272; + }, + /*html$.Element.resetEvent*/get resetEvent() { + return C[273] || CT.C273; + }, + /*html$.Element.resizeEvent*/get resizeEvent() { + return C[274] || CT.C274; + }, + /*html$.Element.scrollEvent*/get scrollEvent() { + return C[275] || CT.C275; + }, + /*html$.Element.searchEvent*/get searchEvent() { + return C[276] || CT.C276; + }, + /*html$.Element.seekedEvent*/get seekedEvent() { + return C[277] || CT.C277; + }, + /*html$.Element.seekingEvent*/get seekingEvent() { + return C[278] || CT.C278; + }, + /*html$.Element.selectEvent*/get selectEvent() { + return C[279] || CT.C279; + }, + /*html$.Element.selectStartEvent*/get selectStartEvent() { + return C[280] || CT.C280; + }, + /*html$.Element.stalledEvent*/get stalledEvent() { + return C[281] || CT.C281; + }, + /*html$.Element.submitEvent*/get submitEvent() { + return C[282] || CT.C282; + }, + /*html$.Element.suspendEvent*/get suspendEvent() { + return C[283] || CT.C283; + }, + /*html$.Element.timeUpdateEvent*/get timeUpdateEvent() { + return C[284] || CT.C284; + }, + /*html$.Element.touchCancelEvent*/get touchCancelEvent() { + return C[285] || CT.C285; + }, + /*html$.Element.touchEndEvent*/get touchEndEvent() { + return C[286] || CT.C286; + }, + /*html$.Element.touchEnterEvent*/get touchEnterEvent() { + return C[287] || CT.C287; + }, + /*html$.Element.touchLeaveEvent*/get touchLeaveEvent() { + return C[288] || CT.C288; + }, + /*html$.Element.touchMoveEvent*/get touchMoveEvent() { + return C[289] || CT.C289; + }, + /*html$.Element.touchStartEvent*/get touchStartEvent() { + return C[290] || CT.C290; + }, + /*html$.Element.volumeChangeEvent*/get volumeChangeEvent() { + return C[291] || CT.C291; + }, + /*html$.Element.waitingEvent*/get waitingEvent() { + return C[292] || CT.C292; + }, + /*html$.Element.fullscreenChangeEvent*/get fullscreenChangeEvent() { + return C[293] || CT.C293; + }, + /*html$.Element.fullscreenErrorEvent*/get fullscreenErrorEvent() { + return C[294] || CT.C294; + }, + /*html$.Element.wheelEvent*/get wheelEvent() { + return C[295] || CT.C295; + } + }, false); + dart.registerExtension("Element", html$.Element); + html$.HtmlElement = class HtmlElement extends html$.Element { + static new() { + dart.throw(new core.UnsupportedError.new("Not supported")); + } + get [S.$nonce]() { + return this.nonce; + } + set [S.$nonce](value) { + this.nonce = value; + } + }; + (html$.HtmlElement.created = function() { + html$.HtmlElement.__proto__.created.call(this); + ; + }).prototype = html$.HtmlElement.prototype; + dart.addTypeTests(html$.HtmlElement); + dart.addTypeCaches(html$.HtmlElement); + html$.HtmlElement[dart.implements] = () => [html$.NoncedElement]; + dart.setGetterSignature(html$.HtmlElement, () => ({ + __proto__: dart.getGetters(html$.HtmlElement.__proto__), + [S.$nonce]: dart.nullable(core.String) + })); + dart.setSetterSignature(html$.HtmlElement, () => ({ + __proto__: dart.getSetters(html$.HtmlElement.__proto__), + [S.$nonce]: dart.nullable(core.String) + })); + dart.setLibraryUri(html$.HtmlElement, I[148]); + dart.registerExtension("HTMLElement", html$.HtmlElement); + html$.ExtendableEvent = class ExtendableEvent$ extends html$.Event { + static new(type, eventInitDict = null) { + if (type == null) dart.nullFailed(I[147], 15843, 34, "type"); + if (eventInitDict != null) { + let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); + return html$.ExtendableEvent._create_1(type, eventInitDict_1); + } + return html$.ExtendableEvent._create_2(type); + } + static _create_1(type, eventInitDict) { + return new ExtendableEvent(type, eventInitDict); + } + static _create_2(type) { + return new ExtendableEvent(type); + } + [S$.$waitUntil](...args) { + return this.waitUntil.apply(this, args); + } + }; + dart.addTypeTests(html$.ExtendableEvent); + dart.addTypeCaches(html$.ExtendableEvent); + dart.setMethodSignature(html$.ExtendableEvent, () => ({ + __proto__: dart.getMethods(html$.ExtendableEvent.__proto__), + [S$.$waitUntil]: dart.fnType(dart.void, [async.Future]) + })); + dart.setLibraryUri(html$.ExtendableEvent, I[148]); + dart.registerExtension("ExtendableEvent", html$.ExtendableEvent); + html$.AbortPaymentEvent = class AbortPaymentEvent$ extends html$.ExtendableEvent { + static new(type, eventInitDict) { + if (type == null) dart.nullFailed(I[147], 141, 36, "type"); + if (eventInitDict == null) dart.nullFailed(I[147], 141, 46, "eventInitDict"); + let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); + return html$.AbortPaymentEvent._create_1(type, eventInitDict_1); + } + static _create_1(type, eventInitDict) { + return new AbortPaymentEvent(type, eventInitDict); + } + [S$.$respondWith](...args) { + return this.respondWith.apply(this, args); + } + }; + dart.addTypeTests(html$.AbortPaymentEvent); + dart.addTypeCaches(html$.AbortPaymentEvent); + dart.setMethodSignature(html$.AbortPaymentEvent, () => ({ + __proto__: dart.getMethods(html$.AbortPaymentEvent.__proto__), + [S$.$respondWith]: dart.fnType(dart.void, [async.Future]) + })); + dart.setLibraryUri(html$.AbortPaymentEvent, I[148]); + dart.registerExtension("AbortPaymentEvent", html$.AbortPaymentEvent); + html$.Sensor = class Sensor extends html$.EventTarget { + get [S$.$activated]() { + return this.activated; + } + get [S$.$hasReading]() { + return this.hasReading; + } + get [S$.$timestamp]() { + return this.timestamp; + } + [S$.$start](...args) { + return this.start.apply(this, args); + } + [S$.$stop](...args) { + return this.stop.apply(this, args); + } + get [S.$onError]() { + return html$.Sensor.errorEvent.forTarget(this); + } + }; + dart.addTypeTests(html$.Sensor); + dart.addTypeCaches(html$.Sensor); + dart.setMethodSignature(html$.Sensor, () => ({ + __proto__: dart.getMethods(html$.Sensor.__proto__), + [S$.$start]: dart.fnType(dart.void, []), + [S$.$stop]: dart.fnType(dart.void, []) + })); + dart.setGetterSignature(html$.Sensor, () => ({ + __proto__: dart.getGetters(html$.Sensor.__proto__), + [S$.$activated]: dart.nullable(core.bool), + [S$.$hasReading]: dart.nullable(core.bool), + [S$.$timestamp]: dart.nullable(core.num), + [S.$onError]: async.Stream$(html$.Event) + })); + dart.setLibraryUri(html$.Sensor, I[148]); + dart.defineLazy(html$.Sensor, { + /*html$.Sensor.errorEvent*/get errorEvent() { + return C[216] || CT.C216; + } + }, false); + dart.registerExtension("Sensor", html$.Sensor); + html$.OrientationSensor = class OrientationSensor extends html$.Sensor { + get [S$.$quaternion]() { + return this.quaternion; + } + [S$.$populateMatrix](...args) { + return this.populateMatrix.apply(this, args); + } + }; + dart.addTypeTests(html$.OrientationSensor); + dart.addTypeCaches(html$.OrientationSensor); + dart.setMethodSignature(html$.OrientationSensor, () => ({ + __proto__: dart.getMethods(html$.OrientationSensor.__proto__), + [S$.$populateMatrix]: dart.fnType(dart.void, [core.Object]) + })); + dart.setGetterSignature(html$.OrientationSensor, () => ({ + __proto__: dart.getGetters(html$.OrientationSensor.__proto__), + [S$.$quaternion]: dart.nullable(core.List$(core.num)) + })); + dart.setLibraryUri(html$.OrientationSensor, I[148]); + dart.registerExtension("OrientationSensor", html$.OrientationSensor); + html$.AbsoluteOrientationSensor = class AbsoluteOrientationSensor$ extends html$.OrientationSensor { + static new(sensorOptions = null) { + if (sensorOptions != null) { + let sensorOptions_1 = html_common.convertDartToNative_Dictionary(sensorOptions); + return html$.AbsoluteOrientationSensor._create_1(sensorOptions_1); + } + return html$.AbsoluteOrientationSensor._create_2(); + } + static _create_1(sensorOptions) { + return new AbsoluteOrientationSensor(sensorOptions); + } + static _create_2() { + return new AbsoluteOrientationSensor(); + } + }; + dart.addTypeTests(html$.AbsoluteOrientationSensor); + dart.addTypeCaches(html$.AbsoluteOrientationSensor); + dart.setLibraryUri(html$.AbsoluteOrientationSensor, I[148]); + dart.registerExtension("AbsoluteOrientationSensor", html$.AbsoluteOrientationSensor); + html$.AbstractWorker = class AbstractWorker extends _interceptors.Interceptor { + get onError() { + return html$.AbstractWorker.errorEvent.forTarget(this); + } + }; + dart.addTypeTests(html$.AbstractWorker); + dart.addTypeCaches(html$.AbstractWorker); + html$.AbstractWorker[dart.implements] = () => [html$.EventTarget]; + dart.setGetterSignature(html$.AbstractWorker, () => ({ + __proto__: dart.getGetters(html$.AbstractWorker.__proto__), + onError: async.Stream$(html$.Event), + [S.$onError]: async.Stream$(html$.Event) + })); + dart.setLibraryUri(html$.AbstractWorker, I[148]); + dart.defineExtensionAccessors(html$.AbstractWorker, ['onError']); + dart.defineLazy(html$.AbstractWorker, { + /*html$.AbstractWorker.errorEvent*/get errorEvent() { + return C[216] || CT.C216; + } + }, false); + html$.Accelerometer = class Accelerometer$ extends html$.Sensor { + static new(sensorOptions = null) { + if (sensorOptions != null) { + let sensorOptions_1 = html_common.convertDartToNative_Dictionary(sensorOptions); + return html$.Accelerometer._create_1(sensorOptions_1); + } + return html$.Accelerometer._create_2(); + } + static _create_1(sensorOptions) { + return new Accelerometer(sensorOptions); + } + static _create_2() { + return new Accelerometer(); + } + get [S$.$x]() { + return this.x; + } + get [S$.$y]() { + return this.y; + } + get [S$.$z]() { + return this.z; + } + }; + dart.addTypeTests(html$.Accelerometer); + dart.addTypeCaches(html$.Accelerometer); + dart.setGetterSignature(html$.Accelerometer, () => ({ + __proto__: dart.getGetters(html$.Accelerometer.__proto__), + [S$.$x]: dart.nullable(core.num), + [S$.$y]: dart.nullable(core.num), + [S$.$z]: dart.nullable(core.num) + })); + dart.setLibraryUri(html$.Accelerometer, I[148]); + dart.registerExtension("Accelerometer", html$.Accelerometer); + html$.AccessibleNode = class AccessibleNode$ extends html$.EventTarget { + static new() { + return html$.AccessibleNode._create_1(); + } + static _create_1() { + return new AccessibleNode(); + } + get [S$.$activeDescendant]() { + return this.activeDescendant; + } + set [S$.$activeDescendant](value) { + this.activeDescendant = value; + } + get [S$.$atomic]() { + return this.atomic; + } + set [S$.$atomic](value) { + this.atomic = value; + } + get [S$.$autocomplete]() { + return this.autocomplete; + } + set [S$.$autocomplete](value) { + this.autocomplete = value; + } + get [S$.$busy]() { + return this.busy; + } + set [S$.$busy](value) { + this.busy = value; + } + get [S$.$checked]() { + return this.checked; + } + set [S$.$checked](value) { + this.checked = value; + } + get [S$.$colCount]() { + return this.colCount; + } + set [S$.$colCount](value) { + this.colCount = value; + } + get [S$.$colIndex]() { + return this.colIndex; + } + set [S$.$colIndex](value) { + this.colIndex = value; + } + get [S$.$colSpan]() { + return this.colSpan; + } + set [S$.$colSpan](value) { + this.colSpan = value; + } + get [S$.$controls]() { + return this.controls; + } + set [S$.$controls](value) { + this.controls = value; + } + get [S$.$current]() { + return this.current; + } + set [S$.$current](value) { + this.current = value; + } + get [S$.$describedBy]() { + return this.describedBy; + } + set [S$.$describedBy](value) { + this.describedBy = value; + } + get [S$.$details]() { + return this.details; + } + set [S$.$details](value) { + this.details = value; + } + get [S$.$disabled]() { + return this.disabled; + } + set [S$.$disabled](value) { + this.disabled = value; + } + get [S$.$errorMessage]() { + return this.errorMessage; + } + set [S$.$errorMessage](value) { + this.errorMessage = value; + } + get [S$.$expanded]() { + return this.expanded; + } + set [S$.$expanded](value) { + this.expanded = value; + } + get [S$.$flowTo]() { + return this.flowTo; + } + set [S$.$flowTo](value) { + this.flowTo = value; + } + get [S$.$hasPopUp]() { + return this.hasPopUp; + } + set [S$.$hasPopUp](value) { + this.hasPopUp = value; + } + get [S.$hidden]() { + return this.hidden; + } + set [S.$hidden](value) { + this.hidden = value; + } + get [S$.$invalid]() { + return this.invalid; + } + set [S$.$invalid](value) { + this.invalid = value; + } + get [S$.$keyShortcuts]() { + return this.keyShortcuts; + } + set [S$.$keyShortcuts](value) { + this.keyShortcuts = value; + } + get [S$.$label]() { + return this.label; + } + set [S$.$label](value) { + this.label = value; + } + get [S$.$labeledBy]() { + return this.labeledBy; + } + set [S$.$labeledBy](value) { + this.labeledBy = value; + } + get [S$.$level]() { + return this.level; + } + set [S$.$level](value) { + this.level = value; + } + get [S$.$live]() { + return this.live; + } + set [S$.$live](value) { + this.live = value; + } + get [S$.$modal]() { + return this.modal; + } + set [S$.$modal](value) { + this.modal = value; + } + get [S$.$multiline]() { + return this.multiline; + } + set [S$.$multiline](value) { + this.multiline = value; + } + get [S$.$multiselectable]() { + return this.multiselectable; + } + set [S$.$multiselectable](value) { + this.multiselectable = value; + } + get [S$.$orientation]() { + return this.orientation; + } + set [S$.$orientation](value) { + this.orientation = value; + } + get [S$.$owns]() { + return this.owns; + } + set [S$.$owns](value) { + this.owns = value; + } + get [S$.$placeholder]() { + return this.placeholder; + } + set [S$.$placeholder](value) { + this.placeholder = value; + } + get [S$.$posInSet]() { + return this.posInSet; + } + set [S$.$posInSet](value) { + this.posInSet = value; + } + get [S$.$pressed]() { + return this.pressed; + } + set [S$.$pressed](value) { + this.pressed = value; + } + get [S$.$readOnly]() { + return this.readOnly; + } + set [S$.$readOnly](value) { + this.readOnly = value; + } + get [S$.$relevant]() { + return this.relevant; + } + set [S$.$relevant](value) { + this.relevant = value; + } + get [S$.$required]() { + return this.required; + } + set [S$.$required](value) { + this.required = value; + } + get [S$.$role]() { + return this.role; + } + set [S$.$role](value) { + this.role = value; + } + get [S$.$roleDescription]() { + return this.roleDescription; + } + set [S$.$roleDescription](value) { + this.roleDescription = value; + } + get [S$.$rowCount]() { + return this.rowCount; + } + set [S$.$rowCount](value) { + this.rowCount = value; + } + get [S$.$rowIndex]() { + return this.rowIndex; + } + set [S$.$rowIndex](value) { + this.rowIndex = value; + } + get [S$.$rowSpan]() { + return this.rowSpan; + } + set [S$.$rowSpan](value) { + this.rowSpan = value; + } + get [S$.$selected]() { + return this.selected; + } + set [S$.$selected](value) { + this.selected = value; + } + get [S$.$setSize]() { + return this.setSize; + } + set [S$.$setSize](value) { + this.setSize = value; + } + get [$sort]() { + return this.sort; + } + set [$sort](value) { + this.sort = value; + } + get [S$.$valueMax]() { + return this.valueMax; + } + set [S$.$valueMax](value) { + this.valueMax = value; + } + get [S$.$valueMin]() { + return this.valueMin; + } + set [S$.$valueMin](value) { + this.valueMin = value; + } + get [S$.$valueNow]() { + return this.valueNow; + } + set [S$.$valueNow](value) { + this.valueNow = value; + } + get [S$.$valueText]() { + return this.valueText; + } + set [S$.$valueText](value) { + this.valueText = value; + } + [S$.$appendChild](...args) { + return this.appendChild.apply(this, args); + } + get [S$.$onAccessibleClick]() { + return html$.AccessibleNode.accessibleClickEvent.forTarget(this); + } + get [S$.$onAccessibleContextMenu]() { + return html$.AccessibleNode.accessibleContextMenuEvent.forTarget(this); + } + get [S$.$onAccessibleDecrement]() { + return html$.AccessibleNode.accessibleDecrementEvent.forTarget(this); + } + get [S$.$onAccessibleFocus]() { + return html$.AccessibleNode.accessibleFocusEvent.forTarget(this); + } + get [S$.$onAccessibleIncrement]() { + return html$.AccessibleNode.accessibleIncrementEvent.forTarget(this); + } + get [S$.$onAccessibleScrollIntoView]() { + return html$.AccessibleNode.accessibleScrollIntoViewEvent.forTarget(this); + } + }; + dart.addTypeTests(html$.AccessibleNode); + dart.addTypeCaches(html$.AccessibleNode); + dart.setMethodSignature(html$.AccessibleNode, () => ({ + __proto__: dart.getMethods(html$.AccessibleNode.__proto__), + [S$.$appendChild]: dart.fnType(dart.void, [html$.AccessibleNode]) + })); + dart.setGetterSignature(html$.AccessibleNode, () => ({ + __proto__: dart.getGetters(html$.AccessibleNode.__proto__), + [S$.$activeDescendant]: dart.nullable(html$.AccessibleNode), + [S$.$atomic]: dart.nullable(core.bool), + [S$.$autocomplete]: dart.nullable(core.String), + [S$.$busy]: dart.nullable(core.bool), + [S$.$checked]: dart.nullable(core.String), + [S$.$colCount]: dart.nullable(core.int), + [S$.$colIndex]: dart.nullable(core.int), + [S$.$colSpan]: dart.nullable(core.int), + [S$.$controls]: dart.nullable(html$.AccessibleNodeList), + [S$.$current]: dart.nullable(core.String), + [S$.$describedBy]: dart.nullable(html$.AccessibleNodeList), + [S$.$details]: dart.nullable(html$.AccessibleNode), + [S$.$disabled]: dart.nullable(core.bool), + [S$.$errorMessage]: dart.nullable(html$.AccessibleNode), + [S$.$expanded]: dart.nullable(core.bool), + [S$.$flowTo]: dart.nullable(html$.AccessibleNodeList), + [S$.$hasPopUp]: dart.nullable(core.String), + [S.$hidden]: dart.nullable(core.bool), + [S$.$invalid]: dart.nullable(core.String), + [S$.$keyShortcuts]: dart.nullable(core.String), + [S$.$label]: dart.nullable(core.String), + [S$.$labeledBy]: dart.nullable(html$.AccessibleNodeList), + [S$.$level]: dart.nullable(core.int), + [S$.$live]: dart.nullable(core.String), + [S$.$modal]: dart.nullable(core.bool), + [S$.$multiline]: dart.nullable(core.bool), + [S$.$multiselectable]: dart.nullable(core.bool), + [S$.$orientation]: dart.nullable(core.String), + [S$.$owns]: dart.nullable(html$.AccessibleNodeList), + [S$.$placeholder]: dart.nullable(core.String), + [S$.$posInSet]: dart.nullable(core.int), + [S$.$pressed]: dart.nullable(core.String), + [S$.$readOnly]: dart.nullable(core.bool), + [S$.$relevant]: dart.nullable(core.String), + [S$.$required]: dart.nullable(core.bool), + [S$.$role]: dart.nullable(core.String), + [S$.$roleDescription]: dart.nullable(core.String), + [S$.$rowCount]: dart.nullable(core.int), + [S$.$rowIndex]: dart.nullable(core.int), + [S$.$rowSpan]: dart.nullable(core.int), + [S$.$selected]: dart.nullable(core.bool), + [S$.$setSize]: dart.nullable(core.int), + [$sort]: dart.nullable(core.String), + [S$.$valueMax]: dart.nullable(core.num), + [S$.$valueMin]: dart.nullable(core.num), + [S$.$valueNow]: dart.nullable(core.num), + [S$.$valueText]: dart.nullable(core.String), + [S$.$onAccessibleClick]: async.Stream$(html$.Event), + [S$.$onAccessibleContextMenu]: async.Stream$(html$.Event), + [S$.$onAccessibleDecrement]: async.Stream$(html$.Event), + [S$.$onAccessibleFocus]: async.Stream$(html$.Event), + [S$.$onAccessibleIncrement]: async.Stream$(html$.Event), + [S$.$onAccessibleScrollIntoView]: async.Stream$(html$.Event) + })); + dart.setSetterSignature(html$.AccessibleNode, () => ({ + __proto__: dart.getSetters(html$.AccessibleNode.__proto__), + [S$.$activeDescendant]: dart.nullable(html$.AccessibleNode), + [S$.$atomic]: dart.nullable(core.bool), + [S$.$autocomplete]: dart.nullable(core.String), + [S$.$busy]: dart.nullable(core.bool), + [S$.$checked]: dart.nullable(core.String), + [S$.$colCount]: dart.nullable(core.int), + [S$.$colIndex]: dart.nullable(core.int), + [S$.$colSpan]: dart.nullable(core.int), + [S$.$controls]: dart.nullable(html$.AccessibleNodeList), + [S$.$current]: dart.nullable(core.String), + [S$.$describedBy]: dart.nullable(html$.AccessibleNodeList), + [S$.$details]: dart.nullable(html$.AccessibleNode), + [S$.$disabled]: dart.nullable(core.bool), + [S$.$errorMessage]: dart.nullable(html$.AccessibleNode), + [S$.$expanded]: dart.nullable(core.bool), + [S$.$flowTo]: dart.nullable(html$.AccessibleNodeList), + [S$.$hasPopUp]: dart.nullable(core.String), + [S.$hidden]: dart.nullable(core.bool), + [S$.$invalid]: dart.nullable(core.String), + [S$.$keyShortcuts]: dart.nullable(core.String), + [S$.$label]: dart.nullable(core.String), + [S$.$labeledBy]: dart.nullable(html$.AccessibleNodeList), + [S$.$level]: dart.nullable(core.int), + [S$.$live]: dart.nullable(core.String), + [S$.$modal]: dart.nullable(core.bool), + [S$.$multiline]: dart.nullable(core.bool), + [S$.$multiselectable]: dart.nullable(core.bool), + [S$.$orientation]: dart.nullable(core.String), + [S$.$owns]: dart.nullable(html$.AccessibleNodeList), + [S$.$placeholder]: dart.nullable(core.String), + [S$.$posInSet]: dart.nullable(core.int), + [S$.$pressed]: dart.nullable(core.String), + [S$.$readOnly]: dart.nullable(core.bool), + [S$.$relevant]: dart.nullable(core.String), + [S$.$required]: dart.nullable(core.bool), + [S$.$role]: dart.nullable(core.String), + [S$.$roleDescription]: dart.nullable(core.String), + [S$.$rowCount]: dart.nullable(core.int), + [S$.$rowIndex]: dart.nullable(core.int), + [S$.$rowSpan]: dart.nullable(core.int), + [S$.$selected]: dart.nullable(core.bool), + [S$.$setSize]: dart.nullable(core.int), + [$sort]: dart.nullable(core.String), + [S$.$valueMax]: dart.nullable(core.num), + [S$.$valueMin]: dart.nullable(core.num), + [S$.$valueNow]: dart.nullable(core.num), + [S$.$valueText]: dart.nullable(core.String) + })); + dart.setLibraryUri(html$.AccessibleNode, I[148]); + dart.defineLazy(html$.AccessibleNode, { + /*html$.AccessibleNode.accessibleClickEvent*/get accessibleClickEvent() { + return C[296] || CT.C296; + }, + /*html$.AccessibleNode.accessibleContextMenuEvent*/get accessibleContextMenuEvent() { + return C[297] || CT.C297; + }, + /*html$.AccessibleNode.accessibleDecrementEvent*/get accessibleDecrementEvent() { + return C[298] || CT.C298; + }, + /*html$.AccessibleNode.accessibleFocusEvent*/get accessibleFocusEvent() { + return C[299] || CT.C299; + }, + /*html$.AccessibleNode.accessibleIncrementEvent*/get accessibleIncrementEvent() { + return C[300] || CT.C300; + }, + /*html$.AccessibleNode.accessibleScrollIntoViewEvent*/get accessibleScrollIntoViewEvent() { + return C[301] || CT.C301; + } + }, false); + dart.registerExtension("AccessibleNode", html$.AccessibleNode); + html$.AccessibleNodeList = class AccessibleNodeList$ extends _interceptors.Interceptor { + static new(nodes = null) { + if (nodes != null) { + return html$.AccessibleNodeList._create_1(nodes); + } + return html$.AccessibleNodeList._create_2(); + } + static _create_1(nodes) { + return new AccessibleNodeList(nodes); + } + static _create_2() { + return new AccessibleNodeList(); + } + get [$length]() { + return this.length; + } + set [$length](value) { + this.length = value; + } + [S$.__setter__](...args) { + return this.__setter__.apply(this, args); + } + [$add](...args) { + return this.add.apply(this, args); + } + [S$.$item](...args) { + return this.item.apply(this, args); + } + [$remove](...args) { + return this.remove.apply(this, args); + } + }; + dart.addTypeTests(html$.AccessibleNodeList); + dart.addTypeCaches(html$.AccessibleNodeList); + dart.setMethodSignature(html$.AccessibleNodeList, () => ({ + __proto__: dart.getMethods(html$.AccessibleNodeList.__proto__), + [S$.__setter__]: dart.fnType(dart.void, [core.int, html$.AccessibleNode]), + [$add]: dart.fnType(dart.void, [html$.AccessibleNode, dart.nullable(html$.AccessibleNode)]), + [S$.$item]: dart.fnType(dart.nullable(html$.AccessibleNode), [core.int]), + [$remove]: dart.fnType(dart.void, [core.int]) + })); + dart.setGetterSignature(html$.AccessibleNodeList, () => ({ + __proto__: dart.getGetters(html$.AccessibleNodeList.__proto__), + [$length]: dart.nullable(core.int) + })); + dart.setSetterSignature(html$.AccessibleNodeList, () => ({ + __proto__: dart.getSetters(html$.AccessibleNodeList.__proto__), + [$length]: dart.nullable(core.int) + })); + dart.setLibraryUri(html$.AccessibleNodeList, I[148]); + dart.registerExtension("AccessibleNodeList", html$.AccessibleNodeList); + html$.AmbientLightSensor = class AmbientLightSensor$ extends html$.Sensor { + static new(sensorOptions = null) { + if (sensorOptions != null) { + let sensorOptions_1 = html_common.convertDartToNative_Dictionary(sensorOptions); + return html$.AmbientLightSensor._create_1(sensorOptions_1); + } + return html$.AmbientLightSensor._create_2(); + } + static _create_1(sensorOptions) { + return new AmbientLightSensor(sensorOptions); + } + static _create_2() { + return new AmbientLightSensor(); + } + get [S$.$illuminance]() { + return this.illuminance; + } + }; + dart.addTypeTests(html$.AmbientLightSensor); + dart.addTypeCaches(html$.AmbientLightSensor); + dart.setGetterSignature(html$.AmbientLightSensor, () => ({ + __proto__: dart.getGetters(html$.AmbientLightSensor.__proto__), + [S$.$illuminance]: dart.nullable(core.num) + })); + dart.setLibraryUri(html$.AmbientLightSensor, I[148]); + dart.registerExtension("AmbientLightSensor", html$.AmbientLightSensor); + html$.AnchorElement = class AnchorElement extends html$.HtmlElement { + static new(opts) { + let href = opts && 'href' in opts ? opts.href : null; + let e = html$.document.createElement("a"); + if (href != null) e.href = href; + return e; + } + get [S$.$download]() { + return this.download; + } + set [S$.$download](value) { + this.download = value; + } + get [S$.$hreflang]() { + return this.hreflang; + } + set [S$.$hreflang](value) { + this.hreflang = value; + } + get [S$.$referrerPolicy]() { + return this.referrerPolicy; + } + set [S$.$referrerPolicy](value) { + this.referrerPolicy = value; + } + get [S$.$rel]() { + return this.rel; + } + set [S$.$rel](value) { + this.rel = value; + } + get [S.$target]() { + return this.target; + } + set [S.$target](value) { + this.target = value; + } + get [S.$type]() { + return this.type; + } + set [S.$type](value) { + this.type = value; + } + get [S$.$hash]() { + return this.hash; + } + set [S$.$hash](value) { + this.hash = value; + } + get [S$.$host]() { + return this.host; + } + set [S$.$host](value) { + this.host = value; + } + get [S$.$hostname]() { + return this.hostname; + } + set [S$.$hostname](value) { + this.hostname = value; + } + get [S$.$href]() { + return this.href; + } + set [S$.$href](value) { + this.href = value; + } + get [S$.$origin]() { + return this.origin; + } + get [S$.$password]() { + return this.password; + } + set [S$.$password](value) { + this.password = value; + } + get [S$.$pathname]() { + return this.pathname; + } + set [S$.$pathname](value) { + this.pathname = value; + } + get [S$.$port]() { + return this.port; + } + set [S$.$port](value) { + this.port = value; + } + get [S$.$protocol]() { + return this.protocol; + } + set [S$.$protocol](value) { + this.protocol = value; + } + get [S$.$search]() { + return this.search; + } + set [S$.$search](value) { + this.search = value; + } + get [S$.$username]() { + return this.username; + } + set [S$.$username](value) { + this.username = value; + } + [$toString]() { + return String(this); + } + }; + (html$.AnchorElement.created = function() { + html$.AnchorElement.__proto__.created.call(this); + ; + }).prototype = html$.AnchorElement.prototype; + dart.addTypeTests(html$.AnchorElement); + dart.addTypeCaches(html$.AnchorElement); + html$.AnchorElement[dart.implements] = () => [html$.HtmlHyperlinkElementUtils]; + dart.setGetterSignature(html$.AnchorElement, () => ({ + __proto__: dart.getGetters(html$.AnchorElement.__proto__), + [S$.$download]: dart.nullable(core.String), + [S$.$hreflang]: core.String, + [S$.$referrerPolicy]: dart.nullable(core.String), + [S$.$rel]: core.String, + [S.$target]: core.String, + [S.$type]: core.String, + [S$.$hash]: dart.nullable(core.String), + [S$.$host]: dart.nullable(core.String), + [S$.$hostname]: dart.nullable(core.String), + [S$.$href]: dart.nullable(core.String), + [S$.$origin]: dart.nullable(core.String), + [S$.$password]: dart.nullable(core.String), + [S$.$pathname]: dart.nullable(core.String), + [S$.$port]: dart.nullable(core.String), + [S$.$protocol]: dart.nullable(core.String), + [S$.$search]: dart.nullable(core.String), + [S$.$username]: dart.nullable(core.String) + })); + dart.setSetterSignature(html$.AnchorElement, () => ({ + __proto__: dart.getSetters(html$.AnchorElement.__proto__), + [S$.$download]: dart.nullable(core.String), + [S$.$hreflang]: core.String, + [S$.$referrerPolicy]: dart.nullable(core.String), + [S$.$rel]: core.String, + [S.$target]: core.String, + [S.$type]: core.String, + [S$.$hash]: dart.nullable(core.String), + [S$.$host]: dart.nullable(core.String), + [S$.$hostname]: dart.nullable(core.String), + [S$.$href]: dart.nullable(core.String), + [S$.$password]: dart.nullable(core.String), + [S$.$pathname]: dart.nullable(core.String), + [S$.$port]: dart.nullable(core.String), + [S$.$protocol]: dart.nullable(core.String), + [S$.$search]: dart.nullable(core.String), + [S$.$username]: dart.nullable(core.String) + })); + dart.setLibraryUri(html$.AnchorElement, I[148]); + dart.registerExtension("HTMLAnchorElement", html$.AnchorElement); + html$.Animation = class Animation$ extends html$.EventTarget { + static new(effect = null, timeline = null) { + if (timeline != null) { + return html$.Animation._create_1(effect, timeline); + } + if (effect != null) { + return html$.Animation._create_2(effect); + } + return html$.Animation._create_3(); + } + static _create_1(effect, timeline) { + return new Animation(effect, timeline); + } + static _create_2(effect) { + return new Animation(effect); + } + static _create_3() { + return new Animation(); + } + static get supported() { + return !!document.body.animate; + } + get [S$.$currentTime]() { + return this.currentTime; + } + set [S$.$currentTime](value) { + this.currentTime = value; + } + get [S$.$effect]() { + return this.effect; + } + set [S$.$effect](value) { + this.effect = value; + } + get [S$.$finished]() { + return js_util.promiseToFuture(html$.Animation, this.finished); + } + get [S.$id]() { + return this.id; + } + set [S.$id](value) { + this.id = value; + } + get [S$.$playState]() { + return this.playState; + } + get [S$.$playbackRate]() { + return this.playbackRate; + } + set [S$.$playbackRate](value) { + this.playbackRate = value; + } + get [S$.$ready]() { + return js_util.promiseToFuture(html$.Animation, this.ready); + } + get [S$.$startTime]() { + return this.startTime; + } + set [S$.$startTime](value) { + this.startTime = value; + } + get [S$.$timeline]() { + return this.timeline; + } + [S$.$cancel](...args) { + return this.cancel.apply(this, args); + } + [S$.$finish](...args) { + return this.finish.apply(this, args); + } + [S$.$pause](...args) { + return this.pause.apply(this, args); + } + [S$.$play](...args) { + return this.play.apply(this, args); + } + [S$.$reverse](...args) { + return this.reverse.apply(this, args); + } + get [S$.$onCancel]() { + return html$.Animation.cancelEvent.forTarget(this); + } + get [S$.$onFinish]() { + return html$.Animation.finishEvent.forTarget(this); + } + }; + dart.addTypeTests(html$.Animation); + dart.addTypeCaches(html$.Animation); + dart.setMethodSignature(html$.Animation, () => ({ + __proto__: dart.getMethods(html$.Animation.__proto__), + [S$.$cancel]: dart.fnType(dart.void, []), + [S$.$finish]: dart.fnType(dart.void, []), + [S$.$pause]: dart.fnType(dart.void, []), + [S$.$play]: dart.fnType(dart.void, []), + [S$.$reverse]: dart.fnType(dart.void, []) + })); + dart.setGetterSignature(html$.Animation, () => ({ + __proto__: dart.getGetters(html$.Animation.__proto__), + [S$.$currentTime]: dart.nullable(core.num), + [S$.$effect]: dart.nullable(html$.AnimationEffectReadOnly), + [S$.$finished]: async.Future$(html$.Animation), + [S.$id]: dart.nullable(core.String), + [S$.$playState]: dart.nullable(core.String), + [S$.$playbackRate]: dart.nullable(core.num), + [S$.$ready]: async.Future$(html$.Animation), + [S$.$startTime]: dart.nullable(core.num), + [S$.$timeline]: dart.nullable(html$.AnimationTimeline), + [S$.$onCancel]: async.Stream$(html$.Event), + [S$.$onFinish]: async.Stream$(html$.Event) + })); + dart.setSetterSignature(html$.Animation, () => ({ + __proto__: dart.getSetters(html$.Animation.__proto__), + [S$.$currentTime]: dart.nullable(core.num), + [S$.$effect]: dart.nullable(html$.AnimationEffectReadOnly), + [S.$id]: dart.nullable(core.String), + [S$.$playbackRate]: dart.nullable(core.num), + [S$.$startTime]: dart.nullable(core.num) + })); + dart.setLibraryUri(html$.Animation, I[148]); + dart.defineLazy(html$.Animation, { + /*html$.Animation.cancelEvent*/get cancelEvent() { + return C[302] || CT.C302; + }, + /*html$.Animation.finishEvent*/get finishEvent() { + return C[303] || CT.C303; + } + }, false); + dart.registerExtension("Animation", html$.Animation); + html$.AnimationEffectReadOnly = class AnimationEffectReadOnly extends _interceptors.Interceptor { + get [S$.$timing]() { + return this.timing; + } + [S$.$getComputedTiming]() { + return dart.nullCheck(html_common.convertNativeToDart_Dictionary(this[S$._getComputedTiming_1]())); + } + [S$._getComputedTiming_1](...args) { + return this.getComputedTiming.apply(this, args); + } + }; + dart.addTypeTests(html$.AnimationEffectReadOnly); + dart.addTypeCaches(html$.AnimationEffectReadOnly); + dart.setMethodSignature(html$.AnimationEffectReadOnly, () => ({ + __proto__: dart.getMethods(html$.AnimationEffectReadOnly.__proto__), + [S$.$getComputedTiming]: dart.fnType(core.Map, []), + [S$._getComputedTiming_1]: dart.fnType(dart.dynamic, []) + })); + dart.setGetterSignature(html$.AnimationEffectReadOnly, () => ({ + __proto__: dart.getGetters(html$.AnimationEffectReadOnly.__proto__), + [S$.$timing]: dart.nullable(html$.AnimationEffectTimingReadOnly) + })); + dart.setLibraryUri(html$.AnimationEffectReadOnly, I[148]); + dart.registerExtension("AnimationEffectReadOnly", html$.AnimationEffectReadOnly); + html$.AnimationEffectTimingReadOnly = class AnimationEffectTimingReadOnly extends _interceptors.Interceptor { + get [S$.$delay]() { + return this.delay; + } + get [S.$direction]() { + return this.direction; + } + get [S$.$duration]() { + return this.duration; + } + get [S$.$easing]() { + return this.easing; + } + get [S$.$endDelay]() { + return this.endDelay; + } + get [S$.$fill]() { + return this.fill; + } + get [S$.$iterationStart]() { + return this.iterationStart; + } + get [S$.$iterations]() { + return this.iterations; + } + }; + dart.addTypeTests(html$.AnimationEffectTimingReadOnly); + dart.addTypeCaches(html$.AnimationEffectTimingReadOnly); + dart.setGetterSignature(html$.AnimationEffectTimingReadOnly, () => ({ + __proto__: dart.getGetters(html$.AnimationEffectTimingReadOnly.__proto__), + [S$.$delay]: dart.nullable(core.num), + [S.$direction]: dart.nullable(core.String), + [S$.$duration]: dart.nullable(core.Object), + [S$.$easing]: dart.nullable(core.String), + [S$.$endDelay]: dart.nullable(core.num), + [S$.$fill]: dart.nullable(core.String), + [S$.$iterationStart]: dart.nullable(core.num), + [S$.$iterations]: dart.nullable(core.num) + })); + dart.setLibraryUri(html$.AnimationEffectTimingReadOnly, I[148]); + dart.registerExtension("AnimationEffectTimingReadOnly", html$.AnimationEffectTimingReadOnly); + html$.AnimationEffectTiming = class AnimationEffectTiming extends html$.AnimationEffectTimingReadOnly { + get [S$.$delay]() { + return this.delay; + } + set [S$.$delay](value) { + this.delay = value; + } + get [S.$direction]() { + return this.direction; + } + set [S.$direction](value) { + this.direction = value; + } + get [S$.$duration]() { + return this.duration; + } + set [S$.$duration](value) { + this.duration = value; + } + get [S$.$easing]() { + return this.easing; + } + set [S$.$easing](value) { + this.easing = value; + } + get [S$.$endDelay]() { + return this.endDelay; + } + set [S$.$endDelay](value) { + this.endDelay = value; + } + get [S$.$fill]() { + return this.fill; + } + set [S$.$fill](value) { + this.fill = value; + } + get [S$.$iterationStart]() { + return this.iterationStart; + } + set [S$.$iterationStart](value) { + this.iterationStart = value; + } + get [S$.$iterations]() { + return this.iterations; + } + set [S$.$iterations](value) { + this.iterations = value; + } + }; + dart.addTypeTests(html$.AnimationEffectTiming); + dart.addTypeCaches(html$.AnimationEffectTiming); + dart.setSetterSignature(html$.AnimationEffectTiming, () => ({ + __proto__: dart.getSetters(html$.AnimationEffectTiming.__proto__), + [S$.$delay]: dart.nullable(core.num), + [S.$direction]: dart.nullable(core.String), + [S$.$duration]: dart.nullable(core.Object), + [S$.$easing]: dart.nullable(core.String), + [S$.$endDelay]: dart.nullable(core.num), + [S$.$fill]: dart.nullable(core.String), + [S$.$iterationStart]: dart.nullable(core.num), + [S$.$iterations]: dart.nullable(core.num) + })); + dart.setLibraryUri(html$.AnimationEffectTiming, I[148]); + dart.registerExtension("AnimationEffectTiming", html$.AnimationEffectTiming); + html$.AnimationEvent = class AnimationEvent$ extends html$.Event { + static new(type, eventInitDict = null) { + if (type == null) dart.nullFailed(I[147], 821, 33, "type"); + if (eventInitDict != null) { + let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); + return html$.AnimationEvent._create_1(type, eventInitDict_1); + } + return html$.AnimationEvent._create_2(type); + } + static _create_1(type, eventInitDict) { + return new AnimationEvent(type, eventInitDict); + } + static _create_2(type) { + return new AnimationEvent(type); + } + get [S$.$animationName]() { + return this.animationName; + } + get [S$.$elapsedTime]() { + return this.elapsedTime; + } + }; + dart.addTypeTests(html$.AnimationEvent); + dart.addTypeCaches(html$.AnimationEvent); + dart.setGetterSignature(html$.AnimationEvent, () => ({ + __proto__: dart.getGetters(html$.AnimationEvent.__proto__), + [S$.$animationName]: dart.nullable(core.String), + [S$.$elapsedTime]: dart.nullable(core.num) + })); + dart.setLibraryUri(html$.AnimationEvent, I[148]); + dart.registerExtension("AnimationEvent", html$.AnimationEvent); + html$.AnimationPlaybackEvent = class AnimationPlaybackEvent$ extends html$.Event { + static new(type, eventInitDict = null) { + if (type == null) dart.nullFailed(I[147], 848, 41, "type"); + if (eventInitDict != null) { + let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); + return html$.AnimationPlaybackEvent._create_1(type, eventInitDict_1); + } + return html$.AnimationPlaybackEvent._create_2(type); + } + static _create_1(type, eventInitDict) { + return new AnimationPlaybackEvent(type, eventInitDict); + } + static _create_2(type) { + return new AnimationPlaybackEvent(type); + } + get [S$.$currentTime]() { + return this.currentTime; + } + get [S$.$timelineTime]() { + return this.timelineTime; + } + }; + dart.addTypeTests(html$.AnimationPlaybackEvent); + dart.addTypeCaches(html$.AnimationPlaybackEvent); + dart.setGetterSignature(html$.AnimationPlaybackEvent, () => ({ + __proto__: dart.getGetters(html$.AnimationPlaybackEvent.__proto__), + [S$.$currentTime]: dart.nullable(core.num), + [S$.$timelineTime]: dart.nullable(core.num) + })); + dart.setLibraryUri(html$.AnimationPlaybackEvent, I[148]); + dart.registerExtension("AnimationPlaybackEvent", html$.AnimationPlaybackEvent); + html$.AnimationTimeline = class AnimationTimeline extends _interceptors.Interceptor { + get [S$.$currentTime]() { + return this.currentTime; + } + }; + dart.addTypeTests(html$.AnimationTimeline); + dart.addTypeCaches(html$.AnimationTimeline); + dart.setGetterSignature(html$.AnimationTimeline, () => ({ + __proto__: dart.getGetters(html$.AnimationTimeline.__proto__), + [S$.$currentTime]: dart.nullable(core.num) + })); + dart.setLibraryUri(html$.AnimationTimeline, I[148]); + dart.registerExtension("AnimationTimeline", html$.AnimationTimeline); + html$.WorkletGlobalScope = class WorkletGlobalScope extends _interceptors.Interceptor {}; + dart.addTypeTests(html$.WorkletGlobalScope); + dart.addTypeCaches(html$.WorkletGlobalScope); + dart.setLibraryUri(html$.WorkletGlobalScope, I[148]); + dart.registerExtension("WorkletGlobalScope", html$.WorkletGlobalScope); + html$.AnimationWorkletGlobalScope = class AnimationWorkletGlobalScope extends html$.WorkletGlobalScope { + [S$.$registerAnimator](...args) { + return this.registerAnimator.apply(this, args); + } + }; + dart.addTypeTests(html$.AnimationWorkletGlobalScope); + dart.addTypeCaches(html$.AnimationWorkletGlobalScope); + dart.setMethodSignature(html$.AnimationWorkletGlobalScope, () => ({ + __proto__: dart.getMethods(html$.AnimationWorkletGlobalScope.__proto__), + [S$.$registerAnimator]: dart.fnType(dart.void, [core.String, core.Object]) + })); + dart.setLibraryUri(html$.AnimationWorkletGlobalScope, I[148]); + dart.registerExtension("AnimationWorkletGlobalScope", html$.AnimationWorkletGlobalScope); + html$.ApplicationCache = class ApplicationCache extends html$.EventTarget { + static get supported() { + return !!window.applicationCache; + } + get [S$.$status]() { + return this.status; + } + [S.$abort](...args) { + return this.abort.apply(this, args); + } + [S$.$swapCache](...args) { + return this.swapCache.apply(this, args); + } + [$update](...args) { + return this.update.apply(this, args); + } + get [S$.$onCached]() { + return html$.ApplicationCache.cachedEvent.forTarget(this); + } + get [S$.$onChecking]() { + return html$.ApplicationCache.checkingEvent.forTarget(this); + } + get [S$.$onDownloading]() { + return html$.ApplicationCache.downloadingEvent.forTarget(this); + } + get [S.$onError]() { + return html$.ApplicationCache.errorEvent.forTarget(this); + } + get [S$.$onNoUpdate]() { + return html$.ApplicationCache.noUpdateEvent.forTarget(this); + } + get [S$.$onObsolete]() { + return html$.ApplicationCache.obsoleteEvent.forTarget(this); + } + get [S$.$onProgress]() { + return html$.ApplicationCache.progressEvent.forTarget(this); + } + get [S$.$onUpdateReady]() { + return html$.ApplicationCache.updateReadyEvent.forTarget(this); + } + }; + dart.addTypeTests(html$.ApplicationCache); + dart.addTypeCaches(html$.ApplicationCache); + dart.setMethodSignature(html$.ApplicationCache, () => ({ + __proto__: dart.getMethods(html$.ApplicationCache.__proto__), + [S.$abort]: dart.fnType(dart.void, []), + [S$.$swapCache]: dart.fnType(dart.void, []), + [$update]: dart.fnType(dart.void, []) + })); + dart.setGetterSignature(html$.ApplicationCache, () => ({ + __proto__: dart.getGetters(html$.ApplicationCache.__proto__), + [S$.$status]: dart.nullable(core.int), + [S$.$onCached]: async.Stream$(html$.Event), + [S$.$onChecking]: async.Stream$(html$.Event), + [S$.$onDownloading]: async.Stream$(html$.Event), + [S.$onError]: async.Stream$(html$.Event), + [S$.$onNoUpdate]: async.Stream$(html$.Event), + [S$.$onObsolete]: async.Stream$(html$.Event), + [S$.$onProgress]: async.Stream$(html$.ProgressEvent), + [S$.$onUpdateReady]: async.Stream$(html$.Event) + })); + dart.setLibraryUri(html$.ApplicationCache, I[148]); + dart.defineLazy(html$.ApplicationCache, { + /*html$.ApplicationCache.cachedEvent*/get cachedEvent() { + return C[304] || CT.C304; + }, + /*html$.ApplicationCache.checkingEvent*/get checkingEvent() { + return C[305] || CT.C305; + }, + /*html$.ApplicationCache.downloadingEvent*/get downloadingEvent() { + return C[306] || CT.C306; + }, + /*html$.ApplicationCache.errorEvent*/get errorEvent() { + return C[216] || CT.C216; + }, + /*html$.ApplicationCache.noUpdateEvent*/get noUpdateEvent() { + return C[307] || CT.C307; + }, + /*html$.ApplicationCache.obsoleteEvent*/get obsoleteEvent() { + return C[308] || CT.C308; + }, + /*html$.ApplicationCache.progressEvent*/get progressEvent() { + return C[309] || CT.C309; + }, + /*html$.ApplicationCache.updateReadyEvent*/get updateReadyEvent() { + return C[310] || CT.C310; + }, + /*html$.ApplicationCache.CHECKING*/get CHECKING() { + return 2; + }, + /*html$.ApplicationCache.DOWNLOADING*/get DOWNLOADING() { + return 3; + }, + /*html$.ApplicationCache.IDLE*/get IDLE() { + return 1; + }, + /*html$.ApplicationCache.OBSOLETE*/get OBSOLETE() { + return 5; + }, + /*html$.ApplicationCache.UNCACHED*/get UNCACHED() { + return 0; + }, + /*html$.ApplicationCache.UPDATEREADY*/get UPDATEREADY() { + return 4; + } + }, false); + dart.registerExtension("ApplicationCache", html$.ApplicationCache); + dart.registerExtension("DOMApplicationCache", html$.ApplicationCache); + dart.registerExtension("OfflineResourceList", html$.ApplicationCache); + html$.ApplicationCacheErrorEvent = class ApplicationCacheErrorEvent$ extends html$.Event { + static new(type, eventInitDict = null) { + if (type == null) dart.nullFailed(I[147], 1043, 45, "type"); + if (eventInitDict != null) { + let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); + return html$.ApplicationCacheErrorEvent._create_1(type, eventInitDict_1); + } + return html$.ApplicationCacheErrorEvent._create_2(type); + } + static _create_1(type, eventInitDict) { + return new ApplicationCacheErrorEvent(type, eventInitDict); + } + static _create_2(type) { + return new ApplicationCacheErrorEvent(type); + } + get [$message]() { + return this.message; + } + get [S$.$reason]() { + return this.reason; + } + get [S$.$status]() { + return this.status; + } + get [S$.$url]() { + return this.url; + } + }; + dart.addTypeTests(html$.ApplicationCacheErrorEvent); + dart.addTypeCaches(html$.ApplicationCacheErrorEvent); + dart.setGetterSignature(html$.ApplicationCacheErrorEvent, () => ({ + __proto__: dart.getGetters(html$.ApplicationCacheErrorEvent.__proto__), + [$message]: dart.nullable(core.String), + [S$.$reason]: dart.nullable(core.String), + [S$.$status]: dart.nullable(core.int), + [S$.$url]: dart.nullable(core.String) + })); + dart.setLibraryUri(html$.ApplicationCacheErrorEvent, I[148]); + dart.registerExtension("ApplicationCacheErrorEvent", html$.ApplicationCacheErrorEvent); + html$.AreaElement = class AreaElement extends html$.HtmlElement { + static new() { + return html$.document.createElement("area"); + } + get [S$.$alt]() { + return this.alt; + } + set [S$.$alt](value) { + this.alt = value; + } + get [S$.$coords]() { + return this.coords; + } + set [S$.$coords](value) { + this.coords = value; + } + get [S$.$download]() { + return this.download; + } + set [S$.$download](value) { + this.download = value; + } + get [S$.$referrerPolicy]() { + return this.referrerPolicy; + } + set [S$.$referrerPolicy](value) { + this.referrerPolicy = value; + } + get [S$.$rel]() { + return this.rel; + } + set [S$.$rel](value) { + this.rel = value; + } + get [S$.$shape]() { + return this.shape; + } + set [S$.$shape](value) { + this.shape = value; + } + get [S.$target]() { + return this.target; + } + set [S.$target](value) { + this.target = value; + } + get [S$.$hash]() { + return this.hash; + } + set [S$.$hash](value) { + this.hash = value; + } + get [S$.$host]() { + return this.host; + } + set [S$.$host](value) { + this.host = value; + } + get [S$.$hostname]() { + return this.hostname; + } + set [S$.$hostname](value) { + this.hostname = value; + } + get [S$.$href]() { + return this.href; + } + set [S$.$href](value) { + this.href = value; + } + get [S$.$origin]() { + return this.origin; + } + get [S$.$password]() { + return this.password; + } + set [S$.$password](value) { + this.password = value; + } + get [S$.$pathname]() { + return this.pathname; + } + set [S$.$pathname](value) { + this.pathname = value; + } + get [S$.$port]() { + return this.port; + } + set [S$.$port](value) { + this.port = value; + } + get [S$.$protocol]() { + return this.protocol; + } + set [S$.$protocol](value) { + this.protocol = value; + } + get [S$.$search]() { + return this.search; + } + set [S$.$search](value) { + this.search = value; + } + get [S$.$username]() { + return this.username; + } + set [S$.$username](value) { + this.username = value; + } + [$toString]() { + return String(this); + } + }; + (html$.AreaElement.created = function() { + html$.AreaElement.__proto__.created.call(this); + ; + }).prototype = html$.AreaElement.prototype; + dart.addTypeTests(html$.AreaElement); + dart.addTypeCaches(html$.AreaElement); + html$.AreaElement[dart.implements] = () => [html$.HtmlHyperlinkElementUtils]; + dart.setGetterSignature(html$.AreaElement, () => ({ + __proto__: dart.getGetters(html$.AreaElement.__proto__), + [S$.$alt]: core.String, + [S$.$coords]: core.String, + [S$.$download]: dart.nullable(core.String), + [S$.$referrerPolicy]: dart.nullable(core.String), + [S$.$rel]: core.String, + [S$.$shape]: core.String, + [S.$target]: core.String, + [S$.$hash]: dart.nullable(core.String), + [S$.$host]: dart.nullable(core.String), + [S$.$hostname]: dart.nullable(core.String), + [S$.$href]: dart.nullable(core.String), + [S$.$origin]: dart.nullable(core.String), + [S$.$password]: dart.nullable(core.String), + [S$.$pathname]: dart.nullable(core.String), + [S$.$port]: dart.nullable(core.String), + [S$.$protocol]: dart.nullable(core.String), + [S$.$search]: dart.nullable(core.String), + [S$.$username]: dart.nullable(core.String) + })); + dart.setSetterSignature(html$.AreaElement, () => ({ + __proto__: dart.getSetters(html$.AreaElement.__proto__), + [S$.$alt]: core.String, + [S$.$coords]: core.String, + [S$.$download]: dart.nullable(core.String), + [S$.$referrerPolicy]: dart.nullable(core.String), + [S$.$rel]: core.String, + [S$.$shape]: core.String, + [S.$target]: core.String, + [S$.$hash]: dart.nullable(core.String), + [S$.$host]: dart.nullable(core.String), + [S$.$hostname]: dart.nullable(core.String), + [S$.$href]: dart.nullable(core.String), + [S$.$password]: dart.nullable(core.String), + [S$.$pathname]: dart.nullable(core.String), + [S$.$port]: dart.nullable(core.String), + [S$.$protocol]: dart.nullable(core.String), + [S$.$search]: dart.nullable(core.String), + [S$.$username]: dart.nullable(core.String) + })); + dart.setLibraryUri(html$.AreaElement, I[148]); + dart.registerExtension("HTMLAreaElement", html$.AreaElement); + html$.MediaElement = class MediaElement extends html$.HtmlElement { + get [S$.$audioTracks]() { + return this.audioTracks; + } + get [S$.$autoplay]() { + return this.autoplay; + } + set [S$.$autoplay](value) { + this.autoplay = value; + } + get [S$.$buffered]() { + return this.buffered; + } + get [S$.$controls]() { + return this.controls; + } + set [S$.$controls](value) { + this.controls = value; + } + get [S$.$controlsList]() { + return this.controlsList; + } + get [S$.$crossOrigin]() { + return this.crossOrigin; + } + set [S$.$crossOrigin](value) { + this.crossOrigin = value; + } + get [S$.$currentSrc]() { + return this.currentSrc; + } + get [S$.$currentTime]() { + return this.currentTime; + } + set [S$.$currentTime](value) { + this.currentTime = value; + } + get [S$.$defaultMuted]() { + return this.defaultMuted; + } + set [S$.$defaultMuted](value) { + this.defaultMuted = value; + } + get [S$.$defaultPlaybackRate]() { + return this.defaultPlaybackRate; + } + set [S$.$defaultPlaybackRate](value) { + this.defaultPlaybackRate = value; + } + get [S$.$disableRemotePlayback]() { + return this.disableRemotePlayback; + } + set [S$.$disableRemotePlayback](value) { + this.disableRemotePlayback = value; + } + get [S$.$duration]() { + return this.duration; + } + get [S$.$ended]() { + return this.ended; + } + get [S.$error]() { + return this.error; + } + get [S$.$loop]() { + return this.loop; + } + set [S$.$loop](value) { + this.loop = value; + } + get [S$.$mediaKeys]() { + return this.mediaKeys; + } + get [S$.$muted]() { + return this.muted; + } + set [S$.$muted](value) { + this.muted = value; + } + get [S$.$networkState]() { + return this.networkState; + } + get [S$.$paused]() { + return this.paused; + } + get [S$.$playbackRate]() { + return this.playbackRate; + } + set [S$.$playbackRate](value) { + this.playbackRate = value; + } + get [S$.$played]() { + return this.played; + } + get [S$.$preload]() { + return this.preload; + } + set [S$.$preload](value) { + this.preload = value; + } + get [S.$readyState]() { + return this.readyState; + } + get [S$.$remote]() { + return this.remote; + } + get [S$.$seekable]() { + return this.seekable; + } + get [S$.$seeking]() { + return this.seeking; + } + get [S$.$sinkId]() { + return this.sinkId; + } + get [S$.$src]() { + return this.src; + } + set [S$.$src](value) { + this.src = value; + } + get [S$.$srcObject]() { + return this.srcObject; + } + set [S$.$srcObject](value) { + this.srcObject = value; + } + get [S$.$textTracks]() { + return this.textTracks; + } + get [S$.$videoTracks]() { + return this.videoTracks; + } + get [S$.$volume]() { + return this.volume; + } + set [S$.$volume](value) { + this.volume = value; + } + get [S$.$audioDecodedByteCount]() { + return this.webkitAudioDecodedByteCount; + } + get [S$.$videoDecodedByteCount]() { + return this.webkitVideoDecodedByteCount; + } + [S$.$addTextTrack](...args) { + return this.addTextTrack.apply(this, args); + } + [S$.$canPlayType](...args) { + return this.canPlayType.apply(this, args); + } + [S$.$captureStream](...args) { + return this.captureStream.apply(this, args); + } + [S$.$load](...args) { + return this.load.apply(this, args); + } + [S$.$pause](...args) { + return this.pause.apply(this, args); + } + [S$.$play]() { + return js_util.promiseToFuture(dart.dynamic, this.play()); + } + [S$.$setMediaKeys](mediaKeys) { + return js_util.promiseToFuture(dart.dynamic, this.setMediaKeys(mediaKeys)); + } + [S$.$setSinkId](sinkId) { + if (sinkId == null) dart.nullFailed(I[147], 20715, 27, "sinkId"); + return js_util.promiseToFuture(dart.dynamic, this.setSinkId(sinkId)); + } + }; + (html$.MediaElement.created = function() { + html$.MediaElement.__proto__.created.call(this); + ; + }).prototype = html$.MediaElement.prototype; + dart.addTypeTests(html$.MediaElement); + dart.addTypeCaches(html$.MediaElement); + dart.setMethodSignature(html$.MediaElement, () => ({ + __proto__: dart.getMethods(html$.MediaElement.__proto__), + [S$.$addTextTrack]: dart.fnType(html$.TextTrack, [core.String], [dart.nullable(core.String), dart.nullable(core.String)]), + [S$.$canPlayType]: dart.fnType(core.String, [dart.nullable(core.String)], [dart.nullable(core.String)]), + [S$.$captureStream]: dart.fnType(html$.MediaStream, []), + [S$.$load]: dart.fnType(dart.void, []), + [S$.$pause]: dart.fnType(dart.void, []), + [S$.$play]: dart.fnType(async.Future, []), + [S$.$setMediaKeys]: dart.fnType(async.Future, [dart.nullable(html$.MediaKeys)]), + [S$.$setSinkId]: dart.fnType(async.Future, [core.String]) + })); + dart.setGetterSignature(html$.MediaElement, () => ({ + __proto__: dart.getGetters(html$.MediaElement.__proto__), + [S$.$audioTracks]: dart.nullable(web_audio.AudioTrackList), + [S$.$autoplay]: core.bool, + [S$.$buffered]: html$.TimeRanges, + [S$.$controls]: core.bool, + [S$.$controlsList]: dart.nullable(html$.DomTokenList), + [S$.$crossOrigin]: dart.nullable(core.String), + [S$.$currentSrc]: core.String, + [S$.$currentTime]: core.num, + [S$.$defaultMuted]: dart.nullable(core.bool), + [S$.$defaultPlaybackRate]: core.num, + [S$.$disableRemotePlayback]: core.bool, + [S$.$duration]: core.num, + [S$.$ended]: core.bool, + [S.$error]: dart.nullable(html$.MediaError), + [S$.$loop]: core.bool, + [S$.$mediaKeys]: dart.nullable(html$.MediaKeys), + [S$.$muted]: core.bool, + [S$.$networkState]: dart.nullable(core.int), + [S$.$paused]: core.bool, + [S$.$playbackRate]: core.num, + [S$.$played]: html$.TimeRanges, + [S$.$preload]: core.String, + [S.$readyState]: core.int, + [S$.$remote]: dart.nullable(html$.RemotePlayback), + [S$.$seekable]: html$.TimeRanges, + [S$.$seeking]: core.bool, + [S$.$sinkId]: dart.nullable(core.String), + [S$.$src]: core.String, + [S$.$srcObject]: dart.nullable(html$.MediaStream), + [S$.$textTracks]: dart.nullable(html$.TextTrackList), + [S$.$videoTracks]: dart.nullable(html$.VideoTrackList), + [S$.$volume]: core.num, + [S$.$audioDecodedByteCount]: dart.nullable(core.int), + [S$.$videoDecodedByteCount]: dart.nullable(core.int) + })); + dart.setSetterSignature(html$.MediaElement, () => ({ + __proto__: dart.getSetters(html$.MediaElement.__proto__), + [S$.$autoplay]: core.bool, + [S$.$controls]: core.bool, + [S$.$crossOrigin]: dart.nullable(core.String), + [S$.$currentTime]: core.num, + [S$.$defaultMuted]: dart.nullable(core.bool), + [S$.$defaultPlaybackRate]: core.num, + [S$.$disableRemotePlayback]: core.bool, + [S$.$loop]: core.bool, + [S$.$muted]: core.bool, + [S$.$playbackRate]: core.num, + [S$.$preload]: core.String, + [S$.$src]: core.String, + [S$.$srcObject]: dart.nullable(html$.MediaStream), + [S$.$volume]: core.num + })); + dart.setLibraryUri(html$.MediaElement, I[148]); + dart.defineLazy(html$.MediaElement, { + /*html$.MediaElement.HAVE_CURRENT_DATA*/get HAVE_CURRENT_DATA() { + return 2; + }, + /*html$.MediaElement.HAVE_ENOUGH_DATA*/get HAVE_ENOUGH_DATA() { + return 4; + }, + /*html$.MediaElement.HAVE_FUTURE_DATA*/get HAVE_FUTURE_DATA() { + return 3; + }, + /*html$.MediaElement.HAVE_METADATA*/get HAVE_METADATA() { + return 1; + }, + /*html$.MediaElement.HAVE_NOTHING*/get HAVE_NOTHING() { + return 0; + }, + /*html$.MediaElement.NETWORK_EMPTY*/get NETWORK_EMPTY() { + return 0; + }, + /*html$.MediaElement.NETWORK_IDLE*/get NETWORK_IDLE() { + return 1; + }, + /*html$.MediaElement.NETWORK_LOADING*/get NETWORK_LOADING() { + return 2; + }, + /*html$.MediaElement.NETWORK_NO_SOURCE*/get NETWORK_NO_SOURCE() { + return 3; + } + }, false); + dart.registerExtension("HTMLMediaElement", html$.MediaElement); + html$.AudioElement = class AudioElement extends html$.MediaElement { + static __(src = null) { + if (src != null) { + return html$.AudioElement._create_1(src); + } + return html$.AudioElement._create_2(); + } + static _create_1(src) { + return new Audio(src); + } + static _create_2() { + return new Audio(); + } + static new(src = null) { + return html$.AudioElement.__(src); + } + }; + (html$.AudioElement.created = function() { + html$.AudioElement.__proto__.created.call(this); + ; + }).prototype = html$.AudioElement.prototype; + dart.addTypeTests(html$.AudioElement); + dart.addTypeCaches(html$.AudioElement); + dart.setLibraryUri(html$.AudioElement, I[148]); + dart.registerExtension("HTMLAudioElement", html$.AudioElement); + html$.AuthenticatorResponse = class AuthenticatorResponse extends _interceptors.Interceptor { + get [S$.$clientDataJson]() { + return this.clientDataJSON; + } + }; + dart.addTypeTests(html$.AuthenticatorResponse); + dart.addTypeCaches(html$.AuthenticatorResponse); + dart.setGetterSignature(html$.AuthenticatorResponse, () => ({ + __proto__: dart.getGetters(html$.AuthenticatorResponse.__proto__), + [S$.$clientDataJson]: dart.nullable(typed_data.ByteBuffer) + })); + dart.setLibraryUri(html$.AuthenticatorResponse, I[148]); + dart.registerExtension("AuthenticatorResponse", html$.AuthenticatorResponse); + html$.AuthenticatorAssertionResponse = class AuthenticatorAssertionResponse extends html$.AuthenticatorResponse { + get [S$.$authenticatorData]() { + return this.authenticatorData; + } + get [S$.$signature]() { + return this.signature; + } + }; + dart.addTypeTests(html$.AuthenticatorAssertionResponse); + dart.addTypeCaches(html$.AuthenticatorAssertionResponse); + dart.setGetterSignature(html$.AuthenticatorAssertionResponse, () => ({ + __proto__: dart.getGetters(html$.AuthenticatorAssertionResponse.__proto__), + [S$.$authenticatorData]: dart.nullable(typed_data.ByteBuffer), + [S$.$signature]: dart.nullable(typed_data.ByteBuffer) + })); + dart.setLibraryUri(html$.AuthenticatorAssertionResponse, I[148]); + dart.registerExtension("AuthenticatorAssertionResponse", html$.AuthenticatorAssertionResponse); + html$.AuthenticatorAttestationResponse = class AuthenticatorAttestationResponse extends html$.AuthenticatorResponse { + get [S$.$attestationObject]() { + return this.attestationObject; + } + }; + dart.addTypeTests(html$.AuthenticatorAttestationResponse); + dart.addTypeCaches(html$.AuthenticatorAttestationResponse); + dart.setGetterSignature(html$.AuthenticatorAttestationResponse, () => ({ + __proto__: dart.getGetters(html$.AuthenticatorAttestationResponse.__proto__), + [S$.$attestationObject]: dart.nullable(typed_data.ByteBuffer) + })); + dart.setLibraryUri(html$.AuthenticatorAttestationResponse, I[148]); + dart.registerExtension("AuthenticatorAttestationResponse", html$.AuthenticatorAttestationResponse); + html$.BRElement = class BRElement extends html$.HtmlElement { + static new() { + return html$.document.createElement("br"); + } + }; + (html$.BRElement.created = function() { + html$.BRElement.__proto__.created.call(this); + ; + }).prototype = html$.BRElement.prototype; + dart.addTypeTests(html$.BRElement); + dart.addTypeCaches(html$.BRElement); + dart.setLibraryUri(html$.BRElement, I[148]); + dart.registerExtension("HTMLBRElement", html$.BRElement); + html$.BackgroundFetchEvent = class BackgroundFetchEvent$ extends html$.ExtendableEvent { + static new(type, init) { + if (type == null) dart.nullFailed(I[147], 1295, 39, "type"); + if (init == null) dart.nullFailed(I[147], 1295, 49, "init"); + let init_1 = html_common.convertDartToNative_Dictionary(init); + return html$.BackgroundFetchEvent._create_1(type, init_1); + } + static _create_1(type, init) { + return new BackgroundFetchEvent(type, init); + } + get [S.$id]() { + return this.id; + } + }; + dart.addTypeTests(html$.BackgroundFetchEvent); + dart.addTypeCaches(html$.BackgroundFetchEvent); + dart.setGetterSignature(html$.BackgroundFetchEvent, () => ({ + __proto__: dart.getGetters(html$.BackgroundFetchEvent.__proto__), + [S.$id]: dart.nullable(core.String) + })); + dart.setLibraryUri(html$.BackgroundFetchEvent, I[148]); + dart.registerExtension("BackgroundFetchEvent", html$.BackgroundFetchEvent); + html$.BackgroundFetchClickEvent = class BackgroundFetchClickEvent$ extends html$.BackgroundFetchEvent { + static new(type, init) { + if (type == null) dart.nullFailed(I[147], 1272, 44, "type"); + if (init == null) dart.nullFailed(I[147], 1272, 54, "init"); + let init_1 = html_common.convertDartToNative_Dictionary(init); + return html$.BackgroundFetchClickEvent._create_1(type, init_1); + } + static _create_1(type, init) { + return new BackgroundFetchClickEvent(type, init); + } + get [S$.$state]() { + return this.state; + } + }; + dart.addTypeTests(html$.BackgroundFetchClickEvent); + dart.addTypeCaches(html$.BackgroundFetchClickEvent); + dart.setGetterSignature(html$.BackgroundFetchClickEvent, () => ({ + __proto__: dart.getGetters(html$.BackgroundFetchClickEvent.__proto__), + [S$.$state]: dart.nullable(core.String) + })); + dart.setLibraryUri(html$.BackgroundFetchClickEvent, I[148]); + dart.registerExtension("BackgroundFetchClickEvent", html$.BackgroundFetchClickEvent); + html$.BackgroundFetchFailEvent = class BackgroundFetchFailEvent$ extends html$.BackgroundFetchEvent { + static new(type, init) { + if (type == null) dart.nullFailed(I[147], 1315, 43, "type"); + if (init == null) dart.nullFailed(I[147], 1315, 53, "init"); + let init_1 = html_common.convertDartToNative_Dictionary(init); + return html$.BackgroundFetchFailEvent._create_1(type, init_1); + } + static _create_1(type, init) { + return new BackgroundFetchFailEvent(type, init); + } + get [S$.$fetches]() { + return this.fetches; + } + }; + dart.addTypeTests(html$.BackgroundFetchFailEvent); + dart.addTypeCaches(html$.BackgroundFetchFailEvent); + dart.setGetterSignature(html$.BackgroundFetchFailEvent, () => ({ + __proto__: dart.getGetters(html$.BackgroundFetchFailEvent.__proto__), + [S$.$fetches]: dart.nullable(core.List$(html$.BackgroundFetchSettledFetch)) + })); + dart.setLibraryUri(html$.BackgroundFetchFailEvent, I[148]); + dart.registerExtension("BackgroundFetchFailEvent", html$.BackgroundFetchFailEvent); + html$.BackgroundFetchFetch = class BackgroundFetchFetch extends _interceptors.Interceptor { + get [S$.$request]() { + return this.request; + } + }; + dart.addTypeTests(html$.BackgroundFetchFetch); + dart.addTypeCaches(html$.BackgroundFetchFetch); + dart.setGetterSignature(html$.BackgroundFetchFetch, () => ({ + __proto__: dart.getGetters(html$.BackgroundFetchFetch.__proto__), + [S$.$request]: dart.nullable(html$._Request) + })); + dart.setLibraryUri(html$.BackgroundFetchFetch, I[148]); + dart.registerExtension("BackgroundFetchFetch", html$.BackgroundFetchFetch); + html$.BackgroundFetchManager = class BackgroundFetchManager extends _interceptors.Interceptor { + [S$.$fetch](id, requests, options = null) { + if (id == null) dart.nullFailed(I[147], 1351, 52, "id"); + if (requests == null) dart.nullFailed(I[147], 1351, 63, "requests"); + let options_dict = null; + if (options != null) { + options_dict = html_common.convertDartToNative_Dictionary(options); + } + return js_util.promiseToFuture(html$.BackgroundFetchRegistration, this.fetch(id, requests, options_dict)); + } + [S.$get](id) { + if (id == null) dart.nullFailed(I[147], 1366, 50, "id"); + return js_util.promiseToFuture(html$.BackgroundFetchRegistration, this.get(id)); + } + [S$.$getIds]() { + return js_util.promiseToFuture(core.List, this.getIds()); + } + }; + dart.addTypeTests(html$.BackgroundFetchManager); + dart.addTypeCaches(html$.BackgroundFetchManager); + dart.setMethodSignature(html$.BackgroundFetchManager, () => ({ + __proto__: dart.getMethods(html$.BackgroundFetchManager.__proto__), + [S$.$fetch]: dart.fnType(async.Future$(html$.BackgroundFetchRegistration), [core.String, core.Object], [dart.nullable(core.Map)]), + [S.$get]: dart.fnType(async.Future$(html$.BackgroundFetchRegistration), [core.String]), + [S$.$getIds]: dart.fnType(async.Future$(core.List), []) + })); + dart.setLibraryUri(html$.BackgroundFetchManager, I[148]); + dart.registerExtension("BackgroundFetchManager", html$.BackgroundFetchManager); + html$.BackgroundFetchRegistration = class BackgroundFetchRegistration extends html$.EventTarget { + get [S$.$downloadTotal]() { + return this.downloadTotal; + } + get [S$.$downloaded]() { + return this.downloaded; + } + get [S.$id]() { + return this.id; + } + get [S.$title]() { + return this.title; + } + get [S$.$totalDownloadSize]() { + return this.totalDownloadSize; + } + get [S$.$uploadTotal]() { + return this.uploadTotal; + } + get [S$.$uploaded]() { + return this.uploaded; + } + [S.$abort]() { + return js_util.promiseToFuture(core.bool, this.abort()); + } + }; + dart.addTypeTests(html$.BackgroundFetchRegistration); + dart.addTypeCaches(html$.BackgroundFetchRegistration); + dart.setMethodSignature(html$.BackgroundFetchRegistration, () => ({ + __proto__: dart.getMethods(html$.BackgroundFetchRegistration.__proto__), + [S.$abort]: dart.fnType(async.Future$(core.bool), []) + })); + dart.setGetterSignature(html$.BackgroundFetchRegistration, () => ({ + __proto__: dart.getGetters(html$.BackgroundFetchRegistration.__proto__), + [S$.$downloadTotal]: dart.nullable(core.int), + [S$.$downloaded]: dart.nullable(core.int), + [S.$id]: dart.nullable(core.String), + [S.$title]: dart.nullable(core.String), + [S$.$totalDownloadSize]: dart.nullable(core.int), + [S$.$uploadTotal]: dart.nullable(core.int), + [S$.$uploaded]: dart.nullable(core.int) + })); + dart.setLibraryUri(html$.BackgroundFetchRegistration, I[148]); + dart.registerExtension("BackgroundFetchRegistration", html$.BackgroundFetchRegistration); + html$.BackgroundFetchSettledFetch = class BackgroundFetchSettledFetch$ extends html$.BackgroundFetchFetch { + static new(request, response) { + if (request == null) dart.nullFailed(I[147], 1411, 48, "request"); + if (response == null) dart.nullFailed(I[147], 1411, 67, "response"); + return html$.BackgroundFetchSettledFetch._create_1(request, response); + } + static _create_1(request, response) { + return new BackgroundFetchSettledFetch(request, response); + } + get [S$.$response]() { + return this.response; + } + }; + dart.addTypeTests(html$.BackgroundFetchSettledFetch); + dart.addTypeCaches(html$.BackgroundFetchSettledFetch); + dart.setGetterSignature(html$.BackgroundFetchSettledFetch, () => ({ + __proto__: dart.getGetters(html$.BackgroundFetchSettledFetch.__proto__), + [S$.$response]: dart.nullable(html$._Response) + })); + dart.setLibraryUri(html$.BackgroundFetchSettledFetch, I[148]); + dart.registerExtension("BackgroundFetchSettledFetch", html$.BackgroundFetchSettledFetch); + html$.BackgroundFetchedEvent = class BackgroundFetchedEvent$ extends html$.BackgroundFetchEvent { + static new(type, init) { + if (type == null) dart.nullFailed(I[147], 1433, 41, "type"); + if (init == null) dart.nullFailed(I[147], 1433, 51, "init"); + let init_1 = html_common.convertDartToNative_Dictionary(init); + return html$.BackgroundFetchedEvent._create_1(type, init_1); + } + static _create_1(type, init) { + return new BackgroundFetchedEvent(type, init); + } + get [S$.$fetches]() { + return this.fetches; + } + [S$.$updateUI](title) { + if (title == null) dart.nullFailed(I[147], 1442, 26, "title"); + return js_util.promiseToFuture(dart.dynamic, this.updateUI(title)); + } + }; + dart.addTypeTests(html$.BackgroundFetchedEvent); + dart.addTypeCaches(html$.BackgroundFetchedEvent); + dart.setMethodSignature(html$.BackgroundFetchedEvent, () => ({ + __proto__: dart.getMethods(html$.BackgroundFetchedEvent.__proto__), + [S$.$updateUI]: dart.fnType(async.Future, [core.String]) + })); + dart.setGetterSignature(html$.BackgroundFetchedEvent, () => ({ + __proto__: dart.getGetters(html$.BackgroundFetchedEvent.__proto__), + [S$.$fetches]: dart.nullable(core.List$(html$.BackgroundFetchSettledFetch)) + })); + dart.setLibraryUri(html$.BackgroundFetchedEvent, I[148]); + dart.registerExtension("BackgroundFetchedEvent", html$.BackgroundFetchedEvent); + html$.BarProp = class BarProp extends _interceptors.Interceptor { + get [S$.$visible]() { + return this.visible; + } + }; + dart.addTypeTests(html$.BarProp); + dart.addTypeCaches(html$.BarProp); + dart.setGetterSignature(html$.BarProp, () => ({ + __proto__: dart.getGetters(html$.BarProp.__proto__), + [S$.$visible]: dart.nullable(core.bool) + })); + dart.setLibraryUri(html$.BarProp, I[148]); + dart.registerExtension("BarProp", html$.BarProp); + html$.BarcodeDetector = class BarcodeDetector$ extends _interceptors.Interceptor { + static new() { + return html$.BarcodeDetector._create_1(); + } + static _create_1() { + return new BarcodeDetector(); + } + [S$.$detect](image) { + return js_util.promiseToFuture(core.List, this.detect(image)); + } + }; + dart.addTypeTests(html$.BarcodeDetector); + dart.addTypeCaches(html$.BarcodeDetector); + dart.setMethodSignature(html$.BarcodeDetector, () => ({ + __proto__: dart.getMethods(html$.BarcodeDetector.__proto__), + [S$.$detect]: dart.fnType(async.Future$(core.List), [dart.dynamic]) + })); + dart.setLibraryUri(html$.BarcodeDetector, I[148]); + dart.registerExtension("BarcodeDetector", html$.BarcodeDetector); + html$.BaseElement = class BaseElement extends html$.HtmlElement { + static new() { + return html$.document.createElement("base"); + } + get [S$.$href]() { + return this.href; + } + set [S$.$href](value) { + this.href = value; + } + get [S.$target]() { + return this.target; + } + set [S.$target](value) { + this.target = value; + } + }; + (html$.BaseElement.created = function() { + html$.BaseElement.__proto__.created.call(this); + ; + }).prototype = html$.BaseElement.prototype; + dart.addTypeTests(html$.BaseElement); + dart.addTypeCaches(html$.BaseElement); + dart.setGetterSignature(html$.BaseElement, () => ({ + __proto__: dart.getGetters(html$.BaseElement.__proto__), + [S$.$href]: core.String, + [S.$target]: core.String + })); + dart.setSetterSignature(html$.BaseElement, () => ({ + __proto__: dart.getSetters(html$.BaseElement.__proto__), + [S$.$href]: core.String, + [S.$target]: core.String + })); + dart.setLibraryUri(html$.BaseElement, I[148]); + dart.registerExtension("HTMLBaseElement", html$.BaseElement); + html$.BatteryManager = class BatteryManager extends html$.EventTarget { + get [S$.$charging]() { + return this.charging; + } + get [S$.$chargingTime]() { + return this.chargingTime; + } + get [S$.$dischargingTime]() { + return this.dischargingTime; + } + get [S$.$level]() { + return this.level; + } + }; + dart.addTypeTests(html$.BatteryManager); + dart.addTypeCaches(html$.BatteryManager); + dart.setGetterSignature(html$.BatteryManager, () => ({ + __proto__: dart.getGetters(html$.BatteryManager.__proto__), + [S$.$charging]: dart.nullable(core.bool), + [S$.$chargingTime]: dart.nullable(core.num), + [S$.$dischargingTime]: dart.nullable(core.num), + [S$.$level]: dart.nullable(core.num) + })); + dart.setLibraryUri(html$.BatteryManager, I[148]); + dart.registerExtension("BatteryManager", html$.BatteryManager); + html$.BeforeInstallPromptEvent = class BeforeInstallPromptEvent$ extends html$.Event { + static new(type, eventInitDict = null) { + if (type == null) dart.nullFailed(I[147], 1541, 43, "type"); + if (eventInitDict != null) { + let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); + return html$.BeforeInstallPromptEvent._create_1(type, eventInitDict_1); + } + return html$.BeforeInstallPromptEvent._create_2(type); + } + static _create_1(type, eventInitDict) { + return new BeforeInstallPromptEvent(type, eventInitDict); + } + static _create_2(type) { + return new BeforeInstallPromptEvent(type); + } + get [S$.$platforms]() { + return this.platforms; + } + get [S$.$userChoice]() { + return html$.promiseToFutureAsMap(this.userChoice); + } + [S$.$prompt]() { + return js_util.promiseToFuture(dart.dynamic, this.prompt()); + } + }; + dart.addTypeTests(html$.BeforeInstallPromptEvent); + dart.addTypeCaches(html$.BeforeInstallPromptEvent); + dart.setMethodSignature(html$.BeforeInstallPromptEvent, () => ({ + __proto__: dart.getMethods(html$.BeforeInstallPromptEvent.__proto__), + [S$.$prompt]: dart.fnType(async.Future, []) + })); + dart.setGetterSignature(html$.BeforeInstallPromptEvent, () => ({ + __proto__: dart.getGetters(html$.BeforeInstallPromptEvent.__proto__), + [S$.$platforms]: dart.nullable(core.List$(core.String)), + [S$.$userChoice]: async.Future$(dart.nullable(core.Map$(core.String, dart.dynamic))) + })); + dart.setLibraryUri(html$.BeforeInstallPromptEvent, I[148]); + dart.registerExtension("BeforeInstallPromptEvent", html$.BeforeInstallPromptEvent); + html$.BeforeUnloadEvent = class BeforeUnloadEvent extends html$.Event { + get [S$.$returnValue]() { + return this.returnValue; + } + set [S$.$returnValue](value) { + this.returnValue = value; + } + }; + dart.addTypeTests(html$.BeforeUnloadEvent); + dart.addTypeCaches(html$.BeforeUnloadEvent); + dart.setGetterSignature(html$.BeforeUnloadEvent, () => ({ + __proto__: dart.getGetters(html$.BeforeUnloadEvent.__proto__), + [S$.$returnValue]: dart.nullable(core.String) + })); + dart.setSetterSignature(html$.BeforeUnloadEvent, () => ({ + __proto__: dart.getSetters(html$.BeforeUnloadEvent.__proto__), + [S$.$returnValue]: dart.nullable(core.String) + })); + dart.setLibraryUri(html$.BeforeUnloadEvent, I[148]); + dart.registerExtension("BeforeUnloadEvent", html$.BeforeUnloadEvent); + html$.Blob = class Blob extends _interceptors.Interceptor { + get [S$.$size]() { + return this.size; + } + get [S.$type]() { + return this.type; + } + [S$.$slice](...args) { + return this.slice.apply(this, args); + } + static new(blobParts, type = null, endings = null) { + if (blobParts == null) dart.nullFailed(I[147], 1597, 21, "blobParts"); + if (type == null && endings == null) { + return html$.Blob.as(html$.Blob._create_1(blobParts)); + } + let bag = html$.Blob._create_bag(); + if (type != null) html$.Blob._bag_set(bag, "type", type); + if (endings != null) html$.Blob._bag_set(bag, "endings", endings); + return html$.Blob.as(html$.Blob._create_2(blobParts, bag)); + } + static _create_1(parts) { + return new self.Blob(parts); + } + static _create_2(parts, bag) { + return new self.Blob(parts, bag); + } + static _create_bag() { + return {}; + } + static _bag_set(bag, key, value) { + bag[key] = value; + } + }; + dart.addTypeTests(html$.Blob); + dart.addTypeCaches(html$.Blob); + dart.setMethodSignature(html$.Blob, () => ({ + __proto__: dart.getMethods(html$.Blob.__proto__), + [S$.$slice]: dart.fnType(html$.Blob, [], [dart.nullable(core.int), dart.nullable(core.int), dart.nullable(core.String)]) + })); + dart.setGetterSignature(html$.Blob, () => ({ + __proto__: dart.getGetters(html$.Blob.__proto__), + [S$.$size]: core.int, + [S.$type]: core.String + })); + dart.setLibraryUri(html$.Blob, I[148]); + dart.registerExtension("Blob", html$.Blob); + html$.BlobEvent = class BlobEvent$ extends html$.Event { + static new(type, eventInitDict) { + if (type == null) dart.nullFailed(I[147], 1636, 28, "type"); + if (eventInitDict == null) dart.nullFailed(I[147], 1636, 38, "eventInitDict"); + let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); + return html$.BlobEvent._create_1(type, eventInitDict_1); + } + static _create_1(type, eventInitDict) { + return new BlobEvent(type, eventInitDict); + } + get [S$.$data]() { + return this.data; + } + get [S$.$timecode]() { + return this.timecode; + } + }; + dart.addTypeTests(html$.BlobEvent); + dart.addTypeCaches(html$.BlobEvent); + dart.setGetterSignature(html$.BlobEvent, () => ({ + __proto__: dart.getGetters(html$.BlobEvent.__proto__), + [S$.$data]: dart.nullable(html$.Blob), + [S$.$timecode]: dart.nullable(core.num) + })); + dart.setLibraryUri(html$.BlobEvent, I[148]); + dart.registerExtension("BlobEvent", html$.BlobEvent); + html$.BluetoothRemoteGattDescriptor = class BluetoothRemoteGattDescriptor extends _interceptors.Interceptor { + get [S$.$characteristic]() { + return this.characteristic; + } + get [S$.$uuid]() { + return this.uuid; + } + get [S.$value]() { + return this.value; + } + [S$.$readValue]() { + return js_util.promiseToFuture(dart.dynamic, this.readValue()); + } + [S$.$writeValue](value) { + return js_util.promiseToFuture(dart.dynamic, this.writeValue(value)); + } + }; + dart.addTypeTests(html$.BluetoothRemoteGattDescriptor); + dart.addTypeCaches(html$.BluetoothRemoteGattDescriptor); + dart.setMethodSignature(html$.BluetoothRemoteGattDescriptor, () => ({ + __proto__: dart.getMethods(html$.BluetoothRemoteGattDescriptor.__proto__), + [S$.$readValue]: dart.fnType(async.Future, []), + [S$.$writeValue]: dart.fnType(async.Future, [dart.dynamic]) + })); + dart.setGetterSignature(html$.BluetoothRemoteGattDescriptor, () => ({ + __proto__: dart.getGetters(html$.BluetoothRemoteGattDescriptor.__proto__), + [S$.$characteristic]: dart.nullable(html$._BluetoothRemoteGATTCharacteristic), + [S$.$uuid]: dart.nullable(core.String), + [S.$value]: dart.nullable(typed_data.ByteData) + })); + dart.setLibraryUri(html$.BluetoothRemoteGattDescriptor, I[148]); + dart.registerExtension("BluetoothRemoteGATTDescriptor", html$.BluetoothRemoteGattDescriptor); + html$.Body = class Body extends _interceptors.Interceptor { + get [S$.$bodyUsed]() { + return this.bodyUsed; + } + [S$.$arrayBuffer]() { + return js_util.promiseToFuture(dart.dynamic, this.arrayBuffer()); + } + [S$.$blob]() { + return js_util.promiseToFuture(html$.Blob, this.blob()); + } + [S$.$formData]() { + return js_util.promiseToFuture(html$.FormData, this.formData()); + } + [S$.$json]() { + return js_util.promiseToFuture(dart.dynamic, this.json()); + } + [S.$text]() { + return js_util.promiseToFuture(core.String, this.text()); + } + }; + dart.addTypeTests(html$.Body); + dart.addTypeCaches(html$.Body); + dart.setMethodSignature(html$.Body, () => ({ + __proto__: dart.getMethods(html$.Body.__proto__), + [S$.$arrayBuffer]: dart.fnType(async.Future, []), + [S$.$blob]: dart.fnType(async.Future$(html$.Blob), []), + [S$.$formData]: dart.fnType(async.Future$(html$.FormData), []), + [S$.$json]: dart.fnType(async.Future, []), + [S.$text]: dart.fnType(async.Future$(core.String), []) + })); + dart.setGetterSignature(html$.Body, () => ({ + __proto__: dart.getGetters(html$.Body.__proto__), + [S$.$bodyUsed]: dart.nullable(core.bool) + })); + dart.setLibraryUri(html$.Body, I[148]); + dart.registerExtension("Body", html$.Body); + html$.BodyElement = class BodyElement extends html$.HtmlElement { + static new() { + return html$.document.createElement("body"); + } + get [S.$onBlur]() { + return html$.BodyElement.blurEvent.forElement(this); + } + get [S.$onError]() { + return html$.BodyElement.errorEvent.forElement(this); + } + get [S.$onFocus]() { + return html$.BodyElement.focusEvent.forElement(this); + } + get [S$.$onHashChange]() { + return html$.BodyElement.hashChangeEvent.forElement(this); + } + get [S.$onLoad]() { + return html$.BodyElement.loadEvent.forElement(this); + } + get [S$.$onMessage]() { + return html$.BodyElement.messageEvent.forElement(this); + } + get [S$.$onOffline]() { + return html$.BodyElement.offlineEvent.forElement(this); + } + get [S$.$onOnline]() { + return html$.BodyElement.onlineEvent.forElement(this); + } + get [S$.$onPopState]() { + return html$.BodyElement.popStateEvent.forElement(this); + } + get [S.$onResize]() { + return html$.BodyElement.resizeEvent.forElement(this); + } + get [S.$onScroll]() { + return html$.BodyElement.scrollEvent.forElement(this); + } + get [S$.$onStorage]() { + return html$.BodyElement.storageEvent.forElement(this); + } + get [S$.$onUnload]() { + return html$.BodyElement.unloadEvent.forElement(this); + } + }; + (html$.BodyElement.created = function() { + html$.BodyElement.__proto__.created.call(this); + ; + }).prototype = html$.BodyElement.prototype; + dart.addTypeTests(html$.BodyElement); + dart.addTypeCaches(html$.BodyElement); + html$.BodyElement[dart.implements] = () => [html$.WindowEventHandlers]; + dart.setGetterSignature(html$.BodyElement, () => ({ + __proto__: dart.getGetters(html$.BodyElement.__proto__), + [S$.$onHashChange]: html$.ElementStream$(html$.Event), + [S$.$onMessage]: html$.ElementStream$(html$.MessageEvent), + [S$.$onOffline]: html$.ElementStream$(html$.Event), + [S$.$onOnline]: html$.ElementStream$(html$.Event), + [S$.$onPopState]: html$.ElementStream$(html$.PopStateEvent), + [S$.$onStorage]: html$.ElementStream$(html$.StorageEvent), + [S$.$onUnload]: html$.ElementStream$(html$.Event) + })); + dart.setLibraryUri(html$.BodyElement, I[148]); + dart.defineLazy(html$.BodyElement, { + /*html$.BodyElement.blurEvent*/get blurEvent() { + return C[233] || CT.C233; + }, + /*html$.BodyElement.errorEvent*/get errorEvent() { + return C[216] || CT.C216; + }, + /*html$.BodyElement.focusEvent*/get focusEvent() { + return C[252] || CT.C252; + }, + /*html$.BodyElement.hashChangeEvent*/get hashChangeEvent() { + return C[311] || CT.C311; + }, + /*html$.BodyElement.loadEvent*/get loadEvent() { + return C[258] || CT.C258; + }, + /*html$.BodyElement.messageEvent*/get messageEvent() { + return C[312] || CT.C312; + }, + /*html$.BodyElement.offlineEvent*/get offlineEvent() { + return C[313] || CT.C313; + }, + /*html$.BodyElement.onlineEvent*/get onlineEvent() { + return C[314] || CT.C314; + }, + /*html$.BodyElement.popStateEvent*/get popStateEvent() { + return C[315] || CT.C315; + }, + /*html$.BodyElement.resizeEvent*/get resizeEvent() { + return C[274] || CT.C274; + }, + /*html$.BodyElement.scrollEvent*/get scrollEvent() { + return C[275] || CT.C275; + }, + /*html$.BodyElement.storageEvent*/get storageEvent() { + return C[316] || CT.C316; + }, + /*html$.BodyElement.unloadEvent*/get unloadEvent() { + return C[317] || CT.C317; + } + }, false); + dart.registerExtension("HTMLBodyElement", html$.BodyElement); + html$.BroadcastChannel = class BroadcastChannel$ extends html$.EventTarget { + static new(name) { + if (name == null) dart.nullFailed(I[147], 1880, 35, "name"); + return html$.BroadcastChannel._create_1(name); + } + static _create_1(name) { + return new BroadcastChannel(name); + } + get [$name]() { + return this.name; + } + [S.$close](...args) { + return this.close.apply(this, args); + } + [S$.$postMessage](...args) { + return this.postMessage.apply(this, args); + } + get [S$.$onMessage]() { + return html$.BroadcastChannel.messageEvent.forTarget(this); + } + }; + dart.addTypeTests(html$.BroadcastChannel); + dart.addTypeCaches(html$.BroadcastChannel); + dart.setMethodSignature(html$.BroadcastChannel, () => ({ + __proto__: dart.getMethods(html$.BroadcastChannel.__proto__), + [S.$close]: dart.fnType(dart.void, []), + [S$.$postMessage]: dart.fnType(dart.void, [core.Object]) + })); + dart.setGetterSignature(html$.BroadcastChannel, () => ({ + __proto__: dart.getGetters(html$.BroadcastChannel.__proto__), + [$name]: dart.nullable(core.String), + [S$.$onMessage]: async.Stream$(html$.MessageEvent) + })); + dart.setLibraryUri(html$.BroadcastChannel, I[148]); + dart.defineLazy(html$.BroadcastChannel, { + /*html$.BroadcastChannel.messageEvent*/get messageEvent() { + return C[312] || CT.C312; + } + }, false); + dart.registerExtension("BroadcastChannel", html$.BroadcastChannel); + html$.BudgetState = class BudgetState extends _interceptors.Interceptor { + get [S$.$budgetAt]() { + return this.budgetAt; + } + get [S$.$time]() { + return this.time; + } + }; + dart.addTypeTests(html$.BudgetState); + dart.addTypeCaches(html$.BudgetState); + dart.setGetterSignature(html$.BudgetState, () => ({ + __proto__: dart.getGetters(html$.BudgetState.__proto__), + [S$.$budgetAt]: dart.nullable(core.num), + [S$.$time]: dart.nullable(core.int) + })); + dart.setLibraryUri(html$.BudgetState, I[148]); + dart.registerExtension("BudgetState", html$.BudgetState); + html$.ButtonElement = class ButtonElement extends html$.HtmlElement { + static new() { + return html$.document.createElement("button"); + } + get [S$.$autofocus]() { + return this.autofocus; + } + set [S$.$autofocus](value) { + this.autofocus = value; + } + get [S$.$disabled]() { + return this.disabled; + } + set [S$.$disabled](value) { + this.disabled = value; + } + get [S$.$form]() { + return this.form; + } + get [S$.$formAction]() { + return this.formAction; + } + set [S$.$formAction](value) { + this.formAction = value; + } + get [S$.$formEnctype]() { + return this.formEnctype; + } + set [S$.$formEnctype](value) { + this.formEnctype = value; + } + get [S$.$formMethod]() { + return this.formMethod; + } + set [S$.$formMethod](value) { + this.formMethod = value; + } + get [S$.$formNoValidate]() { + return this.formNoValidate; + } + set [S$.$formNoValidate](value) { + this.formNoValidate = value; + } + get [S$.$formTarget]() { + return this.formTarget; + } + set [S$.$formTarget](value) { + this.formTarget = value; + } + get [S$.$labels]() { + return this.labels; + } + get [$name]() { + return this.name; + } + set [$name](value) { + this.name = value; + } + get [S.$type]() { + return this.type; + } + set [S.$type](value) { + this.type = value; + } + get [S$.$validationMessage]() { + return this.validationMessage; + } + get [S$.$validity]() { + return this.validity; + } + get [S.$value]() { + return this.value; + } + set [S.$value](value) { + this.value = value; + } + get [S$.$willValidate]() { + return this.willValidate; + } + [S$.$checkValidity](...args) { + return this.checkValidity.apply(this, args); + } + [S$.$reportValidity](...args) { + return this.reportValidity.apply(this, args); + } + [S$.$setCustomValidity](...args) { + return this.setCustomValidity.apply(this, args); + } + }; + (html$.ButtonElement.created = function() { + html$.ButtonElement.__proto__.created.call(this); + ; + }).prototype = html$.ButtonElement.prototype; + dart.addTypeTests(html$.ButtonElement); + dart.addTypeCaches(html$.ButtonElement); + dart.setMethodSignature(html$.ButtonElement, () => ({ + __proto__: dart.getMethods(html$.ButtonElement.__proto__), + [S$.$checkValidity]: dart.fnType(core.bool, []), + [S$.$reportValidity]: dart.fnType(core.bool, []), + [S$.$setCustomValidity]: dart.fnType(dart.void, [core.String]) + })); + dart.setGetterSignature(html$.ButtonElement, () => ({ + __proto__: dart.getGetters(html$.ButtonElement.__proto__), + [S$.$autofocus]: core.bool, + [S$.$disabled]: core.bool, + [S$.$form]: dart.nullable(html$.FormElement), + [S$.$formAction]: dart.nullable(core.String), + [S$.$formEnctype]: dart.nullable(core.String), + [S$.$formMethod]: dart.nullable(core.String), + [S$.$formNoValidate]: core.bool, + [S$.$formTarget]: core.String, + [S$.$labels]: dart.nullable(core.List$(html$.Node)), + [$name]: core.String, + [S.$type]: core.String, + [S$.$validationMessage]: core.String, + [S$.$validity]: html$.ValidityState, + [S.$value]: core.String, + [S$.$willValidate]: core.bool + })); + dart.setSetterSignature(html$.ButtonElement, () => ({ + __proto__: dart.getSetters(html$.ButtonElement.__proto__), + [S$.$autofocus]: core.bool, + [S$.$disabled]: core.bool, + [S$.$formAction]: dart.nullable(core.String), + [S$.$formEnctype]: dart.nullable(core.String), + [S$.$formMethod]: dart.nullable(core.String), + [S$.$formNoValidate]: core.bool, + [S$.$formTarget]: core.String, + [$name]: core.String, + [S.$type]: core.String, + [S.$value]: core.String + })); + dart.setLibraryUri(html$.ButtonElement, I[148]); + dart.registerExtension("HTMLButtonElement", html$.ButtonElement); + html$.CharacterData = class CharacterData extends html$.Node { + get [S$.$data]() { + return this.data; + } + set [S$.$data](value) { + this.data = value; + } + get [$length]() { + return this.length; + } + [S$.$appendData](...args) { + return this.appendData.apply(this, args); + } + [S$.$deleteData](...args) { + return this.deleteData.apply(this, args); + } + [S$.$insertData](...args) { + return this.insertData.apply(this, args); + } + [S$.$replaceData](...args) { + return this.replaceData.apply(this, args); + } + [S$.$substringData](...args) { + return this.substringData.apply(this, args); + } + [S.$after](...args) { + return this.after.apply(this, args); + } + [S.$before](...args) { + return this.before.apply(this, args); + } + get [S.$nextElementSibling]() { + return this.nextElementSibling; + } + get [S.$previousElementSibling]() { + return this.previousElementSibling; + } + }; + dart.addTypeTests(html$.CharacterData); + dart.addTypeCaches(html$.CharacterData); + html$.CharacterData[dart.implements] = () => [html$.NonDocumentTypeChildNode, html$.ChildNode]; + dart.setMethodSignature(html$.CharacterData, () => ({ + __proto__: dart.getMethods(html$.CharacterData.__proto__), + [S$.$appendData]: dart.fnType(dart.void, [core.String]), + [S$.$deleteData]: dart.fnType(dart.void, [core.int, core.int]), + [S$.$insertData]: dart.fnType(dart.void, [core.int, core.String]), + [S$.$replaceData]: dart.fnType(dart.void, [core.int, core.int, core.String]), + [S$.$substringData]: dart.fnType(core.String, [core.int, core.int]), + [S.$after]: dart.fnType(dart.void, [core.Object]), + [S.$before]: dart.fnType(dart.void, [core.Object]) + })); + dart.setGetterSignature(html$.CharacterData, () => ({ + __proto__: dart.getGetters(html$.CharacterData.__proto__), + [S$.$data]: dart.nullable(core.String), + [$length]: dart.nullable(core.int), + [S.$nextElementSibling]: dart.nullable(html$.Element), + [S.$previousElementSibling]: dart.nullable(html$.Element) + })); + dart.setSetterSignature(html$.CharacterData, () => ({ + __proto__: dart.getSetters(html$.CharacterData.__proto__), + [S$.$data]: dart.nullable(core.String) + })); + dart.setLibraryUri(html$.CharacterData, I[148]); + dart.registerExtension("CharacterData", html$.CharacterData); + html$.Text = class Text extends html$.CharacterData { + static new(data) { + if (data == null) dart.nullFailed(I[147], 29705, 23, "data"); + return html$.document.createTextNode(data); + } + get [S.$assignedSlot]() { + return this.assignedSlot; + } + get [S$.$wholeText]() { + return this.wholeText; + } + [S.$getDestinationInsertionPoints](...args) { + return this.getDestinationInsertionPoints.apply(this, args); + } + [S$.$splitText](...args) { + return this.splitText.apply(this, args); + } + }; + dart.addTypeTests(html$.Text); + dart.addTypeCaches(html$.Text); + dart.setMethodSignature(html$.Text, () => ({ + __proto__: dart.getMethods(html$.Text.__proto__), + [S.$getDestinationInsertionPoints]: dart.fnType(core.List$(html$.Node), []), + [S$.$splitText]: dart.fnType(html$.Text, [core.int]) + })); + dart.setGetterSignature(html$.Text, () => ({ + __proto__: dart.getGetters(html$.Text.__proto__), + [S.$assignedSlot]: dart.nullable(html$.SlotElement), + [S$.$wholeText]: core.String + })); + dart.setLibraryUri(html$.Text, I[148]); + dart.registerExtension("Text", html$.Text); + html$.CDataSection = class CDataSection extends html$.Text {}; + dart.addTypeTests(html$.CDataSection); + dart.addTypeCaches(html$.CDataSection); + dart.setLibraryUri(html$.CDataSection, I[148]); + dart.registerExtension("CDATASection", html$.CDataSection); + html$.CacheStorage = class CacheStorage extends _interceptors.Interceptor { + [S.$delete](cacheName) { + if (cacheName == null) dart.nullFailed(I[147], 2015, 24, "cacheName"); + return js_util.promiseToFuture(dart.dynamic, this.delete(cacheName)); + } + [S$.$has](cacheName) { + if (cacheName == null) dart.nullFailed(I[147], 2018, 21, "cacheName"); + return js_util.promiseToFuture(dart.dynamic, this.has(cacheName)); + } + [$keys]() { + return js_util.promiseToFuture(dart.dynamic, this.keys()); + } + [S$.$match](request, options = null) { + let options_dict = null; + if (options != null) { + options_dict = html_common.convertDartToNative_Dictionary(options); + } + return js_util.promiseToFuture(dart.dynamic, this.match(request, options_dict)); + } + [S.$open](cacheName) { + if (cacheName == null) dart.nullFailed(I[147], 2032, 22, "cacheName"); + return js_util.promiseToFuture(dart.dynamic, this.open(cacheName)); + } + }; + dart.addTypeTests(html$.CacheStorage); + dart.addTypeCaches(html$.CacheStorage); + dart.setMethodSignature(html$.CacheStorage, () => ({ + __proto__: dart.getMethods(html$.CacheStorage.__proto__), + [S.$delete]: dart.fnType(async.Future, [core.String]), + [S$.$has]: dart.fnType(async.Future, [core.String]), + [$keys]: dart.fnType(async.Future, []), + [S$.$match]: dart.fnType(async.Future, [dart.dynamic], [dart.nullable(core.Map)]), + [S.$open]: dart.fnType(async.Future, [core.String]) + })); + dart.setLibraryUri(html$.CacheStorage, I[148]); + dart.registerExtension("CacheStorage", html$.CacheStorage); + html$.CanMakePaymentEvent = class CanMakePaymentEvent$ extends html$.ExtendableEvent { + static new(type, eventInitDict) { + if (type == null) dart.nullFailed(I[147], 2046, 38, "type"); + if (eventInitDict == null) dart.nullFailed(I[147], 2046, 48, "eventInitDict"); + let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); + return html$.CanMakePaymentEvent._create_1(type, eventInitDict_1); + } + static _create_1(type, eventInitDict) { + return new CanMakePaymentEvent(type, eventInitDict); + } + get [S$.$methodData]() { + return this.methodData; + } + get [S$.$modifiers]() { + return this.modifiers; + } + get [S$.$paymentRequestOrigin]() { + return this.paymentRequestOrigin; + } + get [S$.$topLevelOrigin]() { + return this.topLevelOrigin; + } + [S$.$respondWith](...args) { + return this.respondWith.apply(this, args); + } + }; + dart.addTypeTests(html$.CanMakePaymentEvent); + dart.addTypeCaches(html$.CanMakePaymentEvent); + dart.setMethodSignature(html$.CanMakePaymentEvent, () => ({ + __proto__: dart.getMethods(html$.CanMakePaymentEvent.__proto__), + [S$.$respondWith]: dart.fnType(dart.void, [async.Future]) + })); + dart.setGetterSignature(html$.CanMakePaymentEvent, () => ({ + __proto__: dart.getGetters(html$.CanMakePaymentEvent.__proto__), + [S$.$methodData]: dart.nullable(core.List), + [S$.$modifiers]: dart.nullable(core.List), + [S$.$paymentRequestOrigin]: dart.nullable(core.String), + [S$.$topLevelOrigin]: dart.nullable(core.String) + })); + dart.setLibraryUri(html$.CanMakePaymentEvent, I[148]); + dart.registerExtension("CanMakePaymentEvent", html$.CanMakePaymentEvent); + html$.MediaStreamTrack = class MediaStreamTrack extends html$.EventTarget { + get [S$.$contentHint]() { + return this.contentHint; + } + set [S$.$contentHint](value) { + this.contentHint = value; + } + get [S$.$enabled]() { + return this.enabled; + } + set [S$.$enabled](value) { + this.enabled = value; + } + get [S.$id]() { + return this.id; + } + get [S$.$kind]() { + return this.kind; + } + get [S$.$label]() { + return this.label; + } + get [S$.$muted]() { + return this.muted; + } + get [S.$readyState]() { + return this.readyState; + } + [S$.$applyConstraints](constraints = null) { + let constraints_dict = null; + if (constraints != null) { + constraints_dict = html_common.convertDartToNative_Dictionary(constraints); + } + return js_util.promiseToFuture(dart.dynamic, this.applyConstraints(constraints_dict)); + } + [S$.$clone](...args) { + return this.clone.apply(this, args); + } + [S$.$getCapabilities]() { + return dart.nullCheck(html_common.convertNativeToDart_Dictionary(this[S$._getCapabilities_1]())); + } + [S$._getCapabilities_1](...args) { + return this.getCapabilities.apply(this, args); + } + [S$.$getConstraints]() { + return dart.nullCheck(html_common.convertNativeToDart_Dictionary(this[S$._getConstraints_1]())); + } + [S$._getConstraints_1](...args) { + return this.getConstraints.apply(this, args); + } + [S$.$getSettings]() { + return dart.nullCheck(html_common.convertNativeToDart_Dictionary(this[S$._getSettings_1]())); + } + [S$._getSettings_1](...args) { + return this.getSettings.apply(this, args); + } + [S$.$stop](...args) { + return this.stop.apply(this, args); + } + get [S.$onEnded]() { + return html$.MediaStreamTrack.endedEvent.forTarget(this); + } + get [S$.$onMute]() { + return html$.MediaStreamTrack.muteEvent.forTarget(this); + } + get [S$.$onUnmute]() { + return html$.MediaStreamTrack.unmuteEvent.forTarget(this); + } + }; + dart.addTypeTests(html$.MediaStreamTrack); + dart.addTypeCaches(html$.MediaStreamTrack); + dart.setMethodSignature(html$.MediaStreamTrack, () => ({ + __proto__: dart.getMethods(html$.MediaStreamTrack.__proto__), + [S$.$applyConstraints]: dart.fnType(async.Future, [], [dart.nullable(core.Map)]), + [S$.$clone]: dart.fnType(html$.MediaStreamTrack, []), + [S$.$getCapabilities]: dart.fnType(core.Map, []), + [S$._getCapabilities_1]: dart.fnType(dart.dynamic, []), + [S$.$getConstraints]: dart.fnType(core.Map, []), + [S$._getConstraints_1]: dart.fnType(dart.dynamic, []), + [S$.$getSettings]: dart.fnType(core.Map, []), + [S$._getSettings_1]: dart.fnType(dart.dynamic, []), + [S$.$stop]: dart.fnType(dart.void, []) + })); + dart.setGetterSignature(html$.MediaStreamTrack, () => ({ + __proto__: dart.getGetters(html$.MediaStreamTrack.__proto__), + [S$.$contentHint]: dart.nullable(core.String), + [S$.$enabled]: dart.nullable(core.bool), + [S.$id]: dart.nullable(core.String), + [S$.$kind]: dart.nullable(core.String), + [S$.$label]: dart.nullable(core.String), + [S$.$muted]: dart.nullable(core.bool), + [S.$readyState]: dart.nullable(core.String), + [S.$onEnded]: async.Stream$(html$.Event), + [S$.$onMute]: async.Stream$(html$.Event), + [S$.$onUnmute]: async.Stream$(html$.Event) + })); + dart.setSetterSignature(html$.MediaStreamTrack, () => ({ + __proto__: dart.getSetters(html$.MediaStreamTrack.__proto__), + [S$.$contentHint]: dart.nullable(core.String), + [S$.$enabled]: dart.nullable(core.bool) + })); + dart.setLibraryUri(html$.MediaStreamTrack, I[148]); + dart.defineLazy(html$.MediaStreamTrack, { + /*html$.MediaStreamTrack.endedEvent*/get endedEvent() { + return C[251] || CT.C251; + }, + /*html$.MediaStreamTrack.muteEvent*/get muteEvent() { + return C[318] || CT.C318; + }, + /*html$.MediaStreamTrack.unmuteEvent*/get unmuteEvent() { + return C[319] || CT.C319; + } + }, false); + dart.registerExtension("MediaStreamTrack", html$.MediaStreamTrack); + html$.CanvasCaptureMediaStreamTrack = class CanvasCaptureMediaStreamTrack extends html$.MediaStreamTrack { + get [S$.$canvas]() { + return this.canvas; + } + [S$.$requestFrame](...args) { + return this.requestFrame.apply(this, args); + } + }; + dart.addTypeTests(html$.CanvasCaptureMediaStreamTrack); + dart.addTypeCaches(html$.CanvasCaptureMediaStreamTrack); + dart.setMethodSignature(html$.CanvasCaptureMediaStreamTrack, () => ({ + __proto__: dart.getMethods(html$.CanvasCaptureMediaStreamTrack.__proto__), + [S$.$requestFrame]: dart.fnType(dart.void, []) + })); + dart.setGetterSignature(html$.CanvasCaptureMediaStreamTrack, () => ({ + __proto__: dart.getGetters(html$.CanvasCaptureMediaStreamTrack.__proto__), + [S$.$canvas]: dart.nullable(html$.CanvasElement) + })); + dart.setLibraryUri(html$.CanvasCaptureMediaStreamTrack, I[148]); + dart.registerExtension("CanvasCaptureMediaStreamTrack", html$.CanvasCaptureMediaStreamTrack); + html$.CanvasElement = class CanvasElement extends html$.HtmlElement { + static new(opts) { + let width = opts && 'width' in opts ? opts.width : null; + let height = opts && 'height' in opts ? opts.height : null; + let e = html$.document.createElement("canvas"); + if (width != null) e.width = width; + if (height != null) e.height = height; + return e; + } + get [$height]() { + return this.height; + } + set [$height](value) { + this.height = value; + } + get [$width]() { + return this.width; + } + set [$width](value) { + this.width = value; + } + [S$.$captureStream](...args) { + return this.captureStream.apply(this, args); + } + [S$.$getContext](contextId, attributes = null) { + if (contextId == null) dart.nullFailed(I[147], 2143, 29, "contextId"); + if (attributes != null) { + let attributes_1 = html_common.convertDartToNative_Dictionary(attributes); + return this[S$._getContext_1](contextId, attributes_1); + } + return this[S$._getContext_2](contextId); + } + [S$._getContext_1](...args) { + return this.getContext.apply(this, args); + } + [S$._getContext_2](...args) { + return this.getContext.apply(this, args); + } + [S$._toDataUrl](...args) { + return this.toDataURL.apply(this, args); + } + [S$.$transferControlToOffscreen](...args) { + return this.transferControlToOffscreen.apply(this, args); + } + get [S$.$onWebGlContextLost]() { + return html$.CanvasElement.webGlContextLostEvent.forElement(this); + } + get [S$.$onWebGlContextRestored]() { + return html$.CanvasElement.webGlContextRestoredEvent.forElement(this); + } + get [S$.$context2D]() { + return this.getContext("2d"); + } + [S$.$getContext3d](opts) { + let alpha = opts && 'alpha' in opts ? opts.alpha : true; + let depth = opts && 'depth' in opts ? opts.depth : true; + let stencil = opts && 'stencil' in opts ? opts.stencil : false; + let antialias = opts && 'antialias' in opts ? opts.antialias : true; + let premultipliedAlpha = opts && 'premultipliedAlpha' in opts ? opts.premultipliedAlpha : true; + let preserveDrawingBuffer = opts && 'preserveDrawingBuffer' in opts ? opts.preserveDrawingBuffer : false; + let options = new (T$0.IdentityMapOfString$dynamic()).from(["alpha", alpha, "depth", depth, "stencil", stencil, "antialias", antialias, "premultipliedAlpha", premultipliedAlpha, "preserveDrawingBuffer", preserveDrawingBuffer]); + let context = this[S$.$getContext]("webgl", options); + if (context == null) { + context = this[S$.$getContext]("experimental-webgl", options); + } + return web_gl.RenderingContext.as(context); + } + [S$.$toDataUrl](type = "image/png", quality = null) { + if (type == null) dart.nullFailed(I[147], 2251, 28, "type"); + return this[S$._toDataUrl](type, quality); + } + [S$._toBlob](...args) { + return this.toBlob.apply(this, args); + } + [S$.$toBlob](type = null, $arguments = null) { + let completer = T$0.CompleterOfBlob().new(); + this[S$._toBlob](dart.fn(value => { + completer.complete(value); + }, T$0.BlobNTovoid()), type, $arguments); + return completer.future; + } + }; + (html$.CanvasElement.created = function() { + html$.CanvasElement.__proto__.created.call(this); + ; + }).prototype = html$.CanvasElement.prototype; + dart.addTypeTests(html$.CanvasElement); + dart.addTypeCaches(html$.CanvasElement); + html$.CanvasElement[dart.implements] = () => [html$.CanvasImageSource]; + dart.setMethodSignature(html$.CanvasElement, () => ({ + __proto__: dart.getMethods(html$.CanvasElement.__proto__), + [S$.$captureStream]: dart.fnType(html$.MediaStream, [], [dart.nullable(core.num)]), + [S$.$getContext]: dart.fnType(dart.nullable(core.Object), [core.String], [dart.nullable(core.Map)]), + [S$._getContext_1]: dart.fnType(dart.nullable(core.Object), [dart.dynamic, dart.dynamic]), + [S$._getContext_2]: dart.fnType(dart.nullable(core.Object), [dart.dynamic]), + [S$._toDataUrl]: dart.fnType(core.String, [dart.nullable(core.String)], [dart.dynamic]), + [S$.$transferControlToOffscreen]: dart.fnType(html$.OffscreenCanvas, []), + [S$.$getContext3d]: dart.fnType(web_gl.RenderingContext, [], {alpha: dart.dynamic, antialias: dart.dynamic, depth: dart.dynamic, premultipliedAlpha: dart.dynamic, preserveDrawingBuffer: dart.dynamic, stencil: dart.dynamic}, {}), + [S$.$toDataUrl]: dart.fnType(core.String, [], [core.String, dart.nullable(core.num)]), + [S$._toBlob]: dart.fnType(dart.void, [dart.fnType(dart.void, [dart.nullable(html$.Blob)])], [dart.nullable(core.String), dart.nullable(core.Object)]), + [S$.$toBlob]: dart.fnType(async.Future$(html$.Blob), [], [dart.nullable(core.String), dart.nullable(core.Object)]) + })); + dart.setGetterSignature(html$.CanvasElement, () => ({ + __proto__: dart.getGetters(html$.CanvasElement.__proto__), + [$height]: dart.nullable(core.int), + [$width]: dart.nullable(core.int), + [S$.$onWebGlContextLost]: html$.ElementStream$(web_gl.ContextEvent), + [S$.$onWebGlContextRestored]: html$.ElementStream$(web_gl.ContextEvent), + [S$.$context2D]: html$.CanvasRenderingContext2D + })); + dart.setSetterSignature(html$.CanvasElement, () => ({ + __proto__: dart.getSetters(html$.CanvasElement.__proto__), + [$height]: dart.nullable(core.int), + [$width]: dart.nullable(core.int) + })); + dart.setLibraryUri(html$.CanvasElement, I[148]); + dart.defineLazy(html$.CanvasElement, { + /*html$.CanvasElement.webGlContextLostEvent*/get webGlContextLostEvent() { + return C[320] || CT.C320; + }, + /*html$.CanvasElement.webGlContextRestoredEvent*/get webGlContextRestoredEvent() { + return C[321] || CT.C321; + } + }, false); + dart.registerExtension("HTMLCanvasElement", html$.CanvasElement); + html$.CanvasGradient = class CanvasGradient extends _interceptors.Interceptor { + [S$.$addColorStop](...args) { + return this.addColorStop.apply(this, args); + } + }; + dart.addTypeTests(html$.CanvasGradient); + dart.addTypeCaches(html$.CanvasGradient); + dart.setMethodSignature(html$.CanvasGradient, () => ({ + __proto__: dart.getMethods(html$.CanvasGradient.__proto__), + [S$.$addColorStop]: dart.fnType(dart.void, [core.num, core.String]) + })); + dart.setLibraryUri(html$.CanvasGradient, I[148]); + dart.registerExtension("CanvasGradient", html$.CanvasGradient); + html$.CanvasPattern = class CanvasPattern extends _interceptors.Interceptor { + [S$.$setTransform](...args) { + return this.setTransform.apply(this, args); + } + }; + dart.addTypeTests(html$.CanvasPattern); + dart.addTypeCaches(html$.CanvasPattern); + dart.setMethodSignature(html$.CanvasPattern, () => ({ + __proto__: dart.getMethods(html$.CanvasPattern.__proto__), + [S$.$setTransform]: dart.fnType(dart.void, [svg$.Matrix]) + })); + dart.setLibraryUri(html$.CanvasPattern, I[148]); + dart.registerExtension("CanvasPattern", html$.CanvasPattern); + html$.CanvasRenderingContext = class CanvasRenderingContext extends core.Object {}; + (html$.CanvasRenderingContext.new = function() { + ; + }).prototype = html$.CanvasRenderingContext.prototype; + dart.addTypeTests(html$.CanvasRenderingContext); + dart.addTypeCaches(html$.CanvasRenderingContext); + dart.setLibraryUri(html$.CanvasRenderingContext, I[148]); + html$.CanvasRenderingContext2D = class CanvasRenderingContext2D extends _interceptors.Interceptor { + get [S$.$canvas]() { + return this.canvas; + } + get [S$.$currentTransform]() { + return this.currentTransform; + } + set [S$.$currentTransform](value) { + this.currentTransform = value; + } + get [S.$direction]() { + return this.direction; + } + set [S.$direction](value) { + this.direction = value; + } + get [S$.$fillStyle]() { + return this.fillStyle; + } + set [S$.$fillStyle](value) { + this.fillStyle = value; + } + get [S$.$filter]() { + return this.filter; + } + set [S$.$filter](value) { + this.filter = value; + } + get [S$.$font]() { + return this.font; + } + set [S$.$font](value) { + this.font = value; + } + get [S$.$globalAlpha]() { + return this.globalAlpha; + } + set [S$.$globalAlpha](value) { + this.globalAlpha = value; + } + get [S$.$globalCompositeOperation]() { + return this.globalCompositeOperation; + } + set [S$.$globalCompositeOperation](value) { + this.globalCompositeOperation = value; + } + get [S$.$imageSmoothingEnabled]() { + return this.imageSmoothingEnabled; + } + set [S$.$imageSmoothingEnabled](value) { + this.imageSmoothingEnabled = value; + } + get [S$.$imageSmoothingQuality]() { + return this.imageSmoothingQuality; + } + set [S$.$imageSmoothingQuality](value) { + this.imageSmoothingQuality = value; + } + get [S$.$lineCap]() { + return this.lineCap; + } + set [S$.$lineCap](value) { + this.lineCap = value; + } + get [S$.$lineJoin]() { + return this.lineJoin; + } + set [S$.$lineJoin](value) { + this.lineJoin = value; + } + get [S$.$lineWidth]() { + return this.lineWidth; + } + set [S$.$lineWidth](value) { + this.lineWidth = value; + } + get [S$.$miterLimit]() { + return this.miterLimit; + } + set [S$.$miterLimit](value) { + this.miterLimit = value; + } + get [S$.$shadowBlur]() { + return this.shadowBlur; + } + set [S$.$shadowBlur](value) { + this.shadowBlur = value; + } + get [S$.$shadowColor]() { + return this.shadowColor; + } + set [S$.$shadowColor](value) { + this.shadowColor = value; + } + get [S$.$shadowOffsetX]() { + return this.shadowOffsetX; + } + set [S$.$shadowOffsetX](value) { + this.shadowOffsetX = value; + } + get [S$.$shadowOffsetY]() { + return this.shadowOffsetY; + } + set [S$.$shadowOffsetY](value) { + this.shadowOffsetY = value; + } + get [S$.$strokeStyle]() { + return this.strokeStyle; + } + set [S$.$strokeStyle](value) { + this.strokeStyle = value; + } + get [S$.$textAlign]() { + return this.textAlign; + } + set [S$.$textAlign](value) { + this.textAlign = value; + } + get [S$.$textBaseline]() { + return this.textBaseline; + } + set [S$.$textBaseline](value) { + this.textBaseline = value; + } + [S$.$addHitRegion](options = null) { + if (options != null) { + let options_1 = html_common.convertDartToNative_Dictionary(options); + this[S$._addHitRegion_1](options_1); + return; + } + this[S$._addHitRegion_2](); + return; + } + [S$._addHitRegion_1](...args) { + return this.addHitRegion.apply(this, args); + } + [S$._addHitRegion_2](...args) { + return this.addHitRegion.apply(this, args); + } + [S$.$beginPath](...args) { + return this.beginPath.apply(this, args); + } + [S$.$clearHitRegions](...args) { + return this.clearHitRegions.apply(this, args); + } + [S$.$clearRect](...args) { + return this.clearRect.apply(this, args); + } + [S$.$clip](...args) { + return this.clip.apply(this, args); + } + [S$.$createImageData](data_OR_imagedata_OR_sw, sh_OR_sw = null, imageDataColorSettings_OR_sh = null, imageDataColorSettings = null) { + if (html$.ImageData.is(data_OR_imagedata_OR_sw) && sh_OR_sw == null && imageDataColorSettings_OR_sh == null && imageDataColorSettings == null) { + let imagedata_1 = html_common.convertDartToNative_ImageData(data_OR_imagedata_OR_sw); + return html_common.convertNativeToDart_ImageData(this[S$._createImageData_1](imagedata_1)); + } + if (sh_OR_sw != null && core.int.is(data_OR_imagedata_OR_sw) && imageDataColorSettings_OR_sh == null && imageDataColorSettings == null) { + return html_common.convertNativeToDart_ImageData(this[S$._createImageData_2](data_OR_imagedata_OR_sw, sh_OR_sw)); + } + if (core.Map.is(imageDataColorSettings_OR_sh) && sh_OR_sw != null && core.int.is(data_OR_imagedata_OR_sw) && imageDataColorSettings == null) { + let imageDataColorSettings_1 = html_common.convertDartToNative_Dictionary(imageDataColorSettings_OR_sh); + return html_common.convertNativeToDart_ImageData(this[S$._createImageData_3](data_OR_imagedata_OR_sw, sh_OR_sw, imageDataColorSettings_1)); + } + if (core.int.is(imageDataColorSettings_OR_sh) && sh_OR_sw != null && data_OR_imagedata_OR_sw != null && imageDataColorSettings == null) { + return html_common.convertNativeToDart_ImageData(this[S$._createImageData_4](data_OR_imagedata_OR_sw, sh_OR_sw, imageDataColorSettings_OR_sh)); + } + if (imageDataColorSettings != null && core.int.is(imageDataColorSettings_OR_sh) && sh_OR_sw != null && data_OR_imagedata_OR_sw != null) { + let imageDataColorSettings_1 = html_common.convertDartToNative_Dictionary(imageDataColorSettings); + return html_common.convertNativeToDart_ImageData(this[S$._createImageData_5](data_OR_imagedata_OR_sw, sh_OR_sw, imageDataColorSettings_OR_sh, imageDataColorSettings_1)); + } + dart.throw(new core.ArgumentError.new("Incorrect number or type of arguments")); + } + [S$._createImageData_1](...args) { + return this.createImageData.apply(this, args); + } + [S$._createImageData_2](...args) { + return this.createImageData.apply(this, args); + } + [S$._createImageData_3](...args) { + return this.createImageData.apply(this, args); + } + [S$._createImageData_4](...args) { + return this.createImageData.apply(this, args); + } + [S$._createImageData_5](...args) { + return this.createImageData.apply(this, args); + } + [S$.$createLinearGradient](...args) { + return this.createLinearGradient.apply(this, args); + } + [S$.$createPattern](...args) { + return this.createPattern.apply(this, args); + } + [S$.$createRadialGradient](...args) { + return this.createRadialGradient.apply(this, args); + } + [S$.$drawFocusIfNeeded](...args) { + return this.drawFocusIfNeeded.apply(this, args); + } + [S$.$fill](...args) { + return this.fill.apply(this, args); + } + [S$.$fillRect](...args) { + return this.fillRect.apply(this, args); + } + [S$.$getContextAttributes]() { + return dart.nullCheck(html_common.convertNativeToDart_Dictionary(this[S$._getContextAttributes_1]())); + } + [S$._getContextAttributes_1](...args) { + return this.getContextAttributes.apply(this, args); + } + [S$.$getImageData](sx, sy, sw, sh) { + if (sx == null) dart.nullFailed(I[147], 2581, 30, "sx"); + if (sy == null) dart.nullFailed(I[147], 2581, 38, "sy"); + if (sw == null) dart.nullFailed(I[147], 2581, 46, "sw"); + if (sh == null) dart.nullFailed(I[147], 2581, 54, "sh"); + return html_common.convertNativeToDart_ImageData(this[S$._getImageData_1](sx, sy, sw, sh)); + } + [S$._getImageData_1](...args) { + return this.getImageData.apply(this, args); + } + [S$._getLineDash](...args) { + return this.getLineDash.apply(this, args); + } + [S$.$isContextLost](...args) { + return this.isContextLost.apply(this, args); + } + [S$.$isPointInPath](...args) { + return this.isPointInPath.apply(this, args); + } + [S$.$isPointInStroke](...args) { + return this.isPointInStroke.apply(this, args); + } + [S$.$measureText](...args) { + return this.measureText.apply(this, args); + } + [S$.$putImageData](imagedata, dx, dy, dirtyX = null, dirtyY = null, dirtyWidth = null, dirtyHeight = null) { + if (imagedata == null) dart.nullFailed(I[147], 2601, 31, "imagedata"); + if (dx == null) dart.nullFailed(I[147], 2601, 46, "dx"); + if (dy == null) dart.nullFailed(I[147], 2601, 54, "dy"); + if (dirtyX == null && dirtyY == null && dirtyWidth == null && dirtyHeight == null) { + let imagedata_1 = html_common.convertDartToNative_ImageData(imagedata); + this[S$._putImageData_1](imagedata_1, dx, dy); + return; + } + if (dirtyHeight != null && dirtyWidth != null && dirtyY != null && dirtyX != null) { + let imagedata_1 = html_common.convertDartToNative_ImageData(imagedata); + this[S$._putImageData_2](imagedata_1, dx, dy, dirtyX, dirtyY, dirtyWidth, dirtyHeight); + return; + } + dart.throw(new core.ArgumentError.new("Incorrect number or type of arguments")); + } + [S$._putImageData_1](...args) { + return this.putImageData.apply(this, args); + } + [S$._putImageData_2](...args) { + return this.putImageData.apply(this, args); + } + [S$.$removeHitRegion](...args) { + return this.removeHitRegion.apply(this, args); + } + [S$.$resetTransform](...args) { + return this.resetTransform.apply(this, args); + } + [S$.$restore](...args) { + return this.restore.apply(this, args); + } + [S$.$rotate](...args) { + return this.rotate.apply(this, args); + } + [S$.$save](...args) { + return this.save.apply(this, args); + } + [S$.$scale](...args) { + return this.scale.apply(this, args); + } + [S$.$scrollPathIntoView](...args) { + return this.scrollPathIntoView.apply(this, args); + } + [S$.$setTransform](...args) { + return this.setTransform.apply(this, args); + } + [S$.$stroke](...args) { + return this.stroke.apply(this, args); + } + [S$.$strokeRect](...args) { + return this.strokeRect.apply(this, args); + } + [S$.$strokeText](...args) { + return this.strokeText.apply(this, args); + } + [S$.$transform](...args) { + return this.transform.apply(this, args); + } + [S.$translate](...args) { + return this.translate.apply(this, args); + } + [S$._arc](...args) { + return this.arc.apply(this, args); + } + [S$.$arcTo](...args) { + return this.arcTo.apply(this, args); + } + [S$.$bezierCurveTo](...args) { + return this.bezierCurveTo.apply(this, args); + } + [S$.$closePath](...args) { + return this.closePath.apply(this, args); + } + [S$.$ellipse](...args) { + return this.ellipse.apply(this, args); + } + [S$.$lineTo](...args) { + return this.lineTo.apply(this, args); + } + [S$.$moveTo](...args) { + return this.moveTo.apply(this, args); + } + [S$.$quadraticCurveTo](...args) { + return this.quadraticCurveTo.apply(this, args); + } + [S$.$rect](...args) { + return this.rect.apply(this, args); + } + [S$.$createImageDataFromImageData](imagedata) { + if (imagedata == null) dart.nullFailed(I[147], 2679, 52, "imagedata"); + return this.createImageData(imagedata); + } + [S$.$setFillColorRgb](r, g, b, a = 1) { + if (r == null) dart.nullFailed(I[147], 2686, 28, "r"); + if (g == null) dart.nullFailed(I[147], 2686, 35, "g"); + if (b == null) dart.nullFailed(I[147], 2686, 42, "b"); + if (a == null) dart.nullFailed(I[147], 2686, 50, "a"); + this.fillStyle = "rgba(" + dart.str(r) + ", " + dart.str(g) + ", " + dart.str(b) + ", " + dart.str(a) + ")"; + } + [S$.$setFillColorHsl](h, s, l, a = 1) { + if (h == null) dart.nullFailed(I[147], 2696, 28, "h"); + if (s == null) dart.nullFailed(I[147], 2696, 35, "s"); + if (l == null) dart.nullFailed(I[147], 2696, 42, "l"); + if (a == null) dart.nullFailed(I[147], 2696, 50, "a"); + this.fillStyle = "hsla(" + dart.str(h) + ", " + dart.str(s) + "%, " + dart.str(l) + "%, " + dart.str(a) + ")"; + } + [S$.$setStrokeColorRgb](r, g, b, a = 1) { + if (r == null) dart.nullFailed(I[147], 2704, 30, "r"); + if (g == null) dart.nullFailed(I[147], 2704, 37, "g"); + if (b == null) dart.nullFailed(I[147], 2704, 44, "b"); + if (a == null) dart.nullFailed(I[147], 2704, 52, "a"); + this.strokeStyle = "rgba(" + dart.str(r) + ", " + dart.str(g) + ", " + dart.str(b) + ", " + dart.str(a) + ")"; + } + [S$.$setStrokeColorHsl](h, s, l, a = 1) { + if (h == null) dart.nullFailed(I[147], 2714, 30, "h"); + if (s == null) dart.nullFailed(I[147], 2714, 37, "s"); + if (l == null) dart.nullFailed(I[147], 2714, 44, "l"); + if (a == null) dart.nullFailed(I[147], 2714, 52, "a"); + this.strokeStyle = "hsla(" + dart.str(h) + ", " + dart.str(s) + "%, " + dart.str(l) + "%, " + dart.str(a) + ")"; + } + [S$.$arc](x, y, radius, startAngle, endAngle, anticlockwise = false) { + if (x == null) dart.nullFailed(I[147], 2718, 16, "x"); + if (y == null) dart.nullFailed(I[147], 2718, 23, "y"); + if (radius == null) dart.nullFailed(I[147], 2718, 30, "radius"); + if (startAngle == null) dart.nullFailed(I[147], 2718, 42, "startAngle"); + if (endAngle == null) dart.nullFailed(I[147], 2718, 58, "endAngle"); + if (anticlockwise == null) dart.nullFailed(I[147], 2719, 13, "anticlockwise"); + this.arc(x, y, radius, startAngle, endAngle, anticlockwise); + } + [S$.$createPatternFromImage](image, repetitionType) { + if (image == null) dart.nullFailed(I[147], 2726, 24, "image"); + if (repetitionType == null) dart.nullFailed(I[147], 2726, 38, "repetitionType"); + return this.createPattern(image, repetitionType); + } + [S$.$drawImageToRect](source, destRect, opts) { + if (source == null) dart.nullFailed(I[147], 2769, 42, "source"); + if (destRect == null) dart.nullFailed(I[147], 2769, 60, "destRect"); + let sourceRect = opts && 'sourceRect' in opts ? opts.sourceRect : null; + if (sourceRect == null) { + this[S$.$drawImageScaled](source, destRect[$left], destRect[$top], destRect[$width], destRect[$height]); + } else { + this[S$.$drawImageScaledFromSource](source, sourceRect[$left], sourceRect[$top], sourceRect[$width], sourceRect[$height], destRect[$left], destRect[$top], destRect[$width], destRect[$height]); + } + } + [S$.$drawImage](...args) { + return this.drawImage.apply(this, args); + } + [S$.$drawImageScaled](...args) { + return this.drawImage.apply(this, args); + } + [S$.$drawImageScaledFromSource](...args) { + return this.drawImage.apply(this, args); + } + get [S$.$lineDashOffset]() { + return this.lineDashOffset || this.webkitLineDashOffset; + } + set [S$.$lineDashOffset](value) { + if (value == null) dart.nullFailed(I[147], 2906, 26, "value"); + typeof this.lineDashOffset != "undefined" ? this.lineDashOffset = value : this.webkitLineDashOffset = value; + } + [S$.$getLineDash]() { + if (!!this.getLineDash) { + return this.getLineDash(); + } else if (!!this.webkitLineDash) { + return this.webkitLineDash; + } + return T$0.JSArrayOfnum().of([]); + } + [S$.$setLineDash](dash) { + if (dash == null) dart.nullFailed(I[147], 2937, 30, "dash"); + if (!!this.setLineDash) { + this.setLineDash(dash); + } else if (!!this.webkitLineDash) { + this.webkitLineDash = dash; + } + } + [S$.$fillText](text, x, y, maxWidth = null) { + if (text == null) dart.nullFailed(I[147], 2961, 24, "text"); + if (x == null) dart.nullFailed(I[147], 2961, 34, "x"); + if (y == null) dart.nullFailed(I[147], 2961, 41, "y"); + if (maxWidth != null) { + this.fillText(text, x, y, maxWidth); + } else { + this.fillText(text, x, y); + } + } + get [S$.$backingStorePixelRatio]() { + return 1.0; + } + }; + dart.addTypeTests(html$.CanvasRenderingContext2D); + dart.addTypeCaches(html$.CanvasRenderingContext2D); + html$.CanvasRenderingContext2D[dart.implements] = () => [html$.CanvasRenderingContext]; + dart.setMethodSignature(html$.CanvasRenderingContext2D, () => ({ + __proto__: dart.getMethods(html$.CanvasRenderingContext2D.__proto__), + [S$.$addHitRegion]: dart.fnType(dart.void, [], [dart.nullable(core.Map)]), + [S$._addHitRegion_1]: dart.fnType(dart.void, [dart.dynamic]), + [S$._addHitRegion_2]: dart.fnType(dart.void, []), + [S$.$beginPath]: dart.fnType(dart.void, []), + [S$.$clearHitRegions]: dart.fnType(dart.void, []), + [S$.$clearRect]: dart.fnType(dart.void, [core.num, core.num, core.num, core.num]), + [S$.$clip]: dart.fnType(dart.void, [], [dart.dynamic, dart.nullable(core.String)]), + [S$.$createImageData]: dart.fnType(html$.ImageData, [dart.dynamic], [dart.nullable(core.int), dart.dynamic, dart.nullable(core.Map)]), + [S$._createImageData_1]: dart.fnType(dart.dynamic, [dart.dynamic]), + [S$._createImageData_2]: dart.fnType(dart.dynamic, [core.int, dart.dynamic]), + [S$._createImageData_3]: dart.fnType(dart.dynamic, [core.int, dart.dynamic, dart.dynamic]), + [S$._createImageData_4]: dart.fnType(dart.dynamic, [dart.dynamic, dart.dynamic, dart.nullable(core.int)]), + [S$._createImageData_5]: dart.fnType(dart.dynamic, [dart.dynamic, dart.dynamic, dart.nullable(core.int), dart.dynamic]), + [S$.$createLinearGradient]: dart.fnType(html$.CanvasGradient, [core.num, core.num, core.num, core.num]), + [S$.$createPattern]: dart.fnType(dart.nullable(html$.CanvasPattern), [core.Object, core.String]), + [S$.$createRadialGradient]: dart.fnType(html$.CanvasGradient, [core.num, core.num, core.num, core.num, core.num, core.num]), + [S$.$drawFocusIfNeeded]: dart.fnType(dart.void, [dart.dynamic], [dart.nullable(html$.Element)]), + [S$.$fill]: dart.fnType(dart.void, [], [dart.dynamic, dart.nullable(core.String)]), + [S$.$fillRect]: dart.fnType(dart.void, [core.num, core.num, core.num, core.num]), + [S$.$getContextAttributes]: dart.fnType(core.Map, []), + [S$._getContextAttributes_1]: dart.fnType(dart.dynamic, []), + [S$.$getImageData]: dart.fnType(html$.ImageData, [core.int, core.int, core.int, core.int]), + [S$._getImageData_1]: dart.fnType(dart.dynamic, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic]), + [S$._getLineDash]: dart.fnType(core.List$(core.num), []), + [S$.$isContextLost]: dart.fnType(core.bool, []), + [S$.$isPointInPath]: dart.fnType(core.bool, [dart.dynamic, core.num], [dart.dynamic, dart.nullable(core.String)]), + [S$.$isPointInStroke]: dart.fnType(core.bool, [dart.dynamic, core.num], [dart.nullable(core.num)]), + [S$.$measureText]: dart.fnType(html$.TextMetrics, [core.String]), + [S$.$putImageData]: dart.fnType(dart.void, [html$.ImageData, core.int, core.int], [dart.nullable(core.int), dart.nullable(core.int), dart.nullable(core.int), dart.nullable(core.int)]), + [S$._putImageData_1]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic]), + [S$._putImageData_2]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic]), + [S$.$removeHitRegion]: dart.fnType(dart.void, [core.String]), + [S$.$resetTransform]: dart.fnType(dart.void, []), + [S$.$restore]: dart.fnType(dart.void, []), + [S$.$rotate]: dart.fnType(dart.void, [core.num]), + [S$.$save]: dart.fnType(dart.void, []), + [S$.$scale]: dart.fnType(dart.void, [core.num, core.num]), + [S$.$scrollPathIntoView]: dart.fnType(dart.void, [], [dart.nullable(html$.Path2D)]), + [S$.$setTransform]: dart.fnType(dart.void, [core.num, core.num, core.num, core.num, core.num, core.num]), + [S$.$stroke]: dart.fnType(dart.void, [], [dart.nullable(html$.Path2D)]), + [S$.$strokeRect]: dart.fnType(dart.void, [core.num, core.num, core.num, core.num]), + [S$.$strokeText]: dart.fnType(dart.void, [core.String, core.num, core.num], [dart.nullable(core.num)]), + [S$.$transform]: dart.fnType(dart.void, [core.num, core.num, core.num, core.num, core.num, core.num]), + [S.$translate]: dart.fnType(dart.void, [core.num, core.num]), + [S$._arc]: dart.fnType(dart.void, [core.num, core.num, core.num, core.num, core.num, dart.nullable(core.bool)]), + [S$.$arcTo]: dart.fnType(dart.void, [core.num, core.num, core.num, core.num, core.num]), + [S$.$bezierCurveTo]: dart.fnType(dart.void, [core.num, core.num, core.num, core.num, core.num, core.num]), + [S$.$closePath]: dart.fnType(dart.void, []), + [S$.$ellipse]: dart.fnType(dart.void, [core.num, core.num, core.num, core.num, core.num, core.num, core.num, dart.nullable(core.bool)]), + [S$.$lineTo]: dart.fnType(dart.void, [core.num, core.num]), + [S$.$moveTo]: dart.fnType(dart.void, [core.num, core.num]), + [S$.$quadraticCurveTo]: dart.fnType(dart.void, [core.num, core.num, core.num, core.num]), + [S$.$rect]: dart.fnType(dart.void, [core.num, core.num, core.num, core.num]), + [S$.$createImageDataFromImageData]: dart.fnType(html$.ImageData, [html$.ImageData]), + [S$.$setFillColorRgb]: dart.fnType(dart.void, [core.int, core.int, core.int], [core.num]), + [S$.$setFillColorHsl]: dart.fnType(dart.void, [core.int, core.num, core.num], [core.num]), + [S$.$setStrokeColorRgb]: dart.fnType(dart.void, [core.int, core.int, core.int], [core.num]), + [S$.$setStrokeColorHsl]: dart.fnType(dart.void, [core.int, core.num, core.num], [core.num]), + [S$.$arc]: dart.fnType(dart.void, [core.num, core.num, core.num, core.num, core.num], [core.bool]), + [S$.$createPatternFromImage]: dart.fnType(html$.CanvasPattern, [html$.ImageElement, core.String]), + [S$.$drawImageToRect]: dart.fnType(dart.void, [html$.CanvasImageSource, math.Rectangle$(core.num)], {sourceRect: dart.nullable(math.Rectangle$(core.num))}, {}), + [S$.$drawImage]: dart.fnType(dart.void, [html$.CanvasImageSource, core.num, core.num]), + [S$.$drawImageScaled]: dart.fnType(dart.void, [html$.CanvasImageSource, core.num, core.num, core.num, core.num]), + [S$.$drawImageScaledFromSource]: dart.fnType(dart.void, [html$.CanvasImageSource, core.num, core.num, core.num, core.num, core.num, core.num, core.num, core.num]), + [S$.$getLineDash]: dart.fnType(core.List$(core.num), []), + [S$.$setLineDash]: dart.fnType(dart.void, [core.List$(core.num)]), + [S$.$fillText]: dart.fnType(dart.void, [core.String, core.num, core.num], [dart.nullable(core.num)]) + })); + dart.setGetterSignature(html$.CanvasRenderingContext2D, () => ({ + __proto__: dart.getGetters(html$.CanvasRenderingContext2D.__proto__), + [S$.$canvas]: html$.CanvasElement, + [S$.$currentTransform]: dart.nullable(svg$.Matrix), + [S.$direction]: dart.nullable(core.String), + [S$.$fillStyle]: dart.nullable(core.Object), + [S$.$filter]: dart.nullable(core.String), + [S$.$font]: core.String, + [S$.$globalAlpha]: core.num, + [S$.$globalCompositeOperation]: core.String, + [S$.$imageSmoothingEnabled]: dart.nullable(core.bool), + [S$.$imageSmoothingQuality]: dart.nullable(core.String), + [S$.$lineCap]: core.String, + [S$.$lineJoin]: core.String, + [S$.$lineWidth]: core.num, + [S$.$miterLimit]: core.num, + [S$.$shadowBlur]: core.num, + [S$.$shadowColor]: core.String, + [S$.$shadowOffsetX]: core.num, + [S$.$shadowOffsetY]: core.num, + [S$.$strokeStyle]: dart.nullable(core.Object), + [S$.$textAlign]: core.String, + [S$.$textBaseline]: core.String, + [S$.$lineDashOffset]: core.num, + [S$.$backingStorePixelRatio]: core.double + })); + dart.setSetterSignature(html$.CanvasRenderingContext2D, () => ({ + __proto__: dart.getSetters(html$.CanvasRenderingContext2D.__proto__), + [S$.$currentTransform]: dart.nullable(svg$.Matrix), + [S.$direction]: dart.nullable(core.String), + [S$.$fillStyle]: dart.nullable(core.Object), + [S$.$filter]: dart.nullable(core.String), + [S$.$font]: core.String, + [S$.$globalAlpha]: core.num, + [S$.$globalCompositeOperation]: core.String, + [S$.$imageSmoothingEnabled]: dart.nullable(core.bool), + [S$.$imageSmoothingQuality]: dart.nullable(core.String), + [S$.$lineCap]: core.String, + [S$.$lineJoin]: core.String, + [S$.$lineWidth]: core.num, + [S$.$miterLimit]: core.num, + [S$.$shadowBlur]: core.num, + [S$.$shadowColor]: core.String, + [S$.$shadowOffsetX]: core.num, + [S$.$shadowOffsetY]: core.num, + [S$.$strokeStyle]: dart.nullable(core.Object), + [S$.$textAlign]: core.String, + [S$.$textBaseline]: core.String, + [S$.$lineDashOffset]: core.num + })); + dart.setLibraryUri(html$.CanvasRenderingContext2D, I[148]); + dart.registerExtension("CanvasRenderingContext2D", html$.CanvasRenderingContext2D); + html$.ChildNode = class ChildNode extends _interceptors.Interceptor {}; + dart.addTypeTests(html$.ChildNode); + dart.addTypeCaches(html$.ChildNode); + dart.setLibraryUri(html$.ChildNode, I[148]); + html$.Client = class Client extends _interceptors.Interceptor { + get [S$.$frameType]() { + return this.frameType; + } + get [S.$id]() { + return this.id; + } + get [S.$type]() { + return this.type; + } + get [S$.$url]() { + return this.url; + } + [S$.$postMessage](...args) { + return this.postMessage.apply(this, args); + } + }; + dart.addTypeTests(html$.Client); + dart.addTypeCaches(html$.Client); + dart.setMethodSignature(html$.Client, () => ({ + __proto__: dart.getMethods(html$.Client.__proto__), + [S$.$postMessage]: dart.fnType(dart.void, [core.Object], [dart.nullable(core.List$(core.Object))]) + })); + dart.setGetterSignature(html$.Client, () => ({ + __proto__: dart.getGetters(html$.Client.__proto__), + [S$.$frameType]: dart.nullable(core.String), + [S.$id]: dart.nullable(core.String), + [S.$type]: dart.nullable(core.String), + [S$.$url]: dart.nullable(core.String) + })); + dart.setLibraryUri(html$.Client, I[148]); + dart.registerExtension("Client", html$.Client); + html$.Clients = class Clients extends _interceptors.Interceptor { + [S$.$claim]() { + return js_util.promiseToFuture(dart.dynamic, this.claim()); + } + [S.$get](id) { + if (id == null) dart.nullFailed(I[147], 3063, 21, "id"); + return js_util.promiseToFuture(dart.dynamic, this.get(id)); + } + [S$.$matchAll](options = null) { + let options_dict = null; + if (options != null) { + options_dict = html_common.convertDartToNative_Dictionary(options); + } + return js_util.promiseToFuture(core.List, this.matchAll(options_dict)); + } + [S$.$openWindow](url) { + if (url == null) dart.nullFailed(I[147], 3074, 42, "url"); + return js_util.promiseToFuture(html$.WindowClient, this.openWindow(url)); + } + }; + dart.addTypeTests(html$.Clients); + dart.addTypeCaches(html$.Clients); + dart.setMethodSignature(html$.Clients, () => ({ + __proto__: dart.getMethods(html$.Clients.__proto__), + [S$.$claim]: dart.fnType(async.Future, []), + [S.$get]: dart.fnType(async.Future, [core.String]), + [S$.$matchAll]: dart.fnType(async.Future$(core.List), [], [dart.nullable(core.Map)]), + [S$.$openWindow]: dart.fnType(async.Future$(html$.WindowClient), [core.String]) + })); + dart.setLibraryUri(html$.Clients, I[148]); + dart.registerExtension("Clients", html$.Clients); + html$.ClipboardEvent = class ClipboardEvent$ extends html$.Event { + static new(type, eventInitDict = null) { + if (type == null) dart.nullFailed(I[147], 3088, 33, "type"); + if (eventInitDict != null) { + let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); + return html$.ClipboardEvent._create_1(type, eventInitDict_1); + } + return html$.ClipboardEvent._create_2(type); + } + static _create_1(type, eventInitDict) { + return new ClipboardEvent(type, eventInitDict); + } + static _create_2(type) { + return new ClipboardEvent(type); + } + get [S$.$clipboardData]() { + return this.clipboardData; + } + }; + dart.addTypeTests(html$.ClipboardEvent); + dart.addTypeCaches(html$.ClipboardEvent); + dart.setGetterSignature(html$.ClipboardEvent, () => ({ + __proto__: dart.getGetters(html$.ClipboardEvent.__proto__), + [S$.$clipboardData]: dart.nullable(html$.DataTransfer) + })); + dart.setLibraryUri(html$.ClipboardEvent, I[148]); + dart.registerExtension("ClipboardEvent", html$.ClipboardEvent); + html$.CloseEvent = class CloseEvent$ extends html$.Event { + static new(type, eventInitDict = null) { + if (type == null) dart.nullFailed(I[147], 3113, 29, "type"); + if (eventInitDict != null) { + let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); + return html$.CloseEvent._create_1(type, eventInitDict_1); + } + return html$.CloseEvent._create_2(type); + } + static _create_1(type, eventInitDict) { + return new CloseEvent(type, eventInitDict); + } + static _create_2(type) { + return new CloseEvent(type); + } + get [S$.$code]() { + return this.code; + } + get [S$.$reason]() { + return this.reason; + } + get [S$.$wasClean]() { + return this.wasClean; + } + }; + dart.addTypeTests(html$.CloseEvent); + dart.addTypeCaches(html$.CloseEvent); + dart.setGetterSignature(html$.CloseEvent, () => ({ + __proto__: dart.getGetters(html$.CloseEvent.__proto__), + [S$.$code]: dart.nullable(core.int), + [S$.$reason]: dart.nullable(core.String), + [S$.$wasClean]: dart.nullable(core.bool) + })); + dart.setLibraryUri(html$.CloseEvent, I[148]); + dart.registerExtension("CloseEvent", html$.CloseEvent); + html$.Comment = class Comment extends html$.CharacterData { + static new(data = null) { + return html$.document.createComment(data == null ? "" : data); + } + }; + dart.addTypeTests(html$.Comment); + dart.addTypeCaches(html$.Comment); + dart.setLibraryUri(html$.Comment, I[148]); + dart.registerExtension("Comment", html$.Comment); + html$.UIEvent = class UIEvent$ extends html$.Event { + static new(type, opts) { + if (type == null) dart.nullFailed(I[147], 30716, 26, "type"); + let view = opts && 'view' in opts ? opts.view : null; + let detail = opts && 'detail' in opts ? opts.detail : 0; + if (detail == null) dart.nullFailed(I[147], 30718, 11, "detail"); + let canBubble = opts && 'canBubble' in opts ? opts.canBubble : true; + if (canBubble == null) dart.nullFailed(I[147], 30719, 12, "canBubble"); + let cancelable = opts && 'cancelable' in opts ? opts.cancelable : true; + if (cancelable == null) dart.nullFailed(I[147], 30720, 12, "cancelable"); + if (view == null) { + view = html$.window; + } + let e = html$.UIEvent.as(html$.document[S._createEvent]("UIEvent")); + e[S$._initUIEvent](type, canBubble, cancelable, view, detail); + return e; + } + static __(type, eventInitDict = null) { + if (type == null) dart.nullFailed(I[147], 30729, 28, "type"); + if (eventInitDict != null) { + let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); + return html$.UIEvent._create_1(type, eventInitDict_1); + } + return html$.UIEvent._create_2(type); + } + static _create_1(type, eventInitDict) { + return new UIEvent(type, eventInitDict); + } + static _create_2(type) { + return new UIEvent(type); + } + get [S$.$detail]() { + return this.detail; + } + get [S$.$sourceCapabilities]() { + return this.sourceCapabilities; + } + get [S$.$view]() { + return html$._convertNativeToDart_Window(this[S$._get_view]); + } + get [S$._get_view]() { + return this.view; + } + get [S$._which]() { + return this.which; + } + [S$._initUIEvent](...args) { + return this.initUIEvent.apply(this, args); + } + }; + dart.addTypeTests(html$.UIEvent); + dart.addTypeCaches(html$.UIEvent); + dart.setMethodSignature(html$.UIEvent, () => ({ + __proto__: dart.getMethods(html$.UIEvent.__proto__), + [S$._initUIEvent]: dart.fnType(dart.void, [core.String, core.bool, core.bool, dart.nullable(html$.Window), core.int]) + })); + dart.setGetterSignature(html$.UIEvent, () => ({ + __proto__: dart.getGetters(html$.UIEvent.__proto__), + [S$.$detail]: dart.nullable(core.int), + [S$.$sourceCapabilities]: dart.nullable(html$.InputDeviceCapabilities), + [S$.$view]: dart.nullable(html$.WindowBase), + [S$._get_view]: dart.dynamic, + [S$._which]: dart.nullable(core.int) + })); + dart.setLibraryUri(html$.UIEvent, I[148]); + dart.registerExtension("UIEvent", html$.UIEvent); + html$.CompositionEvent = class CompositionEvent$ extends html$.UIEvent { + static new(type, opts) { + if (type == null) dart.nullFailed(I[147], 3154, 35, "type"); + let canBubble = opts && 'canBubble' in opts ? opts.canBubble : false; + if (canBubble == null) dart.nullFailed(I[147], 3155, 13, "canBubble"); + let cancelable = opts && 'cancelable' in opts ? opts.cancelable : false; + if (cancelable == null) dart.nullFailed(I[147], 3156, 12, "cancelable"); + let view = opts && 'view' in opts ? opts.view : null; + let data = opts && 'data' in opts ? opts.data : null; + let locale = opts && 'locale' in opts ? opts.locale : null; + if (view == null) { + view = html$.window; + } + let e = html$.CompositionEvent.as(html$.document[S._createEvent]("CompositionEvent")); + if (dart.test(html_common.Device.isFirefox)) { + e.initCompositionEvent(type, canBubble, cancelable, view, data, locale); + } else { + e[S$._initCompositionEvent](type, canBubble, cancelable, view, data); + } + return e; + } + static __(type, eventInitDict = null) { + if (type == null) dart.nullFailed(I[147], 3177, 37, "type"); + if (eventInitDict != null) { + let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); + return html$.CompositionEvent._create_1(type, eventInitDict_1); + } + return html$.CompositionEvent._create_2(type); + } + static _create_1(type, eventInitDict) { + return new CompositionEvent(type, eventInitDict); + } + static _create_2(type) { + return new CompositionEvent(type); + } + get [S$.$data]() { + return this.data; + } + [S$._initCompositionEvent](...args) { + return this.initCompositionEvent.apply(this, args); + } + }; + dart.addTypeTests(html$.CompositionEvent); + dart.addTypeCaches(html$.CompositionEvent); + dart.setMethodSignature(html$.CompositionEvent, () => ({ + __proto__: dart.getMethods(html$.CompositionEvent.__proto__), + [S$._initCompositionEvent]: dart.fnType(dart.void, [dart.nullable(core.String), dart.nullable(core.bool), dart.nullable(core.bool), dart.nullable(html$.Window), dart.nullable(core.String)]) + })); + dart.setGetterSignature(html$.CompositionEvent, () => ({ + __proto__: dart.getGetters(html$.CompositionEvent.__proto__), + [S$.$data]: dart.nullable(core.String) + })); + dart.setLibraryUri(html$.CompositionEvent, I[148]); + dart.registerExtension("CompositionEvent", html$.CompositionEvent); + html$.ContentElement = class ContentElement extends html$.HtmlElement { + static new() { + return html$.ContentElement.as(html$.document[S.$createElement]("content")); + } + static get supported() { + return html$.Element.isTagSupported("content"); + } + get [S$.$select]() { + return this.select; + } + set [S$.$select](value) { + this.select = value; + } + [S$.$getDistributedNodes](...args) { + return this.getDistributedNodes.apply(this, args); + } + }; + (html$.ContentElement.created = function() { + html$.ContentElement.__proto__.created.call(this); + ; + }).prototype = html$.ContentElement.prototype; + dart.addTypeTests(html$.ContentElement); + dart.addTypeCaches(html$.ContentElement); + dart.setMethodSignature(html$.ContentElement, () => ({ + __proto__: dart.getMethods(html$.ContentElement.__proto__), + [S$.$getDistributedNodes]: dart.fnType(core.List$(html$.Node), []) + })); + dart.setGetterSignature(html$.ContentElement, () => ({ + __proto__: dart.getGetters(html$.ContentElement.__proto__), + [S$.$select]: dart.nullable(core.String) + })); + dart.setSetterSignature(html$.ContentElement, () => ({ + __proto__: dart.getSetters(html$.ContentElement.__proto__), + [S$.$select]: dart.nullable(core.String) + })); + dart.setLibraryUri(html$.ContentElement, I[148]); + dart.registerExtension("HTMLContentElement", html$.ContentElement); + html$.CookieStore = class CookieStore extends _interceptors.Interceptor { + [S.$getAll](options = null) { + let options_dict = null; + if (options != null) { + options_dict = html_common.convertDartToNative_Dictionary(options); + } + return js_util.promiseToFuture(dart.dynamic, this.getAll(options_dict)); + } + [S$.$set](name, value, options = null) { + if (name == null) dart.nullFailed(I[147], 3246, 21, "name"); + if (value == null) dart.nullFailed(I[147], 3246, 34, "value"); + let options_dict = null; + if (options != null) { + options_dict = html_common.convertDartToNative_Dictionary(options); + } + return js_util.promiseToFuture(dart.dynamic, this.set(name, value, options_dict)); + } + }; + dart.addTypeTests(html$.CookieStore); + dart.addTypeCaches(html$.CookieStore); + dart.setMethodSignature(html$.CookieStore, () => ({ + __proto__: dart.getMethods(html$.CookieStore.__proto__), + [S.$getAll]: dart.fnType(async.Future, [], [dart.nullable(core.Map)]), + [S$.$set]: dart.fnType(async.Future, [core.String, core.String], [dart.nullable(core.Map)]) + })); + dart.setLibraryUri(html$.CookieStore, I[148]); + dart.registerExtension("CookieStore", html$.CookieStore); + html$.Coordinates = class Coordinates extends _interceptors.Interceptor { + get [S$.$accuracy]() { + return this.accuracy; + } + get [S$.$altitude]() { + return this.altitude; + } + get [S$.$altitudeAccuracy]() { + return this.altitudeAccuracy; + } + get [S$.$heading]() { + return this.heading; + } + get [S$.$latitude]() { + return this.latitude; + } + get [S$.$longitude]() { + return this.longitude; + } + get [S$.$speed]() { + return this.speed; + } + }; + dart.addTypeTests(html$.Coordinates); + dart.addTypeCaches(html$.Coordinates); + dart.setGetterSignature(html$.Coordinates, () => ({ + __proto__: dart.getGetters(html$.Coordinates.__proto__), + [S$.$accuracy]: dart.nullable(core.num), + [S$.$altitude]: dart.nullable(core.num), + [S$.$altitudeAccuracy]: dart.nullable(core.num), + [S$.$heading]: dart.nullable(core.num), + [S$.$latitude]: dart.nullable(core.num), + [S$.$longitude]: dart.nullable(core.num), + [S$.$speed]: dart.nullable(core.num) + })); + dart.setLibraryUri(html$.Coordinates, I[148]); + dart.registerExtension("Coordinates", html$.Coordinates); + html$.Credential = class Credential extends _interceptors.Interceptor { + get [S.$id]() { + return this.id; + } + get [S.$type]() { + return this.type; + } + }; + dart.addTypeTests(html$.Credential); + dart.addTypeCaches(html$.Credential); + dart.setGetterSignature(html$.Credential, () => ({ + __proto__: dart.getGetters(html$.Credential.__proto__), + [S.$id]: dart.nullable(core.String), + [S.$type]: dart.nullable(core.String) + })); + dart.setLibraryUri(html$.Credential, I[148]); + dart.registerExtension("Credential", html$.Credential); + html$.CredentialUserData = class CredentialUserData extends _interceptors.Interceptor { + get [S$.$iconUrl]() { + return this.iconURL; + } + get [$name]() { + return this.name; + } + }; + dart.addTypeTests(html$.CredentialUserData); + dart.addTypeCaches(html$.CredentialUserData); + dart.setGetterSignature(html$.CredentialUserData, () => ({ + __proto__: dart.getGetters(html$.CredentialUserData.__proto__), + [S$.$iconUrl]: dart.nullable(core.String), + [$name]: dart.nullable(core.String) + })); + dart.setLibraryUri(html$.CredentialUserData, I[148]); + dart.registerExtension("CredentialUserData", html$.CredentialUserData); + html$.CredentialsContainer = class CredentialsContainer extends _interceptors.Interceptor { + [S$.$create](options = null) { + let options_dict = null; + if (options != null) { + options_dict = html_common.convertDartToNative_Dictionary(options); + } + return js_util.promiseToFuture(dart.dynamic, this.create(options_dict)); + } + [S.$get](options = null) { + let options_dict = null; + if (options != null) { + options_dict = html_common.convertDartToNative_Dictionary(options); + } + return js_util.promiseToFuture(dart.dynamic, this.get(options_dict)); + } + [S$.$preventSilentAccess]() { + return js_util.promiseToFuture(dart.dynamic, this.preventSilentAccess()); + } + [S$.$requireUserMediation]() { + return js_util.promiseToFuture(dart.dynamic, this.requireUserMediation()); + } + [S$.$store](credential) { + if (credential == null) dart.nullFailed(I[147], 3346, 27, "credential"); + return js_util.promiseToFuture(dart.dynamic, this.store(credential)); + } + }; + dart.addTypeTests(html$.CredentialsContainer); + dart.addTypeCaches(html$.CredentialsContainer); + dart.setMethodSignature(html$.CredentialsContainer, () => ({ + __proto__: dart.getMethods(html$.CredentialsContainer.__proto__), + [S$.$create]: dart.fnType(async.Future, [], [dart.nullable(core.Map)]), + [S.$get]: dart.fnType(async.Future, [], [dart.nullable(core.Map)]), + [S$.$preventSilentAccess]: dart.fnType(async.Future, []), + [S$.$requireUserMediation]: dart.fnType(async.Future, []), + [S$.$store]: dart.fnType(async.Future, [html$.Credential]) + })); + dart.setLibraryUri(html$.CredentialsContainer, I[148]); + dart.registerExtension("CredentialsContainer", html$.CredentialsContainer); + html$.Crypto = class Crypto extends _interceptors.Interceptor { + [S$.$getRandomValues](array) { + if (array == null) dart.nullFailed(I[147], 3357, 39, "array"); + return this[S$._getRandomValues](array); + } + static get supported() { + return !!(window.crypto && window.crypto.getRandomValues); + } + get [S$.$subtle]() { + return this.subtle; + } + [S$._getRandomValues](...args) { + return this.getRandomValues.apply(this, args); + } + }; + dart.addTypeTests(html$.Crypto); + dart.addTypeCaches(html$.Crypto); + dart.setMethodSignature(html$.Crypto, () => ({ + __proto__: dart.getMethods(html$.Crypto.__proto__), + [S$.$getRandomValues]: dart.fnType(typed_data.TypedData, [typed_data.TypedData]), + [S$._getRandomValues]: dart.fnType(typed_data.TypedData, [typed_data.TypedData]) + })); + dart.setGetterSignature(html$.Crypto, () => ({ + __proto__: dart.getGetters(html$.Crypto.__proto__), + [S$.$subtle]: dart.nullable(html$._SubtleCrypto) + })); + dart.setLibraryUri(html$.Crypto, I[148]); + dart.registerExtension("Crypto", html$.Crypto); + html$.CryptoKey = class CryptoKey extends _interceptors.Interceptor { + get [S$.$algorithm]() { + return this.algorithm; + } + get [S$.$extractable]() { + return this.extractable; + } + get [S.$type]() { + return this.type; + } + get [S$.$usages]() { + return this.usages; + } + }; + dart.addTypeTests(html$.CryptoKey); + dart.addTypeCaches(html$.CryptoKey); + dart.setGetterSignature(html$.CryptoKey, () => ({ + __proto__: dart.getGetters(html$.CryptoKey.__proto__), + [S$.$algorithm]: dart.nullable(core.Object), + [S$.$extractable]: dart.nullable(core.bool), + [S.$type]: dart.nullable(core.String), + [S$.$usages]: dart.nullable(core.Object) + })); + dart.setLibraryUri(html$.CryptoKey, I[148]); + dart.registerExtension("CryptoKey", html$.CryptoKey); + html$.Css = class Css extends _interceptors.Interceptor { + static registerProperty(descriptor) { + if (descriptor == null) dart.nullFailed(I[147], 3455, 36, "descriptor"); + let descriptor_1 = html_common.convertDartToNative_Dictionary(descriptor); + dart.global.CSS.registerProperty(descriptor_1); + return; + } + }; + dart.addTypeTests(html$.Css); + dart.addTypeCaches(html$.Css); + dart.setLibraryUri(html$.Css, I[148]); + dart.registerExtension("CSS", html$.Css); + html$.CssRule = class CssRule extends _interceptors.Interceptor { + get [S$.$cssText]() { + return this.cssText; + } + set [S$.$cssText](value) { + this.cssText = value; + } + get [S$.$parentRule]() { + return this.parentRule; + } + get [S$.$parentStyleSheet]() { + return this.parentStyleSheet; + } + get [S.$type]() { + return this.type; + } + }; + dart.addTypeTests(html$.CssRule); + dart.addTypeCaches(html$.CssRule); + dart.setGetterSignature(html$.CssRule, () => ({ + __proto__: dart.getGetters(html$.CssRule.__proto__), + [S$.$cssText]: dart.nullable(core.String), + [S$.$parentRule]: dart.nullable(html$.CssRule), + [S$.$parentStyleSheet]: dart.nullable(html$.CssStyleSheet), + [S.$type]: dart.nullable(core.int) + })); + dart.setSetterSignature(html$.CssRule, () => ({ + __proto__: dart.getSetters(html$.CssRule.__proto__), + [S$.$cssText]: dart.nullable(core.String) + })); + dart.setLibraryUri(html$.CssRule, I[148]); + dart.defineLazy(html$.CssRule, { + /*html$.CssRule.CHARSET_RULE*/get CHARSET_RULE() { + return 2; + }, + /*html$.CssRule.FONT_FACE_RULE*/get FONT_FACE_RULE() { + return 5; + }, + /*html$.CssRule.IMPORT_RULE*/get IMPORT_RULE() { + return 3; + }, + /*html$.CssRule.KEYFRAMES_RULE*/get KEYFRAMES_RULE() { + return 7; + }, + /*html$.CssRule.KEYFRAME_RULE*/get KEYFRAME_RULE() { + return 8; + }, + /*html$.CssRule.MEDIA_RULE*/get MEDIA_RULE() { + return 4; + }, + /*html$.CssRule.NAMESPACE_RULE*/get NAMESPACE_RULE() { + return 10; + }, + /*html$.CssRule.PAGE_RULE*/get PAGE_RULE() { + return 6; + }, + /*html$.CssRule.STYLE_RULE*/get STYLE_RULE() { + return 1; + }, + /*html$.CssRule.SUPPORTS_RULE*/get SUPPORTS_RULE() { + return 12; + }, + /*html$.CssRule.VIEWPORT_RULE*/get VIEWPORT_RULE() { + return 15; + } + }, false); + dart.registerExtension("CSSRule", html$.CssRule); + html$.CssCharsetRule = class CssCharsetRule extends html$.CssRule { + get [S$.$encoding]() { + return this.encoding; + } + set [S$.$encoding](value) { + this.encoding = value; + } + }; + dart.addTypeTests(html$.CssCharsetRule); + dart.addTypeCaches(html$.CssCharsetRule); + dart.setGetterSignature(html$.CssCharsetRule, () => ({ + __proto__: dart.getGetters(html$.CssCharsetRule.__proto__), + [S$.$encoding]: dart.nullable(core.String) + })); + dart.setSetterSignature(html$.CssCharsetRule, () => ({ + __proto__: dart.getSetters(html$.CssCharsetRule.__proto__), + [S$.$encoding]: dart.nullable(core.String) + })); + dart.setLibraryUri(html$.CssCharsetRule, I[148]); + dart.registerExtension("CSSCharsetRule", html$.CssCharsetRule); + html$.CssGroupingRule = class CssGroupingRule extends html$.CssRule { + get [S$.$cssRules]() { + return this.cssRules; + } + [S$.$deleteRule](...args) { + return this.deleteRule.apply(this, args); + } + [S$.$insertRule](...args) { + return this.insertRule.apply(this, args); + } + }; + dart.addTypeTests(html$.CssGroupingRule); + dart.addTypeCaches(html$.CssGroupingRule); + dart.setMethodSignature(html$.CssGroupingRule, () => ({ + __proto__: dart.getMethods(html$.CssGroupingRule.__proto__), + [S$.$deleteRule]: dart.fnType(dart.void, [core.int]), + [S$.$insertRule]: dart.fnType(core.int, [core.String, core.int]) + })); + dart.setGetterSignature(html$.CssGroupingRule, () => ({ + __proto__: dart.getGetters(html$.CssGroupingRule.__proto__), + [S$.$cssRules]: dart.nullable(core.List$(html$.CssRule)) + })); + dart.setLibraryUri(html$.CssGroupingRule, I[148]); + dart.registerExtension("CSSGroupingRule", html$.CssGroupingRule); + html$.CssConditionRule = class CssConditionRule extends html$.CssGroupingRule { + get [S$.$conditionText]() { + return this.conditionText; + } + }; + dart.addTypeTests(html$.CssConditionRule); + dart.addTypeCaches(html$.CssConditionRule); + dart.setGetterSignature(html$.CssConditionRule, () => ({ + __proto__: dart.getGetters(html$.CssConditionRule.__proto__), + [S$.$conditionText]: dart.nullable(core.String) + })); + dart.setLibraryUri(html$.CssConditionRule, I[148]); + dart.registerExtension("CSSConditionRule", html$.CssConditionRule); + html$.CssFontFaceRule = class CssFontFaceRule extends html$.CssRule { + get [S.$style]() { + return this.style; + } + }; + dart.addTypeTests(html$.CssFontFaceRule); + dart.addTypeCaches(html$.CssFontFaceRule); + dart.setGetterSignature(html$.CssFontFaceRule, () => ({ + __proto__: dart.getGetters(html$.CssFontFaceRule.__proto__), + [S.$style]: dart.nullable(html$.CssStyleDeclaration) + })); + dart.setLibraryUri(html$.CssFontFaceRule, I[148]); + dart.registerExtension("CSSFontFaceRule", html$.CssFontFaceRule); + html$.CssStyleValue = class CssStyleValue extends _interceptors.Interceptor {}; + dart.addTypeTests(html$.CssStyleValue); + dart.addTypeCaches(html$.CssStyleValue); + dart.setLibraryUri(html$.CssStyleValue, I[148]); + dart.registerExtension("CSSStyleValue", html$.CssStyleValue); + html$.CssResourceValue = class CssResourceValue extends html$.CssStyleValue { + get [S$.$state]() { + return this.state; + } + }; + dart.addTypeTests(html$.CssResourceValue); + dart.addTypeCaches(html$.CssResourceValue); + dart.setGetterSignature(html$.CssResourceValue, () => ({ + __proto__: dart.getGetters(html$.CssResourceValue.__proto__), + [S$.$state]: dart.nullable(core.String) + })); + dart.setLibraryUri(html$.CssResourceValue, I[148]); + dart.registerExtension("CSSResourceValue", html$.CssResourceValue); + html$.CssImageValue = class CssImageValue extends html$.CssResourceValue { + get [S$.$intrinsicHeight]() { + return this.intrinsicHeight; + } + get [S$.$intrinsicRatio]() { + return this.intrinsicRatio; + } + get [S$.$intrinsicWidth]() { + return this.intrinsicWidth; + } + }; + dart.addTypeTests(html$.CssImageValue); + dart.addTypeCaches(html$.CssImageValue); + dart.setGetterSignature(html$.CssImageValue, () => ({ + __proto__: dart.getGetters(html$.CssImageValue.__proto__), + [S$.$intrinsicHeight]: dart.nullable(core.num), + [S$.$intrinsicRatio]: dart.nullable(core.num), + [S$.$intrinsicWidth]: dart.nullable(core.num) + })); + dart.setLibraryUri(html$.CssImageValue, I[148]); + dart.registerExtension("CSSImageValue", html$.CssImageValue); + html$.CssImportRule = class CssImportRule extends html$.CssRule { + get [S$.$href]() { + return this.href; + } + get [S$.$media]() { + return this.media; + } + get [S$.$styleSheet]() { + return this.styleSheet; + } + }; + dart.addTypeTests(html$.CssImportRule); + dart.addTypeCaches(html$.CssImportRule); + dart.setGetterSignature(html$.CssImportRule, () => ({ + __proto__: dart.getGetters(html$.CssImportRule.__proto__), + [S$.$href]: dart.nullable(core.String), + [S$.$media]: dart.nullable(html$.MediaList), + [S$.$styleSheet]: dart.nullable(html$.CssStyleSheet) + })); + dart.setLibraryUri(html$.CssImportRule, I[148]); + dart.registerExtension("CSSImportRule", html$.CssImportRule); + html$.CssKeyframeRule = class CssKeyframeRule extends html$.CssRule { + get [S$.$keyText]() { + return this.keyText; + } + set [S$.$keyText](value) { + this.keyText = value; + } + get [S.$style]() { + return this.style; + } + }; + dart.addTypeTests(html$.CssKeyframeRule); + dart.addTypeCaches(html$.CssKeyframeRule); + dart.setGetterSignature(html$.CssKeyframeRule, () => ({ + __proto__: dart.getGetters(html$.CssKeyframeRule.__proto__), + [S$.$keyText]: dart.nullable(core.String), + [S.$style]: dart.nullable(html$.CssStyleDeclaration) + })); + dart.setSetterSignature(html$.CssKeyframeRule, () => ({ + __proto__: dart.getSetters(html$.CssKeyframeRule.__proto__), + [S$.$keyText]: dart.nullable(core.String) + })); + dart.setLibraryUri(html$.CssKeyframeRule, I[148]); + dart.registerExtension("CSSKeyframeRule", html$.CssKeyframeRule); + dart.registerExtension("MozCSSKeyframeRule", html$.CssKeyframeRule); + dart.registerExtension("WebKitCSSKeyframeRule", html$.CssKeyframeRule); + html$.CssKeyframesRule = class CssKeyframesRule extends html$.CssRule { + get [S$.$cssRules]() { + return this.cssRules; + } + get [$name]() { + return this.name; + } + set [$name](value) { + this.name = value; + } + [S$.__getter__](...args) { + return this.__getter__.apply(this, args); + } + [S$.$appendRule](...args) { + return this.appendRule.apply(this, args); + } + [S$.$deleteRule](...args) { + return this.deleteRule.apply(this, args); + } + [S$.$findRule](...args) { + return this.findRule.apply(this, args); + } + }; + dart.addTypeTests(html$.CssKeyframesRule); + dart.addTypeCaches(html$.CssKeyframesRule); + dart.setMethodSignature(html$.CssKeyframesRule, () => ({ + __proto__: dart.getMethods(html$.CssKeyframesRule.__proto__), + [S$.__getter__]: dart.fnType(html$.CssKeyframeRule, [core.int]), + [S$.$appendRule]: dart.fnType(dart.void, [core.String]), + [S$.$deleteRule]: dart.fnType(dart.void, [core.String]), + [S$.$findRule]: dart.fnType(dart.nullable(html$.CssKeyframeRule), [core.String]) + })); + dart.setGetterSignature(html$.CssKeyframesRule, () => ({ + __proto__: dart.getGetters(html$.CssKeyframesRule.__proto__), + [S$.$cssRules]: dart.nullable(core.List$(html$.CssRule)), + [$name]: dart.nullable(core.String) + })); + dart.setSetterSignature(html$.CssKeyframesRule, () => ({ + __proto__: dart.getSetters(html$.CssKeyframesRule.__proto__), + [$name]: dart.nullable(core.String) + })); + dart.setLibraryUri(html$.CssKeyframesRule, I[148]); + dart.registerExtension("CSSKeyframesRule", html$.CssKeyframesRule); + dart.registerExtension("MozCSSKeyframesRule", html$.CssKeyframesRule); + dart.registerExtension("WebKitCSSKeyframesRule", html$.CssKeyframesRule); + html$.CssKeywordValue = class CssKeywordValue extends html$.CssStyleValue { + static new(keyword) { + if (keyword == null) dart.nullFailed(I[147], 3632, 34, "keyword"); + return html$.CssKeywordValue._create_1(keyword); + } + static _create_1(keyword) { + return new CSSKeywordValue(keyword); + } + get [S.$value]() { + return this.value; + } + set [S.$value](value) { + this.value = value; + } + }; + dart.addTypeTests(html$.CssKeywordValue); + dart.addTypeCaches(html$.CssKeywordValue); + dart.setGetterSignature(html$.CssKeywordValue, () => ({ + __proto__: dart.getGetters(html$.CssKeywordValue.__proto__), + [S.$value]: dart.nullable(core.String) + })); + dart.setSetterSignature(html$.CssKeywordValue, () => ({ + __proto__: dart.getSetters(html$.CssKeywordValue.__proto__), + [S.$value]: dart.nullable(core.String) + })); + dart.setLibraryUri(html$.CssKeywordValue, I[148]); + dart.registerExtension("CSSKeywordValue", html$.CssKeywordValue); + html$.CssTransformComponent = class CssTransformComponent extends _interceptors.Interceptor { + get [S$.$is2D]() { + return this.is2D; + } + set [S$.$is2D](value) { + this.is2D = value; + } + }; + dart.addTypeTests(html$.CssTransformComponent); + dart.addTypeCaches(html$.CssTransformComponent); + dart.setGetterSignature(html$.CssTransformComponent, () => ({ + __proto__: dart.getGetters(html$.CssTransformComponent.__proto__), + [S$.$is2D]: dart.nullable(core.bool) + })); + dart.setSetterSignature(html$.CssTransformComponent, () => ({ + __proto__: dart.getSetters(html$.CssTransformComponent.__proto__), + [S$.$is2D]: dart.nullable(core.bool) + })); + dart.setLibraryUri(html$.CssTransformComponent, I[148]); + dart.registerExtension("CSSTransformComponent", html$.CssTransformComponent); + html$.CssMatrixComponent = class CssMatrixComponent extends html$.CssTransformComponent { + static new(matrix, options = null) { + if (matrix == null) dart.nullFailed(I[147], 3653, 48, "matrix"); + if (options != null) { + let options_1 = html_common.convertDartToNative_Dictionary(options); + return html$.CssMatrixComponent._create_1(matrix, options_1); + } + return html$.CssMatrixComponent._create_2(matrix); + } + static _create_1(matrix, options) { + return new CSSMatrixComponent(matrix, options); + } + static _create_2(matrix) { + return new CSSMatrixComponent(matrix); + } + get [S$.$matrix]() { + return this.matrix; + } + set [S$.$matrix](value) { + this.matrix = value; + } + }; + dart.addTypeTests(html$.CssMatrixComponent); + dart.addTypeCaches(html$.CssMatrixComponent); + dart.setGetterSignature(html$.CssMatrixComponent, () => ({ + __proto__: dart.getGetters(html$.CssMatrixComponent.__proto__), + [S$.$matrix]: dart.nullable(html$.DomMatrix) + })); + dart.setSetterSignature(html$.CssMatrixComponent, () => ({ + __proto__: dart.getSetters(html$.CssMatrixComponent.__proto__), + [S$.$matrix]: dart.nullable(html$.DomMatrix) + })); + dart.setLibraryUri(html$.CssMatrixComponent, I[148]); + dart.registerExtension("CSSMatrixComponent", html$.CssMatrixComponent); + html$.CssMediaRule = class CssMediaRule extends html$.CssConditionRule { + get [S$.$media]() { + return this.media; + } + }; + dart.addTypeTests(html$.CssMediaRule); + dart.addTypeCaches(html$.CssMediaRule); + dart.setGetterSignature(html$.CssMediaRule, () => ({ + __proto__: dart.getGetters(html$.CssMediaRule.__proto__), + [S$.$media]: dart.nullable(html$.MediaList) + })); + dart.setLibraryUri(html$.CssMediaRule, I[148]); + dart.registerExtension("CSSMediaRule", html$.CssMediaRule); + html$.CssNamespaceRule = class CssNamespaceRule extends html$.CssRule { + get [S.$namespaceUri]() { + return this.namespaceURI; + } + get [S$.$prefix]() { + return this.prefix; + } + }; + dart.addTypeTests(html$.CssNamespaceRule); + dart.addTypeCaches(html$.CssNamespaceRule); + dart.setGetterSignature(html$.CssNamespaceRule, () => ({ + __proto__: dart.getGetters(html$.CssNamespaceRule.__proto__), + [S.$namespaceUri]: dart.nullable(core.String), + [S$.$prefix]: dart.nullable(core.String) + })); + dart.setLibraryUri(html$.CssNamespaceRule, I[148]); + dart.registerExtension("CSSNamespaceRule", html$.CssNamespaceRule); + html$.CssNumericValue = class CssNumericValue extends html$.CssStyleValue { + [$add](...args) { + return this.add.apply(this, args); + } + [S$.$div](...args) { + return this.div.apply(this, args); + } + [S$.$mul](...args) { + return this.mul.apply(this, args); + } + [S$.$sub](...args) { + return this.sub.apply(this, args); + } + [S$.$to](...args) { + return this.to.apply(this, args); + } + }; + dart.addTypeTests(html$.CssNumericValue); + dart.addTypeCaches(html$.CssNumericValue); + dart.setMethodSignature(html$.CssNumericValue, () => ({ + __proto__: dart.getMethods(html$.CssNumericValue.__proto__), + [$add]: dart.fnType(html$.CssNumericValue, [html$.CssNumericValue]), + [S$.$div]: dart.fnType(html$.CssNumericValue, [core.num]), + [S$.$mul]: dart.fnType(html$.CssNumericValue, [core.num]), + [S$.$sub]: dart.fnType(html$.CssNumericValue, [html$.CssNumericValue]), + [S$.$to]: dart.fnType(html$.CssNumericValue, [core.String]) + })); + dart.setLibraryUri(html$.CssNumericValue, I[148]); + dart.registerExtension("CSSNumericValue", html$.CssNumericValue); + html$.CssPageRule = class CssPageRule extends html$.CssRule { + get [S$.$selectorText]() { + return this.selectorText; + } + set [S$.$selectorText](value) { + this.selectorText = value; + } + get [S.$style]() { + return this.style; + } + }; + dart.addTypeTests(html$.CssPageRule); + dart.addTypeCaches(html$.CssPageRule); + dart.setGetterSignature(html$.CssPageRule, () => ({ + __proto__: dart.getGetters(html$.CssPageRule.__proto__), + [S$.$selectorText]: dart.nullable(core.String), + [S.$style]: dart.nullable(html$.CssStyleDeclaration) + })); + dart.setSetterSignature(html$.CssPageRule, () => ({ + __proto__: dart.getSetters(html$.CssPageRule.__proto__), + [S$.$selectorText]: dart.nullable(core.String) + })); + dart.setLibraryUri(html$.CssPageRule, I[148]); + dart.registerExtension("CSSPageRule", html$.CssPageRule); + html$.CssPerspective = class CssPerspective extends html$.CssTransformComponent { + static new(length) { + if (length == null) dart.nullFailed(I[147], 3749, 42, "length"); + return html$.CssPerspective._create_1(length); + } + static _create_1(length) { + return new CSSPerspective(length); + } + get [$length]() { + return this.length; + } + set [$length](value) { + this.length = value; + } + }; + dart.addTypeTests(html$.CssPerspective); + dart.addTypeCaches(html$.CssPerspective); + dart.setGetterSignature(html$.CssPerspective, () => ({ + __proto__: dart.getGetters(html$.CssPerspective.__proto__), + [$length]: dart.nullable(html$.CssNumericValue) + })); + dart.setSetterSignature(html$.CssPerspective, () => ({ + __proto__: dart.getSetters(html$.CssPerspective.__proto__), + [$length]: dart.nullable(html$.CssNumericValue) + })); + dart.setLibraryUri(html$.CssPerspective, I[148]); + dart.registerExtension("CSSPerspective", html$.CssPerspective); + html$.CssPositionValue = class CssPositionValue extends html$.CssStyleValue { + static new(x, y) { + if (x == null) dart.nullFailed(I[147], 3770, 44, "x"); + if (y == null) dart.nullFailed(I[147], 3770, 63, "y"); + return html$.CssPositionValue._create_1(x, y); + } + static _create_1(x, y) { + return new CSSPositionValue(x, y); + } + get [S$.$x]() { + return this.x; + } + set [S$.$x](value) { + this.x = value; + } + get [S$.$y]() { + return this.y; + } + set [S$.$y](value) { + this.y = value; + } + }; + dart.addTypeTests(html$.CssPositionValue); + dart.addTypeCaches(html$.CssPositionValue); + dart.setGetterSignature(html$.CssPositionValue, () => ({ + __proto__: dart.getGetters(html$.CssPositionValue.__proto__), + [S$.$x]: dart.nullable(html$.CssNumericValue), + [S$.$y]: dart.nullable(html$.CssNumericValue) + })); + dart.setSetterSignature(html$.CssPositionValue, () => ({ + __proto__: dart.getSetters(html$.CssPositionValue.__proto__), + [S$.$x]: dart.nullable(html$.CssNumericValue), + [S$.$y]: dart.nullable(html$.CssNumericValue) + })); + dart.setLibraryUri(html$.CssPositionValue, I[148]); + dart.registerExtension("CSSPositionValue", html$.CssPositionValue); + html$.CssRotation = class CssRotation extends html$.CssTransformComponent { + static new(angleValue_OR_x, y = null, z = null, angle = null) { + if (html$.CssNumericValue.is(angleValue_OR_x) && y == null && z == null && angle == null) { + return html$.CssRotation._create_1(angleValue_OR_x); + } + if (html$.CssNumericValue.is(angle) && typeof z == 'number' && typeof y == 'number' && typeof angleValue_OR_x == 'number') { + return html$.CssRotation._create_2(angleValue_OR_x, y, z, angle); + } + dart.throw(new core.ArgumentError.new("Incorrect number or type of arguments")); + } + static _create_1(angleValue_OR_x) { + return new CSSRotation(angleValue_OR_x); + } + static _create_2(angleValue_OR_x, y, z, angle) { + return new CSSRotation(angleValue_OR_x, y, z, angle); + } + get [S$.$angle]() { + return this.angle; + } + set [S$.$angle](value) { + this.angle = value; + } + get [S$.$x]() { + return this.x; + } + set [S$.$x](value) { + this.x = value; + } + get [S$.$y]() { + return this.y; + } + set [S$.$y](value) { + this.y = value; + } + get [S$.$z]() { + return this.z; + } + set [S$.$z](value) { + this.z = value; + } + }; + dart.addTypeTests(html$.CssRotation); + dart.addTypeCaches(html$.CssRotation); + dart.setGetterSignature(html$.CssRotation, () => ({ + __proto__: dart.getGetters(html$.CssRotation.__proto__), + [S$.$angle]: dart.nullable(html$.CssNumericValue), + [S$.$x]: dart.nullable(core.num), + [S$.$y]: dart.nullable(core.num), + [S$.$z]: dart.nullable(core.num) + })); + dart.setSetterSignature(html$.CssRotation, () => ({ + __proto__: dart.getSetters(html$.CssRotation.__proto__), + [S$.$angle]: dart.nullable(html$.CssNumericValue), + [S$.$x]: dart.nullable(core.num), + [S$.$y]: dart.nullable(core.num), + [S$.$z]: dart.nullable(core.num) + })); + dart.setLibraryUri(html$.CssRotation, I[148]); + dart.registerExtension("CSSRotation", html$.CssRotation); + html$.CssScale = class CssScale extends html$.CssTransformComponent { + static new(x, y, z = null) { + if (x == null) dart.nullFailed(I[147], 3899, 24, "x"); + if (y == null) dart.nullFailed(I[147], 3899, 31, "y"); + if (typeof y == 'number' && typeof x == 'number' && z == null) { + return html$.CssScale._create_1(x, y); + } + if (typeof z == 'number' && typeof y == 'number' && typeof x == 'number') { + return html$.CssScale._create_2(x, y, z); + } + dart.throw(new core.ArgumentError.new("Incorrect number or type of arguments")); + } + static _create_1(x, y) { + return new CSSScale(x, y); + } + static _create_2(x, y, z) { + return new CSSScale(x, y, z); + } + get [S$.$x]() { + return this.x; + } + set [S$.$x](value) { + this.x = value; + } + get [S$.$y]() { + return this.y; + } + set [S$.$y](value) { + this.y = value; + } + get [S$.$z]() { + return this.z; + } + set [S$.$z](value) { + this.z = value; + } + }; + dart.addTypeTests(html$.CssScale); + dart.addTypeCaches(html$.CssScale); + dart.setGetterSignature(html$.CssScale, () => ({ + __proto__: dart.getGetters(html$.CssScale.__proto__), + [S$.$x]: dart.nullable(core.num), + [S$.$y]: dart.nullable(core.num), + [S$.$z]: dart.nullable(core.num) + })); + dart.setSetterSignature(html$.CssScale, () => ({ + __proto__: dart.getSetters(html$.CssScale.__proto__), + [S$.$x]: dart.nullable(core.num), + [S$.$y]: dart.nullable(core.num), + [S$.$z]: dart.nullable(core.num) + })); + dart.setLibraryUri(html$.CssScale, I[148]); + dart.registerExtension("CSSScale", html$.CssScale); + html$.CssSkew = class CssSkew extends html$.CssTransformComponent { + static new(ax, ay) { + if (ax == null) dart.nullFailed(I[147], 3935, 35, "ax"); + if (ay == null) dart.nullFailed(I[147], 3935, 55, "ay"); + return html$.CssSkew._create_1(ax, ay); + } + static _create_1(ax, ay) { + return new CSSSkew(ax, ay); + } + get [S$.$ax]() { + return this.ax; + } + set [S$.$ax](value) { + this.ax = value; + } + get [S$.$ay]() { + return this.ay; + } + set [S$.$ay](value) { + this.ay = value; + } + }; + dart.addTypeTests(html$.CssSkew); + dart.addTypeCaches(html$.CssSkew); + dart.setGetterSignature(html$.CssSkew, () => ({ + __proto__: dart.getGetters(html$.CssSkew.__proto__), + [S$.$ax]: dart.nullable(html$.CssNumericValue), + [S$.$ay]: dart.nullable(html$.CssNumericValue) + })); + dart.setSetterSignature(html$.CssSkew, () => ({ + __proto__: dart.getSetters(html$.CssSkew.__proto__), + [S$.$ax]: dart.nullable(html$.CssNumericValue), + [S$.$ay]: dart.nullable(html$.CssNumericValue) + })); + dart.setLibraryUri(html$.CssSkew, I[148]); + dart.registerExtension("CSSSkew", html$.CssSkew); + html$.CssStyleDeclarationBase = class CssStyleDeclarationBase extends core.Object { + get alignContent() { + return this[S$.$getPropertyValue]("align-content"); + } + set alignContent(value) { + if (value == null) dart.nullFailed(I[147], 5921, 27, "value"); + this[S$.$setProperty]("align-content", value, ""); + } + get alignItems() { + return this[S$.$getPropertyValue]("align-items"); + } + set alignItems(value) { + if (value == null) dart.nullFailed(I[147], 5929, 25, "value"); + this[S$.$setProperty]("align-items", value, ""); + } + get alignSelf() { + return this[S$.$getPropertyValue]("align-self"); + } + set alignSelf(value) { + if (value == null) dart.nullFailed(I[147], 5937, 24, "value"); + this[S$.$setProperty]("align-self", value, ""); + } + get animation() { + return this[S$.$getPropertyValue]("animation"); + } + set animation(value) { + if (value == null) dart.nullFailed(I[147], 5945, 24, "value"); + this[S$.$setProperty]("animation", value, ""); + } + get animationDelay() { + return this[S$.$getPropertyValue]("animation-delay"); + } + set animationDelay(value) { + if (value == null) dart.nullFailed(I[147], 5953, 29, "value"); + this[S$.$setProperty]("animation-delay", value, ""); + } + get animationDirection() { + return this[S$.$getPropertyValue]("animation-direction"); + } + set animationDirection(value) { + if (value == null) dart.nullFailed(I[147], 5961, 33, "value"); + this[S$.$setProperty]("animation-direction", value, ""); + } + get animationDuration() { + return this[S$.$getPropertyValue]("animation-duration"); + } + set animationDuration(value) { + if (value == null) dart.nullFailed(I[147], 5969, 32, "value"); + this[S$.$setProperty]("animation-duration", value, ""); + } + get animationFillMode() { + return this[S$.$getPropertyValue]("animation-fill-mode"); + } + set animationFillMode(value) { + if (value == null) dart.nullFailed(I[147], 5977, 32, "value"); + this[S$.$setProperty]("animation-fill-mode", value, ""); + } + get animationIterationCount() { + return this[S$.$getPropertyValue]("animation-iteration-count"); + } + set animationIterationCount(value) { + if (value == null) dart.nullFailed(I[147], 5986, 38, "value"); + this[S$.$setProperty]("animation-iteration-count", value, ""); + } + get animationName() { + return this[S$.$getPropertyValue]("animation-name"); + } + set animationName(value) { + if (value == null) dart.nullFailed(I[147], 5994, 28, "value"); + this[S$.$setProperty]("animation-name", value, ""); + } + get animationPlayState() { + return this[S$.$getPropertyValue]("animation-play-state"); + } + set animationPlayState(value) { + if (value == null) dart.nullFailed(I[147], 6002, 33, "value"); + this[S$.$setProperty]("animation-play-state", value, ""); + } + get animationTimingFunction() { + return this[S$.$getPropertyValue]("animation-timing-function"); + } + set animationTimingFunction(value) { + if (value == null) dart.nullFailed(I[147], 6011, 38, "value"); + this[S$.$setProperty]("animation-timing-function", value, ""); + } + get appRegion() { + return this[S$.$getPropertyValue]("app-region"); + } + set appRegion(value) { + if (value == null) dart.nullFailed(I[147], 6019, 24, "value"); + this[S$.$setProperty]("app-region", value, ""); + } + get appearance() { + return this[S$.$getPropertyValue]("appearance"); + } + set appearance(value) { + if (value == null) dart.nullFailed(I[147], 6027, 25, "value"); + this[S$.$setProperty]("appearance", value, ""); + } + get aspectRatio() { + return this[S$.$getPropertyValue]("aspect-ratio"); + } + set aspectRatio(value) { + if (value == null) dart.nullFailed(I[147], 6035, 26, "value"); + this[S$.$setProperty]("aspect-ratio", value, ""); + } + get backfaceVisibility() { + return this[S$.$getPropertyValue]("backface-visibility"); + } + set backfaceVisibility(value) { + if (value == null) dart.nullFailed(I[147], 6043, 33, "value"); + this[S$.$setProperty]("backface-visibility", value, ""); + } + get background() { + return this[S$.$getPropertyValue]("background"); + } + set background(value) { + if (value == null) dart.nullFailed(I[147], 6051, 25, "value"); + this[S$.$setProperty]("background", value, ""); + } + get backgroundAttachment() { + return this[S$.$getPropertyValue]("background-attachment"); + } + set backgroundAttachment(value) { + if (value == null) dart.nullFailed(I[147], 6059, 35, "value"); + this[S$.$setProperty]("background-attachment", value, ""); + } + get backgroundBlendMode() { + return this[S$.$getPropertyValue]("background-blend-mode"); + } + set backgroundBlendMode(value) { + if (value == null) dart.nullFailed(I[147], 6067, 34, "value"); + this[S$.$setProperty]("background-blend-mode", value, ""); + } + get backgroundClip() { + return this[S$.$getPropertyValue]("background-clip"); + } + set backgroundClip(value) { + if (value == null) dart.nullFailed(I[147], 6075, 29, "value"); + this[S$.$setProperty]("background-clip", value, ""); + } + get backgroundColor() { + return this[S$.$getPropertyValue]("background-color"); + } + set backgroundColor(value) { + if (value == null) dart.nullFailed(I[147], 6083, 30, "value"); + this[S$.$setProperty]("background-color", value, ""); + } + get backgroundComposite() { + return this[S$.$getPropertyValue]("background-composite"); + } + set backgroundComposite(value) { + if (value == null) dart.nullFailed(I[147], 6091, 34, "value"); + this[S$.$setProperty]("background-composite", value, ""); + } + get backgroundImage() { + return this[S$.$getPropertyValue]("background-image"); + } + set backgroundImage(value) { + if (value == null) dart.nullFailed(I[147], 6099, 30, "value"); + this[S$.$setProperty]("background-image", value, ""); + } + get backgroundOrigin() { + return this[S$.$getPropertyValue]("background-origin"); + } + set backgroundOrigin(value) { + if (value == null) dart.nullFailed(I[147], 6107, 31, "value"); + this[S$.$setProperty]("background-origin", value, ""); + } + get backgroundPosition() { + return this[S$.$getPropertyValue]("background-position"); + } + set backgroundPosition(value) { + if (value == null) dart.nullFailed(I[147], 6115, 33, "value"); + this[S$.$setProperty]("background-position", value, ""); + } + get backgroundPositionX() { + return this[S$.$getPropertyValue]("background-position-x"); + } + set backgroundPositionX(value) { + if (value == null) dart.nullFailed(I[147], 6123, 34, "value"); + this[S$.$setProperty]("background-position-x", value, ""); + } + get backgroundPositionY() { + return this[S$.$getPropertyValue]("background-position-y"); + } + set backgroundPositionY(value) { + if (value == null) dart.nullFailed(I[147], 6131, 34, "value"); + this[S$.$setProperty]("background-position-y", value, ""); + } + get backgroundRepeat() { + return this[S$.$getPropertyValue]("background-repeat"); + } + set backgroundRepeat(value) { + if (value == null) dart.nullFailed(I[147], 6139, 31, "value"); + this[S$.$setProperty]("background-repeat", value, ""); + } + get backgroundRepeatX() { + return this[S$.$getPropertyValue]("background-repeat-x"); + } + set backgroundRepeatX(value) { + if (value == null) dart.nullFailed(I[147], 6147, 32, "value"); + this[S$.$setProperty]("background-repeat-x", value, ""); + } + get backgroundRepeatY() { + return this[S$.$getPropertyValue]("background-repeat-y"); + } + set backgroundRepeatY(value) { + if (value == null) dart.nullFailed(I[147], 6155, 32, "value"); + this[S$.$setProperty]("background-repeat-y", value, ""); + } + get backgroundSize() { + return this[S$.$getPropertyValue]("background-size"); + } + set backgroundSize(value) { + if (value == null) dart.nullFailed(I[147], 6163, 29, "value"); + this[S$.$setProperty]("background-size", value, ""); + } + get border() { + return this[S$.$getPropertyValue]("border"); + } + set border(value) { + if (value == null) dart.nullFailed(I[147], 6171, 21, "value"); + this[S$.$setProperty]("border", value, ""); + } + get borderAfter() { + return this[S$.$getPropertyValue]("border-after"); + } + set borderAfter(value) { + if (value == null) dart.nullFailed(I[147], 6179, 26, "value"); + this[S$.$setProperty]("border-after", value, ""); + } + get borderAfterColor() { + return this[S$.$getPropertyValue]("border-after-color"); + } + set borderAfterColor(value) { + if (value == null) dart.nullFailed(I[147], 6187, 31, "value"); + this[S$.$setProperty]("border-after-color", value, ""); + } + get borderAfterStyle() { + return this[S$.$getPropertyValue]("border-after-style"); + } + set borderAfterStyle(value) { + if (value == null) dart.nullFailed(I[147], 6195, 31, "value"); + this[S$.$setProperty]("border-after-style", value, ""); + } + get borderAfterWidth() { + return this[S$.$getPropertyValue]("border-after-width"); + } + set borderAfterWidth(value) { + if (value == null) dart.nullFailed(I[147], 6203, 31, "value"); + this[S$.$setProperty]("border-after-width", value, ""); + } + get borderBefore() { + return this[S$.$getPropertyValue]("border-before"); + } + set borderBefore(value) { + if (value == null) dart.nullFailed(I[147], 6211, 27, "value"); + this[S$.$setProperty]("border-before", value, ""); + } + get borderBeforeColor() { + return this[S$.$getPropertyValue]("border-before-color"); + } + set borderBeforeColor(value) { + if (value == null) dart.nullFailed(I[147], 6219, 32, "value"); + this[S$.$setProperty]("border-before-color", value, ""); + } + get borderBeforeStyle() { + return this[S$.$getPropertyValue]("border-before-style"); + } + set borderBeforeStyle(value) { + if (value == null) dart.nullFailed(I[147], 6227, 32, "value"); + this[S$.$setProperty]("border-before-style", value, ""); + } + get borderBeforeWidth() { + return this[S$.$getPropertyValue]("border-before-width"); + } + set borderBeforeWidth(value) { + if (value == null) dart.nullFailed(I[147], 6235, 32, "value"); + this[S$.$setProperty]("border-before-width", value, ""); + } + get borderBottom() { + return this[S$.$getPropertyValue]("border-bottom"); + } + set borderBottom(value) { + if (value == null) dart.nullFailed(I[147], 6243, 27, "value"); + this[S$.$setProperty]("border-bottom", value, ""); + } + get borderBottomColor() { + return this[S$.$getPropertyValue]("border-bottom-color"); + } + set borderBottomColor(value) { + if (value == null) dart.nullFailed(I[147], 6251, 32, "value"); + this[S$.$setProperty]("border-bottom-color", value, ""); + } + get borderBottomLeftRadius() { + return this[S$.$getPropertyValue]("border-bottom-left-radius"); + } + set borderBottomLeftRadius(value) { + if (value == null) dart.nullFailed(I[147], 6260, 37, "value"); + this[S$.$setProperty]("border-bottom-left-radius", value, ""); + } + get borderBottomRightRadius() { + return this[S$.$getPropertyValue]("border-bottom-right-radius"); + } + set borderBottomRightRadius(value) { + if (value == null) dart.nullFailed(I[147], 6269, 38, "value"); + this[S$.$setProperty]("border-bottom-right-radius", value, ""); + } + get borderBottomStyle() { + return this[S$.$getPropertyValue]("border-bottom-style"); + } + set borderBottomStyle(value) { + if (value == null) dart.nullFailed(I[147], 6277, 32, "value"); + this[S$.$setProperty]("border-bottom-style", value, ""); + } + get borderBottomWidth() { + return this[S$.$getPropertyValue]("border-bottom-width"); + } + set borderBottomWidth(value) { + if (value == null) dart.nullFailed(I[147], 6285, 32, "value"); + this[S$.$setProperty]("border-bottom-width", value, ""); + } + get borderCollapse() { + return this[S$.$getPropertyValue]("border-collapse"); + } + set borderCollapse(value) { + if (value == null) dart.nullFailed(I[147], 6293, 29, "value"); + this[S$.$setProperty]("border-collapse", value, ""); + } + get borderColor() { + return this[S$.$getPropertyValue]("border-color"); + } + set borderColor(value) { + if (value == null) dart.nullFailed(I[147], 6301, 26, "value"); + this[S$.$setProperty]("border-color", value, ""); + } + get borderEnd() { + return this[S$.$getPropertyValue]("border-end"); + } + set borderEnd(value) { + if (value == null) dart.nullFailed(I[147], 6309, 24, "value"); + this[S$.$setProperty]("border-end", value, ""); + } + get borderEndColor() { + return this[S$.$getPropertyValue]("border-end-color"); + } + set borderEndColor(value) { + if (value == null) dart.nullFailed(I[147], 6317, 29, "value"); + this[S$.$setProperty]("border-end-color", value, ""); + } + get borderEndStyle() { + return this[S$.$getPropertyValue]("border-end-style"); + } + set borderEndStyle(value) { + if (value == null) dart.nullFailed(I[147], 6325, 29, "value"); + this[S$.$setProperty]("border-end-style", value, ""); + } + get borderEndWidth() { + return this[S$.$getPropertyValue]("border-end-width"); + } + set borderEndWidth(value) { + if (value == null) dart.nullFailed(I[147], 6333, 29, "value"); + this[S$.$setProperty]("border-end-width", value, ""); + } + get borderFit() { + return this[S$.$getPropertyValue]("border-fit"); + } + set borderFit(value) { + if (value == null) dart.nullFailed(I[147], 6341, 24, "value"); + this[S$.$setProperty]("border-fit", value, ""); + } + get borderHorizontalSpacing() { + return this[S$.$getPropertyValue]("border-horizontal-spacing"); + } + set borderHorizontalSpacing(value) { + if (value == null) dart.nullFailed(I[147], 6350, 38, "value"); + this[S$.$setProperty]("border-horizontal-spacing", value, ""); + } + get borderImage() { + return this[S$.$getPropertyValue]("border-image"); + } + set borderImage(value) { + if (value == null) dart.nullFailed(I[147], 6358, 26, "value"); + this[S$.$setProperty]("border-image", value, ""); + } + get borderImageOutset() { + return this[S$.$getPropertyValue]("border-image-outset"); + } + set borderImageOutset(value) { + if (value == null) dart.nullFailed(I[147], 6366, 32, "value"); + this[S$.$setProperty]("border-image-outset", value, ""); + } + get borderImageRepeat() { + return this[S$.$getPropertyValue]("border-image-repeat"); + } + set borderImageRepeat(value) { + if (value == null) dart.nullFailed(I[147], 6374, 32, "value"); + this[S$.$setProperty]("border-image-repeat", value, ""); + } + get borderImageSlice() { + return this[S$.$getPropertyValue]("border-image-slice"); + } + set borderImageSlice(value) { + if (value == null) dart.nullFailed(I[147], 6382, 31, "value"); + this[S$.$setProperty]("border-image-slice", value, ""); + } + get borderImageSource() { + return this[S$.$getPropertyValue]("border-image-source"); + } + set borderImageSource(value) { + if (value == null) dart.nullFailed(I[147], 6390, 32, "value"); + this[S$.$setProperty]("border-image-source", value, ""); + } + get borderImageWidth() { + return this[S$.$getPropertyValue]("border-image-width"); + } + set borderImageWidth(value) { + if (value == null) dart.nullFailed(I[147], 6398, 31, "value"); + this[S$.$setProperty]("border-image-width", value, ""); + } + get borderLeft() { + return this[S$.$getPropertyValue]("border-left"); + } + set borderLeft(value) { + if (value == null) dart.nullFailed(I[147], 6406, 25, "value"); + this[S$.$setProperty]("border-left", value, ""); + } + get borderLeftColor() { + return this[S$.$getPropertyValue]("border-left-color"); + } + set borderLeftColor(value) { + if (value == null) dart.nullFailed(I[147], 6414, 30, "value"); + this[S$.$setProperty]("border-left-color", value, ""); + } + get borderLeftStyle() { + return this[S$.$getPropertyValue]("border-left-style"); + } + set borderLeftStyle(value) { + if (value == null) dart.nullFailed(I[147], 6422, 30, "value"); + this[S$.$setProperty]("border-left-style", value, ""); + } + get borderLeftWidth() { + return this[S$.$getPropertyValue]("border-left-width"); + } + set borderLeftWidth(value) { + if (value == null) dart.nullFailed(I[147], 6430, 30, "value"); + this[S$.$setProperty]("border-left-width", value, ""); + } + get borderRadius() { + return this[S$.$getPropertyValue]("border-radius"); + } + set borderRadius(value) { + if (value == null) dart.nullFailed(I[147], 6438, 27, "value"); + this[S$.$setProperty]("border-radius", value, ""); + } + get borderRight() { + return this[S$.$getPropertyValue]("border-right"); + } + set borderRight(value) { + if (value == null) dart.nullFailed(I[147], 6446, 26, "value"); + this[S$.$setProperty]("border-right", value, ""); + } + get borderRightColor() { + return this[S$.$getPropertyValue]("border-right-color"); + } + set borderRightColor(value) { + if (value == null) dart.nullFailed(I[147], 6454, 31, "value"); + this[S$.$setProperty]("border-right-color", value, ""); + } + get borderRightStyle() { + return this[S$.$getPropertyValue]("border-right-style"); + } + set borderRightStyle(value) { + if (value == null) dart.nullFailed(I[147], 6462, 31, "value"); + this[S$.$setProperty]("border-right-style", value, ""); + } + get borderRightWidth() { + return this[S$.$getPropertyValue]("border-right-width"); + } + set borderRightWidth(value) { + if (value == null) dart.nullFailed(I[147], 6470, 31, "value"); + this[S$.$setProperty]("border-right-width", value, ""); + } + get borderSpacing() { + return this[S$.$getPropertyValue]("border-spacing"); + } + set borderSpacing(value) { + if (value == null) dart.nullFailed(I[147], 6478, 28, "value"); + this[S$.$setProperty]("border-spacing", value, ""); + } + get borderStart() { + return this[S$.$getPropertyValue]("border-start"); + } + set borderStart(value) { + if (value == null) dart.nullFailed(I[147], 6486, 26, "value"); + this[S$.$setProperty]("border-start", value, ""); + } + get borderStartColor() { + return this[S$.$getPropertyValue]("border-start-color"); + } + set borderStartColor(value) { + if (value == null) dart.nullFailed(I[147], 6494, 31, "value"); + this[S$.$setProperty]("border-start-color", value, ""); + } + get borderStartStyle() { + return this[S$.$getPropertyValue]("border-start-style"); + } + set borderStartStyle(value) { + if (value == null) dart.nullFailed(I[147], 6502, 31, "value"); + this[S$.$setProperty]("border-start-style", value, ""); + } + get borderStartWidth() { + return this[S$.$getPropertyValue]("border-start-width"); + } + set borderStartWidth(value) { + if (value == null) dart.nullFailed(I[147], 6510, 31, "value"); + this[S$.$setProperty]("border-start-width", value, ""); + } + get borderStyle() { + return this[S$.$getPropertyValue]("border-style"); + } + set borderStyle(value) { + if (value == null) dart.nullFailed(I[147], 6518, 26, "value"); + this[S$.$setProperty]("border-style", value, ""); + } + get borderTop() { + return this[S$.$getPropertyValue]("border-top"); + } + set borderTop(value) { + if (value == null) dart.nullFailed(I[147], 6526, 24, "value"); + this[S$.$setProperty]("border-top", value, ""); + } + get borderTopColor() { + return this[S$.$getPropertyValue]("border-top-color"); + } + set borderTopColor(value) { + if (value == null) dart.nullFailed(I[147], 6534, 29, "value"); + this[S$.$setProperty]("border-top-color", value, ""); + } + get borderTopLeftRadius() { + return this[S$.$getPropertyValue]("border-top-left-radius"); + } + set borderTopLeftRadius(value) { + if (value == null) dart.nullFailed(I[147], 6542, 34, "value"); + this[S$.$setProperty]("border-top-left-radius", value, ""); + } + get borderTopRightRadius() { + return this[S$.$getPropertyValue]("border-top-right-radius"); + } + set borderTopRightRadius(value) { + if (value == null) dart.nullFailed(I[147], 6551, 35, "value"); + this[S$.$setProperty]("border-top-right-radius", value, ""); + } + get borderTopStyle() { + return this[S$.$getPropertyValue]("border-top-style"); + } + set borderTopStyle(value) { + if (value == null) dart.nullFailed(I[147], 6559, 29, "value"); + this[S$.$setProperty]("border-top-style", value, ""); + } + get borderTopWidth() { + return this[S$.$getPropertyValue]("border-top-width"); + } + set borderTopWidth(value) { + if (value == null) dart.nullFailed(I[147], 6567, 29, "value"); + this[S$.$setProperty]("border-top-width", value, ""); + } + get borderVerticalSpacing() { + return this[S$.$getPropertyValue]("border-vertical-spacing"); + } + set borderVerticalSpacing(value) { + if (value == null) dart.nullFailed(I[147], 6576, 36, "value"); + this[S$.$setProperty]("border-vertical-spacing", value, ""); + } + get borderWidth() { + return this[S$.$getPropertyValue]("border-width"); + } + set borderWidth(value) { + if (value == null) dart.nullFailed(I[147], 6584, 26, "value"); + this[S$.$setProperty]("border-width", value, ""); + } + get bottom() { + return this[S$.$getPropertyValue]("bottom"); + } + set bottom(value) { + if (value == null) dart.nullFailed(I[147], 6592, 21, "value"); + this[S$.$setProperty]("bottom", value, ""); + } + get boxAlign() { + return this[S$.$getPropertyValue]("box-align"); + } + set boxAlign(value) { + if (value == null) dart.nullFailed(I[147], 6600, 23, "value"); + this[S$.$setProperty]("box-align", value, ""); + } + get boxDecorationBreak() { + return this[S$.$getPropertyValue]("box-decoration-break"); + } + set boxDecorationBreak(value) { + if (value == null) dart.nullFailed(I[147], 6608, 33, "value"); + this[S$.$setProperty]("box-decoration-break", value, ""); + } + get boxDirection() { + return this[S$.$getPropertyValue]("box-direction"); + } + set boxDirection(value) { + if (value == null) dart.nullFailed(I[147], 6616, 27, "value"); + this[S$.$setProperty]("box-direction", value, ""); + } + get boxFlex() { + return this[S$.$getPropertyValue]("box-flex"); + } + set boxFlex(value) { + if (value == null) dart.nullFailed(I[147], 6624, 22, "value"); + this[S$.$setProperty]("box-flex", value, ""); + } + get boxFlexGroup() { + return this[S$.$getPropertyValue]("box-flex-group"); + } + set boxFlexGroup(value) { + if (value == null) dart.nullFailed(I[147], 6632, 27, "value"); + this[S$.$setProperty]("box-flex-group", value, ""); + } + get boxLines() { + return this[S$.$getPropertyValue]("box-lines"); + } + set boxLines(value) { + if (value == null) dart.nullFailed(I[147], 6640, 23, "value"); + this[S$.$setProperty]("box-lines", value, ""); + } + get boxOrdinalGroup() { + return this[S$.$getPropertyValue]("box-ordinal-group"); + } + set boxOrdinalGroup(value) { + if (value == null) dart.nullFailed(I[147], 6648, 30, "value"); + this[S$.$setProperty]("box-ordinal-group", value, ""); + } + get boxOrient() { + return this[S$.$getPropertyValue]("box-orient"); + } + set boxOrient(value) { + if (value == null) dart.nullFailed(I[147], 6656, 24, "value"); + this[S$.$setProperty]("box-orient", value, ""); + } + get boxPack() { + return this[S$.$getPropertyValue]("box-pack"); + } + set boxPack(value) { + if (value == null) dart.nullFailed(I[147], 6664, 22, "value"); + this[S$.$setProperty]("box-pack", value, ""); + } + get boxReflect() { + return this[S$.$getPropertyValue]("box-reflect"); + } + set boxReflect(value) { + if (value == null) dart.nullFailed(I[147], 6672, 25, "value"); + this[S$.$setProperty]("box-reflect", value, ""); + } + get boxShadow() { + return this[S$.$getPropertyValue]("box-shadow"); + } + set boxShadow(value) { + if (value == null) dart.nullFailed(I[147], 6680, 24, "value"); + this[S$.$setProperty]("box-shadow", value, ""); + } + get boxSizing() { + return this[S$.$getPropertyValue]("box-sizing"); + } + set boxSizing(value) { + if (value == null) dart.nullFailed(I[147], 6688, 24, "value"); + this[S$.$setProperty]("box-sizing", value, ""); + } + get captionSide() { + return this[S$.$getPropertyValue]("caption-side"); + } + set captionSide(value) { + if (value == null) dart.nullFailed(I[147], 6696, 26, "value"); + this[S$.$setProperty]("caption-side", value, ""); + } + get clear() { + return this[S$.$getPropertyValue]("clear"); + } + set clear(value) { + if (value == null) dart.nullFailed(I[147], 6704, 20, "value"); + this[S$.$setProperty]("clear", value, ""); + } + get clip() { + return this[S$.$getPropertyValue]("clip"); + } + set clip(value) { + if (value == null) dart.nullFailed(I[147], 6712, 19, "value"); + this[S$.$setProperty]("clip", value, ""); + } + get clipPath() { + return this[S$.$getPropertyValue]("clip-path"); + } + set clipPath(value) { + if (value == null) dart.nullFailed(I[147], 6720, 23, "value"); + this[S$.$setProperty]("clip-path", value, ""); + } + get color() { + return this[S$.$getPropertyValue]("color"); + } + set color(value) { + if (value == null) dart.nullFailed(I[147], 6728, 20, "value"); + this[S$.$setProperty]("color", value, ""); + } + get columnBreakAfter() { + return this[S$.$getPropertyValue]("column-break-after"); + } + set columnBreakAfter(value) { + if (value == null) dart.nullFailed(I[147], 6736, 31, "value"); + this[S$.$setProperty]("column-break-after", value, ""); + } + get columnBreakBefore() { + return this[S$.$getPropertyValue]("column-break-before"); + } + set columnBreakBefore(value) { + if (value == null) dart.nullFailed(I[147], 6744, 32, "value"); + this[S$.$setProperty]("column-break-before", value, ""); + } + get columnBreakInside() { + return this[S$.$getPropertyValue]("column-break-inside"); + } + set columnBreakInside(value) { + if (value == null) dart.nullFailed(I[147], 6752, 32, "value"); + this[S$.$setProperty]("column-break-inside", value, ""); + } + get columnCount() { + return this[S$.$getPropertyValue]("column-count"); + } + set columnCount(value) { + if (value == null) dart.nullFailed(I[147], 6760, 26, "value"); + this[S$.$setProperty]("column-count", value, ""); + } + get columnFill() { + return this[S$.$getPropertyValue]("column-fill"); + } + set columnFill(value) { + if (value == null) dart.nullFailed(I[147], 6768, 25, "value"); + this[S$.$setProperty]("column-fill", value, ""); + } + get columnGap() { + return this[S$.$getPropertyValue]("column-gap"); + } + set columnGap(value) { + if (value == null) dart.nullFailed(I[147], 6776, 24, "value"); + this[S$.$setProperty]("column-gap", value, ""); + } + get columnRule() { + return this[S$.$getPropertyValue]("column-rule"); + } + set columnRule(value) { + if (value == null) dart.nullFailed(I[147], 6784, 25, "value"); + this[S$.$setProperty]("column-rule", value, ""); + } + get columnRuleColor() { + return this[S$.$getPropertyValue]("column-rule-color"); + } + set columnRuleColor(value) { + if (value == null) dart.nullFailed(I[147], 6792, 30, "value"); + this[S$.$setProperty]("column-rule-color", value, ""); + } + get columnRuleStyle() { + return this[S$.$getPropertyValue]("column-rule-style"); + } + set columnRuleStyle(value) { + if (value == null) dart.nullFailed(I[147], 6800, 30, "value"); + this[S$.$setProperty]("column-rule-style", value, ""); + } + get columnRuleWidth() { + return this[S$.$getPropertyValue]("column-rule-width"); + } + set columnRuleWidth(value) { + if (value == null) dart.nullFailed(I[147], 6808, 30, "value"); + this[S$.$setProperty]("column-rule-width", value, ""); + } + get columnSpan() { + return this[S$.$getPropertyValue]("column-span"); + } + set columnSpan(value) { + if (value == null) dart.nullFailed(I[147], 6816, 25, "value"); + this[S$.$setProperty]("column-span", value, ""); + } + get columnWidth() { + return this[S$.$getPropertyValue]("column-width"); + } + set columnWidth(value) { + if (value == null) dart.nullFailed(I[147], 6824, 26, "value"); + this[S$.$setProperty]("column-width", value, ""); + } + get columns() { + return this[S$.$getPropertyValue]("columns"); + } + set columns(value) { + if (value == null) dart.nullFailed(I[147], 6832, 22, "value"); + this[S$.$setProperty]("columns", value, ""); + } + get content() { + return this[S$.$getPropertyValue]("content"); + } + set content(value) { + if (value == null) dart.nullFailed(I[147], 6840, 22, "value"); + this[S$.$setProperty]("content", value, ""); + } + get counterIncrement() { + return this[S$.$getPropertyValue]("counter-increment"); + } + set counterIncrement(value) { + if (value == null) dart.nullFailed(I[147], 6848, 31, "value"); + this[S$.$setProperty]("counter-increment", value, ""); + } + get counterReset() { + return this[S$.$getPropertyValue]("counter-reset"); + } + set counterReset(value) { + if (value == null) dart.nullFailed(I[147], 6856, 27, "value"); + this[S$.$setProperty]("counter-reset", value, ""); + } + get cursor() { + return this[S$.$getPropertyValue]("cursor"); + } + set cursor(value) { + if (value == null) dart.nullFailed(I[147], 6864, 21, "value"); + this[S$.$setProperty]("cursor", value, ""); + } + get direction() { + return this[S$.$getPropertyValue]("direction"); + } + set direction(value) { + if (value == null) dart.nullFailed(I[147], 6872, 24, "value"); + this[S$.$setProperty]("direction", value, ""); + } + get display() { + return this[S$.$getPropertyValue]("display"); + } + set display(value) { + if (value == null) dart.nullFailed(I[147], 6880, 22, "value"); + this[S$.$setProperty]("display", value, ""); + } + get emptyCells() { + return this[S$.$getPropertyValue]("empty-cells"); + } + set emptyCells(value) { + if (value == null) dart.nullFailed(I[147], 6888, 25, "value"); + this[S$.$setProperty]("empty-cells", value, ""); + } + get filter() { + return this[S$.$getPropertyValue]("filter"); + } + set filter(value) { + if (value == null) dart.nullFailed(I[147], 6896, 21, "value"); + this[S$.$setProperty]("filter", value, ""); + } + get flex() { + return this[S$.$getPropertyValue]("flex"); + } + set flex(value) { + if (value == null) dart.nullFailed(I[147], 6904, 19, "value"); + this[S$.$setProperty]("flex", value, ""); + } + get flexBasis() { + return this[S$.$getPropertyValue]("flex-basis"); + } + set flexBasis(value) { + if (value == null) dart.nullFailed(I[147], 6912, 24, "value"); + this[S$.$setProperty]("flex-basis", value, ""); + } + get flexDirection() { + return this[S$.$getPropertyValue]("flex-direction"); + } + set flexDirection(value) { + if (value == null) dart.nullFailed(I[147], 6920, 28, "value"); + this[S$.$setProperty]("flex-direction", value, ""); + } + get flexFlow() { + return this[S$.$getPropertyValue]("flex-flow"); + } + set flexFlow(value) { + if (value == null) dart.nullFailed(I[147], 6928, 23, "value"); + this[S$.$setProperty]("flex-flow", value, ""); + } + get flexGrow() { + return this[S$.$getPropertyValue]("flex-grow"); + } + set flexGrow(value) { + if (value == null) dart.nullFailed(I[147], 6936, 23, "value"); + this[S$.$setProperty]("flex-grow", value, ""); + } + get flexShrink() { + return this[S$.$getPropertyValue]("flex-shrink"); + } + set flexShrink(value) { + if (value == null) dart.nullFailed(I[147], 6944, 25, "value"); + this[S$.$setProperty]("flex-shrink", value, ""); + } + get flexWrap() { + return this[S$.$getPropertyValue]("flex-wrap"); + } + set flexWrap(value) { + if (value == null) dart.nullFailed(I[147], 6952, 23, "value"); + this[S$.$setProperty]("flex-wrap", value, ""); + } + get float() { + return this[S$.$getPropertyValue]("float"); + } + set float(value) { + if (value == null) dart.nullFailed(I[147], 6960, 20, "value"); + this[S$.$setProperty]("float", value, ""); + } + get font() { + return this[S$.$getPropertyValue]("font"); + } + set font(value) { + if (value == null) dart.nullFailed(I[147], 6968, 19, "value"); + this[S$.$setProperty]("font", value, ""); + } + get fontFamily() { + return this[S$.$getPropertyValue]("font-family"); + } + set fontFamily(value) { + if (value == null) dart.nullFailed(I[147], 6976, 25, "value"); + this[S$.$setProperty]("font-family", value, ""); + } + get fontFeatureSettings() { + return this[S$.$getPropertyValue]("font-feature-settings"); + } + set fontFeatureSettings(value) { + if (value == null) dart.nullFailed(I[147], 6984, 34, "value"); + this[S$.$setProperty]("font-feature-settings", value, ""); + } + get fontKerning() { + return this[S$.$getPropertyValue]("font-kerning"); + } + set fontKerning(value) { + if (value == null) dart.nullFailed(I[147], 6992, 26, "value"); + this[S$.$setProperty]("font-kerning", value, ""); + } + get fontSize() { + return this[S$.$getPropertyValue]("font-size"); + } + set fontSize(value) { + if (value == null) dart.nullFailed(I[147], 7000, 23, "value"); + this[S$.$setProperty]("font-size", value, ""); + } + get fontSizeDelta() { + return this[S$.$getPropertyValue]("font-size-delta"); + } + set fontSizeDelta(value) { + if (value == null) dart.nullFailed(I[147], 7008, 28, "value"); + this[S$.$setProperty]("font-size-delta", value, ""); + } + get fontSmoothing() { + return this[S$.$getPropertyValue]("font-smoothing"); + } + set fontSmoothing(value) { + if (value == null) dart.nullFailed(I[147], 7016, 28, "value"); + this[S$.$setProperty]("font-smoothing", value, ""); + } + get fontStretch() { + return this[S$.$getPropertyValue]("font-stretch"); + } + set fontStretch(value) { + if (value == null) dart.nullFailed(I[147], 7024, 26, "value"); + this[S$.$setProperty]("font-stretch", value, ""); + } + get fontStyle() { + return this[S$.$getPropertyValue]("font-style"); + } + set fontStyle(value) { + if (value == null) dart.nullFailed(I[147], 7032, 24, "value"); + this[S$.$setProperty]("font-style", value, ""); + } + get fontVariant() { + return this[S$.$getPropertyValue]("font-variant"); + } + set fontVariant(value) { + if (value == null) dart.nullFailed(I[147], 7040, 26, "value"); + this[S$.$setProperty]("font-variant", value, ""); + } + get fontVariantLigatures() { + return this[S$.$getPropertyValue]("font-variant-ligatures"); + } + set fontVariantLigatures(value) { + if (value == null) dart.nullFailed(I[147], 7048, 35, "value"); + this[S$.$setProperty]("font-variant-ligatures", value, ""); + } + get fontWeight() { + return this[S$.$getPropertyValue]("font-weight"); + } + set fontWeight(value) { + if (value == null) dart.nullFailed(I[147], 7056, 25, "value"); + this[S$.$setProperty]("font-weight", value, ""); + } + get grid() { + return this[S$.$getPropertyValue]("grid"); + } + set grid(value) { + if (value == null) dart.nullFailed(I[147], 7064, 19, "value"); + this[S$.$setProperty]("grid", value, ""); + } + get gridArea() { + return this[S$.$getPropertyValue]("grid-area"); + } + set gridArea(value) { + if (value == null) dart.nullFailed(I[147], 7072, 23, "value"); + this[S$.$setProperty]("grid-area", value, ""); + } + get gridAutoColumns() { + return this[S$.$getPropertyValue]("grid-auto-columns"); + } + set gridAutoColumns(value) { + if (value == null) dart.nullFailed(I[147], 7080, 30, "value"); + this[S$.$setProperty]("grid-auto-columns", value, ""); + } + get gridAutoFlow() { + return this[S$.$getPropertyValue]("grid-auto-flow"); + } + set gridAutoFlow(value) { + if (value == null) dart.nullFailed(I[147], 7088, 27, "value"); + this[S$.$setProperty]("grid-auto-flow", value, ""); + } + get gridAutoRows() { + return this[S$.$getPropertyValue]("grid-auto-rows"); + } + set gridAutoRows(value) { + if (value == null) dart.nullFailed(I[147], 7096, 27, "value"); + this[S$.$setProperty]("grid-auto-rows", value, ""); + } + get gridColumn() { + return this[S$.$getPropertyValue]("grid-column"); + } + set gridColumn(value) { + if (value == null) dart.nullFailed(I[147], 7104, 25, "value"); + this[S$.$setProperty]("grid-column", value, ""); + } + get gridColumnEnd() { + return this[S$.$getPropertyValue]("grid-column-end"); + } + set gridColumnEnd(value) { + if (value == null) dart.nullFailed(I[147], 7112, 28, "value"); + this[S$.$setProperty]("grid-column-end", value, ""); + } + get gridColumnStart() { + return this[S$.$getPropertyValue]("grid-column-start"); + } + set gridColumnStart(value) { + if (value == null) dart.nullFailed(I[147], 7120, 30, "value"); + this[S$.$setProperty]("grid-column-start", value, ""); + } + get gridRow() { + return this[S$.$getPropertyValue]("grid-row"); + } + set gridRow(value) { + if (value == null) dart.nullFailed(I[147], 7128, 22, "value"); + this[S$.$setProperty]("grid-row", value, ""); + } + get gridRowEnd() { + return this[S$.$getPropertyValue]("grid-row-end"); + } + set gridRowEnd(value) { + if (value == null) dart.nullFailed(I[147], 7136, 25, "value"); + this[S$.$setProperty]("grid-row-end", value, ""); + } + get gridRowStart() { + return this[S$.$getPropertyValue]("grid-row-start"); + } + set gridRowStart(value) { + if (value == null) dart.nullFailed(I[147], 7144, 27, "value"); + this[S$.$setProperty]("grid-row-start", value, ""); + } + get gridTemplate() { + return this[S$.$getPropertyValue]("grid-template"); + } + set gridTemplate(value) { + if (value == null) dart.nullFailed(I[147], 7152, 27, "value"); + this[S$.$setProperty]("grid-template", value, ""); + } + get gridTemplateAreas() { + return this[S$.$getPropertyValue]("grid-template-areas"); + } + set gridTemplateAreas(value) { + if (value == null) dart.nullFailed(I[147], 7160, 32, "value"); + this[S$.$setProperty]("grid-template-areas", value, ""); + } + get gridTemplateColumns() { + return this[S$.$getPropertyValue]("grid-template-columns"); + } + set gridTemplateColumns(value) { + if (value == null) dart.nullFailed(I[147], 7168, 34, "value"); + this[S$.$setProperty]("grid-template-columns", value, ""); + } + get gridTemplateRows() { + return this[S$.$getPropertyValue]("grid-template-rows"); + } + set gridTemplateRows(value) { + if (value == null) dart.nullFailed(I[147], 7176, 31, "value"); + this[S$.$setProperty]("grid-template-rows", value, ""); + } + get height() { + return this[S$.$getPropertyValue]("height"); + } + set height(value) { + if (value == null) dart.nullFailed(I[147], 7184, 21, "value"); + this[S$.$setProperty]("height", value, ""); + } + get highlight() { + return this[S$.$getPropertyValue]("highlight"); + } + set highlight(value) { + if (value == null) dart.nullFailed(I[147], 7192, 24, "value"); + this[S$.$setProperty]("highlight", value, ""); + } + get hyphenateCharacter() { + return this[S$.$getPropertyValue]("hyphenate-character"); + } + set hyphenateCharacter(value) { + if (value == null) dart.nullFailed(I[147], 7200, 33, "value"); + this[S$.$setProperty]("hyphenate-character", value, ""); + } + get imageRendering() { + return this[S$.$getPropertyValue]("image-rendering"); + } + set imageRendering(value) { + if (value == null) dart.nullFailed(I[147], 7208, 29, "value"); + this[S$.$setProperty]("image-rendering", value, ""); + } + get isolation() { + return this[S$.$getPropertyValue]("isolation"); + } + set isolation(value) { + if (value == null) dart.nullFailed(I[147], 7216, 24, "value"); + this[S$.$setProperty]("isolation", value, ""); + } + get justifyContent() { + return this[S$.$getPropertyValue]("justify-content"); + } + set justifyContent(value) { + if (value == null) dart.nullFailed(I[147], 7224, 29, "value"); + this[S$.$setProperty]("justify-content", value, ""); + } + get justifySelf() { + return this[S$.$getPropertyValue]("justify-self"); + } + set justifySelf(value) { + if (value == null) dart.nullFailed(I[147], 7232, 26, "value"); + this[S$.$setProperty]("justify-self", value, ""); + } + get left() { + return this[S$.$getPropertyValue]("left"); + } + set left(value) { + if (value == null) dart.nullFailed(I[147], 7240, 19, "value"); + this[S$.$setProperty]("left", value, ""); + } + get letterSpacing() { + return this[S$.$getPropertyValue]("letter-spacing"); + } + set letterSpacing(value) { + if (value == null) dart.nullFailed(I[147], 7248, 28, "value"); + this[S$.$setProperty]("letter-spacing", value, ""); + } + get lineBoxContain() { + return this[S$.$getPropertyValue]("line-box-contain"); + } + set lineBoxContain(value) { + if (value == null) dart.nullFailed(I[147], 7256, 29, "value"); + this[S$.$setProperty]("line-box-contain", value, ""); + } + get lineBreak() { + return this[S$.$getPropertyValue]("line-break"); + } + set lineBreak(value) { + if (value == null) dart.nullFailed(I[147], 7264, 24, "value"); + this[S$.$setProperty]("line-break", value, ""); + } + get lineClamp() { + return this[S$.$getPropertyValue]("line-clamp"); + } + set lineClamp(value) { + if (value == null) dart.nullFailed(I[147], 7272, 24, "value"); + this[S$.$setProperty]("line-clamp", value, ""); + } + get lineHeight() { + return this[S$.$getPropertyValue]("line-height"); + } + set lineHeight(value) { + if (value == null) dart.nullFailed(I[147], 7280, 25, "value"); + this[S$.$setProperty]("line-height", value, ""); + } + get listStyle() { + return this[S$.$getPropertyValue]("list-style"); + } + set listStyle(value) { + if (value == null) dart.nullFailed(I[147], 7288, 24, "value"); + this[S$.$setProperty]("list-style", value, ""); + } + get listStyleImage() { + return this[S$.$getPropertyValue]("list-style-image"); + } + set listStyleImage(value) { + if (value == null) dart.nullFailed(I[147], 7296, 29, "value"); + this[S$.$setProperty]("list-style-image", value, ""); + } + get listStylePosition() { + return this[S$.$getPropertyValue]("list-style-position"); + } + set listStylePosition(value) { + if (value == null) dart.nullFailed(I[147], 7304, 32, "value"); + this[S$.$setProperty]("list-style-position", value, ""); + } + get listStyleType() { + return this[S$.$getPropertyValue]("list-style-type"); + } + set listStyleType(value) { + if (value == null) dart.nullFailed(I[147], 7312, 28, "value"); + this[S$.$setProperty]("list-style-type", value, ""); + } + get locale() { + return this[S$.$getPropertyValue]("locale"); + } + set locale(value) { + if (value == null) dart.nullFailed(I[147], 7320, 21, "value"); + this[S$.$setProperty]("locale", value, ""); + } + get logicalHeight() { + return this[S$.$getPropertyValue]("logical-height"); + } + set logicalHeight(value) { + if (value == null) dart.nullFailed(I[147], 7328, 28, "value"); + this[S$.$setProperty]("logical-height", value, ""); + } + get logicalWidth() { + return this[S$.$getPropertyValue]("logical-width"); + } + set logicalWidth(value) { + if (value == null) dart.nullFailed(I[147], 7336, 27, "value"); + this[S$.$setProperty]("logical-width", value, ""); + } + get margin() { + return this[S$.$getPropertyValue]("margin"); + } + set margin(value) { + if (value == null) dart.nullFailed(I[147], 7344, 21, "value"); + this[S$.$setProperty]("margin", value, ""); + } + get marginAfter() { + return this[S$.$getPropertyValue]("margin-after"); + } + set marginAfter(value) { + if (value == null) dart.nullFailed(I[147], 7352, 26, "value"); + this[S$.$setProperty]("margin-after", value, ""); + } + get marginAfterCollapse() { + return this[S$.$getPropertyValue]("margin-after-collapse"); + } + set marginAfterCollapse(value) { + if (value == null) dart.nullFailed(I[147], 7360, 34, "value"); + this[S$.$setProperty]("margin-after-collapse", value, ""); + } + get marginBefore() { + return this[S$.$getPropertyValue]("margin-before"); + } + set marginBefore(value) { + if (value == null) dart.nullFailed(I[147], 7368, 27, "value"); + this[S$.$setProperty]("margin-before", value, ""); + } + get marginBeforeCollapse() { + return this[S$.$getPropertyValue]("margin-before-collapse"); + } + set marginBeforeCollapse(value) { + if (value == null) dart.nullFailed(I[147], 7376, 35, "value"); + this[S$.$setProperty]("margin-before-collapse", value, ""); + } + get marginBottom() { + return this[S$.$getPropertyValue]("margin-bottom"); + } + set marginBottom(value) { + if (value == null) dart.nullFailed(I[147], 7384, 27, "value"); + this[S$.$setProperty]("margin-bottom", value, ""); + } + get marginBottomCollapse() { + return this[S$.$getPropertyValue]("margin-bottom-collapse"); + } + set marginBottomCollapse(value) { + if (value == null) dart.nullFailed(I[147], 7392, 35, "value"); + this[S$.$setProperty]("margin-bottom-collapse", value, ""); + } + get marginCollapse() { + return this[S$.$getPropertyValue]("margin-collapse"); + } + set marginCollapse(value) { + if (value == null) dart.nullFailed(I[147], 7400, 29, "value"); + this[S$.$setProperty]("margin-collapse", value, ""); + } + get marginEnd() { + return this[S$.$getPropertyValue]("margin-end"); + } + set marginEnd(value) { + if (value == null) dart.nullFailed(I[147], 7408, 24, "value"); + this[S$.$setProperty]("margin-end", value, ""); + } + get marginLeft() { + return this[S$.$getPropertyValue]("margin-left"); + } + set marginLeft(value) { + if (value == null) dart.nullFailed(I[147], 7416, 25, "value"); + this[S$.$setProperty]("margin-left", value, ""); + } + get marginRight() { + return this[S$.$getPropertyValue]("margin-right"); + } + set marginRight(value) { + if (value == null) dart.nullFailed(I[147], 7424, 26, "value"); + this[S$.$setProperty]("margin-right", value, ""); + } + get marginStart() { + return this[S$.$getPropertyValue]("margin-start"); + } + set marginStart(value) { + if (value == null) dart.nullFailed(I[147], 7432, 26, "value"); + this[S$.$setProperty]("margin-start", value, ""); + } + get marginTop() { + return this[S$.$getPropertyValue]("margin-top"); + } + set marginTop(value) { + if (value == null) dart.nullFailed(I[147], 7440, 24, "value"); + this[S$.$setProperty]("margin-top", value, ""); + } + get marginTopCollapse() { + return this[S$.$getPropertyValue]("margin-top-collapse"); + } + set marginTopCollapse(value) { + if (value == null) dart.nullFailed(I[147], 7448, 32, "value"); + this[S$.$setProperty]("margin-top-collapse", value, ""); + } + get mask() { + return this[S$.$getPropertyValue]("mask"); + } + set mask(value) { + if (value == null) dart.nullFailed(I[147], 7456, 19, "value"); + this[S$.$setProperty]("mask", value, ""); + } + get maskBoxImage() { + return this[S$.$getPropertyValue]("mask-box-image"); + } + set maskBoxImage(value) { + if (value == null) dart.nullFailed(I[147], 7464, 27, "value"); + this[S$.$setProperty]("mask-box-image", value, ""); + } + get maskBoxImageOutset() { + return this[S$.$getPropertyValue]("mask-box-image-outset"); + } + set maskBoxImageOutset(value) { + if (value == null) dart.nullFailed(I[147], 7472, 33, "value"); + this[S$.$setProperty]("mask-box-image-outset", value, ""); + } + get maskBoxImageRepeat() { + return this[S$.$getPropertyValue]("mask-box-image-repeat"); + } + set maskBoxImageRepeat(value) { + if (value == null) dart.nullFailed(I[147], 7480, 33, "value"); + this[S$.$setProperty]("mask-box-image-repeat", value, ""); + } + get maskBoxImageSlice() { + return this[S$.$getPropertyValue]("mask-box-image-slice"); + } + set maskBoxImageSlice(value) { + if (value == null) dart.nullFailed(I[147], 7488, 32, "value"); + this[S$.$setProperty]("mask-box-image-slice", value, ""); + } + get maskBoxImageSource() { + return this[S$.$getPropertyValue]("mask-box-image-source"); + } + set maskBoxImageSource(value) { + if (value == null) dart.nullFailed(I[147], 7496, 33, "value"); + this[S$.$setProperty]("mask-box-image-source", value, ""); + } + get maskBoxImageWidth() { + return this[S$.$getPropertyValue]("mask-box-image-width"); + } + set maskBoxImageWidth(value) { + if (value == null) dart.nullFailed(I[147], 7504, 32, "value"); + this[S$.$setProperty]("mask-box-image-width", value, ""); + } + get maskClip() { + return this[S$.$getPropertyValue]("mask-clip"); + } + set maskClip(value) { + if (value == null) dart.nullFailed(I[147], 7512, 23, "value"); + this[S$.$setProperty]("mask-clip", value, ""); + } + get maskComposite() { + return this[S$.$getPropertyValue]("mask-composite"); + } + set maskComposite(value) { + if (value == null) dart.nullFailed(I[147], 7520, 28, "value"); + this[S$.$setProperty]("mask-composite", value, ""); + } + get maskImage() { + return this[S$.$getPropertyValue]("mask-image"); + } + set maskImage(value) { + if (value == null) dart.nullFailed(I[147], 7528, 24, "value"); + this[S$.$setProperty]("mask-image", value, ""); + } + get maskOrigin() { + return this[S$.$getPropertyValue]("mask-origin"); + } + set maskOrigin(value) { + if (value == null) dart.nullFailed(I[147], 7536, 25, "value"); + this[S$.$setProperty]("mask-origin", value, ""); + } + get maskPosition() { + return this[S$.$getPropertyValue]("mask-position"); + } + set maskPosition(value) { + if (value == null) dart.nullFailed(I[147], 7544, 27, "value"); + this[S$.$setProperty]("mask-position", value, ""); + } + get maskPositionX() { + return this[S$.$getPropertyValue]("mask-position-x"); + } + set maskPositionX(value) { + if (value == null) dart.nullFailed(I[147], 7552, 28, "value"); + this[S$.$setProperty]("mask-position-x", value, ""); + } + get maskPositionY() { + return this[S$.$getPropertyValue]("mask-position-y"); + } + set maskPositionY(value) { + if (value == null) dart.nullFailed(I[147], 7560, 28, "value"); + this[S$.$setProperty]("mask-position-y", value, ""); + } + get maskRepeat() { + return this[S$.$getPropertyValue]("mask-repeat"); + } + set maskRepeat(value) { + if (value == null) dart.nullFailed(I[147], 7568, 25, "value"); + this[S$.$setProperty]("mask-repeat", value, ""); + } + get maskRepeatX() { + return this[S$.$getPropertyValue]("mask-repeat-x"); + } + set maskRepeatX(value) { + if (value == null) dart.nullFailed(I[147], 7576, 26, "value"); + this[S$.$setProperty]("mask-repeat-x", value, ""); + } + get maskRepeatY() { + return this[S$.$getPropertyValue]("mask-repeat-y"); + } + set maskRepeatY(value) { + if (value == null) dart.nullFailed(I[147], 7584, 26, "value"); + this[S$.$setProperty]("mask-repeat-y", value, ""); + } + get maskSize() { + return this[S$.$getPropertyValue]("mask-size"); + } + set maskSize(value) { + if (value == null) dart.nullFailed(I[147], 7592, 23, "value"); + this[S$.$setProperty]("mask-size", value, ""); + } + get maskSourceType() { + return this[S$.$getPropertyValue]("mask-source-type"); + } + set maskSourceType(value) { + if (value == null) dart.nullFailed(I[147], 7600, 29, "value"); + this[S$.$setProperty]("mask-source-type", value, ""); + } + get maxHeight() { + return this[S$.$getPropertyValue]("max-height"); + } + set maxHeight(value) { + if (value == null) dart.nullFailed(I[147], 7608, 24, "value"); + this[S$.$setProperty]("max-height", value, ""); + } + get maxLogicalHeight() { + return this[S$.$getPropertyValue]("max-logical-height"); + } + set maxLogicalHeight(value) { + if (value == null) dart.nullFailed(I[147], 7616, 31, "value"); + this[S$.$setProperty]("max-logical-height", value, ""); + } + get maxLogicalWidth() { + return this[S$.$getPropertyValue]("max-logical-width"); + } + set maxLogicalWidth(value) { + if (value == null) dart.nullFailed(I[147], 7624, 30, "value"); + this[S$.$setProperty]("max-logical-width", value, ""); + } + get maxWidth() { + return this[S$.$getPropertyValue]("max-width"); + } + set maxWidth(value) { + if (value == null) dart.nullFailed(I[147], 7632, 23, "value"); + this[S$.$setProperty]("max-width", value, ""); + } + get maxZoom() { + return this[S$.$getPropertyValue]("max-zoom"); + } + set maxZoom(value) { + if (value == null) dart.nullFailed(I[147], 7640, 22, "value"); + this[S$.$setProperty]("max-zoom", value, ""); + } + get minHeight() { + return this[S$.$getPropertyValue]("min-height"); + } + set minHeight(value) { + if (value == null) dart.nullFailed(I[147], 7648, 24, "value"); + this[S$.$setProperty]("min-height", value, ""); + } + get minLogicalHeight() { + return this[S$.$getPropertyValue]("min-logical-height"); + } + set minLogicalHeight(value) { + if (value == null) dart.nullFailed(I[147], 7656, 31, "value"); + this[S$.$setProperty]("min-logical-height", value, ""); + } + get minLogicalWidth() { + return this[S$.$getPropertyValue]("min-logical-width"); + } + set minLogicalWidth(value) { + if (value == null) dart.nullFailed(I[147], 7664, 30, "value"); + this[S$.$setProperty]("min-logical-width", value, ""); + } + get minWidth() { + return this[S$.$getPropertyValue]("min-width"); + } + set minWidth(value) { + if (value == null) dart.nullFailed(I[147], 7672, 23, "value"); + this[S$.$setProperty]("min-width", value, ""); + } + get minZoom() { + return this[S$.$getPropertyValue]("min-zoom"); + } + set minZoom(value) { + if (value == null) dart.nullFailed(I[147], 7680, 22, "value"); + this[S$.$setProperty]("min-zoom", value, ""); + } + get mixBlendMode() { + return this[S$.$getPropertyValue]("mix-blend-mode"); + } + set mixBlendMode(value) { + if (value == null) dart.nullFailed(I[147], 7688, 27, "value"); + this[S$.$setProperty]("mix-blend-mode", value, ""); + } + get objectFit() { + return this[S$.$getPropertyValue]("object-fit"); + } + set objectFit(value) { + if (value == null) dart.nullFailed(I[147], 7696, 24, "value"); + this[S$.$setProperty]("object-fit", value, ""); + } + get objectPosition() { + return this[S$.$getPropertyValue]("object-position"); + } + set objectPosition(value) { + if (value == null) dart.nullFailed(I[147], 7704, 29, "value"); + this[S$.$setProperty]("object-position", value, ""); + } + get opacity() { + return this[S$.$getPropertyValue]("opacity"); + } + set opacity(value) { + if (value == null) dart.nullFailed(I[147], 7712, 22, "value"); + this[S$.$setProperty]("opacity", value, ""); + } + get order() { + return this[S$.$getPropertyValue]("order"); + } + set order(value) { + if (value == null) dart.nullFailed(I[147], 7720, 20, "value"); + this[S$.$setProperty]("order", value, ""); + } + get orientation() { + return this[S$.$getPropertyValue]("orientation"); + } + set orientation(value) { + if (value == null) dart.nullFailed(I[147], 7728, 26, "value"); + this[S$.$setProperty]("orientation", value, ""); + } + get orphans() { + return this[S$.$getPropertyValue]("orphans"); + } + set orphans(value) { + if (value == null) dart.nullFailed(I[147], 7736, 22, "value"); + this[S$.$setProperty]("orphans", value, ""); + } + get outline() { + return this[S$.$getPropertyValue]("outline"); + } + set outline(value) { + if (value == null) dart.nullFailed(I[147], 7744, 22, "value"); + this[S$.$setProperty]("outline", value, ""); + } + get outlineColor() { + return this[S$.$getPropertyValue]("outline-color"); + } + set outlineColor(value) { + if (value == null) dart.nullFailed(I[147], 7752, 27, "value"); + this[S$.$setProperty]("outline-color", value, ""); + } + get outlineOffset() { + return this[S$.$getPropertyValue]("outline-offset"); + } + set outlineOffset(value) { + if (value == null) dart.nullFailed(I[147], 7760, 28, "value"); + this[S$.$setProperty]("outline-offset", value, ""); + } + get outlineStyle() { + return this[S$.$getPropertyValue]("outline-style"); + } + set outlineStyle(value) { + if (value == null) dart.nullFailed(I[147], 7768, 27, "value"); + this[S$.$setProperty]("outline-style", value, ""); + } + get outlineWidth() { + return this[S$.$getPropertyValue]("outline-width"); + } + set outlineWidth(value) { + if (value == null) dart.nullFailed(I[147], 7776, 27, "value"); + this[S$.$setProperty]("outline-width", value, ""); + } + get overflow() { + return this[S$.$getPropertyValue]("overflow"); + } + set overflow(value) { + if (value == null) dart.nullFailed(I[147], 7784, 23, "value"); + this[S$.$setProperty]("overflow", value, ""); + } + get overflowWrap() { + return this[S$.$getPropertyValue]("overflow-wrap"); + } + set overflowWrap(value) { + if (value == null) dart.nullFailed(I[147], 7792, 27, "value"); + this[S$.$setProperty]("overflow-wrap", value, ""); + } + get overflowX() { + return this[S$.$getPropertyValue]("overflow-x"); + } + set overflowX(value) { + if (value == null) dart.nullFailed(I[147], 7800, 24, "value"); + this[S$.$setProperty]("overflow-x", value, ""); + } + get overflowY() { + return this[S$.$getPropertyValue]("overflow-y"); + } + set overflowY(value) { + if (value == null) dart.nullFailed(I[147], 7808, 24, "value"); + this[S$.$setProperty]("overflow-y", value, ""); + } + get padding() { + return this[S$.$getPropertyValue]("padding"); + } + set padding(value) { + if (value == null) dart.nullFailed(I[147], 7816, 22, "value"); + this[S$.$setProperty]("padding", value, ""); + } + get paddingAfter() { + return this[S$.$getPropertyValue]("padding-after"); + } + set paddingAfter(value) { + if (value == null) dart.nullFailed(I[147], 7824, 27, "value"); + this[S$.$setProperty]("padding-after", value, ""); + } + get paddingBefore() { + return this[S$.$getPropertyValue]("padding-before"); + } + set paddingBefore(value) { + if (value == null) dart.nullFailed(I[147], 7832, 28, "value"); + this[S$.$setProperty]("padding-before", value, ""); + } + get paddingBottom() { + return this[S$.$getPropertyValue]("padding-bottom"); + } + set paddingBottom(value) { + if (value == null) dart.nullFailed(I[147], 7840, 28, "value"); + this[S$.$setProperty]("padding-bottom", value, ""); + } + get paddingEnd() { + return this[S$.$getPropertyValue]("padding-end"); + } + set paddingEnd(value) { + if (value == null) dart.nullFailed(I[147], 7848, 25, "value"); + this[S$.$setProperty]("padding-end", value, ""); + } + get paddingLeft() { + return this[S$.$getPropertyValue]("padding-left"); + } + set paddingLeft(value) { + if (value == null) dart.nullFailed(I[147], 7856, 26, "value"); + this[S$.$setProperty]("padding-left", value, ""); + } + get paddingRight() { + return this[S$.$getPropertyValue]("padding-right"); + } + set paddingRight(value) { + if (value == null) dart.nullFailed(I[147], 7864, 27, "value"); + this[S$.$setProperty]("padding-right", value, ""); + } + get paddingStart() { + return this[S$.$getPropertyValue]("padding-start"); + } + set paddingStart(value) { + if (value == null) dart.nullFailed(I[147], 7872, 27, "value"); + this[S$.$setProperty]("padding-start", value, ""); + } + get paddingTop() { + return this[S$.$getPropertyValue]("padding-top"); + } + set paddingTop(value) { + if (value == null) dart.nullFailed(I[147], 7880, 25, "value"); + this[S$.$setProperty]("padding-top", value, ""); + } + get page() { + return this[S$.$getPropertyValue]("page"); + } + set page(value) { + if (value == null) dart.nullFailed(I[147], 7888, 19, "value"); + this[S$.$setProperty]("page", value, ""); + } + get pageBreakAfter() { + return this[S$.$getPropertyValue]("page-break-after"); + } + set pageBreakAfter(value) { + if (value == null) dart.nullFailed(I[147], 7896, 29, "value"); + this[S$.$setProperty]("page-break-after", value, ""); + } + get pageBreakBefore() { + return this[S$.$getPropertyValue]("page-break-before"); + } + set pageBreakBefore(value) { + if (value == null) dart.nullFailed(I[147], 7904, 30, "value"); + this[S$.$setProperty]("page-break-before", value, ""); + } + get pageBreakInside() { + return this[S$.$getPropertyValue]("page-break-inside"); + } + set pageBreakInside(value) { + if (value == null) dart.nullFailed(I[147], 7912, 30, "value"); + this[S$.$setProperty]("page-break-inside", value, ""); + } + get perspective() { + return this[S$.$getPropertyValue]("perspective"); + } + set perspective(value) { + if (value == null) dart.nullFailed(I[147], 7920, 26, "value"); + this[S$.$setProperty]("perspective", value, ""); + } + get perspectiveOrigin() { + return this[S$.$getPropertyValue]("perspective-origin"); + } + set perspectiveOrigin(value) { + if (value == null) dart.nullFailed(I[147], 7928, 32, "value"); + this[S$.$setProperty]("perspective-origin", value, ""); + } + get perspectiveOriginX() { + return this[S$.$getPropertyValue]("perspective-origin-x"); + } + set perspectiveOriginX(value) { + if (value == null) dart.nullFailed(I[147], 7936, 33, "value"); + this[S$.$setProperty]("perspective-origin-x", value, ""); + } + get perspectiveOriginY() { + return this[S$.$getPropertyValue]("perspective-origin-y"); + } + set perspectiveOriginY(value) { + if (value == null) dart.nullFailed(I[147], 7944, 33, "value"); + this[S$.$setProperty]("perspective-origin-y", value, ""); + } + get pointerEvents() { + return this[S$.$getPropertyValue]("pointer-events"); + } + set pointerEvents(value) { + if (value == null) dart.nullFailed(I[147], 7952, 28, "value"); + this[S$.$setProperty]("pointer-events", value, ""); + } + get position() { + return this[S$.$getPropertyValue]("position"); + } + set position(value) { + if (value == null) dart.nullFailed(I[147], 7960, 23, "value"); + this[S$.$setProperty]("position", value, ""); + } + get printColorAdjust() { + return this[S$.$getPropertyValue]("print-color-adjust"); + } + set printColorAdjust(value) { + if (value == null) dart.nullFailed(I[147], 7968, 31, "value"); + this[S$.$setProperty]("print-color-adjust", value, ""); + } + get quotes() { + return this[S$.$getPropertyValue]("quotes"); + } + set quotes(value) { + if (value == null) dart.nullFailed(I[147], 7976, 21, "value"); + this[S$.$setProperty]("quotes", value, ""); + } + get resize() { + return this[S$.$getPropertyValue]("resize"); + } + set resize(value) { + if (value == null) dart.nullFailed(I[147], 7984, 21, "value"); + this[S$.$setProperty]("resize", value, ""); + } + get right() { + return this[S$.$getPropertyValue]("right"); + } + set right(value) { + if (value == null) dart.nullFailed(I[147], 7992, 20, "value"); + this[S$.$setProperty]("right", value, ""); + } + get rtlOrdering() { + return this[S$.$getPropertyValue]("rtl-ordering"); + } + set rtlOrdering(value) { + if (value == null) dart.nullFailed(I[147], 8000, 26, "value"); + this[S$.$setProperty]("rtl-ordering", value, ""); + } + get rubyPosition() { + return this[S$.$getPropertyValue]("ruby-position"); + } + set rubyPosition(value) { + if (value == null) dart.nullFailed(I[147], 8008, 27, "value"); + this[S$.$setProperty]("ruby-position", value, ""); + } + get scrollBehavior() { + return this[S$.$getPropertyValue]("scroll-behavior"); + } + set scrollBehavior(value) { + if (value == null) dart.nullFailed(I[147], 8016, 29, "value"); + this[S$.$setProperty]("scroll-behavior", value, ""); + } + get shapeImageThreshold() { + return this[S$.$getPropertyValue]("shape-image-threshold"); + } + set shapeImageThreshold(value) { + if (value == null) dart.nullFailed(I[147], 8024, 34, "value"); + this[S$.$setProperty]("shape-image-threshold", value, ""); + } + get shapeMargin() { + return this[S$.$getPropertyValue]("shape-margin"); + } + set shapeMargin(value) { + if (value == null) dart.nullFailed(I[147], 8032, 26, "value"); + this[S$.$setProperty]("shape-margin", value, ""); + } + get shapeOutside() { + return this[S$.$getPropertyValue]("shape-outside"); + } + set shapeOutside(value) { + if (value == null) dart.nullFailed(I[147], 8040, 27, "value"); + this[S$.$setProperty]("shape-outside", value, ""); + } + get size() { + return this[S$.$getPropertyValue]("size"); + } + set size(value) { + if (value == null) dart.nullFailed(I[147], 8048, 19, "value"); + this[S$.$setProperty]("size", value, ""); + } + get speak() { + return this[S$.$getPropertyValue]("speak"); + } + set speak(value) { + if (value == null) dart.nullFailed(I[147], 8056, 20, "value"); + this[S$.$setProperty]("speak", value, ""); + } + get src() { + return this[S$.$getPropertyValue]("src"); + } + set src(value) { + if (value == null) dart.nullFailed(I[147], 8064, 18, "value"); + this[S$.$setProperty]("src", value, ""); + } + get tabSize() { + return this[S$.$getPropertyValue]("tab-size"); + } + set tabSize(value) { + if (value == null) dart.nullFailed(I[147], 8072, 22, "value"); + this[S$.$setProperty]("tab-size", value, ""); + } + get tableLayout() { + return this[S$.$getPropertyValue]("table-layout"); + } + set tableLayout(value) { + if (value == null) dart.nullFailed(I[147], 8080, 26, "value"); + this[S$.$setProperty]("table-layout", value, ""); + } + get tapHighlightColor() { + return this[S$.$getPropertyValue]("tap-highlight-color"); + } + set tapHighlightColor(value) { + if (value == null) dart.nullFailed(I[147], 8088, 32, "value"); + this[S$.$setProperty]("tap-highlight-color", value, ""); + } + get textAlign() { + return this[S$.$getPropertyValue]("text-align"); + } + set textAlign(value) { + if (value == null) dart.nullFailed(I[147], 8096, 24, "value"); + this[S$.$setProperty]("text-align", value, ""); + } + get textAlignLast() { + return this[S$.$getPropertyValue]("text-align-last"); + } + set textAlignLast(value) { + if (value == null) dart.nullFailed(I[147], 8104, 28, "value"); + this[S$.$setProperty]("text-align-last", value, ""); + } + get textCombine() { + return this[S$.$getPropertyValue]("text-combine"); + } + set textCombine(value) { + if (value == null) dart.nullFailed(I[147], 8112, 26, "value"); + this[S$.$setProperty]("text-combine", value, ""); + } + get textDecoration() { + return this[S$.$getPropertyValue]("text-decoration"); + } + set textDecoration(value) { + if (value == null) dart.nullFailed(I[147], 8120, 29, "value"); + this[S$.$setProperty]("text-decoration", value, ""); + } + get textDecorationColor() { + return this[S$.$getPropertyValue]("text-decoration-color"); + } + set textDecorationColor(value) { + if (value == null) dart.nullFailed(I[147], 8128, 34, "value"); + this[S$.$setProperty]("text-decoration-color", value, ""); + } + get textDecorationLine() { + return this[S$.$getPropertyValue]("text-decoration-line"); + } + set textDecorationLine(value) { + if (value == null) dart.nullFailed(I[147], 8136, 33, "value"); + this[S$.$setProperty]("text-decoration-line", value, ""); + } + get textDecorationStyle() { + return this[S$.$getPropertyValue]("text-decoration-style"); + } + set textDecorationStyle(value) { + if (value == null) dart.nullFailed(I[147], 8144, 34, "value"); + this[S$.$setProperty]("text-decoration-style", value, ""); + } + get textDecorationsInEffect() { + return this[S$.$getPropertyValue]("text-decorations-in-effect"); + } + set textDecorationsInEffect(value) { + if (value == null) dart.nullFailed(I[147], 8153, 38, "value"); + this[S$.$setProperty]("text-decorations-in-effect", value, ""); + } + get textEmphasis() { + return this[S$.$getPropertyValue]("text-emphasis"); + } + set textEmphasis(value) { + if (value == null) dart.nullFailed(I[147], 8161, 27, "value"); + this[S$.$setProperty]("text-emphasis", value, ""); + } + get textEmphasisColor() { + return this[S$.$getPropertyValue]("text-emphasis-color"); + } + set textEmphasisColor(value) { + if (value == null) dart.nullFailed(I[147], 8169, 32, "value"); + this[S$.$setProperty]("text-emphasis-color", value, ""); + } + get textEmphasisPosition() { + return this[S$.$getPropertyValue]("text-emphasis-position"); + } + set textEmphasisPosition(value) { + if (value == null) dart.nullFailed(I[147], 8177, 35, "value"); + this[S$.$setProperty]("text-emphasis-position", value, ""); + } + get textEmphasisStyle() { + return this[S$.$getPropertyValue]("text-emphasis-style"); + } + set textEmphasisStyle(value) { + if (value == null) dart.nullFailed(I[147], 8185, 32, "value"); + this[S$.$setProperty]("text-emphasis-style", value, ""); + } + get textFillColor() { + return this[S$.$getPropertyValue]("text-fill-color"); + } + set textFillColor(value) { + if (value == null) dart.nullFailed(I[147], 8193, 28, "value"); + this[S$.$setProperty]("text-fill-color", value, ""); + } + get textIndent() { + return this[S$.$getPropertyValue]("text-indent"); + } + set textIndent(value) { + if (value == null) dart.nullFailed(I[147], 8201, 25, "value"); + this[S$.$setProperty]("text-indent", value, ""); + } + get textJustify() { + return this[S$.$getPropertyValue]("text-justify"); + } + set textJustify(value) { + if (value == null) dart.nullFailed(I[147], 8209, 26, "value"); + this[S$.$setProperty]("text-justify", value, ""); + } + get textLineThroughColor() { + return this[S$.$getPropertyValue]("text-line-through-color"); + } + set textLineThroughColor(value) { + if (value == null) dart.nullFailed(I[147], 8218, 35, "value"); + this[S$.$setProperty]("text-line-through-color", value, ""); + } + get textLineThroughMode() { + return this[S$.$getPropertyValue]("text-line-through-mode"); + } + set textLineThroughMode(value) { + if (value == null) dart.nullFailed(I[147], 8226, 34, "value"); + this[S$.$setProperty]("text-line-through-mode", value, ""); + } + get textLineThroughStyle() { + return this[S$.$getPropertyValue]("text-line-through-style"); + } + set textLineThroughStyle(value) { + if (value == null) dart.nullFailed(I[147], 8235, 35, "value"); + this[S$.$setProperty]("text-line-through-style", value, ""); + } + get textLineThroughWidth() { + return this[S$.$getPropertyValue]("text-line-through-width"); + } + set textLineThroughWidth(value) { + if (value == null) dart.nullFailed(I[147], 8244, 35, "value"); + this[S$.$setProperty]("text-line-through-width", value, ""); + } + get textOrientation() { + return this[S$.$getPropertyValue]("text-orientation"); + } + set textOrientation(value) { + if (value == null) dart.nullFailed(I[147], 8252, 30, "value"); + this[S$.$setProperty]("text-orientation", value, ""); + } + get textOverflow() { + return this[S$.$getPropertyValue]("text-overflow"); + } + set textOverflow(value) { + if (value == null) dart.nullFailed(I[147], 8260, 27, "value"); + this[S$.$setProperty]("text-overflow", value, ""); + } + get textOverlineColor() { + return this[S$.$getPropertyValue]("text-overline-color"); + } + set textOverlineColor(value) { + if (value == null) dart.nullFailed(I[147], 8268, 32, "value"); + this[S$.$setProperty]("text-overline-color", value, ""); + } + get textOverlineMode() { + return this[S$.$getPropertyValue]("text-overline-mode"); + } + set textOverlineMode(value) { + if (value == null) dart.nullFailed(I[147], 8276, 31, "value"); + this[S$.$setProperty]("text-overline-mode", value, ""); + } + get textOverlineStyle() { + return this[S$.$getPropertyValue]("text-overline-style"); + } + set textOverlineStyle(value) { + if (value == null) dart.nullFailed(I[147], 8284, 32, "value"); + this[S$.$setProperty]("text-overline-style", value, ""); + } + get textOverlineWidth() { + return this[S$.$getPropertyValue]("text-overline-width"); + } + set textOverlineWidth(value) { + if (value == null) dart.nullFailed(I[147], 8292, 32, "value"); + this[S$.$setProperty]("text-overline-width", value, ""); + } + get textRendering() { + return this[S$.$getPropertyValue]("text-rendering"); + } + set textRendering(value) { + if (value == null) dart.nullFailed(I[147], 8300, 28, "value"); + this[S$.$setProperty]("text-rendering", value, ""); + } + get textSecurity() { + return this[S$.$getPropertyValue]("text-security"); + } + set textSecurity(value) { + if (value == null) dart.nullFailed(I[147], 8308, 27, "value"); + this[S$.$setProperty]("text-security", value, ""); + } + get textShadow() { + return this[S$.$getPropertyValue]("text-shadow"); + } + set textShadow(value) { + if (value == null) dart.nullFailed(I[147], 8316, 25, "value"); + this[S$.$setProperty]("text-shadow", value, ""); + } + get textStroke() { + return this[S$.$getPropertyValue]("text-stroke"); + } + set textStroke(value) { + if (value == null) dart.nullFailed(I[147], 8324, 25, "value"); + this[S$.$setProperty]("text-stroke", value, ""); + } + get textStrokeColor() { + return this[S$.$getPropertyValue]("text-stroke-color"); + } + set textStrokeColor(value) { + if (value == null) dart.nullFailed(I[147], 8332, 30, "value"); + this[S$.$setProperty]("text-stroke-color", value, ""); + } + get textStrokeWidth() { + return this[S$.$getPropertyValue]("text-stroke-width"); + } + set textStrokeWidth(value) { + if (value == null) dart.nullFailed(I[147], 8340, 30, "value"); + this[S$.$setProperty]("text-stroke-width", value, ""); + } + get textTransform() { + return this[S$.$getPropertyValue]("text-transform"); + } + set textTransform(value) { + if (value == null) dart.nullFailed(I[147], 8348, 28, "value"); + this[S$.$setProperty]("text-transform", value, ""); + } + get textUnderlineColor() { + return this[S$.$getPropertyValue]("text-underline-color"); + } + set textUnderlineColor(value) { + if (value == null) dart.nullFailed(I[147], 8356, 33, "value"); + this[S$.$setProperty]("text-underline-color", value, ""); + } + get textUnderlineMode() { + return this[S$.$getPropertyValue]("text-underline-mode"); + } + set textUnderlineMode(value) { + if (value == null) dart.nullFailed(I[147], 8364, 32, "value"); + this[S$.$setProperty]("text-underline-mode", value, ""); + } + get textUnderlinePosition() { + return this[S$.$getPropertyValue]("text-underline-position"); + } + set textUnderlinePosition(value) { + if (value == null) dart.nullFailed(I[147], 8373, 36, "value"); + this[S$.$setProperty]("text-underline-position", value, ""); + } + get textUnderlineStyle() { + return this[S$.$getPropertyValue]("text-underline-style"); + } + set textUnderlineStyle(value) { + if (value == null) dart.nullFailed(I[147], 8381, 33, "value"); + this[S$.$setProperty]("text-underline-style", value, ""); + } + get textUnderlineWidth() { + return this[S$.$getPropertyValue]("text-underline-width"); + } + set textUnderlineWidth(value) { + if (value == null) dart.nullFailed(I[147], 8389, 33, "value"); + this[S$.$setProperty]("text-underline-width", value, ""); + } + get top() { + return this[S$.$getPropertyValue]("top"); + } + set top(value) { + if (value == null) dart.nullFailed(I[147], 8397, 18, "value"); + this[S$.$setProperty]("top", value, ""); + } + get touchAction() { + return this[S$.$getPropertyValue]("touch-action"); + } + set touchAction(value) { + if (value == null) dart.nullFailed(I[147], 8405, 26, "value"); + this[S$.$setProperty]("touch-action", value, ""); + } + get touchActionDelay() { + return this[S$.$getPropertyValue]("touch-action-delay"); + } + set touchActionDelay(value) { + if (value == null) dart.nullFailed(I[147], 8413, 31, "value"); + this[S$.$setProperty]("touch-action-delay", value, ""); + } + get transform() { + return this[S$.$getPropertyValue]("transform"); + } + set transform(value) { + if (value == null) dart.nullFailed(I[147], 8421, 24, "value"); + this[S$.$setProperty]("transform", value, ""); + } + get transformOrigin() { + return this[S$.$getPropertyValue]("transform-origin"); + } + set transformOrigin(value) { + if (value == null) dart.nullFailed(I[147], 8429, 30, "value"); + this[S$.$setProperty]("transform-origin", value, ""); + } + get transformOriginX() { + return this[S$.$getPropertyValue]("transform-origin-x"); + } + set transformOriginX(value) { + if (value == null) dart.nullFailed(I[147], 8437, 31, "value"); + this[S$.$setProperty]("transform-origin-x", value, ""); + } + get transformOriginY() { + return this[S$.$getPropertyValue]("transform-origin-y"); + } + set transformOriginY(value) { + if (value == null) dart.nullFailed(I[147], 8445, 31, "value"); + this[S$.$setProperty]("transform-origin-y", value, ""); + } + get transformOriginZ() { + return this[S$.$getPropertyValue]("transform-origin-z"); + } + set transformOriginZ(value) { + if (value == null) dart.nullFailed(I[147], 8453, 31, "value"); + this[S$.$setProperty]("transform-origin-z", value, ""); + } + get transformStyle() { + return this[S$.$getPropertyValue]("transform-style"); + } + set transformStyle(value) { + if (value == null) dart.nullFailed(I[147], 8461, 29, "value"); + this[S$.$setProperty]("transform-style", value, ""); + } + get transition() { + return this[S$.$getPropertyValue]("transition"); + } + set transition(value) { + if (value == null) dart.nullFailed(I[147], 8477, 25, "value"); + this[S$.$setProperty]("transition", value, ""); + } + get transitionDelay() { + return this[S$.$getPropertyValue]("transition-delay"); + } + set transitionDelay(value) { + if (value == null) dart.nullFailed(I[147], 8485, 30, "value"); + this[S$.$setProperty]("transition-delay", value, ""); + } + get transitionDuration() { + return this[S$.$getPropertyValue]("transition-duration"); + } + set transitionDuration(value) { + if (value == null) dart.nullFailed(I[147], 8493, 33, "value"); + this[S$.$setProperty]("transition-duration", value, ""); + } + get transitionProperty() { + return this[S$.$getPropertyValue]("transition-property"); + } + set transitionProperty(value) { + if (value == null) dart.nullFailed(I[147], 8501, 33, "value"); + this[S$.$setProperty]("transition-property", value, ""); + } + get transitionTimingFunction() { + return this[S$.$getPropertyValue]("transition-timing-function"); + } + set transitionTimingFunction(value) { + if (value == null) dart.nullFailed(I[147], 8510, 39, "value"); + this[S$.$setProperty]("transition-timing-function", value, ""); + } + get unicodeBidi() { + return this[S$.$getPropertyValue]("unicode-bidi"); + } + set unicodeBidi(value) { + if (value == null) dart.nullFailed(I[147], 8518, 26, "value"); + this[S$.$setProperty]("unicode-bidi", value, ""); + } + get unicodeRange() { + return this[S$.$getPropertyValue]("unicode-range"); + } + set unicodeRange(value) { + if (value == null) dart.nullFailed(I[147], 8526, 27, "value"); + this[S$.$setProperty]("unicode-range", value, ""); + } + get userDrag() { + return this[S$.$getPropertyValue]("user-drag"); + } + set userDrag(value) { + if (value == null) dart.nullFailed(I[147], 8534, 23, "value"); + this[S$.$setProperty]("user-drag", value, ""); + } + get userModify() { + return this[S$.$getPropertyValue]("user-modify"); + } + set userModify(value) { + if (value == null) dart.nullFailed(I[147], 8542, 25, "value"); + this[S$.$setProperty]("user-modify", value, ""); + } + get userSelect() { + return this[S$.$getPropertyValue]("user-select"); + } + set userSelect(value) { + if (value == null) dart.nullFailed(I[147], 8550, 25, "value"); + this[S$.$setProperty]("user-select", value, ""); + } + get userZoom() { + return this[S$.$getPropertyValue]("user-zoom"); + } + set userZoom(value) { + if (value == null) dart.nullFailed(I[147], 8558, 23, "value"); + this[S$.$setProperty]("user-zoom", value, ""); + } + get verticalAlign() { + return this[S$.$getPropertyValue]("vertical-align"); + } + set verticalAlign(value) { + if (value == null) dart.nullFailed(I[147], 8566, 28, "value"); + this[S$.$setProperty]("vertical-align", value, ""); + } + get visibility() { + return this[S$.$getPropertyValue]("visibility"); + } + set visibility(value) { + if (value == null) dart.nullFailed(I[147], 8574, 25, "value"); + this[S$.$setProperty]("visibility", value, ""); + } + get whiteSpace() { + return this[S$.$getPropertyValue]("white-space"); + } + set whiteSpace(value) { + if (value == null) dart.nullFailed(I[147], 8582, 25, "value"); + this[S$.$setProperty]("white-space", value, ""); + } + get widows() { + return this[S$.$getPropertyValue]("widows"); + } + set widows(value) { + if (value == null) dart.nullFailed(I[147], 8590, 21, "value"); + this[S$.$setProperty]("widows", value, ""); + } + get width() { + return this[S$.$getPropertyValue]("width"); + } + set width(value) { + if (value == null) dart.nullFailed(I[147], 8598, 20, "value"); + this[S$.$setProperty]("width", value, ""); + } + get willChange() { + return this[S$.$getPropertyValue]("will-change"); + } + set willChange(value) { + if (value == null) dart.nullFailed(I[147], 8606, 25, "value"); + this[S$.$setProperty]("will-change", value, ""); + } + get wordBreak() { + return this[S$.$getPropertyValue]("word-break"); + } + set wordBreak(value) { + if (value == null) dart.nullFailed(I[147], 8614, 24, "value"); + this[S$.$setProperty]("word-break", value, ""); + } + get wordSpacing() { + return this[S$.$getPropertyValue]("word-spacing"); + } + set wordSpacing(value) { + if (value == null) dart.nullFailed(I[147], 8622, 26, "value"); + this[S$.$setProperty]("word-spacing", value, ""); + } + get wordWrap() { + return this[S$.$getPropertyValue]("word-wrap"); + } + set wordWrap(value) { + if (value == null) dart.nullFailed(I[147], 8630, 23, "value"); + this[S$.$setProperty]("word-wrap", value, ""); + } + get wrapFlow() { + return this[S$.$getPropertyValue]("wrap-flow"); + } + set wrapFlow(value) { + if (value == null) dart.nullFailed(I[147], 8638, 23, "value"); + this[S$.$setProperty]("wrap-flow", value, ""); + } + get wrapThrough() { + return this[S$.$getPropertyValue]("wrap-through"); + } + set wrapThrough(value) { + if (value == null) dart.nullFailed(I[147], 8646, 26, "value"); + this[S$.$setProperty]("wrap-through", value, ""); + } + get writingMode() { + return this[S$.$getPropertyValue]("writing-mode"); + } + set writingMode(value) { + if (value == null) dart.nullFailed(I[147], 8654, 26, "value"); + this[S$.$setProperty]("writing-mode", value, ""); + } + get zIndex() { + return this[S$.$getPropertyValue]("z-index"); + } + set zIndex(value) { + if (value == null) dart.nullFailed(I[147], 8662, 21, "value"); + this[S$.$setProperty]("z-index", value, ""); + } + get zoom() { + return this[S$.$getPropertyValue]("zoom"); + } + set zoom(value) { + if (value == null) dart.nullFailed(I[147], 8670, 19, "value"); + this[S$.$setProperty]("zoom", value, ""); + } + }; + (html$.CssStyleDeclarationBase.new = function() { + ; + }).prototype = html$.CssStyleDeclarationBase.prototype; + dart.addTypeTests(html$.CssStyleDeclarationBase); + dart.addTypeCaches(html$.CssStyleDeclarationBase); + dart.setGetterSignature(html$.CssStyleDeclarationBase, () => ({ + __proto__: dart.getGetters(html$.CssStyleDeclarationBase.__proto__), + alignContent: core.String, + [S$0.$alignContent]: core.String, + alignItems: core.String, + [S$0.$alignItems]: core.String, + alignSelf: core.String, + [S$0.$alignSelf]: core.String, + animation: core.String, + [S$0.$animation]: core.String, + animationDelay: core.String, + [S$0.$animationDelay]: core.String, + animationDirection: core.String, + [S$0.$animationDirection]: core.String, + animationDuration: core.String, + [S$0.$animationDuration]: core.String, + animationFillMode: core.String, + [S$0.$animationFillMode]: core.String, + animationIterationCount: core.String, + [S$0.$animationIterationCount]: core.String, + animationName: core.String, + [S$.$animationName]: core.String, + animationPlayState: core.String, + [S$0.$animationPlayState]: core.String, + animationTimingFunction: core.String, + [S$0.$animationTimingFunction]: core.String, + appRegion: core.String, + [S$0.$appRegion]: core.String, + appearance: core.String, + [S$0.$appearance]: core.String, + aspectRatio: core.String, + [S$0.$aspectRatio]: core.String, + backfaceVisibility: core.String, + [S$0.$backfaceVisibility]: core.String, + background: core.String, + [S$.$background]: core.String, + backgroundAttachment: core.String, + [S$.$backgroundAttachment]: core.String, + backgroundBlendMode: core.String, + [S$0.$backgroundBlendMode]: core.String, + backgroundClip: core.String, + [S$0.$backgroundClip]: core.String, + backgroundColor: core.String, + [S$.$backgroundColor]: core.String, + backgroundComposite: core.String, + [S$0.$backgroundComposite]: core.String, + backgroundImage: core.String, + [S$.$backgroundImage]: core.String, + backgroundOrigin: core.String, + [S$0.$backgroundOrigin]: core.String, + backgroundPosition: core.String, + [S$.$backgroundPosition]: core.String, + backgroundPositionX: core.String, + [S$0.$backgroundPositionX]: core.String, + backgroundPositionY: core.String, + [S$0.$backgroundPositionY]: core.String, + backgroundRepeat: core.String, + [S$.$backgroundRepeat]: core.String, + backgroundRepeatX: core.String, + [S$0.$backgroundRepeatX]: core.String, + backgroundRepeatY: core.String, + [S$0.$backgroundRepeatY]: core.String, + backgroundSize: core.String, + [S$0.$backgroundSize]: core.String, + border: core.String, + [S$.$border]: core.String, + borderAfter: core.String, + [S$0.$borderAfter]: core.String, + borderAfterColor: core.String, + [S$0.$borderAfterColor]: core.String, + borderAfterStyle: core.String, + [S$0.$borderAfterStyle]: core.String, + borderAfterWidth: core.String, + [S$0.$borderAfterWidth]: core.String, + borderBefore: core.String, + [S$0.$borderBefore]: core.String, + borderBeforeColor: core.String, + [S$0.$borderBeforeColor]: core.String, + borderBeforeStyle: core.String, + [S$0.$borderBeforeStyle]: core.String, + borderBeforeWidth: core.String, + [S$0.$borderBeforeWidth]: core.String, + borderBottom: core.String, + [S$.$borderBottom]: core.String, + borderBottomColor: core.String, + [S$.$borderBottomColor]: core.String, + borderBottomLeftRadius: core.String, + [S$0.$borderBottomLeftRadius]: core.String, + borderBottomRightRadius: core.String, + [S$0.$borderBottomRightRadius]: core.String, + borderBottomStyle: core.String, + [S$.$borderBottomStyle]: core.String, + borderBottomWidth: core.String, + [S$.$borderBottomWidth]: core.String, + borderCollapse: core.String, + [S$.$borderCollapse]: core.String, + borderColor: core.String, + [S$.$borderColor]: core.String, + borderEnd: core.String, + [S$0.$borderEnd]: core.String, + borderEndColor: core.String, + [S$0.$borderEndColor]: core.String, + borderEndStyle: core.String, + [S$0.$borderEndStyle]: core.String, + borderEndWidth: core.String, + [S$0.$borderEndWidth]: core.String, + borderFit: core.String, + [S$0.$borderFit]: core.String, + borderHorizontalSpacing: core.String, + [S$0.$borderHorizontalSpacing]: core.String, + borderImage: core.String, + [S$0.$borderImage]: core.String, + borderImageOutset: core.String, + [S$0.$borderImageOutset]: core.String, + borderImageRepeat: core.String, + [S$0.$borderImageRepeat]: core.String, + borderImageSlice: core.String, + [S$0.$borderImageSlice]: core.String, + borderImageSource: core.String, + [S$0.$borderImageSource]: core.String, + borderImageWidth: core.String, + [S$0.$borderImageWidth]: core.String, + borderLeft: core.String, + [S$.$borderLeft]: core.String, + borderLeftColor: core.String, + [S$.$borderLeftColor]: core.String, + borderLeftStyle: core.String, + [S$.$borderLeftStyle]: core.String, + borderLeftWidth: core.String, + [S$.$borderLeftWidth]: core.String, + borderRadius: core.String, + [S$0.$borderRadius]: core.String, + borderRight: core.String, + [S$.$borderRight]: core.String, + borderRightColor: core.String, + [S$.$borderRightColor]: core.String, + borderRightStyle: core.String, + [S$.$borderRightStyle]: core.String, + borderRightWidth: core.String, + [S$0.$borderRightWidth]: core.String, + borderSpacing: core.String, + [S$0.$borderSpacing]: core.String, + borderStart: core.String, + [S$0.$borderStart]: core.String, + borderStartColor: core.String, + [S$0.$borderStartColor]: core.String, + borderStartStyle: core.String, + [S$0.$borderStartStyle]: core.String, + borderStartWidth: core.String, + [S$0.$borderStartWidth]: core.String, + borderStyle: core.String, + [S$0.$borderStyle]: core.String, + borderTop: core.String, + [S$0.$borderTop]: core.String, + borderTopColor: core.String, + [S$0.$borderTopColor]: core.String, + borderTopLeftRadius: core.String, + [S$0.$borderTopLeftRadius]: core.String, + borderTopRightRadius: core.String, + [S$0.$borderTopRightRadius]: core.String, + borderTopStyle: core.String, + [S$0.$borderTopStyle]: core.String, + borderTopWidth: core.String, + [S$0.$borderTopWidth]: core.String, + borderVerticalSpacing: core.String, + [S$0.$borderVerticalSpacing]: core.String, + borderWidth: core.String, + [S$0.$borderWidth]: core.String, + bottom: core.String, + [$bottom]: core.String, + boxAlign: core.String, + [S$0.$boxAlign]: core.String, + boxDecorationBreak: core.String, + [S$0.$boxDecorationBreak]: core.String, + boxDirection: core.String, + [S$0.$boxDirection]: core.String, + boxFlex: core.String, + [S$0.$boxFlex]: core.String, + boxFlexGroup: core.String, + [S$0.$boxFlexGroup]: core.String, + boxLines: core.String, + [S$0.$boxLines]: core.String, + boxOrdinalGroup: core.String, + [S$0.$boxOrdinalGroup]: core.String, + boxOrient: core.String, + [S$0.$boxOrient]: core.String, + boxPack: core.String, + [S$0.$boxPack]: core.String, + boxReflect: core.String, + [S$0.$boxReflect]: core.String, + boxShadow: core.String, + [S$0.$boxShadow]: core.String, + boxSizing: core.String, + [S$0.$boxSizing]: core.String, + captionSide: core.String, + [S$0.$captionSide]: core.String, + clear: core.String, + [$clear]: core.String, + clip: core.String, + [S$.$clip]: core.String, + clipPath: core.String, + [S$0.$clipPath]: core.String, + color: core.String, + [S$0.$color]: core.String, + columnBreakAfter: core.String, + [S$0.$columnBreakAfter]: core.String, + columnBreakBefore: core.String, + [S$0.$columnBreakBefore]: core.String, + columnBreakInside: core.String, + [S$0.$columnBreakInside]: core.String, + columnCount: core.String, + [S$0.$columnCount]: core.String, + columnFill: core.String, + [S$0.$columnFill]: core.String, + columnGap: core.String, + [S$0.$columnGap]: core.String, + columnRule: core.String, + [S$0.$columnRule]: core.String, + columnRuleColor: core.String, + [S$0.$columnRuleColor]: core.String, + columnRuleStyle: core.String, + [S$0.$columnRuleStyle]: core.String, + columnRuleWidth: core.String, + [S$0.$columnRuleWidth]: core.String, + columnSpan: core.String, + [S$0.$columnSpan]: core.String, + columnWidth: core.String, + [S$0.$columnWidth]: core.String, + columns: core.String, + [S$0.$columns]: core.String, + content: core.String, + [S$0.$content]: core.String, + counterIncrement: core.String, + [S$0.$counterIncrement]: core.String, + counterReset: core.String, + [S$0.$counterReset]: core.String, + cursor: core.String, + [S$0.$cursor]: core.String, + direction: core.String, + [S.$direction]: core.String, + display: core.String, + [S$0.$display]: core.String, + emptyCells: core.String, + [S$0.$emptyCells]: core.String, + filter: core.String, + [S$.$filter]: core.String, + flex: core.String, + [S$0.$flex]: core.String, + flexBasis: core.String, + [S$0.$flexBasis]: core.String, + flexDirection: core.String, + [S$0.$flexDirection]: core.String, + flexFlow: core.String, + [S$0.$flexFlow]: core.String, + flexGrow: core.String, + [S$0.$flexGrow]: core.String, + flexShrink: core.String, + [S$0.$flexShrink]: core.String, + flexWrap: core.String, + [S$0.$flexWrap]: core.String, + float: core.String, + [S$0.$float]: core.String, + font: core.String, + [S$.$font]: core.String, + fontFamily: core.String, + [S$0.$fontFamily]: core.String, + fontFeatureSettings: core.String, + [S$0.$fontFeatureSettings]: core.String, + fontKerning: core.String, + [S$0.$fontKerning]: core.String, + fontSize: core.String, + [S$0.$fontSize]: core.String, + fontSizeDelta: core.String, + [S$0.$fontSizeDelta]: core.String, + fontSmoothing: core.String, + [S$0.$fontSmoothing]: core.String, + fontStretch: core.String, + [S$0.$fontStretch]: core.String, + fontStyle: core.String, + [S$0.$fontStyle]: core.String, + fontVariant: core.String, + [S$0.$fontVariant]: core.String, + fontVariantLigatures: core.String, + [S$0.$fontVariantLigatures]: core.String, + fontWeight: core.String, + [S$0.$fontWeight]: core.String, + grid: core.String, + [S$0.$grid]: core.String, + gridArea: core.String, + [S$0.$gridArea]: core.String, + gridAutoColumns: core.String, + [S$0.$gridAutoColumns]: core.String, + gridAutoFlow: core.String, + [S$0.$gridAutoFlow]: core.String, + gridAutoRows: core.String, + [S$0.$gridAutoRows]: core.String, + gridColumn: core.String, + [S$0.$gridColumn]: core.String, + gridColumnEnd: core.String, + [S$0.$gridColumnEnd]: core.String, + gridColumnStart: core.String, + [S$0.$gridColumnStart]: core.String, + gridRow: core.String, + [S$0.$gridRow]: core.String, + gridRowEnd: core.String, + [S$0.$gridRowEnd]: core.String, + gridRowStart: core.String, + [S$0.$gridRowStart]: core.String, + gridTemplate: core.String, + [S$0.$gridTemplate]: core.String, + gridTemplateAreas: core.String, + [S$0.$gridTemplateAreas]: core.String, + gridTemplateColumns: core.String, + [S$0.$gridTemplateColumns]: core.String, + gridTemplateRows: core.String, + [S$0.$gridTemplateRows]: core.String, + height: core.String, + [$height]: core.String, + highlight: core.String, + [S$0.$highlight]: core.String, + hyphenateCharacter: core.String, + [S$0.$hyphenateCharacter]: core.String, + imageRendering: core.String, + [S$0.$imageRendering]: core.String, + isolation: core.String, + [S$0.$isolation]: core.String, + justifyContent: core.String, + [S$0.$justifyContent]: core.String, + justifySelf: core.String, + [S$0.$justifySelf]: core.String, + left: core.String, + [$left]: core.String, + letterSpacing: core.String, + [S$0.$letterSpacing]: core.String, + lineBoxContain: core.String, + [S$0.$lineBoxContain]: core.String, + lineBreak: core.String, + [S$0.$lineBreak]: core.String, + lineClamp: core.String, + [S$0.$lineClamp]: core.String, + lineHeight: core.String, + [S$0.$lineHeight]: core.String, + listStyle: core.String, + [S$0.$listStyle]: core.String, + listStyleImage: core.String, + [S$0.$listStyleImage]: core.String, + listStylePosition: core.String, + [S$0.$listStylePosition]: core.String, + listStyleType: core.String, + [S$0.$listStyleType]: core.String, + locale: core.String, + [S$0.$locale]: core.String, + logicalHeight: core.String, + [S$0.$logicalHeight]: core.String, + logicalWidth: core.String, + [S$0.$logicalWidth]: core.String, + margin: core.String, + [S$0.$margin]: core.String, + marginAfter: core.String, + [S$0.$marginAfter]: core.String, + marginAfterCollapse: core.String, + [S$0.$marginAfterCollapse]: core.String, + marginBefore: core.String, + [S$0.$marginBefore]: core.String, + marginBeforeCollapse: core.String, + [S$0.$marginBeforeCollapse]: core.String, + marginBottom: core.String, + [S$0.$marginBottom]: core.String, + marginBottomCollapse: core.String, + [S$0.$marginBottomCollapse]: core.String, + marginCollapse: core.String, + [S$0.$marginCollapse]: core.String, + marginEnd: core.String, + [S$0.$marginEnd]: core.String, + marginLeft: core.String, + [S$0.$marginLeft]: core.String, + marginRight: core.String, + [S$0.$marginRight]: core.String, + marginStart: core.String, + [S$0.$marginStart]: core.String, + marginTop: core.String, + [S$0.$marginTop]: core.String, + marginTopCollapse: core.String, + [S$0.$marginTopCollapse]: core.String, + mask: core.String, + [S$0.$mask]: core.String, + maskBoxImage: core.String, + [S$0.$maskBoxImage]: core.String, + maskBoxImageOutset: core.String, + [S$0.$maskBoxImageOutset]: core.String, + maskBoxImageRepeat: core.String, + [S$0.$maskBoxImageRepeat]: core.String, + maskBoxImageSlice: core.String, + [S$0.$maskBoxImageSlice]: core.String, + maskBoxImageSource: core.String, + [S$0.$maskBoxImageSource]: core.String, + maskBoxImageWidth: core.String, + [S$0.$maskBoxImageWidth]: core.String, + maskClip: core.String, + [S$0.$maskClip]: core.String, + maskComposite: core.String, + [S$0.$maskComposite]: core.String, + maskImage: core.String, + [S$0.$maskImage]: core.String, + maskOrigin: core.String, + [S$0.$maskOrigin]: core.String, + maskPosition: core.String, + [S$0.$maskPosition]: core.String, + maskPositionX: core.String, + [S$0.$maskPositionX]: core.String, + maskPositionY: core.String, + [S$0.$maskPositionY]: core.String, + maskRepeat: core.String, + [S$0.$maskRepeat]: core.String, + maskRepeatX: core.String, + [S$0.$maskRepeatX]: core.String, + maskRepeatY: core.String, + [S$0.$maskRepeatY]: core.String, + maskSize: core.String, + [S$0.$maskSize]: core.String, + maskSourceType: core.String, + [S$0.$maskSourceType]: core.String, + maxHeight: core.String, + [S$0.$maxHeight]: core.String, + maxLogicalHeight: core.String, + [S$0.$maxLogicalHeight]: core.String, + maxLogicalWidth: core.String, + [S$0.$maxLogicalWidth]: core.String, + maxWidth: core.String, + [S$0.$maxWidth]: core.String, + maxZoom: core.String, + [S$0.$maxZoom]: core.String, + minHeight: core.String, + [S$0.$minHeight]: core.String, + minLogicalHeight: core.String, + [S$0.$minLogicalHeight]: core.String, + minLogicalWidth: core.String, + [S$0.$minLogicalWidth]: core.String, + minWidth: core.String, + [S$0.$minWidth]: core.String, + minZoom: core.String, + [S$0.$minZoom]: core.String, + mixBlendMode: core.String, + [S$0.$mixBlendMode]: core.String, + objectFit: core.String, + [S$0.$objectFit]: core.String, + objectPosition: core.String, + [S$0.$objectPosition]: core.String, + opacity: core.String, + [S$0.$opacity]: core.String, + order: core.String, + [S$0.$order]: core.String, + orientation: core.String, + [S$.$orientation]: core.String, + orphans: core.String, + [S$0.$orphans]: core.String, + outline: core.String, + [S$0.$outline]: core.String, + outlineColor: core.String, + [S$0.$outlineColor]: core.String, + outlineOffset: core.String, + [S$0.$outlineOffset]: core.String, + outlineStyle: core.String, + [S$0.$outlineStyle]: core.String, + outlineWidth: core.String, + [S$0.$outlineWidth]: core.String, + overflow: core.String, + [S$0.$overflow]: core.String, + overflowWrap: core.String, + [S$0.$overflowWrap]: core.String, + overflowX: core.String, + [S$0.$overflowX]: core.String, + overflowY: core.String, + [S$0.$overflowY]: core.String, + padding: core.String, + [S$0.$padding]: core.String, + paddingAfter: core.String, + [S$0.$paddingAfter]: core.String, + paddingBefore: core.String, + [S$0.$paddingBefore]: core.String, + paddingBottom: core.String, + [S$0.$paddingBottom]: core.String, + paddingEnd: core.String, + [S$0.$paddingEnd]: core.String, + paddingLeft: core.String, + [S$0.$paddingLeft]: core.String, + paddingRight: core.String, + [S$0.$paddingRight]: core.String, + paddingStart: core.String, + [S$0.$paddingStart]: core.String, + paddingTop: core.String, + [S$0.$paddingTop]: core.String, + page: core.String, + [S$0.$page]: core.String, + pageBreakAfter: core.String, + [S$0.$pageBreakAfter]: core.String, + pageBreakBefore: core.String, + [S$0.$pageBreakBefore]: core.String, + pageBreakInside: core.String, + [S$0.$pageBreakInside]: core.String, + perspective: core.String, + [S$0.$perspective]: core.String, + perspectiveOrigin: core.String, + [S$0.$perspectiveOrigin]: core.String, + perspectiveOriginX: core.String, + [S$0.$perspectiveOriginX]: core.String, + perspectiveOriginY: core.String, + [S$0.$perspectiveOriginY]: core.String, + pointerEvents: core.String, + [S$0.$pointerEvents]: core.String, + position: core.String, + [S$0.$position]: core.String, + printColorAdjust: core.String, + [S$0.$printColorAdjust]: core.String, + quotes: core.String, + [S$0.$quotes]: core.String, + resize: core.String, + [S$0.$resize]: core.String, + right: core.String, + [$right]: core.String, + rtlOrdering: core.String, + [S$0.$rtlOrdering]: core.String, + rubyPosition: core.String, + [S$0.$rubyPosition]: core.String, + scrollBehavior: core.String, + [S$0.$scrollBehavior]: core.String, + shapeImageThreshold: core.String, + [S$0.$shapeImageThreshold]: core.String, + shapeMargin: core.String, + [S$0.$shapeMargin]: core.String, + shapeOutside: core.String, + [S$0.$shapeOutside]: core.String, + size: core.String, + [S$.$size]: core.String, + speak: core.String, + [S$0.$speak]: core.String, + src: core.String, + [S$.$src]: core.String, + tabSize: core.String, + [S$0.$tabSize]: core.String, + tableLayout: core.String, + [S$0.$tableLayout]: core.String, + tapHighlightColor: core.String, + [S$0.$tapHighlightColor]: core.String, + textAlign: core.String, + [S$.$textAlign]: core.String, + textAlignLast: core.String, + [S$0.$textAlignLast]: core.String, + textCombine: core.String, + [S$0.$textCombine]: core.String, + textDecoration: core.String, + [S$0.$textDecoration]: core.String, + textDecorationColor: core.String, + [S$0.$textDecorationColor]: core.String, + textDecorationLine: core.String, + [S$0.$textDecorationLine]: core.String, + textDecorationStyle: core.String, + [S$0.$textDecorationStyle]: core.String, + textDecorationsInEffect: core.String, + [S$0.$textDecorationsInEffect]: core.String, + textEmphasis: core.String, + [S$0.$textEmphasis]: core.String, + textEmphasisColor: core.String, + [S$0.$textEmphasisColor]: core.String, + textEmphasisPosition: core.String, + [S$0.$textEmphasisPosition]: core.String, + textEmphasisStyle: core.String, + [S$0.$textEmphasisStyle]: core.String, + textFillColor: core.String, + [S$0.$textFillColor]: core.String, + textIndent: core.String, + [S$0.$textIndent]: core.String, + textJustify: core.String, + [S$0.$textJustify]: core.String, + textLineThroughColor: core.String, + [S$0.$textLineThroughColor]: core.String, + textLineThroughMode: core.String, + [S$0.$textLineThroughMode]: core.String, + textLineThroughStyle: core.String, + [S$0.$textLineThroughStyle]: core.String, + textLineThroughWidth: core.String, + [S$0.$textLineThroughWidth]: core.String, + textOrientation: core.String, + [S$0.$textOrientation]: core.String, + textOverflow: core.String, + [S$0.$textOverflow]: core.String, + textOverlineColor: core.String, + [S$0.$textOverlineColor]: core.String, + textOverlineMode: core.String, + [S$0.$textOverlineMode]: core.String, + textOverlineStyle: core.String, + [S$0.$textOverlineStyle]: core.String, + textOverlineWidth: core.String, + [S$0.$textOverlineWidth]: core.String, + textRendering: core.String, + [S$0.$textRendering]: core.String, + textSecurity: core.String, + [S$0.$textSecurity]: core.String, + textShadow: core.String, + [S$0.$textShadow]: core.String, + textStroke: core.String, + [S$0.$textStroke]: core.String, + textStrokeColor: core.String, + [S$0.$textStrokeColor]: core.String, + textStrokeWidth: core.String, + [S$0.$textStrokeWidth]: core.String, + textTransform: core.String, + [S$0.$textTransform]: core.String, + textUnderlineColor: core.String, + [S$0.$textUnderlineColor]: core.String, + textUnderlineMode: core.String, + [S$0.$textUnderlineMode]: core.String, + textUnderlinePosition: core.String, + [S$0.$textUnderlinePosition]: core.String, + textUnderlineStyle: core.String, + [S$0.$textUnderlineStyle]: core.String, + textUnderlineWidth: core.String, + [S$0.$textUnderlineWidth]: core.String, + top: core.String, + [$top]: core.String, + touchAction: core.String, + [S$0.$touchAction]: core.String, + touchActionDelay: core.String, + [S$0.$touchActionDelay]: core.String, + transform: core.String, + [S$.$transform]: core.String, + transformOrigin: core.String, + [S$0.$transformOrigin]: core.String, + transformOriginX: core.String, + [S$0.$transformOriginX]: core.String, + transformOriginY: core.String, + [S$0.$transformOriginY]: core.String, + transformOriginZ: core.String, + [S$0.$transformOriginZ]: core.String, + transformStyle: core.String, + [S$0.$transformStyle]: core.String, + transition: core.String, + [S$0.$transition]: core.String, + transitionDelay: core.String, + [S$0.$transitionDelay]: core.String, + transitionDuration: core.String, + [S$0.$transitionDuration]: core.String, + transitionProperty: core.String, + [S$0.$transitionProperty]: core.String, + transitionTimingFunction: core.String, + [S$0.$transitionTimingFunction]: core.String, + unicodeBidi: core.String, + [S$0.$unicodeBidi]: core.String, + unicodeRange: core.String, + [S$0.$unicodeRange]: core.String, + userDrag: core.String, + [S$0.$userDrag]: core.String, + userModify: core.String, + [S$0.$userModify]: core.String, + userSelect: core.String, + [S$0.$userSelect]: core.String, + userZoom: core.String, + [S$0.$userZoom]: core.String, + verticalAlign: core.String, + [S$0.$verticalAlign]: core.String, + visibility: core.String, + [S$0.$visibility]: core.String, + whiteSpace: core.String, + [S$0.$whiteSpace]: core.String, + widows: core.String, + [S$0.$widows]: core.String, + width: core.String, + [$width]: core.String, + willChange: core.String, + [S$0.$willChange]: core.String, + wordBreak: core.String, + [S$0.$wordBreak]: core.String, + wordSpacing: core.String, + [S$0.$wordSpacing]: core.String, + wordWrap: core.String, + [S$0.$wordWrap]: core.String, + wrapFlow: core.String, + [S$0.$wrapFlow]: core.String, + wrapThrough: core.String, + [S$0.$wrapThrough]: core.String, + writingMode: core.String, + [S$0.$writingMode]: core.String, + zIndex: core.String, + [S$0.$zIndex]: core.String, + zoom: core.String, + [S$0.$zoom]: core.String + })); + dart.setSetterSignature(html$.CssStyleDeclarationBase, () => ({ + __proto__: dart.getSetters(html$.CssStyleDeclarationBase.__proto__), + alignContent: core.String, + [S$0.$alignContent]: core.String, + alignItems: core.String, + [S$0.$alignItems]: core.String, + alignSelf: core.String, + [S$0.$alignSelf]: core.String, + animation: core.String, + [S$0.$animation]: core.String, + animationDelay: core.String, + [S$0.$animationDelay]: core.String, + animationDirection: core.String, + [S$0.$animationDirection]: core.String, + animationDuration: core.String, + [S$0.$animationDuration]: core.String, + animationFillMode: core.String, + [S$0.$animationFillMode]: core.String, + animationIterationCount: core.String, + [S$0.$animationIterationCount]: core.String, + animationName: core.String, + [S$.$animationName]: core.String, + animationPlayState: core.String, + [S$0.$animationPlayState]: core.String, + animationTimingFunction: core.String, + [S$0.$animationTimingFunction]: core.String, + appRegion: core.String, + [S$0.$appRegion]: core.String, + appearance: core.String, + [S$0.$appearance]: core.String, + aspectRatio: core.String, + [S$0.$aspectRatio]: core.String, + backfaceVisibility: core.String, + [S$0.$backfaceVisibility]: core.String, + background: core.String, + [S$.$background]: core.String, + backgroundAttachment: core.String, + [S$.$backgroundAttachment]: core.String, + backgroundBlendMode: core.String, + [S$0.$backgroundBlendMode]: core.String, + backgroundClip: core.String, + [S$0.$backgroundClip]: core.String, + backgroundColor: core.String, + [S$.$backgroundColor]: core.String, + backgroundComposite: core.String, + [S$0.$backgroundComposite]: core.String, + backgroundImage: core.String, + [S$.$backgroundImage]: core.String, + backgroundOrigin: core.String, + [S$0.$backgroundOrigin]: core.String, + backgroundPosition: core.String, + [S$.$backgroundPosition]: core.String, + backgroundPositionX: core.String, + [S$0.$backgroundPositionX]: core.String, + backgroundPositionY: core.String, + [S$0.$backgroundPositionY]: core.String, + backgroundRepeat: core.String, + [S$.$backgroundRepeat]: core.String, + backgroundRepeatX: core.String, + [S$0.$backgroundRepeatX]: core.String, + backgroundRepeatY: core.String, + [S$0.$backgroundRepeatY]: core.String, + backgroundSize: core.String, + [S$0.$backgroundSize]: core.String, + border: core.String, + [S$.$border]: core.String, + borderAfter: core.String, + [S$0.$borderAfter]: core.String, + borderAfterColor: core.String, + [S$0.$borderAfterColor]: core.String, + borderAfterStyle: core.String, + [S$0.$borderAfterStyle]: core.String, + borderAfterWidth: core.String, + [S$0.$borderAfterWidth]: core.String, + borderBefore: core.String, + [S$0.$borderBefore]: core.String, + borderBeforeColor: core.String, + [S$0.$borderBeforeColor]: core.String, + borderBeforeStyle: core.String, + [S$0.$borderBeforeStyle]: core.String, + borderBeforeWidth: core.String, + [S$0.$borderBeforeWidth]: core.String, + borderBottom: core.String, + [S$.$borderBottom]: core.String, + borderBottomColor: core.String, + [S$.$borderBottomColor]: core.String, + borderBottomLeftRadius: core.String, + [S$0.$borderBottomLeftRadius]: core.String, + borderBottomRightRadius: core.String, + [S$0.$borderBottomRightRadius]: core.String, + borderBottomStyle: core.String, + [S$.$borderBottomStyle]: core.String, + borderBottomWidth: core.String, + [S$.$borderBottomWidth]: core.String, + borderCollapse: core.String, + [S$.$borderCollapse]: core.String, + borderColor: core.String, + [S$.$borderColor]: core.String, + borderEnd: core.String, + [S$0.$borderEnd]: core.String, + borderEndColor: core.String, + [S$0.$borderEndColor]: core.String, + borderEndStyle: core.String, + [S$0.$borderEndStyle]: core.String, + borderEndWidth: core.String, + [S$0.$borderEndWidth]: core.String, + borderFit: core.String, + [S$0.$borderFit]: core.String, + borderHorizontalSpacing: core.String, + [S$0.$borderHorizontalSpacing]: core.String, + borderImage: core.String, + [S$0.$borderImage]: core.String, + borderImageOutset: core.String, + [S$0.$borderImageOutset]: core.String, + borderImageRepeat: core.String, + [S$0.$borderImageRepeat]: core.String, + borderImageSlice: core.String, + [S$0.$borderImageSlice]: core.String, + borderImageSource: core.String, + [S$0.$borderImageSource]: core.String, + borderImageWidth: core.String, + [S$0.$borderImageWidth]: core.String, + borderLeft: core.String, + [S$.$borderLeft]: core.String, + borderLeftColor: core.String, + [S$.$borderLeftColor]: core.String, + borderLeftStyle: core.String, + [S$.$borderLeftStyle]: core.String, + borderLeftWidth: core.String, + [S$.$borderLeftWidth]: core.String, + borderRadius: core.String, + [S$0.$borderRadius]: core.String, + borderRight: core.String, + [S$.$borderRight]: core.String, + borderRightColor: core.String, + [S$.$borderRightColor]: core.String, + borderRightStyle: core.String, + [S$.$borderRightStyle]: core.String, + borderRightWidth: core.String, + [S$0.$borderRightWidth]: core.String, + borderSpacing: core.String, + [S$0.$borderSpacing]: core.String, + borderStart: core.String, + [S$0.$borderStart]: core.String, + borderStartColor: core.String, + [S$0.$borderStartColor]: core.String, + borderStartStyle: core.String, + [S$0.$borderStartStyle]: core.String, + borderStartWidth: core.String, + [S$0.$borderStartWidth]: core.String, + borderStyle: core.String, + [S$0.$borderStyle]: core.String, + borderTop: core.String, + [S$0.$borderTop]: core.String, + borderTopColor: core.String, + [S$0.$borderTopColor]: core.String, + borderTopLeftRadius: core.String, + [S$0.$borderTopLeftRadius]: core.String, + borderTopRightRadius: core.String, + [S$0.$borderTopRightRadius]: core.String, + borderTopStyle: core.String, + [S$0.$borderTopStyle]: core.String, + borderTopWidth: core.String, + [S$0.$borderTopWidth]: core.String, + borderVerticalSpacing: core.String, + [S$0.$borderVerticalSpacing]: core.String, + borderWidth: core.String, + [S$0.$borderWidth]: core.String, + bottom: core.String, + [$bottom]: core.String, + boxAlign: core.String, + [S$0.$boxAlign]: core.String, + boxDecorationBreak: core.String, + [S$0.$boxDecorationBreak]: core.String, + boxDirection: core.String, + [S$0.$boxDirection]: core.String, + boxFlex: core.String, + [S$0.$boxFlex]: core.String, + boxFlexGroup: core.String, + [S$0.$boxFlexGroup]: core.String, + boxLines: core.String, + [S$0.$boxLines]: core.String, + boxOrdinalGroup: core.String, + [S$0.$boxOrdinalGroup]: core.String, + boxOrient: core.String, + [S$0.$boxOrient]: core.String, + boxPack: core.String, + [S$0.$boxPack]: core.String, + boxReflect: core.String, + [S$0.$boxReflect]: core.String, + boxShadow: core.String, + [S$0.$boxShadow]: core.String, + boxSizing: core.String, + [S$0.$boxSizing]: core.String, + captionSide: core.String, + [S$0.$captionSide]: core.String, + clear: core.String, + [$clear]: core.String, + clip: core.String, + [S$.$clip]: core.String, + clipPath: core.String, + [S$0.$clipPath]: core.String, + color: core.String, + [S$0.$color]: core.String, + columnBreakAfter: core.String, + [S$0.$columnBreakAfter]: core.String, + columnBreakBefore: core.String, + [S$0.$columnBreakBefore]: core.String, + columnBreakInside: core.String, + [S$0.$columnBreakInside]: core.String, + columnCount: core.String, + [S$0.$columnCount]: core.String, + columnFill: core.String, + [S$0.$columnFill]: core.String, + columnGap: core.String, + [S$0.$columnGap]: core.String, + columnRule: core.String, + [S$0.$columnRule]: core.String, + columnRuleColor: core.String, + [S$0.$columnRuleColor]: core.String, + columnRuleStyle: core.String, + [S$0.$columnRuleStyle]: core.String, + columnRuleWidth: core.String, + [S$0.$columnRuleWidth]: core.String, + columnSpan: core.String, + [S$0.$columnSpan]: core.String, + columnWidth: core.String, + [S$0.$columnWidth]: core.String, + columns: core.String, + [S$0.$columns]: core.String, + content: core.String, + [S$0.$content]: core.String, + counterIncrement: core.String, + [S$0.$counterIncrement]: core.String, + counterReset: core.String, + [S$0.$counterReset]: core.String, + cursor: core.String, + [S$0.$cursor]: core.String, + direction: core.String, + [S.$direction]: core.String, + display: core.String, + [S$0.$display]: core.String, + emptyCells: core.String, + [S$0.$emptyCells]: core.String, + filter: core.String, + [S$.$filter]: core.String, + flex: core.String, + [S$0.$flex]: core.String, + flexBasis: core.String, + [S$0.$flexBasis]: core.String, + flexDirection: core.String, + [S$0.$flexDirection]: core.String, + flexFlow: core.String, + [S$0.$flexFlow]: core.String, + flexGrow: core.String, + [S$0.$flexGrow]: core.String, + flexShrink: core.String, + [S$0.$flexShrink]: core.String, + flexWrap: core.String, + [S$0.$flexWrap]: core.String, + float: core.String, + [S$0.$float]: core.String, + font: core.String, + [S$.$font]: core.String, + fontFamily: core.String, + [S$0.$fontFamily]: core.String, + fontFeatureSettings: core.String, + [S$0.$fontFeatureSettings]: core.String, + fontKerning: core.String, + [S$0.$fontKerning]: core.String, + fontSize: core.String, + [S$0.$fontSize]: core.String, + fontSizeDelta: core.String, + [S$0.$fontSizeDelta]: core.String, + fontSmoothing: core.String, + [S$0.$fontSmoothing]: core.String, + fontStretch: core.String, + [S$0.$fontStretch]: core.String, + fontStyle: core.String, + [S$0.$fontStyle]: core.String, + fontVariant: core.String, + [S$0.$fontVariant]: core.String, + fontVariantLigatures: core.String, + [S$0.$fontVariantLigatures]: core.String, + fontWeight: core.String, + [S$0.$fontWeight]: core.String, + grid: core.String, + [S$0.$grid]: core.String, + gridArea: core.String, + [S$0.$gridArea]: core.String, + gridAutoColumns: core.String, + [S$0.$gridAutoColumns]: core.String, + gridAutoFlow: core.String, + [S$0.$gridAutoFlow]: core.String, + gridAutoRows: core.String, + [S$0.$gridAutoRows]: core.String, + gridColumn: core.String, + [S$0.$gridColumn]: core.String, + gridColumnEnd: core.String, + [S$0.$gridColumnEnd]: core.String, + gridColumnStart: core.String, + [S$0.$gridColumnStart]: core.String, + gridRow: core.String, + [S$0.$gridRow]: core.String, + gridRowEnd: core.String, + [S$0.$gridRowEnd]: core.String, + gridRowStart: core.String, + [S$0.$gridRowStart]: core.String, + gridTemplate: core.String, + [S$0.$gridTemplate]: core.String, + gridTemplateAreas: core.String, + [S$0.$gridTemplateAreas]: core.String, + gridTemplateColumns: core.String, + [S$0.$gridTemplateColumns]: core.String, + gridTemplateRows: core.String, + [S$0.$gridTemplateRows]: core.String, + height: core.String, + [$height]: core.String, + highlight: core.String, + [S$0.$highlight]: core.String, + hyphenateCharacter: core.String, + [S$0.$hyphenateCharacter]: core.String, + imageRendering: core.String, + [S$0.$imageRendering]: core.String, + isolation: core.String, + [S$0.$isolation]: core.String, + justifyContent: core.String, + [S$0.$justifyContent]: core.String, + justifySelf: core.String, + [S$0.$justifySelf]: core.String, + left: core.String, + [$left]: core.String, + letterSpacing: core.String, + [S$0.$letterSpacing]: core.String, + lineBoxContain: core.String, + [S$0.$lineBoxContain]: core.String, + lineBreak: core.String, + [S$0.$lineBreak]: core.String, + lineClamp: core.String, + [S$0.$lineClamp]: core.String, + lineHeight: core.String, + [S$0.$lineHeight]: core.String, + listStyle: core.String, + [S$0.$listStyle]: core.String, + listStyleImage: core.String, + [S$0.$listStyleImage]: core.String, + listStylePosition: core.String, + [S$0.$listStylePosition]: core.String, + listStyleType: core.String, + [S$0.$listStyleType]: core.String, + locale: core.String, + [S$0.$locale]: core.String, + logicalHeight: core.String, + [S$0.$logicalHeight]: core.String, + logicalWidth: core.String, + [S$0.$logicalWidth]: core.String, + margin: core.String, + [S$0.$margin]: core.String, + marginAfter: core.String, + [S$0.$marginAfter]: core.String, + marginAfterCollapse: core.String, + [S$0.$marginAfterCollapse]: core.String, + marginBefore: core.String, + [S$0.$marginBefore]: core.String, + marginBeforeCollapse: core.String, + [S$0.$marginBeforeCollapse]: core.String, + marginBottom: core.String, + [S$0.$marginBottom]: core.String, + marginBottomCollapse: core.String, + [S$0.$marginBottomCollapse]: core.String, + marginCollapse: core.String, + [S$0.$marginCollapse]: core.String, + marginEnd: core.String, + [S$0.$marginEnd]: core.String, + marginLeft: core.String, + [S$0.$marginLeft]: core.String, + marginRight: core.String, + [S$0.$marginRight]: core.String, + marginStart: core.String, + [S$0.$marginStart]: core.String, + marginTop: core.String, + [S$0.$marginTop]: core.String, + marginTopCollapse: core.String, + [S$0.$marginTopCollapse]: core.String, + mask: core.String, + [S$0.$mask]: core.String, + maskBoxImage: core.String, + [S$0.$maskBoxImage]: core.String, + maskBoxImageOutset: core.String, + [S$0.$maskBoxImageOutset]: core.String, + maskBoxImageRepeat: core.String, + [S$0.$maskBoxImageRepeat]: core.String, + maskBoxImageSlice: core.String, + [S$0.$maskBoxImageSlice]: core.String, + maskBoxImageSource: core.String, + [S$0.$maskBoxImageSource]: core.String, + maskBoxImageWidth: core.String, + [S$0.$maskBoxImageWidth]: core.String, + maskClip: core.String, + [S$0.$maskClip]: core.String, + maskComposite: core.String, + [S$0.$maskComposite]: core.String, + maskImage: core.String, + [S$0.$maskImage]: core.String, + maskOrigin: core.String, + [S$0.$maskOrigin]: core.String, + maskPosition: core.String, + [S$0.$maskPosition]: core.String, + maskPositionX: core.String, + [S$0.$maskPositionX]: core.String, + maskPositionY: core.String, + [S$0.$maskPositionY]: core.String, + maskRepeat: core.String, + [S$0.$maskRepeat]: core.String, + maskRepeatX: core.String, + [S$0.$maskRepeatX]: core.String, + maskRepeatY: core.String, + [S$0.$maskRepeatY]: core.String, + maskSize: core.String, + [S$0.$maskSize]: core.String, + maskSourceType: core.String, + [S$0.$maskSourceType]: core.String, + maxHeight: core.String, + [S$0.$maxHeight]: core.String, + maxLogicalHeight: core.String, + [S$0.$maxLogicalHeight]: core.String, + maxLogicalWidth: core.String, + [S$0.$maxLogicalWidth]: core.String, + maxWidth: core.String, + [S$0.$maxWidth]: core.String, + maxZoom: core.String, + [S$0.$maxZoom]: core.String, + minHeight: core.String, + [S$0.$minHeight]: core.String, + minLogicalHeight: core.String, + [S$0.$minLogicalHeight]: core.String, + minLogicalWidth: core.String, + [S$0.$minLogicalWidth]: core.String, + minWidth: core.String, + [S$0.$minWidth]: core.String, + minZoom: core.String, + [S$0.$minZoom]: core.String, + mixBlendMode: core.String, + [S$0.$mixBlendMode]: core.String, + objectFit: core.String, + [S$0.$objectFit]: core.String, + objectPosition: core.String, + [S$0.$objectPosition]: core.String, + opacity: core.String, + [S$0.$opacity]: core.String, + order: core.String, + [S$0.$order]: core.String, + orientation: core.String, + [S$.$orientation]: core.String, + orphans: core.String, + [S$0.$orphans]: core.String, + outline: core.String, + [S$0.$outline]: core.String, + outlineColor: core.String, + [S$0.$outlineColor]: core.String, + outlineOffset: core.String, + [S$0.$outlineOffset]: core.String, + outlineStyle: core.String, + [S$0.$outlineStyle]: core.String, + outlineWidth: core.String, + [S$0.$outlineWidth]: core.String, + overflow: core.String, + [S$0.$overflow]: core.String, + overflowWrap: core.String, + [S$0.$overflowWrap]: core.String, + overflowX: core.String, + [S$0.$overflowX]: core.String, + overflowY: core.String, + [S$0.$overflowY]: core.String, + padding: core.String, + [S$0.$padding]: core.String, + paddingAfter: core.String, + [S$0.$paddingAfter]: core.String, + paddingBefore: core.String, + [S$0.$paddingBefore]: core.String, + paddingBottom: core.String, + [S$0.$paddingBottom]: core.String, + paddingEnd: core.String, + [S$0.$paddingEnd]: core.String, + paddingLeft: core.String, + [S$0.$paddingLeft]: core.String, + paddingRight: core.String, + [S$0.$paddingRight]: core.String, + paddingStart: core.String, + [S$0.$paddingStart]: core.String, + paddingTop: core.String, + [S$0.$paddingTop]: core.String, + page: core.String, + [S$0.$page]: core.String, + pageBreakAfter: core.String, + [S$0.$pageBreakAfter]: core.String, + pageBreakBefore: core.String, + [S$0.$pageBreakBefore]: core.String, + pageBreakInside: core.String, + [S$0.$pageBreakInside]: core.String, + perspective: core.String, + [S$0.$perspective]: core.String, + perspectiveOrigin: core.String, + [S$0.$perspectiveOrigin]: core.String, + perspectiveOriginX: core.String, + [S$0.$perspectiveOriginX]: core.String, + perspectiveOriginY: core.String, + [S$0.$perspectiveOriginY]: core.String, + pointerEvents: core.String, + [S$0.$pointerEvents]: core.String, + position: core.String, + [S$0.$position]: core.String, + printColorAdjust: core.String, + [S$0.$printColorAdjust]: core.String, + quotes: core.String, + [S$0.$quotes]: core.String, + resize: core.String, + [S$0.$resize]: core.String, + right: core.String, + [$right]: core.String, + rtlOrdering: core.String, + [S$0.$rtlOrdering]: core.String, + rubyPosition: core.String, + [S$0.$rubyPosition]: core.String, + scrollBehavior: core.String, + [S$0.$scrollBehavior]: core.String, + shapeImageThreshold: core.String, + [S$0.$shapeImageThreshold]: core.String, + shapeMargin: core.String, + [S$0.$shapeMargin]: core.String, + shapeOutside: core.String, + [S$0.$shapeOutside]: core.String, + size: core.String, + [S$.$size]: core.String, + speak: core.String, + [S$0.$speak]: core.String, + src: core.String, + [S$.$src]: core.String, + tabSize: core.String, + [S$0.$tabSize]: core.String, + tableLayout: core.String, + [S$0.$tableLayout]: core.String, + tapHighlightColor: core.String, + [S$0.$tapHighlightColor]: core.String, + textAlign: core.String, + [S$.$textAlign]: core.String, + textAlignLast: core.String, + [S$0.$textAlignLast]: core.String, + textCombine: core.String, + [S$0.$textCombine]: core.String, + textDecoration: core.String, + [S$0.$textDecoration]: core.String, + textDecorationColor: core.String, + [S$0.$textDecorationColor]: core.String, + textDecorationLine: core.String, + [S$0.$textDecorationLine]: core.String, + textDecorationStyle: core.String, + [S$0.$textDecorationStyle]: core.String, + textDecorationsInEffect: core.String, + [S$0.$textDecorationsInEffect]: core.String, + textEmphasis: core.String, + [S$0.$textEmphasis]: core.String, + textEmphasisColor: core.String, + [S$0.$textEmphasisColor]: core.String, + textEmphasisPosition: core.String, + [S$0.$textEmphasisPosition]: core.String, + textEmphasisStyle: core.String, + [S$0.$textEmphasisStyle]: core.String, + textFillColor: core.String, + [S$0.$textFillColor]: core.String, + textIndent: core.String, + [S$0.$textIndent]: core.String, + textJustify: core.String, + [S$0.$textJustify]: core.String, + textLineThroughColor: core.String, + [S$0.$textLineThroughColor]: core.String, + textLineThroughMode: core.String, + [S$0.$textLineThroughMode]: core.String, + textLineThroughStyle: core.String, + [S$0.$textLineThroughStyle]: core.String, + textLineThroughWidth: core.String, + [S$0.$textLineThroughWidth]: core.String, + textOrientation: core.String, + [S$0.$textOrientation]: core.String, + textOverflow: core.String, + [S$0.$textOverflow]: core.String, + textOverlineColor: core.String, + [S$0.$textOverlineColor]: core.String, + textOverlineMode: core.String, + [S$0.$textOverlineMode]: core.String, + textOverlineStyle: core.String, + [S$0.$textOverlineStyle]: core.String, + textOverlineWidth: core.String, + [S$0.$textOverlineWidth]: core.String, + textRendering: core.String, + [S$0.$textRendering]: core.String, + textSecurity: core.String, + [S$0.$textSecurity]: core.String, + textShadow: core.String, + [S$0.$textShadow]: core.String, + textStroke: core.String, + [S$0.$textStroke]: core.String, + textStrokeColor: core.String, + [S$0.$textStrokeColor]: core.String, + textStrokeWidth: core.String, + [S$0.$textStrokeWidth]: core.String, + textTransform: core.String, + [S$0.$textTransform]: core.String, + textUnderlineColor: core.String, + [S$0.$textUnderlineColor]: core.String, + textUnderlineMode: core.String, + [S$0.$textUnderlineMode]: core.String, + textUnderlinePosition: core.String, + [S$0.$textUnderlinePosition]: core.String, + textUnderlineStyle: core.String, + [S$0.$textUnderlineStyle]: core.String, + textUnderlineWidth: core.String, + [S$0.$textUnderlineWidth]: core.String, + top: core.String, + [$top]: core.String, + touchAction: core.String, + [S$0.$touchAction]: core.String, + touchActionDelay: core.String, + [S$0.$touchActionDelay]: core.String, + transform: core.String, + [S$.$transform]: core.String, + transformOrigin: core.String, + [S$0.$transformOrigin]: core.String, + transformOriginX: core.String, + [S$0.$transformOriginX]: core.String, + transformOriginY: core.String, + [S$0.$transformOriginY]: core.String, + transformOriginZ: core.String, + [S$0.$transformOriginZ]: core.String, + transformStyle: core.String, + [S$0.$transformStyle]: core.String, + transition: core.String, + [S$0.$transition]: core.String, + transitionDelay: core.String, + [S$0.$transitionDelay]: core.String, + transitionDuration: core.String, + [S$0.$transitionDuration]: core.String, + transitionProperty: core.String, + [S$0.$transitionProperty]: core.String, + transitionTimingFunction: core.String, + [S$0.$transitionTimingFunction]: core.String, + unicodeBidi: core.String, + [S$0.$unicodeBidi]: core.String, + unicodeRange: core.String, + [S$0.$unicodeRange]: core.String, + userDrag: core.String, + [S$0.$userDrag]: core.String, + userModify: core.String, + [S$0.$userModify]: core.String, + userSelect: core.String, + [S$0.$userSelect]: core.String, + userZoom: core.String, + [S$0.$userZoom]: core.String, + verticalAlign: core.String, + [S$0.$verticalAlign]: core.String, + visibility: core.String, + [S$0.$visibility]: core.String, + whiteSpace: core.String, + [S$0.$whiteSpace]: core.String, + widows: core.String, + [S$0.$widows]: core.String, + width: core.String, + [$width]: core.String, + willChange: core.String, + [S$0.$willChange]: core.String, + wordBreak: core.String, + [S$0.$wordBreak]: core.String, + wordSpacing: core.String, + [S$0.$wordSpacing]: core.String, + wordWrap: core.String, + [S$0.$wordWrap]: core.String, + wrapFlow: core.String, + [S$0.$wrapFlow]: core.String, + wrapThrough: core.String, + [S$0.$wrapThrough]: core.String, + writingMode: core.String, + [S$0.$writingMode]: core.String, + zIndex: core.String, + [S$0.$zIndex]: core.String, + zoom: core.String, + [S$0.$zoom]: core.String + })); + dart.setLibraryUri(html$.CssStyleDeclarationBase, I[148]); + dart.defineExtensionAccessors(html$.CssStyleDeclarationBase, [ + 'alignContent', + 'alignItems', + 'alignSelf', + 'animation', + 'animationDelay', + 'animationDirection', + 'animationDuration', + 'animationFillMode', + 'animationIterationCount', + 'animationName', + 'animationPlayState', + 'animationTimingFunction', + 'appRegion', + 'appearance', + 'aspectRatio', + 'backfaceVisibility', + 'background', + 'backgroundAttachment', + 'backgroundBlendMode', + 'backgroundClip', + 'backgroundColor', + 'backgroundComposite', + 'backgroundImage', + 'backgroundOrigin', + 'backgroundPosition', + 'backgroundPositionX', + 'backgroundPositionY', + 'backgroundRepeat', + 'backgroundRepeatX', + 'backgroundRepeatY', + 'backgroundSize', + 'border', + 'borderAfter', + 'borderAfterColor', + 'borderAfterStyle', + 'borderAfterWidth', + 'borderBefore', + 'borderBeforeColor', + 'borderBeforeStyle', + 'borderBeforeWidth', + 'borderBottom', + 'borderBottomColor', + 'borderBottomLeftRadius', + 'borderBottomRightRadius', + 'borderBottomStyle', + 'borderBottomWidth', + 'borderCollapse', + 'borderColor', + 'borderEnd', + 'borderEndColor', + 'borderEndStyle', + 'borderEndWidth', + 'borderFit', + 'borderHorizontalSpacing', + 'borderImage', + 'borderImageOutset', + 'borderImageRepeat', + 'borderImageSlice', + 'borderImageSource', + 'borderImageWidth', + 'borderLeft', + 'borderLeftColor', + 'borderLeftStyle', + 'borderLeftWidth', + 'borderRadius', + 'borderRight', + 'borderRightColor', + 'borderRightStyle', + 'borderRightWidth', + 'borderSpacing', + 'borderStart', + 'borderStartColor', + 'borderStartStyle', + 'borderStartWidth', + 'borderStyle', + 'borderTop', + 'borderTopColor', + 'borderTopLeftRadius', + 'borderTopRightRadius', + 'borderTopStyle', + 'borderTopWidth', + 'borderVerticalSpacing', + 'borderWidth', + 'bottom', + 'boxAlign', + 'boxDecorationBreak', + 'boxDirection', + 'boxFlex', + 'boxFlexGroup', + 'boxLines', + 'boxOrdinalGroup', + 'boxOrient', + 'boxPack', + 'boxReflect', + 'boxShadow', + 'boxSizing', + 'captionSide', + 'clear', + 'clip', + 'clipPath', + 'color', + 'columnBreakAfter', + 'columnBreakBefore', + 'columnBreakInside', + 'columnCount', + 'columnFill', + 'columnGap', + 'columnRule', + 'columnRuleColor', + 'columnRuleStyle', + 'columnRuleWidth', + 'columnSpan', + 'columnWidth', + 'columns', + 'content', + 'counterIncrement', + 'counterReset', + 'cursor', + 'direction', + 'display', + 'emptyCells', + 'filter', + 'flex', + 'flexBasis', + 'flexDirection', + 'flexFlow', + 'flexGrow', + 'flexShrink', + 'flexWrap', + 'float', + 'font', + 'fontFamily', + 'fontFeatureSettings', + 'fontKerning', + 'fontSize', + 'fontSizeDelta', + 'fontSmoothing', + 'fontStretch', + 'fontStyle', + 'fontVariant', + 'fontVariantLigatures', + 'fontWeight', + 'grid', + 'gridArea', + 'gridAutoColumns', + 'gridAutoFlow', + 'gridAutoRows', + 'gridColumn', + 'gridColumnEnd', + 'gridColumnStart', + 'gridRow', + 'gridRowEnd', + 'gridRowStart', + 'gridTemplate', + 'gridTemplateAreas', + 'gridTemplateColumns', + 'gridTemplateRows', + 'height', + 'highlight', + 'hyphenateCharacter', + 'imageRendering', + 'isolation', + 'justifyContent', + 'justifySelf', + 'left', + 'letterSpacing', + 'lineBoxContain', + 'lineBreak', + 'lineClamp', + 'lineHeight', + 'listStyle', + 'listStyleImage', + 'listStylePosition', + 'listStyleType', + 'locale', + 'logicalHeight', + 'logicalWidth', + 'margin', + 'marginAfter', + 'marginAfterCollapse', + 'marginBefore', + 'marginBeforeCollapse', + 'marginBottom', + 'marginBottomCollapse', + 'marginCollapse', + 'marginEnd', + 'marginLeft', + 'marginRight', + 'marginStart', + 'marginTop', + 'marginTopCollapse', + 'mask', + 'maskBoxImage', + 'maskBoxImageOutset', + 'maskBoxImageRepeat', + 'maskBoxImageSlice', + 'maskBoxImageSource', + 'maskBoxImageWidth', + 'maskClip', + 'maskComposite', + 'maskImage', + 'maskOrigin', + 'maskPosition', + 'maskPositionX', + 'maskPositionY', + 'maskRepeat', + 'maskRepeatX', + 'maskRepeatY', + 'maskSize', + 'maskSourceType', + 'maxHeight', + 'maxLogicalHeight', + 'maxLogicalWidth', + 'maxWidth', + 'maxZoom', + 'minHeight', + 'minLogicalHeight', + 'minLogicalWidth', + 'minWidth', + 'minZoom', + 'mixBlendMode', + 'objectFit', + 'objectPosition', + 'opacity', + 'order', + 'orientation', + 'orphans', + 'outline', + 'outlineColor', + 'outlineOffset', + 'outlineStyle', + 'outlineWidth', + 'overflow', + 'overflowWrap', + 'overflowX', + 'overflowY', + 'padding', + 'paddingAfter', + 'paddingBefore', + 'paddingBottom', + 'paddingEnd', + 'paddingLeft', + 'paddingRight', + 'paddingStart', + 'paddingTop', + 'page', + 'pageBreakAfter', + 'pageBreakBefore', + 'pageBreakInside', + 'perspective', + 'perspectiveOrigin', + 'perspectiveOriginX', + 'perspectiveOriginY', + 'pointerEvents', + 'position', + 'printColorAdjust', + 'quotes', + 'resize', + 'right', + 'rtlOrdering', + 'rubyPosition', + 'scrollBehavior', + 'shapeImageThreshold', + 'shapeMargin', + 'shapeOutside', + 'size', + 'speak', + 'src', + 'tabSize', + 'tableLayout', + 'tapHighlightColor', + 'textAlign', + 'textAlignLast', + 'textCombine', + 'textDecoration', + 'textDecorationColor', + 'textDecorationLine', + 'textDecorationStyle', + 'textDecorationsInEffect', + 'textEmphasis', + 'textEmphasisColor', + 'textEmphasisPosition', + 'textEmphasisStyle', + 'textFillColor', + 'textIndent', + 'textJustify', + 'textLineThroughColor', + 'textLineThroughMode', + 'textLineThroughStyle', + 'textLineThroughWidth', + 'textOrientation', + 'textOverflow', + 'textOverlineColor', + 'textOverlineMode', + 'textOverlineStyle', + 'textOverlineWidth', + 'textRendering', + 'textSecurity', + 'textShadow', + 'textStroke', + 'textStrokeColor', + 'textStrokeWidth', + 'textTransform', + 'textUnderlineColor', + 'textUnderlineMode', + 'textUnderlinePosition', + 'textUnderlineStyle', + 'textUnderlineWidth', + 'top', + 'touchAction', + 'touchActionDelay', + 'transform', + 'transformOrigin', + 'transformOriginX', + 'transformOriginY', + 'transformOriginZ', + 'transformStyle', + 'transition', + 'transitionDelay', + 'transitionDuration', + 'transitionProperty', + 'transitionTimingFunction', + 'unicodeBidi', + 'unicodeRange', + 'userDrag', + 'userModify', + 'userSelect', + 'userZoom', + 'verticalAlign', + 'visibility', + 'whiteSpace', + 'widows', + 'width', + 'willChange', + 'wordBreak', + 'wordSpacing', + 'wordWrap', + 'wrapFlow', + 'wrapThrough', + 'writingMode', + 'zIndex', + 'zoom' + ]); + const Interceptor_CssStyleDeclarationBase$36 = class Interceptor_CssStyleDeclarationBase extends _interceptors.Interceptor {}; + (Interceptor_CssStyleDeclarationBase$36.new = function() { + Interceptor_CssStyleDeclarationBase$36.__proto__.new.call(this); + }).prototype = Interceptor_CssStyleDeclarationBase$36.prototype; + dart.applyMixin(Interceptor_CssStyleDeclarationBase$36, html$.CssStyleDeclarationBase); + html$.CssStyleDeclaration = class CssStyleDeclaration extends Interceptor_CssStyleDeclarationBase$36 { + static new() { + return html$.CssStyleDeclaration.css(""); + } + static css(css) { + if (css == null) dart.nullFailed(I[147], 3963, 42, "css"); + let style = html$.DivElement.new().style; + style.cssText = css; + return style; + } + [S$.$getPropertyValue](propertyName) { + if (propertyName == null) dart.nullFailed(I[147], 3974, 34, "propertyName"); + return this[S$._getPropertyValueHelper](propertyName); + } + [S$._getPropertyValueHelper](propertyName) { + if (propertyName == null) dart.nullFailed(I[147], 3978, 41, "propertyName"); + return this[S$._getPropertyValue](this[S$._browserPropertyName](propertyName)); + } + [S$.$supportsProperty](propertyName) { + if (propertyName == null) dart.nullFailed(I[147], 3990, 32, "propertyName"); + return dart.test(this[S$._supportsProperty](propertyName)) || dart.test(this[S$._supportsProperty](html$.CssStyleDeclaration._camelCase(dart.str(html_common.Device.cssPrefix) + dart.str(propertyName)))); + } + [S$._supportsProperty](propertyName) { + if (propertyName == null) dart.nullFailed(I[147], 3995, 33, "propertyName"); + return propertyName in this; + } + [S$.$setProperty](propertyName, value, priority = null) { + if (propertyName == null) dart.nullFailed(I[147], 3999, 27, "propertyName"); + return this[S$._setPropertyHelper](this[S$._browserPropertyName](propertyName), value, priority); + } + [S$._browserPropertyName](propertyName) { + if (propertyName == null) dart.nullFailed(I[147], 4004, 38, "propertyName"); + let name = html$.CssStyleDeclaration._readCache(propertyName); + if (typeof name == 'string') return name; + name = this[S$._supportedBrowserPropertyName](propertyName); + html$.CssStyleDeclaration._writeCache(propertyName, name); + return name; + } + [S$._supportedBrowserPropertyName](propertyName) { + if (propertyName == null) dart.nullFailed(I[147], 4012, 47, "propertyName"); + if (dart.test(this[S$._supportsProperty](html$.CssStyleDeclaration._camelCase(propertyName)))) { + return propertyName; + } + let prefixed = dart.str(html_common.Device.cssPrefix) + dart.str(propertyName); + if (dart.test(this[S$._supportsProperty](prefixed))) { + return prefixed; + } + return propertyName; + } + static _readCache(key) { + if (key == null) dart.nullFailed(I[147], 4025, 36, "key"); + return html$.CssStyleDeclaration._propertyCache[key]; + } + static _writeCache(key, value) { + if (key == null) dart.nullFailed(I[147], 4027, 34, "key"); + if (value == null) dart.nullFailed(I[147], 4027, 46, "value"); + html$.CssStyleDeclaration._propertyCache[key] = value; + } + static _camelCase(hyphenated) { + if (hyphenated == null) dart.nullFailed(I[147], 4031, 35, "hyphenated"); + let replacedMs = hyphenated.replace(/^-ms-/, "ms-"); + return replacedMs.replace(/-([\da-z])/ig, function(_, letter) { + return letter.toUpperCase(); + }); + } + [S$._setPropertyHelper](propertyName, value, priority = null) { + if (propertyName == null) dart.nullFailed(I[147], 4040, 34, "propertyName"); + if (value == null) value = ""; + if (priority == null) priority = ""; + this.setProperty(propertyName, value, priority); + } + static get supportsTransitions() { + return dart.nullCheck(html$.document.body).style[S$.$supportsProperty]("transition"); + } + get [S$.$cssFloat]() { + return this.cssFloat; + } + set [S$.$cssFloat](value) { + this.cssFloat = value; + } + get [S$.$cssText]() { + return this.cssText; + } + set [S$.$cssText](value) { + this.cssText = value; + } + get [$length]() { + return this.length; + } + get [S$.$parentRule]() { + return this.parentRule; + } + [S$.$getPropertyPriority](...args) { + return this.getPropertyPriority.apply(this, args); + } + [S$._getPropertyValue](...args) { + return this.getPropertyValue.apply(this, args); + } + [S$.$item](...args) { + return this.item.apply(this, args); + } + [S$.$removeProperty](...args) { + return this.removeProperty.apply(this, args); + } + get [S$.$background]() { + return this[S$._background]; + } + set [S$.$background](value) { + this[S$._background] = value == null ? "" : value; + } + get [S$._background]() { + return this.background; + } + set [S$._background](value) { + this.background = value; + } + get [S$.$backgroundAttachment]() { + return this[S$._backgroundAttachment]; + } + set [S$.$backgroundAttachment](value) { + this[S$._backgroundAttachment] = value == null ? "" : value; + } + get [S$._backgroundAttachment]() { + return this.backgroundAttachment; + } + set [S$._backgroundAttachment](value) { + this.backgroundAttachment = value; + } + get [S$.$backgroundColor]() { + return this[S$._backgroundColor]; + } + set [S$.$backgroundColor](value) { + this[S$._backgroundColor] = value == null ? "" : value; + } + get [S$._backgroundColor]() { + return this.backgroundColor; + } + set [S$._backgroundColor](value) { + this.backgroundColor = value; + } + get [S$.$backgroundImage]() { + return this[S$._backgroundImage]; + } + set [S$.$backgroundImage](value) { + this[S$._backgroundImage] = value == null ? "" : value; + } + get [S$._backgroundImage]() { + return this.backgroundImage; + } + set [S$._backgroundImage](value) { + this.backgroundImage = value; + } + get [S$.$backgroundPosition]() { + return this[S$._backgroundPosition]; + } + set [S$.$backgroundPosition](value) { + this[S$._backgroundPosition] = value == null ? "" : value; + } + get [S$._backgroundPosition]() { + return this.backgroundPosition; + } + set [S$._backgroundPosition](value) { + this.backgroundPosition = value; + } + get [S$.$backgroundRepeat]() { + return this[S$._backgroundRepeat]; + } + set [S$.$backgroundRepeat](value) { + this[S$._backgroundRepeat] = value == null ? "" : value; + } + get [S$._backgroundRepeat]() { + return this.backgroundRepeat; + } + set [S$._backgroundRepeat](value) { + this.backgroundRepeat = value; + } + get [S$.$border]() { + return this[S$._border]; + } + set [S$.$border](value) { + this[S$._border] = value == null ? "" : value; + } + get [S$._border]() { + return this.border; + } + set [S$._border](value) { + this.border = value; + } + get [S$.$borderBottom]() { + return this[S$._borderBottom]; + } + set [S$.$borderBottom](value) { + this[S$._borderBottom] = value == null ? "" : value; + } + get [S$._borderBottom]() { + return this.borderBottom; + } + set [S$._borderBottom](value) { + this.borderBottom = value; + } + get [S$.$borderBottomColor]() { + return this[S$._borderBottomColor]; + } + set [S$.$borderBottomColor](value) { + this[S$._borderBottomColor] = value == null ? "" : value; + } + get [S$._borderBottomColor]() { + return this.borderBottomColor; + } + set [S$._borderBottomColor](value) { + this.borderBottomColor = value; + } + get [S$.$borderBottomStyle]() { + return this[S$._borderBottomStyle]; + } + set [S$.$borderBottomStyle](value) { + this[S$._borderBottomStyle] = value == null ? "" : value; + } + get [S$._borderBottomStyle]() { + return this.borderBottomStyle; + } + set [S$._borderBottomStyle](value) { + this.borderBottomStyle = value; + } + get [S$.$borderBottomWidth]() { + return this[S$._borderBottomWidth]; + } + set [S$.$borderBottomWidth](value) { + this[S$._borderBottomWidth] = value == null ? "" : value; + } + get [S$._borderBottomWidth]() { + return this.borderBottomWidth; + } + set [S$._borderBottomWidth](value) { + this.borderBottomWidth = value; + } + get [S$.$borderCollapse]() { + return this[S$._borderCollapse]; + } + set [S$.$borderCollapse](value) { + this[S$._borderCollapse] = value == null ? "" : value; + } + get [S$._borderCollapse]() { + return this.borderCollapse; + } + set [S$._borderCollapse](value) { + this.borderCollapse = value; + } + get [S$.$borderColor]() { + return this[S$._borderColor]; + } + set [S$.$borderColor](value) { + this[S$._borderColor] = value == null ? "" : value; + } + get [S$._borderColor]() { + return this.borderColor; + } + set [S$._borderColor](value) { + this.borderColor = value; + } + get [S$.$borderLeft]() { + return this[S$._borderLeft]; + } + set [S$.$borderLeft](value) { + this[S$._borderLeft] = value == null ? "" : value; + } + get [S$._borderLeft]() { + return this.borderLeft; + } + set [S$._borderLeft](value) { + this.borderLeft = value; + } + get [S$.$borderLeftColor]() { + return this[S$._borderLeftColor]; + } + set [S$.$borderLeftColor](value) { + this[S$._borderLeftColor] = value == null ? "" : value; + } + get [S$._borderLeftColor]() { + return this.borderLeftColor; + } + set [S$._borderLeftColor](value) { + this.borderLeftColor = value; + } + get [S$.$borderLeftStyle]() { + return this[S$._borderLeftStyle]; + } + set [S$.$borderLeftStyle](value) { + this[S$._borderLeftStyle] = value == null ? "" : value; + } + get [S$._borderLeftStyle]() { + return this.borderLeftStyle; + } + set [S$._borderLeftStyle](value) { + this.borderLeftStyle = value; + } + get [S$.$borderLeftWidth]() { + return this[S$._borderLeftWidth]; + } + set [S$.$borderLeftWidth](value) { + this[S$._borderLeftWidth] = value == null ? "" : value; + } + get [S$._borderLeftWidth]() { + return this.borderLeftWidth; + } + set [S$._borderLeftWidth](value) { + this.borderLeftWidth = value; + } + get [S$.$borderRight]() { + return this[S$._borderRight]; + } + set [S$.$borderRight](value) { + this[S$._borderRight] = value == null ? "" : value; + } + get [S$._borderRight]() { + return this.borderRight; + } + set [S$._borderRight](value) { + this.borderRight = value; + } + get [S$.$borderRightColor]() { + return this[S$._borderRightColor]; + } + set [S$.$borderRightColor](value) { + this[S$._borderRightColor] = value == null ? "" : value; + } + get [S$._borderRightColor]() { + return this.borderRightColor; + } + set [S$._borderRightColor](value) { + this.borderRightColor = value; + } + get [S$.$borderRightStyle]() { + return this[S$._borderRightStyle]; + } + set [S$.$borderRightStyle](value) { + this[S$._borderRightStyle] = value == null ? "" : value; + } + get [S$._borderRightStyle]() { + return this.borderRightStyle; + } + set [S$._borderRightStyle](value) { + this.borderRightStyle = value; + } + get [S$0.$borderRightWidth]() { + return this[S$._borderRightWidth]; + } + set [S$0.$borderRightWidth](value) { + this[S$._borderRightWidth] = value == null ? "" : value; + } + get [S$._borderRightWidth]() { + return this.borderRightWidth; + } + set [S$._borderRightWidth](value) { + this.borderRightWidth = value; + } + get [S$0.$borderSpacing]() { + return this[S$0._borderSpacing]; + } + set [S$0.$borderSpacing](value) { + this[S$0._borderSpacing] = value == null ? "" : value; + } + get [S$0._borderSpacing]() { + return this.borderSpacing; + } + set [S$0._borderSpacing](value) { + this.borderSpacing = value; + } + get [S$0.$borderStyle]() { + return this[S$0._borderStyle]; + } + set [S$0.$borderStyle](value) { + this[S$0._borderStyle] = value == null ? "" : value; + } + get [S$0._borderStyle]() { + return this.borderStyle; + } + set [S$0._borderStyle](value) { + this.borderStyle = value; + } + get [S$0.$borderTop]() { + return this[S$0._borderTop]; + } + set [S$0.$borderTop](value) { + this[S$0._borderTop] = value == null ? "" : value; + } + get [S$0._borderTop]() { + return this.borderTop; + } + set [S$0._borderTop](value) { + this.borderTop = value; + } + get [S$0.$borderTopColor]() { + return this[S$0._borderTopColor]; + } + set [S$0.$borderTopColor](value) { + this[S$0._borderTopColor] = value == null ? "" : value; + } + get [S$0._borderTopColor]() { + return this.borderTopColor; + } + set [S$0._borderTopColor](value) { + this.borderTopColor = value; + } + get [S$0.$borderTopStyle]() { + return this[S$0._borderTopStyle]; + } + set [S$0.$borderTopStyle](value) { + this[S$0._borderTopStyle] = value == null ? "" : value; + } + get [S$0._borderTopStyle]() { + return this.borderTopStyle; + } + set [S$0._borderTopStyle](value) { + this.borderTopStyle = value; + } + get [S$0.$borderTopWidth]() { + return this[S$0._borderTopWidth]; + } + set [S$0.$borderTopWidth](value) { + this[S$0._borderTopWidth] = value == null ? "" : value; + } + get [S$0._borderTopWidth]() { + return this.borderTopWidth; + } + set [S$0._borderTopWidth](value) { + this.borderTopWidth = value; + } + get [S$0.$borderWidth]() { + return this[S$0._borderWidth]; + } + set [S$0.$borderWidth](value) { + this[S$0._borderWidth] = value == null ? "" : value; + } + get [S$0._borderWidth]() { + return this.borderWidth; + } + set [S$0._borderWidth](value) { + this.borderWidth = value; + } + get [$bottom]() { + return this[S$0._bottom]; + } + set [$bottom](value) { + this[S$0._bottom] = value == null ? "" : value; + } + get [S$0._bottom]() { + return this.bottom; + } + set [S$0._bottom](value) { + this.bottom = value; + } + get [S$0.$captionSide]() { + return this[S$0._captionSide]; + } + set [S$0.$captionSide](value) { + this[S$0._captionSide] = value == null ? "" : value; + } + get [S$0._captionSide]() { + return this.captionSide; + } + set [S$0._captionSide](value) { + this.captionSide = value; + } + get [$clear]() { + return this[S$0._clear$3]; + } + set [$clear](value) { + this[S$0._clear$3] = value == null ? "" : value; + } + get [S$0._clear$3]() { + return this.clear; + } + set [S$0._clear$3](value) { + this.clear = value; + } + get [S$.$clip]() { + return this[S$0._clip]; + } + set [S$.$clip](value) { + this[S$0._clip] = value == null ? "" : value; + } + get [S$0._clip]() { + return this.clip; + } + set [S$0._clip](value) { + this.clip = value; + } + get [S$0.$color]() { + return this[S$0._color]; + } + set [S$0.$color](value) { + this[S$0._color] = value == null ? "" : value; + } + get [S$0._color]() { + return this.color; + } + set [S$0._color](value) { + this.color = value; + } + get [S$0.$content]() { + return this[S$0._content]; + } + set [S$0.$content](value) { + this[S$0._content] = value == null ? "" : value; + } + get [S$0._content]() { + return this.content; + } + set [S$0._content](value) { + this.content = value; + } + get [S$0.$cursor]() { + return this[S$0._cursor]; + } + set [S$0.$cursor](value) { + this[S$0._cursor] = value == null ? "" : value; + } + get [S$0._cursor]() { + return this.cursor; + } + set [S$0._cursor](value) { + this.cursor = value; + } + get [S.$direction]() { + return this[S$0._direction]; + } + set [S.$direction](value) { + this[S$0._direction] = value == null ? "" : value; + } + get [S$0._direction]() { + return this.direction; + } + set [S$0._direction](value) { + this.direction = value; + } + get [S$0.$display]() { + return this[S$0._display]; + } + set [S$0.$display](value) { + this[S$0._display] = value == null ? "" : value; + } + get [S$0._display]() { + return this.display; + } + set [S$0._display](value) { + this.display = value; + } + get [S$0.$emptyCells]() { + return this[S$0._emptyCells]; + } + set [S$0.$emptyCells](value) { + this[S$0._emptyCells] = value == null ? "" : value; + } + get [S$0._emptyCells]() { + return this.emptyCells; + } + set [S$0._emptyCells](value) { + this.emptyCells = value; + } + get [S$.$font]() { + return this[S$0._font]; + } + set [S$.$font](value) { + this[S$0._font] = value == null ? "" : value; + } + get [S$0._font]() { + return this.font; + } + set [S$0._font](value) { + this.font = value; + } + get [S$0.$fontFamily]() { + return this[S$0._fontFamily]; + } + set [S$0.$fontFamily](value) { + this[S$0._fontFamily] = value == null ? "" : value; + } + get [S$0._fontFamily]() { + return this.fontFamily; + } + set [S$0._fontFamily](value) { + this.fontFamily = value; + } + get [S$0.$fontSize]() { + return this[S$0._fontSize]; + } + set [S$0.$fontSize](value) { + this[S$0._fontSize] = value == null ? "" : value; + } + get [S$0._fontSize]() { + return this.fontSize; + } + set [S$0._fontSize](value) { + this.fontSize = value; + } + get [S$0.$fontStyle]() { + return this[S$0._fontStyle]; + } + set [S$0.$fontStyle](value) { + this[S$0._fontStyle] = value == null ? "" : value; + } + get [S$0._fontStyle]() { + return this.fontStyle; + } + set [S$0._fontStyle](value) { + this.fontStyle = value; + } + get [S$0.$fontVariant]() { + return this[S$0._fontVariant]; + } + set [S$0.$fontVariant](value) { + this[S$0._fontVariant] = value == null ? "" : value; + } + get [S$0._fontVariant]() { + return this.fontVariant; + } + set [S$0._fontVariant](value) { + this.fontVariant = value; + } + get [S$0.$fontWeight]() { + return this[S$0._fontWeight]; + } + set [S$0.$fontWeight](value) { + this[S$0._fontWeight] = value == null ? "" : value; + } + get [S$0._fontWeight]() { + return this.fontWeight; + } + set [S$0._fontWeight](value) { + this.fontWeight = value; + } + get [$height]() { + return this[S$0._height$1]; + } + set [$height](value) { + this[S$0._height$1] = value == null ? "" : value; + } + get [S$0._height$1]() { + return this.height; + } + set [S$0._height$1](value) { + this.height = value; + } + get [$left]() { + return this[S$0._left$2]; + } + set [$left](value) { + this[S$0._left$2] = value == null ? "" : value; + } + get [S$0._left$2]() { + return this.left; + } + set [S$0._left$2](value) { + this.left = value; + } + get [S$0.$letterSpacing]() { + return this[S$0._letterSpacing]; + } + set [S$0.$letterSpacing](value) { + this[S$0._letterSpacing] = value == null ? "" : value; + } + get [S$0._letterSpacing]() { + return this.letterSpacing; + } + set [S$0._letterSpacing](value) { + this.letterSpacing = value; + } + get [S$0.$lineHeight]() { + return this[S$0._lineHeight]; + } + set [S$0.$lineHeight](value) { + this[S$0._lineHeight] = value == null ? "" : value; + } + get [S$0._lineHeight]() { + return this.lineHeight; + } + set [S$0._lineHeight](value) { + this.lineHeight = value; + } + get [S$0.$listStyle]() { + return this[S$0._listStyle]; + } + set [S$0.$listStyle](value) { + this[S$0._listStyle] = value == null ? "" : value; + } + get [S$0._listStyle]() { + return this.listStyle; + } + set [S$0._listStyle](value) { + this.listStyle = value; + } + get [S$0.$listStyleImage]() { + return this[S$0._listStyleImage]; + } + set [S$0.$listStyleImage](value) { + this[S$0._listStyleImage] = value == null ? "" : value; + } + get [S$0._listStyleImage]() { + return this.listStyleImage; + } + set [S$0._listStyleImage](value) { + this.listStyleImage = value; + } + get [S$0.$listStylePosition]() { + return this[S$0._listStylePosition]; + } + set [S$0.$listStylePosition](value) { + this[S$0._listStylePosition] = value == null ? "" : value; + } + get [S$0._listStylePosition]() { + return this.listStylePosition; + } + set [S$0._listStylePosition](value) { + this.listStylePosition = value; + } + get [S$0.$listStyleType]() { + return this[S$0._listStyleType]; + } + set [S$0.$listStyleType](value) { + this[S$0._listStyleType] = value == null ? "" : value; + } + get [S$0._listStyleType]() { + return this.listStyleType; + } + set [S$0._listStyleType](value) { + this.listStyleType = value; + } + get [S$0.$margin]() { + return this[S$0._margin]; + } + set [S$0.$margin](value) { + this[S$0._margin] = value == null ? "" : value; + } + get [S$0._margin]() { + return this.margin; + } + set [S$0._margin](value) { + this.margin = value; + } + get [S$0.$marginBottom]() { + return this[S$0._marginBottom]; + } + set [S$0.$marginBottom](value) { + this[S$0._marginBottom] = value == null ? "" : value; + } + get [S$0._marginBottom]() { + return this.marginBottom; + } + set [S$0._marginBottom](value) { + this.marginBottom = value; + } + get [S$0.$marginLeft]() { + return this[S$0._marginLeft]; + } + set [S$0.$marginLeft](value) { + this[S$0._marginLeft] = value == null ? "" : value; + } + get [S$0._marginLeft]() { + return this.marginLeft; + } + set [S$0._marginLeft](value) { + this.marginLeft = value; + } + get [S$0.$marginRight]() { + return this[S$0._marginRight]; + } + set [S$0.$marginRight](value) { + this[S$0._marginRight] = value == null ? "" : value; + } + get [S$0._marginRight]() { + return this.marginRight; + } + set [S$0._marginRight](value) { + this.marginRight = value; + } + get [S$0.$marginTop]() { + return this[S$0._marginTop]; + } + set [S$0.$marginTop](value) { + this[S$0._marginTop] = value == null ? "" : value; + } + get [S$0._marginTop]() { + return this.marginTop; + } + set [S$0._marginTop](value) { + this.marginTop = value; + } + get [S$0.$maxHeight]() { + return this[S$0._maxHeight]; + } + set [S$0.$maxHeight](value) { + this[S$0._maxHeight] = value == null ? "" : value; + } + get [S$0._maxHeight]() { + return this.maxHeight; + } + set [S$0._maxHeight](value) { + this.maxHeight = value; + } + get [S$0.$maxWidth]() { + return this[S$0._maxWidth]; + } + set [S$0.$maxWidth](value) { + this[S$0._maxWidth] = value == null ? "" : value; + } + get [S$0._maxWidth]() { + return this.maxWidth; + } + set [S$0._maxWidth](value) { + this.maxWidth = value; + } + get [S$0.$minHeight]() { + return this[S$0._minHeight]; + } + set [S$0.$minHeight](value) { + this[S$0._minHeight] = value == null ? "" : value; + } + get [S$0._minHeight]() { + return this.minHeight; + } + set [S$0._minHeight](value) { + this.minHeight = value; + } + get [S$0.$minWidth]() { + return this[S$0._minWidth]; + } + set [S$0.$minWidth](value) { + this[S$0._minWidth] = value == null ? "" : value; + } + get [S$0._minWidth]() { + return this.minWidth; + } + set [S$0._minWidth](value) { + this.minWidth = value; + } + get [S$0.$outline]() { + return this[S$0._outline]; + } + set [S$0.$outline](value) { + this[S$0._outline] = value == null ? "" : value; + } + get [S$0._outline]() { + return this.outline; + } + set [S$0._outline](value) { + this.outline = value; + } + get [S$0.$outlineColor]() { + return this[S$0._outlineColor]; + } + set [S$0.$outlineColor](value) { + this[S$0._outlineColor] = value == null ? "" : value; + } + get [S$0._outlineColor]() { + return this.outlineColor; + } + set [S$0._outlineColor](value) { + this.outlineColor = value; + } + get [S$0.$outlineStyle]() { + return this[S$0._outlineStyle]; + } + set [S$0.$outlineStyle](value) { + this[S$0._outlineStyle] = value == null ? "" : value; + } + get [S$0._outlineStyle]() { + return this.outlineStyle; + } + set [S$0._outlineStyle](value) { + this.outlineStyle = value; + } + get [S$0.$outlineWidth]() { + return this[S$0._outlineWidth]; + } + set [S$0.$outlineWidth](value) { + this[S$0._outlineWidth] = value == null ? "" : value; + } + get [S$0._outlineWidth]() { + return this.outlineWidth; + } + set [S$0._outlineWidth](value) { + this.outlineWidth = value; + } + get [S$0.$overflow]() { + return this[S$0._overflow]; + } + set [S$0.$overflow](value) { + this[S$0._overflow] = value == null ? "" : value; + } + get [S$0._overflow]() { + return this.overflow; + } + set [S$0._overflow](value) { + this.overflow = value; + } + get [S$0.$padding]() { + return this[S$0._padding]; + } + set [S$0.$padding](value) { + this[S$0._padding] = value == null ? "" : value; + } + get [S$0._padding]() { + return this.padding; + } + set [S$0._padding](value) { + this.padding = value; + } + get [S$0.$paddingBottom]() { + return this[S$0._paddingBottom]; + } + set [S$0.$paddingBottom](value) { + this[S$0._paddingBottom] = value == null ? "" : value; + } + get [S$0._paddingBottom]() { + return this.paddingBottom; + } + set [S$0._paddingBottom](value) { + this.paddingBottom = value; + } + get [S$0.$paddingLeft]() { + return this[S$0._paddingLeft]; + } + set [S$0.$paddingLeft](value) { + this[S$0._paddingLeft] = value == null ? "" : value; + } + get [S$0._paddingLeft]() { + return this.paddingLeft; + } + set [S$0._paddingLeft](value) { + this.paddingLeft = value; + } + get [S$0.$paddingRight]() { + return this[S$0._paddingRight]; + } + set [S$0.$paddingRight](value) { + this[S$0._paddingRight] = value == null ? "" : value; + } + get [S$0._paddingRight]() { + return this.paddingRight; + } + set [S$0._paddingRight](value) { + this.paddingRight = value; + } + get [S$0.$paddingTop]() { + return this[S$0._paddingTop]; + } + set [S$0.$paddingTop](value) { + this[S$0._paddingTop] = value == null ? "" : value; + } + get [S$0._paddingTop]() { + return this.paddingTop; + } + set [S$0._paddingTop](value) { + this.paddingTop = value; + } + get [S$0.$pageBreakAfter]() { + return this[S$0._pageBreakAfter]; + } + set [S$0.$pageBreakAfter](value) { + this[S$0._pageBreakAfter] = value == null ? "" : value; + } + get [S$0._pageBreakAfter]() { + return this.pageBreakAfter; + } + set [S$0._pageBreakAfter](value) { + this.pageBreakAfter = value; + } + get [S$0.$pageBreakBefore]() { + return this[S$0._pageBreakBefore]; + } + set [S$0.$pageBreakBefore](value) { + this[S$0._pageBreakBefore] = value == null ? "" : value; + } + get [S$0._pageBreakBefore]() { + return this.pageBreakBefore; + } + set [S$0._pageBreakBefore](value) { + this.pageBreakBefore = value; + } + get [S$0.$pageBreakInside]() { + return this[S$0._pageBreakInside]; + } + set [S$0.$pageBreakInside](value) { + this[S$0._pageBreakInside] = value == null ? "" : value; + } + get [S$0._pageBreakInside]() { + return this.pageBreakInside; + } + set [S$0._pageBreakInside](value) { + this.pageBreakInside = value; + } + get [S$0.$position]() { + return this[S$0._position$2]; + } + set [S$0.$position](value) { + this[S$0._position$2] = value == null ? "" : value; + } + get [S$0._position$2]() { + return this.position; + } + set [S$0._position$2](value) { + this.position = value; + } + get [S$0.$quotes]() { + return this[S$0._quotes]; + } + set [S$0.$quotes](value) { + this[S$0._quotes] = value == null ? "" : value; + } + get [S$0._quotes]() { + return this.quotes; + } + set [S$0._quotes](value) { + this.quotes = value; + } + get [$right]() { + return this[S$0._right$2]; + } + set [$right](value) { + this[S$0._right$2] = value == null ? "" : value; + } + get [S$0._right$2]() { + return this.right; + } + set [S$0._right$2](value) { + this.right = value; + } + get [S$0.$tableLayout]() { + return this[S$0._tableLayout]; + } + set [S$0.$tableLayout](value) { + this[S$0._tableLayout] = value == null ? "" : value; + } + get [S$0._tableLayout]() { + return this.tableLayout; + } + set [S$0._tableLayout](value) { + this.tableLayout = value; + } + get [S$.$textAlign]() { + return this[S$0._textAlign]; + } + set [S$.$textAlign](value) { + this[S$0._textAlign] = value == null ? "" : value; + } + get [S$0._textAlign]() { + return this.textAlign; + } + set [S$0._textAlign](value) { + this.textAlign = value; + } + get [S$0.$textDecoration]() { + return this[S$0._textDecoration]; + } + set [S$0.$textDecoration](value) { + this[S$0._textDecoration] = value == null ? "" : value; + } + get [S$0._textDecoration]() { + return this.textDecoration; + } + set [S$0._textDecoration](value) { + this.textDecoration = value; + } + get [S$0.$textIndent]() { + return this[S$0._textIndent]; + } + set [S$0.$textIndent](value) { + this[S$0._textIndent] = value == null ? "" : value; + } + get [S$0._textIndent]() { + return this.textIndent; + } + set [S$0._textIndent](value) { + this.textIndent = value; + } + get [S$0.$textTransform]() { + return this[S$0._textTransform]; + } + set [S$0.$textTransform](value) { + this[S$0._textTransform] = value == null ? "" : value; + } + get [S$0._textTransform]() { + return this.textTransform; + } + set [S$0._textTransform](value) { + this.textTransform = value; + } + get [$top]() { + return this[S$0._top]; + } + set [$top](value) { + this[S$0._top] = value == null ? "" : value; + } + get [S$0._top]() { + return this.top; + } + set [S$0._top](value) { + this.top = value; + } + get [S$0.$unicodeBidi]() { + return this[S$0._unicodeBidi]; + } + set [S$0.$unicodeBidi](value) { + this[S$0._unicodeBidi] = value == null ? "" : value; + } + get [S$0._unicodeBidi]() { + return this.unicodeBidi; + } + set [S$0._unicodeBidi](value) { + this.unicodeBidi = value; + } + get [S$0.$verticalAlign]() { + return this[S$0._verticalAlign]; + } + set [S$0.$verticalAlign](value) { + this[S$0._verticalAlign] = value == null ? "" : value; + } + get [S$0._verticalAlign]() { + return this.verticalAlign; + } + set [S$0._verticalAlign](value) { + this.verticalAlign = value; + } + get [S$0.$visibility]() { + return this[S$0._visibility]; + } + set [S$0.$visibility](value) { + this[S$0._visibility] = value == null ? "" : value; + } + get [S$0._visibility]() { + return this.visibility; + } + set [S$0._visibility](value) { + this.visibility = value; + } + get [S$0.$whiteSpace]() { + return this[S$0._whiteSpace]; + } + set [S$0.$whiteSpace](value) { + this[S$0._whiteSpace] = value == null ? "" : value; + } + get [S$0._whiteSpace]() { + return this.whiteSpace; + } + set [S$0._whiteSpace](value) { + this.whiteSpace = value; + } + get [$width]() { + return this[S$0._width$1]; + } + set [$width](value) { + this[S$0._width$1] = value == null ? "" : value; + } + get [S$0._width$1]() { + return this.width; + } + set [S$0._width$1](value) { + this.width = value; + } + get [S$0.$wordSpacing]() { + return this[S$0._wordSpacing]; + } + set [S$0.$wordSpacing](value) { + this[S$0._wordSpacing] = value == null ? "" : value; + } + get [S$0._wordSpacing]() { + return this.wordSpacing; + } + set [S$0._wordSpacing](value) { + this.wordSpacing = value; + } + get [S$0.$zIndex]() { + return this[S$0._zIndex]; + } + set [S$0.$zIndex](value) { + this[S$0._zIndex] = value == null ? "" : value; + } + get [S$0._zIndex]() { + return this.zIndex; + } + set [S$0._zIndex](value) { + this.zIndex = value; + } + }; + dart.addTypeTests(html$.CssStyleDeclaration); + dart.addTypeCaches(html$.CssStyleDeclaration); + dart.setMethodSignature(html$.CssStyleDeclaration, () => ({ + __proto__: dart.getMethods(html$.CssStyleDeclaration.__proto__), + [S$.$getPropertyValue]: dart.fnType(core.String, [core.String]), + [S$._getPropertyValueHelper]: dart.fnType(core.String, [core.String]), + [S$.$supportsProperty]: dart.fnType(core.bool, [core.String]), + [S$._supportsProperty]: dart.fnType(core.bool, [core.String]), + [S$.$setProperty]: dart.fnType(dart.void, [core.String, dart.nullable(core.String)], [dart.nullable(core.String)]), + [S$._browserPropertyName]: dart.fnType(core.String, [core.String]), + [S$._supportedBrowserPropertyName]: dart.fnType(core.String, [core.String]), + [S$._setPropertyHelper]: dart.fnType(dart.void, [core.String, dart.nullable(core.String)], [dart.nullable(core.String)]), + [S$.$getPropertyPriority]: dart.fnType(core.String, [core.String]), + [S$._getPropertyValue]: dart.fnType(core.String, [core.String]), + [S$.$item]: dart.fnType(core.String, [core.int]), + [S$.$removeProperty]: dart.fnType(core.String, [core.String]) + })); + dart.setGetterSignature(html$.CssStyleDeclaration, () => ({ + __proto__: dart.getGetters(html$.CssStyleDeclaration.__proto__), + [S$.$cssFloat]: dart.nullable(core.String), + [S$.$cssText]: dart.nullable(core.String), + [$length]: core.int, + [S$.$parentRule]: dart.nullable(html$.CssRule), + [S$._background]: core.String, + [S$._backgroundAttachment]: core.String, + [S$._backgroundColor]: core.String, + [S$._backgroundImage]: core.String, + [S$._backgroundPosition]: core.String, + [S$._backgroundRepeat]: core.String, + [S$._border]: core.String, + [S$._borderBottom]: core.String, + [S$._borderBottomColor]: core.String, + [S$._borderBottomStyle]: core.String, + [S$._borderBottomWidth]: core.String, + [S$._borderCollapse]: core.String, + [S$._borderColor]: core.String, + [S$._borderLeft]: core.String, + [S$._borderLeftColor]: core.String, + [S$._borderLeftStyle]: core.String, + [S$._borderLeftWidth]: core.String, + [S$._borderRight]: core.String, + [S$._borderRightColor]: core.String, + [S$._borderRightStyle]: core.String, + [S$._borderRightWidth]: core.String, + [S$0._borderSpacing]: core.String, + [S$0._borderStyle]: core.String, + [S$0._borderTop]: core.String, + [S$0._borderTopColor]: core.String, + [S$0._borderTopStyle]: core.String, + [S$0._borderTopWidth]: core.String, + [S$0._borderWidth]: core.String, + [S$0._bottom]: core.String, + [S$0._captionSide]: core.String, + [S$0._clear$3]: core.String, + [S$0._clip]: core.String, + [S$0._color]: core.String, + [S$0._content]: core.String, + [S$0._cursor]: core.String, + [S$0._direction]: core.String, + [S$0._display]: core.String, + [S$0._emptyCells]: core.String, + [S$0._font]: core.String, + [S$0._fontFamily]: core.String, + [S$0._fontSize]: core.String, + [S$0._fontStyle]: core.String, + [S$0._fontVariant]: core.String, + [S$0._fontWeight]: core.String, + [S$0._height$1]: core.String, + [S$0._left$2]: core.String, + [S$0._letterSpacing]: core.String, + [S$0._lineHeight]: core.String, + [S$0._listStyle]: core.String, + [S$0._listStyleImage]: core.String, + [S$0._listStylePosition]: core.String, + [S$0._listStyleType]: core.String, + [S$0._margin]: core.String, + [S$0._marginBottom]: core.String, + [S$0._marginLeft]: core.String, + [S$0._marginRight]: core.String, + [S$0._marginTop]: core.String, + [S$0._maxHeight]: core.String, + [S$0._maxWidth]: core.String, + [S$0._minHeight]: core.String, + [S$0._minWidth]: core.String, + [S$0._outline]: core.String, + [S$0._outlineColor]: core.String, + [S$0._outlineStyle]: core.String, + [S$0._outlineWidth]: core.String, + [S$0._overflow]: core.String, + [S$0._padding]: core.String, + [S$0._paddingBottom]: core.String, + [S$0._paddingLeft]: core.String, + [S$0._paddingRight]: core.String, + [S$0._paddingTop]: core.String, + [S$0._pageBreakAfter]: core.String, + [S$0._pageBreakBefore]: core.String, + [S$0._pageBreakInside]: core.String, + [S$0._position$2]: core.String, + [S$0._quotes]: core.String, + [S$0._right$2]: core.String, + [S$0._tableLayout]: core.String, + [S$0._textAlign]: core.String, + [S$0._textDecoration]: core.String, + [S$0._textIndent]: core.String, + [S$0._textTransform]: core.String, + [S$0._top]: core.String, + [S$0._unicodeBidi]: core.String, + [S$0._verticalAlign]: core.String, + [S$0._visibility]: core.String, + [S$0._whiteSpace]: core.String, + [S$0._width$1]: core.String, + [S$0._wordSpacing]: core.String, + [S$0._zIndex]: core.String + })); + dart.setSetterSignature(html$.CssStyleDeclaration, () => ({ + __proto__: dart.getSetters(html$.CssStyleDeclaration.__proto__), + [S$.$cssFloat]: dart.nullable(core.String), + [S$.$cssText]: dart.nullable(core.String), + [S$.$background]: dart.nullable(core.String), + [S$._background]: core.String, + [S$.$backgroundAttachment]: dart.nullable(core.String), + [S$._backgroundAttachment]: core.String, + [S$.$backgroundColor]: dart.nullable(core.String), + [S$._backgroundColor]: core.String, + [S$.$backgroundImage]: dart.nullable(core.String), + [S$._backgroundImage]: core.String, + [S$.$backgroundPosition]: dart.nullable(core.String), + [S$._backgroundPosition]: core.String, + [S$.$backgroundRepeat]: dart.nullable(core.String), + [S$._backgroundRepeat]: core.String, + [S$.$border]: dart.nullable(core.String), + [S$._border]: core.String, + [S$.$borderBottom]: dart.nullable(core.String), + [S$._borderBottom]: core.String, + [S$.$borderBottomColor]: dart.nullable(core.String), + [S$._borderBottomColor]: core.String, + [S$.$borderBottomStyle]: dart.nullable(core.String), + [S$._borderBottomStyle]: core.String, + [S$.$borderBottomWidth]: dart.nullable(core.String), + [S$._borderBottomWidth]: core.String, + [S$.$borderCollapse]: dart.nullable(core.String), + [S$._borderCollapse]: core.String, + [S$.$borderColor]: dart.nullable(core.String), + [S$._borderColor]: core.String, + [S$.$borderLeft]: dart.nullable(core.String), + [S$._borderLeft]: core.String, + [S$.$borderLeftColor]: dart.nullable(core.String), + [S$._borderLeftColor]: core.String, + [S$.$borderLeftStyle]: dart.nullable(core.String), + [S$._borderLeftStyle]: core.String, + [S$.$borderLeftWidth]: dart.nullable(core.String), + [S$._borderLeftWidth]: core.String, + [S$.$borderRight]: dart.nullable(core.String), + [S$._borderRight]: core.String, + [S$.$borderRightColor]: dart.nullable(core.String), + [S$._borderRightColor]: core.String, + [S$.$borderRightStyle]: dart.nullable(core.String), + [S$._borderRightStyle]: core.String, + [S$0.$borderRightWidth]: dart.nullable(core.String), + [S$._borderRightWidth]: core.String, + [S$0.$borderSpacing]: dart.nullable(core.String), + [S$0._borderSpacing]: core.String, + [S$0.$borderStyle]: dart.nullable(core.String), + [S$0._borderStyle]: core.String, + [S$0.$borderTop]: dart.nullable(core.String), + [S$0._borderTop]: core.String, + [S$0.$borderTopColor]: dart.nullable(core.String), + [S$0._borderTopColor]: core.String, + [S$0.$borderTopStyle]: dart.nullable(core.String), + [S$0._borderTopStyle]: core.String, + [S$0.$borderTopWidth]: dart.nullable(core.String), + [S$0._borderTopWidth]: core.String, + [S$0.$borderWidth]: dart.nullable(core.String), + [S$0._borderWidth]: core.String, + [$bottom]: dart.nullable(core.String), + [S$0._bottom]: core.String, + [S$0.$captionSide]: dart.nullable(core.String), + [S$0._captionSide]: core.String, + [$clear]: dart.nullable(core.String), + [S$0._clear$3]: core.String, + [S$.$clip]: dart.nullable(core.String), + [S$0._clip]: core.String, + [S$0.$color]: dart.nullable(core.String), + [S$0._color]: core.String, + [S$0.$content]: dart.nullable(core.String), + [S$0._content]: core.String, + [S$0.$cursor]: dart.nullable(core.String), + [S$0._cursor]: core.String, + [S.$direction]: dart.nullable(core.String), + [S$0._direction]: core.String, + [S$0.$display]: dart.nullable(core.String), + [S$0._display]: core.String, + [S$0.$emptyCells]: dart.nullable(core.String), + [S$0._emptyCells]: core.String, + [S$.$font]: dart.nullable(core.String), + [S$0._font]: core.String, + [S$0.$fontFamily]: dart.nullable(core.String), + [S$0._fontFamily]: core.String, + [S$0.$fontSize]: dart.nullable(core.String), + [S$0._fontSize]: core.String, + [S$0.$fontStyle]: dart.nullable(core.String), + [S$0._fontStyle]: core.String, + [S$0.$fontVariant]: dart.nullable(core.String), + [S$0._fontVariant]: core.String, + [S$0.$fontWeight]: dart.nullable(core.String), + [S$0._fontWeight]: core.String, + [$height]: dart.nullable(core.String), + [S$0._height$1]: core.String, + [$left]: dart.nullable(core.String), + [S$0._left$2]: core.String, + [S$0.$letterSpacing]: dart.nullable(core.String), + [S$0._letterSpacing]: core.String, + [S$0.$lineHeight]: dart.nullable(core.String), + [S$0._lineHeight]: core.String, + [S$0.$listStyle]: dart.nullable(core.String), + [S$0._listStyle]: core.String, + [S$0.$listStyleImage]: dart.nullable(core.String), + [S$0._listStyleImage]: core.String, + [S$0.$listStylePosition]: dart.nullable(core.String), + [S$0._listStylePosition]: core.String, + [S$0.$listStyleType]: dart.nullable(core.String), + [S$0._listStyleType]: core.String, + [S$0.$margin]: dart.nullable(core.String), + [S$0._margin]: core.String, + [S$0.$marginBottom]: dart.nullable(core.String), + [S$0._marginBottom]: core.String, + [S$0.$marginLeft]: dart.nullable(core.String), + [S$0._marginLeft]: core.String, + [S$0.$marginRight]: dart.nullable(core.String), + [S$0._marginRight]: core.String, + [S$0.$marginTop]: dart.nullable(core.String), + [S$0._marginTop]: core.String, + [S$0.$maxHeight]: dart.nullable(core.String), + [S$0._maxHeight]: core.String, + [S$0.$maxWidth]: dart.nullable(core.String), + [S$0._maxWidth]: core.String, + [S$0.$minHeight]: dart.nullable(core.String), + [S$0._minHeight]: core.String, + [S$0.$minWidth]: dart.nullable(core.String), + [S$0._minWidth]: core.String, + [S$0.$outline]: dart.nullable(core.String), + [S$0._outline]: core.String, + [S$0.$outlineColor]: dart.nullable(core.String), + [S$0._outlineColor]: core.String, + [S$0.$outlineStyle]: dart.nullable(core.String), + [S$0._outlineStyle]: core.String, + [S$0.$outlineWidth]: dart.nullable(core.String), + [S$0._outlineWidth]: core.String, + [S$0.$overflow]: dart.nullable(core.String), + [S$0._overflow]: core.String, + [S$0.$padding]: dart.nullable(core.String), + [S$0._padding]: core.String, + [S$0.$paddingBottom]: dart.nullable(core.String), + [S$0._paddingBottom]: core.String, + [S$0.$paddingLeft]: dart.nullable(core.String), + [S$0._paddingLeft]: core.String, + [S$0.$paddingRight]: dart.nullable(core.String), + [S$0._paddingRight]: core.String, + [S$0.$paddingTop]: dart.nullable(core.String), + [S$0._paddingTop]: core.String, + [S$0.$pageBreakAfter]: dart.nullable(core.String), + [S$0._pageBreakAfter]: core.String, + [S$0.$pageBreakBefore]: dart.nullable(core.String), + [S$0._pageBreakBefore]: core.String, + [S$0.$pageBreakInside]: dart.nullable(core.String), + [S$0._pageBreakInside]: core.String, + [S$0.$position]: dart.nullable(core.String), + [S$0._position$2]: core.String, + [S$0.$quotes]: dart.nullable(core.String), + [S$0._quotes]: core.String, + [$right]: dart.nullable(core.String), + [S$0._right$2]: core.String, + [S$0.$tableLayout]: dart.nullable(core.String), + [S$0._tableLayout]: core.String, + [S$.$textAlign]: dart.nullable(core.String), + [S$0._textAlign]: core.String, + [S$0.$textDecoration]: dart.nullable(core.String), + [S$0._textDecoration]: core.String, + [S$0.$textIndent]: dart.nullable(core.String), + [S$0._textIndent]: core.String, + [S$0.$textTransform]: dart.nullable(core.String), + [S$0._textTransform]: core.String, + [$top]: dart.nullable(core.String), + [S$0._top]: core.String, + [S$0.$unicodeBidi]: dart.nullable(core.String), + [S$0._unicodeBidi]: core.String, + [S$0.$verticalAlign]: dart.nullable(core.String), + [S$0._verticalAlign]: core.String, + [S$0.$visibility]: dart.nullable(core.String), + [S$0._visibility]: core.String, + [S$0.$whiteSpace]: dart.nullable(core.String), + [S$0._whiteSpace]: core.String, + [$width]: dart.nullable(core.String), + [S$0._width$1]: core.String, + [S$0.$wordSpacing]: dart.nullable(core.String), + [S$0._wordSpacing]: core.String, + [S$0.$zIndex]: dart.nullable(core.String), + [S$0._zIndex]: core.String + })); + dart.setLibraryUri(html$.CssStyleDeclaration, I[148]); + dart.defineLazy(html$.CssStyleDeclaration, { + /*html$.CssStyleDeclaration._propertyCache*/get _propertyCache() { + return {}; + } + }, false); + dart.registerExtension("CSSStyleDeclaration", html$.CssStyleDeclaration); + dart.registerExtension("MSStyleCSSProperties", html$.CssStyleDeclaration); + dart.registerExtension("CSS2Properties", html$.CssStyleDeclaration); + const Object_CssStyleDeclarationBase$36 = class Object_CssStyleDeclarationBase extends core.Object {}; + (Object_CssStyleDeclarationBase$36.new = function() { + }).prototype = Object_CssStyleDeclarationBase$36.prototype; + dart.applyMixin(Object_CssStyleDeclarationBase$36, html$.CssStyleDeclarationBase); + html$._CssStyleDeclarationSet = class _CssStyleDeclarationSet extends Object_CssStyleDeclarationBase$36 { + getPropertyValue(propertyName) { + if (propertyName == null) dart.nullFailed(I[147], 5440, 34, "propertyName"); + return dart.nullCheck(this[S$0._elementCssStyleDeclarationSetIterable])[$first][S$.$getPropertyValue](propertyName); + } + setProperty(propertyName, value, priority = null) { + if (propertyName == null) dart.nullFailed(I[147], 5444, 27, "propertyName"); + dart.nullCheck(this[S$0._elementCssStyleDeclarationSetIterable])[$forEach](dart.fn(e => { + if (e == null) dart.nullFailed(I[147], 5446, 19, "e"); + return e[S$.$setProperty](propertyName, value, priority); + }, T$0.CssStyleDeclarationTovoid())); + } + [S$0._setAll](propertyName, value) { + if (propertyName == null) dart.nullFailed(I[147], 5449, 23, "propertyName"); + value = value == null ? "" : value; + for (let element of this[S$0._elementIterable]) { + element.style[propertyName] = value; + } + } + set background(value) { + if (value == null) dart.nullFailed(I[147], 5457, 25, "value"); + this[S$0._setAll]("background", value); + } + get background() { + return super.background; + } + set backgroundAttachment(value) { + if (value == null) dart.nullFailed(I[147], 5462, 35, "value"); + this[S$0._setAll]("backgroundAttachment", value); + } + get backgroundAttachment() { + return super.backgroundAttachment; + } + set backgroundColor(value) { + if (value == null) dart.nullFailed(I[147], 5467, 30, "value"); + this[S$0._setAll]("backgroundColor", value); + } + get backgroundColor() { + return super.backgroundColor; + } + set backgroundImage(value) { + if (value == null) dart.nullFailed(I[147], 5472, 30, "value"); + this[S$0._setAll]("backgroundImage", value); + } + get backgroundImage() { + return super.backgroundImage; + } + set backgroundPosition(value) { + if (value == null) dart.nullFailed(I[147], 5477, 33, "value"); + this[S$0._setAll]("backgroundPosition", value); + } + get backgroundPosition() { + return super.backgroundPosition; + } + set backgroundRepeat(value) { + if (value == null) dart.nullFailed(I[147], 5482, 31, "value"); + this[S$0._setAll]("backgroundRepeat", value); + } + get backgroundRepeat() { + return super.backgroundRepeat; + } + set border(value) { + if (value == null) dart.nullFailed(I[147], 5487, 21, "value"); + this[S$0._setAll]("border", value); + } + get border() { + return super.border; + } + set borderBottom(value) { + if (value == null) dart.nullFailed(I[147], 5492, 27, "value"); + this[S$0._setAll]("borderBottom", value); + } + get borderBottom() { + return super.borderBottom; + } + set borderBottomColor(value) { + if (value == null) dart.nullFailed(I[147], 5497, 32, "value"); + this[S$0._setAll]("borderBottomColor", value); + } + get borderBottomColor() { + return super.borderBottomColor; + } + set borderBottomStyle(value) { + if (value == null) dart.nullFailed(I[147], 5502, 32, "value"); + this[S$0._setAll]("borderBottomStyle", value); + } + get borderBottomStyle() { + return super.borderBottomStyle; + } + set borderBottomWidth(value) { + if (value == null) dart.nullFailed(I[147], 5507, 32, "value"); + this[S$0._setAll]("borderBottomWidth", value); + } + get borderBottomWidth() { + return super.borderBottomWidth; + } + set borderCollapse(value) { + if (value == null) dart.nullFailed(I[147], 5512, 29, "value"); + this[S$0._setAll]("borderCollapse", value); + } + get borderCollapse() { + return super.borderCollapse; + } + set borderColor(value) { + if (value == null) dart.nullFailed(I[147], 5517, 26, "value"); + this[S$0._setAll]("borderColor", value); + } + get borderColor() { + return super.borderColor; + } + set borderLeft(value) { + if (value == null) dart.nullFailed(I[147], 5522, 25, "value"); + this[S$0._setAll]("borderLeft", value); + } + get borderLeft() { + return super.borderLeft; + } + set borderLeftColor(value) { + if (value == null) dart.nullFailed(I[147], 5527, 30, "value"); + this[S$0._setAll]("borderLeftColor", value); + } + get borderLeftColor() { + return super.borderLeftColor; + } + set borderLeftStyle(value) { + if (value == null) dart.nullFailed(I[147], 5532, 30, "value"); + this[S$0._setAll]("borderLeftStyle", value); + } + get borderLeftStyle() { + return super.borderLeftStyle; + } + set borderLeftWidth(value) { + if (value == null) dart.nullFailed(I[147], 5537, 30, "value"); + this[S$0._setAll]("borderLeftWidth", value); + } + get borderLeftWidth() { + return super.borderLeftWidth; + } + set borderRight(value) { + if (value == null) dart.nullFailed(I[147], 5542, 26, "value"); + this[S$0._setAll]("borderRight", value); + } + get borderRight() { + return super.borderRight; + } + set borderRightColor(value) { + if (value == null) dart.nullFailed(I[147], 5547, 31, "value"); + this[S$0._setAll]("borderRightColor", value); + } + get borderRightColor() { + return super.borderRightColor; + } + set borderRightStyle(value) { + if (value == null) dart.nullFailed(I[147], 5552, 31, "value"); + this[S$0._setAll]("borderRightStyle", value); + } + get borderRightStyle() { + return super.borderRightStyle; + } + set borderRightWidth(value) { + if (value == null) dart.nullFailed(I[147], 5557, 31, "value"); + this[S$0._setAll]("borderRightWidth", value); + } + get borderRightWidth() { + return super.borderRightWidth; + } + set borderSpacing(value) { + if (value == null) dart.nullFailed(I[147], 5562, 28, "value"); + this[S$0._setAll]("borderSpacing", value); + } + get borderSpacing() { + return super.borderSpacing; + } + set borderStyle(value) { + if (value == null) dart.nullFailed(I[147], 5567, 26, "value"); + this[S$0._setAll]("borderStyle", value); + } + get borderStyle() { + return super.borderStyle; + } + set borderTop(value) { + if (value == null) dart.nullFailed(I[147], 5572, 24, "value"); + this[S$0._setAll]("borderTop", value); + } + get borderTop() { + return super.borderTop; + } + set borderTopColor(value) { + if (value == null) dart.nullFailed(I[147], 5577, 29, "value"); + this[S$0._setAll]("borderTopColor", value); + } + get borderTopColor() { + return super.borderTopColor; + } + set borderTopStyle(value) { + if (value == null) dart.nullFailed(I[147], 5582, 29, "value"); + this[S$0._setAll]("borderTopStyle", value); + } + get borderTopStyle() { + return super.borderTopStyle; + } + set borderTopWidth(value) { + if (value == null) dart.nullFailed(I[147], 5587, 29, "value"); + this[S$0._setAll]("borderTopWidth", value); + } + get borderTopWidth() { + return super.borderTopWidth; + } + set borderWidth(value) { + if (value == null) dart.nullFailed(I[147], 5592, 26, "value"); + this[S$0._setAll]("borderWidth", value); + } + get borderWidth() { + return super.borderWidth; + } + set bottom(value) { + if (value == null) dart.nullFailed(I[147], 5597, 21, "value"); + this[S$0._setAll]("bottom", value); + } + get bottom() { + return super.bottom; + } + set captionSide(value) { + if (value == null) dart.nullFailed(I[147], 5602, 26, "value"); + this[S$0._setAll]("captionSide", value); + } + get captionSide() { + return super.captionSide; + } + set clear(value) { + if (value == null) dart.nullFailed(I[147], 5607, 20, "value"); + this[S$0._setAll]("clear", value); + } + get clear() { + return super.clear; + } + set clip(value) { + if (value == null) dart.nullFailed(I[147], 5612, 19, "value"); + this[S$0._setAll]("clip", value); + } + get clip() { + return super.clip; + } + set color(value) { + if (value == null) dart.nullFailed(I[147], 5617, 20, "value"); + this[S$0._setAll]("color", value); + } + get color() { + return super.color; + } + set content(value) { + if (value == null) dart.nullFailed(I[147], 5622, 22, "value"); + this[S$0._setAll]("content", value); + } + get content() { + return super.content; + } + set cursor(value) { + if (value == null) dart.nullFailed(I[147], 5627, 21, "value"); + this[S$0._setAll]("cursor", value); + } + get cursor() { + return super.cursor; + } + set direction(value) { + if (value == null) dart.nullFailed(I[147], 5632, 24, "value"); + this[S$0._setAll]("direction", value); + } + get direction() { + return super.direction; + } + set display(value) { + if (value == null) dart.nullFailed(I[147], 5637, 22, "value"); + this[S$0._setAll]("display", value); + } + get display() { + return super.display; + } + set emptyCells(value) { + if (value == null) dart.nullFailed(I[147], 5642, 25, "value"); + this[S$0._setAll]("emptyCells", value); + } + get emptyCells() { + return super.emptyCells; + } + set font(value) { + if (value == null) dart.nullFailed(I[147], 5647, 19, "value"); + this[S$0._setAll]("font", value); + } + get font() { + return super.font; + } + set fontFamily(value) { + if (value == null) dart.nullFailed(I[147], 5652, 25, "value"); + this[S$0._setAll]("fontFamily", value); + } + get fontFamily() { + return super.fontFamily; + } + set fontSize(value) { + if (value == null) dart.nullFailed(I[147], 5657, 23, "value"); + this[S$0._setAll]("fontSize", value); + } + get fontSize() { + return super.fontSize; + } + set fontStyle(value) { + if (value == null) dart.nullFailed(I[147], 5662, 24, "value"); + this[S$0._setAll]("fontStyle", value); + } + get fontStyle() { + return super.fontStyle; + } + set fontVariant(value) { + if (value == null) dart.nullFailed(I[147], 5667, 26, "value"); + this[S$0._setAll]("fontVariant", value); + } + get fontVariant() { + return super.fontVariant; + } + set fontWeight(value) { + if (value == null) dart.nullFailed(I[147], 5672, 25, "value"); + this[S$0._setAll]("fontWeight", value); + } + get fontWeight() { + return super.fontWeight; + } + set height(value) { + if (value == null) dart.nullFailed(I[147], 5677, 21, "value"); + this[S$0._setAll]("height", value); + } + get height() { + return super.height; + } + set left(value) { + if (value == null) dart.nullFailed(I[147], 5682, 19, "value"); + this[S$0._setAll]("left", value); + } + get left() { + return super.left; + } + set letterSpacing(value) { + if (value == null) dart.nullFailed(I[147], 5687, 28, "value"); + this[S$0._setAll]("letterSpacing", value); + } + get letterSpacing() { + return super.letterSpacing; + } + set lineHeight(value) { + if (value == null) dart.nullFailed(I[147], 5692, 25, "value"); + this[S$0._setAll]("lineHeight", value); + } + get lineHeight() { + return super.lineHeight; + } + set listStyle(value) { + if (value == null) dart.nullFailed(I[147], 5697, 24, "value"); + this[S$0._setAll]("listStyle", value); + } + get listStyle() { + return super.listStyle; + } + set listStyleImage(value) { + if (value == null) dart.nullFailed(I[147], 5702, 29, "value"); + this[S$0._setAll]("listStyleImage", value); + } + get listStyleImage() { + return super.listStyleImage; + } + set listStylePosition(value) { + if (value == null) dart.nullFailed(I[147], 5707, 32, "value"); + this[S$0._setAll]("listStylePosition", value); + } + get listStylePosition() { + return super.listStylePosition; + } + set listStyleType(value) { + if (value == null) dart.nullFailed(I[147], 5712, 28, "value"); + this[S$0._setAll]("listStyleType", value); + } + get listStyleType() { + return super.listStyleType; + } + set margin(value) { + if (value == null) dart.nullFailed(I[147], 5717, 21, "value"); + this[S$0._setAll]("margin", value); + } + get margin() { + return super.margin; + } + set marginBottom(value) { + if (value == null) dart.nullFailed(I[147], 5722, 27, "value"); + this[S$0._setAll]("marginBottom", value); + } + get marginBottom() { + return super.marginBottom; + } + set marginLeft(value) { + if (value == null) dart.nullFailed(I[147], 5727, 25, "value"); + this[S$0._setAll]("marginLeft", value); + } + get marginLeft() { + return super.marginLeft; + } + set marginRight(value) { + if (value == null) dart.nullFailed(I[147], 5732, 26, "value"); + this[S$0._setAll]("marginRight", value); + } + get marginRight() { + return super.marginRight; + } + set marginTop(value) { + if (value == null) dart.nullFailed(I[147], 5737, 24, "value"); + this[S$0._setAll]("marginTop", value); + } + get marginTop() { + return super.marginTop; + } + set maxHeight(value) { + if (value == null) dart.nullFailed(I[147], 5742, 24, "value"); + this[S$0._setAll]("maxHeight", value); + } + get maxHeight() { + return super.maxHeight; + } + set maxWidth(value) { + if (value == null) dart.nullFailed(I[147], 5747, 23, "value"); + this[S$0._setAll]("maxWidth", value); + } + get maxWidth() { + return super.maxWidth; + } + set minHeight(value) { + if (value == null) dart.nullFailed(I[147], 5752, 24, "value"); + this[S$0._setAll]("minHeight", value); + } + get minHeight() { + return super.minHeight; + } + set minWidth(value) { + if (value == null) dart.nullFailed(I[147], 5757, 23, "value"); + this[S$0._setAll]("minWidth", value); + } + get minWidth() { + return super.minWidth; + } + set outline(value) { + if (value == null) dart.nullFailed(I[147], 5762, 22, "value"); + this[S$0._setAll]("outline", value); + } + get outline() { + return super.outline; + } + set outlineColor(value) { + if (value == null) dart.nullFailed(I[147], 5767, 27, "value"); + this[S$0._setAll]("outlineColor", value); + } + get outlineColor() { + return super.outlineColor; + } + set outlineStyle(value) { + if (value == null) dart.nullFailed(I[147], 5772, 27, "value"); + this[S$0._setAll]("outlineStyle", value); + } + get outlineStyle() { + return super.outlineStyle; + } + set outlineWidth(value) { + if (value == null) dart.nullFailed(I[147], 5777, 27, "value"); + this[S$0._setAll]("outlineWidth", value); + } + get outlineWidth() { + return super.outlineWidth; + } + set overflow(value) { + if (value == null) dart.nullFailed(I[147], 5782, 23, "value"); + this[S$0._setAll]("overflow", value); + } + get overflow() { + return super.overflow; + } + set padding(value) { + if (value == null) dart.nullFailed(I[147], 5787, 22, "value"); + this[S$0._setAll]("padding", value); + } + get padding() { + return super.padding; + } + set paddingBottom(value) { + if (value == null) dart.nullFailed(I[147], 5792, 28, "value"); + this[S$0._setAll]("paddingBottom", value); + } + get paddingBottom() { + return super.paddingBottom; + } + set paddingLeft(value) { + if (value == null) dart.nullFailed(I[147], 5797, 26, "value"); + this[S$0._setAll]("paddingLeft", value); + } + get paddingLeft() { + return super.paddingLeft; + } + set paddingRight(value) { + if (value == null) dart.nullFailed(I[147], 5802, 27, "value"); + this[S$0._setAll]("paddingRight", value); + } + get paddingRight() { + return super.paddingRight; + } + set paddingTop(value) { + if (value == null) dart.nullFailed(I[147], 5807, 25, "value"); + this[S$0._setAll]("paddingTop", value); + } + get paddingTop() { + return super.paddingTop; + } + set pageBreakAfter(value) { + if (value == null) dart.nullFailed(I[147], 5812, 29, "value"); + this[S$0._setAll]("pageBreakAfter", value); + } + get pageBreakAfter() { + return super.pageBreakAfter; + } + set pageBreakBefore(value) { + if (value == null) dart.nullFailed(I[147], 5817, 30, "value"); + this[S$0._setAll]("pageBreakBefore", value); + } + get pageBreakBefore() { + return super.pageBreakBefore; + } + set pageBreakInside(value) { + if (value == null) dart.nullFailed(I[147], 5822, 30, "value"); + this[S$0._setAll]("pageBreakInside", value); + } + get pageBreakInside() { + return super.pageBreakInside; + } + set position(value) { + if (value == null) dart.nullFailed(I[147], 5827, 23, "value"); + this[S$0._setAll]("position", value); + } + get position() { + return super.position; + } + set quotes(value) { + if (value == null) dart.nullFailed(I[147], 5832, 21, "value"); + this[S$0._setAll]("quotes", value); + } + get quotes() { + return super.quotes; + } + set right(value) { + if (value == null) dart.nullFailed(I[147], 5837, 20, "value"); + this[S$0._setAll]("right", value); + } + get right() { + return super.right; + } + set tableLayout(value) { + if (value == null) dart.nullFailed(I[147], 5842, 26, "value"); + this[S$0._setAll]("tableLayout", value); + } + get tableLayout() { + return super.tableLayout; + } + set textAlign(value) { + if (value == null) dart.nullFailed(I[147], 5847, 24, "value"); + this[S$0._setAll]("textAlign", value); + } + get textAlign() { + return super.textAlign; + } + set textDecoration(value) { + if (value == null) dart.nullFailed(I[147], 5852, 29, "value"); + this[S$0._setAll]("textDecoration", value); + } + get textDecoration() { + return super.textDecoration; + } + set textIndent(value) { + if (value == null) dart.nullFailed(I[147], 5857, 25, "value"); + this[S$0._setAll]("textIndent", value); + } + get textIndent() { + return super.textIndent; + } + set textTransform(value) { + if (value == null) dart.nullFailed(I[147], 5862, 28, "value"); + this[S$0._setAll]("textTransform", value); + } + get textTransform() { + return super.textTransform; + } + set top(value) { + if (value == null) dart.nullFailed(I[147], 5867, 18, "value"); + this[S$0._setAll]("top", value); + } + get top() { + return super.top; + } + set unicodeBidi(value) { + if (value == null) dart.nullFailed(I[147], 5872, 26, "value"); + this[S$0._setAll]("unicodeBidi", value); + } + get unicodeBidi() { + return super.unicodeBidi; + } + set verticalAlign(value) { + if (value == null) dart.nullFailed(I[147], 5877, 28, "value"); + this[S$0._setAll]("verticalAlign", value); + } + get verticalAlign() { + return super.verticalAlign; + } + set visibility(value) { + if (value == null) dart.nullFailed(I[147], 5882, 25, "value"); + this[S$0._setAll]("visibility", value); + } + get visibility() { + return super.visibility; + } + set whiteSpace(value) { + if (value == null) dart.nullFailed(I[147], 5887, 25, "value"); + this[S$0._setAll]("whiteSpace", value); + } + get whiteSpace() { + return super.whiteSpace; + } + set width(value) { + if (value == null) dart.nullFailed(I[147], 5892, 20, "value"); + this[S$0._setAll]("width", value); + } + get width() { + return super.width; + } + set wordSpacing(value) { + if (value == null) dart.nullFailed(I[147], 5897, 26, "value"); + this[S$0._setAll]("wordSpacing", value); + } + get wordSpacing() { + return super.wordSpacing; + } + set zIndex(value) { + if (value == null) dart.nullFailed(I[147], 5902, 21, "value"); + this[S$0._setAll]("zIndex", value); + } + get zIndex() { + return super.zIndex; + } + }; + (html$._CssStyleDeclarationSet.new = function(_elementIterable) { + if (_elementIterable == null) dart.nullFailed(I[147], 5435, 32, "_elementIterable"); + this[S$0._elementCssStyleDeclarationSetIterable] = null; + this[S$0._elementIterable] = _elementIterable; + this[S$0._elementCssStyleDeclarationSetIterable] = core.List.from(this[S$0._elementIterable])[$map](html$.CssStyleDeclaration, dart.fn(e => html$.CssStyleDeclaration.as(dart.dload(e, 'style')), T$0.dynamicToCssStyleDeclaration())); + }).prototype = html$._CssStyleDeclarationSet.prototype; + dart.addTypeTests(html$._CssStyleDeclarationSet); + dart.addTypeCaches(html$._CssStyleDeclarationSet); + dart.setMethodSignature(html$._CssStyleDeclarationSet, () => ({ + __proto__: dart.getMethods(html$._CssStyleDeclarationSet.__proto__), + getPropertyValue: dart.fnType(core.String, [core.String]), + [S$.$getPropertyValue]: dart.fnType(core.String, [core.String]), + setProperty: dart.fnType(dart.void, [core.String, dart.nullable(core.String)], [dart.nullable(core.String)]), + [S$.$setProperty]: dart.fnType(dart.void, [core.String, dart.nullable(core.String)], [dart.nullable(core.String)]), + [S$0._setAll]: dart.fnType(dart.void, [core.String, dart.nullable(core.String)]) + })); + dart.setLibraryUri(html$._CssStyleDeclarationSet, I[148]); + dart.setFieldSignature(html$._CssStyleDeclarationSet, () => ({ + __proto__: dart.getFields(html$._CssStyleDeclarationSet.__proto__), + [S$0._elementIterable]: dart.finalFieldType(core.Iterable$(html$.Element)), + [S$0._elementCssStyleDeclarationSetIterable]: dart.fieldType(dart.nullable(core.Iterable$(html$.CssStyleDeclaration))) + })); + dart.defineExtensionMethods(html$._CssStyleDeclarationSet, ['getPropertyValue', 'setProperty']); + dart.defineExtensionAccessors(html$._CssStyleDeclarationSet, [ + 'background', + 'backgroundAttachment', + 'backgroundColor', + 'backgroundImage', + 'backgroundPosition', + 'backgroundRepeat', + 'border', + 'borderBottom', + 'borderBottomColor', + 'borderBottomStyle', + 'borderBottomWidth', + 'borderCollapse', + 'borderColor', + 'borderLeft', + 'borderLeftColor', + 'borderLeftStyle', + 'borderLeftWidth', + 'borderRight', + 'borderRightColor', + 'borderRightStyle', + 'borderRightWidth', + 'borderSpacing', + 'borderStyle', + 'borderTop', + 'borderTopColor', + 'borderTopStyle', + 'borderTopWidth', + 'borderWidth', + 'bottom', + 'captionSide', + 'clear', + 'clip', + 'color', + 'content', + 'cursor', + 'direction', + 'display', + 'emptyCells', + 'font', + 'fontFamily', + 'fontSize', + 'fontStyle', + 'fontVariant', + 'fontWeight', + 'height', + 'left', + 'letterSpacing', + 'lineHeight', + 'listStyle', + 'listStyleImage', + 'listStylePosition', + 'listStyleType', + 'margin', + 'marginBottom', + 'marginLeft', + 'marginRight', + 'marginTop', + 'maxHeight', + 'maxWidth', + 'minHeight', + 'minWidth', + 'outline', + 'outlineColor', + 'outlineStyle', + 'outlineWidth', + 'overflow', + 'padding', + 'paddingBottom', + 'paddingLeft', + 'paddingRight', + 'paddingTop', + 'pageBreakAfter', + 'pageBreakBefore', + 'pageBreakInside', + 'position', + 'quotes', + 'right', + 'tableLayout', + 'textAlign', + 'textDecoration', + 'textIndent', + 'textTransform', + 'top', + 'unicodeBidi', + 'verticalAlign', + 'visibility', + 'whiteSpace', + 'width', + 'wordSpacing', + 'zIndex' + ]); + html$.CssStyleRule = class CssStyleRule extends html$.CssRule { + get [S$.$selectorText]() { + return this.selectorText; + } + set [S$.$selectorText](value) { + this.selectorText = value; + } + get [S.$style]() { + return this.style; + } + }; + dart.addTypeTests(html$.CssStyleRule); + dart.addTypeCaches(html$.CssStyleRule); + dart.setGetterSignature(html$.CssStyleRule, () => ({ + __proto__: dart.getGetters(html$.CssStyleRule.__proto__), + [S$.$selectorText]: core.String, + [S.$style]: html$.CssStyleDeclaration + })); + dart.setSetterSignature(html$.CssStyleRule, () => ({ + __proto__: dart.getSetters(html$.CssStyleRule.__proto__), + [S$.$selectorText]: core.String + })); + dart.setLibraryUri(html$.CssStyleRule, I[148]); + dart.registerExtension("CSSStyleRule", html$.CssStyleRule); + html$.StyleSheet = class StyleSheet extends _interceptors.Interceptor { + get [S$.$disabled]() { + return this.disabled; + } + set [S$.$disabled](value) { + this.disabled = value; + } + get [S$.$href]() { + return this.href; + } + get [S$.$media]() { + return this.media; + } + get [S$0.$ownerNode]() { + return this.ownerNode; + } + get [S$.$parentStyleSheet]() { + return this.parentStyleSheet; + } + get [S.$title]() { + return this.title; + } + get [S.$type]() { + return this.type; + } + }; + dart.addTypeTests(html$.StyleSheet); + dart.addTypeCaches(html$.StyleSheet); + dart.setGetterSignature(html$.StyleSheet, () => ({ + __proto__: dart.getGetters(html$.StyleSheet.__proto__), + [S$.$disabled]: dart.nullable(core.bool), + [S$.$href]: dart.nullable(core.String), + [S$.$media]: dart.nullable(html$.MediaList), + [S$0.$ownerNode]: dart.nullable(html$.Node), + [S$.$parentStyleSheet]: dart.nullable(html$.StyleSheet), + [S.$title]: dart.nullable(core.String), + [S.$type]: dart.nullable(core.String) + })); + dart.setSetterSignature(html$.StyleSheet, () => ({ + __proto__: dart.getSetters(html$.StyleSheet.__proto__), + [S$.$disabled]: dart.nullable(core.bool) + })); + dart.setLibraryUri(html$.StyleSheet, I[148]); + dart.registerExtension("StyleSheet", html$.StyleSheet); + html$.CssStyleSheet = class CssStyleSheet extends html$.StyleSheet { + get [S$.$cssRules]() { + return this.cssRules; + } + get [S$0.$ownerRule]() { + return this.ownerRule; + } + get [S$0.$rules]() { + return this.rules; + } + [S$0.$addRule](...args) { + return this.addRule.apply(this, args); + } + [S$.$deleteRule](...args) { + return this.deleteRule.apply(this, args); + } + [S$.$insertRule](...args) { + return this.insertRule.apply(this, args); + } + [S$0.$removeRule](...args) { + return this.removeRule.apply(this, args); + } + }; + dart.addTypeTests(html$.CssStyleSheet); + dart.addTypeCaches(html$.CssStyleSheet); + dart.setMethodSignature(html$.CssStyleSheet, () => ({ + __proto__: dart.getMethods(html$.CssStyleSheet.__proto__), + [S$0.$addRule]: dart.fnType(core.int, [dart.nullable(core.String), dart.nullable(core.String)], [dart.nullable(core.int)]), + [S$.$deleteRule]: dart.fnType(dart.void, [core.int]), + [S$.$insertRule]: dart.fnType(core.int, [core.String], [dart.nullable(core.int)]), + [S$0.$removeRule]: dart.fnType(dart.void, [dart.nullable(core.int)]) + })); + dart.setGetterSignature(html$.CssStyleSheet, () => ({ + __proto__: dart.getGetters(html$.CssStyleSheet.__proto__), + [S$.$cssRules]: core.List$(html$.CssRule), + [S$0.$ownerRule]: dart.nullable(html$.CssRule), + [S$0.$rules]: dart.nullable(core.List$(html$.CssRule)) + })); + dart.setLibraryUri(html$.CssStyleSheet, I[148]); + dart.registerExtension("CSSStyleSheet", html$.CssStyleSheet); + html$.CssSupportsRule = class CssSupportsRule extends html$.CssConditionRule {}; + dart.addTypeTests(html$.CssSupportsRule); + dart.addTypeCaches(html$.CssSupportsRule); + dart.setLibraryUri(html$.CssSupportsRule, I[148]); + dart.registerExtension("CSSSupportsRule", html$.CssSupportsRule); + html$.CssTransformValue = class CssTransformValue extends html$.CssStyleValue { + static new(transformComponents = null) { + if (transformComponents == null) { + return html$.CssTransformValue._create_1(); + } + if (T$0.ListOfCssTransformComponent().is(transformComponents)) { + return html$.CssTransformValue._create_2(transformComponents); + } + dart.throw(new core.ArgumentError.new("Incorrect number or type of arguments")); + } + static _create_1() { + return new CSSTransformValue(); + } + static _create_2(transformComponents) { + return new CSSTransformValue(transformComponents); + } + get [S$.$is2D]() { + return this.is2D; + } + get [$length]() { + return this.length; + } + [S$0.$componentAtIndex](...args) { + return this.componentAtIndex.apply(this, args); + } + [S$0.$toMatrix](...args) { + return this.toMatrix.apply(this, args); + } + }; + dart.addTypeTests(html$.CssTransformValue); + dart.addTypeCaches(html$.CssTransformValue); + dart.setMethodSignature(html$.CssTransformValue, () => ({ + __proto__: dart.getMethods(html$.CssTransformValue.__proto__), + [S$0.$componentAtIndex]: dart.fnType(html$.CssTransformComponent, [core.int]), + [S$0.$toMatrix]: dart.fnType(html$.DomMatrix, []) + })); + dart.setGetterSignature(html$.CssTransformValue, () => ({ + __proto__: dart.getGetters(html$.CssTransformValue.__proto__), + [S$.$is2D]: dart.nullable(core.bool), + [$length]: dart.nullable(core.int) + })); + dart.setLibraryUri(html$.CssTransformValue, I[148]); + dart.registerExtension("CSSTransformValue", html$.CssTransformValue); + html$.CssTranslation = class CssTranslation extends html$.CssTransformComponent { + static new(x, y, z = null) { + if (x == null) dart.nullFailed(I[147], 8804, 42, "x"); + if (y == null) dart.nullFailed(I[147], 8804, 61, "y"); + if (html$.CssNumericValue.is(y) && html$.CssNumericValue.is(x) && z == null) { + return html$.CssTranslation._create_1(x, y); + } + if (html$.CssNumericValue.is(z) && html$.CssNumericValue.is(y) && html$.CssNumericValue.is(x)) { + return html$.CssTranslation._create_2(x, y, z); + } + dart.throw(new core.ArgumentError.new("Incorrect number or type of arguments")); + } + static _create_1(x, y) { + return new CSSTranslation(x, y); + } + static _create_2(x, y, z) { + return new CSSTranslation(x, y, z); + } + get [S$.$x]() { + return this.x; + } + set [S$.$x](value) { + this.x = value; + } + get [S$.$y]() { + return this.y; + } + set [S$.$y](value) { + this.y = value; + } + get [S$.$z]() { + return this.z; + } + set [S$.$z](value) { + this.z = value; + } + }; + dart.addTypeTests(html$.CssTranslation); + dart.addTypeCaches(html$.CssTranslation); + dart.setGetterSignature(html$.CssTranslation, () => ({ + __proto__: dart.getGetters(html$.CssTranslation.__proto__), + [S$.$x]: dart.nullable(html$.CssNumericValue), + [S$.$y]: dart.nullable(html$.CssNumericValue), + [S$.$z]: dart.nullable(html$.CssNumericValue) + })); + dart.setSetterSignature(html$.CssTranslation, () => ({ + __proto__: dart.getSetters(html$.CssTranslation.__proto__), + [S$.$x]: dart.nullable(html$.CssNumericValue), + [S$.$y]: dart.nullable(html$.CssNumericValue), + [S$.$z]: dart.nullable(html$.CssNumericValue) + })); + dart.setLibraryUri(html$.CssTranslation, I[148]); + dart.registerExtension("CSSTranslation", html$.CssTranslation); + html$.CssUnitValue = class CssUnitValue extends html$.CssNumericValue { + static new(value, unit) { + if (value == null) dart.nullFailed(I[147], 8844, 28, "value"); + if (unit == null) dart.nullFailed(I[147], 8844, 42, "unit"); + return html$.CssUnitValue._create_1(value, unit); + } + static _create_1(value, unit) { + return new CSSUnitValue(value, unit); + } + get [S.$type]() { + return this.type; + } + get [S$0.$unit]() { + return this.unit; + } + set [S$0.$unit](value) { + this.unit = value; + } + get [S.$value]() { + return this.value; + } + set [S.$value](value) { + this.value = value; + } + }; + dart.addTypeTests(html$.CssUnitValue); + dart.addTypeCaches(html$.CssUnitValue); + dart.setGetterSignature(html$.CssUnitValue, () => ({ + __proto__: dart.getGetters(html$.CssUnitValue.__proto__), + [S.$type]: dart.nullable(core.String), + [S$0.$unit]: dart.nullable(core.String), + [S.$value]: dart.nullable(core.num) + })); + dart.setSetterSignature(html$.CssUnitValue, () => ({ + __proto__: dart.getSetters(html$.CssUnitValue.__proto__), + [S$0.$unit]: dart.nullable(core.String), + [S.$value]: dart.nullable(core.num) + })); + dart.setLibraryUri(html$.CssUnitValue, I[148]); + dart.registerExtension("CSSUnitValue", html$.CssUnitValue); + html$.CssUnparsedValue = class CssUnparsedValue extends html$.CssStyleValue { + get [$length]() { + return this.length; + } + [S$0.$fragmentAtIndex](...args) { + return this.fragmentAtIndex.apply(this, args); + } + }; + dart.addTypeTests(html$.CssUnparsedValue); + dart.addTypeCaches(html$.CssUnparsedValue); + dart.setMethodSignature(html$.CssUnparsedValue, () => ({ + __proto__: dart.getMethods(html$.CssUnparsedValue.__proto__), + [S$0.$fragmentAtIndex]: dart.fnType(dart.nullable(core.Object), [core.int]) + })); + dart.setGetterSignature(html$.CssUnparsedValue, () => ({ + __proto__: dart.getGetters(html$.CssUnparsedValue.__proto__), + [$length]: dart.nullable(core.int) + })); + dart.setLibraryUri(html$.CssUnparsedValue, I[148]); + dart.registerExtension("CSSUnparsedValue", html$.CssUnparsedValue); + html$.CssVariableReferenceValue = class CssVariableReferenceValue extends _interceptors.Interceptor { + get [S$0.$fallback]() { + return this.fallback; + } + get [S$0.$variable]() { + return this.variable; + } + }; + dart.addTypeTests(html$.CssVariableReferenceValue); + dart.addTypeCaches(html$.CssVariableReferenceValue); + dart.setGetterSignature(html$.CssVariableReferenceValue, () => ({ + __proto__: dart.getGetters(html$.CssVariableReferenceValue.__proto__), + [S$0.$fallback]: dart.nullable(html$.CssUnparsedValue), + [S$0.$variable]: dart.nullable(core.String) + })); + dart.setLibraryUri(html$.CssVariableReferenceValue, I[148]); + dart.registerExtension("CSSVariableReferenceValue", html$.CssVariableReferenceValue); + html$.CssViewportRule = class CssViewportRule extends html$.CssRule { + get [S.$style]() { + return this.style; + } + }; + dart.addTypeTests(html$.CssViewportRule); + dart.addTypeCaches(html$.CssViewportRule); + dart.setGetterSignature(html$.CssViewportRule, () => ({ + __proto__: dart.getGetters(html$.CssViewportRule.__proto__), + [S.$style]: dart.nullable(html$.CssStyleDeclaration) + })); + dart.setLibraryUri(html$.CssViewportRule, I[148]); + dart.registerExtension("CSSViewportRule", html$.CssViewportRule); + html$.CssurlImageValue = class CssurlImageValue extends html$.CssImageValue { + static new(url) { + if (url == null) dart.nullFailed(I[147], 8914, 35, "url"); + return html$.CssurlImageValue._create_1(url); + } + static _create_1(url) { + return new CSSURLImageValue(url); + } + get [S$.$url]() { + return this.url; + } + }; + dart.addTypeTests(html$.CssurlImageValue); + dart.addTypeCaches(html$.CssurlImageValue); + dart.setGetterSignature(html$.CssurlImageValue, () => ({ + __proto__: dart.getGetters(html$.CssurlImageValue.__proto__), + [S$.$url]: dart.nullable(core.String) + })); + dart.setLibraryUri(html$.CssurlImageValue, I[148]); + dart.registerExtension("CSSURLImageValue", html$.CssurlImageValue); + html$.CustomElementRegistry = class CustomElementRegistry extends _interceptors.Interceptor { + [S$0.$define](name, constructor, options = null) { + if (name == null) dart.nullFailed(I[147], 8942, 22, "name"); + if (constructor == null) dart.nullFailed(I[147], 8942, 35, "constructor"); + if (options != null) { + let options_1 = html_common.convertDartToNative_Dictionary(options); + this[S$0._define_1](name, constructor, options_1); + return; + } + this[S$0._define_2](name, constructor); + return; + } + [S$0._define_1](...args) { + return this.define.apply(this, args); + } + [S$0._define_2](...args) { + return this.define.apply(this, args); + } + [S.$get](...args) { + return this.get.apply(this, args); + } + [S$0.$whenDefined](name) { + if (name == null) dart.nullFailed(I[147], 8959, 29, "name"); + return js_util.promiseToFuture(dart.dynamic, this.whenDefined(name)); + } + }; + dart.addTypeTests(html$.CustomElementRegistry); + dart.addTypeCaches(html$.CustomElementRegistry); + dart.setMethodSignature(html$.CustomElementRegistry, () => ({ + __proto__: dart.getMethods(html$.CustomElementRegistry.__proto__), + [S$0.$define]: dart.fnType(dart.void, [core.String, core.Object], [dart.nullable(core.Map)]), + [S$0._define_1]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic]), + [S$0._define_2]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic]), + [S.$get]: dart.fnType(dart.nullable(core.Object), [core.String]), + [S$0.$whenDefined]: dart.fnType(async.Future, [core.String]) + })); + dart.setLibraryUri(html$.CustomElementRegistry, I[148]); + dart.registerExtension("CustomElementRegistry", html$.CustomElementRegistry); + html$.CustomEvent = class CustomEvent$ extends html$.Event { + get [S$0._dartDetail]() { + return this._dartDetail; + } + set [S$0._dartDetail](value) { + this._dartDetail = value; + } + static new(type, opts) { + if (type == null) dart.nullFailed(I[147], 8973, 30, "type"); + let canBubble = opts && 'canBubble' in opts ? opts.canBubble : true; + if (canBubble == null) dart.nullFailed(I[147], 8974, 13, "canBubble"); + let cancelable = opts && 'cancelable' in opts ? opts.cancelable : true; + if (cancelable == null) dart.nullFailed(I[147], 8974, 35, "cancelable"); + let detail = opts && 'detail' in opts ? opts.detail : null; + let e = html$.CustomEvent.as(html$.document[S._createEvent]("CustomEvent")); + e[S$0._dartDetail] = detail; + if (core.List.is(detail) || core.Map.is(detail) || typeof detail == 'string' || typeof detail == 'number') { + try { + detail = html_common.convertDartToNative_SerializedScriptValue(detail); + e[S$0._initCustomEvent](type, canBubble, cancelable, detail); + } catch (e$) { + let _ = dart.getThrown(e$); + if (core.Object.is(_)) { + e[S$0._initCustomEvent](type, canBubble, cancelable, null); + } else + throw e$; + } + } else { + e[S$0._initCustomEvent](type, canBubble, cancelable, null); + } + return e; + } + get [S$.$detail]() { + if (this[S$0._dartDetail] != null) { + return this[S$0._dartDetail]; + } + return this[S$0._detail]; + } + static __(type, eventInitDict = null) { + if (type == null) dart.nullFailed(I[147], 9002, 32, "type"); + if (eventInitDict != null) { + let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); + return html$.CustomEvent._create_1(type, eventInitDict_1); + } + return html$.CustomEvent._create_2(type); + } + static _create_1(type, eventInitDict) { + return new CustomEvent(type, eventInitDict); + } + static _create_2(type) { + return new CustomEvent(type); + } + get [S$0._detail]() { + return html_common.convertNativeToDart_SerializedScriptValue(this[S$0._get__detail]); + } + get [S$0._get__detail]() { + return this.detail; + } + [S$0._initCustomEvent](...args) { + return this.initCustomEvent.apply(this, args); + } + }; + dart.addTypeTests(html$.CustomEvent); + dart.addTypeCaches(html$.CustomEvent); + dart.setMethodSignature(html$.CustomEvent, () => ({ + __proto__: dart.getMethods(html$.CustomEvent.__proto__), + [S$0._initCustomEvent]: dart.fnType(dart.void, [core.String], [dart.nullable(core.bool), dart.nullable(core.bool), dart.nullable(core.Object)]) + })); + dart.setGetterSignature(html$.CustomEvent, () => ({ + __proto__: dart.getGetters(html$.CustomEvent.__proto__), + [S$.$detail]: dart.dynamic, + [S$0._detail]: dart.dynamic, + [S$0._get__detail]: dart.dynamic + })); + dart.setLibraryUri(html$.CustomEvent, I[148]); + dart.setFieldSignature(html$.CustomEvent, () => ({ + __proto__: dart.getFields(html$.CustomEvent.__proto__), + [S$0._dartDetail]: dart.fieldType(dart.dynamic) + })); + dart.registerExtension("CustomEvent", html$.CustomEvent); + html$.DListElement = class DListElement extends html$.HtmlElement { + static new() { + return html$.document.createElement("dl"); + } + }; + (html$.DListElement.created = function() { + html$.DListElement.__proto__.created.call(this); + ; + }).prototype = html$.DListElement.prototype; + dart.addTypeTests(html$.DListElement); + dart.addTypeCaches(html$.DListElement); + dart.setLibraryUri(html$.DListElement, I[148]); + dart.registerExtension("HTMLDListElement", html$.DListElement); + html$.DataElement = class DataElement extends html$.HtmlElement { + get [S.$value]() { + return this.value; + } + set [S.$value](value) { + this.value = value; + } + }; + (html$.DataElement.created = function() { + html$.DataElement.__proto__.created.call(this); + ; + }).prototype = html$.DataElement.prototype; + dart.addTypeTests(html$.DataElement); + dart.addTypeCaches(html$.DataElement); + dart.setGetterSignature(html$.DataElement, () => ({ + __proto__: dart.getGetters(html$.DataElement.__proto__), + [S.$value]: dart.nullable(core.String) + })); + dart.setSetterSignature(html$.DataElement, () => ({ + __proto__: dart.getSetters(html$.DataElement.__proto__), + [S.$value]: dart.nullable(core.String) + })); + dart.setLibraryUri(html$.DataElement, I[148]); + dart.registerExtension("HTMLDataElement", html$.DataElement); + html$.DataListElement = class DataListElement extends html$.HtmlElement { + static new() { + return html$.DataListElement.as(html$.document[S.$createElement]("datalist")); + } + static get supported() { + return html$.Element.isTagSupported("datalist"); + } + get [S$0.$options]() { + return this.options; + } + }; + (html$.DataListElement.created = function() { + html$.DataListElement.__proto__.created.call(this); + ; + }).prototype = html$.DataListElement.prototype; + dart.addTypeTests(html$.DataListElement); + dart.addTypeCaches(html$.DataListElement); + dart.setGetterSignature(html$.DataListElement, () => ({ + __proto__: dart.getGetters(html$.DataListElement.__proto__), + [S$0.$options]: dart.nullable(core.List$(html$.Node)) + })); + dart.setLibraryUri(html$.DataListElement, I[148]); + dart.registerExtension("HTMLDataListElement", html$.DataListElement); + html$.DataTransfer = class DataTransfer$ extends _interceptors.Interceptor { + static new() { + return html$.DataTransfer._create_1(); + } + static _create_1() { + return new DataTransfer(); + } + get [S$0.$dropEffect]() { + return this.dropEffect; + } + set [S$0.$dropEffect](value) { + this.dropEffect = value; + } + get [S$0.$effectAllowed]() { + return this.effectAllowed; + } + set [S$0.$effectAllowed](value) { + this.effectAllowed = value; + } + get [S$0.$files]() { + return this.files; + } + get [S$0.$items]() { + return this.items; + } + get [S$0.$types]() { + return this.types; + } + [S$0.$clearData](...args) { + return this.clearData.apply(this, args); + } + [S$0.$getData](...args) { + return this.getData.apply(this, args); + } + [S$0.$setData](...args) { + return this.setData.apply(this, args); + } + [S$0.$setDragImage](...args) { + return this.setDragImage.apply(this, args); + } + }; + dart.addTypeTests(html$.DataTransfer); + dart.addTypeCaches(html$.DataTransfer); + dart.setMethodSignature(html$.DataTransfer, () => ({ + __proto__: dart.getMethods(html$.DataTransfer.__proto__), + [S$0.$clearData]: dart.fnType(dart.void, [], [dart.nullable(core.String)]), + [S$0.$getData]: dart.fnType(core.String, [core.String]), + [S$0.$setData]: dart.fnType(dart.void, [core.String, core.String]), + [S$0.$setDragImage]: dart.fnType(dart.void, [html$.Element, core.int, core.int]) + })); + dart.setGetterSignature(html$.DataTransfer, () => ({ + __proto__: dart.getGetters(html$.DataTransfer.__proto__), + [S$0.$dropEffect]: dart.nullable(core.String), + [S$0.$effectAllowed]: dart.nullable(core.String), + [S$0.$files]: dart.nullable(core.List$(html$.File)), + [S$0.$items]: dart.nullable(html$.DataTransferItemList), + [S$0.$types]: dart.nullable(core.List$(core.String)) + })); + dart.setSetterSignature(html$.DataTransfer, () => ({ + __proto__: dart.getSetters(html$.DataTransfer.__proto__), + [S$0.$dropEffect]: dart.nullable(core.String), + [S$0.$effectAllowed]: dart.nullable(core.String) + })); + dart.setLibraryUri(html$.DataTransfer, I[148]); + dart.registerExtension("DataTransfer", html$.DataTransfer); + html$.DataTransferItem = class DataTransferItem extends _interceptors.Interceptor { + [S$0.$getAsEntry]() { + let entry = dart.nullCast(this[S$0._webkitGetAsEntry](), html$.Entry); + if (dart.nullCheck(entry.isFile)) + _js_helper.applyExtension("FileEntry", entry); + else if (dart.nullCheck(entry.isDirectory)) + _js_helper.applyExtension("DirectoryEntry", entry); + else + _js_helper.applyExtension("Entry", entry); + return entry; + } + get [S$.$kind]() { + return this.kind; + } + get [S.$type]() { + return this.type; + } + [S$0.$getAsFile](...args) { + return this.getAsFile.apply(this, args); + } + [S$0._webkitGetAsEntry](...args) { + return this.webkitGetAsEntry.apply(this, args); + } + }; + dart.addTypeTests(html$.DataTransferItem); + dart.addTypeCaches(html$.DataTransferItem); + dart.setMethodSignature(html$.DataTransferItem, () => ({ + __proto__: dart.getMethods(html$.DataTransferItem.__proto__), + [S$0.$getAsEntry]: dart.fnType(html$.Entry, []), + [S$0.$getAsFile]: dart.fnType(dart.nullable(html$.File), []), + [S$0._webkitGetAsEntry]: dart.fnType(dart.nullable(html$.Entry), []) + })); + dart.setGetterSignature(html$.DataTransferItem, () => ({ + __proto__: dart.getGetters(html$.DataTransferItem.__proto__), + [S$.$kind]: dart.nullable(core.String), + [S.$type]: dart.nullable(core.String) + })); + dart.setLibraryUri(html$.DataTransferItem, I[148]); + dart.registerExtension("DataTransferItem", html$.DataTransferItem); + html$.DataTransferItemList = class DataTransferItemList extends _interceptors.Interceptor { + get [$length]() { + return this.length; + } + [$add](...args) { + return this.add.apply(this, args); + } + [S$0.$addData](...args) { + return this.add.apply(this, args); + } + [S$0.$addFile](...args) { + return this.add.apply(this, args); + } + [$clear](...args) { + return this.clear.apply(this, args); + } + [S$.$item](...args) { + return this.item.apply(this, args); + } + [$remove](...args) { + return this.remove.apply(this, args); + } + [$_get](index) { + if (index == null) dart.nullFailed(I[147], 9201, 36, "index"); + return this[index]; + } + }; + dart.addTypeTests(html$.DataTransferItemList); + dart.addTypeCaches(html$.DataTransferItemList); + dart.setMethodSignature(html$.DataTransferItemList, () => ({ + __proto__: dart.getMethods(html$.DataTransferItemList.__proto__), + [$add]: dart.fnType(dart.nullable(html$.DataTransferItem), [dart.dynamic], [dart.nullable(core.String)]), + [S$0.$addData]: dart.fnType(dart.nullable(html$.DataTransferItem), [core.String, core.String]), + [S$0.$addFile]: dart.fnType(dart.nullable(html$.DataTransferItem), [html$.File]), + [$clear]: dart.fnType(dart.void, []), + [S$.$item]: dart.fnType(html$.DataTransferItem, [core.int]), + [$remove]: dart.fnType(dart.void, [core.int]), + [$_get]: dart.fnType(html$.DataTransferItem, [core.int]) + })); + dart.setGetterSignature(html$.DataTransferItemList, () => ({ + __proto__: dart.getGetters(html$.DataTransferItemList.__proto__), + [$length]: dart.nullable(core.int) + })); + dart.setLibraryUri(html$.DataTransferItemList, I[148]); + dart.registerExtension("DataTransferItemList", html$.DataTransferItemList); + html$.WorkerGlobalScope = class WorkerGlobalScope extends html$.EventTarget { + get [S$0.$addressSpace]() { + return this.addressSpace; + } + get [S$0.$caches]() { + return this.caches; + } + get [S$0.$crypto]() { + return this.crypto; + } + get [S$0.$indexedDB]() { + return this.indexedDB; + } + get [S$0.$isSecureContext]() { + return this.isSecureContext; + } + get [S$0.$location]() { + return this.location; + } + get [S$0.$navigator]() { + return this.navigator; + } + get [S$.$origin]() { + return this.origin; + } + get [S$0.$performance]() { + return this.performance; + } + get [S$0.$self]() { + return this.self; + } + [S$.$fetch](input, init = null) { + let init_dict = null; + if (init != null) { + init_dict = html_common.convertDartToNative_Dictionary(init); + } + return js_util.promiseToFuture(dart.dynamic, this.fetch(input, init_dict)); + } + [S$0.$importScripts](...args) { + return this.importScripts.apply(this, args); + } + [S$0.$atob](...args) { + return this.atob.apply(this, args); + } + [S$0.$btoa](...args) { + return this.btoa.apply(this, args); + } + [S$0._setInterval_String](...args) { + return this.setInterval.apply(this, args); + } + [S$0._setTimeout_String](...args) { + return this.setTimeout.apply(this, args); + } + [S$0._clearInterval](...args) { + return this.clearInterval.apply(this, args); + } + [S$0._clearTimeout](...args) { + return this.clearTimeout.apply(this, args); + } + [S$0._setInterval](...args) { + return this.setInterval.apply(this, args); + } + [S$0._setTimeout](...args) { + return this.setTimeout.apply(this, args); + } + get [S.$onError]() { + return html$.WorkerGlobalScope.errorEvent.forTarget(this); + } + static get instance() { + return html$._workerSelf; + } + }; + dart.addTypeTests(html$.WorkerGlobalScope); + dart.addTypeCaches(html$.WorkerGlobalScope); + html$.WorkerGlobalScope[dart.implements] = () => [html$._WindowTimers, html$.WindowBase64]; + dart.setMethodSignature(html$.WorkerGlobalScope, () => ({ + __proto__: dart.getMethods(html$.WorkerGlobalScope.__proto__), + [S$.$fetch]: dart.fnType(async.Future, [dart.dynamic], [dart.nullable(core.Map)]), + [S$0.$importScripts]: dart.fnType(dart.void, [core.String]), + [S$0.$atob]: dart.fnType(core.String, [core.String]), + [S$0.$btoa]: dart.fnType(core.String, [core.String]), + [S$0._setInterval_String]: dart.fnType(core.int, [core.String], [dart.nullable(core.int), dart.nullable(core.Object)]), + [S$0._setTimeout_String]: dart.fnType(core.int, [core.String], [dart.nullable(core.int), dart.nullable(core.Object)]), + [S$0._clearInterval]: dart.fnType(dart.void, [], [dart.nullable(core.int)]), + [S$0._clearTimeout]: dart.fnType(dart.void, [], [dart.nullable(core.int)]), + [S$0._setInterval]: dart.fnType(core.int, [core.Object], [dart.nullable(core.int)]), + [S$0._setTimeout]: dart.fnType(core.int, [core.Object], [dart.nullable(core.int)]) + })); + dart.setGetterSignature(html$.WorkerGlobalScope, () => ({ + __proto__: dart.getGetters(html$.WorkerGlobalScope.__proto__), + [S$0.$addressSpace]: dart.nullable(core.String), + [S$0.$caches]: dart.nullable(html$.CacheStorage), + [S$0.$crypto]: dart.nullable(html$.Crypto), + [S$0.$indexedDB]: dart.nullable(indexed_db.IdbFactory), + [S$0.$isSecureContext]: dart.nullable(core.bool), + [S$0.$location]: html$._WorkerLocation, + [S$0.$navigator]: html$._WorkerNavigator, + [S$.$origin]: dart.nullable(core.String), + [S$0.$performance]: dart.nullable(html$.WorkerPerformance), + [S$0.$self]: html$.WorkerGlobalScope, + [S.$onError]: async.Stream$(html$.Event) + })); + dart.setLibraryUri(html$.WorkerGlobalScope, I[148]); + dart.defineLazy(html$.WorkerGlobalScope, { + /*html$.WorkerGlobalScope.errorEvent*/get errorEvent() { + return C[216] || CT.C216; + } + }, false); + dart.registerExtension("WorkerGlobalScope", html$.WorkerGlobalScope); + html$.DedicatedWorkerGlobalScope = class DedicatedWorkerGlobalScope extends html$.WorkerGlobalScope { + [S.$close](...args) { + return this.close.apply(this, args); + } + [S$.$postMessage](message, transfer = null) { + if (transfer != null) { + let message_1 = html_common.convertDartToNative_SerializedScriptValue(message); + this[S$0._postMessage_1](message_1, transfer); + return; + } + let message_1 = html_common.convertDartToNative_SerializedScriptValue(message); + this[S$0._postMessage_2](message_1); + return; + } + [S$0._postMessage_1](...args) { + return this.postMessage.apply(this, args); + } + [S$0._postMessage_2](...args) { + return this.postMessage.apply(this, args); + } + [S$0._webkitRequestFileSystem](...args) { + return this.webkitRequestFileSystem.apply(this, args); + } + [S$0.$requestFileSystemSync](...args) { + return this.webkitRequestFileSystemSync.apply(this, args); + } + [S$0.$resolveLocalFileSystemSyncUrl](...args) { + return this.webkitResolveLocalFileSystemSyncURL.apply(this, args); + } + [S$0._webkitResolveLocalFileSystemUrl](...args) { + return this.webkitResolveLocalFileSystemURL.apply(this, args); + } + get [S$.$onMessage]() { + return html$.DedicatedWorkerGlobalScope.messageEvent.forTarget(this); + } + static get instance() { + return html$.DedicatedWorkerGlobalScope.as(html$._workerSelf); + } + }; + dart.addTypeTests(html$.DedicatedWorkerGlobalScope); + dart.addTypeCaches(html$.DedicatedWorkerGlobalScope); + dart.setMethodSignature(html$.DedicatedWorkerGlobalScope, () => ({ + __proto__: dart.getMethods(html$.DedicatedWorkerGlobalScope.__proto__), + [S.$close]: dart.fnType(dart.void, []), + [S$.$postMessage]: dart.fnType(dart.void, [dart.dynamic], [dart.nullable(core.List$(core.Object))]), + [S$0._postMessage_1]: dart.fnType(dart.void, [dart.dynamic, core.List$(core.Object)]), + [S$0._postMessage_2]: dart.fnType(dart.void, [dart.dynamic]), + [S$0._webkitRequestFileSystem]: dart.fnType(dart.void, [core.int, core.int], [dart.nullable(dart.fnType(dart.void, [html$.FileSystem])), dart.nullable(dart.fnType(dart.void, [html$.DomException]))]), + [S$0.$requestFileSystemSync]: dart.fnType(html$._DOMFileSystemSync, [core.int, core.int]), + [S$0.$resolveLocalFileSystemSyncUrl]: dart.fnType(html$._EntrySync, [core.String]), + [S$0._webkitResolveLocalFileSystemUrl]: dart.fnType(dart.void, [core.String, dart.fnType(dart.void, [html$.Entry])], [dart.nullable(dart.fnType(dart.void, [html$.DomException]))]) + })); + dart.setGetterSignature(html$.DedicatedWorkerGlobalScope, () => ({ + __proto__: dart.getGetters(html$.DedicatedWorkerGlobalScope.__proto__), + [S$.$onMessage]: async.Stream$(html$.MessageEvent) + })); + dart.setLibraryUri(html$.DedicatedWorkerGlobalScope, I[148]); + dart.defineLazy(html$.DedicatedWorkerGlobalScope, { + /*html$.DedicatedWorkerGlobalScope.messageEvent*/get messageEvent() { + return C[312] || CT.C312; + }, + /*html$.DedicatedWorkerGlobalScope.PERSISTENT*/get PERSISTENT() { + return 1; + }, + /*html$.DedicatedWorkerGlobalScope.TEMPORARY*/get TEMPORARY() { + return 0; + } + }, false); + dart.registerExtension("DedicatedWorkerGlobalScope", html$.DedicatedWorkerGlobalScope); + html$.DeprecatedStorageInfo = class DeprecatedStorageInfo extends _interceptors.Interceptor { + [S$0.$queryUsageAndQuota](...args) { + return this.queryUsageAndQuota.apply(this, args); + } + [S$0.$requestQuota](...args) { + return this.requestQuota.apply(this, args); + } + }; + dart.addTypeTests(html$.DeprecatedStorageInfo); + dart.addTypeCaches(html$.DeprecatedStorageInfo); + dart.setMethodSignature(html$.DeprecatedStorageInfo, () => ({ + __proto__: dart.getMethods(html$.DeprecatedStorageInfo.__proto__), + [S$0.$queryUsageAndQuota]: dart.fnType(dart.void, [core.int], [dart.nullable(dart.fnType(dart.void, [core.int, core.int])), dart.nullable(dart.fnType(dart.void, [html$.DomError]))]), + [S$0.$requestQuota]: dart.fnType(dart.void, [core.int, core.int], [dart.nullable(dart.fnType(dart.void, [core.int])), dart.nullable(dart.fnType(dart.void, [html$.DomError]))]) + })); + dart.setLibraryUri(html$.DeprecatedStorageInfo, I[148]); + dart.defineLazy(html$.DeprecatedStorageInfo, { + /*html$.DeprecatedStorageInfo.PERSISTENT*/get PERSISTENT() { + return 1; + }, + /*html$.DeprecatedStorageInfo.TEMPORARY*/get TEMPORARY() { + return 0; + } + }, false); + dart.registerExtension("DeprecatedStorageInfo", html$.DeprecatedStorageInfo); + html$.DeprecatedStorageQuota = class DeprecatedStorageQuota extends _interceptors.Interceptor { + [S$0.$queryUsageAndQuota](...args) { + return this.queryUsageAndQuota.apply(this, args); + } + [S$0.$requestQuota](...args) { + return this.requestQuota.apply(this, args); + } + }; + dart.addTypeTests(html$.DeprecatedStorageQuota); + dart.addTypeCaches(html$.DeprecatedStorageQuota); + dart.setMethodSignature(html$.DeprecatedStorageQuota, () => ({ + __proto__: dart.getMethods(html$.DeprecatedStorageQuota.__proto__), + [S$0.$queryUsageAndQuota]: dart.fnType(dart.void, [dart.fnType(dart.void, [core.int, core.int])], [dart.nullable(dart.fnType(dart.void, [html$.DomError]))]), + [S$0.$requestQuota]: dart.fnType(dart.void, [core.int], [dart.nullable(dart.fnType(dart.void, [core.int])), dart.nullable(dart.fnType(dart.void, [html$.DomError]))]) + })); + dart.setLibraryUri(html$.DeprecatedStorageQuota, I[148]); + dart.registerExtension("DeprecatedStorageQuota", html$.DeprecatedStorageQuota); + html$.ReportBody = class ReportBody extends _interceptors.Interceptor {}; + dart.addTypeTests(html$.ReportBody); + dart.addTypeCaches(html$.ReportBody); + dart.setLibraryUri(html$.ReportBody, I[148]); + dart.registerExtension("ReportBody", html$.ReportBody); + html$.DeprecationReport = class DeprecationReport extends html$.ReportBody { + get [S$0.$lineNumber]() { + return this.lineNumber; + } + get [$message]() { + return this.message; + } + get [S$0.$sourceFile]() { + return this.sourceFile; + } + }; + dart.addTypeTests(html$.DeprecationReport); + dart.addTypeCaches(html$.DeprecationReport); + dart.setGetterSignature(html$.DeprecationReport, () => ({ + __proto__: dart.getGetters(html$.DeprecationReport.__proto__), + [S$0.$lineNumber]: dart.nullable(core.int), + [$message]: dart.nullable(core.String), + [S$0.$sourceFile]: dart.nullable(core.String) + })); + dart.setLibraryUri(html$.DeprecationReport, I[148]); + dart.registerExtension("DeprecationReport", html$.DeprecationReport); + html$.DetailsElement = class DetailsElement extends html$.HtmlElement { + static new() { + return html$.DetailsElement.as(html$.document[S.$createElement]("details")); + } + static get supported() { + return html$.Element.isTagSupported("details"); + } + get [S.$open]() { + return this.open; + } + set [S.$open](value) { + this.open = value; + } + }; + (html$.DetailsElement.created = function() { + html$.DetailsElement.__proto__.created.call(this); + ; + }).prototype = html$.DetailsElement.prototype; + dart.addTypeTests(html$.DetailsElement); + dart.addTypeCaches(html$.DetailsElement); + dart.setGetterSignature(html$.DetailsElement, () => ({ + __proto__: dart.getGetters(html$.DetailsElement.__proto__), + [S.$open]: dart.nullable(core.bool) + })); + dart.setSetterSignature(html$.DetailsElement, () => ({ + __proto__: dart.getSetters(html$.DetailsElement.__proto__), + [S.$open]: dart.nullable(core.bool) + })); + dart.setLibraryUri(html$.DetailsElement, I[148]); + dart.registerExtension("HTMLDetailsElement", html$.DetailsElement); + html$.DetectedBarcode = class DetectedBarcode$ extends _interceptors.Interceptor { + static new() { + return html$.DetectedBarcode._create_1(); + } + static _create_1() { + return new DetectedBarcode(); + } + get [$boundingBox]() { + return this.boundingBox; + } + get [S$0.$cornerPoints]() { + return this.cornerPoints; + } + get [S$0.$rawValue]() { + return this.rawValue; + } + }; + dart.addTypeTests(html$.DetectedBarcode); + dart.addTypeCaches(html$.DetectedBarcode); + dart.setGetterSignature(html$.DetectedBarcode, () => ({ + __proto__: dart.getGetters(html$.DetectedBarcode.__proto__), + [$boundingBox]: dart.nullable(math.Rectangle$(core.num)), + [S$0.$cornerPoints]: dart.nullable(core.List), + [S$0.$rawValue]: dart.nullable(core.String) + })); + dart.setLibraryUri(html$.DetectedBarcode, I[148]); + dart.registerExtension("DetectedBarcode", html$.DetectedBarcode); + html$.DetectedFace = class DetectedFace$ extends _interceptors.Interceptor { + static new() { + return html$.DetectedFace._create_1(); + } + static _create_1() { + return new DetectedFace(); + } + get [$boundingBox]() { + return this.boundingBox; + } + get [S$0.$landmarks]() { + return this.landmarks; + } + }; + dart.addTypeTests(html$.DetectedFace); + dart.addTypeCaches(html$.DetectedFace); + dart.setGetterSignature(html$.DetectedFace, () => ({ + __proto__: dart.getGetters(html$.DetectedFace.__proto__), + [$boundingBox]: dart.nullable(math.Rectangle$(core.num)), + [S$0.$landmarks]: dart.nullable(core.List) + })); + dart.setLibraryUri(html$.DetectedFace, I[148]); + dart.registerExtension("DetectedFace", html$.DetectedFace); + html$.DetectedText = class DetectedText$ extends _interceptors.Interceptor { + static new() { + return html$.DetectedText._create_1(); + } + static _create_1() { + return new DetectedText(); + } + get [$boundingBox]() { + return this.boundingBox; + } + get [S$0.$cornerPoints]() { + return this.cornerPoints; + } + get [S$0.$rawValue]() { + return this.rawValue; + } + }; + dart.addTypeTests(html$.DetectedText); + dart.addTypeCaches(html$.DetectedText); + dart.setGetterSignature(html$.DetectedText, () => ({ + __proto__: dart.getGetters(html$.DetectedText.__proto__), + [$boundingBox]: dart.nullable(math.Rectangle$(core.num)), + [S$0.$cornerPoints]: dart.nullable(core.List), + [S$0.$rawValue]: dart.nullable(core.String) + })); + dart.setLibraryUri(html$.DetectedText, I[148]); + dart.registerExtension("DetectedText", html$.DetectedText); + html$.DeviceAcceleration = class DeviceAcceleration extends _interceptors.Interceptor { + get [S$.$x]() { + return this.x; + } + get [S$.$y]() { + return this.y; + } + get [S$.$z]() { + return this.z; + } + }; + dart.addTypeTests(html$.DeviceAcceleration); + dart.addTypeCaches(html$.DeviceAcceleration); + dart.setGetterSignature(html$.DeviceAcceleration, () => ({ + __proto__: dart.getGetters(html$.DeviceAcceleration.__proto__), + [S$.$x]: dart.nullable(core.num), + [S$.$y]: dart.nullable(core.num), + [S$.$z]: dart.nullable(core.num) + })); + dart.setLibraryUri(html$.DeviceAcceleration, I[148]); + dart.registerExtension("DeviceAcceleration", html$.DeviceAcceleration); + html$.DeviceMotionEvent = class DeviceMotionEvent$ extends html$.Event { + static new(type, eventInitDict = null) { + if (type == null) dart.nullFailed(I[147], 9480, 36, "type"); + if (eventInitDict != null) { + let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); + return html$.DeviceMotionEvent._create_1(type, eventInitDict_1); + } + return html$.DeviceMotionEvent._create_2(type); + } + static _create_1(type, eventInitDict) { + return new DeviceMotionEvent(type, eventInitDict); + } + static _create_2(type) { + return new DeviceMotionEvent(type); + } + get [S$0.$acceleration]() { + return this.acceleration; + } + get [S$0.$accelerationIncludingGravity]() { + return this.accelerationIncludingGravity; + } + get [S$0.$interval]() { + return this.interval; + } + get [S$0.$rotationRate]() { + return this.rotationRate; + } + }; + dart.addTypeTests(html$.DeviceMotionEvent); + dart.addTypeCaches(html$.DeviceMotionEvent); + dart.setGetterSignature(html$.DeviceMotionEvent, () => ({ + __proto__: dart.getGetters(html$.DeviceMotionEvent.__proto__), + [S$0.$acceleration]: dart.nullable(html$.DeviceAcceleration), + [S$0.$accelerationIncludingGravity]: dart.nullable(html$.DeviceAcceleration), + [S$0.$interval]: dart.nullable(core.num), + [S$0.$rotationRate]: dart.nullable(html$.DeviceRotationRate) + })); + dart.setLibraryUri(html$.DeviceMotionEvent, I[148]); + dart.registerExtension("DeviceMotionEvent", html$.DeviceMotionEvent); + html$.DeviceOrientationEvent = class DeviceOrientationEvent$ extends html$.Event { + static new(type, eventInitDict = null) { + if (type == null) dart.nullFailed(I[147], 9511, 41, "type"); + if (eventInitDict != null) { + let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); + return html$.DeviceOrientationEvent._create_1(type, eventInitDict_1); + } + return html$.DeviceOrientationEvent._create_2(type); + } + static _create_1(type, eventInitDict) { + return new DeviceOrientationEvent(type, eventInitDict); + } + static _create_2(type) { + return new DeviceOrientationEvent(type); + } + get [S$0.$absolute]() { + return this.absolute; + } + get [S$0.$alpha]() { + return this.alpha; + } + get [S$0.$beta]() { + return this.beta; + } + get [S$0.$gamma]() { + return this.gamma; + } + }; + dart.addTypeTests(html$.DeviceOrientationEvent); + dart.addTypeCaches(html$.DeviceOrientationEvent); + dart.setGetterSignature(html$.DeviceOrientationEvent, () => ({ + __proto__: dart.getGetters(html$.DeviceOrientationEvent.__proto__), + [S$0.$absolute]: dart.nullable(core.bool), + [S$0.$alpha]: dart.nullable(core.num), + [S$0.$beta]: dart.nullable(core.num), + [S$0.$gamma]: dart.nullable(core.num) + })); + dart.setLibraryUri(html$.DeviceOrientationEvent, I[148]); + dart.registerExtension("DeviceOrientationEvent", html$.DeviceOrientationEvent); + html$.DeviceRotationRate = class DeviceRotationRate extends _interceptors.Interceptor { + get [S$0.$alpha]() { + return this.alpha; + } + get [S$0.$beta]() { + return this.beta; + } + get [S$0.$gamma]() { + return this.gamma; + } + }; + dart.addTypeTests(html$.DeviceRotationRate); + dart.addTypeCaches(html$.DeviceRotationRate); + dart.setGetterSignature(html$.DeviceRotationRate, () => ({ + __proto__: dart.getGetters(html$.DeviceRotationRate.__proto__), + [S$0.$alpha]: dart.nullable(core.num), + [S$0.$beta]: dart.nullable(core.num), + [S$0.$gamma]: dart.nullable(core.num) + })); + dart.setLibraryUri(html$.DeviceRotationRate, I[148]); + dart.registerExtension("DeviceRotationRate", html$.DeviceRotationRate); + html$.DialogElement = class DialogElement extends html$.HtmlElement { + get [S.$open]() { + return this.open; + } + set [S.$open](value) { + this.open = value; + } + get [S$.$returnValue]() { + return this.returnValue; + } + set [S$.$returnValue](value) { + this.returnValue = value; + } + [S.$close](...args) { + return this.close.apply(this, args); + } + [S$0.$show](...args) { + return this.show.apply(this, args); + } + [S$0.$showModal](...args) { + return this.showModal.apply(this, args); + } + }; + (html$.DialogElement.created = function() { + html$.DialogElement.__proto__.created.call(this); + ; + }).prototype = html$.DialogElement.prototype; + dart.addTypeTests(html$.DialogElement); + dart.addTypeCaches(html$.DialogElement); + dart.setMethodSignature(html$.DialogElement, () => ({ + __proto__: dart.getMethods(html$.DialogElement.__proto__), + [S.$close]: dart.fnType(dart.void, [], [dart.nullable(core.String)]), + [S$0.$show]: dart.fnType(dart.void, []), + [S$0.$showModal]: dart.fnType(dart.void, []) + })); + dart.setGetterSignature(html$.DialogElement, () => ({ + __proto__: dart.getGetters(html$.DialogElement.__proto__), + [S.$open]: dart.nullable(core.bool), + [S$.$returnValue]: dart.nullable(core.String) + })); + dart.setSetterSignature(html$.DialogElement, () => ({ + __proto__: dart.getSetters(html$.DialogElement.__proto__), + [S.$open]: dart.nullable(core.bool), + [S$.$returnValue]: dart.nullable(core.String) + })); + dart.setLibraryUri(html$.DialogElement, I[148]); + dart.registerExtension("HTMLDialogElement", html$.DialogElement); + html$.Entry = class Entry extends _interceptors.Interceptor { + get [S$0.$filesystem]() { + return this.filesystem; + } + get [S$0.$fullPath]() { + return this.fullPath; + } + get [S$0.$isDirectory]() { + return this.isDirectory; + } + get [S$0.$isFile]() { + return this.isFile; + } + get [$name]() { + return this.name; + } + [S$0._copyTo](...args) { + return this.copyTo.apply(this, args); + } + [S$0.$copyTo](parent, opts) { + if (parent == null) dart.nullFailed(I[147], 15347, 39, "parent"); + let name = opts && 'name' in opts ? opts.name : null; + let completer = T$0.CompleterOfEntry().new(); + this[S$0._copyTo](parent, name, dart.fn(value => { + if (value == null) dart.nullFailed(I[147], 15349, 28, "value"); + completer.complete(value); + }, T$0.EntryTovoid()), dart.fn(error => { + if (error == null) dart.nullFailed(I[147], 15351, 9, "error"); + completer.completeError(error); + }, T$0.DomExceptionTovoid())); + return completer.future; + } + [S$0._getMetadata](...args) { + return this.getMetadata.apply(this, args); + } + [S$0.$getMetadata]() { + let completer = T$0.CompleterOfMetadata().new(); + this[S$0._getMetadata](dart.fn(value => { + if (value == null) dart.nullFailed(I[147], 15364, 19, "value"); + _js_helper.applyExtension("Metadata", value); + completer.complete(value); + }, T$0.MetadataTovoid()), dart.fn(error => { + if (error == null) dart.nullFailed(I[147], 15367, 9, "error"); + completer.completeError(error); + }, T$0.DomExceptionTovoid())); + return completer.future; + } + [S$0._getParent](...args) { + return this.getParent.apply(this, args); + } + [S$0.$getParent]() { + let completer = T$0.CompleterOfEntry().new(); + this[S$0._getParent](dart.fn(value => { + if (value == null) dart.nullFailed(I[147], 15380, 17, "value"); + _js_helper.applyExtension("Entry", value); + completer.complete(value); + }, T$0.EntryTovoid()), dart.fn(error => { + if (error == null) dart.nullFailed(I[147], 15383, 9, "error"); + completer.completeError(error); + }, T$0.DomExceptionTovoid())); + return completer.future; + } + [S$0._moveTo](...args) { + return this.moveTo.apply(this, args); + } + [S$.$moveTo](parent, opts) { + if (parent == null) dart.nullFailed(I[147], 15396, 39, "parent"); + let name = opts && 'name' in opts ? opts.name : null; + let completer = T$0.CompleterOfEntry().new(); + this[S$0._moveTo](parent, name, dart.fn(value => { + if (value == null) dart.nullFailed(I[147], 15398, 28, "value"); + completer.complete(value); + }, T$0.EntryTovoid()), dart.fn(error => { + if (error == null) dart.nullFailed(I[147], 15400, 9, "error"); + completer.completeError(error); + }, T$0.DomExceptionTovoid())); + return completer.future; + } + [S$0._remove$1](...args) { + return this.remove.apply(this, args); + } + [$remove]() { + let completer = async.Completer.new(); + this[S$0._remove$1](dart.fn(() => { + completer.complete(); + }, T$.VoidTovoid()), dart.fn(error => { + if (error == null) dart.nullFailed(I[147], 15415, 9, "error"); + completer.completeError(error); + }, T$0.DomExceptionTovoid())); + return completer.future; + } + [S$0.$toUrl](...args) { + return this.toURL.apply(this, args); + } + }; + dart.addTypeTests(html$.Entry); + dart.addTypeCaches(html$.Entry); + dart.setMethodSignature(html$.Entry, () => ({ + __proto__: dart.getMethods(html$.Entry.__proto__), + [S$0._copyTo]: dart.fnType(dart.void, [html$.DirectoryEntry], [dart.nullable(core.String), dart.nullable(dart.fnType(dart.void, [html$.Entry])), dart.nullable(dart.fnType(dart.void, [html$.DomException]))]), + [S$0.$copyTo]: dart.fnType(async.Future$(html$.Entry), [html$.DirectoryEntry], {name: dart.nullable(core.String)}, {}), + [S$0._getMetadata]: dart.fnType(dart.void, [dart.fnType(dart.void, [html$.Metadata])], [dart.nullable(dart.fnType(dart.void, [html$.DomException]))]), + [S$0.$getMetadata]: dart.fnType(async.Future$(html$.Metadata), []), + [S$0._getParent]: dart.fnType(dart.void, [], [dart.nullable(dart.fnType(dart.void, [html$.Entry])), dart.nullable(dart.fnType(dart.void, [html$.DomException]))]), + [S$0.$getParent]: dart.fnType(async.Future$(html$.Entry), []), + [S$0._moveTo]: dart.fnType(dart.void, [html$.DirectoryEntry], [dart.nullable(core.String), dart.nullable(dart.fnType(dart.void, [html$.Entry])), dart.nullable(dart.fnType(dart.void, [html$.DomException]))]), + [S$.$moveTo]: dart.fnType(async.Future$(html$.Entry), [html$.DirectoryEntry], {name: dart.nullable(core.String)}, {}), + [S$0._remove$1]: dart.fnType(dart.void, [dart.fnType(dart.void, [])], [dart.nullable(dart.fnType(dart.void, [html$.DomException]))]), + [$remove]: dart.fnType(async.Future, []), + [S$0.$toUrl]: dart.fnType(core.String, []) + })); + dart.setGetterSignature(html$.Entry, () => ({ + __proto__: dart.getGetters(html$.Entry.__proto__), + [S$0.$filesystem]: dart.nullable(html$.FileSystem), + [S$0.$fullPath]: dart.nullable(core.String), + [S$0.$isDirectory]: dart.nullable(core.bool), + [S$0.$isFile]: dart.nullable(core.bool), + [$name]: dart.nullable(core.String) + })); + dart.setLibraryUri(html$.Entry, I[148]); + dart.registerExtension("Entry", html$.Entry); + html$.DirectoryEntry = class DirectoryEntry extends html$.Entry { + [S$0.$createDirectory](path, opts) { + if (path == null) dart.nullFailed(I[147], 9594, 40, "path"); + let exclusive = opts && 'exclusive' in opts ? opts.exclusive : false; + if (exclusive == null) dart.nullFailed(I[147], 9594, 52, "exclusive"); + return this[S$0._getDirectory](path, {options: new _js_helper.LinkedMap.from(["create", true, "exclusive", exclusive])}); + } + [S$0.$createReader]() { + let reader = this[S$0._createReader](); + _js_helper.applyExtension("DirectoryReader", reader); + return reader; + } + [S$0.$getDirectory](path) { + if (path == null) dart.nullFailed(I[147], 9610, 37, "path"); + return this[S$0._getDirectory](path); + } + [S$0.$createFile](path, opts) { + if (path == null) dart.nullFailed(I[147], 9619, 35, "path"); + let exclusive = opts && 'exclusive' in opts ? opts.exclusive : false; + if (exclusive == null) dart.nullFailed(I[147], 9619, 47, "exclusive"); + return this[S$0._getFile](path, {options: new _js_helper.LinkedMap.from(["create", true, "exclusive", exclusive])}); + } + [S$0.$getFile](path) { + if (path == null) dart.nullFailed(I[147], 9628, 32, "path"); + return this[S$0._getFile](path); + } + [S$0._createReader](...args) { + return this.createReader.apply(this, args); + } + [S$0.__getDirectory](path, options = null, successCallback = null, errorCallback = null) { + if (errorCallback != null) { + let options_1 = html_common.convertDartToNative_Dictionary(options); + this[S$0.__getDirectory_1](path, options_1, successCallback, errorCallback); + return; + } + if (successCallback != null) { + let options_1 = html_common.convertDartToNative_Dictionary(options); + this[S$0.__getDirectory_2](path, options_1, successCallback); + return; + } + if (options != null) { + let options_1 = html_common.convertDartToNative_Dictionary(options); + this[S$0.__getDirectory_3](path, options_1); + return; + } + this[S$0.__getDirectory_4](path); + return; + } + [S$0.__getDirectory_1](...args) { + return this.getDirectory.apply(this, args); + } + [S$0.__getDirectory_2](...args) { + return this.getDirectory.apply(this, args); + } + [S$0.__getDirectory_3](...args) { + return this.getDirectory.apply(this, args); + } + [S$0.__getDirectory_4](...args) { + return this.getDirectory.apply(this, args); + } + [S$0._getDirectory](path, opts) { + let options = opts && 'options' in opts ? opts.options : null; + let completer = T$0.CompleterOfEntry().new(); + this[S$0.__getDirectory](path, options, dart.fn(value => { + if (value == null) dart.nullFailed(I[147], 9676, 36, "value"); + completer.complete(value); + }, T$0.EntryTovoid()), dart.fn(error => { + if (error == null) dart.nullFailed(I[147], 9678, 9, "error"); + completer.completeError(error); + }, T$0.DomExceptionTovoid())); + return completer.future; + } + [S$0.__getFile](path, options = null, successCallback = null, errorCallback = null) { + if (errorCallback != null) { + let options_1 = html_common.convertDartToNative_Dictionary(options); + this[S$0.__getFile_1](path, options_1, successCallback, errorCallback); + return; + } + if (successCallback != null) { + let options_1 = html_common.convertDartToNative_Dictionary(options); + this[S$0.__getFile_2](path, options_1, successCallback); + return; + } + if (options != null) { + let options_1 = html_common.convertDartToNative_Dictionary(options); + this[S$0.__getFile_3](path, options_1); + return; + } + this[S$0.__getFile_4](path); + return; + } + [S$0.__getFile_1](...args) { + return this.getFile.apply(this, args); + } + [S$0.__getFile_2](...args) { + return this.getFile.apply(this, args); + } + [S$0.__getFile_3](...args) { + return this.getFile.apply(this, args); + } + [S$0.__getFile_4](...args) { + return this.getFile.apply(this, args); + } + [S$0._getFile](path, opts) { + let options = opts && 'options' in opts ? opts.options : null; + let completer = T$0.CompleterOfEntry().new(); + this[S$0.__getFile](path, options, dart.fn(value => { + if (value == null) dart.nullFailed(I[147], 9720, 31, "value"); + _js_helper.applyExtension("FileEntry", value); + completer.complete(value); + }, T$0.EntryTovoid()), dart.fn(error => { + if (error == null) dart.nullFailed(I[147], 9723, 9, "error"); + completer.completeError(error); + }, T$0.DomExceptionTovoid())); + return completer.future; + } + [S$0._removeRecursively](...args) { + return this.removeRecursively.apply(this, args); + } + [S$0.$removeRecursively]() { + let completer = async.Completer.new(); + this[S$0._removeRecursively](dart.fn(() => { + completer.complete(); + }, T$.VoidTovoid()), dart.fn(error => { + if (error == null) dart.nullFailed(I[147], 9738, 9, "error"); + completer.completeError(error); + }, T$0.DomExceptionTovoid())); + return completer.future; + } + }; + dart.addTypeTests(html$.DirectoryEntry); + dart.addTypeCaches(html$.DirectoryEntry); + dart.setMethodSignature(html$.DirectoryEntry, () => ({ + __proto__: dart.getMethods(html$.DirectoryEntry.__proto__), + [S$0.$createDirectory]: dart.fnType(async.Future$(html$.Entry), [core.String], {exclusive: core.bool}, {}), + [S$0.$createReader]: dart.fnType(html$.DirectoryReader, []), + [S$0.$getDirectory]: dart.fnType(async.Future$(html$.Entry), [core.String]), + [S$0.$createFile]: dart.fnType(async.Future$(html$.Entry), [core.String], {exclusive: core.bool}, {}), + [S$0.$getFile]: dart.fnType(async.Future$(html$.Entry), [core.String]), + [S$0._createReader]: dart.fnType(html$.DirectoryReader, []), + [S$0.__getDirectory]: dart.fnType(dart.void, [dart.nullable(core.String)], [dart.nullable(core.Map), dart.nullable(dart.fnType(dart.void, [html$.Entry])), dart.nullable(dart.fnType(dart.void, [html$.DomException]))]), + [S$0.__getDirectory_1]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.nullable(dart.fnType(dart.void, [html$.Entry])), dart.nullable(dart.fnType(dart.void, [html$.DomException]))]), + [S$0.__getDirectory_2]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.nullable(dart.fnType(dart.void, [html$.Entry]))]), + [S$0.__getDirectory_3]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic]), + [S$0.__getDirectory_4]: dart.fnType(dart.void, [dart.dynamic]), + [S$0._getDirectory]: dart.fnType(async.Future$(html$.Entry), [dart.nullable(core.String)], {options: dart.nullable(core.Map)}, {}), + [S$0.__getFile]: dart.fnType(dart.void, [dart.nullable(core.String)], [dart.nullable(core.Map), dart.nullable(dart.fnType(dart.void, [html$.Entry])), dart.nullable(dart.fnType(dart.void, [html$.DomException]))]), + [S$0.__getFile_1]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.nullable(dart.fnType(dart.void, [html$.Entry])), dart.nullable(dart.fnType(dart.void, [html$.DomException]))]), + [S$0.__getFile_2]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.nullable(dart.fnType(dart.void, [html$.Entry]))]), + [S$0.__getFile_3]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic]), + [S$0.__getFile_4]: dart.fnType(dart.void, [dart.dynamic]), + [S$0._getFile]: dart.fnType(async.Future$(html$.Entry), [dart.nullable(core.String)], {options: dart.nullable(core.Map)}, {}), + [S$0._removeRecursively]: dart.fnType(dart.void, [dart.fnType(dart.void, [])], [dart.nullable(dart.fnType(dart.void, [html$.DomException]))]), + [S$0.$removeRecursively]: dart.fnType(async.Future, []) + })); + dart.setLibraryUri(html$.DirectoryEntry, I[148]); + dart.registerExtension("DirectoryEntry", html$.DirectoryEntry); + html$.DirectoryReader = class DirectoryReader extends _interceptors.Interceptor { + [S$0._readEntries](...args) { + return this.readEntries.apply(this, args); + } + [S$0.$readEntries]() { + let completer = T$0.CompleterOfListOfEntry().new(); + this[S$0._readEntries](dart.fn(values => { + if (values == null) dart.nullFailed(I[147], 9761, 19, "values"); + values[$forEach](dart.fn(value => { + _js_helper.applyExtension("Entry", value); + let entry = html$.Entry.as(value); + if (dart.nullCheck(entry.isFile)) + _js_helper.applyExtension("FileEntry", entry); + else if (dart.nullCheck(entry.isDirectory)) _js_helper.applyExtension("DirectoryEntry", entry); + }, T$.dynamicTovoid())); + completer.complete(T$0.ListOfEntry().from(values)); + }, T$0.ListTovoid()), dart.fn(error => { + if (error == null) dart.nullFailed(I[147], 9770, 9, "error"); + completer.completeError(error); + }, T$0.DomExceptionTovoid())); + return completer.future; + } + }; + dart.addTypeTests(html$.DirectoryReader); + dart.addTypeCaches(html$.DirectoryReader); + dart.setMethodSignature(html$.DirectoryReader, () => ({ + __proto__: dart.getMethods(html$.DirectoryReader.__proto__), + [S$0._readEntries]: dart.fnType(dart.void, [dart.fnType(dart.void, [core.List])], [dart.nullable(dart.fnType(dart.void, [html$.DomException]))]), + [S$0.$readEntries]: dart.fnType(async.Future$(core.List$(html$.Entry)), []) + })); + dart.setLibraryUri(html$.DirectoryReader, I[148]); + dart.registerExtension("DirectoryReader", html$.DirectoryReader); + html$.DivElement = class DivElement extends html$.HtmlElement { + static new() { + return html$.document.createElement("div"); + } + }; + (html$.DivElement.created = function() { + html$.DivElement.__proto__.created.call(this); + ; + }).prototype = html$.DivElement.prototype; + dart.addTypeTests(html$.DivElement); + dart.addTypeCaches(html$.DivElement); + dart.setLibraryUri(html$.DivElement, I[148]); + dart.registerExtension("HTMLDivElement", html$.DivElement); + html$.Document = class Document$ extends html$.Node { + static new() { + return html$.Document._create_1(); + } + static _create_1() { + return new Document(); + } + get [S$0.$addressSpace]() { + return this.addressSpace; + } + get [S$0._body]() { + return this.body; + } + set [S$0._body](value) { + this.body = value; + } + get [S$0.$contentType]() { + return this.contentType; + } + get [S$0.$cookie]() { + return this.cookie; + } + set [S$0.$cookie](value) { + this.cookie = value; + } + get [S$0.$currentScript]() { + return this.currentScript; + } + get [S$0.$window]() { + return html$._convertNativeToDart_Window(this[S$0._get_window]); + } + get [S$0._get_window]() { + return this.defaultView; + } + get [S$0.$documentElement]() { + return this.documentElement; + } + get [S$0.$domain]() { + return this.domain; + } + get [S$0.$fullscreenEnabled]() { + return this.fullscreenEnabled; + } + get [S$0._head$1]() { + return this.head; + } + get [S.$hidden]() { + return this.hidden; + } + get [S$0.$implementation]() { + return this.implementation; + } + get [S$0._lastModified]() { + return this.lastModified; + } + get [S$.$origin]() { + return this.origin; + } + get [S$0._preferredStylesheetSet]() { + return this.preferredStylesheetSet; + } + get [S.$readyState]() { + return this.readyState; + } + get [S$1._referrer]() { + return this.referrer; + } + get [S$1.$rootElement]() { + return this.rootElement; + } + get [S$1.$rootScroller]() { + return this.rootScroller; + } + set [S$1.$rootScroller](value) { + this.rootScroller = value; + } + get [S$1.$scrollingElement]() { + return this.scrollingElement; + } + get [S$1._selectedStylesheetSet]() { + return this.selectedStylesheetSet; + } + set [S$1._selectedStylesheetSet](value) { + this.selectedStylesheetSet = value; + } + get [S$1.$suborigin]() { + return this.suborigin; + } + get [S$.$timeline]() { + return this.timeline; + } + get [S$1._title]() { + return this.title; + } + set [S$1._title](value) { + this.title = value; + } + get [S$1._visibilityState]() { + return this.visibilityState; + } + get [S$1._webkitFullscreenElement]() { + return this.webkitFullscreenElement; + } + get [S$1._webkitFullscreenEnabled]() { + return this.webkitFullscreenEnabled; + } + get [S$1._webkitHidden]() { + return this.webkitHidden; + } + get [S$1._webkitVisibilityState]() { + return this.webkitVisibilityState; + } + [S$1.$adoptNode](...args) { + return this.adoptNode.apply(this, args); + } + [S$1._caretRangeFromPoint](...args) { + return this.caretRangeFromPoint.apply(this, args); + } + [S$1.$createDocumentFragment](...args) { + return this.createDocumentFragment.apply(this, args); + } + [S$1._createElement](...args) { + return this.createElement.apply(this, args); + } + [S$1._createElementNS](...args) { + return this.createElementNS.apply(this, args); + } + [S._createEvent](...args) { + return this.createEvent.apply(this, args); + } + [S$1.$createRange](...args) { + return this.createRange.apply(this, args); + } + [S$1._createTextNode](...args) { + return this.createTextNode.apply(this, args); + } + [S$1._createTouch](view, target, identifier, pageX, pageY, screenX, screenY, radiusX = null, radiusY = null, rotationAngle = null, force = null) { + if (view == null) dart.nullFailed(I[147], 10002, 29, "view"); + if (target == null) dart.nullFailed(I[147], 10002, 47, "target"); + if (identifier == null) dart.nullFailed(I[147], 10002, 59, "identifier"); + if (pageX == null) dart.nullFailed(I[147], 10002, 75, "pageX"); + if (pageY == null) dart.nullFailed(I[147], 10003, 11, "pageY"); + if (screenX == null) dart.nullFailed(I[147], 10003, 22, "screenX"); + if (screenY == null) dart.nullFailed(I[147], 10003, 35, "screenY"); + if (force != null) { + let target_1 = html$._convertDartToNative_EventTarget(target); + return this[S$1._createTouch_1](view, target_1, identifier, pageX, pageY, screenX, screenY, radiusX, radiusY, rotationAngle, force); + } + if (rotationAngle != null) { + let target_1 = html$._convertDartToNative_EventTarget(target); + return this[S$1._createTouch_2](view, target_1, identifier, pageX, pageY, screenX, screenY, radiusX, radiusY, rotationAngle); + } + if (radiusY != null) { + let target_1 = html$._convertDartToNative_EventTarget(target); + return this[S$1._createTouch_3](view, target_1, identifier, pageX, pageY, screenX, screenY, radiusX, radiusY); + } + if (radiusX != null) { + let target_1 = html$._convertDartToNative_EventTarget(target); + return this[S$1._createTouch_4](view, target_1, identifier, pageX, pageY, screenX, screenY, radiusX); + } + let target_1 = html$._convertDartToNative_EventTarget(target); + return this[S$1._createTouch_5](view, target_1, identifier, pageX, pageY, screenX, screenY); + } + [S$1._createTouch_1](...args) { + return this.createTouch.apply(this, args); + } + [S$1._createTouch_2](...args) { + return this.createTouch.apply(this, args); + } + [S$1._createTouch_3](...args) { + return this.createTouch.apply(this, args); + } + [S$1._createTouch_4](...args) { + return this.createTouch.apply(this, args); + } + [S$1._createTouch_5](...args) { + return this.createTouch.apply(this, args); + } + [S$1._createTouchList](...args) { + return this.createTouchList.apply(this, args); + } + [S$1.$execCommand](...args) { + return this.execCommand.apply(this, args); + } + [S$1.$exitFullscreen](...args) { + return this.exitFullscreen.apply(this, args); + } + [S$1.$exitPointerLock](...args) { + return this.exitPointerLock.apply(this, args); + } + [S.$getAnimations](...args) { + return this.getAnimations.apply(this, args); + } + [S.$getElementsByClassName](...args) { + return this.getElementsByClassName.apply(this, args); + } + [S$1.$getElementsByName](...args) { + return this.getElementsByName.apply(this, args); + } + [S$1.$getElementsByTagName](...args) { + return this.getElementsByTagName.apply(this, args); + } + [S$1.$importNode](...args) { + return this.importNode.apply(this, args); + } + [S$1.$queryCommandEnabled](...args) { + return this.queryCommandEnabled.apply(this, args); + } + [S$1.$queryCommandIndeterm](...args) { + return this.queryCommandIndeterm.apply(this, args); + } + [S$1.$queryCommandState](...args) { + return this.queryCommandState.apply(this, args); + } + [S$1.$queryCommandSupported](...args) { + return this.queryCommandSupported.apply(this, args); + } + [S$1.$queryCommandValue](...args) { + return this.queryCommandValue.apply(this, args); + } + [S$1.$registerElement2](type, options = null) { + if (type == null) dart.nullFailed(I[147], 10081, 36, "type"); + if (options != null) { + let options_1 = html_common.convertDartToNative_Dictionary(options); + return this[S$1._registerElement2_1](type, options_1); + } + return this[S$1._registerElement2_2](type); + } + [S$1._registerElement2_1](...args) { + return this.registerElement.apply(this, args); + } + [S$1._registerElement2_2](...args) { + return this.registerElement.apply(this, args); + } + [S$1._webkitExitFullscreen](...args) { + return this.webkitExitFullscreen.apply(this, args); + } + [S$1.$getElementById](...args) { + return this.getElementById.apply(this, args); + } + get [S$1.$activeElement]() { + return this.activeElement; + } + get [S$1.$fullscreenElement]() { + return this.fullscreenElement; + } + get [S$1.$pointerLockElement]() { + return this.pointerLockElement; + } + get [S$1._styleSheets]() { + return this.styleSheets; + } + [S$1._elementFromPoint](...args) { + return this.elementFromPoint.apply(this, args); + } + [S$1.$elementsFromPoint](...args) { + return this.elementsFromPoint.apply(this, args); + } + get [S$1.$fonts]() { + return this.fonts; + } + get [S._childElementCount]() { + return this.childElementCount; + } + get [S._children]() { + return this.children; + } + get [S._firstElementChild]() { + return this.firstElementChild; + } + get [S._lastElementChild]() { + return this.lastElementChild; + } + [S.$querySelector](...args) { + return this.querySelector.apply(this, args); + } + [S._querySelectorAll](...args) { + return this.querySelectorAll.apply(this, args); + } + get [S.$onAbort]() { + return html$.Element.abortEvent.forTarget(this); + } + get [S.$onBeforeCopy]() { + return html$.Element.beforeCopyEvent.forTarget(this); + } + get [S.$onBeforeCut]() { + return html$.Element.beforeCutEvent.forTarget(this); + } + get [S.$onBeforePaste]() { + return html$.Element.beforePasteEvent.forTarget(this); + } + get [S.$onBlur]() { + return html$.Element.blurEvent.forTarget(this); + } + get [S.$onCanPlay]() { + return html$.Element.canPlayEvent.forTarget(this); + } + get [S.$onCanPlayThrough]() { + return html$.Element.canPlayThroughEvent.forTarget(this); + } + get [S.$onChange]() { + return html$.Element.changeEvent.forTarget(this); + } + get [S.$onClick]() { + return html$.Element.clickEvent.forTarget(this); + } + get [S.$onContextMenu]() { + return html$.Element.contextMenuEvent.forTarget(this); + } + get [S.$onCopy]() { + return html$.Element.copyEvent.forTarget(this); + } + get [S.$onCut]() { + return html$.Element.cutEvent.forTarget(this); + } + get [S.$onDoubleClick]() { + return html$.Element.doubleClickEvent.forTarget(this); + } + get [S.$onDrag]() { + return html$.Element.dragEvent.forTarget(this); + } + get [S.$onDragEnd]() { + return html$.Element.dragEndEvent.forTarget(this); + } + get [S.$onDragEnter]() { + return html$.Element.dragEnterEvent.forTarget(this); + } + get [S.$onDragLeave]() { + return html$.Element.dragLeaveEvent.forTarget(this); + } + get [S.$onDragOver]() { + return html$.Element.dragOverEvent.forTarget(this); + } + get [S.$onDragStart]() { + return html$.Element.dragStartEvent.forTarget(this); + } + get [S.$onDrop]() { + return html$.Element.dropEvent.forTarget(this); + } + get [S.$onDurationChange]() { + return html$.Element.durationChangeEvent.forTarget(this); + } + get [S.$onEmptied]() { + return html$.Element.emptiedEvent.forTarget(this); + } + get [S.$onEnded]() { + return html$.Element.endedEvent.forTarget(this); + } + get [S.$onError]() { + return html$.Element.errorEvent.forTarget(this); + } + get [S.$onFocus]() { + return html$.Element.focusEvent.forTarget(this); + } + get [S.$onInput]() { + return html$.Element.inputEvent.forTarget(this); + } + get [S.$onInvalid]() { + return html$.Element.invalidEvent.forTarget(this); + } + get [S.$onKeyDown]() { + return html$.Element.keyDownEvent.forTarget(this); + } + get [S.$onKeyPress]() { + return html$.Element.keyPressEvent.forTarget(this); + } + get [S.$onKeyUp]() { + return html$.Element.keyUpEvent.forTarget(this); + } + get [S.$onLoad]() { + return html$.Element.loadEvent.forTarget(this); + } + get [S.$onLoadedData]() { + return html$.Element.loadedDataEvent.forTarget(this); + } + get [S.$onLoadedMetadata]() { + return html$.Element.loadedMetadataEvent.forTarget(this); + } + get [S.$onMouseDown]() { + return html$.Element.mouseDownEvent.forTarget(this); + } + get [S.$onMouseEnter]() { + return html$.Element.mouseEnterEvent.forTarget(this); + } + get [S.$onMouseLeave]() { + return html$.Element.mouseLeaveEvent.forTarget(this); + } + get [S.$onMouseMove]() { + return html$.Element.mouseMoveEvent.forTarget(this); + } + get [S.$onMouseOut]() { + return html$.Element.mouseOutEvent.forTarget(this); + } + get [S.$onMouseOver]() { + return html$.Element.mouseOverEvent.forTarget(this); + } + get [S.$onMouseUp]() { + return html$.Element.mouseUpEvent.forTarget(this); + } + get [S.$onMouseWheel]() { + return html$.Element.mouseWheelEvent.forTarget(this); + } + get [S.$onPaste]() { + return html$.Element.pasteEvent.forTarget(this); + } + get [S.$onPause]() { + return html$.Element.pauseEvent.forTarget(this); + } + get [S.$onPlay]() { + return html$.Element.playEvent.forTarget(this); + } + get [S.$onPlaying]() { + return html$.Element.playingEvent.forTarget(this); + } + get [S$1.$onPointerLockChange]() { + return html$.Document.pointerLockChangeEvent.forTarget(this); + } + get [S$1.$onPointerLockError]() { + return html$.Document.pointerLockErrorEvent.forTarget(this); + } + get [S.$onRateChange]() { + return html$.Element.rateChangeEvent.forTarget(this); + } + get [S$1.$onReadyStateChange]() { + return html$.Document.readyStateChangeEvent.forTarget(this); + } + get [S.$onReset]() { + return html$.Element.resetEvent.forTarget(this); + } + get [S.$onResize]() { + return html$.Element.resizeEvent.forTarget(this); + } + get [S.$onScroll]() { + return html$.Element.scrollEvent.forTarget(this); + } + get [S.$onSearch]() { + return html$.Element.searchEvent.forTarget(this); + } + get [S$1.$onSecurityPolicyViolation]() { + return html$.Document.securityPolicyViolationEvent.forTarget(this); + } + get [S.$onSeeked]() { + return html$.Element.seekedEvent.forTarget(this); + } + get [S.$onSeeking]() { + return html$.Element.seekingEvent.forTarget(this); + } + get [S.$onSelect]() { + return html$.Element.selectEvent.forTarget(this); + } + get [S$1.$onSelectionChange]() { + return html$.Document.selectionChangeEvent.forTarget(this); + } + get [S.$onSelectStart]() { + return html$.Element.selectStartEvent.forTarget(this); + } + get [S.$onStalled]() { + return html$.Element.stalledEvent.forTarget(this); + } + get [S.$onSubmit]() { + return html$.Element.submitEvent.forTarget(this); + } + get [S$.$onSuspend]() { + return html$.Element.suspendEvent.forTarget(this); + } + get [S$.$onTimeUpdate]() { + return html$.Element.timeUpdateEvent.forTarget(this); + } + get [S$.$onTouchCancel]() { + return html$.Element.touchCancelEvent.forTarget(this); + } + get [S$.$onTouchEnd]() { + return html$.Element.touchEndEvent.forTarget(this); + } + get [S$.$onTouchMove]() { + return html$.Element.touchMoveEvent.forTarget(this); + } + get [S$.$onTouchStart]() { + return html$.Element.touchStartEvent.forTarget(this); + } + get [S$.$onVolumeChange]() { + return html$.Element.volumeChangeEvent.forTarget(this); + } + get [S$.$onWaiting]() { + return html$.Element.waitingEvent.forTarget(this); + } + get [S$.$onFullscreenChange]() { + return html$.Element.fullscreenChangeEvent.forTarget(this); + } + get [S$.$onFullscreenError]() { + return html$.Element.fullscreenErrorEvent.forTarget(this); + } + [S.$querySelectorAll](T, selectors) { + if (selectors == null) dart.nullFailed(I[147], 10387, 61, "selectors"); + return new (html$._FrozenElementList$(T))._wrap(this[S._querySelectorAll](selectors)); + } + get [S$1.$supportsRegisterElement]() { + return "registerElement" in this; + } + get [S$1.$supportsRegister]() { + return this[S$1.$supportsRegisterElement]; + } + [S$1.$registerElement](tag, customElementClass, opts) { + if (tag == null) dart.nullFailed(I[147], 10399, 31, "tag"); + if (customElementClass == null) dart.nullFailed(I[147], 10399, 41, "customElementClass"); + let extendsTag = opts && 'extendsTag' in opts ? opts.extendsTag : null; + this[S$1.$registerElement2](tag, new _js_helper.LinkedMap.from(["prototype", customElementClass, "extends", extendsTag])); + } + [S.$createElement](tagName, typeExtension = null) { + if (tagName == null) dart.nullFailed(I[147], 10406, 32, "tagName"); + return html$.Element.as(typeExtension == null ? this[S$1._createElement_2](tagName) : this[S$1._createElement](tagName, typeExtension)); + } + [S$1._createElement_2](tagName) { + if (tagName == null) dart.nullFailed(I[147], 10414, 27, "tagName"); + return this.createElement(tagName); + } + [S$1._createElementNS_2](namespaceURI, qualifiedName) { + if (namespaceURI == null) dart.nullFailed(I[147], 10419, 29, "namespaceURI"); + if (qualifiedName == null) dart.nullFailed(I[147], 10419, 50, "qualifiedName"); + return this.createElementNS(namespaceURI, qualifiedName); + } + [S$1.$createElementNS](namespaceURI, qualifiedName, typeExtension = null) { + if (namespaceURI == null) dart.nullFailed(I[147], 10422, 34, "namespaceURI"); + if (qualifiedName == null) dart.nullFailed(I[147], 10422, 55, "qualifiedName"); + return html$.Element.as(typeExtension == null ? this[S$1._createElementNS_2](namespaceURI, qualifiedName) : this[S$1._createElementNS](namespaceURI, qualifiedName, typeExtension)); + } + [S$1._createNodeIterator](root, whatToShow = null, filter = null) { + if (root == null) dart.nullFailed(I[147], 10429, 41, "root"); + return this.createNodeIterator(root, whatToShow, filter, false); + } + [S$1._createTreeWalker](root, whatToShow = null, filter = null) { + if (root == null) dart.nullFailed(I[147], 10434, 37, "root"); + return this.createTreeWalker(root, whatToShow, filter, false); + } + get [S$1.$visibilityState]() { + return this.visibilityState || this.mozVisibilityState || this.msVisibilityState || this.webkitVisibilityState; + } + }; + dart.addTypeTests(html$.Document); + dart.addTypeCaches(html$.Document); + dart.setMethodSignature(html$.Document, () => ({ + __proto__: dart.getMethods(html$.Document.__proto__), + [S$1.$adoptNode]: dart.fnType(html$.Node, [html$.Node]), + [S$1._caretRangeFromPoint]: dart.fnType(html$.Range, [dart.nullable(core.int), dart.nullable(core.int)]), + [S$1.$createDocumentFragment]: dart.fnType(html$.DocumentFragment, []), + [S$1._createElement]: dart.fnType(html$.Element, [core.String], [dart.dynamic]), + [S$1._createElementNS]: dart.fnType(html$.Element, [dart.nullable(core.String), core.String], [dart.dynamic]), + [S._createEvent]: dart.fnType(html$.Event, [core.String]), + [S$1.$createRange]: dart.fnType(html$.Range, []), + [S$1._createTextNode]: dart.fnType(html$.Text, [core.String]), + [S$1._createTouch]: dart.fnType(html$.Touch, [html$.Window, html$.EventTarget, core.int, core.num, core.num, core.num, core.num], [dart.nullable(core.num), dart.nullable(core.num), dart.nullable(core.num), dart.nullable(core.num)]), + [S$1._createTouch_1]: dart.fnType(html$.Touch, [html$.Window, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic]), + [S$1._createTouch_2]: dart.fnType(html$.Touch, [html$.Window, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic]), + [S$1._createTouch_3]: dart.fnType(html$.Touch, [html$.Window, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic]), + [S$1._createTouch_4]: dart.fnType(html$.Touch, [html$.Window, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic]), + [S$1._createTouch_5]: dart.fnType(html$.Touch, [html$.Window, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic]), + [S$1._createTouchList]: dart.fnType(html$.TouchList, [html$.Touch]), + [S$1.$execCommand]: dart.fnType(core.bool, [core.String], [dart.nullable(core.bool), dart.nullable(core.String)]), + [S$1.$exitFullscreen]: dart.fnType(dart.void, []), + [S$1.$exitPointerLock]: dart.fnType(dart.void, []), + [S.$getAnimations]: dart.fnType(core.List$(html$.Animation), []), + [S.$getElementsByClassName]: dart.fnType(core.List$(html$.Node), [core.String]), + [S$1.$getElementsByName]: dart.fnType(core.List$(html$.Node), [core.String]), + [S$1.$getElementsByTagName]: dart.fnType(core.List$(html$.Node), [core.String]), + [S$1.$importNode]: dart.fnType(html$.Node, [html$.Node], [dart.nullable(core.bool)]), + [S$1.$queryCommandEnabled]: dart.fnType(core.bool, [core.String]), + [S$1.$queryCommandIndeterm]: dart.fnType(core.bool, [core.String]), + [S$1.$queryCommandState]: dart.fnType(core.bool, [core.String]), + [S$1.$queryCommandSupported]: dart.fnType(core.bool, [core.String]), + [S$1.$queryCommandValue]: dart.fnType(core.String, [core.String]), + [S$1.$registerElement2]: dart.fnType(core.Function, [core.String], [dart.nullable(core.Map)]), + [S$1._registerElement2_1]: dart.fnType(core.Function, [dart.dynamic, dart.dynamic]), + [S$1._registerElement2_2]: dart.fnType(core.Function, [dart.dynamic]), + [S$1._webkitExitFullscreen]: dart.fnType(dart.void, []), + [S$1.$getElementById]: dart.fnType(dart.nullable(html$.Element), [core.String]), + [S$1._elementFromPoint]: dart.fnType(dart.nullable(html$.Element), [core.int, core.int]), + [S$1.$elementsFromPoint]: dart.fnType(core.List$(html$.Element), [core.int, core.int]), + [S.$querySelector]: dart.fnType(dart.nullable(html$.Element), [core.String]), + [S._querySelectorAll]: dart.fnType(core.List$(html$.Node), [core.String]), + [S.$querySelectorAll]: dart.gFnType(T => [html$.ElementList$(T), [core.String]], T => [html$.Element]), + [S$1.$registerElement]: dart.fnType(dart.void, [core.String, core.Type], {extendsTag: dart.nullable(core.String)}, {}), + [S.$createElement]: dart.fnType(html$.Element, [core.String], [dart.nullable(core.String)]), + [S$1._createElement_2]: dart.fnType(dart.dynamic, [core.String]), + [S$1._createElementNS_2]: dart.fnType(dart.dynamic, [core.String, core.String]), + [S$1.$createElementNS]: dart.fnType(html$.Element, [core.String, core.String], [dart.nullable(core.String)]), + [S$1._createNodeIterator]: dart.fnType(html$.NodeIterator, [html$.Node], [dart.nullable(core.int), dart.nullable(html$.NodeFilter)]), + [S$1._createTreeWalker]: dart.fnType(html$.TreeWalker, [html$.Node], [dart.nullable(core.int), dart.nullable(html$.NodeFilter)]) + })); + dart.setGetterSignature(html$.Document, () => ({ + __proto__: dart.getGetters(html$.Document.__proto__), + [S$0.$addressSpace]: dart.nullable(core.String), + [S$0._body]: dart.nullable(html$.HtmlElement), + [S$0.$contentType]: dart.nullable(core.String), + [S$0.$cookie]: dart.nullable(core.String), + [S$0.$currentScript]: dart.nullable(html$.ScriptElement), + [S$0.$window]: dart.nullable(html$.WindowBase), + [S$0._get_window]: dart.dynamic, + [S$0.$documentElement]: dart.nullable(html$.Element), + [S$0.$domain]: dart.nullable(core.String), + [S$0.$fullscreenEnabled]: dart.nullable(core.bool), + [S$0._head$1]: dart.nullable(html$.HeadElement), + [S.$hidden]: dart.nullable(core.bool), + [S$0.$implementation]: dart.nullable(html$.DomImplementation), + [S$0._lastModified]: dart.nullable(core.String), + [S$.$origin]: dart.nullable(core.String), + [S$0._preferredStylesheetSet]: dart.nullable(core.String), + [S.$readyState]: dart.nullable(core.String), + [S$1._referrer]: core.String, + [S$1.$rootElement]: dart.nullable(svg$.SvgSvgElement), + [S$1.$rootScroller]: dart.nullable(html$.Element), + [S$1.$scrollingElement]: dart.nullable(html$.Element), + [S$1._selectedStylesheetSet]: dart.nullable(core.String), + [S$1.$suborigin]: dart.nullable(core.String), + [S$.$timeline]: dart.nullable(html$.DocumentTimeline), + [S$1._title]: core.String, + [S$1._visibilityState]: dart.nullable(core.String), + [S$1._webkitFullscreenElement]: dart.nullable(html$.Element), + [S$1._webkitFullscreenEnabled]: dart.nullable(core.bool), + [S$1._webkitHidden]: dart.nullable(core.bool), + [S$1._webkitVisibilityState]: dart.nullable(core.String), + [S$1.$activeElement]: dart.nullable(html$.Element), + [S$1.$fullscreenElement]: dart.nullable(html$.Element), + [S$1.$pointerLockElement]: dart.nullable(html$.Element), + [S$1._styleSheets]: dart.nullable(core.List$(html$.StyleSheet)), + [S$1.$fonts]: dart.nullable(html$.FontFaceSet), + [S._childElementCount]: core.int, + [S._children]: dart.nullable(core.List$(html$.Node)), + [S._firstElementChild]: dart.nullable(html$.Element), + [S._lastElementChild]: dart.nullable(html$.Element), + [S.$onAbort]: async.Stream$(html$.Event), + [S.$onBeforeCopy]: async.Stream$(html$.Event), + [S.$onBeforeCut]: async.Stream$(html$.Event), + [S.$onBeforePaste]: async.Stream$(html$.Event), + [S.$onBlur]: async.Stream$(html$.Event), + [S.$onCanPlay]: async.Stream$(html$.Event), + [S.$onCanPlayThrough]: async.Stream$(html$.Event), + [S.$onChange]: async.Stream$(html$.Event), + [S.$onClick]: async.Stream$(html$.MouseEvent), + [S.$onContextMenu]: async.Stream$(html$.MouseEvent), + [S.$onCopy]: async.Stream$(html$.ClipboardEvent), + [S.$onCut]: async.Stream$(html$.ClipboardEvent), + [S.$onDoubleClick]: async.Stream$(html$.Event), + [S.$onDrag]: async.Stream$(html$.MouseEvent), + [S.$onDragEnd]: async.Stream$(html$.MouseEvent), + [S.$onDragEnter]: async.Stream$(html$.MouseEvent), + [S.$onDragLeave]: async.Stream$(html$.MouseEvent), + [S.$onDragOver]: async.Stream$(html$.MouseEvent), + [S.$onDragStart]: async.Stream$(html$.MouseEvent), + [S.$onDrop]: async.Stream$(html$.MouseEvent), + [S.$onDurationChange]: async.Stream$(html$.Event), + [S.$onEmptied]: async.Stream$(html$.Event), + [S.$onEnded]: async.Stream$(html$.Event), + [S.$onError]: async.Stream$(html$.Event), + [S.$onFocus]: async.Stream$(html$.Event), + [S.$onInput]: async.Stream$(html$.Event), + [S.$onInvalid]: async.Stream$(html$.Event), + [S.$onKeyDown]: async.Stream$(html$.KeyboardEvent), + [S.$onKeyPress]: async.Stream$(html$.KeyboardEvent), + [S.$onKeyUp]: async.Stream$(html$.KeyboardEvent), + [S.$onLoad]: async.Stream$(html$.Event), + [S.$onLoadedData]: async.Stream$(html$.Event), + [S.$onLoadedMetadata]: async.Stream$(html$.Event), + [S.$onMouseDown]: async.Stream$(html$.MouseEvent), + [S.$onMouseEnter]: async.Stream$(html$.MouseEvent), + [S.$onMouseLeave]: async.Stream$(html$.MouseEvent), + [S.$onMouseMove]: async.Stream$(html$.MouseEvent), + [S.$onMouseOut]: async.Stream$(html$.MouseEvent), + [S.$onMouseOver]: async.Stream$(html$.MouseEvent), + [S.$onMouseUp]: async.Stream$(html$.MouseEvent), + [S.$onMouseWheel]: async.Stream$(html$.WheelEvent), + [S.$onPaste]: async.Stream$(html$.ClipboardEvent), + [S.$onPause]: async.Stream$(html$.Event), + [S.$onPlay]: async.Stream$(html$.Event), + [S.$onPlaying]: async.Stream$(html$.Event), + [S$1.$onPointerLockChange]: async.Stream$(html$.Event), + [S$1.$onPointerLockError]: async.Stream$(html$.Event), + [S.$onRateChange]: async.Stream$(html$.Event), + [S$1.$onReadyStateChange]: async.Stream$(html$.Event), + [S.$onReset]: async.Stream$(html$.Event), + [S.$onResize]: async.Stream$(html$.Event), + [S.$onScroll]: async.Stream$(html$.Event), + [S.$onSearch]: async.Stream$(html$.Event), + [S$1.$onSecurityPolicyViolation]: async.Stream$(html$.SecurityPolicyViolationEvent), + [S.$onSeeked]: async.Stream$(html$.Event), + [S.$onSeeking]: async.Stream$(html$.Event), + [S.$onSelect]: async.Stream$(html$.Event), + [S$1.$onSelectionChange]: async.Stream$(html$.Event), + [S.$onSelectStart]: async.Stream$(html$.Event), + [S.$onStalled]: async.Stream$(html$.Event), + [S.$onSubmit]: async.Stream$(html$.Event), + [S$.$onSuspend]: async.Stream$(html$.Event), + [S$.$onTimeUpdate]: async.Stream$(html$.Event), + [S$.$onTouchCancel]: async.Stream$(html$.TouchEvent), + [S$.$onTouchEnd]: async.Stream$(html$.TouchEvent), + [S$.$onTouchMove]: async.Stream$(html$.TouchEvent), + [S$.$onTouchStart]: async.Stream$(html$.TouchEvent), + [S$.$onVolumeChange]: async.Stream$(html$.Event), + [S$.$onWaiting]: async.Stream$(html$.Event), + [S$.$onFullscreenChange]: async.Stream$(html$.Event), + [S$.$onFullscreenError]: async.Stream$(html$.Event), + [S$1.$supportsRegisterElement]: core.bool, + [S$1.$supportsRegister]: core.bool, + [S$1.$visibilityState]: core.String + })); + dart.setSetterSignature(html$.Document, () => ({ + __proto__: dart.getSetters(html$.Document.__proto__), + [S$0._body]: dart.nullable(html$.HtmlElement), + [S$0.$cookie]: dart.nullable(core.String), + [S$1.$rootScroller]: dart.nullable(html$.Element), + [S$1._selectedStylesheetSet]: dart.nullable(core.String), + [S$1._title]: core.String + })); + dart.setLibraryUri(html$.Document, I[148]); + dart.defineLazy(html$.Document, { + /*html$.Document.pointerLockChangeEvent*/get pointerLockChangeEvent() { + return C[322] || CT.C322; + }, + /*html$.Document.pointerLockErrorEvent*/get pointerLockErrorEvent() { + return C[323] || CT.C323; + }, + /*html$.Document.readyStateChangeEvent*/get readyStateChangeEvent() { + return C[324] || CT.C324; + }, + /*html$.Document.securityPolicyViolationEvent*/get securityPolicyViolationEvent() { + return C[325] || CT.C325; + }, + /*html$.Document.selectionChangeEvent*/get selectionChangeEvent() { + return C[326] || CT.C326; + } + }, false); + dart.registerExtension("Document", html$.Document); + html$.DocumentFragment = class DocumentFragment extends html$.Node { + get [S$1._docChildren]() { + return this._docChildren; + } + set [S$1._docChildren](value) { + this._docChildren = value; + } + static new() { + return html$.document.createDocumentFragment(); + } + static html(html, opts) { + let validator = opts && 'validator' in opts ? opts.validator : null; + let treeSanitizer = opts && 'treeSanitizer' in opts ? opts.treeSanitizer : null; + return dart.nullCheck(html$.document.body)[S.$createFragment](html, {validator: validator, treeSanitizer: treeSanitizer}); + } + static svg(svgContent, opts) { + let validator = opts && 'validator' in opts ? opts.validator : null; + let treeSanitizer = opts && 'treeSanitizer' in opts ? opts.treeSanitizer : null; + return svg$.SvgSvgElement.new()[S.$createFragment](svgContent, {validator: validator, treeSanitizer: treeSanitizer}); + } + get [S._children]() { + return dart.throw(new core.UnimplementedError.new("Use _docChildren instead")); + } + get [S.$children]() { + if (this[S$1._docChildren] == null) { + this[S$1._docChildren] = new html_common.FilteredElementList.new(this); + } + return dart.nullCheck(this[S$1._docChildren]); + } + set [S.$children](value) { + if (value == null) dart.nullFailed(I[147], 10487, 30, "value"); + let copy = value[$toList](); + let children = this[S.$children]; + children[$clear](); + children[$addAll](copy); + } + [S.$querySelectorAll](T, selectors) { + if (selectors == null) dart.nullFailed(I[147], 10506, 61, "selectors"); + return new (html$._FrozenElementList$(T))._wrap(this[S._querySelectorAll](selectors)); + } + get [S.$innerHtml]() { + let e = html$.DivElement.new(); + e[S.$append](this[S$.$clone](true)); + return e[S.$innerHtml]; + } + set [S.$innerHtml](value) { + this[S.$setInnerHtml](value); + } + [S.$setInnerHtml](html, opts) { + let validator = opts && 'validator' in opts ? opts.validator : null; + let treeSanitizer = opts && 'treeSanitizer' in opts ? opts.treeSanitizer : null; + this[S.$nodes][$clear](); + this[S.$append](dart.nullCheck(html$.document.body)[S.$createFragment](html, {validator: validator, treeSanitizer: treeSanitizer})); + } + [S.$appendText](text) { + if (text == null) dart.nullFailed(I[147], 10533, 26, "text"); + this[S.$append](html$.Text.new(text)); + } + [S.$appendHtml](text, opts) { + if (text == null) dart.nullFailed(I[147], 10541, 26, "text"); + let validator = opts && 'validator' in opts ? opts.validator : null; + let treeSanitizer = opts && 'treeSanitizer' in opts ? opts.treeSanitizer : null; + this[S.$append](html$.DocumentFragment.html(text, {validator: validator, treeSanitizer: treeSanitizer})); + } + [S$1.$getElementById](...args) { + return this.getElementById.apply(this, args); + } + get [S._childElementCount]() { + return this.childElementCount; + } + get [S._firstElementChild]() { + return this.firstElementChild; + } + get [S._lastElementChild]() { + return this.lastElementChild; + } + [S.$querySelector](...args) { + return this.querySelector.apply(this, args); + } + [S._querySelectorAll](...args) { + return this.querySelectorAll.apply(this, args); + } + }; + dart.addTypeTests(html$.DocumentFragment); + dart.addTypeCaches(html$.DocumentFragment); + html$.DocumentFragment[dart.implements] = () => [html$.NonElementParentNode, html$.ParentNode]; + dart.setMethodSignature(html$.DocumentFragment, () => ({ + __proto__: dart.getMethods(html$.DocumentFragment.__proto__), + [S.$querySelectorAll]: dart.gFnType(T => [html$.ElementList$(T), [core.String]], T => [html$.Element]), + [S.$setInnerHtml]: dart.fnType(dart.void, [dart.nullable(core.String)], {treeSanitizer: dart.nullable(html$.NodeTreeSanitizer), validator: dart.nullable(html$.NodeValidator)}, {}), + [S.$appendText]: dart.fnType(dart.void, [core.String]), + [S.$appendHtml]: dart.fnType(dart.void, [core.String], {treeSanitizer: dart.nullable(html$.NodeTreeSanitizer), validator: dart.nullable(html$.NodeValidator)}, {}), + [S$1.$getElementById]: dart.fnType(dart.nullable(html$.Element), [core.String]), + [S.$querySelector]: dart.fnType(dart.nullable(html$.Element), [core.String]), + [S._querySelectorAll]: dart.fnType(core.List$(html$.Node), [core.String]) + })); + dart.setGetterSignature(html$.DocumentFragment, () => ({ + __proto__: dart.getGetters(html$.DocumentFragment.__proto__), + [S._children]: html$.HtmlCollection, + [S.$children]: core.List$(html$.Element), + [S.$innerHtml]: dart.nullable(core.String), + [S._childElementCount]: core.int, + [S._firstElementChild]: dart.nullable(html$.Element), + [S._lastElementChild]: dart.nullable(html$.Element) + })); + dart.setSetterSignature(html$.DocumentFragment, () => ({ + __proto__: dart.getSetters(html$.DocumentFragment.__proto__), + [S.$children]: core.List$(html$.Element), + [S.$innerHtml]: dart.nullable(core.String) + })); + dart.setLibraryUri(html$.DocumentFragment, I[148]); + dart.setFieldSignature(html$.DocumentFragment, () => ({ + __proto__: dart.getFields(html$.DocumentFragment.__proto__), + [S$1._docChildren]: dart.fieldType(dart.nullable(core.List$(html$.Element))) + })); + dart.registerExtension("DocumentFragment", html$.DocumentFragment); + html$.DocumentOrShadowRoot = class DocumentOrShadowRoot extends _interceptors.Interceptor { + get [S$1.$activeElement]() { + return this.activeElement; + } + get [S$1.$fullscreenElement]() { + return this.fullscreenElement; + } + get [S$1.$pointerLockElement]() { + return this.pointerLockElement; + } + get [S$1.$styleSheets]() { + return this.styleSheets; + } + [S$1.$elementFromPoint](...args) { + return this.elementFromPoint.apply(this, args); + } + [S$1.$elementsFromPoint](...args) { + return this.elementsFromPoint.apply(this, args); + } + [S$1.$getSelection](...args) { + return this.getSelection.apply(this, args); + } + }; + dart.addTypeTests(html$.DocumentOrShadowRoot); + dart.addTypeCaches(html$.DocumentOrShadowRoot); + dart.setMethodSignature(html$.DocumentOrShadowRoot, () => ({ + __proto__: dart.getMethods(html$.DocumentOrShadowRoot.__proto__), + [S$1.$elementFromPoint]: dart.fnType(dart.nullable(html$.Element), [core.int, core.int]), + [S$1.$elementsFromPoint]: dart.fnType(core.List$(html$.Element), [core.int, core.int]), + [S$1.$getSelection]: dart.fnType(dart.nullable(html$.Selection), []) + })); + dart.setGetterSignature(html$.DocumentOrShadowRoot, () => ({ + __proto__: dart.getGetters(html$.DocumentOrShadowRoot.__proto__), + [S$1.$activeElement]: dart.nullable(html$.Element), + [S$1.$fullscreenElement]: dart.nullable(html$.Element), + [S$1.$pointerLockElement]: dart.nullable(html$.Element), + [S$1.$styleSheets]: dart.nullable(core.List$(html$.StyleSheet)) + })); + dart.setLibraryUri(html$.DocumentOrShadowRoot, I[148]); + dart.registerExtension("DocumentOrShadowRoot", html$.DocumentOrShadowRoot); + html$.DocumentTimeline = class DocumentTimeline$ extends html$.AnimationTimeline { + static new(options = null) { + if (options != null) { + let options_1 = html_common.convertDartToNative_Dictionary(options); + return html$.DocumentTimeline._create_1(options_1); + } + return html$.DocumentTimeline._create_2(); + } + static _create_1(options) { + return new DocumentTimeline(options); + } + static _create_2() { + return new DocumentTimeline(); + } + }; + dart.addTypeTests(html$.DocumentTimeline); + dart.addTypeCaches(html$.DocumentTimeline); + dart.setLibraryUri(html$.DocumentTimeline, I[148]); + dart.registerExtension("DocumentTimeline", html$.DocumentTimeline); + html$.DomError = class DomError extends _interceptors.Interceptor { + static new(name, message = null) { + if (name == null) dart.nullFailed(I[147], 10647, 27, "name"); + if (message != null) { + return html$.DomError._create_1(name, message); + } + return html$.DomError._create_2(name); + } + static _create_1(name, message) { + return new DOMError(name, message); + } + static _create_2(name) { + return new DOMError(name); + } + get [$message]() { + return this.message; + } + get [$name]() { + return this.name; + } + }; + dart.addTypeTests(html$.DomError); + dart.addTypeCaches(html$.DomError); + dart.setGetterSignature(html$.DomError, () => ({ + __proto__: dart.getGetters(html$.DomError.__proto__), + [$message]: dart.nullable(core.String), + [$name]: dart.nullable(core.String) + })); + dart.setLibraryUri(html$.DomError, I[148]); + dart.registerExtension("DOMError", html$.DomError); + html$.DomException = class DomException extends _interceptors.Interceptor { + get [$name]() { + let errorName = this.name; + if (dart.test(html_common.Device.isWebKit) && errorName[$_equals]("SECURITY_ERR")) return "SecurityError"; + if (dart.test(html_common.Device.isWebKit) && errorName[$_equals]("SYNTAX_ERR")) return "SyntaxError"; + return core.String.as(errorName); + } + get [$message]() { + return this.message; + } + [$toString]() { + return String(this); + } + }; + dart.addTypeTests(html$.DomException); + dart.addTypeCaches(html$.DomException); + dart.setGetterSignature(html$.DomException, () => ({ + __proto__: dart.getGetters(html$.DomException.__proto__), + [$name]: core.String, + [$message]: dart.nullable(core.String) + })); + dart.setLibraryUri(html$.DomException, I[148]); + dart.defineLazy(html$.DomException, { + /*html$.DomException.INDEX_SIZE*/get INDEX_SIZE() { + return "IndexSizeError"; + }, + /*html$.DomException.HIERARCHY_REQUEST*/get HIERARCHY_REQUEST() { + return "HierarchyRequestError"; + }, + /*html$.DomException.WRONG_DOCUMENT*/get WRONG_DOCUMENT() { + return "WrongDocumentError"; + }, + /*html$.DomException.INVALID_CHARACTER*/get INVALID_CHARACTER() { + return "InvalidCharacterError"; + }, + /*html$.DomException.NO_MODIFICATION_ALLOWED*/get NO_MODIFICATION_ALLOWED() { + return "NoModificationAllowedError"; + }, + /*html$.DomException.NOT_FOUND*/get NOT_FOUND() { + return "NotFoundError"; + }, + /*html$.DomException.NOT_SUPPORTED*/get NOT_SUPPORTED() { + return "NotSupportedError"; + }, + /*html$.DomException.INVALID_STATE*/get INVALID_STATE() { + return "InvalidStateError"; + }, + /*html$.DomException.SYNTAX*/get SYNTAX() { + return "SyntaxError"; + }, + /*html$.DomException.INVALID_MODIFICATION*/get INVALID_MODIFICATION() { + return "InvalidModificationError"; + }, + /*html$.DomException.NAMESPACE*/get NAMESPACE() { + return "NamespaceError"; + }, + /*html$.DomException.INVALID_ACCESS*/get INVALID_ACCESS() { + return "InvalidAccessError"; + }, + /*html$.DomException.TYPE_MISMATCH*/get TYPE_MISMATCH() { + return "TypeMismatchError"; + }, + /*html$.DomException.SECURITY*/get SECURITY() { + return "SecurityError"; + }, + /*html$.DomException.NETWORK*/get NETWORK() { + return "NetworkError"; + }, + /*html$.DomException.ABORT*/get ABORT() { + return "AbortError"; + }, + /*html$.DomException.URL_MISMATCH*/get URL_MISMATCH() { + return "URLMismatchError"; + }, + /*html$.DomException.QUOTA_EXCEEDED*/get QUOTA_EXCEEDED() { + return "QuotaExceededError"; + }, + /*html$.DomException.TIMEOUT*/get TIMEOUT() { + return "TimeoutError"; + }, + /*html$.DomException.INVALID_NODE_TYPE*/get INVALID_NODE_TYPE() { + return "InvalidNodeTypeError"; + }, + /*html$.DomException.DATA_CLONE*/get DATA_CLONE() { + return "DataCloneError"; + }, + /*html$.DomException.ENCODING*/get ENCODING() { + return "EncodingError"; + }, + /*html$.DomException.NOT_READABLE*/get NOT_READABLE() { + return "NotReadableError"; + }, + /*html$.DomException.UNKNOWN*/get UNKNOWN() { + return "UnknownError"; + }, + /*html$.DomException.CONSTRAINT*/get CONSTRAINT() { + return "ConstraintError"; + }, + /*html$.DomException.TRANSACTION_INACTIVE*/get TRANSACTION_INACTIVE() { + return "TransactionInactiveError"; + }, + /*html$.DomException.READ_ONLY*/get READ_ONLY() { + return "ReadOnlyError"; + }, + /*html$.DomException.VERSION*/get VERSION() { + return "VersionError"; + }, + /*html$.DomException.OPERATION*/get OPERATION() { + return "OperationError"; + }, + /*html$.DomException.NOT_ALLOWED*/get NOT_ALLOWED() { + return "NotAllowedError"; + }, + /*html$.DomException.TYPE_ERROR*/get TYPE_ERROR() { + return "TypeError"; + } + }, false); + dart.registerExtension("DOMException", html$.DomException); + html$.DomImplementation = class DomImplementation extends _interceptors.Interceptor { + [S$1.$createDocument](...args) { + return this.createDocument.apply(this, args); + } + [S$1.$createDocumentType](...args) { + return this.createDocumentType.apply(this, args); + } + [S.$createHtmlDocument](...args) { + return this.createHTMLDocument.apply(this, args); + } + [S$1.$hasFeature](...args) { + return this.hasFeature.apply(this, args); + } + }; + dart.addTypeTests(html$.DomImplementation); + dart.addTypeCaches(html$.DomImplementation); + dart.setMethodSignature(html$.DomImplementation, () => ({ + __proto__: dart.getMethods(html$.DomImplementation.__proto__), + [S$1.$createDocument]: dart.fnType(html$.XmlDocument, [dart.nullable(core.String), core.String, dart.nullable(html$._DocumentType)]), + [S$1.$createDocumentType]: dart.fnType(html$._DocumentType, [core.String, core.String, core.String]), + [S.$createHtmlDocument]: dart.fnType(html$.HtmlDocument, [], [dart.nullable(core.String)]), + [S$1.$hasFeature]: dart.fnType(core.bool, []) + })); + dart.setLibraryUri(html$.DomImplementation, I[148]); + dart.registerExtension("DOMImplementation", html$.DomImplementation); + html$.DomIterator = class DomIterator extends _interceptors.Interceptor { + [S.$next](...args) { + return this.next.apply(this, args); + } + }; + dart.addTypeTests(html$.DomIterator); + dart.addTypeCaches(html$.DomIterator); + dart.setMethodSignature(html$.DomIterator, () => ({ + __proto__: dart.getMethods(html$.DomIterator.__proto__), + [S.$next]: dart.fnType(dart.nullable(core.Object), [], [dart.nullable(core.Object)]) + })); + dart.setLibraryUri(html$.DomIterator, I[148]); + dart.registerExtension("Iterator", html$.DomIterator); + html$.DomMatrixReadOnly = class DomMatrixReadOnly extends _interceptors.Interceptor { + static new(init = null) { + if (init != null) { + return html$.DomMatrixReadOnly._create_1(init); + } + return html$.DomMatrixReadOnly._create_2(); + } + static _create_1(init) { + return new DOMMatrixReadOnly(init); + } + static _create_2() { + return new DOMMatrixReadOnly(); + } + get [S$1.$a]() { + return this.a; + } + get [S$1.$b]() { + return this.b; + } + get [S$1.$c]() { + return this.c; + } + get [S$1.$d]() { + return this.d; + } + get [S$1.$e]() { + return this.e; + } + get [S$1.$f]() { + return this.f; + } + get [S$.$is2D]() { + return this.is2D; + } + get [S$1.$isIdentity]() { + return this.isIdentity; + } + get [S$1.$m11]() { + return this.m11; + } + get [S$1.$m12]() { + return this.m12; + } + get [S$1.$m13]() { + return this.m13; + } + get [S$1.$m14]() { + return this.m14; + } + get [S$1.$m21]() { + return this.m21; + } + get [S$1.$m22]() { + return this.m22; + } + get [S$1.$m23]() { + return this.m23; + } + get [S$1.$m24]() { + return this.m24; + } + get [S$1.$m31]() { + return this.m31; + } + get [S$1.$m32]() { + return this.m32; + } + get [S$1.$m33]() { + return this.m33; + } + get [S$1.$m34]() { + return this.m34; + } + get [S$1.$m41]() { + return this.m41; + } + get [S$1.$m42]() { + return this.m42; + } + get [S$1.$m43]() { + return this.m43; + } + get [S$1.$m44]() { + return this.m44; + } + [S$1.$flipX](...args) { + return this.flipX.apply(this, args); + } + [S$1.$flipY](...args) { + return this.flipY.apply(this, args); + } + static fromMatrix(other = null) { + if (other != null) { + let other_1 = html_common.convertDartToNative_Dictionary(other); + return dart.global.DOMMatrixReadOnly.fromMatrix(other_1); + } + return dart.global.DOMMatrixReadOnly.fromMatrix(); + } + [S$1.$inverse](...args) { + return this.inverse.apply(this, args); + } + [S$1.$multiply](other = null) { + if (other != null) { + let other_1 = html_common.convertDartToNative_Dictionary(other); + return this[S$1._multiply_1](other_1); + } + return this[S$1._multiply_2](); + } + [S$1._multiply_1](...args) { + return this.multiply.apply(this, args); + } + [S$1._multiply_2](...args) { + return this.multiply.apply(this, args); + } + [S$.$rotate](...args) { + return this.rotate.apply(this, args); + } + [S$1.$rotateAxisAngle](...args) { + return this.rotateAxisAngle.apply(this, args); + } + [S$1.$rotateFromVector](...args) { + return this.rotateFromVector.apply(this, args); + } + [S$.$scale](...args) { + return this.scale.apply(this, args); + } + [S$1.$scale3d](...args) { + return this.scale3d.apply(this, args); + } + [S$1.$skewX](...args) { + return this.skewX.apply(this, args); + } + [S$1.$skewY](...args) { + return this.skewY.apply(this, args); + } + [S$1.$toFloat32Array](...args) { + return this.toFloat32Array.apply(this, args); + } + [S$1.$toFloat64Array](...args) { + return this.toFloat64Array.apply(this, args); + } + [S$1.$transformPoint](point = null) { + if (point != null) { + let point_1 = html_common.convertDartToNative_Dictionary(point); + return this[S$1._transformPoint_1](point_1); + } + return this[S$1._transformPoint_2](); + } + [S$1._transformPoint_1](...args) { + return this.transformPoint.apply(this, args); + } + [S$1._transformPoint_2](...args) { + return this.transformPoint.apply(this, args); + } + [S.$translate](...args) { + return this.translate.apply(this, args); + } + }; + dart.addTypeTests(html$.DomMatrixReadOnly); + dart.addTypeCaches(html$.DomMatrixReadOnly); + dart.setMethodSignature(html$.DomMatrixReadOnly, () => ({ + __proto__: dart.getMethods(html$.DomMatrixReadOnly.__proto__), + [S$1.$flipX]: dart.fnType(html$.DomMatrix, []), + [S$1.$flipY]: dart.fnType(html$.DomMatrix, []), + [S$1.$inverse]: dart.fnType(html$.DomMatrix, []), + [S$1.$multiply]: dart.fnType(html$.DomMatrix, [], [dart.nullable(core.Map)]), + [S$1._multiply_1]: dart.fnType(html$.DomMatrix, [dart.dynamic]), + [S$1._multiply_2]: dart.fnType(html$.DomMatrix, []), + [S$.$rotate]: dart.fnType(html$.DomMatrix, [], [dart.nullable(core.num), dart.nullable(core.num), dart.nullable(core.num)]), + [S$1.$rotateAxisAngle]: dart.fnType(html$.DomMatrix, [], [dart.nullable(core.num), dart.nullable(core.num), dart.nullable(core.num), dart.nullable(core.num)]), + [S$1.$rotateFromVector]: dart.fnType(html$.DomMatrix, [], [dart.nullable(core.num), dart.nullable(core.num)]), + [S$.$scale]: dart.fnType(html$.DomMatrix, [], [dart.nullable(core.num), dart.nullable(core.num), dart.nullable(core.num), dart.nullable(core.num), dart.nullable(core.num), dart.nullable(core.num)]), + [S$1.$scale3d]: dart.fnType(html$.DomMatrix, [], [dart.nullable(core.num), dart.nullable(core.num), dart.nullable(core.num), dart.nullable(core.num)]), + [S$1.$skewX]: dart.fnType(html$.DomMatrix, [], [dart.nullable(core.num)]), + [S$1.$skewY]: dart.fnType(html$.DomMatrix, [], [dart.nullable(core.num)]), + [S$1.$toFloat32Array]: dart.fnType(typed_data.Float32List, []), + [S$1.$toFloat64Array]: dart.fnType(typed_data.Float64List, []), + [S$1.$transformPoint]: dart.fnType(html$.DomPoint, [], [dart.nullable(core.Map)]), + [S$1._transformPoint_1]: dart.fnType(html$.DomPoint, [dart.dynamic]), + [S$1._transformPoint_2]: dart.fnType(html$.DomPoint, []), + [S.$translate]: dart.fnType(html$.DomMatrix, [], [dart.nullable(core.num), dart.nullable(core.num), dart.nullable(core.num)]) + })); + dart.setGetterSignature(html$.DomMatrixReadOnly, () => ({ + __proto__: dart.getGetters(html$.DomMatrixReadOnly.__proto__), + [S$1.$a]: dart.nullable(core.num), + [S$1.$b]: dart.nullable(core.num), + [S$1.$c]: dart.nullable(core.num), + [S$1.$d]: dart.nullable(core.num), + [S$1.$e]: dart.nullable(core.num), + [S$1.$f]: dart.nullable(core.num), + [S$.$is2D]: dart.nullable(core.bool), + [S$1.$isIdentity]: dart.nullable(core.bool), + [S$1.$m11]: dart.nullable(core.num), + [S$1.$m12]: dart.nullable(core.num), + [S$1.$m13]: dart.nullable(core.num), + [S$1.$m14]: dart.nullable(core.num), + [S$1.$m21]: dart.nullable(core.num), + [S$1.$m22]: dart.nullable(core.num), + [S$1.$m23]: dart.nullable(core.num), + [S$1.$m24]: dart.nullable(core.num), + [S$1.$m31]: dart.nullable(core.num), + [S$1.$m32]: dart.nullable(core.num), + [S$1.$m33]: dart.nullable(core.num), + [S$1.$m34]: dart.nullable(core.num), + [S$1.$m41]: dart.nullable(core.num), + [S$1.$m42]: dart.nullable(core.num), + [S$1.$m43]: dart.nullable(core.num), + [S$1.$m44]: dart.nullable(core.num) + })); + dart.setLibraryUri(html$.DomMatrixReadOnly, I[148]); + dart.registerExtension("DOMMatrixReadOnly", html$.DomMatrixReadOnly); + html$.DomMatrix = class DomMatrix extends html$.DomMatrixReadOnly { + static new(init = null) { + if (init != null) { + return html$.DomMatrix._create_1(init); + } + return html$.DomMatrix._create_2(); + } + static _create_1(init) { + return new DOMMatrix(init); + } + static _create_2() { + return new DOMMatrix(); + } + get [S$1.$a]() { + return this.a; + } + set [S$1.$a](value) { + this.a = value; + } + get [S$1.$b]() { + return this.b; + } + set [S$1.$b](value) { + this.b = value; + } + get [S$1.$c]() { + return this.c; + } + set [S$1.$c](value) { + this.c = value; + } + get [S$1.$d]() { + return this.d; + } + set [S$1.$d](value) { + this.d = value; + } + get [S$1.$e]() { + return this.e; + } + set [S$1.$e](value) { + this.e = value; + } + get [S$1.$f]() { + return this.f; + } + set [S$1.$f](value) { + this.f = value; + } + get [S$1.$m11]() { + return this.m11; + } + set [S$1.$m11](value) { + this.m11 = value; + } + get [S$1.$m12]() { + return this.m12; + } + set [S$1.$m12](value) { + this.m12 = value; + } + get [S$1.$m13]() { + return this.m13; + } + set [S$1.$m13](value) { + this.m13 = value; + } + get [S$1.$m14]() { + return this.m14; + } + set [S$1.$m14](value) { + this.m14 = value; + } + get [S$1.$m21]() { + return this.m21; + } + set [S$1.$m21](value) { + this.m21 = value; + } + get [S$1.$m22]() { + return this.m22; + } + set [S$1.$m22](value) { + this.m22 = value; + } + get [S$1.$m23]() { + return this.m23; + } + set [S$1.$m23](value) { + this.m23 = value; + } + get [S$1.$m24]() { + return this.m24; + } + set [S$1.$m24](value) { + this.m24 = value; + } + get [S$1.$m31]() { + return this.m31; + } + set [S$1.$m31](value) { + this.m31 = value; + } + get [S$1.$m32]() { + return this.m32; + } + set [S$1.$m32](value) { + this.m32 = value; + } + get [S$1.$m33]() { + return this.m33; + } + set [S$1.$m33](value) { + this.m33 = value; + } + get [S$1.$m34]() { + return this.m34; + } + set [S$1.$m34](value) { + this.m34 = value; + } + get [S$1.$m41]() { + return this.m41; + } + set [S$1.$m41](value) { + this.m41 = value; + } + get [S$1.$m42]() { + return this.m42; + } + set [S$1.$m42](value) { + this.m42 = value; + } + get [S$1.$m43]() { + return this.m43; + } + set [S$1.$m43](value) { + this.m43 = value; + } + get [S$1.$m44]() { + return this.m44; + } + set [S$1.$m44](value) { + this.m44 = value; + } + static fromMatrix(other = null) { + if (other != null) { + let other_1 = html_common.convertDartToNative_Dictionary(other); + return dart.global.DOMMatrix.fromMatrix(other_1); + } + return dart.global.DOMMatrix.fromMatrix(); + } + [S$1.$invertSelf](...args) { + return this.invertSelf.apply(this, args); + } + [S$1.$multiplySelf](other = null) { + if (other != null) { + let other_1 = html_common.convertDartToNative_Dictionary(other); + return this[S$1._multiplySelf_1](other_1); + } + return this[S$1._multiplySelf_2](); + } + [S$1._multiplySelf_1](...args) { + return this.multiplySelf.apply(this, args); + } + [S$1._multiplySelf_2](...args) { + return this.multiplySelf.apply(this, args); + } + [S$1.$preMultiplySelf](other = null) { + if (other != null) { + let other_1 = html_common.convertDartToNative_Dictionary(other); + return this[S$1._preMultiplySelf_1](other_1); + } + return this[S$1._preMultiplySelf_2](); + } + [S$1._preMultiplySelf_1](...args) { + return this.preMultiplySelf.apply(this, args); + } + [S$1._preMultiplySelf_2](...args) { + return this.preMultiplySelf.apply(this, args); + } + [S$1.$rotateAxisAngleSelf](...args) { + return this.rotateAxisAngleSelf.apply(this, args); + } + [S$1.$rotateFromVectorSelf](...args) { + return this.rotateFromVectorSelf.apply(this, args); + } + [S$1.$rotateSelf](...args) { + return this.rotateSelf.apply(this, args); + } + [S$1.$scale3dSelf](...args) { + return this.scale3dSelf.apply(this, args); + } + [S$1.$scaleSelf](...args) { + return this.scaleSelf.apply(this, args); + } + [S$1.$setMatrixValue](...args) { + return this.setMatrixValue.apply(this, args); + } + [S$1.$skewXSelf](...args) { + return this.skewXSelf.apply(this, args); + } + [S$1.$skewYSelf](...args) { + return this.skewYSelf.apply(this, args); + } + [S$1.$translateSelf](...args) { + return this.translateSelf.apply(this, args); + } + }; + dart.addTypeTests(html$.DomMatrix); + dart.addTypeCaches(html$.DomMatrix); + dart.setMethodSignature(html$.DomMatrix, () => ({ + __proto__: dart.getMethods(html$.DomMatrix.__proto__), + [S$1.$invertSelf]: dart.fnType(html$.DomMatrix, []), + [S$1.$multiplySelf]: dart.fnType(html$.DomMatrix, [], [dart.nullable(core.Map)]), + [S$1._multiplySelf_1]: dart.fnType(html$.DomMatrix, [dart.dynamic]), + [S$1._multiplySelf_2]: dart.fnType(html$.DomMatrix, []), + [S$1.$preMultiplySelf]: dart.fnType(html$.DomMatrix, [], [dart.nullable(core.Map)]), + [S$1._preMultiplySelf_1]: dart.fnType(html$.DomMatrix, [dart.dynamic]), + [S$1._preMultiplySelf_2]: dart.fnType(html$.DomMatrix, []), + [S$1.$rotateAxisAngleSelf]: dart.fnType(html$.DomMatrix, [], [dart.nullable(core.num), dart.nullable(core.num), dart.nullable(core.num), dart.nullable(core.num)]), + [S$1.$rotateFromVectorSelf]: dart.fnType(html$.DomMatrix, [], [dart.nullable(core.num), dart.nullable(core.num)]), + [S$1.$rotateSelf]: dart.fnType(html$.DomMatrix, [], [dart.nullable(core.num), dart.nullable(core.num), dart.nullable(core.num)]), + [S$1.$scale3dSelf]: dart.fnType(html$.DomMatrix, [], [dart.nullable(core.num), dart.nullable(core.num), dart.nullable(core.num), dart.nullable(core.num)]), + [S$1.$scaleSelf]: dart.fnType(html$.DomMatrix, [], [dart.nullable(core.num), dart.nullable(core.num), dart.nullable(core.num), dart.nullable(core.num), dart.nullable(core.num), dart.nullable(core.num)]), + [S$1.$setMatrixValue]: dart.fnType(html$.DomMatrix, [core.String]), + [S$1.$skewXSelf]: dart.fnType(html$.DomMatrix, [], [dart.nullable(core.num)]), + [S$1.$skewYSelf]: dart.fnType(html$.DomMatrix, [], [dart.nullable(core.num)]), + [S$1.$translateSelf]: dart.fnType(html$.DomMatrix, [], [dart.nullable(core.num), dart.nullable(core.num), dart.nullable(core.num)]) + })); + dart.setSetterSignature(html$.DomMatrix, () => ({ + __proto__: dart.getSetters(html$.DomMatrix.__proto__), + [S$1.$a]: dart.nullable(core.num), + [S$1.$b]: dart.nullable(core.num), + [S$1.$c]: dart.nullable(core.num), + [S$1.$d]: dart.nullable(core.num), + [S$1.$e]: dart.nullable(core.num), + [S$1.$f]: dart.nullable(core.num), + [S$1.$m11]: dart.nullable(core.num), + [S$1.$m12]: dart.nullable(core.num), + [S$1.$m13]: dart.nullable(core.num), + [S$1.$m14]: dart.nullable(core.num), + [S$1.$m21]: dart.nullable(core.num), + [S$1.$m22]: dart.nullable(core.num), + [S$1.$m23]: dart.nullable(core.num), + [S$1.$m24]: dart.nullable(core.num), + [S$1.$m31]: dart.nullable(core.num), + [S$1.$m32]: dart.nullable(core.num), + [S$1.$m33]: dart.nullable(core.num), + [S$1.$m34]: dart.nullable(core.num), + [S$1.$m41]: dart.nullable(core.num), + [S$1.$m42]: dart.nullable(core.num), + [S$1.$m43]: dart.nullable(core.num), + [S$1.$m44]: dart.nullable(core.num) + })); + dart.setLibraryUri(html$.DomMatrix, I[148]); + dart.registerExtension("DOMMatrix", html$.DomMatrix); + html$.DomParser = class DomParser extends _interceptors.Interceptor { + static new() { + return html$.DomParser._create_1(); + } + static _create_1() { + return new DOMParser(); + } + [S$1.$parseFromString](...args) { + return this.parseFromString.apply(this, args); + } + }; + dart.addTypeTests(html$.DomParser); + dart.addTypeCaches(html$.DomParser); + dart.setMethodSignature(html$.DomParser, () => ({ + __proto__: dart.getMethods(html$.DomParser.__proto__), + [S$1.$parseFromString]: dart.fnType(html$.Document, [core.String, core.String]) + })); + dart.setLibraryUri(html$.DomParser, I[148]); + dart.registerExtension("DOMParser", html$.DomParser); + html$.DomPointReadOnly = class DomPointReadOnly extends _interceptors.Interceptor { + static new(x = null, y = null, z = null, w = null) { + if (w != null) { + return html$.DomPointReadOnly._create_1(x, y, z, w); + } + if (z != null) { + return html$.DomPointReadOnly._create_2(x, y, z); + } + if (y != null) { + return html$.DomPointReadOnly._create_3(x, y); + } + if (x != null) { + return html$.DomPointReadOnly._create_4(x); + } + return html$.DomPointReadOnly._create_5(); + } + static _create_1(x, y, z, w) { + return new DOMPointReadOnly(x, y, z, w); + } + static _create_2(x, y, z) { + return new DOMPointReadOnly(x, y, z); + } + static _create_3(x, y) { + return new DOMPointReadOnly(x, y); + } + static _create_4(x) { + return new DOMPointReadOnly(x); + } + static _create_5() { + return new DOMPointReadOnly(); + } + get [S$1.$w]() { + return this.w; + } + get [S$.$x]() { + return this.x; + } + get [S$.$y]() { + return this.y; + } + get [S$.$z]() { + return this.z; + } + static fromPoint(other = null) { + if (other != null) { + let other_1 = html_common.convertDartToNative_Dictionary(other); + return dart.global.DOMPointReadOnly.fromPoint(other_1); + } + return dart.global.DOMPointReadOnly.fromPoint(); + } + [S$1.$matrixTransform](matrix = null) { + if (matrix != null) { + let matrix_1 = html_common.convertDartToNative_Dictionary(matrix); + return this[S$1._matrixTransform_1](matrix_1); + } + return this[S$1._matrixTransform_2](); + } + [S$1._matrixTransform_1](...args) { + return this.matrixTransform.apply(this, args); + } + [S$1._matrixTransform_2](...args) { + return this.matrixTransform.apply(this, args); + } + }; + dart.addTypeTests(html$.DomPointReadOnly); + dart.addTypeCaches(html$.DomPointReadOnly); + dart.setMethodSignature(html$.DomPointReadOnly, () => ({ + __proto__: dart.getMethods(html$.DomPointReadOnly.__proto__), + [S$1.$matrixTransform]: dart.fnType(html$.DomPoint, [], [dart.nullable(core.Map)]), + [S$1._matrixTransform_1]: dart.fnType(html$.DomPoint, [dart.dynamic]), + [S$1._matrixTransform_2]: dart.fnType(html$.DomPoint, []) + })); + dart.setGetterSignature(html$.DomPointReadOnly, () => ({ + __proto__: dart.getGetters(html$.DomPointReadOnly.__proto__), + [S$1.$w]: dart.nullable(core.num), + [S$.$x]: dart.nullable(core.num), + [S$.$y]: dart.nullable(core.num), + [S$.$z]: dart.nullable(core.num) + })); + dart.setLibraryUri(html$.DomPointReadOnly, I[148]); + dart.registerExtension("DOMPointReadOnly", html$.DomPointReadOnly); + html$.DomPoint = class DomPoint extends html$.DomPointReadOnly { + static new(x = null, y = null, z = null, w = null) { + if (w != null) { + return html$.DomPoint._create_1(x, y, z, w); + } + if (z != null) { + return html$.DomPoint._create_2(x, y, z); + } + if (y != null) { + return html$.DomPoint._create_3(x, y); + } + if (x != null) { + return html$.DomPoint._create_4(x); + } + return html$.DomPoint._create_5(); + } + static _create_1(x, y, z, w) { + return new DOMPoint(x, y, z, w); + } + static _create_2(x, y, z) { + return new DOMPoint(x, y, z); + } + static _create_3(x, y) { + return new DOMPoint(x, y); + } + static _create_4(x) { + return new DOMPoint(x); + } + static _create_5() { + return new DOMPoint(); + } + static get supported() { + return !!window.DOMPoint || !!window.WebKitPoint; + } + get [S$1.$w]() { + return this.w; + } + set [S$1.$w](value) { + this.w = value; + } + get [S$.$x]() { + return this.x; + } + set [S$.$x](value) { + this.x = value; + } + get [S$.$y]() { + return this.y; + } + set [S$.$y](value) { + this.y = value; + } + get [S$.$z]() { + return this.z; + } + set [S$.$z](value) { + this.z = value; + } + static fromPoint(other = null) { + if (other != null) { + let other_1 = html_common.convertDartToNative_Dictionary(other); + return dart.global.DOMPoint.fromPoint(other_1); + } + return dart.global.DOMPoint.fromPoint(); + } + }; + dart.addTypeTests(html$.DomPoint); + dart.addTypeCaches(html$.DomPoint); + dart.setSetterSignature(html$.DomPoint, () => ({ + __proto__: dart.getSetters(html$.DomPoint.__proto__), + [S$1.$w]: dart.nullable(core.num), + [S$.$x]: dart.nullable(core.num), + [S$.$y]: dart.nullable(core.num), + [S$.$z]: dart.nullable(core.num) + })); + dart.setLibraryUri(html$.DomPoint, I[148]); + dart.registerExtension("DOMPoint", html$.DomPoint); + html$.DomQuad = class DomQuad extends _interceptors.Interceptor { + static new(p1 = null, p2 = null, p3 = null, p4 = null) { + if (p4 != null) { + let p1_1 = html_common.convertDartToNative_Dictionary(p1); + let p2_2 = html_common.convertDartToNative_Dictionary(p2); + let p3_3 = html_common.convertDartToNative_Dictionary(p3); + let p4_4 = html_common.convertDartToNative_Dictionary(p4); + return html$.DomQuad._create_1(p1_1, p2_2, p3_3, p4_4); + } + if (p3 != null) { + let p1_1 = html_common.convertDartToNative_Dictionary(p1); + let p2_2 = html_common.convertDartToNative_Dictionary(p2); + let p3_3 = html_common.convertDartToNative_Dictionary(p3); + return html$.DomQuad._create_2(p1_1, p2_2, p3_3); + } + if (p2 != null) { + let p1_1 = html_common.convertDartToNative_Dictionary(p1); + let p2_2 = html_common.convertDartToNative_Dictionary(p2); + return html$.DomQuad._create_3(p1_1, p2_2); + } + if (p1 != null) { + let p1_1 = html_common.convertDartToNative_Dictionary(p1); + return html$.DomQuad._create_4(p1_1); + } + return html$.DomQuad._create_5(); + } + static _create_1(p1, p2, p3, p4) { + return new DOMQuad(p1, p2, p3, p4); + } + static _create_2(p1, p2, p3) { + return new DOMQuad(p1, p2, p3); + } + static _create_3(p1, p2) { + return new DOMQuad(p1, p2); + } + static _create_4(p1) { + return new DOMQuad(p1); + } + static _create_5() { + return new DOMQuad(); + } + get [S$1.$p1]() { + return this.p1; + } + get [S$1.$p2]() { + return this.p2; + } + get [S$1.$p3]() { + return this.p3; + } + get [S$1.$p4]() { + return this.p4; + } + static fromQuad(other = null) { + if (other != null) { + let other_1 = html_common.convertDartToNative_Dictionary(other); + return dart.global.DOMQuad.fromQuad(other_1); + } + return dart.global.DOMQuad.fromQuad(); + } + static fromRect(other = null) { + if (other != null) { + let other_1 = html_common.convertDartToNative_Dictionary(other); + return dart.global.DOMQuad.fromRect(other_1); + } + return dart.global.DOMQuad.fromRect(); + } + [S$1.$getBounds](...args) { + return this.getBounds.apply(this, args); + } + }; + dart.addTypeTests(html$.DomQuad); + dart.addTypeCaches(html$.DomQuad); + dart.setMethodSignature(html$.DomQuad, () => ({ + __proto__: dart.getMethods(html$.DomQuad.__proto__), + [S$1.$getBounds]: dart.fnType(math.Rectangle$(core.num), []) + })); + dart.setGetterSignature(html$.DomQuad, () => ({ + __proto__: dart.getGetters(html$.DomQuad.__proto__), + [S$1.$p1]: dart.nullable(html$.DomPoint), + [S$1.$p2]: dart.nullable(html$.DomPoint), + [S$1.$p3]: dart.nullable(html$.DomPoint), + [S$1.$p4]: dart.nullable(html$.DomPoint) + })); + dart.setLibraryUri(html$.DomQuad, I[148]); + dart.registerExtension("DOMQuad", html$.DomQuad); + const _is_ImmutableListMixin_default = Symbol('_is_ImmutableListMixin_default'); + html$.ImmutableListMixin$ = dart.generic(E => { + var FixedSizeListIteratorOfE = () => (FixedSizeListIteratorOfE = dart.constFn(html$.FixedSizeListIterator$(E)))(); + var IterableOfE = () => (IterableOfE = dart.constFn(core.Iterable$(E)))(); + var EN = () => (EN = dart.constFn(dart.nullable(E)))(); + class ImmutableListMixin extends core.Object { + get iterator() { + return new (FixedSizeListIteratorOfE()).new(this); + } + [Symbol.iterator]() { + return new dart.JsIterator(this[$iterator]); + } + add(value) { + E.as(value); + dart.throw(new core.UnsupportedError.new("Cannot add to immutable List.")); + } + addAll(iterable) { + IterableOfE().as(iterable); + if (iterable == null) dart.nullFailed(I[147], 37959, 27, "iterable"); + dart.throw(new core.UnsupportedError.new("Cannot add to immutable List.")); + } + sort(compare = null) { + dart.throw(new core.UnsupportedError.new("Cannot sort immutable List.")); + } + shuffle(random = null) { + dart.throw(new core.UnsupportedError.new("Cannot shuffle immutable List.")); + } + insert(index, element) { + if (index == null) dart.nullFailed(I[147], 37971, 19, "index"); + E.as(element); + dart.throw(new core.UnsupportedError.new("Cannot add to immutable List.")); + } + insertAll(index, iterable) { + if (index == null) dart.nullFailed(I[147], 37975, 22, "index"); + IterableOfE().as(iterable); + if (iterable == null) dart.nullFailed(I[147], 37975, 41, "iterable"); + dart.throw(new core.UnsupportedError.new("Cannot add to immutable List.")); + } + setAll(index, iterable) { + if (index == null) dart.nullFailed(I[147], 37979, 19, "index"); + IterableOfE().as(iterable); + if (iterable == null) dart.nullFailed(I[147], 37979, 38, "iterable"); + dart.throw(new core.UnsupportedError.new("Cannot modify an immutable List.")); + } + removeAt(pos) { + if (pos == null) dart.nullFailed(I[147], 37983, 18, "pos"); + dart.throw(new core.UnsupportedError.new("Cannot remove from immutable List.")); + } + removeLast() { + dart.throw(new core.UnsupportedError.new("Cannot remove from immutable List.")); + } + remove(object) { + dart.throw(new core.UnsupportedError.new("Cannot remove from immutable List.")); + } + removeWhere(test) { + if (test == null) dart.nullFailed(I[147], 37995, 25, "test"); + dart.throw(new core.UnsupportedError.new("Cannot remove from immutable List.")); + } + retainWhere(test) { + if (test == null) dart.nullFailed(I[147], 37999, 25, "test"); + dart.throw(new core.UnsupportedError.new("Cannot remove from immutable List.")); + } + setRange(start, end, iterable, skipCount = 0) { + if (start == null) dart.nullFailed(I[147], 38003, 21, "start"); + if (end == null) dart.nullFailed(I[147], 38003, 32, "end"); + IterableOfE().as(iterable); + if (iterable == null) dart.nullFailed(I[147], 38003, 49, "iterable"); + if (skipCount == null) dart.nullFailed(I[147], 38003, 64, "skipCount"); + dart.throw(new core.UnsupportedError.new("Cannot setRange on immutable List.")); + } + removeRange(start, end) { + if (start == null) dart.nullFailed(I[147], 38007, 24, "start"); + if (end == null) dart.nullFailed(I[147], 38007, 35, "end"); + dart.throw(new core.UnsupportedError.new("Cannot removeRange on immutable List.")); + } + replaceRange(start, end, iterable) { + if (start == null) dart.nullFailed(I[147], 38011, 25, "start"); + if (end == null) dart.nullFailed(I[147], 38011, 36, "end"); + IterableOfE().as(iterable); + if (iterable == null) dart.nullFailed(I[147], 38011, 53, "iterable"); + dart.throw(new core.UnsupportedError.new("Cannot modify an immutable List.")); + } + fillRange(start, end, fillValue = null) { + if (start == null) dart.nullFailed(I[147], 38015, 22, "start"); + if (end == null) dart.nullFailed(I[147], 38015, 33, "end"); + EN().as(fillValue); + dart.throw(new core.UnsupportedError.new("Cannot modify an immutable List.")); + } + } + (ImmutableListMixin.new = function() { + ; + }).prototype = ImmutableListMixin.prototype; + ImmutableListMixin.prototype[dart.isList] = true; + dart.addTypeTests(ImmutableListMixin); + ImmutableListMixin.prototype[_is_ImmutableListMixin_default] = true; + dart.addTypeCaches(ImmutableListMixin); + ImmutableListMixin[dart.implements] = () => [core.List$(E)]; + dart.setMethodSignature(ImmutableListMixin, () => ({ + __proto__: dart.getMethods(ImmutableListMixin.__proto__), + add: dart.fnType(dart.void, [dart.nullable(core.Object)]), + [$add]: dart.fnType(dart.void, [dart.nullable(core.Object)]), + addAll: dart.fnType(dart.void, [dart.nullable(core.Object)]), + [$addAll]: dart.fnType(dart.void, [dart.nullable(core.Object)]), + sort: dart.fnType(dart.void, [], [dart.nullable(dart.fnType(core.int, [E, E]))]), + [$sort]: dart.fnType(dart.void, [], [dart.nullable(dart.fnType(core.int, [E, E]))]), + shuffle: dart.fnType(dart.void, [], [dart.nullable(math.Random)]), + [$shuffle]: dart.fnType(dart.void, [], [dart.nullable(math.Random)]), + insert: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), + [$insert]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), + insertAll: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), + [$insertAll]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), + setAll: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), + [$setAll]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), + removeAt: dart.fnType(E, [core.int]), + [$removeAt]: dart.fnType(E, [core.int]), + removeLast: dart.fnType(E, []), + [$removeLast]: dart.fnType(E, []), + remove: dart.fnType(core.bool, [dart.nullable(core.Object)]), + [$remove]: dart.fnType(core.bool, [dart.nullable(core.Object)]), + removeWhere: dart.fnType(dart.void, [dart.fnType(core.bool, [E])]), + [$removeWhere]: dart.fnType(dart.void, [dart.fnType(core.bool, [E])]), + retainWhere: dart.fnType(dart.void, [dart.fnType(core.bool, [E])]), + [$retainWhere]: dart.fnType(dart.void, [dart.fnType(core.bool, [E])]), + setRange: dart.fnType(dart.void, [core.int, core.int, dart.nullable(core.Object)], [core.int]), + [$setRange]: dart.fnType(dart.void, [core.int, core.int, dart.nullable(core.Object)], [core.int]), + removeRange: dart.fnType(dart.void, [core.int, core.int]), + [$removeRange]: dart.fnType(dart.void, [core.int, core.int]), + replaceRange: dart.fnType(dart.void, [core.int, core.int, dart.nullable(core.Object)]), + [$replaceRange]: dart.fnType(dart.void, [core.int, core.int, dart.nullable(core.Object)]), + fillRange: dart.fnType(dart.void, [core.int, core.int], [dart.nullable(core.Object)]), + [$fillRange]: dart.fnType(dart.void, [core.int, core.int], [dart.nullable(core.Object)]) + })); + dart.setGetterSignature(ImmutableListMixin, () => ({ + __proto__: dart.getGetters(ImmutableListMixin.__proto__), + iterator: core.Iterator$(E), + [$iterator]: core.Iterator$(E) + })); + dart.setLibraryUri(ImmutableListMixin, I[148]); + dart.defineExtensionMethods(ImmutableListMixin, [ + 'add', + 'addAll', + 'sort', + 'shuffle', + 'insert', + 'insertAll', + 'setAll', + 'removeAt', + 'removeLast', + 'remove', + 'removeWhere', + 'retainWhere', + 'setRange', + 'removeRange', + 'replaceRange', + 'fillRange' + ]); + dart.defineExtensionAccessors(ImmutableListMixin, ['iterator']); + return ImmutableListMixin; + }); + html$.ImmutableListMixin = html$.ImmutableListMixin$(); + dart.addTypeTests(html$.ImmutableListMixin, _is_ImmutableListMixin_default); + const Interceptor_ListMixin$36 = class Interceptor_ListMixin extends _interceptors.Interceptor {}; + (Interceptor_ListMixin$36.new = function() { + Interceptor_ListMixin$36.__proto__.new.call(this); + }).prototype = Interceptor_ListMixin$36.prototype; + dart.applyMixin(Interceptor_ListMixin$36, collection.ListMixin$(math.Rectangle$(core.num))); + const Interceptor_ImmutableListMixin$36 = class Interceptor_ImmutableListMixin extends Interceptor_ListMixin$36 {}; + (Interceptor_ImmutableListMixin$36.new = function() { + Interceptor_ImmutableListMixin$36.__proto__.new.call(this); + }).prototype = Interceptor_ImmutableListMixin$36.prototype; + dart.applyMixin(Interceptor_ImmutableListMixin$36, html$.ImmutableListMixin$(math.Rectangle$(core.num))); + html$.DomRectList = class DomRectList extends Interceptor_ImmutableListMixin$36 { + get [$length]() { + return this.length; + } + [$_get](index) { + if (index == null) dart.nullFailed(I[147], 11383, 29, "index"); + if (index >>> 0 !== index || index >= this[$length]) dart.throw(new core.IndexError.new(index, this)); + return this[index]; + } + [$_set](index, value$) { + let value = value$; + if (index == null) dart.nullFailed(I[147], 11389, 25, "index"); + T$0.RectangleOfnum().as(value); + if (value == null) dart.nullFailed(I[147], 11389, 42, "value"); + dart.throw(new core.UnsupportedError.new("Cannot assign element of immutable List.")); + return value$; + } + set [$length](value) { + if (value == null) dart.nullFailed(I[147], 11395, 18, "value"); + dart.throw(new core.UnsupportedError.new("Cannot resize immutable List.")); + } + get [$first]() { + if (dart.notNull(this[$length]) > 0) { + return this[0]; + } + dart.throw(new core.StateError.new("No elements")); + } + set [$first](value) { + super[$first] = value; + } + get [$last]() { + let len = this[$length]; + if (dart.notNull(len) > 0) { + return this[dart.notNull(len) - 1]; + } + dart.throw(new core.StateError.new("No elements")); + } + set [$last](value) { + super[$last] = value; + } + get [$single]() { + let len = this[$length]; + if (len === 1) { + return this[0]; + } + if (len === 0) dart.throw(new core.StateError.new("No elements")); + dart.throw(new core.StateError.new("More than one element")); + } + [$elementAt](index) { + if (index == null) dart.nullFailed(I[147], 11423, 27, "index"); + return this[$_get](index); + } + [S$.$item](...args) { + return this.item.apply(this, args); + } + }; + html$.DomRectList.prototype[dart.isList] = true; + dart.addTypeTests(html$.DomRectList); + dart.addTypeCaches(html$.DomRectList); + html$.DomRectList[dart.implements] = () => [core.List$(math.Rectangle$(core.num)), _js_helper.JavaScriptIndexingBehavior$(math.Rectangle$(core.num))]; + dart.setMethodSignature(html$.DomRectList, () => ({ + __proto__: dart.getMethods(html$.DomRectList.__proto__), + [$_get]: dart.fnType(math.Rectangle$(core.num), [core.int]), + [$_set]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), + [S$.$item]: dart.fnType(dart.nullable(math.Rectangle$(core.num)), [core.int]) + })); + dart.setGetterSignature(html$.DomRectList, () => ({ + __proto__: dart.getGetters(html$.DomRectList.__proto__), + [$length]: core.int + })); + dart.setSetterSignature(html$.DomRectList, () => ({ + __proto__: dart.getSetters(html$.DomRectList.__proto__), + [$length]: core.int + })); + dart.setLibraryUri(html$.DomRectList, I[148]); + dart.registerExtension("ClientRectList", html$.DomRectList); + dart.registerExtension("DOMRectList", html$.DomRectList); + html$.DomRectReadOnly = class DomRectReadOnly extends _interceptors.Interceptor { + [$toString]() { + return "Rectangle (" + dart.str(this[$left]) + ", " + dart.str(this[$top]) + ") " + dart.str(this[$width]) + " x " + dart.str(this[$height]); + } + [$_equals](other) { + if (other == null) return false; + return T$0.RectangleOfnum().is(other) && this[$left] == other[$left] && this[$top] == other[$top] && this[$width] == other[$width] && this[$height] == other[$height]; + } + get [$hashCode]() { + return html$._JenkinsSmiHash.hash4(dart.hashCode(this[$left]), dart.hashCode(this[$top]), dart.hashCode(this[$width]), dart.hashCode(this[$height])); + } + [$intersection](other) { + T$0.RectangleOfnum().as(other); + if (other == null) dart.nullFailed(I[147], 11458, 37, "other"); + let x0 = math.max(core.num, this[$left], other[$left]); + let x1 = math.min(core.num, dart.notNull(this[$left]) + dart.notNull(this[$width]), dart.notNull(other[$left]) + dart.notNull(other[$width])); + if (x0 <= x1) { + let y0 = math.max(core.num, this[$top], other[$top]); + let y1 = math.min(core.num, dart.notNull(this[$top]) + dart.notNull(this[$height]), dart.notNull(other[$top]) + dart.notNull(other[$height])); + if (y0 <= y1) { + return new (T$0.RectangleOfnum()).new(x0, y0, x1 - x0, y1 - y0); + } + } + return null; + } + [$intersects](other) { + if (other == null) dart.nullFailed(I[147], 11476, 34, "other"); + return dart.notNull(this[$left]) <= dart.notNull(other[$left]) + dart.notNull(other[$width]) && dart.notNull(other[$left]) <= dart.notNull(this[$left]) + dart.notNull(this[$width]) && dart.notNull(this[$top]) <= dart.notNull(other[$top]) + dart.notNull(other[$height]) && dart.notNull(other[$top]) <= dart.notNull(this[$top]) + dart.notNull(this[$height]); + } + [$boundingBox](other) { + T$0.RectangleOfnum().as(other); + if (other == null) dart.nullFailed(I[147], 11486, 35, "other"); + let right = math.max(core.num, dart.notNull(this[$left]) + dart.notNull(this[$width]), dart.notNull(other[$left]) + dart.notNull(other[$width])); + let bottom = math.max(core.num, dart.notNull(this[$top]) + dart.notNull(this[$height]), dart.notNull(other[$top]) + dart.notNull(other[$height])); + let left = math.min(core.num, this[$left], other[$left]); + let top = math.min(core.num, this[$top], other[$top]); + return new (T$0.RectangleOfnum()).new(left, top, right - left, bottom - top); + } + [$containsRectangle](another) { + if (another == null) dart.nullFailed(I[147], 11499, 41, "another"); + return dart.notNull(this[$left]) <= dart.notNull(another[$left]) && dart.notNull(this[$left]) + dart.notNull(this[$width]) >= dart.notNull(another[$left]) + dart.notNull(another[$width]) && dart.notNull(this[$top]) <= dart.notNull(another[$top]) && dart.notNull(this[$top]) + dart.notNull(this[$height]) >= dart.notNull(another[$top]) + dart.notNull(another[$height]); + } + [$containsPoint](another) { + if (another == null) dart.nullFailed(I[147], 11509, 33, "another"); + return dart.notNull(another.x) >= dart.notNull(this[$left]) && dart.notNull(another.x) <= dart.notNull(this[$left]) + dart.notNull(this[$width]) && dart.notNull(another.y) >= dart.notNull(this[$top]) && dart.notNull(another.y) <= dart.notNull(this[$top]) + dart.notNull(this[$height]); + } + get [$topLeft]() { + return new (T$0.PointOfnum()).new(this[$left], this[$top]); + } + get [$topRight]() { + return new (T$0.PointOfnum()).new(dart.notNull(this[$left]) + dart.notNull(this[$width]), this[$top]); + } + get [$bottomRight]() { + return new (T$0.PointOfnum()).new(dart.notNull(this[$left]) + dart.notNull(this[$width]), dart.notNull(this[$top]) + dart.notNull(this[$height])); + } + get [$bottomLeft]() { + return new (T$0.PointOfnum()).new(this[$left], dart.notNull(this[$top]) + dart.notNull(this[$height])); + } + static new(x = null, y = null, width = null, height = null) { + if (height != null) { + return html$.DomRectReadOnly._create_1(x, y, width, height); + } + if (width != null) { + return html$.DomRectReadOnly._create_2(x, y, width); + } + if (y != null) { + return html$.DomRectReadOnly._create_3(x, y); + } + if (x != null) { + return html$.DomRectReadOnly._create_4(x); + } + return html$.DomRectReadOnly._create_5(); + } + static _create_1(x, y, width, height) { + return new DOMRectReadOnly(x, y, width, height); + } + static _create_2(x, y, width) { + return new DOMRectReadOnly(x, y, width); + } + static _create_3(x, y) { + return new DOMRectReadOnly(x, y); + } + static _create_4(x) { + return new DOMRectReadOnly(x); + } + static _create_5() { + return new DOMRectReadOnly(); + } + get [S$0._bottom]() { + return this.bottom; + } + get [$bottom]() { + return dart.nullCheck(this[S$0._bottom]); + } + get [S$0._height$1]() { + return this.height; + } + get [$height]() { + return dart.nullCheck(this[S$0._height$1]); + } + get [S$0._left$2]() { + return this.left; + } + get [$left]() { + return dart.nullCheck(this[S$0._left$2]); + } + get [S$0._right$2]() { + return this.right; + } + get [$right]() { + return dart.nullCheck(this[S$0._right$2]); + } + get [S$0._top]() { + return this.top; + } + get [$top]() { + return dart.nullCheck(this[S$0._top]); + } + get [S$0._width$1]() { + return this.width; + } + get [$width]() { + return dart.nullCheck(this[S$0._width$1]); + } + get [S$.$x]() { + return this.x; + } + get [S$.$y]() { + return this.y; + } + static fromRect(other = null) { + if (other != null) { + let other_1 = html_common.convertDartToNative_Dictionary(other); + return dart.global.DOMRectReadOnly.fromRect(other_1); + } + return dart.global.DOMRectReadOnly.fromRect(); + } + }; + dart.addTypeTests(html$.DomRectReadOnly); + dart.addTypeCaches(html$.DomRectReadOnly); + html$.DomRectReadOnly[dart.implements] = () => [math.Rectangle$(core.num)]; + dart.setMethodSignature(html$.DomRectReadOnly, () => ({ + __proto__: dart.getMethods(html$.DomRectReadOnly.__proto__), + [$intersection]: dart.fnType(dart.nullable(math.Rectangle$(core.num)), [dart.nullable(core.Object)]), + [$intersects]: dart.fnType(core.bool, [math.Rectangle$(core.num)]), + [$boundingBox]: dart.fnType(math.Rectangle$(core.num), [dart.nullable(core.Object)]), + [$containsRectangle]: dart.fnType(core.bool, [math.Rectangle$(core.num)]), + [$containsPoint]: dart.fnType(core.bool, [math.Point$(core.num)]) + })); + dart.setGetterSignature(html$.DomRectReadOnly, () => ({ + __proto__: dart.getGetters(html$.DomRectReadOnly.__proto__), + [$topLeft]: math.Point$(core.num), + [$topRight]: math.Point$(core.num), + [$bottomRight]: math.Point$(core.num), + [$bottomLeft]: math.Point$(core.num), + [S$0._bottom]: dart.nullable(core.num), + [$bottom]: core.num, + [S$0._height$1]: dart.nullable(core.num), + [$height]: core.num, + [S$0._left$2]: dart.nullable(core.num), + [$left]: core.num, + [S$0._right$2]: dart.nullable(core.num), + [$right]: core.num, + [S$0._top]: dart.nullable(core.num), + [$top]: core.num, + [S$0._width$1]: dart.nullable(core.num), + [$width]: core.num, + [S$.$x]: dart.nullable(core.num), + [S$.$y]: dart.nullable(core.num) + })); + dart.setLibraryUri(html$.DomRectReadOnly, I[148]); + dart.registerExtension("DOMRectReadOnly", html$.DomRectReadOnly); + const Interceptor_ListMixin$36$ = class Interceptor_ListMixin extends _interceptors.Interceptor {}; + (Interceptor_ListMixin$36$.new = function() { + Interceptor_ListMixin$36$.__proto__.new.call(this); + }).prototype = Interceptor_ListMixin$36$.prototype; + dart.applyMixin(Interceptor_ListMixin$36$, collection.ListMixin$(core.String)); + const Interceptor_ImmutableListMixin$36$ = class Interceptor_ImmutableListMixin extends Interceptor_ListMixin$36$ {}; + (Interceptor_ImmutableListMixin$36$.new = function() { + Interceptor_ImmutableListMixin$36$.__proto__.new.call(this); + }).prototype = Interceptor_ImmutableListMixin$36$.prototype; + dart.applyMixin(Interceptor_ImmutableListMixin$36$, html$.ImmutableListMixin$(core.String)); + html$.DomStringList = class DomStringList extends Interceptor_ImmutableListMixin$36$ { + get [$length]() { + return this.length; + } + [$_get](index) { + if (index == null) dart.nullFailed(I[147], 11634, 26, "index"); + if (index >>> 0 !== index || index >= this[$length]) dart.throw(new core.IndexError.new(index, this)); + return this[index]; + } + [$_set](index, value$) { + let value = value$; + if (index == null) dart.nullFailed(I[147], 11640, 25, "index"); + core.String.as(value); + if (value == null) dart.nullFailed(I[147], 11640, 39, "value"); + dart.throw(new core.UnsupportedError.new("Cannot assign element of immutable List.")); + return value$; + } + set [$length](value) { + if (value == null) dart.nullFailed(I[147], 11646, 18, "value"); + dart.throw(new core.UnsupportedError.new("Cannot resize immutable List.")); + } + get [$first]() { + if (dart.notNull(this[$length]) > 0) { + return this[0]; + } + dart.throw(new core.StateError.new("No elements")); + } + set [$first](value) { + super[$first] = value; + } + get [$last]() { + let len = this[$length]; + if (dart.notNull(len) > 0) { + return this[dart.notNull(len) - 1]; + } + dart.throw(new core.StateError.new("No elements")); + } + set [$last](value) { + super[$last] = value; + } + get [$single]() { + let len = this[$length]; + if (len === 1) { + return this[0]; + } + if (len === 0) dart.throw(new core.StateError.new("No elements")); + dart.throw(new core.StateError.new("More than one element")); + } + [$elementAt](index) { + if (index == null) dart.nullFailed(I[147], 11674, 24, "index"); + return this[$_get](index); + } + [S$.$item](...args) { + return this.item.apply(this, args); + } + }; + html$.DomStringList.prototype[dart.isList] = true; + dart.addTypeTests(html$.DomStringList); + dart.addTypeCaches(html$.DomStringList); + html$.DomStringList[dart.implements] = () => [_js_helper.JavaScriptIndexingBehavior$(core.String), core.List$(core.String)]; + dart.setMethodSignature(html$.DomStringList, () => ({ + __proto__: dart.getMethods(html$.DomStringList.__proto__), + [$_get]: dart.fnType(core.String, [core.int]), + [$_set]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), + [S$.$item]: dart.fnType(dart.nullable(core.String), [core.int]) + })); + dart.setGetterSignature(html$.DomStringList, () => ({ + __proto__: dart.getGetters(html$.DomStringList.__proto__), + [$length]: core.int + })); + dart.setSetterSignature(html$.DomStringList, () => ({ + __proto__: dart.getSetters(html$.DomStringList.__proto__), + [$length]: core.int + })); + dart.setLibraryUri(html$.DomStringList, I[148]); + dart.registerExtension("DOMStringList", html$.DomStringList); + html$.DomStringMap = class DomStringMap extends _interceptors.Interceptor { + [S$1.__delete__](...args) { + return this.__delete__.apply(this, args); + } + [S$.__setter__](...args) { + return this.__setter__.apply(this, args); + } + [S$.$item](...args) { + return this.item.apply(this, args); + } + }; + dart.addTypeTests(html$.DomStringMap); + dart.addTypeCaches(html$.DomStringMap); + dart.setMethodSignature(html$.DomStringMap, () => ({ + __proto__: dart.getMethods(html$.DomStringMap.__proto__), + [S$1.__delete__]: dart.fnType(dart.void, [core.String]), + [S$.__setter__]: dart.fnType(dart.void, [core.String, core.String]), + [S$.$item]: dart.fnType(core.String, [core.String]) + })); + dart.setLibraryUri(html$.DomStringMap, I[148]); + dart.registerExtension("DOMStringMap", html$.DomStringMap); + html$.DomTokenList = class DomTokenList extends _interceptors.Interceptor { + get [$length]() { + return this.length; + } + get [S.$value]() { + return this.value; + } + set [S.$value](value) { + this.value = value; + } + [$add](...args) { + return this.add.apply(this, args); + } + [$contains](...args) { + return this.contains.apply(this, args); + } + [S$.$item](...args) { + return this.item.apply(this, args); + } + [$remove](...args) { + return this.remove.apply(this, args); + } + [S$1.$replace](...args) { + return this.replace.apply(this, args); + } + [S$1.$supports](...args) { + return this.supports.apply(this, args); + } + [S$1.$toggle](...args) { + return this.toggle.apply(this, args); + } + }; + dart.addTypeTests(html$.DomTokenList); + dart.addTypeCaches(html$.DomTokenList); + dart.setMethodSignature(html$.DomTokenList, () => ({ + __proto__: dart.getMethods(html$.DomTokenList.__proto__), + [$add]: dart.fnType(dart.void, [core.String]), + [$contains]: dart.fnType(core.bool, [core.String]), + [S$.$item]: dart.fnType(dart.nullable(core.String), [core.int]), + [$remove]: dart.fnType(dart.void, [core.String]), + [S$1.$replace]: dart.fnType(dart.void, [core.String, core.String]), + [S$1.$supports]: dart.fnType(core.bool, [core.String]), + [S$1.$toggle]: dart.fnType(core.bool, [core.String], [dart.nullable(core.bool)]) + })); + dart.setGetterSignature(html$.DomTokenList, () => ({ + __proto__: dart.getGetters(html$.DomTokenList.__proto__), + [$length]: core.int, + [S.$value]: dart.nullable(core.String) + })); + dart.setSetterSignature(html$.DomTokenList, () => ({ + __proto__: dart.getSetters(html$.DomTokenList.__proto__), + [S.$value]: dart.nullable(core.String) + })); + dart.setLibraryUri(html$.DomTokenList, I[148]); + dart.registerExtension("DOMTokenList", html$.DomTokenList); + html$._ChildrenElementList = class _ChildrenElementList extends collection.ListBase$(html$.Element) { + contains(element) { + return this[S$1._childElements][$contains](element); + } + get isEmpty() { + return this[S$1._element$2][S._firstElementChild] == null; + } + get length() { + return this[S$1._childElements][$length]; + } + _get(index) { + if (index == null) dart.nullFailed(I[147], 11751, 27, "index"); + return html$.Element.as(this[S$1._childElements][$_get](index)); + } + _set(index, value$) { + let value = value$; + if (index == null) dart.nullFailed(I[147], 11755, 25, "index"); + html$.Element.as(value); + if (value == null) dart.nullFailed(I[147], 11755, 40, "value"); + this[S$1._element$2][S$._replaceChild](value, this[S$1._childElements][$_get](index)); + return value$; + } + set length(newLength) { + if (newLength == null) dart.nullFailed(I[147], 11759, 18, "newLength"); + dart.throw(new core.UnsupportedError.new("Cannot resize element lists")); + } + add(value) { + html$.Element.as(value); + if (value == null) dart.nullFailed(I[147], 11764, 23, "value"); + this[S$1._element$2][S.$append](value); + return value; + } + get iterator() { + return this.toList()[$iterator]; + } + addAll(iterable) { + T$0.IterableOfElement().as(iterable); + if (iterable == null) dart.nullFailed(I[147], 11771, 33, "iterable"); + html$._ChildrenElementList._addAll(this[S$1._element$2], iterable); + } + static _addAll(_element, iterable) { + if (_element == null) dart.nullFailed(I[147], 11775, 31, "_element"); + if (iterable == null) dart.nullFailed(I[147], 11775, 59, "iterable"); + if (html$._ChildNodeListLazy.is(iterable)) { + iterable = T$0.ListOfElement().from(iterable); + } + for (let element of iterable) { + _element[S.$append](element); + } + } + sort(compare = null) { + dart.throw(new core.UnsupportedError.new("Cannot sort element lists")); + } + shuffle(random = null) { + dart.throw(new core.UnsupportedError.new("Cannot shuffle element lists")); + } + removeWhere(test) { + if (test == null) dart.nullFailed(I[147], 11793, 25, "test"); + this[S$1._filter$2](test, false); + } + retainWhere(test) { + if (test == null) dart.nullFailed(I[147], 11797, 25, "test"); + this[S$1._filter$2](test, true); + } + [S$1._filter$2](test, retainMatching) { + if (test == null) dart.nullFailed(I[147], 11801, 21, "test"); + if (retainMatching == null) dart.nullFailed(I[147], 11801, 49, "retainMatching"); + let removed = null; + if (dart.test(retainMatching)) { + removed = this[S$1._element$2][S.$children][$where](dart.fn(e => { + if (e == null) dart.nullFailed(I[147], 11804, 42, "e"); + return !dart.test(test(e)); + }, T$0.ElementTobool())); + } else { + removed = this[S$1._element$2][S.$children][$where](test); + } + for (let e of core.Iterable.as(removed)) + dart.dsend(e, 'remove', []); + } + fillRange(start, end, fillValue = null) { + if (start == null) dart.nullFailed(I[147], 11811, 22, "start"); + if (end == null) dart.nullFailed(I[147], 11811, 33, "end"); + T$0.ElementN().as(fillValue); + dart.throw(new core.UnimplementedError.new()); + } + replaceRange(start, end, iterable) { + if (start == null) dart.nullFailed(I[147], 11815, 25, "start"); + if (end == null) dart.nullFailed(I[147], 11815, 36, "end"); + T$0.IterableOfElement().as(iterable); + if (iterable == null) dart.nullFailed(I[147], 11815, 59, "iterable"); + dart.throw(new core.UnimplementedError.new()); + } + removeRange(start, end) { + if (start == null) dart.nullFailed(I[147], 11819, 24, "start"); + if (end == null) dart.nullFailed(I[147], 11819, 35, "end"); + dart.throw(new core.UnimplementedError.new()); + } + setRange(start, end, iterable, skipCount = 0) { + if (start == null) dart.nullFailed(I[147], 11823, 21, "start"); + if (end == null) dart.nullFailed(I[147], 11823, 32, "end"); + T$0.IterableOfElement().as(iterable); + if (iterable == null) dart.nullFailed(I[147], 11823, 55, "iterable"); + if (skipCount == null) dart.nullFailed(I[147], 11824, 12, "skipCount"); + dart.throw(new core.UnimplementedError.new()); + } + remove(object) { + return html$._ChildrenElementList._remove(this[S$1._element$2], object); + } + static _remove(_element, object) { + if (_element == null) dart.nullFailed(I[147], 11832, 31, "_element"); + if (html$.Element.is(object)) { + let element = object; + if (element.parentNode == _element) { + _element[S$._removeChild](element); + return true; + } + } + return false; + } + insert(index, element) { + if (index == null) dart.nullFailed(I[147], 11843, 19, "index"); + html$.Element.as(element); + if (element == null) dart.nullFailed(I[147], 11843, 34, "element"); + if (dart.notNull(index) < 0 || dart.notNull(index) > dart.notNull(this.length)) { + dart.throw(new core.RangeError.range(index, 0, this.length)); + } + if (index == this.length) { + this[S$1._element$2][S.$append](element); + } else { + this[S$1._element$2].insertBefore(element, this._get(index)); + } + } + insertAll(index, iterable) { + if (index == null) dart.nullFailed(I[147], 11854, 22, "index"); + T$0.IterableOfElement().as(iterable); + if (iterable == null) dart.nullFailed(I[147], 11854, 47, "iterable"); + dart.throw(new core.UnimplementedError.new()); + } + setAll(index, iterable) { + if (index == null) dart.nullFailed(I[147], 11858, 19, "index"); + T$0.IterableOfElement().as(iterable); + if (iterable == null) dart.nullFailed(I[147], 11858, 44, "iterable"); + dart.throw(new core.UnimplementedError.new()); + } + clear() { + this[S$1._element$2][S$._clearChildren](); + } + removeAt(index) { + if (index == null) dart.nullFailed(I[147], 11866, 24, "index"); + let result = this._get(index); + if (result != null) { + this[S$1._element$2][S$._removeChild](result); + } + return result; + } + removeLast() { + let result = this.last; + this[S$1._element$2][S$._removeChild](result); + return result; + } + get first() { + return html$._ChildrenElementList._first(this[S$1._element$2]); + } + set first(value) { + super.first = value; + } + static _first(_element) { + if (_element == null) dart.nullFailed(I[147], 11884, 33, "_element"); + let result = _element[S._firstElementChild]; + if (result == null) dart.throw(new core.StateError.new("No elements")); + return result; + } + get last() { + let result = this[S$1._element$2][S._lastElementChild]; + if (result == null) dart.throw(new core.StateError.new("No elements")); + return result; + } + set last(value) { + super.last = value; + } + get single() { + if (dart.notNull(this.length) > 1) dart.throw(new core.StateError.new("More than one element")); + return this.first; + } + get rawList() { + return this[S$1._childElements]; + } + }; + (html$._ChildrenElementList._wrap = function(element) { + if (element == null) dart.nullFailed(I[147], 11737, 38, "element"); + this[S$1._childElements] = html$.HtmlCollection.as(element[S._children]); + this[S$1._element$2] = element; + ; + }).prototype = html$._ChildrenElementList.prototype; + dart.addTypeTests(html$._ChildrenElementList); + dart.addTypeCaches(html$._ChildrenElementList); + html$._ChildrenElementList[dart.implements] = () => [html_common.NodeListWrapper]; + dart.setMethodSignature(html$._ChildrenElementList, () => ({ + __proto__: dart.getMethods(html$._ChildrenElementList.__proto__), + _get: dart.fnType(html$.Element, [core.int]), + [$_get]: dart.fnType(html$.Element, [core.int]), + _set: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), + [$_set]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), + add: dart.fnType(html$.Element, [dart.nullable(core.Object)]), + [$add]: dart.fnType(html$.Element, [dart.nullable(core.Object)]), + [S$1._filter$2]: dart.fnType(dart.void, [dart.fnType(core.bool, [html$.Element]), core.bool]) + })); + dart.setGetterSignature(html$._ChildrenElementList, () => ({ + __proto__: dart.getGetters(html$._ChildrenElementList.__proto__), + length: core.int, + [$length]: core.int, + rawList: core.List$(html$.Node) + })); + dart.setSetterSignature(html$._ChildrenElementList, () => ({ + __proto__: dart.getSetters(html$._ChildrenElementList.__proto__), + length: core.int, + [$length]: core.int + })); + dart.setLibraryUri(html$._ChildrenElementList, I[148]); + dart.setFieldSignature(html$._ChildrenElementList, () => ({ + __proto__: dart.getFields(html$._ChildrenElementList.__proto__), + [S$1._element$2]: dart.finalFieldType(html$.Element), + [S$1._childElements]: dart.finalFieldType(html$.HtmlCollection) + })); + dart.defineExtensionMethods(html$._ChildrenElementList, [ + 'contains', + '_get', + '_set', + 'add', + 'addAll', + 'sort', + 'shuffle', + 'removeWhere', + 'retainWhere', + 'fillRange', + 'replaceRange', + 'removeRange', + 'setRange', + 'remove', + 'insert', + 'insertAll', + 'setAll', + 'clear', + 'removeAt', + 'removeLast' + ]); + dart.defineExtensionAccessors(html$._ChildrenElementList, [ + 'isEmpty', + 'length', + 'iterator', + 'first', + 'last', + 'single' + ]); + const _is_ElementList_default = Symbol('_is_ElementList_default'); + html$.ElementList$ = dart.generic(T => { + class ElementList extends collection.ListBase$(T) {} + (ElementList.new = function() { + ; + }).prototype = ElementList.prototype; + dart.addTypeTests(ElementList); + ElementList.prototype[_is_ElementList_default] = true; + dart.addTypeCaches(ElementList); + dart.setLibraryUri(ElementList, I[148]); + return ElementList; + }); + html$.ElementList = html$.ElementList$(); + dart.addTypeTests(html$.ElementList, _is_ElementList_default); + const _is__FrozenElementList_default = Symbol('_is__FrozenElementList_default'); + html$._FrozenElementList$ = dart.generic(E => { + var ETovoid = () => (ETovoid = dart.constFn(dart.fnType(dart.void, [E])))(); + class _FrozenElementList extends collection.ListBase$(E) { + get length() { + return this[S$1._nodeList][$length]; + } + _get(index) { + if (index == null) dart.nullFailed(I[147], 12297, 21, "index"); + return E.as(this[S$1._nodeList][$_get](index)); + } + _set(index, value$) { + let value = value$; + if (index == null) dart.nullFailed(I[147], 12299, 25, "index"); + E.as(value); + if (value == null) dart.nullFailed(I[147], 12299, 34, "value"); + dart.throw(new core.UnsupportedError.new("Cannot modify list")); + return value$; + } + set length(newLength) { + if (newLength == null) dart.nullFailed(I[147], 12303, 18, "newLength"); + dart.throw(new core.UnsupportedError.new("Cannot modify list")); + } + sort(compare = null) { + dart.throw(new core.UnsupportedError.new("Cannot sort list")); + } + shuffle(random = null) { + dart.throw(new core.UnsupportedError.new("Cannot shuffle list")); + } + get first() { + return E.as(this[S$1._nodeList][$first]); + } + set first(value) { + super.first = value; + } + get last() { + return E.as(this[S$1._nodeList][$last]); + } + set last(value) { + super.last = value; + } + get single() { + return E.as(this[S$1._nodeList][$single]); + } + get classes() { + return html$._MultiElementCssClassSet.new(this); + } + get style() { + return new html$._CssStyleDeclarationSet.new(this); + } + set classes(value) { + if (value == null) dart.nullFailed(I[147], 12325, 32, "value"); + this.forEach(dart.fn(e => { + if (e == null) dart.nullFailed(I[147], 12332, 14, "e"); + return e[S.$classes] = value; + }, ETovoid())); + } + get contentEdge() { + return new html$._ContentCssListRect.new(this); + } + get paddingEdge() { + return this.first[S.$paddingEdge]; + } + get borderEdge() { + return this.first[S.$borderEdge]; + } + get marginEdge() { + return this.first[S.$marginEdge]; + } + get rawList() { + return this[S$1._nodeList]; + } + get onAbort() { + return html$.Element.abortEvent[S$1._forElementList](this); + } + get onBeforeCopy() { + return html$.Element.beforeCopyEvent[S$1._forElementList](this); + } + get onBeforeCut() { + return html$.Element.beforeCutEvent[S$1._forElementList](this); + } + get onBeforePaste() { + return html$.Element.beforePasteEvent[S$1._forElementList](this); + } + get onBlur() { + return html$.Element.blurEvent[S$1._forElementList](this); + } + get onCanPlay() { + return html$.Element.canPlayEvent[S$1._forElementList](this); + } + get onCanPlayThrough() { + return html$.Element.canPlayThroughEvent[S$1._forElementList](this); + } + get onChange() { + return html$.Element.changeEvent[S$1._forElementList](this); + } + get onClick() { + return html$.Element.clickEvent[S$1._forElementList](this); + } + get onContextMenu() { + return html$.Element.contextMenuEvent[S$1._forElementList](this); + } + get onCopy() { + return html$.Element.copyEvent[S$1._forElementList](this); + } + get onCut() { + return html$.Element.cutEvent[S$1._forElementList](this); + } + get onDoubleClick() { + return html$.Element.doubleClickEvent[S$1._forElementList](this); + } + get onDrag() { + return html$.Element.dragEvent[S$1._forElementList](this); + } + get onDragEnd() { + return html$.Element.dragEndEvent[S$1._forElementList](this); + } + get onDragEnter() { + return html$.Element.dragEnterEvent[S$1._forElementList](this); + } + get onDragLeave() { + return html$.Element.dragLeaveEvent[S$1._forElementList](this); + } + get onDragOver() { + return html$.Element.dragOverEvent[S$1._forElementList](this); + } + get onDragStart() { + return html$.Element.dragStartEvent[S$1._forElementList](this); + } + get onDrop() { + return html$.Element.dropEvent[S$1._forElementList](this); + } + get onDurationChange() { + return html$.Element.durationChangeEvent[S$1._forElementList](this); + } + get onEmptied() { + return html$.Element.emptiedEvent[S$1._forElementList](this); + } + get onEnded() { + return html$.Element.endedEvent[S$1._forElementList](this); + } + get onError() { + return html$.Element.errorEvent[S$1._forElementList](this); + } + get onFocus() { + return html$.Element.focusEvent[S$1._forElementList](this); + } + get onInput() { + return html$.Element.inputEvent[S$1._forElementList](this); + } + get onInvalid() { + return html$.Element.invalidEvent[S$1._forElementList](this); + } + get onKeyDown() { + return html$.Element.keyDownEvent[S$1._forElementList](this); + } + get onKeyPress() { + return html$.Element.keyPressEvent[S$1._forElementList](this); + } + get onKeyUp() { + return html$.Element.keyUpEvent[S$1._forElementList](this); + } + get onLoad() { + return html$.Element.loadEvent[S$1._forElementList](this); + } + get onLoadedData() { + return html$.Element.loadedDataEvent[S$1._forElementList](this); + } + get onLoadedMetadata() { + return html$.Element.loadedMetadataEvent[S$1._forElementList](this); + } + get onMouseDown() { + return html$.Element.mouseDownEvent[S$1._forElementList](this); + } + get onMouseEnter() { + return html$.Element.mouseEnterEvent[S$1._forElementList](this); + } + get onMouseLeave() { + return html$.Element.mouseLeaveEvent[S$1._forElementList](this); + } + get onMouseMove() { + return html$.Element.mouseMoveEvent[S$1._forElementList](this); + } + get onMouseOut() { + return html$.Element.mouseOutEvent[S$1._forElementList](this); + } + get onMouseOver() { + return html$.Element.mouseOverEvent[S$1._forElementList](this); + } + get onMouseUp() { + return html$.Element.mouseUpEvent[S$1._forElementList](this); + } + get onMouseWheel() { + return html$.Element.mouseWheelEvent[S$1._forElementList](this); + } + get onPaste() { + return html$.Element.pasteEvent[S$1._forElementList](this); + } + get onPause() { + return html$.Element.pauseEvent[S$1._forElementList](this); + } + get onPlay() { + return html$.Element.playEvent[S$1._forElementList](this); + } + get onPlaying() { + return html$.Element.playingEvent[S$1._forElementList](this); + } + get onRateChange() { + return html$.Element.rateChangeEvent[S$1._forElementList](this); + } + get onReset() { + return html$.Element.resetEvent[S$1._forElementList](this); + } + get onResize() { + return html$.Element.resizeEvent[S$1._forElementList](this); + } + get onScroll() { + return html$.Element.scrollEvent[S$1._forElementList](this); + } + get onSearch() { + return html$.Element.searchEvent[S$1._forElementList](this); + } + get onSeeked() { + return html$.Element.seekedEvent[S$1._forElementList](this); + } + get onSeeking() { + return html$.Element.seekingEvent[S$1._forElementList](this); + } + get onSelect() { + return html$.Element.selectEvent[S$1._forElementList](this); + } + get onSelectStart() { + return html$.Element.selectStartEvent[S$1._forElementList](this); + } + get onStalled() { + return html$.Element.stalledEvent[S$1._forElementList](this); + } + get onSubmit() { + return html$.Element.submitEvent[S$1._forElementList](this); + } + get onSuspend() { + return html$.Element.suspendEvent[S$1._forElementList](this); + } + get onTimeUpdate() { + return html$.Element.timeUpdateEvent[S$1._forElementList](this); + } + get onTouchCancel() { + return html$.Element.touchCancelEvent[S$1._forElementList](this); + } + get onTouchEnd() { + return html$.Element.touchEndEvent[S$1._forElementList](this); + } + get onTouchEnter() { + return html$.Element.touchEnterEvent[S$1._forElementList](this); + } + get onTouchLeave() { + return html$.Element.touchLeaveEvent[S$1._forElementList](this); + } + get onTouchMove() { + return html$.Element.touchMoveEvent[S$1._forElementList](this); + } + get onTouchStart() { + return html$.Element.touchStartEvent[S$1._forElementList](this); + } + get onTransitionEnd() { + return html$.Element.transitionEndEvent[S$1._forElementList](this); + } + get onVolumeChange() { + return html$.Element.volumeChangeEvent[S$1._forElementList](this); + } + get onWaiting() { + return html$.Element.waitingEvent[S$1._forElementList](this); + } + get onFullscreenChange() { + return html$.Element.fullscreenChangeEvent[S$1._forElementList](this); + } + get onFullscreenError() { + return html$.Element.fullscreenErrorEvent[S$1._forElementList](this); + } + get onWheel() { + return html$.Element.wheelEvent[S$1._forElementList](this); + } + } + (_FrozenElementList._wrap = function(_nodeList) { + if (_nodeList == null) dart.nullFailed(I[147], 12290, 33, "_nodeList"); + this[S$1._nodeList] = _nodeList; + if (!dart.test(this[S$1._nodeList][$every](dart.fn(element => { + if (element == null) dart.nullFailed(I[147], 12291, 34, "element"); + return E.is(element); + }, T$0.NodeTobool())))) dart.assertFailed("Query expects only HTML elements of type " + dart.str(dart.wrapType(E)) + " but found " + dart.str(this[S$1._nodeList][$firstWhere](dart.fn(e => { + if (e == null) dart.nullFailed(I[147], 12292, 93, "e"); + return !E.is(e); + }, T$0.NodeTobool()))), I[147], 12291, 12, "this._nodeList.every((element) => element is E)"); + }).prototype = _FrozenElementList.prototype; + dart.addTypeTests(_FrozenElementList); + _FrozenElementList.prototype[_is__FrozenElementList_default] = true; + dart.addTypeCaches(_FrozenElementList); + _FrozenElementList[dart.implements] = () => [html$.ElementList$(E), html_common.NodeListWrapper]; + dart.setMethodSignature(_FrozenElementList, () => ({ + __proto__: dart.getMethods(_FrozenElementList.__proto__), + _get: dart.fnType(E, [core.int]), + [$_get]: dart.fnType(E, [core.int]), + _set: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), + [$_set]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]) + })); + dart.setGetterSignature(_FrozenElementList, () => ({ + __proto__: dart.getGetters(_FrozenElementList.__proto__), + length: core.int, + [$length]: core.int, + classes: html$.CssClassSet, + style: html$.CssStyleDeclarationBase, + contentEdge: html$.CssRect, + paddingEdge: html$.CssRect, + borderEdge: html$.CssRect, + marginEdge: html$.CssRect, + rawList: core.List$(html$.Node), + onAbort: html$.ElementStream$(html$.Event), + onBeforeCopy: html$.ElementStream$(html$.Event), + onBeforeCut: html$.ElementStream$(html$.Event), + onBeforePaste: html$.ElementStream$(html$.Event), + onBlur: html$.ElementStream$(html$.Event), + onCanPlay: html$.ElementStream$(html$.Event), + onCanPlayThrough: html$.ElementStream$(html$.Event), + onChange: html$.ElementStream$(html$.Event), + onClick: html$.ElementStream$(html$.MouseEvent), + onContextMenu: html$.ElementStream$(html$.MouseEvent), + onCopy: html$.ElementStream$(html$.ClipboardEvent), + onCut: html$.ElementStream$(html$.ClipboardEvent), + onDoubleClick: html$.ElementStream$(html$.Event), + onDrag: html$.ElementStream$(html$.MouseEvent), + onDragEnd: html$.ElementStream$(html$.MouseEvent), + onDragEnter: html$.ElementStream$(html$.MouseEvent), + onDragLeave: html$.ElementStream$(html$.MouseEvent), + onDragOver: html$.ElementStream$(html$.MouseEvent), + onDragStart: html$.ElementStream$(html$.MouseEvent), + onDrop: html$.ElementStream$(html$.MouseEvent), + onDurationChange: html$.ElementStream$(html$.Event), + onEmptied: html$.ElementStream$(html$.Event), + onEnded: html$.ElementStream$(html$.Event), + onError: html$.ElementStream$(html$.Event), + onFocus: html$.ElementStream$(html$.Event), + onInput: html$.ElementStream$(html$.Event), + onInvalid: html$.ElementStream$(html$.Event), + onKeyDown: html$.ElementStream$(html$.KeyboardEvent), + onKeyPress: html$.ElementStream$(html$.KeyboardEvent), + onKeyUp: html$.ElementStream$(html$.KeyboardEvent), + onLoad: html$.ElementStream$(html$.Event), + onLoadedData: html$.ElementStream$(html$.Event), + onLoadedMetadata: html$.ElementStream$(html$.Event), + onMouseDown: html$.ElementStream$(html$.MouseEvent), + onMouseEnter: html$.ElementStream$(html$.MouseEvent), + onMouseLeave: html$.ElementStream$(html$.MouseEvent), + onMouseMove: html$.ElementStream$(html$.MouseEvent), + onMouseOut: html$.ElementStream$(html$.MouseEvent), + onMouseOver: html$.ElementStream$(html$.MouseEvent), + onMouseUp: html$.ElementStream$(html$.MouseEvent), + onMouseWheel: html$.ElementStream$(html$.WheelEvent), + onPaste: html$.ElementStream$(html$.ClipboardEvent), + onPause: html$.ElementStream$(html$.Event), + onPlay: html$.ElementStream$(html$.Event), + onPlaying: html$.ElementStream$(html$.Event), + onRateChange: html$.ElementStream$(html$.Event), + onReset: html$.ElementStream$(html$.Event), + onResize: html$.ElementStream$(html$.Event), + onScroll: html$.ElementStream$(html$.Event), + onSearch: html$.ElementStream$(html$.Event), + onSeeked: html$.ElementStream$(html$.Event), + onSeeking: html$.ElementStream$(html$.Event), + onSelect: html$.ElementStream$(html$.Event), + onSelectStart: html$.ElementStream$(html$.Event), + onStalled: html$.ElementStream$(html$.Event), + onSubmit: html$.ElementStream$(html$.Event), + onSuspend: html$.ElementStream$(html$.Event), + onTimeUpdate: html$.ElementStream$(html$.Event), + onTouchCancel: html$.ElementStream$(html$.TouchEvent), + onTouchEnd: html$.ElementStream$(html$.TouchEvent), + onTouchEnter: html$.ElementStream$(html$.TouchEvent), + onTouchLeave: html$.ElementStream$(html$.TouchEvent), + onTouchMove: html$.ElementStream$(html$.TouchEvent), + onTouchStart: html$.ElementStream$(html$.TouchEvent), + onTransitionEnd: html$.ElementStream$(html$.TransitionEvent), + onVolumeChange: html$.ElementStream$(html$.Event), + onWaiting: html$.ElementStream$(html$.Event), + onFullscreenChange: html$.ElementStream$(html$.Event), + onFullscreenError: html$.ElementStream$(html$.Event), + onWheel: html$.ElementStream$(html$.WheelEvent) + })); + dart.setSetterSignature(_FrozenElementList, () => ({ + __proto__: dart.getSetters(_FrozenElementList.__proto__), + length: core.int, + [$length]: core.int, + classes: core.Iterable$(core.String) + })); + dart.setLibraryUri(_FrozenElementList, I[148]); + dart.setFieldSignature(_FrozenElementList, () => ({ + __proto__: dart.getFields(_FrozenElementList.__proto__), + [S$1._nodeList]: dart.finalFieldType(core.List$(html$.Node)) + })); + dart.defineExtensionMethods(_FrozenElementList, ['_get', '_set', 'sort', 'shuffle']); + dart.defineExtensionAccessors(_FrozenElementList, ['length', 'first', 'last', 'single']); + return _FrozenElementList; + }); + html$._FrozenElementList = html$._FrozenElementList$(); + dart.addTypeTests(html$._FrozenElementList, _is__FrozenElementList_default); + html$._ElementFactoryProvider = class _ElementFactoryProvider extends core.Object { + static createElement_tag(tag, typeExtension) { + if (tag == null) dart.nullFailed(I[147], 15231, 43, "tag"); + if (typeExtension != null) { + return document.createElement(tag, typeExtension); + } + return document.createElement(tag); + } + }; + (html$._ElementFactoryProvider.new = function() { + ; + }).prototype = html$._ElementFactoryProvider.prototype; + dart.addTypeTests(html$._ElementFactoryProvider); + dart.addTypeCaches(html$._ElementFactoryProvider); + dart.setLibraryUri(html$._ElementFactoryProvider, I[148]); + html$.ScrollAlignment = class ScrollAlignment extends core.Object { + get [S$1._value$7]() { + return this[S$1._value$6]; + } + set [S$1._value$7](value) { + super[S$1._value$7] = value; + } + toString() { + return "ScrollAlignment." + dart.str(this[S$1._value$7]); + } + }; + (html$.ScrollAlignment._internal = function(_value) { + this[S$1._value$6] = _value; + ; + }).prototype = html$.ScrollAlignment.prototype; + dart.addTypeTests(html$.ScrollAlignment); + dart.addTypeCaches(html$.ScrollAlignment); + dart.setLibraryUri(html$.ScrollAlignment, I[148]); + dart.setFieldSignature(html$.ScrollAlignment, () => ({ + __proto__: dart.getFields(html$.ScrollAlignment.__proto__), + [S$1._value$7]: dart.finalFieldType(dart.dynamic) + })); + dart.defineExtensionMethods(html$.ScrollAlignment, ['toString']); + dart.defineLazy(html$.ScrollAlignment, { + /*html$.ScrollAlignment.TOP*/get TOP() { + return C[327] || CT.C327; + }, + /*html$.ScrollAlignment.CENTER*/get CENTER() { + return C[328] || CT.C328; + }, + /*html$.ScrollAlignment.BOTTOM*/get BOTTOM() { + return C[329] || CT.C329; + } + }, false); + html$.EmbedElement = class EmbedElement extends html$.HtmlElement { + static new() { + return html$.EmbedElement.as(html$.document[S.$createElement]("embed")); + } + static get supported() { + return html$.Element.isTagSupported("embed"); + } + get [$height]() { + return this.height; + } + set [$height](value) { + this.height = value; + } + get [$name]() { + return this.name; + } + set [$name](value) { + this.name = value; + } + get [S$.$src]() { + return this.src; + } + set [S$.$src](value) { + this.src = value; + } + get [S.$type]() { + return this.type; + } + set [S.$type](value) { + this.type = value; + } + get [$width]() { + return this.width; + } + set [$width](value) { + this.width = value; + } + [S$.__getter__](...args) { + return this.__getter__.apply(this, args); + } + [S$.__setter__](...args) { + return this.__setter__.apply(this, args); + } + }; + (html$.EmbedElement.created = function() { + html$.EmbedElement.__proto__.created.call(this); + ; + }).prototype = html$.EmbedElement.prototype; + dart.addTypeTests(html$.EmbedElement); + dart.addTypeCaches(html$.EmbedElement); + dart.setMethodSignature(html$.EmbedElement, () => ({ + __proto__: dart.getMethods(html$.EmbedElement.__proto__), + [S$.__getter__]: dart.fnType(html$.Node, [core.String]), + [S$.__setter__]: dart.fnType(dart.void, [core.String, html$.Node]) + })); + dart.setGetterSignature(html$.EmbedElement, () => ({ + __proto__: dart.getGetters(html$.EmbedElement.__proto__), + [$height]: core.String, + [$name]: dart.nullable(core.String), + [S$.$src]: core.String, + [S.$type]: core.String, + [$width]: core.String + })); + dart.setSetterSignature(html$.EmbedElement, () => ({ + __proto__: dart.getSetters(html$.EmbedElement.__proto__), + [$height]: core.String, + [$name]: dart.nullable(core.String), + [S$.$src]: core.String, + [S.$type]: core.String, + [$width]: core.String + })); + dart.setLibraryUri(html$.EmbedElement, I[148]); + dart.registerExtension("HTMLEmbedElement", html$.EmbedElement); + html$.ErrorEvent = class ErrorEvent$ extends html$.Event { + static new(type, eventInitDict = null) { + if (type == null) dart.nullFailed(I[147], 15450, 29, "type"); + if (eventInitDict != null) { + let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); + return html$.ErrorEvent._create_1(type, eventInitDict_1); + } + return html$.ErrorEvent._create_2(type); + } + static _create_1(type, eventInitDict) { + return new ErrorEvent(type, eventInitDict); + } + static _create_2(type) { + return new ErrorEvent(type); + } + get [S$1.$colno]() { + return this.colno; + } + get [S.$error]() { + return this.error; + } + get [S$1.$filename]() { + return this.filename; + } + get [S$1.$lineno]() { + return this.lineno; + } + get [$message]() { + return this.message; + } + }; + dart.addTypeTests(html$.ErrorEvent); + dart.addTypeCaches(html$.ErrorEvent); + dart.setGetterSignature(html$.ErrorEvent, () => ({ + __proto__: dart.getGetters(html$.ErrorEvent.__proto__), + [S$1.$colno]: dart.nullable(core.int), + [S.$error]: dart.nullable(core.Object), + [S$1.$filename]: dart.nullable(core.String), + [S$1.$lineno]: dart.nullable(core.int), + [$message]: dart.nullable(core.String) + })); + dart.setLibraryUri(html$.ErrorEvent, I[148]); + dart.registerExtension("ErrorEvent", html$.ErrorEvent); + html$.EventSource = class EventSource$ extends html$.EventTarget { + static new(url, opts) { + if (url == null) dart.nullFailed(I[147], 15622, 30, "url"); + let withCredentials = opts && 'withCredentials' in opts ? opts.withCredentials : false; + let parsedOptions = new (T$0.IdentityMapOfString$dynamic()).from(["withCredentials", withCredentials]); + return html$.EventSource._factoryEventSource(url, parsedOptions); + } + static _factoryEventSource(url, eventSourceInitDict = null) { + if (url == null) dart.nullFailed(I[147], 15660, 49, "url"); + if (eventSourceInitDict != null) { + let eventSourceInitDict_1 = html_common.convertDartToNative_Dictionary(eventSourceInitDict); + return html$.EventSource._create_1(url, eventSourceInitDict_1); + } + return html$.EventSource._create_2(url); + } + static _create_1(url, eventSourceInitDict) { + return new EventSource(url, eventSourceInitDict); + } + static _create_2(url) { + return new EventSource(url); + } + get [S.$readyState]() { + return this.readyState; + } + get [S$.$url]() { + return this.url; + } + get [S$1.$withCredentials]() { + return this.withCredentials; + } + [S.$close](...args) { + return this.close.apply(this, args); + } + get [S.$onError]() { + return html$.EventSource.errorEvent.forTarget(this); + } + get [S$.$onMessage]() { + return html$.EventSource.messageEvent.forTarget(this); + } + get [S$1.$onOpen]() { + return html$.EventSource.openEvent.forTarget(this); + } + }; + dart.addTypeTests(html$.EventSource); + dart.addTypeCaches(html$.EventSource); + dart.setMethodSignature(html$.EventSource, () => ({ + __proto__: dart.getMethods(html$.EventSource.__proto__), + [S.$close]: dart.fnType(dart.void, []) + })); + dart.setGetterSignature(html$.EventSource, () => ({ + __proto__: dart.getGetters(html$.EventSource.__proto__), + [S.$readyState]: dart.nullable(core.int), + [S$.$url]: dart.nullable(core.String), + [S$1.$withCredentials]: dart.nullable(core.bool), + [S.$onError]: async.Stream$(html$.Event), + [S$.$onMessage]: async.Stream$(html$.MessageEvent), + [S$1.$onOpen]: async.Stream$(html$.Event) + })); + dart.setLibraryUri(html$.EventSource, I[148]); + dart.defineLazy(html$.EventSource, { + /*html$.EventSource.errorEvent*/get errorEvent() { + return C[216] || CT.C216; + }, + /*html$.EventSource.messageEvent*/get messageEvent() { + return C[312] || CT.C312; + }, + /*html$.EventSource.openEvent*/get openEvent() { + return C[330] || CT.C330; + }, + /*html$.EventSource.CLOSED*/get CLOSED() { + return 2; + }, + /*html$.EventSource.CONNECTING*/get CONNECTING() { + return 0; + }, + /*html$.EventSource.OPEN*/get OPEN() { + return 1; + } + }, false); + dart.registerExtension("EventSource", html$.EventSource); + html$.Events = class Events extends core.Object { + _get(type) { + if (type == null) dart.nullFailed(I[147], 15744, 36, "type"); + return new (T$0._EventStreamOfEvent()).new(this[S$1._ptr], type, false); + } + }; + (html$.Events.new = function(_ptr) { + if (_ptr == null) dart.nullFailed(I[147], 15742, 15, "_ptr"); + this[S$1._ptr] = _ptr; + ; + }).prototype = html$.Events.prototype; + dart.addTypeTests(html$.Events); + dart.addTypeCaches(html$.Events); + dart.setMethodSignature(html$.Events, () => ({ + __proto__: dart.getMethods(html$.Events.__proto__), + _get: dart.fnType(async.Stream$(html$.Event), [core.String]) + })); + dart.setLibraryUri(html$.Events, I[148]); + dart.setFieldSignature(html$.Events, () => ({ + __proto__: dart.getFields(html$.Events.__proto__), + [S$1._ptr]: dart.finalFieldType(html$.EventTarget) + })); + html$.ElementEvents = class ElementEvents extends html$.Events { + _get(type) { + if (type == null) dart.nullFailed(I[147], 15769, 36, "type"); + if (dart.test(html$.ElementEvents.webkitEvents[$keys][$contains](type[$toLowerCase]()))) { + if (dart.test(html_common.Device.isWebKit)) { + return new (T$0._ElementEventStreamImplOfEvent()).new(this[S$1._ptr], html$.ElementEvents.webkitEvents[$_get](type[$toLowerCase]()), false); + } + } + return new (T$0._ElementEventStreamImplOfEvent()).new(this[S$1._ptr], type, false); + } + }; + (html$.ElementEvents.new = function(ptr) { + if (ptr == null) dart.nullFailed(I[147], 15767, 25, "ptr"); + html$.ElementEvents.__proto__.new.call(this, ptr); + ; + }).prototype = html$.ElementEvents.prototype; + dart.addTypeTests(html$.ElementEvents); + dart.addTypeCaches(html$.ElementEvents); + dart.setLibraryUri(html$.ElementEvents, I[148]); + dart.defineLazy(html$.ElementEvents, { + /*html$.ElementEvents.webkitEvents*/get webkitEvents() { + return new (T$.IdentityMapOfString$String()).from(["animationend", "webkitAnimationEnd", "animationiteration", "webkitAnimationIteration", "animationstart", "webkitAnimationStart", "fullscreenchange", "webkitfullscreenchange", "fullscreenerror", "webkitfullscreenerror", "keyadded", "webkitkeyadded", "keyerror", "webkitkeyerror", "keymessage", "webkitkeymessage", "needkey", "webkitneedkey", "pointerlockchange", "webkitpointerlockchange", "pointerlockerror", "webkitpointerlockerror", "resourcetimingbufferfull", "webkitresourcetimingbufferfull", "transitionend", "webkitTransitionEnd", "speechchange", "webkitSpeechChange"]); + } + }, false); + html$.ExtendableMessageEvent = class ExtendableMessageEvent extends html$.ExtendableEvent { + get [S$.$data]() { + return this.data; + } + get [S$1.$lastEventId]() { + return this.lastEventId; + } + get [S$.$origin]() { + return this.origin; + } + get [S$1.$ports]() { + return this.ports; + } + get [S.$source]() { + return this.source; + } + }; + dart.addTypeTests(html$.ExtendableMessageEvent); + dart.addTypeCaches(html$.ExtendableMessageEvent); + dart.setGetterSignature(html$.ExtendableMessageEvent, () => ({ + __proto__: dart.getGetters(html$.ExtendableMessageEvent.__proto__), + [S$.$data]: dart.nullable(core.Object), + [S$1.$lastEventId]: dart.nullable(core.String), + [S$.$origin]: dart.nullable(core.String), + [S$1.$ports]: dart.nullable(core.List$(html$.MessagePort)), + [S.$source]: dart.nullable(core.Object) + })); + dart.setLibraryUri(html$.ExtendableMessageEvent, I[148]); + dart.registerExtension("ExtendableMessageEvent", html$.ExtendableMessageEvent); + html$.External = class External extends _interceptors.Interceptor { + [S$1.$AddSearchProvider](...args) { + return this.AddSearchProvider.apply(this, args); + } + [S$1.$IsSearchProviderInstalled](...args) { + return this.IsSearchProviderInstalled.apply(this, args); + } + }; + dart.addTypeTests(html$.External); + dart.addTypeCaches(html$.External); + dart.setMethodSignature(html$.External, () => ({ + __proto__: dart.getMethods(html$.External.__proto__), + [S$1.$AddSearchProvider]: dart.fnType(dart.void, []), + [S$1.$IsSearchProviderInstalled]: dart.fnType(dart.void, []) + })); + dart.setLibraryUri(html$.External, I[148]); + dart.registerExtension("External", html$.External); + html$.FaceDetector = class FaceDetector$ extends _interceptors.Interceptor { + static new(faceDetectorOptions = null) { + if (faceDetectorOptions != null) { + let faceDetectorOptions_1 = html_common.convertDartToNative_Dictionary(faceDetectorOptions); + return html$.FaceDetector._create_1(faceDetectorOptions_1); + } + return html$.FaceDetector._create_2(); + } + static _create_1(faceDetectorOptions) { + return new FaceDetector(faceDetectorOptions); + } + static _create_2() { + return new FaceDetector(); + } + [S$.$detect](image) { + return js_util.promiseToFuture(core.List, this.detect(image)); + } + }; + dart.addTypeTests(html$.FaceDetector); + dart.addTypeCaches(html$.FaceDetector); + dart.setMethodSignature(html$.FaceDetector, () => ({ + __proto__: dart.getMethods(html$.FaceDetector.__proto__), + [S$.$detect]: dart.fnType(async.Future$(core.List), [dart.dynamic]) + })); + dart.setLibraryUri(html$.FaceDetector, I[148]); + dart.registerExtension("FaceDetector", html$.FaceDetector); + html$.FederatedCredential = class FederatedCredential$ extends html$.Credential { + static new(data) { + if (data == null) dart.nullFailed(I[147], 15934, 35, "data"); + let data_1 = html_common.convertDartToNative_Dictionary(data); + return html$.FederatedCredential._create_1(data_1); + } + static _create_1(data) { + return new FederatedCredential(data); + } + get [S$.$protocol]() { + return this.protocol; + } + get [S$1.$provider]() { + return this.provider; + } + get [S$.$iconUrl]() { + return this.iconURL; + } + get [$name]() { + return this.name; + } + }; + dart.addTypeTests(html$.FederatedCredential); + dart.addTypeCaches(html$.FederatedCredential); + html$.FederatedCredential[dart.implements] = () => [html$.CredentialUserData]; + dart.setGetterSignature(html$.FederatedCredential, () => ({ + __proto__: dart.getGetters(html$.FederatedCredential.__proto__), + [S$.$protocol]: dart.nullable(core.String), + [S$1.$provider]: dart.nullable(core.String), + [S$.$iconUrl]: dart.nullable(core.String), + [$name]: dart.nullable(core.String) + })); + dart.setLibraryUri(html$.FederatedCredential, I[148]); + dart.registerExtension("FederatedCredential", html$.FederatedCredential); + html$.FetchEvent = class FetchEvent$ extends html$.ExtendableEvent { + static new(type, eventInitDict) { + if (type == null) dart.nullFailed(I[147], 15963, 29, "type"); + if (eventInitDict == null) dart.nullFailed(I[147], 15963, 39, "eventInitDict"); + let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); + return html$.FetchEvent._create_1(type, eventInitDict_1); + } + static _create_1(type, eventInitDict) { + return new FetchEvent(type, eventInitDict); + } + get [S$1.$clientId]() { + return this.clientId; + } + get [S$1.$isReload]() { + return this.isReload; + } + get [S$1.$preloadResponse]() { + return js_util.promiseToFuture(dart.dynamic, this.preloadResponse); + } + get [S$.$request]() { + return this.request; + } + [S$.$respondWith](...args) { + return this.respondWith.apply(this, args); + } + }; + dart.addTypeTests(html$.FetchEvent); + dart.addTypeCaches(html$.FetchEvent); + dart.setMethodSignature(html$.FetchEvent, () => ({ + __proto__: dart.getMethods(html$.FetchEvent.__proto__), + [S$.$respondWith]: dart.fnType(dart.void, [async.Future]) + })); + dart.setGetterSignature(html$.FetchEvent, () => ({ + __proto__: dart.getGetters(html$.FetchEvent.__proto__), + [S$1.$clientId]: dart.nullable(core.String), + [S$1.$isReload]: dart.nullable(core.bool), + [S$1.$preloadResponse]: async.Future, + [S$.$request]: dart.nullable(html$._Request) + })); + dart.setLibraryUri(html$.FetchEvent, I[148]); + dart.registerExtension("FetchEvent", html$.FetchEvent); + html$.FieldSetElement = class FieldSetElement extends html$.HtmlElement { + static new() { + return html$.document.createElement("fieldset"); + } + get [S$.$disabled]() { + return this.disabled; + } + set [S$.$disabled](value) { + this.disabled = value; + } + get [S$1.$elements]() { + return this.elements; + } + get [S$.$form]() { + return this.form; + } + get [$name]() { + return this.name; + } + set [$name](value) { + this.name = value; + } + get [S.$type]() { + return this.type; + } + get [S$.$validationMessage]() { + return this.validationMessage; + } + get [S$.$validity]() { + return this.validity; + } + get [S$.$willValidate]() { + return this.willValidate; + } + [S$.$checkValidity](...args) { + return this.checkValidity.apply(this, args); + } + [S$.$reportValidity](...args) { + return this.reportValidity.apply(this, args); + } + [S$.$setCustomValidity](...args) { + return this.setCustomValidity.apply(this, args); + } + }; + (html$.FieldSetElement.created = function() { + html$.FieldSetElement.__proto__.created.call(this); + ; + }).prototype = html$.FieldSetElement.prototype; + dart.addTypeTests(html$.FieldSetElement); + dart.addTypeCaches(html$.FieldSetElement); + dart.setMethodSignature(html$.FieldSetElement, () => ({ + __proto__: dart.getMethods(html$.FieldSetElement.__proto__), + [S$.$checkValidity]: dart.fnType(core.bool, []), + [S$.$reportValidity]: dart.fnType(core.bool, []), + [S$.$setCustomValidity]: dart.fnType(dart.void, [core.String]) + })); + dart.setGetterSignature(html$.FieldSetElement, () => ({ + __proto__: dart.getGetters(html$.FieldSetElement.__proto__), + [S$.$disabled]: dart.nullable(core.bool), + [S$1.$elements]: dart.nullable(core.List$(html$.Node)), + [S$.$form]: dart.nullable(html$.FormElement), + [$name]: core.String, + [S.$type]: core.String, + [S$.$validationMessage]: core.String, + [S$.$validity]: html$.ValidityState, + [S$.$willValidate]: core.bool + })); + dart.setSetterSignature(html$.FieldSetElement, () => ({ + __proto__: dart.getSetters(html$.FieldSetElement.__proto__), + [S$.$disabled]: dart.nullable(core.bool), + [$name]: core.String + })); + dart.setLibraryUri(html$.FieldSetElement, I[148]); + dart.registerExtension("HTMLFieldSetElement", html$.FieldSetElement); + html$.File = class File$ extends html$.Blob { + static new(fileBits, fileName, options = null) { + if (fileBits == null) dart.nullFailed(I[147], 16044, 29, "fileBits"); + if (fileName == null) dart.nullFailed(I[147], 16044, 46, "fileName"); + if (options != null) { + let options_1 = html_common.convertDartToNative_Dictionary(options); + return html$.File._create_1(fileBits, fileName, options_1); + } + return html$.File._create_2(fileBits, fileName); + } + static _create_1(fileBits, fileName, options) { + return new File(fileBits, fileName, options); + } + static _create_2(fileBits, fileName) { + return new File(fileBits, fileName); + } + get [S$1.$lastModified]() { + return this.lastModified; + } + get [S$1.$lastModifiedDate]() { + return html_common.convertNativeToDart_DateTime(this[S$1._get_lastModifiedDate]); + } + get [S$1._get_lastModifiedDate]() { + return this.lastModifiedDate; + } + get [$name]() { + return this.name; + } + get [S$1.$relativePath]() { + return this.webkitRelativePath; + } + }; + dart.addTypeTests(html$.File); + dart.addTypeCaches(html$.File); + dart.setGetterSignature(html$.File, () => ({ + __proto__: dart.getGetters(html$.File.__proto__), + [S$1.$lastModified]: dart.nullable(core.int), + [S$1.$lastModifiedDate]: core.DateTime, + [S$1._get_lastModifiedDate]: dart.dynamic, + [$name]: core.String, + [S$1.$relativePath]: dart.nullable(core.String) + })); + dart.setLibraryUri(html$.File, I[148]); + dart.registerExtension("File", html$.File); + html$.FileEntry = class FileEntry extends html$.Entry { + [S$1._createWriter](...args) { + return this.createWriter.apply(this, args); + } + [S$1.$createWriter]() { + let completer = T$0.CompleterOfFileWriter().new(); + this[S$1._createWriter](dart.fn(value => { + if (value == null) dart.nullFailed(I[147], 16096, 20, "value"); + _js_helper.applyExtension("FileWriter", value); + completer.complete(value); + }, T$0.FileWriterTovoid()), dart.fn(error => { + if (error == null) dart.nullFailed(I[147], 16099, 9, "error"); + completer.completeError(error); + }, T$0.DomExceptionTovoid())); + return completer.future; + } + [S$1._file$1](...args) { + return this.file.apply(this, args); + } + [S$1.$file]() { + let completer = T$0.CompleterOfFile().new(); + this[S$1._file$1](dart.fn(value => { + _js_helper.applyExtension("File", value); + completer.complete(value); + }, T$0.FileNTovoid()), dart.fn(error => { + if (error == null) dart.nullFailed(I[147], 16115, 9, "error"); + completer.completeError(error); + }, T$0.DomExceptionTovoid())); + return completer.future; + } + }; + dart.addTypeTests(html$.FileEntry); + dart.addTypeCaches(html$.FileEntry); + dart.setMethodSignature(html$.FileEntry, () => ({ + __proto__: dart.getMethods(html$.FileEntry.__proto__), + [S$1._createWriter]: dart.fnType(dart.void, [dart.fnType(dart.void, [html$.FileWriter])], [dart.nullable(dart.fnType(dart.void, [html$.DomException]))]), + [S$1.$createWriter]: dart.fnType(async.Future$(html$.FileWriter), []), + [S$1._file$1]: dart.fnType(dart.void, [dart.fnType(dart.void, [dart.nullable(html$.File)])], [dart.nullable(dart.fnType(dart.void, [html$.DomException]))]), + [S$1.$file]: dart.fnType(async.Future$(html$.File), []) + })); + dart.setLibraryUri(html$.FileEntry, I[148]); + dart.registerExtension("FileEntry", html$.FileEntry); + const Interceptor_ListMixin$36$0 = class Interceptor_ListMixin extends _interceptors.Interceptor {}; + (Interceptor_ListMixin$36$0.new = function() { + Interceptor_ListMixin$36$0.__proto__.new.call(this); + }).prototype = Interceptor_ListMixin$36$0.prototype; + dart.applyMixin(Interceptor_ListMixin$36$0, collection.ListMixin$(html$.File)); + const Interceptor_ImmutableListMixin$36$0 = class Interceptor_ImmutableListMixin extends Interceptor_ListMixin$36$0 {}; + (Interceptor_ImmutableListMixin$36$0.new = function() { + Interceptor_ImmutableListMixin$36$0.__proto__.new.call(this); + }).prototype = Interceptor_ImmutableListMixin$36$0.prototype; + dart.applyMixin(Interceptor_ImmutableListMixin$36$0, html$.ImmutableListMixin$(html$.File)); + html$.FileList = class FileList extends Interceptor_ImmutableListMixin$36$0 { + get [$length]() { + return this.length; + } + [$_get](index) { + if (index == null) dart.nullFailed(I[147], 16136, 24, "index"); + if (index >>> 0 !== index || index >= this[$length]) dart.throw(new core.IndexError.new(index, this)); + return this[index]; + } + [$_set](index, value$) { + let value = value$; + if (index == null) dart.nullFailed(I[147], 16142, 25, "index"); + html$.File.as(value); + if (value == null) dart.nullFailed(I[147], 16142, 37, "value"); + dart.throw(new core.UnsupportedError.new("Cannot assign element of immutable List.")); + return value$; + } + set [$length](value) { + if (value == null) dart.nullFailed(I[147], 16148, 18, "value"); + dart.throw(new core.UnsupportedError.new("Cannot resize immutable List.")); + } + get [$first]() { + if (dart.notNull(this[$length]) > 0) { + return this[0]; + } + dart.throw(new core.StateError.new("No elements")); + } + set [$first](value) { + super[$first] = value; + } + get [$last]() { + let len = this[$length]; + if (dart.notNull(len) > 0) { + return this[dart.notNull(len) - 1]; + } + dart.throw(new core.StateError.new("No elements")); + } + set [$last](value) { + super[$last] = value; + } + get [$single]() { + let len = this[$length]; + if (len === 1) { + return this[0]; + } + if (len === 0) dart.throw(new core.StateError.new("No elements")); + dart.throw(new core.StateError.new("More than one element")); + } + [$elementAt](index) { + if (index == null) dart.nullFailed(I[147], 16176, 22, "index"); + return this[$_get](index); + } + [S$.$item](...args) { + return this.item.apply(this, args); + } + }; + html$.FileList.prototype[dart.isList] = true; + dart.addTypeTests(html$.FileList); + dart.addTypeCaches(html$.FileList); + html$.FileList[dart.implements] = () => [core.List$(html$.File), _js_helper.JavaScriptIndexingBehavior$(html$.File)]; + dart.setMethodSignature(html$.FileList, () => ({ + __proto__: dart.getMethods(html$.FileList.__proto__), + [$_get]: dart.fnType(html$.File, [core.int]), + [$_set]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), + [S$.$item]: dart.fnType(dart.nullable(html$.File), [core.int]) + })); + dart.setGetterSignature(html$.FileList, () => ({ + __proto__: dart.getGetters(html$.FileList.__proto__), + [$length]: core.int + })); + dart.setSetterSignature(html$.FileList, () => ({ + __proto__: dart.getSetters(html$.FileList.__proto__), + [$length]: core.int + })); + dart.setLibraryUri(html$.FileList, I[148]); + dart.registerExtension("FileList", html$.FileList); + html$.FileReader = class FileReader$ extends html$.EventTarget { + get [S.$result]() { + let res = this.result; + if (typed_data.ByteBuffer.is(res)) { + return typed_data.Uint8List.view(res); + } + return res; + } + static new() { + return html$.FileReader._create_1(); + } + static _create_1() { + return new FileReader(); + } + get [S.$error]() { + return this.error; + } + get [S.$readyState]() { + return this.readyState; + } + [S.$abort](...args) { + return this.abort.apply(this, args); + } + [S$1.$readAsArrayBuffer](...args) { + return this.readAsArrayBuffer.apply(this, args); + } + [S$1.$readAsDataUrl](...args) { + return this.readAsDataURL.apply(this, args); + } + [S$1.$readAsText](...args) { + return this.readAsText.apply(this, args); + } + get [S.$onAbort]() { + return html$.FileReader.abortEvent.forTarget(this); + } + get [S.$onError]() { + return html$.FileReader.errorEvent.forTarget(this); + } + get [S.$onLoad]() { + return html$.FileReader.loadEvent.forTarget(this); + } + get [S$1.$onLoadEnd]() { + return html$.FileReader.loadEndEvent.forTarget(this); + } + get [S$1.$onLoadStart]() { + return html$.FileReader.loadStartEvent.forTarget(this); + } + get [S$.$onProgress]() { + return html$.FileReader.progressEvent.forTarget(this); + } + }; + dart.addTypeTests(html$.FileReader); + dart.addTypeCaches(html$.FileReader); + dart.setMethodSignature(html$.FileReader, () => ({ + __proto__: dart.getMethods(html$.FileReader.__proto__), + [S.$abort]: dart.fnType(dart.void, []), + [S$1.$readAsArrayBuffer]: dart.fnType(dart.void, [html$.Blob]), + [S$1.$readAsDataUrl]: dart.fnType(dart.void, [html$.Blob]), + [S$1.$readAsText]: dart.fnType(dart.void, [html$.Blob], [dart.nullable(core.String)]) + })); + dart.setGetterSignature(html$.FileReader, () => ({ + __proto__: dart.getGetters(html$.FileReader.__proto__), + [S.$result]: dart.nullable(core.Object), + [S.$error]: dart.nullable(html$.DomException), + [S.$readyState]: core.int, + [S.$onAbort]: async.Stream$(html$.ProgressEvent), + [S.$onError]: async.Stream$(html$.ProgressEvent), + [S.$onLoad]: async.Stream$(html$.ProgressEvent), + [S$1.$onLoadEnd]: async.Stream$(html$.ProgressEvent), + [S$1.$onLoadStart]: async.Stream$(html$.ProgressEvent), + [S$.$onProgress]: async.Stream$(html$.ProgressEvent) + })); + dart.setLibraryUri(html$.FileReader, I[148]); + dart.defineLazy(html$.FileReader, { + /*html$.FileReader.abortEvent*/get abortEvent() { + return C[331] || CT.C331; + }, + /*html$.FileReader.errorEvent*/get errorEvent() { + return C[332] || CT.C332; + }, + /*html$.FileReader.loadEvent*/get loadEvent() { + return C[333] || CT.C333; + }, + /*html$.FileReader.loadEndEvent*/get loadEndEvent() { + return C[334] || CT.C334; + }, + /*html$.FileReader.loadStartEvent*/get loadStartEvent() { + return C[335] || CT.C335; + }, + /*html$.FileReader.progressEvent*/get progressEvent() { + return C[309] || CT.C309; + }, + /*html$.FileReader.DONE*/get DONE() { + return 2; + }, + /*html$.FileReader.EMPTY*/get EMPTY() { + return 0; + }, + /*html$.FileReader.LOADING*/get LOADING() { + return 1; + } + }, false); + dart.registerExtension("FileReader", html$.FileReader); + html$.FileSystem = class FileSystem extends _interceptors.Interceptor { + static get supported() { + return !!window.webkitRequestFileSystem; + } + get [$name]() { + return this.name; + } + get [S$1.$root]() { + return this.root; + } + }; + dart.addTypeTests(html$.FileSystem); + dart.addTypeCaches(html$.FileSystem); + dart.setGetterSignature(html$.FileSystem, () => ({ + __proto__: dart.getGetters(html$.FileSystem.__proto__), + [$name]: dart.nullable(core.String), + [S$1.$root]: dart.nullable(html$.DirectoryEntry) + })); + dart.setLibraryUri(html$.FileSystem, I[148]); + dart.registerExtension("DOMFileSystem", html$.FileSystem); + html$.FileWriter = class FileWriter extends html$.EventTarget { + get [S.$error]() { + return this.error; + } + get [$length]() { + return this.length; + } + get [S$0.$position]() { + return this.position; + } + get [S.$readyState]() { + return this.readyState; + } + [S.$abort](...args) { + return this.abort.apply(this, args); + } + [S$1.$seek](...args) { + return this.seek.apply(this, args); + } + [$truncate](...args) { + return this.truncate.apply(this, args); + } + [S$1.$write](...args) { + return this.write.apply(this, args); + } + get [S.$onAbort]() { + return html$.FileWriter.abortEvent.forTarget(this); + } + get [S.$onError]() { + return html$.FileWriter.errorEvent.forTarget(this); + } + get [S$.$onProgress]() { + return html$.FileWriter.progressEvent.forTarget(this); + } + get [S$1.$onWrite]() { + return html$.FileWriter.writeEvent.forTarget(this); + } + get [S$1.$onWriteEnd]() { + return html$.FileWriter.writeEndEvent.forTarget(this); + } + get [S$1.$onWriteStart]() { + return html$.FileWriter.writeStartEvent.forTarget(this); + } + }; + dart.addTypeTests(html$.FileWriter); + dart.addTypeCaches(html$.FileWriter); + dart.setMethodSignature(html$.FileWriter, () => ({ + __proto__: dart.getMethods(html$.FileWriter.__proto__), + [S.$abort]: dart.fnType(dart.void, []), + [S$1.$seek]: dart.fnType(dart.void, [core.int]), + [$truncate]: dart.fnType(dart.void, [core.int]), + [S$1.$write]: dart.fnType(dart.void, [html$.Blob]) + })); + dart.setGetterSignature(html$.FileWriter, () => ({ + __proto__: dart.getGetters(html$.FileWriter.__proto__), + [S.$error]: dart.nullable(html$.DomException), + [$length]: dart.nullable(core.int), + [S$0.$position]: dart.nullable(core.int), + [S.$readyState]: dart.nullable(core.int), + [S.$onAbort]: async.Stream$(html$.ProgressEvent), + [S.$onError]: async.Stream$(html$.Event), + [S$.$onProgress]: async.Stream$(html$.ProgressEvent), + [S$1.$onWrite]: async.Stream$(html$.ProgressEvent), + [S$1.$onWriteEnd]: async.Stream$(html$.ProgressEvent), + [S$1.$onWriteStart]: async.Stream$(html$.ProgressEvent) + })); + dart.setLibraryUri(html$.FileWriter, I[148]); + dart.defineLazy(html$.FileWriter, { + /*html$.FileWriter.abortEvent*/get abortEvent() { + return C[331] || CT.C331; + }, + /*html$.FileWriter.errorEvent*/get errorEvent() { + return C[216] || CT.C216; + }, + /*html$.FileWriter.progressEvent*/get progressEvent() { + return C[309] || CT.C309; + }, + /*html$.FileWriter.writeEvent*/get writeEvent() { + return C[336] || CT.C336; + }, + /*html$.FileWriter.writeEndEvent*/get writeEndEvent() { + return C[337] || CT.C337; + }, + /*html$.FileWriter.writeStartEvent*/get writeStartEvent() { + return C[338] || CT.C338; + }, + /*html$.FileWriter.DONE*/get DONE() { + return 2; + }, + /*html$.FileWriter.INIT*/get INIT() { + return 0; + }, + /*html$.FileWriter.WRITING*/get WRITING() { + return 1; + } + }, false); + dart.registerExtension("FileWriter", html$.FileWriter); + html$.FocusEvent = class FocusEvent$ extends html$.UIEvent { + static new(type, eventInitDict = null) { + if (type == null) dart.nullFailed(I[147], 16445, 29, "type"); + if (eventInitDict != null) { + let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); + return html$.FocusEvent._create_1(type, eventInitDict_1); + } + return html$.FocusEvent._create_2(type); + } + static _create_1(type, eventInitDict) { + return new FocusEvent(type, eventInitDict); + } + static _create_2(type) { + return new FocusEvent(type); + } + get [S$1.$relatedTarget]() { + return html$._convertNativeToDart_EventTarget(this[S$1._get_relatedTarget]); + } + get [S$1._get_relatedTarget]() { + return this.relatedTarget; + } + }; + dart.addTypeTests(html$.FocusEvent); + dart.addTypeCaches(html$.FocusEvent); + dart.setGetterSignature(html$.FocusEvent, () => ({ + __proto__: dart.getGetters(html$.FocusEvent.__proto__), + [S$1.$relatedTarget]: dart.nullable(html$.EventTarget), + [S$1._get_relatedTarget]: dart.dynamic + })); + dart.setLibraryUri(html$.FocusEvent, I[148]); + dart.registerExtension("FocusEvent", html$.FocusEvent); + html$.FontFace = class FontFace$ extends _interceptors.Interceptor { + static new(family, source, descriptors = null) { + if (family == null) dart.nullFailed(I[147], 16474, 27, "family"); + if (source == null) dart.nullFailed(I[147], 16474, 42, "source"); + if (descriptors != null) { + let descriptors_1 = html_common.convertDartToNative_Dictionary(descriptors); + return html$.FontFace._create_1(family, source, descriptors_1); + } + return html$.FontFace._create_2(family, source); + } + static _create_1(family, source, descriptors) { + return new FontFace(family, source, descriptors); + } + static _create_2(family, source) { + return new FontFace(family, source); + } + get [S$0.$display]() { + return this.display; + } + set [S$0.$display](value) { + this.display = value; + } + get [S$1.$family]() { + return this.family; + } + set [S$1.$family](value) { + this.family = value; + } + get [S$1.$featureSettings]() { + return this.featureSettings; + } + set [S$1.$featureSettings](value) { + this.featureSettings = value; + } + get [S$1.$loaded]() { + return js_util.promiseToFuture(html$.FontFace, this.loaded); + } + get [S$.$status]() { + return this.status; + } + get [S$1.$stretch]() { + return this.stretch; + } + set [S$1.$stretch](value) { + this.stretch = value; + } + get [S.$style]() { + return this.style; + } + set [S.$style](value) { + this.style = value; + } + get [S$0.$unicodeRange]() { + return this.unicodeRange; + } + set [S$0.$unicodeRange](value) { + this.unicodeRange = value; + } + get [S$1.$variant]() { + return this.variant; + } + set [S$1.$variant](value) { + this.variant = value; + } + get [S$1.$weight]() { + return this.weight; + } + set [S$1.$weight](value) { + this.weight = value; + } + [S$.$load]() { + return js_util.promiseToFuture(html$.FontFace, this.load()); + } + }; + dart.addTypeTests(html$.FontFace); + dart.addTypeCaches(html$.FontFace); + dart.setMethodSignature(html$.FontFace, () => ({ + __proto__: dart.getMethods(html$.FontFace.__proto__), + [S$.$load]: dart.fnType(async.Future$(html$.FontFace), []) + })); + dart.setGetterSignature(html$.FontFace, () => ({ + __proto__: dart.getGetters(html$.FontFace.__proto__), + [S$0.$display]: dart.nullable(core.String), + [S$1.$family]: dart.nullable(core.String), + [S$1.$featureSettings]: dart.nullable(core.String), + [S$1.$loaded]: async.Future$(html$.FontFace), + [S$.$status]: dart.nullable(core.String), + [S$1.$stretch]: dart.nullable(core.String), + [S.$style]: dart.nullable(core.String), + [S$0.$unicodeRange]: dart.nullable(core.String), + [S$1.$variant]: dart.nullable(core.String), + [S$1.$weight]: dart.nullable(core.String) + })); + dart.setSetterSignature(html$.FontFace, () => ({ + __proto__: dart.getSetters(html$.FontFace.__proto__), + [S$0.$display]: dart.nullable(core.String), + [S$1.$family]: dart.nullable(core.String), + [S$1.$featureSettings]: dart.nullable(core.String), + [S$1.$stretch]: dart.nullable(core.String), + [S.$style]: dart.nullable(core.String), + [S$0.$unicodeRange]: dart.nullable(core.String), + [S$1.$variant]: dart.nullable(core.String), + [S$1.$weight]: dart.nullable(core.String) + })); + dart.setLibraryUri(html$.FontFace, I[148]); + dart.registerExtension("FontFace", html$.FontFace); + html$.FontFaceSet = class FontFaceSet extends html$.EventTarget { + get [S$.$status]() { + return this.status; + } + [$add](...args) { + return this.add.apply(this, args); + } + [S$1.$check](...args) { + return this.check.apply(this, args); + } + [$clear](...args) { + return this.clear.apply(this, args); + } + [S.$delete](...args) { + return this.delete.apply(this, args); + } + [$forEach](...args) { + return this.forEach.apply(this, args); + } + [S$.$has](...args) { + return this.has.apply(this, args); + } + get [S$1.$onLoading]() { + return html$.FontFaceSet.loadingEvent.forTarget(this); + } + get [S$1.$onLoadingDone]() { + return html$.FontFaceSet.loadingDoneEvent.forTarget(this); + } + get [S$1.$onLoadingError]() { + return html$.FontFaceSet.loadingErrorEvent.forTarget(this); + } + }; + dart.addTypeTests(html$.FontFaceSet); + dart.addTypeCaches(html$.FontFaceSet); + dart.setMethodSignature(html$.FontFaceSet, () => ({ + __proto__: dart.getMethods(html$.FontFaceSet.__proto__), + [$add]: dart.fnType(html$.FontFaceSet, [html$.FontFace]), + [S$1.$check]: dart.fnType(core.bool, [core.String], [dart.nullable(core.String)]), + [$clear]: dart.fnType(dart.void, []), + [S.$delete]: dart.fnType(core.bool, [html$.FontFace]), + [$forEach]: dart.fnType(dart.void, [dart.fnType(dart.void, [html$.FontFace, html$.FontFace, html$.FontFaceSet])], [dart.nullable(core.Object)]), + [S$.$has]: dart.fnType(core.bool, [html$.FontFace]) + })); + dart.setGetterSignature(html$.FontFaceSet, () => ({ + __proto__: dart.getGetters(html$.FontFaceSet.__proto__), + [S$.$status]: dart.nullable(core.String), + [S$1.$onLoading]: async.Stream$(html$.FontFaceSetLoadEvent), + [S$1.$onLoadingDone]: async.Stream$(html$.FontFaceSetLoadEvent), + [S$1.$onLoadingError]: async.Stream$(html$.FontFaceSetLoadEvent) + })); + dart.setLibraryUri(html$.FontFaceSet, I[148]); + dart.defineLazy(html$.FontFaceSet, { + /*html$.FontFaceSet.loadingEvent*/get loadingEvent() { + return C[339] || CT.C339; + }, + /*html$.FontFaceSet.loadingDoneEvent*/get loadingDoneEvent() { + return C[340] || CT.C340; + }, + /*html$.FontFaceSet.loadingErrorEvent*/get loadingErrorEvent() { + return C[341] || CT.C341; + } + }, false); + dart.registerExtension("FontFaceSet", html$.FontFaceSet); + html$.FontFaceSetLoadEvent = class FontFaceSetLoadEvent$ extends html$.Event { + static new(type, eventInitDict = null) { + if (type == null) dart.nullFailed(I[147], 16579, 39, "type"); + if (eventInitDict != null) { + let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); + return html$.FontFaceSetLoadEvent._create_1(type, eventInitDict_1); + } + return html$.FontFaceSetLoadEvent._create_2(type); + } + static _create_1(type, eventInitDict) { + return new FontFaceSetLoadEvent(type, eventInitDict); + } + static _create_2(type) { + return new FontFaceSetLoadEvent(type); + } + get [S$1.$fontfaces]() { + return this.fontfaces; + } + }; + dart.addTypeTests(html$.FontFaceSetLoadEvent); + dart.addTypeCaches(html$.FontFaceSetLoadEvent); + dart.setGetterSignature(html$.FontFaceSetLoadEvent, () => ({ + __proto__: dart.getGetters(html$.FontFaceSetLoadEvent.__proto__), + [S$1.$fontfaces]: dart.nullable(core.List$(html$.FontFace)) + })); + dart.setLibraryUri(html$.FontFaceSetLoadEvent, I[148]); + dart.registerExtension("FontFaceSetLoadEvent", html$.FontFaceSetLoadEvent); + html$.FontFaceSource = class FontFaceSource extends _interceptors.Interceptor { + get [S$1.$fonts]() { + return this.fonts; + } + }; + dart.addTypeTests(html$.FontFaceSource); + dart.addTypeCaches(html$.FontFaceSource); + dart.setGetterSignature(html$.FontFaceSource, () => ({ + __proto__: dart.getGetters(html$.FontFaceSource.__proto__), + [S$1.$fonts]: dart.nullable(html$.FontFaceSet) + })); + dart.setLibraryUri(html$.FontFaceSource, I[148]); + dart.registerExtension("FontFaceSource", html$.FontFaceSource); + html$.ForeignFetchEvent = class ForeignFetchEvent$ extends html$.ExtendableEvent { + static new(type, eventInitDict) { + if (type == null) dart.nullFailed(I[147], 16620, 36, "type"); + if (eventInitDict == null) dart.nullFailed(I[147], 16620, 46, "eventInitDict"); + let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); + return html$.ForeignFetchEvent._create_1(type, eventInitDict_1); + } + static _create_1(type, eventInitDict) { + return new ForeignFetchEvent(type, eventInitDict); + } + get [S$.$origin]() { + return this.origin; + } + get [S$.$request]() { + return this.request; + } + [S$.$respondWith](...args) { + return this.respondWith.apply(this, args); + } + }; + dart.addTypeTests(html$.ForeignFetchEvent); + dart.addTypeCaches(html$.ForeignFetchEvent); + dart.setMethodSignature(html$.ForeignFetchEvent, () => ({ + __proto__: dart.getMethods(html$.ForeignFetchEvent.__proto__), + [S$.$respondWith]: dart.fnType(dart.void, [async.Future]) + })); + dart.setGetterSignature(html$.ForeignFetchEvent, () => ({ + __proto__: dart.getGetters(html$.ForeignFetchEvent.__proto__), + [S$.$origin]: dart.nullable(core.String), + [S$.$request]: dart.nullable(html$._Request) + })); + dart.setLibraryUri(html$.ForeignFetchEvent, I[148]); + dart.registerExtension("ForeignFetchEvent", html$.ForeignFetchEvent); + html$.FormData = class FormData$ extends _interceptors.Interceptor { + static new(form = null) { + if (form != null) { + return html$.FormData._create_1(form); + } + return html$.FormData._create_2(); + } + static _create_1(form) { + return new FormData(form); + } + static _create_2() { + return new FormData(); + } + static get supported() { + return !!window.FormData; + } + [S.$append](...args) { + return this.append.apply(this, args); + } + [S$1.$appendBlob](...args) { + return this.append.apply(this, args); + } + [S.$delete](...args) { + return this.delete.apply(this, args); + } + [S.$get](...args) { + return this.get.apply(this, args); + } + [S.$getAll](...args) { + return this.getAll.apply(this, args); + } + [S$.$has](...args) { + return this.has.apply(this, args); + } + [S$.$set](...args) { + return this.set.apply(this, args); + } + }; + dart.addTypeTests(html$.FormData); + dart.addTypeCaches(html$.FormData); + dart.setMethodSignature(html$.FormData, () => ({ + __proto__: dart.getMethods(html$.FormData.__proto__), + [S.$append]: dart.fnType(dart.void, [core.String, core.String]), + [S$1.$appendBlob]: dart.fnType(dart.void, [core.String, html$.Blob], [dart.nullable(core.String)]), + [S.$delete]: dart.fnType(dart.void, [core.String]), + [S.$get]: dart.fnType(dart.nullable(core.Object), [core.String]), + [S.$getAll]: dart.fnType(core.List$(core.Object), [core.String]), + [S$.$has]: dart.fnType(core.bool, [core.String]), + [S$.$set]: dart.fnType(dart.void, [core.String, dart.dynamic], [dart.nullable(core.String)]) + })); + dart.setLibraryUri(html$.FormData, I[148]); + dart.registerExtension("FormData", html$.FormData); + html$.FormElement = class FormElement extends html$.HtmlElement { + static new() { + return html$.document.createElement("form"); + } + get [S$1.$acceptCharset]() { + return this.acceptCharset; + } + set [S$1.$acceptCharset](value) { + this.acceptCharset = value; + } + get [S$1.$action]() { + return this.action; + } + set [S$1.$action](value) { + this.action = value; + } + get [S$.$autocomplete]() { + return this.autocomplete; + } + set [S$.$autocomplete](value) { + this.autocomplete = value; + } + get [S$.$encoding]() { + return this.encoding; + } + set [S$.$encoding](value) { + this.encoding = value; + } + get [S$1.$enctype]() { + return this.enctype; + } + set [S$1.$enctype](value) { + this.enctype = value; + } + get [$length]() { + return this.length; + } + get [S$1.$method]() { + return this.method; + } + set [S$1.$method](value) { + this.method = value; + } + get [$name]() { + return this.name; + } + set [$name](value) { + this.name = value; + } + get [S$1.$noValidate]() { + return this.noValidate; + } + set [S$1.$noValidate](value) { + this.noValidate = value; + } + get [S.$target]() { + return this.target; + } + set [S.$target](value) { + this.target = value; + } + [S$.__getter__](...args) { + return this.__getter__.apply(this, args); + } + [S$.$checkValidity](...args) { + return this.checkValidity.apply(this, args); + } + [S$.$item](...args) { + return this.item.apply(this, args); + } + [S$.$reportValidity](...args) { + return this.reportValidity.apply(this, args); + } + [S$1.$requestAutocomplete](details) { + let details_1 = html_common.convertDartToNative_Dictionary(details); + this[S$1._requestAutocomplete_1](details_1); + return; + } + [S$1._requestAutocomplete_1](...args) { + return this.requestAutocomplete.apply(this, args); + } + [S$1.$reset](...args) { + return this.reset.apply(this, args); + } + [S$1.$submit](...args) { + return this.submit.apply(this, args); + } + }; + (html$.FormElement.created = function() { + html$.FormElement.__proto__.created.call(this); + ; + }).prototype = html$.FormElement.prototype; + dart.addTypeTests(html$.FormElement); + dart.addTypeCaches(html$.FormElement); + dart.setMethodSignature(html$.FormElement, () => ({ + __proto__: dart.getMethods(html$.FormElement.__proto__), + [S$.__getter__]: dart.fnType(dart.nullable(core.Object), [core.String]), + [S$.$checkValidity]: dart.fnType(core.bool, []), + [S$.$item]: dart.fnType(html$.Element, [core.int]), + [S$.$reportValidity]: dart.fnType(core.bool, []), + [S$1.$requestAutocomplete]: dart.fnType(dart.void, [dart.nullable(core.Map)]), + [S$1._requestAutocomplete_1]: dart.fnType(dart.void, [dart.dynamic]), + [S$1.$reset]: dart.fnType(dart.void, []), + [S$1.$submit]: dart.fnType(dart.void, []) + })); + dart.setGetterSignature(html$.FormElement, () => ({ + __proto__: dart.getGetters(html$.FormElement.__proto__), + [S$1.$acceptCharset]: dart.nullable(core.String), + [S$1.$action]: dart.nullable(core.String), + [S$.$autocomplete]: dart.nullable(core.String), + [S$.$encoding]: dart.nullable(core.String), + [S$1.$enctype]: dart.nullable(core.String), + [$length]: dart.nullable(core.int), + [S$1.$method]: dart.nullable(core.String), + [$name]: dart.nullable(core.String), + [S$1.$noValidate]: dart.nullable(core.bool), + [S.$target]: dart.nullable(core.String) + })); + dart.setSetterSignature(html$.FormElement, () => ({ + __proto__: dart.getSetters(html$.FormElement.__proto__), + [S$1.$acceptCharset]: dart.nullable(core.String), + [S$1.$action]: dart.nullable(core.String), + [S$.$autocomplete]: dart.nullable(core.String), + [S$.$encoding]: dart.nullable(core.String), + [S$1.$enctype]: dart.nullable(core.String), + [S$1.$method]: dart.nullable(core.String), + [$name]: dart.nullable(core.String), + [S$1.$noValidate]: dart.nullable(core.bool), + [S.$target]: dart.nullable(core.String) + })); + dart.setLibraryUri(html$.FormElement, I[148]); + dart.registerExtension("HTMLFormElement", html$.FormElement); + html$.Gamepad = class Gamepad extends _interceptors.Interceptor { + get [S$1.$axes]() { + return this.axes; + } + get [S$1.$buttons]() { + return this.buttons; + } + get [S$1.$connected]() { + return this.connected; + } + get [S$1.$displayId]() { + return this.displayId; + } + get [S$1.$hand]() { + return this.hand; + } + get [S.$id]() { + return this.id; + } + get [S.$index]() { + return this.index; + } + get [S$1.$mapping]() { + return this.mapping; + } + get [S$1.$pose]() { + return this.pose; + } + get [S$.$timestamp]() { + return this.timestamp; + } + }; + dart.addTypeTests(html$.Gamepad); + dart.addTypeCaches(html$.Gamepad); + dart.setGetterSignature(html$.Gamepad, () => ({ + __proto__: dart.getGetters(html$.Gamepad.__proto__), + [S$1.$axes]: dart.nullable(core.List$(core.num)), + [S$1.$buttons]: dart.nullable(core.List$(html$.GamepadButton)), + [S$1.$connected]: dart.nullable(core.bool), + [S$1.$displayId]: dart.nullable(core.int), + [S$1.$hand]: dart.nullable(core.String), + [S.$id]: dart.nullable(core.String), + [S.$index]: dart.nullable(core.int), + [S$1.$mapping]: dart.nullable(core.String), + [S$1.$pose]: dart.nullable(html$.GamepadPose), + [S$.$timestamp]: dart.nullable(core.int) + })); + dart.setLibraryUri(html$.Gamepad, I[148]); + dart.registerExtension("Gamepad", html$.Gamepad); + html$.GamepadButton = class GamepadButton extends _interceptors.Interceptor { + get [S$.$pressed]() { + return this.pressed; + } + get [S$1.$touched]() { + return this.touched; + } + get [S.$value]() { + return this.value; + } + }; + dart.addTypeTests(html$.GamepadButton); + dart.addTypeCaches(html$.GamepadButton); + dart.setGetterSignature(html$.GamepadButton, () => ({ + __proto__: dart.getGetters(html$.GamepadButton.__proto__), + [S$.$pressed]: dart.nullable(core.bool), + [S$1.$touched]: dart.nullable(core.bool), + [S.$value]: dart.nullable(core.num) + })); + dart.setLibraryUri(html$.GamepadButton, I[148]); + dart.registerExtension("GamepadButton", html$.GamepadButton); + html$.GamepadEvent = class GamepadEvent$ extends html$.Event { + static new(type, eventInitDict = null) { + if (type == null) dart.nullFailed(I[147], 16832, 31, "type"); + if (eventInitDict != null) { + let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); + return html$.GamepadEvent._create_1(type, eventInitDict_1); + } + return html$.GamepadEvent._create_2(type); + } + static _create_1(type, eventInitDict) { + return new GamepadEvent(type, eventInitDict); + } + static _create_2(type) { + return new GamepadEvent(type); + } + get [S$1.$gamepad]() { + return this.gamepad; + } + }; + dart.addTypeTests(html$.GamepadEvent); + dart.addTypeCaches(html$.GamepadEvent); + dart.setGetterSignature(html$.GamepadEvent, () => ({ + __proto__: dart.getGetters(html$.GamepadEvent.__proto__), + [S$1.$gamepad]: dart.nullable(html$.Gamepad) + })); + dart.setLibraryUri(html$.GamepadEvent, I[148]); + dart.registerExtension("GamepadEvent", html$.GamepadEvent); + html$.GamepadPose = class GamepadPose extends _interceptors.Interceptor { + get [S$1.$angularAcceleration]() { + return this.angularAcceleration; + } + get [S$1.$angularVelocity]() { + return this.angularVelocity; + } + get [S$1.$hasOrientation]() { + return this.hasOrientation; + } + get [S$1.$hasPosition]() { + return this.hasPosition; + } + get [S$1.$linearAcceleration]() { + return this.linearAcceleration; + } + get [S$1.$linearVelocity]() { + return this.linearVelocity; + } + get [S$.$orientation]() { + return this.orientation; + } + get [S$0.$position]() { + return this.position; + } + }; + dart.addTypeTests(html$.GamepadPose); + dart.addTypeCaches(html$.GamepadPose); + dart.setGetterSignature(html$.GamepadPose, () => ({ + __proto__: dart.getGetters(html$.GamepadPose.__proto__), + [S$1.$angularAcceleration]: dart.nullable(typed_data.Float32List), + [S$1.$angularVelocity]: dart.nullable(typed_data.Float32List), + [S$1.$hasOrientation]: dart.nullable(core.bool), + [S$1.$hasPosition]: dart.nullable(core.bool), + [S$1.$linearAcceleration]: dart.nullable(typed_data.Float32List), + [S$1.$linearVelocity]: dart.nullable(typed_data.Float32List), + [S$.$orientation]: dart.nullable(typed_data.Float32List), + [S$0.$position]: dart.nullable(typed_data.Float32List) + })); + dart.setLibraryUri(html$.GamepadPose, I[148]); + dart.registerExtension("GamepadPose", html$.GamepadPose); + html$.Geolocation = class Geolocation extends _interceptors.Interceptor { + [S$1.$getCurrentPosition](opts) { + let enableHighAccuracy = opts && 'enableHighAccuracy' in opts ? opts.enableHighAccuracy : null; + let timeout = opts && 'timeout' in opts ? opts.timeout : null; + let maximumAge = opts && 'maximumAge' in opts ? opts.maximumAge : null; + let options = new _js_helper.LinkedMap.new(); + if (enableHighAccuracy != null) { + options[$_set]("enableHighAccuracy", enableHighAccuracy); + } + if (timeout != null) { + options[$_set]("timeout", timeout.inMilliseconds); + } + if (maximumAge != null) { + options[$_set]("maximumAge", maximumAge.inMilliseconds); + } + let completer = T$0.CompleterOfGeoposition().new(); + try { + this[S$1._getCurrentPosition](dart.fn(position => { + if (position == null) dart.nullFailed(I[147], 16894, 28, "position"); + completer.complete(this[S$1._ensurePosition](position)); + }, T$0.GeopositionTovoid()), dart.fn(error => { + if (error == null) dart.nullFailed(I[147], 16896, 11, "error"); + completer.completeError(error); + }, T$0.PositionErrorTovoid()), options); + } catch (e$) { + let e = dart.getThrown(e$); + let stacktrace = dart.stackTrace(e$); + if (core.Object.is(e)) { + completer.completeError(e, stacktrace); + } else + throw e$; + } + return completer.future; + } + [S$1.$watchPosition](opts) { + let enableHighAccuracy = opts && 'enableHighAccuracy' in opts ? opts.enableHighAccuracy : null; + let timeout = opts && 'timeout' in opts ? opts.timeout : null; + let maximumAge = opts && 'maximumAge' in opts ? opts.maximumAge : null; + let options = new _js_helper.LinkedMap.new(); + if (enableHighAccuracy != null) { + options[$_set]("enableHighAccuracy", enableHighAccuracy); + } + if (timeout != null) { + options[$_set]("timeout", timeout.inMilliseconds); + } + if (maximumAge != null) { + options[$_set]("maximumAge", maximumAge.inMilliseconds); + } + let watchId = null; + let controller = T$0.StreamControllerOfGeoposition().new({sync: true, onCancel: dart.fn(() => { + if (!(watchId != null)) dart.assertFailed(null, I[147], 16923, 22, "watchId != null"); + this[S$1._clearWatch](dart.nullCheck(watchId)); + }, T$.VoidToNull())}); + controller.onListen = dart.fn(() => { + if (!(watchId == null)) dart.assertFailed(null, I[147], 16927, 14, "watchId == null"); + watchId = this[S$1._watchPosition](dart.fn(position => { + if (position == null) dart.nullFailed(I[147], 16928, 33, "position"); + controller.add(this[S$1._ensurePosition](position)); + }, T$0.GeopositionTovoid()), dart.fn(error => { + if (error == null) dart.nullFailed(I[147], 16930, 11, "error"); + controller.addError(error); + }, T$0.PositionErrorTovoid()), options); + }, T$.VoidTovoid()); + return controller.stream; + } + [S$1._ensurePosition](domPosition) { + try { + if (html$.Geoposition.is(domPosition)) { + return domPosition; + } + } catch (e$) { + let e = dart.getThrown(e$); + if (core.Object.is(e)) { + } else + throw e$; + } + return new html$._GeopositionWrapper.new(domPosition); + } + [S$1._clearWatch](...args) { + return this.clearWatch.apply(this, args); + } + [S$1._getCurrentPosition](successCallback, errorCallback = null, options = null) { + if (successCallback == null) dart.nullFailed(I[147], 16956, 46, "successCallback"); + if (options != null) { + let successCallback_1 = _js_helper.convertDartClosureToJS(T$0.GeopositionTovoid(), successCallback, 1); + let options_2 = html_common.convertDartToNative_Dictionary(options); + this[S$1._getCurrentPosition_1](successCallback_1, errorCallback, options_2); + return; + } + if (errorCallback != null) { + let successCallback_1 = _js_helper.convertDartClosureToJS(T$0.GeopositionTovoid(), successCallback, 1); + this[S$1._getCurrentPosition_2](successCallback_1, errorCallback); + return; + } + let successCallback_1 = _js_helper.convertDartClosureToJS(T$0.GeopositionTovoid(), successCallback, 1); + this[S$1._getCurrentPosition_3](successCallback_1); + return; + } + [S$1._getCurrentPosition_1](...args) { + return this.getCurrentPosition.apply(this, args); + } + [S$1._getCurrentPosition_2](...args) { + return this.getCurrentPosition.apply(this, args); + } + [S$1._getCurrentPosition_3](...args) { + return this.getCurrentPosition.apply(this, args); + } + [S$1._watchPosition](successCallback, errorCallback = null, options = null) { + if (successCallback == null) dart.nullFailed(I[147], 16983, 40, "successCallback"); + if (options != null) { + let successCallback_1 = _js_helper.convertDartClosureToJS(T$0.GeopositionTovoid(), successCallback, 1); + let options_2 = html_common.convertDartToNative_Dictionary(options); + return this[S$1._watchPosition_1](successCallback_1, errorCallback, options_2); + } + if (errorCallback != null) { + let successCallback_1 = _js_helper.convertDartClosureToJS(T$0.GeopositionTovoid(), successCallback, 1); + return this[S$1._watchPosition_2](successCallback_1, errorCallback); + } + let successCallback_1 = _js_helper.convertDartClosureToJS(T$0.GeopositionTovoid(), successCallback, 1); + return this[S$1._watchPosition_3](successCallback_1); + } + [S$1._watchPosition_1](...args) { + return this.watchPosition.apply(this, args); + } + [S$1._watchPosition_2](...args) { + return this.watchPosition.apply(this, args); + } + [S$1._watchPosition_3](...args) { + return this.watchPosition.apply(this, args); + } + }; + dart.addTypeTests(html$.Geolocation); + dart.addTypeCaches(html$.Geolocation); + dart.setMethodSignature(html$.Geolocation, () => ({ + __proto__: dart.getMethods(html$.Geolocation.__proto__), + [S$1.$getCurrentPosition]: dart.fnType(async.Future$(html$.Geoposition), [], {enableHighAccuracy: dart.nullable(core.bool), maximumAge: dart.nullable(core.Duration), timeout: dart.nullable(core.Duration)}, {}), + [S$1.$watchPosition]: dart.fnType(async.Stream$(html$.Geoposition), [], {enableHighAccuracy: dart.nullable(core.bool), maximumAge: dart.nullable(core.Duration), timeout: dart.nullable(core.Duration)}, {}), + [S$1._ensurePosition]: dart.fnType(html$.Geoposition, [dart.dynamic]), + [S$1._clearWatch]: dart.fnType(dart.void, [core.int]), + [S$1._getCurrentPosition]: dart.fnType(dart.void, [dart.fnType(dart.void, [html$.Geoposition])], [dart.nullable(dart.fnType(dart.void, [html$.PositionError])), dart.nullable(core.Map)]), + [S$1._getCurrentPosition_1]: dart.fnType(dart.void, [dart.dynamic, dart.nullable(dart.fnType(dart.void, [html$.PositionError])), dart.dynamic]), + [S$1._getCurrentPosition_2]: dart.fnType(dart.void, [dart.dynamic, dart.nullable(dart.fnType(dart.void, [html$.PositionError]))]), + [S$1._getCurrentPosition_3]: dart.fnType(dart.void, [dart.dynamic]), + [S$1._watchPosition]: dart.fnType(core.int, [dart.fnType(dart.void, [html$.Geoposition])], [dart.nullable(dart.fnType(dart.void, [html$.PositionError])), dart.nullable(core.Map)]), + [S$1._watchPosition_1]: dart.fnType(core.int, [dart.dynamic, dart.nullable(dart.fnType(dart.void, [html$.PositionError])), dart.dynamic]), + [S$1._watchPosition_2]: dart.fnType(core.int, [dart.dynamic, dart.nullable(dart.fnType(dart.void, [html$.PositionError]))]), + [S$1._watchPosition_3]: dart.fnType(core.int, [dart.dynamic]) + })); + dart.setLibraryUri(html$.Geolocation, I[148]); + dart.registerExtension("Geolocation", html$.Geolocation); + html$._GeopositionWrapper = class _GeopositionWrapper extends core.Object { + get coords() { + return this[S$1._ptr].coords; + } + get timestamp() { + return this[S$1._ptr].timestamp; + } + }; + (html$._GeopositionWrapper.new = function(_ptr) { + this[S$1._ptr] = _ptr; + ; + }).prototype = html$._GeopositionWrapper.prototype; + dart.addTypeTests(html$._GeopositionWrapper); + dart.addTypeCaches(html$._GeopositionWrapper); + html$._GeopositionWrapper[dart.implements] = () => [html$.Geoposition]; + dart.setGetterSignature(html$._GeopositionWrapper, () => ({ + __proto__: dart.getGetters(html$._GeopositionWrapper.__proto__), + coords: html$.Coordinates, + [S$.$coords]: html$.Coordinates, + timestamp: core.int, + [S$.$timestamp]: core.int + })); + dart.setLibraryUri(html$._GeopositionWrapper, I[148]); + dart.setFieldSignature(html$._GeopositionWrapper, () => ({ + __proto__: dart.getFields(html$._GeopositionWrapper.__proto__), + [S$1._ptr]: dart.fieldType(dart.dynamic) + })); + dart.defineExtensionAccessors(html$._GeopositionWrapper, ['coords', 'timestamp']); + html$.Geoposition = class Geoposition extends _interceptors.Interceptor { + get [S$.$coords]() { + return this.coords; + } + get [S$.$timestamp]() { + return this.timestamp; + } + }; + dart.addTypeTests(html$.Geoposition); + dart.addTypeCaches(html$.Geoposition); + dart.setGetterSignature(html$.Geoposition, () => ({ + __proto__: dart.getGetters(html$.Geoposition.__proto__), + [S$.$coords]: dart.nullable(html$.Coordinates), + [S$.$timestamp]: dart.nullable(core.int) + })); + dart.setLibraryUri(html$.Geoposition, I[148]); + dart.registerExtension("Position", html$.Geoposition); + html$.GlobalEventHandlers = class GlobalEventHandlers extends core.Object { + get onAbort() { + return html$.GlobalEventHandlers.abortEvent.forTarget(this); + } + get onBlur() { + return html$.GlobalEventHandlers.blurEvent.forTarget(this); + } + get onCanPlay() { + return html$.GlobalEventHandlers.canPlayEvent.forTarget(this); + } + get onCanPlayThrough() { + return html$.GlobalEventHandlers.canPlayThroughEvent.forTarget(this); + } + get onChange() { + return html$.GlobalEventHandlers.changeEvent.forTarget(this); + } + get onClick() { + return html$.GlobalEventHandlers.clickEvent.forTarget(this); + } + get onContextMenu() { + return html$.GlobalEventHandlers.contextMenuEvent.forTarget(this); + } + get onDoubleClick() { + return html$.GlobalEventHandlers.doubleClickEvent.forTarget(this); + } + get onDrag() { + return html$.GlobalEventHandlers.dragEvent.forTarget(this); + } + get onDragEnd() { + return html$.GlobalEventHandlers.dragEndEvent.forTarget(this); + } + get onDragEnter() { + return html$.GlobalEventHandlers.dragEnterEvent.forTarget(this); + } + get onDragLeave() { + return html$.GlobalEventHandlers.dragLeaveEvent.forTarget(this); + } + get onDragOver() { + return html$.GlobalEventHandlers.dragOverEvent.forTarget(this); + } + get onDragStart() { + return html$.GlobalEventHandlers.dragStartEvent.forTarget(this); + } + get onDrop() { + return html$.GlobalEventHandlers.dropEvent.forTarget(this); + } + get onDurationChange() { + return html$.GlobalEventHandlers.durationChangeEvent.forTarget(this); + } + get onEmptied() { + return html$.GlobalEventHandlers.emptiedEvent.forTarget(this); + } + get onEnded() { + return html$.GlobalEventHandlers.endedEvent.forTarget(this); + } + get onError() { + return html$.GlobalEventHandlers.errorEvent.forTarget(this); + } + get onFocus() { + return html$.GlobalEventHandlers.focusEvent.forTarget(this); + } + get onInput() { + return html$.GlobalEventHandlers.inputEvent.forTarget(this); + } + get onInvalid() { + return html$.GlobalEventHandlers.invalidEvent.forTarget(this); + } + get onKeyDown() { + return html$.GlobalEventHandlers.keyDownEvent.forTarget(this); + } + get onKeyPress() { + return html$.GlobalEventHandlers.keyPressEvent.forTarget(this); + } + get onKeyUp() { + return html$.GlobalEventHandlers.keyUpEvent.forTarget(this); + } + get onLoad() { + return html$.GlobalEventHandlers.loadEvent.forTarget(this); + } + get onLoadedData() { + return html$.GlobalEventHandlers.loadedDataEvent.forTarget(this); + } + get onLoadedMetadata() { + return html$.GlobalEventHandlers.loadedMetadataEvent.forTarget(this); + } + get onMouseDown() { + return html$.GlobalEventHandlers.mouseDownEvent.forTarget(this); + } + get onMouseEnter() { + return html$.GlobalEventHandlers.mouseEnterEvent.forTarget(this); + } + get onMouseLeave() { + return html$.GlobalEventHandlers.mouseLeaveEvent.forTarget(this); + } + get onMouseMove() { + return html$.GlobalEventHandlers.mouseMoveEvent.forTarget(this); + } + get onMouseOut() { + return html$.GlobalEventHandlers.mouseOutEvent.forTarget(this); + } + get onMouseOver() { + return html$.GlobalEventHandlers.mouseOverEvent.forTarget(this); + } + get onMouseUp() { + return html$.GlobalEventHandlers.mouseUpEvent.forTarget(this); + } + get onMouseWheel() { + return html$.GlobalEventHandlers.mouseWheelEvent.forTarget(this); + } + get onPause() { + return html$.GlobalEventHandlers.pauseEvent.forTarget(this); + } + get onPlay() { + return html$.GlobalEventHandlers.playEvent.forTarget(this); + } + get onPlaying() { + return html$.GlobalEventHandlers.playingEvent.forTarget(this); + } + get onRateChange() { + return html$.GlobalEventHandlers.rateChangeEvent.forTarget(this); + } + get onReset() { + return html$.GlobalEventHandlers.resetEvent.forTarget(this); + } + get onResize() { + return html$.GlobalEventHandlers.resizeEvent.forTarget(this); + } + get onScroll() { + return html$.GlobalEventHandlers.scrollEvent.forTarget(this); + } + get onSeeked() { + return html$.GlobalEventHandlers.seekedEvent.forTarget(this); + } + get onSeeking() { + return html$.GlobalEventHandlers.seekingEvent.forTarget(this); + } + get onSelect() { + return html$.GlobalEventHandlers.selectEvent.forTarget(this); + } + get onStalled() { + return html$.GlobalEventHandlers.stalledEvent.forTarget(this); + } + get onSubmit() { + return html$.GlobalEventHandlers.submitEvent.forTarget(this); + } + get onSuspend() { + return html$.GlobalEventHandlers.suspendEvent.forTarget(this); + } + get onTimeUpdate() { + return html$.GlobalEventHandlers.timeUpdateEvent.forTarget(this); + } + get onTouchCancel() { + return html$.GlobalEventHandlers.touchCancelEvent.forTarget(this); + } + get onTouchEnd() { + return html$.GlobalEventHandlers.touchEndEvent.forTarget(this); + } + get onTouchMove() { + return html$.GlobalEventHandlers.touchMoveEvent.forTarget(this); + } + get onTouchStart() { + return html$.GlobalEventHandlers.touchStartEvent.forTarget(this); + } + get onVolumeChange() { + return html$.GlobalEventHandlers.volumeChangeEvent.forTarget(this); + } + get onWaiting() { + return html$.GlobalEventHandlers.waitingEvent.forTarget(this); + } + get onWheel() { + return html$.GlobalEventHandlers.wheelEvent.forTarget(this); + } + }; + (html$.GlobalEventHandlers[dart.mixinNew] = function() { + }).prototype = html$.GlobalEventHandlers.prototype; + dart.addTypeTests(html$.GlobalEventHandlers); + dart.addTypeCaches(html$.GlobalEventHandlers); + html$.GlobalEventHandlers[dart.implements] = () => [html$.EventTarget]; + dart.setGetterSignature(html$.GlobalEventHandlers, () => ({ + __proto__: dart.getGetters(html$.GlobalEventHandlers.__proto__), + onAbort: async.Stream$(html$.Event), + [S.$onAbort]: async.Stream$(html$.Event), + onBlur: async.Stream$(html$.Event), + [S.$onBlur]: async.Stream$(html$.Event), + onCanPlay: async.Stream$(html$.Event), + [S.$onCanPlay]: async.Stream$(html$.Event), + onCanPlayThrough: async.Stream$(html$.Event), + [S.$onCanPlayThrough]: async.Stream$(html$.Event), + onChange: async.Stream$(html$.Event), + [S.$onChange]: async.Stream$(html$.Event), + onClick: async.Stream$(html$.MouseEvent), + [S.$onClick]: async.Stream$(html$.MouseEvent), + onContextMenu: async.Stream$(html$.MouseEvent), + [S.$onContextMenu]: async.Stream$(html$.MouseEvent), + onDoubleClick: async.Stream$(html$.Event), + [S.$onDoubleClick]: async.Stream$(html$.Event), + onDrag: async.Stream$(html$.MouseEvent), + [S.$onDrag]: async.Stream$(html$.MouseEvent), + onDragEnd: async.Stream$(html$.MouseEvent), + [S.$onDragEnd]: async.Stream$(html$.MouseEvent), + onDragEnter: async.Stream$(html$.MouseEvent), + [S.$onDragEnter]: async.Stream$(html$.MouseEvent), + onDragLeave: async.Stream$(html$.MouseEvent), + [S.$onDragLeave]: async.Stream$(html$.MouseEvent), + onDragOver: async.Stream$(html$.MouseEvent), + [S.$onDragOver]: async.Stream$(html$.MouseEvent), + onDragStart: async.Stream$(html$.MouseEvent), + [S.$onDragStart]: async.Stream$(html$.MouseEvent), + onDrop: async.Stream$(html$.MouseEvent), + [S.$onDrop]: async.Stream$(html$.MouseEvent), + onDurationChange: async.Stream$(html$.Event), + [S.$onDurationChange]: async.Stream$(html$.Event), + onEmptied: async.Stream$(html$.Event), + [S.$onEmptied]: async.Stream$(html$.Event), + onEnded: async.Stream$(html$.Event), + [S.$onEnded]: async.Stream$(html$.Event), + onError: async.Stream$(html$.Event), + [S.$onError]: async.Stream$(html$.Event), + onFocus: async.Stream$(html$.Event), + [S.$onFocus]: async.Stream$(html$.Event), + onInput: async.Stream$(html$.Event), + [S.$onInput]: async.Stream$(html$.Event), + onInvalid: async.Stream$(html$.Event), + [S.$onInvalid]: async.Stream$(html$.Event), + onKeyDown: async.Stream$(html$.KeyboardEvent), + [S.$onKeyDown]: async.Stream$(html$.KeyboardEvent), + onKeyPress: async.Stream$(html$.KeyboardEvent), + [S.$onKeyPress]: async.Stream$(html$.KeyboardEvent), + onKeyUp: async.Stream$(html$.KeyboardEvent), + [S.$onKeyUp]: async.Stream$(html$.KeyboardEvent), + onLoad: async.Stream$(html$.Event), + [S.$onLoad]: async.Stream$(html$.Event), + onLoadedData: async.Stream$(html$.Event), + [S.$onLoadedData]: async.Stream$(html$.Event), + onLoadedMetadata: async.Stream$(html$.Event), + [S.$onLoadedMetadata]: async.Stream$(html$.Event), + onMouseDown: async.Stream$(html$.MouseEvent), + [S.$onMouseDown]: async.Stream$(html$.MouseEvent), + onMouseEnter: async.Stream$(html$.MouseEvent), + [S.$onMouseEnter]: async.Stream$(html$.MouseEvent), + onMouseLeave: async.Stream$(html$.MouseEvent), + [S.$onMouseLeave]: async.Stream$(html$.MouseEvent), + onMouseMove: async.Stream$(html$.MouseEvent), + [S.$onMouseMove]: async.Stream$(html$.MouseEvent), + onMouseOut: async.Stream$(html$.MouseEvent), + [S.$onMouseOut]: async.Stream$(html$.MouseEvent), + onMouseOver: async.Stream$(html$.MouseEvent), + [S.$onMouseOver]: async.Stream$(html$.MouseEvent), + onMouseUp: async.Stream$(html$.MouseEvent), + [S.$onMouseUp]: async.Stream$(html$.MouseEvent), + onMouseWheel: async.Stream$(html$.WheelEvent), + [S.$onMouseWheel]: async.Stream$(html$.WheelEvent), + onPause: async.Stream$(html$.Event), + [S.$onPause]: async.Stream$(html$.Event), + onPlay: async.Stream$(html$.Event), + [S.$onPlay]: async.Stream$(html$.Event), + onPlaying: async.Stream$(html$.Event), + [S.$onPlaying]: async.Stream$(html$.Event), + onRateChange: async.Stream$(html$.Event), + [S.$onRateChange]: async.Stream$(html$.Event), + onReset: async.Stream$(html$.Event), + [S.$onReset]: async.Stream$(html$.Event), + onResize: async.Stream$(html$.Event), + [S.$onResize]: async.Stream$(html$.Event), + onScroll: async.Stream$(html$.Event), + [S.$onScroll]: async.Stream$(html$.Event), + onSeeked: async.Stream$(html$.Event), + [S.$onSeeked]: async.Stream$(html$.Event), + onSeeking: async.Stream$(html$.Event), + [S.$onSeeking]: async.Stream$(html$.Event), + onSelect: async.Stream$(html$.Event), + [S.$onSelect]: async.Stream$(html$.Event), + onStalled: async.Stream$(html$.Event), + [S.$onStalled]: async.Stream$(html$.Event), + onSubmit: async.Stream$(html$.Event), + [S.$onSubmit]: async.Stream$(html$.Event), + onSuspend: async.Stream$(html$.Event), + [S$.$onSuspend]: async.Stream$(html$.Event), + onTimeUpdate: async.Stream$(html$.Event), + [S$.$onTimeUpdate]: async.Stream$(html$.Event), + onTouchCancel: async.Stream$(html$.TouchEvent), + [S$.$onTouchCancel]: async.Stream$(html$.TouchEvent), + onTouchEnd: async.Stream$(html$.TouchEvent), + [S$.$onTouchEnd]: async.Stream$(html$.TouchEvent), + onTouchMove: async.Stream$(html$.TouchEvent), + [S$.$onTouchMove]: async.Stream$(html$.TouchEvent), + onTouchStart: async.Stream$(html$.TouchEvent), + [S$.$onTouchStart]: async.Stream$(html$.TouchEvent), + onVolumeChange: async.Stream$(html$.Event), + [S$.$onVolumeChange]: async.Stream$(html$.Event), + onWaiting: async.Stream$(html$.Event), + [S$.$onWaiting]: async.Stream$(html$.Event), + onWheel: async.Stream$(html$.WheelEvent), + [S$.$onWheel]: async.Stream$(html$.WheelEvent) + })); + dart.setLibraryUri(html$.GlobalEventHandlers, I[148]); + dart.defineExtensionAccessors(html$.GlobalEventHandlers, [ + 'onAbort', + 'onBlur', + 'onCanPlay', + 'onCanPlayThrough', + 'onChange', + 'onClick', + 'onContextMenu', + 'onDoubleClick', + 'onDrag', + 'onDragEnd', + 'onDragEnter', + 'onDragLeave', + 'onDragOver', + 'onDragStart', + 'onDrop', + 'onDurationChange', + 'onEmptied', + 'onEnded', + 'onError', + 'onFocus', + 'onInput', + 'onInvalid', + 'onKeyDown', + 'onKeyPress', + 'onKeyUp', + 'onLoad', + 'onLoadedData', + 'onLoadedMetadata', + 'onMouseDown', + 'onMouseEnter', + 'onMouseLeave', + 'onMouseMove', + 'onMouseOut', + 'onMouseOver', + 'onMouseUp', + 'onMouseWheel', + 'onPause', + 'onPlay', + 'onPlaying', + 'onRateChange', + 'onReset', + 'onResize', + 'onScroll', + 'onSeeked', + 'onSeeking', + 'onSelect', + 'onStalled', + 'onSubmit', + 'onSuspend', + 'onTimeUpdate', + 'onTouchCancel', + 'onTouchEnd', + 'onTouchMove', + 'onTouchStart', + 'onVolumeChange', + 'onWaiting', + 'onWheel' + ]); + dart.defineLazy(html$.GlobalEventHandlers, { + /*html$.GlobalEventHandlers.abortEvent*/get abortEvent() { + return C[214] || CT.C214; + }, + /*html$.GlobalEventHandlers.blurEvent*/get blurEvent() { + return C[233] || CT.C233; + }, + /*html$.GlobalEventHandlers.canPlayEvent*/get canPlayEvent() { + return C[234] || CT.C234; + }, + /*html$.GlobalEventHandlers.canPlayThroughEvent*/get canPlayThroughEvent() { + return C[235] || CT.C235; + }, + /*html$.GlobalEventHandlers.changeEvent*/get changeEvent() { + return C[236] || CT.C236; + }, + /*html$.GlobalEventHandlers.clickEvent*/get clickEvent() { + return C[237] || CT.C237; + }, + /*html$.GlobalEventHandlers.contextMenuEvent*/get contextMenuEvent() { + return C[238] || CT.C238; + }, + /*html$.GlobalEventHandlers.doubleClickEvent*/get doubleClickEvent() { + return C[241] || CT.C241; + }, + /*html$.GlobalEventHandlers.dragEvent*/get dragEvent() { + return C[242] || CT.C242; + }, + /*html$.GlobalEventHandlers.dragEndEvent*/get dragEndEvent() { + return C[243] || CT.C243; + }, + /*html$.GlobalEventHandlers.dragEnterEvent*/get dragEnterEvent() { + return C[244] || CT.C244; + }, + /*html$.GlobalEventHandlers.dragLeaveEvent*/get dragLeaveEvent() { + return C[245] || CT.C245; + }, + /*html$.GlobalEventHandlers.dragOverEvent*/get dragOverEvent() { + return C[246] || CT.C246; + }, + /*html$.GlobalEventHandlers.dragStartEvent*/get dragStartEvent() { + return C[247] || CT.C247; + }, + /*html$.GlobalEventHandlers.dropEvent*/get dropEvent() { + return C[248] || CT.C248; + }, + /*html$.GlobalEventHandlers.durationChangeEvent*/get durationChangeEvent() { + return C[249] || CT.C249; + }, + /*html$.GlobalEventHandlers.emptiedEvent*/get emptiedEvent() { + return C[250] || CT.C250; + }, + /*html$.GlobalEventHandlers.endedEvent*/get endedEvent() { + return C[251] || CT.C251; + }, + /*html$.GlobalEventHandlers.errorEvent*/get errorEvent() { + return C[216] || CT.C216; + }, + /*html$.GlobalEventHandlers.focusEvent*/get focusEvent() { + return C[252] || CT.C252; + }, + /*html$.GlobalEventHandlers.inputEvent*/get inputEvent() { + return C[253] || CT.C253; + }, + /*html$.GlobalEventHandlers.invalidEvent*/get invalidEvent() { + return C[254] || CT.C254; + }, + /*html$.GlobalEventHandlers.keyDownEvent*/get keyDownEvent() { + return C[255] || CT.C255; + }, + /*html$.GlobalEventHandlers.keyPressEvent*/get keyPressEvent() { + return C[256] || CT.C256; + }, + /*html$.GlobalEventHandlers.keyUpEvent*/get keyUpEvent() { + return C[257] || CT.C257; + }, + /*html$.GlobalEventHandlers.loadEvent*/get loadEvent() { + return C[258] || CT.C258; + }, + /*html$.GlobalEventHandlers.loadedDataEvent*/get loadedDataEvent() { + return C[259] || CT.C259; + }, + /*html$.GlobalEventHandlers.loadedMetadataEvent*/get loadedMetadataEvent() { + return C[260] || CT.C260; + }, + /*html$.GlobalEventHandlers.mouseDownEvent*/get mouseDownEvent() { + return C[261] || CT.C261; + }, + /*html$.GlobalEventHandlers.mouseEnterEvent*/get mouseEnterEvent() { + return C[262] || CT.C262; + }, + /*html$.GlobalEventHandlers.mouseLeaveEvent*/get mouseLeaveEvent() { + return C[263] || CT.C263; + }, + /*html$.GlobalEventHandlers.mouseMoveEvent*/get mouseMoveEvent() { + return C[264] || CT.C264; + }, + /*html$.GlobalEventHandlers.mouseOutEvent*/get mouseOutEvent() { + return C[265] || CT.C265; + }, + /*html$.GlobalEventHandlers.mouseOverEvent*/get mouseOverEvent() { + return C[266] || CT.C266; + }, + /*html$.GlobalEventHandlers.mouseUpEvent*/get mouseUpEvent() { + return C[267] || CT.C267; + }, + /*html$.GlobalEventHandlers.mouseWheelEvent*/get mouseWheelEvent() { + return C[342] || CT.C342; + }, + /*html$.GlobalEventHandlers.pauseEvent*/get pauseEvent() { + return C[269] || CT.C269; + }, + /*html$.GlobalEventHandlers.playEvent*/get playEvent() { + return C[270] || CT.C270; + }, + /*html$.GlobalEventHandlers.playingEvent*/get playingEvent() { + return C[271] || CT.C271; + }, + /*html$.GlobalEventHandlers.rateChangeEvent*/get rateChangeEvent() { + return C[272] || CT.C272; + }, + /*html$.GlobalEventHandlers.resetEvent*/get resetEvent() { + return C[273] || CT.C273; + }, + /*html$.GlobalEventHandlers.resizeEvent*/get resizeEvent() { + return C[274] || CT.C274; + }, + /*html$.GlobalEventHandlers.scrollEvent*/get scrollEvent() { + return C[275] || CT.C275; + }, + /*html$.GlobalEventHandlers.seekedEvent*/get seekedEvent() { + return C[277] || CT.C277; + }, + /*html$.GlobalEventHandlers.seekingEvent*/get seekingEvent() { + return C[278] || CT.C278; + }, + /*html$.GlobalEventHandlers.selectEvent*/get selectEvent() { + return C[279] || CT.C279; + }, + /*html$.GlobalEventHandlers.stalledEvent*/get stalledEvent() { + return C[281] || CT.C281; + }, + /*html$.GlobalEventHandlers.submitEvent*/get submitEvent() { + return C[282] || CT.C282; + }, + /*html$.GlobalEventHandlers.suspendEvent*/get suspendEvent() { + return C[283] || CT.C283; + }, + /*html$.GlobalEventHandlers.timeUpdateEvent*/get timeUpdateEvent() { + return C[284] || CT.C284; + }, + /*html$.GlobalEventHandlers.touchCancelEvent*/get touchCancelEvent() { + return C[285] || CT.C285; + }, + /*html$.GlobalEventHandlers.touchEndEvent*/get touchEndEvent() { + return C[286] || CT.C286; + }, + /*html$.GlobalEventHandlers.touchMoveEvent*/get touchMoveEvent() { + return C[289] || CT.C289; + }, + /*html$.GlobalEventHandlers.touchStartEvent*/get touchStartEvent() { + return C[290] || CT.C290; + }, + /*html$.GlobalEventHandlers.volumeChangeEvent*/get volumeChangeEvent() { + return C[291] || CT.C291; + }, + /*html$.GlobalEventHandlers.waitingEvent*/get waitingEvent() { + return C[292] || CT.C292; + }, + /*html$.GlobalEventHandlers.wheelEvent*/get wheelEvent() { + return C[295] || CT.C295; + } + }, false); + html$.Gyroscope = class Gyroscope$ extends html$.Sensor { + static new(sensorOptions = null) { + if (sensorOptions != null) { + let sensorOptions_1 = html_common.convertDartToNative_Dictionary(sensorOptions); + return html$.Gyroscope._create_1(sensorOptions_1); + } + return html$.Gyroscope._create_2(); + } + static _create_1(sensorOptions) { + return new Gyroscope(sensorOptions); + } + static _create_2() { + return new Gyroscope(); + } + get [S$.$x]() { + return this.x; + } + get [S$.$y]() { + return this.y; + } + get [S$.$z]() { + return this.z; + } + }; + dart.addTypeTests(html$.Gyroscope); + dart.addTypeCaches(html$.Gyroscope); + dart.setGetterSignature(html$.Gyroscope, () => ({ + __proto__: dart.getGetters(html$.Gyroscope.__proto__), + [S$.$x]: dart.nullable(core.num), + [S$.$y]: dart.nullable(core.num), + [S$.$z]: dart.nullable(core.num) + })); + dart.setLibraryUri(html$.Gyroscope, I[148]); + dart.registerExtension("Gyroscope", html$.Gyroscope); + html$.HRElement = class HRElement extends html$.HtmlElement { + static new() { + return html$.document.createElement("hr"); + } + get [S$0.$color]() { + return this.color; + } + set [S$0.$color](value) { + this.color = value; + } + }; + (html$.HRElement.created = function() { + html$.HRElement.__proto__.created.call(this); + ; + }).prototype = html$.HRElement.prototype; + dart.addTypeTests(html$.HRElement); + dart.addTypeCaches(html$.HRElement); + dart.setGetterSignature(html$.HRElement, () => ({ + __proto__: dart.getGetters(html$.HRElement.__proto__), + [S$0.$color]: core.String + })); + dart.setSetterSignature(html$.HRElement, () => ({ + __proto__: dart.getSetters(html$.HRElement.__proto__), + [S$0.$color]: core.String + })); + dart.setLibraryUri(html$.HRElement, I[148]); + dart.registerExtension("HTMLHRElement", html$.HRElement); + html$.HashChangeEvent = class HashChangeEvent$ extends html$.Event { + static new(type, opts) { + if (type == null) dart.nullFailed(I[147], 17412, 34, "type"); + let canBubble = opts && 'canBubble' in opts ? opts.canBubble : true; + if (canBubble == null) dart.nullFailed(I[147], 17413, 13, "canBubble"); + let cancelable = opts && 'cancelable' in opts ? opts.cancelable : true; + if (cancelable == null) dart.nullFailed(I[147], 17414, 12, "cancelable"); + let oldUrl = opts && 'oldUrl' in opts ? opts.oldUrl : null; + let newUrl = opts && 'newUrl' in opts ? opts.newUrl : null; + let options = new (T$.IdentityMapOfString$ObjectN()).from(["canBubble", canBubble, "cancelable", cancelable, "oldURL", oldUrl, "newURL", newUrl]); + return new HashChangeEvent(type, html_common.convertDartToNative_Dictionary(options)); + } + static __(type, eventInitDict = null) { + if (type == null) dart.nullFailed(I[147], 17427, 36, "type"); + if (eventInitDict != null) { + let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); + return html$.HashChangeEvent._create_1(type, eventInitDict_1); + } + return html$.HashChangeEvent._create_2(type); + } + static _create_1(type, eventInitDict) { + return new HashChangeEvent(type, eventInitDict); + } + static _create_2(type) { + return new HashChangeEvent(type); + } + static get supported() { + return html_common.Device.isEventTypeSupported("HashChangeEvent"); + } + get [S$1.$newUrl]() { + return this.newURL; + } + get [S$1.$oldUrl]() { + return this.oldURL; + } + }; + dart.addTypeTests(html$.HashChangeEvent); + dart.addTypeCaches(html$.HashChangeEvent); + dart.setGetterSignature(html$.HashChangeEvent, () => ({ + __proto__: dart.getGetters(html$.HashChangeEvent.__proto__), + [S$1.$newUrl]: dart.nullable(core.String), + [S$1.$oldUrl]: dart.nullable(core.String) + })); + dart.setLibraryUri(html$.HashChangeEvent, I[148]); + dart.registerExtension("HashChangeEvent", html$.HashChangeEvent); + html$.HeadElement = class HeadElement extends html$.HtmlElement { + static new() { + return html$.document.createElement("head"); + } + }; + (html$.HeadElement.created = function() { + html$.HeadElement.__proto__.created.call(this); + ; + }).prototype = html$.HeadElement.prototype; + dart.addTypeTests(html$.HeadElement); + dart.addTypeCaches(html$.HeadElement); + dart.setLibraryUri(html$.HeadElement, I[148]); + dart.registerExtension("HTMLHeadElement", html$.HeadElement); + html$.Headers = class Headers$ extends _interceptors.Interceptor { + static new(init = null) { + if (init != null) { + return html$.Headers._create_1(init); + } + return html$.Headers._create_2(); + } + static _create_1(init) { + return new Headers(init); + } + static _create_2() { + return new Headers(); + } + }; + dart.addTypeTests(html$.Headers); + dart.addTypeCaches(html$.Headers); + dart.setLibraryUri(html$.Headers, I[148]); + dart.registerExtension("Headers", html$.Headers); + html$.HeadingElement = class HeadingElement extends html$.HtmlElement { + static h1() { + return html$.document.createElement("h1"); + } + static h2() { + return html$.document.createElement("h2"); + } + static h3() { + return html$.document.createElement("h3"); + } + static h4() { + return html$.document.createElement("h4"); + } + static h5() { + return html$.document.createElement("h5"); + } + static h6() { + return html$.document.createElement("h6"); + } + }; + (html$.HeadingElement.created = function() { + html$.HeadingElement.__proto__.created.call(this); + ; + }).prototype = html$.HeadingElement.prototype; + dart.addTypeTests(html$.HeadingElement); + dart.addTypeCaches(html$.HeadingElement); + dart.setLibraryUri(html$.HeadingElement, I[148]); + dart.registerExtension("HTMLHeadingElement", html$.HeadingElement); + html$.History = class History extends _interceptors.Interceptor { + static get supportsState() { + return !!window.history.pushState; + } + get [$length]() { + return this.length; + } + get [S$1.$scrollRestoration]() { + return this.scrollRestoration; + } + set [S$1.$scrollRestoration](value) { + this.scrollRestoration = value; + } + get [S$.$state]() { + return html_common.convertNativeToDart_SerializedScriptValue(this[S$1._get_state]); + } + get [S$1._get_state]() { + return this.state; + } + [S$1.$back](...args) { + return this.back.apply(this, args); + } + [S$1.$forward](...args) { + return this.forward.apply(this, args); + } + [S$1.$go](...args) { + return this.go.apply(this, args); + } + [S$1.$pushState](data, title, url) { + if (title == null) dart.nullFailed(I[147], 17588, 57, "title"); + let data_1 = html_common.convertDartToNative_SerializedScriptValue(data); + this[S$1._pushState_1](data_1, title, url); + return; + } + [S$1._pushState_1](...args) { + return this.pushState.apply(this, args); + } + [S$1.$replaceState](data, title, url) { + if (title == null) dart.nullFailed(I[147], 17605, 60, "title"); + let data_1 = html_common.convertDartToNative_SerializedScriptValue(data); + this[S$1._replaceState_1](data_1, title, url); + return; + } + [S$1._replaceState_1](...args) { + return this.replaceState.apply(this, args); + } + }; + dart.addTypeTests(html$.History); + dart.addTypeCaches(html$.History); + html$.History[dart.implements] = () => [html$.HistoryBase]; + dart.setMethodSignature(html$.History, () => ({ + __proto__: dart.getMethods(html$.History.__proto__), + [S$1.$back]: dart.fnType(dart.void, []), + [S$1.$forward]: dart.fnType(dart.void, []), + [S$1.$go]: dart.fnType(dart.void, [], [dart.nullable(core.int)]), + [S$1.$pushState]: dart.fnType(dart.void, [dart.dynamic, core.String, dart.nullable(core.String)]), + [S$1._pushState_1]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic]), + [S$1.$replaceState]: dart.fnType(dart.void, [dart.dynamic, core.String, dart.nullable(core.String)]), + [S$1._replaceState_1]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic]) + })); + dart.setGetterSignature(html$.History, () => ({ + __proto__: dart.getGetters(html$.History.__proto__), + [$length]: core.int, + [S$1.$scrollRestoration]: dart.nullable(core.String), + [S$.$state]: dart.dynamic, + [S$1._get_state]: dart.dynamic + })); + dart.setSetterSignature(html$.History, () => ({ + __proto__: dart.getSetters(html$.History.__proto__), + [S$1.$scrollRestoration]: dart.nullable(core.String) + })); + dart.setLibraryUri(html$.History, I[148]); + dart.registerExtension("History", html$.History); + const Interceptor_ListMixin$36$1 = class Interceptor_ListMixin extends _interceptors.Interceptor {}; + (Interceptor_ListMixin$36$1.new = function() { + Interceptor_ListMixin$36$1.__proto__.new.call(this); + }).prototype = Interceptor_ListMixin$36$1.prototype; + dart.applyMixin(Interceptor_ListMixin$36$1, collection.ListMixin$(html$.Node)); + const Interceptor_ImmutableListMixin$36$1 = class Interceptor_ImmutableListMixin extends Interceptor_ListMixin$36$1 {}; + (Interceptor_ImmutableListMixin$36$1.new = function() { + Interceptor_ImmutableListMixin$36$1.__proto__.new.call(this); + }).prototype = Interceptor_ImmutableListMixin$36$1.prototype; + dart.applyMixin(Interceptor_ImmutableListMixin$36$1, html$.ImmutableListMixin$(html$.Node)); + html$.HtmlCollection = class HtmlCollection extends Interceptor_ImmutableListMixin$36$1 { + get [$length]() { + return this.length; + } + [$_get](index) { + if (index == null) dart.nullFailed(I[147], 17633, 24, "index"); + if (index >>> 0 !== index || index >= this[$length]) dart.throw(new core.IndexError.new(index, this)); + return this[index]; + } + [$_set](index, value$) { + let value = value$; + if (index == null) dart.nullFailed(I[147], 17639, 25, "index"); + html$.Node.as(value); + if (value == null) dart.nullFailed(I[147], 17639, 37, "value"); + dart.throw(new core.UnsupportedError.new("Cannot assign element of immutable List.")); + return value$; + } + set [$length](value) { + if (value == null) dart.nullFailed(I[147], 17645, 18, "value"); + dart.throw(new core.UnsupportedError.new("Cannot resize immutable List.")); + } + get [$first]() { + if (dart.notNull(this[$length]) > 0) { + return this[0]; + } + dart.throw(new core.StateError.new("No elements")); + } + set [$first](value) { + super[$first] = value; + } + get [$last]() { + let len = this[$length]; + if (dart.notNull(len) > 0) { + return this[dart.notNull(len) - 1]; + } + dart.throw(new core.StateError.new("No elements")); + } + set [$last](value) { + super[$last] = value; + } + get [$single]() { + let len = this[$length]; + if (len === 1) { + return this[0]; + } + if (len === 0) dart.throw(new core.StateError.new("No elements")); + dart.throw(new core.StateError.new("More than one element")); + } + [$elementAt](index) { + if (index == null) dart.nullFailed(I[147], 17673, 22, "index"); + return this[$_get](index); + } + [S$.$item](...args) { + return this.item.apply(this, args); + } + [S$1.$namedItem](...args) { + return this.namedItem.apply(this, args); + } + }; + html$.HtmlCollection.prototype[dart.isList] = true; + dart.addTypeTests(html$.HtmlCollection); + dart.addTypeCaches(html$.HtmlCollection); + html$.HtmlCollection[dart.implements] = () => [_js_helper.JavaScriptIndexingBehavior$(html$.Node), core.List$(html$.Node)]; + dart.setMethodSignature(html$.HtmlCollection, () => ({ + __proto__: dart.getMethods(html$.HtmlCollection.__proto__), + [$_get]: dart.fnType(html$.Node, [core.int]), + [$_set]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), + [S$.$item]: dart.fnType(dart.nullable(html$.Node), [dart.nullable(core.int)]), + [S$1.$namedItem]: dart.fnType(dart.nullable(core.Object), [core.String]) + })); + dart.setGetterSignature(html$.HtmlCollection, () => ({ + __proto__: dart.getGetters(html$.HtmlCollection.__proto__), + [$length]: core.int + })); + dart.setSetterSignature(html$.HtmlCollection, () => ({ + __proto__: dart.getSetters(html$.HtmlCollection.__proto__), + [$length]: core.int + })); + dart.setLibraryUri(html$.HtmlCollection, I[148]); + dart.registerExtension("HTMLCollection", html$.HtmlCollection); + html$.HtmlDocument = class HtmlDocument extends html$.Document { + get [S$1.$body]() { + return this.body; + } + set [S$1.$body](value) { + this.body = value; + } + [S$1.$caretRangeFromPoint](x, y) { + return this[S$1._caretRangeFromPoint](x, y); + } + [S$1.$elementFromPoint](x, y) { + if (x == null) dart.nullFailed(I[147], 17702, 33, "x"); + if (y == null) dart.nullFailed(I[147], 17702, 40, "y"); + return this[S$1._elementFromPoint](x, y); + } + get [S.$head]() { + return this[S$0._head$1]; + } + get [S$1.$lastModified]() { + return this[S$0._lastModified]; + } + get [S$1.$preferredStylesheetSet]() { + return this[S$0._preferredStylesheetSet]; + } + get [S$1.$referrer]() { + return this[S$1._referrer]; + } + get [S$1.$selectedStylesheetSet]() { + return this[S$1._selectedStylesheetSet]; + } + set [S$1.$selectedStylesheetSet](value) { + this[S$1._selectedStylesheetSet] = value; + } + get [S$1.$styleSheets]() { + return this[S$1._styleSheets]; + } + get [S.$title]() { + return this[S$1._title]; + } + set [S.$title](value) { + if (value == null) dart.nullFailed(I[147], 17723, 20, "value"); + this[S$1._title] = value; + } + [S$1.$exitFullscreen]() { + this[S$1._webkitExitFullscreen](); + } + [S$1.$registerElement2](tag, options = null) { + if (tag == null) dart.nullFailed(I[147], 17786, 36, "tag"); + return html$._registerCustomElement(window, this, tag, options); + } + [S$1.$register](tag, customElementClass, opts) { + if (tag == null) dart.nullFailed(I[147], 17792, 24, "tag"); + if (customElementClass == null) dart.nullFailed(I[147], 17792, 34, "customElementClass"); + let extendsTag = opts && 'extendsTag' in opts ? opts.extendsTag : null; + return this[S$1.$registerElement](tag, customElementClass, {extendsTag: extendsTag}); + } + static _determineVisibilityChangeEventType(e) { + if (e == null) dart.nullFailed(I[147], 17809, 65, "e"); + if (typeof e.hidden !== "undefined") { + return "visibilitychange"; + } else if (typeof e.mozHidden !== "undefined") { + return "mozvisibilitychange"; + } else if (typeof e.msHidden !== "undefined") { + return "msvisibilitychange"; + } else if (typeof e.webkitHidden !== "undefined") { + return "webkitvisibilitychange"; + } + return "visibilitychange"; + } + get [S$1.$onVisibilityChange]() { + return html$.HtmlDocument.visibilityChangeEvent.forTarget(this); + } + [S$1.$createElementUpgrader](type, opts) { + if (type == null) dart.nullFailed(I[147], 17836, 46, "type"); + let extendsTag = opts && 'extendsTag' in opts ? opts.extendsTag : null; + return new html$._JSElementUpgrader.new(this, type, extendsTag); + } + }; + dart.addTypeTests(html$.HtmlDocument); + dart.addTypeCaches(html$.HtmlDocument); + dart.setMethodSignature(html$.HtmlDocument, () => ({ + __proto__: dart.getMethods(html$.HtmlDocument.__proto__), + [S$1.$caretRangeFromPoint]: dart.fnType(html$.Range, [dart.nullable(core.int), dart.nullable(core.int)]), + [S$1.$elementFromPoint]: dart.fnType(dart.nullable(html$.Element), [core.int, core.int]), + [S$1.$register]: dart.fnType(dart.void, [core.String, core.Type], {extendsTag: dart.nullable(core.String)}, {}), + [S$1.$createElementUpgrader]: dart.fnType(html$.ElementUpgrader, [core.Type], {extendsTag: dart.nullable(core.String)}, {}) + })); + dart.setGetterSignature(html$.HtmlDocument, () => ({ + __proto__: dart.getGetters(html$.HtmlDocument.__proto__), + [S$1.$body]: dart.nullable(html$.BodyElement), + [S.$head]: dart.nullable(html$.HeadElement), + [S$1.$lastModified]: dart.nullable(core.String), + [S$1.$preferredStylesheetSet]: dart.nullable(core.String), + [S$1.$referrer]: core.String, + [S$1.$selectedStylesheetSet]: dart.nullable(core.String), + [S$1.$styleSheets]: dart.nullable(core.List$(html$.StyleSheet)), + [S.$title]: core.String, + [S$1.$onVisibilityChange]: async.Stream$(html$.Event) + })); + dart.setSetterSignature(html$.HtmlDocument, () => ({ + __proto__: dart.getSetters(html$.HtmlDocument.__proto__), + [S$1.$body]: dart.nullable(html$.BodyElement), + [S$1.$selectedStylesheetSet]: dart.nullable(core.String), + [S.$title]: core.String + })); + dart.setLibraryUri(html$.HtmlDocument, I[148]); + dart.defineLazy(html$.HtmlDocument, { + /*html$.HtmlDocument.visibilityChangeEvent*/get visibilityChangeEvent() { + return C[343] || CT.C343; + } + }, false); + dart.registerExtension("HTMLDocument", html$.HtmlDocument); + html$.HtmlFormControlsCollection = class HtmlFormControlsCollection extends html$.HtmlCollection { + [S$1.$namedItem](...args) { + return this.namedItem.apply(this, args); + } + }; + dart.addTypeTests(html$.HtmlFormControlsCollection); + dart.addTypeCaches(html$.HtmlFormControlsCollection); + dart.setLibraryUri(html$.HtmlFormControlsCollection, I[148]); + dart.registerExtension("HTMLFormControlsCollection", html$.HtmlFormControlsCollection); + html$.HtmlHtmlElement = class HtmlHtmlElement extends html$.HtmlElement { + static new() { + return html$.document.createElement("html"); + } + }; + (html$.HtmlHtmlElement.created = function() { + html$.HtmlHtmlElement.__proto__.created.call(this); + ; + }).prototype = html$.HtmlHtmlElement.prototype; + dart.addTypeTests(html$.HtmlHtmlElement); + dart.addTypeCaches(html$.HtmlHtmlElement); + dart.setLibraryUri(html$.HtmlHtmlElement, I[148]); + dart.registerExtension("HTMLHtmlElement", html$.HtmlHtmlElement); + html$.HtmlHyperlinkElementUtils = class HtmlHyperlinkElementUtils extends _interceptors.Interceptor { + get [S$.$hash]() { + return this.hash; + } + set [S$.$hash](value) { + this.hash = value; + } + get [S$.$host]() { + return this.host; + } + set [S$.$host](value) { + this.host = value; + } + get [S$.$hostname]() { + return this.hostname; + } + set [S$.$hostname](value) { + this.hostname = value; + } + get [S$.$href]() { + return this.href; + } + set [S$.$href](value) { + this.href = value; + } + get [S$.$origin]() { + return this.origin; + } + get [S$.$password]() { + return this.password; + } + set [S$.$password](value) { + this.password = value; + } + get [S$.$pathname]() { + return this.pathname; + } + set [S$.$pathname](value) { + this.pathname = value; + } + get [S$.$port]() { + return this.port; + } + set [S$.$port](value) { + this.port = value; + } + get [S$.$protocol]() { + return this.protocol; + } + set [S$.$protocol](value) { + this.protocol = value; + } + get [S$.$search]() { + return this.search; + } + set [S$.$search](value) { + this.search = value; + } + get [S$.$username]() { + return this.username; + } + set [S$.$username](value) { + this.username = value; + } + }; + dart.addTypeTests(html$.HtmlHyperlinkElementUtils); + dart.addTypeCaches(html$.HtmlHyperlinkElementUtils); + dart.setGetterSignature(html$.HtmlHyperlinkElementUtils, () => ({ + __proto__: dart.getGetters(html$.HtmlHyperlinkElementUtils.__proto__), + [S$.$hash]: dart.nullable(core.String), + [S$.$host]: dart.nullable(core.String), + [S$.$hostname]: dart.nullable(core.String), + [S$.$href]: dart.nullable(core.String), + [S$.$origin]: dart.nullable(core.String), + [S$.$password]: dart.nullable(core.String), + [S$.$pathname]: dart.nullable(core.String), + [S$.$port]: dart.nullable(core.String), + [S$.$protocol]: dart.nullable(core.String), + [S$.$search]: dart.nullable(core.String), + [S$.$username]: dart.nullable(core.String) + })); + dart.setSetterSignature(html$.HtmlHyperlinkElementUtils, () => ({ + __proto__: dart.getSetters(html$.HtmlHyperlinkElementUtils.__proto__), + [S$.$hash]: dart.nullable(core.String), + [S$.$host]: dart.nullable(core.String), + [S$.$hostname]: dart.nullable(core.String), + [S$.$href]: dart.nullable(core.String), + [S$.$password]: dart.nullable(core.String), + [S$.$pathname]: dart.nullable(core.String), + [S$.$port]: dart.nullable(core.String), + [S$.$protocol]: dart.nullable(core.String), + [S$.$search]: dart.nullable(core.String), + [S$.$username]: dart.nullable(core.String) + })); + dart.setLibraryUri(html$.HtmlHyperlinkElementUtils, I[148]); + dart.registerExtension("HTMLHyperlinkElementUtils", html$.HtmlHyperlinkElementUtils); + html$.HtmlOptionsCollection = class HtmlOptionsCollection extends html$.HtmlCollection { + [S$1._item](...args) { + return this.item.apply(this, args); + } + }; + dart.addTypeTests(html$.HtmlOptionsCollection); + dart.addTypeCaches(html$.HtmlOptionsCollection); + dart.setMethodSignature(html$.HtmlOptionsCollection, () => ({ + __proto__: dart.getMethods(html$.HtmlOptionsCollection.__proto__), + [S$1._item]: dart.fnType(dart.nullable(html$.Element), [core.int]) + })); + dart.setLibraryUri(html$.HtmlOptionsCollection, I[148]); + dart.registerExtension("HTMLOptionsCollection", html$.HtmlOptionsCollection); + html$.HttpRequestEventTarget = class HttpRequestEventTarget extends html$.EventTarget { + get [S.$onAbort]() { + return html$.HttpRequestEventTarget.abortEvent.forTarget(this); + } + get [S.$onError]() { + return html$.HttpRequestEventTarget.errorEvent.forTarget(this); + } + get [S.$onLoad]() { + return html$.HttpRequestEventTarget.loadEvent.forTarget(this); + } + get [S$1.$onLoadEnd]() { + return html$.HttpRequestEventTarget.loadEndEvent.forTarget(this); + } + get [S$1.$onLoadStart]() { + return html$.HttpRequestEventTarget.loadStartEvent.forTarget(this); + } + get [S$.$onProgress]() { + return html$.HttpRequestEventTarget.progressEvent.forTarget(this); + } + get [S$1.$onTimeout]() { + return html$.HttpRequestEventTarget.timeoutEvent.forTarget(this); + } + }; + dart.addTypeTests(html$.HttpRequestEventTarget); + dart.addTypeCaches(html$.HttpRequestEventTarget); + dart.setGetterSignature(html$.HttpRequestEventTarget, () => ({ + __proto__: dart.getGetters(html$.HttpRequestEventTarget.__proto__), + [S.$onAbort]: async.Stream$(html$.ProgressEvent), + [S.$onError]: async.Stream$(html$.ProgressEvent), + [S.$onLoad]: async.Stream$(html$.ProgressEvent), + [S$1.$onLoadEnd]: async.Stream$(html$.ProgressEvent), + [S$1.$onLoadStart]: async.Stream$(html$.ProgressEvent), + [S$.$onProgress]: async.Stream$(html$.ProgressEvent), + [S$1.$onTimeout]: async.Stream$(html$.ProgressEvent) + })); + dart.setLibraryUri(html$.HttpRequestEventTarget, I[148]); + dart.defineLazy(html$.HttpRequestEventTarget, { + /*html$.HttpRequestEventTarget.abortEvent*/get abortEvent() { + return C[331] || CT.C331; + }, + /*html$.HttpRequestEventTarget.errorEvent*/get errorEvent() { + return C[332] || CT.C332; + }, + /*html$.HttpRequestEventTarget.loadEvent*/get loadEvent() { + return C[333] || CT.C333; + }, + /*html$.HttpRequestEventTarget.loadEndEvent*/get loadEndEvent() { + return C[334] || CT.C334; + }, + /*html$.HttpRequestEventTarget.loadStartEvent*/get loadStartEvent() { + return C[335] || CT.C335; + }, + /*html$.HttpRequestEventTarget.progressEvent*/get progressEvent() { + return C[309] || CT.C309; + }, + /*html$.HttpRequestEventTarget.timeoutEvent*/get timeoutEvent() { + return C[345] || CT.C345; + } + }, false); + dart.registerExtension("XMLHttpRequestEventTarget", html$.HttpRequestEventTarget); + html$.HttpRequest = class HttpRequest extends html$.HttpRequestEventTarget { + static getString(url, opts) { + if (url == null) dart.nullFailed(I[147], 18008, 42, "url"); + let withCredentials = opts && 'withCredentials' in opts ? opts.withCredentials : null; + let onProgress = opts && 'onProgress' in opts ? opts.onProgress : null; + return html$.HttpRequest.request(url, {withCredentials: withCredentials, onProgress: onProgress}).then(core.String, dart.fn(xhr => { + if (xhr == null) dart.nullFailed(I[147], 18012, 28, "xhr"); + return dart.nullCheck(xhr.responseText); + }, T$0.HttpRequestToString())); + } + static postFormData(url, data, opts) { + if (url == null) dart.nullFailed(I[147], 18040, 50, "url"); + if (data == null) dart.nullFailed(I[147], 18040, 75, "data"); + let withCredentials = opts && 'withCredentials' in opts ? opts.withCredentials : null; + let responseType = opts && 'responseType' in opts ? opts.responseType : null; + let requestHeaders = opts && 'requestHeaders' in opts ? opts.requestHeaders : null; + let onProgress = opts && 'onProgress' in opts ? opts.onProgress : null; + let parts = []; + data[$forEach](dart.fn((key, value) => { + if (key == null) dart.nullFailed(I[147], 18046, 19, "key"); + if (value == null) dart.nullFailed(I[147], 18046, 24, "value"); + parts[$add](dart.str(core.Uri.encodeQueryComponent(key)) + "=" + dart.str(core.Uri.encodeQueryComponent(value))); + }, T$0.StringAndStringTovoid())); + let formData = parts[$join]("&"); + if (requestHeaders == null) { + requestHeaders = new (T$.IdentityMapOfString$String()).new(); + } + requestHeaders[$putIfAbsent]("Content-Type", dart.fn(() => "application/x-www-form-urlencoded; charset=UTF-8", T$.VoidToString())); + return html$.HttpRequest.request(url, {method: "POST", withCredentials: withCredentials, responseType: responseType, requestHeaders: requestHeaders, sendData: formData, onProgress: onProgress}); + } + static request(url, opts) { + if (url == null) dart.nullFailed(I[147], 18121, 45, "url"); + let method = opts && 'method' in opts ? opts.method : null; + let withCredentials = opts && 'withCredentials' in opts ? opts.withCredentials : null; + let responseType = opts && 'responseType' in opts ? opts.responseType : null; + let mimeType = opts && 'mimeType' in opts ? opts.mimeType : null; + let requestHeaders = opts && 'requestHeaders' in opts ? opts.requestHeaders : null; + let sendData = opts && 'sendData' in opts ? opts.sendData : null; + let onProgress = opts && 'onProgress' in opts ? opts.onProgress : null; + let completer = T$0.CompleterOfHttpRequest().new(); + let xhr = html$.HttpRequest.new(); + if (method == null) { + method = "GET"; + } + xhr.open(method, url, {async: true}); + if (withCredentials != null) { + xhr.withCredentials = withCredentials; + } + if (responseType != null) { + xhr.responseType = responseType; + } + if (mimeType != null) { + xhr.overrideMimeType(mimeType); + } + if (requestHeaders != null) { + requestHeaders[$forEach](dart.fn((header, value) => { + if (header == null) dart.nullFailed(I[147], 18150, 31, "header"); + if (value == null) dart.nullFailed(I[147], 18150, 39, "value"); + xhr.setRequestHeader(header, value); + }, T$0.StringAndStringTovoid())); + } + if (onProgress != null) { + xhr[S$.$onProgress].listen(onProgress); + } + xhr[S.$onLoad].listen(dart.fn(e => { + if (e == null) dart.nullFailed(I[147], 18159, 24, "e"); + let status = dart.nullCheck(xhr.status); + let accepted = status >= 200 && status < 300; + let fileUri = status === 0; + let notModified = status === 304; + let unknownRedirect = status > 307 && status < 400; + if (accepted || fileUri || notModified || unknownRedirect) { + completer.complete(xhr); + } else { + completer.completeError(e); + } + }, T$0.ProgressEventTovoid())); + xhr[S.$onError].listen(dart.bind(completer, 'completeError')); + if (sendData != null) { + xhr.send(sendData); + } else { + xhr.send(); + } + return completer.future; + } + static get supportsProgressEvent() { + let xhr = html$.HttpRequest.new(); + return "onprogress" in xhr; + } + static get supportsCrossOrigin() { + let xhr = html$.HttpRequest.new(); + return "withCredentials" in xhr; + } + static get supportsLoadEndEvent() { + let xhr = html$.HttpRequest.new(); + return "onloadend" in xhr; + } + static get supportsOverrideMimeType() { + let xhr = html$.HttpRequest.new(); + return "overrideMimeType" in xhr; + } + static requestCrossOrigin(url, opts) { + if (url == null) dart.nullFailed(I[147], 18232, 51, "url"); + let method = opts && 'method' in opts ? opts.method : null; + let sendData = opts && 'sendData' in opts ? opts.sendData : null; + if (dart.test(html$.HttpRequest.supportsCrossOrigin)) { + return html$.HttpRequest.request(url, {method: method, sendData: sendData}).then(core.String, dart.fn(xhr => { + if (xhr == null) dart.nullFailed(I[147], 18235, 69, "xhr"); + return dart.nullCheck(xhr.responseText); + }, T$0.HttpRequestToString())); + } + let completer = T$0.CompleterOfString().new(); + if (method == null) { + method = "GET"; + } + let xhr = new XDomainRequest(); + xhr.open(method, url); + xhr.onload = _js_helper.convertDartClosureToJS(T$.dynamicToNull(), dart.fn(e => { + let response = xhr.responseText; + completer.complete(T$0.FutureOrNOfString().as(response)); + }, T$.dynamicToNull()), 1); + xhr.onerror = _js_helper.convertDartClosureToJS(T$.dynamicToNull(), dart.fn(e => { + completer.completeError(core.Object.as(e)); + }, T$.dynamicToNull()), 1); + xhr.onprogress = {}; + xhr.ontimeout = {}; + xhr.timeout = Number.MAX_VALUE; + if (sendData != null) { + xhr.send(sendData); + } else { + xhr.send(); + } + return completer.future; + } + get [S$1.$responseHeaders]() { + let headers = new (T$.IdentityMapOfString$String()).new(); + let headersString = this.getAllResponseHeaders(); + if (headersString == null) { + return headers; + } + let headersList = headersString[$split]("\r\n"); + for (let header of headersList) { + if (header[$isEmpty]) { + continue; + } + let splitIdx = header[$indexOf](": "); + if (splitIdx === -1) { + continue; + } + let key = header[$substring](0, splitIdx)[$toLowerCase](); + let value = header[$substring](splitIdx + 2); + if (dart.test(headers[$containsKey](key))) { + headers[$_set](key, dart.str(headers[$_get](key)) + ", " + value); + } else { + headers[$_set](key, value); + } + } + return headers; + } + [S.$open](...args) { + return this.open.apply(this, args); + } + static new() { + return html$.HttpRequest._create_1(); + } + static _create_1() { + return new XMLHttpRequest(); + } + get [S.$readyState]() { + return this.readyState; + } + get [S$.$response]() { + return html$._convertNativeToDart_XHR_Response(this[S$1._get_response]); + } + get [S$1._get_response]() { + return this.response; + } + get [S$1.$responseText]() { + return this.responseText; + } + get [S$1.$responseType]() { + return this.responseType; + } + set [S$1.$responseType](value) { + this.responseType = value; + } + get [S$1.$responseUrl]() { + return this.responseURL; + } + get [S$1.$responseXml]() { + return this.responseXML; + } + get [S$.$status]() { + return this.status; + } + get [S$1.$statusText]() { + return this.statusText; + } + get [S$1.$timeout]() { + return this.timeout; + } + set [S$1.$timeout](value) { + this.timeout = value; + } + get [S$1.$upload]() { + return this.upload; + } + get [S$1.$withCredentials]() { + return this.withCredentials; + } + set [S$1.$withCredentials](value) { + this.withCredentials = value; + } + [S.$abort](...args) { + return this.abort.apply(this, args); + } + [S$1.$getAllResponseHeaders](...args) { + return this.getAllResponseHeaders.apply(this, args); + } + [S$1.$getResponseHeader](...args) { + return this.getResponseHeader.apply(this, args); + } + [S$1.$overrideMimeType](...args) { + return this.overrideMimeType.apply(this, args); + } + [S$1.$send](...args) { + return this.send.apply(this, args); + } + [S$1.$setRequestHeader](...args) { + return this.setRequestHeader.apply(this, args); + } + get [S$1.$onReadyStateChange]() { + return html$.HttpRequest.readyStateChangeEvent.forTarget(this); + } + }; + dart.addTypeTests(html$.HttpRequest); + dart.addTypeCaches(html$.HttpRequest); + dart.setMethodSignature(html$.HttpRequest, () => ({ + __proto__: dart.getMethods(html$.HttpRequest.__proto__), + [S.$open]: dart.fnType(dart.void, [core.String, core.String], {async: dart.nullable(core.bool), password: dart.nullable(core.String), user: dart.nullable(core.String)}, {}), + [S.$abort]: dart.fnType(dart.void, []), + [S$1.$getAllResponseHeaders]: dart.fnType(core.String, []), + [S$1.$getResponseHeader]: dart.fnType(dart.nullable(core.String), [core.String]), + [S$1.$overrideMimeType]: dart.fnType(dart.void, [core.String]), + [S$1.$send]: dart.fnType(dart.void, [], [dart.dynamic]), + [S$1.$setRequestHeader]: dart.fnType(dart.void, [core.String, core.String]) + })); + dart.setGetterSignature(html$.HttpRequest, () => ({ + __proto__: dart.getGetters(html$.HttpRequest.__proto__), + [S$1.$responseHeaders]: core.Map$(core.String, core.String), + [S.$readyState]: core.int, + [S$.$response]: dart.dynamic, + [S$1._get_response]: dart.dynamic, + [S$1.$responseText]: dart.nullable(core.String), + [S$1.$responseType]: core.String, + [S$1.$responseUrl]: dart.nullable(core.String), + [S$1.$responseXml]: dart.nullable(html$.Document), + [S$.$status]: dart.nullable(core.int), + [S$1.$statusText]: dart.nullable(core.String), + [S$1.$timeout]: dart.nullable(core.int), + [S$1.$upload]: html$.HttpRequestUpload, + [S$1.$withCredentials]: dart.nullable(core.bool), + [S$1.$onReadyStateChange]: async.Stream$(html$.Event) + })); + dart.setSetterSignature(html$.HttpRequest, () => ({ + __proto__: dart.getSetters(html$.HttpRequest.__proto__), + [S$1.$responseType]: core.String, + [S$1.$timeout]: dart.nullable(core.int), + [S$1.$withCredentials]: dart.nullable(core.bool) + })); + dart.setLibraryUri(html$.HttpRequest, I[148]); + dart.defineLazy(html$.HttpRequest, { + /*html$.HttpRequest.readyStateChangeEvent*/get readyStateChangeEvent() { + return C[324] || CT.C324; + }, + /*html$.HttpRequest.DONE*/get DONE() { + return 4; + }, + /*html$.HttpRequest.HEADERS_RECEIVED*/get HEADERS_RECEIVED() { + return 2; + }, + /*html$.HttpRequest.LOADING*/get LOADING() { + return 3; + }, + /*html$.HttpRequest.OPENED*/get OPENED() { + return 1; + }, + /*html$.HttpRequest.UNSENT*/get UNSENT() { + return 0; + } + }, false); + dart.registerExtension("XMLHttpRequest", html$.HttpRequest); + html$.HttpRequestUpload = class HttpRequestUpload extends html$.HttpRequestEventTarget {}; + dart.addTypeTests(html$.HttpRequestUpload); + dart.addTypeCaches(html$.HttpRequestUpload); + dart.setLibraryUri(html$.HttpRequestUpload, I[148]); + dart.registerExtension("XMLHttpRequestUpload", html$.HttpRequestUpload); + html$.IFrameElement = class IFrameElement extends html$.HtmlElement { + static new() { + return html$.document.createElement("iframe"); + } + get [S$1.$allow]() { + return this.allow; + } + set [S$1.$allow](value) { + this.allow = value; + } + get [S$1.$allowFullscreen]() { + return this.allowFullscreen; + } + set [S$1.$allowFullscreen](value) { + this.allowFullscreen = value; + } + get [S$1.$allowPaymentRequest]() { + return this.allowPaymentRequest; + } + set [S$1.$allowPaymentRequest](value) { + this.allowPaymentRequest = value; + } + get [S$1.$contentWindow]() { + return html$._convertNativeToDart_Window(this[S$1._get_contentWindow]); + } + get [S$1._get_contentWindow]() { + return this.contentWindow; + } + get [S$1.$csp]() { + return this.csp; + } + set [S$1.$csp](value) { + this.csp = value; + } + get [$height]() { + return this.height; + } + set [$height](value) { + this.height = value; + } + get [$name]() { + return this.name; + } + set [$name](value) { + this.name = value; + } + get [S$.$referrerPolicy]() { + return this.referrerPolicy; + } + set [S$.$referrerPolicy](value) { + this.referrerPolicy = value; + } + get [S$1.$sandbox]() { + return this.sandbox; + } + get [S$.$src]() { + return this.src; + } + set [S$.$src](value) { + this.src = value; + } + get [S$1.$srcdoc]() { + return this.srcdoc; + } + set [S$1.$srcdoc](value) { + this.srcdoc = value; + } + get [$width]() { + return this.width; + } + set [$width](value) { + this.width = value; + } + }; + (html$.IFrameElement.created = function() { + html$.IFrameElement.__proto__.created.call(this); + ; + }).prototype = html$.IFrameElement.prototype; + dart.addTypeTests(html$.IFrameElement); + dart.addTypeCaches(html$.IFrameElement); + dart.setGetterSignature(html$.IFrameElement, () => ({ + __proto__: dart.getGetters(html$.IFrameElement.__proto__), + [S$1.$allow]: dart.nullable(core.String), + [S$1.$allowFullscreen]: dart.nullable(core.bool), + [S$1.$allowPaymentRequest]: dart.nullable(core.bool), + [S$1.$contentWindow]: dart.nullable(html$.WindowBase), + [S$1._get_contentWindow]: dart.dynamic, + [S$1.$csp]: dart.nullable(core.String), + [$height]: dart.nullable(core.String), + [$name]: dart.nullable(core.String), + [S$.$referrerPolicy]: dart.nullable(core.String), + [S$1.$sandbox]: dart.nullable(html$.DomTokenList), + [S$.$src]: dart.nullable(core.String), + [S$1.$srcdoc]: dart.nullable(core.String), + [$width]: dart.nullable(core.String) + })); + dart.setSetterSignature(html$.IFrameElement, () => ({ + __proto__: dart.getSetters(html$.IFrameElement.__proto__), + [S$1.$allow]: dart.nullable(core.String), + [S$1.$allowFullscreen]: dart.nullable(core.bool), + [S$1.$allowPaymentRequest]: dart.nullable(core.bool), + [S$1.$csp]: dart.nullable(core.String), + [$height]: dart.nullable(core.String), + [$name]: dart.nullable(core.String), + [S$.$referrerPolicy]: dart.nullable(core.String), + [S$.$src]: dart.nullable(core.String), + [S$1.$srcdoc]: dart.nullable(core.String), + [$width]: dart.nullable(core.String) + })); + dart.setLibraryUri(html$.IFrameElement, I[148]); + dart.registerExtension("HTMLIFrameElement", html$.IFrameElement); + html$.IdleDeadline = class IdleDeadline extends _interceptors.Interceptor { + get [S$1.$didTimeout]() { + return this.didTimeout; + } + [S$1.$timeRemaining](...args) { + return this.timeRemaining.apply(this, args); + } + }; + dart.addTypeTests(html$.IdleDeadline); + dart.addTypeCaches(html$.IdleDeadline); + dart.setMethodSignature(html$.IdleDeadline, () => ({ + __proto__: dart.getMethods(html$.IdleDeadline.__proto__), + [S$1.$timeRemaining]: dart.fnType(core.double, []) + })); + dart.setGetterSignature(html$.IdleDeadline, () => ({ + __proto__: dart.getGetters(html$.IdleDeadline.__proto__), + [S$1.$didTimeout]: dart.nullable(core.bool) + })); + dart.setLibraryUri(html$.IdleDeadline, I[148]); + dart.registerExtension("IdleDeadline", html$.IdleDeadline); + html$.ImageBitmap = class ImageBitmap extends _interceptors.Interceptor { + get [$height]() { + return this.height; + } + get [$width]() { + return this.width; + } + [S.$close](...args) { + return this.close.apply(this, args); + } + }; + dart.addTypeTests(html$.ImageBitmap); + dart.addTypeCaches(html$.ImageBitmap); + dart.setMethodSignature(html$.ImageBitmap, () => ({ + __proto__: dart.getMethods(html$.ImageBitmap.__proto__), + [S.$close]: dart.fnType(dart.void, []) + })); + dart.setGetterSignature(html$.ImageBitmap, () => ({ + __proto__: dart.getGetters(html$.ImageBitmap.__proto__), + [$height]: dart.nullable(core.int), + [$width]: dart.nullable(core.int) + })); + dart.setLibraryUri(html$.ImageBitmap, I[148]); + dart.registerExtension("ImageBitmap", html$.ImageBitmap); + html$.ImageBitmapRenderingContext = class ImageBitmapRenderingContext extends _interceptors.Interceptor { + get [S$.$canvas]() { + return this.canvas; + } + [S$1.$transferFromImageBitmap](...args) { + return this.transferFromImageBitmap.apply(this, args); + } + }; + dart.addTypeTests(html$.ImageBitmapRenderingContext); + dart.addTypeCaches(html$.ImageBitmapRenderingContext); + dart.setMethodSignature(html$.ImageBitmapRenderingContext, () => ({ + __proto__: dart.getMethods(html$.ImageBitmapRenderingContext.__proto__), + [S$1.$transferFromImageBitmap]: dart.fnType(dart.void, [dart.nullable(html$.ImageBitmap)]) + })); + dart.setGetterSignature(html$.ImageBitmapRenderingContext, () => ({ + __proto__: dart.getGetters(html$.ImageBitmapRenderingContext.__proto__), + [S$.$canvas]: dart.nullable(html$.CanvasElement) + })); + dart.setLibraryUri(html$.ImageBitmapRenderingContext, I[148]); + dart.registerExtension("ImageBitmapRenderingContext", html$.ImageBitmapRenderingContext); + html$.ImageCapture = class ImageCapture$ extends _interceptors.Interceptor { + static new(track) { + if (track == null) dart.nullFailed(I[147], 18865, 41, "track"); + return html$.ImageCapture._create_1(track); + } + static _create_1(track) { + return new ImageCapture(track); + } + get [S$1.$track]() { + return this.track; + } + [S$1.$getPhotoCapabilities]() { + return js_util.promiseToFuture(html$.PhotoCapabilities, this.getPhotoCapabilities()); + } + [S$1.$getPhotoSettings]() { + return html$.promiseToFutureAsMap(this.getPhotoSettings()); + } + [S$1.$grabFrame]() { + return js_util.promiseToFuture(html$.ImageBitmap, this.grabFrame()); + } + [S$1.$setOptions](photoSettings) { + if (photoSettings == null) dart.nullFailed(I[147], 18883, 25, "photoSettings"); + let photoSettings_dict = html_common.convertDartToNative_Dictionary(photoSettings); + return js_util.promiseToFuture(dart.dynamic, this.setOptions(photoSettings_dict)); + } + [S$1.$takePhoto](photoSettings = null) { + let photoSettings_dict = null; + if (photoSettings != null) { + photoSettings_dict = html_common.convertDartToNative_Dictionary(photoSettings); + } + return js_util.promiseToFuture(html$.Blob, this.takePhoto(photoSettings_dict)); + } + }; + dart.addTypeTests(html$.ImageCapture); + dart.addTypeCaches(html$.ImageCapture); + dart.setMethodSignature(html$.ImageCapture, () => ({ + __proto__: dart.getMethods(html$.ImageCapture.__proto__), + [S$1.$getPhotoCapabilities]: dart.fnType(async.Future$(html$.PhotoCapabilities), []), + [S$1.$getPhotoSettings]: dart.fnType(async.Future$(dart.nullable(core.Map$(core.String, dart.dynamic))), []), + [S$1.$grabFrame]: dart.fnType(async.Future$(html$.ImageBitmap), []), + [S$1.$setOptions]: dart.fnType(async.Future, [core.Map]), + [S$1.$takePhoto]: dart.fnType(async.Future$(html$.Blob), [], [dart.nullable(core.Map)]) + })); + dart.setGetterSignature(html$.ImageCapture, () => ({ + __proto__: dart.getGetters(html$.ImageCapture.__proto__), + [S$1.$track]: dart.nullable(html$.MediaStreamTrack) + })); + dart.setLibraryUri(html$.ImageCapture, I[148]); + dart.registerExtension("ImageCapture", html$.ImageCapture); + html$.ImageData = class ImageData$ extends _interceptors.Interceptor { + static new(data_OR_sw, sh_OR_sw, sh = null) { + if (sh_OR_sw == null) dart.nullFailed(I[147], 18908, 37, "sh_OR_sw"); + if (core.int.is(sh_OR_sw) && core.int.is(data_OR_sw) && sh == null) { + return html$.ImageData._create_1(data_OR_sw, sh_OR_sw); + } + if (core.int.is(sh_OR_sw) && typed_data.Uint8ClampedList.is(data_OR_sw) && sh == null) { + return html$.ImageData._create_2(data_OR_sw, sh_OR_sw); + } + if (core.int.is(sh) && core.int.is(sh_OR_sw) && typed_data.Uint8ClampedList.is(data_OR_sw)) { + return html$.ImageData._create_3(data_OR_sw, sh_OR_sw, sh); + } + dart.throw(new core.ArgumentError.new("Incorrect number or type of arguments")); + } + static _create_1(data_OR_sw, sh_OR_sw) { + return new ImageData(data_OR_sw, sh_OR_sw); + } + static _create_2(data_OR_sw, sh_OR_sw) { + return new ImageData(data_OR_sw, sh_OR_sw); + } + static _create_3(data_OR_sw, sh_OR_sw, sh) { + return new ImageData(data_OR_sw, sh_OR_sw, sh); + } + get [S$.$data]() { + return this.data; + } + get [$height]() { + return this.height; + } + get [$width]() { + return this.width; + } + }; + dart.addTypeTests(html$.ImageData); + dart.addTypeCaches(html$.ImageData); + dart.setGetterSignature(html$.ImageData, () => ({ + __proto__: dart.getGetters(html$.ImageData.__proto__), + [S$.$data]: typed_data.Uint8ClampedList, + [$height]: core.int, + [$width]: core.int + })); + dart.setLibraryUri(html$.ImageData, I[148]); + dart.registerExtension("ImageData", html$.ImageData); + html$.ImageElement = class ImageElement extends html$.HtmlElement { + static new(opts) { + let src = opts && 'src' in opts ? opts.src : null; + let width = opts && 'width' in opts ? opts.width : null; + let height = opts && 'height' in opts ? opts.height : null; + let e = html$.document.createElement("img"); + if (src != null) e.src = src; + if (width != null) e.width = width; + if (height != null) e.height = height; + return e; + } + get [S$.$alt]() { + return this.alt; + } + set [S$.$alt](value) { + this.alt = value; + } + get [S$1.$async]() { + return this.async; + } + set [S$1.$async](value) { + this.async = value; + } + get [S$1.$complete]() { + return this.complete; + } + get [S$.$crossOrigin]() { + return this.crossOrigin; + } + set [S$.$crossOrigin](value) { + this.crossOrigin = value; + } + get [S$.$currentSrc]() { + return this.currentSrc; + } + get [$height]() { + return this.height; + } + set [$height](value) { + this.height = value; + } + get [S$1.$isMap]() { + return this.isMap; + } + set [S$1.$isMap](value) { + this.isMap = value; + } + get [S$1.$naturalHeight]() { + return this.naturalHeight; + } + get [S$1.$naturalWidth]() { + return this.naturalWidth; + } + get [S$.$referrerPolicy]() { + return this.referrerPolicy; + } + set [S$.$referrerPolicy](value) { + this.referrerPolicy = value; + } + get [S$1.$sizes]() { + return this.sizes; + } + set [S$1.$sizes](value) { + this.sizes = value; + } + get [S$.$src]() { + return this.src; + } + set [S$.$src](value) { + this.src = value; + } + get [S$1.$srcset]() { + return this.srcset; + } + set [S$1.$srcset](value) { + this.srcset = value; + } + get [S$1.$useMap]() { + return this.useMap; + } + set [S$1.$useMap](value) { + this.useMap = value; + } + get [$width]() { + return this.width; + } + set [$width](value) { + this.width = value; + } + [S$1.$decode]() { + return js_util.promiseToFuture(dart.dynamic, this.decode()); + } + }; + (html$.ImageElement.created = function() { + html$.ImageElement.__proto__.created.call(this); + ; + }).prototype = html$.ImageElement.prototype; + dart.addTypeTests(html$.ImageElement); + dart.addTypeCaches(html$.ImageElement); + html$.ImageElement[dart.implements] = () => [html$.CanvasImageSource]; + dart.setMethodSignature(html$.ImageElement, () => ({ + __proto__: dart.getMethods(html$.ImageElement.__proto__), + [S$1.$decode]: dart.fnType(async.Future, []) + })); + dart.setGetterSignature(html$.ImageElement, () => ({ + __proto__: dart.getGetters(html$.ImageElement.__proto__), + [S$.$alt]: dart.nullable(core.String), + [S$1.$async]: dart.nullable(core.String), + [S$1.$complete]: dart.nullable(core.bool), + [S$.$crossOrigin]: dart.nullable(core.String), + [S$.$currentSrc]: dart.nullable(core.String), + [$height]: dart.nullable(core.int), + [S$1.$isMap]: dart.nullable(core.bool), + [S$1.$naturalHeight]: core.int, + [S$1.$naturalWidth]: core.int, + [S$.$referrerPolicy]: dart.nullable(core.String), + [S$1.$sizes]: dart.nullable(core.String), + [S$.$src]: dart.nullable(core.String), + [S$1.$srcset]: dart.nullable(core.String), + [S$1.$useMap]: dart.nullable(core.String), + [$width]: dart.nullable(core.int) + })); + dart.setSetterSignature(html$.ImageElement, () => ({ + __proto__: dart.getSetters(html$.ImageElement.__proto__), + [S$.$alt]: dart.nullable(core.String), + [S$1.$async]: dart.nullable(core.String), + [S$.$crossOrigin]: dart.nullable(core.String), + [$height]: dart.nullable(core.int), + [S$1.$isMap]: dart.nullable(core.bool), + [S$.$referrerPolicy]: dart.nullable(core.String), + [S$1.$sizes]: dart.nullable(core.String), + [S$.$src]: dart.nullable(core.String), + [S$1.$srcset]: dart.nullable(core.String), + [S$1.$useMap]: dart.nullable(core.String), + [$width]: dart.nullable(core.int) + })); + dart.setLibraryUri(html$.ImageElement, I[148]); + dart.registerExtension("HTMLImageElement", html$.ImageElement); + html$.InputDeviceCapabilities = class InputDeviceCapabilities$ extends _interceptors.Interceptor { + static new(deviceInitDict = null) { + if (deviceInitDict != null) { + let deviceInitDict_1 = html_common.convertDartToNative_Dictionary(deviceInitDict); + return html$.InputDeviceCapabilities._create_1(deviceInitDict_1); + } + return html$.InputDeviceCapabilities._create_2(); + } + static _create_1(deviceInitDict) { + return new InputDeviceCapabilities(deviceInitDict); + } + static _create_2() { + return new InputDeviceCapabilities(); + } + get [S$1.$firesTouchEvents]() { + return this.firesTouchEvents; + } + }; + dart.addTypeTests(html$.InputDeviceCapabilities); + dart.addTypeCaches(html$.InputDeviceCapabilities); + dart.setGetterSignature(html$.InputDeviceCapabilities, () => ({ + __proto__: dart.getGetters(html$.InputDeviceCapabilities.__proto__), + [S$1.$firesTouchEvents]: dart.nullable(core.bool) + })); + dart.setLibraryUri(html$.InputDeviceCapabilities, I[148]); + dart.registerExtension("InputDeviceCapabilities", html$.InputDeviceCapabilities); + html$.InputElement = class InputElement extends html$.HtmlElement { + static new(opts) { + let type = opts && 'type' in opts ? opts.type : null; + let e = html$.InputElement.as(html$.document[S.$createElement]("input")); + if (type != null) { + try { + e.type = type; + } catch (e$) { + let _ = dart.getThrown(e$); + if (core.Object.is(_)) { + } else + throw e$; + } + } + return e; + } + get [S$1.$accept]() { + return this.accept; + } + set [S$1.$accept](value) { + this.accept = value; + } + get [S$.$alt]() { + return this.alt; + } + set [S$.$alt](value) { + this.alt = value; + } + get [S$1.$autocapitalize]() { + return this.autocapitalize; + } + set [S$1.$autocapitalize](value) { + this.autocapitalize = value; + } + get [S$.$autocomplete]() { + return this.autocomplete; + } + set [S$.$autocomplete](value) { + this.autocomplete = value; + } + get [S$.$autofocus]() { + return this.autofocus; + } + set [S$.$autofocus](value) { + this.autofocus = value; + } + get [S$1.$capture]() { + return this.capture; + } + set [S$1.$capture](value) { + this.capture = value; + } + get [S$.$checked]() { + return this.checked; + } + set [S$.$checked](value) { + this.checked = value; + } + get [S$1.$defaultChecked]() { + return this.defaultChecked; + } + set [S$1.$defaultChecked](value) { + this.defaultChecked = value; + } + get [S$1.$defaultValue]() { + return this.defaultValue; + } + set [S$1.$defaultValue](value) { + this.defaultValue = value; + } + get [S$1.$dirName]() { + return this.dirName; + } + set [S$1.$dirName](value) { + this.dirName = value; + } + get [S$.$disabled]() { + return this.disabled; + } + set [S$.$disabled](value) { + this.disabled = value; + } + get [S$0.$files]() { + return this.files; + } + set [S$0.$files](value) { + this.files = value; + } + get [S$.$form]() { + return this.form; + } + get [S$.$formAction]() { + return this.formAction; + } + set [S$.$formAction](value) { + this.formAction = value; + } + get [S$.$formEnctype]() { + return this.formEnctype; + } + set [S$.$formEnctype](value) { + this.formEnctype = value; + } + get [S$.$formMethod]() { + return this.formMethod; + } + set [S$.$formMethod](value) { + this.formMethod = value; + } + get [S$.$formNoValidate]() { + return this.formNoValidate; + } + set [S$.$formNoValidate](value) { + this.formNoValidate = value; + } + get [S$.$formTarget]() { + return this.formTarget; + } + set [S$.$formTarget](value) { + this.formTarget = value; + } + get [$height]() { + return this.height; + } + set [$height](value) { + this.height = value; + } + get [S$1.$incremental]() { + return this.incremental; + } + set [S$1.$incremental](value) { + this.incremental = value; + } + get [S$1.$indeterminate]() { + return this.indeterminate; + } + set [S$1.$indeterminate](value) { + this.indeterminate = value; + } + get [S$.$labels]() { + return this.labels; + } + get [S$1.$list]() { + return this.list; + } + get [S$1.$max]() { + return this.max; + } + set [S$1.$max](value) { + this.max = value; + } + get [S$1.$maxLength]() { + return this.maxLength; + } + set [S$1.$maxLength](value) { + this.maxLength = value; + } + get [S$1.$min]() { + return this.min; + } + set [S$1.$min](value) { + this.min = value; + } + get [S$1.$minLength]() { + return this.minLength; + } + set [S$1.$minLength](value) { + this.minLength = value; + } + get [S$1.$multiple]() { + return this.multiple; + } + set [S$1.$multiple](value) { + this.multiple = value; + } + get [$name]() { + return this.name; + } + set [$name](value) { + this.name = value; + } + get [S$1.$pattern]() { + return this.pattern; + } + set [S$1.$pattern](value) { + this.pattern = value; + } + get [S$.$placeholder]() { + return this.placeholder; + } + set [S$.$placeholder](value) { + this.placeholder = value; + } + get [S$.$readOnly]() { + return this.readOnly; + } + set [S$.$readOnly](value) { + this.readOnly = value; + } + get [S$.$required]() { + return this.required; + } + set [S$.$required](value) { + this.required = value; + } + get [S$1.$selectionDirection]() { + return this.selectionDirection; + } + set [S$1.$selectionDirection](value) { + this.selectionDirection = value; + } + get [S$1.$selectionEnd]() { + return this.selectionEnd; + } + set [S$1.$selectionEnd](value) { + this.selectionEnd = value; + } + get [S$1.$selectionStart]() { + return this.selectionStart; + } + set [S$1.$selectionStart](value) { + this.selectionStart = value; + } + get [S$.$size]() { + return this.size; + } + set [S$.$size](value) { + this.size = value; + } + get [S$.$src]() { + return this.src; + } + set [S$.$src](value) { + this.src = value; + } + get [S$1.$step]() { + return this.step; + } + set [S$1.$step](value) { + this.step = value; + } + get [S.$type]() { + return this.type; + } + set [S.$type](value) { + this.type = value; + } + get [S$.$validationMessage]() { + return this.validationMessage; + } + get [S$.$validity]() { + return this.validity; + } + get [S.$value]() { + return this.value; + } + set [S.$value](value) { + this.value = value; + } + get [S$1.$valueAsDate]() { + return html_common.convertNativeToDart_DateTime(this[S$1._get_valueAsDate]); + } + get [S$1._get_valueAsDate]() { + return this.valueAsDate; + } + set [S$1.$valueAsDate](value) { + this[S$1._set_valueAsDate] = html_common.convertDartToNative_DateTime(dart.nullCheck(value)); + } + set [S$1._set_valueAsDate](value) { + this.valueAsDate = value; + } + get [S$1.$valueAsNumber]() { + return this.valueAsNumber; + } + set [S$1.$valueAsNumber](value) { + this.valueAsNumber = value; + } + get [$entries]() { + return this.webkitEntries; + } + get [S$1.$directory]() { + return this.webkitdirectory; + } + set [S$1.$directory](value) { + this.webkitdirectory = value; + } + get [$width]() { + return this.width; + } + set [$width](value) { + this.width = value; + } + get [S$.$willValidate]() { + return this.willValidate; + } + [S$.$checkValidity](...args) { + return this.checkValidity.apply(this, args); + } + [S$.$reportValidity](...args) { + return this.reportValidity.apply(this, args); + } + [S$.$select](...args) { + return this.select.apply(this, args); + } + [S$.$setCustomValidity](...args) { + return this.setCustomValidity.apply(this, args); + } + [S$1.$setRangeText](...args) { + return this.setRangeText.apply(this, args); + } + [S$1.$setSelectionRange](...args) { + return this.setSelectionRange.apply(this, args); + } + [S$1.$stepDown](...args) { + return this.stepDown.apply(this, args); + } + [S$1.$stepUp](...args) { + return this.stepUp.apply(this, args); + } + }; + (html$.InputElement.created = function() { + html$.InputElement.__proto__.created.call(this); + ; + }).prototype = html$.InputElement.prototype; + dart.addTypeTests(html$.InputElement); + dart.addTypeCaches(html$.InputElement); + html$.InputElement[dart.implements] = () => [html$.HiddenInputElement, html$.SearchInputElement, html$.TextInputElement, html$.UrlInputElement, html$.TelephoneInputElement, html$.EmailInputElement, html$.PasswordInputElement, html$.DateInputElement, html$.MonthInputElement, html$.WeekInputElement, html$.TimeInputElement, html$.LocalDateTimeInputElement, html$.NumberInputElement, html$.RangeInputElement, html$.CheckboxInputElement, html$.RadioButtonInputElement, html$.FileUploadInputElement, html$.SubmitButtonInputElement, html$.ImageButtonInputElement, html$.ResetButtonInputElement, html$.ButtonInputElement]; + dart.setMethodSignature(html$.InputElement, () => ({ + __proto__: dart.getMethods(html$.InputElement.__proto__), + [S$.$checkValidity]: dart.fnType(core.bool, []), + [S$.$reportValidity]: dart.fnType(core.bool, []), + [S$.$select]: dart.fnType(dart.void, []), + [S$.$setCustomValidity]: dart.fnType(dart.void, [core.String]), + [S$1.$setRangeText]: dart.fnType(dart.void, [core.String], {end: dart.nullable(core.int), selectionMode: dart.nullable(core.String), start: dart.nullable(core.int)}, {}), + [S$1.$setSelectionRange]: dart.fnType(dart.void, [core.int, core.int], [dart.nullable(core.String)]), + [S$1.$stepDown]: dart.fnType(dart.void, [], [dart.nullable(core.int)]), + [S$1.$stepUp]: dart.fnType(dart.void, [], [dart.nullable(core.int)]) + })); + dart.setGetterSignature(html$.InputElement, () => ({ + __proto__: dart.getGetters(html$.InputElement.__proto__), + [S$1.$accept]: dart.nullable(core.String), + [S$.$alt]: dart.nullable(core.String), + [S$1.$autocapitalize]: dart.nullable(core.String), + [S$.$autocomplete]: core.String, + [S$.$autofocus]: core.bool, + [S$1.$capture]: dart.nullable(core.String), + [S$.$checked]: dart.nullable(core.bool), + [S$1.$defaultChecked]: dart.nullable(core.bool), + [S$1.$defaultValue]: dart.nullable(core.String), + [S$1.$dirName]: dart.nullable(core.String), + [S$.$disabled]: dart.nullable(core.bool), + [S$0.$files]: dart.nullable(core.List$(html$.File)), + [S$.$form]: dart.nullable(html$.FormElement), + [S$.$formAction]: core.String, + [S$.$formEnctype]: core.String, + [S$.$formMethod]: core.String, + [S$.$formNoValidate]: core.bool, + [S$.$formTarget]: core.String, + [$height]: dart.nullable(core.int), + [S$1.$incremental]: dart.nullable(core.bool), + [S$1.$indeterminate]: dart.nullable(core.bool), + [S$.$labels]: dart.nullable(core.List$(html$.Node)), + [S$1.$list]: dart.nullable(html$.HtmlElement), + [S$1.$max]: dart.nullable(core.String), + [S$1.$maxLength]: dart.nullable(core.int), + [S$1.$min]: dart.nullable(core.String), + [S$1.$minLength]: dart.nullable(core.int), + [S$1.$multiple]: dart.nullable(core.bool), + [$name]: dart.nullable(core.String), + [S$1.$pattern]: core.String, + [S$.$placeholder]: core.String, + [S$.$readOnly]: dart.nullable(core.bool), + [S$.$required]: core.bool, + [S$1.$selectionDirection]: dart.nullable(core.String), + [S$1.$selectionEnd]: dart.nullable(core.int), + [S$1.$selectionStart]: dart.nullable(core.int), + [S$.$size]: dart.nullable(core.int), + [S$.$src]: dart.nullable(core.String), + [S$1.$step]: dart.nullable(core.String), + [S.$type]: dart.nullable(core.String), + [S$.$validationMessage]: core.String, + [S$.$validity]: html$.ValidityState, + [S.$value]: dart.nullable(core.String), + [S$1.$valueAsDate]: core.DateTime, + [S$1._get_valueAsDate]: dart.dynamic, + [S$1.$valueAsNumber]: dart.nullable(core.num), + [$entries]: dart.nullable(core.List$(html$.Entry)), + [S$1.$directory]: dart.nullable(core.bool), + [$width]: dart.nullable(core.int), + [S$.$willValidate]: core.bool + })); + dart.setSetterSignature(html$.InputElement, () => ({ + __proto__: dart.getSetters(html$.InputElement.__proto__), + [S$1.$accept]: dart.nullable(core.String), + [S$.$alt]: dart.nullable(core.String), + [S$1.$autocapitalize]: dart.nullable(core.String), + [S$.$autocomplete]: core.String, + [S$.$autofocus]: core.bool, + [S$1.$capture]: dart.nullable(core.String), + [S$.$checked]: dart.nullable(core.bool), + [S$1.$defaultChecked]: dart.nullable(core.bool), + [S$1.$defaultValue]: dart.nullable(core.String), + [S$1.$dirName]: dart.nullable(core.String), + [S$.$disabled]: dart.nullable(core.bool), + [S$0.$files]: dart.nullable(core.List$(html$.File)), + [S$.$formAction]: core.String, + [S$.$formEnctype]: core.String, + [S$.$formMethod]: core.String, + [S$.$formNoValidate]: core.bool, + [S$.$formTarget]: core.String, + [$height]: dart.nullable(core.int), + [S$1.$incremental]: dart.nullable(core.bool), + [S$1.$indeterminate]: dart.nullable(core.bool), + [S$1.$max]: dart.nullable(core.String), + [S$1.$maxLength]: dart.nullable(core.int), + [S$1.$min]: dart.nullable(core.String), + [S$1.$minLength]: dart.nullable(core.int), + [S$1.$multiple]: dart.nullable(core.bool), + [$name]: dart.nullable(core.String), + [S$1.$pattern]: core.String, + [S$.$placeholder]: core.String, + [S$.$readOnly]: dart.nullable(core.bool), + [S$.$required]: core.bool, + [S$1.$selectionDirection]: dart.nullable(core.String), + [S$1.$selectionEnd]: dart.nullable(core.int), + [S$1.$selectionStart]: dart.nullable(core.int), + [S$.$size]: dart.nullable(core.int), + [S$.$src]: dart.nullable(core.String), + [S$1.$step]: dart.nullable(core.String), + [S.$type]: dart.nullable(core.String), + [S.$value]: dart.nullable(core.String), + [S$1.$valueAsDate]: dart.nullable(core.DateTime), + [S$1._set_valueAsDate]: dart.dynamic, + [S$1.$valueAsNumber]: dart.nullable(core.num), + [S$1.$directory]: dart.nullable(core.bool), + [$width]: dart.nullable(core.int) + })); + dart.setLibraryUri(html$.InputElement, I[148]); + dart.registerExtension("HTMLInputElement", html$.InputElement); + html$.InputElementBase = class InputElementBase extends core.Object {}; + (html$.InputElementBase.new = function() { + ; + }).prototype = html$.InputElementBase.prototype; + dart.addTypeTests(html$.InputElementBase); + dart.addTypeCaches(html$.InputElementBase); + html$.InputElementBase[dart.implements] = () => [html$.Element]; + dart.setLibraryUri(html$.InputElementBase, I[148]); + html$.HiddenInputElement = class HiddenInputElement extends core.Object { + static new() { + return html$.InputElement.new({type: "hidden"}); + } + }; + (html$.HiddenInputElement[dart.mixinNew] = function() { + }).prototype = html$.HiddenInputElement.prototype; + dart.addTypeTests(html$.HiddenInputElement); + dart.addTypeCaches(html$.HiddenInputElement); + html$.HiddenInputElement[dart.implements] = () => [html$.InputElementBase]; + dart.setLibraryUri(html$.HiddenInputElement, I[148]); + html$.TextInputElementBase = class TextInputElementBase extends core.Object {}; + (html$.TextInputElementBase.new = function() { + ; + }).prototype = html$.TextInputElementBase.prototype; + dart.addTypeTests(html$.TextInputElementBase); + dart.addTypeCaches(html$.TextInputElementBase); + html$.TextInputElementBase[dart.implements] = () => [html$.InputElementBase]; + dart.setLibraryUri(html$.TextInputElementBase, I[148]); + html$.SearchInputElement = class SearchInputElement extends core.Object { + static new() { + return html$.InputElement.new({type: "search"}); + } + static get supported() { + return html$.InputElement.new({type: "search"}).type === "search"; + } + }; + (html$.SearchInputElement[dart.mixinNew] = function() { + }).prototype = html$.SearchInputElement.prototype; + dart.addTypeTests(html$.SearchInputElement); + dart.addTypeCaches(html$.SearchInputElement); + html$.SearchInputElement[dart.implements] = () => [html$.TextInputElementBase]; + dart.setLibraryUri(html$.SearchInputElement, I[148]); + html$.TextInputElement = class TextInputElement extends core.Object { + static new() { + return html$.InputElement.new({type: "text"}); + } + }; + (html$.TextInputElement[dart.mixinNew] = function() { + }).prototype = html$.TextInputElement.prototype; + dart.addTypeTests(html$.TextInputElement); + dart.addTypeCaches(html$.TextInputElement); + html$.TextInputElement[dart.implements] = () => [html$.TextInputElementBase]; + dart.setLibraryUri(html$.TextInputElement, I[148]); + html$.UrlInputElement = class UrlInputElement extends core.Object { + static new() { + return html$.InputElement.new({type: "url"}); + } + static get supported() { + return html$.InputElement.new({type: "url"}).type === "url"; + } + }; + (html$.UrlInputElement[dart.mixinNew] = function() { + }).prototype = html$.UrlInputElement.prototype; + dart.addTypeTests(html$.UrlInputElement); + dart.addTypeCaches(html$.UrlInputElement); + html$.UrlInputElement[dart.implements] = () => [html$.TextInputElementBase]; + dart.setLibraryUri(html$.UrlInputElement, I[148]); + html$.TelephoneInputElement = class TelephoneInputElement extends core.Object { + static new() { + return html$.InputElement.new({type: "tel"}); + } + static get supported() { + return html$.InputElement.new({type: "tel"}).type === "tel"; + } + }; + (html$.TelephoneInputElement[dart.mixinNew] = function() { + }).prototype = html$.TelephoneInputElement.prototype; + dart.addTypeTests(html$.TelephoneInputElement); + dart.addTypeCaches(html$.TelephoneInputElement); + html$.TelephoneInputElement[dart.implements] = () => [html$.TextInputElementBase]; + dart.setLibraryUri(html$.TelephoneInputElement, I[148]); + html$.EmailInputElement = class EmailInputElement extends core.Object { + static new() { + return html$.InputElement.new({type: "email"}); + } + static get supported() { + return html$.InputElement.new({type: "email"}).type === "email"; + } + }; + (html$.EmailInputElement[dart.mixinNew] = function() { + }).prototype = html$.EmailInputElement.prototype; + dart.addTypeTests(html$.EmailInputElement); + dart.addTypeCaches(html$.EmailInputElement); + html$.EmailInputElement[dart.implements] = () => [html$.TextInputElementBase]; + dart.setLibraryUri(html$.EmailInputElement, I[148]); + html$.PasswordInputElement = class PasswordInputElement extends core.Object { + static new() { + return html$.InputElement.new({type: "password"}); + } + }; + (html$.PasswordInputElement[dart.mixinNew] = function() { + }).prototype = html$.PasswordInputElement.prototype; + dart.addTypeTests(html$.PasswordInputElement); + dart.addTypeCaches(html$.PasswordInputElement); + html$.PasswordInputElement[dart.implements] = () => [html$.TextInputElementBase]; + dart.setLibraryUri(html$.PasswordInputElement, I[148]); + html$.RangeInputElementBase = class RangeInputElementBase extends core.Object {}; + (html$.RangeInputElementBase.new = function() { + ; + }).prototype = html$.RangeInputElementBase.prototype; + dart.addTypeTests(html$.RangeInputElementBase); + dart.addTypeCaches(html$.RangeInputElementBase); + html$.RangeInputElementBase[dart.implements] = () => [html$.InputElementBase]; + dart.setLibraryUri(html$.RangeInputElementBase, I[148]); + html$.DateInputElement = class DateInputElement extends core.Object { + static new() { + return html$.InputElement.new({type: "date"}); + } + static get supported() { + return html$.InputElement.new({type: "date"}).type === "date"; + } + }; + (html$.DateInputElement[dart.mixinNew] = function() { + }).prototype = html$.DateInputElement.prototype; + dart.addTypeTests(html$.DateInputElement); + dart.addTypeCaches(html$.DateInputElement); + html$.DateInputElement[dart.implements] = () => [html$.RangeInputElementBase]; + dart.setLibraryUri(html$.DateInputElement, I[148]); + html$.MonthInputElement = class MonthInputElement extends core.Object { + static new() { + return html$.InputElement.new({type: "month"}); + } + static get supported() { + return html$.InputElement.new({type: "month"}).type === "month"; + } + }; + (html$.MonthInputElement[dart.mixinNew] = function() { + }).prototype = html$.MonthInputElement.prototype; + dart.addTypeTests(html$.MonthInputElement); + dart.addTypeCaches(html$.MonthInputElement); + html$.MonthInputElement[dart.implements] = () => [html$.RangeInputElementBase]; + dart.setLibraryUri(html$.MonthInputElement, I[148]); + html$.WeekInputElement = class WeekInputElement extends core.Object { + static new() { + return html$.InputElement.new({type: "week"}); + } + static get supported() { + return html$.InputElement.new({type: "week"}).type === "week"; + } + }; + (html$.WeekInputElement[dart.mixinNew] = function() { + }).prototype = html$.WeekInputElement.prototype; + dart.addTypeTests(html$.WeekInputElement); + dart.addTypeCaches(html$.WeekInputElement); + html$.WeekInputElement[dart.implements] = () => [html$.RangeInputElementBase]; + dart.setLibraryUri(html$.WeekInputElement, I[148]); + html$.TimeInputElement = class TimeInputElement extends core.Object { + static new() { + return html$.InputElement.new({type: "time"}); + } + static get supported() { + return html$.InputElement.new({type: "time"}).type === "time"; + } + }; + (html$.TimeInputElement[dart.mixinNew] = function() { + }).prototype = html$.TimeInputElement.prototype; + dart.addTypeTests(html$.TimeInputElement); + dart.addTypeCaches(html$.TimeInputElement); + html$.TimeInputElement[dart.implements] = () => [html$.RangeInputElementBase]; + dart.setLibraryUri(html$.TimeInputElement, I[148]); + html$.LocalDateTimeInputElement = class LocalDateTimeInputElement extends core.Object { + static new() { + return html$.InputElement.new({type: "datetime-local"}); + } + static get supported() { + return html$.InputElement.new({type: "datetime-local"}).type === "datetime-local"; + } + }; + (html$.LocalDateTimeInputElement[dart.mixinNew] = function() { + }).prototype = html$.LocalDateTimeInputElement.prototype; + dart.addTypeTests(html$.LocalDateTimeInputElement); + dart.addTypeCaches(html$.LocalDateTimeInputElement); + html$.LocalDateTimeInputElement[dart.implements] = () => [html$.RangeInputElementBase]; + dart.setLibraryUri(html$.LocalDateTimeInputElement, I[148]); + html$.NumberInputElement = class NumberInputElement extends core.Object { + static new() { + return html$.InputElement.new({type: "number"}); + } + static get supported() { + return html$.InputElement.new({type: "number"}).type === "number"; + } + }; + (html$.NumberInputElement[dart.mixinNew] = function() { + }).prototype = html$.NumberInputElement.prototype; + dart.addTypeTests(html$.NumberInputElement); + dart.addTypeCaches(html$.NumberInputElement); + html$.NumberInputElement[dart.implements] = () => [html$.RangeInputElementBase]; + dart.setLibraryUri(html$.NumberInputElement, I[148]); + html$.RangeInputElement = class RangeInputElement extends core.Object { + static new() { + return html$.InputElement.new({type: "range"}); + } + static get supported() { + return html$.InputElement.new({type: "range"}).type === "range"; + } + }; + (html$.RangeInputElement[dart.mixinNew] = function() { + }).prototype = html$.RangeInputElement.prototype; + dart.addTypeTests(html$.RangeInputElement); + dart.addTypeCaches(html$.RangeInputElement); + html$.RangeInputElement[dart.implements] = () => [html$.RangeInputElementBase]; + dart.setLibraryUri(html$.RangeInputElement, I[148]); + html$.CheckboxInputElement = class CheckboxInputElement extends core.Object { + static new() { + return html$.InputElement.new({type: "checkbox"}); + } + }; + (html$.CheckboxInputElement[dart.mixinNew] = function() { + }).prototype = html$.CheckboxInputElement.prototype; + dart.addTypeTests(html$.CheckboxInputElement); + dart.addTypeCaches(html$.CheckboxInputElement); + html$.CheckboxInputElement[dart.implements] = () => [html$.InputElementBase]; + dart.setLibraryUri(html$.CheckboxInputElement, I[148]); + html$.RadioButtonInputElement = class RadioButtonInputElement extends core.Object { + static new() { + return html$.InputElement.new({type: "radio"}); + } + }; + (html$.RadioButtonInputElement[dart.mixinNew] = function() { + }).prototype = html$.RadioButtonInputElement.prototype; + dart.addTypeTests(html$.RadioButtonInputElement); + dart.addTypeCaches(html$.RadioButtonInputElement); + html$.RadioButtonInputElement[dart.implements] = () => [html$.InputElementBase]; + dart.setLibraryUri(html$.RadioButtonInputElement, I[148]); + html$.FileUploadInputElement = class FileUploadInputElement extends core.Object { + get files() { + return this[S$1.files]; + } + set files(value) { + this[S$1.files] = value; + } + static new() { + return html$.InputElement.new({type: "file"}); + } + }; + (html$.FileUploadInputElement[dart.mixinNew] = function() { + this[S$1.files] = null; + }).prototype = html$.FileUploadInputElement.prototype; + dart.addTypeTests(html$.FileUploadInputElement); + dart.addTypeCaches(html$.FileUploadInputElement); + html$.FileUploadInputElement[dart.implements] = () => [html$.InputElementBase]; + dart.setLibraryUri(html$.FileUploadInputElement, I[148]); + dart.setFieldSignature(html$.FileUploadInputElement, () => ({ + __proto__: dart.getFields(html$.FileUploadInputElement.__proto__), + files: dart.fieldType(dart.nullable(core.List$(html$.File))) + })); + dart.defineExtensionAccessors(html$.FileUploadInputElement, ['files']); + html$.SubmitButtonInputElement = class SubmitButtonInputElement extends core.Object { + static new() { + return html$.InputElement.new({type: "submit"}); + } + }; + (html$.SubmitButtonInputElement[dart.mixinNew] = function() { + }).prototype = html$.SubmitButtonInputElement.prototype; + dart.addTypeTests(html$.SubmitButtonInputElement); + dart.addTypeCaches(html$.SubmitButtonInputElement); + html$.SubmitButtonInputElement[dart.implements] = () => [html$.InputElementBase]; + dart.setLibraryUri(html$.SubmitButtonInputElement, I[148]); + html$.ImageButtonInputElement = class ImageButtonInputElement extends core.Object { + static new() { + return html$.InputElement.new({type: "image"}); + } + }; + (html$.ImageButtonInputElement[dart.mixinNew] = function() { + }).prototype = html$.ImageButtonInputElement.prototype; + dart.addTypeTests(html$.ImageButtonInputElement); + dart.addTypeCaches(html$.ImageButtonInputElement); + html$.ImageButtonInputElement[dart.implements] = () => [html$.InputElementBase]; + dart.setLibraryUri(html$.ImageButtonInputElement, I[148]); + html$.ResetButtonInputElement = class ResetButtonInputElement extends core.Object { + static new() { + return html$.InputElement.new({type: "reset"}); + } + }; + (html$.ResetButtonInputElement[dart.mixinNew] = function() { + }).prototype = html$.ResetButtonInputElement.prototype; + dart.addTypeTests(html$.ResetButtonInputElement); + dart.addTypeCaches(html$.ResetButtonInputElement); + html$.ResetButtonInputElement[dart.implements] = () => [html$.InputElementBase]; + dart.setLibraryUri(html$.ResetButtonInputElement, I[148]); + html$.ButtonInputElement = class ButtonInputElement extends core.Object { + static new() { + return html$.InputElement.new({type: "button"}); + } + }; + (html$.ButtonInputElement[dart.mixinNew] = function() { + }).prototype = html$.ButtonInputElement.prototype; + dart.addTypeTests(html$.ButtonInputElement); + dart.addTypeCaches(html$.ButtonInputElement); + html$.ButtonInputElement[dart.implements] = () => [html$.InputElementBase]; + dart.setLibraryUri(html$.ButtonInputElement, I[148]); + html$.InstallEvent = class InstallEvent$ extends html$.ExtendableEvent { + static new(type, eventInitDict = null) { + if (type == null) dart.nullFailed(I[147], 19853, 31, "type"); + if (eventInitDict != null) { + let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); + return html$.InstallEvent._create_1(type, eventInitDict_1); + } + return html$.InstallEvent._create_2(type); + } + static _create_1(type, eventInitDict) { + return new InstallEvent(type, eventInitDict); + } + static _create_2(type) { + return new InstallEvent(type); + } + [S$1.$registerForeignFetch](options) { + if (options == null) dart.nullFailed(I[147], 19865, 33, "options"); + let options_1 = html_common.convertDartToNative_Dictionary(options); + this[S$1._registerForeignFetch_1](options_1); + return; + } + [S$1._registerForeignFetch_1](...args) { + return this.registerForeignFetch.apply(this, args); + } + }; + dart.addTypeTests(html$.InstallEvent); + dart.addTypeCaches(html$.InstallEvent); + dart.setMethodSignature(html$.InstallEvent, () => ({ + __proto__: dart.getMethods(html$.InstallEvent.__proto__), + [S$1.$registerForeignFetch]: dart.fnType(dart.void, [core.Map]), + [S$1._registerForeignFetch_1]: dart.fnType(dart.void, [dart.dynamic]) + })); + dart.setLibraryUri(html$.InstallEvent, I[148]); + dart.registerExtension("InstallEvent", html$.InstallEvent); + html$.IntersectionObserver = class IntersectionObserver$ extends _interceptors.Interceptor { + static new(callback, options = null) { + if (callback == null) dart.nullFailed(I[147], 19885, 61, "callback"); + if (options != null) { + let callback_1 = _js_helper.convertDartClosureToJS(T$0.ListAndIntersectionObserverTovoid(), callback, 2); + let options_2 = html_common.convertDartToNative_Dictionary(options); + return html$.IntersectionObserver._create_1(callback_1, options_2); + } + let callback_1 = _js_helper.convertDartClosureToJS(T$0.ListAndIntersectionObserverTovoid(), callback, 2); + return html$.IntersectionObserver._create_2(callback_1); + } + static _create_1(callback, options) { + return new IntersectionObserver(callback, options); + } + static _create_2(callback) { + return new IntersectionObserver(callback); + } + get [S$1.$root]() { + return this.root; + } + get [S$1.$rootMargin]() { + return this.rootMargin; + } + get [S$1.$thresholds]() { + return this.thresholds; + } + [S$1.$disconnect](...args) { + return this.disconnect.apply(this, args); + } + [S.$observe](...args) { + return this.observe.apply(this, args); + } + [S$1.$takeRecords](...args) { + return this.takeRecords.apply(this, args); + } + [S.$unobserve](...args) { + return this.unobserve.apply(this, args); + } + }; + dart.addTypeTests(html$.IntersectionObserver); + dart.addTypeCaches(html$.IntersectionObserver); + dart.setMethodSignature(html$.IntersectionObserver, () => ({ + __proto__: dart.getMethods(html$.IntersectionObserver.__proto__), + [S$1.$disconnect]: dart.fnType(dart.void, []), + [S.$observe]: dart.fnType(dart.void, [html$.Element]), + [S$1.$takeRecords]: dart.fnType(core.List$(html$.IntersectionObserverEntry), []), + [S.$unobserve]: dart.fnType(dart.void, [html$.Element]) + })); + dart.setGetterSignature(html$.IntersectionObserver, () => ({ + __proto__: dart.getGetters(html$.IntersectionObserver.__proto__), + [S$1.$root]: dart.nullable(html$.Element), + [S$1.$rootMargin]: dart.nullable(core.String), + [S$1.$thresholds]: dart.nullable(core.List$(core.num)) + })); + dart.setLibraryUri(html$.IntersectionObserver, I[148]); + dart.registerExtension("IntersectionObserver", html$.IntersectionObserver); + html$.IntersectionObserverEntry = class IntersectionObserverEntry extends _interceptors.Interceptor { + get [S$1.$boundingClientRect]() { + return this.boundingClientRect; + } + get [S$1.$intersectionRatio]() { + return this.intersectionRatio; + } + get [S$1.$intersectionRect]() { + return this.intersectionRect; + } + get [S$1.$isIntersecting]() { + return this.isIntersecting; + } + get [S$1.$rootBounds]() { + return this.rootBounds; + } + get [S.$target]() { + return this.target; + } + get [S$.$time]() { + return this.time; + } + }; + dart.addTypeTests(html$.IntersectionObserverEntry); + dart.addTypeCaches(html$.IntersectionObserverEntry); + dart.setGetterSignature(html$.IntersectionObserverEntry, () => ({ + __proto__: dart.getGetters(html$.IntersectionObserverEntry.__proto__), + [S$1.$boundingClientRect]: dart.nullable(html$.DomRectReadOnly), + [S$1.$intersectionRatio]: dart.nullable(core.num), + [S$1.$intersectionRect]: dart.nullable(html$.DomRectReadOnly), + [S$1.$isIntersecting]: dart.nullable(core.bool), + [S$1.$rootBounds]: dart.nullable(html$.DomRectReadOnly), + [S.$target]: dart.nullable(html$.Element), + [S$.$time]: dart.nullable(core.num) + })); + dart.setLibraryUri(html$.IntersectionObserverEntry, I[148]); + dart.registerExtension("IntersectionObserverEntry", html$.IntersectionObserverEntry); + html$.InterventionReport = class InterventionReport extends html$.ReportBody { + get [S$0.$lineNumber]() { + return this.lineNumber; + } + get [$message]() { + return this.message; + } + get [S$0.$sourceFile]() { + return this.sourceFile; + } + }; + dart.addTypeTests(html$.InterventionReport); + dart.addTypeCaches(html$.InterventionReport); + dart.setGetterSignature(html$.InterventionReport, () => ({ + __proto__: dart.getGetters(html$.InterventionReport.__proto__), + [S$0.$lineNumber]: dart.nullable(core.int), + [$message]: dart.nullable(core.String), + [S$0.$sourceFile]: dart.nullable(core.String) + })); + dart.setLibraryUri(html$.InterventionReport, I[148]); + dart.registerExtension("InterventionReport", html$.InterventionReport); + html$.KeyboardEvent = class KeyboardEvent$ extends html$.UIEvent { + static new(type, opts) { + let t238; + if (type == null) dart.nullFailed(I[147], 19992, 32, "type"); + let view = opts && 'view' in opts ? opts.view : null; + let canBubble = opts && 'canBubble' in opts ? opts.canBubble : true; + if (canBubble == null) dart.nullFailed(I[147], 19994, 12, "canBubble"); + let cancelable = opts && 'cancelable' in opts ? opts.cancelable : true; + if (cancelable == null) dart.nullFailed(I[147], 19995, 12, "cancelable"); + let location = opts && 'location' in opts ? opts.location : null; + let keyLocation = opts && 'keyLocation' in opts ? opts.keyLocation : null; + let ctrlKey = opts && 'ctrlKey' in opts ? opts.ctrlKey : false; + if (ctrlKey == null) dart.nullFailed(I[147], 19998, 12, "ctrlKey"); + let altKey = opts && 'altKey' in opts ? opts.altKey : false; + if (altKey == null) dart.nullFailed(I[147], 19999, 12, "altKey"); + let shiftKey = opts && 'shiftKey' in opts ? opts.shiftKey : false; + if (shiftKey == null) dart.nullFailed(I[147], 20000, 12, "shiftKey"); + let metaKey = opts && 'metaKey' in opts ? opts.metaKey : false; + if (metaKey == null) dart.nullFailed(I[147], 20001, 12, "metaKey"); + if (view == null) { + view = html$.window; + } + location == null ? location = (t238 = keyLocation, t238 == null ? 1 : t238) : null; + let e = html$.KeyboardEvent.as(html$.document[S._createEvent]("KeyboardEvent")); + e[S$1._initKeyboardEvent](type, canBubble, cancelable, view, "", location, ctrlKey, altKey, shiftKey, metaKey); + return e; + } + [S$1._initKeyboardEvent](type, canBubble, cancelable, view, keyIdentifier, location, ctrlKey, altKey, shiftKey, metaKey) { + if (type == null) dart.nullFailed(I[147], 20013, 14, "type"); + if (canBubble == null) dart.nullFailed(I[147], 20014, 12, "canBubble"); + if (cancelable == null) dart.nullFailed(I[147], 20015, 12, "cancelable"); + if (keyIdentifier == null) dart.nullFailed(I[147], 20017, 14, "keyIdentifier"); + if (ctrlKey == null) dart.nullFailed(I[147], 20019, 12, "ctrlKey"); + if (altKey == null) dart.nullFailed(I[147], 20020, 12, "altKey"); + if (shiftKey == null) dart.nullFailed(I[147], 20021, 12, "shiftKey"); + if (metaKey == null) dart.nullFailed(I[147], 20022, 12, "metaKey"); + if (typeof this.initKeyEvent == "function") { + this.initKeyEvent(type, canBubble, cancelable, view, ctrlKey, altKey, shiftKey, metaKey, 0, 0); + } else { + this.initKeyboardEvent(type, canBubble, cancelable, view, keyIdentifier, location, ctrlKey, altKey, shiftKey, metaKey); + } + } + get [S$1.$keyCode]() { + return this.keyCode; + } + get [S$1.$charCode]() { + return this.charCode; + } + get [S$1.$which]() { + return this[S$._which]; + } + static __(type, eventInitDict = null) { + if (type == null) dart.nullFailed(I[147], 20055, 34, "type"); + if (eventInitDict != null) { + let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); + return html$.KeyboardEvent._create_1(type, eventInitDict_1); + } + return html$.KeyboardEvent._create_2(type); + } + static _create_1(type, eventInitDict) { + return new KeyboardEvent(type, eventInitDict); + } + static _create_2(type) { + return new KeyboardEvent(type); + } + get [S$1.$altKey]() { + return this.altKey; + } + get [S$1._charCode]() { + return this.charCode; + } + get [S$.$code]() { + return this.code; + } + get [S$1.$ctrlKey]() { + return this.ctrlKey; + } + get [S$1.$isComposing]() { + return this.isComposing; + } + get [S.$key]() { + return this.key; + } + get [S$1._keyCode]() { + return this.keyCode; + } + get [S$0.$location]() { + return this.location; + } + get [S$1.$metaKey]() { + return this.metaKey; + } + get [S$1.$repeat]() { + return this.repeat; + } + get [S$1.$shiftKey]() { + return this.shiftKey; + } + [S$1.$getModifierState](...args) { + return this.getModifierState.apply(this, args); + } + }; + dart.addTypeTests(html$.KeyboardEvent); + dart.addTypeCaches(html$.KeyboardEvent); + dart.setMethodSignature(html$.KeyboardEvent, () => ({ + __proto__: dart.getMethods(html$.KeyboardEvent.__proto__), + [S$1._initKeyboardEvent]: dart.fnType(dart.void, [core.String, core.bool, core.bool, dart.nullable(html$.Window), core.String, dart.nullable(core.int), core.bool, core.bool, core.bool, core.bool]), + [S$1.$getModifierState]: dart.fnType(core.bool, [core.String]) + })); + dart.setGetterSignature(html$.KeyboardEvent, () => ({ + __proto__: dart.getGetters(html$.KeyboardEvent.__proto__), + [S$1.$keyCode]: core.int, + [S$1.$charCode]: core.int, + [S$1.$which]: dart.nullable(core.int), + [S$1.$altKey]: core.bool, + [S$1._charCode]: core.int, + [S$.$code]: dart.nullable(core.String), + [S$1.$ctrlKey]: core.bool, + [S$1.$isComposing]: dart.nullable(core.bool), + [S.$key]: dart.nullable(core.String), + [S$1._keyCode]: core.int, + [S$0.$location]: core.int, + [S$1.$metaKey]: core.bool, + [S$1.$repeat]: dart.nullable(core.bool), + [S$1.$shiftKey]: core.bool + })); + dart.setLibraryUri(html$.KeyboardEvent, I[148]); + dart.defineLazy(html$.KeyboardEvent, { + /*html$.KeyboardEvent.DOM_KEY_LOCATION_LEFT*/get DOM_KEY_LOCATION_LEFT() { + return 1; + }, + /*html$.KeyboardEvent.DOM_KEY_LOCATION_NUMPAD*/get DOM_KEY_LOCATION_NUMPAD() { + return 3; + }, + /*html$.KeyboardEvent.DOM_KEY_LOCATION_RIGHT*/get DOM_KEY_LOCATION_RIGHT() { + return 2; + }, + /*html$.KeyboardEvent.DOM_KEY_LOCATION_STANDARD*/get DOM_KEY_LOCATION_STANDARD() { + return 0; + } + }, false); + dart.registerExtension("KeyboardEvent", html$.KeyboardEvent); + html$.KeyframeEffectReadOnly = class KeyframeEffectReadOnly$ extends html$.AnimationEffectReadOnly { + static new(target, effect, options = null) { + if (options != null) { + return html$.KeyframeEffectReadOnly._create_1(target, effect, options); + } + return html$.KeyframeEffectReadOnly._create_2(target, effect); + } + static _create_1(target, effect, options) { + return new KeyframeEffectReadOnly(target, effect, options); + } + static _create_2(target, effect) { + return new KeyframeEffectReadOnly(target, effect); + } + }; + dart.addTypeTests(html$.KeyframeEffectReadOnly); + dart.addTypeCaches(html$.KeyframeEffectReadOnly); + dart.setLibraryUri(html$.KeyframeEffectReadOnly, I[148]); + dart.registerExtension("KeyframeEffectReadOnly", html$.KeyframeEffectReadOnly); + html$.KeyframeEffect = class KeyframeEffect$ extends html$.KeyframeEffectReadOnly { + static new(target, effect, options = null) { + if (options != null) { + return html$.KeyframeEffect._create_1(target, effect, options); + } + return html$.KeyframeEffect._create_2(target, effect); + } + static _create_1(target, effect, options) { + return new KeyframeEffect(target, effect, options); + } + static _create_2(target, effect) { + return new KeyframeEffect(target, effect); + } + }; + dart.addTypeTests(html$.KeyframeEffect); + dart.addTypeCaches(html$.KeyframeEffect); + dart.setLibraryUri(html$.KeyframeEffect, I[148]); + dart.registerExtension("KeyframeEffect", html$.KeyframeEffect); + html$.LIElement = class LIElement extends html$.HtmlElement { + static new() { + return html$.document.createElement("li"); + } + get [S.$value]() { + return this.value; + } + set [S.$value](value) { + this.value = value; + } + }; + (html$.LIElement.created = function() { + html$.LIElement.__proto__.created.call(this); + ; + }).prototype = html$.LIElement.prototype; + dart.addTypeTests(html$.LIElement); + dart.addTypeCaches(html$.LIElement); + dart.setGetterSignature(html$.LIElement, () => ({ + __proto__: dart.getGetters(html$.LIElement.__proto__), + [S.$value]: core.int + })); + dart.setSetterSignature(html$.LIElement, () => ({ + __proto__: dart.getSetters(html$.LIElement.__proto__), + [S.$value]: core.int + })); + dart.setLibraryUri(html$.LIElement, I[148]); + dart.registerExtension("HTMLLIElement", html$.LIElement); + html$.LabelElement = class LabelElement extends html$.HtmlElement { + static new() { + return html$.document.createElement("label"); + } + get [S$1.$control]() { + return this.control; + } + get [S$.$form]() { + return this.form; + } + get [S$1.$htmlFor]() { + return this.htmlFor; + } + set [S$1.$htmlFor](value) { + this.htmlFor = value; + } + }; + (html$.LabelElement.created = function() { + html$.LabelElement.__proto__.created.call(this); + ; + }).prototype = html$.LabelElement.prototype; + dart.addTypeTests(html$.LabelElement); + dart.addTypeCaches(html$.LabelElement); + dart.setGetterSignature(html$.LabelElement, () => ({ + __proto__: dart.getGetters(html$.LabelElement.__proto__), + [S$1.$control]: dart.nullable(html$.HtmlElement), + [S$.$form]: dart.nullable(html$.FormElement), + [S$1.$htmlFor]: core.String + })); + dart.setSetterSignature(html$.LabelElement, () => ({ + __proto__: dart.getSetters(html$.LabelElement.__proto__), + [S$1.$htmlFor]: core.String + })); + dart.setLibraryUri(html$.LabelElement, I[148]); + dart.registerExtension("HTMLLabelElement", html$.LabelElement); + html$.LegendElement = class LegendElement extends html$.HtmlElement { + static new() { + return html$.document.createElement("legend"); + } + get [S$.$form]() { + return this.form; + } + }; + (html$.LegendElement.created = function() { + html$.LegendElement.__proto__.created.call(this); + ; + }).prototype = html$.LegendElement.prototype; + dart.addTypeTests(html$.LegendElement); + dart.addTypeCaches(html$.LegendElement); + dart.setGetterSignature(html$.LegendElement, () => ({ + __proto__: dart.getGetters(html$.LegendElement.__proto__), + [S$.$form]: dart.nullable(html$.FormElement) + })); + dart.setLibraryUri(html$.LegendElement, I[148]); + dart.registerExtension("HTMLLegendElement", html$.LegendElement); + html$.LinearAccelerationSensor = class LinearAccelerationSensor$ extends html$.Accelerometer { + static new(sensorOptions = null) { + if (sensorOptions != null) { + let sensorOptions_1 = html_common.convertDartToNative_Dictionary(sensorOptions); + return html$.LinearAccelerationSensor._create_1(sensorOptions_1); + } + return html$.LinearAccelerationSensor._create_2(); + } + static _create_1(sensorOptions) { + return new LinearAccelerationSensor(sensorOptions); + } + static _create_2() { + return new LinearAccelerationSensor(); + } + }; + dart.addTypeTests(html$.LinearAccelerationSensor); + dart.addTypeCaches(html$.LinearAccelerationSensor); + dart.setLibraryUri(html$.LinearAccelerationSensor, I[148]); + dart.registerExtension("LinearAccelerationSensor", html$.LinearAccelerationSensor); + html$.LinkElement = class LinkElement extends html$.HtmlElement { + static new() { + return html$.document.createElement("link"); + } + get [S$1.$as]() { + return this.as; + } + set [S$1.$as](value) { + this.as = value; + } + get [S$.$crossOrigin]() { + return this.crossOrigin; + } + set [S$.$crossOrigin](value) { + this.crossOrigin = value; + } + get [S$.$disabled]() { + return this.disabled; + } + set [S$.$disabled](value) { + this.disabled = value; + } + get [S$.$href]() { + return this.href; + } + set [S$.$href](value) { + this.href = value; + } + get [S$.$hreflang]() { + return this.hreflang; + } + set [S$.$hreflang](value) { + this.hreflang = value; + } + get [S$1.$import]() { + return this.import; + } + get [S$1.$integrity]() { + return this.integrity; + } + set [S$1.$integrity](value) { + this.integrity = value; + } + get [S$.$media]() { + return this.media; + } + set [S$.$media](value) { + this.media = value; + } + get [S$.$referrerPolicy]() { + return this.referrerPolicy; + } + set [S$.$referrerPolicy](value) { + this.referrerPolicy = value; + } + get [S$.$rel]() { + return this.rel; + } + set [S$.$rel](value) { + this.rel = value; + } + get [S$1.$relList]() { + return this.relList; + } + get [S$1.$scope]() { + return this.scope; + } + set [S$1.$scope](value) { + this.scope = value; + } + get [S$1.$sheet]() { + return this.sheet; + } + get [S$1.$sizes]() { + return this.sizes; + } + get [S.$type]() { + return this.type; + } + set [S.$type](value) { + this.type = value; + } + get [S$1.$supportsImport]() { + return "import" in this; + } + }; + (html$.LinkElement.created = function() { + html$.LinkElement.__proto__.created.call(this); + ; + }).prototype = html$.LinkElement.prototype; + dart.addTypeTests(html$.LinkElement); + dart.addTypeCaches(html$.LinkElement); + dart.setGetterSignature(html$.LinkElement, () => ({ + __proto__: dart.getGetters(html$.LinkElement.__proto__), + [S$1.$as]: dart.nullable(core.String), + [S$.$crossOrigin]: dart.nullable(core.String), + [S$.$disabled]: dart.nullable(core.bool), + [S$.$href]: core.String, + [S$.$hreflang]: core.String, + [S$1.$import]: dart.nullable(html$.Document), + [S$1.$integrity]: dart.nullable(core.String), + [S$.$media]: core.String, + [S$.$referrerPolicy]: dart.nullable(core.String), + [S$.$rel]: core.String, + [S$1.$relList]: dart.nullable(html$.DomTokenList), + [S$1.$scope]: dart.nullable(core.String), + [S$1.$sheet]: dart.nullable(html$.StyleSheet), + [S$1.$sizes]: dart.nullable(html$.DomTokenList), + [S.$type]: core.String, + [S$1.$supportsImport]: core.bool + })); + dart.setSetterSignature(html$.LinkElement, () => ({ + __proto__: dart.getSetters(html$.LinkElement.__proto__), + [S$1.$as]: dart.nullable(core.String), + [S$.$crossOrigin]: dart.nullable(core.String), + [S$.$disabled]: dart.nullable(core.bool), + [S$.$href]: core.String, + [S$.$hreflang]: core.String, + [S$1.$integrity]: dart.nullable(core.String), + [S$.$media]: core.String, + [S$.$referrerPolicy]: dart.nullable(core.String), + [S$.$rel]: core.String, + [S$1.$scope]: dart.nullable(core.String), + [S.$type]: core.String + })); + dart.setLibraryUri(html$.LinkElement, I[148]); + dart.registerExtension("HTMLLinkElement", html$.LinkElement); + html$.Location = class Location extends _interceptors.Interceptor { + get [S$1.$ancestorOrigins]() { + return this.ancestorOrigins; + } + get [S$.$hash]() { + return this.hash; + } + set [S$.$hash](value) { + this.hash = value; + } + get [S$.$host]() { + return this.host; + } + set [S$.$host](value) { + this.host = value; + } + get [S$.$hostname]() { + return this.hostname; + } + set [S$.$hostname](value) { + this.hostname = value; + } + get [S$.$href]() { + return this.href; + } + set [S$.$href](value) { + this.href = value; + } + get [S$.$pathname]() { + return this.pathname; + } + set [S$.$pathname](value) { + this.pathname = value; + } + get [S$.$port]() { + return this.port; + } + set [S$.$port](value) { + this.port = value; + } + get [S$.$protocol]() { + return this.protocol; + } + set [S$.$protocol](value) { + this.protocol = value; + } + get [S$.$search]() { + return this.search; + } + set [S$.$search](value) { + this.search = value; + } + get [S$1.$trustedHref]() { + return this.trustedHref; + } + set [S$1.$trustedHref](value) { + this.trustedHref = value; + } + [S$1.$assign](...args) { + return this.assign.apply(this, args); + } + [S$1.$reload](...args) { + return this.reload.apply(this, args); + } + [S$1.$replace](...args) { + return this.replace.apply(this, args); + } + get [S$.$origin]() { + if ("origin" in this) { + return this.origin; + } + return dart.str(this.protocol) + "//" + dart.str(this.host); + } + [$toString]() { + return String(this); + } + }; + dart.addTypeTests(html$.Location); + dart.addTypeCaches(html$.Location); + html$.Location[dart.implements] = () => [html$.LocationBase]; + dart.setMethodSignature(html$.Location, () => ({ + __proto__: dart.getMethods(html$.Location.__proto__), + [S$1.$assign]: dart.fnType(dart.void, [], [dart.nullable(core.String)]), + [S$1.$reload]: dart.fnType(dart.void, []), + [S$1.$replace]: dart.fnType(dart.void, [dart.nullable(core.String)]) + })); + dart.setGetterSignature(html$.Location, () => ({ + __proto__: dart.getGetters(html$.Location.__proto__), + [S$1.$ancestorOrigins]: dart.nullable(core.List$(core.String)), + [S$.$hash]: core.String, + [S$.$host]: core.String, + [S$.$hostname]: dart.nullable(core.String), + [S$.$href]: core.String, + [S$.$pathname]: dart.nullable(core.String), + [S$.$port]: core.String, + [S$.$protocol]: core.String, + [S$.$search]: dart.nullable(core.String), + [S$1.$trustedHref]: dart.nullable(html$.TrustedUrl), + [S$.$origin]: core.String + })); + dart.setSetterSignature(html$.Location, () => ({ + __proto__: dart.getSetters(html$.Location.__proto__), + [S$.$hash]: core.String, + [S$.$host]: core.String, + [S$.$hostname]: dart.nullable(core.String), + [S$.$href]: core.String, + [S$.$pathname]: dart.nullable(core.String), + [S$.$port]: core.String, + [S$.$protocol]: core.String, + [S$.$search]: dart.nullable(core.String), + [S$1.$trustedHref]: dart.nullable(html$.TrustedUrl) + })); + dart.setLibraryUri(html$.Location, I[148]); + dart.registerExtension("Location", html$.Location); + html$.Magnetometer = class Magnetometer$ extends html$.Sensor { + static new(sensorOptions = null) { + if (sensorOptions != null) { + let sensorOptions_1 = html_common.convertDartToNative_Dictionary(sensorOptions); + return html$.Magnetometer._create_1(sensorOptions_1); + } + return html$.Magnetometer._create_2(); + } + static _create_1(sensorOptions) { + return new Magnetometer(sensorOptions); + } + static _create_2() { + return new Magnetometer(); + } + get [S$.$x]() { + return this.x; + } + get [S$.$y]() { + return this.y; + } + get [S$.$z]() { + return this.z; + } + }; + dart.addTypeTests(html$.Magnetometer); + dart.addTypeCaches(html$.Magnetometer); + dart.setGetterSignature(html$.Magnetometer, () => ({ + __proto__: dart.getGetters(html$.Magnetometer.__proto__), + [S$.$x]: dart.nullable(core.num), + [S$.$y]: dart.nullable(core.num), + [S$.$z]: dart.nullable(core.num) + })); + dart.setLibraryUri(html$.Magnetometer, I[148]); + dart.registerExtension("Magnetometer", html$.Magnetometer); + html$.MapElement = class MapElement extends html$.HtmlElement { + static new() { + return html$.document.createElement("map"); + } + get [S$1.$areas]() { + return this.areas; + } + get [$name]() { + return this.name; + } + set [$name](value) { + this.name = value; + } + }; + (html$.MapElement.created = function() { + html$.MapElement.__proto__.created.call(this); + ; + }).prototype = html$.MapElement.prototype; + dart.addTypeTests(html$.MapElement); + dart.addTypeCaches(html$.MapElement); + dart.setGetterSignature(html$.MapElement, () => ({ + __proto__: dart.getGetters(html$.MapElement.__proto__), + [S$1.$areas]: core.List$(html$.Node), + [$name]: core.String + })); + dart.setSetterSignature(html$.MapElement, () => ({ + __proto__: dart.getSetters(html$.MapElement.__proto__), + [$name]: core.String + })); + dart.setLibraryUri(html$.MapElement, I[148]); + dart.registerExtension("HTMLMapElement", html$.MapElement); + html$.MediaCapabilities = class MediaCapabilities extends _interceptors.Interceptor { + [S$1.$decodingInfo](configuration) { + if (configuration == null) dart.nullFailed(I[147], 20477, 50, "configuration"); + let configuration_dict = html_common.convertDartToNative_Dictionary(configuration); + return js_util.promiseToFuture(html$.MediaCapabilitiesInfo, this.decodingInfo(configuration_dict)); + } + [S$1.$encodingInfo](configuration) { + if (configuration == null) dart.nullFailed(I[147], 20486, 50, "configuration"); + let configuration_dict = html_common.convertDartToNative_Dictionary(configuration); + return js_util.promiseToFuture(html$.MediaCapabilitiesInfo, this.encodingInfo(configuration_dict)); + } + }; + dart.addTypeTests(html$.MediaCapabilities); + dart.addTypeCaches(html$.MediaCapabilities); + dart.setMethodSignature(html$.MediaCapabilities, () => ({ + __proto__: dart.getMethods(html$.MediaCapabilities.__proto__), + [S$1.$decodingInfo]: dart.fnType(async.Future$(html$.MediaCapabilitiesInfo), [core.Map]), + [S$1.$encodingInfo]: dart.fnType(async.Future$(html$.MediaCapabilitiesInfo), [core.Map]) + })); + dart.setLibraryUri(html$.MediaCapabilities, I[148]); + dart.registerExtension("MediaCapabilities", html$.MediaCapabilities); + html$.MediaCapabilitiesInfo = class MediaCapabilitiesInfo extends _interceptors.Interceptor { + get [S$1.$powerEfficient]() { + return this.powerEfficient; + } + get [S$1.$smooth]() { + return this.smooth; + } + get [S$1.$supported]() { + return this.supported; + } + }; + dart.addTypeTests(html$.MediaCapabilitiesInfo); + dart.addTypeCaches(html$.MediaCapabilitiesInfo); + dart.setGetterSignature(html$.MediaCapabilitiesInfo, () => ({ + __proto__: dart.getGetters(html$.MediaCapabilitiesInfo.__proto__), + [S$1.$powerEfficient]: dart.nullable(core.bool), + [S$1.$smooth]: dart.nullable(core.bool), + [S$1.$supported]: dart.nullable(core.bool) + })); + dart.setLibraryUri(html$.MediaCapabilitiesInfo, I[148]); + dart.registerExtension("MediaCapabilitiesInfo", html$.MediaCapabilitiesInfo); + html$.MediaDeviceInfo = class MediaDeviceInfo extends _interceptors.Interceptor { + get [S$1.$deviceId]() { + return this.deviceId; + } + get [S$1.$groupId]() { + return this.groupId; + } + get [S$.$kind]() { + return this.kind; + } + get [S$.$label]() { + return this.label; + } + }; + dart.addTypeTests(html$.MediaDeviceInfo); + dart.addTypeCaches(html$.MediaDeviceInfo); + dart.setGetterSignature(html$.MediaDeviceInfo, () => ({ + __proto__: dart.getGetters(html$.MediaDeviceInfo.__proto__), + [S$1.$deviceId]: dart.nullable(core.String), + [S$1.$groupId]: dart.nullable(core.String), + [S$.$kind]: dart.nullable(core.String), + [S$.$label]: dart.nullable(core.String) + })); + dart.setLibraryUri(html$.MediaDeviceInfo, I[148]); + dart.registerExtension("MediaDeviceInfo", html$.MediaDeviceInfo); + html$.MediaDevices = class MediaDevices extends html$.EventTarget { + [S$1.$enumerateDevices]() { + return js_util.promiseToFuture(core.List, this.enumerateDevices()); + } + [S$1.$getSupportedConstraints]() { + return dart.nullCheck(html_common.convertNativeToDart_Dictionary(this[S$1._getSupportedConstraints_1]())); + } + [S$1._getSupportedConstraints_1](...args) { + return this.getSupportedConstraints.apply(this, args); + } + [S$1.$getUserMedia](constraints = null) { + let constraints_dict = null; + if (constraints != null) { + constraints_dict = html_common.convertDartToNative_Dictionary(constraints); + } + return js_util.promiseToFuture(html$.MediaStream, this.getUserMedia(constraints_dict)); + } + }; + dart.addTypeTests(html$.MediaDevices); + dart.addTypeCaches(html$.MediaDevices); + dart.setMethodSignature(html$.MediaDevices, () => ({ + __proto__: dart.getMethods(html$.MediaDevices.__proto__), + [S$1.$enumerateDevices]: dart.fnType(async.Future$(core.List), []), + [S$1.$getSupportedConstraints]: dart.fnType(core.Map, []), + [S$1._getSupportedConstraints_1]: dart.fnType(dart.dynamic, []), + [S$1.$getUserMedia]: dart.fnType(async.Future$(html$.MediaStream), [], [dart.nullable(core.Map)]) + })); + dart.setLibraryUri(html$.MediaDevices, I[148]); + dart.registerExtension("MediaDevices", html$.MediaDevices); + html$.MediaEncryptedEvent = class MediaEncryptedEvent$ extends html$.Event { + static new(type, eventInitDict = null) { + if (type == null) dart.nullFailed(I[147], 20729, 38, "type"); + if (eventInitDict != null) { + let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); + return html$.MediaEncryptedEvent._create_1(type, eventInitDict_1); + } + return html$.MediaEncryptedEvent._create_2(type); + } + static _create_1(type, eventInitDict) { + return new MediaEncryptedEvent(type, eventInitDict); + } + static _create_2(type) { + return new MediaEncryptedEvent(type); + } + get [S$1.$initData]() { + return this.initData; + } + get [S$1.$initDataType]() { + return this.initDataType; + } + }; + dart.addTypeTests(html$.MediaEncryptedEvent); + dart.addTypeCaches(html$.MediaEncryptedEvent); + dart.setGetterSignature(html$.MediaEncryptedEvent, () => ({ + __proto__: dart.getGetters(html$.MediaEncryptedEvent.__proto__), + [S$1.$initData]: dart.nullable(typed_data.ByteBuffer), + [S$1.$initDataType]: dart.nullable(core.String) + })); + dart.setLibraryUri(html$.MediaEncryptedEvent, I[148]); + dart.registerExtension("MediaEncryptedEvent", html$.MediaEncryptedEvent); + html$.MediaError = class MediaError extends _interceptors.Interceptor { + get [S$.$code]() { + return this.code; + } + get [$message]() { + return this.message; + } + }; + dart.addTypeTests(html$.MediaError); + dart.addTypeCaches(html$.MediaError); + dart.setGetterSignature(html$.MediaError, () => ({ + __proto__: dart.getGetters(html$.MediaError.__proto__), + [S$.$code]: core.int, + [$message]: dart.nullable(core.String) + })); + dart.setLibraryUri(html$.MediaError, I[148]); + dart.defineLazy(html$.MediaError, { + /*html$.MediaError.MEDIA_ERR_ABORTED*/get MEDIA_ERR_ABORTED() { + return 1; + }, + /*html$.MediaError.MEDIA_ERR_DECODE*/get MEDIA_ERR_DECODE() { + return 3; + }, + /*html$.MediaError.MEDIA_ERR_NETWORK*/get MEDIA_ERR_NETWORK() { + return 2; + }, + /*html$.MediaError.MEDIA_ERR_SRC_NOT_SUPPORTED*/get MEDIA_ERR_SRC_NOT_SUPPORTED() { + return 4; + } + }, false); + dart.registerExtension("MediaError", html$.MediaError); + html$.MediaKeyMessageEvent = class MediaKeyMessageEvent$ extends html$.Event { + static new(type, eventInitDict) { + if (type == null) dart.nullFailed(I[147], 20783, 39, "type"); + if (eventInitDict == null) dart.nullFailed(I[147], 20783, 49, "eventInitDict"); + let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); + return html$.MediaKeyMessageEvent._create_1(type, eventInitDict_1); + } + static _create_1(type, eventInitDict) { + return new MediaKeyMessageEvent(type, eventInitDict); + } + get [$message]() { + return this.message; + } + get [S$1.$messageType]() { + return this.messageType; + } + }; + dart.addTypeTests(html$.MediaKeyMessageEvent); + dart.addTypeCaches(html$.MediaKeyMessageEvent); + dart.setGetterSignature(html$.MediaKeyMessageEvent, () => ({ + __proto__: dart.getGetters(html$.MediaKeyMessageEvent.__proto__), + [$message]: dart.nullable(typed_data.ByteBuffer), + [S$1.$messageType]: dart.nullable(core.String) + })); + dart.setLibraryUri(html$.MediaKeyMessageEvent, I[148]); + dart.registerExtension("MediaKeyMessageEvent", html$.MediaKeyMessageEvent); + html$.MediaKeySession = class MediaKeySession extends html$.EventTarget { + get [S$1.$closed]() { + return js_util.promiseToFuture(dart.void, this.closed); + } + get [S$1.$expiration]() { + return this.expiration; + } + get [S$1.$keyStatuses]() { + return this.keyStatuses; + } + get [S$1.$sessionId]() { + return this.sessionId; + } + [S.$close]() { + return js_util.promiseToFuture(dart.dynamic, this.close()); + } + [S$1.$generateRequest](initDataType, initData) { + if (initDataType == null) dart.nullFailed(I[147], 20821, 33, "initDataType"); + return js_util.promiseToFuture(dart.dynamic, this.generateRequest(initDataType, initData)); + } + [S$.$load](sessionId) { + if (sessionId == null) dart.nullFailed(I[147], 20825, 22, "sessionId"); + return js_util.promiseToFuture(dart.dynamic, this.load(sessionId)); + } + [$remove]() { + return js_util.promiseToFuture(dart.dynamic, this.remove()); + } + [S$1._update$1](...args) { + return this.update.apply(this, args); + } + get [S$.$onMessage]() { + return html$.MediaKeySession.messageEvent.forTarget(this); + } + }; + dart.addTypeTests(html$.MediaKeySession); + dart.addTypeCaches(html$.MediaKeySession); + dart.setMethodSignature(html$.MediaKeySession, () => ({ + __proto__: dart.getMethods(html$.MediaKeySession.__proto__), + [S.$close]: dart.fnType(async.Future, []), + [S$1.$generateRequest]: dart.fnType(async.Future, [core.String, dart.dynamic]), + [S$.$load]: dart.fnType(async.Future, [core.String]), + [$remove]: dart.fnType(async.Future, []), + [S$1._update$1]: dart.fnType(async.Future, [dart.dynamic]) + })); + dart.setGetterSignature(html$.MediaKeySession, () => ({ + __proto__: dart.getGetters(html$.MediaKeySession.__proto__), + [S$1.$closed]: async.Future$(dart.void), + [S$1.$expiration]: dart.nullable(core.num), + [S$1.$keyStatuses]: dart.nullable(html$.MediaKeyStatusMap), + [S$1.$sessionId]: dart.nullable(core.String), + [S$.$onMessage]: async.Stream$(html$.MessageEvent) + })); + dart.setLibraryUri(html$.MediaKeySession, I[148]); + dart.defineLazy(html$.MediaKeySession, { + /*html$.MediaKeySession.messageEvent*/get messageEvent() { + return C[312] || CT.C312; + } + }, false); + dart.registerExtension("MediaKeySession", html$.MediaKeySession); + html$.MediaKeyStatusMap = class MediaKeyStatusMap extends _interceptors.Interceptor { + get [S$.$size]() { + return this.size; + } + [S.$get](...args) { + return this.get.apply(this, args); + } + [S$.$has](...args) { + return this.has.apply(this, args); + } + }; + dart.addTypeTests(html$.MediaKeyStatusMap); + dart.addTypeCaches(html$.MediaKeyStatusMap); + dart.setMethodSignature(html$.MediaKeyStatusMap, () => ({ + __proto__: dart.getMethods(html$.MediaKeyStatusMap.__proto__), + [S.$get]: dart.fnType(dart.nullable(core.Object), [dart.dynamic]), + [S$.$has]: dart.fnType(core.bool, [dart.dynamic]) + })); + dart.setGetterSignature(html$.MediaKeyStatusMap, () => ({ + __proto__: dart.getGetters(html$.MediaKeyStatusMap.__proto__), + [S$.$size]: dart.nullable(core.int) + })); + dart.setLibraryUri(html$.MediaKeyStatusMap, I[148]); + dart.registerExtension("MediaKeyStatusMap", html$.MediaKeyStatusMap); + html$.MediaKeySystemAccess = class MediaKeySystemAccess extends _interceptors.Interceptor { + get [S$1.$keySystem]() { + return this.keySystem; + } + [S$1.$createMediaKeys]() { + return js_util.promiseToFuture(dart.dynamic, this.createMediaKeys()); + } + [S$1.$getConfiguration]() { + return dart.nullCheck(html_common.convertNativeToDart_Dictionary(this[S$1._getConfiguration_1]())); + } + [S$1._getConfiguration_1](...args) { + return this.getConfiguration.apply(this, args); + } + }; + dart.addTypeTests(html$.MediaKeySystemAccess); + dart.addTypeCaches(html$.MediaKeySystemAccess); + dart.setMethodSignature(html$.MediaKeySystemAccess, () => ({ + __proto__: dart.getMethods(html$.MediaKeySystemAccess.__proto__), + [S$1.$createMediaKeys]: dart.fnType(async.Future, []), + [S$1.$getConfiguration]: dart.fnType(core.Map, []), + [S$1._getConfiguration_1]: dart.fnType(dart.dynamic, []) + })); + dart.setGetterSignature(html$.MediaKeySystemAccess, () => ({ + __proto__: dart.getGetters(html$.MediaKeySystemAccess.__proto__), + [S$1.$keySystem]: dart.nullable(core.String) + })); + dart.setLibraryUri(html$.MediaKeySystemAccess, I[148]); + dart.registerExtension("MediaKeySystemAccess", html$.MediaKeySystemAccess); + html$.MediaKeys = class MediaKeys extends _interceptors.Interceptor { + [S$1._createSession](...args) { + return this.createSession.apply(this, args); + } + [S$1.$getStatusForPolicy](policy) { + if (policy == null) dart.nullFailed(I[147], 20889, 45, "policy"); + return js_util.promiseToFuture(dart.dynamic, this.getStatusForPolicy(policy)); + } + [S$1.$setServerCertificate](serverCertificate) { + return js_util.promiseToFuture(dart.dynamic, this.setServerCertificate(serverCertificate)); + } + }; + dart.addTypeTests(html$.MediaKeys); + dart.addTypeCaches(html$.MediaKeys); + dart.setMethodSignature(html$.MediaKeys, () => ({ + __proto__: dart.getMethods(html$.MediaKeys.__proto__), + [S$1._createSession]: dart.fnType(html$.MediaKeySession, [], [dart.nullable(core.String)]), + [S$1.$getStatusForPolicy]: dart.fnType(async.Future, [html$.MediaKeysPolicy]), + [S$1.$setServerCertificate]: dart.fnType(async.Future, [dart.dynamic]) + })); + dart.setLibraryUri(html$.MediaKeys, I[148]); + dart.registerExtension("MediaKeys", html$.MediaKeys); + html$.MediaKeysPolicy = class MediaKeysPolicy$ extends _interceptors.Interceptor { + static new(init) { + if (init == null) dart.nullFailed(I[147], 20907, 31, "init"); + let init_1 = html_common.convertDartToNative_Dictionary(init); + return html$.MediaKeysPolicy._create_1(init_1); + } + static _create_1(init) { + return new MediaKeysPolicy(init); + } + get [S$1.$minHdcpVersion]() { + return this.minHdcpVersion; + } + }; + dart.addTypeTests(html$.MediaKeysPolicy); + dart.addTypeCaches(html$.MediaKeysPolicy); + dart.setGetterSignature(html$.MediaKeysPolicy, () => ({ + __proto__: dart.getGetters(html$.MediaKeysPolicy.__proto__), + [S$1.$minHdcpVersion]: dart.nullable(core.String) + })); + dart.setLibraryUri(html$.MediaKeysPolicy, I[148]); + dart.registerExtension("MediaKeysPolicy", html$.MediaKeysPolicy); + html$.MediaList = class MediaList extends _interceptors.Interceptor { + get [$length]() { + return this.length; + } + get [S$1.$mediaText]() { + return this.mediaText; + } + set [S$1.$mediaText](value) { + this.mediaText = value; + } + [S$1.$appendMedium](...args) { + return this.appendMedium.apply(this, args); + } + [S$1.$deleteMedium](...args) { + return this.deleteMedium.apply(this, args); + } + [S$.$item](...args) { + return this.item.apply(this, args); + } + }; + dart.addTypeTests(html$.MediaList); + dart.addTypeCaches(html$.MediaList); + dart.setMethodSignature(html$.MediaList, () => ({ + __proto__: dart.getMethods(html$.MediaList.__proto__), + [S$1.$appendMedium]: dart.fnType(dart.void, [core.String]), + [S$1.$deleteMedium]: dart.fnType(dart.void, [core.String]), + [S$.$item]: dart.fnType(dart.nullable(core.String), [core.int]) + })); + dart.setGetterSignature(html$.MediaList, () => ({ + __proto__: dart.getGetters(html$.MediaList.__proto__), + [$length]: dart.nullable(core.int), + [S$1.$mediaText]: dart.nullable(core.String) + })); + dart.setSetterSignature(html$.MediaList, () => ({ + __proto__: dart.getSetters(html$.MediaList.__proto__), + [S$1.$mediaText]: dart.nullable(core.String) + })); + dart.setLibraryUri(html$.MediaList, I[148]); + dart.registerExtension("MediaList", html$.MediaList); + html$.MediaMetadata = class MediaMetadata$ extends _interceptors.Interceptor { + static new(metadata = null) { + if (metadata != null) { + let metadata_1 = html_common.convertDartToNative_Dictionary(metadata); + return html$.MediaMetadata._create_1(metadata_1); + } + return html$.MediaMetadata._create_2(); + } + static _create_1(metadata) { + return new MediaMetadata(metadata); + } + static _create_2() { + return new MediaMetadata(); + } + get [S$1.$album]() { + return this.album; + } + set [S$1.$album](value) { + this.album = value; + } + get [S$1.$artist]() { + return this.artist; + } + set [S$1.$artist](value) { + this.artist = value; + } + get [S$1.$artwork]() { + return this.artwork; + } + set [S$1.$artwork](value) { + this.artwork = value; + } + get [S.$title]() { + return this.title; + } + set [S.$title](value) { + this.title = value; + } + }; + dart.addTypeTests(html$.MediaMetadata); + dart.addTypeCaches(html$.MediaMetadata); + dart.setGetterSignature(html$.MediaMetadata, () => ({ + __proto__: dart.getGetters(html$.MediaMetadata.__proto__), + [S$1.$album]: dart.nullable(core.String), + [S$1.$artist]: dart.nullable(core.String), + [S$1.$artwork]: dart.nullable(core.List), + [S.$title]: dart.nullable(core.String) + })); + dart.setSetterSignature(html$.MediaMetadata, () => ({ + __proto__: dart.getSetters(html$.MediaMetadata.__proto__), + [S$1.$album]: dart.nullable(core.String), + [S$1.$artist]: dart.nullable(core.String), + [S$1.$artwork]: dart.nullable(core.List), + [S.$title]: dart.nullable(core.String) + })); + dart.setLibraryUri(html$.MediaMetadata, I[148]); + dart.registerExtension("MediaMetadata", html$.MediaMetadata); + html$.MediaQueryList = class MediaQueryList extends html$.EventTarget { + get [S.$matches]() { + return this.matches; + } + get [S$.$media]() { + return this.media; + } + [S$1.$addListener](...args) { + return this.addListener.apply(this, args); + } + [S$1.$removeListener](...args) { + return this.removeListener.apply(this, args); + } + get [S.$onChange]() { + return html$.MediaQueryList.changeEvent.forTarget(this); + } + }; + dart.addTypeTests(html$.MediaQueryList); + dart.addTypeCaches(html$.MediaQueryList); + dart.setMethodSignature(html$.MediaQueryList, () => ({ + __proto__: dart.getMethods(html$.MediaQueryList.__proto__), + [S$1.$addListener]: dart.fnType(dart.void, [dart.nullable(dart.fnType(dart.dynamic, [html$.Event]))]), + [S$1.$removeListener]: dart.fnType(dart.void, [dart.nullable(dart.fnType(dart.dynamic, [html$.Event]))]) + })); + dart.setGetterSignature(html$.MediaQueryList, () => ({ + __proto__: dart.getGetters(html$.MediaQueryList.__proto__), + [S.$matches]: core.bool, + [S$.$media]: core.String, + [S.$onChange]: async.Stream$(html$.Event) + })); + dart.setLibraryUri(html$.MediaQueryList, I[148]); + dart.defineLazy(html$.MediaQueryList, { + /*html$.MediaQueryList.changeEvent*/get changeEvent() { + return C[236] || CT.C236; + } + }, false); + dart.registerExtension("MediaQueryList", html$.MediaQueryList); + html$.MediaQueryListEvent = class MediaQueryListEvent$ extends html$.Event { + static new(type, eventInitDict = null) { + if (type == null) dart.nullFailed(I[147], 21015, 38, "type"); + if (eventInitDict != null) { + let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); + return html$.MediaQueryListEvent._create_1(type, eventInitDict_1); + } + return html$.MediaQueryListEvent._create_2(type); + } + static _create_1(type, eventInitDict) { + return new MediaQueryListEvent(type, eventInitDict); + } + static _create_2(type) { + return new MediaQueryListEvent(type); + } + get [S.$matches]() { + return this.matches; + } + get [S$.$media]() { + return this.media; + } + }; + dart.addTypeTests(html$.MediaQueryListEvent); + dart.addTypeCaches(html$.MediaQueryListEvent); + dart.setGetterSignature(html$.MediaQueryListEvent, () => ({ + __proto__: dart.getGetters(html$.MediaQueryListEvent.__proto__), + [S.$matches]: dart.nullable(core.bool), + [S$.$media]: dart.nullable(core.String) + })); + dart.setLibraryUri(html$.MediaQueryListEvent, I[148]); + dart.registerExtension("MediaQueryListEvent", html$.MediaQueryListEvent); + html$.MediaRecorder = class MediaRecorder$ extends html$.EventTarget { + static new(stream, options = null) { + if (stream == null) dart.nullFailed(I[147], 21051, 37, "stream"); + if (options != null) { + let options_1 = html_common.convertDartToNative_Dictionary(options); + return html$.MediaRecorder._create_1(stream, options_1); + } + return html$.MediaRecorder._create_2(stream); + } + static _create_1(stream, options) { + return new MediaRecorder(stream, options); + } + static _create_2(stream) { + return new MediaRecorder(stream); + } + get [S$1.$audioBitsPerSecond]() { + return this.audioBitsPerSecond; + } + get [S$1.$mimeType]() { + return this.mimeType; + } + get [S$.$state]() { + return this.state; + } + get [S$1.$stream]() { + return this.stream; + } + get [S$1.$videoBitsPerSecond]() { + return this.videoBitsPerSecond; + } + [S$.$pause](...args) { + return this.pause.apply(this, args); + } + [S$1.$requestData](...args) { + return this.requestData.apply(this, args); + } + [S$1.$resume](...args) { + return this.resume.apply(this, args); + } + [S$.$start](...args) { + return this.start.apply(this, args); + } + [S$.$stop](...args) { + return this.stop.apply(this, args); + } + get [S.$onError]() { + return html$.MediaRecorder.errorEvent.forTarget(this); + } + get [S.$onPause]() { + return html$.MediaRecorder.pauseEvent.forTarget(this); + } + }; + dart.addTypeTests(html$.MediaRecorder); + dart.addTypeCaches(html$.MediaRecorder); + dart.setMethodSignature(html$.MediaRecorder, () => ({ + __proto__: dart.getMethods(html$.MediaRecorder.__proto__), + [S$.$pause]: dart.fnType(dart.void, []), + [S$1.$requestData]: dart.fnType(dart.void, []), + [S$1.$resume]: dart.fnType(dart.void, []), + [S$.$start]: dart.fnType(dart.void, [], [dart.nullable(core.int)]), + [S$.$stop]: dart.fnType(dart.void, []) + })); + dart.setGetterSignature(html$.MediaRecorder, () => ({ + __proto__: dart.getGetters(html$.MediaRecorder.__proto__), + [S$1.$audioBitsPerSecond]: dart.nullable(core.int), + [S$1.$mimeType]: dart.nullable(core.String), + [S$.$state]: dart.nullable(core.String), + [S$1.$stream]: dart.nullable(html$.MediaStream), + [S$1.$videoBitsPerSecond]: dart.nullable(core.int), + [S.$onError]: async.Stream$(html$.Event), + [S.$onPause]: async.Stream$(html$.Event) + })); + dart.setLibraryUri(html$.MediaRecorder, I[148]); + dart.defineLazy(html$.MediaRecorder, { + /*html$.MediaRecorder.errorEvent*/get errorEvent() { + return C[216] || CT.C216; + }, + /*html$.MediaRecorder.pauseEvent*/get pauseEvent() { + return C[269] || CT.C269; + } + }, false); + dart.registerExtension("MediaRecorder", html$.MediaRecorder); + html$.MediaSession = class MediaSession extends _interceptors.Interceptor { + get [S$1.$metadata]() { + return this.metadata; + } + set [S$1.$metadata](value) { + this.metadata = value; + } + get [S$1.$playbackState]() { + return this.playbackState; + } + set [S$1.$playbackState](value) { + this.playbackState = value; + } + [S$1.$setActionHandler](...args) { + return this.setActionHandler.apply(this, args); + } + }; + dart.addTypeTests(html$.MediaSession); + dart.addTypeCaches(html$.MediaSession); + dart.setMethodSignature(html$.MediaSession, () => ({ + __proto__: dart.getMethods(html$.MediaSession.__proto__), + [S$1.$setActionHandler]: dart.fnType(dart.void, [core.String, dart.nullable(dart.fnType(dart.void, []))]) + })); + dart.setGetterSignature(html$.MediaSession, () => ({ + __proto__: dart.getGetters(html$.MediaSession.__proto__), + [S$1.$metadata]: dart.nullable(html$.MediaMetadata), + [S$1.$playbackState]: dart.nullable(core.String) + })); + dart.setSetterSignature(html$.MediaSession, () => ({ + __proto__: dart.getSetters(html$.MediaSession.__proto__), + [S$1.$metadata]: dart.nullable(html$.MediaMetadata), + [S$1.$playbackState]: dart.nullable(core.String) + })); + dart.setLibraryUri(html$.MediaSession, I[148]); + dart.registerExtension("MediaSession", html$.MediaSession); + html$.MediaSettingsRange = class MediaSettingsRange extends _interceptors.Interceptor { + get [S$1.$max]() { + return this.max; + } + get [S$1.$min]() { + return this.min; + } + get [S$1.$step]() { + return this.step; + } + }; + dart.addTypeTests(html$.MediaSettingsRange); + dart.addTypeCaches(html$.MediaSettingsRange); + dart.setGetterSignature(html$.MediaSettingsRange, () => ({ + __proto__: dart.getGetters(html$.MediaSettingsRange.__proto__), + [S$1.$max]: dart.nullable(core.num), + [S$1.$min]: dart.nullable(core.num), + [S$1.$step]: dart.nullable(core.num) + })); + dart.setLibraryUri(html$.MediaSettingsRange, I[148]); + dart.registerExtension("MediaSettingsRange", html$.MediaSettingsRange); + html$.MediaSource = class MediaSource$ extends html$.EventTarget { + static new() { + return html$.MediaSource._create_1(); + } + static _create_1() { + return new MediaSource(); + } + static get supported() { + return !!window.MediaSource; + } + get [S$1.$activeSourceBuffers]() { + return this.activeSourceBuffers; + } + get [S$.$duration]() { + return this.duration; + } + set [S$.$duration](value) { + this.duration = value; + } + get [S.$readyState]() { + return this.readyState; + } + get [S$1.$sourceBuffers]() { + return this.sourceBuffers; + } + [S$1.$addSourceBuffer](...args) { + return this.addSourceBuffer.apply(this, args); + } + [S$1.$clearLiveSeekableRange](...args) { + return this.clearLiveSeekableRange.apply(this, args); + } + [S$1.$endOfStream](...args) { + return this.endOfStream.apply(this, args); + } + [S$1.$removeSourceBuffer](...args) { + return this.removeSourceBuffer.apply(this, args); + } + [S$1.$setLiveSeekableRange](...args) { + return this.setLiveSeekableRange.apply(this, args); + } + }; + dart.addTypeTests(html$.MediaSource); + dart.addTypeCaches(html$.MediaSource); + dart.setMethodSignature(html$.MediaSource, () => ({ + __proto__: dart.getMethods(html$.MediaSource.__proto__), + [S$1.$addSourceBuffer]: dart.fnType(html$.SourceBuffer, [core.String]), + [S$1.$clearLiveSeekableRange]: dart.fnType(dart.void, []), + [S$1.$endOfStream]: dart.fnType(dart.void, [], [dart.nullable(core.String)]), + [S$1.$removeSourceBuffer]: dart.fnType(dart.void, [html$.SourceBuffer]), + [S$1.$setLiveSeekableRange]: dart.fnType(dart.void, [core.num, core.num]) + })); + dart.setGetterSignature(html$.MediaSource, () => ({ + __proto__: dart.getGetters(html$.MediaSource.__proto__), + [S$1.$activeSourceBuffers]: dart.nullable(html$.SourceBufferList), + [S$.$duration]: dart.nullable(core.num), + [S.$readyState]: dart.nullable(core.String), + [S$1.$sourceBuffers]: dart.nullable(html$.SourceBufferList) + })); + dart.setSetterSignature(html$.MediaSource, () => ({ + __proto__: dart.getSetters(html$.MediaSource.__proto__), + [S$.$duration]: dart.nullable(core.num) + })); + dart.setLibraryUri(html$.MediaSource, I[148]); + dart.registerExtension("MediaSource", html$.MediaSource); + html$.MediaStream = class MediaStream$ extends html$.EventTarget { + static new(stream_OR_tracks = null) { + if (stream_OR_tracks == null) { + return html$.MediaStream._create_1(); + } + if (html$.MediaStream.is(stream_OR_tracks)) { + return html$.MediaStream._create_2(stream_OR_tracks); + } + if (T$0.ListOfMediaStreamTrack().is(stream_OR_tracks)) { + return html$.MediaStream._create_3(stream_OR_tracks); + } + dart.throw(new core.ArgumentError.new("Incorrect number or type of arguments")); + } + static _create_1() { + return new MediaStream(); + } + static _create_2(stream_OR_tracks) { + return new MediaStream(stream_OR_tracks); + } + static _create_3(stream_OR_tracks) { + return new MediaStream(stream_OR_tracks); + } + get [S$1.$active]() { + return this.active; + } + get [S.$id]() { + return this.id; + } + [S$1.$addTrack](...args) { + return this.addTrack.apply(this, args); + } + [S$.$clone](...args) { + return this.clone.apply(this, args); + } + [S$1.$getAudioTracks](...args) { + return this.getAudioTracks.apply(this, args); + } + [S$1.$getTrackById](...args) { + return this.getTrackById.apply(this, args); + } + [S$1.$getTracks](...args) { + return this.getTracks.apply(this, args); + } + [S$1.$getVideoTracks](...args) { + return this.getVideoTracks.apply(this, args); + } + [S$1.$removeTrack](...args) { + return this.removeTrack.apply(this, args); + } + get [S$1.$onAddTrack]() { + return html$.MediaStream.addTrackEvent.forTarget(this); + } + get [S$1.$onRemoveTrack]() { + return html$.MediaStream.removeTrackEvent.forTarget(this); + } + static get supported() { + return !!(html$.window.navigator.getUserMedia || html$.window.navigator.webkitGetUserMedia || html$.window.navigator.mozGetUserMedia || html$.window.navigator.msGetUserMedia); + } + }; + dart.addTypeTests(html$.MediaStream); + dart.addTypeCaches(html$.MediaStream); + dart.setMethodSignature(html$.MediaStream, () => ({ + __proto__: dart.getMethods(html$.MediaStream.__proto__), + [S$1.$addTrack]: dart.fnType(dart.void, [html$.MediaStreamTrack]), + [S$.$clone]: dart.fnType(html$.MediaStream, []), + [S$1.$getAudioTracks]: dart.fnType(core.List$(html$.MediaStreamTrack), []), + [S$1.$getTrackById]: dart.fnType(dart.nullable(html$.MediaStreamTrack), [core.String]), + [S$1.$getTracks]: dart.fnType(core.List$(html$.MediaStreamTrack), []), + [S$1.$getVideoTracks]: dart.fnType(core.List$(html$.MediaStreamTrack), []), + [S$1.$removeTrack]: dart.fnType(dart.void, [html$.MediaStreamTrack]) + })); + dart.setGetterSignature(html$.MediaStream, () => ({ + __proto__: dart.getGetters(html$.MediaStream.__proto__), + [S$1.$active]: dart.nullable(core.bool), + [S.$id]: dart.nullable(core.String), + [S$1.$onAddTrack]: async.Stream$(html$.Event), + [S$1.$onRemoveTrack]: async.Stream$(html$.Event) + })); + dart.setLibraryUri(html$.MediaStream, I[148]); + dart.defineLazy(html$.MediaStream, { + /*html$.MediaStream.addTrackEvent*/get addTrackEvent() { + return C[346] || CT.C346; + }, + /*html$.MediaStream.removeTrackEvent*/get removeTrackEvent() { + return C[347] || CT.C347; + } + }, false); + dart.registerExtension("MediaStream", html$.MediaStream); + html$.MediaStreamEvent = class MediaStreamEvent$ extends html$.Event { + static new(type, eventInitDict = null) { + if (type == null) dart.nullFailed(I[147], 21282, 35, "type"); + if (eventInitDict != null) { + let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); + return html$.MediaStreamEvent._create_1(type, eventInitDict_1); + } + return html$.MediaStreamEvent._create_2(type); + } + static _create_1(type, eventInitDict) { + return new MediaStreamEvent(type, eventInitDict); + } + static _create_2(type) { + return new MediaStreamEvent(type); + } + static get supported() { + return html_common.Device.isEventTypeSupported("MediaStreamEvent"); + } + get [S$1.$stream]() { + return this.stream; + } + }; + dart.addTypeTests(html$.MediaStreamEvent); + dart.addTypeCaches(html$.MediaStreamEvent); + dart.setGetterSignature(html$.MediaStreamEvent, () => ({ + __proto__: dart.getGetters(html$.MediaStreamEvent.__proto__), + [S$1.$stream]: dart.nullable(html$.MediaStream) + })); + dart.setLibraryUri(html$.MediaStreamEvent, I[148]); + dart.registerExtension("MediaStreamEvent", html$.MediaStreamEvent); + html$.MediaStreamTrackEvent = class MediaStreamTrackEvent$ extends html$.Event { + static new(type, eventInitDict) { + if (type == null) dart.nullFailed(I[147], 21411, 40, "type"); + if (eventInitDict == null) dart.nullFailed(I[147], 21411, 50, "eventInitDict"); + let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); + return html$.MediaStreamTrackEvent._create_1(type, eventInitDict_1); + } + static _create_1(type, eventInitDict) { + return new MediaStreamTrackEvent(type, eventInitDict); + } + static get supported() { + return html_common.Device.isEventTypeSupported("MediaStreamTrackEvent"); + } + get [S$1.$track]() { + return this.track; + } + }; + dart.addTypeTests(html$.MediaStreamTrackEvent); + dart.addTypeCaches(html$.MediaStreamTrackEvent); + dart.setGetterSignature(html$.MediaStreamTrackEvent, () => ({ + __proto__: dart.getGetters(html$.MediaStreamTrackEvent.__proto__), + [S$1.$track]: dart.nullable(html$.MediaStreamTrack) + })); + dart.setLibraryUri(html$.MediaStreamTrackEvent, I[148]); + dart.registerExtension("MediaStreamTrackEvent", html$.MediaStreamTrackEvent); + html$.MemoryInfo = class MemoryInfo extends _interceptors.Interceptor { + get [S$1.$jsHeapSizeLimit]() { + return this.jsHeapSizeLimit; + } + get [S$1.$totalJSHeapSize]() { + return this.totalJSHeapSize; + } + get [S$1.$usedJSHeapSize]() { + return this.usedJSHeapSize; + } + }; + dart.addTypeTests(html$.MemoryInfo); + dart.addTypeCaches(html$.MemoryInfo); + dart.setGetterSignature(html$.MemoryInfo, () => ({ + __proto__: dart.getGetters(html$.MemoryInfo.__proto__), + [S$1.$jsHeapSizeLimit]: dart.nullable(core.int), + [S$1.$totalJSHeapSize]: dart.nullable(core.int), + [S$1.$usedJSHeapSize]: dart.nullable(core.int) + })); + dart.setLibraryUri(html$.MemoryInfo, I[148]); + dart.registerExtension("MemoryInfo", html$.MemoryInfo); + html$.MenuElement = class MenuElement extends html$.HtmlElement { + static new() { + return html$.document.createElement("menu"); + } + }; + (html$.MenuElement.created = function() { + html$.MenuElement.__proto__.created.call(this); + ; + }).prototype = html$.MenuElement.prototype; + dart.addTypeTests(html$.MenuElement); + dart.addTypeCaches(html$.MenuElement); + dart.setLibraryUri(html$.MenuElement, I[148]); + dart.registerExtension("HTMLMenuElement", html$.MenuElement); + html$.MessageChannel = class MessageChannel$ extends _interceptors.Interceptor { + static new() { + return html$.MessageChannel._create_1(); + } + static _create_1() { + return new MessageChannel(); + } + get [S$1.$port1]() { + return this.port1; + } + get [S$1.$port2]() { + return this.port2; + } + }; + dart.addTypeTests(html$.MessageChannel); + dart.addTypeCaches(html$.MessageChannel); + dart.setGetterSignature(html$.MessageChannel, () => ({ + __proto__: dart.getGetters(html$.MessageChannel.__proto__), + [S$1.$port1]: html$.MessagePort, + [S$1.$port2]: html$.MessagePort + })); + dart.setLibraryUri(html$.MessageChannel, I[148]); + dart.registerExtension("MessageChannel", html$.MessageChannel); + html$.MessageEvent = class MessageEvent$ extends html$.Event { + static new(type, opts) { + if (type == null) dart.nullFailed(I[147], 21514, 31, "type"); + let canBubble = opts && 'canBubble' in opts ? opts.canBubble : false; + if (canBubble == null) dart.nullFailed(I[147], 21515, 13, "canBubble"); + let cancelable = opts && 'cancelable' in opts ? opts.cancelable : false; + if (cancelable == null) dart.nullFailed(I[147], 21516, 12, "cancelable"); + let data = opts && 'data' in opts ? opts.data : null; + let origin = opts && 'origin' in opts ? opts.origin : null; + let lastEventId = opts && 'lastEventId' in opts ? opts.lastEventId : null; + let source = opts && 'source' in opts ? opts.source : null; + let messagePorts = opts && 'messagePorts' in opts ? opts.messagePorts : C[348] || CT.C348; + if (messagePorts == null) dart.nullFailed(I[147], 21521, 25, "messagePorts"); + if (source == null) { + source = html$.window; + } + if (!dart.test(html_common.Device.isIE)) { + return new MessageEvent(type, {bubbles: canBubble, cancelable: cancelable, data: data, origin: origin, lastEventId: lastEventId, source: source, ports: messagePorts}); + } + let event = html$.MessageEvent.as(html$.document[S._createEvent]("MessageEvent")); + event[S$1._initMessageEvent](type, canBubble, cancelable, data, origin, lastEventId, source, messagePorts); + return event; + } + get [S$.$data]() { + return html_common.convertNativeToDart_SerializedScriptValue(this[S$1._get_data]); + } + get [S$1._get_data]() { + return this.data; + } + static __(type, eventInitDict = null) { + if (type == null) dart.nullFailed(I[147], 21556, 33, "type"); + if (eventInitDict != null) { + let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); + return html$.MessageEvent._create_1(type, eventInitDict_1); + } + return html$.MessageEvent._create_2(type); + } + static _create_1(type, eventInitDict) { + return new MessageEvent(type, eventInitDict); + } + static _create_2(type) { + return new MessageEvent(type); + } + get [S$1.$lastEventId]() { + return this.lastEventId; + } + get [S$.$origin]() { + return this.origin; + } + get [S$1.$ports]() { + return this.ports; + } + get [S.$source]() { + return html$._convertNativeToDart_EventTarget(this[S$1._get_source]); + } + get [S$1._get_source]() { + return this.source; + } + get [S$1.$suborigin]() { + return this.suborigin; + } + [S$1._initMessageEvent](typeArg, canBubbleArg, cancelableArg, dataArg, originArg, lastEventIdArg, sourceArg, portsArg) { + let sourceArg_1 = html$._convertDartToNative_EventTarget(sourceArg); + this[S$1._initMessageEvent_1](typeArg, canBubbleArg, cancelableArg, dataArg, originArg, lastEventIdArg, sourceArg_1, portsArg); + return; + } + [S$1._initMessageEvent_1](...args) { + return this.initMessageEvent.apply(this, args); + } + }; + dart.addTypeTests(html$.MessageEvent); + dart.addTypeCaches(html$.MessageEvent); + dart.setMethodSignature(html$.MessageEvent, () => ({ + __proto__: dart.getMethods(html$.MessageEvent.__proto__), + [S$1._initMessageEvent]: dart.fnType(dart.void, [dart.nullable(core.String), dart.nullable(core.bool), dart.nullable(core.bool), dart.nullable(core.Object), dart.nullable(core.String), dart.nullable(core.String), dart.nullable(html$.EventTarget), dart.nullable(core.List$(html$.MessagePort))]), + [S$1._initMessageEvent_1]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.nullable(core.List$(html$.MessagePort))]) + })); + dart.setGetterSignature(html$.MessageEvent, () => ({ + __proto__: dart.getGetters(html$.MessageEvent.__proto__), + [S$.$data]: dart.dynamic, + [S$1._get_data]: dart.dynamic, + [S$1.$lastEventId]: core.String, + [S$.$origin]: core.String, + [S$1.$ports]: core.List$(html$.MessagePort), + [S.$source]: dart.nullable(html$.EventTarget), + [S$1._get_source]: dart.dynamic, + [S$1.$suborigin]: dart.nullable(core.String) + })); + dart.setLibraryUri(html$.MessageEvent, I[148]); + dart.registerExtension("MessageEvent", html$.MessageEvent); + html$.MessagePort = class MessagePort extends html$.EventTarget { + [S.$addEventListener](type, listener, useCapture = null) { + if (type == null) dart.nullFailed(I[147], 21613, 32, "type"); + if (type === "message") { + this[S$1._start$4](); + } + super[S.$addEventListener](type, listener, useCapture); + } + [S.$close](...args) { + return this.close.apply(this, args); + } + [S$.$postMessage](message, transfer = null) { + if (transfer != null) { + let message_1 = html_common.convertDartToNative_SerializedScriptValue(message); + this[S$0._postMessage_1](message_1, transfer); + return; + } + let message_1 = html_common.convertDartToNative_SerializedScriptValue(message); + this[S$0._postMessage_2](message_1); + return; + } + [S$0._postMessage_1](...args) { + return this.postMessage.apply(this, args); + } + [S$0._postMessage_2](...args) { + return this.postMessage.apply(this, args); + } + [S$1._start$4](...args) { + return this.start.apply(this, args); + } + get [S$.$onMessage]() { + return html$.MessagePort.messageEvent.forTarget(this); + } + }; + dart.addTypeTests(html$.MessagePort); + dart.addTypeCaches(html$.MessagePort); + dart.setMethodSignature(html$.MessagePort, () => ({ + __proto__: dart.getMethods(html$.MessagePort.__proto__), + [S.$close]: dart.fnType(dart.void, []), + [S$.$postMessage]: dart.fnType(dart.void, [dart.dynamic], [dart.nullable(core.List$(core.Object))]), + [S$0._postMessage_1]: dart.fnType(dart.void, [dart.dynamic, core.List$(core.Object)]), + [S$0._postMessage_2]: dart.fnType(dart.void, [dart.dynamic]), + [S$1._start$4]: dart.fnType(dart.void, []) + })); + dart.setGetterSignature(html$.MessagePort, () => ({ + __proto__: dart.getGetters(html$.MessagePort.__proto__), + [S$.$onMessage]: async.Stream$(html$.MessageEvent) + })); + dart.setLibraryUri(html$.MessagePort, I[148]); + dart.defineLazy(html$.MessagePort, { + /*html$.MessagePort.messageEvent*/get messageEvent() { + return C[312] || CT.C312; + } + }, false); + dart.registerExtension("MessagePort", html$.MessagePort); + html$.MetaElement = class MetaElement extends html$.HtmlElement { + static new() { + return html$.document.createElement("meta"); + } + get [S$0.$content]() { + return this.content; + } + set [S$0.$content](value) { + this.content = value; + } + get [S$1.$httpEquiv]() { + return this.httpEquiv; + } + set [S$1.$httpEquiv](value) { + this.httpEquiv = value; + } + get [$name]() { + return this.name; + } + set [$name](value) { + this.name = value; + } + }; + (html$.MetaElement.created = function() { + html$.MetaElement.__proto__.created.call(this); + ; + }).prototype = html$.MetaElement.prototype; + dart.addTypeTests(html$.MetaElement); + dart.addTypeCaches(html$.MetaElement); + dart.setGetterSignature(html$.MetaElement, () => ({ + __proto__: dart.getGetters(html$.MetaElement.__proto__), + [S$0.$content]: core.String, + [S$1.$httpEquiv]: dart.nullable(core.String), + [$name]: core.String + })); + dart.setSetterSignature(html$.MetaElement, () => ({ + __proto__: dart.getSetters(html$.MetaElement.__proto__), + [S$0.$content]: core.String, + [S$1.$httpEquiv]: dart.nullable(core.String), + [$name]: core.String + })); + dart.setLibraryUri(html$.MetaElement, I[148]); + dart.registerExtension("HTMLMetaElement", html$.MetaElement); + html$.Metadata = class Metadata extends _interceptors.Interceptor { + get [S$1.$modificationTime]() { + return html_common.convertNativeToDart_DateTime(this[S$1._get_modificationTime]); + } + get [S$1._get_modificationTime]() { + return this.modificationTime; + } + get [S$.$size]() { + return this.size; + } + }; + dart.addTypeTests(html$.Metadata); + dart.addTypeCaches(html$.Metadata); + dart.setGetterSignature(html$.Metadata, () => ({ + __proto__: dart.getGetters(html$.Metadata.__proto__), + [S$1.$modificationTime]: core.DateTime, + [S$1._get_modificationTime]: dart.dynamic, + [S$.$size]: dart.nullable(core.int) + })); + dart.setLibraryUri(html$.Metadata, I[148]); + dart.registerExtension("Metadata", html$.Metadata); + html$.MeterElement = class MeterElement extends html$.HtmlElement { + static new() { + return html$.MeterElement.as(html$.document[S.$createElement]("meter")); + } + static get supported() { + return html$.Element.isTagSupported("meter"); + } + get [S$1.$high]() { + return this.high; + } + set [S$1.$high](value) { + this.high = value; + } + get [S$.$labels]() { + return this.labels; + } + get [S$1.$low]() { + return this.low; + } + set [S$1.$low](value) { + this.low = value; + } + get [S$1.$max]() { + return this.max; + } + set [S$1.$max](value) { + this.max = value; + } + get [S$1.$min]() { + return this.min; + } + set [S$1.$min](value) { + this.min = value; + } + get [S$1.$optimum]() { + return this.optimum; + } + set [S$1.$optimum](value) { + this.optimum = value; + } + get [S.$value]() { + return this.value; + } + set [S.$value](value) { + this.value = value; + } + }; + (html$.MeterElement.created = function() { + html$.MeterElement.__proto__.created.call(this); + ; + }).prototype = html$.MeterElement.prototype; + dart.addTypeTests(html$.MeterElement); + dart.addTypeCaches(html$.MeterElement); + dart.setGetterSignature(html$.MeterElement, () => ({ + __proto__: dart.getGetters(html$.MeterElement.__proto__), + [S$1.$high]: dart.nullable(core.num), + [S$.$labels]: dart.nullable(core.List$(html$.Node)), + [S$1.$low]: dart.nullable(core.num), + [S$1.$max]: dart.nullable(core.num), + [S$1.$min]: dart.nullable(core.num), + [S$1.$optimum]: dart.nullable(core.num), + [S.$value]: dart.nullable(core.num) + })); + dart.setSetterSignature(html$.MeterElement, () => ({ + __proto__: dart.getSetters(html$.MeterElement.__proto__), + [S$1.$high]: dart.nullable(core.num), + [S$1.$low]: dart.nullable(core.num), + [S$1.$max]: dart.nullable(core.num), + [S$1.$min]: dart.nullable(core.num), + [S$1.$optimum]: dart.nullable(core.num), + [S.$value]: dart.nullable(core.num) + })); + dart.setLibraryUri(html$.MeterElement, I[148]); + dart.registerExtension("HTMLMeterElement", html$.MeterElement); + html$.MidiAccess = class MidiAccess extends html$.EventTarget { + get [S$1.$inputs]() { + return this.inputs; + } + get [S$1.$outputs]() { + return this.outputs; + } + get [S$1.$sysexEnabled]() { + return this.sysexEnabled; + } + }; + dart.addTypeTests(html$.MidiAccess); + dart.addTypeCaches(html$.MidiAccess); + dart.setGetterSignature(html$.MidiAccess, () => ({ + __proto__: dart.getGetters(html$.MidiAccess.__proto__), + [S$1.$inputs]: dart.nullable(html$.MidiInputMap), + [S$1.$outputs]: dart.nullable(html$.MidiOutputMap), + [S$1.$sysexEnabled]: dart.nullable(core.bool) + })); + dart.setLibraryUri(html$.MidiAccess, I[148]); + dart.registerExtension("MIDIAccess", html$.MidiAccess); + html$.MidiConnectionEvent = class MidiConnectionEvent extends html$.Event { + static new(type, eventInitDict = null) { + if (type == null) dart.nullFailed(I[147], 21807, 38, "type"); + if (eventInitDict != null) { + let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); + return html$.MidiConnectionEvent._create_1(type, eventInitDict_1); + } + return html$.MidiConnectionEvent._create_2(type); + } + static _create_1(type, eventInitDict) { + return new MIDIConnectionEvent(type, eventInitDict); + } + static _create_2(type) { + return new MIDIConnectionEvent(type); + } + get [S$.$port]() { + return this.port; + } + }; + dart.addTypeTests(html$.MidiConnectionEvent); + dart.addTypeCaches(html$.MidiConnectionEvent); + dart.setGetterSignature(html$.MidiConnectionEvent, () => ({ + __proto__: dart.getGetters(html$.MidiConnectionEvent.__proto__), + [S$.$port]: dart.nullable(html$.MidiPort) + })); + dart.setLibraryUri(html$.MidiConnectionEvent, I[148]); + dart.registerExtension("MIDIConnectionEvent", html$.MidiConnectionEvent); + html$.MidiPort = class MidiPort extends html$.EventTarget { + get [S$1.$connection]() { + return this.connection; + } + get [S.$id]() { + return this.id; + } + get [S$1.$manufacturer]() { + return this.manufacturer; + } + get [$name]() { + return this.name; + } + get [S$.$state]() { + return this.state; + } + get [S.$type]() { + return this.type; + } + get [S.$version]() { + return this.version; + } + [S.$close]() { + return js_util.promiseToFuture(dart.dynamic, this.close()); + } + [S.$open]() { + return js_util.promiseToFuture(dart.dynamic, this.open()); + } + }; + dart.addTypeTests(html$.MidiPort); + dart.addTypeCaches(html$.MidiPort); + dart.setMethodSignature(html$.MidiPort, () => ({ + __proto__: dart.getMethods(html$.MidiPort.__proto__), + [S.$close]: dart.fnType(async.Future, []), + [S.$open]: dart.fnType(async.Future, []) + })); + dart.setGetterSignature(html$.MidiPort, () => ({ + __proto__: dart.getGetters(html$.MidiPort.__proto__), + [S$1.$connection]: dart.nullable(core.String), + [S.$id]: dart.nullable(core.String), + [S$1.$manufacturer]: dart.nullable(core.String), + [$name]: dart.nullable(core.String), + [S$.$state]: dart.nullable(core.String), + [S.$type]: dart.nullable(core.String), + [S.$version]: dart.nullable(core.String) + })); + dart.setLibraryUri(html$.MidiPort, I[148]); + dart.registerExtension("MIDIPort", html$.MidiPort); + html$.MidiInput = class MidiInput extends html$.MidiPort { + get [S$1.$onMidiMessage]() { + return html$.MidiInput.midiMessageEvent.forTarget(this); + } + }; + dart.addTypeTests(html$.MidiInput); + dart.addTypeCaches(html$.MidiInput); + dart.setGetterSignature(html$.MidiInput, () => ({ + __proto__: dart.getGetters(html$.MidiInput.__proto__), + [S$1.$onMidiMessage]: async.Stream$(html$.MidiMessageEvent) + })); + dart.setLibraryUri(html$.MidiInput, I[148]); + dart.defineLazy(html$.MidiInput, { + /*html$.MidiInput.midiMessageEvent*/get midiMessageEvent() { + return C[349] || CT.C349; + } + }, false); + dart.registerExtension("MIDIInput", html$.MidiInput); + const Interceptor_MapMixin$36 = class Interceptor_MapMixin extends _interceptors.Interceptor {}; + (Interceptor_MapMixin$36.new = function() { + Interceptor_MapMixin$36.__proto__.new.call(this); + }).prototype = Interceptor_MapMixin$36.prototype; + dart.applyMixin(Interceptor_MapMixin$36, collection.MapMixin$(core.String, dart.dynamic)); + html$.MidiInputMap = class MidiInputMap extends Interceptor_MapMixin$36 { + [S$1._getItem](key) { + if (key == null) dart.nullFailed(I[147], 21859, 24, "key"); + return html_common.convertNativeToDart_Dictionary(this.get(key)); + } + [$addAll](other) { + T$0.MapOfString$dynamic().as(other); + if (other == null) dart.nullFailed(I[147], 21862, 36, "other"); + dart.throw(new core.UnsupportedError.new("Not supported")); + } + [$containsValue](value) { + return this[$values][$any](dart.fn(e => { + if (e == null) dart.nullFailed(I[147], 21866, 52, "e"); + return dart.equals(e, value); + }, T$0.MapTobool())); + } + [$containsKey](key) { + return this[S$1._getItem](core.String.as(key)) != null; + } + [$_get](key) { + return this[S$1._getItem](core.String.as(key)); + } + [$forEach](f) { + if (f == null) dart.nullFailed(I[147], 21872, 21, "f"); + let entries = this.entries(); + while (true) { + let entry = entries.next(); + if (entry.done) return; + f(entry.value[0], html_common.convertNativeToDart_Dictionary(entry.value[1])); + } + } + get [$keys]() { + let keys = T$.JSArrayOfString().of([]); + this[$forEach](dart.fn((k, v) => { + if (k == null) dart.nullFailed(I[147], 21884, 14, "k"); + return keys[$add](k); + }, T$0.StringAnddynamicTovoid())); + return keys; + } + get [$values]() { + let values = T$0.JSArrayOfMap().of([]); + this[$forEach](dart.fn((k, v) => { + if (k == null) dart.nullFailed(I[147], 21890, 14, "k"); + return values[$add](core.Map.as(v)); + }, T$0.StringAnddynamicTovoid())); + return values; + } + get [$length]() { + return this.size; + } + get [$isEmpty]() { + return this[$length] === 0; + } + get [$isNotEmpty]() { + return !dart.test(this[$isEmpty]); + } + [$_set](key, value$) { + let value = value$; + core.String.as(key); + if (key == null) dart.nullFailed(I[147], 21900, 28, "key"); + dart.throw(new core.UnsupportedError.new("Not supported")); + return value$; + } + [$putIfAbsent](key, ifAbsent) { + core.String.as(key); + if (key == null) dart.nullFailed(I[147], 21904, 30, "key"); + T$.VoidTodynamic().as(ifAbsent); + if (ifAbsent == null) dart.nullFailed(I[147], 21904, 43, "ifAbsent"); + dart.throw(new core.UnsupportedError.new("Not supported")); + } + [$remove](key) { + dart.throw(new core.UnsupportedError.new("Not supported")); + } + [$clear]() { + dart.throw(new core.UnsupportedError.new("Not supported")); + } + }; + dart.addTypeTests(html$.MidiInputMap); + dart.addTypeCaches(html$.MidiInputMap); + dart.setMethodSignature(html$.MidiInputMap, () => ({ + __proto__: dart.getMethods(html$.MidiInputMap.__proto__), + [S$1._getItem]: dart.fnType(dart.nullable(core.Map), [core.String]), + [$containsValue]: dart.fnType(core.bool, [dart.dynamic]), + [$containsKey]: dart.fnType(core.bool, [dart.dynamic]), + [$_get]: dart.fnType(dart.nullable(core.Map), [dart.dynamic]), + [$_set]: dart.fnType(dart.void, [dart.nullable(core.Object), dart.nullable(core.Object)]), + [$remove]: dart.fnType(core.String, [dart.dynamic]), + [$clear]: dart.fnType(dart.void, []) + })); + dart.setGetterSignature(html$.MidiInputMap, () => ({ + __proto__: dart.getGetters(html$.MidiInputMap.__proto__), + [$keys]: core.Iterable$(core.String), + [$values]: core.Iterable$(core.Map) + })); + dart.setLibraryUri(html$.MidiInputMap, I[148]); + dart.registerExtension("MIDIInputMap", html$.MidiInputMap); + html$.MidiMessageEvent = class MidiMessageEvent extends html$.Event { + static new(type, eventInitDict = null) { + if (type == null) dart.nullFailed(I[147], 21927, 35, "type"); + if (eventInitDict != null) { + let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); + return html$.MidiMessageEvent._create_1(type, eventInitDict_1); + } + return html$.MidiMessageEvent._create_2(type); + } + static _create_1(type, eventInitDict) { + return new MIDIMessageEvent(type, eventInitDict); + } + static _create_2(type) { + return new MIDIMessageEvent(type); + } + get [S$.$data]() { + return this.data; + } + }; + dart.addTypeTests(html$.MidiMessageEvent); + dart.addTypeCaches(html$.MidiMessageEvent); + dart.setGetterSignature(html$.MidiMessageEvent, () => ({ + __proto__: dart.getGetters(html$.MidiMessageEvent.__proto__), + [S$.$data]: dart.nullable(typed_data.Uint8List) + })); + dart.setLibraryUri(html$.MidiMessageEvent, I[148]); + dart.registerExtension("MIDIMessageEvent", html$.MidiMessageEvent); + html$.MidiOutput = class MidiOutput extends html$.MidiPort { + [S$1.$send](...args) { + return this.send.apply(this, args); + } + }; + dart.addTypeTests(html$.MidiOutput); + dart.addTypeCaches(html$.MidiOutput); + dart.setMethodSignature(html$.MidiOutput, () => ({ + __proto__: dart.getMethods(html$.MidiOutput.__proto__), + [S$1.$send]: dart.fnType(dart.void, [typed_data.Uint8List], [dart.nullable(core.num)]) + })); + dart.setLibraryUri(html$.MidiOutput, I[148]); + dart.registerExtension("MIDIOutput", html$.MidiOutput); + const Interceptor_MapMixin$36$ = class Interceptor_MapMixin extends _interceptors.Interceptor {}; + (Interceptor_MapMixin$36$.new = function() { + Interceptor_MapMixin$36$.__proto__.new.call(this); + }).prototype = Interceptor_MapMixin$36$.prototype; + dart.applyMixin(Interceptor_MapMixin$36$, collection.MapMixin$(core.String, dart.dynamic)); + html$.MidiOutputMap = class MidiOutputMap extends Interceptor_MapMixin$36$ { + [S$1._getItem](key) { + if (key == null) dart.nullFailed(I[147], 21965, 24, "key"); + return html_common.convertNativeToDart_Dictionary(this.get(key)); + } + [$addAll](other) { + T$0.MapOfString$dynamic().as(other); + if (other == null) dart.nullFailed(I[147], 21968, 36, "other"); + dart.throw(new core.UnsupportedError.new("Not supported")); + } + [$containsValue](value) { + return this[$values][$any](dart.fn(e => { + if (e == null) dart.nullFailed(I[147], 21972, 52, "e"); + return dart.equals(e, value); + }, T$0.MapTobool())); + } + [$containsKey](key) { + return this[S$1._getItem](core.String.as(key)) != null; + } + [$_get](key) { + return this[S$1._getItem](core.String.as(key)); + } + [$forEach](f) { + if (f == null) dart.nullFailed(I[147], 21978, 21, "f"); + let entries = this.entries(); + while (true) { + let entry = entries.next(); + if (entry.done) return; + f(entry.value[0], html_common.convertNativeToDart_Dictionary(entry.value[1])); + } + } + get [$keys]() { + let keys = T$.JSArrayOfString().of([]); + this[$forEach](dart.fn((k, v) => { + if (k == null) dart.nullFailed(I[147], 21990, 14, "k"); + return keys[$add](k); + }, T$0.StringAnddynamicTovoid())); + return keys; + } + get [$values]() { + let values = T$0.JSArrayOfMap().of([]); + this[$forEach](dart.fn((k, v) => { + if (k == null) dart.nullFailed(I[147], 21996, 14, "k"); + return values[$add](core.Map.as(v)); + }, T$0.StringAnddynamicTovoid())); + return values; + } + get [$length]() { + return this.size; + } + get [$isEmpty]() { + return this[$length] === 0; + } + get [$isNotEmpty]() { + return !dart.test(this[$isEmpty]); + } + [$_set](key, value$) { + let value = value$; + core.String.as(key); + if (key == null) dart.nullFailed(I[147], 22006, 28, "key"); + dart.throw(new core.UnsupportedError.new("Not supported")); + return value$; + } + [$putIfAbsent](key, ifAbsent) { + core.String.as(key); + if (key == null) dart.nullFailed(I[147], 22010, 30, "key"); + T$.VoidTodynamic().as(ifAbsent); + if (ifAbsent == null) dart.nullFailed(I[147], 22010, 43, "ifAbsent"); + dart.throw(new core.UnsupportedError.new("Not supported")); + } + [$remove](key) { + dart.throw(new core.UnsupportedError.new("Not supported")); + } + [$clear]() { + dart.throw(new core.UnsupportedError.new("Not supported")); + } + }; + dart.addTypeTests(html$.MidiOutputMap); + dart.addTypeCaches(html$.MidiOutputMap); + dart.setMethodSignature(html$.MidiOutputMap, () => ({ + __proto__: dart.getMethods(html$.MidiOutputMap.__proto__), + [S$1._getItem]: dart.fnType(dart.nullable(core.Map), [core.String]), + [$containsValue]: dart.fnType(core.bool, [dart.dynamic]), + [$containsKey]: dart.fnType(core.bool, [dart.dynamic]), + [$_get]: dart.fnType(dart.nullable(core.Map), [dart.dynamic]), + [$_set]: dart.fnType(dart.void, [dart.nullable(core.Object), dart.nullable(core.Object)]), + [$remove]: dart.fnType(core.String, [dart.dynamic]), + [$clear]: dart.fnType(dart.void, []) + })); + dart.setGetterSignature(html$.MidiOutputMap, () => ({ + __proto__: dart.getGetters(html$.MidiOutputMap.__proto__), + [$keys]: core.Iterable$(core.String), + [$values]: core.Iterable$(core.Map) + })); + dart.setLibraryUri(html$.MidiOutputMap, I[148]); + dart.registerExtension("MIDIOutputMap", html$.MidiOutputMap); + html$.MimeType = class MimeType extends _interceptors.Interceptor { + get [S$1.$description]() { + return this.description; + } + get [S$1.$enabledPlugin]() { + return this.enabledPlugin; + } + get [S$1.$suffixes]() { + return this.suffixes; + } + get [S.$type]() { + return this.type; + } + }; + dart.addTypeTests(html$.MimeType); + dart.addTypeCaches(html$.MimeType); + dart.setGetterSignature(html$.MimeType, () => ({ + __proto__: dart.getGetters(html$.MimeType.__proto__), + [S$1.$description]: dart.nullable(core.String), + [S$1.$enabledPlugin]: dart.nullable(html$.Plugin), + [S$1.$suffixes]: dart.nullable(core.String), + [S.$type]: dart.nullable(core.String) + })); + dart.setLibraryUri(html$.MimeType, I[148]); + dart.registerExtension("MimeType", html$.MimeType); + const Interceptor_ListMixin$36$2 = class Interceptor_ListMixin extends _interceptors.Interceptor {}; + (Interceptor_ListMixin$36$2.new = function() { + Interceptor_ListMixin$36$2.__proto__.new.call(this); + }).prototype = Interceptor_ListMixin$36$2.prototype; + dart.applyMixin(Interceptor_ListMixin$36$2, collection.ListMixin$(html$.MimeType)); + const Interceptor_ImmutableListMixin$36$2 = class Interceptor_ImmutableListMixin extends Interceptor_ListMixin$36$2 {}; + (Interceptor_ImmutableListMixin$36$2.new = function() { + Interceptor_ImmutableListMixin$36$2.__proto__.new.call(this); + }).prototype = Interceptor_ImmutableListMixin$36$2.prototype; + dart.applyMixin(Interceptor_ImmutableListMixin$36$2, html$.ImmutableListMixin$(html$.MimeType)); + html$.MimeTypeArray = class MimeTypeArray extends Interceptor_ImmutableListMixin$36$2 { + get [$length]() { + return this.length; + } + [$_get](index) { + if (index == null) dart.nullFailed(I[147], 22085, 28, "index"); + if (index >>> 0 !== index || index >= this[$length]) dart.throw(new core.IndexError.new(index, this)); + return this[index]; + } + [$_set](index, value$) { + let value = value$; + if (index == null) dart.nullFailed(I[147], 22091, 25, "index"); + html$.MimeType.as(value); + if (value == null) dart.nullFailed(I[147], 22091, 41, "value"); + dart.throw(new core.UnsupportedError.new("Cannot assign element of immutable List.")); + return value$; + } + set [$length](value) { + if (value == null) dart.nullFailed(I[147], 22097, 18, "value"); + dart.throw(new core.UnsupportedError.new("Cannot resize immutable List.")); + } + get [$first]() { + if (dart.notNull(this[$length]) > 0) { + return this[0]; + } + dart.throw(new core.StateError.new("No elements")); + } + set [$first](value) { + super[$first] = value; + } + get [$last]() { + let len = this[$length]; + if (dart.notNull(len) > 0) { + return this[dart.notNull(len) - 1]; + } + dart.throw(new core.StateError.new("No elements")); + } + set [$last](value) { + super[$last] = value; + } + get [$single]() { + let len = this[$length]; + if (len === 1) { + return this[0]; + } + if (len === 0) dart.throw(new core.StateError.new("No elements")); + dart.throw(new core.StateError.new("More than one element")); + } + [$elementAt](index) { + if (index == null) dart.nullFailed(I[147], 22125, 26, "index"); + return this[$_get](index); + } + [S$.$item](...args) { + return this.item.apply(this, args); + } + [S$1.$namedItem](...args) { + return this.namedItem.apply(this, args); + } + }; + html$.MimeTypeArray.prototype[dart.isList] = true; + dart.addTypeTests(html$.MimeTypeArray); + dart.addTypeCaches(html$.MimeTypeArray); + html$.MimeTypeArray[dart.implements] = () => [core.List$(html$.MimeType), _js_helper.JavaScriptIndexingBehavior$(html$.MimeType)]; + dart.setMethodSignature(html$.MimeTypeArray, () => ({ + __proto__: dart.getMethods(html$.MimeTypeArray.__proto__), + [$_get]: dart.fnType(html$.MimeType, [core.int]), + [$_set]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), + [S$.$item]: dart.fnType(dart.nullable(html$.MimeType), [core.int]), + [S$1.$namedItem]: dart.fnType(dart.nullable(html$.MimeType), [core.String]) + })); + dart.setGetterSignature(html$.MimeTypeArray, () => ({ + __proto__: dart.getGetters(html$.MimeTypeArray.__proto__), + [$length]: core.int + })); + dart.setSetterSignature(html$.MimeTypeArray, () => ({ + __proto__: dart.getSetters(html$.MimeTypeArray.__proto__), + [$length]: core.int + })); + dart.setLibraryUri(html$.MimeTypeArray, I[148]); + dart.registerExtension("MimeTypeArray", html$.MimeTypeArray); + html$.ModElement = class ModElement extends html$.HtmlElement { + get [S$1.$cite]() { + return this.cite; + } + set [S$1.$cite](value) { + this.cite = value; + } + get [S$1.$dateTime]() { + return this.dateTime; + } + set [S$1.$dateTime](value) { + this.dateTime = value; + } + }; + (html$.ModElement.created = function() { + html$.ModElement.__proto__.created.call(this); + ; + }).prototype = html$.ModElement.prototype; + dart.addTypeTests(html$.ModElement); + dart.addTypeCaches(html$.ModElement); + dart.setGetterSignature(html$.ModElement, () => ({ + __proto__: dart.getGetters(html$.ModElement.__proto__), + [S$1.$cite]: core.String, + [S$1.$dateTime]: core.String + })); + dart.setSetterSignature(html$.ModElement, () => ({ + __proto__: dart.getSetters(html$.ModElement.__proto__), + [S$1.$cite]: core.String, + [S$1.$dateTime]: core.String + })); + dart.setLibraryUri(html$.ModElement, I[148]); + dart.registerExtension("HTMLModElement", html$.ModElement); + html$.MouseEvent = class MouseEvent$ extends html$.UIEvent { + static new(type, opts) { + if (type == null) dart.nullFailed(I[147], 22171, 29, "type"); + let view = opts && 'view' in opts ? opts.view : null; + let detail = opts && 'detail' in opts ? opts.detail : 0; + if (detail == null) dart.nullFailed(I[147], 22173, 11, "detail"); + let screenX = opts && 'screenX' in opts ? opts.screenX : 0; + if (screenX == null) dart.nullFailed(I[147], 22174, 11, "screenX"); + let screenY = opts && 'screenY' in opts ? opts.screenY : 0; + if (screenY == null) dart.nullFailed(I[147], 22175, 11, "screenY"); + let clientX = opts && 'clientX' in opts ? opts.clientX : 0; + if (clientX == null) dart.nullFailed(I[147], 22176, 11, "clientX"); + let clientY = opts && 'clientY' in opts ? opts.clientY : 0; + if (clientY == null) dart.nullFailed(I[147], 22177, 11, "clientY"); + let button = opts && 'button' in opts ? opts.button : 0; + if (button == null) dart.nullFailed(I[147], 22178, 11, "button"); + let canBubble = opts && 'canBubble' in opts ? opts.canBubble : true; + if (canBubble == null) dart.nullFailed(I[147], 22179, 12, "canBubble"); + let cancelable = opts && 'cancelable' in opts ? opts.cancelable : true; + if (cancelable == null) dart.nullFailed(I[147], 22180, 12, "cancelable"); + let ctrlKey = opts && 'ctrlKey' in opts ? opts.ctrlKey : false; + if (ctrlKey == null) dart.nullFailed(I[147], 22181, 12, "ctrlKey"); + let altKey = opts && 'altKey' in opts ? opts.altKey : false; + if (altKey == null) dart.nullFailed(I[147], 22182, 12, "altKey"); + let shiftKey = opts && 'shiftKey' in opts ? opts.shiftKey : false; + if (shiftKey == null) dart.nullFailed(I[147], 22183, 12, "shiftKey"); + let metaKey = opts && 'metaKey' in opts ? opts.metaKey : false; + if (metaKey == null) dart.nullFailed(I[147], 22184, 12, "metaKey"); + let relatedTarget = opts && 'relatedTarget' in opts ? opts.relatedTarget : null; + if (view == null) { + view = html$.window; + } + let event = html$.MouseEvent.as(html$.document[S._createEvent]("MouseEvent")); + event[S$1._initMouseEvent](type, canBubble, cancelable, view, detail, screenX, screenY, clientX, clientY, ctrlKey, altKey, shiftKey, metaKey, button, relatedTarget); + return event; + } + static __(type, eventInitDict = null) { + if (type == null) dart.nullFailed(I[147], 22209, 31, "type"); + if (eventInitDict != null) { + let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); + return html$.MouseEvent._create_1(type, eventInitDict_1); + } + return html$.MouseEvent._create_2(type); + } + static _create_1(type, eventInitDict) { + return new MouseEvent(type, eventInitDict); + } + static _create_2(type) { + return new MouseEvent(type); + } + get [S$1.$altKey]() { + return this.altKey; + } + get [S$1.$button]() { + return this.button; + } + get [S$1.$buttons]() { + return this.buttons; + } + get [S$1._clientX]() { + return this.clientX; + } + get [S$1._clientY]() { + return this.clientY; + } + get [S$1.$ctrlKey]() { + return this.ctrlKey; + } + get [S$1.$fromElement]() { + return this.fromElement; + } + get [S$1._layerX]() { + return this.layerX; + } + get [S$1._layerY]() { + return this.layerY; + } + get [S$1.$metaKey]() { + return this.metaKey; + } + get [S$1._movementX]() { + return this.movementX; + } + get [S$1._movementY]() { + return this.movementY; + } + get [S$1._pageX]() { + return this.pageX; + } + get [S$1._pageY]() { + return this.pageY; + } + get [S$1.$region]() { + return this.region; + } + get [S$1.$relatedTarget]() { + return html$._convertNativeToDart_EventTarget(this[S$1._get_relatedTarget]); + } + get [S$1._get_relatedTarget]() { + return this.relatedTarget; + } + get [S$1._screenX]() { + return this.screenX; + } + get [S$1._screenY]() { + return this.screenY; + } + get [S$1.$shiftKey]() { + return this.shiftKey; + } + get [S$1.$toElement]() { + return this.toElement; + } + [S$1.$getModifierState](...args) { + return this.getModifierState.apply(this, args); + } + [S$1._initMouseEvent](type, bubbles, cancelable, view, detail, screenX, screenY, clientX, clientY, ctrlKey, altKey, shiftKey, metaKey, button, relatedTarget) { + let relatedTarget_1 = html$._convertDartToNative_EventTarget(relatedTarget); + this[S$1._initMouseEvent_1](type, bubbles, cancelable, view, detail, screenX, screenY, clientX, clientY, ctrlKey, altKey, shiftKey, metaKey, button, relatedTarget_1); + return; + } + [S$1._initMouseEvent_1](...args) { + return this.initMouseEvent.apply(this, args); + } + get [S.$client]() { + return new (T$0.PointOfnum()).new(this[S$1._clientX], this[S$1._clientY]); + } + get [S$1.$movement]() { + return new (T$0.PointOfnum()).new(dart.nullCheck(this[S$1._movementX]), dart.nullCheck(this[S$1._movementY])); + } + get [S.$offset]() { + if (!!this.offsetX) { + let x = this.offsetX; + let y = this.offsetY; + return new (T$0.PointOfnum()).new(core.num.as(x), core.num.as(y)); + } else { + if (!html$.Element.is(this[S.$target])) { + dart.throw(new core.UnsupportedError.new("offsetX is only supported on elements")); + } + let target = html$.Element.as(this[S.$target]); + let point = this[S.$client]['-'](target.getBoundingClientRect()[$topLeft]); + return new (T$0.PointOfnum()).new(point.x[$toInt](), point.y[$toInt]()); + } + } + get [S$1.$screen]() { + return new (T$0.PointOfnum()).new(this[S$1._screenX], this[S$1._screenY]); + } + get [S$1.$layer]() { + return new (T$0.PointOfnum()).new(dart.nullCheck(this[S$1._layerX]), dart.nullCheck(this[S$1._layerY])); + } + get [S$0.$page]() { + return new (T$0.PointOfnum()).new(dart.nullCheck(this[S$1._pageX]), dart.nullCheck(this[S$1._pageY])); + } + get [S$1.$dataTransfer]() { + return this.dataTransfer; + } + }; + dart.addTypeTests(html$.MouseEvent); + dart.addTypeCaches(html$.MouseEvent); + dart.setMethodSignature(html$.MouseEvent, () => ({ + __proto__: dart.getMethods(html$.MouseEvent.__proto__), + [S$1.$getModifierState]: dart.fnType(core.bool, [core.String]), + [S$1._initMouseEvent]: dart.fnType(dart.void, [dart.nullable(core.String), dart.nullable(core.bool), dart.nullable(core.bool), dart.nullable(html$.Window), dart.nullable(core.int), dart.nullable(core.int), dart.nullable(core.int), dart.nullable(core.int), dart.nullable(core.int), dart.nullable(core.bool), dart.nullable(core.bool), dart.nullable(core.bool), dart.nullable(core.bool), dart.nullable(core.int), dart.nullable(html$.EventTarget)]), + [S$1._initMouseEvent_1]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.nullable(html$.Window), dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic]) + })); + dart.setGetterSignature(html$.MouseEvent, () => ({ + __proto__: dart.getGetters(html$.MouseEvent.__proto__), + [S$1.$altKey]: core.bool, + [S$1.$button]: core.int, + [S$1.$buttons]: dart.nullable(core.int), + [S$1._clientX]: core.num, + [S$1._clientY]: core.num, + [S$1.$ctrlKey]: core.bool, + [S$1.$fromElement]: dart.nullable(html$.Node), + [S$1._layerX]: dart.nullable(core.int), + [S$1._layerY]: dart.nullable(core.int), + [S$1.$metaKey]: core.bool, + [S$1._movementX]: dart.nullable(core.int), + [S$1._movementY]: dart.nullable(core.int), + [S$1._pageX]: dart.nullable(core.num), + [S$1._pageY]: dart.nullable(core.num), + [S$1.$region]: dart.nullable(core.String), + [S$1.$relatedTarget]: dart.nullable(html$.EventTarget), + [S$1._get_relatedTarget]: dart.dynamic, + [S$1._screenX]: core.num, + [S$1._screenY]: core.num, + [S$1.$shiftKey]: core.bool, + [S$1.$toElement]: dart.nullable(html$.Node), + [S.$client]: math.Point$(core.num), + [S$1.$movement]: math.Point$(core.num), + [S.$offset]: math.Point$(core.num), + [S$1.$screen]: math.Point$(core.num), + [S$1.$layer]: math.Point$(core.num), + [S$0.$page]: math.Point$(core.num), + [S$1.$dataTransfer]: html$.DataTransfer + })); + dart.setLibraryUri(html$.MouseEvent, I[148]); + dart.registerExtension("MouseEvent", html$.MouseEvent); + dart.registerExtension("DragEvent", html$.MouseEvent); + html$.MutationEvent = class MutationEvent extends html$.Event { + get [S$1.$attrChange]() { + return this.attrChange; + } + get [S$1.$attrName]() { + return this.attrName; + } + get [S$1.$newValue]() { + return this.newValue; + } + get [S$1.$prevValue]() { + return this.prevValue; + } + get [S$1.$relatedNode]() { + return this.relatedNode; + } + [S$1.$initMutationEvent](...args) { + return this.initMutationEvent.apply(this, args); + } + }; + dart.addTypeTests(html$.MutationEvent); + dart.addTypeCaches(html$.MutationEvent); + dart.setMethodSignature(html$.MutationEvent, () => ({ + __proto__: dart.getMethods(html$.MutationEvent.__proto__), + [S$1.$initMutationEvent]: dart.fnType(dart.void, [dart.nullable(core.String), dart.nullable(core.bool), dart.nullable(core.bool), dart.nullable(html$.Node), dart.nullable(core.String), dart.nullable(core.String), dart.nullable(core.String), dart.nullable(core.int)]) + })); + dart.setGetterSignature(html$.MutationEvent, () => ({ + __proto__: dart.getGetters(html$.MutationEvent.__proto__), + [S$1.$attrChange]: dart.nullable(core.int), + [S$1.$attrName]: dart.nullable(core.String), + [S$1.$newValue]: dart.nullable(core.String), + [S$1.$prevValue]: dart.nullable(core.String), + [S$1.$relatedNode]: dart.nullable(html$.Node) + })); + dart.setLibraryUri(html$.MutationEvent, I[148]); + dart.defineLazy(html$.MutationEvent, { + /*html$.MutationEvent.ADDITION*/get ADDITION() { + return 2; + }, + /*html$.MutationEvent.MODIFICATION*/get MODIFICATION() { + return 1; + }, + /*html$.MutationEvent.REMOVAL*/get REMOVAL() { + return 3; + } + }, false); + dart.registerExtension("MutationEvent", html$.MutationEvent); + html$.MutationObserver = class MutationObserver extends _interceptors.Interceptor { + [S$1.$disconnect](...args) { + return this.disconnect.apply(this, args); + } + [S$1._observe](target, options = null) { + if (target == null) dart.nullFailed(I[147], 22443, 22, "target"); + if (options != null) { + let options_1 = html_common.convertDartToNative_Dictionary(options); + this[S$1._observe_1$1](target, options_1); + return; + } + this[S$1._observe_2](target); + return; + } + [S$1._observe_1$1](...args) { + return this.observe.apply(this, args); + } + [S$1._observe_2](...args) { + return this.observe.apply(this, args); + } + [S$1.$takeRecords](...args) { + return this.takeRecords.apply(this, args); + } + static get supported() { + return !!(window.MutationObserver || window.WebKitMutationObserver); + } + [S.$observe](target, opts) { + if (target == null) dart.nullFailed(I[147], 22479, 21, "target"); + let childList = opts && 'childList' in opts ? opts.childList : null; + let attributes = opts && 'attributes' in opts ? opts.attributes : null; + let characterData = opts && 'characterData' in opts ? opts.characterData : null; + let subtree = opts && 'subtree' in opts ? opts.subtree : null; + let attributeOldValue = opts && 'attributeOldValue' in opts ? opts.attributeOldValue : null; + let characterDataOldValue = opts && 'characterDataOldValue' in opts ? opts.characterDataOldValue : null; + let attributeFilter = opts && 'attributeFilter' in opts ? opts.attributeFilter : null; + let parsedOptions = html$.MutationObserver._createDict(); + function override(key, value) { + if (value != null) html$.MutationObserver._add(parsedOptions, core.String.as(key), value); + } + dart.fn(override, T$.dynamicAnddynamicToNull()); + override("childList", childList); + override("attributes", attributes); + override("characterData", characterData); + override("subtree", subtree); + override("attributeOldValue", attributeOldValue); + override("characterDataOldValue", characterDataOldValue); + if (attributeFilter != null) { + override("attributeFilter", html$.MutationObserver._fixupList(attributeFilter)); + } + this[S$1._call](target, parsedOptions); + } + static _createDict() { + return {}; + } + static _add(m, key, value) { + if (key == null) dart.nullFailed(I[147], 22519, 25, "key"); + m[key] = value; + } + static _fixupList(list) { + return list; + } + [S$1._call](...args) { + return this.observe.apply(this, args); + } + static new(callback) { + if (callback == null) dart.nullFailed(I[147], 22529, 45, "callback"); + 0; + return new (window.MutationObserver || window.WebKitMutationObserver || window.MozMutationObserver)(_js_helper.convertDartClosureToJS(T$0.ListAndMutationObserverToNvoid(), html$._wrapBinaryZone(core.List, html$.MutationObserver, callback), 2)); + } + }; + dart.addTypeTests(html$.MutationObserver); + dart.addTypeCaches(html$.MutationObserver); + dart.setMethodSignature(html$.MutationObserver, () => ({ + __proto__: dart.getMethods(html$.MutationObserver.__proto__), + [S$1.$disconnect]: dart.fnType(dart.void, []), + [S$1._observe]: dart.fnType(dart.void, [html$.Node], [dart.nullable(core.Map)]), + [S$1._observe_1$1]: dart.fnType(dart.void, [html$.Node, dart.dynamic]), + [S$1._observe_2]: dart.fnType(dart.void, [html$.Node]), + [S$1.$takeRecords]: dart.fnType(core.List$(html$.MutationRecord), []), + [S.$observe]: dart.fnType(dart.void, [html$.Node], {attributeFilter: dart.nullable(core.List$(core.String)), attributeOldValue: dart.nullable(core.bool), attributes: dart.nullable(core.bool), characterData: dart.nullable(core.bool), characterDataOldValue: dart.nullable(core.bool), childList: dart.nullable(core.bool), subtree: dart.nullable(core.bool)}, {}), + [S$1._call]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic]) + })); + dart.setLibraryUri(html$.MutationObserver, I[148]); + dart.defineLazy(html$.MutationObserver, { + /*html$.MutationObserver._boolKeys*/get _boolKeys() { + return C[350] || CT.C350; + } + }, false); + dart.registerExtension("MutationObserver", html$.MutationObserver); + dart.registerExtension("WebKitMutationObserver", html$.MutationObserver); + html$.MutationRecord = class MutationRecord extends _interceptors.Interceptor { + get [S$1.$addedNodes]() { + return this.addedNodes; + } + get [S$1.$attributeName]() { + return this.attributeName; + } + get [S$1.$attributeNamespace]() { + return this.attributeNamespace; + } + get [S$1.$nextSibling]() { + return this.nextSibling; + } + get [S$1.$oldValue]() { + return this.oldValue; + } + get [S$1.$previousSibling]() { + return this.previousSibling; + } + get [S$1.$removedNodes]() { + return this.removedNodes; + } + get [S.$target]() { + return this.target; + } + get [S.$type]() { + return this.type; + } + }; + dart.addTypeTests(html$.MutationRecord); + dart.addTypeCaches(html$.MutationRecord); + dart.setGetterSignature(html$.MutationRecord, () => ({ + __proto__: dart.getGetters(html$.MutationRecord.__proto__), + [S$1.$addedNodes]: dart.nullable(core.List$(html$.Node)), + [S$1.$attributeName]: dart.nullable(core.String), + [S$1.$attributeNamespace]: dart.nullable(core.String), + [S$1.$nextSibling]: dart.nullable(html$.Node), + [S$1.$oldValue]: dart.nullable(core.String), + [S$1.$previousSibling]: dart.nullable(html$.Node), + [S$1.$removedNodes]: dart.nullable(core.List$(html$.Node)), + [S.$target]: dart.nullable(html$.Node), + [S.$type]: dart.nullable(core.String) + })); + dart.setLibraryUri(html$.MutationRecord, I[148]); + dart.registerExtension("MutationRecord", html$.MutationRecord); + html$.NavigationPreloadManager = class NavigationPreloadManager extends _interceptors.Interceptor { + [S$1.$disable]() { + return js_util.promiseToFuture(dart.dynamic, this.disable()); + } + [S$1.$enable]() { + return js_util.promiseToFuture(dart.dynamic, this.enable()); + } + [S$1.$getState]() { + return html$.promiseToFutureAsMap(this.getState()); + } + }; + dart.addTypeTests(html$.NavigationPreloadManager); + dart.addTypeCaches(html$.NavigationPreloadManager); + dart.setMethodSignature(html$.NavigationPreloadManager, () => ({ + __proto__: dart.getMethods(html$.NavigationPreloadManager.__proto__), + [S$1.$disable]: dart.fnType(async.Future, []), + [S$1.$enable]: dart.fnType(async.Future, []), + [S$1.$getState]: dart.fnType(async.Future$(dart.nullable(core.Map$(core.String, dart.dynamic))), []) + })); + dart.setLibraryUri(html$.NavigationPreloadManager, I[148]); + dart.registerExtension("NavigationPreloadManager", html$.NavigationPreloadManager); + html$.NavigatorConcurrentHardware = class NavigatorConcurrentHardware extends _interceptors.Interceptor { + get [S$2.$hardwareConcurrency]() { + return this.hardwareConcurrency; + } + }; + dart.addTypeTests(html$.NavigatorConcurrentHardware); + dart.addTypeCaches(html$.NavigatorConcurrentHardware); + dart.setGetterSignature(html$.NavigatorConcurrentHardware, () => ({ + __proto__: dart.getGetters(html$.NavigatorConcurrentHardware.__proto__), + [S$2.$hardwareConcurrency]: dart.nullable(core.int) + })); + dart.setLibraryUri(html$.NavigatorConcurrentHardware, I[148]); + dart.registerExtension("NavigatorConcurrentHardware", html$.NavigatorConcurrentHardware); + html$.Navigator = class Navigator extends html$.NavigatorConcurrentHardware { + [S$1.$getGamepads]() { + let gamepadList = this[S$1._getGamepads](); + let jsProto = gamepadList.prototype; + if (jsProto == null) { + gamepadList.prototype = Object.create(null); + } + _js_helper.applyExtension("GamepadList", gamepadList); + return gamepadList; + } + get [S$1.$language]() { + return this.language || this.userLanguage; + } + [S$1.$getUserMedia](opts) { + let audio = opts && 'audio' in opts ? opts.audio : false; + let video = opts && 'video' in opts ? opts.video : false; + let completer = T$0.CompleterOfMediaStream().new(); + let options = new (T$0.IdentityMapOfString$dynamic()).from(["audio", audio, "video", video]); + this[S$1._ensureGetUserMedia](); + this[S$1._getUserMedia](html_common.convertDartToNative_SerializedScriptValue(options), dart.fn(stream => { + if (stream == null) dart.nullFailed(I[147], 22660, 10, "stream"); + completer.complete(stream); + }, T$0.MediaStreamTovoid()), dart.fn(error => { + if (error == null) dart.nullFailed(I[147], 22662, 9, "error"); + completer.completeError(error); + }, T$0.NavigatorUserMediaErrorTovoid())); + return completer.future; + } + [S$1._ensureGetUserMedia]() { + if (!this.getUserMedia) { + this.getUserMedia = this.getUserMedia || this.webkitGetUserMedia || this.mozGetUserMedia || this.msGetUserMedia; + } + } + [S$1._getUserMedia](...args) { + return this.getUserMedia.apply(this, args); + } + get [S$1.$budget]() { + return this.budget; + } + get [S$1.$clipboard]() { + return this.clipboard; + } + get [S$1.$connection]() { + return this.connection; + } + get [S$1.$credentials]() { + return this.credentials; + } + get [S$1.$deviceMemory]() { + return this.deviceMemory; + } + get [S$1.$doNotTrack]() { + return this.doNotTrack; + } + get [S$1.$geolocation]() { + return this.geolocation; + } + get [S$2.$maxTouchPoints]() { + return this.maxTouchPoints; + } + get [S$2.$mediaCapabilities]() { + return this.mediaCapabilities; + } + get [S$2.$mediaDevices]() { + return this.mediaDevices; + } + get [S$2.$mediaSession]() { + return this.mediaSession; + } + get [S$2.$mimeTypes]() { + return this.mimeTypes; + } + get [S$2.$nfc]() { + return this.nfc; + } + get [S$2.$permissions]() { + return this.permissions; + } + get [S$2.$presentation]() { + return this.presentation; + } + get [S$2.$productSub]() { + return this.productSub; + } + get [S$2.$serviceWorker]() { + return this.serviceWorker; + } + get [S$2.$storage]() { + return this.storage; + } + get [S$2.$vendor]() { + return this.vendor; + } + get [S$2.$vendorSub]() { + return this.vendorSub; + } + get [S$2.$vr]() { + return this.vr; + } + get [S$2.$persistentStorage]() { + return this.webkitPersistentStorage; + } + get [S$2.$temporaryStorage]() { + return this.webkitTemporaryStorage; + } + [S$2.$cancelKeyboardLock](...args) { + return this.cancelKeyboardLock.apply(this, args); + } + [S$2.$getBattery]() { + return js_util.promiseToFuture(dart.dynamic, this.getBattery()); + } + [S$1._getGamepads](...args) { + return this.getGamepads.apply(this, args); + } + [S$2.$getInstalledRelatedApps]() { + return js_util.promiseToFuture(html$.RelatedApplication, this.getInstalledRelatedApps()); + } + [S$2.$getVRDisplays]() { + return js_util.promiseToFuture(dart.dynamic, this.getVRDisplays()); + } + [S$2.$registerProtocolHandler](...args) { + return this.registerProtocolHandler.apply(this, args); + } + [S$2.$requestKeyboardLock](keyCodes = null) { + if (keyCodes != null) { + let keyCodes_1 = html_common.convertDartToNative_StringArray(keyCodes); + return this[S$2._requestKeyboardLock_1](keyCodes_1); + } + return this[S$2._requestKeyboardLock_2](); + } + [S$2._requestKeyboardLock_1](keyCodes) { + if (keyCodes == null) dart.nullFailed(I[147], 22776, 38, "keyCodes"); + return js_util.promiseToFuture(dart.dynamic, this.requestKeyboardLock(keyCodes)); + } + [S$2._requestKeyboardLock_2]() { + return js_util.promiseToFuture(dart.dynamic, this.requestKeyboardLock()); + } + [S$2.$requestMidiAccess](options = null) { + let options_dict = null; + if (options != null) { + options_dict = html_common.convertDartToNative_Dictionary(options); + } + return js_util.promiseToFuture(dart.dynamic, this.requestMIDIAccess(options_dict)); + } + [S$2.$requestMediaKeySystemAccess](keySystem, supportedConfigurations) { + if (keySystem == null) dart.nullFailed(I[147], 22793, 18, "keySystem"); + if (supportedConfigurations == null) dart.nullFailed(I[147], 22793, 39, "supportedConfigurations"); + return js_util.promiseToFuture(dart.dynamic, this.requestMediaKeySystemAccess(keySystem, supportedConfigurations)); + } + [S$2.$sendBeacon](...args) { + return this.sendBeacon.apply(this, args); + } + [S$2.$share](data = null) { + let data_dict = null; + if (data != null) { + data_dict = html_common.convertDartToNative_Dictionary(data); + } + return js_util.promiseToFuture(dart.dynamic, this.share(data_dict)); + } + get [S$2.$webdriver]() { + return this.webdriver; + } + get [S$2.$cookieEnabled]() { + return this.cookieEnabled; + } + get [S$2.$appCodeName]() { + return this.appCodeName; + } + get [S$2.$appName]() { + return this.appName; + } + get [S$2.$appVersion]() { + return this.appVersion; + } + get [S$2.$dartEnabled]() { + return this.dartEnabled; + } + get [S$2.$platform]() { + return this.platform; + } + get [S$2.$product]() { + return this.product; + } + get [S$2.$userAgent]() { + return this.userAgent; + } + get [S$2.$languages]() { + return this.languages; + } + get [S$2.$onLine]() { + return this.onLine; + } + }; + dart.addTypeTests(html$.Navigator); + dart.addTypeCaches(html$.Navigator); + html$.Navigator[dart.implements] = () => [html$.NavigatorCookies, html$.NavigatorLanguage, html$.NavigatorOnLine, html$.NavigatorAutomationInformation, html$.NavigatorID]; + dart.setMethodSignature(html$.Navigator, () => ({ + __proto__: dart.getMethods(html$.Navigator.__proto__), + [S$1.$getGamepads]: dart.fnType(core.List$(dart.nullable(html$.Gamepad)), []), + [S$1.$getUserMedia]: dart.fnType(async.Future$(html$.MediaStream), [], {audio: dart.dynamic, video: dart.dynamic}, {}), + [S$1._ensureGetUserMedia]: dart.fnType(dart.dynamic, []), + [S$1._getUserMedia]: dart.fnType(dart.void, [dart.dynamic, dart.fnType(dart.void, [html$.MediaStream]), dart.fnType(dart.void, [html$.NavigatorUserMediaError])]), + [S$2.$cancelKeyboardLock]: dart.fnType(dart.void, []), + [S$2.$getBattery]: dart.fnType(async.Future, []), + [S$1._getGamepads]: dart.fnType(core.List$(dart.nullable(html$.Gamepad)), []), + [S$2.$getInstalledRelatedApps]: dart.fnType(async.Future$(html$.RelatedApplication), []), + [S$2.$getVRDisplays]: dart.fnType(async.Future, []), + [S$2.$registerProtocolHandler]: dart.fnType(dart.void, [core.String, core.String, core.String]), + [S$2.$requestKeyboardLock]: dart.fnType(async.Future, [], [dart.nullable(core.List$(core.String))]), + [S$2._requestKeyboardLock_1]: dart.fnType(async.Future, [core.List]), + [S$2._requestKeyboardLock_2]: dart.fnType(async.Future, []), + [S$2.$requestMidiAccess]: dart.fnType(async.Future, [], [dart.nullable(core.Map)]), + [S$2.$requestMediaKeySystemAccess]: dart.fnType(async.Future, [core.String, core.List$(core.Map)]), + [S$2.$sendBeacon]: dart.fnType(core.bool, [core.String, dart.nullable(core.Object)]), + [S$2.$share]: dart.fnType(async.Future, [], [dart.nullable(core.Map)]) + })); + dart.setGetterSignature(html$.Navigator, () => ({ + __proto__: dart.getGetters(html$.Navigator.__proto__), + [S$1.$language]: core.String, + [S$1.$budget]: dart.nullable(html$._BudgetService), + [S$1.$clipboard]: dart.nullable(html$._Clipboard), + [S$1.$connection]: dart.nullable(html$.NetworkInformation), + [S$1.$credentials]: dart.nullable(html$.CredentialsContainer), + [S$1.$deviceMemory]: dart.nullable(core.num), + [S$1.$doNotTrack]: dart.nullable(core.String), + [S$1.$geolocation]: html$.Geolocation, + [S$2.$maxTouchPoints]: dart.nullable(core.int), + [S$2.$mediaCapabilities]: dart.nullable(html$.MediaCapabilities), + [S$2.$mediaDevices]: dart.nullable(html$.MediaDevices), + [S$2.$mediaSession]: dart.nullable(html$.MediaSession), + [S$2.$mimeTypes]: dart.nullable(html$.MimeTypeArray), + [S$2.$nfc]: dart.nullable(html$._NFC), + [S$2.$permissions]: dart.nullable(html$.Permissions), + [S$2.$presentation]: dart.nullable(html$.Presentation), + [S$2.$productSub]: dart.nullable(core.String), + [S$2.$serviceWorker]: dart.nullable(html$.ServiceWorkerContainer), + [S$2.$storage]: dart.nullable(html$.StorageManager), + [S$2.$vendor]: core.String, + [S$2.$vendorSub]: core.String, + [S$2.$vr]: dart.nullable(html$.VR), + [S$2.$persistentStorage]: dart.nullable(html$.DeprecatedStorageQuota), + [S$2.$temporaryStorage]: dart.nullable(html$.DeprecatedStorageQuota), + [S$2.$webdriver]: dart.nullable(core.bool), + [S$2.$cookieEnabled]: dart.nullable(core.bool), + [S$2.$appCodeName]: core.String, + [S$2.$appName]: core.String, + [S$2.$appVersion]: core.String, + [S$2.$dartEnabled]: dart.nullable(core.bool), + [S$2.$platform]: dart.nullable(core.String), + [S$2.$product]: core.String, + [S$2.$userAgent]: core.String, + [S$2.$languages]: dart.nullable(core.List$(core.String)), + [S$2.$onLine]: dart.nullable(core.bool) + })); + dart.setLibraryUri(html$.Navigator, I[148]); + dart.registerExtension("Navigator", html$.Navigator); + html$.NavigatorAutomationInformation = class NavigatorAutomationInformation extends _interceptors.Interceptor { + get [S$2.$webdriver]() { + return this.webdriver; + } + }; + dart.addTypeTests(html$.NavigatorAutomationInformation); + dart.addTypeCaches(html$.NavigatorAutomationInformation); + dart.setGetterSignature(html$.NavigatorAutomationInformation, () => ({ + __proto__: dart.getGetters(html$.NavigatorAutomationInformation.__proto__), + [S$2.$webdriver]: dart.nullable(core.bool) + })); + dart.setLibraryUri(html$.NavigatorAutomationInformation, I[148]); + dart.registerExtension("NavigatorAutomationInformation", html$.NavigatorAutomationInformation); + html$.NavigatorCookies = class NavigatorCookies extends _interceptors.Interceptor { + get [S$2.$cookieEnabled]() { + return this.cookieEnabled; + } + }; + dart.addTypeTests(html$.NavigatorCookies); + dart.addTypeCaches(html$.NavigatorCookies); + dart.setGetterSignature(html$.NavigatorCookies, () => ({ + __proto__: dart.getGetters(html$.NavigatorCookies.__proto__), + [S$2.$cookieEnabled]: dart.nullable(core.bool) + })); + dart.setLibraryUri(html$.NavigatorCookies, I[148]); + dart.registerExtension("NavigatorCookies", html$.NavigatorCookies); + html$.NavigatorID = class NavigatorID extends _interceptors.Interceptor { + get appCodeName() { + return this.appCodeName; + } + get appName() { + return this.appName; + } + get appVersion() { + return this.appVersion; + } + get dartEnabled() { + return this.dartEnabled; + } + get platform() { + return this.platform; + } + get product() { + return this.product; + } + get userAgent() { + return this.userAgent; + } + }; + dart.addTypeTests(html$.NavigatorID); + dart.addTypeCaches(html$.NavigatorID); + dart.setGetterSignature(html$.NavigatorID, () => ({ + __proto__: dart.getGetters(html$.NavigatorID.__proto__), + appCodeName: core.String, + [S$2.$appCodeName]: core.String, + appName: core.String, + [S$2.$appName]: core.String, + appVersion: core.String, + [S$2.$appVersion]: core.String, + dartEnabled: dart.nullable(core.bool), + [S$2.$dartEnabled]: dart.nullable(core.bool), + platform: dart.nullable(core.String), + [S$2.$platform]: dart.nullable(core.String), + product: core.String, + [S$2.$product]: core.String, + userAgent: core.String, + [S$2.$userAgent]: core.String + })); + dart.setLibraryUri(html$.NavigatorID, I[148]); + dart.defineExtensionAccessors(html$.NavigatorID, [ + 'appCodeName', + 'appName', + 'appVersion', + 'dartEnabled', + 'platform', + 'product', + 'userAgent' + ]); + html$.NavigatorLanguage = class NavigatorLanguage extends _interceptors.Interceptor { + get language() { + return this.language; + } + get languages() { + return this.languages; + } + }; + dart.addTypeTests(html$.NavigatorLanguage); + dart.addTypeCaches(html$.NavigatorLanguage); + dart.setGetterSignature(html$.NavigatorLanguage, () => ({ + __proto__: dart.getGetters(html$.NavigatorLanguage.__proto__), + language: dart.nullable(core.String), + [S$1.$language]: dart.nullable(core.String), + languages: dart.nullable(core.List$(core.String)), + [S$2.$languages]: dart.nullable(core.List$(core.String)) + })); + dart.setLibraryUri(html$.NavigatorLanguage, I[148]); + dart.defineExtensionAccessors(html$.NavigatorLanguage, ['language', 'languages']); + html$.NavigatorOnLine = class NavigatorOnLine extends _interceptors.Interceptor { + get onLine() { + return this.onLine; + } + }; + dart.addTypeTests(html$.NavigatorOnLine); + dart.addTypeCaches(html$.NavigatorOnLine); + dart.setGetterSignature(html$.NavigatorOnLine, () => ({ + __proto__: dart.getGetters(html$.NavigatorOnLine.__proto__), + onLine: dart.nullable(core.bool), + [S$2.$onLine]: dart.nullable(core.bool) + })); + dart.setLibraryUri(html$.NavigatorOnLine, I[148]); + dart.defineExtensionAccessors(html$.NavigatorOnLine, ['onLine']); + html$.NavigatorUserMediaError = class NavigatorUserMediaError extends _interceptors.Interceptor { + get [S$2.$constraintName]() { + return this.constraintName; + } + get [$message]() { + return this.message; + } + get [$name]() { + return this.name; + } + }; + dart.addTypeTests(html$.NavigatorUserMediaError); + dart.addTypeCaches(html$.NavigatorUserMediaError); + dart.setGetterSignature(html$.NavigatorUserMediaError, () => ({ + __proto__: dart.getGetters(html$.NavigatorUserMediaError.__proto__), + [S$2.$constraintName]: dart.nullable(core.String), + [$message]: dart.nullable(core.String), + [$name]: dart.nullable(core.String) + })); + dart.setLibraryUri(html$.NavigatorUserMediaError, I[148]); + dart.registerExtension("NavigatorUserMediaError", html$.NavigatorUserMediaError); + html$.NetworkInformation = class NetworkInformation extends html$.EventTarget { + get [S$2.$downlink]() { + return this.downlink; + } + get [S$2.$downlinkMax]() { + return this.downlinkMax; + } + get [S$2.$effectiveType]() { + return this.effectiveType; + } + get [S$2.$rtt]() { + return this.rtt; + } + get [S.$type]() { + return this.type; + } + get [S.$onChange]() { + return html$.NetworkInformation.changeEvent.forTarget(this); + } + }; + dart.addTypeTests(html$.NetworkInformation); + dart.addTypeCaches(html$.NetworkInformation); + dart.setGetterSignature(html$.NetworkInformation, () => ({ + __proto__: dart.getGetters(html$.NetworkInformation.__proto__), + [S$2.$downlink]: dart.nullable(core.num), + [S$2.$downlinkMax]: dart.nullable(core.num), + [S$2.$effectiveType]: dart.nullable(core.String), + [S$2.$rtt]: dart.nullable(core.int), + [S.$type]: dart.nullable(core.String), + [S.$onChange]: async.Stream$(html$.Event) + })); + dart.setLibraryUri(html$.NetworkInformation, I[148]); + dart.defineLazy(html$.NetworkInformation, { + /*html$.NetworkInformation.changeEvent*/get changeEvent() { + return C[236] || CT.C236; + } + }, false); + dart.registerExtension("NetworkInformation", html$.NetworkInformation); + html$._ChildNodeListLazy = class _ChildNodeListLazy extends collection.ListBase$(html$.Node) { + get first() { + let result = this[S$._this].firstChild; + if (result == null) dart.throw(new core.StateError.new("No elements")); + return result; + } + set first(value) { + super.first = value; + } + get last() { + let result = this[S$._this].lastChild; + if (result == null) dart.throw(new core.StateError.new("No elements")); + return result; + } + set last(value) { + super.last = value; + } + get single() { + let l = this.length; + if (l === 0) dart.throw(new core.StateError.new("No elements")); + if (dart.notNull(l) > 1) dart.throw(new core.StateError.new("More than one element")); + return dart.nullCheck(this[S$._this].firstChild); + } + add(value) { + html$.Node.as(value); + if (value == null) dart.nullFailed(I[147], 23025, 17, "value"); + this[S$._this][S.$append](value); + } + addAll(iterable) { + T$0.IterableOfNode().as(iterable); + if (iterable == null) dart.nullFailed(I[147], 23029, 30, "iterable"); + if (html$._ChildNodeListLazy.is(iterable)) { + let otherList = iterable; + if (otherList[S$._this] != this[S$._this]) { + for (let i = 0, len = otherList.length; i < dart.notNull(len); i = i + 1) { + this[S$._this][S.$append](dart.nullCheck(otherList[S$._this].firstChild)); + } + } + return; + } + for (let node of iterable) { + this[S$._this][S.$append](node); + } + } + insert(index, node) { + if (index == null) dart.nullFailed(I[147], 23045, 19, "index"); + html$.Node.as(node); + if (node == null) dart.nullFailed(I[147], 23045, 31, "node"); + if (dart.notNull(index) < 0 || dart.notNull(index) > dart.notNull(this.length)) { + dart.throw(new core.RangeError.range(index, 0, this.length)); + } + if (index == this.length) { + this[S$._this][S.$append](node); + } else { + this[S$._this].insertBefore(node, this._get(index)); + } + } + insertAll(index, iterable) { + if (index == null) dart.nullFailed(I[147], 23056, 22, "index"); + T$0.IterableOfNode().as(iterable); + if (iterable == null) dart.nullFailed(I[147], 23056, 44, "iterable"); + if (index == this.length) { + this.addAll(iterable); + } else { + let item = this._get(index); + this[S$._this][S$.$insertAllBefore](iterable, item); + } + } + setAll(index, iterable) { + if (index == null) dart.nullFailed(I[147], 23065, 19, "index"); + T$0.IterableOfNode().as(iterable); + if (iterable == null) dart.nullFailed(I[147], 23065, 41, "iterable"); + dart.throw(new core.UnsupportedError.new("Cannot setAll on Node list")); + } + removeLast() { + let result = this.last; + if (result != null) { + this[S$._this][S$._removeChild](result); + } + return result; + } + removeAt(index) { + if (index == null) dart.nullFailed(I[147], 23077, 21, "index"); + let result = this._get(index); + if (result != null) { + this[S$._this][S$._removeChild](result); + } + return result; + } + remove(object) { + if (!html$.Node.is(object)) return false; + let node = object; + if (this[S$._this] != node.parentNode) return false; + this[S$._this][S$._removeChild](node); + return true; + } + [S$1._filter$2](test, removeMatching) { + if (test == null) dart.nullFailed(I[147], 23093, 21, "test"); + if (removeMatching == null) dart.nullFailed(I[147], 23093, 43, "removeMatching"); + let child = this[S$._this].firstChild; + while (child != null) { + let nextChild = child[S.$nextNode]; + if (test(child) == removeMatching) { + this[S$._this][S$._removeChild](child); + } + child = nextChild; + } + } + removeWhere(test) { + if (test == null) dart.nullFailed(I[147], 23107, 25, "test"); + this[S$1._filter$2](test, true); + } + retainWhere(test) { + if (test == null) dart.nullFailed(I[147], 23111, 25, "test"); + this[S$1._filter$2](test, false); + } + clear() { + this[S$._this][S$._clearChildren](); + } + _set(index, value$) { + let value = value$; + if (index == null) dart.nullFailed(I[147], 23119, 25, "index"); + html$.Node.as(value); + if (value == null) dart.nullFailed(I[147], 23119, 37, "value"); + this[S$._this][S$._replaceChild](value, this._get(index)); + return value$; + } + get iterator() { + return this[S$._this].childNodes[$iterator]; + } + sort(compare = null) { + dart.throw(new core.UnsupportedError.new("Cannot sort Node list")); + } + shuffle(random = null) { + dart.throw(new core.UnsupportedError.new("Cannot shuffle Node list")); + } + setRange(start, end, iterable, skipCount = 0) { + if (start == null) dart.nullFailed(I[147], 23138, 21, "start"); + if (end == null) dart.nullFailed(I[147], 23138, 32, "end"); + T$0.IterableOfNode().as(iterable); + if (iterable == null) dart.nullFailed(I[147], 23138, 52, "iterable"); + if (skipCount == null) dart.nullFailed(I[147], 23139, 12, "skipCount"); + dart.throw(new core.UnsupportedError.new("Cannot setRange on Node list")); + } + fillRange(start, end, fill = null) { + if (start == null) dart.nullFailed(I[147], 23143, 22, "start"); + if (end == null) dart.nullFailed(I[147], 23143, 33, "end"); + T$0.NodeN$1().as(fill); + dart.throw(new core.UnsupportedError.new("Cannot fillRange on Node list")); + } + removeRange(start, end) { + if (start == null) dart.nullFailed(I[147], 23147, 24, "start"); + if (end == null) dart.nullFailed(I[147], 23147, 35, "end"); + dart.throw(new core.UnsupportedError.new("Cannot removeRange on Node list")); + } + get length() { + return this[S$._this].childNodes[$length]; + } + set length(value) { + if (value == null) dart.nullFailed(I[147], 23156, 18, "value"); + dart.throw(new core.UnsupportedError.new("Cannot set length on immutable List.")); + } + _get(index) { + if (index == null) dart.nullFailed(I[147], 23160, 24, "index"); + return this[S$._this].childNodes[$_get](index); + } + get rawList() { + return this[S$._this].childNodes; + } + }; + (html$._ChildNodeListLazy.new = function(_this) { + if (_this == null) dart.nullFailed(I[147], 23004, 27, "_this"); + this[S$._this] = _this; + ; + }).prototype = html$._ChildNodeListLazy.prototype; + dart.addTypeTests(html$._ChildNodeListLazy); + dart.addTypeCaches(html$._ChildNodeListLazy); + html$._ChildNodeListLazy[dart.implements] = () => [html_common.NodeListWrapper]; + dart.setMethodSignature(html$._ChildNodeListLazy, () => ({ + __proto__: dart.getMethods(html$._ChildNodeListLazy.__proto__), + [S$1._filter$2]: dart.fnType(dart.void, [dart.fnType(core.bool, [html$.Node]), core.bool]), + _set: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), + [$_set]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), + _get: dart.fnType(html$.Node, [core.int]), + [$_get]: dart.fnType(html$.Node, [core.int]) + })); + dart.setGetterSignature(html$._ChildNodeListLazy, () => ({ + __proto__: dart.getGetters(html$._ChildNodeListLazy.__proto__), + length: core.int, + [$length]: core.int, + rawList: core.List$(html$.Node) + })); + dart.setSetterSignature(html$._ChildNodeListLazy, () => ({ + __proto__: dart.getSetters(html$._ChildNodeListLazy.__proto__), + length: core.int, + [$length]: core.int + })); + dart.setLibraryUri(html$._ChildNodeListLazy, I[148]); + dart.setFieldSignature(html$._ChildNodeListLazy, () => ({ + __proto__: dart.getFields(html$._ChildNodeListLazy.__proto__), + [S$._this]: dart.finalFieldType(html$.Node) + })); + dart.defineExtensionMethods(html$._ChildNodeListLazy, [ + 'add', + 'addAll', + 'insert', + 'insertAll', + 'setAll', + 'removeLast', + 'removeAt', + 'remove', + 'removeWhere', + 'retainWhere', + 'clear', + '_set', + 'sort', + 'shuffle', + 'setRange', + 'fillRange', + 'removeRange', + '_get' + ]); + dart.defineExtensionAccessors(html$._ChildNodeListLazy, [ + 'first', + 'last', + 'single', + 'iterator', + 'length' + ]); + html$.NodeFilter = class NodeFilter extends _interceptors.Interceptor {}; + dart.addTypeTests(html$.NodeFilter); + dart.addTypeCaches(html$.NodeFilter); + dart.setLibraryUri(html$.NodeFilter, I[148]); + dart.defineLazy(html$.NodeFilter, { + /*html$.NodeFilter.FILTER_ACCEPT*/get FILTER_ACCEPT() { + return 1; + }, + /*html$.NodeFilter.FILTER_REJECT*/get FILTER_REJECT() { + return 2; + }, + /*html$.NodeFilter.FILTER_SKIP*/get FILTER_SKIP() { + return 3; + }, + /*html$.NodeFilter.SHOW_ALL*/get SHOW_ALL() { + return 4294967295.0; + }, + /*html$.NodeFilter.SHOW_COMMENT*/get SHOW_COMMENT() { + return 128; + }, + /*html$.NodeFilter.SHOW_DOCUMENT*/get SHOW_DOCUMENT() { + return 256; + }, + /*html$.NodeFilter.SHOW_DOCUMENT_FRAGMENT*/get SHOW_DOCUMENT_FRAGMENT() { + return 1024; + }, + /*html$.NodeFilter.SHOW_DOCUMENT_TYPE*/get SHOW_DOCUMENT_TYPE() { + return 512; + }, + /*html$.NodeFilter.SHOW_ELEMENT*/get SHOW_ELEMENT() { + return 1; + }, + /*html$.NodeFilter.SHOW_PROCESSING_INSTRUCTION*/get SHOW_PROCESSING_INSTRUCTION() { + return 64; + }, + /*html$.NodeFilter.SHOW_TEXT*/get SHOW_TEXT() { + return 4; + } + }, false); + dart.registerExtension("NodeFilter", html$.NodeFilter); + html$.NodeIterator = class NodeIterator extends _interceptors.Interceptor { + static new(root, whatToShow) { + if (root == null) dart.nullFailed(I[147], 23569, 29, "root"); + if (whatToShow == null) dart.nullFailed(I[147], 23569, 39, "whatToShow"); + return html$.document[S$1._createNodeIterator](root, whatToShow, null); + } + get [S$2.$pointerBeforeReferenceNode]() { + return this.pointerBeforeReferenceNode; + } + get [S$2.$referenceNode]() { + return this.referenceNode; + } + get [S$1.$root]() { + return this.root; + } + get [S$2.$whatToShow]() { + return this.whatToShow; + } + [S$2.$detach](...args) { + return this.detach.apply(this, args); + } + [S.$nextNode](...args) { + return this.nextNode.apply(this, args); + } + [S$.$previousNode](...args) { + return this.previousNode.apply(this, args); + } + }; + dart.addTypeTests(html$.NodeIterator); + dart.addTypeCaches(html$.NodeIterator); + dart.setMethodSignature(html$.NodeIterator, () => ({ + __proto__: dart.getMethods(html$.NodeIterator.__proto__), + [S$2.$detach]: dart.fnType(dart.void, []), + [S.$nextNode]: dart.fnType(dart.nullable(html$.Node), []), + [S$.$previousNode]: dart.fnType(dart.nullable(html$.Node), []) + })); + dart.setGetterSignature(html$.NodeIterator, () => ({ + __proto__: dart.getGetters(html$.NodeIterator.__proto__), + [S$2.$pointerBeforeReferenceNode]: dart.nullable(core.bool), + [S$2.$referenceNode]: dart.nullable(html$.Node), + [S$1.$root]: html$.Node, + [S$2.$whatToShow]: core.int + })); + dart.setLibraryUri(html$.NodeIterator, I[148]); + dart.registerExtension("NodeIterator", html$.NodeIterator); + const Interceptor_ListMixin$36$3 = class Interceptor_ListMixin extends _interceptors.Interceptor {}; + (Interceptor_ListMixin$36$3.new = function() { + Interceptor_ListMixin$36$3.__proto__.new.call(this); + }).prototype = Interceptor_ListMixin$36$3.prototype; + dart.applyMixin(Interceptor_ListMixin$36$3, collection.ListMixin$(html$.Node)); + const Interceptor_ImmutableListMixin$36$3 = class Interceptor_ImmutableListMixin extends Interceptor_ListMixin$36$3 {}; + (Interceptor_ImmutableListMixin$36$3.new = function() { + Interceptor_ImmutableListMixin$36$3.__proto__.new.call(this); + }).prototype = Interceptor_ImmutableListMixin$36$3.prototype; + dart.applyMixin(Interceptor_ImmutableListMixin$36$3, html$.ImmutableListMixin$(html$.Node)); + html$.NodeList = class NodeList extends Interceptor_ImmutableListMixin$36$3 { + get [$length]() { + return this.length; + } + [$_get](index) { + if (index == null) dart.nullFailed(I[147], 23606, 24, "index"); + if (index >>> 0 !== index || index >= this[$length]) dart.throw(new core.IndexError.new(index, this)); + return this[index]; + } + [$_set](index, value$) { + let value = value$; + if (index == null) dart.nullFailed(I[147], 23612, 25, "index"); + html$.Node.as(value); + if (value == null) dart.nullFailed(I[147], 23612, 37, "value"); + dart.throw(new core.UnsupportedError.new("Cannot assign element of immutable List.")); + return value$; + } + set [$length](value) { + if (value == null) dart.nullFailed(I[147], 23618, 18, "value"); + dart.throw(new core.UnsupportedError.new("Cannot resize immutable List.")); + } + get [$first]() { + if (dart.notNull(this[$length]) > 0) { + return this[0]; + } + dart.throw(new core.StateError.new("No elements")); + } + set [$first](value) { + super[$first] = value; + } + get [$last]() { + let len = this[$length]; + if (dart.notNull(len) > 0) { + return this[dart.notNull(len) - 1]; + } + dart.throw(new core.StateError.new("No elements")); + } + set [$last](value) { + super[$last] = value; + } + get [$single]() { + let len = this[$length]; + if (len === 1) { + return this[0]; + } + if (len === 0) dart.throw(new core.StateError.new("No elements")); + dart.throw(new core.StateError.new("More than one element")); + } + [$elementAt](index) { + if (index == null) dart.nullFailed(I[147], 23646, 22, "index"); + return this[$_get](index); + } + [S$1._item](...args) { + return this.item.apply(this, args); + } + }; + html$.NodeList.prototype[dart.isList] = true; + dart.addTypeTests(html$.NodeList); + dart.addTypeCaches(html$.NodeList); + html$.NodeList[dart.implements] = () => [_js_helper.JavaScriptIndexingBehavior$(html$.Node), core.List$(html$.Node)]; + dart.setMethodSignature(html$.NodeList, () => ({ + __proto__: dart.getMethods(html$.NodeList.__proto__), + [$_get]: dart.fnType(html$.Node, [core.int]), + [$_set]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), + [S$1._item]: dart.fnType(dart.nullable(html$.Node), [core.int]) + })); + dart.setGetterSignature(html$.NodeList, () => ({ + __proto__: dart.getGetters(html$.NodeList.__proto__), + [$length]: core.int + })); + dart.setSetterSignature(html$.NodeList, () => ({ + __proto__: dart.getSetters(html$.NodeList.__proto__), + [$length]: core.int + })); + dart.setLibraryUri(html$.NodeList, I[148]); + dart.registerExtension("NodeList", html$.NodeList); + dart.registerExtension("RadioNodeList", html$.NodeList); + html$.NonDocumentTypeChildNode = class NonDocumentTypeChildNode extends _interceptors.Interceptor { + get [S.$nextElementSibling]() { + return this.nextElementSibling; + } + get [S.$previousElementSibling]() { + return this.previousElementSibling; + } + }; + dart.addTypeTests(html$.NonDocumentTypeChildNode); + dart.addTypeCaches(html$.NonDocumentTypeChildNode); + dart.setGetterSignature(html$.NonDocumentTypeChildNode, () => ({ + __proto__: dart.getGetters(html$.NonDocumentTypeChildNode.__proto__), + [S.$nextElementSibling]: dart.nullable(html$.Element), + [S.$previousElementSibling]: dart.nullable(html$.Element) + })); + dart.setLibraryUri(html$.NonDocumentTypeChildNode, I[148]); + dart.registerExtension("NonDocumentTypeChildNode", html$.NonDocumentTypeChildNode); + html$.NonElementParentNode = class NonElementParentNode extends _interceptors.Interceptor { + [S$1.$getElementById](...args) { + return this.getElementById.apply(this, args); + } + }; + dart.addTypeTests(html$.NonElementParentNode); + dart.addTypeCaches(html$.NonElementParentNode); + dart.setMethodSignature(html$.NonElementParentNode, () => ({ + __proto__: dart.getMethods(html$.NonElementParentNode.__proto__), + [S$1.$getElementById]: dart.fnType(dart.nullable(html$.Element), [core.String]) + })); + dart.setLibraryUri(html$.NonElementParentNode, I[148]); + dart.registerExtension("NonElementParentNode", html$.NonElementParentNode); + html$.NoncedElement = class NoncedElement extends _interceptors.Interceptor { + get [S.$nonce]() { + return this.nonce; + } + set [S.$nonce](value) { + this.nonce = value; + } + }; + dart.addTypeTests(html$.NoncedElement); + dart.addTypeCaches(html$.NoncedElement); + dart.setGetterSignature(html$.NoncedElement, () => ({ + __proto__: dart.getGetters(html$.NoncedElement.__proto__), + [S.$nonce]: dart.nullable(core.String) + })); + dart.setSetterSignature(html$.NoncedElement, () => ({ + __proto__: dart.getSetters(html$.NoncedElement.__proto__), + [S.$nonce]: dart.nullable(core.String) + })); + dart.setLibraryUri(html$.NoncedElement, I[148]); + dart.registerExtension("NoncedElement", html$.NoncedElement); + html$.Notification = class Notification$ extends html$.EventTarget { + static new(title, opts) { + if (title == null) dart.nullFailed(I[147], 23701, 31, "title"); + let dir = opts && 'dir' in opts ? opts.dir : null; + let body = opts && 'body' in opts ? opts.body : null; + let lang = opts && 'lang' in opts ? opts.lang : null; + let tag = opts && 'tag' in opts ? opts.tag : null; + let icon = opts && 'icon' in opts ? opts.icon : null; + let parsedOptions = new _js_helper.LinkedMap.new(); + if (dir != null) parsedOptions[$_set]("dir", dir); + if (body != null) parsedOptions[$_set]("body", body); + if (lang != null) parsedOptions[$_set]("lang", lang); + if (tag != null) parsedOptions[$_set]("tag", tag); + if (icon != null) parsedOptions[$_set]("icon", icon); + return html$.Notification._factoryNotification(title, parsedOptions); + } + static _factoryNotification(title, options = null) { + if (title == null) dart.nullFailed(I[147], 23752, 51, "title"); + if (options != null) { + let options_1 = html_common.convertDartToNative_Dictionary(options); + return html$.Notification._create_1(title, options_1); + } + return html$.Notification._create_2(title); + } + static _create_1(title, options) { + return new Notification(title, options); + } + static _create_2(title) { + return new Notification(title); + } + static get supported() { + return !!window.Notification; + } + get [S$2.$actions]() { + return this.actions; + } + get [S$2.$badge]() { + return this.badge; + } + get [S$1.$body]() { + return this.body; + } + get [S$.$data]() { + return this.data; + } + get [S.$dir]() { + return this.dir; + } + get [S$2.$icon]() { + return this.icon; + } + get [S$2.$image]() { + return this.image; + } + get [S.$lang]() { + return this.lang; + } + get [S$2.$renotify]() { + return this.renotify; + } + get [S$2.$requireInteraction]() { + return this.requireInteraction; + } + get [S$2.$silent]() { + return this.silent; + } + get [S$2.$tag]() { + return this.tag; + } + get [S$.$timestamp]() { + return this.timestamp; + } + get [S.$title]() { + return this.title; + } + get [S$2.$vibrate]() { + return this.vibrate; + } + [S.$close](...args) { + return this.close.apply(this, args); + } + static requestPermission() { + let completer = T$0.CompleterOfString().new(); + dart.global.Notification.requestPermission(dart.fn(value => { + if (value == null) dart.nullFailed(I[147], 23813, 25, "value"); + completer.complete(value); + }, T$.StringTovoid())); + return completer.future; + } + get [S.$onClick]() { + return html$.Notification.clickEvent.forTarget(this); + } + get [S.$onClose]() { + return html$.Notification.closeEvent.forTarget(this); + } + get [S.$onError]() { + return html$.Notification.errorEvent.forTarget(this); + } + get [S$2.$onShow]() { + return html$.Notification.showEvent.forTarget(this); + } + }; + dart.addTypeTests(html$.Notification); + dart.addTypeCaches(html$.Notification); + dart.setMethodSignature(html$.Notification, () => ({ + __proto__: dart.getMethods(html$.Notification.__proto__), + [S.$close]: dart.fnType(dart.void, []) + })); + dart.setGetterSignature(html$.Notification, () => ({ + __proto__: dart.getGetters(html$.Notification.__proto__), + [S$2.$actions]: dart.nullable(core.List), + [S$2.$badge]: dart.nullable(core.String), + [S$1.$body]: dart.nullable(core.String), + [S$.$data]: dart.nullable(core.Object), + [S.$dir]: dart.nullable(core.String), + [S$2.$icon]: dart.nullable(core.String), + [S$2.$image]: dart.nullable(core.String), + [S.$lang]: dart.nullable(core.String), + [S$2.$renotify]: dart.nullable(core.bool), + [S$2.$requireInteraction]: dart.nullable(core.bool), + [S$2.$silent]: dart.nullable(core.bool), + [S$2.$tag]: dart.nullable(core.String), + [S$.$timestamp]: dart.nullable(core.int), + [S.$title]: dart.nullable(core.String), + [S$2.$vibrate]: dart.nullable(core.List$(core.int)), + [S.$onClick]: async.Stream$(html$.Event), + [S.$onClose]: async.Stream$(html$.Event), + [S.$onError]: async.Stream$(html$.Event), + [S$2.$onShow]: async.Stream$(html$.Event) + })); + dart.setLibraryUri(html$.Notification, I[148]); + dart.defineLazy(html$.Notification, { + /*html$.Notification.clickEvent*/get clickEvent() { + return C[351] || CT.C351; + }, + /*html$.Notification.closeEvent*/get closeEvent() { + return C[215] || CT.C215; + }, + /*html$.Notification.errorEvent*/get errorEvent() { + return C[216] || CT.C216; + }, + /*html$.Notification.showEvent*/get showEvent() { + return C[352] || CT.C352; + } + }, false); + dart.registerExtension("Notification", html$.Notification); + html$.NotificationEvent = class NotificationEvent$ extends html$.ExtendableEvent { + static new(type, eventInitDict) { + if (type == null) dart.nullFailed(I[147], 23842, 36, "type"); + if (eventInitDict == null) dart.nullFailed(I[147], 23842, 46, "eventInitDict"); + let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); + return html$.NotificationEvent._create_1(type, eventInitDict_1); + } + static _create_1(type, eventInitDict) { + return new NotificationEvent(type, eventInitDict); + } + get [S$1.$action]() { + return this.action; + } + get [S$2.$notification]() { + return this.notification; + } + get [S$2.$reply]() { + return this.reply; + } + }; + dart.addTypeTests(html$.NotificationEvent); + dart.addTypeCaches(html$.NotificationEvent); + dart.setGetterSignature(html$.NotificationEvent, () => ({ + __proto__: dart.getGetters(html$.NotificationEvent.__proto__), + [S$1.$action]: dart.nullable(core.String), + [S$2.$notification]: dart.nullable(html$.Notification), + [S$2.$reply]: dart.nullable(core.String) + })); + dart.setLibraryUri(html$.NotificationEvent, I[148]); + dart.registerExtension("NotificationEvent", html$.NotificationEvent); + html$.OListElement = class OListElement extends html$.HtmlElement { + static new() { + return html$.document.createElement("ol"); + } + get [$reversed]() { + return this.reversed; + } + set [$reversed](value) { + this.reversed = value; + } + get [S$.$start]() { + return this.start; + } + set [S$.$start](value) { + this.start = value; + } + get [S.$type]() { + return this.type; + } + set [S.$type](value) { + this.type = value; + } + }; + (html$.OListElement.created = function() { + html$.OListElement.__proto__.created.call(this); + ; + }).prototype = html$.OListElement.prototype; + dart.addTypeTests(html$.OListElement); + dart.addTypeCaches(html$.OListElement); + dart.setGetterSignature(html$.OListElement, () => ({ + __proto__: dart.getGetters(html$.OListElement.__proto__), + [$reversed]: dart.nullable(core.bool), + [S$.$start]: core.int, + [S.$type]: core.String + })); + dart.setSetterSignature(html$.OListElement, () => ({ + __proto__: dart.getSetters(html$.OListElement.__proto__), + [$reversed]: dart.nullable(core.bool), + [S$.$start]: core.int, + [S.$type]: core.String + })); + dart.setLibraryUri(html$.OListElement, I[148]); + dart.registerExtension("HTMLOListElement", html$.OListElement); + html$.ObjectElement = class ObjectElement extends html$.HtmlElement { + static new() { + return html$.ObjectElement.as(html$.document[S.$createElement]("object")); + } + static get supported() { + return html$.Element.isTagSupported("object"); + } + get [S$1.$contentWindow]() { + return html$._convertNativeToDart_Window(this[S$1._get_contentWindow]); + } + get [S$1._get_contentWindow]() { + return this.contentWindow; + } + get [S$.$data]() { + return this.data; + } + set [S$.$data](value) { + this.data = value; + } + get [S$.$form]() { + return this.form; + } + get [$height]() { + return this.height; + } + set [$height](value) { + this.height = value; + } + get [$name]() { + return this.name; + } + set [$name](value) { + this.name = value; + } + get [S.$type]() { + return this.type; + } + set [S.$type](value) { + this.type = value; + } + get [S$1.$useMap]() { + return this.useMap; + } + set [S$1.$useMap](value) { + this.useMap = value; + } + get [S$.$validationMessage]() { + return this.validationMessage; + } + get [S$.$validity]() { + return this.validity; + } + get [$width]() { + return this.width; + } + set [$width](value) { + this.width = value; + } + get [S$.$willValidate]() { + return this.willValidate; + } + [S$.__getter__](...args) { + return this.__getter__.apply(this, args); + } + [S$.__setter__](...args) { + return this.__setter__.apply(this, args); + } + [S$.$checkValidity](...args) { + return this.checkValidity.apply(this, args); + } + [S$.$reportValidity](...args) { + return this.reportValidity.apply(this, args); + } + [S$.$setCustomValidity](...args) { + return this.setCustomValidity.apply(this, args); + } + }; + (html$.ObjectElement.created = function() { + html$.ObjectElement.__proto__.created.call(this); + ; + }).prototype = html$.ObjectElement.prototype; + dart.addTypeTests(html$.ObjectElement); + dart.addTypeCaches(html$.ObjectElement); + dart.setMethodSignature(html$.ObjectElement, () => ({ + __proto__: dart.getMethods(html$.ObjectElement.__proto__), + [S$.__getter__]: dart.fnType(html$.Node, [core.String]), + [S$.__setter__]: dart.fnType(dart.void, [core.String, html$.Node]), + [S$.$checkValidity]: dart.fnType(core.bool, []), + [S$.$reportValidity]: dart.fnType(core.bool, []), + [S$.$setCustomValidity]: dart.fnType(dart.void, [core.String]) + })); + dart.setGetterSignature(html$.ObjectElement, () => ({ + __proto__: dart.getGetters(html$.ObjectElement.__proto__), + [S$1.$contentWindow]: dart.nullable(html$.WindowBase), + [S$1._get_contentWindow]: dart.dynamic, + [S$.$data]: core.String, + [S$.$form]: dart.nullable(html$.FormElement), + [$height]: core.String, + [$name]: core.String, + [S.$type]: core.String, + [S$1.$useMap]: core.String, + [S$.$validationMessage]: core.String, + [S$.$validity]: html$.ValidityState, + [$width]: core.String, + [S$.$willValidate]: core.bool + })); + dart.setSetterSignature(html$.ObjectElement, () => ({ + __proto__: dart.getSetters(html$.ObjectElement.__proto__), + [S$.$data]: core.String, + [$height]: core.String, + [$name]: core.String, + [S.$type]: core.String, + [S$1.$useMap]: core.String, + [$width]: core.String + })); + dart.setLibraryUri(html$.ObjectElement, I[148]); + dart.registerExtension("HTMLObjectElement", html$.ObjectElement); + html$.OffscreenCanvas = class OffscreenCanvas$ extends html$.EventTarget { + static new(width, height) { + if (width == null) dart.nullFailed(I[147], 23983, 31, "width"); + if (height == null) dart.nullFailed(I[147], 23983, 42, "height"); + return html$.OffscreenCanvas._create_1(width, height); + } + static _create_1(width, height) { + return new OffscreenCanvas(width, height); + } + get [$height]() { + return this.height; + } + set [$height](value) { + this.height = value; + } + get [$width]() { + return this.width; + } + set [$width](value) { + this.width = value; + } + [S$2.$convertToBlob](options = null) { + let options_dict = null; + if (options != null) { + options_dict = html_common.convertDartToNative_Dictionary(options); + } + return js_util.promiseToFuture(html$.Blob, this.convertToBlob(options_dict)); + } + [S$.$getContext](contextType, attributes = null) { + if (contextType == null) dart.nullFailed(I[147], 24006, 29, "contextType"); + if (attributes != null) { + let attributes_1 = html_common.convertDartToNative_Dictionary(attributes); + return this[S$._getContext_1](contextType, attributes_1); + } + return this[S$._getContext_2](contextType); + } + [S$._getContext_1](...args) { + return this.getContext.apply(this, args); + } + [S$._getContext_2](...args) { + return this.getContext.apply(this, args); + } + [S$2.$transferToImageBitmap](...args) { + return this.transferToImageBitmap.apply(this, args); + } + }; + dart.addTypeTests(html$.OffscreenCanvas); + dart.addTypeCaches(html$.OffscreenCanvas); + dart.setMethodSignature(html$.OffscreenCanvas, () => ({ + __proto__: dart.getMethods(html$.OffscreenCanvas.__proto__), + [S$2.$convertToBlob]: dart.fnType(async.Future$(html$.Blob), [], [dart.nullable(core.Map)]), + [S$.$getContext]: dart.fnType(dart.nullable(core.Object), [core.String], [dart.nullable(core.Map)]), + [S$._getContext_1]: dart.fnType(dart.nullable(core.Object), [dart.dynamic, dart.dynamic]), + [S$._getContext_2]: dart.fnType(dart.nullable(core.Object), [dart.dynamic]), + [S$2.$transferToImageBitmap]: dart.fnType(html$.ImageBitmap, []) + })); + dart.setGetterSignature(html$.OffscreenCanvas, () => ({ + __proto__: dart.getGetters(html$.OffscreenCanvas.__proto__), + [$height]: dart.nullable(core.int), + [$width]: dart.nullable(core.int) + })); + dart.setSetterSignature(html$.OffscreenCanvas, () => ({ + __proto__: dart.getSetters(html$.OffscreenCanvas.__proto__), + [$height]: dart.nullable(core.int), + [$width]: dart.nullable(core.int) + })); + dart.setLibraryUri(html$.OffscreenCanvas, I[148]); + dart.registerExtension("OffscreenCanvas", html$.OffscreenCanvas); + html$.OffscreenCanvasRenderingContext2D = class OffscreenCanvasRenderingContext2D extends _interceptors.Interceptor { + get [S$.$canvas]() { + return this.canvas; + } + get [S.$direction]() { + return this.direction; + } + set [S.$direction](value) { + this.direction = value; + } + get [S$.$fillStyle]() { + return this.fillStyle; + } + set [S$.$fillStyle](value) { + this.fillStyle = value; + } + get [S$.$filter]() { + return this.filter; + } + set [S$.$filter](value) { + this.filter = value; + } + get [S$.$font]() { + return this.font; + } + set [S$.$font](value) { + this.font = value; + } + get [S$.$globalAlpha]() { + return this.globalAlpha; + } + set [S$.$globalAlpha](value) { + this.globalAlpha = value; + } + get [S$.$globalCompositeOperation]() { + return this.globalCompositeOperation; + } + set [S$.$globalCompositeOperation](value) { + this.globalCompositeOperation = value; + } + get [S$.$imageSmoothingEnabled]() { + return this.imageSmoothingEnabled; + } + set [S$.$imageSmoothingEnabled](value) { + this.imageSmoothingEnabled = value; + } + get [S$.$imageSmoothingQuality]() { + return this.imageSmoothingQuality; + } + set [S$.$imageSmoothingQuality](value) { + this.imageSmoothingQuality = value; + } + get [S$.$lineCap]() { + return this.lineCap; + } + set [S$.$lineCap](value) { + this.lineCap = value; + } + get [S$.$lineDashOffset]() { + return this.lineDashOffset; + } + set [S$.$lineDashOffset](value) { + this.lineDashOffset = value; + } + get [S$.$lineJoin]() { + return this.lineJoin; + } + set [S$.$lineJoin](value) { + this.lineJoin = value; + } + get [S$.$lineWidth]() { + return this.lineWidth; + } + set [S$.$lineWidth](value) { + this.lineWidth = value; + } + get [S$.$miterLimit]() { + return this.miterLimit; + } + set [S$.$miterLimit](value) { + this.miterLimit = value; + } + get [S$.$shadowBlur]() { + return this.shadowBlur; + } + set [S$.$shadowBlur](value) { + this.shadowBlur = value; + } + get [S$.$shadowColor]() { + return this.shadowColor; + } + set [S$.$shadowColor](value) { + this.shadowColor = value; + } + get [S$.$shadowOffsetX]() { + return this.shadowOffsetX; + } + set [S$.$shadowOffsetX](value) { + this.shadowOffsetX = value; + } + get [S$.$shadowOffsetY]() { + return this.shadowOffsetY; + } + set [S$.$shadowOffsetY](value) { + this.shadowOffsetY = value; + } + get [S$.$strokeStyle]() { + return this.strokeStyle; + } + set [S$.$strokeStyle](value) { + this.strokeStyle = value; + } + get [S$.$textAlign]() { + return this.textAlign; + } + set [S$.$textAlign](value) { + this.textAlign = value; + } + get [S$.$textBaseline]() { + return this.textBaseline; + } + set [S$.$textBaseline](value) { + this.textBaseline = value; + } + [S$.$beginPath](...args) { + return this.beginPath.apply(this, args); + } + [S$.$clearRect](...args) { + return this.clearRect.apply(this, args); + } + [S$.$clip](...args) { + return this.clip.apply(this, args); + } + [S$2.$commit]() { + return js_util.promiseToFuture(dart.dynamic, this.commit()); + } + [S$.$createImageData](data_OR_imagedata_OR_sw, sh_OR_sw = null, imageDataColorSettings_OR_sh = null, imageDataColorSettings = null) { + if (html$.ImageData.is(data_OR_imagedata_OR_sw) && sh_OR_sw == null && imageDataColorSettings_OR_sh == null && imageDataColorSettings == null) { + let imagedata_1 = html_common.convertDartToNative_ImageData(data_OR_imagedata_OR_sw); + return html_common.convertNativeToDart_ImageData(this[S$._createImageData_1](imagedata_1)); + } + if (sh_OR_sw != null && core.int.is(data_OR_imagedata_OR_sw) && imageDataColorSettings_OR_sh == null && imageDataColorSettings == null) { + return html_common.convertNativeToDart_ImageData(this[S$._createImageData_2](data_OR_imagedata_OR_sw, sh_OR_sw)); + } + if (core.Map.is(imageDataColorSettings_OR_sh) && sh_OR_sw != null && core.int.is(data_OR_imagedata_OR_sw) && imageDataColorSettings == null) { + let imageDataColorSettings_1 = html_common.convertDartToNative_Dictionary(imageDataColorSettings_OR_sh); + return html_common.convertNativeToDart_ImageData(this[S$._createImageData_3](data_OR_imagedata_OR_sw, sh_OR_sw, imageDataColorSettings_1)); + } + if (imageDataColorSettings != null && core.int.is(imageDataColorSettings_OR_sh) && sh_OR_sw != null && data_OR_imagedata_OR_sw != null) { + let imageDataColorSettings_1 = html_common.convertDartToNative_Dictionary(imageDataColorSettings); + return html_common.convertNativeToDart_ImageData(this[S$._createImageData_4](data_OR_imagedata_OR_sw, sh_OR_sw, imageDataColorSettings_OR_sh, imageDataColorSettings_1)); + } + dart.throw(new core.ArgumentError.new("Incorrect number or type of arguments")); + } + [S$._createImageData_1](...args) { + return this.createImageData.apply(this, args); + } + [S$._createImageData_2](...args) { + return this.createImageData.apply(this, args); + } + [S$._createImageData_3](...args) { + return this.createImageData.apply(this, args); + } + [S$._createImageData_4](...args) { + return this.createImageData.apply(this, args); + } + [S$.$createLinearGradient](...args) { + return this.createLinearGradient.apply(this, args); + } + [S$.$createPattern](...args) { + return this.createPattern.apply(this, args); + } + [S$.$createRadialGradient](...args) { + return this.createRadialGradient.apply(this, args); + } + [S$.$drawImage](...args) { + return this.drawImage.apply(this, args); + } + [S$.$fill](...args) { + return this.fill.apply(this, args); + } + [S$.$fillRect](...args) { + return this.fillRect.apply(this, args); + } + [S$.$fillText](...args) { + return this.fillText.apply(this, args); + } + [S$.$getImageData](sx, sy, sw, sh) { + if (sx == null) dart.nullFailed(I[147], 24196, 30, "sx"); + if (sy == null) dart.nullFailed(I[147], 24196, 38, "sy"); + if (sw == null) dart.nullFailed(I[147], 24196, 46, "sw"); + if (sh == null) dart.nullFailed(I[147], 24196, 54, "sh"); + return html_common.convertNativeToDart_ImageData(this[S$._getImageData_1](sx, sy, sw, sh)); + } + [S$._getImageData_1](...args) { + return this.getImageData.apply(this, args); + } + [S$.$getLineDash](...args) { + return this.getLineDash.apply(this, args); + } + [S$.$isPointInPath](...args) { + return this.isPointInPath.apply(this, args); + } + [S$.$isPointInStroke](...args) { + return this.isPointInStroke.apply(this, args); + } + [S$.$measureText](...args) { + return this.measureText.apply(this, args); + } + [S$.$putImageData](imagedata, dx, dy, dirtyX = null, dirtyY = null, dirtyWidth = null, dirtyHeight = null) { + if (imagedata == null) dart.nullFailed(I[147], 24212, 31, "imagedata"); + if (dx == null) dart.nullFailed(I[147], 24212, 46, "dx"); + if (dy == null) dart.nullFailed(I[147], 24212, 54, "dy"); + if (dirtyX == null && dirtyY == null && dirtyWidth == null && dirtyHeight == null) { + let imagedata_1 = html_common.convertDartToNative_ImageData(imagedata); + this[S$._putImageData_1](imagedata_1, dx, dy); + return; + } + if (dirtyHeight != null && dirtyWidth != null && dirtyY != null && dirtyX != null) { + let imagedata_1 = html_common.convertDartToNative_ImageData(imagedata); + this[S$._putImageData_2](imagedata_1, dx, dy, dirtyX, dirtyY, dirtyWidth, dirtyHeight); + return; + } + dart.throw(new core.ArgumentError.new("Incorrect number or type of arguments")); + } + [S$._putImageData_1](...args) { + return this.putImageData.apply(this, args); + } + [S$._putImageData_2](...args) { + return this.putImageData.apply(this, args); + } + [S$.$resetTransform](...args) { + return this.resetTransform.apply(this, args); + } + [S$.$restore](...args) { + return this.restore.apply(this, args); + } + [S$.$rotate](...args) { + return this.rotate.apply(this, args); + } + [S$.$save](...args) { + return this.save.apply(this, args); + } + [S$.$scale](...args) { + return this.scale.apply(this, args); + } + [S$.$setLineDash](...args) { + return this.setLineDash.apply(this, args); + } + [S$.$setTransform](...args) { + return this.setTransform.apply(this, args); + } + [S$.$stroke](...args) { + return this.stroke.apply(this, args); + } + [S$.$strokeRect](...args) { + return this.strokeRect.apply(this, args); + } + [S$.$strokeText](...args) { + return this.strokeText.apply(this, args); + } + [S$.$transform](...args) { + return this.transform.apply(this, args); + } + [S.$translate](...args) { + return this.translate.apply(this, args); + } + [S$.$arc](...args) { + return this.arc.apply(this, args); + } + [S$.$arcTo](...args) { + return this.arcTo.apply(this, args); + } + [S$.$bezierCurveTo](...args) { + return this.bezierCurveTo.apply(this, args); + } + [S$.$closePath](...args) { + return this.closePath.apply(this, args); + } + [S$.$ellipse](...args) { + return this.ellipse.apply(this, args); + } + [S$.$lineTo](...args) { + return this.lineTo.apply(this, args); + } + [S$.$moveTo](...args) { + return this.moveTo.apply(this, args); + } + [S$.$quadraticCurveTo](...args) { + return this.quadraticCurveTo.apply(this, args); + } + [S$.$rect](...args) { + return this.rect.apply(this, args); + } + }; + dart.addTypeTests(html$.OffscreenCanvasRenderingContext2D); + dart.addTypeCaches(html$.OffscreenCanvasRenderingContext2D); + html$.OffscreenCanvasRenderingContext2D[dart.implements] = () => [html$._CanvasPath]; + dart.setMethodSignature(html$.OffscreenCanvasRenderingContext2D, () => ({ + __proto__: dart.getMethods(html$.OffscreenCanvasRenderingContext2D.__proto__), + [S$.$beginPath]: dart.fnType(dart.void, []), + [S$.$clearRect]: dart.fnType(dart.void, [core.num, core.num, core.num, core.num]), + [S$.$clip]: dart.fnType(dart.void, [], [dart.nullable(html$.Path2D)]), + [S$2.$commit]: dart.fnType(async.Future, []), + [S$.$createImageData]: dart.fnType(html$.ImageData, [dart.dynamic], [dart.nullable(core.int), dart.dynamic, dart.nullable(core.Map)]), + [S$._createImageData_1]: dart.fnType(dart.dynamic, [dart.dynamic]), + [S$._createImageData_2]: dart.fnType(dart.dynamic, [core.int, dart.dynamic]), + [S$._createImageData_3]: dart.fnType(dart.dynamic, [core.int, dart.dynamic, dart.dynamic]), + [S$._createImageData_4]: dart.fnType(dart.dynamic, [dart.dynamic, dart.dynamic, dart.nullable(core.int), dart.dynamic]), + [S$.$createLinearGradient]: dart.fnType(html$.CanvasGradient, [core.num, core.num, core.num, core.num]), + [S$.$createPattern]: dart.fnType(dart.nullable(html$.CanvasPattern), [dart.dynamic, core.String]), + [S$.$createRadialGradient]: dart.fnType(html$.CanvasGradient, [core.num, core.num, core.num, core.num, core.num, core.num]), + [S$.$drawImage]: dart.fnType(dart.void, [dart.dynamic, core.num, core.num], [dart.nullable(core.num), dart.nullable(core.num), dart.nullable(core.num), dart.nullable(core.num), dart.nullable(core.num), dart.nullable(core.num)]), + [S$.$fill]: dart.fnType(dart.void, [], [dart.dynamic, dart.nullable(core.String)]), + [S$.$fillRect]: dart.fnType(dart.void, [core.num, core.num, core.num, core.num]), + [S$.$fillText]: dart.fnType(dart.void, [core.String, core.num, core.num], [dart.nullable(core.num)]), + [S$.$getImageData]: dart.fnType(html$.ImageData, [core.int, core.int, core.int, core.int]), + [S$._getImageData_1]: dart.fnType(dart.dynamic, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic]), + [S$.$getLineDash]: dart.fnType(core.List$(core.num), []), + [S$.$isPointInPath]: dart.fnType(core.bool, [dart.dynamic, core.num], [dart.dynamic, dart.nullable(core.String)]), + [S$.$isPointInStroke]: dart.fnType(core.bool, [dart.dynamic, core.num], [dart.nullable(core.num)]), + [S$.$measureText]: dart.fnType(html$.TextMetrics, [core.String]), + [S$.$putImageData]: dart.fnType(dart.void, [html$.ImageData, core.int, core.int], [dart.nullable(core.int), dart.nullable(core.int), dart.nullable(core.int), dart.nullable(core.int)]), + [S$._putImageData_1]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic]), + [S$._putImageData_2]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic]), + [S$.$resetTransform]: dart.fnType(dart.void, []), + [S$.$restore]: dart.fnType(dart.void, []), + [S$.$rotate]: dart.fnType(dart.void, [core.num]), + [S$.$save]: dart.fnType(dart.void, []), + [S$.$scale]: dart.fnType(dart.void, [core.num, core.num]), + [S$.$setLineDash]: dart.fnType(dart.void, [core.List$(core.num)]), + [S$.$setTransform]: dart.fnType(dart.void, [core.num, core.num, core.num, core.num, core.num, core.num]), + [S$.$stroke]: dart.fnType(dart.void, [], [dart.nullable(html$.Path2D)]), + [S$.$strokeRect]: dart.fnType(dart.void, [core.num, core.num, core.num, core.num]), + [S$.$strokeText]: dart.fnType(dart.void, [core.String, core.num, core.num], [dart.nullable(core.num)]), + [S$.$transform]: dart.fnType(dart.void, [core.num, core.num, core.num, core.num, core.num, core.num]), + [S.$translate]: dart.fnType(dart.void, [core.num, core.num]), + [S$.$arc]: dart.fnType(dart.void, [core.num, core.num, core.num, core.num, core.num, dart.nullable(core.bool)]), + [S$.$arcTo]: dart.fnType(dart.void, [core.num, core.num, core.num, core.num, core.num]), + [S$.$bezierCurveTo]: dart.fnType(dart.void, [core.num, core.num, core.num, core.num, core.num, core.num]), + [S$.$closePath]: dart.fnType(dart.void, []), + [S$.$ellipse]: dart.fnType(dart.void, [core.num, core.num, core.num, core.num, core.num, core.num, core.num, dart.nullable(core.bool)]), + [S$.$lineTo]: dart.fnType(dart.void, [core.num, core.num]), + [S$.$moveTo]: dart.fnType(dart.void, [core.num, core.num]), + [S$.$quadraticCurveTo]: dart.fnType(dart.void, [core.num, core.num, core.num, core.num]), + [S$.$rect]: dart.fnType(dart.void, [core.num, core.num, core.num, core.num]) + })); + dart.setGetterSignature(html$.OffscreenCanvasRenderingContext2D, () => ({ + __proto__: dart.getGetters(html$.OffscreenCanvasRenderingContext2D.__proto__), + [S$.$canvas]: dart.nullable(html$.OffscreenCanvas), + [S.$direction]: dart.nullable(core.String), + [S$.$fillStyle]: dart.nullable(core.Object), + [S$.$filter]: dart.nullable(core.String), + [S$.$font]: dart.nullable(core.String), + [S$.$globalAlpha]: dart.nullable(core.num), + [S$.$globalCompositeOperation]: dart.nullable(core.String), + [S$.$imageSmoothingEnabled]: dart.nullable(core.bool), + [S$.$imageSmoothingQuality]: dart.nullable(core.String), + [S$.$lineCap]: dart.nullable(core.String), + [S$.$lineDashOffset]: dart.nullable(core.num), + [S$.$lineJoin]: dart.nullable(core.String), + [S$.$lineWidth]: dart.nullable(core.num), + [S$.$miterLimit]: dart.nullable(core.num), + [S$.$shadowBlur]: dart.nullable(core.num), + [S$.$shadowColor]: dart.nullable(core.String), + [S$.$shadowOffsetX]: dart.nullable(core.num), + [S$.$shadowOffsetY]: dart.nullable(core.num), + [S$.$strokeStyle]: dart.nullable(core.Object), + [S$.$textAlign]: dart.nullable(core.String), + [S$.$textBaseline]: dart.nullable(core.String) + })); + dart.setSetterSignature(html$.OffscreenCanvasRenderingContext2D, () => ({ + __proto__: dart.getSetters(html$.OffscreenCanvasRenderingContext2D.__proto__), + [S.$direction]: dart.nullable(core.String), + [S$.$fillStyle]: dart.nullable(core.Object), + [S$.$filter]: dart.nullable(core.String), + [S$.$font]: dart.nullable(core.String), + [S$.$globalAlpha]: dart.nullable(core.num), + [S$.$globalCompositeOperation]: dart.nullable(core.String), + [S$.$imageSmoothingEnabled]: dart.nullable(core.bool), + [S$.$imageSmoothingQuality]: dart.nullable(core.String), + [S$.$lineCap]: dart.nullable(core.String), + [S$.$lineDashOffset]: dart.nullable(core.num), + [S$.$lineJoin]: dart.nullable(core.String), + [S$.$lineWidth]: dart.nullable(core.num), + [S$.$miterLimit]: dart.nullable(core.num), + [S$.$shadowBlur]: dart.nullable(core.num), + [S$.$shadowColor]: dart.nullable(core.String), + [S$.$shadowOffsetX]: dart.nullable(core.num), + [S$.$shadowOffsetY]: dart.nullable(core.num), + [S$.$strokeStyle]: dart.nullable(core.Object), + [S$.$textAlign]: dart.nullable(core.String), + [S$.$textBaseline]: dart.nullable(core.String) + })); + dart.setLibraryUri(html$.OffscreenCanvasRenderingContext2D, I[148]); + dart.registerExtension("OffscreenCanvasRenderingContext2D", html$.OffscreenCanvasRenderingContext2D); + html$.OptGroupElement = class OptGroupElement extends html$.HtmlElement { + static new() { + return html$.document.createElement("optgroup"); + } + get [S$.$disabled]() { + return this.disabled; + } + set [S$.$disabled](value) { + this.disabled = value; + } + get [S$.$label]() { + return this.label; + } + set [S$.$label](value) { + this.label = value; + } + }; + (html$.OptGroupElement.created = function() { + html$.OptGroupElement.__proto__.created.call(this); + ; + }).prototype = html$.OptGroupElement.prototype; + dart.addTypeTests(html$.OptGroupElement); + dart.addTypeCaches(html$.OptGroupElement); + dart.setGetterSignature(html$.OptGroupElement, () => ({ + __proto__: dart.getGetters(html$.OptGroupElement.__proto__), + [S$.$disabled]: core.bool, + [S$.$label]: core.String + })); + dart.setSetterSignature(html$.OptGroupElement, () => ({ + __proto__: dart.getSetters(html$.OptGroupElement.__proto__), + [S$.$disabled]: core.bool, + [S$.$label]: core.String + })); + dart.setLibraryUri(html$.OptGroupElement, I[148]); + dart.registerExtension("HTMLOptGroupElement", html$.OptGroupElement); + html$.OptionElement = class OptionElement extends html$.HtmlElement { + static new(opts) { + let data = opts && 'data' in opts ? opts.data : ""; + if (data == null) dart.nullFailed(I[147], 24325, 15, "data"); + let value = opts && 'value' in opts ? opts.value : ""; + if (value == null) dart.nullFailed(I[147], 24325, 32, "value"); + let selected = opts && 'selected' in opts ? opts.selected : false; + if (selected == null) dart.nullFailed(I[147], 24325, 48, "selected"); + return html$.OptionElement.__(data, value, null, selected); + } + static __(data = null, value = null, defaultSelected = null, selected = null) { + if (selected != null) { + return html$.OptionElement._create_1(data, value, defaultSelected, selected); + } + if (defaultSelected != null) { + return html$.OptionElement._create_2(data, value, defaultSelected); + } + if (value != null) { + return html$.OptionElement._create_3(data, value); + } + if (data != null) { + return html$.OptionElement._create_4(data); + } + return html$.OptionElement._create_5(); + } + static _create_1(data, value, defaultSelected, selected) { + return new Option(data, value, defaultSelected, selected); + } + static _create_2(data, value, defaultSelected) { + return new Option(data, value, defaultSelected); + } + static _create_3(data, value) { + return new Option(data, value); + } + static _create_4(data) { + return new Option(data); + } + static _create_5() { + return new Option(); + } + get [S$2.$defaultSelected]() { + return this.defaultSelected; + } + set [S$2.$defaultSelected](value) { + this.defaultSelected = value; + } + get [S$.$disabled]() { + return this.disabled; + } + set [S$.$disabled](value) { + this.disabled = value; + } + get [S$.$form]() { + return this.form; + } + get [S.$index]() { + return this.index; + } + get [S$.$label]() { + return this.label; + } + set [S$.$label](value) { + this.label = value; + } + get [S$.$selected]() { + return this.selected; + } + set [S$.$selected](value) { + this.selected = value; + } + get [S.$value]() { + return this.value; + } + set [S.$value](value) { + this.value = value; + } + }; + (html$.OptionElement.created = function() { + html$.OptionElement.__proto__.created.call(this); + ; + }).prototype = html$.OptionElement.prototype; + dart.addTypeTests(html$.OptionElement); + dart.addTypeCaches(html$.OptionElement); + dart.setGetterSignature(html$.OptionElement, () => ({ + __proto__: dart.getGetters(html$.OptionElement.__proto__), + [S$2.$defaultSelected]: core.bool, + [S$.$disabled]: core.bool, + [S$.$form]: dart.nullable(html$.FormElement), + [S.$index]: core.int, + [S$.$label]: dart.nullable(core.String), + [S$.$selected]: core.bool, + [S.$value]: core.String + })); + dart.setSetterSignature(html$.OptionElement, () => ({ + __proto__: dart.getSetters(html$.OptionElement.__proto__), + [S$2.$defaultSelected]: core.bool, + [S$.$disabled]: core.bool, + [S$.$label]: dart.nullable(core.String), + [S$.$selected]: core.bool, + [S.$value]: core.String + })); + dart.setLibraryUri(html$.OptionElement, I[148]); + dart.registerExtension("HTMLOptionElement", html$.OptionElement); + html$.OutputElement = class OutputElement extends html$.HtmlElement { + static new() { + return html$.OutputElement.as(html$.document[S.$createElement]("output")); + } + static get supported() { + return html$.Element.isTagSupported("output"); + } + get [S$1.$defaultValue]() { + return this.defaultValue; + } + set [S$1.$defaultValue](value) { + this.defaultValue = value; + } + get [S$.$form]() { + return this.form; + } + get [S$1.$htmlFor]() { + return this.htmlFor; + } + get [S$.$labels]() { + return this.labels; + } + get [$name]() { + return this.name; + } + set [$name](value) { + this.name = value; + } + get [S.$type]() { + return this.type; + } + get [S$.$validationMessage]() { + return this.validationMessage; + } + get [S$.$validity]() { + return this.validity; + } + get [S.$value]() { + return this.value; + } + set [S.$value](value) { + this.value = value; + } + get [S$.$willValidate]() { + return this.willValidate; + } + [S$.$checkValidity](...args) { + return this.checkValidity.apply(this, args); + } + [S$.$reportValidity](...args) { + return this.reportValidity.apply(this, args); + } + [S$.$setCustomValidity](...args) { + return this.setCustomValidity.apply(this, args); + } + }; + (html$.OutputElement.created = function() { + html$.OutputElement.__proto__.created.call(this); + ; + }).prototype = html$.OutputElement.prototype; + dart.addTypeTests(html$.OutputElement); + dart.addTypeCaches(html$.OutputElement); + dart.setMethodSignature(html$.OutputElement, () => ({ + __proto__: dart.getMethods(html$.OutputElement.__proto__), + [S$.$checkValidity]: dart.fnType(core.bool, []), + [S$.$reportValidity]: dart.fnType(core.bool, []), + [S$.$setCustomValidity]: dart.fnType(dart.void, [core.String]) + })); + dart.setGetterSignature(html$.OutputElement, () => ({ + __proto__: dart.getGetters(html$.OutputElement.__proto__), + [S$1.$defaultValue]: dart.nullable(core.String), + [S$.$form]: dart.nullable(html$.FormElement), + [S$1.$htmlFor]: dart.nullable(html$.DomTokenList), + [S$.$labels]: dart.nullable(core.List$(html$.Node)), + [$name]: dart.nullable(core.String), + [S.$type]: dart.nullable(core.String), + [S$.$validationMessage]: dart.nullable(core.String), + [S$.$validity]: dart.nullable(html$.ValidityState), + [S.$value]: dart.nullable(core.String), + [S$.$willValidate]: dart.nullable(core.bool) + })); + dart.setSetterSignature(html$.OutputElement, () => ({ + __proto__: dart.getSetters(html$.OutputElement.__proto__), + [S$1.$defaultValue]: dart.nullable(core.String), + [$name]: dart.nullable(core.String), + [S.$value]: dart.nullable(core.String) + })); + dart.setLibraryUri(html$.OutputElement, I[148]); + dart.registerExtension("HTMLOutputElement", html$.OutputElement); + html$.OverconstrainedError = class OverconstrainedError$ extends _interceptors.Interceptor { + static new(constraint, message) { + if (constraint == null) dart.nullFailed(I[147], 24476, 39, "constraint"); + if (message == null) dart.nullFailed(I[147], 24476, 58, "message"); + return html$.OverconstrainedError._create_1(constraint, message); + } + static _create_1(constraint, message) { + return new OverconstrainedError(constraint, message); + } + get [S$2.$constraint]() { + return this.constraint; + } + get [$message]() { + return this.message; + } + get [$name]() { + return this.name; + } + }; + dart.addTypeTests(html$.OverconstrainedError); + dart.addTypeCaches(html$.OverconstrainedError); + dart.setGetterSignature(html$.OverconstrainedError, () => ({ + __proto__: dart.getGetters(html$.OverconstrainedError.__proto__), + [S$2.$constraint]: dart.nullable(core.String), + [$message]: dart.nullable(core.String), + [$name]: dart.nullable(core.String) + })); + dart.setLibraryUri(html$.OverconstrainedError, I[148]); + dart.registerExtension("OverconstrainedError", html$.OverconstrainedError); + html$.PageTransitionEvent = class PageTransitionEvent$ extends html$.Event { + static new(type, eventInitDict = null) { + if (type == null) dart.nullFailed(I[147], 24502, 38, "type"); + if (eventInitDict != null) { + let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); + return html$.PageTransitionEvent._create_1(type, eventInitDict_1); + } + return html$.PageTransitionEvent._create_2(type); + } + static _create_1(type, eventInitDict) { + return new PageTransitionEvent(type, eventInitDict); + } + static _create_2(type) { + return new PageTransitionEvent(type); + } + get [S$2.$persisted]() { + return this.persisted; + } + }; + dart.addTypeTests(html$.PageTransitionEvent); + dart.addTypeCaches(html$.PageTransitionEvent); + dart.setGetterSignature(html$.PageTransitionEvent, () => ({ + __proto__: dart.getGetters(html$.PageTransitionEvent.__proto__), + [S$2.$persisted]: dart.nullable(core.bool) + })); + dart.setLibraryUri(html$.PageTransitionEvent, I[148]); + dart.registerExtension("PageTransitionEvent", html$.PageTransitionEvent); + html$.PaintRenderingContext2D = class PaintRenderingContext2D extends _interceptors.Interceptor { + get [S$.$currentTransform]() { + return this.currentTransform; + } + set [S$.$currentTransform](value) { + this.currentTransform = value; + } + get [S$.$fillStyle]() { + return this.fillStyle; + } + set [S$.$fillStyle](value) { + this.fillStyle = value; + } + get [S$.$filter]() { + return this.filter; + } + set [S$.$filter](value) { + this.filter = value; + } + get [S$.$globalAlpha]() { + return this.globalAlpha; + } + set [S$.$globalAlpha](value) { + this.globalAlpha = value; + } + get [S$.$globalCompositeOperation]() { + return this.globalCompositeOperation; + } + set [S$.$globalCompositeOperation](value) { + this.globalCompositeOperation = value; + } + get [S$.$imageSmoothingEnabled]() { + return this.imageSmoothingEnabled; + } + set [S$.$imageSmoothingEnabled](value) { + this.imageSmoothingEnabled = value; + } + get [S$.$imageSmoothingQuality]() { + return this.imageSmoothingQuality; + } + set [S$.$imageSmoothingQuality](value) { + this.imageSmoothingQuality = value; + } + get [S$.$lineCap]() { + return this.lineCap; + } + set [S$.$lineCap](value) { + this.lineCap = value; + } + get [S$.$lineDashOffset]() { + return this.lineDashOffset; + } + set [S$.$lineDashOffset](value) { + this.lineDashOffset = value; + } + get [S$.$lineJoin]() { + return this.lineJoin; + } + set [S$.$lineJoin](value) { + this.lineJoin = value; + } + get [S$.$lineWidth]() { + return this.lineWidth; + } + set [S$.$lineWidth](value) { + this.lineWidth = value; + } + get [S$.$miterLimit]() { + return this.miterLimit; + } + set [S$.$miterLimit](value) { + this.miterLimit = value; + } + get [S$.$shadowBlur]() { + return this.shadowBlur; + } + set [S$.$shadowBlur](value) { + this.shadowBlur = value; + } + get [S$.$shadowColor]() { + return this.shadowColor; + } + set [S$.$shadowColor](value) { + this.shadowColor = value; + } + get [S$.$shadowOffsetX]() { + return this.shadowOffsetX; + } + set [S$.$shadowOffsetX](value) { + this.shadowOffsetX = value; + } + get [S$.$shadowOffsetY]() { + return this.shadowOffsetY; + } + set [S$.$shadowOffsetY](value) { + this.shadowOffsetY = value; + } + get [S$.$strokeStyle]() { + return this.strokeStyle; + } + set [S$.$strokeStyle](value) { + this.strokeStyle = value; + } + [S$.$beginPath](...args) { + return this.beginPath.apply(this, args); + } + [S$.$clearRect](...args) { + return this.clearRect.apply(this, args); + } + [S$.$clip](...args) { + return this.clip.apply(this, args); + } + [S$.$createLinearGradient](...args) { + return this.createLinearGradient.apply(this, args); + } + [S$.$createPattern](...args) { + return this.createPattern.apply(this, args); + } + [S$.$createRadialGradient](...args) { + return this.createRadialGradient.apply(this, args); + } + [S$.$drawImage](...args) { + return this.drawImage.apply(this, args); + } + [S$.$fill](...args) { + return this.fill.apply(this, args); + } + [S$.$fillRect](...args) { + return this.fillRect.apply(this, args); + } + [S$.$getLineDash](...args) { + return this.getLineDash.apply(this, args); + } + [S$.$isPointInPath](...args) { + return this.isPointInPath.apply(this, args); + } + [S$.$isPointInStroke](...args) { + return this.isPointInStroke.apply(this, args); + } + [S$.$resetTransform](...args) { + return this.resetTransform.apply(this, args); + } + [S$.$restore](...args) { + return this.restore.apply(this, args); + } + [S$.$rotate](...args) { + return this.rotate.apply(this, args); + } + [S$.$save](...args) { + return this.save.apply(this, args); + } + [S$.$scale](...args) { + return this.scale.apply(this, args); + } + [S$.$setLineDash](...args) { + return this.setLineDash.apply(this, args); + } + [S$.$setTransform](...args) { + return this.setTransform.apply(this, args); + } + [S$.$stroke](...args) { + return this.stroke.apply(this, args); + } + [S$.$strokeRect](...args) { + return this.strokeRect.apply(this, args); + } + [S$.$transform](...args) { + return this.transform.apply(this, args); + } + [S.$translate](...args) { + return this.translate.apply(this, args); + } + [S$.$arc](...args) { + return this.arc.apply(this, args); + } + [S$.$arcTo](...args) { + return this.arcTo.apply(this, args); + } + [S$.$bezierCurveTo](...args) { + return this.bezierCurveTo.apply(this, args); + } + [S$.$closePath](...args) { + return this.closePath.apply(this, args); + } + [S$.$ellipse](...args) { + return this.ellipse.apply(this, args); + } + [S$.$lineTo](...args) { + return this.lineTo.apply(this, args); + } + [S$.$moveTo](...args) { + return this.moveTo.apply(this, args); + } + [S$.$quadraticCurveTo](...args) { + return this.quadraticCurveTo.apply(this, args); + } + [S$.$rect](...args) { + return this.rect.apply(this, args); + } + }; + dart.addTypeTests(html$.PaintRenderingContext2D); + dart.addTypeCaches(html$.PaintRenderingContext2D); + html$.PaintRenderingContext2D[dart.implements] = () => [html$._CanvasPath]; + dart.setMethodSignature(html$.PaintRenderingContext2D, () => ({ + __proto__: dart.getMethods(html$.PaintRenderingContext2D.__proto__), + [S$.$beginPath]: dart.fnType(dart.void, []), + [S$.$clearRect]: dart.fnType(dart.void, [core.num, core.num, core.num, core.num]), + [S$.$clip]: dart.fnType(dart.void, [], [dart.dynamic, dart.nullable(core.String)]), + [S$.$createLinearGradient]: dart.fnType(html$.CanvasGradient, [core.num, core.num, core.num, core.num]), + [S$.$createPattern]: dart.fnType(dart.nullable(html$.CanvasPattern), [dart.dynamic, core.String]), + [S$.$createRadialGradient]: dart.fnType(html$.CanvasGradient, [core.num, core.num, core.num, core.num, core.num, core.num]), + [S$.$drawImage]: dart.fnType(dart.void, [dart.dynamic, core.num, core.num], [dart.nullable(core.num), dart.nullable(core.num), dart.nullable(core.num), dart.nullable(core.num), dart.nullable(core.num), dart.nullable(core.num)]), + [S$.$fill]: dart.fnType(dart.void, [], [dart.dynamic, dart.nullable(core.String)]), + [S$.$fillRect]: dart.fnType(dart.void, [core.num, core.num, core.num, core.num]), + [S$.$getLineDash]: dart.fnType(core.List$(core.num), []), + [S$.$isPointInPath]: dart.fnType(core.bool, [dart.dynamic, core.num], [dart.dynamic, dart.nullable(core.String)]), + [S$.$isPointInStroke]: dart.fnType(core.bool, [dart.dynamic, core.num], [dart.nullable(core.num)]), + [S$.$resetTransform]: dart.fnType(dart.void, []), + [S$.$restore]: dart.fnType(dart.void, []), + [S$.$rotate]: dart.fnType(dart.void, [core.num]), + [S$.$save]: dart.fnType(dart.void, []), + [S$.$scale]: dart.fnType(dart.void, [core.num, core.num]), + [S$.$setLineDash]: dart.fnType(dart.void, [core.List$(core.num)]), + [S$.$setTransform]: dart.fnType(dart.void, [core.num, core.num, core.num, core.num, core.num, core.num]), + [S$.$stroke]: dart.fnType(dart.void, [], [dart.nullable(html$.Path2D)]), + [S$.$strokeRect]: dart.fnType(dart.void, [core.num, core.num, core.num, core.num]), + [S$.$transform]: dart.fnType(dart.void, [core.num, core.num, core.num, core.num, core.num, core.num]), + [S.$translate]: dart.fnType(dart.void, [core.num, core.num]), + [S$.$arc]: dart.fnType(dart.void, [core.num, core.num, core.num, core.num, core.num, dart.nullable(core.bool)]), + [S$.$arcTo]: dart.fnType(dart.void, [core.num, core.num, core.num, core.num, core.num]), + [S$.$bezierCurveTo]: dart.fnType(dart.void, [core.num, core.num, core.num, core.num, core.num, core.num]), + [S$.$closePath]: dart.fnType(dart.void, []), + [S$.$ellipse]: dart.fnType(dart.void, [core.num, core.num, core.num, core.num, core.num, core.num, core.num, dart.nullable(core.bool)]), + [S$.$lineTo]: dart.fnType(dart.void, [core.num, core.num]), + [S$.$moveTo]: dart.fnType(dart.void, [core.num, core.num]), + [S$.$quadraticCurveTo]: dart.fnType(dart.void, [core.num, core.num, core.num, core.num]), + [S$.$rect]: dart.fnType(dart.void, [core.num, core.num, core.num, core.num]) + })); + dart.setGetterSignature(html$.PaintRenderingContext2D, () => ({ + __proto__: dart.getGetters(html$.PaintRenderingContext2D.__proto__), + [S$.$currentTransform]: dart.nullable(svg$.Matrix), + [S$.$fillStyle]: dart.nullable(core.Object), + [S$.$filter]: dart.nullable(core.String), + [S$.$globalAlpha]: dart.nullable(core.num), + [S$.$globalCompositeOperation]: dart.nullable(core.String), + [S$.$imageSmoothingEnabled]: dart.nullable(core.bool), + [S$.$imageSmoothingQuality]: dart.nullable(core.String), + [S$.$lineCap]: dart.nullable(core.String), + [S$.$lineDashOffset]: dart.nullable(core.num), + [S$.$lineJoin]: dart.nullable(core.String), + [S$.$lineWidth]: dart.nullable(core.num), + [S$.$miterLimit]: dart.nullable(core.num), + [S$.$shadowBlur]: dart.nullable(core.num), + [S$.$shadowColor]: dart.nullable(core.String), + [S$.$shadowOffsetX]: dart.nullable(core.num), + [S$.$shadowOffsetY]: dart.nullable(core.num), + [S$.$strokeStyle]: dart.nullable(core.Object) + })); + dart.setSetterSignature(html$.PaintRenderingContext2D, () => ({ + __proto__: dart.getSetters(html$.PaintRenderingContext2D.__proto__), + [S$.$currentTransform]: dart.nullable(svg$.Matrix), + [S$.$fillStyle]: dart.nullable(core.Object), + [S$.$filter]: dart.nullable(core.String), + [S$.$globalAlpha]: dart.nullable(core.num), + [S$.$globalCompositeOperation]: dart.nullable(core.String), + [S$.$imageSmoothingEnabled]: dart.nullable(core.bool), + [S$.$imageSmoothingQuality]: dart.nullable(core.String), + [S$.$lineCap]: dart.nullable(core.String), + [S$.$lineDashOffset]: dart.nullable(core.num), + [S$.$lineJoin]: dart.nullable(core.String), + [S$.$lineWidth]: dart.nullable(core.num), + [S$.$miterLimit]: dart.nullable(core.num), + [S$.$shadowBlur]: dart.nullable(core.num), + [S$.$shadowColor]: dart.nullable(core.String), + [S$.$shadowOffsetX]: dart.nullable(core.num), + [S$.$shadowOffsetY]: dart.nullable(core.num), + [S$.$strokeStyle]: dart.nullable(core.Object) + })); + dart.setLibraryUri(html$.PaintRenderingContext2D, I[148]); + dart.registerExtension("PaintRenderingContext2D", html$.PaintRenderingContext2D); + html$.PaintSize = class PaintSize extends _interceptors.Interceptor { + get [$height]() { + return this.height; + } + get [$width]() { + return this.width; + } + }; + dart.addTypeTests(html$.PaintSize); + dart.addTypeCaches(html$.PaintSize); + dart.setGetterSignature(html$.PaintSize, () => ({ + __proto__: dart.getGetters(html$.PaintSize.__proto__), + [$height]: dart.nullable(core.num), + [$width]: dart.nullable(core.num) + })); + dart.setLibraryUri(html$.PaintSize, I[148]); + dart.registerExtension("PaintSize", html$.PaintSize); + html$.PaintWorkletGlobalScope = class PaintWorkletGlobalScope extends html$.WorkletGlobalScope { + get [S$2.$devicePixelRatio]() { + return this.devicePixelRatio; + } + [S$2.$registerPaint](...args) { + return this.registerPaint.apply(this, args); + } + }; + dart.addTypeTests(html$.PaintWorkletGlobalScope); + dart.addTypeCaches(html$.PaintWorkletGlobalScope); + dart.setMethodSignature(html$.PaintWorkletGlobalScope, () => ({ + __proto__: dart.getMethods(html$.PaintWorkletGlobalScope.__proto__), + [S$2.$registerPaint]: dart.fnType(dart.void, [core.String, core.Object]) + })); + dart.setGetterSignature(html$.PaintWorkletGlobalScope, () => ({ + __proto__: dart.getGetters(html$.PaintWorkletGlobalScope.__proto__), + [S$2.$devicePixelRatio]: dart.nullable(core.num) + })); + dart.setLibraryUri(html$.PaintWorkletGlobalScope, I[148]); + dart.registerExtension("PaintWorkletGlobalScope", html$.PaintWorkletGlobalScope); + html$.ParagraphElement = class ParagraphElement extends html$.HtmlElement { + static new() { + return html$.document.createElement("p"); + } + }; + (html$.ParagraphElement.created = function() { + html$.ParagraphElement.__proto__.created.call(this); + ; + }).prototype = html$.ParagraphElement.prototype; + dart.addTypeTests(html$.ParagraphElement); + dart.addTypeCaches(html$.ParagraphElement); + dart.setLibraryUri(html$.ParagraphElement, I[148]); + dart.registerExtension("HTMLParagraphElement", html$.ParagraphElement); + html$.ParamElement = class ParamElement extends html$.HtmlElement { + static new() { + return html$.document.createElement("param"); + } + get [$name]() { + return this.name; + } + set [$name](value) { + this.name = value; + } + get [S.$value]() { + return this.value; + } + set [S.$value](value) { + this.value = value; + } + }; + (html$.ParamElement.created = function() { + html$.ParamElement.__proto__.created.call(this); + ; + }).prototype = html$.ParamElement.prototype; + dart.addTypeTests(html$.ParamElement); + dart.addTypeCaches(html$.ParamElement); + dart.setGetterSignature(html$.ParamElement, () => ({ + __proto__: dart.getGetters(html$.ParamElement.__proto__), + [$name]: core.String, + [S.$value]: core.String + })); + dart.setSetterSignature(html$.ParamElement, () => ({ + __proto__: dart.getSetters(html$.ParamElement.__proto__), + [$name]: core.String, + [S.$value]: core.String + })); + dart.setLibraryUri(html$.ParamElement, I[148]); + dart.registerExtension("HTMLParamElement", html$.ParamElement); + html$.ParentNode = class ParentNode extends _interceptors.Interceptor { + get [S._childElementCount]() { + return this._childElementCount; + } + get [S._children]() { + return this._children; + } + get [S._firstElementChild]() { + return this._firstElementChild; + } + get [S._lastElementChild]() { + return this._lastElementChild; + } + }; + dart.addTypeTests(html$.ParentNode); + dart.addTypeCaches(html$.ParentNode); + dart.setGetterSignature(html$.ParentNode, () => ({ + __proto__: dart.getGetters(html$.ParentNode.__proto__), + [S._childElementCount]: core.int, + [S._children]: dart.nullable(core.List$(html$.Node)), + [S._firstElementChild]: dart.nullable(html$.Element), + [S._lastElementChild]: dart.nullable(html$.Element) + })); + dart.setLibraryUri(html$.ParentNode, I[148]); + html$.PasswordCredential = class PasswordCredential$ extends html$.Credential { + static new(data_OR_form) { + if (core.Map.is(data_OR_form)) { + let data_1 = html_common.convertDartToNative_Dictionary(data_OR_form); + return html$.PasswordCredential._create_1(data_1); + } + if (html$.FormElement.is(data_OR_form)) { + return html$.PasswordCredential._create_2(data_OR_form); + } + dart.throw(new core.ArgumentError.new("Incorrect number or type of arguments")); + } + static _create_1(data_OR_form) { + return new PasswordCredential(data_OR_form); + } + static _create_2(data_OR_form) { + return new PasswordCredential(data_OR_form); + } + get [S$2.$additionalData]() { + return this.additionalData; + } + set [S$2.$additionalData](value) { + this.additionalData = value; + } + get [S$2.$idName]() { + return this.idName; + } + set [S$2.$idName](value) { + this.idName = value; + } + get [S$.$password]() { + return this.password; + } + get [S$2.$passwordName]() { + return this.passwordName; + } + set [S$2.$passwordName](value) { + this.passwordName = value; + } + get [S$.$iconUrl]() { + return this.iconURL; + } + get [$name]() { + return this.name; + } + }; + dart.addTypeTests(html$.PasswordCredential); + dart.addTypeCaches(html$.PasswordCredential); + html$.PasswordCredential[dart.implements] = () => [html$.CredentialUserData]; + dart.setGetterSignature(html$.PasswordCredential, () => ({ + __proto__: dart.getGetters(html$.PasswordCredential.__proto__), + [S$2.$additionalData]: dart.nullable(core.Object), + [S$2.$idName]: dart.nullable(core.String), + [S$.$password]: dart.nullable(core.String), + [S$2.$passwordName]: dart.nullable(core.String), + [S$.$iconUrl]: dart.nullable(core.String), + [$name]: dart.nullable(core.String) + })); + dart.setSetterSignature(html$.PasswordCredential, () => ({ + __proto__: dart.getSetters(html$.PasswordCredential.__proto__), + [S$2.$additionalData]: dart.nullable(core.Object), + [S$2.$idName]: dart.nullable(core.String), + [S$2.$passwordName]: dart.nullable(core.String) + })); + dart.setLibraryUri(html$.PasswordCredential, I[148]); + dart.registerExtension("PasswordCredential", html$.PasswordCredential); + html$.Path2D = class Path2D$ extends _interceptors.Interceptor { + static new(path_OR_text = null) { + if (path_OR_text == null) { + return html$.Path2D._create_1(); + } + if (html$.Path2D.is(path_OR_text)) { + return html$.Path2D._create_2(path_OR_text); + } + if (typeof path_OR_text == 'string') { + return html$.Path2D._create_3(path_OR_text); + } + dart.throw(new core.ArgumentError.new("Incorrect number or type of arguments")); + } + static _create_1() { + return new Path2D(); + } + static _create_2(path_OR_text) { + return new Path2D(path_OR_text); + } + static _create_3(path_OR_text) { + return new Path2D(path_OR_text); + } + [S$2.$addPath](...args) { + return this.addPath.apply(this, args); + } + [S$.$arc](...args) { + return this.arc.apply(this, args); + } + [S$.$arcTo](...args) { + return this.arcTo.apply(this, args); + } + [S$.$bezierCurveTo](...args) { + return this.bezierCurveTo.apply(this, args); + } + [S$.$closePath](...args) { + return this.closePath.apply(this, args); + } + [S$.$ellipse](...args) { + return this.ellipse.apply(this, args); + } + [S$.$lineTo](...args) { + return this.lineTo.apply(this, args); + } + [S$.$moveTo](...args) { + return this.moveTo.apply(this, args); + } + [S$.$quadraticCurveTo](...args) { + return this.quadraticCurveTo.apply(this, args); + } + [S$.$rect](...args) { + return this.rect.apply(this, args); + } + }; + dart.addTypeTests(html$.Path2D); + dart.addTypeCaches(html$.Path2D); + html$.Path2D[dart.implements] = () => [html$._CanvasPath]; + dart.setMethodSignature(html$.Path2D, () => ({ + __proto__: dart.getMethods(html$.Path2D.__proto__), + [S$2.$addPath]: dart.fnType(dart.void, [html$.Path2D], [dart.nullable(svg$.Matrix)]), + [S$.$arc]: dart.fnType(dart.void, [core.num, core.num, core.num, core.num, core.num, dart.nullable(core.bool)]), + [S$.$arcTo]: dart.fnType(dart.void, [core.num, core.num, core.num, core.num, core.num]), + [S$.$bezierCurveTo]: dart.fnType(dart.void, [core.num, core.num, core.num, core.num, core.num, core.num]), + [S$.$closePath]: dart.fnType(dart.void, []), + [S$.$ellipse]: dart.fnType(dart.void, [core.num, core.num, core.num, core.num, core.num, core.num, core.num, dart.nullable(core.bool)]), + [S$.$lineTo]: dart.fnType(dart.void, [core.num, core.num]), + [S$.$moveTo]: dart.fnType(dart.void, [core.num, core.num]), + [S$.$quadraticCurveTo]: dart.fnType(dart.void, [core.num, core.num, core.num, core.num]), + [S$.$rect]: dart.fnType(dart.void, [core.num, core.num, core.num, core.num]) + })); + dart.setLibraryUri(html$.Path2D, I[148]); + dart.registerExtension("Path2D", html$.Path2D); + html$.PaymentAddress = class PaymentAddress extends _interceptors.Interceptor { + get [S$2.$addressLine]() { + return this.addressLine; + } + get [S$2.$city]() { + return this.city; + } + get [S$2.$country]() { + return this.country; + } + get [S$2.$dependentLocality]() { + return this.dependentLocality; + } + get [S$2.$languageCode]() { + return this.languageCode; + } + get [S$2.$organization]() { + return this.organization; + } + get [S$2.$phone]() { + return this.phone; + } + get [S$2.$postalCode]() { + return this.postalCode; + } + get [S$2.$recipient]() { + return this.recipient; + } + get [S$1.$region]() { + return this.region; + } + get [S$2.$sortingCode]() { + return this.sortingCode; + } + }; + dart.addTypeTests(html$.PaymentAddress); + dart.addTypeCaches(html$.PaymentAddress); + dart.setGetterSignature(html$.PaymentAddress, () => ({ + __proto__: dart.getGetters(html$.PaymentAddress.__proto__), + [S$2.$addressLine]: dart.nullable(core.List$(core.String)), + [S$2.$city]: dart.nullable(core.String), + [S$2.$country]: dart.nullable(core.String), + [S$2.$dependentLocality]: dart.nullable(core.String), + [S$2.$languageCode]: dart.nullable(core.String), + [S$2.$organization]: dart.nullable(core.String), + [S$2.$phone]: dart.nullable(core.String), + [S$2.$postalCode]: dart.nullable(core.String), + [S$2.$recipient]: dart.nullable(core.String), + [S$1.$region]: dart.nullable(core.String), + [S$2.$sortingCode]: dart.nullable(core.String) + })); + dart.setLibraryUri(html$.PaymentAddress, I[148]); + dart.registerExtension("PaymentAddress", html$.PaymentAddress); + html$.PaymentInstruments = class PaymentInstruments extends _interceptors.Interceptor { + [$clear]() { + return js_util.promiseToFuture(dart.dynamic, this.clear()); + } + [S.$delete](instrumentKey) { + if (instrumentKey == null) dart.nullFailed(I[147], 24930, 30, "instrumentKey"); + return js_util.promiseToFuture(core.bool, this.delete(instrumentKey)); + } + [S.$get](instrumentKey) { + if (instrumentKey == null) dart.nullFailed(I[147], 24933, 44, "instrumentKey"); + return html$.promiseToFutureAsMap(this.get(instrumentKey)); + } + [S$.$has](instrumentKey) { + if (instrumentKey == null) dart.nullFailed(I[147], 24936, 21, "instrumentKey"); + return js_util.promiseToFuture(dart.dynamic, this.has(instrumentKey)); + } + [$keys]() { + return js_util.promiseToFuture(core.List, this.keys()); + } + [S$.$set](instrumentKey, details) { + if (instrumentKey == null) dart.nullFailed(I[147], 24942, 21, "instrumentKey"); + if (details == null) dart.nullFailed(I[147], 24942, 40, "details"); + let details_dict = html_common.convertDartToNative_Dictionary(details); + return js_util.promiseToFuture(dart.dynamic, this.set(instrumentKey, details_dict)); + } + }; + dart.addTypeTests(html$.PaymentInstruments); + dart.addTypeCaches(html$.PaymentInstruments); + dart.setMethodSignature(html$.PaymentInstruments, () => ({ + __proto__: dart.getMethods(html$.PaymentInstruments.__proto__), + [$clear]: dart.fnType(async.Future, []), + [S.$delete]: dart.fnType(async.Future$(core.bool), [core.String]), + [S.$get]: dart.fnType(async.Future$(dart.nullable(core.Map$(core.String, dart.dynamic))), [core.String]), + [S$.$has]: dart.fnType(async.Future, [core.String]), + [$keys]: dart.fnType(async.Future$(core.List), []), + [S$.$set]: dart.fnType(async.Future, [core.String, core.Map]) + })); + dart.setLibraryUri(html$.PaymentInstruments, I[148]); + dart.registerExtension("PaymentInstruments", html$.PaymentInstruments); + html$.PaymentManager = class PaymentManager extends _interceptors.Interceptor { + get [S$2.$instruments]() { + return this.instruments; + } + get [S$2.$userHint]() { + return this.userHint; + } + set [S$2.$userHint](value) { + this.userHint = value; + } + }; + dart.addTypeTests(html$.PaymentManager); + dart.addTypeCaches(html$.PaymentManager); + dart.setGetterSignature(html$.PaymentManager, () => ({ + __proto__: dart.getGetters(html$.PaymentManager.__proto__), + [S$2.$instruments]: dart.nullable(html$.PaymentInstruments), + [S$2.$userHint]: dart.nullable(core.String) + })); + dart.setSetterSignature(html$.PaymentManager, () => ({ + __proto__: dart.getSetters(html$.PaymentManager.__proto__), + [S$2.$userHint]: dart.nullable(core.String) + })); + dart.setLibraryUri(html$.PaymentManager, I[148]); + dart.registerExtension("PaymentManager", html$.PaymentManager); + html$.PaymentRequest = class PaymentRequest$ extends html$.EventTarget { + static new(methodData, details, options = null) { + if (methodData == null) dart.nullFailed(I[147], 24971, 36, "methodData"); + if (details == null) dart.nullFailed(I[147], 24971, 52, "details"); + let methodData_1 = []; + for (let i of methodData) { + methodData_1[$add](html_common.convertDartToNative_Dictionary(i)); + } + if (options != null) { + let details_1 = html_common.convertDartToNative_Dictionary(details); + let options_2 = html_common.convertDartToNative_Dictionary(options); + return html$.PaymentRequest._create_1(methodData_1, details_1, options_2); + } + let details_1 = html_common.convertDartToNative_Dictionary(details); + return html$.PaymentRequest._create_2(methodData_1, details_1); + } + static _create_1(methodData, details, options) { + return new PaymentRequest(methodData, details, options); + } + static _create_2(methodData, details) { + return new PaymentRequest(methodData, details); + } + get [S.$id]() { + return this.id; + } + get [S$2.$shippingAddress]() { + return this.shippingAddress; + } + get [S$2.$shippingOption]() { + return this.shippingOption; + } + get [S$2.$shippingType]() { + return this.shippingType; + } + [S.$abort]() { + return js_util.promiseToFuture(dart.dynamic, this.abort()); + } + [S$2.$canMakePayment]() { + return js_util.promiseToFuture(core.bool, this.canMakePayment()); + } + [S$0.$show]() { + return js_util.promiseToFuture(html$.PaymentResponse, this.show()); + } + }; + dart.addTypeTests(html$.PaymentRequest); + dart.addTypeCaches(html$.PaymentRequest); + dart.setMethodSignature(html$.PaymentRequest, () => ({ + __proto__: dart.getMethods(html$.PaymentRequest.__proto__), + [S.$abort]: dart.fnType(async.Future, []), + [S$2.$canMakePayment]: dart.fnType(async.Future$(core.bool), []), + [S$0.$show]: dart.fnType(async.Future$(html$.PaymentResponse), []) + })); + dart.setGetterSignature(html$.PaymentRequest, () => ({ + __proto__: dart.getGetters(html$.PaymentRequest.__proto__), + [S.$id]: dart.nullable(core.String), + [S$2.$shippingAddress]: dart.nullable(html$.PaymentAddress), + [S$2.$shippingOption]: dart.nullable(core.String), + [S$2.$shippingType]: dart.nullable(core.String) + })); + dart.setLibraryUri(html$.PaymentRequest, I[148]); + dart.registerExtension("PaymentRequest", html$.PaymentRequest); + html$.PaymentRequestEvent = class PaymentRequestEvent$ extends html$.ExtendableEvent { + static new(type, eventInitDict) { + if (type == null) dart.nullFailed(I[147], 25027, 38, "type"); + if (eventInitDict == null) dart.nullFailed(I[147], 25027, 48, "eventInitDict"); + let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); + return html$.PaymentRequestEvent._create_1(type, eventInitDict_1); + } + static _create_1(type, eventInitDict) { + return new PaymentRequestEvent(type, eventInitDict); + } + get [S$2.$instrumentKey]() { + return this.instrumentKey; + } + get [S$.$methodData]() { + return this.methodData; + } + get [S$.$modifiers]() { + return this.modifiers; + } + get [S$2.$paymentRequestId]() { + return this.paymentRequestId; + } + get [S$.$paymentRequestOrigin]() { + return this.paymentRequestOrigin; + } + get [S$.$topLevelOrigin]() { + return this.topLevelOrigin; + } + get [S$2.$total]() { + return this.total; + } + [S$.$openWindow](url) { + if (url == null) dart.nullFailed(I[147], 25051, 42, "url"); + return js_util.promiseToFuture(html$.WindowClient, this.openWindow(url)); + } + [S$.$respondWith](...args) { + return this.respondWith.apply(this, args); + } + }; + dart.addTypeTests(html$.PaymentRequestEvent); + dart.addTypeCaches(html$.PaymentRequestEvent); + dart.setMethodSignature(html$.PaymentRequestEvent, () => ({ + __proto__: dart.getMethods(html$.PaymentRequestEvent.__proto__), + [S$.$openWindow]: dart.fnType(async.Future$(html$.WindowClient), [core.String]), + [S$.$respondWith]: dart.fnType(dart.void, [async.Future]) + })); + dart.setGetterSignature(html$.PaymentRequestEvent, () => ({ + __proto__: dart.getGetters(html$.PaymentRequestEvent.__proto__), + [S$2.$instrumentKey]: dart.nullable(core.String), + [S$.$methodData]: dart.nullable(core.List), + [S$.$modifiers]: dart.nullable(core.List), + [S$2.$paymentRequestId]: dart.nullable(core.String), + [S$.$paymentRequestOrigin]: dart.nullable(core.String), + [S$.$topLevelOrigin]: dart.nullable(core.String), + [S$2.$total]: dart.nullable(core.Object) + })); + dart.setLibraryUri(html$.PaymentRequestEvent, I[148]); + dart.registerExtension("PaymentRequestEvent", html$.PaymentRequestEvent); + html$.PaymentRequestUpdateEvent = class PaymentRequestUpdateEvent$ extends html$.Event { + static new(type, eventInitDict = null) { + if (type == null) dart.nullFailed(I[147], 25067, 44, "type"); + if (eventInitDict != null) { + let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); + return html$.PaymentRequestUpdateEvent._create_1(type, eventInitDict_1); + } + return html$.PaymentRequestUpdateEvent._create_2(type); + } + static _create_1(type, eventInitDict) { + return new PaymentRequestUpdateEvent(type, eventInitDict); + } + static _create_2(type) { + return new PaymentRequestUpdateEvent(type); + } + [S$2.$updateWith](...args) { + return this.updateWith.apply(this, args); + } + }; + dart.addTypeTests(html$.PaymentRequestUpdateEvent); + dart.addTypeCaches(html$.PaymentRequestUpdateEvent); + dart.setMethodSignature(html$.PaymentRequestUpdateEvent, () => ({ + __proto__: dart.getMethods(html$.PaymentRequestUpdateEvent.__proto__), + [S$2.$updateWith]: dart.fnType(dart.void, [async.Future]) + })); + dart.setLibraryUri(html$.PaymentRequestUpdateEvent, I[148]); + dart.registerExtension("PaymentRequestUpdateEvent", html$.PaymentRequestUpdateEvent); + html$.PaymentResponse = class PaymentResponse extends _interceptors.Interceptor { + get [S$.$details]() { + return this.details; + } + get [S$2.$methodName]() { + return this.methodName; + } + get [S$2.$payerEmail]() { + return this.payerEmail; + } + get [S$2.$payerName]() { + return this.payerName; + } + get [S$2.$payerPhone]() { + return this.payerPhone; + } + get [S$2.$requestId]() { + return this.requestId; + } + get [S$2.$shippingAddress]() { + return this.shippingAddress; + } + get [S$2.$shippingOption]() { + return this.shippingOption; + } + [S$1.$complete](paymentResult = null) { + return js_util.promiseToFuture(dart.dynamic, this.complete(paymentResult)); + } + }; + dart.addTypeTests(html$.PaymentResponse); + dart.addTypeCaches(html$.PaymentResponse); + dart.setMethodSignature(html$.PaymentResponse, () => ({ + __proto__: dart.getMethods(html$.PaymentResponse.__proto__), + [S$1.$complete]: dart.fnType(async.Future, [], [dart.nullable(core.String)]) + })); + dart.setGetterSignature(html$.PaymentResponse, () => ({ + __proto__: dart.getGetters(html$.PaymentResponse.__proto__), + [S$.$details]: dart.nullable(core.Object), + [S$2.$methodName]: dart.nullable(core.String), + [S$2.$payerEmail]: dart.nullable(core.String), + [S$2.$payerName]: dart.nullable(core.String), + [S$2.$payerPhone]: dart.nullable(core.String), + [S$2.$requestId]: dart.nullable(core.String), + [S$2.$shippingAddress]: dart.nullable(html$.PaymentAddress), + [S$2.$shippingOption]: dart.nullable(core.String) + })); + dart.setLibraryUri(html$.PaymentResponse, I[148]); + dart.registerExtension("PaymentResponse", html$.PaymentResponse); + html$.Performance = class Performance extends html$.EventTarget { + static get supported() { + return !!window.performance; + } + get [S$2.$memory]() { + return this.memory; + } + get [S$2.$navigation]() { + return this.navigation; + } + get [S$2.$timeOrigin]() { + return this.timeOrigin; + } + get [S$.$timing]() { + return this.timing; + } + [S$2.$clearMarks](...args) { + return this.clearMarks.apply(this, args); + } + [S$2.$clearMeasures](...args) { + return this.clearMeasures.apply(this, args); + } + [S$2.$clearResourceTimings](...args) { + return this.clearResourceTimings.apply(this, args); + } + [S$2.$getEntries](...args) { + return this.getEntries.apply(this, args); + } + [S$2.$getEntriesByName](...args) { + return this.getEntriesByName.apply(this, args); + } + [S$2.$getEntriesByType](...args) { + return this.getEntriesByType.apply(this, args); + } + [S$2.$mark](...args) { + return this.mark.apply(this, args); + } + [S$2.$measure](...args) { + return this.measure.apply(this, args); + } + [S$2.$now](...args) { + return this.now.apply(this, args); + } + [S$2.$setResourceTimingBufferSize](...args) { + return this.setResourceTimingBufferSize.apply(this, args); + } + }; + dart.addTypeTests(html$.Performance); + dart.addTypeCaches(html$.Performance); + dart.setMethodSignature(html$.Performance, () => ({ + __proto__: dart.getMethods(html$.Performance.__proto__), + [S$2.$clearMarks]: dart.fnType(dart.void, [dart.nullable(core.String)]), + [S$2.$clearMeasures]: dart.fnType(dart.void, [dart.nullable(core.String)]), + [S$2.$clearResourceTimings]: dart.fnType(dart.void, []), + [S$2.$getEntries]: dart.fnType(core.List$(html$.PerformanceEntry), []), + [S$2.$getEntriesByName]: dart.fnType(core.List$(html$.PerformanceEntry), [core.String, dart.nullable(core.String)]), + [S$2.$getEntriesByType]: dart.fnType(core.List$(html$.PerformanceEntry), [core.String]), + [S$2.$mark]: dart.fnType(dart.void, [core.String]), + [S$2.$measure]: dart.fnType(dart.void, [core.String, dart.nullable(core.String), dart.nullable(core.String)]), + [S$2.$now]: dart.fnType(core.double, []), + [S$2.$setResourceTimingBufferSize]: dart.fnType(dart.void, [core.int]) + })); + dart.setGetterSignature(html$.Performance, () => ({ + __proto__: dart.getGetters(html$.Performance.__proto__), + [S$2.$memory]: dart.nullable(html$.MemoryInfo), + [S$2.$navigation]: html$.PerformanceNavigation, + [S$2.$timeOrigin]: dart.nullable(core.num), + [S$.$timing]: html$.PerformanceTiming + })); + dart.setLibraryUri(html$.Performance, I[148]); + dart.registerExtension("Performance", html$.Performance); + html$.PerformanceEntry = class PerformanceEntry extends _interceptors.Interceptor { + get [S$.$duration]() { + return this.duration; + } + get [S$2.$entryType]() { + return this.entryType; + } + get [$name]() { + return this.name; + } + get [S$.$startTime]() { + return this.startTime; + } + }; + dart.addTypeTests(html$.PerformanceEntry); + dart.addTypeCaches(html$.PerformanceEntry); + dart.setGetterSignature(html$.PerformanceEntry, () => ({ + __proto__: dart.getGetters(html$.PerformanceEntry.__proto__), + [S$.$duration]: core.num, + [S$2.$entryType]: core.String, + [$name]: core.String, + [S$.$startTime]: core.num + })); + dart.setLibraryUri(html$.PerformanceEntry, I[148]); + dart.registerExtension("PerformanceEntry", html$.PerformanceEntry); + html$.PerformanceLongTaskTiming = class PerformanceLongTaskTiming extends html$.PerformanceEntry { + get [S$2.$attribution]() { + return this.attribution; + } + }; + dart.addTypeTests(html$.PerformanceLongTaskTiming); + dart.addTypeCaches(html$.PerformanceLongTaskTiming); + dart.setGetterSignature(html$.PerformanceLongTaskTiming, () => ({ + __proto__: dart.getGetters(html$.PerformanceLongTaskTiming.__proto__), + [S$2.$attribution]: dart.nullable(core.List$(html$.TaskAttributionTiming)) + })); + dart.setLibraryUri(html$.PerformanceLongTaskTiming, I[148]); + dart.registerExtension("PerformanceLongTaskTiming", html$.PerformanceLongTaskTiming); + html$.PerformanceMark = class PerformanceMark extends html$.PerformanceEntry {}; + dart.addTypeTests(html$.PerformanceMark); + dart.addTypeCaches(html$.PerformanceMark); + dart.setLibraryUri(html$.PerformanceMark, I[148]); + dart.registerExtension("PerformanceMark", html$.PerformanceMark); + html$.PerformanceMeasure = class PerformanceMeasure extends html$.PerformanceEntry {}; + dart.addTypeTests(html$.PerformanceMeasure); + dart.addTypeCaches(html$.PerformanceMeasure); + dart.setLibraryUri(html$.PerformanceMeasure, I[148]); + dart.registerExtension("PerformanceMeasure", html$.PerformanceMeasure); + html$.PerformanceNavigation = class PerformanceNavigation extends _interceptors.Interceptor { + get [S$2.$redirectCount]() { + return this.redirectCount; + } + get [S.$type]() { + return this.type; + } + }; + dart.addTypeTests(html$.PerformanceNavigation); + dart.addTypeCaches(html$.PerformanceNavigation); + dart.setGetterSignature(html$.PerformanceNavigation, () => ({ + __proto__: dart.getGetters(html$.PerformanceNavigation.__proto__), + [S$2.$redirectCount]: dart.nullable(core.int), + [S.$type]: dart.nullable(core.int) + })); + dart.setLibraryUri(html$.PerformanceNavigation, I[148]); + dart.defineLazy(html$.PerformanceNavigation, { + /*html$.PerformanceNavigation.TYPE_BACK_FORWARD*/get TYPE_BACK_FORWARD() { + return 2; + }, + /*html$.PerformanceNavigation.TYPE_NAVIGATE*/get TYPE_NAVIGATE() { + return 0; + }, + /*html$.PerformanceNavigation.TYPE_RELOAD*/get TYPE_RELOAD() { + return 1; + }, + /*html$.PerformanceNavigation.TYPE_RESERVED*/get TYPE_RESERVED() { + return 255; + } + }, false); + dart.registerExtension("PerformanceNavigation", html$.PerformanceNavigation); + html$.PerformanceResourceTiming = class PerformanceResourceTiming extends html$.PerformanceEntry { + get [S$2.$connectEnd]() { + return this.connectEnd; + } + get [S$2.$connectStart]() { + return this.connectStart; + } + get [S$2.$decodedBodySize]() { + return this.decodedBodySize; + } + get [S$2.$domainLookupEnd]() { + return this.domainLookupEnd; + } + get [S$2.$domainLookupStart]() { + return this.domainLookupStart; + } + get [S$2.$encodedBodySize]() { + return this.encodedBodySize; + } + get [S$2.$fetchStart]() { + return this.fetchStart; + } + get [S$2.$initiatorType]() { + return this.initiatorType; + } + get [S$2.$nextHopProtocol]() { + return this.nextHopProtocol; + } + get [S$2.$redirectEnd]() { + return this.redirectEnd; + } + get [S$2.$redirectStart]() { + return this.redirectStart; + } + get [S$2.$requestStart]() { + return this.requestStart; + } + get [S$2.$responseEnd]() { + return this.responseEnd; + } + get [S$2.$responseStart]() { + return this.responseStart; + } + get [S$2.$secureConnectionStart]() { + return this.secureConnectionStart; + } + get [S$2.$serverTiming]() { + return this.serverTiming; + } + get [S$2.$transferSize]() { + return this.transferSize; + } + get [S$2.$workerStart]() { + return this.workerStart; + } + }; + dart.addTypeTests(html$.PerformanceResourceTiming); + dart.addTypeCaches(html$.PerformanceResourceTiming); + dart.setGetterSignature(html$.PerformanceResourceTiming, () => ({ + __proto__: dart.getGetters(html$.PerformanceResourceTiming.__proto__), + [S$2.$connectEnd]: core.num, + [S$2.$connectStart]: core.num, + [S$2.$decodedBodySize]: dart.nullable(core.int), + [S$2.$domainLookupEnd]: dart.nullable(core.num), + [S$2.$domainLookupStart]: dart.nullable(core.num), + [S$2.$encodedBodySize]: dart.nullable(core.int), + [S$2.$fetchStart]: dart.nullable(core.num), + [S$2.$initiatorType]: dart.nullable(core.String), + [S$2.$nextHopProtocol]: dart.nullable(core.String), + [S$2.$redirectEnd]: dart.nullable(core.num), + [S$2.$redirectStart]: dart.nullable(core.num), + [S$2.$requestStart]: dart.nullable(core.num), + [S$2.$responseEnd]: dart.nullable(core.num), + [S$2.$responseStart]: dart.nullable(core.num), + [S$2.$secureConnectionStart]: dart.nullable(core.num), + [S$2.$serverTiming]: dart.nullable(core.List$(html$.PerformanceServerTiming)), + [S$2.$transferSize]: dart.nullable(core.int), + [S$2.$workerStart]: dart.nullable(core.num) + })); + dart.setLibraryUri(html$.PerformanceResourceTiming, I[148]); + dart.registerExtension("PerformanceResourceTiming", html$.PerformanceResourceTiming); + html$.PerformanceNavigationTiming = class PerformanceNavigationTiming extends html$.PerformanceResourceTiming { + get [S$2.$domComplete]() { + return this.domComplete; + } + get [S$2.$domContentLoadedEventEnd]() { + return this.domContentLoadedEventEnd; + } + get [S$2.$domContentLoadedEventStart]() { + return this.domContentLoadedEventStart; + } + get [S$2.$domInteractive]() { + return this.domInteractive; + } + get [S$2.$loadEventEnd]() { + return this.loadEventEnd; + } + get [S$2.$loadEventStart]() { + return this.loadEventStart; + } + get [S$2.$redirectCount]() { + return this.redirectCount; + } + get [S.$type]() { + return this.type; + } + get [S$2.$unloadEventEnd]() { + return this.unloadEventEnd; + } + get [S$2.$unloadEventStart]() { + return this.unloadEventStart; + } + }; + dart.addTypeTests(html$.PerformanceNavigationTiming); + dart.addTypeCaches(html$.PerformanceNavigationTiming); + dart.setGetterSignature(html$.PerformanceNavigationTiming, () => ({ + __proto__: dart.getGetters(html$.PerformanceNavigationTiming.__proto__), + [S$2.$domComplete]: dart.nullable(core.num), + [S$2.$domContentLoadedEventEnd]: dart.nullable(core.num), + [S$2.$domContentLoadedEventStart]: dart.nullable(core.num), + [S$2.$domInteractive]: dart.nullable(core.num), + [S$2.$loadEventEnd]: dart.nullable(core.num), + [S$2.$loadEventStart]: dart.nullable(core.num), + [S$2.$redirectCount]: dart.nullable(core.int), + [S.$type]: dart.nullable(core.String), + [S$2.$unloadEventEnd]: dart.nullable(core.num), + [S$2.$unloadEventStart]: dart.nullable(core.num) + })); + dart.setLibraryUri(html$.PerformanceNavigationTiming, I[148]); + dart.registerExtension("PerformanceNavigationTiming", html$.PerformanceNavigationTiming); + html$.PerformanceObserver = class PerformanceObserver$ extends _interceptors.Interceptor { + static new(callback) { + if (callback == null) dart.nullFailed(I[147], 25280, 59, "callback"); + let callback_1 = _js_helper.convertDartClosureToJS(T$0.PerformanceObserverEntryListAndPerformanceObserverTovoid(), callback, 2); + return html$.PerformanceObserver._create_1(callback_1); + } + static _create_1(callback) { + return new PerformanceObserver(callback); + } + [S$1.$disconnect](...args) { + return this.disconnect.apply(this, args); + } + [S.$observe](options) { + if (options == null) dart.nullFailed(I[147], 25289, 20, "options"); + let options_1 = html_common.convertDartToNative_Dictionary(options); + this[S$1._observe_1$1](options_1); + return; + } + [S$1._observe_1$1](...args) { + return this.observe.apply(this, args); + } + }; + dart.addTypeTests(html$.PerformanceObserver); + dart.addTypeCaches(html$.PerformanceObserver); + dart.setMethodSignature(html$.PerformanceObserver, () => ({ + __proto__: dart.getMethods(html$.PerformanceObserver.__proto__), + [S$1.$disconnect]: dart.fnType(dart.void, []), + [S.$observe]: dart.fnType(dart.void, [core.Map]), + [S$1._observe_1$1]: dart.fnType(dart.void, [dart.dynamic]) + })); + dart.setLibraryUri(html$.PerformanceObserver, I[148]); + dart.registerExtension("PerformanceObserver", html$.PerformanceObserver); + html$.PerformanceObserverEntryList = class PerformanceObserverEntryList extends _interceptors.Interceptor { + [S$2.$getEntries](...args) { + return this.getEntries.apply(this, args); + } + [S$2.$getEntriesByName](...args) { + return this.getEntriesByName.apply(this, args); + } + [S$2.$getEntriesByType](...args) { + return this.getEntriesByType.apply(this, args); + } + }; + dart.addTypeTests(html$.PerformanceObserverEntryList); + dart.addTypeCaches(html$.PerformanceObserverEntryList); + dart.setMethodSignature(html$.PerformanceObserverEntryList, () => ({ + __proto__: dart.getMethods(html$.PerformanceObserverEntryList.__proto__), + [S$2.$getEntries]: dart.fnType(core.List$(html$.PerformanceEntry), []), + [S$2.$getEntriesByName]: dart.fnType(core.List$(html$.PerformanceEntry), [core.String, dart.nullable(core.String)]), + [S$2.$getEntriesByType]: dart.fnType(core.List$(html$.PerformanceEntry), [core.String]) + })); + dart.setLibraryUri(html$.PerformanceObserverEntryList, I[148]); + dart.registerExtension("PerformanceObserverEntryList", html$.PerformanceObserverEntryList); + html$.PerformancePaintTiming = class PerformancePaintTiming extends html$.PerformanceEntry {}; + dart.addTypeTests(html$.PerformancePaintTiming); + dart.addTypeCaches(html$.PerformancePaintTiming); + dart.setLibraryUri(html$.PerformancePaintTiming, I[148]); + dart.registerExtension("PerformancePaintTiming", html$.PerformancePaintTiming); + html$.PerformanceServerTiming = class PerformanceServerTiming extends _interceptors.Interceptor { + get [S$1.$description]() { + return this.description; + } + get [S$.$duration]() { + return this.duration; + } + get [$name]() { + return this.name; + } + }; + dart.addTypeTests(html$.PerformanceServerTiming); + dart.addTypeCaches(html$.PerformanceServerTiming); + dart.setGetterSignature(html$.PerformanceServerTiming, () => ({ + __proto__: dart.getGetters(html$.PerformanceServerTiming.__proto__), + [S$1.$description]: dart.nullable(core.String), + [S$.$duration]: dart.nullable(core.num), + [$name]: dart.nullable(core.String) + })); + dart.setLibraryUri(html$.PerformanceServerTiming, I[148]); + dart.registerExtension("PerformanceServerTiming", html$.PerformanceServerTiming); + html$.PerformanceTiming = class PerformanceTiming extends _interceptors.Interceptor { + get [S$2.$connectEnd]() { + return this.connectEnd; + } + get [S$2.$connectStart]() { + return this.connectStart; + } + get [S$2.$domComplete]() { + return this.domComplete; + } + get [S$2.$domContentLoadedEventEnd]() { + return this.domContentLoadedEventEnd; + } + get [S$2.$domContentLoadedEventStart]() { + return this.domContentLoadedEventStart; + } + get [S$2.$domInteractive]() { + return this.domInteractive; + } + get [S$2.$domLoading]() { + return this.domLoading; + } + get [S$2.$domainLookupEnd]() { + return this.domainLookupEnd; + } + get [S$2.$domainLookupStart]() { + return this.domainLookupStart; + } + get [S$2.$fetchStart]() { + return this.fetchStart; + } + get [S$2.$loadEventEnd]() { + return this.loadEventEnd; + } + get [S$2.$loadEventStart]() { + return this.loadEventStart; + } + get [S$2.$navigationStart]() { + return this.navigationStart; + } + get [S$2.$redirectEnd]() { + return this.redirectEnd; + } + get [S$2.$redirectStart]() { + return this.redirectStart; + } + get [S$2.$requestStart]() { + return this.requestStart; + } + get [S$2.$responseEnd]() { + return this.responseEnd; + } + get [S$2.$responseStart]() { + return this.responseStart; + } + get [S$2.$secureConnectionStart]() { + return this.secureConnectionStart; + } + get [S$2.$unloadEventEnd]() { + return this.unloadEventEnd; + } + get [S$2.$unloadEventStart]() { + return this.unloadEventStart; + } + }; + dart.addTypeTests(html$.PerformanceTiming); + dart.addTypeCaches(html$.PerformanceTiming); + dart.setGetterSignature(html$.PerformanceTiming, () => ({ + __proto__: dart.getGetters(html$.PerformanceTiming.__proto__), + [S$2.$connectEnd]: core.int, + [S$2.$connectStart]: core.int, + [S$2.$domComplete]: core.int, + [S$2.$domContentLoadedEventEnd]: core.int, + [S$2.$domContentLoadedEventStart]: core.int, + [S$2.$domInteractive]: core.int, + [S$2.$domLoading]: core.int, + [S$2.$domainLookupEnd]: core.int, + [S$2.$domainLookupStart]: core.int, + [S$2.$fetchStart]: core.int, + [S$2.$loadEventEnd]: core.int, + [S$2.$loadEventStart]: core.int, + [S$2.$navigationStart]: core.int, + [S$2.$redirectEnd]: core.int, + [S$2.$redirectStart]: core.int, + [S$2.$requestStart]: core.int, + [S$2.$responseEnd]: core.int, + [S$2.$responseStart]: core.int, + [S$2.$secureConnectionStart]: core.int, + [S$2.$unloadEventEnd]: core.int, + [S$2.$unloadEventStart]: core.int + })); + dart.setLibraryUri(html$.PerformanceTiming, I[148]); + dart.registerExtension("PerformanceTiming", html$.PerformanceTiming); + html$.PermissionStatus = class PermissionStatus extends html$.EventTarget { + get [S$.$state]() { + return this.state; + } + get [S.$onChange]() { + return html$.PermissionStatus.changeEvent.forTarget(this); + } + }; + dart.addTypeTests(html$.PermissionStatus); + dart.addTypeCaches(html$.PermissionStatus); + dart.setGetterSignature(html$.PermissionStatus, () => ({ + __proto__: dart.getGetters(html$.PermissionStatus.__proto__), + [S$.$state]: dart.nullable(core.String), + [S.$onChange]: async.Stream$(html$.Event) + })); + dart.setLibraryUri(html$.PermissionStatus, I[148]); + dart.defineLazy(html$.PermissionStatus, { + /*html$.PermissionStatus.changeEvent*/get changeEvent() { + return C[236] || CT.C236; + } + }, false); + dart.registerExtension("PermissionStatus", html$.PermissionStatus); + html$.Permissions = class Permissions extends _interceptors.Interceptor { + [S$2.$query](permission) { + if (permission == null) dart.nullFailed(I[147], 25482, 38, "permission"); + let permission_dict = html_common.convertDartToNative_Dictionary(permission); + return js_util.promiseToFuture(html$.PermissionStatus, this.query(permission_dict)); + } + [S$.$request](permissions) { + if (permissions == null) dart.nullFailed(I[147], 25488, 40, "permissions"); + let permissions_dict = html_common.convertDartToNative_Dictionary(permissions); + return js_util.promiseToFuture(html$.PermissionStatus, this.request(permissions_dict)); + } + [S$2.$requestAll](permissions) { + if (permissions == null) dart.nullFailed(I[147], 25494, 49, "permissions"); + return js_util.promiseToFuture(html$.PermissionStatus, this.requestAll(permissions)); + } + [S$2.$revoke](permission) { + if (permission == null) dart.nullFailed(I[147], 25498, 39, "permission"); + let permission_dict = html_common.convertDartToNative_Dictionary(permission); + return js_util.promiseToFuture(html$.PermissionStatus, this.revoke(permission_dict)); + } + }; + dart.addTypeTests(html$.Permissions); + dart.addTypeCaches(html$.Permissions); + dart.setMethodSignature(html$.Permissions, () => ({ + __proto__: dart.getMethods(html$.Permissions.__proto__), + [S$2.$query]: dart.fnType(async.Future$(html$.PermissionStatus), [core.Map]), + [S$.$request]: dart.fnType(async.Future$(html$.PermissionStatus), [core.Map]), + [S$2.$requestAll]: dart.fnType(async.Future$(html$.PermissionStatus), [core.List$(core.Map)]), + [S$2.$revoke]: dart.fnType(async.Future$(html$.PermissionStatus), [core.Map]) + })); + dart.setLibraryUri(html$.Permissions, I[148]); + dart.registerExtension("Permissions", html$.Permissions); + html$.PhotoCapabilities = class PhotoCapabilities extends _interceptors.Interceptor { + get [S$2.$fillLightMode]() { + return this.fillLightMode; + } + get [S$2.$imageHeight]() { + return this.imageHeight; + } + get [S$2.$imageWidth]() { + return this.imageWidth; + } + get [S$2.$redEyeReduction]() { + return this.redEyeReduction; + } + }; + dart.addTypeTests(html$.PhotoCapabilities); + dart.addTypeCaches(html$.PhotoCapabilities); + dart.setGetterSignature(html$.PhotoCapabilities, () => ({ + __proto__: dart.getGetters(html$.PhotoCapabilities.__proto__), + [S$2.$fillLightMode]: dart.nullable(core.List), + [S$2.$imageHeight]: dart.nullable(html$.MediaSettingsRange), + [S$2.$imageWidth]: dart.nullable(html$.MediaSettingsRange), + [S$2.$redEyeReduction]: dart.nullable(core.String) + })); + dart.setLibraryUri(html$.PhotoCapabilities, I[148]); + dart.registerExtension("PhotoCapabilities", html$.PhotoCapabilities); + html$.PictureElement = class PictureElement extends html$.HtmlElement {}; + (html$.PictureElement.created = function() { + html$.PictureElement.__proto__.created.call(this); + ; + }).prototype = html$.PictureElement.prototype; + dart.addTypeTests(html$.PictureElement); + dart.addTypeCaches(html$.PictureElement); + dart.setLibraryUri(html$.PictureElement, I[148]); + dart.registerExtension("HTMLPictureElement", html$.PictureElement); + html$.Plugin = class Plugin extends _interceptors.Interceptor { + get [S$1.$description]() { + return this.description; + } + get [S$1.$filename]() { + return this.filename; + } + get [$length]() { + return this.length; + } + get [$name]() { + return this.name; + } + [S$.$item](...args) { + return this.item.apply(this, args); + } + [S$1.$namedItem](...args) { + return this.namedItem.apply(this, args); + } + }; + dart.addTypeTests(html$.Plugin); + dart.addTypeCaches(html$.Plugin); + dart.setMethodSignature(html$.Plugin, () => ({ + __proto__: dart.getMethods(html$.Plugin.__proto__), + [S$.$item]: dart.fnType(dart.nullable(html$.MimeType), [core.int]), + [S$1.$namedItem]: dart.fnType(dart.nullable(html$.MimeType), [core.String]) + })); + dart.setGetterSignature(html$.Plugin, () => ({ + __proto__: dart.getGetters(html$.Plugin.__proto__), + [S$1.$description]: dart.nullable(core.String), + [S$1.$filename]: dart.nullable(core.String), + [$length]: dart.nullable(core.int), + [$name]: dart.nullable(core.String) + })); + dart.setLibraryUri(html$.Plugin, I[148]); + dart.registerExtension("Plugin", html$.Plugin); + const Interceptor_ListMixin$36$4 = class Interceptor_ListMixin extends _interceptors.Interceptor {}; + (Interceptor_ListMixin$36$4.new = function() { + Interceptor_ListMixin$36$4.__proto__.new.call(this); + }).prototype = Interceptor_ListMixin$36$4.prototype; + dart.applyMixin(Interceptor_ListMixin$36$4, collection.ListMixin$(html$.Plugin)); + const Interceptor_ImmutableListMixin$36$4 = class Interceptor_ImmutableListMixin extends Interceptor_ListMixin$36$4 {}; + (Interceptor_ImmutableListMixin$36$4.new = function() { + Interceptor_ImmutableListMixin$36$4.__proto__.new.call(this); + }).prototype = Interceptor_ImmutableListMixin$36$4.prototype; + dart.applyMixin(Interceptor_ImmutableListMixin$36$4, html$.ImmutableListMixin$(html$.Plugin)); + html$.PluginArray = class PluginArray extends Interceptor_ImmutableListMixin$36$4 { + get [$length]() { + return this.length; + } + [$_get](index) { + if (index == null) dart.nullFailed(I[147], 25578, 26, "index"); + if (index >>> 0 !== index || index >= this[$length]) dart.throw(new core.IndexError.new(index, this)); + return this[index]; + } + [$_set](index, value$) { + let value = value$; + if (index == null) dart.nullFailed(I[147], 25584, 25, "index"); + html$.Plugin.as(value); + if (value == null) dart.nullFailed(I[147], 25584, 39, "value"); + dart.throw(new core.UnsupportedError.new("Cannot assign element of immutable List.")); + return value$; + } + set [$length](value) { + if (value == null) dart.nullFailed(I[147], 25590, 18, "value"); + dart.throw(new core.UnsupportedError.new("Cannot resize immutable List.")); + } + get [$first]() { + if (dart.notNull(this[$length]) > 0) { + return this[0]; + } + dart.throw(new core.StateError.new("No elements")); + } + set [$first](value) { + super[$first] = value; + } + get [$last]() { + let len = this[$length]; + if (dart.notNull(len) > 0) { + return this[dart.notNull(len) - 1]; + } + dart.throw(new core.StateError.new("No elements")); + } + set [$last](value) { + super[$last] = value; + } + get [$single]() { + let len = this[$length]; + if (len === 1) { + return this[0]; + } + if (len === 0) dart.throw(new core.StateError.new("No elements")); + dart.throw(new core.StateError.new("More than one element")); + } + [$elementAt](index) { + if (index == null) dart.nullFailed(I[147], 25618, 24, "index"); + return this[$_get](index); + } + [S$.$item](...args) { + return this.item.apply(this, args); + } + [S$1.$namedItem](...args) { + return this.namedItem.apply(this, args); + } + [S$2.$refresh](...args) { + return this.refresh.apply(this, args); + } + }; + html$.PluginArray.prototype[dart.isList] = true; + dart.addTypeTests(html$.PluginArray); + dart.addTypeCaches(html$.PluginArray); + html$.PluginArray[dart.implements] = () => [_js_helper.JavaScriptIndexingBehavior$(html$.Plugin), core.List$(html$.Plugin)]; + dart.setMethodSignature(html$.PluginArray, () => ({ + __proto__: dart.getMethods(html$.PluginArray.__proto__), + [$_get]: dart.fnType(html$.Plugin, [core.int]), + [$_set]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), + [S$.$item]: dart.fnType(dart.nullable(html$.Plugin), [core.int]), + [S$1.$namedItem]: dart.fnType(dart.nullable(html$.Plugin), [core.String]), + [S$2.$refresh]: dart.fnType(dart.void, [dart.nullable(core.bool)]) + })); + dart.setGetterSignature(html$.PluginArray, () => ({ + __proto__: dart.getGetters(html$.PluginArray.__proto__), + [$length]: core.int + })); + dart.setSetterSignature(html$.PluginArray, () => ({ + __proto__: dart.getSetters(html$.PluginArray.__proto__), + [$length]: core.int + })); + dart.setLibraryUri(html$.PluginArray, I[148]); + dart.registerExtension("PluginArray", html$.PluginArray); + html$.PointerEvent = class PointerEvent$ extends html$.MouseEvent { + static new(type, eventInitDict = null) { + if (type == null) dart.nullFailed(I[147], 25640, 31, "type"); + if (eventInitDict != null) { + let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); + return html$.PointerEvent._create_1(type, eventInitDict_1); + } + return html$.PointerEvent._create_2(type); + } + static _create_1(type, eventInitDict) { + return new PointerEvent(type, eventInitDict); + } + static _create_2(type) { + return new PointerEvent(type); + } + get [$height]() { + return this.height; + } + get [S$2.$isPrimary]() { + return this.isPrimary; + } + get [S$2.$pointerId]() { + return this.pointerId; + } + get [S$2.$pointerType]() { + return this.pointerType; + } + get [S$2.$pressure]() { + return this.pressure; + } + get [S$2.$tangentialPressure]() { + return this.tangentialPressure; + } + get [S$2.$tiltX]() { + return this.tiltX; + } + get [S$2.$tiltY]() { + return this.tiltY; + } + get [S$2.$twist]() { + return this.twist; + } + get [$width]() { + return this.width; + } + [S$2.$getCoalescedEvents](...args) { + return this.getCoalescedEvents.apply(this, args); + } + static get supported() { + try { + return html$.PointerEvent.is(html$.PointerEvent.new("pointerover")); + } catch (e) { + let _ = dart.getThrown(e); + if (core.Object.is(_)) { + } else + throw e; + } + return false; + } + }; + dart.addTypeTests(html$.PointerEvent); + dart.addTypeCaches(html$.PointerEvent); + dart.setMethodSignature(html$.PointerEvent, () => ({ + __proto__: dart.getMethods(html$.PointerEvent.__proto__), + [S$2.$getCoalescedEvents]: dart.fnType(core.List$(html$.PointerEvent), []) + })); + dart.setGetterSignature(html$.PointerEvent, () => ({ + __proto__: dart.getGetters(html$.PointerEvent.__proto__), + [$height]: dart.nullable(core.num), + [S$2.$isPrimary]: dart.nullable(core.bool), + [S$2.$pointerId]: dart.nullable(core.int), + [S$2.$pointerType]: dart.nullable(core.String), + [S$2.$pressure]: dart.nullable(core.num), + [S$2.$tangentialPressure]: dart.nullable(core.num), + [S$2.$tiltX]: dart.nullable(core.int), + [S$2.$tiltY]: dart.nullable(core.int), + [S$2.$twist]: dart.nullable(core.int), + [$width]: dart.nullable(core.num) + })); + dart.setLibraryUri(html$.PointerEvent, I[148]); + dart.registerExtension("PointerEvent", html$.PointerEvent); + html$.PopStateEvent = class PopStateEvent$ extends html$.Event { + static new(type, eventInitDict = null) { + if (type == null) dart.nullFailed(I[147], 25700, 32, "type"); + if (eventInitDict != null) { + let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); + return html$.PopStateEvent._create_1(type, eventInitDict_1); + } + return html$.PopStateEvent._create_2(type); + } + static _create_1(type, eventInitDict) { + return new PopStateEvent(type, eventInitDict); + } + static _create_2(type) { + return new PopStateEvent(type); + } + get [S$.$state]() { + return html_common.convertNativeToDart_SerializedScriptValue(this[S$1._get_state]); + } + get [S$1._get_state]() { + return this.state; + } + }; + dart.addTypeTests(html$.PopStateEvent); + dart.addTypeCaches(html$.PopStateEvent); + dart.setGetterSignature(html$.PopStateEvent, () => ({ + __proto__: dart.getGetters(html$.PopStateEvent.__proto__), + [S$.$state]: dart.dynamic, + [S$1._get_state]: dart.dynamic + })); + dart.setLibraryUri(html$.PopStateEvent, I[148]); + dart.registerExtension("PopStateEvent", html$.PopStateEvent); + html$.PositionError = class PositionError extends _interceptors.Interceptor { + get [S$.$code]() { + return this.code; + } + get [$message]() { + return this.message; + } + }; + dart.addTypeTests(html$.PositionError); + dart.addTypeCaches(html$.PositionError); + dart.setGetterSignature(html$.PositionError, () => ({ + __proto__: dart.getGetters(html$.PositionError.__proto__), + [S$.$code]: dart.nullable(core.int), + [$message]: dart.nullable(core.String) + })); + dart.setLibraryUri(html$.PositionError, I[148]); + dart.defineLazy(html$.PositionError, { + /*html$.PositionError.PERMISSION_DENIED*/get PERMISSION_DENIED() { + return 1; + }, + /*html$.PositionError.POSITION_UNAVAILABLE*/get POSITION_UNAVAILABLE() { + return 2; + }, + /*html$.PositionError.TIMEOUT*/get TIMEOUT() { + return 3; + } + }, false); + dart.registerExtension("PositionError", html$.PositionError); + html$.PreElement = class PreElement extends html$.HtmlElement { + static new() { + return html$.document.createElement("pre"); + } + }; + (html$.PreElement.created = function() { + html$.PreElement.__proto__.created.call(this); + ; + }).prototype = html$.PreElement.prototype; + dart.addTypeTests(html$.PreElement); + dart.addTypeCaches(html$.PreElement); + dart.setLibraryUri(html$.PreElement, I[148]); + dart.registerExtension("HTMLPreElement", html$.PreElement); + html$.Presentation = class Presentation extends _interceptors.Interceptor { + get [S$2.$defaultRequest]() { + return this.defaultRequest; + } + set [S$2.$defaultRequest](value) { + this.defaultRequest = value; + } + get [S$2.$receiver]() { + return this.receiver; + } + }; + dart.addTypeTests(html$.Presentation); + dart.addTypeCaches(html$.Presentation); + dart.setGetterSignature(html$.Presentation, () => ({ + __proto__: dart.getGetters(html$.Presentation.__proto__), + [S$2.$defaultRequest]: dart.nullable(html$.PresentationRequest), + [S$2.$receiver]: dart.nullable(html$.PresentationReceiver) + })); + dart.setSetterSignature(html$.Presentation, () => ({ + __proto__: dart.getSetters(html$.Presentation.__proto__), + [S$2.$defaultRequest]: dart.nullable(html$.PresentationRequest) + })); + dart.setLibraryUri(html$.Presentation, I[148]); + dart.registerExtension("Presentation", html$.Presentation); + html$.PresentationAvailability = class PresentationAvailability extends html$.EventTarget { + get [S.$value]() { + return this.value; + } + get [S.$onChange]() { + return html$.PresentationAvailability.changeEvent.forTarget(this); + } + }; + dart.addTypeTests(html$.PresentationAvailability); + dart.addTypeCaches(html$.PresentationAvailability); + dart.setGetterSignature(html$.PresentationAvailability, () => ({ + __proto__: dart.getGetters(html$.PresentationAvailability.__proto__), + [S.$value]: dart.nullable(core.bool), + [S.$onChange]: async.Stream$(html$.Event) + })); + dart.setLibraryUri(html$.PresentationAvailability, I[148]); + dart.defineLazy(html$.PresentationAvailability, { + /*html$.PresentationAvailability.changeEvent*/get changeEvent() { + return C[236] || CT.C236; + } + }, false); + dart.registerExtension("PresentationAvailability", html$.PresentationAvailability); + html$.PresentationConnection = class PresentationConnection extends html$.EventTarget { + get [S$2.$binaryType]() { + return this.binaryType; + } + set [S$2.$binaryType](value) { + this.binaryType = value; + } + get [S.$id]() { + return this.id; + } + get [S$.$state]() { + return this.state; + } + get [S$.$url]() { + return this.url; + } + [S.$close](...args) { + return this.close.apply(this, args); + } + [S$1.$send](...args) { + return this.send.apply(this, args); + } + [S$2.$terminate](...args) { + return this.terminate.apply(this, args); + } + get [S$.$onMessage]() { + return html$.PresentationConnection.messageEvent.forTarget(this); + } + }; + dart.addTypeTests(html$.PresentationConnection); + dart.addTypeCaches(html$.PresentationConnection); + dart.setMethodSignature(html$.PresentationConnection, () => ({ + __proto__: dart.getMethods(html$.PresentationConnection.__proto__), + [S.$close]: dart.fnType(dart.void, []), + [S$1.$send]: dart.fnType(dart.void, [dart.dynamic]), + [S$2.$terminate]: dart.fnType(dart.void, []) + })); + dart.setGetterSignature(html$.PresentationConnection, () => ({ + __proto__: dart.getGetters(html$.PresentationConnection.__proto__), + [S$2.$binaryType]: dart.nullable(core.String), + [S.$id]: dart.nullable(core.String), + [S$.$state]: dart.nullable(core.String), + [S$.$url]: dart.nullable(core.String), + [S$.$onMessage]: async.Stream$(html$.MessageEvent) + })); + dart.setSetterSignature(html$.PresentationConnection, () => ({ + __proto__: dart.getSetters(html$.PresentationConnection.__proto__), + [S$2.$binaryType]: dart.nullable(core.String) + })); + dart.setLibraryUri(html$.PresentationConnection, I[148]); + dart.defineLazy(html$.PresentationConnection, { + /*html$.PresentationConnection.messageEvent*/get messageEvent() { + return C[312] || CT.C312; + } + }, false); + dart.registerExtension("PresentationConnection", html$.PresentationConnection); + html$.PresentationConnectionAvailableEvent = class PresentationConnectionAvailableEvent$ extends html$.Event { + static new(type, eventInitDict) { + if (type == null) dart.nullFailed(I[147], 25858, 55, "type"); + if (eventInitDict == null) dart.nullFailed(I[147], 25858, 65, "eventInitDict"); + let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); + return html$.PresentationConnectionAvailableEvent._create_1(type, eventInitDict_1); + } + static _create_1(type, eventInitDict) { + return new PresentationConnectionAvailableEvent(type, eventInitDict); + } + get [S$1.$connection]() { + return this.connection; + } + }; + dart.addTypeTests(html$.PresentationConnectionAvailableEvent); + dart.addTypeCaches(html$.PresentationConnectionAvailableEvent); + dart.setGetterSignature(html$.PresentationConnectionAvailableEvent, () => ({ + __proto__: dart.getGetters(html$.PresentationConnectionAvailableEvent.__proto__), + [S$1.$connection]: dart.nullable(html$.PresentationConnection) + })); + dart.setLibraryUri(html$.PresentationConnectionAvailableEvent, I[148]); + dart.registerExtension("PresentationConnectionAvailableEvent", html$.PresentationConnectionAvailableEvent); + html$.PresentationConnectionCloseEvent = class PresentationConnectionCloseEvent$ extends html$.Event { + static new(type, eventInitDict) { + if (type == null) dart.nullFailed(I[147], 25880, 51, "type"); + if (eventInitDict == null) dart.nullFailed(I[147], 25880, 61, "eventInitDict"); + let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); + return html$.PresentationConnectionCloseEvent._create_1(type, eventInitDict_1); + } + static _create_1(type, eventInitDict) { + return new PresentationConnectionCloseEvent(type, eventInitDict); + } + get [$message]() { + return this.message; + } + get [S$.$reason]() { + return this.reason; + } + }; + dart.addTypeTests(html$.PresentationConnectionCloseEvent); + dart.addTypeCaches(html$.PresentationConnectionCloseEvent); + dart.setGetterSignature(html$.PresentationConnectionCloseEvent, () => ({ + __proto__: dart.getGetters(html$.PresentationConnectionCloseEvent.__proto__), + [$message]: dart.nullable(core.String), + [S$.$reason]: dart.nullable(core.String) + })); + dart.setLibraryUri(html$.PresentationConnectionCloseEvent, I[148]); + dart.registerExtension("PresentationConnectionCloseEvent", html$.PresentationConnectionCloseEvent); + html$.PresentationConnectionList = class PresentationConnectionList extends html$.EventTarget { + get [S$2.$connections]() { + return this.connections; + } + }; + dart.addTypeTests(html$.PresentationConnectionList); + dart.addTypeCaches(html$.PresentationConnectionList); + dart.setGetterSignature(html$.PresentationConnectionList, () => ({ + __proto__: dart.getGetters(html$.PresentationConnectionList.__proto__), + [S$2.$connections]: dart.nullable(core.List$(html$.PresentationConnection)) + })); + dart.setLibraryUri(html$.PresentationConnectionList, I[148]); + dart.registerExtension("PresentationConnectionList", html$.PresentationConnectionList); + html$.PresentationReceiver = class PresentationReceiver extends _interceptors.Interceptor { + get [S$2.$connectionList]() { + return js_util.promiseToFuture(html$.PresentationConnectionList, this.connectionList); + } + }; + dart.addTypeTests(html$.PresentationReceiver); + dart.addTypeCaches(html$.PresentationReceiver); + dart.setGetterSignature(html$.PresentationReceiver, () => ({ + __proto__: dart.getGetters(html$.PresentationReceiver.__proto__), + [S$2.$connectionList]: async.Future$(html$.PresentationConnectionList) + })); + dart.setLibraryUri(html$.PresentationReceiver, I[148]); + dart.registerExtension("PresentationReceiver", html$.PresentationReceiver); + html$.PresentationRequest = class PresentationRequest$ extends html$.EventTarget { + static new(url_OR_urls) { + if (typeof url_OR_urls == 'string') { + return html$.PresentationRequest._create_1(url_OR_urls); + } + if (T$.ListOfString().is(url_OR_urls)) { + let urls_1 = html_common.convertDartToNative_StringArray(url_OR_urls); + return html$.PresentationRequest._create_2(urls_1); + } + dart.throw(new core.ArgumentError.new("Incorrect number or type of arguments")); + } + static _create_1(url_OR_urls) { + return new PresentationRequest(url_OR_urls); + } + static _create_2(url_OR_urls) { + return new PresentationRequest(url_OR_urls); + } + [S$2.$getAvailability]() { + return js_util.promiseToFuture(html$.PresentationAvailability, this.getAvailability()); + } + [S$2.$reconnect](id) { + if (id == null) dart.nullFailed(I[147], 25952, 51, "id"); + return js_util.promiseToFuture(html$.PresentationConnection, this.reconnect(id)); + } + [S$.$start]() { + return js_util.promiseToFuture(html$.PresentationConnection, this.start()); + } + }; + dart.addTypeTests(html$.PresentationRequest); + dart.addTypeCaches(html$.PresentationRequest); + dart.setMethodSignature(html$.PresentationRequest, () => ({ + __proto__: dart.getMethods(html$.PresentationRequest.__proto__), + [S$2.$getAvailability]: dart.fnType(async.Future$(html$.PresentationAvailability), []), + [S$2.$reconnect]: dart.fnType(async.Future$(html$.PresentationConnection), [core.String]), + [S$.$start]: dart.fnType(async.Future$(html$.PresentationConnection), []) + })); + dart.setLibraryUri(html$.PresentationRequest, I[148]); + dart.registerExtension("PresentationRequest", html$.PresentationRequest); + html$.ProcessingInstruction = class ProcessingInstruction extends html$.CharacterData { + get [S$1.$sheet]() { + return this.sheet; + } + get [S.$target]() { + return this.target; + } + }; + dart.addTypeTests(html$.ProcessingInstruction); + dart.addTypeCaches(html$.ProcessingInstruction); + dart.setGetterSignature(html$.ProcessingInstruction, () => ({ + __proto__: dart.getGetters(html$.ProcessingInstruction.__proto__), + [S$1.$sheet]: dart.nullable(html$.StyleSheet), + [S.$target]: dart.nullable(core.String) + })); + dart.setLibraryUri(html$.ProcessingInstruction, I[148]); + dart.registerExtension("ProcessingInstruction", html$.ProcessingInstruction); + html$.ProgressElement = class ProgressElement extends html$.HtmlElement { + static new() { + return html$.ProgressElement.as(html$.document[S.$createElement]("progress")); + } + static get supported() { + return html$.Element.isTagSupported("progress"); + } + get [S$.$labels]() { + return this.labels; + } + get [S$1.$max]() { + return this.max; + } + set [S$1.$max](value) { + this.max = value; + } + get [S$0.$position]() { + return this.position; + } + get [S.$value]() { + return this.value; + } + set [S.$value](value) { + this.value = value; + } + }; + (html$.ProgressElement.created = function() { + html$.ProgressElement.__proto__.created.call(this); + ; + }).prototype = html$.ProgressElement.prototype; + dart.addTypeTests(html$.ProgressElement); + dart.addTypeCaches(html$.ProgressElement); + dart.setGetterSignature(html$.ProgressElement, () => ({ + __proto__: dart.getGetters(html$.ProgressElement.__proto__), + [S$.$labels]: dart.nullable(core.List$(html$.Node)), + [S$1.$max]: core.num, + [S$0.$position]: core.num, + [S.$value]: core.num + })); + dart.setSetterSignature(html$.ProgressElement, () => ({ + __proto__: dart.getSetters(html$.ProgressElement.__proto__), + [S$1.$max]: core.num, + [S.$value]: core.num + })); + dart.setLibraryUri(html$.ProgressElement, I[148]); + dart.registerExtension("HTMLProgressElement", html$.ProgressElement); + html$.ProgressEvent = class ProgressEvent$ extends html$.Event { + static new(type, eventInitDict = null) { + if (type == null) dart.nullFailed(I[147], 26029, 32, "type"); + if (eventInitDict != null) { + let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); + return html$.ProgressEvent._create_1(type, eventInitDict_1); + } + return html$.ProgressEvent._create_2(type); + } + static _create_1(type, eventInitDict) { + return new ProgressEvent(type, eventInitDict); + } + static _create_2(type) { + return new ProgressEvent(type); + } + get [S$2.$lengthComputable]() { + return this.lengthComputable; + } + get [S$1.$loaded]() { + return this.loaded; + } + get [S$2.$total]() { + return this.total; + } + }; + dart.addTypeTests(html$.ProgressEvent); + dart.addTypeCaches(html$.ProgressEvent); + dart.setGetterSignature(html$.ProgressEvent, () => ({ + __proto__: dart.getGetters(html$.ProgressEvent.__proto__), + [S$2.$lengthComputable]: core.bool, + [S$1.$loaded]: dart.nullable(core.int), + [S$2.$total]: dart.nullable(core.int) + })); + dart.setLibraryUri(html$.ProgressEvent, I[148]); + dart.registerExtension("ProgressEvent", html$.ProgressEvent); + html$.PromiseRejectionEvent = class PromiseRejectionEvent$ extends html$.Event { + static new(type, eventInitDict) { + if (type == null) dart.nullFailed(I[147], 26058, 40, "type"); + if (eventInitDict == null) dart.nullFailed(I[147], 26058, 50, "eventInitDict"); + let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); + return html$.PromiseRejectionEvent._create_1(type, eventInitDict_1); + } + static _create_1(type, eventInitDict) { + return new PromiseRejectionEvent(type, eventInitDict); + } + get [S$2.$promise]() { + return js_util.promiseToFuture(dart.dynamic, this.promise); + } + get [S$.$reason]() { + return this.reason; + } + }; + dart.addTypeTests(html$.PromiseRejectionEvent); + dart.addTypeCaches(html$.PromiseRejectionEvent); + dart.setGetterSignature(html$.PromiseRejectionEvent, () => ({ + __proto__: dart.getGetters(html$.PromiseRejectionEvent.__proto__), + [S$2.$promise]: async.Future, + [S$.$reason]: dart.nullable(core.Object) + })); + dart.setLibraryUri(html$.PromiseRejectionEvent, I[148]); + dart.registerExtension("PromiseRejectionEvent", html$.PromiseRejectionEvent); + html$.PublicKeyCredential = class PublicKeyCredential extends html$.Credential { + get [S$2.$rawId]() { + return this.rawId; + } + get [S$.$response]() { + return this.response; + } + }; + dart.addTypeTests(html$.PublicKeyCredential); + dart.addTypeCaches(html$.PublicKeyCredential); + dart.setGetterSignature(html$.PublicKeyCredential, () => ({ + __proto__: dart.getGetters(html$.PublicKeyCredential.__proto__), + [S$2.$rawId]: dart.nullable(typed_data.ByteBuffer), + [S$.$response]: dart.nullable(html$.AuthenticatorResponse) + })); + dart.setLibraryUri(html$.PublicKeyCredential, I[148]); + dart.registerExtension("PublicKeyCredential", html$.PublicKeyCredential); + html$.PushEvent = class PushEvent$ extends html$.ExtendableEvent { + static new(type, eventInitDict = null) { + if (type == null) dart.nullFailed(I[147], 26098, 28, "type"); + if (eventInitDict != null) { + let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); + return html$.PushEvent._create_1(type, eventInitDict_1); + } + return html$.PushEvent._create_2(type); + } + static _create_1(type, eventInitDict) { + return new PushEvent(type, eventInitDict); + } + static _create_2(type) { + return new PushEvent(type); + } + get [S$.$data]() { + return this.data; + } + }; + dart.addTypeTests(html$.PushEvent); + dart.addTypeCaches(html$.PushEvent); + dart.setGetterSignature(html$.PushEvent, () => ({ + __proto__: dart.getGetters(html$.PushEvent.__proto__), + [S$.$data]: dart.nullable(html$.PushMessageData) + })); + dart.setLibraryUri(html$.PushEvent, I[148]); + dart.registerExtension("PushEvent", html$.PushEvent); + html$.PushManager = class PushManager extends _interceptors.Interceptor { + [S$2.$getSubscription]() { + return js_util.promiseToFuture(html$.PushSubscription, this.getSubscription()); + } + [S$2.$permissionState](options = null) { + let options_dict = null; + if (options != null) { + options_dict = html_common.convertDartToNative_Dictionary(options); + } + return js_util.promiseToFuture(dart.dynamic, this.permissionState(options_dict)); + } + [S$2.$subscribe](options = null) { + let options_dict = null; + if (options != null) { + options_dict = html_common.convertDartToNative_Dictionary(options); + } + return js_util.promiseToFuture(html$.PushSubscription, this.subscribe(options_dict)); + } + }; + dart.addTypeTests(html$.PushManager); + dart.addTypeCaches(html$.PushManager); + dart.setMethodSignature(html$.PushManager, () => ({ + __proto__: dart.getMethods(html$.PushManager.__proto__), + [S$2.$getSubscription]: dart.fnType(async.Future$(html$.PushSubscription), []), + [S$2.$permissionState]: dart.fnType(async.Future, [], [dart.nullable(core.Map)]), + [S$2.$subscribe]: dart.fnType(async.Future$(html$.PushSubscription), [], [dart.nullable(core.Map)]) + })); + dart.setLibraryUri(html$.PushManager, I[148]); + dart.registerExtension("PushManager", html$.PushManager); + html$.PushMessageData = class PushMessageData extends _interceptors.Interceptor { + [S$.$arrayBuffer](...args) { + return this.arrayBuffer.apply(this, args); + } + [S$.$blob](...args) { + return this.blob.apply(this, args); + } + [S$.$json](...args) { + return this.json.apply(this, args); + } + [S.$text](...args) { + return this.text.apply(this, args); + } + }; + dart.addTypeTests(html$.PushMessageData); + dart.addTypeCaches(html$.PushMessageData); + dart.setMethodSignature(html$.PushMessageData, () => ({ + __proto__: dart.getMethods(html$.PushMessageData.__proto__), + [S$.$arrayBuffer]: dart.fnType(typed_data.ByteBuffer, []), + [S$.$blob]: dart.fnType(html$.Blob, []), + [S$.$json]: dart.fnType(core.Object, []), + [S.$text]: dart.fnType(core.String, []) + })); + dart.setLibraryUri(html$.PushMessageData, I[148]); + dart.registerExtension("PushMessageData", html$.PushMessageData); + html$.PushSubscription = class PushSubscription extends _interceptors.Interceptor { + get [S$2.$endpoint]() { + return this.endpoint; + } + get [S$2.$expirationTime]() { + return this.expirationTime; + } + get [S$0.$options]() { + return this.options; + } + [S.$getKey](...args) { + return this.getKey.apply(this, args); + } + [S$2.$unsubscribe]() { + return js_util.promiseToFuture(core.bool, this.unsubscribe()); + } + }; + dart.addTypeTests(html$.PushSubscription); + dart.addTypeCaches(html$.PushSubscription); + dart.setMethodSignature(html$.PushSubscription, () => ({ + __proto__: dart.getMethods(html$.PushSubscription.__proto__), + [S.$getKey]: dart.fnType(dart.nullable(typed_data.ByteBuffer), [core.String]), + [S$2.$unsubscribe]: dart.fnType(async.Future$(core.bool), []) + })); + dart.setGetterSignature(html$.PushSubscription, () => ({ + __proto__: dart.getGetters(html$.PushSubscription.__proto__), + [S$2.$endpoint]: dart.nullable(core.String), + [S$2.$expirationTime]: dart.nullable(core.int), + [S$0.$options]: dart.nullable(html$.PushSubscriptionOptions) + })); + dart.setLibraryUri(html$.PushSubscription, I[148]); + dart.registerExtension("PushSubscription", html$.PushSubscription); + html$.PushSubscriptionOptions = class PushSubscriptionOptions extends _interceptors.Interceptor { + get [S$2.$applicationServerKey]() { + return this.applicationServerKey; + } + get [S$2.$userVisibleOnly]() { + return this.userVisibleOnly; + } + }; + dart.addTypeTests(html$.PushSubscriptionOptions); + dart.addTypeCaches(html$.PushSubscriptionOptions); + dart.setGetterSignature(html$.PushSubscriptionOptions, () => ({ + __proto__: dart.getGetters(html$.PushSubscriptionOptions.__proto__), + [S$2.$applicationServerKey]: dart.nullable(typed_data.ByteBuffer), + [S$2.$userVisibleOnly]: dart.nullable(core.bool) + })); + dart.setLibraryUri(html$.PushSubscriptionOptions, I[148]); + dart.registerExtension("PushSubscriptionOptions", html$.PushSubscriptionOptions); + html$.QuoteElement = class QuoteElement extends html$.HtmlElement { + static new() { + return html$.document.createElement("q"); + } + get [S$1.$cite]() { + return this.cite; + } + set [S$1.$cite](value) { + this.cite = value; + } + }; + (html$.QuoteElement.created = function() { + html$.QuoteElement.__proto__.created.call(this); + ; + }).prototype = html$.QuoteElement.prototype; + dart.addTypeTests(html$.QuoteElement); + dart.addTypeCaches(html$.QuoteElement); + dart.setGetterSignature(html$.QuoteElement, () => ({ + __proto__: dart.getGetters(html$.QuoteElement.__proto__), + [S$1.$cite]: core.String + })); + dart.setSetterSignature(html$.QuoteElement, () => ({ + __proto__: dart.getSetters(html$.QuoteElement.__proto__), + [S$1.$cite]: core.String + })); + dart.setLibraryUri(html$.QuoteElement, I[148]); + dart.registerExtension("HTMLQuoteElement", html$.QuoteElement); + html$.Range = class Range extends _interceptors.Interceptor { + static new() { + return html$.document.createRange(); + } + static fromPoint(point) { + if (point == null) dart.nullFailed(I[147], 26260, 33, "point"); + return html$.document[S$1._caretRangeFromPoint](point.x[$toInt](), point.y[$toInt]()); + } + get [S$2.$collapsed]() { + return this.collapsed; + } + get [S$2.$commonAncestorContainer]() { + return this.commonAncestorContainer; + } + get [S$2.$endContainer]() { + return this.endContainer; + } + get [S$2.$endOffset]() { + return this.endOffset; + } + get [S$2.$startContainer]() { + return this.startContainer; + } + get [S$2.$startOffset]() { + return this.startOffset; + } + [S$2.$cloneContents](...args) { + return this.cloneContents.apply(this, args); + } + [S$2.$cloneRange](...args) { + return this.cloneRange.apply(this, args); + } + [S$2.$collapse](...args) { + return this.collapse.apply(this, args); + } + [S$2.$compareBoundaryPoints](...args) { + return this.compareBoundaryPoints.apply(this, args); + } + [S$2.$comparePoint](...args) { + return this.comparePoint.apply(this, args); + } + [S$2.$createContextualFragment](...args) { + return this.createContextualFragment.apply(this, args); + } + [S$2.$deleteContents](...args) { + return this.deleteContents.apply(this, args); + } + [S$2.$detach](...args) { + return this.detach.apply(this, args); + } + [$expand](...args) { + return this.expand.apply(this, args); + } + [S$2.$extractContents](...args) { + return this.extractContents.apply(this, args); + } + [S.$getBoundingClientRect](...args) { + return this.getBoundingClientRect.apply(this, args); + } + [S._getClientRects](...args) { + return this.getClientRects.apply(this, args); + } + [S$2.$insertNode](...args) { + return this.insertNode.apply(this, args); + } + [S$2.$isPointInRange](...args) { + return this.isPointInRange.apply(this, args); + } + [S$2.$selectNode](...args) { + return this.selectNode.apply(this, args); + } + [S$2.$selectNodeContents](...args) { + return this.selectNodeContents.apply(this, args); + } + [S$2.$setEnd](...args) { + return this.setEnd.apply(this, args); + } + [S$2.$setEndAfter](...args) { + return this.setEndAfter.apply(this, args); + } + [S$2.$setEndBefore](...args) { + return this.setEndBefore.apply(this, args); + } + [S$2.$setStart](...args) { + return this.setStart.apply(this, args); + } + [S$2.$setStartAfter](...args) { + return this.setStartAfter.apply(this, args); + } + [S$2.$setStartBefore](...args) { + return this.setStartBefore.apply(this, args); + } + [S$2.$surroundContents](...args) { + return this.surroundContents.apply(this, args); + } + [S.$getClientRects]() { + let value = this[S._getClientRects](); + let jsProto = value.prototype; + if (jsProto == null) { + value.prototype = Object.create(null); + } + _js_helper.applyExtension("DOMRectList", value); + return value; + } + static get supportsCreateContextualFragment() { + return "createContextualFragment" in window.Range.prototype; + } + }; + dart.addTypeTests(html$.Range); + dart.addTypeCaches(html$.Range); + dart.setMethodSignature(html$.Range, () => ({ + __proto__: dart.getMethods(html$.Range.__proto__), + [S$2.$cloneContents]: dart.fnType(html$.DocumentFragment, []), + [S$2.$cloneRange]: dart.fnType(html$.Range, []), + [S$2.$collapse]: dart.fnType(dart.void, [], [dart.nullable(core.bool)]), + [S$2.$compareBoundaryPoints]: dart.fnType(core.int, [core.int, html$.Range]), + [S$2.$comparePoint]: dart.fnType(core.int, [html$.Node, core.int]), + [S$2.$createContextualFragment]: dart.fnType(html$.DocumentFragment, [core.String]), + [S$2.$deleteContents]: dart.fnType(dart.void, []), + [S$2.$detach]: dart.fnType(dart.void, []), + [$expand]: dart.fnType(dart.void, [dart.nullable(core.String)]), + [S$2.$extractContents]: dart.fnType(html$.DocumentFragment, []), + [S.$getBoundingClientRect]: dart.fnType(math.Rectangle$(core.num), []), + [S._getClientRects]: dart.fnType(core.List$(math.Rectangle$(core.num)), []), + [S$2.$insertNode]: dart.fnType(dart.void, [html$.Node]), + [S$2.$isPointInRange]: dart.fnType(core.bool, [html$.Node, core.int]), + [S$2.$selectNode]: dart.fnType(dart.void, [html$.Node]), + [S$2.$selectNodeContents]: dart.fnType(dart.void, [html$.Node]), + [S$2.$setEnd]: dart.fnType(dart.void, [html$.Node, core.int]), + [S$2.$setEndAfter]: dart.fnType(dart.void, [html$.Node]), + [S$2.$setEndBefore]: dart.fnType(dart.void, [html$.Node]), + [S$2.$setStart]: dart.fnType(dart.void, [html$.Node, core.int]), + [S$2.$setStartAfter]: dart.fnType(dart.void, [html$.Node]), + [S$2.$setStartBefore]: dart.fnType(dart.void, [html$.Node]), + [S$2.$surroundContents]: dart.fnType(dart.void, [html$.Node]), + [S.$getClientRects]: dart.fnType(core.List$(math.Rectangle$(core.num)), []) + })); + dart.setGetterSignature(html$.Range, () => ({ + __proto__: dart.getGetters(html$.Range.__proto__), + [S$2.$collapsed]: core.bool, + [S$2.$commonAncestorContainer]: html$.Node, + [S$2.$endContainer]: html$.Node, + [S$2.$endOffset]: core.int, + [S$2.$startContainer]: html$.Node, + [S$2.$startOffset]: core.int + })); + dart.setLibraryUri(html$.Range, I[148]); + dart.defineLazy(html$.Range, { + /*html$.Range.END_TO_END*/get END_TO_END() { + return 2; + }, + /*html$.Range.END_TO_START*/get END_TO_START() { + return 3; + }, + /*html$.Range.START_TO_END*/get START_TO_END() { + return 1; + }, + /*html$.Range.START_TO_START*/get START_TO_START() { + return 0; + } + }, false); + dart.registerExtension("Range", html$.Range); + html$.RelatedApplication = class RelatedApplication extends _interceptors.Interceptor { + get [S.$id]() { + return this.id; + } + get [S$2.$platform]() { + return this.platform; + } + get [S$.$url]() { + return this.url; + } + }; + dart.addTypeTests(html$.RelatedApplication); + dart.addTypeCaches(html$.RelatedApplication); + dart.setGetterSignature(html$.RelatedApplication, () => ({ + __proto__: dart.getGetters(html$.RelatedApplication.__proto__), + [S.$id]: dart.nullable(core.String), + [S$2.$platform]: dart.nullable(core.String), + [S$.$url]: dart.nullable(core.String) + })); + dart.setLibraryUri(html$.RelatedApplication, I[148]); + dart.registerExtension("RelatedApplication", html$.RelatedApplication); + html$.RelativeOrientationSensor = class RelativeOrientationSensor$ extends html$.OrientationSensor { + static new(sensorOptions = null) { + if (sensorOptions != null) { + let sensorOptions_1 = html_common.convertDartToNative_Dictionary(sensorOptions); + return html$.RelativeOrientationSensor._create_1(sensorOptions_1); + } + return html$.RelativeOrientationSensor._create_2(); + } + static _create_1(sensorOptions) { + return new RelativeOrientationSensor(sensorOptions); + } + static _create_2() { + return new RelativeOrientationSensor(); + } + }; + dart.addTypeTests(html$.RelativeOrientationSensor); + dart.addTypeCaches(html$.RelativeOrientationSensor); + dart.setLibraryUri(html$.RelativeOrientationSensor, I[148]); + dart.registerExtension("RelativeOrientationSensor", html$.RelativeOrientationSensor); + html$.RemotePlayback = class RemotePlayback extends html$.EventTarget { + get [S$.$state]() { + return this.state; + } + [S$2.$cancelWatchAvailability](id = null) { + return js_util.promiseToFuture(dart.dynamic, this.cancelWatchAvailability(id)); + } + [S$.$prompt]() { + return js_util.promiseToFuture(dart.dynamic, this.prompt()); + } + [S$2.$watchAvailability](callback) { + if (callback == null) dart.nullFailed(I[147], 26420, 68, "callback"); + return js_util.promiseToFuture(core.int, this.watchAvailability(callback)); + } + }; + dart.addTypeTests(html$.RemotePlayback); + dart.addTypeCaches(html$.RemotePlayback); + dart.setMethodSignature(html$.RemotePlayback, () => ({ + __proto__: dart.getMethods(html$.RemotePlayback.__proto__), + [S$2.$cancelWatchAvailability]: dart.fnType(async.Future, [], [dart.nullable(core.int)]), + [S$.$prompt]: dart.fnType(async.Future, []), + [S$2.$watchAvailability]: dart.fnType(async.Future$(core.int), [dart.fnType(dart.void, [core.bool])]) + })); + dart.setGetterSignature(html$.RemotePlayback, () => ({ + __proto__: dart.getGetters(html$.RemotePlayback.__proto__), + [S$.$state]: dart.nullable(core.String) + })); + dart.setLibraryUri(html$.RemotePlayback, I[148]); + dart.registerExtension("RemotePlayback", html$.RemotePlayback); + html$.ReportingObserver = class ReportingObserver$ extends _interceptors.Interceptor { + static new(callback) { + if (callback == null) dart.nullFailed(I[147], 26452, 55, "callback"); + let callback_1 = _js_helper.convertDartClosureToJS(T$0.ListAndReportingObserverTovoid(), callback, 2); + return html$.ReportingObserver._create_1(callback_1); + } + static _create_1(callback) { + return new ReportingObserver(callback); + } + [S$1.$disconnect](...args) { + return this.disconnect.apply(this, args); + } + [S.$observe](...args) { + return this.observe.apply(this, args); + } + }; + dart.addTypeTests(html$.ReportingObserver); + dart.addTypeCaches(html$.ReportingObserver); + dart.setMethodSignature(html$.ReportingObserver, () => ({ + __proto__: dart.getMethods(html$.ReportingObserver.__proto__), + [S$1.$disconnect]: dart.fnType(dart.void, []), + [S.$observe]: dart.fnType(dart.void, []) + })); + dart.setLibraryUri(html$.ReportingObserver, I[148]); + dart.registerExtension("ReportingObserver", html$.ReportingObserver); + html$.ResizeObserver = class ResizeObserver$ extends _interceptors.Interceptor { + static new(callback) { + if (callback == null) dart.nullFailed(I[147], 26489, 49, "callback"); + let callback_1 = _js_helper.convertDartClosureToJS(T$0.ListAndResizeObserverTovoid(), callback, 2); + return html$.ResizeObserver._create_1(callback_1); + } + static _create_1(callback) { + return new ResizeObserver(callback); + } + [S$1.$disconnect](...args) { + return this.disconnect.apply(this, args); + } + [S.$observe](...args) { + return this.observe.apply(this, args); + } + [S.$unobserve](...args) { + return this.unobserve.apply(this, args); + } + }; + dart.addTypeTests(html$.ResizeObserver); + dart.addTypeCaches(html$.ResizeObserver); + dart.setMethodSignature(html$.ResizeObserver, () => ({ + __proto__: dart.getMethods(html$.ResizeObserver.__proto__), + [S$1.$disconnect]: dart.fnType(dart.void, []), + [S.$observe]: dart.fnType(dart.void, [html$.Element]), + [S.$unobserve]: dart.fnType(dart.void, [html$.Element]) + })); + dart.setLibraryUri(html$.ResizeObserver, I[148]); + dart.registerExtension("ResizeObserver", html$.ResizeObserver); + html$.ResizeObserverEntry = class ResizeObserverEntry extends _interceptors.Interceptor { + get [S$2.$contentRect]() { + return this.contentRect; + } + get [S.$target]() { + return this.target; + } + }; + dart.addTypeTests(html$.ResizeObserverEntry); + dart.addTypeCaches(html$.ResizeObserverEntry); + dart.setGetterSignature(html$.ResizeObserverEntry, () => ({ + __proto__: dart.getGetters(html$.ResizeObserverEntry.__proto__), + [S$2.$contentRect]: dart.nullable(html$.DomRectReadOnly), + [S.$target]: dart.nullable(html$.Element) + })); + dart.setLibraryUri(html$.ResizeObserverEntry, I[148]); + dart.registerExtension("ResizeObserverEntry", html$.ResizeObserverEntry); + html$.RtcCertificate = class RtcCertificate extends _interceptors.Interceptor { + get [S$2.$expires]() { + return this.expires; + } + [S$2.$getFingerprints](...args) { + return this.getFingerprints.apply(this, args); + } + }; + dart.addTypeTests(html$.RtcCertificate); + dart.addTypeCaches(html$.RtcCertificate); + dart.setMethodSignature(html$.RtcCertificate, () => ({ + __proto__: dart.getMethods(html$.RtcCertificate.__proto__), + [S$2.$getFingerprints]: dart.fnType(core.List$(core.Map), []) + })); + dart.setGetterSignature(html$.RtcCertificate, () => ({ + __proto__: dart.getGetters(html$.RtcCertificate.__proto__), + [S$2.$expires]: dart.nullable(core.int) + })); + dart.setLibraryUri(html$.RtcCertificate, I[148]); + dart.registerExtension("RTCCertificate", html$.RtcCertificate); + html$.RtcDataChannel = class RtcDataChannel extends html$.EventTarget { + get [S$2.$binaryType]() { + return this.binaryType; + } + set [S$2.$binaryType](value) { + this.binaryType = value; + } + get [S$2.$bufferedAmount]() { + return this.bufferedAmount; + } + get [S$2.$bufferedAmountLowThreshold]() { + return this.bufferedAmountLowThreshold; + } + set [S$2.$bufferedAmountLowThreshold](value) { + this.bufferedAmountLowThreshold = value; + } + get [S.$id]() { + return this.id; + } + get [S$.$label]() { + return this.label; + } + get [S$2.$maxRetransmitTime]() { + return this.maxRetransmitTime; + } + get [S$2.$maxRetransmits]() { + return this.maxRetransmits; + } + get [S$2.$negotiated]() { + return this.negotiated; + } + get [S$2.$ordered]() { + return this.ordered; + } + get [S$.$protocol]() { + return this.protocol; + } + get [S.$readyState]() { + return this.readyState; + } + get [S$2.$reliable]() { + return this.reliable; + } + [S.$close](...args) { + return this.close.apply(this, args); + } + [S$1.$send](...args) { + return this.send.apply(this, args); + } + [S$2.$sendBlob](...args) { + return this.send.apply(this, args); + } + [S$2.$sendByteBuffer](...args) { + return this.send.apply(this, args); + } + [S$2.$sendString](...args) { + return this.send.apply(this, args); + } + [S$2.$sendTypedData](...args) { + return this.send.apply(this, args); + } + get [S.$onClose]() { + return html$.RtcDataChannel.closeEvent.forTarget(this); + } + get [S.$onError]() { + return html$.RtcDataChannel.errorEvent.forTarget(this); + } + get [S$.$onMessage]() { + return html$.RtcDataChannel.messageEvent.forTarget(this); + } + get [S$1.$onOpen]() { + return html$.RtcDataChannel.openEvent.forTarget(this); + } + }; + dart.addTypeTests(html$.RtcDataChannel); + dart.addTypeCaches(html$.RtcDataChannel); + dart.setMethodSignature(html$.RtcDataChannel, () => ({ + __proto__: dart.getMethods(html$.RtcDataChannel.__proto__), + [S.$close]: dart.fnType(dart.void, []), + [S$1.$send]: dart.fnType(dart.void, [dart.dynamic]), + [S$2.$sendBlob]: dart.fnType(dart.void, [html$.Blob]), + [S$2.$sendByteBuffer]: dart.fnType(dart.void, [typed_data.ByteBuffer]), + [S$2.$sendString]: dart.fnType(dart.void, [core.String]), + [S$2.$sendTypedData]: dart.fnType(dart.void, [typed_data.TypedData]) + })); + dart.setGetterSignature(html$.RtcDataChannel, () => ({ + __proto__: dart.getGetters(html$.RtcDataChannel.__proto__), + [S$2.$binaryType]: dart.nullable(core.String), + [S$2.$bufferedAmount]: dart.nullable(core.int), + [S$2.$bufferedAmountLowThreshold]: dart.nullable(core.int), + [S.$id]: dart.nullable(core.int), + [S$.$label]: dart.nullable(core.String), + [S$2.$maxRetransmitTime]: dart.nullable(core.int), + [S$2.$maxRetransmits]: dart.nullable(core.int), + [S$2.$negotiated]: dart.nullable(core.bool), + [S$2.$ordered]: dart.nullable(core.bool), + [S$.$protocol]: dart.nullable(core.String), + [S.$readyState]: dart.nullable(core.String), + [S$2.$reliable]: dart.nullable(core.bool), + [S.$onClose]: async.Stream$(html$.Event), + [S.$onError]: async.Stream$(html$.Event), + [S$.$onMessage]: async.Stream$(html$.MessageEvent), + [S$1.$onOpen]: async.Stream$(html$.Event) + })); + dart.setSetterSignature(html$.RtcDataChannel, () => ({ + __proto__: dart.getSetters(html$.RtcDataChannel.__proto__), + [S$2.$binaryType]: dart.nullable(core.String), + [S$2.$bufferedAmountLowThreshold]: dart.nullable(core.int) + })); + dart.setLibraryUri(html$.RtcDataChannel, I[148]); + dart.defineLazy(html$.RtcDataChannel, { + /*html$.RtcDataChannel.closeEvent*/get closeEvent() { + return C[215] || CT.C215; + }, + /*html$.RtcDataChannel.errorEvent*/get errorEvent() { + return C[216] || CT.C216; + }, + /*html$.RtcDataChannel.messageEvent*/get messageEvent() { + return C[312] || CT.C312; + }, + /*html$.RtcDataChannel.openEvent*/get openEvent() { + return C[330] || CT.C330; + } + }, false); + dart.registerExtension("RTCDataChannel", html$.RtcDataChannel); + dart.registerExtension("DataChannel", html$.RtcDataChannel); + html$.RtcDataChannelEvent = class RtcDataChannelEvent extends html$.Event { + static new(type, eventInitDict) { + if (type == null) dart.nullFailed(I[147], 26653, 38, "type"); + if (eventInitDict == null) dart.nullFailed(I[147], 26653, 48, "eventInitDict"); + let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); + return html$.RtcDataChannelEvent._create_1(type, eventInitDict_1); + } + static _create_1(type, eventInitDict) { + return new RTCDataChannelEvent(type, eventInitDict); + } + get [S$2.$channel]() { + return this.channel; + } + }; + dart.addTypeTests(html$.RtcDataChannelEvent); + dart.addTypeCaches(html$.RtcDataChannelEvent); + dart.setGetterSignature(html$.RtcDataChannelEvent, () => ({ + __proto__: dart.getGetters(html$.RtcDataChannelEvent.__proto__), + [S$2.$channel]: dart.nullable(html$.RtcDataChannel) + })); + dart.setLibraryUri(html$.RtcDataChannelEvent, I[148]); + dart.registerExtension("RTCDataChannelEvent", html$.RtcDataChannelEvent); + html$.RtcDtmfSender = class RtcDtmfSender extends html$.EventTarget { + get [S$2.$canInsertDtmf]() { + return this.canInsertDTMF; + } + get [S$.$duration]() { + return this.duration; + } + get [S$2.$interToneGap]() { + return this.interToneGap; + } + get [S$2.$toneBuffer]() { + return this.toneBuffer; + } + get [S$1.$track]() { + return this.track; + } + [S$2.$insertDtmf](...args) { + return this.insertDTMF.apply(this, args); + } + get [S$2.$onToneChange]() { + return html$.RtcDtmfSender.toneChangeEvent.forTarget(this); + } + }; + dart.addTypeTests(html$.RtcDtmfSender); + dart.addTypeCaches(html$.RtcDtmfSender); + dart.setMethodSignature(html$.RtcDtmfSender, () => ({ + __proto__: dart.getMethods(html$.RtcDtmfSender.__proto__), + [S$2.$insertDtmf]: dart.fnType(dart.void, [core.String], [dart.nullable(core.int), dart.nullable(core.int)]) + })); + dart.setGetterSignature(html$.RtcDtmfSender, () => ({ + __proto__: dart.getGetters(html$.RtcDtmfSender.__proto__), + [S$2.$canInsertDtmf]: dart.nullable(core.bool), + [S$.$duration]: dart.nullable(core.int), + [S$2.$interToneGap]: dart.nullable(core.int), + [S$2.$toneBuffer]: dart.nullable(core.String), + [S$1.$track]: dart.nullable(html$.MediaStreamTrack), + [S$2.$onToneChange]: async.Stream$(html$.RtcDtmfToneChangeEvent) + })); + dart.setLibraryUri(html$.RtcDtmfSender, I[148]); + dart.defineLazy(html$.RtcDtmfSender, { + /*html$.RtcDtmfSender.toneChangeEvent*/get toneChangeEvent() { + return C[353] || CT.C353; + } + }, false); + dart.registerExtension("RTCDTMFSender", html$.RtcDtmfSender); + html$.RtcDtmfToneChangeEvent = class RtcDtmfToneChangeEvent extends html$.Event { + static new(type, eventInitDict) { + if (type == null) dart.nullFailed(I[147], 26714, 41, "type"); + if (eventInitDict == null) dart.nullFailed(I[147], 26714, 51, "eventInitDict"); + let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); + return html$.RtcDtmfToneChangeEvent._create_1(type, eventInitDict_1); + } + static _create_1(type, eventInitDict) { + return new RTCDTMFToneChangeEvent(type, eventInitDict); + } + get [S$2.$tone]() { + return this.tone; + } + }; + dart.addTypeTests(html$.RtcDtmfToneChangeEvent); + dart.addTypeCaches(html$.RtcDtmfToneChangeEvent); + dart.setGetterSignature(html$.RtcDtmfToneChangeEvent, () => ({ + __proto__: dart.getGetters(html$.RtcDtmfToneChangeEvent.__proto__), + [S$2.$tone]: dart.nullable(core.String) + })); + dart.setLibraryUri(html$.RtcDtmfToneChangeEvent, I[148]); + dart.registerExtension("RTCDTMFToneChangeEvent", html$.RtcDtmfToneChangeEvent); + html$.RtcIceCandidate = class RtcIceCandidate extends _interceptors.Interceptor { + static new(dictionary) { + if (dictionary == null) dart.nullFailed(I[147], 26733, 31, "dictionary"); + let constructorName = window.RTCIceCandidate; + return new constructorName(html_common.convertDartToNative_SerializedScriptValue(dictionary)); + } + get [S$2.$candidate]() { + return this.candidate; + } + set [S$2.$candidate](value) { + this.candidate = value; + } + get [S$2.$sdpMLineIndex]() { + return this.sdpMLineIndex; + } + set [S$2.$sdpMLineIndex](value) { + this.sdpMLineIndex = value; + } + get [S$2.$sdpMid]() { + return this.sdpMid; + } + set [S$2.$sdpMid](value) { + this.sdpMid = value; + } + }; + dart.addTypeTests(html$.RtcIceCandidate); + dart.addTypeCaches(html$.RtcIceCandidate); + dart.setGetterSignature(html$.RtcIceCandidate, () => ({ + __proto__: dart.getGetters(html$.RtcIceCandidate.__proto__), + [S$2.$candidate]: dart.nullable(core.String), + [S$2.$sdpMLineIndex]: dart.nullable(core.int), + [S$2.$sdpMid]: dart.nullable(core.String) + })); + dart.setSetterSignature(html$.RtcIceCandidate, () => ({ + __proto__: dart.getSetters(html$.RtcIceCandidate.__proto__), + [S$2.$candidate]: dart.nullable(core.String), + [S$2.$sdpMLineIndex]: dart.nullable(core.int), + [S$2.$sdpMid]: dart.nullable(core.String) + })); + dart.setLibraryUri(html$.RtcIceCandidate, I[148]); + dart.registerExtension("RTCIceCandidate", html$.RtcIceCandidate); + dart.registerExtension("mozRTCIceCandidate", html$.RtcIceCandidate); + html$.RtcLegacyStatsReport = class RtcLegacyStatsReport extends _interceptors.Interceptor { + get [S.$id]() { + return this.id; + } + get [S$.$timestamp]() { + return html_common.convertNativeToDart_DateTime(this[S$2._get_timestamp]); + } + get [S$2._get_timestamp]() { + return this.timestamp; + } + get [S.$type]() { + return this.type; + } + [S$2.$names](...args) { + return this.names.apply(this, args); + } + [S$2.$stat](...args) { + return this.stat.apply(this, args); + } + }; + dart.addTypeTests(html$.RtcLegacyStatsReport); + dart.addTypeCaches(html$.RtcLegacyStatsReport); + dart.setMethodSignature(html$.RtcLegacyStatsReport, () => ({ + __proto__: dart.getMethods(html$.RtcLegacyStatsReport.__proto__), + [S$2.$names]: dart.fnType(core.List$(core.String), []), + [S$2.$stat]: dart.fnType(core.String, [core.String]) + })); + dart.setGetterSignature(html$.RtcLegacyStatsReport, () => ({ + __proto__: dart.getGetters(html$.RtcLegacyStatsReport.__proto__), + [S.$id]: dart.nullable(core.String), + [S$.$timestamp]: core.DateTime, + [S$2._get_timestamp]: dart.dynamic, + [S.$type]: dart.nullable(core.String) + })); + dart.setLibraryUri(html$.RtcLegacyStatsReport, I[148]); + dart.registerExtension("RTCLegacyStatsReport", html$.RtcLegacyStatsReport); + html$.RtcPeerConnection = class RtcPeerConnection extends html$.EventTarget { + static new(rtcIceServers, mediaConstraints = null) { + if (rtcIceServers == null) dart.nullFailed(I[147], 26785, 33, "rtcIceServers"); + let constructorName = window.RTCPeerConnection; + if (mediaConstraints != null) { + return new constructorName(html_common.convertDartToNative_SerializedScriptValue(rtcIceServers), html_common.convertDartToNative_SerializedScriptValue(mediaConstraints)); + } else { + return new constructorName(html_common.convertDartToNative_SerializedScriptValue(rtcIceServers)); + } + } + static get supported() { + try { + html$.RtcPeerConnection.new(new _js_helper.LinkedMap.from(["iceServers", T$0.JSArrayOfMapOfString$String().of([new (T$.IdentityMapOfString$String()).from(["url", "stun:localhost"])])])); + return true; + } catch (e) { + let _ = dart.getThrown(e); + if (core.Object.is(_)) { + return false; + } else + throw e; + } + return false; + } + [S$2.$getLegacyStats](selector = null) { + let completer = T$0.CompleterOfRtcStatsResponse().new(); + this[S$2._getStats](dart.fn(value => { + if (value == null) dart.nullFailed(I[147], 26829, 16, "value"); + completer.complete(value); + }, T$0.RtcStatsResponseTovoid()), selector); + return completer.future; + } + [S$2._getStats](...args) { + return this.getStats.apply(this, args); + } + static generateCertificate(keygenAlgorithm) { + return generateCertificate(keygenAlgorithm); + } + get [S$2.$iceConnectionState]() { + return this.iceConnectionState; + } + get [S$2.$iceGatheringState]() { + return this.iceGatheringState; + } + get [S$2.$localDescription]() { + return this.localDescription; + } + get [S$2.$remoteDescription]() { + return this.remoteDescription; + } + get [S$2.$signalingState]() { + return this.signalingState; + } + [S$2.$addIceCandidate](candidate, successCallback = null, failureCallback = null) { + if (candidate == null) dart.nullFailed(I[147], 26930, 33, "candidate"); + return js_util.promiseToFuture(dart.dynamic, this.addIceCandidate(candidate, successCallback, failureCallback)); + } + [S$2.$addStream](stream, mediaConstraints = null) { + if (mediaConstraints != null) { + let mediaConstraints_1 = html_common.convertDartToNative_Dictionary(mediaConstraints); + this[S$2._addStream_1](stream, mediaConstraints_1); + return; + } + this[S$2._addStream_2](stream); + return; + } + [S$2._addStream_1](...args) { + return this.addStream.apply(this, args); + } + [S$2._addStream_2](...args) { + return this.addStream.apply(this, args); + } + [S$1.$addTrack](...args) { + return this.addTrack.apply(this, args); + } + [S.$close](...args) { + return this.close.apply(this, args); + } + [S$2.$createAnswer](options = null) { + let options_dict = null; + if (options != null) { + options_dict = html_common.convertDartToNative_Dictionary(options); + } + return js_util.promiseToFuture(html$.RtcSessionDescription, this.createAnswer(options_dict)); + } + [S$2.$createDtmfSender](...args) { + return this.createDTMFSender.apply(this, args); + } + [S$2.$createDataChannel](label, dataChannelDict = null) { + if (label == null) dart.nullFailed(I[147], 26970, 43, "label"); + if (dataChannelDict != null) { + let dataChannelDict_1 = html_common.convertDartToNative_Dictionary(dataChannelDict); + return this[S$2._createDataChannel_1](label, dataChannelDict_1); + } + return this[S$2._createDataChannel_2](label); + } + [S$2._createDataChannel_1](...args) { + return this.createDataChannel.apply(this, args); + } + [S$2._createDataChannel_2](...args) { + return this.createDataChannel.apply(this, args); + } + [S$2.$createOffer](options = null) { + let options_dict = null; + if (options != null) { + options_dict = html_common.convertDartToNative_Dictionary(options); + } + return js_util.promiseToFuture(html$.RtcSessionDescription, this.createOffer(options_dict)); + } + [S$2.$getLocalStreams](...args) { + return this.getLocalStreams.apply(this, args); + } + [S$2.$getReceivers](...args) { + return this.getReceivers.apply(this, args); + } + [S$2.$getRemoteStreams](...args) { + return this.getRemoteStreams.apply(this, args); + } + [S$2.$getSenders](...args) { + return this.getSenders.apply(this, args); + } + [S$2.$getStats]() { + return js_util.promiseToFuture(html$.RtcStatsReport, this.getStats()); + } + [S$2.$removeStream](...args) { + return this.removeStream.apply(this, args); + } + [S$1.$removeTrack](...args) { + return this.removeTrack.apply(this, args); + } + [S$2.$setConfiguration](configuration) { + if (configuration == null) dart.nullFailed(I[147], 27010, 29, "configuration"); + let configuration_1 = html_common.convertDartToNative_Dictionary(configuration); + this[S$2._setConfiguration_1](configuration_1); + return; + } + [S$2._setConfiguration_1](...args) { + return this.setConfiguration.apply(this, args); + } + [S$2.$setLocalDescription](description) { + if (description == null) dart.nullFailed(I[147], 27019, 34, "description"); + let description_dict = html_common.convertDartToNative_Dictionary(description); + return js_util.promiseToFuture(dart.dynamic, this.setLocalDescription(description_dict)); + } + [S$2.$setRemoteDescription](description) { + if (description == null) dart.nullFailed(I[147], 27025, 35, "description"); + let description_dict = html_common.convertDartToNative_Dictionary(description); + return js_util.promiseToFuture(dart.dynamic, this.setRemoteDescription(description_dict)); + } + get [S$2.$onAddStream]() { + return html$.RtcPeerConnection.addStreamEvent.forTarget(this); + } + get [S$2.$onDataChannel]() { + return html$.RtcPeerConnection.dataChannelEvent.forTarget(this); + } + get [S$2.$onIceCandidate]() { + return html$.RtcPeerConnection.iceCandidateEvent.forTarget(this); + } + get [S$2.$onIceConnectionStateChange]() { + return html$.RtcPeerConnection.iceConnectionStateChangeEvent.forTarget(this); + } + get [S$2.$onNegotiationNeeded]() { + return html$.RtcPeerConnection.negotiationNeededEvent.forTarget(this); + } + get [S$2.$onRemoveStream]() { + return html$.RtcPeerConnection.removeStreamEvent.forTarget(this); + } + get [S$2.$onSignalingStateChange]() { + return html$.RtcPeerConnection.signalingStateChangeEvent.forTarget(this); + } + get [S$2.$onTrack]() { + return html$.RtcPeerConnection.trackEvent.forTarget(this); + } + }; + dart.addTypeTests(html$.RtcPeerConnection); + dart.addTypeCaches(html$.RtcPeerConnection); + dart.setMethodSignature(html$.RtcPeerConnection, () => ({ + __proto__: dart.getMethods(html$.RtcPeerConnection.__proto__), + [S$2.$getLegacyStats]: dart.fnType(async.Future$(html$.RtcStatsResponse), [], [dart.nullable(html$.MediaStreamTrack)]), + [S$2._getStats]: dart.fnType(async.Future, [], [dart.nullable(dart.fnType(dart.void, [html$.RtcStatsResponse])), dart.nullable(html$.MediaStreamTrack)]), + [S$2.$addIceCandidate]: dart.fnType(async.Future, [core.Object], [dart.nullable(dart.fnType(dart.void, [])), dart.nullable(dart.fnType(dart.void, [html$.DomException]))]), + [S$2.$addStream]: dart.fnType(dart.void, [dart.nullable(html$.MediaStream)], [dart.nullable(core.Map)]), + [S$2._addStream_1]: dart.fnType(dart.void, [dart.nullable(html$.MediaStream), dart.dynamic]), + [S$2._addStream_2]: dart.fnType(dart.void, [dart.nullable(html$.MediaStream)]), + [S$1.$addTrack]: dart.fnType(html$.RtcRtpSender, [html$.MediaStreamTrack, html$.MediaStream]), + [S.$close]: dart.fnType(dart.void, []), + [S$2.$createAnswer]: dart.fnType(async.Future$(html$.RtcSessionDescription), [], [dart.nullable(core.Map)]), + [S$2.$createDtmfSender]: dart.fnType(html$.RtcDtmfSender, [html$.MediaStreamTrack]), + [S$2.$createDataChannel]: dart.fnType(html$.RtcDataChannel, [core.String], [dart.nullable(core.Map)]), + [S$2._createDataChannel_1]: dart.fnType(html$.RtcDataChannel, [dart.dynamic, dart.dynamic]), + [S$2._createDataChannel_2]: dart.fnType(html$.RtcDataChannel, [dart.dynamic]), + [S$2.$createOffer]: dart.fnType(async.Future$(html$.RtcSessionDescription), [], [dart.nullable(core.Map)]), + [S$2.$getLocalStreams]: dart.fnType(core.List$(html$.MediaStream), []), + [S$2.$getReceivers]: dart.fnType(core.List$(html$.RtcRtpReceiver), []), + [S$2.$getRemoteStreams]: dart.fnType(core.List$(html$.MediaStream), []), + [S$2.$getSenders]: dart.fnType(core.List$(html$.RtcRtpSender), []), + [S$2.$getStats]: dart.fnType(async.Future$(html$.RtcStatsReport), []), + [S$2.$removeStream]: dart.fnType(dart.void, [dart.nullable(html$.MediaStream)]), + [S$1.$removeTrack]: dart.fnType(dart.void, [html$.RtcRtpSender]), + [S$2.$setConfiguration]: dart.fnType(dart.void, [core.Map]), + [S$2._setConfiguration_1]: dart.fnType(dart.void, [dart.dynamic]), + [S$2.$setLocalDescription]: dart.fnType(async.Future, [core.Map]), + [S$2.$setRemoteDescription]: dart.fnType(async.Future, [core.Map]) + })); + dart.setGetterSignature(html$.RtcPeerConnection, () => ({ + __proto__: dart.getGetters(html$.RtcPeerConnection.__proto__), + [S$2.$iceConnectionState]: dart.nullable(core.String), + [S$2.$iceGatheringState]: dart.nullable(core.String), + [S$2.$localDescription]: dart.nullable(html$.RtcSessionDescription), + [S$2.$remoteDescription]: dart.nullable(html$.RtcSessionDescription), + [S$2.$signalingState]: dart.nullable(core.String), + [S$2.$onAddStream]: async.Stream$(html$.MediaStreamEvent), + [S$2.$onDataChannel]: async.Stream$(html$.RtcDataChannelEvent), + [S$2.$onIceCandidate]: async.Stream$(html$.RtcPeerConnectionIceEvent), + [S$2.$onIceConnectionStateChange]: async.Stream$(html$.Event), + [S$2.$onNegotiationNeeded]: async.Stream$(html$.Event), + [S$2.$onRemoveStream]: async.Stream$(html$.MediaStreamEvent), + [S$2.$onSignalingStateChange]: async.Stream$(html$.Event), + [S$2.$onTrack]: async.Stream$(html$.RtcTrackEvent) + })); + dart.setLibraryUri(html$.RtcPeerConnection, I[148]); + dart.defineLazy(html$.RtcPeerConnection, { + /*html$.RtcPeerConnection.addStreamEvent*/get addStreamEvent() { + return C[354] || CT.C354; + }, + /*html$.RtcPeerConnection.dataChannelEvent*/get dataChannelEvent() { + return C[355] || CT.C355; + }, + /*html$.RtcPeerConnection.iceCandidateEvent*/get iceCandidateEvent() { + return C[356] || CT.C356; + }, + /*html$.RtcPeerConnection.iceConnectionStateChangeEvent*/get iceConnectionStateChangeEvent() { + return C[357] || CT.C357; + }, + /*html$.RtcPeerConnection.negotiationNeededEvent*/get negotiationNeededEvent() { + return C[358] || CT.C358; + }, + /*html$.RtcPeerConnection.removeStreamEvent*/get removeStreamEvent() { + return C[359] || CT.C359; + }, + /*html$.RtcPeerConnection.signalingStateChangeEvent*/get signalingStateChangeEvent() { + return C[360] || CT.C360; + }, + /*html$.RtcPeerConnection.trackEvent*/get trackEvent() { + return C[361] || CT.C361; + } + }, false); + dart.registerExtension("RTCPeerConnection", html$.RtcPeerConnection); + dart.registerExtension("webkitRTCPeerConnection", html$.RtcPeerConnection); + dart.registerExtension("mozRTCPeerConnection", html$.RtcPeerConnection); + html$.RtcPeerConnectionIceEvent = class RtcPeerConnectionIceEvent extends html$.Event { + static new(type, eventInitDict = null) { + if (type == null) dart.nullFailed(I[147], 27072, 44, "type"); + if (eventInitDict != null) { + let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); + return html$.RtcPeerConnectionIceEvent._create_1(type, eventInitDict_1); + } + return html$.RtcPeerConnectionIceEvent._create_2(type); + } + static _create_1(type, eventInitDict) { + return new RTCPeerConnectionIceEvent(type, eventInitDict); + } + static _create_2(type) { + return new RTCPeerConnectionIceEvent(type); + } + get [S$2.$candidate]() { + return this.candidate; + } + }; + dart.addTypeTests(html$.RtcPeerConnectionIceEvent); + dart.addTypeCaches(html$.RtcPeerConnectionIceEvent); + dart.setGetterSignature(html$.RtcPeerConnectionIceEvent, () => ({ + __proto__: dart.getGetters(html$.RtcPeerConnectionIceEvent.__proto__), + [S$2.$candidate]: dart.nullable(html$.RtcIceCandidate) + })); + dart.setLibraryUri(html$.RtcPeerConnectionIceEvent, I[148]); + dart.registerExtension("RTCPeerConnectionIceEvent", html$.RtcPeerConnectionIceEvent); + html$.RtcRtpContributingSource = class RtcRtpContributingSource extends _interceptors.Interceptor { + get [S.$source]() { + return this.source; + } + get [S$.$timestamp]() { + return this.timestamp; + } + }; + dart.addTypeTests(html$.RtcRtpContributingSource); + dart.addTypeCaches(html$.RtcRtpContributingSource); + dart.setGetterSignature(html$.RtcRtpContributingSource, () => ({ + __proto__: dart.getGetters(html$.RtcRtpContributingSource.__proto__), + [S.$source]: dart.nullable(core.int), + [S$.$timestamp]: dart.nullable(core.num) + })); + dart.setLibraryUri(html$.RtcRtpContributingSource, I[148]); + dart.registerExtension("RTCRtpContributingSource", html$.RtcRtpContributingSource); + html$.RtcRtpReceiver = class RtcRtpReceiver extends _interceptors.Interceptor { + get [S$1.$track]() { + return this.track; + } + [S$2.$getContributingSources](...args) { + return this.getContributingSources.apply(this, args); + } + }; + dart.addTypeTests(html$.RtcRtpReceiver); + dart.addTypeCaches(html$.RtcRtpReceiver); + dart.setMethodSignature(html$.RtcRtpReceiver, () => ({ + __proto__: dart.getMethods(html$.RtcRtpReceiver.__proto__), + [S$2.$getContributingSources]: dart.fnType(core.List$(html$.RtcRtpContributingSource), []) + })); + dart.setGetterSignature(html$.RtcRtpReceiver, () => ({ + __proto__: dart.getGetters(html$.RtcRtpReceiver.__proto__), + [S$1.$track]: dart.nullable(html$.MediaStreamTrack) + })); + dart.setLibraryUri(html$.RtcRtpReceiver, I[148]); + dart.registerExtension("RTCRtpReceiver", html$.RtcRtpReceiver); + html$.RtcRtpSender = class RtcRtpSender extends _interceptors.Interceptor { + get [S$1.$track]() { + return this.track; + } + }; + dart.addTypeTests(html$.RtcRtpSender); + dart.addTypeCaches(html$.RtcRtpSender); + dart.setGetterSignature(html$.RtcRtpSender, () => ({ + __proto__: dart.getGetters(html$.RtcRtpSender.__proto__), + [S$1.$track]: dart.nullable(html$.MediaStreamTrack) + })); + dart.setLibraryUri(html$.RtcRtpSender, I[148]); + dart.registerExtension("RTCRtpSender", html$.RtcRtpSender); + html$.RtcSessionDescription = class RtcSessionDescription extends _interceptors.Interceptor { + static new(dictionary) { + if (dictionary == null) dart.nullFailed(I[147], 27139, 37, "dictionary"); + let constructorName = window.RTCSessionDescription; + return new constructorName(html_common.convertDartToNative_SerializedScriptValue(dictionary)); + } + get [S$2.$sdp]() { + return this.sdp; + } + set [S$2.$sdp](value) { + this.sdp = value; + } + get [S.$type]() { + return this.type; + } + set [S.$type](value) { + this.type = value; + } + }; + dart.addTypeTests(html$.RtcSessionDescription); + dart.addTypeCaches(html$.RtcSessionDescription); + dart.setGetterSignature(html$.RtcSessionDescription, () => ({ + __proto__: dart.getGetters(html$.RtcSessionDescription.__proto__), + [S$2.$sdp]: dart.nullable(core.String), + [S.$type]: dart.nullable(core.String) + })); + dart.setSetterSignature(html$.RtcSessionDescription, () => ({ + __proto__: dart.getSetters(html$.RtcSessionDescription.__proto__), + [S$2.$sdp]: dart.nullable(core.String), + [S.$type]: dart.nullable(core.String) + })); + dart.setLibraryUri(html$.RtcSessionDescription, I[148]); + dart.registerExtension("RTCSessionDescription", html$.RtcSessionDescription); + dart.registerExtension("mozRTCSessionDescription", html$.RtcSessionDescription); + const Interceptor_MapMixin$36$0 = class Interceptor_MapMixin extends _interceptors.Interceptor {}; + (Interceptor_MapMixin$36$0.new = function() { + Interceptor_MapMixin$36$0.__proto__.new.call(this); + }).prototype = Interceptor_MapMixin$36$0.prototype; + dart.applyMixin(Interceptor_MapMixin$36$0, collection.MapMixin$(core.String, dart.dynamic)); + html$.RtcStatsReport = class RtcStatsReport extends Interceptor_MapMixin$36$0 { + [S$1._getItem](key) { + if (key == null) dart.nullFailed(I[147], 27168, 24, "key"); + return html_common.convertNativeToDart_Dictionary(this.get(key)); + } + [$addAll](other) { + T$0.MapOfString$dynamic().as(other); + if (other == null) dart.nullFailed(I[147], 27171, 36, "other"); + dart.throw(new core.UnsupportedError.new("Not supported")); + } + [$containsValue](value) { + return this[$values][$any](dart.fn(e => { + if (e == null) dart.nullFailed(I[147], 27175, 52, "e"); + return dart.equals(e, value); + }, T$0.MapTobool())); + } + [$containsKey](key) { + return this[S$1._getItem](core.String.as(key)) != null; + } + [$_get](key) { + return this[S$1._getItem](core.String.as(key)); + } + [$forEach](f) { + if (f == null) dart.nullFailed(I[147], 27181, 21, "f"); + let entries = this.entries(); + while (true) { + let entry = entries.next(); + if (entry.done) return; + f(entry.value[0], html_common.convertNativeToDart_Dictionary(entry.value[1])); + } + } + get [$keys]() { + let keys = T$.JSArrayOfString().of([]); + this[$forEach](dart.fn((k, v) => { + if (k == null) dart.nullFailed(I[147], 27193, 14, "k"); + return keys[$add](k); + }, T$0.StringAnddynamicTovoid())); + return keys; + } + get [$values]() { + let values = T$0.JSArrayOfMap().of([]); + this[$forEach](dart.fn((k, v) => { + if (k == null) dart.nullFailed(I[147], 27199, 14, "k"); + return values[$add](core.Map.as(v)); + }, T$0.StringAnddynamicTovoid())); + return values; + } + get [$length]() { + return this.size; + } + get [$isEmpty]() { + return this[$length] === 0; + } + get [$isNotEmpty]() { + return !dart.test(this[$isEmpty]); + } + [$_set](key, value$) { + let value = value$; + core.String.as(key); + if (key == null) dart.nullFailed(I[147], 27209, 28, "key"); + dart.throw(new core.UnsupportedError.new("Not supported")); + return value$; + } + [$putIfAbsent](key, ifAbsent) { + core.String.as(key); + if (key == null) dart.nullFailed(I[147], 27213, 30, "key"); + T$.VoidTodynamic().as(ifAbsent); + if (ifAbsent == null) dart.nullFailed(I[147], 27213, 43, "ifAbsent"); + dart.throw(new core.UnsupportedError.new("Not supported")); + } + [$remove](key) { + dart.throw(new core.UnsupportedError.new("Not supported")); + } + [$clear]() { + dart.throw(new core.UnsupportedError.new("Not supported")); + } + }; + dart.addTypeTests(html$.RtcStatsReport); + dart.addTypeCaches(html$.RtcStatsReport); + dart.setMethodSignature(html$.RtcStatsReport, () => ({ + __proto__: dart.getMethods(html$.RtcStatsReport.__proto__), + [S$1._getItem]: dart.fnType(dart.nullable(core.Map), [core.String]), + [$containsValue]: dart.fnType(core.bool, [dart.dynamic]), + [$containsKey]: dart.fnType(core.bool, [dart.dynamic]), + [$_get]: dart.fnType(dart.nullable(core.Map), [dart.dynamic]), + [$_set]: dart.fnType(dart.void, [dart.nullable(core.Object), dart.nullable(core.Object)]), + [$remove]: dart.fnType(core.String, [dart.dynamic]), + [$clear]: dart.fnType(dart.void, []) + })); + dart.setGetterSignature(html$.RtcStatsReport, () => ({ + __proto__: dart.getGetters(html$.RtcStatsReport.__proto__), + [$keys]: core.Iterable$(core.String), + [$values]: core.Iterable$(core.Map) + })); + dart.setLibraryUri(html$.RtcStatsReport, I[148]); + dart.registerExtension("RTCStatsReport", html$.RtcStatsReport); + html$.RtcStatsResponse = class RtcStatsResponse extends _interceptors.Interceptor { + [S$1.$namedItem](...args) { + return this.namedItem.apply(this, args); + } + [S.$result](...args) { + return this.result.apply(this, args); + } + }; + dart.addTypeTests(html$.RtcStatsResponse); + dart.addTypeCaches(html$.RtcStatsResponse); + dart.setMethodSignature(html$.RtcStatsResponse, () => ({ + __proto__: dart.getMethods(html$.RtcStatsResponse.__proto__), + [S$1.$namedItem]: dart.fnType(html$.RtcLegacyStatsReport, [dart.nullable(core.String)]), + [S.$result]: dart.fnType(core.List$(html$.RtcLegacyStatsReport), []) + })); + dart.setLibraryUri(html$.RtcStatsResponse, I[148]); + dart.registerExtension("RTCStatsResponse", html$.RtcStatsResponse); + html$.RtcTrackEvent = class RtcTrackEvent extends html$.Event { + static new(type, eventInitDict) { + if (type == null) dart.nullFailed(I[147], 27251, 32, "type"); + if (eventInitDict == null) dart.nullFailed(I[147], 27251, 42, "eventInitDict"); + let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); + return html$.RtcTrackEvent._create_1(type, eventInitDict_1); + } + static _create_1(type, eventInitDict) { + return new RTCTrackEvent(type, eventInitDict); + } + get [S$2.$receiver]() { + return this.receiver; + } + get [S$2.$streams]() { + return this.streams; + } + get [S$1.$track]() { + return this.track; + } + }; + dart.addTypeTests(html$.RtcTrackEvent); + dart.addTypeCaches(html$.RtcTrackEvent); + dart.setGetterSignature(html$.RtcTrackEvent, () => ({ + __proto__: dart.getGetters(html$.RtcTrackEvent.__proto__), + [S$2.$receiver]: dart.nullable(html$.RtcRtpReceiver), + [S$2.$streams]: dart.nullable(core.List$(html$.MediaStream)), + [S$1.$track]: dart.nullable(html$.MediaStreamTrack) + })); + dart.setLibraryUri(html$.RtcTrackEvent, I[148]); + dart.registerExtension("RTCTrackEvent", html$.RtcTrackEvent); + html$.Screen = class Screen extends _interceptors.Interceptor { + get [S$2.$available]() { + return new (T$0.RectangleOfnum()).new(dart.nullCheck(this[S$2._availLeft]), dart.nullCheck(this[S$2._availTop]), dart.nullCheck(this[S$2._availWidth]), dart.nullCheck(this[S$2._availHeight])); + } + get [S$2._availHeight]() { + return this.availHeight; + } + get [S$2._availLeft]() { + return this.availLeft; + } + get [S$2._availTop]() { + return this.availTop; + } + get [S$2._availWidth]() { + return this.availWidth; + } + get [S$2.$colorDepth]() { + return this.colorDepth; + } + get [$height]() { + return this.height; + } + get [S$2.$keepAwake]() { + return this.keepAwake; + } + set [S$2.$keepAwake](value) { + this.keepAwake = value; + } + get [S$.$orientation]() { + return this.orientation; + } + get [S$2.$pixelDepth]() { + return this.pixelDepth; + } + get [$width]() { + return this.width; + } + }; + dart.addTypeTests(html$.Screen); + dart.addTypeCaches(html$.Screen); + dart.setGetterSignature(html$.Screen, () => ({ + __proto__: dart.getGetters(html$.Screen.__proto__), + [S$2.$available]: math.Rectangle$(core.num), + [S$2._availHeight]: dart.nullable(core.int), + [S$2._availLeft]: dart.nullable(core.int), + [S$2._availTop]: dart.nullable(core.int), + [S$2._availWidth]: dart.nullable(core.int), + [S$2.$colorDepth]: dart.nullable(core.int), + [$height]: dart.nullable(core.int), + [S$2.$keepAwake]: dart.nullable(core.bool), + [S$.$orientation]: dart.nullable(html$.ScreenOrientation), + [S$2.$pixelDepth]: dart.nullable(core.int), + [$width]: dart.nullable(core.int) + })); + dart.setSetterSignature(html$.Screen, () => ({ + __proto__: dart.getSetters(html$.Screen.__proto__), + [S$2.$keepAwake]: dart.nullable(core.bool) + })); + dart.setLibraryUri(html$.Screen, I[148]); + dart.registerExtension("Screen", html$.Screen); + html$.ScreenOrientation = class ScreenOrientation extends html$.EventTarget { + get [S$.$angle]() { + return this.angle; + } + get [S.$type]() { + return this.type; + } + [S$2.$lock](orientation) { + if (orientation == null) dart.nullFailed(I[147], 27321, 22, "orientation"); + return js_util.promiseToFuture(dart.dynamic, this.lock(orientation)); + } + [S$2.$unlock](...args) { + return this.unlock.apply(this, args); + } + get [S.$onChange]() { + return html$.ScreenOrientation.changeEvent.forTarget(this); + } + }; + dart.addTypeTests(html$.ScreenOrientation); + dart.addTypeCaches(html$.ScreenOrientation); + dart.setMethodSignature(html$.ScreenOrientation, () => ({ + __proto__: dart.getMethods(html$.ScreenOrientation.__proto__), + [S$2.$lock]: dart.fnType(async.Future, [core.String]), + [S$2.$unlock]: dart.fnType(dart.void, []) + })); + dart.setGetterSignature(html$.ScreenOrientation, () => ({ + __proto__: dart.getGetters(html$.ScreenOrientation.__proto__), + [S$.$angle]: dart.nullable(core.int), + [S.$type]: dart.nullable(core.String), + [S.$onChange]: async.Stream$(html$.Event) + })); + dart.setLibraryUri(html$.ScreenOrientation, I[148]); + dart.defineLazy(html$.ScreenOrientation, { + /*html$.ScreenOrientation.changeEvent*/get changeEvent() { + return C[236] || CT.C236; + } + }, false); + dart.registerExtension("ScreenOrientation", html$.ScreenOrientation); + html$.ScriptElement = class ScriptElement extends html$.HtmlElement { + static new() { + return html$.document.createElement("script"); + } + get [S$1.$async]() { + return this.async; + } + set [S$1.$async](value) { + this.async = value; + } + get [S$2.$charset]() { + return this.charset; + } + set [S$2.$charset](value) { + this.charset = value; + } + get [S$.$crossOrigin]() { + return this.crossOrigin; + } + set [S$.$crossOrigin](value) { + this.crossOrigin = value; + } + get [S$2.$defer]() { + return this.defer; + } + set [S$2.$defer](value) { + this.defer = value; + } + get [S$1.$integrity]() { + return this.integrity; + } + set [S$1.$integrity](value) { + this.integrity = value; + } + get [S$2.$noModule]() { + return this.noModule; + } + set [S$2.$noModule](value) { + this.noModule = value; + } + get [S$.$src]() { + return this.src; + } + set [S$.$src](value) { + this.src = value; + } + get [S.$type]() { + return this.type; + } + set [S.$type](value) { + this.type = value; + } + }; + (html$.ScriptElement.created = function() { + html$.ScriptElement.__proto__.created.call(this); + ; + }).prototype = html$.ScriptElement.prototype; + dart.addTypeTests(html$.ScriptElement); + dart.addTypeCaches(html$.ScriptElement); + dart.setGetterSignature(html$.ScriptElement, () => ({ + __proto__: dart.getGetters(html$.ScriptElement.__proto__), + [S$1.$async]: dart.nullable(core.bool), + [S$2.$charset]: core.String, + [S$.$crossOrigin]: dart.nullable(core.String), + [S$2.$defer]: dart.nullable(core.bool), + [S$1.$integrity]: dart.nullable(core.String), + [S$2.$noModule]: dart.nullable(core.bool), + [S$.$src]: core.String, + [S.$type]: core.String + })); + dart.setSetterSignature(html$.ScriptElement, () => ({ + __proto__: dart.getSetters(html$.ScriptElement.__proto__), + [S$1.$async]: dart.nullable(core.bool), + [S$2.$charset]: core.String, + [S$.$crossOrigin]: dart.nullable(core.String), + [S$2.$defer]: dart.nullable(core.bool), + [S$1.$integrity]: dart.nullable(core.String), + [S$2.$noModule]: dart.nullable(core.bool), + [S$.$src]: core.String, + [S.$type]: core.String + })); + dart.setLibraryUri(html$.ScriptElement, I[148]); + dart.registerExtension("HTMLScriptElement", html$.ScriptElement); + html$.ScrollState = class ScrollState$ extends _interceptors.Interceptor { + static new(scrollStateInit = null) { + if (scrollStateInit != null) { + let scrollStateInit_1 = html_common.convertDartToNative_Dictionary(scrollStateInit); + return html$.ScrollState._create_1(scrollStateInit_1); + } + return html$.ScrollState._create_2(); + } + static _create_1(scrollStateInit) { + return new ScrollState(scrollStateInit); + } + static _create_2() { + return new ScrollState(); + } + get [S$2.$deltaGranularity]() { + return this.deltaGranularity; + } + get [S$2.$deltaX]() { + return this.deltaX; + } + get [S$2.$deltaY]() { + return this.deltaY; + } + get [S$2.$fromUserInput]() { + return this.fromUserInput; + } + get [S$2.$inInertialPhase]() { + return this.inInertialPhase; + } + get [S$2.$isBeginning]() { + return this.isBeginning; + } + get [S$2.$isDirectManipulation]() { + return this.isDirectManipulation; + } + get [S$2.$isEnding]() { + return this.isEnding; + } + get [S$2.$positionX]() { + return this.positionX; + } + get [S$2.$positionY]() { + return this.positionY; + } + get [S$2.$velocityX]() { + return this.velocityX; + } + get [S$2.$velocityY]() { + return this.velocityY; + } + [S$2.$consumeDelta](...args) { + return this.consumeDelta.apply(this, args); + } + [S$2.$distributeToScrollChainDescendant](...args) { + return this.distributeToScrollChainDescendant.apply(this, args); + } + }; + dart.addTypeTests(html$.ScrollState); + dart.addTypeCaches(html$.ScrollState); + dart.setMethodSignature(html$.ScrollState, () => ({ + __proto__: dart.getMethods(html$.ScrollState.__proto__), + [S$2.$consumeDelta]: dart.fnType(dart.void, [core.num, core.num]), + [S$2.$distributeToScrollChainDescendant]: dart.fnType(dart.void, []) + })); + dart.setGetterSignature(html$.ScrollState, () => ({ + __proto__: dart.getGetters(html$.ScrollState.__proto__), + [S$2.$deltaGranularity]: dart.nullable(core.num), + [S$2.$deltaX]: dart.nullable(core.num), + [S$2.$deltaY]: dart.nullable(core.num), + [S$2.$fromUserInput]: dart.nullable(core.bool), + [S$2.$inInertialPhase]: dart.nullable(core.bool), + [S$2.$isBeginning]: dart.nullable(core.bool), + [S$2.$isDirectManipulation]: dart.nullable(core.bool), + [S$2.$isEnding]: dart.nullable(core.bool), + [S$2.$positionX]: dart.nullable(core.int), + [S$2.$positionY]: dart.nullable(core.int), + [S$2.$velocityX]: dart.nullable(core.num), + [S$2.$velocityY]: dart.nullable(core.num) + })); + dart.setLibraryUri(html$.ScrollState, I[148]); + dart.registerExtension("ScrollState", html$.ScrollState); + html$.ScrollTimeline = class ScrollTimeline$ extends html$.AnimationTimeline { + static new(options = null) { + if (options != null) { + let options_1 = html_common.convertDartToNative_Dictionary(options); + return html$.ScrollTimeline._create_1(options_1); + } + return html$.ScrollTimeline._create_2(); + } + static _create_1(options) { + return new ScrollTimeline(options); + } + static _create_2() { + return new ScrollTimeline(); + } + get [S$.$orientation]() { + return this.orientation; + } + get [S$2.$scrollSource]() { + return this.scrollSource; + } + get [S$2.$timeRange]() { + return this.timeRange; + } + }; + dart.addTypeTests(html$.ScrollTimeline); + dart.addTypeCaches(html$.ScrollTimeline); + dart.setGetterSignature(html$.ScrollTimeline, () => ({ + __proto__: dart.getGetters(html$.ScrollTimeline.__proto__), + [S$.$orientation]: dart.nullable(core.String), + [S$2.$scrollSource]: dart.nullable(html$.Element), + [S$2.$timeRange]: dart.nullable(core.Object) + })); + dart.setLibraryUri(html$.ScrollTimeline, I[148]); + dart.registerExtension("ScrollTimeline", html$.ScrollTimeline); + html$.SecurityPolicyViolationEvent = class SecurityPolicyViolationEvent$ extends html$.Event { + static new(type, eventInitDict = null) { + if (type == null) dart.nullFailed(I[147], 27480, 47, "type"); + if (eventInitDict != null) { + let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); + return html$.SecurityPolicyViolationEvent._create_1(type, eventInitDict_1); + } + return html$.SecurityPolicyViolationEvent._create_2(type); + } + static _create_1(type, eventInitDict) { + return new SecurityPolicyViolationEvent(type, eventInitDict); + } + static _create_2(type) { + return new SecurityPolicyViolationEvent(type); + } + get [S$2.$blockedUri]() { + return this.blockedURI; + } + get [S$2.$columnNumber]() { + return this.columnNumber; + } + get [S$2.$disposition]() { + return this.disposition; + } + get [S$2.$documentUri]() { + return this.documentURI; + } + get [S$2.$effectiveDirective]() { + return this.effectiveDirective; + } + get [S$0.$lineNumber]() { + return this.lineNumber; + } + get [S$2.$originalPolicy]() { + return this.originalPolicy; + } + get [S$1.$referrer]() { + return this.referrer; + } + get [S$2.$sample]() { + return this.sample; + } + get [S$0.$sourceFile]() { + return this.sourceFile; + } + get [S$2.$statusCode]() { + return this.statusCode; + } + get [S$2.$violatedDirective]() { + return this.violatedDirective; + } + }; + dart.addTypeTests(html$.SecurityPolicyViolationEvent); + dart.addTypeCaches(html$.SecurityPolicyViolationEvent); + dart.setGetterSignature(html$.SecurityPolicyViolationEvent, () => ({ + __proto__: dart.getGetters(html$.SecurityPolicyViolationEvent.__proto__), + [S$2.$blockedUri]: dart.nullable(core.String), + [S$2.$columnNumber]: dart.nullable(core.int), + [S$2.$disposition]: dart.nullable(core.String), + [S$2.$documentUri]: dart.nullable(core.String), + [S$2.$effectiveDirective]: dart.nullable(core.String), + [S$0.$lineNumber]: dart.nullable(core.int), + [S$2.$originalPolicy]: dart.nullable(core.String), + [S$1.$referrer]: dart.nullable(core.String), + [S$2.$sample]: dart.nullable(core.String), + [S$0.$sourceFile]: dart.nullable(core.String), + [S$2.$statusCode]: dart.nullable(core.int), + [S$2.$violatedDirective]: dart.nullable(core.String) + })); + dart.setLibraryUri(html$.SecurityPolicyViolationEvent, I[148]); + dart.registerExtension("SecurityPolicyViolationEvent", html$.SecurityPolicyViolationEvent); + html$.SelectElement = class SelectElement extends html$.HtmlElement { + static new() { + return html$.document.createElement("select"); + } + get [S$.$autofocus]() { + return this.autofocus; + } + set [S$.$autofocus](value) { + this.autofocus = value; + } + get [S$.$disabled]() { + return this.disabled; + } + set [S$.$disabled](value) { + this.disabled = value; + } + get [S$.$form]() { + return this.form; + } + get [S$.$labels]() { + return this.labels; + } + get [$length]() { + return this.length; + } + set [$length](value) { + this.length = value; + } + get [S$1.$multiple]() { + return this.multiple; + } + set [S$1.$multiple](value) { + this.multiple = value; + } + get [$name]() { + return this.name; + } + set [$name](value) { + this.name = value; + } + get [S$.$required]() { + return this.required; + } + set [S$.$required](value) { + this.required = value; + } + get [S$2.$selectedIndex]() { + return this.selectedIndex; + } + set [S$2.$selectedIndex](value) { + this.selectedIndex = value; + } + get [S$.$size]() { + return this.size; + } + set [S$.$size](value) { + this.size = value; + } + get [S.$type]() { + return this.type; + } + get [S$.$validationMessage]() { + return this.validationMessage; + } + get [S$.$validity]() { + return this.validity; + } + get [S.$value]() { + return this.value; + } + set [S.$value](value) { + this.value = value; + } + get [S$.$willValidate]() { + return this.willValidate; + } + [S$.__setter__](...args) { + return this.__setter__.apply(this, args); + } + [$add](...args) { + return this.add.apply(this, args); + } + [S$.$checkValidity](...args) { + return this.checkValidity.apply(this, args); + } + [S$.$item](...args) { + return this.item.apply(this, args); + } + [S$1.$namedItem](...args) { + return this.namedItem.apply(this, args); + } + [S$.$reportValidity](...args) { + return this.reportValidity.apply(this, args); + } + [S$.$setCustomValidity](...args) { + return this.setCustomValidity.apply(this, args); + } + get [S$0.$options]() { + let options = this[S.$querySelectorAll](html$.OptionElement, "option"); + return new (T$0.UnmodifiableListViewOfOptionElement()).new(T$0.IterableOfOptionElement().as(dart.dsend(options, 'toList', []))); + } + get [S$2.$selectedOptions]() { + if (dart.nullCheck(this.multiple)) { + let options = this[S$0.$options][$where](dart.fn(o => { + if (o == null) dart.nullFailed(I[147], 27621, 41, "o"); + return o.selected; + }, T$0.OptionElementTobool()))[$toList](); + return new (T$0.UnmodifiableListViewOfOptionElement()).new(options); + } else { + return T$0.JSArrayOfOptionElement().of([this[S$0.$options][$_get](dart.nullCheck(this.selectedIndex))]); + } + } + }; + (html$.SelectElement.created = function() { + html$.SelectElement.__proto__.created.call(this); + ; + }).prototype = html$.SelectElement.prototype; + dart.addTypeTests(html$.SelectElement); + dart.addTypeCaches(html$.SelectElement); + dart.setMethodSignature(html$.SelectElement, () => ({ + __proto__: dart.getMethods(html$.SelectElement.__proto__), + [S$.__setter__]: dart.fnType(dart.void, [core.int, dart.nullable(html$.OptionElement)]), + [$add]: dart.fnType(dart.void, [core.Object, dart.nullable(core.Object)]), + [S$.$checkValidity]: dart.fnType(core.bool, []), + [S$.$item]: dart.fnType(dart.nullable(html$.Element), [core.int]), + [S$1.$namedItem]: dart.fnType(dart.nullable(html$.OptionElement), [core.String]), + [S$.$reportValidity]: dart.fnType(core.bool, []), + [S$.$setCustomValidity]: dart.fnType(dart.void, [core.String]) + })); + dart.setGetterSignature(html$.SelectElement, () => ({ + __proto__: dart.getGetters(html$.SelectElement.__proto__), + [S$.$autofocus]: core.bool, + [S$.$disabled]: core.bool, + [S$.$form]: dart.nullable(html$.FormElement), + [S$.$labels]: dart.nullable(core.List$(html$.Node)), + [$length]: dart.nullable(core.int), + [S$1.$multiple]: dart.nullable(core.bool), + [$name]: dart.nullable(core.String), + [S$.$required]: dart.nullable(core.bool), + [S$2.$selectedIndex]: dart.nullable(core.int), + [S$.$size]: dart.nullable(core.int), + [S.$type]: core.String, + [S$.$validationMessage]: core.String, + [S$.$validity]: html$.ValidityState, + [S.$value]: dart.nullable(core.String), + [S$.$willValidate]: core.bool, + [S$0.$options]: core.List$(html$.OptionElement), + [S$2.$selectedOptions]: core.List$(html$.OptionElement) + })); + dart.setSetterSignature(html$.SelectElement, () => ({ + __proto__: dart.getSetters(html$.SelectElement.__proto__), + [S$.$autofocus]: core.bool, + [S$.$disabled]: core.bool, + [$length]: dart.nullable(core.int), + [S$1.$multiple]: dart.nullable(core.bool), + [$name]: dart.nullable(core.String), + [S$.$required]: dart.nullable(core.bool), + [S$2.$selectedIndex]: dart.nullable(core.int), + [S$.$size]: dart.nullable(core.int), + [S.$value]: dart.nullable(core.String) + })); + dart.setLibraryUri(html$.SelectElement, I[148]); + dart.registerExtension("HTMLSelectElement", html$.SelectElement); + html$.Selection = class Selection extends _interceptors.Interceptor { + get [S$2.$anchorNode]() { + return this.anchorNode; + } + get [S$2.$anchorOffset]() { + return this.anchorOffset; + } + get [S$2.$baseNode]() { + return this.baseNode; + } + get [S$2.$baseOffset]() { + return this.baseOffset; + } + get [S$2.$extentNode]() { + return this.extentNode; + } + get [S$2.$extentOffset]() { + return this.extentOffset; + } + get [S$2.$focusNode]() { + return this.focusNode; + } + get [S$2.$focusOffset]() { + return this.focusOffset; + } + get [S$2.$isCollapsed]() { + return this.isCollapsed; + } + get [S$2.$rangeCount]() { + return this.rangeCount; + } + get [S.$type]() { + return this.type; + } + [S$2.$addRange](...args) { + return this.addRange.apply(this, args); + } + [S$2.$collapse](...args) { + return this.collapse.apply(this, args); + } + [S$2.$collapseToEnd](...args) { + return this.collapseToEnd.apply(this, args); + } + [S$2.$collapseToStart](...args) { + return this.collapseToStart.apply(this, args); + } + [S$2.$containsNode](...args) { + return this.containsNode.apply(this, args); + } + [S$2.$deleteFromDocument](...args) { + return this.deleteFromDocument.apply(this, args); + } + [S$2.$empty](...args) { + return this.empty.apply(this, args); + } + [S$2.$extend](...args) { + return this.extend.apply(this, args); + } + [S$2.$getRangeAt](...args) { + return this.getRangeAt.apply(this, args); + } + [S$2.$modify](...args) { + return this.modify.apply(this, args); + } + [S$2.$removeAllRanges](...args) { + return this.removeAllRanges.apply(this, args); + } + [$removeRange](...args) { + return this.removeRange.apply(this, args); + } + [S$2.$selectAllChildren](...args) { + return this.selectAllChildren.apply(this, args); + } + [S$2.$setBaseAndExtent](...args) { + return this.setBaseAndExtent.apply(this, args); + } + [S$2.$setPosition](...args) { + return this.setPosition.apply(this, args); + } + }; + dart.addTypeTests(html$.Selection); + dart.addTypeCaches(html$.Selection); + dart.setMethodSignature(html$.Selection, () => ({ + __proto__: dart.getMethods(html$.Selection.__proto__), + [S$2.$addRange]: dart.fnType(dart.void, [html$.Range]), + [S$2.$collapse]: dart.fnType(dart.void, [dart.nullable(html$.Node)], [dart.nullable(core.int)]), + [S$2.$collapseToEnd]: dart.fnType(dart.void, []), + [S$2.$collapseToStart]: dart.fnType(dart.void, []), + [S$2.$containsNode]: dart.fnType(core.bool, [html$.Node], [dart.nullable(core.bool)]), + [S$2.$deleteFromDocument]: dart.fnType(dart.void, []), + [S$2.$empty]: dart.fnType(dart.void, []), + [S$2.$extend]: dart.fnType(dart.void, [html$.Node], [dart.nullable(core.int)]), + [S$2.$getRangeAt]: dart.fnType(html$.Range, [core.int]), + [S$2.$modify]: dart.fnType(dart.void, [dart.nullable(core.String), dart.nullable(core.String), dart.nullable(core.String)]), + [S$2.$removeAllRanges]: dart.fnType(dart.void, []), + [$removeRange]: dart.fnType(dart.void, [html$.Range]), + [S$2.$selectAllChildren]: dart.fnType(dart.void, [html$.Node]), + [S$2.$setBaseAndExtent]: dart.fnType(dart.void, [dart.nullable(html$.Node), core.int, dart.nullable(html$.Node), core.int]), + [S$2.$setPosition]: dart.fnType(dart.void, [dart.nullable(html$.Node)], [dart.nullable(core.int)]) + })); + dart.setGetterSignature(html$.Selection, () => ({ + __proto__: dart.getGetters(html$.Selection.__proto__), + [S$2.$anchorNode]: dart.nullable(html$.Node), + [S$2.$anchorOffset]: dart.nullable(core.int), + [S$2.$baseNode]: dart.nullable(html$.Node), + [S$2.$baseOffset]: dart.nullable(core.int), + [S$2.$extentNode]: dart.nullable(html$.Node), + [S$2.$extentOffset]: dart.nullable(core.int), + [S$2.$focusNode]: dart.nullable(html$.Node), + [S$2.$focusOffset]: dart.nullable(core.int), + [S$2.$isCollapsed]: dart.nullable(core.bool), + [S$2.$rangeCount]: dart.nullable(core.int), + [S.$type]: dart.nullable(core.String) + })); + dart.setLibraryUri(html$.Selection, I[148]); + dart.registerExtension("Selection", html$.Selection); + html$.SensorErrorEvent = class SensorErrorEvent$ extends html$.Event { + static new(type, eventInitDict) { + if (type == null) dart.nullFailed(I[147], 27729, 35, "type"); + if (eventInitDict == null) dart.nullFailed(I[147], 27729, 45, "eventInitDict"); + let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); + return html$.SensorErrorEvent._create_1(type, eventInitDict_1); + } + static _create_1(type, eventInitDict) { + return new SensorErrorEvent(type, eventInitDict); + } + get [S.$error]() { + return this.error; + } + }; + dart.addTypeTests(html$.SensorErrorEvent); + dart.addTypeCaches(html$.SensorErrorEvent); + dart.setGetterSignature(html$.SensorErrorEvent, () => ({ + __proto__: dart.getGetters(html$.SensorErrorEvent.__proto__), + [S.$error]: dart.nullable(html$.DomException) + })); + dart.setLibraryUri(html$.SensorErrorEvent, I[148]); + dart.registerExtension("SensorErrorEvent", html$.SensorErrorEvent); + html$.ServiceWorker = class ServiceWorker extends html$.EventTarget { + get [S$2.$scriptUrl]() { + return this.scriptURL; + } + get [S$.$state]() { + return this.state; + } + [S$.$postMessage](message, transfer = null) { + if (transfer != null) { + let message_1 = html_common.convertDartToNative_SerializedScriptValue(message); + this[S$0._postMessage_1](message_1, transfer); + return; + } + let message_1 = html_common.convertDartToNative_SerializedScriptValue(message); + this[S$0._postMessage_2](message_1); + return; + } + [S$0._postMessage_1](...args) { + return this.postMessage.apply(this, args); + } + [S$0._postMessage_2](...args) { + return this.postMessage.apply(this, args); + } + get [S.$onError]() { + return html$.ServiceWorker.errorEvent.forTarget(this); + } + }; + dart.addTypeTests(html$.ServiceWorker); + dart.addTypeCaches(html$.ServiceWorker); + html$.ServiceWorker[dart.implements] = () => [html$.AbstractWorker]; + dart.setMethodSignature(html$.ServiceWorker, () => ({ + __proto__: dart.getMethods(html$.ServiceWorker.__proto__), + [S$.$postMessage]: dart.fnType(dart.void, [dart.dynamic], [dart.nullable(core.List$(core.Object))]), + [S$0._postMessage_1]: dart.fnType(dart.void, [dart.dynamic, dart.nullable(core.List$(core.Object))]), + [S$0._postMessage_2]: dart.fnType(dart.void, [dart.dynamic]) + })); + dart.setGetterSignature(html$.ServiceWorker, () => ({ + __proto__: dart.getGetters(html$.ServiceWorker.__proto__), + [S$2.$scriptUrl]: dart.nullable(core.String), + [S$.$state]: dart.nullable(core.String), + [S.$onError]: async.Stream$(html$.Event) + })); + dart.setLibraryUri(html$.ServiceWorker, I[148]); + dart.defineLazy(html$.ServiceWorker, { + /*html$.ServiceWorker.errorEvent*/get errorEvent() { + return C[216] || CT.C216; + } + }, false); + dart.registerExtension("ServiceWorker", html$.ServiceWorker); + html$.ServiceWorkerContainer = class ServiceWorkerContainer extends html$.EventTarget { + get [S$2.$controller]() { + return this.controller; + } + get [S$.$ready]() { + return js_util.promiseToFuture(html$.ServiceWorkerRegistration, this.ready); + } + [S$2.$getRegistration](documentURL = null) { + return js_util.promiseToFuture(html$.ServiceWorkerRegistration, this.getRegistration(documentURL)); + } + [S$2.$getRegistrations]() { + return js_util.promiseToFuture(core.List, this.getRegistrations()); + } + [S$1.$register](url, options = null) { + if (url == null) dart.nullFailed(I[147], 27805, 53, "url"); + let options_dict = null; + if (options != null) { + options_dict = html_common.convertDartToNative_Dictionary(options); + } + return js_util.promiseToFuture(html$.ServiceWorkerRegistration, this.register(url, options_dict)); + } + get [S$.$onMessage]() { + return html$.ServiceWorkerContainer.messageEvent.forTarget(this); + } + }; + dart.addTypeTests(html$.ServiceWorkerContainer); + dart.addTypeCaches(html$.ServiceWorkerContainer); + dart.setMethodSignature(html$.ServiceWorkerContainer, () => ({ + __proto__: dart.getMethods(html$.ServiceWorkerContainer.__proto__), + [S$2.$getRegistration]: dart.fnType(async.Future$(html$.ServiceWorkerRegistration), [], [dart.nullable(core.String)]), + [S$2.$getRegistrations]: dart.fnType(async.Future$(core.List), []), + [S$1.$register]: dart.fnType(async.Future$(html$.ServiceWorkerRegistration), [core.String], [dart.nullable(core.Map)]) + })); + dart.setGetterSignature(html$.ServiceWorkerContainer, () => ({ + __proto__: dart.getGetters(html$.ServiceWorkerContainer.__proto__), + [S$2.$controller]: dart.nullable(html$.ServiceWorker), + [S$.$ready]: async.Future$(html$.ServiceWorkerRegistration), + [S$.$onMessage]: async.Stream$(html$.MessageEvent) + })); + dart.setLibraryUri(html$.ServiceWorkerContainer, I[148]); + dart.defineLazy(html$.ServiceWorkerContainer, { + /*html$.ServiceWorkerContainer.messageEvent*/get messageEvent() { + return C[312] || CT.C312; + } + }, false); + dart.registerExtension("ServiceWorkerContainer", html$.ServiceWorkerContainer); + html$.ServiceWorkerGlobalScope = class ServiceWorkerGlobalScope extends html$.WorkerGlobalScope { + get [S$2.$clients]() { + return this.clients; + } + get [S$2.$registration]() { + return this.registration; + } + [S$2.$skipWaiting]() { + return js_util.promiseToFuture(dart.dynamic, this.skipWaiting()); + } + get [S$2.$onActivate]() { + return html$.ServiceWorkerGlobalScope.activateEvent.forTarget(this); + } + get [S$2.$onFetch]() { + return html$.ServiceWorkerGlobalScope.fetchEvent.forTarget(this); + } + get [S$2.$onForeignfetch]() { + return html$.ServiceWorkerGlobalScope.foreignfetchEvent.forTarget(this); + } + get [S$2.$onInstall]() { + return html$.ServiceWorkerGlobalScope.installEvent.forTarget(this); + } + get [S$.$onMessage]() { + return html$.ServiceWorkerGlobalScope.messageEvent.forTarget(this); + } + static get instance() { + return html$.ServiceWorkerGlobalScope.as(html$._workerSelf); + } + }; + dart.addTypeTests(html$.ServiceWorkerGlobalScope); + dart.addTypeCaches(html$.ServiceWorkerGlobalScope); + dart.setMethodSignature(html$.ServiceWorkerGlobalScope, () => ({ + __proto__: dart.getMethods(html$.ServiceWorkerGlobalScope.__proto__), + [S$2.$skipWaiting]: dart.fnType(async.Future, []) + })); + dart.setGetterSignature(html$.ServiceWorkerGlobalScope, () => ({ + __proto__: dart.getGetters(html$.ServiceWorkerGlobalScope.__proto__), + [S$2.$clients]: dart.nullable(html$.Clients), + [S$2.$registration]: dart.nullable(html$.ServiceWorkerRegistration), + [S$2.$onActivate]: async.Stream$(html$.Event), + [S$2.$onFetch]: async.Stream$(html$.Event), + [S$2.$onForeignfetch]: async.Stream$(html$.ForeignFetchEvent), + [S$2.$onInstall]: async.Stream$(html$.Event), + [S$.$onMessage]: async.Stream$(html$.MessageEvent) + })); + dart.setLibraryUri(html$.ServiceWorkerGlobalScope, I[148]); + dart.defineLazy(html$.ServiceWorkerGlobalScope, { + /*html$.ServiceWorkerGlobalScope.activateEvent*/get activateEvent() { + return C[362] || CT.C362; + }, + /*html$.ServiceWorkerGlobalScope.fetchEvent*/get fetchEvent() { + return C[363] || CT.C363; + }, + /*html$.ServiceWorkerGlobalScope.foreignfetchEvent*/get foreignfetchEvent() { + return C[364] || CT.C364; + }, + /*html$.ServiceWorkerGlobalScope.installEvent*/get installEvent() { + return C[365] || CT.C365; + }, + /*html$.ServiceWorkerGlobalScope.messageEvent*/get messageEvent() { + return C[312] || CT.C312; + } + }, false); + dart.registerExtension("ServiceWorkerGlobalScope", html$.ServiceWorkerGlobalScope); + html$.ServiceWorkerRegistration = class ServiceWorkerRegistration extends html$.EventTarget { + get [S$1.$active]() { + return this.active; + } + get [S$2.$backgroundFetch]() { + return this.backgroundFetch; + } + get [S$2.$installing]() { + return this.installing; + } + get [S$2.$navigationPreload]() { + return this.navigationPreload; + } + get [S$2.$paymentManager]() { + return this.paymentManager; + } + get [S$2.$pushManager]() { + return this.pushManager; + } + get [S$1.$scope]() { + return this.scope; + } + get [S$2.$sync]() { + return this.sync; + } + get [S$2.$waiting]() { + return this.waiting; + } + [S$2.$getNotifications](filter = null) { + let filter_dict = null; + if (filter != null) { + filter_dict = html_common.convertDartToNative_Dictionary(filter); + } + return js_util.promiseToFuture(core.List, this.getNotifications(filter_dict)); + } + [S$2.$showNotification](title, options = null) { + if (title == null) dart.nullFailed(I[147], 27906, 34, "title"); + let options_dict = null; + if (options != null) { + options_dict = html_common.convertDartToNative_Dictionary(options); + } + return js_util.promiseToFuture(dart.dynamic, this.showNotification(title, options_dict)); + } + [S$2.$unregister]() { + return js_util.promiseToFuture(core.bool, this.unregister()); + } + [$update]() { + return js_util.promiseToFuture(dart.dynamic, this.update()); + } + }; + dart.addTypeTests(html$.ServiceWorkerRegistration); + dart.addTypeCaches(html$.ServiceWorkerRegistration); + dart.setMethodSignature(html$.ServiceWorkerRegistration, () => ({ + __proto__: dart.getMethods(html$.ServiceWorkerRegistration.__proto__), + [S$2.$getNotifications]: dart.fnType(async.Future$(core.List), [], [dart.nullable(core.Map)]), + [S$2.$showNotification]: dart.fnType(async.Future, [core.String], [dart.nullable(core.Map)]), + [S$2.$unregister]: dart.fnType(async.Future$(core.bool), []), + [$update]: dart.fnType(async.Future, []) + })); + dart.setGetterSignature(html$.ServiceWorkerRegistration, () => ({ + __proto__: dart.getGetters(html$.ServiceWorkerRegistration.__proto__), + [S$1.$active]: dart.nullable(html$.ServiceWorker), + [S$2.$backgroundFetch]: dart.nullable(html$.BackgroundFetchManager), + [S$2.$installing]: dart.nullable(html$.ServiceWorker), + [S$2.$navigationPreload]: dart.nullable(html$.NavigationPreloadManager), + [S$2.$paymentManager]: dart.nullable(html$.PaymentManager), + [S$2.$pushManager]: dart.nullable(html$.PushManager), + [S$1.$scope]: dart.nullable(core.String), + [S$2.$sync]: dart.nullable(html$.SyncManager), + [S$2.$waiting]: dart.nullable(html$.ServiceWorker) + })); + dart.setLibraryUri(html$.ServiceWorkerRegistration, I[148]); + dart.registerExtension("ServiceWorkerRegistration", html$.ServiceWorkerRegistration); + html$.ShadowElement = class ShadowElement extends html$.HtmlElement { + static new() { + return html$.ShadowElement.as(html$.document[S.$createElement]("shadow")); + } + static get supported() { + return html$.Element.isTagSupported("shadow"); + } + [S$.$getDistributedNodes](...args) { + return this.getDistributedNodes.apply(this, args); + } + }; + (html$.ShadowElement.created = function() { + html$.ShadowElement.__proto__.created.call(this); + ; + }).prototype = html$.ShadowElement.prototype; + dart.addTypeTests(html$.ShadowElement); + dart.addTypeCaches(html$.ShadowElement); + dart.setMethodSignature(html$.ShadowElement, () => ({ + __proto__: dart.getMethods(html$.ShadowElement.__proto__), + [S$.$getDistributedNodes]: dart.fnType(core.List$(html$.Node), []) + })); + dart.setLibraryUri(html$.ShadowElement, I[148]); + dart.registerExtension("HTMLShadowElement", html$.ShadowElement); + html$.ShadowRoot = class ShadowRoot extends html$.DocumentFragment { + get [S$2.$delegatesFocus]() { + return this.delegatesFocus; + } + get [S$.$host]() { + return this.host; + } + get [S.$innerHtml]() { + return this.innerHTML; + } + set [S.$innerHtml](value) { + this.innerHTML = value; + } + get [S.$mode]() { + return this.mode; + } + get [S$2.$olderShadowRoot]() { + return this.olderShadowRoot; + } + get [S$1.$activeElement]() { + return this.activeElement; + } + get [S$1.$fullscreenElement]() { + return this.fullscreenElement; + } + get [S$1.$pointerLockElement]() { + return this.pointerLockElement; + } + get [S$1.$styleSheets]() { + return this.styleSheets; + } + [S$1.$elementFromPoint](...args) { + return this.elementFromPoint.apply(this, args); + } + [S$1.$elementsFromPoint](...args) { + return this.elementsFromPoint.apply(this, args); + } + [S$1.$getSelection](...args) { + return this.getSelection.apply(this, args); + } + static get supported() { + return !!(Element.prototype.createShadowRoot || Element.prototype.webkitCreateShadowRoot); + } + static _shadowRootDeprecationReport() { + if (!dart.test(html$.ShadowRoot._shadowRootDeprecationReported)) { + html$.window[S$2.$console].warn("ShadowRoot.resetStyleInheritance and ShadowRoot.applyAuthorStyles now deprecated in dart:html.\nPlease remove them from your code.\n"); + html$.ShadowRoot._shadowRootDeprecationReported = true; + } + } + get [S$2.$resetStyleInheritance]() { + html$.ShadowRoot._shadowRootDeprecationReport(); + return false; + } + set [S$2.$resetStyleInheritance](value) { + if (value == null) dart.nullFailed(I[147], 28017, 34, "value"); + html$.ShadowRoot._shadowRootDeprecationReport(); + } + get [S$2.$applyAuthorStyles]() { + html$.ShadowRoot._shadowRootDeprecationReport(); + return false; + } + set [S$2.$applyAuthorStyles](value) { + if (value == null) dart.nullFailed(I[147], 28029, 30, "value"); + html$.ShadowRoot._shadowRootDeprecationReport(); + } + }; + dart.addTypeTests(html$.ShadowRoot); + dart.addTypeCaches(html$.ShadowRoot); + html$.ShadowRoot[dart.implements] = () => [html$.DocumentOrShadowRoot]; + dart.setMethodSignature(html$.ShadowRoot, () => ({ + __proto__: dart.getMethods(html$.ShadowRoot.__proto__), + [S$1.$elementFromPoint]: dart.fnType(dart.nullable(html$.Element), [core.int, core.int]), + [S$1.$elementsFromPoint]: dart.fnType(core.List$(html$.Element), [core.int, core.int]), + [S$1.$getSelection]: dart.fnType(dart.nullable(html$.Selection), []) + })); + dart.setGetterSignature(html$.ShadowRoot, () => ({ + __proto__: dart.getGetters(html$.ShadowRoot.__proto__), + [S$2.$delegatesFocus]: dart.nullable(core.bool), + [S$.$host]: dart.nullable(html$.Element), + [S.$mode]: dart.nullable(core.String), + [S$2.$olderShadowRoot]: dart.nullable(html$.ShadowRoot), + [S$1.$activeElement]: dart.nullable(html$.Element), + [S$1.$fullscreenElement]: dart.nullable(html$.Element), + [S$1.$pointerLockElement]: dart.nullable(html$.Element), + [S$1.$styleSheets]: dart.nullable(core.List$(html$.StyleSheet)), + [S$2.$resetStyleInheritance]: core.bool, + [S$2.$applyAuthorStyles]: core.bool + })); + dart.setSetterSignature(html$.ShadowRoot, () => ({ + __proto__: dart.getSetters(html$.ShadowRoot.__proto__), + [S$2.$resetStyleInheritance]: core.bool, + [S$2.$applyAuthorStyles]: core.bool + })); + dart.setLibraryUri(html$.ShadowRoot, I[148]); + dart.defineLazy(html$.ShadowRoot, { + /*html$.ShadowRoot._shadowRootDeprecationReported*/get _shadowRootDeprecationReported() { + return false; + }, + set _shadowRootDeprecationReported(_) {} + }, false); + dart.registerExtension("ShadowRoot", html$.ShadowRoot); + html$.SharedArrayBuffer = class SharedArrayBuffer extends _interceptors.Interceptor { + get [S$2.$byteLength]() { + return this.byteLength; + } + }; + dart.addTypeTests(html$.SharedArrayBuffer); + dart.addTypeCaches(html$.SharedArrayBuffer); + dart.setGetterSignature(html$.SharedArrayBuffer, () => ({ + __proto__: dart.getGetters(html$.SharedArrayBuffer.__proto__), + [S$2.$byteLength]: dart.nullable(core.int) + })); + dart.setLibraryUri(html$.SharedArrayBuffer, I[148]); + dart.registerExtension("SharedArrayBuffer", html$.SharedArrayBuffer); + html$.SharedWorker = class SharedWorker$ extends html$.EventTarget { + static new(scriptURL, name = null) { + if (scriptURL == null) dart.nullFailed(I[147], 28060, 31, "scriptURL"); + if (name != null) { + return html$.SharedWorker._create_1(scriptURL, name); + } + return html$.SharedWorker._create_2(scriptURL); + } + static _create_1(scriptURL, name) { + return new SharedWorker(scriptURL, name); + } + static _create_2(scriptURL) { + return new SharedWorker(scriptURL); + } + get [S$.$port]() { + return this.port; + } + get [S.$onError]() { + return html$.SharedWorker.errorEvent.forTarget(this); + } + }; + dart.addTypeTests(html$.SharedWorker); + dart.addTypeCaches(html$.SharedWorker); + html$.SharedWorker[dart.implements] = () => [html$.AbstractWorker]; + dart.setGetterSignature(html$.SharedWorker, () => ({ + __proto__: dart.getGetters(html$.SharedWorker.__proto__), + [S$.$port]: dart.nullable(html$.MessagePort), + [S.$onError]: async.Stream$(html$.Event) + })); + dart.setLibraryUri(html$.SharedWorker, I[148]); + dart.defineLazy(html$.SharedWorker, { + /*html$.SharedWorker.errorEvent*/get errorEvent() { + return C[216] || CT.C216; + } + }, false); + dart.registerExtension("SharedWorker", html$.SharedWorker); + html$.SharedWorkerGlobalScope = class SharedWorkerGlobalScope extends html$.WorkerGlobalScope { + get [$name]() { + return this.name; + } + [S.$close](...args) { + return this.close.apply(this, args); + } + [S$0._webkitRequestFileSystem](...args) { + return this.webkitRequestFileSystem.apply(this, args); + } + [S$0.$requestFileSystemSync](...args) { + return this.webkitRequestFileSystemSync.apply(this, args); + } + [S$0.$resolveLocalFileSystemSyncUrl](...args) { + return this.webkitResolveLocalFileSystemSyncURL.apply(this, args); + } + [S$0._webkitResolveLocalFileSystemUrl](...args) { + return this.webkitResolveLocalFileSystemURL.apply(this, args); + } + get [S$2.$onConnect]() { + return html$.SharedWorkerGlobalScope.connectEvent.forTarget(this); + } + static get instance() { + return html$.SharedWorkerGlobalScope.as(html$._workerSelf); + } + }; + dart.addTypeTests(html$.SharedWorkerGlobalScope); + dart.addTypeCaches(html$.SharedWorkerGlobalScope); + dart.setMethodSignature(html$.SharedWorkerGlobalScope, () => ({ + __proto__: dart.getMethods(html$.SharedWorkerGlobalScope.__proto__), + [S.$close]: dart.fnType(dart.void, []), + [S$0._webkitRequestFileSystem]: dart.fnType(dart.void, [core.int, core.int], [dart.nullable(dart.fnType(dart.void, [html$.FileSystem])), dart.nullable(dart.fnType(dart.void, [html$.DomException]))]), + [S$0.$requestFileSystemSync]: dart.fnType(html$._DOMFileSystemSync, [core.int, core.int]), + [S$0.$resolveLocalFileSystemSyncUrl]: dart.fnType(html$._EntrySync, [core.String]), + [S$0._webkitResolveLocalFileSystemUrl]: dart.fnType(dart.void, [core.String, dart.fnType(dart.void, [html$.Entry])], [dart.nullable(dart.fnType(dart.void, [html$.DomException]))]) + })); + dart.setGetterSignature(html$.SharedWorkerGlobalScope, () => ({ + __proto__: dart.getGetters(html$.SharedWorkerGlobalScope.__proto__), + [$name]: dart.nullable(core.String), + [S$2.$onConnect]: async.Stream$(html$.Event) + })); + dart.setLibraryUri(html$.SharedWorkerGlobalScope, I[148]); + dart.defineLazy(html$.SharedWorkerGlobalScope, { + /*html$.SharedWorkerGlobalScope.connectEvent*/get connectEvent() { + return C[366] || CT.C366; + }, + /*html$.SharedWorkerGlobalScope.PERSISTENT*/get PERSISTENT() { + return 1; + }, + /*html$.SharedWorkerGlobalScope.TEMPORARY*/get TEMPORARY() { + return 0; + } + }, false); + dart.registerExtension("SharedWorkerGlobalScope", html$.SharedWorkerGlobalScope); + html$.SlotElement = class SlotElement extends html$.HtmlElement { + get [$name]() { + return this.name; + } + set [$name](value) { + this.name = value; + } + [S$2.$assignedNodes](options = null) { + if (options != null) { + let options_1 = html_common.convertDartToNative_Dictionary(options); + return this[S$2._assignedNodes_1](options_1); + } + return this[S$2._assignedNodes_2](); + } + [S$2._assignedNodes_1](...args) { + return this.assignedNodes.apply(this, args); + } + [S$2._assignedNodes_2](...args) { + return this.assignedNodes.apply(this, args); + } + }; + (html$.SlotElement.created = function() { + html$.SlotElement.__proto__.created.call(this); + ; + }).prototype = html$.SlotElement.prototype; + dart.addTypeTests(html$.SlotElement); + dart.addTypeCaches(html$.SlotElement); + dart.setMethodSignature(html$.SlotElement, () => ({ + __proto__: dart.getMethods(html$.SlotElement.__proto__), + [S$2.$assignedNodes]: dart.fnType(core.List$(html$.Node), [], [dart.nullable(core.Map)]), + [S$2._assignedNodes_1]: dart.fnType(core.List$(html$.Node), [dart.dynamic]), + [S$2._assignedNodes_2]: dart.fnType(core.List$(html$.Node), []) + })); + dart.setGetterSignature(html$.SlotElement, () => ({ + __proto__: dart.getGetters(html$.SlotElement.__proto__), + [$name]: dart.nullable(core.String) + })); + dart.setSetterSignature(html$.SlotElement, () => ({ + __proto__: dart.getSetters(html$.SlotElement.__proto__), + [$name]: dart.nullable(core.String) + })); + dart.setLibraryUri(html$.SlotElement, I[148]); + dart.registerExtension("HTMLSlotElement", html$.SlotElement); + html$.SourceBuffer = class SourceBuffer extends html$.EventTarget { + get [S$2.$appendWindowEnd]() { + return this.appendWindowEnd; + } + set [S$2.$appendWindowEnd](value) { + this.appendWindowEnd = value; + } + get [S$2.$appendWindowStart]() { + return this.appendWindowStart; + } + set [S$2.$appendWindowStart](value) { + this.appendWindowStart = value; + } + get [S$.$audioTracks]() { + return this.audioTracks; + } + get [S$.$buffered]() { + return this.buffered; + } + get [S.$mode]() { + return this.mode; + } + set [S.$mode](value) { + this.mode = value; + } + get [S$2.$timestampOffset]() { + return this.timestampOffset; + } + set [S$2.$timestampOffset](value) { + this.timestampOffset = value; + } + get [S$2.$trackDefaults]() { + return this.trackDefaults; + } + set [S$2.$trackDefaults](value) { + this.trackDefaults = value; + } + get [S$2.$updating]() { + return this.updating; + } + get [S$.$videoTracks]() { + return this.videoTracks; + } + [S.$abort](...args) { + return this.abort.apply(this, args); + } + [S$2.$appendBuffer](...args) { + return this.appendBuffer.apply(this, args); + } + [S$2.$appendTypedData](...args) { + return this.appendBuffer.apply(this, args); + } + [$remove](...args) { + return this.remove.apply(this, args); + } + get [S.$onAbort]() { + return html$.SourceBuffer.abortEvent.forTarget(this); + } + get [S.$onError]() { + return html$.SourceBuffer.errorEvent.forTarget(this); + } + }; + dart.addTypeTests(html$.SourceBuffer); + dart.addTypeCaches(html$.SourceBuffer); + dart.setMethodSignature(html$.SourceBuffer, () => ({ + __proto__: dart.getMethods(html$.SourceBuffer.__proto__), + [S.$abort]: dart.fnType(dart.void, []), + [S$2.$appendBuffer]: dart.fnType(dart.void, [typed_data.ByteBuffer]), + [S$2.$appendTypedData]: dart.fnType(dart.void, [typed_data.TypedData]), + [$remove]: dart.fnType(dart.void, [core.num, core.num]) + })); + dart.setGetterSignature(html$.SourceBuffer, () => ({ + __proto__: dart.getGetters(html$.SourceBuffer.__proto__), + [S$2.$appendWindowEnd]: dart.nullable(core.num), + [S$2.$appendWindowStart]: dart.nullable(core.num), + [S$.$audioTracks]: dart.nullable(web_audio.AudioTrackList), + [S$.$buffered]: dart.nullable(html$.TimeRanges), + [S.$mode]: dart.nullable(core.String), + [S$2.$timestampOffset]: dart.nullable(core.num), + [S$2.$trackDefaults]: dart.nullable(html$.TrackDefaultList), + [S$2.$updating]: dart.nullable(core.bool), + [S$.$videoTracks]: dart.nullable(html$.VideoTrackList), + [S.$onAbort]: async.Stream$(html$.Event), + [S.$onError]: async.Stream$(html$.Event) + })); + dart.setSetterSignature(html$.SourceBuffer, () => ({ + __proto__: dart.getSetters(html$.SourceBuffer.__proto__), + [S$2.$appendWindowEnd]: dart.nullable(core.num), + [S$2.$appendWindowStart]: dart.nullable(core.num), + [S.$mode]: dart.nullable(core.String), + [S$2.$timestampOffset]: dart.nullable(core.num), + [S$2.$trackDefaults]: dart.nullable(html$.TrackDefaultList) + })); + dart.setLibraryUri(html$.SourceBuffer, I[148]); + dart.defineLazy(html$.SourceBuffer, { + /*html$.SourceBuffer.abortEvent*/get abortEvent() { + return C[214] || CT.C214; + }, + /*html$.SourceBuffer.errorEvent*/get errorEvent() { + return C[216] || CT.C216; + } + }, false); + dart.registerExtension("SourceBuffer", html$.SourceBuffer); + const EventTarget_ListMixin$36 = class EventTarget_ListMixin extends html$.EventTarget {}; + (EventTarget_ListMixin$36._created = function() { + EventTarget_ListMixin$36.__proto__._created.call(this); + }).prototype = EventTarget_ListMixin$36.prototype; + dart.applyMixin(EventTarget_ListMixin$36, collection.ListMixin$(html$.SourceBuffer)); + const EventTarget_ImmutableListMixin$36 = class EventTarget_ImmutableListMixin extends EventTarget_ListMixin$36 {}; + (EventTarget_ImmutableListMixin$36._created = function() { + EventTarget_ImmutableListMixin$36.__proto__._created.call(this); + }).prototype = EventTarget_ImmutableListMixin$36.prototype; + dart.applyMixin(EventTarget_ImmutableListMixin$36, html$.ImmutableListMixin$(html$.SourceBuffer)); + html$.SourceBufferList = class SourceBufferList extends EventTarget_ImmutableListMixin$36 { + get [$length]() { + return this.length; + } + [$_get](index) { + if (index == null) dart.nullFailed(I[147], 28242, 32, "index"); + if (index >>> 0 !== index || index >= this[$length]) dart.throw(new core.IndexError.new(index, this)); + return this[index]; + } + [$_set](index, value$) { + let value = value$; + if (index == null) dart.nullFailed(I[147], 28248, 25, "index"); + html$.SourceBuffer.as(value); + if (value == null) dart.nullFailed(I[147], 28248, 45, "value"); + dart.throw(new core.UnsupportedError.new("Cannot assign element of immutable List.")); + return value$; + } + set [$length](value) { + if (value == null) dart.nullFailed(I[147], 28254, 18, "value"); + dart.throw(new core.UnsupportedError.new("Cannot resize immutable List.")); + } + get [$first]() { + if (dart.notNull(this[$length]) > 0) { + return this[0]; + } + dart.throw(new core.StateError.new("No elements")); + } + set [$first](value) { + super[$first] = value; + } + get [$last]() { + let len = this[$length]; + if (dart.notNull(len) > 0) { + return this[dart.notNull(len) - 1]; + } + dart.throw(new core.StateError.new("No elements")); + } + set [$last](value) { + super[$last] = value; + } + get [$single]() { + let len = this[$length]; + if (len === 1) { + return this[0]; + } + if (len === 0) dart.throw(new core.StateError.new("No elements")); + dart.throw(new core.StateError.new("More than one element")); + } + [$elementAt](index) { + if (index == null) dart.nullFailed(I[147], 28282, 30, "index"); + return this[$_get](index); + } + [S$.$item](...args) { + return this.item.apply(this, args); + } + }; + html$.SourceBufferList.prototype[dart.isList] = true; + dart.addTypeTests(html$.SourceBufferList); + dart.addTypeCaches(html$.SourceBufferList); + html$.SourceBufferList[dart.implements] = () => [_js_helper.JavaScriptIndexingBehavior$(html$.SourceBuffer), core.List$(html$.SourceBuffer)]; + dart.setMethodSignature(html$.SourceBufferList, () => ({ + __proto__: dart.getMethods(html$.SourceBufferList.__proto__), + [$_get]: dart.fnType(html$.SourceBuffer, [core.int]), + [$_set]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), + [S$.$item]: dart.fnType(html$.SourceBuffer, [core.int]) + })); + dart.setGetterSignature(html$.SourceBufferList, () => ({ + __proto__: dart.getGetters(html$.SourceBufferList.__proto__), + [$length]: core.int + })); + dart.setSetterSignature(html$.SourceBufferList, () => ({ + __proto__: dart.getSetters(html$.SourceBufferList.__proto__), + [$length]: core.int + })); + dart.setLibraryUri(html$.SourceBufferList, I[148]); + dart.registerExtension("SourceBufferList", html$.SourceBufferList); + html$.SourceElement = class SourceElement extends html$.HtmlElement { + static new() { + return html$.document.createElement("source"); + } + get [S$.$media]() { + return this.media; + } + set [S$.$media](value) { + this.media = value; + } + get [S$1.$sizes]() { + return this.sizes; + } + set [S$1.$sizes](value) { + this.sizes = value; + } + get [S$.$src]() { + return this.src; + } + set [S$.$src](value) { + this.src = value; + } + get [S$1.$srcset]() { + return this.srcset; + } + set [S$1.$srcset](value) { + this.srcset = value; + } + get [S.$type]() { + return this.type; + } + set [S.$type](value) { + this.type = value; + } + }; + (html$.SourceElement.created = function() { + html$.SourceElement.__proto__.created.call(this); + ; + }).prototype = html$.SourceElement.prototype; + dart.addTypeTests(html$.SourceElement); + dart.addTypeCaches(html$.SourceElement); + dart.setGetterSignature(html$.SourceElement, () => ({ + __proto__: dart.getGetters(html$.SourceElement.__proto__), + [S$.$media]: core.String, + [S$1.$sizes]: dart.nullable(core.String), + [S$.$src]: core.String, + [S$1.$srcset]: dart.nullable(core.String), + [S.$type]: core.String + })); + dart.setSetterSignature(html$.SourceElement, () => ({ + __proto__: dart.getSetters(html$.SourceElement.__proto__), + [S$.$media]: core.String, + [S$1.$sizes]: dart.nullable(core.String), + [S$.$src]: core.String, + [S$1.$srcset]: dart.nullable(core.String), + [S.$type]: core.String + })); + dart.setLibraryUri(html$.SourceElement, I[148]); + dart.registerExtension("HTMLSourceElement", html$.SourceElement); + html$.SpanElement = class SpanElement extends html$.HtmlElement { + static new() { + return html$.document.createElement("span"); + } + }; + (html$.SpanElement.created = function() { + html$.SpanElement.__proto__.created.call(this); + ; + }).prototype = html$.SpanElement.prototype; + dart.addTypeTests(html$.SpanElement); + dart.addTypeCaches(html$.SpanElement); + dart.setLibraryUri(html$.SpanElement, I[148]); + dart.registerExtension("HTMLSpanElement", html$.SpanElement); + html$.SpeechGrammar = class SpeechGrammar$ extends _interceptors.Interceptor { + static new() { + return html$.SpeechGrammar._create_1(); + } + static _create_1() { + return new SpeechGrammar(); + } + get [S$.$src]() { + return this.src; + } + set [S$.$src](value) { + this.src = value; + } + get [S$1.$weight]() { + return this.weight; + } + set [S$1.$weight](value) { + this.weight = value; + } + }; + dart.addTypeTests(html$.SpeechGrammar); + dart.addTypeCaches(html$.SpeechGrammar); + dart.setGetterSignature(html$.SpeechGrammar, () => ({ + __proto__: dart.getGetters(html$.SpeechGrammar.__proto__), + [S$.$src]: dart.nullable(core.String), + [S$1.$weight]: dart.nullable(core.num) + })); + dart.setSetterSignature(html$.SpeechGrammar, () => ({ + __proto__: dart.getSetters(html$.SpeechGrammar.__proto__), + [S$.$src]: dart.nullable(core.String), + [S$1.$weight]: dart.nullable(core.num) + })); + dart.setLibraryUri(html$.SpeechGrammar, I[148]); + dart.registerExtension("SpeechGrammar", html$.SpeechGrammar); + const Interceptor_ListMixin$36$5 = class Interceptor_ListMixin extends _interceptors.Interceptor {}; + (Interceptor_ListMixin$36$5.new = function() { + Interceptor_ListMixin$36$5.__proto__.new.call(this); + }).prototype = Interceptor_ListMixin$36$5.prototype; + dart.applyMixin(Interceptor_ListMixin$36$5, collection.ListMixin$(html$.SpeechGrammar)); + const Interceptor_ImmutableListMixin$36$5 = class Interceptor_ImmutableListMixin extends Interceptor_ListMixin$36$5 {}; + (Interceptor_ImmutableListMixin$36$5.new = function() { + Interceptor_ImmutableListMixin$36$5.__proto__.new.call(this); + }).prototype = Interceptor_ImmutableListMixin$36$5.prototype; + dart.applyMixin(Interceptor_ImmutableListMixin$36$5, html$.ImmutableListMixin$(html$.SpeechGrammar)); + html$.SpeechGrammarList = class SpeechGrammarList$ extends Interceptor_ImmutableListMixin$36$5 { + static new() { + return html$.SpeechGrammarList._create_1(); + } + static _create_1() { + return new SpeechGrammarList(); + } + get [$length]() { + return this.length; + } + [$_get](index) { + if (index == null) dart.nullFailed(I[147], 28399, 33, "index"); + if (index >>> 0 !== index || index >= this[$length]) dart.throw(new core.IndexError.new(index, this)); + return this[index]; + } + [$_set](index, value$) { + let value = value$; + if (index == null) dart.nullFailed(I[147], 28405, 25, "index"); + html$.SpeechGrammar.as(value); + if (value == null) dart.nullFailed(I[147], 28405, 46, "value"); + dart.throw(new core.UnsupportedError.new("Cannot assign element of immutable List.")); + return value$; + } + set [$length](value) { + if (value == null) dart.nullFailed(I[147], 28411, 18, "value"); + dart.throw(new core.UnsupportedError.new("Cannot resize immutable List.")); + } + get [$first]() { + if (dart.notNull(this[$length]) > 0) { + return this[0]; + } + dart.throw(new core.StateError.new("No elements")); + } + set [$first](value) { + super[$first] = value; + } + get [$last]() { + let len = this[$length]; + if (dart.notNull(len) > 0) { + return this[dart.notNull(len) - 1]; + } + dart.throw(new core.StateError.new("No elements")); + } + set [$last](value) { + super[$last] = value; + } + get [$single]() { + let len = this[$length]; + if (len === 1) { + return this[0]; + } + if (len === 0) dart.throw(new core.StateError.new("No elements")); + dart.throw(new core.StateError.new("More than one element")); + } + [$elementAt](index) { + if (index == null) dart.nullFailed(I[147], 28439, 31, "index"); + return this[$_get](index); + } + [S$2.$addFromString](...args) { + return this.addFromString.apply(this, args); + } + [S$2.$addFromUri](...args) { + return this.addFromUri.apply(this, args); + } + [S$.$item](...args) { + return this.item.apply(this, args); + } + }; + html$.SpeechGrammarList.prototype[dart.isList] = true; + dart.addTypeTests(html$.SpeechGrammarList); + dart.addTypeCaches(html$.SpeechGrammarList); + html$.SpeechGrammarList[dart.implements] = () => [_js_helper.JavaScriptIndexingBehavior$(html$.SpeechGrammar), core.List$(html$.SpeechGrammar)]; + dart.setMethodSignature(html$.SpeechGrammarList, () => ({ + __proto__: dart.getMethods(html$.SpeechGrammarList.__proto__), + [$_get]: dart.fnType(html$.SpeechGrammar, [core.int]), + [$_set]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), + [S$2.$addFromString]: dart.fnType(dart.void, [core.String], [dart.nullable(core.num)]), + [S$2.$addFromUri]: dart.fnType(dart.void, [core.String], [dart.nullable(core.num)]), + [S$.$item]: dart.fnType(html$.SpeechGrammar, [core.int]) + })); + dart.setGetterSignature(html$.SpeechGrammarList, () => ({ + __proto__: dart.getGetters(html$.SpeechGrammarList.__proto__), + [$length]: core.int + })); + dart.setSetterSignature(html$.SpeechGrammarList, () => ({ + __proto__: dart.getSetters(html$.SpeechGrammarList.__proto__), + [$length]: core.int + })); + dart.setLibraryUri(html$.SpeechGrammarList, I[148]); + dart.registerExtension("SpeechGrammarList", html$.SpeechGrammarList); + html$.SpeechRecognition = class SpeechRecognition extends html$.EventTarget { + static get supported() { + return !!(window.SpeechRecognition || window.webkitSpeechRecognition); + } + get [S$2.$audioTrack]() { + return this.audioTrack; + } + set [S$2.$audioTrack](value) { + this.audioTrack = value; + } + get [S$2.$continuous]() { + return this.continuous; + } + set [S$2.$continuous](value) { + this.continuous = value; + } + get [S$2.$grammars]() { + return this.grammars; + } + set [S$2.$grammars](value) { + this.grammars = value; + } + get [S$2.$interimResults]() { + return this.interimResults; + } + set [S$2.$interimResults](value) { + this.interimResults = value; + } + get [S.$lang]() { + return this.lang; + } + set [S.$lang](value) { + this.lang = value; + } + get [S$2.$maxAlternatives]() { + return this.maxAlternatives; + } + set [S$2.$maxAlternatives](value) { + this.maxAlternatives = value; + } + [S.$abort](...args) { + return this.abort.apply(this, args); + } + [S$.$start](...args) { + return this.start.apply(this, args); + } + [S$.$stop](...args) { + return this.stop.apply(this, args); + } + get [S$2.$onAudioEnd]() { + return html$.SpeechRecognition.audioEndEvent.forTarget(this); + } + get [S$2.$onAudioStart]() { + return html$.SpeechRecognition.audioStartEvent.forTarget(this); + } + get [S$2.$onEnd]() { + return html$.SpeechRecognition.endEvent.forTarget(this); + } + get [S.$onError]() { + return html$.SpeechRecognition.errorEvent.forTarget(this); + } + get [S$2.$onNoMatch]() { + return html$.SpeechRecognition.noMatchEvent.forTarget(this); + } + get [S$2.$onResult]() { + return html$.SpeechRecognition.resultEvent.forTarget(this); + } + get [S$2.$onSoundEnd]() { + return html$.SpeechRecognition.soundEndEvent.forTarget(this); + } + get [S$2.$onSoundStart]() { + return html$.SpeechRecognition.soundStartEvent.forTarget(this); + } + get [S$2.$onSpeechEnd]() { + return html$.SpeechRecognition.speechEndEvent.forTarget(this); + } + get [S$2.$onSpeechStart]() { + return html$.SpeechRecognition.speechStartEvent.forTarget(this); + } + get [S$2.$onStart]() { + return html$.SpeechRecognition.startEvent.forTarget(this); + } + static new() { + return new (window.SpeechRecognition || window.webkitSpeechRecognition)(); + } + }; + dart.addTypeTests(html$.SpeechRecognition); + dart.addTypeCaches(html$.SpeechRecognition); + dart.setMethodSignature(html$.SpeechRecognition, () => ({ + __proto__: dart.getMethods(html$.SpeechRecognition.__proto__), + [S.$abort]: dart.fnType(dart.void, []), + [S$.$start]: dart.fnType(dart.void, []), + [S$.$stop]: dart.fnType(dart.void, []) + })); + dart.setGetterSignature(html$.SpeechRecognition, () => ({ + __proto__: dart.getGetters(html$.SpeechRecognition.__proto__), + [S$2.$audioTrack]: dart.nullable(html$.MediaStreamTrack), + [S$2.$continuous]: dart.nullable(core.bool), + [S$2.$grammars]: dart.nullable(html$.SpeechGrammarList), + [S$2.$interimResults]: dart.nullable(core.bool), + [S.$lang]: dart.nullable(core.String), + [S$2.$maxAlternatives]: dart.nullable(core.int), + [S$2.$onAudioEnd]: async.Stream$(html$.Event), + [S$2.$onAudioStart]: async.Stream$(html$.Event), + [S$2.$onEnd]: async.Stream$(html$.Event), + [S.$onError]: async.Stream$(html$.SpeechRecognitionError), + [S$2.$onNoMatch]: async.Stream$(html$.SpeechRecognitionEvent), + [S$2.$onResult]: async.Stream$(html$.SpeechRecognitionEvent), + [S$2.$onSoundEnd]: async.Stream$(html$.Event), + [S$2.$onSoundStart]: async.Stream$(html$.Event), + [S$2.$onSpeechEnd]: async.Stream$(html$.Event), + [S$2.$onSpeechStart]: async.Stream$(html$.Event), + [S$2.$onStart]: async.Stream$(html$.Event) + })); + dart.setSetterSignature(html$.SpeechRecognition, () => ({ + __proto__: dart.getSetters(html$.SpeechRecognition.__proto__), + [S$2.$audioTrack]: dart.nullable(html$.MediaStreamTrack), + [S$2.$continuous]: dart.nullable(core.bool), + [S$2.$grammars]: dart.nullable(html$.SpeechGrammarList), + [S$2.$interimResults]: dart.nullable(core.bool), + [S.$lang]: dart.nullable(core.String), + [S$2.$maxAlternatives]: dart.nullable(core.int) + })); + dart.setLibraryUri(html$.SpeechRecognition, I[148]); + dart.defineLazy(html$.SpeechRecognition, { + /*html$.SpeechRecognition.audioEndEvent*/get audioEndEvent() { + return C[367] || CT.C367; + }, + /*html$.SpeechRecognition.audioStartEvent*/get audioStartEvent() { + return C[368] || CT.C368; + }, + /*html$.SpeechRecognition.endEvent*/get endEvent() { + return C[369] || CT.C369; + }, + /*html$.SpeechRecognition.errorEvent*/get errorEvent() { + return C[370] || CT.C370; + }, + /*html$.SpeechRecognition.noMatchEvent*/get noMatchEvent() { + return C[371] || CT.C371; + }, + /*html$.SpeechRecognition.resultEvent*/get resultEvent() { + return C[372] || CT.C372; + }, + /*html$.SpeechRecognition.soundEndEvent*/get soundEndEvent() { + return C[373] || CT.C373; + }, + /*html$.SpeechRecognition.soundStartEvent*/get soundStartEvent() { + return C[374] || CT.C374; + }, + /*html$.SpeechRecognition.speechEndEvent*/get speechEndEvent() { + return C[375] || CT.C375; + }, + /*html$.SpeechRecognition.speechStartEvent*/get speechStartEvent() { + return C[376] || CT.C376; + }, + /*html$.SpeechRecognition.startEvent*/get startEvent() { + return C[377] || CT.C377; + } + }, false); + dart.registerExtension("SpeechRecognition", html$.SpeechRecognition); + html$.SpeechRecognitionAlternative = class SpeechRecognitionAlternative extends _interceptors.Interceptor { + get [S$2.$confidence]() { + return this.confidence; + } + get [S$2.$transcript]() { + return this.transcript; + } + }; + dart.addTypeTests(html$.SpeechRecognitionAlternative); + dart.addTypeCaches(html$.SpeechRecognitionAlternative); + dart.setGetterSignature(html$.SpeechRecognitionAlternative, () => ({ + __proto__: dart.getGetters(html$.SpeechRecognitionAlternative.__proto__), + [S$2.$confidence]: dart.nullable(core.num), + [S$2.$transcript]: dart.nullable(core.String) + })); + dart.setLibraryUri(html$.SpeechRecognitionAlternative, I[148]); + dart.registerExtension("SpeechRecognitionAlternative", html$.SpeechRecognitionAlternative); + html$.SpeechRecognitionError = class SpeechRecognitionError$ extends html$.Event { + static new(type, initDict = null) { + if (type == null) dart.nullFailed(I[147], 28659, 41, "type"); + if (initDict != null) { + let initDict_1 = html_common.convertDartToNative_Dictionary(initDict); + return html$.SpeechRecognitionError._create_1(type, initDict_1); + } + return html$.SpeechRecognitionError._create_2(type); + } + static _create_1(type, initDict) { + return new SpeechRecognitionError(type, initDict); + } + static _create_2(type) { + return new SpeechRecognitionError(type); + } + get [S.$error]() { + return this.error; + } + get [$message]() { + return this.message; + } + }; + dart.addTypeTests(html$.SpeechRecognitionError); + dart.addTypeCaches(html$.SpeechRecognitionError); + dart.setGetterSignature(html$.SpeechRecognitionError, () => ({ + __proto__: dart.getGetters(html$.SpeechRecognitionError.__proto__), + [S.$error]: dart.nullable(core.String), + [$message]: dart.nullable(core.String) + })); + dart.setLibraryUri(html$.SpeechRecognitionError, I[148]); + dart.registerExtension("SpeechRecognitionError", html$.SpeechRecognitionError); + html$.SpeechRecognitionEvent = class SpeechRecognitionEvent$ extends html$.Event { + static new(type, initDict = null) { + if (type == null) dart.nullFailed(I[147], 28690, 41, "type"); + if (initDict != null) { + let initDict_1 = html_common.convertDartToNative_Dictionary(initDict); + return html$.SpeechRecognitionEvent._create_1(type, initDict_1); + } + return html$.SpeechRecognitionEvent._create_2(type); + } + static _create_1(type, initDict) { + return new SpeechRecognitionEvent(type, initDict); + } + static _create_2(type) { + return new SpeechRecognitionEvent(type); + } + get [S$2.$emma]() { + return this.emma; + } + get [S$2.$interpretation]() { + return this.interpretation; + } + get [S$2.$resultIndex]() { + return this.resultIndex; + } + get [S$2.$results]() { + return this.results; + } + }; + dart.addTypeTests(html$.SpeechRecognitionEvent); + dart.addTypeCaches(html$.SpeechRecognitionEvent); + dart.setGetterSignature(html$.SpeechRecognitionEvent, () => ({ + __proto__: dart.getGetters(html$.SpeechRecognitionEvent.__proto__), + [S$2.$emma]: dart.nullable(html$.Document), + [S$2.$interpretation]: dart.nullable(html$.Document), + [S$2.$resultIndex]: dart.nullable(core.int), + [S$2.$results]: dart.nullable(core.List$(html$.SpeechRecognitionResult)) + })); + dart.setLibraryUri(html$.SpeechRecognitionEvent, I[148]); + dart.registerExtension("SpeechRecognitionEvent", html$.SpeechRecognitionEvent); + html$.SpeechRecognitionResult = class SpeechRecognitionResult extends _interceptors.Interceptor { + get [S$2.$isFinal]() { + return this.isFinal; + } + get [$length]() { + return this.length; + } + [S$.$item](...args) { + return this.item.apply(this, args); + } + }; + dart.addTypeTests(html$.SpeechRecognitionResult); + dart.addTypeCaches(html$.SpeechRecognitionResult); + dart.setMethodSignature(html$.SpeechRecognitionResult, () => ({ + __proto__: dart.getMethods(html$.SpeechRecognitionResult.__proto__), + [S$.$item]: dart.fnType(html$.SpeechRecognitionAlternative, [core.int]) + })); + dart.setGetterSignature(html$.SpeechRecognitionResult, () => ({ + __proto__: dart.getGetters(html$.SpeechRecognitionResult.__proto__), + [S$2.$isFinal]: dart.nullable(core.bool), + [$length]: dart.nullable(core.int) + })); + dart.setLibraryUri(html$.SpeechRecognitionResult, I[148]); + dart.registerExtension("SpeechRecognitionResult", html$.SpeechRecognitionResult); + html$.SpeechSynthesis = class SpeechSynthesis extends html$.EventTarget { + [S$2.$getVoices]() { + let voices = this[S$2._getVoices](); + if (dart.notNull(voices[$length]) > 0) _js_helper.applyExtension("SpeechSynthesisVoice", voices[$_get](0)); + return voices; + } + get [S$.$paused]() { + return this.paused; + } + get [S$2.$pending]() { + return this.pending; + } + get [S$2.$speaking]() { + return this.speaking; + } + [S$.$cancel](...args) { + return this.cancel.apply(this, args); + } + [S$2._getVoices](...args) { + return this.getVoices.apply(this, args); + } + [S$.$pause](...args) { + return this.pause.apply(this, args); + } + [S$1.$resume](...args) { + return this.resume.apply(this, args); + } + [S$0.$speak](...args) { + return this.speak.apply(this, args); + } + }; + dart.addTypeTests(html$.SpeechSynthesis); + dart.addTypeCaches(html$.SpeechSynthesis); + dart.setMethodSignature(html$.SpeechSynthesis, () => ({ + __proto__: dart.getMethods(html$.SpeechSynthesis.__proto__), + [S$2.$getVoices]: dart.fnType(core.List$(html$.SpeechSynthesisVoice), []), + [S$.$cancel]: dart.fnType(dart.void, []), + [S$2._getVoices]: dart.fnType(core.List$(html$.SpeechSynthesisVoice), []), + [S$.$pause]: dart.fnType(dart.void, []), + [S$1.$resume]: dart.fnType(dart.void, []), + [S$0.$speak]: dart.fnType(dart.void, [html$.SpeechSynthesisUtterance]) + })); + dart.setGetterSignature(html$.SpeechSynthesis, () => ({ + __proto__: dart.getGetters(html$.SpeechSynthesis.__proto__), + [S$.$paused]: dart.nullable(core.bool), + [S$2.$pending]: dart.nullable(core.bool), + [S$2.$speaking]: dart.nullable(core.bool) + })); + dart.setLibraryUri(html$.SpeechSynthesis, I[148]); + dart.registerExtension("SpeechSynthesis", html$.SpeechSynthesis); + html$.SpeechSynthesisEvent = class SpeechSynthesisEvent extends html$.Event { + get [S$2.$charIndex]() { + return this.charIndex; + } + get [S$.$elapsedTime]() { + return this.elapsedTime; + } + get [$name]() { + return this.name; + } + get [S$2.$utterance]() { + return this.utterance; + } + }; + dart.addTypeTests(html$.SpeechSynthesisEvent); + dart.addTypeCaches(html$.SpeechSynthesisEvent); + dart.setGetterSignature(html$.SpeechSynthesisEvent, () => ({ + __proto__: dart.getGetters(html$.SpeechSynthesisEvent.__proto__), + [S$2.$charIndex]: dart.nullable(core.int), + [S$.$elapsedTime]: dart.nullable(core.num), + [$name]: dart.nullable(core.String), + [S$2.$utterance]: dart.nullable(html$.SpeechSynthesisUtterance) + })); + dart.setLibraryUri(html$.SpeechSynthesisEvent, I[148]); + dart.registerExtension("SpeechSynthesisEvent", html$.SpeechSynthesisEvent); + html$.SpeechSynthesisUtterance = class SpeechSynthesisUtterance$ extends html$.EventTarget { + static new(text = null) { + if (text != null) { + return html$.SpeechSynthesisUtterance._create_1(text); + } + return html$.SpeechSynthesisUtterance._create_2(); + } + static _create_1(text) { + return new SpeechSynthesisUtterance(text); + } + static _create_2() { + return new SpeechSynthesisUtterance(); + } + get [S.$lang]() { + return this.lang; + } + set [S.$lang](value) { + this.lang = value; + } + get [S$2.$pitch]() { + return this.pitch; + } + set [S$2.$pitch](value) { + this.pitch = value; + } + get [S$2.$rate]() { + return this.rate; + } + set [S$2.$rate](value) { + this.rate = value; + } + get [S.$text]() { + return this.text; + } + set [S.$text](value) { + this.text = value; + } + get [S$2.$voice]() { + return this.voice; + } + set [S$2.$voice](value) { + this.voice = value; + } + get [S$.$volume]() { + return this.volume; + } + set [S$.$volume](value) { + this.volume = value; + } + get [S$2.$onBoundary]() { + return html$.SpeechSynthesisUtterance.boundaryEvent.forTarget(this); + } + get [S$2.$onEnd]() { + return html$.SpeechSynthesisUtterance.endEvent.forTarget(this); + } + get [S.$onError]() { + return html$.SpeechSynthesisUtterance.errorEvent.forTarget(this); + } + get [S$2.$onMark]() { + return html$.SpeechSynthesisUtterance.markEvent.forTarget(this); + } + get [S.$onPause]() { + return html$.SpeechSynthesisUtterance.pauseEvent.forTarget(this); + } + get [S$2.$onResume]() { + return html$.SpeechSynthesisUtterance.resumeEvent.forTarget(this); + } + get [S$2.$onStart]() { + return html$.SpeechSynthesisUtterance.startEvent.forTarget(this); + } + }; + dart.addTypeTests(html$.SpeechSynthesisUtterance); + dart.addTypeCaches(html$.SpeechSynthesisUtterance); + dart.setGetterSignature(html$.SpeechSynthesisUtterance, () => ({ + __proto__: dart.getGetters(html$.SpeechSynthesisUtterance.__proto__), + [S.$lang]: dart.nullable(core.String), + [S$2.$pitch]: dart.nullable(core.num), + [S$2.$rate]: dart.nullable(core.num), + [S.$text]: dart.nullable(core.String), + [S$2.$voice]: dart.nullable(html$.SpeechSynthesisVoice), + [S$.$volume]: dart.nullable(core.num), + [S$2.$onBoundary]: async.Stream$(html$.SpeechSynthesisEvent), + [S$2.$onEnd]: async.Stream$(html$.SpeechSynthesisEvent), + [S.$onError]: async.Stream$(html$.Event), + [S$2.$onMark]: async.Stream$(html$.SpeechSynthesisEvent), + [S.$onPause]: async.Stream$(html$.Event), + [S$2.$onResume]: async.Stream$(html$.SpeechSynthesisEvent), + [S$2.$onStart]: async.Stream$(html$.SpeechSynthesisEvent) + })); + dart.setSetterSignature(html$.SpeechSynthesisUtterance, () => ({ + __proto__: dart.getSetters(html$.SpeechSynthesisUtterance.__proto__), + [S.$lang]: dart.nullable(core.String), + [S$2.$pitch]: dart.nullable(core.num), + [S$2.$rate]: dart.nullable(core.num), + [S.$text]: dart.nullable(core.String), + [S$2.$voice]: dart.nullable(html$.SpeechSynthesisVoice), + [S$.$volume]: dart.nullable(core.num) + })); + dart.setLibraryUri(html$.SpeechSynthesisUtterance, I[148]); + dart.defineLazy(html$.SpeechSynthesisUtterance, { + /*html$.SpeechSynthesisUtterance.boundaryEvent*/get boundaryEvent() { + return C[378] || CT.C378; + }, + /*html$.SpeechSynthesisUtterance.endEvent*/get endEvent() { + return C[379] || CT.C379; + }, + /*html$.SpeechSynthesisUtterance.errorEvent*/get errorEvent() { + return C[216] || CT.C216; + }, + /*html$.SpeechSynthesisUtterance.markEvent*/get markEvent() { + return C[380] || CT.C380; + }, + /*html$.SpeechSynthesisUtterance.pauseEvent*/get pauseEvent() { + return C[269] || CT.C269; + }, + /*html$.SpeechSynthesisUtterance.resumeEvent*/get resumeEvent() { + return C[381] || CT.C381; + }, + /*html$.SpeechSynthesisUtterance.startEvent*/get startEvent() { + return C[382] || CT.C382; + } + }, false); + dart.registerExtension("SpeechSynthesisUtterance", html$.SpeechSynthesisUtterance); + html$.SpeechSynthesisVoice = class SpeechSynthesisVoice extends _interceptors.Interceptor { + get [S$1.$defaultValue]() { + return this.default; + } + get [S.$lang]() { + return this.lang; + } + get [S$2.$localService]() { + return this.localService; + } + get [$name]() { + return this.name; + } + get [S$2.$voiceUri]() { + return this.voiceURI; + } + }; + dart.addTypeTests(html$.SpeechSynthesisVoice); + dart.addTypeCaches(html$.SpeechSynthesisVoice); + dart.setGetterSignature(html$.SpeechSynthesisVoice, () => ({ + __proto__: dart.getGetters(html$.SpeechSynthesisVoice.__proto__), + [S$1.$defaultValue]: dart.nullable(core.bool), + [S.$lang]: dart.nullable(core.String), + [S$2.$localService]: dart.nullable(core.bool), + [$name]: dart.nullable(core.String), + [S$2.$voiceUri]: dart.nullable(core.String) + })); + dart.setLibraryUri(html$.SpeechSynthesisVoice, I[148]); + dart.registerExtension("SpeechSynthesisVoice", html$.SpeechSynthesisVoice); + html$.StaticRange = class StaticRange extends _interceptors.Interceptor { + get [S$2.$collapsed]() { + return this.collapsed; + } + get [S$2.$endContainer]() { + return this.endContainer; + } + get [S$2.$endOffset]() { + return this.endOffset; + } + get [S$2.$startContainer]() { + return this.startContainer; + } + get [S$2.$startOffset]() { + return this.startOffset; + } + }; + dart.addTypeTests(html$.StaticRange); + dart.addTypeCaches(html$.StaticRange); + dart.setGetterSignature(html$.StaticRange, () => ({ + __proto__: dart.getGetters(html$.StaticRange.__proto__), + [S$2.$collapsed]: dart.nullable(core.bool), + [S$2.$endContainer]: dart.nullable(html$.Node), + [S$2.$endOffset]: dart.nullable(core.int), + [S$2.$startContainer]: dart.nullable(html$.Node), + [S$2.$startOffset]: dart.nullable(core.int) + })); + dart.setLibraryUri(html$.StaticRange, I[148]); + dart.registerExtension("StaticRange", html$.StaticRange); + const Interceptor_MapMixin$36$1 = class Interceptor_MapMixin extends _interceptors.Interceptor {}; + (Interceptor_MapMixin$36$1.new = function() { + Interceptor_MapMixin$36$1.__proto__.new.call(this); + }).prototype = Interceptor_MapMixin$36$1.prototype; + dart.applyMixin(Interceptor_MapMixin$36$1, collection.MapMixin$(core.String, core.String)); + html$.Storage = class Storage extends Interceptor_MapMixin$36$1 { + [$addAll](other) { + T$0.MapOfString$String().as(other); + if (other == null) dart.nullFailed(I[147], 28987, 35, "other"); + other[$forEach](dart.fn((k, v) => { + if (k == null) dart.nullFailed(I[147], 28988, 20, "k"); + if (v == null) dart.nullFailed(I[147], 28988, 23, "v"); + this[$_set](k, v); + }, T$0.StringAndStringTovoid())); + } + [$containsValue](value) { + return this[$values][$any](dart.fn(e => { + if (e == null) dart.nullFailed(I[147], 28994, 52, "e"); + return core.identical(e, value); + }, T$.StringTobool())); + } + [$containsKey](key) { + return this[S$1._getItem](core.String.as(key)) != null; + } + [$_get](key) { + return this[S$1._getItem](core.String.as(key)); + } + [$_set](key, value$) { + let value = value$; + core.String.as(key); + if (key == null) dart.nullFailed(I[147], 29000, 28, "key"); + core.String.as(value); + if (value == null) dart.nullFailed(I[147], 29000, 40, "value"); + this[S$2._setItem](key, value); + return value$; + } + [$putIfAbsent](key, ifAbsent) { + core.String.as(key); + if (key == null) dart.nullFailed(I[147], 29004, 29, "key"); + T$.VoidToString().as(ifAbsent); + if (ifAbsent == null) dart.nullFailed(I[147], 29004, 41, "ifAbsent"); + if (!dart.test(this[$containsKey](key))) this[$_set](key, ifAbsent()); + return dart.nullCast(this[$_get](key), core.String); + } + [$remove](key) { + let value = this[$_get](key); + this[S$2._removeItem](core.String.as(key)); + return value; + } + [$clear]() { + return this[S$0._clear$3](); + } + [$forEach](f) { + if (f == null) dart.nullFailed(I[147], 29017, 21, "f"); + for (let i = 0; true; i = i + 1) { + let key = this[S$2._key](i); + if (key == null) return; + f(key, dart.nullCheck(this[$_get](key))); + } + } + get [$keys]() { + let keys = T$.JSArrayOfString().of([]); + this[$forEach](dart.fn((k, v) => { + if (k == null) dart.nullFailed(I[147], 29028, 14, "k"); + if (v == null) dart.nullFailed(I[147], 29028, 17, "v"); + return keys[$add](k); + }, T$0.StringAndStringTovoid())); + return keys; + } + get [$values]() { + let values = T$.JSArrayOfString().of([]); + this[$forEach](dart.fn((k, v) => { + if (k == null) dart.nullFailed(I[147], 29034, 14, "k"); + if (v == null) dart.nullFailed(I[147], 29034, 17, "v"); + return values[$add](v); + }, T$0.StringAndStringTovoid())); + return values; + } + get [$length]() { + return this[S$2._length$3]; + } + get [$isEmpty]() { + return this[S$2._key](0) == null; + } + get [$isNotEmpty]() { + return !dart.test(this[$isEmpty]); + } + get [S$2._length$3]() { + return this.length; + } + [S$0._clear$3](...args) { + return this.clear.apply(this, args); + } + [S$1._getItem](...args) { + return this.getItem.apply(this, args); + } + [S$2._key](...args) { + return this.key.apply(this, args); + } + [S$2._removeItem](...args) { + return this.removeItem.apply(this, args); + } + [S$2._setItem](...args) { + return this.setItem.apply(this, args); + } + }; + dart.addTypeTests(html$.Storage); + dart.addTypeCaches(html$.Storage); + dart.setMethodSignature(html$.Storage, () => ({ + __proto__: dart.getMethods(html$.Storage.__proto__), + [$_get]: dart.fnType(dart.nullable(core.String), [dart.nullable(core.Object)]), + [$_set]: dart.fnType(dart.void, [dart.nullable(core.Object), dart.nullable(core.Object)]), + [$remove]: dart.fnType(dart.nullable(core.String), [dart.nullable(core.Object)]), + [$clear]: dart.fnType(dart.void, []), + [S$0._clear$3]: dart.fnType(dart.void, []), + [S$1._getItem]: dart.fnType(dart.nullable(core.String), [core.String]), + [S$2._key]: dart.fnType(dart.nullable(core.String), [core.int]), + [S$2._removeItem]: dart.fnType(dart.void, [core.String]), + [S$2._setItem]: dart.fnType(dart.void, [core.String, core.String]) + })); + dart.setGetterSignature(html$.Storage, () => ({ + __proto__: dart.getGetters(html$.Storage.__proto__), + [$keys]: core.Iterable$(core.String), + [S$2._length$3]: core.int + })); + dart.setLibraryUri(html$.Storage, I[148]); + dart.registerExtension("Storage", html$.Storage); + html$.StorageEvent = class StorageEvent$ extends html$.Event { + static new(type, opts) { + if (type == null) dart.nullFailed(I[147], 29082, 31, "type"); + let canBubble = opts && 'canBubble' in opts ? opts.canBubble : false; + if (canBubble == null) dart.nullFailed(I[147], 29083, 13, "canBubble"); + let cancelable = opts && 'cancelable' in opts ? opts.cancelable : false; + if (cancelable == null) dart.nullFailed(I[147], 29084, 12, "cancelable"); + let key = opts && 'key' in opts ? opts.key : null; + let oldValue = opts && 'oldValue' in opts ? opts.oldValue : null; + let newValue = opts && 'newValue' in opts ? opts.newValue : null; + let url = opts && 'url' in opts ? opts.url : null; + let storageArea = opts && 'storageArea' in opts ? opts.storageArea : null; + let e = html$.StorageEvent.as(html$.document[S._createEvent]("StorageEvent")); + e[S$2._initStorageEvent](type, canBubble, cancelable, key, oldValue, newValue, url, storageArea); + return e; + } + static __(type, eventInitDict = null) { + if (type == null) dart.nullFailed(I[147], 29096, 33, "type"); + if (eventInitDict != null) { + let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); + return html$.StorageEvent._create_1(type, eventInitDict_1); + } + return html$.StorageEvent._create_2(type); + } + static _create_1(type, eventInitDict) { + return new StorageEvent(type, eventInitDict); + } + static _create_2(type) { + return new StorageEvent(type); + } + get [S.$key]() { + return this.key; + } + get [S$1.$newValue]() { + return this.newValue; + } + get [S$1.$oldValue]() { + return this.oldValue; + } + get [S$2.$storageArea]() { + return this.storageArea; + } + get [S$.$url]() { + return this.url; + } + [S$2._initStorageEvent](...args) { + return this.initStorageEvent.apply(this, args); + } + }; + dart.addTypeTests(html$.StorageEvent); + dart.addTypeCaches(html$.StorageEvent); + dart.setMethodSignature(html$.StorageEvent, () => ({ + __proto__: dart.getMethods(html$.StorageEvent.__proto__), + [S$2._initStorageEvent]: dart.fnType(dart.void, [dart.nullable(core.String), dart.nullable(core.bool), dart.nullable(core.bool), dart.nullable(core.String), dart.nullable(core.String), dart.nullable(core.String), dart.nullable(core.String), dart.nullable(html$.Storage)]) + })); + dart.setGetterSignature(html$.StorageEvent, () => ({ + __proto__: dart.getGetters(html$.StorageEvent.__proto__), + [S.$key]: dart.nullable(core.String), + [S$1.$newValue]: dart.nullable(core.String), + [S$1.$oldValue]: dart.nullable(core.String), + [S$2.$storageArea]: dart.nullable(html$.Storage), + [S$.$url]: dart.nullable(core.String) + })); + dart.setLibraryUri(html$.StorageEvent, I[148]); + dart.registerExtension("StorageEvent", html$.StorageEvent); + html$.StorageManager = class StorageManager extends _interceptors.Interceptor { + [S$2.$estimate]() { + return html$.promiseToFutureAsMap(this.estimate()); + } + [S$2.$persist]() { + return js_util.promiseToFuture(core.bool, this.persist()); + } + [S$2.$persisted]() { + return js_util.promiseToFuture(core.bool, this.persisted()); + } + }; + dart.addTypeTests(html$.StorageManager); + dart.addTypeCaches(html$.StorageManager); + dart.setMethodSignature(html$.StorageManager, () => ({ + __proto__: dart.getMethods(html$.StorageManager.__proto__), + [S$2.$estimate]: dart.fnType(async.Future$(dart.nullable(core.Map$(core.String, dart.dynamic))), []), + [S$2.$persist]: dart.fnType(async.Future$(core.bool), []), + [S$2.$persisted]: dart.fnType(async.Future$(core.bool), []) + })); + dart.setLibraryUri(html$.StorageManager, I[148]); + dart.registerExtension("StorageManager", html$.StorageManager); + html$.StyleElement = class StyleElement extends html$.HtmlElement { + static new() { + return html$.document.createElement("style"); + } + get [S$.$disabled]() { + return this.disabled; + } + set [S$.$disabled](value) { + this.disabled = value; + } + get [S$.$media]() { + return this.media; + } + set [S$.$media](value) { + this.media = value; + } + get [S$1.$sheet]() { + return this.sheet; + } + get [S.$type]() { + return this.type; + } + set [S.$type](value) { + this.type = value; + } + }; + (html$.StyleElement.created = function() { + html$.StyleElement.__proto__.created.call(this); + ; + }).prototype = html$.StyleElement.prototype; + dart.addTypeTests(html$.StyleElement); + dart.addTypeCaches(html$.StyleElement); + dart.setGetterSignature(html$.StyleElement, () => ({ + __proto__: dart.getGetters(html$.StyleElement.__proto__), + [S$.$disabled]: core.bool, + [S$.$media]: core.String, + [S$1.$sheet]: dart.nullable(html$.StyleSheet), + [S.$type]: dart.nullable(core.String) + })); + dart.setSetterSignature(html$.StyleElement, () => ({ + __proto__: dart.getSetters(html$.StyleElement.__proto__), + [S$.$disabled]: core.bool, + [S$.$media]: core.String, + [S.$type]: dart.nullable(core.String) + })); + dart.setLibraryUri(html$.StyleElement, I[148]); + dart.registerExtension("HTMLStyleElement", html$.StyleElement); + html$.StyleMedia = class StyleMedia extends _interceptors.Interceptor { + get [S.$type]() { + return this.type; + } + [S$2.$matchMedium](...args) { + return this.matchMedium.apply(this, args); + } + }; + dart.addTypeTests(html$.StyleMedia); + dart.addTypeCaches(html$.StyleMedia); + dart.setMethodSignature(html$.StyleMedia, () => ({ + __proto__: dart.getMethods(html$.StyleMedia.__proto__), + [S$2.$matchMedium]: dart.fnType(core.bool, [dart.nullable(core.String)]) + })); + dart.setGetterSignature(html$.StyleMedia, () => ({ + __proto__: dart.getGetters(html$.StyleMedia.__proto__), + [S.$type]: dart.nullable(core.String) + })); + dart.setLibraryUri(html$.StyleMedia, I[148]); + dart.registerExtension("StyleMedia", html$.StyleMedia); + html$.StylePropertyMapReadonly = class StylePropertyMapReadonly extends _interceptors.Interceptor { + [S.$get](...args) { + return this.get.apply(this, args); + } + [S.$getAll](...args) { + return this.getAll.apply(this, args); + } + [S$2.$getProperties](...args) { + return this.getProperties.apply(this, args); + } + [S$.$has](...args) { + return this.has.apply(this, args); + } + }; + dart.addTypeTests(html$.StylePropertyMapReadonly); + dart.addTypeCaches(html$.StylePropertyMapReadonly); + dart.setMethodSignature(html$.StylePropertyMapReadonly, () => ({ + __proto__: dart.getMethods(html$.StylePropertyMapReadonly.__proto__), + [S.$get]: dart.fnType(dart.nullable(html$.CssStyleValue), [core.String]), + [S.$getAll]: dart.fnType(core.List$(html$.CssStyleValue), [core.String]), + [S$2.$getProperties]: dart.fnType(core.List$(core.String), []), + [S$.$has]: dart.fnType(core.bool, [core.String]) + })); + dart.setLibraryUri(html$.StylePropertyMapReadonly, I[148]); + dart.registerExtension("StylePropertyMapReadonly", html$.StylePropertyMapReadonly); + html$.StylePropertyMap = class StylePropertyMap extends html$.StylePropertyMapReadonly { + [S.$append](...args) { + return this.append.apply(this, args); + } + [S.$delete](...args) { + return this.delete.apply(this, args); + } + [S$.$set](...args) { + return this.set.apply(this, args); + } + }; + dart.addTypeTests(html$.StylePropertyMap); + dart.addTypeCaches(html$.StylePropertyMap); + dart.setMethodSignature(html$.StylePropertyMap, () => ({ + __proto__: dart.getMethods(html$.StylePropertyMap.__proto__), + [S.$append]: dart.fnType(dart.void, [core.String, core.Object]), + [S.$delete]: dart.fnType(dart.void, [core.String]), + [S$.$set]: dart.fnType(dart.void, [core.String, core.Object]) + })); + dart.setLibraryUri(html$.StylePropertyMap, I[148]); + dart.registerExtension("StylePropertyMap", html$.StylePropertyMap); + html$.SyncEvent = class SyncEvent$ extends html$.ExtendableEvent { + static new(type, init) { + if (type == null) dart.nullFailed(I[147], 29289, 28, "type"); + if (init == null) dart.nullFailed(I[147], 29289, 38, "init"); + let init_1 = html_common.convertDartToNative_Dictionary(init); + return html$.SyncEvent._create_1(type, init_1); + } + static _create_1(type, init) { + return new SyncEvent(type, init); + } + get [S$2.$lastChance]() { + return this.lastChance; + } + get [S$2.$tag]() { + return this.tag; + } + }; + dart.addTypeTests(html$.SyncEvent); + dart.addTypeCaches(html$.SyncEvent); + dart.setGetterSignature(html$.SyncEvent, () => ({ + __proto__: dart.getGetters(html$.SyncEvent.__proto__), + [S$2.$lastChance]: dart.nullable(core.bool), + [S$2.$tag]: dart.nullable(core.String) + })); + dart.setLibraryUri(html$.SyncEvent, I[148]); + dart.registerExtension("SyncEvent", html$.SyncEvent); + html$.SyncManager = class SyncManager extends _interceptors.Interceptor { + [S$2.$getTags]() { + return js_util.promiseToFuture(core.List, this.getTags()); + } + [S$1.$register](tag) { + if (tag == null) dart.nullFailed(I[147], 29314, 26, "tag"); + return js_util.promiseToFuture(dart.dynamic, this.register(tag)); + } + }; + dart.addTypeTests(html$.SyncManager); + dart.addTypeCaches(html$.SyncManager); + dart.setMethodSignature(html$.SyncManager, () => ({ + __proto__: dart.getMethods(html$.SyncManager.__proto__), + [S$2.$getTags]: dart.fnType(async.Future$(core.List), []), + [S$1.$register]: dart.fnType(async.Future, [core.String]) + })); + dart.setLibraryUri(html$.SyncManager, I[148]); + dart.registerExtension("SyncManager", html$.SyncManager); + html$.TableCaptionElement = class TableCaptionElement extends html$.HtmlElement { + static new() { + return html$.document.createElement("caption"); + } + }; + (html$.TableCaptionElement.created = function() { + html$.TableCaptionElement.__proto__.created.call(this); + ; + }).prototype = html$.TableCaptionElement.prototype; + dart.addTypeTests(html$.TableCaptionElement); + dart.addTypeCaches(html$.TableCaptionElement); + dart.setLibraryUri(html$.TableCaptionElement, I[148]); + dart.registerExtension("HTMLTableCaptionElement", html$.TableCaptionElement); + html$.TableCellElement = class TableCellElement extends html$.HtmlElement { + static new() { + return html$.document.createElement("td"); + } + get [S$2.$cellIndex]() { + return this.cellIndex; + } + get [S$.$colSpan]() { + return this.colSpan; + } + set [S$.$colSpan](value) { + this.colSpan = value; + } + get [S$2.$headers]() { + return this.headers; + } + set [S$2.$headers](value) { + this.headers = value; + } + get [S$.$rowSpan]() { + return this.rowSpan; + } + set [S$.$rowSpan](value) { + this.rowSpan = value; + } + }; + (html$.TableCellElement.created = function() { + html$.TableCellElement.__proto__.created.call(this); + ; + }).prototype = html$.TableCellElement.prototype; + dart.addTypeTests(html$.TableCellElement); + dart.addTypeCaches(html$.TableCellElement); + dart.setGetterSignature(html$.TableCellElement, () => ({ + __proto__: dart.getGetters(html$.TableCellElement.__proto__), + [S$2.$cellIndex]: core.int, + [S$.$colSpan]: core.int, + [S$2.$headers]: core.String, + [S$.$rowSpan]: core.int + })); + dart.setSetterSignature(html$.TableCellElement, () => ({ + __proto__: dart.getSetters(html$.TableCellElement.__proto__), + [S$.$colSpan]: core.int, + [S$2.$headers]: dart.nullable(core.String), + [S$.$rowSpan]: core.int + })); + dart.setLibraryUri(html$.TableCellElement, I[148]); + dart.registerExtension("HTMLTableCellElement", html$.TableCellElement); + dart.registerExtension("HTMLTableDataCellElement", html$.TableCellElement); + dart.registerExtension("HTMLTableHeaderCellElement", html$.TableCellElement); + html$.TableColElement = class TableColElement extends html$.HtmlElement { + static new() { + return html$.document.createElement("col"); + } + get [S$2.$span]() { + return this.span; + } + set [S$2.$span](value) { + this.span = value; + } + }; + (html$.TableColElement.created = function() { + html$.TableColElement.__proto__.created.call(this); + ; + }).prototype = html$.TableColElement.prototype; + dart.addTypeTests(html$.TableColElement); + dart.addTypeCaches(html$.TableColElement); + dart.setGetterSignature(html$.TableColElement, () => ({ + __proto__: dart.getGetters(html$.TableColElement.__proto__), + [S$2.$span]: core.int + })); + dart.setSetterSignature(html$.TableColElement, () => ({ + __proto__: dart.getSetters(html$.TableColElement.__proto__), + [S$2.$span]: core.int + })); + dart.setLibraryUri(html$.TableColElement, I[148]); + dart.registerExtension("HTMLTableColElement", html$.TableColElement); + html$.TableElement = class TableElement extends html$.HtmlElement { + get [S$2.$tBodies]() { + return new (T$0._WrappedListOfTableSectionElement()).new(this[S$2._tBodies]); + } + get [S$2.$rows]() { + return new (T$0._WrappedListOfTableRowElement()).new(this[S$2._rows]); + } + [S$2.$addRow]() { + return this[S$2.$insertRow](-1); + } + [S$2.$createCaption]() { + return this[S$2._createCaption](); + } + [S$2.$createTBody]() { + return this[S$2._createTBody](); + } + [S$2.$createTFoot]() { + return this[S$2._createTFoot](); + } + [S$2.$createTHead]() { + return this[S$2._createTHead](); + } + [S$2.$insertRow](index) { + if (index == null) dart.nullFailed(I[147], 29424, 33, "index"); + return this[S$2._insertRow](index); + } + [S$2._createTBody]() { + if (!!this.createTBody) { + return this[S$2._nativeCreateTBody](); + } + let tbody = html$.Element.tag("tbody"); + this[S.$children][$add](tbody); + return html$.TableSectionElement.as(tbody); + } + [S$2._nativeCreateTBody](...args) { + return this.createTBody.apply(this, args); + } + [S.$createFragment](html, opts) { + let validator = opts && 'validator' in opts ? opts.validator : null; + let treeSanitizer = opts && 'treeSanitizer' in opts ? opts.treeSanitizer : null; + if (dart.test(html$.Range.supportsCreateContextualFragment)) { + return super[S.$createFragment](html, {validator: validator, treeSanitizer: treeSanitizer}); + } + let contextualHtml = "" + dart.str(html) + "
"; + let table = html$.Element.html(contextualHtml, {validator: validator, treeSanitizer: treeSanitizer}); + let fragment = html$.DocumentFragment.new(); + fragment[S.$nodes][$addAll](table[S.$nodes]); + return fragment; + } + static new() { + return html$.document.createElement("table"); + } + get [S$2.$caption]() { + return this.caption; + } + set [S$2.$caption](value) { + this.caption = value; + } + get [S$2._rows]() { + return this.rows; + } + get [S$2._tBodies]() { + return this.tBodies; + } + get [S$2.$tFoot]() { + return this.tFoot; + } + set [S$2.$tFoot](value) { + this.tFoot = value; + } + get [S$2.$tHead]() { + return this.tHead; + } + set [S$2.$tHead](value) { + this.tHead = value; + } + [S$2._createCaption](...args) { + return this.createCaption.apply(this, args); + } + [S$2._createTFoot](...args) { + return this.createTFoot.apply(this, args); + } + [S$2._createTHead](...args) { + return this.createTHead.apply(this, args); + } + [S$2.$deleteCaption](...args) { + return this.deleteCaption.apply(this, args); + } + [S$2.$deleteRow](...args) { + return this.deleteRow.apply(this, args); + } + [S$2.$deleteTFoot](...args) { + return this.deleteTFoot.apply(this, args); + } + [S$2.$deleteTHead](...args) { + return this.deleteTHead.apply(this, args); + } + [S$2._insertRow](...args) { + return this.insertRow.apply(this, args); + } + }; + (html$.TableElement.created = function() { + html$.TableElement.__proto__.created.call(this); + ; + }).prototype = html$.TableElement.prototype; + dart.addTypeTests(html$.TableElement); + dart.addTypeCaches(html$.TableElement); + dart.setMethodSignature(html$.TableElement, () => ({ + __proto__: dart.getMethods(html$.TableElement.__proto__), + [S$2.$addRow]: dart.fnType(html$.TableRowElement, []), + [S$2.$createCaption]: dart.fnType(html$.TableCaptionElement, []), + [S$2.$createTBody]: dart.fnType(html$.TableSectionElement, []), + [S$2.$createTFoot]: dart.fnType(html$.TableSectionElement, []), + [S$2.$createTHead]: dart.fnType(html$.TableSectionElement, []), + [S$2.$insertRow]: dart.fnType(html$.TableRowElement, [core.int]), + [S$2._createTBody]: dart.fnType(html$.TableSectionElement, []), + [S$2._nativeCreateTBody]: dart.fnType(html$.TableSectionElement, []), + [S$2._createCaption]: dart.fnType(html$.TableCaptionElement, []), + [S$2._createTFoot]: dart.fnType(html$.TableSectionElement, []), + [S$2._createTHead]: dart.fnType(html$.TableSectionElement, []), + [S$2.$deleteCaption]: dart.fnType(dart.void, []), + [S$2.$deleteRow]: dart.fnType(dart.void, [core.int]), + [S$2.$deleteTFoot]: dart.fnType(dart.void, []), + [S$2.$deleteTHead]: dart.fnType(dart.void, []), + [S$2._insertRow]: dart.fnType(html$.TableRowElement, [], [dart.nullable(core.int)]) + })); + dart.setGetterSignature(html$.TableElement, () => ({ + __proto__: dart.getGetters(html$.TableElement.__proto__), + [S$2.$tBodies]: core.List$(html$.TableSectionElement), + [S$2.$rows]: core.List$(html$.TableRowElement), + [S$2.$caption]: dart.nullable(html$.TableCaptionElement), + [S$2._rows]: core.List$(html$.Node), + [S$2._tBodies]: core.List$(html$.Node), + [S$2.$tFoot]: dart.nullable(html$.TableSectionElement), + [S$2.$tHead]: dart.nullable(html$.TableSectionElement) + })); + dart.setSetterSignature(html$.TableElement, () => ({ + __proto__: dart.getSetters(html$.TableElement.__proto__), + [S$2.$caption]: dart.nullable(html$.TableCaptionElement), + [S$2.$tFoot]: dart.nullable(html$.TableSectionElement), + [S$2.$tHead]: dart.nullable(html$.TableSectionElement) + })); + dart.setLibraryUri(html$.TableElement, I[148]); + dart.registerExtension("HTMLTableElement", html$.TableElement); + html$.TableRowElement = class TableRowElement extends html$.HtmlElement { + get [S$2.$cells]() { + return new (T$0._WrappedListOfTableCellElement()).new(this[S$2._cells]); + } + [S$2.$addCell]() { + return this[S$2.$insertCell](-1); + } + [S$2.$insertCell](index) { + if (index == null) dart.nullFailed(I[147], 29526, 35, "index"); + return html$.TableCellElement.as(this[S$2._insertCell](index)); + } + [S.$createFragment](html, opts) { + let validator = opts && 'validator' in opts ? opts.validator : null; + let treeSanitizer = opts && 'treeSanitizer' in opts ? opts.treeSanitizer : null; + if (dart.test(html$.Range.supportsCreateContextualFragment)) { + return super[S.$createFragment](html, {validator: validator, treeSanitizer: treeSanitizer}); + } + let fragment = html$.DocumentFragment.new(); + let section = html$.TableElement.new()[S.$createFragment](html, {validator: validator, treeSanitizer: treeSanitizer})[S.$nodes][$single]; + let row = section[S.$nodes][$single]; + fragment[S.$nodes][$addAll](row[S.$nodes]); + return fragment; + } + static new() { + return html$.document.createElement("tr"); + } + get [S$2._cells]() { + return this.cells; + } + get [S$.$rowIndex]() { + return this.rowIndex; + } + get [S$2.$sectionRowIndex]() { + return this.sectionRowIndex; + } + [S$2.$deleteCell](...args) { + return this.deleteCell.apply(this, args); + } + [S$2._insertCell](...args) { + return this.insertCell.apply(this, args); + } + }; + (html$.TableRowElement.created = function() { + html$.TableRowElement.__proto__.created.call(this); + ; + }).prototype = html$.TableRowElement.prototype; + dart.addTypeTests(html$.TableRowElement); + dart.addTypeCaches(html$.TableRowElement); + dart.setMethodSignature(html$.TableRowElement, () => ({ + __proto__: dart.getMethods(html$.TableRowElement.__proto__), + [S$2.$addCell]: dart.fnType(html$.TableCellElement, []), + [S$2.$insertCell]: dart.fnType(html$.TableCellElement, [core.int]), + [S$2.$deleteCell]: dart.fnType(dart.void, [core.int]), + [S$2._insertCell]: dart.fnType(html$.HtmlElement, [], [dart.nullable(core.int)]) + })); + dart.setGetterSignature(html$.TableRowElement, () => ({ + __proto__: dart.getGetters(html$.TableRowElement.__proto__), + [S$2.$cells]: core.List$(html$.TableCellElement), + [S$2._cells]: core.List$(html$.Node), + [S$.$rowIndex]: core.int, + [S$2.$sectionRowIndex]: core.int + })); + dart.setLibraryUri(html$.TableRowElement, I[148]); + dart.registerExtension("HTMLTableRowElement", html$.TableRowElement); + html$.TableSectionElement = class TableSectionElement extends html$.HtmlElement { + get [S$2.$rows]() { + return new (T$0._WrappedListOfTableRowElement()).new(this[S$2._rows]); + } + [S$2.$addRow]() { + return this[S$2.$insertRow](-1); + } + [S$2.$insertRow](index) { + if (index == null) dart.nullFailed(I[147], 29590, 33, "index"); + return html$.TableRowElement.as(this[S$2._insertRow](index)); + } + [S.$createFragment](html, opts) { + let validator = opts && 'validator' in opts ? opts.validator : null; + let treeSanitizer = opts && 'treeSanitizer' in opts ? opts.treeSanitizer : null; + if (dart.test(html$.Range.supportsCreateContextualFragment)) { + return super[S.$createFragment](html, {validator: validator, treeSanitizer: treeSanitizer}); + } + let fragment = html$.DocumentFragment.new(); + let section = html$.TableElement.new()[S.$createFragment](html, {validator: validator, treeSanitizer: treeSanitizer})[S.$nodes][$single]; + fragment[S.$nodes][$addAll](section[S.$nodes]); + return fragment; + } + get [S$2._rows]() { + return this.rows; + } + [S$2.$deleteRow](...args) { + return this.deleteRow.apply(this, args); + } + [S$2._insertRow](...args) { + return this.insertRow.apply(this, args); + } + }; + (html$.TableSectionElement.created = function() { + html$.TableSectionElement.__proto__.created.call(this); + ; + }).prototype = html$.TableSectionElement.prototype; + dart.addTypeTests(html$.TableSectionElement); + dart.addTypeCaches(html$.TableSectionElement); + dart.setMethodSignature(html$.TableSectionElement, () => ({ + __proto__: dart.getMethods(html$.TableSectionElement.__proto__), + [S$2.$addRow]: dart.fnType(html$.TableRowElement, []), + [S$2.$insertRow]: dart.fnType(html$.TableRowElement, [core.int]), + [S$2.$deleteRow]: dart.fnType(dart.void, [core.int]), + [S$2._insertRow]: dart.fnType(html$.HtmlElement, [], [dart.nullable(core.int)]) + })); + dart.setGetterSignature(html$.TableSectionElement, () => ({ + __proto__: dart.getGetters(html$.TableSectionElement.__proto__), + [S$2.$rows]: core.List$(html$.TableRowElement), + [S$2._rows]: core.List$(html$.Node) + })); + dart.setLibraryUri(html$.TableSectionElement, I[148]); + dart.registerExtension("HTMLTableSectionElement", html$.TableSectionElement); + html$.TaskAttributionTiming = class TaskAttributionTiming extends html$.PerformanceEntry { + get [S$2.$containerId]() { + return this.containerId; + } + get [S$2.$containerName]() { + return this.containerName; + } + get [S$2.$containerSrc]() { + return this.containerSrc; + } + get [S$2.$containerType]() { + return this.containerType; + } + get [S$2.$scriptUrl]() { + return this.scriptURL; + } + }; + dart.addTypeTests(html$.TaskAttributionTiming); + dart.addTypeCaches(html$.TaskAttributionTiming); + dart.setGetterSignature(html$.TaskAttributionTiming, () => ({ + __proto__: dart.getGetters(html$.TaskAttributionTiming.__proto__), + [S$2.$containerId]: dart.nullable(core.String), + [S$2.$containerName]: dart.nullable(core.String), + [S$2.$containerSrc]: dart.nullable(core.String), + [S$2.$containerType]: dart.nullable(core.String), + [S$2.$scriptUrl]: dart.nullable(core.String) + })); + dart.setLibraryUri(html$.TaskAttributionTiming, I[148]); + dart.registerExtension("TaskAttributionTiming", html$.TaskAttributionTiming); + html$.TemplateElement = class TemplateElement extends html$.HtmlElement { + static new() { + return html$.TemplateElement.as(html$.document[S.$createElement]("template")); + } + static get supported() { + return html$.Element.isTagSupported("template"); + } + get [S$0.$content]() { + return this.content; + } + [S.$setInnerHtml](html, opts) { + let validator = opts && 'validator' in opts ? opts.validator : null; + let treeSanitizer = opts && 'treeSanitizer' in opts ? opts.treeSanitizer : null; + this[S.$text] = null; + dart.nullCheck(this.content)[S.$nodes][$clear](); + let fragment = this[S.$createFragment](html, {validator: validator, treeSanitizer: treeSanitizer}); + dart.nullCheck(this.content)[S.$append](fragment); + } + }; + (html$.TemplateElement.created = function() { + html$.TemplateElement.__proto__.created.call(this); + ; + }).prototype = html$.TemplateElement.prototype; + dart.addTypeTests(html$.TemplateElement); + dart.addTypeCaches(html$.TemplateElement); + dart.setGetterSignature(html$.TemplateElement, () => ({ + __proto__: dart.getGetters(html$.TemplateElement.__proto__), + [S$0.$content]: dart.nullable(html$.DocumentFragment) + })); + dart.setLibraryUri(html$.TemplateElement, I[148]); + dart.registerExtension("HTMLTemplateElement", html$.TemplateElement); + html$.TextAreaElement = class TextAreaElement extends html$.HtmlElement { + static new() { + return html$.document.createElement("textarea"); + } + get [S$1.$autocapitalize]() { + return this.autocapitalize; + } + set [S$1.$autocapitalize](value) { + this.autocapitalize = value; + } + get [S$.$autofocus]() { + return this.autofocus; + } + set [S$.$autofocus](value) { + this.autofocus = value; + } + get [S$2.$cols]() { + return this.cols; + } + set [S$2.$cols](value) { + this.cols = value; + } + get [S$1.$defaultValue]() { + return this.defaultValue; + } + set [S$1.$defaultValue](value) { + this.defaultValue = value; + } + get [S$1.$dirName]() { + return this.dirName; + } + set [S$1.$dirName](value) { + this.dirName = value; + } + get [S$.$disabled]() { + return this.disabled; + } + set [S$.$disabled](value) { + this.disabled = value; + } + get [S$.$form]() { + return this.form; + } + get [S$.$labels]() { + return this.labels; + } + get [S$1.$maxLength]() { + return this.maxLength; + } + set [S$1.$maxLength](value) { + this.maxLength = value; + } + get [S$1.$minLength]() { + return this.minLength; + } + set [S$1.$minLength](value) { + this.minLength = value; + } + get [$name]() { + return this.name; + } + set [$name](value) { + this.name = value; + } + get [S$.$placeholder]() { + return this.placeholder; + } + set [S$.$placeholder](value) { + this.placeholder = value; + } + get [S$.$readOnly]() { + return this.readOnly; + } + set [S$.$readOnly](value) { + this.readOnly = value; + } + get [S$.$required]() { + return this.required; + } + set [S$.$required](value) { + this.required = value; + } + get [S$2.$rows]() { + return this.rows; + } + set [S$2.$rows](value) { + this.rows = value; + } + get [S$1.$selectionDirection]() { + return this.selectionDirection; + } + set [S$1.$selectionDirection](value) { + this.selectionDirection = value; + } + get [S$1.$selectionEnd]() { + return this.selectionEnd; + } + set [S$1.$selectionEnd](value) { + this.selectionEnd = value; + } + get [S$1.$selectionStart]() { + return this.selectionStart; + } + set [S$1.$selectionStart](value) { + this.selectionStart = value; + } + get [S$2.$textLength]() { + return this.textLength; + } + get [S.$type]() { + return this.type; + } + get [S$.$validationMessage]() { + return this.validationMessage; + } + get [S$.$validity]() { + return this.validity; + } + get [S.$value]() { + return this.value; + } + set [S.$value](value) { + this.value = value; + } + get [S$.$willValidate]() { + return this.willValidate; + } + get [S$2.$wrap]() { + return this.wrap; + } + set [S$2.$wrap](value) { + this.wrap = value; + } + [S$.$checkValidity](...args) { + return this.checkValidity.apply(this, args); + } + [S$.$reportValidity](...args) { + return this.reportValidity.apply(this, args); + } + [S$.$select](...args) { + return this.select.apply(this, args); + } + [S$.$setCustomValidity](...args) { + return this.setCustomValidity.apply(this, args); + } + [S$1.$setRangeText](...args) { + return this.setRangeText.apply(this, args); + } + [S$1.$setSelectionRange](...args) { + return this.setSelectionRange.apply(this, args); + } + }; + (html$.TextAreaElement.created = function() { + html$.TextAreaElement.__proto__.created.call(this); + ; + }).prototype = html$.TextAreaElement.prototype; + dart.addTypeTests(html$.TextAreaElement); + dart.addTypeCaches(html$.TextAreaElement); + dart.setMethodSignature(html$.TextAreaElement, () => ({ + __proto__: dart.getMethods(html$.TextAreaElement.__proto__), + [S$.$checkValidity]: dart.fnType(core.bool, []), + [S$.$reportValidity]: dart.fnType(core.bool, []), + [S$.$select]: dart.fnType(dart.void, []), + [S$.$setCustomValidity]: dart.fnType(dart.void, [core.String]), + [S$1.$setRangeText]: dart.fnType(dart.void, [core.String], {end: dart.nullable(core.int), selectionMode: dart.nullable(core.String), start: dart.nullable(core.int)}, {}), + [S$1.$setSelectionRange]: dart.fnType(dart.void, [core.int, core.int], [dart.nullable(core.String)]) + })); + dart.setGetterSignature(html$.TextAreaElement, () => ({ + __proto__: dart.getGetters(html$.TextAreaElement.__proto__), + [S$1.$autocapitalize]: dart.nullable(core.String), + [S$.$autofocus]: core.bool, + [S$2.$cols]: core.int, + [S$1.$defaultValue]: dart.nullable(core.String), + [S$1.$dirName]: dart.nullable(core.String), + [S$.$disabled]: core.bool, + [S$.$form]: dart.nullable(html$.FormElement), + [S$.$labels]: dart.nullable(core.List$(html$.Node)), + [S$1.$maxLength]: core.int, + [S$1.$minLength]: core.int, + [$name]: core.String, + [S$.$placeholder]: core.String, + [S$.$readOnly]: core.bool, + [S$.$required]: core.bool, + [S$2.$rows]: core.int, + [S$1.$selectionDirection]: dart.nullable(core.String), + [S$1.$selectionEnd]: dart.nullable(core.int), + [S$1.$selectionStart]: dart.nullable(core.int), + [S$2.$textLength]: dart.nullable(core.int), + [S.$type]: dart.nullable(core.String), + [S$.$validationMessage]: dart.nullable(core.String), + [S$.$validity]: dart.nullable(html$.ValidityState), + [S.$value]: dart.nullable(core.String), + [S$.$willValidate]: dart.nullable(core.bool), + [S$2.$wrap]: core.String + })); + dart.setSetterSignature(html$.TextAreaElement, () => ({ + __proto__: dart.getSetters(html$.TextAreaElement.__proto__), + [S$1.$autocapitalize]: dart.nullable(core.String), + [S$.$autofocus]: core.bool, + [S$2.$cols]: core.int, + [S$1.$defaultValue]: dart.nullable(core.String), + [S$1.$dirName]: dart.nullable(core.String), + [S$.$disabled]: core.bool, + [S$1.$maxLength]: core.int, + [S$1.$minLength]: core.int, + [$name]: core.String, + [S$.$placeholder]: core.String, + [S$.$readOnly]: core.bool, + [S$.$required]: core.bool, + [S$2.$rows]: core.int, + [S$1.$selectionDirection]: dart.nullable(core.String), + [S$1.$selectionEnd]: dart.nullable(core.int), + [S$1.$selectionStart]: dart.nullable(core.int), + [S.$value]: dart.nullable(core.String), + [S$2.$wrap]: core.String + })); + dart.setLibraryUri(html$.TextAreaElement, I[148]); + dart.registerExtension("HTMLTextAreaElement", html$.TextAreaElement); + html$.TextDetector = class TextDetector$ extends _interceptors.Interceptor { + static new() { + return html$.TextDetector._create_1(); + } + static _create_1() { + return new TextDetector(); + } + [S$.$detect](image) { + return js_util.promiseToFuture(core.List, this.detect(image)); + } + }; + dart.addTypeTests(html$.TextDetector); + dart.addTypeCaches(html$.TextDetector); + dart.setMethodSignature(html$.TextDetector, () => ({ + __proto__: dart.getMethods(html$.TextDetector.__proto__), + [S$.$detect]: dart.fnType(async.Future$(core.List), [dart.dynamic]) + })); + dart.setLibraryUri(html$.TextDetector, I[148]); + dart.registerExtension("TextDetector", html$.TextDetector); + html$.TextEvent = class TextEvent extends html$.UIEvent { + static new(type, opts) { + if (type == null) dart.nullFailed(I[147], 29878, 28, "type"); + let canBubble = opts && 'canBubble' in opts ? opts.canBubble : false; + if (canBubble == null) dart.nullFailed(I[147], 29879, 13, "canBubble"); + let cancelable = opts && 'cancelable' in opts ? opts.cancelable : false; + if (cancelable == null) dart.nullFailed(I[147], 29880, 12, "cancelable"); + let view = opts && 'view' in opts ? opts.view : null; + let data = opts && 'data' in opts ? opts.data : null; + if (view == null) { + view = html$.window; + } + let e = html$.TextEvent.as(html$.document[S._createEvent]("TextEvent")); + e[S$2._initTextEvent](type, canBubble, cancelable, view, data); + return e; + } + get [S$.$data]() { + return this.data; + } + [S$2._initTextEvent](...args) { + return this.initTextEvent.apply(this, args); + } + }; + dart.addTypeTests(html$.TextEvent); + dart.addTypeCaches(html$.TextEvent); + dart.setMethodSignature(html$.TextEvent, () => ({ + __proto__: dart.getMethods(html$.TextEvent.__proto__), + [S$2._initTextEvent]: dart.fnType(dart.void, [dart.nullable(core.String), dart.nullable(core.bool), dart.nullable(core.bool), dart.nullable(html$.Window), dart.nullable(core.String)]) + })); + dart.setGetterSignature(html$.TextEvent, () => ({ + __proto__: dart.getGetters(html$.TextEvent.__proto__), + [S$.$data]: dart.nullable(core.String) + })); + dart.setLibraryUri(html$.TextEvent, I[148]); + dart.registerExtension("TextEvent", html$.TextEvent); + html$.TextMetrics = class TextMetrics extends _interceptors.Interceptor { + get [S$2.$actualBoundingBoxAscent]() { + return this.actualBoundingBoxAscent; + } + get [S$2.$actualBoundingBoxDescent]() { + return this.actualBoundingBoxDescent; + } + get [S$2.$actualBoundingBoxLeft]() { + return this.actualBoundingBoxLeft; + } + get [S$2.$actualBoundingBoxRight]() { + return this.actualBoundingBoxRight; + } + get [S$2.$alphabeticBaseline]() { + return this.alphabeticBaseline; + } + get [S$2.$emHeightAscent]() { + return this.emHeightAscent; + } + get [S$2.$emHeightDescent]() { + return this.emHeightDescent; + } + get [S$2.$fontBoundingBoxAscent]() { + return this.fontBoundingBoxAscent; + } + get [S$2.$fontBoundingBoxDescent]() { + return this.fontBoundingBoxDescent; + } + get [S$2.$hangingBaseline]() { + return this.hangingBaseline; + } + get [S$2.$ideographicBaseline]() { + return this.ideographicBaseline; + } + get [$width]() { + return this.width; + } + }; + dart.addTypeTests(html$.TextMetrics); + dart.addTypeCaches(html$.TextMetrics); + dart.setGetterSignature(html$.TextMetrics, () => ({ + __proto__: dart.getGetters(html$.TextMetrics.__proto__), + [S$2.$actualBoundingBoxAscent]: dart.nullable(core.num), + [S$2.$actualBoundingBoxDescent]: dart.nullable(core.num), + [S$2.$actualBoundingBoxLeft]: dart.nullable(core.num), + [S$2.$actualBoundingBoxRight]: dart.nullable(core.num), + [S$2.$alphabeticBaseline]: dart.nullable(core.num), + [S$2.$emHeightAscent]: dart.nullable(core.num), + [S$2.$emHeightDescent]: dart.nullable(core.num), + [S$2.$fontBoundingBoxAscent]: dart.nullable(core.num), + [S$2.$fontBoundingBoxDescent]: dart.nullable(core.num), + [S$2.$hangingBaseline]: dart.nullable(core.num), + [S$2.$ideographicBaseline]: dart.nullable(core.num), + [$width]: dart.nullable(core.num) + })); + dart.setLibraryUri(html$.TextMetrics, I[148]); + dart.registerExtension("TextMetrics", html$.TextMetrics); + html$.TextTrack = class TextTrack extends html$.EventTarget { + get [S$2.$activeCues]() { + return this.activeCues; + } + get [S$2.$cues]() { + return this.cues; + } + get [S.$id]() { + return this.id; + } + get [S$.$kind]() { + return this.kind; + } + get [S$.$label]() { + return this.label; + } + get [S$1.$language]() { + return this.language; + } + get [S.$mode]() { + return this.mode; + } + set [S.$mode](value) { + this.mode = value; + } + [S$2.$addCue](...args) { + return this.addCue.apply(this, args); + } + [S$2.$removeCue](...args) { + return this.removeCue.apply(this, args); + } + get [S$2.$onCueChange]() { + return html$.TextTrack.cueChangeEvent.forTarget(this); + } + }; + dart.addTypeTests(html$.TextTrack); + dart.addTypeCaches(html$.TextTrack); + dart.setMethodSignature(html$.TextTrack, () => ({ + __proto__: dart.getMethods(html$.TextTrack.__proto__), + [S$2.$addCue]: dart.fnType(dart.void, [html$.TextTrackCue]), + [S$2.$removeCue]: dart.fnType(dart.void, [html$.TextTrackCue]) + })); + dart.setGetterSignature(html$.TextTrack, () => ({ + __proto__: dart.getGetters(html$.TextTrack.__proto__), + [S$2.$activeCues]: dart.nullable(html$.TextTrackCueList), + [S$2.$cues]: dart.nullable(html$.TextTrackCueList), + [S.$id]: core.String, + [S$.$kind]: core.String, + [S$.$label]: core.String, + [S$1.$language]: core.String, + [S.$mode]: dart.nullable(core.String), + [S$2.$onCueChange]: async.Stream$(html$.Event) + })); + dart.setSetterSignature(html$.TextTrack, () => ({ + __proto__: dart.getSetters(html$.TextTrack.__proto__), + [S.$mode]: dart.nullable(core.String) + })); + dart.setLibraryUri(html$.TextTrack, I[148]); + dart.defineLazy(html$.TextTrack, { + /*html$.TextTrack.cueChangeEvent*/get cueChangeEvent() { + return C[383] || CT.C383; + } + }, false); + dart.registerExtension("TextTrack", html$.TextTrack); + html$.TextTrackCue = class TextTrackCue extends html$.EventTarget { + get [S$2.$endTime]() { + return this.endTime; + } + set [S$2.$endTime](value) { + this.endTime = value; + } + get [S.$id]() { + return this.id; + } + set [S.$id](value) { + this.id = value; + } + get [S$2.$pauseOnExit]() { + return this.pauseOnExit; + } + set [S$2.$pauseOnExit](value) { + this.pauseOnExit = value; + } + get [S$.$startTime]() { + return this.startTime; + } + set [S$.$startTime](value) { + this.startTime = value; + } + get [S$1.$track]() { + return this.track; + } + get [S$2.$onEnter]() { + return html$.TextTrackCue.enterEvent.forTarget(this); + } + get [S$2.$onExit]() { + return html$.TextTrackCue.exitEvent.forTarget(this); + } + }; + dart.addTypeTests(html$.TextTrackCue); + dart.addTypeCaches(html$.TextTrackCue); + dart.setGetterSignature(html$.TextTrackCue, () => ({ + __proto__: dart.getGetters(html$.TextTrackCue.__proto__), + [S$2.$endTime]: dart.nullable(core.num), + [S.$id]: dart.nullable(core.String), + [S$2.$pauseOnExit]: dart.nullable(core.bool), + [S$.$startTime]: dart.nullable(core.num), + [S$1.$track]: dart.nullable(html$.TextTrack), + [S$2.$onEnter]: async.Stream$(html$.Event), + [S$2.$onExit]: async.Stream$(html$.Event) + })); + dart.setSetterSignature(html$.TextTrackCue, () => ({ + __proto__: dart.getSetters(html$.TextTrackCue.__proto__), + [S$2.$endTime]: dart.nullable(core.num), + [S.$id]: dart.nullable(core.String), + [S$2.$pauseOnExit]: dart.nullable(core.bool), + [S$.$startTime]: dart.nullable(core.num) + })); + dart.setLibraryUri(html$.TextTrackCue, I[148]); + dart.defineLazy(html$.TextTrackCue, { + /*html$.TextTrackCue.enterEvent*/get enterEvent() { + return C[384] || CT.C384; + }, + /*html$.TextTrackCue.exitEvent*/get exitEvent() { + return C[385] || CT.C385; + } + }, false); + dart.registerExtension("TextTrackCue", html$.TextTrackCue); + const Interceptor_ListMixin$36$6 = class Interceptor_ListMixin extends _interceptors.Interceptor {}; + (Interceptor_ListMixin$36$6.new = function() { + Interceptor_ListMixin$36$6.__proto__.new.call(this); + }).prototype = Interceptor_ListMixin$36$6.prototype; + dart.applyMixin(Interceptor_ListMixin$36$6, collection.ListMixin$(html$.TextTrackCue)); + const Interceptor_ImmutableListMixin$36$6 = class Interceptor_ImmutableListMixin extends Interceptor_ListMixin$36$6 {}; + (Interceptor_ImmutableListMixin$36$6.new = function() { + Interceptor_ImmutableListMixin$36$6.__proto__.new.call(this); + }).prototype = Interceptor_ImmutableListMixin$36$6.prototype; + dart.applyMixin(Interceptor_ImmutableListMixin$36$6, html$.ImmutableListMixin$(html$.TextTrackCue)); + html$.TextTrackCueList = class TextTrackCueList extends Interceptor_ImmutableListMixin$36$6 { + get [$length]() { + return this.length; + } + [$_get](index) { + if (index == null) dart.nullFailed(I[147], 30047, 32, "index"); + if (index >>> 0 !== index || index >= this[$length]) dart.throw(new core.IndexError.new(index, this)); + return this[index]; + } + [$_set](index, value$) { + let value = value$; + if (index == null) dart.nullFailed(I[147], 30053, 25, "index"); + html$.TextTrackCue.as(value); + if (value == null) dart.nullFailed(I[147], 30053, 45, "value"); + dart.throw(new core.UnsupportedError.new("Cannot assign element of immutable List.")); + return value$; + } + set [$length](value) { + if (value == null) dart.nullFailed(I[147], 30059, 18, "value"); + dart.throw(new core.UnsupportedError.new("Cannot resize immutable List.")); + } + get [$first]() { + if (dart.notNull(this[$length]) > 0) { + return this[0]; + } + dart.throw(new core.StateError.new("No elements")); + } + set [$first](value) { + super[$first] = value; + } + get [$last]() { + let len = this[$length]; + if (dart.notNull(len) > 0) { + return this[dart.notNull(len) - 1]; + } + dart.throw(new core.StateError.new("No elements")); + } + set [$last](value) { + super[$last] = value; + } + get [$single]() { + let len = this[$length]; + if (len === 1) { + return this[0]; + } + if (len === 0) dart.throw(new core.StateError.new("No elements")); + dart.throw(new core.StateError.new("More than one element")); + } + [$elementAt](index) { + if (index == null) dart.nullFailed(I[147], 30087, 30, "index"); + return this[$_get](index); + } + [S$.__getter__](...args) { + return this.__getter__.apply(this, args); + } + [S$2.$getCueById](...args) { + return this.getCueById.apply(this, args); + } + }; + html$.TextTrackCueList.prototype[dart.isList] = true; + dart.addTypeTests(html$.TextTrackCueList); + dart.addTypeCaches(html$.TextTrackCueList); + html$.TextTrackCueList[dart.implements] = () => [core.List$(html$.TextTrackCue), _js_helper.JavaScriptIndexingBehavior$(html$.TextTrackCue)]; + dart.setMethodSignature(html$.TextTrackCueList, () => ({ + __proto__: dart.getMethods(html$.TextTrackCueList.__proto__), + [$_get]: dart.fnType(html$.TextTrackCue, [core.int]), + [$_set]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), + [S$.__getter__]: dart.fnType(html$.TextTrackCue, [core.int]), + [S$2.$getCueById]: dart.fnType(dart.nullable(html$.TextTrackCue), [core.String]) + })); + dart.setGetterSignature(html$.TextTrackCueList, () => ({ + __proto__: dart.getGetters(html$.TextTrackCueList.__proto__), + [$length]: core.int + })); + dart.setSetterSignature(html$.TextTrackCueList, () => ({ + __proto__: dart.getSetters(html$.TextTrackCueList.__proto__), + [$length]: core.int + })); + dart.setLibraryUri(html$.TextTrackCueList, I[148]); + dart.registerExtension("TextTrackCueList", html$.TextTrackCueList); + const EventTarget_ListMixin$36$ = class EventTarget_ListMixin extends html$.EventTarget {}; + (EventTarget_ListMixin$36$._created = function() { + EventTarget_ListMixin$36$.__proto__._created.call(this); + }).prototype = EventTarget_ListMixin$36$.prototype; + dart.applyMixin(EventTarget_ListMixin$36$, collection.ListMixin$(html$.TextTrack)); + const EventTarget_ImmutableListMixin$36$ = class EventTarget_ImmutableListMixin extends EventTarget_ListMixin$36$ {}; + (EventTarget_ImmutableListMixin$36$._created = function() { + EventTarget_ImmutableListMixin$36$.__proto__._created.call(this); + }).prototype = EventTarget_ImmutableListMixin$36$.prototype; + dart.applyMixin(EventTarget_ImmutableListMixin$36$, html$.ImmutableListMixin$(html$.TextTrack)); + html$.TextTrackList = class TextTrackList extends EventTarget_ImmutableListMixin$36$ { + get [$length]() { + return this.length; + } + [$_get](index) { + if (index == null) dart.nullFailed(I[147], 30121, 29, "index"); + if (index >>> 0 !== index || index >= this[$length]) dart.throw(new core.IndexError.new(index, this)); + return this[index]; + } + [$_set](index, value$) { + let value = value$; + if (index == null) dart.nullFailed(I[147], 30127, 25, "index"); + html$.TextTrack.as(value); + if (value == null) dart.nullFailed(I[147], 30127, 42, "value"); + dart.throw(new core.UnsupportedError.new("Cannot assign element of immutable List.")); + return value$; + } + set [$length](value) { + if (value == null) dart.nullFailed(I[147], 30133, 18, "value"); + dart.throw(new core.UnsupportedError.new("Cannot resize immutable List.")); + } + get [$first]() { + if (dart.notNull(this[$length]) > 0) { + return this[0]; + } + dart.throw(new core.StateError.new("No elements")); + } + set [$first](value) { + super[$first] = value; + } + get [$last]() { + let len = this[$length]; + if (dart.notNull(len) > 0) { + return this[dart.notNull(len) - 1]; + } + dart.throw(new core.StateError.new("No elements")); + } + set [$last](value) { + super[$last] = value; + } + get [$single]() { + let len = this[$length]; + if (len === 1) { + return this[0]; + } + if (len === 0) dart.throw(new core.StateError.new("No elements")); + dart.throw(new core.StateError.new("More than one element")); + } + [$elementAt](index) { + if (index == null) dart.nullFailed(I[147], 30161, 27, "index"); + return this[$_get](index); + } + [S$.__getter__](...args) { + return this.__getter__.apply(this, args); + } + [S$1.$getTrackById](...args) { + return this.getTrackById.apply(this, args); + } + get [S$1.$onAddTrack]() { + return html$.TextTrackList.addTrackEvent.forTarget(this); + } + get [S.$onChange]() { + return html$.TextTrackList.changeEvent.forTarget(this); + } + }; + html$.TextTrackList.prototype[dart.isList] = true; + dart.addTypeTests(html$.TextTrackList); + dart.addTypeCaches(html$.TextTrackList); + html$.TextTrackList[dart.implements] = () => [core.List$(html$.TextTrack), _js_helper.JavaScriptIndexingBehavior$(html$.TextTrack)]; + dart.setMethodSignature(html$.TextTrackList, () => ({ + __proto__: dart.getMethods(html$.TextTrackList.__proto__), + [$_get]: dart.fnType(html$.TextTrack, [core.int]), + [$_set]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), + [S$.__getter__]: dart.fnType(html$.TextTrack, [core.int]), + [S$1.$getTrackById]: dart.fnType(dart.nullable(html$.TextTrack), [core.String]) + })); + dart.setGetterSignature(html$.TextTrackList, () => ({ + __proto__: dart.getGetters(html$.TextTrackList.__proto__), + [$length]: core.int, + [S$1.$onAddTrack]: async.Stream$(html$.TrackEvent), + [S.$onChange]: async.Stream$(html$.Event) + })); + dart.setSetterSignature(html$.TextTrackList, () => ({ + __proto__: dart.getSetters(html$.TextTrackList.__proto__), + [$length]: core.int + })); + dart.setLibraryUri(html$.TextTrackList, I[148]); + dart.defineLazy(html$.TextTrackList, { + /*html$.TextTrackList.addTrackEvent*/get addTrackEvent() { + return C[386] || CT.C386; + }, + /*html$.TextTrackList.changeEvent*/get changeEvent() { + return C[236] || CT.C236; + } + }, false); + dart.registerExtension("TextTrackList", html$.TextTrackList); + html$.TimeElement = class TimeElement extends html$.HtmlElement { + get [S$1.$dateTime]() { + return this.dateTime; + } + set [S$1.$dateTime](value) { + this.dateTime = value; + } + }; + (html$.TimeElement.created = function() { + html$.TimeElement.__proto__.created.call(this); + ; + }).prototype = html$.TimeElement.prototype; + dart.addTypeTests(html$.TimeElement); + dart.addTypeCaches(html$.TimeElement); + dart.setGetterSignature(html$.TimeElement, () => ({ + __proto__: dart.getGetters(html$.TimeElement.__proto__), + [S$1.$dateTime]: dart.nullable(core.String) + })); + dart.setSetterSignature(html$.TimeElement, () => ({ + __proto__: dart.getSetters(html$.TimeElement.__proto__), + [S$1.$dateTime]: dart.nullable(core.String) + })); + dart.setLibraryUri(html$.TimeElement, I[148]); + dart.registerExtension("HTMLTimeElement", html$.TimeElement); + html$.TimeRanges = class TimeRanges extends _interceptors.Interceptor { + get [$length]() { + return this.length; + } + [S$2.$end](...args) { + return this.end.apply(this, args); + } + [S$.$start](...args) { + return this.start.apply(this, args); + } + }; + dart.addTypeTests(html$.TimeRanges); + dart.addTypeCaches(html$.TimeRanges); + dart.setMethodSignature(html$.TimeRanges, () => ({ + __proto__: dart.getMethods(html$.TimeRanges.__proto__), + [S$2.$end]: dart.fnType(core.double, [core.int]), + [S$.$start]: dart.fnType(core.double, [core.int]) + })); + dart.setGetterSignature(html$.TimeRanges, () => ({ + __proto__: dart.getGetters(html$.TimeRanges.__proto__), + [$length]: core.int + })); + dart.setLibraryUri(html$.TimeRanges, I[148]); + dart.registerExtension("TimeRanges", html$.TimeRanges); + html$.TitleElement = class TitleElement extends html$.HtmlElement { + static new() { + return html$.document.createElement("title"); + } + }; + (html$.TitleElement.created = function() { + html$.TitleElement.__proto__.created.call(this); + ; + }).prototype = html$.TitleElement.prototype; + dart.addTypeTests(html$.TitleElement); + dart.addTypeCaches(html$.TitleElement); + dart.setLibraryUri(html$.TitleElement, I[148]); + dart.registerExtension("HTMLTitleElement", html$.TitleElement); + html$.Touch = class Touch$ extends _interceptors.Interceptor { + static new(initDict) { + if (initDict == null) dart.nullFailed(I[147], 30253, 21, "initDict"); + let initDict_1 = html_common.convertDartToNative_Dictionary(initDict); + return html$.Touch._create_1(initDict_1); + } + static _create_1(initDict) { + return new Touch(initDict); + } + get [S$1._clientX]() { + return this.clientX; + } + get [S$1._clientY]() { + return this.clientY; + } + get [S$2.$force]() { + return this.force; + } + get [S$2.$identifier]() { + return this.identifier; + } + get [S$1._pageX]() { + return this.pageX; + } + get [S$1._pageY]() { + return this.pageY; + } + get [S$2._radiusX]() { + return this.radiusX; + } + get [S$2._radiusY]() { + return this.radiusY; + } + get [S$1.$region]() { + return this.region; + } + get [S$2.$rotationAngle]() { + return this.rotationAngle; + } + get [S$1._screenX]() { + return this.screenX; + } + get [S$1._screenY]() { + return this.screenY; + } + get [S.$target]() { + return html$._convertNativeToDart_EventTarget(this[S._get_target]); + } + get [S._get_target]() { + return this.target; + } + get [S$2.__clientX]() { + return this.clientX[$round](); + } + get [S$2.__clientY]() { + return this.clientY[$round](); + } + get [S$2.__screenX]() { + return this.screenX[$round](); + } + get [S$2.__screenY]() { + return this.screenY[$round](); + } + get [S$2.__pageX]() { + return this.pageX[$round](); + } + get [S$2.__pageY]() { + return this.pageY[$round](); + } + get [S$2.__radiusX]() { + return this.radiusX[$round](); + } + get [S$2.__radiusY]() { + return this.radiusY[$round](); + } + get [S.$client]() { + return new (T$0.PointOfnum()).new(this[S$2.__clientX], this[S$2.__clientY]); + } + get [S$0.$page]() { + return new (T$0.PointOfnum()).new(this[S$2.__pageX], this[S$2.__pageY]); + } + get [S$1.$screen]() { + return new (T$0.PointOfnum()).new(this[S$2.__screenX], this[S$2.__screenY]); + } + get [S$2.$radiusX]() { + return this[S$2.__radiusX]; + } + get [S$2.$radiusY]() { + return this[S$2.__radiusY]; + } + }; + dart.addTypeTests(html$.Touch); + dart.addTypeCaches(html$.Touch); + dart.setGetterSignature(html$.Touch, () => ({ + __proto__: dart.getGetters(html$.Touch.__proto__), + [S$1._clientX]: dart.nullable(core.num), + [S$1._clientY]: dart.nullable(core.num), + [S$2.$force]: dart.nullable(core.num), + [S$2.$identifier]: dart.nullable(core.int), + [S$1._pageX]: dart.nullable(core.num), + [S$1._pageY]: dart.nullable(core.num), + [S$2._radiusX]: dart.nullable(core.num), + [S$2._radiusY]: dart.nullable(core.num), + [S$1.$region]: dart.nullable(core.String), + [S$2.$rotationAngle]: dart.nullable(core.num), + [S$1._screenX]: dart.nullable(core.num), + [S$1._screenY]: dart.nullable(core.num), + [S.$target]: dart.nullable(html$.EventTarget), + [S._get_target]: dart.dynamic, + [S$2.__clientX]: core.int, + [S$2.__clientY]: core.int, + [S$2.__screenX]: core.int, + [S$2.__screenY]: core.int, + [S$2.__pageX]: core.int, + [S$2.__pageY]: core.int, + [S$2.__radiusX]: core.int, + [S$2.__radiusY]: core.int, + [S.$client]: math.Point$(core.num), + [S$0.$page]: math.Point$(core.num), + [S$1.$screen]: math.Point$(core.num), + [S$2.$radiusX]: core.int, + [S$2.$radiusY]: core.int + })); + dart.setLibraryUri(html$.Touch, I[148]); + dart.registerExtension("Touch", html$.Touch); + html$.TouchEvent = class TouchEvent$ extends html$.UIEvent { + static new(type, eventInitDict = null) { + if (type == null) dart.nullFailed(I[147], 30335, 29, "type"); + if (eventInitDict != null) { + let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); + return html$.TouchEvent._create_1(type, eventInitDict_1); + } + return html$.TouchEvent._create_2(type); + } + static _create_1(type, eventInitDict) { + return new TouchEvent(type, eventInitDict); + } + static _create_2(type) { + return new TouchEvent(type); + } + get [S$1.$altKey]() { + return this.altKey; + } + get [S$2.$changedTouches]() { + return this.changedTouches; + } + get [S$1.$ctrlKey]() { + return this.ctrlKey; + } + get [S$1.$metaKey]() { + return this.metaKey; + } + get [S$1.$shiftKey]() { + return this.shiftKey; + } + get [S$3.$targetTouches]() { + return this.targetTouches; + } + get [S$3.$touches]() { + return this.touches; + } + static get supported() { + try { + return html$.TouchEvent.is(html$.TouchEvent.new("touches")); + } catch (e) { + let _ = dart.getThrown(e); + if (core.Object.is(_)) { + } else + throw e; + } + return false; + } + }; + dart.addTypeTests(html$.TouchEvent); + dart.addTypeCaches(html$.TouchEvent); + dart.setGetterSignature(html$.TouchEvent, () => ({ + __proto__: dart.getGetters(html$.TouchEvent.__proto__), + [S$1.$altKey]: dart.nullable(core.bool), + [S$2.$changedTouches]: dart.nullable(html$.TouchList), + [S$1.$ctrlKey]: dart.nullable(core.bool), + [S$1.$metaKey]: dart.nullable(core.bool), + [S$1.$shiftKey]: dart.nullable(core.bool), + [S$3.$targetTouches]: dart.nullable(html$.TouchList), + [S$3.$touches]: dart.nullable(html$.TouchList) + })); + dart.setLibraryUri(html$.TouchEvent, I[148]); + dart.registerExtension("TouchEvent", html$.TouchEvent); + const Interceptor_ListMixin$36$7 = class Interceptor_ListMixin extends _interceptors.Interceptor {}; + (Interceptor_ListMixin$36$7.new = function() { + Interceptor_ListMixin$36$7.__proto__.new.call(this); + }).prototype = Interceptor_ListMixin$36$7.prototype; + dart.applyMixin(Interceptor_ListMixin$36$7, collection.ListMixin$(html$.Touch)); + const Interceptor_ImmutableListMixin$36$7 = class Interceptor_ImmutableListMixin extends Interceptor_ListMixin$36$7 {}; + (Interceptor_ImmutableListMixin$36$7.new = function() { + Interceptor_ImmutableListMixin$36$7.__proto__.new.call(this); + }).prototype = Interceptor_ImmutableListMixin$36$7.prototype; + dart.applyMixin(Interceptor_ImmutableListMixin$36$7, html$.ImmutableListMixin$(html$.Touch)); + html$.TouchList = class TouchList extends Interceptor_ImmutableListMixin$36$7 { + static get supported() { + return !!document.createTouchList; + } + get [$length]() { + return this.length; + } + [$_get](index) { + if (index == null) dart.nullFailed(I[147], 30390, 25, "index"); + if (index >>> 0 !== index || index >= this[$length]) dart.throw(new core.IndexError.new(index, this)); + return this[index]; + } + [$_set](index, value$) { + let value = value$; + if (index == null) dart.nullFailed(I[147], 30396, 25, "index"); + html$.Touch.as(value); + if (value == null) dart.nullFailed(I[147], 30396, 38, "value"); + dart.throw(new core.UnsupportedError.new("Cannot assign element of immutable List.")); + return value$; + } + set [$length](value) { + if (value == null) dart.nullFailed(I[147], 30402, 18, "value"); + dart.throw(new core.UnsupportedError.new("Cannot resize immutable List.")); + } + get [$first]() { + if (dart.notNull(this[$length]) > 0) { + return this[0]; + } + dart.throw(new core.StateError.new("No elements")); + } + set [$first](value) { + super[$first] = value; + } + get [$last]() { + let len = this[$length]; + if (dart.notNull(len) > 0) { + return this[dart.notNull(len) - 1]; + } + dart.throw(new core.StateError.new("No elements")); + } + set [$last](value) { + super[$last] = value; + } + get [$single]() { + let len = this[$length]; + if (len === 1) { + return this[0]; + } + if (len === 0) dart.throw(new core.StateError.new("No elements")); + dart.throw(new core.StateError.new("More than one element")); + } + [$elementAt](index) { + if (index == null) dart.nullFailed(I[147], 30430, 23, "index"); + return this[$_get](index); + } + [S$.$item](...args) { + return this.item.apply(this, args); + } + }; + html$.TouchList.prototype[dart.isList] = true; + dart.addTypeTests(html$.TouchList); + dart.addTypeCaches(html$.TouchList); + html$.TouchList[dart.implements] = () => [_js_helper.JavaScriptIndexingBehavior$(html$.Touch), core.List$(html$.Touch)]; + dart.setMethodSignature(html$.TouchList, () => ({ + __proto__: dart.getMethods(html$.TouchList.__proto__), + [$_get]: dart.fnType(html$.Touch, [core.int]), + [$_set]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), + [S$.$item]: dart.fnType(dart.nullable(html$.Touch), [core.int]) + })); + dart.setGetterSignature(html$.TouchList, () => ({ + __proto__: dart.getGetters(html$.TouchList.__proto__), + [$length]: core.int + })); + dart.setSetterSignature(html$.TouchList, () => ({ + __proto__: dart.getSetters(html$.TouchList.__proto__), + [$length]: core.int + })); + dart.setLibraryUri(html$.TouchList, I[148]); + dart.registerExtension("TouchList", html$.TouchList); + html$.TrackDefault = class TrackDefault$ extends _interceptors.Interceptor { + static new(type, language, label, kinds, byteStreamTrackID = null) { + if (type == null) dart.nullFailed(I[147], 30447, 14, "type"); + if (language == null) dart.nullFailed(I[147], 30447, 27, "language"); + if (label == null) dart.nullFailed(I[147], 30447, 44, "label"); + if (kinds == null) dart.nullFailed(I[147], 30447, 64, "kinds"); + if (byteStreamTrackID != null) { + let kinds_1 = html_common.convertDartToNative_StringArray(kinds); + return html$.TrackDefault._create_1(type, language, label, kinds_1, byteStreamTrackID); + } + let kinds_1 = html_common.convertDartToNative_StringArray(kinds); + return html$.TrackDefault._create_2(type, language, label, kinds_1); + } + static _create_1(type, language, label, kinds, byteStreamTrackID) { + return new TrackDefault(type, language, label, kinds, byteStreamTrackID); + } + static _create_2(type, language, label, kinds) { + return new TrackDefault(type, language, label, kinds); + } + get [S$3.$byteStreamTrackID]() { + return this.byteStreamTrackID; + } + get [S$3.$kinds]() { + return this.kinds; + } + get [S$.$label]() { + return this.label; + } + get [S$1.$language]() { + return this.language; + } + get [S.$type]() { + return this.type; + } + }; + dart.addTypeTests(html$.TrackDefault); + dart.addTypeCaches(html$.TrackDefault); + dart.setGetterSignature(html$.TrackDefault, () => ({ + __proto__: dart.getGetters(html$.TrackDefault.__proto__), + [S$3.$byteStreamTrackID]: dart.nullable(core.String), + [S$3.$kinds]: dart.nullable(core.Object), + [S$.$label]: dart.nullable(core.String), + [S$1.$language]: dart.nullable(core.String), + [S.$type]: dart.nullable(core.String) + })); + dart.setLibraryUri(html$.TrackDefault, I[148]); + dart.registerExtension("TrackDefault", html$.TrackDefault); + html$.TrackDefaultList = class TrackDefaultList$ extends _interceptors.Interceptor { + static new(trackDefaults = null) { + if (trackDefaults != null) { + return html$.TrackDefaultList._create_1(trackDefaults); + } + return html$.TrackDefaultList._create_2(); + } + static _create_1(trackDefaults) { + return new TrackDefaultList(trackDefaults); + } + static _create_2() { + return new TrackDefaultList(); + } + get [$length]() { + return this.length; + } + [S$.$item](...args) { + return this.item.apply(this, args); + } + }; + dart.addTypeTests(html$.TrackDefaultList); + dart.addTypeCaches(html$.TrackDefaultList); + dart.setMethodSignature(html$.TrackDefaultList, () => ({ + __proto__: dart.getMethods(html$.TrackDefaultList.__proto__), + [S$.$item]: dart.fnType(html$.TrackDefault, [core.int]) + })); + dart.setGetterSignature(html$.TrackDefaultList, () => ({ + __proto__: dart.getGetters(html$.TrackDefaultList.__proto__), + [$length]: dart.nullable(core.int) + })); + dart.setLibraryUri(html$.TrackDefaultList, I[148]); + dart.registerExtension("TrackDefaultList", html$.TrackDefaultList); + html$.TrackElement = class TrackElement extends html$.HtmlElement { + static new() { + return html$.TrackElement.as(html$.document[S.$createElement]("track")); + } + static get supported() { + return html$.Element.isTagSupported("track"); + } + get [S$1.$defaultValue]() { + return this.default; + } + set [S$1.$defaultValue](value) { + this.default = value; + } + get [S$.$kind]() { + return this.kind; + } + set [S$.$kind](value) { + this.kind = value; + } + get [S$.$label]() { + return this.label; + } + set [S$.$label](value) { + this.label = value; + } + get [S.$readyState]() { + return this.readyState; + } + get [S$.$src]() { + return this.src; + } + set [S$.$src](value) { + this.src = value; + } + get [S$3.$srclang]() { + return this.srclang; + } + set [S$3.$srclang](value) { + this.srclang = value; + } + get [S$1.$track]() { + return this.track; + } + }; + (html$.TrackElement.created = function() { + html$.TrackElement.__proto__.created.call(this); + ; + }).prototype = html$.TrackElement.prototype; + dart.addTypeTests(html$.TrackElement); + dart.addTypeCaches(html$.TrackElement); + dart.setGetterSignature(html$.TrackElement, () => ({ + __proto__: dart.getGetters(html$.TrackElement.__proto__), + [S$1.$defaultValue]: dart.nullable(core.bool), + [S$.$kind]: dart.nullable(core.String), + [S$.$label]: dart.nullable(core.String), + [S.$readyState]: dart.nullable(core.int), + [S$.$src]: dart.nullable(core.String), + [S$3.$srclang]: dart.nullable(core.String), + [S$1.$track]: dart.nullable(html$.TextTrack) + })); + dart.setSetterSignature(html$.TrackElement, () => ({ + __proto__: dart.getSetters(html$.TrackElement.__proto__), + [S$1.$defaultValue]: dart.nullable(core.bool), + [S$.$kind]: dart.nullable(core.String), + [S$.$label]: dart.nullable(core.String), + [S$.$src]: dart.nullable(core.String), + [S$3.$srclang]: dart.nullable(core.String) + })); + dart.setLibraryUri(html$.TrackElement, I[148]); + dart.defineLazy(html$.TrackElement, { + /*html$.TrackElement.ERROR*/get ERROR() { + return 3; + }, + /*html$.TrackElement.LOADED*/get LOADED() { + return 2; + }, + /*html$.TrackElement.LOADING*/get LOADING() { + return 1; + }, + /*html$.TrackElement.NONE*/get NONE() { + return 0; + } + }, false); + dart.registerExtension("HTMLTrackElement", html$.TrackElement); + html$.TrackEvent = class TrackEvent$ extends html$.Event { + static new(type, eventInitDict = null) { + if (type == null) dart.nullFailed(I[147], 30576, 29, "type"); + if (eventInitDict != null) { + let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); + return html$.TrackEvent._create_1(type, eventInitDict_1); + } + return html$.TrackEvent._create_2(type); + } + static _create_1(type, eventInitDict) { + return new TrackEvent(type, eventInitDict); + } + static _create_2(type) { + return new TrackEvent(type); + } + get [S$1.$track]() { + return this.track; + } + }; + dart.addTypeTests(html$.TrackEvent); + dart.addTypeCaches(html$.TrackEvent); + dart.setGetterSignature(html$.TrackEvent, () => ({ + __proto__: dart.getGetters(html$.TrackEvent.__proto__), + [S$1.$track]: dart.nullable(core.Object) + })); + dart.setLibraryUri(html$.TrackEvent, I[148]); + dart.registerExtension("TrackEvent", html$.TrackEvent); + html$.TransitionEvent = class TransitionEvent$ extends html$.Event { + static new(type, eventInitDict = null) { + if (type == null) dart.nullFailed(I[147], 30602, 34, "type"); + if (eventInitDict != null) { + let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); + return html$.TransitionEvent._create_1(type, eventInitDict_1); + } + return html$.TransitionEvent._create_2(type); + } + static _create_1(type, eventInitDict) { + return new TransitionEvent(type, eventInitDict); + } + static _create_2(type) { + return new TransitionEvent(type); + } + get [S$.$elapsedTime]() { + return this.elapsedTime; + } + get [S$3.$propertyName]() { + return this.propertyName; + } + get [S$3.$pseudoElement]() { + return this.pseudoElement; + } + }; + dart.addTypeTests(html$.TransitionEvent); + dart.addTypeCaches(html$.TransitionEvent); + dart.setGetterSignature(html$.TransitionEvent, () => ({ + __proto__: dart.getGetters(html$.TransitionEvent.__proto__), + [S$.$elapsedTime]: dart.nullable(core.num), + [S$3.$propertyName]: dart.nullable(core.String), + [S$3.$pseudoElement]: dart.nullable(core.String) + })); + dart.setLibraryUri(html$.TransitionEvent, I[148]); + dart.registerExtension("TransitionEvent", html$.TransitionEvent); + dart.registerExtension("WebKitTransitionEvent", html$.TransitionEvent); + html$.TreeWalker = class TreeWalker extends _interceptors.Interceptor { + static new(root, whatToShow) { + if (root == null) dart.nullFailed(I[147], 30627, 27, "root"); + if (whatToShow == null) dart.nullFailed(I[147], 30627, 37, "whatToShow"); + return html$.document[S$1._createTreeWalker](root, whatToShow, null); + } + get [S$3.$currentNode]() { + return this.currentNode; + } + set [S$3.$currentNode](value) { + this.currentNode = value; + } + get [S$.$filter]() { + return this.filter; + } + get [S$1.$root]() { + return this.root; + } + get [S$2.$whatToShow]() { + return this.whatToShow; + } + [S$.$firstChild](...args) { + return this.firstChild.apply(this, args); + } + [S$.$lastChild](...args) { + return this.lastChild.apply(this, args); + } + [S.$nextNode](...args) { + return this.nextNode.apply(this, args); + } + [S$1.$nextSibling](...args) { + return this.nextSibling.apply(this, args); + } + [S$.$parentNode](...args) { + return this.parentNode.apply(this, args); + } + [S$.$previousNode](...args) { + return this.previousNode.apply(this, args); + } + [S$1.$previousSibling](...args) { + return this.previousSibling.apply(this, args); + } + }; + dart.addTypeTests(html$.TreeWalker); + dart.addTypeCaches(html$.TreeWalker); + dart.setMethodSignature(html$.TreeWalker, () => ({ + __proto__: dart.getMethods(html$.TreeWalker.__proto__), + [S$.$firstChild]: dart.fnType(dart.nullable(html$.Node), []), + [S$.$lastChild]: dart.fnType(dart.nullable(html$.Node), []), + [S.$nextNode]: dart.fnType(dart.nullable(html$.Node), []), + [S$1.$nextSibling]: dart.fnType(dart.nullable(html$.Node), []), + [S$.$parentNode]: dart.fnType(dart.nullable(html$.Node), []), + [S$.$previousNode]: dart.fnType(dart.nullable(html$.Node), []), + [S$1.$previousSibling]: dart.fnType(dart.nullable(html$.Node), []) + })); + dart.setGetterSignature(html$.TreeWalker, () => ({ + __proto__: dart.getGetters(html$.TreeWalker.__proto__), + [S$3.$currentNode]: html$.Node, + [S$.$filter]: dart.nullable(html$.NodeFilter), + [S$1.$root]: html$.Node, + [S$2.$whatToShow]: core.int + })); + dart.setSetterSignature(html$.TreeWalker, () => ({ + __proto__: dart.getSetters(html$.TreeWalker.__proto__), + [S$3.$currentNode]: html$.Node + })); + dart.setLibraryUri(html$.TreeWalker, I[148]); + dart.registerExtension("TreeWalker", html$.TreeWalker); + html$.TrustedHtml = class TrustedHtml extends _interceptors.Interceptor {}; + dart.addTypeTests(html$.TrustedHtml); + dart.addTypeCaches(html$.TrustedHtml); + dart.setLibraryUri(html$.TrustedHtml, I[148]); + dart.registerExtension("TrustedHTML", html$.TrustedHtml); + html$.TrustedScriptUrl = class TrustedScriptUrl extends _interceptors.Interceptor {}; + dart.addTypeTests(html$.TrustedScriptUrl); + dart.addTypeCaches(html$.TrustedScriptUrl); + dart.setLibraryUri(html$.TrustedScriptUrl, I[148]); + dart.registerExtension("TrustedScriptURL", html$.TrustedScriptUrl); + html$.TrustedUrl = class TrustedUrl extends _interceptors.Interceptor {}; + dart.addTypeTests(html$.TrustedUrl); + dart.addTypeCaches(html$.TrustedUrl); + dart.setLibraryUri(html$.TrustedUrl, I[148]); + dart.registerExtension("TrustedURL", html$.TrustedUrl); + html$.UListElement = class UListElement extends html$.HtmlElement { + static new() { + return html$.document.createElement("ul"); + } + }; + (html$.UListElement.created = function() { + html$.UListElement.__proto__.created.call(this); + ; + }).prototype = html$.UListElement.prototype; + dart.addTypeTests(html$.UListElement); + dart.addTypeCaches(html$.UListElement); + dart.setLibraryUri(html$.UListElement, I[148]); + dart.registerExtension("HTMLUListElement", html$.UListElement); + html$.UnderlyingSourceBase = class UnderlyingSourceBase extends _interceptors.Interceptor { + [S$.$cancel](reason) { + return js_util.promiseToFuture(dart.dynamic, this.cancel(reason)); + } + [S$3.$notifyLockAcquired](...args) { + return this.notifyLockAcquired.apply(this, args); + } + [S$3.$notifyLockReleased](...args) { + return this.notifyLockReleased.apply(this, args); + } + [S$3.$pull]() { + return js_util.promiseToFuture(dart.dynamic, this.pull()); + } + [S$.$start](stream) { + if (stream == null) dart.nullFailed(I[147], 30801, 23, "stream"); + return js_util.promiseToFuture(dart.dynamic, this.start(stream)); + } + }; + dart.addTypeTests(html$.UnderlyingSourceBase); + dart.addTypeCaches(html$.UnderlyingSourceBase); + dart.setMethodSignature(html$.UnderlyingSourceBase, () => ({ + __proto__: dart.getMethods(html$.UnderlyingSourceBase.__proto__), + [S$.$cancel]: dart.fnType(async.Future, [dart.nullable(core.Object)]), + [S$3.$notifyLockAcquired]: dart.fnType(dart.void, []), + [S$3.$notifyLockReleased]: dart.fnType(dart.void, []), + [S$3.$pull]: dart.fnType(async.Future, []), + [S$.$start]: dart.fnType(async.Future, [core.Object]) + })); + dart.setLibraryUri(html$.UnderlyingSourceBase, I[148]); + dart.registerExtension("UnderlyingSourceBase", html$.UnderlyingSourceBase); + html$.UnknownElement = class UnknownElement extends html$.HtmlElement {}; + (html$.UnknownElement.created = function() { + html$.UnknownElement.__proto__.created.call(this); + ; + }).prototype = html$.UnknownElement.prototype; + dart.addTypeTests(html$.UnknownElement); + dart.addTypeCaches(html$.UnknownElement); + dart.setLibraryUri(html$.UnknownElement, I[148]); + dart.registerExtension("HTMLUnknownElement", html$.UnknownElement); + html$.Url = class Url extends _interceptors.Interceptor { + static createObjectUrl(blob_OR_source_OR_stream) { + return (self.URL || self.webkitURL).createObjectURL(blob_OR_source_OR_stream); + } + static createObjectUrlFromSource(source) { + if (source == null) dart.nullFailed(I[147], 30832, 55, "source"); + return (self.URL || self.webkitURL).createObjectURL(source); + } + static createObjectUrlFromStream(stream) { + if (stream == null) dart.nullFailed(I[147], 30835, 55, "stream"); + return (self.URL || self.webkitURL).createObjectURL(stream); + } + static createObjectUrlFromBlob(blob) { + if (blob == null) dart.nullFailed(I[147], 30838, 46, "blob"); + return (self.URL || self.webkitURL).createObjectURL(blob); + } + static revokeObjectUrl(url) { + if (url == null) dart.nullFailed(I[147], 30841, 38, "url"); + return (self.URL || self.webkitURL).revokeObjectURL(url); + } + [$toString]() { + return String(this); + } + get [S$.$hash]() { + return this.hash; + } + set [S$.$hash](value) { + this.hash = value; + } + get [S$.$host]() { + return this.host; + } + set [S$.$host](value) { + this.host = value; + } + get [S$.$hostname]() { + return this.hostname; + } + set [S$.$hostname](value) { + this.hostname = value; + } + get [S$.$href]() { + return this.href; + } + set [S$.$href](value) { + this.href = value; + } + get [S$.$origin]() { + return this.origin; + } + get [S$.$password]() { + return this.password; + } + set [S$.$password](value) { + this.password = value; + } + get [S$.$pathname]() { + return this.pathname; + } + set [S$.$pathname](value) { + this.pathname = value; + } + get [S$.$port]() { + return this.port; + } + set [S$.$port](value) { + this.port = value; + } + get [S$.$protocol]() { + return this.protocol; + } + set [S$.$protocol](value) { + this.protocol = value; + } + get [S$.$search]() { + return this.search; + } + set [S$.$search](value) { + this.search = value; + } + get [S$3.$searchParams]() { + return this.searchParams; + } + get [S$.$username]() { + return this.username; + } + set [S$.$username](value) { + this.username = value; + } + }; + dart.addTypeTests(html$.Url); + dart.addTypeCaches(html$.Url); + dart.setGetterSignature(html$.Url, () => ({ + __proto__: dart.getGetters(html$.Url.__proto__), + [S$.$hash]: dart.nullable(core.String), + [S$.$host]: dart.nullable(core.String), + [S$.$hostname]: dart.nullable(core.String), + [S$.$href]: dart.nullable(core.String), + [S$.$origin]: dart.nullable(core.String), + [S$.$password]: dart.nullable(core.String), + [S$.$pathname]: dart.nullable(core.String), + [S$.$port]: dart.nullable(core.String), + [S$.$protocol]: dart.nullable(core.String), + [S$.$search]: dart.nullable(core.String), + [S$3.$searchParams]: dart.nullable(html$.UrlSearchParams), + [S$.$username]: dart.nullable(core.String) + })); + dart.setSetterSignature(html$.Url, () => ({ + __proto__: dart.getSetters(html$.Url.__proto__), + [S$.$hash]: dart.nullable(core.String), + [S$.$host]: dart.nullable(core.String), + [S$.$hostname]: dart.nullable(core.String), + [S$.$href]: dart.nullable(core.String), + [S$.$password]: dart.nullable(core.String), + [S$.$pathname]: dart.nullable(core.String), + [S$.$port]: dart.nullable(core.String), + [S$.$protocol]: dart.nullable(core.String), + [S$.$search]: dart.nullable(core.String), + [S$.$username]: dart.nullable(core.String) + })); + dart.setLibraryUri(html$.Url, I[148]); + dart.registerExtension("URL", html$.Url); + html$.UrlSearchParams = class UrlSearchParams extends _interceptors.Interceptor { + static new(init = null) { + if (init != null) { + return html$.UrlSearchParams._create_1(init); + } + return html$.UrlSearchParams._create_2(); + } + static _create_1(init) { + return new URLSearchParams(init); + } + static _create_2() { + return new URLSearchParams(); + } + [S.$append](...args) { + return this.append.apply(this, args); + } + [S.$delete](...args) { + return this.delete.apply(this, args); + } + [S.$get](...args) { + return this.get.apply(this, args); + } + [S.$getAll](...args) { + return this.getAll.apply(this, args); + } + [S$.$has](...args) { + return this.has.apply(this, args); + } + [S$.$set](...args) { + return this.set.apply(this, args); + } + [$sort](...args) { + return this.sort.apply(this, args); + } + }; + dart.addTypeTests(html$.UrlSearchParams); + dart.addTypeCaches(html$.UrlSearchParams); + dart.setMethodSignature(html$.UrlSearchParams, () => ({ + __proto__: dart.getMethods(html$.UrlSearchParams.__proto__), + [S.$append]: dart.fnType(dart.void, [core.String, core.String]), + [S.$delete]: dart.fnType(dart.void, [core.String]), + [S.$get]: dart.fnType(dart.nullable(core.String), [core.String]), + [S.$getAll]: dart.fnType(core.List$(core.String), [core.String]), + [S$.$has]: dart.fnType(core.bool, [core.String]), + [S$.$set]: dart.fnType(dart.void, [core.String, core.String]), + [$sort]: dart.fnType(dart.void, []) + })); + dart.setLibraryUri(html$.UrlSearchParams, I[148]); + dart.registerExtension("URLSearchParams", html$.UrlSearchParams); + html$.UrlUtilsReadOnly = class UrlUtilsReadOnly extends _interceptors.Interceptor { + get hash() { + return this.hash; + } + get host() { + return this.host; + } + get hostname() { + return this.hostname; + } + get href() { + return this.href; + } + get origin() { + return this.origin; + } + get pathname() { + return this.pathname; + } + get port() { + return this.port; + } + get protocol() { + return this.protocol; + } + get search() { + return this.search; + } + }; + dart.addTypeTests(html$.UrlUtilsReadOnly); + dart.addTypeCaches(html$.UrlUtilsReadOnly); + dart.setGetterSignature(html$.UrlUtilsReadOnly, () => ({ + __proto__: dart.getGetters(html$.UrlUtilsReadOnly.__proto__), + hash: dart.nullable(core.String), + [S$.$hash]: dart.nullable(core.String), + host: dart.nullable(core.String), + [S$.$host]: dart.nullable(core.String), + hostname: dart.nullable(core.String), + [S$.$hostname]: dart.nullable(core.String), + href: dart.nullable(core.String), + [S$.$href]: dart.nullable(core.String), + origin: dart.nullable(core.String), + [S$.$origin]: dart.nullable(core.String), + pathname: dart.nullable(core.String), + [S$.$pathname]: dart.nullable(core.String), + port: dart.nullable(core.String), + [S$.$port]: dart.nullable(core.String), + protocol: dart.nullable(core.String), + [S$.$protocol]: dart.nullable(core.String), + search: dart.nullable(core.String), + [S$.$search]: dart.nullable(core.String) + })); + dart.setLibraryUri(html$.UrlUtilsReadOnly, I[148]); + dart.defineExtensionAccessors(html$.UrlUtilsReadOnly, [ + 'hash', + 'host', + 'hostname', + 'href', + 'origin', + 'pathname', + 'port', + 'protocol', + 'search' + ]); + html$.VR = class VR extends html$.EventTarget { + [S$3.$getDevices]() { + return js_util.promiseToFuture(dart.dynamic, this.getDevices()); + } + }; + dart.addTypeTests(html$.VR); + dart.addTypeCaches(html$.VR); + dart.setMethodSignature(html$.VR, () => ({ + __proto__: dart.getMethods(html$.VR.__proto__), + [S$3.$getDevices]: dart.fnType(async.Future, []) + })); + dart.setLibraryUri(html$.VR, I[148]); + dart.registerExtension("VR", html$.VR); + html$.VRCoordinateSystem = class VRCoordinateSystem extends _interceptors.Interceptor { + [S$3.$getTransformTo](...args) { + return this.getTransformTo.apply(this, args); + } + }; + dart.addTypeTests(html$.VRCoordinateSystem); + dart.addTypeCaches(html$.VRCoordinateSystem); + dart.setMethodSignature(html$.VRCoordinateSystem, () => ({ + __proto__: dart.getMethods(html$.VRCoordinateSystem.__proto__), + [S$3.$getTransformTo]: dart.fnType(dart.nullable(typed_data.Float32List), [html$.VRCoordinateSystem]) + })); + dart.setLibraryUri(html$.VRCoordinateSystem, I[148]); + dart.registerExtension("VRCoordinateSystem", html$.VRCoordinateSystem); + html$.VRDevice = class VRDevice extends html$.EventTarget { + get [S$3.$deviceName]() { + return this.deviceName; + } + get [S$3.$isExternal]() { + return this.isExternal; + } + [S$3.$requestSession](options = null) { + let options_dict = null; + if (options != null) { + options_dict = html_common.convertDartToNative_Dictionary(options); + } + return js_util.promiseToFuture(dart.dynamic, this.requestSession(options_dict)); + } + [S$3.$supportsSession](options = null) { + let options_dict = null; + if (options != null) { + options_dict = html_common.convertDartToNative_Dictionary(options); + } + return js_util.promiseToFuture(dart.dynamic, this.supportsSession(options_dict)); + } + }; + dart.addTypeTests(html$.VRDevice); + dart.addTypeCaches(html$.VRDevice); + dart.setMethodSignature(html$.VRDevice, () => ({ + __proto__: dart.getMethods(html$.VRDevice.__proto__), + [S$3.$requestSession]: dart.fnType(async.Future, [], [dart.nullable(core.Map)]), + [S$3.$supportsSession]: dart.fnType(async.Future, [], [dart.nullable(core.Map)]) + })); + dart.setGetterSignature(html$.VRDevice, () => ({ + __proto__: dart.getGetters(html$.VRDevice.__proto__), + [S$3.$deviceName]: dart.nullable(core.String), + [S$3.$isExternal]: dart.nullable(core.bool) + })); + dart.setLibraryUri(html$.VRDevice, I[148]); + dart.registerExtension("VRDevice", html$.VRDevice); + html$.VRDeviceEvent = class VRDeviceEvent$ extends html$.Event { + static new(type, eventInitDict) { + if (type == null) dart.nullFailed(I[147], 31027, 32, "type"); + if (eventInitDict == null) dart.nullFailed(I[147], 31027, 42, "eventInitDict"); + let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); + return html$.VRDeviceEvent._create_1(type, eventInitDict_1); + } + static _create_1(type, eventInitDict) { + return new VRDeviceEvent(type, eventInitDict); + } + get [S$3.$device]() { + return this.device; + } + }; + dart.addTypeTests(html$.VRDeviceEvent); + dart.addTypeCaches(html$.VRDeviceEvent); + dart.setGetterSignature(html$.VRDeviceEvent, () => ({ + __proto__: dart.getGetters(html$.VRDeviceEvent.__proto__), + [S$3.$device]: dart.nullable(html$.VRDevice) + })); + dart.setLibraryUri(html$.VRDeviceEvent, I[148]); + dart.registerExtension("VRDeviceEvent", html$.VRDeviceEvent); + html$.VRDisplay = class VRDisplay extends html$.EventTarget { + get [S$3.$capabilities]() { + return this.capabilities; + } + get [S$3.$depthFar]() { + return this.depthFar; + } + set [S$3.$depthFar](value) { + this.depthFar = value; + } + get [S$3.$depthNear]() { + return this.depthNear; + } + set [S$3.$depthNear](value) { + this.depthNear = value; + } + get [S$1.$displayId]() { + return this.displayId; + } + get [S$3.$displayName]() { + return this.displayName; + } + get [S$3.$isPresenting]() { + return this.isPresenting; + } + get [S$3.$stageParameters]() { + return this.stageParameters; + } + [S$3.$cancelAnimationFrame](...args) { + return this.cancelAnimationFrame.apply(this, args); + } + [S$3.$exitPresent]() { + return js_util.promiseToFuture(dart.dynamic, this.exitPresent()); + } + [S$3.$getEyeParameters](...args) { + return this.getEyeParameters.apply(this, args); + } + [S$3.$getFrameData](...args) { + return this.getFrameData.apply(this, args); + } + [S$3.$getLayers](...args) { + return this.getLayers.apply(this, args); + } + [S$3.$requestAnimationFrame](...args) { + return this.requestAnimationFrame.apply(this, args); + } + [S$3.$requestPresent](layers) { + if (layers == null) dart.nullFailed(I[147], 31077, 35, "layers"); + return js_util.promiseToFuture(dart.dynamic, this.requestPresent(layers)); + } + [S$3.$submitFrame](...args) { + return this.submitFrame.apply(this, args); + } + }; + dart.addTypeTests(html$.VRDisplay); + dart.addTypeCaches(html$.VRDisplay); + dart.setMethodSignature(html$.VRDisplay, () => ({ + __proto__: dart.getMethods(html$.VRDisplay.__proto__), + [S$3.$cancelAnimationFrame]: dart.fnType(dart.void, [core.int]), + [S$3.$exitPresent]: dart.fnType(async.Future, []), + [S$3.$getEyeParameters]: dart.fnType(html$.VREyeParameters, [core.String]), + [S$3.$getFrameData]: dart.fnType(core.bool, [html$.VRFrameData]), + [S$3.$getLayers]: dart.fnType(core.List$(core.Map), []), + [S$3.$requestAnimationFrame]: dart.fnType(core.int, [dart.fnType(dart.void, [core.num])]), + [S$3.$requestPresent]: dart.fnType(async.Future, [core.List$(core.Map)]), + [S$3.$submitFrame]: dart.fnType(dart.void, []) + })); + dart.setGetterSignature(html$.VRDisplay, () => ({ + __proto__: dart.getGetters(html$.VRDisplay.__proto__), + [S$3.$capabilities]: dart.nullable(html$.VRDisplayCapabilities), + [S$3.$depthFar]: dart.nullable(core.num), + [S$3.$depthNear]: dart.nullable(core.num), + [S$1.$displayId]: dart.nullable(core.int), + [S$3.$displayName]: dart.nullable(core.String), + [S$3.$isPresenting]: dart.nullable(core.bool), + [S$3.$stageParameters]: dart.nullable(html$.VRStageParameters) + })); + dart.setSetterSignature(html$.VRDisplay, () => ({ + __proto__: dart.getSetters(html$.VRDisplay.__proto__), + [S$3.$depthFar]: dart.nullable(core.num), + [S$3.$depthNear]: dart.nullable(core.num) + })); + dart.setLibraryUri(html$.VRDisplay, I[148]); + dart.registerExtension("VRDisplay", html$.VRDisplay); + html$.VRDisplayCapabilities = class VRDisplayCapabilities extends _interceptors.Interceptor { + get [S$3.$canPresent]() { + return this.canPresent; + } + get [S$3.$hasExternalDisplay]() { + return this.hasExternalDisplay; + } + get [S$1.$hasPosition]() { + return this.hasPosition; + } + get [S$3.$maxLayers]() { + return this.maxLayers; + } + }; + dart.addTypeTests(html$.VRDisplayCapabilities); + dart.addTypeCaches(html$.VRDisplayCapabilities); + dart.setGetterSignature(html$.VRDisplayCapabilities, () => ({ + __proto__: dart.getGetters(html$.VRDisplayCapabilities.__proto__), + [S$3.$canPresent]: dart.nullable(core.bool), + [S$3.$hasExternalDisplay]: dart.nullable(core.bool), + [S$1.$hasPosition]: dart.nullable(core.bool), + [S$3.$maxLayers]: dart.nullable(core.int) + })); + dart.setLibraryUri(html$.VRDisplayCapabilities, I[148]); + dart.registerExtension("VRDisplayCapabilities", html$.VRDisplayCapabilities); + html$.VRDisplayEvent = class VRDisplayEvent$ extends html$.Event { + static new(type, eventInitDict = null) { + if (type == null) dart.nullFailed(I[147], 31112, 33, "type"); + if (eventInitDict != null) { + let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); + return html$.VRDisplayEvent._create_1(type, eventInitDict_1); + } + return html$.VRDisplayEvent._create_2(type); + } + static _create_1(type, eventInitDict) { + return new VRDisplayEvent(type, eventInitDict); + } + static _create_2(type) { + return new VRDisplayEvent(type); + } + get [S$0.$display]() { + return this.display; + } + get [S$.$reason]() { + return this.reason; + } + }; + dart.addTypeTests(html$.VRDisplayEvent); + dart.addTypeCaches(html$.VRDisplayEvent); + dart.setGetterSignature(html$.VRDisplayEvent, () => ({ + __proto__: dart.getGetters(html$.VRDisplayEvent.__proto__), + [S$0.$display]: dart.nullable(html$.VRDisplay), + [S$.$reason]: dart.nullable(core.String) + })); + dart.setLibraryUri(html$.VRDisplayEvent, I[148]); + dart.registerExtension("VRDisplayEvent", html$.VRDisplayEvent); + html$.VREyeParameters = class VREyeParameters extends _interceptors.Interceptor { + get [S.$offset]() { + return this.offset; + } + get [S$3.$renderHeight]() { + return this.renderHeight; + } + get [S$3.$renderWidth]() { + return this.renderWidth; + } + }; + dart.addTypeTests(html$.VREyeParameters); + dart.addTypeCaches(html$.VREyeParameters); + dart.setGetterSignature(html$.VREyeParameters, () => ({ + __proto__: dart.getGetters(html$.VREyeParameters.__proto__), + [S.$offset]: dart.nullable(typed_data.Float32List), + [S$3.$renderHeight]: dart.nullable(core.int), + [S$3.$renderWidth]: dart.nullable(core.int) + })); + dart.setLibraryUri(html$.VREyeParameters, I[148]); + dart.registerExtension("VREyeParameters", html$.VREyeParameters); + html$.VRFrameData = class VRFrameData$ extends _interceptors.Interceptor { + static new() { + return html$.VRFrameData._create_1(); + } + static _create_1() { + return new VRFrameData(); + } + get [S$3.$leftProjectionMatrix]() { + return this.leftProjectionMatrix; + } + get [S$3.$leftViewMatrix]() { + return this.leftViewMatrix; + } + get [S$1.$pose]() { + return this.pose; + } + get [S$3.$rightProjectionMatrix]() { + return this.rightProjectionMatrix; + } + get [S$3.$rightViewMatrix]() { + return this.rightViewMatrix; + } + }; + dart.addTypeTests(html$.VRFrameData); + dart.addTypeCaches(html$.VRFrameData); + dart.setGetterSignature(html$.VRFrameData, () => ({ + __proto__: dart.getGetters(html$.VRFrameData.__proto__), + [S$3.$leftProjectionMatrix]: dart.nullable(typed_data.Float32List), + [S$3.$leftViewMatrix]: dart.nullable(typed_data.Float32List), + [S$1.$pose]: dart.nullable(html$.VRPose), + [S$3.$rightProjectionMatrix]: dart.nullable(typed_data.Float32List), + [S$3.$rightViewMatrix]: dart.nullable(typed_data.Float32List) + })); + dart.setLibraryUri(html$.VRFrameData, I[148]); + dart.registerExtension("VRFrameData", html$.VRFrameData); + html$.VRFrameOfReference = class VRFrameOfReference extends html$.VRCoordinateSystem { + get [S$3.$bounds]() { + return this.bounds; + } + get [S$3.$emulatedHeight]() { + return this.emulatedHeight; + } + }; + dart.addTypeTests(html$.VRFrameOfReference); + dart.addTypeCaches(html$.VRFrameOfReference); + dart.setGetterSignature(html$.VRFrameOfReference, () => ({ + __proto__: dart.getGetters(html$.VRFrameOfReference.__proto__), + [S$3.$bounds]: dart.nullable(html$.VRStageBounds), + [S$3.$emulatedHeight]: dart.nullable(core.num) + })); + dart.setLibraryUri(html$.VRFrameOfReference, I[148]); + dart.registerExtension("VRFrameOfReference", html$.VRFrameOfReference); + html$.VRPose = class VRPose extends _interceptors.Interceptor { + get [S$1.$angularAcceleration]() { + return this.angularAcceleration; + } + get [S$1.$angularVelocity]() { + return this.angularVelocity; + } + get [S$1.$linearAcceleration]() { + return this.linearAcceleration; + } + get [S$1.$linearVelocity]() { + return this.linearVelocity; + } + get [S$.$orientation]() { + return this.orientation; + } + get [S$0.$position]() { + return this.position; + } + }; + dart.addTypeTests(html$.VRPose); + dart.addTypeCaches(html$.VRPose); + dart.setGetterSignature(html$.VRPose, () => ({ + __proto__: dart.getGetters(html$.VRPose.__proto__), + [S$1.$angularAcceleration]: dart.nullable(typed_data.Float32List), + [S$1.$angularVelocity]: dart.nullable(typed_data.Float32List), + [S$1.$linearAcceleration]: dart.nullable(typed_data.Float32List), + [S$1.$linearVelocity]: dart.nullable(typed_data.Float32List), + [S$.$orientation]: dart.nullable(typed_data.Float32List), + [S$0.$position]: dart.nullable(typed_data.Float32List) + })); + dart.setLibraryUri(html$.VRPose, I[148]); + dart.registerExtension("VRPose", html$.VRPose); + html$.VRSession = class VRSession extends html$.EventTarget { + get [S$3.$depthFar]() { + return this.depthFar; + } + set [S$3.$depthFar](value) { + this.depthFar = value; + } + get [S$3.$depthNear]() { + return this.depthNear; + } + set [S$3.$depthNear](value) { + this.depthNear = value; + } + get [S$3.$device]() { + return this.device; + } + get [S$3.$exclusive]() { + return this.exclusive; + } + [S$2.$end]() { + return js_util.promiseToFuture(dart.dynamic, this.end()); + } + [S$3.$requestFrameOfReference](type, options = null) { + if (type == null) dart.nullFailed(I[147], 31240, 41, "type"); + let options_dict = null; + if (options != null) { + options_dict = html_common.convertDartToNative_Dictionary(options); + } + return js_util.promiseToFuture(dart.dynamic, this.requestFrameOfReference(type, options_dict)); + } + get [S.$onBlur]() { + return html$.VRSession.blurEvent.forTarget(this); + } + get [S.$onFocus]() { + return html$.VRSession.focusEvent.forTarget(this); + } + }; + dart.addTypeTests(html$.VRSession); + dart.addTypeCaches(html$.VRSession); + dart.setMethodSignature(html$.VRSession, () => ({ + __proto__: dart.getMethods(html$.VRSession.__proto__), + [S$2.$end]: dart.fnType(async.Future, []), + [S$3.$requestFrameOfReference]: dart.fnType(async.Future, [core.String], [dart.nullable(core.Map)]) + })); + dart.setGetterSignature(html$.VRSession, () => ({ + __proto__: dart.getGetters(html$.VRSession.__proto__), + [S$3.$depthFar]: dart.nullable(core.num), + [S$3.$depthNear]: dart.nullable(core.num), + [S$3.$device]: dart.nullable(html$.VRDevice), + [S$3.$exclusive]: dart.nullable(core.bool), + [S.$onBlur]: async.Stream$(html$.Event), + [S.$onFocus]: async.Stream$(html$.Event) + })); + dart.setSetterSignature(html$.VRSession, () => ({ + __proto__: dart.getSetters(html$.VRSession.__proto__), + [S$3.$depthFar]: dart.nullable(core.num), + [S$3.$depthNear]: dart.nullable(core.num) + })); + dart.setLibraryUri(html$.VRSession, I[148]); + dart.defineLazy(html$.VRSession, { + /*html$.VRSession.blurEvent*/get blurEvent() { + return C[233] || CT.C233; + }, + /*html$.VRSession.focusEvent*/get focusEvent() { + return C[252] || CT.C252; + } + }, false); + dart.registerExtension("VRSession", html$.VRSession); + html$.VRSessionEvent = class VRSessionEvent$ extends html$.Event { + static new(type, eventInitDict) { + if (type == null) dart.nullFailed(I[147], 31264, 33, "type"); + if (eventInitDict == null) dart.nullFailed(I[147], 31264, 43, "eventInitDict"); + let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); + return html$.VRSessionEvent._create_1(type, eventInitDict_1); + } + static _create_1(type, eventInitDict) { + return new VRSessionEvent(type, eventInitDict); + } + get [S$3.$session]() { + return this.session; + } + }; + dart.addTypeTests(html$.VRSessionEvent); + dart.addTypeCaches(html$.VRSessionEvent); + dart.setGetterSignature(html$.VRSessionEvent, () => ({ + __proto__: dart.getGetters(html$.VRSessionEvent.__proto__), + [S$3.$session]: dart.nullable(html$.VRSession) + })); + dart.setLibraryUri(html$.VRSessionEvent, I[148]); + dart.registerExtension("VRSessionEvent", html$.VRSessionEvent); + html$.VRStageBounds = class VRStageBounds extends _interceptors.Interceptor { + get [S$3.$geometry]() { + return this.geometry; + } + }; + dart.addTypeTests(html$.VRStageBounds); + dart.addTypeCaches(html$.VRStageBounds); + dart.setGetterSignature(html$.VRStageBounds, () => ({ + __proto__: dart.getGetters(html$.VRStageBounds.__proto__), + [S$3.$geometry]: dart.nullable(core.List$(html$.VRStageBoundsPoint)) + })); + dart.setLibraryUri(html$.VRStageBounds, I[148]); + dart.registerExtension("VRStageBounds", html$.VRStageBounds); + html$.VRStageBoundsPoint = class VRStageBoundsPoint extends _interceptors.Interceptor { + get [S$.$x]() { + return this.x; + } + get [S$.$z]() { + return this.z; + } + }; + dart.addTypeTests(html$.VRStageBoundsPoint); + dart.addTypeCaches(html$.VRStageBoundsPoint); + dart.setGetterSignature(html$.VRStageBoundsPoint, () => ({ + __proto__: dart.getGetters(html$.VRStageBoundsPoint.__proto__), + [S$.$x]: dart.nullable(core.num), + [S$.$z]: dart.nullable(core.num) + })); + dart.setLibraryUri(html$.VRStageBoundsPoint, I[148]); + dart.registerExtension("VRStageBoundsPoint", html$.VRStageBoundsPoint); + html$.VRStageParameters = class VRStageParameters extends _interceptors.Interceptor { + get [S$3.$sittingToStandingTransform]() { + return this.sittingToStandingTransform; + } + get [S$3.$sizeX]() { + return this.sizeX; + } + get [S$3.$sizeZ]() { + return this.sizeZ; + } + }; + dart.addTypeTests(html$.VRStageParameters); + dart.addTypeCaches(html$.VRStageParameters); + dart.setGetterSignature(html$.VRStageParameters, () => ({ + __proto__: dart.getGetters(html$.VRStageParameters.__proto__), + [S$3.$sittingToStandingTransform]: dart.nullable(typed_data.Float32List), + [S$3.$sizeX]: dart.nullable(core.num), + [S$3.$sizeZ]: dart.nullable(core.num) + })); + dart.setLibraryUri(html$.VRStageParameters, I[148]); + dart.registerExtension("VRStageParameters", html$.VRStageParameters); + html$.ValidityState = class ValidityState extends _interceptors.Interceptor { + get [S$3.$badInput]() { + return this.badInput; + } + get [S$3.$customError]() { + return this.customError; + } + get [S$3.$patternMismatch]() { + return this.patternMismatch; + } + get [S$3.$rangeOverflow]() { + return this.rangeOverflow; + } + get [S$3.$rangeUnderflow]() { + return this.rangeUnderflow; + } + get [S$3.$stepMismatch]() { + return this.stepMismatch; + } + get [S$3.$tooLong]() { + return this.tooLong; + } + get [S$3.$tooShort]() { + return this.tooShort; + } + get [S$3.$typeMismatch]() { + return this.typeMismatch; + } + get [S$3.$valid]() { + return this.valid; + } + get [S$3.$valueMissing]() { + return this.valueMissing; + } + }; + dart.addTypeTests(html$.ValidityState); + dart.addTypeCaches(html$.ValidityState); + dart.setGetterSignature(html$.ValidityState, () => ({ + __proto__: dart.getGetters(html$.ValidityState.__proto__), + [S$3.$badInput]: dart.nullable(core.bool), + [S$3.$customError]: dart.nullable(core.bool), + [S$3.$patternMismatch]: dart.nullable(core.bool), + [S$3.$rangeOverflow]: dart.nullable(core.bool), + [S$3.$rangeUnderflow]: dart.nullable(core.bool), + [S$3.$stepMismatch]: dart.nullable(core.bool), + [S$3.$tooLong]: dart.nullable(core.bool), + [S$3.$tooShort]: dart.nullable(core.bool), + [S$3.$typeMismatch]: dart.nullable(core.bool), + [S$3.$valid]: dart.nullable(core.bool), + [S$3.$valueMissing]: dart.nullable(core.bool) + })); + dart.setLibraryUri(html$.ValidityState, I[148]); + dart.registerExtension("ValidityState", html$.ValidityState); + html$.VideoElement = class VideoElement extends html$.MediaElement { + static new() { + return html$.document.createElement("video"); + } + get [$height]() { + return this.height; + } + set [$height](value) { + this.height = value; + } + get [S$3.$poster]() { + return this.poster; + } + set [S$3.$poster](value) { + this.poster = value; + } + get [S$3.$videoHeight]() { + return this.videoHeight; + } + get [S$3.$videoWidth]() { + return this.videoWidth; + } + get [S$3.$decodedFrameCount]() { + return this.webkitDecodedFrameCount; + } + get [S$3.$droppedFrameCount]() { + return this.webkitDroppedFrameCount; + } + get [$width]() { + return this.width; + } + set [$width](value) { + this.width = value; + } + [S$3.$getVideoPlaybackQuality](...args) { + return this.getVideoPlaybackQuality.apply(this, args); + } + [S$3.$enterFullscreen](...args) { + return this.webkitEnterFullscreen.apply(this, args); + } + [S$1.$exitFullscreen](...args) { + return this.webkitExitFullscreen.apply(this, args); + } + }; + (html$.VideoElement.created = function() { + html$.VideoElement.__proto__.created.call(this); + ; + }).prototype = html$.VideoElement.prototype; + dart.addTypeTests(html$.VideoElement); + dart.addTypeCaches(html$.VideoElement); + html$.VideoElement[dart.implements] = () => [html$.CanvasImageSource]; + dart.setMethodSignature(html$.VideoElement, () => ({ + __proto__: dart.getMethods(html$.VideoElement.__proto__), + [S$3.$getVideoPlaybackQuality]: dart.fnType(html$.VideoPlaybackQuality, []), + [S$3.$enterFullscreen]: dart.fnType(dart.void, []), + [S$1.$exitFullscreen]: dart.fnType(dart.void, []) + })); + dart.setGetterSignature(html$.VideoElement, () => ({ + __proto__: dart.getGetters(html$.VideoElement.__proto__), + [$height]: core.int, + [S$3.$poster]: core.String, + [S$3.$videoHeight]: core.int, + [S$3.$videoWidth]: core.int, + [S$3.$decodedFrameCount]: dart.nullable(core.int), + [S$3.$droppedFrameCount]: dart.nullable(core.int), + [$width]: core.int + })); + dart.setSetterSignature(html$.VideoElement, () => ({ + __proto__: dart.getSetters(html$.VideoElement.__proto__), + [$height]: core.int, + [S$3.$poster]: core.String, + [$width]: core.int + })); + dart.setLibraryUri(html$.VideoElement, I[148]); + dart.registerExtension("HTMLVideoElement", html$.VideoElement); + html$.VideoPlaybackQuality = class VideoPlaybackQuality extends _interceptors.Interceptor { + get [S$3.$corruptedVideoFrames]() { + return this.corruptedVideoFrames; + } + get [S$3.$creationTime]() { + return this.creationTime; + } + get [S$3.$droppedVideoFrames]() { + return this.droppedVideoFrames; + } + get [S$3.$totalVideoFrames]() { + return this.totalVideoFrames; + } + }; + dart.addTypeTests(html$.VideoPlaybackQuality); + dart.addTypeCaches(html$.VideoPlaybackQuality); + dart.setGetterSignature(html$.VideoPlaybackQuality, () => ({ + __proto__: dart.getGetters(html$.VideoPlaybackQuality.__proto__), + [S$3.$corruptedVideoFrames]: dart.nullable(core.int), + [S$3.$creationTime]: dart.nullable(core.num), + [S$3.$droppedVideoFrames]: dart.nullable(core.int), + [S$3.$totalVideoFrames]: dart.nullable(core.int) + })); + dart.setLibraryUri(html$.VideoPlaybackQuality, I[148]); + dart.registerExtension("VideoPlaybackQuality", html$.VideoPlaybackQuality); + html$.VideoTrack = class VideoTrack extends _interceptors.Interceptor { + get [S.$id]() { + return this.id; + } + get [S$.$kind]() { + return this.kind; + } + get [S$.$label]() { + return this.label; + } + get [S$1.$language]() { + return this.language; + } + get [S$.$selected]() { + return this.selected; + } + set [S$.$selected](value) { + this.selected = value; + } + get [S$3.$sourceBuffer]() { + return this.sourceBuffer; + } + }; + dart.addTypeTests(html$.VideoTrack); + dart.addTypeCaches(html$.VideoTrack); + dart.setGetterSignature(html$.VideoTrack, () => ({ + __proto__: dart.getGetters(html$.VideoTrack.__proto__), + [S.$id]: dart.nullable(core.String), + [S$.$kind]: dart.nullable(core.String), + [S$.$label]: dart.nullable(core.String), + [S$1.$language]: dart.nullable(core.String), + [S$.$selected]: dart.nullable(core.bool), + [S$3.$sourceBuffer]: dart.nullable(html$.SourceBuffer) + })); + dart.setSetterSignature(html$.VideoTrack, () => ({ + __proto__: dart.getSetters(html$.VideoTrack.__proto__), + [S$.$selected]: dart.nullable(core.bool) + })); + dart.setLibraryUri(html$.VideoTrack, I[148]); + dart.registerExtension("VideoTrack", html$.VideoTrack); + html$.VideoTrackList = class VideoTrackList extends html$.EventTarget { + get [$length]() { + return this.length; + } + get [S$2.$selectedIndex]() { + return this.selectedIndex; + } + [S$.__getter__](...args) { + return this.__getter__.apply(this, args); + } + [S$1.$getTrackById](...args) { + return this.getTrackById.apply(this, args); + } + get [S.$onChange]() { + return html$.VideoTrackList.changeEvent.forTarget(this); + } + }; + dart.addTypeTests(html$.VideoTrackList); + dart.addTypeCaches(html$.VideoTrackList); + dart.setMethodSignature(html$.VideoTrackList, () => ({ + __proto__: dart.getMethods(html$.VideoTrackList.__proto__), + [S$.__getter__]: dart.fnType(html$.VideoTrack, [core.int]), + [S$1.$getTrackById]: dart.fnType(dart.nullable(html$.VideoTrack), [core.String]) + })); + dart.setGetterSignature(html$.VideoTrackList, () => ({ + __proto__: dart.getGetters(html$.VideoTrackList.__proto__), + [$length]: dart.nullable(core.int), + [S$2.$selectedIndex]: dart.nullable(core.int), + [S.$onChange]: async.Stream$(html$.Event) + })); + dart.setLibraryUri(html$.VideoTrackList, I[148]); + dart.defineLazy(html$.VideoTrackList, { + /*html$.VideoTrackList.changeEvent*/get changeEvent() { + return C[236] || CT.C236; + } + }, false); + dart.registerExtension("VideoTrackList", html$.VideoTrackList); + html$.VisualViewport = class VisualViewport extends html$.EventTarget { + get [$height]() { + return this.height; + } + get [S.$offsetLeft]() { + return this.offsetLeft; + } + get [S.$offsetTop]() { + return this.offsetTop; + } + get [S$3.$pageLeft]() { + return this.pageLeft; + } + get [S$3.$pageTop]() { + return this.pageTop; + } + get [S$.$scale]() { + return this.scale; + } + get [$width]() { + return this.width; + } + get [S.$onResize]() { + return html$.VisualViewport.resizeEvent.forTarget(this); + } + get [S.$onScroll]() { + return html$.VisualViewport.scrollEvent.forTarget(this); + } + }; + dart.addTypeTests(html$.VisualViewport); + dart.addTypeCaches(html$.VisualViewport); + dart.setGetterSignature(html$.VisualViewport, () => ({ + __proto__: dart.getGetters(html$.VisualViewport.__proto__), + [$height]: dart.nullable(core.num), + [S.$offsetLeft]: dart.nullable(core.num), + [S.$offsetTop]: dart.nullable(core.num), + [S$3.$pageLeft]: dart.nullable(core.num), + [S$3.$pageTop]: dart.nullable(core.num), + [S$.$scale]: dart.nullable(core.num), + [$width]: dart.nullable(core.num), + [S.$onResize]: async.Stream$(html$.Event), + [S.$onScroll]: async.Stream$(html$.Event) + })); + dart.setLibraryUri(html$.VisualViewport, I[148]); + dart.defineLazy(html$.VisualViewport, { + /*html$.VisualViewport.resizeEvent*/get resizeEvent() { + return C[274] || CT.C274; + }, + /*html$.VisualViewport.scrollEvent*/get scrollEvent() { + return C[275] || CT.C275; + } + }, false); + dart.registerExtension("VisualViewport", html$.VisualViewport); + html$.VttCue = class VttCue extends html$.TextTrackCue { + static new(startTime, endTime, text) { + if (startTime == null) dart.nullFailed(I[147], 31533, 22, "startTime"); + if (endTime == null) dart.nullFailed(I[147], 31533, 37, "endTime"); + if (text == null) dart.nullFailed(I[147], 31533, 53, "text"); + return html$.VttCue._create_1(startTime, endTime, text); + } + static _create_1(startTime, endTime, text) { + return new VTTCue(startTime, endTime, text); + } + get [S$3.$align]() { + return this.align; + } + set [S$3.$align](value) { + this.align = value; + } + get [S$3.$line]() { + return this.line; + } + set [S$3.$line](value) { + this.line = value; + } + get [S$0.$position]() { + return this.position; + } + set [S$0.$position](value) { + this.position = value; + } + get [S$1.$region]() { + return this.region; + } + set [S$1.$region](value) { + this.region = value; + } + get [S$.$size]() { + return this.size; + } + set [S$.$size](value) { + this.size = value; + } + get [S$3.$snapToLines]() { + return this.snapToLines; + } + set [S$3.$snapToLines](value) { + this.snapToLines = value; + } + get [S.$text]() { + return this.text; + } + set [S.$text](value) { + this.text = value; + } + get [S$3.$vertical]() { + return this.vertical; + } + set [S$3.$vertical](value) { + this.vertical = value; + } + [S$3.$getCueAsHtml](...args) { + return this.getCueAsHTML.apply(this, args); + } + }; + dart.addTypeTests(html$.VttCue); + dart.addTypeCaches(html$.VttCue); + dart.setMethodSignature(html$.VttCue, () => ({ + __proto__: dart.getMethods(html$.VttCue.__proto__), + [S$3.$getCueAsHtml]: dart.fnType(html$.DocumentFragment, []) + })); + dart.setGetterSignature(html$.VttCue, () => ({ + __proto__: dart.getGetters(html$.VttCue.__proto__), + [S$3.$align]: dart.nullable(core.String), + [S$3.$line]: dart.nullable(core.Object), + [S$0.$position]: dart.nullable(core.Object), + [S$1.$region]: dart.nullable(html$.VttRegion), + [S$.$size]: dart.nullable(core.num), + [S$3.$snapToLines]: dart.nullable(core.bool), + [S.$text]: dart.nullable(core.String), + [S$3.$vertical]: dart.nullable(core.String) + })); + dart.setSetterSignature(html$.VttCue, () => ({ + __proto__: dart.getSetters(html$.VttCue.__proto__), + [S$3.$align]: dart.nullable(core.String), + [S$3.$line]: dart.nullable(core.Object), + [S$0.$position]: dart.nullable(core.Object), + [S$1.$region]: dart.nullable(html$.VttRegion), + [S$.$size]: dart.nullable(core.num), + [S$3.$snapToLines]: dart.nullable(core.bool), + [S.$text]: dart.nullable(core.String), + [S$3.$vertical]: dart.nullable(core.String) + })); + dart.setLibraryUri(html$.VttCue, I[148]); + dart.registerExtension("VTTCue", html$.VttCue); + html$.VttRegion = class VttRegion extends _interceptors.Interceptor { + static new() { + return html$.VttRegion._create_1(); + } + static _create_1() { + return new VTTRegion(); + } + get [S.$id]() { + return this.id; + } + set [S.$id](value) { + this.id = value; + } + get [S$3.$lines]() { + return this.lines; + } + set [S$3.$lines](value) { + this.lines = value; + } + get [S$3.$regionAnchorX]() { + return this.regionAnchorX; + } + set [S$3.$regionAnchorX](value) { + this.regionAnchorX = value; + } + get [S$3.$regionAnchorY]() { + return this.regionAnchorY; + } + set [S$3.$regionAnchorY](value) { + this.regionAnchorY = value; + } + get [S.$scroll]() { + return this.scroll; + } + set [S.$scroll](value) { + this.scroll = value; + } + get [S$3.$viewportAnchorX]() { + return this.viewportAnchorX; + } + set [S$3.$viewportAnchorX](value) { + this.viewportAnchorX = value; + } + get [S$3.$viewportAnchorY]() { + return this.viewportAnchorY; + } + set [S$3.$viewportAnchorY](value) { + this.viewportAnchorY = value; + } + get [$width]() { + return this.width; + } + set [$width](value) { + this.width = value; + } + }; + dart.addTypeTests(html$.VttRegion); + dart.addTypeCaches(html$.VttRegion); + dart.setGetterSignature(html$.VttRegion, () => ({ + __proto__: dart.getGetters(html$.VttRegion.__proto__), + [S.$id]: dart.nullable(core.String), + [S$3.$lines]: dart.nullable(core.int), + [S$3.$regionAnchorX]: dart.nullable(core.num), + [S$3.$regionAnchorY]: dart.nullable(core.num), + [S.$scroll]: dart.nullable(core.String), + [S$3.$viewportAnchorX]: dart.nullable(core.num), + [S$3.$viewportAnchorY]: dart.nullable(core.num), + [$width]: dart.nullable(core.num) + })); + dart.setSetterSignature(html$.VttRegion, () => ({ + __proto__: dart.getSetters(html$.VttRegion.__proto__), + [S.$id]: dart.nullable(core.String), + [S$3.$lines]: dart.nullable(core.int), + [S$3.$regionAnchorX]: dart.nullable(core.num), + [S$3.$regionAnchorY]: dart.nullable(core.num), + [S.$scroll]: dart.nullable(core.String), + [S$3.$viewportAnchorX]: dart.nullable(core.num), + [S$3.$viewportAnchorY]: dart.nullable(core.num), + [$width]: dart.nullable(core.num) + })); + dart.setLibraryUri(html$.VttRegion, I[148]); + dart.registerExtension("VTTRegion", html$.VttRegion); + html$.WebSocket = class WebSocket$ extends html$.EventTarget { + static new(url, protocols = null) { + if (url == null) dart.nullFailed(I[147], 31712, 28, "url"); + if (protocols != null) { + return html$.WebSocket._create_1(url, protocols); + } + return html$.WebSocket._create_2(url); + } + static _create_1(url, protocols) { + return new WebSocket(url, protocols); + } + static _create_2(url) { + return new WebSocket(url); + } + static get supported() { + return typeof window.WebSocket != "undefined"; + } + get [S$2.$binaryType]() { + return this.binaryType; + } + set [S$2.$binaryType](value) { + this.binaryType = value; + } + get [S$2.$bufferedAmount]() { + return this.bufferedAmount; + } + get [S$3.$extensions]() { + return this.extensions; + } + get [S$.$protocol]() { + return this.protocol; + } + get [S.$readyState]() { + return this.readyState; + } + get [S$.$url]() { + return this.url; + } + [S.$close](...args) { + return this.close.apply(this, args); + } + [S$1.$send](...args) { + return this.send.apply(this, args); + } + [S$2.$sendBlob](...args) { + return this.send.apply(this, args); + } + [S$2.$sendByteBuffer](...args) { + return this.send.apply(this, args); + } + [S$2.$sendString](...args) { + return this.send.apply(this, args); + } + [S$2.$sendTypedData](...args) { + return this.send.apply(this, args); + } + get [S.$onClose]() { + return html$.WebSocket.closeEvent.forTarget(this); + } + get [S.$onError]() { + return html$.WebSocket.errorEvent.forTarget(this); + } + get [S$.$onMessage]() { + return html$.WebSocket.messageEvent.forTarget(this); + } + get [S$1.$onOpen]() { + return html$.WebSocket.openEvent.forTarget(this); + } + }; + dart.addTypeTests(html$.WebSocket); + dart.addTypeCaches(html$.WebSocket); + dart.setMethodSignature(html$.WebSocket, () => ({ + __proto__: dart.getMethods(html$.WebSocket.__proto__), + [S.$close]: dart.fnType(dart.void, [], [dart.nullable(core.int), dart.nullable(core.String)]), + [S$1.$send]: dart.fnType(dart.void, [dart.dynamic]), + [S$2.$sendBlob]: dart.fnType(dart.void, [html$.Blob]), + [S$2.$sendByteBuffer]: dart.fnType(dart.void, [typed_data.ByteBuffer]), + [S$2.$sendString]: dart.fnType(dart.void, [core.String]), + [S$2.$sendTypedData]: dart.fnType(dart.void, [typed_data.TypedData]) + })); + dart.setGetterSignature(html$.WebSocket, () => ({ + __proto__: dart.getGetters(html$.WebSocket.__proto__), + [S$2.$binaryType]: dart.nullable(core.String), + [S$2.$bufferedAmount]: dart.nullable(core.int), + [S$3.$extensions]: dart.nullable(core.String), + [S$.$protocol]: dart.nullable(core.String), + [S.$readyState]: core.int, + [S$.$url]: dart.nullable(core.String), + [S.$onClose]: async.Stream$(html$.CloseEvent), + [S.$onError]: async.Stream$(html$.Event), + [S$.$onMessage]: async.Stream$(html$.MessageEvent), + [S$1.$onOpen]: async.Stream$(html$.Event) + })); + dart.setSetterSignature(html$.WebSocket, () => ({ + __proto__: dart.getSetters(html$.WebSocket.__proto__), + [S$2.$binaryType]: dart.nullable(core.String) + })); + dart.setLibraryUri(html$.WebSocket, I[148]); + dart.defineLazy(html$.WebSocket, { + /*html$.WebSocket.closeEvent*/get closeEvent() { + return C[387] || CT.C387; + }, + /*html$.WebSocket.errorEvent*/get errorEvent() { + return C[216] || CT.C216; + }, + /*html$.WebSocket.messageEvent*/get messageEvent() { + return C[312] || CT.C312; + }, + /*html$.WebSocket.openEvent*/get openEvent() { + return C[330] || CT.C330; + }, + /*html$.WebSocket.CLOSED*/get CLOSED() { + return 3; + }, + /*html$.WebSocket.CLOSING*/get CLOSING() { + return 2; + }, + /*html$.WebSocket.CONNECTING*/get CONNECTING() { + return 0; + }, + /*html$.WebSocket.OPEN*/get OPEN() { + return 1; + } + }, false); + dart.registerExtension("WebSocket", html$.WebSocket); + html$.WheelEvent = class WheelEvent$ extends html$.MouseEvent { + static new(type, opts) { + if (type == null) dart.nullFailed(I[147], 31817, 29, "type"); + let view = opts && 'view' in opts ? opts.view : null; + let deltaX = opts && 'deltaX' in opts ? opts.deltaX : 0; + if (deltaX == null) dart.nullFailed(I[147], 31819, 11, "deltaX"); + let deltaY = opts && 'deltaY' in opts ? opts.deltaY : 0; + if (deltaY == null) dart.nullFailed(I[147], 31820, 11, "deltaY"); + let deltaZ = opts && 'deltaZ' in opts ? opts.deltaZ : 0; + if (deltaZ == null) dart.nullFailed(I[147], 31821, 11, "deltaZ"); + let deltaMode = opts && 'deltaMode' in opts ? opts.deltaMode : 0; + if (deltaMode == null) dart.nullFailed(I[147], 31822, 11, "deltaMode"); + let detail = opts && 'detail' in opts ? opts.detail : 0; + if (detail == null) dart.nullFailed(I[147], 31823, 11, "detail"); + let screenX = opts && 'screenX' in opts ? opts.screenX : 0; + if (screenX == null) dart.nullFailed(I[147], 31824, 11, "screenX"); + let screenY = opts && 'screenY' in opts ? opts.screenY : 0; + if (screenY == null) dart.nullFailed(I[147], 31825, 11, "screenY"); + let clientX = opts && 'clientX' in opts ? opts.clientX : 0; + if (clientX == null) dart.nullFailed(I[147], 31826, 11, "clientX"); + let clientY = opts && 'clientY' in opts ? opts.clientY : 0; + if (clientY == null) dart.nullFailed(I[147], 31827, 11, "clientY"); + let button = opts && 'button' in opts ? opts.button : 0; + if (button == null) dart.nullFailed(I[147], 31828, 11, "button"); + let canBubble = opts && 'canBubble' in opts ? opts.canBubble : true; + if (canBubble == null) dart.nullFailed(I[147], 31829, 12, "canBubble"); + let cancelable = opts && 'cancelable' in opts ? opts.cancelable : true; + if (cancelable == null) dart.nullFailed(I[147], 31830, 12, "cancelable"); + let ctrlKey = opts && 'ctrlKey' in opts ? opts.ctrlKey : false; + if (ctrlKey == null) dart.nullFailed(I[147], 31831, 12, "ctrlKey"); + let altKey = opts && 'altKey' in opts ? opts.altKey : false; + if (altKey == null) dart.nullFailed(I[147], 31832, 12, "altKey"); + let shiftKey = opts && 'shiftKey' in opts ? opts.shiftKey : false; + if (shiftKey == null) dart.nullFailed(I[147], 31833, 12, "shiftKey"); + let metaKey = opts && 'metaKey' in opts ? opts.metaKey : false; + if (metaKey == null) dart.nullFailed(I[147], 31834, 12, "metaKey"); + let relatedTarget = opts && 'relatedTarget' in opts ? opts.relatedTarget : null; + let options = new (T$.IdentityMapOfString$ObjectN()).from(["view", view, "deltaMode", deltaMode, "deltaX", deltaX, "deltaY", deltaY, "deltaZ", deltaZ, "detail", detail, "screenX", screenX, "screenY", screenY, "clientX", clientX, "clientY", clientY, "button", button, "bubbles", canBubble, "cancelable", cancelable, "ctrlKey", ctrlKey, "altKey", altKey, "shiftKey", shiftKey, "metaKey", metaKey, "relatedTarget", relatedTarget]); + if (view == null) { + view = html$.window; + } + return new WheelEvent(type, html_common.convertDartToNative_Dictionary(options)); + } + static __(type, eventInitDict = null) { + if (type == null) dart.nullFailed(I[147], 31865, 31, "type"); + if (eventInitDict != null) { + let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); + return html$.WheelEvent._create_1(type, eventInitDict_1); + } + return html$.WheelEvent._create_2(type); + } + static _create_1(type, eventInitDict) { + return new WheelEvent(type, eventInitDict); + } + static _create_2(type) { + return new WheelEvent(type); + } + get [S$3._deltaX]() { + return this.deltaX; + } + get [S$3._deltaY]() { + return this.deltaY; + } + get [S$3.$deltaZ]() { + return this.deltaZ; + } + get [S$2.$deltaY]() { + let value = this.deltaY; + if (value != null) return value; + dart.throw(new core.UnsupportedError.new("deltaY is not supported")); + } + get [S$2.$deltaX]() { + let value = this.deltaX; + if (value != null) return value; + dart.throw(new core.UnsupportedError.new("deltaX is not supported")); + } + get [S$3.$deltaMode]() { + if (!!this.deltaMode) { + return this.deltaMode; + } + return 0; + } + get [S$3._wheelDelta]() { + return this.wheelDelta; + } + get [S$3._wheelDeltaX]() { + return this.wheelDeltaX; + } + get [S$0._detail]() { + return this.detail; + } + get [S$3._hasInitMouseScrollEvent]() { + return !!this.initMouseScrollEvent; + } + [S$3._initMouseScrollEvent](...args) { + return this.initMouseScrollEvent.apply(this, args); + } + get [S$3._hasInitWheelEvent]() { + return !!this.initWheelEvent; + } + [S$3._initWheelEvent](...args) { + return this.initWheelEvent.apply(this, args); + } + }; + dart.addTypeTests(html$.WheelEvent); + dart.addTypeCaches(html$.WheelEvent); + dart.setMethodSignature(html$.WheelEvent, () => ({ + __proto__: dart.getMethods(html$.WheelEvent.__proto__), + [S$3._initMouseScrollEvent]: dart.fnType(dart.void, [core.String, core.bool, core.bool, html$.Window, core.int, core.int, core.int, core.int, core.int, core.bool, core.bool, core.bool, core.bool, core.int, html$.EventTarget, core.int]), + [S$3._initWheelEvent]: dart.fnType(dart.void, [core.String, core.bool, core.bool, html$.Window, core.int, core.int, core.int, core.int, core.int, core.int, html$.EventTarget, core.String, core.int, core.int, core.int, core.int]) + })); + dart.setGetterSignature(html$.WheelEvent, () => ({ + __proto__: dart.getGetters(html$.WheelEvent.__proto__), + [S$3._deltaX]: dart.nullable(core.num), + [S$3._deltaY]: dart.nullable(core.num), + [S$3.$deltaZ]: dart.nullable(core.num), + [S$2.$deltaY]: core.num, + [S$2.$deltaX]: core.num, + [S$3.$deltaMode]: core.int, + [S$3._wheelDelta]: core.num, + [S$3._wheelDeltaX]: core.num, + [S$0._detail]: core.num, + [S$3._hasInitMouseScrollEvent]: core.bool, + [S$3._hasInitWheelEvent]: core.bool + })); + dart.setLibraryUri(html$.WheelEvent, I[148]); + dart.defineLazy(html$.WheelEvent, { + /*html$.WheelEvent.DOM_DELTA_LINE*/get DOM_DELTA_LINE() { + return 1; + }, + /*html$.WheelEvent.DOM_DELTA_PAGE*/get DOM_DELTA_PAGE() { + return 2; + }, + /*html$.WheelEvent.DOM_DELTA_PIXEL*/get DOM_DELTA_PIXEL() { + return 0; + } + }, false); + dart.registerExtension("WheelEvent", html$.WheelEvent); + html$.Window = class Window extends html$.EventTarget { + get [S$3.$animationFrame]() { + let completer = T$0.CompleterOfnum().sync(); + this[S$3.$requestAnimationFrame](dart.fn(time => { + if (time == null) dart.nullFailed(I[147], 32037, 28, "time"); + completer.complete(time); + }, T$0.numTovoid())); + return completer.future; + } + get [S$3.$document]() { + return this.document; + } + [S$3._open2](url, name) { + return this.open(url, name); + } + [S$3._open3](url, name, options) { + return this.open(url, name, options); + } + [S.$open](url, name, options = null) { + if (url == null) dart.nullFailed(I[147], 32068, 26, "url"); + if (name == null) dart.nullFailed(I[147], 32068, 38, "name"); + if (options == null) { + return html$._DOMWindowCrossFrame._createSafe(this[S$3._open2](url, name)); + } else { + return html$._DOMWindowCrossFrame._createSafe(this[S$3._open3](url, name, options)); + } + } + get [S$0.$location]() { + return html$.Location.as(this[S$3._location]); + } + set [S$0.$location](value) { + if (value == null) dart.nullFailed(I[147], 32091, 16, "value"); + this[S$3._location] = value; + } + get [S$3._location]() { + return this.location; + } + set [S$3._location](value) { + this.location = value; + } + [S$3.$requestAnimationFrame](callback) { + if (callback == null) dart.nullFailed(I[147], 32117, 50, "callback"); + this[S$3._ensureRequestAnimationFrame](); + return this[S$3._requestAnimationFrame](dart.nullCheck(html$._wrapZone(core.num, callback))); + } + [S$3.$cancelAnimationFrame](id) { + if (id == null) dart.nullFailed(I[147], 32130, 33, "id"); + this[S$3._ensureRequestAnimationFrame](); + this[S$3._cancelAnimationFrame](id); + } + [S$3._requestAnimationFrame](...args) { + return this.requestAnimationFrame.apply(this, args); + } + [S$3._cancelAnimationFrame](...args) { + return this.cancelAnimationFrame.apply(this, args); + } + [S$3._ensureRequestAnimationFrame]() { + if (!!(this.requestAnimationFrame && this.cancelAnimationFrame)) return; + (function($this) { + var vendors = ['ms', 'moz', 'webkit', 'o']; + for (var i = 0; i < vendors.length && !$this.requestAnimationFrame; ++i) { + $this.requestAnimationFrame = $this[vendors[i] + 'RequestAnimationFrame']; + $this.cancelAnimationFrame = $this[vendors[i] + 'CancelAnimationFrame'] || $this[vendors[i] + 'CancelRequestAnimationFrame']; + } + if ($this.requestAnimationFrame && $this.cancelAnimationFrame) return; + $this.requestAnimationFrame = function(callback) { + return window.setTimeout(function() { + callback(Date.now()); + }, 16); + }; + $this.cancelAnimationFrame = function(id) { + clearTimeout(id); + }; + })(this); + } + get [S$0.$indexedDB]() { + return this.indexedDB || this.webkitIndexedDB || this.mozIndexedDB; + } + get [S$2.$console]() { + return html$.Console._safeConsole; + } + [S$3.$requestFileSystem](size, opts) { + if (size == null) dart.nullFailed(I[147], 32198, 44, "size"); + let persistent = opts && 'persistent' in opts ? opts.persistent : false; + if (persistent == null) dart.nullFailed(I[147], 32198, 56, "persistent"); + return this[S$3._requestFileSystem](dart.test(persistent) ? 1 : 0, size); + } + static get supportsPointConversions() { + return html$.DomPoint.supported; + } + get [S$3.$animationWorklet]() { + return this.animationWorklet; + } + get [S$3.$applicationCache]() { + return this.applicationCache; + } + get [S$3.$audioWorklet]() { + return this.audioWorklet; + } + get [S$0.$caches]() { + return this.caches; + } + get [S$1.$closed]() { + return this.closed; + } + get [S$3.$cookieStore]() { + return this.cookieStore; + } + get [S$0.$crypto]() { + return this.crypto; + } + get [S$3.$customElements]() { + return this.customElements; + } + get [S$3.$defaultStatus]() { + return this.defaultStatus; + } + set [S$3.$defaultStatus](value) { + this.defaultStatus = value; + } + get [S$3.$defaultstatus]() { + return this.defaultstatus; + } + set [S$3.$defaultstatus](value) { + this.defaultstatus = value; + } + get [S$2.$devicePixelRatio]() { + return this.devicePixelRatio; + } + get [S$3.$external]() { + return this.external; + } + get [S$3.$history]() { + return this.history; + } + get [S$3.$innerHeight]() { + return this.innerHeight; + } + get [S$3.$innerWidth]() { + return this.innerWidth; + } + get [S$0.$isSecureContext]() { + return this.isSecureContext; + } + get [S$3.$localStorage]() { + return this.localStorage; + } + get [S$3.$locationbar]() { + return this.locationbar; + } + get [S$3.$menubar]() { + return this.menubar; + } + get [$name]() { + return this.name; + } + set [$name](value) { + this.name = value; + } + get [S$0.$navigator]() { + return this.navigator; + } + get [S$3.$offscreenBuffering]() { + return this.offscreenBuffering; + } + get [S$3.$opener]() { + return html$._convertNativeToDart_Window(this[S$3._get_opener]); + } + get [S$3._get_opener]() { + return this.opener; + } + set [S$3.$opener](value) { + this.opener = value; + } + get [S$.$orientation]() { + return this.orientation; + } + get [S$.$origin]() { + return this.origin; + } + get [S$3.$outerHeight]() { + return this.outerHeight; + } + get [S$3.$outerWidth]() { + return this.outerWidth; + } + get [S$3._pageXOffset]() { + return this.pageXOffset; + } + get [S$3._pageYOffset]() { + return this.pageYOffset; + } + get [S.$parent]() { + return html$._convertNativeToDart_Window(this[S$3._get_parent]); + } + get [S$3._get_parent]() { + return this.parent; + } + get [S$0.$performance]() { + return this.performance; + } + get [S$1.$screen]() { + return this.screen; + } + get [S$3.$screenLeft]() { + return this.screenLeft; + } + get [S$3.$screenTop]() { + return this.screenTop; + } + get [S$3.$screenX]() { + return this.screenX; + } + get [S$3.$screenY]() { + return this.screenY; + } + get [S$3.$scrollbars]() { + return this.scrollbars; + } + get [S$0.$self]() { + return html$._convertNativeToDart_Window(this[S$3._get_self]); + } + get [S$3._get_self]() { + return this.self; + } + get [S$3.$sessionStorage]() { + return this.sessionStorage; + } + get [S$3.$speechSynthesis]() { + return this.speechSynthesis; + } + get [S$.$status]() { + return this.status; + } + set [S$.$status](value) { + this.status = value; + } + get [S$3.$statusbar]() { + return this.statusbar; + } + get [S$3.$styleMedia]() { + return this.styleMedia; + } + get [S$3.$toolbar]() { + return this.toolbar; + } + get [$top]() { + return html$._convertNativeToDart_Window(this[S$3._get_top]); + } + get [S$3._get_top]() { + return this.top; + } + get [S$3.$visualViewport]() { + return this.visualViewport; + } + get [S$0.$window]() { + return html$._convertNativeToDart_Window(this[S$0._get_window]); + } + get [S$0._get_window]() { + return this.window; + } + [S$.__getter__](index_OR_name) { + if (core.int.is(index_OR_name)) { + return dart.nullCheck(html$._convertNativeToDart_Window(this[S$3.__getter___1](index_OR_name))); + } + if (typeof index_OR_name == 'string') { + return dart.nullCheck(html$._convertNativeToDart_Window(this[S$3.__getter___2](index_OR_name))); + } + dart.throw(new core.ArgumentError.new("Incorrect number or type of arguments")); + } + [S$3.__getter___1](...args) { + return this.__getter__.apply(this, args); + } + [S$3.__getter___2](...args) { + return this.__getter__.apply(this, args); + } + [S$3.$alert](...args) { + return this.alert.apply(this, args); + } + [S$3.$cancelIdleCallback](...args) { + return this.cancelIdleCallback.apply(this, args); + } + [S.$close](...args) { + return this.close.apply(this, args); + } + [S$3.$confirm](...args) { + return this.confirm.apply(this, args); + } + [S$.$fetch](input, init = null) { + let init_dict = null; + if (init != null) { + init_dict = html_common.convertDartToNative_Dictionary(init); + } + return js_util.promiseToFuture(dart.dynamic, this.fetch(input, init_dict)); + } + [S$3.$find](...args) { + return this.find.apply(this, args); + } + [S._getComputedStyle](...args) { + return this.getComputedStyle.apply(this, args); + } + [S$3.$getComputedStyleMap](...args) { + return this.getComputedStyleMap.apply(this, args); + } + [S$3.$getMatchedCssRules](...args) { + return this.getMatchedCSSRules.apply(this, args); + } + [S$1.$getSelection](...args) { + return this.getSelection.apply(this, args); + } + [S$3.$matchMedia](...args) { + return this.matchMedia.apply(this, args); + } + [S$3.$moveBy](...args) { + return this.moveBy.apply(this, args); + } + [S$0._moveTo](...args) { + return this.moveTo.apply(this, args); + } + [S$3._openDatabase](...args) { + return this.openDatabase.apply(this, args); + } + [S$.$postMessage](message, targetOrigin, transfer = null) { + if (targetOrigin == null) dart.nullFailed(I[147], 32972, 44, "targetOrigin"); + if (transfer != null) { + let message_1 = html_common.convertDartToNative_SerializedScriptValue(message); + this[S$0._postMessage_1](message_1, targetOrigin, transfer); + return; + } + let message_1 = html_common.convertDartToNative_SerializedScriptValue(message); + this[S$0._postMessage_2](message_1, targetOrigin); + return; + } + [S$0._postMessage_1](...args) { + return this.postMessage.apply(this, args); + } + [S$0._postMessage_2](...args) { + return this.postMessage.apply(this, args); + } + [S$3.$print](...args) { + return this.print.apply(this, args); + } + [S$3.$requestIdleCallback](callback, options = null) { + if (callback == null) dart.nullFailed(I[147], 32999, 47, "callback"); + if (options != null) { + let callback_1 = _js_helper.convertDartClosureToJS(T$0.IdleDeadlineTovoid(), callback, 1); + let options_2 = html_common.convertDartToNative_Dictionary(options); + return this[S$3._requestIdleCallback_1](callback_1, options_2); + } + let callback_1 = _js_helper.convertDartClosureToJS(T$0.IdleDeadlineTovoid(), callback, 1); + return this[S$3._requestIdleCallback_2](callback_1); + } + [S$3._requestIdleCallback_1](...args) { + return this.requestIdleCallback.apply(this, args); + } + [S$3._requestIdleCallback_2](...args) { + return this.requestIdleCallback.apply(this, args); + } + [S$3.$resizeBy](...args) { + return this.resizeBy.apply(this, args); + } + [S$3.$resizeTo](...args) { + return this.resizeTo.apply(this, args); + } + [S.$scroll](options_OR_x = null, y = null, scrollOptions = null) { + if (options_OR_x == null && y == null && scrollOptions == null) { + this[S._scroll_1](); + return; + } + if (core.Map.is(options_OR_x) && y == null && scrollOptions == null) { + let options_1 = html_common.convertDartToNative_Dictionary(options_OR_x); + this[S._scroll_2](options_1); + return; + } + if (typeof y == 'number' && typeof options_OR_x == 'number' && scrollOptions == null) { + this[S._scroll_3](options_OR_x, y); + return; + } + if (core.int.is(y) && core.int.is(options_OR_x) && scrollOptions == null) { + this[S$3._scroll_4](options_OR_x, y); + return; + } + if (scrollOptions != null && core.int.is(y) && core.int.is(options_OR_x)) { + let scrollOptions_1 = html_common.convertDartToNative_Dictionary(scrollOptions); + this[S$3._scroll_5](options_OR_x, y, scrollOptions_1); + return; + } + dart.throw(new core.ArgumentError.new("Incorrect number or type of arguments")); + } + [S._scroll_1](...args) { + return this.scroll.apply(this, args); + } + [S._scroll_2](...args) { + return this.scroll.apply(this, args); + } + [S._scroll_3](...args) { + return this.scroll.apply(this, args); + } + [S$3._scroll_4](...args) { + return this.scroll.apply(this, args); + } + [S$3._scroll_5](...args) { + return this.scroll.apply(this, args); + } + [S.$scrollBy](options_OR_x = null, y = null, scrollOptions = null) { + if (options_OR_x == null && y == null && scrollOptions == null) { + this[S._scrollBy_1](); + return; + } + if (core.Map.is(options_OR_x) && y == null && scrollOptions == null) { + let options_1 = html_common.convertDartToNative_Dictionary(options_OR_x); + this[S._scrollBy_2](options_1); + return; + } + if (typeof y == 'number' && typeof options_OR_x == 'number' && scrollOptions == null) { + this[S._scrollBy_3](options_OR_x, y); + return; + } + if (core.int.is(y) && core.int.is(options_OR_x) && scrollOptions == null) { + this[S$3._scrollBy_4](options_OR_x, y); + return; + } + if (scrollOptions != null && core.int.is(y) && core.int.is(options_OR_x)) { + let scrollOptions_1 = html_common.convertDartToNative_Dictionary(scrollOptions); + this[S$3._scrollBy_5](options_OR_x, y, scrollOptions_1); + return; + } + dart.throw(new core.ArgumentError.new("Incorrect number or type of arguments")); + } + [S._scrollBy_1](...args) { + return this.scrollBy.apply(this, args); + } + [S._scrollBy_2](...args) { + return this.scrollBy.apply(this, args); + } + [S._scrollBy_3](...args) { + return this.scrollBy.apply(this, args); + } + [S$3._scrollBy_4](...args) { + return this.scrollBy.apply(this, args); + } + [S$3._scrollBy_5](...args) { + return this.scrollBy.apply(this, args); + } + [S.$scrollTo](options_OR_x = null, y = null, scrollOptions = null) { + if (options_OR_x == null && y == null && scrollOptions == null) { + this[S._scrollTo_1](); + return; + } + if (core.Map.is(options_OR_x) && y == null && scrollOptions == null) { + let options_1 = html_common.convertDartToNative_Dictionary(options_OR_x); + this[S._scrollTo_2](options_1); + return; + } + if (typeof y == 'number' && typeof options_OR_x == 'number' && scrollOptions == null) { + this[S._scrollTo_3](options_OR_x, y); + return; + } + if (core.int.is(y) && core.int.is(options_OR_x) && scrollOptions == null) { + this[S$3._scrollTo_4](options_OR_x, y); + return; + } + if (scrollOptions != null && core.int.is(y) && core.int.is(options_OR_x)) { + let scrollOptions_1 = html_common.convertDartToNative_Dictionary(scrollOptions); + this[S$3._scrollTo_5](options_OR_x, y, scrollOptions_1); + return; + } + dart.throw(new core.ArgumentError.new("Incorrect number or type of arguments")); + } + [S._scrollTo_1](...args) { + return this.scrollTo.apply(this, args); + } + [S._scrollTo_2](...args) { + return this.scrollTo.apply(this, args); + } + [S._scrollTo_3](...args) { + return this.scrollTo.apply(this, args); + } + [S$3._scrollTo_4](...args) { + return this.scrollTo.apply(this, args); + } + [S$3._scrollTo_5](...args) { + return this.scrollTo.apply(this, args); + } + [S$.$stop](...args) { + return this.stop.apply(this, args); + } + [S$3.__requestFileSystem](...args) { + return this.webkitRequestFileSystem.apply(this, args); + } + [S$3._requestFileSystem](type, size) { + if (type == null) dart.nullFailed(I[147], 33332, 45, "type"); + if (size == null) dart.nullFailed(I[147], 33332, 55, "size"); + let completer = T$0.CompleterOfFileSystem().new(); + this[S$3.__requestFileSystem](type, size, dart.fn(value => { + if (value == null) dart.nullFailed(I[147], 33334, 38, "value"); + _js_helper.applyExtension("DOMFileSystem", value); + _js_helper.applyExtension("DirectoryEntry", value.root); + completer.complete(value); + }, T$0.FileSystemTovoid()), dart.fn(error => { + if (error == null) dart.nullFailed(I[147], 33338, 9, "error"); + completer.completeError(error); + }, T$0.DomExceptionTovoid())); + return completer.future; + } + [S$3._resolveLocalFileSystemUrl](...args) { + return this.webkitResolveLocalFileSystemURL.apply(this, args); + } + [S$3.$resolveLocalFileSystemUrl](url) { + if (url == null) dart.nullFailed(I[147], 33369, 50, "url"); + let completer = T$0.CompleterOfEntry().new(); + this[S$3._resolveLocalFileSystemUrl](url, dart.fn(value => { + if (value == null) dart.nullFailed(I[147], 33371, 38, "value"); + completer.complete(value); + }, T$0.EntryTovoid()), dart.fn(error => { + if (error == null) dart.nullFailed(I[147], 33373, 9, "error"); + completer.completeError(error); + }, T$0.DomExceptionTovoid())); + return completer.future; + } + [S$0.$atob](...args) { + return this.atob.apply(this, args); + } + [S$0.$btoa](...args) { + return this.btoa.apply(this, args); + } + [S$0._setInterval_String](...args) { + return this.setInterval.apply(this, args); + } + [S$0._setTimeout_String](...args) { + return this.setTimeout.apply(this, args); + } + [S$0._clearInterval](...args) { + return this.clearInterval.apply(this, args); + } + [S$0._clearTimeout](...args) { + return this.clearTimeout.apply(this, args); + } + [S$0._setInterval](...args) { + return this.setInterval.apply(this, args); + } + [S$0._setTimeout](...args) { + return this.setTimeout.apply(this, args); + } + get [S$3.$onContentLoaded]() { + return html$.Window.contentLoadedEvent.forTarget(this); + } + get [S.$onAbort]() { + return html$.Element.abortEvent.forTarget(this); + } + get [S.$onBlur]() { + return html$.Element.blurEvent.forTarget(this); + } + get [S.$onCanPlay]() { + return html$.Element.canPlayEvent.forTarget(this); + } + get [S.$onCanPlayThrough]() { + return html$.Element.canPlayThroughEvent.forTarget(this); + } + get [S.$onChange]() { + return html$.Element.changeEvent.forTarget(this); + } + get [S.$onClick]() { + return html$.Element.clickEvent.forTarget(this); + } + get [S.$onContextMenu]() { + return html$.Element.contextMenuEvent.forTarget(this); + } + get [S.$onDoubleClick]() { + return html$.Element.doubleClickEvent.forTarget(this); + } + get [S$3.$onDeviceMotion]() { + return html$.Window.deviceMotionEvent.forTarget(this); + } + get [S$3.$onDeviceOrientation]() { + return html$.Window.deviceOrientationEvent.forTarget(this); + } + get [S.$onDrag]() { + return html$.Element.dragEvent.forTarget(this); + } + get [S.$onDragEnd]() { + return html$.Element.dragEndEvent.forTarget(this); + } + get [S.$onDragEnter]() { + return html$.Element.dragEnterEvent.forTarget(this); + } + get [S.$onDragLeave]() { + return html$.Element.dragLeaveEvent.forTarget(this); + } + get [S.$onDragOver]() { + return html$.Element.dragOverEvent.forTarget(this); + } + get [S.$onDragStart]() { + return html$.Element.dragStartEvent.forTarget(this); + } + get [S.$onDrop]() { + return html$.Element.dropEvent.forTarget(this); + } + get [S.$onDurationChange]() { + return html$.Element.durationChangeEvent.forTarget(this); + } + get [S.$onEmptied]() { + return html$.Element.emptiedEvent.forTarget(this); + } + get [S.$onEnded]() { + return html$.Element.endedEvent.forTarget(this); + } + get [S.$onError]() { + return html$.Element.errorEvent.forTarget(this); + } + get [S.$onFocus]() { + return html$.Element.focusEvent.forTarget(this); + } + get [S$.$onHashChange]() { + return html$.Window.hashChangeEvent.forTarget(this); + } + get [S.$onInput]() { + return html$.Element.inputEvent.forTarget(this); + } + get [S.$onInvalid]() { + return html$.Element.invalidEvent.forTarget(this); + } + get [S.$onKeyDown]() { + return html$.Element.keyDownEvent.forTarget(this); + } + get [S.$onKeyPress]() { + return html$.Element.keyPressEvent.forTarget(this); + } + get [S.$onKeyUp]() { + return html$.Element.keyUpEvent.forTarget(this); + } + get [S.$onLoad]() { + return html$.Element.loadEvent.forTarget(this); + } + get [S.$onLoadedData]() { + return html$.Element.loadedDataEvent.forTarget(this); + } + get [S.$onLoadedMetadata]() { + return html$.Element.loadedMetadataEvent.forTarget(this); + } + get [S$1.$onLoadStart]() { + return html$.Window.loadStartEvent.forTarget(this); + } + get [S$.$onMessage]() { + return html$.Window.messageEvent.forTarget(this); + } + get [S.$onMouseDown]() { + return html$.Element.mouseDownEvent.forTarget(this); + } + get [S.$onMouseEnter]() { + return html$.Element.mouseEnterEvent.forTarget(this); + } + get [S.$onMouseLeave]() { + return html$.Element.mouseLeaveEvent.forTarget(this); + } + get [S.$onMouseMove]() { + return html$.Element.mouseMoveEvent.forTarget(this); + } + get [S.$onMouseOut]() { + return html$.Element.mouseOutEvent.forTarget(this); + } + get [S.$onMouseOver]() { + return html$.Element.mouseOverEvent.forTarget(this); + } + get [S.$onMouseUp]() { + return html$.Element.mouseUpEvent.forTarget(this); + } + get [S.$onMouseWheel]() { + return html$.Element.mouseWheelEvent.forTarget(this); + } + get [S$.$onOffline]() { + return html$.Window.offlineEvent.forTarget(this); + } + get [S$.$onOnline]() { + return html$.Window.onlineEvent.forTarget(this); + } + get [S$3.$onPageHide]() { + return html$.Window.pageHideEvent.forTarget(this); + } + get [S$3.$onPageShow]() { + return html$.Window.pageShowEvent.forTarget(this); + } + get [S.$onPause]() { + return html$.Element.pauseEvent.forTarget(this); + } + get [S.$onPlay]() { + return html$.Element.playEvent.forTarget(this); + } + get [S.$onPlaying]() { + return html$.Element.playingEvent.forTarget(this); + } + get [S$.$onPopState]() { + return html$.Window.popStateEvent.forTarget(this); + } + get [S$.$onProgress]() { + return html$.Window.progressEvent.forTarget(this); + } + get [S.$onRateChange]() { + return html$.Element.rateChangeEvent.forTarget(this); + } + get [S.$onReset]() { + return html$.Element.resetEvent.forTarget(this); + } + get [S.$onResize]() { + return html$.Element.resizeEvent.forTarget(this); + } + get [S.$onScroll]() { + return html$.Element.scrollEvent.forTarget(this); + } + get [S.$onSearch]() { + return html$.Element.searchEvent.forTarget(this); + } + get [S.$onSeeked]() { + return html$.Element.seekedEvent.forTarget(this); + } + get [S.$onSeeking]() { + return html$.Element.seekingEvent.forTarget(this); + } + get [S.$onSelect]() { + return html$.Element.selectEvent.forTarget(this); + } + get [S.$onStalled]() { + return html$.Element.stalledEvent.forTarget(this); + } + get [S$.$onStorage]() { + return html$.Window.storageEvent.forTarget(this); + } + get [S.$onSubmit]() { + return html$.Element.submitEvent.forTarget(this); + } + get [S$.$onSuspend]() { + return html$.Element.suspendEvent.forTarget(this); + } + get [S$.$onTimeUpdate]() { + return html$.Element.timeUpdateEvent.forTarget(this); + } + get [S$.$onTouchCancel]() { + return html$.Element.touchCancelEvent.forTarget(this); + } + get [S$.$onTouchEnd]() { + return html$.Element.touchEndEvent.forTarget(this); + } + get [S$.$onTouchMove]() { + return html$.Element.touchMoveEvent.forTarget(this); + } + get [S$.$onTouchStart]() { + return html$.Element.touchStartEvent.forTarget(this); + } + get [S$.$onTransitionEnd]() { + return html$.Element.transitionEndEvent.forTarget(this); + } + get [S$.$onUnload]() { + return html$.Window.unloadEvent.forTarget(this); + } + get [S$.$onVolumeChange]() { + return html$.Element.volumeChangeEvent.forTarget(this); + } + get [S$.$onWaiting]() { + return html$.Element.waitingEvent.forTarget(this); + } + get [S$3.$onAnimationEnd]() { + return html$.Window.animationEndEvent.forTarget(this); + } + get [S$3.$onAnimationIteration]() { + return html$.Window.animationIterationEvent.forTarget(this); + } + get [S$3.$onAnimationStart]() { + return html$.Window.animationStartEvent.forTarget(this); + } + get [S$3.$onBeforeUnload]() { + return html$.Window.beforeUnloadEvent.forTarget(this); + } + get [S$.$onWheel]() { + return html$.Element.wheelEvent.forTarget(this); + } + [S$.$moveTo](p) { + if (p == null) dart.nullFailed(I[147], 33655, 21, "p"); + this[S$0._moveTo](p.x[$toInt](), p.y[$toInt]()); + } + [S$3.$openDatabase](name, version, displayName, estimatedSize, creationCallback = null) { + if (name == null) dart.nullFailed(I[147], 33664, 14, "name"); + if (version == null) dart.nullFailed(I[147], 33664, 27, "version"); + if (displayName == null) dart.nullFailed(I[147], 33664, 43, "displayName"); + if (estimatedSize == null) dart.nullFailed(I[147], 33664, 60, "estimatedSize"); + let db = null; + if (creationCallback == null) + db = this[S$3._openDatabase](name, version, displayName, estimatedSize); + else + db = this[S$3._openDatabase](name, version, displayName, estimatedSize, creationCallback); + _js_helper.applyExtension("Database", db); + return web_sql.SqlDatabase.as(db); + } + get [S$3.$pageXOffset]() { + return this.pageXOffset[$round](); + } + get [S$3.$pageYOffset]() { + return this.pageYOffset[$round](); + } + get [S$3.$scrollX]() { + return "scrollX" in this ? this.scrollX[$round]() : dart.nullCheck(this[S$3.$document].documentElement)[S.$scrollLeft]; + } + get [S$3.$scrollY]() { + return "scrollY" in this ? this.scrollY[$round]() : dart.nullCheck(this[S$3.$document].documentElement)[S.$scrollTop]; + } + }; + dart.addTypeTests(html$.Window); + dart.addTypeCaches(html$.Window); + html$.Window[dart.implements] = () => [html$.WindowEventHandlers, html$.WindowBase, html$.GlobalEventHandlers, html$._WindowTimers, html$.WindowBase64]; + dart.setMethodSignature(html$.Window, () => ({ + __proto__: dart.getMethods(html$.Window.__proto__), + [S$3._open2]: dart.fnType(dart.nullable(html$.WindowBase), [dart.dynamic, dart.dynamic]), + [S$3._open3]: dart.fnType(dart.nullable(html$.WindowBase), [dart.dynamic, dart.dynamic, dart.dynamic]), + [S.$open]: dart.fnType(html$.WindowBase, [core.String, core.String], [dart.nullable(core.String)]), + [S$3.$requestAnimationFrame]: dart.fnType(core.int, [dart.fnType(dart.void, [core.num])]), + [S$3.$cancelAnimationFrame]: dart.fnType(dart.void, [core.int]), + [S$3._requestAnimationFrame]: dart.fnType(core.int, [dart.fnType(dart.void, [core.num])]), + [S$3._cancelAnimationFrame]: dart.fnType(dart.void, [core.int]), + [S$3._ensureRequestAnimationFrame]: dart.fnType(dart.dynamic, []), + [S$3.$requestFileSystem]: dart.fnType(async.Future$(html$.FileSystem), [core.int], {persistent: core.bool}, {}), + [S$.__getter__]: dart.fnType(html$.WindowBase, [dart.dynamic]), + [S$3.__getter___1]: dart.fnType(dart.dynamic, [core.int]), + [S$3.__getter___2]: dart.fnType(dart.dynamic, [core.String]), + [S$3.$alert]: dart.fnType(dart.void, [], [dart.nullable(core.String)]), + [S$3.$cancelIdleCallback]: dart.fnType(dart.void, [core.int]), + [S.$close]: dart.fnType(dart.void, []), + [S$3.$confirm]: dart.fnType(core.bool, [], [dart.nullable(core.String)]), + [S$.$fetch]: dart.fnType(async.Future, [dart.dynamic], [dart.nullable(core.Map)]), + [S$3.$find]: dart.fnType(core.bool, [dart.nullable(core.String), dart.nullable(core.bool), dart.nullable(core.bool), dart.nullable(core.bool), dart.nullable(core.bool), dart.nullable(core.bool), dart.nullable(core.bool)]), + [S._getComputedStyle]: dart.fnType(html$.CssStyleDeclaration, [html$.Element], [dart.nullable(core.String)]), + [S$3.$getComputedStyleMap]: dart.fnType(html$.StylePropertyMapReadonly, [html$.Element, dart.nullable(core.String)]), + [S$3.$getMatchedCssRules]: dart.fnType(core.List$(html$.CssRule), [dart.nullable(html$.Element), dart.nullable(core.String)]), + [S$1.$getSelection]: dart.fnType(dart.nullable(html$.Selection), []), + [S$3.$matchMedia]: dart.fnType(html$.MediaQueryList, [core.String]), + [S$3.$moveBy]: dart.fnType(dart.void, [core.int, core.int]), + [S$0._moveTo]: dart.fnType(dart.void, [core.int, core.int]), + [S$3._openDatabase]: dart.fnType(web_sql.SqlDatabase, [core.String, core.String, core.String, core.int], [dart.nullable(dart.fnType(dart.void, [web_sql.SqlDatabase]))]), + [S$.$postMessage]: dart.fnType(dart.void, [dart.dynamic, core.String], [dart.nullable(core.List$(core.Object))]), + [S$0._postMessage_1]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, core.List$(core.Object)]), + [S$0._postMessage_2]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic]), + [S$3.$print]: dart.fnType(dart.void, []), + [S$3.$requestIdleCallback]: dart.fnType(core.int, [dart.fnType(dart.void, [html$.IdleDeadline])], [dart.nullable(core.Map)]), + [S$3._requestIdleCallback_1]: dart.fnType(core.int, [dart.dynamic, dart.dynamic]), + [S$3._requestIdleCallback_2]: dart.fnType(core.int, [dart.dynamic]), + [S$3.$resizeBy]: dart.fnType(dart.void, [core.int, core.int]), + [S$3.$resizeTo]: dart.fnType(dart.void, [core.int, core.int]), + [S.$scroll]: dart.fnType(dart.void, [], [dart.dynamic, dart.dynamic, dart.nullable(core.Map)]), + [S._scroll_1]: dart.fnType(dart.void, []), + [S._scroll_2]: dart.fnType(dart.void, [dart.dynamic]), + [S._scroll_3]: dart.fnType(dart.void, [dart.nullable(core.num), dart.nullable(core.num)]), + [S$3._scroll_4]: dart.fnType(dart.void, [dart.nullable(core.int), dart.nullable(core.int)]), + [S$3._scroll_5]: dart.fnType(dart.void, [dart.nullable(core.int), dart.nullable(core.int), dart.dynamic]), + [S.$scrollBy]: dart.fnType(dart.void, [], [dart.dynamic, dart.dynamic, dart.nullable(core.Map)]), + [S._scrollBy_1]: dart.fnType(dart.void, []), + [S._scrollBy_2]: dart.fnType(dart.void, [dart.dynamic]), + [S._scrollBy_3]: dart.fnType(dart.void, [dart.nullable(core.num), dart.nullable(core.num)]), + [S$3._scrollBy_4]: dart.fnType(dart.void, [dart.nullable(core.int), dart.nullable(core.int)]), + [S$3._scrollBy_5]: dart.fnType(dart.void, [dart.nullable(core.int), dart.nullable(core.int), dart.dynamic]), + [S.$scrollTo]: dart.fnType(dart.void, [], [dart.dynamic, dart.dynamic, dart.nullable(core.Map)]), + [S._scrollTo_1]: dart.fnType(dart.void, []), + [S._scrollTo_2]: dart.fnType(dart.void, [dart.dynamic]), + [S._scrollTo_3]: dart.fnType(dart.void, [dart.nullable(core.num), dart.nullable(core.num)]), + [S$3._scrollTo_4]: dart.fnType(dart.void, [dart.nullable(core.int), dart.nullable(core.int)]), + [S$3._scrollTo_5]: dart.fnType(dart.void, [dart.nullable(core.int), dart.nullable(core.int), dart.dynamic]), + [S$.$stop]: dart.fnType(dart.void, []), + [S$3.__requestFileSystem]: dart.fnType(dart.void, [core.int, core.int, dart.fnType(dart.void, [html$.FileSystem])], [dart.nullable(dart.fnType(dart.void, [html$.DomException]))]), + [S$3._requestFileSystem]: dart.fnType(async.Future$(html$.FileSystem), [core.int, core.int]), + [S$3._resolveLocalFileSystemUrl]: dart.fnType(dart.void, [core.String, dart.fnType(dart.void, [html$.Entry])], [dart.nullable(dart.fnType(dart.void, [html$.DomException]))]), + [S$3.$resolveLocalFileSystemUrl]: dart.fnType(async.Future$(html$.Entry), [core.String]), + [S$0.$atob]: dart.fnType(core.String, [core.String]), + [S$0.$btoa]: dart.fnType(core.String, [core.String]), + [S$0._setInterval_String]: dart.fnType(core.int, [core.String], [dart.nullable(core.int), dart.nullable(core.Object)]), + [S$0._setTimeout_String]: dart.fnType(core.int, [core.String], [dart.nullable(core.int), dart.nullable(core.Object)]), + [S$0._clearInterval]: dart.fnType(dart.void, [], [dart.nullable(core.int)]), + [S$0._clearTimeout]: dart.fnType(dart.void, [], [dart.nullable(core.int)]), + [S$0._setInterval]: dart.fnType(core.int, [core.Object], [dart.nullable(core.int)]), + [S$0._setTimeout]: dart.fnType(core.int, [core.Object], [dart.nullable(core.int)]), + [S$.$moveTo]: dart.fnType(dart.void, [math.Point$(core.num)]), + [S$3.$openDatabase]: dart.fnType(web_sql.SqlDatabase, [core.String, core.String, core.String, core.int], [dart.nullable(dart.fnType(dart.void, [web_sql.SqlDatabase]))]) + })); + dart.setGetterSignature(html$.Window, () => ({ + __proto__: dart.getGetters(html$.Window.__proto__), + [S$3.$animationFrame]: async.Future$(core.num), + [S$3.$document]: html$.Document, + [S$0.$location]: html$.Location, + [S$3._location]: dart.dynamic, + [S$0.$indexedDB]: dart.nullable(indexed_db.IdbFactory), + [S$2.$console]: html$.Console, + [S$3.$animationWorklet]: dart.nullable(html$._Worklet), + [S$3.$applicationCache]: dart.nullable(html$.ApplicationCache), + [S$3.$audioWorklet]: dart.nullable(html$._Worklet), + [S$0.$caches]: dart.nullable(html$.CacheStorage), + [S$1.$closed]: dart.nullable(core.bool), + [S$3.$cookieStore]: dart.nullable(html$.CookieStore), + [S$0.$crypto]: dart.nullable(html$.Crypto), + [S$3.$customElements]: dart.nullable(html$.CustomElementRegistry), + [S$3.$defaultStatus]: dart.nullable(core.String), + [S$3.$defaultstatus]: dart.nullable(core.String), + [S$2.$devicePixelRatio]: core.num, + [S$3.$external]: dart.nullable(html$.External), + [S$3.$history]: html$.History, + [S$3.$innerHeight]: dart.nullable(core.int), + [S$3.$innerWidth]: dart.nullable(core.int), + [S$0.$isSecureContext]: dart.nullable(core.bool), + [S$3.$localStorage]: html$.Storage, + [S$3.$locationbar]: dart.nullable(html$.BarProp), + [S$3.$menubar]: dart.nullable(html$.BarProp), + [$name]: dart.nullable(core.String), + [S$0.$navigator]: html$.Navigator, + [S$3.$offscreenBuffering]: dart.nullable(core.bool), + [S$3.$opener]: dart.nullable(html$.WindowBase), + [S$3._get_opener]: dart.dynamic, + [S$.$orientation]: dart.nullable(core.int), + [S$.$origin]: dart.nullable(core.String), + [S$3.$outerHeight]: core.int, + [S$3.$outerWidth]: core.int, + [S$3._pageXOffset]: core.num, + [S$3._pageYOffset]: core.num, + [S.$parent]: dart.nullable(html$.WindowBase), + [S$3._get_parent]: dart.dynamic, + [S$0.$performance]: html$.Performance, + [S$1.$screen]: dart.nullable(html$.Screen), + [S$3.$screenLeft]: dart.nullable(core.int), + [S$3.$screenTop]: dart.nullable(core.int), + [S$3.$screenX]: dart.nullable(core.int), + [S$3.$screenY]: dart.nullable(core.int), + [S$3.$scrollbars]: dart.nullable(html$.BarProp), + [S$0.$self]: dart.nullable(html$.WindowBase), + [S$3._get_self]: dart.dynamic, + [S$3.$sessionStorage]: html$.Storage, + [S$3.$speechSynthesis]: dart.nullable(html$.SpeechSynthesis), + [S$.$status]: dart.nullable(core.String), + [S$3.$statusbar]: dart.nullable(html$.BarProp), + [S$3.$styleMedia]: dart.nullable(html$.StyleMedia), + [S$3.$toolbar]: dart.nullable(html$.BarProp), + [$top]: dart.nullable(html$.WindowBase), + [S$3._get_top]: dart.dynamic, + [S$3.$visualViewport]: dart.nullable(html$.VisualViewport), + [S$0.$window]: dart.nullable(html$.WindowBase), + [S$0._get_window]: dart.dynamic, + [S$3.$onContentLoaded]: async.Stream$(html$.Event), + [S.$onAbort]: async.Stream$(html$.Event), + [S.$onBlur]: async.Stream$(html$.Event), + [S.$onCanPlay]: async.Stream$(html$.Event), + [S.$onCanPlayThrough]: async.Stream$(html$.Event), + [S.$onChange]: async.Stream$(html$.Event), + [S.$onClick]: async.Stream$(html$.MouseEvent), + [S.$onContextMenu]: async.Stream$(html$.MouseEvent), + [S.$onDoubleClick]: async.Stream$(html$.Event), + [S$3.$onDeviceMotion]: async.Stream$(html$.DeviceMotionEvent), + [S$3.$onDeviceOrientation]: async.Stream$(html$.DeviceOrientationEvent), + [S.$onDrag]: async.Stream$(html$.MouseEvent), + [S.$onDragEnd]: async.Stream$(html$.MouseEvent), + [S.$onDragEnter]: async.Stream$(html$.MouseEvent), + [S.$onDragLeave]: async.Stream$(html$.MouseEvent), + [S.$onDragOver]: async.Stream$(html$.MouseEvent), + [S.$onDragStart]: async.Stream$(html$.MouseEvent), + [S.$onDrop]: async.Stream$(html$.MouseEvent), + [S.$onDurationChange]: async.Stream$(html$.Event), + [S.$onEmptied]: async.Stream$(html$.Event), + [S.$onEnded]: async.Stream$(html$.Event), + [S.$onError]: async.Stream$(html$.Event), + [S.$onFocus]: async.Stream$(html$.Event), + [S$.$onHashChange]: async.Stream$(html$.Event), + [S.$onInput]: async.Stream$(html$.Event), + [S.$onInvalid]: async.Stream$(html$.Event), + [S.$onKeyDown]: async.Stream$(html$.KeyboardEvent), + [S.$onKeyPress]: async.Stream$(html$.KeyboardEvent), + [S.$onKeyUp]: async.Stream$(html$.KeyboardEvent), + [S.$onLoad]: async.Stream$(html$.Event), + [S.$onLoadedData]: async.Stream$(html$.Event), + [S.$onLoadedMetadata]: async.Stream$(html$.Event), + [S$1.$onLoadStart]: async.Stream$(html$.Event), + [S$.$onMessage]: async.Stream$(html$.MessageEvent), + [S.$onMouseDown]: async.Stream$(html$.MouseEvent), + [S.$onMouseEnter]: async.Stream$(html$.MouseEvent), + [S.$onMouseLeave]: async.Stream$(html$.MouseEvent), + [S.$onMouseMove]: async.Stream$(html$.MouseEvent), + [S.$onMouseOut]: async.Stream$(html$.MouseEvent), + [S.$onMouseOver]: async.Stream$(html$.MouseEvent), + [S.$onMouseUp]: async.Stream$(html$.MouseEvent), + [S.$onMouseWheel]: async.Stream$(html$.WheelEvent), + [S$.$onOffline]: async.Stream$(html$.Event), + [S$.$onOnline]: async.Stream$(html$.Event), + [S$3.$onPageHide]: async.Stream$(html$.Event), + [S$3.$onPageShow]: async.Stream$(html$.Event), + [S.$onPause]: async.Stream$(html$.Event), + [S.$onPlay]: async.Stream$(html$.Event), + [S.$onPlaying]: async.Stream$(html$.Event), + [S$.$onPopState]: async.Stream$(html$.PopStateEvent), + [S$.$onProgress]: async.Stream$(html$.Event), + [S.$onRateChange]: async.Stream$(html$.Event), + [S.$onReset]: async.Stream$(html$.Event), + [S.$onResize]: async.Stream$(html$.Event), + [S.$onScroll]: async.Stream$(html$.Event), + [S.$onSearch]: async.Stream$(html$.Event), + [S.$onSeeked]: async.Stream$(html$.Event), + [S.$onSeeking]: async.Stream$(html$.Event), + [S.$onSelect]: async.Stream$(html$.Event), + [S.$onStalled]: async.Stream$(html$.Event), + [S$.$onStorage]: async.Stream$(html$.StorageEvent), + [S.$onSubmit]: async.Stream$(html$.Event), + [S$.$onSuspend]: async.Stream$(html$.Event), + [S$.$onTimeUpdate]: async.Stream$(html$.Event), + [S$.$onTouchCancel]: async.Stream$(html$.TouchEvent), + [S$.$onTouchEnd]: async.Stream$(html$.TouchEvent), + [S$.$onTouchMove]: async.Stream$(html$.TouchEvent), + [S$.$onTouchStart]: async.Stream$(html$.TouchEvent), + [S$.$onTransitionEnd]: async.Stream$(html$.TransitionEvent), + [S$.$onUnload]: async.Stream$(html$.Event), + [S$.$onVolumeChange]: async.Stream$(html$.Event), + [S$.$onWaiting]: async.Stream$(html$.Event), + [S$3.$onAnimationEnd]: async.Stream$(html$.AnimationEvent), + [S$3.$onAnimationIteration]: async.Stream$(html$.AnimationEvent), + [S$3.$onAnimationStart]: async.Stream$(html$.AnimationEvent), + [S$3.$onBeforeUnload]: async.Stream$(html$.Event), + [S$.$onWheel]: async.Stream$(html$.WheelEvent), + [S$3.$pageXOffset]: core.int, + [S$3.$pageYOffset]: core.int, + [S$3.$scrollX]: core.int, + [S$3.$scrollY]: core.int + })); + dart.setSetterSignature(html$.Window, () => ({ + __proto__: dart.getSetters(html$.Window.__proto__), + [S$0.$location]: html$.LocationBase, + [S$3._location]: dart.dynamic, + [S$3.$defaultStatus]: dart.nullable(core.String), + [S$3.$defaultstatus]: dart.nullable(core.String), + [$name]: dart.nullable(core.String), + [S$3.$opener]: dart.nullable(html$.WindowBase), + [S$.$status]: dart.nullable(core.String) + })); + dart.setLibraryUri(html$.Window, I[148]); + dart.defineLazy(html$.Window, { + /*html$.Window.contentLoadedEvent*/get contentLoadedEvent() { + return C[388] || CT.C388; + }, + /*html$.Window.deviceMotionEvent*/get deviceMotionEvent() { + return C[389] || CT.C389; + }, + /*html$.Window.deviceOrientationEvent*/get deviceOrientationEvent() { + return C[390] || CT.C390; + }, + /*html$.Window.hashChangeEvent*/get hashChangeEvent() { + return C[311] || CT.C311; + }, + /*html$.Window.loadStartEvent*/get loadStartEvent() { + return C[391] || CT.C391; + }, + /*html$.Window.messageEvent*/get messageEvent() { + return C[312] || CT.C312; + }, + /*html$.Window.offlineEvent*/get offlineEvent() { + return C[313] || CT.C313; + }, + /*html$.Window.onlineEvent*/get onlineEvent() { + return C[314] || CT.C314; + }, + /*html$.Window.pageHideEvent*/get pageHideEvent() { + return C[392] || CT.C392; + }, + /*html$.Window.pageShowEvent*/get pageShowEvent() { + return C[393] || CT.C393; + }, + /*html$.Window.popStateEvent*/get popStateEvent() { + return C[315] || CT.C315; + }, + /*html$.Window.progressEvent*/get progressEvent() { + return C[394] || CT.C394; + }, + /*html$.Window.storageEvent*/get storageEvent() { + return C[316] || CT.C316; + }, + /*html$.Window.unloadEvent*/get unloadEvent() { + return C[317] || CT.C317; + }, + /*html$.Window.animationEndEvent*/get animationEndEvent() { + return C[395] || CT.C395; + }, + /*html$.Window.animationIterationEvent*/get animationIterationEvent() { + return C[396] || CT.C396; + }, + /*html$.Window.animationStartEvent*/get animationStartEvent() { + return C[397] || CT.C397; + }, + /*html$.Window.PERSISTENT*/get PERSISTENT() { + return 1; + }, + /*html$.Window.TEMPORARY*/get TEMPORARY() { + return 0; + }, + /*html$.Window.beforeUnloadEvent*/get beforeUnloadEvent() { + return C[398] || CT.C398; + } + }, false); + dart.registerExtension("Window", html$.Window); + dart.registerExtension("DOMWindow", html$.Window); + html$._WrappedEvent = class _WrappedEvent extends core.Object { + get wrapped() { + return this[S$3.wrapped]; + } + set wrapped(value) { + super.wrapped = value; + } + get bubbles() { + return dart.nullCheck(this.wrapped.bubbles); + } + get cancelable() { + return dart.nullCheck(this.wrapped.cancelable); + } + get composed() { + return dart.nullCheck(this.wrapped.composed); + } + get currentTarget() { + return this.wrapped[S.$currentTarget]; + } + get defaultPrevented() { + return this.wrapped.defaultPrevented; + } + get eventPhase() { + return this.wrapped.eventPhase; + } + get isTrusted() { + return dart.nullCheck(this.wrapped.isTrusted); + } + get target() { + return this.wrapped[S.$target]; + } + get timeStamp() { + return dart.nullCast(this.wrapped.timeStamp, core.double); + } + get type() { + return this.wrapped.type; + } + [S._initEvent](type, bubbles = null, cancelable = null) { + if (type == null) dart.nullFailed(I[147], 40721, 26, "type"); + dart.throw(new core.UnsupportedError.new("Cannot initialize this Event.")); + } + preventDefault() { + this.wrapped.preventDefault(); + } + stopImmediatePropagation() { + this.wrapped.stopImmediatePropagation(); + } + stopPropagation() { + this.wrapped.stopPropagation(); + } + composedPath() { + return this.wrapped.composedPath(); + } + get matchingTarget() { + if (this[S._selector] == null) { + dart.throw(new core.UnsupportedError.new("Cannot call matchingTarget if this Event did" + " not arise as a result of event delegation.")); + } + let currentTarget = T$0.ElementN().as(this.currentTarget); + let target = T$0.ElementN().as(this.target); + do { + if (dart.test(dart.nullCheck(target)[S.$matches](dart.nullCheck(this[S._selector])))) return target; + target = target[S.$parent]; + } while (target != null && !dart.equals(target, dart.nullCheck(currentTarget)[S.$parent])); + dart.throw(new core.StateError.new("No selector matched for populating matchedTarget.")); + } + get path() { + return T$0.ListOfNode().as(this.wrapped[S.$path]); + } + get [S._get_currentTarget]() { + return this.wrapped[S._get_currentTarget]; + } + get [S._get_target]() { + return this.wrapped[S._get_target]; + } + }; + (html$._WrappedEvent.new = function(wrapped) { + if (wrapped == null) dart.nullFailed(I[147], 40699, 22, "wrapped"); + this[S._selector] = null; + this[S$3.wrapped] = wrapped; + ; + }).prototype = html$._WrappedEvent.prototype; + dart.addTypeTests(html$._WrappedEvent); + dart.addTypeCaches(html$._WrappedEvent); + html$._WrappedEvent[dart.implements] = () => [html$.Event]; + dart.setMethodSignature(html$._WrappedEvent, () => ({ + __proto__: dart.getMethods(html$._WrappedEvent.__proto__), + [S._initEvent]: dart.fnType(dart.void, [core.String], [dart.nullable(core.bool), dart.nullable(core.bool)]), + preventDefault: dart.fnType(dart.void, []), + [S.$preventDefault]: dart.fnType(dart.void, []), + stopImmediatePropagation: dart.fnType(dart.void, []), + [S.$stopImmediatePropagation]: dart.fnType(dart.void, []), + stopPropagation: dart.fnType(dart.void, []), + [S.$stopPropagation]: dart.fnType(dart.void, []), + composedPath: dart.fnType(core.List$(html$.EventTarget), []), + [S.$composedPath]: dart.fnType(core.List$(html$.EventTarget), []) + })); + dart.setGetterSignature(html$._WrappedEvent, () => ({ + __proto__: dart.getGetters(html$._WrappedEvent.__proto__), + bubbles: core.bool, + [S.$bubbles]: core.bool, + cancelable: core.bool, + [S.$cancelable]: core.bool, + composed: core.bool, + [S.$composed]: core.bool, + currentTarget: dart.nullable(html$.EventTarget), + [S.$currentTarget]: dart.nullable(html$.EventTarget), + defaultPrevented: core.bool, + [S.$defaultPrevented]: core.bool, + eventPhase: core.int, + [S.$eventPhase]: core.int, + isTrusted: core.bool, + [S.$isTrusted]: core.bool, + target: dart.nullable(html$.EventTarget), + [S.$target]: dart.nullable(html$.EventTarget), + timeStamp: core.double, + [S.$timeStamp]: core.double, + type: core.String, + [S.$type]: core.String, + matchingTarget: html$.Element, + [S.$matchingTarget]: html$.Element, + path: core.List$(html$.Node), + [S.$path]: core.List$(html$.Node), + [S._get_currentTarget]: dart.dynamic, + [S._get_target]: dart.dynamic + })); + dart.setLibraryUri(html$._WrappedEvent, I[148]); + dart.setFieldSignature(html$._WrappedEvent, () => ({ + __proto__: dart.getFields(html$._WrappedEvent.__proto__), + wrapped: dart.finalFieldType(html$.Event), + [S._selector]: dart.fieldType(dart.nullable(core.String)) + })); + dart.defineExtensionMethods(html$._WrappedEvent, ['preventDefault', 'stopImmediatePropagation', 'stopPropagation', 'composedPath']); + dart.defineExtensionAccessors(html$._WrappedEvent, [ + 'bubbles', + 'cancelable', + 'composed', + 'currentTarget', + 'defaultPrevented', + 'eventPhase', + 'isTrusted', + 'target', + 'timeStamp', + 'type', + 'matchingTarget', + 'path' + ]); + html$._BeforeUnloadEvent = class _BeforeUnloadEvent extends html$._WrappedEvent { + get returnValue() { + return this[S$3._returnValue]; + } + set returnValue(value) { + this[S$3._returnValue] = dart.nullCheck(value); + if ("returnValue" in this.wrapped) { + this.wrapped.returnValue = value; + } + } + }; + (html$._BeforeUnloadEvent.new = function(base) { + if (base == null) dart.nullFailed(I[147], 33714, 28, "base"); + this[S$3._returnValue] = ""; + html$._BeforeUnloadEvent.__proto__.new.call(this, base); + ; + }).prototype = html$._BeforeUnloadEvent.prototype; + dart.addTypeTests(html$._BeforeUnloadEvent); + dart.addTypeCaches(html$._BeforeUnloadEvent); + html$._BeforeUnloadEvent[dart.implements] = () => [html$.BeforeUnloadEvent]; + dart.setGetterSignature(html$._BeforeUnloadEvent, () => ({ + __proto__: dart.getGetters(html$._BeforeUnloadEvent.__proto__), + returnValue: core.String, + [S$.$returnValue]: core.String + })); + dart.setSetterSignature(html$._BeforeUnloadEvent, () => ({ + __proto__: dart.getSetters(html$._BeforeUnloadEvent.__proto__), + returnValue: dart.nullable(core.String), + [S$.$returnValue]: dart.nullable(core.String) + })); + dart.setLibraryUri(html$._BeforeUnloadEvent, I[148]); + dart.setFieldSignature(html$._BeforeUnloadEvent, () => ({ + __proto__: dart.getFields(html$._BeforeUnloadEvent.__proto__), + [S$3._returnValue]: dart.fieldType(core.String) + })); + dart.defineExtensionAccessors(html$._BeforeUnloadEvent, ['returnValue']); + html$._BeforeUnloadEventStreamProvider = class _BeforeUnloadEventStreamProvider extends core.Object { + get [S$3._eventType$1]() { + return this[S$3._eventType]; + } + set [S$3._eventType$1](value) { + super[S$3._eventType$1] = value; + } + forTarget(e, opts) { + let useCapture = opts && 'useCapture' in opts ? opts.useCapture : false; + if (useCapture == null) dart.nullFailed(I[147], 33738, 13, "useCapture"); + let stream = new (T$0._EventStreamOfBeforeUnloadEvent()).new(e, this[S$3._eventType$1], useCapture); + let controller = T$0.StreamControllerOfBeforeUnloadEvent().new({sync: true}); + stream.listen(dart.fn(event => { + if (event == null) dart.nullFailed(I[147], 33743, 20, "event"); + let wrapped = new html$._BeforeUnloadEvent.new(event); + controller.add(wrapped); + }, T$0.BeforeUnloadEventTovoid())); + return controller.stream; + } + getEventType(target) { + if (target == null) dart.nullFailed(I[147], 33751, 35, "target"); + return this[S$3._eventType$1]; + } + forElement(e, opts) { + if (e == null) dart.nullFailed(I[147], 33755, 55, "e"); + let useCapture = opts && 'useCapture' in opts ? opts.useCapture : false; + if (useCapture == null) dart.nullFailed(I[147], 33756, 13, "useCapture"); + return new (T$0._ElementEventStreamImplOfBeforeUnloadEvent()).new(e, this[S$3._eventType$1], useCapture); + } + [S$1._forElementList](e, opts) { + if (e == null) dart.nullFailed(I[147], 33762, 73, "e"); + let useCapture = opts && 'useCapture' in opts ? opts.useCapture : false; + if (useCapture == null) dart.nullFailed(I[147], 33763, 13, "useCapture"); + return new (T$0._ElementListEventStreamImplOfBeforeUnloadEvent()).new(e, this[S$3._eventType$1], useCapture); + } + }; + (html$._BeforeUnloadEventStreamProvider.new = function(_eventType) { + if (_eventType == null) dart.nullFailed(I[147], 33735, 47, "_eventType"); + this[S$3._eventType] = _eventType; + ; + }).prototype = html$._BeforeUnloadEventStreamProvider.prototype; + dart.addTypeTests(html$._BeforeUnloadEventStreamProvider); + dart.addTypeCaches(html$._BeforeUnloadEventStreamProvider); + html$._BeforeUnloadEventStreamProvider[dart.implements] = () => [html$.EventStreamProvider$(html$.BeforeUnloadEvent)]; + dart.setMethodSignature(html$._BeforeUnloadEventStreamProvider, () => ({ + __proto__: dart.getMethods(html$._BeforeUnloadEventStreamProvider.__proto__), + forTarget: dart.fnType(async.Stream$(html$.BeforeUnloadEvent), [dart.nullable(html$.EventTarget)], {useCapture: core.bool}, {}), + getEventType: dart.fnType(core.String, [html$.EventTarget]), + forElement: dart.fnType(html$.ElementStream$(html$.BeforeUnloadEvent), [html$.Element], {useCapture: core.bool}, {}), + [S$1._forElementList]: dart.fnType(html$.ElementStream$(html$.BeforeUnloadEvent), [html$.ElementList$(html$.Element)], {useCapture: core.bool}, {}) + })); + dart.setLibraryUri(html$._BeforeUnloadEventStreamProvider, I[148]); + dart.setFieldSignature(html$._BeforeUnloadEventStreamProvider, () => ({ + __proto__: dart.getFields(html$._BeforeUnloadEventStreamProvider.__proto__), + [S$3._eventType$1]: dart.finalFieldType(core.String) + })); + html$.WindowBase64 = class WindowBase64 extends _interceptors.Interceptor {}; + dart.addTypeTests(html$.WindowBase64); + dart.addTypeCaches(html$.WindowBase64); + dart.setLibraryUri(html$.WindowBase64, I[148]); + html$.WindowClient = class WindowClient extends html$.Client { + get [S$3.$focused]() { + return this.focused; + } + get [S$1.$visibilityState]() { + return this.visibilityState; + } + [S.$focus]() { + return js_util.promiseToFuture(html$.WindowClient, this.focus()); + } + [S$3.$navigate](url) { + if (url == null) dart.nullFailed(I[147], 33801, 40, "url"); + return js_util.promiseToFuture(html$.WindowClient, this.navigate(url)); + } + }; + dart.addTypeTests(html$.WindowClient); + dart.addTypeCaches(html$.WindowClient); + dart.setMethodSignature(html$.WindowClient, () => ({ + __proto__: dart.getMethods(html$.WindowClient.__proto__), + [S.$focus]: dart.fnType(async.Future$(html$.WindowClient), []), + [S$3.$navigate]: dart.fnType(async.Future$(html$.WindowClient), [core.String]) + })); + dart.setGetterSignature(html$.WindowClient, () => ({ + __proto__: dart.getGetters(html$.WindowClient.__proto__), + [S$3.$focused]: dart.nullable(core.bool), + [S$1.$visibilityState]: dart.nullable(core.String) + })); + dart.setLibraryUri(html$.WindowClient, I[148]); + dart.registerExtension("WindowClient", html$.WindowClient); + html$.WindowEventHandlers = class WindowEventHandlers extends html$.EventTarget { + get onHashChange() { + return html$.WindowEventHandlers.hashChangeEvent.forTarget(this); + } + get onMessage() { + return html$.WindowEventHandlers.messageEvent.forTarget(this); + } + get onOffline() { + return html$.WindowEventHandlers.offlineEvent.forTarget(this); + } + get onOnline() { + return html$.WindowEventHandlers.onlineEvent.forTarget(this); + } + get onPopState() { + return html$.WindowEventHandlers.popStateEvent.forTarget(this); + } + get onStorage() { + return html$.WindowEventHandlers.storageEvent.forTarget(this); + } + get onUnload() { + return html$.WindowEventHandlers.unloadEvent.forTarget(this); + } + }; + dart.addTypeTests(html$.WindowEventHandlers); + dart.addTypeCaches(html$.WindowEventHandlers); + dart.setGetterSignature(html$.WindowEventHandlers, () => ({ + __proto__: dart.getGetters(html$.WindowEventHandlers.__proto__), + onHashChange: async.Stream$(html$.Event), + [S$.$onHashChange]: async.Stream$(html$.Event), + onMessage: async.Stream$(html$.MessageEvent), + [S$.$onMessage]: async.Stream$(html$.MessageEvent), + onOffline: async.Stream$(html$.Event), + [S$.$onOffline]: async.Stream$(html$.Event), + onOnline: async.Stream$(html$.Event), + [S$.$onOnline]: async.Stream$(html$.Event), + onPopState: async.Stream$(html$.PopStateEvent), + [S$.$onPopState]: async.Stream$(html$.PopStateEvent), + onStorage: async.Stream$(html$.StorageEvent), + [S$.$onStorage]: async.Stream$(html$.StorageEvent), + onUnload: async.Stream$(html$.Event), + [S$.$onUnload]: async.Stream$(html$.Event) + })); + dart.setLibraryUri(html$.WindowEventHandlers, I[148]); + dart.defineExtensionAccessors(html$.WindowEventHandlers, [ + 'onHashChange', + 'onMessage', + 'onOffline', + 'onOnline', + 'onPopState', + 'onStorage', + 'onUnload' + ]); + dart.defineLazy(html$.WindowEventHandlers, { + /*html$.WindowEventHandlers.hashChangeEvent*/get hashChangeEvent() { + return C[311] || CT.C311; + }, + /*html$.WindowEventHandlers.messageEvent*/get messageEvent() { + return C[312] || CT.C312; + }, + /*html$.WindowEventHandlers.offlineEvent*/get offlineEvent() { + return C[313] || CT.C313; + }, + /*html$.WindowEventHandlers.onlineEvent*/get onlineEvent() { + return C[314] || CT.C314; + }, + /*html$.WindowEventHandlers.popStateEvent*/get popStateEvent() { + return C[315] || CT.C315; + }, + /*html$.WindowEventHandlers.storageEvent*/get storageEvent() { + return C[316] || CT.C316; + }, + /*html$.WindowEventHandlers.unloadEvent*/get unloadEvent() { + return C[317] || CT.C317; + } + }, false); + html$.Worker = class Worker$ extends html$.EventTarget { + static new(scriptUrl) { + if (scriptUrl == null) dart.nullFailed(I[147], 33882, 25, "scriptUrl"); + return html$.Worker._create_1(scriptUrl); + } + static _create_1(scriptUrl) { + return new Worker(scriptUrl); + } + static get supported() { + return typeof window.Worker != "undefined"; + } + [S$.$postMessage](message, transfer = null) { + if (transfer != null) { + let message_1 = html_common.convertDartToNative_SerializedScriptValue(message); + this[S$0._postMessage_1](message_1, transfer); + return; + } + let message_1 = html_common.convertDartToNative_SerializedScriptValue(message); + this[S$0._postMessage_2](message_1); + return; + } + [S$0._postMessage_1](...args) { + return this.postMessage.apply(this, args); + } + [S$0._postMessage_2](...args) { + return this.postMessage.apply(this, args); + } + [S$2.$terminate](...args) { + return this.terminate.apply(this, args); + } + get [S.$onError]() { + return html$.Worker.errorEvent.forTarget(this); + } + get [S$.$onMessage]() { + return html$.Worker.messageEvent.forTarget(this); + } + }; + dart.addTypeTests(html$.Worker); + dart.addTypeCaches(html$.Worker); + html$.Worker[dart.implements] = () => [html$.AbstractWorker]; + dart.setMethodSignature(html$.Worker, () => ({ + __proto__: dart.getMethods(html$.Worker.__proto__), + [S$.$postMessage]: dart.fnType(dart.void, [dart.dynamic], [dart.nullable(core.List$(core.Object))]), + [S$0._postMessage_1]: dart.fnType(dart.void, [dart.dynamic, dart.nullable(core.List$(core.Object))]), + [S$0._postMessage_2]: dart.fnType(dart.void, [dart.dynamic]), + [S$2.$terminate]: dart.fnType(dart.void, []) + })); + dart.setGetterSignature(html$.Worker, () => ({ + __proto__: dart.getGetters(html$.Worker.__proto__), + [S.$onError]: async.Stream$(html$.Event), + [S$.$onMessage]: async.Stream$(html$.MessageEvent) + })); + dart.setLibraryUri(html$.Worker, I[148]); + dart.defineLazy(html$.Worker, { + /*html$.Worker.errorEvent*/get errorEvent() { + return C[216] || CT.C216; + }, + /*html$.Worker.messageEvent*/get messageEvent() { + return C[312] || CT.C312; + } + }, false); + dart.registerExtension("Worker", html$.Worker); + html$.WorkerPerformance = class WorkerPerformance extends html$.EventTarget { + get [S$2.$memory]() { + return this.memory; + } + get [S$2.$timeOrigin]() { + return this.timeOrigin; + } + [S$2.$clearMarks](...args) { + return this.clearMarks.apply(this, args); + } + [S$2.$clearMeasures](...args) { + return this.clearMeasures.apply(this, args); + } + [S$2.$clearResourceTimings](...args) { + return this.clearResourceTimings.apply(this, args); + } + [S$2.$getEntries](...args) { + return this.getEntries.apply(this, args); + } + [S$2.$getEntriesByName](...args) { + return this.getEntriesByName.apply(this, args); + } + [S$2.$getEntriesByType](...args) { + return this.getEntriesByType.apply(this, args); + } + [S$2.$mark](...args) { + return this.mark.apply(this, args); + } + [S$2.$measure](...args) { + return this.measure.apply(this, args); + } + [S$2.$now](...args) { + return this.now.apply(this, args); + } + [S$2.$setResourceTimingBufferSize](...args) { + return this.setResourceTimingBufferSize.apply(this, args); + } + }; + dart.addTypeTests(html$.WorkerPerformance); + dart.addTypeCaches(html$.WorkerPerformance); + dart.setMethodSignature(html$.WorkerPerformance, () => ({ + __proto__: dart.getMethods(html$.WorkerPerformance.__proto__), + [S$2.$clearMarks]: dart.fnType(dart.void, [dart.nullable(core.String)]), + [S$2.$clearMeasures]: dart.fnType(dart.void, [dart.nullable(core.String)]), + [S$2.$clearResourceTimings]: dart.fnType(dart.void, []), + [S$2.$getEntries]: dart.fnType(core.List$(html$.PerformanceEntry), []), + [S$2.$getEntriesByName]: dart.fnType(core.List$(html$.PerformanceEntry), [core.String, dart.nullable(core.String)]), + [S$2.$getEntriesByType]: dart.fnType(core.List$(html$.PerformanceEntry), [core.String]), + [S$2.$mark]: dart.fnType(dart.void, [core.String]), + [S$2.$measure]: dart.fnType(dart.void, [core.String, dart.nullable(core.String), dart.nullable(core.String)]), + [S$2.$now]: dart.fnType(core.double, []), + [S$2.$setResourceTimingBufferSize]: dart.fnType(dart.void, [core.int]) + })); + dart.setGetterSignature(html$.WorkerPerformance, () => ({ + __proto__: dart.getGetters(html$.WorkerPerformance.__proto__), + [S$2.$memory]: dart.nullable(html$.MemoryInfo), + [S$2.$timeOrigin]: dart.nullable(core.num) + })); + dart.setLibraryUri(html$.WorkerPerformance, I[148]); + dart.registerExtension("WorkerPerformance", html$.WorkerPerformance); + html$.WorkletAnimation = class WorkletAnimation$ extends _interceptors.Interceptor { + static new(animatorName, effects, timelines, options) { + if (animatorName == null) dart.nullFailed(I[147], 34050, 14, "animatorName"); + if (effects == null) dart.nullFailed(I[147], 34051, 36, "effects"); + if (timelines == null) dart.nullFailed(I[147], 34052, 20, "timelines"); + let options_1 = html_common.convertDartToNative_SerializedScriptValue(options); + return html$.WorkletAnimation._create_1(animatorName, effects, timelines, options_1); + } + static _create_1(animatorName, effects, timelines, options) { + return new WorkletAnimation(animatorName, effects, timelines, options); + } + get [S$.$playState]() { + return this.playState; + } + [S$.$cancel](...args) { + return this.cancel.apply(this, args); + } + [S$.$play](...args) { + return this.play.apply(this, args); + } + }; + dart.addTypeTests(html$.WorkletAnimation); + dart.addTypeCaches(html$.WorkletAnimation); + dart.setMethodSignature(html$.WorkletAnimation, () => ({ + __proto__: dart.getMethods(html$.WorkletAnimation.__proto__), + [S$.$cancel]: dart.fnType(dart.void, []), + [S$.$play]: dart.fnType(dart.void, []) + })); + dart.setGetterSignature(html$.WorkletAnimation, () => ({ + __proto__: dart.getGetters(html$.WorkletAnimation.__proto__), + [S$.$playState]: dart.nullable(core.String) + })); + dart.setLibraryUri(html$.WorkletAnimation, I[148]); + dart.registerExtension("WorkletAnimation", html$.WorkletAnimation); + html$.XPathEvaluator = class XPathEvaluator$ extends _interceptors.Interceptor { + static new() { + return html$.XPathEvaluator._create_1(); + } + static _create_1() { + return new XPathEvaluator(); + } + [S$3.$createExpression](...args) { + return this.createExpression.apply(this, args); + } + [S$3.$createNSResolver](...args) { + return this.createNSResolver.apply(this, args); + } + [S$3.$evaluate](...args) { + return this.evaluate.apply(this, args); + } + }; + dart.addTypeTests(html$.XPathEvaluator); + dart.addTypeCaches(html$.XPathEvaluator); + dart.setMethodSignature(html$.XPathEvaluator, () => ({ + __proto__: dart.getMethods(html$.XPathEvaluator.__proto__), + [S$3.$createExpression]: dart.fnType(html$.XPathExpression, [core.String, dart.nullable(html$.XPathNSResolver)]), + [S$3.$createNSResolver]: dart.fnType(html$.XPathNSResolver, [html$.Node]), + [S$3.$evaluate]: dart.fnType(html$.XPathResult, [core.String, html$.Node, dart.nullable(html$.XPathNSResolver)], [dart.nullable(core.int), dart.nullable(core.Object)]) + })); + dart.setLibraryUri(html$.XPathEvaluator, I[148]); + dart.registerExtension("XPathEvaluator", html$.XPathEvaluator); + html$.XPathExpression = class XPathExpression extends _interceptors.Interceptor { + [S$3.$evaluate](...args) { + return this.evaluate.apply(this, args); + } + }; + dart.addTypeTests(html$.XPathExpression); + dart.addTypeCaches(html$.XPathExpression); + dart.setMethodSignature(html$.XPathExpression, () => ({ + __proto__: dart.getMethods(html$.XPathExpression.__proto__), + [S$3.$evaluate]: dart.fnType(html$.XPathResult, [html$.Node], [dart.nullable(core.int), dart.nullable(core.Object)]) + })); + dart.setLibraryUri(html$.XPathExpression, I[148]); + dart.registerExtension("XPathExpression", html$.XPathExpression); + html$.XPathNSResolver = class XPathNSResolver extends _interceptors.Interceptor { + [S$3.$lookupNamespaceUri](...args) { + return this.lookupNamespaceURI.apply(this, args); + } + }; + dart.addTypeTests(html$.XPathNSResolver); + dart.addTypeCaches(html$.XPathNSResolver); + dart.setMethodSignature(html$.XPathNSResolver, () => ({ + __proto__: dart.getMethods(html$.XPathNSResolver.__proto__), + [S$3.$lookupNamespaceUri]: dart.fnType(dart.nullable(core.String), [dart.nullable(core.String)]) + })); + dart.setLibraryUri(html$.XPathNSResolver, I[148]); + dart.registerExtension("XPathNSResolver", html$.XPathNSResolver); + html$.XPathResult = class XPathResult extends _interceptors.Interceptor { + get [S$3.$booleanValue]() { + return this.booleanValue; + } + get [S$3.$invalidIteratorState]() { + return this.invalidIteratorState; + } + get [S$3.$numberValue]() { + return this.numberValue; + } + get [S$3.$resultType]() { + return this.resultType; + } + get [S$3.$singleNodeValue]() { + return this.singleNodeValue; + } + get [S$3.$snapshotLength]() { + return this.snapshotLength; + } + get [S$3.$stringValue]() { + return this.stringValue; + } + [S$3.$iterateNext](...args) { + return this.iterateNext.apply(this, args); + } + [S$3.$snapshotItem](...args) { + return this.snapshotItem.apply(this, args); + } + }; + dart.addTypeTests(html$.XPathResult); + dart.addTypeCaches(html$.XPathResult); + dart.setMethodSignature(html$.XPathResult, () => ({ + __proto__: dart.getMethods(html$.XPathResult.__proto__), + [S$3.$iterateNext]: dart.fnType(dart.nullable(html$.Node), []), + [S$3.$snapshotItem]: dart.fnType(dart.nullable(html$.Node), [core.int]) + })); + dart.setGetterSignature(html$.XPathResult, () => ({ + __proto__: dart.getGetters(html$.XPathResult.__proto__), + [S$3.$booleanValue]: dart.nullable(core.bool), + [S$3.$invalidIteratorState]: dart.nullable(core.bool), + [S$3.$numberValue]: dart.nullable(core.num), + [S$3.$resultType]: dart.nullable(core.int), + [S$3.$singleNodeValue]: dart.nullable(html$.Node), + [S$3.$snapshotLength]: dart.nullable(core.int), + [S$3.$stringValue]: dart.nullable(core.String) + })); + dart.setLibraryUri(html$.XPathResult, I[148]); + dart.defineLazy(html$.XPathResult, { + /*html$.XPathResult.ANY_TYPE*/get ANY_TYPE() { + return 0; + }, + /*html$.XPathResult.ANY_UNORDERED_NODE_TYPE*/get ANY_UNORDERED_NODE_TYPE() { + return 8; + }, + /*html$.XPathResult.BOOLEAN_TYPE*/get BOOLEAN_TYPE() { + return 3; + }, + /*html$.XPathResult.FIRST_ORDERED_NODE_TYPE*/get FIRST_ORDERED_NODE_TYPE() { + return 9; + }, + /*html$.XPathResult.NUMBER_TYPE*/get NUMBER_TYPE() { + return 1; + }, + /*html$.XPathResult.ORDERED_NODE_ITERATOR_TYPE*/get ORDERED_NODE_ITERATOR_TYPE() { + return 5; + }, + /*html$.XPathResult.ORDERED_NODE_SNAPSHOT_TYPE*/get ORDERED_NODE_SNAPSHOT_TYPE() { + return 7; + }, + /*html$.XPathResult.STRING_TYPE*/get STRING_TYPE() { + return 2; + }, + /*html$.XPathResult.UNORDERED_NODE_ITERATOR_TYPE*/get UNORDERED_NODE_ITERATOR_TYPE() { + return 4; + }, + /*html$.XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE*/get UNORDERED_NODE_SNAPSHOT_TYPE() { + return 6; + } + }, false); + dart.registerExtension("XPathResult", html$.XPathResult); + html$.XmlDocument = class XmlDocument extends html$.Document {}; + dart.addTypeTests(html$.XmlDocument); + dart.addTypeCaches(html$.XmlDocument); + dart.setLibraryUri(html$.XmlDocument, I[148]); + dart.registerExtension("XMLDocument", html$.XmlDocument); + html$.XmlSerializer = class XmlSerializer extends _interceptors.Interceptor { + static new() { + return html$.XmlSerializer._create_1(); + } + static _create_1() { + return new XMLSerializer(); + } + [S$3.$serializeToString](...args) { + return this.serializeToString.apply(this, args); + } + }; + dart.addTypeTests(html$.XmlSerializer); + dart.addTypeCaches(html$.XmlSerializer); + dart.setMethodSignature(html$.XmlSerializer, () => ({ + __proto__: dart.getMethods(html$.XmlSerializer.__proto__), + [S$3.$serializeToString]: dart.fnType(core.String, [html$.Node]) + })); + dart.setLibraryUri(html$.XmlSerializer, I[148]); + dart.registerExtension("XMLSerializer", html$.XmlSerializer); + html$.XsltProcessor = class XsltProcessor extends _interceptors.Interceptor { + static new() { + return html$.XsltProcessor._create_1(); + } + static _create_1() { + return new XSLTProcessor(); + } + static get supported() { + return !!window.XSLTProcessor; + } + [S$3.$clearParameters](...args) { + return this.clearParameters.apply(this, args); + } + [S$3.$getParameter](...args) { + return this.getParameter.apply(this, args); + } + [S$3.$importStylesheet](...args) { + return this.importStylesheet.apply(this, args); + } + [S$3.$removeParameter](...args) { + return this.removeParameter.apply(this, args); + } + [S$1.$reset](...args) { + return this.reset.apply(this, args); + } + [S$3.$setParameter](...args) { + return this.setParameter.apply(this, args); + } + [S$3.$transformToDocument](...args) { + return this.transformToDocument.apply(this, args); + } + [S$3.$transformToFragment](...args) { + return this.transformToFragment.apply(this, args); + } + }; + dart.addTypeTests(html$.XsltProcessor); + dart.addTypeCaches(html$.XsltProcessor); + dart.setMethodSignature(html$.XsltProcessor, () => ({ + __proto__: dart.getMethods(html$.XsltProcessor.__proto__), + [S$3.$clearParameters]: dart.fnType(dart.void, []), + [S$3.$getParameter]: dart.fnType(dart.nullable(core.String), [dart.nullable(core.String), core.String]), + [S$3.$importStylesheet]: dart.fnType(dart.void, [html$.Node]), + [S$3.$removeParameter]: dart.fnType(dart.void, [dart.nullable(core.String), core.String]), + [S$1.$reset]: dart.fnType(dart.void, []), + [S$3.$setParameter]: dart.fnType(dart.void, [dart.nullable(core.String), core.String, core.String]), + [S$3.$transformToDocument]: dart.fnType(dart.nullable(html$.Document), [html$.Node]), + [S$3.$transformToFragment]: dart.fnType(dart.nullable(html$.DocumentFragment), [html$.Node, html$.Document]) + })); + dart.setLibraryUri(html$.XsltProcessor, I[148]); + dart.registerExtension("XSLTProcessor", html$.XsltProcessor); + html$._Attr = class _Attr extends html$.Node { + get [S._localName]() { + return this.localName; + } + get [$name]() { + return this.name; + } + get [S._namespaceUri]() { + return this.namespaceURI; + } + get [S.$value]() { + return this.value; + } + set [S.$value](value) { + this.value = value; + } + }; + dart.addTypeTests(html$._Attr); + dart.addTypeCaches(html$._Attr); + dart.setGetterSignature(html$._Attr, () => ({ + __proto__: dart.getGetters(html$._Attr.__proto__), + [S._localName]: dart.nullable(core.String), + [$name]: dart.nullable(core.String), + [S._namespaceUri]: dart.nullable(core.String), + [S.$value]: dart.nullable(core.String) + })); + dart.setSetterSignature(html$._Attr, () => ({ + __proto__: dart.getSetters(html$._Attr.__proto__), + [S.$value]: dart.nullable(core.String) + })); + dart.setLibraryUri(html$._Attr, I[148]); + dart.registerExtension("Attr", html$._Attr); + html$._Bluetooth = class _Bluetooth extends _interceptors.Interceptor {}; + dart.addTypeTests(html$._Bluetooth); + dart.addTypeCaches(html$._Bluetooth); + dart.setLibraryUri(html$._Bluetooth, I[148]); + dart.registerExtension("Bluetooth", html$._Bluetooth); + html$._BluetoothCharacteristicProperties = class _BluetoothCharacteristicProperties extends _interceptors.Interceptor {}; + dart.addTypeTests(html$._BluetoothCharacteristicProperties); + dart.addTypeCaches(html$._BluetoothCharacteristicProperties); + dart.setLibraryUri(html$._BluetoothCharacteristicProperties, I[148]); + dart.registerExtension("BluetoothCharacteristicProperties", html$._BluetoothCharacteristicProperties); + html$._BluetoothDevice = class _BluetoothDevice extends html$.EventTarget {}; + dart.addTypeTests(html$._BluetoothDevice); + dart.addTypeCaches(html$._BluetoothDevice); + dart.setLibraryUri(html$._BluetoothDevice, I[148]); + dart.registerExtension("BluetoothDevice", html$._BluetoothDevice); + html$._BluetoothRemoteGATTCharacteristic = class _BluetoothRemoteGATTCharacteristic extends html$.EventTarget {}; + dart.addTypeTests(html$._BluetoothRemoteGATTCharacteristic); + dart.addTypeCaches(html$._BluetoothRemoteGATTCharacteristic); + dart.setLibraryUri(html$._BluetoothRemoteGATTCharacteristic, I[148]); + dart.registerExtension("BluetoothRemoteGATTCharacteristic", html$._BluetoothRemoteGATTCharacteristic); + html$._BluetoothRemoteGATTServer = class _BluetoothRemoteGATTServer extends _interceptors.Interceptor {}; + dart.addTypeTests(html$._BluetoothRemoteGATTServer); + dart.addTypeCaches(html$._BluetoothRemoteGATTServer); + dart.setLibraryUri(html$._BluetoothRemoteGATTServer, I[148]); + dart.registerExtension("BluetoothRemoteGATTServer", html$._BluetoothRemoteGATTServer); + html$._BluetoothRemoteGATTService = class _BluetoothRemoteGATTService extends _interceptors.Interceptor {}; + dart.addTypeTests(html$._BluetoothRemoteGATTService); + dart.addTypeCaches(html$._BluetoothRemoteGATTService); + dart.setLibraryUri(html$._BluetoothRemoteGATTService, I[148]); + dart.registerExtension("BluetoothRemoteGATTService", html$._BluetoothRemoteGATTService); + html$._BluetoothUUID = class _BluetoothUUID extends _interceptors.Interceptor {}; + dart.addTypeTests(html$._BluetoothUUID); + dart.addTypeCaches(html$._BluetoothUUID); + dart.setLibraryUri(html$._BluetoothUUID, I[148]); + dart.registerExtension("BluetoothUUID", html$._BluetoothUUID); + html$._BudgetService = class _BudgetService extends _interceptors.Interceptor { + [S$3.$getBudget]() { + return js_util.promiseToFuture(html$.BudgetState, this.getBudget()); + } + [S$3.$getCost](operation) { + if (operation == null) dart.nullFailed(I[147], 34377, 33, "operation"); + return js_util.promiseToFuture(core.double, this.getCost(operation)); + } + [S$3.$reserve](operation) { + if (operation == null) dart.nullFailed(I[147], 34380, 31, "operation"); + return js_util.promiseToFuture(core.bool, this.reserve(operation)); + } + }; + dart.addTypeTests(html$._BudgetService); + dart.addTypeCaches(html$._BudgetService); + dart.setMethodSignature(html$._BudgetService, () => ({ + __proto__: dart.getMethods(html$._BudgetService.__proto__), + [S$3.$getBudget]: dart.fnType(async.Future$(html$.BudgetState), []), + [S$3.$getCost]: dart.fnType(async.Future$(core.double), [core.String]), + [S$3.$reserve]: dart.fnType(async.Future$(core.bool), [core.String]) + })); + dart.setLibraryUri(html$._BudgetService, I[148]); + dart.registerExtension("BudgetService", html$._BudgetService); + html$._Cache = class _Cache extends _interceptors.Interceptor {}; + dart.addTypeTests(html$._Cache); + dart.addTypeCaches(html$._Cache); + dart.setLibraryUri(html$._Cache, I[148]); + dart.registerExtension("Cache", html$._Cache); + html$._CanvasPath = class _CanvasPath extends _interceptors.Interceptor {}; + dart.addTypeTests(html$._CanvasPath); + dart.addTypeCaches(html$._CanvasPath); + dart.setLibraryUri(html$._CanvasPath, I[148]); + html$._Clipboard = class _Clipboard extends html$.EventTarget { + [S$3.$read]() { + return js_util.promiseToFuture(html$.DataTransfer, this.read()); + } + [S$3.$readText]() { + return js_util.promiseToFuture(core.String, this.readText()); + } + [S$1.$write](data) { + if (data == null) dart.nullFailed(I[147], 34421, 29, "data"); + return js_util.promiseToFuture(dart.dynamic, this.write(data)); + } + [S$3.$writeText](data) { + if (data == null) dart.nullFailed(I[147], 34424, 27, "data"); + return js_util.promiseToFuture(dart.dynamic, this.writeText(data)); + } + }; + dart.addTypeTests(html$._Clipboard); + dart.addTypeCaches(html$._Clipboard); + dart.setMethodSignature(html$._Clipboard, () => ({ + __proto__: dart.getMethods(html$._Clipboard.__proto__), + [S$3.$read]: dart.fnType(async.Future$(html$.DataTransfer), []), + [S$3.$readText]: dart.fnType(async.Future$(core.String), []), + [S$1.$write]: dart.fnType(async.Future, [html$.DataTransfer]), + [S$3.$writeText]: dart.fnType(async.Future, [core.String]) + })); + dart.setLibraryUri(html$._Clipboard, I[148]); + dart.registerExtension("Clipboard", html$._Clipboard); + const Interceptor_ListMixin$36$8 = class Interceptor_ListMixin extends _interceptors.Interceptor {}; + (Interceptor_ListMixin$36$8.new = function() { + Interceptor_ListMixin$36$8.__proto__.new.call(this); + }).prototype = Interceptor_ListMixin$36$8.prototype; + dart.applyMixin(Interceptor_ListMixin$36$8, collection.ListMixin$(html$.CssRule)); + const Interceptor_ImmutableListMixin$36$8 = class Interceptor_ImmutableListMixin extends Interceptor_ListMixin$36$8 {}; + (Interceptor_ImmutableListMixin$36$8.new = function() { + Interceptor_ImmutableListMixin$36$8.__proto__.new.call(this); + }).prototype = Interceptor_ImmutableListMixin$36$8.prototype; + dart.applyMixin(Interceptor_ImmutableListMixin$36$8, html$.ImmutableListMixin$(html$.CssRule)); + html$._CssRuleList = class _CssRuleList extends Interceptor_ImmutableListMixin$36$8 { + get [$length]() { + return this.length; + } + [$_get](index) { + if (index == null) dart.nullFailed(I[147], 34442, 27, "index"); + if (index >>> 0 !== index || index >= this[$length]) dart.throw(new core.IndexError.new(index, this)); + return this[index]; + } + [$_set](index, value$) { + let value = value$; + if (index == null) dart.nullFailed(I[147], 34448, 25, "index"); + html$.CssRule.as(value); + if (value == null) dart.nullFailed(I[147], 34448, 40, "value"); + dart.throw(new core.UnsupportedError.new("Cannot assign element of immutable List.")); + return value$; + } + set [$length](value) { + if (value == null) dart.nullFailed(I[147], 34454, 18, "value"); + dart.throw(new core.UnsupportedError.new("Cannot resize immutable List.")); + } + get [$first]() { + if (dart.notNull(this[$length]) > 0) { + return this[0]; + } + dart.throw(new core.StateError.new("No elements")); + } + set [$first](value) { + super[$first] = value; + } + get [$last]() { + let len = this[$length]; + if (dart.notNull(len) > 0) { + return this[dart.notNull(len) - 1]; + } + dart.throw(new core.StateError.new("No elements")); + } + set [$last](value) { + super[$last] = value; + } + get [$single]() { + let len = this[$length]; + if (len === 1) { + return this[0]; + } + if (len === 0) dart.throw(new core.StateError.new("No elements")); + dart.throw(new core.StateError.new("More than one element")); + } + [$elementAt](index) { + if (index == null) dart.nullFailed(I[147], 34482, 25, "index"); + return this[$_get](index); + } + [S$.$item](...args) { + return this.item.apply(this, args); + } + }; + html$._CssRuleList.prototype[dart.isList] = true; + dart.addTypeTests(html$._CssRuleList); + dart.addTypeCaches(html$._CssRuleList); + html$._CssRuleList[dart.implements] = () => [_js_helper.JavaScriptIndexingBehavior$(html$.CssRule), core.List$(html$.CssRule)]; + dart.setMethodSignature(html$._CssRuleList, () => ({ + __proto__: dart.getMethods(html$._CssRuleList.__proto__), + [$_get]: dart.fnType(html$.CssRule, [core.int]), + [$_set]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), + [S$.$item]: dart.fnType(dart.nullable(html$.CssRule), [core.int]) + })); + dart.setGetterSignature(html$._CssRuleList, () => ({ + __proto__: dart.getGetters(html$._CssRuleList.__proto__), + [$length]: core.int + })); + dart.setSetterSignature(html$._CssRuleList, () => ({ + __proto__: dart.getSetters(html$._CssRuleList.__proto__), + [$length]: core.int + })); + dart.setLibraryUri(html$._CssRuleList, I[148]); + dart.registerExtension("CSSRuleList", html$._CssRuleList); + html$._DOMFileSystemSync = class _DOMFileSystemSync extends _interceptors.Interceptor {}; + dart.addTypeTests(html$._DOMFileSystemSync); + dart.addTypeCaches(html$._DOMFileSystemSync); + dart.setLibraryUri(html$._DOMFileSystemSync, I[148]); + dart.registerExtension("DOMFileSystemSync", html$._DOMFileSystemSync); + html$._EntrySync = class _EntrySync extends _interceptors.Interceptor {}; + dart.addTypeTests(html$._EntrySync); + dart.addTypeCaches(html$._EntrySync); + dart.setLibraryUri(html$._EntrySync, I[148]); + dart.registerExtension("EntrySync", html$._EntrySync); + html$._DirectoryEntrySync = class _DirectoryEntrySync extends html$._EntrySync {}; + dart.addTypeTests(html$._DirectoryEntrySync); + dart.addTypeCaches(html$._DirectoryEntrySync); + dart.setLibraryUri(html$._DirectoryEntrySync, I[148]); + dart.registerExtension("DirectoryEntrySync", html$._DirectoryEntrySync); + html$._DirectoryReaderSync = class _DirectoryReaderSync extends _interceptors.Interceptor {}; + dart.addTypeTests(html$._DirectoryReaderSync); + dart.addTypeCaches(html$._DirectoryReaderSync); + dart.setLibraryUri(html$._DirectoryReaderSync, I[148]); + dart.registerExtension("DirectoryReaderSync", html$._DirectoryReaderSync); + html$._DocumentType = class _DocumentType extends html$.Node {}; + dart.addTypeTests(html$._DocumentType); + dart.addTypeCaches(html$._DocumentType); + html$._DocumentType[dart.implements] = () => [html$.ChildNode]; + dart.setLibraryUri(html$._DocumentType, I[148]); + dart.registerExtension("DocumentType", html$._DocumentType); + html$._DomRect = class _DomRect extends html$.DomRectReadOnly { + [$toString]() { + return "Rectangle (" + dart.str(this[$left]) + ", " + dart.str(this[$top]) + ") " + dart.str(this[$width]) + " x " + dart.str(this[$height]); + } + [$_equals](other) { + if (other == null) return false; + return T$0.RectangleOfnum().is(other) && this[$left] == other[$left] && this[$top] == other[$top] && this[$width] == other[$width] && this[$height] == other[$height]; + } + get [$hashCode]() { + return html$._JenkinsSmiHash.hash4(dart.hashCode(this[$left]), dart.hashCode(this[$top]), dart.hashCode(this[$width]), dart.hashCode(this[$height])); + } + [$intersection](other) { + T$0.RectangleOfnum().as(other); + if (other == null) dart.nullFailed(I[147], 34568, 37, "other"); + let x0 = math.max(core.num, this[$left], other[$left]); + let x1 = math.min(core.num, dart.notNull(this[$left]) + dart.notNull(this[$width]), dart.notNull(other[$left]) + dart.notNull(other[$width])); + if (x0 <= x1) { + let y0 = math.max(core.num, this[$top], other[$top]); + let y1 = math.min(core.num, dart.notNull(this[$top]) + dart.notNull(this[$height]), dart.notNull(other[$top]) + dart.notNull(other[$height])); + if (y0 <= y1) { + return new (T$0.RectangleOfnum()).new(x0, y0, x1 - x0, y1 - y0); + } + } + return null; + } + [$intersects](other) { + if (other == null) dart.nullFailed(I[147], 34586, 34, "other"); + return dart.notNull(this[$left]) <= dart.notNull(other[$left]) + dart.notNull(other[$width]) && dart.notNull(other[$left]) <= dart.notNull(this[$left]) + dart.notNull(this[$width]) && dart.notNull(this[$top]) <= dart.notNull(other[$top]) + dart.notNull(other[$height]) && dart.notNull(other[$top]) <= dart.notNull(this[$top]) + dart.notNull(this[$height]); + } + [$boundingBox](other) { + T$0.RectangleOfnum().as(other); + if (other == null) dart.nullFailed(I[147], 34596, 35, "other"); + let right = math.max(core.num, dart.notNull(this[$left]) + dart.notNull(this[$width]), dart.notNull(other[$left]) + dart.notNull(other[$width])); + let bottom = math.max(core.num, dart.notNull(this[$top]) + dart.notNull(this[$height]), dart.notNull(other[$top]) + dart.notNull(other[$height])); + let left = math.min(core.num, this[$left], other[$left]); + let top = math.min(core.num, this[$top], other[$top]); + return new (T$0.RectangleOfnum()).new(left, top, right - left, bottom - top); + } + [$containsRectangle](another) { + if (another == null) dart.nullFailed(I[147], 34609, 41, "another"); + return dart.notNull(this[$left]) <= dart.notNull(another[$left]) && dart.notNull(this[$left]) + dart.notNull(this[$width]) >= dart.notNull(another[$left]) + dart.notNull(another[$width]) && dart.notNull(this[$top]) <= dart.notNull(another[$top]) && dart.notNull(this[$top]) + dart.notNull(this[$height]) >= dart.notNull(another[$top]) + dart.notNull(another[$height]); + } + [$containsPoint](another) { + if (another == null) dart.nullFailed(I[147], 34619, 33, "another"); + return dart.notNull(another.x) >= dart.notNull(this[$left]) && dart.notNull(another.x) <= dart.notNull(this[$left]) + dart.notNull(this[$width]) && dart.notNull(another.y) >= dart.notNull(this[$top]) && dart.notNull(another.y) <= dart.notNull(this[$top]) + dart.notNull(this[$height]); + } + get [$topLeft]() { + return new (T$0.PointOfnum()).new(this[$left], this[$top]); + } + get [$topRight]() { + return new (T$0.PointOfnum()).new(dart.notNull(this[$left]) + dart.notNull(this[$width]), this[$top]); + } + get [$bottomRight]() { + return new (T$0.PointOfnum()).new(dart.notNull(this[$left]) + dart.notNull(this[$width]), dart.notNull(this[$top]) + dart.notNull(this[$height])); + } + get [$bottomLeft]() { + return new (T$0.PointOfnum()).new(this[$left], dart.notNull(this[$top]) + dart.notNull(this[$height])); + } + static new(x = null, y = null, width = null, height = null) { + if (height != null) { + return html$._DomRect._create_1(x, y, width, height); + } + if (width != null) { + return html$._DomRect._create_2(x, y, width); + } + if (y != null) { + return html$._DomRect._create_3(x, y); + } + if (x != null) { + return html$._DomRect._create_4(x); + } + return html$._DomRect._create_5(); + } + static _create_1(x, y, width, height) { + return new DOMRect(x, y, width, height); + } + static _create_2(x, y, width) { + return new DOMRect(x, y, width); + } + static _create_3(x, y) { + return new DOMRect(x, y); + } + static _create_4(x) { + return new DOMRect(x); + } + static _create_5() { + return new DOMRect(); + } + get [S$0._height$1]() { + return this.height; + } + get [$height]() { + return dart.nullCheck(this[S$0._height$1]); + } + set [$height](value) { + this.height = value; + } + get [S$0._width$1]() { + return this.width; + } + get [$width]() { + return dart.nullCheck(this[S$0._width$1]); + } + set [$width](value) { + this.width = value; + } + get [S$.$x]() { + return this.x; + } + set [S$.$x](value) { + this.x = value; + } + get [S$.$y]() { + return this.y; + } + set [S$.$y](value) { + this.y = value; + } + }; + dart.addTypeTests(html$._DomRect); + dart.addTypeCaches(html$._DomRect); + html$._DomRect[dart.implements] = () => [math.Rectangle$(core.num)]; + dart.setSetterSignature(html$._DomRect, () => ({ + __proto__: dart.getSetters(html$._DomRect.__proto__), + [$height]: core.num, + [$width]: core.num, + [S$.$x]: dart.nullable(core.num), + [S$.$y]: dart.nullable(core.num) + })); + dart.setLibraryUri(html$._DomRect, I[148]); + dart.registerExtension("ClientRect", html$._DomRect); + dart.registerExtension("DOMRect", html$._DomRect); + html$._JenkinsSmiHash = class _JenkinsSmiHash extends core.Object { + static combine(hash, value) { + if (hash == null) dart.nullFailed(I[147], 34716, 26, "hash"); + if (value == null) dart.nullFailed(I[147], 34716, 36, "value"); + hash = 536870911 & dart.notNull(hash) + dart.notNull(value); + hash = 536870911 & dart.notNull(hash) + ((524287 & dart.notNull(hash)) << 10); + return (dart.notNull(hash) ^ hash[$rightShift](6)) >>> 0; + } + static finish(hash) { + if (hash == null) dart.nullFailed(I[147], 34722, 25, "hash"); + hash = 536870911 & dart.notNull(hash) + ((67108863 & dart.notNull(hash)) << 3); + hash = (dart.notNull(hash) ^ hash[$rightShift](11)) >>> 0; + return 536870911 & dart.notNull(hash) + ((16383 & dart.notNull(hash)) << 15); + } + static hash2(a, b) { + return html$._JenkinsSmiHash.finish(html$._JenkinsSmiHash.combine(html$._JenkinsSmiHash.combine(0, core.int.as(a)), core.int.as(b))); + } + static hash4(a, b, c, d) { + return html$._JenkinsSmiHash.finish(html$._JenkinsSmiHash.combine(html$._JenkinsSmiHash.combine(html$._JenkinsSmiHash.combine(html$._JenkinsSmiHash.combine(0, core.int.as(a)), core.int.as(b)), core.int.as(c)), core.int.as(d))); + } + }; + (html$._JenkinsSmiHash.new = function() { + ; + }).prototype = html$._JenkinsSmiHash.prototype; + dart.addTypeTests(html$._JenkinsSmiHash); + dart.addTypeCaches(html$._JenkinsSmiHash); + dart.setLibraryUri(html$._JenkinsSmiHash, I[148]); + html$._FileEntrySync = class _FileEntrySync extends html$._EntrySync {}; + dart.addTypeTests(html$._FileEntrySync); + dart.addTypeCaches(html$._FileEntrySync); + dart.setLibraryUri(html$._FileEntrySync, I[148]); + dart.registerExtension("FileEntrySync", html$._FileEntrySync); + html$._FileReaderSync = class _FileReaderSync extends _interceptors.Interceptor { + static new() { + return html$._FileReaderSync._create_1(); + } + static _create_1() { + return new FileReaderSync(); + } + }; + dart.addTypeTests(html$._FileReaderSync); + dart.addTypeCaches(html$._FileReaderSync); + dart.setLibraryUri(html$._FileReaderSync, I[148]); + dart.registerExtension("FileReaderSync", html$._FileReaderSync); + html$._FileWriterSync = class _FileWriterSync extends _interceptors.Interceptor {}; + dart.addTypeTests(html$._FileWriterSync); + dart.addTypeCaches(html$._FileWriterSync); + dart.setLibraryUri(html$._FileWriterSync, I[148]); + dart.registerExtension("FileWriterSync", html$._FileWriterSync); + const Interceptor_ListMixin$36$9 = class Interceptor_ListMixin extends _interceptors.Interceptor {}; + (Interceptor_ListMixin$36$9.new = function() { + Interceptor_ListMixin$36$9.__proto__.new.call(this); + }).prototype = Interceptor_ListMixin$36$9.prototype; + dart.applyMixin(Interceptor_ListMixin$36$9, collection.ListMixin$(dart.nullable(html$.Gamepad))); + const Interceptor_ImmutableListMixin$36$9 = class Interceptor_ImmutableListMixin extends Interceptor_ListMixin$36$9 {}; + (Interceptor_ImmutableListMixin$36$9.new = function() { + Interceptor_ImmutableListMixin$36$9.__proto__.new.call(this); + }).prototype = Interceptor_ImmutableListMixin$36$9.prototype; + dart.applyMixin(Interceptor_ImmutableListMixin$36$9, html$.ImmutableListMixin$(dart.nullable(html$.Gamepad))); + html$._GamepadList = class _GamepadList extends Interceptor_ImmutableListMixin$36$9 { + get [$length]() { + return this.length; + } + [$_get](index) { + if (index == null) dart.nullFailed(I[147], 34798, 28, "index"); + if (index >>> 0 !== index || index >= this[$length]) dart.throw(new core.IndexError.new(index, this)); + return this[index]; + } + [$_set](index, value$) { + let value = value$; + if (index == null) dart.nullFailed(I[147], 34804, 25, "index"); + T$0.GamepadN().as(value); + dart.throw(new core.UnsupportedError.new("Cannot assign element of immutable List.")); + return value$; + } + set [$length](value) { + if (value == null) dart.nullFailed(I[147], 34810, 18, "value"); + dart.throw(new core.UnsupportedError.new("Cannot resize immutable List.")); + } + get [$first]() { + if (dart.notNull(this[$length]) > 0) { + return this[0]; + } + dart.throw(new core.StateError.new("No elements")); + } + set [$first](value) { + super[$first] = value; + } + get [$last]() { + let len = this[$length]; + if (dart.notNull(len) > 0) { + return this[dart.notNull(len) - 1]; + } + dart.throw(new core.StateError.new("No elements")); + } + set [$last](value) { + super[$last] = value; + } + get [$single]() { + let len = this[$length]; + if (len === 1) { + return this[0]; + } + if (len === 0) dart.throw(new core.StateError.new("No elements")); + dart.throw(new core.StateError.new("More than one element")); + } + [$elementAt](index) { + if (index == null) dart.nullFailed(I[147], 34838, 26, "index"); + return this[$_get](index); + } + [S$.$item](...args) { + return this.item.apply(this, args); + } + }; + html$._GamepadList.prototype[dart.isList] = true; + dart.addTypeTests(html$._GamepadList); + dart.addTypeCaches(html$._GamepadList); + html$._GamepadList[dart.implements] = () => [core.List$(dart.nullable(html$.Gamepad)), _js_helper.JavaScriptIndexingBehavior$(dart.nullable(html$.Gamepad))]; + dart.setMethodSignature(html$._GamepadList, () => ({ + __proto__: dart.getMethods(html$._GamepadList.__proto__), + [$_get]: dart.fnType(dart.nullable(html$.Gamepad), [core.int]), + [$_set]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), + [S$.$item]: dart.fnType(html$.Gamepad, [dart.nullable(core.int)]) + })); + dart.setGetterSignature(html$._GamepadList, () => ({ + __proto__: dart.getGetters(html$._GamepadList.__proto__), + [$length]: core.int + })); + dart.setSetterSignature(html$._GamepadList, () => ({ + __proto__: dart.getSetters(html$._GamepadList.__proto__), + [$length]: core.int + })); + dart.setLibraryUri(html$._GamepadList, I[148]); + dart.registerExtension("GamepadList", html$._GamepadList); + html$._HTMLAllCollection = class _HTMLAllCollection extends _interceptors.Interceptor { + [S$1._item](...args) { + return this.item.apply(this, args); + } + }; + dart.addTypeTests(html$._HTMLAllCollection); + dart.addTypeCaches(html$._HTMLAllCollection); + dart.setMethodSignature(html$._HTMLAllCollection, () => ({ + __proto__: dart.getMethods(html$._HTMLAllCollection.__proto__), + [S$1._item]: dart.fnType(html$.Element, [dart.nullable(core.int)]) + })); + dart.setLibraryUri(html$._HTMLAllCollection, I[148]); + dart.registerExtension("HTMLAllCollection", html$._HTMLAllCollection); + html$._HTMLDirectoryElement = class _HTMLDirectoryElement extends html$.HtmlElement {}; + (html$._HTMLDirectoryElement.created = function() { + html$._HTMLDirectoryElement.__proto__.created.call(this); + ; + }).prototype = html$._HTMLDirectoryElement.prototype; + dart.addTypeTests(html$._HTMLDirectoryElement); + dart.addTypeCaches(html$._HTMLDirectoryElement); + dart.setLibraryUri(html$._HTMLDirectoryElement, I[148]); + dart.registerExtension("HTMLDirectoryElement", html$._HTMLDirectoryElement); + html$._HTMLFontElement = class _HTMLFontElement extends html$.HtmlElement {}; + (html$._HTMLFontElement.created = function() { + html$._HTMLFontElement.__proto__.created.call(this); + ; + }).prototype = html$._HTMLFontElement.prototype; + dart.addTypeTests(html$._HTMLFontElement); + dart.addTypeCaches(html$._HTMLFontElement); + dart.setLibraryUri(html$._HTMLFontElement, I[148]); + dart.registerExtension("HTMLFontElement", html$._HTMLFontElement); + html$._HTMLFrameElement = class _HTMLFrameElement extends html$.HtmlElement {}; + (html$._HTMLFrameElement.created = function() { + html$._HTMLFrameElement.__proto__.created.call(this); + ; + }).prototype = html$._HTMLFrameElement.prototype; + dart.addTypeTests(html$._HTMLFrameElement); + dart.addTypeCaches(html$._HTMLFrameElement); + dart.setLibraryUri(html$._HTMLFrameElement, I[148]); + dart.registerExtension("HTMLFrameElement", html$._HTMLFrameElement); + html$._HTMLFrameSetElement = class _HTMLFrameSetElement extends html$.HtmlElement {}; + (html$._HTMLFrameSetElement.created = function() { + html$._HTMLFrameSetElement.__proto__.created.call(this); + ; + }).prototype = html$._HTMLFrameSetElement.prototype; + dart.addTypeTests(html$._HTMLFrameSetElement); + dart.addTypeCaches(html$._HTMLFrameSetElement); + html$._HTMLFrameSetElement[dart.implements] = () => [html$.WindowEventHandlers]; + dart.setLibraryUri(html$._HTMLFrameSetElement, I[148]); + dart.registerExtension("HTMLFrameSetElement", html$._HTMLFrameSetElement); + html$._HTMLMarqueeElement = class _HTMLMarqueeElement extends html$.HtmlElement {}; + (html$._HTMLMarqueeElement.created = function() { + html$._HTMLMarqueeElement.__proto__.created.call(this); + ; + }).prototype = html$._HTMLMarqueeElement.prototype; + dart.addTypeTests(html$._HTMLMarqueeElement); + dart.addTypeCaches(html$._HTMLMarqueeElement); + dart.setLibraryUri(html$._HTMLMarqueeElement, I[148]); + dart.registerExtension("HTMLMarqueeElement", html$._HTMLMarqueeElement); + html$._Mojo = class _Mojo extends _interceptors.Interceptor {}; + dart.addTypeTests(html$._Mojo); + dart.addTypeCaches(html$._Mojo); + dart.setLibraryUri(html$._Mojo, I[148]); + dart.registerExtension("Mojo", html$._Mojo); + html$._MojoHandle = class _MojoHandle extends _interceptors.Interceptor {}; + dart.addTypeTests(html$._MojoHandle); + dart.addTypeCaches(html$._MojoHandle); + dart.setLibraryUri(html$._MojoHandle, I[148]); + dart.registerExtension("MojoHandle", html$._MojoHandle); + html$._MojoInterfaceInterceptor = class _MojoInterfaceInterceptor extends html$.EventTarget { + static new(interfaceName, scope = null) { + if (interfaceName == null) dart.nullFailed(I[147], 34989, 44, "interfaceName"); + if (scope != null) { + return html$._MojoInterfaceInterceptor._create_1(interfaceName, scope); + } + return html$._MojoInterfaceInterceptor._create_2(interfaceName); + } + static _create_1(interfaceName, scope) { + return new MojoInterfaceInterceptor(interfaceName, scope); + } + static _create_2(interfaceName) { + return new MojoInterfaceInterceptor(interfaceName); + } + }; + dart.addTypeTests(html$._MojoInterfaceInterceptor); + dart.addTypeCaches(html$._MojoInterfaceInterceptor); + dart.setLibraryUri(html$._MojoInterfaceInterceptor, I[148]); + dart.registerExtension("MojoInterfaceInterceptor", html$._MojoInterfaceInterceptor); + html$._MojoInterfaceRequestEvent = class _MojoInterfaceRequestEvent extends html$.Event { + static new(type, eventInitDict = null) { + if (type == null) dart.nullFailed(I[147], 35016, 45, "type"); + if (eventInitDict != null) { + let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); + return html$._MojoInterfaceRequestEvent._create_1(type, eventInitDict_1); + } + return html$._MojoInterfaceRequestEvent._create_2(type); + } + static _create_1(type, eventInitDict) { + return new MojoInterfaceRequestEvent(type, eventInitDict); + } + static _create_2(type) { + return new MojoInterfaceRequestEvent(type); + } + }; + dart.addTypeTests(html$._MojoInterfaceRequestEvent); + dart.addTypeCaches(html$._MojoInterfaceRequestEvent); + dart.setLibraryUri(html$._MojoInterfaceRequestEvent, I[148]); + dart.registerExtension("MojoInterfaceRequestEvent", html$._MojoInterfaceRequestEvent); + html$._MojoWatcher = class _MojoWatcher extends _interceptors.Interceptor {}; + dart.addTypeTests(html$._MojoWatcher); + dart.addTypeCaches(html$._MojoWatcher); + dart.setLibraryUri(html$._MojoWatcher, I[148]); + dart.registerExtension("MojoWatcher", html$._MojoWatcher); + html$._NFC = class _NFC extends _interceptors.Interceptor {}; + dart.addTypeTests(html$._NFC); + dart.addTypeCaches(html$._NFC); + dart.setLibraryUri(html$._NFC, I[148]); + dart.registerExtension("NFC", html$._NFC); + const Interceptor_ListMixin$36$10 = class Interceptor_ListMixin extends _interceptors.Interceptor {}; + (Interceptor_ListMixin$36$10.new = function() { + Interceptor_ListMixin$36$10.__proto__.new.call(this); + }).prototype = Interceptor_ListMixin$36$10.prototype; + dart.applyMixin(Interceptor_ListMixin$36$10, collection.ListMixin$(html$.Node)); + const Interceptor_ImmutableListMixin$36$10 = class Interceptor_ImmutableListMixin extends Interceptor_ListMixin$36$10 {}; + (Interceptor_ImmutableListMixin$36$10.new = function() { + Interceptor_ImmutableListMixin$36$10.__proto__.new.call(this); + }).prototype = Interceptor_ImmutableListMixin$36$10.prototype; + dart.applyMixin(Interceptor_ImmutableListMixin$36$10, html$.ImmutableListMixin$(html$.Node)); + html$._NamedNodeMap = class _NamedNodeMap extends Interceptor_ImmutableListMixin$36$10 { + get [$length]() { + return this.length; + } + [$_get](index) { + if (index == null) dart.nullFailed(I[147], 35070, 24, "index"); + if (index >>> 0 !== index || index >= this[$length]) dart.throw(new core.IndexError.new(index, this)); + return this[index]; + } + [$_set](index, value$) { + let value = value$; + if (index == null) dart.nullFailed(I[147], 35076, 25, "index"); + html$.Node.as(value); + if (value == null) dart.nullFailed(I[147], 35076, 37, "value"); + dart.throw(new core.UnsupportedError.new("Cannot assign element of immutable List.")); + return value$; + } + set [$length](value) { + if (value == null) dart.nullFailed(I[147], 35082, 18, "value"); + dart.throw(new core.UnsupportedError.new("Cannot resize immutable List.")); + } + get [$first]() { + if (dart.notNull(this[$length]) > 0) { + return this[0]; + } + dart.throw(new core.StateError.new("No elements")); + } + set [$first](value) { + super[$first] = value; + } + get [$last]() { + let len = this[$length]; + if (dart.notNull(len) > 0) { + return this[dart.notNull(len) - 1]; + } + dart.throw(new core.StateError.new("No elements")); + } + set [$last](value) { + super[$last] = value; + } + get [$single]() { + let len = this[$length]; + if (len === 1) { + return this[0]; + } + if (len === 0) dart.throw(new core.StateError.new("No elements")); + dart.throw(new core.StateError.new("More than one element")); + } + [$elementAt](index) { + if (index == null) dart.nullFailed(I[147], 35110, 22, "index"); + return this[$_get](index); + } + [S$3.$getNamedItem](...args) { + return this.getNamedItem.apply(this, args); + } + [S$3.$getNamedItemNS](...args) { + return this.getNamedItemNS.apply(this, args); + } + [S$.$item](...args) { + return this.item.apply(this, args); + } + [S$3.$removeNamedItem](...args) { + return this.removeNamedItem.apply(this, args); + } + [S$3.$removeNamedItemNS](...args) { + return this.removeNamedItemNS.apply(this, args); + } + [S$3.$setNamedItem](...args) { + return this.setNamedItem.apply(this, args); + } + [S$3.$setNamedItemNS](...args) { + return this.setNamedItemNS.apply(this, args); + } + }; + html$._NamedNodeMap.prototype[dart.isList] = true; + dart.addTypeTests(html$._NamedNodeMap); + dart.addTypeCaches(html$._NamedNodeMap); + html$._NamedNodeMap[dart.implements] = () => [_js_helper.JavaScriptIndexingBehavior$(html$.Node), core.List$(html$.Node)]; + dart.setMethodSignature(html$._NamedNodeMap, () => ({ + __proto__: dart.getMethods(html$._NamedNodeMap.__proto__), + [$_get]: dart.fnType(html$.Node, [core.int]), + [$_set]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), + [S$3.$getNamedItem]: dart.fnType(dart.nullable(html$._Attr), [core.String]), + [S$3.$getNamedItemNS]: dart.fnType(dart.nullable(html$._Attr), [dart.nullable(core.String), core.String]), + [S$.$item]: dart.fnType(dart.nullable(html$._Attr), [core.int]), + [S$3.$removeNamedItem]: dart.fnType(html$._Attr, [core.String]), + [S$3.$removeNamedItemNS]: dart.fnType(html$._Attr, [dart.nullable(core.String), core.String]), + [S$3.$setNamedItem]: dart.fnType(dart.nullable(html$._Attr), [html$._Attr]), + [S$3.$setNamedItemNS]: dart.fnType(dart.nullable(html$._Attr), [html$._Attr]) + })); + dart.setGetterSignature(html$._NamedNodeMap, () => ({ + __proto__: dart.getGetters(html$._NamedNodeMap.__proto__), + [$length]: core.int + })); + dart.setSetterSignature(html$._NamedNodeMap, () => ({ + __proto__: dart.getSetters(html$._NamedNodeMap.__proto__), + [$length]: core.int + })); + dart.setLibraryUri(html$._NamedNodeMap, I[148]); + dart.registerExtension("NamedNodeMap", html$._NamedNodeMap); + dart.registerExtension("MozNamedAttrMap", html$._NamedNodeMap); + html$._PagePopupController = class _PagePopupController extends _interceptors.Interceptor {}; + dart.addTypeTests(html$._PagePopupController); + dart.addTypeCaches(html$._PagePopupController); + dart.setLibraryUri(html$._PagePopupController, I[148]); + dart.registerExtension("PagePopupController", html$._PagePopupController); + html$._Report = class _Report extends _interceptors.Interceptor { + get [S$1.$body]() { + return this.body; + } + get [S.$type]() { + return this.type; + } + get [S$.$url]() { + return this.url; + } + }; + dart.addTypeTests(html$._Report); + dart.addTypeCaches(html$._Report); + dart.setGetterSignature(html$._Report, () => ({ + __proto__: dart.getGetters(html$._Report.__proto__), + [S$1.$body]: dart.nullable(html$.ReportBody), + [S.$type]: dart.nullable(core.String), + [S$.$url]: dart.nullable(core.String) + })); + dart.setLibraryUri(html$._Report, I[148]); + dart.registerExtension("Report", html$._Report); + html$._Request = class _Request extends html$.Body { + static new(input, requestInitDict = null) { + if (input == null) dart.nullFailed(I[147], 35175, 27, "input"); + if (requestInitDict != null) { + let requestInitDict_1 = html_common.convertDartToNative_Dictionary(requestInitDict); + return html$._Request._create_1(input, requestInitDict_1); + } + return html$._Request._create_2(input); + } + static _create_1(input, requestInitDict) { + return new Request(input, requestInitDict); + } + static _create_2(input) { + return new Request(input); + } + get [S$3.$cache]() { + return this.cache; + } + get [S$1.$credentials]() { + return this.credentials; + } + get [S$2.$headers]() { + return this.headers; + } + get [S$1.$integrity]() { + return this.integrity; + } + get [S.$mode]() { + return this.mode; + } + get [S$3.$redirect]() { + return this.redirect; + } + get [S$1.$referrer]() { + return this.referrer; + } + get [S$.$referrerPolicy]() { + return this.referrerPolicy; + } + get [S$.$url]() { + return this.url; + } + [S$.$clone](...args) { + return this.clone.apply(this, args); + } + }; + dart.addTypeTests(html$._Request); + dart.addTypeCaches(html$._Request); + dart.setMethodSignature(html$._Request, () => ({ + __proto__: dart.getMethods(html$._Request.__proto__), + [S$.$clone]: dart.fnType(html$._Request, []) + })); + dart.setGetterSignature(html$._Request, () => ({ + __proto__: dart.getGetters(html$._Request.__proto__), + [S$3.$cache]: dart.nullable(core.String), + [S$1.$credentials]: dart.nullable(core.String), + [S$2.$headers]: dart.nullable(html$.Headers), + [S$1.$integrity]: dart.nullable(core.String), + [S.$mode]: dart.nullable(core.String), + [S$3.$redirect]: dart.nullable(core.String), + [S$1.$referrer]: dart.nullable(core.String), + [S$.$referrerPolicy]: dart.nullable(core.String), + [S$.$url]: dart.nullable(core.String) + })); + dart.setLibraryUri(html$._Request, I[148]); + dart.registerExtension("Request", html$._Request); + html$._ResourceProgressEvent = class _ResourceProgressEvent extends html$.ProgressEvent {}; + dart.addTypeTests(html$._ResourceProgressEvent); + dart.addTypeCaches(html$._ResourceProgressEvent); + dart.setLibraryUri(html$._ResourceProgressEvent, I[148]); + dart.registerExtension("ResourceProgressEvent", html$._ResourceProgressEvent); + html$._Response = class _Response extends html$.Body { + static new(body = null, init = null) { + if (init != null) { + let init_1 = html_common.convertDartToNative_Dictionary(init); + return html$._Response._create_1(body, init_1); + } + if (body != null) { + return html$._Response._create_2(body); + } + return html$._Response._create_3(); + } + static _create_1(body, init) { + return new Response(body, init); + } + static _create_2(body) { + return new Response(body); + } + static _create_3() { + return new Response(); + } + }; + dart.addTypeTests(html$._Response); + dart.addTypeCaches(html$._Response); + dart.setLibraryUri(html$._Response, I[148]); + dart.registerExtension("Response", html$._Response); + const Interceptor_ListMixin$36$11 = class Interceptor_ListMixin extends _interceptors.Interceptor {}; + (Interceptor_ListMixin$36$11.new = function() { + Interceptor_ListMixin$36$11.__proto__.new.call(this); + }).prototype = Interceptor_ListMixin$36$11.prototype; + dart.applyMixin(Interceptor_ListMixin$36$11, collection.ListMixin$(html$.SpeechRecognitionResult)); + const Interceptor_ImmutableListMixin$36$11 = class Interceptor_ImmutableListMixin extends Interceptor_ListMixin$36$11 {}; + (Interceptor_ImmutableListMixin$36$11.new = function() { + Interceptor_ImmutableListMixin$36$11.__proto__.new.call(this); + }).prototype = Interceptor_ImmutableListMixin$36$11.prototype; + dart.applyMixin(Interceptor_ImmutableListMixin$36$11, html$.ImmutableListMixin$(html$.SpeechRecognitionResult)); + html$._SpeechRecognitionResultList = class _SpeechRecognitionResultList extends Interceptor_ImmutableListMixin$36$11 { + get [$length]() { + return this.length; + } + [$_get](index) { + if (index == null) dart.nullFailed(I[147], 35264, 43, "index"); + if (index >>> 0 !== index || index >= this[$length]) dart.throw(new core.IndexError.new(index, this)); + return this[index]; + } + [$_set](index, value$) { + let value = value$; + if (index == null) dart.nullFailed(I[147], 35270, 25, "index"); + html$.SpeechRecognitionResult.as(value); + if (value == null) dart.nullFailed(I[147], 35270, 56, "value"); + dart.throw(new core.UnsupportedError.new("Cannot assign element of immutable List.")); + return value$; + } + set [$length](value) { + if (value == null) dart.nullFailed(I[147], 35276, 18, "value"); + dart.throw(new core.UnsupportedError.new("Cannot resize immutable List.")); + } + get [$first]() { + if (dart.notNull(this[$length]) > 0) { + return this[0]; + } + dart.throw(new core.StateError.new("No elements")); + } + set [$first](value) { + super[$first] = value; + } + get [$last]() { + let len = this[$length]; + if (dart.notNull(len) > 0) { + return this[dart.notNull(len) - 1]; + } + dart.throw(new core.StateError.new("No elements")); + } + set [$last](value) { + super[$last] = value; + } + get [$single]() { + let len = this[$length]; + if (len === 1) { + return this[0]; + } + if (len === 0) dart.throw(new core.StateError.new("No elements")); + dart.throw(new core.StateError.new("More than one element")); + } + [$elementAt](index) { + if (index == null) dart.nullFailed(I[147], 35304, 41, "index"); + return this[$_get](index); + } + [S$.$item](...args) { + return this.item.apply(this, args); + } + }; + html$._SpeechRecognitionResultList.prototype[dart.isList] = true; + dart.addTypeTests(html$._SpeechRecognitionResultList); + dart.addTypeCaches(html$._SpeechRecognitionResultList); + html$._SpeechRecognitionResultList[dart.implements] = () => [_js_helper.JavaScriptIndexingBehavior$(html$.SpeechRecognitionResult), core.List$(html$.SpeechRecognitionResult)]; + dart.setMethodSignature(html$._SpeechRecognitionResultList, () => ({ + __proto__: dart.getMethods(html$._SpeechRecognitionResultList.__proto__), + [$_get]: dart.fnType(html$.SpeechRecognitionResult, [core.int]), + [$_set]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), + [S$.$item]: dart.fnType(html$.SpeechRecognitionResult, [core.int]) + })); + dart.setGetterSignature(html$._SpeechRecognitionResultList, () => ({ + __proto__: dart.getGetters(html$._SpeechRecognitionResultList.__proto__), + [$length]: core.int + })); + dart.setSetterSignature(html$._SpeechRecognitionResultList, () => ({ + __proto__: dart.getSetters(html$._SpeechRecognitionResultList.__proto__), + [$length]: core.int + })); + dart.setLibraryUri(html$._SpeechRecognitionResultList, I[148]); + dart.registerExtension("SpeechRecognitionResultList", html$._SpeechRecognitionResultList); + const Interceptor_ListMixin$36$12 = class Interceptor_ListMixin extends _interceptors.Interceptor {}; + (Interceptor_ListMixin$36$12.new = function() { + Interceptor_ListMixin$36$12.__proto__.new.call(this); + }).prototype = Interceptor_ListMixin$36$12.prototype; + dart.applyMixin(Interceptor_ListMixin$36$12, collection.ListMixin$(html$.StyleSheet)); + const Interceptor_ImmutableListMixin$36$12 = class Interceptor_ImmutableListMixin extends Interceptor_ListMixin$36$12 {}; + (Interceptor_ImmutableListMixin$36$12.new = function() { + Interceptor_ImmutableListMixin$36$12.__proto__.new.call(this); + }).prototype = Interceptor_ImmutableListMixin$36$12.prototype; + dart.applyMixin(Interceptor_ImmutableListMixin$36$12, html$.ImmutableListMixin$(html$.StyleSheet)); + html$._StyleSheetList = class _StyleSheetList extends Interceptor_ImmutableListMixin$36$12 { + get [$length]() { + return this.length; + } + [$_get](index) { + if (index == null) dart.nullFailed(I[147], 35324, 30, "index"); + if (index >>> 0 !== index || index >= this[$length]) dart.throw(new core.IndexError.new(index, this)); + return this[index]; + } + [$_set](index, value$) { + let value = value$; + if (index == null) dart.nullFailed(I[147], 35330, 25, "index"); + html$.StyleSheet.as(value); + if (value == null) dart.nullFailed(I[147], 35330, 43, "value"); + dart.throw(new core.UnsupportedError.new("Cannot assign element of immutable List.")); + return value$; + } + set [$length](value) { + if (value == null) dart.nullFailed(I[147], 35336, 18, "value"); + dart.throw(new core.UnsupportedError.new("Cannot resize immutable List.")); + } + get [$first]() { + if (dart.notNull(this[$length]) > 0) { + return this[0]; + } + dart.throw(new core.StateError.new("No elements")); + } + set [$first](value) { + super[$first] = value; + } + get [$last]() { + let len = this[$length]; + if (dart.notNull(len) > 0) { + return this[dart.notNull(len) - 1]; + } + dart.throw(new core.StateError.new("No elements")); + } + set [$last](value) { + super[$last] = value; + } + get [$single]() { + let len = this[$length]; + if (len === 1) { + return this[0]; + } + if (len === 0) dart.throw(new core.StateError.new("No elements")); + dart.throw(new core.StateError.new("More than one element")); + } + [$elementAt](index) { + if (index == null) dart.nullFailed(I[147], 35364, 28, "index"); + return this[$_get](index); + } + [S$.__getter__](...args) { + return this.__getter__.apply(this, args); + } + [S$.$item](...args) { + return this.item.apply(this, args); + } + }; + html$._StyleSheetList.prototype[dart.isList] = true; + dart.addTypeTests(html$._StyleSheetList); + dart.addTypeCaches(html$._StyleSheetList); + html$._StyleSheetList[dart.implements] = () => [core.List$(html$.StyleSheet), _js_helper.JavaScriptIndexingBehavior$(html$.StyleSheet)]; + dart.setMethodSignature(html$._StyleSheetList, () => ({ + __proto__: dart.getMethods(html$._StyleSheetList.__proto__), + [$_get]: dart.fnType(html$.StyleSheet, [core.int]), + [$_set]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), + [S$.__getter__]: dart.fnType(html$.CssStyleSheet, [core.String]), + [S$.$item]: dart.fnType(dart.nullable(html$.StyleSheet), [core.int]) + })); + dart.setGetterSignature(html$._StyleSheetList, () => ({ + __proto__: dart.getGetters(html$._StyleSheetList.__proto__), + [$length]: core.int + })); + dart.setSetterSignature(html$._StyleSheetList, () => ({ + __proto__: dart.getSetters(html$._StyleSheetList.__proto__), + [$length]: core.int + })); + dart.setLibraryUri(html$._StyleSheetList, I[148]); + dart.registerExtension("StyleSheetList", html$._StyleSheetList); + html$._SubtleCrypto = class _SubtleCrypto extends _interceptors.Interceptor {}; + dart.addTypeTests(html$._SubtleCrypto); + dart.addTypeCaches(html$._SubtleCrypto); + dart.setLibraryUri(html$._SubtleCrypto, I[148]); + dart.registerExtension("SubtleCrypto", html$._SubtleCrypto); + html$._USB = class _USB extends html$.EventTarget {}; + dart.addTypeTests(html$._USB); + dart.addTypeCaches(html$._USB); + dart.setLibraryUri(html$._USB, I[148]); + dart.registerExtension("USB", html$._USB); + html$._USBAlternateInterface = class _USBAlternateInterface extends _interceptors.Interceptor { + static new(deviceInterface, alternateSetting) { + if (deviceInterface == null) dart.nullFailed(I[147], 35405, 21, "deviceInterface"); + if (alternateSetting == null) dart.nullFailed(I[147], 35405, 42, "alternateSetting"); + return html$._USBAlternateInterface._create_1(deviceInterface, alternateSetting); + } + static _create_1(deviceInterface, alternateSetting) { + return new USBAlternateInterface(deviceInterface, alternateSetting); + } + }; + dart.addTypeTests(html$._USBAlternateInterface); + dart.addTypeCaches(html$._USBAlternateInterface); + dart.setLibraryUri(html$._USBAlternateInterface, I[148]); + dart.registerExtension("USBAlternateInterface", html$._USBAlternateInterface); + html$._USBConfiguration = class _USBConfiguration extends _interceptors.Interceptor { + static new(device, configurationValue) { + if (device == null) dart.nullFailed(I[147], 35423, 40, "device"); + if (configurationValue == null) dart.nullFailed(I[147], 35423, 52, "configurationValue"); + return html$._USBConfiguration._create_1(device, configurationValue); + } + static _create_1(device, configurationValue) { + return new USBConfiguration(device, configurationValue); + } + }; + dart.addTypeTests(html$._USBConfiguration); + dart.addTypeCaches(html$._USBConfiguration); + dart.setLibraryUri(html$._USBConfiguration, I[148]); + dart.registerExtension("USBConfiguration", html$._USBConfiguration); + html$._USBConnectionEvent = class _USBConnectionEvent extends html$.Event { + static new(type, eventInitDict) { + if (type == null) dart.nullFailed(I[147], 35443, 38, "type"); + if (eventInitDict == null) dart.nullFailed(I[147], 35443, 48, "eventInitDict"); + let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); + return html$._USBConnectionEvent._create_1(type, eventInitDict_1); + } + static _create_1(type, eventInitDict) { + return new USBConnectionEvent(type, eventInitDict); + } + }; + dart.addTypeTests(html$._USBConnectionEvent); + dart.addTypeCaches(html$._USBConnectionEvent); + dart.setLibraryUri(html$._USBConnectionEvent, I[148]); + dart.registerExtension("USBConnectionEvent", html$._USBConnectionEvent); + html$._USBDevice = class _USBDevice extends _interceptors.Interceptor {}; + dart.addTypeTests(html$._USBDevice); + dart.addTypeCaches(html$._USBDevice); + dart.setLibraryUri(html$._USBDevice, I[148]); + dart.registerExtension("USBDevice", html$._USBDevice); + html$._USBEndpoint = class _USBEndpoint extends _interceptors.Interceptor { + static new(alternate, endpointNumber, direction) { + if (alternate == null) dart.nullFailed(I[147], 35476, 30, "alternate"); + if (endpointNumber == null) dart.nullFailed(I[147], 35476, 45, "endpointNumber"); + if (direction == null) dart.nullFailed(I[147], 35476, 68, "direction"); + return html$._USBEndpoint._create_1(alternate, endpointNumber, direction); + } + static _create_1(alternate, endpointNumber, direction) { + return new USBEndpoint(alternate, endpointNumber, direction); + } + }; + dart.addTypeTests(html$._USBEndpoint); + dart.addTypeCaches(html$._USBEndpoint); + dart.setLibraryUri(html$._USBEndpoint, I[148]); + dart.registerExtension("USBEndpoint", html$._USBEndpoint); + html$._USBInTransferResult = class _USBInTransferResult extends _interceptors.Interceptor { + static new(status, data = null) { + if (status == null) dart.nullFailed(I[147], 35497, 39, "status"); + if (data != null) { + return html$._USBInTransferResult._create_1(status, data); + } + return html$._USBInTransferResult._create_2(status); + } + static _create_1(status, data) { + return new USBInTransferResult(status, data); + } + static _create_2(status) { + return new USBInTransferResult(status); + } + }; + dart.addTypeTests(html$._USBInTransferResult); + dart.addTypeCaches(html$._USBInTransferResult); + dart.setLibraryUri(html$._USBInTransferResult, I[148]); + dart.registerExtension("USBInTransferResult", html$._USBInTransferResult); + html$._USBInterface = class _USBInterface extends _interceptors.Interceptor { + static new(configuration, interfaceNumber) { + if (configuration == null) dart.nullFailed(I[147], 35519, 43, "configuration"); + if (interfaceNumber == null) dart.nullFailed(I[147], 35519, 62, "interfaceNumber"); + return html$._USBInterface._create_1(configuration, interfaceNumber); + } + static _create_1(configuration, interfaceNumber) { + return new USBInterface(configuration, interfaceNumber); + } + }; + dart.addTypeTests(html$._USBInterface); + dart.addTypeCaches(html$._USBInterface); + dart.setLibraryUri(html$._USBInterface, I[148]); + dart.registerExtension("USBInterface", html$._USBInterface); + html$._USBIsochronousInTransferPacket = class _USBIsochronousInTransferPacket extends _interceptors.Interceptor { + static new(status, data = null) { + if (status == null) dart.nullFailed(I[147], 35536, 50, "status"); + if (data != null) { + return html$._USBIsochronousInTransferPacket._create_1(status, data); + } + return html$._USBIsochronousInTransferPacket._create_2(status); + } + static _create_1(status, data) { + return new USBIsochronousInTransferPacket(status, data); + } + static _create_2(status) { + return new USBIsochronousInTransferPacket(status); + } + }; + dart.addTypeTests(html$._USBIsochronousInTransferPacket); + dart.addTypeCaches(html$._USBIsochronousInTransferPacket); + dart.setLibraryUri(html$._USBIsochronousInTransferPacket, I[148]); + dart.registerExtension("USBIsochronousInTransferPacket", html$._USBIsochronousInTransferPacket); + html$._USBIsochronousInTransferResult = class _USBIsochronousInTransferResult extends _interceptors.Interceptor { + static new(packets, data = null) { + if (packets == null) dart.nullFailed(I[147], 35564, 45, "packets"); + if (data != null) { + return html$._USBIsochronousInTransferResult._create_1(packets, data); + } + return html$._USBIsochronousInTransferResult._create_2(packets); + } + static _create_1(packets, data) { + return new USBIsochronousInTransferResult(packets, data); + } + static _create_2(packets) { + return new USBIsochronousInTransferResult(packets); + } + }; + dart.addTypeTests(html$._USBIsochronousInTransferResult); + dart.addTypeCaches(html$._USBIsochronousInTransferResult); + dart.setLibraryUri(html$._USBIsochronousInTransferResult, I[148]); + dart.registerExtension("USBIsochronousInTransferResult", html$._USBIsochronousInTransferResult); + html$._USBIsochronousOutTransferPacket = class _USBIsochronousOutTransferPacket extends _interceptors.Interceptor { + static new(status, bytesWritten = null) { + if (status == null) dart.nullFailed(I[147], 35592, 51, "status"); + if (bytesWritten != null) { + return html$._USBIsochronousOutTransferPacket._create_1(status, bytesWritten); + } + return html$._USBIsochronousOutTransferPacket._create_2(status); + } + static _create_1(status, bytesWritten) { + return new USBIsochronousOutTransferPacket(status, bytesWritten); + } + static _create_2(status) { + return new USBIsochronousOutTransferPacket(status); + } + }; + dart.addTypeTests(html$._USBIsochronousOutTransferPacket); + dart.addTypeCaches(html$._USBIsochronousOutTransferPacket); + dart.setLibraryUri(html$._USBIsochronousOutTransferPacket, I[148]); + dart.registerExtension("USBIsochronousOutTransferPacket", html$._USBIsochronousOutTransferPacket); + html$._USBIsochronousOutTransferResult = class _USBIsochronousOutTransferResult extends _interceptors.Interceptor { + static new(packets) { + if (packets == null) dart.nullFailed(I[147], 35620, 46, "packets"); + return html$._USBIsochronousOutTransferResult._create_1(packets); + } + static _create_1(packets) { + return new USBIsochronousOutTransferResult(packets); + } + }; + dart.addTypeTests(html$._USBIsochronousOutTransferResult); + dart.addTypeCaches(html$._USBIsochronousOutTransferResult); + dart.setLibraryUri(html$._USBIsochronousOutTransferResult, I[148]); + dart.registerExtension("USBIsochronousOutTransferResult", html$._USBIsochronousOutTransferResult); + html$._USBOutTransferResult = class _USBOutTransferResult extends _interceptors.Interceptor { + static new(status, bytesWritten = null) { + if (status == null) dart.nullFailed(I[147], 35639, 40, "status"); + if (bytesWritten != null) { + return html$._USBOutTransferResult._create_1(status, bytesWritten); + } + return html$._USBOutTransferResult._create_2(status); + } + static _create_1(status, bytesWritten) { + return new USBOutTransferResult(status, bytesWritten); + } + static _create_2(status) { + return new USBOutTransferResult(status); + } + }; + dart.addTypeTests(html$._USBOutTransferResult); + dart.addTypeCaches(html$._USBOutTransferResult); + dart.setLibraryUri(html$._USBOutTransferResult, I[148]); + dart.registerExtension("USBOutTransferResult", html$._USBOutTransferResult); + html$._WindowTimers = class _WindowTimers extends _interceptors.Interceptor {}; + dart.addTypeTests(html$._WindowTimers); + dart.addTypeCaches(html$._WindowTimers); + dart.setLibraryUri(html$._WindowTimers, I[148]); + html$._WorkerLocation = class _WorkerLocation extends _interceptors.Interceptor {}; + dart.addTypeTests(html$._WorkerLocation); + dart.addTypeCaches(html$._WorkerLocation); + html$._WorkerLocation[dart.implements] = () => [html$.UrlUtilsReadOnly]; + dart.setLibraryUri(html$._WorkerLocation, I[148]); + dart.registerExtension("WorkerLocation", html$._WorkerLocation); + html$._WorkerNavigator = class _WorkerNavigator extends html$.NavigatorConcurrentHardware {}; + dart.addTypeTests(html$._WorkerNavigator); + dart.addTypeCaches(html$._WorkerNavigator); + html$._WorkerNavigator[dart.implements] = () => [html$.NavigatorOnLine, html$.NavigatorID]; + dart.setLibraryUri(html$._WorkerNavigator, I[148]); + dart.registerExtension("WorkerNavigator", html$._WorkerNavigator); + html$._Worklet = class _Worklet extends _interceptors.Interceptor {}; + dart.addTypeTests(html$._Worklet); + dart.addTypeCaches(html$._Worklet); + dart.setLibraryUri(html$._Worklet, I[148]); + dart.registerExtension("Worklet", html$._Worklet); + html$._AttributeMap = class _AttributeMap extends collection.MapBase$(core.String, core.String) { + addAll(other) { + T$0.MapOfString$String().as(other); + if (other == null) dart.nullFailed(I[147], 35728, 35, "other"); + other[$forEach](dart.fn((k, v) => { + if (k == null) dart.nullFailed(I[147], 35729, 20, "k"); + if (v == null) dart.nullFailed(I[147], 35729, 23, "v"); + this[$_set](k, v); + }, T$0.StringAndStringTovoid())); + } + cast(K, V) { + return core.Map.castFrom(core.String, core.String, K, V, this); + } + containsValue(value) { + for (let v of this.values) { + if (dart.equals(value, v)) { + return true; + } + } + return false; + } + putIfAbsent(key, ifAbsent) { + core.String.as(key); + if (key == null) dart.nullFailed(I[147], 35744, 29, "key"); + T$.VoidToString().as(ifAbsent); + if (ifAbsent == null) dart.nullFailed(I[147], 35744, 41, "ifAbsent"); + if (!dart.test(this[$containsKey](key))) { + this[$_set](key, ifAbsent()); + } + return dart.nullCast(this[$_get](key), core.String); + } + clear() { + for (let key of this.keys) { + this[$remove](key); + } + } + forEach(f) { + if (f == null) dart.nullFailed(I[147], 35757, 21, "f"); + for (let key of this.keys) { + let value = this[$_get](key); + f(key, dart.nullCast(value, core.String)); + } + } + get keys() { + let attributes = dart.nullCheck(this[S$1._element$2][S._attributes$1]); + let keys = T$.JSArrayOfString().of([]); + for (let i = 0, len = attributes[$length]; i < dart.notNull(len); i = i + 1) { + let attr = html$._Attr.as(attributes[$_get](i)); + if (dart.test(this[S$3._matches](attr))) { + keys[$add](dart.nullCheck(attr.name)); + } + } + return keys; + } + get values() { + let attributes = dart.nullCheck(this[S$1._element$2][S._attributes$1]); + let values = T$.JSArrayOfString().of([]); + for (let i = 0, len = attributes[$length]; i < dart.notNull(len); i = i + 1) { + let attr = html$._Attr.as(attributes[$_get](i)); + if (dart.test(this[S$3._matches](attr))) { + values[$add](dart.nullCheck(attr.value)); + } + } + return values; + } + get isEmpty() { + return this[$length] === 0; + } + get isNotEmpty() { + return !dart.test(this.isEmpty); + } + }; + (html$._AttributeMap.new = function(_element) { + if (_element == null) dart.nullFailed(I[147], 35726, 22, "_element"); + this[S$1._element$2] = _element; + ; + }).prototype = html$._AttributeMap.prototype; + dart.addTypeTests(html$._AttributeMap); + dart.addTypeCaches(html$._AttributeMap); + dart.setMethodSignature(html$._AttributeMap, () => ({ + __proto__: dart.getMethods(html$._AttributeMap.__proto__), + cast: dart.gFnType((K, V) => [core.Map$(K, V), []], (K, V) => [dart.nullable(core.Object), dart.nullable(core.Object)]), + [$cast]: dart.gFnType((K, V) => [core.Map$(K, V), []], (K, V) => [dart.nullable(core.Object), dart.nullable(core.Object)]), + clear: dart.fnType(dart.void, []), + [$clear]: dart.fnType(dart.void, []) + })); + dart.setGetterSignature(html$._AttributeMap, () => ({ + __proto__: dart.getGetters(html$._AttributeMap.__proto__), + keys: core.Iterable$(core.String), + [$keys]: core.Iterable$(core.String) + })); + dart.setLibraryUri(html$._AttributeMap, I[148]); + dart.setFieldSignature(html$._AttributeMap, () => ({ + __proto__: dart.getFields(html$._AttributeMap.__proto__), + [S$1._element$2]: dart.finalFieldType(html$.Element) + })); + dart.defineExtensionMethods(html$._AttributeMap, [ + 'addAll', + 'cast', + 'containsValue', + 'putIfAbsent', + 'clear', + 'forEach' + ]); + dart.defineExtensionAccessors(html$._AttributeMap, ['keys', 'values', 'isEmpty', 'isNotEmpty']); + html$._ElementAttributeMap = class _ElementAttributeMap extends html$._AttributeMap { + containsKey(key) { + return typeof key == 'string' && dart.test(this[S$1._element$2][S._hasAttribute](key)); + } + _get(key) { + return this[S$1._element$2][S.$getAttribute](core.String.as(key)); + } + _set(key, value$) { + let value = value$; + core.String.as(key); + if (key == null) dart.nullFailed(I[147], 35822, 28, "key"); + core.String.as(value); + if (value == null) dart.nullFailed(I[147], 35822, 40, "value"); + this[S$1._element$2][S.$setAttribute](key, value); + return value$; + } + remove(key) { + return typeof key == 'string' ? html$._ElementAttributeMap._remove(this[S$1._element$2], key) : null; + } + get length() { + return this.keys[$length]; + } + [S$3._matches](node) { + if (node == null) dart.nullFailed(I[147], 35836, 23, "node"); + return node[S._namespaceUri] == null; + } + static _remove(element, key) { + if (element == null) dart.nullFailed(I[147], 35841, 34, "element"); + if (key == null) dart.nullFailed(I[147], 35841, 50, "key"); + let value = element.getAttribute(key); + element.removeAttribute(key); + return value; + } + }; + (html$._ElementAttributeMap.new = function(element) { + if (element == null) dart.nullFailed(I[147], 35812, 32, "element"); + html$._ElementAttributeMap.__proto__.new.call(this, element); + ; + }).prototype = html$._ElementAttributeMap.prototype; + dart.addTypeTests(html$._ElementAttributeMap); + dart.addTypeCaches(html$._ElementAttributeMap); + dart.setMethodSignature(html$._ElementAttributeMap, () => ({ + __proto__: dart.getMethods(html$._ElementAttributeMap.__proto__), + _get: dart.fnType(dart.nullable(core.String), [dart.nullable(core.Object)]), + [$_get]: dart.fnType(dart.nullable(core.String), [dart.nullable(core.Object)]), + _set: dart.fnType(dart.void, [dart.nullable(core.Object), dart.nullable(core.Object)]), + [$_set]: dart.fnType(dart.void, [dart.nullable(core.Object), dart.nullable(core.Object)]), + remove: dart.fnType(dart.nullable(core.String), [dart.nullable(core.Object)]), + [$remove]: dart.fnType(dart.nullable(core.String), [dart.nullable(core.Object)]), + [S$3._matches]: dart.fnType(core.bool, [html$._Attr]) + })); + dart.setLibraryUri(html$._ElementAttributeMap, I[148]); + dart.defineExtensionMethods(html$._ElementAttributeMap, ['containsKey', '_get', '_set', 'remove']); + dart.defineExtensionAccessors(html$._ElementAttributeMap, ['length']); + html$._NamespacedAttributeMap = class _NamespacedAttributeMap extends html$._AttributeMap { + containsKey(key) { + return typeof key == 'string' && dart.test(this[S$1._element$2][S._hasAttributeNS](this[S$3._namespace], key)); + } + _get(key) { + return this[S$1._element$2][S.$getAttributeNS](this[S$3._namespace], core.String.as(key)); + } + _set(key, value$) { + let value = value$; + core.String.as(key); + if (key == null) dart.nullFailed(I[147], 35870, 28, "key"); + core.String.as(value); + if (value == null) dart.nullFailed(I[147], 35870, 40, "value"); + this[S$1._element$2][S.$setAttributeNS](this[S$3._namespace], key, value); + return value$; + } + remove(key) { + return typeof key == 'string' ? html$._NamespacedAttributeMap._remove(this[S$3._namespace], this[S$1._element$2], key) : null; + } + get length() { + return this.keys[$length]; + } + [S$3._matches](node) { + if (node == null) dart.nullFailed(I[147], 35885, 23, "node"); + return node[S._namespaceUri] == this[S$3._namespace]; + } + static _remove(namespace, element, key) { + if (element == null) dart.nullFailed(I[147], 35891, 53, "element"); + if (key == null) dart.nullFailed(I[147], 35891, 69, "key"); + let value = element.getAttributeNS(namespace, key); + element.removeAttributeNS(namespace, key); + return value; + } + }; + (html$._NamespacedAttributeMap.new = function(element, _namespace) { + if (element == null) dart.nullFailed(I[147], 35860, 35, "element"); + this[S$3._namespace] = _namespace; + html$._NamespacedAttributeMap.__proto__.new.call(this, element); + ; + }).prototype = html$._NamespacedAttributeMap.prototype; + dart.addTypeTests(html$._NamespacedAttributeMap); + dart.addTypeCaches(html$._NamespacedAttributeMap); + dart.setMethodSignature(html$._NamespacedAttributeMap, () => ({ + __proto__: dart.getMethods(html$._NamespacedAttributeMap.__proto__), + _get: dart.fnType(dart.nullable(core.String), [dart.nullable(core.Object)]), + [$_get]: dart.fnType(dart.nullable(core.String), [dart.nullable(core.Object)]), + _set: dart.fnType(dart.void, [dart.nullable(core.Object), dart.nullable(core.Object)]), + [$_set]: dart.fnType(dart.void, [dart.nullable(core.Object), dart.nullable(core.Object)]), + remove: dart.fnType(dart.nullable(core.String), [dart.nullable(core.Object)]), + [$remove]: dart.fnType(dart.nullable(core.String), [dart.nullable(core.Object)]), + [S$3._matches]: dart.fnType(core.bool, [html$._Attr]) + })); + dart.setLibraryUri(html$._NamespacedAttributeMap, I[148]); + dart.setFieldSignature(html$._NamespacedAttributeMap, () => ({ + __proto__: dart.getFields(html$._NamespacedAttributeMap.__proto__), + [S$3._namespace]: dart.finalFieldType(dart.nullable(core.String)) + })); + dart.defineExtensionMethods(html$._NamespacedAttributeMap, ['containsKey', '_get', '_set', 'remove']); + dart.defineExtensionAccessors(html$._NamespacedAttributeMap, ['length']); + html$._DataAttributeMap = class _DataAttributeMap extends collection.MapBase$(core.String, core.String) { + addAll(other) { + T$0.MapOfString$String().as(other); + if (other == null) dart.nullFailed(I[147], 35916, 35, "other"); + other[$forEach](dart.fn((k, v) => { + if (k == null) dart.nullFailed(I[147], 35917, 20, "k"); + if (v == null) dart.nullFailed(I[147], 35917, 23, "v"); + this._set(k, v); + }, T$0.StringAndStringTovoid())); + } + cast(K, V) { + return core.Map.castFrom(core.String, core.String, K, V, this); + } + containsValue(value) { + return this.values[$any](dart.fn(v => { + if (v == null) dart.nullFailed(I[147], 35924, 52, "v"); + return core.identical(v, value); + }, T$.StringTobool())); + } + containsKey(key) { + return this[S._attributes$1][$containsKey](this[S$3._attr](core.String.as(key))); + } + _get(key) { + return this[S._attributes$1][$_get](this[S$3._attr](core.String.as(key))); + } + _set(key, value$) { + let value = value$; + core.String.as(key); + if (key == null) dart.nullFailed(I[147], 35931, 28, "key"); + core.String.as(value); + if (value == null) dart.nullFailed(I[147], 35931, 40, "value"); + this[S._attributes$1][$_set](this[S$3._attr](key), value); + return value$; + } + putIfAbsent(key, ifAbsent) { + core.String.as(key); + if (key == null) dart.nullFailed(I[147], 35935, 29, "key"); + T$.VoidToString().as(ifAbsent); + if (ifAbsent == null) dart.nullFailed(I[147], 35935, 41, "ifAbsent"); + return this[S._attributes$1][$putIfAbsent](this[S$3._attr](key), ifAbsent); + } + remove(key) { + return this[S._attributes$1][$remove](this[S$3._attr](core.String.as(key))); + } + clear() { + for (let key of this.keys) { + this.remove(key); + } + } + forEach(f) { + if (f == null) dart.nullFailed(I[147], 35947, 21, "f"); + this[S._attributes$1][$forEach](dart.fn((key, value) => { + if (key == null) dart.nullFailed(I[147], 35948, 33, "key"); + if (value == null) dart.nullFailed(I[147], 35948, 45, "value"); + if (dart.test(this[S$3._matches](key))) { + f(this[S$3._strip](key), value); + } + }, T$0.StringAndStringTovoid())); + } + get keys() { + let keys = T$.JSArrayOfString().of([]); + this[S._attributes$1][$forEach](dart.fn((key, value) => { + if (key == null) dart.nullFailed(I[147], 35957, 33, "key"); + if (value == null) dart.nullFailed(I[147], 35957, 45, "value"); + if (dart.test(this[S$3._matches](key))) { + keys[$add](this[S$3._strip](key)); + } + }, T$0.StringAndStringTovoid())); + return keys; + } + get values() { + let values = T$.JSArrayOfString().of([]); + this[S._attributes$1][$forEach](dart.fn((key, value) => { + if (key == null) dart.nullFailed(I[147], 35967, 33, "key"); + if (value == null) dart.nullFailed(I[147], 35967, 45, "value"); + if (dart.test(this[S$3._matches](key))) { + values[$add](value); + } + }, T$0.StringAndStringTovoid())); + return values; + } + get length() { + return this.keys[$length]; + } + get isEmpty() { + return this.length === 0; + } + get isNotEmpty() { + return !dart.test(this.isEmpty); + } + [S$3._attr](key) { + if (key == null) dart.nullFailed(I[147], 35983, 23, "key"); + return "data-" + dart.str(this[S$3._toHyphenedName](key)); + } + [S$3._matches](key) { + if (key == null) dart.nullFailed(I[147], 35984, 24, "key"); + return key[$startsWith]("data-"); + } + [S$3._strip](key) { + if (key == null) dart.nullFailed(I[147], 35985, 24, "key"); + return this[S$3._toCamelCase](key[$substring](5)); + } + [S$3._toCamelCase](hyphenedName, opts) { + if (hyphenedName == null) dart.nullFailed(I[147], 35992, 30, "hyphenedName"); + let startUppercase = opts && 'startUppercase' in opts ? opts.startUppercase : false; + if (startUppercase == null) dart.nullFailed(I[147], 35992, 50, "startUppercase"); + let segments = hyphenedName[$split]("-"); + let start = dart.test(startUppercase) ? 0 : 1; + for (let i = start; i < dart.notNull(segments[$length]); i = i + 1) { + let segment = segments[$_get](i); + if (segment.length > 0) { + segments[$_set](i, segment[$_get](0)[$toUpperCase]() + segment[$substring](1)); + } + } + return segments[$join](""); + } + [S$3._toHyphenedName](word) { + if (word == null) dart.nullFailed(I[147], 36006, 33, "word"); + let sb = new core.StringBuffer.new(); + for (let i = 0; i < word.length; i = i + 1) { + let lower = word[$_get](i)[$toLowerCase](); + if (word[$_get](i) !== lower && i > 0) sb.write("-"); + sb.write(lower); + } + return sb.toString(); + } + }; + (html$._DataAttributeMap.new = function(_attributes) { + if (_attributes == null) dart.nullFailed(I[147], 35912, 26, "_attributes"); + this[S._attributes$1] = _attributes; + ; + }).prototype = html$._DataAttributeMap.prototype; + dart.addTypeTests(html$._DataAttributeMap); + dart.addTypeCaches(html$._DataAttributeMap); + dart.setMethodSignature(html$._DataAttributeMap, () => ({ + __proto__: dart.getMethods(html$._DataAttributeMap.__proto__), + cast: dart.gFnType((K, V) => [core.Map$(K, V), []], (K, V) => [dart.nullable(core.Object), dart.nullable(core.Object)]), + [$cast]: dart.gFnType((K, V) => [core.Map$(K, V), []], (K, V) => [dart.nullable(core.Object), dart.nullable(core.Object)]), + _get: dart.fnType(dart.nullable(core.String), [dart.nullable(core.Object)]), + [$_get]: dart.fnType(dart.nullable(core.String), [dart.nullable(core.Object)]), + _set: dart.fnType(dart.void, [dart.nullable(core.Object), dart.nullable(core.Object)]), + [$_set]: dart.fnType(dart.void, [dart.nullable(core.Object), dart.nullable(core.Object)]), + remove: dart.fnType(dart.nullable(core.String), [dart.nullable(core.Object)]), + [$remove]: dart.fnType(dart.nullable(core.String), [dart.nullable(core.Object)]), + clear: dart.fnType(dart.void, []), + [$clear]: dart.fnType(dart.void, []), + [S$3._attr]: dart.fnType(core.String, [core.String]), + [S$3._matches]: dart.fnType(core.bool, [core.String]), + [S$3._strip]: dart.fnType(core.String, [core.String]), + [S$3._toCamelCase]: dart.fnType(core.String, [core.String], {startUppercase: core.bool}, {}), + [S$3._toHyphenedName]: dart.fnType(core.String, [core.String]) + })); + dart.setGetterSignature(html$._DataAttributeMap, () => ({ + __proto__: dart.getGetters(html$._DataAttributeMap.__proto__), + keys: core.Iterable$(core.String), + [$keys]: core.Iterable$(core.String) + })); + dart.setLibraryUri(html$._DataAttributeMap, I[148]); + dart.setFieldSignature(html$._DataAttributeMap, () => ({ + __proto__: dart.getFields(html$._DataAttributeMap.__proto__), + [S._attributes$1]: dart.finalFieldType(core.Map$(core.String, core.String)) + })); + dart.defineExtensionMethods(html$._DataAttributeMap, [ + 'addAll', + 'cast', + 'containsValue', + 'containsKey', + '_get', + '_set', + 'putIfAbsent', + 'remove', + 'clear', + 'forEach' + ]); + dart.defineExtensionAccessors(html$._DataAttributeMap, [ + 'keys', + 'values', + 'length', + 'isEmpty', + 'isNotEmpty' + ]); + html$.CanvasImageSource = class CanvasImageSource extends core.Object {}; + (html$.CanvasImageSource.new = function() { + ; + }).prototype = html$.CanvasImageSource.prototype; + dart.addTypeTests(html$.CanvasImageSource); + dart.addTypeCaches(html$.CanvasImageSource); + dart.setLibraryUri(html$.CanvasImageSource, I[148]); + html$.WindowBase = class WindowBase extends core.Object {}; + (html$.WindowBase.new = function() { + ; + }).prototype = html$.WindowBase.prototype; + dart.addTypeTests(html$.WindowBase); + dart.addTypeCaches(html$.WindowBase); + html$.WindowBase[dart.implements] = () => [html$.EventTarget]; + dart.setLibraryUri(html$.WindowBase, I[148]); + html$.LocationBase = class LocationBase extends core.Object {}; + (html$.LocationBase.new = function() { + ; + }).prototype = html$.LocationBase.prototype; + dart.addTypeTests(html$.LocationBase); + dart.addTypeCaches(html$.LocationBase); + dart.setLibraryUri(html$.LocationBase, I[148]); + html$.HistoryBase = class HistoryBase extends core.Object {}; + (html$.HistoryBase.new = function() { + ; + }).prototype = html$.HistoryBase.prototype; + dart.addTypeTests(html$.HistoryBase); + dart.addTypeCaches(html$.HistoryBase); + dart.setLibraryUri(html$.HistoryBase, I[148]); + html$.CssClassSet = class CssClassSet extends core.Object { + [Symbol.iterator]() { + return new dart.JsIterator(this[$iterator]); + } + }; + (html$.CssClassSet.new = function() { + ; + }).prototype = html$.CssClassSet.prototype; + dart.addTypeTests(html$.CssClassSet); + dart.addTypeCaches(html$.CssClassSet); + html$.CssClassSet[dart.implements] = () => [core.Set$(core.String)]; + dart.setLibraryUri(html$.CssClassSet, I[148]); + html$.CssRect = class CssRect extends core.Object { + set height(newHeight) { + dart.throw(new core.UnsupportedError.new("Can only set height for content rect.")); + } + set width(newWidth) { + dart.throw(new core.UnsupportedError.new("Can only set width for content rect.")); + } + [S$3._addOrSubtractToBoxModel](dimensions, augmentingMeasurement) { + if (dimensions == null) dart.nullFailed(I[147], 36557, 20, "dimensions"); + if (augmentingMeasurement == null) dart.nullFailed(I[147], 36557, 39, "augmentingMeasurement"); + let styles = this[S$1._element$2][S.$getComputedStyle](); + let val = 0; + for (let measurement of dimensions) { + if (augmentingMeasurement == html$._MARGIN) { + val = val + dart.notNull(new html$.Dimension.css(styles[S$.$getPropertyValue](dart.str(augmentingMeasurement) + "-" + dart.str(measurement))).value); + } + if (augmentingMeasurement == html$._CONTENT) { + val = val - dart.notNull(new html$.Dimension.css(styles[S$.$getPropertyValue](dart.str(html$._PADDING) + "-" + dart.str(measurement))).value); + } + if (augmentingMeasurement != html$._MARGIN) { + val = val - dart.notNull(new html$.Dimension.css(styles[S$.$getPropertyValue]("border-" + dart.str(measurement) + "-width")).value); + } + } + return val; + } + get right() { + return dart.notNull(this.left) + dart.notNull(this.width); + } + get bottom() { + return dart.notNull(this.top) + dart.notNull(this.height); + } + toString() { + return "Rectangle (" + dart.str(this.left) + ", " + dart.str(this.top) + ") " + dart.str(this.width) + " x " + dart.str(this.height); + } + _equals(other) { + if (other == null) return false; + return T$0.RectangleOfnum().is(other) && this.left == other[$left] && this.top == other[$top] && this.right == other[$right] && this.bottom == other[$bottom]; + } + get hashCode() { + return html$._JenkinsSmiHash.hash4(dart.hashCode(this.left), dart.hashCode(this.top), dart.hashCode(this.right), dart.hashCode(this.bottom)); + } + intersection(other) { + T$0.RectangleOfnum().as(other); + if (other == null) dart.nullFailed(I[147], 36623, 47, "other"); + let x0 = math.max(core.num, this.left, other[$left]); + let x1 = math.min(core.num, dart.notNull(this.left) + dart.notNull(this.width), dart.notNull(other[$left]) + dart.notNull(other[$width])); + if (x0 <= x1) { + let y0 = math.max(core.num, this.top, other[$top]); + let y1 = math.min(core.num, dart.notNull(this.top) + dart.notNull(this.height), dart.notNull(other[$top]) + dart.notNull(other[$height])); + if (y0 <= y1) { + return new (T$0.RectangleOfnum()).new(x0, y0, x1 - x0, y1 - y0); + } + } + return null; + } + intersects(other) { + if (other == null) dart.nullFailed(I[147], 36641, 34, "other"); + return dart.notNull(this.left) <= dart.notNull(other[$left]) + dart.notNull(other[$width]) && dart.notNull(other[$left]) <= dart.notNull(this.left) + dart.notNull(this.width) && dart.notNull(this.top) <= dart.notNull(other[$top]) + dart.notNull(other[$height]) && dart.notNull(other[$top]) <= dart.notNull(this.top) + dart.notNull(this.height); + } + boundingBox(other) { + T$0.RectangleOfnum().as(other); + if (other == null) dart.nullFailed(I[147], 36651, 45, "other"); + let right = math.max(core.num, dart.notNull(this.left) + dart.notNull(this.width), dart.notNull(other[$left]) + dart.notNull(other[$width])); + let bottom = math.max(core.num, dart.notNull(this.top) + dart.notNull(this.height), dart.notNull(other[$top]) + dart.notNull(other[$height])); + let left = math.min(core.num, this.left, other[$left]); + let top = math.min(core.num, this.top, other[$top]); + return new (T$0.RectangleOfnum()).new(left, top, right - left, bottom - top); + } + containsRectangle(another) { + if (another == null) dart.nullFailed(I[147], 36664, 41, "another"); + return dart.notNull(this.left) <= dart.notNull(another[$left]) && dart.notNull(this.left) + dart.notNull(this.width) >= dart.notNull(another[$left]) + dart.notNull(another[$width]) && dart.notNull(this.top) <= dart.notNull(another[$top]) && dart.notNull(this.top) + dart.notNull(this.height) >= dart.notNull(another[$top]) + dart.notNull(another[$height]); + } + containsPoint(another) { + if (another == null) dart.nullFailed(I[147], 36674, 33, "another"); + return dart.notNull(another.x) >= dart.notNull(this.left) && dart.notNull(another.x) <= dart.notNull(this.left) + dart.notNull(this.width) && dart.notNull(another.y) >= dart.notNull(this.top) && dart.notNull(another.y) <= dart.notNull(this.top) + dart.notNull(this.height); + } + get topLeft() { + return new (T$0.PointOfnum()).new(this.left, this.top); + } + get topRight() { + return new (T$0.PointOfnum()).new(dart.notNull(this.left) + dart.notNull(this.width), this.top); + } + get bottomRight() { + return new (T$0.PointOfnum()).new(dart.notNull(this.left) + dart.notNull(this.width), dart.notNull(this.top) + dart.notNull(this.height)); + } + get bottomLeft() { + return new (T$0.PointOfnum()).new(this.left, dart.notNull(this.top) + dart.notNull(this.height)); + } + }; + (html$.CssRect.new = function(_element) { + if (_element == null) dart.nullFailed(I[147], 36495, 16, "_element"); + this[S$1._element$2] = _element; + ; + }).prototype = html$.CssRect.prototype; + dart.addTypeTests(html$.CssRect); + dart.addTypeCaches(html$.CssRect); + html$.CssRect[dart.implements] = () => [math.Rectangle$(core.num)]; + dart.setMethodSignature(html$.CssRect, () => ({ + __proto__: dart.getMethods(html$.CssRect.__proto__), + [S$3._addOrSubtractToBoxModel]: dart.fnType(core.num, [core.List$(core.String), core.String]), + intersection: dart.fnType(dart.nullable(math.Rectangle$(core.num)), [dart.nullable(core.Object)]), + [$intersection]: dart.fnType(dart.nullable(math.Rectangle$(core.num)), [dart.nullable(core.Object)]), + intersects: dart.fnType(core.bool, [math.Rectangle$(core.num)]), + [$intersects]: dart.fnType(core.bool, [math.Rectangle$(core.num)]), + boundingBox: dart.fnType(math.Rectangle$(core.num), [dart.nullable(core.Object)]), + [$boundingBox]: dart.fnType(math.Rectangle$(core.num), [dart.nullable(core.Object)]), + containsRectangle: dart.fnType(core.bool, [math.Rectangle$(core.num)]), + [$containsRectangle]: dart.fnType(core.bool, [math.Rectangle$(core.num)]), + containsPoint: dart.fnType(core.bool, [math.Point$(core.num)]), + [$containsPoint]: dart.fnType(core.bool, [math.Point$(core.num)]) + })); + dart.setGetterSignature(html$.CssRect, () => ({ + __proto__: dart.getGetters(html$.CssRect.__proto__), + right: core.num, + [$right]: core.num, + bottom: core.num, + [$bottom]: core.num, + topLeft: math.Point$(core.num), + [$topLeft]: math.Point$(core.num), + topRight: math.Point$(core.num), + [$topRight]: math.Point$(core.num), + bottomRight: math.Point$(core.num), + [$bottomRight]: math.Point$(core.num), + bottomLeft: math.Point$(core.num), + [$bottomLeft]: math.Point$(core.num) + })); + dart.setSetterSignature(html$.CssRect, () => ({ + __proto__: dart.getSetters(html$.CssRect.__proto__), + height: dart.dynamic, + [$height]: dart.dynamic, + width: dart.dynamic, + [$width]: dart.dynamic + })); + dart.setLibraryUri(html$.CssRect, I[148]); + dart.setFieldSignature(html$.CssRect, () => ({ + __proto__: dart.getFields(html$.CssRect.__proto__), + [S$1._element$2]: dart.fieldType(html$.Element) + })); + dart.defineExtensionMethods(html$.CssRect, [ + 'toString', + '_equals', + 'intersection', + 'intersects', + 'boundingBox', + 'containsRectangle', + 'containsPoint' + ]); + dart.defineExtensionAccessors(html$.CssRect, [ + 'height', + 'width', + 'right', + 'bottom', + 'hashCode', + 'topLeft', + 'topRight', + 'bottomRight', + 'bottomLeft' + ]); + html$._ContentCssRect = class _ContentCssRect extends html$.CssRect { + get height() { + return dart.notNull(this[S$1._element$2][S.$offsetHeight]) + dart.notNull(this[S$3._addOrSubtractToBoxModel](html$._HEIGHT, html$._CONTENT)); + } + get width() { + return dart.notNull(this[S$1._element$2][S.$offsetWidth]) + dart.notNull(this[S$3._addOrSubtractToBoxModel](html$._WIDTH, html$._CONTENT)); + } + set height(newHeight) { + if (html$.Dimension.is(newHeight)) { + let newHeightAsDimension = newHeight; + if (dart.notNull(newHeightAsDimension.value) < 0) newHeight = new html$.Dimension.px(0); + this[S$1._element$2].style[$height] = dart.toString(newHeight); + } else if (typeof newHeight == 'number') { + if (dart.notNull(newHeight) < 0) newHeight = 0; + this[S$1._element$2].style[$height] = dart.str(newHeight) + "px"; + } else { + dart.throw(new core.ArgumentError.new("newHeight is not a Dimension or num")); + } + } + set width(newWidth) { + if (html$.Dimension.is(newWidth)) { + let newWidthAsDimension = newWidth; + if (dart.notNull(newWidthAsDimension.value) < 0) newWidth = new html$.Dimension.px(0); + this[S$1._element$2].style[$width] = dart.toString(newWidth); + } else if (typeof newWidth == 'number') { + if (dart.notNull(newWidth) < 0) newWidth = 0; + this[S$1._element$2].style[$width] = dart.str(newWidth) + "px"; + } else { + dart.throw(new core.ArgumentError.new("newWidth is not a Dimension or num")); + } + } + get left() { + return dart.notNull(this[S$1._element$2].getBoundingClientRect()[$left]) - dart.notNull(this[S$3._addOrSubtractToBoxModel](T$.JSArrayOfString().of(["left"]), html$._CONTENT)); + } + get top() { + return dart.notNull(this[S$1._element$2].getBoundingClientRect()[$top]) - dart.notNull(this[S$3._addOrSubtractToBoxModel](T$.JSArrayOfString().of(["top"]), html$._CONTENT)); + } + }; + (html$._ContentCssRect.new = function(element) { + if (element == null) dart.nullFailed(I[147], 36333, 27, "element"); + html$._ContentCssRect.__proto__.new.call(this, element); + ; + }).prototype = html$._ContentCssRect.prototype; + dart.addTypeTests(html$._ContentCssRect); + dart.addTypeCaches(html$._ContentCssRect); + dart.setGetterSignature(html$._ContentCssRect, () => ({ + __proto__: dart.getGetters(html$._ContentCssRect.__proto__), + height: core.num, + [$height]: core.num, + width: core.num, + [$width]: core.num, + left: core.num, + [$left]: core.num, + top: core.num, + [$top]: core.num + })); + dart.setLibraryUri(html$._ContentCssRect, I[148]); + dart.defineExtensionAccessors(html$._ContentCssRect, ['height', 'width', 'left', 'top']); + html$._ContentCssListRect = class _ContentCssListRect extends html$._ContentCssRect { + set height(newHeight) { + this[S$3._elementList][$forEach](dart.fn(e => { + if (e == null) dart.nullFailed(I[147], 36412, 27, "e"); + return e[S.$contentEdge].height = newHeight; + }, T$0.ElementTovoid())); + } + get height() { + return super.height; + } + set width(newWidth) { + this[S$3._elementList][$forEach](dart.fn(e => { + if (e == null) dart.nullFailed(I[147], 36422, 27, "e"); + return e[S.$contentEdge].width = newWidth; + }, T$0.ElementTovoid())); + } + get width() { + return super.width; + } + }; + (html$._ContentCssListRect.new = function(elementList) { + if (elementList == null) dart.nullFailed(I[147], 36399, 37, "elementList"); + this[S$3._elementList] = elementList; + html$._ContentCssListRect.__proto__.new.call(this, elementList[$first]); + ; + }).prototype = html$._ContentCssListRect.prototype; + dart.addTypeTests(html$._ContentCssListRect); + dart.addTypeCaches(html$._ContentCssListRect); + dart.setLibraryUri(html$._ContentCssListRect, I[148]); + dart.setFieldSignature(html$._ContentCssListRect, () => ({ + __proto__: dart.getFields(html$._ContentCssListRect.__proto__), + [S$3._elementList]: dart.fieldType(core.List$(html$.Element)) + })); + dart.defineExtensionAccessors(html$._ContentCssListRect, ['height', 'width']); + html$._PaddingCssRect = class _PaddingCssRect extends html$.CssRect { + get height() { + return dart.notNull(this[S$1._element$2][S.$offsetHeight]) + dart.notNull(this[S$3._addOrSubtractToBoxModel](html$._HEIGHT, html$._PADDING)); + } + set height(value) { + super.height = value; + } + get width() { + return dart.notNull(this[S$1._element$2][S.$offsetWidth]) + dart.notNull(this[S$3._addOrSubtractToBoxModel](html$._WIDTH, html$._PADDING)); + } + set width(value) { + super.width = value; + } + get left() { + return dart.notNull(this[S$1._element$2].getBoundingClientRect()[$left]) - dart.notNull(this[S$3._addOrSubtractToBoxModel](T$.JSArrayOfString().of(["left"]), html$._PADDING)); + } + get top() { + return dart.notNull(this[S$1._element$2].getBoundingClientRect()[$top]) - dart.notNull(this[S$3._addOrSubtractToBoxModel](T$.JSArrayOfString().of(["top"]), html$._PADDING)); + } + }; + (html$._PaddingCssRect.new = function(element) { + html$._PaddingCssRect.__proto__.new.call(this, html$.Element.as(element)); + ; + }).prototype = html$._PaddingCssRect.prototype; + dart.addTypeTests(html$._PaddingCssRect); + dart.addTypeCaches(html$._PaddingCssRect); + dart.setGetterSignature(html$._PaddingCssRect, () => ({ + __proto__: dart.getGetters(html$._PaddingCssRect.__proto__), + height: core.num, + [$height]: core.num, + width: core.num, + [$width]: core.num, + left: core.num, + [$left]: core.num, + top: core.num, + [$top]: core.num + })); + dart.setLibraryUri(html$._PaddingCssRect, I[148]); + dart.defineExtensionAccessors(html$._PaddingCssRect, ['height', 'width', 'left', 'top']); + html$._BorderCssRect = class _BorderCssRect extends html$.CssRect { + get height() { + return this[S$1._element$2][S.$offsetHeight]; + } + set height(value) { + super.height = value; + } + get width() { + return this[S$1._element$2][S.$offsetWidth]; + } + set width(value) { + super.width = value; + } + get left() { + return this[S$1._element$2].getBoundingClientRect()[$left]; + } + get top() { + return this[S$1._element$2].getBoundingClientRect()[$top]; + } + }; + (html$._BorderCssRect.new = function(element) { + html$._BorderCssRect.__proto__.new.call(this, html$.Element.as(element)); + ; + }).prototype = html$._BorderCssRect.prototype; + dart.addTypeTests(html$._BorderCssRect); + dart.addTypeCaches(html$._BorderCssRect); + dart.setGetterSignature(html$._BorderCssRect, () => ({ + __proto__: dart.getGetters(html$._BorderCssRect.__proto__), + height: core.num, + [$height]: core.num, + width: core.num, + [$width]: core.num, + left: core.num, + [$left]: core.num, + top: core.num, + [$top]: core.num + })); + dart.setLibraryUri(html$._BorderCssRect, I[148]); + dart.defineExtensionAccessors(html$._BorderCssRect, ['height', 'width', 'left', 'top']); + html$._MarginCssRect = class _MarginCssRect extends html$.CssRect { + get height() { + return dart.notNull(this[S$1._element$2][S.$offsetHeight]) + dart.notNull(this[S$3._addOrSubtractToBoxModel](html$._HEIGHT, html$._MARGIN)); + } + set height(value) { + super.height = value; + } + get width() { + return dart.notNull(this[S$1._element$2][S.$offsetWidth]) + dart.notNull(this[S$3._addOrSubtractToBoxModel](html$._WIDTH, html$._MARGIN)); + } + set width(value) { + super.width = value; + } + get left() { + return dart.notNull(this[S$1._element$2].getBoundingClientRect()[$left]) - dart.notNull(this[S$3._addOrSubtractToBoxModel](T$.JSArrayOfString().of(["left"]), html$._MARGIN)); + } + get top() { + return dart.notNull(this[S$1._element$2].getBoundingClientRect()[$top]) - dart.notNull(this[S$3._addOrSubtractToBoxModel](T$.JSArrayOfString().of(["top"]), html$._MARGIN)); + } + }; + (html$._MarginCssRect.new = function(element) { + html$._MarginCssRect.__proto__.new.call(this, html$.Element.as(element)); + ; + }).prototype = html$._MarginCssRect.prototype; + dart.addTypeTests(html$._MarginCssRect); + dart.addTypeCaches(html$._MarginCssRect); + dart.setGetterSignature(html$._MarginCssRect, () => ({ + __proto__: dart.getGetters(html$._MarginCssRect.__proto__), + height: core.num, + [$height]: core.num, + width: core.num, + [$width]: core.num, + left: core.num, + [$left]: core.num, + top: core.num, + [$top]: core.num + })); + dart.setLibraryUri(html$._MarginCssRect, I[148]); + dart.defineExtensionAccessors(html$._MarginCssRect, ['height', 'width', 'left', 'top']); + html_common.CssClassSetImpl = class CssClassSetImpl extends collection.SetBase$(core.String) { + [S$3._validateToken](value) { + if (value == null) dart.nullFailed(I[149], 10, 32, "value"); + if (dart.test(html_common.CssClassSetImpl._validTokenRE.hasMatch(value))) return value; + dart.throw(new core.ArgumentError.value(value, "value", "Not a valid class token")); + } + toString() { + return this.readClasses()[$join](" "); + } + toggle(value, shouldAdd = null) { + if (value == null) dart.nullFailed(I[149], 26, 22, "value"); + this[S$3._validateToken](value); + let s = this.readClasses(); + let result = false; + if (shouldAdd == null) shouldAdd = !dart.test(s.contains(value)); + if (dart.test(shouldAdd)) { + s.add(value); + result = true; + } else { + s.remove(value); + } + this.writeClasses(s); + return result; + } + get frozen() { + return false; + } + get iterator() { + return this.readClasses().iterator; + } + forEach(f) { + if (f == null) dart.nullFailed(I[149], 52, 21, "f"); + this.readClasses()[$forEach](f); + } + join(separator = "") { + if (separator == null) dart.nullFailed(I[149], 56, 23, "separator"); + return this.readClasses()[$join](separator); + } + map(T, f) { + if (f == null) dart.nullFailed(I[149], 58, 24, "f"); + return this.readClasses()[$map](T, f); + } + where(f) { + if (f == null) dart.nullFailed(I[149], 60, 31, "f"); + return this.readClasses()[$where](f); + } + expand(T, f) { + if (f == null) dart.nullFailed(I[149], 62, 37, "f"); + return this.readClasses()[$expand](T, f); + } + every(f) { + if (f == null) dart.nullFailed(I[149], 65, 19, "f"); + return this.readClasses()[$every](f); + } + any(f) { + if (f == null) dart.nullFailed(I[149], 67, 17, "f"); + return this.readClasses()[$any](f); + } + get isEmpty() { + return this.readClasses()[$isEmpty]; + } + get isNotEmpty() { + return this.readClasses()[$isNotEmpty]; + } + get length() { + return this.readClasses()[$length]; + } + reduce(combine) { + T$0.StringAndStringToString().as(combine); + if (combine == null) dart.nullFailed(I[149], 75, 24, "combine"); + return this.readClasses()[$reduce](combine); + } + fold(T, initialValue, combine) { + if (combine == null) dart.nullFailed(I[149], 79, 31, "combine"); + return this.readClasses()[$fold](T, initialValue, combine); + } + contains(value) { + if (!(typeof value == 'string')) return false; + this[S$3._validateToken](value); + return this.readClasses().contains(value); + } + lookup(value) { + return dart.test(this.contains(value)) ? core.String.as(value) : null; + } + add(value) { + let t241; + core.String.as(value); + if (value == null) dart.nullFailed(I[149], 107, 19, "value"); + this[S$3._validateToken](value); + return core.bool.as((t241 = this.modify(dart.fn(s => { + if (s == null) dart.nullFailed(I[149], 111, 20, "s"); + return s.add(value); + }, T$0.SetOfStringTobool())), t241 == null ? false : t241)); + } + remove(value) { + if (!(typeof value == 'string')) return false; + this[S$3._validateToken](value); + let s = this.readClasses(); + let result = s.remove(value); + this.writeClasses(s); + return result; + } + addAll(iterable) { + T$0.IterableOfString().as(iterable); + if (iterable == null) dart.nullFailed(I[149], 136, 32, "iterable"); + this.modify(dart.fn(s => { + if (s == null) dart.nullFailed(I[149], 138, 13, "s"); + return s.addAll(iterable[$map](core.String, dart.bind(this, S$3._validateToken))); + }, T$0.SetOfStringTovoid())); + } + removeAll(iterable) { + if (iterable == null) dart.nullFailed(I[149], 147, 36, "iterable"); + this.modify(dart.fn(s => { + if (s == null) dart.nullFailed(I[149], 148, 13, "s"); + return s.removeAll(iterable); + }, T$0.SetOfStringTovoid())); + } + toggleAll(iterable, shouldAdd = null) { + if (iterable == null) dart.nullFailed(I[149], 161, 35, "iterable"); + iterable[$forEach](dart.fn(e => { + if (e == null) dart.nullFailed(I[149], 162, 23, "e"); + return this.toggle(e, shouldAdd); + }, T$.StringTovoid())); + } + retainAll(iterable) { + if (iterable == null) dart.nullFailed(I[149], 165, 36, "iterable"); + this.modify(dart.fn(s => { + if (s == null) dart.nullFailed(I[149], 166, 13, "s"); + return s.retainAll(iterable); + }, T$0.SetOfStringTovoid())); + } + removeWhere(test) { + if (test == null) dart.nullFailed(I[149], 169, 25, "test"); + this.modify(dart.fn(s => { + if (s == null) dart.nullFailed(I[149], 170, 13, "s"); + return s.removeWhere(test); + }, T$0.SetOfStringTovoid())); + } + retainWhere(test) { + if (test == null) dart.nullFailed(I[149], 173, 25, "test"); + this.modify(dart.fn(s => { + if (s == null) dart.nullFailed(I[149], 174, 13, "s"); + return s.retainWhere(test); + }, T$0.SetOfStringTovoid())); + } + containsAll(collection) { + if (collection == null) dart.nullFailed(I[149], 177, 38, "collection"); + return this.readClasses().containsAll(collection); + } + intersection(other) { + if (other == null) dart.nullFailed(I[149], 180, 41, "other"); + return this.readClasses().intersection(other); + } + union(other) { + T$0.SetOfString().as(other); + if (other == null) dart.nullFailed(I[149], 183, 33, "other"); + return this.readClasses().union(other); + } + difference(other) { + if (other == null) dart.nullFailed(I[149], 185, 39, "other"); + return this.readClasses().difference(other); + } + get first() { + return this.readClasses()[$first]; + } + get last() { + return this.readClasses()[$last]; + } + get single() { + return this.readClasses()[$single]; + } + toList(opts) { + let growable = opts && 'growable' in opts ? opts.growable : true; + if (growable == null) dart.nullFailed(I[149], 190, 29, "growable"); + return this.readClasses()[$toList]({growable: growable}); + } + toSet() { + return this.readClasses().toSet(); + } + take(n) { + if (n == null) dart.nullFailed(I[149], 193, 29, "n"); + return this.readClasses()[$take](n); + } + takeWhile(test) { + if (test == null) dart.nullFailed(I[149], 194, 35, "test"); + return this.readClasses()[$takeWhile](test); + } + skip(n) { + if (n == null) dart.nullFailed(I[149], 196, 29, "n"); + return this.readClasses()[$skip](n); + } + skipWhile(test) { + if (test == null) dart.nullFailed(I[149], 197, 35, "test"); + return this.readClasses()[$skipWhile](test); + } + firstWhere(test, opts) { + if (test == null) dart.nullFailed(I[149], 199, 26, "test"); + let orElse = opts && 'orElse' in opts ? opts.orElse : null; + T$0.VoidToNString().as(orElse); + return this.readClasses()[$firstWhere](test, {orElse: orElse}); + } + lastWhere(test, opts) { + if (test == null) dart.nullFailed(I[149], 201, 25, "test"); + let orElse = opts && 'orElse' in opts ? opts.orElse : null; + T$0.VoidToNString().as(orElse); + return this.readClasses()[$lastWhere](test, {orElse: orElse}); + } + singleWhere(test, opts) { + if (test == null) dart.nullFailed(I[149], 203, 27, "test"); + let orElse = opts && 'orElse' in opts ? opts.orElse : null; + T$0.VoidToNString().as(orElse); + return this.readClasses()[$singleWhere](test, {orElse: orElse}); + } + elementAt(index) { + if (index == null) dart.nullFailed(I[149], 205, 24, "index"); + return this.readClasses()[$elementAt](index); + } + clear() { + this.modify(dart.fn(s => { + if (s == null) dart.nullFailed(I[149], 209, 13, "s"); + return s.clear(); + }, T$0.SetOfStringTovoid())); + } + modify(f) { + if (f == null) dart.nullFailed(I[149], 222, 10, "f"); + let s = this.readClasses(); + let ret = f(s); + this.writeClasses(s); + return ret; + } + }; + (html_common.CssClassSetImpl.new = function() { + ; + }).prototype = html_common.CssClassSetImpl.prototype; + dart.addTypeTests(html_common.CssClassSetImpl); + dart.addTypeCaches(html_common.CssClassSetImpl); + html_common.CssClassSetImpl[dart.implements] = () => [html$.CssClassSet]; + dart.setMethodSignature(html_common.CssClassSetImpl, () => ({ + __proto__: dart.getMethods(html_common.CssClassSetImpl.__proto__), + [S$3._validateToken]: dart.fnType(core.String, [core.String]), + toggle: dart.fnType(core.bool, [core.String], [dart.nullable(core.bool)]), + map: dart.gFnType(T => [core.Iterable$(T), [dart.fnType(T, [core.String])]], T => [dart.nullable(core.Object)]), + [$map]: dart.gFnType(T => [core.Iterable$(T), [dart.fnType(T, [core.String])]], T => [dart.nullable(core.Object)]), + expand: dart.gFnType(T => [core.Iterable$(T), [dart.fnType(core.Iterable$(T), [core.String])]], T => [dart.nullable(core.Object)]), + [$expand]: dart.gFnType(T => [core.Iterable$(T), [dart.fnType(core.Iterable$(T), [core.String])]], T => [dart.nullable(core.Object)]), + fold: dart.gFnType(T => [T, [T, dart.fnType(T, [T, core.String])]], T => [dart.nullable(core.Object)]), + [$fold]: dart.gFnType(T => [T, [T, dart.fnType(T, [T, core.String])]], T => [dart.nullable(core.Object)]), + contains: dart.fnType(core.bool, [dart.nullable(core.Object)]), + [$contains]: dart.fnType(core.bool, [dart.nullable(core.Object)]), + lookup: dart.fnType(dart.nullable(core.String), [dart.nullable(core.Object)]), + add: dart.fnType(core.bool, [dart.nullable(core.Object)]), + remove: dart.fnType(core.bool, [dart.nullable(core.Object)]), + toggleAll: dart.fnType(dart.void, [core.Iterable$(core.String)], [dart.nullable(core.bool)]), + toSet: dart.fnType(core.Set$(core.String), []), + [$toSet]: dart.fnType(core.Set$(core.String), []), + modify: dart.fnType(dart.dynamic, [dart.fnType(dart.dynamic, [core.Set$(core.String)])]) + })); + dart.setGetterSignature(html_common.CssClassSetImpl, () => ({ + __proto__: dart.getGetters(html_common.CssClassSetImpl.__proto__), + frozen: core.bool, + iterator: core.Iterator$(core.String), + [$iterator]: core.Iterator$(core.String), + length: core.int, + [$length]: core.int + })); + dart.setLibraryUri(html_common.CssClassSetImpl, I[150]); + dart.defineExtensionMethods(html_common.CssClassSetImpl, [ + 'toString', + 'forEach', + 'join', + 'map', + 'where', + 'expand', + 'every', + 'any', + 'reduce', + 'fold', + 'contains', + 'toList', + 'toSet', + 'take', + 'takeWhile', + 'skip', + 'skipWhile', + 'firstWhere', + 'lastWhere', + 'singleWhere', + 'elementAt' + ]); + dart.defineExtensionAccessors(html_common.CssClassSetImpl, [ + 'iterator', + 'isEmpty', + 'isNotEmpty', + 'length', + 'first', + 'last', + 'single' + ]); + dart.defineLazy(html_common.CssClassSetImpl, { + /*html_common.CssClassSetImpl._validTokenRE*/get _validTokenRE() { + return core.RegExp.new("^\\S+$"); + } + }, false); + html$._MultiElementCssClassSet = class _MultiElementCssClassSet extends html_common.CssClassSetImpl { + static new(elements) { + if (elements == null) dart.nullFailed(I[147], 36708, 54, "elements"); + return new html$._MultiElementCssClassSet.__(elements, T$0.ListOfCssClassSetImpl().from(elements[$map](dart.dynamic, dart.fn(e => { + if (e == null) dart.nullFailed(I[147], 36710, 62, "e"); + return e[S.$classes]; + }, T$0.ElementToCssClassSet())))); + } + readClasses() { + let s = new (T$0._IdentityHashSetOfString()).new(); + this[S$3._sets][$forEach](dart.fn(e => { + if (e == null) dart.nullFailed(I[147], 36717, 36, "e"); + return s.addAll(e.readClasses()); + }, T$0.CssClassSetImplTovoid())); + return s; + } + writeClasses(s) { + if (s == null) dart.nullFailed(I[147], 36721, 33, "s"); + let classes = s[$join](" "); + for (let e of this[S$0._elementIterable]) { + e.className = classes; + } + } + modify(f) { + if (f == null) dart.nullFailed(I[147], 36737, 10, "f"); + this[S$3._sets][$forEach](dart.fn(e => { + if (e == null) dart.nullFailed(I[147], 36738, 36, "e"); + return e.modify(f); + }, T$0.CssClassSetImplTovoid())); + } + toggle(value, shouldAdd = null) { + if (value == null) dart.nullFailed(I[147], 36748, 22, "value"); + return this[S$3._sets][$fold](core.bool, false, dart.fn((changed, e) => { + if (changed == null) dart.nullFailed(I[147], 36750, 13, "changed"); + if (e == null) dart.nullFailed(I[147], 36750, 38, "e"); + return dart.test(e.toggle(value, shouldAdd)) || dart.test(changed); + }, T$0.boolAndCssClassSetImplTobool())); + } + remove(value) { + return this[S$3._sets][$fold](core.bool, false, dart.fn((changed, e) => { + if (changed == null) dart.nullFailed(I[147], 36761, 20, "changed"); + if (e == null) dart.nullFailed(I[147], 36761, 45, "e"); + return dart.test(e.remove(value)) || dart.test(changed); + }, T$0.boolAndCssClassSetImplTobool())); + } + }; + (html$._MultiElementCssClassSet.__ = function(_elementIterable, _sets) { + if (_elementIterable == null) dart.nullFailed(I[147], 36713, 35, "_elementIterable"); + if (_sets == null) dart.nullFailed(I[147], 36713, 58, "_sets"); + this[S$0._elementIterable] = _elementIterable; + this[S$3._sets] = _sets; + ; + }).prototype = html$._MultiElementCssClassSet.prototype; + dart.addTypeTests(html$._MultiElementCssClassSet); + dart.addTypeCaches(html$._MultiElementCssClassSet); + dart.setMethodSignature(html$._MultiElementCssClassSet, () => ({ + __proto__: dart.getMethods(html$._MultiElementCssClassSet.__proto__), + readClasses: dart.fnType(core.Set$(core.String), []), + writeClasses: dart.fnType(dart.void, [core.Set$(core.String)]) + })); + dart.setLibraryUri(html$._MultiElementCssClassSet, I[148]); + dart.setFieldSignature(html$._MultiElementCssClassSet, () => ({ + __proto__: dart.getFields(html$._MultiElementCssClassSet.__proto__), + [S$0._elementIterable]: dart.finalFieldType(core.Iterable$(html$.Element)), + [S$3._sets]: dart.finalFieldType(core.List$(html_common.CssClassSetImpl)) + })); + html$._ElementCssClassSet = class _ElementCssClassSet extends html_common.CssClassSetImpl { + readClasses() { + let s = new (T$0._IdentityHashSetOfString()).new(); + let classname = this[S$1._element$2].className; + for (let name of classname[$split](" ")) { + let trimmed = name[$trim](); + if (!trimmed[$isEmpty]) { + s.add(trimmed); + } + } + return s; + } + writeClasses(s) { + if (s == null) dart.nullFailed(I[147], 36782, 33, "s"); + this[S$1._element$2].className = s[$join](" "); + } + get length() { + return html$._ElementCssClassSet._classListLength(html$._ElementCssClassSet._classListOf(this[S$1._element$2])); + } + get isEmpty() { + return this.length === 0; + } + get isNotEmpty() { + return this.length !== 0; + } + clear() { + this[S$1._element$2].className = ""; + } + contains(value) { + return html$._ElementCssClassSet._contains(this[S$1._element$2], value); + } + add(value) { + core.String.as(value); + if (value == null) dart.nullFailed(I[147], 36798, 19, "value"); + return html$._ElementCssClassSet._add(this[S$1._element$2], value); + } + remove(value) { + return typeof value == 'string' && dart.test(html$._ElementCssClassSet._remove(this[S$1._element$2], value)); + } + toggle(value, shouldAdd = null) { + if (value == null) dart.nullFailed(I[147], 36806, 22, "value"); + return html$._ElementCssClassSet._toggle(this[S$1._element$2], value, shouldAdd); + } + addAll(iterable) { + T$0.IterableOfString().as(iterable); + if (iterable == null) dart.nullFailed(I[147], 36810, 32, "iterable"); + html$._ElementCssClassSet._addAll(this[S$1._element$2], iterable); + } + removeAll(iterable) { + if (iterable == null) dart.nullFailed(I[147], 36814, 36, "iterable"); + html$._ElementCssClassSet._removeAll(this[S$1._element$2], iterable); + } + retainAll(iterable) { + if (iterable == null) dart.nullFailed(I[147], 36818, 36, "iterable"); + html$._ElementCssClassSet._removeWhere(this[S$1._element$2], dart.bind(iterable[$toSet](), 'contains'), false); + } + removeWhere(test) { + if (test == null) dart.nullFailed(I[147], 36822, 25, "test"); + html$._ElementCssClassSet._removeWhere(this[S$1._element$2], test, true); + } + retainWhere(test) { + if (test == null) dart.nullFailed(I[147], 36826, 25, "test"); + html$._ElementCssClassSet._removeWhere(this[S$1._element$2], test, false); + } + static _contains(_element, value) { + if (_element == null) dart.nullFailed(I[147], 36830, 33, "_element"); + return typeof value == 'string' && dart.test(html$._ElementCssClassSet._classListContains(html$._ElementCssClassSet._classListOf(_element), value)); + } + static _add(_element, value) { + if (_element == null) dart.nullFailed(I[147], 36835, 28, "_element"); + if (value == null) dart.nullFailed(I[147], 36835, 45, "value"); + let list = html$._ElementCssClassSet._classListOf(_element); + let added = !dart.test(html$._ElementCssClassSet._classListContainsBeforeAddOrRemove(list, value)); + html$._ElementCssClassSet._classListAdd(list, value); + return added; + } + static _remove(_element, value) { + if (_element == null) dart.nullFailed(I[147], 36844, 31, "_element"); + if (value == null) dart.nullFailed(I[147], 36844, 48, "value"); + let list = html$._ElementCssClassSet._classListOf(_element); + let removed = html$._ElementCssClassSet._classListContainsBeforeAddOrRemove(list, value); + html$._ElementCssClassSet._classListRemove(list, value); + return removed; + } + static _toggle(_element, value, shouldAdd) { + if (_element == null) dart.nullFailed(I[147], 36851, 31, "_element"); + if (value == null) dart.nullFailed(I[147], 36851, 48, "value"); + return shouldAdd == null ? html$._ElementCssClassSet._toggleDefault(_element, value) : html$._ElementCssClassSet._toggleOnOff(_element, value, shouldAdd); + } + static _toggleDefault(_element, value) { + if (_element == null) dart.nullFailed(I[147], 36860, 38, "_element"); + if (value == null) dart.nullFailed(I[147], 36860, 55, "value"); + let list = html$._ElementCssClassSet._classListOf(_element); + return html$._ElementCssClassSet._classListToggle1(list, value); + } + static _toggleOnOff(_element, value, shouldAdd) { + let t241; + if (_element == null) dart.nullFailed(I[147], 36865, 36, "_element"); + if (value == null) dart.nullFailed(I[147], 36865, 53, "value"); + let list = html$._ElementCssClassSet._classListOf(_element); + if (dart.test((t241 = shouldAdd, t241 == null ? false : t241))) { + html$._ElementCssClassSet._classListAdd(list, value); + return true; + } else { + html$._ElementCssClassSet._classListRemove(list, value); + return false; + } + } + static _addAll(_element, iterable) { + if (_element == null) dart.nullFailed(I[147], 36880, 31, "_element"); + if (iterable == null) dart.nullFailed(I[147], 36880, 58, "iterable"); + let list = html$._ElementCssClassSet._classListOf(_element); + for (let value of iterable) { + html$._ElementCssClassSet._classListAdd(list, value); + } + } + static _removeAll(_element, iterable) { + if (_element == null) dart.nullFailed(I[147], 36887, 34, "_element"); + if (iterable == null) dart.nullFailed(I[147], 36887, 62, "iterable"); + let list = html$._ElementCssClassSet._classListOf(_element); + for (let value of iterable) { + html$._ElementCssClassSet._classListRemove(list, core.String.as(value)); + } + } + static _removeWhere(_element, test, doRemove) { + if (_element == null) dart.nullFailed(I[147], 36895, 15, "_element"); + if (test == null) dart.nullFailed(I[147], 36895, 30, "test"); + if (doRemove == null) dart.nullFailed(I[147], 36895, 54, "doRemove"); + let list = html$._ElementCssClassSet._classListOf(_element); + let i = 0; + while (i < dart.notNull(html$._ElementCssClassSet._classListLength(list))) { + let item = dart.nullCheck(list.item(i)); + if (doRemove == test(item)) { + html$._ElementCssClassSet._classListRemove(list, item); + } else { + i = i + 1; + } + } + } + static _classListOf(e) { + if (e == null) dart.nullFailed(I[147], 36912, 44, "e"); + return e.classList; + } + static _classListLength(list) { + if (list == null) dart.nullFailed(I[147], 36917, 44, "list"); + return list.length; + } + static _classListContains(list, value) { + if (list == null) dart.nullFailed(I[147], 36920, 47, "list"); + if (value == null) dart.nullFailed(I[147], 36920, 60, "value"); + return list.contains(value); + } + static _classListContainsBeforeAddOrRemove(list, value) { + if (list == null) dart.nullFailed(I[147], 36924, 24, "list"); + if (value == null) dart.nullFailed(I[147], 36924, 37, "value"); + return list.contains(value); + } + static _classListAdd(list, value) { + if (list == null) dart.nullFailed(I[147], 36933, 42, "list"); + if (value == null) dart.nullFailed(I[147], 36933, 55, "value"); + list.add(value); + } + static _classListRemove(list, value) { + if (list == null) dart.nullFailed(I[147], 36938, 45, "list"); + if (value == null) dart.nullFailed(I[147], 36938, 58, "value"); + list.remove(value); + } + static _classListToggle1(list, value) { + if (list == null) dart.nullFailed(I[147], 36943, 46, "list"); + if (value == null) dart.nullFailed(I[147], 36943, 59, "value"); + return list.toggle(value); + } + static _classListToggle2(list, value, shouldAdd) { + if (list == null) dart.nullFailed(I[147], 36948, 20, "list"); + if (value == null) dart.nullFailed(I[147], 36948, 33, "value"); + return list.toggle(value, shouldAdd); + } + }; + (html$._ElementCssClassSet.new = function(_element) { + if (_element == null) dart.nullFailed(I[147], 36767, 28, "_element"); + this[S$1._element$2] = _element; + ; + }).prototype = html$._ElementCssClassSet.prototype; + dart.addTypeTests(html$._ElementCssClassSet); + dart.addTypeCaches(html$._ElementCssClassSet); + dart.setMethodSignature(html$._ElementCssClassSet, () => ({ + __proto__: dart.getMethods(html$._ElementCssClassSet.__proto__), + readClasses: dart.fnType(core.Set$(core.String), []), + writeClasses: dart.fnType(dart.void, [core.Set$(core.String)]) + })); + dart.setLibraryUri(html$._ElementCssClassSet, I[148]); + dart.setFieldSignature(html$._ElementCssClassSet, () => ({ + __proto__: dart.getFields(html$._ElementCssClassSet.__proto__), + [S$1._element$2]: dart.finalFieldType(html$.Element) + })); + dart.defineExtensionMethods(html$._ElementCssClassSet, ['contains']); + dart.defineExtensionAccessors(html$._ElementCssClassSet, ['length', 'isEmpty', 'isNotEmpty']); + html$.Dimension = class Dimension extends core.Object { + toString() { + return dart.str(this[S$1._value$7]) + dart.str(this[S$3._unit]); + } + get value() { + return this[S$1._value$7]; + } + }; + (html$.Dimension.percent = function(_value) { + if (_value == null) dart.nullFailed(I[147], 36963, 26, "_value"); + this[S$1._value$7] = _value; + this[S$3._unit] = "%"; + ; + }).prototype = html$.Dimension.prototype; + (html$.Dimension.px = function(_value) { + if (_value == null) dart.nullFailed(I[147], 36966, 21, "_value"); + this[S$1._value$7] = _value; + this[S$3._unit] = "px"; + ; + }).prototype = html$.Dimension.prototype; + (html$.Dimension.pc = function(_value) { + if (_value == null) dart.nullFailed(I[147], 36969, 21, "_value"); + this[S$1._value$7] = _value; + this[S$3._unit] = "pc"; + ; + }).prototype = html$.Dimension.prototype; + (html$.Dimension.pt = function(_value) { + if (_value == null) dart.nullFailed(I[147], 36972, 21, "_value"); + this[S$1._value$7] = _value; + this[S$3._unit] = "pt"; + ; + }).prototype = html$.Dimension.prototype; + (html$.Dimension.inch = function(_value) { + if (_value == null) dart.nullFailed(I[147], 36975, 23, "_value"); + this[S$1._value$7] = _value; + this[S$3._unit] = "in"; + ; + }).prototype = html$.Dimension.prototype; + (html$.Dimension.cm = function(_value) { + if (_value == null) dart.nullFailed(I[147], 36978, 21, "_value"); + this[S$1._value$7] = _value; + this[S$3._unit] = "cm"; + ; + }).prototype = html$.Dimension.prototype; + (html$.Dimension.mm = function(_value) { + if (_value == null) dart.nullFailed(I[147], 36981, 21, "_value"); + this[S$1._value$7] = _value; + this[S$3._unit] = "mm"; + ; + }).prototype = html$.Dimension.prototype; + (html$.Dimension.em = function(_value) { + if (_value == null) dart.nullFailed(I[147], 36990, 21, "_value"); + this[S$1._value$7] = _value; + this[S$3._unit] = "em"; + ; + }).prototype = html$.Dimension.prototype; + (html$.Dimension.ex = function(_value) { + if (_value == null) dart.nullFailed(I[147], 36999, 21, "_value"); + this[S$1._value$7] = _value; + this[S$3._unit] = "ex"; + ; + }).prototype = html$.Dimension.prototype; + (html$.Dimension.css = function(cssValue) { + if (cssValue == null) dart.nullFailed(I[147], 37010, 24, "cssValue"); + this[S$3._unit] = ""; + this[S$1._value$7] = 0; + if (cssValue === "") cssValue = "0px"; + if (cssValue[$endsWith]("%")) { + this[S$3._unit] = "%"; + } else { + this[S$3._unit] = cssValue[$substring](cssValue.length - 2); + } + if (cssValue[$contains](".")) { + this[S$1._value$7] = core.double.parse(cssValue[$substring](0, cssValue.length - this[S$3._unit].length)); + } else { + this[S$1._value$7] = core.int.parse(cssValue[$substring](0, cssValue.length - this[S$3._unit].length)); + } + }).prototype = html$.Dimension.prototype; + dart.addTypeTests(html$.Dimension); + dart.addTypeCaches(html$.Dimension); + dart.setGetterSignature(html$.Dimension, () => ({ + __proto__: dart.getGetters(html$.Dimension.__proto__), + value: core.num + })); + dart.setLibraryUri(html$.Dimension, I[148]); + dart.setFieldSignature(html$.Dimension, () => ({ + __proto__: dart.getFields(html$.Dimension.__proto__), + [S$1._value$7]: dart.fieldType(core.num), + [S$3._unit]: dart.fieldType(core.String) + })); + dart.defineExtensionMethods(html$.Dimension, ['toString']); + const _is_EventStreamProvider_default = Symbol('_is_EventStreamProvider_default'); + html$.EventStreamProvider$ = dart.generic(T => { + var _EventStreamOfT = () => (_EventStreamOfT = dart.constFn(html$._EventStream$(T)))(); + var _ElementEventStreamImplOfT = () => (_ElementEventStreamImplOfT = dart.constFn(html$._ElementEventStreamImpl$(T)))(); + var _ElementListEventStreamImplOfT = () => (_ElementListEventStreamImplOfT = dart.constFn(html$._ElementListEventStreamImpl$(T)))(); + class EventStreamProvider extends core.Object { + get [S$3._eventType$1]() { + return this[S$3._eventType$2]; + } + set [S$3._eventType$1](value) { + super[S$3._eventType$1] = value; + } + forTarget(e, opts) { + let useCapture = opts && 'useCapture' in opts ? opts.useCapture : false; + if (useCapture == null) dart.nullFailed(I[147], 37074, 45, "useCapture"); + return new (_EventStreamOfT()).new(e, this[S$3._eventType$1], useCapture); + } + forElement(e, opts) { + if (e == null) dart.nullFailed(I[147], 37099, 39, "e"); + let useCapture = opts && 'useCapture' in opts ? opts.useCapture : false; + if (useCapture == null) dart.nullFailed(I[147], 37099, 48, "useCapture"); + return new (_ElementEventStreamImplOfT()).new(e, this[S$3._eventType$1], useCapture); + } + [S$1._forElementList](e, opts) { + if (e == null) dart.nullFailed(I[147], 37118, 57, "e"); + let useCapture = opts && 'useCapture' in opts ? opts.useCapture : false; + if (useCapture == null) dart.nullFailed(I[147], 37119, 13, "useCapture"); + return new (_ElementListEventStreamImplOfT()).new(e, this[S$3._eventType$1], useCapture); + } + getEventType(target) { + if (target == null) dart.nullFailed(I[147], 37130, 35, "target"); + return this[S$3._eventType$1]; + } + } + (EventStreamProvider.new = function(_eventType) { + if (_eventType == null) dart.nullFailed(I[147], 37050, 34, "_eventType"); + this[S$3._eventType$2] = _eventType; + ; + }).prototype = EventStreamProvider.prototype; + dart.addTypeTests(EventStreamProvider); + EventStreamProvider.prototype[_is_EventStreamProvider_default] = true; + dart.addTypeCaches(EventStreamProvider); + dart.setMethodSignature(EventStreamProvider, () => ({ + __proto__: dart.getMethods(EventStreamProvider.__proto__), + forTarget: dart.fnType(async.Stream$(T), [dart.nullable(html$.EventTarget)], {useCapture: core.bool}, {}), + forElement: dart.fnType(html$.ElementStream$(T), [html$.Element], {useCapture: core.bool}, {}), + [S$1._forElementList]: dart.fnType(html$.ElementStream$(T), [html$.ElementList$(html$.Element)], {useCapture: core.bool}, {}), + getEventType: dart.fnType(core.String, [html$.EventTarget]) + })); + dart.setLibraryUri(EventStreamProvider, I[148]); + dart.setFieldSignature(EventStreamProvider, () => ({ + __proto__: dart.getFields(EventStreamProvider.__proto__), + [S$3._eventType$1]: dart.finalFieldType(core.String) + })); + return EventStreamProvider; + }); + html$.EventStreamProvider = html$.EventStreamProvider$(); + dart.addTypeTests(html$.EventStreamProvider, _is_EventStreamProvider_default); + const _is_ElementStream_default = Symbol('_is_ElementStream_default'); + html$.ElementStream$ = dart.generic(T => { + class ElementStream extends core.Object {} + (ElementStream.new = function() { + ; + }).prototype = ElementStream.prototype; + ElementStream.prototype[dart.isStream] = true; + dart.addTypeTests(ElementStream); + ElementStream.prototype[_is_ElementStream_default] = true; + dart.addTypeCaches(ElementStream); + ElementStream[dart.implements] = () => [async.Stream$(T)]; + dart.setLibraryUri(ElementStream, I[148]); + return ElementStream; + }); + html$.ElementStream = html$.ElementStream$(); + dart.addTypeTests(html$.ElementStream, _is_ElementStream_default); + const _is__EventStream_default = Symbol('_is__EventStream_default'); + html$._EventStream$ = dart.generic(T => { + var _EventStreamSubscriptionOfT = () => (_EventStreamSubscriptionOfT = dart.constFn(html$._EventStreamSubscription$(T)))(); + class _EventStream extends async.Stream$(T) { + asBroadcastStream(opts) { + let onListen = opts && 'onListen' in opts ? opts.onListen : null; + let onCancel = opts && 'onCancel' in opts ? opts.onCancel : null; + return this; + } + get isBroadcast() { + return true; + } + listen(onData, opts) { + let onError = opts && 'onError' in opts ? opts.onError : null; + let onDone = opts && 'onDone' in opts ? opts.onDone : null; + let cancelOnError = opts && 'cancelOnError' in opts ? opts.cancelOnError : null; + return new (_EventStreamSubscriptionOfT()).new(this[S$3._target$2], this[S$3._eventType$1], onData, this[S$3._useCapture]); + } + } + (_EventStream.new = function(_target, _eventType, _useCapture) { + if (_eventType == null) dart.nullFailed(I[147], 37170, 35, "_eventType"); + if (_useCapture == null) dart.nullFailed(I[147], 37170, 52, "_useCapture"); + this[S$3._target$2] = _target; + this[S$3._eventType$1] = _eventType; + this[S$3._useCapture] = _useCapture; + _EventStream.__proto__.new.call(this); + ; + }).prototype = _EventStream.prototype; + dart.addTypeTests(_EventStream); + _EventStream.prototype[_is__EventStream_default] = true; + dart.addTypeCaches(_EventStream); + dart.setMethodSignature(_EventStream, () => ({ + __proto__: dart.getMethods(_EventStream.__proto__), + listen: dart.fnType(async.StreamSubscription$(T), [dart.nullable(dart.fnType(dart.void, [T]))], {cancelOnError: dart.nullable(core.bool), onDone: dart.nullable(dart.fnType(dart.void, [])), onError: dart.nullable(core.Function)}, {}) + })); + dart.setLibraryUri(_EventStream, I[148]); + dart.setFieldSignature(_EventStream, () => ({ + __proto__: dart.getFields(_EventStream.__proto__), + [S$3._target$2]: dart.finalFieldType(dart.nullable(html$.EventTarget)), + [S$3._eventType$1]: dart.finalFieldType(core.String), + [S$3._useCapture]: dart.finalFieldType(core.bool) + })); + return _EventStream; + }); + html$._EventStream = html$._EventStream$(); + dart.addTypeTests(html$._EventStream, _is__EventStream_default); + const _is__ElementEventStreamImpl_default = Symbol('_is__ElementEventStreamImpl_default'); + html$._ElementEventStreamImpl$ = dart.generic(T => { + var TTobool = () => (TTobool = dart.constFn(dart.fnType(core.bool, [T])))(); + var TToT = () => (TToT = dart.constFn(dart.fnType(T, [T])))(); + var _EventStreamSubscriptionOfT = () => (_EventStreamSubscriptionOfT = dart.constFn(html$._EventStreamSubscription$(T)))(); + class _ElementEventStreamImpl extends html$._EventStream$(T) { + matches(selector) { + if (selector == null) dart.nullFailed(I[147], 37203, 28, "selector"); + return this.where(dart.fn(event => { + if (event == null) dart.nullFailed(I[147], 37204, 19, "event"); + return html$._matchesWithAncestors(event, selector); + }, TTobool())).map(T, dart.fn(e => { + if (e == null) dart.nullFailed(I[147], 37204, 74, "e"); + e[S._selector] = selector; + return e; + }, TToT())); + } + capture(onData) { + if (onData == null) dart.nullFailed(I[147], 37209, 38, "onData"); + return new (_EventStreamSubscriptionOfT()).new(this[S$3._target$2], this[S$3._eventType$1], onData, true); + } + } + (_ElementEventStreamImpl.new = function(target, eventType, useCapture) { + _ElementEventStreamImpl.__proto__.new.call(this, T$0.EventTargetN().as(target), core.String.as(eventType), core.bool.as(useCapture)); + ; + }).prototype = _ElementEventStreamImpl.prototype; + dart.addTypeTests(_ElementEventStreamImpl); + _ElementEventStreamImpl.prototype[_is__ElementEventStreamImpl_default] = true; + dart.addTypeCaches(_ElementEventStreamImpl); + _ElementEventStreamImpl[dart.implements] = () => [html$.ElementStream$(T)]; + dart.setMethodSignature(_ElementEventStreamImpl, () => ({ + __proto__: dart.getMethods(_ElementEventStreamImpl.__proto__), + matches: dart.fnType(async.Stream$(T), [core.String]), + capture: dart.fnType(async.StreamSubscription$(T), [dart.fnType(dart.void, [T])]) + })); + dart.setLibraryUri(_ElementEventStreamImpl, I[148]); + return _ElementEventStreamImpl; + }); + html$._ElementEventStreamImpl = html$._ElementEventStreamImpl$(); + dart.addTypeTests(html$._ElementEventStreamImpl, _is__ElementEventStreamImpl_default); + const _is__ElementListEventStreamImpl_default = Symbol('_is__ElementListEventStreamImpl_default'); + html$._ElementListEventStreamImpl$ = dart.generic(T => { + var TTobool = () => (TTobool = dart.constFn(dart.fnType(core.bool, [T])))(); + var TToT = () => (TToT = dart.constFn(dart.fnType(T, [T])))(); + var _StreamPoolOfT = () => (_StreamPoolOfT = dart.constFn(html$._StreamPool$(T)))(); + var _EventStreamOfT = () => (_EventStreamOfT = dart.constFn(html$._EventStream$(T)))(); + class _ElementListEventStreamImpl extends async.Stream$(T) { + matches(selector) { + if (selector == null) dart.nullFailed(I[147], 37227, 28, "selector"); + return this.where(dart.fn(event => { + if (event == null) dart.nullFailed(I[147], 37228, 19, "event"); + return html$._matchesWithAncestors(event, selector); + }, TTobool())).map(T, dart.fn(e => { + if (e == null) dart.nullFailed(I[147], 37228, 74, "e"); + e[S._selector] = selector; + return e; + }, TToT())); + } + listen(onData, opts) { + let onError = opts && 'onError' in opts ? opts.onError : null; + let onDone = opts && 'onDone' in opts ? opts.onDone : null; + let cancelOnError = opts && 'cancelOnError' in opts ? opts.cancelOnError : null; + let pool = new (_StreamPoolOfT()).broadcast(); + for (let target of this[S$3._targetList]) { + pool.add(new (_EventStreamOfT()).new(target, this[S$3._eventType$1], this[S$3._useCapture])); + } + return pool.stream.listen(onData, {onError: onError, onDone: onDone, cancelOnError: cancelOnError}); + } + capture(onData) { + if (onData == null) dart.nullFailed(I[147], 37244, 38, "onData"); + let pool = new (_StreamPoolOfT()).broadcast(); + for (let target of this[S$3._targetList]) { + pool.add(new (_EventStreamOfT()).new(target, this[S$3._eventType$1], true)); + } + return pool.stream.listen(onData); + } + asBroadcastStream(opts) { + let onListen = opts && 'onListen' in opts ? opts.onListen : null; + let onCancel = opts && 'onCancel' in opts ? opts.onCancel : null; + return this; + } + get isBroadcast() { + return true; + } + } + (_ElementListEventStreamImpl.new = function(_targetList, _eventType, _useCapture) { + if (_targetList == null) dart.nullFailed(I[147], 37225, 12, "_targetList"); + if (_eventType == null) dart.nullFailed(I[147], 37225, 30, "_eventType"); + if (_useCapture == null) dart.nullFailed(I[147], 37225, 47, "_useCapture"); + this[S$3._targetList] = _targetList; + this[S$3._eventType$1] = _eventType; + this[S$3._useCapture] = _useCapture; + _ElementListEventStreamImpl.__proto__.new.call(this); + ; + }).prototype = _ElementListEventStreamImpl.prototype; + dart.addTypeTests(_ElementListEventStreamImpl); + _ElementListEventStreamImpl.prototype[_is__ElementListEventStreamImpl_default] = true; + dart.addTypeCaches(_ElementListEventStreamImpl); + _ElementListEventStreamImpl[dart.implements] = () => [html$.ElementStream$(T)]; + dart.setMethodSignature(_ElementListEventStreamImpl, () => ({ + __proto__: dart.getMethods(_ElementListEventStreamImpl.__proto__), + matches: dart.fnType(async.Stream$(T), [core.String]), + listen: dart.fnType(async.StreamSubscription$(T), [dart.nullable(dart.fnType(dart.void, [T]))], {cancelOnError: dart.nullable(core.bool), onDone: dart.nullable(dart.fnType(dart.void, [])), onError: dart.nullable(core.Function)}, {}), + capture: dart.fnType(async.StreamSubscription$(T), [dart.fnType(dart.void, [T])]) + })); + dart.setLibraryUri(_ElementListEventStreamImpl, I[148]); + dart.setFieldSignature(_ElementListEventStreamImpl, () => ({ + __proto__: dart.getFields(_ElementListEventStreamImpl.__proto__), + [S$3._targetList]: dart.finalFieldType(core.Iterable$(html$.Element)), + [S$3._useCapture]: dart.finalFieldType(core.bool), + [S$3._eventType$1]: dart.finalFieldType(core.String) + })); + return _ElementListEventStreamImpl; + }); + html$._ElementListEventStreamImpl = html$._ElementListEventStreamImpl$(); + dart.addTypeTests(html$._ElementListEventStreamImpl, _is__ElementListEventStreamImpl_default); + const _is__EventStreamSubscription_default = Symbol('_is__EventStreamSubscription_default'); + html$._EventStreamSubscription$ = dart.generic(T => { + class _EventStreamSubscription extends async.StreamSubscription$(T) { + cancel() { + if (dart.test(this[S$3._canceled])) return _internal.nullFuture; + this[S$3._unlisten](); + this[S$3._target$2] = null; + this[S$3._onData$3] = null; + return _internal.nullFuture; + } + get [S$3._canceled]() { + return this[S$3._target$2] == null; + } + onData(handleData) { + if (dart.test(this[S$3._canceled])) { + dart.throw(new core.StateError.new("Subscription has been canceled.")); + } + this[S$3._unlisten](); + this[S$3._onData$3] = handleData == null ? null : html$._wrapZone(html$.Event, dart.fn(e => { + if (e == null) dart.nullFailed(I[147], 37307, 29, "e"); + return dart.dcall(handleData, [e]); + }, T$0.EventTovoid())); + this[S$3._tryResume](); + } + onError(handleError) { + } + onDone(handleDone) { + } + pause(resumeSignal = null) { + if (dart.test(this[S$3._canceled])) return; + this[S$3._pauseCount$1] = dart.notNull(this[S$3._pauseCount$1]) + 1; + this[S$3._unlisten](); + if (resumeSignal != null) { + resumeSignal.whenComplete(dart.bind(this, 'resume')); + } + } + get isPaused() { + return dart.notNull(this[S$3._pauseCount$1]) > 0; + } + resume() { + if (dart.test(this[S$3._canceled]) || !dart.test(this.isPaused)) return; + this[S$3._pauseCount$1] = dart.notNull(this[S$3._pauseCount$1]) - 1; + this[S$3._tryResume](); + } + [S$3._tryResume]() { + if (this[S$3._onData$3] != null && !dart.test(this.isPaused)) { + dart.nullCheck(this[S$3._target$2])[S.$addEventListener](this[S$3._eventType$1], this[S$3._onData$3], this[S$3._useCapture]); + } + } + [S$3._unlisten]() { + if (this[S$3._onData$3] != null) { + dart.nullCheck(this[S$3._target$2])[S.$removeEventListener](this[S$3._eventType$1], this[S$3._onData$3], this[S$3._useCapture]); + } + } + asFuture(E, futureValue = null) { + let completer = async.Completer$(E).new(); + return completer.future; + } + } + (_EventStreamSubscription.new = function(_target, _eventType, onData, _useCapture) { + if (_eventType == null) dart.nullFailed(I[147], 37280, 26, "_eventType"); + if (_useCapture == null) dart.nullFailed(I[147], 37280, 66, "_useCapture"); + this[S$3._pauseCount$1] = 0; + this[S$3._target$2] = _target; + this[S$3._eventType$1] = _eventType; + this[S$3._useCapture] = _useCapture; + this[S$3._onData$3] = onData == null ? null : html$._wrapZone(html$.Event, dart.fn(e => { + if (e == null) dart.nullFailed(I[147], 37283, 33, "e"); + return dart.dcall(onData, [e]); + }, T$0.EventTovoid())); + this[S$3._tryResume](); + }).prototype = _EventStreamSubscription.prototype; + dart.addTypeTests(_EventStreamSubscription); + _EventStreamSubscription.prototype[_is__EventStreamSubscription_default] = true; + dart.addTypeCaches(_EventStreamSubscription); + dart.setMethodSignature(_EventStreamSubscription, () => ({ + __proto__: dart.getMethods(_EventStreamSubscription.__proto__), + cancel: dart.fnType(async.Future, []), + onData: dart.fnType(dart.void, [dart.nullable(dart.fnType(dart.void, [T]))]), + onError: dart.fnType(dart.void, [dart.nullable(core.Function)]), + onDone: dart.fnType(dart.void, [dart.nullable(dart.fnType(dart.void, []))]), + pause: dart.fnType(dart.void, [], [dart.nullable(async.Future)]), + resume: dart.fnType(dart.void, []), + [S$3._tryResume]: dart.fnType(dart.void, []), + [S$3._unlisten]: dart.fnType(dart.void, []), + asFuture: dart.gFnType(E => [async.Future$(E), [], [dart.nullable(E)]], E => [dart.nullable(core.Object)]) + })); + dart.setGetterSignature(_EventStreamSubscription, () => ({ + __proto__: dart.getGetters(_EventStreamSubscription.__proto__), + [S$3._canceled]: core.bool, + isPaused: core.bool + })); + dart.setLibraryUri(_EventStreamSubscription, I[148]); + dart.setFieldSignature(_EventStreamSubscription, () => ({ + __proto__: dart.getFields(_EventStreamSubscription.__proto__), + [S$3._pauseCount$1]: dart.fieldType(core.int), + [S$3._target$2]: dart.fieldType(dart.nullable(html$.EventTarget)), + [S$3._eventType$1]: dart.finalFieldType(core.String), + [S$3._onData$3]: dart.fieldType(dart.nullable(dart.fnType(dart.dynamic, [html$.Event]))), + [S$3._useCapture]: dart.finalFieldType(core.bool) + })); + return _EventStreamSubscription; + }); + html$._EventStreamSubscription = html$._EventStreamSubscription$(); + dart.addTypeTests(html$._EventStreamSubscription, _is__EventStreamSubscription_default); + const _is_CustomStream_default = Symbol('_is_CustomStream_default'); + html$.CustomStream$ = dart.generic(T => { + class CustomStream extends core.Object {} + (CustomStream.new = function() { + ; + }).prototype = CustomStream.prototype; + CustomStream.prototype[dart.isStream] = true; + dart.addTypeTests(CustomStream); + CustomStream.prototype[_is_CustomStream_default] = true; + dart.addTypeCaches(CustomStream); + CustomStream[dart.implements] = () => [async.Stream$(T)]; + dart.setLibraryUri(CustomStream, I[148]); + return CustomStream; + }); + html$.CustomStream = html$.CustomStream$(); + dart.addTypeTests(html$.CustomStream, _is_CustomStream_default); + const _is__CustomEventStreamImpl_default = Symbol('_is__CustomEventStreamImpl_default'); + html$._CustomEventStreamImpl$ = dart.generic(T => { + var StreamControllerOfT = () => (StreamControllerOfT = dart.constFn(async.StreamController$(T)))(); + class _CustomEventStreamImpl extends async.Stream$(T) { + listen(onData, opts) { + let onError = opts && 'onError' in opts ? opts.onError : null; + let onDone = opts && 'onDone' in opts ? opts.onDone : null; + let cancelOnError = opts && 'cancelOnError' in opts ? opts.cancelOnError : null; + return this[S$3._streamController].stream.listen(onData, {onError: onError, onDone: onDone, cancelOnError: cancelOnError}); + } + asBroadcastStream(opts) { + let onListen = opts && 'onListen' in opts ? opts.onListen : null; + let onCancel = opts && 'onCancel' in opts ? opts.onCancel : null; + return this[S$3._streamController].stream; + } + get isBroadcast() { + return true; + } + add(event) { + T.as(event); + if (event == null) dart.nullFailed(I[147], 37390, 14, "event"); + if (event.type == this[S$3._type$5]) this[S$3._streamController].add(event); + } + } + (_CustomEventStreamImpl.new = function(type) { + if (type == null) dart.nullFailed(I[147], 37372, 33, "type"); + this[S$3._type$5] = type; + this[S$3._streamController] = StreamControllerOfT().broadcast({sync: true}); + _CustomEventStreamImpl.__proto__.new.call(this); + ; + }).prototype = _CustomEventStreamImpl.prototype; + dart.addTypeTests(_CustomEventStreamImpl); + _CustomEventStreamImpl.prototype[_is__CustomEventStreamImpl_default] = true; + dart.addTypeCaches(_CustomEventStreamImpl); + _CustomEventStreamImpl[dart.implements] = () => [html$.CustomStream$(T)]; + dart.setMethodSignature(_CustomEventStreamImpl, () => ({ + __proto__: dart.getMethods(_CustomEventStreamImpl.__proto__), + listen: dart.fnType(async.StreamSubscription$(T), [dart.nullable(dart.fnType(dart.void, [T]))], {cancelOnError: dart.nullable(core.bool), onDone: dart.nullable(dart.fnType(dart.void, [])), onError: dart.nullable(core.Function)}, {}), + add: dart.fnType(dart.void, [dart.nullable(core.Object)]) + })); + dart.setLibraryUri(_CustomEventStreamImpl, I[148]); + dart.setFieldSignature(_CustomEventStreamImpl, () => ({ + __proto__: dart.getFields(_CustomEventStreamImpl.__proto__), + [S$3._streamController]: dart.fieldType(async.StreamController$(T)), + [S$3._type$5]: dart.fieldType(core.String) + })); + return _CustomEventStreamImpl; + }); + html$._CustomEventStreamImpl = html$._CustomEventStreamImpl$(); + dart.addTypeTests(html$._CustomEventStreamImpl, _is__CustomEventStreamImpl_default); + html$.KeyEvent = class KeyEvent extends html$._WrappedEvent { + get keyCode() { + return this[S$3._shadowKeyCode]; + } + get charCode() { + return this.type === "keypress" ? this[S$3._shadowCharCode] : 0; + } + get altKey() { + return this[S$3._shadowAltKey]; + } + get which() { + return this.keyCode; + } + get [S$3._realKeyCode]() { + return this[S$3._parent$2].keyCode; + } + get [S$3._realCharCode]() { + return this[S$3._parent$2].charCode; + } + get [S$3._realAltKey]() { + return this[S$3._parent$2].altKey; + } + get sourceCapabilities() { + return this.sourceCapabilities; + } + static _makeRecord() { + let interceptor = _foreign_helper.JS_INTERCEPTOR_CONSTANT(dart.wrapType(html$.KeyboardEvent)); + return _js_helper.makeLeafDispatchRecord(interceptor); + } + static new(type, opts) { + if (type == null) dart.nullFailed(I[147], 40518, 27, "type"); + let view = opts && 'view' in opts ? opts.view : null; + let canBubble = opts && 'canBubble' in opts ? opts.canBubble : true; + if (canBubble == null) dart.nullFailed(I[147], 40520, 12, "canBubble"); + let cancelable = opts && 'cancelable' in opts ? opts.cancelable : true; + if (cancelable == null) dart.nullFailed(I[147], 40521, 12, "cancelable"); + let keyCode = opts && 'keyCode' in opts ? opts.keyCode : 0; + if (keyCode == null) dart.nullFailed(I[147], 40522, 11, "keyCode"); + let charCode = opts && 'charCode' in opts ? opts.charCode : 0; + if (charCode == null) dart.nullFailed(I[147], 40523, 11, "charCode"); + let location = opts && 'location' in opts ? opts.location : 1; + if (location == null) dart.nullFailed(I[147], 40524, 11, "location"); + let ctrlKey = opts && 'ctrlKey' in opts ? opts.ctrlKey : false; + if (ctrlKey == null) dart.nullFailed(I[147], 40525, 12, "ctrlKey"); + let altKey = opts && 'altKey' in opts ? opts.altKey : false; + if (altKey == null) dart.nullFailed(I[147], 40526, 12, "altKey"); + let shiftKey = opts && 'shiftKey' in opts ? opts.shiftKey : false; + if (shiftKey == null) dart.nullFailed(I[147], 40527, 12, "shiftKey"); + let metaKey = opts && 'metaKey' in opts ? opts.metaKey : false; + if (metaKey == null) dart.nullFailed(I[147], 40528, 12, "metaKey"); + let currentTarget = opts && 'currentTarget' in opts ? opts.currentTarget : null; + if (view == null) { + view = html$.window; + } + let eventObj = null; + eventObj = html$.Event.eventType("KeyboardEvent", type, {canBubble: canBubble, cancelable: cancelable}); + Object.defineProperty(eventObj, 'keyCode', { + get: function() { + return this.keyCodeVal; + } + }); + Object.defineProperty(eventObj, 'which', { + get: function() { + return this.keyCodeVal; + } + }); + Object.defineProperty(eventObj, 'charCode', { + get: function() { + return this.charCodeVal; + } + }); + let keyIdentifier = html$.KeyEvent._convertToHexString(charCode, keyCode); + dart.dsend(eventObj, S$1._initKeyboardEvent, [type, canBubble, cancelable, view, keyIdentifier, location, ctrlKey, altKey, shiftKey, metaKey]); + eventObj.keyCodeVal = keyCode; + eventObj.charCodeVal = charCode; + _interceptors.setDispatchProperty(eventObj, html$.KeyEvent._keyboardEventDispatchRecord); + let keyEvent = new html$.KeyEvent.wrap(html$.KeyboardEvent.as(eventObj)); + if (keyEvent[S$3._currentTarget] == null) { + keyEvent[S$3._currentTarget] = currentTarget == null ? html$.window : currentTarget; + } + return keyEvent; + } + static get canUseDispatchEvent() { + return typeof document.body.dispatchEvent == "function" && document.body.dispatchEvent.length > 0; + } + get currentTarget() { + return this[S$3._currentTarget]; + } + static _convertToHexString(charCode, keyCode) { + if (charCode == null) dart.nullFailed(I[147], 40590, 41, "charCode"); + if (keyCode == null) dart.nullFailed(I[147], 40590, 55, "keyCode"); + if (charCode !== -1) { + let hex = charCode[$toRadixString](16); + let sb = new core.StringBuffer.new("U+"); + for (let i = 0; i < 4 - hex.length; i = i + 1) + sb.write("0"); + sb.write(hex); + return sb.toString(); + } else { + return html$.KeyCode._convertKeyCodeToKeyName(keyCode); + } + } + get code() { + return dart.nullCheck(this[S$3._parent$2].code); + } + get ctrlKey() { + return this[S$3._parent$2].ctrlKey; + } + get detail() { + return dart.nullCheck(this[S$3._parent$2].detail); + } + get isComposing() { + return dart.nullCheck(this[S$3._parent$2].isComposing); + } + get key() { + return dart.nullCheck(this[S$3._parent$2].key); + } + get location() { + return this[S$3._parent$2].location; + } + get metaKey() { + return this[S$3._parent$2].metaKey; + } + get shiftKey() { + return this[S$3._parent$2].shiftKey; + } + get view() { + return this[S$3._parent$2][S$.$view]; + } + [S$._initUIEvent](type, canBubble, cancelable, view, detail) { + if (type == null) dart.nullFailed(I[147], 40632, 14, "type"); + if (canBubble == null) dart.nullFailed(I[147], 40632, 25, "canBubble"); + if (cancelable == null) dart.nullFailed(I[147], 40632, 41, "cancelable"); + if (detail == null) dart.nullFailed(I[147], 40632, 71, "detail"); + dart.throw(new core.UnsupportedError.new("Cannot initialize a UI Event from a KeyEvent.")); + } + get [S$3._shadowKeyIdentifier]() { + return this[S$3._parent$2].keyIdentifier; + } + get [S$1._charCode]() { + return this.charCode; + } + get [S$1._keyCode]() { + return this.keyCode; + } + get [S$._which]() { + return this.which; + } + get [S$3._keyIdentifier]() { + dart.throw(new core.UnsupportedError.new("keyIdentifier is unsupported.")); + } + [S$1._initKeyboardEvent](type, canBubble, cancelable, view, keyIdentifier, location, ctrlKey, altKey, shiftKey, metaKey) { + if (type == null) dart.nullFailed(I[147], 40647, 14, "type"); + if (canBubble == null) dart.nullFailed(I[147], 40648, 12, "canBubble"); + if (cancelable == null) dart.nullFailed(I[147], 40649, 12, "cancelable"); + if (keyIdentifier == null) dart.nullFailed(I[147], 40651, 14, "keyIdentifier"); + if (ctrlKey == null) dart.nullFailed(I[147], 40653, 12, "ctrlKey"); + if (altKey == null) dart.nullFailed(I[147], 40654, 12, "altKey"); + if (shiftKey == null) dart.nullFailed(I[147], 40655, 12, "shiftKey"); + if (metaKey == null) dart.nullFailed(I[147], 40656, 12, "metaKey"); + dart.throw(new core.UnsupportedError.new("Cannot initialize a KeyboardEvent from a KeyEvent.")); + } + getModifierState(keyArgument) { + if (keyArgument == null) dart.nullFailed(I[147], 40661, 32, "keyArgument"); + return dart.throw(new core.UnimplementedError.new()); + } + get repeat() { + return dart.throw(new core.UnimplementedError.new()); + } + get isComposed() { + return dart.throw(new core.UnimplementedError.new()); + } + get [S$._get_view]() { + return dart.throw(new core.UnimplementedError.new()); + } + }; + (html$.KeyEvent.wrap = function(parent) { + if (parent == null) dart.nullFailed(I[147], 40504, 31, "parent"); + this[S$3._currentTarget] = null; + this[S$3._parent$2] = parent; + this[S$3._shadowAltKey] = false; + this[S$3._shadowCharCode] = 0; + this[S$3._shadowKeyCode] = 0; + html$.KeyEvent.__proto__.new.call(this, parent); + this[S$3._parent$2] = parent; + this[S$3._shadowAltKey] = this[S$3._realAltKey]; + this[S$3._shadowCharCode] = this[S$3._realCharCode]; + this[S$3._shadowKeyCode] = this[S$3._realKeyCode]; + this[S$3._currentTarget] = this[S$3._parent$2][S.$currentTarget]; + }).prototype = html$.KeyEvent.prototype; + dart.addTypeTests(html$.KeyEvent); + dart.addTypeCaches(html$.KeyEvent); + html$.KeyEvent[dart.implements] = () => [html$.KeyboardEvent]; + dart.setMethodSignature(html$.KeyEvent, () => ({ + __proto__: dart.getMethods(html$.KeyEvent.__proto__), + [S$._initUIEvent]: dart.fnType(dart.void, [core.String, core.bool, core.bool, dart.nullable(html$.Window), core.int]), + [S$1._initKeyboardEvent]: dart.fnType(dart.void, [core.String, core.bool, core.bool, dart.nullable(html$.Window), core.String, dart.nullable(core.int), core.bool, core.bool, core.bool, core.bool]), + getModifierState: dart.fnType(core.bool, [core.String]), + [S$1.$getModifierState]: dart.fnType(core.bool, [core.String]) + })); + dart.setGetterSignature(html$.KeyEvent, () => ({ + __proto__: dart.getGetters(html$.KeyEvent.__proto__), + keyCode: core.int, + [S$1.$keyCode]: core.int, + charCode: core.int, + [S$1.$charCode]: core.int, + altKey: core.bool, + [S$1.$altKey]: core.bool, + which: core.int, + [S$1.$which]: core.int, + [S$3._realKeyCode]: core.int, + [S$3._realCharCode]: core.int, + [S$3._realAltKey]: core.bool, + sourceCapabilities: dart.nullable(html$.InputDeviceCapabilities), + [S$.$sourceCapabilities]: dart.nullable(html$.InputDeviceCapabilities), + code: core.String, + [S$.$code]: core.String, + ctrlKey: core.bool, + [S$1.$ctrlKey]: core.bool, + detail: core.int, + [S$.$detail]: core.int, + isComposing: core.bool, + [S$1.$isComposing]: core.bool, + key: core.String, + [S.$key]: core.String, + location: core.int, + [S$0.$location]: core.int, + metaKey: core.bool, + [S$1.$metaKey]: core.bool, + shiftKey: core.bool, + [S$1.$shiftKey]: core.bool, + view: dart.nullable(html$.WindowBase), + [S$.$view]: dart.nullable(html$.WindowBase), + [S$3._shadowKeyIdentifier]: core.String, + [S$1._charCode]: core.int, + [S$1._keyCode]: core.int, + [S$._which]: core.int, + [S$3._keyIdentifier]: core.String, + repeat: core.bool, + [S$1.$repeat]: core.bool, + isComposed: core.bool, + [S$._get_view]: dart.dynamic + })); + dart.setLibraryUri(html$.KeyEvent, I[148]); + dart.setFieldSignature(html$.KeyEvent, () => ({ + __proto__: dart.getFields(html$.KeyEvent.__proto__), + [S$3._parent$2]: dart.fieldType(html$.KeyboardEvent), + [S$3._shadowAltKey]: dart.fieldType(core.bool), + [S$3._shadowCharCode]: dart.fieldType(core.int), + [S$3._shadowKeyCode]: dart.fieldType(core.int), + [S$3._currentTarget]: dart.fieldType(dart.nullable(html$.EventTarget)) + })); + dart.defineExtensionMethods(html$.KeyEvent, ['getModifierState']); + dart.defineExtensionAccessors(html$.KeyEvent, [ + 'keyCode', + 'charCode', + 'altKey', + 'which', + 'sourceCapabilities', + 'currentTarget', + 'code', + 'ctrlKey', + 'detail', + 'isComposing', + 'key', + 'location', + 'metaKey', + 'shiftKey', + 'view', + 'repeat' + ]); + dart.defineLazy(html$.KeyEvent, { + /*html$.KeyEvent._keyboardEventDispatchRecord*/get _keyboardEventDispatchRecord() { + return html$.KeyEvent._makeRecord(); + }, + /*html$.KeyEvent.keyDownEvent*/get keyDownEvent() { + return new html$._KeyboardEventHandler.new("keydown"); + }, + set keyDownEvent(_) {}, + /*html$.KeyEvent.keyUpEvent*/get keyUpEvent() { + return new html$._KeyboardEventHandler.new("keyup"); + }, + set keyUpEvent(_) {}, + /*html$.KeyEvent.keyPressEvent*/get keyPressEvent() { + return new html$._KeyboardEventHandler.new("keypress"); + }, + set keyPressEvent(_) {} + }, false); + html$._CustomKeyEventStreamImpl = class _CustomKeyEventStreamImpl extends html$._CustomEventStreamImpl$(html$.KeyEvent) { + add(event) { + html$.KeyEvent.as(event); + if (event == null) dart.nullFailed(I[147], 37399, 21, "event"); + if (event.type == this[S$3._type$5]) { + dart.nullCheck(event.currentTarget).dispatchEvent(event[S$3._parent$2]); + this[S$3._streamController].add(event); + } + } + }; + (html$._CustomKeyEventStreamImpl.new = function(type) { + if (type == null) dart.nullFailed(I[147], 37397, 36, "type"); + html$._CustomKeyEventStreamImpl.__proto__.new.call(this, type); + ; + }).prototype = html$._CustomKeyEventStreamImpl.prototype; + dart.addTypeTests(html$._CustomKeyEventStreamImpl); + dart.addTypeCaches(html$._CustomKeyEventStreamImpl); + html$._CustomKeyEventStreamImpl[dart.implements] = () => [html$.CustomStream$(html$.KeyEvent)]; + dart.setLibraryUri(html$._CustomKeyEventStreamImpl, I[148]); + const _is__StreamPool_default = Symbol('_is__StreamPool_default'); + html$._StreamPool$ = dart.generic(T => { + var StreamOfT = () => (StreamOfT = dart.constFn(async.Stream$(T)))(); + var StreamSubscriptionOfT = () => (StreamSubscriptionOfT = dart.constFn(async.StreamSubscription$(T)))(); + var LinkedMapOfStreamOfT$StreamSubscriptionOfT = () => (LinkedMapOfStreamOfT$StreamSubscriptionOfT = dart.constFn(_js_helper.LinkedMap$(StreamOfT(), StreamSubscriptionOfT())))(); + var StreamControllerOfT = () => (StreamControllerOfT = dart.constFn(async.StreamController$(T)))(); + class _StreamPool extends core.Object { + get stream() { + return dart.nullCheck(this[S$3._controller$2]).stream; + } + add(stream) { + StreamOfT().as(stream); + if (stream == null) dart.nullFailed(I[147], 37442, 22, "stream"); + if (dart.test(this[S$3._subscriptions][$containsKey](stream))) return; + this[S$3._subscriptions][$_set](stream, stream.listen(dart.bind(dart.nullCheck(this[S$3._controller$2]), 'add'), {onError: dart.bind(dart.nullCheck(this[S$3._controller$2]), 'addError'), onDone: dart.fn(() => this.remove(stream), T$.VoidTovoid())})); + } + remove(stream) { + StreamOfT().as(stream); + if (stream == null) dart.nullFailed(I[147], 37449, 25, "stream"); + let subscription = this[S$3._subscriptions][$remove](stream); + if (subscription != null) subscription.cancel(); + } + close() { + for (let subscription of this[S$3._subscriptions][$values]) { + subscription.cancel(); + } + this[S$3._subscriptions][$clear](); + dart.nullCheck(this[S$3._controller$2]).close(); + } + } + (_StreamPool.broadcast = function() { + this[S$3._controller$2] = null; + this[S$3._subscriptions] = new (LinkedMapOfStreamOfT$StreamSubscriptionOfT()).new(); + this[S$3._controller$2] = StreamControllerOfT().broadcast({sync: true, onCancel: dart.bind(this, 'close')}); + }).prototype = _StreamPool.prototype; + dart.addTypeTests(_StreamPool); + _StreamPool.prototype[_is__StreamPool_default] = true; + dart.addTypeCaches(_StreamPool); + dart.setMethodSignature(_StreamPool, () => ({ + __proto__: dart.getMethods(_StreamPool.__proto__), + add: dart.fnType(dart.void, [dart.nullable(core.Object)]), + remove: dart.fnType(dart.void, [dart.nullable(core.Object)]), + close: dart.fnType(dart.void, []) + })); + dart.setGetterSignature(_StreamPool, () => ({ + __proto__: dart.getGetters(_StreamPool.__proto__), + stream: async.Stream$(T) + })); + dart.setLibraryUri(_StreamPool, I[148]); + dart.setFieldSignature(_StreamPool, () => ({ + __proto__: dart.getFields(_StreamPool.__proto__), + [S$3._controller$2]: dart.fieldType(dart.nullable(async.StreamController$(T))), + [S$3._subscriptions]: dart.fieldType(core.Map$(async.Stream$(T), async.StreamSubscription$(T))) + })); + return _StreamPool; + }); + html$._StreamPool = html$._StreamPool$(); + dart.addTypeTests(html$._StreamPool, _is__StreamPool_default); + const _is__CustomEventStreamProvider_default = Symbol('_is__CustomEventStreamProvider_default'); + html$._CustomEventStreamProvider$ = dart.generic(T => { + var _EventStreamOfT = () => (_EventStreamOfT = dart.constFn(html$._EventStream$(T)))(); + var _ElementEventStreamImplOfT = () => (_ElementEventStreamImplOfT = dart.constFn(html$._ElementEventStreamImpl$(T)))(); + var _ElementListEventStreamImplOfT = () => (_ElementListEventStreamImplOfT = dart.constFn(html$._ElementListEventStreamImpl$(T)))(); + class _CustomEventStreamProvider extends core.Object { + get [S$3._eventTypeGetter$1]() { + return this[S$3._eventTypeGetter]; + } + set [S$3._eventTypeGetter$1](value) { + super[S$3._eventTypeGetter$1] = value; + } + forTarget(e, opts) { + let t241; + let useCapture = opts && 'useCapture' in opts ? opts.useCapture : false; + if (useCapture == null) dart.nullFailed(I[147], 37473, 45, "useCapture"); + return new (_EventStreamOfT()).new(e, core.String.as((t241 = e, dart.dsend(this, S$3._eventTypeGetter$1, [t241]))), useCapture); + } + forElement(e, opts) { + let t241; + if (e == null) dart.nullFailed(I[147], 37477, 39, "e"); + let useCapture = opts && 'useCapture' in opts ? opts.useCapture : false; + if (useCapture == null) dart.nullFailed(I[147], 37477, 48, "useCapture"); + return new (_ElementEventStreamImplOfT()).new(e, (t241 = e, dart.dsend(this, S$3._eventTypeGetter$1, [t241])), useCapture); + } + [S$1._forElementList](e, opts) { + let t241; + if (e == null) dart.nullFailed(I[147], 37481, 57, "e"); + let useCapture = opts && 'useCapture' in opts ? opts.useCapture : false; + if (useCapture == null) dart.nullFailed(I[147], 37482, 13, "useCapture"); + return new (_ElementListEventStreamImplOfT()).new(e, core.String.as((t241 = e, dart.dsend(this, S$3._eventTypeGetter$1, [t241]))), useCapture); + } + getEventType(target) { + let t241; + if (target == null) dart.nullFailed(I[147], 37487, 35, "target"); + return core.String.as((t241 = target, dart.dsend(this, S$3._eventTypeGetter$1, [t241]))); + } + get [S$3._eventType$1]() { + return dart.throw(new core.UnsupportedError.new("Access type through getEventType method.")); + } + } + (_CustomEventStreamProvider.new = function(_eventTypeGetter) { + this[S$3._eventTypeGetter] = _eventTypeGetter; + ; + }).prototype = _CustomEventStreamProvider.prototype; + dart.addTypeTests(_CustomEventStreamProvider); + _CustomEventStreamProvider.prototype[_is__CustomEventStreamProvider_default] = true; + dart.addTypeCaches(_CustomEventStreamProvider); + _CustomEventStreamProvider[dart.implements] = () => [html$.EventStreamProvider$(T)]; + dart.setMethodSignature(_CustomEventStreamProvider, () => ({ + __proto__: dart.getMethods(_CustomEventStreamProvider.__proto__), + forTarget: dart.fnType(async.Stream$(T), [dart.nullable(html$.EventTarget)], {useCapture: core.bool}, {}), + forElement: dart.fnType(html$.ElementStream$(T), [html$.Element], {useCapture: core.bool}, {}), + [S$1._forElementList]: dart.fnType(html$.ElementStream$(T), [html$.ElementList$(html$.Element)], {useCapture: core.bool}, {}), + getEventType: dart.fnType(core.String, [html$.EventTarget]) + })); + dart.setGetterSignature(_CustomEventStreamProvider, () => ({ + __proto__: dart.getGetters(_CustomEventStreamProvider.__proto__), + [S$3._eventType$1]: core.String + })); + dart.setLibraryUri(_CustomEventStreamProvider, I[148]); + dart.setFieldSignature(_CustomEventStreamProvider, () => ({ + __proto__: dart.getFields(_CustomEventStreamProvider.__proto__), + [S$3._eventTypeGetter$1]: dart.finalFieldType(dart.dynamic) + })); + return _CustomEventStreamProvider; + }); + html$._CustomEventStreamProvider = html$._CustomEventStreamProvider$(); + dart.addTypeTests(html$._CustomEventStreamProvider, _is__CustomEventStreamProvider_default); + html$._Html5NodeValidator = class _Html5NodeValidator extends core.Object { + allowsElement(element) { + if (element == null) dart.nullFailed(I[147], 37915, 30, "element"); + return html$._Html5NodeValidator._allowedElements.contains(html$.Element._safeTagName(element)); + } + allowsAttribute(element, attributeName, value) { + if (element == null) dart.nullFailed(I[147], 37919, 32, "element"); + if (attributeName == null) dart.nullFailed(I[147], 37919, 48, "attributeName"); + if (value == null) dart.nullFailed(I[147], 37919, 70, "value"); + let tagName = html$.Element._safeTagName(element); + let validator = html$._Html5NodeValidator._attributeValidators[$_get](dart.str(tagName) + "::" + dart.str(attributeName)); + if (validator == null) { + validator = html$._Html5NodeValidator._attributeValidators[$_get]("*::" + dart.str(attributeName)); + } + if (validator == null) { + return false; + } + return core.bool.as(dart.dcall(validator, [element, attributeName, value, this])); + } + static _standardAttributeValidator(element, attributeName, value, context) { + if (element == null) dart.nullFailed(I[147], 37931, 51, "element"); + if (attributeName == null) dart.nullFailed(I[147], 37931, 67, "attributeName"); + if (value == null) dart.nullFailed(I[147], 37932, 14, "value"); + if (context == null) dart.nullFailed(I[147], 37932, 41, "context"); + return true; + } + static _uriAttributeValidator(element, attributeName, value, context) { + if (element == null) dart.nullFailed(I[147], 37936, 46, "element"); + if (attributeName == null) dart.nullFailed(I[147], 37936, 62, "attributeName"); + if (value == null) dart.nullFailed(I[147], 37937, 14, "value"); + if (context == null) dart.nullFailed(I[147], 37937, 41, "context"); + return context.uriPolicy.allowsUri(value); + } + }; + (html$._Html5NodeValidator.new = function(opts) { + let t241; + let uriPolicy = opts && 'uriPolicy' in opts ? opts.uriPolicy : null; + this.uriPolicy = (t241 = uriPolicy, t241 == null ? html$.UriPolicy.new() : t241); + if (dart.test(html$._Html5NodeValidator._attributeValidators[$isEmpty])) { + for (let attr of html$._Html5NodeValidator._standardAttributes) { + html$._Html5NodeValidator._attributeValidators[$_set](attr, C[399] || CT.C399); + } + for (let attr of html$._Html5NodeValidator._uriAttributes) { + html$._Html5NodeValidator._attributeValidators[$_set](attr, C[400] || CT.C400); + } + } + }).prototype = html$._Html5NodeValidator.prototype; + dart.addTypeTests(html$._Html5NodeValidator); + dart.addTypeCaches(html$._Html5NodeValidator); + html$._Html5NodeValidator[dart.implements] = () => [html$.NodeValidator]; + dart.setMethodSignature(html$._Html5NodeValidator, () => ({ + __proto__: dart.getMethods(html$._Html5NodeValidator.__proto__), + allowsElement: dart.fnType(core.bool, [html$.Element]), + allowsAttribute: dart.fnType(core.bool, [html$.Element, core.String, core.String]) + })); + dart.setLibraryUri(html$._Html5NodeValidator, I[148]); + dart.setFieldSignature(html$._Html5NodeValidator, () => ({ + __proto__: dart.getFields(html$._Html5NodeValidator.__proto__), + uriPolicy: dart.finalFieldType(html$.UriPolicy) + })); + dart.defineLazy(html$._Html5NodeValidator, { + /*html$._Html5NodeValidator._allowedElements*/get _allowedElements() { + return T$0.LinkedHashSetOfString().from(["A", "ABBR", "ACRONYM", "ADDRESS", "AREA", "ARTICLE", "ASIDE", "AUDIO", "B", "BDI", "BDO", "BIG", "BLOCKQUOTE", "BR", "BUTTON", "CANVAS", "CAPTION", "CENTER", "CITE", "CODE", "COL", "COLGROUP", "COMMAND", "DATA", "DATALIST", "DD", "DEL", "DETAILS", "DFN", "DIR", "DIV", "DL", "DT", "EM", "FIELDSET", "FIGCAPTION", "FIGURE", "FONT", "FOOTER", "FORM", "H1", "H2", "H3", "H4", "H5", "H6", "HEADER", "HGROUP", "HR", "I", "IFRAME", "IMG", "INPUT", "INS", "KBD", "LABEL", "LEGEND", "LI", "MAP", "MARK", "MENU", "METER", "NAV", "NOBR", "OL", "OPTGROUP", "OPTION", "OUTPUT", "P", "PRE", "PROGRESS", "Q", "S", "SAMP", "SECTION", "SELECT", "SMALL", "SOURCE", "SPAN", "STRIKE", "STRONG", "SUB", "SUMMARY", "SUP", "TABLE", "TBODY", "TD", "TEXTAREA", "TFOOT", "TH", "THEAD", "TIME", "TR", "TRACK", "TT", "U", "UL", "VAR", "VIDEO", "WBR"]); + }, + /*html$._Html5NodeValidator._standardAttributes*/get _standardAttributes() { + return C[401] || CT.C401; + }, + /*html$._Html5NodeValidator._uriAttributes*/get _uriAttributes() { + return C[402] || CT.C402; + }, + /*html$._Html5NodeValidator._attributeValidators*/get _attributeValidators() { + return new (T$0.IdentityMapOfString$Function()).new(); + } + }, false); + html$.KeyCode = class KeyCode extends core.Object { + static isCharacterKey(keyCode) { + if (keyCode == null) dart.nullFailed(I[147], 38223, 34, "keyCode"); + if (dart.notNull(keyCode) >= 48 && dart.notNull(keyCode) <= 57 || dart.notNull(keyCode) >= 96 && dart.notNull(keyCode) <= 106 || dart.notNull(keyCode) >= 65 && dart.notNull(keyCode) <= 90) { + return true; + } + if (dart.test(html_common.Device.isWebKit) && keyCode === 0) { + return true; + } + return keyCode === 32 || keyCode === 63 || keyCode === 107 || keyCode === 109 || keyCode === 110 || keyCode === 111 || keyCode === 186 || keyCode === 59 || keyCode === 189 || keyCode === 187 || keyCode === 61 || keyCode === 188 || keyCode === 190 || keyCode === 191 || keyCode === 192 || keyCode === 222 || keyCode === 219 || keyCode === 220 || keyCode === 221; + } + static _convertKeyCodeToKeyName(keyCode) { + if (keyCode == null) dart.nullFailed(I[147], 38263, 46, "keyCode"); + switch (keyCode) { + case 18: + { + return "Alt"; + } + case 8: + { + return "Backspace"; + } + case 20: + { + return "CapsLock"; + } + case 17: + { + return "Control"; + } + case 46: + { + return "Del"; + } + case 40: + { + return "Down"; + } + case 35: + { + return "End"; + } + case 13: + { + return "Enter"; + } + case 27: + { + return "Esc"; + } + case 112: + { + return "F1"; + } + case 113: + { + return "F2"; + } + case 114: + { + return "F3"; + } + case 115: + { + return "F4"; + } + case 116: + { + return "F5"; + } + case 117: + { + return "F6"; + } + case 118: + { + return "F7"; + } + case 119: + { + return "F8"; + } + case 120: + { + return "F9"; + } + case 121: + { + return "F10"; + } + case 122: + { + return "F11"; + } + case 123: + { + return "F12"; + } + case 36: + { + return "Home"; + } + case 45: + { + return "Insert"; + } + case 37: + { + return "Left"; + } + case 91: + { + return "Meta"; + } + case 144: + { + return "NumLock"; + } + case 34: + { + return "PageDown"; + } + case 33: + { + return "PageUp"; + } + case 19: + { + return "Pause"; + } + case 44: + { + return "PrintScreen"; + } + case 39: + { + return "Right"; + } + case 145: + { + return "Scroll"; + } + case 16: + { + return "Shift"; + } + case 32: + { + return "Spacebar"; + } + case 9: + { + return "Tab"; + } + case 38: + { + return "Up"; + } + case 229: + case 224: + case 91: + case 92: + { + return "Win"; + } + default: + { + return "Unidentified"; + } + } + return "Unidentified"; + } + }; + (html$.KeyCode.new = function() { + ; + }).prototype = html$.KeyCode.prototype; + dart.addTypeTests(html$.KeyCode); + dart.addTypeCaches(html$.KeyCode); + dart.setLibraryUri(html$.KeyCode, I[148]); + dart.defineLazy(html$.KeyCode, { + /*html$.KeyCode.WIN_KEY_FF_LINUX*/get WIN_KEY_FF_LINUX() { + return 0; + }, + /*html$.KeyCode.MAC_ENTER*/get MAC_ENTER() { + return 3; + }, + /*html$.KeyCode.BACKSPACE*/get BACKSPACE() { + return 8; + }, + /*html$.KeyCode.TAB*/get TAB() { + return 9; + }, + /*html$.KeyCode.NUM_CENTER*/get NUM_CENTER() { + return 12; + }, + /*html$.KeyCode.ENTER*/get ENTER() { + return 13; + }, + /*html$.KeyCode.SHIFT*/get SHIFT() { + return 16; + }, + /*html$.KeyCode.CTRL*/get CTRL() { + return 17; + }, + /*html$.KeyCode.ALT*/get ALT() { + return 18; + }, + /*html$.KeyCode.PAUSE*/get PAUSE() { + return 19; + }, + /*html$.KeyCode.CAPS_LOCK*/get CAPS_LOCK() { + return 20; + }, + /*html$.KeyCode.ESC*/get ESC() { + return 27; + }, + /*html$.KeyCode.SPACE*/get SPACE() { + return 32; + }, + /*html$.KeyCode.PAGE_UP*/get PAGE_UP() { + return 33; + }, + /*html$.KeyCode.PAGE_DOWN*/get PAGE_DOWN() { + return 34; + }, + /*html$.KeyCode.END*/get END() { + return 35; + }, + /*html$.KeyCode.HOME*/get HOME() { + return 36; + }, + /*html$.KeyCode.LEFT*/get LEFT() { + return 37; + }, + /*html$.KeyCode.UP*/get UP() { + return 38; + }, + /*html$.KeyCode.RIGHT*/get RIGHT() { + return 39; + }, + /*html$.KeyCode.DOWN*/get DOWN() { + return 40; + }, + /*html$.KeyCode.NUM_NORTH_EAST*/get NUM_NORTH_EAST() { + return 33; + }, + /*html$.KeyCode.NUM_SOUTH_EAST*/get NUM_SOUTH_EAST() { + return 34; + }, + /*html$.KeyCode.NUM_SOUTH_WEST*/get NUM_SOUTH_WEST() { + return 35; + }, + /*html$.KeyCode.NUM_NORTH_WEST*/get NUM_NORTH_WEST() { + return 36; + }, + /*html$.KeyCode.NUM_WEST*/get NUM_WEST() { + return 37; + }, + /*html$.KeyCode.NUM_NORTH*/get NUM_NORTH() { + return 38; + }, + /*html$.KeyCode.NUM_EAST*/get NUM_EAST() { + return 39; + }, + /*html$.KeyCode.NUM_SOUTH*/get NUM_SOUTH() { + return 40; + }, + /*html$.KeyCode.PRINT_SCREEN*/get PRINT_SCREEN() { + return 44; + }, + /*html$.KeyCode.INSERT*/get INSERT() { + return 45; + }, + /*html$.KeyCode.NUM_INSERT*/get NUM_INSERT() { + return 45; + }, + /*html$.KeyCode.DELETE*/get DELETE() { + return 46; + }, + /*html$.KeyCode.NUM_DELETE*/get NUM_DELETE() { + return 46; + }, + /*html$.KeyCode.ZERO*/get ZERO() { + return 48; + }, + /*html$.KeyCode.ONE*/get ONE() { + return 49; + }, + /*html$.KeyCode.TWO*/get TWO() { + return 50; + }, + /*html$.KeyCode.THREE*/get THREE() { + return 51; + }, + /*html$.KeyCode.FOUR*/get FOUR() { + return 52; + }, + /*html$.KeyCode.FIVE*/get FIVE() { + return 53; + }, + /*html$.KeyCode.SIX*/get SIX() { + return 54; + }, + /*html$.KeyCode.SEVEN*/get SEVEN() { + return 55; + }, + /*html$.KeyCode.EIGHT*/get EIGHT() { + return 56; + }, + /*html$.KeyCode.NINE*/get NINE() { + return 57; + }, + /*html$.KeyCode.FF_SEMICOLON*/get FF_SEMICOLON() { + return 59; + }, + /*html$.KeyCode.FF_EQUALS*/get FF_EQUALS() { + return 61; + }, + /*html$.KeyCode.QUESTION_MARK*/get QUESTION_MARK() { + return 63; + }, + /*html$.KeyCode.A*/get A() { + return 65; + }, + /*html$.KeyCode.B*/get B() { + return 66; + }, + /*html$.KeyCode.C*/get C() { + return 67; + }, + /*html$.KeyCode.D*/get D() { + return 68; + }, + /*html$.KeyCode.E*/get E() { + return 69; + }, + /*html$.KeyCode.F*/get F() { + return 70; + }, + /*html$.KeyCode.G*/get G() { + return 71; + }, + /*html$.KeyCode.H*/get H() { + return 72; + }, + /*html$.KeyCode.I*/get I() { + return 73; + }, + /*html$.KeyCode.J*/get J() { + return 74; + }, + /*html$.KeyCode.K*/get K() { + return 75; + }, + /*html$.KeyCode.L*/get L() { + return 76; + }, + /*html$.KeyCode.M*/get M() { + return 77; + }, + /*html$.KeyCode.N*/get N() { + return 78; + }, + /*html$.KeyCode.O*/get O() { + return 79; + }, + /*html$.KeyCode.P*/get P() { + return 80; + }, + /*html$.KeyCode.Q*/get Q() { + return 81; + }, + /*html$.KeyCode.R*/get R() { + return 82; + }, + /*html$.KeyCode.S*/get S() { + return 83; + }, + /*html$.KeyCode.T*/get T() { + return 84; + }, + /*html$.KeyCode.U*/get U() { + return 85; + }, + /*html$.KeyCode.V*/get V() { + return 86; + }, + /*html$.KeyCode.W*/get W() { + return 87; + }, + /*html$.KeyCode.X*/get X() { + return 88; + }, + /*html$.KeyCode.Y*/get Y() { + return 89; + }, + /*html$.KeyCode.Z*/get Z() { + return 90; + }, + /*html$.KeyCode.META*/get META() { + return 91; + }, + /*html$.KeyCode.WIN_KEY_LEFT*/get WIN_KEY_LEFT() { + return 91; + }, + /*html$.KeyCode.WIN_KEY_RIGHT*/get WIN_KEY_RIGHT() { + return 92; + }, + /*html$.KeyCode.CONTEXT_MENU*/get CONTEXT_MENU() { + return 93; + }, + /*html$.KeyCode.NUM_ZERO*/get NUM_ZERO() { + return 96; + }, + /*html$.KeyCode.NUM_ONE*/get NUM_ONE() { + return 97; + }, + /*html$.KeyCode.NUM_TWO*/get NUM_TWO() { + return 98; + }, + /*html$.KeyCode.NUM_THREE*/get NUM_THREE() { + return 99; + }, + /*html$.KeyCode.NUM_FOUR*/get NUM_FOUR() { + return 100; + }, + /*html$.KeyCode.NUM_FIVE*/get NUM_FIVE() { + return 101; + }, + /*html$.KeyCode.NUM_SIX*/get NUM_SIX() { + return 102; + }, + /*html$.KeyCode.NUM_SEVEN*/get NUM_SEVEN() { + return 103; + }, + /*html$.KeyCode.NUM_EIGHT*/get NUM_EIGHT() { + return 104; + }, + /*html$.KeyCode.NUM_NINE*/get NUM_NINE() { + return 105; + }, + /*html$.KeyCode.NUM_MULTIPLY*/get NUM_MULTIPLY() { + return 106; + }, + /*html$.KeyCode.NUM_PLUS*/get NUM_PLUS() { + return 107; + }, + /*html$.KeyCode.NUM_MINUS*/get NUM_MINUS() { + return 109; + }, + /*html$.KeyCode.NUM_PERIOD*/get NUM_PERIOD() { + return 110; + }, + /*html$.KeyCode.NUM_DIVISION*/get NUM_DIVISION() { + return 111; + }, + /*html$.KeyCode.F1*/get F1() { + return 112; + }, + /*html$.KeyCode.F2*/get F2() { + return 113; + }, + /*html$.KeyCode.F3*/get F3() { + return 114; + }, + /*html$.KeyCode.F4*/get F4() { + return 115; + }, + /*html$.KeyCode.F5*/get F5() { + return 116; + }, + /*html$.KeyCode.F6*/get F6() { + return 117; + }, + /*html$.KeyCode.F7*/get F7() { + return 118; + }, + /*html$.KeyCode.F8*/get F8() { + return 119; + }, + /*html$.KeyCode.F9*/get F9() { + return 120; + }, + /*html$.KeyCode.F10*/get F10() { + return 121; + }, + /*html$.KeyCode.F11*/get F11() { + return 122; + }, + /*html$.KeyCode.F12*/get F12() { + return 123; + }, + /*html$.KeyCode.NUMLOCK*/get NUMLOCK() { + return 144; + }, + /*html$.KeyCode.SCROLL_LOCK*/get SCROLL_LOCK() { + return 145; + }, + /*html$.KeyCode.FIRST_MEDIA_KEY*/get FIRST_MEDIA_KEY() { + return 166; + }, + /*html$.KeyCode.LAST_MEDIA_KEY*/get LAST_MEDIA_KEY() { + return 183; + }, + /*html$.KeyCode.SEMICOLON*/get SEMICOLON() { + return 186; + }, + /*html$.KeyCode.DASH*/get DASH() { + return 189; + }, + /*html$.KeyCode.EQUALS*/get EQUALS() { + return 187; + }, + /*html$.KeyCode.COMMA*/get COMMA() { + return 188; + }, + /*html$.KeyCode.PERIOD*/get PERIOD() { + return 190; + }, + /*html$.KeyCode.SLASH*/get SLASH() { + return 191; + }, + /*html$.KeyCode.APOSTROPHE*/get APOSTROPHE() { + return 192; + }, + /*html$.KeyCode.TILDE*/get TILDE() { + return 192; + }, + /*html$.KeyCode.SINGLE_QUOTE*/get SINGLE_QUOTE() { + return 222; + }, + /*html$.KeyCode.OPEN_SQUARE_BRACKET*/get OPEN_SQUARE_BRACKET() { + return 219; + }, + /*html$.KeyCode.BACKSLASH*/get BACKSLASH() { + return 220; + }, + /*html$.KeyCode.CLOSE_SQUARE_BRACKET*/get CLOSE_SQUARE_BRACKET() { + return 221; + }, + /*html$.KeyCode.WIN_KEY*/get WIN_KEY() { + return 224; + }, + /*html$.KeyCode.MAC_FF_META*/get MAC_FF_META() { + return 224; + }, + /*html$.KeyCode.WIN_IME*/get WIN_IME() { + return 229; + }, + /*html$.KeyCode.UNKNOWN*/get UNKNOWN() { + return -1; + } + }, false); + html$.KeyLocation = class KeyLocation extends core.Object {}; + (html$.KeyLocation.new = function() { + ; + }).prototype = html$.KeyLocation.prototype; + dart.addTypeTests(html$.KeyLocation); + dart.addTypeCaches(html$.KeyLocation); + dart.setLibraryUri(html$.KeyLocation, I[148]); + dart.defineLazy(html$.KeyLocation, { + /*html$.KeyLocation.STANDARD*/get STANDARD() { + return 0; + }, + /*html$.KeyLocation.LEFT*/get LEFT() { + return 1; + }, + /*html$.KeyLocation.RIGHT*/get RIGHT() { + return 2; + }, + /*html$.KeyLocation.NUMPAD*/get NUMPAD() { + return 3; + }, + /*html$.KeyLocation.MOBILE*/get MOBILE() { + return 4; + }, + /*html$.KeyLocation.JOYSTICK*/get JOYSTICK() { + return 5; + } + }, false); + html$._KeyName = class _KeyName extends core.Object {}; + (html$._KeyName.new = function() { + ; + }).prototype = html$._KeyName.prototype; + dart.addTypeTests(html$._KeyName); + dart.addTypeCaches(html$._KeyName); + dart.setLibraryUri(html$._KeyName, I[148]); + dart.defineLazy(html$._KeyName, { + /*html$._KeyName.ACCEPT*/get ACCEPT() { + return "Accept"; + }, + /*html$._KeyName.ADD*/get ADD() { + return "Add"; + }, + /*html$._KeyName.AGAIN*/get AGAIN() { + return "Again"; + }, + /*html$._KeyName.ALL_CANDIDATES*/get ALL_CANDIDATES() { + return "AllCandidates"; + }, + /*html$._KeyName.ALPHANUMERIC*/get ALPHANUMERIC() { + return "Alphanumeric"; + }, + /*html$._KeyName.ALT*/get ALT() { + return "Alt"; + }, + /*html$._KeyName.ALT_GRAPH*/get ALT_GRAPH() { + return "AltGraph"; + }, + /*html$._KeyName.APPS*/get APPS() { + return "Apps"; + }, + /*html$._KeyName.ATTN*/get ATTN() { + return "Attn"; + }, + /*html$._KeyName.BROWSER_BACK*/get BROWSER_BACK() { + return "BrowserBack"; + }, + /*html$._KeyName.BROWSER_FAVORTIES*/get BROWSER_FAVORTIES() { + return "BrowserFavorites"; + }, + /*html$._KeyName.BROWSER_FORWARD*/get BROWSER_FORWARD() { + return "BrowserForward"; + }, + /*html$._KeyName.BROWSER_NAME*/get BROWSER_NAME() { + return "BrowserHome"; + }, + /*html$._KeyName.BROWSER_REFRESH*/get BROWSER_REFRESH() { + return "BrowserRefresh"; + }, + /*html$._KeyName.BROWSER_SEARCH*/get BROWSER_SEARCH() { + return "BrowserSearch"; + }, + /*html$._KeyName.BROWSER_STOP*/get BROWSER_STOP() { + return "BrowserStop"; + }, + /*html$._KeyName.CAMERA*/get CAMERA() { + return "Camera"; + }, + /*html$._KeyName.CAPS_LOCK*/get CAPS_LOCK() { + return "CapsLock"; + }, + /*html$._KeyName.CLEAR*/get CLEAR() { + return "Clear"; + }, + /*html$._KeyName.CODE_INPUT*/get CODE_INPUT() { + return "CodeInput"; + }, + /*html$._KeyName.COMPOSE*/get COMPOSE() { + return "Compose"; + }, + /*html$._KeyName.CONTROL*/get CONTROL() { + return "Control"; + }, + /*html$._KeyName.CRSEL*/get CRSEL() { + return "Crsel"; + }, + /*html$._KeyName.CONVERT*/get CONVERT() { + return "Convert"; + }, + /*html$._KeyName.COPY*/get COPY() { + return "Copy"; + }, + /*html$._KeyName.CUT*/get CUT() { + return "Cut"; + }, + /*html$._KeyName.DECIMAL*/get DECIMAL() { + return "Decimal"; + }, + /*html$._KeyName.DIVIDE*/get DIVIDE() { + return "Divide"; + }, + /*html$._KeyName.DOWN*/get DOWN() { + return "Down"; + }, + /*html$._KeyName.DOWN_LEFT*/get DOWN_LEFT() { + return "DownLeft"; + }, + /*html$._KeyName.DOWN_RIGHT*/get DOWN_RIGHT() { + return "DownRight"; + }, + /*html$._KeyName.EJECT*/get EJECT() { + return "Eject"; + }, + /*html$._KeyName.END*/get END() { + return "End"; + }, + /*html$._KeyName.ENTER*/get ENTER() { + return "Enter"; + }, + /*html$._KeyName.ERASE_EOF*/get ERASE_EOF() { + return "EraseEof"; + }, + /*html$._KeyName.EXECUTE*/get EXECUTE() { + return "Execute"; + }, + /*html$._KeyName.EXSEL*/get EXSEL() { + return "Exsel"; + }, + /*html$._KeyName.FN*/get FN() { + return "Fn"; + }, + /*html$._KeyName.F1*/get F1() { + return "F1"; + }, + /*html$._KeyName.F2*/get F2() { + return "F2"; + }, + /*html$._KeyName.F3*/get F3() { + return "F3"; + }, + /*html$._KeyName.F4*/get F4() { + return "F4"; + }, + /*html$._KeyName.F5*/get F5() { + return "F5"; + }, + /*html$._KeyName.F6*/get F6() { + return "F6"; + }, + /*html$._KeyName.F7*/get F7() { + return "F7"; + }, + /*html$._KeyName.F8*/get F8() { + return "F8"; + }, + /*html$._KeyName.F9*/get F9() { + return "F9"; + }, + /*html$._KeyName.F10*/get F10() { + return "F10"; + }, + /*html$._KeyName.F11*/get F11() { + return "F11"; + }, + /*html$._KeyName.F12*/get F12() { + return "F12"; + }, + /*html$._KeyName.F13*/get F13() { + return "F13"; + }, + /*html$._KeyName.F14*/get F14() { + return "F14"; + }, + /*html$._KeyName.F15*/get F15() { + return "F15"; + }, + /*html$._KeyName.F16*/get F16() { + return "F16"; + }, + /*html$._KeyName.F17*/get F17() { + return "F17"; + }, + /*html$._KeyName.F18*/get F18() { + return "F18"; + }, + /*html$._KeyName.F19*/get F19() { + return "F19"; + }, + /*html$._KeyName.F20*/get F20() { + return "F20"; + }, + /*html$._KeyName.F21*/get F21() { + return "F21"; + }, + /*html$._KeyName.F22*/get F22() { + return "F22"; + }, + /*html$._KeyName.F23*/get F23() { + return "F23"; + }, + /*html$._KeyName.F24*/get F24() { + return "F24"; + }, + /*html$._KeyName.FINAL_MODE*/get FINAL_MODE() { + return "FinalMode"; + }, + /*html$._KeyName.FIND*/get FIND() { + return "Find"; + }, + /*html$._KeyName.FULL_WIDTH*/get FULL_WIDTH() { + return "FullWidth"; + }, + /*html$._KeyName.HALF_WIDTH*/get HALF_WIDTH() { + return "HalfWidth"; + }, + /*html$._KeyName.HANGUL_MODE*/get HANGUL_MODE() { + return "HangulMode"; + }, + /*html$._KeyName.HANJA_MODE*/get HANJA_MODE() { + return "HanjaMode"; + }, + /*html$._KeyName.HELP*/get HELP() { + return "Help"; + }, + /*html$._KeyName.HIRAGANA*/get HIRAGANA() { + return "Hiragana"; + }, + /*html$._KeyName.HOME*/get HOME() { + return "Home"; + }, + /*html$._KeyName.INSERT*/get INSERT() { + return "Insert"; + }, + /*html$._KeyName.JAPANESE_HIRAGANA*/get JAPANESE_HIRAGANA() { + return "JapaneseHiragana"; + }, + /*html$._KeyName.JAPANESE_KATAKANA*/get JAPANESE_KATAKANA() { + return "JapaneseKatakana"; + }, + /*html$._KeyName.JAPANESE_ROMAJI*/get JAPANESE_ROMAJI() { + return "JapaneseRomaji"; + }, + /*html$._KeyName.JUNJA_MODE*/get JUNJA_MODE() { + return "JunjaMode"; + }, + /*html$._KeyName.KANA_MODE*/get KANA_MODE() { + return "KanaMode"; + }, + /*html$._KeyName.KANJI_MODE*/get KANJI_MODE() { + return "KanjiMode"; + }, + /*html$._KeyName.KATAKANA*/get KATAKANA() { + return "Katakana"; + }, + /*html$._KeyName.LAUNCH_APPLICATION_1*/get LAUNCH_APPLICATION_1() { + return "LaunchApplication1"; + }, + /*html$._KeyName.LAUNCH_APPLICATION_2*/get LAUNCH_APPLICATION_2() { + return "LaunchApplication2"; + }, + /*html$._KeyName.LAUNCH_MAIL*/get LAUNCH_MAIL() { + return "LaunchMail"; + }, + /*html$._KeyName.LEFT*/get LEFT() { + return "Left"; + }, + /*html$._KeyName.MENU*/get MENU() { + return "Menu"; + }, + /*html$._KeyName.META*/get META() { + return "Meta"; + }, + /*html$._KeyName.MEDIA_NEXT_TRACK*/get MEDIA_NEXT_TRACK() { + return "MediaNextTrack"; + }, + /*html$._KeyName.MEDIA_PAUSE_PLAY*/get MEDIA_PAUSE_PLAY() { + return "MediaPlayPause"; + }, + /*html$._KeyName.MEDIA_PREVIOUS_TRACK*/get MEDIA_PREVIOUS_TRACK() { + return "MediaPreviousTrack"; + }, + /*html$._KeyName.MEDIA_STOP*/get MEDIA_STOP() { + return "MediaStop"; + }, + /*html$._KeyName.MODE_CHANGE*/get MODE_CHANGE() { + return "ModeChange"; + }, + /*html$._KeyName.NEXT_CANDIDATE*/get NEXT_CANDIDATE() { + return "NextCandidate"; + }, + /*html$._KeyName.NON_CONVERT*/get NON_CONVERT() { + return "Nonconvert"; + }, + /*html$._KeyName.NUM_LOCK*/get NUM_LOCK() { + return "NumLock"; + }, + /*html$._KeyName.PAGE_DOWN*/get PAGE_DOWN() { + return "PageDown"; + }, + /*html$._KeyName.PAGE_UP*/get PAGE_UP() { + return "PageUp"; + }, + /*html$._KeyName.PASTE*/get PASTE() { + return "Paste"; + }, + /*html$._KeyName.PAUSE*/get PAUSE() { + return "Pause"; + }, + /*html$._KeyName.PLAY*/get PLAY() { + return "Play"; + }, + /*html$._KeyName.POWER*/get POWER() { + return "Power"; + }, + /*html$._KeyName.PREVIOUS_CANDIDATE*/get PREVIOUS_CANDIDATE() { + return "PreviousCandidate"; + }, + /*html$._KeyName.PRINT_SCREEN*/get PRINT_SCREEN() { + return "PrintScreen"; + }, + /*html$._KeyName.PROCESS*/get PROCESS() { + return "Process"; + }, + /*html$._KeyName.PROPS*/get PROPS() { + return "Props"; + }, + /*html$._KeyName.RIGHT*/get RIGHT() { + return "Right"; + }, + /*html$._KeyName.ROMAN_CHARACTERS*/get ROMAN_CHARACTERS() { + return "RomanCharacters"; + }, + /*html$._KeyName.SCROLL*/get SCROLL() { + return "Scroll"; + }, + /*html$._KeyName.SELECT*/get SELECT() { + return "Select"; + }, + /*html$._KeyName.SELECT_MEDIA*/get SELECT_MEDIA() { + return "SelectMedia"; + }, + /*html$._KeyName.SEPARATOR*/get SEPARATOR() { + return "Separator"; + }, + /*html$._KeyName.SHIFT*/get SHIFT() { + return "Shift"; + }, + /*html$._KeyName.SOFT_1*/get SOFT_1() { + return "Soft1"; + }, + /*html$._KeyName.SOFT_2*/get SOFT_2() { + return "Soft2"; + }, + /*html$._KeyName.SOFT_3*/get SOFT_3() { + return "Soft3"; + }, + /*html$._KeyName.SOFT_4*/get SOFT_4() { + return "Soft4"; + }, + /*html$._KeyName.STOP*/get STOP() { + return "Stop"; + }, + /*html$._KeyName.SUBTRACT*/get SUBTRACT() { + return "Subtract"; + }, + /*html$._KeyName.SYMBOL_LOCK*/get SYMBOL_LOCK() { + return "SymbolLock"; + }, + /*html$._KeyName.UP*/get UP() { + return "Up"; + }, + /*html$._KeyName.UP_LEFT*/get UP_LEFT() { + return "UpLeft"; + }, + /*html$._KeyName.UP_RIGHT*/get UP_RIGHT() { + return "UpRight"; + }, + /*html$._KeyName.UNDO*/get UNDO() { + return "Undo"; + }, + /*html$._KeyName.VOLUME_DOWN*/get VOLUME_DOWN() { + return "VolumeDown"; + }, + /*html$._KeyName.VOLUMN_MUTE*/get VOLUMN_MUTE() { + return "VolumeMute"; + }, + /*html$._KeyName.VOLUMN_UP*/get VOLUMN_UP() { + return "VolumeUp"; + }, + /*html$._KeyName.WIN*/get WIN() { + return "Win"; + }, + /*html$._KeyName.ZOOM*/get ZOOM() { + return "Zoom"; + }, + /*html$._KeyName.BACKSPACE*/get BACKSPACE() { + return "Backspace"; + }, + /*html$._KeyName.TAB*/get TAB() { + return "Tab"; + }, + /*html$._KeyName.CANCEL*/get CANCEL() { + return "Cancel"; + }, + /*html$._KeyName.ESC*/get ESC() { + return "Esc"; + }, + /*html$._KeyName.SPACEBAR*/get SPACEBAR() { + return "Spacebar"; + }, + /*html$._KeyName.DEL*/get DEL() { + return "Del"; + }, + /*html$._KeyName.DEAD_GRAVE*/get DEAD_GRAVE() { + return "DeadGrave"; + }, + /*html$._KeyName.DEAD_EACUTE*/get DEAD_EACUTE() { + return "DeadEacute"; + }, + /*html$._KeyName.DEAD_CIRCUMFLEX*/get DEAD_CIRCUMFLEX() { + return "DeadCircumflex"; + }, + /*html$._KeyName.DEAD_TILDE*/get DEAD_TILDE() { + return "DeadTilde"; + }, + /*html$._KeyName.DEAD_MACRON*/get DEAD_MACRON() { + return "DeadMacron"; + }, + /*html$._KeyName.DEAD_BREVE*/get DEAD_BREVE() { + return "DeadBreve"; + }, + /*html$._KeyName.DEAD_ABOVE_DOT*/get DEAD_ABOVE_DOT() { + return "DeadAboveDot"; + }, + /*html$._KeyName.DEAD_UMLAUT*/get DEAD_UMLAUT() { + return "DeadUmlaut"; + }, + /*html$._KeyName.DEAD_ABOVE_RING*/get DEAD_ABOVE_RING() { + return "DeadAboveRing"; + }, + /*html$._KeyName.DEAD_DOUBLEACUTE*/get DEAD_DOUBLEACUTE() { + return "DeadDoubleacute"; + }, + /*html$._KeyName.DEAD_CARON*/get DEAD_CARON() { + return "DeadCaron"; + }, + /*html$._KeyName.DEAD_CEDILLA*/get DEAD_CEDILLA() { + return "DeadCedilla"; + }, + /*html$._KeyName.DEAD_OGONEK*/get DEAD_OGONEK() { + return "DeadOgonek"; + }, + /*html$._KeyName.DEAD_IOTA*/get DEAD_IOTA() { + return "DeadIota"; + }, + /*html$._KeyName.DEAD_VOICED_SOUND*/get DEAD_VOICED_SOUND() { + return "DeadVoicedSound"; + }, + /*html$._KeyName.DEC_SEMIVOICED_SOUND*/get DEC_SEMIVOICED_SOUND() { + return "DeadSemivoicedSound"; + }, + /*html$._KeyName.UNIDENTIFIED*/get UNIDENTIFIED() { + return "Unidentified"; + } + }, false); + html$._KeyboardEventHandler = class _KeyboardEventHandler extends html$.EventStreamProvider$(html$.KeyEvent) { + forTarget(e, opts) { + let useCapture = opts && 'useCapture' in opts ? opts.useCapture : false; + if (useCapture == null) dart.nullFailed(I[147], 38949, 58, "useCapture"); + let handler = new html$._KeyboardEventHandler.initializeAllEventListeners(this[S$3._type$5], e); + return handler[S$3._stream$3]; + } + get [S$3._capsLockOn]() { + return this[S$3._keyDownList][$any](dart.fn(element => { + if (element == null) dart.nullFailed(I[147], 38984, 29, "element"); + return element.keyCode === 20; + }, T$0.KeyEventTobool())); + } + [S$3._determineKeyCodeForKeypress](event) { + if (event == null) dart.nullFailed(I[147], 38993, 50, "event"); + for (let prevEvent of this[S$3._keyDownList]) { + if (prevEvent[S$3._shadowCharCode] == event.charCode) { + return prevEvent.keyCode; + } + if ((dart.test(event.shiftKey) || dart.test(this[S$3._capsLockOn])) && dart.notNull(event.charCode) >= dart.notNull("A"[$codeUnits][$_get](0)) && dart.notNull(event.charCode) <= dart.notNull("Z"[$codeUnits][$_get](0)) && dart.notNull(event.charCode) + dart.notNull(html$._KeyboardEventHandler._ROMAN_ALPHABET_OFFSET) === prevEvent[S$3._shadowCharCode]) { + return prevEvent.keyCode; + } + } + return -1; + } + [S$3._findCharCodeKeyDown](event) { + if (event == null) dart.nullFailed(I[147], 39017, 42, "event"); + if (event.location === 3) { + switch (event.keyCode) { + case 96: + { + return 48; + } + case 97: + { + return 49; + } + case 98: + { + return 50; + } + case 99: + { + return 51; + } + case 100: + { + return 52; + } + case 101: + { + return 53; + } + case 102: + { + return 54; + } + case 103: + { + return 55; + } + case 104: + { + return 56; + } + case 105: + { + return 57; + } + case 106: + { + return 42; + } + case 107: + { + return 43; + } + case 109: + { + return 45; + } + case 110: + { + return 46; + } + case 111: + { + return 47; + } + } + } else if (dart.notNull(event.keyCode) >= 65 && dart.notNull(event.keyCode) <= 90) { + return dart.notNull(event.keyCode) + dart.notNull(html$._KeyboardEventHandler._ROMAN_ALPHABET_OFFSET); + } + switch (event.keyCode) { + case 186: + { + return 59; + } + case 187: + { + return 61; + } + case 188: + { + return 44; + } + case 189: + { + return 45; + } + case 190: + { + return 46; + } + case 191: + { + return 47; + } + case 192: + { + return 96; + } + case 219: + { + return 91; + } + case 220: + { + return 92; + } + case 221: + { + return 93; + } + case 222: + { + return 39; + } + } + return event.keyCode; + } + [S$3._firesKeyPressEvent](event) { + if (event == null) dart.nullFailed(I[147], 39091, 37, "event"); + if (!dart.test(html_common.Device.isIE) && !dart.test(html_common.Device.isWebKit)) { + return true; + } + if (html_common.Device.userAgent[$contains]("Mac") && dart.test(event.altKey)) { + return html$.KeyCode.isCharacterKey(event.keyCode); + } + if (dart.test(event.altKey) && !dart.test(event.ctrlKey)) { + return false; + } + if (!dart.test(event.shiftKey) && (this[S$3._keyDownList][$last].keyCode === 17 || this[S$3._keyDownList][$last].keyCode === 18 || html_common.Device.userAgent[$contains]("Mac") && this[S$3._keyDownList][$last].keyCode === 91)) { + return false; + } + if (dart.test(html_common.Device.isWebKit) && dart.test(event.ctrlKey) && dart.test(event.shiftKey) && (event.keyCode === 220 || event.keyCode === 219 || event.keyCode === 221 || event.keyCode === 192 || event.keyCode === 186 || event.keyCode === 189 || event.keyCode === 187 || event.keyCode === 188 || event.keyCode === 190 || event.keyCode === 191 || event.keyCode === 192 || event.keyCode === 222)) { + return false; + } + switch (event.keyCode) { + case 13: + { + return !dart.test(html_common.Device.isIE); + } + case 27: + { + return !dart.test(html_common.Device.isWebKit); + } + } + return html$.KeyCode.isCharacterKey(event.keyCode); + } + [S$3._normalizeKeyCodes](event) { + if (event == null) dart.nullFailed(I[147], 39148, 40, "event"); + if (dart.test(html_common.Device.isFirefox)) { + switch (event.keyCode) { + case 61: + { + return 187; + } + case 59: + { + return 186; + } + case 224: + { + return 91; + } + case 0: + { + return 224; + } + } + } + return event.keyCode; + } + processKeyDown(e) { + if (e == null) dart.nullFailed(I[147], 39166, 37, "e"); + if (dart.notNull(this[S$3._keyDownList][$length]) > 0 && (this[S$3._keyDownList][$last].keyCode === 17 && !dart.test(e.ctrlKey) || this[S$3._keyDownList][$last].keyCode === 18 && !dart.test(e.altKey) || html_common.Device.userAgent[$contains]("Mac") && this[S$3._keyDownList][$last].keyCode === 91 && !dart.test(e.metaKey))) { + this[S$3._keyDownList][$clear](); + } + let event = new html$.KeyEvent.wrap(e); + event[S$3._shadowKeyCode] = this[S$3._normalizeKeyCodes](event); + event[S$3._shadowCharCode] = this[S$3._findCharCodeKeyDown](event); + if (dart.notNull(this[S$3._keyDownList][$length]) > 0 && event.keyCode != this[S$3._keyDownList][$last].keyCode && !dart.test(this[S$3._firesKeyPressEvent](event))) { + this.processKeyPress(e); + } + this[S$3._keyDownList][$add](event); + this[S$3._stream$3].add(event); + } + processKeyPress(event) { + if (event == null) dart.nullFailed(I[147], 39198, 38, "event"); + let e = new html$.KeyEvent.wrap(event); + if (dart.test(html_common.Device.isIE)) { + if (e.keyCode === 13 || e.keyCode === 27) { + e[S$3._shadowCharCode] = 0; + } else { + e[S$3._shadowCharCode] = e.keyCode; + } + } else if (dart.test(html_common.Device.isOpera)) { + e[S$3._shadowCharCode] = dart.test(html$.KeyCode.isCharacterKey(e.keyCode)) ? e.keyCode : 0; + } + e[S$3._shadowKeyCode] = this[S$3._determineKeyCodeForKeypress](e); + if (e[S$3._shadowKeyIdentifier] != null && dart.test(html$._KeyboardEventHandler._keyIdentifier[$containsKey](e[S$3._shadowKeyIdentifier]))) { + e[S$3._shadowKeyCode] = dart.nullCheck(html$._KeyboardEventHandler._keyIdentifier[$_get](e[S$3._shadowKeyIdentifier])); + } + e[S$3._shadowAltKey] = this[S$3._keyDownList][$any](dart.fn(element => { + if (element == null) dart.nullFailed(I[147], 39223, 45, "element"); + return element.altKey; + }, T$0.KeyEventTobool())); + this[S$3._stream$3].add(e); + } + processKeyUp(event) { + if (event == null) dart.nullFailed(I[147], 39228, 35, "event"); + let e = new html$.KeyEvent.wrap(event); + let toRemove = null; + for (let key of this[S$3._keyDownList]) { + if (key.keyCode == e.keyCode) { + toRemove = key; + } + } + if (toRemove != null) { + this[S$3._keyDownList][$removeWhere](dart.fn(element => { + if (element == null) dart.nullFailed(I[147], 39237, 33, "element"); + return dart.equals(element, toRemove); + }, T$0.KeyEventTobool())); + } else if (dart.notNull(this[S$3._keyDownList][$length]) > 0) { + this[S$3._keyDownList][$removeLast](); + } + this[S$3._stream$3].add(e); + } + }; + (html$._KeyboardEventHandler.new = function(_type) { + if (_type == null) dart.nullFailed(I[147], 38959, 30, "_type"); + this[S$3._keyDownList] = T$0.JSArrayOfKeyEvent().of([]); + this[S$3._type$5] = _type; + this[S$3._stream$3] = new html$._CustomKeyEventStreamImpl.new("event"); + this[S$3._target$2] = null; + html$._KeyboardEventHandler.__proto__.new.call(this, "KeyEvent"); + ; + }).prototype = html$._KeyboardEventHandler.prototype; + (html$._KeyboardEventHandler.initializeAllEventListeners = function(_type, _target) { + if (_type == null) dart.nullFailed(I[147], 38968, 58, "_type"); + this[S$3._keyDownList] = T$0.JSArrayOfKeyEvent().of([]); + this[S$3._type$5] = _type; + this[S$3._target$2] = _target; + this[S$3._stream$3] = new html$._CustomKeyEventStreamImpl.new(_type); + html$._KeyboardEventHandler.__proto__.new.call(this, "KeyEvent"); + html$.Element.keyDownEvent.forTarget(this[S$3._target$2], {useCapture: true}).listen(dart.bind(this, 'processKeyDown')); + html$.Element.keyPressEvent.forTarget(this[S$3._target$2], {useCapture: true}).listen(dart.bind(this, 'processKeyPress')); + html$.Element.keyUpEvent.forTarget(this[S$3._target$2], {useCapture: true}).listen(dart.bind(this, 'processKeyUp')); + }).prototype = html$._KeyboardEventHandler.prototype; + dart.addTypeTests(html$._KeyboardEventHandler); + dart.addTypeCaches(html$._KeyboardEventHandler); + dart.setMethodSignature(html$._KeyboardEventHandler, () => ({ + __proto__: dart.getMethods(html$._KeyboardEventHandler.__proto__), + forTarget: dart.fnType(html$.CustomStream$(html$.KeyEvent), [dart.nullable(html$.EventTarget)], {useCapture: core.bool}, {}), + [S$3._determineKeyCodeForKeypress]: dart.fnType(core.int, [html$.KeyboardEvent]), + [S$3._findCharCodeKeyDown]: dart.fnType(core.int, [html$.KeyboardEvent]), + [S$3._firesKeyPressEvent]: dart.fnType(core.bool, [html$.KeyEvent]), + [S$3._normalizeKeyCodes]: dart.fnType(core.int, [html$.KeyboardEvent]), + processKeyDown: dart.fnType(dart.void, [html$.KeyboardEvent]), + processKeyPress: dart.fnType(dart.void, [html$.KeyboardEvent]), + processKeyUp: dart.fnType(dart.void, [html$.KeyboardEvent]) + })); + dart.setGetterSignature(html$._KeyboardEventHandler, () => ({ + __proto__: dart.getGetters(html$._KeyboardEventHandler.__proto__), + [S$3._capsLockOn]: core.bool + })); + dart.setLibraryUri(html$._KeyboardEventHandler, I[148]); + dart.setFieldSignature(html$._KeyboardEventHandler, () => ({ + __proto__: dart.getFields(html$._KeyboardEventHandler.__proto__), + [S$3._keyDownList]: dart.finalFieldType(core.List$(html$.KeyEvent)), + [S$3._type$5]: dart.finalFieldType(core.String), + [S$3._target$2]: dart.finalFieldType(dart.nullable(html$.EventTarget)), + [S$3._stream$3]: dart.fieldType(html$._CustomKeyEventStreamImpl) + })); + dart.defineLazy(html$._KeyboardEventHandler, { + /*html$._KeyboardEventHandler._ROMAN_ALPHABET_OFFSET*/get _ROMAN_ALPHABET_OFFSET() { + return dart.notNull("a"[$codeUnits][$_get](0)) - dart.notNull("A"[$codeUnits][$_get](0)); + }, + /*html$._KeyboardEventHandler._EVENT_TYPE*/get _EVENT_TYPE() { + return "KeyEvent"; + }, + /*html$._KeyboardEventHandler._keyIdentifier*/get _keyIdentifier() { + return C[403] || CT.C403; + } + }, false); + html$.KeyboardEventStream = class KeyboardEventStream extends core.Object { + static onKeyPress(target) { + if (target == null) dart.nullFailed(I[147], 39265, 56, "target"); + return new html$._KeyboardEventHandler.new("keypress").forTarget(target); + } + static onKeyUp(target) { + if (target == null) dart.nullFailed(I[147], 39269, 53, "target"); + return new html$._KeyboardEventHandler.new("keyup").forTarget(target); + } + static onKeyDown(target) { + if (target == null) dart.nullFailed(I[147], 39273, 55, "target"); + return new html$._KeyboardEventHandler.new("keydown").forTarget(target); + } + }; + (html$.KeyboardEventStream.new = function() { + ; + }).prototype = html$.KeyboardEventStream.prototype; + dart.addTypeTests(html$.KeyboardEventStream); + dart.addTypeCaches(html$.KeyboardEventStream); + dart.setLibraryUri(html$.KeyboardEventStream, I[148]); + html$.NodeValidatorBuilder = class NodeValidatorBuilder extends core.Object { + allowNavigation(uriPolicy = null) { + if (uriPolicy == null) { + uriPolicy = html$.UriPolicy.new(); + } + this.add(html$._SimpleNodeValidator.allowNavigation(uriPolicy)); + } + allowImages(uriPolicy = null) { + if (uriPolicy == null) { + uriPolicy = html$.UriPolicy.new(); + } + this.add(html$._SimpleNodeValidator.allowImages(uriPolicy)); + } + allowTextElements() { + this.add(html$._SimpleNodeValidator.allowTextElements()); + } + allowInlineStyles(opts) { + let tagName = opts && 'tagName' in opts ? opts.tagName : null; + if (tagName == null) { + tagName = "*"; + } else { + tagName = tagName[$toUpperCase](); + } + this.add(new html$._SimpleNodeValidator.new(null, {allowedAttributes: T$.JSArrayOfString().of([dart.str(tagName) + "::style"])})); + } + allowHtml5(opts) { + let uriPolicy = opts && 'uriPolicy' in opts ? opts.uriPolicy : null; + this.add(new html$._Html5NodeValidator.new({uriPolicy: uriPolicy})); + } + allowSvg() { + this.add(new html$._SvgNodeValidator.new()); + } + allowCustomElement(tagName, opts) { + let t241, t241$; + if (tagName == null) dart.nullFailed(I[147], 39424, 34, "tagName"); + let uriPolicy = opts && 'uriPolicy' in opts ? opts.uriPolicy : null; + let attributes = opts && 'attributes' in opts ? opts.attributes : null; + let uriAttributes = opts && 'uriAttributes' in opts ? opts.uriAttributes : null; + let tagNameUpper = tagName[$toUpperCase](); + let attrs = (t241 = attributes, t241 == null ? null : t241[$map](core.String, dart.fn(name => { + if (name == null) dart.nullFailed(I[147], 39430, 24, "name"); + return tagNameUpper + "::" + name[$toLowerCase](); + }, T$.StringToString()))); + let uriAttrs = (t241$ = uriAttributes, t241$ == null ? null : t241$[$map](core.String, dart.fn(name => { + if (name == null) dart.nullFailed(I[147], 39432, 24, "name"); + return tagNameUpper + "::" + name[$toLowerCase](); + }, T$.StringToString()))); + if (uriPolicy == null) { + uriPolicy = html$.UriPolicy.new(); + } + this.add(new html$._CustomElementNodeValidator.new(uriPolicy, T$.JSArrayOfString().of([tagNameUpper]), attrs, uriAttrs, false, true)); + } + allowTagExtension(tagName, baseName, opts) { + let t241, t241$; + if (tagName == null) dart.nullFailed(I[147], 39449, 33, "tagName"); + if (baseName == null) dart.nullFailed(I[147], 39449, 49, "baseName"); + let uriPolicy = opts && 'uriPolicy' in opts ? opts.uriPolicy : null; + let attributes = opts && 'attributes' in opts ? opts.attributes : null; + let uriAttributes = opts && 'uriAttributes' in opts ? opts.uriAttributes : null; + let baseNameUpper = baseName[$toUpperCase](); + let tagNameUpper = tagName[$toUpperCase](); + let attrs = (t241 = attributes, t241 == null ? null : t241[$map](core.String, dart.fn(name => { + if (name == null) dart.nullFailed(I[147], 39456, 24, "name"); + return baseNameUpper + "::" + name[$toLowerCase](); + }, T$.StringToString()))); + let uriAttrs = (t241$ = uriAttributes, t241$ == null ? null : t241$[$map](core.String, dart.fn(name => { + if (name == null) dart.nullFailed(I[147], 39458, 24, "name"); + return baseNameUpper + "::" + name[$toLowerCase](); + }, T$.StringToString()))); + if (uriPolicy == null) { + uriPolicy = html$.UriPolicy.new(); + } + this.add(new html$._CustomElementNodeValidator.new(uriPolicy, T$.JSArrayOfString().of([tagNameUpper, baseNameUpper]), attrs, uriAttrs, true, false)); + } + allowElement(tagName, opts) { + if (tagName == null) dart.nullFailed(I[147], 39467, 28, "tagName"); + let uriPolicy = opts && 'uriPolicy' in opts ? opts.uriPolicy : null; + let attributes = opts && 'attributes' in opts ? opts.attributes : null; + let uriAttributes = opts && 'uriAttributes' in opts ? opts.uriAttributes : null; + this.allowCustomElement(tagName, {uriPolicy: uriPolicy, attributes: attributes, uriAttributes: uriAttributes}); + } + allowTemplating() { + this.add(new html$._TemplatingNodeValidator.new()); + } + add(validator) { + if (validator == null) dart.nullFailed(I[147], 39494, 26, "validator"); + this[S$3._validators][$add](validator); + } + allowsElement(element) { + if (element == null) dart.nullFailed(I[147], 39498, 30, "element"); + return this[S$3._validators][$any](dart.fn(v => { + if (v == null) dart.nullFailed(I[147], 39499, 29, "v"); + return v.allowsElement(element); + }, T$0.NodeValidatorTobool())); + } + allowsAttribute(element, attributeName, value) { + if (element == null) dart.nullFailed(I[147], 39502, 32, "element"); + if (attributeName == null) dart.nullFailed(I[147], 39502, 48, "attributeName"); + if (value == null) dart.nullFailed(I[147], 39502, 70, "value"); + return this[S$3._validators][$any](dart.fn(v => { + if (v == null) dart.nullFailed(I[147], 39504, 15, "v"); + return v.allowsAttribute(element, attributeName, value); + }, T$0.NodeValidatorTobool())); + } + }; + (html$.NodeValidatorBuilder.new = function() { + this[S$3._validators] = T$0.JSArrayOfNodeValidator().of([]); + }).prototype = html$.NodeValidatorBuilder.prototype; + (html$.NodeValidatorBuilder.common = function() { + this[S$3._validators] = T$0.JSArrayOfNodeValidator().of([]); + this.allowHtml5(); + this.allowTemplating(); + }).prototype = html$.NodeValidatorBuilder.prototype; + dart.addTypeTests(html$.NodeValidatorBuilder); + dart.addTypeCaches(html$.NodeValidatorBuilder); + html$.NodeValidatorBuilder[dart.implements] = () => [html$.NodeValidator]; + dart.setMethodSignature(html$.NodeValidatorBuilder, () => ({ + __proto__: dart.getMethods(html$.NodeValidatorBuilder.__proto__), + allowNavigation: dart.fnType(dart.void, [], [dart.nullable(html$.UriPolicy)]), + allowImages: dart.fnType(dart.void, [], [dart.nullable(html$.UriPolicy)]), + allowTextElements: dart.fnType(dart.void, []), + allowInlineStyles: dart.fnType(dart.void, [], {tagName: dart.nullable(core.String)}, {}), + allowHtml5: dart.fnType(dart.void, [], {uriPolicy: dart.nullable(html$.UriPolicy)}, {}), + allowSvg: dart.fnType(dart.void, []), + allowCustomElement: dart.fnType(dart.void, [core.String], {attributes: dart.nullable(core.Iterable$(core.String)), uriAttributes: dart.nullable(core.Iterable$(core.String)), uriPolicy: dart.nullable(html$.UriPolicy)}, {}), + allowTagExtension: dart.fnType(dart.void, [core.String, core.String], {attributes: dart.nullable(core.Iterable$(core.String)), uriAttributes: dart.nullable(core.Iterable$(core.String)), uriPolicy: dart.nullable(html$.UriPolicy)}, {}), + allowElement: dart.fnType(dart.void, [core.String], {attributes: dart.nullable(core.Iterable$(core.String)), uriAttributes: dart.nullable(core.Iterable$(core.String)), uriPolicy: dart.nullable(html$.UriPolicy)}, {}), + allowTemplating: dart.fnType(dart.void, []), + add: dart.fnType(dart.void, [html$.NodeValidator]), + allowsElement: dart.fnType(core.bool, [html$.Element]), + allowsAttribute: dart.fnType(core.bool, [html$.Element, core.String, core.String]) + })); + dart.setLibraryUri(html$.NodeValidatorBuilder, I[148]); + dart.setFieldSignature(html$.NodeValidatorBuilder, () => ({ + __proto__: dart.getFields(html$.NodeValidatorBuilder.__proto__), + [S$3._validators]: dart.finalFieldType(core.List$(html$.NodeValidator)) + })); + html$._SimpleNodeValidator = class _SimpleNodeValidator extends core.Object { + static allowNavigation(uriPolicy) { + if (uriPolicy == null) dart.nullFailed(I[147], 39514, 58, "uriPolicy"); + return new html$._SimpleNodeValidator.new(uriPolicy, {allowedElements: C[405] || CT.C405, allowedAttributes: C[406] || CT.C406, allowedUriAttributes: C[407] || CT.C407}); + } + static allowImages(uriPolicy) { + if (uriPolicy == null) dart.nullFailed(I[147], 39540, 54, "uriPolicy"); + return new html$._SimpleNodeValidator.new(uriPolicy, {allowedElements: C[408] || CT.C408, allowedAttributes: C[409] || CT.C409, allowedUriAttributes: C[410] || CT.C410}); + } + static allowTextElements() { + return new html$._SimpleNodeValidator.new(null, {allowedElements: C[411] || CT.C411}); + } + allowsElement(element) { + if (element == null) dart.nullFailed(I[147], 39602, 30, "element"); + return this.allowedElements.contains(html$.Element._safeTagName(element)); + } + allowsAttribute(element, attributeName, value) { + if (element == null) dart.nullFailed(I[147], 39606, 32, "element"); + if (attributeName == null) dart.nullFailed(I[147], 39606, 48, "attributeName"); + if (value == null) dart.nullFailed(I[147], 39606, 70, "value"); + let tagName = html$.Element._safeTagName(element); + if (dart.test(this.allowedUriAttributes.contains(dart.str(tagName) + "::" + dart.str(attributeName)))) { + return dart.nullCheck(this.uriPolicy).allowsUri(value); + } else if (dart.test(this.allowedUriAttributes.contains("*::" + dart.str(attributeName)))) { + return dart.nullCheck(this.uriPolicy).allowsUri(value); + } else if (dart.test(this.allowedAttributes.contains(dart.str(tagName) + "::" + dart.str(attributeName)))) { + return true; + } else if (dart.test(this.allowedAttributes.contains("*::" + dart.str(attributeName)))) { + return true; + } else if (dart.test(this.allowedAttributes.contains(dart.str(tagName) + "::*"))) { + return true; + } else if (dart.test(this.allowedAttributes.contains("*::*"))) { + return true; + } + return false; + } + }; + (html$._SimpleNodeValidator.new = function(uriPolicy, opts) { + let t241, t241$, t241$0; + let allowedElements = opts && 'allowedElements' in opts ? opts.allowedElements : null; + let allowedAttributes = opts && 'allowedAttributes' in opts ? opts.allowedAttributes : null; + let allowedUriAttributes = opts && 'allowedUriAttributes' in opts ? opts.allowedUriAttributes : null; + this.allowedElements = new (T$0._IdentityHashSetOfString()).new(); + this.allowedAttributes = new (T$0._IdentityHashSetOfString()).new(); + this.allowedUriAttributes = new (T$0._IdentityHashSetOfString()).new(); + this.uriPolicy = uriPolicy; + this.allowedElements.addAll((t241 = allowedElements, t241 == null ? C[404] || CT.C404 : t241)); + allowedAttributes = (t241$ = allowedAttributes, t241$ == null ? C[404] || CT.C404 : t241$); + allowedUriAttributes = (t241$0 = allowedUriAttributes, t241$0 == null ? C[404] || CT.C404 : t241$0); + let legalAttributes = allowedAttributes[$where](dart.fn(x => { + if (x == null) dart.nullFailed(I[147], 39594, 17, "x"); + return !dart.test(html$._Html5NodeValidator._uriAttributes[$contains](x)); + }, T$.StringTobool())); + let extraUriAttributes = allowedAttributes[$where](dart.fn(x => { + if (x == null) dart.nullFailed(I[147], 39596, 17, "x"); + return html$._Html5NodeValidator._uriAttributes[$contains](x); + }, T$.StringTobool())); + this.allowedAttributes.addAll(legalAttributes); + this.allowedUriAttributes.addAll(allowedUriAttributes); + this.allowedUriAttributes.addAll(extraUriAttributes); + }).prototype = html$._SimpleNodeValidator.prototype; + dart.addTypeTests(html$._SimpleNodeValidator); + dart.addTypeCaches(html$._SimpleNodeValidator); + html$._SimpleNodeValidator[dart.implements] = () => [html$.NodeValidator]; + dart.setMethodSignature(html$._SimpleNodeValidator, () => ({ + __proto__: dart.getMethods(html$._SimpleNodeValidator.__proto__), + allowsElement: dart.fnType(core.bool, [html$.Element]), + allowsAttribute: dart.fnType(core.bool, [html$.Element, core.String, core.String]) + })); + dart.setLibraryUri(html$._SimpleNodeValidator, I[148]); + dart.setFieldSignature(html$._SimpleNodeValidator, () => ({ + __proto__: dart.getFields(html$._SimpleNodeValidator.__proto__), + allowedElements: dart.finalFieldType(core.Set$(core.String)), + allowedAttributes: dart.finalFieldType(core.Set$(core.String)), + allowedUriAttributes: dart.finalFieldType(core.Set$(core.String)), + uriPolicy: dart.finalFieldType(dart.nullable(html$.UriPolicy)) + })); + html$._CustomElementNodeValidator = class _CustomElementNodeValidator extends html$._SimpleNodeValidator { + allowsElement(element) { + if (element == null) dart.nullFailed(I[147], 39643, 30, "element"); + if (dart.test(this.allowTypeExtension)) { + let isAttr = element[S.$attributes][$_get]("is"); + if (isAttr != null) { + return dart.test(this.allowedElements.contains(isAttr[$toUpperCase]())) && dart.test(this.allowedElements.contains(html$.Element._safeTagName(element))); + } + } + return dart.test(this.allowCustomTag) && dart.test(this.allowedElements.contains(html$.Element._safeTagName(element))); + } + allowsAttribute(element, attributeName, value) { + if (element == null) dart.nullFailed(I[147], 39655, 32, "element"); + if (attributeName == null) dart.nullFailed(I[147], 39655, 48, "attributeName"); + if (value == null) dart.nullFailed(I[147], 39655, 70, "value"); + if (dart.test(this.allowsElement(element))) { + if (dart.test(this.allowTypeExtension) && attributeName === "is" && dart.test(this.allowedElements.contains(value[$toUpperCase]()))) { + return true; + } + return super.allowsAttribute(element, attributeName, value); + } + return false; + } + }; + (html$._CustomElementNodeValidator.new = function(uriPolicy, allowedElements, allowedAttributes, allowedUriAttributes, allowTypeExtension, allowCustomTag) { + if (uriPolicy == null) dart.nullFailed(I[147], 39630, 17, "uriPolicy"); + if (allowedElements == null) dart.nullFailed(I[147], 39631, 24, "allowedElements"); + if (allowTypeExtension == null) dart.nullFailed(I[147], 39634, 12, "allowTypeExtension"); + if (allowCustomTag == null) dart.nullFailed(I[147], 39635, 12, "allowCustomTag"); + this.allowTypeExtension = allowTypeExtension === true; + this.allowCustomTag = allowCustomTag === true; + html$._CustomElementNodeValidator.__proto__.new.call(this, uriPolicy, {allowedElements: allowedElements, allowedAttributes: allowedAttributes, allowedUriAttributes: allowedUriAttributes}); + ; + }).prototype = html$._CustomElementNodeValidator.prototype; + dart.addTypeTests(html$._CustomElementNodeValidator); + dart.addTypeCaches(html$._CustomElementNodeValidator); + dart.setLibraryUri(html$._CustomElementNodeValidator, I[148]); + dart.setFieldSignature(html$._CustomElementNodeValidator, () => ({ + __proto__: dart.getFields(html$._CustomElementNodeValidator.__proto__), + allowTypeExtension: dart.finalFieldType(core.bool), + allowCustomTag: dart.finalFieldType(core.bool) + })); + html$._TemplatingNodeValidator = class _TemplatingNodeValidator extends html$._SimpleNodeValidator { + allowsAttribute(element, attributeName, value) { + if (element == null) dart.nullFailed(I[147], 39686, 32, "element"); + if (attributeName == null) dart.nullFailed(I[147], 39686, 48, "attributeName"); + if (value == null) dart.nullFailed(I[147], 39686, 70, "value"); + if (dart.test(super.allowsAttribute(element, attributeName, value))) { + return true; + } + if (attributeName === "template" && value === "") { + return true; + } + if (element[S.$attributes][$_get]("template") === "") { + return this[S$3._templateAttrs].contains(attributeName); + } + return false; + } + }; + (html$._TemplatingNodeValidator.new = function() { + this[S$3._templateAttrs] = T$0.LinkedHashSetOfString().from(html$._TemplatingNodeValidator._TEMPLATE_ATTRS); + html$._TemplatingNodeValidator.__proto__.new.call(this, null, {allowedElements: T$.JSArrayOfString().of(["TEMPLATE"]), allowedAttributes: html$._TemplatingNodeValidator._TEMPLATE_ATTRS[$map](core.String, dart.fn(attr => { + if (attr == null) dart.nullFailed(I[147], 39684, 38, "attr"); + return "TEMPLATE::" + dart.str(attr); + }, T$.StringToString()))}); + }).prototype = html$._TemplatingNodeValidator.prototype; + dart.addTypeTests(html$._TemplatingNodeValidator); + dart.addTypeCaches(html$._TemplatingNodeValidator); + dart.setLibraryUri(html$._TemplatingNodeValidator, I[148]); + dart.setFieldSignature(html$._TemplatingNodeValidator, () => ({ + __proto__: dart.getFields(html$._TemplatingNodeValidator.__proto__), + [S$3._templateAttrs]: dart.finalFieldType(core.Set$(core.String)) + })); + dart.defineLazy(html$._TemplatingNodeValidator, { + /*html$._TemplatingNodeValidator._TEMPLATE_ATTRS*/get _TEMPLATE_ATTRS() { + return C[412] || CT.C412; + } + }, false); + html$._SvgNodeValidator = class _SvgNodeValidator extends core.Object { + allowsElement(element) { + if (element == null) dart.nullFailed(I[147], 39703, 30, "element"); + if (svg$.ScriptElement.is(element)) { + return false; + } + if (svg$.SvgElement.is(element) && html$.Element._safeTagName(element) === "foreignObject") { + return false; + } + if (svg$.SvgElement.is(element)) { + return true; + } + return false; + } + allowsAttribute(element, attributeName, value) { + if (element == null) dart.nullFailed(I[147], 39721, 32, "element"); + if (attributeName == null) dart.nullFailed(I[147], 39721, 48, "attributeName"); + if (value == null) dart.nullFailed(I[147], 39721, 70, "value"); + if (attributeName === "is" || attributeName[$startsWith]("on")) { + return false; + } + return this.allowsElement(element); + } + }; + (html$._SvgNodeValidator.new = function() { + ; + }).prototype = html$._SvgNodeValidator.prototype; + dart.addTypeTests(html$._SvgNodeValidator); + dart.addTypeCaches(html$._SvgNodeValidator); + html$._SvgNodeValidator[dart.implements] = () => [html$.NodeValidator]; + dart.setMethodSignature(html$._SvgNodeValidator, () => ({ + __proto__: dart.getMethods(html$._SvgNodeValidator.__proto__), + allowsElement: dart.fnType(core.bool, [html$.Element]), + allowsAttribute: dart.fnType(core.bool, [html$.Element, core.String, core.String]) + })); + dart.setLibraryUri(html$._SvgNodeValidator, I[148]); + html$.ReadyState = class ReadyState extends core.Object {}; + (html$.ReadyState.new = function() { + ; + }).prototype = html$.ReadyState.prototype; + dart.addTypeTests(html$.ReadyState); + dart.addTypeCaches(html$.ReadyState); + dart.setLibraryUri(html$.ReadyState, I[148]); + dart.defineLazy(html$.ReadyState, { + /*html$.ReadyState.LOADING*/get LOADING() { + return "loading"; + }, + /*html$.ReadyState.INTERACTIVE*/get INTERACTIVE() { + return "interactive"; + }, + /*html$.ReadyState.COMPLETE*/get COMPLETE() { + return "complete"; + } + }, false); + const _is__WrappedList_default = Symbol('_is__WrappedList_default'); + html$._WrappedList$ = dart.generic(E => { + var _WrappedIteratorOfE = () => (_WrappedIteratorOfE = dart.constFn(html$._WrappedIterator$(E)))(); + var IterableOfE = () => (IterableOfE = dart.constFn(core.Iterable$(E)))(); + var EN = () => (EN = dart.constFn(dart.nullable(E)))(); + class _WrappedList extends collection.ListBase$(E) { + get iterator() { + return new (_WrappedIteratorOfE()).new(this[S$3._list$19][$iterator]); + } + get length() { + return this[S$3._list$19][$length]; + } + add(element) { + E.as(element); + if (element == null) dart.nullFailed(I[147], 39774, 14, "element"); + this[S$3._list$19][$add](element); + } + remove(element) { + return this[S$3._list$19][$remove](element); + } + clear() { + this[S$3._list$19][$clear](); + } + _get(index) { + if (index == null) dart.nullFailed(I[147], 39786, 21, "index"); + return E.as(this[S$3._list$19][$_get](index)); + } + _set(index, value$) { + let value = value$; + if (index == null) dart.nullFailed(I[147], 39788, 25, "index"); + E.as(value); + if (value == null) dart.nullFailed(I[147], 39788, 34, "value"); + this[S$3._list$19][$_set](index, value); + return value$; + } + set length(newLength) { + if (newLength == null) dart.nullFailed(I[147], 39792, 18, "newLength"); + this[S$3._list$19][$length] = newLength; + } + sort(compare = null) { + if (compare == null) { + this[S$3._list$19][$sort](); + } else { + this[S$3._list$19][$sort](dart.fn((a, b) => { + if (a == null) dart.nullFailed(I[147], 39800, 24, "a"); + if (b == null) dart.nullFailed(I[147], 39800, 32, "b"); + return compare(E.as(a), E.as(b)); + }, T$0.NodeAndNodeToint())); + } + } + indexOf(element, start = 0) { + if (start == null) dart.nullFailed(I[147], 39804, 37, "start"); + return this[S$3._list$19][$indexOf](html$.Node.as(element), start); + } + lastIndexOf(element, start = null) { + return this[S$3._list$19][$lastIndexOf](html$.Node.as(element), start); + } + insert(index, element) { + if (index == null) dart.nullFailed(I[147], 39810, 19, "index"); + E.as(element); + if (element == null) dart.nullFailed(I[147], 39810, 28, "element"); + return this[S$3._list$19][$insert](index, element); + } + removeAt(index) { + if (index == null) dart.nullFailed(I[147], 39812, 18, "index"); + return E.as(this[S$3._list$19][$removeAt](index)); + } + setRange(start, end, iterable, skipCount = 0) { + if (start == null) dart.nullFailed(I[147], 39814, 21, "start"); + if (end == null) dart.nullFailed(I[147], 39814, 32, "end"); + IterableOfE().as(iterable); + if (iterable == null) dart.nullFailed(I[147], 39814, 49, "iterable"); + if (skipCount == null) dart.nullFailed(I[147], 39814, 64, "skipCount"); + this[S$3._list$19][$setRange](start, end, iterable, skipCount); + } + removeRange(start, end) { + if (start == null) dart.nullFailed(I[147], 39818, 24, "start"); + if (end == null) dart.nullFailed(I[147], 39818, 35, "end"); + this[S$3._list$19][$removeRange](start, end); + } + replaceRange(start, end, iterable) { + if (start == null) dart.nullFailed(I[147], 39822, 25, "start"); + if (end == null) dart.nullFailed(I[147], 39822, 36, "end"); + IterableOfE().as(iterable); + if (iterable == null) dart.nullFailed(I[147], 39822, 53, "iterable"); + this[S$3._list$19][$replaceRange](start, end, iterable); + } + fillRange(start, end, fillValue = null) { + if (start == null) dart.nullFailed(I[147], 39826, 22, "start"); + if (end == null) dart.nullFailed(I[147], 39826, 33, "end"); + EN().as(fillValue); + this[S$3._list$19][$fillRange](start, end, fillValue); + } + get rawList() { + return this[S$3._list$19]; + } + } + (_WrappedList.new = function(_list) { + if (_list == null) dart.nullFailed(I[147], 39764, 21, "_list"); + this[S$3._list$19] = _list; + ; + }).prototype = _WrappedList.prototype; + dart.addTypeTests(_WrappedList); + _WrappedList.prototype[_is__WrappedList_default] = true; + dart.addTypeCaches(_WrappedList); + _WrappedList[dart.implements] = () => [html_common.NodeListWrapper]; + dart.setMethodSignature(_WrappedList, () => ({ + __proto__: dart.getMethods(_WrappedList.__proto__), + _get: dart.fnType(E, [core.int]), + [$_get]: dart.fnType(E, [core.int]), + _set: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), + [$_set]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]) + })); + dart.setGetterSignature(_WrappedList, () => ({ + __proto__: dart.getGetters(_WrappedList.__proto__), + length: core.int, + [$length]: core.int, + rawList: core.List$(html$.Node) + })); + dart.setSetterSignature(_WrappedList, () => ({ + __proto__: dart.getSetters(_WrappedList.__proto__), + length: core.int, + [$length]: core.int + })); + dart.setLibraryUri(_WrappedList, I[148]); + dart.setFieldSignature(_WrappedList, () => ({ + __proto__: dart.getFields(_WrappedList.__proto__), + [S$3._list$19]: dart.finalFieldType(core.List$(html$.Node)) + })); + dart.defineExtensionMethods(_WrappedList, [ + 'add', + 'remove', + 'clear', + '_get', + '_set', + 'sort', + 'indexOf', + 'lastIndexOf', + 'insert', + 'removeAt', + 'setRange', + 'removeRange', + 'replaceRange', + 'fillRange' + ]); + dart.defineExtensionAccessors(_WrappedList, ['iterator', 'length']); + return _WrappedList; + }); + html$._WrappedList = html$._WrappedList$(); + dart.addTypeTests(html$._WrappedList, _is__WrappedList_default); + const _is__WrappedIterator_default = Symbol('_is__WrappedIterator_default'); + html$._WrappedIterator$ = dart.generic(E => { + class _WrappedIterator extends core.Object { + moveNext() { + return this[S$3._iterator$3].moveNext(); + } + get current() { + return E.as(this[S$3._iterator$3].current); + } + } + (_WrappedIterator.new = function(_iterator) { + if (_iterator == null) dart.nullFailed(I[147], 39839, 25, "_iterator"); + this[S$3._iterator$3] = _iterator; + ; + }).prototype = _WrappedIterator.prototype; + dart.addTypeTests(_WrappedIterator); + _WrappedIterator.prototype[_is__WrappedIterator_default] = true; + dart.addTypeCaches(_WrappedIterator); + _WrappedIterator[dart.implements] = () => [core.Iterator$(E)]; + dart.setMethodSignature(_WrappedIterator, () => ({ + __proto__: dart.getMethods(_WrappedIterator.__proto__), + moveNext: dart.fnType(core.bool, []) + })); + dart.setGetterSignature(_WrappedIterator, () => ({ + __proto__: dart.getGetters(_WrappedIterator.__proto__), + current: E + })); + dart.setLibraryUri(_WrappedIterator, I[148]); + dart.setFieldSignature(_WrappedIterator, () => ({ + __proto__: dart.getFields(_WrappedIterator.__proto__), + [S$3._iterator$3]: dart.fieldType(core.Iterator$(html$.Node)) + })); + return _WrappedIterator; + }); + html$._WrappedIterator = html$._WrappedIterator$(); + dart.addTypeTests(html$._WrappedIterator, _is__WrappedIterator_default); + html$._HttpRequestUtils = class _HttpRequestUtils extends core.Object { + static get(url, onComplete, withCredentials) { + if (url == null) dart.nullFailed(I[147], 39854, 14, "url"); + if (onComplete == null) dart.nullFailed(I[147], 39854, 19, "onComplete"); + if (withCredentials == null) dart.nullFailed(I[147], 39854, 57, "withCredentials"); + let request = html$.HttpRequest.new(); + request.open("GET", url, {async: true}); + request.withCredentials = withCredentials; + request[S$1.$onReadyStateChange].listen(dart.fn(e => { + if (e == null) dart.nullFailed(I[147], 39860, 40, "e"); + if (request.readyState === 4) { + onComplete(request); + } + }, T$0.EventTovoid())); + request.send(); + return request; + } + }; + (html$._HttpRequestUtils.new = function() { + ; + }).prototype = html$._HttpRequestUtils.prototype; + dart.addTypeTests(html$._HttpRequestUtils); + dart.addTypeCaches(html$._HttpRequestUtils); + dart.setLibraryUri(html$._HttpRequestUtils, I[148]); + const _is_FixedSizeListIterator_default = Symbol('_is_FixedSizeListIterator_default'); + html$.FixedSizeListIterator$ = dart.generic(T => { + class FixedSizeListIterator extends core.Object { + moveNext() { + let nextPosition = dart.notNull(this[S$0._position$2]) + 1; + if (nextPosition < dart.notNull(this[S$2._length$3])) { + this[S$3._current$4] = this[S$3._array][$_get](nextPosition); + this[S$0._position$2] = nextPosition; + return true; + } + this[S$3._current$4] = null; + this[S$0._position$2] = this[S$2._length$3]; + return false; + } + get current() { + return T.as(this[S$3._current$4]); + } + } + (FixedSizeListIterator.new = function(array) { + if (array == null) dart.nullFailed(I[147], 39882, 33, "array"); + this[S$3._current$4] = null; + this[S$3._array] = array; + this[S$0._position$2] = -1; + this[S$2._length$3] = array[$length]; + ; + }).prototype = FixedSizeListIterator.prototype; + dart.addTypeTests(FixedSizeListIterator); + FixedSizeListIterator.prototype[_is_FixedSizeListIterator_default] = true; + dart.addTypeCaches(FixedSizeListIterator); + FixedSizeListIterator[dart.implements] = () => [core.Iterator$(T)]; + dart.setMethodSignature(FixedSizeListIterator, () => ({ + __proto__: dart.getMethods(FixedSizeListIterator.__proto__), + moveNext: dart.fnType(core.bool, []) + })); + dart.setGetterSignature(FixedSizeListIterator, () => ({ + __proto__: dart.getGetters(FixedSizeListIterator.__proto__), + current: T + })); + dart.setLibraryUri(FixedSizeListIterator, I[148]); + dart.setFieldSignature(FixedSizeListIterator, () => ({ + __proto__: dart.getFields(FixedSizeListIterator.__proto__), + [S$3._array]: dart.finalFieldType(core.List$(T)), + [S$2._length$3]: dart.finalFieldType(core.int), + [S$0._position$2]: dart.fieldType(core.int), + [S$3._current$4]: dart.fieldType(dart.nullable(T)) + })); + return FixedSizeListIterator; + }); + html$.FixedSizeListIterator = html$.FixedSizeListIterator$(); + dart.addTypeTests(html$.FixedSizeListIterator, _is_FixedSizeListIterator_default); + const _is__VariableSizeListIterator_default = Symbol('_is__VariableSizeListIterator_default'); + html$._VariableSizeListIterator$ = dart.generic(T => { + class _VariableSizeListIterator extends core.Object { + moveNext() { + let nextPosition = dart.notNull(this[S$0._position$2]) + 1; + if (nextPosition < dart.notNull(this[S$3._array][$length])) { + this[S$3._current$4] = this[S$3._array][$_get](nextPosition); + this[S$0._position$2] = nextPosition; + return true; + } + this[S$3._current$4] = null; + this[S$0._position$2] = this[S$3._array][$length]; + return false; + } + get current() { + return T.as(this[S$3._current$4]); + } + } + (_VariableSizeListIterator.new = function(array) { + if (array == null) dart.nullFailed(I[147], 39908, 37, "array"); + this[S$3._current$4] = null; + this[S$3._array] = array; + this[S$0._position$2] = -1; + ; + }).prototype = _VariableSizeListIterator.prototype; + dart.addTypeTests(_VariableSizeListIterator); + _VariableSizeListIterator.prototype[_is__VariableSizeListIterator_default] = true; + dart.addTypeCaches(_VariableSizeListIterator); + _VariableSizeListIterator[dart.implements] = () => [core.Iterator$(T)]; + dart.setMethodSignature(_VariableSizeListIterator, () => ({ + __proto__: dart.getMethods(_VariableSizeListIterator.__proto__), + moveNext: dart.fnType(core.bool, []) + })); + dart.setGetterSignature(_VariableSizeListIterator, () => ({ + __proto__: dart.getGetters(_VariableSizeListIterator.__proto__), + current: T + })); + dart.setLibraryUri(_VariableSizeListIterator, I[148]); + dart.setFieldSignature(_VariableSizeListIterator, () => ({ + __proto__: dart.getFields(_VariableSizeListIterator.__proto__), + [S$3._array]: dart.finalFieldType(core.List$(T)), + [S$0._position$2]: dart.fieldType(core.int), + [S$3._current$4]: dart.fieldType(dart.nullable(T)) + })); + return _VariableSizeListIterator; + }); + html$._VariableSizeListIterator = html$._VariableSizeListIterator$(); + dart.addTypeTests(html$._VariableSizeListIterator, _is__VariableSizeListIterator_default); + html$.Console = class Console extends core.Object { + get [S$3._isConsoleDefined]() { + return typeof console != "undefined"; + } + get memory() { + return dart.test(this[S$3._isConsoleDefined]) ? window.console.memory : null; + } + assertCondition(condition = null, arg = null) { + return dart.test(this[S$3._isConsoleDefined]) ? window.console.assert(condition, arg) : null; + } + clear(arg = null) { + return dart.test(this[S$3._isConsoleDefined]) ? window.console.clear(arg) : null; + } + count(arg = null) { + return dart.test(this[S$3._isConsoleDefined]) ? window.console.count(arg) : null; + } + countReset(arg = null) { + return dart.test(this[S$3._isConsoleDefined]) ? window.console.countReset(arg) : null; + } + debug(arg) { + return dart.test(this[S$3._isConsoleDefined]) ? window.console.debug(arg) : null; + } + dir(item = null, options = null) { + return dart.test(this[S$3._isConsoleDefined]) ? window.console.dir(item, options) : null; + } + dirxml(arg) { + return dart.test(this[S$3._isConsoleDefined]) ? window.console.dirxml(arg) : null; + } + error(arg) { + return dart.test(this[S$3._isConsoleDefined]) ? window.console.error(arg) : null; + } + group(arg) { + return dart.test(this[S$3._isConsoleDefined]) ? window.console.group(arg) : null; + } + groupCollapsed(arg) { + return dart.test(this[S$3._isConsoleDefined]) ? window.console.groupCollapsed(arg) : null; + } + groupEnd() { + return dart.test(this[S$3._isConsoleDefined]) ? window.console.groupEnd() : null; + } + info(arg) { + return dart.test(this[S$3._isConsoleDefined]) ? window.console.info(arg) : null; + } + log(arg) { + return dart.test(this[S$3._isConsoleDefined]) ? window.console.log(arg) : null; + } + table(tabularData = null, properties = null) { + return dart.test(this[S$3._isConsoleDefined]) ? window.console.table(tabularData, properties) : null; + } + time(label = null) { + return dart.test(this[S$3._isConsoleDefined]) ? window.console.time(label) : null; + } + timeEnd(label = null) { + return dart.test(this[S$3._isConsoleDefined]) ? window.console.timeEnd(label) : null; + } + timeLog(label = null, arg = null) { + return dart.test(this[S$3._isConsoleDefined]) ? window.console.timeLog(label, arg) : null; + } + trace(arg) { + return dart.test(this[S$3._isConsoleDefined]) ? window.console.trace(arg) : null; + } + warn(arg) { + return dart.test(this[S$3._isConsoleDefined]) ? window.console.warn(arg) : null; + } + profile(title = null) { + return dart.test(this[S$3._isConsoleDefined]) ? window.console.profile(title) : null; + } + profileEnd(title = null) { + return dart.test(this[S$3._isConsoleDefined]) ? window.console.profileEnd(title) : null; + } + timeStamp(arg = null) { + return dart.test(this[S$3._isConsoleDefined]) ? window.console.timeStamp(arg) : null; + } + markTimeline(arg) { + return dart.test(this[S$3._isConsoleDefined]) ? window.console.markTimeline(arg) : null; + } + }; + (html$.Console._safe = function() { + ; + }).prototype = html$.Console.prototype; + dart.addTypeTests(html$.Console); + dart.addTypeCaches(html$.Console); + dart.setMethodSignature(html$.Console, () => ({ + __proto__: dart.getMethods(html$.Console.__proto__), + assertCondition: dart.fnType(dart.void, [], [dart.nullable(core.bool), dart.nullable(core.Object)]), + clear: dart.fnType(dart.void, [], [dart.nullable(core.Object)]), + count: dart.fnType(dart.void, [], [dart.nullable(core.Object)]), + countReset: dart.fnType(dart.void, [], [dart.nullable(core.String)]), + debug: dart.fnType(dart.void, [dart.nullable(core.Object)]), + dir: dart.fnType(dart.void, [], [dart.nullable(core.Object), dart.nullable(core.Object)]), + dirxml: dart.fnType(dart.void, [dart.nullable(core.Object)]), + error: dart.fnType(dart.void, [dart.nullable(core.Object)]), + group: dart.fnType(dart.void, [dart.nullable(core.Object)]), + groupCollapsed: dart.fnType(dart.void, [dart.nullable(core.Object)]), + groupEnd: dart.fnType(dart.void, []), + info: dart.fnType(dart.void, [dart.nullable(core.Object)]), + log: dart.fnType(dart.void, [dart.nullable(core.Object)]), + table: dart.fnType(dart.void, [], [dart.nullable(core.Object), dart.nullable(core.List$(core.String))]), + time: dart.fnType(dart.void, [], [dart.nullable(core.String)]), + timeEnd: dart.fnType(dart.void, [], [dart.nullable(core.String)]), + timeLog: dart.fnType(dart.void, [], [dart.nullable(core.String), dart.nullable(core.Object)]), + trace: dart.fnType(dart.void, [dart.nullable(core.Object)]), + warn: dart.fnType(dart.void, [dart.nullable(core.Object)]), + profile: dart.fnType(dart.void, [], [dart.nullable(core.String)]), + profileEnd: dart.fnType(dart.void, [], [dart.nullable(core.String)]), + timeStamp: dart.fnType(dart.void, [], [dart.nullable(core.Object)]), + markTimeline: dart.fnType(dart.void, [dart.nullable(core.Object)]) + })); + dart.setGetterSignature(html$.Console, () => ({ + __proto__: dart.getGetters(html$.Console.__proto__), + [S$3._isConsoleDefined]: core.bool, + memory: dart.nullable(html$.MemoryInfo) + })); + dart.setLibraryUri(html$.Console, I[148]); + dart.defineLazy(html$.Console, { + /*html$.Console._safeConsole*/get _safeConsole() { + return C[413] || CT.C413; + } + }, false); + html$._JSElementUpgrader = class _JSElementUpgrader extends core.Object { + upgrade(element) { + if (element == null) dart.nullFailed(I[147], 40274, 27, "element"); + if (!dart.equals(dart.runtimeType(element), this[S$3._nativeType])) { + if (!dart.equals(this[S$3._nativeType], dart.wrapType(html$.HtmlElement)) || !dart.equals(dart.runtimeType(element), dart.wrapType(html$.UnknownElement))) { + dart.throw(new core.ArgumentError.new("element is not subclass of " + dart.str(this[S$3._nativeType]))); + } + } + _js_helper.setNativeSubclassDispatchRecord(element, this[S$3._interceptor]); + this[S$3._constructor](element); + return element; + } + }; + (html$._JSElementUpgrader.new = function(document, type, extendsTag) { + if (document == null) dart.nullFailed(I[147], 40239, 31, "document"); + if (type == null) dart.nullFailed(I[147], 40239, 46, "type"); + this[S$3._interceptor] = null; + this[S$3._constructor] = null; + this[S$3._nativeType] = null; + let interceptorClass = _interceptors.findInterceptorConstructorForType(type); + if (interceptorClass == null) { + dart.throw(new core.ArgumentError.new(type)); + } + this[S$3._constructor] = _interceptors.findConstructorForNativeSubclassType(type, "created"); + if (this[S$3._constructor] == null) { + dart.throw(new core.ArgumentError.new(dart.str(type) + " has no constructor called 'created'")); + } + _interceptors.getNativeInterceptor(html$.Element.tag("article")); + let baseClassName = _js_helper.findDispatchTagForInterceptorClass(interceptorClass); + if (baseClassName == null) { + dart.throw(new core.ArgumentError.new(type)); + } + if (extendsTag == null) { + if (!dart.equals(baseClassName, "HTMLElement")) { + dart.throw(new core.UnsupportedError.new("Class must provide extendsTag if base " + "native class is not HtmlElement")); + } + this[S$3._nativeType] = dart.wrapType(html$.HtmlElement); + } else { + let element = document[S.$createElement](extendsTag); + html$._checkExtendsNativeClassOrTemplate(element, extendsTag, core.String.as(baseClassName)); + this[S$3._nativeType] = dart.runtimeType(element); + } + this[S$3._interceptor] = interceptorClass.prototype; + }).prototype = html$._JSElementUpgrader.prototype; + dart.addTypeTests(html$._JSElementUpgrader); + dart.addTypeCaches(html$._JSElementUpgrader); + html$._JSElementUpgrader[dart.implements] = () => [html$.ElementUpgrader]; + dart.setMethodSignature(html$._JSElementUpgrader, () => ({ + __proto__: dart.getMethods(html$._JSElementUpgrader.__proto__), + upgrade: dart.fnType(html$.Element, [html$.Element]) + })); + dart.setLibraryUri(html$._JSElementUpgrader, I[148]); + dart.setFieldSignature(html$._JSElementUpgrader, () => ({ + __proto__: dart.getFields(html$._JSElementUpgrader.__proto__), + [S$3._interceptor]: dart.fieldType(dart.dynamic), + [S$3._constructor]: dart.fieldType(dart.dynamic), + [S$3._nativeType]: dart.fieldType(dart.dynamic) + })); + html$._DOMWindowCrossFrame = class _DOMWindowCrossFrame extends core.Object { + get history() { + return html$._HistoryCrossFrame._createSafe(this[S$3._window].history); + } + get location() { + return html$._LocationCrossFrame._createSafe(this[S$3._window].location); + } + get closed() { + return this[S$3._window].closed; + } + get opener() { + return html$._DOMWindowCrossFrame._createSafe(this[S$3._window].opener); + } + get parent() { + return html$._DOMWindowCrossFrame._createSafe(this[S$3._window].parent); + } + get top() { + return html$._DOMWindowCrossFrame._createSafe(this[S$3._window].top); + } + close() { + return this[S$3._window].close(); + } + postMessage(message, targetOrigin, messagePorts = null) { + if (targetOrigin == null) dart.nullFailed(I[147], 40319, 40, "targetOrigin"); + if (messagePorts == null) { + this[S$3._window].postMessage(html_common.convertDartToNative_SerializedScriptValue(message), targetOrigin); + } else { + this[S$3._window].postMessage(html_common.convertDartToNative_SerializedScriptValue(message), targetOrigin, messagePorts); + } + } + static _createSafe(w) { + if (core.identical(w, html$.window)) { + return html$.WindowBase.as(w); + } else { + _js_helper.registerGlobalObject(w); + return new html$._DOMWindowCrossFrame.new(w); + } + } + get on() { + return dart.throw(new core.UnsupportedError.new("You can only attach EventListeners to your own window.")); + } + [S._addEventListener](type, listener, useCapture = null) { + return dart.throw(new core.UnsupportedError.new("You can only attach EventListeners to your own window.")); + } + addEventListener(type, listener, useCapture = null) { + if (type == null) dart.nullFailed(I[147], 40356, 32, "type"); + return dart.throw(new core.UnsupportedError.new("You can only attach EventListeners to your own window.")); + } + dispatchEvent(event) { + if (event == null) dart.nullFailed(I[147], 40361, 28, "event"); + return dart.throw(new core.UnsupportedError.new("You can only attach EventListeners to your own window.")); + } + [S._removeEventListener](type, listener, useCapture = null) { + return dart.throw(new core.UnsupportedError.new("You can only attach EventListeners to your own window.")); + } + removeEventListener(type, listener, useCapture = null) { + if (type == null) dart.nullFailed(I[147], 40369, 35, "type"); + return dart.throw(new core.UnsupportedError.new("You can only attach EventListeners to your own window.")); + } + }; + (html$._DOMWindowCrossFrame.new = function(_window) { + this[S$3._window] = _window; + ; + }).prototype = html$._DOMWindowCrossFrame.prototype; + dart.addTypeTests(html$._DOMWindowCrossFrame); + dart.addTypeCaches(html$._DOMWindowCrossFrame); + html$._DOMWindowCrossFrame[dart.implements] = () => [html$.WindowBase]; + dart.setMethodSignature(html$._DOMWindowCrossFrame, () => ({ + __proto__: dart.getMethods(html$._DOMWindowCrossFrame.__proto__), + close: dart.fnType(dart.void, []), + [S.$close]: dart.fnType(dart.void, []), + postMessage: dart.fnType(dart.void, [dart.dynamic, core.String], [dart.nullable(core.List)]), + [S$.$postMessage]: dart.fnType(dart.void, [dart.dynamic, core.String], [dart.nullable(core.List)]), + [S._addEventListener]: dart.fnType(dart.void, [dart.nullable(core.String), dart.nullable(dart.fnType(dart.dynamic, [html$.Event]))], [dart.nullable(core.bool)]), + addEventListener: dart.fnType(dart.void, [core.String, dart.nullable(dart.fnType(dart.dynamic, [html$.Event]))], [dart.nullable(core.bool)]), + [S.$addEventListener]: dart.fnType(dart.void, [core.String, dart.nullable(dart.fnType(dart.dynamic, [html$.Event]))], [dart.nullable(core.bool)]), + dispatchEvent: dart.fnType(core.bool, [html$.Event]), + [S.$dispatchEvent]: dart.fnType(core.bool, [html$.Event]), + [S._removeEventListener]: dart.fnType(dart.void, [dart.nullable(core.String), dart.nullable(dart.fnType(dart.dynamic, [html$.Event]))], [dart.nullable(core.bool)]), + removeEventListener: dart.fnType(dart.void, [core.String, dart.nullable(dart.fnType(dart.dynamic, [html$.Event]))], [dart.nullable(core.bool)]), + [S.$removeEventListener]: dart.fnType(dart.void, [core.String, dart.nullable(dart.fnType(dart.dynamic, [html$.Event]))], [dart.nullable(core.bool)]) + })); + dart.setGetterSignature(html$._DOMWindowCrossFrame, () => ({ + __proto__: dart.getGetters(html$._DOMWindowCrossFrame.__proto__), + history: html$.HistoryBase, + [S$3.$history]: html$.HistoryBase, + location: html$.LocationBase, + [S$0.$location]: html$.LocationBase, + closed: core.bool, + [S$1.$closed]: core.bool, + opener: html$.WindowBase, + [S$3.$opener]: html$.WindowBase, + parent: html$.WindowBase, + [S.$parent]: html$.WindowBase, + top: html$.WindowBase, + [$top]: html$.WindowBase, + on: html$.Events, + [S.$on]: html$.Events + })); + dart.setLibraryUri(html$._DOMWindowCrossFrame, I[148]); + dart.setFieldSignature(html$._DOMWindowCrossFrame, () => ({ + __proto__: dart.getFields(html$._DOMWindowCrossFrame.__proto__), + [S$3._window]: dart.finalFieldType(dart.dynamic) + })); + dart.defineExtensionMethods(html$._DOMWindowCrossFrame, [ + 'close', + 'postMessage', + 'addEventListener', + 'dispatchEvent', + 'removeEventListener' + ]); + dart.defineExtensionAccessors(html$._DOMWindowCrossFrame, [ + 'history', + 'location', + 'closed', + 'opener', + 'parent', + 'top', + 'on' + ]); + html$._LocationCrossFrame = class _LocationCrossFrame extends core.Object { + set href(val) { + if (val == null) dart.nullFailed(I[147], 40381, 19, "val"); + return html$._LocationCrossFrame._setHref(this[S$3._location], val); + } + static _setHref(location, val) { + location.href = val; + } + static _createSafe(location) { + if (core.identical(location, html$.window[S$0.$location])) { + return html$.LocationBase.as(location); + } else { + return new html$._LocationCrossFrame.new(location); + } + } + }; + (html$._LocationCrossFrame.new = function(_location) { + this[S$3._location] = _location; + ; + }).prototype = html$._LocationCrossFrame.prototype; + dart.addTypeTests(html$._LocationCrossFrame); + dart.addTypeCaches(html$._LocationCrossFrame); + html$._LocationCrossFrame[dart.implements] = () => [html$.LocationBase]; + dart.setSetterSignature(html$._LocationCrossFrame, () => ({ + __proto__: dart.getSetters(html$._LocationCrossFrame.__proto__), + href: core.String, + [S$.$href]: core.String + })); + dart.setLibraryUri(html$._LocationCrossFrame, I[148]); + dart.setFieldSignature(html$._LocationCrossFrame, () => ({ + __proto__: dart.getFields(html$._LocationCrossFrame.__proto__), + [S$3._location]: dart.fieldType(dart.dynamic) + })); + dart.defineExtensionAccessors(html$._LocationCrossFrame, ['href']); + html$._HistoryCrossFrame = class _HistoryCrossFrame extends core.Object { + back() { + return this[S$3._history].back(); + } + forward() { + return this[S$3._history].forward(); + } + go(distance) { + if (distance == null) dart.nullFailed(I[147], 40409, 15, "distance"); + return this[S$3._history].go(distance); + } + static _createSafe(h) { + if (core.identical(h, html$.window.history)) { + return html$.HistoryBase.as(h); + } else { + return new html$._HistoryCrossFrame.new(h); + } + } + }; + (html$._HistoryCrossFrame.new = function(_history) { + this[S$3._history] = _history; + ; + }).prototype = html$._HistoryCrossFrame.prototype; + dart.addTypeTests(html$._HistoryCrossFrame); + dart.addTypeCaches(html$._HistoryCrossFrame); + html$._HistoryCrossFrame[dart.implements] = () => [html$.HistoryBase]; + dart.setMethodSignature(html$._HistoryCrossFrame, () => ({ + __proto__: dart.getMethods(html$._HistoryCrossFrame.__proto__), + back: dart.fnType(dart.void, []), + [S$1.$back]: dart.fnType(dart.void, []), + forward: dart.fnType(dart.void, []), + [S$1.$forward]: dart.fnType(dart.void, []), + go: dart.fnType(dart.void, [core.int]), + [S$1.$go]: dart.fnType(dart.void, [core.int]) + })); + dart.setLibraryUri(html$._HistoryCrossFrame, I[148]); + dart.setFieldSignature(html$._HistoryCrossFrame, () => ({ + __proto__: dart.getFields(html$._HistoryCrossFrame.__proto__), + [S$3._history]: dart.fieldType(dart.dynamic) + })); + dart.defineExtensionMethods(html$._HistoryCrossFrame, ['back', 'forward', 'go']); + html$.Platform = class Platform extends core.Object {}; + (html$.Platform.new = function() { + ; + }).prototype = html$.Platform.prototype; + dart.addTypeTests(html$.Platform); + dart.addTypeCaches(html$.Platform); + dart.setLibraryUri(html$.Platform, I[148]); + dart.defineLazy(html$.Platform, { + /*html$.Platform.supportsTypedData*/get supportsTypedData() { + return !!window.ArrayBuffer; + }, + /*html$.Platform.supportsSimd*/get supportsSimd() { + return false; + } + }, false); + html$.ElementUpgrader = class ElementUpgrader extends core.Object {}; + (html$.ElementUpgrader.new = function() { + ; + }).prototype = html$.ElementUpgrader.prototype; + dart.addTypeTests(html$.ElementUpgrader); + dart.addTypeCaches(html$.ElementUpgrader); + dart.setLibraryUri(html$.ElementUpgrader, I[148]); + html$.NodeValidator = class NodeValidator extends core.Object { + static new(opts) { + let uriPolicy = opts && 'uriPolicy' in opts ? opts.uriPolicy : null; + return new html$._Html5NodeValidator.new({uriPolicy: uriPolicy}); + } + static throws(base) { + if (base == null) dart.nullFailed(I[147], 40861, 46, "base"); + return new html$._ThrowsNodeValidator.new(base); + } + }; + (html$.NodeValidator[dart.mixinNew] = function() { + }).prototype = html$.NodeValidator.prototype; + dart.addTypeTests(html$.NodeValidator); + dart.addTypeCaches(html$.NodeValidator); + dart.setLibraryUri(html$.NodeValidator, I[148]); + html$.NodeTreeSanitizer = class NodeTreeSanitizer extends core.Object { + static new(validator) { + if (validator == null) dart.nullFailed(I[147], 40893, 43, "validator"); + return new html$._ValidatingTreeSanitizer.new(validator); + } + }; + (html$.NodeTreeSanitizer[dart.mixinNew] = function() { + }).prototype = html$.NodeTreeSanitizer.prototype; + dart.addTypeTests(html$.NodeTreeSanitizer); + dart.addTypeCaches(html$.NodeTreeSanitizer); + dart.setLibraryUri(html$.NodeTreeSanitizer, I[148]); + dart.defineLazy(html$.NodeTreeSanitizer, { + /*html$.NodeTreeSanitizer.trusted*/get trusted() { + return C[414] || CT.C414; + } + }, false); + html$._TrustedHtmlTreeSanitizer = class _TrustedHtmlTreeSanitizer extends core.Object { + sanitizeTree(node) { + if (node == null) dart.nullFailed(I[147], 40921, 21, "node"); + } + }; + (html$._TrustedHtmlTreeSanitizer.new = function() { + ; + }).prototype = html$._TrustedHtmlTreeSanitizer.prototype; + dart.addTypeTests(html$._TrustedHtmlTreeSanitizer); + dart.addTypeCaches(html$._TrustedHtmlTreeSanitizer); + html$._TrustedHtmlTreeSanitizer[dart.implements] = () => [html$.NodeTreeSanitizer]; + dart.setMethodSignature(html$._TrustedHtmlTreeSanitizer, () => ({ + __proto__: dart.getMethods(html$._TrustedHtmlTreeSanitizer.__proto__), + sanitizeTree: dart.fnType(dart.void, [html$.Node]) + })); + dart.setLibraryUri(html$._TrustedHtmlTreeSanitizer, I[148]); + html$.UriPolicy = class UriPolicy extends core.Object { + static new() { + return new html$._SameOriginUriPolicy.new(); + } + }; + (html$.UriPolicy[dart.mixinNew] = function() { + }).prototype = html$.UriPolicy.prototype; + dart.addTypeTests(html$.UriPolicy); + dart.addTypeCaches(html$.UriPolicy); + dart.setLibraryUri(html$.UriPolicy, I[148]); + html$._SameOriginUriPolicy = class _SameOriginUriPolicy extends core.Object { + allowsUri(uri) { + if (uri == null) dart.nullFailed(I[147], 40957, 25, "uri"); + this[S$3._hiddenAnchor].href = uri; + return this[S$3._hiddenAnchor].hostname == this[S$3._loc].hostname && this[S$3._hiddenAnchor].port == this[S$3._loc].port && this[S$3._hiddenAnchor].protocol == this[S$3._loc].protocol || this[S$3._hiddenAnchor].hostname === "" && this[S$3._hiddenAnchor].port === "" && (this[S$3._hiddenAnchor].protocol === ":" || this[S$3._hiddenAnchor].protocol === ""); + } + }; + (html$._SameOriginUriPolicy.new = function() { + this[S$3._hiddenAnchor] = html$.AnchorElement.new(); + this[S$3._loc] = html$.window[S$0.$location]; + ; + }).prototype = html$._SameOriginUriPolicy.prototype; + dart.addTypeTests(html$._SameOriginUriPolicy); + dart.addTypeCaches(html$._SameOriginUriPolicy); + html$._SameOriginUriPolicy[dart.implements] = () => [html$.UriPolicy]; + dart.setMethodSignature(html$._SameOriginUriPolicy, () => ({ + __proto__: dart.getMethods(html$._SameOriginUriPolicy.__proto__), + allowsUri: dart.fnType(core.bool, [core.String]) + })); + dart.setLibraryUri(html$._SameOriginUriPolicy, I[148]); + dart.setFieldSignature(html$._SameOriginUriPolicy, () => ({ + __proto__: dart.getFields(html$._SameOriginUriPolicy.__proto__), + [S$3._hiddenAnchor]: dart.finalFieldType(html$.AnchorElement), + [S$3._loc]: dart.finalFieldType(html$.Location) + })); + html$._ThrowsNodeValidator = class _ThrowsNodeValidator extends core.Object { + allowsElement(element) { + if (element == null) dart.nullFailed(I[147], 40974, 30, "element"); + if (!dart.test(this.validator.allowsElement(element))) { + dart.throw(new core.ArgumentError.new(html$.Element._safeTagName(element))); + } + return true; + } + allowsAttribute(element, attributeName, value) { + if (element == null) dart.nullFailed(I[147], 40981, 32, "element"); + if (attributeName == null) dart.nullFailed(I[147], 40981, 48, "attributeName"); + if (value == null) dart.nullFailed(I[147], 40981, 70, "value"); + if (!dart.test(this.validator.allowsAttribute(element, attributeName, value))) { + dart.throw(new core.ArgumentError.new(dart.str(html$.Element._safeTagName(element)) + "[" + dart.str(attributeName) + "=\"" + dart.str(value) + "\"]")); + } + return true; + } + }; + (html$._ThrowsNodeValidator.new = function(validator) { + if (validator == null) dart.nullFailed(I[147], 40972, 29, "validator"); + this.validator = validator; + }).prototype = html$._ThrowsNodeValidator.prototype; + dart.addTypeTests(html$._ThrowsNodeValidator); + dart.addTypeCaches(html$._ThrowsNodeValidator); + html$._ThrowsNodeValidator[dart.implements] = () => [html$.NodeValidator]; + dart.setMethodSignature(html$._ThrowsNodeValidator, () => ({ + __proto__: dart.getMethods(html$._ThrowsNodeValidator.__proto__), + allowsElement: dart.fnType(core.bool, [html$.Element]), + allowsAttribute: dart.fnType(core.bool, [html$.Element, core.String, core.String]) + })); + dart.setLibraryUri(html$._ThrowsNodeValidator, I[148]); + dart.setFieldSignature(html$._ThrowsNodeValidator, () => ({ + __proto__: dart.getFields(html$._ThrowsNodeValidator.__proto__), + validator: dart.finalFieldType(html$.NodeValidator) + })); + html$._ValidatingTreeSanitizer = class _ValidatingTreeSanitizer extends core.Object { + sanitizeTree(node) { + if (node == null) dart.nullFailed(I[147], 41001, 26, "node"); + const walk = (node, parent) => { + if (node == null) dart.nullFailed(I[147], 41002, 20, "node"); + this.sanitizeNode(node, parent); + let child = node.lastChild; + while (child != null) { + let nextChild = null; + try { + nextChild = child[S$.$previousNode]; + if (nextChild != null && !dart.equals(nextChild[S.$nextNode], child)) { + dart.throw(new core.StateError.new("Corrupt HTML")); + } + } catch (e$) { + let e = dart.getThrown(e$); + if (core.Object.is(e)) { + this[S$3._removeNode](child, node); + child = null; + nextChild = node.lastChild; + } else + throw e$; + } + if (child != null) walk(child, node); + child = nextChild; + } + }; + dart.fn(walk, T$0.NodeAndNodeNTovoid()); + let previousTreeModifications = null; + do { + previousTreeModifications = this.numTreeModifications; + walk(node, null); + } while (!dart.equals(previousTreeModifications, this.numTreeModifications)); + } + [S$3._removeNode](node, parent) { + if (node == null) dart.nullFailed(I[147], 41038, 25, "node"); + this.numTreeModifications = dart.notNull(this.numTreeModifications) + 1; + if (parent == null || !dart.equals(parent, node.parentNode)) { + node[$remove](); + } else { + parent[S$._removeChild](node); + } + } + [S$3._sanitizeUntrustedElement](element, parent) { + let corrupted = true; + let attrs = null; + let isAttr = null; + try { + attrs = dart.dload(element, 'attributes'); + isAttr = dart.dsend(attrs, '_get', ["is"]); + let corruptedTest1 = html$.Element._hasCorruptedAttributes(html$.Element.as(element)); + corrupted = dart.test(corruptedTest1) ? true : html$.Element._hasCorruptedAttributesAdditionalCheck(html$.Element.as(element)); + } catch (e$) { + let e = dart.getThrown(e$); + if (core.Object.is(e)) { + } else + throw e$; + } + let elementText = "element unprintable"; + try { + elementText = dart.toString(element); + } catch (e$0) { + let e = dart.getThrown(e$0); + if (core.Object.is(e)) { + } else + throw e$0; + } + try { + let elementTagName = html$.Element._safeTagName(element); + this[S$3._sanitizeElement](html$.Element.as(element), parent, corrupted, elementText, elementTagName, core.Map.as(attrs), T$.StringN().as(isAttr)); + } catch (e$1) { + let ex = dart.getThrown(e$1); + if (core.ArgumentError.is(ex)) { + dart.rethrow(e$1); + } else if (core.Object.is(ex)) { + let e = ex; + this[S$3._removeNode](html$.Node.as(element), parent); + html$.window[S$2.$console].warn("Removing corrupted element " + dart.str(elementText)); + } else + throw e$1; + } + } + [S$3._sanitizeElement](element, parent, corrupted, text, tag, attrs, isAttr) { + if (element == null) dart.nullFailed(I[147], 41100, 33, "element"); + if (corrupted == null) dart.nullFailed(I[147], 41100, 61, "corrupted"); + if (text == null) dart.nullFailed(I[147], 41101, 14, "text"); + if (tag == null) dart.nullFailed(I[147], 41101, 27, "tag"); + if (attrs == null) dart.nullFailed(I[147], 41101, 36, "attrs"); + if (false !== corrupted) { + this[S$3._removeNode](element, parent); + html$.window[S$2.$console].warn("Removing element due to corrupted attributes on <" + dart.str(text) + ">"); + return; + } + if (!dart.test(this.validator.allowsElement(element))) { + this[S$3._removeNode](element, parent); + html$.window[S$2.$console].warn("Removing disallowed element <" + dart.str(tag) + "> from " + dart.str(parent)); + return; + } + if (isAttr != null) { + if (!dart.test(this.validator.allowsAttribute(element, "is", isAttr))) { + this[S$3._removeNode](element, parent); + html$.window[S$2.$console].warn("Removing disallowed type extension " + "<" + dart.str(tag) + " is=\"" + dart.str(isAttr) + "\">"); + return; + } + } + let keys = attrs[$keys][$toList](); + for (let i = dart.notNull(attrs[$length]) - 1; i >= 0; i = i - 1) { + let name = keys[$_get](i); + if (!dart.test(this.validator.allowsAttribute(element, core.String.as(dart.dsend(name, 'toLowerCase', [])), core.String.as(attrs[$_get](name))))) { + html$.window[S$2.$console].warn("Removing disallowed attribute " + "<" + dart.str(tag) + " " + dart.str(name) + "=\"" + dart.str(attrs[$_get](name)) + "\">"); + attrs[$remove](name); + } + } + if (html$.TemplateElement.is(element)) { + let template = element; + this.sanitizeTree(dart.nullCheck(template.content)); + } + } + sanitizeNode(node, parent) { + if (node == null) dart.nullFailed(I[147], 41143, 26, "node"); + switch (node.nodeType) { + case 1: + { + this[S$3._sanitizeUntrustedElement](node, parent); + break; + } + case 8: + case 11: + case 3: + case 4: + { + break; + } + default: + { + this[S$3._removeNode](node, parent); + } + } + } + }; + (html$._ValidatingTreeSanitizer.new = function(validator) { + if (validator == null) dart.nullFailed(I[147], 40999, 33, "validator"); + this.numTreeModifications = 0; + this.validator = validator; + }).prototype = html$._ValidatingTreeSanitizer.prototype; + dart.addTypeTests(html$._ValidatingTreeSanitizer); + dart.addTypeCaches(html$._ValidatingTreeSanitizer); + html$._ValidatingTreeSanitizer[dart.implements] = () => [html$.NodeTreeSanitizer]; + dart.setMethodSignature(html$._ValidatingTreeSanitizer, () => ({ + __proto__: dart.getMethods(html$._ValidatingTreeSanitizer.__proto__), + sanitizeTree: dart.fnType(dart.void, [html$.Node]), + [S$3._removeNode]: dart.fnType(dart.void, [html$.Node, dart.nullable(html$.Node)]), + [S$3._sanitizeUntrustedElement]: dart.fnType(dart.void, [dart.dynamic, dart.nullable(html$.Node)]), + [S$3._sanitizeElement]: dart.fnType(dart.void, [html$.Element, dart.nullable(html$.Node), core.bool, core.String, core.String, core.Map, dart.nullable(core.String)]), + sanitizeNode: dart.fnType(dart.void, [html$.Node, dart.nullable(html$.Node)]) + })); + dart.setLibraryUri(html$._ValidatingTreeSanitizer, I[148]); + dart.setFieldSignature(html$._ValidatingTreeSanitizer, () => ({ + __proto__: dart.getFields(html$._ValidatingTreeSanitizer.__proto__), + validator: dart.fieldType(html$.NodeValidator), + numTreeModifications: dart.fieldType(core.int) + })); + html$.promiseToFutureAsMap = function promiseToFutureAsMap(jsPromise) { + return js_util.promiseToFuture(dart.dynamic, core.Object.as(jsPromise)).then(T$0.MapNOfString$dynamic(), C[415] || CT.C415); + }; + html$._matchesWithAncestors = function _matchesWithAncestors(event, selector) { + if (event == null) dart.nullFailed(I[147], 37189, 34, "event"); + if (selector == null) dart.nullFailed(I[147], 37189, 48, "selector"); + let target = event[S.$target]; + return html$.Element.is(target) ? target[S.$matchesWithAncestors](selector) : false; + }; + html$._convertNativeToDart_Window = function _convertNativeToDart_Window(win) { + if (win == null) return null; + return html$._DOMWindowCrossFrame._createSafe(win); + }; + html$._convertNativeToDart_EventTarget = function _convertNativeToDart_EventTarget(e) { + if (e == null) { + return null; + } + if ("postMessage" in e) { + let window = html$._DOMWindowCrossFrame._createSafe(e); + if (html$.EventTarget.is(window)) { + return window; + } + return null; + } else + return T$0.EventTargetN().as(e); + }; + html$._convertDartToNative_EventTarget = function _convertDartToNative_EventTarget(e) { + if (html$._DOMWindowCrossFrame.is(e)) { + return T$0.EventTargetN().as(e[S$3._window]); + } else { + return T$0.EventTargetN().as(e); + } + }; + html$._convertNativeToDart_XHR_Response = function _convertNativeToDart_XHR_Response(o) { + if (html$.Document.is(o)) { + return o; + } + return html_common.convertNativeToDart_SerializedScriptValue(o); + }; + html$._callConstructor = function _callConstructor(constructor, interceptor) { + return dart.fn(receiver => { + _js_helper.setNativeSubclassDispatchRecord(receiver, interceptor); + receiver.constructor = receiver.__proto__.constructor; + return constructor(receiver); + }, T$.dynamicToObjectN()); + }; + html$._callAttached = function _callAttached(receiver) { + return dart.dsend(receiver, 'attached', []); + }; + html$._callDetached = function _callDetached(receiver) { + return dart.dsend(receiver, 'detached', []); + }; + html$._callAttributeChanged = function _callAttributeChanged(receiver, name, oldValue, newValue) { + return dart.dsend(receiver, 'attributeChanged', [name, oldValue, newValue]); + }; + html$._makeCallbackMethod = function _makeCallbackMethod(callback) { + return (function(invokeCallback) { + return function() { + return invokeCallback(this); + }; + })(_js_helper.convertDartClosureToJS(dart.dynamic, callback, 1)); + }; + html$._makeCallbackMethod3 = function _makeCallbackMethod3(callback) { + return (function(invokeCallback) { + return function(arg1, arg2, arg3) { + return invokeCallback(this, arg1, arg2, arg3); + }; + })(_js_helper.convertDartClosureToJS(dart.dynamic, callback, 4)); + }; + html$._checkExtendsNativeClassOrTemplate = function _checkExtendsNativeClassOrTemplate(element, extendsTag, baseClassName) { + if (element == null) dart.nullFailed(I[147], 40134, 13, "element"); + if (extendsTag == null) dart.nullFailed(I[147], 40134, 29, "extendsTag"); + if (baseClassName == null) dart.nullFailed(I[147], 40134, 48, "baseClassName"); + if (!(element instanceof window[baseClassName]) && !(extendsTag === "template" && element instanceof window.HTMLUnknownElement)) { + dart.throw(new core.UnsupportedError.new("extendsTag does not match base native class")); + } + }; + html$._registerCustomElement = function _registerCustomElement(context, document, tag, options = null) { + if (tag == null) dart.nullFailed(I[147], 40143, 59, "tag"); + let extendsTagName = ""; + let type = null; + if (options != null) { + extendsTagName = T$.StringN().as(options[$_get]("extends")); + type = T$0.TypeN().as(options[$_get]("prototype")); + } + let interceptorClass = _interceptors.findInterceptorConstructorForType(type); + if (interceptorClass == null) { + dart.throw(new core.ArgumentError.new(type)); + } + let interceptor = interceptorClass.prototype; + let constructor = _interceptors.findConstructorForNativeSubclassType(type, "created"); + if (constructor == null) { + dart.throw(new core.ArgumentError.new(dart.str(type) + " has no constructor called 'created'")); + } + _interceptors.getNativeInterceptor(html$.Element.tag("article")); + let baseClassName = core.String.as(_js_helper.findDispatchTagForInterceptorClass(interceptorClass)); + if (baseClassName == null) { + dart.throw(new core.ArgumentError.new(type)); + } + if (extendsTagName == null) { + if (baseClassName !== "HTMLElement") { + dart.throw(new core.UnsupportedError.new("Class must provide extendsTag if base " + "native class is not HtmlElement")); + } + } else { + let element = dart.dsend(document, 'createElement', [extendsTagName]); + html$._checkExtendsNativeClassOrTemplate(html$.Element.as(element), extendsTagName, baseClassName); + } + let baseConstructor = context[baseClassName]; + let properties = {}; + properties.createdCallback = {value: html$._makeCallbackMethod(html$._callConstructor(constructor, interceptor))}; + properties.attachedCallback = {value: html$._makeCallbackMethod(html$._callAttached)}; + properties.detachedCallback = {value: html$._makeCallbackMethod(html$._callDetached)}; + properties.attributeChangedCallback = {value: html$._makeCallbackMethod3(html$._callAttributeChanged)}; + let baseProto = baseConstructor.prototype; + let proto = Object.create(baseProto, properties); + _js_helper.setNativeSubclassDispatchRecord(proto, interceptor); + let opts = {prototype: proto}; + if (extendsTagName != null) { + opts.extends = extendsTagName; + } + return document.registerElement(tag, opts); + }; + html$._initializeCustomElement = function _initializeCustomElement(e) { + if (e == null) dart.nullFailed(I[147], 40229, 39, "e"); + }; + html$._wrapZone = function _wrapZone(T, callback) { + if (dart.equals(async.Zone.current, async.Zone.root)) return callback; + if (callback == null) return null; + return async.Zone.current.bindUnaryCallbackGuarded(T, callback); + }; + html$._wrapBinaryZone = function _wrapBinaryZone(T1, T2, callback) { + if (dart.equals(async.Zone.current, async.Zone.root)) return callback; + if (callback == null) return null; + return async.Zone.current.bindBinaryCallbackGuarded(T1, T2, callback); + }; + html$.querySelector = function querySelector(selectors) { + if (selectors == null) dart.nullFailed(I[147], 40810, 31, "selectors"); + return html$.document.querySelector(selectors); + }; + html$.querySelectorAll = function querySelectorAll(T, selectors) { + if (selectors == null) dart.nullFailed(I[147], 40828, 59, "selectors"); + return html$.document[S.$querySelectorAll](T, selectors); + }; + dart.copyProperties(html$, { + get window() { + return window; + }, + get document() { + return document; + }, + get _workerSelf() { + return self; + } + }); + dart.defineLazy(html$, { + /*html$._HEIGHT*/get _HEIGHT() { + return T$.JSArrayOfString().of(["top", "bottom"]); + }, + /*html$._WIDTH*/get _WIDTH() { + return T$.JSArrayOfString().of(["right", "left"]); + }, + /*html$._CONTENT*/get _CONTENT() { + return "content"; + }, + /*html$._PADDING*/get _PADDING() { + return "padding"; + }, + /*html$._MARGIN*/get _MARGIN() { + return "margin"; + } + }, false); + html_common._StructuredClone = class _StructuredClone extends core.Object { + findSlot(value) { + let length = this.values[$length]; + for (let i = 0; i < dart.notNull(length); i = i + 1) { + if (core.identical(this.values[$_get](i), value)) return i; + } + this.values[$add](value); + this.copies[$add](null); + return length; + } + readSlot(i) { + if (i == null) dart.nullFailed(I[151], 72, 16, "i"); + return this.copies[$_get](i); + } + writeSlot(i, x) { + if (i == null) dart.nullFailed(I[151], 73, 17, "i"); + this.copies[$_set](i, x); + } + cleanupSlots() { + } + walk(e) { + if (e == null) return e; + if (typeof e == 'boolean') return e; + if (typeof e == 'number') return e; + if (typeof e == 'string') return e; + if (core.DateTime.is(e)) { + return html_common.convertDartToNative_DateTime(e); + } + if (core.RegExp.is(e)) { + dart.throw(new core.UnimplementedError.new("structured clone of RegExp")); + } + if (html$.File.is(e)) return e; + if (html$.Blob.is(e)) return e; + if (html$.FileList.is(e)) return e; + if (html$.ImageData.is(e)) return e; + if (dart.test(this.cloneNotRequired(e))) return e; + if (core.Map.is(e)) { + let slot = this.findSlot(e); + let copy = this.readSlot(slot); + if (copy != null) return copy; + copy = this.newJsMap(); + this.writeSlot(slot, copy); + e[$forEach](dart.fn((key, value) => { + this.putIntoMap(copy, key, this.walk(value)); + }, T$.dynamicAnddynamicTovoid())); + return copy; + } + if (core.List.is(e)) { + let slot = this.findSlot(e); + let copy = this.readSlot(slot); + if (copy != null) return copy; + copy = this.copyList(e, slot); + return copy; + } + if (_interceptors.JSObject.is(e)) { + let slot = this.findSlot(e); + let copy = this.readSlot(slot); + if (copy != null) return copy; + copy = this.newJsObject(); + this.writeSlot(slot, copy); + this.forEachObjectKey(e, dart.fn((key, value) => { + this.putIntoObject(copy, key, this.walk(value)); + }, T$.dynamicAnddynamicToNull())); + return copy; + } + dart.throw(new core.UnimplementedError.new("structured clone of other type")); + } + copyList(e, slot) { + if (e == null) dart.nullFailed(I[151], 156, 22, "e"); + if (slot == null) dart.nullFailed(I[151], 156, 29, "slot"); + let i = 0; + let length = e[$length]; + let copy = this.newJsList(length); + this.writeSlot(slot, copy); + for (; i < dart.notNull(length); i = i + 1) { + copy[$_set](i, this.walk(e[$_get](i))); + } + return copy; + } + convertDartToNative_PrepareForStructuredClone(value) { + let copy = this.walk(value); + this.cleanupSlots(); + return copy; + } + }; + (html_common._StructuredClone.new = function() { + this.values = []; + this.copies = []; + ; + }).prototype = html_common._StructuredClone.prototype; + dart.addTypeTests(html_common._StructuredClone); + dart.addTypeCaches(html_common._StructuredClone); + dart.setMethodSignature(html_common._StructuredClone, () => ({ + __proto__: dart.getMethods(html_common._StructuredClone.__proto__), + findSlot: dart.fnType(core.int, [dart.dynamic]), + readSlot: dart.fnType(dart.dynamic, [core.int]), + writeSlot: dart.fnType(dart.dynamic, [core.int, dart.dynamic]), + cleanupSlots: dart.fnType(dart.dynamic, []), + walk: dart.fnType(dart.dynamic, [dart.dynamic]), + copyList: dart.fnType(core.List, [core.List, core.int]), + convertDartToNative_PrepareForStructuredClone: dart.fnType(dart.dynamic, [dart.dynamic]) + })); + dart.setLibraryUri(html_common._StructuredClone, I[150]); + dart.setFieldSignature(html_common._StructuredClone, () => ({ + __proto__: dart.getFields(html_common._StructuredClone.__proto__), + values: dart.fieldType(core.List), + copies: dart.fieldType(core.List) + })); + html_common._AcceptStructuredClone = class _AcceptStructuredClone extends core.Object { + findSlot(value) { + let length = this.values[$length]; + for (let i = 0; i < dart.notNull(length); i = i + 1) { + if (dart.test(this.identicalInJs(this.values[$_get](i), value))) return i; + } + this.values[$add](value); + this.copies[$add](null); + return length; + } + readSlot(i) { + if (i == null) dart.nullFailed(I[151], 211, 16, "i"); + return this.copies[$_get](i); + } + writeSlot(i, x) { + if (i == null) dart.nullFailed(I[151], 212, 17, "i"); + this.copies[$_set](i, x); + } + walk(e) { + if (e == null) return e; + if (typeof e == 'boolean') return e; + if (typeof e == 'number') return e; + if (typeof e == 'string') return e; + if (dart.test(html_common.isJavaScriptDate(e))) { + return html_common.convertNativeToDart_DateTime(e); + } + if (dart.test(html_common.isJavaScriptRegExp(e))) { + dart.throw(new core.UnimplementedError.new("structured clone of RegExp")); + } + if (dart.test(html_common.isJavaScriptPromise(e))) { + return js_util.promiseToFuture(dart.dynamic, core.Object.as(e)); + } + if (dart.test(html_common.isJavaScriptSimpleObject(e))) { + let slot = this.findSlot(e); + let copy = this.readSlot(slot); + if (copy != null) return copy; + copy = new _js_helper.LinkedMap.new(); + this.writeSlot(slot, copy); + this.forEachJsField(e, dart.fn((key, value) => { + let t248, t247, t246; + t246 = copy; + t247 = key; + t248 = this.walk(value); + dart.dsend(t246, '_set', [t247, t248]); + return t248; + }, T$0.dynamicAnddynamicTodynamic())); + return copy; + } + if (dart.test(html_common.isJavaScriptArray(e))) { + let l = e; + let slot = this.findSlot(l); + let copy = this.readSlot(slot); + if (copy != null) return copy; + let length = l[$length]; + copy = dart.test(this.mustCopy) ? this.newDartList(length) : l; + this.writeSlot(slot, copy); + for (let i = 0; i < dart.notNull(length); i = i + 1) { + copy[$_set](i, this.walk(l[$_get](i))); + } + return copy; + } + return e; + } + convertNativeToDart_AcceptStructuredClone(object, opts) { + let mustCopy = opts && 'mustCopy' in opts ? opts.mustCopy : false; + this.mustCopy = core.bool.as(mustCopy); + let copy = this.walk(object); + return copy; + } + }; + (html_common._AcceptStructuredClone.new = function() { + this.values = []; + this.copies = []; + this.mustCopy = false; + ; + }).prototype = html_common._AcceptStructuredClone.prototype; + dart.addTypeTests(html_common._AcceptStructuredClone); + dart.addTypeCaches(html_common._AcceptStructuredClone); + dart.setMethodSignature(html_common._AcceptStructuredClone, () => ({ + __proto__: dart.getMethods(html_common._AcceptStructuredClone.__proto__), + findSlot: dart.fnType(core.int, [dart.dynamic]), + readSlot: dart.fnType(dart.dynamic, [core.int]), + writeSlot: dart.fnType(dart.dynamic, [core.int, dart.dynamic]), + walk: dart.fnType(dart.dynamic, [dart.dynamic]), + convertNativeToDart_AcceptStructuredClone: dart.fnType(dart.dynamic, [dart.dynamic], {mustCopy: dart.dynamic}, {}) + })); + dart.setLibraryUri(html_common._AcceptStructuredClone, I[150]); + dart.setFieldSignature(html_common._AcceptStructuredClone, () => ({ + __proto__: dart.getFields(html_common._AcceptStructuredClone.__proto__), + values: dart.fieldType(core.List), + copies: dart.fieldType(core.List), + mustCopy: dart.fieldType(core.bool) + })); + html_common.ContextAttributes = class ContextAttributes extends core.Object { + get alpha() { + return this[S$3.alpha]; + } + set alpha(value) { + this[S$3.alpha] = value; + } + get antialias() { + return this[S$3.antialias]; + } + set antialias(value) { + this[S$3.antialias] = value; + } + get depth() { + return this[S$3.depth]; + } + set depth(value) { + this[S$3.depth] = value; + } + get premultipliedAlpha() { + return this[S$3.premultipliedAlpha]; + } + set premultipliedAlpha(value) { + this[S$3.premultipliedAlpha] = value; + } + get preserveDrawingBuffer() { + return this[S$3.preserveDrawingBuffer]; + } + set preserveDrawingBuffer(value) { + this[S$3.preserveDrawingBuffer] = value; + } + get stencil() { + return this[S$3.stencil]; + } + set stencil(value) { + this[S$3.stencil] = value; + } + get failIfMajorPerformanceCaveat() { + return this[S$3.failIfMajorPerformanceCaveat]; + } + set failIfMajorPerformanceCaveat(value) { + this[S$3.failIfMajorPerformanceCaveat] = value; + } + }; + (html_common.ContextAttributes.new = function(alpha, antialias, depth, failIfMajorPerformanceCaveat, premultipliedAlpha, preserveDrawingBuffer, stencil) { + if (alpha == null) dart.nullFailed(I[151], 298, 12, "alpha"); + if (antialias == null) dart.nullFailed(I[151], 299, 12, "antialias"); + if (depth == null) dart.nullFailed(I[151], 300, 12, "depth"); + if (failIfMajorPerformanceCaveat == null) dart.nullFailed(I[151], 301, 12, "failIfMajorPerformanceCaveat"); + if (premultipliedAlpha == null) dart.nullFailed(I[151], 302, 12, "premultipliedAlpha"); + if (preserveDrawingBuffer == null) dart.nullFailed(I[151], 303, 12, "preserveDrawingBuffer"); + if (stencil == null) dart.nullFailed(I[151], 304, 12, "stencil"); + this[S$3.alpha] = alpha; + this[S$3.antialias] = antialias; + this[S$3.depth] = depth; + this[S$3.failIfMajorPerformanceCaveat] = failIfMajorPerformanceCaveat; + this[S$3.premultipliedAlpha] = premultipliedAlpha; + this[S$3.preserveDrawingBuffer] = preserveDrawingBuffer; + this[S$3.stencil] = stencil; + ; + }).prototype = html_common.ContextAttributes.prototype; + dart.addTypeTests(html_common.ContextAttributes); + dart.addTypeCaches(html_common.ContextAttributes); + dart.setLibraryUri(html_common.ContextAttributes, I[150]); + dart.setFieldSignature(html_common.ContextAttributes, () => ({ + __proto__: dart.getFields(html_common.ContextAttributes.__proto__), + alpha: dart.fieldType(core.bool), + antialias: dart.fieldType(core.bool), + depth: dart.fieldType(core.bool), + premultipliedAlpha: dart.fieldType(core.bool), + preserveDrawingBuffer: dart.fieldType(core.bool), + stencil: dart.fieldType(core.bool), + failIfMajorPerformanceCaveat: dart.fieldType(core.bool) + })); + html_common._TypedImageData = class _TypedImageData extends core.Object { + get data() { + return this[S$3.data$1]; + } + set data(value) { + super.data = value; + } + get height() { + return this[S$3.height$1]; + } + set height(value) { + super.height = value; + } + get width() { + return this[S$3.width$1]; + } + set width(value) { + super.width = value; + } + }; + (html_common._TypedImageData.new = function(data, height, width) { + if (data == null) dart.nullFailed(I[151], 330, 24, "data"); + if (height == null) dart.nullFailed(I[151], 330, 35, "height"); + if (width == null) dart.nullFailed(I[151], 330, 48, "width"); + this[S$3.data$1] = data; + this[S$3.height$1] = height; + this[S$3.width$1] = width; + ; + }).prototype = html_common._TypedImageData.prototype; + dart.addTypeTests(html_common._TypedImageData); + dart.addTypeCaches(html_common._TypedImageData); + html_common._TypedImageData[dart.implements] = () => [html$.ImageData]; + dart.setLibraryUri(html_common._TypedImageData, I[150]); + dart.setFieldSignature(html_common._TypedImageData, () => ({ + __proto__: dart.getFields(html_common._TypedImageData.__proto__), + data: dart.finalFieldType(typed_data.Uint8ClampedList), + height: dart.finalFieldType(core.int), + width: dart.finalFieldType(core.int) + })); + dart.defineExtensionAccessors(html_common._TypedImageData, ['data', 'height', 'width']); + html_common._StructuredCloneDart2Js = class _StructuredCloneDart2Js extends html_common._StructuredClone { + newJsObject() { + return {}; + } + forEachObjectKey(object, action) { + if (action == null) dart.nullFailed(I[152], 81, 33, "action"); + for (let key of Object.keys(object)) { + action(key, object[key]); + } + } + putIntoObject(object, key, value) { + return object[key] = value; + } + newJsMap() { + return {}; + } + putIntoMap(map, key, value) { + return map[key] = value; + } + newJsList(length) { + return new Array(length); + } + cloneNotRequired(e) { + return _native_typed_data.NativeByteBuffer.is(e) || _native_typed_data.NativeTypedData.is(e) || html$.MessagePort.is(e); + } + }; + (html_common._StructuredCloneDart2Js.new = function() { + html_common._StructuredCloneDart2Js.__proto__.new.call(this); + ; + }).prototype = html_common._StructuredCloneDart2Js.prototype; + dart.addTypeTests(html_common._StructuredCloneDart2Js); + dart.addTypeCaches(html_common._StructuredCloneDart2Js); + dart.setMethodSignature(html_common._StructuredCloneDart2Js, () => ({ + __proto__: dart.getMethods(html_common._StructuredCloneDart2Js.__proto__), + newJsObject: dart.fnType(_interceptors.JSObject, []), + forEachObjectKey: dart.fnType(dart.void, [dart.dynamic, dart.fnType(dart.dynamic, [dart.dynamic, dart.dynamic])]), + putIntoObject: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic]), + newJsMap: dart.fnType(dart.dynamic, []), + putIntoMap: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic]), + newJsList: dart.fnType(core.List, [dart.dynamic]), + cloneNotRequired: dart.fnType(core.bool, [dart.dynamic]) + })); + dart.setLibraryUri(html_common._StructuredCloneDart2Js, I[150]); + html_common._AcceptStructuredCloneDart2Js = class _AcceptStructuredCloneDart2Js extends html_common._AcceptStructuredClone { + newJsList(length) { + return new Array(length); + } + newDartList(length) { + return this.newJsList(length); + } + identicalInJs(a, b) { + return core.identical(a, b); + } + forEachJsField(object, action) { + if (action == null) dart.nullFailed(I[152], 103, 31, "action"); + for (let key of Object.keys(object)) { + action(key, object[key]); + } + } + }; + (html_common._AcceptStructuredCloneDart2Js.new = function() { + html_common._AcceptStructuredCloneDart2Js.__proto__.new.call(this); + ; + }).prototype = html_common._AcceptStructuredCloneDart2Js.prototype; + dart.addTypeTests(html_common._AcceptStructuredCloneDart2Js); + dart.addTypeCaches(html_common._AcceptStructuredCloneDart2Js); + dart.setMethodSignature(html_common._AcceptStructuredCloneDart2Js, () => ({ + __proto__: dart.getMethods(html_common._AcceptStructuredCloneDart2Js.__proto__), + newJsList: dart.fnType(core.List, [dart.dynamic]), + newDartList: dart.fnType(core.List, [dart.dynamic]), + identicalInJs: dart.fnType(core.bool, [dart.dynamic, dart.dynamic]), + forEachJsField: dart.fnType(dart.void, [dart.dynamic, dart.fnType(dart.dynamic, [dart.dynamic, dart.dynamic])]) + })); + dart.setLibraryUri(html_common._AcceptStructuredCloneDart2Js, I[150]); + html_common.Device = class Device extends core.Object { + static get userAgent() { + return html$.window.navigator.userAgent; + } + static isEventTypeSupported(eventType) { + if (eventType == null) dart.nullFailed(I[153], 52, 43, "eventType"); + try { + let e = html$.Event.eventType(eventType, ""); + return html$.Event.is(e); + } catch (e$) { + let _ = dart.getThrown(e$); + if (core.Object.is(_)) { + } else + throw e$; + } + return false; + } + }; + (html_common.Device.new = function() { + ; + }).prototype = html_common.Device.prototype; + dart.addTypeTests(html_common.Device); + dart.addTypeCaches(html_common.Device); + dart.setLibraryUri(html_common.Device, I[150]); + dart.defineLazy(html_common.Device, { + /*html_common.Device.isOpera*/get isOpera() { + return html_common.Device.userAgent[$contains]("Opera", 0); + }, + /*html_common.Device.isIE*/get isIE() { + return !dart.test(html_common.Device.isOpera) && html_common.Device.userAgent[$contains]("Trident/", 0); + }, + /*html_common.Device.isFirefox*/get isFirefox() { + return html_common.Device.userAgent[$contains]("Firefox", 0); + }, + /*html_common.Device.isWebKit*/get isWebKit() { + return !dart.test(html_common.Device.isOpera) && html_common.Device.userAgent[$contains]("WebKit", 0); + }, + /*html_common.Device.cssPrefix*/get cssPrefix() { + return "-" + dart.str(html_common.Device.propertyPrefix) + "-"; + }, + /*html_common.Device.propertyPrefix*/get propertyPrefix() { + return dart.test(html_common.Device.isFirefox) ? "moz" : dart.test(html_common.Device.isIE) ? "ms" : dart.test(html_common.Device.isOpera) ? "o" : "webkit"; + } + }, false); + html_common.FilteredElementList = class FilteredElementList extends collection.ListBase$(html$.Element) { + get [S$3._iterable$2]() { + return this[S$3._childNodes][$where](dart.fn(n => { + if (n == null) dart.nullFailed(I[154], 30, 26, "n"); + return html$.Element.is(n); + }, T$0.NodeTobool()))[$map](html$.Element, dart.fn(n => { + if (n == null) dart.nullFailed(I[154], 30, 60, "n"); + return html$.Element.as(n); + }, T$0.NodeToElement())); + } + get [S$3._filtered]() { + return T$0.ListOfElement().from(this[S$3._iterable$2], {growable: false}); + } + forEach(f) { + if (f == null) dart.nullFailed(I[154], 34, 21, "f"); + this[S$3._filtered][$forEach](f); + } + _set(index, value$) { + let value = value$; + if (index == null) dart.nullFailed(I[154], 40, 25, "index"); + html$.Element.as(value); + if (value == null) dart.nullFailed(I[154], 40, 40, "value"); + this._get(index)[S$.$replaceWith](value); + return value$; + } + set length(newLength) { + if (newLength == null) dart.nullFailed(I[154], 44, 18, "newLength"); + let len = this.length; + if (dart.notNull(newLength) >= dart.notNull(len)) { + return; + } else if (dart.notNull(newLength) < 0) { + dart.throw(new core.ArgumentError.new("Invalid list length")); + } + this.removeRange(newLength, len); + } + add(value) { + html$.Element.as(value); + if (value == null) dart.nullFailed(I[154], 55, 20, "value"); + this[S$3._childNodes][$add](value); + } + addAll(iterable) { + T$0.IterableOfElement().as(iterable); + if (iterable == null) dart.nullFailed(I[154], 59, 33, "iterable"); + for (let element of iterable) { + this.add(element); + } + } + contains(needle) { + if (!html$.Element.is(needle)) return false; + let element = needle; + return dart.equals(element.parentNode, this[S$3._node]); + } + get reversed() { + return this[S$3._filtered][$reversed]; + } + sort(compare = null) { + dart.throw(new core.UnsupportedError.new("Cannot sort filtered list")); + } + setRange(start, end, iterable, skipCount = 0) { + if (start == null) dart.nullFailed(I[154], 77, 21, "start"); + if (end == null) dart.nullFailed(I[154], 77, 32, "end"); + T$0.IterableOfElement().as(iterable); + if (iterable == null) dart.nullFailed(I[154], 77, 55, "iterable"); + if (skipCount == null) dart.nullFailed(I[154], 78, 12, "skipCount"); + dart.throw(new core.UnsupportedError.new("Cannot setRange on filtered list")); + } + fillRange(start, end, fillValue = null) { + if (start == null) dart.nullFailed(I[154], 82, 22, "start"); + if (end == null) dart.nullFailed(I[154], 82, 33, "end"); + T$0.ElementN().as(fillValue); + dart.throw(new core.UnsupportedError.new("Cannot fillRange on filtered list")); + } + replaceRange(start, end, iterable) { + if (start == null) dart.nullFailed(I[154], 86, 25, "start"); + if (end == null) dart.nullFailed(I[154], 86, 36, "end"); + T$0.IterableOfElement().as(iterable); + if (iterable == null) dart.nullFailed(I[154], 86, 59, "iterable"); + dart.throw(new core.UnsupportedError.new("Cannot replaceRange on filtered list")); + } + removeRange(start, end) { + if (start == null) dart.nullFailed(I[154], 90, 24, "start"); + if (end == null) dart.nullFailed(I[154], 90, 35, "end"); + core.List.from(this[S$3._iterable$2][$skip](start)[$take](dart.notNull(end) - dart.notNull(start)))[$forEach](dart.fn(el => dart.dsend(el, 'remove', []), T$.dynamicTovoid())); + } + clear() { + this[S$3._childNodes][$clear](); + } + removeLast() { + let result = this[S$3._iterable$2][$last]; + if (result != null) { + result[$remove](); + } + return result; + } + insert(index, value) { + if (index == null) dart.nullFailed(I[154], 109, 19, "index"); + html$.Element.as(value); + if (value == null) dart.nullFailed(I[154], 109, 34, "value"); + if (index == this.length) { + this.add(value); + } else { + let element = this[S$3._iterable$2][$elementAt](index); + dart.nullCheck(element.parentNode).insertBefore(value, element); + } + } + insertAll(index, iterable) { + if (index == null) dart.nullFailed(I[154], 118, 22, "index"); + T$0.IterableOfElement().as(iterable); + if (iterable == null) dart.nullFailed(I[154], 118, 47, "iterable"); + if (index == this.length) { + this.addAll(iterable); + } else { + let element = this[S$3._iterable$2][$elementAt](index); + dart.nullCheck(element.parentNode)[S$.$insertAllBefore](iterable, element); + } + } + removeAt(index) { + if (index == null) dart.nullFailed(I[154], 127, 24, "index"); + let result = this._get(index); + result[$remove](); + return result; + } + remove(element) { + if (!html$.Element.is(element)) return false; + if (dart.test(this.contains(element))) { + element[$remove](); + return true; + } else { + return false; + } + } + get length() { + return this[S$3._iterable$2][$length]; + } + _get(index) { + if (index == null) dart.nullFailed(I[154], 144, 27, "index"); + return this[S$3._iterable$2][$elementAt](index); + } + get iterator() { + return this[S$3._filtered][$iterator]; + } + get rawList() { + return this[S$3._node].childNodes; + } + }; + (html_common.FilteredElementList.new = function(node) { + if (node == null) dart.nullFailed(I[154], 23, 28, "node"); + this[S$3._childNodes] = node[S.$nodes]; + this[S$3._node] = node; + ; + }).prototype = html_common.FilteredElementList.prototype; + dart.addTypeTests(html_common.FilteredElementList); + dart.addTypeCaches(html_common.FilteredElementList); + html_common.FilteredElementList[dart.implements] = () => [html_common.NodeListWrapper]; + dart.setMethodSignature(html_common.FilteredElementList, () => ({ + __proto__: dart.getMethods(html_common.FilteredElementList.__proto__), + _set: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), + [$_set]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), + _get: dart.fnType(html$.Element, [core.int]), + [$_get]: dart.fnType(html$.Element, [core.int]) + })); + dart.setGetterSignature(html_common.FilteredElementList, () => ({ + __proto__: dart.getGetters(html_common.FilteredElementList.__proto__), + [S$3._iterable$2]: core.Iterable$(html$.Element), + [S$3._filtered]: core.List$(html$.Element), + length: core.int, + [$length]: core.int, + rawList: core.List$(html$.Node) + })); + dart.setSetterSignature(html_common.FilteredElementList, () => ({ + __proto__: dart.getSetters(html_common.FilteredElementList.__proto__), + length: core.int, + [$length]: core.int + })); + dart.setLibraryUri(html_common.FilteredElementList, I[150]); + dart.setFieldSignature(html_common.FilteredElementList, () => ({ + __proto__: dart.getFields(html_common.FilteredElementList.__proto__), + [S$3._node]: dart.finalFieldType(html$.Node), + [S$3._childNodes]: dart.finalFieldType(core.List$(html$.Node)) + })); + dart.defineExtensionMethods(html_common.FilteredElementList, [ + 'forEach', + '_set', + 'add', + 'addAll', + 'contains', + 'sort', + 'setRange', + 'fillRange', + 'replaceRange', + 'removeRange', + 'clear', + 'removeLast', + 'insert', + 'insertAll', + 'removeAt', + 'remove', + '_get' + ]); + dart.defineExtensionAccessors(html_common.FilteredElementList, ['length', 'reversed', 'iterator']); + html_common.Lists = class Lists extends core.Object { + static indexOf(a, element, startIndex, endIndex) { + if (a == null) dart.nullFailed(I[155], 13, 27, "a"); + if (element == null) dart.nullFailed(I[155], 13, 37, "element"); + if (startIndex == null) dart.nullFailed(I[155], 13, 50, "startIndex"); + if (endIndex == null) dart.nullFailed(I[155], 13, 66, "endIndex"); + if (dart.notNull(startIndex) >= dart.notNull(a[$length])) { + return -1; + } + if (dart.notNull(startIndex) < 0) { + startIndex = 0; + } + for (let i = startIndex; dart.notNull(i) < dart.notNull(endIndex); i = dart.notNull(i) + 1) { + if (dart.equals(a[$_get](i), element)) { + return i; + } + } + return -1; + } + static lastIndexOf(a, element, startIndex) { + if (a == null) dart.nullFailed(I[155], 33, 31, "a"); + if (element == null) dart.nullFailed(I[155], 33, 41, "element"); + if (startIndex == null) dart.nullFailed(I[155], 33, 54, "startIndex"); + if (dart.notNull(startIndex) < 0) { + return -1; + } + if (dart.notNull(startIndex) >= dart.notNull(a[$length])) { + startIndex = dart.notNull(a[$length]) - 1; + } + for (let i = startIndex; dart.notNull(i) >= 0; i = dart.notNull(i) - 1) { + if (dart.equals(a[$_get](i), element)) { + return i; + } + } + return -1; + } + static getRange(a, start, end, accumulator) { + if (a == null) dart.nullFailed(I[155], 55, 29, "a"); + if (start == null) dart.nullFailed(I[155], 55, 36, "start"); + if (end == null) dart.nullFailed(I[155], 55, 47, "end"); + if (accumulator == null) dart.nullFailed(I[155], 55, 57, "accumulator"); + if (dart.notNull(start) < 0) dart.throw(new core.RangeError.value(start)); + if (dart.notNull(end) < dart.notNull(start)) dart.throw(new core.RangeError.value(end)); + if (dart.notNull(end) > dart.notNull(a[$length])) dart.throw(new core.RangeError.value(end)); + for (let i = start; dart.notNull(i) < dart.notNull(end); i = dart.notNull(i) + 1) { + accumulator[$add](a[$_get](i)); + } + return accumulator; + } + }; + (html_common.Lists.new = function() { + ; + }).prototype = html_common.Lists.prototype; + dart.addTypeTests(html_common.Lists); + dart.addTypeCaches(html_common.Lists); + dart.setLibraryUri(html_common.Lists, I[150]); + html_common.NodeListWrapper = class NodeListWrapper extends core.Object {}; + (html_common.NodeListWrapper.new = function() { + ; + }).prototype = html_common.NodeListWrapper.prototype; + dart.addTypeTests(html_common.NodeListWrapper); + dart.addTypeCaches(html_common.NodeListWrapper); + dart.setLibraryUri(html_common.NodeListWrapper, I[150]); + html_common.convertDartToNative_SerializedScriptValue = function convertDartToNative_SerializedScriptValue(value) { + return html_common.convertDartToNative_PrepareForStructuredClone(value); + }; + html_common.convertNativeToDart_SerializedScriptValue = function convertNativeToDart_SerializedScriptValue(object) { + return html_common.convertNativeToDart_AcceptStructuredClone(object, {mustCopy: true}); + }; + html_common.convertNativeToDart_ContextAttributes = function convertNativeToDart_ContextAttributes(nativeContextAttributes) { + return new html_common.ContextAttributes.new(nativeContextAttributes.alpha, nativeContextAttributes.antialias, nativeContextAttributes.depth, nativeContextAttributes.failIfMajorPerformanceCaveat, nativeContextAttributes.premultipliedAlpha, nativeContextAttributes.preserveDrawingBuffer, nativeContextAttributes.stencil); + }; + html_common.convertNativeToDart_ImageData = function convertNativeToDart_ImageData(nativeImageData) { + 0; + if (html$.ImageData.is(nativeImageData)) { + let data = nativeImageData.data; + if (data.constructor === Array) { + if (typeof CanvasPixelArray !== "undefined") { + data.constructor = CanvasPixelArray; + data.BYTES_PER_ELEMENT = 1; + } + } + return nativeImageData; + } + return new html_common._TypedImageData.new(nativeImageData.data, nativeImageData.height, nativeImageData.width); + }; + html_common.convertDartToNative_ImageData = function convertDartToNative_ImageData(imageData) { + if (imageData == null) dart.nullFailed(I[151], 369, 41, "imageData"); + if (html_common._TypedImageData.is(imageData)) { + return {data: imageData.data, height: imageData.height, width: imageData.width}; + } + return imageData; + }; + html_common.convertNativeToDart_Dictionary = function convertNativeToDart_Dictionary(object) { + if (object == null) return null; + let dict = new (T$0.IdentityMapOfString$dynamic()).new(); + let keys = Object.getOwnPropertyNames(object); + for (let key of keys) { + dict[$_set](core.String.as(key), object[key]); + } + return dict; + }; + html_common._convertDartToNative_Value = function _convertDartToNative_Value(value) { + if (value == null) return value; + if (typeof value == 'string' || typeof value == 'number' || typeof value == 'boolean') return value; + if (core.Map.is(value)) return html_common.convertDartToNative_Dictionary(value); + if (core.List.is(value)) { + let array = []; + value[$forEach](dart.fn(element => { + array.push(html_common._convertDartToNative_Value(element)); + }, T$.dynamicTovoid())); + value = array; + } + return value; + }; + html_common.convertDartToNative_Dictionary = function convertDartToNative_Dictionary(dict, postCreate = null) { + if (dict == null) return null; + let object = {}; + if (postCreate != null) { + postCreate(object); + } + dict[$forEach](dart.fn((key, value) => { + object[key] = html_common._convertDartToNative_Value(value); + }, T$.dynamicAnddynamicTovoid())); + return object; + }; + html_common.convertDartToNative_StringArray = function convertDartToNative_StringArray(input) { + if (input == null) dart.nullFailed(I[152], 56, 51, "input"); + return input; + }; + html_common.convertNativeToDart_DateTime = function convertNativeToDart_DateTime(date) { + let millisSinceEpoch = date.getTime(); + return new core.DateTime.fromMillisecondsSinceEpoch(millisSinceEpoch, {isUtc: true}); + }; + html_common.convertDartToNative_DateTime = function convertDartToNative_DateTime(date) { + if (date == null) dart.nullFailed(I[152], 66, 39, "date"); + return new Date(date.millisecondsSinceEpoch); + }; + html_common.convertDartToNative_PrepareForStructuredClone = function convertDartToNative_PrepareForStructuredClone(value) { + return new html_common._StructuredCloneDart2Js.new().convertDartToNative_PrepareForStructuredClone(value); + }; + html_common.convertNativeToDart_AcceptStructuredClone = function convertNativeToDart_AcceptStructuredClone(object, opts) { + let mustCopy = opts && 'mustCopy' in opts ? opts.mustCopy : false; + return new html_common._AcceptStructuredCloneDart2Js.new().convertNativeToDart_AcceptStructuredClone(object, {mustCopy: mustCopy}); + }; + html_common.isJavaScriptDate = function isJavaScriptDate(value) { + return value instanceof Date; + }; + html_common.isJavaScriptRegExp = function isJavaScriptRegExp(value) { + return value instanceof RegExp; + }; + html_common.isJavaScriptArray = function isJavaScriptArray(value) { + return value instanceof Array; + }; + html_common.isJavaScriptSimpleObject = function isJavaScriptSimpleObject(value) { + let proto = Object.getPrototypeOf(value); + return proto === Object.prototype || proto === null; + }; + html_common.isImmutableJavaScriptArray = function isImmutableJavaScriptArray(value) { + return !!value.immutable$list; + }; + html_common.isJavaScriptPromise = function isJavaScriptPromise(value) { + return typeof Promise != "undefined" && value instanceof Promise; + }; + dart.defineLazy(html_common, { + /*html_common._serializedScriptValue*/get _serializedScriptValue() { + return "num|String|bool|JSExtendableArray|=Object|Blob|File|NativeByteBuffer|NativeTypedData|MessagePort"; + }, + /*html_common.annotation_Creates_SerializedScriptValue*/get annotation_Creates_SerializedScriptValue() { + return C[416] || CT.C416; + }, + /*html_common.annotation_Returns_SerializedScriptValue*/get annotation_Returns_SerializedScriptValue() { + return C[417] || CT.C417; + } + }, false); + svg$._SvgElementFactoryProvider = class _SvgElementFactoryProvider extends core.Object { + static createSvgElement_tag(tag) { + if (tag == null) dart.nullFailed(I[156], 30, 49, "tag"); + let temp = html$.document[S$1.$createElementNS]("http://www.w3.org/2000/svg", tag); + return svg$.SvgElement.as(temp); + } + }; + (svg$._SvgElementFactoryProvider.new = function() { + ; + }).prototype = svg$._SvgElementFactoryProvider.prototype; + dart.addTypeTests(svg$._SvgElementFactoryProvider); + dart.addTypeCaches(svg$._SvgElementFactoryProvider); + dart.setLibraryUri(svg$._SvgElementFactoryProvider, I[157]); + svg$.SvgElement = class SvgElement extends html$.Element { + static tag(tag) { + if (tag == null) dart.nullFailed(I[156], 2996, 33, "tag"); + return svg$.SvgElement.as(html$.document[S$1.$createElementNS]("http://www.w3.org/2000/svg", tag)); + } + static svg(svg, opts) { + let t247; + if (svg == null) dart.nullFailed(I[156], 2998, 33, "svg"); + let validator = opts && 'validator' in opts ? opts.validator : null; + let treeSanitizer = opts && 'treeSanitizer' in opts ? opts.treeSanitizer : null; + if (validator == null && treeSanitizer == null) { + validator = (t247 = new html$.NodeValidatorBuilder.common(), (() => { + t247.allowSvg(); + return t247; + })()); + } + let match = svg$.SvgElement._START_TAG_REGEXP.firstMatch(svg); + let parentElement = null; + if (match != null && dart.nullCheck(match.group(1))[$toLowerCase]() === "svg") { + parentElement = html$.document.body; + } else { + parentElement = svg$.SvgSvgElement.new(); + } + let fragment = dart.dsend(parentElement, 'createFragment', [svg], {validator: validator, treeSanitizer: treeSanitizer}); + return svg$.SvgElement.as(dart.dload(dart.dsend(dart.dload(fragment, 'nodes'), 'where', [dart.fn(e => svg$.SvgElement.is(e), T$0.dynamicTobool())]), 'single')); + } + get [S.$classes]() { + return new svg$.AttributeClassSet.new(this); + } + set [S.$classes](value) { + super[S.$classes] = value; + } + get [S.$children]() { + return new html_common.FilteredElementList.new(this); + } + set [S.$children](value) { + if (value == null) dart.nullFailed(I[156], 3020, 30, "value"); + let children = this[S.$children]; + children[$clear](); + children[$addAll](value); + } + get [S.$outerHtml]() { + let container = html$.DivElement.new(); + let cloned = svg$.SvgElement.as(this[S$.$clone](true)); + container[S.$children][$add](cloned); + return container[S.$innerHtml]; + } + get [S.$innerHtml]() { + let container = html$.DivElement.new(); + let cloned = svg$.SvgElement.as(this[S$.$clone](true)); + container[S.$children][$addAll](cloned[S.$children]); + return container[S.$innerHtml]; + } + set [S.$innerHtml](value) { + this[S.$setInnerHtml](value); + } + [S.$createFragment](svg, opts) { + let t247; + let validator = opts && 'validator' in opts ? opts.validator : null; + let treeSanitizer = opts && 'treeSanitizer' in opts ? opts.treeSanitizer : null; + if (treeSanitizer == null) { + if (validator == null) { + validator = (t247 = new html$.NodeValidatorBuilder.common(), (() => { + t247.allowSvg(); + return t247; + })()); + } + treeSanitizer = html$.NodeTreeSanitizer.new(validator); + } + let html = "" + dart.str(svg) + ""; + let fragment = dart.nullCheck(html$.document.body)[S.$createFragment](html, {treeSanitizer: treeSanitizer}); + let svgFragment = html$.DocumentFragment.new(); + let root = fragment[S.$nodes][$single]; + while (root.firstChild != null) { + svgFragment[S.$append](dart.nullCheck(root.firstChild)); + } + return svgFragment; + } + [S.$insertAdjacentText](where, text) { + if (where == null) dart.nullFailed(I[156], 3069, 34, "where"); + if (text == null) dart.nullFailed(I[156], 3069, 48, "text"); + dart.throw(new core.UnsupportedError.new("Cannot invoke insertAdjacentText on SVG.")); + } + [S.$insertAdjacentHtml](where, text, opts) { + if (where == null) dart.nullFailed(I[156], 3073, 34, "where"); + if (text == null) dart.nullFailed(I[156], 3073, 48, "text"); + let validator = opts && 'validator' in opts ? opts.validator : null; + let treeSanitizer = opts && 'treeSanitizer' in opts ? opts.treeSanitizer : null; + dart.throw(new core.UnsupportedError.new("Cannot invoke insertAdjacentHtml on SVG.")); + } + [S.$insertAdjacentElement](where, element) { + if (where == null) dart.nullFailed(I[156], 3078, 40, "where"); + if (element == null) dart.nullFailed(I[156], 3078, 55, "element"); + dart.throw(new core.UnsupportedError.new("Cannot invoke insertAdjacentElement on SVG.")); + } + get [S$3._children$1]() { + dart.throw(new core.UnsupportedError.new("Cannot get _children on SVG.")); + } + get [S.$isContentEditable]() { + return false; + } + [S.$click]() { + dart.throw(new core.UnsupportedError.new("Cannot invoke click SVG.")); + } + static isTagSupported(tag) { + if (tag == null) dart.nullFailed(I[156], 3096, 37, "tag"); + let e = svg$.SvgElement.tag(tag); + return svg$.SvgElement.is(e) && !html$.UnknownElement.is(e); + } + get [S$3._svgClassName]() { + return this.className; + } + get [S$3.$ownerSvgElement]() { + return this.ownerSVGElement; + } + get [S$3.$viewportElement]() { + return this.viewportElement; + } + [S.$blur](...args) { + return this.blur.apply(this, args); + } + [S.$focus](...args) { + return this.focus.apply(this, args); + } + get [S.$nonce]() { + return this.nonce; + } + set [S.$nonce](value) { + this.nonce = value; + } + get [S.$onAbort]() { + return svg$.SvgElement.abortEvent.forElement(this); + } + get [S.$onBlur]() { + return svg$.SvgElement.blurEvent.forElement(this); + } + get [S.$onCanPlay]() { + return svg$.SvgElement.canPlayEvent.forElement(this); + } + get [S.$onCanPlayThrough]() { + return svg$.SvgElement.canPlayThroughEvent.forElement(this); + } + get [S.$onChange]() { + return svg$.SvgElement.changeEvent.forElement(this); + } + get [S.$onClick]() { + return svg$.SvgElement.clickEvent.forElement(this); + } + get [S.$onContextMenu]() { + return svg$.SvgElement.contextMenuEvent.forElement(this); + } + get [S.$onDoubleClick]() { + return svg$.SvgElement.doubleClickEvent.forElement(this); + } + get [S.$onDrag]() { + return svg$.SvgElement.dragEvent.forElement(this); + } + get [S.$onDragEnd]() { + return svg$.SvgElement.dragEndEvent.forElement(this); + } + get [S.$onDragEnter]() { + return svg$.SvgElement.dragEnterEvent.forElement(this); + } + get [S.$onDragLeave]() { + return svg$.SvgElement.dragLeaveEvent.forElement(this); + } + get [S.$onDragOver]() { + return svg$.SvgElement.dragOverEvent.forElement(this); + } + get [S.$onDragStart]() { + return svg$.SvgElement.dragStartEvent.forElement(this); + } + get [S.$onDrop]() { + return svg$.SvgElement.dropEvent.forElement(this); + } + get [S.$onDurationChange]() { + return svg$.SvgElement.durationChangeEvent.forElement(this); + } + get [S.$onEmptied]() { + return svg$.SvgElement.emptiedEvent.forElement(this); + } + get [S.$onEnded]() { + return svg$.SvgElement.endedEvent.forElement(this); + } + get [S.$onError]() { + return svg$.SvgElement.errorEvent.forElement(this); + } + get [S.$onFocus]() { + return svg$.SvgElement.focusEvent.forElement(this); + } + get [S.$onInput]() { + return svg$.SvgElement.inputEvent.forElement(this); + } + get [S.$onInvalid]() { + return svg$.SvgElement.invalidEvent.forElement(this); + } + get [S.$onKeyDown]() { + return svg$.SvgElement.keyDownEvent.forElement(this); + } + get [S.$onKeyPress]() { + return svg$.SvgElement.keyPressEvent.forElement(this); + } + get [S.$onKeyUp]() { + return svg$.SvgElement.keyUpEvent.forElement(this); + } + get [S.$onLoad]() { + return svg$.SvgElement.loadEvent.forElement(this); + } + get [S.$onLoadedData]() { + return svg$.SvgElement.loadedDataEvent.forElement(this); + } + get [S.$onLoadedMetadata]() { + return svg$.SvgElement.loadedMetadataEvent.forElement(this); + } + get [S.$onMouseDown]() { + return svg$.SvgElement.mouseDownEvent.forElement(this); + } + get [S.$onMouseEnter]() { + return svg$.SvgElement.mouseEnterEvent.forElement(this); + } + get [S.$onMouseLeave]() { + return svg$.SvgElement.mouseLeaveEvent.forElement(this); + } + get [S.$onMouseMove]() { + return svg$.SvgElement.mouseMoveEvent.forElement(this); + } + get [S.$onMouseOut]() { + return svg$.SvgElement.mouseOutEvent.forElement(this); + } + get [S.$onMouseOver]() { + return svg$.SvgElement.mouseOverEvent.forElement(this); + } + get [S.$onMouseUp]() { + return svg$.SvgElement.mouseUpEvent.forElement(this); + } + get [S.$onMouseWheel]() { + return svg$.SvgElement.mouseWheelEvent.forElement(this); + } + get [S.$onPause]() { + return svg$.SvgElement.pauseEvent.forElement(this); + } + get [S.$onPlay]() { + return svg$.SvgElement.playEvent.forElement(this); + } + get [S.$onPlaying]() { + return svg$.SvgElement.playingEvent.forElement(this); + } + get [S.$onRateChange]() { + return svg$.SvgElement.rateChangeEvent.forElement(this); + } + get [S.$onReset]() { + return svg$.SvgElement.resetEvent.forElement(this); + } + get [S.$onResize]() { + return svg$.SvgElement.resizeEvent.forElement(this); + } + get [S.$onScroll]() { + return svg$.SvgElement.scrollEvent.forElement(this); + } + get [S.$onSeeked]() { + return svg$.SvgElement.seekedEvent.forElement(this); + } + get [S.$onSeeking]() { + return svg$.SvgElement.seekingEvent.forElement(this); + } + get [S.$onSelect]() { + return svg$.SvgElement.selectEvent.forElement(this); + } + get [S.$onStalled]() { + return svg$.SvgElement.stalledEvent.forElement(this); + } + get [S.$onSubmit]() { + return svg$.SvgElement.submitEvent.forElement(this); + } + get [S$.$onSuspend]() { + return svg$.SvgElement.suspendEvent.forElement(this); + } + get [S$.$onTimeUpdate]() { + return svg$.SvgElement.timeUpdateEvent.forElement(this); + } + get [S$.$onTouchCancel]() { + return svg$.SvgElement.touchCancelEvent.forElement(this); + } + get [S$.$onTouchEnd]() { + return svg$.SvgElement.touchEndEvent.forElement(this); + } + get [S$.$onTouchMove]() { + return svg$.SvgElement.touchMoveEvent.forElement(this); + } + get [S$.$onTouchStart]() { + return svg$.SvgElement.touchStartEvent.forElement(this); + } + get [S$.$onVolumeChange]() { + return svg$.SvgElement.volumeChangeEvent.forElement(this); + } + get [S$.$onWaiting]() { + return svg$.SvgElement.waitingEvent.forElement(this); + } + get [S$.$onWheel]() { + return svg$.SvgElement.wheelEvent.forElement(this); + } + }; + (svg$.SvgElement.created = function() { + svg$.SvgElement.__proto__.created.call(this); + ; + }).prototype = svg$.SvgElement.prototype; + dart.addTypeTests(svg$.SvgElement); + dart.addTypeCaches(svg$.SvgElement); + svg$.SvgElement[dart.implements] = () => [html$.GlobalEventHandlers, html$.NoncedElement]; + dart.setGetterSignature(svg$.SvgElement, () => ({ + __proto__: dart.getGetters(svg$.SvgElement.__proto__), + [S$3._children$1]: html$.HtmlCollection, + [S.$isContentEditable]: core.bool, + [S$3._svgClassName]: svg$.AnimatedString, + [S$3.$ownerSvgElement]: dart.nullable(svg$.SvgSvgElement), + [S$3.$viewportElement]: dart.nullable(svg$.SvgElement), + [S.$nonce]: dart.nullable(core.String) + })); + dart.setSetterSignature(svg$.SvgElement, () => ({ + __proto__: dart.getSetters(svg$.SvgElement.__proto__), + [S.$nonce]: dart.nullable(core.String) + })); + dart.setLibraryUri(svg$.SvgElement, I[157]); + dart.defineLazy(svg$.SvgElement, { + /*svg$.SvgElement._START_TAG_REGEXP*/get _START_TAG_REGEXP() { + return core.RegExp.new("<(\\w+)"); + }, + /*svg$.SvgElement.abortEvent*/get abortEvent() { + return C[214] || CT.C214; + }, + /*svg$.SvgElement.blurEvent*/get blurEvent() { + return C[233] || CT.C233; + }, + /*svg$.SvgElement.canPlayEvent*/get canPlayEvent() { + return C[234] || CT.C234; + }, + /*svg$.SvgElement.canPlayThroughEvent*/get canPlayThroughEvent() { + return C[235] || CT.C235; + }, + /*svg$.SvgElement.changeEvent*/get changeEvent() { + return C[236] || CT.C236; + }, + /*svg$.SvgElement.clickEvent*/get clickEvent() { + return C[237] || CT.C237; + }, + /*svg$.SvgElement.contextMenuEvent*/get contextMenuEvent() { + return C[238] || CT.C238; + }, + /*svg$.SvgElement.doubleClickEvent*/get doubleClickEvent() { + return C[241] || CT.C241; + }, + /*svg$.SvgElement.dragEvent*/get dragEvent() { + return C[242] || CT.C242; + }, + /*svg$.SvgElement.dragEndEvent*/get dragEndEvent() { + return C[243] || CT.C243; + }, + /*svg$.SvgElement.dragEnterEvent*/get dragEnterEvent() { + return C[244] || CT.C244; + }, + /*svg$.SvgElement.dragLeaveEvent*/get dragLeaveEvent() { + return C[245] || CT.C245; + }, + /*svg$.SvgElement.dragOverEvent*/get dragOverEvent() { + return C[246] || CT.C246; + }, + /*svg$.SvgElement.dragStartEvent*/get dragStartEvent() { + return C[247] || CT.C247; + }, + /*svg$.SvgElement.dropEvent*/get dropEvent() { + return C[248] || CT.C248; + }, + /*svg$.SvgElement.durationChangeEvent*/get durationChangeEvent() { + return C[249] || CT.C249; + }, + /*svg$.SvgElement.emptiedEvent*/get emptiedEvent() { + return C[250] || CT.C250; + }, + /*svg$.SvgElement.endedEvent*/get endedEvent() { + return C[251] || CT.C251; + }, + /*svg$.SvgElement.errorEvent*/get errorEvent() { + return C[216] || CT.C216; + }, + /*svg$.SvgElement.focusEvent*/get focusEvent() { + return C[252] || CT.C252; + }, + /*svg$.SvgElement.inputEvent*/get inputEvent() { + return C[253] || CT.C253; + }, + /*svg$.SvgElement.invalidEvent*/get invalidEvent() { + return C[254] || CT.C254; + }, + /*svg$.SvgElement.keyDownEvent*/get keyDownEvent() { + return C[255] || CT.C255; + }, + /*svg$.SvgElement.keyPressEvent*/get keyPressEvent() { + return C[256] || CT.C256; + }, + /*svg$.SvgElement.keyUpEvent*/get keyUpEvent() { + return C[257] || CT.C257; + }, + /*svg$.SvgElement.loadEvent*/get loadEvent() { + return C[258] || CT.C258; + }, + /*svg$.SvgElement.loadedDataEvent*/get loadedDataEvent() { + return C[259] || CT.C259; + }, + /*svg$.SvgElement.loadedMetadataEvent*/get loadedMetadataEvent() { + return C[260] || CT.C260; + }, + /*svg$.SvgElement.mouseDownEvent*/get mouseDownEvent() { + return C[261] || CT.C261; + }, + /*svg$.SvgElement.mouseEnterEvent*/get mouseEnterEvent() { + return C[262] || CT.C262; + }, + /*svg$.SvgElement.mouseLeaveEvent*/get mouseLeaveEvent() { + return C[263] || CT.C263; + }, + /*svg$.SvgElement.mouseMoveEvent*/get mouseMoveEvent() { + return C[264] || CT.C264; + }, + /*svg$.SvgElement.mouseOutEvent*/get mouseOutEvent() { + return C[265] || CT.C265; + }, + /*svg$.SvgElement.mouseOverEvent*/get mouseOverEvent() { + return C[266] || CT.C266; + }, + /*svg$.SvgElement.mouseUpEvent*/get mouseUpEvent() { + return C[267] || CT.C267; + }, + /*svg$.SvgElement.mouseWheelEvent*/get mouseWheelEvent() { + return C[342] || CT.C342; + }, + /*svg$.SvgElement.pauseEvent*/get pauseEvent() { + return C[269] || CT.C269; + }, + /*svg$.SvgElement.playEvent*/get playEvent() { + return C[270] || CT.C270; + }, + /*svg$.SvgElement.playingEvent*/get playingEvent() { + return C[271] || CT.C271; + }, + /*svg$.SvgElement.rateChangeEvent*/get rateChangeEvent() { + return C[272] || CT.C272; + }, + /*svg$.SvgElement.resetEvent*/get resetEvent() { + return C[273] || CT.C273; + }, + /*svg$.SvgElement.resizeEvent*/get resizeEvent() { + return C[274] || CT.C274; + }, + /*svg$.SvgElement.scrollEvent*/get scrollEvent() { + return C[275] || CT.C275; + }, + /*svg$.SvgElement.seekedEvent*/get seekedEvent() { + return C[277] || CT.C277; + }, + /*svg$.SvgElement.seekingEvent*/get seekingEvent() { + return C[278] || CT.C278; + }, + /*svg$.SvgElement.selectEvent*/get selectEvent() { + return C[279] || CT.C279; + }, + /*svg$.SvgElement.stalledEvent*/get stalledEvent() { + return C[281] || CT.C281; + }, + /*svg$.SvgElement.submitEvent*/get submitEvent() { + return C[282] || CT.C282; + }, + /*svg$.SvgElement.suspendEvent*/get suspendEvent() { + return C[283] || CT.C283; + }, + /*svg$.SvgElement.timeUpdateEvent*/get timeUpdateEvent() { + return C[284] || CT.C284; + }, + /*svg$.SvgElement.touchCancelEvent*/get touchCancelEvent() { + return C[285] || CT.C285; + }, + /*svg$.SvgElement.touchEndEvent*/get touchEndEvent() { + return C[286] || CT.C286; + }, + /*svg$.SvgElement.touchMoveEvent*/get touchMoveEvent() { + return C[289] || CT.C289; + }, + /*svg$.SvgElement.touchStartEvent*/get touchStartEvent() { + return C[290] || CT.C290; + }, + /*svg$.SvgElement.volumeChangeEvent*/get volumeChangeEvent() { + return C[291] || CT.C291; + }, + /*svg$.SvgElement.waitingEvent*/get waitingEvent() { + return C[292] || CT.C292; + }, + /*svg$.SvgElement.wheelEvent*/get wheelEvent() { + return C[295] || CT.C295; + } + }, false); + dart.registerExtension("SVGElement", svg$.SvgElement); + svg$.GraphicsElement = class GraphicsElement extends svg$.SvgElement { + get [S$3.$farthestViewportElement]() { + return this.farthestViewportElement; + } + get [S$3.$nearestViewportElement]() { + return this.nearestViewportElement; + } + get [S$.$transform]() { + return this.transform; + } + [S$3.$getBBox](...args) { + return this.getBBox.apply(this, args); + } + [S$3.$getCtm](...args) { + return this.getCTM.apply(this, args); + } + [S$3.$getScreenCtm](...args) { + return this.getScreenCTM.apply(this, args); + } + get [S$3.$requiredExtensions]() { + return this.requiredExtensions; + } + get [S$3.$systemLanguage]() { + return this.systemLanguage; + } + }; + (svg$.GraphicsElement.created = function() { + svg$.GraphicsElement.__proto__.created.call(this); + ; + }).prototype = svg$.GraphicsElement.prototype; + dart.addTypeTests(svg$.GraphicsElement); + dart.addTypeCaches(svg$.GraphicsElement); + svg$.GraphicsElement[dart.implements] = () => [svg$.Tests]; + dart.setMethodSignature(svg$.GraphicsElement, () => ({ + __proto__: dart.getMethods(svg$.GraphicsElement.__proto__), + [S$3.$getBBox]: dart.fnType(svg$.Rect, []), + [S$3.$getCtm]: dart.fnType(svg$.Matrix, []), + [S$3.$getScreenCtm]: dart.fnType(svg$.Matrix, []) + })); + dart.setGetterSignature(svg$.GraphicsElement, () => ({ + __proto__: dart.getGetters(svg$.GraphicsElement.__proto__), + [S$3.$farthestViewportElement]: dart.nullable(svg$.SvgElement), + [S$3.$nearestViewportElement]: dart.nullable(svg$.SvgElement), + [S$.$transform]: dart.nullable(svg$.AnimatedTransformList), + [S$3.$requiredExtensions]: dart.nullable(svg$.StringList), + [S$3.$systemLanguage]: dart.nullable(svg$.StringList) + })); + dart.setLibraryUri(svg$.GraphicsElement, I[157]); + dart.registerExtension("SVGGraphicsElement", svg$.GraphicsElement); + svg$.AElement = class AElement extends svg$.GraphicsElement { + static new() { + return svg$.AElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("a")); + } + get [S.$target]() { + return this.target; + } + get [S$.$href]() { + return this.href; + } + }; + (svg$.AElement.created = function() { + svg$.AElement.__proto__.created.call(this); + ; + }).prototype = svg$.AElement.prototype; + dart.addTypeTests(svg$.AElement); + dart.addTypeCaches(svg$.AElement); + svg$.AElement[dart.implements] = () => [svg$.UriReference]; + dart.setGetterSignature(svg$.AElement, () => ({ + __proto__: dart.getGetters(svg$.AElement.__proto__), + [S.$target]: svg$.AnimatedString, + [S$.$href]: dart.nullable(svg$.AnimatedString) + })); + dart.setLibraryUri(svg$.AElement, I[157]); + dart.registerExtension("SVGAElement", svg$.AElement); + svg$.Angle = class Angle extends _interceptors.Interceptor { + get [S$3.$unitType]() { + return this.unitType; + } + get [S.$value]() { + return this.value; + } + set [S.$value](value) { + this.value = value; + } + get [S$3.$valueAsString]() { + return this.valueAsString; + } + set [S$3.$valueAsString](value) { + this.valueAsString = value; + } + get [S$3.$valueInSpecifiedUnits]() { + return this.valueInSpecifiedUnits; + } + set [S$3.$valueInSpecifiedUnits](value) { + this.valueInSpecifiedUnits = value; + } + [S$3.$convertToSpecifiedUnits](...args) { + return this.convertToSpecifiedUnits.apply(this, args); + } + [S$3.$newValueSpecifiedUnits](...args) { + return this.newValueSpecifiedUnits.apply(this, args); + } + }; + dart.addTypeTests(svg$.Angle); + dart.addTypeCaches(svg$.Angle); + dart.setMethodSignature(svg$.Angle, () => ({ + __proto__: dart.getMethods(svg$.Angle.__proto__), + [S$3.$convertToSpecifiedUnits]: dart.fnType(dart.void, [core.int]), + [S$3.$newValueSpecifiedUnits]: dart.fnType(dart.void, [core.int, core.num]) + })); + dart.setGetterSignature(svg$.Angle, () => ({ + __proto__: dart.getGetters(svg$.Angle.__proto__), + [S$3.$unitType]: dart.nullable(core.int), + [S.$value]: dart.nullable(core.num), + [S$3.$valueAsString]: dart.nullable(core.String), + [S$3.$valueInSpecifiedUnits]: dart.nullable(core.num) + })); + dart.setSetterSignature(svg$.Angle, () => ({ + __proto__: dart.getSetters(svg$.Angle.__proto__), + [S.$value]: dart.nullable(core.num), + [S$3.$valueAsString]: dart.nullable(core.String), + [S$3.$valueInSpecifiedUnits]: dart.nullable(core.num) + })); + dart.setLibraryUri(svg$.Angle, I[157]); + dart.defineLazy(svg$.Angle, { + /*svg$.Angle.SVG_ANGLETYPE_DEG*/get SVG_ANGLETYPE_DEG() { + return 2; + }, + /*svg$.Angle.SVG_ANGLETYPE_GRAD*/get SVG_ANGLETYPE_GRAD() { + return 4; + }, + /*svg$.Angle.SVG_ANGLETYPE_RAD*/get SVG_ANGLETYPE_RAD() { + return 3; + }, + /*svg$.Angle.SVG_ANGLETYPE_UNKNOWN*/get SVG_ANGLETYPE_UNKNOWN() { + return 0; + }, + /*svg$.Angle.SVG_ANGLETYPE_UNSPECIFIED*/get SVG_ANGLETYPE_UNSPECIFIED() { + return 1; + } + }, false); + dart.registerExtension("SVGAngle", svg$.Angle); + svg$.AnimationElement = class AnimationElement extends svg$.SvgElement { + static new() { + return svg$.AnimationElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("animation")); + } + get [S$3.$targetElement]() { + return this.targetElement; + } + [S$3.$beginElement](...args) { + return this.beginElement.apply(this, args); + } + [S$3.$beginElementAt](...args) { + return this.beginElementAt.apply(this, args); + } + [S$3.$endElement](...args) { + return this.endElement.apply(this, args); + } + [S$3.$endElementAt](...args) { + return this.endElementAt.apply(this, args); + } + [S$3.$getCurrentTime](...args) { + return this.getCurrentTime.apply(this, args); + } + [S$3.$getSimpleDuration](...args) { + return this.getSimpleDuration.apply(this, args); + } + [S$3.$getStartTime](...args) { + return this.getStartTime.apply(this, args); + } + get [S$3.$requiredExtensions]() { + return this.requiredExtensions; + } + get [S$3.$systemLanguage]() { + return this.systemLanguage; + } + }; + (svg$.AnimationElement.created = function() { + svg$.AnimationElement.__proto__.created.call(this); + ; + }).prototype = svg$.AnimationElement.prototype; + dart.addTypeTests(svg$.AnimationElement); + dart.addTypeCaches(svg$.AnimationElement); + svg$.AnimationElement[dart.implements] = () => [svg$.Tests]; + dart.setMethodSignature(svg$.AnimationElement, () => ({ + __proto__: dart.getMethods(svg$.AnimationElement.__proto__), + [S$3.$beginElement]: dart.fnType(dart.void, []), + [S$3.$beginElementAt]: dart.fnType(dart.void, [core.num]), + [S$3.$endElement]: dart.fnType(dart.void, []), + [S$3.$endElementAt]: dart.fnType(dart.void, [core.num]), + [S$3.$getCurrentTime]: dart.fnType(core.double, []), + [S$3.$getSimpleDuration]: dart.fnType(core.double, []), + [S$3.$getStartTime]: dart.fnType(core.double, []) + })); + dart.setGetterSignature(svg$.AnimationElement, () => ({ + __proto__: dart.getGetters(svg$.AnimationElement.__proto__), + [S$3.$targetElement]: dart.nullable(svg$.SvgElement), + [S$3.$requiredExtensions]: dart.nullable(svg$.StringList), + [S$3.$systemLanguage]: dart.nullable(svg$.StringList) + })); + dart.setLibraryUri(svg$.AnimationElement, I[157]); + dart.registerExtension("SVGAnimationElement", svg$.AnimationElement); + svg$.AnimateElement = class AnimateElement extends svg$.AnimationElement { + static new() { + return svg$.AnimateElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("animate")); + } + static get supported() { + return dart.test(svg$.SvgElement.isTagSupported("animate")) && svg$.AnimateElement.is(svg$.SvgElement.tag("animate")); + } + }; + (svg$.AnimateElement.created = function() { + svg$.AnimateElement.__proto__.created.call(this); + ; + }).prototype = svg$.AnimateElement.prototype; + dart.addTypeTests(svg$.AnimateElement); + dart.addTypeCaches(svg$.AnimateElement); + dart.setLibraryUri(svg$.AnimateElement, I[157]); + dart.registerExtension("SVGAnimateElement", svg$.AnimateElement); + svg$.AnimateMotionElement = class AnimateMotionElement extends svg$.AnimationElement { + static new() { + return svg$.AnimateMotionElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("animateMotion")); + } + static get supported() { + return dart.test(svg$.SvgElement.isTagSupported("animateMotion")) && svg$.AnimateMotionElement.is(svg$.SvgElement.tag("animateMotion")); + } + }; + (svg$.AnimateMotionElement.created = function() { + svg$.AnimateMotionElement.__proto__.created.call(this); + ; + }).prototype = svg$.AnimateMotionElement.prototype; + dart.addTypeTests(svg$.AnimateMotionElement); + dart.addTypeCaches(svg$.AnimateMotionElement); + dart.setLibraryUri(svg$.AnimateMotionElement, I[157]); + dart.registerExtension("SVGAnimateMotionElement", svg$.AnimateMotionElement); + svg$.AnimateTransformElement = class AnimateTransformElement extends svg$.AnimationElement { + static new() { + return svg$.AnimateTransformElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("animateTransform")); + } + static get supported() { + return dart.test(svg$.SvgElement.isTagSupported("animateTransform")) && svg$.AnimateTransformElement.is(svg$.SvgElement.tag("animateTransform")); + } + }; + (svg$.AnimateTransformElement.created = function() { + svg$.AnimateTransformElement.__proto__.created.call(this); + ; + }).prototype = svg$.AnimateTransformElement.prototype; + dart.addTypeTests(svg$.AnimateTransformElement); + dart.addTypeCaches(svg$.AnimateTransformElement); + dart.setLibraryUri(svg$.AnimateTransformElement, I[157]); + dart.registerExtension("SVGAnimateTransformElement", svg$.AnimateTransformElement); + svg$.AnimatedAngle = class AnimatedAngle extends _interceptors.Interceptor { + get [S$3.$animVal]() { + return this.animVal; + } + get [S$3.$baseVal]() { + return this.baseVal; + } + }; + dart.addTypeTests(svg$.AnimatedAngle); + dart.addTypeCaches(svg$.AnimatedAngle); + dart.setGetterSignature(svg$.AnimatedAngle, () => ({ + __proto__: dart.getGetters(svg$.AnimatedAngle.__proto__), + [S$3.$animVal]: dart.nullable(svg$.Angle), + [S$3.$baseVal]: dart.nullable(svg$.Angle) + })); + dart.setLibraryUri(svg$.AnimatedAngle, I[157]); + dart.registerExtension("SVGAnimatedAngle", svg$.AnimatedAngle); + svg$.AnimatedBoolean = class AnimatedBoolean extends _interceptors.Interceptor { + get [S$3.$animVal]() { + return this.animVal; + } + get [S$3.$baseVal]() { + return this.baseVal; + } + set [S$3.$baseVal](value) { + this.baseVal = value; + } + }; + dart.addTypeTests(svg$.AnimatedBoolean); + dart.addTypeCaches(svg$.AnimatedBoolean); + dart.setGetterSignature(svg$.AnimatedBoolean, () => ({ + __proto__: dart.getGetters(svg$.AnimatedBoolean.__proto__), + [S$3.$animVal]: dart.nullable(core.bool), + [S$3.$baseVal]: dart.nullable(core.bool) + })); + dart.setSetterSignature(svg$.AnimatedBoolean, () => ({ + __proto__: dart.getSetters(svg$.AnimatedBoolean.__proto__), + [S$3.$baseVal]: dart.nullable(core.bool) + })); + dart.setLibraryUri(svg$.AnimatedBoolean, I[157]); + dart.registerExtension("SVGAnimatedBoolean", svg$.AnimatedBoolean); + svg$.AnimatedEnumeration = class AnimatedEnumeration extends _interceptors.Interceptor { + get [S$3.$animVal]() { + return this.animVal; + } + get [S$3.$baseVal]() { + return this.baseVal; + } + set [S$3.$baseVal](value) { + this.baseVal = value; + } + }; + dart.addTypeTests(svg$.AnimatedEnumeration); + dart.addTypeCaches(svg$.AnimatedEnumeration); + dart.setGetterSignature(svg$.AnimatedEnumeration, () => ({ + __proto__: dart.getGetters(svg$.AnimatedEnumeration.__proto__), + [S$3.$animVal]: dart.nullable(core.int), + [S$3.$baseVal]: dart.nullable(core.int) + })); + dart.setSetterSignature(svg$.AnimatedEnumeration, () => ({ + __proto__: dart.getSetters(svg$.AnimatedEnumeration.__proto__), + [S$3.$baseVal]: dart.nullable(core.int) + })); + dart.setLibraryUri(svg$.AnimatedEnumeration, I[157]); + dart.registerExtension("SVGAnimatedEnumeration", svg$.AnimatedEnumeration); + svg$.AnimatedInteger = class AnimatedInteger extends _interceptors.Interceptor { + get [S$3.$animVal]() { + return this.animVal; + } + get [S$3.$baseVal]() { + return this.baseVal; + } + set [S$3.$baseVal](value) { + this.baseVal = value; + } + }; + dart.addTypeTests(svg$.AnimatedInteger); + dart.addTypeCaches(svg$.AnimatedInteger); + dart.setGetterSignature(svg$.AnimatedInteger, () => ({ + __proto__: dart.getGetters(svg$.AnimatedInteger.__proto__), + [S$3.$animVal]: dart.nullable(core.int), + [S$3.$baseVal]: dart.nullable(core.int) + })); + dart.setSetterSignature(svg$.AnimatedInteger, () => ({ + __proto__: dart.getSetters(svg$.AnimatedInteger.__proto__), + [S$3.$baseVal]: dart.nullable(core.int) + })); + dart.setLibraryUri(svg$.AnimatedInteger, I[157]); + dart.registerExtension("SVGAnimatedInteger", svg$.AnimatedInteger); + svg$.AnimatedLength = class AnimatedLength extends _interceptors.Interceptor { + get [S$3.$animVal]() { + return this.animVal; + } + get [S$3.$baseVal]() { + return this.baseVal; + } + }; + dart.addTypeTests(svg$.AnimatedLength); + dart.addTypeCaches(svg$.AnimatedLength); + dart.setGetterSignature(svg$.AnimatedLength, () => ({ + __proto__: dart.getGetters(svg$.AnimatedLength.__proto__), + [S$3.$animVal]: dart.nullable(svg$.Length), + [S$3.$baseVal]: dart.nullable(svg$.Length) + })); + dart.setLibraryUri(svg$.AnimatedLength, I[157]); + dart.registerExtension("SVGAnimatedLength", svg$.AnimatedLength); + svg$.AnimatedLengthList = class AnimatedLengthList extends _interceptors.Interceptor { + get [S$3.$animVal]() { + return this.animVal; + } + get [S$3.$baseVal]() { + return this.baseVal; + } + }; + dart.addTypeTests(svg$.AnimatedLengthList); + dart.addTypeCaches(svg$.AnimatedLengthList); + dart.setGetterSignature(svg$.AnimatedLengthList, () => ({ + __proto__: dart.getGetters(svg$.AnimatedLengthList.__proto__), + [S$3.$animVal]: dart.nullable(svg$.LengthList), + [S$3.$baseVal]: dart.nullable(svg$.LengthList) + })); + dart.setLibraryUri(svg$.AnimatedLengthList, I[157]); + dart.registerExtension("SVGAnimatedLengthList", svg$.AnimatedLengthList); + svg$.AnimatedNumber = class AnimatedNumber extends _interceptors.Interceptor { + get [S$3.$animVal]() { + return this.animVal; + } + get [S$3.$baseVal]() { + return this.baseVal; + } + set [S$3.$baseVal](value) { + this.baseVal = value; + } + }; + dart.addTypeTests(svg$.AnimatedNumber); + dart.addTypeCaches(svg$.AnimatedNumber); + dart.setGetterSignature(svg$.AnimatedNumber, () => ({ + __proto__: dart.getGetters(svg$.AnimatedNumber.__proto__), + [S$3.$animVal]: dart.nullable(core.num), + [S$3.$baseVal]: dart.nullable(core.num) + })); + dart.setSetterSignature(svg$.AnimatedNumber, () => ({ + __proto__: dart.getSetters(svg$.AnimatedNumber.__proto__), + [S$3.$baseVal]: dart.nullable(core.num) + })); + dart.setLibraryUri(svg$.AnimatedNumber, I[157]); + dart.registerExtension("SVGAnimatedNumber", svg$.AnimatedNumber); + svg$.AnimatedNumberList = class AnimatedNumberList extends _interceptors.Interceptor { + get [S$3.$animVal]() { + return this.animVal; + } + get [S$3.$baseVal]() { + return this.baseVal; + } + }; + dart.addTypeTests(svg$.AnimatedNumberList); + dart.addTypeCaches(svg$.AnimatedNumberList); + dart.setGetterSignature(svg$.AnimatedNumberList, () => ({ + __proto__: dart.getGetters(svg$.AnimatedNumberList.__proto__), + [S$3.$animVal]: dart.nullable(svg$.NumberList), + [S$3.$baseVal]: dart.nullable(svg$.NumberList) + })); + dart.setLibraryUri(svg$.AnimatedNumberList, I[157]); + dart.registerExtension("SVGAnimatedNumberList", svg$.AnimatedNumberList); + svg$.AnimatedPreserveAspectRatio = class AnimatedPreserveAspectRatio extends _interceptors.Interceptor { + get [S$3.$animVal]() { + return this.animVal; + } + get [S$3.$baseVal]() { + return this.baseVal; + } + }; + dart.addTypeTests(svg$.AnimatedPreserveAspectRatio); + dart.addTypeCaches(svg$.AnimatedPreserveAspectRatio); + dart.setGetterSignature(svg$.AnimatedPreserveAspectRatio, () => ({ + __proto__: dart.getGetters(svg$.AnimatedPreserveAspectRatio.__proto__), + [S$3.$animVal]: dart.nullable(svg$.PreserveAspectRatio), + [S$3.$baseVal]: dart.nullable(svg$.PreserveAspectRatio) + })); + dart.setLibraryUri(svg$.AnimatedPreserveAspectRatio, I[157]); + dart.registerExtension("SVGAnimatedPreserveAspectRatio", svg$.AnimatedPreserveAspectRatio); + svg$.AnimatedRect = class AnimatedRect extends _interceptors.Interceptor { + get [S$3.$animVal]() { + return this.animVal; + } + get [S$3.$baseVal]() { + return this.baseVal; + } + }; + dart.addTypeTests(svg$.AnimatedRect); + dart.addTypeCaches(svg$.AnimatedRect); + dart.setGetterSignature(svg$.AnimatedRect, () => ({ + __proto__: dart.getGetters(svg$.AnimatedRect.__proto__), + [S$3.$animVal]: dart.nullable(svg$.Rect), + [S$3.$baseVal]: dart.nullable(svg$.Rect) + })); + dart.setLibraryUri(svg$.AnimatedRect, I[157]); + dart.registerExtension("SVGAnimatedRect", svg$.AnimatedRect); + svg$.AnimatedString = class AnimatedString extends _interceptors.Interceptor { + get [S$3.$animVal]() { + return this.animVal; + } + get [S$3.$baseVal]() { + return this.baseVal; + } + set [S$3.$baseVal](value) { + this.baseVal = value; + } + }; + dart.addTypeTests(svg$.AnimatedString); + dart.addTypeCaches(svg$.AnimatedString); + dart.setGetterSignature(svg$.AnimatedString, () => ({ + __proto__: dart.getGetters(svg$.AnimatedString.__proto__), + [S$3.$animVal]: dart.nullable(core.String), + [S$3.$baseVal]: dart.nullable(core.String) + })); + dart.setSetterSignature(svg$.AnimatedString, () => ({ + __proto__: dart.getSetters(svg$.AnimatedString.__proto__), + [S$3.$baseVal]: dart.nullable(core.String) + })); + dart.setLibraryUri(svg$.AnimatedString, I[157]); + dart.registerExtension("SVGAnimatedString", svg$.AnimatedString); + svg$.AnimatedTransformList = class AnimatedTransformList extends _interceptors.Interceptor { + get [S$3.$animVal]() { + return this.animVal; + } + get [S$3.$baseVal]() { + return this.baseVal; + } + }; + dart.addTypeTests(svg$.AnimatedTransformList); + dart.addTypeCaches(svg$.AnimatedTransformList); + dart.setGetterSignature(svg$.AnimatedTransformList, () => ({ + __proto__: dart.getGetters(svg$.AnimatedTransformList.__proto__), + [S$3.$animVal]: dart.nullable(svg$.TransformList), + [S$3.$baseVal]: dart.nullable(svg$.TransformList) + })); + dart.setLibraryUri(svg$.AnimatedTransformList, I[157]); + dart.registerExtension("SVGAnimatedTransformList", svg$.AnimatedTransformList); + svg$.GeometryElement = class GeometryElement extends svg$.GraphicsElement { + get [S$3.$pathLength]() { + return this.pathLength; + } + [S$3.$getPointAtLength](...args) { + return this.getPointAtLength.apply(this, args); + } + [S$3.$getTotalLength](...args) { + return this.getTotalLength.apply(this, args); + } + [S$3.$isPointInFill](...args) { + return this.isPointInFill.apply(this, args); + } + [S$.$isPointInStroke](...args) { + return this.isPointInStroke.apply(this, args); + } + }; + (svg$.GeometryElement.created = function() { + svg$.GeometryElement.__proto__.created.call(this); + ; + }).prototype = svg$.GeometryElement.prototype; + dart.addTypeTests(svg$.GeometryElement); + dart.addTypeCaches(svg$.GeometryElement); + dart.setMethodSignature(svg$.GeometryElement, () => ({ + __proto__: dart.getMethods(svg$.GeometryElement.__proto__), + [S$3.$getPointAtLength]: dart.fnType(svg$.Point, [core.num]), + [S$3.$getTotalLength]: dart.fnType(core.double, []), + [S$3.$isPointInFill]: dart.fnType(core.bool, [svg$.Point]), + [S$.$isPointInStroke]: dart.fnType(core.bool, [svg$.Point]) + })); + dart.setGetterSignature(svg$.GeometryElement, () => ({ + __proto__: dart.getGetters(svg$.GeometryElement.__proto__), + [S$3.$pathLength]: dart.nullable(svg$.AnimatedNumber) + })); + dart.setLibraryUri(svg$.GeometryElement, I[157]); + dart.registerExtension("SVGGeometryElement", svg$.GeometryElement); + svg$.CircleElement = class CircleElement extends svg$.GeometryElement { + static new() { + return svg$.CircleElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("circle")); + } + get [S$3.$cx]() { + return this.cx; + } + get [S$3.$cy]() { + return this.cy; + } + get [S$3.$r]() { + return this.r; + } + }; + (svg$.CircleElement.created = function() { + svg$.CircleElement.__proto__.created.call(this); + ; + }).prototype = svg$.CircleElement.prototype; + dart.addTypeTests(svg$.CircleElement); + dart.addTypeCaches(svg$.CircleElement); + dart.setGetterSignature(svg$.CircleElement, () => ({ + __proto__: dart.getGetters(svg$.CircleElement.__proto__), + [S$3.$cx]: dart.nullable(svg$.AnimatedLength), + [S$3.$cy]: dart.nullable(svg$.AnimatedLength), + [S$3.$r]: dart.nullable(svg$.AnimatedLength) + })); + dart.setLibraryUri(svg$.CircleElement, I[157]); + dart.registerExtension("SVGCircleElement", svg$.CircleElement); + svg$.ClipPathElement = class ClipPathElement extends svg$.GraphicsElement { + static new() { + return svg$.ClipPathElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("clipPath")); + } + get [S$3.$clipPathUnits]() { + return this.clipPathUnits; + } + }; + (svg$.ClipPathElement.created = function() { + svg$.ClipPathElement.__proto__.created.call(this); + ; + }).prototype = svg$.ClipPathElement.prototype; + dart.addTypeTests(svg$.ClipPathElement); + dart.addTypeCaches(svg$.ClipPathElement); + dart.setGetterSignature(svg$.ClipPathElement, () => ({ + __proto__: dart.getGetters(svg$.ClipPathElement.__proto__), + [S$3.$clipPathUnits]: dart.nullable(svg$.AnimatedEnumeration) + })); + dart.setLibraryUri(svg$.ClipPathElement, I[157]); + dart.registerExtension("SVGClipPathElement", svg$.ClipPathElement); + svg$.DefsElement = class DefsElement extends svg$.GraphicsElement { + static new() { + return svg$.DefsElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("defs")); + } + }; + (svg$.DefsElement.created = function() { + svg$.DefsElement.__proto__.created.call(this); + ; + }).prototype = svg$.DefsElement.prototype; + dart.addTypeTests(svg$.DefsElement); + dart.addTypeCaches(svg$.DefsElement); + dart.setLibraryUri(svg$.DefsElement, I[157]); + dart.registerExtension("SVGDefsElement", svg$.DefsElement); + svg$.DescElement = class DescElement extends svg$.SvgElement { + static new() { + return svg$.DescElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("desc")); + } + }; + (svg$.DescElement.created = function() { + svg$.DescElement.__proto__.created.call(this); + ; + }).prototype = svg$.DescElement.prototype; + dart.addTypeTests(svg$.DescElement); + dart.addTypeCaches(svg$.DescElement); + dart.setLibraryUri(svg$.DescElement, I[157]); + dart.registerExtension("SVGDescElement", svg$.DescElement); + svg$.DiscardElement = class DiscardElement extends svg$.SvgElement {}; + (svg$.DiscardElement.created = function() { + svg$.DiscardElement.__proto__.created.call(this); + ; + }).prototype = svg$.DiscardElement.prototype; + dart.addTypeTests(svg$.DiscardElement); + dart.addTypeCaches(svg$.DiscardElement); + dart.setLibraryUri(svg$.DiscardElement, I[157]); + dart.registerExtension("SVGDiscardElement", svg$.DiscardElement); + svg$.EllipseElement = class EllipseElement extends svg$.GeometryElement { + static new() { + return svg$.EllipseElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("ellipse")); + } + get [S$3.$cx]() { + return this.cx; + } + get [S$3.$cy]() { + return this.cy; + } + get [S$3.$rx]() { + return this.rx; + } + get [S$3.$ry]() { + return this.ry; + } + }; + (svg$.EllipseElement.created = function() { + svg$.EllipseElement.__proto__.created.call(this); + ; + }).prototype = svg$.EllipseElement.prototype; + dart.addTypeTests(svg$.EllipseElement); + dart.addTypeCaches(svg$.EllipseElement); + dart.setGetterSignature(svg$.EllipseElement, () => ({ + __proto__: dart.getGetters(svg$.EllipseElement.__proto__), + [S$3.$cx]: dart.nullable(svg$.AnimatedLength), + [S$3.$cy]: dart.nullable(svg$.AnimatedLength), + [S$3.$rx]: dart.nullable(svg$.AnimatedLength), + [S$3.$ry]: dart.nullable(svg$.AnimatedLength) + })); + dart.setLibraryUri(svg$.EllipseElement, I[157]); + dart.registerExtension("SVGEllipseElement", svg$.EllipseElement); + svg$.FEBlendElement = class FEBlendElement extends svg$.SvgElement { + static new() { + return svg$.FEBlendElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("feBlend")); + } + static get supported() { + return dart.test(svg$.SvgElement.isTagSupported("feBlend")) && svg$.FEBlendElement.is(svg$.SvgElement.tag("feBlend")); + } + get [S$3.$in1]() { + return this.in1; + } + get [S$3.$in2]() { + return this.in2; + } + get [S.$mode]() { + return this.mode; + } + get [$height]() { + return this.height; + } + get [S.$result]() { + return this.result; + } + get [$width]() { + return this.width; + } + get [S$.$x]() { + return this.x; + } + get [S$.$y]() { + return this.y; + } + }; + (svg$.FEBlendElement.created = function() { + svg$.FEBlendElement.__proto__.created.call(this); + ; + }).prototype = svg$.FEBlendElement.prototype; + dart.addTypeTests(svg$.FEBlendElement); + dart.addTypeCaches(svg$.FEBlendElement); + svg$.FEBlendElement[dart.implements] = () => [svg$.FilterPrimitiveStandardAttributes]; + dart.setGetterSignature(svg$.FEBlendElement, () => ({ + __proto__: dart.getGetters(svg$.FEBlendElement.__proto__), + [S$3.$in1]: dart.nullable(svg$.AnimatedString), + [S$3.$in2]: dart.nullable(svg$.AnimatedString), + [S.$mode]: dart.nullable(svg$.AnimatedEnumeration), + [$height]: dart.nullable(svg$.AnimatedLength), + [S.$result]: dart.nullable(svg$.AnimatedString), + [$width]: dart.nullable(svg$.AnimatedLength), + [S$.$x]: dart.nullable(svg$.AnimatedLength), + [S$.$y]: dart.nullable(svg$.AnimatedLength) + })); + dart.setLibraryUri(svg$.FEBlendElement, I[157]); + dart.defineLazy(svg$.FEBlendElement, { + /*svg$.FEBlendElement.SVG_FEBLEND_MODE_DARKEN*/get SVG_FEBLEND_MODE_DARKEN() { + return 4; + }, + /*svg$.FEBlendElement.SVG_FEBLEND_MODE_LIGHTEN*/get SVG_FEBLEND_MODE_LIGHTEN() { + return 5; + }, + /*svg$.FEBlendElement.SVG_FEBLEND_MODE_MULTIPLY*/get SVG_FEBLEND_MODE_MULTIPLY() { + return 2; + }, + /*svg$.FEBlendElement.SVG_FEBLEND_MODE_NORMAL*/get SVG_FEBLEND_MODE_NORMAL() { + return 1; + }, + /*svg$.FEBlendElement.SVG_FEBLEND_MODE_SCREEN*/get SVG_FEBLEND_MODE_SCREEN() { + return 3; + }, + /*svg$.FEBlendElement.SVG_FEBLEND_MODE_UNKNOWN*/get SVG_FEBLEND_MODE_UNKNOWN() { + return 0; + } + }, false); + dart.registerExtension("SVGFEBlendElement", svg$.FEBlendElement); + svg$.FEColorMatrixElement = class FEColorMatrixElement extends svg$.SvgElement { + static new() { + return svg$.FEColorMatrixElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("feColorMatrix")); + } + static get supported() { + return dart.test(svg$.SvgElement.isTagSupported("feColorMatrix")) && svg$.FEColorMatrixElement.is(svg$.SvgElement.tag("feColorMatrix")); + } + get [S$3.$in1]() { + return this.in1; + } + get [S.$type]() { + return this.type; + } + get [$values]() { + return this.values; + } + get [$height]() { + return this.height; + } + get [S.$result]() { + return this.result; + } + get [$width]() { + return this.width; + } + get [S$.$x]() { + return this.x; + } + get [S$.$y]() { + return this.y; + } + }; + (svg$.FEColorMatrixElement.created = function() { + svg$.FEColorMatrixElement.__proto__.created.call(this); + ; + }).prototype = svg$.FEColorMatrixElement.prototype; + dart.addTypeTests(svg$.FEColorMatrixElement); + dart.addTypeCaches(svg$.FEColorMatrixElement); + svg$.FEColorMatrixElement[dart.implements] = () => [svg$.FilterPrimitiveStandardAttributes]; + dart.setGetterSignature(svg$.FEColorMatrixElement, () => ({ + __proto__: dart.getGetters(svg$.FEColorMatrixElement.__proto__), + [S$3.$in1]: svg$.AnimatedString, + [S.$type]: dart.nullable(svg$.AnimatedEnumeration), + [$values]: dart.nullable(svg$.AnimatedNumberList), + [$height]: dart.nullable(svg$.AnimatedLength), + [S.$result]: dart.nullable(svg$.AnimatedString), + [$width]: dart.nullable(svg$.AnimatedLength), + [S$.$x]: dart.nullable(svg$.AnimatedLength), + [S$.$y]: dart.nullable(svg$.AnimatedLength) + })); + dart.setLibraryUri(svg$.FEColorMatrixElement, I[157]); + dart.defineLazy(svg$.FEColorMatrixElement, { + /*svg$.FEColorMatrixElement.SVG_FECOLORMATRIX_TYPE_HUEROTATE*/get SVG_FECOLORMATRIX_TYPE_HUEROTATE() { + return 3; + }, + /*svg$.FEColorMatrixElement.SVG_FECOLORMATRIX_TYPE_LUMINANCETOALPHA*/get SVG_FECOLORMATRIX_TYPE_LUMINANCETOALPHA() { + return 4; + }, + /*svg$.FEColorMatrixElement.SVG_FECOLORMATRIX_TYPE_MATRIX*/get SVG_FECOLORMATRIX_TYPE_MATRIX() { + return 1; + }, + /*svg$.FEColorMatrixElement.SVG_FECOLORMATRIX_TYPE_SATURATE*/get SVG_FECOLORMATRIX_TYPE_SATURATE() { + return 2; + }, + /*svg$.FEColorMatrixElement.SVG_FECOLORMATRIX_TYPE_UNKNOWN*/get SVG_FECOLORMATRIX_TYPE_UNKNOWN() { + return 0; + } + }, false); + dart.registerExtension("SVGFEColorMatrixElement", svg$.FEColorMatrixElement); + svg$.FEComponentTransferElement = class FEComponentTransferElement extends svg$.SvgElement { + static new() { + return svg$.FEComponentTransferElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("feComponentTransfer")); + } + static get supported() { + return dart.test(svg$.SvgElement.isTagSupported("feComponentTransfer")) && svg$.FEComponentTransferElement.is(svg$.SvgElement.tag("feComponentTransfer")); + } + get [S$3.$in1]() { + return this.in1; + } + get [$height]() { + return this.height; + } + get [S.$result]() { + return this.result; + } + get [$width]() { + return this.width; + } + get [S$.$x]() { + return this.x; + } + get [S$.$y]() { + return this.y; + } + }; + (svg$.FEComponentTransferElement.created = function() { + svg$.FEComponentTransferElement.__proto__.created.call(this); + ; + }).prototype = svg$.FEComponentTransferElement.prototype; + dart.addTypeTests(svg$.FEComponentTransferElement); + dart.addTypeCaches(svg$.FEComponentTransferElement); + svg$.FEComponentTransferElement[dart.implements] = () => [svg$.FilterPrimitiveStandardAttributes]; + dart.setGetterSignature(svg$.FEComponentTransferElement, () => ({ + __proto__: dart.getGetters(svg$.FEComponentTransferElement.__proto__), + [S$3.$in1]: dart.nullable(svg$.AnimatedString), + [$height]: dart.nullable(svg$.AnimatedLength), + [S.$result]: dart.nullable(svg$.AnimatedString), + [$width]: dart.nullable(svg$.AnimatedLength), + [S$.$x]: dart.nullable(svg$.AnimatedLength), + [S$.$y]: dart.nullable(svg$.AnimatedLength) + })); + dart.setLibraryUri(svg$.FEComponentTransferElement, I[157]); + dart.registerExtension("SVGFEComponentTransferElement", svg$.FEComponentTransferElement); + svg$.FECompositeElement = class FECompositeElement extends svg$.SvgElement { + get [S$3.$in1]() { + return this.in1; + } + get [S$3.$in2]() { + return this.in2; + } + get [S$3.$k1]() { + return this.k1; + } + get [S$3.$k2]() { + return this.k2; + } + get [S$3.$k3]() { + return this.k3; + } + get [S$3.$k4]() { + return this.k4; + } + get [S$3.$operator]() { + return this.operator; + } + get [$height]() { + return this.height; + } + get [S.$result]() { + return this.result; + } + get [$width]() { + return this.width; + } + get [S$.$x]() { + return this.x; + } + get [S$.$y]() { + return this.y; + } + }; + (svg$.FECompositeElement.created = function() { + svg$.FECompositeElement.__proto__.created.call(this); + ; + }).prototype = svg$.FECompositeElement.prototype; + dart.addTypeTests(svg$.FECompositeElement); + dart.addTypeCaches(svg$.FECompositeElement); + svg$.FECompositeElement[dart.implements] = () => [svg$.FilterPrimitiveStandardAttributes]; + dart.setGetterSignature(svg$.FECompositeElement, () => ({ + __proto__: dart.getGetters(svg$.FECompositeElement.__proto__), + [S$3.$in1]: dart.nullable(svg$.AnimatedString), + [S$3.$in2]: dart.nullable(svg$.AnimatedString), + [S$3.$k1]: dart.nullable(svg$.AnimatedNumber), + [S$3.$k2]: dart.nullable(svg$.AnimatedNumber), + [S$3.$k3]: dart.nullable(svg$.AnimatedNumber), + [S$3.$k4]: dart.nullable(svg$.AnimatedNumber), + [S$3.$operator]: dart.nullable(svg$.AnimatedEnumeration), + [$height]: dart.nullable(svg$.AnimatedLength), + [S.$result]: dart.nullable(svg$.AnimatedString), + [$width]: dart.nullable(svg$.AnimatedLength), + [S$.$x]: dart.nullable(svg$.AnimatedLength), + [S$.$y]: dart.nullable(svg$.AnimatedLength) + })); + dart.setLibraryUri(svg$.FECompositeElement, I[157]); + dart.defineLazy(svg$.FECompositeElement, { + /*svg$.FECompositeElement.SVG_FECOMPOSITE_OPERATOR_ARITHMETIC*/get SVG_FECOMPOSITE_OPERATOR_ARITHMETIC() { + return 6; + }, + /*svg$.FECompositeElement.SVG_FECOMPOSITE_OPERATOR_ATOP*/get SVG_FECOMPOSITE_OPERATOR_ATOP() { + return 4; + }, + /*svg$.FECompositeElement.SVG_FECOMPOSITE_OPERATOR_IN*/get SVG_FECOMPOSITE_OPERATOR_IN() { + return 2; + }, + /*svg$.FECompositeElement.SVG_FECOMPOSITE_OPERATOR_OUT*/get SVG_FECOMPOSITE_OPERATOR_OUT() { + return 3; + }, + /*svg$.FECompositeElement.SVG_FECOMPOSITE_OPERATOR_OVER*/get SVG_FECOMPOSITE_OPERATOR_OVER() { + return 1; + }, + /*svg$.FECompositeElement.SVG_FECOMPOSITE_OPERATOR_UNKNOWN*/get SVG_FECOMPOSITE_OPERATOR_UNKNOWN() { + return 0; + }, + /*svg$.FECompositeElement.SVG_FECOMPOSITE_OPERATOR_XOR*/get SVG_FECOMPOSITE_OPERATOR_XOR() { + return 5; + } + }, false); + dart.registerExtension("SVGFECompositeElement", svg$.FECompositeElement); + svg$.FEConvolveMatrixElement = class FEConvolveMatrixElement extends svg$.SvgElement { + static new() { + return svg$.FEConvolveMatrixElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("feConvolveMatrix")); + } + static get supported() { + return dart.test(svg$.SvgElement.isTagSupported("feConvolveMatrix")) && svg$.FEConvolveMatrixElement.is(svg$.SvgElement.tag("feConvolveMatrix")); + } + get [S$3.$bias]() { + return this.bias; + } + get [S$3.$divisor]() { + return this.divisor; + } + get [S$3.$edgeMode]() { + return this.edgeMode; + } + get [S$3.$in1]() { + return this.in1; + } + get [S$3.$kernelMatrix]() { + return this.kernelMatrix; + } + get [S$3.$kernelUnitLengthX]() { + return this.kernelUnitLengthX; + } + get [S$3.$kernelUnitLengthY]() { + return this.kernelUnitLengthY; + } + get [S$3.$orderX]() { + return this.orderX; + } + get [S$3.$orderY]() { + return this.orderY; + } + get [S$3.$preserveAlpha]() { + return this.preserveAlpha; + } + get [S$3.$targetX]() { + return this.targetX; + } + get [S$3.$targetY]() { + return this.targetY; + } + get [$height]() { + return this.height; + } + get [S.$result]() { + return this.result; + } + get [$width]() { + return this.width; + } + get [S$.$x]() { + return this.x; + } + get [S$.$y]() { + return this.y; + } + }; + (svg$.FEConvolveMatrixElement.created = function() { + svg$.FEConvolveMatrixElement.__proto__.created.call(this); + ; + }).prototype = svg$.FEConvolveMatrixElement.prototype; + dart.addTypeTests(svg$.FEConvolveMatrixElement); + dart.addTypeCaches(svg$.FEConvolveMatrixElement); + svg$.FEConvolveMatrixElement[dart.implements] = () => [svg$.FilterPrimitiveStandardAttributes]; + dart.setGetterSignature(svg$.FEConvolveMatrixElement, () => ({ + __proto__: dart.getGetters(svg$.FEConvolveMatrixElement.__proto__), + [S$3.$bias]: dart.nullable(svg$.AnimatedNumber), + [S$3.$divisor]: dart.nullable(svg$.AnimatedNumber), + [S$3.$edgeMode]: dart.nullable(svg$.AnimatedEnumeration), + [S$3.$in1]: dart.nullable(svg$.AnimatedString), + [S$3.$kernelMatrix]: dart.nullable(svg$.AnimatedNumberList), + [S$3.$kernelUnitLengthX]: dart.nullable(svg$.AnimatedNumber), + [S$3.$kernelUnitLengthY]: dart.nullable(svg$.AnimatedNumber), + [S$3.$orderX]: dart.nullable(svg$.AnimatedInteger), + [S$3.$orderY]: dart.nullable(svg$.AnimatedInteger), + [S$3.$preserveAlpha]: dart.nullable(svg$.AnimatedBoolean), + [S$3.$targetX]: dart.nullable(svg$.AnimatedInteger), + [S$3.$targetY]: dart.nullable(svg$.AnimatedInteger), + [$height]: dart.nullable(svg$.AnimatedLength), + [S.$result]: dart.nullable(svg$.AnimatedString), + [$width]: dart.nullable(svg$.AnimatedLength), + [S$.$x]: dart.nullable(svg$.AnimatedLength), + [S$.$y]: dart.nullable(svg$.AnimatedLength) + })); + dart.setLibraryUri(svg$.FEConvolveMatrixElement, I[157]); + dart.defineLazy(svg$.FEConvolveMatrixElement, { + /*svg$.FEConvolveMatrixElement.SVG_EDGEMODE_DUPLICATE*/get SVG_EDGEMODE_DUPLICATE() { + return 1; + }, + /*svg$.FEConvolveMatrixElement.SVG_EDGEMODE_NONE*/get SVG_EDGEMODE_NONE() { + return 3; + }, + /*svg$.FEConvolveMatrixElement.SVG_EDGEMODE_UNKNOWN*/get SVG_EDGEMODE_UNKNOWN() { + return 0; + }, + /*svg$.FEConvolveMatrixElement.SVG_EDGEMODE_WRAP*/get SVG_EDGEMODE_WRAP() { + return 2; + } + }, false); + dart.registerExtension("SVGFEConvolveMatrixElement", svg$.FEConvolveMatrixElement); + svg$.FEDiffuseLightingElement = class FEDiffuseLightingElement extends svg$.SvgElement { + static new() { + return svg$.FEDiffuseLightingElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("feDiffuseLighting")); + } + static get supported() { + return dart.test(svg$.SvgElement.isTagSupported("feDiffuseLighting")) && svg$.FEDiffuseLightingElement.is(svg$.SvgElement.tag("feDiffuseLighting")); + } + get [S$3.$diffuseConstant]() { + return this.diffuseConstant; + } + get [S$3.$in1]() { + return this.in1; + } + get [S$3.$kernelUnitLengthX]() { + return this.kernelUnitLengthX; + } + get [S$3.$kernelUnitLengthY]() { + return this.kernelUnitLengthY; + } + get [S$3.$surfaceScale]() { + return this.surfaceScale; + } + get [$height]() { + return this.height; + } + get [S.$result]() { + return this.result; + } + get [$width]() { + return this.width; + } + get [S$.$x]() { + return this.x; + } + get [S$.$y]() { + return this.y; + } + }; + (svg$.FEDiffuseLightingElement.created = function() { + svg$.FEDiffuseLightingElement.__proto__.created.call(this); + ; + }).prototype = svg$.FEDiffuseLightingElement.prototype; + dart.addTypeTests(svg$.FEDiffuseLightingElement); + dart.addTypeCaches(svg$.FEDiffuseLightingElement); + svg$.FEDiffuseLightingElement[dart.implements] = () => [svg$.FilterPrimitiveStandardAttributes]; + dart.setGetterSignature(svg$.FEDiffuseLightingElement, () => ({ + __proto__: dart.getGetters(svg$.FEDiffuseLightingElement.__proto__), + [S$3.$diffuseConstant]: dart.nullable(svg$.AnimatedNumber), + [S$3.$in1]: dart.nullable(svg$.AnimatedString), + [S$3.$kernelUnitLengthX]: dart.nullable(svg$.AnimatedNumber), + [S$3.$kernelUnitLengthY]: dart.nullable(svg$.AnimatedNumber), + [S$3.$surfaceScale]: dart.nullable(svg$.AnimatedNumber), + [$height]: dart.nullable(svg$.AnimatedLength), + [S.$result]: dart.nullable(svg$.AnimatedString), + [$width]: dart.nullable(svg$.AnimatedLength), + [S$.$x]: dart.nullable(svg$.AnimatedLength), + [S$.$y]: dart.nullable(svg$.AnimatedLength) + })); + dart.setLibraryUri(svg$.FEDiffuseLightingElement, I[157]); + dart.registerExtension("SVGFEDiffuseLightingElement", svg$.FEDiffuseLightingElement); + svg$.FEDisplacementMapElement = class FEDisplacementMapElement extends svg$.SvgElement { + static new() { + return svg$.FEDisplacementMapElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("feDisplacementMap")); + } + static get supported() { + return dart.test(svg$.SvgElement.isTagSupported("feDisplacementMap")) && svg$.FEDisplacementMapElement.is(svg$.SvgElement.tag("feDisplacementMap")); + } + get [S$3.$in1]() { + return this.in1; + } + get [S$3.$in2]() { + return this.in2; + } + get [S$.$scale]() { + return this.scale; + } + get [S$3.$xChannelSelector]() { + return this.xChannelSelector; + } + get [S$3.$yChannelSelector]() { + return this.yChannelSelector; + } + get [$height]() { + return this.height; + } + get [S.$result]() { + return this.result; + } + get [$width]() { + return this.width; + } + get [S$.$x]() { + return this.x; + } + get [S$.$y]() { + return this.y; + } + }; + (svg$.FEDisplacementMapElement.created = function() { + svg$.FEDisplacementMapElement.__proto__.created.call(this); + ; + }).prototype = svg$.FEDisplacementMapElement.prototype; + dart.addTypeTests(svg$.FEDisplacementMapElement); + dart.addTypeCaches(svg$.FEDisplacementMapElement); + svg$.FEDisplacementMapElement[dart.implements] = () => [svg$.FilterPrimitiveStandardAttributes]; + dart.setGetterSignature(svg$.FEDisplacementMapElement, () => ({ + __proto__: dart.getGetters(svg$.FEDisplacementMapElement.__proto__), + [S$3.$in1]: dart.nullable(svg$.AnimatedString), + [S$3.$in2]: dart.nullable(svg$.AnimatedString), + [S$.$scale]: dart.nullable(svg$.AnimatedNumber), + [S$3.$xChannelSelector]: dart.nullable(svg$.AnimatedEnumeration), + [S$3.$yChannelSelector]: dart.nullable(svg$.AnimatedEnumeration), + [$height]: dart.nullable(svg$.AnimatedLength), + [S.$result]: dart.nullable(svg$.AnimatedString), + [$width]: dart.nullable(svg$.AnimatedLength), + [S$.$x]: dart.nullable(svg$.AnimatedLength), + [S$.$y]: dart.nullable(svg$.AnimatedLength) + })); + dart.setLibraryUri(svg$.FEDisplacementMapElement, I[157]); + dart.defineLazy(svg$.FEDisplacementMapElement, { + /*svg$.FEDisplacementMapElement.SVG_CHANNEL_A*/get SVG_CHANNEL_A() { + return 4; + }, + /*svg$.FEDisplacementMapElement.SVG_CHANNEL_B*/get SVG_CHANNEL_B() { + return 3; + }, + /*svg$.FEDisplacementMapElement.SVG_CHANNEL_G*/get SVG_CHANNEL_G() { + return 2; + }, + /*svg$.FEDisplacementMapElement.SVG_CHANNEL_R*/get SVG_CHANNEL_R() { + return 1; + }, + /*svg$.FEDisplacementMapElement.SVG_CHANNEL_UNKNOWN*/get SVG_CHANNEL_UNKNOWN() { + return 0; + } + }, false); + dart.registerExtension("SVGFEDisplacementMapElement", svg$.FEDisplacementMapElement); + svg$.FEDistantLightElement = class FEDistantLightElement extends svg$.SvgElement { + static new() { + return svg$.FEDistantLightElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("feDistantLight")); + } + static get supported() { + return dart.test(svg$.SvgElement.isTagSupported("feDistantLight")) && svg$.FEDistantLightElement.is(svg$.SvgElement.tag("feDistantLight")); + } + get [S$3.$azimuth]() { + return this.azimuth; + } + get [S$3.$elevation]() { + return this.elevation; + } + }; + (svg$.FEDistantLightElement.created = function() { + svg$.FEDistantLightElement.__proto__.created.call(this); + ; + }).prototype = svg$.FEDistantLightElement.prototype; + dart.addTypeTests(svg$.FEDistantLightElement); + dart.addTypeCaches(svg$.FEDistantLightElement); + dart.setGetterSignature(svg$.FEDistantLightElement, () => ({ + __proto__: dart.getGetters(svg$.FEDistantLightElement.__proto__), + [S$3.$azimuth]: dart.nullable(svg$.AnimatedNumber), + [S$3.$elevation]: dart.nullable(svg$.AnimatedNumber) + })); + dart.setLibraryUri(svg$.FEDistantLightElement, I[157]); + dart.registerExtension("SVGFEDistantLightElement", svg$.FEDistantLightElement); + svg$.FEFloodElement = class FEFloodElement extends svg$.SvgElement { + static new() { + return svg$.FEFloodElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("feFlood")); + } + static get supported() { + return dart.test(svg$.SvgElement.isTagSupported("feFlood")) && svg$.FEFloodElement.is(svg$.SvgElement.tag("feFlood")); + } + get [$height]() { + return this.height; + } + get [S.$result]() { + return this.result; + } + get [$width]() { + return this.width; + } + get [S$.$x]() { + return this.x; + } + get [S$.$y]() { + return this.y; + } + }; + (svg$.FEFloodElement.created = function() { + svg$.FEFloodElement.__proto__.created.call(this); + ; + }).prototype = svg$.FEFloodElement.prototype; + dart.addTypeTests(svg$.FEFloodElement); + dart.addTypeCaches(svg$.FEFloodElement); + svg$.FEFloodElement[dart.implements] = () => [svg$.FilterPrimitiveStandardAttributes]; + dart.setGetterSignature(svg$.FEFloodElement, () => ({ + __proto__: dart.getGetters(svg$.FEFloodElement.__proto__), + [$height]: dart.nullable(svg$.AnimatedLength), + [S.$result]: dart.nullable(svg$.AnimatedString), + [$width]: dart.nullable(svg$.AnimatedLength), + [S$.$x]: dart.nullable(svg$.AnimatedLength), + [S$.$y]: dart.nullable(svg$.AnimatedLength) + })); + dart.setLibraryUri(svg$.FEFloodElement, I[157]); + dart.registerExtension("SVGFEFloodElement", svg$.FEFloodElement); + svg$._SVGComponentTransferFunctionElement = class _SVGComponentTransferFunctionElement extends svg$.SvgElement {}; + (svg$._SVGComponentTransferFunctionElement.created = function() { + svg$._SVGComponentTransferFunctionElement.__proto__.created.call(this); + ; + }).prototype = svg$._SVGComponentTransferFunctionElement.prototype; + dart.addTypeTests(svg$._SVGComponentTransferFunctionElement); + dart.addTypeCaches(svg$._SVGComponentTransferFunctionElement); + dart.setLibraryUri(svg$._SVGComponentTransferFunctionElement, I[157]); + dart.registerExtension("SVGComponentTransferFunctionElement", svg$._SVGComponentTransferFunctionElement); + svg$.FEFuncAElement = class FEFuncAElement extends svg$._SVGComponentTransferFunctionElement { + static new() { + return svg$.FEFuncAElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("feFuncA")); + } + static get supported() { + return dart.test(svg$.SvgElement.isTagSupported("feFuncA")) && svg$.FEFuncAElement.is(svg$.SvgElement.tag("feFuncA")); + } + }; + (svg$.FEFuncAElement.created = function() { + svg$.FEFuncAElement.__proto__.created.call(this); + ; + }).prototype = svg$.FEFuncAElement.prototype; + dart.addTypeTests(svg$.FEFuncAElement); + dart.addTypeCaches(svg$.FEFuncAElement); + dart.setLibraryUri(svg$.FEFuncAElement, I[157]); + dart.registerExtension("SVGFEFuncAElement", svg$.FEFuncAElement); + svg$.FEFuncBElement = class FEFuncBElement extends svg$._SVGComponentTransferFunctionElement { + static new() { + return svg$.FEFuncBElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("feFuncB")); + } + static get supported() { + return dart.test(svg$.SvgElement.isTagSupported("feFuncB")) && svg$.FEFuncBElement.is(svg$.SvgElement.tag("feFuncB")); + } + }; + (svg$.FEFuncBElement.created = function() { + svg$.FEFuncBElement.__proto__.created.call(this); + ; + }).prototype = svg$.FEFuncBElement.prototype; + dart.addTypeTests(svg$.FEFuncBElement); + dart.addTypeCaches(svg$.FEFuncBElement); + dart.setLibraryUri(svg$.FEFuncBElement, I[157]); + dart.registerExtension("SVGFEFuncBElement", svg$.FEFuncBElement); + svg$.FEFuncGElement = class FEFuncGElement extends svg$._SVGComponentTransferFunctionElement { + static new() { + return svg$.FEFuncGElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("feFuncG")); + } + static get supported() { + return dart.test(svg$.SvgElement.isTagSupported("feFuncG")) && svg$.FEFuncGElement.is(svg$.SvgElement.tag("feFuncG")); + } + }; + (svg$.FEFuncGElement.created = function() { + svg$.FEFuncGElement.__proto__.created.call(this); + ; + }).prototype = svg$.FEFuncGElement.prototype; + dart.addTypeTests(svg$.FEFuncGElement); + dart.addTypeCaches(svg$.FEFuncGElement); + dart.setLibraryUri(svg$.FEFuncGElement, I[157]); + dart.registerExtension("SVGFEFuncGElement", svg$.FEFuncGElement); + svg$.FEFuncRElement = class FEFuncRElement extends svg$._SVGComponentTransferFunctionElement { + static new() { + return svg$.FEFuncRElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("feFuncR")); + } + static get supported() { + return dart.test(svg$.SvgElement.isTagSupported("feFuncR")) && svg$.FEFuncRElement.is(svg$.SvgElement.tag("feFuncR")); + } + }; + (svg$.FEFuncRElement.created = function() { + svg$.FEFuncRElement.__proto__.created.call(this); + ; + }).prototype = svg$.FEFuncRElement.prototype; + dart.addTypeTests(svg$.FEFuncRElement); + dart.addTypeCaches(svg$.FEFuncRElement); + dart.setLibraryUri(svg$.FEFuncRElement, I[157]); + dart.registerExtension("SVGFEFuncRElement", svg$.FEFuncRElement); + svg$.FEGaussianBlurElement = class FEGaussianBlurElement extends svg$.SvgElement { + static new() { + return svg$.FEGaussianBlurElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("feGaussianBlur")); + } + static get supported() { + return dart.test(svg$.SvgElement.isTagSupported("feGaussianBlur")) && svg$.FEGaussianBlurElement.is(svg$.SvgElement.tag("feGaussianBlur")); + } + get [S$3.$in1]() { + return this.in1; + } + get [S$3.$stdDeviationX]() { + return this.stdDeviationX; + } + get [S$3.$stdDeviationY]() { + return this.stdDeviationY; + } + [S$3.$setStdDeviation](...args) { + return this.setStdDeviation.apply(this, args); + } + get [$height]() { + return this.height; + } + get [S.$result]() { + return this.result; + } + get [$width]() { + return this.width; + } + get [S$.$x]() { + return this.x; + } + get [S$.$y]() { + return this.y; + } + }; + (svg$.FEGaussianBlurElement.created = function() { + svg$.FEGaussianBlurElement.__proto__.created.call(this); + ; + }).prototype = svg$.FEGaussianBlurElement.prototype; + dart.addTypeTests(svg$.FEGaussianBlurElement); + dart.addTypeCaches(svg$.FEGaussianBlurElement); + svg$.FEGaussianBlurElement[dart.implements] = () => [svg$.FilterPrimitiveStandardAttributes]; + dart.setMethodSignature(svg$.FEGaussianBlurElement, () => ({ + __proto__: dart.getMethods(svg$.FEGaussianBlurElement.__proto__), + [S$3.$setStdDeviation]: dart.fnType(dart.void, [core.num, core.num]) + })); + dart.setGetterSignature(svg$.FEGaussianBlurElement, () => ({ + __proto__: dart.getGetters(svg$.FEGaussianBlurElement.__proto__), + [S$3.$in1]: dart.nullable(svg$.AnimatedString), + [S$3.$stdDeviationX]: dart.nullable(svg$.AnimatedNumber), + [S$3.$stdDeviationY]: dart.nullable(svg$.AnimatedNumber), + [$height]: dart.nullable(svg$.AnimatedLength), + [S.$result]: dart.nullable(svg$.AnimatedString), + [$width]: dart.nullable(svg$.AnimatedLength), + [S$.$x]: dart.nullable(svg$.AnimatedLength), + [S$.$y]: dart.nullable(svg$.AnimatedLength) + })); + dart.setLibraryUri(svg$.FEGaussianBlurElement, I[157]); + dart.registerExtension("SVGFEGaussianBlurElement", svg$.FEGaussianBlurElement); + svg$.FEImageElement = class FEImageElement extends svg$.SvgElement { + static new() { + return svg$.FEImageElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("feImage")); + } + static get supported() { + return dart.test(svg$.SvgElement.isTagSupported("feImage")) && svg$.FEImageElement.is(svg$.SvgElement.tag("feImage")); + } + get [S$3.$preserveAspectRatio]() { + return this.preserveAspectRatio; + } + get [$height]() { + return this.height; + } + get [S.$result]() { + return this.result; + } + get [$width]() { + return this.width; + } + get [S$.$x]() { + return this.x; + } + get [S$.$y]() { + return this.y; + } + get [S$.$href]() { + return this.href; + } + }; + (svg$.FEImageElement.created = function() { + svg$.FEImageElement.__proto__.created.call(this); + ; + }).prototype = svg$.FEImageElement.prototype; + dart.addTypeTests(svg$.FEImageElement); + dart.addTypeCaches(svg$.FEImageElement); + svg$.FEImageElement[dart.implements] = () => [svg$.FilterPrimitiveStandardAttributes, svg$.UriReference]; + dart.setGetterSignature(svg$.FEImageElement, () => ({ + __proto__: dart.getGetters(svg$.FEImageElement.__proto__), + [S$3.$preserveAspectRatio]: dart.nullable(svg$.AnimatedPreserveAspectRatio), + [$height]: dart.nullable(svg$.AnimatedLength), + [S.$result]: dart.nullable(svg$.AnimatedString), + [$width]: dart.nullable(svg$.AnimatedLength), + [S$.$x]: dart.nullable(svg$.AnimatedLength), + [S$.$y]: dart.nullable(svg$.AnimatedLength), + [S$.$href]: dart.nullable(svg$.AnimatedString) + })); + dart.setLibraryUri(svg$.FEImageElement, I[157]); + dart.registerExtension("SVGFEImageElement", svg$.FEImageElement); + svg$.FEMergeElement = class FEMergeElement extends svg$.SvgElement { + static new() { + return svg$.FEMergeElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("feMerge")); + } + static get supported() { + return dart.test(svg$.SvgElement.isTagSupported("feMerge")) && svg$.FEMergeElement.is(svg$.SvgElement.tag("feMerge")); + } + get [$height]() { + return this.height; + } + get [S.$result]() { + return this.result; + } + get [$width]() { + return this.width; + } + get [S$.$x]() { + return this.x; + } + get [S$.$y]() { + return this.y; + } + }; + (svg$.FEMergeElement.created = function() { + svg$.FEMergeElement.__proto__.created.call(this); + ; + }).prototype = svg$.FEMergeElement.prototype; + dart.addTypeTests(svg$.FEMergeElement); + dart.addTypeCaches(svg$.FEMergeElement); + svg$.FEMergeElement[dart.implements] = () => [svg$.FilterPrimitiveStandardAttributes]; + dart.setGetterSignature(svg$.FEMergeElement, () => ({ + __proto__: dart.getGetters(svg$.FEMergeElement.__proto__), + [$height]: dart.nullable(svg$.AnimatedLength), + [S.$result]: dart.nullable(svg$.AnimatedString), + [$width]: dart.nullable(svg$.AnimatedLength), + [S$.$x]: dart.nullable(svg$.AnimatedLength), + [S$.$y]: dart.nullable(svg$.AnimatedLength) + })); + dart.setLibraryUri(svg$.FEMergeElement, I[157]); + dart.registerExtension("SVGFEMergeElement", svg$.FEMergeElement); + svg$.FEMergeNodeElement = class FEMergeNodeElement extends svg$.SvgElement { + static new() { + return svg$.FEMergeNodeElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("feMergeNode")); + } + static get supported() { + return dart.test(svg$.SvgElement.isTagSupported("feMergeNode")) && svg$.FEMergeNodeElement.is(svg$.SvgElement.tag("feMergeNode")); + } + get [S$3.$in1]() { + return this.in1; + } + }; + (svg$.FEMergeNodeElement.created = function() { + svg$.FEMergeNodeElement.__proto__.created.call(this); + ; + }).prototype = svg$.FEMergeNodeElement.prototype; + dart.addTypeTests(svg$.FEMergeNodeElement); + dart.addTypeCaches(svg$.FEMergeNodeElement); + dart.setGetterSignature(svg$.FEMergeNodeElement, () => ({ + __proto__: dart.getGetters(svg$.FEMergeNodeElement.__proto__), + [S$3.$in1]: dart.nullable(svg$.AnimatedString) + })); + dart.setLibraryUri(svg$.FEMergeNodeElement, I[157]); + dart.registerExtension("SVGFEMergeNodeElement", svg$.FEMergeNodeElement); + svg$.FEMorphologyElement = class FEMorphologyElement extends svg$.SvgElement { + get [S$3.$in1]() { + return this.in1; + } + get [S$3.$operator]() { + return this.operator; + } + get [S$2.$radiusX]() { + return this.radiusX; + } + get [S$2.$radiusY]() { + return this.radiusY; + } + get [$height]() { + return this.height; + } + get [S.$result]() { + return this.result; + } + get [$width]() { + return this.width; + } + get [S$.$x]() { + return this.x; + } + get [S$.$y]() { + return this.y; + } + }; + (svg$.FEMorphologyElement.created = function() { + svg$.FEMorphologyElement.__proto__.created.call(this); + ; + }).prototype = svg$.FEMorphologyElement.prototype; + dart.addTypeTests(svg$.FEMorphologyElement); + dart.addTypeCaches(svg$.FEMorphologyElement); + svg$.FEMorphologyElement[dart.implements] = () => [svg$.FilterPrimitiveStandardAttributes]; + dart.setGetterSignature(svg$.FEMorphologyElement, () => ({ + __proto__: dart.getGetters(svg$.FEMorphologyElement.__proto__), + [S$3.$in1]: dart.nullable(svg$.AnimatedString), + [S$3.$operator]: dart.nullable(svg$.AnimatedEnumeration), + [S$2.$radiusX]: dart.nullable(svg$.AnimatedNumber), + [S$2.$radiusY]: dart.nullable(svg$.AnimatedNumber), + [$height]: dart.nullable(svg$.AnimatedLength), + [S.$result]: dart.nullable(svg$.AnimatedString), + [$width]: dart.nullable(svg$.AnimatedLength), + [S$.$x]: dart.nullable(svg$.AnimatedLength), + [S$.$y]: dart.nullable(svg$.AnimatedLength) + })); + dart.setLibraryUri(svg$.FEMorphologyElement, I[157]); + dart.defineLazy(svg$.FEMorphologyElement, { + /*svg$.FEMorphologyElement.SVG_MORPHOLOGY_OPERATOR_DILATE*/get SVG_MORPHOLOGY_OPERATOR_DILATE() { + return 2; + }, + /*svg$.FEMorphologyElement.SVG_MORPHOLOGY_OPERATOR_ERODE*/get SVG_MORPHOLOGY_OPERATOR_ERODE() { + return 1; + }, + /*svg$.FEMorphologyElement.SVG_MORPHOLOGY_OPERATOR_UNKNOWN*/get SVG_MORPHOLOGY_OPERATOR_UNKNOWN() { + return 0; + } + }, false); + dart.registerExtension("SVGFEMorphologyElement", svg$.FEMorphologyElement); + svg$.FEOffsetElement = class FEOffsetElement extends svg$.SvgElement { + static new() { + return svg$.FEOffsetElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("feOffset")); + } + static get supported() { + return dart.test(svg$.SvgElement.isTagSupported("feOffset")) && svg$.FEOffsetElement.is(svg$.SvgElement.tag("feOffset")); + } + get [S$3.$dx]() { + return this.dx; + } + get [S$3.$dy]() { + return this.dy; + } + get [S$3.$in1]() { + return this.in1; + } + get [$height]() { + return this.height; + } + get [S.$result]() { + return this.result; + } + get [$width]() { + return this.width; + } + get [S$.$x]() { + return this.x; + } + get [S$.$y]() { + return this.y; + } + }; + (svg$.FEOffsetElement.created = function() { + svg$.FEOffsetElement.__proto__.created.call(this); + ; + }).prototype = svg$.FEOffsetElement.prototype; + dart.addTypeTests(svg$.FEOffsetElement); + dart.addTypeCaches(svg$.FEOffsetElement); + svg$.FEOffsetElement[dart.implements] = () => [svg$.FilterPrimitiveStandardAttributes]; + dart.setGetterSignature(svg$.FEOffsetElement, () => ({ + __proto__: dart.getGetters(svg$.FEOffsetElement.__proto__), + [S$3.$dx]: dart.nullable(svg$.AnimatedNumber), + [S$3.$dy]: dart.nullable(svg$.AnimatedNumber), + [S$3.$in1]: dart.nullable(svg$.AnimatedString), + [$height]: dart.nullable(svg$.AnimatedLength), + [S.$result]: dart.nullable(svg$.AnimatedString), + [$width]: dart.nullable(svg$.AnimatedLength), + [S$.$x]: dart.nullable(svg$.AnimatedLength), + [S$.$y]: dart.nullable(svg$.AnimatedLength) + })); + dart.setLibraryUri(svg$.FEOffsetElement, I[157]); + dart.registerExtension("SVGFEOffsetElement", svg$.FEOffsetElement); + svg$.FEPointLightElement = class FEPointLightElement extends svg$.SvgElement { + static new() { + return svg$.FEPointLightElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("fePointLight")); + } + static get supported() { + return dart.test(svg$.SvgElement.isTagSupported("fePointLight")) && svg$.FEPointLightElement.is(svg$.SvgElement.tag("fePointLight")); + } + get [S$.$x]() { + return this.x; + } + get [S$.$y]() { + return this.y; + } + get [S$.$z]() { + return this.z; + } + }; + (svg$.FEPointLightElement.created = function() { + svg$.FEPointLightElement.__proto__.created.call(this); + ; + }).prototype = svg$.FEPointLightElement.prototype; + dart.addTypeTests(svg$.FEPointLightElement); + dart.addTypeCaches(svg$.FEPointLightElement); + dart.setGetterSignature(svg$.FEPointLightElement, () => ({ + __proto__: dart.getGetters(svg$.FEPointLightElement.__proto__), + [S$.$x]: dart.nullable(svg$.AnimatedNumber), + [S$.$y]: dart.nullable(svg$.AnimatedNumber), + [S$.$z]: dart.nullable(svg$.AnimatedNumber) + })); + dart.setLibraryUri(svg$.FEPointLightElement, I[157]); + dart.registerExtension("SVGFEPointLightElement", svg$.FEPointLightElement); + svg$.FESpecularLightingElement = class FESpecularLightingElement extends svg$.SvgElement { + static new() { + return svg$.FESpecularLightingElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("feSpecularLighting")); + } + static get supported() { + return dart.test(svg$.SvgElement.isTagSupported("feSpecularLighting")) && svg$.FESpecularLightingElement.is(svg$.SvgElement.tag("feSpecularLighting")); + } + get [S$3.$in1]() { + return this.in1; + } + get [S$3.$kernelUnitLengthX]() { + return this.kernelUnitLengthX; + } + get [S$3.$kernelUnitLengthY]() { + return this.kernelUnitLengthY; + } + get [S$3.$specularConstant]() { + return this.specularConstant; + } + get [S$3.$specularExponent]() { + return this.specularExponent; + } + get [S$3.$surfaceScale]() { + return this.surfaceScale; + } + get [$height]() { + return this.height; + } + get [S.$result]() { + return this.result; + } + get [$width]() { + return this.width; + } + get [S$.$x]() { + return this.x; + } + get [S$.$y]() { + return this.y; + } + }; + (svg$.FESpecularLightingElement.created = function() { + svg$.FESpecularLightingElement.__proto__.created.call(this); + ; + }).prototype = svg$.FESpecularLightingElement.prototype; + dart.addTypeTests(svg$.FESpecularLightingElement); + dart.addTypeCaches(svg$.FESpecularLightingElement); + svg$.FESpecularLightingElement[dart.implements] = () => [svg$.FilterPrimitiveStandardAttributes]; + dart.setGetterSignature(svg$.FESpecularLightingElement, () => ({ + __proto__: dart.getGetters(svg$.FESpecularLightingElement.__proto__), + [S$3.$in1]: dart.nullable(svg$.AnimatedString), + [S$3.$kernelUnitLengthX]: dart.nullable(svg$.AnimatedNumber), + [S$3.$kernelUnitLengthY]: dart.nullable(svg$.AnimatedNumber), + [S$3.$specularConstant]: dart.nullable(svg$.AnimatedNumber), + [S$3.$specularExponent]: dart.nullable(svg$.AnimatedNumber), + [S$3.$surfaceScale]: dart.nullable(svg$.AnimatedNumber), + [$height]: dart.nullable(svg$.AnimatedLength), + [S.$result]: dart.nullable(svg$.AnimatedString), + [$width]: dart.nullable(svg$.AnimatedLength), + [S$.$x]: dart.nullable(svg$.AnimatedLength), + [S$.$y]: dart.nullable(svg$.AnimatedLength) + })); + dart.setLibraryUri(svg$.FESpecularLightingElement, I[157]); + dart.registerExtension("SVGFESpecularLightingElement", svg$.FESpecularLightingElement); + svg$.FESpotLightElement = class FESpotLightElement extends svg$.SvgElement { + static new() { + return svg$.FESpotLightElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("feSpotLight")); + } + static get supported() { + return dart.test(svg$.SvgElement.isTagSupported("feSpotLight")) && svg$.FESpotLightElement.is(svg$.SvgElement.tag("feSpotLight")); + } + get [S$3.$limitingConeAngle]() { + return this.limitingConeAngle; + } + get [S$3.$pointsAtX]() { + return this.pointsAtX; + } + get [S$3.$pointsAtY]() { + return this.pointsAtY; + } + get [S$3.$pointsAtZ]() { + return this.pointsAtZ; + } + get [S$3.$specularExponent]() { + return this.specularExponent; + } + get [S$.$x]() { + return this.x; + } + get [S$.$y]() { + return this.y; + } + get [S$.$z]() { + return this.z; + } + }; + (svg$.FESpotLightElement.created = function() { + svg$.FESpotLightElement.__proto__.created.call(this); + ; + }).prototype = svg$.FESpotLightElement.prototype; + dart.addTypeTests(svg$.FESpotLightElement); + dart.addTypeCaches(svg$.FESpotLightElement); + dart.setGetterSignature(svg$.FESpotLightElement, () => ({ + __proto__: dart.getGetters(svg$.FESpotLightElement.__proto__), + [S$3.$limitingConeAngle]: dart.nullable(svg$.AnimatedNumber), + [S$3.$pointsAtX]: dart.nullable(svg$.AnimatedNumber), + [S$3.$pointsAtY]: dart.nullable(svg$.AnimatedNumber), + [S$3.$pointsAtZ]: dart.nullable(svg$.AnimatedNumber), + [S$3.$specularExponent]: dart.nullable(svg$.AnimatedNumber), + [S$.$x]: dart.nullable(svg$.AnimatedNumber), + [S$.$y]: dart.nullable(svg$.AnimatedNumber), + [S$.$z]: dart.nullable(svg$.AnimatedNumber) + })); + dart.setLibraryUri(svg$.FESpotLightElement, I[157]); + dart.registerExtension("SVGFESpotLightElement", svg$.FESpotLightElement); + svg$.FETileElement = class FETileElement extends svg$.SvgElement { + static new() { + return svg$.FETileElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("feTile")); + } + static get supported() { + return dart.test(svg$.SvgElement.isTagSupported("feTile")) && svg$.FETileElement.is(svg$.SvgElement.tag("feTile")); + } + get [S$3.$in1]() { + return this.in1; + } + get [$height]() { + return this.height; + } + get [S.$result]() { + return this.result; + } + get [$width]() { + return this.width; + } + get [S$.$x]() { + return this.x; + } + get [S$.$y]() { + return this.y; + } + }; + (svg$.FETileElement.created = function() { + svg$.FETileElement.__proto__.created.call(this); + ; + }).prototype = svg$.FETileElement.prototype; + dart.addTypeTests(svg$.FETileElement); + dart.addTypeCaches(svg$.FETileElement); + svg$.FETileElement[dart.implements] = () => [svg$.FilterPrimitiveStandardAttributes]; + dart.setGetterSignature(svg$.FETileElement, () => ({ + __proto__: dart.getGetters(svg$.FETileElement.__proto__), + [S$3.$in1]: dart.nullable(svg$.AnimatedString), + [$height]: dart.nullable(svg$.AnimatedLength), + [S.$result]: dart.nullable(svg$.AnimatedString), + [$width]: dart.nullable(svg$.AnimatedLength), + [S$.$x]: dart.nullable(svg$.AnimatedLength), + [S$.$y]: dart.nullable(svg$.AnimatedLength) + })); + dart.setLibraryUri(svg$.FETileElement, I[157]); + dart.registerExtension("SVGFETileElement", svg$.FETileElement); + svg$.FETurbulenceElement = class FETurbulenceElement extends svg$.SvgElement { + static new() { + return svg$.FETurbulenceElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("feTurbulence")); + } + static get supported() { + return dart.test(svg$.SvgElement.isTagSupported("feTurbulence")) && svg$.FETurbulenceElement.is(svg$.SvgElement.tag("feTurbulence")); + } + get [S$3.$baseFrequencyX]() { + return this.baseFrequencyX; + } + get [S$3.$baseFrequencyY]() { + return this.baseFrequencyY; + } + get [S$3.$numOctaves]() { + return this.numOctaves; + } + get [S$3.$seed]() { + return this.seed; + } + get [S$3.$stitchTiles]() { + return this.stitchTiles; + } + get [S.$type]() { + return this.type; + } + get [$height]() { + return this.height; + } + get [S.$result]() { + return this.result; + } + get [$width]() { + return this.width; + } + get [S$.$x]() { + return this.x; + } + get [S$.$y]() { + return this.y; + } + }; + (svg$.FETurbulenceElement.created = function() { + svg$.FETurbulenceElement.__proto__.created.call(this); + ; + }).prototype = svg$.FETurbulenceElement.prototype; + dart.addTypeTests(svg$.FETurbulenceElement); + dart.addTypeCaches(svg$.FETurbulenceElement); + svg$.FETurbulenceElement[dart.implements] = () => [svg$.FilterPrimitiveStandardAttributes]; + dart.setGetterSignature(svg$.FETurbulenceElement, () => ({ + __proto__: dart.getGetters(svg$.FETurbulenceElement.__proto__), + [S$3.$baseFrequencyX]: dart.nullable(svg$.AnimatedNumber), + [S$3.$baseFrequencyY]: dart.nullable(svg$.AnimatedNumber), + [S$3.$numOctaves]: dart.nullable(svg$.AnimatedInteger), + [S$3.$seed]: dart.nullable(svg$.AnimatedNumber), + [S$3.$stitchTiles]: dart.nullable(svg$.AnimatedEnumeration), + [S.$type]: dart.nullable(svg$.AnimatedEnumeration), + [$height]: dart.nullable(svg$.AnimatedLength), + [S.$result]: dart.nullable(svg$.AnimatedString), + [$width]: dart.nullable(svg$.AnimatedLength), + [S$.$x]: dart.nullable(svg$.AnimatedLength), + [S$.$y]: dart.nullable(svg$.AnimatedLength) + })); + dart.setLibraryUri(svg$.FETurbulenceElement, I[157]); + dart.defineLazy(svg$.FETurbulenceElement, { + /*svg$.FETurbulenceElement.SVG_STITCHTYPE_NOSTITCH*/get SVG_STITCHTYPE_NOSTITCH() { + return 2; + }, + /*svg$.FETurbulenceElement.SVG_STITCHTYPE_STITCH*/get SVG_STITCHTYPE_STITCH() { + return 1; + }, + /*svg$.FETurbulenceElement.SVG_STITCHTYPE_UNKNOWN*/get SVG_STITCHTYPE_UNKNOWN() { + return 0; + }, + /*svg$.FETurbulenceElement.SVG_TURBULENCE_TYPE_FRACTALNOISE*/get SVG_TURBULENCE_TYPE_FRACTALNOISE() { + return 1; + }, + /*svg$.FETurbulenceElement.SVG_TURBULENCE_TYPE_TURBULENCE*/get SVG_TURBULENCE_TYPE_TURBULENCE() { + return 2; + }, + /*svg$.FETurbulenceElement.SVG_TURBULENCE_TYPE_UNKNOWN*/get SVG_TURBULENCE_TYPE_UNKNOWN() { + return 0; + } + }, false); + dart.registerExtension("SVGFETurbulenceElement", svg$.FETurbulenceElement); + svg$.FilterElement = class FilterElement extends svg$.SvgElement { + static new() { + return svg$.FilterElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("filter")); + } + static get supported() { + return dart.test(svg$.SvgElement.isTagSupported("filter")) && svg$.FilterElement.is(svg$.SvgElement.tag("filter")); + } + get [S$3.$filterUnits]() { + return this.filterUnits; + } + get [$height]() { + return this.height; + } + get [S$3.$primitiveUnits]() { + return this.primitiveUnits; + } + get [$width]() { + return this.width; + } + get [S$.$x]() { + return this.x; + } + get [S$.$y]() { + return this.y; + } + get [S$.$href]() { + return this.href; + } + }; + (svg$.FilterElement.created = function() { + svg$.FilterElement.__proto__.created.call(this); + ; + }).prototype = svg$.FilterElement.prototype; + dart.addTypeTests(svg$.FilterElement); + dart.addTypeCaches(svg$.FilterElement); + svg$.FilterElement[dart.implements] = () => [svg$.UriReference]; + dart.setGetterSignature(svg$.FilterElement, () => ({ + __proto__: dart.getGetters(svg$.FilterElement.__proto__), + [S$3.$filterUnits]: dart.nullable(svg$.AnimatedEnumeration), + [$height]: dart.nullable(svg$.AnimatedLength), + [S$3.$primitiveUnits]: dart.nullable(svg$.AnimatedEnumeration), + [$width]: dart.nullable(svg$.AnimatedLength), + [S$.$x]: dart.nullable(svg$.AnimatedLength), + [S$.$y]: dart.nullable(svg$.AnimatedLength), + [S$.$href]: dart.nullable(svg$.AnimatedString) + })); + dart.setLibraryUri(svg$.FilterElement, I[157]); + dart.registerExtension("SVGFilterElement", svg$.FilterElement); + svg$.FilterPrimitiveStandardAttributes = class FilterPrimitiveStandardAttributes extends _interceptors.Interceptor { + get height() { + return this.height; + } + get result() { + return this.result; + } + get width() { + return this.width; + } + get x() { + return this.x; + } + get y() { + return this.y; + } + }; + dart.addTypeTests(svg$.FilterPrimitiveStandardAttributes); + dart.addTypeCaches(svg$.FilterPrimitiveStandardAttributes); + dart.setGetterSignature(svg$.FilterPrimitiveStandardAttributes, () => ({ + __proto__: dart.getGetters(svg$.FilterPrimitiveStandardAttributes.__proto__), + height: dart.nullable(svg$.AnimatedLength), + [$height]: dart.nullable(svg$.AnimatedLength), + result: dart.nullable(svg$.AnimatedString), + [S.$result]: dart.nullable(svg$.AnimatedString), + width: dart.nullable(svg$.AnimatedLength), + [$width]: dart.nullable(svg$.AnimatedLength), + x: dart.nullable(svg$.AnimatedLength), + [S$.$x]: dart.nullable(svg$.AnimatedLength), + y: dart.nullable(svg$.AnimatedLength), + [S$.$y]: dart.nullable(svg$.AnimatedLength) + })); + dart.setLibraryUri(svg$.FilterPrimitiveStandardAttributes, I[157]); + dart.defineExtensionAccessors(svg$.FilterPrimitiveStandardAttributes, [ + 'height', + 'result', + 'width', + 'x', + 'y' + ]); + svg$.FitToViewBox = class FitToViewBox extends _interceptors.Interceptor { + get preserveAspectRatio() { + return this.preserveAspectRatio; + } + get viewBox() { + return this.viewBox; + } + }; + dart.addTypeTests(svg$.FitToViewBox); + dart.addTypeCaches(svg$.FitToViewBox); + dart.setGetterSignature(svg$.FitToViewBox, () => ({ + __proto__: dart.getGetters(svg$.FitToViewBox.__proto__), + preserveAspectRatio: dart.nullable(svg$.AnimatedPreserveAspectRatio), + [S$3.$preserveAspectRatio]: dart.nullable(svg$.AnimatedPreserveAspectRatio), + viewBox: dart.nullable(svg$.AnimatedRect), + [S$3.$viewBox]: dart.nullable(svg$.AnimatedRect) + })); + dart.setLibraryUri(svg$.FitToViewBox, I[157]); + dart.defineExtensionAccessors(svg$.FitToViewBox, ['preserveAspectRatio', 'viewBox']); + svg$.ForeignObjectElement = class ForeignObjectElement extends svg$.GraphicsElement { + static new() { + return svg$.ForeignObjectElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("foreignObject")); + } + static get supported() { + return dart.test(svg$.SvgElement.isTagSupported("foreignObject")) && svg$.ForeignObjectElement.is(svg$.SvgElement.tag("foreignObject")); + } + get [$height]() { + return this.height; + } + get [$width]() { + return this.width; + } + get [S$.$x]() { + return this.x; + } + get [S$.$y]() { + return this.y; + } + }; + (svg$.ForeignObjectElement.created = function() { + svg$.ForeignObjectElement.__proto__.created.call(this); + ; + }).prototype = svg$.ForeignObjectElement.prototype; + dart.addTypeTests(svg$.ForeignObjectElement); + dart.addTypeCaches(svg$.ForeignObjectElement); + dart.setGetterSignature(svg$.ForeignObjectElement, () => ({ + __proto__: dart.getGetters(svg$.ForeignObjectElement.__proto__), + [$height]: dart.nullable(svg$.AnimatedLength), + [$width]: dart.nullable(svg$.AnimatedLength), + [S$.$x]: dart.nullable(svg$.AnimatedLength), + [S$.$y]: dart.nullable(svg$.AnimatedLength) + })); + dart.setLibraryUri(svg$.ForeignObjectElement, I[157]); + dart.registerExtension("SVGForeignObjectElement", svg$.ForeignObjectElement); + svg$.GElement = class GElement extends svg$.GraphicsElement { + static new() { + return svg$.GElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("g")); + } + }; + (svg$.GElement.created = function() { + svg$.GElement.__proto__.created.call(this); + ; + }).prototype = svg$.GElement.prototype; + dart.addTypeTests(svg$.GElement); + dart.addTypeCaches(svg$.GElement); + dart.setLibraryUri(svg$.GElement, I[157]); + dart.registerExtension("SVGGElement", svg$.GElement); + svg$.ImageElement = class ImageElement extends svg$.GraphicsElement { + static new() { + return svg$.ImageElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("image")); + } + get [S$1.$async]() { + return this.async; + } + set [S$1.$async](value) { + this.async = value; + } + get [$height]() { + return this.height; + } + get [S$3.$preserveAspectRatio]() { + return this.preserveAspectRatio; + } + get [$width]() { + return this.width; + } + get [S$.$x]() { + return this.x; + } + get [S$.$y]() { + return this.y; + } + [S$1.$decode]() { + return js_util.promiseToFuture(dart.dynamic, this.decode()); + } + get [S$.$href]() { + return this.href; + } + }; + (svg$.ImageElement.created = function() { + svg$.ImageElement.__proto__.created.call(this); + ; + }).prototype = svg$.ImageElement.prototype; + dart.addTypeTests(svg$.ImageElement); + dart.addTypeCaches(svg$.ImageElement); + svg$.ImageElement[dart.implements] = () => [svg$.UriReference]; + dart.setMethodSignature(svg$.ImageElement, () => ({ + __proto__: dart.getMethods(svg$.ImageElement.__proto__), + [S$1.$decode]: dart.fnType(async.Future, []) + })); + dart.setGetterSignature(svg$.ImageElement, () => ({ + __proto__: dart.getGetters(svg$.ImageElement.__proto__), + [S$1.$async]: dart.nullable(core.String), + [$height]: dart.nullable(svg$.AnimatedLength), + [S$3.$preserveAspectRatio]: dart.nullable(svg$.AnimatedPreserveAspectRatio), + [$width]: dart.nullable(svg$.AnimatedLength), + [S$.$x]: dart.nullable(svg$.AnimatedLength), + [S$.$y]: dart.nullable(svg$.AnimatedLength), + [S$.$href]: dart.nullable(svg$.AnimatedString) + })); + dart.setSetterSignature(svg$.ImageElement, () => ({ + __proto__: dart.getSetters(svg$.ImageElement.__proto__), + [S$1.$async]: dart.nullable(core.String) + })); + dart.setLibraryUri(svg$.ImageElement, I[157]); + dart.registerExtension("SVGImageElement", svg$.ImageElement); + svg$.Length = class Length extends _interceptors.Interceptor { + get [S$3.$unitType]() { + return this.unitType; + } + get [S.$value]() { + return this.value; + } + set [S.$value](value) { + this.value = value; + } + get [S$3.$valueAsString]() { + return this.valueAsString; + } + set [S$3.$valueAsString](value) { + this.valueAsString = value; + } + get [S$3.$valueInSpecifiedUnits]() { + return this.valueInSpecifiedUnits; + } + set [S$3.$valueInSpecifiedUnits](value) { + this.valueInSpecifiedUnits = value; + } + [S$3.$convertToSpecifiedUnits](...args) { + return this.convertToSpecifiedUnits.apply(this, args); + } + [S$3.$newValueSpecifiedUnits](...args) { + return this.newValueSpecifiedUnits.apply(this, args); + } + }; + dart.addTypeTests(svg$.Length); + dart.addTypeCaches(svg$.Length); + dart.setMethodSignature(svg$.Length, () => ({ + __proto__: dart.getMethods(svg$.Length.__proto__), + [S$3.$convertToSpecifiedUnits]: dart.fnType(dart.void, [core.int]), + [S$3.$newValueSpecifiedUnits]: dart.fnType(dart.void, [core.int, core.num]) + })); + dart.setGetterSignature(svg$.Length, () => ({ + __proto__: dart.getGetters(svg$.Length.__proto__), + [S$3.$unitType]: dart.nullable(core.int), + [S.$value]: dart.nullable(core.num), + [S$3.$valueAsString]: dart.nullable(core.String), + [S$3.$valueInSpecifiedUnits]: dart.nullable(core.num) + })); + dart.setSetterSignature(svg$.Length, () => ({ + __proto__: dart.getSetters(svg$.Length.__proto__), + [S.$value]: dart.nullable(core.num), + [S$3.$valueAsString]: dart.nullable(core.String), + [S$3.$valueInSpecifiedUnits]: dart.nullable(core.num) + })); + dart.setLibraryUri(svg$.Length, I[157]); + dart.defineLazy(svg$.Length, { + /*svg$.Length.SVG_LENGTHTYPE_CM*/get SVG_LENGTHTYPE_CM() { + return 6; + }, + /*svg$.Length.SVG_LENGTHTYPE_EMS*/get SVG_LENGTHTYPE_EMS() { + return 3; + }, + /*svg$.Length.SVG_LENGTHTYPE_EXS*/get SVG_LENGTHTYPE_EXS() { + return 4; + }, + /*svg$.Length.SVG_LENGTHTYPE_IN*/get SVG_LENGTHTYPE_IN() { + return 8; + }, + /*svg$.Length.SVG_LENGTHTYPE_MM*/get SVG_LENGTHTYPE_MM() { + return 7; + }, + /*svg$.Length.SVG_LENGTHTYPE_NUMBER*/get SVG_LENGTHTYPE_NUMBER() { + return 1; + }, + /*svg$.Length.SVG_LENGTHTYPE_PC*/get SVG_LENGTHTYPE_PC() { + return 10; + }, + /*svg$.Length.SVG_LENGTHTYPE_PERCENTAGE*/get SVG_LENGTHTYPE_PERCENTAGE() { + return 2; + }, + /*svg$.Length.SVG_LENGTHTYPE_PT*/get SVG_LENGTHTYPE_PT() { + return 9; + }, + /*svg$.Length.SVG_LENGTHTYPE_PX*/get SVG_LENGTHTYPE_PX() { + return 5; + }, + /*svg$.Length.SVG_LENGTHTYPE_UNKNOWN*/get SVG_LENGTHTYPE_UNKNOWN() { + return 0; + } + }, false); + dart.registerExtension("SVGLength", svg$.Length); + const Interceptor_ListMixin$36$13 = class Interceptor_ListMixin extends _interceptors.Interceptor {}; + (Interceptor_ListMixin$36$13.new = function() { + Interceptor_ListMixin$36$13.__proto__.new.call(this); + }).prototype = Interceptor_ListMixin$36$13.prototype; + dart.applyMixin(Interceptor_ListMixin$36$13, collection.ListMixin$(svg$.Length)); + const Interceptor_ImmutableListMixin$36$13 = class Interceptor_ImmutableListMixin extends Interceptor_ListMixin$36$13 {}; + (Interceptor_ImmutableListMixin$36$13.new = function() { + Interceptor_ImmutableListMixin$36$13.__proto__.new.call(this); + }).prototype = Interceptor_ImmutableListMixin$36$13.prototype; + dart.applyMixin(Interceptor_ImmutableListMixin$36$13, html$.ImmutableListMixin$(svg$.Length)); + svg$.LengthList = class LengthList extends Interceptor_ImmutableListMixin$36$13 { + get [$length]() { + return this.length; + } + get [S$3.$numberOfItems]() { + return this.numberOfItems; + } + [$_get](index) { + if (index == null) dart.nullFailed(I[156], 2053, 26, "index"); + if (index >>> 0 !== index || index >= this[$length]) dart.throw(new core.IndexError.new(index, this)); + return this.getItem(index); + } + [$_set](index, value$) { + let value = value$; + if (index == null) dart.nullFailed(I[156], 2059, 25, "index"); + svg$.Length.as(value); + if (value == null) dart.nullFailed(I[156], 2059, 39, "value"); + dart.throw(new core.UnsupportedError.new("Cannot assign element of immutable List.")); + return value$; + } + set [$length](value) { + if (value == null) dart.nullFailed(I[156], 2065, 18, "value"); + dart.throw(new core.UnsupportedError.new("Cannot resize immutable List.")); + } + get [$first]() { + if (dart.notNull(this[$length]) > 0) { + return this[0]; + } + dart.throw(new core.StateError.new("No elements")); + } + set [$first](value) { + super[$first] = value; + } + get [$last]() { + let len = this[$length]; + if (dart.notNull(len) > 0) { + return this[dart.notNull(len) - 1]; + } + dart.throw(new core.StateError.new("No elements")); + } + set [$last](value) { + super[$last] = value; + } + get [$single]() { + let len = this[$length]; + if (len === 1) { + return this[0]; + } + if (len === 0) dart.throw(new core.StateError.new("No elements")); + dart.throw(new core.StateError.new("More than one element")); + } + [$elementAt](index) { + if (index == null) dart.nullFailed(I[156], 2093, 24, "index"); + return this[$_get](index); + } + [S$3.__setter__$1](...args) { + return this.__setter__.apply(this, args); + } + [S$3.$appendItem](...args) { + return this.appendItem.apply(this, args); + } + [$clear](...args) { + return this.clear.apply(this, args); + } + [S$3.$getItem](...args) { + return this.getItem.apply(this, args); + } + [S$3.$initialize](...args) { + return this.initialize.apply(this, args); + } + [S$3.$insertItemBefore](...args) { + return this.insertItemBefore.apply(this, args); + } + [S$3.$removeItem](...args) { + return this.removeItem.apply(this, args); + } + [S$3.$replaceItem](...args) { + return this.replaceItem.apply(this, args); + } + }; + svg$.LengthList.prototype[dart.isList] = true; + dart.addTypeTests(svg$.LengthList); + dart.addTypeCaches(svg$.LengthList); + svg$.LengthList[dart.implements] = () => [core.List$(svg$.Length)]; + dart.setMethodSignature(svg$.LengthList, () => ({ + __proto__: dart.getMethods(svg$.LengthList.__proto__), + [$_get]: dart.fnType(svg$.Length, [core.int]), + [$_set]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), + [S$3.__setter__$1]: dart.fnType(dart.void, [core.int, svg$.Length]), + [S$3.$appendItem]: dart.fnType(svg$.Length, [svg$.Length]), + [S$3.$getItem]: dart.fnType(svg$.Length, [core.int]), + [S$3.$initialize]: dart.fnType(svg$.Length, [svg$.Length]), + [S$3.$insertItemBefore]: dart.fnType(svg$.Length, [svg$.Length, core.int]), + [S$3.$removeItem]: dart.fnType(svg$.Length, [core.int]), + [S$3.$replaceItem]: dart.fnType(svg$.Length, [svg$.Length, core.int]) + })); + dart.setGetterSignature(svg$.LengthList, () => ({ + __proto__: dart.getGetters(svg$.LengthList.__proto__), + [$length]: core.int, + [S$3.$numberOfItems]: dart.nullable(core.int) + })); + dart.setSetterSignature(svg$.LengthList, () => ({ + __proto__: dart.getSetters(svg$.LengthList.__proto__), + [$length]: core.int + })); + dart.setLibraryUri(svg$.LengthList, I[157]); + dart.registerExtension("SVGLengthList", svg$.LengthList); + svg$.LineElement = class LineElement extends svg$.GeometryElement { + static new() { + return svg$.LineElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("line")); + } + get [S$3.$x1]() { + return this.x1; + } + get [S$3.$x2]() { + return this.x2; + } + get [S$3.$y1]() { + return this.y1; + } + get [S$3.$y2]() { + return this.y2; + } + }; + (svg$.LineElement.created = function() { + svg$.LineElement.__proto__.created.call(this); + ; + }).prototype = svg$.LineElement.prototype; + dart.addTypeTests(svg$.LineElement); + dart.addTypeCaches(svg$.LineElement); + dart.setGetterSignature(svg$.LineElement, () => ({ + __proto__: dart.getGetters(svg$.LineElement.__proto__), + [S$3.$x1]: dart.nullable(svg$.AnimatedLength), + [S$3.$x2]: dart.nullable(svg$.AnimatedLength), + [S$3.$y1]: dart.nullable(svg$.AnimatedLength), + [S$3.$y2]: dart.nullable(svg$.AnimatedLength) + })); + dart.setLibraryUri(svg$.LineElement, I[157]); + dart.registerExtension("SVGLineElement", svg$.LineElement); + svg$._GradientElement = class _GradientElement extends svg$.SvgElement { + get [S$3.$gradientTransform]() { + return this.gradientTransform; + } + get [S$3.$gradientUnits]() { + return this.gradientUnits; + } + get [S$3.$spreadMethod]() { + return this.spreadMethod; + } + get [S$.$href]() { + return this.href; + } + }; + (svg$._GradientElement.created = function() { + svg$._GradientElement.__proto__.created.call(this); + ; + }).prototype = svg$._GradientElement.prototype; + dart.addTypeTests(svg$._GradientElement); + dart.addTypeCaches(svg$._GradientElement); + svg$._GradientElement[dart.implements] = () => [svg$.UriReference]; + dart.setGetterSignature(svg$._GradientElement, () => ({ + __proto__: dart.getGetters(svg$._GradientElement.__proto__), + [S$3.$gradientTransform]: dart.nullable(svg$.AnimatedTransformList), + [S$3.$gradientUnits]: dart.nullable(svg$.AnimatedEnumeration), + [S$3.$spreadMethod]: dart.nullable(svg$.AnimatedEnumeration), + [S$.$href]: dart.nullable(svg$.AnimatedString) + })); + dart.setLibraryUri(svg$._GradientElement, I[157]); + dart.defineLazy(svg$._GradientElement, { + /*svg$._GradientElement.SVG_SPREADMETHOD_PAD*/get SVG_SPREADMETHOD_PAD() { + return 1; + }, + /*svg$._GradientElement.SVG_SPREADMETHOD_REFLECT*/get SVG_SPREADMETHOD_REFLECT() { + return 2; + }, + /*svg$._GradientElement.SVG_SPREADMETHOD_REPEAT*/get SVG_SPREADMETHOD_REPEAT() { + return 3; + }, + /*svg$._GradientElement.SVG_SPREADMETHOD_UNKNOWN*/get SVG_SPREADMETHOD_UNKNOWN() { + return 0; + } + }, false); + dart.registerExtension("SVGGradientElement", svg$._GradientElement); + svg$.LinearGradientElement = class LinearGradientElement extends svg$._GradientElement { + static new() { + return svg$.LinearGradientElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("linearGradient")); + } + get [S$3.$x1]() { + return this.x1; + } + get [S$3.$x2]() { + return this.x2; + } + get [S$3.$y1]() { + return this.y1; + } + get [S$3.$y2]() { + return this.y2; + } + }; + (svg$.LinearGradientElement.created = function() { + svg$.LinearGradientElement.__proto__.created.call(this); + ; + }).prototype = svg$.LinearGradientElement.prototype; + dart.addTypeTests(svg$.LinearGradientElement); + dart.addTypeCaches(svg$.LinearGradientElement); + dart.setGetterSignature(svg$.LinearGradientElement, () => ({ + __proto__: dart.getGetters(svg$.LinearGradientElement.__proto__), + [S$3.$x1]: dart.nullable(svg$.AnimatedLength), + [S$3.$x2]: dart.nullable(svg$.AnimatedLength), + [S$3.$y1]: dart.nullable(svg$.AnimatedLength), + [S$3.$y2]: dart.nullable(svg$.AnimatedLength) + })); + dart.setLibraryUri(svg$.LinearGradientElement, I[157]); + dart.registerExtension("SVGLinearGradientElement", svg$.LinearGradientElement); + svg$.MarkerElement = class MarkerElement extends svg$.SvgElement { + static new() { + return svg$.MarkerElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("marker")); + } + get [S$3.$markerHeight]() { + return this.markerHeight; + } + get [S$3.$markerUnits]() { + return this.markerUnits; + } + get [S$3.$markerWidth]() { + return this.markerWidth; + } + get [S$3.$orientAngle]() { + return this.orientAngle; + } + get [S$3.$orientType]() { + return this.orientType; + } + get [S$3.$refX]() { + return this.refX; + } + get [S$3.$refY]() { + return this.refY; + } + [S$3.$setOrientToAngle](...args) { + return this.setOrientToAngle.apply(this, args); + } + [S$3.$setOrientToAuto](...args) { + return this.setOrientToAuto.apply(this, args); + } + get [S$3.$preserveAspectRatio]() { + return this.preserveAspectRatio; + } + get [S$3.$viewBox]() { + return this.viewBox; + } + }; + (svg$.MarkerElement.created = function() { + svg$.MarkerElement.__proto__.created.call(this); + ; + }).prototype = svg$.MarkerElement.prototype; + dart.addTypeTests(svg$.MarkerElement); + dart.addTypeCaches(svg$.MarkerElement); + svg$.MarkerElement[dart.implements] = () => [svg$.FitToViewBox]; + dart.setMethodSignature(svg$.MarkerElement, () => ({ + __proto__: dart.getMethods(svg$.MarkerElement.__proto__), + [S$3.$setOrientToAngle]: dart.fnType(dart.void, [svg$.Angle]), + [S$3.$setOrientToAuto]: dart.fnType(dart.void, []) + })); + dart.setGetterSignature(svg$.MarkerElement, () => ({ + __proto__: dart.getGetters(svg$.MarkerElement.__proto__), + [S$3.$markerHeight]: svg$.AnimatedLength, + [S$3.$markerUnits]: svg$.AnimatedEnumeration, + [S$3.$markerWidth]: svg$.AnimatedLength, + [S$3.$orientAngle]: dart.nullable(svg$.AnimatedAngle), + [S$3.$orientType]: dart.nullable(svg$.AnimatedEnumeration), + [S$3.$refX]: svg$.AnimatedLength, + [S$3.$refY]: svg$.AnimatedLength, + [S$3.$preserveAspectRatio]: dart.nullable(svg$.AnimatedPreserveAspectRatio), + [S$3.$viewBox]: dart.nullable(svg$.AnimatedRect) + })); + dart.setLibraryUri(svg$.MarkerElement, I[157]); + dart.defineLazy(svg$.MarkerElement, { + /*svg$.MarkerElement.SVG_MARKERUNITS_STROKEWIDTH*/get SVG_MARKERUNITS_STROKEWIDTH() { + return 2; + }, + /*svg$.MarkerElement.SVG_MARKERUNITS_UNKNOWN*/get SVG_MARKERUNITS_UNKNOWN() { + return 0; + }, + /*svg$.MarkerElement.SVG_MARKERUNITS_USERSPACEONUSE*/get SVG_MARKERUNITS_USERSPACEONUSE() { + return 1; + }, + /*svg$.MarkerElement.SVG_MARKER_ORIENT_ANGLE*/get SVG_MARKER_ORIENT_ANGLE() { + return 2; + }, + /*svg$.MarkerElement.SVG_MARKER_ORIENT_AUTO*/get SVG_MARKER_ORIENT_AUTO() { + return 1; + }, + /*svg$.MarkerElement.SVG_MARKER_ORIENT_UNKNOWN*/get SVG_MARKER_ORIENT_UNKNOWN() { + return 0; + } + }, false); + dart.registerExtension("SVGMarkerElement", svg$.MarkerElement); + svg$.MaskElement = class MaskElement extends svg$.SvgElement { + static new() { + return svg$.MaskElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("mask")); + } + get [$height]() { + return this.height; + } + get [S$3.$maskContentUnits]() { + return this.maskContentUnits; + } + get [S$3.$maskUnits]() { + return this.maskUnits; + } + get [$width]() { + return this.width; + } + get [S$.$x]() { + return this.x; + } + get [S$.$y]() { + return this.y; + } + get [S$3.$requiredExtensions]() { + return this.requiredExtensions; + } + get [S$3.$systemLanguage]() { + return this.systemLanguage; + } + }; + (svg$.MaskElement.created = function() { + svg$.MaskElement.__proto__.created.call(this); + ; + }).prototype = svg$.MaskElement.prototype; + dart.addTypeTests(svg$.MaskElement); + dart.addTypeCaches(svg$.MaskElement); + svg$.MaskElement[dart.implements] = () => [svg$.Tests]; + dart.setGetterSignature(svg$.MaskElement, () => ({ + __proto__: dart.getGetters(svg$.MaskElement.__proto__), + [$height]: dart.nullable(svg$.AnimatedLength), + [S$3.$maskContentUnits]: dart.nullable(svg$.AnimatedEnumeration), + [S$3.$maskUnits]: dart.nullable(svg$.AnimatedEnumeration), + [$width]: dart.nullable(svg$.AnimatedLength), + [S$.$x]: dart.nullable(svg$.AnimatedLength), + [S$.$y]: dart.nullable(svg$.AnimatedLength), + [S$3.$requiredExtensions]: dart.nullable(svg$.StringList), + [S$3.$systemLanguage]: dart.nullable(svg$.StringList) + })); + dart.setLibraryUri(svg$.MaskElement, I[157]); + dart.registerExtension("SVGMaskElement", svg$.MaskElement); + svg$.Matrix = class Matrix extends _interceptors.Interceptor { + get [S$1.$a]() { + return this.a; + } + set [S$1.$a](value) { + this.a = value; + } + get [S$1.$b]() { + return this.b; + } + set [S$1.$b](value) { + this.b = value; + } + get [S$1.$c]() { + return this.c; + } + set [S$1.$c](value) { + this.c = value; + } + get [S$1.$d]() { + return this.d; + } + set [S$1.$d](value) { + this.d = value; + } + get [S$1.$e]() { + return this.e; + } + set [S$1.$e](value) { + this.e = value; + } + get [S$1.$f]() { + return this.f; + } + set [S$1.$f](value) { + this.f = value; + } + [S$1.$flipX](...args) { + return this.flipX.apply(this, args); + } + [S$1.$flipY](...args) { + return this.flipY.apply(this, args); + } + [S$1.$inverse](...args) { + return this.inverse.apply(this, args); + } + [S$1.$multiply](...args) { + return this.multiply.apply(this, args); + } + [S$.$rotate](...args) { + return this.rotate.apply(this, args); + } + [S$1.$rotateFromVector](...args) { + return this.rotateFromVector.apply(this, args); + } + [S$.$scale](...args) { + return this.scale.apply(this, args); + } + [S$3.$scaleNonUniform](...args) { + return this.scaleNonUniform.apply(this, args); + } + [S$1.$skewX](...args) { + return this.skewX.apply(this, args); + } + [S$1.$skewY](...args) { + return this.skewY.apply(this, args); + } + [S.$translate](...args) { + return this.translate.apply(this, args); + } + }; + dart.addTypeTests(svg$.Matrix); + dart.addTypeCaches(svg$.Matrix); + dart.setMethodSignature(svg$.Matrix, () => ({ + __proto__: dart.getMethods(svg$.Matrix.__proto__), + [S$1.$flipX]: dart.fnType(svg$.Matrix, []), + [S$1.$flipY]: dart.fnType(svg$.Matrix, []), + [S$1.$inverse]: dart.fnType(svg$.Matrix, []), + [S$1.$multiply]: dart.fnType(svg$.Matrix, [svg$.Matrix]), + [S$.$rotate]: dart.fnType(svg$.Matrix, [core.num]), + [S$1.$rotateFromVector]: dart.fnType(svg$.Matrix, [core.num, core.num]), + [S$.$scale]: dart.fnType(svg$.Matrix, [core.num]), + [S$3.$scaleNonUniform]: dart.fnType(svg$.Matrix, [core.num, core.num]), + [S$1.$skewX]: dart.fnType(svg$.Matrix, [core.num]), + [S$1.$skewY]: dart.fnType(svg$.Matrix, [core.num]), + [S.$translate]: dart.fnType(svg$.Matrix, [core.num, core.num]) + })); + dart.setGetterSignature(svg$.Matrix, () => ({ + __proto__: dart.getGetters(svg$.Matrix.__proto__), + [S$1.$a]: dart.nullable(core.num), + [S$1.$b]: dart.nullable(core.num), + [S$1.$c]: dart.nullable(core.num), + [S$1.$d]: dart.nullable(core.num), + [S$1.$e]: dart.nullable(core.num), + [S$1.$f]: dart.nullable(core.num) + })); + dart.setSetterSignature(svg$.Matrix, () => ({ + __proto__: dart.getSetters(svg$.Matrix.__proto__), + [S$1.$a]: dart.nullable(core.num), + [S$1.$b]: dart.nullable(core.num), + [S$1.$c]: dart.nullable(core.num), + [S$1.$d]: dart.nullable(core.num), + [S$1.$e]: dart.nullable(core.num), + [S$1.$f]: dart.nullable(core.num) + })); + dart.setLibraryUri(svg$.Matrix, I[157]); + dart.registerExtension("SVGMatrix", svg$.Matrix); + svg$.MetadataElement = class MetadataElement extends svg$.SvgElement {}; + (svg$.MetadataElement.created = function() { + svg$.MetadataElement.__proto__.created.call(this); + ; + }).prototype = svg$.MetadataElement.prototype; + dart.addTypeTests(svg$.MetadataElement); + dart.addTypeCaches(svg$.MetadataElement); + dart.setLibraryUri(svg$.MetadataElement, I[157]); + dart.registerExtension("SVGMetadataElement", svg$.MetadataElement); + svg$.Number = class Number extends _interceptors.Interceptor { + get [S.$value]() { + return this.value; + } + set [S.$value](value) { + this.value = value; + } + }; + dart.addTypeTests(svg$.Number); + dart.addTypeCaches(svg$.Number); + dart.setGetterSignature(svg$.Number, () => ({ + __proto__: dart.getGetters(svg$.Number.__proto__), + [S.$value]: dart.nullable(core.num) + })); + dart.setSetterSignature(svg$.Number, () => ({ + __proto__: dart.getSetters(svg$.Number.__proto__), + [S.$value]: dart.nullable(core.num) + })); + dart.setLibraryUri(svg$.Number, I[157]); + dart.registerExtension("SVGNumber", svg$.Number); + const Interceptor_ListMixin$36$14 = class Interceptor_ListMixin extends _interceptors.Interceptor {}; + (Interceptor_ListMixin$36$14.new = function() { + Interceptor_ListMixin$36$14.__proto__.new.call(this); + }).prototype = Interceptor_ListMixin$36$14.prototype; + dart.applyMixin(Interceptor_ListMixin$36$14, collection.ListMixin$(svg$.Number)); + const Interceptor_ImmutableListMixin$36$14 = class Interceptor_ImmutableListMixin extends Interceptor_ListMixin$36$14 {}; + (Interceptor_ImmutableListMixin$36$14.new = function() { + Interceptor_ImmutableListMixin$36$14.__proto__.new.call(this); + }).prototype = Interceptor_ImmutableListMixin$36$14.prototype; + dart.applyMixin(Interceptor_ImmutableListMixin$36$14, html$.ImmutableListMixin$(svg$.Number)); + svg$.NumberList = class NumberList extends Interceptor_ImmutableListMixin$36$14 { + get [$length]() { + return this.length; + } + get [S$3.$numberOfItems]() { + return this.numberOfItems; + } + [$_get](index) { + if (index == null) dart.nullFailed(I[156], 2378, 26, "index"); + if (index >>> 0 !== index || index >= this[$length]) dart.throw(new core.IndexError.new(index, this)); + return this.getItem(index); + } + [$_set](index, value$) { + let value = value$; + if (index == null) dart.nullFailed(I[156], 2384, 25, "index"); + svg$.Number.as(value); + if (value == null) dart.nullFailed(I[156], 2384, 39, "value"); + dart.throw(new core.UnsupportedError.new("Cannot assign element of immutable List.")); + return value$; + } + set [$length](value) { + if (value == null) dart.nullFailed(I[156], 2390, 18, "value"); + dart.throw(new core.UnsupportedError.new("Cannot resize immutable List.")); + } + get [$first]() { + if (dart.notNull(this[$length]) > 0) { + return this[0]; + } + dart.throw(new core.StateError.new("No elements")); + } + set [$first](value) { + super[$first] = value; + } + get [$last]() { + let len = this[$length]; + if (dart.notNull(len) > 0) { + return this[dart.notNull(len) - 1]; + } + dart.throw(new core.StateError.new("No elements")); + } + set [$last](value) { + super[$last] = value; + } + get [$single]() { + let len = this[$length]; + if (len === 1) { + return this[0]; + } + if (len === 0) dart.throw(new core.StateError.new("No elements")); + dart.throw(new core.StateError.new("More than one element")); + } + [$elementAt](index) { + if (index == null) dart.nullFailed(I[156], 2418, 24, "index"); + return this[$_get](index); + } + [S$3.__setter__$1](...args) { + return this.__setter__.apply(this, args); + } + [S$3.$appendItem](...args) { + return this.appendItem.apply(this, args); + } + [$clear](...args) { + return this.clear.apply(this, args); + } + [S$3.$getItem](...args) { + return this.getItem.apply(this, args); + } + [S$3.$initialize](...args) { + return this.initialize.apply(this, args); + } + [S$3.$insertItemBefore](...args) { + return this.insertItemBefore.apply(this, args); + } + [S$3.$removeItem](...args) { + return this.removeItem.apply(this, args); + } + [S$3.$replaceItem](...args) { + return this.replaceItem.apply(this, args); + } + }; + svg$.NumberList.prototype[dart.isList] = true; + dart.addTypeTests(svg$.NumberList); + dart.addTypeCaches(svg$.NumberList); + svg$.NumberList[dart.implements] = () => [core.List$(svg$.Number)]; + dart.setMethodSignature(svg$.NumberList, () => ({ + __proto__: dart.getMethods(svg$.NumberList.__proto__), + [$_get]: dart.fnType(svg$.Number, [core.int]), + [$_set]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), + [S$3.__setter__$1]: dart.fnType(dart.void, [core.int, svg$.Number]), + [S$3.$appendItem]: dart.fnType(svg$.Number, [svg$.Number]), + [S$3.$getItem]: dart.fnType(svg$.Number, [core.int]), + [S$3.$initialize]: dart.fnType(svg$.Number, [svg$.Number]), + [S$3.$insertItemBefore]: dart.fnType(svg$.Number, [svg$.Number, core.int]), + [S$3.$removeItem]: dart.fnType(svg$.Number, [core.int]), + [S$3.$replaceItem]: dart.fnType(svg$.Number, [svg$.Number, core.int]) + })); + dart.setGetterSignature(svg$.NumberList, () => ({ + __proto__: dart.getGetters(svg$.NumberList.__proto__), + [$length]: core.int, + [S$3.$numberOfItems]: dart.nullable(core.int) + })); + dart.setSetterSignature(svg$.NumberList, () => ({ + __proto__: dart.getSetters(svg$.NumberList.__proto__), + [$length]: core.int + })); + dart.setLibraryUri(svg$.NumberList, I[157]); + dart.registerExtension("SVGNumberList", svg$.NumberList); + svg$.PathElement = class PathElement extends svg$.GeometryElement { + static new() { + return svg$.PathElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("path")); + } + }; + (svg$.PathElement.created = function() { + svg$.PathElement.__proto__.created.call(this); + ; + }).prototype = svg$.PathElement.prototype; + dart.addTypeTests(svg$.PathElement); + dart.addTypeCaches(svg$.PathElement); + dart.setLibraryUri(svg$.PathElement, I[157]); + dart.registerExtension("SVGPathElement", svg$.PathElement); + svg$.PatternElement = class PatternElement extends svg$.SvgElement { + static new() { + return svg$.PatternElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("pattern")); + } + get [$height]() { + return this.height; + } + get [S$3.$patternContentUnits]() { + return this.patternContentUnits; + } + get [S$3.$patternTransform]() { + return this.patternTransform; + } + get [S$3.$patternUnits]() { + return this.patternUnits; + } + get [$width]() { + return this.width; + } + get [S$.$x]() { + return this.x; + } + get [S$.$y]() { + return this.y; + } + get [S$3.$preserveAspectRatio]() { + return this.preserveAspectRatio; + } + get [S$3.$viewBox]() { + return this.viewBox; + } + get [S$3.$requiredExtensions]() { + return this.requiredExtensions; + } + get [S$3.$systemLanguage]() { + return this.systemLanguage; + } + get [S$.$href]() { + return this.href; + } + }; + (svg$.PatternElement.created = function() { + svg$.PatternElement.__proto__.created.call(this); + ; + }).prototype = svg$.PatternElement.prototype; + dart.addTypeTests(svg$.PatternElement); + dart.addTypeCaches(svg$.PatternElement); + svg$.PatternElement[dart.implements] = () => [svg$.FitToViewBox, svg$.UriReference, svg$.Tests]; + dart.setGetterSignature(svg$.PatternElement, () => ({ + __proto__: dart.getGetters(svg$.PatternElement.__proto__), + [$height]: dart.nullable(svg$.AnimatedLength), + [S$3.$patternContentUnits]: dart.nullable(svg$.AnimatedEnumeration), + [S$3.$patternTransform]: dart.nullable(svg$.AnimatedTransformList), + [S$3.$patternUnits]: dart.nullable(svg$.AnimatedEnumeration), + [$width]: dart.nullable(svg$.AnimatedLength), + [S$.$x]: dart.nullable(svg$.AnimatedLength), + [S$.$y]: dart.nullable(svg$.AnimatedLength), + [S$3.$preserveAspectRatio]: dart.nullable(svg$.AnimatedPreserveAspectRatio), + [S$3.$viewBox]: dart.nullable(svg$.AnimatedRect), + [S$3.$requiredExtensions]: dart.nullable(svg$.StringList), + [S$3.$systemLanguage]: dart.nullable(svg$.StringList), + [S$.$href]: dart.nullable(svg$.AnimatedString) + })); + dart.setLibraryUri(svg$.PatternElement, I[157]); + dart.registerExtension("SVGPatternElement", svg$.PatternElement); + svg$.Point = class Point extends _interceptors.Interceptor { + get [S$.$x]() { + return this.x; + } + set [S$.$x](value) { + this.x = value; + } + get [S$.$y]() { + return this.y; + } + set [S$.$y](value) { + this.y = value; + } + [S$1.$matrixTransform](...args) { + return this.matrixTransform.apply(this, args); + } + }; + dart.addTypeTests(svg$.Point); + dart.addTypeCaches(svg$.Point); + dart.setMethodSignature(svg$.Point, () => ({ + __proto__: dart.getMethods(svg$.Point.__proto__), + [S$1.$matrixTransform]: dart.fnType(svg$.Point, [svg$.Matrix]) + })); + dart.setGetterSignature(svg$.Point, () => ({ + __proto__: dart.getGetters(svg$.Point.__proto__), + [S$.$x]: dart.nullable(core.num), + [S$.$y]: dart.nullable(core.num) + })); + dart.setSetterSignature(svg$.Point, () => ({ + __proto__: dart.getSetters(svg$.Point.__proto__), + [S$.$x]: dart.nullable(core.num), + [S$.$y]: dart.nullable(core.num) + })); + dart.setLibraryUri(svg$.Point, I[157]); + dart.registerExtension("SVGPoint", svg$.Point); + svg$.PointList = class PointList extends _interceptors.Interceptor { + get [$length]() { + return this.length; + } + get [S$3.$numberOfItems]() { + return this.numberOfItems; + } + [S$3.__setter__$1](...args) { + return this.__setter__.apply(this, args); + } + [S$3.$appendItem](...args) { + return this.appendItem.apply(this, args); + } + [$clear](...args) { + return this.clear.apply(this, args); + } + [S$3.$getItem](...args) { + return this.getItem.apply(this, args); + } + [S$3.$initialize](...args) { + return this.initialize.apply(this, args); + } + [S$3.$insertItemBefore](...args) { + return this.insertItemBefore.apply(this, args); + } + [S$3.$removeItem](...args) { + return this.removeItem.apply(this, args); + } + [S$3.$replaceItem](...args) { + return this.replaceItem.apply(this, args); + } + }; + dart.addTypeTests(svg$.PointList); + dart.addTypeCaches(svg$.PointList); + dart.setMethodSignature(svg$.PointList, () => ({ + __proto__: dart.getMethods(svg$.PointList.__proto__), + [S$3.__setter__$1]: dart.fnType(dart.void, [core.int, svg$.Point]), + [S$3.$appendItem]: dart.fnType(svg$.Point, [svg$.Point]), + [$clear]: dart.fnType(dart.void, []), + [S$3.$getItem]: dart.fnType(svg$.Point, [core.int]), + [S$3.$initialize]: dart.fnType(svg$.Point, [svg$.Point]), + [S$3.$insertItemBefore]: dart.fnType(svg$.Point, [svg$.Point, core.int]), + [S$3.$removeItem]: dart.fnType(svg$.Point, [core.int]), + [S$3.$replaceItem]: dart.fnType(svg$.Point, [svg$.Point, core.int]) + })); + dart.setGetterSignature(svg$.PointList, () => ({ + __proto__: dart.getGetters(svg$.PointList.__proto__), + [$length]: dart.nullable(core.int), + [S$3.$numberOfItems]: dart.nullable(core.int) + })); + dart.setLibraryUri(svg$.PointList, I[157]); + dart.registerExtension("SVGPointList", svg$.PointList); + svg$.PolygonElement = class PolygonElement extends svg$.GeometryElement { + static new() { + return svg$.PolygonElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("polygon")); + } + get [S$3.$animatedPoints]() { + return this.animatedPoints; + } + get [S$3.$points]() { + return this.points; + } + }; + (svg$.PolygonElement.created = function() { + svg$.PolygonElement.__proto__.created.call(this); + ; + }).prototype = svg$.PolygonElement.prototype; + dart.addTypeTests(svg$.PolygonElement); + dart.addTypeCaches(svg$.PolygonElement); + dart.setGetterSignature(svg$.PolygonElement, () => ({ + __proto__: dart.getGetters(svg$.PolygonElement.__proto__), + [S$3.$animatedPoints]: dart.nullable(svg$.PointList), + [S$3.$points]: svg$.PointList + })); + dart.setLibraryUri(svg$.PolygonElement, I[157]); + dart.registerExtension("SVGPolygonElement", svg$.PolygonElement); + svg$.PolylineElement = class PolylineElement extends svg$.GeometryElement { + static new() { + return svg$.PolylineElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("polyline")); + } + get [S$3.$animatedPoints]() { + return this.animatedPoints; + } + get [S$3.$points]() { + return this.points; + } + }; + (svg$.PolylineElement.created = function() { + svg$.PolylineElement.__proto__.created.call(this); + ; + }).prototype = svg$.PolylineElement.prototype; + dart.addTypeTests(svg$.PolylineElement); + dart.addTypeCaches(svg$.PolylineElement); + dart.setGetterSignature(svg$.PolylineElement, () => ({ + __proto__: dart.getGetters(svg$.PolylineElement.__proto__), + [S$3.$animatedPoints]: dart.nullable(svg$.PointList), + [S$3.$points]: svg$.PointList + })); + dart.setLibraryUri(svg$.PolylineElement, I[157]); + dart.registerExtension("SVGPolylineElement", svg$.PolylineElement); + svg$.PreserveAspectRatio = class PreserveAspectRatio extends _interceptors.Interceptor { + get [S$3.$align]() { + return this.align; + } + set [S$3.$align](value) { + this.align = value; + } + get [S$3.$meetOrSlice]() { + return this.meetOrSlice; + } + set [S$3.$meetOrSlice](value) { + this.meetOrSlice = value; + } + }; + dart.addTypeTests(svg$.PreserveAspectRatio); + dart.addTypeCaches(svg$.PreserveAspectRatio); + dart.setGetterSignature(svg$.PreserveAspectRatio, () => ({ + __proto__: dart.getGetters(svg$.PreserveAspectRatio.__proto__), + [S$3.$align]: dart.nullable(core.int), + [S$3.$meetOrSlice]: dart.nullable(core.int) + })); + dart.setSetterSignature(svg$.PreserveAspectRatio, () => ({ + __proto__: dart.getSetters(svg$.PreserveAspectRatio.__proto__), + [S$3.$align]: dart.nullable(core.int), + [S$3.$meetOrSlice]: dart.nullable(core.int) + })); + dart.setLibraryUri(svg$.PreserveAspectRatio, I[157]); + dart.defineLazy(svg$.PreserveAspectRatio, { + /*svg$.PreserveAspectRatio.SVG_MEETORSLICE_MEET*/get SVG_MEETORSLICE_MEET() { + return 1; + }, + /*svg$.PreserveAspectRatio.SVG_MEETORSLICE_SLICE*/get SVG_MEETORSLICE_SLICE() { + return 2; + }, + /*svg$.PreserveAspectRatio.SVG_MEETORSLICE_UNKNOWN*/get SVG_MEETORSLICE_UNKNOWN() { + return 0; + }, + /*svg$.PreserveAspectRatio.SVG_PRESERVEASPECTRATIO_NONE*/get SVG_PRESERVEASPECTRATIO_NONE() { + return 1; + }, + /*svg$.PreserveAspectRatio.SVG_PRESERVEASPECTRATIO_UNKNOWN*/get SVG_PRESERVEASPECTRATIO_UNKNOWN() { + return 0; + }, + /*svg$.PreserveAspectRatio.SVG_PRESERVEASPECTRATIO_XMAXYMAX*/get SVG_PRESERVEASPECTRATIO_XMAXYMAX() { + return 10; + }, + /*svg$.PreserveAspectRatio.SVG_PRESERVEASPECTRATIO_XMAXYMID*/get SVG_PRESERVEASPECTRATIO_XMAXYMID() { + return 7; + }, + /*svg$.PreserveAspectRatio.SVG_PRESERVEASPECTRATIO_XMAXYMIN*/get SVG_PRESERVEASPECTRATIO_XMAXYMIN() { + return 4; + }, + /*svg$.PreserveAspectRatio.SVG_PRESERVEASPECTRATIO_XMIDYMAX*/get SVG_PRESERVEASPECTRATIO_XMIDYMAX() { + return 9; + }, + /*svg$.PreserveAspectRatio.SVG_PRESERVEASPECTRATIO_XMIDYMID*/get SVG_PRESERVEASPECTRATIO_XMIDYMID() { + return 6; + }, + /*svg$.PreserveAspectRatio.SVG_PRESERVEASPECTRATIO_XMIDYMIN*/get SVG_PRESERVEASPECTRATIO_XMIDYMIN() { + return 3; + }, + /*svg$.PreserveAspectRatio.SVG_PRESERVEASPECTRATIO_XMINYMAX*/get SVG_PRESERVEASPECTRATIO_XMINYMAX() { + return 8; + }, + /*svg$.PreserveAspectRatio.SVG_PRESERVEASPECTRATIO_XMINYMID*/get SVG_PRESERVEASPECTRATIO_XMINYMID() { + return 5; + }, + /*svg$.PreserveAspectRatio.SVG_PRESERVEASPECTRATIO_XMINYMIN*/get SVG_PRESERVEASPECTRATIO_XMINYMIN() { + return 2; + } + }, false); + dart.registerExtension("SVGPreserveAspectRatio", svg$.PreserveAspectRatio); + svg$.RadialGradientElement = class RadialGradientElement extends svg$._GradientElement { + static new() { + return svg$.RadialGradientElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("radialGradient")); + } + get [S$3.$cx]() { + return this.cx; + } + get [S$3.$cy]() { + return this.cy; + } + get [S$3.$fr]() { + return this.fr; + } + get [S$3.$fx]() { + return this.fx; + } + get [S$3.$fy]() { + return this.fy; + } + get [S$3.$r]() { + return this.r; + } + }; + (svg$.RadialGradientElement.created = function() { + svg$.RadialGradientElement.__proto__.created.call(this); + ; + }).prototype = svg$.RadialGradientElement.prototype; + dart.addTypeTests(svg$.RadialGradientElement); + dart.addTypeCaches(svg$.RadialGradientElement); + dart.setGetterSignature(svg$.RadialGradientElement, () => ({ + __proto__: dart.getGetters(svg$.RadialGradientElement.__proto__), + [S$3.$cx]: dart.nullable(svg$.AnimatedLength), + [S$3.$cy]: dart.nullable(svg$.AnimatedLength), + [S$3.$fr]: dart.nullable(svg$.AnimatedLength), + [S$3.$fx]: dart.nullable(svg$.AnimatedLength), + [S$3.$fy]: dart.nullable(svg$.AnimatedLength), + [S$3.$r]: dart.nullable(svg$.AnimatedLength) + })); + dart.setLibraryUri(svg$.RadialGradientElement, I[157]); + dart.registerExtension("SVGRadialGradientElement", svg$.RadialGradientElement); + svg$.Rect = class Rect extends _interceptors.Interceptor { + get [$height]() { + return this.height; + } + set [$height](value) { + this.height = value; + } + get [$width]() { + return this.width; + } + set [$width](value) { + this.width = value; + } + get [S$.$x]() { + return this.x; + } + set [S$.$x](value) { + this.x = value; + } + get [S$.$y]() { + return this.y; + } + set [S$.$y](value) { + this.y = value; + } + }; + dart.addTypeTests(svg$.Rect); + dart.addTypeCaches(svg$.Rect); + dart.setGetterSignature(svg$.Rect, () => ({ + __proto__: dart.getGetters(svg$.Rect.__proto__), + [$height]: dart.nullable(core.num), + [$width]: dart.nullable(core.num), + [S$.$x]: dart.nullable(core.num), + [S$.$y]: dart.nullable(core.num) + })); + dart.setSetterSignature(svg$.Rect, () => ({ + __proto__: dart.getSetters(svg$.Rect.__proto__), + [$height]: dart.nullable(core.num), + [$width]: dart.nullable(core.num), + [S$.$x]: dart.nullable(core.num), + [S$.$y]: dart.nullable(core.num) + })); + dart.setLibraryUri(svg$.Rect, I[157]); + dart.registerExtension("SVGRect", svg$.Rect); + svg$.RectElement = class RectElement extends svg$.GeometryElement { + static new() { + return svg$.RectElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("rect")); + } + get [$height]() { + return this.height; + } + get [S$3.$rx]() { + return this.rx; + } + get [S$3.$ry]() { + return this.ry; + } + get [$width]() { + return this.width; + } + get [S$.$x]() { + return this.x; + } + get [S$.$y]() { + return this.y; + } + }; + (svg$.RectElement.created = function() { + svg$.RectElement.__proto__.created.call(this); + ; + }).prototype = svg$.RectElement.prototype; + dart.addTypeTests(svg$.RectElement); + dart.addTypeCaches(svg$.RectElement); + dart.setGetterSignature(svg$.RectElement, () => ({ + __proto__: dart.getGetters(svg$.RectElement.__proto__), + [$height]: dart.nullable(svg$.AnimatedLength), + [S$3.$rx]: dart.nullable(svg$.AnimatedLength), + [S$3.$ry]: dart.nullable(svg$.AnimatedLength), + [$width]: dart.nullable(svg$.AnimatedLength), + [S$.$x]: dart.nullable(svg$.AnimatedLength), + [S$.$y]: dart.nullable(svg$.AnimatedLength) + })); + dart.setLibraryUri(svg$.RectElement, I[157]); + dart.registerExtension("SVGRectElement", svg$.RectElement); + svg$.ScriptElement = class ScriptElement extends svg$.SvgElement { + static new() { + return svg$.ScriptElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("script")); + } + get [S.$type]() { + return this.type; + } + set [S.$type](value) { + this.type = value; + } + get [S$.$href]() { + return this.href; + } + }; + (svg$.ScriptElement.created = function() { + svg$.ScriptElement.__proto__.created.call(this); + ; + }).prototype = svg$.ScriptElement.prototype; + dart.addTypeTests(svg$.ScriptElement); + dart.addTypeCaches(svg$.ScriptElement); + svg$.ScriptElement[dart.implements] = () => [svg$.UriReference]; + dart.setGetterSignature(svg$.ScriptElement, () => ({ + __proto__: dart.getGetters(svg$.ScriptElement.__proto__), + [S.$type]: dart.nullable(core.String), + [S$.$href]: dart.nullable(svg$.AnimatedString) + })); + dart.setSetterSignature(svg$.ScriptElement, () => ({ + __proto__: dart.getSetters(svg$.ScriptElement.__proto__), + [S.$type]: dart.nullable(core.String) + })); + dart.setLibraryUri(svg$.ScriptElement, I[157]); + dart.registerExtension("SVGScriptElement", svg$.ScriptElement); + svg$.SetElement = class SetElement extends svg$.AnimationElement { + static new() { + return svg$.SetElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("set")); + } + static get supported() { + return dart.test(svg$.SvgElement.isTagSupported("set")) && svg$.SetElement.is(svg$.SvgElement.tag("set")); + } + }; + (svg$.SetElement.created = function() { + svg$.SetElement.__proto__.created.call(this); + ; + }).prototype = svg$.SetElement.prototype; + dart.addTypeTests(svg$.SetElement); + dart.addTypeCaches(svg$.SetElement); + dart.setLibraryUri(svg$.SetElement, I[157]); + dart.registerExtension("SVGSetElement", svg$.SetElement); + svg$.StopElement = class StopElement extends svg$.SvgElement { + static new() { + return svg$.StopElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("stop")); + } + get [S$3.$gradientOffset]() { + return this.offset; + } + }; + (svg$.StopElement.created = function() { + svg$.StopElement.__proto__.created.call(this); + ; + }).prototype = svg$.StopElement.prototype; + dart.addTypeTests(svg$.StopElement); + dart.addTypeCaches(svg$.StopElement); + dart.setGetterSignature(svg$.StopElement, () => ({ + __proto__: dart.getGetters(svg$.StopElement.__proto__), + [S$3.$gradientOffset]: svg$.AnimatedNumber + })); + dart.setLibraryUri(svg$.StopElement, I[157]); + dart.registerExtension("SVGStopElement", svg$.StopElement); + const Interceptor_ListMixin$36$15 = class Interceptor_ListMixin extends _interceptors.Interceptor {}; + (Interceptor_ListMixin$36$15.new = function() { + Interceptor_ListMixin$36$15.__proto__.new.call(this); + }).prototype = Interceptor_ListMixin$36$15.prototype; + dart.applyMixin(Interceptor_ListMixin$36$15, collection.ListMixin$(core.String)); + const Interceptor_ImmutableListMixin$36$15 = class Interceptor_ImmutableListMixin extends Interceptor_ListMixin$36$15 {}; + (Interceptor_ImmutableListMixin$36$15.new = function() { + Interceptor_ImmutableListMixin$36$15.__proto__.new.call(this); + }).prototype = Interceptor_ImmutableListMixin$36$15.prototype; + dart.applyMixin(Interceptor_ImmutableListMixin$36$15, html$.ImmutableListMixin$(core.String)); + svg$.StringList = class StringList extends Interceptor_ImmutableListMixin$36$15 { + get [$length]() { + return this.length; + } + get [S$3.$numberOfItems]() { + return this.numberOfItems; + } + [$_get](index) { + if (index == null) dart.nullFailed(I[156], 2861, 26, "index"); + if (index >>> 0 !== index || index >= this[$length]) dart.throw(new core.IndexError.new(index, this)); + return this.getItem(index); + } + [$_set](index, value$) { + let value = value$; + if (index == null) dart.nullFailed(I[156], 2867, 25, "index"); + core.String.as(value); + if (value == null) dart.nullFailed(I[156], 2867, 39, "value"); + dart.throw(new core.UnsupportedError.new("Cannot assign element of immutable List.")); + return value$; + } + set [$length](value) { + if (value == null) dart.nullFailed(I[156], 2873, 18, "value"); + dart.throw(new core.UnsupportedError.new("Cannot resize immutable List.")); + } + get [$first]() { + if (dart.notNull(this[$length]) > 0) { + return this[0]; + } + dart.throw(new core.StateError.new("No elements")); + } + set [$first](value) { + super[$first] = value; + } + get [$last]() { + let len = this[$length]; + if (dart.notNull(len) > 0) { + return this[dart.notNull(len) - 1]; + } + dart.throw(new core.StateError.new("No elements")); + } + set [$last](value) { + super[$last] = value; + } + get [$single]() { + let len = this[$length]; + if (len === 1) { + return this[0]; + } + if (len === 0) dart.throw(new core.StateError.new("No elements")); + dart.throw(new core.StateError.new("More than one element")); + } + [$elementAt](index) { + if (index == null) dart.nullFailed(I[156], 2901, 24, "index"); + return this[$_get](index); + } + [S$3.__setter__$1](...args) { + return this.__setter__.apply(this, args); + } + [S$3.$appendItem](...args) { + return this.appendItem.apply(this, args); + } + [$clear](...args) { + return this.clear.apply(this, args); + } + [S$3.$getItem](...args) { + return this.getItem.apply(this, args); + } + [S$3.$initialize](...args) { + return this.initialize.apply(this, args); + } + [S$3.$insertItemBefore](...args) { + return this.insertItemBefore.apply(this, args); + } + [S$3.$removeItem](...args) { + return this.removeItem.apply(this, args); + } + [S$3.$replaceItem](...args) { + return this.replaceItem.apply(this, args); + } + }; + svg$.StringList.prototype[dart.isList] = true; + dart.addTypeTests(svg$.StringList); + dart.addTypeCaches(svg$.StringList); + svg$.StringList[dart.implements] = () => [core.List$(core.String)]; + dart.setMethodSignature(svg$.StringList, () => ({ + __proto__: dart.getMethods(svg$.StringList.__proto__), + [$_get]: dart.fnType(core.String, [core.int]), + [$_set]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), + [S$3.__setter__$1]: dart.fnType(dart.void, [core.int, core.String]), + [S$3.$appendItem]: dart.fnType(core.String, [core.String]), + [S$3.$getItem]: dart.fnType(core.String, [core.int]), + [S$3.$initialize]: dart.fnType(core.String, [core.String]), + [S$3.$insertItemBefore]: dart.fnType(core.String, [core.String, core.int]), + [S$3.$removeItem]: dart.fnType(core.String, [core.int]), + [S$3.$replaceItem]: dart.fnType(core.String, [core.String, core.int]) + })); + dart.setGetterSignature(svg$.StringList, () => ({ + __proto__: dart.getGetters(svg$.StringList.__proto__), + [$length]: core.int, + [S$3.$numberOfItems]: dart.nullable(core.int) + })); + dart.setSetterSignature(svg$.StringList, () => ({ + __proto__: dart.getSetters(svg$.StringList.__proto__), + [$length]: core.int + })); + dart.setLibraryUri(svg$.StringList, I[157]); + dart.registerExtension("SVGStringList", svg$.StringList); + svg$.StyleElement = class StyleElement extends svg$.SvgElement { + static new() { + return svg$.StyleElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("style")); + } + get [S$.$disabled]() { + return this.disabled; + } + set [S$.$disabled](value) { + this.disabled = value; + } + get [S$.$media]() { + return this.media; + } + set [S$.$media](value) { + this.media = value; + } + get [S$1.$sheet]() { + return this.sheet; + } + get [S.$type]() { + return this.type; + } + set [S.$type](value) { + this.type = value; + } + }; + (svg$.StyleElement.created = function() { + svg$.StyleElement.__proto__.created.call(this); + ; + }).prototype = svg$.StyleElement.prototype; + dart.addTypeTests(svg$.StyleElement); + dart.addTypeCaches(svg$.StyleElement); + dart.setGetterSignature(svg$.StyleElement, () => ({ + __proto__: dart.getGetters(svg$.StyleElement.__proto__), + [S$.$disabled]: dart.nullable(core.bool), + [S$.$media]: dart.nullable(core.String), + [S$1.$sheet]: dart.nullable(html$.StyleSheet), + [S.$type]: dart.nullable(core.String) + })); + dart.setSetterSignature(svg$.StyleElement, () => ({ + __proto__: dart.getSetters(svg$.StyleElement.__proto__), + [S$.$disabled]: dart.nullable(core.bool), + [S$.$media]: dart.nullable(core.String), + [S.$type]: dart.nullable(core.String) + })); + dart.setLibraryUri(svg$.StyleElement, I[157]); + dart.registerExtension("SVGStyleElement", svg$.StyleElement); + svg$.AttributeClassSet = class AttributeClassSet extends html_common.CssClassSetImpl { + readClasses() { + let classname = this[S$3._element$3][S.$attributes][$_get]("class"); + if (svg$.AnimatedString.is(classname)) { + classname = svg$.AnimatedString.as(classname).baseVal; + } + let s = new (T$0._IdentityHashSetOfString()).new(); + if (classname == null) { + return s; + } + for (let name of classname[$split](" ")) { + let trimmed = name[$trim](); + if (!trimmed[$isEmpty]) { + s.add(trimmed); + } + } + return s; + } + writeClasses(s) { + if (s == null) dart.nullFailed(I[156], 2986, 25, "s"); + this[S$3._element$3][S.$setAttribute]("class", s[$join](" ")); + } + }; + (svg$.AttributeClassSet.new = function(_element) { + if (_element == null) dart.nullFailed(I[156], 2965, 26, "_element"); + this[S$3._element$3] = _element; + ; + }).prototype = svg$.AttributeClassSet.prototype; + dart.addTypeTests(svg$.AttributeClassSet); + dart.addTypeCaches(svg$.AttributeClassSet); + dart.setMethodSignature(svg$.AttributeClassSet, () => ({ + __proto__: dart.getMethods(svg$.AttributeClassSet.__proto__), + readClasses: dart.fnType(core.Set$(core.String), []), + writeClasses: dart.fnType(dart.void, [core.Set]) + })); + dart.setLibraryUri(svg$.AttributeClassSet, I[157]); + dart.setFieldSignature(svg$.AttributeClassSet, () => ({ + __proto__: dart.getFields(svg$.AttributeClassSet.__proto__), + [S$3._element$3]: dart.finalFieldType(html$.Element) + })); + svg$.SvgSvgElement = class SvgSvgElement extends svg$.GraphicsElement { + static new() { + let el = svg$.SvgElement.tag("svg"); + el[S.$attributes][$_set]("version", "1.1"); + return svg$.SvgSvgElement.as(el); + } + get [S$3.$currentScale]() { + return this.currentScale; + } + set [S$3.$currentScale](value) { + this.currentScale = value; + } + get [S$3.$currentTranslate]() { + return this.currentTranslate; + } + get [$height]() { + return this.height; + } + get [$width]() { + return this.width; + } + get [S$.$x]() { + return this.x; + } + get [S$.$y]() { + return this.y; + } + [S$3.$animationsPaused](...args) { + return this.animationsPaused.apply(this, args); + } + [S$3.$checkEnclosure](...args) { + return this.checkEnclosure.apply(this, args); + } + [S$3.$checkIntersection](...args) { + return this.checkIntersection.apply(this, args); + } + [S$3.$createSvgAngle](...args) { + return this.createSVGAngle.apply(this, args); + } + [S$3.$createSvgLength](...args) { + return this.createSVGLength.apply(this, args); + } + [S$3.$createSvgMatrix](...args) { + return this.createSVGMatrix.apply(this, args); + } + [S$3.$createSvgNumber](...args) { + return this.createSVGNumber.apply(this, args); + } + [S$3.$createSvgPoint](...args) { + return this.createSVGPoint.apply(this, args); + } + [S$3.$createSvgRect](...args) { + return this.createSVGRect.apply(this, args); + } + [S$3.$createSvgTransform](...args) { + return this.createSVGTransform.apply(this, args); + } + [S$3.$createSvgTransformFromMatrix](...args) { + return this.createSVGTransformFromMatrix.apply(this, args); + } + [S$3.$deselectAll](...args) { + return this.deselectAll.apply(this, args); + } + [S$3.$forceRedraw](...args) { + return this.forceRedraw.apply(this, args); + } + [S$3.$getCurrentTime](...args) { + return this.getCurrentTime.apply(this, args); + } + [S$1.$getElementById](...args) { + return this.getElementById.apply(this, args); + } + [S$3.$getEnclosureList](...args) { + return this.getEnclosureList.apply(this, args); + } + [S$3.$getIntersectionList](...args) { + return this.getIntersectionList.apply(this, args); + } + [S$3.$pauseAnimations](...args) { + return this.pauseAnimations.apply(this, args); + } + [S$3.$setCurrentTime](...args) { + return this.setCurrentTime.apply(this, args); + } + [S$3.$suspendRedraw](...args) { + return this.suspendRedraw.apply(this, args); + } + [S$3.$unpauseAnimations](...args) { + return this.unpauseAnimations.apply(this, args); + } + [S$3.$unsuspendRedraw](...args) { + return this.unsuspendRedraw.apply(this, args); + } + [S$3.$unsuspendRedrawAll](...args) { + return this.unsuspendRedrawAll.apply(this, args); + } + get [S$3.$preserveAspectRatio]() { + return this.preserveAspectRatio; + } + get [S$3.$viewBox]() { + return this.viewBox; + } + get [S$3.$zoomAndPan]() { + return this.zoomAndPan; + } + set [S$3.$zoomAndPan](value) { + this.zoomAndPan = value; + } + }; + (svg$.SvgSvgElement.created = function() { + svg$.SvgSvgElement.__proto__.created.call(this); + ; + }).prototype = svg$.SvgSvgElement.prototype; + dart.addTypeTests(svg$.SvgSvgElement); + dart.addTypeCaches(svg$.SvgSvgElement); + svg$.SvgSvgElement[dart.implements] = () => [svg$.FitToViewBox, svg$.ZoomAndPan]; + dart.setMethodSignature(svg$.SvgSvgElement, () => ({ + __proto__: dart.getMethods(svg$.SvgSvgElement.__proto__), + [S$3.$animationsPaused]: dart.fnType(core.bool, []), + [S$3.$checkEnclosure]: dart.fnType(core.bool, [svg$.SvgElement, svg$.Rect]), + [S$3.$checkIntersection]: dart.fnType(core.bool, [svg$.SvgElement, svg$.Rect]), + [S$3.$createSvgAngle]: dart.fnType(svg$.Angle, []), + [S$3.$createSvgLength]: dart.fnType(svg$.Length, []), + [S$3.$createSvgMatrix]: dart.fnType(svg$.Matrix, []), + [S$3.$createSvgNumber]: dart.fnType(svg$.Number, []), + [S$3.$createSvgPoint]: dart.fnType(svg$.Point, []), + [S$3.$createSvgRect]: dart.fnType(svg$.Rect, []), + [S$3.$createSvgTransform]: dart.fnType(svg$.Transform, []), + [S$3.$createSvgTransformFromMatrix]: dart.fnType(svg$.Transform, [svg$.Matrix]), + [S$3.$deselectAll]: dart.fnType(dart.void, []), + [S$3.$forceRedraw]: dart.fnType(dart.void, []), + [S$3.$getCurrentTime]: dart.fnType(core.double, []), + [S$1.$getElementById]: dart.fnType(html$.Element, [core.String]), + [S$3.$getEnclosureList]: dart.fnType(core.List$(html$.Node), [svg$.Rect, dart.nullable(svg$.SvgElement)]), + [S$3.$getIntersectionList]: dart.fnType(core.List$(html$.Node), [svg$.Rect, dart.nullable(svg$.SvgElement)]), + [S$3.$pauseAnimations]: dart.fnType(dart.void, []), + [S$3.$setCurrentTime]: dart.fnType(dart.void, [core.num]), + [S$3.$suspendRedraw]: dart.fnType(core.int, [core.int]), + [S$3.$unpauseAnimations]: dart.fnType(dart.void, []), + [S$3.$unsuspendRedraw]: dart.fnType(dart.void, [core.int]), + [S$3.$unsuspendRedrawAll]: dart.fnType(dart.void, []) + })); + dart.setGetterSignature(svg$.SvgSvgElement, () => ({ + __proto__: dart.getGetters(svg$.SvgSvgElement.__proto__), + [S$3.$currentScale]: dart.nullable(core.num), + [S$3.$currentTranslate]: dart.nullable(svg$.Point), + [$height]: dart.nullable(svg$.AnimatedLength), + [$width]: dart.nullable(svg$.AnimatedLength), + [S$.$x]: dart.nullable(svg$.AnimatedLength), + [S$.$y]: dart.nullable(svg$.AnimatedLength), + [S$3.$preserveAspectRatio]: dart.nullable(svg$.AnimatedPreserveAspectRatio), + [S$3.$viewBox]: dart.nullable(svg$.AnimatedRect), + [S$3.$zoomAndPan]: dart.nullable(core.int) + })); + dart.setSetterSignature(svg$.SvgSvgElement, () => ({ + __proto__: dart.getSetters(svg$.SvgSvgElement.__proto__), + [S$3.$currentScale]: dart.nullable(core.num), + [S$3.$zoomAndPan]: dart.nullable(core.int) + })); + dart.setLibraryUri(svg$.SvgSvgElement, I[157]); + dart.registerExtension("SVGSVGElement", svg$.SvgSvgElement); + svg$.SwitchElement = class SwitchElement extends svg$.GraphicsElement { + static new() { + return svg$.SwitchElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("switch")); + } + }; + (svg$.SwitchElement.created = function() { + svg$.SwitchElement.__proto__.created.call(this); + ; + }).prototype = svg$.SwitchElement.prototype; + dart.addTypeTests(svg$.SwitchElement); + dart.addTypeCaches(svg$.SwitchElement); + dart.setLibraryUri(svg$.SwitchElement, I[157]); + dart.registerExtension("SVGSwitchElement", svg$.SwitchElement); + svg$.SymbolElement = class SymbolElement extends svg$.SvgElement { + static new() { + return svg$.SymbolElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("symbol")); + } + get [S$3.$preserveAspectRatio]() { + return this.preserveAspectRatio; + } + get [S$3.$viewBox]() { + return this.viewBox; + } + }; + (svg$.SymbolElement.created = function() { + svg$.SymbolElement.__proto__.created.call(this); + ; + }).prototype = svg$.SymbolElement.prototype; + dart.addTypeTests(svg$.SymbolElement); + dart.addTypeCaches(svg$.SymbolElement); + svg$.SymbolElement[dart.implements] = () => [svg$.FitToViewBox]; + dart.setGetterSignature(svg$.SymbolElement, () => ({ + __proto__: dart.getGetters(svg$.SymbolElement.__proto__), + [S$3.$preserveAspectRatio]: dart.nullable(svg$.AnimatedPreserveAspectRatio), + [S$3.$viewBox]: dart.nullable(svg$.AnimatedRect) + })); + dart.setLibraryUri(svg$.SymbolElement, I[157]); + dart.registerExtension("SVGSymbolElement", svg$.SymbolElement); + svg$.TextContentElement = class TextContentElement extends svg$.GraphicsElement { + get [S$3.$lengthAdjust]() { + return this.lengthAdjust; + } + get [S$2.$textLength]() { + return this.textLength; + } + [S$3.$getCharNumAtPosition](...args) { + return this.getCharNumAtPosition.apply(this, args); + } + [S$3.$getComputedTextLength](...args) { + return this.getComputedTextLength.apply(this, args); + } + [S$3.$getEndPositionOfChar](...args) { + return this.getEndPositionOfChar.apply(this, args); + } + [S$3.$getExtentOfChar](...args) { + return this.getExtentOfChar.apply(this, args); + } + [S$3.$getNumberOfChars](...args) { + return this.getNumberOfChars.apply(this, args); + } + [S$3.$getRotationOfChar](...args) { + return this.getRotationOfChar.apply(this, args); + } + [S$3.$getStartPositionOfChar](...args) { + return this.getStartPositionOfChar.apply(this, args); + } + [S$3.$getSubStringLength](...args) { + return this.getSubStringLength.apply(this, args); + } + [S$3.$selectSubString](...args) { + return this.selectSubString.apply(this, args); + } + }; + (svg$.TextContentElement.created = function() { + svg$.TextContentElement.__proto__.created.call(this); + ; + }).prototype = svg$.TextContentElement.prototype; + dart.addTypeTests(svg$.TextContentElement); + dart.addTypeCaches(svg$.TextContentElement); + dart.setMethodSignature(svg$.TextContentElement, () => ({ + __proto__: dart.getMethods(svg$.TextContentElement.__proto__), + [S$3.$getCharNumAtPosition]: dart.fnType(core.int, [svg$.Point]), + [S$3.$getComputedTextLength]: dart.fnType(core.double, []), + [S$3.$getEndPositionOfChar]: dart.fnType(svg$.Point, [core.int]), + [S$3.$getExtentOfChar]: dart.fnType(svg$.Rect, [core.int]), + [S$3.$getNumberOfChars]: dart.fnType(core.int, []), + [S$3.$getRotationOfChar]: dart.fnType(core.double, [core.int]), + [S$3.$getStartPositionOfChar]: dart.fnType(svg$.Point, [core.int]), + [S$3.$getSubStringLength]: dart.fnType(core.double, [core.int, core.int]), + [S$3.$selectSubString]: dart.fnType(dart.void, [core.int, core.int]) + })); + dart.setGetterSignature(svg$.TextContentElement, () => ({ + __proto__: dart.getGetters(svg$.TextContentElement.__proto__), + [S$3.$lengthAdjust]: dart.nullable(svg$.AnimatedEnumeration), + [S$2.$textLength]: dart.nullable(svg$.AnimatedLength) + })); + dart.setLibraryUri(svg$.TextContentElement, I[157]); + dart.defineLazy(svg$.TextContentElement, { + /*svg$.TextContentElement.LENGTHADJUST_SPACING*/get LENGTHADJUST_SPACING() { + return 1; + }, + /*svg$.TextContentElement.LENGTHADJUST_SPACINGANDGLYPHS*/get LENGTHADJUST_SPACINGANDGLYPHS() { + return 2; + }, + /*svg$.TextContentElement.LENGTHADJUST_UNKNOWN*/get LENGTHADJUST_UNKNOWN() { + return 0; + } + }, false); + dart.registerExtension("SVGTextContentElement", svg$.TextContentElement); + svg$.TextPositioningElement = class TextPositioningElement extends svg$.TextContentElement { + get [S$3.$dx]() { + return this.dx; + } + get [S$3.$dy]() { + return this.dy; + } + get [S$.$rotate]() { + return this.rotate; + } + get [S$.$x]() { + return this.x; + } + get [S$.$y]() { + return this.y; + } + }; + (svg$.TextPositioningElement.created = function() { + svg$.TextPositioningElement.__proto__.created.call(this); + ; + }).prototype = svg$.TextPositioningElement.prototype; + dart.addTypeTests(svg$.TextPositioningElement); + dart.addTypeCaches(svg$.TextPositioningElement); + dart.setGetterSignature(svg$.TextPositioningElement, () => ({ + __proto__: dart.getGetters(svg$.TextPositioningElement.__proto__), + [S$3.$dx]: dart.nullable(svg$.AnimatedLengthList), + [S$3.$dy]: dart.nullable(svg$.AnimatedLengthList), + [S$.$rotate]: dart.nullable(svg$.AnimatedNumberList), + [S$.$x]: dart.nullable(svg$.AnimatedLengthList), + [S$.$y]: dart.nullable(svg$.AnimatedLengthList) + })); + dart.setLibraryUri(svg$.TextPositioningElement, I[157]); + dart.registerExtension("SVGTextPositioningElement", svg$.TextPositioningElement); + svg$.TSpanElement = class TSpanElement extends svg$.TextPositioningElement { + static new() { + return svg$.TSpanElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("tspan")); + } + }; + (svg$.TSpanElement.created = function() { + svg$.TSpanElement.__proto__.created.call(this); + ; + }).prototype = svg$.TSpanElement.prototype; + dart.addTypeTests(svg$.TSpanElement); + dart.addTypeCaches(svg$.TSpanElement); + dart.setLibraryUri(svg$.TSpanElement, I[157]); + dart.registerExtension("SVGTSpanElement", svg$.TSpanElement); + svg$.Tests = class Tests extends _interceptors.Interceptor { + get requiredExtensions() { + return this.requiredExtensions; + } + get systemLanguage() { + return this.systemLanguage; + } + }; + dart.addTypeTests(svg$.Tests); + dart.addTypeCaches(svg$.Tests); + dart.setGetterSignature(svg$.Tests, () => ({ + __proto__: dart.getGetters(svg$.Tests.__proto__), + requiredExtensions: dart.nullable(svg$.StringList), + [S$3.$requiredExtensions]: dart.nullable(svg$.StringList), + systemLanguage: dart.nullable(svg$.StringList), + [S$3.$systemLanguage]: dart.nullable(svg$.StringList) + })); + dart.setLibraryUri(svg$.Tests, I[157]); + dart.defineExtensionAccessors(svg$.Tests, ['requiredExtensions', 'systemLanguage']); + svg$.TextElement = class TextElement extends svg$.TextPositioningElement { + static new() { + return svg$.TextElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("text")); + } + }; + (svg$.TextElement.created = function() { + svg$.TextElement.__proto__.created.call(this); + ; + }).prototype = svg$.TextElement.prototype; + dart.addTypeTests(svg$.TextElement); + dart.addTypeCaches(svg$.TextElement); + dart.setLibraryUri(svg$.TextElement, I[157]); + dart.registerExtension("SVGTextElement", svg$.TextElement); + svg$.TextPathElement = class TextPathElement extends svg$.TextContentElement { + get [S$1.$method]() { + return this.method; + } + get [S$3.$spacing]() { + return this.spacing; + } + get [S$2.$startOffset]() { + return this.startOffset; + } + get [S$.$href]() { + return this.href; + } + }; + (svg$.TextPathElement.created = function() { + svg$.TextPathElement.__proto__.created.call(this); + ; + }).prototype = svg$.TextPathElement.prototype; + dart.addTypeTests(svg$.TextPathElement); + dart.addTypeCaches(svg$.TextPathElement); + svg$.TextPathElement[dart.implements] = () => [svg$.UriReference]; + dart.setGetterSignature(svg$.TextPathElement, () => ({ + __proto__: dart.getGetters(svg$.TextPathElement.__proto__), + [S$1.$method]: dart.nullable(svg$.AnimatedEnumeration), + [S$3.$spacing]: dart.nullable(svg$.AnimatedEnumeration), + [S$2.$startOffset]: dart.nullable(svg$.AnimatedLength), + [S$.$href]: dart.nullable(svg$.AnimatedString) + })); + dart.setLibraryUri(svg$.TextPathElement, I[157]); + dart.defineLazy(svg$.TextPathElement, { + /*svg$.TextPathElement.TEXTPATH_METHODTYPE_ALIGN*/get TEXTPATH_METHODTYPE_ALIGN() { + return 1; + }, + /*svg$.TextPathElement.TEXTPATH_METHODTYPE_STRETCH*/get TEXTPATH_METHODTYPE_STRETCH() { + return 2; + }, + /*svg$.TextPathElement.TEXTPATH_METHODTYPE_UNKNOWN*/get TEXTPATH_METHODTYPE_UNKNOWN() { + return 0; + }, + /*svg$.TextPathElement.TEXTPATH_SPACINGTYPE_AUTO*/get TEXTPATH_SPACINGTYPE_AUTO() { + return 1; + }, + /*svg$.TextPathElement.TEXTPATH_SPACINGTYPE_EXACT*/get TEXTPATH_SPACINGTYPE_EXACT() { + return 2; + }, + /*svg$.TextPathElement.TEXTPATH_SPACINGTYPE_UNKNOWN*/get TEXTPATH_SPACINGTYPE_UNKNOWN() { + return 0; + } + }, false); + dart.registerExtension("SVGTextPathElement", svg$.TextPathElement); + svg$.TitleElement = class TitleElement extends svg$.SvgElement { + static new() { + return svg$.TitleElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("title")); + } + }; + (svg$.TitleElement.created = function() { + svg$.TitleElement.__proto__.created.call(this); + ; + }).prototype = svg$.TitleElement.prototype; + dart.addTypeTests(svg$.TitleElement); + dart.addTypeCaches(svg$.TitleElement); + dart.setLibraryUri(svg$.TitleElement, I[157]); + dart.registerExtension("SVGTitleElement", svg$.TitleElement); + svg$.Transform = class Transform extends _interceptors.Interceptor { + get [S$.$angle]() { + return this.angle; + } + get [S$.$matrix]() { + return this.matrix; + } + get [S.$type]() { + return this.type; + } + [S$3.$setMatrix](...args) { + return this.setMatrix.apply(this, args); + } + [S$3.$setRotate](...args) { + return this.setRotate.apply(this, args); + } + [S$3.$setScale](...args) { + return this.setScale.apply(this, args); + } + [S$3.$setSkewX](...args) { + return this.setSkewX.apply(this, args); + } + [S$3.$setSkewY](...args) { + return this.setSkewY.apply(this, args); + } + [S$3.$setTranslate](...args) { + return this.setTranslate.apply(this, args); + } + }; + dart.addTypeTests(svg$.Transform); + dart.addTypeCaches(svg$.Transform); + dart.setMethodSignature(svg$.Transform, () => ({ + __proto__: dart.getMethods(svg$.Transform.__proto__), + [S$3.$setMatrix]: dart.fnType(dart.void, [svg$.Matrix]), + [S$3.$setRotate]: dart.fnType(dart.void, [core.num, core.num, core.num]), + [S$3.$setScale]: dart.fnType(dart.void, [core.num, core.num]), + [S$3.$setSkewX]: dart.fnType(dart.void, [core.num]), + [S$3.$setSkewY]: dart.fnType(dart.void, [core.num]), + [S$3.$setTranslate]: dart.fnType(dart.void, [core.num, core.num]) + })); + dart.setGetterSignature(svg$.Transform, () => ({ + __proto__: dart.getGetters(svg$.Transform.__proto__), + [S$.$angle]: dart.nullable(core.num), + [S$.$matrix]: dart.nullable(svg$.Matrix), + [S.$type]: dart.nullable(core.int) + })); + dart.setLibraryUri(svg$.Transform, I[157]); + dart.defineLazy(svg$.Transform, { + /*svg$.Transform.SVG_TRANSFORM_MATRIX*/get SVG_TRANSFORM_MATRIX() { + return 1; + }, + /*svg$.Transform.SVG_TRANSFORM_ROTATE*/get SVG_TRANSFORM_ROTATE() { + return 4; + }, + /*svg$.Transform.SVG_TRANSFORM_SCALE*/get SVG_TRANSFORM_SCALE() { + return 3; + }, + /*svg$.Transform.SVG_TRANSFORM_SKEWX*/get SVG_TRANSFORM_SKEWX() { + return 5; + }, + /*svg$.Transform.SVG_TRANSFORM_SKEWY*/get SVG_TRANSFORM_SKEWY() { + return 6; + }, + /*svg$.Transform.SVG_TRANSFORM_TRANSLATE*/get SVG_TRANSFORM_TRANSLATE() { + return 2; + }, + /*svg$.Transform.SVG_TRANSFORM_UNKNOWN*/get SVG_TRANSFORM_UNKNOWN() { + return 0; + } + }, false); + dart.registerExtension("SVGTransform", svg$.Transform); + const Interceptor_ListMixin$36$16 = class Interceptor_ListMixin extends _interceptors.Interceptor {}; + (Interceptor_ListMixin$36$16.new = function() { + Interceptor_ListMixin$36$16.__proto__.new.call(this); + }).prototype = Interceptor_ListMixin$36$16.prototype; + dart.applyMixin(Interceptor_ListMixin$36$16, collection.ListMixin$(svg$.Transform)); + const Interceptor_ImmutableListMixin$36$16 = class Interceptor_ImmutableListMixin extends Interceptor_ListMixin$36$16 {}; + (Interceptor_ImmutableListMixin$36$16.new = function() { + Interceptor_ImmutableListMixin$36$16.__proto__.new.call(this); + }).prototype = Interceptor_ImmutableListMixin$36$16.prototype; + dart.applyMixin(Interceptor_ImmutableListMixin$36$16, html$.ImmutableListMixin$(svg$.Transform)); + svg$.TransformList = class TransformList extends Interceptor_ImmutableListMixin$36$16 { + get [$length]() { + return this.length; + } + get [S$3.$numberOfItems]() { + return this.numberOfItems; + } + [$_get](index) { + if (index == null) dart.nullFailed(I[156], 3850, 29, "index"); + if (index >>> 0 !== index || index >= this[$length]) dart.throw(new core.IndexError.new(index, this)); + return this.getItem(index); + } + [$_set](index, value$) { + let value = value$; + if (index == null) dart.nullFailed(I[156], 3856, 25, "index"); + svg$.Transform.as(value); + if (value == null) dart.nullFailed(I[156], 3856, 42, "value"); + dart.throw(new core.UnsupportedError.new("Cannot assign element of immutable List.")); + return value$; + } + set [$length](value) { + if (value == null) dart.nullFailed(I[156], 3862, 18, "value"); + dart.throw(new core.UnsupportedError.new("Cannot resize immutable List.")); + } + get [$first]() { + if (dart.notNull(this[$length]) > 0) { + return this[0]; + } + dart.throw(new core.StateError.new("No elements")); + } + set [$first](value) { + super[$first] = value; + } + get [$last]() { + let len = this[$length]; + if (dart.notNull(len) > 0) { + return this[dart.notNull(len) - 1]; + } + dart.throw(new core.StateError.new("No elements")); + } + set [$last](value) { + super[$last] = value; + } + get [$single]() { + let len = this[$length]; + if (len === 1) { + return this[0]; + } + if (len === 0) dart.throw(new core.StateError.new("No elements")); + dart.throw(new core.StateError.new("More than one element")); + } + [$elementAt](index) { + if (index == null) dart.nullFailed(I[156], 3890, 27, "index"); + return this[$_get](index); + } + [S$3.__setter__$1](...args) { + return this.__setter__.apply(this, args); + } + [S$3.$appendItem](...args) { + return this.appendItem.apply(this, args); + } + [$clear](...args) { + return this.clear.apply(this, args); + } + [S$3.$consolidate](...args) { + return this.consolidate.apply(this, args); + } + [S$3.$createSvgTransformFromMatrix](...args) { + return this.createSVGTransformFromMatrix.apply(this, args); + } + [S$3.$getItem](...args) { + return this.getItem.apply(this, args); + } + [S$3.$initialize](...args) { + return this.initialize.apply(this, args); + } + [S$3.$insertItemBefore](...args) { + return this.insertItemBefore.apply(this, args); + } + [S$3.$removeItem](...args) { + return this.removeItem.apply(this, args); + } + [S$3.$replaceItem](...args) { + return this.replaceItem.apply(this, args); + } + }; + svg$.TransformList.prototype[dart.isList] = true; + dart.addTypeTests(svg$.TransformList); + dart.addTypeCaches(svg$.TransformList); + svg$.TransformList[dart.implements] = () => [core.List$(svg$.Transform)]; + dart.setMethodSignature(svg$.TransformList, () => ({ + __proto__: dart.getMethods(svg$.TransformList.__proto__), + [$_get]: dart.fnType(svg$.Transform, [core.int]), + [$_set]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), + [S$3.__setter__$1]: dart.fnType(dart.void, [core.int, svg$.Transform]), + [S$3.$appendItem]: dart.fnType(svg$.Transform, [svg$.Transform]), + [S$3.$consolidate]: dart.fnType(dart.nullable(svg$.Transform), []), + [S$3.$createSvgTransformFromMatrix]: dart.fnType(svg$.Transform, [svg$.Matrix]), + [S$3.$getItem]: dart.fnType(svg$.Transform, [core.int]), + [S$3.$initialize]: dart.fnType(svg$.Transform, [svg$.Transform]), + [S$3.$insertItemBefore]: dart.fnType(svg$.Transform, [svg$.Transform, core.int]), + [S$3.$removeItem]: dart.fnType(svg$.Transform, [core.int]), + [S$3.$replaceItem]: dart.fnType(svg$.Transform, [svg$.Transform, core.int]) + })); + dart.setGetterSignature(svg$.TransformList, () => ({ + __proto__: dart.getGetters(svg$.TransformList.__proto__), + [$length]: core.int, + [S$3.$numberOfItems]: dart.nullable(core.int) + })); + dart.setSetterSignature(svg$.TransformList, () => ({ + __proto__: dart.getSetters(svg$.TransformList.__proto__), + [$length]: core.int + })); + dart.setLibraryUri(svg$.TransformList, I[157]); + dart.registerExtension("SVGTransformList", svg$.TransformList); + svg$.UnitTypes = class UnitTypes extends _interceptors.Interceptor {}; + dart.addTypeTests(svg$.UnitTypes); + dart.addTypeCaches(svg$.UnitTypes); + dart.setLibraryUri(svg$.UnitTypes, I[157]); + dart.defineLazy(svg$.UnitTypes, { + /*svg$.UnitTypes.SVG_UNIT_TYPE_OBJECTBOUNDINGBOX*/get SVG_UNIT_TYPE_OBJECTBOUNDINGBOX() { + return 2; + }, + /*svg$.UnitTypes.SVG_UNIT_TYPE_UNKNOWN*/get SVG_UNIT_TYPE_UNKNOWN() { + return 0; + }, + /*svg$.UnitTypes.SVG_UNIT_TYPE_USERSPACEONUSE*/get SVG_UNIT_TYPE_USERSPACEONUSE() { + return 1; + } + }, false); + dart.registerExtension("SVGUnitTypes", svg$.UnitTypes); + svg$.UriReference = class UriReference extends _interceptors.Interceptor { + get href() { + return this.href; + } + }; + dart.addTypeTests(svg$.UriReference); + dart.addTypeCaches(svg$.UriReference); + dart.setGetterSignature(svg$.UriReference, () => ({ + __proto__: dart.getGetters(svg$.UriReference.__proto__), + href: dart.nullable(svg$.AnimatedString), + [S$.$href]: dart.nullable(svg$.AnimatedString) + })); + dart.setLibraryUri(svg$.UriReference, I[157]); + dart.defineExtensionAccessors(svg$.UriReference, ['href']); + svg$.UseElement = class UseElement extends svg$.GraphicsElement { + static new() { + return svg$.UseElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("use")); + } + get [$height]() { + return this.height; + } + get [$width]() { + return this.width; + } + get [S$.$x]() { + return this.x; + } + get [S$.$y]() { + return this.y; + } + get [S$.$href]() { + return this.href; + } + }; + (svg$.UseElement.created = function() { + svg$.UseElement.__proto__.created.call(this); + ; + }).prototype = svg$.UseElement.prototype; + dart.addTypeTests(svg$.UseElement); + dart.addTypeCaches(svg$.UseElement); + svg$.UseElement[dart.implements] = () => [svg$.UriReference]; + dart.setGetterSignature(svg$.UseElement, () => ({ + __proto__: dart.getGetters(svg$.UseElement.__proto__), + [$height]: dart.nullable(svg$.AnimatedLength), + [$width]: dart.nullable(svg$.AnimatedLength), + [S$.$x]: dart.nullable(svg$.AnimatedLength), + [S$.$y]: dart.nullable(svg$.AnimatedLength), + [S$.$href]: dart.nullable(svg$.AnimatedString) + })); + dart.setLibraryUri(svg$.UseElement, I[157]); + dart.registerExtension("SVGUseElement", svg$.UseElement); + svg$.ViewElement = class ViewElement extends svg$.SvgElement { + static new() { + return svg$.ViewElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("view")); + } + get [S$3.$preserveAspectRatio]() { + return this.preserveAspectRatio; + } + get [S$3.$viewBox]() { + return this.viewBox; + } + get [S$3.$zoomAndPan]() { + return this.zoomAndPan; + } + set [S$3.$zoomAndPan](value) { + this.zoomAndPan = value; + } + }; + (svg$.ViewElement.created = function() { + svg$.ViewElement.__proto__.created.call(this); + ; + }).prototype = svg$.ViewElement.prototype; + dart.addTypeTests(svg$.ViewElement); + dart.addTypeCaches(svg$.ViewElement); + svg$.ViewElement[dart.implements] = () => [svg$.FitToViewBox, svg$.ZoomAndPan]; + dart.setGetterSignature(svg$.ViewElement, () => ({ + __proto__: dart.getGetters(svg$.ViewElement.__proto__), + [S$3.$preserveAspectRatio]: dart.nullable(svg$.AnimatedPreserveAspectRatio), + [S$3.$viewBox]: dart.nullable(svg$.AnimatedRect), + [S$3.$zoomAndPan]: dart.nullable(core.int) + })); + dart.setSetterSignature(svg$.ViewElement, () => ({ + __proto__: dart.getSetters(svg$.ViewElement.__proto__), + [S$3.$zoomAndPan]: dart.nullable(core.int) + })); + dart.setLibraryUri(svg$.ViewElement, I[157]); + dart.registerExtension("SVGViewElement", svg$.ViewElement); + svg$.ZoomAndPan = class ZoomAndPan extends _interceptors.Interceptor { + get zoomAndPan() { + return this.zoomAndPan; + } + set zoomAndPan(value) { + this.zoomAndPan = value; + } + }; + dart.addTypeTests(svg$.ZoomAndPan); + dart.addTypeCaches(svg$.ZoomAndPan); + dart.setGetterSignature(svg$.ZoomAndPan, () => ({ + __proto__: dart.getGetters(svg$.ZoomAndPan.__proto__), + zoomAndPan: dart.nullable(core.int), + [S$3.$zoomAndPan]: dart.nullable(core.int) + })); + dart.setSetterSignature(svg$.ZoomAndPan, () => ({ + __proto__: dart.getSetters(svg$.ZoomAndPan.__proto__), + zoomAndPan: dart.nullable(core.int), + [S$3.$zoomAndPan]: dart.nullable(core.int) + })); + dart.setLibraryUri(svg$.ZoomAndPan, I[157]); + dart.defineExtensionAccessors(svg$.ZoomAndPan, ['zoomAndPan']); + dart.defineLazy(svg$.ZoomAndPan, { + /*svg$.ZoomAndPan.SVG_ZOOMANDPAN_DISABLE*/get SVG_ZOOMANDPAN_DISABLE() { + return 1; + }, + /*svg$.ZoomAndPan.SVG_ZOOMANDPAN_MAGNIFY*/get SVG_ZOOMANDPAN_MAGNIFY() { + return 2; + }, + /*svg$.ZoomAndPan.SVG_ZOOMANDPAN_UNKNOWN*/get SVG_ZOOMANDPAN_UNKNOWN() { + return 0; + } + }, false); + svg$._SVGFEDropShadowElement = class _SVGFEDropShadowElement extends svg$.SvgElement {}; + (svg$._SVGFEDropShadowElement.created = function() { + svg$._SVGFEDropShadowElement.__proto__.created.call(this); + ; + }).prototype = svg$._SVGFEDropShadowElement.prototype; + dart.addTypeTests(svg$._SVGFEDropShadowElement); + dart.addTypeCaches(svg$._SVGFEDropShadowElement); + svg$._SVGFEDropShadowElement[dart.implements] = () => [svg$.FilterPrimitiveStandardAttributes]; + dart.setLibraryUri(svg$._SVGFEDropShadowElement, I[157]); + dart.registerExtension("SVGFEDropShadowElement", svg$._SVGFEDropShadowElement); + svg$._SVGMPathElement = class _SVGMPathElement extends svg$.SvgElement { + static new() { + return svg$._SVGMPathElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("mpath")); + } + }; + (svg$._SVGMPathElement.created = function() { + svg$._SVGMPathElement.__proto__.created.call(this); + ; + }).prototype = svg$._SVGMPathElement.prototype; + dart.addTypeTests(svg$._SVGMPathElement); + dart.addTypeCaches(svg$._SVGMPathElement); + svg$._SVGMPathElement[dart.implements] = () => [svg$.UriReference]; + dart.setLibraryUri(svg$._SVGMPathElement, I[157]); + dart.registerExtension("SVGMPathElement", svg$._SVGMPathElement); + web_audio.AudioNode = class AudioNode extends html$.EventTarget { + get [S$3.$channelCount]() { + return this.channelCount; + } + set [S$3.$channelCount](value) { + this.channelCount = value; + } + get [S$3.$channelCountMode]() { + return this.channelCountMode; + } + set [S$3.$channelCountMode](value) { + this.channelCountMode = value; + } + get [S$3.$channelInterpretation]() { + return this.channelInterpretation; + } + set [S$3.$channelInterpretation](value) { + this.channelInterpretation = value; + } + get [S$3.$context]() { + return this.context; + } + get [S$3.$numberOfInputs]() { + return this.numberOfInputs; + } + get [S$3.$numberOfOutputs]() { + return this.numberOfOutputs; + } + [S$3._connect](...args) { + return this.connect.apply(this, args); + } + [S$1.$disconnect](...args) { + return this.disconnect.apply(this, args); + } + [S$3.$connectNode](destination, output = 0, input = 0) { + if (destination == null) dart.nullFailed(I[158], 333, 30, "destination"); + if (output == null) dart.nullFailed(I[158], 333, 48, "output"); + if (input == null) dart.nullFailed(I[158], 333, 64, "input"); + this[S$3._connect](destination, output, input); + } + [S$3.$connectParam](destination, output = 0) { + if (destination == null) dart.nullFailed(I[158], 337, 32, "destination"); + if (output == null) dart.nullFailed(I[158], 337, 50, "output"); + this[S$3._connect](destination, output); + } + }; + dart.addTypeTests(web_audio.AudioNode); + dart.addTypeCaches(web_audio.AudioNode); + dart.setMethodSignature(web_audio.AudioNode, () => ({ + __proto__: dart.getMethods(web_audio.AudioNode.__proto__), + [S$3._connect]: dart.fnType(web_audio.AudioNode, [dart.dynamic], [dart.nullable(core.int), dart.nullable(core.int)]), + [S$1.$disconnect]: dart.fnType(dart.void, [], [dart.dynamic, dart.nullable(core.int), dart.nullable(core.int)]), + [S$3.$connectNode]: dart.fnType(dart.void, [web_audio.AudioNode], [core.int, core.int]), + [S$3.$connectParam]: dart.fnType(dart.void, [web_audio.AudioParam], [core.int]) + })); + dart.setGetterSignature(web_audio.AudioNode, () => ({ + __proto__: dart.getGetters(web_audio.AudioNode.__proto__), + [S$3.$channelCount]: dart.nullable(core.int), + [S$3.$channelCountMode]: dart.nullable(core.String), + [S$3.$channelInterpretation]: dart.nullable(core.String), + [S$3.$context]: dart.nullable(web_audio.BaseAudioContext), + [S$3.$numberOfInputs]: dart.nullable(core.int), + [S$3.$numberOfOutputs]: dart.nullable(core.int) + })); + dart.setSetterSignature(web_audio.AudioNode, () => ({ + __proto__: dart.getSetters(web_audio.AudioNode.__proto__), + [S$3.$channelCount]: dart.nullable(core.int), + [S$3.$channelCountMode]: dart.nullable(core.String), + [S$3.$channelInterpretation]: dart.nullable(core.String) + })); + dart.setLibraryUri(web_audio.AudioNode, I[159]); + dart.registerExtension("AudioNode", web_audio.AudioNode); + web_audio.AnalyserNode = class AnalyserNode$ extends web_audio.AudioNode { + static new(context, options = null) { + if (context == null) dart.nullFailed(I[158], 41, 41, "context"); + if (options != null) { + let options_1 = html_common.convertDartToNative_Dictionary(options); + return web_audio.AnalyserNode._create_1(context, options_1); + } + return web_audio.AnalyserNode._create_2(context); + } + static _create_1(context, options) { + return new AnalyserNode(context, options); + } + static _create_2(context) { + return new AnalyserNode(context); + } + get [S$3.$fftSize]() { + return this.fftSize; + } + set [S$3.$fftSize](value) { + this.fftSize = value; + } + get [S$3.$frequencyBinCount]() { + return this.frequencyBinCount; + } + get [S$3.$maxDecibels]() { + return this.maxDecibels; + } + set [S$3.$maxDecibels](value) { + this.maxDecibels = value; + } + get [S$3.$minDecibels]() { + return this.minDecibels; + } + set [S$3.$minDecibels](value) { + this.minDecibels = value; + } + get [S$3.$smoothingTimeConstant]() { + return this.smoothingTimeConstant; + } + set [S$3.$smoothingTimeConstant](value) { + this.smoothingTimeConstant = value; + } + [S$3.$getByteFrequencyData](...args) { + return this.getByteFrequencyData.apply(this, args); + } + [S$3.$getByteTimeDomainData](...args) { + return this.getByteTimeDomainData.apply(this, args); + } + [S$3.$getFloatFrequencyData](...args) { + return this.getFloatFrequencyData.apply(this, args); + } + [S$3.$getFloatTimeDomainData](...args) { + return this.getFloatTimeDomainData.apply(this, args); + } + }; + dart.addTypeTests(web_audio.AnalyserNode); + dart.addTypeCaches(web_audio.AnalyserNode); + dart.setMethodSignature(web_audio.AnalyserNode, () => ({ + __proto__: dart.getMethods(web_audio.AnalyserNode.__proto__), + [S$3.$getByteFrequencyData]: dart.fnType(dart.void, [typed_data.Uint8List]), + [S$3.$getByteTimeDomainData]: dart.fnType(dart.void, [typed_data.Uint8List]), + [S$3.$getFloatFrequencyData]: dart.fnType(dart.void, [typed_data.Float32List]), + [S$3.$getFloatTimeDomainData]: dart.fnType(dart.void, [typed_data.Float32List]) + })); + dart.setGetterSignature(web_audio.AnalyserNode, () => ({ + __proto__: dart.getGetters(web_audio.AnalyserNode.__proto__), + [S$3.$fftSize]: dart.nullable(core.int), + [S$3.$frequencyBinCount]: dart.nullable(core.int), + [S$3.$maxDecibels]: dart.nullable(core.num), + [S$3.$minDecibels]: dart.nullable(core.num), + [S$3.$smoothingTimeConstant]: dart.nullable(core.num) + })); + dart.setSetterSignature(web_audio.AnalyserNode, () => ({ + __proto__: dart.getSetters(web_audio.AnalyserNode.__proto__), + [S$3.$fftSize]: dart.nullable(core.int), + [S$3.$maxDecibels]: dart.nullable(core.num), + [S$3.$minDecibels]: dart.nullable(core.num), + [S$3.$smoothingTimeConstant]: dart.nullable(core.num) + })); + dart.setLibraryUri(web_audio.AnalyserNode, I[159]); + dart.registerExtension("AnalyserNode", web_audio.AnalyserNode); + dart.registerExtension("RealtimeAnalyserNode", web_audio.AnalyserNode); + web_audio.AudioBuffer = class AudioBuffer$ extends _interceptors.Interceptor { + static new(options) { + if (options == null) dart.nullFailed(I[158], 90, 27, "options"); + let options_1 = html_common.convertDartToNative_Dictionary(options); + return web_audio.AudioBuffer._create_1(options_1); + } + static _create_1(options) { + return new AudioBuffer(options); + } + get [S$.$duration]() { + return this.duration; + } + get [$length]() { + return this.length; + } + get [S$3.$numberOfChannels]() { + return this.numberOfChannels; + } + get [S$3.$sampleRate]() { + return this.sampleRate; + } + [S$3.$copyFromChannel](...args) { + return this.copyFromChannel.apply(this, args); + } + [S$3.$copyToChannel](...args) { + return this.copyToChannel.apply(this, args); + } + [S$3.$getChannelData](...args) { + return this.getChannelData.apply(this, args); + } + }; + dart.addTypeTests(web_audio.AudioBuffer); + dart.addTypeCaches(web_audio.AudioBuffer); + dart.setMethodSignature(web_audio.AudioBuffer, () => ({ + __proto__: dart.getMethods(web_audio.AudioBuffer.__proto__), + [S$3.$copyFromChannel]: dart.fnType(dart.void, [typed_data.Float32List, core.int], [dart.nullable(core.int)]), + [S$3.$copyToChannel]: dart.fnType(dart.void, [typed_data.Float32List, core.int], [dart.nullable(core.int)]), + [S$3.$getChannelData]: dart.fnType(typed_data.Float32List, [core.int]) + })); + dart.setGetterSignature(web_audio.AudioBuffer, () => ({ + __proto__: dart.getGetters(web_audio.AudioBuffer.__proto__), + [S$.$duration]: dart.nullable(core.num), + [$length]: dart.nullable(core.int), + [S$3.$numberOfChannels]: dart.nullable(core.int), + [S$3.$sampleRate]: dart.nullable(core.num) + })); + dart.setLibraryUri(web_audio.AudioBuffer, I[159]); + dart.registerExtension("AudioBuffer", web_audio.AudioBuffer); + web_audio.AudioScheduledSourceNode = class AudioScheduledSourceNode extends web_audio.AudioNode { + [S$3.$start2](...args) { + return this.start.apply(this, args); + } + [S$.$stop](...args) { + return this.stop.apply(this, args); + } + get [S.$onEnded]() { + return web_audio.AudioScheduledSourceNode.endedEvent.forTarget(this); + } + }; + dart.addTypeTests(web_audio.AudioScheduledSourceNode); + dart.addTypeCaches(web_audio.AudioScheduledSourceNode); + dart.setMethodSignature(web_audio.AudioScheduledSourceNode, () => ({ + __proto__: dart.getMethods(web_audio.AudioScheduledSourceNode.__proto__), + [S$3.$start2]: dart.fnType(dart.void, [], [dart.nullable(core.num)]), + [S$.$stop]: dart.fnType(dart.void, [], [dart.nullable(core.num)]) + })); + dart.setGetterSignature(web_audio.AudioScheduledSourceNode, () => ({ + __proto__: dart.getGetters(web_audio.AudioScheduledSourceNode.__proto__), + [S.$onEnded]: async.Stream$(html$.Event) + })); + dart.setLibraryUri(web_audio.AudioScheduledSourceNode, I[159]); + dart.defineLazy(web_audio.AudioScheduledSourceNode, { + /*web_audio.AudioScheduledSourceNode.endedEvent*/get endedEvent() { + return C[251] || CT.C251; + } + }, false); + dart.registerExtension("AudioScheduledSourceNode", web_audio.AudioScheduledSourceNode); + web_audio.AudioBufferSourceNode = class AudioBufferSourceNode$ extends web_audio.AudioScheduledSourceNode { + static new(context, options = null) { + if (context == null) dart.nullFailed(I[158], 126, 50, "context"); + if (options != null) { + let options_1 = html_common.convertDartToNative_Dictionary(options); + return web_audio.AudioBufferSourceNode._create_1(context, options_1); + } + return web_audio.AudioBufferSourceNode._create_2(context); + } + static _create_1(context, options) { + return new AudioBufferSourceNode(context, options); + } + static _create_2(context) { + return new AudioBufferSourceNode(context); + } + get [$buffer]() { + return this.buffer; + } + set [$buffer](value) { + this.buffer = value; + } + get [S$3.$detune]() { + return this.detune; + } + get [S$.$loop]() { + return this.loop; + } + set [S$.$loop](value) { + this.loop = value; + } + get [S$3.$loopEnd]() { + return this.loopEnd; + } + set [S$3.$loopEnd](value) { + this.loopEnd = value; + } + get [S$3.$loopStart]() { + return this.loopStart; + } + set [S$3.$loopStart](value) { + this.loopStart = value; + } + get [S$.$playbackRate]() { + return this.playbackRate; + } + [S$.$start](...args) { + return this.start.apply(this, args); + } + }; + dart.addTypeTests(web_audio.AudioBufferSourceNode); + dart.addTypeCaches(web_audio.AudioBufferSourceNode); + dart.setMethodSignature(web_audio.AudioBufferSourceNode, () => ({ + __proto__: dart.getMethods(web_audio.AudioBufferSourceNode.__proto__), + [S$.$start]: dart.fnType(dart.void, [], [dart.nullable(core.num), dart.nullable(core.num), dart.nullable(core.num)]) + })); + dart.setGetterSignature(web_audio.AudioBufferSourceNode, () => ({ + __proto__: dart.getGetters(web_audio.AudioBufferSourceNode.__proto__), + [$buffer]: dart.nullable(web_audio.AudioBuffer), + [S$3.$detune]: dart.nullable(web_audio.AudioParam), + [S$.$loop]: dart.nullable(core.bool), + [S$3.$loopEnd]: dart.nullable(core.num), + [S$3.$loopStart]: dart.nullable(core.num), + [S$.$playbackRate]: dart.nullable(web_audio.AudioParam) + })); + dart.setSetterSignature(web_audio.AudioBufferSourceNode, () => ({ + __proto__: dart.getSetters(web_audio.AudioBufferSourceNode.__proto__), + [$buffer]: dart.nullable(web_audio.AudioBuffer), + [S$.$loop]: dart.nullable(core.bool), + [S$3.$loopEnd]: dart.nullable(core.num), + [S$3.$loopStart]: dart.nullable(core.num) + })); + dart.setLibraryUri(web_audio.AudioBufferSourceNode, I[159]); + dart.registerExtension("AudioBufferSourceNode", web_audio.AudioBufferSourceNode); + web_audio.BaseAudioContext = class BaseAudioContext extends html$.EventTarget { + get [S$.$currentTime]() { + return this.currentTime; + } + get [S$3.$destination]() { + return this.destination; + } + get [S$3.$listener]() { + return this.listener; + } + get [S$3.$sampleRate]() { + return this.sampleRate; + } + get [S$.$state]() { + return this.state; + } + [S$3.$createAnalyser](...args) { + return this.createAnalyser.apply(this, args); + } + [S$3.$createBiquadFilter](...args) { + return this.createBiquadFilter.apply(this, args); + } + [S$3.$createBuffer](...args) { + return this.createBuffer.apply(this, args); + } + [S$3.$createBufferSource](...args) { + return this.createBufferSource.apply(this, args); + } + [S$3.$createChannelMerger](...args) { + return this.createChannelMerger.apply(this, args); + } + [S$4.$createChannelSplitter](...args) { + return this.createChannelSplitter.apply(this, args); + } + [S$4.$createConstantSource](...args) { + return this.createConstantSource.apply(this, args); + } + [S$4.$createConvolver](...args) { + return this.createConvolver.apply(this, args); + } + [S$4.$createDelay](...args) { + return this.createDelay.apply(this, args); + } + [S$4.$createDynamicsCompressor](...args) { + return this.createDynamicsCompressor.apply(this, args); + } + [S$3.$createGain](...args) { + return this.createGain.apply(this, args); + } + [S$4.$createIirFilter](...args) { + return this.createIIRFilter.apply(this, args); + } + [S$4.$createMediaElementSource](...args) { + return this.createMediaElementSource.apply(this, args); + } + [S$4.$createMediaStreamDestination](...args) { + return this.createMediaStreamDestination.apply(this, args); + } + [S$4.$createMediaStreamSource](...args) { + return this.createMediaStreamSource.apply(this, args); + } + [S$4.$createOscillator](...args) { + return this.createOscillator.apply(this, args); + } + [S$4.$createPanner](...args) { + return this.createPanner.apply(this, args); + } + [S$4.$createPeriodicWave](real, imag, options = null) { + if (real == null) dart.nullFailed(I[158], 658, 45, "real"); + if (imag == null) dart.nullFailed(I[158], 658, 61, "imag"); + if (options != null) { + let options_1 = html_common.convertDartToNative_Dictionary(options); + return this[S$4._createPeriodicWave_1](real, imag, options_1); + } + return this[S$4._createPeriodicWave_2](real, imag); + } + [S$4._createPeriodicWave_1](...args) { + return this.createPeriodicWave.apply(this, args); + } + [S$4._createPeriodicWave_2](...args) { + return this.createPeriodicWave.apply(this, args); + } + [S$3.$createScriptProcessor](...args) { + return this.createScriptProcessor.apply(this, args); + } + [S$4.$createStereoPanner](...args) { + return this.createStereoPanner.apply(this, args); + } + [S$4.$createWaveShaper](...args) { + return this.createWaveShaper.apply(this, args); + } + [S$3.$decodeAudioData](audioData, successCallback = null, errorCallback = null) { + if (audioData == null) dart.nullFailed(I[158], 682, 50, "audioData"); + return js_util.promiseToFuture(web_audio.AudioBuffer, this.decodeAudioData(audioData, successCallback, errorCallback)); + } + [S$1.$resume]() { + return js_util.promiseToFuture(dart.dynamic, this.resume()); + } + }; + dart.addTypeTests(web_audio.BaseAudioContext); + dart.addTypeCaches(web_audio.BaseAudioContext); + dart.setMethodSignature(web_audio.BaseAudioContext, () => ({ + __proto__: dart.getMethods(web_audio.BaseAudioContext.__proto__), + [S$3.$createAnalyser]: dart.fnType(web_audio.AnalyserNode, []), + [S$3.$createBiquadFilter]: dart.fnType(web_audio.BiquadFilterNode, []), + [S$3.$createBuffer]: dart.fnType(web_audio.AudioBuffer, [core.int, core.int, core.num]), + [S$3.$createBufferSource]: dart.fnType(web_audio.AudioBufferSourceNode, []), + [S$3.$createChannelMerger]: dart.fnType(web_audio.ChannelMergerNode, [], [dart.nullable(core.int)]), + [S$4.$createChannelSplitter]: dart.fnType(web_audio.ChannelSplitterNode, [], [dart.nullable(core.int)]), + [S$4.$createConstantSource]: dart.fnType(web_audio.ConstantSourceNode, []), + [S$4.$createConvolver]: dart.fnType(web_audio.ConvolverNode, []), + [S$4.$createDelay]: dart.fnType(web_audio.DelayNode, [], [dart.nullable(core.num)]), + [S$4.$createDynamicsCompressor]: dart.fnType(web_audio.DynamicsCompressorNode, []), + [S$3.$createGain]: dart.fnType(web_audio.GainNode, []), + [S$4.$createIirFilter]: dart.fnType(web_audio.IirFilterNode, [core.List$(core.num), core.List$(core.num)]), + [S$4.$createMediaElementSource]: dart.fnType(web_audio.MediaElementAudioSourceNode, [html$.MediaElement]), + [S$4.$createMediaStreamDestination]: dart.fnType(web_audio.MediaStreamAudioDestinationNode, []), + [S$4.$createMediaStreamSource]: dart.fnType(web_audio.MediaStreamAudioSourceNode, [html$.MediaStream]), + [S$4.$createOscillator]: dart.fnType(web_audio.OscillatorNode, []), + [S$4.$createPanner]: dart.fnType(web_audio.PannerNode, []), + [S$4.$createPeriodicWave]: dart.fnType(web_audio.PeriodicWave, [core.List$(core.num), core.List$(core.num)], [dart.nullable(core.Map)]), + [S$4._createPeriodicWave_1]: dart.fnType(web_audio.PeriodicWave, [core.List$(core.num), core.List$(core.num), dart.dynamic]), + [S$4._createPeriodicWave_2]: dart.fnType(web_audio.PeriodicWave, [core.List$(core.num), core.List$(core.num)]), + [S$3.$createScriptProcessor]: dart.fnType(web_audio.ScriptProcessorNode, [], [dart.nullable(core.int), dart.nullable(core.int), dart.nullable(core.int)]), + [S$4.$createStereoPanner]: dart.fnType(web_audio.StereoPannerNode, []), + [S$4.$createWaveShaper]: dart.fnType(web_audio.WaveShaperNode, []), + [S$3.$decodeAudioData]: dart.fnType(async.Future$(web_audio.AudioBuffer), [typed_data.ByteBuffer], [dart.nullable(dart.fnType(dart.void, [web_audio.AudioBuffer])), dart.nullable(dart.fnType(dart.void, [html$.DomException]))]), + [S$1.$resume]: dart.fnType(async.Future, []) + })); + dart.setGetterSignature(web_audio.BaseAudioContext, () => ({ + __proto__: dart.getGetters(web_audio.BaseAudioContext.__proto__), + [S$.$currentTime]: dart.nullable(core.num), + [S$3.$destination]: dart.nullable(web_audio.AudioDestinationNode), + [S$3.$listener]: dart.nullable(web_audio.AudioListener), + [S$3.$sampleRate]: dart.nullable(core.num), + [S$.$state]: dart.nullable(core.String) + })); + dart.setLibraryUri(web_audio.BaseAudioContext, I[159]); + dart.registerExtension("BaseAudioContext", web_audio.BaseAudioContext); + web_audio.AudioContext = class AudioContext extends web_audio.BaseAudioContext { + static get supported() { + return !!(window.AudioContext || window.webkitAudioContext); + } + get [S$3.$baseLatency]() { + return this.baseLatency; + } + [S.$close]() { + return js_util.promiseToFuture(dart.dynamic, this.close()); + } + [S$3.$getOutputTimestamp]() { + return dart.nullCheck(html_common.convertNativeToDart_Dictionary(this[S$3._getOutputTimestamp_1]())); + } + [S$3._getOutputTimestamp_1](...args) { + return this.getOutputTimestamp.apply(this, args); + } + [S$3.$suspend]() { + return js_util.promiseToFuture(dart.dynamic, this.suspend()); + } + static new() { + return new (window.AudioContext || window.webkitAudioContext)(); + } + [S$3.$createGain]() { + if (this.createGain !== undefined) { + return this.createGain(); + } else { + return this.createGainNode(); + } + } + [S$3.$createScriptProcessor](bufferSize = null, numberOfInputChannels = null, numberOfOutputChannels = null) { + let $function = this.createScriptProcessor || this.createJavaScriptNode; + if (numberOfOutputChannels != null) { + return $function.call(this, bufferSize, numberOfInputChannels, numberOfOutputChannels); + } else if (numberOfInputChannels != null) { + return $function.call(this, bufferSize, numberOfInputChannels); + } else if (bufferSize != null) { + return $function.call(this, bufferSize); + } else { + return $function.call(this); + } + } + [S$3._decodeAudioData](...args) { + return this.decodeAudioData.apply(this, args); + } + [S$3.$decodeAudioData](audioData, successCallback = null, errorCallback = null) { + if (audioData == null) dart.nullFailed(I[158], 233, 50, "audioData"); + if (successCallback != null && errorCallback != null) { + return this[S$3._decodeAudioData](audioData, successCallback, errorCallback); + } + let completer = T$0.CompleterOfAudioBuffer().new(); + this[S$3._decodeAudioData](audioData, dart.fn(value => { + if (value == null) dart.nullFailed(I[158], 241, 34, "value"); + completer.complete(value); + }, T$0.AudioBufferTovoid()), dart.fn(error => { + if (error == null) dart.nullFailed(I[158], 243, 9, "error"); + if (error == null) { + completer.completeError(""); + } else { + completer.completeError(error); + } + }, T$0.DomExceptionTovoid())); + return completer.future; + } + }; + dart.addTypeTests(web_audio.AudioContext); + dart.addTypeCaches(web_audio.AudioContext); + dart.setMethodSignature(web_audio.AudioContext, () => ({ + __proto__: dart.getMethods(web_audio.AudioContext.__proto__), + [S.$close]: dart.fnType(async.Future, []), + [S$3.$getOutputTimestamp]: dart.fnType(core.Map, []), + [S$3._getOutputTimestamp_1]: dart.fnType(dart.dynamic, []), + [S$3.$suspend]: dart.fnType(async.Future, []), + [S$3._decodeAudioData]: dart.fnType(async.Future$(web_audio.AudioBuffer), [typed_data.ByteBuffer], [dart.nullable(dart.fnType(dart.void, [web_audio.AudioBuffer])), dart.nullable(dart.fnType(dart.void, [html$.DomException]))]) + })); + dart.setGetterSignature(web_audio.AudioContext, () => ({ + __proto__: dart.getGetters(web_audio.AudioContext.__proto__), + [S$3.$baseLatency]: dart.nullable(core.num) + })); + dart.setLibraryUri(web_audio.AudioContext, I[159]); + dart.registerExtension("AudioContext", web_audio.AudioContext); + dart.registerExtension("webkitAudioContext", web_audio.AudioContext); + web_audio.AudioDestinationNode = class AudioDestinationNode extends web_audio.AudioNode { + get [S$4.$maxChannelCount]() { + return this.maxChannelCount; + } + }; + dart.addTypeTests(web_audio.AudioDestinationNode); + dart.addTypeCaches(web_audio.AudioDestinationNode); + dart.setGetterSignature(web_audio.AudioDestinationNode, () => ({ + __proto__: dart.getGetters(web_audio.AudioDestinationNode.__proto__), + [S$4.$maxChannelCount]: dart.nullable(core.int) + })); + dart.setLibraryUri(web_audio.AudioDestinationNode, I[159]); + dart.registerExtension("AudioDestinationNode", web_audio.AudioDestinationNode); + web_audio.AudioListener = class AudioListener extends _interceptors.Interceptor { + get [S$4.$forwardX]() { + return this.forwardX; + } + get [S$4.$forwardY]() { + return this.forwardY; + } + get [S$4.$forwardZ]() { + return this.forwardZ; + } + get [S$2.$positionX]() { + return this.positionX; + } + get [S$2.$positionY]() { + return this.positionY; + } + get [S$4.$positionZ]() { + return this.positionZ; + } + get [S$4.$upX]() { + return this.upX; + } + get [S$4.$upY]() { + return this.upY; + } + get [S$4.$upZ]() { + return this.upZ; + } + [S$4.$setOrientation](...args) { + return this.setOrientation.apply(this, args); + } + [S$2.$setPosition](...args) { + return this.setPosition.apply(this, args); + } + }; + dart.addTypeTests(web_audio.AudioListener); + dart.addTypeCaches(web_audio.AudioListener); + dart.setMethodSignature(web_audio.AudioListener, () => ({ + __proto__: dart.getMethods(web_audio.AudioListener.__proto__), + [S$4.$setOrientation]: dart.fnType(dart.void, [core.num, core.num, core.num, core.num, core.num, core.num]), + [S$2.$setPosition]: dart.fnType(dart.void, [core.num, core.num, core.num]) + })); + dart.setGetterSignature(web_audio.AudioListener, () => ({ + __proto__: dart.getGetters(web_audio.AudioListener.__proto__), + [S$4.$forwardX]: dart.nullable(web_audio.AudioParam), + [S$4.$forwardY]: dart.nullable(web_audio.AudioParam), + [S$4.$forwardZ]: dart.nullable(web_audio.AudioParam), + [S$2.$positionX]: dart.nullable(web_audio.AudioParam), + [S$2.$positionY]: dart.nullable(web_audio.AudioParam), + [S$4.$positionZ]: dart.nullable(web_audio.AudioParam), + [S$4.$upX]: dart.nullable(web_audio.AudioParam), + [S$4.$upY]: dart.nullable(web_audio.AudioParam), + [S$4.$upZ]: dart.nullable(web_audio.AudioParam) + })); + dart.setLibraryUri(web_audio.AudioListener, I[159]); + dart.registerExtension("AudioListener", web_audio.AudioListener); + web_audio.AudioParam = class AudioParam extends _interceptors.Interceptor { + get [S$1.$defaultValue]() { + return this.defaultValue; + } + get [S$4.$maxValue]() { + return this.maxValue; + } + get [S$4.$minValue]() { + return this.minValue; + } + get [S.$value]() { + return this.value; + } + set [S.$value](value) { + this.value = value; + } + [S$4.$cancelAndHoldAtTime](...args) { + return this.cancelAndHoldAtTime.apply(this, args); + } + [S$4.$cancelScheduledValues](...args) { + return this.cancelScheduledValues.apply(this, args); + } + [S$4.$exponentialRampToValueAtTime](...args) { + return this.exponentialRampToValueAtTime.apply(this, args); + } + [S$4.$linearRampToValueAtTime](...args) { + return this.linearRampToValueAtTime.apply(this, args); + } + [S$4.$setTargetAtTime](...args) { + return this.setTargetAtTime.apply(this, args); + } + [S$4.$setValueAtTime](...args) { + return this.setValueAtTime.apply(this, args); + } + [S$4.$setValueCurveAtTime](...args) { + return this.setValueCurveAtTime.apply(this, args); + } + }; + dart.addTypeTests(web_audio.AudioParam); + dart.addTypeCaches(web_audio.AudioParam); + dart.setMethodSignature(web_audio.AudioParam, () => ({ + __proto__: dart.getMethods(web_audio.AudioParam.__proto__), + [S$4.$cancelAndHoldAtTime]: dart.fnType(web_audio.AudioParam, [core.num]), + [S$4.$cancelScheduledValues]: dart.fnType(web_audio.AudioParam, [core.num]), + [S$4.$exponentialRampToValueAtTime]: dart.fnType(web_audio.AudioParam, [core.num, core.num]), + [S$4.$linearRampToValueAtTime]: dart.fnType(web_audio.AudioParam, [core.num, core.num]), + [S$4.$setTargetAtTime]: dart.fnType(web_audio.AudioParam, [core.num, core.num, core.num]), + [S$4.$setValueAtTime]: dart.fnType(web_audio.AudioParam, [core.num, core.num]), + [S$4.$setValueCurveAtTime]: dart.fnType(web_audio.AudioParam, [core.List$(core.num), core.num, core.num]) + })); + dart.setGetterSignature(web_audio.AudioParam, () => ({ + __proto__: dart.getGetters(web_audio.AudioParam.__proto__), + [S$1.$defaultValue]: dart.nullable(core.num), + [S$4.$maxValue]: dart.nullable(core.num), + [S$4.$minValue]: dart.nullable(core.num), + [S.$value]: dart.nullable(core.num) + })); + dart.setSetterSignature(web_audio.AudioParam, () => ({ + __proto__: dart.getSetters(web_audio.AudioParam.__proto__), + [S.$value]: dart.nullable(core.num) + })); + dart.setLibraryUri(web_audio.AudioParam, I[159]); + dart.registerExtension("AudioParam", web_audio.AudioParam); + const Interceptor_MapMixin$36$2 = class Interceptor_MapMixin extends _interceptors.Interceptor {}; + (Interceptor_MapMixin$36$2.new = function() { + Interceptor_MapMixin$36$2.__proto__.new.call(this); + }).prototype = Interceptor_MapMixin$36$2.prototype; + dart.applyMixin(Interceptor_MapMixin$36$2, collection.MapMixin$(core.String, dart.dynamic)); + web_audio.AudioParamMap = class AudioParamMap extends Interceptor_MapMixin$36$2 { + [S$4._getItem$1](key) { + if (key == null) dart.nullFailed(I[158], 388, 24, "key"); + return html_common.convertNativeToDart_Dictionary(this.get(key)); + } + [$addAll](other) { + T$0.MapOfString$dynamic().as(other); + if (other == null) dart.nullFailed(I[158], 391, 36, "other"); + dart.throw(new core.UnsupportedError.new("Not supported")); + } + [$containsValue](value) { + return this[$values][$any](dart.fn(e => { + if (e == null) dart.nullFailed(I[158], 395, 52, "e"); + return dart.equals(e, value); + }, T$0.MapTobool())); + } + [$containsKey](key) { + return this[S$4._getItem$1](core.String.as(key)) != null; + } + [$_get](key) { + return this[S$4._getItem$1](core.String.as(key)); + } + [$forEach](f) { + if (f == null) dart.nullFailed(I[158], 401, 21, "f"); + let entries = this.entries(); + while (true) { + let entry = entries.next(); + if (entry.done) return; + f(entry.value[0], html_common.convertNativeToDart_Dictionary(entry.value[1])); + } + } + get [$keys]() { + let keys = T$.JSArrayOfString().of([]); + this[$forEach](dart.fn((k, v) => { + if (k == null) dart.nullFailed(I[158], 413, 14, "k"); + return keys[$add](k); + }, T$0.StringAnddynamicTovoid())); + return keys; + } + get [$values]() { + let values = T$0.JSArrayOfMap().of([]); + this[$forEach](dart.fn((k, v) => { + if (k == null) dart.nullFailed(I[158], 419, 14, "k"); + return values[$add](core.Map.as(v)); + }, T$0.StringAnddynamicTovoid())); + return values; + } + get [$length]() { + return this.size; + } + get [$isEmpty]() { + return this[$length] === 0; + } + get [$isNotEmpty]() { + return !dart.test(this[$isEmpty]); + } + [$_set](key, value$) { + let value = value$; + core.String.as(key); + if (key == null) dart.nullFailed(I[158], 429, 28, "key"); + dart.throw(new core.UnsupportedError.new("Not supported")); + return value$; + } + [$putIfAbsent](key, ifAbsent) { + core.String.as(key); + if (key == null) dart.nullFailed(I[158], 433, 30, "key"); + T$.VoidTodynamic().as(ifAbsent); + if (ifAbsent == null) dart.nullFailed(I[158], 433, 43, "ifAbsent"); + dart.throw(new core.UnsupportedError.new("Not supported")); + } + [$remove](key) { + dart.throw(new core.UnsupportedError.new("Not supported")); + } + [$clear]() { + dart.throw(new core.UnsupportedError.new("Not supported")); + } + }; + dart.addTypeTests(web_audio.AudioParamMap); + dart.addTypeCaches(web_audio.AudioParamMap); + dart.setMethodSignature(web_audio.AudioParamMap, () => ({ + __proto__: dart.getMethods(web_audio.AudioParamMap.__proto__), + [S$4._getItem$1]: dart.fnType(dart.nullable(core.Map), [core.String]), + [$containsValue]: dart.fnType(core.bool, [dart.dynamic]), + [$containsKey]: dart.fnType(core.bool, [dart.dynamic]), + [$_get]: dart.fnType(dart.nullable(core.Map), [dart.dynamic]), + [$_set]: dart.fnType(dart.void, [dart.nullable(core.Object), dart.nullable(core.Object)]), + [$remove]: dart.fnType(core.String, [dart.dynamic]), + [$clear]: dart.fnType(dart.void, []) + })); + dart.setGetterSignature(web_audio.AudioParamMap, () => ({ + __proto__: dart.getGetters(web_audio.AudioParamMap.__proto__), + [$keys]: core.Iterable$(core.String), + [$values]: core.Iterable$(core.Map) + })); + dart.setLibraryUri(web_audio.AudioParamMap, I[159]); + dart.registerExtension("AudioParamMap", web_audio.AudioParamMap); + web_audio.AudioProcessingEvent = class AudioProcessingEvent$ extends html$.Event { + static new(type, eventInitDict) { + if (type == null) dart.nullFailed(I[158], 456, 39, "type"); + if (eventInitDict == null) dart.nullFailed(I[158], 456, 49, "eventInitDict"); + let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); + return web_audio.AudioProcessingEvent._create_1(type, eventInitDict_1); + } + static _create_1(type, eventInitDict) { + return new AudioProcessingEvent(type, eventInitDict); + } + get [S$4.$inputBuffer]() { + return this.inputBuffer; + } + get [S$4.$outputBuffer]() { + return this.outputBuffer; + } + get [S$4.$playbackTime]() { + return this.playbackTime; + } + }; + dart.addTypeTests(web_audio.AudioProcessingEvent); + dart.addTypeCaches(web_audio.AudioProcessingEvent); + dart.setGetterSignature(web_audio.AudioProcessingEvent, () => ({ + __proto__: dart.getGetters(web_audio.AudioProcessingEvent.__proto__), + [S$4.$inputBuffer]: dart.nullable(web_audio.AudioBuffer), + [S$4.$outputBuffer]: dart.nullable(web_audio.AudioBuffer), + [S$4.$playbackTime]: dart.nullable(core.num) + })); + dart.setLibraryUri(web_audio.AudioProcessingEvent, I[159]); + dart.registerExtension("AudioProcessingEvent", web_audio.AudioProcessingEvent); + web_audio.AudioTrack = class AudioTrack extends _interceptors.Interceptor { + get [S$.$enabled]() { + return this.enabled; + } + set [S$.$enabled](value) { + this.enabled = value; + } + get [S.$id]() { + return this.id; + } + get [S$.$kind]() { + return this.kind; + } + get [S$.$label]() { + return this.label; + } + get [S$1.$language]() { + return this.language; + } + get [S$3.$sourceBuffer]() { + return this.sourceBuffer; + } + }; + dart.addTypeTests(web_audio.AudioTrack); + dart.addTypeCaches(web_audio.AudioTrack); + dart.setGetterSignature(web_audio.AudioTrack, () => ({ + __proto__: dart.getGetters(web_audio.AudioTrack.__proto__), + [S$.$enabled]: dart.nullable(core.bool), + [S.$id]: dart.nullable(core.String), + [S$.$kind]: dart.nullable(core.String), + [S$.$label]: dart.nullable(core.String), + [S$1.$language]: dart.nullable(core.String), + [S$3.$sourceBuffer]: dart.nullable(html$.SourceBuffer) + })); + dart.setSetterSignature(web_audio.AudioTrack, () => ({ + __proto__: dart.getSetters(web_audio.AudioTrack.__proto__), + [S$.$enabled]: dart.nullable(core.bool) + })); + dart.setLibraryUri(web_audio.AudioTrack, I[159]); + dart.registerExtension("AudioTrack", web_audio.AudioTrack); + web_audio.AudioTrackList = class AudioTrackList extends html$.EventTarget { + get [$length]() { + return this.length; + } + [S$4.__getter__$1](...args) { + return this.__getter__.apply(this, args); + } + [S$1.$getTrackById](...args) { + return this.getTrackById.apply(this, args); + } + get [S.$onChange]() { + return web_audio.AudioTrackList.changeEvent.forTarget(this); + } + }; + dart.addTypeTests(web_audio.AudioTrackList); + dart.addTypeCaches(web_audio.AudioTrackList); + dart.setMethodSignature(web_audio.AudioTrackList, () => ({ + __proto__: dart.getMethods(web_audio.AudioTrackList.__proto__), + [S$4.__getter__$1]: dart.fnType(web_audio.AudioTrack, [core.int]), + [S$1.$getTrackById]: dart.fnType(dart.nullable(web_audio.AudioTrack), [core.String]) + })); + dart.setGetterSignature(web_audio.AudioTrackList, () => ({ + __proto__: dart.getGetters(web_audio.AudioTrackList.__proto__), + [$length]: dart.nullable(core.int), + [S.$onChange]: async.Stream$(html$.Event) + })); + dart.setLibraryUri(web_audio.AudioTrackList, I[159]); + dart.defineLazy(web_audio.AudioTrackList, { + /*web_audio.AudioTrackList.changeEvent*/get changeEvent() { + return C[236] || CT.C236; + } + }, false); + dart.registerExtension("AudioTrackList", web_audio.AudioTrackList); + web_audio.AudioWorkletGlobalScope = class AudioWorkletGlobalScope extends html$.WorkletGlobalScope { + get [S$.$currentTime]() { + return this.currentTime; + } + get [S$3.$sampleRate]() { + return this.sampleRate; + } + [S$4.$registerProcessor](...args) { + return this.registerProcessor.apply(this, args); + } + }; + dart.addTypeTests(web_audio.AudioWorkletGlobalScope); + dart.addTypeCaches(web_audio.AudioWorkletGlobalScope); + dart.setMethodSignature(web_audio.AudioWorkletGlobalScope, () => ({ + __proto__: dart.getMethods(web_audio.AudioWorkletGlobalScope.__proto__), + [S$4.$registerProcessor]: dart.fnType(dart.void, [core.String, core.Object]) + })); + dart.setGetterSignature(web_audio.AudioWorkletGlobalScope, () => ({ + __proto__: dart.getGetters(web_audio.AudioWorkletGlobalScope.__proto__), + [S$.$currentTime]: dart.nullable(core.num), + [S$3.$sampleRate]: dart.nullable(core.num) + })); + dart.setLibraryUri(web_audio.AudioWorkletGlobalScope, I[159]); + dart.registerExtension("AudioWorkletGlobalScope", web_audio.AudioWorkletGlobalScope); + web_audio.AudioWorkletNode = class AudioWorkletNode$ extends web_audio.AudioNode { + static new(context, name, options = null) { + if (context == null) dart.nullFailed(I[158], 568, 45, "context"); + if (name == null) dart.nullFailed(I[158], 568, 61, "name"); + if (options != null) { + let options_1 = html_common.convertDartToNative_Dictionary(options); + return web_audio.AudioWorkletNode._create_1(context, name, options_1); + } + return web_audio.AudioWorkletNode._create_2(context, name); + } + static _create_1(context, name, options) { + return new AudioWorkletNode(context, name, options); + } + static _create_2(context, name) { + return new AudioWorkletNode(context, name); + } + get [S$4.$parameters]() { + return this.parameters; + } + }; + dart.addTypeTests(web_audio.AudioWorkletNode); + dart.addTypeCaches(web_audio.AudioWorkletNode); + dart.setGetterSignature(web_audio.AudioWorkletNode, () => ({ + __proto__: dart.getGetters(web_audio.AudioWorkletNode.__proto__), + [S$4.$parameters]: dart.nullable(web_audio.AudioParamMap) + })); + dart.setLibraryUri(web_audio.AudioWorkletNode, I[159]); + dart.registerExtension("AudioWorkletNode", web_audio.AudioWorkletNode); + web_audio.AudioWorkletProcessor = class AudioWorkletProcessor extends _interceptors.Interceptor {}; + dart.addTypeTests(web_audio.AudioWorkletProcessor); + dart.addTypeCaches(web_audio.AudioWorkletProcessor); + dart.setLibraryUri(web_audio.AudioWorkletProcessor, I[159]); + dart.registerExtension("AudioWorkletProcessor", web_audio.AudioWorkletProcessor); + web_audio.BiquadFilterNode = class BiquadFilterNode$ extends web_audio.AudioNode { + static new(context, options = null) { + if (context == null) dart.nullFailed(I[158], 706, 45, "context"); + if (options != null) { + let options_1 = html_common.convertDartToNative_Dictionary(options); + return web_audio.BiquadFilterNode._create_1(context, options_1); + } + return web_audio.BiquadFilterNode._create_2(context); + } + static _create_1(context, options) { + return new BiquadFilterNode(context, options); + } + static _create_2(context) { + return new BiquadFilterNode(context); + } + get [S$4.$Q]() { + return this.Q; + } + get [S$3.$detune]() { + return this.detune; + } + get [S$4.$frequency]() { + return this.frequency; + } + get [S$4.$gain]() { + return this.gain; + } + get [S.$type]() { + return this.type; + } + set [S.$type](value) { + this.type = value; + } + [S$4.$getFrequencyResponse](...args) { + return this.getFrequencyResponse.apply(this, args); + } + }; + dart.addTypeTests(web_audio.BiquadFilterNode); + dart.addTypeCaches(web_audio.BiquadFilterNode); + dart.setMethodSignature(web_audio.BiquadFilterNode, () => ({ + __proto__: dart.getMethods(web_audio.BiquadFilterNode.__proto__), + [S$4.$getFrequencyResponse]: dart.fnType(dart.void, [typed_data.Float32List, typed_data.Float32List, typed_data.Float32List]) + })); + dart.setGetterSignature(web_audio.BiquadFilterNode, () => ({ + __proto__: dart.getGetters(web_audio.BiquadFilterNode.__proto__), + [S$4.$Q]: dart.nullable(web_audio.AudioParam), + [S$3.$detune]: dart.nullable(web_audio.AudioParam), + [S$4.$frequency]: dart.nullable(web_audio.AudioParam), + [S$4.$gain]: dart.nullable(web_audio.AudioParam), + [S.$type]: dart.nullable(core.String) + })); + dart.setSetterSignature(web_audio.BiquadFilterNode, () => ({ + __proto__: dart.getSetters(web_audio.BiquadFilterNode.__proto__), + [S.$type]: dart.nullable(core.String) + })); + dart.setLibraryUri(web_audio.BiquadFilterNode, I[159]); + dart.registerExtension("BiquadFilterNode", web_audio.BiquadFilterNode); + web_audio.ChannelMergerNode = class ChannelMergerNode$ extends web_audio.AudioNode { + static new(context, options = null) { + if (context == null) dart.nullFailed(I[158], 744, 46, "context"); + if (options != null) { + let options_1 = html_common.convertDartToNative_Dictionary(options); + return web_audio.ChannelMergerNode._create_1(context, options_1); + } + return web_audio.ChannelMergerNode._create_2(context); + } + static _create_1(context, options) { + return new ChannelMergerNode(context, options); + } + static _create_2(context) { + return new ChannelMergerNode(context); + } + }; + dart.addTypeTests(web_audio.ChannelMergerNode); + dart.addTypeCaches(web_audio.ChannelMergerNode); + dart.setLibraryUri(web_audio.ChannelMergerNode, I[159]); + dart.registerExtension("ChannelMergerNode", web_audio.ChannelMergerNode); + dart.registerExtension("AudioChannelMerger", web_audio.ChannelMergerNode); + web_audio.ChannelSplitterNode = class ChannelSplitterNode$ extends web_audio.AudioNode { + static new(context, options = null) { + if (context == null) dart.nullFailed(I[158], 767, 48, "context"); + if (options != null) { + let options_1 = html_common.convertDartToNative_Dictionary(options); + return web_audio.ChannelSplitterNode._create_1(context, options_1); + } + return web_audio.ChannelSplitterNode._create_2(context); + } + static _create_1(context, options) { + return new ChannelSplitterNode(context, options); + } + static _create_2(context) { + return new ChannelSplitterNode(context); + } + }; + dart.addTypeTests(web_audio.ChannelSplitterNode); + dart.addTypeCaches(web_audio.ChannelSplitterNode); + dart.setLibraryUri(web_audio.ChannelSplitterNode, I[159]); + dart.registerExtension("ChannelSplitterNode", web_audio.ChannelSplitterNode); + dart.registerExtension("AudioChannelSplitter", web_audio.ChannelSplitterNode); + web_audio.ConstantSourceNode = class ConstantSourceNode$ extends web_audio.AudioScheduledSourceNode { + static new(context, options = null) { + if (context == null) dart.nullFailed(I[158], 790, 47, "context"); + if (options != null) { + let options_1 = html_common.convertDartToNative_Dictionary(options); + return web_audio.ConstantSourceNode._create_1(context, options_1); + } + return web_audio.ConstantSourceNode._create_2(context); + } + static _create_1(context, options) { + return new ConstantSourceNode(context, options); + } + static _create_2(context) { + return new ConstantSourceNode(context); + } + get [S.$offset]() { + return this.offset; + } + }; + dart.addTypeTests(web_audio.ConstantSourceNode); + dart.addTypeCaches(web_audio.ConstantSourceNode); + dart.setGetterSignature(web_audio.ConstantSourceNode, () => ({ + __proto__: dart.getGetters(web_audio.ConstantSourceNode.__proto__), + [S.$offset]: dart.nullable(web_audio.AudioParam) + })); + dart.setLibraryUri(web_audio.ConstantSourceNode, I[159]); + dart.registerExtension("ConstantSourceNode", web_audio.ConstantSourceNode); + web_audio.ConvolverNode = class ConvolverNode$ extends web_audio.AudioNode { + static new(context, options = null) { + if (context == null) dart.nullFailed(I[158], 815, 42, "context"); + if (options != null) { + let options_1 = html_common.convertDartToNative_Dictionary(options); + return web_audio.ConvolverNode._create_1(context, options_1); + } + return web_audio.ConvolverNode._create_2(context); + } + static _create_1(context, options) { + return new ConvolverNode(context, options); + } + static _create_2(context) { + return new ConvolverNode(context); + } + get [$buffer]() { + return this.buffer; + } + set [$buffer](value) { + this.buffer = value; + } + get [S$4.$normalize]() { + return this.normalize; + } + set [S$4.$normalize](value) { + this.normalize = value; + } + }; + dart.addTypeTests(web_audio.ConvolverNode); + dart.addTypeCaches(web_audio.ConvolverNode); + dart.setGetterSignature(web_audio.ConvolverNode, () => ({ + __proto__: dart.getGetters(web_audio.ConvolverNode.__proto__), + [$buffer]: dart.nullable(web_audio.AudioBuffer), + [S$4.$normalize]: dart.nullable(core.bool) + })); + dart.setSetterSignature(web_audio.ConvolverNode, () => ({ + __proto__: dart.getSetters(web_audio.ConvolverNode.__proto__), + [$buffer]: dart.nullable(web_audio.AudioBuffer), + [S$4.$normalize]: dart.nullable(core.bool) + })); + dart.setLibraryUri(web_audio.ConvolverNode, I[159]); + dart.registerExtension("ConvolverNode", web_audio.ConvolverNode); + web_audio.DelayNode = class DelayNode$ extends web_audio.AudioNode { + static new(context, options = null) { + if (context == null) dart.nullFailed(I[158], 846, 38, "context"); + if (options != null) { + let options_1 = html_common.convertDartToNative_Dictionary(options); + return web_audio.DelayNode._create_1(context, options_1); + } + return web_audio.DelayNode._create_2(context); + } + static _create_1(context, options) { + return new DelayNode(context, options); + } + static _create_2(context) { + return new DelayNode(context); + } + get [S$4.$delayTime]() { + return this.delayTime; + } + }; + dart.addTypeTests(web_audio.DelayNode); + dart.addTypeCaches(web_audio.DelayNode); + dart.setGetterSignature(web_audio.DelayNode, () => ({ + __proto__: dart.getGetters(web_audio.DelayNode.__proto__), + [S$4.$delayTime]: dart.nullable(web_audio.AudioParam) + })); + dart.setLibraryUri(web_audio.DelayNode, I[159]); + dart.registerExtension("DelayNode", web_audio.DelayNode); + web_audio.DynamicsCompressorNode = class DynamicsCompressorNode$ extends web_audio.AudioNode { + static new(context, options = null) { + if (context == null) dart.nullFailed(I[158], 871, 51, "context"); + if (options != null) { + let options_1 = html_common.convertDartToNative_Dictionary(options); + return web_audio.DynamicsCompressorNode._create_1(context, options_1); + } + return web_audio.DynamicsCompressorNode._create_2(context); + } + static _create_1(context, options) { + return new DynamicsCompressorNode(context, options); + } + static _create_2(context) { + return new DynamicsCompressorNode(context); + } + get [S$4.$attack]() { + return this.attack; + } + get [S$4.$knee]() { + return this.knee; + } + get [S$4.$ratio]() { + return this.ratio; + } + get [S$4.$reduction]() { + return this.reduction; + } + get [S$4.$release]() { + return this.release; + } + get [S$4.$threshold]() { + return this.threshold; + } + }; + dart.addTypeTests(web_audio.DynamicsCompressorNode); + dart.addTypeCaches(web_audio.DynamicsCompressorNode); + dart.setGetterSignature(web_audio.DynamicsCompressorNode, () => ({ + __proto__: dart.getGetters(web_audio.DynamicsCompressorNode.__proto__), + [S$4.$attack]: dart.nullable(web_audio.AudioParam), + [S$4.$knee]: dart.nullable(web_audio.AudioParam), + [S$4.$ratio]: dart.nullable(web_audio.AudioParam), + [S$4.$reduction]: dart.nullable(core.num), + [S$4.$release]: dart.nullable(web_audio.AudioParam), + [S$4.$threshold]: dart.nullable(web_audio.AudioParam) + })); + dart.setLibraryUri(web_audio.DynamicsCompressorNode, I[159]); + dart.registerExtension("DynamicsCompressorNode", web_audio.DynamicsCompressorNode); + web_audio.GainNode = class GainNode$ extends web_audio.AudioNode { + static new(context, options = null) { + if (context == null) dart.nullFailed(I[158], 909, 37, "context"); + if (options != null) { + let options_1 = html_common.convertDartToNative_Dictionary(options); + return web_audio.GainNode._create_1(context, options_1); + } + return web_audio.GainNode._create_2(context); + } + static _create_1(context, options) { + return new GainNode(context, options); + } + static _create_2(context) { + return new GainNode(context); + } + get [S$4.$gain]() { + return this.gain; + } + }; + dart.addTypeTests(web_audio.GainNode); + dart.addTypeCaches(web_audio.GainNode); + dart.setGetterSignature(web_audio.GainNode, () => ({ + __proto__: dart.getGetters(web_audio.GainNode.__proto__), + [S$4.$gain]: dart.nullable(web_audio.AudioParam) + })); + dart.setLibraryUri(web_audio.GainNode, I[159]); + dart.registerExtension("GainNode", web_audio.GainNode); + dart.registerExtension("AudioGainNode", web_audio.GainNode); + web_audio.IirFilterNode = class IirFilterNode extends web_audio.AudioNode { + static new(context, options) { + if (context == null) dart.nullFailed(I[158], 934, 42, "context"); + if (options == null) dart.nullFailed(I[158], 934, 55, "options"); + let options_1 = html_common.convertDartToNative_Dictionary(options); + return web_audio.IirFilterNode._create_1(context, options_1); + } + static _create_1(context, options) { + return new IIRFilterNode(context, options); + } + [S$4.$getFrequencyResponse](...args) { + return this.getFrequencyResponse.apply(this, args); + } + }; + dart.addTypeTests(web_audio.IirFilterNode); + dart.addTypeCaches(web_audio.IirFilterNode); + dart.setMethodSignature(web_audio.IirFilterNode, () => ({ + __proto__: dart.getMethods(web_audio.IirFilterNode.__proto__), + [S$4.$getFrequencyResponse]: dart.fnType(dart.void, [typed_data.Float32List, typed_data.Float32List, typed_data.Float32List]) + })); + dart.setLibraryUri(web_audio.IirFilterNode, I[159]); + dart.registerExtension("IIRFilterNode", web_audio.IirFilterNode); + web_audio.MediaElementAudioSourceNode = class MediaElementAudioSourceNode$ extends web_audio.AudioNode { + static new(context, options) { + if (context == null) dart.nullFailed(I[158], 955, 56, "context"); + if (options == null) dart.nullFailed(I[158], 955, 69, "options"); + let options_1 = html_common.convertDartToNative_Dictionary(options); + return web_audio.MediaElementAudioSourceNode._create_1(context, options_1); + } + static _create_1(context, options) { + return new MediaElementAudioSourceNode(context, options); + } + get [S$4.$mediaElement]() { + return this.mediaElement; + } + }; + dart.addTypeTests(web_audio.MediaElementAudioSourceNode); + dart.addTypeCaches(web_audio.MediaElementAudioSourceNode); + dart.setGetterSignature(web_audio.MediaElementAudioSourceNode, () => ({ + __proto__: dart.getGetters(web_audio.MediaElementAudioSourceNode.__proto__), + [S$4.$mediaElement]: dart.nullable(html$.MediaElement) + })); + dart.setLibraryUri(web_audio.MediaElementAudioSourceNode, I[159]); + dart.registerExtension("MediaElementAudioSourceNode", web_audio.MediaElementAudioSourceNode); + web_audio.MediaStreamAudioDestinationNode = class MediaStreamAudioDestinationNode$ extends web_audio.AudioNode { + static new(context, options = null) { + if (context == null) dart.nullFailed(I[158], 978, 60, "context"); + if (options != null) { + let options_1 = html_common.convertDartToNative_Dictionary(options); + return web_audio.MediaStreamAudioDestinationNode._create_1(context, options_1); + } + return web_audio.MediaStreamAudioDestinationNode._create_2(context); + } + static _create_1(context, options) { + return new MediaStreamAudioDestinationNode(context, options); + } + static _create_2(context) { + return new MediaStreamAudioDestinationNode(context); + } + get [S$1.$stream]() { + return this.stream; + } + }; + dart.addTypeTests(web_audio.MediaStreamAudioDestinationNode); + dart.addTypeCaches(web_audio.MediaStreamAudioDestinationNode); + dart.setGetterSignature(web_audio.MediaStreamAudioDestinationNode, () => ({ + __proto__: dart.getGetters(web_audio.MediaStreamAudioDestinationNode.__proto__), + [S$1.$stream]: dart.nullable(html$.MediaStream) + })); + dart.setLibraryUri(web_audio.MediaStreamAudioDestinationNode, I[159]); + dart.registerExtension("MediaStreamAudioDestinationNode", web_audio.MediaStreamAudioDestinationNode); + web_audio.MediaStreamAudioSourceNode = class MediaStreamAudioSourceNode$ extends web_audio.AudioNode { + static new(context, options) { + if (context == null) dart.nullFailed(I[158], 1009, 55, "context"); + if (options == null) dart.nullFailed(I[158], 1009, 68, "options"); + let options_1 = html_common.convertDartToNative_Dictionary(options); + return web_audio.MediaStreamAudioSourceNode._create_1(context, options_1); + } + static _create_1(context, options) { + return new MediaStreamAudioSourceNode(context, options); + } + get [S$4.$mediaStream]() { + return this.mediaStream; + } + }; + dart.addTypeTests(web_audio.MediaStreamAudioSourceNode); + dart.addTypeCaches(web_audio.MediaStreamAudioSourceNode); + dart.setGetterSignature(web_audio.MediaStreamAudioSourceNode, () => ({ + __proto__: dart.getGetters(web_audio.MediaStreamAudioSourceNode.__proto__), + [S$4.$mediaStream]: dart.nullable(html$.MediaStream) + })); + dart.setLibraryUri(web_audio.MediaStreamAudioSourceNode, I[159]); + dart.registerExtension("MediaStreamAudioSourceNode", web_audio.MediaStreamAudioSourceNode); + web_audio.OfflineAudioCompletionEvent = class OfflineAudioCompletionEvent$ extends html$.Event { + static new(type, eventInitDict) { + if (type == null) dart.nullFailed(I[158], 1032, 46, "type"); + if (eventInitDict == null) dart.nullFailed(I[158], 1032, 56, "eventInitDict"); + let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); + return web_audio.OfflineAudioCompletionEvent._create_1(type, eventInitDict_1); + } + static _create_1(type, eventInitDict) { + return new OfflineAudioCompletionEvent(type, eventInitDict); + } + get [S$4.$renderedBuffer]() { + return this.renderedBuffer; + } + }; + dart.addTypeTests(web_audio.OfflineAudioCompletionEvent); + dart.addTypeCaches(web_audio.OfflineAudioCompletionEvent); + dart.setGetterSignature(web_audio.OfflineAudioCompletionEvent, () => ({ + __proto__: dart.getGetters(web_audio.OfflineAudioCompletionEvent.__proto__), + [S$4.$renderedBuffer]: dart.nullable(web_audio.AudioBuffer) + })); + dart.setLibraryUri(web_audio.OfflineAudioCompletionEvent, I[159]); + dart.registerExtension("OfflineAudioCompletionEvent", web_audio.OfflineAudioCompletionEvent); + web_audio.OfflineAudioContext = class OfflineAudioContext$ extends web_audio.BaseAudioContext { + static new(numberOfChannels_OR_options, numberOfFrames = null, sampleRate = null) { + if (typeof sampleRate == 'number' && core.int.is(numberOfFrames) && core.int.is(numberOfChannels_OR_options)) { + return web_audio.OfflineAudioContext._create_1(numberOfChannels_OR_options, numberOfFrames, sampleRate); + } + if (core.Map.is(numberOfChannels_OR_options) && numberOfFrames == null && sampleRate == null) { + let options_1 = html_common.convertDartToNative_Dictionary(numberOfChannels_OR_options); + return web_audio.OfflineAudioContext._create_2(options_1); + } + dart.throw(new core.ArgumentError.new("Incorrect number or type of arguments")); + } + static _create_1(numberOfChannels_OR_options, numberOfFrames, sampleRate) { + return new OfflineAudioContext(numberOfChannels_OR_options, numberOfFrames, sampleRate); + } + static _create_2(numberOfChannels_OR_options) { + return new OfflineAudioContext(numberOfChannels_OR_options); + } + get [$length]() { + return this.length; + } + [S$4.$startRendering]() { + return js_util.promiseToFuture(web_audio.AudioBuffer, this.startRendering()); + } + [S$4.$suspendFor](suspendTime) { + if (suspendTime == null) dart.nullFailed(I[158], 1087, 25, "suspendTime"); + return js_util.promiseToFuture(dart.dynamic, this.suspend(suspendTime)); + } + }; + dart.addTypeTests(web_audio.OfflineAudioContext); + dart.addTypeCaches(web_audio.OfflineAudioContext); + dart.setMethodSignature(web_audio.OfflineAudioContext, () => ({ + __proto__: dart.getMethods(web_audio.OfflineAudioContext.__proto__), + [S$4.$startRendering]: dart.fnType(async.Future$(web_audio.AudioBuffer), []), + [S$4.$suspendFor]: dart.fnType(async.Future, [core.num]) + })); + dart.setGetterSignature(web_audio.OfflineAudioContext, () => ({ + __proto__: dart.getGetters(web_audio.OfflineAudioContext.__proto__), + [$length]: dart.nullable(core.int) + })); + dart.setLibraryUri(web_audio.OfflineAudioContext, I[159]); + dart.registerExtension("OfflineAudioContext", web_audio.OfflineAudioContext); + web_audio.OscillatorNode = class OscillatorNode$ extends web_audio.AudioScheduledSourceNode { + static new(context, options = null) { + if (context == null) dart.nullFailed(I[158], 1101, 43, "context"); + if (options != null) { + let options_1 = html_common.convertDartToNative_Dictionary(options); + return web_audio.OscillatorNode._create_1(context, options_1); + } + return web_audio.OscillatorNode._create_2(context); + } + static _create_1(context, options) { + return new OscillatorNode(context, options); + } + static _create_2(context) { + return new OscillatorNode(context); + } + get [S$3.$detune]() { + return this.detune; + } + get [S$4.$frequency]() { + return this.frequency; + } + get [S.$type]() { + return this.type; + } + set [S.$type](value) { + this.type = value; + } + [S$4.$setPeriodicWave](...args) { + return this.setPeriodicWave.apply(this, args); + } + }; + dart.addTypeTests(web_audio.OscillatorNode); + dart.addTypeCaches(web_audio.OscillatorNode); + dart.setMethodSignature(web_audio.OscillatorNode, () => ({ + __proto__: dart.getMethods(web_audio.OscillatorNode.__proto__), + [S$4.$setPeriodicWave]: dart.fnType(dart.void, [web_audio.PeriodicWave]) + })); + dart.setGetterSignature(web_audio.OscillatorNode, () => ({ + __proto__: dart.getGetters(web_audio.OscillatorNode.__proto__), + [S$3.$detune]: dart.nullable(web_audio.AudioParam), + [S$4.$frequency]: dart.nullable(web_audio.AudioParam), + [S.$type]: dart.nullable(core.String) + })); + dart.setSetterSignature(web_audio.OscillatorNode, () => ({ + __proto__: dart.getSetters(web_audio.OscillatorNode.__proto__), + [S.$type]: dart.nullable(core.String) + })); + dart.setLibraryUri(web_audio.OscillatorNode, I[159]); + dart.registerExtension("OscillatorNode", web_audio.OscillatorNode); + dart.registerExtension("Oscillator", web_audio.OscillatorNode); + web_audio.PannerNode = class PannerNode$ extends web_audio.AudioNode { + static new(context, options = null) { + if (context == null) dart.nullFailed(I[158], 1134, 39, "context"); + if (options != null) { + let options_1 = html_common.convertDartToNative_Dictionary(options); + return web_audio.PannerNode._create_1(context, options_1); + } + return web_audio.PannerNode._create_2(context); + } + static _create_1(context, options) { + return new PannerNode(context, options); + } + static _create_2(context) { + return new PannerNode(context); + } + get [S$4.$coneInnerAngle]() { + return this.coneInnerAngle; + } + set [S$4.$coneInnerAngle](value) { + this.coneInnerAngle = value; + } + get [S$4.$coneOuterAngle]() { + return this.coneOuterAngle; + } + set [S$4.$coneOuterAngle](value) { + this.coneOuterAngle = value; + } + get [S$4.$coneOuterGain]() { + return this.coneOuterGain; + } + set [S$4.$coneOuterGain](value) { + this.coneOuterGain = value; + } + get [S$4.$distanceModel]() { + return this.distanceModel; + } + set [S$4.$distanceModel](value) { + this.distanceModel = value; + } + get [S$4.$maxDistance]() { + return this.maxDistance; + } + set [S$4.$maxDistance](value) { + this.maxDistance = value; + } + get [S$4.$orientationX]() { + return this.orientationX; + } + get [S$4.$orientationY]() { + return this.orientationY; + } + get [S$4.$orientationZ]() { + return this.orientationZ; + } + get [S$4.$panningModel]() { + return this.panningModel; + } + set [S$4.$panningModel](value) { + this.panningModel = value; + } + get [S$2.$positionX]() { + return this.positionX; + } + get [S$2.$positionY]() { + return this.positionY; + } + get [S$4.$positionZ]() { + return this.positionZ; + } + get [S$4.$refDistance]() { + return this.refDistance; + } + set [S$4.$refDistance](value) { + this.refDistance = value; + } + get [S$4.$rolloffFactor]() { + return this.rolloffFactor; + } + set [S$4.$rolloffFactor](value) { + this.rolloffFactor = value; + } + [S$4.$setOrientation](...args) { + return this.setOrientation.apply(this, args); + } + [S$2.$setPosition](...args) { + return this.setPosition.apply(this, args); + } + }; + dart.addTypeTests(web_audio.PannerNode); + dart.addTypeCaches(web_audio.PannerNode); + dart.setMethodSignature(web_audio.PannerNode, () => ({ + __proto__: dart.getMethods(web_audio.PannerNode.__proto__), + [S$4.$setOrientation]: dart.fnType(dart.void, [core.num, core.num, core.num]), + [S$2.$setPosition]: dart.fnType(dart.void, [core.num, core.num, core.num]) + })); + dart.setGetterSignature(web_audio.PannerNode, () => ({ + __proto__: dart.getGetters(web_audio.PannerNode.__proto__), + [S$4.$coneInnerAngle]: dart.nullable(core.num), + [S$4.$coneOuterAngle]: dart.nullable(core.num), + [S$4.$coneOuterGain]: dart.nullable(core.num), + [S$4.$distanceModel]: dart.nullable(core.String), + [S$4.$maxDistance]: dart.nullable(core.num), + [S$4.$orientationX]: dart.nullable(web_audio.AudioParam), + [S$4.$orientationY]: dart.nullable(web_audio.AudioParam), + [S$4.$orientationZ]: dart.nullable(web_audio.AudioParam), + [S$4.$panningModel]: dart.nullable(core.String), + [S$2.$positionX]: dart.nullable(web_audio.AudioParam), + [S$2.$positionY]: dart.nullable(web_audio.AudioParam), + [S$4.$positionZ]: dart.nullable(web_audio.AudioParam), + [S$4.$refDistance]: dart.nullable(core.num), + [S$4.$rolloffFactor]: dart.nullable(core.num) + })); + dart.setSetterSignature(web_audio.PannerNode, () => ({ + __proto__: dart.getSetters(web_audio.PannerNode.__proto__), + [S$4.$coneInnerAngle]: dart.nullable(core.num), + [S$4.$coneOuterAngle]: dart.nullable(core.num), + [S$4.$coneOuterGain]: dart.nullable(core.num), + [S$4.$distanceModel]: dart.nullable(core.String), + [S$4.$maxDistance]: dart.nullable(core.num), + [S$4.$panningModel]: dart.nullable(core.String), + [S$4.$refDistance]: dart.nullable(core.num), + [S$4.$rolloffFactor]: dart.nullable(core.num) + })); + dart.setLibraryUri(web_audio.PannerNode, I[159]); + dart.registerExtension("PannerNode", web_audio.PannerNode); + dart.registerExtension("AudioPannerNode", web_audio.PannerNode); + dart.registerExtension("webkitAudioPannerNode", web_audio.PannerNode); + web_audio.PeriodicWave = class PeriodicWave$ extends _interceptors.Interceptor { + static new(context, options = null) { + if (context == null) dart.nullFailed(I[158], 1205, 41, "context"); + if (options != null) { + let options_1 = html_common.convertDartToNative_Dictionary(options); + return web_audio.PeriodicWave._create_1(context, options_1); + } + return web_audio.PeriodicWave._create_2(context); + } + static _create_1(context, options) { + return new PeriodicWave(context, options); + } + static _create_2(context) { + return new PeriodicWave(context); + } + }; + dart.addTypeTests(web_audio.PeriodicWave); + dart.addTypeCaches(web_audio.PeriodicWave); + dart.setLibraryUri(web_audio.PeriodicWave, I[159]); + dart.registerExtension("PeriodicWave", web_audio.PeriodicWave); + web_audio.ScriptProcessorNode = class ScriptProcessorNode extends web_audio.AudioNode { + get [S$4.$bufferSize]() { + return this.bufferSize; + } + [S$4.$setEventListener](...args) { + return this.setEventListener.apply(this, args); + } + get [S$4.$onAudioProcess]() { + return web_audio.ScriptProcessorNode.audioProcessEvent.forTarget(this); + } + }; + dart.addTypeTests(web_audio.ScriptProcessorNode); + dart.addTypeCaches(web_audio.ScriptProcessorNode); + dart.setMethodSignature(web_audio.ScriptProcessorNode, () => ({ + __proto__: dart.getMethods(web_audio.ScriptProcessorNode.__proto__), + [S$4.$setEventListener]: dart.fnType(dart.void, [dart.fnType(dart.dynamic, [html$.Event])]) + })); + dart.setGetterSignature(web_audio.ScriptProcessorNode, () => ({ + __proto__: dart.getGetters(web_audio.ScriptProcessorNode.__proto__), + [S$4.$bufferSize]: dart.nullable(core.int), + [S$4.$onAudioProcess]: async.Stream$(web_audio.AudioProcessingEvent) + })); + dart.setLibraryUri(web_audio.ScriptProcessorNode, I[159]); + dart.defineLazy(web_audio.ScriptProcessorNode, { + /*web_audio.ScriptProcessorNode.audioProcessEvent*/get audioProcessEvent() { + return C[418] || CT.C418; + } + }, false); + dart.registerExtension("ScriptProcessorNode", web_audio.ScriptProcessorNode); + dart.registerExtension("JavaScriptAudioNode", web_audio.ScriptProcessorNode); + web_audio.StereoPannerNode = class StereoPannerNode$ extends web_audio.AudioNode { + static new(context, options = null) { + if (context == null) dart.nullFailed(I[158], 1263, 45, "context"); + if (options != null) { + let options_1 = html_common.convertDartToNative_Dictionary(options); + return web_audio.StereoPannerNode._create_1(context, options_1); + } + return web_audio.StereoPannerNode._create_2(context); + } + static _create_1(context, options) { + return new StereoPannerNode(context, options); + } + static _create_2(context) { + return new StereoPannerNode(context); + } + get [S$4.$pan]() { + return this.pan; + } + }; + dart.addTypeTests(web_audio.StereoPannerNode); + dart.addTypeCaches(web_audio.StereoPannerNode); + dart.setGetterSignature(web_audio.StereoPannerNode, () => ({ + __proto__: dart.getGetters(web_audio.StereoPannerNode.__proto__), + [S$4.$pan]: dart.nullable(web_audio.AudioParam) + })); + dart.setLibraryUri(web_audio.StereoPannerNode, I[159]); + dart.registerExtension("StereoPannerNode", web_audio.StereoPannerNode); + web_audio.WaveShaperNode = class WaveShaperNode$ extends web_audio.AudioNode { + static new(context, options = null) { + if (context == null) dart.nullFailed(I[158], 1288, 43, "context"); + if (options != null) { + let options_1 = html_common.convertDartToNative_Dictionary(options); + return web_audio.WaveShaperNode._create_1(context, options_1); + } + return web_audio.WaveShaperNode._create_2(context); + } + static _create_1(context, options) { + return new WaveShaperNode(context, options); + } + static _create_2(context) { + return new WaveShaperNode(context); + } + get [S$4.$curve]() { + return this.curve; + } + set [S$4.$curve](value) { + this.curve = value; + } + get [S$4.$oversample]() { + return this.oversample; + } + set [S$4.$oversample](value) { + this.oversample = value; + } + }; + dart.addTypeTests(web_audio.WaveShaperNode); + dart.addTypeCaches(web_audio.WaveShaperNode); + dart.setGetterSignature(web_audio.WaveShaperNode, () => ({ + __proto__: dart.getGetters(web_audio.WaveShaperNode.__proto__), + [S$4.$curve]: dart.nullable(typed_data.Float32List), + [S$4.$oversample]: dart.nullable(core.String) + })); + dart.setSetterSignature(web_audio.WaveShaperNode, () => ({ + __proto__: dart.getSetters(web_audio.WaveShaperNode.__proto__), + [S$4.$curve]: dart.nullable(typed_data.Float32List), + [S$4.$oversample]: dart.nullable(core.String) + })); + dart.setLibraryUri(web_audio.WaveShaperNode, I[159]); + dart.registerExtension("WaveShaperNode", web_audio.WaveShaperNode); + web_gl.ActiveInfo = class ActiveInfo extends _interceptors.Interceptor { + get [$name]() { + return this.name; + } + get [S$.$size]() { + return this.size; + } + get [S.$type]() { + return this.type; + } + }; + dart.addTypeTests(web_gl.ActiveInfo); + dart.addTypeCaches(web_gl.ActiveInfo); + dart.setGetterSignature(web_gl.ActiveInfo, () => ({ + __proto__: dart.getGetters(web_gl.ActiveInfo.__proto__), + [$name]: core.String, + [S$.$size]: core.int, + [S.$type]: core.int + })); + dart.setLibraryUri(web_gl.ActiveInfo, I[160]); + dart.registerExtension("WebGLActiveInfo", web_gl.ActiveInfo); + web_gl.AngleInstancedArrays = class AngleInstancedArrays extends _interceptors.Interceptor { + [S$4.$drawArraysInstancedAngle](...args) { + return this.drawArraysInstancedANGLE.apply(this, args); + } + [S$4.$drawElementsInstancedAngle](...args) { + return this.drawElementsInstancedANGLE.apply(this, args); + } + [S$4.$vertexAttribDivisorAngle](...args) { + return this.vertexAttribDivisorANGLE.apply(this, args); + } + }; + dart.addTypeTests(web_gl.AngleInstancedArrays); + dart.addTypeCaches(web_gl.AngleInstancedArrays); + dart.setMethodSignature(web_gl.AngleInstancedArrays, () => ({ + __proto__: dart.getMethods(web_gl.AngleInstancedArrays.__proto__), + [S$4.$drawArraysInstancedAngle]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int]), + [S$4.$drawElementsInstancedAngle]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int]), + [S$4.$vertexAttribDivisorAngle]: dart.fnType(dart.void, [core.int, core.int]) + })); + dart.setLibraryUri(web_gl.AngleInstancedArrays, I[160]); + dart.defineLazy(web_gl.AngleInstancedArrays, { + /*web_gl.AngleInstancedArrays.VERTEX_ATTRIB_ARRAY_DIVISOR_ANGLE*/get VERTEX_ATTRIB_ARRAY_DIVISOR_ANGLE() { + return 35070; + } + }, false); + dart.registerExtension("ANGLEInstancedArrays", web_gl.AngleInstancedArrays); + dart.registerExtension("ANGLE_instanced_arrays", web_gl.AngleInstancedArrays); + web_gl.Buffer = class Buffer extends _interceptors.Interceptor {}; + dart.addTypeTests(web_gl.Buffer); + dart.addTypeCaches(web_gl.Buffer); + dart.setLibraryUri(web_gl.Buffer, I[160]); + dart.registerExtension("WebGLBuffer", web_gl.Buffer); + web_gl.Canvas = class Canvas extends _interceptors.Interceptor { + get [S$.$canvas]() { + return this.canvas; + } + get [S$4.$offscreenCanvas]() { + return this.canvas; + } + }; + dart.addTypeTests(web_gl.Canvas); + dart.addTypeCaches(web_gl.Canvas); + dart.setGetterSignature(web_gl.Canvas, () => ({ + __proto__: dart.getGetters(web_gl.Canvas.__proto__), + [S$.$canvas]: html$.CanvasElement, + [S$4.$offscreenCanvas]: dart.nullable(html$.OffscreenCanvas) + })); + dart.setLibraryUri(web_gl.Canvas, I[160]); + dart.registerExtension("WebGLCanvas", web_gl.Canvas); + web_gl.ColorBufferFloat = class ColorBufferFloat extends _interceptors.Interceptor {}; + dart.addTypeTests(web_gl.ColorBufferFloat); + dart.addTypeCaches(web_gl.ColorBufferFloat); + dart.setLibraryUri(web_gl.ColorBufferFloat, I[160]); + dart.registerExtension("WebGLColorBufferFloat", web_gl.ColorBufferFloat); + web_gl.CompressedTextureAstc = class CompressedTextureAstc extends _interceptors.Interceptor {}; + dart.addTypeTests(web_gl.CompressedTextureAstc); + dart.addTypeCaches(web_gl.CompressedTextureAstc); + dart.setLibraryUri(web_gl.CompressedTextureAstc, I[160]); + dart.defineLazy(web_gl.CompressedTextureAstc, { + /*web_gl.CompressedTextureAstc.COMPRESSED_RGBA_ASTC_10x10_KHR*/get COMPRESSED_RGBA_ASTC_10x10_KHR() { + return 37819; + }, + /*web_gl.CompressedTextureAstc.COMPRESSED_RGBA_ASTC_10x5_KHR*/get COMPRESSED_RGBA_ASTC_10x5_KHR() { + return 37816; + }, + /*web_gl.CompressedTextureAstc.COMPRESSED_RGBA_ASTC_10x6_KHR*/get COMPRESSED_RGBA_ASTC_10x6_KHR() { + return 37817; + }, + /*web_gl.CompressedTextureAstc.COMPRESSED_RGBA_ASTC_10x8_KHR*/get COMPRESSED_RGBA_ASTC_10x8_KHR() { + return 37818; + }, + /*web_gl.CompressedTextureAstc.COMPRESSED_RGBA_ASTC_12x10_KHR*/get COMPRESSED_RGBA_ASTC_12x10_KHR() { + return 37820; + }, + /*web_gl.CompressedTextureAstc.COMPRESSED_RGBA_ASTC_12x12_KHR*/get COMPRESSED_RGBA_ASTC_12x12_KHR() { + return 37821; + }, + /*web_gl.CompressedTextureAstc.COMPRESSED_RGBA_ASTC_4x4_KHR*/get COMPRESSED_RGBA_ASTC_4x4_KHR() { + return 37808; + }, + /*web_gl.CompressedTextureAstc.COMPRESSED_RGBA_ASTC_5x4_KHR*/get COMPRESSED_RGBA_ASTC_5x4_KHR() { + return 37809; + }, + /*web_gl.CompressedTextureAstc.COMPRESSED_RGBA_ASTC_5x5_KHR*/get COMPRESSED_RGBA_ASTC_5x5_KHR() { + return 37810; + }, + /*web_gl.CompressedTextureAstc.COMPRESSED_RGBA_ASTC_6x5_KHR*/get COMPRESSED_RGBA_ASTC_6x5_KHR() { + return 37811; + }, + /*web_gl.CompressedTextureAstc.COMPRESSED_RGBA_ASTC_6x6_KHR*/get COMPRESSED_RGBA_ASTC_6x6_KHR() { + return 37812; + }, + /*web_gl.CompressedTextureAstc.COMPRESSED_RGBA_ASTC_8x5_KHR*/get COMPRESSED_RGBA_ASTC_8x5_KHR() { + return 37813; + }, + /*web_gl.CompressedTextureAstc.COMPRESSED_RGBA_ASTC_8x6_KHR*/get COMPRESSED_RGBA_ASTC_8x6_KHR() { + return 37814; + }, + /*web_gl.CompressedTextureAstc.COMPRESSED_RGBA_ASTC_8x8_KHR*/get COMPRESSED_RGBA_ASTC_8x8_KHR() { + return 37815; + }, + /*web_gl.CompressedTextureAstc.COMPRESSED_SRGB8_ALPHA8_ASTC_10x10_KHR*/get COMPRESSED_SRGB8_ALPHA8_ASTC_10x10_KHR() { + return 37851; + }, + /*web_gl.CompressedTextureAstc.COMPRESSED_SRGB8_ALPHA8_ASTC_10x5_KHR*/get COMPRESSED_SRGB8_ALPHA8_ASTC_10x5_KHR() { + return 37848; + }, + /*web_gl.CompressedTextureAstc.COMPRESSED_SRGB8_ALPHA8_ASTC_10x6_KHR*/get COMPRESSED_SRGB8_ALPHA8_ASTC_10x6_KHR() { + return 37849; + }, + /*web_gl.CompressedTextureAstc.COMPRESSED_SRGB8_ALPHA8_ASTC_10x8_KHR*/get COMPRESSED_SRGB8_ALPHA8_ASTC_10x8_KHR() { + return 37850; + }, + /*web_gl.CompressedTextureAstc.COMPRESSED_SRGB8_ALPHA8_ASTC_12x10_KHR*/get COMPRESSED_SRGB8_ALPHA8_ASTC_12x10_KHR() { + return 37852; + }, + /*web_gl.CompressedTextureAstc.COMPRESSED_SRGB8_ALPHA8_ASTC_12x12_KHR*/get COMPRESSED_SRGB8_ALPHA8_ASTC_12x12_KHR() { + return 37853; + }, + /*web_gl.CompressedTextureAstc.COMPRESSED_SRGB8_ALPHA8_ASTC_4x4_KHR*/get COMPRESSED_SRGB8_ALPHA8_ASTC_4x4_KHR() { + return 37840; + }, + /*web_gl.CompressedTextureAstc.COMPRESSED_SRGB8_ALPHA8_ASTC_5x4_KHR*/get COMPRESSED_SRGB8_ALPHA8_ASTC_5x4_KHR() { + return 37841; + }, + /*web_gl.CompressedTextureAstc.COMPRESSED_SRGB8_ALPHA8_ASTC_5x5_KHR*/get COMPRESSED_SRGB8_ALPHA8_ASTC_5x5_KHR() { + return 37842; + }, + /*web_gl.CompressedTextureAstc.COMPRESSED_SRGB8_ALPHA8_ASTC_6x5_KHR*/get COMPRESSED_SRGB8_ALPHA8_ASTC_6x5_KHR() { + return 37843; + }, + /*web_gl.CompressedTextureAstc.COMPRESSED_SRGB8_ALPHA8_ASTC_6x6_KHR*/get COMPRESSED_SRGB8_ALPHA8_ASTC_6x6_KHR() { + return 37844; + }, + /*web_gl.CompressedTextureAstc.COMPRESSED_SRGB8_ALPHA8_ASTC_8x5_KHR*/get COMPRESSED_SRGB8_ALPHA8_ASTC_8x5_KHR() { + return 37845; + }, + /*web_gl.CompressedTextureAstc.COMPRESSED_SRGB8_ALPHA8_ASTC_8x6_KHR*/get COMPRESSED_SRGB8_ALPHA8_ASTC_8x6_KHR() { + return 37846; + }, + /*web_gl.CompressedTextureAstc.COMPRESSED_SRGB8_ALPHA8_ASTC_8x8_KHR*/get COMPRESSED_SRGB8_ALPHA8_ASTC_8x8_KHR() { + return 37847; + } + }, false); + dart.registerExtension("WebGLCompressedTextureASTC", web_gl.CompressedTextureAstc); + web_gl.CompressedTextureAtc = class CompressedTextureAtc extends _interceptors.Interceptor {}; + dart.addTypeTests(web_gl.CompressedTextureAtc); + dart.addTypeCaches(web_gl.CompressedTextureAtc); + dart.setLibraryUri(web_gl.CompressedTextureAtc, I[160]); + dart.defineLazy(web_gl.CompressedTextureAtc, { + /*web_gl.CompressedTextureAtc.COMPRESSED_RGBA_ATC_EXPLICIT_ALPHA_WEBGL*/get COMPRESSED_RGBA_ATC_EXPLICIT_ALPHA_WEBGL() { + return 35987; + }, + /*web_gl.CompressedTextureAtc.COMPRESSED_RGBA_ATC_INTERPOLATED_ALPHA_WEBGL*/get COMPRESSED_RGBA_ATC_INTERPOLATED_ALPHA_WEBGL() { + return 34798; + }, + /*web_gl.CompressedTextureAtc.COMPRESSED_RGB_ATC_WEBGL*/get COMPRESSED_RGB_ATC_WEBGL() { + return 35986; + } + }, false); + dart.registerExtension("WebGLCompressedTextureATC", web_gl.CompressedTextureAtc); + dart.registerExtension("WEBGL_compressed_texture_atc", web_gl.CompressedTextureAtc); + web_gl.CompressedTextureETC1 = class CompressedTextureETC1 extends _interceptors.Interceptor {}; + dart.addTypeTests(web_gl.CompressedTextureETC1); + dart.addTypeCaches(web_gl.CompressedTextureETC1); + dart.setLibraryUri(web_gl.CompressedTextureETC1, I[160]); + dart.defineLazy(web_gl.CompressedTextureETC1, { + /*web_gl.CompressedTextureETC1.COMPRESSED_RGB_ETC1_WEBGL*/get COMPRESSED_RGB_ETC1_WEBGL() { + return 36196; + } + }, false); + dart.registerExtension("WebGLCompressedTextureETC1", web_gl.CompressedTextureETC1); + dart.registerExtension("WEBGL_compressed_texture_etc1", web_gl.CompressedTextureETC1); + web_gl.CompressedTextureEtc = class CompressedTextureEtc extends _interceptors.Interceptor {}; + dart.addTypeTests(web_gl.CompressedTextureEtc); + dart.addTypeCaches(web_gl.CompressedTextureEtc); + dart.setLibraryUri(web_gl.CompressedTextureEtc, I[160]); + dart.defineLazy(web_gl.CompressedTextureEtc, { + /*web_gl.CompressedTextureEtc.COMPRESSED_R11_EAC*/get COMPRESSED_R11_EAC() { + return 37488; + }, + /*web_gl.CompressedTextureEtc.COMPRESSED_RG11_EAC*/get COMPRESSED_RG11_EAC() { + return 37490; + }, + /*web_gl.CompressedTextureEtc.COMPRESSED_RGB8_ETC2*/get COMPRESSED_RGB8_ETC2() { + return 37492; + }, + /*web_gl.CompressedTextureEtc.COMPRESSED_RGB8_PUNCHTHROUGH_ALPHA1_ETC2*/get COMPRESSED_RGB8_PUNCHTHROUGH_ALPHA1_ETC2() { + return 37494; + }, + /*web_gl.CompressedTextureEtc.COMPRESSED_RGBA8_ETC2_EAC*/get COMPRESSED_RGBA8_ETC2_EAC() { + return 37496; + }, + /*web_gl.CompressedTextureEtc.COMPRESSED_SIGNED_R11_EAC*/get COMPRESSED_SIGNED_R11_EAC() { + return 37489; + }, + /*web_gl.CompressedTextureEtc.COMPRESSED_SIGNED_RG11_EAC*/get COMPRESSED_SIGNED_RG11_EAC() { + return 37491; + }, + /*web_gl.CompressedTextureEtc.COMPRESSED_SRGB8_ALPHA8_ETC2_EAC*/get COMPRESSED_SRGB8_ALPHA8_ETC2_EAC() { + return 37497; + }, + /*web_gl.CompressedTextureEtc.COMPRESSED_SRGB8_ETC2*/get COMPRESSED_SRGB8_ETC2() { + return 37493; + }, + /*web_gl.CompressedTextureEtc.COMPRESSED_SRGB8_PUNCHTHROUGH_ALPHA1_ETC2*/get COMPRESSED_SRGB8_PUNCHTHROUGH_ALPHA1_ETC2() { + return 37495; + } + }, false); + dart.registerExtension("WebGLCompressedTextureETC", web_gl.CompressedTextureEtc); + web_gl.CompressedTexturePvrtc = class CompressedTexturePvrtc extends _interceptors.Interceptor {}; + dart.addTypeTests(web_gl.CompressedTexturePvrtc); + dart.addTypeCaches(web_gl.CompressedTexturePvrtc); + dart.setLibraryUri(web_gl.CompressedTexturePvrtc, I[160]); + dart.defineLazy(web_gl.CompressedTexturePvrtc, { + /*web_gl.CompressedTexturePvrtc.COMPRESSED_RGBA_PVRTC_2BPPV1_IMG*/get COMPRESSED_RGBA_PVRTC_2BPPV1_IMG() { + return 35843; + }, + /*web_gl.CompressedTexturePvrtc.COMPRESSED_RGBA_PVRTC_4BPPV1_IMG*/get COMPRESSED_RGBA_PVRTC_4BPPV1_IMG() { + return 35842; + }, + /*web_gl.CompressedTexturePvrtc.COMPRESSED_RGB_PVRTC_2BPPV1_IMG*/get COMPRESSED_RGB_PVRTC_2BPPV1_IMG() { + return 35841; + }, + /*web_gl.CompressedTexturePvrtc.COMPRESSED_RGB_PVRTC_4BPPV1_IMG*/get COMPRESSED_RGB_PVRTC_4BPPV1_IMG() { + return 35840; + } + }, false); + dart.registerExtension("WebGLCompressedTexturePVRTC", web_gl.CompressedTexturePvrtc); + dart.registerExtension("WEBGL_compressed_texture_pvrtc", web_gl.CompressedTexturePvrtc); + web_gl.CompressedTextureS3TC = class CompressedTextureS3TC extends _interceptors.Interceptor {}; + dart.addTypeTests(web_gl.CompressedTextureS3TC); + dart.addTypeCaches(web_gl.CompressedTextureS3TC); + dart.setLibraryUri(web_gl.CompressedTextureS3TC, I[160]); + dart.defineLazy(web_gl.CompressedTextureS3TC, { + /*web_gl.CompressedTextureS3TC.COMPRESSED_RGBA_S3TC_DXT1_EXT*/get COMPRESSED_RGBA_S3TC_DXT1_EXT() { + return 33777; + }, + /*web_gl.CompressedTextureS3TC.COMPRESSED_RGBA_S3TC_DXT3_EXT*/get COMPRESSED_RGBA_S3TC_DXT3_EXT() { + return 33778; + }, + /*web_gl.CompressedTextureS3TC.COMPRESSED_RGBA_S3TC_DXT5_EXT*/get COMPRESSED_RGBA_S3TC_DXT5_EXT() { + return 33779; + }, + /*web_gl.CompressedTextureS3TC.COMPRESSED_RGB_S3TC_DXT1_EXT*/get COMPRESSED_RGB_S3TC_DXT1_EXT() { + return 33776; + } + }, false); + dart.registerExtension("WebGLCompressedTextureS3TC", web_gl.CompressedTextureS3TC); + dart.registerExtension("WEBGL_compressed_texture_s3tc", web_gl.CompressedTextureS3TC); + web_gl.CompressedTextureS3TCsRgb = class CompressedTextureS3TCsRgb extends _interceptors.Interceptor {}; + dart.addTypeTests(web_gl.CompressedTextureS3TCsRgb); + dart.addTypeCaches(web_gl.CompressedTextureS3TCsRgb); + dart.setLibraryUri(web_gl.CompressedTextureS3TCsRgb, I[160]); + dart.defineLazy(web_gl.CompressedTextureS3TCsRgb, { + /*web_gl.CompressedTextureS3TCsRgb.COMPRESSED_SRGB_ALPHA_S3TC_DXT1_EXT*/get COMPRESSED_SRGB_ALPHA_S3TC_DXT1_EXT() { + return 35917; + }, + /*web_gl.CompressedTextureS3TCsRgb.COMPRESSED_SRGB_ALPHA_S3TC_DXT3_EXT*/get COMPRESSED_SRGB_ALPHA_S3TC_DXT3_EXT() { + return 35918; + }, + /*web_gl.CompressedTextureS3TCsRgb.COMPRESSED_SRGB_ALPHA_S3TC_DXT5_EXT*/get COMPRESSED_SRGB_ALPHA_S3TC_DXT5_EXT() { + return 35919; + }, + /*web_gl.CompressedTextureS3TCsRgb.COMPRESSED_SRGB_S3TC_DXT1_EXT*/get COMPRESSED_SRGB_S3TC_DXT1_EXT() { + return 35916; + } + }, false); + dart.registerExtension("WebGLCompressedTextureS3TCsRGB", web_gl.CompressedTextureS3TCsRgb); + web_gl.ContextEvent = class ContextEvent extends html$.Event { + static new(type, eventInit = null) { + if (type == null) dart.nullFailed(I[161], 303, 31, "type"); + if (eventInit != null) { + let eventInit_1 = html_common.convertDartToNative_Dictionary(eventInit); + return web_gl.ContextEvent._create_1(type, eventInit_1); + } + return web_gl.ContextEvent._create_2(type); + } + static _create_1(type, eventInit) { + return new WebGLContextEvent(type, eventInit); + } + static _create_2(type) { + return new WebGLContextEvent(type); + } + get [S$4.$statusMessage]() { + return this.statusMessage; + } + }; + dart.addTypeTests(web_gl.ContextEvent); + dart.addTypeCaches(web_gl.ContextEvent); + dart.setGetterSignature(web_gl.ContextEvent, () => ({ + __proto__: dart.getGetters(web_gl.ContextEvent.__proto__), + [S$4.$statusMessage]: core.String + })); + dart.setLibraryUri(web_gl.ContextEvent, I[160]); + dart.registerExtension("WebGLContextEvent", web_gl.ContextEvent); + web_gl.DebugRendererInfo = class DebugRendererInfo extends _interceptors.Interceptor {}; + dart.addTypeTests(web_gl.DebugRendererInfo); + dart.addTypeCaches(web_gl.DebugRendererInfo); + dart.setLibraryUri(web_gl.DebugRendererInfo, I[160]); + dart.defineLazy(web_gl.DebugRendererInfo, { + /*web_gl.DebugRendererInfo.UNMASKED_RENDERER_WEBGL*/get UNMASKED_RENDERER_WEBGL() { + return 37446; + }, + /*web_gl.DebugRendererInfo.UNMASKED_VENDOR_WEBGL*/get UNMASKED_VENDOR_WEBGL() { + return 37445; + } + }, false); + dart.registerExtension("WebGLDebugRendererInfo", web_gl.DebugRendererInfo); + dart.registerExtension("WEBGL_debug_renderer_info", web_gl.DebugRendererInfo); + web_gl.DebugShaders = class DebugShaders extends _interceptors.Interceptor { + [S$4.$getTranslatedShaderSource](...args) { + return this.getTranslatedShaderSource.apply(this, args); + } + }; + dart.addTypeTests(web_gl.DebugShaders); + dart.addTypeCaches(web_gl.DebugShaders); + dart.setMethodSignature(web_gl.DebugShaders, () => ({ + __proto__: dart.getMethods(web_gl.DebugShaders.__proto__), + [S$4.$getTranslatedShaderSource]: dart.fnType(dart.nullable(core.String), [web_gl.Shader]) + })); + dart.setLibraryUri(web_gl.DebugShaders, I[160]); + dart.registerExtension("WebGLDebugShaders", web_gl.DebugShaders); + dart.registerExtension("WEBGL_debug_shaders", web_gl.DebugShaders); + web_gl.DepthTexture = class DepthTexture extends _interceptors.Interceptor {}; + dart.addTypeTests(web_gl.DepthTexture); + dart.addTypeCaches(web_gl.DepthTexture); + dart.setLibraryUri(web_gl.DepthTexture, I[160]); + dart.defineLazy(web_gl.DepthTexture, { + /*web_gl.DepthTexture.UNSIGNED_INT_24_8_WEBGL*/get UNSIGNED_INT_24_8_WEBGL() { + return 34042; + } + }, false); + dart.registerExtension("WebGLDepthTexture", web_gl.DepthTexture); + dart.registerExtension("WEBGL_depth_texture", web_gl.DepthTexture); + web_gl.DrawBuffers = class DrawBuffers extends _interceptors.Interceptor { + [S$4.$drawBuffersWebgl](...args) { + return this.drawBuffersWEBGL.apply(this, args); + } + }; + dart.addTypeTests(web_gl.DrawBuffers); + dart.addTypeCaches(web_gl.DrawBuffers); + dart.setMethodSignature(web_gl.DrawBuffers, () => ({ + __proto__: dart.getMethods(web_gl.DrawBuffers.__proto__), + [S$4.$drawBuffersWebgl]: dart.fnType(dart.void, [core.List$(core.int)]) + })); + dart.setLibraryUri(web_gl.DrawBuffers, I[160]); + dart.registerExtension("WebGLDrawBuffers", web_gl.DrawBuffers); + dart.registerExtension("WEBGL_draw_buffers", web_gl.DrawBuffers); + web_gl.EXTsRgb = class EXTsRgb extends _interceptors.Interceptor {}; + dart.addTypeTests(web_gl.EXTsRgb); + dart.addTypeCaches(web_gl.EXTsRgb); + dart.setLibraryUri(web_gl.EXTsRgb, I[160]); + dart.defineLazy(web_gl.EXTsRgb, { + /*web_gl.EXTsRgb.FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING_EXT*/get FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING_EXT() { + return 33296; + }, + /*web_gl.EXTsRgb.SRGB8_ALPHA8_EXT*/get SRGB8_ALPHA8_EXT() { + return 35907; + }, + /*web_gl.EXTsRgb.SRGB_ALPHA_EXT*/get SRGB_ALPHA_EXT() { + return 35906; + }, + /*web_gl.EXTsRgb.SRGB_EXT*/get SRGB_EXT() { + return 35904; + } + }, false); + dart.registerExtension("EXTsRGB", web_gl.EXTsRgb); + dart.registerExtension("EXT_sRGB", web_gl.EXTsRgb); + web_gl.ExtBlendMinMax = class ExtBlendMinMax extends _interceptors.Interceptor {}; + dart.addTypeTests(web_gl.ExtBlendMinMax); + dart.addTypeCaches(web_gl.ExtBlendMinMax); + dart.setLibraryUri(web_gl.ExtBlendMinMax, I[160]); + dart.defineLazy(web_gl.ExtBlendMinMax, { + /*web_gl.ExtBlendMinMax.MAX_EXT*/get MAX_EXT() { + return 32776; + }, + /*web_gl.ExtBlendMinMax.MIN_EXT*/get MIN_EXT() { + return 32775; + } + }, false); + dart.registerExtension("EXTBlendMinMax", web_gl.ExtBlendMinMax); + dart.registerExtension("EXT_blend_minmax", web_gl.ExtBlendMinMax); + web_gl.ExtColorBufferFloat = class ExtColorBufferFloat extends _interceptors.Interceptor {}; + dart.addTypeTests(web_gl.ExtColorBufferFloat); + dart.addTypeCaches(web_gl.ExtColorBufferFloat); + dart.setLibraryUri(web_gl.ExtColorBufferFloat, I[160]); + dart.registerExtension("EXTColorBufferFloat", web_gl.ExtColorBufferFloat); + web_gl.ExtColorBufferHalfFloat = class ExtColorBufferHalfFloat extends _interceptors.Interceptor {}; + dart.addTypeTests(web_gl.ExtColorBufferHalfFloat); + dart.addTypeCaches(web_gl.ExtColorBufferHalfFloat); + dart.setLibraryUri(web_gl.ExtColorBufferHalfFloat, I[160]); + dart.registerExtension("EXTColorBufferHalfFloat", web_gl.ExtColorBufferHalfFloat); + web_gl.ExtDisjointTimerQuery = class ExtDisjointTimerQuery extends _interceptors.Interceptor { + [S$4.$beginQueryExt](...args) { + return this.beginQueryEXT.apply(this, args); + } + [S$4.$createQueryExt](...args) { + return this.createQueryEXT.apply(this, args); + } + [S$4.$deleteQueryExt](...args) { + return this.deleteQueryEXT.apply(this, args); + } + [S$4.$endQueryExt](...args) { + return this.endQueryEXT.apply(this, args); + } + [S$4.$getQueryExt](...args) { + return this.getQueryEXT.apply(this, args); + } + [S$4.$getQueryObjectExt](...args) { + return this.getQueryObjectEXT.apply(this, args); + } + [S$4.$isQueryExt](...args) { + return this.isQueryEXT.apply(this, args); + } + [S$4.$queryCounterExt](...args) { + return this.queryCounterEXT.apply(this, args); + } + }; + dart.addTypeTests(web_gl.ExtDisjointTimerQuery); + dart.addTypeCaches(web_gl.ExtDisjointTimerQuery); + dart.setMethodSignature(web_gl.ExtDisjointTimerQuery, () => ({ + __proto__: dart.getMethods(web_gl.ExtDisjointTimerQuery.__proto__), + [S$4.$beginQueryExt]: dart.fnType(dart.void, [core.int, web_gl.TimerQueryExt]), + [S$4.$createQueryExt]: dart.fnType(web_gl.TimerQueryExt, []), + [S$4.$deleteQueryExt]: dart.fnType(dart.void, [dart.nullable(web_gl.TimerQueryExt)]), + [S$4.$endQueryExt]: dart.fnType(dart.void, [core.int]), + [S$4.$getQueryExt]: dart.fnType(dart.nullable(core.Object), [core.int, core.int]), + [S$4.$getQueryObjectExt]: dart.fnType(dart.nullable(core.Object), [web_gl.TimerQueryExt, core.int]), + [S$4.$isQueryExt]: dart.fnType(core.bool, [dart.nullable(web_gl.TimerQueryExt)]), + [S$4.$queryCounterExt]: dart.fnType(dart.void, [web_gl.TimerQueryExt, core.int]) + })); + dart.setLibraryUri(web_gl.ExtDisjointTimerQuery, I[160]); + dart.defineLazy(web_gl.ExtDisjointTimerQuery, { + /*web_gl.ExtDisjointTimerQuery.CURRENT_QUERY_EXT*/get CURRENT_QUERY_EXT() { + return 34917; + }, + /*web_gl.ExtDisjointTimerQuery.GPU_DISJOINT_EXT*/get GPU_DISJOINT_EXT() { + return 36795; + }, + /*web_gl.ExtDisjointTimerQuery.QUERY_COUNTER_BITS_EXT*/get QUERY_COUNTER_BITS_EXT() { + return 34916; + }, + /*web_gl.ExtDisjointTimerQuery.QUERY_RESULT_AVAILABLE_EXT*/get QUERY_RESULT_AVAILABLE_EXT() { + return 34919; + }, + /*web_gl.ExtDisjointTimerQuery.QUERY_RESULT_EXT*/get QUERY_RESULT_EXT() { + return 34918; + }, + /*web_gl.ExtDisjointTimerQuery.TIMESTAMP_EXT*/get TIMESTAMP_EXT() { + return 36392; + }, + /*web_gl.ExtDisjointTimerQuery.TIME_ELAPSED_EXT*/get TIME_ELAPSED_EXT() { + return 35007; + } + }, false); + dart.registerExtension("EXTDisjointTimerQuery", web_gl.ExtDisjointTimerQuery); + web_gl.ExtDisjointTimerQueryWebGL2 = class ExtDisjointTimerQueryWebGL2 extends _interceptors.Interceptor { + [S$4.$queryCounterExt](...args) { + return this.queryCounterEXT.apply(this, args); + } + }; + dart.addTypeTests(web_gl.ExtDisjointTimerQueryWebGL2); + dart.addTypeCaches(web_gl.ExtDisjointTimerQueryWebGL2); + dart.setMethodSignature(web_gl.ExtDisjointTimerQueryWebGL2, () => ({ + __proto__: dart.getMethods(web_gl.ExtDisjointTimerQueryWebGL2.__proto__), + [S$4.$queryCounterExt]: dart.fnType(dart.void, [web_gl.Query, core.int]) + })); + dart.setLibraryUri(web_gl.ExtDisjointTimerQueryWebGL2, I[160]); + dart.defineLazy(web_gl.ExtDisjointTimerQueryWebGL2, { + /*web_gl.ExtDisjointTimerQueryWebGL2.GPU_DISJOINT_EXT*/get GPU_DISJOINT_EXT() { + return 36795; + }, + /*web_gl.ExtDisjointTimerQueryWebGL2.QUERY_COUNTER_BITS_EXT*/get QUERY_COUNTER_BITS_EXT() { + return 34916; + }, + /*web_gl.ExtDisjointTimerQueryWebGL2.TIMESTAMP_EXT*/get TIMESTAMP_EXT() { + return 36392; + }, + /*web_gl.ExtDisjointTimerQueryWebGL2.TIME_ELAPSED_EXT*/get TIME_ELAPSED_EXT() { + return 35007; + } + }, false); + dart.registerExtension("EXTDisjointTimerQueryWebGL2", web_gl.ExtDisjointTimerQueryWebGL2); + web_gl.ExtFragDepth = class ExtFragDepth extends _interceptors.Interceptor {}; + dart.addTypeTests(web_gl.ExtFragDepth); + dart.addTypeCaches(web_gl.ExtFragDepth); + dart.setLibraryUri(web_gl.ExtFragDepth, I[160]); + dart.registerExtension("EXTFragDepth", web_gl.ExtFragDepth); + dart.registerExtension("EXT_frag_depth", web_gl.ExtFragDepth); + web_gl.ExtShaderTextureLod = class ExtShaderTextureLod extends _interceptors.Interceptor {}; + dart.addTypeTests(web_gl.ExtShaderTextureLod); + dart.addTypeCaches(web_gl.ExtShaderTextureLod); + dart.setLibraryUri(web_gl.ExtShaderTextureLod, I[160]); + dart.registerExtension("EXTShaderTextureLOD", web_gl.ExtShaderTextureLod); + dart.registerExtension("EXT_shader_texture_lod", web_gl.ExtShaderTextureLod); + web_gl.ExtTextureFilterAnisotropic = class ExtTextureFilterAnisotropic extends _interceptors.Interceptor {}; + dart.addTypeTests(web_gl.ExtTextureFilterAnisotropic); + dart.addTypeCaches(web_gl.ExtTextureFilterAnisotropic); + dart.setLibraryUri(web_gl.ExtTextureFilterAnisotropic, I[160]); + dart.defineLazy(web_gl.ExtTextureFilterAnisotropic, { + /*web_gl.ExtTextureFilterAnisotropic.MAX_TEXTURE_MAX_ANISOTROPY_EXT*/get MAX_TEXTURE_MAX_ANISOTROPY_EXT() { + return 34047; + }, + /*web_gl.ExtTextureFilterAnisotropic.TEXTURE_MAX_ANISOTROPY_EXT*/get TEXTURE_MAX_ANISOTROPY_EXT() { + return 34046; + } + }, false); + dart.registerExtension("EXTTextureFilterAnisotropic", web_gl.ExtTextureFilterAnisotropic); + dart.registerExtension("EXT_texture_filter_anisotropic", web_gl.ExtTextureFilterAnisotropic); + web_gl.Framebuffer = class Framebuffer extends _interceptors.Interceptor {}; + dart.addTypeTests(web_gl.Framebuffer); + dart.addTypeCaches(web_gl.Framebuffer); + dart.setLibraryUri(web_gl.Framebuffer, I[160]); + dart.registerExtension("WebGLFramebuffer", web_gl.Framebuffer); + web_gl.GetBufferSubDataAsync = class GetBufferSubDataAsync extends _interceptors.Interceptor { + [S$4.$getBufferSubDataAsync](target, srcByteOffset, dstData, dstOffset = null, length = null) { + if (target == null) dart.nullFailed(I[161], 559, 36, "target"); + if (srcByteOffset == null) dart.nullFailed(I[161], 559, 48, "srcByteOffset"); + if (dstData == null) dart.nullFailed(I[161], 559, 73, "dstData"); + return js_util.promiseToFuture(dart.dynamic, this.getBufferSubDataAsync(target, srcByteOffset, dstData, dstOffset, length)); + } + }; + dart.addTypeTests(web_gl.GetBufferSubDataAsync); + dart.addTypeCaches(web_gl.GetBufferSubDataAsync); + dart.setMethodSignature(web_gl.GetBufferSubDataAsync, () => ({ + __proto__: dart.getMethods(web_gl.GetBufferSubDataAsync.__proto__), + [S$4.$getBufferSubDataAsync]: dart.fnType(async.Future, [core.int, core.int, typed_data.TypedData], [dart.nullable(core.int), dart.nullable(core.int)]) + })); + dart.setLibraryUri(web_gl.GetBufferSubDataAsync, I[160]); + dart.registerExtension("WebGLGetBufferSubDataAsync", web_gl.GetBufferSubDataAsync); + web_gl.LoseContext = class LoseContext extends _interceptors.Interceptor { + [S$4.$loseContext](...args) { + return this.loseContext.apply(this, args); + } + [S$4.$restoreContext](...args) { + return this.restoreContext.apply(this, args); + } + }; + dart.addTypeTests(web_gl.LoseContext); + dart.addTypeCaches(web_gl.LoseContext); + dart.setMethodSignature(web_gl.LoseContext, () => ({ + __proto__: dart.getMethods(web_gl.LoseContext.__proto__), + [S$4.$loseContext]: dart.fnType(dart.void, []), + [S$4.$restoreContext]: dart.fnType(dart.void, []) + })); + dart.setLibraryUri(web_gl.LoseContext, I[160]); + dart.registerExtension("WebGLLoseContext", web_gl.LoseContext); + dart.registerExtension("WebGLExtensionLoseContext", web_gl.LoseContext); + dart.registerExtension("WEBGL_lose_context", web_gl.LoseContext); + web_gl.OesElementIndexUint = class OesElementIndexUint extends _interceptors.Interceptor {}; + dart.addTypeTests(web_gl.OesElementIndexUint); + dart.addTypeCaches(web_gl.OesElementIndexUint); + dart.setLibraryUri(web_gl.OesElementIndexUint, I[160]); + dart.registerExtension("OESElementIndexUint", web_gl.OesElementIndexUint); + dart.registerExtension("OES_element_index_uint", web_gl.OesElementIndexUint); + web_gl.OesStandardDerivatives = class OesStandardDerivatives extends _interceptors.Interceptor {}; + dart.addTypeTests(web_gl.OesStandardDerivatives); + dart.addTypeCaches(web_gl.OesStandardDerivatives); + dart.setLibraryUri(web_gl.OesStandardDerivatives, I[160]); + dart.defineLazy(web_gl.OesStandardDerivatives, { + /*web_gl.OesStandardDerivatives.FRAGMENT_SHADER_DERIVATIVE_HINT_OES*/get FRAGMENT_SHADER_DERIVATIVE_HINT_OES() { + return 35723; + } + }, false); + dart.registerExtension("OESStandardDerivatives", web_gl.OesStandardDerivatives); + dart.registerExtension("OES_standard_derivatives", web_gl.OesStandardDerivatives); + web_gl.OesTextureFloat = class OesTextureFloat extends _interceptors.Interceptor {}; + dart.addTypeTests(web_gl.OesTextureFloat); + dart.addTypeCaches(web_gl.OesTextureFloat); + dart.setLibraryUri(web_gl.OesTextureFloat, I[160]); + dart.registerExtension("OESTextureFloat", web_gl.OesTextureFloat); + dart.registerExtension("OES_texture_float", web_gl.OesTextureFloat); + web_gl.OesTextureFloatLinear = class OesTextureFloatLinear extends _interceptors.Interceptor {}; + dart.addTypeTests(web_gl.OesTextureFloatLinear); + dart.addTypeCaches(web_gl.OesTextureFloatLinear); + dart.setLibraryUri(web_gl.OesTextureFloatLinear, I[160]); + dart.registerExtension("OESTextureFloatLinear", web_gl.OesTextureFloatLinear); + dart.registerExtension("OES_texture_float_linear", web_gl.OesTextureFloatLinear); + web_gl.OesTextureHalfFloat = class OesTextureHalfFloat extends _interceptors.Interceptor {}; + dart.addTypeTests(web_gl.OesTextureHalfFloat); + dart.addTypeCaches(web_gl.OesTextureHalfFloat); + dart.setLibraryUri(web_gl.OesTextureHalfFloat, I[160]); + dart.defineLazy(web_gl.OesTextureHalfFloat, { + /*web_gl.OesTextureHalfFloat.HALF_FLOAT_OES*/get HALF_FLOAT_OES() { + return 36193; + } + }, false); + dart.registerExtension("OESTextureHalfFloat", web_gl.OesTextureHalfFloat); + dart.registerExtension("OES_texture_half_float", web_gl.OesTextureHalfFloat); + web_gl.OesTextureHalfFloatLinear = class OesTextureHalfFloatLinear extends _interceptors.Interceptor {}; + dart.addTypeTests(web_gl.OesTextureHalfFloatLinear); + dart.addTypeCaches(web_gl.OesTextureHalfFloatLinear); + dart.setLibraryUri(web_gl.OesTextureHalfFloatLinear, I[160]); + dart.registerExtension("OESTextureHalfFloatLinear", web_gl.OesTextureHalfFloatLinear); + dart.registerExtension("OES_texture_half_float_linear", web_gl.OesTextureHalfFloatLinear); + web_gl.OesVertexArrayObject = class OesVertexArrayObject extends _interceptors.Interceptor { + [S$4.$bindVertexArray](...args) { + return this.bindVertexArrayOES.apply(this, args); + } + [S$4.$createVertexArray](...args) { + return this.createVertexArrayOES.apply(this, args); + } + [S$4.$deleteVertexArray](...args) { + return this.deleteVertexArrayOES.apply(this, args); + } + [S$4.$isVertexArray](...args) { + return this.isVertexArrayOES.apply(this, args); + } + }; + dart.addTypeTests(web_gl.OesVertexArrayObject); + dart.addTypeCaches(web_gl.OesVertexArrayObject); + dart.setMethodSignature(web_gl.OesVertexArrayObject, () => ({ + __proto__: dart.getMethods(web_gl.OesVertexArrayObject.__proto__), + [S$4.$bindVertexArray]: dart.fnType(dart.void, [dart.nullable(web_gl.VertexArrayObjectOes)]), + [S$4.$createVertexArray]: dart.fnType(web_gl.VertexArrayObjectOes, []), + [S$4.$deleteVertexArray]: dart.fnType(dart.void, [dart.nullable(web_gl.VertexArrayObjectOes)]), + [S$4.$isVertexArray]: dart.fnType(core.bool, [dart.nullable(web_gl.VertexArrayObjectOes)]) + })); + dart.setLibraryUri(web_gl.OesVertexArrayObject, I[160]); + dart.defineLazy(web_gl.OesVertexArrayObject, { + /*web_gl.OesVertexArrayObject.VERTEX_ARRAY_BINDING_OES*/get VERTEX_ARRAY_BINDING_OES() { + return 34229; + } + }, false); + dart.registerExtension("OESVertexArrayObject", web_gl.OesVertexArrayObject); + dart.registerExtension("OES_vertex_array_object", web_gl.OesVertexArrayObject); + web_gl.Program = class Program extends _interceptors.Interceptor {}; + dart.addTypeTests(web_gl.Program); + dart.addTypeCaches(web_gl.Program); + dart.setLibraryUri(web_gl.Program, I[160]); + dart.registerExtension("WebGLProgram", web_gl.Program); + web_gl.Query = class Query extends _interceptors.Interceptor {}; + dart.addTypeTests(web_gl.Query); + dart.addTypeCaches(web_gl.Query); + dart.setLibraryUri(web_gl.Query, I[160]); + dart.registerExtension("WebGLQuery", web_gl.Query); + web_gl.Renderbuffer = class Renderbuffer extends _interceptors.Interceptor {}; + dart.addTypeTests(web_gl.Renderbuffer); + dart.addTypeCaches(web_gl.Renderbuffer); + dart.setLibraryUri(web_gl.Renderbuffer, I[160]); + dart.registerExtension("WebGLRenderbuffer", web_gl.Renderbuffer); + web_gl.RenderingContext = class RenderingContext extends _interceptors.Interceptor { + static get supported() { + return !!window.WebGLRenderingContext; + } + get [S$.$canvas]() { + return this.canvas; + } + get [S$4.$drawingBufferHeight]() { + return this.drawingBufferHeight; + } + get [S$4.$drawingBufferWidth]() { + return this.drawingBufferWidth; + } + [S$4.$activeTexture](...args) { + return this.activeTexture.apply(this, args); + } + [S$4.$attachShader](...args) { + return this.attachShader.apply(this, args); + } + [S$4.$bindAttribLocation](...args) { + return this.bindAttribLocation.apply(this, args); + } + [S$4.$bindBuffer](...args) { + return this.bindBuffer.apply(this, args); + } + [S$4.$bindFramebuffer](...args) { + return this.bindFramebuffer.apply(this, args); + } + [S$4.$bindRenderbuffer](...args) { + return this.bindRenderbuffer.apply(this, args); + } + [S$4.$bindTexture](...args) { + return this.bindTexture.apply(this, args); + } + [S$4.$blendColor](...args) { + return this.blendColor.apply(this, args); + } + [S$4.$blendEquation](...args) { + return this.blendEquation.apply(this, args); + } + [S$4.$blendEquationSeparate](...args) { + return this.blendEquationSeparate.apply(this, args); + } + [S$4.$blendFunc](...args) { + return this.blendFunc.apply(this, args); + } + [S$4.$blendFuncSeparate](...args) { + return this.blendFuncSeparate.apply(this, args); + } + [S$4.$bufferData](...args) { + return this.bufferData.apply(this, args); + } + [S$4.$bufferSubData](...args) { + return this.bufferSubData.apply(this, args); + } + [S$4.$checkFramebufferStatus](...args) { + return this.checkFramebufferStatus.apply(this, args); + } + [$clear](...args) { + return this.clear.apply(this, args); + } + [S$4.$clearColor](...args) { + return this.clearColor.apply(this, args); + } + [S$4.$clearDepth](...args) { + return this.clearDepth.apply(this, args); + } + [S$4.$clearStencil](...args) { + return this.clearStencil.apply(this, args); + } + [S$4.$colorMask](...args) { + return this.colorMask.apply(this, args); + } + [S$2.$commit]() { + return js_util.promiseToFuture(dart.dynamic, this.commit()); + } + [S$4.$compileShader](...args) { + return this.compileShader.apply(this, args); + } + [S$4.$compressedTexImage2D](...args) { + return this.compressedTexImage2D.apply(this, args); + } + [S$4.$compressedTexSubImage2D](...args) { + return this.compressedTexSubImage2D.apply(this, args); + } + [S$4.$copyTexImage2D](...args) { + return this.copyTexImage2D.apply(this, args); + } + [S$4.$copyTexSubImage2D](...args) { + return this.copyTexSubImage2D.apply(this, args); + } + [S$3.$createBuffer](...args) { + return this.createBuffer.apply(this, args); + } + [S$4.$createFramebuffer](...args) { + return this.createFramebuffer.apply(this, args); + } + [S$4.$createProgram](...args) { + return this.createProgram.apply(this, args); + } + [S$4.$createRenderbuffer](...args) { + return this.createRenderbuffer.apply(this, args); + } + [S$4.$createShader](...args) { + return this.createShader.apply(this, args); + } + [S$4.$createTexture](...args) { + return this.createTexture.apply(this, args); + } + [S$4.$cullFace](...args) { + return this.cullFace.apply(this, args); + } + [S$4.$deleteBuffer](...args) { + return this.deleteBuffer.apply(this, args); + } + [S$4.$deleteFramebuffer](...args) { + return this.deleteFramebuffer.apply(this, args); + } + [S$4.$deleteProgram](...args) { + return this.deleteProgram.apply(this, args); + } + [S$4.$deleteRenderbuffer](...args) { + return this.deleteRenderbuffer.apply(this, args); + } + [S$4.$deleteShader](...args) { + return this.deleteShader.apply(this, args); + } + [S$4.$deleteTexture](...args) { + return this.deleteTexture.apply(this, args); + } + [S$4.$depthFunc](...args) { + return this.depthFunc.apply(this, args); + } + [S$4.$depthMask](...args) { + return this.depthMask.apply(this, args); + } + [S$4.$depthRange](...args) { + return this.depthRange.apply(this, args); + } + [S$4.$detachShader](...args) { + return this.detachShader.apply(this, args); + } + [S$1.$disable](...args) { + return this.disable.apply(this, args); + } + [S$4.$disableVertexAttribArray](...args) { + return this.disableVertexAttribArray.apply(this, args); + } + [S$4.$drawArrays](...args) { + return this.drawArrays.apply(this, args); + } + [S$4.$drawElements](...args) { + return this.drawElements.apply(this, args); + } + [S$1.$enable](...args) { + return this.enable.apply(this, args); + } + [S$4.$enableVertexAttribArray](...args) { + return this.enableVertexAttribArray.apply(this, args); + } + [S$.$finish](...args) { + return this.finish.apply(this, args); + } + [S$4.$flush](...args) { + return this.flush.apply(this, args); + } + [S$4.$framebufferRenderbuffer](...args) { + return this.framebufferRenderbuffer.apply(this, args); + } + [S$4.$framebufferTexture2D](...args) { + return this.framebufferTexture2D.apply(this, args); + } + [S$4.$frontFace](...args) { + return this.frontFace.apply(this, args); + } + [S$4.$generateMipmap](...args) { + return this.generateMipmap.apply(this, args); + } + [S$4.$getActiveAttrib](...args) { + return this.getActiveAttrib.apply(this, args); + } + [S$4.$getActiveUniform](...args) { + return this.getActiveUniform.apply(this, args); + } + [S$4.$getAttachedShaders](...args) { + return this.getAttachedShaders.apply(this, args); + } + [S$4.$getAttribLocation](...args) { + return this.getAttribLocation.apply(this, args); + } + [S$4.$getBufferParameter](...args) { + return this.getBufferParameter.apply(this, args); + } + [S$.$getContextAttributes]() { + return html_common.convertNativeToDart_Dictionary(this[S$4._getContextAttributes_1$1]()); + } + [S$4._getContextAttributes_1$1](...args) { + return this.getContextAttributes.apply(this, args); + } + [S$4.$getError](...args) { + return this.getError.apply(this, args); + } + [S$4.$getExtension](...args) { + return this.getExtension.apply(this, args); + } + [S$4.$getFramebufferAttachmentParameter](...args) { + return this.getFramebufferAttachmentParameter.apply(this, args); + } + [S$3.$getParameter](...args) { + return this.getParameter.apply(this, args); + } + [S$4.$getProgramInfoLog](...args) { + return this.getProgramInfoLog.apply(this, args); + } + [S$4.$getProgramParameter](...args) { + return this.getProgramParameter.apply(this, args); + } + [S$4.$getRenderbufferParameter](...args) { + return this.getRenderbufferParameter.apply(this, args); + } + [S$4.$getShaderInfoLog](...args) { + return this.getShaderInfoLog.apply(this, args); + } + [S$4.$getShaderParameter](...args) { + return this.getShaderParameter.apply(this, args); + } + [S$4.$getShaderPrecisionFormat](...args) { + return this.getShaderPrecisionFormat.apply(this, args); + } + [S$4.$getShaderSource](...args) { + return this.getShaderSource.apply(this, args); + } + [S$4.$getSupportedExtensions](...args) { + return this.getSupportedExtensions.apply(this, args); + } + [S$4.$getTexParameter](...args) { + return this.getTexParameter.apply(this, args); + } + [S$4.$getUniform](...args) { + return this.getUniform.apply(this, args); + } + [S$4.$getUniformLocation](...args) { + return this.getUniformLocation.apply(this, args); + } + [S$4.$getVertexAttrib](...args) { + return this.getVertexAttrib.apply(this, args); + } + [S$4.$getVertexAttribOffset](...args) { + return this.getVertexAttribOffset.apply(this, args); + } + [S$4.$hint](...args) { + return this.hint.apply(this, args); + } + [S$4.$isBuffer](...args) { + return this.isBuffer.apply(this, args); + } + [S$.$isContextLost](...args) { + return this.isContextLost.apply(this, args); + } + [S$4.$isEnabled](...args) { + return this.isEnabled.apply(this, args); + } + [S$4.$isFramebuffer](...args) { + return this.isFramebuffer.apply(this, args); + } + [S$4.$isProgram](...args) { + return this.isProgram.apply(this, args); + } + [S$4.$isRenderbuffer](...args) { + return this.isRenderbuffer.apply(this, args); + } + [S$4.$isShader](...args) { + return this.isShader.apply(this, args); + } + [S$4.$isTexture](...args) { + return this.isTexture.apply(this, args); + } + [S$.$lineWidth](...args) { + return this.lineWidth.apply(this, args); + } + [S$4.$linkProgram](...args) { + return this.linkProgram.apply(this, args); + } + [S$4.$pixelStorei](...args) { + return this.pixelStorei.apply(this, args); + } + [S$4.$polygonOffset](...args) { + return this.polygonOffset.apply(this, args); + } + [S$4._readPixels](...args) { + return this.readPixels.apply(this, args); + } + [S$4.$renderbufferStorage](...args) { + return this.renderbufferStorage.apply(this, args); + } + [S$4.$sampleCoverage](...args) { + return this.sampleCoverage.apply(this, args); + } + [S$4.$scissor](...args) { + return this.scissor.apply(this, args); + } + [S$4.$shaderSource](...args) { + return this.shaderSource.apply(this, args); + } + [S$4.$stencilFunc](...args) { + return this.stencilFunc.apply(this, args); + } + [S$4.$stencilFuncSeparate](...args) { + return this.stencilFuncSeparate.apply(this, args); + } + [S$4.$stencilMask](...args) { + return this.stencilMask.apply(this, args); + } + [S$4.$stencilMaskSeparate](...args) { + return this.stencilMaskSeparate.apply(this, args); + } + [S$4.$stencilOp](...args) { + return this.stencilOp.apply(this, args); + } + [S$4.$stencilOpSeparate](...args) { + return this.stencilOpSeparate.apply(this, args); + } + [S$4.$texImage2D](target, level, internalformat, format_OR_width, height_OR_type, bitmap_OR_border_OR_canvas_OR_image_OR_pixels_OR_video, format = null, type = null, pixels = null) { + if (target == null) dart.nullFailed(I[161], 980, 11, "target"); + if (level == null) dart.nullFailed(I[161], 981, 11, "level"); + if (internalformat == null) dart.nullFailed(I[161], 982, 11, "internalformat"); + if (format_OR_width == null) dart.nullFailed(I[161], 983, 11, "format_OR_width"); + if (height_OR_type == null) dart.nullFailed(I[161], 984, 11, "height_OR_type"); + if (type != null && format != null && core.int.is(bitmap_OR_border_OR_canvas_OR_image_OR_pixels_OR_video)) { + this[S$4._texImage2D_1](target, level, internalformat, format_OR_width, height_OR_type, bitmap_OR_border_OR_canvas_OR_image_OR_pixels_OR_video, format, type, pixels); + return; + } + if (html$.ImageData.is(bitmap_OR_border_OR_canvas_OR_image_OR_pixels_OR_video) && format == null && type == null && pixels == null) { + let pixels_1 = html_common.convertDartToNative_ImageData(bitmap_OR_border_OR_canvas_OR_image_OR_pixels_OR_video); + this[S$4._texImage2D_2](target, level, internalformat, format_OR_width, height_OR_type, pixels_1); + return; + } + if (html$.ImageElement.is(bitmap_OR_border_OR_canvas_OR_image_OR_pixels_OR_video) && format == null && type == null && pixels == null) { + this[S$4._texImage2D_3](target, level, internalformat, format_OR_width, height_OR_type, bitmap_OR_border_OR_canvas_OR_image_OR_pixels_OR_video); + return; + } + if (html$.CanvasElement.is(bitmap_OR_border_OR_canvas_OR_image_OR_pixels_OR_video) && format == null && type == null && pixels == null) { + this[S$4._texImage2D_4](target, level, internalformat, format_OR_width, height_OR_type, bitmap_OR_border_OR_canvas_OR_image_OR_pixels_OR_video); + return; + } + if (html$.VideoElement.is(bitmap_OR_border_OR_canvas_OR_image_OR_pixels_OR_video) && format == null && type == null && pixels == null) { + this[S$4._texImage2D_5](target, level, internalformat, format_OR_width, height_OR_type, bitmap_OR_border_OR_canvas_OR_image_OR_pixels_OR_video); + return; + } + if (html$.ImageBitmap.is(bitmap_OR_border_OR_canvas_OR_image_OR_pixels_OR_video) && format == null && type == null && pixels == null) { + this[S$4._texImage2D_6](target, level, internalformat, format_OR_width, height_OR_type, bitmap_OR_border_OR_canvas_OR_image_OR_pixels_OR_video); + return; + } + dart.throw(new core.ArgumentError.new("Incorrect number or type of arguments")); + } + [S$4._texImage2D_1](...args) { + return this.texImage2D.apply(this, args); + } + [S$4._texImage2D_2](...args) { + return this.texImage2D.apply(this, args); + } + [S$4._texImage2D_3](...args) { + return this.texImage2D.apply(this, args); + } + [S$4._texImage2D_4](...args) { + return this.texImage2D.apply(this, args); + } + [S$4._texImage2D_5](...args) { + return this.texImage2D.apply(this, args); + } + [S$4._texImage2D_6](...args) { + return this.texImage2D.apply(this, args); + } + [S$4.$texParameterf](...args) { + return this.texParameterf.apply(this, args); + } + [S$4.$texParameteri](...args) { + return this.texParameteri.apply(this, args); + } + [S$4.$texSubImage2D](target, level, xoffset, yoffset, format_OR_width, height_OR_type, bitmap_OR_canvas_OR_format_OR_image_OR_pixels_OR_video, type = null, pixels = null) { + if (target == null) dart.nullFailed(I[161], 1097, 11, "target"); + if (level == null) dart.nullFailed(I[161], 1098, 11, "level"); + if (xoffset == null) dart.nullFailed(I[161], 1099, 11, "xoffset"); + if (yoffset == null) dart.nullFailed(I[161], 1100, 11, "yoffset"); + if (format_OR_width == null) dart.nullFailed(I[161], 1101, 11, "format_OR_width"); + if (height_OR_type == null) dart.nullFailed(I[161], 1102, 11, "height_OR_type"); + if (type != null && core.int.is(bitmap_OR_canvas_OR_format_OR_image_OR_pixels_OR_video)) { + this[S$4._texSubImage2D_1](target, level, xoffset, yoffset, format_OR_width, height_OR_type, bitmap_OR_canvas_OR_format_OR_image_OR_pixels_OR_video, type, pixels); + return; + } + if (html$.ImageData.is(bitmap_OR_canvas_OR_format_OR_image_OR_pixels_OR_video) && type == null && pixels == null) { + let pixels_1 = html_common.convertDartToNative_ImageData(bitmap_OR_canvas_OR_format_OR_image_OR_pixels_OR_video); + this[S$4._texSubImage2D_2](target, level, xoffset, yoffset, format_OR_width, height_OR_type, pixels_1); + return; + } + if (html$.ImageElement.is(bitmap_OR_canvas_OR_format_OR_image_OR_pixels_OR_video) && type == null && pixels == null) { + this[S$4._texSubImage2D_3](target, level, xoffset, yoffset, format_OR_width, height_OR_type, bitmap_OR_canvas_OR_format_OR_image_OR_pixels_OR_video); + return; + } + if (html$.CanvasElement.is(bitmap_OR_canvas_OR_format_OR_image_OR_pixels_OR_video) && type == null && pixels == null) { + this[S$4._texSubImage2D_4](target, level, xoffset, yoffset, format_OR_width, height_OR_type, bitmap_OR_canvas_OR_format_OR_image_OR_pixels_OR_video); + return; + } + if (html$.VideoElement.is(bitmap_OR_canvas_OR_format_OR_image_OR_pixels_OR_video) && type == null && pixels == null) { + this[S$4._texSubImage2D_5](target, level, xoffset, yoffset, format_OR_width, height_OR_type, bitmap_OR_canvas_OR_format_OR_image_OR_pixels_OR_video); + return; + } + if (html$.ImageBitmap.is(bitmap_OR_canvas_OR_format_OR_image_OR_pixels_OR_video) && type == null && pixels == null) { + this[S$4._texSubImage2D_6](target, level, xoffset, yoffset, format_OR_width, height_OR_type, bitmap_OR_canvas_OR_format_OR_image_OR_pixels_OR_video); + return; + } + dart.throw(new core.ArgumentError.new("Incorrect number or type of arguments")); + } + [S$4._texSubImage2D_1](...args) { + return this.texSubImage2D.apply(this, args); + } + [S$4._texSubImage2D_2](...args) { + return this.texSubImage2D.apply(this, args); + } + [S$4._texSubImage2D_3](...args) { + return this.texSubImage2D.apply(this, args); + } + [S$4._texSubImage2D_4](...args) { + return this.texSubImage2D.apply(this, args); + } + [S$4._texSubImage2D_5](...args) { + return this.texSubImage2D.apply(this, args); + } + [S$4._texSubImage2D_6](...args) { + return this.texSubImage2D.apply(this, args); + } + [S$4.$uniform1f](...args) { + return this.uniform1f.apply(this, args); + } + [S$4.$uniform1fv](...args) { + return this.uniform1fv.apply(this, args); + } + [S$4.$uniform1i](...args) { + return this.uniform1i.apply(this, args); + } + [S$4.$uniform1iv](...args) { + return this.uniform1iv.apply(this, args); + } + [S$4.$uniform2f](...args) { + return this.uniform2f.apply(this, args); + } + [S$4.$uniform2fv](...args) { + return this.uniform2fv.apply(this, args); + } + [S$4.$uniform2i](...args) { + return this.uniform2i.apply(this, args); + } + [S$4.$uniform2iv](...args) { + return this.uniform2iv.apply(this, args); + } + [S$4.$uniform3f](...args) { + return this.uniform3f.apply(this, args); + } + [S$4.$uniform3fv](...args) { + return this.uniform3fv.apply(this, args); + } + [S$4.$uniform3i](...args) { + return this.uniform3i.apply(this, args); + } + [S$4.$uniform3iv](...args) { + return this.uniform3iv.apply(this, args); + } + [S$4.$uniform4f](...args) { + return this.uniform4f.apply(this, args); + } + [S$4.$uniform4fv](...args) { + return this.uniform4fv.apply(this, args); + } + [S$4.$uniform4i](...args) { + return this.uniform4i.apply(this, args); + } + [S$4.$uniform4iv](...args) { + return this.uniform4iv.apply(this, args); + } + [S$4.$uniformMatrix2fv](...args) { + return this.uniformMatrix2fv.apply(this, args); + } + [S$4.$uniformMatrix3fv](...args) { + return this.uniformMatrix3fv.apply(this, args); + } + [S$4.$uniformMatrix4fv](...args) { + return this.uniformMatrix4fv.apply(this, args); + } + [S$4.$useProgram](...args) { + return this.useProgram.apply(this, args); + } + [S$4.$validateProgram](...args) { + return this.validateProgram.apply(this, args); + } + [S$4.$vertexAttrib1f](...args) { + return this.vertexAttrib1f.apply(this, args); + } + [S$4.$vertexAttrib1fv](...args) { + return this.vertexAttrib1fv.apply(this, args); + } + [S$4.$vertexAttrib2f](...args) { + return this.vertexAttrib2f.apply(this, args); + } + [S$4.$vertexAttrib2fv](...args) { + return this.vertexAttrib2fv.apply(this, args); + } + [S$4.$vertexAttrib3f](...args) { + return this.vertexAttrib3f.apply(this, args); + } + [S$4.$vertexAttrib3fv](...args) { + return this.vertexAttrib3fv.apply(this, args); + } + [S$4.$vertexAttrib4f](...args) { + return this.vertexAttrib4f.apply(this, args); + } + [S$4.$vertexAttrib4fv](...args) { + return this.vertexAttrib4fv.apply(this, args); + } + [S$4.$vertexAttribPointer](...args) { + return this.vertexAttribPointer.apply(this, args); + } + [S$4.$viewport](...args) { + return this.viewport.apply(this, args); + } + [S$4.$readPixels](x, y, width, height, format, type, pixels) { + if (x == null) dart.nullFailed(I[161], 1273, 23, "x"); + if (y == null) dart.nullFailed(I[161], 1273, 30, "y"); + if (width == null) dart.nullFailed(I[161], 1273, 37, "width"); + if (height == null) dart.nullFailed(I[161], 1273, 48, "height"); + if (format == null) dart.nullFailed(I[161], 1273, 60, "format"); + if (type == null) dart.nullFailed(I[161], 1273, 72, "type"); + this[S$4._readPixels](x, y, width, height, format, type, pixels); + } + [S$4.$texImage2DUntyped](targetTexture, levelOfDetail, internalFormat, format, type, data) { + if (targetTexture == null) dart.nullFailed(I[161], 1287, 30, "targetTexture"); + if (levelOfDetail == null) dart.nullFailed(I[161], 1287, 49, "levelOfDetail"); + if (internalFormat == null) dart.nullFailed(I[161], 1288, 11, "internalFormat"); + if (format == null) dart.nullFailed(I[161], 1288, 31, "format"); + if (type == null) dart.nullFailed(I[161], 1288, 43, "type"); + this[S$4.$texImage2D](targetTexture, levelOfDetail, internalFormat, format, type, data); + } + [S$4.$texImage2DTyped](targetTexture, levelOfDetail, internalFormat, width, height, border, format, type, data) { + if (targetTexture == null) dart.nullFailed(I[161], 1299, 28, "targetTexture"); + if (levelOfDetail == null) dart.nullFailed(I[161], 1299, 47, "levelOfDetail"); + if (internalFormat == null) dart.nullFailed(I[161], 1299, 66, "internalFormat"); + if (width == null) dart.nullFailed(I[161], 1300, 11, "width"); + if (height == null) dart.nullFailed(I[161], 1300, 22, "height"); + if (border == null) dart.nullFailed(I[161], 1300, 34, "border"); + if (format == null) dart.nullFailed(I[161], 1300, 46, "format"); + if (type == null) dart.nullFailed(I[161], 1300, 58, "type"); + if (data == null) dart.nullFailed(I[161], 1300, 74, "data"); + this[S$4.$texImage2D](targetTexture, levelOfDetail, internalFormat, width, height, border, format, type, data); + } + [S$4.$texSubImage2DUntyped](targetTexture, levelOfDetail, xOffset, yOffset, format, type, data) { + if (targetTexture == null) dart.nullFailed(I[161], 1313, 33, "targetTexture"); + if (levelOfDetail == null) dart.nullFailed(I[161], 1313, 52, "levelOfDetail"); + if (xOffset == null) dart.nullFailed(I[161], 1313, 71, "xOffset"); + if (yOffset == null) dart.nullFailed(I[161], 1314, 11, "yOffset"); + if (format == null) dart.nullFailed(I[161], 1314, 24, "format"); + if (type == null) dart.nullFailed(I[161], 1314, 36, "type"); + this[S$4.$texSubImage2D](targetTexture, levelOfDetail, xOffset, yOffset, format, type, data); + } + [S$4.$texSubImage2DTyped](targetTexture, levelOfDetail, xOffset, yOffset, width, height, border, format, type, data) { + if (targetTexture == null) dart.nullFailed(I[161], 1324, 11, "targetTexture"); + if (levelOfDetail == null) dart.nullFailed(I[161], 1325, 11, "levelOfDetail"); + if (xOffset == null) dart.nullFailed(I[161], 1326, 11, "xOffset"); + if (yOffset == null) dart.nullFailed(I[161], 1327, 11, "yOffset"); + if (width == null) dart.nullFailed(I[161], 1328, 11, "width"); + if (height == null) dart.nullFailed(I[161], 1329, 11, "height"); + if (border == null) dart.nullFailed(I[161], 1330, 11, "border"); + if (format == null) dart.nullFailed(I[161], 1331, 11, "format"); + if (type == null) dart.nullFailed(I[161], 1332, 11, "type"); + if (data == null) dart.nullFailed(I[161], 1333, 17, "data"); + this[S$4.$texSubImage2D](targetTexture, levelOfDetail, xOffset, yOffset, width, height, format, type, data); + } + [S$4.$bufferDataTyped](target, data, usage) { + if (target == null) dart.nullFailed(I[161], 1342, 28, "target"); + if (data == null) dart.nullFailed(I[161], 1342, 46, "data"); + if (usage == null) dart.nullFailed(I[161], 1342, 56, "usage"); + this.bufferData(target, data, usage); + } + [S$4.$bufferSubDataTyped](target, offset, data) { + if (target == null) dart.nullFailed(I[161], 1350, 31, "target"); + if (offset == null) dart.nullFailed(I[161], 1350, 43, "offset"); + if (data == null) dart.nullFailed(I[161], 1350, 61, "data"); + this.bufferSubData(target, offset, data); + } + }; + dart.addTypeTests(web_gl.RenderingContext); + dart.addTypeCaches(web_gl.RenderingContext); + web_gl.RenderingContext[dart.implements] = () => [html$.CanvasRenderingContext]; + dart.setMethodSignature(web_gl.RenderingContext, () => ({ + __proto__: dart.getMethods(web_gl.RenderingContext.__proto__), + [S$4.$activeTexture]: dart.fnType(dart.void, [core.int]), + [S$4.$attachShader]: dart.fnType(dart.void, [web_gl.Program, web_gl.Shader]), + [S$4.$bindAttribLocation]: dart.fnType(dart.void, [web_gl.Program, core.int, core.String]), + [S$4.$bindBuffer]: dart.fnType(dart.void, [core.int, dart.nullable(web_gl.Buffer)]), + [S$4.$bindFramebuffer]: dart.fnType(dart.void, [core.int, dart.nullable(web_gl.Framebuffer)]), + [S$4.$bindRenderbuffer]: dart.fnType(dart.void, [core.int, dart.nullable(web_gl.Renderbuffer)]), + [S$4.$bindTexture]: dart.fnType(dart.void, [core.int, dart.nullable(web_gl.Texture)]), + [S$4.$blendColor]: dart.fnType(dart.void, [core.num, core.num, core.num, core.num]), + [S$4.$blendEquation]: dart.fnType(dart.void, [core.int]), + [S$4.$blendEquationSeparate]: dart.fnType(dart.void, [core.int, core.int]), + [S$4.$blendFunc]: dart.fnType(dart.void, [core.int, core.int]), + [S$4.$blendFuncSeparate]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int]), + [S$4.$bufferData]: dart.fnType(dart.void, [core.int, dart.dynamic, core.int]), + [S$4.$bufferSubData]: dart.fnType(dart.void, [core.int, core.int, dart.dynamic]), + [S$4.$checkFramebufferStatus]: dart.fnType(core.int, [core.int]), + [$clear]: dart.fnType(dart.void, [core.int]), + [S$4.$clearColor]: dart.fnType(dart.void, [core.num, core.num, core.num, core.num]), + [S$4.$clearDepth]: dart.fnType(dart.void, [core.num]), + [S$4.$clearStencil]: dart.fnType(dart.void, [core.int]), + [S$4.$colorMask]: dart.fnType(dart.void, [core.bool, core.bool, core.bool, core.bool]), + [S$2.$commit]: dart.fnType(async.Future, []), + [S$4.$compileShader]: dart.fnType(dart.void, [web_gl.Shader]), + [S$4.$compressedTexImage2D]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int, core.int, typed_data.TypedData]), + [S$4.$compressedTexSubImage2D]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int, core.int, core.int, typed_data.TypedData]), + [S$4.$copyTexImage2D]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int, core.int, core.int, core.int]), + [S$4.$copyTexSubImage2D]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int, core.int, core.int, core.int]), + [S$3.$createBuffer]: dart.fnType(web_gl.Buffer, []), + [S$4.$createFramebuffer]: dart.fnType(web_gl.Framebuffer, []), + [S$4.$createProgram]: dart.fnType(web_gl.Program, []), + [S$4.$createRenderbuffer]: dart.fnType(web_gl.Renderbuffer, []), + [S$4.$createShader]: dart.fnType(web_gl.Shader, [core.int]), + [S$4.$createTexture]: dart.fnType(web_gl.Texture, []), + [S$4.$cullFace]: dart.fnType(dart.void, [core.int]), + [S$4.$deleteBuffer]: dart.fnType(dart.void, [dart.nullable(web_gl.Buffer)]), + [S$4.$deleteFramebuffer]: dart.fnType(dart.void, [dart.nullable(web_gl.Framebuffer)]), + [S$4.$deleteProgram]: dart.fnType(dart.void, [dart.nullable(web_gl.Program)]), + [S$4.$deleteRenderbuffer]: dart.fnType(dart.void, [dart.nullable(web_gl.Renderbuffer)]), + [S$4.$deleteShader]: dart.fnType(dart.void, [dart.nullable(web_gl.Shader)]), + [S$4.$deleteTexture]: dart.fnType(dart.void, [dart.nullable(web_gl.Texture)]), + [S$4.$depthFunc]: dart.fnType(dart.void, [core.int]), + [S$4.$depthMask]: dart.fnType(dart.void, [core.bool]), + [S$4.$depthRange]: dart.fnType(dart.void, [core.num, core.num]), + [S$4.$detachShader]: dart.fnType(dart.void, [web_gl.Program, web_gl.Shader]), + [S$1.$disable]: dart.fnType(dart.void, [core.int]), + [S$4.$disableVertexAttribArray]: dart.fnType(dart.void, [core.int]), + [S$4.$drawArrays]: dart.fnType(dart.void, [core.int, core.int, core.int]), + [S$4.$drawElements]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int]), + [S$1.$enable]: dart.fnType(dart.void, [core.int]), + [S$4.$enableVertexAttribArray]: dart.fnType(dart.void, [core.int]), + [S$.$finish]: dart.fnType(dart.void, []), + [S$4.$flush]: dart.fnType(dart.void, []), + [S$4.$framebufferRenderbuffer]: dart.fnType(dart.void, [core.int, core.int, core.int, dart.nullable(web_gl.Renderbuffer)]), + [S$4.$framebufferTexture2D]: dart.fnType(dart.void, [core.int, core.int, core.int, dart.nullable(web_gl.Texture), core.int]), + [S$4.$frontFace]: dart.fnType(dart.void, [core.int]), + [S$4.$generateMipmap]: dart.fnType(dart.void, [core.int]), + [S$4.$getActiveAttrib]: dart.fnType(web_gl.ActiveInfo, [web_gl.Program, core.int]), + [S$4.$getActiveUniform]: dart.fnType(web_gl.ActiveInfo, [web_gl.Program, core.int]), + [S$4.$getAttachedShaders]: dart.fnType(dart.nullable(core.List$(web_gl.Shader)), [web_gl.Program]), + [S$4.$getAttribLocation]: dart.fnType(core.int, [web_gl.Program, core.String]), + [S$4.$getBufferParameter]: dart.fnType(dart.nullable(core.Object), [core.int, core.int]), + [S$.$getContextAttributes]: dart.fnType(dart.nullable(core.Map), []), + [S$4._getContextAttributes_1$1]: dart.fnType(dart.dynamic, []), + [S$4.$getError]: dart.fnType(core.int, []), + [S$4.$getExtension]: dart.fnType(dart.nullable(core.Object), [core.String]), + [S$4.$getFramebufferAttachmentParameter]: dart.fnType(dart.nullable(core.Object), [core.int, core.int, core.int]), + [S$3.$getParameter]: dart.fnType(dart.nullable(core.Object), [core.int]), + [S$4.$getProgramInfoLog]: dart.fnType(dart.nullable(core.String), [web_gl.Program]), + [S$4.$getProgramParameter]: dart.fnType(dart.nullable(core.Object), [web_gl.Program, core.int]), + [S$4.$getRenderbufferParameter]: dart.fnType(dart.nullable(core.Object), [core.int, core.int]), + [S$4.$getShaderInfoLog]: dart.fnType(dart.nullable(core.String), [web_gl.Shader]), + [S$4.$getShaderParameter]: dart.fnType(dart.nullable(core.Object), [web_gl.Shader, core.int]), + [S$4.$getShaderPrecisionFormat]: dart.fnType(web_gl.ShaderPrecisionFormat, [core.int, core.int]), + [S$4.$getShaderSource]: dart.fnType(dart.nullable(core.String), [web_gl.Shader]), + [S$4.$getSupportedExtensions]: dart.fnType(dart.nullable(core.List$(core.String)), []), + [S$4.$getTexParameter]: dart.fnType(dart.nullable(core.Object), [core.int, core.int]), + [S$4.$getUniform]: dart.fnType(dart.nullable(core.Object), [web_gl.Program, web_gl.UniformLocation]), + [S$4.$getUniformLocation]: dart.fnType(web_gl.UniformLocation, [web_gl.Program, core.String]), + [S$4.$getVertexAttrib]: dart.fnType(dart.nullable(core.Object), [core.int, core.int]), + [S$4.$getVertexAttribOffset]: dart.fnType(core.int, [core.int, core.int]), + [S$4.$hint]: dart.fnType(dart.void, [core.int, core.int]), + [S$4.$isBuffer]: dart.fnType(core.bool, [dart.nullable(web_gl.Buffer)]), + [S$.$isContextLost]: dart.fnType(core.bool, []), + [S$4.$isEnabled]: dart.fnType(core.bool, [core.int]), + [S$4.$isFramebuffer]: dart.fnType(core.bool, [dart.nullable(web_gl.Framebuffer)]), + [S$4.$isProgram]: dart.fnType(core.bool, [dart.nullable(web_gl.Program)]), + [S$4.$isRenderbuffer]: dart.fnType(core.bool, [dart.nullable(web_gl.Renderbuffer)]), + [S$4.$isShader]: dart.fnType(core.bool, [dart.nullable(web_gl.Shader)]), + [S$4.$isTexture]: dart.fnType(core.bool, [dart.nullable(web_gl.Texture)]), + [S$.$lineWidth]: dart.fnType(dart.void, [core.num]), + [S$4.$linkProgram]: dart.fnType(dart.void, [web_gl.Program]), + [S$4.$pixelStorei]: dart.fnType(dart.void, [core.int, core.int]), + [S$4.$polygonOffset]: dart.fnType(dart.void, [core.num, core.num]), + [S$4._readPixels]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int, core.int, dart.nullable(typed_data.TypedData)]), + [S$4.$renderbufferStorage]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int]), + [S$4.$sampleCoverage]: dart.fnType(dart.void, [core.num, core.bool]), + [S$4.$scissor]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int]), + [S$4.$shaderSource]: dart.fnType(dart.void, [web_gl.Shader, core.String]), + [S$4.$stencilFunc]: dart.fnType(dart.void, [core.int, core.int, core.int]), + [S$4.$stencilFuncSeparate]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int]), + [S$4.$stencilMask]: dart.fnType(dart.void, [core.int]), + [S$4.$stencilMaskSeparate]: dart.fnType(dart.void, [core.int, core.int]), + [S$4.$stencilOp]: dart.fnType(dart.void, [core.int, core.int, core.int]), + [S$4.$stencilOpSeparate]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int]), + [S$4.$texImage2D]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int, dart.dynamic], [dart.nullable(core.int), dart.nullable(core.int), dart.nullable(typed_data.TypedData)]), + [S$4._texImage2D_1]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, core.int, dart.dynamic, dart.dynamic, dart.nullable(typed_data.TypedData)]), + [S$4._texImage2D_2]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic]), + [S$4._texImage2D_3]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, html$.ImageElement]), + [S$4._texImage2D_4]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, html$.CanvasElement]), + [S$4._texImage2D_5]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, html$.VideoElement]), + [S$4._texImage2D_6]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, html$.ImageBitmap]), + [S$4.$texParameterf]: dart.fnType(dart.void, [core.int, core.int, core.num]), + [S$4.$texParameteri]: dart.fnType(dart.void, [core.int, core.int, core.int]), + [S$4.$texSubImage2D]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int, core.int, dart.dynamic], [dart.nullable(core.int), dart.nullable(typed_data.TypedData)]), + [S$4._texSubImage2D_1]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, core.int, dart.dynamic, dart.nullable(typed_data.TypedData)]), + [S$4._texSubImage2D_2]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic]), + [S$4._texSubImage2D_3]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, html$.ImageElement]), + [S$4._texSubImage2D_4]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, html$.CanvasElement]), + [S$4._texSubImage2D_5]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, html$.VideoElement]), + [S$4._texSubImage2D_6]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, html$.ImageBitmap]), + [S$4.$uniform1f]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), core.num]), + [S$4.$uniform1fv]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), dart.dynamic]), + [S$4.$uniform1i]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), core.int]), + [S$4.$uniform1iv]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), dart.dynamic]), + [S$4.$uniform2f]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), core.num, core.num]), + [S$4.$uniform2fv]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), dart.dynamic]), + [S$4.$uniform2i]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), core.int, core.int]), + [S$4.$uniform2iv]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), dart.dynamic]), + [S$4.$uniform3f]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), core.num, core.num, core.num]), + [S$4.$uniform3fv]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), dart.dynamic]), + [S$4.$uniform3i]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), core.int, core.int, core.int]), + [S$4.$uniform3iv]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), dart.dynamic]), + [S$4.$uniform4f]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), core.num, core.num, core.num, core.num]), + [S$4.$uniform4fv]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), dart.dynamic]), + [S$4.$uniform4i]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), core.int, core.int, core.int, core.int]), + [S$4.$uniform4iv]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), dart.dynamic]), + [S$4.$uniformMatrix2fv]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), core.bool, dart.dynamic]), + [S$4.$uniformMatrix3fv]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), core.bool, dart.dynamic]), + [S$4.$uniformMatrix4fv]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), core.bool, dart.dynamic]), + [S$4.$useProgram]: dart.fnType(dart.void, [dart.nullable(web_gl.Program)]), + [S$4.$validateProgram]: dart.fnType(dart.void, [web_gl.Program]), + [S$4.$vertexAttrib1f]: dart.fnType(dart.void, [core.int, core.num]), + [S$4.$vertexAttrib1fv]: dart.fnType(dart.void, [core.int, dart.dynamic]), + [S$4.$vertexAttrib2f]: dart.fnType(dart.void, [core.int, core.num, core.num]), + [S$4.$vertexAttrib2fv]: dart.fnType(dart.void, [core.int, dart.dynamic]), + [S$4.$vertexAttrib3f]: dart.fnType(dart.void, [core.int, core.num, core.num, core.num]), + [S$4.$vertexAttrib3fv]: dart.fnType(dart.void, [core.int, dart.dynamic]), + [S$4.$vertexAttrib4f]: dart.fnType(dart.void, [core.int, core.num, core.num, core.num, core.num]), + [S$4.$vertexAttrib4fv]: dart.fnType(dart.void, [core.int, dart.dynamic]), + [S$4.$vertexAttribPointer]: dart.fnType(dart.void, [core.int, core.int, core.int, core.bool, core.int, core.int]), + [S$4.$viewport]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int]), + [S$4.$readPixels]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int, core.int, dart.nullable(typed_data.TypedData)]), + [S$4.$texImage2DUntyped]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int, dart.dynamic]), + [S$4.$texImage2DTyped]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int, core.int, core.int, core.int, typed_data.TypedData]), + [S$4.$texSubImage2DUntyped]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int, core.int, dart.dynamic]), + [S$4.$texSubImage2DTyped]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int, core.int, core.int, core.int, core.int, typed_data.TypedData]), + [S$4.$bufferDataTyped]: dart.fnType(dart.void, [core.int, typed_data.TypedData, core.int]), + [S$4.$bufferSubDataTyped]: dart.fnType(dart.void, [core.int, core.int, typed_data.TypedData]) + })); + dart.setGetterSignature(web_gl.RenderingContext, () => ({ + __proto__: dart.getGetters(web_gl.RenderingContext.__proto__), + [S$.$canvas]: html$.CanvasElement, + [S$4.$drawingBufferHeight]: dart.nullable(core.int), + [S$4.$drawingBufferWidth]: dart.nullable(core.int) + })); + dart.setLibraryUri(web_gl.RenderingContext, I[160]); + dart.registerExtension("WebGLRenderingContext", web_gl.RenderingContext); + web_gl.RenderingContext2 = class RenderingContext2 extends _interceptors.Interceptor { + get [S$.$canvas]() { + return this.canvas; + } + [S$4.$beginQuery](...args) { + return this.beginQuery.apply(this, args); + } + [S$4.$beginTransformFeedback](...args) { + return this.beginTransformFeedback.apply(this, args); + } + [S$4.$bindBufferBase](...args) { + return this.bindBufferBase.apply(this, args); + } + [S$4.$bindBufferRange](...args) { + return this.bindBufferRange.apply(this, args); + } + [S$4.$bindSampler](...args) { + return this.bindSampler.apply(this, args); + } + [S$4.$bindTransformFeedback](...args) { + return this.bindTransformFeedback.apply(this, args); + } + [S$4.$bindVertexArray](...args) { + return this.bindVertexArray.apply(this, args); + } + [S$4.$blitFramebuffer](...args) { + return this.blitFramebuffer.apply(this, args); + } + [S$4.$bufferData2](...args) { + return this.bufferData.apply(this, args); + } + [S$4.$bufferSubData2](...args) { + return this.bufferSubData.apply(this, args); + } + [S$4.$clearBufferfi](...args) { + return this.clearBufferfi.apply(this, args); + } + [S$4.$clearBufferfv](...args) { + return this.clearBufferfv.apply(this, args); + } + [S$4.$clearBufferiv](...args) { + return this.clearBufferiv.apply(this, args); + } + [S$4.$clearBufferuiv](...args) { + return this.clearBufferuiv.apply(this, args); + } + [S$4.$clientWaitSync](...args) { + return this.clientWaitSync.apply(this, args); + } + [S$4.$compressedTexImage2D2](...args) { + return this.compressedTexImage2D.apply(this, args); + } + [S$4.$compressedTexImage2D3](...args) { + return this.compressedTexImage2D.apply(this, args); + } + [S$4.$compressedTexImage3D](...args) { + return this.compressedTexImage3D.apply(this, args); + } + [S$4.$compressedTexImage3D2](...args) { + return this.compressedTexImage3D.apply(this, args); + } + [S$4.$compressedTexSubImage2D2](...args) { + return this.compressedTexSubImage2D.apply(this, args); + } + [S$4.$compressedTexSubImage2D3](...args) { + return this.compressedTexSubImage2D.apply(this, args); + } + [S$4.$compressedTexSubImage3D](...args) { + return this.compressedTexSubImage3D.apply(this, args); + } + [S$4.$compressedTexSubImage3D2](...args) { + return this.compressedTexSubImage3D.apply(this, args); + } + [S$4.$copyBufferSubData](...args) { + return this.copyBufferSubData.apply(this, args); + } + [S$4.$copyTexSubImage3D](...args) { + return this.copyTexSubImage3D.apply(this, args); + } + [S$4.$createQuery](...args) { + return this.createQuery.apply(this, args); + } + [S$4.$createSampler](...args) { + return this.createSampler.apply(this, args); + } + [S$4.$createTransformFeedback](...args) { + return this.createTransformFeedback.apply(this, args); + } + [S$4.$createVertexArray](...args) { + return this.createVertexArray.apply(this, args); + } + [S$4.$deleteQuery](...args) { + return this.deleteQuery.apply(this, args); + } + [S$4.$deleteSampler](...args) { + return this.deleteSampler.apply(this, args); + } + [S$4.$deleteSync](...args) { + return this.deleteSync.apply(this, args); + } + [S$4.$deleteTransformFeedback](...args) { + return this.deleteTransformFeedback.apply(this, args); + } + [S$4.$deleteVertexArray](...args) { + return this.deleteVertexArray.apply(this, args); + } + [S$4.$drawArraysInstanced](...args) { + return this.drawArraysInstanced.apply(this, args); + } + [S$4.$drawBuffers](...args) { + return this.drawBuffers.apply(this, args); + } + [S$4.$drawElementsInstanced](...args) { + return this.drawElementsInstanced.apply(this, args); + } + [S$4.$drawRangeElements](...args) { + return this.drawRangeElements.apply(this, args); + } + [S$4.$endQuery](...args) { + return this.endQuery.apply(this, args); + } + [S$4.$endTransformFeedback](...args) { + return this.endTransformFeedback.apply(this, args); + } + [S$4.$fenceSync](...args) { + return this.fenceSync.apply(this, args); + } + [S$4.$framebufferTextureLayer](...args) { + return this.framebufferTextureLayer.apply(this, args); + } + [S$4.$getActiveUniformBlockName](...args) { + return this.getActiveUniformBlockName.apply(this, args); + } + [S$4.$getActiveUniformBlockParameter](...args) { + return this.getActiveUniformBlockParameter.apply(this, args); + } + [S$4.$getActiveUniforms](...args) { + return this.getActiveUniforms.apply(this, args); + } + [S$4.$getBufferSubData](...args) { + return this.getBufferSubData.apply(this, args); + } + [S$4.$getFragDataLocation](...args) { + return this.getFragDataLocation.apply(this, args); + } + [S$4.$getIndexedParameter](...args) { + return this.getIndexedParameter.apply(this, args); + } + [S$4.$getInternalformatParameter](...args) { + return this.getInternalformatParameter.apply(this, args); + } + [S$4.$getQuery](...args) { + return this.getQuery.apply(this, args); + } + [S$4.$getQueryParameter](...args) { + return this.getQueryParameter.apply(this, args); + } + [S$4.$getSamplerParameter](...args) { + return this.getSamplerParameter.apply(this, args); + } + [S$4.$getSyncParameter](...args) { + return this.getSyncParameter.apply(this, args); + } + [S$4.$getTransformFeedbackVarying](...args) { + return this.getTransformFeedbackVarying.apply(this, args); + } + [S$4.$getUniformBlockIndex](...args) { + return this.getUniformBlockIndex.apply(this, args); + } + [S$4.$getUniformIndices](program, uniformNames) { + if (program == null) dart.nullFailed(I[161], 1537, 40, "program"); + if (uniformNames == null) dart.nullFailed(I[161], 1537, 62, "uniformNames"); + let uniformNames_1 = html_common.convertDartToNative_StringArray(uniformNames); + return this[S$4._getUniformIndices_1](program, uniformNames_1); + } + [S$4._getUniformIndices_1](...args) { + return this.getUniformIndices.apply(this, args); + } + [S$4.$invalidateFramebuffer](...args) { + return this.invalidateFramebuffer.apply(this, args); + } + [S$4.$invalidateSubFramebuffer](...args) { + return this.invalidateSubFramebuffer.apply(this, args); + } + [S$4.$isQuery](...args) { + return this.isQuery.apply(this, args); + } + [S$4.$isSampler](...args) { + return this.isSampler.apply(this, args); + } + [S$4.$isSync](...args) { + return this.isSync.apply(this, args); + } + [S$4.$isTransformFeedback](...args) { + return this.isTransformFeedback.apply(this, args); + } + [S$4.$isVertexArray](...args) { + return this.isVertexArray.apply(this, args); + } + [S$4.$pauseTransformFeedback](...args) { + return this.pauseTransformFeedback.apply(this, args); + } + [S$4.$readBuffer](...args) { + return this.readBuffer.apply(this, args); + } + [S$4.$readPixels2](...args) { + return this.readPixels.apply(this, args); + } + [S$4.$renderbufferStorageMultisample](...args) { + return this.renderbufferStorageMultisample.apply(this, args); + } + [S$4.$resumeTransformFeedback](...args) { + return this.resumeTransformFeedback.apply(this, args); + } + [S$4.$samplerParameterf](...args) { + return this.samplerParameterf.apply(this, args); + } + [S$4.$samplerParameteri](...args) { + return this.samplerParameteri.apply(this, args); + } + [S$4.$texImage2D2](target, level, internalformat, width, height, border, format, type, bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_srcData_OR_video, srcOffset = null) { + if (target == null) dart.nullFailed(I[161], 1579, 11, "target"); + if (level == null) dart.nullFailed(I[161], 1580, 11, "level"); + if (internalformat == null) dart.nullFailed(I[161], 1581, 11, "internalformat"); + if (width == null) dart.nullFailed(I[161], 1582, 11, "width"); + if (height == null) dart.nullFailed(I[161], 1583, 11, "height"); + if (border == null) dart.nullFailed(I[161], 1584, 11, "border"); + if (format == null) dart.nullFailed(I[161], 1585, 11, "format"); + if (type == null) dart.nullFailed(I[161], 1586, 11, "type"); + if (core.int.is(bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_srcData_OR_video) && srcOffset == null) { + this[S$4._texImage2D2_1](target, level, internalformat, width, height, border, format, type, bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_srcData_OR_video); + return; + } + if (html$.ImageData.is(bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_srcData_OR_video) && srcOffset == null) { + let data_1 = html_common.convertDartToNative_ImageData(bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_srcData_OR_video); + this[S$4._texImage2D2_2](target, level, internalformat, width, height, border, format, type, data_1); + return; + } + if (html$.ImageElement.is(bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_srcData_OR_video) && srcOffset == null) { + this[S$4._texImage2D2_3](target, level, internalformat, width, height, border, format, type, bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_srcData_OR_video); + return; + } + if (html$.CanvasElement.is(bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_srcData_OR_video) && srcOffset == null) { + this[S$4._texImage2D2_4](target, level, internalformat, width, height, border, format, type, bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_srcData_OR_video); + return; + } + if (html$.VideoElement.is(bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_srcData_OR_video) && srcOffset == null) { + this[S$4._texImage2D2_5](target, level, internalformat, width, height, border, format, type, bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_srcData_OR_video); + return; + } + if (html$.ImageBitmap.is(bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_srcData_OR_video) && srcOffset == null) { + this[S$4._texImage2D2_6](target, level, internalformat, width, height, border, format, type, bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_srcData_OR_video); + return; + } + if (srcOffset != null && typed_data.TypedData.is(bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_srcData_OR_video)) { + this[S$4._texImage2D2_7](target, level, internalformat, width, height, border, format, type, bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_srcData_OR_video, srcOffset); + return; + } + dart.throw(new core.ArgumentError.new("Incorrect number or type of arguments")); + } + [S$4._texImage2D2_1](...args) { + return this.texImage2D.apply(this, args); + } + [S$4._texImage2D2_2](...args) { + return this.texImage2D.apply(this, args); + } + [S$4._texImage2D2_3](...args) { + return this.texImage2D.apply(this, args); + } + [S$4._texImage2D2_4](...args) { + return this.texImage2D.apply(this, args); + } + [S$4._texImage2D2_5](...args) { + return this.texImage2D.apply(this, args); + } + [S$4._texImage2D2_6](...args) { + return this.texImage2D.apply(this, args); + } + [S$4._texImage2D2_7](...args) { + return this.texImage2D.apply(this, args); + } + [S$4.$texImage3D](target, level, internalformat, width, height, depth, border, format, type, bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_pixels_OR_video, srcOffset = null) { + if (target == null) dart.nullFailed(I[161], 1715, 11, "target"); + if (level == null) dart.nullFailed(I[161], 1716, 11, "level"); + if (internalformat == null) dart.nullFailed(I[161], 1717, 11, "internalformat"); + if (width == null) dart.nullFailed(I[161], 1718, 11, "width"); + if (height == null) dart.nullFailed(I[161], 1719, 11, "height"); + if (depth == null) dart.nullFailed(I[161], 1720, 11, "depth"); + if (border == null) dart.nullFailed(I[161], 1721, 11, "border"); + if (format == null) dart.nullFailed(I[161], 1722, 11, "format"); + if (type == null) dart.nullFailed(I[161], 1723, 11, "type"); + if (core.int.is(bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_pixels_OR_video) && srcOffset == null) { + this[S$4._texImage3D_1](target, level, internalformat, width, height, depth, border, format, type, bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_pixels_OR_video); + return; + } + if (html$.ImageData.is(bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_pixels_OR_video) && srcOffset == null) { + let data_1 = html_common.convertDartToNative_ImageData(bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_pixels_OR_video); + this[S$4._texImage3D_2](target, level, internalformat, width, height, depth, border, format, type, data_1); + return; + } + if (html$.ImageElement.is(bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_pixels_OR_video) && srcOffset == null) { + this[S$4._texImage3D_3](target, level, internalformat, width, height, depth, border, format, type, bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_pixels_OR_video); + return; + } + if (html$.CanvasElement.is(bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_pixels_OR_video) && srcOffset == null) { + this[S$4._texImage3D_4](target, level, internalformat, width, height, depth, border, format, type, bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_pixels_OR_video); + return; + } + if (html$.VideoElement.is(bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_pixels_OR_video) && srcOffset == null) { + this[S$4._texImage3D_5](target, level, internalformat, width, height, depth, border, format, type, bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_pixels_OR_video); + return; + } + if (html$.ImageBitmap.is(bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_pixels_OR_video) && srcOffset == null) { + this[S$4._texImage3D_6](target, level, internalformat, width, height, depth, border, format, type, bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_pixels_OR_video); + return; + } + if ((typed_data.TypedData.is(bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_pixels_OR_video) || bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_pixels_OR_video == null) && srcOffset == null) { + this[S$4._texImage3D_7](target, level, internalformat, width, height, depth, border, format, type, T$0.TypedDataN().as(bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_pixels_OR_video)); + return; + } + if (srcOffset != null && typed_data.TypedData.is(bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_pixels_OR_video)) { + this[S$4._texImage3D_8](target, level, internalformat, width, height, depth, border, format, type, bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_pixels_OR_video, srcOffset); + return; + } + dart.throw(new core.ArgumentError.new("Incorrect number or type of arguments")); + } + [S$4._texImage3D_1](...args) { + return this.texImage3D.apply(this, args); + } + [S$4._texImage3D_2](...args) { + return this.texImage3D.apply(this, args); + } + [S$4._texImage3D_3](...args) { + return this.texImage3D.apply(this, args); + } + [S$4._texImage3D_4](...args) { + return this.texImage3D.apply(this, args); + } + [S$4._texImage3D_5](...args) { + return this.texImage3D.apply(this, args); + } + [S$4._texImage3D_6](...args) { + return this.texImage3D.apply(this, args); + } + [S$4._texImage3D_7](...args) { + return this.texImage3D.apply(this, args); + } + [S$4._texImage3D_8](...args) { + return this.texImage3D.apply(this, args); + } + [S$4.$texStorage2D](...args) { + return this.texStorage2D.apply(this, args); + } + [S$4.$texStorage3D](...args) { + return this.texStorage3D.apply(this, args); + } + [S$4.$texSubImage2D2](target, level, xoffset, yoffset, width, height, format, type, bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_srcData_OR_video, srcOffset = null) { + if (target == null) dart.nullFailed(I[161], 1885, 11, "target"); + if (level == null) dart.nullFailed(I[161], 1886, 11, "level"); + if (xoffset == null) dart.nullFailed(I[161], 1887, 11, "xoffset"); + if (yoffset == null) dart.nullFailed(I[161], 1888, 11, "yoffset"); + if (width == null) dart.nullFailed(I[161], 1889, 11, "width"); + if (height == null) dart.nullFailed(I[161], 1890, 11, "height"); + if (format == null) dart.nullFailed(I[161], 1891, 11, "format"); + if (type == null) dart.nullFailed(I[161], 1892, 11, "type"); + if (core.int.is(bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_srcData_OR_video) && srcOffset == null) { + this[S$4._texSubImage2D2_1](target, level, xoffset, yoffset, width, height, format, type, bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_srcData_OR_video); + return; + } + if (html$.ImageData.is(bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_srcData_OR_video) && srcOffset == null) { + let data_1 = html_common.convertDartToNative_ImageData(bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_srcData_OR_video); + this[S$4._texSubImage2D2_2](target, level, xoffset, yoffset, width, height, format, type, data_1); + return; + } + if (html$.ImageElement.is(bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_srcData_OR_video) && srcOffset == null) { + this[S$4._texSubImage2D2_3](target, level, xoffset, yoffset, width, height, format, type, bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_srcData_OR_video); + return; + } + if (html$.CanvasElement.is(bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_srcData_OR_video) && srcOffset == null) { + this[S$4._texSubImage2D2_4](target, level, xoffset, yoffset, width, height, format, type, bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_srcData_OR_video); + return; + } + if (html$.VideoElement.is(bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_srcData_OR_video) && srcOffset == null) { + this[S$4._texSubImage2D2_5](target, level, xoffset, yoffset, width, height, format, type, bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_srcData_OR_video); + return; + } + if (html$.ImageBitmap.is(bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_srcData_OR_video) && srcOffset == null) { + this[S$4._texSubImage2D2_6](target, level, xoffset, yoffset, width, height, format, type, bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_srcData_OR_video); + return; + } + if (srcOffset != null && typed_data.TypedData.is(bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_srcData_OR_video)) { + this[S$4._texSubImage2D2_7](target, level, xoffset, yoffset, width, height, format, type, bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_srcData_OR_video, srcOffset); + return; + } + dart.throw(new core.ArgumentError.new("Incorrect number or type of arguments")); + } + [S$4._texSubImage2D2_1](...args) { + return this.texSubImage2D.apply(this, args); + } + [S$4._texSubImage2D2_2](...args) { + return this.texSubImage2D.apply(this, args); + } + [S$4._texSubImage2D2_3](...args) { + return this.texSubImage2D.apply(this, args); + } + [S$4._texSubImage2D2_4](...args) { + return this.texSubImage2D.apply(this, args); + } + [S$4._texSubImage2D2_5](...args) { + return this.texSubImage2D.apply(this, args); + } + [S$4._texSubImage2D2_6](...args) { + return this.texSubImage2D.apply(this, args); + } + [S$4._texSubImage2D2_7](...args) { + return this.texSubImage2D.apply(this, args); + } + [S$4.$texSubImage3D](target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_pixels_OR_video, srcOffset = null) { + if (target == null) dart.nullFailed(I[161], 2021, 11, "target"); + if (level == null) dart.nullFailed(I[161], 2022, 11, "level"); + if (xoffset == null) dart.nullFailed(I[161], 2023, 11, "xoffset"); + if (yoffset == null) dart.nullFailed(I[161], 2024, 11, "yoffset"); + if (zoffset == null) dart.nullFailed(I[161], 2025, 11, "zoffset"); + if (width == null) dart.nullFailed(I[161], 2026, 11, "width"); + if (height == null) dart.nullFailed(I[161], 2027, 11, "height"); + if (depth == null) dart.nullFailed(I[161], 2028, 11, "depth"); + if (format == null) dart.nullFailed(I[161], 2029, 11, "format"); + if (type == null) dart.nullFailed(I[161], 2030, 11, "type"); + if (core.int.is(bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_pixels_OR_video) && srcOffset == null) { + this[S$4._texSubImage3D_1](target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_pixels_OR_video); + return; + } + if (html$.ImageData.is(bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_pixels_OR_video) && srcOffset == null) { + let data_1 = html_common.convertDartToNative_ImageData(bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_pixels_OR_video); + this[S$4._texSubImage3D_2](target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, data_1); + return; + } + if (html$.ImageElement.is(bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_pixels_OR_video) && srcOffset == null) { + this[S$4._texSubImage3D_3](target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_pixels_OR_video); + return; + } + if (html$.CanvasElement.is(bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_pixels_OR_video) && srcOffset == null) { + this[S$4._texSubImage3D_4](target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_pixels_OR_video); + return; + } + if (html$.VideoElement.is(bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_pixels_OR_video) && srcOffset == null) { + this[S$4._texSubImage3D_5](target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_pixels_OR_video); + return; + } + if (html$.ImageBitmap.is(bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_pixels_OR_video) && srcOffset == null) { + this[S$4._texSubImage3D_6](target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_pixels_OR_video); + return; + } + if (typed_data.TypedData.is(bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_pixels_OR_video) && srcOffset == null) { + this[S$4._texSubImage3D_7](target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_pixels_OR_video); + return; + } + if (srcOffset != null && typed_data.TypedData.is(bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_pixels_OR_video)) { + this[S$4._texSubImage3D_8](target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_pixels_OR_video, srcOffset); + return; + } + dart.throw(new core.ArgumentError.new("Incorrect number or type of arguments")); + } + [S$4._texSubImage3D_1](...args) { + return this.texSubImage3D.apply(this, args); + } + [S$4._texSubImage3D_2](...args) { + return this.texSubImage3D.apply(this, args); + } + [S$4._texSubImage3D_3](...args) { + return this.texSubImage3D.apply(this, args); + } + [S$4._texSubImage3D_4](...args) { + return this.texSubImage3D.apply(this, args); + } + [S$4._texSubImage3D_5](...args) { + return this.texSubImage3D.apply(this, args); + } + [S$4._texSubImage3D_6](...args) { + return this.texSubImage3D.apply(this, args); + } + [S$4._texSubImage3D_7](...args) { + return this.texSubImage3D.apply(this, args); + } + [S$4._texSubImage3D_8](...args) { + return this.texSubImage3D.apply(this, args); + } + [S$4.$transformFeedbackVaryings](program, varyings, bufferMode) { + if (program == null) dart.nullFailed(I[161], 2191, 15, "program"); + if (varyings == null) dart.nullFailed(I[161], 2191, 37, "varyings"); + if (bufferMode == null) dart.nullFailed(I[161], 2191, 51, "bufferMode"); + let varyings_1 = html_common.convertDartToNative_StringArray(varyings); + this[S$4._transformFeedbackVaryings_1](program, varyings_1, bufferMode); + return; + } + [S$4._transformFeedbackVaryings_1](...args) { + return this.transformFeedbackVaryings.apply(this, args); + } + [S$4.$uniform1fv2](...args) { + return this.uniform1fv.apply(this, args); + } + [S$4.$uniform1iv2](...args) { + return this.uniform1iv.apply(this, args); + } + [S$4.$uniform1ui](...args) { + return this.uniform1ui.apply(this, args); + } + [S$4.$uniform1uiv](...args) { + return this.uniform1uiv.apply(this, args); + } + [S$4.$uniform2fv2](...args) { + return this.uniform2fv.apply(this, args); + } + [S$4.$uniform2iv2](...args) { + return this.uniform2iv.apply(this, args); + } + [S$4.$uniform2ui](...args) { + return this.uniform2ui.apply(this, args); + } + [S$4.$uniform2uiv](...args) { + return this.uniform2uiv.apply(this, args); + } + [S$4.$uniform3fv2](...args) { + return this.uniform3fv.apply(this, args); + } + [S$4.$uniform3iv2](...args) { + return this.uniform3iv.apply(this, args); + } + [S$4.$uniform3ui](...args) { + return this.uniform3ui.apply(this, args); + } + [S$4.$uniform3uiv](...args) { + return this.uniform3uiv.apply(this, args); + } + [S$4.$uniform4fv2](...args) { + return this.uniform4fv.apply(this, args); + } + [S$4.$uniform4iv2](...args) { + return this.uniform4iv.apply(this, args); + } + [S$4.$uniform4ui](...args) { + return this.uniform4ui.apply(this, args); + } + [S$4.$uniform4uiv](...args) { + return this.uniform4uiv.apply(this, args); + } + [S$4.$uniformBlockBinding](...args) { + return this.uniformBlockBinding.apply(this, args); + } + [S$4.$uniformMatrix2fv2](...args) { + return this.uniformMatrix2fv.apply(this, args); + } + [S$4.$uniformMatrix2x3fv](...args) { + return this.uniformMatrix2x3fv.apply(this, args); + } + [S$4.$uniformMatrix2x4fv](...args) { + return this.uniformMatrix2x4fv.apply(this, args); + } + [S$4.$uniformMatrix3fv2](...args) { + return this.uniformMatrix3fv.apply(this, args); + } + [S$4.$uniformMatrix3x2fv](...args) { + return this.uniformMatrix3x2fv.apply(this, args); + } + [S$4.$uniformMatrix3x4fv](...args) { + return this.uniformMatrix3x4fv.apply(this, args); + } + [S$4.$uniformMatrix4fv2](...args) { + return this.uniformMatrix4fv.apply(this, args); + } + [S$4.$uniformMatrix4x2fv](...args) { + return this.uniformMatrix4x2fv.apply(this, args); + } + [S$4.$uniformMatrix4x3fv](...args) { + return this.uniformMatrix4x3fv.apply(this, args); + } + [S$4.$vertexAttribDivisor](...args) { + return this.vertexAttribDivisor.apply(this, args); + } + [S$4.$vertexAttribI4i](...args) { + return this.vertexAttribI4i.apply(this, args); + } + [S$4.$vertexAttribI4iv](...args) { + return this.vertexAttribI4iv.apply(this, args); + } + [S$4.$vertexAttribI4ui](...args) { + return this.vertexAttribI4ui.apply(this, args); + } + [S$4.$vertexAttribI4uiv](...args) { + return this.vertexAttribI4uiv.apply(this, args); + } + [S$4.$vertexAttribIPointer](...args) { + return this.vertexAttribIPointer.apply(this, args); + } + [S$4.$waitSync](...args) { + return this.waitSync.apply(this, args); + } + get [S$4.$drawingBufferHeight]() { + return this.drawingBufferHeight; + } + get [S$4.$drawingBufferWidth]() { + return this.drawingBufferWidth; + } + [S$4.$activeTexture](...args) { + return this.activeTexture.apply(this, args); + } + [S$4.$attachShader](...args) { + return this.attachShader.apply(this, args); + } + [S$4.$bindAttribLocation](...args) { + return this.bindAttribLocation.apply(this, args); + } + [S$4.$bindBuffer](...args) { + return this.bindBuffer.apply(this, args); + } + [S$4.$bindFramebuffer](...args) { + return this.bindFramebuffer.apply(this, args); + } + [S$4.$bindRenderbuffer](...args) { + return this.bindRenderbuffer.apply(this, args); + } + [S$4.$bindTexture](...args) { + return this.bindTexture.apply(this, args); + } + [S$4.$blendColor](...args) { + return this.blendColor.apply(this, args); + } + [S$4.$blendEquation](...args) { + return this.blendEquation.apply(this, args); + } + [S$4.$blendEquationSeparate](...args) { + return this.blendEquationSeparate.apply(this, args); + } + [S$4.$blendFunc](...args) { + return this.blendFunc.apply(this, args); + } + [S$4.$blendFuncSeparate](...args) { + return this.blendFuncSeparate.apply(this, args); + } + [S$4.$bufferData](...args) { + return this.bufferData.apply(this, args); + } + [S$4.$bufferSubData](...args) { + return this.bufferSubData.apply(this, args); + } + [S$4.$checkFramebufferStatus](...args) { + return this.checkFramebufferStatus.apply(this, args); + } + [$clear](...args) { + return this.clear.apply(this, args); + } + [S$4.$clearColor](...args) { + return this.clearColor.apply(this, args); + } + [S$4.$clearDepth](...args) { + return this.clearDepth.apply(this, args); + } + [S$4.$clearStencil](...args) { + return this.clearStencil.apply(this, args); + } + [S$4.$colorMask](...args) { + return this.colorMask.apply(this, args); + } + [S$2.$commit]() { + return js_util.promiseToFuture(dart.dynamic, this.commit()); + } + [S$4.$compileShader](...args) { + return this.compileShader.apply(this, args); + } + [S$4.$compressedTexImage2D](...args) { + return this.compressedTexImage2D.apply(this, args); + } + [S$4.$compressedTexSubImage2D](...args) { + return this.compressedTexSubImage2D.apply(this, args); + } + [S$4.$copyTexImage2D](...args) { + return this.copyTexImage2D.apply(this, args); + } + [S$4.$copyTexSubImage2D](...args) { + return this.copyTexSubImage2D.apply(this, args); + } + [S$3.$createBuffer](...args) { + return this.createBuffer.apply(this, args); + } + [S$4.$createFramebuffer](...args) { + return this.createFramebuffer.apply(this, args); + } + [S$4.$createProgram](...args) { + return this.createProgram.apply(this, args); + } + [S$4.$createRenderbuffer](...args) { + return this.createRenderbuffer.apply(this, args); + } + [S$4.$createShader](...args) { + return this.createShader.apply(this, args); + } + [S$4.$createTexture](...args) { + return this.createTexture.apply(this, args); + } + [S$4.$cullFace](...args) { + return this.cullFace.apply(this, args); + } + [S$4.$deleteBuffer](...args) { + return this.deleteBuffer.apply(this, args); + } + [S$4.$deleteFramebuffer](...args) { + return this.deleteFramebuffer.apply(this, args); + } + [S$4.$deleteProgram](...args) { + return this.deleteProgram.apply(this, args); + } + [S$4.$deleteRenderbuffer](...args) { + return this.deleteRenderbuffer.apply(this, args); + } + [S$4.$deleteShader](...args) { + return this.deleteShader.apply(this, args); + } + [S$4.$deleteTexture](...args) { + return this.deleteTexture.apply(this, args); + } + [S$4.$depthFunc](...args) { + return this.depthFunc.apply(this, args); + } + [S$4.$depthMask](...args) { + return this.depthMask.apply(this, args); + } + [S$4.$depthRange](...args) { + return this.depthRange.apply(this, args); + } + [S$4.$detachShader](...args) { + return this.detachShader.apply(this, args); + } + [S$1.$disable](...args) { + return this.disable.apply(this, args); + } + [S$4.$disableVertexAttribArray](...args) { + return this.disableVertexAttribArray.apply(this, args); + } + [S$4.$drawArrays](...args) { + return this.drawArrays.apply(this, args); + } + [S$4.$drawElements](...args) { + return this.drawElements.apply(this, args); + } + [S$1.$enable](...args) { + return this.enable.apply(this, args); + } + [S$4.$enableVertexAttribArray](...args) { + return this.enableVertexAttribArray.apply(this, args); + } + [S$.$finish](...args) { + return this.finish.apply(this, args); + } + [S$4.$flush](...args) { + return this.flush.apply(this, args); + } + [S$4.$framebufferRenderbuffer](...args) { + return this.framebufferRenderbuffer.apply(this, args); + } + [S$4.$framebufferTexture2D](...args) { + return this.framebufferTexture2D.apply(this, args); + } + [S$4.$frontFace](...args) { + return this.frontFace.apply(this, args); + } + [S$4.$generateMipmap](...args) { + return this.generateMipmap.apply(this, args); + } + [S$4.$getActiveAttrib](...args) { + return this.getActiveAttrib.apply(this, args); + } + [S$4.$getActiveUniform](...args) { + return this.getActiveUniform.apply(this, args); + } + [S$4.$getAttachedShaders](...args) { + return this.getAttachedShaders.apply(this, args); + } + [S$4.$getAttribLocation](...args) { + return this.getAttribLocation.apply(this, args); + } + [S$4.$getBufferParameter](...args) { + return this.getBufferParameter.apply(this, args); + } + [S$.$getContextAttributes]() { + return html_common.convertNativeToDart_Dictionary(this[S$4._getContextAttributes_1$1]()); + } + [S$4._getContextAttributes_1$1](...args) { + return this.getContextAttributes.apply(this, args); + } + [S$4.$getError](...args) { + return this.getError.apply(this, args); + } + [S$4.$getExtension](...args) { + return this.getExtension.apply(this, args); + } + [S$4.$getFramebufferAttachmentParameter](...args) { + return this.getFramebufferAttachmentParameter.apply(this, args); + } + [S$3.$getParameter](...args) { + return this.getParameter.apply(this, args); + } + [S$4.$getProgramInfoLog](...args) { + return this.getProgramInfoLog.apply(this, args); + } + [S$4.$getProgramParameter](...args) { + return this.getProgramParameter.apply(this, args); + } + [S$4.$getRenderbufferParameter](...args) { + return this.getRenderbufferParameter.apply(this, args); + } + [S$4.$getShaderInfoLog](...args) { + return this.getShaderInfoLog.apply(this, args); + } + [S$4.$getShaderParameter](...args) { + return this.getShaderParameter.apply(this, args); + } + [S$4.$getShaderPrecisionFormat](...args) { + return this.getShaderPrecisionFormat.apply(this, args); + } + [S$4.$getShaderSource](...args) { + return this.getShaderSource.apply(this, args); + } + [S$4.$getSupportedExtensions](...args) { + return this.getSupportedExtensions.apply(this, args); + } + [S$4.$getTexParameter](...args) { + return this.getTexParameter.apply(this, args); + } + [S$4.$getUniform](...args) { + return this.getUniform.apply(this, args); + } + [S$4.$getUniformLocation](...args) { + return this.getUniformLocation.apply(this, args); + } + [S$4.$getVertexAttrib](...args) { + return this.getVertexAttrib.apply(this, args); + } + [S$4.$getVertexAttribOffset](...args) { + return this.getVertexAttribOffset.apply(this, args); + } + [S$4.$hint](...args) { + return this.hint.apply(this, args); + } + [S$4.$isBuffer](...args) { + return this.isBuffer.apply(this, args); + } + [S$.$isContextLost](...args) { + return this.isContextLost.apply(this, args); + } + [S$4.$isEnabled](...args) { + return this.isEnabled.apply(this, args); + } + [S$4.$isFramebuffer](...args) { + return this.isFramebuffer.apply(this, args); + } + [S$4.$isProgram](...args) { + return this.isProgram.apply(this, args); + } + [S$4.$isRenderbuffer](...args) { + return this.isRenderbuffer.apply(this, args); + } + [S$4.$isShader](...args) { + return this.isShader.apply(this, args); + } + [S$4.$isTexture](...args) { + return this.isTexture.apply(this, args); + } + [S$.$lineWidth](...args) { + return this.lineWidth.apply(this, args); + } + [S$4.$linkProgram](...args) { + return this.linkProgram.apply(this, args); + } + [S$4.$pixelStorei](...args) { + return this.pixelStorei.apply(this, args); + } + [S$4.$polygonOffset](...args) { + return this.polygonOffset.apply(this, args); + } + [S$4._readPixels](...args) { + return this.readPixels.apply(this, args); + } + [S$4.$renderbufferStorage](...args) { + return this.renderbufferStorage.apply(this, args); + } + [S$4.$sampleCoverage](...args) { + return this.sampleCoverage.apply(this, args); + } + [S$4.$scissor](...args) { + return this.scissor.apply(this, args); + } + [S$4.$shaderSource](...args) { + return this.shaderSource.apply(this, args); + } + [S$4.$stencilFunc](...args) { + return this.stencilFunc.apply(this, args); + } + [S$4.$stencilFuncSeparate](...args) { + return this.stencilFuncSeparate.apply(this, args); + } + [S$4.$stencilMask](...args) { + return this.stencilMask.apply(this, args); + } + [S$4.$stencilMaskSeparate](...args) { + return this.stencilMaskSeparate.apply(this, args); + } + [S$4.$stencilOp](...args) { + return this.stencilOp.apply(this, args); + } + [S$4.$stencilOpSeparate](...args) { + return this.stencilOpSeparate.apply(this, args); + } + [S$4.$texImage2D](target, level, internalformat, format_OR_width, height_OR_type, bitmap_OR_border_OR_canvas_OR_image_OR_pixels_OR_video, format = null, type = null, pixels = null) { + if (target == null) dart.nullFailed(I[161], 2533, 11, "target"); + if (level == null) dart.nullFailed(I[161], 2534, 11, "level"); + if (internalformat == null) dart.nullFailed(I[161], 2535, 11, "internalformat"); + if (format_OR_width == null) dart.nullFailed(I[161], 2536, 11, "format_OR_width"); + if (height_OR_type == null) dart.nullFailed(I[161], 2537, 11, "height_OR_type"); + if (type != null && format != null && core.int.is(bitmap_OR_border_OR_canvas_OR_image_OR_pixels_OR_video)) { + this[S$4._texImage2D_1](target, level, internalformat, format_OR_width, height_OR_type, bitmap_OR_border_OR_canvas_OR_image_OR_pixels_OR_video, format, type, pixels); + return; + } + if (html$.ImageData.is(bitmap_OR_border_OR_canvas_OR_image_OR_pixels_OR_video) && format == null && type == null && pixels == null) { + let pixels_1 = html_common.convertDartToNative_ImageData(bitmap_OR_border_OR_canvas_OR_image_OR_pixels_OR_video); + this[S$4._texImage2D_2](target, level, internalformat, format_OR_width, height_OR_type, pixels_1); + return; + } + if (html$.ImageElement.is(bitmap_OR_border_OR_canvas_OR_image_OR_pixels_OR_video) && format == null && type == null && pixels == null) { + this[S$4._texImage2D_3](target, level, internalformat, format_OR_width, height_OR_type, bitmap_OR_border_OR_canvas_OR_image_OR_pixels_OR_video); + return; + } + if (html$.CanvasElement.is(bitmap_OR_border_OR_canvas_OR_image_OR_pixels_OR_video) && format == null && type == null && pixels == null) { + this[S$4._texImage2D_4](target, level, internalformat, format_OR_width, height_OR_type, bitmap_OR_border_OR_canvas_OR_image_OR_pixels_OR_video); + return; + } + if (html$.VideoElement.is(bitmap_OR_border_OR_canvas_OR_image_OR_pixels_OR_video) && format == null && type == null && pixels == null) { + this[S$4._texImage2D_5](target, level, internalformat, format_OR_width, height_OR_type, bitmap_OR_border_OR_canvas_OR_image_OR_pixels_OR_video); + return; + } + if (html$.ImageBitmap.is(bitmap_OR_border_OR_canvas_OR_image_OR_pixels_OR_video) && format == null && type == null && pixels == null) { + this[S$4._texImage2D_6](target, level, internalformat, format_OR_width, height_OR_type, bitmap_OR_border_OR_canvas_OR_image_OR_pixels_OR_video); + return; + } + dart.throw(new core.ArgumentError.new("Incorrect number or type of arguments")); + } + [S$4._texImage2D_1](...args) { + return this.texImage2D.apply(this, args); + } + [S$4._texImage2D_2](...args) { + return this.texImage2D.apply(this, args); + } + [S$4._texImage2D_3](...args) { + return this.texImage2D.apply(this, args); + } + [S$4._texImage2D_4](...args) { + return this.texImage2D.apply(this, args); + } + [S$4._texImage2D_5](...args) { + return this.texImage2D.apply(this, args); + } + [S$4._texImage2D_6](...args) { + return this.texImage2D.apply(this, args); + } + [S$4.$texParameterf](...args) { + return this.texParameterf.apply(this, args); + } + [S$4.$texParameteri](...args) { + return this.texParameteri.apply(this, args); + } + [S$4.$texSubImage2D](target, level, xoffset, yoffset, format_OR_width, height_OR_type, bitmap_OR_canvas_OR_format_OR_image_OR_pixels_OR_video, type = null, pixels = null) { + if (target == null) dart.nullFailed(I[161], 2650, 11, "target"); + if (level == null) dart.nullFailed(I[161], 2651, 11, "level"); + if (xoffset == null) dart.nullFailed(I[161], 2652, 11, "xoffset"); + if (yoffset == null) dart.nullFailed(I[161], 2653, 11, "yoffset"); + if (format_OR_width == null) dart.nullFailed(I[161], 2654, 11, "format_OR_width"); + if (height_OR_type == null) dart.nullFailed(I[161], 2655, 11, "height_OR_type"); + if (type != null && core.int.is(bitmap_OR_canvas_OR_format_OR_image_OR_pixels_OR_video)) { + this[S$4._texSubImage2D_1](target, level, xoffset, yoffset, format_OR_width, height_OR_type, bitmap_OR_canvas_OR_format_OR_image_OR_pixels_OR_video, type, pixels); + return; + } + if (html$.ImageData.is(bitmap_OR_canvas_OR_format_OR_image_OR_pixels_OR_video) && type == null && pixels == null) { + let pixels_1 = html_common.convertDartToNative_ImageData(bitmap_OR_canvas_OR_format_OR_image_OR_pixels_OR_video); + this[S$4._texSubImage2D_2](target, level, xoffset, yoffset, format_OR_width, height_OR_type, pixels_1); + return; + } + if (html$.ImageElement.is(bitmap_OR_canvas_OR_format_OR_image_OR_pixels_OR_video) && type == null && pixels == null) { + this[S$4._texSubImage2D_3](target, level, xoffset, yoffset, format_OR_width, height_OR_type, bitmap_OR_canvas_OR_format_OR_image_OR_pixels_OR_video); + return; + } + if (html$.CanvasElement.is(bitmap_OR_canvas_OR_format_OR_image_OR_pixels_OR_video) && type == null && pixels == null) { + this[S$4._texSubImage2D_4](target, level, xoffset, yoffset, format_OR_width, height_OR_type, bitmap_OR_canvas_OR_format_OR_image_OR_pixels_OR_video); + return; + } + if (html$.VideoElement.is(bitmap_OR_canvas_OR_format_OR_image_OR_pixels_OR_video) && type == null && pixels == null) { + this[S$4._texSubImage2D_5](target, level, xoffset, yoffset, format_OR_width, height_OR_type, bitmap_OR_canvas_OR_format_OR_image_OR_pixels_OR_video); + return; + } + if (html$.ImageBitmap.is(bitmap_OR_canvas_OR_format_OR_image_OR_pixels_OR_video) && type == null && pixels == null) { + this[S$4._texSubImage2D_6](target, level, xoffset, yoffset, format_OR_width, height_OR_type, bitmap_OR_canvas_OR_format_OR_image_OR_pixels_OR_video); + return; + } + dart.throw(new core.ArgumentError.new("Incorrect number or type of arguments")); + } + [S$4._texSubImage2D_1](...args) { + return this.texSubImage2D.apply(this, args); + } + [S$4._texSubImage2D_2](...args) { + return this.texSubImage2D.apply(this, args); + } + [S$4._texSubImage2D_3](...args) { + return this.texSubImage2D.apply(this, args); + } + [S$4._texSubImage2D_4](...args) { + return this.texSubImage2D.apply(this, args); + } + [S$4._texSubImage2D_5](...args) { + return this.texSubImage2D.apply(this, args); + } + [S$4._texSubImage2D_6](...args) { + return this.texSubImage2D.apply(this, args); + } + [S$4.$uniform1f](...args) { + return this.uniform1f.apply(this, args); + } + [S$4.$uniform1fv](...args) { + return this.uniform1fv.apply(this, args); + } + [S$4.$uniform1i](...args) { + return this.uniform1i.apply(this, args); + } + [S$4.$uniform1iv](...args) { + return this.uniform1iv.apply(this, args); + } + [S$4.$uniform2f](...args) { + return this.uniform2f.apply(this, args); + } + [S$4.$uniform2fv](...args) { + return this.uniform2fv.apply(this, args); + } + [S$4.$uniform2i](...args) { + return this.uniform2i.apply(this, args); + } + [S$4.$uniform2iv](...args) { + return this.uniform2iv.apply(this, args); + } + [S$4.$uniform3f](...args) { + return this.uniform3f.apply(this, args); + } + [S$4.$uniform3fv](...args) { + return this.uniform3fv.apply(this, args); + } + [S$4.$uniform3i](...args) { + return this.uniform3i.apply(this, args); + } + [S$4.$uniform3iv](...args) { + return this.uniform3iv.apply(this, args); + } + [S$4.$uniform4f](...args) { + return this.uniform4f.apply(this, args); + } + [S$4.$uniform4fv](...args) { + return this.uniform4fv.apply(this, args); + } + [S$4.$uniform4i](...args) { + return this.uniform4i.apply(this, args); + } + [S$4.$uniform4iv](...args) { + return this.uniform4iv.apply(this, args); + } + [S$4.$uniformMatrix2fv](...args) { + return this.uniformMatrix2fv.apply(this, args); + } + [S$4.$uniformMatrix3fv](...args) { + return this.uniformMatrix3fv.apply(this, args); + } + [S$4.$uniformMatrix4fv](...args) { + return this.uniformMatrix4fv.apply(this, args); + } + [S$4.$useProgram](...args) { + return this.useProgram.apply(this, args); + } + [S$4.$validateProgram](...args) { + return this.validateProgram.apply(this, args); + } + [S$4.$vertexAttrib1f](...args) { + return this.vertexAttrib1f.apply(this, args); + } + [S$4.$vertexAttrib1fv](...args) { + return this.vertexAttrib1fv.apply(this, args); + } + [S$4.$vertexAttrib2f](...args) { + return this.vertexAttrib2f.apply(this, args); + } + [S$4.$vertexAttrib2fv](...args) { + return this.vertexAttrib2fv.apply(this, args); + } + [S$4.$vertexAttrib3f](...args) { + return this.vertexAttrib3f.apply(this, args); + } + [S$4.$vertexAttrib3fv](...args) { + return this.vertexAttrib3fv.apply(this, args); + } + [S$4.$vertexAttrib4f](...args) { + return this.vertexAttrib4f.apply(this, args); + } + [S$4.$vertexAttrib4fv](...args) { + return this.vertexAttrib4fv.apply(this, args); + } + [S$4.$vertexAttribPointer](...args) { + return this.vertexAttribPointer.apply(this, args); + } + [S$4.$viewport](...args) { + return this.viewport.apply(this, args); + } + [S$4.$readPixels](x, y, width, height, format, type, pixels) { + if (x == null) dart.nullFailed(I[161], 2826, 23, "x"); + if (y == null) dart.nullFailed(I[161], 2826, 30, "y"); + if (width == null) dart.nullFailed(I[161], 2826, 37, "width"); + if (height == null) dart.nullFailed(I[161], 2826, 48, "height"); + if (format == null) dart.nullFailed(I[161], 2826, 60, "format"); + if (type == null) dart.nullFailed(I[161], 2826, 72, "type"); + if (pixels == null) dart.nullFailed(I[161], 2827, 17, "pixels"); + this[S$4._readPixels](x, y, width, height, format, type, pixels); + } + }; + dart.addTypeTests(web_gl.RenderingContext2); + dart.addTypeCaches(web_gl.RenderingContext2); + web_gl.RenderingContext2[dart.implements] = () => [web_gl._WebGL2RenderingContextBase, web_gl._WebGLRenderingContextBase]; + dart.setMethodSignature(web_gl.RenderingContext2, () => ({ + __proto__: dart.getMethods(web_gl.RenderingContext2.__proto__), + [S$4.$beginQuery]: dart.fnType(dart.void, [core.int, web_gl.Query]), + [S$4.$beginTransformFeedback]: dart.fnType(dart.void, [core.int]), + [S$4.$bindBufferBase]: dart.fnType(dart.void, [core.int, core.int, dart.nullable(web_gl.Buffer)]), + [S$4.$bindBufferRange]: dart.fnType(dart.void, [core.int, core.int, dart.nullable(web_gl.Buffer), core.int, core.int]), + [S$4.$bindSampler]: dart.fnType(dart.void, [core.int, dart.nullable(web_gl.Sampler)]), + [S$4.$bindTransformFeedback]: dart.fnType(dart.void, [core.int, dart.nullable(web_gl.TransformFeedback)]), + [S$4.$bindVertexArray]: dart.fnType(dart.void, [dart.nullable(web_gl.VertexArrayObject)]), + [S$4.$blitFramebuffer]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int, core.int, core.int, core.int, core.int, core.int]), + [S$4.$bufferData2]: dart.fnType(dart.void, [core.int, typed_data.TypedData, core.int, core.int], [dart.nullable(core.int)]), + [S$4.$bufferSubData2]: dart.fnType(dart.void, [core.int, core.int, typed_data.TypedData, core.int], [dart.nullable(core.int)]), + [S$4.$clearBufferfi]: dart.fnType(dart.void, [core.int, core.int, core.num, core.int]), + [S$4.$clearBufferfv]: dart.fnType(dart.void, [core.int, core.int, dart.dynamic], [dart.nullable(core.int)]), + [S$4.$clearBufferiv]: dart.fnType(dart.void, [core.int, core.int, dart.dynamic], [dart.nullable(core.int)]), + [S$4.$clearBufferuiv]: dart.fnType(dart.void, [core.int, core.int, dart.dynamic], [dart.nullable(core.int)]), + [S$4.$clientWaitSync]: dart.fnType(core.int, [web_gl.Sync, core.int, core.int]), + [S$4.$compressedTexImage2D2]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int, core.int, typed_data.TypedData, core.int], [dart.nullable(core.int)]), + [S$4.$compressedTexImage2D3]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int, core.int, core.int, core.int]), + [S$4.$compressedTexImage3D]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int, core.int, core.int, typed_data.TypedData], [dart.nullable(core.int), dart.nullable(core.int)]), + [S$4.$compressedTexImage3D2]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int, core.int, core.int, core.int, core.int]), + [S$4.$compressedTexSubImage2D2]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int, core.int, core.int, typed_data.TypedData, core.int], [dart.nullable(core.int)]), + [S$4.$compressedTexSubImage2D3]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int, core.int, core.int, core.int, core.int]), + [S$4.$compressedTexSubImage3D]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int, core.int, core.int, core.int, core.int, typed_data.TypedData], [dart.nullable(core.int), dart.nullable(core.int)]), + [S$4.$compressedTexSubImage3D2]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int, core.int, core.int, core.int, core.int, core.int, core.int]), + [S$4.$copyBufferSubData]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int]), + [S$4.$copyTexSubImage3D]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int, core.int, core.int, core.int, core.int]), + [S$4.$createQuery]: dart.fnType(dart.nullable(web_gl.Query), []), + [S$4.$createSampler]: dart.fnType(dart.nullable(web_gl.Sampler), []), + [S$4.$createTransformFeedback]: dart.fnType(dart.nullable(web_gl.TransformFeedback), []), + [S$4.$createVertexArray]: dart.fnType(dart.nullable(web_gl.VertexArrayObject), []), + [S$4.$deleteQuery]: dart.fnType(dart.void, [dart.nullable(web_gl.Query)]), + [S$4.$deleteSampler]: dart.fnType(dart.void, [dart.nullable(web_gl.Sampler)]), + [S$4.$deleteSync]: dart.fnType(dart.void, [dart.nullable(web_gl.Sync)]), + [S$4.$deleteTransformFeedback]: dart.fnType(dart.void, [dart.nullable(web_gl.TransformFeedback)]), + [S$4.$deleteVertexArray]: dart.fnType(dart.void, [dart.nullable(web_gl.VertexArrayObject)]), + [S$4.$drawArraysInstanced]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int]), + [S$4.$drawBuffers]: dart.fnType(dart.void, [core.List$(core.int)]), + [S$4.$drawElementsInstanced]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int]), + [S$4.$drawRangeElements]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int, core.int]), + [S$4.$endQuery]: dart.fnType(dart.void, [core.int]), + [S$4.$endTransformFeedback]: dart.fnType(dart.void, []), + [S$4.$fenceSync]: dart.fnType(dart.nullable(web_gl.Sync), [core.int, core.int]), + [S$4.$framebufferTextureLayer]: dart.fnType(dart.void, [core.int, core.int, dart.nullable(web_gl.Texture), core.int, core.int]), + [S$4.$getActiveUniformBlockName]: dart.fnType(dart.nullable(core.String), [web_gl.Program, core.int]), + [S$4.$getActiveUniformBlockParameter]: dart.fnType(dart.nullable(core.Object), [web_gl.Program, core.int, core.int]), + [S$4.$getActiveUniforms]: dart.fnType(dart.nullable(core.Object), [web_gl.Program, core.List$(core.int), core.int]), + [S$4.$getBufferSubData]: dart.fnType(dart.void, [core.int, core.int, typed_data.TypedData], [dart.nullable(core.int), dart.nullable(core.int)]), + [S$4.$getFragDataLocation]: dart.fnType(core.int, [web_gl.Program, core.String]), + [S$4.$getIndexedParameter]: dart.fnType(dart.nullable(core.Object), [core.int, core.int]), + [S$4.$getInternalformatParameter]: dart.fnType(dart.nullable(core.Object), [core.int, core.int, core.int]), + [S$4.$getQuery]: dart.fnType(dart.nullable(core.Object), [core.int, core.int]), + [S$4.$getQueryParameter]: dart.fnType(dart.nullable(core.Object), [web_gl.Query, core.int]), + [S$4.$getSamplerParameter]: dart.fnType(dart.nullable(core.Object), [web_gl.Sampler, core.int]), + [S$4.$getSyncParameter]: dart.fnType(dart.nullable(core.Object), [web_gl.Sync, core.int]), + [S$4.$getTransformFeedbackVarying]: dart.fnType(dart.nullable(web_gl.ActiveInfo), [web_gl.Program, core.int]), + [S$4.$getUniformBlockIndex]: dart.fnType(core.int, [web_gl.Program, core.String]), + [S$4.$getUniformIndices]: dart.fnType(dart.nullable(core.List$(core.int)), [web_gl.Program, core.List$(core.String)]), + [S$4._getUniformIndices_1]: dart.fnType(dart.nullable(core.List$(core.int)), [web_gl.Program, core.List]), + [S$4.$invalidateFramebuffer]: dart.fnType(dart.void, [core.int, core.List$(core.int)]), + [S$4.$invalidateSubFramebuffer]: dart.fnType(dart.void, [core.int, core.List$(core.int), core.int, core.int, core.int, core.int]), + [S$4.$isQuery]: dart.fnType(core.bool, [dart.nullable(web_gl.Query)]), + [S$4.$isSampler]: dart.fnType(core.bool, [dart.nullable(web_gl.Sampler)]), + [S$4.$isSync]: dart.fnType(core.bool, [dart.nullable(web_gl.Sync)]), + [S$4.$isTransformFeedback]: dart.fnType(core.bool, [dart.nullable(web_gl.TransformFeedback)]), + [S$4.$isVertexArray]: dart.fnType(core.bool, [dart.nullable(web_gl.VertexArrayObject)]), + [S$4.$pauseTransformFeedback]: dart.fnType(dart.void, []), + [S$4.$readBuffer]: dart.fnType(dart.void, [core.int]), + [S$4.$readPixels2]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int, core.int, dart.dynamic], [dart.nullable(core.int)]), + [S$4.$renderbufferStorageMultisample]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int]), + [S$4.$resumeTransformFeedback]: dart.fnType(dart.void, []), + [S$4.$samplerParameterf]: dart.fnType(dart.void, [web_gl.Sampler, core.int, core.num]), + [S$4.$samplerParameteri]: dart.fnType(dart.void, [web_gl.Sampler, core.int, core.int]), + [S$4.$texImage2D2]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int, core.int, core.int, core.int, dart.dynamic], [dart.nullable(core.int)]), + [S$4._texImage2D2_1]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, core.int]), + [S$4._texImage2D2_2]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic]), + [S$4._texImage2D2_3]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, html$.ImageElement]), + [S$4._texImage2D2_4]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, html$.CanvasElement]), + [S$4._texImage2D2_5]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, html$.VideoElement]), + [S$4._texImage2D2_6]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, html$.ImageBitmap]), + [S$4._texImage2D2_7]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, typed_data.TypedData, dart.dynamic]), + [S$4.$texImage3D]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int, core.int, core.int, core.int, core.int, dart.dynamic], [dart.nullable(core.int)]), + [S$4._texImage3D_1]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, core.int]), + [S$4._texImage3D_2]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic]), + [S$4._texImage3D_3]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, html$.ImageElement]), + [S$4._texImage3D_4]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, html$.CanvasElement]), + [S$4._texImage3D_5]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, html$.VideoElement]), + [S$4._texImage3D_6]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, html$.ImageBitmap]), + [S$4._texImage3D_7]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.nullable(typed_data.TypedData)]), + [S$4._texImage3D_8]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, typed_data.TypedData, dart.dynamic]), + [S$4.$texStorage2D]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int]), + [S$4.$texStorage3D]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int, core.int]), + [S$4.$texSubImage2D2]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int, core.int, core.int, core.int, dart.dynamic], [dart.nullable(core.int)]), + [S$4._texSubImage2D2_1]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, core.int]), + [S$4._texSubImage2D2_2]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic]), + [S$4._texSubImage2D2_3]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, html$.ImageElement]), + [S$4._texSubImage2D2_4]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, html$.CanvasElement]), + [S$4._texSubImage2D2_5]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, html$.VideoElement]), + [S$4._texSubImage2D2_6]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, html$.ImageBitmap]), + [S$4._texSubImage2D2_7]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, typed_data.TypedData, dart.dynamic]), + [S$4.$texSubImage3D]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int, core.int, core.int, core.int, core.int, core.int, dart.dynamic], [dart.nullable(core.int)]), + [S$4._texSubImage3D_1]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, core.int]), + [S$4._texSubImage3D_2]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic]), + [S$4._texSubImage3D_3]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, html$.ImageElement]), + [S$4._texSubImage3D_4]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, html$.CanvasElement]), + [S$4._texSubImage3D_5]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, html$.VideoElement]), + [S$4._texSubImage3D_6]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, html$.ImageBitmap]), + [S$4._texSubImage3D_7]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, typed_data.TypedData]), + [S$4._texSubImage3D_8]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, typed_data.TypedData, dart.dynamic]), + [S$4.$transformFeedbackVaryings]: dart.fnType(dart.void, [web_gl.Program, core.List$(core.String), core.int]), + [S$4._transformFeedbackVaryings_1]: dart.fnType(dart.void, [web_gl.Program, core.List, dart.dynamic]), + [S$4.$uniform1fv2]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), dart.dynamic, core.int], [dart.nullable(core.int)]), + [S$4.$uniform1iv2]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), dart.dynamic, core.int], [dart.nullable(core.int)]), + [S$4.$uniform1ui]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), core.int]), + [S$4.$uniform1uiv]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), dart.dynamic], [dart.nullable(core.int), dart.nullable(core.int)]), + [S$4.$uniform2fv2]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), dart.dynamic, core.int], [dart.nullable(core.int)]), + [S$4.$uniform2iv2]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), dart.dynamic, core.int], [dart.nullable(core.int)]), + [S$4.$uniform2ui]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), core.int, core.int]), + [S$4.$uniform2uiv]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), dart.dynamic], [dart.nullable(core.int), dart.nullable(core.int)]), + [S$4.$uniform3fv2]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), dart.dynamic, core.int], [dart.nullable(core.int)]), + [S$4.$uniform3iv2]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), dart.dynamic, core.int], [dart.nullable(core.int)]), + [S$4.$uniform3ui]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), core.int, core.int, core.int]), + [S$4.$uniform3uiv]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), dart.dynamic], [dart.nullable(core.int), dart.nullable(core.int)]), + [S$4.$uniform4fv2]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), dart.dynamic, core.int], [dart.nullable(core.int)]), + [S$4.$uniform4iv2]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), dart.dynamic, core.int], [dart.nullable(core.int)]), + [S$4.$uniform4ui]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), core.int, core.int, core.int, core.int]), + [S$4.$uniform4uiv]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), dart.dynamic], [dart.nullable(core.int), dart.nullable(core.int)]), + [S$4.$uniformBlockBinding]: dart.fnType(dart.void, [web_gl.Program, core.int, core.int]), + [S$4.$uniformMatrix2fv2]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), core.bool, dart.dynamic, core.int], [dart.nullable(core.int)]), + [S$4.$uniformMatrix2x3fv]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), core.bool, dart.dynamic], [dart.nullable(core.int), dart.nullable(core.int)]), + [S$4.$uniformMatrix2x4fv]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), core.bool, dart.dynamic], [dart.nullable(core.int), dart.nullable(core.int)]), + [S$4.$uniformMatrix3fv2]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), core.bool, dart.dynamic, core.int], [dart.nullable(core.int)]), + [S$4.$uniformMatrix3x2fv]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), core.bool, dart.dynamic], [dart.nullable(core.int), dart.nullable(core.int)]), + [S$4.$uniformMatrix3x4fv]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), core.bool, dart.dynamic], [dart.nullable(core.int), dart.nullable(core.int)]), + [S$4.$uniformMatrix4fv2]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), core.bool, dart.dynamic, core.int], [dart.nullable(core.int)]), + [S$4.$uniformMatrix4x2fv]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), core.bool, dart.dynamic], [dart.nullable(core.int), dart.nullable(core.int)]), + [S$4.$uniformMatrix4x3fv]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), core.bool, dart.dynamic], [dart.nullable(core.int), dart.nullable(core.int)]), + [S$4.$vertexAttribDivisor]: dart.fnType(dart.void, [core.int, core.int]), + [S$4.$vertexAttribI4i]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int]), + [S$4.$vertexAttribI4iv]: dart.fnType(dart.void, [core.int, dart.dynamic]), + [S$4.$vertexAttribI4ui]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int]), + [S$4.$vertexAttribI4uiv]: dart.fnType(dart.void, [core.int, dart.dynamic]), + [S$4.$vertexAttribIPointer]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int]), + [S$4.$waitSync]: dart.fnType(dart.void, [web_gl.Sync, core.int, core.int]), + [S$4.$activeTexture]: dart.fnType(dart.void, [core.int]), + [S$4.$attachShader]: dart.fnType(dart.void, [web_gl.Program, web_gl.Shader]), + [S$4.$bindAttribLocation]: dart.fnType(dart.void, [web_gl.Program, core.int, core.String]), + [S$4.$bindBuffer]: dart.fnType(dart.void, [core.int, dart.nullable(web_gl.Buffer)]), + [S$4.$bindFramebuffer]: dart.fnType(dart.void, [core.int, dart.nullable(web_gl.Framebuffer)]), + [S$4.$bindRenderbuffer]: dart.fnType(dart.void, [core.int, dart.nullable(web_gl.Renderbuffer)]), + [S$4.$bindTexture]: dart.fnType(dart.void, [core.int, dart.nullable(web_gl.Texture)]), + [S$4.$blendColor]: dart.fnType(dart.void, [core.num, core.num, core.num, core.num]), + [S$4.$blendEquation]: dart.fnType(dart.void, [core.int]), + [S$4.$blendEquationSeparate]: dart.fnType(dart.void, [core.int, core.int]), + [S$4.$blendFunc]: dart.fnType(dart.void, [core.int, core.int]), + [S$4.$blendFuncSeparate]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int]), + [S$4.$bufferData]: dart.fnType(dart.void, [core.int, dart.dynamic, core.int]), + [S$4.$bufferSubData]: dart.fnType(dart.void, [core.int, core.int, dart.dynamic]), + [S$4.$checkFramebufferStatus]: dart.fnType(core.int, [core.int]), + [$clear]: dart.fnType(dart.void, [core.int]), + [S$4.$clearColor]: dart.fnType(dart.void, [core.num, core.num, core.num, core.num]), + [S$4.$clearDepth]: dart.fnType(dart.void, [core.num]), + [S$4.$clearStencil]: dart.fnType(dart.void, [core.int]), + [S$4.$colorMask]: dart.fnType(dart.void, [core.bool, core.bool, core.bool, core.bool]), + [S$2.$commit]: dart.fnType(async.Future, []), + [S$4.$compileShader]: dart.fnType(dart.void, [web_gl.Shader]), + [S$4.$compressedTexImage2D]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int, core.int, typed_data.TypedData]), + [S$4.$compressedTexSubImage2D]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int, core.int, core.int, typed_data.TypedData]), + [S$4.$copyTexImage2D]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int, core.int, core.int, core.int]), + [S$4.$copyTexSubImage2D]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int, core.int, core.int, core.int]), + [S$3.$createBuffer]: dart.fnType(web_gl.Buffer, []), + [S$4.$createFramebuffer]: dart.fnType(web_gl.Framebuffer, []), + [S$4.$createProgram]: dart.fnType(web_gl.Program, []), + [S$4.$createRenderbuffer]: dart.fnType(web_gl.Renderbuffer, []), + [S$4.$createShader]: dart.fnType(web_gl.Shader, [core.int]), + [S$4.$createTexture]: dart.fnType(web_gl.Texture, []), + [S$4.$cullFace]: dart.fnType(dart.void, [core.int]), + [S$4.$deleteBuffer]: dart.fnType(dart.void, [dart.nullable(web_gl.Buffer)]), + [S$4.$deleteFramebuffer]: dart.fnType(dart.void, [dart.nullable(web_gl.Framebuffer)]), + [S$4.$deleteProgram]: dart.fnType(dart.void, [dart.nullable(web_gl.Program)]), + [S$4.$deleteRenderbuffer]: dart.fnType(dart.void, [dart.nullable(web_gl.Renderbuffer)]), + [S$4.$deleteShader]: dart.fnType(dart.void, [dart.nullable(web_gl.Shader)]), + [S$4.$deleteTexture]: dart.fnType(dart.void, [dart.nullable(web_gl.Texture)]), + [S$4.$depthFunc]: dart.fnType(dart.void, [core.int]), + [S$4.$depthMask]: dart.fnType(dart.void, [core.bool]), + [S$4.$depthRange]: dart.fnType(dart.void, [core.num, core.num]), + [S$4.$detachShader]: dart.fnType(dart.void, [web_gl.Program, web_gl.Shader]), + [S$1.$disable]: dart.fnType(dart.void, [core.int]), + [S$4.$disableVertexAttribArray]: dart.fnType(dart.void, [core.int]), + [S$4.$drawArrays]: dart.fnType(dart.void, [core.int, core.int, core.int]), + [S$4.$drawElements]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int]), + [S$1.$enable]: dart.fnType(dart.void, [core.int]), + [S$4.$enableVertexAttribArray]: dart.fnType(dart.void, [core.int]), + [S$.$finish]: dart.fnType(dart.void, []), + [S$4.$flush]: dart.fnType(dart.void, []), + [S$4.$framebufferRenderbuffer]: dart.fnType(dart.void, [core.int, core.int, core.int, dart.nullable(web_gl.Renderbuffer)]), + [S$4.$framebufferTexture2D]: dart.fnType(dart.void, [core.int, core.int, core.int, dart.nullable(web_gl.Texture), core.int]), + [S$4.$frontFace]: dart.fnType(dart.void, [core.int]), + [S$4.$generateMipmap]: dart.fnType(dart.void, [core.int]), + [S$4.$getActiveAttrib]: dart.fnType(web_gl.ActiveInfo, [web_gl.Program, core.int]), + [S$4.$getActiveUniform]: dart.fnType(web_gl.ActiveInfo, [web_gl.Program, core.int]), + [S$4.$getAttachedShaders]: dart.fnType(dart.nullable(core.List$(web_gl.Shader)), [web_gl.Program]), + [S$4.$getAttribLocation]: dart.fnType(core.int, [web_gl.Program, core.String]), + [S$4.$getBufferParameter]: dart.fnType(dart.nullable(core.Object), [core.int, core.int]), + [S$.$getContextAttributes]: dart.fnType(dart.nullable(core.Map), []), + [S$4._getContextAttributes_1$1]: dart.fnType(dart.dynamic, []), + [S$4.$getError]: dart.fnType(core.int, []), + [S$4.$getExtension]: dart.fnType(dart.nullable(core.Object), [core.String]), + [S$4.$getFramebufferAttachmentParameter]: dart.fnType(dart.nullable(core.Object), [core.int, core.int, core.int]), + [S$3.$getParameter]: dart.fnType(dart.nullable(core.Object), [core.int]), + [S$4.$getProgramInfoLog]: dart.fnType(dart.nullable(core.String), [web_gl.Program]), + [S$4.$getProgramParameter]: dart.fnType(dart.nullable(core.Object), [web_gl.Program, core.int]), + [S$4.$getRenderbufferParameter]: dart.fnType(dart.nullable(core.Object), [core.int, core.int]), + [S$4.$getShaderInfoLog]: dart.fnType(dart.nullable(core.String), [web_gl.Shader]), + [S$4.$getShaderParameter]: dart.fnType(dart.nullable(core.Object), [web_gl.Shader, core.int]), + [S$4.$getShaderPrecisionFormat]: dart.fnType(web_gl.ShaderPrecisionFormat, [core.int, core.int]), + [S$4.$getShaderSource]: dart.fnType(dart.nullable(core.String), [web_gl.Shader]), + [S$4.$getSupportedExtensions]: dart.fnType(dart.nullable(core.List$(core.String)), []), + [S$4.$getTexParameter]: dart.fnType(dart.nullable(core.Object), [core.int, core.int]), + [S$4.$getUniform]: dart.fnType(dart.nullable(core.Object), [web_gl.Program, web_gl.UniformLocation]), + [S$4.$getUniformLocation]: dart.fnType(web_gl.UniformLocation, [web_gl.Program, core.String]), + [S$4.$getVertexAttrib]: dart.fnType(dart.nullable(core.Object), [core.int, core.int]), + [S$4.$getVertexAttribOffset]: dart.fnType(core.int, [core.int, core.int]), + [S$4.$hint]: dart.fnType(dart.void, [core.int, core.int]), + [S$4.$isBuffer]: dart.fnType(core.bool, [dart.nullable(web_gl.Buffer)]), + [S$.$isContextLost]: dart.fnType(core.bool, []), + [S$4.$isEnabled]: dart.fnType(core.bool, [core.int]), + [S$4.$isFramebuffer]: dart.fnType(core.bool, [dart.nullable(web_gl.Framebuffer)]), + [S$4.$isProgram]: dart.fnType(core.bool, [dart.nullable(web_gl.Program)]), + [S$4.$isRenderbuffer]: dart.fnType(core.bool, [dart.nullable(web_gl.Renderbuffer)]), + [S$4.$isShader]: dart.fnType(core.bool, [dart.nullable(web_gl.Shader)]), + [S$4.$isTexture]: dart.fnType(core.bool, [dart.nullable(web_gl.Texture)]), + [S$.$lineWidth]: dart.fnType(dart.void, [core.num]), + [S$4.$linkProgram]: dart.fnType(dart.void, [web_gl.Program]), + [S$4.$pixelStorei]: dart.fnType(dart.void, [core.int, core.int]), + [S$4.$polygonOffset]: dart.fnType(dart.void, [core.num, core.num]), + [S$4._readPixels]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int, core.int, dart.nullable(typed_data.TypedData)]), + [S$4.$renderbufferStorage]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int]), + [S$4.$sampleCoverage]: dart.fnType(dart.void, [core.num, core.bool]), + [S$4.$scissor]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int]), + [S$4.$shaderSource]: dart.fnType(dart.void, [web_gl.Shader, core.String]), + [S$4.$stencilFunc]: dart.fnType(dart.void, [core.int, core.int, core.int]), + [S$4.$stencilFuncSeparate]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int]), + [S$4.$stencilMask]: dart.fnType(dart.void, [core.int]), + [S$4.$stencilMaskSeparate]: dart.fnType(dart.void, [core.int, core.int]), + [S$4.$stencilOp]: dart.fnType(dart.void, [core.int, core.int, core.int]), + [S$4.$stencilOpSeparate]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int]), + [S$4.$texImage2D]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int, dart.dynamic], [dart.nullable(core.int), dart.nullable(core.int), dart.nullable(typed_data.TypedData)]), + [S$4._texImage2D_1]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, core.int, dart.dynamic, dart.dynamic, dart.nullable(typed_data.TypedData)]), + [S$4._texImage2D_2]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic]), + [S$4._texImage2D_3]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, html$.ImageElement]), + [S$4._texImage2D_4]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, html$.CanvasElement]), + [S$4._texImage2D_5]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, html$.VideoElement]), + [S$4._texImage2D_6]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, html$.ImageBitmap]), + [S$4.$texParameterf]: dart.fnType(dart.void, [core.int, core.int, core.num]), + [S$4.$texParameteri]: dart.fnType(dart.void, [core.int, core.int, core.int]), + [S$4.$texSubImage2D]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int, core.int, dart.dynamic], [dart.nullable(core.int), dart.nullable(typed_data.TypedData)]), + [S$4._texSubImage2D_1]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, core.int, dart.dynamic, dart.nullable(typed_data.TypedData)]), + [S$4._texSubImage2D_2]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic]), + [S$4._texSubImage2D_3]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, html$.ImageElement]), + [S$4._texSubImage2D_4]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, html$.CanvasElement]), + [S$4._texSubImage2D_5]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, html$.VideoElement]), + [S$4._texSubImage2D_6]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, html$.ImageBitmap]), + [S$4.$uniform1f]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), core.num]), + [S$4.$uniform1fv]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), dart.dynamic]), + [S$4.$uniform1i]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), core.int]), + [S$4.$uniform1iv]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), dart.dynamic]), + [S$4.$uniform2f]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), core.num, core.num]), + [S$4.$uniform2fv]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), dart.dynamic]), + [S$4.$uniform2i]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), core.int, core.int]), + [S$4.$uniform2iv]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), dart.dynamic]), + [S$4.$uniform3f]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), core.num, core.num, core.num]), + [S$4.$uniform3fv]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), dart.dynamic]), + [S$4.$uniform3i]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), core.int, core.int, core.int]), + [S$4.$uniform3iv]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), dart.dynamic]), + [S$4.$uniform4f]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), core.num, core.num, core.num, core.num]), + [S$4.$uniform4fv]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), dart.dynamic]), + [S$4.$uniform4i]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), core.int, core.int, core.int, core.int]), + [S$4.$uniform4iv]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), dart.dynamic]), + [S$4.$uniformMatrix2fv]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), core.bool, dart.dynamic]), + [S$4.$uniformMatrix3fv]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), core.bool, dart.dynamic]), + [S$4.$uniformMatrix4fv]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), core.bool, dart.dynamic]), + [S$4.$useProgram]: dart.fnType(dart.void, [dart.nullable(web_gl.Program)]), + [S$4.$validateProgram]: dart.fnType(dart.void, [web_gl.Program]), + [S$4.$vertexAttrib1f]: dart.fnType(dart.void, [core.int, core.num]), + [S$4.$vertexAttrib1fv]: dart.fnType(dart.void, [core.int, dart.dynamic]), + [S$4.$vertexAttrib2f]: dart.fnType(dart.void, [core.int, core.num, core.num]), + [S$4.$vertexAttrib2fv]: dart.fnType(dart.void, [core.int, dart.dynamic]), + [S$4.$vertexAttrib3f]: dart.fnType(dart.void, [core.int, core.num, core.num, core.num]), + [S$4.$vertexAttrib3fv]: dart.fnType(dart.void, [core.int, dart.dynamic]), + [S$4.$vertexAttrib4f]: dart.fnType(dart.void, [core.int, core.num, core.num, core.num, core.num]), + [S$4.$vertexAttrib4fv]: dart.fnType(dart.void, [core.int, dart.dynamic]), + [S$4.$vertexAttribPointer]: dart.fnType(dart.void, [core.int, core.int, core.int, core.bool, core.int, core.int]), + [S$4.$viewport]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int]), + [S$4.$readPixels]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int, core.int, typed_data.TypedData]) + })); + dart.setGetterSignature(web_gl.RenderingContext2, () => ({ + __proto__: dart.getGetters(web_gl.RenderingContext2.__proto__), + [S$.$canvas]: dart.nullable(web_gl.Canvas), + [S$4.$drawingBufferHeight]: dart.nullable(core.int), + [S$4.$drawingBufferWidth]: dart.nullable(core.int) + })); + dart.setLibraryUri(web_gl.RenderingContext2, I[160]); + dart.registerExtension("WebGL2RenderingContext", web_gl.RenderingContext2); + web_gl.Sampler = class Sampler extends _interceptors.Interceptor {}; + dart.addTypeTests(web_gl.Sampler); + dart.addTypeCaches(web_gl.Sampler); + dart.setLibraryUri(web_gl.Sampler, I[160]); + dart.registerExtension("WebGLSampler", web_gl.Sampler); + web_gl.Shader = class Shader extends _interceptors.Interceptor {}; + dart.addTypeTests(web_gl.Shader); + dart.addTypeCaches(web_gl.Shader); + dart.setLibraryUri(web_gl.Shader, I[160]); + dart.registerExtension("WebGLShader", web_gl.Shader); + web_gl.ShaderPrecisionFormat = class ShaderPrecisionFormat extends _interceptors.Interceptor { + get [S$4.$precision]() { + return this.precision; + } + get [S$4.$rangeMax]() { + return this.rangeMax; + } + get [S$4.$rangeMin]() { + return this.rangeMin; + } + }; + dart.addTypeTests(web_gl.ShaderPrecisionFormat); + dart.addTypeCaches(web_gl.ShaderPrecisionFormat); + dart.setGetterSignature(web_gl.ShaderPrecisionFormat, () => ({ + __proto__: dart.getGetters(web_gl.ShaderPrecisionFormat.__proto__), + [S$4.$precision]: core.int, + [S$4.$rangeMax]: core.int, + [S$4.$rangeMin]: core.int + })); + dart.setLibraryUri(web_gl.ShaderPrecisionFormat, I[160]); + dart.registerExtension("WebGLShaderPrecisionFormat", web_gl.ShaderPrecisionFormat); + web_gl.Sync = class Sync extends _interceptors.Interceptor {}; + dart.addTypeTests(web_gl.Sync); + dart.addTypeCaches(web_gl.Sync); + dart.setLibraryUri(web_gl.Sync, I[160]); + dart.registerExtension("WebGLSync", web_gl.Sync); + web_gl.Texture = class Texture extends _interceptors.Interceptor { + get [S$4.$lastUploadedVideoFrameWasSkipped]() { + return this.lastUploadedVideoFrameWasSkipped; + } + get [S$4.$lastUploadedVideoHeight]() { + return this.lastUploadedVideoHeight; + } + get [S$4.$lastUploadedVideoTimestamp]() { + return this.lastUploadedVideoTimestamp; + } + get [S$4.$lastUploadedVideoWidth]() { + return this.lastUploadedVideoWidth; + } + }; + dart.addTypeTests(web_gl.Texture); + dart.addTypeCaches(web_gl.Texture); + dart.setGetterSignature(web_gl.Texture, () => ({ + __proto__: dart.getGetters(web_gl.Texture.__proto__), + [S$4.$lastUploadedVideoFrameWasSkipped]: dart.nullable(core.bool), + [S$4.$lastUploadedVideoHeight]: dart.nullable(core.int), + [S$4.$lastUploadedVideoTimestamp]: dart.nullable(core.num), + [S$4.$lastUploadedVideoWidth]: dart.nullable(core.int) + })); + dart.setLibraryUri(web_gl.Texture, I[160]); + dart.registerExtension("WebGLTexture", web_gl.Texture); + web_gl.TimerQueryExt = class TimerQueryExt extends _interceptors.Interceptor {}; + dart.addTypeTests(web_gl.TimerQueryExt); + dart.addTypeCaches(web_gl.TimerQueryExt); + dart.setLibraryUri(web_gl.TimerQueryExt, I[160]); + dart.registerExtension("WebGLTimerQueryEXT", web_gl.TimerQueryExt); + web_gl.TransformFeedback = class TransformFeedback extends _interceptors.Interceptor {}; + dart.addTypeTests(web_gl.TransformFeedback); + dart.addTypeCaches(web_gl.TransformFeedback); + dart.setLibraryUri(web_gl.TransformFeedback, I[160]); + dart.registerExtension("WebGLTransformFeedback", web_gl.TransformFeedback); + web_gl.UniformLocation = class UniformLocation extends _interceptors.Interceptor {}; + dart.addTypeTests(web_gl.UniformLocation); + dart.addTypeCaches(web_gl.UniformLocation); + dart.setLibraryUri(web_gl.UniformLocation, I[160]); + dart.registerExtension("WebGLUniformLocation", web_gl.UniformLocation); + web_gl.VertexArrayObject = class VertexArrayObject extends _interceptors.Interceptor {}; + dart.addTypeTests(web_gl.VertexArrayObject); + dart.addTypeCaches(web_gl.VertexArrayObject); + dart.setLibraryUri(web_gl.VertexArrayObject, I[160]); + dart.registerExtension("WebGLVertexArrayObject", web_gl.VertexArrayObject); + web_gl.VertexArrayObjectOes = class VertexArrayObjectOes extends _interceptors.Interceptor {}; + dart.addTypeTests(web_gl.VertexArrayObjectOes); + dart.addTypeCaches(web_gl.VertexArrayObjectOes); + dart.setLibraryUri(web_gl.VertexArrayObjectOes, I[160]); + dart.registerExtension("WebGLVertexArrayObjectOES", web_gl.VertexArrayObjectOes); + web_gl.WebGL = class WebGL extends core.Object {}; + (web_gl.WebGL[dart.mixinNew] = function() { + }).prototype = web_gl.WebGL.prototype; + dart.addTypeTests(web_gl.WebGL); + dart.addTypeCaches(web_gl.WebGL); + dart.setLibraryUri(web_gl.WebGL, I[160]); + dart.defineLazy(web_gl.WebGL, { + /*web_gl.WebGL.ACTIVE_ATTRIBUTES*/get ACTIVE_ATTRIBUTES() { + return 35721; + }, + /*web_gl.WebGL.ACTIVE_TEXTURE*/get ACTIVE_TEXTURE() { + return 34016; + }, + /*web_gl.WebGL.ACTIVE_UNIFORMS*/get ACTIVE_UNIFORMS() { + return 35718; + }, + /*web_gl.WebGL.ACTIVE_UNIFORM_BLOCKS*/get ACTIVE_UNIFORM_BLOCKS() { + return 35382; + }, + /*web_gl.WebGL.ALIASED_LINE_WIDTH_RANGE*/get ALIASED_LINE_WIDTH_RANGE() { + return 33902; + }, + /*web_gl.WebGL.ALIASED_POINT_SIZE_RANGE*/get ALIASED_POINT_SIZE_RANGE() { + return 33901; + }, + /*web_gl.WebGL.ALPHA*/get ALPHA() { + return 6406; + }, + /*web_gl.WebGL.ALPHA_BITS*/get ALPHA_BITS() { + return 3413; + }, + /*web_gl.WebGL.ALREADY_SIGNALED*/get ALREADY_SIGNALED() { + return 37146; + }, + /*web_gl.WebGL.ALWAYS*/get ALWAYS() { + return 519; + }, + /*web_gl.WebGL.ANY_SAMPLES_PASSED*/get ANY_SAMPLES_PASSED() { + return 35887; + }, + /*web_gl.WebGL.ANY_SAMPLES_PASSED_CONSERVATIVE*/get ANY_SAMPLES_PASSED_CONSERVATIVE() { + return 36202; + }, + /*web_gl.WebGL.ARRAY_BUFFER*/get ARRAY_BUFFER() { + return 34962; + }, + /*web_gl.WebGL.ARRAY_BUFFER_BINDING*/get ARRAY_BUFFER_BINDING() { + return 34964; + }, + /*web_gl.WebGL.ATTACHED_SHADERS*/get ATTACHED_SHADERS() { + return 35717; + }, + /*web_gl.WebGL.BACK*/get BACK() { + return 1029; + }, + /*web_gl.WebGL.BLEND*/get BLEND() { + return 3042; + }, + /*web_gl.WebGL.BLEND_COLOR*/get BLEND_COLOR() { + return 32773; + }, + /*web_gl.WebGL.BLEND_DST_ALPHA*/get BLEND_DST_ALPHA() { + return 32970; + }, + /*web_gl.WebGL.BLEND_DST_RGB*/get BLEND_DST_RGB() { + return 32968; + }, + /*web_gl.WebGL.BLEND_EQUATION*/get BLEND_EQUATION() { + return 32777; + }, + /*web_gl.WebGL.BLEND_EQUATION_ALPHA*/get BLEND_EQUATION_ALPHA() { + return 34877; + }, + /*web_gl.WebGL.BLEND_EQUATION_RGB*/get BLEND_EQUATION_RGB() { + return 32777; + }, + /*web_gl.WebGL.BLEND_SRC_ALPHA*/get BLEND_SRC_ALPHA() { + return 32971; + }, + /*web_gl.WebGL.BLEND_SRC_RGB*/get BLEND_SRC_RGB() { + return 32969; + }, + /*web_gl.WebGL.BLUE_BITS*/get BLUE_BITS() { + return 3412; + }, + /*web_gl.WebGL.BOOL*/get BOOL() { + return 35670; + }, + /*web_gl.WebGL.BOOL_VEC2*/get BOOL_VEC2() { + return 35671; + }, + /*web_gl.WebGL.BOOL_VEC3*/get BOOL_VEC3() { + return 35672; + }, + /*web_gl.WebGL.BOOL_VEC4*/get BOOL_VEC4() { + return 35673; + }, + /*web_gl.WebGL.BROWSER_DEFAULT_WEBGL*/get BROWSER_DEFAULT_WEBGL() { + return 37444; + }, + /*web_gl.WebGL.BUFFER_SIZE*/get BUFFER_SIZE() { + return 34660; + }, + /*web_gl.WebGL.BUFFER_USAGE*/get BUFFER_USAGE() { + return 34661; + }, + /*web_gl.WebGL.BYTE*/get BYTE() { + return 5120; + }, + /*web_gl.WebGL.CCW*/get CCW() { + return 2305; + }, + /*web_gl.WebGL.CLAMP_TO_EDGE*/get CLAMP_TO_EDGE() { + return 33071; + }, + /*web_gl.WebGL.COLOR*/get COLOR() { + return 6144; + }, + /*web_gl.WebGL.COLOR_ATTACHMENT0*/get COLOR_ATTACHMENT0() { + return 36064; + }, + /*web_gl.WebGL.COLOR_ATTACHMENT0_WEBGL*/get COLOR_ATTACHMENT0_WEBGL() { + return 36064; + }, + /*web_gl.WebGL.COLOR_ATTACHMENT1*/get COLOR_ATTACHMENT1() { + return 36065; + }, + /*web_gl.WebGL.COLOR_ATTACHMENT10*/get COLOR_ATTACHMENT10() { + return 36074; + }, + /*web_gl.WebGL.COLOR_ATTACHMENT10_WEBGL*/get COLOR_ATTACHMENT10_WEBGL() { + return 36074; + }, + /*web_gl.WebGL.COLOR_ATTACHMENT11*/get COLOR_ATTACHMENT11() { + return 36075; + }, + /*web_gl.WebGL.COLOR_ATTACHMENT11_WEBGL*/get COLOR_ATTACHMENT11_WEBGL() { + return 36075; + }, + /*web_gl.WebGL.COLOR_ATTACHMENT12*/get COLOR_ATTACHMENT12() { + return 36076; + }, + /*web_gl.WebGL.COLOR_ATTACHMENT12_WEBGL*/get COLOR_ATTACHMENT12_WEBGL() { + return 36076; + }, + /*web_gl.WebGL.COLOR_ATTACHMENT13*/get COLOR_ATTACHMENT13() { + return 36077; + }, + /*web_gl.WebGL.COLOR_ATTACHMENT13_WEBGL*/get COLOR_ATTACHMENT13_WEBGL() { + return 36077; + }, + /*web_gl.WebGL.COLOR_ATTACHMENT14*/get COLOR_ATTACHMENT14() { + return 36078; + }, + /*web_gl.WebGL.COLOR_ATTACHMENT14_WEBGL*/get COLOR_ATTACHMENT14_WEBGL() { + return 36078; + }, + /*web_gl.WebGL.COLOR_ATTACHMENT15*/get COLOR_ATTACHMENT15() { + return 36079; + }, + /*web_gl.WebGL.COLOR_ATTACHMENT15_WEBGL*/get COLOR_ATTACHMENT15_WEBGL() { + return 36079; + }, + /*web_gl.WebGL.COLOR_ATTACHMENT1_WEBGL*/get COLOR_ATTACHMENT1_WEBGL() { + return 36065; + }, + /*web_gl.WebGL.COLOR_ATTACHMENT2*/get COLOR_ATTACHMENT2() { + return 36066; + }, + /*web_gl.WebGL.COLOR_ATTACHMENT2_WEBGL*/get COLOR_ATTACHMENT2_WEBGL() { + return 36066; + }, + /*web_gl.WebGL.COLOR_ATTACHMENT3*/get COLOR_ATTACHMENT3() { + return 36067; + }, + /*web_gl.WebGL.COLOR_ATTACHMENT3_WEBGL*/get COLOR_ATTACHMENT3_WEBGL() { + return 36067; + }, + /*web_gl.WebGL.COLOR_ATTACHMENT4*/get COLOR_ATTACHMENT4() { + return 36068; + }, + /*web_gl.WebGL.COLOR_ATTACHMENT4_WEBGL*/get COLOR_ATTACHMENT4_WEBGL() { + return 36068; + }, + /*web_gl.WebGL.COLOR_ATTACHMENT5*/get COLOR_ATTACHMENT5() { + return 36069; + }, + /*web_gl.WebGL.COLOR_ATTACHMENT5_WEBGL*/get COLOR_ATTACHMENT5_WEBGL() { + return 36069; + }, + /*web_gl.WebGL.COLOR_ATTACHMENT6*/get COLOR_ATTACHMENT6() { + return 36070; + }, + /*web_gl.WebGL.COLOR_ATTACHMENT6_WEBGL*/get COLOR_ATTACHMENT6_WEBGL() { + return 36070; + }, + /*web_gl.WebGL.COLOR_ATTACHMENT7*/get COLOR_ATTACHMENT7() { + return 36071; + }, + /*web_gl.WebGL.COLOR_ATTACHMENT7_WEBGL*/get COLOR_ATTACHMENT7_WEBGL() { + return 36071; + }, + /*web_gl.WebGL.COLOR_ATTACHMENT8*/get COLOR_ATTACHMENT8() { + return 36072; + }, + /*web_gl.WebGL.COLOR_ATTACHMENT8_WEBGL*/get COLOR_ATTACHMENT8_WEBGL() { + return 36072; + }, + /*web_gl.WebGL.COLOR_ATTACHMENT9*/get COLOR_ATTACHMENT9() { + return 36073; + }, + /*web_gl.WebGL.COLOR_ATTACHMENT9_WEBGL*/get COLOR_ATTACHMENT9_WEBGL() { + return 36073; + }, + /*web_gl.WebGL.COLOR_BUFFER_BIT*/get COLOR_BUFFER_BIT() { + return 16384; + }, + /*web_gl.WebGL.COLOR_CLEAR_VALUE*/get COLOR_CLEAR_VALUE() { + return 3106; + }, + /*web_gl.WebGL.COLOR_WRITEMASK*/get COLOR_WRITEMASK() { + return 3107; + }, + /*web_gl.WebGL.COMPARE_REF_TO_TEXTURE*/get COMPARE_REF_TO_TEXTURE() { + return 34894; + }, + /*web_gl.WebGL.COMPILE_STATUS*/get COMPILE_STATUS() { + return 35713; + }, + /*web_gl.WebGL.COMPRESSED_TEXTURE_FORMATS*/get COMPRESSED_TEXTURE_FORMATS() { + return 34467; + }, + /*web_gl.WebGL.CONDITION_SATISFIED*/get CONDITION_SATISFIED() { + return 37148; + }, + /*web_gl.WebGL.CONSTANT_ALPHA*/get CONSTANT_ALPHA() { + return 32771; + }, + /*web_gl.WebGL.CONSTANT_COLOR*/get CONSTANT_COLOR() { + return 32769; + }, + /*web_gl.WebGL.CONTEXT_LOST_WEBGL*/get CONTEXT_LOST_WEBGL() { + return 37442; + }, + /*web_gl.WebGL.COPY_READ_BUFFER*/get COPY_READ_BUFFER() { + return 36662; + }, + /*web_gl.WebGL.COPY_READ_BUFFER_BINDING*/get COPY_READ_BUFFER_BINDING() { + return 36662; + }, + /*web_gl.WebGL.COPY_WRITE_BUFFER*/get COPY_WRITE_BUFFER() { + return 36663; + }, + /*web_gl.WebGL.COPY_WRITE_BUFFER_BINDING*/get COPY_WRITE_BUFFER_BINDING() { + return 36663; + }, + /*web_gl.WebGL.CULL_FACE*/get CULL_FACE() { + return 2884; + }, + /*web_gl.WebGL.CULL_FACE_MODE*/get CULL_FACE_MODE() { + return 2885; + }, + /*web_gl.WebGL.CURRENT_PROGRAM*/get CURRENT_PROGRAM() { + return 35725; + }, + /*web_gl.WebGL.CURRENT_QUERY*/get CURRENT_QUERY() { + return 34917; + }, + /*web_gl.WebGL.CURRENT_VERTEX_ATTRIB*/get CURRENT_VERTEX_ATTRIB() { + return 34342; + }, + /*web_gl.WebGL.CW*/get CW() { + return 2304; + }, + /*web_gl.WebGL.DECR*/get DECR() { + return 7683; + }, + /*web_gl.WebGL.DECR_WRAP*/get DECR_WRAP() { + return 34056; + }, + /*web_gl.WebGL.DELETE_STATUS*/get DELETE_STATUS() { + return 35712; + }, + /*web_gl.WebGL.DEPTH*/get DEPTH() { + return 6145; + }, + /*web_gl.WebGL.DEPTH24_STENCIL8*/get DEPTH24_STENCIL8() { + return 35056; + }, + /*web_gl.WebGL.DEPTH32F_STENCIL8*/get DEPTH32F_STENCIL8() { + return 36013; + }, + /*web_gl.WebGL.DEPTH_ATTACHMENT*/get DEPTH_ATTACHMENT() { + return 36096; + }, + /*web_gl.WebGL.DEPTH_BITS*/get DEPTH_BITS() { + return 3414; + }, + /*web_gl.WebGL.DEPTH_BUFFER_BIT*/get DEPTH_BUFFER_BIT() { + return 256; + }, + /*web_gl.WebGL.DEPTH_CLEAR_VALUE*/get DEPTH_CLEAR_VALUE() { + return 2931; + }, + /*web_gl.WebGL.DEPTH_COMPONENT*/get DEPTH_COMPONENT() { + return 6402; + }, + /*web_gl.WebGL.DEPTH_COMPONENT16*/get DEPTH_COMPONENT16() { + return 33189; + }, + /*web_gl.WebGL.DEPTH_COMPONENT24*/get DEPTH_COMPONENT24() { + return 33190; + }, + /*web_gl.WebGL.DEPTH_COMPONENT32F*/get DEPTH_COMPONENT32F() { + return 36012; + }, + /*web_gl.WebGL.DEPTH_FUNC*/get DEPTH_FUNC() { + return 2932; + }, + /*web_gl.WebGL.DEPTH_RANGE*/get DEPTH_RANGE() { + return 2928; + }, + /*web_gl.WebGL.DEPTH_STENCIL*/get DEPTH_STENCIL() { + return 34041; + }, + /*web_gl.WebGL.DEPTH_STENCIL_ATTACHMENT*/get DEPTH_STENCIL_ATTACHMENT() { + return 33306; + }, + /*web_gl.WebGL.DEPTH_TEST*/get DEPTH_TEST() { + return 2929; + }, + /*web_gl.WebGL.DEPTH_WRITEMASK*/get DEPTH_WRITEMASK() { + return 2930; + }, + /*web_gl.WebGL.DITHER*/get DITHER() { + return 3024; + }, + /*web_gl.WebGL.DONT_CARE*/get DONT_CARE() { + return 4352; + }, + /*web_gl.WebGL.DRAW_BUFFER0*/get DRAW_BUFFER0() { + return 34853; + }, + /*web_gl.WebGL.DRAW_BUFFER0_WEBGL*/get DRAW_BUFFER0_WEBGL() { + return 34853; + }, + /*web_gl.WebGL.DRAW_BUFFER1*/get DRAW_BUFFER1() { + return 34854; + }, + /*web_gl.WebGL.DRAW_BUFFER10*/get DRAW_BUFFER10() { + return 34863; + }, + /*web_gl.WebGL.DRAW_BUFFER10_WEBGL*/get DRAW_BUFFER10_WEBGL() { + return 34863; + }, + /*web_gl.WebGL.DRAW_BUFFER11*/get DRAW_BUFFER11() { + return 34864; + }, + /*web_gl.WebGL.DRAW_BUFFER11_WEBGL*/get DRAW_BUFFER11_WEBGL() { + return 34864; + }, + /*web_gl.WebGL.DRAW_BUFFER12*/get DRAW_BUFFER12() { + return 34865; + }, + /*web_gl.WebGL.DRAW_BUFFER12_WEBGL*/get DRAW_BUFFER12_WEBGL() { + return 34865; + }, + /*web_gl.WebGL.DRAW_BUFFER13*/get DRAW_BUFFER13() { + return 34866; + }, + /*web_gl.WebGL.DRAW_BUFFER13_WEBGL*/get DRAW_BUFFER13_WEBGL() { + return 34866; + }, + /*web_gl.WebGL.DRAW_BUFFER14*/get DRAW_BUFFER14() { + return 34867; + }, + /*web_gl.WebGL.DRAW_BUFFER14_WEBGL*/get DRAW_BUFFER14_WEBGL() { + return 34867; + }, + /*web_gl.WebGL.DRAW_BUFFER15*/get DRAW_BUFFER15() { + return 34868; + }, + /*web_gl.WebGL.DRAW_BUFFER15_WEBGL*/get DRAW_BUFFER15_WEBGL() { + return 34868; + }, + /*web_gl.WebGL.DRAW_BUFFER1_WEBGL*/get DRAW_BUFFER1_WEBGL() { + return 34854; + }, + /*web_gl.WebGL.DRAW_BUFFER2*/get DRAW_BUFFER2() { + return 34855; + }, + /*web_gl.WebGL.DRAW_BUFFER2_WEBGL*/get DRAW_BUFFER2_WEBGL() { + return 34855; + }, + /*web_gl.WebGL.DRAW_BUFFER3*/get DRAW_BUFFER3() { + return 34856; + }, + /*web_gl.WebGL.DRAW_BUFFER3_WEBGL*/get DRAW_BUFFER3_WEBGL() { + return 34856; + }, + /*web_gl.WebGL.DRAW_BUFFER4*/get DRAW_BUFFER4() { + return 34857; + }, + /*web_gl.WebGL.DRAW_BUFFER4_WEBGL*/get DRAW_BUFFER4_WEBGL() { + return 34857; + }, + /*web_gl.WebGL.DRAW_BUFFER5*/get DRAW_BUFFER5() { + return 34858; + }, + /*web_gl.WebGL.DRAW_BUFFER5_WEBGL*/get DRAW_BUFFER5_WEBGL() { + return 34858; + }, + /*web_gl.WebGL.DRAW_BUFFER6*/get DRAW_BUFFER6() { + return 34859; + }, + /*web_gl.WebGL.DRAW_BUFFER6_WEBGL*/get DRAW_BUFFER6_WEBGL() { + return 34859; + }, + /*web_gl.WebGL.DRAW_BUFFER7*/get DRAW_BUFFER7() { + return 34860; + }, + /*web_gl.WebGL.DRAW_BUFFER7_WEBGL*/get DRAW_BUFFER7_WEBGL() { + return 34860; + }, + /*web_gl.WebGL.DRAW_BUFFER8*/get DRAW_BUFFER8() { + return 34861; + }, + /*web_gl.WebGL.DRAW_BUFFER8_WEBGL*/get DRAW_BUFFER8_WEBGL() { + return 34861; + }, + /*web_gl.WebGL.DRAW_BUFFER9*/get DRAW_BUFFER9() { + return 34862; + }, + /*web_gl.WebGL.DRAW_BUFFER9_WEBGL*/get DRAW_BUFFER9_WEBGL() { + return 34862; + }, + /*web_gl.WebGL.DRAW_FRAMEBUFFER*/get DRAW_FRAMEBUFFER() { + return 36009; + }, + /*web_gl.WebGL.DRAW_FRAMEBUFFER_BINDING*/get DRAW_FRAMEBUFFER_BINDING() { + return 36006; + }, + /*web_gl.WebGL.DST_ALPHA*/get DST_ALPHA() { + return 772; + }, + /*web_gl.WebGL.DST_COLOR*/get DST_COLOR() { + return 774; + }, + /*web_gl.WebGL.DYNAMIC_COPY*/get DYNAMIC_COPY() { + return 35050; + }, + /*web_gl.WebGL.DYNAMIC_DRAW*/get DYNAMIC_DRAW() { + return 35048; + }, + /*web_gl.WebGL.DYNAMIC_READ*/get DYNAMIC_READ() { + return 35049; + }, + /*web_gl.WebGL.ELEMENT_ARRAY_BUFFER*/get ELEMENT_ARRAY_BUFFER() { + return 34963; + }, + /*web_gl.WebGL.ELEMENT_ARRAY_BUFFER_BINDING*/get ELEMENT_ARRAY_BUFFER_BINDING() { + return 34965; + }, + /*web_gl.WebGL.EQUAL*/get EQUAL() { + return 514; + }, + /*web_gl.WebGL.FASTEST*/get FASTEST() { + return 4353; + }, + /*web_gl.WebGL.FLOAT*/get FLOAT() { + return 5126; + }, + /*web_gl.WebGL.FLOAT_32_UNSIGNED_INT_24_8_REV*/get FLOAT_32_UNSIGNED_INT_24_8_REV() { + return 36269; + }, + /*web_gl.WebGL.FLOAT_MAT2*/get FLOAT_MAT2() { + return 35674; + }, + /*web_gl.WebGL.FLOAT_MAT2x3*/get FLOAT_MAT2x3() { + return 35685; + }, + /*web_gl.WebGL.FLOAT_MAT2x4*/get FLOAT_MAT2x4() { + return 35686; + }, + /*web_gl.WebGL.FLOAT_MAT3*/get FLOAT_MAT3() { + return 35675; + }, + /*web_gl.WebGL.FLOAT_MAT3x2*/get FLOAT_MAT3x2() { + return 35687; + }, + /*web_gl.WebGL.FLOAT_MAT3x4*/get FLOAT_MAT3x4() { + return 35688; + }, + /*web_gl.WebGL.FLOAT_MAT4*/get FLOAT_MAT4() { + return 35676; + }, + /*web_gl.WebGL.FLOAT_MAT4x2*/get FLOAT_MAT4x2() { + return 35689; + }, + /*web_gl.WebGL.FLOAT_MAT4x3*/get FLOAT_MAT4x3() { + return 35690; + }, + /*web_gl.WebGL.FLOAT_VEC2*/get FLOAT_VEC2() { + return 35664; + }, + /*web_gl.WebGL.FLOAT_VEC3*/get FLOAT_VEC3() { + return 35665; + }, + /*web_gl.WebGL.FLOAT_VEC4*/get FLOAT_VEC4() { + return 35666; + }, + /*web_gl.WebGL.FRAGMENT_SHADER*/get FRAGMENT_SHADER() { + return 35632; + }, + /*web_gl.WebGL.FRAGMENT_SHADER_DERIVATIVE_HINT*/get FRAGMENT_SHADER_DERIVATIVE_HINT() { + return 35723; + }, + /*web_gl.WebGL.FRAMEBUFFER*/get FRAMEBUFFER() { + return 36160; + }, + /*web_gl.WebGL.FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE*/get FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE() { + return 33301; + }, + /*web_gl.WebGL.FRAMEBUFFER_ATTACHMENT_BLUE_SIZE*/get FRAMEBUFFER_ATTACHMENT_BLUE_SIZE() { + return 33300; + }, + /*web_gl.WebGL.FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING*/get FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING() { + return 33296; + }, + /*web_gl.WebGL.FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE*/get FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE() { + return 33297; + }, + /*web_gl.WebGL.FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE*/get FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE() { + return 33302; + }, + /*web_gl.WebGL.FRAMEBUFFER_ATTACHMENT_GREEN_SIZE*/get FRAMEBUFFER_ATTACHMENT_GREEN_SIZE() { + return 33299; + }, + /*web_gl.WebGL.FRAMEBUFFER_ATTACHMENT_OBJECT_NAME*/get FRAMEBUFFER_ATTACHMENT_OBJECT_NAME() { + return 36049; + }, + /*web_gl.WebGL.FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE*/get FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE() { + return 36048; + }, + /*web_gl.WebGL.FRAMEBUFFER_ATTACHMENT_RED_SIZE*/get FRAMEBUFFER_ATTACHMENT_RED_SIZE() { + return 33298; + }, + /*web_gl.WebGL.FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE*/get FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE() { + return 33303; + }, + /*web_gl.WebGL.FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE*/get FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE() { + return 36051; + }, + /*web_gl.WebGL.FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER*/get FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER() { + return 36052; + }, + /*web_gl.WebGL.FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL*/get FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL() { + return 36050; + }, + /*web_gl.WebGL.FRAMEBUFFER_BINDING*/get FRAMEBUFFER_BINDING() { + return 36006; + }, + /*web_gl.WebGL.FRAMEBUFFER_COMPLETE*/get FRAMEBUFFER_COMPLETE() { + return 36053; + }, + /*web_gl.WebGL.FRAMEBUFFER_DEFAULT*/get FRAMEBUFFER_DEFAULT() { + return 33304; + }, + /*web_gl.WebGL.FRAMEBUFFER_INCOMPLETE_ATTACHMENT*/get FRAMEBUFFER_INCOMPLETE_ATTACHMENT() { + return 36054; + }, + /*web_gl.WebGL.FRAMEBUFFER_INCOMPLETE_DIMENSIONS*/get FRAMEBUFFER_INCOMPLETE_DIMENSIONS() { + return 36057; + }, + /*web_gl.WebGL.FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT*/get FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT() { + return 36055; + }, + /*web_gl.WebGL.FRAMEBUFFER_INCOMPLETE_MULTISAMPLE*/get FRAMEBUFFER_INCOMPLETE_MULTISAMPLE() { + return 36182; + }, + /*web_gl.WebGL.FRAMEBUFFER_UNSUPPORTED*/get FRAMEBUFFER_UNSUPPORTED() { + return 36061; + }, + /*web_gl.WebGL.FRONT*/get FRONT() { + return 1028; + }, + /*web_gl.WebGL.FRONT_AND_BACK*/get FRONT_AND_BACK() { + return 1032; + }, + /*web_gl.WebGL.FRONT_FACE*/get FRONT_FACE() { + return 2886; + }, + /*web_gl.WebGL.FUNC_ADD*/get FUNC_ADD() { + return 32774; + }, + /*web_gl.WebGL.FUNC_REVERSE_SUBTRACT*/get FUNC_REVERSE_SUBTRACT() { + return 32779; + }, + /*web_gl.WebGL.FUNC_SUBTRACT*/get FUNC_SUBTRACT() { + return 32778; + }, + /*web_gl.WebGL.GENERATE_MIPMAP_HINT*/get GENERATE_MIPMAP_HINT() { + return 33170; + }, + /*web_gl.WebGL.GEQUAL*/get GEQUAL() { + return 518; + }, + /*web_gl.WebGL.GREATER*/get GREATER() { + return 516; + }, + /*web_gl.WebGL.GREEN_BITS*/get GREEN_BITS() { + return 3411; + }, + /*web_gl.WebGL.HALF_FLOAT*/get HALF_FLOAT() { + return 5131; + }, + /*web_gl.WebGL.HIGH_FLOAT*/get HIGH_FLOAT() { + return 36338; + }, + /*web_gl.WebGL.HIGH_INT*/get HIGH_INT() { + return 36341; + }, + /*web_gl.WebGL.IMPLEMENTATION_COLOR_READ_FORMAT*/get IMPLEMENTATION_COLOR_READ_FORMAT() { + return 35739; + }, + /*web_gl.WebGL.IMPLEMENTATION_COLOR_READ_TYPE*/get IMPLEMENTATION_COLOR_READ_TYPE() { + return 35738; + }, + /*web_gl.WebGL.INCR*/get INCR() { + return 7682; + }, + /*web_gl.WebGL.INCR_WRAP*/get INCR_WRAP() { + return 34055; + }, + /*web_gl.WebGL.INT*/get INT() { + return 5124; + }, + /*web_gl.WebGL.INTERLEAVED_ATTRIBS*/get INTERLEAVED_ATTRIBS() { + return 35980; + }, + /*web_gl.WebGL.INT_2_10_10_10_REV*/get INT_2_10_10_10_REV() { + return 36255; + }, + /*web_gl.WebGL.INT_SAMPLER_2D*/get INT_SAMPLER_2D() { + return 36298; + }, + /*web_gl.WebGL.INT_SAMPLER_2D_ARRAY*/get INT_SAMPLER_2D_ARRAY() { + return 36303; + }, + /*web_gl.WebGL.INT_SAMPLER_3D*/get INT_SAMPLER_3D() { + return 36299; + }, + /*web_gl.WebGL.INT_SAMPLER_CUBE*/get INT_SAMPLER_CUBE() { + return 36300; + }, + /*web_gl.WebGL.INT_VEC2*/get INT_VEC2() { + return 35667; + }, + /*web_gl.WebGL.INT_VEC3*/get INT_VEC3() { + return 35668; + }, + /*web_gl.WebGL.INT_VEC4*/get INT_VEC4() { + return 35669; + }, + /*web_gl.WebGL.INVALID_ENUM*/get INVALID_ENUM() { + return 1280; + }, + /*web_gl.WebGL.INVALID_FRAMEBUFFER_OPERATION*/get INVALID_FRAMEBUFFER_OPERATION() { + return 1286; + }, + /*web_gl.WebGL.INVALID_INDEX*/get INVALID_INDEX() { + return 4294967295.0; + }, + /*web_gl.WebGL.INVALID_OPERATION*/get INVALID_OPERATION() { + return 1282; + }, + /*web_gl.WebGL.INVALID_VALUE*/get INVALID_VALUE() { + return 1281; + }, + /*web_gl.WebGL.INVERT*/get INVERT() { + return 5386; + }, + /*web_gl.WebGL.KEEP*/get KEEP() { + return 7680; + }, + /*web_gl.WebGL.LEQUAL*/get LEQUAL() { + return 515; + }, + /*web_gl.WebGL.LESS*/get LESS() { + return 513; + }, + /*web_gl.WebGL.LINEAR*/get LINEAR() { + return 9729; + }, + /*web_gl.WebGL.LINEAR_MIPMAP_LINEAR*/get LINEAR_MIPMAP_LINEAR() { + return 9987; + }, + /*web_gl.WebGL.LINEAR_MIPMAP_NEAREST*/get LINEAR_MIPMAP_NEAREST() { + return 9985; + }, + /*web_gl.WebGL.LINES*/get LINES() { + return 1; + }, + /*web_gl.WebGL.LINE_LOOP*/get LINE_LOOP() { + return 2; + }, + /*web_gl.WebGL.LINE_STRIP*/get LINE_STRIP() { + return 3; + }, + /*web_gl.WebGL.LINE_WIDTH*/get LINE_WIDTH() { + return 2849; + }, + /*web_gl.WebGL.LINK_STATUS*/get LINK_STATUS() { + return 35714; + }, + /*web_gl.WebGL.LOW_FLOAT*/get LOW_FLOAT() { + return 36336; + }, + /*web_gl.WebGL.LOW_INT*/get LOW_INT() { + return 36339; + }, + /*web_gl.WebGL.LUMINANCE*/get LUMINANCE() { + return 6409; + }, + /*web_gl.WebGL.LUMINANCE_ALPHA*/get LUMINANCE_ALPHA() { + return 6410; + }, + /*web_gl.WebGL.MAX*/get MAX() { + return 32776; + }, + /*web_gl.WebGL.MAX_3D_TEXTURE_SIZE*/get MAX_3D_TEXTURE_SIZE() { + return 32883; + }, + /*web_gl.WebGL.MAX_ARRAY_TEXTURE_LAYERS*/get MAX_ARRAY_TEXTURE_LAYERS() { + return 35071; + }, + /*web_gl.WebGL.MAX_CLIENT_WAIT_TIMEOUT_WEBGL*/get MAX_CLIENT_WAIT_TIMEOUT_WEBGL() { + return 37447; + }, + /*web_gl.WebGL.MAX_COLOR_ATTACHMENTS*/get MAX_COLOR_ATTACHMENTS() { + return 36063; + }, + /*web_gl.WebGL.MAX_COLOR_ATTACHMENTS_WEBGL*/get MAX_COLOR_ATTACHMENTS_WEBGL() { + return 36063; + }, + /*web_gl.WebGL.MAX_COMBINED_FRAGMENT_UNIFORM_COMPONENTS*/get MAX_COMBINED_FRAGMENT_UNIFORM_COMPONENTS() { + return 35379; + }, + /*web_gl.WebGL.MAX_COMBINED_TEXTURE_IMAGE_UNITS*/get MAX_COMBINED_TEXTURE_IMAGE_UNITS() { + return 35661; + }, + /*web_gl.WebGL.MAX_COMBINED_UNIFORM_BLOCKS*/get MAX_COMBINED_UNIFORM_BLOCKS() { + return 35374; + }, + /*web_gl.WebGL.MAX_COMBINED_VERTEX_UNIFORM_COMPONENTS*/get MAX_COMBINED_VERTEX_UNIFORM_COMPONENTS() { + return 35377; + }, + /*web_gl.WebGL.MAX_CUBE_MAP_TEXTURE_SIZE*/get MAX_CUBE_MAP_TEXTURE_SIZE() { + return 34076; + }, + /*web_gl.WebGL.MAX_DRAW_BUFFERS*/get MAX_DRAW_BUFFERS() { + return 34852; + }, + /*web_gl.WebGL.MAX_DRAW_BUFFERS_WEBGL*/get MAX_DRAW_BUFFERS_WEBGL() { + return 34852; + }, + /*web_gl.WebGL.MAX_ELEMENTS_INDICES*/get MAX_ELEMENTS_INDICES() { + return 33001; + }, + /*web_gl.WebGL.MAX_ELEMENTS_VERTICES*/get MAX_ELEMENTS_VERTICES() { + return 33000; + }, + /*web_gl.WebGL.MAX_ELEMENT_INDEX*/get MAX_ELEMENT_INDEX() { + return 36203; + }, + /*web_gl.WebGL.MAX_FRAGMENT_INPUT_COMPONENTS*/get MAX_FRAGMENT_INPUT_COMPONENTS() { + return 37157; + }, + /*web_gl.WebGL.MAX_FRAGMENT_UNIFORM_BLOCKS*/get MAX_FRAGMENT_UNIFORM_BLOCKS() { + return 35373; + }, + /*web_gl.WebGL.MAX_FRAGMENT_UNIFORM_COMPONENTS*/get MAX_FRAGMENT_UNIFORM_COMPONENTS() { + return 35657; + }, + /*web_gl.WebGL.MAX_FRAGMENT_UNIFORM_VECTORS*/get MAX_FRAGMENT_UNIFORM_VECTORS() { + return 36349; + }, + /*web_gl.WebGL.MAX_PROGRAM_TEXEL_OFFSET*/get MAX_PROGRAM_TEXEL_OFFSET() { + return 35077; + }, + /*web_gl.WebGL.MAX_RENDERBUFFER_SIZE*/get MAX_RENDERBUFFER_SIZE() { + return 34024; + }, + /*web_gl.WebGL.MAX_SAMPLES*/get MAX_SAMPLES() { + return 36183; + }, + /*web_gl.WebGL.MAX_SERVER_WAIT_TIMEOUT*/get MAX_SERVER_WAIT_TIMEOUT() { + return 37137; + }, + /*web_gl.WebGL.MAX_TEXTURE_IMAGE_UNITS*/get MAX_TEXTURE_IMAGE_UNITS() { + return 34930; + }, + /*web_gl.WebGL.MAX_TEXTURE_LOD_BIAS*/get MAX_TEXTURE_LOD_BIAS() { + return 34045; + }, + /*web_gl.WebGL.MAX_TEXTURE_SIZE*/get MAX_TEXTURE_SIZE() { + return 3379; + }, + /*web_gl.WebGL.MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS*/get MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS() { + return 35978; + }, + /*web_gl.WebGL.MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS*/get MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS() { + return 35979; + }, + /*web_gl.WebGL.MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS*/get MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS() { + return 35968; + }, + /*web_gl.WebGL.MAX_UNIFORM_BLOCK_SIZE*/get MAX_UNIFORM_BLOCK_SIZE() { + return 35376; + }, + /*web_gl.WebGL.MAX_UNIFORM_BUFFER_BINDINGS*/get MAX_UNIFORM_BUFFER_BINDINGS() { + return 35375; + }, + /*web_gl.WebGL.MAX_VARYING_COMPONENTS*/get MAX_VARYING_COMPONENTS() { + return 35659; + }, + /*web_gl.WebGL.MAX_VARYING_VECTORS*/get MAX_VARYING_VECTORS() { + return 36348; + }, + /*web_gl.WebGL.MAX_VERTEX_ATTRIBS*/get MAX_VERTEX_ATTRIBS() { + return 34921; + }, + /*web_gl.WebGL.MAX_VERTEX_OUTPUT_COMPONENTS*/get MAX_VERTEX_OUTPUT_COMPONENTS() { + return 37154; + }, + /*web_gl.WebGL.MAX_VERTEX_TEXTURE_IMAGE_UNITS*/get MAX_VERTEX_TEXTURE_IMAGE_UNITS() { + return 35660; + }, + /*web_gl.WebGL.MAX_VERTEX_UNIFORM_BLOCKS*/get MAX_VERTEX_UNIFORM_BLOCKS() { + return 35371; + }, + /*web_gl.WebGL.MAX_VERTEX_UNIFORM_COMPONENTS*/get MAX_VERTEX_UNIFORM_COMPONENTS() { + return 35658; + }, + /*web_gl.WebGL.MAX_VERTEX_UNIFORM_VECTORS*/get MAX_VERTEX_UNIFORM_VECTORS() { + return 36347; + }, + /*web_gl.WebGL.MAX_VIEWPORT_DIMS*/get MAX_VIEWPORT_DIMS() { + return 3386; + }, + /*web_gl.WebGL.MEDIUM_FLOAT*/get MEDIUM_FLOAT() { + return 36337; + }, + /*web_gl.WebGL.MEDIUM_INT*/get MEDIUM_INT() { + return 36340; + }, + /*web_gl.WebGL.MIN*/get MIN() { + return 32775; + }, + /*web_gl.WebGL.MIN_PROGRAM_TEXEL_OFFSET*/get MIN_PROGRAM_TEXEL_OFFSET() { + return 35076; + }, + /*web_gl.WebGL.MIRRORED_REPEAT*/get MIRRORED_REPEAT() { + return 33648; + }, + /*web_gl.WebGL.NEAREST*/get NEAREST() { + return 9728; + }, + /*web_gl.WebGL.NEAREST_MIPMAP_LINEAR*/get NEAREST_MIPMAP_LINEAR() { + return 9986; + }, + /*web_gl.WebGL.NEAREST_MIPMAP_NEAREST*/get NEAREST_MIPMAP_NEAREST() { + return 9984; + }, + /*web_gl.WebGL.NEVER*/get NEVER() { + return 512; + }, + /*web_gl.WebGL.NICEST*/get NICEST() { + return 4354; + }, + /*web_gl.WebGL.NONE*/get NONE() { + return 0; + }, + /*web_gl.WebGL.NOTEQUAL*/get NOTEQUAL() { + return 517; + }, + /*web_gl.WebGL.NO_ERROR*/get NO_ERROR() { + return 0; + }, + /*web_gl.WebGL.OBJECT_TYPE*/get OBJECT_TYPE() { + return 37138; + }, + /*web_gl.WebGL.ONE*/get ONE() { + return 1; + }, + /*web_gl.WebGL.ONE_MINUS_CONSTANT_ALPHA*/get ONE_MINUS_CONSTANT_ALPHA() { + return 32772; + }, + /*web_gl.WebGL.ONE_MINUS_CONSTANT_COLOR*/get ONE_MINUS_CONSTANT_COLOR() { + return 32770; + }, + /*web_gl.WebGL.ONE_MINUS_DST_ALPHA*/get ONE_MINUS_DST_ALPHA() { + return 773; + }, + /*web_gl.WebGL.ONE_MINUS_DST_COLOR*/get ONE_MINUS_DST_COLOR() { + return 775; + }, + /*web_gl.WebGL.ONE_MINUS_SRC_ALPHA*/get ONE_MINUS_SRC_ALPHA() { + return 771; + }, + /*web_gl.WebGL.ONE_MINUS_SRC_COLOR*/get ONE_MINUS_SRC_COLOR() { + return 769; + }, + /*web_gl.WebGL.OUT_OF_MEMORY*/get OUT_OF_MEMORY() { + return 1285; + }, + /*web_gl.WebGL.PACK_ALIGNMENT*/get PACK_ALIGNMENT() { + return 3333; + }, + /*web_gl.WebGL.PACK_ROW_LENGTH*/get PACK_ROW_LENGTH() { + return 3330; + }, + /*web_gl.WebGL.PACK_SKIP_PIXELS*/get PACK_SKIP_PIXELS() { + return 3332; + }, + /*web_gl.WebGL.PACK_SKIP_ROWS*/get PACK_SKIP_ROWS() { + return 3331; + }, + /*web_gl.WebGL.PIXEL_PACK_BUFFER*/get PIXEL_PACK_BUFFER() { + return 35051; + }, + /*web_gl.WebGL.PIXEL_PACK_BUFFER_BINDING*/get PIXEL_PACK_BUFFER_BINDING() { + return 35053; + }, + /*web_gl.WebGL.PIXEL_UNPACK_BUFFER*/get PIXEL_UNPACK_BUFFER() { + return 35052; + }, + /*web_gl.WebGL.PIXEL_UNPACK_BUFFER_BINDING*/get PIXEL_UNPACK_BUFFER_BINDING() { + return 35055; + }, + /*web_gl.WebGL.POINTS*/get POINTS() { + return 0; + }, + /*web_gl.WebGL.POLYGON_OFFSET_FACTOR*/get POLYGON_OFFSET_FACTOR() { + return 32824; + }, + /*web_gl.WebGL.POLYGON_OFFSET_FILL*/get POLYGON_OFFSET_FILL() { + return 32823; + }, + /*web_gl.WebGL.POLYGON_OFFSET_UNITS*/get POLYGON_OFFSET_UNITS() { + return 10752; + }, + /*web_gl.WebGL.QUERY_RESULT*/get QUERY_RESULT() { + return 34918; + }, + /*web_gl.WebGL.QUERY_RESULT_AVAILABLE*/get QUERY_RESULT_AVAILABLE() { + return 34919; + }, + /*web_gl.WebGL.R11F_G11F_B10F*/get R11F_G11F_B10F() { + return 35898; + }, + /*web_gl.WebGL.R16F*/get R16F() { + return 33325; + }, + /*web_gl.WebGL.R16I*/get R16I() { + return 33331; + }, + /*web_gl.WebGL.R16UI*/get R16UI() { + return 33332; + }, + /*web_gl.WebGL.R32F*/get R32F() { + return 33326; + }, + /*web_gl.WebGL.R32I*/get R32I() { + return 33333; + }, + /*web_gl.WebGL.R32UI*/get R32UI() { + return 33334; + }, + /*web_gl.WebGL.R8*/get R8() { + return 33321; + }, + /*web_gl.WebGL.R8I*/get R8I() { + return 33329; + }, + /*web_gl.WebGL.R8UI*/get R8UI() { + return 33330; + }, + /*web_gl.WebGL.R8_SNORM*/get R8_SNORM() { + return 36756; + }, + /*web_gl.WebGL.RASTERIZER_DISCARD*/get RASTERIZER_DISCARD() { + return 35977; + }, + /*web_gl.WebGL.READ_BUFFER*/get READ_BUFFER() { + return 3074; + }, + /*web_gl.WebGL.READ_FRAMEBUFFER*/get READ_FRAMEBUFFER() { + return 36008; + }, + /*web_gl.WebGL.READ_FRAMEBUFFER_BINDING*/get READ_FRAMEBUFFER_BINDING() { + return 36010; + }, + /*web_gl.WebGL.RED*/get RED() { + return 6403; + }, + /*web_gl.WebGL.RED_BITS*/get RED_BITS() { + return 3410; + }, + /*web_gl.WebGL.RED_INTEGER*/get RED_INTEGER() { + return 36244; + }, + /*web_gl.WebGL.RENDERBUFFER*/get RENDERBUFFER() { + return 36161; + }, + /*web_gl.WebGL.RENDERBUFFER_ALPHA_SIZE*/get RENDERBUFFER_ALPHA_SIZE() { + return 36179; + }, + /*web_gl.WebGL.RENDERBUFFER_BINDING*/get RENDERBUFFER_BINDING() { + return 36007; + }, + /*web_gl.WebGL.RENDERBUFFER_BLUE_SIZE*/get RENDERBUFFER_BLUE_SIZE() { + return 36178; + }, + /*web_gl.WebGL.RENDERBUFFER_DEPTH_SIZE*/get RENDERBUFFER_DEPTH_SIZE() { + return 36180; + }, + /*web_gl.WebGL.RENDERBUFFER_GREEN_SIZE*/get RENDERBUFFER_GREEN_SIZE() { + return 36177; + }, + /*web_gl.WebGL.RENDERBUFFER_HEIGHT*/get RENDERBUFFER_HEIGHT() { + return 36163; + }, + /*web_gl.WebGL.RENDERBUFFER_INTERNAL_FORMAT*/get RENDERBUFFER_INTERNAL_FORMAT() { + return 36164; + }, + /*web_gl.WebGL.RENDERBUFFER_RED_SIZE*/get RENDERBUFFER_RED_SIZE() { + return 36176; + }, + /*web_gl.WebGL.RENDERBUFFER_SAMPLES*/get RENDERBUFFER_SAMPLES() { + return 36011; + }, + /*web_gl.WebGL.RENDERBUFFER_STENCIL_SIZE*/get RENDERBUFFER_STENCIL_SIZE() { + return 36181; + }, + /*web_gl.WebGL.RENDERBUFFER_WIDTH*/get RENDERBUFFER_WIDTH() { + return 36162; + }, + /*web_gl.WebGL.RENDERER*/get RENDERER() { + return 7937; + }, + /*web_gl.WebGL.REPEAT*/get REPEAT() { + return 10497; + }, + /*web_gl.WebGL.REPLACE*/get REPLACE() { + return 7681; + }, + /*web_gl.WebGL.RG*/get RG() { + return 33319; + }, + /*web_gl.WebGL.RG16F*/get RG16F() { + return 33327; + }, + /*web_gl.WebGL.RG16I*/get RG16I() { + return 33337; + }, + /*web_gl.WebGL.RG16UI*/get RG16UI() { + return 33338; + }, + /*web_gl.WebGL.RG32F*/get RG32F() { + return 33328; + }, + /*web_gl.WebGL.RG32I*/get RG32I() { + return 33339; + }, + /*web_gl.WebGL.RG32UI*/get RG32UI() { + return 33340; + }, + /*web_gl.WebGL.RG8*/get RG8() { + return 33323; + }, + /*web_gl.WebGL.RG8I*/get RG8I() { + return 33335; + }, + /*web_gl.WebGL.RG8UI*/get RG8UI() { + return 33336; + }, + /*web_gl.WebGL.RG8_SNORM*/get RG8_SNORM() { + return 36757; + }, + /*web_gl.WebGL.RGB*/get RGB() { + return 6407; + }, + /*web_gl.WebGL.RGB10_A2*/get RGB10_A2() { + return 32857; + }, + /*web_gl.WebGL.RGB10_A2UI*/get RGB10_A2UI() { + return 36975; + }, + /*web_gl.WebGL.RGB16F*/get RGB16F() { + return 34843; + }, + /*web_gl.WebGL.RGB16I*/get RGB16I() { + return 36233; + }, + /*web_gl.WebGL.RGB16UI*/get RGB16UI() { + return 36215; + }, + /*web_gl.WebGL.RGB32F*/get RGB32F() { + return 34837; + }, + /*web_gl.WebGL.RGB32I*/get RGB32I() { + return 36227; + }, + /*web_gl.WebGL.RGB32UI*/get RGB32UI() { + return 36209; + }, + /*web_gl.WebGL.RGB565*/get RGB565() { + return 36194; + }, + /*web_gl.WebGL.RGB5_A1*/get RGB5_A1() { + return 32855; + }, + /*web_gl.WebGL.RGB8*/get RGB8() { + return 32849; + }, + /*web_gl.WebGL.RGB8I*/get RGB8I() { + return 36239; + }, + /*web_gl.WebGL.RGB8UI*/get RGB8UI() { + return 36221; + }, + /*web_gl.WebGL.RGB8_SNORM*/get RGB8_SNORM() { + return 36758; + }, + /*web_gl.WebGL.RGB9_E5*/get RGB9_E5() { + return 35901; + }, + /*web_gl.WebGL.RGBA*/get RGBA() { + return 6408; + }, + /*web_gl.WebGL.RGBA16F*/get RGBA16F() { + return 34842; + }, + /*web_gl.WebGL.RGBA16I*/get RGBA16I() { + return 36232; + }, + /*web_gl.WebGL.RGBA16UI*/get RGBA16UI() { + return 36214; + }, + /*web_gl.WebGL.RGBA32F*/get RGBA32F() { + return 34836; + }, + /*web_gl.WebGL.RGBA32I*/get RGBA32I() { + return 36226; + }, + /*web_gl.WebGL.RGBA32UI*/get RGBA32UI() { + return 36208; + }, + /*web_gl.WebGL.RGBA4*/get RGBA4() { + return 32854; + }, + /*web_gl.WebGL.RGBA8*/get RGBA8() { + return 32856; + }, + /*web_gl.WebGL.RGBA8I*/get RGBA8I() { + return 36238; + }, + /*web_gl.WebGL.RGBA8UI*/get RGBA8UI() { + return 36220; + }, + /*web_gl.WebGL.RGBA8_SNORM*/get RGBA8_SNORM() { + return 36759; + }, + /*web_gl.WebGL.RGBA_INTEGER*/get RGBA_INTEGER() { + return 36249; + }, + /*web_gl.WebGL.RGB_INTEGER*/get RGB_INTEGER() { + return 36248; + }, + /*web_gl.WebGL.RG_INTEGER*/get RG_INTEGER() { + return 33320; + }, + /*web_gl.WebGL.SAMPLER_2D*/get SAMPLER_2D() { + return 35678; + }, + /*web_gl.WebGL.SAMPLER_2D_ARRAY*/get SAMPLER_2D_ARRAY() { + return 36289; + }, + /*web_gl.WebGL.SAMPLER_2D_ARRAY_SHADOW*/get SAMPLER_2D_ARRAY_SHADOW() { + return 36292; + }, + /*web_gl.WebGL.SAMPLER_2D_SHADOW*/get SAMPLER_2D_SHADOW() { + return 35682; + }, + /*web_gl.WebGL.SAMPLER_3D*/get SAMPLER_3D() { + return 35679; + }, + /*web_gl.WebGL.SAMPLER_BINDING*/get SAMPLER_BINDING() { + return 35097; + }, + /*web_gl.WebGL.SAMPLER_CUBE*/get SAMPLER_CUBE() { + return 35680; + }, + /*web_gl.WebGL.SAMPLER_CUBE_SHADOW*/get SAMPLER_CUBE_SHADOW() { + return 36293; + }, + /*web_gl.WebGL.SAMPLES*/get SAMPLES() { + return 32937; + }, + /*web_gl.WebGL.SAMPLE_ALPHA_TO_COVERAGE*/get SAMPLE_ALPHA_TO_COVERAGE() { + return 32926; + }, + /*web_gl.WebGL.SAMPLE_BUFFERS*/get SAMPLE_BUFFERS() { + return 32936; + }, + /*web_gl.WebGL.SAMPLE_COVERAGE*/get SAMPLE_COVERAGE() { + return 32928; + }, + /*web_gl.WebGL.SAMPLE_COVERAGE_INVERT*/get SAMPLE_COVERAGE_INVERT() { + return 32939; + }, + /*web_gl.WebGL.SAMPLE_COVERAGE_VALUE*/get SAMPLE_COVERAGE_VALUE() { + return 32938; + }, + /*web_gl.WebGL.SCISSOR_BOX*/get SCISSOR_BOX() { + return 3088; + }, + /*web_gl.WebGL.SCISSOR_TEST*/get SCISSOR_TEST() { + return 3089; + }, + /*web_gl.WebGL.SEPARATE_ATTRIBS*/get SEPARATE_ATTRIBS() { + return 35981; + }, + /*web_gl.WebGL.SHADER_TYPE*/get SHADER_TYPE() { + return 35663; + }, + /*web_gl.WebGL.SHADING_LANGUAGE_VERSION*/get SHADING_LANGUAGE_VERSION() { + return 35724; + }, + /*web_gl.WebGL.SHORT*/get SHORT() { + return 5122; + }, + /*web_gl.WebGL.SIGNALED*/get SIGNALED() { + return 37145; + }, + /*web_gl.WebGL.SIGNED_NORMALIZED*/get SIGNED_NORMALIZED() { + return 36764; + }, + /*web_gl.WebGL.SRC_ALPHA*/get SRC_ALPHA() { + return 770; + }, + /*web_gl.WebGL.SRC_ALPHA_SATURATE*/get SRC_ALPHA_SATURATE() { + return 776; + }, + /*web_gl.WebGL.SRC_COLOR*/get SRC_COLOR() { + return 768; + }, + /*web_gl.WebGL.SRGB*/get SRGB() { + return 35904; + }, + /*web_gl.WebGL.SRGB8*/get SRGB8() { + return 35905; + }, + /*web_gl.WebGL.SRGB8_ALPHA8*/get SRGB8_ALPHA8() { + return 35907; + }, + /*web_gl.WebGL.STATIC_COPY*/get STATIC_COPY() { + return 35046; + }, + /*web_gl.WebGL.STATIC_DRAW*/get STATIC_DRAW() { + return 35044; + }, + /*web_gl.WebGL.STATIC_READ*/get STATIC_READ() { + return 35045; + }, + /*web_gl.WebGL.STENCIL*/get STENCIL() { + return 6146; + }, + /*web_gl.WebGL.STENCIL_ATTACHMENT*/get STENCIL_ATTACHMENT() { + return 36128; + }, + /*web_gl.WebGL.STENCIL_BACK_FAIL*/get STENCIL_BACK_FAIL() { + return 34817; + }, + /*web_gl.WebGL.STENCIL_BACK_FUNC*/get STENCIL_BACK_FUNC() { + return 34816; + }, + /*web_gl.WebGL.STENCIL_BACK_PASS_DEPTH_FAIL*/get STENCIL_BACK_PASS_DEPTH_FAIL() { + return 34818; + }, + /*web_gl.WebGL.STENCIL_BACK_PASS_DEPTH_PASS*/get STENCIL_BACK_PASS_DEPTH_PASS() { + return 34819; + }, + /*web_gl.WebGL.STENCIL_BACK_REF*/get STENCIL_BACK_REF() { + return 36003; + }, + /*web_gl.WebGL.STENCIL_BACK_VALUE_MASK*/get STENCIL_BACK_VALUE_MASK() { + return 36004; + }, + /*web_gl.WebGL.STENCIL_BACK_WRITEMASK*/get STENCIL_BACK_WRITEMASK() { + return 36005; + }, + /*web_gl.WebGL.STENCIL_BITS*/get STENCIL_BITS() { + return 3415; + }, + /*web_gl.WebGL.STENCIL_BUFFER_BIT*/get STENCIL_BUFFER_BIT() { + return 1024; + }, + /*web_gl.WebGL.STENCIL_CLEAR_VALUE*/get STENCIL_CLEAR_VALUE() { + return 2961; + }, + /*web_gl.WebGL.STENCIL_FAIL*/get STENCIL_FAIL() { + return 2964; + }, + /*web_gl.WebGL.STENCIL_FUNC*/get STENCIL_FUNC() { + return 2962; + }, + /*web_gl.WebGL.STENCIL_INDEX8*/get STENCIL_INDEX8() { + return 36168; + }, + /*web_gl.WebGL.STENCIL_PASS_DEPTH_FAIL*/get STENCIL_PASS_DEPTH_FAIL() { + return 2965; + }, + /*web_gl.WebGL.STENCIL_PASS_DEPTH_PASS*/get STENCIL_PASS_DEPTH_PASS() { + return 2966; + }, + /*web_gl.WebGL.STENCIL_REF*/get STENCIL_REF() { + return 2967; + }, + /*web_gl.WebGL.STENCIL_TEST*/get STENCIL_TEST() { + return 2960; + }, + /*web_gl.WebGL.STENCIL_VALUE_MASK*/get STENCIL_VALUE_MASK() { + return 2963; + }, + /*web_gl.WebGL.STENCIL_WRITEMASK*/get STENCIL_WRITEMASK() { + return 2968; + }, + /*web_gl.WebGL.STREAM_COPY*/get STREAM_COPY() { + return 35042; + }, + /*web_gl.WebGL.STREAM_DRAW*/get STREAM_DRAW() { + return 35040; + }, + /*web_gl.WebGL.STREAM_READ*/get STREAM_READ() { + return 35041; + }, + /*web_gl.WebGL.SUBPIXEL_BITS*/get SUBPIXEL_BITS() { + return 3408; + }, + /*web_gl.WebGL.SYNC_CONDITION*/get SYNC_CONDITION() { + return 37139; + }, + /*web_gl.WebGL.SYNC_FENCE*/get SYNC_FENCE() { + return 37142; + }, + /*web_gl.WebGL.SYNC_FLAGS*/get SYNC_FLAGS() { + return 37141; + }, + /*web_gl.WebGL.SYNC_FLUSH_COMMANDS_BIT*/get SYNC_FLUSH_COMMANDS_BIT() { + return 1; + }, + /*web_gl.WebGL.SYNC_GPU_COMMANDS_COMPLETE*/get SYNC_GPU_COMMANDS_COMPLETE() { + return 37143; + }, + /*web_gl.WebGL.SYNC_STATUS*/get SYNC_STATUS() { + return 37140; + }, + /*web_gl.WebGL.TEXTURE*/get TEXTURE() { + return 5890; + }, + /*web_gl.WebGL.TEXTURE0*/get TEXTURE0() { + return 33984; + }, + /*web_gl.WebGL.TEXTURE1*/get TEXTURE1() { + return 33985; + }, + /*web_gl.WebGL.TEXTURE10*/get TEXTURE10() { + return 33994; + }, + /*web_gl.WebGL.TEXTURE11*/get TEXTURE11() { + return 33995; + }, + /*web_gl.WebGL.TEXTURE12*/get TEXTURE12() { + return 33996; + }, + /*web_gl.WebGL.TEXTURE13*/get TEXTURE13() { + return 33997; + }, + /*web_gl.WebGL.TEXTURE14*/get TEXTURE14() { + return 33998; + }, + /*web_gl.WebGL.TEXTURE15*/get TEXTURE15() { + return 33999; + }, + /*web_gl.WebGL.TEXTURE16*/get TEXTURE16() { + return 34000; + }, + /*web_gl.WebGL.TEXTURE17*/get TEXTURE17() { + return 34001; + }, + /*web_gl.WebGL.TEXTURE18*/get TEXTURE18() { + return 34002; + }, + /*web_gl.WebGL.TEXTURE19*/get TEXTURE19() { + return 34003; + }, + /*web_gl.WebGL.TEXTURE2*/get TEXTURE2() { + return 33986; + }, + /*web_gl.WebGL.TEXTURE20*/get TEXTURE20() { + return 34004; + }, + /*web_gl.WebGL.TEXTURE21*/get TEXTURE21() { + return 34005; + }, + /*web_gl.WebGL.TEXTURE22*/get TEXTURE22() { + return 34006; + }, + /*web_gl.WebGL.TEXTURE23*/get TEXTURE23() { + return 34007; + }, + /*web_gl.WebGL.TEXTURE24*/get TEXTURE24() { + return 34008; + }, + /*web_gl.WebGL.TEXTURE25*/get TEXTURE25() { + return 34009; + }, + /*web_gl.WebGL.TEXTURE26*/get TEXTURE26() { + return 34010; + }, + /*web_gl.WebGL.TEXTURE27*/get TEXTURE27() { + return 34011; + }, + /*web_gl.WebGL.TEXTURE28*/get TEXTURE28() { + return 34012; + }, + /*web_gl.WebGL.TEXTURE29*/get TEXTURE29() { + return 34013; + }, + /*web_gl.WebGL.TEXTURE3*/get TEXTURE3() { + return 33987; + }, + /*web_gl.WebGL.TEXTURE30*/get TEXTURE30() { + return 34014; + }, + /*web_gl.WebGL.TEXTURE31*/get TEXTURE31() { + return 34015; + }, + /*web_gl.WebGL.TEXTURE4*/get TEXTURE4() { + return 33988; + }, + /*web_gl.WebGL.TEXTURE5*/get TEXTURE5() { + return 33989; + }, + /*web_gl.WebGL.TEXTURE6*/get TEXTURE6() { + return 33990; + }, + /*web_gl.WebGL.TEXTURE7*/get TEXTURE7() { + return 33991; + }, + /*web_gl.WebGL.TEXTURE8*/get TEXTURE8() { + return 33992; + }, + /*web_gl.WebGL.TEXTURE9*/get TEXTURE9() { + return 33993; + }, + /*web_gl.WebGL.TEXTURE_2D*/get TEXTURE_2D() { + return 3553; + }, + /*web_gl.WebGL.TEXTURE_2D_ARRAY*/get TEXTURE_2D_ARRAY() { + return 35866; + }, + /*web_gl.WebGL.TEXTURE_3D*/get TEXTURE_3D() { + return 32879; + }, + /*web_gl.WebGL.TEXTURE_BASE_LEVEL*/get TEXTURE_BASE_LEVEL() { + return 33084; + }, + /*web_gl.WebGL.TEXTURE_BINDING_2D*/get TEXTURE_BINDING_2D() { + return 32873; + }, + /*web_gl.WebGL.TEXTURE_BINDING_2D_ARRAY*/get TEXTURE_BINDING_2D_ARRAY() { + return 35869; + }, + /*web_gl.WebGL.TEXTURE_BINDING_3D*/get TEXTURE_BINDING_3D() { + return 32874; + }, + /*web_gl.WebGL.TEXTURE_BINDING_CUBE_MAP*/get TEXTURE_BINDING_CUBE_MAP() { + return 34068; + }, + /*web_gl.WebGL.TEXTURE_COMPARE_FUNC*/get TEXTURE_COMPARE_FUNC() { + return 34893; + }, + /*web_gl.WebGL.TEXTURE_COMPARE_MODE*/get TEXTURE_COMPARE_MODE() { + return 34892; + }, + /*web_gl.WebGL.TEXTURE_CUBE_MAP*/get TEXTURE_CUBE_MAP() { + return 34067; + }, + /*web_gl.WebGL.TEXTURE_CUBE_MAP_NEGATIVE_X*/get TEXTURE_CUBE_MAP_NEGATIVE_X() { + return 34070; + }, + /*web_gl.WebGL.TEXTURE_CUBE_MAP_NEGATIVE_Y*/get TEXTURE_CUBE_MAP_NEGATIVE_Y() { + return 34072; + }, + /*web_gl.WebGL.TEXTURE_CUBE_MAP_NEGATIVE_Z*/get TEXTURE_CUBE_MAP_NEGATIVE_Z() { + return 34074; + }, + /*web_gl.WebGL.TEXTURE_CUBE_MAP_POSITIVE_X*/get TEXTURE_CUBE_MAP_POSITIVE_X() { + return 34069; + }, + /*web_gl.WebGL.TEXTURE_CUBE_MAP_POSITIVE_Y*/get TEXTURE_CUBE_MAP_POSITIVE_Y() { + return 34071; + }, + /*web_gl.WebGL.TEXTURE_CUBE_MAP_POSITIVE_Z*/get TEXTURE_CUBE_MAP_POSITIVE_Z() { + return 34073; + }, + /*web_gl.WebGL.TEXTURE_IMMUTABLE_FORMAT*/get TEXTURE_IMMUTABLE_FORMAT() { + return 37167; + }, + /*web_gl.WebGL.TEXTURE_IMMUTABLE_LEVELS*/get TEXTURE_IMMUTABLE_LEVELS() { + return 33503; + }, + /*web_gl.WebGL.TEXTURE_MAG_FILTER*/get TEXTURE_MAG_FILTER() { + return 10240; + }, + /*web_gl.WebGL.TEXTURE_MAX_LEVEL*/get TEXTURE_MAX_LEVEL() { + return 33085; + }, + /*web_gl.WebGL.TEXTURE_MAX_LOD*/get TEXTURE_MAX_LOD() { + return 33083; + }, + /*web_gl.WebGL.TEXTURE_MIN_FILTER*/get TEXTURE_MIN_FILTER() { + return 10241; + }, + /*web_gl.WebGL.TEXTURE_MIN_LOD*/get TEXTURE_MIN_LOD() { + return 33082; + }, + /*web_gl.WebGL.TEXTURE_WRAP_R*/get TEXTURE_WRAP_R() { + return 32882; + }, + /*web_gl.WebGL.TEXTURE_WRAP_S*/get TEXTURE_WRAP_S() { + return 10242; + }, + /*web_gl.WebGL.TEXTURE_WRAP_T*/get TEXTURE_WRAP_T() { + return 10243; + }, + /*web_gl.WebGL.TIMEOUT_EXPIRED*/get TIMEOUT_EXPIRED() { + return 37147; + }, + /*web_gl.WebGL.TIMEOUT_IGNORED*/get TIMEOUT_IGNORED() { + return -1; + }, + /*web_gl.WebGL.TRANSFORM_FEEDBACK*/get TRANSFORM_FEEDBACK() { + return 36386; + }, + /*web_gl.WebGL.TRANSFORM_FEEDBACK_ACTIVE*/get TRANSFORM_FEEDBACK_ACTIVE() { + return 36388; + }, + /*web_gl.WebGL.TRANSFORM_FEEDBACK_BINDING*/get TRANSFORM_FEEDBACK_BINDING() { + return 36389; + }, + /*web_gl.WebGL.TRANSFORM_FEEDBACK_BUFFER*/get TRANSFORM_FEEDBACK_BUFFER() { + return 35982; + }, + /*web_gl.WebGL.TRANSFORM_FEEDBACK_BUFFER_BINDING*/get TRANSFORM_FEEDBACK_BUFFER_BINDING() { + return 35983; + }, + /*web_gl.WebGL.TRANSFORM_FEEDBACK_BUFFER_MODE*/get TRANSFORM_FEEDBACK_BUFFER_MODE() { + return 35967; + }, + /*web_gl.WebGL.TRANSFORM_FEEDBACK_BUFFER_SIZE*/get TRANSFORM_FEEDBACK_BUFFER_SIZE() { + return 35973; + }, + /*web_gl.WebGL.TRANSFORM_FEEDBACK_BUFFER_START*/get TRANSFORM_FEEDBACK_BUFFER_START() { + return 35972; + }, + /*web_gl.WebGL.TRANSFORM_FEEDBACK_PAUSED*/get TRANSFORM_FEEDBACK_PAUSED() { + return 36387; + }, + /*web_gl.WebGL.TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN*/get TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN() { + return 35976; + }, + /*web_gl.WebGL.TRANSFORM_FEEDBACK_VARYINGS*/get TRANSFORM_FEEDBACK_VARYINGS() { + return 35971; + }, + /*web_gl.WebGL.TRIANGLES*/get TRIANGLES() { + return 4; + }, + /*web_gl.WebGL.TRIANGLE_FAN*/get TRIANGLE_FAN() { + return 6; + }, + /*web_gl.WebGL.TRIANGLE_STRIP*/get TRIANGLE_STRIP() { + return 5; + }, + /*web_gl.WebGL.UNIFORM_ARRAY_STRIDE*/get UNIFORM_ARRAY_STRIDE() { + return 35388; + }, + /*web_gl.WebGL.UNIFORM_BLOCK_ACTIVE_UNIFORMS*/get UNIFORM_BLOCK_ACTIVE_UNIFORMS() { + return 35394; + }, + /*web_gl.WebGL.UNIFORM_BLOCK_ACTIVE_UNIFORM_INDICES*/get UNIFORM_BLOCK_ACTIVE_UNIFORM_INDICES() { + return 35395; + }, + /*web_gl.WebGL.UNIFORM_BLOCK_BINDING*/get UNIFORM_BLOCK_BINDING() { + return 35391; + }, + /*web_gl.WebGL.UNIFORM_BLOCK_DATA_SIZE*/get UNIFORM_BLOCK_DATA_SIZE() { + return 35392; + }, + /*web_gl.WebGL.UNIFORM_BLOCK_INDEX*/get UNIFORM_BLOCK_INDEX() { + return 35386; + }, + /*web_gl.WebGL.UNIFORM_BLOCK_REFERENCED_BY_FRAGMENT_SHADER*/get UNIFORM_BLOCK_REFERENCED_BY_FRAGMENT_SHADER() { + return 35398; + }, + /*web_gl.WebGL.UNIFORM_BLOCK_REFERENCED_BY_VERTEX_SHADER*/get UNIFORM_BLOCK_REFERENCED_BY_VERTEX_SHADER() { + return 35396; + }, + /*web_gl.WebGL.UNIFORM_BUFFER*/get UNIFORM_BUFFER() { + return 35345; + }, + /*web_gl.WebGL.UNIFORM_BUFFER_BINDING*/get UNIFORM_BUFFER_BINDING() { + return 35368; + }, + /*web_gl.WebGL.UNIFORM_BUFFER_OFFSET_ALIGNMENT*/get UNIFORM_BUFFER_OFFSET_ALIGNMENT() { + return 35380; + }, + /*web_gl.WebGL.UNIFORM_BUFFER_SIZE*/get UNIFORM_BUFFER_SIZE() { + return 35370; + }, + /*web_gl.WebGL.UNIFORM_BUFFER_START*/get UNIFORM_BUFFER_START() { + return 35369; + }, + /*web_gl.WebGL.UNIFORM_IS_ROW_MAJOR*/get UNIFORM_IS_ROW_MAJOR() { + return 35390; + }, + /*web_gl.WebGL.UNIFORM_MATRIX_STRIDE*/get UNIFORM_MATRIX_STRIDE() { + return 35389; + }, + /*web_gl.WebGL.UNIFORM_OFFSET*/get UNIFORM_OFFSET() { + return 35387; + }, + /*web_gl.WebGL.UNIFORM_SIZE*/get UNIFORM_SIZE() { + return 35384; + }, + /*web_gl.WebGL.UNIFORM_TYPE*/get UNIFORM_TYPE() { + return 35383; + }, + /*web_gl.WebGL.UNPACK_ALIGNMENT*/get UNPACK_ALIGNMENT() { + return 3317; + }, + /*web_gl.WebGL.UNPACK_COLORSPACE_CONVERSION_WEBGL*/get UNPACK_COLORSPACE_CONVERSION_WEBGL() { + return 37443; + }, + /*web_gl.WebGL.UNPACK_FLIP_Y_WEBGL*/get UNPACK_FLIP_Y_WEBGL() { + return 37440; + }, + /*web_gl.WebGL.UNPACK_IMAGE_HEIGHT*/get UNPACK_IMAGE_HEIGHT() { + return 32878; + }, + /*web_gl.WebGL.UNPACK_PREMULTIPLY_ALPHA_WEBGL*/get UNPACK_PREMULTIPLY_ALPHA_WEBGL() { + return 37441; + }, + /*web_gl.WebGL.UNPACK_ROW_LENGTH*/get UNPACK_ROW_LENGTH() { + return 3314; + }, + /*web_gl.WebGL.UNPACK_SKIP_IMAGES*/get UNPACK_SKIP_IMAGES() { + return 32877; + }, + /*web_gl.WebGL.UNPACK_SKIP_PIXELS*/get UNPACK_SKIP_PIXELS() { + return 3316; + }, + /*web_gl.WebGL.UNPACK_SKIP_ROWS*/get UNPACK_SKIP_ROWS() { + return 3315; + }, + /*web_gl.WebGL.UNSIGNALED*/get UNSIGNALED() { + return 37144; + }, + /*web_gl.WebGL.UNSIGNED_BYTE*/get UNSIGNED_BYTE() { + return 5121; + }, + /*web_gl.WebGL.UNSIGNED_INT*/get UNSIGNED_INT() { + return 5125; + }, + /*web_gl.WebGL.UNSIGNED_INT_10F_11F_11F_REV*/get UNSIGNED_INT_10F_11F_11F_REV() { + return 35899; + }, + /*web_gl.WebGL.UNSIGNED_INT_24_8*/get UNSIGNED_INT_24_8() { + return 34042; + }, + /*web_gl.WebGL.UNSIGNED_INT_2_10_10_10_REV*/get UNSIGNED_INT_2_10_10_10_REV() { + return 33640; + }, + /*web_gl.WebGL.UNSIGNED_INT_5_9_9_9_REV*/get UNSIGNED_INT_5_9_9_9_REV() { + return 35902; + }, + /*web_gl.WebGL.UNSIGNED_INT_SAMPLER_2D*/get UNSIGNED_INT_SAMPLER_2D() { + return 36306; + }, + /*web_gl.WebGL.UNSIGNED_INT_SAMPLER_2D_ARRAY*/get UNSIGNED_INT_SAMPLER_2D_ARRAY() { + return 36311; + }, + /*web_gl.WebGL.UNSIGNED_INT_SAMPLER_3D*/get UNSIGNED_INT_SAMPLER_3D() { + return 36307; + }, + /*web_gl.WebGL.UNSIGNED_INT_SAMPLER_CUBE*/get UNSIGNED_INT_SAMPLER_CUBE() { + return 36308; + }, + /*web_gl.WebGL.UNSIGNED_INT_VEC2*/get UNSIGNED_INT_VEC2() { + return 36294; + }, + /*web_gl.WebGL.UNSIGNED_INT_VEC3*/get UNSIGNED_INT_VEC3() { + return 36295; + }, + /*web_gl.WebGL.UNSIGNED_INT_VEC4*/get UNSIGNED_INT_VEC4() { + return 36296; + }, + /*web_gl.WebGL.UNSIGNED_NORMALIZED*/get UNSIGNED_NORMALIZED() { + return 35863; + }, + /*web_gl.WebGL.UNSIGNED_SHORT*/get UNSIGNED_SHORT() { + return 5123; + }, + /*web_gl.WebGL.UNSIGNED_SHORT_4_4_4_4*/get UNSIGNED_SHORT_4_4_4_4() { + return 32819; + }, + /*web_gl.WebGL.UNSIGNED_SHORT_5_5_5_1*/get UNSIGNED_SHORT_5_5_5_1() { + return 32820; + }, + /*web_gl.WebGL.UNSIGNED_SHORT_5_6_5*/get UNSIGNED_SHORT_5_6_5() { + return 33635; + }, + /*web_gl.WebGL.VALIDATE_STATUS*/get VALIDATE_STATUS() { + return 35715; + }, + /*web_gl.WebGL.VENDOR*/get VENDOR() { + return 7936; + }, + /*web_gl.WebGL.VERSION*/get VERSION() { + return 7938; + }, + /*web_gl.WebGL.VERTEX_ARRAY_BINDING*/get VERTEX_ARRAY_BINDING() { + return 34229; + }, + /*web_gl.WebGL.VERTEX_ATTRIB_ARRAY_BUFFER_BINDING*/get VERTEX_ATTRIB_ARRAY_BUFFER_BINDING() { + return 34975; + }, + /*web_gl.WebGL.VERTEX_ATTRIB_ARRAY_DIVISOR*/get VERTEX_ATTRIB_ARRAY_DIVISOR() { + return 35070; + }, + /*web_gl.WebGL.VERTEX_ATTRIB_ARRAY_ENABLED*/get VERTEX_ATTRIB_ARRAY_ENABLED() { + return 34338; + }, + /*web_gl.WebGL.VERTEX_ATTRIB_ARRAY_INTEGER*/get VERTEX_ATTRIB_ARRAY_INTEGER() { + return 35069; + }, + /*web_gl.WebGL.VERTEX_ATTRIB_ARRAY_NORMALIZED*/get VERTEX_ATTRIB_ARRAY_NORMALIZED() { + return 34922; + }, + /*web_gl.WebGL.VERTEX_ATTRIB_ARRAY_POINTER*/get VERTEX_ATTRIB_ARRAY_POINTER() { + return 34373; + }, + /*web_gl.WebGL.VERTEX_ATTRIB_ARRAY_SIZE*/get VERTEX_ATTRIB_ARRAY_SIZE() { + return 34339; + }, + /*web_gl.WebGL.VERTEX_ATTRIB_ARRAY_STRIDE*/get VERTEX_ATTRIB_ARRAY_STRIDE() { + return 34340; + }, + /*web_gl.WebGL.VERTEX_ATTRIB_ARRAY_TYPE*/get VERTEX_ATTRIB_ARRAY_TYPE() { + return 34341; + }, + /*web_gl.WebGL.VERTEX_SHADER*/get VERTEX_SHADER() { + return 35633; + }, + /*web_gl.WebGL.VIEWPORT*/get VIEWPORT() { + return 2978; + }, + /*web_gl.WebGL.WAIT_FAILED*/get WAIT_FAILED() { + return 37149; + }, + /*web_gl.WebGL.ZERO*/get ZERO() { + return 0; + } + }, false); + dart.registerExtension("WebGL", web_gl.WebGL); + web_gl._WebGL2RenderingContextBase = class _WebGL2RenderingContextBase extends _interceptors.Interceptor {}; + dart.addTypeTests(web_gl._WebGL2RenderingContextBase); + dart.addTypeCaches(web_gl._WebGL2RenderingContextBase); + web_gl._WebGL2RenderingContextBase[dart.implements] = () => [web_gl._WebGLRenderingContextBase]; + dart.setLibraryUri(web_gl._WebGL2RenderingContextBase, I[160]); + dart.registerExtension("WebGL2RenderingContextBase", web_gl._WebGL2RenderingContextBase); + web_gl._WebGLRenderingContextBase = class _WebGLRenderingContextBase extends _interceptors.Interceptor {}; + dart.addTypeTests(web_gl._WebGLRenderingContextBase); + dart.addTypeCaches(web_gl._WebGLRenderingContextBase); + dart.setLibraryUri(web_gl._WebGLRenderingContextBase, I[160]); + web_sql.SqlDatabase = class SqlDatabase extends _interceptors.Interceptor { + static get supported() { + return !!window.openDatabase; + } + get [S.$version]() { + return this.version; + } + [S$4._changeVersion](...args) { + return this.changeVersion.apply(this, args); + } + [S$4.$changeVersion](oldVersion, newVersion) { + if (oldVersion == null) dart.nullFailed(I[162], 119, 47, "oldVersion"); + if (newVersion == null) dart.nullFailed(I[162], 119, 66, "newVersion"); + let completer = T$0.CompleterOfSqlTransaction().new(); + this[S$4._changeVersion](oldVersion, newVersion, dart.fn(value => { + if (value == null) dart.nullFailed(I[162], 121, 45, "value"); + completer.complete(value); + }, T$0.SqlTransactionTovoid()), dart.fn(error => { + if (error == null) dart.nullFailed(I[162], 123, 9, "error"); + completer.completeError(error); + }, T$0.SqlErrorTovoid())); + return completer.future; + } + [S$4._readTransaction](...args) { + return this.readTransaction.apply(this, args); + } + [S$4.$readTransaction]() { + let completer = T$0.CompleterOfSqlTransaction().new(); + this[S$4._readTransaction](dart.fn(value => { + if (value == null) dart.nullFailed(I[162], 137, 23, "value"); + completer.complete(value); + }, T$0.SqlTransactionTovoid()), dart.fn(error => { + if (error == null) dart.nullFailed(I[162], 139, 9, "error"); + completer.completeError(error); + }, T$0.SqlErrorTovoid())); + return completer.future; + } + [S.$transaction](...args) { + return this.transaction.apply(this, args); + } + [S$4.$transaction_future]() { + let completer = T$0.CompleterOfSqlTransaction().new(); + this.transaction(dart.fn(value => { + if (value == null) dart.nullFailed(I[162], 152, 18, "value"); + _js_helper.applyExtension("SQLTransaction", value); + completer.complete(value); + }, T$0.SqlTransactionTovoid()), dart.fn(error => { + if (error == null) dart.nullFailed(I[162], 155, 9, "error"); + completer.completeError(error); + }, T$0.SqlErrorTovoid())); + return completer.future; + } + }; + dart.addTypeTests(web_sql.SqlDatabase); + dart.addTypeCaches(web_sql.SqlDatabase); + dart.setMethodSignature(web_sql.SqlDatabase, () => ({ + __proto__: dart.getMethods(web_sql.SqlDatabase.__proto__), + [S$4._changeVersion]: dart.fnType(dart.void, [core.String, core.String], [dart.nullable(dart.fnType(dart.void, [web_sql.SqlTransaction])), dart.nullable(dart.fnType(dart.void, [web_sql.SqlError])), dart.nullable(dart.fnType(dart.void, []))]), + [S$4.$changeVersion]: dart.fnType(async.Future$(web_sql.SqlTransaction), [core.String, core.String]), + [S$4._readTransaction]: dart.fnType(dart.void, [dart.fnType(dart.void, [web_sql.SqlTransaction])], [dart.nullable(dart.fnType(dart.void, [web_sql.SqlError])), dart.nullable(dart.fnType(dart.void, []))]), + [S$4.$readTransaction]: dart.fnType(async.Future$(web_sql.SqlTransaction), []), + [S.$transaction]: dart.fnType(dart.void, [dart.fnType(dart.void, [web_sql.SqlTransaction])], [dart.nullable(dart.fnType(dart.void, [web_sql.SqlError])), dart.nullable(dart.fnType(dart.void, []))]), + [S$4.$transaction_future]: dart.fnType(async.Future$(web_sql.SqlTransaction), []) + })); + dart.setGetterSignature(web_sql.SqlDatabase, () => ({ + __proto__: dart.getGetters(web_sql.SqlDatabase.__proto__), + [S.$version]: dart.nullable(core.String) + })); + dart.setLibraryUri(web_sql.SqlDatabase, I[163]); + dart.registerExtension("Database", web_sql.SqlDatabase); + web_sql.SqlError = class SqlError extends _interceptors.Interceptor { + get [S$.$code]() { + return this.code; + } + get [$message]() { + return this.message; + } + }; + dart.addTypeTests(web_sql.SqlError); + dart.addTypeCaches(web_sql.SqlError); + dart.setGetterSignature(web_sql.SqlError, () => ({ + __proto__: dart.getGetters(web_sql.SqlError.__proto__), + [S$.$code]: dart.nullable(core.int), + [$message]: dart.nullable(core.String) + })); + dart.setLibraryUri(web_sql.SqlError, I[163]); + dart.defineLazy(web_sql.SqlError, { + /*web_sql.SqlError.CONSTRAINT_ERR*/get CONSTRAINT_ERR() { + return 6; + }, + /*web_sql.SqlError.DATABASE_ERR*/get DATABASE_ERR() { + return 1; + }, + /*web_sql.SqlError.QUOTA_ERR*/get QUOTA_ERR() { + return 4; + }, + /*web_sql.SqlError.SYNTAX_ERR*/get SYNTAX_ERR() { + return 5; + }, + /*web_sql.SqlError.TIMEOUT_ERR*/get TIMEOUT_ERR() { + return 7; + }, + /*web_sql.SqlError.TOO_LARGE_ERR*/get TOO_LARGE_ERR() { + return 3; + }, + /*web_sql.SqlError.UNKNOWN_ERR*/get UNKNOWN_ERR() { + return 0; + }, + /*web_sql.SqlError.VERSION_ERR*/get VERSION_ERR() { + return 2; + } + }, false); + dart.registerExtension("SQLError", web_sql.SqlError); + web_sql.SqlResultSet = class SqlResultSet extends _interceptors.Interceptor { + get [S$4.$insertId]() { + return this.insertId; + } + get [S$2.$rows]() { + return this.rows; + } + get [S$4.$rowsAffected]() { + return this.rowsAffected; + } + }; + dart.addTypeTests(web_sql.SqlResultSet); + dart.addTypeCaches(web_sql.SqlResultSet); + dart.setGetterSignature(web_sql.SqlResultSet, () => ({ + __proto__: dart.getGetters(web_sql.SqlResultSet.__proto__), + [S$4.$insertId]: dart.nullable(core.int), + [S$2.$rows]: dart.nullable(web_sql.SqlResultSetRowList), + [S$4.$rowsAffected]: dart.nullable(core.int) + })); + dart.setLibraryUri(web_sql.SqlResultSet, I[163]); + dart.registerExtension("SQLResultSet", web_sql.SqlResultSet); + core.Map$ = dart.generic((K, V) => { + class Map extends core.Object { + static unmodifiable(other) { + if (other == null) dart.nullFailed(I[7], 562, 50, "other"); + return new (collection.UnmodifiableMapView$(K, V)).new(collection.LinkedHashMap$(K, V).from(other)); + } + static castFrom(K, V, K2, V2, source) { + if (source == null) dart.nullFailed(I[164], 166, 55, "source"); + return new (_internal.CastMap$(K, V, K2, V2)).new(source); + } + static fromEntries(entries) { + let t247; + if (entries == null) dart.nullFailed(I[164], 181, 52, "entries"); + t247 = new (_js_helper.LinkedMap$(K, V)).new(); + return (() => { + t247[$addEntries](entries); + return t247; + })(); + } + } + (Map[dart.mixinNew] = function() { + }).prototype = Map.prototype; + dart.addTypeTests(Map); + Map.prototype[dart.isMap] = true; + dart.addTypeCaches(Map); + dart.setLibraryUri(Map, I[8]); + return Map; + }); + core.Map = core.Map$(); + dart.addTypeTests(core.Map, dart.isMap); + const Interceptor_ListMixin$36$17 = class Interceptor_ListMixin extends _interceptors.Interceptor {}; + (Interceptor_ListMixin$36$17.new = function() { + Interceptor_ListMixin$36$17.__proto__.new.call(this); + }).prototype = Interceptor_ListMixin$36$17.prototype; + dart.applyMixin(Interceptor_ListMixin$36$17, collection.ListMixin$(core.Map)); + const Interceptor_ImmutableListMixin$36$17 = class Interceptor_ImmutableListMixin extends Interceptor_ListMixin$36$17 {}; + (Interceptor_ImmutableListMixin$36$17.new = function() { + Interceptor_ImmutableListMixin$36$17.__proto__.new.call(this); + }).prototype = Interceptor_ImmutableListMixin$36$17.prototype; + dart.applyMixin(Interceptor_ImmutableListMixin$36$17, html$.ImmutableListMixin$(core.Map)); + web_sql.SqlResultSetRowList = class SqlResultSetRowList extends Interceptor_ImmutableListMixin$36$17 { + get [$length]() { + return this.length; + } + [$_get](index) { + if (index == null) dart.nullFailed(I[162], 224, 23, "index"); + if (index >>> 0 !== index || index >= this[$length]) dart.throw(new core.IndexError.new(index, this)); + return dart.nullCheck(this[S$.$item](index)); + } + [$_set](index, value$) { + let value = value$; + if (index == null) dart.nullFailed(I[162], 230, 25, "index"); + core.Map.as(value); + if (value == null) dart.nullFailed(I[162], 230, 36, "value"); + dart.throw(new core.UnsupportedError.new("Cannot assign element of immutable List.")); + return value$; + } + set [$length](value) { + if (value == null) dart.nullFailed(I[162], 236, 18, "value"); + dart.throw(new core.UnsupportedError.new("Cannot resize immutable List.")); + } + get [$first]() { + if (dart.notNull(this[$length]) > 0) { + return this[0]; + } + dart.throw(new core.StateError.new("No elements")); + } + set [$first](value) { + super[$first] = value; + } + get [$last]() { + let len = this[$length]; + if (dart.notNull(len) > 0) { + return this[dart.notNull(len) - 1]; + } + dart.throw(new core.StateError.new("No elements")); + } + set [$last](value) { + super[$last] = value; + } + get [$single]() { + let len = this[$length]; + if (len === 1) { + return this[0]; + } + if (len === 0) dart.throw(new core.StateError.new("No elements")); + dart.throw(new core.StateError.new("More than one element")); + } + [$elementAt](index) { + if (index == null) dart.nullFailed(I[162], 264, 21, "index"); + return this[$_get](index); + } + [S$.$item](index) { + if (index == null) dart.nullFailed(I[162], 267, 17, "index"); + return html_common.convertNativeToDart_Dictionary(this[S$4._item_1](index)); + } + [S$4._item_1](...args) { + return this.item.apply(this, args); + } + }; + web_sql.SqlResultSetRowList.prototype[dart.isList] = true; + dart.addTypeTests(web_sql.SqlResultSetRowList); + dart.addTypeCaches(web_sql.SqlResultSetRowList); + web_sql.SqlResultSetRowList[dart.implements] = () => [core.List$(core.Map)]; + dart.setMethodSignature(web_sql.SqlResultSetRowList, () => ({ + __proto__: dart.getMethods(web_sql.SqlResultSetRowList.__proto__), + [$_get]: dart.fnType(core.Map, [core.int]), + [$_set]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), + [S$.$item]: dart.fnType(dart.nullable(core.Map), [core.int]), + [S$4._item_1]: dart.fnType(dart.dynamic, [dart.dynamic]) + })); + dart.setGetterSignature(web_sql.SqlResultSetRowList, () => ({ + __proto__: dart.getGetters(web_sql.SqlResultSetRowList.__proto__), + [$length]: core.int + })); + dart.setSetterSignature(web_sql.SqlResultSetRowList, () => ({ + __proto__: dart.getSetters(web_sql.SqlResultSetRowList.__proto__), + [$length]: core.int + })); + dart.setLibraryUri(web_sql.SqlResultSetRowList, I[163]); + dart.registerExtension("SQLResultSetRowList", web_sql.SqlResultSetRowList); + web_sql.SqlTransaction = class SqlTransaction extends _interceptors.Interceptor { + [S$4._executeSql](...args) { + return this.executeSql.apply(this, args); + } + [S$4.$executeSql](sqlStatement, $arguments = null) { + if (sqlStatement == null) dart.nullFailed(I[162], 296, 42, "sqlStatement"); + let completer = T$0.CompleterOfSqlResultSet().new(); + this[S$4._executeSql](sqlStatement, $arguments, dart.fn((transaction, resultSet) => { + if (transaction == null) dart.nullFailed(I[162], 298, 43, "transaction"); + if (resultSet == null) dart.nullFailed(I[162], 298, 56, "resultSet"); + _js_helper.applyExtension("SQLResultSet", resultSet); + _js_helper.applyExtension("SQLResultSetRowList", resultSet.rows); + completer.complete(resultSet); + }, T$0.SqlTransactionAndSqlResultSetTovoid()), dart.fn((transaction, error) => { + if (transaction == null) dart.nullFailed(I[162], 302, 9, "transaction"); + if (error == null) dart.nullFailed(I[162], 302, 22, "error"); + completer.completeError(error); + }, T$0.SqlTransactionAndSqlErrorTovoid())); + return completer.future; + } + }; + dart.addTypeTests(web_sql.SqlTransaction); + dart.addTypeCaches(web_sql.SqlTransaction); + dart.setMethodSignature(web_sql.SqlTransaction, () => ({ + __proto__: dart.getMethods(web_sql.SqlTransaction.__proto__), + [S$4._executeSql]: dart.fnType(dart.void, [core.String], [dart.nullable(core.List), dart.nullable(dart.fnType(dart.void, [web_sql.SqlTransaction, web_sql.SqlResultSet])), dart.nullable(dart.fnType(dart.void, [web_sql.SqlTransaction, web_sql.SqlError]))]), + [S$4.$executeSql]: dart.fnType(async.Future$(web_sql.SqlResultSet), [core.String], [dart.nullable(core.List)]) + })); + dart.setLibraryUri(web_sql.SqlTransaction, I[163]); + dart.registerExtension("SQLTransaction", web_sql.SqlTransaction); + var _errorMsg$ = dart.privateName(core, "_errorMsg"); + core._CompileTimeError = class _CompileTimeError extends core.Error { + toString() { + return this[_errorMsg$]; + } + }; + (core._CompileTimeError.new = function(_errorMsg) { + if (_errorMsg == null) dart.nullFailed(I[7], 776, 26, "_errorMsg"); + this[_errorMsg$] = _errorMsg; + core._CompileTimeError.__proto__.new.call(this); + ; + }).prototype = core._CompileTimeError.prototype; + dart.addTypeTests(core._CompileTimeError); + dart.addTypeCaches(core._CompileTimeError); + dart.setLibraryUri(core._CompileTimeError, I[8]); + dart.setFieldSignature(core._CompileTimeError, () => ({ + __proto__: dart.getFields(core._CompileTimeError.__proto__), + [_errorMsg$]: dart.finalFieldType(core.String) + })); + dart.defineExtensionMethods(core._CompileTimeError, ['toString']); + var _name$6 = dart.privateName(core, "_name"); + core._DuplicatedFieldInitializerError = class _DuplicatedFieldInitializerError extends core.Object { + toString() { + return "Error: field '" + dart.str(this[_name$6]) + "' is already initialized."; + } + }; + (core._DuplicatedFieldInitializerError.new = function(_name) { + if (_name == null) dart.nullFailed(I[7], 918, 41, "_name"); + this[_name$6] = _name; + ; + }).prototype = core._DuplicatedFieldInitializerError.prototype; + dart.addTypeTests(core._DuplicatedFieldInitializerError); + dart.addTypeCaches(core._DuplicatedFieldInitializerError); + dart.setLibraryUri(core._DuplicatedFieldInitializerError, I[8]); + dart.setFieldSignature(core._DuplicatedFieldInitializerError, () => ({ + __proto__: dart.getFields(core._DuplicatedFieldInitializerError.__proto__), + [_name$6]: dart.finalFieldType(core.String) + })); + dart.defineExtensionMethods(core._DuplicatedFieldInitializerError, ['toString']); + var _used$ = dart.privateName(core, "_used"); + var _digits$ = dart.privateName(core, "_digits"); + var _isNegative = dart.privateName(core, "_isNegative"); + var _isZero = dart.privateName(core, "_isZero"); + var _dlShift = dart.privateName(core, "_dlShift"); + var _drShift = dart.privateName(core, "_drShift"); + var _absCompare = dart.privateName(core, "_absCompare"); + var _absAddSetSign = dart.privateName(core, "_absAddSetSign"); + var _absSubSetSign = dart.privateName(core, "_absSubSetSign"); + var _absAndSetSign = dart.privateName(core, "_absAndSetSign"); + var _absAndNotSetSign = dart.privateName(core, "_absAndNotSetSign"); + var _absOrSetSign = dart.privateName(core, "_absOrSetSign"); + var _absXorSetSign = dart.privateName(core, "_absXorSetSign"); + var _divRem = dart.privateName(core, "_divRem"); + var _div = dart.privateName(core, "_div"); + var _rem = dart.privateName(core, "_rem"); + var _toRadixCodeUnit = dart.privateName(core, "_toRadixCodeUnit"); + var _toHexString = dart.privateName(core, "_toHexString"); + core._BigIntImpl = class _BigIntImpl extends core.Object { + static parse(source, opts) { + if (source == null) dart.nullFailed(I[7], 1044, 35, "source"); + let radix = opts && 'radix' in opts ? opts.radix : null; + let result = core._BigIntImpl._tryParse(source, {radix: radix}); + if (result == null) { + dart.throw(new core.FormatException.new("Could not parse BigInt", source)); + } + return result; + } + static _parseDecimal(source, isNegative) { + if (source == null) dart.nullFailed(I[7], 1055, 43, "source"); + if (isNegative == null) dart.nullFailed(I[7], 1055, 56, "isNegative"); + let part = 0; + let result = core._BigIntImpl.zero; + let digitInPartCount = 4 - source.length[$remainder](4); + if (digitInPartCount === 4) digitInPartCount = 0; + for (let i = 0; i < source.length; i = i + 1) { + part = part * 10 + source[$codeUnitAt](i) - 48; + if ((digitInPartCount = digitInPartCount + 1) === 4) { + result = result['*'](core._BigIntImpl._bigInt10000)['+'](core._BigIntImpl._fromInt(part)); + part = 0; + digitInPartCount = 0; + } + } + if (dart.test(isNegative)) return result._negate(); + return result; + } + static _codeUnitToRadixValue(codeUnit) { + if (codeUnit == null) dart.nullFailed(I[7], 1085, 40, "codeUnit"); + if (48 <= dart.notNull(codeUnit) && dart.notNull(codeUnit) <= 57) return dart.notNull(codeUnit) - 48; + codeUnit = (dart.notNull(codeUnit) | 32) >>> 0; + let result = dart.notNull(codeUnit) - 97 + 10; + return result; + } + static _parseHex(source, startPos, isNegative) { + let t247, t247$, t247$0, t247$1; + if (source == null) dart.nullFailed(I[7], 1105, 40, "source"); + if (startPos == null) dart.nullFailed(I[7], 1105, 52, "startPos"); + if (isNegative == null) dart.nullFailed(I[7], 1105, 67, "isNegative"); + let hexDigitsPerChunk = (16 / 4)[$truncate](); + let sourceLength = source.length - dart.notNull(startPos); + let chunkCount = (sourceLength / hexDigitsPerChunk)[$ceil](); + let digits = _native_typed_data.NativeUint16List.new(chunkCount); + let lastDigitLength = sourceLength - (chunkCount - 1) * hexDigitsPerChunk; + let digitIndex = dart.notNull(digits[$length]) - 1; + let i = startPos; + let chunk = 0; + for (let j = 0; j < lastDigitLength; j = j + 1) { + let digitValue = core._BigIntImpl._codeUnitToRadixValue(source[$codeUnitAt]((t247 = i, i = dart.notNull(t247) + 1, t247))); + if (dart.notNull(digitValue) >= 16) return null; + chunk = chunk * 16 + dart.notNull(digitValue); + } + digits[$_set]((t247$ = digitIndex, digitIndex = t247$ - 1, t247$), chunk); + while (dart.notNull(i) < source.length) { + chunk = 0; + for (let j = 0; j < hexDigitsPerChunk; j = j + 1) { + let digitValue = core._BigIntImpl._codeUnitToRadixValue(source[$codeUnitAt]((t247$0 = i, i = dart.notNull(t247$0) + 1, t247$0))); + if (dart.notNull(digitValue) >= 16) return null; + chunk = chunk * 16 + dart.notNull(digitValue); + } + digits[$_set]((t247$1 = digitIndex, digitIndex = t247$1 - 1, t247$1), chunk); + } + if (digits[$length] === 1 && digits[$_get](0) === 0) return core._BigIntImpl.zero; + return new core._BigIntImpl.__(isNegative, digits[$length], digits); + } + static _parseRadix(source, radix, isNegative) { + if (source == null) dart.nullFailed(I[7], 1139, 42, "source"); + if (radix == null) dart.nullFailed(I[7], 1139, 54, "radix"); + if (isNegative == null) dart.nullFailed(I[7], 1139, 66, "isNegative"); + let result = core._BigIntImpl.zero; + let base = core._BigIntImpl._fromInt(radix); + for (let i = 0; i < source.length; i = i + 1) { + let digitValue = core._BigIntImpl._codeUnitToRadixValue(source[$codeUnitAt](i)); + if (dart.notNull(digitValue) >= dart.notNull(radix)) return null; + result = result['*'](base)['+'](core._BigIntImpl._fromInt(digitValue)); + } + if (dart.test(isNegative)) return result._negate(); + return result; + } + static _tryParse(source, opts) { + let t247, t247$, t247$0; + if (source == null) dart.nullFailed(I[7], 1156, 40, "source"); + let radix = opts && 'radix' in opts ? opts.radix : null; + if (source === "") return null; + let match = core._BigIntImpl._parseRE.firstMatch(source); + let signIndex = 1; + let hexIndex = 3; + let decimalIndex = 4; + let nonDecimalHexIndex = 5; + if (match == null) return null; + let isNegative = match._get(signIndex) === "-"; + let decimalMatch = match._get(decimalIndex); + let hexMatch = match._get(hexIndex); + let nonDecimalMatch = match._get(nonDecimalHexIndex); + if (radix == null) { + if (decimalMatch != null) { + return core._BigIntImpl._parseDecimal(decimalMatch, isNegative); + } + if (hexMatch != null) { + return core._BigIntImpl._parseHex(hexMatch, 2, isNegative); + } + return null; + } + if (dart.notNull(radix) < 2 || dart.notNull(radix) > 36) { + dart.throw(new core.RangeError.range(radix, 2, 36, "radix")); + } + if (radix === 10 && decimalMatch != null) { + return core._BigIntImpl._parseDecimal(decimalMatch, isNegative); + } + if (radix === 16 && (decimalMatch != null || nonDecimalMatch != null)) { + return core._BigIntImpl._parseHex((t247 = decimalMatch, t247 == null ? dart.nullCheck(nonDecimalMatch) : t247), 0, isNegative); + } + return core._BigIntImpl._parseRadix((t247$0 = (t247$ = decimalMatch, t247$ == null ? nonDecimalMatch : t247$), t247$0 == null ? dart.nullCheck(hexMatch) : t247$0), radix, isNegative); + } + static _normalize(used, digits) { + if (used == null) dart.nullFailed(I[7], 1203, 29, "used"); + if (digits == null) dart.nullFailed(I[7], 1203, 46, "digits"); + while (dart.notNull(used) > 0 && digits[$_get](dart.notNull(used) - 1) === 0) + used = dart.notNull(used) - 1; + return used; + } + get [_isZero]() { + return this[_used$] === 0; + } + static _cloneDigits(digits, from, to, length) { + if (digits == null) dart.nullFailed(I[7], 1224, 18, "digits"); + if (from == null) dart.nullFailed(I[7], 1224, 30, "from"); + if (to == null) dart.nullFailed(I[7], 1224, 40, "to"); + if (length == null) dart.nullFailed(I[7], 1224, 48, "length"); + let resultDigits = _native_typed_data.NativeUint16List.new(length); + let n = dart.notNull(to) - dart.notNull(from); + for (let i = 0; i < n; i = i + 1) { + resultDigits[$_set](i, digits[$_get](dart.notNull(from) + i)); + } + return resultDigits; + } + static from(value) { + if (value == null) dart.nullFailed(I[7], 1234, 32, "value"); + if (value === 0) return core._BigIntImpl.zero; + if (value === 1) return core._BigIntImpl.one; + if (value === 2) return core._BigIntImpl.two; + if (value[$abs]() < 4294967296) return core._BigIntImpl._fromInt(value[$toInt]()); + if (typeof value == 'number') return core._BigIntImpl._fromDouble(value); + return core._BigIntImpl._fromInt(dart.asInt(value)); + } + static _fromInt(value) { + let t247; + if (value == null) dart.nullFailed(I[7], 1246, 36, "value"); + let isNegative = dart.notNull(value) < 0; + if (!(16 === 16)) dart.assertFailed(null, I[7], 1248, 12, "_digitBits == 16"); + if (isNegative) { + if (value === -9223372036854776000.0) { + let digits = _native_typed_data.NativeUint16List.new(4); + digits[$_set](3, 32768); + return new core._BigIntImpl.__(true, 4, digits); + } + value = -dart.notNull(value); + } + if (dart.notNull(value) < 65536) { + let digits = _native_typed_data.NativeUint16List.new(1); + digits[$_set](0, value); + return new core._BigIntImpl.__(isNegative, 1, digits); + } + if (dart.notNull(value) <= 4294967295) { + let digits = _native_typed_data.NativeUint16List.new(2); + digits[$_set](0, (dart.notNull(value) & 65535) >>> 0); + digits[$_set](1, value[$rightShift](16)); + return new core._BigIntImpl.__(isNegative, 2, digits); + } + let bits = value[$bitLength]; + let digits = _native_typed_data.NativeUint16List.new(((bits - 1) / 16)[$truncate]() + 1); + let i = 0; + while (value !== 0) { + digits[$_set]((t247 = i, i = t247 + 1, t247), (dart.notNull(value) & 65535) >>> 0); + value = (dart.notNull(value) / 65536)[$truncate](); + } + return new core._BigIntImpl.__(isNegative, digits[$length], digits); + } + static _fromDouble(value) { + if (value == null) dart.nullFailed(I[7], 1286, 42, "value"); + if (value[$isNaN] || value[$isInfinite]) { + dart.throw(new core.ArgumentError.new("Value must be finite: " + dart.str(value))); + } + let isNegative = dart.notNull(value) < 0; + if (isNegative) value = -dart.notNull(value); + value = value[$floorToDouble](); + if (value === 0) return core._BigIntImpl.zero; + let bits = core._BigIntImpl._bitsForFromDouble; + for (let i = 0; i < 8; i = i + 1) { + bits[$_set](i, 0); + } + bits[$buffer][$asByteData]()[$setFloat64](0, value, typed_data.Endian.little); + let biasedExponent = (dart.notNull(bits[$_get](7)) << 4 >>> 0) + bits[$_get](6)[$rightShift](4); + let exponent = biasedExponent - 1075; + if (!(16 === 16)) dart.assertFailed(null, I[7], 1307, 12, "_digitBits == 16"); + let unshiftedDigits = _native_typed_data.NativeUint16List.new(4); + unshiftedDigits[$_set](0, (dart.notNull(bits[$_get](1)) << 8 >>> 0) + dart.notNull(bits[$_get](0))); + unshiftedDigits[$_set](1, (dart.notNull(bits[$_get](3)) << 8 >>> 0) + dart.notNull(bits[$_get](2))); + unshiftedDigits[$_set](2, (dart.notNull(bits[$_get](5)) << 8 >>> 0) + dart.notNull(bits[$_get](4))); + unshiftedDigits[$_set](3, 16 | dart.notNull(bits[$_get](6)) & 15); + let unshiftedBig = new core._BigIntImpl._normalized(false, 4, unshiftedDigits); + let absResult = unshiftedBig; + if (exponent < 0) { + absResult = unshiftedBig['>>'](-exponent); + } else if (exponent > 0) { + absResult = unshiftedBig['<<'](exponent); + } + if (isNegative) return absResult._negate(); + return absResult; + } + _negate() { + if (this[_used$] === 0) return this; + return new core._BigIntImpl.__(!dart.test(this[_isNegative]), this[_used$], this[_digits$]); + } + abs() { + return dart.test(this[_isNegative]) ? this._negate() : this; + } + [_dlShift](n) { + if (n == null) dart.nullFailed(I[7], 1346, 28, "n"); + let used = this[_used$]; + if (used === 0) { + return core._BigIntImpl.zero; + } + let resultUsed = dart.notNull(used) + dart.notNull(n); + let digits = this[_digits$]; + let resultDigits = _native_typed_data.NativeUint16List.new(resultUsed); + for (let i = dart.notNull(used) - 1; i >= 0; i = i - 1) { + resultDigits[$_set](i + dart.notNull(n), digits[$_get](i)); + } + return new core._BigIntImpl.__(this[_isNegative], resultUsed, resultDigits); + } + static _dlShiftDigits(xDigits, xUsed, n, resultDigits) { + if (xDigits == null) dart.nullFailed(I[7], 1366, 18, "xDigits"); + if (xUsed == null) dart.nullFailed(I[7], 1366, 31, "xUsed"); + if (n == null) dart.nullFailed(I[7], 1366, 42, "n"); + if (resultDigits == null) dart.nullFailed(I[7], 1366, 56, "resultDigits"); + if (xUsed === 0) { + return 0; + } + if (n === 0 && resultDigits == xDigits) { + return xUsed; + } + let resultUsed = dart.notNull(xUsed) + dart.notNull(n); + for (let i = dart.notNull(xUsed) - 1; i >= 0; i = i - 1) { + resultDigits[$_set](i + dart.notNull(n), xDigits[$_get](i)); + } + for (let i = dart.notNull(n) - 1; i >= 0; i = i - 1) { + resultDigits[$_set](i, 0); + } + return resultUsed; + } + [_drShift](n) { + if (n == null) dart.nullFailed(I[7], 1384, 28, "n"); + let used = this[_used$]; + if (used === 0) { + return core._BigIntImpl.zero; + } + let resultUsed = dart.notNull(used) - dart.notNull(n); + if (resultUsed <= 0) { + return dart.test(this[_isNegative]) ? core._BigIntImpl._minusOne : core._BigIntImpl.zero; + } + let digits = this[_digits$]; + let resultDigits = _native_typed_data.NativeUint16List.new(resultUsed); + for (let i = n; dart.notNull(i) < dart.notNull(used); i = dart.notNull(i) + 1) { + resultDigits[$_set](dart.notNull(i) - dart.notNull(n), digits[$_get](i)); + } + let result = new core._BigIntImpl.__(this[_isNegative], resultUsed, resultDigits); + if (dart.test(this[_isNegative])) { + for (let i = 0; i < dart.notNull(n); i = i + 1) { + if (digits[$_get](i) !== 0) { + return result['-'](core._BigIntImpl.one); + } + } + } + return result; + } + static _lsh(xDigits, xUsed, n, resultDigits) { + if (xDigits == null) dart.nullFailed(I[7], 1417, 18, "xDigits"); + if (xUsed == null) dart.nullFailed(I[7], 1417, 31, "xUsed"); + if (n == null) dart.nullFailed(I[7], 1417, 42, "n"); + if (resultDigits == null) dart.nullFailed(I[7], 1417, 56, "resultDigits"); + if (!(dart.notNull(xUsed) > 0)) dart.assertFailed(null, I[7], 1418, 12, "xUsed > 0"); + let digitShift = (dart.notNull(n) / 16)[$truncate](); + let bitShift = n[$modulo](16); + let carryBitShift = 16 - bitShift; + let bitMask = (1)[$leftShift](carryBitShift) - 1; + let carry = 0; + for (let i = dart.notNull(xUsed) - 1; i >= 0; i = i - 1) { + let digit = xDigits[$_get](i); + resultDigits[$_set](i + digitShift + 1, (digit[$rightShift](carryBitShift) | carry) >>> 0); + carry = ((dart.notNull(digit) & bitMask) >>> 0)[$leftShift](bitShift); + } + resultDigits[$_set](digitShift, carry); + } + ['<<'](shiftAmount) { + if (shiftAmount == null) dart.nullFailed(I[7], 1444, 31, "shiftAmount"); + if (dart.notNull(shiftAmount) < 0) { + dart.throw(new core.ArgumentError.new("shift-amount must be posititve " + dart.str(shiftAmount))); + } + if (dart.test(this[_isZero])) return this; + let digitShift = (dart.notNull(shiftAmount) / 16)[$truncate](); + let bitShift = shiftAmount[$modulo](16); + if (bitShift === 0) { + return this[_dlShift](digitShift); + } + let resultUsed = dart.notNull(this[_used$]) + digitShift + 1; + let resultDigits = _native_typed_data.NativeUint16List.new(resultUsed); + core._BigIntImpl._lsh(this[_digits$], this[_used$], shiftAmount, resultDigits); + return new core._BigIntImpl.__(this[_isNegative], resultUsed, resultDigits); + } + static _lShiftDigits(xDigits, xUsed, n, resultDigits) { + if (xDigits == null) dart.nullFailed(I[7], 1463, 18, "xDigits"); + if (xUsed == null) dart.nullFailed(I[7], 1463, 31, "xUsed"); + if (n == null) dart.nullFailed(I[7], 1463, 42, "n"); + if (resultDigits == null) dart.nullFailed(I[7], 1463, 56, "resultDigits"); + let digitsShift = (dart.notNull(n) / 16)[$truncate](); + let bitShift = n[$modulo](16); + if (bitShift === 0) { + return core._BigIntImpl._dlShiftDigits(xDigits, xUsed, digitsShift, resultDigits); + } + let resultUsed = dart.notNull(xUsed) + digitsShift + 1; + core._BigIntImpl._lsh(xDigits, xUsed, n, resultDigits); + let i = digitsShift; + while ((i = i - 1) >= 0) { + resultDigits[$_set](i, 0); + } + if (resultDigits[$_get](resultUsed - 1) === 0) { + resultUsed = resultUsed - 1; + } + return resultUsed; + } + static _rsh(xDigits, xUsed, n, resultDigits) { + if (xDigits == null) dart.nullFailed(I[7], 1483, 18, "xDigits"); + if (xUsed == null) dart.nullFailed(I[7], 1483, 31, "xUsed"); + if (n == null) dart.nullFailed(I[7], 1483, 42, "n"); + if (resultDigits == null) dart.nullFailed(I[7], 1483, 56, "resultDigits"); + if (!(dart.notNull(xUsed) > 0)) dart.assertFailed(null, I[7], 1484, 12, "xUsed > 0"); + let digitsShift = (dart.notNull(n) / 16)[$truncate](); + let bitShift = n[$modulo](16); + let carryBitShift = 16 - bitShift; + let bitMask = (1)[$leftShift](bitShift) - 1; + let carry = xDigits[$_get](digitsShift)[$rightShift](bitShift); + let last = dart.notNull(xUsed) - digitsShift - 1; + for (let i = 0; i < last; i = i + 1) { + let digit = xDigits[$_get](i + digitsShift + 1); + resultDigits[$_set](i, (((dart.notNull(digit) & bitMask) >>> 0)[$leftShift](carryBitShift) | carry) >>> 0); + carry = digit[$rightShift](bitShift); + } + resultDigits[$_set](last, carry); + } + ['>>'](shiftAmount) { + if (shiftAmount == null) dart.nullFailed(I[7], 1508, 31, "shiftAmount"); + if (dart.notNull(shiftAmount) < 0) { + dart.throw(new core.ArgumentError.new("shift-amount must be posititve " + dart.str(shiftAmount))); + } + if (dart.test(this[_isZero])) return this; + let digitShift = (dart.notNull(shiftAmount) / 16)[$truncate](); + let bitShift = shiftAmount[$modulo](16); + if (bitShift === 0) { + return this[_drShift](digitShift); + } + let used = this[_used$]; + let resultUsed = dart.notNull(used) - digitShift; + if (resultUsed <= 0) { + return dart.test(this[_isNegative]) ? core._BigIntImpl._minusOne : core._BigIntImpl.zero; + } + let digits = this[_digits$]; + let resultDigits = _native_typed_data.NativeUint16List.new(resultUsed); + core._BigIntImpl._rsh(digits, used, shiftAmount, resultDigits); + let result = new core._BigIntImpl.__(this[_isNegative], resultUsed, resultDigits); + if (dart.test(this[_isNegative])) { + if ((dart.notNull(digits[$_get](digitShift)) & (1)[$leftShift](bitShift) - 1) !== 0) { + return result['-'](core._BigIntImpl.one); + } + for (let i = 0; i < digitShift; i = i + 1) { + if (digits[$_get](i) !== 0) { + return result['-'](core._BigIntImpl.one); + } + } + } + return result; + } + [_absCompare](other) { + if (other == null) dart.nullFailed(I[7], 1545, 31, "other"); + return core._BigIntImpl._compareDigits(this[_digits$], this[_used$], other[_digits$], other[_used$]); + } + compareTo(other) { + core._BigIntImpl.as(other); + if (other == null) dart.nullFailed(I[7], 1555, 39, "other"); + if (this[_isNegative] == other[_isNegative]) { + let result = this[_absCompare](other); + return dart.test(this[_isNegative]) ? 0 - dart.notNull(result) : result; + } + return dart.test(this[_isNegative]) ? -1 : 1; + } + static _compareDigits(digits, used, otherDigits, otherUsed) { + if (digits == null) dart.nullFailed(I[7], 1569, 18, "digits"); + if (used == null) dart.nullFailed(I[7], 1569, 30, "used"); + if (otherDigits == null) dart.nullFailed(I[7], 1569, 47, "otherDigits"); + if (otherUsed == null) dart.nullFailed(I[7], 1569, 64, "otherUsed"); + let result = dart.notNull(used) - dart.notNull(otherUsed); + if (result === 0) { + for (let i = dart.notNull(used) - 1; i >= 0; i = i - 1) { + result = dart.notNull(digits[$_get](i)) - dart.notNull(otherDigits[$_get](i)); + if (result !== 0) return result; + } + } + return result; + } + static _absAdd(digits, used, otherDigits, otherUsed, resultDigits) { + if (digits == null) dart.nullFailed(I[7], 1582, 34, "digits"); + if (used == null) dart.nullFailed(I[7], 1582, 46, "used"); + if (otherDigits == null) dart.nullFailed(I[7], 1582, 63, "otherDigits"); + if (otherUsed == null) dart.nullFailed(I[7], 1583, 11, "otherUsed"); + if (resultDigits == null) dart.nullFailed(I[7], 1583, 33, "resultDigits"); + if (!(dart.notNull(used) >= dart.notNull(otherUsed) && dart.notNull(otherUsed) > 0)) dart.assertFailed(null, I[7], 1584, 12, "used >= otherUsed && otherUsed > 0"); + let carry = 0; + for (let i = 0; i < dart.notNull(otherUsed); i = i + 1) { + carry = carry + (dart.notNull(digits[$_get](i)) + dart.notNull(otherDigits[$_get](i))); + resultDigits[$_set](i, (carry & 65535) >>> 0); + carry = carry[$rightShift](16); + } + for (let i = otherUsed; dart.notNull(i) < dart.notNull(used); i = dart.notNull(i) + 1) { + carry = carry + dart.notNull(digits[$_get](i)); + resultDigits[$_set](i, (carry & 65535) >>> 0); + carry = carry[$rightShift](16); + } + resultDigits[$_set](used, carry); + } + static _absSub(digits, used, otherDigits, otherUsed, resultDigits) { + if (digits == null) dart.nullFailed(I[7], 1601, 34, "digits"); + if (used == null) dart.nullFailed(I[7], 1601, 46, "used"); + if (otherDigits == null) dart.nullFailed(I[7], 1601, 63, "otherDigits"); + if (otherUsed == null) dart.nullFailed(I[7], 1602, 11, "otherUsed"); + if (resultDigits == null) dart.nullFailed(I[7], 1602, 33, "resultDigits"); + if (!(dart.notNull(used) >= dart.notNull(otherUsed) && dart.notNull(otherUsed) > 0)) dart.assertFailed(null, I[7], 1603, 12, "used >= otherUsed && otherUsed > 0"); + let carry = 0; + for (let i = 0; i < dart.notNull(otherUsed); i = i + 1) { + carry = carry + (dart.notNull(digits[$_get](i)) - dart.notNull(otherDigits[$_get](i))); + resultDigits[$_set](i, (carry & 65535) >>> 0); + carry = 0 - (carry[$rightShift](16) & 1); + } + for (let i = otherUsed; dart.notNull(i) < dart.notNull(used); i = dart.notNull(i) + 1) { + carry = carry + dart.notNull(digits[$_get](i)); + resultDigits[$_set](i, (carry & 65535) >>> 0); + carry = 0 - (carry[$rightShift](16) & 1); + } + } + [_absAddSetSign](other, isNegative) { + if (other == null) dart.nullFailed(I[7], 1623, 42, "other"); + if (isNegative == null) dart.nullFailed(I[7], 1623, 54, "isNegative"); + let used = this[_used$]; + let otherUsed = other[_used$]; + if (dart.notNull(used) < dart.notNull(otherUsed)) { + return other[_absAddSetSign](this, isNegative); + } + if (used === 0) { + if (!!dart.test(isNegative)) dart.assertFailed(null, I[7], 1630, 14, "!isNegative"); + return core._BigIntImpl.zero; + } + if (otherUsed === 0) { + return this[_isNegative] == isNegative ? this : this._negate(); + } + let resultUsed = dart.notNull(used) + 1; + let resultDigits = _native_typed_data.NativeUint16List.new(resultUsed); + core._BigIntImpl._absAdd(this[_digits$], used, other[_digits$], otherUsed, resultDigits); + return new core._BigIntImpl.__(isNegative, resultUsed, resultDigits); + } + [_absSubSetSign](other, isNegative) { + if (other == null) dart.nullFailed(I[7], 1645, 42, "other"); + if (isNegative == null) dart.nullFailed(I[7], 1645, 54, "isNegative"); + if (!(dart.notNull(this[_absCompare](other)) >= 0)) dart.assertFailed(null, I[7], 1646, 12, "_absCompare(other) >= 0"); + let used = this[_used$]; + if (used === 0) { + if (!!dart.test(isNegative)) dart.assertFailed(null, I[7], 1649, 14, "!isNegative"); + return core._BigIntImpl.zero; + } + let otherUsed = other[_used$]; + if (otherUsed === 0) { + return this[_isNegative] == isNegative ? this : this._negate(); + } + let resultDigits = _native_typed_data.NativeUint16List.new(used); + core._BigIntImpl._absSub(this[_digits$], used, other[_digits$], otherUsed, resultDigits); + return new core._BigIntImpl.__(isNegative, used, resultDigits); + } + [_absAndSetSign](other, isNegative) { + if (other == null) dart.nullFailed(I[7], 1662, 42, "other"); + if (isNegative == null) dart.nullFailed(I[7], 1662, 54, "isNegative"); + let resultUsed = core._min(this[_used$], other[_used$]); + let digits = this[_digits$]; + let otherDigits = other[_digits$]; + let resultDigits = _native_typed_data.NativeUint16List.new(resultUsed); + for (let i = 0; i < dart.notNull(resultUsed); i = i + 1) { + resultDigits[$_set](i, (dart.notNull(digits[$_get](i)) & dart.notNull(otherDigits[$_get](i))) >>> 0); + } + return new core._BigIntImpl.__(isNegative, resultUsed, resultDigits); + } + [_absAndNotSetSign](other, isNegative) { + if (other == null) dart.nullFailed(I[7], 1674, 45, "other"); + if (isNegative == null) dart.nullFailed(I[7], 1674, 57, "isNegative"); + let resultUsed = this[_used$]; + let digits = this[_digits$]; + let otherDigits = other[_digits$]; + let resultDigits = _native_typed_data.NativeUint16List.new(resultUsed); + let m = core._min(resultUsed, other[_used$]); + for (let i = 0; i < dart.notNull(m); i = i + 1) { + resultDigits[$_set](i, (dart.notNull(digits[$_get](i)) & ~dart.notNull(otherDigits[$_get](i)) >>> 0) >>> 0); + } + for (let i = m; dart.notNull(i) < dart.notNull(resultUsed); i = dart.notNull(i) + 1) { + resultDigits[$_set](i, digits[$_get](i)); + } + return new core._BigIntImpl.__(isNegative, resultUsed, resultDigits); + } + [_absOrSetSign](other, isNegative) { + if (other == null) dart.nullFailed(I[7], 1690, 41, "other"); + if (isNegative == null) dart.nullFailed(I[7], 1690, 53, "isNegative"); + let used = this[_used$]; + let otherUsed = other[_used$]; + let resultUsed = core._max(used, otherUsed); + let digits = this[_digits$]; + let otherDigits = other[_digits$]; + let resultDigits = _native_typed_data.NativeUint16List.new(resultUsed); + let l = null; + let m = null; + if (dart.notNull(used) < dart.notNull(otherUsed)) { + l = other; + m = used; + } else { + l = this; + m = otherUsed; + } + for (let i = 0; i < dart.notNull(m); i = i + 1) { + resultDigits[$_set](i, (dart.notNull(digits[$_get](i)) | dart.notNull(otherDigits[$_get](i))) >>> 0); + } + let lDigits = l[_digits$]; + for (let i = m; dart.notNull(i) < dart.notNull(resultUsed); i = dart.notNull(i) + 1) { + resultDigits[$_set](i, lDigits[$_get](i)); + } + return new core._BigIntImpl.__(isNegative, resultUsed, resultDigits); + } + [_absXorSetSign](other, isNegative) { + if (other == null) dart.nullFailed(I[7], 1717, 42, "other"); + if (isNegative == null) dart.nullFailed(I[7], 1717, 54, "isNegative"); + let used = this[_used$]; + let otherUsed = other[_used$]; + let resultUsed = core._max(used, otherUsed); + let digits = this[_digits$]; + let otherDigits = other[_digits$]; + let resultDigits = _native_typed_data.NativeUint16List.new(resultUsed); + let l = null; + let m = null; + if (dart.notNull(used) < dart.notNull(otherUsed)) { + l = other; + m = used; + } else { + l = this; + m = otherUsed; + } + for (let i = 0; i < dart.notNull(m); i = i + 1) { + resultDigits[$_set](i, (dart.notNull(digits[$_get](i)) ^ dart.notNull(otherDigits[$_get](i))) >>> 0); + } + let lDigits = l[_digits$]; + for (let i = m; dart.notNull(i) < dart.notNull(resultUsed); i = dart.notNull(i) + 1) { + resultDigits[$_set](i, lDigits[$_get](i)); + } + return new core._BigIntImpl.__(isNegative, resultUsed, resultDigits); + } + ['&'](other) { + core._BigIntImpl.as(other); + if (other == null) dart.nullFailed(I[7], 1753, 48, "other"); + if (dart.test(this[_isZero]) || dart.test(other[_isZero])) return core._BigIntImpl.zero; + if (this[_isNegative] == other[_isNegative]) { + if (dart.test(this[_isNegative])) { + let this1 = this[_absSubSetSign](core._BigIntImpl.one, true); + let other1 = other[_absSubSetSign](core._BigIntImpl.one, true); + return this1[_absOrSetSign](other1, true)[_absAddSetSign](core._BigIntImpl.one, true); + } + return this[_absAndSetSign](other, false); + } + let p = null; + let n = null; + if (dart.test(this[_isNegative])) { + p = other; + n = this; + } else { + p = this; + n = other; + } + let n1 = n[_absSubSetSign](core._BigIntImpl.one, false); + return p[_absAndNotSetSign](n1, false); + } + ['|'](other) { + core._BigIntImpl.as(other); + if (other == null) dart.nullFailed(I[7], 1792, 48, "other"); + if (dart.test(this[_isZero])) return other; + if (dart.test(other[_isZero])) return this; + if (this[_isNegative] == other[_isNegative]) { + if (dart.test(this[_isNegative])) { + let this1 = this[_absSubSetSign](core._BigIntImpl.one, true); + let other1 = other[_absSubSetSign](core._BigIntImpl.one, true); + return this1[_absAndSetSign](other1, true)[_absAddSetSign](core._BigIntImpl.one, true); + } + return this[_absOrSetSign](other, false); + } + let p = null; + let n = null; + if (dart.test(this[_isNegative])) { + p = other; + n = this; + } else { + p = this; + n = other; + } + let n1 = n[_absSubSetSign](core._BigIntImpl.one, true); + return n1[_absAndNotSetSign](p, true)[_absAddSetSign](core._BigIntImpl.one, true); + } + ['^'](other) { + core._BigIntImpl.as(other); + if (other == null) dart.nullFailed(I[7], 1833, 48, "other"); + if (dart.test(this[_isZero])) return other; + if (dart.test(other[_isZero])) return this; + if (this[_isNegative] == other[_isNegative]) { + if (dart.test(this[_isNegative])) { + let this1 = this[_absSubSetSign](core._BigIntImpl.one, true); + let other1 = other[_absSubSetSign](core._BigIntImpl.one, true); + return this1[_absXorSetSign](other1, false); + } + return this[_absXorSetSign](other, false); + } + let p = null; + let n = null; + if (dart.test(this[_isNegative])) { + p = other; + n = this; + } else { + p = this; + n = other; + } + let n1 = n[_absSubSetSign](core._BigIntImpl.one, true); + return p[_absXorSetSign](n1, true)[_absAddSetSign](core._BigIntImpl.one, true); + } + ['~']() { + if (dart.test(this[_isZero])) return core._BigIntImpl._minusOne; + if (dart.test(this[_isNegative])) { + return this[_absSubSetSign](core._BigIntImpl.one, false); + } + return this[_absAddSetSign](core._BigIntImpl.one, true); + } + ['+'](other) { + core._BigIntImpl.as(other); + if (other == null) dart.nullFailed(I[7], 1881, 48, "other"); + if (dart.test(this[_isZero])) return other; + if (dart.test(other[_isZero])) return this; + let isNegative = this[_isNegative]; + if (isNegative == other[_isNegative]) { + return this[_absAddSetSign](other, isNegative); + } + if (dart.notNull(this[_absCompare](other)) >= 0) { + return this[_absSubSetSign](other, isNegative); + } + return other[_absSubSetSign](this, !dart.test(isNegative)); + } + ['-'](other) { + core._BigIntImpl.as(other); + if (other == null) dart.nullFailed(I[7], 1899, 48, "other"); + if (dart.test(this[_isZero])) return other._negate(); + if (dart.test(other[_isZero])) return this; + let isNegative = this[_isNegative]; + if (isNegative != other[_isNegative]) { + return this[_absAddSetSign](other, isNegative); + } + if (dart.notNull(this[_absCompare](other)) >= 0) { + return this[_absSubSetSign](other, isNegative); + } + return other[_absSubSetSign](this, !dart.test(isNegative)); + } + static _mulAdd(x, multiplicandDigits, i, accumulatorDigits, j, n) { + let t247, t247$, t247$0; + if (x == null) dart.nullFailed(I[7], 1928, 27, "x"); + if (multiplicandDigits == null) dart.nullFailed(I[7], 1928, 41, "multiplicandDigits"); + if (i == null) dart.nullFailed(I[7], 1928, 65, "i"); + if (accumulatorDigits == null) dart.nullFailed(I[7], 1929, 18, "accumulatorDigits"); + if (j == null) dart.nullFailed(I[7], 1929, 41, "j"); + if (n == null) dart.nullFailed(I[7], 1929, 48, "n"); + if (x === 0) { + return; + } + let c = 0; + while ((n = dart.notNull(n) - 1) >= 0) { + let product = dart.notNull(x) * dart.notNull(multiplicandDigits[$_get]((t247 = i, i = dart.notNull(t247) + 1, t247))); + let combined = product + dart.notNull(accumulatorDigits[$_get](j)) + c; + accumulatorDigits[$_set]((t247$ = j, j = dart.notNull(t247$) + 1, t247$), (combined & 65535) >>> 0); + c = (combined / 65536)[$truncate](); + } + while (c !== 0) { + let l = dart.notNull(accumulatorDigits[$_get](j)) + c; + accumulatorDigits[$_set]((t247$0 = j, j = dart.notNull(t247$0) + 1, t247$0), (l & 65535) >>> 0); + c = (l / 65536)[$truncate](); + } + } + ['*'](other) { + core._BigIntImpl.as(other); + if (other == null) dart.nullFailed(I[7], 1951, 48, "other"); + let used = this[_used$]; + let otherUsed = other[_used$]; + if (used === 0 || otherUsed === 0) { + return core._BigIntImpl.zero; + } + let resultUsed = dart.notNull(used) + dart.notNull(otherUsed); + let digits = this[_digits$]; + let otherDigits = other[_digits$]; + let resultDigits = _native_typed_data.NativeUint16List.new(resultUsed); + let i = 0; + while (i < dart.notNull(otherUsed)) { + core._BigIntImpl._mulAdd(otherDigits[$_get](i), digits, 0, resultDigits, i, used); + i = i + 1; + } + return new core._BigIntImpl.__(this[_isNegative] != other[_isNegative], resultUsed, resultDigits); + } + static _mulDigits(xDigits, xUsed, otherDigits, otherUsed, resultDigits) { + if (xDigits == null) dart.nullFailed(I[7], 1972, 36, "xDigits"); + if (xUsed == null) dart.nullFailed(I[7], 1972, 49, "xUsed"); + if (otherDigits == null) dart.nullFailed(I[7], 1972, 67, "otherDigits"); + if (otherUsed == null) dart.nullFailed(I[7], 1973, 11, "otherUsed"); + if (resultDigits == null) dart.nullFailed(I[7], 1973, 33, "resultDigits"); + let resultUsed = dart.notNull(xUsed) + dart.notNull(otherUsed); + let i = resultUsed; + if (!(dart.notNull(resultDigits[$length]) >= i)) dart.assertFailed(null, I[7], 1976, 12, "resultDigits.length >= i"); + while ((i = i - 1) >= 0) { + resultDigits[$_set](i, 0); + } + i = 0; + while (i < dart.notNull(otherUsed)) { + core._BigIntImpl._mulAdd(otherDigits[$_get](i), xDigits, 0, resultDigits, i, xUsed); + i = i + 1; + } + return resultUsed; + } + static _estimateQuotientDigit(topDigitDivisor, digits, i) { + if (topDigitDivisor == null) dart.nullFailed(I[7], 1990, 11, "topDigitDivisor"); + if (digits == null) dart.nullFailed(I[7], 1990, 39, "digits"); + if (i == null) dart.nullFailed(I[7], 1990, 51, "i"); + if (digits[$_get](i) == topDigitDivisor) return 65535; + let quotientDigit = (((digits[$_get](i)[$leftShift](16) | dart.notNull(digits[$_get](dart.notNull(i) - 1))) >>> 0) / dart.notNull(topDigitDivisor))[$truncate](); + if (quotientDigit > 65535) return 65535; + return quotientDigit; + } + [_div](other) { + if (other == null) dart.nullFailed(I[7], 1999, 32, "other"); + if (!(dart.notNull(other[_used$]) > 0)) dart.assertFailed(null, I[7], 2000, 12, "other._used > 0"); + if (dart.notNull(this[_used$]) < dart.notNull(other[_used$])) { + return core._BigIntImpl.zero; + } + this[_divRem](other); + let lastQuo_used = dart.nullCheck(core._BigIntImpl._lastQuoRemUsed) - dart.nullCheck(core._BigIntImpl._lastRemUsed); + let quo_digits = core._BigIntImpl._cloneDigits(dart.nullCheck(core._BigIntImpl._lastQuoRemDigits), dart.nullCheck(core._BigIntImpl._lastRemUsed), dart.nullCheck(core._BigIntImpl._lastQuoRemUsed), lastQuo_used); + let quo = new core._BigIntImpl.__(false, lastQuo_used, quo_digits); + if (this[_isNegative] != other[_isNegative] && dart.notNull(quo[_used$]) > 0) { + quo = quo._negate(); + } + return quo; + } + [_rem](other) { + if (other == null) dart.nullFailed(I[7], 2018, 32, "other"); + if (!(dart.notNull(other[_used$]) > 0)) dart.assertFailed(null, I[7], 2019, 12, "other._used > 0"); + if (dart.notNull(this[_used$]) < dart.notNull(other[_used$])) { + return this; + } + this[_divRem](other); + let remDigits = core._BigIntImpl._cloneDigits(dart.nullCheck(core._BigIntImpl._lastQuoRemDigits), 0, dart.nullCheck(core._BigIntImpl._lastRemUsed), dart.nullCheck(core._BigIntImpl._lastRemUsed)); + let rem = new core._BigIntImpl.__(false, dart.nullCheck(core._BigIntImpl._lastRemUsed), remDigits); + if (dart.nullCheck(core._BigIntImpl._lastRem_nsh) > 0) { + rem = rem['>>'](dart.nullCheck(core._BigIntImpl._lastRem_nsh)); + } + if (dart.test(this[_isNegative]) && dart.notNull(rem[_used$]) > 0) { + rem = rem._negate(); + } + return rem; + } + [_divRem](other) { + let t247, t247$; + if (other == null) dart.nullFailed(I[7], 2046, 28, "other"); + if (this[_used$] == core._BigIntImpl._lastDividendUsed && other[_used$] == core._BigIntImpl._lastDivisorUsed && this[_digits$] == core._BigIntImpl._lastDividendDigits && other[_digits$] == core._BigIntImpl._lastDivisorDigits) { + return; + } + if (!(dart.notNull(this[_used$]) >= dart.notNull(other[_used$]))) dart.assertFailed(null, I[7], 2054, 12, "_used >= other._used"); + let nsh = 16 - other[_digits$][$_get](dart.notNull(other[_used$]) - 1)[$bitLength]; + let resultDigits = null; + let resultUsed = null; + let yDigits = null; + let yUsed = null; + if (nsh > 0) { + yDigits = _native_typed_data.NativeUint16List.new(dart.notNull(other[_used$]) + 5); + yUsed = core._BigIntImpl._lShiftDigits(other[_digits$], other[_used$], nsh, yDigits); + resultDigits = _native_typed_data.NativeUint16List.new(dart.notNull(this[_used$]) + 5); + resultUsed = core._BigIntImpl._lShiftDigits(this[_digits$], this[_used$], nsh, resultDigits); + } else { + yDigits = other[_digits$]; + yUsed = other[_used$]; + resultDigits = core._BigIntImpl._cloneDigits(this[_digits$], 0, this[_used$], dart.notNull(this[_used$]) + 2); + resultUsed = this[_used$]; + } + let topDigitDivisor = yDigits[$_get](dart.notNull(yUsed) - 1); + let i = resultUsed; + let j = dart.notNull(i) - dart.notNull(yUsed); + let tmpDigits = _native_typed_data.NativeUint16List.new(i); + let tmpUsed = core._BigIntImpl._dlShiftDigits(yDigits, yUsed, j, tmpDigits); + if (dart.notNull(core._BigIntImpl._compareDigits(resultDigits, resultUsed, tmpDigits, tmpUsed)) >= 0) { + if (!(i == resultUsed)) dart.assertFailed(null, I[7], 2087, 14, "i == resultUsed"); + resultDigits[$_set]((t247 = resultUsed, resultUsed = dart.notNull(t247) + 1, t247), 1); + core._BigIntImpl._absSub(resultDigits, resultUsed, tmpDigits, tmpUsed, resultDigits); + } else { + resultDigits[$_set]((t247$ = resultUsed, resultUsed = dart.notNull(t247$) + 1, t247$), 0); + } + let nyDigits = _native_typed_data.NativeUint16List.new(dart.notNull(yUsed) + 2); + nyDigits[$_set](yUsed, 1); + core._BigIntImpl._absSub(nyDigits, dart.notNull(yUsed) + 1, yDigits, yUsed, nyDigits); + i = dart.notNull(i) - 1; + while (j > 0) { + let estimatedQuotientDigit = core._BigIntImpl._estimateQuotientDigit(topDigitDivisor, resultDigits, i); + j = j - 1; + core._BigIntImpl._mulAdd(estimatedQuotientDigit, nyDigits, 0, resultDigits, j, yUsed); + if (dart.notNull(resultDigits[$_get](i)) < dart.notNull(estimatedQuotientDigit)) { + let tmpUsed = core._BigIntImpl._dlShiftDigits(nyDigits, yUsed, j, tmpDigits); + core._BigIntImpl._absSub(resultDigits, resultUsed, tmpDigits, tmpUsed, resultDigits); + while (dart.notNull(resultDigits[$_get](i)) < (estimatedQuotientDigit = dart.notNull(estimatedQuotientDigit) - 1)) { + core._BigIntImpl._absSub(resultDigits, resultUsed, tmpDigits, tmpUsed, resultDigits); + } + } + i = dart.notNull(i) - 1; + } + core._BigIntImpl._lastDividendDigits = this[_digits$]; + core._BigIntImpl._lastDividendUsed = this[_used$]; + core._BigIntImpl._lastDivisorDigits = other[_digits$]; + core._BigIntImpl._lastDivisorUsed = other[_used$]; + core._BigIntImpl._lastQuoRemDigits = resultDigits; + core._BigIntImpl._lastQuoRemUsed = resultUsed; + core._BigIntImpl._lastRemUsed = yUsed; + core._BigIntImpl._lastRem_nsh = nsh; + } + get hashCode() { + function combine(hash, value) { + if (hash == null) dart.nullFailed(I[7], 2139, 21, "hash"); + if (value == null) dart.nullFailed(I[7], 2139, 31, "value"); + hash = 536870911 & dart.notNull(hash) + dart.notNull(value); + hash = 536870911 & dart.notNull(hash) + ((524287 & dart.notNull(hash)) << 10); + return (dart.notNull(hash) ^ hash[$rightShift](6)) >>> 0; + } + dart.fn(combine, T$0.intAndintToint()); + function finish(hash) { + if (hash == null) dart.nullFailed(I[7], 2145, 20, "hash"); + hash = 536870911 & dart.notNull(hash) + ((67108863 & dart.notNull(hash)) << 3); + hash = (dart.notNull(hash) ^ hash[$rightShift](11)) >>> 0; + return 536870911 & dart.notNull(hash) + ((16383 & dart.notNull(hash)) << 15); + } + dart.fn(finish, T$0.intToint()); + if (dart.test(this[_isZero])) return 6707; + let hash = dart.test(this[_isNegative]) ? 83585 : 429689; + for (let i = 0; i < dart.notNull(this[_used$]); i = i + 1) { + hash = combine(hash, this[_digits$][$_get](i)); + } + return finish(hash); + } + _equals(other) { + if (other == null) return false; + return core._BigIntImpl.is(other) && this.compareTo(other) === 0; + } + get bitLength() { + if (this[_used$] === 0) return 0; + if (dart.test(this[_isNegative])) return this['~']().bitLength; + return 16 * (dart.notNull(this[_used$]) - 1) + this[_digits$][$_get](dart.notNull(this[_used$]) - 1)[$bitLength]; + } + ['~/'](other) { + core._BigIntImpl.as(other); + if (other == null) dart.nullFailed(I[7], 2218, 49, "other"); + if (other[_used$] === 0) { + dart.throw(C[419] || CT.C419); + } + return this[_div](other); + } + remainder(other) { + core._BigIntImpl.as(other); + if (other == null) dart.nullFailed(I[7], 2232, 47, "other"); + if (other[_used$] === 0) { + dart.throw(C[419] || CT.C419); + } + return this[_rem](other); + } + ['/'](other) { + if (other == null) dart.nullFailed(I[7], 2240, 28, "other"); + return dart.notNull(this.toDouble()) / dart.notNull(other.toDouble()); + } + ['<'](other) { + core._BigIntImpl.as(other); + if (other == null) dart.nullFailed(I[7], 2243, 41, "other"); + return dart.notNull(this.compareTo(other)) < 0; + } + ['<='](other) { + core._BigIntImpl.as(other); + if (other == null) dart.nullFailed(I[7], 2246, 42, "other"); + return dart.notNull(this.compareTo(other)) <= 0; + } + ['>'](other) { + core._BigIntImpl.as(other); + if (other == null) dart.nullFailed(I[7], 2249, 41, "other"); + return dart.notNull(this.compareTo(other)) > 0; + } + ['>='](other) { + core._BigIntImpl.as(other); + if (other == null) dart.nullFailed(I[7], 2252, 42, "other"); + return dart.notNull(this.compareTo(other)) >= 0; + } + ['%'](other) { + core._BigIntImpl.as(other); + if (other == null) dart.nullFailed(I[7], 2265, 48, "other"); + if (other[_used$] === 0) { + dart.throw(C[419] || CT.C419); + } + let result = this[_rem](other); + if (dart.test(result[_isNegative])) { + if (dart.test(other[_isNegative])) { + result = result['-'](other); + } else { + result = result['+'](other); + } + } + return result; + } + get sign() { + if (this[_used$] === 0) return 0; + return dart.test(this[_isNegative]) ? -1 : 1; + } + get isEven() { + return this[_used$] === 0 || (dart.notNull(this[_digits$][$_get](0)) & 1) === 0; + } + get isOdd() { + return !dart.test(this.isEven); + } + get isNegative() { + return this[_isNegative]; + } + pow(exponent) { + if (exponent == null) dart.nullFailed(I[7], 2300, 23, "exponent"); + if (dart.notNull(exponent) < 0) { + dart.throw(new core.ArgumentError.new("Exponent must not be negative: " + dart.str(exponent))); + } + if (exponent === 0) return core._BigIntImpl.one; + let result = core._BigIntImpl.one; + let base = this; + while (exponent !== 0) { + if ((dart.notNull(exponent) & 1) === 1) { + result = result['*'](base); + } + exponent = exponent[$rightShift](1); + if (exponent !== 0) { + base = base['*'](base); + } + } + return result; + } + modPow(exponent, modulus) { + core._BigIntImpl.as(exponent); + if (exponent == null) dart.nullFailed(I[7], 2329, 29, "exponent"); + core._BigIntImpl.as(modulus); + if (modulus == null) dart.nullFailed(I[7], 2329, 61, "modulus"); + if (dart.test(exponent[_isNegative])) { + dart.throw(new core.ArgumentError.new("exponent must be positive: " + dart.str(exponent))); + } + if (dart.test(modulus['<='](core._BigIntImpl.zero))) { + dart.throw(new core.ArgumentError.new("modulus must be strictly positive: " + dart.str(modulus))); + } + if (dart.test(exponent[_isZero])) return core._BigIntImpl.one; + let modulusUsed = modulus[_used$]; + let modulusUsed2p4 = 2 * dart.notNull(modulusUsed) + 4; + let exponentBitlen = exponent.bitLength; + if (dart.notNull(exponentBitlen) <= 0) return core._BigIntImpl.one; + let z = new core._BigIntClassic.new(modulus); + let resultDigits = _native_typed_data.NativeUint16List.new(modulusUsed2p4); + let result2Digits = _native_typed_data.NativeUint16List.new(modulusUsed2p4); + let gDigits = _native_typed_data.NativeUint16List.new(modulusUsed); + let gUsed = z.convert(this, gDigits); + for (let j = dart.notNull(gUsed) - 1; j >= 0; j = j - 1) { + resultDigits[$_set](j, gDigits[$_get](j)); + } + let resultUsed = gUsed; + let result2Used = null; + for (let i = dart.notNull(exponentBitlen) - 2; i >= 0; i = i - 1) { + result2Used = z.sqr(resultDigits, resultUsed, result2Digits); + if (!dart.test(exponent['&'](core._BigIntImpl.one['<<'](i))[_isZero])) { + resultUsed = z.mul(result2Digits, result2Used, gDigits, gUsed, resultDigits); + } else { + let tmpDigits = resultDigits; + let tmpUsed = resultUsed; + resultDigits = result2Digits; + resultUsed = result2Used; + result2Digits = tmpDigits; + result2Used = tmpUsed; + } + } + return z.revert(resultDigits, resultUsed); + } + static _binaryGcd(x, y, inv) { + if (x == null) dart.nullFailed(I[7], 2375, 45, "x"); + if (y == null) dart.nullFailed(I[7], 2375, 60, "y"); + if (inv == null) dart.nullFailed(I[7], 2375, 68, "inv"); + let xDigits = x[_digits$]; + let yDigits = y[_digits$]; + let xUsed = x[_used$]; + let yUsed = y[_used$]; + let maxUsed = dart.notNull(xUsed) > dart.notNull(yUsed) ? xUsed : yUsed; + let unshiftedMaxUsed = maxUsed; + xDigits = core._BigIntImpl._cloneDigits(xDigits, 0, xUsed, maxUsed); + yDigits = core._BigIntImpl._cloneDigits(yDigits, 0, yUsed, maxUsed); + let shiftAmount = 0; + if (dart.test(inv)) { + if (yUsed === 1 && yDigits[$_get](0) === 1) return core._BigIntImpl.one; + if (yUsed === 0 || yDigits[$_get](0)[$isEven] && xDigits[$_get](0)[$isEven]) { + dart.throw(core.Exception.new("Not coprime")); + } + } else { + if (dart.test(x[_isZero])) { + dart.throw(new core.ArgumentError.value(0, "this", "must not be zero")); + } + if (dart.test(y[_isZero])) { + dart.throw(new core.ArgumentError.value(0, "other", "must not be zero")); + } + if (xUsed === 1 && xDigits[$_get](0) === 1 || yUsed === 1 && yDigits[$_get](0) === 1) return core._BigIntImpl.one; + while ((dart.notNull(xDigits[$_get](0)) & 1) === 0 && (dart.notNull(yDigits[$_get](0)) & 1) === 0) { + core._BigIntImpl._rsh(xDigits, xUsed, 1, xDigits); + core._BigIntImpl._rsh(yDigits, yUsed, 1, yDigits); + shiftAmount = shiftAmount + 1; + } + if (shiftAmount >= 16) { + let digitShiftAmount = (shiftAmount / 16)[$truncate](); + xUsed = dart.notNull(xUsed) - digitShiftAmount; + yUsed = dart.notNull(yUsed) - digitShiftAmount; + maxUsed = dart.notNull(maxUsed) - digitShiftAmount; + } + if ((dart.notNull(yDigits[$_get](0)) & 1) === 1) { + let tmpDigits = xDigits; + let tmpUsed = xUsed; + xDigits = yDigits; + xUsed = yUsed; + yDigits = tmpDigits; + yUsed = tmpUsed; + } + } + let uDigits = core._BigIntImpl._cloneDigits(xDigits, 0, xUsed, unshiftedMaxUsed); + let vDigits = core._BigIntImpl._cloneDigits(yDigits, 0, yUsed, dart.notNull(unshiftedMaxUsed) + 2); + let ac = (dart.notNull(xDigits[$_get](0)) & 1) === 0; + let abcdUsed = dart.notNull(maxUsed) + 1; + let abcdLen = abcdUsed + 2; + let aDigits = core._dummyList; + let aIsNegative = false; + let cDigits = core._dummyList; + let cIsNegative = false; + if (ac) { + aDigits = _native_typed_data.NativeUint16List.new(abcdLen); + aDigits[$_set](0, 1); + cDigits = _native_typed_data.NativeUint16List.new(abcdLen); + } + let bDigits = _native_typed_data.NativeUint16List.new(abcdLen); + let bIsNegative = false; + let dDigits = _native_typed_data.NativeUint16List.new(abcdLen); + let dIsNegative = false; + dDigits[$_set](0, 1); + while (true) { + while ((dart.notNull(uDigits[$_get](0)) & 1) === 0) { + core._BigIntImpl._rsh(uDigits, maxUsed, 1, uDigits); + if (ac) { + if ((dart.notNull(aDigits[$_get](0)) & 1) === 1 || (dart.notNull(bDigits[$_get](0)) & 1) === 1) { + if (aIsNegative) { + if (aDigits[$_get](maxUsed) !== 0 || dart.notNull(core._BigIntImpl._compareDigits(aDigits, maxUsed, yDigits, maxUsed)) > 0) { + core._BigIntImpl._absSub(aDigits, abcdUsed, yDigits, maxUsed, aDigits); + } else { + core._BigIntImpl._absSub(yDigits, maxUsed, aDigits, maxUsed, aDigits); + aIsNegative = false; + } + } else { + core._BigIntImpl._absAdd(aDigits, abcdUsed, yDigits, maxUsed, aDigits); + } + if (bIsNegative) { + core._BigIntImpl._absAdd(bDigits, abcdUsed, xDigits, maxUsed, bDigits); + } else if (bDigits[$_get](maxUsed) !== 0 || dart.notNull(core._BigIntImpl._compareDigits(bDigits, maxUsed, xDigits, maxUsed)) > 0) { + core._BigIntImpl._absSub(bDigits, abcdUsed, xDigits, maxUsed, bDigits); + } else { + core._BigIntImpl._absSub(xDigits, maxUsed, bDigits, maxUsed, bDigits); + bIsNegative = true; + } + } + core._BigIntImpl._rsh(aDigits, abcdUsed, 1, aDigits); + } else if ((dart.notNull(bDigits[$_get](0)) & 1) === 1) { + if (bIsNegative) { + core._BigIntImpl._absAdd(bDigits, abcdUsed, xDigits, maxUsed, bDigits); + } else if (bDigits[$_get](maxUsed) !== 0 || dart.notNull(core._BigIntImpl._compareDigits(bDigits, maxUsed, xDigits, maxUsed)) > 0) { + core._BigIntImpl._absSub(bDigits, abcdUsed, xDigits, maxUsed, bDigits); + } else { + core._BigIntImpl._absSub(xDigits, maxUsed, bDigits, maxUsed, bDigits); + bIsNegative = true; + } + } + core._BigIntImpl._rsh(bDigits, abcdUsed, 1, bDigits); + } + while ((dart.notNull(vDigits[$_get](0)) & 1) === 0) { + core._BigIntImpl._rsh(vDigits, maxUsed, 1, vDigits); + if (ac) { + if ((dart.notNull(cDigits[$_get](0)) & 1) === 1 || (dart.notNull(dDigits[$_get](0)) & 1) === 1) { + if (cIsNegative) { + if (cDigits[$_get](maxUsed) !== 0 || dart.notNull(core._BigIntImpl._compareDigits(cDigits, maxUsed, yDigits, maxUsed)) > 0) { + core._BigIntImpl._absSub(cDigits, abcdUsed, yDigits, maxUsed, cDigits); + } else { + core._BigIntImpl._absSub(yDigits, maxUsed, cDigits, maxUsed, cDigits); + cIsNegative = false; + } + } else { + core._BigIntImpl._absAdd(cDigits, abcdUsed, yDigits, maxUsed, cDigits); + } + if (dIsNegative) { + core._BigIntImpl._absAdd(dDigits, abcdUsed, xDigits, maxUsed, dDigits); + } else if (dDigits[$_get](maxUsed) !== 0 || dart.notNull(core._BigIntImpl._compareDigits(dDigits, maxUsed, xDigits, maxUsed)) > 0) { + core._BigIntImpl._absSub(dDigits, abcdUsed, xDigits, maxUsed, dDigits); + } else { + core._BigIntImpl._absSub(xDigits, maxUsed, dDigits, maxUsed, dDigits); + dIsNegative = true; + } + } + core._BigIntImpl._rsh(cDigits, abcdUsed, 1, cDigits); + } else if ((dart.notNull(dDigits[$_get](0)) & 1) === 1) { + if (dIsNegative) { + core._BigIntImpl._absAdd(dDigits, abcdUsed, xDigits, maxUsed, dDigits); + } else if (dDigits[$_get](maxUsed) !== 0 || dart.notNull(core._BigIntImpl._compareDigits(dDigits, maxUsed, xDigits, maxUsed)) > 0) { + core._BigIntImpl._absSub(dDigits, abcdUsed, xDigits, maxUsed, dDigits); + } else { + core._BigIntImpl._absSub(xDigits, maxUsed, dDigits, maxUsed, dDigits); + dIsNegative = true; + } + } + core._BigIntImpl._rsh(dDigits, abcdUsed, 1, dDigits); + } + if (dart.notNull(core._BigIntImpl._compareDigits(uDigits, maxUsed, vDigits, maxUsed)) >= 0) { + core._BigIntImpl._absSub(uDigits, maxUsed, vDigits, maxUsed, uDigits); + if (ac) { + if (aIsNegative === cIsNegative) { + let a_cmp_c = core._BigIntImpl._compareDigits(aDigits, abcdUsed, cDigits, abcdUsed); + if (dart.notNull(a_cmp_c) > 0) { + core._BigIntImpl._absSub(aDigits, abcdUsed, cDigits, abcdUsed, aDigits); + } else { + core._BigIntImpl._absSub(cDigits, abcdUsed, aDigits, abcdUsed, aDigits); + aIsNegative = !aIsNegative && a_cmp_c !== 0; + } + } else { + core._BigIntImpl._absAdd(aDigits, abcdUsed, cDigits, abcdUsed, aDigits); + } + } + if (bIsNegative === dIsNegative) { + let b_cmp_d = core._BigIntImpl._compareDigits(bDigits, abcdUsed, dDigits, abcdUsed); + if (dart.notNull(b_cmp_d) > 0) { + core._BigIntImpl._absSub(bDigits, abcdUsed, dDigits, abcdUsed, bDigits); + } else { + core._BigIntImpl._absSub(dDigits, abcdUsed, bDigits, abcdUsed, bDigits); + bIsNegative = !bIsNegative && b_cmp_d !== 0; + } + } else { + core._BigIntImpl._absAdd(bDigits, abcdUsed, dDigits, abcdUsed, bDigits); + } + } else { + core._BigIntImpl._absSub(vDigits, maxUsed, uDigits, maxUsed, vDigits); + if (ac) { + if (cIsNegative === aIsNegative) { + let c_cmp_a = core._BigIntImpl._compareDigits(cDigits, abcdUsed, aDigits, abcdUsed); + if (dart.notNull(c_cmp_a) > 0) { + core._BigIntImpl._absSub(cDigits, abcdUsed, aDigits, abcdUsed, cDigits); + } else { + core._BigIntImpl._absSub(aDigits, abcdUsed, cDigits, abcdUsed, cDigits); + cIsNegative = !cIsNegative && c_cmp_a !== 0; + } + } else { + core._BigIntImpl._absAdd(cDigits, abcdUsed, aDigits, abcdUsed, cDigits); + } + } + if (dIsNegative === bIsNegative) { + let d_cmp_b = core._BigIntImpl._compareDigits(dDigits, abcdUsed, bDigits, abcdUsed); + if (dart.notNull(d_cmp_b) > 0) { + core._BigIntImpl._absSub(dDigits, abcdUsed, bDigits, abcdUsed, dDigits); + } else { + core._BigIntImpl._absSub(bDigits, abcdUsed, dDigits, abcdUsed, dDigits); + dIsNegative = !dIsNegative && d_cmp_b !== 0; + } + } else { + core._BigIntImpl._absAdd(dDigits, abcdUsed, bDigits, abcdUsed, dDigits); + } + } + let i = maxUsed; + while (dart.notNull(i) > 0 && uDigits[$_get](dart.notNull(i) - 1) === 0) + i = dart.notNull(i) - 1; + if (i === 0) break; + } + if (!dart.test(inv)) { + if (shiftAmount > 0) { + maxUsed = core._BigIntImpl._lShiftDigits(vDigits, maxUsed, shiftAmount, vDigits); + } + return new core._BigIntImpl.__(false, maxUsed, vDigits); + } + let i = dart.notNull(maxUsed) - 1; + while (i > 0 && vDigits[$_get](i) === 0) + i = i - 1; + if (i !== 0 || vDigits[$_get](0) !== 1) { + dart.throw(core.Exception.new("Not coprime")); + } + if (dIsNegative) { + while (dDigits[$_get](maxUsed) !== 0 || dart.notNull(core._BigIntImpl._compareDigits(dDigits, maxUsed, xDigits, maxUsed)) > 0) { + core._BigIntImpl._absSub(dDigits, abcdUsed, xDigits, maxUsed, dDigits); + } + core._BigIntImpl._absSub(xDigits, maxUsed, dDigits, maxUsed, dDigits); + dIsNegative = false; + } else { + while (dDigits[$_get](maxUsed) !== 0 || dart.notNull(core._BigIntImpl._compareDigits(dDigits, maxUsed, xDigits, maxUsed)) >= 0) { + core._BigIntImpl._absSub(dDigits, abcdUsed, xDigits, maxUsed, dDigits); + } + } + return new core._BigIntImpl.__(false, maxUsed, dDigits); + } + modInverse(modulus) { + core._BigIntImpl.as(modulus); + if (modulus == null) dart.nullFailed(I[7], 2633, 48, "modulus"); + if (dart.test(modulus['<='](core._BigIntImpl.zero))) { + dart.throw(new core.ArgumentError.new("Modulus must be strictly positive: " + dart.str(modulus))); + } + if (dart.equals(modulus, core._BigIntImpl.one)) return core._BigIntImpl.zero; + let tmp = this; + if (dart.test(tmp[_isNegative]) || dart.notNull(tmp[_absCompare](modulus)) >= 0) { + tmp = tmp['%'](modulus); + } + return core._BigIntImpl._binaryGcd(modulus, tmp, true); + } + gcd(other) { + core._BigIntImpl.as(other); + if (other == null) dart.nullFailed(I[7], 2658, 41, "other"); + if (dart.test(this[_isZero])) return other.abs(); + if (dart.test(other[_isZero])) return this.abs(); + return core._BigIntImpl._binaryGcd(this, other, false); + } + toUnsigned(width) { + if (width == null) dart.nullFailed(I[7], 2690, 30, "width"); + return this['&'](core._BigIntImpl.one['<<'](width)['-'](core._BigIntImpl.one)); + } + toSigned(width) { + if (width == null) dart.nullFailed(I[7], 2728, 28, "width"); + let signMask = core._BigIntImpl.one['<<'](dart.notNull(width) - 1); + return this['&'](signMask['-'](core._BigIntImpl.one))['-'](this['&'](signMask)); + } + get isValidInt() { + if (dart.notNull(this[_used$]) <= 3) return true; + let asInt = this.toInt(); + if (!asInt[$toDouble]()[$isFinite]) return false; + return this._equals(core._BigIntImpl._fromInt(asInt)); + } + toInt() { + let result = 0; + for (let i = dart.notNull(this[_used$]) - 1; i >= 0; i = i - 1) { + result = result * 65536 + dart.notNull(this[_digits$][$_get](i)); + } + return dart.test(this[_isNegative]) ? -result : result; + } + toDouble() { + let t248, t247, t248$, t247$; + if (dart.test(this[_isZero])) return 0.0; + let resultBits = _native_typed_data.NativeUint8List.new(8); + let length = 16 * (dart.notNull(this[_used$]) - 1) + this[_digits$][$_get](dart.notNull(this[_used$]) - 1)[$bitLength]; + if (length > 971 + 53) { + return dart.test(this[_isNegative]) ? -1 / 0 : 1 / 0; + } + if (dart.test(this[_isNegative])) resultBits[$_set](7, 128); + let biasedExponent = length - 53 + 1075; + resultBits[$_set](6, (biasedExponent & 15) << 4); + t247 = resultBits; + t248 = 7; + t247[$_set](t248, (dart.notNull(t247[$_get](t248)) | biasedExponent[$rightShift](4)) >>> 0); + let cachedBits = 0; + let cachedBitsLength = 0; + let digitIndex = dart.notNull(this[_used$]) - 1; + const readBits = n => { + if (n == null) dart.nullFailed(I[7], 2791, 22, "n"); + while (cachedBitsLength < dart.notNull(n)) { + let nextDigit = null; + let nextDigitLength = 16; + if (digitIndex < 0) { + nextDigit = 0; + digitIndex = digitIndex - 1; + } else { + nextDigit = this[_digits$][$_get](digitIndex); + if (digitIndex === dart.notNull(this[_used$]) - 1) nextDigitLength = nextDigit[$bitLength]; + digitIndex = digitIndex - 1; + } + cachedBits = cachedBits[$leftShift](nextDigitLength) + dart.notNull(nextDigit); + cachedBitsLength = cachedBitsLength + nextDigitLength; + } + let result = cachedBits[$rightShift](cachedBitsLength - dart.notNull(n)); + cachedBits = cachedBits - result[$leftShift](cachedBitsLength - dart.notNull(n)); + cachedBitsLength = cachedBitsLength - dart.notNull(n); + return result; + }; + dart.fn(readBits, T$0.intToint()); + let leadingBits = dart.notNull(readBits(5)) & 15; + t247$ = resultBits; + t248$ = 6; + t247$[$_set](t248$, (dart.notNull(t247$[$_get](t248$)) | leadingBits) >>> 0); + for (let i = 5; i >= 0; i = i - 1) { + resultBits[$_set](i, readBits(8)); + } + function roundUp() { + let carry = 1; + for (let i = 0; i < 8; i = i + 1) { + if (carry === 0) break; + let sum = dart.notNull(resultBits[$_get](i)) + carry; + resultBits[$_set](i, sum & 255); + carry = sum[$rightShift](8); + } + } + dart.fn(roundUp, T$.VoidTovoid()); + if (readBits(1) === 1) { + if (resultBits[$_get](0)[$isOdd]) { + roundUp(); + } else { + if (cachedBits !== 0) { + roundUp(); + } else { + for (let i = digitIndex; i >= 0; i = i - 1) { + if (this[_digits$][$_get](i) !== 0) { + roundUp(); + break; + } + } + } + } + } + return resultBits[$buffer][$asByteData]()[$getFloat64](0, typed_data.Endian.little); + } + toString() { + if (this[_used$] === 0) return "0"; + if (this[_used$] === 1) { + if (dart.test(this[_isNegative])) return (-dart.notNull(this[_digits$][$_get](0)))[$toString](); + return dart.toString(this[_digits$][$_get](0)); + } + let decimalDigitChunks = T$.JSArrayOfString().of([]); + let rest = dart.test(this.isNegative) ? this._negate() : this; + while (dart.notNull(rest[_used$]) > 1) { + let digits4 = dart.toString(rest.remainder(core._BigIntImpl._bigInt10000)); + decimalDigitChunks[$add](digits4); + if (digits4.length === 1) decimalDigitChunks[$add]("000"); + if (digits4.length === 2) decimalDigitChunks[$add]("00"); + if (digits4.length === 3) decimalDigitChunks[$add]("0"); + rest = rest['~/'](core._BigIntImpl._bigInt10000); + } + decimalDigitChunks[$add](dart.toString(rest[_digits$][$_get](0))); + if (dart.test(this[_isNegative])) decimalDigitChunks[$add]("-"); + return decimalDigitChunks[$reversed][$join](); + } + [_toRadixCodeUnit](digit) { + if (digit == null) dart.nullFailed(I[7], 2891, 28, "digit"); + if (dart.notNull(digit) < 10) return 48 + dart.notNull(digit); + return 97 + dart.notNull(digit) - 10; + } + toRadixString(radix) { + if (radix == null) dart.nullFailed(I[7], 2906, 28, "radix"); + if (dart.notNull(radix) > 36) dart.throw(new core.RangeError.range(radix, 2, 36)); + if (this[_used$] === 0) return "0"; + if (this[_used$] === 1) { + let digitString = this[_digits$][$_get](0)[$toRadixString](radix); + if (dart.test(this[_isNegative])) return "-" + digitString; + return digitString; + } + if (radix === 16) return this[_toHexString](); + let base = core._BigIntImpl._fromInt(radix); + let reversedDigitCodeUnits = T$.JSArrayOfint().of([]); + let rest = this.abs(); + while (!dart.test(rest[_isZero])) { + let digit = rest.remainder(base).toInt(); + rest = rest['~/'](base); + reversedDigitCodeUnits[$add](this[_toRadixCodeUnit](digit)); + } + let digitString = core.String.fromCharCodes(reversedDigitCodeUnits[$reversed]); + if (dart.test(this[_isNegative])) return "-" + dart.notNull(digitString); + return digitString; + } + [_toHexString]() { + let chars = T$.JSArrayOfint().of([]); + for (let i = 0; i < dart.notNull(this[_used$]) - 1; i = i + 1) { + let chunk = this[_digits$][$_get](i); + for (let j = 0; j < (16 / 4)[$truncate](); j = j + 1) { + chars[$add](this[_toRadixCodeUnit](dart.notNull(chunk) & 15)); + chunk = chunk[$rightShift](4); + } + } + let msbChunk = this[_digits$][$_get](dart.notNull(this[_used$]) - 1); + while (msbChunk !== 0) { + chars[$add](this[_toRadixCodeUnit](dart.notNull(msbChunk) & 15)); + msbChunk = msbChunk[$rightShift](4); + } + if (dart.test(this[_isNegative])) { + chars[$add](45); + } + return core.String.fromCharCodes(chars[$reversed]); + } + }; + (core._BigIntImpl.__ = function(isNegative, used, digits) { + if (isNegative == null) dart.nullFailed(I[7], 1211, 22, "isNegative"); + if (used == null) dart.nullFailed(I[7], 1211, 38, "used"); + if (digits == null) dart.nullFailed(I[7], 1211, 55, "digits"); + core._BigIntImpl._normalized.call(this, isNegative, core._BigIntImpl._normalize(used, digits), digits); + }).prototype = core._BigIntImpl.prototype; + (core._BigIntImpl._normalized = function(isNegative, _used, _digits) { + if (isNegative == null) dart.nullFailed(I[7], 1214, 32, "isNegative"); + if (_used == null) dart.nullFailed(I[7], 1214, 49, "_used"); + if (_digits == null) dart.nullFailed(I[7], 1214, 61, "_digits"); + this[_used$] = _used; + this[_digits$] = _digits; + this[_isNegative] = _used === 0 ? false : isNegative; + ; + }).prototype = core._BigIntImpl.prototype; + dart.addTypeTests(core._BigIntImpl); + dart.addTypeCaches(core._BigIntImpl); + core._BigIntImpl[dart.implements] = () => [core.BigInt]; + dart.setMethodSignature(core._BigIntImpl, () => ({ + __proto__: dart.getMethods(core._BigIntImpl.__proto__), + _negate: dart.fnType(core._BigIntImpl, []), + abs: dart.fnType(core._BigIntImpl, []), + [_dlShift]: dart.fnType(core._BigIntImpl, [core.int]), + [_drShift]: dart.fnType(core._BigIntImpl, [core.int]), + '<<': dart.fnType(core._BigIntImpl, [core.int]), + '>>': dart.fnType(core._BigIntImpl, [core.int]), + [_absCompare]: dart.fnType(core.int, [core._BigIntImpl]), + compareTo: dart.fnType(core.int, [dart.nullable(core.Object)]), + [$compareTo]: dart.fnType(core.int, [dart.nullable(core.Object)]), + [_absAddSetSign]: dart.fnType(core._BigIntImpl, [core._BigIntImpl, core.bool]), + [_absSubSetSign]: dart.fnType(core._BigIntImpl, [core._BigIntImpl, core.bool]), + [_absAndSetSign]: dart.fnType(core._BigIntImpl, [core._BigIntImpl, core.bool]), + [_absAndNotSetSign]: dart.fnType(core._BigIntImpl, [core._BigIntImpl, core.bool]), + [_absOrSetSign]: dart.fnType(core._BigIntImpl, [core._BigIntImpl, core.bool]), + [_absXorSetSign]: dart.fnType(core._BigIntImpl, [core._BigIntImpl, core.bool]), + '&': dart.fnType(core._BigIntImpl, [dart.nullable(core.Object)]), + '|': dart.fnType(core._BigIntImpl, [dart.nullable(core.Object)]), + '^': dart.fnType(core._BigIntImpl, [dart.nullable(core.Object)]), + '~': dart.fnType(core._BigIntImpl, []), + '+': dart.fnType(core._BigIntImpl, [dart.nullable(core.Object)]), + '-': dart.fnType(core._BigIntImpl, [dart.nullable(core.Object)]), + '*': dart.fnType(core._BigIntImpl, [dart.nullable(core.Object)]), + [_div]: dart.fnType(core._BigIntImpl, [core._BigIntImpl]), + [_rem]: dart.fnType(core._BigIntImpl, [core._BigIntImpl]), + [_divRem]: dart.fnType(dart.void, [core._BigIntImpl]), + '~/': dart.fnType(core._BigIntImpl, [dart.nullable(core.Object)]), + remainder: dart.fnType(core._BigIntImpl, [dart.nullable(core.Object)]), + '/': dart.fnType(core.double, [core.BigInt]), + '<': dart.fnType(core.bool, [dart.nullable(core.Object)]), + '<=': dart.fnType(core.bool, [dart.nullable(core.Object)]), + '>': dart.fnType(core.bool, [dart.nullable(core.Object)]), + '>=': dart.fnType(core.bool, [dart.nullable(core.Object)]), + '%': dart.fnType(core._BigIntImpl, [dart.nullable(core.Object)]), + pow: dart.fnType(core._BigIntImpl, [core.int]), + modPow: dart.fnType(core._BigIntImpl, [dart.nullable(core.Object), dart.nullable(core.Object)]), + modInverse: dart.fnType(core._BigIntImpl, [dart.nullable(core.Object)]), + gcd: dart.fnType(core._BigIntImpl, [dart.nullable(core.Object)]), + toUnsigned: dart.fnType(core._BigIntImpl, [core.int]), + toSigned: dart.fnType(core._BigIntImpl, [core.int]), + toInt: dart.fnType(core.int, []), + toDouble: dart.fnType(core.double, []), + [_toRadixCodeUnit]: dart.fnType(core.int, [core.int]), + toRadixString: dart.fnType(core.String, [core.int]), + [_toHexString]: dart.fnType(core.String, []) + })); + dart.setGetterSignature(core._BigIntImpl, () => ({ + __proto__: dart.getGetters(core._BigIntImpl.__proto__), + [_isZero]: core.bool, + bitLength: core.int, + sign: core.int, + isEven: core.bool, + isOdd: core.bool, + isNegative: core.bool, + isValidInt: core.bool + })); + dart.setLibraryUri(core._BigIntImpl, I[8]); + dart.setFieldSignature(core._BigIntImpl, () => ({ + __proto__: dart.getFields(core._BigIntImpl.__proto__), + [_isNegative]: dart.finalFieldType(core.bool), + [_digits$]: dart.finalFieldType(typed_data.Uint16List), + [_used$]: dart.finalFieldType(core.int) + })); + dart.defineExtensionMethods(core._BigIntImpl, ['compareTo', '_equals', 'toString']); + dart.defineExtensionAccessors(core._BigIntImpl, ['hashCode']); + dart.defineLazy(core._BigIntImpl, { + /*core._BigIntImpl._digitBits*/get _digitBits() { + return 16; + }, + /*core._BigIntImpl._digitBase*/get _digitBase() { + return 65536; + }, + /*core._BigIntImpl._digitMask*/get _digitMask() { + return 65535; + }, + /*core._BigIntImpl.zero*/get zero() { + return core._BigIntImpl._fromInt(0); + }, + /*core._BigIntImpl.one*/get one() { + return core._BigIntImpl._fromInt(1); + }, + /*core._BigIntImpl.two*/get two() { + return core._BigIntImpl._fromInt(2); + }, + /*core._BigIntImpl._minusOne*/get _minusOne() { + return core._BigIntImpl.one._negate(); + }, + /*core._BigIntImpl._bigInt10000*/get _bigInt10000() { + return core._BigIntImpl._fromInt(10000); + }, + /*core._BigIntImpl._lastDividendDigits*/get _lastDividendDigits() { + return null; + }, + set _lastDividendDigits(_) {}, + /*core._BigIntImpl._lastDividendUsed*/get _lastDividendUsed() { + return null; + }, + set _lastDividendUsed(_) {}, + /*core._BigIntImpl._lastDivisorDigits*/get _lastDivisorDigits() { + return null; + }, + set _lastDivisorDigits(_) {}, + /*core._BigIntImpl._lastDivisorUsed*/get _lastDivisorUsed() { + return null; + }, + set _lastDivisorUsed(_) {}, + /*core._BigIntImpl._lastQuoRemDigits*/get _lastQuoRemDigits() { + return null; + }, + set _lastQuoRemDigits(_) {}, + /*core._BigIntImpl._lastQuoRemUsed*/get _lastQuoRemUsed() { + return null; + }, + set _lastQuoRemUsed(_) {}, + /*core._BigIntImpl._lastRemUsed*/get _lastRemUsed() { + return null; + }, + set _lastRemUsed(_) {}, + /*core._BigIntImpl._lastRem_nsh*/get _lastRem_nsh() { + return null; + }, + set _lastRem_nsh(_) {}, + /*core._BigIntImpl._parseRE*/get _parseRE() { + return core.RegExp.new("^\\s*([+-]?)((0x[a-f0-9]+)|(\\d+)|([a-z0-9]+))\\s*$", {caseSensitive: false}); + }, + set _parseRE(_) {}, + /*core._BigIntImpl._bitsForFromDouble*/get _bitsForFromDouble() { + return _native_typed_data.NativeUint8List.new(8); + }, + /*core._BigIntImpl._simpleValidIntDigits*/get _simpleValidIntDigits() { + return 3; + } + }, false); + core._BigIntReduction = class _BigIntReduction extends core.Object {}; + (core._BigIntReduction.new = function() { + ; + }).prototype = core._BigIntReduction.prototype; + dart.addTypeTests(core._BigIntReduction); + dart.addTypeCaches(core._BigIntReduction); + dart.setLibraryUri(core._BigIntReduction, I[8]); + var _modulus$ = dart.privateName(core, "_modulus"); + var _normalizedModulus = dart.privateName(core, "_normalizedModulus"); + var _reduce = dart.privateName(core, "_reduce"); + core._BigIntClassic = class _BigIntClassic extends core.Object { + convert(x, resultDigits) { + if (x == null) dart.nullFailed(I[7], 2976, 27, "x"); + if (resultDigits == null) dart.nullFailed(I[7], 2976, 41, "resultDigits"); + let digits = null; + let used = null; + if (dart.test(x[_isNegative]) || dart.notNull(x[_absCompare](this[_modulus$])) >= 0) { + let remainder = x[_rem](this[_modulus$]); + if (dart.test(x[_isNegative]) && dart.notNull(remainder[_used$]) > 0) { + if (!dart.test(remainder[_isNegative])) dart.assertFailed(null, I[7], 2982, 16, "remainder._isNegative"); + remainder = remainder['+'](this[_modulus$]); + } + if (!!dart.test(remainder[_isNegative])) dart.assertFailed(null, I[7], 2985, 14, "!remainder._isNegative"); + used = remainder[_used$]; + digits = remainder[_digits$]; + } else { + used = x[_used$]; + digits = x[_digits$]; + } + let i = used; + while ((i = dart.notNull(i) - 1) >= 0) { + resultDigits[$_set](i, digits[$_get](i)); + } + return used; + } + revert(xDigits, xUsed) { + if (xDigits == null) dart.nullFailed(I[7], 2999, 33, "xDigits"); + if (xUsed == null) dart.nullFailed(I[7], 2999, 46, "xUsed"); + return new core._BigIntImpl.__(false, xUsed, xDigits); + } + [_reduce](xDigits, xUsed) { + if (xDigits == null) dart.nullFailed(I[7], 3003, 26, "xDigits"); + if (xUsed == null) dart.nullFailed(I[7], 3003, 39, "xUsed"); + if (dart.notNull(xUsed) < dart.notNull(this[_modulus$][_used$])) { + return xUsed; + } + let reverted = this.revert(xDigits, xUsed); + let rem = reverted[_rem](this[_normalizedModulus]); + return this.convert(rem, xDigits); + } + sqr(xDigits, xUsed, resultDigits) { + if (xDigits == null) dart.nullFailed(I[7], 3012, 22, "xDigits"); + if (xUsed == null) dart.nullFailed(I[7], 3012, 35, "xUsed"); + if (resultDigits == null) dart.nullFailed(I[7], 3012, 53, "resultDigits"); + let b = new core._BigIntImpl.__(false, xUsed, xDigits); + let b2 = b['*'](b); + for (let i = 0; i < dart.notNull(b2[_used$]); i = i + 1) { + resultDigits[$_set](i, b2[_digits$][$_get](i)); + } + for (let i = b2[_used$]; dart.notNull(i) < 2 * dart.notNull(xUsed); i = dart.notNull(i) + 1) { + resultDigits[$_set](i, 0); + } + return this[_reduce](resultDigits, 2 * dart.notNull(xUsed)); + } + mul(xDigits, xUsed, yDigits, yUsed, resultDigits) { + if (xDigits == null) dart.nullFailed(I[7], 3024, 22, "xDigits"); + if (xUsed == null) dart.nullFailed(I[7], 3024, 35, "xUsed"); + if (yDigits == null) dart.nullFailed(I[7], 3024, 53, "yDigits"); + if (yUsed == null) dart.nullFailed(I[7], 3024, 66, "yUsed"); + if (resultDigits == null) dart.nullFailed(I[7], 3025, 18, "resultDigits"); + let resultUsed = core._BigIntImpl._mulDigits(xDigits, xUsed, yDigits, yUsed, resultDigits); + return this[_reduce](resultDigits, resultUsed); + } + }; + (core._BigIntClassic.new = function(_modulus) { + if (_modulus == null) dart.nullFailed(I[7], 2971, 23, "_modulus"); + this[_modulus$] = _modulus; + this[_normalizedModulus] = _modulus['<<'](16 - _modulus[_digits$][$_get](dart.notNull(_modulus[_used$]) - 1)[$bitLength]); + ; + }).prototype = core._BigIntClassic.prototype; + dart.addTypeTests(core._BigIntClassic); + dart.addTypeCaches(core._BigIntClassic); + core._BigIntClassic[dart.implements] = () => [core._BigIntReduction]; + dart.setMethodSignature(core._BigIntClassic, () => ({ + __proto__: dart.getMethods(core._BigIntClassic.__proto__), + convert: dart.fnType(core.int, [core._BigIntImpl, typed_data.Uint16List]), + revert: dart.fnType(core._BigIntImpl, [typed_data.Uint16List, core.int]), + [_reduce]: dart.fnType(core.int, [typed_data.Uint16List, core.int]), + sqr: dart.fnType(core.int, [typed_data.Uint16List, core.int, typed_data.Uint16List]), + mul: dart.fnType(core.int, [typed_data.Uint16List, core.int, typed_data.Uint16List, core.int, typed_data.Uint16List]) + })); + dart.setLibraryUri(core._BigIntClassic, I[8]); + dart.setFieldSignature(core._BigIntClassic, () => ({ + __proto__: dart.getFields(core._BigIntClassic.__proto__), + [_modulus$]: dart.finalFieldType(core._BigIntImpl), + [_normalizedModulus]: dart.finalFieldType(core._BigIntImpl) + })); + var message$11 = dart.privateName(core, "Deprecated.message"); + core.Deprecated = class Deprecated extends core.Object { + get message() { + return this[message$11]; + } + set message(value) { + super.message = value; + } + get expires() { + return this.message; + } + toString() { + return "Deprecated feature: " + dart.str(this.message); + } + }; + (core.Deprecated.new = function(message) { + if (message == null) dart.nullFailed(I[165], 77, 25, "message"); + this[message$11] = message; + ; + }).prototype = core.Deprecated.prototype; + dart.addTypeTests(core.Deprecated); + dart.addTypeCaches(core.Deprecated); + dart.setGetterSignature(core.Deprecated, () => ({ + __proto__: dart.getGetters(core.Deprecated.__proto__), + expires: core.String + })); + dart.setLibraryUri(core.Deprecated, I[8]); + dart.setFieldSignature(core.Deprecated, () => ({ + __proto__: dart.getFields(core.Deprecated.__proto__), + message: dart.finalFieldType(core.String) + })); + dart.defineExtensionMethods(core.Deprecated, ['toString']); + core._Override = class _Override extends core.Object {}; + (core._Override.new = function() { + ; + }).prototype = core._Override.prototype; + dart.addTypeTests(core._Override); + dart.addTypeCaches(core._Override); + dart.setLibraryUri(core._Override, I[8]); + core.Provisional = class Provisional extends core.Object { + get message() { + return null; + } + }; + (core.Provisional.new = function(opts) { + let message = opts && 'message' in opts ? opts.message : null; + ; + }).prototype = core.Provisional.prototype; + dart.addTypeTests(core.Provisional); + dart.addTypeCaches(core.Provisional); + dart.setGetterSignature(core.Provisional, () => ({ + __proto__: dart.getGetters(core.Provisional.__proto__), + message: dart.nullable(core.String) + })); + dart.setLibraryUri(core.Provisional, I[8]); + var name$12 = dart.privateName(core, "pragma.name"); + var options$ = dart.privateName(core, "pragma.options"); + core.pragma = class pragma extends core.Object { + get name() { + return this[name$12]; + } + set name(value) { + super.name = value; + } + get options() { + return this[options$]; + } + set options(value) { + super.options = value; + } + }; + (core.pragma.__ = function(name, options = null) { + if (name == null) dart.nullFailed(I[165], 188, 23, "name"); + this[name$12] = name; + this[options$] = options; + ; + }).prototype = core.pragma.prototype; + dart.addTypeTests(core.pragma); + dart.addTypeCaches(core.pragma); + dart.setLibraryUri(core.pragma, I[8]); + dart.setFieldSignature(core.pragma, () => ({ + __proto__: dart.getFields(core.pragma.__proto__), + name: dart.finalFieldType(core.String), + options: dart.finalFieldType(dart.nullable(core.Object)) + })); + core.BigInt = class BigInt extends core.Object { + static get zero() { + return core._BigIntImpl.zero; + } + static get one() { + return core._BigIntImpl.one; + } + static get two() { + return core._BigIntImpl.two; + } + static parse(source, opts) { + if (source == null) dart.nullFailed(I[7], 262, 30, "source"); + let radix = opts && 'radix' in opts ? opts.radix : null; + return core._BigIntImpl.parse(source, {radix: radix}); + } + static tryParse(source, opts) { + if (source == null) dart.nullFailed(I[7], 266, 34, "source"); + let radix = opts && 'radix' in opts ? opts.radix : null; + return core._BigIntImpl._tryParse(source, {radix: radix}); + } + }; + (core.BigInt[dart.mixinNew] = function() { + }).prototype = core.BigInt.prototype; + dart.addTypeTests(core.BigInt); + dart.addTypeCaches(core.BigInt); + core.BigInt[dart.implements] = () => [core.Comparable$(core.BigInt)]; + dart.setLibraryUri(core.BigInt, I[8]); + core.bool = class bool extends core.Object { + static is(o) { + return o === true || o === false; + } + static as(o) { + if (o === true || o === false) return o; + return dart.as(o, core.bool); + } + static fromEnvironment(name, opts) { + if (name == null) dart.nullFailed(I[7], 657, 39, "name"); + let defaultValue = opts && 'defaultValue' in opts ? opts.defaultValue : false; + if (defaultValue == null) dart.nullFailed(I[7], 657, 51, "defaultValue"); + dart.throw(new core.UnsupportedError.new("bool.fromEnvironment can only be used as a const constructor")); + } + static hasEnvironment(name) { + if (name == null) dart.nullFailed(I[7], 664, 38, "name"); + dart.throw(new core.UnsupportedError.new("bool.hasEnvironment can only be used as a const constructor")); + } + get [$hashCode]() { + return super[$hashCode]; + } + [$bitAnd](other) { + if (other == null) dart.nullFailed(I[166], 93, 24, "other"); + return dart.test(other) && this; + } + [$bitOr](other) { + if (other == null) dart.nullFailed(I[166], 99, 24, "other"); + return dart.test(other) || this; + } + [$bitXor](other) { + if (other == null) dart.nullFailed(I[166], 105, 24, "other"); + return !dart.test(other) === this; + } + [$toString]() { + return this ? "true" : "false"; + } + }; + (core.bool[dart.mixinNew] = function() { + }).prototype = core.bool.prototype; + dart.addTypeCaches(core.bool); + dart.setMethodSignature(core.bool, () => ({ + __proto__: dart.getMethods(core.bool.__proto__), + [$bitAnd]: dart.fnType(core.bool, [core.bool]), + [$bitOr]: dart.fnType(core.bool, [core.bool]), + [$bitXor]: dart.fnType(core.bool, [core.bool]) + })); + dart.setLibraryUri(core.bool, I[8]); + const _is_Comparable_default = Symbol('_is_Comparable_default'); + core.Comparable$ = dart.generic(T => { + class Comparable extends core.Object { + static compare(a, b) { + if (a == null) dart.nullFailed(I[167], 88, 33, "a"); + if (b == null) dart.nullFailed(I[167], 88, 47, "b"); + return a[$compareTo](b); + } + } + (Comparable.new = function() { + ; + }).prototype = Comparable.prototype; + dart.addTypeTests(Comparable); + Comparable.prototype[_is_Comparable_default] = true; + dart.addTypeCaches(Comparable); + dart.setLibraryUri(Comparable, I[8]); + return Comparable; + }); + core.Comparable = core.Comparable$(); + dart.addTypeTests(core.Comparable, _is_Comparable_default); + var isUtc$ = dart.privateName(core, "DateTime.isUtc"); + var _value$4 = dart.privateName(core, "_value"); + core.DateTime = class DateTime extends core.Object { + get isUtc() { + return this[isUtc$]; + } + set isUtc(value) { + super.isUtc = value; + } + static _microsecondInRoundedMilliseconds(microsecond) { + if (microsecond == null) dart.nullFailed(I[7], 341, 52, "microsecond"); + return (dart.notNull(microsecond) / 1000)[$round](); + } + static parse(formattedString) { + if (formattedString == null) dart.nullFailed(I[168], 264, 32, "formattedString"); + let re = core.DateTime._parseFormat; + let match = re.firstMatch(formattedString); + if (match != null) { + function parseIntOrZero(matched) { + if (matched == null) return 0; + return core.int.parse(matched); + } + dart.fn(parseIntOrZero, T$0.StringNToint()); + function parseMilliAndMicroseconds(matched) { + if (matched == null) return 0; + let length = matched.length; + if (!(length >= 1)) dart.assertFailed(null, I[168], 279, 16, "length >= 1"); + let result = 0; + for (let i = 0; i < 6; i = i + 1) { + result = result * 10; + if (i < matched.length) { + result = result + ((matched[$codeUnitAt](i) ^ 48) >>> 0); + } + } + return result; + } + dart.fn(parseMilliAndMicroseconds, T$0.StringNToint()); + let years = core.int.parse(dart.nullCheck(match._get(1))); + let month = core.int.parse(dart.nullCheck(match._get(2))); + let day = core.int.parse(dart.nullCheck(match._get(3))); + let hour = parseIntOrZero(match._get(4)); + let minute = parseIntOrZero(match._get(5)); + let second = parseIntOrZero(match._get(6)); + let milliAndMicroseconds = parseMilliAndMicroseconds(match._get(7)); + let millisecond = (dart.notNull(milliAndMicroseconds) / 1000)[$truncate](); + let microsecond = milliAndMicroseconds[$remainder](1000); + let isUtc = false; + if (match._get(8) != null) { + isUtc = true; + let tzSign = match._get(9); + if (tzSign != null) { + let sign = tzSign === "-" ? -1 : 1; + let hourDifference = core.int.parse(dart.nullCheck(match._get(10))); + let minuteDifference = parseIntOrZero(match._get(11)); + minuteDifference = dart.notNull(minuteDifference) + 60 * dart.notNull(hourDifference); + minute = dart.notNull(minute) - sign * dart.notNull(minuteDifference); + } + } + let value = core.DateTime._brokenDownDateToValue(years, month, day, hour, minute, second, millisecond, microsecond, isUtc); + if (value == null) { + dart.throw(new core.FormatException.new("Time out of range", formattedString)); + } + return new core.DateTime._withValue(value, {isUtc: isUtc}); + } else { + dart.throw(new core.FormatException.new("Invalid date format", formattedString)); + } + } + static tryParse(formattedString) { + if (formattedString == null) dart.nullFailed(I[168], 330, 36, "formattedString"); + try { + return core.DateTime.parse(formattedString); + } catch (e) { + let ex = dart.getThrown(e); + if (core.FormatException.is(ex)) { + return null; + } else + throw e; + } + } + _equals(other) { + if (other == null) return false; + return core.DateTime.is(other) && this[_value$4] == other.millisecondsSinceEpoch && this.isUtc == other.isUtc; + } + isBefore(other) { + if (other == null) dart.nullFailed(I[7], 426, 26, "other"); + return dart.notNull(this[_value$4]) < dart.notNull(other.millisecondsSinceEpoch); + } + isAfter(other) { + if (other == null) dart.nullFailed(I[7], 429, 25, "other"); + return dart.notNull(this[_value$4]) > dart.notNull(other.millisecondsSinceEpoch); + } + isAtSameMomentAs(other) { + if (other == null) dart.nullFailed(I[7], 432, 34, "other"); + return this[_value$4] == other.millisecondsSinceEpoch; + } + compareTo(other) { + if (other == null) dart.nullFailed(I[7], 436, 26, "other"); + return this[_value$4][$compareTo](other.millisecondsSinceEpoch); + } + get hashCode() { + return (dart.notNull(this[_value$4]) ^ this[_value$4][$rightShift](30)) & 1073741823; + } + toLocal() { + if (dart.test(this.isUtc)) { + return new core.DateTime._withValue(this[_value$4], {isUtc: false}); + } + return this; + } + toUtc() { + if (dart.test(this.isUtc)) return this; + return new core.DateTime._withValue(this[_value$4], {isUtc: true}); + } + static _fourDigits(n) { + if (n == null) dart.nullFailed(I[168], 492, 33, "n"); + let absN = n[$abs](); + let sign = dart.notNull(n) < 0 ? "-" : ""; + if (absN >= 1000) return dart.str(n); + if (absN >= 100) return sign + "0" + dart.str(absN); + if (absN >= 10) return sign + "00" + dart.str(absN); + return sign + "000" + dart.str(absN); + } + static _sixDigits(n) { + if (n == null) dart.nullFailed(I[168], 501, 32, "n"); + if (!(dart.notNull(n) < -9999 || dart.notNull(n) > 9999)) dart.assertFailed(null, I[168], 502, 12, "n < -9999 || n > 9999"); + let absN = n[$abs](); + let sign = dart.notNull(n) < 0 ? "-" : "+"; + if (absN >= 100000) return sign + dart.str(absN); + return sign + "0" + dart.str(absN); + } + static _threeDigits(n) { + if (n == null) dart.nullFailed(I[168], 509, 34, "n"); + if (dart.notNull(n) >= 100) return dart.str(n); + if (dart.notNull(n) >= 10) return "0" + dart.str(n); + return "00" + dart.str(n); + } + static _twoDigits(n) { + if (n == null) dart.nullFailed(I[168], 515, 32, "n"); + if (dart.notNull(n) >= 10) return dart.str(n); + return "0" + dart.str(n); + } + toString() { + let y = core.DateTime._fourDigits(this.year); + let m = core.DateTime._twoDigits(this.month); + let d = core.DateTime._twoDigits(this.day); + let h = core.DateTime._twoDigits(this.hour); + let min = core.DateTime._twoDigits(this.minute); + let sec = core.DateTime._twoDigits(this.second); + let ms = core.DateTime._threeDigits(this.millisecond); + let us = this.microsecond === 0 ? "" : core.DateTime._threeDigits(this.microsecond); + if (dart.test(this.isUtc)) { + return dart.str(y) + "-" + dart.str(m) + "-" + dart.str(d) + " " + dart.str(h) + ":" + dart.str(min) + ":" + dart.str(sec) + "." + dart.str(ms) + dart.str(us) + "Z"; + } else { + return dart.str(y) + "-" + dart.str(m) + "-" + dart.str(d) + " " + dart.str(h) + ":" + dart.str(min) + ":" + dart.str(sec) + "." + dart.str(ms) + dart.str(us); + } + } + toIso8601String() { + let y = dart.notNull(this.year) >= -9999 && dart.notNull(this.year) <= 9999 ? core.DateTime._fourDigits(this.year) : core.DateTime._sixDigits(this.year); + let m = core.DateTime._twoDigits(this.month); + let d = core.DateTime._twoDigits(this.day); + let h = core.DateTime._twoDigits(this.hour); + let min = core.DateTime._twoDigits(this.minute); + let sec = core.DateTime._twoDigits(this.second); + let ms = core.DateTime._threeDigits(this.millisecond); + let us = this.microsecond === 0 ? "" : core.DateTime._threeDigits(this.microsecond); + if (dart.test(this.isUtc)) { + return dart.str(y) + "-" + dart.str(m) + "-" + dart.str(d) + "T" + dart.str(h) + ":" + dart.str(min) + ":" + dart.str(sec) + "." + dart.str(ms) + dart.str(us) + "Z"; + } else { + return dart.str(y) + "-" + dart.str(m) + "-" + dart.str(d) + "T" + dart.str(h) + ":" + dart.str(min) + ":" + dart.str(sec) + "." + dart.str(ms) + dart.str(us); + } + } + add(duration) { + if (duration == null) dart.nullFailed(I[7], 372, 25, "duration"); + return new core.DateTime._withValue(dart.notNull(this[_value$4]) + dart.notNull(duration.inMilliseconds), {isUtc: this.isUtc}); + } + subtract(duration) { + if (duration == null) dart.nullFailed(I[7], 377, 30, "duration"); + return new core.DateTime._withValue(dart.notNull(this[_value$4]) - dart.notNull(duration.inMilliseconds), {isUtc: this.isUtc}); + } + difference(other) { + if (other == null) dart.nullFailed(I[7], 382, 32, "other"); + return new core.Duration.new({milliseconds: dart.notNull(this[_value$4]) - dart.notNull(other[_value$4])}); + } + static _brokenDownDateToValue(year, month, day, hour, minute, second, millisecond, microsecond, isUtc) { + if (year == null) dart.nullFailed(I[7], 346, 42, "year"); + if (month == null) dart.nullFailed(I[7], 346, 52, "month"); + if (day == null) dart.nullFailed(I[7], 346, 63, "day"); + if (hour == null) dart.nullFailed(I[7], 346, 72, "hour"); + if (minute == null) dart.nullFailed(I[7], 347, 11, "minute"); + if (second == null) dart.nullFailed(I[7], 347, 23, "second"); + if (millisecond == null) dart.nullFailed(I[7], 347, 35, "millisecond"); + if (microsecond == null) dart.nullFailed(I[7], 347, 52, "microsecond"); + if (isUtc == null) dart.nullFailed(I[7], 347, 70, "isUtc"); + return _js_helper.Primitives.valueFromDecomposedDate(year, month, day, hour, minute, second, dart.notNull(millisecond) + dart.notNull(core.DateTime._microsecondInRoundedMilliseconds(microsecond)), isUtc); + } + get millisecondsSinceEpoch() { + return this[_value$4]; + } + get microsecondsSinceEpoch() { + return dart.notNull(this[_value$4]) * 1000; + } + get timeZoneName() { + if (dart.test(this.isUtc)) return "UTC"; + return _js_helper.Primitives.getTimeZoneName(this); + } + get timeZoneOffset() { + if (dart.test(this.isUtc)) return core.Duration.zero; + return new core.Duration.new({minutes: _js_helper.Primitives.getTimeZoneOffsetInMinutes(this)}); + } + get year() { + return _js_helper.Primitives.getYear(this); + } + get month() { + return _js_helper.Primitives.getMonth(this); + } + get day() { + return _js_helper.Primitives.getDay(this); + } + get hour() { + return _js_helper.Primitives.getHours(this); + } + get minute() { + return _js_helper.Primitives.getMinutes(this); + } + get second() { + return _js_helper.Primitives.getSeconds(this); + } + get millisecond() { + return _js_helper.Primitives.getMilliseconds(this); + } + get microsecond() { + return 0; + } + get weekday() { + return _js_helper.Primitives.getWeekday(this); + } + }; + (core.DateTime.new = function(year, month = 1, day = 1, hour = 0, minute = 0, second = 0, millisecond = 0, microsecond = 0) { + if (year == null) dart.nullFailed(I[168], 172, 16, "year"); + if (month == null) dart.nullFailed(I[168], 173, 12, "month"); + if (day == null) dart.nullFailed(I[168], 174, 11, "day"); + if (hour == null) dart.nullFailed(I[168], 175, 11, "hour"); + if (minute == null) dart.nullFailed(I[168], 176, 11, "minute"); + if (second == null) dart.nullFailed(I[168], 177, 11, "second"); + if (millisecond == null) dart.nullFailed(I[168], 178, 11, "millisecond"); + if (microsecond == null) dart.nullFailed(I[168], 179, 11, "microsecond"); + core.DateTime._internal.call(this, year, month, day, hour, minute, second, millisecond, microsecond, false); + }).prototype = core.DateTime.prototype; + (core.DateTime.utc = function(year, month = 1, day = 1, hour = 0, minute = 0, second = 0, millisecond = 0, microsecond = 0) { + if (year == null) dart.nullFailed(I[168], 192, 20, "year"); + if (month == null) dart.nullFailed(I[168], 193, 12, "month"); + if (day == null) dart.nullFailed(I[168], 194, 11, "day"); + if (hour == null) dart.nullFailed(I[168], 195, 11, "hour"); + if (minute == null) dart.nullFailed(I[168], 196, 11, "minute"); + if (second == null) dart.nullFailed(I[168], 197, 11, "second"); + if (millisecond == null) dart.nullFailed(I[168], 198, 11, "millisecond"); + if (microsecond == null) dart.nullFailed(I[168], 199, 11, "microsecond"); + core.DateTime._internal.call(this, year, month, day, hour, minute, second, millisecond, microsecond, true); + }).prototype = core.DateTime.prototype; + (core.DateTime.now = function() { + core.DateTime._now.call(this); + }).prototype = core.DateTime.prototype; + (core.DateTime.fromMillisecondsSinceEpoch = function(millisecondsSinceEpoch, opts) { + if (millisecondsSinceEpoch == null) dart.nullFailed(I[7], 308, 43, "millisecondsSinceEpoch"); + let isUtc = opts && 'isUtc' in opts ? opts.isUtc : false; + if (isUtc == null) dart.nullFailed(I[7], 309, 13, "isUtc"); + core.DateTime._withValue.call(this, millisecondsSinceEpoch, {isUtc: isUtc}); + }).prototype = core.DateTime.prototype; + (core.DateTime.fromMicrosecondsSinceEpoch = function(microsecondsSinceEpoch, opts) { + if (microsecondsSinceEpoch == null) dart.nullFailed(I[7], 313, 43, "microsecondsSinceEpoch"); + let isUtc = opts && 'isUtc' in opts ? opts.isUtc : false; + if (isUtc == null) dart.nullFailed(I[7], 314, 13, "isUtc"); + core.DateTime._withValue.call(this, core.DateTime._microsecondInRoundedMilliseconds(microsecondsSinceEpoch), {isUtc: isUtc}); + }).prototype = core.DateTime.prototype; + (core.DateTime._withValue = function(_value, opts) { + if (_value == null) dart.nullFailed(I[168], 366, 28, "_value"); + let isUtc = opts && 'isUtc' in opts ? opts.isUtc : null; + if (isUtc == null) dart.nullFailed(I[168], 366, 51, "isUtc"); + this[_value$4] = _value; + this[isUtc$] = isUtc; + if (this.millisecondsSinceEpoch[$abs]() > 8640000000000000.0 || this.millisecondsSinceEpoch[$abs]() === 8640000000000000.0 && this.microsecond !== 0) { + dart.throw(new core.ArgumentError.new("DateTime is outside valid range: " + dart.str(this.millisecondsSinceEpoch))); + } + _internal.checkNotNullable(core.bool, this.isUtc, "isUtc"); + }).prototype = core.DateTime.prototype; + (core.DateTime._internal = function(year, month, day, hour, minute, second, millisecond, microsecond, isUtc) { + if (year == null) dart.nullFailed(I[7], 320, 26, "year"); + if (month == null) dart.nullFailed(I[7], 320, 36, "month"); + if (day == null) dart.nullFailed(I[7], 320, 47, "day"); + if (hour == null) dart.nullFailed(I[7], 320, 56, "hour"); + if (minute == null) dart.nullFailed(I[7], 320, 66, "minute"); + if (second == null) dart.nullFailed(I[7], 321, 11, "second"); + if (millisecond == null) dart.nullFailed(I[7], 321, 23, "millisecond"); + if (microsecond == null) dart.nullFailed(I[7], 321, 40, "microsecond"); + if (isUtc == null) dart.nullFailed(I[7], 321, 58, "isUtc"); + this[isUtc$] = isUtc; + this[_value$4] = core.int.as(_js_helper.checkInt(_js_helper.Primitives.valueFromDecomposedDate(year, month, day, hour, minute, second, dart.notNull(millisecond) + dart.notNull(core.DateTime._microsecondInRoundedMilliseconds(microsecond)), isUtc))); + ; + }).prototype = core.DateTime.prototype; + (core.DateTime._now = function() { + this[isUtc$] = false; + this[_value$4] = _js_helper.Primitives.dateNow(); + ; + }).prototype = core.DateTime.prototype; + dart.addTypeTests(core.DateTime); + dart.addTypeCaches(core.DateTime); + core.DateTime[dart.implements] = () => [core.Comparable$(core.DateTime)]; + dart.setMethodSignature(core.DateTime, () => ({ + __proto__: dart.getMethods(core.DateTime.__proto__), + isBefore: dart.fnType(core.bool, [core.DateTime]), + isAfter: dart.fnType(core.bool, [core.DateTime]), + isAtSameMomentAs: dart.fnType(core.bool, [core.DateTime]), + compareTo: dart.fnType(core.int, [core.DateTime]), + [$compareTo]: dart.fnType(core.int, [core.DateTime]), + toLocal: dart.fnType(core.DateTime, []), + toUtc: dart.fnType(core.DateTime, []), + toIso8601String: dart.fnType(core.String, []), + add: dart.fnType(core.DateTime, [core.Duration]), + subtract: dart.fnType(core.DateTime, [core.Duration]), + difference: dart.fnType(core.Duration, [core.DateTime]) + })); + dart.setGetterSignature(core.DateTime, () => ({ + __proto__: dart.getGetters(core.DateTime.__proto__), + millisecondsSinceEpoch: core.int, + microsecondsSinceEpoch: core.int, + timeZoneName: core.String, + timeZoneOffset: core.Duration, + year: core.int, + month: core.int, + day: core.int, + hour: core.int, + minute: core.int, + second: core.int, + millisecond: core.int, + microsecond: core.int, + weekday: core.int + })); + dart.setLibraryUri(core.DateTime, I[8]); + dart.setFieldSignature(core.DateTime, () => ({ + __proto__: dart.getFields(core.DateTime.__proto__), + [_value$4]: dart.finalFieldType(core.int), + isUtc: dart.finalFieldType(core.bool) + })); + dart.defineExtensionMethods(core.DateTime, ['_equals', 'compareTo', 'toString']); + dart.defineExtensionAccessors(core.DateTime, ['hashCode']); + dart.defineLazy(core.DateTime, { + /*core.DateTime.monday*/get monday() { + return 1; + }, + /*core.DateTime.tuesday*/get tuesday() { + return 2; + }, + /*core.DateTime.wednesday*/get wednesday() { + return 3; + }, + /*core.DateTime.thursday*/get thursday() { + return 4; + }, + /*core.DateTime.friday*/get friday() { + return 5; + }, + /*core.DateTime.saturday*/get saturday() { + return 6; + }, + /*core.DateTime.sunday*/get sunday() { + return 7; + }, + /*core.DateTime.daysPerWeek*/get daysPerWeek() { + return 7; + }, + /*core.DateTime.january*/get january() { + return 1; + }, + /*core.DateTime.february*/get february() { + return 2; + }, + /*core.DateTime.march*/get march() { + return 3; + }, + /*core.DateTime.april*/get april() { + return 4; + }, + /*core.DateTime.may*/get may() { + return 5; + }, + /*core.DateTime.june*/get june() { + return 6; + }, + /*core.DateTime.july*/get july() { + return 7; + }, + /*core.DateTime.august*/get august() { + return 8; + }, + /*core.DateTime.september*/get september() { + return 9; + }, + /*core.DateTime.october*/get october() { + return 10; + }, + /*core.DateTime.november*/get november() { + return 11; + }, + /*core.DateTime.december*/get december() { + return 12; + }, + /*core.DateTime.monthsPerYear*/get monthsPerYear() { + return 12; + }, + /*core.DateTime._maxMillisecondsSinceEpoch*/get _maxMillisecondsSinceEpoch() { + return 8640000000000000.0; + }, + /*core.DateTime._parseFormat*/get _parseFormat() { + return core.RegExp.new("^([+-]?\\d{4,6})-?(\\d\\d)-?(\\d\\d)" + "(?:[ T](\\d\\d)(?::?(\\d\\d)(?::?(\\d\\d)(?:[.,](\\d+))?)?)?" + "( ?[zZ]| ?([-+])(\\d\\d)(?::?(\\d\\d))?)?)?$"); + } + }, false); + var _duration$ = dart.privateName(core, "Duration._duration"); + var _duration = dart.privateName(core, "_duration"); + core.Duration = class Duration extends core.Object { + get [_duration]() { + return this[_duration$]; + } + set [_duration](value) { + super[_duration] = value; + } + ['+'](other) { + if (other == null) dart.nullFailed(I[169], 148, 32, "other"); + return new core.Duration._microseconds(dart.notNull(this[_duration]) + dart.notNull(other[_duration])); + } + ['-'](other) { + if (other == null) dart.nullFailed(I[169], 154, 32, "other"); + return new core.Duration._microseconds(dart.notNull(this[_duration]) - dart.notNull(other[_duration])); + } + ['*'](factor) { + if (factor == null) dart.nullFailed(I[169], 163, 27, "factor"); + return new core.Duration._microseconds((dart.notNull(this[_duration]) * dart.notNull(factor))[$round]()); + } + ['~/'](quotient) { + if (quotient == null) dart.nullFailed(I[169], 171, 28, "quotient"); + if (quotient === 0) dart.throw(new core.IntegerDivisionByZeroException.new()); + return new core.Duration._microseconds((dart.notNull(this[_duration]) / dart.notNull(quotient))[$truncate]()); + } + ['<'](other) { + if (other == null) dart.nullFailed(I[169], 179, 28, "other"); + return dart.notNull(this[_duration]) < dart.notNull(other[_duration]); + } + ['>'](other) { + if (other == null) dart.nullFailed(I[169], 182, 28, "other"); + return dart.notNull(this[_duration]) > dart.notNull(other[_duration]); + } + ['<='](other) { + if (other == null) dart.nullFailed(I[169], 185, 29, "other"); + return dart.notNull(this[_duration]) <= dart.notNull(other[_duration]); + } + ['>='](other) { + if (other == null) dart.nullFailed(I[169], 188, 29, "other"); + return dart.notNull(this[_duration]) >= dart.notNull(other[_duration]); + } + get inDays() { + return (dart.notNull(this[_duration]) / 86400000000.0)[$truncate](); + } + get inHours() { + return (dart.notNull(this[_duration]) / 3600000000.0)[$truncate](); + } + get inMinutes() { + return (dart.notNull(this[_duration]) / 60000000)[$truncate](); + } + get inSeconds() { + return (dart.notNull(this[_duration]) / 1000000)[$truncate](); + } + get inMilliseconds() { + return (dart.notNull(this[_duration]) / 1000)[$truncate](); + } + get inMicroseconds() { + return this[_duration]; + } + _equals(other) { + if (other == null) return false; + return core.Duration.is(other) && this[_duration] == other.inMicroseconds; + } + get hashCode() { + return dart.hashCode(this[_duration]); + } + compareTo(other) { + core.Duration.as(other); + if (other == null) dart.nullFailed(I[169], 246, 26, "other"); + return this[_duration][$compareTo](other[_duration]); + } + toString() { + function sixDigits(n) { + if (n == null) dart.nullFailed(I[169], 260, 26, "n"); + if (dart.notNull(n) >= 100000) return dart.str(n); + if (dart.notNull(n) >= 10000) return "0" + dart.str(n); + if (dart.notNull(n) >= 1000) return "00" + dart.str(n); + if (dart.notNull(n) >= 100) return "000" + dart.str(n); + if (dart.notNull(n) >= 10) return "0000" + dart.str(n); + return "00000" + dart.str(n); + } + dart.fn(sixDigits, T$0.intToString()); + function twoDigits(n) { + if (n == null) dart.nullFailed(I[169], 269, 26, "n"); + if (dart.notNull(n) >= 10) return dart.str(n); + return "0" + dart.str(n); + } + dart.fn(twoDigits, T$0.intToString()); + if (dart.notNull(this.inMicroseconds) < 0) { + return "-" + dart.str(this._negate()); + } + let twoDigitMinutes = twoDigits(this.inMinutes[$remainder](60)); + let twoDigitSeconds = twoDigits(this.inSeconds[$remainder](60)); + let sixDigitUs = sixDigits(this.inMicroseconds[$remainder](1000000)); + return dart.str(this.inHours) + ":" + dart.str(twoDigitMinutes) + ":" + dart.str(twoDigitSeconds) + "." + dart.str(sixDigitUs); + } + get isNegative() { + return dart.notNull(this[_duration]) < 0; + } + abs() { + return new core.Duration._microseconds(this[_duration][$abs]()); + } + _negate() { + return new core.Duration._microseconds(0 - dart.notNull(this[_duration])); + } + }; + (core.Duration.new = function(opts) { + let days = opts && 'days' in opts ? opts.days : 0; + if (days == null) dart.nullFailed(I[169], 129, 12, "days"); + let hours = opts && 'hours' in opts ? opts.hours : 0; + if (hours == null) dart.nullFailed(I[169], 130, 11, "hours"); + let minutes = opts && 'minutes' in opts ? opts.minutes : 0; + if (minutes == null) dart.nullFailed(I[169], 131, 11, "minutes"); + let seconds = opts && 'seconds' in opts ? opts.seconds : 0; + if (seconds == null) dart.nullFailed(I[169], 132, 11, "seconds"); + let milliseconds = opts && 'milliseconds' in opts ? opts.milliseconds : 0; + if (milliseconds == null) dart.nullFailed(I[169], 133, 11, "milliseconds"); + let microseconds = opts && 'microseconds' in opts ? opts.microseconds : 0; + if (microseconds == null) dart.nullFailed(I[169], 134, 11, "microseconds"); + core.Duration._microseconds.call(this, 86400000000.0 * dart.notNull(days) + 3600000000.0 * dart.notNull(hours) + 60000000 * dart.notNull(minutes) + 1000000 * dart.notNull(seconds) + 1000 * dart.notNull(milliseconds) + dart.notNull(microseconds)); + }).prototype = core.Duration.prototype; + (core.Duration._microseconds = function(_duration) { + if (_duration == null) dart.nullFailed(I[169], 144, 37, "_duration"); + this[_duration$] = _duration; + ; + }).prototype = core.Duration.prototype; + dart.addTypeTests(core.Duration); + dart.addTypeCaches(core.Duration); + core.Duration[dart.implements] = () => [core.Comparable$(core.Duration)]; + dart.setMethodSignature(core.Duration, () => ({ + __proto__: dart.getMethods(core.Duration.__proto__), + '+': dart.fnType(core.Duration, [core.Duration]), + '-': dart.fnType(core.Duration, [core.Duration]), + '*': dart.fnType(core.Duration, [core.num]), + '~/': dart.fnType(core.Duration, [core.int]), + '<': dart.fnType(core.bool, [core.Duration]), + '>': dart.fnType(core.bool, [core.Duration]), + '<=': dart.fnType(core.bool, [core.Duration]), + '>=': dart.fnType(core.bool, [core.Duration]), + compareTo: dart.fnType(core.int, [dart.nullable(core.Object)]), + [$compareTo]: dart.fnType(core.int, [dart.nullable(core.Object)]), + abs: dart.fnType(core.Duration, []), + _negate: dart.fnType(core.Duration, []) + })); + dart.setGetterSignature(core.Duration, () => ({ + __proto__: dart.getGetters(core.Duration.__proto__), + inDays: core.int, + inHours: core.int, + inMinutes: core.int, + inSeconds: core.int, + inMilliseconds: core.int, + inMicroseconds: core.int, + isNegative: core.bool + })); + dart.setLibraryUri(core.Duration, I[8]); + dart.setFieldSignature(core.Duration, () => ({ + __proto__: dart.getFields(core.Duration.__proto__), + [_duration]: dart.finalFieldType(core.int) + })); + dart.defineExtensionMethods(core.Duration, ['_equals', 'compareTo', 'toString']); + dart.defineExtensionAccessors(core.Duration, ['hashCode']); + dart.defineLazy(core.Duration, { + /*core.Duration.microsecondsPerMillisecond*/get microsecondsPerMillisecond() { + return 1000; + }, + /*core.Duration.millisecondsPerSecond*/get millisecondsPerSecond() { + return 1000; + }, + /*core.Duration.secondsPerMinute*/get secondsPerMinute() { + return 60; + }, + /*core.Duration.minutesPerHour*/get minutesPerHour() { + return 60; + }, + /*core.Duration.hoursPerDay*/get hoursPerDay() { + return 24; + }, + /*core.Duration.microsecondsPerSecond*/get microsecondsPerSecond() { + return 1000000; + }, + /*core.Duration.microsecondsPerMinute*/get microsecondsPerMinute() { + return 60000000; + }, + /*core.Duration.microsecondsPerHour*/get microsecondsPerHour() { + return 3600000000.0; + }, + /*core.Duration.microsecondsPerDay*/get microsecondsPerDay() { + return 86400000000.0; + }, + /*core.Duration.millisecondsPerMinute*/get millisecondsPerMinute() { + return 60000; + }, + /*core.Duration.millisecondsPerHour*/get millisecondsPerHour() { + return 3600000; + }, + /*core.Duration.millisecondsPerDay*/get millisecondsPerDay() { + return 86400000; + }, + /*core.Duration.secondsPerHour*/get secondsPerHour() { + return 3600; + }, + /*core.Duration.secondsPerDay*/get secondsPerDay() { + return 86400; + }, + /*core.Duration.minutesPerDay*/get minutesPerDay() { + return 1440; + }, + /*core.Duration.zero*/get zero() { + return C[420] || CT.C420; + } + }, false); + core.TypeError = class TypeError extends core.Error {}; + (core.TypeError.new = function() { + core.TypeError.__proto__.new.call(this); + ; + }).prototype = core.TypeError.prototype; + dart.addTypeTests(core.TypeError); + dart.addTypeCaches(core.TypeError); + dart.setLibraryUri(core.TypeError, I[8]); + core.CastError = class CastError extends core.Error {}; + (core.CastError.new = function() { + core.CastError.__proto__.new.call(this); + ; + }).prototype = core.CastError.prototype; + dart.addTypeTests(core.CastError); + dart.addTypeCaches(core.CastError); + dart.setLibraryUri(core.CastError, I[8]); + core.NullThrownError = class NullThrownError extends core.Error { + toString() { + return "Throw of null."; + } + }; + (core.NullThrownError.new = function() { + core.NullThrownError.__proto__.new.call(this); + ; + }).prototype = core.NullThrownError.prototype; + dart.addTypeTests(core.NullThrownError); + dart.addTypeCaches(core.NullThrownError); + dart.setLibraryUri(core.NullThrownError, I[8]); + dart.defineExtensionMethods(core.NullThrownError, ['toString']); + var invalidValue = dart.privateName(core, "ArgumentError.invalidValue"); + var name$13 = dart.privateName(core, "ArgumentError.name"); + var message$12 = dart.privateName(core, "ArgumentError.message"); + core.ArgumentError = class ArgumentError extends core.Error { + get invalidValue() { + return this[invalidValue]; + } + set invalidValue(value) { + super.invalidValue = value; + } + get name() { + return this[name$13]; + } + set name(value) { + super.name = value; + } + get message() { + return this[message$12]; + } + set message(value) { + super.message = value; + } + static checkNotNull(T, argument, name = null) { + if (argument == null) dart.throw(new core.ArgumentError.notNull(name)); + return argument; + } + get [_errorName$]() { + return "Invalid argument" + (!dart.test(this[_hasValue$]) ? "(s)" : ""); + } + get [_errorExplanation$]() { + return ""; + } + toString() { + let name = this[$name]; + let nameString = name == null ? "" : " (" + dart.str(name) + ")"; + let message = this[$message]; + let messageString = message == null ? "" : ": " + dart.str(message); + let prefix = dart.str(this[_errorName$]) + nameString + messageString; + if (!dart.test(this[_hasValue$])) return prefix; + let explanation = this[_errorExplanation$]; + let errorValue = core.Error.safeToString(this[$invalidValue]); + return prefix + dart.str(explanation) + ": " + dart.str(errorValue); + } + }; + (core.ArgumentError.new = function(message = null) { + this[message$12] = message; + this[invalidValue] = null; + this[_hasValue$] = false; + this[name$13] = null; + core.ArgumentError.__proto__.new.call(this); + ; + }).prototype = core.ArgumentError.prototype; + (core.ArgumentError.value = function(value, name = null, message = null) { + this[name$13] = name; + this[message$12] = message; + this[invalidValue] = value; + this[_hasValue$] = true; + core.ArgumentError.__proto__.new.call(this); + ; + }).prototype = core.ArgumentError.prototype; + (core.ArgumentError.notNull = function(name = null) { + this[name$13] = name; + this[_hasValue$] = false; + this[message$12] = "Must not be null"; + this[invalidValue] = null; + core.ArgumentError.__proto__.new.call(this); + ; + }).prototype = core.ArgumentError.prototype; + dart.addTypeTests(core.ArgumentError); + dart.addTypeCaches(core.ArgumentError); + dart.setGetterSignature(core.ArgumentError, () => ({ + __proto__: dart.getGetters(core.ArgumentError.__proto__), + [_errorName$]: core.String, + [_errorExplanation$]: core.String + })); + dart.setLibraryUri(core.ArgumentError, I[8]); + dart.setFieldSignature(core.ArgumentError, () => ({ + __proto__: dart.getFields(core.ArgumentError.__proto__), + [_hasValue$]: dart.finalFieldType(core.bool), + invalidValue: dart.finalFieldType(dart.dynamic), + name: dart.finalFieldType(dart.nullable(core.String)), + message: dart.finalFieldType(dart.dynamic) + })); + dart.defineExtensionMethods(core.ArgumentError, ['toString']); + dart.defineExtensionAccessors(core.ArgumentError, ['invalidValue', 'name', 'message']); + var start = dart.privateName(core, "RangeError.start"); + var end = dart.privateName(core, "RangeError.end"); + core.RangeError = class RangeError extends core.ArgumentError { + get start() { + return this[start]; + } + set start(value) { + super.start = value; + } + get end() { + return this[end]; + } + set end(value) { + super.end = value; + } + static checkValueInInterval(value, minValue, maxValue, name = null, message = null) { + if (value == null) dart.nullFailed(I[170], 274, 39, "value"); + if (minValue == null) dart.nullFailed(I[170], 274, 50, "minValue"); + if (maxValue == null) dart.nullFailed(I[170], 274, 64, "maxValue"); + if (dart.notNull(value) < dart.notNull(minValue) || dart.notNull(value) > dart.notNull(maxValue)) { + dart.throw(new core.RangeError.range(value, minValue, maxValue, name, message)); + } + return value; + } + static checkValidIndex(index, indexable, name = null, length = null, message = null) { + if (index == null) dart.nullFailed(I[170], 297, 34, "index"); + length == null ? length = core.int.as(dart.dload(indexable, 'length')) : null; + if (0 > dart.notNull(index) || dart.notNull(index) >= dart.notNull(length)) { + name == null ? name = "index" : null; + dart.throw(new core.IndexError.new(index, indexable, name, message, length)); + } + return index; + } + static checkValidRange(start, end, length, startName = null, endName = null, message = null) { + if (start == null) dart.nullFailed(I[170], 322, 34, "start"); + if (length == null) dart.nullFailed(I[170], 322, 55, "length"); + if (0 > dart.notNull(start) || dart.notNull(start) > dart.notNull(length)) { + startName == null ? startName = "start" : null; + dart.throw(new core.RangeError.range(start, 0, length, startName, message)); + } + if (end != null) { + if (dart.notNull(start) > dart.notNull(end) || dart.notNull(end) > dart.notNull(length)) { + endName == null ? endName = "end" : null; + dart.throw(new core.RangeError.range(end, start, length, endName, message)); + } + return end; + } + return length; + } + static checkNotNegative(value, name = null, message = null) { + let t249; + if (value == null) dart.nullFailed(I[170], 349, 35, "value"); + if (dart.notNull(value) < 0) { + dart.throw(new core.RangeError.range(value, 0, null, (t249 = name, t249 == null ? "index" : t249), message)); + } + return value; + } + get [_errorName$]() { + return "RangeError"; + } + get [_errorExplanation$]() { + if (!dart.test(this[_hasValue$])) dart.assertFailed(null, I[170], 358, 12, "_hasValue"); + let explanation = ""; + let start = this.start; + let end = this.end; + if (start == null) { + if (end != null) { + explanation = ": Not less than or equal to " + dart.str(end); + } + } else if (end == null) { + explanation = ": Not greater than or equal to " + dart.str(start); + } else if (dart.notNull(end) > dart.notNull(start)) { + explanation = ": Not in inclusive range " + dart.str(start) + ".." + dart.str(end); + } else if (dart.notNull(end) < dart.notNull(start)) { + explanation = ": Valid value range is empty"; + } else { + explanation = ": Only valid value is " + dart.str(start); + } + return explanation; + } + }; + (core.RangeError.new = function(message) { + this[start] = null; + this[end] = null; + core.RangeError.__proto__.new.call(this, message); + ; + }).prototype = core.RangeError.prototype; + (core.RangeError.value = function(value, name = null, message = null) { + let t249; + if (value == null) dart.nullFailed(I[170], 229, 24, "value"); + this[start] = null; + this[end] = null; + core.RangeError.__proto__.value.call(this, value, name, (t249 = message, t249 == null ? "Value not in range" : t249)); + ; + }).prototype = core.RangeError.prototype; + (core.RangeError.range = function(invalidValue, minValue, maxValue, name = null, message = null) { + let t249; + if (invalidValue == null) dart.nullFailed(I[170], 247, 24, "invalidValue"); + this[start] = minValue; + this[end] = maxValue; + core.RangeError.__proto__.value.call(this, invalidValue, name, (t249 = message, t249 == null ? "Invalid value" : t249)); + ; + }).prototype = core.RangeError.prototype; + dart.addTypeTests(core.RangeError); + dart.addTypeCaches(core.RangeError); + dart.setLibraryUri(core.RangeError, I[8]); + dart.setFieldSignature(core.RangeError, () => ({ + __proto__: dart.getFields(core.RangeError.__proto__), + start: dart.finalFieldType(dart.nullable(core.num)), + end: dart.finalFieldType(dart.nullable(core.num)) + })); + var indexable$ = dart.privateName(core, "IndexError.indexable"); + var length$ = dart.privateName(core, "IndexError.length"); + core.IndexError = class IndexError extends core.ArgumentError { + get indexable() { + return this[indexable$]; + } + set indexable(value) { + super.indexable = value; + } + get length() { + return this[length$]; + } + set length(value) { + super.length = value; + } + get start() { + return 0; + } + get end() { + return dart.notNull(this.length) - 1; + } + get [_errorName$]() { + return "RangeError"; + } + get [_errorExplanation$]() { + if (!dart.test(this[_hasValue$])) dart.assertFailed(null, I[170], 412, 12, "_hasValue"); + let invalidValue = core.int.as(this[$invalidValue]); + if (dart.notNull(invalidValue) < 0) { + return ": index must not be negative"; + } + if (this.length === 0) { + return ": no indices are valid"; + } + return ": index should be less than " + dart.str(this.length); + } + }; + (core.IndexError.new = function(invalidValue, indexable, name = null, message = null, length = null) { + let t249, t249$; + if (invalidValue == null) dart.nullFailed(I[170], 400, 18, "invalidValue"); + this[indexable$] = indexable; + this[length$] = core.int.as((t249 = length, t249 == null ? dart.dload(indexable, 'length') : t249)); + core.IndexError.__proto__.value.call(this, invalidValue, name, (t249$ = message, t249$ == null ? "Index out of range" : t249$)); + ; + }).prototype = core.IndexError.prototype; + dart.addTypeTests(core.IndexError); + dart.addTypeCaches(core.IndexError); + core.IndexError[dart.implements] = () => [core.RangeError]; + dart.setGetterSignature(core.IndexError, () => ({ + __proto__: dart.getGetters(core.IndexError.__proto__), + start: core.int, + end: core.int + })); + dart.setLibraryUri(core.IndexError, I[8]); + dart.setFieldSignature(core.IndexError, () => ({ + __proto__: dart.getFields(core.IndexError.__proto__), + indexable: dart.finalFieldType(dart.dynamic), + length: dart.finalFieldType(core.int) + })); + var _className = dart.privateName(core, "_className"); + core.AbstractClassInstantiationError = class AbstractClassInstantiationError extends core.Error { + toString() { + return "Cannot instantiate abstract class: '" + dart.str(this[_className]) + "'"; + } + }; + (core.AbstractClassInstantiationError.new = function(className) { + if (className == null) dart.nullFailed(I[170], 444, 42, "className"); + this[_className] = className; + core.AbstractClassInstantiationError.__proto__.new.call(this); + ; + }).prototype = core.AbstractClassInstantiationError.prototype; + dart.addTypeTests(core.AbstractClassInstantiationError); + dart.addTypeCaches(core.AbstractClassInstantiationError); + dart.setLibraryUri(core.AbstractClassInstantiationError, I[8]); + dart.setFieldSignature(core.AbstractClassInstantiationError, () => ({ + __proto__: dart.getFields(core.AbstractClassInstantiationError.__proto__), + [_className]: dart.finalFieldType(core.String) + })); + dart.defineExtensionMethods(core.AbstractClassInstantiationError, ['toString']); + core.NoSuchMethodError = class NoSuchMethodError extends core.Error { + toString() { + let sb = new core.StringBuffer.new(""); + let comma = ""; + let $arguments = this[_arguments$]; + if ($arguments != null) { + for (let argument of $arguments) { + sb.write(comma); + sb.write(core.Error.safeToString(argument)); + comma = ", "; + } + } + let namedArguments = this[_namedArguments$]; + if (namedArguments != null) { + namedArguments[$forEach](dart.fn((key, value) => { + if (key == null) dart.nullFailed(I[7], 822, 38, "key"); + sb.write(comma); + sb.write(core._symbolToString(key)); + sb.write(": "); + sb.write(core.Error.safeToString(value)); + comma = ", "; + }, T$0.SymbolAnddynamicTovoid())); + } + let memberName = core._symbolToString(this[_memberName$]); + let receiverText = core.Error.safeToString(this[_receiver$]); + let actualParameters = dart.str(sb); + let invocation = this[_invocation$]; + let failureMessage = dart.InvocationImpl.is(invocation) ? invocation.failureMessage : "method not found"; + return "NoSuchMethodError: '" + dart.str(memberName) + "'\n" + dart.str(failureMessage) + "\n" + "Receiver: " + dart.str(receiverText) + "\n" + "Arguments: [" + actualParameters + "]"; + } + }; + (core.NoSuchMethodError._withInvocation = function(_receiver, invocation) { + if (invocation == null) dart.nullFailed(I[7], 802, 64, "invocation"); + this[_receiver$] = _receiver; + this[_memberName$] = invocation.memberName; + this[_arguments$] = invocation.positionalArguments; + this[_namedArguments$] = invocation.namedArguments; + this[_invocation$] = invocation; + core.NoSuchMethodError.__proto__.new.call(this); + ; + }).prototype = core.NoSuchMethodError.prototype; + (core.NoSuchMethodError.new = function(receiver, memberName, positionalArguments, namedArguments) { + if (memberName == null) dart.nullFailed(I[7], 789, 46, "memberName"); + this[_receiver$] = receiver; + this[_memberName$] = memberName; + this[_arguments$] = positionalArguments; + this[_namedArguments$] = namedArguments; + this[_invocation$] = null; + core.NoSuchMethodError.__proto__.new.call(this); + ; + }).prototype = core.NoSuchMethodError.prototype; + dart.addTypeTests(core.NoSuchMethodError); + dart.addTypeCaches(core.NoSuchMethodError); + dart.setLibraryUri(core.NoSuchMethodError, I[8]); + dart.setFieldSignature(core.NoSuchMethodError, () => ({ + __proto__: dart.getFields(core.NoSuchMethodError.__proto__), + [_receiver$]: dart.finalFieldType(dart.nullable(core.Object)), + [_memberName$]: dart.finalFieldType(core.Symbol), + [_arguments$]: dart.finalFieldType(dart.nullable(core.List)), + [_namedArguments$]: dart.finalFieldType(dart.nullable(core.Map$(core.Symbol, dart.dynamic))), + [_invocation$]: dart.finalFieldType(dart.nullable(core.Invocation)) + })); + dart.defineExtensionMethods(core.NoSuchMethodError, ['toString']); + var message$13 = dart.privateName(core, "UnsupportedError.message"); + core.UnsupportedError = class UnsupportedError extends core.Error { + get message() { + return this[message$13]; + } + set message(value) { + super.message = value; + } + toString() { + return "Unsupported operation: " + dart.str(this.message); + } + }; + (core.UnsupportedError.new = function(message) { + if (message == null) dart.nullFailed(I[170], 498, 32, "message"); + this[message$13] = message; + core.UnsupportedError.__proto__.new.call(this); + ; + }).prototype = core.UnsupportedError.prototype; + dart.addTypeTests(core.UnsupportedError); + dart.addTypeCaches(core.UnsupportedError); + dart.setLibraryUri(core.UnsupportedError, I[8]); + dart.setFieldSignature(core.UnsupportedError, () => ({ + __proto__: dart.getFields(core.UnsupportedError.__proto__), + message: dart.finalFieldType(dart.nullable(core.String)) + })); + dart.defineExtensionMethods(core.UnsupportedError, ['toString']); + var message$14 = dart.privateName(core, "UnimplementedError.message"); + core.UnimplementedError = class UnimplementedError extends core.Error { + get message() { + return this[message$14]; + } + set message(value) { + super.message = value; + } + toString() { + let message = this.message; + return message != null ? "UnimplementedError: " + dart.str(message) : "UnimplementedError"; + } + }; + (core.UnimplementedError.new = function(message = null) { + this[message$14] = message; + core.UnimplementedError.__proto__.new.call(this); + ; + }).prototype = core.UnimplementedError.prototype; + dart.addTypeTests(core.UnimplementedError); + dart.addTypeCaches(core.UnimplementedError); + core.UnimplementedError[dart.implements] = () => [core.UnsupportedError]; + dart.setLibraryUri(core.UnimplementedError, I[8]); + dart.setFieldSignature(core.UnimplementedError, () => ({ + __proto__: dart.getFields(core.UnimplementedError.__proto__), + message: dart.finalFieldType(dart.nullable(core.String)) + })); + dart.defineExtensionMethods(core.UnimplementedError, ['toString']); + var message$15 = dart.privateName(core, "StateError.message"); + core.StateError = class StateError extends core.Error { + get message() { + return this[message$15]; + } + set message(value) { + super.message = value; + } + toString() { + return "Bad state: " + dart.str(this.message); + } + }; + (core.StateError.new = function(message) { + if (message == null) dart.nullFailed(I[170], 535, 19, "message"); + this[message$15] = message; + core.StateError.__proto__.new.call(this); + ; + }).prototype = core.StateError.prototype; + dart.addTypeTests(core.StateError); + dart.addTypeCaches(core.StateError); + dart.setLibraryUri(core.StateError, I[8]); + dart.setFieldSignature(core.StateError, () => ({ + __proto__: dart.getFields(core.StateError.__proto__), + message: dart.finalFieldType(core.String) + })); + dart.defineExtensionMethods(core.StateError, ['toString']); + var modifiedObject$ = dart.privateName(core, "ConcurrentModificationError.modifiedObject"); + core.ConcurrentModificationError = class ConcurrentModificationError extends core.Error { + get modifiedObject() { + return this[modifiedObject$]; + } + set modifiedObject(value) { + super.modifiedObject = value; + } + toString() { + if (this.modifiedObject == null) { + return "Concurrent modification during iteration."; + } + return "Concurrent modification during iteration: " + dart.str(core.Error.safeToString(this.modifiedObject)) + "."; + } + }; + (core.ConcurrentModificationError.new = function(modifiedObject = null) { + this[modifiedObject$] = modifiedObject; + core.ConcurrentModificationError.__proto__.new.call(this); + ; + }).prototype = core.ConcurrentModificationError.prototype; + dart.addTypeTests(core.ConcurrentModificationError); + dart.addTypeCaches(core.ConcurrentModificationError); + dart.setLibraryUri(core.ConcurrentModificationError, I[8]); + dart.setFieldSignature(core.ConcurrentModificationError, () => ({ + __proto__: dart.getFields(core.ConcurrentModificationError.__proto__), + modifiedObject: dart.finalFieldType(dart.nullable(core.Object)) + })); + dart.defineExtensionMethods(core.ConcurrentModificationError, ['toString']); + core.OutOfMemoryError = class OutOfMemoryError extends core.Object { + toString() { + return "Out of Memory"; + } + get stackTrace() { + return null; + } + }; + (core.OutOfMemoryError.new = function() { + ; + }).prototype = core.OutOfMemoryError.prototype; + dart.addTypeTests(core.OutOfMemoryError); + dart.addTypeCaches(core.OutOfMemoryError); + core.OutOfMemoryError[dart.implements] = () => [core.Error]; + dart.setGetterSignature(core.OutOfMemoryError, () => ({ + __proto__: dart.getGetters(core.OutOfMemoryError.__proto__), + stackTrace: dart.nullable(core.StackTrace), + [$stackTrace]: dart.nullable(core.StackTrace) + })); + dart.setLibraryUri(core.OutOfMemoryError, I[8]); + dart.defineExtensionMethods(core.OutOfMemoryError, ['toString']); + dart.defineExtensionAccessors(core.OutOfMemoryError, ['stackTrace']); + core.StackOverflowError = class StackOverflowError extends core.Object { + toString() { + return "Stack Overflow"; + } + get stackTrace() { + return null; + } + }; + (core.StackOverflowError.new = function() { + ; + }).prototype = core.StackOverflowError.prototype; + dart.addTypeTests(core.StackOverflowError); + dart.addTypeCaches(core.StackOverflowError); + core.StackOverflowError[dart.implements] = () => [core.Error]; + dart.setGetterSignature(core.StackOverflowError, () => ({ + __proto__: dart.getGetters(core.StackOverflowError.__proto__), + stackTrace: dart.nullable(core.StackTrace), + [$stackTrace]: dart.nullable(core.StackTrace) + })); + dart.setLibraryUri(core.StackOverflowError, I[8]); + dart.defineExtensionMethods(core.StackOverflowError, ['toString']); + dart.defineExtensionAccessors(core.StackOverflowError, ['stackTrace']); + var variableName$ = dart.privateName(core, "CyclicInitializationError.variableName"); + core.CyclicInitializationError = class CyclicInitializationError extends core.Error { + get variableName() { + return this[variableName$]; + } + set variableName(value) { + super.variableName = value; + } + toString() { + let variableName = this.variableName; + return variableName == null ? "Reading static variable during its initialization" : "Reading static variable '" + dart.str(variableName) + "' during its initialization"; + } + }; + (core.CyclicInitializationError.new = function(variableName = null) { + this[variableName$] = variableName; + core.CyclicInitializationError.__proto__.new.call(this); + ; + }).prototype = core.CyclicInitializationError.prototype; + dart.addTypeTests(core.CyclicInitializationError); + dart.addTypeCaches(core.CyclicInitializationError); + dart.setLibraryUri(core.CyclicInitializationError, I[8]); + dart.setFieldSignature(core.CyclicInitializationError, () => ({ + __proto__: dart.getFields(core.CyclicInitializationError.__proto__), + variableName: dart.finalFieldType(dart.nullable(core.String)) + })); + dart.defineExtensionMethods(core.CyclicInitializationError, ['toString']); + core.Exception = class Exception extends core.Object { + static new(message = null) { + return new core._Exception.new(message); + } + }; + (core.Exception[dart.mixinNew] = function() { + }).prototype = core.Exception.prototype; + dart.addTypeTests(core.Exception); + dart.addTypeCaches(core.Exception); + dart.setLibraryUri(core.Exception, I[8]); + core._Exception = class _Exception extends core.Object { + toString() { + let message = this.message; + if (message == null) return "Exception"; + return "Exception: " + dart.str(message); + } + }; + (core._Exception.new = function(message = null) { + this.message = message; + ; + }).prototype = core._Exception.prototype; + dart.addTypeTests(core._Exception); + dart.addTypeCaches(core._Exception); + core._Exception[dart.implements] = () => [core.Exception]; + dart.setLibraryUri(core._Exception, I[8]); + dart.setFieldSignature(core._Exception, () => ({ + __proto__: dart.getFields(core._Exception.__proto__), + message: dart.finalFieldType(dart.dynamic) + })); + dart.defineExtensionMethods(core._Exception, ['toString']); + var message$16 = dart.privateName(core, "FormatException.message"); + var source$ = dart.privateName(core, "FormatException.source"); + var offset$ = dart.privateName(core, "FormatException.offset"); + core.FormatException = class FormatException extends core.Object { + get message() { + return this[message$16]; + } + set message(value) { + super.message = value; + } + get source() { + return this[source$]; + } + set source(value) { + super.source = value; + } + get offset() { + return this[offset$]; + } + set offset(value) { + super.offset = value; + } + toString() { + let report = "FormatException"; + let message = this.message; + if (message != null && "" !== message) { + report = report + ": " + dart.str(message); + } + let offset = this.offset; + let source = this.source; + if (typeof source == 'string') { + if (offset != null && (dart.notNull(offset) < 0 || dart.notNull(offset) > source.length)) { + offset = null; + } + if (offset == null) { + if (source.length > 78) { + source = source[$substring](0, 75) + "..."; + } + return report + "\n" + dart.str(source); + } + let lineNum = 1; + let lineStart = 0; + let previousCharWasCR = false; + for (let i = 0; i < dart.notNull(offset); i = i + 1) { + let char = source[$codeUnitAt](i); + if (char === 10) { + if (lineStart !== i || !previousCharWasCR) { + lineNum = lineNum + 1; + } + lineStart = i + 1; + previousCharWasCR = false; + } else if (char === 13) { + lineNum = lineNum + 1; + lineStart = i + 1; + previousCharWasCR = true; + } + } + if (lineNum > 1) { + report = report + (" (at line " + dart.str(lineNum) + ", character " + dart.str(dart.notNull(offset) - lineStart + 1) + ")\n"); + } else { + report = report + (" (at character " + dart.str(dart.notNull(offset) + 1) + ")\n"); + } + let lineEnd = source.length; + for (let i = offset; dart.notNull(i) < source.length; i = dart.notNull(i) + 1) { + let char = source[$codeUnitAt](i); + if (char === 10 || char === 13) { + lineEnd = i; + break; + } + } + let length = dart.notNull(lineEnd) - lineStart; + let start = lineStart; + let end = lineEnd; + let prefix = ""; + let postfix = ""; + if (length > 78) { + let index = dart.notNull(offset) - lineStart; + if (index < 75) { + end = start + 75; + postfix = "..."; + } else if (dart.notNull(end) - dart.notNull(offset) < 75) { + start = dart.notNull(end) - 75; + prefix = "..."; + } else { + start = dart.notNull(offset) - 36; + end = dart.notNull(offset) + 36; + prefix = postfix = "..."; + } + } + let slice = source[$substring](start, end); + let markOffset = dart.notNull(offset) - start + prefix.length; + return report + prefix + slice + postfix + "\n" + " "[$times](markOffset) + "^\n"; + } else { + if (offset != null) { + report = report + (" (at offset " + dart.str(offset) + ")"); + } + return report; + } + } + }; + (core.FormatException.new = function(message = "", source = null, offset = null) { + if (message == null) dart.nullFailed(I[171], 68, 31, "message"); + this[message$16] = message; + this[source$] = source; + this[offset$] = offset; + ; + }).prototype = core.FormatException.prototype; + dart.addTypeTests(core.FormatException); + dart.addTypeCaches(core.FormatException); + core.FormatException[dart.implements] = () => [core.Exception]; + dart.setLibraryUri(core.FormatException, I[8]); + dart.setFieldSignature(core.FormatException, () => ({ + __proto__: dart.getFields(core.FormatException.__proto__), + message: dart.finalFieldType(core.String), + source: dart.finalFieldType(dart.dynamic), + offset: dart.finalFieldType(dart.nullable(core.int)) + })); + dart.defineExtensionMethods(core.FormatException, ['toString']); + core.IntegerDivisionByZeroException = class IntegerDivisionByZeroException extends core.Object { + toString() { + return "IntegerDivisionByZeroException"; + } + }; + (core.IntegerDivisionByZeroException.new = function() { + ; + }).prototype = core.IntegerDivisionByZeroException.prototype; + dart.addTypeTests(core.IntegerDivisionByZeroException); + dart.addTypeCaches(core.IntegerDivisionByZeroException); + core.IntegerDivisionByZeroException[dart.implements] = () => [core.Exception]; + dart.setLibraryUri(core.IntegerDivisionByZeroException, I[8]); + dart.defineExtensionMethods(core.IntegerDivisionByZeroException, ['toString']); + var name$14 = dart.privateName(core, "Expando.name"); + var _getKey = dart.privateName(core, "_getKey"); + const _is_Expando_default = Symbol('_is_Expando_default'); + core.Expando$ = dart.generic(T => { + var TN = () => (TN = dart.constFn(dart.nullable(T)))(); + class Expando extends core.Object { + get name() { + return this[name$14]; + } + set name(value) { + super.name = value; + } + [_getKey]() { + let t249; + let key = T$.StringN().as(_js_helper.Primitives.getProperty(this, "expando$key")); + if (key == null) { + key = "expando$key$" + dart.str((t249 = core.Expando._keyCount, core.Expando._keyCount = dart.notNull(t249) + 1, t249)); + _js_helper.Primitives.setProperty(this, "expando$key", key); + } + return key; + } + toString() { + return "Expando:" + dart.str(this.name); + } + _get(object) { + if (object == null) dart.nullFailed(I[7], 139, 25, "object"); + let values = _js_helper.Primitives.getProperty(object, "expando$values"); + return values == null ? null : TN().as(_js_helper.Primitives.getProperty(values, this[_getKey]())); + } + _set(object, value$) { + let value = value$; + if (object == null) dart.nullFailed(I[7], 147, 28, "object"); + TN().as(value); + let values = _js_helper.Primitives.getProperty(object, "expando$values"); + if (values == null) { + values = new core.Object.new(); + _js_helper.Primitives.setProperty(object, "expando$values", values); + } + _js_helper.Primitives.setProperty(values, this[_getKey](), value); + return value$; + } + } + (Expando.new = function(name = null) { + this[name$14] = name; + ; + }).prototype = Expando.prototype; + dart.addTypeTests(Expando); + Expando.prototype[_is_Expando_default] = true; + dart.addTypeCaches(Expando); + dart.setMethodSignature(Expando, () => ({ + __proto__: dart.getMethods(Expando.__proto__), + [_getKey]: dart.fnType(core.String, []), + _get: dart.fnType(dart.nullable(T), [core.Object]), + _set: dart.fnType(dart.void, [core.Object, dart.nullable(core.Object)]) + })); + dart.setLibraryUri(Expando, I[8]); + dart.setFieldSignature(Expando, () => ({ + __proto__: dart.getFields(Expando.__proto__), + name: dart.finalFieldType(dart.nullable(core.String)) + })); + dart.defineExtensionMethods(Expando, ['toString']); + return Expando; + }); + core.Expando = core.Expando$(); + dart.defineLazy(core.Expando, { + /*core.Expando._KEY_PROPERTY_NAME*/get _KEY_PROPERTY_NAME() { + return "expando$key"; + }, + /*core.Expando._EXPANDO_PROPERTY_NAME*/get _EXPANDO_PROPERTY_NAME() { + return "expando$values"; + }, + /*core.Expando._keyCount*/get _keyCount() { + return 0; + }, + set _keyCount(_) {} + }, false); + dart.addTypeTests(core.Expando, _is_Expando_default); + core.Function = class Function extends core.Object { + static _toMangledNames(namedArguments) { + if (namedArguments == null) dart.nullFailed(I[7], 111, 28, "namedArguments"); + let result = new (T$0.IdentityMapOfString$dynamic()).new(); + namedArguments[$forEach](dart.fn((symbol, value) => { + if (symbol == null) dart.nullFailed(I[7], 113, 29, "symbol"); + result[$_set](core._symbolToString(symbol), value); + }, T$0.SymbolAnddynamicTovoid())); + return result; + } + static is(o) { + return typeof o == "function"; + } + static as(o) { + if (typeof o == "function") return o; + return dart.as(o, core.Function); + } + static apply($function, positionalArguments, namedArguments = null) { + if ($function == null) dart.nullFailed(I[7], 96, 25, "function"); + positionalArguments == null ? positionalArguments = [] : null; + if (namedArguments != null && dart.test(namedArguments[$isNotEmpty])) { + let map = {}; + namedArguments[$forEach](dart.fn((symbol, arg) => { + if (symbol == null) dart.nullFailed(I[7], 102, 31, "symbol"); + map[core._symbolToString(symbol)] = arg; + }, T$0.SymbolAnddynamicTovoid())); + return dart.dcall($function, positionalArguments, map); + } + return dart.dcall($function, positionalArguments); + } + }; + (core.Function.new = function() { + ; + }).prototype = core.Function.prototype; + dart.addTypeCaches(core.Function); + dart.setLibraryUri(core.Function, I[8]); + var _positional = dart.privateName(core, "_positional"); + var _named = dart.privateName(core, "_named"); + core._Invocation = class _Invocation extends core.Object { + get positionalArguments() { + let t249; + t249 = this[_positional]; + return t249 == null ? C[423] || CT.C423 : t249; + } + get namedArguments() { + let t249; + t249 = this[_named]; + return t249 == null ? C[424] || CT.C424 : t249; + } + get isMethod() { + return this[_named] != null; + } + get isGetter() { + return this[_positional] == null; + } + get isSetter() { + return this[_positional] != null && this[_named] == null; + } + get isAccessor() { + return this[_named] == null; + } + static _ensureNonNullTypes(types) { + if (types == null) return C[0] || CT.C0; + let typeArguments = T$.ListOfType().unmodifiable(types); + for (let i = 0; i < dart.notNull(typeArguments[$length]); i = i + 1) { + if (typeArguments[$_get](i) == null) { + dart.throw(new core.ArgumentError.value(types, "types", "Type arguments must be non-null, was null at index " + dart.str(i) + ".")); + } + } + return typeArguments; + } + }; + (core._Invocation.method = function(memberName, types, positional, named) { + if (memberName == null) dart.nullFailed(I[10], 99, 27, "memberName"); + this.memberName = memberName; + this.typeArguments = core._Invocation._ensureNonNullTypes(types); + this[_positional] = positional == null ? C[421] || CT.C421 : T$.ListOfObjectN().unmodifiable(positional); + this[_named] = named == null || dart.test(named[$isEmpty]) ? C[422] || CT.C422 : T$0.MapOfSymbol$ObjectN().unmodifiable(named); + ; + }).prototype = core._Invocation.prototype; + (core._Invocation.getter = function(memberName) { + if (memberName == null) dart.nullFailed(I[10], 109, 27, "memberName"); + this.memberName = memberName; + this.typeArguments = C[0] || CT.C0; + this[_positional] = null; + this[_named] = null; + ; + }).prototype = core._Invocation.prototype; + (core._Invocation.setter = function(memberName, argument) { + if (memberName == null) dart.nullFailed(I[10], 114, 27, "memberName"); + this.memberName = memberName; + this.typeArguments = C[0] || CT.C0; + this[_positional] = T$.ListOfObjectN().unmodifiable([argument]); + this[_named] = null; + ; + }).prototype = core._Invocation.prototype; + dart.addTypeTests(core._Invocation); + dart.addTypeCaches(core._Invocation); + core._Invocation[dart.implements] = () => [core.Invocation]; + dart.setGetterSignature(core._Invocation, () => ({ + __proto__: dart.getGetters(core._Invocation.__proto__), + positionalArguments: core.List, + namedArguments: core.Map$(core.Symbol, dart.dynamic), + isMethod: core.bool, + isGetter: core.bool, + isSetter: core.bool, + isAccessor: core.bool + })); + dart.setLibraryUri(core._Invocation, I[8]); + dart.setFieldSignature(core._Invocation, () => ({ + __proto__: dart.getFields(core._Invocation.__proto__), + memberName: dart.finalFieldType(core.Symbol), + typeArguments: dart.finalFieldType(core.List$(core.Type)), + [_positional]: dart.finalFieldType(dart.nullable(core.List$(dart.nullable(core.Object)))), + [_named]: dart.finalFieldType(dart.nullable(core.Map$(core.Symbol, dart.nullable(core.Object)))) + })); + var length$0 = dart.privateName(core, "_GeneratorIterable.length"); + var _generator = dart.privateName(core, "_generator"); + const _is__GeneratorIterable_default = Symbol('_is__GeneratorIterable_default'); + core._GeneratorIterable$ = dart.generic(E => { + var intToE = () => (intToE = dart.constFn(dart.fnType(E, [core.int])))(); + class _GeneratorIterable extends _internal.ListIterable$(E) { + get length() { + return this[length$0]; + } + set length(value) { + super.length = value; + } + elementAt(index) { + let t249; + if (index == null) dart.nullFailed(I[34], 620, 19, "index"); + core.RangeError.checkValidIndex(index, this); + t249 = index; + return this[_generator](t249); + } + static _id(n) { + if (n == null) dart.nullFailed(I[34], 626, 22, "n"); + return n; + } + } + (_GeneratorIterable.new = function(length, generator) { + let t249; + if (length == null) dart.nullFailed(I[34], 615, 27, "length"); + this[length$0] = length; + this[_generator] = (t249 = generator, t249 == null ? intToE().as(C[425] || CT.C425) : t249); + _GeneratorIterable.__proto__.new.call(this); + ; + }).prototype = _GeneratorIterable.prototype; + dart.addTypeTests(_GeneratorIterable); + _GeneratorIterable.prototype[_is__GeneratorIterable_default] = true; + dart.addTypeCaches(_GeneratorIterable); + dart.setLibraryUri(_GeneratorIterable, I[8]); + dart.setFieldSignature(_GeneratorIterable, () => ({ + __proto__: dart.getFields(_GeneratorIterable.__proto__), + length: dart.finalFieldType(core.int), + [_generator]: dart.finalFieldType(dart.fnType(E, [core.int])) + })); + dart.defineExtensionMethods(_GeneratorIterable, ['elementAt']); + dart.defineExtensionAccessors(_GeneratorIterable, ['length']); + return _GeneratorIterable; + }); + core._GeneratorIterable = core._GeneratorIterable$(); + dart.addTypeTests(core._GeneratorIterable, _is__GeneratorIterable_default); + const _is_BidirectionalIterator_default = Symbol('_is_BidirectionalIterator_default'); + core.BidirectionalIterator$ = dart.generic(E => { + class BidirectionalIterator extends core.Object {} + (BidirectionalIterator.new = function() { + ; + }).prototype = BidirectionalIterator.prototype; + dart.addTypeTests(BidirectionalIterator); + BidirectionalIterator.prototype[_is_BidirectionalIterator_default] = true; + dart.addTypeCaches(BidirectionalIterator); + BidirectionalIterator[dart.implements] = () => [core.Iterator$(E)]; + dart.setLibraryUri(BidirectionalIterator, I[8]); + return BidirectionalIterator; + }); + core.BidirectionalIterator = core.BidirectionalIterator$(); + dart.addTypeTests(core.BidirectionalIterator, _is_BidirectionalIterator_default); + core.Null = class Null extends core.Object { + static is(o) { + return o == null; + } + static as(o) { + if (o == null) return o; + return dart.as(o, core.Null); + } + get hashCode() { + return super[$hashCode]; + } + toString() { + return "null"; + } + }; + (core.Null[dart.mixinNew] = function() { + }).prototype = core.Null.prototype; + dart.addTypeCaches(core.Null); + dart.setLibraryUri(core.Null, I[8]); + dart.defineExtensionMethods(core.Null, ['toString']); + dart.defineExtensionAccessors(core.Null, ['hashCode']); + core.Pattern = class Pattern extends core.Object {}; + (core.Pattern.new = function() { + ; + }).prototype = core.Pattern.prototype; + dart.addTypeTests(core.Pattern); + dart.addTypeCaches(core.Pattern); + dart.setLibraryUri(core.Pattern, I[8]); + core.RegExp = class RegExp extends core.Object { + static new(source, opts) { + if (source == null) dart.nullFailed(I[7], 688, 25, "source"); + let multiLine = opts && 'multiLine' in opts ? opts.multiLine : false; + if (multiLine == null) dart.nullFailed(I[7], 689, 17, "multiLine"); + let caseSensitive = opts && 'caseSensitive' in opts ? opts.caseSensitive : true; + if (caseSensitive == null) dart.nullFailed(I[7], 690, 16, "caseSensitive"); + let unicode = opts && 'unicode' in opts ? opts.unicode : false; + if (unicode == null) dart.nullFailed(I[7], 691, 16, "unicode"); + let dotAll = opts && 'dotAll' in opts ? opts.dotAll : false; + if (dotAll == null) dart.nullFailed(I[7], 692, 16, "dotAll"); + return new _js_helper.JSSyntaxRegExp.new(source, {multiLine: multiLine, caseSensitive: caseSensitive, unicode: unicode, dotAll: dotAll}); + } + static escape(text) { + if (text == null) dart.nullFailed(I[7], 700, 31, "text"); + return _js_helper.quoteStringForRegExp(text); + } + }; + (core.RegExp[dart.mixinNew] = function() { + }).prototype = core.RegExp.prototype; + dart.addTypeTests(core.RegExp); + dart.addTypeCaches(core.RegExp); + core.RegExp[dart.implements] = () => [core.Pattern]; + dart.setLibraryUri(core.RegExp, I[8]); + const _is_Set_default = Symbol('_is_Set_default'); + core.Set$ = dart.generic(E => { + class Set extends _internal.EfficientLengthIterable$(E) { + static unmodifiable(elements) { + if (elements == null) dart.nullFailed(I[172], 88, 40, "elements"); + return new (collection.UnmodifiableSetView$(E)).new((() => { + let t249 = collection.LinkedHashSet$(E).of(elements); + return t249; + })()); + } + static castFrom(S, T, source, opts) { + if (source == null) dart.nullFailed(I[172], 109, 39, "source"); + let newSet = opts && 'newSet' in opts ? opts.newSet : null; + return new (_internal.CastSet$(S, T)).new(source, newSet); + } + } + dart.addTypeTests(Set); + Set.prototype[_is_Set_default] = true; + dart.addTypeCaches(Set); + dart.setLibraryUri(Set, I[8]); + return Set; + }); + core.Set = core.Set$(); + dart.addTypeTests(core.Set, _is_Set_default); + const _is_Sink_default = Symbol('_is_Sink_default'); + core.Sink$ = dart.generic(T => { + class Sink extends core.Object {} + (Sink.new = function() { + ; + }).prototype = Sink.prototype; + dart.addTypeTests(Sink); + Sink.prototype[_is_Sink_default] = true; + dart.addTypeCaches(Sink); + dart.setLibraryUri(Sink, I[8]); + return Sink; + }); + core.Sink = core.Sink$(); + dart.addTypeTests(core.Sink, _is_Sink_default); + var _StringStackTrace__stackTrace = dart.privateName(core, "_StringStackTrace._stackTrace"); + core.StackTrace = class StackTrace extends core.Object { + static get current() { + return dart.stackTrace(Error()); + } + }; + (core.StackTrace.new = function() { + ; + }).prototype = core.StackTrace.prototype; + dart.addTypeTests(core.StackTrace); + dart.addTypeCaches(core.StackTrace); + dart.setLibraryUri(core.StackTrace, I[8]); + dart.defineLazy(core.StackTrace, { + /*core.StackTrace.empty*/get empty() { + return C[426] || CT.C426; + } + }, false); + var _stackTrace = dart.privateName(core, "_stackTrace"); + const _stackTrace$ = _StringStackTrace__stackTrace; + core._StringStackTrace = class _StringStackTrace extends core.Object { + get [_stackTrace]() { + return this[_stackTrace$]; + } + set [_stackTrace](value) { + super[_stackTrace] = value; + } + toString() { + return this[_stackTrace]; + } + }; + (core._StringStackTrace.new = function(_stackTrace) { + if (_stackTrace == null) dart.nullFailed(I[173], 56, 32, "_stackTrace"); + this[_stackTrace$] = _stackTrace; + ; + }).prototype = core._StringStackTrace.prototype; + dart.addTypeTests(core._StringStackTrace); + dart.addTypeCaches(core._StringStackTrace); + core._StringStackTrace[dart.implements] = () => [core.StackTrace]; + dart.setLibraryUri(core._StringStackTrace, I[8]); + dart.setFieldSignature(core._StringStackTrace, () => ({ + __proto__: dart.getFields(core._StringStackTrace.__proto__), + [_stackTrace]: dart.finalFieldType(core.String) + })); + dart.defineExtensionMethods(core._StringStackTrace, ['toString']); + var _start$2 = dart.privateName(core, "_start"); + var _stop = dart.privateName(core, "_stop"); + core.Stopwatch = class Stopwatch extends core.Object { + get frequency() { + return core.Stopwatch._frequency; + } + start() { + let stop = this[_stop]; + if (stop != null) { + this[_start$2] = dart.notNull(this[_start$2]) + (dart.notNull(core.Stopwatch._now()) - dart.notNull(stop)); + this[_stop] = null; + } + } + stop() { + this[_stop] == null ? this[_stop] = core.Stopwatch._now() : null; + } + reset() { + let t250; + this[_start$2] = (t250 = this[_stop], t250 == null ? core.Stopwatch._now() : t250); + } + get elapsedTicks() { + let t250; + return dart.notNull((t250 = this[_stop], t250 == null ? core.Stopwatch._now() : t250)) - dart.notNull(this[_start$2]); + } + get elapsed() { + return new core.Duration.new({microseconds: this.elapsedMicroseconds}); + } + get elapsedMicroseconds() { + let ticks = this.elapsedTicks; + if (core.Stopwatch._frequency === 1000000) return ticks; + if (!(core.Stopwatch._frequency === 1000)) dart.assertFailed(null, I[7], 456, 12, "_frequency == 1000"); + return dart.notNull(ticks) * 1000; + } + get elapsedMilliseconds() { + let ticks = this.elapsedTicks; + if (core.Stopwatch._frequency === 1000) return ticks; + if (!(core.Stopwatch._frequency === 1000000)) dart.assertFailed(null, I[7], 464, 12, "_frequency == 1000000"); + return (dart.notNull(ticks) / 1000)[$truncate](); + } + get isRunning() { + return this[_stop] == null; + } + static _initTicker() { + _js_helper.Primitives.initTicker(); + return _js_helper.Primitives.timerFrequency; + } + static _now() { + return _js_helper.Primitives.timerTicks(); + } + }; + (core.Stopwatch.new = function() { + this[_start$2] = 0; + this[_stop] = 0; + core.Stopwatch._frequency; + }).prototype = core.Stopwatch.prototype; + dart.addTypeTests(core.Stopwatch); + dart.addTypeCaches(core.Stopwatch); + dart.setMethodSignature(core.Stopwatch, () => ({ + __proto__: dart.getMethods(core.Stopwatch.__proto__), + start: dart.fnType(dart.void, []), + stop: dart.fnType(dart.void, []), + reset: dart.fnType(dart.void, []) + })); + dart.setGetterSignature(core.Stopwatch, () => ({ + __proto__: dart.getGetters(core.Stopwatch.__proto__), + frequency: core.int, + elapsedTicks: core.int, + elapsed: core.Duration, + elapsedMicroseconds: core.int, + elapsedMilliseconds: core.int, + isRunning: core.bool + })); + dart.setLibraryUri(core.Stopwatch, I[8]); + dart.setFieldSignature(core.Stopwatch, () => ({ + __proto__: dart.getFields(core.Stopwatch.__proto__), + [_start$2]: dart.fieldType(core.int), + [_stop]: dart.fieldType(dart.nullable(core.int)) + })); + dart.defineLazy(core.Stopwatch, { + /*core.Stopwatch._frequency*/get _frequency() { + return core.Stopwatch._initTicker(); + } + }, false); + var string$ = dart.privateName(core, "Runes.string"); + core.Runes = class Runes extends core.Iterable$(core.int) { + get string() { + return this[string$]; + } + set string(value) { + super.string = value; + } + get iterator() { + return new core.RuneIterator.new(this.string); + } + get last() { + if (this.string.length === 0) { + dart.throw(new core.StateError.new("No elements.")); + } + let length = this.string.length; + let code = this.string[$codeUnitAt](length - 1); + if (dart.test(core._isTrailSurrogate(code)) && this.string.length > 1) { + let previousCode = this.string[$codeUnitAt](length - 2); + if (dart.test(core._isLeadSurrogate(previousCode))) { + return core._combineSurrogatePair(previousCode, code); + } + } + return code; + } + }; + (core.Runes.new = function(string) { + if (string == null) dart.nullFailed(I[174], 604, 14, "string"); + this[string$] = string; + core.Runes.__proto__.new.call(this); + ; + }).prototype = core.Runes.prototype; + dart.addTypeTests(core.Runes); + dart.addTypeCaches(core.Runes); + dart.setGetterSignature(core.Runes, () => ({ + __proto__: dart.getGetters(core.Runes.__proto__), + iterator: core.RuneIterator, + [$iterator]: core.RuneIterator + })); + dart.setLibraryUri(core.Runes, I[8]); + dart.setFieldSignature(core.Runes, () => ({ + __proto__: dart.getFields(core.Runes.__proto__), + string: dart.finalFieldType(core.String) + })); + dart.defineExtensionAccessors(core.Runes, ['iterator', 'last']); + var string$0 = dart.privateName(core, "RuneIterator.string"); + var _currentCodePoint = dart.privateName(core, "_currentCodePoint"); + var _position$0 = dart.privateName(core, "_position"); + var _nextPosition = dart.privateName(core, "_nextPosition"); + var _checkSplitSurrogate = dart.privateName(core, "_checkSplitSurrogate"); + core.RuneIterator = class RuneIterator extends core.Object { + get string() { + return this[string$0]; + } + set string(value) { + super.string = value; + } + [_checkSplitSurrogate](index) { + if (index == null) dart.nullFailed(I[174], 675, 33, "index"); + if (dart.notNull(index) > 0 && dart.notNull(index) < this.string.length && dart.test(core._isLeadSurrogate(this.string[$codeUnitAt](dart.notNull(index) - 1))) && dart.test(core._isTrailSurrogate(this.string[$codeUnitAt](index)))) { + dart.throw(new core.ArgumentError.new("Index inside surrogate pair: " + dart.str(index))); + } + } + get rawIndex() { + return this[_position$0] != this[_nextPosition] ? this[_position$0] : -1; + } + set rawIndex(rawIndex) { + if (rawIndex == null) dart.nullFailed(I[174], 697, 25, "rawIndex"); + core.RangeError.checkValidIndex(rawIndex, this.string, "rawIndex"); + this.reset(rawIndex); + this.moveNext(); + } + reset(rawIndex = 0) { + if (rawIndex == null) dart.nullFailed(I[174], 712, 19, "rawIndex"); + core.RangeError.checkValueInInterval(rawIndex, 0, this.string.length, "rawIndex"); + this[_checkSplitSurrogate](rawIndex); + this[_position$0] = this[_nextPosition] = rawIndex; + this[_currentCodePoint] = -1; + } + get current() { + return this[_currentCodePoint]; + } + get currentSize() { + return dart.notNull(this[_nextPosition]) - dart.notNull(this[_position$0]); + } + get currentAsString() { + if (this[_position$0] == this[_nextPosition]) return ""; + if (dart.notNull(this[_position$0]) + 1 === this[_nextPosition]) return this.string[$_get](this[_position$0]); + return this.string[$substring](this[_position$0], this[_nextPosition]); + } + moveNext() { + this[_position$0] = this[_nextPosition]; + if (this[_position$0] === this.string.length) { + this[_currentCodePoint] = -1; + return false; + } + let codeUnit = this.string[$codeUnitAt](this[_position$0]); + let nextPosition = dart.notNull(this[_position$0]) + 1; + if (dart.test(core._isLeadSurrogate(codeUnit)) && nextPosition < this.string.length) { + let nextCodeUnit = this.string[$codeUnitAt](nextPosition); + if (dart.test(core._isTrailSurrogate(nextCodeUnit))) { + this[_nextPosition] = nextPosition + 1; + this[_currentCodePoint] = core._combineSurrogatePair(codeUnit, nextCodeUnit); + return true; + } + } + this[_nextPosition] = nextPosition; + this[_currentCodePoint] = codeUnit; + return true; + } + movePrevious() { + this[_nextPosition] = this[_position$0]; + if (this[_position$0] === 0) { + this[_currentCodePoint] = -1; + return false; + } + let position = dart.notNull(this[_position$0]) - 1; + let codeUnit = this.string[$codeUnitAt](position); + if (dart.test(core._isTrailSurrogate(codeUnit)) && position > 0) { + let prevCodeUnit = this.string[$codeUnitAt](position - 1); + if (dart.test(core._isLeadSurrogate(prevCodeUnit))) { + this[_position$0] = position - 1; + this[_currentCodePoint] = core._combineSurrogatePair(prevCodeUnit, codeUnit); + return true; + } + } + this[_position$0] = position; + this[_currentCodePoint] = codeUnit; + return true; + } + }; + (core.RuneIterator.new = function(string) { + if (string == null) dart.nullFailed(I[174], 653, 23, "string"); + this[_currentCodePoint] = -1; + this[string$0] = string; + this[_position$0] = 0; + this[_nextPosition] = 0; + ; + }).prototype = core.RuneIterator.prototype; + (core.RuneIterator.at = function(string, index) { + if (string == null) dart.nullFailed(I[174], 666, 26, "string"); + if (index == null) dart.nullFailed(I[174], 666, 38, "index"); + this[_currentCodePoint] = -1; + this[string$0] = string; + this[_position$0] = index; + this[_nextPosition] = index; + core.RangeError.checkValueInInterval(index, 0, string.length); + this[_checkSplitSurrogate](index); + }).prototype = core.RuneIterator.prototype; + dart.addTypeTests(core.RuneIterator); + dart.addTypeCaches(core.RuneIterator); + core.RuneIterator[dart.implements] = () => [core.BidirectionalIterator$(core.int)]; + dart.setMethodSignature(core.RuneIterator, () => ({ + __proto__: dart.getMethods(core.RuneIterator.__proto__), + [_checkSplitSurrogate]: dart.fnType(dart.void, [core.int]), + reset: dart.fnType(dart.void, [], [core.int]), + moveNext: dart.fnType(core.bool, []), + movePrevious: dart.fnType(core.bool, []) + })); + dart.setGetterSignature(core.RuneIterator, () => ({ + __proto__: dart.getGetters(core.RuneIterator.__proto__), + rawIndex: core.int, + current: core.int, + currentSize: core.int, + currentAsString: core.String + })); + dart.setSetterSignature(core.RuneIterator, () => ({ + __proto__: dart.getSetters(core.RuneIterator.__proto__), + rawIndex: core.int + })); + dart.setLibraryUri(core.RuneIterator, I[8]); + dart.setFieldSignature(core.RuneIterator, () => ({ + __proto__: dart.getFields(core.RuneIterator.__proto__), + string: dart.finalFieldType(core.String), + [_position$0]: dart.fieldType(core.int), + [_nextPosition]: dart.fieldType(core.int), + [_currentCodePoint]: dart.fieldType(core.int) + })); + core.Symbol = class Symbol extends core.Object {}; + (core.Symbol[dart.mixinNew] = function() { + }).prototype = core.Symbol.prototype; + dart.addTypeTests(core.Symbol); + dart.addTypeCaches(core.Symbol); + dart.setLibraryUri(core.Symbol, I[8]); + dart.defineLazy(core.Symbol, { + /*core.Symbol.unaryMinus*/get unaryMinus() { + return C[427] || CT.C427; + }, + /*core.Symbol.empty*/get empty() { + return C[428] || CT.C428; + } + }, false); + core.Uri = class Uri extends core.Object { + static get base() { + let uri = _js_helper.Primitives.currentUri(); + if (uri != null) return core.Uri.parse(uri); + dart.throw(new core.UnsupportedError.new("'Uri.base' is not supported")); + } + static dataFromString(content, opts) { + if (content == null) dart.nullFailed(I[175], 283, 37, "content"); + let mimeType = opts && 'mimeType' in opts ? opts.mimeType : null; + let encoding = opts && 'encoding' in opts ? opts.encoding : null; + let parameters = opts && 'parameters' in opts ? opts.parameters : null; + let base64 = opts && 'base64' in opts ? opts.base64 : false; + if (base64 == null) dart.nullFailed(I[175], 287, 12, "base64"); + let data = core.UriData.fromString(content, {mimeType: mimeType, encoding: encoding, parameters: parameters, base64: base64}); + return data.uri; + } + static dataFromBytes(bytes, opts) { + if (bytes == null) dart.nullFailed(I[175], 310, 39, "bytes"); + let mimeType = opts && 'mimeType' in opts ? opts.mimeType : "application/octet-stream"; + if (mimeType == null) dart.nullFailed(I[175], 311, 15, "mimeType"); + let parameters = opts && 'parameters' in opts ? opts.parameters : null; + let percentEncoded = opts && 'percentEncoded' in opts ? opts.percentEncoded : false; + if (percentEncoded == null) dart.nullFailed(I[175], 313, 12, "percentEncoded"); + let data = core.UriData.fromBytes(bytes, {mimeType: mimeType, parameters: parameters, percentEncoded: percentEncoded}); + return data.uri; + } + get hasScheme() { + return this.scheme[$isNotEmpty]; + } + static parse(uri, start = 0, end = null) { + let t250; + if (uri == null) dart.nullFailed(I[175], 669, 27, "uri"); + if (start == null) dart.nullFailed(I[175], 669, 37, "start"); + end == null ? end = uri.length : null; + if (dart.notNull(end) >= dart.notNull(start) + 5) { + let dataDelta = core._startsWithData(uri, start); + if (dataDelta === 0) { + if (dart.notNull(start) > 0 || dart.notNull(end) < uri.length) uri = uri[$substring](start, end); + return core.UriData._parse(uri, 5, null).uri; + } else if (dataDelta === 32) { + return core.UriData._parse(uri[$substring](dart.notNull(start) + 5, end), 0, null).uri; + } + } + let indices = T$0.ListOfint().filled(8, 0, {growable: false}); + t250 = indices; + (() => { + t250[$_set](0, 0); + t250[$_set](1, dart.notNull(start) - 1); + t250[$_set](2, dart.notNull(start) - 1); + t250[$_set](7, dart.notNull(start) - 1); + t250[$_set](3, start); + t250[$_set](4, start); + t250[$_set](5, end); + t250[$_set](6, end); + return t250; + })(); + let state = core._scan(uri, start, end, 0, indices); + if (dart.notNull(state) >= 14) { + indices[$_set](7, end); + } + let schemeEnd = indices[$_get](1); + if (dart.notNull(schemeEnd) >= dart.notNull(start)) { + state = core._scan(uri, start, schemeEnd, 20, indices); + if (state === 20) { + indices[$_set](7, schemeEnd); + } + } + let hostStart = dart.notNull(indices[$_get](2)) + 1; + let portStart = indices[$_get](3); + let pathStart = indices[$_get](4); + let queryStart = indices[$_get](5); + let fragmentStart = indices[$_get](6); + let scheme = null; + if (dart.notNull(fragmentStart) < dart.notNull(queryStart)) queryStart = fragmentStart; + if (dart.notNull(pathStart) < hostStart) { + pathStart = queryStart; + } else if (dart.notNull(pathStart) <= dart.notNull(schemeEnd)) { + pathStart = dart.notNull(schemeEnd) + 1; + } + if (dart.notNull(portStart) < hostStart) portStart = pathStart; + if (!(hostStart === start || dart.notNull(schemeEnd) <= hostStart)) dart.assertFailed(null, I[175], 808, 12, "hostStart == start || schemeEnd <= hostStart"); + if (!(hostStart <= dart.notNull(portStart))) dart.assertFailed(null, I[175], 809, 12, "hostStart <= portStart"); + if (!(dart.notNull(schemeEnd) <= dart.notNull(pathStart))) dart.assertFailed(null, I[175], 810, 12, "schemeEnd <= pathStart"); + if (!(dart.notNull(portStart) <= dart.notNull(pathStart))) dart.assertFailed(null, I[175], 811, 12, "portStart <= pathStart"); + if (!(dart.notNull(pathStart) <= dart.notNull(queryStart))) dart.assertFailed(null, I[175], 812, 12, "pathStart <= queryStart"); + if (!(dart.notNull(queryStart) <= dart.notNull(fragmentStart))) dart.assertFailed(null, I[175], 813, 12, "queryStart <= fragmentStart"); + let isSimple = dart.notNull(indices[$_get](7)) < dart.notNull(start); + if (isSimple) { + if (hostStart > dart.notNull(schemeEnd) + 3) { + isSimple = false; + } else if (dart.notNull(portStart) > dart.notNull(start) && dart.notNull(portStart) + 1 === pathStart) { + isSimple = false; + } else if (dart.notNull(queryStart) < dart.notNull(end) && queryStart === dart.notNull(pathStart) + 2 && uri[$startsWith]("..", pathStart) || dart.notNull(queryStart) > dart.notNull(pathStart) + 2 && uri[$startsWith]("/..", dart.notNull(queryStart) - 3)) { + isSimple = false; + } else { + if (schemeEnd === dart.notNull(start) + 4) { + if (uri[$startsWith]("file", start)) { + scheme = "file"; + if (hostStart <= dart.notNull(start)) { + let schemeAuth = "file://"; + let delta = 2; + if (!uri[$startsWith]("/", pathStart)) { + schemeAuth = "file:///"; + delta = 3; + } + uri = schemeAuth + uri[$substring](pathStart, end); + schemeEnd = dart.notNull(schemeEnd) - dart.notNull(start); + hostStart = 7; + portStart = 7; + pathStart = 7; + queryStart = dart.notNull(queryStart) + (delta - dart.notNull(start)); + fragmentStart = dart.notNull(fragmentStart) + (delta - dart.notNull(start)); + start = 0; + end = uri.length; + } else if (pathStart == queryStart) { + if (start === 0 && end === uri.length) { + uri = uri[$replaceRange](pathStart, queryStart, "/"); + queryStart = dart.notNull(queryStart) + 1; + fragmentStart = dart.notNull(fragmentStart) + 1; + end = dart.notNull(end) + 1; + } else { + uri = uri[$substring](start, pathStart) + "/" + uri[$substring](queryStart, end); + schemeEnd = dart.notNull(schemeEnd) - dart.notNull(start); + hostStart = hostStart - dart.notNull(start); + portStart = dart.notNull(portStart) - dart.notNull(start); + pathStart = dart.notNull(pathStart) - dart.notNull(start); + queryStart = dart.notNull(queryStart) + (1 - dart.notNull(start)); + fragmentStart = dart.notNull(fragmentStart) + (1 - dart.notNull(start)); + start = 0; + end = uri.length; + } + } + } else if (uri[$startsWith]("http", start)) { + scheme = "http"; + if (dart.notNull(portStart) > dart.notNull(start) && dart.notNull(portStart) + 3 === pathStart && uri[$startsWith]("80", dart.notNull(portStart) + 1)) { + if (start === 0 && end === uri.length) { + uri = uri[$replaceRange](portStart, pathStart, ""); + pathStart = dart.notNull(pathStart) - 3; + queryStart = dart.notNull(queryStart) - 3; + fragmentStart = dart.notNull(fragmentStart) - 3; + end = dart.notNull(end) - 3; + } else { + uri = uri[$substring](start, portStart) + uri[$substring](pathStart, end); + schemeEnd = dart.notNull(schemeEnd) - dart.notNull(start); + hostStart = hostStart - dart.notNull(start); + portStart = dart.notNull(portStart) - dart.notNull(start); + pathStart = dart.notNull(pathStart) - (3 + dart.notNull(start)); + queryStart = dart.notNull(queryStart) - (3 + dart.notNull(start)); + fragmentStart = dart.notNull(fragmentStart) - (3 + dart.notNull(start)); + start = 0; + end = uri.length; + } + } + } + } else if (schemeEnd === dart.notNull(start) + 5 && uri[$startsWith]("https", start)) { + scheme = "https"; + if (dart.notNull(portStart) > dart.notNull(start) && dart.notNull(portStart) + 4 === pathStart && uri[$startsWith]("443", dart.notNull(portStart) + 1)) { + if (start === 0 && end === uri.length) { + uri = uri[$replaceRange](portStart, pathStart, ""); + pathStart = dart.notNull(pathStart) - 4; + queryStart = dart.notNull(queryStart) - 4; + fragmentStart = dart.notNull(fragmentStart) - 4; + end = dart.notNull(end) - 3; + } else { + uri = uri[$substring](start, portStart) + uri[$substring](pathStart, end); + schemeEnd = dart.notNull(schemeEnd) - dart.notNull(start); + hostStart = hostStart - dart.notNull(start); + portStart = dart.notNull(portStart) - dart.notNull(start); + pathStart = dart.notNull(pathStart) - (4 + dart.notNull(start)); + queryStart = dart.notNull(queryStart) - (4 + dart.notNull(start)); + fragmentStart = dart.notNull(fragmentStart) - (4 + dart.notNull(start)); + start = 0; + end = uri.length; + } + } + } + } + } + if (isSimple) { + if (dart.notNull(start) > 0 || dart.notNull(end) < uri.length) { + uri = uri[$substring](start, end); + schemeEnd = dart.notNull(schemeEnd) - dart.notNull(start); + hostStart = hostStart - dart.notNull(start); + portStart = dart.notNull(portStart) - dart.notNull(start); + pathStart = dart.notNull(pathStart) - dart.notNull(start); + queryStart = dart.notNull(queryStart) - dart.notNull(start); + fragmentStart = dart.notNull(fragmentStart) - dart.notNull(start); + } + return new core._SimpleUri.new(uri, schemeEnd, hostStart, portStart, pathStart, queryStart, fragmentStart, scheme); + } + return core._Uri.notSimple(uri, start, end, schemeEnd, hostStart, portStart, pathStart, queryStart, fragmentStart, scheme); + } + static tryParse(uri, start = 0, end = null) { + if (uri == null) dart.nullFailed(I[175], 966, 31, "uri"); + if (start == null) dart.nullFailed(I[175], 966, 41, "start"); + try { + return core.Uri.parse(uri, start, end); + } catch (e) { + let ex = dart.getThrown(e); + if (core.FormatException.is(ex)) { + return null; + } else + throw e; + } + } + static encodeComponent(component) { + if (component == null) dart.nullFailed(I[175], 993, 40, "component"); + return core._Uri._uriEncode(core._Uri._unreserved2396Table, component, convert.utf8, false); + } + static encodeQueryComponent(component, opts) { + if (component == null) dart.nullFailed(I[175], 1030, 45, "component"); + let encoding = opts && 'encoding' in opts ? opts.encoding : C[108] || CT.C108; + if (encoding == null) dart.nullFailed(I[175], 1031, 17, "encoding"); + return core._Uri._uriEncode(core._Uri._unreservedTable, component, encoding, true); + } + static decodeComponent(encodedComponent) { + if (encodedComponent == null) dart.nullFailed(I[175], 1046, 40, "encodedComponent"); + return core._Uri._uriDecode(encodedComponent, 0, encodedComponent.length, convert.utf8, false); + } + static decodeQueryComponent(encodedComponent, opts) { + if (encodedComponent == null) dart.nullFailed(I[175], 1057, 45, "encodedComponent"); + let encoding = opts && 'encoding' in opts ? opts.encoding : C[108] || CT.C108; + if (encoding == null) dart.nullFailed(I[175], 1058, 17, "encoding"); + return core._Uri._uriDecode(encodedComponent, 0, encodedComponent.length, encoding, true); + } + static encodeFull(uri) { + if (uri == null) dart.nullFailed(I[175], 1070, 35, "uri"); + return core._Uri._uriEncode(core._Uri._encodeFullTable, uri, convert.utf8, false); + } + static decodeFull(uri) { + if (uri == null) dart.nullFailed(I[175], 1080, 35, "uri"); + return core._Uri._uriDecode(uri, 0, uri.length, convert.utf8, false); + } + static splitQueryString(query, opts) { + if (query == null) dart.nullFailed(I[175], 1096, 54, "query"); + let encoding = opts && 'encoding' in opts ? opts.encoding : C[108] || CT.C108; + if (encoding == null) dart.nullFailed(I[175], 1097, 17, "encoding"); + return query[$split]("&")[$fold](T$0.MapOfString$String(), new (T$.IdentityMapOfString$String()).new(), dart.fn((map, element) => { + if (map == null) dart.nullFailed(I[175], 1098, 39, "map"); + if (element == null) dart.nullFailed(I[175], 1098, 44, "element"); + let index = element[$indexOf]("="); + if (index === -1) { + if (element !== "") { + map[$_set](core.Uri.decodeQueryComponent(element, {encoding: encoding}), ""); + } + } else if (index !== 0) { + let key = element[$substring](0, index); + let value = element[$substring](index + 1); + map[$_set](core.Uri.decodeQueryComponent(key, {encoding: encoding}), core.Uri.decodeQueryComponent(value, {encoding: encoding})); + } + return map; + }, T$0.MapOfString$StringAndStringToMapOfString$String())); + } + static parseIPv4Address(host) { + if (host == null) dart.nullFailed(I[175], 1119, 44, "host"); + return core.Uri._parseIPv4Address(host, 0, host.length); + } + static _parseIPv4Address(host, start, end) { + let t252; + if (host == null) dart.nullFailed(I[175], 1123, 45, "host"); + if (start == null) dart.nullFailed(I[175], 1123, 55, "start"); + if (end == null) dart.nullFailed(I[175], 1123, 66, "end"); + function error(msg, position) { + if (msg == null) dart.nullFailed(I[175], 1124, 23, "msg"); + if (position == null) dart.nullFailed(I[175], 1124, 32, "position"); + dart.throw(new core.FormatException.new("Illegal IPv4 address, " + dart.str(msg), host, position)); + } + dart.fn(error, T$0.StringAndintTovoid()); + let result = _native_typed_data.NativeUint8List.new(4); + let partIndex = 0; + let partStart = start; + for (let i = start; dart.notNull(i) < dart.notNull(end); i = dart.notNull(i) + 1) { + let char = host[$codeUnitAt](i); + if (char !== 46) { + if ((char ^ 48) >>> 0 > 9) { + error("invalid character", i); + } + } else { + if (partIndex === 3) { + error("IPv4 address should contain exactly 4 parts", i); + } + let part = core.int.parse(host[$substring](partStart, i)); + if (dart.notNull(part) > 255) { + error("each part must be in the range 0..255", partStart); + } + result[$_set]((t252 = partIndex, partIndex = t252 + 1, t252), part); + partStart = dart.notNull(i) + 1; + } + } + if (partIndex !== 3) { + error("IPv4 address should contain exactly 4 parts", end); + } + let part = core.int.parse(host[$substring](partStart, end)); + if (dart.notNull(part) > 255) { + error("each part must be in the range 0..255", partStart); + } + result[$_set](partIndex, part); + return result; + } + static parseIPv6Address(host, start = 0, end = null) { + if (host == null) dart.nullFailed(I[175], 1181, 44, "host"); + if (start == null) dart.nullFailed(I[175], 1181, 55, "start"); + end == null ? end = host.length : null; + function error(msg, position = null) { + if (msg == null) dart.nullFailed(I[175], 1191, 23, "msg"); + dart.throw(new core.FormatException.new("Illegal IPv6 address, " + dart.str(msg), host, T$.intN().as(position))); + } + dart.fn(error, T$0.StringAnddynamicTovoid$1()); + function parseHex(start, end) { + if (start == null) dart.nullFailed(I[175], 1196, 22, "start"); + if (end == null) dart.nullFailed(I[175], 1196, 33, "end"); + if (dart.notNull(end) - dart.notNull(start) > 4) { + error("an IPv6 part can only contain a maximum of 4 hex digits", start); + } + let value = core.int.parse(host[$substring](start, end), {radix: 16}); + if (dart.notNull(value) < 0 || dart.notNull(value) > 65535) { + error("each part must be in the range of `0x0..0xFFFF`", start); + } + return value; + } + dart.fn(parseHex, T$0.intAndintToint()); + if (host.length < 2) error("address is too short"); + let parts = T$.JSArrayOfint().of([]); + let wildcardSeen = false; + let seenDot = false; + let partStart = start; + for (let i = start; dart.notNull(i) < dart.notNull(end); i = dart.notNull(i) + 1) { + let char = host[$codeUnitAt](i); + if (char === 58) { + if (i == start) { + i = dart.notNull(i) + 1; + if (host[$codeUnitAt](i) !== 58) { + error("invalid start colon.", i); + } + partStart = i; + } + if (i == partStart) { + if (wildcardSeen) { + error("only one wildcard `::` is allowed", i); + } + wildcardSeen = true; + parts[$add](-1); + } else { + parts[$add](parseHex(partStart, i)); + } + partStart = dart.notNull(i) + 1; + } else if (char === 46) { + seenDot = true; + } + } + if (parts[$length] === 0) error("too few parts"); + let atEnd = partStart == end; + let isLastWildcard = parts[$last] === -1; + if (atEnd && !isLastWildcard) { + error("expected a part after last `:`", end); + } + if (!atEnd) { + if (!seenDot) { + parts[$add](parseHex(partStart, end)); + } else { + let last = core.Uri._parseIPv4Address(host, partStart, end); + parts[$add]((dart.notNull(last[$_get](0)) << 8 | dart.notNull(last[$_get](1))) >>> 0); + parts[$add]((dart.notNull(last[$_get](2)) << 8 | dart.notNull(last[$_get](3))) >>> 0); + } + } + if (wildcardSeen) { + if (dart.notNull(parts[$length]) > 7) { + error("an address with a wildcard must have less than 7 parts"); + } + } else if (parts[$length] !== 8) { + error("an address without a wildcard must contain exactly 8 parts"); + } + let bytes = _native_typed_data.NativeUint8List.new(16); + for (let i = 0, index = 0; i < dart.notNull(parts[$length]); i = i + 1) { + let value = parts[$_get](i); + if (value === -1) { + let wildCardLength = 9 - dart.notNull(parts[$length]); + for (let j = 0; j < wildCardLength; j = j + 1) { + bytes[$_set](index, 0); + bytes[$_set](index + 1, 0); + index = index + 2; + } + } else { + bytes[$_set](index, value[$rightShift](8)); + bytes[$_set](index + 1, dart.notNull(value) & 255); + index = index + 2; + } + } + return bytes; + } + }; + (core.Uri[dart.mixinNew] = function() { + }).prototype = core.Uri.prototype; + dart.addTypeTests(core.Uri); + dart.addTypeCaches(core.Uri); + dart.setGetterSignature(core.Uri, () => ({ + __proto__: dart.getGetters(core.Uri.__proto__), + hasScheme: core.bool + })); + dart.setLibraryUri(core.Uri, I[8]); + var ___Uri__text = dart.privateName(core, "_#_Uri#_text"); + var ___Uri__text_isSet = dart.privateName(core, "_#_Uri#_text#isSet"); + var ___Uri_pathSegments = dart.privateName(core, "_#_Uri#pathSegments"); + var ___Uri_pathSegments_isSet = dart.privateName(core, "_#_Uri#pathSegments#isSet"); + var ___Uri_hashCode = dart.privateName(core, "_#_Uri#hashCode"); + var ___Uri_hashCode_isSet = dart.privateName(core, "_#_Uri#hashCode#isSet"); + var ___Uri_queryParameters = dart.privateName(core, "_#_Uri#queryParameters"); + var ___Uri_queryParameters_isSet = dart.privateName(core, "_#_Uri#queryParameters#isSet"); + var ___Uri_queryParametersAll = dart.privateName(core, "_#_Uri#queryParametersAll"); + var ___Uri_queryParametersAll_isSet = dart.privateName(core, "_#_Uri#queryParametersAll#isSet"); + var _userInfo$ = dart.privateName(core, "_userInfo"); + var _host$ = dart.privateName(core, "_host"); + var _port$ = dart.privateName(core, "_port"); + var _query$ = dart.privateName(core, "_query"); + var _fragment$ = dart.privateName(core, "_fragment"); + var _initializeText = dart.privateName(core, "_initializeText"); + var _text$ = dart.privateName(core, "_text"); + var _writeAuthority = dart.privateName(core, "_writeAuthority"); + var _mergePaths = dart.privateName(core, "_mergePaths"); + var _toFilePath = dart.privateName(core, "_toFilePath"); + core._Uri = class _Uri extends core.Object { + get [_text$]() { + let t253; + if (!dart.test(this[___Uri__text_isSet])) { + let t252 = this[_initializeText](); + if (dart.test(this[___Uri__text_isSet])) dart.throw(new _internal.LateError.fieldADI("_text")); + this[___Uri__text] = t252; + this[___Uri__text_isSet] = true; + } + t253 = this[___Uri__text]; + return t253; + } + get pathSegments() { + let t254; + if (!dart.test(this[___Uri_pathSegments_isSet])) { + let t253 = core._Uri._computePathSegments(this.path); + if (dart.test(this[___Uri_pathSegments_isSet])) dart.throw(new _internal.LateError.fieldADI("pathSegments")); + this[___Uri_pathSegments] = t253; + this[___Uri_pathSegments_isSet] = true; + } + t254 = this[___Uri_pathSegments]; + return t254; + } + get hashCode() { + let t255; + if (!dart.test(this[___Uri_hashCode_isSet])) { + let t254 = dart.hashCode(this[_text$]); + if (dart.test(this[___Uri_hashCode_isSet])) dart.throw(new _internal.LateError.fieldADI("hashCode")); + this[___Uri_hashCode] = t254; + this[___Uri_hashCode_isSet] = true; + } + t255 = this[___Uri_hashCode]; + return t255; + } + get queryParameters() { + let t256; + if (!dart.test(this[___Uri_queryParameters_isSet])) { + let t255 = new (T$0.UnmodifiableMapViewOfString$String()).new(core.Uri.splitQueryString(this.query)); + if (dart.test(this[___Uri_queryParameters_isSet])) dart.throw(new _internal.LateError.fieldADI("queryParameters")); + this[___Uri_queryParameters] = t255; + this[___Uri_queryParameters_isSet] = true; + } + t256 = this[___Uri_queryParameters]; + return t256; + } + get queryParametersAll() { + let t257; + if (!dart.test(this[___Uri_queryParametersAll_isSet])) { + let t256 = core._Uri._computeQueryParametersAll(this.query); + if (dart.test(this[___Uri_queryParametersAll_isSet])) dart.throw(new _internal.LateError.fieldADI("queryParametersAll")); + this[___Uri_queryParametersAll] = t256; + this[___Uri_queryParametersAll_isSet] = true; + } + t257 = this[___Uri_queryParametersAll]; + return t257; + } + static notSimple(uri, start, end, schemeEnd, hostStart, portStart, pathStart, queryStart, fragmentStart, scheme) { + let t257; + if (uri == null) dart.nullFailed(I[175], 1356, 14, "uri"); + if (start == null) dart.nullFailed(I[175], 1357, 11, "start"); + if (end == null) dart.nullFailed(I[175], 1358, 11, "end"); + if (schemeEnd == null) dart.nullFailed(I[175], 1359, 11, "schemeEnd"); + if (hostStart == null) dart.nullFailed(I[175], 1360, 11, "hostStart"); + if (portStart == null) dart.nullFailed(I[175], 1361, 11, "portStart"); + if (pathStart == null) dart.nullFailed(I[175], 1362, 11, "pathStart"); + if (queryStart == null) dart.nullFailed(I[175], 1363, 11, "queryStart"); + if (fragmentStart == null) dart.nullFailed(I[175], 1364, 11, "fragmentStart"); + if (scheme == null) { + scheme = ""; + if (dart.notNull(schemeEnd) > dart.notNull(start)) { + scheme = core._Uri._makeScheme(uri, start, schemeEnd); + } else if (schemeEnd == start) { + core._Uri._fail(uri, start, "Invalid empty scheme"); + dart.throw(new _internal.ReachabilityError.new("`null` encountered as the result from expression with type `Never`.")); + } + } + let userInfo = ""; + let host = null; + let port = null; + if (dart.notNull(hostStart) > dart.notNull(start)) { + let userInfoStart = dart.notNull(schemeEnd) + 3; + if (userInfoStart < dart.notNull(hostStart)) { + userInfo = core._Uri._makeUserInfo(uri, userInfoStart, dart.notNull(hostStart) - 1); + } + host = core._Uri._makeHost(uri, hostStart, portStart, false); + if (dart.notNull(portStart) + 1 < dart.notNull(pathStart)) { + let portNumber = (t257 = core.int.tryParse(uri[$substring](dart.notNull(portStart) + 1, pathStart)), t257 == null ? dart.throw(new core.FormatException.new("Invalid port", uri, dart.notNull(portStart) + 1)) : t257); + port = core._Uri._makePort(portNumber, scheme); + } + } + let path = core._Uri._makePath(uri, pathStart, queryStart, null, scheme, host != null); + let query = null; + if (dart.notNull(queryStart) < dart.notNull(fragmentStart)) { + query = core._Uri._makeQuery(uri, dart.notNull(queryStart) + 1, fragmentStart, null); + } + let fragment = null; + if (dart.notNull(fragmentStart) < dart.notNull(end)) { + fragment = core._Uri._makeFragment(uri, dart.notNull(fragmentStart) + 1, end); + } + return new core._Uri._internal(scheme, userInfo, host, port, path, query, fragment); + } + static new(opts) { + let scheme = opts && 'scheme' in opts ? opts.scheme : null; + let userInfo = opts && 'userInfo' in opts ? opts.userInfo : null; + let host = opts && 'host' in opts ? opts.host : null; + let port = opts && 'port' in opts ? opts.port : null; + let path = opts && 'path' in opts ? opts.path : null; + let pathSegments = opts && 'pathSegments' in opts ? opts.pathSegments : null; + let query = opts && 'query' in opts ? opts.query : null; + let queryParameters = opts && 'queryParameters' in opts ? opts.queryParameters : null; + let fragment = opts && 'fragment' in opts ? opts.fragment : null; + if (scheme == null) { + scheme = ""; + } else { + scheme = core._Uri._makeScheme(scheme, 0, scheme.length); + } + userInfo = core._Uri._makeUserInfo(userInfo, 0, core._stringOrNullLength(userInfo)); + if (userInfo == null) { + dart.throw("unreachable"); + } + host = core._Uri._makeHost(host, 0, core._stringOrNullLength(host), false); + if (query === "") query = null; + query = core._Uri._makeQuery(query, 0, core._stringOrNullLength(query), queryParameters); + fragment = core._Uri._makeFragment(fragment, 0, core._stringOrNullLength(fragment)); + port = core._Uri._makePort(port, scheme); + let isFile = scheme === "file"; + if (host == null && (userInfo[$isNotEmpty] || port != null || isFile)) { + host = ""; + } + let hasAuthority = host != null; + path = core._Uri._makePath(path, 0, core._stringOrNullLength(path), pathSegments, scheme, hasAuthority); + if (path == null) { + dart.throw("unreachable"); + } + if (scheme[$isEmpty] && host == null && !path[$startsWith]("/")) { + let allowScheme = scheme[$isNotEmpty] || host != null; + path = core._Uri._normalizeRelativePath(path, allowScheme); + } else { + path = core._Uri._removeDotSegments(path); + } + if (host == null && path[$startsWith]("//")) { + host = ""; + } + return new core._Uri._internal(scheme, userInfo, host, port, path, query, fragment); + } + static http(authority, unencodedPath, queryParameters = null) { + if (authority == null) dart.nullFailed(I[175], 1454, 28, "authority"); + if (unencodedPath == null) dart.nullFailed(I[175], 1454, 46, "unencodedPath"); + return core._Uri._makeHttpUri("http", authority, unencodedPath, queryParameters); + } + static https(authority, unencodedPath, queryParameters = null) { + if (authority == null) dart.nullFailed(I[175], 1460, 29, "authority"); + if (unencodedPath == null) dart.nullFailed(I[175], 1460, 47, "unencodedPath"); + return core._Uri._makeHttpUri("https", authority, unencodedPath, queryParameters); + } + get authority() { + if (!dart.test(this.hasAuthority)) return ""; + let sb = new core.StringBuffer.new(); + this[_writeAuthority](sb); + return sb.toString(); + } + get userInfo() { + return this[_userInfo$]; + } + get host() { + let host = this[_host$]; + if (host == null) return ""; + if (host[$startsWith]("[")) { + return host[$substring](1, host.length - 1); + } + return host; + } + get port() { + let t257; + t257 = this[_port$]; + return t257 == null ? core._Uri._defaultPort(this.scheme) : t257; + } + static _defaultPort(scheme) { + if (scheme == null) dart.nullFailed(I[175], 1488, 34, "scheme"); + if (scheme === "http") return 80; + if (scheme === "https") return 443; + return 0; + } + get query() { + let t257; + t257 = this[_query$]; + return t257 == null ? "" : t257; + } + get fragment() { + let t257; + t257 = this[_fragment$]; + return t257 == null ? "" : t257; + } + isScheme(scheme) { + if (scheme == null) dart.nullFailed(I[175], 1498, 24, "scheme"); + let thisScheme = this.scheme; + if (scheme == null) return thisScheme[$isEmpty]; + if (scheme.length !== thisScheme.length) return false; + return core._Uri._compareScheme(scheme, thisScheme); + } + static _compareScheme(scheme, uri) { + if (scheme == null) dart.nullFailed(I[175], 1517, 37, "scheme"); + if (uri == null) dart.nullFailed(I[175], 1517, 52, "uri"); + for (let i = 0; i < scheme.length; i = i + 1) { + let schemeChar = scheme[$codeUnitAt](i); + let uriChar = uri[$codeUnitAt](i); + let delta = (schemeChar ^ uriChar) >>> 0; + if (delta !== 0) { + if (delta === 32) { + let lowerChar = (uriChar | delta) >>> 0; + if (97 <= lowerChar && lowerChar <= 122) { + continue; + } + } + return false; + } + } + return true; + } + static _fail(uri, index, message) { + if (uri == null) dart.nullFailed(I[175], 1537, 29, "uri"); + if (index == null) dart.nullFailed(I[175], 1537, 38, "index"); + if (message == null) dart.nullFailed(I[175], 1537, 52, "message"); + dart.throw(new core.FormatException.new(message, uri, index)); + } + static _makeHttpUri(scheme, authority, unencodedPath, queryParameters) { + if (scheme == null) dart.nullFailed(I[175], 1541, 35, "scheme"); + if (unencodedPath == null) dart.nullFailed(I[175], 1542, 14, "unencodedPath"); + let userInfo = ""; + let host = null; + let port = null; + if (authority != null && authority[$isNotEmpty]) { + let hostStart = 0; + for (let i = 0; i < authority.length; i = i + 1) { + if (authority[$codeUnitAt](i) === 64) { + userInfo = authority[$substring](0, i); + hostStart = i + 1; + break; + } + } + let hostEnd = hostStart; + if (hostStart < authority.length && authority[$codeUnitAt](hostStart) === 91) { + let escapeForZoneID = -1; + for (; hostEnd < authority.length; hostEnd = hostEnd + 1) { + let char = authority[$codeUnitAt](hostEnd); + if (char === 37 && escapeForZoneID < 0) { + escapeForZoneID = hostEnd; + if (authority[$startsWith]("25", hostEnd + 1)) { + hostEnd = hostEnd + 2; + } + } else if (char === 93) { + break; + } + } + if (hostEnd === authority.length) { + dart.throw(new core.FormatException.new("Invalid IPv6 host entry.", authority, hostStart)); + } + core.Uri.parseIPv6Address(authority, hostStart + 1, escapeForZoneID < 0 ? hostEnd : escapeForZoneID); + hostEnd = hostEnd + 1; + if (hostEnd !== authority.length && authority[$codeUnitAt](hostEnd) !== 58) { + dart.throw(new core.FormatException.new("Invalid end of authority", authority, hostEnd)); + } + } + for (; hostEnd < authority.length; hostEnd = hostEnd + 1) { + if (authority[$codeUnitAt](hostEnd) === 58) { + let portString = authority[$substring](hostEnd + 1); + if (portString[$isNotEmpty]) port = core.int.parse(portString); + break; + } + } + host = authority[$substring](hostStart, hostEnd); + } + return core._Uri.new({scheme: scheme, userInfo: userInfo, host: host, port: port, pathSegments: unencodedPath[$split]("/"), queryParameters: queryParameters}); + } + static file(path, opts) { + let t257; + if (path == null) dart.nullFailed(I[175], 1607, 28, "path"); + let windows = opts && 'windows' in opts ? opts.windows : null; + return core._Uri.as(dart.test((t257 = windows, t257 == null ? core._Uri._isWindows : t257)) ? core._Uri._makeWindowsFileUrl(path, false) : core._Uri._makeFileUri(path, false)); + } + static directory(path, opts) { + let t257; + if (path == null) dart.nullFailed(I[175], 1614, 33, "path"); + let windows = opts && 'windows' in opts ? opts.windows : null; + return core._Uri.as(dart.test((t257 = windows, t257 == null ? core._Uri._isWindows : t257)) ? core._Uri._makeWindowsFileUrl(path, true) : core._Uri._makeFileUri(path, true)); + } + static get _isWindows() { + return core._Uri._isWindowsCached; + } + static _checkNonWindowsPathReservedCharacters(segments, argumentError) { + if (segments == null) dart.nullFailed(I[175], 1624, 20, "segments"); + if (argumentError == null) dart.nullFailed(I[175], 1624, 35, "argumentError"); + for (let segment of segments) { + if (segment[$contains]("/")) { + if (dart.test(argumentError)) { + dart.throw(new core.ArgumentError.new("Illegal path character " + dart.str(segment))); + } else { + dart.throw(new core.UnsupportedError.new("Illegal path character " + dart.str(segment))); + } + } + } + } + static _checkWindowsPathReservedCharacters(segments, argumentError, firstSegment = 0) { + if (segments == null) dart.nullFailed(I[175], 1637, 20, "segments"); + if (argumentError == null) dart.nullFailed(I[175], 1637, 35, "argumentError"); + if (firstSegment == null) dart.nullFailed(I[175], 1638, 12, "firstSegment"); + for (let segment of segments[$skip](firstSegment)) { + if (segment[$contains](core.RegExp.new("[\"*/:<>?\\\\|]"))) { + if (dart.test(argumentError)) { + dart.throw(new core.ArgumentError.new("Illegal character in path")); + } else { + dart.throw(new core.UnsupportedError.new("Illegal character in path: " + dart.str(segment))); + } + } + } + } + static _checkWindowsDriveLetter(charCode, argumentError) { + if (charCode == null) dart.nullFailed(I[175], 1650, 44, "charCode"); + if (argumentError == null) dart.nullFailed(I[175], 1650, 59, "argumentError"); + if (65 <= dart.notNull(charCode) && dart.notNull(charCode) <= 90 || 97 <= dart.notNull(charCode) && dart.notNull(charCode) <= 122) { + return; + } + if (dart.test(argumentError)) { + dart.throw(new core.ArgumentError.new("Illegal drive letter " + dart.notNull(core.String.fromCharCode(charCode)))); + } else { + dart.throw(new core.UnsupportedError.new("Illegal drive letter " + dart.notNull(core.String.fromCharCode(charCode)))); + } + } + static _makeFileUri(path, slashTerminated) { + if (path == null) dart.nullFailed(I[175], 1664, 34, "path"); + if (slashTerminated == null) dart.nullFailed(I[175], 1664, 45, "slashTerminated"); + let segments = path[$split]("/"); + if (dart.test(slashTerminated) && dart.test(segments[$isNotEmpty]) && segments[$last][$isNotEmpty]) { + segments[$add](""); + } + if (path[$startsWith]("/")) { + return core._Uri.new({scheme: "file", pathSegments: segments}); + } else { + return core._Uri.new({pathSegments: segments}); + } + } + static _makeWindowsFileUrl(path, slashTerminated) { + if (path == null) dart.nullFailed(I[175], 1679, 37, "path"); + if (slashTerminated == null) dart.nullFailed(I[175], 1679, 48, "slashTerminated"); + if (path[$startsWith]("\\\\?\\")) { + if (path[$startsWith]("UNC\\", 4)) { + path = path[$replaceRange](0, 7, "\\"); + } else { + path = path[$substring](4); + if (path.length < 3 || path[$codeUnitAt](1) !== 58 || path[$codeUnitAt](2) !== 92) { + dart.throw(new core.ArgumentError.new("Windows paths with \\\\?\\ prefix must be absolute")); + } + } + } else { + path = path[$replaceAll]("/", "\\"); + } + if (path.length > 1 && path[$codeUnitAt](1) === 58) { + core._Uri._checkWindowsDriveLetter(path[$codeUnitAt](0), true); + if (path.length === 2 || path[$codeUnitAt](2) !== 92) { + dart.throw(new core.ArgumentError.new("Windows paths with drive letter must be absolute")); + } + let pathSegments = path[$split]("\\"); + if (dart.test(slashTerminated) && pathSegments[$last][$isNotEmpty]) { + pathSegments[$add](""); + } + core._Uri._checkWindowsPathReservedCharacters(pathSegments, true, 1); + return core._Uri.new({scheme: "file", pathSegments: pathSegments}); + } + if (path[$startsWith]("\\")) { + if (path[$startsWith]("\\", 1)) { + let pathStart = path[$indexOf]("\\", 2); + let hostPart = pathStart < 0 ? path[$substring](2) : path[$substring](2, pathStart); + let pathPart = pathStart < 0 ? "" : path[$substring](pathStart + 1); + let pathSegments = pathPart[$split]("\\"); + core._Uri._checkWindowsPathReservedCharacters(pathSegments, true); + if (dart.test(slashTerminated) && pathSegments[$last][$isNotEmpty]) { + pathSegments[$add](""); + } + return core._Uri.new({scheme: "file", host: hostPart, pathSegments: pathSegments}); + } else { + let pathSegments = path[$split]("\\"); + if (dart.test(slashTerminated) && pathSegments[$last][$isNotEmpty]) { + pathSegments[$add](""); + } + core._Uri._checkWindowsPathReservedCharacters(pathSegments, true); + return core._Uri.new({scheme: "file", pathSegments: pathSegments}); + } + } else { + let pathSegments = path[$split]("\\"); + core._Uri._checkWindowsPathReservedCharacters(pathSegments, true); + if (dart.test(slashTerminated) && dart.test(pathSegments[$isNotEmpty]) && pathSegments[$last][$isNotEmpty]) { + pathSegments[$add](""); + } + return core._Uri.new({pathSegments: pathSegments}); + } + } + replace(opts) { + let scheme = opts && 'scheme' in opts ? opts.scheme : null; + let userInfo = opts && 'userInfo' in opts ? opts.userInfo : null; + let host = opts && 'host' in opts ? opts.host : null; + let port = opts && 'port' in opts ? opts.port : null; + let path = opts && 'path' in opts ? opts.path : null; + let pathSegments = opts && 'pathSegments' in opts ? opts.pathSegments : null; + let query = opts && 'query' in opts ? opts.query : null; + let queryParameters = opts && 'queryParameters' in opts ? opts.queryParameters : null; + let fragment = opts && 'fragment' in opts ? opts.fragment : null; + let schemeChanged = false; + if (scheme != null) { + scheme = core._Uri._makeScheme(scheme, 0, scheme.length); + schemeChanged = scheme != this.scheme; + } else { + scheme = this.scheme; + } + let isFile = scheme === "file"; + if (userInfo != null) { + userInfo = core._Uri._makeUserInfo(userInfo, 0, userInfo.length); + } else { + userInfo = this[_userInfo$]; + } + if (port != null) { + port = core._Uri._makePort(port, scheme); + } else { + port = this[_port$]; + if (schemeChanged) { + port = core._Uri._makePort(port, scheme); + } + } + if (host != null) { + host = core._Uri._makeHost(host, 0, host.length, false); + } else if (dart.test(this.hasAuthority)) { + host = this[_host$]; + } else if (userInfo[$isNotEmpty] || port != null || isFile) { + host = ""; + } + let hasAuthority = host != null; + if (path != null || pathSegments != null) { + path = core._Uri._makePath(path, 0, core._stringOrNullLength(path), pathSegments, scheme, hasAuthority); + } else { + let currentPath = this.path; + if ((isFile || hasAuthority && !currentPath[$isEmpty]) && !currentPath[$startsWith]("/")) { + currentPath = "/" + dart.notNull(currentPath); + } + path = currentPath; + } + if (query != null || queryParameters != null) { + query = core._Uri._makeQuery(query, 0, core._stringOrNullLength(query), queryParameters); + } else { + query = this[_query$]; + } + if (fragment != null) { + fragment = core._Uri._makeFragment(fragment, 0, fragment.length); + } else { + fragment = this[_fragment$]; + } + return new core._Uri._internal(scheme, userInfo, host, port, path, query, fragment); + } + removeFragment() { + if (!dart.test(this.hasFragment)) return this; + return new core._Uri._internal(this.scheme, this[_userInfo$], this[_host$], this[_port$], this.path, this[_query$], null); + } + static _computePathSegments(pathToSplit) { + if (pathToSplit == null) dart.nullFailed(I[175], 1823, 51, "pathToSplit"); + if (pathToSplit[$isNotEmpty] && pathToSplit[$codeUnitAt](0) === 47) { + pathToSplit = pathToSplit[$substring](1); + } + return pathToSplit[$isEmpty] ? C[404] || CT.C404 : T$.ListOfString().unmodifiable(pathToSplit[$split]("/")[$map](dart.dynamic, C[429] || CT.C429)); + } + static _computeQueryParametersAll(query) { + if (query == null || query[$isEmpty]) return C[430] || CT.C430; + let queryParameterLists = core._Uri._splitQueryStringAll(query); + queryParameterLists[$updateAll](C[431] || CT.C431); + return T$0.MapOfString$ListOfString().unmodifiable(queryParameterLists); + } + normalizePath() { + let path = core._Uri._normalizePath(this.path, this.scheme, this.hasAuthority); + if (path == this.path) return this; + return this.replace({path: path}); + } + static _makePort(port, scheme) { + if (scheme == null) dart.nullFailed(I[175], 1846, 43, "scheme"); + if (port != null && port == core._Uri._defaultPort(scheme)) return null; + return port; + } + static _makeHost(host, start, end, strictIPv6) { + if (start == null) dart.nullFailed(I[175], 1861, 46, "start"); + if (end == null) dart.nullFailed(I[175], 1861, 57, "end"); + if (strictIPv6 == null) dart.nullFailed(I[175], 1861, 67, "strictIPv6"); + if (host == null) return null; + if (start == end) return ""; + if (host[$codeUnitAt](start) === 91) { + if (host[$codeUnitAt](dart.notNull(end) - 1) !== 93) { + core._Uri._fail(host, start, "Missing end `]` to match `[` in host"); + dart.throw(new _internal.ReachabilityError.new("`null` encountered as the result from expression with type `Never`.")); + } + let zoneID = ""; + let index = core._Uri._checkZoneID(host, dart.notNull(start) + 1, dart.notNull(end) - 1); + if (dart.notNull(index) < dart.notNull(end) - 1) { + let zoneIDstart = host[$startsWith]("25", dart.notNull(index) + 1) ? dart.notNull(index) + 3 : dart.notNull(index) + 1; + zoneID = core._Uri._normalizeZoneID(host, zoneIDstart, dart.notNull(end) - 1, "%25"); + } + core.Uri.parseIPv6Address(host, dart.notNull(start) + 1, index); + return host[$substring](start, index)[$toLowerCase]() + dart.notNull(zoneID) + "]"; + } + if (!dart.test(strictIPv6)) { + for (let i = start; dart.notNull(i) < dart.notNull(end); i = dart.notNull(i) + 1) { + if (host[$codeUnitAt](i) === 58) { + let zoneID = ""; + let index = core._Uri._checkZoneID(host, start, end); + if (dart.notNull(index) < dart.notNull(end)) { + let zoneIDstart = host[$startsWith]("25", dart.notNull(index) + 1) ? dart.notNull(index) + 3 : dart.notNull(index) + 1; + zoneID = core._Uri._normalizeZoneID(host, zoneIDstart, end, "%25"); + } + core.Uri.parseIPv6Address(host, start, index); + return "[" + host[$substring](start, index) + dart.notNull(zoneID) + "]"; + } + } + } + return core._Uri._normalizeRegName(host, start, end); + } + static _checkZoneID(host, start, end) { + if (host == null) dart.nullFailed(I[175], 1902, 34, "host"); + if (start == null) dart.nullFailed(I[175], 1902, 44, "start"); + if (end == null) dart.nullFailed(I[175], 1902, 55, "end"); + let index = host[$indexOf]("%", start); + index = dart.notNull(index) >= dart.notNull(start) && dart.notNull(index) < dart.notNull(end) ? index : end; + return index; + } + static _isZoneIDChar(char) { + if (char == null) dart.nullFailed(I[175], 1908, 33, "char"); + return dart.notNull(char) < 127 && (dart.notNull(core._Uri._zoneIDTable[$_get](char[$rightShift](4))) & 1 << (dart.notNull(char) & 15)) !== 0; + } + static _normalizeZoneID(host, start, end, prefix = "") { + let t257, t257$; + if (host == null) dart.nullFailed(I[175], 1918, 41, "host"); + if (start == null) dart.nullFailed(I[175], 1918, 51, "start"); + if (end == null) dart.nullFailed(I[175], 1918, 62, "end"); + if (prefix == null) dart.nullFailed(I[175], 1919, 15, "prefix"); + let buffer = null; + if (prefix !== "") { + buffer = new core.StringBuffer.new(prefix); + } + let sectionStart = start; + let index = start; + let isNormalized = true; + while (dart.notNull(index) < dart.notNull(end)) { + let char = host[$codeUnitAt](index); + if (char === 37) { + let replacement = core._Uri._normalizeEscape(host, index, true); + if (replacement == null && isNormalized) { + index = dart.notNull(index) + 3; + continue; + } + buffer == null ? buffer = new core.StringBuffer.new() : null; + let slice = host[$substring](sectionStart, index); + buffer.write(slice); + let sourceLength = 3; + if (replacement == null) { + replacement = host[$substring](index, dart.notNull(index) + 3); + } else if (replacement === "%") { + core._Uri._fail(host, index, "ZoneID should not contain % anymore"); + dart.throw(new _internal.ReachabilityError.new("`null` encountered as the result from expression with type `Never`.")); + } + buffer.write(replacement); + index = dart.notNull(index) + sourceLength; + sectionStart = index; + isNormalized = true; + } else if (dart.test(core._Uri._isZoneIDChar(char))) { + if (isNormalized && 65 <= char && 90 >= char) { + buffer == null ? buffer = new core.StringBuffer.new() : null; + if (dart.notNull(sectionStart) < dart.notNull(index)) { + buffer.write(host[$substring](sectionStart, index)); + sectionStart = index; + } + isNormalized = false; + } + index = dart.notNull(index) + 1; + } else { + let sourceLength = 1; + if ((char & 64512) === 55296 && dart.notNull(index) + 1 < dart.notNull(end)) { + let tail = host[$codeUnitAt](dart.notNull(index) + 1); + if ((tail & 64512) === 56320) { + char = 65536 | (char & 1023) << 10 | tail & 1023; + sourceLength = 2; + } + } + let slice = host[$substring](sectionStart, index); + t257$ = (t257 = buffer, t257 == null ? buffer = new core.StringBuffer.new() : t257); + (() => { + t257$.write(slice); + t257$.write(core._Uri._escapeChar(char)); + return t257$; + })(); + index = dart.notNull(index) + sourceLength; + sectionStart = index; + } + } + if (buffer == null) return host[$substring](start, end); + if (dart.notNull(sectionStart) < dart.notNull(end)) { + let slice = host[$substring](sectionStart, end); + buffer.write(slice); + } + return dart.toString(buffer); + } + static _isRegNameChar(char) { + if (char == null) dart.nullFailed(I[175], 1984, 34, "char"); + return dart.notNull(char) < 127 && (dart.notNull(core._Uri._regNameTable[$_get](char[$rightShift](4))) & 1 << (dart.notNull(char) & 15)) !== 0; + } + static _normalizeRegName(host, start, end) { + let t257, t257$; + if (host == null) dart.nullFailed(I[175], 1993, 42, "host"); + if (start == null) dart.nullFailed(I[175], 1993, 52, "start"); + if (end == null) dart.nullFailed(I[175], 1993, 63, "end"); + let buffer = null; + let sectionStart = start; + let index = start; + let isNormalized = true; + while (dart.notNull(index) < dart.notNull(end)) { + let char = host[$codeUnitAt](index); + if (char === 37) { + let replacement = core._Uri._normalizeEscape(host, index, true); + if (replacement == null && isNormalized) { + index = dart.notNull(index) + 3; + continue; + } + buffer == null ? buffer = new core.StringBuffer.new() : null; + let slice = host[$substring](sectionStart, index); + if (!isNormalized) slice = slice[$toLowerCase](); + buffer.write(slice); + let sourceLength = 3; + if (replacement == null) { + replacement = host[$substring](index, dart.notNull(index) + 3); + } else if (replacement === "%") { + replacement = "%25"; + sourceLength = 1; + } + buffer.write(replacement); + index = dart.notNull(index) + sourceLength; + sectionStart = index; + isNormalized = true; + } else if (dart.test(core._Uri._isRegNameChar(char))) { + if (isNormalized && 65 <= char && 90 >= char) { + buffer == null ? buffer = new core.StringBuffer.new() : null; + if (dart.notNull(sectionStart) < dart.notNull(index)) { + buffer.write(host[$substring](sectionStart, index)); + sectionStart = index; + } + isNormalized = false; + } + index = dart.notNull(index) + 1; + } else if (dart.test(core._Uri._isGeneralDelimiter(char))) { + core._Uri._fail(host, index, "Invalid character"); + dart.throw(new _internal.ReachabilityError.new("`null` encountered as the result from expression with type `Never`.")); + } else { + let sourceLength = 1; + if ((char & 64512) === 55296 && dart.notNull(index) + 1 < dart.notNull(end)) { + let tail = host[$codeUnitAt](dart.notNull(index) + 1); + if ((tail & 64512) === 56320) { + char = 65536 | (char & 1023) << 10 | tail & 1023; + sourceLength = 2; + } + } + let slice = host[$substring](sectionStart, index); + if (!isNormalized) slice = slice[$toLowerCase](); + t257$ = (t257 = buffer, t257 == null ? buffer = new core.StringBuffer.new() : t257); + (() => { + t257$.write(slice); + t257$.write(core._Uri._escapeChar(char)); + return t257$; + })(); + index = dart.notNull(index) + sourceLength; + sectionStart = index; + } + } + if (buffer == null) return host[$substring](start, end); + if (dart.notNull(sectionStart) < dart.notNull(end)) { + let slice = host[$substring](sectionStart, end); + if (!isNormalized) slice = slice[$toLowerCase](); + buffer.write(slice); + } + return dart.toString(buffer); + } + static _makeScheme(scheme, start, end) { + if (scheme == null) dart.nullFailed(I[175], 2065, 36, "scheme"); + if (start == null) dart.nullFailed(I[175], 2065, 48, "start"); + if (end == null) dart.nullFailed(I[175], 2065, 59, "end"); + if (start == end) return ""; + let firstCodeUnit = scheme[$codeUnitAt](start); + if (!dart.test(core._Uri._isAlphabeticCharacter(firstCodeUnit))) { + core._Uri._fail(scheme, start, "Scheme not starting with alphabetic character"); + dart.throw(new _internal.ReachabilityError.new("`null` encountered as the result from expression with type `Never`.")); + } + let containsUpperCase = false; + for (let i = start; dart.notNull(i) < dart.notNull(end); i = dart.notNull(i) + 1) { + let codeUnit = scheme[$codeUnitAt](i); + if (!dart.test(core._Uri._isSchemeCharacter(codeUnit))) { + core._Uri._fail(scheme, i, "Illegal scheme character"); + dart.throw(new _internal.ReachabilityError.new("`null` encountered as the result from expression with type `Never`.")); + } + if (65 <= codeUnit && codeUnit <= 90) { + containsUpperCase = true; + } + } + scheme = scheme[$substring](start, end); + if (containsUpperCase) scheme = scheme[$toLowerCase](); + return core._Uri._canonicalizeScheme(scheme); + } + static _canonicalizeScheme(scheme) { + if (scheme == null) dart.nullFailed(I[175], 2089, 44, "scheme"); + if (scheme === "http") return "http"; + if (scheme === "file") return "file"; + if (scheme === "https") return "https"; + if (scheme === "package") return "package"; + return scheme; + } + static _makeUserInfo(userInfo, start, end) { + if (start == null) dart.nullFailed(I[175], 2097, 53, "start"); + if (end == null) dart.nullFailed(I[175], 2097, 64, "end"); + if (userInfo == null) return ""; + return core._Uri._normalizeOrSubstring(userInfo, start, end, core._Uri._userinfoTable); + } + static _makePath(path, start, end, pathSegments, scheme, hasAuthority) { + if (start == null) dart.nullFailed(I[175], 2102, 45, "start"); + if (end == null) dart.nullFailed(I[175], 2102, 56, "end"); + if (scheme == null) dart.nullFailed(I[175], 2103, 46, "scheme"); + if (hasAuthority == null) dart.nullFailed(I[175], 2103, 59, "hasAuthority"); + let isFile = scheme === "file"; + let ensureLeadingSlash = isFile || dart.test(hasAuthority); + let result = null; + if (path == null) { + if (pathSegments == null) return isFile ? "/" : ""; + result = pathSegments[$map](core.String, dart.fn(s => { + if (s == null) dart.nullFailed(I[175], 2110, 17, "s"); + return core._Uri._uriEncode(core._Uri._pathCharTable, s, convert.utf8, false); + }, T$.StringToString()))[$join]("/"); + } else if (pathSegments != null) { + dart.throw(new core.ArgumentError.new("Both path and pathSegments specified")); + } else { + result = core._Uri._normalizeOrSubstring(path, start, end, core._Uri._pathCharOrSlashTable, {escapeDelimiters: true}); + } + if (result[$isEmpty]) { + if (isFile) return "/"; + } else if (ensureLeadingSlash && !result[$startsWith]("/")) { + result = "/" + dart.notNull(result); + } + result = core._Uri._normalizePath(result, scheme, hasAuthority); + return result; + } + static _normalizePath(path, scheme, hasAuthority) { + if (path == null) dart.nullFailed(I[175], 2132, 39, "path"); + if (scheme == null) dart.nullFailed(I[175], 2132, 52, "scheme"); + if (hasAuthority == null) dart.nullFailed(I[175], 2132, 65, "hasAuthority"); + if (scheme[$isEmpty] && !dart.test(hasAuthority) && !path[$startsWith]("/")) { + return core._Uri._normalizeRelativePath(path, scheme[$isNotEmpty] || dart.test(hasAuthority)); + } + return core._Uri._removeDotSegments(path); + } + static _makeQuery(query, start, end, queryParameters) { + if (start == null) dart.nullFailed(I[175], 2139, 48, "start"); + if (end == null) dart.nullFailed(I[175], 2139, 59, "end"); + if (query != null) { + if (queryParameters != null) { + dart.throw(new core.ArgumentError.new("Both query and queryParameters specified")); + } + return core._Uri._normalizeOrSubstring(query, start, end, core._Uri._queryCharTable, {escapeDelimiters: true}); + } + if (queryParameters == null) return null; + let result = new core.StringBuffer.new(); + let separator = ""; + function writeParameter(key, value) { + if (key == null) dart.nullFailed(I[175], 2153, 32, "key"); + result.write(separator); + separator = "&"; + result.write(core.Uri.encodeQueryComponent(key)); + if (value != null && value[$isNotEmpty]) { + result.write("="); + result.write(core.Uri.encodeQueryComponent(value)); + } + } + dart.fn(writeParameter, T$0.StringAndStringNTovoid()); + queryParameters[$forEach](dart.fn((key, value) => { + if (key == null) dart.nullFailed(I[175], 2163, 30, "key"); + if (value == null || typeof value == 'string') { + writeParameter(key, T$.StringN().as(value)); + } else { + let values = core.Iterable.as(value); + for (let t257 of values) { + let value = core.String.as(t257); + writeParameter(key, value); + } + } + }, T$0.StringAnddynamicTovoid())); + return result.toString(); + } + static _makeFragment(fragment, start, end) { + if (start == null) dart.nullFailed(I[175], 2176, 54, "start"); + if (end == null) dart.nullFailed(I[175], 2176, 65, "end"); + if (fragment == null) return null; + return core._Uri._normalizeOrSubstring(fragment, start, end, core._Uri._queryCharTable, {escapeDelimiters: true}); + } + static _normalizeEscape(source, index, lowerCase) { + if (source == null) dart.nullFailed(I[175], 2193, 42, "source"); + if (index == null) dart.nullFailed(I[175], 2193, 54, "index"); + if (lowerCase == null) dart.nullFailed(I[175], 2193, 66, "lowerCase"); + if (!(source[$codeUnitAt](index) === 37)) dart.assertFailed(null, I[175], 2194, 12, "source.codeUnitAt(index) == _PERCENT"); + if (dart.notNull(index) + 2 >= source.length) { + return "%"; + } + let firstDigit = source[$codeUnitAt](dart.notNull(index) + 1); + let secondDigit = source[$codeUnitAt](dart.notNull(index) + 2); + let firstDigitValue = _internal.hexDigitValue(firstDigit); + let secondDigitValue = _internal.hexDigitValue(secondDigit); + if (dart.notNull(firstDigitValue) < 0 || dart.notNull(secondDigitValue) < 0) { + return "%"; + } + let value = dart.notNull(firstDigitValue) * 16 + dart.notNull(secondDigitValue); + if (dart.test(core._Uri._isUnreservedChar(value))) { + if (dart.test(lowerCase) && 65 <= value && 90 >= value) { + value = (value | 32) >>> 0; + } + return core.String.fromCharCode(value); + } + if (firstDigit >= 97 || secondDigit >= 97) { + return source[$substring](index, dart.notNull(index) + 3)[$toUpperCase](); + } + return null; + } + static _escapeChar(char) { + if (char == null) dart.nullFailed(I[175], 2221, 33, "char"); + if (!(dart.notNull(char) <= 1114111)) dart.assertFailed(null, I[175], 2222, 12, "char <= 0x10ffff"); + let codeUnits = null; + if (dart.notNull(char) < 128) { + codeUnits = _native_typed_data.NativeUint8List.new(3); + codeUnits[$_set](0, 37); + codeUnits[$_set](1, "0123456789ABCDEF"[$codeUnitAt](char[$rightShift](4))); + codeUnits[$_set](2, "0123456789ABCDEF"[$codeUnitAt](dart.notNull(char) & 15)); + } else { + let flag = 192; + let encodedBytes = 2; + if (dart.notNull(char) > 2047) { + flag = 224; + encodedBytes = 3; + if (dart.notNull(char) > 65535) { + encodedBytes = 4; + flag = 240; + } + } + codeUnits = _native_typed_data.NativeUint8List.new(3 * encodedBytes); + let index = 0; + while ((encodedBytes = encodedBytes - 1) >= 0) { + let byte = (char[$rightShift](6 * encodedBytes) & 63 | flag) >>> 0; + codeUnits[$_set](index, 37); + codeUnits[$_set](index + 1, "0123456789ABCDEF"[$codeUnitAt](byte[$rightShift](4))); + codeUnits[$_set](index + 2, "0123456789ABCDEF"[$codeUnitAt](byte & 15)); + index = index + 3; + flag = 128; + } + } + return core.String.fromCharCodes(codeUnits); + } + static _normalizeOrSubstring(component, start, end, charTable, opts) { + let t258; + if (component == null) dart.nullFailed(I[175], 2261, 14, "component"); + if (start == null) dart.nullFailed(I[175], 2261, 29, "start"); + if (end == null) dart.nullFailed(I[175], 2261, 40, "end"); + if (charTable == null) dart.nullFailed(I[175], 2261, 55, "charTable"); + let escapeDelimiters = opts && 'escapeDelimiters' in opts ? opts.escapeDelimiters : false; + if (escapeDelimiters == null) dart.nullFailed(I[175], 2262, 13, "escapeDelimiters"); + t258 = core._Uri._normalize(component, start, end, charTable, {escapeDelimiters: escapeDelimiters}); + return t258 == null ? component[$substring](start, end) : t258; + } + static _normalize(component, start, end, charTable, opts) { + let t258, t258$; + if (component == null) dart.nullFailed(I[175], 2278, 14, "component"); + if (start == null) dart.nullFailed(I[175], 2278, 29, "start"); + if (end == null) dart.nullFailed(I[175], 2278, 40, "end"); + if (charTable == null) dart.nullFailed(I[175], 2278, 55, "charTable"); + let escapeDelimiters = opts && 'escapeDelimiters' in opts ? opts.escapeDelimiters : false; + if (escapeDelimiters == null) dart.nullFailed(I[175], 2279, 13, "escapeDelimiters"); + let buffer = null; + let sectionStart = start; + let index = start; + while (dart.notNull(index) < dart.notNull(end)) { + let char = component[$codeUnitAt](index); + if (char < 127 && (dart.notNull(charTable[$_get](char[$rightShift](4))) & 1 << (char & 15)) !== 0) { + index = dart.notNull(index) + 1; + } else { + let replacement = null; + let sourceLength = null; + if (char === 37) { + replacement = core._Uri._normalizeEscape(component, index, false); + if (replacement == null) { + index = dart.notNull(index) + 3; + continue; + } + if ("%" === replacement) { + replacement = "%25"; + sourceLength = 1; + } else { + sourceLength = 3; + } + } else if (!dart.test(escapeDelimiters) && dart.test(core._Uri._isGeneralDelimiter(char))) { + core._Uri._fail(component, index, "Invalid character"); + dart.throw(new _internal.ReachabilityError.new("`null` encountered as the result from expression with type `Never`.")); + dart.throw("unreachable"); + } else { + sourceLength = 1; + if ((char & 64512) === 55296) { + if (dart.notNull(index) + 1 < dart.notNull(end)) { + let tail = component[$codeUnitAt](dart.notNull(index) + 1); + if ((tail & 64512) === 56320) { + sourceLength = 2; + char = 65536 | (char & 1023) << 10 | tail & 1023; + } + } + } + replacement = core._Uri._escapeChar(char); + } + t258$ = (t258 = buffer, t258 == null ? buffer = new core.StringBuffer.new() : t258); + (() => { + t258$.write(component[$substring](sectionStart, index)); + t258$.write(replacement); + return t258$; + })(); + index = dart.notNull(index) + dart.notNull(sourceLength); + sectionStart = index; + } + } + if (buffer == null) { + return null; + } + if (dart.notNull(sectionStart) < dart.notNull(end)) { + buffer.write(component[$substring](sectionStart, end)); + } + return dart.toString(buffer); + } + static _isSchemeCharacter(ch) { + if (ch == null) dart.nullFailed(I[175], 2339, 38, "ch"); + return dart.notNull(ch) < 128 && (dart.notNull(core._Uri._schemeTable[$_get](ch[$rightShift](4))) & 1 << (dart.notNull(ch) & 15)) !== 0; + } + static _isGeneralDelimiter(ch) { + if (ch == null) dart.nullFailed(I[175], 2343, 39, "ch"); + return dart.notNull(ch) <= 93 && (dart.notNull(core._Uri._genDelimitersTable[$_get](ch[$rightShift](4))) & 1 << (dart.notNull(ch) & 15)) !== 0; + } + get isAbsolute() { + return this.scheme !== "" && this.fragment === ""; + } + [_mergePaths](base, reference) { + if (base == null) dart.nullFailed(I[175], 2351, 29, "base"); + if (reference == null) dart.nullFailed(I[175], 2351, 42, "reference"); + let backCount = 0; + let refStart = 0; + while (reference[$startsWith]("../", refStart)) { + refStart = refStart + 3; + backCount = backCount + 1; + } + let baseEnd = base[$lastIndexOf]("/"); + while (baseEnd > 0 && backCount > 0) { + let newEnd = base[$lastIndexOf]("/", baseEnd - 1); + if (newEnd < 0) { + break; + } + let delta = baseEnd - newEnd; + if ((delta === 2 || delta === 3) && base[$codeUnitAt](newEnd + 1) === 46 && (delta === 2 || base[$codeUnitAt](newEnd + 2) === 46)) { + break; + } + baseEnd = newEnd; + backCount = backCount - 1; + } + return base[$replaceRange](baseEnd + 1, null, reference[$substring](refStart - 3 * backCount)); + } + static _mayContainDotSegments(path) { + if (path == null) dart.nullFailed(I[175], 2389, 45, "path"); + if (path[$startsWith](".")) return true; + let index = path[$indexOf]("/."); + return index !== -1; + } + static _removeDotSegments(path) { + if (path == null) dart.nullFailed(I[175], 2400, 43, "path"); + if (!dart.test(core._Uri._mayContainDotSegments(path))) return path; + if (!path[$isNotEmpty]) dart.assertFailed(null, I[175], 2402, 12, "path.isNotEmpty"); + let output = T$.JSArrayOfString().of([]); + let appendSlash = false; + for (let segment of path[$split]("/")) { + appendSlash = false; + if (segment === "..") { + if (dart.test(output[$isNotEmpty])) { + output[$removeLast](); + if (dart.test(output[$isEmpty])) { + output[$add](""); + } + } + appendSlash = true; + } else if ("." === segment) { + appendSlash = true; + } else { + output[$add](segment); + } + } + if (appendSlash) output[$add](""); + return output[$join]("/"); + } + static _normalizeRelativePath(path, allowScheme) { + if (path == null) dart.nullFailed(I[175], 2436, 47, "path"); + if (allowScheme == null) dart.nullFailed(I[175], 2436, 58, "allowScheme"); + if (!!path[$startsWith]("/")) dart.assertFailed(null, I[175], 2437, 12, "!path.startsWith('/')"); + if (!dart.test(core._Uri._mayContainDotSegments(path))) { + if (!dart.test(allowScheme)) path = core._Uri._escapeScheme(path); + return path; + } + if (!path[$isNotEmpty]) dart.assertFailed(null, I[175], 2442, 12, "path.isNotEmpty"); + let output = T$.JSArrayOfString().of([]); + let appendSlash = false; + for (let segment of path[$split]("/")) { + appendSlash = false; + if (".." === segment) { + if (!dart.test(output[$isEmpty]) && output[$last] !== "..") { + output[$removeLast](); + appendSlash = true; + } else { + output[$add](".."); + } + } else if ("." === segment) { + appendSlash = true; + } else { + output[$add](segment); + } + } + if (dart.test(output[$isEmpty]) || output[$length] === 1 && output[$_get](0)[$isEmpty]) { + return "./"; + } + if (appendSlash || output[$last] === "..") output[$add](""); + if (!dart.test(allowScheme)) output[$_set](0, core._Uri._escapeScheme(output[$_get](0))); + return output[$join]("/"); + } + static _escapeScheme(path) { + if (path == null) dart.nullFailed(I[175], 2469, 38, "path"); + if (path.length >= 2 && dart.test(core._Uri._isAlphabeticCharacter(path[$codeUnitAt](0)))) { + for (let i = 1; i < path.length; i = i + 1) { + let char = path[$codeUnitAt](i); + if (char === 58) { + return path[$substring](0, i) + "%3A" + path[$substring](i + 1); + } + if (char > 127 || (dart.notNull(core._Uri._schemeTable[$_get](char[$rightShift](4))) & 1 << (char & 15)) === 0) { + break; + } + } + } + return path; + } + resolve(reference) { + if (reference == null) dart.nullFailed(I[175], 2485, 22, "reference"); + return this.resolveUri(core.Uri.parse(reference)); + } + static _packageNameEnd(uri, path) { + if (uri == null) dart.nullFailed(I[175], 2499, 34, "uri"); + if (path == null) dart.nullFailed(I[175], 2499, 46, "path"); + if (dart.test(uri.isScheme("package")) && !dart.test(uri.hasAuthority)) { + return core._skipPackageNameChars(path, 0, path.length); + } + return -1; + } + resolveUri(reference) { + if (reference == null) dart.nullFailed(I[175], 2506, 22, "reference"); + let targetScheme = null; + let targetUserInfo = ""; + let targetHost = null; + let targetPort = null; + let targetPath = null; + let targetQuery = null; + if (reference.scheme[$isNotEmpty]) { + targetScheme = reference.scheme; + if (dart.test(reference.hasAuthority)) { + targetUserInfo = reference.userInfo; + targetHost = reference.host; + targetPort = dart.test(reference.hasPort) ? reference.port : null; + } + targetPath = core._Uri._removeDotSegments(reference.path); + if (dart.test(reference.hasQuery)) { + targetQuery = reference.query; + } + } else { + targetScheme = this.scheme; + if (dart.test(reference.hasAuthority)) { + targetUserInfo = reference.userInfo; + targetHost = reference.host; + targetPort = core._Uri._makePort(dart.test(reference.hasPort) ? reference.port : null, targetScheme); + targetPath = core._Uri._removeDotSegments(reference.path); + if (dart.test(reference.hasQuery)) targetQuery = reference.query; + } else { + targetUserInfo = this[_userInfo$]; + targetHost = this[_host$]; + targetPort = this[_port$]; + if (reference.path === "") { + targetPath = this.path; + if (dart.test(reference.hasQuery)) { + targetQuery = reference.query; + } else { + targetQuery = this[_query$]; + } + } else { + let basePath = this.path; + let packageNameEnd = core._Uri._packageNameEnd(this, basePath); + if (dart.notNull(packageNameEnd) > 0) { + if (!(targetScheme === "package")) dart.assertFailed(null, I[175], 2549, 20, "targetScheme == \"package\""); + if (!!dart.test(this.hasAuthority)) dart.assertFailed(null, I[175], 2550, 20, "!this.hasAuthority"); + if (!!dart.test(this.hasEmptyPath)) dart.assertFailed(null, I[175], 2551, 20, "!this.hasEmptyPath"); + let packageName = basePath[$substring](0, packageNameEnd); + if (dart.test(reference.hasAbsolutePath)) { + targetPath = packageName + dart.notNull(core._Uri._removeDotSegments(reference.path)); + } else { + targetPath = packageName + dart.notNull(core._Uri._removeDotSegments(this[_mergePaths](basePath[$substring](packageName.length), reference.path))); + } + } else if (dart.test(reference.hasAbsolutePath)) { + targetPath = core._Uri._removeDotSegments(reference.path); + } else { + if (dart.test(this.hasEmptyPath)) { + if (!dart.test(this.hasAuthority)) { + if (!dart.test(this.hasScheme)) { + targetPath = reference.path; + } else { + targetPath = core._Uri._removeDotSegments(reference.path); + } + } else { + targetPath = core._Uri._removeDotSegments("/" + dart.notNull(reference.path)); + } + } else { + let mergedPath = this[_mergePaths](this.path, reference.path); + if (dart.test(this.hasScheme) || dart.test(this.hasAuthority) || dart.test(this.hasAbsolutePath)) { + targetPath = core._Uri._removeDotSegments(mergedPath); + } else { + targetPath = core._Uri._normalizeRelativePath(mergedPath, dart.test(this.hasScheme) || dart.test(this.hasAuthority)); + } + } + } + if (dart.test(reference.hasQuery)) targetQuery = reference.query; + } + } + } + let fragment = dart.test(reference.hasFragment) ? reference.fragment : null; + return new core._Uri._internal(targetScheme, targetUserInfo, targetHost, targetPort, targetPath, targetQuery, fragment); + } + get hasScheme() { + return this.scheme[$isNotEmpty]; + } + get hasAuthority() { + return this[_host$] != null; + } + get hasPort() { + return this[_port$] != null; + } + get hasQuery() { + return this[_query$] != null; + } + get hasFragment() { + return this[_fragment$] != null; + } + get hasEmptyPath() { + return this.path[$isEmpty]; + } + get hasAbsolutePath() { + return this.path[$startsWith]("/"); + } + get origin() { + if (this.scheme === "") { + dart.throw(new core.StateError.new("Cannot use origin without a scheme: " + dart.str(this))); + } + if (this.scheme !== "http" && this.scheme !== "https") { + dart.throw(new core.StateError.new("Origin is only applicable schemes http and https: " + dart.str(this))); + } + let host = this[_host$]; + if (host == null || host === "") { + dart.throw(new core.StateError.new("A " + dart.str(this.scheme) + ": URI should have a non-empty host name: " + dart.str(this))); + } + let port = this[_port$]; + if (port == null) return dart.str(this.scheme) + "://" + dart.str(host); + return dart.str(this.scheme) + "://" + dart.str(host) + ":" + dart.str(port); + } + toFilePath(opts) { + let t258; + let windows = opts && 'windows' in opts ? opts.windows : null; + if (this.scheme !== "" && this.scheme !== "file") { + dart.throw(new core.UnsupportedError.new("Cannot extract a file path from a " + dart.str(this.scheme) + " URI")); + } + if (this.query !== "") { + dart.throw(new core.UnsupportedError.new("Cannot extract a file path from a URI with a query component")); + } + if (this.fragment !== "") { + dart.throw(new core.UnsupportedError.new("Cannot extract a file path from a URI with a fragment component")); + } + return dart.test((t258 = windows, t258 == null ? core._Uri._isWindows : t258)) ? core._Uri._toWindowsFilePath(this) : this[_toFilePath](); + } + [_toFilePath]() { + if (dart.test(this.hasAuthority) && this.host !== "") { + dart.throw(new core.UnsupportedError.new("Cannot extract a non-Windows file path from a file URI " + "with an authority")); + } + let pathSegments = this.pathSegments; + core._Uri._checkNonWindowsPathReservedCharacters(pathSegments, false); + let result = new core.StringBuffer.new(); + if (dart.test(this.hasAbsolutePath)) result.write("/"); + result.writeAll(pathSegments, "/"); + return result.toString(); + } + static _toWindowsFilePath(uri) { + if (uri == null) dart.nullFailed(I[175], 2664, 40, "uri"); + let hasDriveLetter = false; + let segments = uri.pathSegments; + if (dart.notNull(segments[$length]) > 0 && segments[$_get](0).length === 2 && segments[$_get](0)[$codeUnitAt](1) === 58) { + core._Uri._checkWindowsDriveLetter(segments[$_get](0)[$codeUnitAt](0), false); + core._Uri._checkWindowsPathReservedCharacters(segments, false, 1); + hasDriveLetter = true; + } else { + core._Uri._checkWindowsPathReservedCharacters(segments, false, 0); + } + let result = new core.StringBuffer.new(); + if (dart.test(uri.hasAbsolutePath) && !hasDriveLetter) result.write("\\"); + if (dart.test(uri.hasAuthority)) { + let host = uri.host; + if (host[$isNotEmpty]) { + result.write("\\"); + result.write(host); + result.write("\\"); + } + } + result.writeAll(segments, "\\"); + if (hasDriveLetter && segments[$length] === 1) result.write("\\"); + return result.toString(); + } + [_writeAuthority](ss) { + if (ss == null) dart.nullFailed(I[175], 2691, 35, "ss"); + if (this[_userInfo$][$isNotEmpty]) { + ss.write(this[_userInfo$]); + ss.write("@"); + } + if (this[_host$] != null) ss.write(this[_host$]); + if (this[_port$] != null) { + ss.write(":"); + ss.write(this[_port$]); + } + } + get data() { + return this.scheme === "data" ? core.UriData.fromUri(this) : null; + } + toString() { + return this[_text$]; + } + [_initializeText]() { + let t258, t258$, t258$0; + let sb = new core.StringBuffer.new(); + if (this.scheme[$isNotEmpty]) { + t258 = sb; + (() => { + t258.write(this.scheme); + t258.write(":"); + return t258; + })(); + } + if (dart.test(this.hasAuthority) || this.scheme === "file") { + sb.write("//"); + this[_writeAuthority](sb); + } + sb.write(this.path); + if (this[_query$] != null) { + t258$ = sb; + (() => { + t258$.write("?"); + t258$.write(this[_query$]); + return t258$; + })(); + } + if (this[_fragment$] != null) { + t258$0 = sb; + (() => { + t258$0.write("#"); + t258$0.write(this[_fragment$]); + return t258$0; + })(); + } + return sb.toString(); + } + _equals(other) { + if (other == null) return false; + if (this === other) return true; + return core.Uri.is(other) && this.scheme == other.scheme && this.hasAuthority == other.hasAuthority && this.userInfo == other.userInfo && this.host == other.host && this.port == other.port && this.path == other.path && this.hasQuery == other.hasQuery && this.query == other.query && this.hasFragment == other.hasFragment && this.fragment == other.fragment; + } + static _createList() { + return T$.JSArrayOfString().of([]); + } + static _splitQueryStringAll(query, opts) { + if (query == null) dart.nullFailed(I[175], 2745, 64, "query"); + let encoding = opts && 'encoding' in opts ? opts.encoding : C[108] || CT.C108; + if (encoding == null) dart.nullFailed(I[175], 2746, 17, "encoding"); + let result = new (T$0.IdentityMapOfString$ListOfString()).new(); + let i = 0; + let start = 0; + let equalsIndex = -1; + function parsePair(start, equalsIndex, end) { + if (start == null) dart.nullFailed(I[175], 2752, 24, "start"); + if (equalsIndex == null) dart.nullFailed(I[175], 2752, 35, "equalsIndex"); + if (end == null) dart.nullFailed(I[175], 2752, 52, "end"); + let key = null; + let value = null; + if (start == end) return; + if (dart.notNull(equalsIndex) < 0) { + key = core._Uri._uriDecode(query, start, end, encoding, true); + value = ""; + } else { + key = core._Uri._uriDecode(query, start, equalsIndex, encoding, true); + value = core._Uri._uriDecode(query, dart.notNull(equalsIndex) + 1, end, encoding, true); + } + result[$putIfAbsent](key, C[432] || CT.C432)[$add](value); + } + dart.fn(parsePair, T$0.intAndintAndintTovoid()); + while (i < query.length) { + let char = query[$codeUnitAt](i); + if (char === 61) { + if (equalsIndex < 0) equalsIndex = i; + } else if (char === 38) { + parsePair(start, equalsIndex, i); + start = i + 1; + equalsIndex = -1; + } + i = i + 1; + } + parsePair(start, equalsIndex, i); + return result; + } + static _uriEncode(canonicalTable, text, encoding, spaceToPlus) { + if (canonicalTable == null) dart.nullFailed(I[7], 876, 38, "canonicalTable"); + if (text == null) dart.nullFailed(I[7], 876, 61, "text"); + if (encoding == null) dart.nullFailed(I[7], 877, 16, "encoding"); + if (spaceToPlus == null) dart.nullFailed(I[7], 877, 31, "spaceToPlus"); + if (encoding == convert.utf8 && dart.test(core._Uri._needsNoEncoding.hasMatch(text))) { + return text; + } + let result = new core.StringBuffer.new(""); + let bytes = encoding.encode(text); + for (let i = 0; i < dart.notNull(bytes[$length]); i = i + 1) { + let byte = bytes[$_get](i); + if (dart.notNull(byte) < 128 && (dart.notNull(canonicalTable[$_get](byte[$rightShift](4))) & 1 << (dart.notNull(byte) & 15)) !== 0) { + result.writeCharCode(byte); + } else if (dart.test(spaceToPlus) && byte === 32) { + result.write("+"); + } else { + result.write("%"); + result.write("0123456789ABCDEF"[$_get](dart.notNull(byte) >> 4 & 15)); + result.write("0123456789ABCDEF"[$_get](dart.notNull(byte) & 15)); + } + } + return result.toString(); + } + static _hexCharPairToByte(s, pos) { + if (s == null) dart.nullFailed(I[175], 2786, 40, "s"); + if (pos == null) dart.nullFailed(I[175], 2786, 47, "pos"); + let byte = 0; + for (let i = 0; i < 2; i = i + 1) { + let charCode = s[$codeUnitAt](dart.notNull(pos) + i); + if (48 <= charCode && charCode <= 57) { + byte = byte * 16 + charCode - 48; + } else { + charCode = (charCode | 32) >>> 0; + if (97 <= charCode && charCode <= 102) { + byte = byte * 16 + charCode - 87; + } else { + dart.throw(new core.ArgumentError.new("Invalid URL encoding")); + } + } + } + return byte; + } + static _uriDecode(text, start, end, encoding, plusToSpace) { + if (text == null) dart.nullFailed(I[175], 2816, 14, "text"); + if (start == null) dart.nullFailed(I[175], 2816, 24, "start"); + if (end == null) dart.nullFailed(I[175], 2816, 35, "end"); + if (encoding == null) dart.nullFailed(I[175], 2816, 49, "encoding"); + if (plusToSpace == null) dart.nullFailed(I[175], 2816, 64, "plusToSpace"); + if (!(0 <= dart.notNull(start))) dart.assertFailed(null, I[175], 2817, 12, "0 <= start"); + if (!(dart.notNull(start) <= dart.notNull(end))) dart.assertFailed(null, I[175], 2818, 12, "start <= end"); + if (!(dart.notNull(end) <= text.length)) dart.assertFailed(null, I[175], 2819, 12, "end <= text.length"); + let simple = true; + for (let i = start; dart.notNull(i) < dart.notNull(end); i = dart.notNull(i) + 1) { + let codeUnit = text[$codeUnitAt](i); + if (codeUnit > 127 || codeUnit === 37 || dart.test(plusToSpace) && codeUnit === 43) { + simple = false; + break; + } + } + let bytes = null; + if (simple) { + if (dart.equals(convert.utf8, encoding) || dart.equals(convert.latin1, encoding) || dart.equals(convert.ascii, encoding)) { + return text[$substring](start, end); + } else { + bytes = text[$substring](start, end)[$codeUnits]; + } + } else { + bytes = T$.JSArrayOfint().of([]); + for (let i = start; dart.notNull(i) < dart.notNull(end); i = dart.notNull(i) + 1) { + let codeUnit = text[$codeUnitAt](i); + if (codeUnit > 127) { + dart.throw(new core.ArgumentError.new("Illegal percent encoding in URI")); + } + if (codeUnit === 37) { + if (dart.notNull(i) + 3 > text.length) { + dart.throw(new core.ArgumentError.new("Truncated URI")); + } + bytes[$add](core._Uri._hexCharPairToByte(text, dart.notNull(i) + 1)); + i = dart.notNull(i) + 2; + } else if (dart.test(plusToSpace) && codeUnit === 43) { + bytes[$add](32); + } else { + bytes[$add](codeUnit); + } + } + } + return encoding.decode(bytes); + } + static _isAlphabeticCharacter(codeUnit) { + if (codeUnit == null) dart.nullFailed(I[175], 2861, 42, "codeUnit"); + let lowerCase = (dart.notNull(codeUnit) | 32) >>> 0; + return 97 <= lowerCase && lowerCase <= 122; + } + static _isUnreservedChar(char) { + if (char == null) dart.nullFailed(I[175], 2866, 37, "char"); + return dart.notNull(char) < 127 && (dart.notNull(core._Uri._unreservedTable[$_get](char[$rightShift](4))) & 1 << (dart.notNull(char) & 15)) !== 0; + } + }; + (core._Uri._internal = function(scheme, _userInfo, _host, _port, path, _query, _fragment) { + if (scheme == null) dart.nullFailed(I[175], 1347, 23, "scheme"); + if (_userInfo == null) dart.nullFailed(I[175], 1347, 36, "_userInfo"); + if (path == null) dart.nullFailed(I[175], 1347, 76, "path"); + this[___Uri__text] = null; + this[___Uri__text_isSet] = false; + this[___Uri_pathSegments] = null; + this[___Uri_pathSegments_isSet] = false; + this[___Uri_hashCode] = null; + this[___Uri_hashCode_isSet] = false; + this[___Uri_queryParameters] = null; + this[___Uri_queryParameters_isSet] = false; + this[___Uri_queryParametersAll] = null; + this[___Uri_queryParametersAll_isSet] = false; + this.scheme = scheme; + this[_userInfo$] = _userInfo; + this[_host$] = _host; + this[_port$] = _port; + this.path = path; + this[_query$] = _query; + this[_fragment$] = _fragment; + ; + }).prototype = core._Uri.prototype; + dart.addTypeTests(core._Uri); + dart.addTypeCaches(core._Uri); + core._Uri[dart.implements] = () => [core.Uri]; + dart.setMethodSignature(core._Uri, () => ({ + __proto__: dart.getMethods(core._Uri.__proto__), + isScheme: dart.fnType(core.bool, [core.String]), + replace: dart.fnType(core.Uri, [], {fragment: dart.nullable(core.String), host: dart.nullable(core.String), path: dart.nullable(core.String), pathSegments: dart.nullable(core.Iterable$(core.String)), port: dart.nullable(core.int), query: dart.nullable(core.String), queryParameters: dart.nullable(core.Map$(core.String, dart.dynamic)), scheme: dart.nullable(core.String), userInfo: dart.nullable(core.String)}, {}), + removeFragment: dart.fnType(core.Uri, []), + normalizePath: dart.fnType(core.Uri, []), + [_mergePaths]: dart.fnType(core.String, [core.String, core.String]), + resolve: dart.fnType(core.Uri, [core.String]), + resolveUri: dart.fnType(core.Uri, [core.Uri]), + toFilePath: dart.fnType(core.String, [], {windows: dart.nullable(core.bool)}, {}), + [_toFilePath]: dart.fnType(core.String, []), + [_writeAuthority]: dart.fnType(dart.void, [core.StringSink]), + [_initializeText]: dart.fnType(core.String, []) + })); + dart.setGetterSignature(core._Uri, () => ({ + __proto__: dart.getGetters(core._Uri.__proto__), + [_text$]: core.String, + pathSegments: core.List$(core.String), + queryParameters: core.Map$(core.String, core.String), + queryParametersAll: core.Map$(core.String, core.List$(core.String)), + authority: core.String, + userInfo: core.String, + host: core.String, + port: core.int, + query: core.String, + fragment: core.String, + isAbsolute: core.bool, + hasScheme: core.bool, + hasAuthority: core.bool, + hasPort: core.bool, + hasQuery: core.bool, + hasFragment: core.bool, + hasEmptyPath: core.bool, + hasAbsolutePath: core.bool, + origin: core.String, + data: dart.nullable(core.UriData) + })); + dart.setLibraryUri(core._Uri, I[8]); + dart.setFieldSignature(core._Uri, () => ({ + __proto__: dart.getFields(core._Uri.__proto__), + scheme: dart.finalFieldType(core.String), + [_userInfo$]: dart.finalFieldType(core.String), + [_host$]: dart.finalFieldType(dart.nullable(core.String)), + [_port$]: dart.fieldType(dart.nullable(core.int)), + path: dart.finalFieldType(core.String), + [_query$]: dart.finalFieldType(dart.nullable(core.String)), + [_fragment$]: dart.finalFieldType(dart.nullable(core.String)), + [___Uri__text]: dart.fieldType(dart.nullable(core.String)), + [___Uri__text_isSet]: dart.fieldType(core.bool), + [___Uri_pathSegments]: dart.fieldType(dart.nullable(core.List$(core.String))), + [___Uri_pathSegments_isSet]: dart.fieldType(core.bool), + [___Uri_hashCode]: dart.fieldType(dart.nullable(core.int)), + [___Uri_hashCode_isSet]: dart.fieldType(core.bool), + [___Uri_queryParameters]: dart.fieldType(dart.nullable(core.Map$(core.String, core.String))), + [___Uri_queryParameters_isSet]: dart.fieldType(core.bool), + [___Uri_queryParametersAll]: dart.fieldType(dart.nullable(core.Map$(core.String, core.List$(core.String)))), + [___Uri_queryParametersAll_isSet]: dart.fieldType(core.bool) + })); + dart.defineExtensionMethods(core._Uri, ['toString', '_equals']); + dart.defineExtensionAccessors(core._Uri, ['hashCode']); + dart.defineLazy(core._Uri, { + /*core._Uri._isWindowsCached*/get _isWindowsCached() { + return typeof process != "undefined" && Object.prototype.toString.call(process) == "[object process]" && process.platform == "win32"; + }, + /*core._Uri._needsNoEncoding*/get _needsNoEncoding() { + return core.RegExp.new("^[\\-\\.0-9A-Z_a-z~]*$"); + }, + /*core._Uri._unreservedTable*/get _unreservedTable() { + return C[433] || CT.C433; + }, + /*core._Uri._unreserved2396Table*/get _unreserved2396Table() { + return C[434] || CT.C434; + }, + /*core._Uri._encodeFullTable*/get _encodeFullTable() { + return C[435] || CT.C435; + }, + /*core._Uri._schemeTable*/get _schemeTable() { + return C[436] || CT.C436; + }, + /*core._Uri._genDelimitersTable*/get _genDelimitersTable() { + return C[437] || CT.C437; + }, + /*core._Uri._userinfoTable*/get _userinfoTable() { + return C[438] || CT.C438; + }, + /*core._Uri._regNameTable*/get _regNameTable() { + return C[439] || CT.C439; + }, + /*core._Uri._pathCharTable*/get _pathCharTable() { + return C[440] || CT.C440; + }, + /*core._Uri._pathCharOrSlashTable*/get _pathCharOrSlashTable() { + return C[441] || CT.C441; + }, + /*core._Uri._queryCharTable*/get _queryCharTable() { + return C[442] || CT.C442; + }, + /*core._Uri._zoneIDTable*/get _zoneIDTable() { + return C[433] || CT.C433; + } + }, false); + var _separatorIndices$ = dart.privateName(core, "_separatorIndices"); + var _uriCache$ = dart.privateName(core, "_uriCache"); + var _computeUri = dart.privateName(core, "_computeUri"); + core.UriData = class UriData extends core.Object { + static fromString(content, opts) { + let t258; + if (content == null) dart.nullFailed(I[175], 3163, 37, "content"); + let mimeType = opts && 'mimeType' in opts ? opts.mimeType : null; + let encoding = opts && 'encoding' in opts ? opts.encoding : null; + let parameters = opts && 'parameters' in opts ? opts.parameters : null; + let base64 = opts && 'base64' in opts ? opts.base64 : false; + if (base64 == null) dart.nullFailed(I[175], 3167, 12, "base64"); + let buffer = new core.StringBuffer.new(); + let indices = T$.JSArrayOfint().of([-1]); + let charsetName = (t258 = parameters, t258 == null ? null : t258[$_get]("charset")); + let encodingName = null; + if (encoding == null) { + if (charsetName != null) { + encoding = convert.Encoding.getByName(charsetName); + } + } else if (charsetName == null) { + encodingName = encoding.name; + } + encoding == null ? encoding = convert.ascii : null; + core.UriData._writeUri(mimeType, encodingName, parameters, buffer, indices); + indices[$add](buffer.length); + if (dart.test(base64)) { + buffer.write(";base64,"); + indices[$add](dart.notNull(buffer.length) - 1); + buffer.write(encoding.fuse(core.String, core.UriData._base64).encode(content)); + } else { + buffer.write(","); + core.UriData._uriEncodeBytes(core.UriData._uricTable, encoding.encode(content), buffer); + } + return new core.UriData.__(buffer.toString(), indices, null); + } + static fromBytes(bytes, opts) { + if (bytes == null) dart.nullFailed(I[175], 3198, 39, "bytes"); + let mimeType = opts && 'mimeType' in opts ? opts.mimeType : "application/octet-stream"; + if (mimeType == null) dart.nullFailed(I[175], 3199, 15, "mimeType"); + let parameters = opts && 'parameters' in opts ? opts.parameters : null; + let percentEncoded = opts && 'percentEncoded' in opts ? opts.percentEncoded : false; + if (percentEncoded == null) dart.nullFailed(I[175], 3201, 12, "percentEncoded"); + let buffer = new core.StringBuffer.new(); + let indices = T$.JSArrayOfint().of([-1]); + core.UriData._writeUri(mimeType, null, parameters, buffer, indices); + indices[$add](buffer.length); + if (dart.test(percentEncoded)) { + buffer.write(","); + core.UriData._uriEncodeBytes(core.UriData._uricTable, bytes, buffer); + } else { + buffer.write(";base64,"); + indices[$add](dart.notNull(buffer.length) - 1); + core.UriData._base64.encoder.startChunkedConversion(new (T$0._StringSinkConversionSinkOfStringSink()).new(buffer)).addSlice(bytes, 0, bytes[$length], true); + } + return new core.UriData.__(buffer.toString(), indices, null); + } + static fromUri(uri) { + if (uri == null) dart.nullFailed(I[175], 3225, 31, "uri"); + if (uri.scheme !== "data") { + dart.throw(new core.ArgumentError.value(uri, "uri", "Scheme must be 'data'")); + } + if (dart.test(uri.hasAuthority)) { + dart.throw(new core.ArgumentError.value(uri, "uri", "Data uri must not have authority")); + } + if (dart.test(uri.hasFragment)) { + dart.throw(new core.ArgumentError.value(uri, "uri", "Data uri must not have a fragment part")); + } + if (!dart.test(uri.hasQuery)) { + return core.UriData._parse(uri.path, 0, uri); + } + return core.UriData._parse(dart.toString(uri), 5, uri); + } + static _writeUri(mimeType, charsetName, parameters, buffer, indices) { + let t258, t258$; + if (buffer == null) dart.nullFailed(I[175], 3253, 20, "buffer"); + if (mimeType == null || mimeType === "text/plain") { + mimeType = ""; + } + if (mimeType[$isEmpty] || mimeType === "application/octet-stream") { + buffer.write(mimeType); + } else { + let slashIndex = core.UriData._validateMimeType(mimeType); + if (dart.notNull(slashIndex) < 0) { + dart.throw(new core.ArgumentError.value(mimeType, "mimeType", "Invalid MIME type")); + } + buffer.write(core._Uri._uriEncode(core.UriData._tokenCharTable, mimeType[$substring](0, slashIndex), convert.utf8, false)); + buffer.write("/"); + buffer.write(core._Uri._uriEncode(core.UriData._tokenCharTable, mimeType[$substring](dart.notNull(slashIndex) + 1), convert.utf8, false)); + } + if (charsetName != null) { + if (indices != null) { + t258 = indices; + (() => { + t258[$add](buffer.length); + t258[$add](dart.notNull(buffer.length) + 8); + return t258; + })(); + } + buffer.write(";charset="); + buffer.write(core._Uri._uriEncode(core.UriData._tokenCharTable, charsetName, convert.utf8, false)); + } + t258$ = parameters; + t258$ == null ? null : t258$[$forEach](dart.fn((key, value) => { + let t259, t259$; + if (key == null) dart.nullFailed(I[175], 3278, 26, "key"); + if (value == null) dart.nullFailed(I[175], 3278, 31, "value"); + if (key[$isEmpty]) { + dart.throw(new core.ArgumentError.value("", "Parameter names must not be empty")); + } + if (value[$isEmpty]) { + dart.throw(new core.ArgumentError.value("", "Parameter values must not be empty", "parameters[\"" + dart.str(key) + "\"]")); + } + t259 = indices; + t259 == null ? null : t259[$add](buffer.length); + buffer.write(";"); + buffer.write(core._Uri._uriEncode(core.UriData._tokenCharTable, key, convert.utf8, false)); + t259$ = indices; + t259$ == null ? null : t259$[$add](buffer.length); + buffer.write("="); + buffer.write(core._Uri._uriEncode(core.UriData._tokenCharTable, value, convert.utf8, false)); + }, T$0.StringAndStringTovoid())); + } + static _validateMimeType(mimeType) { + if (mimeType == null) dart.nullFailed(I[175], 3303, 39, "mimeType"); + let slashIndex = -1; + for (let i = 0; i < mimeType.length; i = i + 1) { + let char = mimeType[$codeUnitAt](i); + if (char !== 47) continue; + if (slashIndex < 0) { + slashIndex = i; + continue; + } + return -1; + } + return slashIndex; + } + static parse(uri) { + if (uri == null) dart.nullFailed(I[175], 3343, 31, "uri"); + if (uri.length >= 5) { + let dataDelta = core._startsWithData(uri, 0); + if (dataDelta === 0) { + return core.UriData._parse(uri, 5, null); + } + if (dataDelta === 32) { + return core.UriData._parse(uri[$substring](5), 0, null); + } + } + dart.throw(new core.FormatException.new("Does not start with 'data:'", uri, 0)); + } + get uri() { + let t258; + t258 = this[_uriCache$]; + return t258 == null ? this[_uriCache$] = this[_computeUri]() : t258; + } + [_computeUri]() { + let path = this[_text$]; + let query = null; + let colonIndex = this[_separatorIndices$][$_get](0); + let queryIndex = this[_text$][$indexOf]("?", dart.notNull(colonIndex) + 1); + let end = this[_text$].length; + if (queryIndex >= 0) { + query = core._Uri._normalizeOrSubstring(this[_text$], queryIndex + 1, end, core._Uri._queryCharTable); + end = queryIndex; + } + path = core._Uri._normalizeOrSubstring(this[_text$], dart.notNull(colonIndex) + 1, end, core._Uri._pathCharOrSlashTable); + return new core._DataUri.new(this, path, query); + } + get mimeType() { + let start = dart.notNull(this[_separatorIndices$][$_get](0)) + 1; + let end = this[_separatorIndices$][$_get](1); + if (start === end) return "text/plain"; + return core._Uri._uriDecode(this[_text$], start, end, convert.utf8, false); + } + get charset() { + let parameterStart = 1; + let parameterEnd = dart.notNull(this[_separatorIndices$][$length]) - 1; + if (dart.test(this.isBase64)) { + parameterEnd = parameterEnd - 1; + } + for (let i = parameterStart; i < parameterEnd; i = i + 2) { + let keyStart = dart.notNull(this[_separatorIndices$][$_get](i)) + 1; + let keyEnd = this[_separatorIndices$][$_get](i + 1); + if (keyEnd === keyStart + 7 && this[_text$][$startsWith]("charset", keyStart)) { + return core._Uri._uriDecode(this[_text$], dart.notNull(keyEnd) + 1, this[_separatorIndices$][$_get](i + 2), convert.utf8, false); + } + } + return "US-ASCII"; + } + get isBase64() { + return this[_separatorIndices$][$length][$isOdd]; + } + get contentText() { + return this[_text$][$substring](dart.notNull(this[_separatorIndices$][$last]) + 1); + } + contentAsBytes() { + let t258, t258$; + let text = this[_text$]; + let start = dart.notNull(this[_separatorIndices$][$last]) + 1; + if (dart.test(this.isBase64)) { + return convert.base64.decoder.convert(text, start); + } + let length = text.length - start; + for (let i = start; i < text.length; i = i + 1) { + let codeUnit = text[$codeUnitAt](i); + if (codeUnit === 37) { + i = i + 2; + length = length - 2; + } + } + let result = _native_typed_data.NativeUint8List.new(length); + if (length === text.length) { + result[$setRange](0, length, text[$codeUnits], start); + return result; + } + let index = 0; + for (let i = start; i < text.length; i = i + 1) { + let codeUnit = text[$codeUnitAt](i); + if (codeUnit !== 37) { + result[$_set]((t258 = index, index = t258 + 1, t258), codeUnit); + } else { + if (i + 2 < text.length) { + let byte = _internal.parseHexByte(text, i + 1); + if (dart.notNull(byte) >= 0) { + result[$_set]((t258$ = index, index = t258$ + 1, t258$), byte); + i = i + 2; + continue; + } + } + dart.throw(new core.FormatException.new("Invalid percent escape", text, i)); + } + } + if (!(index === result[$length])) dart.assertFailed(null, I[175], 3491, 12, "index == result.length"); + return result; + } + contentAsString(opts) { + let encoding = opts && 'encoding' in opts ? opts.encoding : null; + if (encoding == null) { + let charset = this.charset; + encoding = convert.Encoding.getByName(charset); + if (encoding == null) { + dart.throw(new core.UnsupportedError.new("Unknown charset: " + dart.str(charset))); + } + } + let text = this[_text$]; + let start = dart.notNull(this[_separatorIndices$][$last]) + 1; + if (dart.test(this.isBase64)) { + let converter = convert.base64.decoder.fuse(core.String, encoding.decoder); + return converter.convert(text[$substring](start)); + } + return core._Uri._uriDecode(text, start, text.length, encoding, false); + } + get parameters() { + let result = new (T$.IdentityMapOfString$String()).new(); + for (let i = 3; i < dart.notNull(this[_separatorIndices$][$length]); i = i + 2) { + let start = dart.notNull(this[_separatorIndices$][$_get](i - 2)) + 1; + let equals = this[_separatorIndices$][$_get](i - 1); + let end = this[_separatorIndices$][$_get](i); + let key = core._Uri._uriDecode(this[_text$], start, equals, convert.utf8, false); + let value = core._Uri._uriDecode(this[_text$], dart.notNull(equals) + 1, end, convert.utf8, false); + result[$_set](key, value); + } + return result; + } + static _parse(text, start, sourceUri) { + if (text == null) dart.nullFailed(I[175], 3549, 32, "text"); + if (start == null) dart.nullFailed(I[175], 3549, 42, "start"); + if (!(start === 0 || start === 5)) dart.assertFailed(null, I[175], 3550, 12, "start == 0 || start == 5"); + if (!(start === 5 === text[$startsWith]("data:"))) dart.assertFailed(null, I[175], 3551, 12, "(start == 5) == text.startsWith(\"data:\")"); + let indices = T$.JSArrayOfint().of([dart.notNull(start) - 1]); + let slashIndex = -1; + let char = null; + let i = start; + for (; dart.notNull(i) < text.length; i = dart.notNull(i) + 1) { + char = text[$codeUnitAt](i); + if (dart.equals(char, 44) || dart.equals(char, 59)) break; + if (dart.equals(char, 47)) { + if (dart.notNull(slashIndex) < 0) { + slashIndex = i; + continue; + } + dart.throw(new core.FormatException.new("Invalid MIME type", text, i)); + } + } + if (dart.notNull(slashIndex) < 0 && dart.notNull(i) > dart.notNull(start)) { + dart.throw(new core.FormatException.new("Invalid MIME type", text, i)); + } + while (!dart.equals(char, 44)) { + indices[$add](i); + i = dart.notNull(i) + 1; + let equalsIndex = -1; + for (; dart.notNull(i) < text.length; i = dart.notNull(i) + 1) { + char = text[$codeUnitAt](i); + if (dart.equals(char, 61)) { + if (dart.notNull(equalsIndex) < 0) equalsIndex = i; + } else if (dart.equals(char, 59) || dart.equals(char, 44)) { + break; + } + } + if (dart.notNull(equalsIndex) >= 0) { + indices[$add](equalsIndex); + } else { + let lastSeparator = indices[$last]; + if (!dart.equals(char, 44) || i !== dart.notNull(lastSeparator) + 7 || !text[$startsWith]("base64", dart.notNull(lastSeparator) + 1)) { + dart.throw(new core.FormatException.new("Expecting '='", text, i)); + } + break; + } + } + indices[$add](i); + let isBase64 = indices[$length][$isOdd]; + if (isBase64) { + text = convert.base64.normalize(text, dart.notNull(i) + 1, text.length); + } else { + let data = core._Uri._normalize(text, dart.notNull(i) + 1, text.length, core.UriData._uricTable, {escapeDelimiters: true}); + if (data != null) { + text = text[$replaceRange](dart.notNull(i) + 1, text.length, data); + } + } + return new core.UriData.__(text, indices, sourceUri); + } + static _uriEncodeBytes(canonicalTable, bytes, buffer) { + if (canonicalTable == null) dart.nullFailed(I[175], 3625, 17, "canonicalTable"); + if (bytes == null) dart.nullFailed(I[175], 3625, 43, "bytes"); + if (buffer == null) dart.nullFailed(I[175], 3625, 61, "buffer"); + let byteOr = 0; + for (let i = 0; i < dart.notNull(bytes[$length]); i = i + 1) { + let byte = bytes[$_get](i); + byteOr = (byteOr | dart.notNull(byte)) >>> 0; + if (dart.notNull(byte) < 128 && (dart.notNull(canonicalTable[$_get](byte[$rightShift](4))) & 1 << (dart.notNull(byte) & 15)) !== 0) { + buffer.writeCharCode(byte); + } else { + buffer.writeCharCode(37); + buffer.writeCharCode("0123456789ABCDEF"[$codeUnitAt](byte[$rightShift](4))); + buffer.writeCharCode("0123456789ABCDEF"[$codeUnitAt](dart.notNull(byte) & 15)); + } + } + if ((byteOr & ~255 >>> 0) !== 0) { + for (let i = 0; i < dart.notNull(bytes[$length]); i = i + 1) { + let byte = bytes[$_get](i); + if (dart.notNull(byte) < 0 || dart.notNull(byte) > 255) { + dart.throw(new core.ArgumentError.value(byte, "non-byte value")); + } + } + } + } + toString() { + return this[_separatorIndices$][$_get](0) === -1 ? "data:" + dart.str(this[_text$]) : this[_text$]; + } + }; + (core.UriData.__ = function(_text, _separatorIndices, _uriCache) { + if (_text == null) dart.nullFailed(I[175], 3154, 18, "_text"); + if (_separatorIndices == null) dart.nullFailed(I[175], 3154, 30, "_separatorIndices"); + this[_text$] = _text; + this[_separatorIndices$] = _separatorIndices; + this[_uriCache$] = _uriCache; + ; + }).prototype = core.UriData.prototype; + dart.addTypeTests(core.UriData); + dart.addTypeCaches(core.UriData); + dart.setMethodSignature(core.UriData, () => ({ + __proto__: dart.getMethods(core.UriData.__proto__), + [_computeUri]: dart.fnType(core.Uri, []), + contentAsBytes: dart.fnType(typed_data.Uint8List, []), + contentAsString: dart.fnType(core.String, [], {encoding: dart.nullable(convert.Encoding)}, {}) + })); + dart.setGetterSignature(core.UriData, () => ({ + __proto__: dart.getGetters(core.UriData.__proto__), + uri: core.Uri, + mimeType: core.String, + charset: core.String, + isBase64: core.bool, + contentText: core.String, + parameters: core.Map$(core.String, core.String) + })); + dart.setLibraryUri(core.UriData, I[8]); + dart.setFieldSignature(core.UriData, () => ({ + __proto__: dart.getFields(core.UriData.__proto__), + [_text$]: dart.finalFieldType(core.String), + [_separatorIndices$]: dart.finalFieldType(core.List$(core.int)), + [_uriCache$]: dart.fieldType(dart.nullable(core.Uri)) + })); + dart.defineExtensionMethods(core.UriData, ['toString']); + dart.defineLazy(core.UriData, { + /*core.UriData._noScheme*/get _noScheme() { + return -1; + }, + /*core.UriData._base64*/get _base64() { + return C[103] || CT.C103; + }, + /*core.UriData._tokenCharTable*/get _tokenCharTable() { + return C[443] || CT.C443; + }, + /*core.UriData._uricTable*/get _uricTable() { + return C[442] || CT.C442; + } + }, false); + var _hashCodeCache = dart.privateName(core, "_hashCodeCache"); + var _uri$ = dart.privateName(core, "_uri"); + var _schemeEnd$ = dart.privateName(core, "_schemeEnd"); + var _hostStart$ = dart.privateName(core, "_hostStart"); + var _portStart$ = dart.privateName(core, "_portStart"); + var _pathStart$ = dart.privateName(core, "_pathStart"); + var _queryStart$ = dart.privateName(core, "_queryStart"); + var _fragmentStart$ = dart.privateName(core, "_fragmentStart"); + var _schemeCache$ = dart.privateName(core, "_schemeCache"); + var _isFile = dart.privateName(core, "_isFile"); + var _isHttp = dart.privateName(core, "_isHttp"); + var _isHttps = dart.privateName(core, "_isHttps"); + var _isPackage = dart.privateName(core, "_isPackage"); + var _isScheme = dart.privateName(core, "_isScheme"); + var _computeScheme = dart.privateName(core, "_computeScheme"); + var _isPort = dart.privateName(core, "_isPort"); + var _simpleMerge = dart.privateName(core, "_simpleMerge"); + var _toNonSimple = dart.privateName(core, "_toNonSimple"); + core._SimpleUri = class _SimpleUri extends core.Object { + get hasScheme() { + return dart.notNull(this[_schemeEnd$]) > 0; + } + get hasAuthority() { + return dart.notNull(this[_hostStart$]) > 0; + } + get hasUserInfo() { + return dart.notNull(this[_hostStart$]) > dart.notNull(this[_schemeEnd$]) + 4; + } + get hasPort() { + return dart.notNull(this[_hostStart$]) > 0 && dart.notNull(this[_portStart$]) + 1 < dart.notNull(this[_pathStart$]); + } + get hasQuery() { + return dart.notNull(this[_queryStart$]) < dart.notNull(this[_fragmentStart$]); + } + get hasFragment() { + return dart.notNull(this[_fragmentStart$]) < this[_uri$].length; + } + get [_isFile]() { + return this[_schemeEnd$] === 4 && this[_uri$][$startsWith]("file"); + } + get [_isHttp]() { + return this[_schemeEnd$] === 4 && this[_uri$][$startsWith]("http"); + } + get [_isHttps]() { + return this[_schemeEnd$] === 5 && this[_uri$][$startsWith]("https"); + } + get [_isPackage]() { + return this[_schemeEnd$] === 7 && this[_uri$][$startsWith]("package"); + } + [_isScheme](scheme) { + if (scheme == null) dart.nullFailed(I[175], 4118, 25, "scheme"); + return this[_schemeEnd$] === scheme.length && this[_uri$][$startsWith](scheme); + } + get hasAbsolutePath() { + return this[_uri$][$startsWith]("/", this[_pathStart$]); + } + get hasEmptyPath() { + return this[_pathStart$] == this[_queryStart$]; + } + get isAbsolute() { + return dart.test(this.hasScheme) && !dart.test(this.hasFragment); + } + isScheme(scheme) { + if (scheme == null) dart.nullFailed(I[175], 4126, 24, "scheme"); + if (scheme == null || scheme[$isEmpty]) return dart.notNull(this[_schemeEnd$]) < 0; + if (scheme.length !== this[_schemeEnd$]) return false; + return core._Uri._compareScheme(scheme, this[_uri$]); + } + get scheme() { + let t258; + t258 = this[_schemeCache$]; + return t258 == null ? this[_schemeCache$] = this[_computeScheme]() : t258; + } + [_computeScheme]() { + if (dart.notNull(this[_schemeEnd$]) <= 0) return ""; + if (dart.test(this[_isHttp])) return "http"; + if (dart.test(this[_isHttps])) return "https"; + if (dart.test(this[_isFile])) return "file"; + if (dart.test(this[_isPackage])) return "package"; + return this[_uri$][$substring](0, this[_schemeEnd$]); + } + get authority() { + return dart.notNull(this[_hostStart$]) > 0 ? this[_uri$][$substring](dart.notNull(this[_schemeEnd$]) + 3, this[_pathStart$]) : ""; + } + get userInfo() { + return dart.notNull(this[_hostStart$]) > dart.notNull(this[_schemeEnd$]) + 3 ? this[_uri$][$substring](dart.notNull(this[_schemeEnd$]) + 3, dart.notNull(this[_hostStart$]) - 1) : ""; + } + get host() { + return dart.notNull(this[_hostStart$]) > 0 ? this[_uri$][$substring](this[_hostStart$], this[_portStart$]) : ""; + } + get port() { + if (dart.test(this.hasPort)) return core.int.parse(this[_uri$][$substring](dart.notNull(this[_portStart$]) + 1, this[_pathStart$])); + if (dart.test(this[_isHttp])) return 80; + if (dart.test(this[_isHttps])) return 443; + return 0; + } + get path() { + return this[_uri$][$substring](this[_pathStart$], this[_queryStart$]); + } + get query() { + return dart.notNull(this[_queryStart$]) < dart.notNull(this[_fragmentStart$]) ? this[_uri$][$substring](dart.notNull(this[_queryStart$]) + 1, this[_fragmentStart$]) : ""; + } + get fragment() { + return dart.notNull(this[_fragmentStart$]) < this[_uri$].length ? this[_uri$][$substring](dart.notNull(this[_fragmentStart$]) + 1) : ""; + } + get origin() { + let isHttp = this[_isHttp]; + if (dart.notNull(this[_schemeEnd$]) < 0) { + dart.throw(new core.StateError.new("Cannot use origin without a scheme: " + dart.str(this))); + } + if (!dart.test(isHttp) && !dart.test(this[_isHttps])) { + dart.throw(new core.StateError.new("Origin is only applicable to schemes http and https: " + dart.str(this))); + } + if (this[_hostStart$] == this[_portStart$]) { + dart.throw(new core.StateError.new("A " + dart.str(this.scheme) + ": URI should have a non-empty host name: " + dart.str(this))); + } + if (this[_hostStart$] === dart.notNull(this[_schemeEnd$]) + 3) { + return this[_uri$][$substring](0, this[_pathStart$]); + } + return this[_uri$][$substring](0, dart.notNull(this[_schemeEnd$]) + 3) + this[_uri$][$substring](this[_hostStart$], this[_pathStart$]); + } + get pathSegments() { + let start = this[_pathStart$]; + let end = this[_queryStart$]; + if (this[_uri$][$startsWith]("/", start)) start = dart.notNull(start) + 1; + if (start == end) return C[404] || CT.C404; + let parts = T$.JSArrayOfString().of([]); + for (let i = start; dart.notNull(i) < dart.notNull(end); i = dart.notNull(i) + 1) { + let char = this[_uri$][$codeUnitAt](i); + if (char === 47) { + parts[$add](this[_uri$][$substring](start, i)); + start = dart.notNull(i) + 1; + } + } + parts[$add](this[_uri$][$substring](start, end)); + return T$.ListOfString().unmodifiable(parts); + } + get queryParameters() { + if (!dart.test(this.hasQuery)) return C[444] || CT.C444; + return new (T$0.UnmodifiableMapViewOfString$String()).new(core.Uri.splitQueryString(this.query)); + } + get queryParametersAll() { + if (!dart.test(this.hasQuery)) return C[430] || CT.C430; + let queryParameterLists = core._Uri._splitQueryStringAll(this.query); + queryParameterLists[$updateAll](C[431] || CT.C431); + return T$0.MapOfString$ListOfString().unmodifiable(queryParameterLists); + } + [_isPort](port) { + if (port == null) dart.nullFailed(I[175], 4218, 23, "port"); + let portDigitStart = dart.notNull(this[_portStart$]) + 1; + return portDigitStart + port.length === this[_pathStart$] && this[_uri$][$startsWith](port, portDigitStart); + } + normalizePath() { + return this; + } + removeFragment() { + if (!dart.test(this.hasFragment)) return this; + return new core._SimpleUri.new(this[_uri$][$substring](0, this[_fragmentStart$]), this[_schemeEnd$], this[_hostStart$], this[_portStart$], this[_pathStart$], this[_queryStart$], this[_fragmentStart$], this[_schemeCache$]); + } + replace(opts) { + let scheme = opts && 'scheme' in opts ? opts.scheme : null; + let userInfo = opts && 'userInfo' in opts ? opts.userInfo : null; + let host = opts && 'host' in opts ? opts.host : null; + let port = opts && 'port' in opts ? opts.port : null; + let path = opts && 'path' in opts ? opts.path : null; + let pathSegments = opts && 'pathSegments' in opts ? opts.pathSegments : null; + let query = opts && 'query' in opts ? opts.query : null; + let queryParameters = opts && 'queryParameters' in opts ? opts.queryParameters : null; + let fragment = opts && 'fragment' in opts ? opts.fragment : null; + let schemeChanged = false; + if (scheme != null) { + scheme = core._Uri._makeScheme(scheme, 0, scheme.length); + schemeChanged = !dart.test(this[_isScheme](scheme)); + } else { + scheme = this.scheme; + } + let isFile = scheme === "file"; + if (userInfo != null) { + userInfo = core._Uri._makeUserInfo(userInfo, 0, userInfo.length); + } else if (dart.notNull(this[_hostStart$]) > 0) { + userInfo = this[_uri$][$substring](dart.notNull(this[_schemeEnd$]) + 3, this[_hostStart$]); + } else { + userInfo = ""; + } + if (port != null) { + port = core._Uri._makePort(port, scheme); + } else { + port = dart.test(this.hasPort) ? this.port : null; + if (schemeChanged) { + port = core._Uri._makePort(port, scheme); + } + } + if (host != null) { + host = core._Uri._makeHost(host, 0, host.length, false); + } else if (dart.notNull(this[_hostStart$]) > 0) { + host = this[_uri$][$substring](this[_hostStart$], this[_portStart$]); + } else if (userInfo[$isNotEmpty] || port != null || isFile) { + host = ""; + } + let hasAuthority = host != null; + if (path != null || pathSegments != null) { + path = core._Uri._makePath(path, 0, core._stringOrNullLength(path), pathSegments, scheme, hasAuthority); + } else { + path = this[_uri$][$substring](this[_pathStart$], this[_queryStart$]); + if ((isFile || hasAuthority && !path[$isEmpty]) && !path[$startsWith]("/")) { + path = "/" + dart.notNull(path); + } + } + if (query != null || queryParameters != null) { + query = core._Uri._makeQuery(query, 0, core._stringOrNullLength(query), queryParameters); + } else if (dart.notNull(this[_queryStart$]) < dart.notNull(this[_fragmentStart$])) { + query = this[_uri$][$substring](dart.notNull(this[_queryStart$]) + 1, this[_fragmentStart$]); + } + if (fragment != null) { + fragment = core._Uri._makeFragment(fragment, 0, fragment.length); + } else if (dart.notNull(this[_fragmentStart$]) < this[_uri$].length) { + fragment = this[_uri$][$substring](dart.notNull(this[_fragmentStart$]) + 1); + } + return new core._Uri._internal(scheme, userInfo, host, port, path, query, fragment); + } + resolve(reference) { + if (reference == null) dart.nullFailed(I[175], 4302, 22, "reference"); + return this.resolveUri(core.Uri.parse(reference)); + } + resolveUri(reference) { + if (reference == null) dart.nullFailed(I[175], 4306, 22, "reference"); + if (core._SimpleUri.is(reference)) { + return this[_simpleMerge](this, reference); + } + return this[_toNonSimple]().resolveUri(reference); + } + static _packageNameEnd(uri) { + if (uri == null) dart.nullFailed(I[175], 4323, 41, "uri"); + if (dart.test(uri[_isPackage]) && !dart.test(uri.hasAuthority)) { + return core._skipPackageNameChars(uri[_uri$], uri[_pathStart$], uri[_queryStart$]); + } + return -1; + } + [_simpleMerge](base, ref) { + if (base == null) dart.nullFailed(I[175], 4337, 31, "base"); + if (ref == null) dart.nullFailed(I[175], 4337, 48, "ref"); + if (dart.test(ref.hasScheme)) return ref; + if (dart.test(ref.hasAuthority)) { + if (!dart.test(base.hasScheme)) return ref; + let isSimple = true; + if (dart.test(base[_isFile])) { + isSimple = !dart.test(ref.hasEmptyPath); + } else if (dart.test(base[_isHttp])) { + isSimple = !dart.test(ref[_isPort]("80")); + } else if (dart.test(base[_isHttps])) { + isSimple = !dart.test(ref[_isPort]("443")); + } + if (isSimple) { + let delta = dart.notNull(base[_schemeEnd$]) + 1; + let newUri = base[_uri$][$substring](0, dart.notNull(base[_schemeEnd$]) + 1) + ref[_uri$][$substring](dart.notNull(ref[_schemeEnd$]) + 1); + return new core._SimpleUri.new(newUri, base[_schemeEnd$], dart.notNull(ref[_hostStart$]) + delta, dart.notNull(ref[_portStart$]) + delta, dart.notNull(ref[_pathStart$]) + delta, dart.notNull(ref[_queryStart$]) + delta, dart.notNull(ref[_fragmentStart$]) + delta, base[_schemeCache$]); + } else { + return this[_toNonSimple]().resolveUri(ref); + } + } + if (dart.test(ref.hasEmptyPath)) { + if (dart.test(ref.hasQuery)) { + let delta = dart.notNull(base[_queryStart$]) - dart.notNull(ref[_queryStart$]); + let newUri = base[_uri$][$substring](0, base[_queryStart$]) + ref[_uri$][$substring](ref[_queryStart$]); + return new core._SimpleUri.new(newUri, base[_schemeEnd$], base[_hostStart$], base[_portStart$], base[_pathStart$], dart.notNull(ref[_queryStart$]) + delta, dart.notNull(ref[_fragmentStart$]) + delta, base[_schemeCache$]); + } + if (dart.test(ref.hasFragment)) { + let delta = dart.notNull(base[_fragmentStart$]) - dart.notNull(ref[_fragmentStart$]); + let newUri = base[_uri$][$substring](0, base[_fragmentStart$]) + ref[_uri$][$substring](ref[_fragmentStart$]); + return new core._SimpleUri.new(newUri, base[_schemeEnd$], base[_hostStart$], base[_portStart$], base[_pathStart$], base[_queryStart$], dart.notNull(ref[_fragmentStart$]) + delta, base[_schemeCache$]); + } + return base.removeFragment(); + } + if (dart.test(ref.hasAbsolutePath)) { + let basePathStart = base[_pathStart$]; + let packageNameEnd = core._SimpleUri._packageNameEnd(this); + if (dart.notNull(packageNameEnd) > 0) basePathStart = packageNameEnd; + let delta = dart.notNull(basePathStart) - dart.notNull(ref[_pathStart$]); + let newUri = base[_uri$][$substring](0, basePathStart) + ref[_uri$][$substring](ref[_pathStart$]); + return new core._SimpleUri.new(newUri, base[_schemeEnd$], base[_hostStart$], base[_portStart$], base[_pathStart$], dart.notNull(ref[_queryStart$]) + delta, dart.notNull(ref[_fragmentStart$]) + delta, base[_schemeCache$]); + } + if (dart.test(base.hasEmptyPath) && dart.test(base.hasAuthority)) { + let refStart = ref[_pathStart$]; + while (ref[_uri$][$startsWith]("../", refStart)) { + refStart = dart.notNull(refStart) + 3; + } + let delta = dart.notNull(base[_pathStart$]) - dart.notNull(refStart) + 1; + let newUri = base[_uri$][$substring](0, base[_pathStart$]) + "/" + ref[_uri$][$substring](refStart); + return new core._SimpleUri.new(newUri, base[_schemeEnd$], base[_hostStart$], base[_portStart$], base[_pathStart$], dart.notNull(ref[_queryStart$]) + delta, dart.notNull(ref[_fragmentStart$]) + delta, base[_schemeCache$]); + } + let baseUri = base[_uri$]; + let refUri = ref[_uri$]; + let baseStart = base[_pathStart$]; + let baseEnd = base[_queryStart$]; + let packageNameEnd = core._SimpleUri._packageNameEnd(this); + if (dart.notNull(packageNameEnd) >= 0) { + baseStart = packageNameEnd; + } else { + while (baseUri[$startsWith]("../", baseStart)) + baseStart = dart.notNull(baseStart) + 3; + } + let refStart = ref[_pathStart$]; + let refEnd = ref[_queryStart$]; + let backCount = 0; + while (dart.notNull(refStart) + 3 <= dart.notNull(refEnd) && refUri[$startsWith]("../", refStart)) { + refStart = dart.notNull(refStart) + 3; + backCount = backCount + 1; + } + let insert = ""; + while (dart.notNull(baseEnd) > dart.notNull(baseStart)) { + baseEnd = dart.notNull(baseEnd) - 1; + let char = baseUri[$codeUnitAt](baseEnd); + if (char === 47) { + insert = "/"; + if (backCount === 0) break; + backCount = backCount - 1; + } + } + if (baseEnd == baseStart && !dart.test(base.hasScheme) && !dart.test(base.hasAbsolutePath)) { + insert = ""; + refStart = dart.notNull(refStart) - backCount * 3; + } + let delta = dart.notNull(baseEnd) - dart.notNull(refStart) + insert.length; + let newUri = base[_uri$][$substring](0, baseEnd) + insert + ref[_uri$][$substring](refStart); + return new core._SimpleUri.new(newUri, base[_schemeEnd$], base[_hostStart$], base[_portStart$], base[_pathStart$], dart.notNull(ref[_queryStart$]) + delta, dart.notNull(ref[_fragmentStart$]) + delta, base[_schemeCache$]); + } + toFilePath(opts) { + let t258; + let windows = opts && 'windows' in opts ? opts.windows : null; + if (dart.notNull(this[_schemeEnd$]) >= 0 && !dart.test(this[_isFile])) { + dart.throw(new core.UnsupportedError.new("Cannot extract a file path from a " + dart.str(this.scheme) + " URI")); + } + if (dart.notNull(this[_queryStart$]) < this[_uri$].length) { + if (dart.notNull(this[_queryStart$]) < dart.notNull(this[_fragmentStart$])) { + dart.throw(new core.UnsupportedError.new("Cannot extract a file path from a URI with a query component")); + } + dart.throw(new core.UnsupportedError.new("Cannot extract a file path from a URI with a fragment component")); + } + return dart.test((t258 = windows, t258 == null ? core._Uri._isWindows : t258)) ? core._Uri._toWindowsFilePath(this) : this[_toFilePath](); + } + [_toFilePath]() { + if (dart.notNull(this[_hostStart$]) < dart.notNull(this[_portStart$])) { + dart.throw(new core.UnsupportedError.new("Cannot extract a non-Windows file path from a file URI " + "with an authority")); + } + return this.path; + } + get data() { + if (!(this.scheme !== "data")) dart.assertFailed(null, I[175], 4548, 12, "scheme != \"data\""); + return null; + } + get hashCode() { + let t258; + t258 = this[_hashCodeCache]; + return t258 == null ? this[_hashCodeCache] = dart.hashCode(this[_uri$]) : t258; + } + _equals(other) { + if (other == null) return false; + if (this === other) return true; + return core.Uri.is(other) && this[_uri$] == dart.toString(other); + } + [_toNonSimple]() { + return new core._Uri._internal(this.scheme, this.userInfo, dart.test(this.hasAuthority) ? this.host : null, dart.test(this.hasPort) ? this.port : null, this.path, dart.test(this.hasQuery) ? this.query : null, dart.test(this.hasFragment) ? this.fragment : null); + } + toString() { + return this[_uri$]; + } + }; + (core._SimpleUri.new = function(_uri, _schemeEnd, _hostStart, _portStart, _pathStart, _queryStart, _fragmentStart, _schemeCache) { + if (_uri == null) dart.nullFailed(I[175], 4096, 12, "_uri"); + if (_schemeEnd == null) dart.nullFailed(I[175], 4097, 12, "_schemeEnd"); + if (_hostStart == null) dart.nullFailed(I[175], 4098, 12, "_hostStart"); + if (_portStart == null) dart.nullFailed(I[175], 4099, 12, "_portStart"); + if (_pathStart == null) dart.nullFailed(I[175], 4100, 12, "_pathStart"); + if (_queryStart == null) dart.nullFailed(I[175], 4101, 12, "_queryStart"); + if (_fragmentStart == null) dart.nullFailed(I[175], 4102, 12, "_fragmentStart"); + this[_hashCodeCache] = null; + this[_uri$] = _uri; + this[_schemeEnd$] = _schemeEnd; + this[_hostStart$] = _hostStart; + this[_portStart$] = _portStart; + this[_pathStart$] = _pathStart; + this[_queryStart$] = _queryStart; + this[_fragmentStart$] = _fragmentStart; + this[_schemeCache$] = _schemeCache; + ; + }).prototype = core._SimpleUri.prototype; + dart.addTypeTests(core._SimpleUri); + dart.addTypeCaches(core._SimpleUri); + core._SimpleUri[dart.implements] = () => [core.Uri]; + dart.setMethodSignature(core._SimpleUri, () => ({ + __proto__: dart.getMethods(core._SimpleUri.__proto__), + [_isScheme]: dart.fnType(core.bool, [core.String]), + isScheme: dart.fnType(core.bool, [core.String]), + [_computeScheme]: dart.fnType(core.String, []), + [_isPort]: dart.fnType(core.bool, [core.String]), + normalizePath: dart.fnType(core.Uri, []), + removeFragment: dart.fnType(core.Uri, []), + replace: dart.fnType(core.Uri, [], {fragment: dart.nullable(core.String), host: dart.nullable(core.String), path: dart.nullable(core.String), pathSegments: dart.nullable(core.Iterable$(core.String)), port: dart.nullable(core.int), query: dart.nullable(core.String), queryParameters: dart.nullable(core.Map$(core.String, dart.dynamic)), scheme: dart.nullable(core.String), userInfo: dart.nullable(core.String)}, {}), + resolve: dart.fnType(core.Uri, [core.String]), + resolveUri: dart.fnType(core.Uri, [core.Uri]), + [_simpleMerge]: dart.fnType(core.Uri, [core._SimpleUri, core._SimpleUri]), + toFilePath: dart.fnType(core.String, [], {windows: dart.nullable(core.bool)}, {}), + [_toFilePath]: dart.fnType(core.String, []), + [_toNonSimple]: dart.fnType(core.Uri, []) + })); + dart.setGetterSignature(core._SimpleUri, () => ({ + __proto__: dart.getGetters(core._SimpleUri.__proto__), + hasScheme: core.bool, + hasAuthority: core.bool, + hasUserInfo: core.bool, + hasPort: core.bool, + hasQuery: core.bool, + hasFragment: core.bool, + [_isFile]: core.bool, + [_isHttp]: core.bool, + [_isHttps]: core.bool, + [_isPackage]: core.bool, + hasAbsolutePath: core.bool, + hasEmptyPath: core.bool, + isAbsolute: core.bool, + scheme: core.String, + authority: core.String, + userInfo: core.String, + host: core.String, + port: core.int, + path: core.String, + query: core.String, + fragment: core.String, + origin: core.String, + pathSegments: core.List$(core.String), + queryParameters: core.Map$(core.String, core.String), + queryParametersAll: core.Map$(core.String, core.List$(core.String)), + data: dart.nullable(core.UriData) + })); + dart.setLibraryUri(core._SimpleUri, I[8]); + dart.setFieldSignature(core._SimpleUri, () => ({ + __proto__: dart.getFields(core._SimpleUri.__proto__), + [_uri$]: dart.finalFieldType(core.String), + [_schemeEnd$]: dart.finalFieldType(core.int), + [_hostStart$]: dart.finalFieldType(core.int), + [_portStart$]: dart.finalFieldType(core.int), + [_pathStart$]: dart.finalFieldType(core.int), + [_queryStart$]: dart.finalFieldType(core.int), + [_fragmentStart$]: dart.finalFieldType(core.int), + [_schemeCache$]: dart.fieldType(dart.nullable(core.String)), + [_hashCodeCache]: dart.fieldType(dart.nullable(core.int)) + })); + dart.defineExtensionMethods(core._SimpleUri, ['_equals', 'toString']); + dart.defineExtensionAccessors(core._SimpleUri, ['hashCode']); + var _data$0 = dart.privateName(core, "_data"); + core._DataUri = class _DataUri extends core._Uri { + get data() { + return this[_data$0]; + } + }; + (core._DataUri.new = function(_data, path, query) { + if (_data == null) dart.nullFailed(I[175], 4577, 17, "_data"); + if (path == null) dart.nullFailed(I[175], 4577, 31, "path"); + this[_data$0] = _data; + core._DataUri.__proto__._internal.call(this, "data", "", null, null, path, query, null); + ; + }).prototype = core._DataUri.prototype; + dart.addTypeTests(core._DataUri); + dart.addTypeCaches(core._DataUri); + dart.setLibraryUri(core._DataUri, I[8]); + dart.setFieldSignature(core._DataUri, () => ({ + __proto__: dart.getFields(core._DataUri.__proto__), + [_data$0]: dart.finalFieldType(core.UriData) + })); + core._symbolToString = function _symbolToString(symbol) { + if (symbol == null) dart.nullFailed(I[7], 29, 31, "symbol"); + return _js_helper.PrivateSymbol.is(symbol) ? _js_helper.PrivateSymbol.getName(symbol) : _internal.Symbol.getName(_internal.Symbol.as(symbol)); + }; + core._max = function _max(a, b) { + if (a == null) dart.nullFailed(I[7], 933, 14, "a"); + if (b == null) dart.nullFailed(I[7], 933, 21, "b"); + return dart.notNull(a) > dart.notNull(b) ? a : b; + }; + core._min = function _min(a, b) { + if (a == null) dart.nullFailed(I[7], 934, 14, "a"); + if (b == null) dart.nullFailed(I[7], 934, 21, "b"); + return dart.notNull(a) < dart.notNull(b) ? a : b; + }; + core.identical = function identical(a, b) { + return a == null ? b == null : a === b; + }; + core.identityHashCode = function identityHashCode(object) { + if (object == null) return 0; + let hash = object[dart.identityHashCode_]; + if (hash == null) { + hash = Math.random() * 0x3fffffff | 0; + object[dart.identityHashCode_] = hash; + } + return hash; + }; + core.print = function print$0(object) { + let line = dart.toString(object); + let toZone = _internal.printToZone; + if (toZone == null) { + _internal.printToConsole(line); + } else { + toZone(line); + } + }; + core._isLeadSurrogate = function _isLeadSurrogate$(code) { + if (code == null) dart.nullFailed(I[174], 625, 27, "code"); + return (dart.notNull(code) & 64512) === 55296; + }; + core._isTrailSurrogate = function _isTrailSurrogate(code) { + if (code == null) dart.nullFailed(I[174], 628, 28, "code"); + return (dart.notNull(code) & 64512) === 56320; + }; + core._combineSurrogatePair = function _combineSurrogatePair$(start, end) { + if (start == null) dart.nullFailed(I[174], 631, 31, "start"); + if (end == null) dart.nullFailed(I[174], 631, 42, "end"); + return 65536 + ((dart.notNull(start) & 1023) << 10) + (dart.notNull(end) & 1023); + }; + core._createTables = function _createTables() { + let unreserved = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-._~"; + let pchar = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-._~!$&'()*+,;="; + let tables = T$0.ListOfUint8List().generate(22, dart.fn(_ => { + if (_ == null) dart.nullFailed(I[175], 3872, 54, "_"); + return _native_typed_data.NativeUint8List.new(96); + }, T$0.intToUint8List())); + function build(state, defaultTransition) { + let t258; + t258 = tables[$_get](core.int.as(state)); + return (() => { + t258[$fillRange](0, 96, T$.intN().as(defaultTransition)); + return t258; + })(); + } + dart.fn(build, T$0.dynamicAnddynamicToUint8List()); + function setChars(target, chars, transition) { + if (target == null) dart.nullFailed(I[175], 3883, 27, "target"); + if (chars == null) dart.nullFailed(I[175], 3883, 42, "chars"); + if (transition == null) dart.nullFailed(I[175], 3883, 53, "transition"); + for (let i = 0; i < chars.length; i = i + 1) { + let char = chars[$codeUnitAt](i); + target[$_set]((char ^ 96) >>> 0, transition); + } + } + dart.fn(setChars, T$0.Uint8ListAndStringAndintTovoid()); + function setRange(target, range, transition) { + if (target == null) dart.nullFailed(I[175], 3896, 27, "target"); + if (range == null) dart.nullFailed(I[175], 3896, 42, "range"); + if (transition == null) dart.nullFailed(I[175], 3896, 53, "transition"); + for (let i = range[$codeUnitAt](0), n = range[$codeUnitAt](1); i <= n; i = i + 1) { + target[$_set]((i ^ 96) >>> 0, transition); + } + } + dart.fn(setRange, T$0.Uint8ListAndStringAndintTovoid()); + let b = null; + b = build(0, (1 | 224) >>> 0); + setChars(typed_data.Uint8List.as(b), pchar, 1); + setChars(typed_data.Uint8List.as(b), ".", 14); + setChars(typed_data.Uint8List.as(b), ":", (2 | 32) >>> 0); + setChars(typed_data.Uint8List.as(b), "/", 3); + setChars(typed_data.Uint8List.as(b), "?", (12 | 160) >>> 0); + setChars(typed_data.Uint8List.as(b), "#", (13 | 192) >>> 0); + b = build(14, (1 | 224) >>> 0); + setChars(typed_data.Uint8List.as(b), pchar, 1); + setChars(typed_data.Uint8List.as(b), ".", 15); + setChars(typed_data.Uint8List.as(b), ":", (2 | 32) >>> 0); + setChars(typed_data.Uint8List.as(b), "/", (10 | 224) >>> 0); + setChars(typed_data.Uint8List.as(b), "?", (12 | 160) >>> 0); + setChars(typed_data.Uint8List.as(b), "#", (13 | 192) >>> 0); + b = build(15, (1 | 224) >>> 0); + setChars(typed_data.Uint8List.as(b), pchar, 1); + setChars(typed_data.Uint8List.as(b), "%", (1 | 224) >>> 0); + setChars(typed_data.Uint8List.as(b), ":", (2 | 32) >>> 0); + setChars(typed_data.Uint8List.as(b), "/", 9); + setChars(typed_data.Uint8List.as(b), "?", (12 | 160) >>> 0); + setChars(typed_data.Uint8List.as(b), "#", (13 | 192) >>> 0); + b = build(1, (1 | 224) >>> 0); + setChars(typed_data.Uint8List.as(b), pchar, 1); + setChars(typed_data.Uint8List.as(b), ":", (2 | 32) >>> 0); + setChars(typed_data.Uint8List.as(b), "/", 10); + setChars(typed_data.Uint8List.as(b), "?", (12 | 160) >>> 0); + setChars(typed_data.Uint8List.as(b), "#", (13 | 192) >>> 0); + b = build(2, (11 | 224) >>> 0); + setChars(typed_data.Uint8List.as(b), pchar, (11 | 128) >>> 0); + setChars(typed_data.Uint8List.as(b), "/", (3 | 128) >>> 0); + setChars(typed_data.Uint8List.as(b), ".", (18 | 128) >>> 0); + setChars(typed_data.Uint8List.as(b), "?", (12 | 160) >>> 0); + setChars(typed_data.Uint8List.as(b), "#", (13 | 192) >>> 0); + b = build(3, (11 | 224) >>> 0); + setChars(typed_data.Uint8List.as(b), pchar, 11); + setChars(typed_data.Uint8List.as(b), "/", (4 | 64) >>> 0); + setChars(typed_data.Uint8List.as(b), ".", 18); + setChars(typed_data.Uint8List.as(b), "?", (12 | 160) >>> 0); + setChars(typed_data.Uint8List.as(b), "#", (13 | 192) >>> 0); + b = build(4, (5 | 224) >>> 0); + setChars(typed_data.Uint8List.as(b), pchar, 5); + setRange(typed_data.Uint8List.as(b), "AZ", (5 | 224) >>> 0); + setChars(typed_data.Uint8List.as(b), ":", (6 | 96) >>> 0); + setChars(typed_data.Uint8List.as(b), "@", (4 | 64) >>> 0); + setChars(typed_data.Uint8List.as(b), "[", (8 | 224) >>> 0); + setChars(typed_data.Uint8List.as(b), "/", (10 | 128) >>> 0); + setChars(typed_data.Uint8List.as(b), "?", (12 | 160) >>> 0); + setChars(typed_data.Uint8List.as(b), "#", (13 | 192) >>> 0); + b = build(5, (5 | 224) >>> 0); + setChars(typed_data.Uint8List.as(b), pchar, 5); + setRange(typed_data.Uint8List.as(b), "AZ", (5 | 224) >>> 0); + setChars(typed_data.Uint8List.as(b), ":", (6 | 96) >>> 0); + setChars(typed_data.Uint8List.as(b), "@", (4 | 64) >>> 0); + setChars(typed_data.Uint8List.as(b), "/", (10 | 128) >>> 0); + setChars(typed_data.Uint8List.as(b), "?", (12 | 160) >>> 0); + setChars(typed_data.Uint8List.as(b), "#", (13 | 192) >>> 0); + b = build(6, (7 | 224) >>> 0); + setRange(typed_data.Uint8List.as(b), "19", 7); + setChars(typed_data.Uint8List.as(b), "@", (4 | 64) >>> 0); + setChars(typed_data.Uint8List.as(b), "/", (10 | 128) >>> 0); + setChars(typed_data.Uint8List.as(b), "?", (12 | 160) >>> 0); + setChars(typed_data.Uint8List.as(b), "#", (13 | 192) >>> 0); + b = build(7, (7 | 224) >>> 0); + setRange(typed_data.Uint8List.as(b), "09", 7); + setChars(typed_data.Uint8List.as(b), "@", (4 | 64) >>> 0); + setChars(typed_data.Uint8List.as(b), "/", (10 | 128) >>> 0); + setChars(typed_data.Uint8List.as(b), "?", (12 | 160) >>> 0); + setChars(typed_data.Uint8List.as(b), "#", (13 | 192) >>> 0); + b = build(8, 8); + setChars(typed_data.Uint8List.as(b), "]", 5); + b = build(9, (11 | 224) >>> 0); + setChars(typed_data.Uint8List.as(b), pchar, 11); + setChars(typed_data.Uint8List.as(b), ".", 16); + setChars(typed_data.Uint8List.as(b), "/", (10 | 224) >>> 0); + setChars(typed_data.Uint8List.as(b), "?", (12 | 160) >>> 0); + setChars(typed_data.Uint8List.as(b), "#", (13 | 192) >>> 0); + b = build(16, (11 | 224) >>> 0); + setChars(typed_data.Uint8List.as(b), pchar, 11); + setChars(typed_data.Uint8List.as(b), ".", 17); + setChars(typed_data.Uint8List.as(b), "/", (10 | 224) >>> 0); + setChars(typed_data.Uint8List.as(b), "?", (12 | 160) >>> 0); + setChars(typed_data.Uint8List.as(b), "#", (13 | 192) >>> 0); + b = build(17, (11 | 224) >>> 0); + setChars(typed_data.Uint8List.as(b), pchar, 11); + setChars(typed_data.Uint8List.as(b), "/", 9); + setChars(typed_data.Uint8List.as(b), "?", (12 | 160) >>> 0); + setChars(typed_data.Uint8List.as(b), "#", (13 | 192) >>> 0); + b = build(10, (11 | 224) >>> 0); + setChars(typed_data.Uint8List.as(b), pchar, 11); + setChars(typed_data.Uint8List.as(b), ".", 18); + setChars(typed_data.Uint8List.as(b), "/", (10 | 224) >>> 0); + setChars(typed_data.Uint8List.as(b), "?", (12 | 160) >>> 0); + setChars(typed_data.Uint8List.as(b), "#", (13 | 192) >>> 0); + b = build(18, (11 | 224) >>> 0); + setChars(typed_data.Uint8List.as(b), pchar, 11); + setChars(typed_data.Uint8List.as(b), ".", 19); + setChars(typed_data.Uint8List.as(b), "/", (10 | 224) >>> 0); + setChars(typed_data.Uint8List.as(b), "?", (12 | 160) >>> 0); + setChars(typed_data.Uint8List.as(b), "#", (13 | 192) >>> 0); + b = build(19, (11 | 224) >>> 0); + setChars(typed_data.Uint8List.as(b), pchar, 11); + setChars(typed_data.Uint8List.as(b), "/", (10 | 224) >>> 0); + setChars(typed_data.Uint8List.as(b), "?", (12 | 160) >>> 0); + setChars(typed_data.Uint8List.as(b), "#", (13 | 192) >>> 0); + b = build(11, (11 | 224) >>> 0); + setChars(typed_data.Uint8List.as(b), pchar, 11); + setChars(typed_data.Uint8List.as(b), "/", 10); + setChars(typed_data.Uint8List.as(b), "?", (12 | 160) >>> 0); + setChars(typed_data.Uint8List.as(b), "#", (13 | 192) >>> 0); + b = build(12, (12 | 224) >>> 0); + setChars(typed_data.Uint8List.as(b), pchar, 12); + setChars(typed_data.Uint8List.as(b), "?", 12); + setChars(typed_data.Uint8List.as(b), "#", (13 | 192) >>> 0); + b = build(13, (13 | 224) >>> 0); + setChars(typed_data.Uint8List.as(b), pchar, 13); + setChars(typed_data.Uint8List.as(b), "?", 13); + b = build(20, (21 | 224) >>> 0); + setRange(typed_data.Uint8List.as(b), "az", 21); + b = build(21, (21 | 224) >>> 0); + setRange(typed_data.Uint8List.as(b), "az", 21); + setRange(typed_data.Uint8List.as(b), "09", 21); + setChars(typed_data.Uint8List.as(b), "+-.", 21); + return tables; + }; + core._scan = function _scan(uri, start, end, state, indices) { + if (uri == null) dart.nullFailed(I[175], 4064, 18, "uri"); + if (start == null) dart.nullFailed(I[175], 4064, 27, "start"); + if (end == null) dart.nullFailed(I[175], 4064, 38, "end"); + if (state == null) dart.nullFailed(I[175], 4064, 47, "state"); + if (indices == null) dart.nullFailed(I[175], 4064, 64, "indices"); + let tables = core._scannerTables; + if (!(dart.notNull(end) <= uri.length)) dart.assertFailed(null, I[175], 4066, 10, "end <= uri.length"); + for (let i = start; dart.notNull(i) < dart.notNull(end); i = dart.notNull(i) + 1) { + let table = tables[$_get](state); + let char = (uri[$codeUnitAt](i) ^ 96) >>> 0; + if (char > 95) char = 31; + let transition = table[$_get](char); + state = dart.notNull(transition) & 31; + indices[$_set](transition[$rightShift](5), i); + } + return state; + }; + core._startsWithData = function _startsWithData(text, start) { + if (text == null) dart.nullFailed(I[175], 4591, 28, "text"); + if (start == null) dart.nullFailed(I[175], 4591, 38, "start"); + let delta = ((text[$codeUnitAt](dart.notNull(start) + 4) ^ 58) >>> 0) * 3; + delta = (delta | (text[$codeUnitAt](start) ^ 100) >>> 0) >>> 0; + delta = (delta | (text[$codeUnitAt](dart.notNull(start) + 1) ^ 97) >>> 0) >>> 0; + delta = (delta | (text[$codeUnitAt](dart.notNull(start) + 2) ^ 116) >>> 0) >>> 0; + delta = (delta | (text[$codeUnitAt](dart.notNull(start) + 3) ^ 97) >>> 0) >>> 0; + return delta; + }; + core._stringOrNullLength = function _stringOrNullLength(s) { + return s == null ? 0 : s.length; + }; + core._toUnmodifiableStringList = function _toUnmodifiableStringList(key, list) { + if (key == null) dart.nullFailed(I[175], 4604, 47, "key"); + if (list == null) dart.nullFailed(I[175], 4604, 65, "list"); + return T$.ListOfString().unmodifiable(list); + }; + core._skipPackageNameChars = function _skipPackageNameChars(source, start, end) { + if (source == null) dart.nullFailed(I[175], 4616, 34, "source"); + if (start == null) dart.nullFailed(I[175], 4616, 46, "start"); + if (end == null) dart.nullFailed(I[175], 4616, 57, "end"); + let dots = 0; + for (let i = start; dart.notNull(i) < dart.notNull(end); i = dart.notNull(i) + 1) { + let char = source[$codeUnitAt](i); + if (char === 47) return dots !== 0 ? i : -1; + if (char === 37 || char === 58) return -1; + dots = (dots | (char ^ 46) >>> 0) >>> 0; + } + return -1; + }; + dart.defineLazy(core, { + /*core._dummyList*/get _dummyList() { + return _native_typed_data.NativeUint16List.new(0); + }, + /*core.deprecated*/get deprecated() { + return C[445] || CT.C445; + }, + /*core.override*/get override() { + return C[446] || CT.C446; + }, + /*core.provisional*/get provisional() { + return null; + }, + /*core.proxy*/get proxy() { + return null; + }, + /*core._SPACE*/get _SPACE() { + return 32; + }, + /*core._PERCENT*/get _PERCENT() { + return 37; + }, + /*core._AMPERSAND*/get _AMPERSAND() { + return 38; + }, + /*core._PLUS*/get _PLUS() { + return 43; + }, + /*core._DOT*/get _DOT() { + return 46; + }, + /*core._SLASH*/get _SLASH() { + return 47; + }, + /*core._COLON*/get _COLON() { + return 58; + }, + /*core._EQUALS*/get _EQUALS() { + return 61; + }, + /*core._UPPER_CASE_A*/get _UPPER_CASE_A() { + return 65; + }, + /*core._UPPER_CASE_Z*/get _UPPER_CASE_Z() { + return 90; + }, + /*core._LEFT_BRACKET*/get _LEFT_BRACKET() { + return 91; + }, + /*core._BACKSLASH*/get _BACKSLASH() { + return 92; + }, + /*core._RIGHT_BRACKET*/get _RIGHT_BRACKET() { + return 93; + }, + /*core._LOWER_CASE_A*/get _LOWER_CASE_A() { + return 97; + }, + /*core._LOWER_CASE_F*/get _LOWER_CASE_F() { + return 102; + }, + /*core._LOWER_CASE_Z*/get _LOWER_CASE_Z() { + return 122; + }, + /*core._hexDigits*/get _hexDigits() { + return "0123456789ABCDEF"; + }, + /*core._schemeEndIndex*/get _schemeEndIndex() { + return 1; + }, + /*core._hostStartIndex*/get _hostStartIndex() { + return 2; + }, + /*core._portStartIndex*/get _portStartIndex() { + return 3; + }, + /*core._pathStartIndex*/get _pathStartIndex() { + return 4; + }, + /*core._queryStartIndex*/get _queryStartIndex() { + return 5; + }, + /*core._fragmentStartIndex*/get _fragmentStartIndex() { + return 6; + }, + /*core._notSimpleIndex*/get _notSimpleIndex() { + return 7; + }, + /*core._uriStart*/get _uriStart() { + return 0; + }, + /*core._nonSimpleEndStates*/get _nonSimpleEndStates() { + return 14; + }, + /*core._schemeStart*/get _schemeStart() { + return 20; + }, + /*core._scannerTables*/get _scannerTables() { + return core._createTables(); + } + }, false); + var serverHeader = dart.privateName(_http, "HttpServer.serverHeader"); + var autoCompress = dart.privateName(_http, "HttpServer.autoCompress"); + var idleTimeout = dart.privateName(_http, "HttpServer.idleTimeout"); + _http.HttpServer = class HttpServer extends core.Object { + get serverHeader() { + return this[serverHeader]; + } + set serverHeader(value) { + this[serverHeader] = value; + } + get autoCompress() { + return this[autoCompress]; + } + set autoCompress(value) { + this[autoCompress] = value; + } + get idleTimeout() { + return this[idleTimeout]; + } + set idleTimeout(value) { + this[idleTimeout] = value; + } + static bind(address, port, opts) { + if (port == null) dart.nullFailed(I[176], 227, 47, "port"); + let backlog = opts && 'backlog' in opts ? opts.backlog : 0; + if (backlog == null) dart.nullFailed(I[176], 228, 16, "backlog"); + let v6Only = opts && 'v6Only' in opts ? opts.v6Only : false; + if (v6Only == null) dart.nullFailed(I[176], 228, 34, "v6Only"); + let shared = opts && 'shared' in opts ? opts.shared : false; + if (shared == null) dart.nullFailed(I[176], 228, 55, "shared"); + return _http._HttpServer.bind(address, port, backlog, v6Only, shared); + } + static bindSecure(address, port, context, opts) { + if (port == null) dart.nullFailed(I[176], 272, 24, "port"); + if (context == null) dart.nullFailed(I[176], 272, 46, "context"); + let backlog = opts && 'backlog' in opts ? opts.backlog : 0; + if (backlog == null) dart.nullFailed(I[176], 273, 16, "backlog"); + let v6Only = opts && 'v6Only' in opts ? opts.v6Only : false; + if (v6Only == null) dart.nullFailed(I[176], 274, 16, "v6Only"); + let requestClientCertificate = opts && 'requestClientCertificate' in opts ? opts.requestClientCertificate : false; + if (requestClientCertificate == null) dart.nullFailed(I[176], 275, 16, "requestClientCertificate"); + let shared = opts && 'shared' in opts ? opts.shared : false; + if (shared == null) dart.nullFailed(I[176], 276, 16, "shared"); + return _http._HttpServer.bindSecure(address, port, context, backlog, v6Only, requestClientCertificate, shared); + } + static listenOn(serverSocket) { + if (serverSocket == null) dart.nullFailed(I[176], 285, 44, "serverSocket"); + return new _http._HttpServer.listenOn(serverSocket); + } + }; + (_http.HttpServer[dart.mixinNew] = function() { + this[serverHeader] = null; + this[autoCompress] = false; + this[idleTimeout] = C[447] || CT.C447; + }).prototype = _http.HttpServer.prototype; + _http.HttpServer.prototype[dart.isStream] = true; + dart.addTypeTests(_http.HttpServer); + dart.addTypeCaches(_http.HttpServer); + _http.HttpServer[dart.implements] = () => [async.Stream$(_http.HttpRequest)]; + dart.setLibraryUri(_http.HttpServer, I[177]); + dart.setFieldSignature(_http.HttpServer, () => ({ + __proto__: dart.getFields(_http.HttpServer.__proto__), + serverHeader: dart.fieldType(dart.nullable(core.String)), + autoCompress: dart.fieldType(core.bool), + idleTimeout: dart.fieldType(dart.nullable(core.Duration)) + })); + var total = dart.privateName(_http, "HttpConnectionsInfo.total"); + var active = dart.privateName(_http, "HttpConnectionsInfo.active"); + var idle = dart.privateName(_http, "HttpConnectionsInfo.idle"); + var closing = dart.privateName(_http, "HttpConnectionsInfo.closing"); + _http.HttpConnectionsInfo = class HttpConnectionsInfo extends core.Object { + get total() { + return this[total]; + } + set total(value) { + this[total] = value; + } + get active() { + return this[active]; + } + set active(value) { + this[active] = value; + } + get idle() { + return this[idle]; + } + set idle(value) { + this[idle] = value; + } + get closing() { + return this[closing]; + } + set closing(value) { + this[closing] = value; + } + }; + (_http.HttpConnectionsInfo.new = function() { + this[total] = 0; + this[active] = 0; + this[idle] = 0; + this[closing] = 0; + ; + }).prototype = _http.HttpConnectionsInfo.prototype; + dart.addTypeTests(_http.HttpConnectionsInfo); + dart.addTypeCaches(_http.HttpConnectionsInfo); + dart.setLibraryUri(_http.HttpConnectionsInfo, I[177]); + dart.setFieldSignature(_http.HttpConnectionsInfo, () => ({ + __proto__: dart.getFields(_http.HttpConnectionsInfo.__proto__), + total: dart.fieldType(core.int), + active: dart.fieldType(core.int), + idle: dart.fieldType(core.int), + closing: dart.fieldType(core.int) + })); + var date = dart.privateName(_http, "HttpHeaders.date"); + var expires = dart.privateName(_http, "HttpHeaders.expires"); + var ifModifiedSince = dart.privateName(_http, "HttpHeaders.ifModifiedSince"); + var host = dart.privateName(_http, "HttpHeaders.host"); + var port = dart.privateName(_http, "HttpHeaders.port"); + var contentType = dart.privateName(_http, "HttpHeaders.contentType"); + var contentLength = dart.privateName(_http, "HttpHeaders.contentLength"); + var __HttpHeaders_persistentConnection = dart.privateName(_http, "_#HttpHeaders#persistentConnection"); + var __HttpHeaders_persistentConnection_isSet = dart.privateName(_http, "_#HttpHeaders#persistentConnection#isSet"); + var __HttpHeaders_chunkedTransferEncoding = dart.privateName(_http, "_#HttpHeaders#chunkedTransferEncoding"); + var __HttpHeaders_chunkedTransferEncoding_isSet = dart.privateName(_http, "_#HttpHeaders#chunkedTransferEncoding#isSet"); + _http.HttpHeaders = class HttpHeaders extends core.Object { + get date() { + return this[date]; + } + set date(value) { + this[date] = value; + } + get expires() { + return this[expires]; + } + set expires(value) { + this[expires] = value; + } + get ifModifiedSince() { + return this[ifModifiedSince]; + } + set ifModifiedSince(value) { + this[ifModifiedSince] = value; + } + get host() { + return this[host]; + } + set host(value) { + this[host] = value; + } + get port() { + return this[port]; + } + set port(value) { + this[port] = value; + } + get contentType() { + return this[contentType]; + } + set contentType(value) { + this[contentType] = value; + } + get contentLength() { + return this[contentLength]; + } + set contentLength(value) { + this[contentLength] = value; + } + get persistentConnection() { + let t258; + return dart.test(this[__HttpHeaders_persistentConnection_isSet]) ? (t258 = this[__HttpHeaders_persistentConnection], t258) : dart.throw(new _internal.LateError.fieldNI("persistentConnection")); + } + set persistentConnection(t258) { + if (t258 == null) dart.nullFailed(I[176], 652, 13, "null"); + this[__HttpHeaders_persistentConnection_isSet] = true; + this[__HttpHeaders_persistentConnection] = t258; + } + get chunkedTransferEncoding() { + let t259; + return dart.test(this[__HttpHeaders_chunkedTransferEncoding_isSet]) ? (t259 = this[__HttpHeaders_chunkedTransferEncoding], t259) : dart.throw(new _internal.LateError.fieldNI("chunkedTransferEncoding")); + } + set chunkedTransferEncoding(t259) { + if (t259 == null) dart.nullFailed(I[176], 659, 13, "null"); + this[__HttpHeaders_chunkedTransferEncoding_isSet] = true; + this[__HttpHeaders_chunkedTransferEncoding] = t259; + } + }; + (_http.HttpHeaders.new = function() { + this[date] = null; + this[expires] = null; + this[ifModifiedSince] = null; + this[host] = null; + this[port] = null; + this[contentType] = null; + this[contentLength] = -1; + this[__HttpHeaders_persistentConnection] = null; + this[__HttpHeaders_persistentConnection_isSet] = false; + this[__HttpHeaders_chunkedTransferEncoding] = null; + this[__HttpHeaders_chunkedTransferEncoding_isSet] = false; + ; + }).prototype = _http.HttpHeaders.prototype; + dart.addTypeTests(_http.HttpHeaders); + dart.addTypeCaches(_http.HttpHeaders); + dart.setGetterSignature(_http.HttpHeaders, () => ({ + __proto__: dart.getGetters(_http.HttpHeaders.__proto__), + persistentConnection: core.bool, + chunkedTransferEncoding: core.bool + })); + dart.setSetterSignature(_http.HttpHeaders, () => ({ + __proto__: dart.getSetters(_http.HttpHeaders.__proto__), + persistentConnection: core.bool, + chunkedTransferEncoding: core.bool + })); + dart.setLibraryUri(_http.HttpHeaders, I[177]); + dart.setFieldSignature(_http.HttpHeaders, () => ({ + __proto__: dart.getFields(_http.HttpHeaders.__proto__), + date: dart.fieldType(dart.nullable(core.DateTime)), + expires: dart.fieldType(dart.nullable(core.DateTime)), + ifModifiedSince: dart.fieldType(dart.nullable(core.DateTime)), + host: dart.fieldType(dart.nullable(core.String)), + port: dart.fieldType(dart.nullable(core.int)), + contentType: dart.fieldType(dart.nullable(_http.ContentType)), + contentLength: dart.fieldType(core.int), + [__HttpHeaders_persistentConnection]: dart.fieldType(dart.nullable(core.bool)), + [__HttpHeaders_persistentConnection_isSet]: dart.fieldType(core.bool), + [__HttpHeaders_chunkedTransferEncoding]: dart.fieldType(dart.nullable(core.bool)), + [__HttpHeaders_chunkedTransferEncoding_isSet]: dart.fieldType(core.bool) + })); + dart.defineLazy(_http.HttpHeaders, { + /*_http.HttpHeaders.acceptHeader*/get acceptHeader() { + return "accept"; + }, + /*_http.HttpHeaders.acceptCharsetHeader*/get acceptCharsetHeader() { + return "accept-charset"; + }, + /*_http.HttpHeaders.acceptEncodingHeader*/get acceptEncodingHeader() { + return "accept-encoding"; + }, + /*_http.HttpHeaders.acceptLanguageHeader*/get acceptLanguageHeader() { + return "accept-language"; + }, + /*_http.HttpHeaders.acceptRangesHeader*/get acceptRangesHeader() { + return "accept-ranges"; + }, + /*_http.HttpHeaders.ageHeader*/get ageHeader() { + return "age"; + }, + /*_http.HttpHeaders.allowHeader*/get allowHeader() { + return "allow"; + }, + /*_http.HttpHeaders.authorizationHeader*/get authorizationHeader() { + return "authorization"; + }, + /*_http.HttpHeaders.cacheControlHeader*/get cacheControlHeader() { + return "cache-control"; + }, + /*_http.HttpHeaders.connectionHeader*/get connectionHeader() { + return "connection"; + }, + /*_http.HttpHeaders.contentEncodingHeader*/get contentEncodingHeader() { + return "content-encoding"; + }, + /*_http.HttpHeaders.contentLanguageHeader*/get contentLanguageHeader() { + return "content-language"; + }, + /*_http.HttpHeaders.contentLengthHeader*/get contentLengthHeader() { + return "content-length"; + }, + /*_http.HttpHeaders.contentLocationHeader*/get contentLocationHeader() { + return "content-location"; + }, + /*_http.HttpHeaders.contentMD5Header*/get contentMD5Header() { + return "content-md5"; + }, + /*_http.HttpHeaders.contentRangeHeader*/get contentRangeHeader() { + return "content-range"; + }, + /*_http.HttpHeaders.contentTypeHeader*/get contentTypeHeader() { + return "content-type"; + }, + /*_http.HttpHeaders.dateHeader*/get dateHeader() { + return "date"; + }, + /*_http.HttpHeaders.etagHeader*/get etagHeader() { + return "etag"; + }, + /*_http.HttpHeaders.expectHeader*/get expectHeader() { + return "expect"; + }, + /*_http.HttpHeaders.expiresHeader*/get expiresHeader() { + return "expires"; + }, + /*_http.HttpHeaders.fromHeader*/get fromHeader() { + return "from"; + }, + /*_http.HttpHeaders.hostHeader*/get hostHeader() { + return "host"; + }, + /*_http.HttpHeaders.ifMatchHeader*/get ifMatchHeader() { + return "if-match"; + }, + /*_http.HttpHeaders.ifModifiedSinceHeader*/get ifModifiedSinceHeader() { + return "if-modified-since"; + }, + /*_http.HttpHeaders.ifNoneMatchHeader*/get ifNoneMatchHeader() { + return "if-none-match"; + }, + /*_http.HttpHeaders.ifRangeHeader*/get ifRangeHeader() { + return "if-range"; + }, + /*_http.HttpHeaders.ifUnmodifiedSinceHeader*/get ifUnmodifiedSinceHeader() { + return "if-unmodified-since"; + }, + /*_http.HttpHeaders.lastModifiedHeader*/get lastModifiedHeader() { + return "last-modified"; + }, + /*_http.HttpHeaders.locationHeader*/get locationHeader() { + return "location"; + }, + /*_http.HttpHeaders.maxForwardsHeader*/get maxForwardsHeader() { + return "max-forwards"; + }, + /*_http.HttpHeaders.pragmaHeader*/get pragmaHeader() { + return "pragma"; + }, + /*_http.HttpHeaders.proxyAuthenticateHeader*/get proxyAuthenticateHeader() { + return "proxy-authenticate"; + }, + /*_http.HttpHeaders.proxyAuthorizationHeader*/get proxyAuthorizationHeader() { + return "proxy-authorization"; + }, + /*_http.HttpHeaders.rangeHeader*/get rangeHeader() { + return "range"; + }, + /*_http.HttpHeaders.refererHeader*/get refererHeader() { + return "referer"; + }, + /*_http.HttpHeaders.retryAfterHeader*/get retryAfterHeader() { + return "retry-after"; + }, + /*_http.HttpHeaders.serverHeader*/get serverHeader() { + return "server"; + }, + /*_http.HttpHeaders.teHeader*/get teHeader() { + return "te"; + }, + /*_http.HttpHeaders.trailerHeader*/get trailerHeader() { + return "trailer"; + }, + /*_http.HttpHeaders.transferEncodingHeader*/get transferEncodingHeader() { + return "transfer-encoding"; + }, + /*_http.HttpHeaders.upgradeHeader*/get upgradeHeader() { + return "upgrade"; + }, + /*_http.HttpHeaders.userAgentHeader*/get userAgentHeader() { + return "user-agent"; + }, + /*_http.HttpHeaders.varyHeader*/get varyHeader() { + return "vary"; + }, + /*_http.HttpHeaders.viaHeader*/get viaHeader() { + return "via"; + }, + /*_http.HttpHeaders.warningHeader*/get warningHeader() { + return "warning"; + }, + /*_http.HttpHeaders.wwwAuthenticateHeader*/get wwwAuthenticateHeader() { + return "www-authenticate"; + }, + /*_http.HttpHeaders.ACCEPT*/get ACCEPT() { + return "accept"; + }, + /*_http.HttpHeaders.ACCEPT_CHARSET*/get ACCEPT_CHARSET() { + return "accept-charset"; + }, + /*_http.HttpHeaders.ACCEPT_ENCODING*/get ACCEPT_ENCODING() { + return "accept-encoding"; + }, + /*_http.HttpHeaders.ACCEPT_LANGUAGE*/get ACCEPT_LANGUAGE() { + return "accept-language"; + }, + /*_http.HttpHeaders.ACCEPT_RANGES*/get ACCEPT_RANGES() { + return "accept-ranges"; + }, + /*_http.HttpHeaders.AGE*/get AGE() { + return "age"; + }, + /*_http.HttpHeaders.ALLOW*/get ALLOW() { + return "allow"; + }, + /*_http.HttpHeaders.AUTHORIZATION*/get AUTHORIZATION() { + return "authorization"; + }, + /*_http.HttpHeaders.CACHE_CONTROL*/get CACHE_CONTROL() { + return "cache-control"; + }, + /*_http.HttpHeaders.CONNECTION*/get CONNECTION() { + return "connection"; + }, + /*_http.HttpHeaders.CONTENT_ENCODING*/get CONTENT_ENCODING() { + return "content-encoding"; + }, + /*_http.HttpHeaders.CONTENT_LANGUAGE*/get CONTENT_LANGUAGE() { + return "content-language"; + }, + /*_http.HttpHeaders.CONTENT_LENGTH*/get CONTENT_LENGTH() { + return "content-length"; + }, + /*_http.HttpHeaders.CONTENT_LOCATION*/get CONTENT_LOCATION() { + return "content-location"; + }, + /*_http.HttpHeaders.CONTENT_MD5*/get CONTENT_MD5() { + return "content-md5"; + }, + /*_http.HttpHeaders.CONTENT_RANGE*/get CONTENT_RANGE() { + return "content-range"; + }, + /*_http.HttpHeaders.CONTENT_TYPE*/get CONTENT_TYPE() { + return "content-type"; + }, + /*_http.HttpHeaders.DATE*/get DATE() { + return "date"; + }, + /*_http.HttpHeaders.ETAG*/get ETAG() { + return "etag"; + }, + /*_http.HttpHeaders.EXPECT*/get EXPECT() { + return "expect"; + }, + /*_http.HttpHeaders.EXPIRES*/get EXPIRES() { + return "expires"; + }, + /*_http.HttpHeaders.FROM*/get FROM() { + return "from"; + }, + /*_http.HttpHeaders.HOST*/get HOST() { + return "host"; + }, + /*_http.HttpHeaders.IF_MATCH*/get IF_MATCH() { + return "if-match"; + }, + /*_http.HttpHeaders.IF_MODIFIED_SINCE*/get IF_MODIFIED_SINCE() { + return "if-modified-since"; + }, + /*_http.HttpHeaders.IF_NONE_MATCH*/get IF_NONE_MATCH() { + return "if-none-match"; + }, + /*_http.HttpHeaders.IF_RANGE*/get IF_RANGE() { + return "if-range"; + }, + /*_http.HttpHeaders.IF_UNMODIFIED_SINCE*/get IF_UNMODIFIED_SINCE() { + return "if-unmodified-since"; + }, + /*_http.HttpHeaders.LAST_MODIFIED*/get LAST_MODIFIED() { + return "last-modified"; + }, + /*_http.HttpHeaders.LOCATION*/get LOCATION() { + return "location"; + }, + /*_http.HttpHeaders.MAX_FORWARDS*/get MAX_FORWARDS() { + return "max-forwards"; + }, + /*_http.HttpHeaders.PRAGMA*/get PRAGMA() { + return "pragma"; + }, + /*_http.HttpHeaders.PROXY_AUTHENTICATE*/get PROXY_AUTHENTICATE() { + return "proxy-authenticate"; + }, + /*_http.HttpHeaders.PROXY_AUTHORIZATION*/get PROXY_AUTHORIZATION() { + return "proxy-authorization"; + }, + /*_http.HttpHeaders.RANGE*/get RANGE() { + return "range"; + }, + /*_http.HttpHeaders.REFERER*/get REFERER() { + return "referer"; + }, + /*_http.HttpHeaders.RETRY_AFTER*/get RETRY_AFTER() { + return "retry-after"; + }, + /*_http.HttpHeaders.SERVER*/get SERVER() { + return "server"; + }, + /*_http.HttpHeaders.TE*/get TE() { + return "te"; + }, + /*_http.HttpHeaders.TRAILER*/get TRAILER() { + return "trailer"; + }, + /*_http.HttpHeaders.TRANSFER_ENCODING*/get TRANSFER_ENCODING() { + return "transfer-encoding"; + }, + /*_http.HttpHeaders.UPGRADE*/get UPGRADE() { + return "upgrade"; + }, + /*_http.HttpHeaders.USER_AGENT*/get USER_AGENT() { + return "user-agent"; + }, + /*_http.HttpHeaders.VARY*/get VARY() { + return "vary"; + }, + /*_http.HttpHeaders.VIA*/get VIA() { + return "via"; + }, + /*_http.HttpHeaders.WARNING*/get WARNING() { + return "warning"; + }, + /*_http.HttpHeaders.WWW_AUTHENTICATE*/get WWW_AUTHENTICATE() { + return "www-authenticate"; + }, + /*_http.HttpHeaders.cookieHeader*/get cookieHeader() { + return "cookie"; + }, + /*_http.HttpHeaders.setCookieHeader*/get setCookieHeader() { + return "set-cookie"; + }, + /*_http.HttpHeaders.COOKIE*/get COOKIE() { + return "cookie"; + }, + /*_http.HttpHeaders.SET_COOKIE*/get SET_COOKIE() { + return "set-cookie"; + }, + /*_http.HttpHeaders.generalHeaders*/get generalHeaders() { + return C[448] || CT.C448; + }, + /*_http.HttpHeaders.GENERAL_HEADERS*/get GENERAL_HEADERS() { + return C[448] || CT.C448; + }, + /*_http.HttpHeaders.entityHeaders*/get entityHeaders() { + return C[449] || CT.C449; + }, + /*_http.HttpHeaders.ENTITY_HEADERS*/get ENTITY_HEADERS() { + return C[449] || CT.C449; + }, + /*_http.HttpHeaders.responseHeaders*/get responseHeaders() { + return C[450] || CT.C450; + }, + /*_http.HttpHeaders.RESPONSE_HEADERS*/get RESPONSE_HEADERS() { + return C[450] || CT.C450; + }, + /*_http.HttpHeaders.requestHeaders*/get requestHeaders() { + return C[451] || CT.C451; + }, + /*_http.HttpHeaders.REQUEST_HEADERS*/get REQUEST_HEADERS() { + return C[451] || CT.C451; + } + }, false); + _http.HeaderValue = class HeaderValue extends core.Object { + static new(value = "", parameters = C[452] || CT.C452) { + if (value == null) dart.nullFailed(I[176], 805, 15, "value"); + if (parameters == null) dart.nullFailed(I[176], 805, 48, "parameters"); + return new _http._HeaderValue.new(value, parameters); + } + static parse(value, opts) { + if (value == null) dart.nullFailed(I[176], 813, 35, "value"); + let parameterSeparator = opts && 'parameterSeparator' in opts ? opts.parameterSeparator : ";"; + if (parameterSeparator == null) dart.nullFailed(I[176], 814, 15, "parameterSeparator"); + let valueSeparator = opts && 'valueSeparator' in opts ? opts.valueSeparator : null; + let preserveBackslash = opts && 'preserveBackslash' in opts ? opts.preserveBackslash : false; + if (preserveBackslash == null) dart.nullFailed(I[176], 816, 12, "preserveBackslash"); + return _http._HeaderValue.parse(value, {parameterSeparator: parameterSeparator, valueSeparator: valueSeparator, preserveBackslash: preserveBackslash}); + } + }; + (_http.HeaderValue[dart.mixinNew] = function() { + }).prototype = _http.HeaderValue.prototype; + dart.addTypeTests(_http.HeaderValue); + dart.addTypeCaches(_http.HeaderValue); + dart.setLibraryUri(_http.HeaderValue, I[177]); + _http.HttpSession = class HttpSession extends core.Object {}; + (_http.HttpSession.new = function() { + ; + }).prototype = _http.HttpSession.prototype; + _http.HttpSession.prototype[dart.isMap] = true; + dart.addTypeTests(_http.HttpSession); + dart.addTypeCaches(_http.HttpSession); + _http.HttpSession[dart.implements] = () => [core.Map]; + dart.setLibraryUri(_http.HttpSession, I[177]); + _http.ContentType = class ContentType extends core.Object { + static new(primaryType, subType, opts) { + if (primaryType == null) dart.nullFailed(I[176], 923, 30, "primaryType"); + if (subType == null) dart.nullFailed(I[176], 923, 50, "subType"); + let charset = opts && 'charset' in opts ? opts.charset : null; + let parameters = opts && 'parameters' in opts ? opts.parameters : C[452] || CT.C452; + if (parameters == null) dart.nullFailed(I[176], 924, 46, "parameters"); + return new _http._ContentType.new(primaryType, subType, charset, parameters); + } + static parse(value) { + if (value == null) dart.nullFailed(I[176], 941, 35, "value"); + return _http._ContentType.parse(value); + } + }; + (_http.ContentType[dart.mixinNew] = function() { + }).prototype = _http.ContentType.prototype; + dart.addTypeTests(_http.ContentType); + dart.addTypeCaches(_http.ContentType); + _http.ContentType[dart.implements] = () => [_http.HeaderValue]; + dart.setLibraryUri(_http.ContentType, I[177]); + dart.defineLazy(_http.ContentType, { + /*_http.ContentType.text*/get text() { + return _http.ContentType.new("text", "plain", {charset: "utf-8"}); + }, + /*_http.ContentType.TEXT*/get TEXT() { + return _http.ContentType.text; + }, + /*_http.ContentType.html*/get html() { + return _http.ContentType.new("text", "html", {charset: "utf-8"}); + }, + /*_http.ContentType.HTML*/get HTML() { + return _http.ContentType.html; + }, + /*_http.ContentType.json*/get json() { + return _http.ContentType.new("application", "json", {charset: "utf-8"}); + }, + /*_http.ContentType.JSON*/get JSON() { + return _http.ContentType.json; + }, + /*_http.ContentType.binary*/get binary() { + return _http.ContentType.new("application", "octet-stream"); + }, + /*_http.ContentType.BINARY*/get BINARY() { + return _http.ContentType.binary; + } + }, false); + var expires$ = dart.privateName(_http, "Cookie.expires"); + var maxAge = dart.privateName(_http, "Cookie.maxAge"); + var domain = dart.privateName(_http, "Cookie.domain"); + var path = dart.privateName(_http, "Cookie.path"); + var secure = dart.privateName(_http, "Cookie.secure"); + var httpOnly = dart.privateName(_http, "Cookie.httpOnly"); + var __Cookie_name = dart.privateName(_http, "_#Cookie#name"); + var __Cookie_name_isSet = dart.privateName(_http, "_#Cookie#name#isSet"); + var __Cookie_value = dart.privateName(_http, "_#Cookie#value"); + var __Cookie_value_isSet = dart.privateName(_http, "_#Cookie#value#isSet"); + _http.Cookie = class Cookie extends core.Object { + get expires() { + return this[expires$]; + } + set expires(value) { + this[expires$] = value; + } + get maxAge() { + return this[maxAge]; + } + set maxAge(value) { + this[maxAge] = value; + } + get domain() { + return this[domain]; + } + set domain(value) { + this[domain] = value; + } + get path() { + return this[path]; + } + set path(value) { + this[path] = value; + } + get secure() { + return this[secure]; + } + set secure(value) { + this[secure] = value; + } + get httpOnly() { + return this[httpOnly]; + } + set httpOnly(value) { + this[httpOnly] = value; + } + get name() { + let t260; + return dart.test(this[__Cookie_name_isSet]) ? (t260 = this[__Cookie_name], t260) : dart.throw(new _internal.LateError.fieldNI("name")); + } + set name(t260) { + if (t260 == null) dart.nullFailed(I[176], 996, 15, "null"); + this[__Cookie_name_isSet] = true; + this[__Cookie_name] = t260; + } + get value() { + let t261; + return dart.test(this[__Cookie_value_isSet]) ? (t261 = this[__Cookie_value], t261) : dart.throw(new _internal.LateError.fieldNI("value")); + } + set value(t261) { + if (t261 == null) dart.nullFailed(I[176], 1009, 15, "null"); + this[__Cookie_value_isSet] = true; + this[__Cookie_value] = t261; + } + static new(name, value) { + if (name == null) dart.nullFailed(I[176], 1051, 25, "name"); + if (value == null) dart.nullFailed(I[176], 1051, 38, "value"); + return new _http._Cookie.new(name, value); + } + static fromSetCookieValue(value) { + if (value == null) dart.nullFailed(I[176], 1057, 44, "value"); + return new _http._Cookie.fromSetCookieValue(value); + } + }; + (_http.Cookie[dart.mixinNew] = function() { + this[__Cookie_name] = null; + this[__Cookie_name_isSet] = false; + this[__Cookie_value] = null; + this[__Cookie_value_isSet] = false; + this[expires$] = null; + this[maxAge] = null; + this[domain] = null; + this[path] = null; + this[secure] = false; + this[httpOnly] = false; + }).prototype = _http.Cookie.prototype; + dart.addTypeTests(_http.Cookie); + dart.addTypeCaches(_http.Cookie); + dart.setGetterSignature(_http.Cookie, () => ({ + __proto__: dart.getGetters(_http.Cookie.__proto__), + name: core.String, + value: core.String + })); + dart.setSetterSignature(_http.Cookie, () => ({ + __proto__: dart.getSetters(_http.Cookie.__proto__), + name: core.String, + value: core.String + })); + dart.setLibraryUri(_http.Cookie, I[177]); + dart.setFieldSignature(_http.Cookie, () => ({ + __proto__: dart.getFields(_http.Cookie.__proto__), + [__Cookie_name]: dart.fieldType(dart.nullable(core.String)), + [__Cookie_name_isSet]: dart.fieldType(core.bool), + [__Cookie_value]: dart.fieldType(dart.nullable(core.String)), + [__Cookie_value_isSet]: dart.fieldType(core.bool), + expires: dart.fieldType(dart.nullable(core.DateTime)), + maxAge: dart.fieldType(dart.nullable(core.int)), + domain: dart.fieldType(dart.nullable(core.String)), + path: dart.fieldType(dart.nullable(core.String)), + secure: dart.fieldType(core.bool), + httpOnly: dart.fieldType(core.bool) + })); + _http.HttpRequest = class HttpRequest extends core.Object {}; + (_http.HttpRequest.new = function() { + ; + }).prototype = _http.HttpRequest.prototype; + _http.HttpRequest.prototype[dart.isStream] = true; + dart.addTypeTests(_http.HttpRequest); + dart.addTypeCaches(_http.HttpRequest); + _http.HttpRequest[dart.implements] = () => [async.Stream$(typed_data.Uint8List)]; + dart.setLibraryUri(_http.HttpRequest, I[177]); + var contentLength$ = dart.privateName(_http, "HttpResponse.contentLength"); + var statusCode = dart.privateName(_http, "HttpResponse.statusCode"); + var deadline = dart.privateName(_http, "HttpResponse.deadline"); + var bufferOutput = dart.privateName(_http, "HttpResponse.bufferOutput"); + var __HttpResponse_reasonPhrase = dart.privateName(_http, "_#HttpResponse#reasonPhrase"); + var __HttpResponse_reasonPhrase_isSet = dart.privateName(_http, "_#HttpResponse#reasonPhrase#isSet"); + var __HttpResponse_persistentConnection = dart.privateName(_http, "_#HttpResponse#persistentConnection"); + var __HttpResponse_persistentConnection_isSet = dart.privateName(_http, "_#HttpResponse#persistentConnection#isSet"); + _http.HttpResponse = class HttpResponse extends core.Object { + get contentLength() { + return this[contentLength$]; + } + set contentLength(value) { + this[contentLength$] = value; + } + get statusCode() { + return this[statusCode]; + } + set statusCode(value) { + this[statusCode] = value; + } + get deadline() { + return this[deadline]; + } + set deadline(value) { + this[deadline] = value; + } + get bufferOutput() { + return this[bufferOutput]; + } + set bufferOutput(value) { + this[bufferOutput] = value; + } + get reasonPhrase() { + let t262; + return dart.test(this[__HttpResponse_reasonPhrase_isSet]) ? (t262 = this[__HttpResponse_reasonPhrase], t262) : dart.throw(new _internal.LateError.fieldNI("reasonPhrase")); + } + set reasonPhrase(t262) { + if (t262 == null) dart.nullFailed(I[176], 1295, 15, "null"); + this[__HttpResponse_reasonPhrase_isSet] = true; + this[__HttpResponse_reasonPhrase] = t262; + } + get persistentConnection() { + let t263; + return dart.test(this[__HttpResponse_persistentConnection_isSet]) ? (t263 = this[__HttpResponse_persistentConnection], t263) : dart.throw(new _internal.LateError.fieldNI("persistentConnection")); + } + set persistentConnection(t263) { + if (t263 == null) dart.nullFailed(I[176], 1302, 13, "null"); + this[__HttpResponse_persistentConnection_isSet] = true; + this[__HttpResponse_persistentConnection] = t263; + } + }; + (_http.HttpResponse.new = function() { + this[contentLength$] = -1; + this[statusCode] = 200; + this[__HttpResponse_reasonPhrase] = null; + this[__HttpResponse_reasonPhrase_isSet] = false; + this[__HttpResponse_persistentConnection] = null; + this[__HttpResponse_persistentConnection_isSet] = false; + this[deadline] = null; + this[bufferOutput] = true; + ; + }).prototype = _http.HttpResponse.prototype; + dart.addTypeTests(_http.HttpResponse); + dart.addTypeCaches(_http.HttpResponse); + _http.HttpResponse[dart.implements] = () => [io.IOSink]; + dart.setGetterSignature(_http.HttpResponse, () => ({ + __proto__: dart.getGetters(_http.HttpResponse.__proto__), + reasonPhrase: core.String, + persistentConnection: core.bool + })); + dart.setSetterSignature(_http.HttpResponse, () => ({ + __proto__: dart.getSetters(_http.HttpResponse.__proto__), + reasonPhrase: core.String, + persistentConnection: core.bool + })); + dart.setLibraryUri(_http.HttpResponse, I[177]); + dart.setFieldSignature(_http.HttpResponse, () => ({ + __proto__: dart.getFields(_http.HttpResponse.__proto__), + contentLength: dart.fieldType(core.int), + statusCode: dart.fieldType(core.int), + [__HttpResponse_reasonPhrase]: dart.fieldType(dart.nullable(core.String)), + [__HttpResponse_reasonPhrase_isSet]: dart.fieldType(core.bool), + [__HttpResponse_persistentConnection]: dart.fieldType(dart.nullable(core.bool)), + [__HttpResponse_persistentConnection_isSet]: dart.fieldType(core.bool), + deadline: dart.fieldType(dart.nullable(core.Duration)), + bufferOutput: dart.fieldType(core.bool) + })); + var idleTimeout$ = dart.privateName(_http, "HttpClient.idleTimeout"); + var connectionTimeout = dart.privateName(_http, "HttpClient.connectionTimeout"); + var maxConnectionsPerHost = dart.privateName(_http, "HttpClient.maxConnectionsPerHost"); + var autoUncompress = dart.privateName(_http, "HttpClient.autoUncompress"); + var userAgent = dart.privateName(_http, "HttpClient.userAgent"); + _http.HttpClient = class HttpClient extends core.Object { + get idleTimeout() { + return this[idleTimeout$]; + } + set idleTimeout(value) { + this[idleTimeout$] = value; + } + get connectionTimeout() { + return this[connectionTimeout]; + } + set connectionTimeout(value) { + this[connectionTimeout] = value; + } + get maxConnectionsPerHost() { + return this[maxConnectionsPerHost]; + } + set maxConnectionsPerHost(value) { + this[maxConnectionsPerHost] = value; + } + get autoUncompress() { + return this[autoUncompress]; + } + set autoUncompress(value) { + this[autoUncompress] = value; + } + get userAgent() { + return this[userAgent]; + } + set userAgent(value) { + this[userAgent] = value; + } + static set enableTimelineLogging(value) { + if (value == null) dart.nullFailed(I[176], 1476, 41, "value"); + let enabled = _internal.valueOfNonNullableParamWithDefault(core.bool, value, false); + if (enabled != _http.HttpClient._enableTimelineLogging) { + developer.postEvent("HttpTimelineLoggingStateChange", new _js_helper.LinkedMap.from(["isolateId", developer.Service.getIsolateID(isolate$.Isolate.current), "enabled", enabled])); + } + _http.HttpClient._enableTimelineLogging = enabled; + } + static get enableTimelineLogging() { + return _http.HttpClient._enableTimelineLogging; + } + static new(opts) { + let context = opts && 'context' in opts ? opts.context : null; + let overrides = _http.HttpOverrides.current; + if (overrides == null) { + return new _http._HttpClient.new(context); + } + return overrides.createHttpClient(context); + } + static findProxyFromEnvironment(url, opts) { + if (url == null) dart.nullFailed(I[176], 1829, 46, "url"); + let environment = opts && 'environment' in opts ? opts.environment : null; + let overrides = _http.HttpOverrides.current; + if (overrides == null) { + return _http._HttpClient._findProxyFromEnvironment(url, environment); + } + return overrides.findProxyFromEnvironment(url, environment); + } + }; + (_http.HttpClient[dart.mixinNew] = function() { + this[idleTimeout$] = C[453] || CT.C453; + this[connectionTimeout] = null; + this[maxConnectionsPerHost] = null; + this[autoUncompress] = true; + this[userAgent] = null; + }).prototype = _http.HttpClient.prototype; + dart.addTypeTests(_http.HttpClient); + dart.addTypeCaches(_http.HttpClient); + dart.setLibraryUri(_http.HttpClient, I[177]); + dart.setFieldSignature(_http.HttpClient, () => ({ + __proto__: dart.getFields(_http.HttpClient.__proto__), + idleTimeout: dart.fieldType(core.Duration), + connectionTimeout: dart.fieldType(dart.nullable(core.Duration)), + maxConnectionsPerHost: dart.fieldType(dart.nullable(core.int)), + autoUncompress: dart.fieldType(core.bool), + userAgent: dart.fieldType(dart.nullable(core.String)) + })); + dart.defineLazy(_http.HttpClient, { + /*_http.HttpClient.defaultHttpPort*/get defaultHttpPort() { + return 80; + }, + /*_http.HttpClient.DEFAULT_HTTP_PORT*/get DEFAULT_HTTP_PORT() { + return 80; + }, + /*_http.HttpClient.defaultHttpsPort*/get defaultHttpsPort() { + return 443; + }, + /*_http.HttpClient.DEFAULT_HTTPS_PORT*/get DEFAULT_HTTPS_PORT() { + return 443; + }, + /*_http.HttpClient._enableTimelineLogging*/get _enableTimelineLogging() { + return false; + }, + set _enableTimelineLogging(_) {} + }, false); + var persistentConnection = dart.privateName(_http, "HttpClientRequest.persistentConnection"); + var followRedirects = dart.privateName(_http, "HttpClientRequest.followRedirects"); + var maxRedirects = dart.privateName(_http, "HttpClientRequest.maxRedirects"); + var contentLength$0 = dart.privateName(_http, "HttpClientRequest.contentLength"); + var bufferOutput$ = dart.privateName(_http, "HttpClientRequest.bufferOutput"); + _http.HttpClientRequest = class HttpClientRequest extends core.Object { + get persistentConnection() { + return this[persistentConnection]; + } + set persistentConnection(value) { + this[persistentConnection] = value; + } + get followRedirects() { + return this[followRedirects]; + } + set followRedirects(value) { + this[followRedirects] = value; + } + get maxRedirects() { + return this[maxRedirects]; + } + set maxRedirects(value) { + this[maxRedirects] = value; + } + get contentLength() { + return this[contentLength$0]; + } + set contentLength(value) { + this[contentLength$0] = value; + } + get bufferOutput() { + return this[bufferOutput$]; + } + set bufferOutput(value) { + this[bufferOutput$] = value; + } + }; + (_http.HttpClientRequest.new = function() { + this[persistentConnection] = true; + this[followRedirects] = true; + this[maxRedirects] = 5; + this[contentLength$0] = -1; + this[bufferOutput$] = true; + ; + }).prototype = _http.HttpClientRequest.prototype; + dart.addTypeTests(_http.HttpClientRequest); + dart.addTypeCaches(_http.HttpClientRequest); + _http.HttpClientRequest[dart.implements] = () => [io.IOSink]; + dart.setLibraryUri(_http.HttpClientRequest, I[177]); + dart.setFieldSignature(_http.HttpClientRequest, () => ({ + __proto__: dart.getFields(_http.HttpClientRequest.__proto__), + persistentConnection: dart.fieldType(core.bool), + followRedirects: dart.fieldType(core.bool), + maxRedirects: dart.fieldType(core.int), + contentLength: dart.fieldType(core.int), + bufferOutput: dart.fieldType(core.bool) + })); + _http.HttpClientResponse = class HttpClientResponse extends core.Object {}; + (_http.HttpClientResponse.new = function() { + ; + }).prototype = _http.HttpClientResponse.prototype; + _http.HttpClientResponse.prototype[dart.isStream] = true; + dart.addTypeTests(_http.HttpClientResponse); + dart.addTypeCaches(_http.HttpClientResponse); + _http.HttpClientResponse[dart.implements] = () => [async.Stream$(core.List$(core.int))]; + dart.setLibraryUri(_http.HttpClientResponse, I[177]); + var _name$7 = dart.privateName(_http, "_name"); + _http.HttpClientResponseCompressionState = class HttpClientResponseCompressionState extends core.Object { + toString() { + return this[_name$7]; + } + }; + (_http.HttpClientResponseCompressionState.new = function(index, _name) { + if (index == null) dart.nullFailed(I[176], 2198, 6, "index"); + if (_name == null) dart.nullFailed(I[176], 2198, 6, "_name"); + this.index = index; + this[_name$7] = _name; + ; + }).prototype = _http.HttpClientResponseCompressionState.prototype; + dart.addTypeTests(_http.HttpClientResponseCompressionState); + dart.addTypeCaches(_http.HttpClientResponseCompressionState); + dart.setLibraryUri(_http.HttpClientResponseCompressionState, I[177]); + dart.setFieldSignature(_http.HttpClientResponseCompressionState, () => ({ + __proto__: dart.getFields(_http.HttpClientResponseCompressionState.__proto__), + index: dart.finalFieldType(core.int), + [_name$7]: dart.finalFieldType(core.String) + })); + dart.defineExtensionMethods(_http.HttpClientResponseCompressionState, ['toString']); + _http.HttpClientResponseCompressionState.notCompressed = C[454] || CT.C454; + _http.HttpClientResponseCompressionState.decompressed = C[455] || CT.C455; + _http.HttpClientResponseCompressionState.compressed = C[456] || CT.C456; + _http.HttpClientResponseCompressionState.values = C[457] || CT.C457; + _http.HttpClientCredentials = class HttpClientCredentials extends core.Object {}; + (_http.HttpClientCredentials.new = function() { + ; + }).prototype = _http.HttpClientCredentials.prototype; + dart.addTypeTests(_http.HttpClientCredentials); + dart.addTypeCaches(_http.HttpClientCredentials); + dart.setLibraryUri(_http.HttpClientCredentials, I[177]); + _http.HttpClientBasicCredentials = class HttpClientBasicCredentials extends _http.HttpClientCredentials { + static new(username, password) { + if (username == null) dart.nullFailed(I[176], 2236, 45, "username"); + if (password == null) dart.nullFailed(I[176], 2236, 62, "password"); + return new _http._HttpClientBasicCredentials.new(username, password); + } + }; + dart.addTypeTests(_http.HttpClientBasicCredentials); + dart.addTypeCaches(_http.HttpClientBasicCredentials); + dart.setLibraryUri(_http.HttpClientBasicCredentials, I[177]); + _http.HttpClientDigestCredentials = class HttpClientDigestCredentials extends _http.HttpClientCredentials { + static new(username, password) { + if (username == null) dart.nullFailed(I[176], 2247, 46, "username"); + if (password == null) dart.nullFailed(I[176], 2247, 63, "password"); + return new _http._HttpClientDigestCredentials.new(username, password); + } + }; + dart.addTypeTests(_http.HttpClientDigestCredentials); + dart.addTypeCaches(_http.HttpClientDigestCredentials); + dart.setLibraryUri(_http.HttpClientDigestCredentials, I[177]); + _http.HttpConnectionInfo = class HttpConnectionInfo extends core.Object {}; + (_http.HttpConnectionInfo.new = function() { + ; + }).prototype = _http.HttpConnectionInfo.prototype; + dart.addTypeTests(_http.HttpConnectionInfo); + dart.addTypeCaches(_http.HttpConnectionInfo); + dart.setLibraryUri(_http.HttpConnectionInfo, I[177]); + _http.RedirectInfo = class RedirectInfo extends core.Object {}; + (_http.RedirectInfo.new = function() { + ; + }).prototype = _http.RedirectInfo.prototype; + dart.addTypeTests(_http.RedirectInfo); + dart.addTypeCaches(_http.RedirectInfo); + dart.setLibraryUri(_http.RedirectInfo, I[177]); + _http.DetachedSocket = class DetachedSocket extends core.Object {}; + (_http.DetachedSocket.new = function() { + ; + }).prototype = _http.DetachedSocket.prototype; + dart.addTypeTests(_http.DetachedSocket); + dart.addTypeCaches(_http.DetachedSocket); + dart.setLibraryUri(_http.DetachedSocket, I[177]); + var message$17 = dart.privateName(_http, "HttpException.message"); + var uri$0 = dart.privateName(_http, "HttpException.uri"); + _http.HttpException = class HttpException extends core.Object { + get message() { + return this[message$17]; + } + set message(value) { + super.message = value; + } + get uri() { + return this[uri$0]; + } + set uri(value) { + super.uri = value; + } + toString() { + let t264; + let b = (t264 = new core.StringBuffer.new(), (() => { + t264.write("HttpException: "); + t264.write(this.message); + return t264; + })()); + let uri = this.uri; + if (uri != null) { + b.write(", uri = " + dart.str(uri)); + } + return dart.toString(b); + } + }; + (_http.HttpException.new = function(message, opts) { + if (message == null) dart.nullFailed(I[176], 2297, 28, "message"); + let uri = opts && 'uri' in opts ? opts.uri : null; + this[message$17] = message; + this[uri$0] = uri; + ; + }).prototype = _http.HttpException.prototype; + dart.addTypeTests(_http.HttpException); + dart.addTypeCaches(_http.HttpException); + _http.HttpException[dart.implements] = () => [io.IOException]; + dart.setLibraryUri(_http.HttpException, I[177]); + dart.setFieldSignature(_http.HttpException, () => ({ + __proto__: dart.getFields(_http.HttpException.__proto__), + message: dart.finalFieldType(core.String), + uri: dart.finalFieldType(dart.nullable(core.Uri)) + })); + dart.defineExtensionMethods(_http.HttpException, ['toString']); + var message$18 = dart.privateName(_http, "RedirectException.message"); + var redirects$ = dart.privateName(_http, "RedirectException.redirects"); + _http.RedirectException = class RedirectException extends core.Object { + get message() { + return this[message$18]; + } + set message(value) { + super.message = value; + } + get redirects() { + return this[redirects$]; + } + set redirects(value) { + super.redirects = value; + } + toString() { + return "RedirectException: " + dart.str(this.message); + } + get uri() { + return this.redirects[$last].location; + } + }; + (_http.RedirectException.new = function(message, redirects) { + if (message == null) dart.nullFailed(I[176], 2313, 32, "message"); + if (redirects == null) dart.nullFailed(I[176], 2313, 46, "redirects"); + this[message$18] = message; + this[redirects$] = redirects; + ; + }).prototype = _http.RedirectException.prototype; + dart.addTypeTests(_http.RedirectException); + dart.addTypeCaches(_http.RedirectException); + _http.RedirectException[dart.implements] = () => [_http.HttpException]; + dart.setGetterSignature(_http.RedirectException, () => ({ + __proto__: dart.getGetters(_http.RedirectException.__proto__), + uri: core.Uri + })); + dart.setLibraryUri(_http.RedirectException, I[177]); + dart.setFieldSignature(_http.RedirectException, () => ({ + __proto__: dart.getFields(_http.RedirectException.__proto__), + message: dart.finalFieldType(core.String), + redirects: dart.finalFieldType(core.List$(_http.RedirectInfo)) + })); + dart.defineExtensionMethods(_http.RedirectException, ['toString']); + _http._CryptoUtils = class _CryptoUtils extends core.Object { + static getRandomBytes(count) { + if (count == null) dart.nullFailed(I[178], 45, 39, "count"); + let result = _native_typed_data.NativeUint8List.new(count); + for (let i = 0; i < dart.notNull(count); i = i + 1) { + result[$_set](i, _http._CryptoUtils._rng.nextInt(255)); + } + return result; + } + static bytesToHex(bytes) { + if (bytes == null) dart.nullFailed(I[178], 53, 38, "bytes"); + let result = new core.StringBuffer.new(); + for (let part of bytes) { + result.write((dart.notNull(part) < 16 ? "0" : "") + part[$toRadixString](16)); + } + return result.toString(); + } + static bytesToBase64(bytes, urlSafe = false, addLineSeparator = false) { + let t264, t264$, t264$0, t264$1, t264$2, t264$3, t264$4, t264$5, t264$6, t264$7, t264$8, t264$9, t264$10, t264$11, t264$12, t264$13, t264$14; + if (bytes == null) dart.nullFailed(I[178], 61, 41, "bytes"); + if (urlSafe == null) dart.nullFailed(I[178], 62, 13, "urlSafe"); + if (addLineSeparator == null) dart.nullFailed(I[178], 62, 35, "addLineSeparator"); + let len = bytes[$length]; + if (len === 0) { + return ""; + } + let lookup = dart.test(urlSafe) ? _http._CryptoUtils._encodeTableUrlSafe : _http._CryptoUtils._encodeTable; + let remainderLength = len[$remainder](3); + let chunkLength = dart.notNull(len) - remainderLength; + let outputLen = (dart.notNull(len) / 3)[$truncate]() * 4 + (remainderLength > 0 ? 4 : 0); + if (dart.test(addLineSeparator)) { + outputLen = outputLen + (((outputLen - 1) / 76)[$truncate]() << 1 >>> 0); + } + let out = T$0.ListOfint().filled(outputLen, 0); + let j = 0; + let i = 0; + let c = 0; + while (i < chunkLength) { + let x = (dart.notNull(bytes[$_get]((t264 = i, i = t264 + 1, t264))) << 16 & 16777215 | dart.notNull(bytes[$_get]((t264$ = i, i = t264$ + 1, t264$))) << 8 & 16777215 | dart.notNull(bytes[$_get]((t264$0 = i, i = t264$0 + 1, t264$0)))) >>> 0; + out[$_set]((t264$1 = j, j = t264$1 + 1, t264$1), lookup[$codeUnitAt](x[$rightShift](18))); + out[$_set]((t264$2 = j, j = t264$2 + 1, t264$2), lookup[$codeUnitAt](x >> 12 & 63)); + out[$_set]((t264$3 = j, j = t264$3 + 1, t264$3), lookup[$codeUnitAt](x >> 6 & 63)); + out[$_set]((t264$4 = j, j = t264$4 + 1, t264$4), lookup[$codeUnitAt](x & 63)); + if (dart.test(addLineSeparator) && (c = c + 1) === 19 && j < outputLen - 2) { + out[$_set]((t264$5 = j, j = t264$5 + 1, t264$5), 13); + out[$_set]((t264$6 = j, j = t264$6 + 1, t264$6), 10); + c = 0; + } + } + if (remainderLength === 1) { + let x = bytes[$_get](i); + out[$_set]((t264$7 = j, j = t264$7 + 1, t264$7), lookup[$codeUnitAt](x[$rightShift](2))); + out[$_set]((t264$8 = j, j = t264$8 + 1, t264$8), lookup[$codeUnitAt](dart.notNull(x) << 4 & 63)); + out[$_set]((t264$9 = j, j = t264$9 + 1, t264$9), 61); + out[$_set]((t264$10 = j, j = t264$10 + 1, t264$10), 61); + } else if (remainderLength === 2) { + let x = bytes[$_get](i); + let y = bytes[$_get](i + 1); + out[$_set]((t264$11 = j, j = t264$11 + 1, t264$11), lookup[$codeUnitAt](x[$rightShift](2))); + out[$_set]((t264$12 = j, j = t264$12 + 1, t264$12), lookup[$codeUnitAt]((dart.notNull(x) << 4 | y[$rightShift](4)) & 63)); + out[$_set]((t264$13 = j, j = t264$13 + 1, t264$13), lookup[$codeUnitAt](dart.notNull(y) << 2 & 63)); + out[$_set]((t264$14 = j, j = t264$14 + 1, t264$14), 61); + } + return core.String.fromCharCodes(out); + } + static base64StringToBytes(input, ignoreInvalidCharacters = true) { + let t264, t264$, t264$0, t264$1; + if (input == null) dart.nullFailed(I[178], 117, 47, "input"); + if (ignoreInvalidCharacters == null) dart.nullFailed(I[178], 118, 13, "ignoreInvalidCharacters"); + let len = input.length; + if (len === 0) { + return T$0.ListOfint().empty(); + } + let extrasLen = 0; + for (let i = 0; i < len; i = i + 1) { + let c = _http._CryptoUtils._decodeTable[$_get](input[$codeUnitAt](i)); + if (dart.notNull(c) < 0) { + extrasLen = extrasLen + 1; + if (c === -2 && !dart.test(ignoreInvalidCharacters)) { + dart.throw(new core.FormatException.new("Invalid character: " + input[$_get](i))); + } + } + } + if ((len - extrasLen)[$modulo](4) !== 0) { + dart.throw(new core.FormatException.new("Size of Base 64 characters in Input\n must be a multiple of 4. Input: " + dart.str(input))); + } + let padLength = 0; + for (let i = len - 1; i >= 0; i = i - 1) { + let currentCodeUnit = input[$codeUnitAt](i); + if (dart.notNull(_http._CryptoUtils._decodeTable[$_get](currentCodeUnit)) > 0) break; + if (currentCodeUnit === 61) padLength = padLength + 1; + } + let outputLen = ((len - extrasLen) * 6)[$rightShift](3) - padLength; + let out = T$0.ListOfint().filled(outputLen, 0); + for (let i = 0, o = 0; o < outputLen;) { + let x = 0; + for (let j = 4; j > 0;) { + let c = _http._CryptoUtils._decodeTable[$_get](input[$codeUnitAt]((t264 = i, i = t264 + 1, t264))); + if (dart.notNull(c) >= 0) { + x = (x << 6 & 16777215 | dart.notNull(c)) >>> 0; + j = j - 1; + } + } + out[$_set]((t264$ = o, o = t264$ + 1, t264$), x[$rightShift](16)); + if (o < outputLen) { + out[$_set]((t264$0 = o, o = t264$0 + 1, t264$0), x >> 8 & 255); + if (o < outputLen) out[$_set]((t264$1 = o, o = t264$1 + 1, t264$1), x & 255); + } + } + return out; + } + }; + (_http._CryptoUtils.new = function() { + ; + }).prototype = _http._CryptoUtils.prototype; + dart.addTypeTests(_http._CryptoUtils); + dart.addTypeCaches(_http._CryptoUtils); + dart.setLibraryUri(_http._CryptoUtils, I[177]); + dart.defineLazy(_http._CryptoUtils, { + /*_http._CryptoUtils.PAD*/get PAD() { + return 61; + }, + /*_http._CryptoUtils.CR*/get CR() { + return 13; + }, + /*_http._CryptoUtils.LF*/get LF() { + return 10; + }, + /*_http._CryptoUtils.LINE_LENGTH*/get LINE_LENGTH() { + return 76; + }, + /*_http._CryptoUtils._encodeTable*/get _encodeTable() { + return "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"; + }, + /*_http._CryptoUtils._encodeTableUrlSafe*/get _encodeTableUrlSafe() { + return "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"; + }, + /*_http._CryptoUtils._decodeTable*/get _decodeTable() { + return C[458] || CT.C458; + }, + /*_http._CryptoUtils._rng*/get _rng() { + return math.Random.secure(); + }, + set _rng(_) {} + }, false); + var _lengthInBytes = dart.privateName(_http, "_lengthInBytes"); + var _digestCalled = dart.privateName(_http, "_digestCalled"); + var _chunkSizeInWords$ = dart.privateName(_http, "_chunkSizeInWords"); + var _bigEndianWords$ = dart.privateName(_http, "_bigEndianWords"); + var _pendingData = dart.privateName(_http, "_pendingData"); + var _currentChunk = dart.privateName(_http, "_currentChunk"); + var _h = dart.privateName(_http, "_h"); + var _iterate = dart.privateName(_http, "_iterate"); + var _resultAsBytes = dart.privateName(_http, "_resultAsBytes"); + var _finalizeData = dart.privateName(_http, "_finalizeData"); + var _add32 = dart.privateName(_http, "_add32"); + var _roundUp = dart.privateName(_http, "_roundUp"); + var _rotl32 = dart.privateName(_http, "_rotl32"); + var _wordToBytes = dart.privateName(_http, "_wordToBytes"); + var _bytesToChunk = dart.privateName(_http, "_bytesToChunk"); + var _updateHash = dart.privateName(_http, "_updateHash"); + _http._HashBase = class _HashBase extends core.Object { + add(data) { + if (data == null) dart.nullFailed(I[178], 196, 17, "data"); + if (dart.test(this[_digestCalled])) { + dart.throw(new core.StateError.new("Hash update method called after digest was retrieved")); + } + this[_lengthInBytes] = dart.notNull(this[_lengthInBytes]) + dart.notNull(data[$length]); + this[_pendingData][$addAll](data); + this[_iterate](); + } + close() { + if (dart.test(this[_digestCalled])) { + return this[_resultAsBytes](); + } + this[_digestCalled] = true; + this[_finalizeData](); + this[_iterate](); + if (!(this[_pendingData][$length] === 0)) dart.assertFailed(null, I[178], 214, 12, "_pendingData.length == 0"); + return this[_resultAsBytes](); + } + get blockSize() { + return dart.notNull(this[_chunkSizeInWords$]) * 4; + } + [_add32](x, y) { + return dart.dsend(dart.dsend(x, '+', [y]), '&', [4294967295.0]); + } + [_roundUp](val, n) { + return dart.dsend(dart.dsend(dart.dsend(val, '+', [n]), '-', [1]), '&', [dart.dsend(n, '_negate', [])]); + } + [_rotl32](val, shift) { + if (val == null) dart.nullFailed(I[178], 234, 19, "val"); + if (shift == null) dart.nullFailed(I[178], 234, 28, "shift"); + let mod_shift = dart.notNull(shift) & 31; + return (val[$leftShift](mod_shift) & 4294967295.0 | ((dart.notNull(val) & 4294967295.0) >>> 0)[$rightShift](32 - mod_shift)) >>> 0; + } + [_resultAsBytes]() { + let result = T$.JSArrayOfint().of([]); + for (let i = 0; i < dart.notNull(this[_h][$length]); i = i + 1) { + result[$addAll](this[_wordToBytes](this[_h][$_get](i))); + } + return result; + } + [_bytesToChunk](data, dataIndex) { + if (data == null) dart.nullFailed(I[178], 250, 27, "data"); + if (dataIndex == null) dart.nullFailed(I[178], 250, 37, "dataIndex"); + if (!(dart.notNull(data[$length]) - dart.notNull(dataIndex) >= dart.notNull(this[_chunkSizeInWords$]) * 4)) dart.assertFailed(null, I[178], 251, 12, "(data.length - dataIndex) >= (_chunkSizeInWords * _BYTES_PER_WORD)"); + for (let wordIndex = 0; wordIndex < dart.notNull(this[_chunkSizeInWords$]); wordIndex = wordIndex + 1) { + let w3 = dart.test(this[_bigEndianWords$]) ? data[$_get](dataIndex) : data[$_get](dart.notNull(dataIndex) + 3); + let w2 = dart.test(this[_bigEndianWords$]) ? data[$_get](dart.notNull(dataIndex) + 1) : data[$_get](dart.notNull(dataIndex) + 2); + let w1 = dart.test(this[_bigEndianWords$]) ? data[$_get](dart.notNull(dataIndex) + 2) : data[$_get](dart.notNull(dataIndex) + 1); + let w0 = dart.test(this[_bigEndianWords$]) ? data[$_get](dart.notNull(dataIndex) + 3) : data[$_get](dataIndex); + dataIndex = dart.notNull(dataIndex) + 4; + let word = (dart.notNull(w3) & 255) << 24 >>> 0; + word = (word | (dart.notNull(w2) & 255) >>> 0 << 16 >>> 0) >>> 0; + word = (word | (dart.notNull(w1) & 255) >>> 0 << 8 >>> 0) >>> 0; + word = (word | (dart.notNull(w0) & 255) >>> 0) >>> 0; + this[_currentChunk][$_set](wordIndex, word); + } + } + [_wordToBytes](word) { + if (word == null) dart.nullFailed(I[178], 268, 30, "word"); + let bytes = T$0.ListOfint().filled(4, 0); + bytes[$_set](0, (word[$rightShift](dart.test(this[_bigEndianWords$]) ? 24 : 0) & 255) >>> 0); + bytes[$_set](1, (word[$rightShift](dart.test(this[_bigEndianWords$]) ? 16 : 8) & 255) >>> 0); + bytes[$_set](2, (word[$rightShift](dart.test(this[_bigEndianWords$]) ? 8 : 16) & 255) >>> 0); + bytes[$_set](3, (word[$rightShift](dart.test(this[_bigEndianWords$]) ? 0 : 24) & 255) >>> 0); + return bytes; + } + [_iterate]() { + let len = this[_pendingData][$length]; + let chunkSizeInBytes = dart.notNull(this[_chunkSizeInWords$]) * 4; + if (dart.notNull(len) >= chunkSizeInBytes) { + let index = 0; + for (; dart.notNull(len) - index >= chunkSizeInBytes; index = index + chunkSizeInBytes) { + this[_bytesToChunk](this[_pendingData], index); + this[_updateHash](this[_currentChunk]); + } + this[_pendingData] = this[_pendingData][$sublist](index, len); + } + } + [_finalizeData]() { + this[_pendingData][$add](128); + let contentsLength = dart.notNull(this[_lengthInBytes]) + 9; + let chunkSizeInBytes = dart.notNull(this[_chunkSizeInWords$]) * 4; + let finalizedLength = this[_roundUp](contentsLength, chunkSizeInBytes); + let zeroPadding = dart.dsend(finalizedLength, '-', [contentsLength]); + for (let i = 0; i < dart.notNull(core.num.as(zeroPadding)); i = i + 1) { + this[_pendingData][$add](0); + } + let lengthInBits = dart.notNull(this[_lengthInBytes]) * 8; + if (!(lengthInBits < math.pow(2, 32))) dart.assertFailed(null, I[178], 304, 12, "lengthInBits < pow(2, 32)"); + if (dart.test(this[_bigEndianWords$])) { + this[_pendingData][$addAll](this[_wordToBytes](0)); + this[_pendingData][$addAll](this[_wordToBytes]((lengthInBits & 4294967295.0) >>> 0)); + } else { + this[_pendingData][$addAll](this[_wordToBytes]((lengthInBits & 4294967295.0) >>> 0)); + this[_pendingData][$addAll](this[_wordToBytes](0)); + } + } + }; + (_http._HashBase.new = function(_chunkSizeInWords, digestSizeInWords, _bigEndianWords) { + if (_chunkSizeInWords == null) dart.nullFailed(I[178], 190, 18, "_chunkSizeInWords"); + if (digestSizeInWords == null) dart.nullFailed(I[178], 190, 41, "digestSizeInWords"); + if (_bigEndianWords == null) dart.nullFailed(I[178], 190, 65, "_bigEndianWords"); + this[_lengthInBytes] = 0; + this[_digestCalled] = false; + this[_chunkSizeInWords$] = _chunkSizeInWords; + this[_bigEndianWords$] = _bigEndianWords; + this[_pendingData] = T$.JSArrayOfint().of([]); + this[_currentChunk] = T$0.ListOfint().filled(_chunkSizeInWords, 0); + this[_h] = T$0.ListOfint().filled(digestSizeInWords, 0); + ; + }).prototype = _http._HashBase.prototype; + dart.addTypeTests(_http._HashBase); + dart.addTypeCaches(_http._HashBase); + dart.setMethodSignature(_http._HashBase, () => ({ + __proto__: dart.getMethods(_http._HashBase.__proto__), + add: dart.fnType(dart.dynamic, [core.List$(core.int)]), + close: dart.fnType(core.List$(core.int), []), + [_add32]: dart.fnType(dart.dynamic, [dart.dynamic, dart.dynamic]), + [_roundUp]: dart.fnType(dart.dynamic, [dart.dynamic, dart.dynamic]), + [_rotl32]: dart.fnType(core.int, [core.int, core.int]), + [_resultAsBytes]: dart.fnType(core.List$(core.int), []), + [_bytesToChunk]: dart.fnType(dart.dynamic, [core.List$(core.int), core.int]), + [_wordToBytes]: dart.fnType(core.List$(core.int), [core.int]), + [_iterate]: dart.fnType(dart.dynamic, []), + [_finalizeData]: dart.fnType(dart.dynamic, []) + })); + dart.setGetterSignature(_http._HashBase, () => ({ + __proto__: dart.getGetters(_http._HashBase.__proto__), + blockSize: core.int + })); + dart.setLibraryUri(_http._HashBase, I[177]); + dart.setFieldSignature(_http._HashBase, () => ({ + __proto__: dart.getFields(_http._HashBase.__proto__), + [_chunkSizeInWords$]: dart.finalFieldType(core.int), + [_bigEndianWords$]: dart.finalFieldType(core.bool), + [_lengthInBytes]: dart.fieldType(core.int), + [_pendingData]: dart.fieldType(core.List$(core.int)), + [_currentChunk]: dart.fieldType(core.List$(core.int)), + [_h]: dart.fieldType(core.List$(core.int)), + [_digestCalled]: dart.fieldType(core.bool) + })); + _http._MD5 = class _MD5 extends _http._HashBase { + newInstance() { + return new _http._MD5.new(); + } + [_updateHash](m) { + if (m == null) dart.nullFailed(I[178], 352, 30, "m"); + if (!(m[$length] === 16)) dart.assertFailed(null, I[178], 353, 12, "m.length == 16"); + let a = this[_h][$_get](0); + let b = this[_h][$_get](1); + let c = this[_h][$_get](2); + let d = this[_h][$_get](3); + let t0 = null; + let t1 = null; + for (let i = 0; i < 64; i = i + 1) { + if (i < 16) { + t0 = (dart.notNull(b) & dart.notNull(c) | (~dart.notNull(b) & 4294967295.0 & dart.notNull(d)) >>> 0) >>> 0; + t1 = i; + } else if (i < 32) { + t0 = (dart.notNull(d) & dart.notNull(b) | (~dart.notNull(d) & 4294967295.0 & dart.notNull(c)) >>> 0) >>> 0; + t1 = (5 * i + 1)[$modulo](16); + } else if (i < 48) { + t0 = (dart.notNull(b) ^ dart.notNull(c) ^ dart.notNull(d)) >>> 0; + t1 = (3 * i + 5)[$modulo](16); + } else { + t0 = (dart.notNull(c) ^ (dart.notNull(b) | (~dart.notNull(d) & 4294967295.0) >>> 0) >>> 0) >>> 0; + t1 = (7 * i)[$modulo](16); + } + let temp = d; + d = c; + c = b; + b = core.int.as(this[_add32](b, this[_rotl32](core.int.as(this[_add32](this[_add32](a, t0), this[_add32](_http._MD5._k[$_get](i), m[$_get](core.int.as(t1))))), _http._MD5._r[$_get](i)))); + a = temp; + } + this[_h][$_set](0, core.int.as(this[_add32](a, this[_h][$_get](0)))); + this[_h][$_set](1, core.int.as(this[_add32](b, this[_h][$_get](1)))); + this[_h][$_set](2, core.int.as(this[_add32](c, this[_h][$_get](2)))); + this[_h][$_set](3, core.int.as(this[_add32](d, this[_h][$_get](3)))); + } + }; + (_http._MD5.new = function() { + _http._MD5.__proto__.new.call(this, 16, 4, false); + this[_h][$_set](0, 1732584193); + this[_h][$_set](1, 4023233417); + this[_h][$_set](2, 2562383102); + this[_h][$_set](3, 271733878); + }).prototype = _http._MD5.prototype; + dart.addTypeTests(_http._MD5); + dart.addTypeCaches(_http._MD5); + dart.setMethodSignature(_http._MD5, () => ({ + __proto__: dart.getMethods(_http._MD5.__proto__), + newInstance: dart.fnType(_http._MD5, []), + [_updateHash]: dart.fnType(dart.void, [core.List$(core.int)]) + })); + dart.setLibraryUri(_http._MD5, I[177]); + dart.defineLazy(_http._MD5, { + /*_http._MD5._k*/get _k() { + return C[459] || CT.C459; + }, + /*_http._MD5._r*/get _r() { + return C[460] || CT.C460; + } + }, false); + var _w = dart.privateName(_http, "_w"); + _http._SHA1 = class _SHA1 extends _http._HashBase { + newInstance() { + return new _http._SHA1.new(); + } + [_updateHash](m) { + if (m == null) dart.nullFailed(I[178], 415, 30, "m"); + if (!(m[$length] === 16)) dart.assertFailed(null, I[178], 416, 12, "m.length == 16"); + let a = this[_h][$_get](0); + let b = this[_h][$_get](1); + let c = this[_h][$_get](2); + let d = this[_h][$_get](3); + let e = this[_h][$_get](4); + for (let i = 0; i < 80; i = i + 1) { + if (i < 16) { + this[_w][$_set](i, m[$_get](i)); + } else { + let n = (dart.notNull(this[_w][$_get](i - 3)) ^ dart.notNull(this[_w][$_get](i - 8)) ^ dart.notNull(this[_w][$_get](i - 14)) ^ dart.notNull(this[_w][$_get](i - 16))) >>> 0; + this[_w][$_set](i, this[_rotl32](n, 1)); + } + let t = this[_add32](this[_add32](this[_rotl32](a, 5), e), this[_w][$_get](i)); + if (i < 20) { + t = this[_add32](this[_add32](t, (dart.notNull(b) & dart.notNull(c) | (~dart.notNull(b) & dart.notNull(d)) >>> 0) >>> 0), 1518500249); + } else if (i < 40) { + t = this[_add32](this[_add32](t, (dart.notNull(b) ^ dart.notNull(c) ^ dart.notNull(d)) >>> 0), 1859775393); + } else if (i < 60) { + t = this[_add32](this[_add32](t, (dart.notNull(b) & dart.notNull(c) | (dart.notNull(b) & dart.notNull(d)) >>> 0 | (dart.notNull(c) & dart.notNull(d)) >>> 0) >>> 0), 2400959708); + } else { + t = this[_add32](this[_add32](t, (dart.notNull(b) ^ dart.notNull(c) ^ dart.notNull(d)) >>> 0), 3395469782); + } + e = d; + d = c; + c = this[_rotl32](b, 30); + b = a; + a = core.int.as(dart.dsend(t, '&', [4294967295.0])); + } + this[_h][$_set](0, core.int.as(this[_add32](a, this[_h][$_get](0)))); + this[_h][$_set](1, core.int.as(this[_add32](b, this[_h][$_get](1)))); + this[_h][$_set](2, core.int.as(this[_add32](c, this[_h][$_get](2)))); + this[_h][$_set](3, core.int.as(this[_add32](d, this[_h][$_get](3)))); + this[_h][$_set](4, core.int.as(this[_add32](e, this[_h][$_get](4)))); + } + }; + (_http._SHA1.new = function() { + this[_w] = T$0.ListOfint().filled(80, 0); + _http._SHA1.__proto__.new.call(this, 16, 5, true); + this[_h][$_set](0, 1732584193); + this[_h][$_set](1, 4023233417); + this[_h][$_set](2, 2562383102); + this[_h][$_set](3, 271733878); + this[_h][$_set](4, 3285377520); + }).prototype = _http._SHA1.prototype; + dart.addTypeTests(_http._SHA1); + dart.addTypeCaches(_http._SHA1); + dart.setMethodSignature(_http._SHA1, () => ({ + __proto__: dart.getMethods(_http._SHA1.__proto__), + newInstance: dart.fnType(_http._SHA1, []), + [_updateHash]: dart.fnType(dart.void, [core.List$(core.int)]) + })); + dart.setLibraryUri(_http._SHA1, I[177]); + dart.setFieldSignature(_http._SHA1, () => ({ + __proto__: dart.getFields(_http._SHA1.__proto__), + [_w]: dart.fieldType(core.List$(core.int)) + })); + _http.HttpDate = class HttpDate extends core.Object { + static format(date) { + let t264; + if (date == null) dart.nullFailed(I[179], 40, 33, "date"); + let wkday = C[461] || CT.C461; + let month = C[462] || CT.C462; + let d = date.toUtc(); + let sb = (t264 = new core.StringBuffer.new(), (() => { + t264.write(wkday[$_get](dart.notNull(d.weekday) - 1)); + t264.write(", "); + t264.write(dart.notNull(d.day) <= 9 ? "0" : ""); + t264.write(dart.toString(d.day)); + t264.write(" "); + t264.write(month[$_get](dart.notNull(d.month) - 1)); + t264.write(" "); + t264.write(dart.toString(d.year)); + t264.write(dart.notNull(d.hour) <= 9 ? " 0" : " "); + t264.write(dart.toString(d.hour)); + t264.write(dart.notNull(d.minute) <= 9 ? ":0" : ":"); + t264.write(dart.toString(d.minute)); + t264.write(dart.notNull(d.second) <= 9 ? ":0" : ":"); + t264.write(dart.toString(d.second)); + t264.write(" GMT"); + return t264; + })()); + return dart.toString(sb); + } + static parse(date) { + if (date == null) dart.nullFailed(I[179], 91, 32, "date"); + let SP = 32; + let wkdays = C[461] || CT.C461; + let weekdays = C[463] || CT.C463; + let months = C[462] || CT.C462; + let formatRfc1123 = 0; + let formatRfc850 = 1; + let formatAsctime = 2; + let index = 0; + let tmp = null; + function expect(s) { + if (s == null) dart.nullFailed(I[179], 125, 24, "s"); + if (date.length - index < s.length) { + dart.throw(new _http.HttpException.new("Invalid HTTP date " + dart.str(date))); + } + let tmp = date[$substring](index, index + s.length); + if (tmp !== s) { + dart.throw(new _http.HttpException.new("Invalid HTTP date " + dart.str(date))); + } + index = index + s.length; + } + dart.fn(expect, T$.StringTovoid()); + function expectWeekday() { + let weekday = null; + let pos = date[$indexOf](",", index); + if (pos === -1) { + let pos = date[$indexOf](" ", index); + if (pos === -1) dart.throw(new _http.HttpException.new("Invalid HTTP date " + dart.str(date))); + tmp = date[$substring](index, pos); + index = pos + 1; + weekday = wkdays[$indexOf](tmp); + if (weekday !== -1) { + return formatAsctime; + } + } else { + tmp = date[$substring](index, pos); + index = pos + 1; + weekday = wkdays[$indexOf](tmp); + if (weekday !== -1) { + return formatRfc1123; + } + weekday = weekdays[$indexOf](tmp); + if (weekday !== -1) { + return formatRfc850; + } + } + dart.throw(new _http.HttpException.new("Invalid HTTP date " + dart.str(date))); + } + dart.fn(expectWeekday, T$.VoidToint()); + function expectMonth(separator) { + if (separator == null) dart.nullFailed(I[179], 164, 28, "separator"); + let pos = date[$indexOf](separator, index); + if (pos - index !== 3) dart.throw(new _http.HttpException.new("Invalid HTTP date " + dart.str(date))); + tmp = date[$substring](index, pos); + index = pos + 1; + let month = months[$indexOf](tmp); + if (month !== -1) return month; + dart.throw(new _http.HttpException.new("Invalid HTTP date " + dart.str(date))); + } + dart.fn(expectMonth, T$0.StringToint()); + function expectNum(separator) { + if (separator == null) dart.nullFailed(I[179], 174, 26, "separator"); + let pos = null; + if (separator.length > 0) { + pos = date[$indexOf](separator, index); + } else { + pos = date.length; + } + let tmp = date[$substring](index, pos); + index = dart.notNull(pos) + separator.length; + try { + let value = core.int.parse(tmp); + return value; + } catch (e) { + let ex = dart.getThrown(e); + if (core.FormatException.is(ex)) { + dart.throw(new _http.HttpException.new("Invalid HTTP date " + dart.str(date))); + } else + throw e; + } + } + dart.fn(expectNum, T$0.StringToint()); + function expectEnd() { + if (index !== date.length) { + dart.throw(new _http.HttpException.new("Invalid HTTP date " + dart.str(date))); + } + } + dart.fn(expectEnd, T$.VoidTovoid()); + let format = expectWeekday(); + let year = null; + let month = null; + let day = null; + let hours = null; + let minutes = null; + let seconds = null; + if (format === formatAsctime) { + month = expectMonth(" "); + if (date[$codeUnitAt](index) === SP) index = index + 1; + day = expectNum(" "); + hours = expectNum(":"); + minutes = expectNum(":"); + seconds = expectNum(" "); + year = expectNum(""); + } else { + expect(" "); + day = expectNum(format === formatRfc1123 ? " " : "-"); + month = expectMonth(format === formatRfc1123 ? " " : "-"); + year = expectNum(" "); + hours = expectNum(":"); + minutes = expectNum(":"); + seconds = expectNum(" "); + expect("GMT"); + } + expectEnd(); + return new core.DateTime.utc(year, dart.notNull(month) + 1, day, hours, minutes, seconds, 0); + } + static _parseCookieDate(date) { + if (date == null) dart.nullFailed(I[179], 227, 43, "date"); + let monthsLowerCase = C[464] || CT.C464; + let position = 0; + function error() { + dart.throw(new _http.HttpException.new("Invalid cookie date " + dart.str(date))); + } + dart.fn(error, T$0.VoidToNever()); + function isEnd() { + return position === date.length; + } + dart.fn(isEnd, T$.VoidTobool()); + function isDelimiter(s) { + if (s == null) dart.nullFailed(I[179], 251, 29, "s"); + let char = s[$codeUnitAt](0); + if (char === 9) return true; + if (char >= 32 && char <= 47) return true; + if (char >= 59 && char <= 64) return true; + if (char >= 91 && char <= 96) return true; + if (char >= 123 && char <= 126) return true; + return false; + } + dart.fn(isDelimiter, T$.StringTobool()); + function isNonDelimiter(s) { + if (s == null) dart.nullFailed(I[179], 261, 32, "s"); + let char = s[$codeUnitAt](0); + if (char >= 0 && char <= 8) return true; + if (char >= 10 && char <= 31) return true; + if (char >= 48 && char <= 57) return true; + if (char === 58) return true; + if (char >= 65 && char <= 90) return true; + if (char >= 97 && char <= 122) return true; + if (char >= 127 && char <= 255) return true; + return false; + } + dart.fn(isNonDelimiter, T$.StringTobool()); + function isDigit(s) { + if (s == null) dart.nullFailed(I[179], 273, 25, "s"); + let char = s[$codeUnitAt](0); + if (char > 47 && char < 58) return true; + return false; + } + dart.fn(isDigit, T$.StringTobool()); + function getMonth(month) { + if (month == null) dart.nullFailed(I[179], 279, 25, "month"); + if (month.length < 3) return -1; + return monthsLowerCase[$indexOf](month[$substring](0, 3)); + } + dart.fn(getMonth, T$0.StringToint()); + function toInt(s) { + if (s == null) dart.nullFailed(I[179], 284, 22, "s"); + let index = 0; + for (; index < s.length && dart.test(isDigit(s[$_get](index))); index = index + 1) + ; + return core.int.parse(s[$substring](0, index)); + } + dart.fn(toInt, T$0.StringToint()); + let tokens = []; + while (!dart.test(isEnd())) { + while (!dart.test(isEnd()) && dart.test(isDelimiter(date[$_get](position)))) + position = position + 1; + let start = position; + while (!dart.test(isEnd()) && dart.test(isNonDelimiter(date[$_get](position)))) + position = position + 1; + tokens[$add](date[$substring](start, position)[$toLowerCase]()); + while (!dart.test(isEnd()) && dart.test(isDelimiter(date[$_get](position)))) + position = position + 1; + } + let timeStr = null; + let dayOfMonthStr = null; + let monthStr = null; + let yearStr = null; + for (let token of tokens) { + if (dart.dtest(dart.dsend(dart.dload(token, 'length'), '<', [1]))) continue; + if (timeStr == null && dart.dtest(dart.dsend(dart.dload(token, 'length'), '>=', [5])) && dart.test(isDigit(core.String.as(dart.dsend(token, '_get', [0])))) && (dart.equals(dart.dsend(token, '_get', [1]), ":") || dart.test(isDigit(core.String.as(dart.dsend(token, '_get', [1])))) && dart.equals(dart.dsend(token, '_get', [2]), ":"))) { + timeStr = T$.StringN().as(token); + } else if (dayOfMonthStr == null && dart.test(isDigit(core.String.as(dart.dsend(token, '_get', [0]))))) { + dayOfMonthStr = T$.StringN().as(token); + } else if (monthStr == null && dart.notNull(getMonth(core.String.as(token))) >= 0) { + monthStr = T$.StringN().as(token); + } else if (yearStr == null && dart.dtest(dart.dsend(dart.dload(token, 'length'), '>=', [2])) && dart.test(isDigit(core.String.as(dart.dsend(token, '_get', [0])))) && dart.test(isDigit(core.String.as(dart.dsend(token, '_get', [1]))))) { + yearStr = T$.StringN().as(token); + } + } + if (timeStr == null || dayOfMonthStr == null || monthStr == null || yearStr == null) { + error(); + dart.throw(new _internal.ReachabilityError.new("`null` encountered as the result from expression with type `Never`.")); + } + let year = toInt(yearStr); + if (dart.notNull(year) >= 70 && dart.notNull(year) <= 99) + year = dart.notNull(year) + 1900; + else if (dart.notNull(year) >= 0 && dart.notNull(year) <= 69) year = dart.notNull(year) + 2000; + if (dart.notNull(year) < 1601) { + error(); + dart.throw(new _internal.ReachabilityError.new("`null` encountered as the result from expression with type `Never`.")); + } + let dayOfMonth = toInt(dayOfMonthStr); + if (dart.notNull(dayOfMonth) < 1 || dart.notNull(dayOfMonth) > 31) { + error(); + dart.throw(new _internal.ReachabilityError.new("`null` encountered as the result from expression with type `Never`.")); + } + let month = dart.notNull(getMonth(monthStr)) + 1; + let timeList = timeStr[$split](":"); + if (timeList[$length] !== 3) { + error(); + dart.throw(new _internal.ReachabilityError.new("`null` encountered as the result from expression with type `Never`.")); + } + let hour = toInt(timeList[$_get](0)); + let minute = toInt(timeList[$_get](1)); + let second = toInt(timeList[$_get](2)); + if (dart.notNull(hour) > 23) { + error(); + dart.throw(new _internal.ReachabilityError.new("`null` encountered as the result from expression with type `Never`.")); + } + if (dart.notNull(minute) > 59) { + error(); + dart.throw(new _internal.ReachabilityError.new("`null` encountered as the result from expression with type `Never`.")); + } + if (dart.notNull(second) > 59) { + error(); + dart.throw(new _internal.ReachabilityError.new("`null` encountered as the result from expression with type `Never`.")); + } + return new core.DateTime.utc(year, month, dayOfMonth, hour, minute, second, 0); + } + }; + (_http.HttpDate.new = function() { + ; + }).prototype = _http.HttpDate.prototype; + dart.addTypeTests(_http.HttpDate); + dart.addTypeCaches(_http.HttpDate); + dart.setLibraryUri(_http.HttpDate, I[177]); + var _originalHeaderNames = dart.privateName(_http, "_originalHeaderNames"); + var _mutable = dart.privateName(_http, "_mutable"); + var _noFoldingHeaders = dart.privateName(_http, "_noFoldingHeaders"); + var _contentLength = dart.privateName(_http, "_contentLength"); + var _persistentConnection = dart.privateName(_http, "_persistentConnection"); + var _chunkedTransferEncoding = dart.privateName(_http, "_chunkedTransferEncoding"); + var _host = dart.privateName(_http, "_host"); + var _port = dart.privateName(_http, "_port"); + var _headers = dart.privateName(_http, "_headers"); + var _defaultPortForScheme = dart.privateName(_http, "_defaultPortForScheme"); + var _checkMutable = dart.privateName(_http, "_checkMutable"); + var _addAll = dart.privateName(_http, "_addAll"); + var _add$1 = dart.privateName(_http, "_add"); + var _valueToString = dart.privateName(_http, "_valueToString"); + var _originalHeaderName = dart.privateName(_http, "_originalHeaderName"); + var _set = dart.privateName(_http, "_set"); + var _addValue = dart.privateName(_http, "_addValue"); + var _updateHostHeader = dart.privateName(_http, "_updateHostHeader"); + var _addDate = dart.privateName(_http, "_addDate"); + var _addHost = dart.privateName(_http, "_addHost"); + var _addExpires = dart.privateName(_http, "_addExpires"); + var _addConnection = dart.privateName(_http, "_addConnection"); + var _addContentType = dart.privateName(_http, "_addContentType"); + var _addContentLength = dart.privateName(_http, "_addContentLength"); + var _addTransferEncoding = dart.privateName(_http, "_addTransferEncoding"); + var _addIfModifiedSince = dart.privateName(_http, "_addIfModifiedSince"); + var _foldHeader = dart.privateName(_http, "_foldHeader"); + var _finalize = dart.privateName(_http, "_finalize"); + var _build = dart.privateName(_http, "_build"); + var _parseCookies = dart.privateName(_http, "_parseCookies"); + _http._HttpHeaders = class _HttpHeaders extends core.Object { + _get(name) { + if (name == null) dart.nullFailed(I[180], 43, 36, "name"); + return this[_headers][$_get](_http._HttpHeaders._validateField(name)); + } + value(name) { + if (name == null) dart.nullFailed(I[180], 45, 24, "name"); + name = _http._HttpHeaders._validateField(name); + let values = this[_headers][$_get](name); + if (values == null) return null; + if (!dart.test(values[$isNotEmpty])) dart.assertFailed(null, I[180], 49, 12, "values.isNotEmpty"); + if (dart.notNull(values[$length]) > 1) { + dart.throw(new _http.HttpException.new("More than one value for header " + dart.str(name))); + } + return values[$_get](0); + } + add(name, value, opts) { + let t266, t266$; + if (name == null) dart.nullFailed(I[180], 56, 19, "name"); + if (value == null) dart.nullFailed(I[180], 56, 25, "value"); + let preserveHeaderCase = opts && 'preserveHeaderCase' in opts ? opts.preserveHeaderCase : false; + if (preserveHeaderCase == null) dart.nullFailed(I[180], 56, 38, "preserveHeaderCase"); + this[_checkMutable](); + let lowercaseName = _http._HttpHeaders._validateField(name); + if (dart.test(preserveHeaderCase) && name != lowercaseName) { + (t266 = this[_originalHeaderNames], t266 == null ? this[_originalHeaderNames] = new (T$.IdentityMapOfString$String()).new() : t266)[$_set](lowercaseName, name); + } else { + t266$ = this[_originalHeaderNames]; + t266$ == null ? null : t266$[$remove](lowercaseName); + } + this[_addAll](lowercaseName, value); + } + [_addAll](name, value) { + if (name == null) dart.nullFailed(I[180], 68, 23, "name"); + if (core.Iterable.is(value)) { + for (let v of value) { + this[_add$1](name, _http._HttpHeaders._validateValue(core.Object.as(v))); + } + } else { + this[_add$1](name, _http._HttpHeaders._validateValue(core.Object.as(value))); + } + } + set(name, value, opts) { + let t266, t266$; + if (name == null) dart.nullFailed(I[180], 78, 19, "name"); + if (value == null) dart.nullFailed(I[180], 78, 32, "value"); + let preserveHeaderCase = opts && 'preserveHeaderCase' in opts ? opts.preserveHeaderCase : false; + if (preserveHeaderCase == null) dart.nullFailed(I[180], 78, 45, "preserveHeaderCase"); + this[_checkMutable](); + let lowercaseName = _http._HttpHeaders._validateField(name); + this[_headers][$remove](lowercaseName); + t266 = this[_originalHeaderNames]; + t266 == null ? null : t266[$remove](lowercaseName); + if (lowercaseName === "content-length") { + this[_contentLength] = -1; + } + if (lowercaseName === "transfer-encoding") { + this[_chunkedTransferEncoding] = false; + } + if (dart.test(preserveHeaderCase) && name != lowercaseName) { + (t266$ = this[_originalHeaderNames], t266$ == null ? this[_originalHeaderNames] = new (T$.IdentityMapOfString$String()).new() : t266$)[$_set](lowercaseName, name); + } + this[_addAll](lowercaseName, value); + } + remove(name, value) { + let t266; + if (name == null) dart.nullFailed(I[180], 95, 22, "name"); + if (value == null) dart.nullFailed(I[180], 95, 35, "value"); + this[_checkMutable](); + name = _http._HttpHeaders._validateField(name); + value = _http._HttpHeaders._validateValue(value); + let values = this[_headers][$_get](name); + if (values != null) { + values[$remove](this[_valueToString](value)); + if (values[$length] === 0) { + this[_headers][$remove](name); + t266 = this[_originalHeaderNames]; + t266 == null ? null : t266[$remove](name); + } + } + if (name === "transfer-encoding" && dart.equals(value, "chunked")) { + this[_chunkedTransferEncoding] = false; + } + } + removeAll(name) { + let t266; + if (name == null) dart.nullFailed(I[180], 112, 25, "name"); + this[_checkMutable](); + name = _http._HttpHeaders._validateField(name); + this[_headers][$remove](name); + t266 = this[_originalHeaderNames]; + t266 == null ? null : t266[$remove](name); + } + forEach(action) { + if (action == null) dart.nullFailed(I[180], 119, 21, "action"); + this[_headers][$forEach](dart.fn((name, values) => { + if (name == null) dart.nullFailed(I[180], 120, 30, "name"); + if (values == null) dart.nullFailed(I[180], 120, 49, "values"); + let originalName = this[_originalHeaderName](name); + action(originalName, values); + }, T$0.StringAndListOfStringTovoid())); + } + noFolding(name) { + let t266; + if (name == null) dart.nullFailed(I[180], 126, 25, "name"); + name = _http._HttpHeaders._validateField(name); + (t266 = this[_noFoldingHeaders], t266 == null ? this[_noFoldingHeaders] = T$.JSArrayOfString().of([]) : t266)[$add](name); + } + get persistentConnection() { + return this[_persistentConnection]; + } + set persistentConnection(persistentConnection) { + if (persistentConnection == null) dart.nullFailed(I[180], 133, 38, "persistentConnection"); + this[_checkMutable](); + if (persistentConnection == this[_persistentConnection]) return; + let originalName = this[_originalHeaderName]("connection"); + if (dart.test(persistentConnection)) { + if (this.protocolVersion === "1.1") { + this.remove("connection", "close"); + } else { + if (dart.notNull(this[_contentLength]) < 0) { + dart.throw(new _http.HttpException.new("Trying to set 'Connection: Keep-Alive' on HTTP 1.0 headers with " + "no ContentLength")); + } + this.add(originalName, "keep-alive", {preserveHeaderCase: true}); + } + } else { + if (this.protocolVersion === "1.1") { + this.add(originalName, "close", {preserveHeaderCase: true}); + } else { + this.remove("connection", "keep-alive"); + } + } + this[_persistentConnection] = persistentConnection; + } + get contentLength() { + return this[_contentLength]; + } + set contentLength(contentLength) { + if (contentLength == null) dart.nullFailed(I[180], 160, 30, "contentLength"); + this[_checkMutable](); + if (this.protocolVersion === "1.0" && dart.test(this.persistentConnection) && contentLength === -1) { + dart.throw(new _http.HttpException.new("Trying to clear ContentLength on HTTP 1.0 headers with " + "'Connection: Keep-Alive' set")); + } + if (this[_contentLength] == contentLength) return; + this[_contentLength] = contentLength; + if (dart.notNull(this[_contentLength]) >= 0) { + if (dart.test(this.chunkedTransferEncoding)) this.chunkedTransferEncoding = false; + this[_set]("content-length", dart.toString(contentLength)); + } else { + this[_headers][$remove]("content-length"); + if (this.protocolVersion === "1.1") { + this.chunkedTransferEncoding = true; + } + } + } + get chunkedTransferEncoding() { + return this[_chunkedTransferEncoding]; + } + set chunkedTransferEncoding(chunkedTransferEncoding) { + if (chunkedTransferEncoding == null) dart.nullFailed(I[180], 184, 41, "chunkedTransferEncoding"); + this[_checkMutable](); + if (dart.test(chunkedTransferEncoding) && this.protocolVersion === "1.0") { + dart.throw(new _http.HttpException.new("Trying to set 'Transfer-Encoding: Chunked' on HTTP 1.0 headers")); + } + if (chunkedTransferEncoding == this[_chunkedTransferEncoding]) return; + if (dart.test(chunkedTransferEncoding)) { + let values = this[_headers][$_get]("transfer-encoding"); + if (values == null || !dart.test(values[$contains]("chunked"))) { + this[_addValue]("transfer-encoding", "chunked"); + } + this.contentLength = -1; + } else { + this.remove("transfer-encoding", "chunked"); + } + this[_chunkedTransferEncoding] = chunkedTransferEncoding; + } + get host() { + return this[_host]; + } + set host(host) { + this[_checkMutable](); + this[_host] = host; + this[_updateHostHeader](); + } + get port() { + return this[_port]; + } + set port(port) { + this[_checkMutable](); + this[_port] = port; + this[_updateHostHeader](); + } + get ifModifiedSince() { + let values = this[_headers][$_get]("if-modified-since"); + if (values != null) { + if (!dart.test(values[$isNotEmpty])) dart.assertFailed(null, I[180], 224, 14, "values.isNotEmpty"); + try { + return _http.HttpDate.parse(values[$_get](0)); + } catch (e) { + let ex = dart.getThrown(e); + if (core.Exception.is(ex)) { + return null; + } else + throw e; + } + } + return null; + } + set ifModifiedSince(ifModifiedSince) { + this[_checkMutable](); + if (ifModifiedSince == null) { + this[_headers][$remove]("if-modified-since"); + } else { + let formatted = _http.HttpDate.format(ifModifiedSince.toUtc()); + this[_set]("if-modified-since", formatted); + } + } + get date() { + let values = this[_headers][$_get]("date"); + if (values != null) { + if (!dart.test(values[$isNotEmpty])) dart.assertFailed(null, I[180], 248, 14, "values.isNotEmpty"); + try { + return _http.HttpDate.parse(values[$_get](0)); + } catch (e) { + let ex = dart.getThrown(e); + if (core.Exception.is(ex)) { + return null; + } else + throw e; + } + } + return null; + } + set date(date) { + this[_checkMutable](); + if (date == null) { + this[_headers][$remove]("date"); + } else { + let formatted = _http.HttpDate.format(date.toUtc()); + this[_set]("date", formatted); + } + } + get expires() { + let values = this[_headers][$_get]("expires"); + if (values != null) { + if (!dart.test(values[$isNotEmpty])) dart.assertFailed(null, I[180], 272, 14, "values.isNotEmpty"); + try { + return _http.HttpDate.parse(values[$_get](0)); + } catch (e) { + let ex = dart.getThrown(e); + if (core.Exception.is(ex)) { + return null; + } else + throw e; + } + } + return null; + } + set expires(expires) { + this[_checkMutable](); + if (expires == null) { + this[_headers][$remove]("expires"); + } else { + let formatted = _http.HttpDate.format(expires.toUtc()); + this[_set]("expires", formatted); + } + } + get contentType() { + let values = this[_headers][$_get]("content-type"); + if (values != null) { + return _http.ContentType.parse(values[$_get](0)); + } else { + return null; + } + } + set contentType(contentType) { + this[_checkMutable](); + if (contentType == null) { + this[_headers][$remove]("content-type"); + } else { + this[_set]("content-type", dart.toString(contentType)); + } + } + clear() { + this[_checkMutable](); + this[_headers][$clear](); + this[_contentLength] = -1; + this[_persistentConnection] = true; + this[_chunkedTransferEncoding] = false; + this[_host] = null; + this[_port] = null; + } + [_add$1](name, value) { + if (name == null) dart.nullFailed(I[180], 322, 20, "name"); + if (!(name == _http._HttpHeaders._validateField(name))) dart.assertFailed(null, I[180], 323, 12, "name == _validateField(name)"); + switch (name.length) { + case 4: + { + if ("date" === name) { + this[_addDate](name, value); + return; + } + if ("host" === name) { + this[_addHost](name, value); + return; + } + break; + } + case 7: + { + if ("expires" === name) { + this[_addExpires](name, value); + return; + } + break; + } + case 10: + { + if ("connection" === name) { + this[_addConnection](name, value); + return; + } + break; + } + case 12: + { + if ("content-type" === name) { + this[_addContentType](name, value); + return; + } + break; + } + case 14: + { + if ("content-length" === name) { + this[_addContentLength](name, value); + return; + } + break; + } + case 17: + { + if ("transfer-encoding" === name) { + this[_addTransferEncoding](name, value); + return; + } + if ("if-modified-since" === name) { + this[_addIfModifiedSince](name, value); + return; + } + } + } + this[_addValue](name, core.Object.as(value)); + } + [_addContentLength](name, value) { + if (name == null) dart.nullFailed(I[180], 374, 33, "name"); + if (core.int.is(value)) { + this.contentLength = value; + } else if (typeof value == 'string') { + this.contentLength = core.int.parse(value); + } else { + dart.throw(new _http.HttpException.new("Unexpected type for header named " + dart.str(name))); + } + } + [_addTransferEncoding](name, value) { + if (name == null) dart.nullFailed(I[180], 384, 36, "name"); + if (dart.equals(value, "chunked")) { + this.chunkedTransferEncoding = true; + } else { + this[_addValue]("transfer-encoding", core.Object.as(value)); + } + } + [_addDate](name, value) { + if (name == null) dart.nullFailed(I[180], 392, 24, "name"); + if (core.DateTime.is(value)) { + this.date = value; + } else if (typeof value == 'string') { + this[_set]("date", value); + } else { + dart.throw(new _http.HttpException.new("Unexpected type for header named " + dart.str(name))); + } + } + [_addExpires](name, value) { + if (name == null) dart.nullFailed(I[180], 402, 27, "name"); + if (core.DateTime.is(value)) { + this.expires = value; + } else if (typeof value == 'string') { + this[_set]("expires", value); + } else { + dart.throw(new _http.HttpException.new("Unexpected type for header named " + dart.str(name))); + } + } + [_addIfModifiedSince](name, value) { + if (name == null) dart.nullFailed(I[180], 412, 35, "name"); + if (core.DateTime.is(value)) { + this.ifModifiedSince = value; + } else if (typeof value == 'string') { + this[_set]("if-modified-since", value); + } else { + dart.throw(new _http.HttpException.new("Unexpected type for header named " + dart.str(name))); + } + } + [_addHost](name, value) { + if (name == null) dart.nullFailed(I[180], 422, 24, "name"); + if (typeof value == 'string') { + let pos = value[$indexOf](":"); + if (pos === -1) { + this[_host] = value; + this[_port] = 80; + } else { + if (pos > 0) { + this[_host] = value[$substring](0, pos); + } else { + this[_host] = null; + } + if (pos + 1 === value.length) { + this[_port] = 80; + } else { + try { + this[_port] = core.int.parse(value[$substring](pos + 1)); + } catch (e) { + let ex = dart.getThrown(e); + if (core.FormatException.is(ex)) { + this[_port] = null; + } else + throw e; + } + } + } + this[_set]("host", value); + } else { + dart.throw(new _http.HttpException.new("Unexpected type for header named " + dart.str(name))); + } + } + [_addConnection](name, value) { + if (name == null) dart.nullFailed(I[180], 450, 30, "name"); + let lowerCaseValue = dart.dsend(value, 'toLowerCase', []); + if (dart.equals(lowerCaseValue, "close")) { + this[_persistentConnection] = false; + } else if (dart.equals(lowerCaseValue, "keep-alive")) { + this[_persistentConnection] = true; + } + this[_addValue](name, core.Object.as(value)); + } + [_addContentType](name, value) { + if (name == null) dart.nullFailed(I[180], 460, 31, "name"); + this[_set]("content-type", core.String.as(value)); + } + [_addValue](name, value) { + let t277, t276, t275, t274; + if (name == null) dart.nullFailed(I[180], 464, 25, "name"); + if (value == null) dart.nullFailed(I[180], 464, 38, "value"); + let values = (t274 = this[_headers], t275 = name, t276 = t274[$_get](t275), t276 == null ? (t277 = T$.JSArrayOfString().of([]), t274[$_set](t275, t277), t277) : t276); + values[$add](this[_valueToString](value)); + } + [_valueToString](value) { + if (value == null) dart.nullFailed(I[180], 469, 32, "value"); + if (core.DateTime.is(value)) { + return _http.HttpDate.format(value); + } else if (typeof value == 'string') { + return value; + } else { + return core.String.as(_http._HttpHeaders._validateValue(dart.toString(value))); + } + } + [_set](name, value) { + if (name == null) dart.nullFailed(I[180], 479, 20, "name"); + if (value == null) dart.nullFailed(I[180], 479, 33, "value"); + if (!(name == _http._HttpHeaders._validateField(name))) dart.assertFailed(null, I[180], 480, 12, "name == _validateField(name)"); + this[_headers][$_set](name, T$.JSArrayOfString().of([value])); + } + [_checkMutable]() { + if (!dart.test(this[_mutable])) dart.throw(new _http.HttpException.new("HTTP headers are not mutable")); + } + [_updateHostHeader]() { + let host = this[_host]; + if (host != null) { + let defaultPort = this[_port] == null || this[_port] == this[_defaultPortForScheme]; + this[_set]("host", defaultPort ? host : dart.str(host) + ":" + dart.str(this[_port])); + } + } + [_foldHeader](name) { + if (name == null) dart.nullFailed(I[180], 496, 27, "name"); + if (name === "set-cookie") return false; + let noFoldingHeaders = this[_noFoldingHeaders]; + return noFoldingHeaders == null || !dart.test(noFoldingHeaders[$contains](name)); + } + [_finalize]() { + this[_mutable] = false; + } + [_build](builder) { + if (builder == null) dart.nullFailed(I[180], 506, 28, "builder"); + this[_headers][$forEach](dart.fn((name, values) => { + if (name == null) dart.nullFailed(I[180], 507, 30, "name"); + if (values == null) dart.nullFailed(I[180], 507, 49, "values"); + let originalName = this[_originalHeaderName](name); + let fold = this[_foldHeader](name); + let nameData = originalName[$codeUnits]; + builder.add(nameData); + builder.addByte(58); + builder.addByte(32); + for (let i = 0; i < dart.notNull(values[$length]); i = i + 1) { + if (i > 0) { + if (dart.test(fold)) { + builder.addByte(44); + builder.addByte(32); + } else { + builder.addByte(13); + builder.addByte(10); + builder.add(nameData); + builder.addByte(58); + builder.addByte(32); + } + } + builder.add(values[$_get](i)[$codeUnits]); + } + builder.addByte(13); + builder.addByte(10); + }, T$0.StringAndListOfStringTovoid())); + } + toString() { + let sb = new core.StringBuffer.new(); + this[_headers][$forEach](dart.fn((name, values) => { + let t274, t274$; + if (name == null) dart.nullFailed(I[180], 536, 30, "name"); + if (values == null) dart.nullFailed(I[180], 536, 49, "values"); + let originalName = this[_originalHeaderName](name); + t274 = sb; + (() => { + t274.write(originalName); + t274.write(": "); + return t274; + })(); + let fold = this[_foldHeader](name); + for (let i = 0; i < dart.notNull(values[$length]); i = i + 1) { + if (i > 0) { + if (dart.test(fold)) { + sb.write(", "); + } else { + t274$ = sb; + (() => { + t274$.write("\n"); + t274$.write(originalName); + t274$.write(": "); + return t274$; + })(); + } + } + sb.write(values[$_get](i)); + } + sb.write("\n"); + }, T$0.StringAndListOfStringTovoid())); + return sb.toString(); + } + [_parseCookies]() { + let cookies = T$0.JSArrayOfCookie().of([]); + function parseCookieString(s) { + if (s == null) dart.nullFailed(I[180], 558, 35, "s"); + let index = 0; + function done() { + return index === -1 || index === s.length; + } + dart.fn(done, T$.VoidTobool()); + function skipWS() { + while (!dart.test(done())) { + if (s[$_get](index) !== " " && s[$_get](index) !== "\t") return; + index = index + 1; + } + } + dart.fn(skipWS, T$.VoidTovoid()); + function parseName() { + let start = index; + while (!dart.test(done())) { + if (s[$_get](index) === " " || s[$_get](index) === "\t" || s[$_get](index) === "=") break; + index = index + 1; + } + return s[$substring](start, index); + } + dart.fn(parseName, T$.VoidToString()); + function parseValue() { + let start = index; + while (!dart.test(done())) { + if (s[$_get](index) === " " || s[$_get](index) === "\t" || s[$_get](index) === ";") break; + index = index + 1; + } + return s[$substring](start, index); + } + dart.fn(parseValue, T$.VoidToString()); + function expect(expected) { + if (expected == null) dart.nullFailed(I[180], 588, 26, "expected"); + if (dart.test(done())) return false; + if (s[$_get](index) !== expected) return false; + index = index + 1; + return true; + } + dart.fn(expect, T$.StringTobool()); + while (!dart.test(done())) { + skipWS(); + if (dart.test(done())) return; + let name = parseName(); + skipWS(); + if (!dart.test(expect("="))) { + index = s[$indexOf](";", index); + continue; + } + skipWS(); + let value = parseValue(); + try { + cookies[$add](new _http._Cookie.new(name, value)); + } catch (e) { + let _ = dart.getThrown(e); + if (core.Object.is(_)) { + } else + throw e; + } + skipWS(); + if (dart.test(done())) return; + if (!dart.test(expect(";"))) { + index = s[$indexOf](";", index); + continue; + } + } + } + dart.fn(parseCookieString, T$.StringTovoid()); + let values = this[_headers][$_get]("cookie"); + if (values != null) { + values[$forEach](dart.fn(headerValue => { + if (headerValue == null) dart.nullFailed(I[180], 622, 23, "headerValue"); + return parseCookieString(headerValue); + }, T$.StringTovoid())); + } + return cookies; + } + static _validateField(field) { + if (field == null) dart.nullFailed(I[180], 627, 39, "field"); + for (let i = 0; i < field.length; i = i + 1) { + if (!dart.test(_http._HttpParser._isTokenChar(field[$codeUnitAt](i)))) { + dart.throw(new core.FormatException.new("Invalid HTTP header field name: " + dart.str(convert.json.encode(field)), field, i)); + } + } + return field[$toLowerCase](); + } + static _validateValue(value) { + if (value == null) dart.nullFailed(I[180], 637, 39, "value"); + if (!(typeof value == 'string')) return value; + for (let i = 0; i < value.length; i = i + 1) { + if (!dart.test(_http._HttpParser._isValueChar(value[$codeUnitAt](i)))) { + dart.throw(new core.FormatException.new("Invalid HTTP header field value: " + dart.str(convert.json.encode(value)), value, i)); + } + } + return value; + } + [_originalHeaderName](name) { + let t275, t275$; + if (name == null) dart.nullFailed(I[180], 648, 37, "name"); + t275$ = (t275 = this[_originalHeaderNames], t275 == null ? null : t275[$_get](name)); + return t275$ == null ? name : t275$; + } + }; + (_http._HttpHeaders.new = function(protocolVersion, opts) { + if (protocolVersion == null) dart.nullFailed(I[180], 24, 21, "protocolVersion"); + let defaultPortForScheme = opts && 'defaultPortForScheme' in opts ? opts.defaultPortForScheme : 80; + if (defaultPortForScheme == null) dart.nullFailed(I[180], 25, 12, "defaultPortForScheme"); + let initialHeaders = opts && 'initialHeaders' in opts ? opts.initialHeaders : null; + this[_originalHeaderNames] = null; + this[_mutable] = true; + this[_noFoldingHeaders] = null; + this[_contentLength] = -1; + this[_persistentConnection] = true; + this[_chunkedTransferEncoding] = false; + this[_host] = null; + this[_port] = null; + this.protocolVersion = protocolVersion; + this[_headers] = new (T$0.IdentityMapOfString$ListOfString()).new(); + this[_defaultPortForScheme] = defaultPortForScheme; + if (initialHeaders != null) { + initialHeaders[_headers][$forEach](dart.fn((name, value) => { + let t268, t267, t266; + if (name == null) dart.nullFailed(I[180], 30, 40, "name"); + if (value == null) dart.nullFailed(I[180], 30, 46, "value"); + t266 = this[_headers]; + t267 = name; + t268 = value; + t266[$_set](t267, t268); + return t268; + }, T$0.StringAndListOfStringTovoid())); + this[_contentLength] = initialHeaders[_contentLength]; + this[_persistentConnection] = initialHeaders[_persistentConnection]; + this[_chunkedTransferEncoding] = initialHeaders[_chunkedTransferEncoding]; + this[_host] = initialHeaders[_host]; + this[_port] = initialHeaders[_port]; + } + if (this.protocolVersion === "1.0") { + this[_persistentConnection] = false; + this[_chunkedTransferEncoding] = false; + } + }).prototype = _http._HttpHeaders.prototype; + dart.addTypeTests(_http._HttpHeaders); + dart.addTypeCaches(_http._HttpHeaders); + _http._HttpHeaders[dart.implements] = () => [_http.HttpHeaders]; + dart.setMethodSignature(_http._HttpHeaders, () => ({ + __proto__: dart.getMethods(_http._HttpHeaders.__proto__), + _get: dart.fnType(dart.nullable(core.List$(core.String)), [core.String]), + value: dart.fnType(dart.nullable(core.String), [core.String]), + add: dart.fnType(dart.void, [core.String, core.Object], {preserveHeaderCase: core.bool}, {}), + [_addAll]: dart.fnType(dart.void, [core.String, dart.dynamic]), + set: dart.fnType(dart.void, [core.String, core.Object], {preserveHeaderCase: core.bool}, {}), + remove: dart.fnType(dart.void, [core.String, core.Object]), + removeAll: dart.fnType(dart.void, [core.String]), + forEach: dart.fnType(dart.void, [dart.fnType(dart.void, [core.String, core.List$(core.String)])]), + noFolding: dart.fnType(dart.void, [core.String]), + clear: dart.fnType(dart.void, []), + [_add$1]: dart.fnType(dart.void, [core.String, dart.dynamic]), + [_addContentLength]: dart.fnType(dart.void, [core.String, dart.dynamic]), + [_addTransferEncoding]: dart.fnType(dart.void, [core.String, dart.dynamic]), + [_addDate]: dart.fnType(dart.void, [core.String, dart.dynamic]), + [_addExpires]: dart.fnType(dart.void, [core.String, dart.dynamic]), + [_addIfModifiedSince]: dart.fnType(dart.void, [core.String, dart.dynamic]), + [_addHost]: dart.fnType(dart.void, [core.String, dart.dynamic]), + [_addConnection]: dart.fnType(dart.void, [core.String, dart.dynamic]), + [_addContentType]: dart.fnType(dart.void, [core.String, dart.dynamic]), + [_addValue]: dart.fnType(dart.void, [core.String, core.Object]), + [_valueToString]: dart.fnType(core.String, [core.Object]), + [_set]: dart.fnType(dart.void, [core.String, core.String]), + [_checkMutable]: dart.fnType(dart.void, []), + [_updateHostHeader]: dart.fnType(dart.void, []), + [_foldHeader]: dart.fnType(core.bool, [core.String]), + [_finalize]: dart.fnType(dart.void, []), + [_build]: dart.fnType(dart.void, [_internal.BytesBuilder]), + [_parseCookies]: dart.fnType(core.List$(_http.Cookie), []), + [_originalHeaderName]: dart.fnType(core.String, [core.String]) + })); + dart.setGetterSignature(_http._HttpHeaders, () => ({ + __proto__: dart.getGetters(_http._HttpHeaders.__proto__), + persistentConnection: core.bool, + contentLength: core.int, + chunkedTransferEncoding: core.bool, + host: dart.nullable(core.String), + port: dart.nullable(core.int), + ifModifiedSince: dart.nullable(core.DateTime), + date: dart.nullable(core.DateTime), + expires: dart.nullable(core.DateTime), + contentType: dart.nullable(_http.ContentType) + })); + dart.setSetterSignature(_http._HttpHeaders, () => ({ + __proto__: dart.getSetters(_http._HttpHeaders.__proto__), + persistentConnection: core.bool, + contentLength: core.int, + chunkedTransferEncoding: core.bool, + host: dart.nullable(core.String), + port: dart.nullable(core.int), + ifModifiedSince: dart.nullable(core.DateTime), + date: dart.nullable(core.DateTime), + expires: dart.nullable(core.DateTime), + contentType: dart.nullable(_http.ContentType) + })); + dart.setLibraryUri(_http._HttpHeaders, I[177]); + dart.setFieldSignature(_http._HttpHeaders, () => ({ + __proto__: dart.getFields(_http._HttpHeaders.__proto__), + [_headers]: dart.finalFieldType(core.Map$(core.String, core.List$(core.String))), + [_originalHeaderNames]: dart.fieldType(dart.nullable(core.Map$(core.String, core.String))), + protocolVersion: dart.finalFieldType(core.String), + [_mutable]: dart.fieldType(core.bool), + [_noFoldingHeaders]: dart.fieldType(dart.nullable(core.List$(core.String))), + [_contentLength]: dart.fieldType(core.int), + [_persistentConnection]: dart.fieldType(core.bool), + [_chunkedTransferEncoding]: dart.fieldType(core.bool), + [_host]: dart.fieldType(dart.nullable(core.String)), + [_port]: dart.fieldType(dart.nullable(core.int)), + [_defaultPortForScheme]: dart.finalFieldType(core.int) + })); + dart.defineExtensionMethods(_http._HttpHeaders, ['toString']); + var _parameters = dart.privateName(_http, "_parameters"); + var _unmodifiableParameters = dart.privateName(_http, "_unmodifiableParameters"); + var _value$5 = dart.privateName(_http, "_value"); + var _parse = dart.privateName(_http, "_parse"); + var _ensureParameters = dart.privateName(_http, "_ensureParameters"); + _http._HeaderValue = class _HeaderValue extends core.Object { + static parse(value, opts) { + if (value == null) dart.nullFailed(I[180], 666, 36, "value"); + let parameterSeparator = opts && 'parameterSeparator' in opts ? opts.parameterSeparator : ";"; + if (parameterSeparator == null) dart.nullFailed(I[180], 667, 15, "parameterSeparator"); + let valueSeparator = opts && 'valueSeparator' in opts ? opts.valueSeparator : null; + let preserveBackslash = opts && 'preserveBackslash' in opts ? opts.preserveBackslash : false; + if (preserveBackslash == null) dart.nullFailed(I[180], 669, 12, "preserveBackslash"); + let result = new _http._HeaderValue.new(); + result[_parse](value, parameterSeparator, valueSeparator, preserveBackslash); + return result; + } + get value() { + return this[_value$5]; + } + [_ensureParameters]() { + let t275; + t275 = this[_parameters]; + return t275 == null ? this[_parameters] = new (T$0.IdentityMapOfString$StringN()).new() : t275; + } + get parameters() { + let t275; + t275 = this[_unmodifiableParameters]; + return t275 == null ? this[_unmodifiableParameters] = new (T$0.UnmodifiableMapViewOfString$StringN()).new(this[_ensureParameters]()) : t275; + } + static _isToken(token) { + if (token == null) dart.nullFailed(I[180], 684, 31, "token"); + if (token[$isEmpty]) { + return false; + } + let delimiters = "\"(),/:;<=>?@[]{}"; + for (let i = 0; i < token.length; i = i + 1) { + let codeUnit = token[$codeUnitAt](i); + if (codeUnit <= 32 || codeUnit >= 127 || delimiters[$indexOf](token[$_get](i)) >= 0) { + return false; + } + } + return true; + } + toString() { + let sb = new core.StringBuffer.new(); + sb.write(this[_value$5]); + let parameters = this[_parameters]; + if (parameters != null && dart.notNull(parameters[$length]) > 0) { + parameters[$forEach](dart.fn((name, value) => { + let t275, t275$; + if (name == null) dart.nullFailed(I[180], 705, 34, "name"); + t275 = sb; + (() => { + t275.write("; "); + t275.write(name); + return t275; + })(); + if (value != null) { + sb.write("="); + if (dart.test(_http._HeaderValue._isToken(value))) { + sb.write(value); + } else { + sb.write("\""); + let start = 0; + for (let i = 0; i < value.length; i = i + 1) { + let codeUnit = value[$codeUnitAt](i); + if (codeUnit === 92 || codeUnit === 34) { + sb.write(value[$substring](start, i)); + sb.write("\\"); + start = i; + } + } + t275$ = sb; + (() => { + t275$.write(value[$substring](start)); + t275$.write("\""); + return t275$; + })(); + } + } + }, T$0.StringAndStringNTovoid())); + } + return sb.toString(); + } + [_parse](s, parameterSeparator, valueSeparator, preserveBackslash) { + if (s == null) dart.nullFailed(I[180], 732, 22, "s"); + if (parameterSeparator == null) dart.nullFailed(I[180], 732, 32, "parameterSeparator"); + if (preserveBackslash == null) dart.nullFailed(I[180], 733, 12, "preserveBackslash"); + let index = 0; + function done() { + return index === s.length; + } + dart.fn(done, T$.VoidTobool()); + function skipWS() { + while (!dart.test(done())) { + if (s[$_get](index) !== " " && s[$_get](index) !== "\t") return; + index = index + 1; + } + } + dart.fn(skipWS, T$.VoidTovoid()); + function parseValue() { + let start = index; + while (!dart.test(done())) { + let char = s[$_get](index); + if (char === " " || char === "\t" || char === valueSeparator || char === parameterSeparator) break; + index = index + 1; + } + return s[$substring](start, index); + } + dart.fn(parseValue, T$.VoidToString()); + function expect(expected) { + if (expected == null) dart.nullFailed(I[180], 758, 24, "expected"); + if (dart.test(done()) || s[$_get](index) !== expected) { + dart.throw(new _http.HttpException.new("Failed to parse header value")); + } + index = index + 1; + } + dart.fn(expect, T$.StringTovoid()); + function maybeExpect(expected) { + if (expected == null) dart.nullFailed(I[180], 765, 29, "expected"); + if (dart.test(done()) || !s[$startsWith](expected, index)) { + return false; + } + index = index + 1; + return true; + } + dart.fn(maybeExpect, T$.StringTobool()); + const parseParameters = () => { + let parameters = this[_ensureParameters](); + function parseParameterName() { + let start = index; + while (!dart.test(done())) { + let char = s[$_get](index); + if (char === " " || char === "\t" || char === "=" || char === parameterSeparator || char === valueSeparator) break; + index = index + 1; + } + return s[$substring](start, index)[$toLowerCase](); + } + dart.fn(parseParameterName, T$.VoidToString()); + function parseParameterValue() { + if (!dart.test(done()) && s[$_get](index) === "\"") { + let sb = new core.StringBuffer.new(); + index = index + 1; + while (!dart.test(done())) { + let char = s[$_get](index); + if (char === "\\") { + if (index + 1 === s.length) { + dart.throw(new _http.HttpException.new("Failed to parse header value")); + } + if (dart.test(preserveBackslash) && s[$_get](index + 1) !== "\"") { + sb.write(char); + } + index = index + 1; + } else if (char === "\"") { + index = index + 1; + return sb.toString(); + } + char = s[$_get](index); + sb.write(char); + index = index + 1; + } + dart.throw(new _http.HttpException.new("Failed to parse header value")); + } else { + return parseValue(); + } + } + dart.fn(parseParameterValue, T$.VoidToString()); + while (!dart.test(done())) { + skipWS(); + if (dart.test(done())) return; + let name = parseParameterName(); + skipWS(); + if (dart.test(maybeExpect("="))) { + skipWS(); + let value = parseParameterValue(); + if (name === "charset" && _http._ContentType.is(this)) { + value = value[$toLowerCase](); + } + parameters[$_set](name, value); + skipWS(); + } else if (name[$isNotEmpty]) { + parameters[$_set](name, null); + } + if (dart.test(done())) return; + if (s[$_get](index) === valueSeparator) return; + expect(parameterSeparator); + } + }; + dart.fn(parseParameters, T$.VoidTovoid()); + skipWS(); + this[_value$5] = parseValue(); + skipWS(); + if (dart.test(done())) return; + if (s[$_get](index) === valueSeparator) return; + maybeExpect(parameterSeparator); + parseParameters(); + } + }; + (_http._HeaderValue.new = function(_value = "", parameters = C[452] || CT.C452) { + if (_value == null) dart.nullFailed(I[180], 658, 22, "_value"); + if (parameters == null) dart.nullFailed(I[180], 658, 56, "parameters"); + this[_parameters] = null; + this[_unmodifiableParameters] = null; + this[_value$5] = _value; + let nullableParameters = parameters; + if (nullableParameters != null && dart.test(nullableParameters[$isNotEmpty])) { + this[_parameters] = T$0.HashMapOfString$StringN().from(nullableParameters); + } + }).prototype = _http._HeaderValue.prototype; + dart.addTypeTests(_http._HeaderValue); + dart.addTypeCaches(_http._HeaderValue); + _http._HeaderValue[dart.implements] = () => [_http.HeaderValue]; + dart.setMethodSignature(_http._HeaderValue, () => ({ + __proto__: dart.getMethods(_http._HeaderValue.__proto__), + [_ensureParameters]: dart.fnType(core.Map$(core.String, dart.nullable(core.String)), []), + [_parse]: dart.fnType(dart.void, [core.String, core.String, dart.nullable(core.String), core.bool]) + })); + dart.setGetterSignature(_http._HeaderValue, () => ({ + __proto__: dart.getGetters(_http._HeaderValue.__proto__), + value: core.String, + parameters: core.Map$(core.String, dart.nullable(core.String)) + })); + dart.setLibraryUri(_http._HeaderValue, I[177]); + dart.setFieldSignature(_http._HeaderValue, () => ({ + __proto__: dart.getFields(_http._HeaderValue.__proto__), + [_value$5]: dart.fieldType(core.String), + [_parameters]: dart.fieldType(dart.nullable(core.Map$(core.String, dart.nullable(core.String)))), + [_unmodifiableParameters]: dart.fieldType(dart.nullable(core.Map$(core.String, dart.nullable(core.String)))) + })); + dart.defineExtensionMethods(_http._HeaderValue, ['toString']); + var _primaryType = dart.privateName(_http, "_primaryType"); + var _subType = dart.privateName(_http, "_subType"); + _http._ContentType = class _ContentType extends _http._HeaderValue { + static parse(value) { + if (value == null) dart.nullFailed(I[180], 887, 36, "value"); + let result = new _http._ContentType.__(); + result[_parse](value, ";", null, false); + let index = result[_value$5][$indexOf]("/"); + if (index === -1 || index === result[_value$5].length - 1) { + result[_primaryType] = result[_value$5][$trim]()[$toLowerCase](); + } else { + result[_primaryType] = result[_value$5][$substring](0, index)[$trim]()[$toLowerCase](); + result[_subType] = result[_value$5][$substring](index + 1)[$trim]()[$toLowerCase](); + } + return result; + } + get mimeType() { + return dart.str(this.primaryType) + "/" + dart.str(this.subType); + } + get primaryType() { + return this[_primaryType]; + } + get subType() { + return this[_subType]; + } + get charset() { + return this.parameters[$_get]("charset"); + } + }; + (_http._ContentType.new = function(primaryType, subType, charset, parameters) { + if (primaryType == null) dart.nullFailed(I[180], 858, 23, "primaryType"); + if (subType == null) dart.nullFailed(I[180], 858, 43, "subType"); + if (parameters == null) dart.nullFailed(I[180], 859, 28, "parameters"); + this[_primaryType] = ""; + this[_subType] = ""; + this[_primaryType] = primaryType; + this[_subType] = subType; + _http._ContentType.__proto__.new.call(this, ""); + function emptyIfNull(string) { + let t275; + t275 = string; + return t275 == null ? "" : t275; + } + dart.fn(emptyIfNull, T$0.StringNToString()); + this[_primaryType] = emptyIfNull(this[_primaryType]); + this[_subType] = emptyIfNull(this[_subType]); + this[_value$5] = dart.str(this[_primaryType]) + "/" + dart.str(this[_subType]); + let nullableParameters = parameters; + if (nullableParameters != null) { + let parameterMap = this[_ensureParameters](); + nullableParameters[$forEach](dart.fn((key, value) => { + let t275; + if (key == null) dart.nullFailed(I[180], 872, 42, "key"); + let lowerCaseKey = key[$toLowerCase](); + if (lowerCaseKey === "charset") { + value = (t275 = value, t275 == null ? null : t275[$toLowerCase]()); + } + parameterMap[$_set](lowerCaseKey, value); + }, T$0.StringAndStringNTovoid())); + } + if (charset != null) { + this[_ensureParameters]()[$_set]("charset", charset[$toLowerCase]()); + } + }).prototype = _http._ContentType.prototype; + (_http._ContentType.__ = function() { + this[_primaryType] = ""; + this[_subType] = ""; + _http._ContentType.__proto__.new.call(this); + ; + }).prototype = _http._ContentType.prototype; + dart.addTypeTests(_http._ContentType); + dart.addTypeCaches(_http._ContentType); + _http._ContentType[dart.implements] = () => [_http.ContentType]; + dart.setGetterSignature(_http._ContentType, () => ({ + __proto__: dart.getGetters(_http._ContentType.__proto__), + mimeType: core.String, + primaryType: core.String, + subType: core.String, + charset: dart.nullable(core.String) + })); + dart.setLibraryUri(_http._ContentType, I[177]); + dart.setFieldSignature(_http._ContentType, () => ({ + __proto__: dart.getFields(_http._ContentType.__proto__), + [_primaryType]: dart.fieldType(core.String), + [_subType]: dart.fieldType(core.String) + })); + var _path$3 = dart.privateName(_http, "_path"); + var _parseSetCookieValue = dart.privateName(_http, "_parseSetCookieValue"); + _http._Cookie = class _Cookie extends core.Object { + get name() { + return this[_name$7]; + } + get value() { + return this[_value$5]; + } + get path() { + return this[_path$3]; + } + set path(newPath) { + _http._Cookie._validatePath(newPath); + this[_path$3] = newPath; + } + set name(newName) { + if (newName == null) dart.nullFailed(I[180], 935, 19, "newName"); + _http._Cookie._validateName(newName); + this[_name$7] = newName; + } + set value(newValue) { + if (newValue == null) dart.nullFailed(I[180], 940, 20, "newValue"); + _http._Cookie._validateValue(newValue); + this[_value$5] = newValue; + } + [_parseSetCookieValue](s) { + if (s == null) dart.nullFailed(I[180], 953, 36, "s"); + let index = 0; + function done() { + return index === s.length; + } + dart.fn(done, T$.VoidTobool()); + function parseName() { + let start = index; + while (!dart.test(done())) { + if (s[$_get](index) === "=") break; + index = index + 1; + } + return s[$substring](start, index)[$trim](); + } + dart.fn(parseName, T$.VoidToString()); + function parseValue() { + let start = index; + while (!dart.test(done())) { + if (s[$_get](index) === ";") break; + index = index + 1; + } + return s[$substring](start, index)[$trim](); + } + dart.fn(parseValue, T$.VoidToString()); + const parseAttributes = () => { + function parseAttributeName() { + let start = index; + while (!dart.test(done())) { + if (s[$_get](index) === "=" || s[$_get](index) === ";") break; + index = index + 1; + } + return s[$substring](start, index)[$trim]()[$toLowerCase](); + } + dart.fn(parseAttributeName, T$.VoidToString()); + function parseAttributeValue() { + let start = index; + while (!dart.test(done())) { + if (s[$_get](index) === ";") break; + index = index + 1; + } + return s[$substring](start, index)[$trim]()[$toLowerCase](); + } + dart.fn(parseAttributeValue, T$.VoidToString()); + while (!dart.test(done())) { + let name = parseAttributeName(); + let value = ""; + if (!dart.test(done()) && s[$_get](index) === "=") { + index = index + 1; + value = parseAttributeValue(); + } + if (name === "expires") { + this.expires = _http.HttpDate._parseCookieDate(value); + } else if (name === "max-age") { + this.maxAge = core.int.parse(value); + } else if (name === "domain") { + this.domain = value; + } else if (name === "path") { + this.path = value; + } else if (name === "httponly") { + this.httpOnly = true; + } else if (name === "secure") { + this.secure = true; + } + if (!dart.test(done())) index = index + 1; + } + }; + dart.fn(parseAttributes, T$.VoidTovoid()); + this[_name$7] = _http._Cookie._validateName(parseName()); + if (dart.test(done()) || this[_name$7].length === 0) { + dart.throw(new _http.HttpException.new("Failed to parse header value [" + dart.str(s) + "]")); + } + index = index + 1; + this[_value$5] = _http._Cookie._validateValue(parseValue()); + if (dart.test(done())) return; + index = index + 1; + parseAttributes(); + } + toString() { + let t275, t275$, t275$0, t275$1, t275$2; + let sb = new core.StringBuffer.new(); + t275 = sb; + (() => { + t275.write(this[_name$7]); + t275.write("="); + t275.write(this[_value$5]); + return t275; + })(); + let expires = this.expires; + if (expires != null) { + t275$ = sb; + (() => { + t275$.write("; Expires="); + t275$.write(_http.HttpDate.format(expires)); + return t275$; + })(); + } + if (this.maxAge != null) { + t275$0 = sb; + (() => { + t275$0.write("; Max-Age="); + t275$0.write(this.maxAge); + return t275$0; + })(); + } + if (this.domain != null) { + t275$1 = sb; + (() => { + t275$1.write("; Domain="); + t275$1.write(this.domain); + return t275$1; + })(); + } + if (this.path != null) { + t275$2 = sb; + (() => { + t275$2.write("; Path="); + t275$2.write(this.path); + return t275$2; + })(); + } + if (dart.test(this.secure)) sb.write("; Secure"); + if (dart.test(this.httpOnly)) sb.write("; HttpOnly"); + return sb.toString(); + } + static _validateName(newName) { + if (newName == null) dart.nullFailed(I[180], 1051, 38, "newName"); + let separators = C[465] || CT.C465; + if (newName == null) dart.throw(new core.ArgumentError.notNull("name")); + for (let i = 0; i < newName.length; i = i + 1) { + let codeUnit = newName[$codeUnitAt](i); + if (codeUnit <= 32 || codeUnit >= 127 || dart.notNull(separators[$indexOf](newName[$_get](i))) >= 0) { + dart.throw(new core.FormatException.new("Invalid character in cookie name, code unit: '" + dart.str(codeUnit) + "'", newName, i)); + } + } + return newName; + } + static _validateValue(newValue) { + if (newValue == null) dart.nullFailed(I[180], 1086, 39, "newValue"); + if (newValue == null) dart.throw(new core.ArgumentError.notNull("value")); + let start = 0; + let end = newValue.length; + if (2 <= newValue.length && newValue[$codeUnits][$_get](start) === 34 && newValue[$codeUnits][$_get](end - 1) === 34) { + start = start + 1; + end = end - 1; + } + for (let i = start; i < end; i = i + 1) { + let codeUnit = newValue[$codeUnits][$_get](i); + if (!(codeUnit === 33 || dart.notNull(codeUnit) >= 35 && dart.notNull(codeUnit) <= 43 || dart.notNull(codeUnit) >= 45 && dart.notNull(codeUnit) <= 58 || dart.notNull(codeUnit) >= 60 && dart.notNull(codeUnit) <= 91 || dart.notNull(codeUnit) >= 93 && dart.notNull(codeUnit) <= 126)) { + dart.throw(new core.FormatException.new("Invalid character in cookie value, code unit: '" + dart.str(codeUnit) + "'", newValue, i)); + } + } + return newValue; + } + static _validatePath(path) { + if (path == null) return; + for (let i = 0; i < path.length; i = i + 1) { + let codeUnit = path[$codeUnitAt](i); + if (codeUnit < 32 || codeUnit >= 127 || codeUnit === 59) { + dart.throw(new core.FormatException.new("Invalid character in cookie path, code unit: '" + dart.str(codeUnit) + "'")); + } + } + } + }; + (_http._Cookie.new = function(name, value) { + if (name == null) dart.nullFailed(I[180], 920, 18, "name"); + if (value == null) dart.nullFailed(I[180], 920, 31, "value"); + this.expires = null; + this.maxAge = null; + this.domain = null; + this[_path$3] = null; + this.httpOnly = false; + this.secure = false; + this[_name$7] = _http._Cookie._validateName(name); + this[_value$5] = _http._Cookie._validateValue(value); + this.httpOnly = true; + ; + }).prototype = _http._Cookie.prototype; + (_http._Cookie.fromSetCookieValue = function(value) { + if (value == null) dart.nullFailed(I[180], 945, 37, "value"); + this.expires = null; + this.maxAge = null; + this.domain = null; + this[_path$3] = null; + this.httpOnly = false; + this.secure = false; + this[_name$7] = ""; + this[_value$5] = ""; + this[_parseSetCookieValue](value); + }).prototype = _http._Cookie.prototype; + dart.addTypeTests(_http._Cookie); + dart.addTypeCaches(_http._Cookie); + _http._Cookie[dart.implements] = () => [_http.Cookie]; + dart.setMethodSignature(_http._Cookie, () => ({ + __proto__: dart.getMethods(_http._Cookie.__proto__), + [_parseSetCookieValue]: dart.fnType(dart.void, [core.String]) + })); + dart.setGetterSignature(_http._Cookie, () => ({ + __proto__: dart.getGetters(_http._Cookie.__proto__), + name: core.String, + value: core.String, + path: dart.nullable(core.String) + })); + dart.setSetterSignature(_http._Cookie, () => ({ + __proto__: dart.getSetters(_http._Cookie.__proto__), + path: dart.nullable(core.String), + name: core.String, + value: core.String + })); + dart.setLibraryUri(_http._Cookie, I[177]); + dart.setFieldSignature(_http._Cookie, () => ({ + __proto__: dart.getFields(_http._Cookie.__proto__), + [_name$7]: dart.fieldType(core.String), + [_value$5]: dart.fieldType(core.String), + expires: dart.fieldType(dart.nullable(core.DateTime)), + maxAge: dart.fieldType(dart.nullable(core.int)), + domain: dart.fieldType(dart.nullable(core.String)), + [_path$3]: dart.fieldType(dart.nullable(core.String)), + httpOnly: dart.fieldType(core.bool), + secure: dart.fieldType(core.bool) + })); + dart.defineExtensionMethods(_http._Cookie, ['toString']); + var _timeline = dart.privateName(_http, "_timeline"); + _http.HttpProfiler = class HttpProfiler extends core.Object { + static startRequest(method, uri, opts) { + let t275; + if (method == null) dart.nullFailed(I[181], 13, 12, "method"); + if (uri == null) dart.nullFailed(I[181], 14, 9, "uri"); + let parentRequest = opts && 'parentRequest' in opts ? opts.parentRequest : null; + let data = new _http._HttpProfileData.new(method, uri, (t275 = parentRequest, t275 == null ? null : t275[_timeline])); + _http.HttpProfiler._profile[$_set](data.id, data); + return data; + } + static getHttpProfileRequest(id) { + if (id == null) dart.nullFailed(I[181], 22, 54, "id"); + return _http.HttpProfiler._profile[$_get](id); + } + static clear() { + return _http.HttpProfiler._profile[$clear](); + } + static toJson(updatedSince) { + return convert.json.encode(new (T$.IdentityMapOfString$Object()).from(["type", "HttpProfile", "timestamp", developer.Timeline.now, "requests", (() => { + let t275 = T$0.JSArrayOfMapOfString$dynamic().of([]); + for (let request of _http.HttpProfiler._profile[$values][$where](dart.fn(e => { + if (e == null) dart.nullFailed(I[181], 32, 12, "e"); + return updatedSince == null || dart.notNull(e.lastUpdateTime) >= dart.notNull(updatedSince); + }, T$0._HttpProfileDataTobool()))) + t275[$add](request.toJson()); + return t275; + })()])); + } + }; + (_http.HttpProfiler.new = function() { + ; + }).prototype = _http.HttpProfiler.prototype; + dart.addTypeTests(_http.HttpProfiler); + dart.addTypeCaches(_http.HttpProfiler); + dart.setLibraryUri(_http.HttpProfiler, I[177]); + dart.defineLazy(_http.HttpProfiler, { + /*_http.HttpProfiler._kType*/get _kType() { + return "HttpProfile"; + }, + /*_http.HttpProfiler._profile*/get _profile() { + return new (T$0.IdentityMapOfint$_HttpProfileData()).new(); + }, + set _profile(_) {} + }, false); + _http._HttpProfileEvent = class _HttpProfileEvent extends core.Object { + toJson() { + return (() => { + let t276 = new (T$0.IdentityMapOfString$dynamic()).new(); + t276[$_set]("timestamp", this.timestamp); + t276[$_set]("event", this.name); + if (this.arguments != null) t276[$_set]("arguments", this.arguments); + return t276; + })(); + } + }; + (_http._HttpProfileEvent.new = function(name, $arguments) { + if (name == null) dart.nullFailed(I[181], 43, 26, "name"); + this.timestamp = developer.Timeline.now; + this.name = name; + this.arguments = $arguments; + ; + }).prototype = _http._HttpProfileEvent.prototype; + dart.addTypeTests(_http._HttpProfileEvent); + dart.addTypeCaches(_http._HttpProfileEvent); + dart.setMethodSignature(_http._HttpProfileEvent, () => ({ + __proto__: dart.getMethods(_http._HttpProfileEvent.__proto__), + toJson: dart.fnType(core.Map$(core.String, dart.dynamic), []) + })); + dart.setLibraryUri(_http._HttpProfileEvent, I[177]); + dart.setFieldSignature(_http._HttpProfileEvent, () => ({ + __proto__: dart.getFields(_http._HttpProfileEvent.__proto__), + timestamp: dart.finalFieldType(core.int), + name: dart.finalFieldType(core.String), + arguments: dart.finalFieldType(dart.nullable(core.Map)) + })); + var ___HttpProfileData_id = dart.privateName(_http, "_#_HttpProfileData#id"); + var ___HttpProfileData_id_isSet = dart.privateName(_http, "_#_HttpProfileData#id#isSet"); + var ___HttpProfileData_requestStartTimestamp = dart.privateName(_http, "_#_HttpProfileData#requestStartTimestamp"); + var ___HttpProfileData_requestStartTimestamp_isSet = dart.privateName(_http, "_#_HttpProfileData#requestStartTimestamp#isSet"); + var ___HttpProfileData_requestEndTimestamp = dart.privateName(_http, "_#_HttpProfileData#requestEndTimestamp"); + var ___HttpProfileData_requestEndTimestamp_isSet = dart.privateName(_http, "_#_HttpProfileData#requestEndTimestamp#isSet"); + var ___HttpProfileData_responseStartTimestamp = dart.privateName(_http, "_#_HttpProfileData#responseStartTimestamp"); + var ___HttpProfileData_responseStartTimestamp_isSet = dart.privateName(_http, "_#_HttpProfileData#responseStartTimestamp#isSet"); + var ___HttpProfileData_responseEndTimestamp = dart.privateName(_http, "_#_HttpProfileData#responseEndTimestamp"); + var ___HttpProfileData_responseEndTimestamp_isSet = dart.privateName(_http, "_#_HttpProfileData#responseEndTimestamp#isSet"); + var _lastUpdateTime = dart.privateName(_http, "_lastUpdateTime"); + var ___HttpProfileData__responseTimeline = dart.privateName(_http, "_#_HttpProfileData#_responseTimeline"); + var ___HttpProfileData__responseTimeline_isSet = dart.privateName(_http, "_#_HttpProfileData#_responseTimeline#isSet"); + var _updated = dart.privateName(_http, "_updated"); + var _responseTimeline = dart.privateName(_http, "_responseTimeline"); + _http._HttpProfileData = class _HttpProfileData extends core.Object { + requestEvent(name, opts) { + if (name == null) dart.nullFailed(I[181], 76, 28, "name"); + let $arguments = opts && 'arguments' in opts ? opts.arguments : null; + this[_timeline].instant(name, {arguments: $arguments}); + this.requestEvents[$add](new _http._HttpProfileEvent.new(name, $arguments)); + this[_updated](); + } + proxyEvent(proxy) { + if (proxy == null) dart.nullFailed(I[181], 82, 26, "proxy"); + this.proxyDetails = (() => { + let t277 = new (T$0.IdentityMapOfString$dynamic()).new(); + if (proxy.host != null) t277[$_set]("host", proxy.host); + if (proxy.port != null) t277[$_set]("port", proxy.port); + if (proxy.username != null) t277[$_set]("username", proxy.username); + return t277; + })(); + this[_timeline].instant("Establishing proxy tunnel", {arguments: new _js_helper.LinkedMap.from(["proxyDetails", this.proxyDetails])}); + this[_updated](); + } + appendRequestData(data) { + if (data == null) dart.nullFailed(I[181], 94, 36, "data"); + this.requestBody[$addAll](data); + this[_updated](); + } + formatHeaders(r) { + let headers = new (T$0.IdentityMapOfString$ListOfString()).new(); + dart.dsend(dart.dload(r, 'headers'), 'forEach', [dart.fn((name, values) => { + headers[$_set](core.String.as(name), T$.ListOfString().as(values)); + }, T$.dynamicAnddynamicToNull())]); + return headers; + } + formatConnectionInfo(r) { + let t278, t278$, t278$0; + return dart.dload(r, 'connectionInfo') == null ? null : new _js_helper.LinkedMap.from(["localPort", (t278 = dart.dload(r, 'connectionInfo'), t278 == null ? null : dart.dload(t278, 'localPort')), "remoteAddress", (t278$ = dart.dload(r, 'connectionInfo'), t278$ == null ? null : dart.dload(dart.dload(t278$, 'remoteAddress'), 'address')), "remotePort", (t278$0 = dart.dload(r, 'connectionInfo'), t278$0 == null ? null : dart.dload(t278$0, 'remotePort'))]); + } + finishRequest(opts) { + let request = opts && 'request' in opts ? opts.request : null; + if (request == null) dart.nullFailed(I[181], 116, 32, "request"); + this.requestInProgress = false; + this.requestEndTimestamp = developer.Timeline.now; + this.requestDetails = new (T$0.IdentityMapOfString$dynamic()).from(["headers", this.formatHeaders(request), "connectionInfo", this.formatConnectionInfo(request), "contentLength", request.contentLength, "cookies", (() => { + let t278 = T$.JSArrayOfString().of([]); + for (let cookie of request.cookies) + t278[$add](dart.toString(cookie)); + return t278; + })(), "followRedirects", request.followRedirects, "maxRedirects", request.maxRedirects, "method", request.method, "persistentConnection", request.persistentConnection, "uri", dart.toString(request.uri)]); + this[_timeline].finish({arguments: this.requestDetails}); + this[_updated](); + } + startResponse(opts) { + let response = opts && 'response' in opts ? opts.response : null; + if (response == null) dart.nullFailed(I[181], 142, 51, "response"); + function formatRedirectInfo() { + let redirects = T$0.JSArrayOfMapOfString$dynamic().of([]); + for (let redirect of response.redirects) { + redirects[$add](new (T$0.IdentityMapOfString$dynamic()).from(["location", dart.toString(redirect.location), "method", redirect.method, "statusCode", redirect.statusCode])); + } + return redirects; + } + dart.fn(formatRedirectInfo, T$0.VoidToListOfMapOfString$dynamic()); + this.responseDetails = new (T$0.IdentityMapOfString$dynamic()).from(["headers", this.formatHeaders(response), "compressionState", dart.toString(response.compressionState), "connectionInfo", this.formatConnectionInfo(response), "contentLength", response.contentLength, "cookies", (() => { + let t279 = T$.JSArrayOfString().of([]); + for (let cookie of response.cookies) + t279[$add](dart.toString(cookie)); + return t279; + })(), "isRedirect", response.isRedirect, "persistentConnection", response.persistentConnection, "reasonPhrase", response.reasonPhrase, "redirects", formatRedirectInfo(), "statusCode", response.statusCode]); + if (!!dart.test(this.requestInProgress)) dart.assertFailed(null, I[181], 170, 12, "!requestInProgress"); + this.responseInProgress = true; + this[_responseTimeline] = new developer.TimelineTask.new({parent: this[_timeline], filterKey: "HTTP/client"}); + this.responseStartTimestamp = developer.Timeline.now; + this[_responseTimeline].start("HTTP CLIENT response of " + dart.str(this.method), {arguments: (() => { + let t280 = new _js_helper.LinkedMap.new(); + t280[$_set]("requestUri", dart.toString(this.uri)); + for (let t281 of dart.nullCheck(this.responseDetails)[$entries]) + t280[$_set](t281.key, t281.value); + return t280; + })()}); + this[_updated](); + } + finishRequestWithError(error) { + if (error == null) dart.nullFailed(I[181], 188, 38, "error"); + this.requestInProgress = false; + this.requestEndTimestamp = developer.Timeline.now; + this.requestError = error; + this[_timeline].finish({arguments: new _js_helper.LinkedMap.from(["error", error])}); + this[_updated](); + } + finishResponse() { + this.responseInProgress = false; + this.responseEndTimestamp = developer.Timeline.now; + this.requestEvent("Content Download"); + this[_responseTimeline].finish(); + this[_updated](); + } + finishResponseWithError(error) { + if (error == null) dart.nullFailed(I[181], 206, 39, "error"); + if (!dart.nullCheck(this.responseInProgress)) return; + this.responseInProgress = false; + this.responseEndTimestamp = developer.Timeline.now; + this.responseError = error; + this[_responseTimeline].finish({arguments: new _js_helper.LinkedMap.from(["error", error])}); + this[_updated](); + } + appendResponseData(data) { + if (data == null) dart.nullFailed(I[181], 219, 37, "data"); + this.responseBody[$addAll](data); + this[_updated](); + } + toJson(opts) { + let ref = opts && 'ref' in opts ? opts.ref : true; + if (ref == null) dart.nullFailed(I[181], 224, 37, "ref"); + return (() => { + let t282 = new (T$0.IdentityMapOfString$dynamic()).new(); + t282[$_set]("type", (dart.test(ref) ? "@" : "") + "HttpProfileRequest"); + t282[$_set]("id", this.id); + t282[$_set]("isolateId", _http._HttpProfileData.isolateId); + t282[$_set]("method", this.method); + t282[$_set]("uri", dart.toString(this.uri)); + t282[$_set]("startTime", this.requestStartTimestamp); + if (!dart.test(this.requestInProgress)) t282[$_set]("endTime", this.requestEndTimestamp); + if (!dart.test(this.requestInProgress)) t282[$_set]("request", (() => { + let t283 = new (T$0.IdentityMapOfString$dynamic()).new(); + t283[$_set]("events", (() => { + let t284 = T$0.JSArrayOfMapOfString$dynamic().of([]); + for (let event of this.requestEvents) + t284[$add](event.toJson()); + return t284; + })()); + if (this.proxyDetails != null) t283[$_set]("proxyDetails", dart.nullCheck(this.proxyDetails)); + if (this.requestDetails != null) for (let t285 of dart.nullCheck(this.requestDetails)[$entries]) + t283[$_set](t285.key, t285.value); + if (this.requestError != null) t283[$_set]("error", this.requestError); + return t283; + })()); + if (this.responseInProgress != null) t282[$_set]("response", (() => { + let t286 = new (T$0.IdentityMapOfString$dynamic()).new(); + t286[$_set]("startTime", this.responseStartTimestamp); + for (let t287 of dart.nullCheck(this.responseDetails)[$entries]) + t286[$_set](t287.key, t287.value); + if (!dart.nullCheck(this.responseInProgress)) t286[$_set]("endTime", this.responseEndTimestamp); + if (this.responseError != null) t286[$_set]("error", this.responseError); + return t286; + })()); + if (!dart.test(ref)) for (let t289 of (() => { + let t288 = new (T$0.IdentityMapOfString$dynamic()).new(); + if (!dart.test(this.requestInProgress)) t288[$_set]("requestBody", this.requestBody); + if (this.responseInProgress != null) t288[$_set]("responseBody", this.responseBody); + return t288; + })()[$entries]) + t282[$_set](t289.key, t289.value); + return t282; + })(); + } + [_updated]() { + return this[_lastUpdateTime] = developer.Timeline.now; + } + get id() { + let t290; + return dart.test(this[___HttpProfileData_id_isSet]) ? (t290 = this[___HttpProfileData_id], t290) : dart.throw(new _internal.LateError.fieldNI("id")); + } + set id(t290) { + if (t290 == null) dart.nullFailed(I[181], 263, 18, "null"); + if (dart.test(this[___HttpProfileData_id_isSet])) + dart.throw(new _internal.LateError.fieldAI("id")); + else { + this[___HttpProfileData_id_isSet] = true; + this[___HttpProfileData_id] = t290; + } + } + get requestStartTimestamp() { + let t291; + return dart.test(this[___HttpProfileData_requestStartTimestamp_isSet]) ? (t291 = this[___HttpProfileData_requestStartTimestamp], t291) : dart.throw(new _internal.LateError.fieldNI("requestStartTimestamp")); + } + set requestStartTimestamp(t291) { + if (t291 == null) dart.nullFailed(I[181], 267, 18, "null"); + if (dart.test(this[___HttpProfileData_requestStartTimestamp_isSet])) + dart.throw(new _internal.LateError.fieldAI("requestStartTimestamp")); + else { + this[___HttpProfileData_requestStartTimestamp_isSet] = true; + this[___HttpProfileData_requestStartTimestamp] = t291; + } + } + get requestEndTimestamp() { + let t292; + return dart.test(this[___HttpProfileData_requestEndTimestamp_isSet]) ? (t292 = this[___HttpProfileData_requestEndTimestamp], t292) : dart.throw(new _internal.LateError.fieldNI("requestEndTimestamp")); + } + set requestEndTimestamp(t292) { + if (t292 == null) dart.nullFailed(I[181], 268, 18, "null"); + if (dart.test(this[___HttpProfileData_requestEndTimestamp_isSet])) + dart.throw(new _internal.LateError.fieldAI("requestEndTimestamp")); + else { + this[___HttpProfileData_requestEndTimestamp_isSet] = true; + this[___HttpProfileData_requestEndTimestamp] = t292; + } + } + get responseStartTimestamp() { + let t293; + return dart.test(this[___HttpProfileData_responseStartTimestamp_isSet]) ? (t293 = this[___HttpProfileData_responseStartTimestamp], t293) : dart.throw(new _internal.LateError.fieldNI("responseStartTimestamp")); + } + set responseStartTimestamp(t293) { + if (t293 == null) dart.nullFailed(I[181], 275, 18, "null"); + if (dart.test(this[___HttpProfileData_responseStartTimestamp_isSet])) + dart.throw(new _internal.LateError.fieldAI("responseStartTimestamp")); + else { + this[___HttpProfileData_responseStartTimestamp_isSet] = true; + this[___HttpProfileData_responseStartTimestamp] = t293; + } + } + get responseEndTimestamp() { + let t294; + return dart.test(this[___HttpProfileData_responseEndTimestamp_isSet]) ? (t294 = this[___HttpProfileData_responseEndTimestamp], t294) : dart.throw(new _internal.LateError.fieldNI("responseEndTimestamp")); + } + set responseEndTimestamp(t294) { + if (t294 == null) dart.nullFailed(I[181], 276, 18, "null"); + if (dart.test(this[___HttpProfileData_responseEndTimestamp_isSet])) + dart.throw(new _internal.LateError.fieldAI("responseEndTimestamp")); + else { + this[___HttpProfileData_responseEndTimestamp_isSet] = true; + this[___HttpProfileData_responseEndTimestamp] = t294; + } + } + get lastUpdateTime() { + return this[_lastUpdateTime]; + } + get [_responseTimeline]() { + let t295; + return dart.test(this[___HttpProfileData__responseTimeline_isSet]) ? (t295 = this[___HttpProfileData__responseTimeline], t295) : dart.throw(new _internal.LateError.fieldNI("_responseTimeline")); + } + set [_responseTimeline](t295) { + if (t295 == null) dart.nullFailed(I[181], 285, 21, "null"); + this[___HttpProfileData__responseTimeline_isSet] = true; + this[___HttpProfileData__responseTimeline] = t295; + } + }; + (_http._HttpProfileData.new = function(method, uri, parent) { + if (method == null) dart.nullFailed(I[181], 58, 27, "method"); + if (uri == null) dart.nullFailed(I[181], 58, 40, "uri"); + this.requestInProgress = true; + this.responseInProgress = null; + this[___HttpProfileData_id] = null; + this[___HttpProfileData_id_isSet] = false; + this[___HttpProfileData_requestStartTimestamp] = null; + this[___HttpProfileData_requestStartTimestamp_isSet] = false; + this[___HttpProfileData_requestEndTimestamp] = null; + this[___HttpProfileData_requestEndTimestamp_isSet] = false; + this.requestDetails = null; + this.proxyDetails = null; + this.requestBody = T$.JSArrayOfint().of([]); + this.requestError = null; + this.requestEvents = T$0.JSArrayOf_HttpProfileEvent().of([]); + this[___HttpProfileData_responseStartTimestamp] = null; + this[___HttpProfileData_responseStartTimestamp_isSet] = false; + this[___HttpProfileData_responseEndTimestamp] = null; + this[___HttpProfileData_responseEndTimestamp_isSet] = false; + this.responseDetails = null; + this.responseBody = T$.JSArrayOfint().of([]); + this.responseError = null; + this[_lastUpdateTime] = 0; + this[___HttpProfileData__responseTimeline] = null; + this[___HttpProfileData__responseTimeline_isSet] = false; + this.uri = uri; + this.method = method[$toUpperCase](); + this[_timeline] = new developer.TimelineTask.new({filterKey: "HTTP/client", parent: parent}); + this.id = this[_timeline].pass(); + this.requestInProgress = true; + this.requestStartTimestamp = developer.Timeline.now; + this[_timeline].start("HTTP CLIENT " + dart.str(method), {arguments: new _js_helper.LinkedMap.from(["method", method[$toUpperCase](), "uri", dart.toString(this.uri)])}); + this[_updated](); + }).prototype = _http._HttpProfileData.prototype; + dart.addTypeTests(_http._HttpProfileData); + dart.addTypeCaches(_http._HttpProfileData); + dart.setMethodSignature(_http._HttpProfileData, () => ({ + __proto__: dart.getMethods(_http._HttpProfileData.__proto__), + requestEvent: dart.fnType(dart.void, [core.String], {arguments: dart.nullable(core.Map)}, {}), + proxyEvent: dart.fnType(dart.void, [_http._Proxy]), + appendRequestData: dart.fnType(dart.void, [typed_data.Uint8List]), + formatHeaders: dart.fnType(core.Map, [dart.dynamic]), + formatConnectionInfo: dart.fnType(dart.nullable(core.Map), [dart.dynamic]), + finishRequest: dart.fnType(dart.void, [], {}, {request: _http.HttpClientRequest}), + startResponse: dart.fnType(dart.void, [], {}, {response: _http.HttpClientResponse}), + finishRequestWithError: dart.fnType(dart.void, [core.String]), + finishResponse: dart.fnType(dart.void, []), + finishResponseWithError: dart.fnType(dart.void, [core.String]), + appendResponseData: dart.fnType(dart.void, [typed_data.Uint8List]), + toJson: dart.fnType(core.Map$(core.String, dart.dynamic), [], {ref: core.bool}, {}), + [_updated]: dart.fnType(dart.void, []) + })); + dart.setGetterSignature(_http._HttpProfileData, () => ({ + __proto__: dart.getGetters(_http._HttpProfileData.__proto__), + id: core.int, + requestStartTimestamp: core.int, + requestEndTimestamp: core.int, + responseStartTimestamp: core.int, + responseEndTimestamp: core.int, + lastUpdateTime: core.int, + [_responseTimeline]: developer.TimelineTask + })); + dart.setSetterSignature(_http._HttpProfileData, () => ({ + __proto__: dart.getSetters(_http._HttpProfileData.__proto__), + id: core.int, + requestStartTimestamp: core.int, + requestEndTimestamp: core.int, + responseStartTimestamp: core.int, + responseEndTimestamp: core.int, + [_responseTimeline]: developer.TimelineTask + })); + dart.setLibraryUri(_http._HttpProfileData, I[177]); + dart.setFieldSignature(_http._HttpProfileData, () => ({ + __proto__: dart.getFields(_http._HttpProfileData.__proto__), + requestInProgress: dart.fieldType(core.bool), + responseInProgress: dart.fieldType(dart.nullable(core.bool)), + [___HttpProfileData_id]: dart.fieldType(dart.nullable(core.int)), + [___HttpProfileData_id_isSet]: dart.fieldType(core.bool), + method: dart.finalFieldType(core.String), + uri: dart.finalFieldType(core.Uri), + [___HttpProfileData_requestStartTimestamp]: dart.fieldType(dart.nullable(core.int)), + [___HttpProfileData_requestStartTimestamp_isSet]: dart.fieldType(core.bool), + [___HttpProfileData_requestEndTimestamp]: dart.fieldType(dart.nullable(core.int)), + [___HttpProfileData_requestEndTimestamp_isSet]: dart.fieldType(core.bool), + requestDetails: dart.fieldType(dart.nullable(core.Map$(core.String, dart.dynamic))), + proxyDetails: dart.fieldType(dart.nullable(core.Map$(core.String, dart.dynamic))), + requestBody: dart.finalFieldType(core.List$(core.int)), + requestError: dart.fieldType(dart.nullable(core.String)), + requestEvents: dart.finalFieldType(core.List$(_http._HttpProfileEvent)), + [___HttpProfileData_responseStartTimestamp]: dart.fieldType(dart.nullable(core.int)), + [___HttpProfileData_responseStartTimestamp_isSet]: dart.fieldType(core.bool), + [___HttpProfileData_responseEndTimestamp]: dart.fieldType(dart.nullable(core.int)), + [___HttpProfileData_responseEndTimestamp_isSet]: dart.fieldType(core.bool), + responseDetails: dart.fieldType(dart.nullable(core.Map$(core.String, dart.dynamic))), + responseBody: dart.finalFieldType(core.List$(core.int)), + responseError: dart.fieldType(dart.nullable(core.String)), + [_lastUpdateTime]: dart.fieldType(core.int), + [_timeline]: dart.fieldType(developer.TimelineTask), + [___HttpProfileData__responseTimeline]: dart.fieldType(dart.nullable(developer.TimelineTask)), + [___HttpProfileData__responseTimeline_isSet]: dart.fieldType(core.bool) + })); + dart.defineLazy(_http._HttpProfileData, { + /*_http._HttpProfileData.isolateId*/get isolateId() { + return dart.nullCheck(developer.Service.getIsolateID(isolate$.Isolate.current)); + } + }, false); + var __serviceId$ = dart.privateName(_http, "_ServiceObject.__serviceId"); + var __serviceId$0 = dart.privateName(_http, "__serviceId"); + var _serviceId$ = dart.privateName(_http, "_serviceId"); + var _serviceTypePath$ = dart.privateName(_http, "_serviceTypePath"); + var _servicePath$ = dart.privateName(_http, "_servicePath"); + var _serviceTypeName$ = dart.privateName(_http, "_serviceTypeName"); + var _serviceType$ = dart.privateName(_http, "_serviceType"); + _http._ServiceObject = class _ServiceObject extends core.Object { + get [__serviceId$0]() { + return this[__serviceId$]; + } + set [__serviceId$0](value) { + this[__serviceId$] = value; + } + get [_serviceId$]() { + let t296; + if (this[__serviceId$0] === 0) this[__serviceId$0] = (t296 = _http._nextServiceId, _http._nextServiceId = dart.notNull(t296) + 1, t296); + return this[__serviceId$0]; + } + get [_servicePath$]() { + return dart.str(this[_serviceTypePath$]) + "/" + dart.str(this[_serviceId$]); + } + [_serviceType$](ref) { + if (ref == null) dart.nullFailed(I[181], 306, 28, "ref"); + if (dart.test(ref)) return "@" + dart.str(this[_serviceTypeName$]); + return this[_serviceTypeName$]; + } + }; + (_http._ServiceObject.new = function() { + this[__serviceId$] = 0; + ; + }).prototype = _http._ServiceObject.prototype; + dart.addTypeTests(_http._ServiceObject); + dart.addTypeCaches(_http._ServiceObject); + dart.setMethodSignature(_http._ServiceObject, () => ({ + __proto__: dart.getMethods(_http._ServiceObject.__proto__), + [_serviceType$]: dart.fnType(core.String, [core.bool]) + })); + dart.setGetterSignature(_http._ServiceObject, () => ({ + __proto__: dart.getGetters(_http._ServiceObject.__proto__), + [_serviceId$]: core.int, + [_servicePath$]: core.String + })); + dart.setLibraryUri(_http._ServiceObject, I[177]); + dart.setFieldSignature(_http._ServiceObject, () => ({ + __proto__: dart.getFields(_http._ServiceObject.__proto__), + [__serviceId$0]: dart.fieldType(core.int) + })); + var _length$1 = dart.privateName(_http, "_length"); + var _buffer$1 = dart.privateName(_http, "_buffer"); + var _grow$0 = dart.privateName(_http, "_grow"); + _http._CopyingBytesBuilder = class _CopyingBytesBuilder extends core.Object { + add(bytes) { + if (bytes == null) dart.nullFailed(I[181], 326, 22, "bytes"); + let bytesLength = bytes[$length]; + if (bytesLength === 0) return; + let required = dart.notNull(this[_length$1]) + dart.notNull(bytesLength); + if (dart.notNull(this[_buffer$1][$length]) < required) { + this[_grow$0](required); + } + if (!(dart.notNull(this[_buffer$1][$length]) >= required)) dart.assertFailed(null, I[181], 333, 12, "_buffer.length >= required"); + if (typed_data.Uint8List.is(bytes)) { + this[_buffer$1][$setRange](this[_length$1], required, bytes); + } else { + for (let i = 0; i < dart.notNull(bytesLength); i = i + 1) { + this[_buffer$1][$_set](dart.notNull(this[_length$1]) + i, bytes[$_get](i)); + } + } + this[_length$1] = required; + } + addByte(byte) { + if (byte == null) dart.nullFailed(I[181], 344, 20, "byte"); + if (this[_buffer$1][$length] == this[_length$1]) { + this[_grow$0](this[_length$1]); + } + if (!(dart.notNull(this[_buffer$1][$length]) > dart.notNull(this[_length$1]))) dart.assertFailed(null, I[181], 350, 12, "_buffer.length > _length"); + this[_buffer$1][$_set](this[_length$1], byte); + this[_length$1] = dart.notNull(this[_length$1]) + 1; + } + [_grow$0](required) { + if (required == null) dart.nullFailed(I[181], 355, 18, "required"); + let newSize = dart.notNull(required) * 2; + if (dart.notNull(newSize) < 1024) { + newSize = 1024; + } else { + newSize = _http._CopyingBytesBuilder._pow2roundup(newSize); + } + let newBuffer = _native_typed_data.NativeUint8List.new(newSize); + newBuffer[$setRange](0, this[_buffer$1][$length], this[_buffer$1]); + this[_buffer$1] = newBuffer; + } + takeBytes() { + if (this[_length$1] === 0) return _http._CopyingBytesBuilder._emptyList; + let buffer = typed_data.Uint8List.view(this[_buffer$1][$buffer], this[_buffer$1][$offsetInBytes], this[_length$1]); + this.clear(); + return buffer; + } + toBytes() { + if (this[_length$1] === 0) return _http._CopyingBytesBuilder._emptyList; + return _native_typed_data.NativeUint8List.fromList(typed_data.Uint8List.view(this[_buffer$1][$buffer], this[_buffer$1][$offsetInBytes], this[_length$1])); + } + get length() { + return this[_length$1]; + } + get isEmpty() { + return this[_length$1] === 0; + } + get isNotEmpty() { + return this[_length$1] !== 0; + } + clear() { + this[_length$1] = 0; + this[_buffer$1] = _http._CopyingBytesBuilder._emptyList; + } + static _pow2roundup(x) { + if (x == null) dart.nullFailed(I[181], 394, 31, "x"); + if (!(dart.notNull(x) > 0)) dart.assertFailed(null, I[181], 395, 12, "x > 0"); + x = dart.notNull(x) - 1; + x = (dart.notNull(x) | x[$rightShift](1)) >>> 0; + x = (dart.notNull(x) | x[$rightShift](2)) >>> 0; + x = (dart.notNull(x) | x[$rightShift](4)) >>> 0; + x = (dart.notNull(x) | x[$rightShift](8)) >>> 0; + x = (dart.notNull(x) | x[$rightShift](16)) >>> 0; + return dart.notNull(x) + 1; + } + }; + (_http._CopyingBytesBuilder.new = function(initialCapacity = 0) { + if (initialCapacity == null) dart.nullFailed(I[181], 321, 29, "initialCapacity"); + this[_length$1] = 0; + this[_buffer$1] = dart.notNull(initialCapacity) <= 0 ? _http._CopyingBytesBuilder._emptyList : _native_typed_data.NativeUint8List.new(_http._CopyingBytesBuilder._pow2roundup(initialCapacity)); + ; + }).prototype = _http._CopyingBytesBuilder.prototype; + dart.addTypeTests(_http._CopyingBytesBuilder); + dart.addTypeCaches(_http._CopyingBytesBuilder); + _http._CopyingBytesBuilder[dart.implements] = () => [_internal.BytesBuilder]; + dart.setMethodSignature(_http._CopyingBytesBuilder, () => ({ + __proto__: dart.getMethods(_http._CopyingBytesBuilder.__proto__), + add: dart.fnType(dart.void, [core.List$(core.int)]), + addByte: dart.fnType(dart.void, [core.int]), + [_grow$0]: dart.fnType(dart.void, [core.int]), + takeBytes: dart.fnType(typed_data.Uint8List, []), + toBytes: dart.fnType(typed_data.Uint8List, []), + clear: dart.fnType(dart.void, []) + })); + dart.setGetterSignature(_http._CopyingBytesBuilder, () => ({ + __proto__: dart.getGetters(_http._CopyingBytesBuilder.__proto__), + length: core.int, + isEmpty: core.bool, + isNotEmpty: core.bool + })); + dart.setLibraryUri(_http._CopyingBytesBuilder, I[177]); + dart.setFieldSignature(_http._CopyingBytesBuilder, () => ({ + __proto__: dart.getFields(_http._CopyingBytesBuilder.__proto__), + [_length$1]: dart.fieldType(core.int), + [_buffer$1]: dart.fieldType(typed_data.Uint8List) + })); + dart.defineLazy(_http._CopyingBytesBuilder, { + /*_http._CopyingBytesBuilder._INIT_SIZE*/get _INIT_SIZE() { + return 1024; + }, + /*_http._CopyingBytesBuilder._emptyList*/get _emptyList() { + return _native_typed_data.NativeUint8List.new(0); + } + }, false); + var _dataCompleter = dart.privateName(_http, "_dataCompleter"); + var _transferLength$ = dart.privateName(_http, "_transferLength"); + var _stream$1 = dart.privateName(_http, "_stream"); + _http._HttpIncoming = class _HttpIncoming extends async.Stream$(typed_data.Uint8List) { + get transferLength() { + return this[_transferLength$]; + } + listen(onData, opts) { + let onError = opts && 'onError' in opts ? opts.onError : null; + let onDone = opts && 'onDone' in opts ? opts.onDone : null; + let cancelOnError = opts && 'cancelOnError' in opts ? opts.cancelOnError : null; + this.hasSubscriber = true; + return this[_stream$1].handleError(dart.fn(error => { + dart.throw(new _http.HttpException.new(core.String.as(dart.dload(error, 'message')), {uri: this.uri})); + }, T$0.dynamicToNever())).listen(onData, {onError: onError, onDone: onDone, cancelOnError: cancelOnError}); + } + get dataDone() { + return this[_dataCompleter].future; + } + close(closing) { + if (closing == null) dart.nullFailed(I[181], 451, 19, "closing"); + this.fullBodyRead = true; + this.hasSubscriber = true; + this[_dataCompleter].complete(closing); + } + }; + (_http._HttpIncoming.new = function(headers, _transferLength, _stream) { + if (headers == null) dart.nullFailed(I[181], 437, 22, "headers"); + if (_transferLength == null) dart.nullFailed(I[181], 437, 36, "_transferLength"); + if (_stream == null) dart.nullFailed(I[181], 437, 58, "_stream"); + this[_dataCompleter] = async.Completer.new(); + this.fullBodyRead = false; + this.upgraded = false; + this.statusCode = null; + this.reasonPhrase = null; + this.method = null; + this.uri = null; + this.hasSubscriber = false; + this.headers = headers; + this[_transferLength$] = _transferLength; + this[_stream$1] = _stream; + _http._HttpIncoming.__proto__.new.call(this); + ; + }).prototype = _http._HttpIncoming.prototype; + dart.addTypeTests(_http._HttpIncoming); + dart.addTypeCaches(_http._HttpIncoming); + dart.setMethodSignature(_http._HttpIncoming, () => ({ + __proto__: dart.getMethods(_http._HttpIncoming.__proto__), + listen: dart.fnType(async.StreamSubscription$(typed_data.Uint8List), [dart.nullable(dart.fnType(dart.void, [typed_data.Uint8List]))], {cancelOnError: dart.nullable(core.bool), onDone: dart.nullable(dart.fnType(dart.void, [])), onError: dart.nullable(core.Function)}, {}), + close: dart.fnType(dart.void, [core.bool]) + })); + dart.setGetterSignature(_http._HttpIncoming, () => ({ + __proto__: dart.getGetters(_http._HttpIncoming.__proto__), + transferLength: core.int, + dataDone: async.Future + })); + dart.setLibraryUri(_http._HttpIncoming, I[177]); + dart.setFieldSignature(_http._HttpIncoming, () => ({ + __proto__: dart.getFields(_http._HttpIncoming.__proto__), + [_transferLength$]: dart.finalFieldType(core.int), + [_dataCompleter]: dart.finalFieldType(async.Completer), + [_stream$1]: dart.fieldType(async.Stream$(typed_data.Uint8List)), + fullBodyRead: dart.fieldType(core.bool), + headers: dart.finalFieldType(_http._HttpHeaders), + upgraded: dart.fieldType(core.bool), + statusCode: dart.fieldType(dart.nullable(core.int)), + reasonPhrase: dart.fieldType(dart.nullable(core.String)), + method: dart.fieldType(dart.nullable(core.String)), + uri: dart.fieldType(dart.nullable(core.Uri)), + hasSubscriber: dart.fieldType(core.bool) + })); + var _cookies = dart.privateName(_http, "_cookies"); + var _incoming$ = dart.privateName(_http, "_incoming"); + _http._HttpInboundMessageListInt = class _HttpInboundMessageListInt extends async.Stream$(core.List$(core.int)) { + get cookies() { + let t296; + t296 = this[_cookies]; + return t296 == null ? this[_cookies] = this.headers[_parseCookies]() : t296; + } + get headers() { + return this[_incoming$].headers; + } + get protocolVersion() { + return this.headers.protocolVersion; + } + get contentLength() { + return this.headers.contentLength; + } + get persistentConnection() { + return this.headers.persistentConnection; + } + }; + (_http._HttpInboundMessageListInt.new = function(_incoming) { + if (_incoming == null) dart.nullFailed(I[181], 462, 35, "_incoming"); + this[_cookies] = null; + this[_incoming$] = _incoming; + _http._HttpInboundMessageListInt.__proto__.new.call(this); + ; + }).prototype = _http._HttpInboundMessageListInt.prototype; + dart.addTypeTests(_http._HttpInboundMessageListInt); + dart.addTypeCaches(_http._HttpInboundMessageListInt); + dart.setGetterSignature(_http._HttpInboundMessageListInt, () => ({ + __proto__: dart.getGetters(_http._HttpInboundMessageListInt.__proto__), + cookies: core.List$(_http.Cookie), + headers: _http._HttpHeaders, + protocolVersion: core.String, + contentLength: core.int, + persistentConnection: core.bool + })); + dart.setLibraryUri(_http._HttpInboundMessageListInt, I[177]); + dart.setFieldSignature(_http._HttpInboundMessageListInt, () => ({ + __proto__: dart.getFields(_http._HttpInboundMessageListInt.__proto__), + [_incoming$]: dart.finalFieldType(_http._HttpIncoming), + [_cookies]: dart.fieldType(dart.nullable(core.List$(_http.Cookie))) + })); + _http._HttpInboundMessage = class _HttpInboundMessage extends async.Stream$(typed_data.Uint8List) { + get cookies() { + let t296; + t296 = this[_cookies]; + return t296 == null ? this[_cookies] = this.headers[_parseCookies]() : t296; + } + get headers() { + return this[_incoming$].headers; + } + get protocolVersion() { + return this.headers.protocolVersion; + } + get contentLength() { + return this.headers.contentLength; + } + get persistentConnection() { + return this.headers.persistentConnection; + } + }; + (_http._HttpInboundMessage.new = function(_incoming) { + if (_incoming == null) dart.nullFailed(I[181], 476, 28, "_incoming"); + this[_cookies] = null; + this[_incoming$] = _incoming; + _http._HttpInboundMessage.__proto__.new.call(this); + ; + }).prototype = _http._HttpInboundMessage.prototype; + dart.addTypeTests(_http._HttpInboundMessage); + dart.addTypeCaches(_http._HttpInboundMessage); + dart.setGetterSignature(_http._HttpInboundMessage, () => ({ + __proto__: dart.getGetters(_http._HttpInboundMessage.__proto__), + cookies: core.List$(_http.Cookie), + headers: _http._HttpHeaders, + protocolVersion: core.String, + contentLength: core.int, + persistentConnection: core.bool + })); + dart.setLibraryUri(_http._HttpInboundMessage, I[177]); + dart.setFieldSignature(_http._HttpInboundMessage, () => ({ + __proto__: dart.getFields(_http._HttpInboundMessage.__proto__), + [_incoming$]: dart.finalFieldType(_http._HttpIncoming), + [_cookies]: dart.fieldType(dart.nullable(core.List$(_http.Cookie))) + })); + var _session = dart.privateName(_http, "_session"); + var _requestedUri = dart.privateName(_http, "_requestedUri"); + var _httpServer$ = dart.privateName(_http, "_httpServer"); + var _httpConnection$ = dart.privateName(_http, "_httpConnection"); + var _sessionManagerInstance = dart.privateName(_http, "_sessionManagerInstance"); + var _sessionManager$ = dart.privateName(_http, "_sessionManager"); + var _markSeen = dart.privateName(_http, "_markSeen"); + var _socket$0 = dart.privateName(_http, "_socket"); + var _destroyed = dart.privateName(_http, "_destroyed"); + _http._HttpRequest = class _HttpRequest extends _http._HttpInboundMessage { + listen(onData, opts) { + let onError = opts && 'onError' in opts ? opts.onError : null; + let onDone = opts && 'onDone' in opts ? opts.onDone : null; + let cancelOnError = opts && 'cancelOnError' in opts ? opts.cancelOnError : null; + return this[_incoming$].listen(onData, {onError: onError, onDone: onDone, cancelOnError: cancelOnError}); + } + get uri() { + return dart.nullCheck(this[_incoming$].uri); + } + get requestedUri() { + let requestedUri = this[_requestedUri]; + if (requestedUri != null) return requestedUri; + let proto = this.headers._get("x-forwarded-proto"); + let scheme = proto != null ? proto[$first] : io.SecureSocket.is(this[_httpConnection$][_socket$0]) ? "https" : "http"; + let hostList = this.headers._get("x-forwarded-host"); + let host = null; + if (hostList != null) { + host = hostList[$first]; + } else { + hostList = this.headers._get("host"); + if (hostList != null) { + host = hostList[$first]; + } else { + host = dart.str(this[_httpServer$].address.host) + ":" + dart.str(this[_httpServer$].port); + } + } + return this[_requestedUri] = core.Uri.parse(dart.str(scheme) + "://" + dart.str(host) + dart.str(this.uri)); + } + get method() { + return dart.nullCheck(this[_incoming$].method); + } + get session() { + let session = this[_session]; + if (session != null && !dart.test(session[_destroyed])) { + return session; + } + return this[_session] = this[_httpServer$][_sessionManager$].createSession(); + } + get connectionInfo() { + return this[_httpConnection$].connectionInfo; + } + get certificate() { + let socket = this[_httpConnection$][_socket$0]; + if (io.SecureSocket.is(socket)) return socket.peerCertificate; + return null; + } + }; + (_http._HttpRequest.new = function(response, _incoming, _httpServer, _httpConnection) { + let t296; + if (response == null) dart.nullFailed(I[181], 497, 21, "response"); + if (_incoming == null) dart.nullFailed(I[181], 497, 45, "_incoming"); + if (_httpServer == null) dart.nullFailed(I[181], 497, 61, "_httpServer"); + if (_httpConnection == null) dart.nullFailed(I[181], 498, 12, "_httpConnection"); + this[_session] = null; + this[_requestedUri] = null; + this.response = response; + this[_httpServer$] = _httpServer; + this[_httpConnection$] = _httpConnection; + _http._HttpRequest.__proto__.new.call(this, _incoming); + if (this.headers.protocolVersion === "1.1") { + t296 = this.response.headers; + (() => { + t296.chunkedTransferEncoding = true; + t296.persistentConnection = this.headers.persistentConnection; + return t296; + })(); + } + if (this[_httpServer$][_sessionManagerInstance] != null) { + let sessionIds = this.cookies[$where](dart.fn(cookie => { + if (cookie == null) dart.nullFailed(I[181], 509, 19, "cookie"); + return cookie.name[$toUpperCase]() === "DARTSESSID"; + }, T$0.CookieTobool()))[$map](core.String, dart.fn(cookie => { + if (cookie == null) dart.nullFailed(I[181], 510, 25, "cookie"); + return cookie.value; + }, T$0.CookieToString())); + for (let sessionId of sessionIds) { + let session = this[_httpServer$][_sessionManager$].getSession(sessionId); + this[_session] = session; + if (session != null) { + session[_markSeen](); + break; + } + } + } + }).prototype = _http._HttpRequest.prototype; + dart.addTypeTests(_http._HttpRequest); + dart.addTypeCaches(_http._HttpRequest); + _http._HttpRequest[dart.implements] = () => [_http.HttpRequest]; + dart.setMethodSignature(_http._HttpRequest, () => ({ + __proto__: dart.getMethods(_http._HttpRequest.__proto__), + listen: dart.fnType(async.StreamSubscription$(typed_data.Uint8List), [dart.nullable(dart.fnType(dart.void, [typed_data.Uint8List]))], {cancelOnError: dart.nullable(core.bool), onDone: dart.nullable(dart.fnType(dart.void, [])), onError: dart.nullable(core.Function)}, {}) + })); + dart.setGetterSignature(_http._HttpRequest, () => ({ + __proto__: dart.getGetters(_http._HttpRequest.__proto__), + uri: core.Uri, + requestedUri: core.Uri, + method: core.String, + session: _http.HttpSession, + connectionInfo: dart.nullable(_http.HttpConnectionInfo), + certificate: dart.nullable(io.X509Certificate) + })); + dart.setLibraryUri(_http._HttpRequest, I[177]); + dart.setFieldSignature(_http._HttpRequest, () => ({ + __proto__: dart.getFields(_http._HttpRequest.__proto__), + response: dart.finalFieldType(_http.HttpResponse), + [_httpServer$]: dart.finalFieldType(_http._HttpServer), + [_httpConnection$]: dart.finalFieldType(_http._HttpConnection), + [_session]: dart.fieldType(dart.nullable(_http._HttpSession)), + [_requestedUri]: dart.fieldType(dart.nullable(core.Uri)) + })); + var _httpRequest$ = dart.privateName(_http, "_httpRequest"); + var _httpClient$ = dart.privateName(_http, "_httpClient"); + var _profileData$ = dart.privateName(_http, "_profileData"); + var _responseRedirects = dart.privateName(_http, "_responseRedirects"); + var _httpClientConnection$ = dart.privateName(_http, "_httpClientConnection"); + var _openUrlFromRequest = dart.privateName(_http, "_openUrlFromRequest"); + var _connectionClosed = dart.privateName(_http, "_connectionClosed"); + var _shouldAuthenticateProxy = dart.privateName(_http, "_shouldAuthenticateProxy"); + var _shouldAuthenticate = dart.privateName(_http, "_shouldAuthenticate"); + var _proxy$ = dart.privateName(_http, "_proxy"); + var _findProxyCredentials = dart.privateName(_http, "_findProxyCredentials"); + var _findCredentials = dart.privateName(_http, "_findCredentials"); + var _removeProxyCredentials = dart.privateName(_http, "_removeProxyCredentials"); + var _removeCredentials = dart.privateName(_http, "_removeCredentials"); + var _authenticateProxy = dart.privateName(_http, "_authenticateProxy"); + var _authenticate = dart.privateName(_http, "_authenticate"); + _http._HttpClientResponse = class _HttpClientResponse extends _http._HttpInboundMessageListInt { + get redirects() { + return this[_httpRequest$][_responseRedirects]; + } + static _getCompressionState(httpClient, headers) { + if (httpClient == null) dart.nullFailed(I[181], 598, 19, "httpClient"); + if (headers == null) dart.nullFailed(I[181], 598, 44, "headers"); + if (headers.value("content-encoding") === "gzip") { + return dart.test(httpClient.autoUncompress) ? _http.HttpClientResponseCompressionState.decompressed : _http.HttpClientResponseCompressionState.compressed; + } else { + return _http.HttpClientResponseCompressionState.notCompressed; + } + } + get statusCode() { + return dart.nullCheck(this[_incoming$].statusCode); + } + get reasonPhrase() { + return dart.nullCheck(this[_incoming$].reasonPhrase); + } + get certificate() { + let socket = this[_httpRequest$][_httpClientConnection$][_socket$0]; + if (io.SecureSocket.is(socket)) return socket.peerCertificate; + return null; + } + get cookies() { + let cookies = this[_cookies]; + if (cookies != null) return cookies; + cookies = T$0.JSArrayOfCookie().of([]); + let values = this.headers._get("set-cookie"); + if (values != null) { + for (let value of values) { + cookies[$add](_http.Cookie.fromSetCookieValue(value)); + } + } + this[_cookies] = cookies; + return cookies; + } + get isRedirect() { + if (this[_httpRequest$].method === "GET" || this[_httpRequest$].method === "HEAD") { + return this.statusCode === 301 || this.statusCode === 308 || this.statusCode === 302 || this.statusCode === 303 || this.statusCode === 307; + } else if (this[_httpRequest$].method === "POST") { + return this.statusCode === 303; + } + return false; + } + redirect(method = null, url = null, followLoops = null) { + if (method == null) { + if (this.statusCode === 303 && this[_httpRequest$].method === "POST") { + method = "GET"; + } else { + method = this[_httpRequest$].method; + } + } + if (url == null) { + let location = this.headers.value("location"); + if (location == null) { + dart.throw(new core.StateError.new("Response has no Location header for redirect")); + } + url = core.Uri.parse(location); + } + if (followLoops !== true) { + for (let redirect of this.redirects) { + if (dart.equals(redirect.location, url)) { + return T$0.FutureOfHttpClientResponse().error(new _http.RedirectException.new("Redirect loop detected", this.redirects)); + } + } + } + return this[_httpClient$][_openUrlFromRequest](method, url, this[_httpRequest$]).then(_http.HttpClientResponse, dart.fn(request => { + let t296; + if (request == null) dart.nullFailed(I[181], 671, 16, "request"); + t296 = request[_responseRedirects]; + (() => { + t296[$addAll](this.redirects); + t296[$add](new _http._RedirectInfo.new(this.statusCode, dart.nullCheck(method), dart.nullCheck(url))); + return t296; + })(); + return request.close(); + }, T$0._HttpClientRequestToFutureOfHttpClientResponse())); + } + listen(onData, opts) { + let t296; + let onError = opts && 'onError' in opts ? opts.onError : null; + let onDone = opts && 'onDone' in opts ? opts.onDone : null; + let cancelOnError = opts && 'cancelOnError' in opts ? opts.cancelOnError : null; + if (dart.test(this[_incoming$].upgraded)) { + t296 = this[_profileData$]; + t296 == null ? null : t296.finishResponseWithError("Connection was upgraded"); + this[_httpRequest$][_httpClientConnection$].destroy(); + return new (T$0._EmptyStreamOfUint8List()).new().listen(null, {onDone: onDone}); + } + let stream = this[_incoming$]; + if (this.compressionState == _http.HttpClientResponseCompressionState.decompressed) { + stream = stream.cast(T$0.ListOfint()).transform(T$0.ListOfint(), io.gzip.decoder).transform(typed_data.Uint8List, C[466] || CT.C466); + } + if (this[_profileData$] != null) { + stream = stream.map(typed_data.Uint8List, dart.fn(data => { + let t296; + if (data == null) dart.nullFailed(I[181], 698, 28, "data"); + t296 = this[_profileData$]; + t296 == null ? null : t296.appendResponseData(data); + return data; + }, T$0.Uint8ListToUint8List())); + } + return stream.listen(onData, {onError: dart.fn((e, st) => { + let t296; + t296 = this[_profileData$]; + t296 == null ? null : t296.finishResponseWithError(dart.toString(e)); + if (onError == null) { + return; + } + if (T$.ObjectTovoid().is(onError)) { + onError(core.Object.as(e)); + } else { + if (!T$.ObjectAndStackTraceTovoid().is(onError)) dart.assertFailed(null, I[181], 711, 16, "onError is void Function(Object, StackTrace)"); + dart.dcall(onError, [e, st]); + } + }, T$.dynamicAnddynamicToNull()), onDone: dart.fn(() => { + let t296; + t296 = this[_profileData$]; + t296 == null ? null : t296.finishResponse(); + if (onDone != null) { + onDone(); + } + }, T$.VoidTovoid()), cancelOnError: cancelOnError}); + } + detachSocket() { + let t296; + t296 = this[_profileData$]; + t296 == null ? null : t296.finishResponseWithError("Socket has been detached"); + this[_httpClient$][_connectionClosed](this[_httpRequest$][_httpClientConnection$]); + return this[_httpRequest$][_httpClientConnection$].detachSocket(); + } + get connectionInfo() { + return this[_httpRequest$].connectionInfo; + } + get [_shouldAuthenticateProxy]() { + let challenge = this.headers._get("proxy-authenticate"); + return this.statusCode === 407 && challenge != null && challenge[$length] === 1; + } + get [_shouldAuthenticate]() { + let challenge = this.headers._get("www-authenticate"); + return this.statusCode === 401 && challenge != null && challenge[$length] === 1; + } + [_authenticate](proxyAuth) { + let t296, t296$; + if (proxyAuth == null) dart.nullFailed(I[181], 746, 49, "proxyAuth"); + t296 = this[_httpRequest$][_profileData$]; + t296 == null ? null : t296.requestEvent("Authentication"); + const retry = () => { + let t296; + t296 = this[_httpRequest$][_profileData$]; + t296 == null ? null : t296.requestEvent("Retrying"); + return this.drain(dart.dynamic).then(_http.HttpClientResponse, dart.fn(_ => this[_httpClient$][_openUrlFromRequest](this[_httpRequest$].method, this[_httpRequest$].uri, this[_httpRequest$]).then(_http.HttpClientResponse, dart.fn(request => { + if (request == null) dart.nullFailed(I[181], 755, 20, "request"); + return request.close(); + }, T$0._HttpClientRequestToFutureOfHttpClientResponse())), T$0.dynamicToFutureOfHttpClientResponse())); + }; + dart.fn(retry, T$0.VoidToFutureOfHttpClientResponse()); + const authChallenge = () => { + return dart.test(proxyAuth) ? this.headers._get("proxy-authenticate") : this.headers._get("www-authenticate"); + }; + dart.fn(authChallenge, T$0.VoidToListNOfString()); + const findCredentials = scheme => { + if (scheme == null) dart.nullFailed(I[181], 765, 57, "scheme"); + return dart.test(proxyAuth) ? this[_httpClient$][_findProxyCredentials](this[_httpRequest$][_proxy$], scheme) : this[_httpClient$][_findCredentials](this[_httpRequest$].uri, scheme); + }; + dart.fn(findCredentials, T$0._AuthenticationSchemeTo_CredentialsN()); + const removeCredentials = cr => { + if (cr == null) dart.nullFailed(I[181], 771, 41, "cr"); + if (dart.test(proxyAuth)) { + this[_httpClient$][_removeProxyCredentials](cr); + } else { + this[_httpClient$][_removeCredentials](cr); + } + }; + dart.fn(removeCredentials, T$0._CredentialsTovoid()); + const requestAuthentication = (scheme, realm) => { + if (scheme == null) dart.nullFailed(I[181], 780, 31, "scheme"); + if (dart.test(proxyAuth)) { + let authenticateProxy = this[_httpClient$][_authenticateProxy]; + if (authenticateProxy == null) { + return T$.FutureOfbool().value(false); + } + let proxy = this[_httpRequest$][_proxy$]; + return T$.FutureOfbool().as(dart.dcall(authenticateProxy, [proxy.host, proxy.port, dart.toString(scheme), realm])); + } else { + let authenticate = this[_httpClient$][_authenticate]; + if (authenticate == null) { + return T$.FutureOfbool().value(false); + } + return T$.FutureOfbool().as(dart.dcall(authenticate, [this[_httpRequest$].uri, dart.toString(scheme), realm])); + } + }; + dart.fn(requestAuthentication, T$0._AuthenticationSchemeAndStringNToFutureOfbool()); + let challenge = dart.nullCheck(authChallenge()); + if (!(challenge[$length] === 1)) dart.assertFailed(null, I[181], 799, 12, "challenge.length == 1"); + let header = _http._HeaderValue.parse(challenge[$_get](0), {parameterSeparator: ","}); + let scheme = _http._AuthenticationScheme.fromString(header.value); + let realm = header.parameters[$_get]("realm"); + let cr = findCredentials(scheme); + if (cr != null) { + if (dart.equals(cr.scheme, _http._AuthenticationScheme.BASIC) && !dart.test(cr.used)) { + return retry(); + } + if (dart.equals(cr.scheme, _http._AuthenticationScheme.DIGEST)) { + let algorithm = header.parameters[$_get]("algorithm"); + if (algorithm == null || algorithm[$toLowerCase]() === "md5") { + let nonce = cr.nonce; + if (nonce == null || nonce == header.parameters[$_get]("nonce")) { + if (nonce == null) { + t296$ = cr; + (() => { + t296$.nonce = header.parameters[$_get]("nonce"); + t296$.algorithm = "MD5"; + t296$.qop = header.parameters[$_get]("qop"); + t296$.nonceCount = 0; + return t296$; + })(); + } + return retry(); + } else { + let staleHeader = header.parameters[$_get]("stale"); + if (staleHeader != null && staleHeader[$toLowerCase]() === "true") { + cr.nonce = header.parameters[$_get]("nonce"); + return retry(); + } + } + } + } + } + if (cr != null) { + removeCredentials(cr); + cr = null; + } + return requestAuthentication(scheme, realm).then(_http.HttpClientResponse, dart.fn(credsAvailable => { + if (credsAvailable == null) dart.nullFailed(I[181], 854, 55, "credsAvailable"); + if (dart.test(credsAvailable)) { + cr = this[_httpClient$][_findCredentials](this[_httpRequest$].uri, scheme); + return retry(); + } else { + return this; + } + }, T$0.boolToFutureOrOfHttpClientResponse())); + } + }; + (_http._HttpClientResponse.new = function(_incoming, _httpRequest, _httpClient, _profileData) { + if (_incoming == null) dart.nullFailed(I[181], 589, 37, "_incoming"); + if (_httpRequest == null) dart.nullFailed(I[181], 589, 53, "_httpRequest"); + if (_httpClient == null) dart.nullFailed(I[181], 590, 12, "_httpClient"); + this[_httpRequest$] = _httpRequest; + this[_httpClient$] = _httpClient; + this[_profileData$] = _profileData; + this.compressionState = _http._HttpClientResponse._getCompressionState(_httpClient, _incoming.headers); + _http._HttpClientResponse.__proto__.new.call(this, _incoming); + _incoming.uri = this[_httpRequest$].uri; + }).prototype = _http._HttpClientResponse.prototype; + dart.addTypeTests(_http._HttpClientResponse); + dart.addTypeCaches(_http._HttpClientResponse); + _http._HttpClientResponse[dart.implements] = () => [_http.HttpClientResponse]; + dart.setMethodSignature(_http._HttpClientResponse, () => ({ + __proto__: dart.getMethods(_http._HttpClientResponse.__proto__), + redirect: dart.fnType(async.Future$(_http.HttpClientResponse), [], [dart.nullable(core.String), dart.nullable(core.Uri), dart.nullable(core.bool)]), + listen: dart.fnType(async.StreamSubscription$(typed_data.Uint8List), [dart.nullable(dart.fnType(dart.void, [typed_data.Uint8List]))], {cancelOnError: dart.nullable(core.bool), onDone: dart.nullable(dart.fnType(dart.void, [])), onError: dart.nullable(core.Function)}, {}), + detachSocket: dart.fnType(async.Future$(io.Socket), []), + [_authenticate]: dart.fnType(async.Future$(_http.HttpClientResponse), [core.bool]) + })); + dart.setGetterSignature(_http._HttpClientResponse, () => ({ + __proto__: dart.getGetters(_http._HttpClientResponse.__proto__), + redirects: core.List$(_http.RedirectInfo), + statusCode: core.int, + reasonPhrase: core.String, + certificate: dart.nullable(io.X509Certificate), + isRedirect: core.bool, + connectionInfo: dart.nullable(_http.HttpConnectionInfo), + [_shouldAuthenticateProxy]: core.bool, + [_shouldAuthenticate]: core.bool + })); + dart.setLibraryUri(_http._HttpClientResponse, I[177]); + dart.setFieldSignature(_http._HttpClientResponse, () => ({ + __proto__: dart.getFields(_http._HttpClientResponse.__proto__), + [_httpClient$]: dart.finalFieldType(_http._HttpClient), + [_httpRequest$]: dart.finalFieldType(_http._HttpClientRequest), + compressionState: dart.finalFieldType(_http.HttpClientResponseCompressionState), + [_profileData$]: dart.finalFieldType(dart.nullable(_http._HttpProfileData)) + })); + _http._ToUint8List = class _ToUint8List extends convert.Converter$(core.List$(core.int), typed_data.Uint8List) { + convert(input) { + T$0.ListOfint().as(input); + if (input == null) dart.nullFailed(I[181], 869, 31, "input"); + return _native_typed_data.NativeUint8List.fromList(input); + } + startChunkedConversion(sink) { + T$0.SinkOfUint8List().as(sink); + if (sink == null) dart.nullFailed(I[181], 871, 58, "sink"); + return new _http._Uint8ListConversionSink.new(sink); + } + }; + (_http._ToUint8List.new = function() { + _http._ToUint8List.__proto__.new.call(this); + ; + }).prototype = _http._ToUint8List.prototype; + dart.addTypeTests(_http._ToUint8List); + dart.addTypeCaches(_http._ToUint8List); + dart.setMethodSignature(_http._ToUint8List, () => ({ + __proto__: dart.getMethods(_http._ToUint8List.__proto__), + convert: dart.fnType(typed_data.Uint8List, [dart.nullable(core.Object)]) + })); + dart.setLibraryUri(_http._ToUint8List, I[177]); + var _target$1 = dart.privateName(_http, "_Uint8ListConversionSink._target"); + var _target$2 = dart.privateName(_http, "_target"); + _http._Uint8ListConversionSink = class _Uint8ListConversionSink extends core.Object { + get [_target$2]() { + return this[_target$1]; + } + set [_target$2](value) { + super[_target$2] = value; + } + add(data) { + T$0.ListOfint().as(data); + if (data == null) dart.nullFailed(I[181], 881, 22, "data"); + this[_target$2].add(_native_typed_data.NativeUint8List.fromList(data)); + } + close() { + this[_target$2].close(); + } + }; + (_http._Uint8ListConversionSink.new = function(_target) { + if (_target == null) dart.nullFailed(I[181], 877, 39, "_target"); + this[_target$1] = _target; + ; + }).prototype = _http._Uint8ListConversionSink.prototype; + dart.addTypeTests(_http._Uint8ListConversionSink); + dart.addTypeCaches(_http._Uint8ListConversionSink); + _http._Uint8ListConversionSink[dart.implements] = () => [core.Sink$(core.List$(core.int))]; + dart.setMethodSignature(_http._Uint8ListConversionSink, () => ({ + __proto__: dart.getMethods(_http._Uint8ListConversionSink.__proto__), + add: dart.fnType(dart.void, [dart.nullable(core.Object)]), + close: dart.fnType(dart.void, []) + })); + dart.setLibraryUri(_http._Uint8ListConversionSink, I[177]); + dart.setFieldSignature(_http._Uint8ListConversionSink, () => ({ + __proto__: dart.getFields(_http._Uint8ListConversionSink.__proto__), + [_target$2]: dart.finalFieldType(core.Sink$(typed_data.Uint8List)) + })); + var _doneCompleter$ = dart.privateName(_http, "_doneCompleter"); + var _controllerInstance$ = dart.privateName(_http, "_controllerInstance"); + var _controllerCompleter$ = dart.privateName(_http, "_controllerCompleter"); + var _isClosed$0 = dart.privateName(_http, "_isClosed"); + var _isBound$ = dart.privateName(_http, "_isBound"); + var _hasError$0 = dart.privateName(_http, "_hasError"); + var _controller$0 = dart.privateName(_http, "_controller"); + var _closeTarget$ = dart.privateName(_http, "_closeTarget"); + var _completeDoneValue$ = dart.privateName(_http, "_completeDoneValue"); + var _completeDoneError$ = dart.privateName(_http, "_completeDoneError"); + const _is__StreamSinkImpl_default$ = Symbol('_is__StreamSinkImpl_default'); + _http._StreamSinkImpl$ = dart.generic(T => { + var StreamOfT = () => (StreamOfT = dart.constFn(async.Stream$(T)))(); + var StreamControllerOfT = () => (StreamControllerOfT = dart.constFn(async.StreamController$(T)))(); + class _StreamSinkImpl extends core.Object { + add(data) { + T.as(data); + if (dart.test(this[_isClosed$0])) { + dart.throw(new core.StateError.new("StreamSink is closed")); + } + this[_controller$0].add(data); + } + addError(error, stackTrace = null) { + if (error == null) dart.nullFailed(I[181], 908, 24, "error"); + if (dart.test(this[_isClosed$0])) { + dart.throw(new core.StateError.new("StreamSink is closed")); + } + this[_controller$0].addError(error, stackTrace); + } + addStream(stream) { + StreamOfT().as(stream); + if (stream == null) dart.nullFailed(I[181], 915, 30, "stream"); + if (dart.test(this[_isBound$])) { + dart.throw(new core.StateError.new("StreamSink is already bound to a stream")); + } + this[_isBound$] = true; + if (dart.test(this[_hasError$0])) return this.done; + const targetAddStream = () => { + return this[_target$2].addStream(stream).whenComplete(dart.fn(() => { + this[_isBound$] = false; + }, T$.VoidToNull())); + }; + dart.fn(targetAddStream, T$0.VoidToFuture()); + let controller = this[_controllerInstance$]; + if (controller == null) return targetAddStream(); + let future = dart.nullCheck(this[_controllerCompleter$]).future; + controller.close(); + return future.then(dart.dynamic, dart.fn(_ => targetAddStream(), T$.dynamicToFuture())); + } + flush() { + if (dart.test(this[_isBound$])) { + dart.throw(new core.StateError.new("StreamSink is bound to a stream")); + } + let controller = this[_controllerInstance$]; + if (controller == null) return async.Future.value(this); + this[_isBound$] = true; + let future = dart.nullCheck(this[_controllerCompleter$]).future; + controller.close(); + return future.whenComplete(dart.fn(() => { + this[_isBound$] = false; + }, T$.VoidToNull())); + } + close() { + if (dart.test(this[_isBound$])) { + dart.throw(new core.StateError.new("StreamSink is bound to a stream")); + } + if (!dart.test(this[_isClosed$0])) { + this[_isClosed$0] = true; + let controller = this[_controllerInstance$]; + if (controller != null) { + controller.close(); + } else { + this[_closeTarget$](); + } + } + return this.done; + } + [_closeTarget$]() { + this[_target$2].close().then(dart.void, dart.bind(this, _completeDoneValue$), {onError: dart.bind(this, _completeDoneError$)}); + } + get done() { + return this[_doneCompleter$].future; + } + [_completeDoneValue$](value) { + if (!dart.test(this[_doneCompleter$].isCompleted)) { + this[_doneCompleter$].complete(value); + } + } + [_completeDoneError$](error, stackTrace) { + if (error == null) dart.nullFailed(I[181], 979, 34, "error"); + if (stackTrace == null) dart.nullFailed(I[181], 979, 52, "stackTrace"); + if (!dart.test(this[_doneCompleter$].isCompleted)) { + this[_hasError$0] = true; + this[_doneCompleter$].completeError(error, stackTrace); + } + } + get [_controller$0]() { + if (dart.test(this[_isBound$])) { + dart.throw(new core.StateError.new("StreamSink is bound to a stream")); + } + if (dart.test(this[_isClosed$0])) { + dart.throw(new core.StateError.new("StreamSink is closed")); + } + if (this[_controllerInstance$] == null) { + this[_controllerInstance$] = StreamControllerOfT().new({sync: true}); + this[_controllerCompleter$] = async.Completer.new(); + this[_target$2].addStream(this[_controller$0].stream).then(core.Null, dart.fn(_ => { + if (dart.test(this[_isBound$])) { + dart.nullCheck(this[_controllerCompleter$]).complete(this); + this[_controllerCompleter$] = null; + this[_controllerInstance$] = null; + } else { + this[_closeTarget$](); + } + }, T$.dynamicToNull()), {onError: dart.fn((error, stackTrace) => { + if (error == null) dart.nullFailed(I[181], 1006, 27, "error"); + if (stackTrace == null) dart.nullFailed(I[181], 1006, 45, "stackTrace"); + if (dart.test(this[_isBound$])) { + dart.nullCheck(this[_controllerCompleter$]).completeError(error, stackTrace); + this[_controllerCompleter$] = null; + this[_controllerInstance$] = null; + } else { + this[_completeDoneError$](error, stackTrace); + } + }, T$.ObjectAndStackTraceToNull())}); + } + return dart.nullCheck(this[_controllerInstance$]); + } + } + (_StreamSinkImpl.new = function(_target) { + if (_target == null) dart.nullFailed(I[181], 899, 24, "_target"); + this[_doneCompleter$] = T$0.CompleterOfvoid().new(); + this[_controllerInstance$] = null; + this[_controllerCompleter$] = null; + this[_isClosed$0] = false; + this[_isBound$] = false; + this[_hasError$0] = false; + this[_target$2] = _target; + ; + }).prototype = _StreamSinkImpl.prototype; + dart.addTypeTests(_StreamSinkImpl); + _StreamSinkImpl.prototype[_is__StreamSinkImpl_default$] = true; + dart.addTypeCaches(_StreamSinkImpl); + _StreamSinkImpl[dart.implements] = () => [async.StreamSink$(T)]; + dart.setMethodSignature(_StreamSinkImpl, () => ({ + __proto__: dart.getMethods(_StreamSinkImpl.__proto__), + add: dart.fnType(dart.void, [dart.nullable(core.Object)]), + addError: dart.fnType(dart.void, [core.Object], [dart.nullable(core.StackTrace)]), + addStream: dart.fnType(async.Future, [dart.nullable(core.Object)]), + flush: dart.fnType(async.Future, []), + close: dart.fnType(async.Future, []), + [_closeTarget$]: dart.fnType(dart.void, []), + [_completeDoneValue$]: dart.fnType(dart.void, [dart.dynamic]), + [_completeDoneError$]: dart.fnType(dart.void, [core.Object, core.StackTrace]) + })); + dart.setGetterSignature(_StreamSinkImpl, () => ({ + __proto__: dart.getGetters(_StreamSinkImpl.__proto__), + done: async.Future, + [_controller$0]: async.StreamController$(T) + })); + dart.setLibraryUri(_StreamSinkImpl, I[177]); + dart.setFieldSignature(_StreamSinkImpl, () => ({ + __proto__: dart.getFields(_StreamSinkImpl.__proto__), + [_target$2]: dart.finalFieldType(async.StreamConsumer$(T)), + [_doneCompleter$]: dart.finalFieldType(async.Completer$(dart.void)), + [_controllerInstance$]: dart.fieldType(dart.nullable(async.StreamController$(T))), + [_controllerCompleter$]: dart.fieldType(dart.nullable(async.Completer)), + [_isClosed$0]: dart.fieldType(core.bool), + [_isBound$]: dart.fieldType(core.bool), + [_hasError$0]: dart.fieldType(core.bool) + })); + return _StreamSinkImpl; + }); + _http._StreamSinkImpl = _http._StreamSinkImpl$(); + dart.addTypeTests(_http._StreamSinkImpl, _is__StreamSinkImpl_default$); + var _profileData$0 = dart.privateName(_http, "_IOSinkImpl._profileData"); + var _encodingMutable$ = dart.privateName(_http, "_encodingMutable"); + var _encoding$0 = dart.privateName(_http, "_encoding"); + var __IOSink_encoding_isSet$ = dart.privateName(_http, "_#IOSink#encoding#isSet"); + var __IOSink_encoding$ = dart.privateName(_http, "_#IOSink#encoding"); + var __IOSink_encoding_isSet_ = dart.privateName(_http, "_#IOSink#encoding#isSet="); + var __IOSink_encoding_ = dart.privateName(_http, "_#IOSink#encoding="); + _http._IOSinkImpl = class _IOSinkImpl extends _http._StreamSinkImpl$(core.List$(core.int)) { + get [_profileData$]() { + return this[_profileData$0]; + } + set [_profileData$](value) { + super[_profileData$] = value; + } + get encoding() { + return this[_encoding$0]; + } + set encoding(value) { + if (value == null) dart.nullFailed(I[181], 1034, 30, "value"); + if (!dart.test(this[_encodingMutable$])) { + dart.throw(new core.StateError.new("IOSink encoding is not mutable")); + } + this[_encoding$0] = value; + } + write(obj) { + let t296; + let string = dart.str(obj); + if (string[$isEmpty]) return; + t296 = this[_profileData$]; + t296 == null ? null : t296.appendRequestData(_native_typed_data.NativeUint8List.fromList(convert.utf8.encode(string))); + super.add(this[_encoding$0].encode(string)); + } + writeAll(objects, separator = "") { + if (objects == null) dart.nullFailed(I[181], 1052, 26, "objects"); + if (separator == null) dart.nullFailed(I[181], 1052, 43, "separator"); + let iterator = objects[$iterator]; + if (!dart.test(iterator.moveNext())) return; + if (separator[$isEmpty]) { + do { + this.write(iterator.current); + } while (dart.test(iterator.moveNext())); + } else { + this.write(iterator.current); + while (dart.test(iterator.moveNext())) { + this.write(separator); + this.write(iterator.current); + } + } + } + writeln(object = "") { + this.write(object); + this.write("\n"); + } + writeCharCode(charCode) { + if (charCode == null) dart.nullFailed(I[181], 1073, 26, "charCode"); + this.write(core.String.fromCharCode(charCode)); + } + get [__IOSink_encoding_isSet]() { + return this[$noSuchMethod](new core._Invocation.getter(C[467] || CT.C467)); + } + get [__IOSink_encoding]() { + return T$0.EncodingN().as(this[$noSuchMethod](new core._Invocation.getter(C[468] || CT.C468))); + } + set [__IOSink_encoding_isSet](value) { + return this[$noSuchMethod](new core._Invocation.setter(C[469] || CT.C469, value)); + } + set [__IOSink_encoding](value) { + return this[$noSuchMethod](new core._Invocation.setter(C[470] || CT.C470, value)); + } + }; + (_http._IOSinkImpl.new = function(target, _encoding, _profileData) { + if (target == null) dart.nullFailed(I[181], 1029, 33, "target"); + if (_encoding == null) dart.nullFailed(I[181], 1029, 46, "_encoding"); + this[_encodingMutable$] = true; + this[_encoding$0] = _encoding; + this[_profileData$0] = _profileData; + _http._IOSinkImpl.__proto__.new.call(this, target); + ; + }).prototype = _http._IOSinkImpl.prototype; + dart.addTypeTests(_http._IOSinkImpl); + dart.addTypeCaches(_http._IOSinkImpl); + _http._IOSinkImpl[dart.implements] = () => [io.IOSink]; + dart.setMethodSignature(_http._IOSinkImpl, () => ({ + __proto__: dart.getMethods(_http._IOSinkImpl.__proto__), + write: dart.fnType(dart.void, [dart.nullable(core.Object)]), + writeAll: dart.fnType(dart.void, [core.Iterable], [core.String]), + writeln: dart.fnType(dart.void, [], [dart.nullable(core.Object)]), + writeCharCode: dart.fnType(dart.void, [core.int]) + })); + dart.setGetterSignature(_http._IOSinkImpl, () => ({ + __proto__: dart.getGetters(_http._IOSinkImpl.__proto__), + encoding: convert.Encoding, + [__IOSink_encoding_isSet]: dart.dynamic, + [__IOSink_encoding]: dart.nullable(convert.Encoding) + })); + dart.setSetterSignature(_http._IOSinkImpl, () => ({ + __proto__: dart.getSetters(_http._IOSinkImpl.__proto__), + encoding: convert.Encoding, + [__IOSink_encoding_isSet]: dart.dynamic, + [__IOSink_encoding]: dart.nullable(convert.Encoding) + })); + dart.setLibraryUri(_http._IOSinkImpl, I[177]); + dart.setFieldSignature(_http._IOSinkImpl, () => ({ + __proto__: dart.getFields(_http._IOSinkImpl.__proto__), + [_encoding$0]: dart.fieldType(convert.Encoding), + [_encodingMutable$]: dart.fieldType(core.bool), + [_profileData$]: dart.finalFieldType(dart.nullable(_http._HttpProfileData)) + })); + var _encodingSet = dart.privateName(_http, "_encodingSet"); + var _bufferOutput = dart.privateName(_http, "_bufferOutput"); + var _uri = dart.privateName(_http, "_uri"); + var _outgoing = dart.privateName(_http, "_outgoing"); + var _isConnectionClosed = dart.privateName(_http, "_isConnectionClosed"); + const _is__HttpOutboundMessage_default = Symbol('_is__HttpOutboundMessage_default'); + _http._HttpOutboundMessage$ = dart.generic(T => { + class _HttpOutboundMessage extends _http._IOSinkImpl { + get contentLength() { + return this.headers.contentLength; + } + set contentLength(contentLength) { + if (contentLength == null) dart.nullFailed(I[181], 1106, 30, "contentLength"); + this.headers.contentLength = contentLength; + } + get persistentConnection() { + return this.headers.persistentConnection; + } + set persistentConnection(p) { + if (p == null) dart.nullFailed(I[181], 1111, 38, "p"); + this.headers.persistentConnection = p; + } + get bufferOutput() { + return this[_bufferOutput]; + } + set bufferOutput(bufferOutput) { + if (bufferOutput == null) dart.nullFailed(I[181], 1116, 30, "bufferOutput"); + if (dart.test(this[_outgoing].headersWritten)) dart.throw(new core.StateError.new("Header already sent")); + this[_bufferOutput] = bufferOutput; + } + get encoding() { + let t296; + if (dart.test(this[_encodingSet]) && dart.test(this[_outgoing].headersWritten)) { + return this[_encoding$0]; + } + let charset = null; + let contentType = this.headers.contentType; + if (contentType != null && contentType.charset != null) { + charset = dart.nullCheck(contentType.charset); + } else { + charset = "iso-8859-1"; + } + t296 = convert.Encoding.getByName(charset); + return t296 == null ? convert.latin1 : t296; + } + set encoding(value) { + super.encoding = value; + } + add(data) { + let t296; + T$0.ListOfint().as(data); + if (data == null) dart.nullFailed(I[181], 1135, 22, "data"); + if (data[$length] === 0) return; + t296 = this[_profileData$]; + t296 == null ? null : t296.appendRequestData(_native_typed_data.NativeUint8List.fromList(data)); + super.add(data); + } + addStream(s) { + T$0.StreamOfListOfint().as(s); + if (s == null) dart.nullFailed(I[181], 1141, 38, "s"); + if (this[_profileData$] == null) { + return super.addStream(s); + } + return super.addStream(s.map(T$0.ListOfint(), dart.fn(data => { + let t296; + if (data == null) dart.nullFailed(I[181], 1145, 35, "data"); + t296 = this[_profileData$]; + t296 == null ? null : t296.appendRequestData(_native_typed_data.NativeUint8List.fromList(data)); + return data; + }, T$0.ListOfintToListOfint()))); + } + write(obj) { + if (!dart.test(this[_encodingSet])) { + this[_encoding$0] = this.encoding; + this[_encodingSet] = true; + } + super.write(obj); + } + get [_isConnectionClosed]() { + return false; + } + } + (_HttpOutboundMessage.new = function(uri, protocolVersion, outgoing, profileData, opts) { + if (uri == null) dart.nullFailed(I[181], 1090, 28, "uri"); + if (protocolVersion == null) dart.nullFailed(I[181], 1090, 40, "protocolVersion"); + if (outgoing == null) dart.nullFailed(I[181], 1090, 71, "outgoing"); + let initialHeaders = opts && 'initialHeaders' in opts ? opts.initialHeaders : null; + this[_encodingSet] = false; + this[_bufferOutput] = true; + this[_uri] = uri; + this.headers = new _http._HttpHeaders.new(protocolVersion, {defaultPortForScheme: uri.scheme === "https" ? 443 : 80, initialHeaders: initialHeaders}); + this[_outgoing] = outgoing; + _HttpOutboundMessage.__proto__.new.call(this, outgoing, convert.latin1, profileData); + this[_outgoing].outbound = this; + this[_encodingMutable$] = false; + }).prototype = _HttpOutboundMessage.prototype; + dart.addTypeTests(_HttpOutboundMessage); + _HttpOutboundMessage.prototype[_is__HttpOutboundMessage_default] = true; + dart.addTypeCaches(_HttpOutboundMessage); + dart.setGetterSignature(_HttpOutboundMessage, () => ({ + __proto__: dart.getGetters(_HttpOutboundMessage.__proto__), + contentLength: core.int, + persistentConnection: core.bool, + bufferOutput: core.bool, + [_isConnectionClosed]: core.bool + })); + dart.setSetterSignature(_HttpOutboundMessage, () => ({ + __proto__: dart.getSetters(_HttpOutboundMessage.__proto__), + contentLength: core.int, + persistentConnection: core.bool, + bufferOutput: core.bool + })); + dart.setLibraryUri(_HttpOutboundMessage, I[177]); + dart.setFieldSignature(_HttpOutboundMessage, () => ({ + __proto__: dart.getFields(_HttpOutboundMessage.__proto__), + [_encodingSet]: dart.fieldType(core.bool), + [_bufferOutput]: dart.fieldType(core.bool), + [_uri]: dart.finalFieldType(core.Uri), + [_outgoing]: dart.finalFieldType(_http._HttpOutgoing), + headers: dart.finalFieldType(_http._HttpHeaders) + })); + return _HttpOutboundMessage; + }); + _http._HttpOutboundMessage = _http._HttpOutboundMessage$(); + dart.addTypeTests(_http._HttpOutboundMessage, _is__HttpOutboundMessage_default); + var _statusCode = dart.privateName(_http, "_statusCode"); + var _reasonPhrase = dart.privateName(_http, "_reasonPhrase"); + var _deadline = dart.privateName(_http, "_deadline"); + var _deadlineTimer = dart.privateName(_http, "_deadlineTimer"); + var _isClosing = dart.privateName(_http, "_isClosing"); + var _findReasonPhrase = dart.privateName(_http, "_findReasonPhrase"); + var _isNew = dart.privateName(_http, "_isNew"); + var _writeHeader = dart.privateName(_http, "_writeHeader"); + _http._HttpResponse = class _HttpResponse extends _http._HttpOutboundMessage$(_http.HttpResponse) { + get [_isConnectionClosed]() { + return dart.nullCheck(this[_httpRequest$])[_httpConnection$][_isClosing]; + } + get cookies() { + let t296; + t296 = this[_cookies]; + return t296 == null ? this[_cookies] = T$0.JSArrayOfCookie().of([]) : t296; + } + get statusCode() { + return this[_statusCode]; + } + set statusCode(statusCode) { + if (statusCode == null) dart.nullFailed(I[181], 1187, 27, "statusCode"); + if (dart.test(this[_outgoing].headersWritten)) dart.throw(new core.StateError.new("Header already sent")); + this[_statusCode] = statusCode; + } + get reasonPhrase() { + return this[_findReasonPhrase](this.statusCode); + } + set reasonPhrase(reasonPhrase) { + if (reasonPhrase == null) dart.nullFailed(I[181], 1193, 32, "reasonPhrase"); + if (dart.test(this[_outgoing].headersWritten)) dart.throw(new core.StateError.new("Header already sent")); + this[_reasonPhrase] = reasonPhrase; + } + redirect(location, opts) { + if (location == null) dart.nullFailed(I[181], 1198, 23, "location"); + let status = opts && 'status' in opts ? opts.status : 302; + if (status == null) dart.nullFailed(I[181], 1198, 38, "status"); + if (dart.test(this[_outgoing].headersWritten)) dart.throw(new core.StateError.new("Header already sent")); + this.statusCode = status; + this.headers.set("location", dart.toString(location)); + return this.close(); + } + detachSocket(opts) { + let writeHeaders = opts && 'writeHeaders' in opts ? opts.writeHeaders : true; + if (writeHeaders == null) dart.nullFailed(I[181], 1205, 37, "writeHeaders"); + if (dart.test(this[_outgoing].headersWritten)) dart.throw(new core.StateError.new("Headers already sent")); + this.deadline = null; + let future = dart.nullCheck(this[_httpRequest$])[_httpConnection$].detachSocket(); + if (dart.test(writeHeaders)) { + let headersFuture = this[_outgoing].writeHeaders({drainRequest: false, setOutgoing: false}); + if (!(headersFuture == null)) dart.assertFailed(null, I[181], 1212, 14, "headersFuture == null"); + } else { + this[_outgoing].headersWritten = true; + } + this.close(); + this.done.catchError(dart.fn(_ => { + }, T$.dynamicToNull())); + return future; + } + get connectionInfo() { + return dart.nullCheck(this[_httpRequest$]).connectionInfo; + } + get deadline() { + return this[_deadline]; + } + set deadline(d) { + let t296; + t296 = this[_deadlineTimer]; + t296 == null ? null : t296.cancel(); + this[_deadline] = d; + if (d == null) return; + this[_deadlineTimer] = async.Timer.new(d, dart.fn(() => { + dart.nullCheck(this[_httpRequest$])[_httpConnection$].destroy(); + }, T$.VoidTovoid())); + } + [_writeHeader]() { + let t296, t296$, t296$0; + let buffer = new _http._CopyingBytesBuilder.new(8192); + if (this.headers.protocolVersion === "1.1") { + buffer.add(_http._Const.HTTP11); + } else { + buffer.add(_http._Const.HTTP10); + } + buffer.addByte(32); + buffer.add(dart.toString(this.statusCode)[$codeUnits]); + buffer.addByte(32); + buffer.add(this.reasonPhrase[$codeUnits]); + buffer.addByte(13); + buffer.addByte(10); + let session = dart.nullCheck(this[_httpRequest$])[_session]; + if (session != null && !dart.test(session[_destroyed])) { + session[_isNew] = false; + let found = false; + for (let i = 0; i < dart.notNull(this.cookies[$length]); i = i + 1) { + if (this.cookies[$_get](i).name[$toUpperCase]() === "DARTSESSID") { + t296 = this.cookies[$_get](i); + (() => { + t296.value = session.id; + t296.httpOnly = true; + t296.path = "/"; + return t296; + })(); + found = true; + } + } + if (!found) { + let cookie = _http.Cookie.new("DARTSESSID", session.id); + this.cookies[$add]((t296$ = cookie, (() => { + t296$.httpOnly = true; + t296$.path = "/"; + return t296$; + })())); + } + } + t296$0 = this[_cookies]; + t296$0 == null ? null : t296$0[$forEach](dart.fn(cookie => { + if (cookie == null) dart.nullFailed(I[181], 1279, 24, "cookie"); + this.headers.add("set-cookie", cookie); + }, T$0.CookieTovoid())); + this.headers[_finalize](); + this.headers[_build](buffer); + buffer.addByte(13); + buffer.addByte(10); + let headerBytes = buffer.takeBytes(); + this[_outgoing].setHeader(headerBytes, headerBytes[$length]); + } + [_findReasonPhrase](statusCode) { + if (statusCode == null) dart.nullFailed(I[181], 1293, 32, "statusCode"); + let reasonPhrase = this[_reasonPhrase]; + if (reasonPhrase != null) { + return reasonPhrase; + } + switch (statusCode) { + case 100: + { + return "Continue"; + } + case 101: + { + return "Switching Protocols"; + } + case 200: + { + return "OK"; + } + case 201: + { + return "Created"; + } + case 202: + { + return "Accepted"; + } + case 203: + { + return "Non-Authoritative Information"; + } + case 204: + { + return "No Content"; + } + case 205: + { + return "Reset Content"; + } + case 206: + { + return "Partial Content"; + } + case 300: + { + return "Multiple Choices"; + } + case 301: + { + return "Moved Permanently"; + } + case 302: + { + return "Found"; + } + case 303: + { + return "See Other"; + } + case 304: + { + return "Not Modified"; + } + case 305: + { + return "Use Proxy"; + } + case 307: + { + return "Temporary Redirect"; + } + case 400: + { + return "Bad Request"; + } + case 401: + { + return "Unauthorized"; + } + case 402: + { + return "Payment Required"; + } + case 403: + { + return "Forbidden"; + } + case 404: + { + return "Not Found"; + } + case 405: + { + return "Method Not Allowed"; + } + case 406: + { + return "Not Acceptable"; + } + case 407: + { + return "Proxy Authentication Required"; + } + case 408: + { + return "Request Time-out"; + } + case 409: + { + return "Conflict"; + } + case 410: + { + return "Gone"; + } + case 411: + { + return "Length Required"; + } + case 412: + { + return "Precondition Failed"; + } + case 413: + { + return "Request Entity Too Large"; + } + case 414: + { + return "Request-URI Too Long"; + } + case 415: + { + return "Unsupported Media Type"; + } + case 416: + { + return "Requested range not satisfiable"; + } + case 417: + { + return "Expectation Failed"; + } + case 500: + { + return "Internal Server Error"; + } + case 501: + { + return "Not Implemented"; + } + case 502: + { + return "Bad Gateway"; + } + case 503: + { + return "Service Unavailable"; + } + case 504: + { + return "Gateway Time-out"; + } + case 505: + { + return "Http Version not supported"; + } + default: + { + return "Status " + dart.str(statusCode); + } + } + } + }; + (_http._HttpResponse.new = function(uri, protocolVersion, outgoing, defaultHeaders, serverHeader) { + if (uri == null) dart.nullFailed(I[181], 1173, 21, "uri"); + if (protocolVersion == null) dart.nullFailed(I[181], 1173, 33, "protocolVersion"); + if (outgoing == null) dart.nullFailed(I[181], 1173, 64, "outgoing"); + if (defaultHeaders == null) dart.nullFailed(I[181], 1174, 19, "defaultHeaders"); + this[_statusCode] = 200; + this[_reasonPhrase] = null; + this[_cookies] = null; + this[_httpRequest$] = null; + this[_deadline] = null; + this[_deadlineTimer] = null; + _http._HttpResponse.__proto__.new.call(this, uri, protocolVersion, outgoing, null, {initialHeaders: _http._HttpHeaders.as(defaultHeaders)}); + if (serverHeader != null) { + this.headers.set("server", serverHeader); + } + }).prototype = _http._HttpResponse.prototype; + dart.addTypeTests(_http._HttpResponse); + dart.addTypeCaches(_http._HttpResponse); + _http._HttpResponse[dart.implements] = () => [_http.HttpResponse]; + dart.setMethodSignature(_http._HttpResponse, () => ({ + __proto__: dart.getMethods(_http._HttpResponse.__proto__), + redirect: dart.fnType(async.Future, [core.Uri], {status: core.int}, {}), + detachSocket: dart.fnType(async.Future$(io.Socket), [], {writeHeaders: core.bool}, {}), + [_writeHeader]: dart.fnType(dart.void, []), + [_findReasonPhrase]: dart.fnType(core.String, [core.int]) + })); + dart.setGetterSignature(_http._HttpResponse, () => ({ + __proto__: dart.getGetters(_http._HttpResponse.__proto__), + cookies: core.List$(_http.Cookie), + statusCode: core.int, + reasonPhrase: core.String, + connectionInfo: dart.nullable(_http.HttpConnectionInfo), + deadline: dart.nullable(core.Duration) + })); + dart.setSetterSignature(_http._HttpResponse, () => ({ + __proto__: dart.getSetters(_http._HttpResponse.__proto__), + statusCode: core.int, + reasonPhrase: core.String, + deadline: dart.nullable(core.Duration) + })); + dart.setLibraryUri(_http._HttpResponse, I[177]); + dart.setFieldSignature(_http._HttpResponse, () => ({ + __proto__: dart.getFields(_http._HttpResponse.__proto__), + [_statusCode]: dart.fieldType(core.int), + [_reasonPhrase]: dart.fieldType(dart.nullable(core.String)), + [_cookies]: dart.fieldType(dart.nullable(core.List$(_http.Cookie))), + [_httpRequest$]: dart.fieldType(dart.nullable(_http._HttpRequest)), + [_deadline]: dart.fieldType(dart.nullable(core.Duration)), + [_deadlineTimer]: dart.fieldType(dart.nullable(async.Timer)) + })); + var _profileData$1 = dart.privateName(_http, "_HttpClientRequest._profileData"); + var _responseCompleter = dart.privateName(_http, "_responseCompleter"); + var _response = dart.privateName(_http, "_response"); + var _followRedirects = dart.privateName(_http, "_followRedirects"); + var _maxRedirects = dart.privateName(_http, "_maxRedirects"); + var _aborted = dart.privateName(_http, "_aborted"); + var _onIncoming = dart.privateName(_http, "_onIncoming"); + var _onError$ = dart.privateName(_http, "_onError"); + var _proxyTunnel$ = dart.privateName(_http, "_proxyTunnel"); + var _requestUri = dart.privateName(_http, "_requestUri"); + _http._HttpClientRequest = class _HttpClientRequest extends _http._HttpOutboundMessage$(_http.HttpClientResponse) { + get [_profileData$]() { + return this[_profileData$1]; + } + set [_profileData$](value) { + super[_profileData$] = value; + } + get done() { + let t296; + t296 = this[_response]; + return t296 == null ? this[_response] = async.Future.wait(dart.dynamic, T$0.JSArrayOfFuture().of([this[_responseCompleter].future, super.done]), {eagerError: true}).then(_http.HttpClientResponse, dart.fn(list => { + if (list == null) dart.nullFailed(I[181], 1445, 18, "list"); + return T$0.FutureOrOfHttpClientResponse().as(list[$_get](0)); + }, T$0.ListToFutureOrOfHttpClientResponse())) : t296; + } + close() { + if (!dart.test(this[_aborted])) { + super.close(); + } + return this.done; + } + get maxRedirects() { + return this[_maxRedirects]; + } + set maxRedirects(maxRedirects) { + if (maxRedirects == null) dart.nullFailed(I[181], 1456, 29, "maxRedirects"); + if (dart.test(this[_outgoing].headersWritten)) dart.throw(new core.StateError.new("Request already sent")); + this[_maxRedirects] = maxRedirects; + } + get followRedirects() { + return this[_followRedirects]; + } + set followRedirects(followRedirects) { + if (followRedirects == null) dart.nullFailed(I[181], 1462, 33, "followRedirects"); + if (dart.test(this[_outgoing].headersWritten)) dart.throw(new core.StateError.new("Request already sent")); + this[_followRedirects] = followRedirects; + } + get connectionInfo() { + return this[_httpClientConnection$].connectionInfo; + } + [_onIncoming](incoming) { + if (incoming == null) dart.nullFailed(I[181], 1470, 34, "incoming"); + if (dart.test(this[_aborted])) { + return; + } + let response = new _http._HttpClientResponse.new(incoming, this, this[_httpClient$], this[_profileData$]); + let future = null; + if (dart.test(this.followRedirects) && dart.test(response.isRedirect)) { + if (dart.notNull(response.redirects[$length]) < dart.notNull(this.maxRedirects)) { + future = response.drain(dart.dynamic).then(_http.HttpClientResponse, dart.fn(_ => response.redirect(), T$0.dynamicToFutureOfHttpClientResponse())); + } else { + future = response.drain(dart.dynamic).then(_http.HttpClientResponse, dart.fn(_ => T$0.FutureOfHttpClientResponse().error(new _http.RedirectException.new("Redirect limit exceeded", response.redirects)), T$0.dynamicToFutureOfHttpClientResponse())); + } + } else if (dart.test(response[_shouldAuthenticateProxy])) { + future = response[_authenticate](true); + } else if (dart.test(response[_shouldAuthenticate])) { + future = response[_authenticate](false); + } else { + future = T$0.FutureOfHttpClientResponse().value(response); + } + future.then(core.Null, dart.fn(v => { + if (v == null) dart.nullFailed(I[181], 1497, 18, "v"); + if (!dart.test(this[_responseCompleter].isCompleted)) { + this[_responseCompleter].complete(v); + } + }, T$0.HttpClientResponseToNull()), {onError: dart.fn((e, s) => { + if (!dart.test(this[_responseCompleter].isCompleted)) { + this[_responseCompleter].completeError(core.Object.as(e), T$.StackTraceN().as(s)); + } + }, T$.dynamicAnddynamicToNull())}); + } + [_onError$](error, stackTrace) { + if (stackTrace == null) dart.nullFailed(I[181], 1508, 35, "stackTrace"); + if (!dart.test(this[_responseCompleter].isCompleted)) { + this[_responseCompleter].completeError(core.Object.as(error), stackTrace); + } + } + [_requestUri]() { + const uriStartingFromPath = () => { + let result = this.uri.path; + if (result[$isEmpty]) result = "/"; + if (dart.test(this.uri.hasQuery)) { + result = dart.str(result) + "?" + dart.str(this.uri.query); + } + return result; + }; + dart.fn(uriStartingFromPath, T$.VoidToString()); + if (dart.test(this[_proxy$].isDirect)) { + return uriStartingFromPath(); + } else { + if (this.method === "CONNECT") { + return dart.str(this.uri.host) + ":" + dart.str(this.uri.port); + } else { + if (dart.test(this[_httpClientConnection$][_proxyTunnel$])) { + return uriStartingFromPath(); + } else { + return dart.toString(this.uri.removeFragment()); + } + } + } + } + add(data) { + T$0.ListOfint().as(data); + if (data == null) dart.nullFailed(I[181], 1544, 22, "data"); + if (data[$length] === 0 || dart.test(this[_aborted])) return; + super.add(data); + } + write(obj) { + if (dart.test(this[_aborted])) return; + super.write(obj); + } + [_writeHeader]() { + let t296; + if (dart.test(this[_aborted])) { + this[_outgoing].setHeader(_native_typed_data.NativeUint8List.new(0), 0); + return; + } + let buffer = new _http._CopyingBytesBuilder.new(8192); + buffer.add(this.method[$codeUnits]); + buffer.addByte(32); + buffer.add(this[_requestUri]()[$codeUnits]); + buffer.addByte(32); + buffer.add(_http._Const.HTTP11); + buffer.addByte(13); + buffer.addByte(10); + if (!dart.test(this.cookies[$isEmpty])) { + let sb = new core.StringBuffer.new(); + for (let i = 0; i < dart.notNull(this.cookies[$length]); i = i + 1) { + if (i > 0) sb.write("; "); + t296 = sb; + (() => { + t296.write(this.cookies[$_get](i).name); + t296.write("="); + t296.write(this.cookies[$_get](i).value); + return t296; + })(); + } + this.headers.add("cookie", sb.toString()); + } + this.headers[_finalize](); + this.headers[_build](buffer); + buffer.addByte(13); + buffer.addByte(10); + let headerBytes = buffer.takeBytes(); + this[_outgoing].setHeader(headerBytes, headerBytes[$length]); + } + abort(exception = null, stackTrace = null) { + this[_aborted] = true; + if (!dart.test(this[_responseCompleter].isCompleted)) { + exception == null ? exception = new _http.HttpException.new("Request has been aborted") : null; + this[_responseCompleter].completeError(exception, stackTrace); + this[_httpClientConnection$].destroy(); + } + } + }; + (_http._HttpClientRequest.new = function(outgoing, uri, method, _proxy, _httpClient, _httpClientConnection, _profileData) { + let t296, t296$; + if (outgoing == null) dart.nullFailed(I[181], 1414, 19, "outgoing"); + if (uri == null) dart.nullFailed(I[181], 1415, 9, "uri"); + if (method == null) dart.nullFailed(I[181], 1416, 10, "method"); + if (_proxy == null) dart.nullFailed(I[181], 1417, 10, "_proxy"); + if (_httpClient == null) dart.nullFailed(I[181], 1418, 10, "_httpClient"); + if (_httpClientConnection == null) dart.nullFailed(I[181], 1419, 10, "_httpClientConnection"); + this.cookies = T$0.JSArrayOfCookie().of([]); + this[_responseCompleter] = T$0.CompleterOfHttpClientResponse().new(); + this[_response] = null; + this[_followRedirects] = true; + this[_maxRedirects] = 5; + this[_responseRedirects] = T$0.JSArrayOfRedirectInfo().of([]); + this[_aborted] = false; + this.method = method; + this[_proxy$] = _proxy; + this[_httpClient$] = _httpClient; + this[_httpClientConnection$] = _httpClientConnection; + this[_profileData$1] = _profileData; + this.uri = uri; + _http._HttpClientRequest.__proto__.new.call(this, uri, "1.1", outgoing, _profileData); + t296 = this[_profileData$]; + t296 == null ? null : t296.requestEvent("Request sent"); + if (this.method === "GET" || this.method === "HEAD") { + this.contentLength = 0; + } else { + this.headers.chunkedTransferEncoding = true; + } + t296$ = this[_profileData$]; + t296$ == null ? null : t296$.finishRequest({request: this}); + this[_responseCompleter].future.then(core.Null, dart.fn(response => { + let t296, t296$; + if (response == null) dart.nullFailed(I[181], 1433, 37, "response"); + t296 = this[_profileData$]; + t296 == null ? null : t296.requestEvent("Waiting (TTFB)"); + t296$ = this[_profileData$]; + t296$ == null ? null : t296$.startResponse({response: response}); + }, T$0.HttpClientResponseToNull()), {onError: dart.fn(e => { + }, T$.dynamicToNull())}); + }).prototype = _http._HttpClientRequest.prototype; + dart.addTypeTests(_http._HttpClientRequest); + dart.addTypeCaches(_http._HttpClientRequest); + _http._HttpClientRequest[dart.implements] = () => [_http.HttpClientRequest]; + dart.setMethodSignature(_http._HttpClientRequest, () => ({ + __proto__: dart.getMethods(_http._HttpClientRequest.__proto__), + close: dart.fnType(async.Future$(_http.HttpClientResponse), []), + [_onIncoming]: dart.fnType(dart.void, [_http._HttpIncoming]), + [_onError$]: dart.fnType(dart.void, [dart.dynamic, core.StackTrace]), + [_requestUri]: dart.fnType(core.String, []), + [_writeHeader]: dart.fnType(dart.void, []), + abort: dart.fnType(dart.void, [], [dart.nullable(core.Object), dart.nullable(core.StackTrace)]) + })); + dart.setGetterSignature(_http._HttpClientRequest, () => ({ + __proto__: dart.getGetters(_http._HttpClientRequest.__proto__), + done: async.Future$(_http.HttpClientResponse), + maxRedirects: core.int, + followRedirects: core.bool, + connectionInfo: dart.nullable(_http.HttpConnectionInfo) + })); + dart.setSetterSignature(_http._HttpClientRequest, () => ({ + __proto__: dart.getSetters(_http._HttpClientRequest.__proto__), + maxRedirects: core.int, + followRedirects: core.bool + })); + dart.setLibraryUri(_http._HttpClientRequest, I[177]); + dart.setFieldSignature(_http._HttpClientRequest, () => ({ + __proto__: dart.getFields(_http._HttpClientRequest.__proto__), + method: dart.finalFieldType(core.String), + uri: dart.finalFieldType(core.Uri), + cookies: dart.finalFieldType(core.List$(_http.Cookie)), + [_httpClient$]: dart.finalFieldType(_http._HttpClient), + [_httpClientConnection$]: dart.finalFieldType(_http._HttpClientConnection), + [_profileData$]: dart.finalFieldType(dart.nullable(_http._HttpProfileData)), + [_responseCompleter]: dart.finalFieldType(async.Completer$(_http.HttpClientResponse)), + [_proxy$]: dart.finalFieldType(_http._Proxy), + [_response]: dart.fieldType(dart.nullable(async.Future$(_http.HttpClientResponse))), + [_followRedirects]: dart.fieldType(core.bool), + [_maxRedirects]: dart.fieldType(core.int), + [_responseRedirects]: dart.fieldType(core.List$(_http.RedirectInfo)), + [_aborted]: dart.fieldType(core.bool) + })); + var _consume$ = dart.privateName(_http, "_consume"); + _http._HttpGZipSink = class _HttpGZipSink extends convert.ByteConversionSink { + add(chunk) { + let t296; + T$0.ListOfint().as(chunk); + if (chunk == null) dart.nullFailed(I[181], 1608, 22, "chunk"); + t296 = chunk; + this[_consume$](t296); + } + addSlice(chunk, start, end, isLast) { + let t296, t296$; + if (chunk == null) dart.nullFailed(I[181], 1612, 27, "chunk"); + if (start == null) dart.nullFailed(I[181], 1612, 38, "start"); + if (end == null) dart.nullFailed(I[181], 1612, 49, "end"); + if (isLast == null) dart.nullFailed(I[181], 1612, 59, "isLast"); + if (typed_data.Uint8List.is(chunk)) { + t296 = typed_data.Uint8List.view(chunk[$buffer], dart.notNull(chunk[$offsetInBytes]) + dart.notNull(start), dart.notNull(end) - dart.notNull(start)); + this[_consume$](t296); + } else { + t296$ = chunk[$sublist](start, dart.notNull(end) - dart.notNull(start)); + this[_consume$](t296$); + } + } + close() { + } + }; + (_http._HttpGZipSink.new = function(_consume) { + if (_consume == null) dart.nullFailed(I[181], 1606, 22, "_consume"); + this[_consume$] = _consume; + _http._HttpGZipSink.__proto__.new.call(this); + ; + }).prototype = _http._HttpGZipSink.prototype; + dart.addTypeTests(_http._HttpGZipSink); + dart.addTypeCaches(_http._HttpGZipSink); + dart.setMethodSignature(_http._HttpGZipSink, () => ({ + __proto__: dart.getMethods(_http._HttpGZipSink.__proto__), + add: dart.fnType(dart.void, [dart.nullable(core.Object)]), + addSlice: dart.fnType(dart.void, [core.List$(core.int), core.int, core.int, core.bool]), + close: dart.fnType(dart.void, []) + })); + dart.setLibraryUri(_http._HttpGZipSink, I[177]); + dart.setFieldSignature(_http._HttpGZipSink, () => ({ + __proto__: dart.getFields(_http._HttpGZipSink.__proto__), + [_consume$]: dart.finalFieldType(dart.fnType(dart.void, [core.List$(core.int)])) + })); + var _closeFuture = dart.privateName(_http, "_closeFuture"); + var _pendingChunkedFooter = dart.privateName(_http, "_pendingChunkedFooter"); + var _bytesWritten = dart.privateName(_http, "_bytesWritten"); + var _gzip = dart.privateName(_http, "_gzip"); + var _gzipSink = dart.privateName(_http, "_gzipSink"); + var _gzipAdd = dart.privateName(_http, "_gzipAdd"); + var _gzipBuffer = dart.privateName(_http, "_gzipBuffer"); + var _gzipBufferLength = dart.privateName(_http, "_gzipBufferLength"); + var _socketError = dart.privateName(_http, "_socketError"); + var _addGZipChunk = dart.privateName(_http, "_addGZipChunk"); + var _chunkHeader = dart.privateName(_http, "_chunkHeader"); + var _addChunk$ = dart.privateName(_http, "_addChunk"); + var _ignoreError = dart.privateName(_http, "_ignoreError"); + _http._HttpOutgoing = class _HttpOutgoing extends core.Object { + writeHeaders(opts) { + let drainRequest = opts && 'drainRequest' in opts ? opts.drainRequest : true; + if (drainRequest == null) dart.nullFailed(I[181], 1685, 13, "drainRequest"); + let setOutgoing = opts && 'setOutgoing' in opts ? opts.setOutgoing : true; + if (setOutgoing == null) dart.nullFailed(I[181], 1685, 39, "setOutgoing"); + if (dart.test(this.headersWritten)) return null; + this.headersWritten = true; + let drainFuture = null; + let gzip = false; + let response = dart.nullCheck(this.outbound); + if (_http._HttpResponse.is(response)) { + if (dart.test(dart.nullCheck(response[_httpRequest$])[_httpServer$].autoCompress) && dart.test(response.bufferOutput) && dart.test(response.headers.chunkedTransferEncoding)) { + let acceptEncodings = dart.nullCheck(response[_httpRequest$]).headers._get("accept-encoding"); + let contentEncoding = response.headers._get("content-encoding"); + if (acceptEncodings != null && contentEncoding == null && dart.test(acceptEncodings[$expand](core.String, dart.fn(list => { + if (list == null) dart.nullFailed(I[181], 1703, 26, "list"); + return list[$split](","); + }, T$0.StringToListOfString()))[$any](dart.fn(encoding => { + if (encoding == null) dart.nullFailed(I[181], 1704, 23, "encoding"); + return encoding[$trim]()[$toLowerCase]() === "gzip"; + }, T$.StringTobool())))) { + response.headers.set("content-encoding", "gzip"); + gzip = true; + } + } + if (dart.test(drainRequest) && !dart.test(dart.nullCheck(response[_httpRequest$])[_incoming$].hasSubscriber)) { + drainFuture = dart.nullCheck(response[_httpRequest$]).drain(dart.void).catchError(dart.fn(_ => { + }, T$.dynamicToNull())); + } + } else { + drainRequest = false; + } + if (!dart.test(this.ignoreBody)) { + if (dart.test(setOutgoing)) { + let contentLength = response.headers.contentLength; + if (dart.test(response.headers.chunkedTransferEncoding)) { + this.chunked = true; + if (gzip) this.gzip = true; + } else if (dart.notNull(contentLength) >= 0) { + this.contentLength = contentLength; + } + } + if (drainFuture != null) { + return drainFuture.then(dart.void, dart.fn(_ => response[_writeHeader](), T$0.voidTovoid())); + } + } + response[_writeHeader](); + return null; + } + addStream(stream) { + T$0.StreamOfListOfint().as(stream); + if (stream == null) dart.nullFailed(I[181], 1733, 38, "stream"); + if (dart.test(this[_socketError])) { + stream.listen(null).cancel(); + return async.Future.value(this.outbound); + } + if (dart.test(this.ignoreBody)) { + stream.drain(dart.dynamic).catchError(dart.fn(_ => { + }, T$.dynamicToNull())); + let future = this.writeHeaders(); + if (future != null) { + return future.then(dart.dynamic, dart.fn(_ => this.close(), T$0.voidToFuture())); + } + return this.close(); + } + let controller = T$0.StreamControllerOfListOfint().new({sync: true}); + const onData = data => { + if (data == null) dart.nullFailed(I[181], 1751, 27, "data"); + if (dart.test(this[_socketError])) return; + if (data[$length] === 0) return; + if (dart.test(this.chunked)) { + if (dart.test(this[_gzip])) { + this[_gzipAdd] = dart.bind(controller, 'add'); + this[_addGZipChunk](data, dart.bind(dart.nullCheck(this[_gzipSink]), 'add')); + this[_gzipAdd] = null; + return; + } + this[_addChunk$](this[_chunkHeader](data[$length]), dart.bind(controller, 'add')); + this[_pendingChunkedFooter] = 2; + } else { + let contentLength = this.contentLength; + if (contentLength != null) { + this[_bytesWritten] = dart.notNull(this[_bytesWritten]) + dart.notNull(data[$length]); + if (dart.notNull(this[_bytesWritten]) > dart.notNull(contentLength)) { + controller.addError(new _http.HttpException.new("Content size exceeds specified contentLength. " + dart.str(this[_bytesWritten]) + " bytes written while expected " + dart.str(contentLength) + ". " + "[" + dart.str(core.String.fromCharCodes(data)) + "]")); + return; + } + } + } + this[_addChunk$](data, dart.bind(controller, 'add')); + }; + dart.fn(onData, T$0.ListOfintTovoid()); + let sub = stream.listen(onData, {onError: dart.bind(controller, 'addError'), onDone: dart.bind(controller, 'close'), cancelOnError: true}); + controller.onPause = dart.bind(sub, 'pause'); + controller.onResume = dart.bind(sub, 'resume'); + if (!dart.test(this.headersWritten)) { + let future = this.writeHeaders(); + if (future != null) { + sub.pause(future); + } + } + return this.socket.addStream(controller.stream).then(dart.dynamic, dart.fn(_ => this.outbound, T$0.dynamicTo_HttpOutboundMessageN()), {onError: dart.fn((error, stackTrace) => { + if (dart.test(this[_gzip])) dart.nullCheck(this[_gzipSink]).close(); + this[_socketError] = true; + this[_doneCompleter$].completeError(core.Object.as(error), T$.StackTraceN().as(stackTrace)); + if (dart.test(this[_ignoreError](error))) { + return this.outbound; + } else { + dart.throw(error); + } + }, T$0.dynamicAnddynamicTo_HttpOutboundMessageN())}); + } + close() { + let closeFuture = this[_closeFuture]; + if (closeFuture != null) return closeFuture; + let outbound = dart.nullCheck(this.outbound); + if (dart.test(this[_socketError])) return async.Future.value(outbound); + if (dart.test(outbound[_isConnectionClosed])) return async.Future.value(outbound); + if (!dart.test(this.headersWritten) && !dart.test(this.ignoreBody)) { + if (outbound.headers.contentLength === -1) { + outbound.headers.chunkedTransferEncoding = false; + outbound.headers.contentLength = 0; + } else if (dart.notNull(outbound.headers.contentLength) > 0) { + let error = new _http.HttpException.new("No content even though contentLength was specified to be " + "greater than 0: " + dart.str(outbound.headers.contentLength) + ".", {uri: outbound[_uri]}); + this[_doneCompleter$].completeError(error); + return this[_closeFuture] = async.Future.error(error); + } + } + let contentLength = this.contentLength; + if (contentLength != null) { + if (dart.notNull(this[_bytesWritten]) < dart.notNull(contentLength)) { + let error = new _http.HttpException.new("Content size below specified contentLength. " + " " + dart.str(this[_bytesWritten]) + " bytes written but expected " + dart.str(contentLength) + ".", {uri: outbound[_uri]}); + this[_doneCompleter$].completeError(error); + return this[_closeFuture] = async.Future.error(error); + } + } + const finalize = () => { + if (dart.test(this.chunked)) { + if (dart.test(this[_gzip])) { + this[_gzipAdd] = dart.bind(this.socket, 'add'); + if (dart.notNull(this[_gzipBufferLength]) > 0) { + dart.nullCheck(this[_gzipSink]).add(typed_data.Uint8List.view(dart.nullCheck(this[_gzipBuffer])[$buffer], dart.nullCheck(this[_gzipBuffer])[$offsetInBytes], this[_gzipBufferLength])); + } + this[_gzipBuffer] = null; + dart.nullCheck(this[_gzipSink]).close(); + this[_gzipAdd] = null; + } + this[_addChunk$](this[_chunkHeader](0), dart.bind(this.socket, 'add')); + } + if (dart.notNull(this[_length$1]) > 0) { + this.socket.add(typed_data.Uint8List.view(dart.nullCheck(this[_buffer$1])[$buffer], dart.nullCheck(this[_buffer$1])[$offsetInBytes], this[_length$1])); + } + this[_buffer$1] = null; + return this.socket.flush().then(dart.dynamic, dart.fn(_ => { + this[_doneCompleter$].complete(this.socket); + return outbound; + }, T$0.dynamicTo_HttpOutboundMessage()), {onError: dart.fn((error, stackTrace) => { + this[_doneCompleter$].completeError(core.Object.as(error), T$.StackTraceN().as(stackTrace)); + if (dart.test(this[_ignoreError](error))) { + return outbound; + } else { + dart.throw(error); + } + }, T.dynamicAnddynamicTo_HttpOutboundMessage())}); + }; + dart.fn(finalize, T$0.VoidToFuture()); + let future = this.writeHeaders(); + if (future != null) { + return this[_closeFuture] = future.whenComplete(finalize); + } + return this[_closeFuture] = finalize(); + } + get done() { + return this[_doneCompleter$].future; + } + setHeader(data, length) { + if (data == null) dart.nullFailed(I[181], 1898, 28, "data"); + if (length == null) dart.nullFailed(I[181], 1898, 38, "length"); + if (!(this[_length$1] === 0)) dart.assertFailed(null, I[181], 1899, 12, "_length == 0"); + this[_buffer$1] = typed_data.Uint8List.as(data); + this[_length$1] = length; + } + set gzip(value) { + if (value == null) dart.nullFailed(I[181], 1904, 22, "value"); + this[_gzip] = value; + if (dart.test(value)) { + this[_gzipBuffer] = _native_typed_data.NativeUint8List.new(8192); + if (!(this[_gzipSink] == null)) dart.assertFailed(null, I[181], 1908, 14, "_gzipSink == null"); + this[_gzipSink] = new io.ZLibEncoder.new({gzip: true}).startChunkedConversion(new _http._HttpGZipSink.new(dart.fn(data => { + if (data == null) dart.nullFailed(I[181], 1910, 54, "data"); + if (this[_gzipAdd] == null) return; + this[_addChunk$](this[_chunkHeader](data[$length]), dart.nullCheck(this[_gzipAdd])); + this[_pendingChunkedFooter] = 2; + this[_addChunk$](data, dart.nullCheck(this[_gzipAdd])); + }, T$0.ListOfintTovoid()))); + } + } + [_ignoreError](error) { + return (io.SocketException.is(error) || io.TlsException.is(error)) && _http.HttpResponse.is(this.outbound); + } + [_addGZipChunk](chunk, add) { + if (chunk == null) dart.nullFailed(I[181], 1924, 32, "chunk"); + if (add == null) dart.nullFailed(I[181], 1924, 44, "add"); + let bufferOutput = dart.nullCheck(this.outbound).bufferOutput; + if (!dart.test(bufferOutput)) { + add(chunk); + return; + } + let gzipBuffer = dart.nullCheck(this[_gzipBuffer]); + if (dart.notNull(chunk[$length]) > dart.notNull(gzipBuffer[$length]) - dart.notNull(this[_gzipBufferLength])) { + add(typed_data.Uint8List.view(gzipBuffer[$buffer], gzipBuffer[$offsetInBytes], this[_gzipBufferLength])); + this[_gzipBuffer] = _native_typed_data.NativeUint8List.new(8192); + this[_gzipBufferLength] = 0; + } + if (dart.notNull(chunk[$length]) > 8192) { + add(chunk); + } else { + let currentLength = this[_gzipBufferLength]; + let newLength = dart.notNull(currentLength) + dart.notNull(chunk[$length]); + dart.nullCheck(this[_gzipBuffer])[$setRange](currentLength, newLength, chunk); + this[_gzipBufferLength] = newLength; + } + } + [_addChunk$](chunk, add) { + if (chunk == null) dart.nullFailed(I[181], 1947, 28, "chunk"); + if (add == null) dart.nullFailed(I[181], 1947, 40, "add"); + let bufferOutput = dart.nullCheck(this.outbound).bufferOutput; + if (!dart.test(bufferOutput)) { + if (this[_buffer$1] != null) { + add(typed_data.Uint8List.view(dart.nullCheck(this[_buffer$1])[$buffer], dart.nullCheck(this[_buffer$1])[$offsetInBytes], this[_length$1])); + this[_buffer$1] = null; + this[_length$1] = 0; + } + add(chunk); + return; + } + if (dart.notNull(chunk[$length]) > dart.notNull(dart.nullCheck(this[_buffer$1])[$length]) - dart.notNull(this[_length$1])) { + add(typed_data.Uint8List.view(dart.nullCheck(this[_buffer$1])[$buffer], dart.nullCheck(this[_buffer$1])[$offsetInBytes], this[_length$1])); + this[_buffer$1] = _native_typed_data.NativeUint8List.new(8192); + this[_length$1] = 0; + } + if (dart.notNull(chunk[$length]) > 8192) { + add(chunk); + } else { + dart.nullCheck(this[_buffer$1])[$setRange](this[_length$1], dart.notNull(this[_length$1]) + dart.notNull(chunk[$length]), chunk); + this[_length$1] = dart.notNull(this[_length$1]) + dart.notNull(chunk[$length]); + } + } + [_chunkHeader](length) { + if (length == null) dart.nullFailed(I[181], 1974, 30, "length"); + let hexDigits = C[471] || CT.C471; + if (length === 0) { + if (this[_pendingChunkedFooter] === 2) return _http._HttpOutgoing._footerAndChunk0Length; + return _http._HttpOutgoing._chunk0Length; + } + let size = this[_pendingChunkedFooter]; + let len = length; + while (dart.notNull(len) > 0) { + size = dart.notNull(size) + 1; + len = len[$rightShift](4); + } + let footerAndHeader = _native_typed_data.NativeUint8List.new(dart.notNull(size) + 2); + if (this[_pendingChunkedFooter] === 2) { + footerAndHeader[$_set](0, 13); + footerAndHeader[$_set](1, 10); + } + let index = size; + while (dart.notNull(index) > dart.notNull(this[_pendingChunkedFooter])) { + footerAndHeader[$_set](index = dart.notNull(index) - 1, hexDigits[$_get](dart.notNull(length) & 15)); + length = length[$rightShift](4); + } + footerAndHeader[$_set](dart.notNull(size) + 0, 13); + footerAndHeader[$_set](dart.notNull(size) + 1, 10); + return footerAndHeader; + } + }; + (_http._HttpOutgoing.new = function(socket) { + if (socket == null) dart.nullFailed(I[181], 1680, 22, "socket"); + this[_doneCompleter$] = T$0.CompleterOfSocket().new(); + this.ignoreBody = false; + this.headersWritten = false; + this[_buffer$1] = null; + this[_length$1] = 0; + this[_closeFuture] = null; + this.chunked = false; + this[_pendingChunkedFooter] = 0; + this.contentLength = null; + this[_bytesWritten] = 0; + this[_gzip] = false; + this[_gzipSink] = null; + this[_gzipAdd] = null; + this[_gzipBuffer] = null; + this[_gzipBufferLength] = 0; + this[_socketError] = false; + this.outbound = null; + this.socket = socket; + ; + }).prototype = _http._HttpOutgoing.prototype; + dart.addTypeTests(_http._HttpOutgoing); + dart.addTypeCaches(_http._HttpOutgoing); + _http._HttpOutgoing[dart.implements] = () => [async.StreamConsumer$(core.List$(core.int))]; + dart.setMethodSignature(_http._HttpOutgoing, () => ({ + __proto__: dart.getMethods(_http._HttpOutgoing.__proto__), + writeHeaders: dart.fnType(dart.nullable(async.Future$(dart.void)), [], {drainRequest: core.bool, setOutgoing: core.bool}, {}), + addStream: dart.fnType(async.Future, [dart.nullable(core.Object)]), + close: dart.fnType(async.Future, []), + setHeader: dart.fnType(dart.void, [core.List$(core.int), core.int]), + [_ignoreError]: dart.fnType(core.bool, [dart.dynamic]), + [_addGZipChunk]: dart.fnType(dart.void, [core.List$(core.int), dart.fnType(dart.void, [core.List$(core.int)])]), + [_addChunk$]: dart.fnType(dart.void, [core.List$(core.int), dart.fnType(dart.void, [core.List$(core.int)])]), + [_chunkHeader]: dart.fnType(core.List$(core.int), [core.int]) + })); + dart.setGetterSignature(_http._HttpOutgoing, () => ({ + __proto__: dart.getGetters(_http._HttpOutgoing.__proto__), + done: async.Future$(io.Socket) + })); + dart.setSetterSignature(_http._HttpOutgoing, () => ({ + __proto__: dart.getSetters(_http._HttpOutgoing.__proto__), + gzip: core.bool + })); + dart.setLibraryUri(_http._HttpOutgoing, I[177]); + dart.setFieldSignature(_http._HttpOutgoing, () => ({ + __proto__: dart.getFields(_http._HttpOutgoing.__proto__), + [_doneCompleter$]: dart.finalFieldType(async.Completer$(io.Socket)), + socket: dart.finalFieldType(io.Socket), + ignoreBody: dart.fieldType(core.bool), + headersWritten: dart.fieldType(core.bool), + [_buffer$1]: dart.fieldType(dart.nullable(typed_data.Uint8List)), + [_length$1]: dart.fieldType(core.int), + [_closeFuture]: dart.fieldType(dart.nullable(async.Future)), + chunked: dart.fieldType(core.bool), + [_pendingChunkedFooter]: dart.fieldType(core.int), + contentLength: dart.fieldType(dart.nullable(core.int)), + [_bytesWritten]: dart.fieldType(core.int), + [_gzip]: dart.fieldType(core.bool), + [_gzipSink]: dart.fieldType(dart.nullable(convert.ByteConversionSink)), + [_gzipAdd]: dart.fieldType(dart.nullable(dart.fnType(dart.void, [core.List$(core.int)]))), + [_gzipBuffer]: dart.fieldType(dart.nullable(typed_data.Uint8List)), + [_gzipBufferLength]: dart.fieldType(core.int), + [_socketError]: dart.fieldType(core.bool), + outbound: dart.fieldType(dart.nullable(_http._HttpOutboundMessage)) + })); + dart.defineLazy(_http._HttpOutgoing, { + /*_http._HttpOutgoing._footerAndChunk0Length*/get _footerAndChunk0Length() { + return C[472] || CT.C472; + }, + /*_http._HttpOutgoing._chunk0Length*/get _chunk0Length() { + return C[473] || CT.C473; + } + }, false); + var _subscription$0 = dart.privateName(_http, "_subscription"); + var _dispose = dart.privateName(_http, "_dispose"); + var _idleTimer = dart.privateName(_http, "_idleTimer"); + var _currentUri = dart.privateName(_http, "_currentUri"); + var _nextResponseCompleter = dart.privateName(_http, "_nextResponseCompleter"); + var _streamFuture = dart.privateName(_http, "_streamFuture"); + var _context$0 = dart.privateName(_http, "_context"); + var _httpParser = dart.privateName(_http, "_httpParser"); + var _proxyCredentials = dart.privateName(_http, "_proxyCredentials"); + var _returnConnection = dart.privateName(_http, "_returnConnection"); + var _connectionClosedNoFurtherClosing = dart.privateName(_http, "_connectionClosedNoFurtherClosing"); + _http._HttpClientConnection = class _HttpClientConnection extends core.Object { + send(uri, port, method, proxy, profileData) { + let t296; + if (uri == null) dart.nullFailed(I[181], 2083, 31, "uri"); + if (port == null) dart.nullFailed(I[181], 2083, 40, "port"); + if (method == null) dart.nullFailed(I[181], 2083, 53, "method"); + if (proxy == null) dart.nullFailed(I[181], 2083, 68, "proxy"); + if (dart.test(this.closed)) { + dart.throw(new _http.HttpException.new("Socket closed before request was sent", {uri: uri})); + } + this[_currentUri] = uri; + dart.nullCheck(this[_subscription$0]).pause(); + if (method === "CONNECT") { + this[_httpParser].connectMethod = true; + } + let proxyCreds = null; + let creds = null; + let outgoing = new _http._HttpOutgoing.new(this[_socket$0]); + let request = new _http._HttpClientRequest.new(outgoing, uri, method, proxy, this[_httpClient$], this, profileData); + let host = uri.host; + if (host[$contains](":")) host = "[" + dart.str(host) + "]"; + t296 = request.headers; + (() => { + t296.host = host; + t296.port = port; + t296.add("accept-encoding", "gzip"); + return t296; + })(); + if (this[_httpClient$].userAgent != null) { + request.headers.add("user-agent", dart.nullCheck(this[_httpClient$].userAgent)); + } + if (dart.test(proxy.isAuthenticated)) { + let auth = _http._CryptoUtils.bytesToBase64(convert.utf8.encode(dart.str(proxy.username) + ":" + dart.str(proxy.password))); + request.headers.set("proxy-authorization", "Basic " + dart.str(auth)); + } else if (!dart.test(proxy.isDirect) && dart.notNull(this[_httpClient$][_proxyCredentials][$length]) > 0) { + proxyCreds = this[_httpClient$][_findProxyCredentials](proxy); + if (proxyCreds != null) { + proxyCreds.authorize(request); + } + } + if (uri.userInfo != null && !uri.userInfo[$isEmpty]) { + let auth = _http._CryptoUtils.bytesToBase64(convert.utf8.encode(uri.userInfo)); + request.headers.set("authorization", "Basic " + dart.str(auth)); + } else { + creds = this[_httpClient$][_findCredentials](uri); + if (creds != null) { + creds.authorize(request); + } + } + this[_httpParser].isHead = method === "HEAD"; + this[_streamFuture] = outgoing.done.then(io.Socket, dart.fn(s => { + if (s == null) dart.nullFailed(I[181], 2141, 56, "s"); + let nextResponseCompleter = T.CompleterOf_HttpIncoming().new(); + this[_nextResponseCompleter] = nextResponseCompleter; + nextResponseCompleter.future.then(core.Null, dart.fn(incoming => { + if (incoming == null) dart.nullFailed(I[181], 2147, 42, "incoming"); + this[_currentUri] = null; + incoming.dataDone.then(core.Null, dart.fn(closing => { + if (dart.test(incoming.upgraded)) { + this[_httpClient$][_connectionClosed](this); + this.startTimer(); + return; + } + if (dart.test(this.closed) || method === "CONNECT" && incoming.statusCode === 200) { + return; + } + if (!dart.dtest(closing) && !dart.test(this[_dispose]) && dart.test(incoming.headers.persistentConnection) && dart.test(request.persistentConnection)) { + this[_httpClient$][_returnConnection](this); + dart.nullCheck(this[_subscription$0]).resume(); + } else { + this.destroy(); + } + }, T$.dynamicToNull())); + if (proxyCreds != null && dart.equals(proxyCreds.scheme, _http._AuthenticationScheme.DIGEST)) { + let authInfo = incoming.headers._get("proxy-authentication-info"); + if (authInfo != null && authInfo[$length] === 1) { + let header = _http._HeaderValue.parse(authInfo[$_get](0), {parameterSeparator: ","}); + let nextnonce = header.parameters[$_get]("nextnonce"); + if (nextnonce != null) proxyCreds.nonce = nextnonce; + } + } + if (creds != null && dart.equals(creds.scheme, _http._AuthenticationScheme.DIGEST)) { + let authInfo = incoming.headers._get("authentication-info"); + if (authInfo != null && authInfo[$length] === 1) { + let header = _http._HeaderValue.parse(authInfo[$_get](0), {parameterSeparator: ","}); + let nextnonce = header.parameters[$_get]("nextnonce"); + if (nextnonce != null) creds.nonce = nextnonce; + } + } + request[_onIncoming](incoming); + }, T._HttpIncomingToNull())).catchError(dart.fn(error => { + dart.throw(new _http.HttpException.new("Connection closed before data was received", {uri: uri})); + }, T$0.dynamicToNever()), {test: dart.fn(error => { + if (error == null) dart.nullFailed(I[181], 2202, 17, "error"); + return core.StateError.is(error); + }, T$.ObjectTobool())}).catchError(dart.fn((error, stackTrace) => { + this.destroy(); + request[_onError$](error, core.StackTrace.as(stackTrace)); + }, T$.dynamicAnddynamicToNull())); + dart.nullCheck(this[_subscription$0]).resume(); + return s; + }, T.SocketToSocket())); + T.FutureOfSocketN().value(this[_streamFuture]).catchError(dart.fn(e => { + this.destroy(); + }, T$.dynamicToNull())); + return request; + } + detachSocket() { + return dart.nullCheck(this[_streamFuture]).then(io.Socket, dart.fn(_ => { + if (_ == null) dart.nullFailed(I[181], 2220, 10, "_"); + return new _http._DetachedSocket.new(this[_socket$0], this[_httpParser].detachIncoming()); + }, T.SocketTo_DetachedSocket())); + } + destroy() { + this.closed = true; + this[_httpClient$][_connectionClosed](this); + this[_socket$0].destroy(); + } + destroyFromExternal() { + this.closed = true; + this[_httpClient$][_connectionClosedNoFurtherClosing](this); + this[_socket$0].destroy(); + } + close() { + this.closed = true; + this[_httpClient$][_connectionClosed](this); + dart.nullCheck(this[_streamFuture]).timeout(this[_httpClient$].idleTimeout).then(dart.void, dart.fn(_ => { + if (_ == null) dart.nullFailed(I[181], 2240, 16, "_"); + return this[_socket$0].destroy(); + }, T.SocketTovoid())); + } + closeFromExternal() { + this.closed = true; + this[_httpClient$][_connectionClosedNoFurtherClosing](this); + dart.nullCheck(this[_streamFuture]).timeout(this[_httpClient$].idleTimeout).then(dart.void, dart.fn(_ => { + if (_ == null) dart.nullFailed(I[181], 2248, 16, "_"); + return this[_socket$0].destroy(); + }, T.SocketTovoid())); + } + createProxyTunnel(host, port, proxy, callback, profileData) { + let t296; + if (host == null) dart.nullFailed(I[181], 2252, 14, "host"); + if (port == null) dart.nullFailed(I[181], 2253, 11, "port"); + if (proxy == null) dart.nullFailed(I[181], 2254, 14, "proxy"); + if (callback == null) dart.nullFailed(I[181], 2255, 12, "callback"); + let method = "CONNECT"; + let uri = core._Uri.new({host: host, port: port}); + t296 = profileData; + t296 == null ? null : t296.proxyEvent(proxy); + let proxyProfileData = null; + if (profileData != null) { + proxyProfileData = _http.HttpProfiler.startRequest(method, uri, {parentRequest: profileData}); + } + let request = this.send(core._Uri.new({host: host, port: port}), port, method, proxy, proxyProfileData); + if (dart.test(proxy.isAuthenticated)) { + let auth = _http._CryptoUtils.bytesToBase64(convert.utf8.encode(dart.str(proxy.username) + ":" + dart.str(proxy.password))); + request.headers.set("proxy-authorization", "Basic " + dart.str(auth)); + } + return request.close().then(io.SecureSocket, dart.fn(response => { + let t296; + if (response == null) dart.nullFailed(I[181], 2280, 34, "response"); + if (response.statusCode !== 200) { + let error = "Proxy failed to establish tunnel " + "(" + dart.str(response.statusCode) + " " + dart.str(response.reasonPhrase) + ")"; + t296 = profileData; + t296 == null ? null : t296.requestEvent(error); + dart.throw(new _http.HttpException.new(error, {uri: request.uri})); + } + let socket = _http._HttpClientResponse.as(response)[_httpRequest$][_httpClientConnection$][_socket$0]; + return io.SecureSocket.secure(socket, {host: host, context: this[_context$0], onBadCertificate: callback}); + }, T.HttpClientResponseToFutureOfSecureSocket())).then(_http._HttpClientConnection, dart.fn(secureSocket => { + let t296; + if (secureSocket == null) dart.nullFailed(I[181], 2293, 14, "secureSocket"); + let key = core.String.as(_http._HttpClientConnection.makeKey(true, host, port)); + t296 = profileData; + t296 == null ? null : t296.requestEvent("Proxy tunnel established"); + return new _http._HttpClientConnection.new(key, secureSocket, request[_httpClient$], true); + }, T.SecureSocketTo_HttpClientConnection())); + } + get connectionInfo() { + return _http._HttpConnectionInfo.create(this[_socket$0]); + } + static makeKey(isSecure, host, port) { + if (isSecure == null) dart.nullFailed(I[181], 2303, 23, "isSecure"); + if (host == null) dart.nullFailed(I[181], 2303, 40, "host"); + if (port == null) dart.nullFailed(I[181], 2303, 50, "port"); + return dart.test(isSecure) ? "ssh:" + dart.str(host) + ":" + dart.str(port) : dart.str(host) + ":" + dart.str(port); + } + stopTimer() { + let t296; + t296 = this[_idleTimer]; + t296 == null ? null : t296.cancel(); + this[_idleTimer] = null; + } + startTimer() { + if (!(this[_idleTimer] == null)) dart.assertFailed(null, I[181], 2313, 12, "_idleTimer == null"); + this[_idleTimer] = async.Timer.new(this[_httpClient$].idleTimeout, dart.fn(() => { + this[_idleTimer] = null; + this.close(); + }, T$.VoidTovoid())); + } + }; + (_http._HttpClientConnection.new = function(key, _socket, _httpClient, _proxyTunnel = false, _context = null) { + if (key == null) dart.nullFailed(I[181], 2036, 30, "key"); + if (_socket == null) dart.nullFailed(I[181], 2036, 40, "_socket"); + if (_httpClient == null) dart.nullFailed(I[181], 2036, 54, "_httpClient"); + if (_proxyTunnel == null) dart.nullFailed(I[181], 2037, 13, "_proxyTunnel"); + this[_subscription$0] = null; + this[_dispose] = false; + this[_idleTimer] = null; + this.closed = false; + this[_currentUri] = null; + this[_nextResponseCompleter] = null; + this[_streamFuture] = null; + this.key = key; + this[_socket$0] = _socket; + this[_httpClient$] = _httpClient; + this[_proxyTunnel$] = _proxyTunnel; + this[_context$0] = _context; + this[_httpParser] = _http._HttpParser.responseParser(); + this[_httpParser].listenToStream(this[_socket$0]); + this[_subscription$0] = this[_httpParser].listen(dart.fn(incoming => { + if (incoming == null) dart.nullFailed(I[181], 2043, 41, "incoming"); + dart.nullCheck(this[_subscription$0]).pause(); + if (this[_nextResponseCompleter] == null) { + dart.throw(new _http.HttpException.new("Unexpected response (unsolicited response without request).", {uri: this[_currentUri]})); + } + if (incoming.statusCode === 100) { + incoming.drain(dart.dynamic).then(core.Null, dart.fn(_ => { + dart.nullCheck(this[_subscription$0]).resume(); + }, T$.dynamicToNull())).catchError(dart.fn((error, stackTrace) => { + if (stackTrace == null) dart.nullFailed(I[181], 2061, 50, "stackTrace"); + dart.nullCheck(this[_nextResponseCompleter]).completeError(new _http.HttpException.new(core.String.as(dart.dload(error, 'message')), {uri: this[_currentUri]}), stackTrace); + this[_nextResponseCompleter] = null; + }, T.dynamicAndStackTraceToNull())); + } else { + dart.nullCheck(this[_nextResponseCompleter]).complete(incoming); + this[_nextResponseCompleter] = null; + } + }, T._HttpIncomingTovoid()), {onError: dart.fn((error, stackTrace) => { + let t296; + if (stackTrace == null) dart.nullFailed(I[181], 2070, 44, "stackTrace"); + t296 = this[_nextResponseCompleter]; + t296 == null ? null : t296.completeError(new _http.HttpException.new(core.String.as(dart.dload(error, 'message')), {uri: this[_currentUri]}), stackTrace); + this[_nextResponseCompleter] = null; + }, T.dynamicAndStackTraceToNull()), onDone: dart.fn(() => { + let t296; + t296 = this[_nextResponseCompleter]; + t296 == null ? null : t296.completeError(new _http.HttpException.new("Connection closed before response was received", {uri: this[_currentUri]})); + this[_nextResponseCompleter] = null; + this.close(); + }, T$.VoidTovoid())}); + }).prototype = _http._HttpClientConnection.prototype; + dart.addTypeTests(_http._HttpClientConnection); + dart.addTypeCaches(_http._HttpClientConnection); + dart.setMethodSignature(_http._HttpClientConnection, () => ({ + __proto__: dart.getMethods(_http._HttpClientConnection.__proto__), + send: dart.fnType(_http._HttpClientRequest, [core.Uri, core.int, core.String, _http._Proxy, dart.nullable(_http._HttpProfileData)]), + detachSocket: dart.fnType(async.Future$(io.Socket), []), + destroy: dart.fnType(dart.void, []), + destroyFromExternal: dart.fnType(dart.void, []), + close: dart.fnType(dart.void, []), + closeFromExternal: dart.fnType(dart.void, []), + createProxyTunnel: dart.fnType(async.Future$(_http._HttpClientConnection), [core.String, core.int, _http._Proxy, dart.fnType(core.bool, [io.X509Certificate]), dart.nullable(_http._HttpProfileData)]), + stopTimer: dart.fnType(dart.void, []), + startTimer: dart.fnType(dart.void, []) + })); + dart.setGetterSignature(_http._HttpClientConnection, () => ({ + __proto__: dart.getGetters(_http._HttpClientConnection.__proto__), + connectionInfo: dart.nullable(_http.HttpConnectionInfo) + })); + dart.setLibraryUri(_http._HttpClientConnection, I[177]); + dart.setFieldSignature(_http._HttpClientConnection, () => ({ + __proto__: dart.getFields(_http._HttpClientConnection.__proto__), + key: dart.finalFieldType(core.String), + [_socket$0]: dart.finalFieldType(io.Socket), + [_proxyTunnel$]: dart.finalFieldType(core.bool), + [_context$0]: dart.finalFieldType(dart.nullable(io.SecurityContext)), + [_httpParser]: dart.finalFieldType(_http._HttpParser), + [_subscription$0]: dart.fieldType(dart.nullable(async.StreamSubscription)), + [_httpClient$]: dart.finalFieldType(_http._HttpClient), + [_dispose]: dart.fieldType(core.bool), + [_idleTimer]: dart.fieldType(dart.nullable(async.Timer)), + closed: dart.fieldType(core.bool), + [_currentUri]: dart.fieldType(dart.nullable(core.Uri)), + [_nextResponseCompleter]: dart.fieldType(dart.nullable(async.Completer$(_http._HttpIncoming))), + [_streamFuture]: dart.fieldType(dart.nullable(async.Future$(io.Socket))) + })); + _http._ConnectionInfo = class _ConnectionInfo extends core.Object {}; + (_http._ConnectionInfo.new = function(connection, proxy) { + if (connection == null) dart.nullFailed(I[181], 2325, 24, "connection"); + if (proxy == null) dart.nullFailed(I[181], 2325, 41, "proxy"); + this.connection = connection; + this.proxy = proxy; + ; + }).prototype = _http._ConnectionInfo.prototype; + dart.addTypeTests(_http._ConnectionInfo); + dart.addTypeCaches(_http._ConnectionInfo); + dart.setLibraryUri(_http._ConnectionInfo, I[177]); + dart.setFieldSignature(_http._ConnectionInfo, () => ({ + __proto__: dart.getFields(_http._ConnectionInfo.__proto__), + connection: dart.finalFieldType(_http._HttpClientConnection), + proxy: dart.finalFieldType(_http._Proxy) + })); + var _idle = dart.privateName(_http, "_idle"); + var _active = dart.privateName(_http, "_active"); + var _socketTasks = dart.privateName(_http, "_socketTasks"); + var _pending = dart.privateName(_http, "_pending"); + var _connecting = dart.privateName(_http, "_connecting"); + var _checkPending = dart.privateName(_http, "_checkPending"); + var _connectionsChanged = dart.privateName(_http, "_connectionsChanged"); + var _badCertificateCallback = dart.privateName(_http, "_badCertificateCallback"); + var _getConnectionTarget = dart.privateName(_http, "_getConnectionTarget"); + _http._ConnectionTarget = class _ConnectionTarget extends core.Object { + get isEmpty() { + return dart.test(this[_idle][$isEmpty]) && dart.test(this[_active][$isEmpty]) && this[_connecting] === 0; + } + get hasIdle() { + return this[_idle][$isNotEmpty]; + } + get hasActive() { + return dart.test(this[_active][$isNotEmpty]) || dart.notNull(this[_connecting]) > 0; + } + takeIdle() { + if (!dart.test(this.hasIdle)) dart.assertFailed(null, I[181], 2351, 12, "hasIdle"); + let connection = this[_idle][$first]; + this[_idle].remove(connection); + connection.stopTimer(); + this[_active].add(connection); + return connection; + } + [_checkPending]() { + if (dart.test(this[_pending][$isNotEmpty])) { + dart.dcall(this[_pending].removeFirst(), []); + } + } + addNewActive(connection) { + if (connection == null) dart.nullFailed(I[181], 2365, 43, "connection"); + this[_active].add(connection); + } + returnConnection(connection) { + if (connection == null) dart.nullFailed(I[181], 2369, 47, "connection"); + if (!dart.test(this[_active].contains(connection))) dart.assertFailed(null, I[181], 2370, 12, "_active.contains(connection)"); + this[_active].remove(connection); + this[_idle].add(connection); + connection.startTimer(); + this[_checkPending](); + } + connectionClosed(connection) { + if (connection == null) dart.nullFailed(I[181], 2377, 47, "connection"); + if (!(!dart.test(this[_active].contains(connection)) || !dart.test(this[_idle].contains(connection)))) dart.assertFailed(null, I[181], 2378, 12, "!_active.contains(connection) || !_idle.contains(connection)"); + this[_active].remove(connection); + this[_idle].remove(connection); + this[_checkPending](); + } + close(force) { + if (force == null) dart.nullFailed(I[181], 2384, 19, "force"); + for (let t of this[_socketTasks][$toList]()) { + t.socket.then(core.Null, dart.fn(s => { + dart.dsend(s, 'destroy', []); + }, T$.dynamicToNull()), {onError: dart.fn(e => { + }, T$.dynamicToNull())}); + t.cancel(); + } + if (dart.test(force)) { + for (let c of this[_idle][$toList]()) { + c.destroyFromExternal(); + } + for (let c of this[_active][$toList]()) { + c.destroyFromExternal(); + } + } else { + for (let c of this[_idle][$toList]()) { + c.closeFromExternal(); + } + } + } + connect(uriHost, uriPort, proxy, client, profileData) { + if (uriHost == null) dart.nullFailed(I[181], 2407, 42, "uriHost"); + if (uriPort == null) dart.nullFailed(I[181], 2407, 55, "uriPort"); + if (proxy == null) dart.nullFailed(I[181], 2407, 71, "proxy"); + if (client == null) dart.nullFailed(I[181], 2408, 19, "client"); + if (dart.test(this.hasIdle)) { + let connection = this.takeIdle(); + client[_connectionsChanged](); + return T.FutureOf_ConnectionInfo().value(new _http._ConnectionInfo.new(connection, proxy)); + } + let maxConnectionsPerHost = client.maxConnectionsPerHost; + if (maxConnectionsPerHost != null && dart.notNull(this[_active][$length]) + dart.notNull(this[_connecting]) >= dart.notNull(maxConnectionsPerHost)) { + let completer = T.CompleterOf_ConnectionInfo().new(); + this[_pending].add(dart.fn(() => { + completer.complete(this.connect(uriHost, uriPort, proxy, client, profileData)); + }, T$.VoidToNull())); + return completer.future; + } + let currentBadCertificateCallback = client[_badCertificateCallback]; + function callback(certificate) { + if (certificate == null) dart.nullFailed(I[181], 2426, 35, "certificate"); + if (currentBadCertificateCallback == null) return false; + return currentBadCertificateCallback(certificate, uriHost, uriPort); + } + dart.fn(callback, T.X509CertificateTobool()); + let connectionTask = dart.test(this.isSecure) && dart.test(proxy.isDirect) ? io.SecureSocket.startConnect(this.host, this.port, {context: this.context, onBadCertificate: callback}) : io.Socket.startConnect(this.host, this.port); + this[_connecting] = dart.notNull(this[_connecting]) + 1; + return connectionTask.then(_http._ConnectionInfo, dart.fn(task => { + if (task == null) dart.nullFailed(I[181], 2436, 48, "task"); + this[_socketTasks].add(task); + let socketFuture = task.socket; + let connectionTimeout = client.connectionTimeout; + if (connectionTimeout != null) { + socketFuture = socketFuture.timeout(connectionTimeout); + } + return socketFuture.then(_http._ConnectionInfo, dart.fn(socket => { + this[_connecting] = dart.notNull(this[_connecting]) - 1; + dart.dsend(socket, 'setOption', [io.SocketOption.tcpNoDelay, true]); + let connection = new _http._HttpClientConnection.new(this.key, io.Socket.as(socket), client, false, this.context); + if (dart.test(this.isSecure) && !dart.test(proxy.isDirect)) { + connection[_dispose] = true; + return connection.createProxyTunnel(uriHost, uriPort, proxy, callback, profileData).then(_http._ConnectionInfo, dart.fn(tunnel => { + if (tunnel == null) dart.nullFailed(I[181], 2452, 22, "tunnel"); + client[_getConnectionTarget](uriHost, uriPort, true).addNewActive(tunnel); + this[_socketTasks].remove(task); + return new _http._ConnectionInfo.new(tunnel, proxy); + }, T._HttpClientConnectionTo_ConnectionInfo())); + } else { + this.addNewActive(connection); + this[_socketTasks].remove(task); + return new _http._ConnectionInfo.new(connection, proxy); + } + }, T.dynamicToFutureOrOf_ConnectionInfo()), {onError: dart.fn(error => { + if (async.TimeoutException.is(error)) { + if (!(connectionTimeout != null)) dart.assertFailed(null, I[181], 2471, 18, "connectionTimeout != null"); + this[_connecting] = dart.notNull(this[_connecting]) - 1; + this[_socketTasks].remove(task); + task.cancel(); + dart.throw(new io.SocketException.new("HTTP connection timed out after " + dart.str(connectionTimeout) + ", " + "host: " + dart.str(this.host) + ", port: " + dart.str(this.port))); + } + this[_socketTasks].remove(task); + this[_checkPending](); + dart.throw(error); + }, T$0.dynamicToNever())}); + }, T.ConnectionTaskToFutureOf_ConnectionInfo()), {onError: dart.fn(error => { + this[_connecting] = dart.notNull(this[_connecting]) - 1; + dart.throw(error); + }, T$0.dynamicToNever())}); + } + }; + (_http._ConnectionTarget.new = function(key, host, port, isSecure, context) { + if (key == null) dart.nullFailed(I[181], 2342, 12, "key"); + if (host == null) dart.nullFailed(I[181], 2342, 22, "host"); + if (port == null) dart.nullFailed(I[181], 2342, 33, "port"); + if (isSecure == null) dart.nullFailed(I[181], 2342, 44, "isSecure"); + this[_idle] = new (T._HashSetOf_HttpClientConnection()).new(); + this[_active] = new (T._HashSetOf_HttpClientConnection()).new(); + this[_socketTasks] = new (T._HashSetOfConnectionTask()).new(); + this[_pending] = new collection.ListQueue.new(); + this[_connecting] = 0; + this.key = key; + this.host = host; + this.port = port; + this.isSecure = isSecure; + this.context = context; + ; + }).prototype = _http._ConnectionTarget.prototype; + dart.addTypeTests(_http._ConnectionTarget); + dart.addTypeCaches(_http._ConnectionTarget); + dart.setMethodSignature(_http._ConnectionTarget, () => ({ + __proto__: dart.getMethods(_http._ConnectionTarget.__proto__), + takeIdle: dart.fnType(_http._HttpClientConnection, []), + [_checkPending]: dart.fnType(dart.dynamic, []), + addNewActive: dart.fnType(dart.void, [_http._HttpClientConnection]), + returnConnection: dart.fnType(dart.void, [_http._HttpClientConnection]), + connectionClosed: dart.fnType(dart.void, [_http._HttpClientConnection]), + close: dart.fnType(dart.void, [core.bool]), + connect: dart.fnType(async.Future$(_http._ConnectionInfo), [core.String, core.int, _http._Proxy, _http._HttpClient, dart.nullable(_http._HttpProfileData)]) + })); + dart.setGetterSignature(_http._ConnectionTarget, () => ({ + __proto__: dart.getGetters(_http._ConnectionTarget.__proto__), + isEmpty: core.bool, + hasIdle: core.bool, + hasActive: core.bool + })); + dart.setLibraryUri(_http._ConnectionTarget, I[177]); + dart.setFieldSignature(_http._ConnectionTarget, () => ({ + __proto__: dart.getFields(_http._ConnectionTarget.__proto__), + key: dart.finalFieldType(core.String), + host: dart.finalFieldType(core.String), + port: dart.finalFieldType(core.int), + isSecure: dart.finalFieldType(core.bool), + context: dart.finalFieldType(dart.nullable(io.SecurityContext)), + [_idle]: dart.finalFieldType(core.Set$(_http._HttpClientConnection)), + [_active]: dart.finalFieldType(core.Set$(_http._HttpClientConnection)), + [_socketTasks]: dart.finalFieldType(core.Set$(io.ConnectionTask)), + [_pending]: dart.finalFieldType(collection.Queue), + [_connecting]: dart.fieldType(core.int) + })); + var _closing = dart.privateName(_http, "_closing"); + var _closingForcefully = dart.privateName(_http, "_closingForcefully"); + var _connectionTargets = dart.privateName(_http, "_connectionTargets"); + var _credentials = dart.privateName(_http, "_credentials"); + var _findProxy = dart.privateName(_http, "_findProxy"); + var _idleTimeout = dart.privateName(_http, "_idleTimeout"); + var _openUrl = dart.privateName(_http, "_openUrl"); + var _closeConnections = dart.privateName(_http, "_closeConnections"); + var _Proxy_isDirect = dart.privateName(_http, "_Proxy.isDirect"); + var _Proxy_password = dart.privateName(_http, "_Proxy.password"); + var _Proxy_username = dart.privateName(_http, "_Proxy.username"); + var _Proxy_port = dart.privateName(_http, "_Proxy.port"); + var _Proxy_host = dart.privateName(_http, "_Proxy.host"); + var _ProxyConfiguration_proxies = dart.privateName(_http, "_ProxyConfiguration.proxies"); + var _getConnection = dart.privateName(_http, "_getConnection"); + _http._HttpClient = class _HttpClient extends core.Object { + get idleTimeout() { + return this[_idleTimeout]; + } + set idleTimeout(timeout) { + if (timeout == null) dart.nullFailed(I[181], 2518, 33, "timeout"); + this[_idleTimeout] = timeout; + for (let c of this[_connectionTargets][$values]) { + for (let idle of c[_idle]) { + idle.stopTimer(); + idle.startTimer(); + } + } + } + set badCertificateCallback(callback) { + this[_badCertificateCallback] = callback; + } + open(method, host, port, path) { + if (method == null) dart.nullFailed(I[181], 2535, 14, "method"); + if (host == null) dart.nullFailed(I[181], 2535, 29, "host"); + if (port == null) dart.nullFailed(I[181], 2535, 39, "port"); + if (path == null) dart.nullFailed(I[181], 2535, 52, "path"); + let fragmentStart = path.length; + let queryStart = path.length; + for (let i = path.length - 1; i >= 0; i = i - 1) { + let char = path[$codeUnitAt](i); + if (char === 35) { + fragmentStart = i; + queryStart = i; + } else if (char === 63) { + queryStart = i; + } + } + let query = null; + if (queryStart < fragmentStart) { + query = path[$substring](queryStart + 1, fragmentStart); + path = path[$substring](0, queryStart); + } + let uri = core._Uri.new({scheme: "http", host: host, port: port, path: path, query: query}); + return this[_openUrl](method, uri); + } + openUrl(method, url) { + if (method == null) dart.nullFailed(I[181], 2559, 44, "method"); + if (url == null) dart.nullFailed(I[181], 2559, 56, "url"); + return this[_openUrl](method, url); + } + get(host, port, path) { + if (host == null) dart.nullFailed(I[181], 2562, 40, "host"); + if (port == null) dart.nullFailed(I[181], 2562, 50, "port"); + if (path == null) dart.nullFailed(I[181], 2562, 63, "path"); + return this.open("get", host, port, path); + } + getUrl(url) { + if (url == null) dart.nullFailed(I[181], 2565, 40, "url"); + return this[_openUrl]("get", url); + } + post(host, port, path) { + if (host == null) dart.nullFailed(I[181], 2567, 41, "host"); + if (port == null) dart.nullFailed(I[181], 2567, 51, "port"); + if (path == null) dart.nullFailed(I[181], 2567, 64, "path"); + return this.open("post", host, port, path); + } + postUrl(url) { + if (url == null) dart.nullFailed(I[181], 2570, 41, "url"); + return this[_openUrl]("post", url); + } + put(host, port, path) { + if (host == null) dart.nullFailed(I[181], 2572, 40, "host"); + if (port == null) dart.nullFailed(I[181], 2572, 50, "port"); + if (path == null) dart.nullFailed(I[181], 2572, 63, "path"); + return this.open("put", host, port, path); + } + putUrl(url) { + if (url == null) dart.nullFailed(I[181], 2575, 40, "url"); + return this[_openUrl]("put", url); + } + delete(host, port, path) { + if (host == null) dart.nullFailed(I[181], 2577, 43, "host"); + if (port == null) dart.nullFailed(I[181], 2577, 53, "port"); + if (path == null) dart.nullFailed(I[181], 2577, 66, "path"); + return this.open("delete", host, port, path); + } + deleteUrl(url) { + if (url == null) dart.nullFailed(I[181], 2580, 43, "url"); + return this[_openUrl]("delete", url); + } + head(host, port, path) { + if (host == null) dart.nullFailed(I[181], 2582, 41, "host"); + if (port == null) dart.nullFailed(I[181], 2582, 51, "port"); + if (path == null) dart.nullFailed(I[181], 2582, 64, "path"); + return this.open("head", host, port, path); + } + headUrl(url) { + if (url == null) dart.nullFailed(I[181], 2585, 41, "url"); + return this[_openUrl]("head", url); + } + patch(host, port, path) { + if (host == null) dart.nullFailed(I[181], 2587, 42, "host"); + if (port == null) dart.nullFailed(I[181], 2587, 52, "port"); + if (path == null) dart.nullFailed(I[181], 2587, 65, "path"); + return this.open("patch", host, port, path); + } + patchUrl(url) { + if (url == null) dart.nullFailed(I[181], 2590, 42, "url"); + return this[_openUrl]("patch", url); + } + close(opts) { + let force = opts && 'force' in opts ? opts.force : false; + if (force == null) dart.nullFailed(I[181], 2592, 20, "force"); + this[_closing] = true; + this[_closingForcefully] = force; + this[_closeConnections](this[_closingForcefully]); + if (!!dart.test(this[_connectionTargets][$values][$any](dart.fn(s => { + if (s == null) dart.nullFailed(I[181], 2596, 44, "s"); + return s.hasIdle; + }, T._ConnectionTargetTobool())))) dart.assertFailed(null, I[181], 2596, 12, "!_connectionTargets.values.any((s) => s.hasIdle)"); + if (!(!dart.test(force) || !dart.test(this[_connectionTargets][$values][$any](dart.fn(s => { + if (s == null) dart.nullFailed(I[181], 2598, 51, "s"); + return s[_active][$isNotEmpty]; + }, T._ConnectionTargetTobool()))))) dart.assertFailed(null, I[181], 2598, 9, "!force || !_connectionTargets.values.any((s) => s._active.isNotEmpty)"); + } + set authenticate(f) { + this[_authenticate] = f; + } + addCredentials(url, realm, cr) { + if (url == null) dart.nullFailed(I[181], 2605, 27, "url"); + if (realm == null) dart.nullFailed(I[181], 2605, 39, "realm"); + if (cr == null) dart.nullFailed(I[181], 2605, 68, "cr"); + this[_credentials][$add](new _http._SiteCredentials.new(url, realm, _http._HttpClientCredentials.as(cr))); + } + set authenticateProxy(f) { + this[_authenticateProxy] = f; + } + addProxyCredentials(host, port, realm, cr) { + if (host == null) dart.nullFailed(I[181], 2616, 14, "host"); + if (port == null) dart.nullFailed(I[181], 2616, 24, "port"); + if (realm == null) dart.nullFailed(I[181], 2616, 37, "realm"); + if (cr == null) dart.nullFailed(I[181], 2616, 66, "cr"); + this[_proxyCredentials][$add](new _http._ProxyCredentials.new(host, port, realm, _http._HttpClientCredentials.as(cr))); + } + set findProxy(f) { + return this[_findProxy] = f; + } + [_openUrl](method, uri) { + if (method == null) dart.nullFailed(I[181], 2623, 46, "method"); + if (uri == null) dart.nullFailed(I[181], 2623, 58, "uri"); + if (dart.test(this[_closing])) { + dart.throw(new core.StateError.new("Client is closed")); + } + uri = uri.removeFragment(); + if (method == null) { + dart.throw(new core.ArgumentError.new(method)); + } + if (method !== "CONNECT") { + if (uri.host[$isEmpty]) { + dart.throw(new core.ArgumentError.new("No host specified in URI " + dart.str(uri))); + } else if (uri.scheme !== "http" && uri.scheme !== "https") { + dart.throw(new core.ArgumentError.new("Unsupported scheme '" + dart.str(uri.scheme) + "' in URI " + dart.str(uri))); + } + } + let isSecure = uri.isScheme("https"); + if (!dart.test(isSecure) && !dart.test(io.isInsecureConnectionAllowed(uri.host))) { + dart.throw(new core.StateError.new("Insecure HTTP is not allowed by platform: " + dart.str(uri))); + } + let port = uri.port; + if (port === 0) { + port = dart.test(isSecure) ? 443 : 80; + } + let proxyConf = C[475] || CT.C475; + let findProxy = this[_findProxy]; + if (findProxy != null) { + try { + proxyConf = new _http._ProxyConfiguration.new(core.String.as(dart.dcall(findProxy, [uri]))); + } catch (e) { + let error = dart.getThrown(e); + let stackTrace = dart.stackTrace(e); + if (core.Object.is(error)) { + return T.FutureOf_HttpClientRequest().error(error, stackTrace); + } else + throw e; + } + } + let profileData = null; + if (dart.test(_http.HttpClient.enableTimelineLogging)) { + profileData = _http.HttpProfiler.startRequest(method, uri); + } + return this[_getConnection](uri.host, port, proxyConf, isSecure, profileData).then(_http._HttpClientRequest, dart.fn(info => { + if (info == null) dart.nullFailed(I[181], 2669, 32, "info"); + function send(info) { + let t297; + if (info == null) dart.nullFailed(I[181], 2670, 47, "info"); + t297 = profileData; + t297 == null ? null : t297.requestEvent("Connection established"); + return info.connection.send(uri, port, method[$toUpperCase](), info.proxy, profileData); + } + dart.fn(send, T._ConnectionInfoTo_HttpClientRequest()); + if (dart.test(info.connection.closed)) { + return this[_getConnection](uri.host, port, proxyConf, isSecure, profileData).then(_http._HttpClientRequest, send); + } + return send(info); + }, T._ConnectionInfoToFutureOrOf_HttpClientRequest()), {onError: dart.fn(error => { + let t297; + t297 = profileData; + t297 == null ? null : t297.finishRequestWithError(dart.toString(error)); + dart.throw(error); + }, T$0.dynamicToNever())}); + } + [_openUrlFromRequest](method, uri, previous) { + if (method == null) dart.nullFailed(I[181], 2690, 14, "method"); + if (uri == null) dart.nullFailed(I[181], 2690, 26, "uri"); + if (previous == null) dart.nullFailed(I[181], 2690, 50, "previous"); + let resolved = previous.uri.resolveUri(uri); + return this[_openUrl](method, resolved).then(_http._HttpClientRequest, dart.fn(request => { + let t297, t297$; + if (request == null) dart.nullFailed(I[181], 2694, 64, "request"); + t297 = request; + (() => { + t297.followRedirects = previous.followRedirects; + t297.maxRedirects = previous.maxRedirects; + return t297; + })(); + for (let header of previous.headers[_headers][$keys]) { + if (request.headers._get(header) == null) { + request.headers.set(header, dart.nullCheck(previous.headers._get(header))); + } + } + t297$ = request; + return (() => { + t297$.headers.chunkedTransferEncoding = false; + t297$.contentLength = 0; + return t297$; + })(); + }, T._HttpClientRequestTo_HttpClientRequest())); + } + [_returnConnection](connection) { + if (connection == null) dart.nullFailed(I[181], 2713, 48, "connection"); + dart.nullCheck(this[_connectionTargets][$_get](connection.key)).returnConnection(connection); + this[_connectionsChanged](); + } + [_connectionClosed](connection) { + if (connection == null) dart.nullFailed(I[181], 2719, 48, "connection"); + connection.stopTimer(); + let connectionTarget = this[_connectionTargets][$_get](connection.key); + if (connectionTarget != null) { + connectionTarget.connectionClosed(connection); + if (dart.test(connectionTarget.isEmpty)) { + this[_connectionTargets][$remove](connection.key); + } + this[_connectionsChanged](); + } + } + [_connectionClosedNoFurtherClosing](connection) { + if (connection == null) dart.nullFailed(I[181], 2734, 64, "connection"); + connection.stopTimer(); + let connectionTarget = this[_connectionTargets][$_get](connection.key); + if (connectionTarget != null) { + connectionTarget.connectionClosed(connection); + if (dart.test(connectionTarget.isEmpty)) { + this[_connectionTargets][$remove](connection.key); + } + } + } + [_connectionsChanged]() { + if (dart.test(this[_closing])) { + this[_closeConnections](this[_closingForcefully]); + } + } + [_closeConnections](force) { + if (force == null) dart.nullFailed(I[181], 2751, 31, "force"); + for (let connectionTarget of this[_connectionTargets][$values][$toList]()) { + connectionTarget.close(force); + } + } + [_getConnectionTarget](host, port, isSecure) { + if (host == null) dart.nullFailed(I[181], 2757, 49, "host"); + if (port == null) dart.nullFailed(I[181], 2757, 59, "port"); + if (isSecure == null) dart.nullFailed(I[181], 2757, 70, "isSecure"); + let key = core.String.as(_http._HttpClientConnection.makeKey(isSecure, host, port)); + return this[_connectionTargets][$putIfAbsent](key, dart.fn(() => new _http._ConnectionTarget.new(key, host, port, isSecure, this[_context$0]), T.VoidTo_ConnectionTarget())); + } + [_getConnection](uriHost, uriPort, proxyConf, isSecure, profileData) { + if (uriHost == null) dart.nullFailed(I[181], 2766, 14, "uriHost"); + if (uriPort == null) dart.nullFailed(I[181], 2767, 11, "uriPort"); + if (proxyConf == null) dart.nullFailed(I[181], 2768, 27, "proxyConf"); + if (isSecure == null) dart.nullFailed(I[181], 2769, 12, "isSecure"); + let proxies = proxyConf.proxies[$iterator]; + const connect = error => { + if (!dart.test(proxies.moveNext())) return T.FutureOf_ConnectionInfo().error(core.Object.as(error)); + let proxy = proxies.current; + let host = dart.test(proxy.isDirect) ? uriHost : dart.nullCheck(proxy.host); + let port = dart.test(proxy.isDirect) ? uriPort : dart.nullCheck(proxy.port); + return this[_getConnectionTarget](host, port, isSecure).connect(uriHost, uriPort, proxy, this, profileData).catchError(connect); + }; + dart.fn(connect, T.dynamicToFutureOf_ConnectionInfo()); + return connect(new _http.HttpException.new("No proxies given")); + } + [_findCredentials](url, scheme = null) { + if (url == null) dart.nullFailed(I[181], 2787, 42, "url"); + let cr = this[_credentials][$fold](T._SiteCredentialsN(), null, dart.fn((prev, value) => { + if (value == null) dart.nullFailed(I[181], 2790, 58, "value"); + let siteCredentials = _http._SiteCredentials.as(value); + if (dart.test(siteCredentials.applies(url, scheme))) { + if (prev == null) return value; + return siteCredentials.uri.path.length > prev.uri.path.length ? siteCredentials : prev; + } else { + return prev; + } + }, T._SiteCredentialsNAnd_CredentialsTo_SiteCredentialsN())); + return cr; + } + [_findProxyCredentials](proxy, scheme = null) { + if (proxy == null) dart.nullFailed(I[181], 2804, 51, "proxy"); + for (let current of this[_proxyCredentials]) { + if (dart.test(current.applies(proxy, scheme))) { + return current; + } + } + return null; + } + [_removeCredentials](cr) { + if (cr == null) dart.nullFailed(I[181], 2815, 40, "cr"); + let index = this[_credentials][$indexOf](cr); + if (index !== -1) { + this[_credentials][$removeAt](index); + } + } + [_removeProxyCredentials](cr) { + if (cr == null) dart.nullFailed(I[181], 2822, 45, "cr"); + this[_proxyCredentials][$remove](cr); + } + static _findProxyFromEnvironment(url, environment) { + let t297, t297$, t297$0; + if (url == null) dart.nullFailed(I[181], 2827, 11, "url"); + function checkNoProxy(option) { + if (option == null) return null; + let names = option[$split](",")[$map](core.String, dart.fn(s => { + if (s == null) dart.nullFailed(I[181], 2830, 55, "s"); + return s[$trim](); + }, T$.StringToString()))[$iterator]; + while (dart.test(names.moveNext())) { + let name = names.current; + if (name[$startsWith]("[") && name[$endsWith]("]") && "[" + dart.str(url.host) + "]" === name || name[$isNotEmpty] && url.host[$endsWith](name)) { + return "DIRECT"; + } + } + return null; + } + dart.fn(checkNoProxy, T.StringNToStringN()); + function checkProxy(option) { + if (option == null) return null; + option = option[$trim](); + if (option[$isEmpty]) return null; + let pos = option[$indexOf]("://"); + if (pos >= 0) { + option = option[$substring](pos + 3); + } + pos = option[$indexOf]("/"); + if (pos >= 0) { + option = option[$substring](0, pos); + } + if (option[$indexOf]("[") === 0) { + let pos = option[$lastIndexOf](":"); + if (option[$indexOf]("]") > pos) option = dart.str(option) + ":1080"; + } else { + if (option[$indexOf](":") === -1) option = dart.str(option) + ":1080"; + } + return "PROXY " + dart.str(option); + } + dart.fn(checkProxy, T.StringNToStringN()); + if (environment == null) environment = _http._HttpClient._platformEnvironmentCache; + let proxyCfg = null; + let noProxy = (t297 = environment[$_get]("no_proxy"), t297 == null ? environment[$_get]("NO_PROXY") : t297); + proxyCfg = checkNoProxy(noProxy); + if (proxyCfg != null) { + return proxyCfg; + } + if (url.scheme === "http") { + let proxy = (t297$ = environment[$_get]("http_proxy"), t297$ == null ? environment[$_get]("HTTP_PROXY") : t297$); + proxyCfg = checkProxy(proxy); + if (proxyCfg != null) { + return proxyCfg; + } + } else if (url.scheme === "https") { + let proxy = (t297$0 = environment[$_get]("https_proxy"), t297$0 == null ? environment[$_get]("HTTPS_PROXY") : t297$0); + proxyCfg = checkProxy(proxy); + if (proxyCfg != null) { + return proxyCfg; + } + } + return "DIRECT"; + } + }; + (_http._HttpClient.new = function(_context) { + this[_closing] = false; + this[_closingForcefully] = false; + this[_connectionTargets] = new (T.IdentityMapOfString$_ConnectionTarget()).new(); + this[_credentials] = T.JSArrayOf_Credentials().of([]); + this[_proxyCredentials] = T.JSArrayOf_ProxyCredentials().of([]); + this[_authenticate] = null; + this[_authenticateProxy] = null; + this[_findProxy] = C[474] || CT.C474; + this[_idleTimeout] = C[453] || CT.C453; + this[_badCertificateCallback] = null; + this.connectionTimeout = null; + this.maxConnectionsPerHost = null; + this.autoUncompress = true; + this.userAgent = _http._getHttpVersion(); + this[_context$0] = _context; + ; + }).prototype = _http._HttpClient.prototype; + dart.addTypeTests(_http._HttpClient); + dart.addTypeCaches(_http._HttpClient); + _http._HttpClient[dart.implements] = () => [_http.HttpClient]; + dart.setMethodSignature(_http._HttpClient, () => ({ + __proto__: dart.getMethods(_http._HttpClient.__proto__), + open: dart.fnType(async.Future$(_http.HttpClientRequest), [core.String, core.String, core.int, core.String]), + openUrl: dart.fnType(async.Future$(_http.HttpClientRequest), [core.String, core.Uri]), + get: dart.fnType(async.Future$(_http.HttpClientRequest), [core.String, core.int, core.String]), + getUrl: dart.fnType(async.Future$(_http.HttpClientRequest), [core.Uri]), + post: dart.fnType(async.Future$(_http.HttpClientRequest), [core.String, core.int, core.String]), + postUrl: dart.fnType(async.Future$(_http.HttpClientRequest), [core.Uri]), + put: dart.fnType(async.Future$(_http.HttpClientRequest), [core.String, core.int, core.String]), + putUrl: dart.fnType(async.Future$(_http.HttpClientRequest), [core.Uri]), + delete: dart.fnType(async.Future$(_http.HttpClientRequest), [core.String, core.int, core.String]), + deleteUrl: dart.fnType(async.Future$(_http.HttpClientRequest), [core.Uri]), + head: dart.fnType(async.Future$(_http.HttpClientRequest), [core.String, core.int, core.String]), + headUrl: dart.fnType(async.Future$(_http.HttpClientRequest), [core.Uri]), + patch: dart.fnType(async.Future$(_http.HttpClientRequest), [core.String, core.int, core.String]), + patchUrl: dart.fnType(async.Future$(_http.HttpClientRequest), [core.Uri]), + close: dart.fnType(dart.void, [], {force: core.bool}, {}), + addCredentials: dart.fnType(dart.void, [core.Uri, core.String, _http.HttpClientCredentials]), + addProxyCredentials: dart.fnType(dart.void, [core.String, core.int, core.String, _http.HttpClientCredentials]), + [_openUrl]: dart.fnType(async.Future$(_http._HttpClientRequest), [core.String, core.Uri]), + [_openUrlFromRequest]: dart.fnType(async.Future$(_http._HttpClientRequest), [core.String, core.Uri, _http._HttpClientRequest]), + [_returnConnection]: dart.fnType(dart.void, [_http._HttpClientConnection]), + [_connectionClosed]: dart.fnType(dart.void, [_http._HttpClientConnection]), + [_connectionClosedNoFurtherClosing]: dart.fnType(dart.void, [_http._HttpClientConnection]), + [_connectionsChanged]: dart.fnType(dart.void, []), + [_closeConnections]: dart.fnType(dart.void, [core.bool]), + [_getConnectionTarget]: dart.fnType(_http._ConnectionTarget, [core.String, core.int, core.bool]), + [_getConnection]: dart.fnType(async.Future$(_http._ConnectionInfo), [core.String, core.int, _http._ProxyConfiguration, core.bool, dart.nullable(_http._HttpProfileData)]), + [_findCredentials]: dart.fnType(dart.nullable(_http._SiteCredentials), [core.Uri], [dart.nullable(_http._AuthenticationScheme)]), + [_findProxyCredentials]: dart.fnType(dart.nullable(_http._ProxyCredentials), [_http._Proxy], [dart.nullable(_http._AuthenticationScheme)]), + [_removeCredentials]: dart.fnType(dart.void, [_http._Credentials]), + [_removeProxyCredentials]: dart.fnType(dart.void, [_http._Credentials]) + })); + dart.setGetterSignature(_http._HttpClient, () => ({ + __proto__: dart.getGetters(_http._HttpClient.__proto__), + idleTimeout: core.Duration + })); + dart.setSetterSignature(_http._HttpClient, () => ({ + __proto__: dart.getSetters(_http._HttpClient.__proto__), + idleTimeout: core.Duration, + badCertificateCallback: dart.nullable(dart.fnType(core.bool, [io.X509Certificate, core.String, core.int])), + authenticate: dart.nullable(dart.fnType(async.Future$(core.bool), [core.Uri, core.String, core.String])), + authenticateProxy: dart.nullable(dart.fnType(async.Future$(core.bool), [core.String, core.int, core.String, core.String])), + findProxy: dart.nullable(dart.fnType(core.String, [core.Uri])) + })); + dart.setLibraryUri(_http._HttpClient, I[177]); + dart.setFieldSignature(_http._HttpClient, () => ({ + __proto__: dart.getFields(_http._HttpClient.__proto__), + [_closing]: dart.fieldType(core.bool), + [_closingForcefully]: dart.fieldType(core.bool), + [_connectionTargets]: dart.finalFieldType(core.Map$(core.String, _http._ConnectionTarget)), + [_credentials]: dart.finalFieldType(core.List$(_http._Credentials)), + [_proxyCredentials]: dart.finalFieldType(core.List$(_http._ProxyCredentials)), + [_context$0]: dart.finalFieldType(dart.nullable(io.SecurityContext)), + [_authenticate]: dart.fieldType(dart.nullable(core.Function)), + [_authenticateProxy]: dart.fieldType(dart.nullable(core.Function)), + [_findProxy]: dart.fieldType(dart.nullable(core.Function)), + [_idleTimeout]: dart.fieldType(core.Duration), + [_badCertificateCallback]: dart.fieldType(dart.nullable(dart.fnType(core.bool, [io.X509Certificate, core.String, core.int]))), + connectionTimeout: dart.fieldType(dart.nullable(core.Duration)), + maxConnectionsPerHost: dart.fieldType(dart.nullable(core.int)), + autoUncompress: dart.fieldType(core.bool), + userAgent: dart.fieldType(dart.nullable(core.String)) + })); + dart.defineLazy(_http._HttpClient, { + /*_http._HttpClient._platformEnvironmentCache*/get _platformEnvironmentCache() { + return io.Platform.environment; + }, + set _platformEnvironmentCache(_) {} + }, false); + var _state$1 = dart.privateName(_http, "_state"); + var _idleMark = dart.privateName(_http, "_idleMark"); + var _markActive = dart.privateName(_http, "_markActive"); + var _markIdle = dart.privateName(_http, "_markIdle"); + var _handleRequest = dart.privateName(_http, "_handleRequest"); + var _isActive = dart.privateName(_http, "_isActive"); + var _isIdle = dart.privateName(_http, "_isIdle"); + var _isDetached = dart.privateName(_http, "_isDetached"); + var _toJSON$ = dart.privateName(_http, "_toJSON"); + const LinkedListEntry__ServiceObject$36 = class LinkedListEntry__ServiceObject extends collection.LinkedListEntry {}; + (LinkedListEntry__ServiceObject$36.new = function() { + _http._ServiceObject.new.call(this); + LinkedListEntry__ServiceObject$36.__proto__.new.call(this); + }).prototype = LinkedListEntry__ServiceObject$36.prototype; + dart.applyMixin(LinkedListEntry__ServiceObject$36, _http._ServiceObject); + _http._HttpConnection = class _HttpConnection extends LinkedListEntry__ServiceObject$36 { + markIdle() { + this[_idleMark] = true; + } + get isMarkedIdle() { + return this[_idleMark]; + } + destroy() { + if (this[_state$1] === 2 || this[_state$1] === 3) return; + this[_state$1] = 2; + dart.dsend(this[_socket$0], 'destroy', []); + this[_httpServer$][_connectionClosed](this); + _http._HttpConnection._connections[$remove](this[_serviceId$]); + } + detachSocket() { + this[_state$1] = 3; + this[_httpServer$][_connectionClosed](this); + let detachedIncoming = this[_httpParser].detachIncoming(); + return dart.nullCheck(this[_streamFuture]).then(io.Socket, dart.fn(_ => { + _http._HttpConnection._connections[$remove](this[_serviceId$]); + return new _http._DetachedSocket.new(io.Socket.as(this[_socket$0]), detachedIncoming); + }, T.dynamicTo_DetachedSocket())); + } + get connectionInfo() { + return _http._HttpConnectionInfo.create(io.Socket.as(this[_socket$0])); + } + get [_isActive]() { + return this[_state$1] === 0; + } + get [_isIdle]() { + return this[_state$1] === 1; + } + get [_isClosing]() { + return this[_state$1] === 2; + } + get [_isDetached]() { + return this[_state$1] === 3; + } + get [_serviceTypePath$]() { + return "io/http/serverconnections"; + } + get [_serviceTypeName$]() { + return "HttpServerConnection"; + } + [_toJSON$](ref) { + if (ref == null) dart.nullFailed(I[181], 3010, 20, "ref"); + let name = dart.str(dart.dload(dart.dload(this[_socket$0], 'address'), 'host')) + ":" + dart.str(dart.dload(this[_socket$0], 'port')) + " <-> " + dart.str(dart.dload(dart.dload(this[_socket$0], 'remoteAddress'), 'host')) + ":" + dart.str(dart.dload(this[_socket$0], 'remotePort')); + let r = new (T$0.IdentityMapOfString$dynamic()).from(["id", this[_servicePath$], "type", this[_serviceType$](ref), "name", name, "user_name", name]); + if (dart.test(ref)) { + return r; + } + r[$_set]("server", this[_httpServer$][_toJSON$](true)); + try { + r[$_set]("socket", dart.dsend(this[_socket$0], _toJSON$, [true])); + } catch (e) { + let _ = dart.getThrown(e); + if (core.Object.is(_)) { + r[$_set]("socket", new (T$.IdentityMapOfString$String()).from(["id", this[_servicePath$], "type", "@Socket", "name", "UserSocket", "user_name", "UserSocket"])); + } else + throw e; + } + switch (this[_state$1]) { + case 0: + { + r[$_set]("state", "Active"); + break; + } + case 1: + { + r[$_set]("state", "Idle"); + break; + } + case 2: + { + r[$_set]("state", "Closing"); + break; + } + case 3: + { + r[$_set]("state", "Detached"); + break; + } + default: + { + r[$_set]("state", "Unknown"); + break; + } + } + return r; + } + }; + (_http._HttpConnection.new = function(_socket, _httpServer) { + if (_httpServer == null) dart.nullFailed(I[181], 2914, 38, "_httpServer"); + this[_state$1] = 1; + this[_subscription$0] = null; + this[_idleMark] = false; + this[_streamFuture] = null; + this[_socket$0] = _socket; + this[_httpServer$] = _httpServer; + this[_httpParser] = _http._HttpParser.requestParser(); + _http._HttpConnection.__proto__.new.call(this); + _http._HttpConnection._connections[$_set](this[_serviceId$], this); + this[_httpParser].listenToStream(T.StreamOfUint8List().as(this[_socket$0])); + this[_subscription$0] = this[_httpParser].listen(dart.fn(incoming => { + if (incoming == null) dart.nullFailed(I[181], 2918, 41, "incoming"); + this[_httpServer$][_markActive](this); + incoming.dataDone.then(core.Null, dart.fn(closing => { + if (dart.dtest(closing)) this.destroy(); + }, T$.dynamicToNull())); + dart.nullCheck(this[_subscription$0]).pause(); + this[_state$1] = 0; + let outgoing = new _http._HttpOutgoing.new(io.Socket.as(this[_socket$0])); + let response = new _http._HttpResponse.new(dart.nullCheck(incoming.uri), incoming.headers.protocolVersion, outgoing, this[_httpServer$].defaultResponseHeaders, this[_httpServer$].serverHeader); + if (incoming.statusCode === 400) { + response.statusCode = 400; + } + let request = new _http._HttpRequest.new(response, incoming, this[_httpServer$], this); + this[_streamFuture] = outgoing.done.then(dart.dynamic, dart.fn(_ => { + if (_ == null) dart.nullFailed(I[181], 2940, 43, "_"); + response.deadline = null; + if (this[_state$1] === 3) return; + if (dart.test(response.persistentConnection) && dart.test(request.persistentConnection) && dart.test(incoming.fullBodyRead) && !dart.test(this[_httpParser].upgrade) && !dart.test(this[_httpServer$].closed)) { + this[_state$1] = 1; + this[_idleMark] = false; + this[_httpServer$][_markIdle](this); + dart.nullCheck(this[_subscription$0]).resume(); + } else { + this.destroy(); + } + }, T.SocketToNull()), {onError: dart.fn(_ => { + this.destroy(); + }, T$.dynamicToNull())}); + outgoing.ignoreBody = request.method === "HEAD"; + response[_httpRequest$] = request; + this[_httpServer$][_handleRequest](request); + }, T._HttpIncomingTovoid()), {onDone: dart.fn(() => { + this.destroy(); + }, T$.VoidTovoid()), onError: dart.fn(error => { + this.destroy(); + }, T$.dynamicToNull())}); + }).prototype = _http._HttpConnection.prototype; + dart.addTypeTests(_http._HttpConnection); + dart.addTypeCaches(_http._HttpConnection); + dart.setMethodSignature(_http._HttpConnection, () => ({ + __proto__: dart.getMethods(_http._HttpConnection.__proto__), + markIdle: dart.fnType(dart.void, []), + destroy: dart.fnType(dart.void, []), + detachSocket: dart.fnType(async.Future$(io.Socket), []), + [_toJSON$]: dart.fnType(core.Map, [core.bool]) + })); + dart.setGetterSignature(_http._HttpConnection, () => ({ + __proto__: dart.getGetters(_http._HttpConnection.__proto__), + isMarkedIdle: core.bool, + connectionInfo: dart.nullable(_http.HttpConnectionInfo), + [_isActive]: core.bool, + [_isIdle]: core.bool, + [_isClosing]: core.bool, + [_isDetached]: core.bool, + [_serviceTypePath$]: core.String, + [_serviceTypeName$]: core.String + })); + dart.setLibraryUri(_http._HttpConnection, I[177]); + dart.setFieldSignature(_http._HttpConnection, () => ({ + __proto__: dart.getFields(_http._HttpConnection.__proto__), + [_socket$0]: dart.finalFieldType(dart.dynamic), + [_httpServer$]: dart.finalFieldType(_http._HttpServer), + [_httpParser]: dart.finalFieldType(_http._HttpParser), + [_state$1]: dart.fieldType(core.int), + [_subscription$0]: dart.fieldType(dart.nullable(async.StreamSubscription)), + [_idleMark]: dart.fieldType(core.bool), + [_streamFuture]: dart.fieldType(dart.nullable(async.Future)) + })); + dart.defineLazy(_http._HttpConnection, { + /*_http._HttpConnection._ACTIVE*/get _ACTIVE() { + return 0; + }, + /*_http._HttpConnection._IDLE*/get _IDLE() { + return 1; + }, + /*_http._HttpConnection._CLOSING*/get _CLOSING() { + return 2; + }, + /*_http._HttpConnection._DETACHED*/get _DETACHED() { + return 3; + }, + /*_http._HttpConnection._connections*/get _connections() { + return new (T.IdentityMapOfint$_HttpConnection()).new(); + }, + set _connections(_) {} + }, false); + var _activeConnections = dart.privateName(_http, "_activeConnections"); + var _idleConnections = dart.privateName(_http, "_idleConnections"); + var _serverSocket$ = dart.privateName(_http, "_serverSocket"); + var _closeServer$ = dart.privateName(_http, "_closeServer"); + var _maybePerformCleanup$ = dart.privateName(_http, "_maybePerformCleanup"); + const Stream__ServiceObject$36 = class Stream__ServiceObject extends async.Stream$(_http.HttpRequest) {}; + (Stream__ServiceObject$36.new = function() { + _http._ServiceObject.new.call(this); + Stream__ServiceObject$36.__proto__.new.call(this); + }).prototype = Stream__ServiceObject$36.prototype; + (Stream__ServiceObject$36._internal = function() { + _http._ServiceObject.new.call(this); + Stream__ServiceObject$36.__proto__._internal.call(this); + }).prototype = Stream__ServiceObject$36.prototype; + dart.applyMixin(Stream__ServiceObject$36, _http._ServiceObject); + _http._HttpServer = class _HttpServer extends Stream__ServiceObject$36 { + static bind(address, port, backlog, v6Only, shared) { + if (port == null) dart.nullFailed(I[181], 3069, 20, "port"); + if (backlog == null) dart.nullFailed(I[181], 3069, 30, "backlog"); + if (v6Only == null) dart.nullFailed(I[181], 3069, 44, "v6Only"); + if (shared == null) dart.nullFailed(I[181], 3069, 57, "shared"); + return io.ServerSocket.bind(address, port, {backlog: backlog, v6Only: v6Only, shared: shared}).then(_http.HttpServer, dart.fn(socket => { + if (socket == null) dart.nullFailed(I[181], 3072, 28, "socket"); + return new _http._HttpServer.__(socket, true); + }, T.ServerSocketTo_HttpServer())); + } + static bindSecure(address, port, context, backlog, v6Only, requestClientCertificate, shared) { + if (port == null) dart.nullFailed(I[181], 3079, 11, "port"); + if (backlog == null) dart.nullFailed(I[181], 3081, 11, "backlog"); + if (v6Only == null) dart.nullFailed(I[181], 3082, 12, "v6Only"); + if (requestClientCertificate == null) dart.nullFailed(I[181], 3083, 12, "requestClientCertificate"); + if (shared == null) dart.nullFailed(I[181], 3084, 12, "shared"); + return io.SecureServerSocket.bind(address, port, context, {backlog: backlog, v6Only: v6Only, requestClientCertificate: requestClientCertificate, shared: shared}).then(_http.HttpServer, dart.fn(socket => { + if (socket == null) dart.nullFailed(I[181], 3090, 28, "socket"); + return new _http._HttpServer.__(socket, true); + }, T.SecureServerSocketTo_HttpServer())); + } + static _initDefaultResponseHeaders() { + let defaultResponseHeaders = new _http._HttpHeaders.new("1.1"); + defaultResponseHeaders.contentType = _http.ContentType.text; + defaultResponseHeaders.set("X-Frame-Options", "SAMEORIGIN"); + defaultResponseHeaders.set("X-Content-Type-Options", "nosniff"); + defaultResponseHeaders.set("X-XSS-Protection", "1; mode=block"); + return defaultResponseHeaders; + } + get idleTimeout() { + return this[_idleTimeout]; + } + set idleTimeout(duration) { + let idleTimer = this[_idleTimer]; + if (idleTimer != null) { + idleTimer.cancel(); + this[_idleTimer] = null; + } + this[_idleTimeout] = duration; + if (duration != null) { + this[_idleTimer] = async.Timer.periodic(duration, dart.fn(_ => { + if (_ == null) dart.nullFailed(I[181], 3129, 50, "_"); + for (let idle of this[_idleConnections][$toList]()) { + if (dart.test(idle.isMarkedIdle)) { + idle.destroy(); + } else { + idle.markIdle(); + } + } + }, T$.TimerTovoid())); + } + } + listen(onData, opts) { + let onError = opts && 'onError' in opts ? opts.onError : null; + let onDone = opts && 'onDone' in opts ? opts.onDone : null; + let cancelOnError = opts && 'cancelOnError' in opts ? opts.cancelOnError : null; + dart.dsend(this[_serverSocket$], 'listen', [dart.fn(socket => { + if (socket == null) dart.nullFailed(I[181], 3143, 34, "socket"); + socket.setOption(io.SocketOption.tcpNoDelay, true); + let connection = new _http._HttpConnection.new(socket, this); + this[_idleConnections].add(connection); + }, T.SocketToNull())], {onError: dart.fn((error, stackTrace) => { + if (!io.HandshakeException.is(error)) { + this[_controller$0].addError(core.Object.as(error), T$.StackTraceN().as(stackTrace)); + } + }, T$.dynamicAnddynamicToNull()), onDone: dart.bind(this[_controller$0], 'close')}); + return this[_controller$0].stream.listen(onData, {onError: onError, onDone: onDone, cancelOnError: cancelOnError}); + } + close(opts) { + let force = opts && 'force' in opts ? opts.force : false; + if (force == null) dart.nullFailed(I[181], 3159, 22, "force"); + this.closed = true; + let result = null; + if (this[_serverSocket$] != null && dart.test(this[_closeServer$])) { + result = async.Future.as(dart.dsend(this[_serverSocket$], 'close', [])); + } else { + result = async.Future.value(); + } + this.idleTimeout = null; + if (dart.test(force)) { + for (let c of this[_activeConnections][$toList]()) { + c.destroy(); + } + if (!dart.test(this[_activeConnections].isEmpty)) dart.assertFailed(null, I[181], 3172, 14, "_activeConnections.isEmpty"); + } + for (let c of this[_idleConnections][$toList]()) { + c.destroy(); + } + this[_maybePerformCleanup$](); + return result; + } + [_maybePerformCleanup$]() { + let sessionManager = this[_sessionManagerInstance]; + if (dart.test(this.closed) && dart.test(this[_idleConnections].isEmpty) && dart.test(this[_activeConnections].isEmpty) && sessionManager != null) { + sessionManager.close(); + this[_sessionManagerInstance] = null; + _http._HttpServer._servers[$remove](this[_serviceId$]); + } + } + get port() { + if (dart.test(this.closed)) dart.throw(new _http.HttpException.new("HttpServer is not bound to a socket")); + return core.int.as(dart.dload(this[_serverSocket$], 'port')); + } + get address() { + if (dart.test(this.closed)) dart.throw(new _http.HttpException.new("HttpServer is not bound to a socket")); + return io.InternetAddress.as(dart.dload(this[_serverSocket$], 'address')); + } + set sessionTimeout(timeout) { + if (timeout == null) dart.nullFailed(I[181], 3203, 26, "timeout"); + this[_sessionManager$].sessionTimeout = timeout; + } + [_handleRequest](request) { + if (request == null) dart.nullFailed(I[181], 3207, 36, "request"); + if (!dart.test(this.closed)) { + this[_controller$0].add(request); + } else { + request[_httpConnection$].destroy(); + } + } + [_connectionClosed](connection) { + if (connection == null) dart.nullFailed(I[181], 3215, 42, "connection"); + connection.unlink(); + this[_maybePerformCleanup$](); + } + [_markIdle](connection) { + if (connection == null) dart.nullFailed(I[181], 3221, 34, "connection"); + this[_activeConnections].remove(connection); + this[_idleConnections].add(connection); + } + [_markActive](connection) { + if (connection == null) dart.nullFailed(I[181], 3226, 36, "connection"); + this[_idleConnections].remove(connection); + this[_activeConnections].add(connection); + } + get [_sessionManager$]() { + let t298; + t298 = this[_sessionManagerInstance]; + return t298 == null ? this[_sessionManagerInstance] = new _http._HttpSessionManager.new() : t298; + } + connectionsInfo() { + let result = new _http.HttpConnectionsInfo.new(); + result.total = dart.notNull(this[_activeConnections].length) + dart.notNull(this[_idleConnections].length); + this[_activeConnections].forEach(dart.fn(conn => { + let t298, t298$; + if (conn == null) dart.nullFailed(I[181], 3238, 49, "conn"); + if (dart.test(conn[_isActive])) { + t298 = result; + t298.active = dart.notNull(t298.active) + 1; + } else { + if (!dart.test(conn[_isClosing])) dart.assertFailed(null, I[181], 3242, 16, "conn._isClosing"); + t298$ = result; + t298$.closing = dart.notNull(t298$.closing) + 1; + } + }, T._HttpConnectionTovoid())); + this[_idleConnections].forEach(dart.fn(conn => { + let t298; + if (conn == null) dart.nullFailed(I[181], 3246, 47, "conn"); + t298 = result; + t298.idle = dart.notNull(t298.idle) + 1; + if (!dart.test(conn[_isIdle])) dart.assertFailed(null, I[181], 3248, 14, "conn._isIdle"); + }, T._HttpConnectionTovoid())); + return result; + } + get [_serviceTypePath$]() { + return "io/http/servers"; + } + get [_serviceTypeName$]() { + return "HttpServer"; + } + [_toJSON$](ref) { + if (ref == null) dart.nullFailed(I[181], 3256, 37, "ref"); + let r = new (T$0.IdentityMapOfString$dynamic()).from(["id", this[_servicePath$], "type", this[_serviceType$](ref), "name", dart.str(this.address.host) + ":" + dart.str(this.port), "user_name", dart.str(this.address.host) + ":" + dart.str(this.port)]); + if (dart.test(ref)) { + return r; + } + try { + r[$_set]("socket", dart.dsend(this[_serverSocket$], _toJSON$, [true])); + } catch (e) { + let _ = dart.getThrown(e); + if (core.Object.is(_)) { + r[$_set]("socket", new (T$.IdentityMapOfString$String()).from(["id", this[_servicePath$], "type", "@Socket", "name", "UserSocket", "user_name", "UserSocket"])); + } else + throw e; + } + r[$_set]("port", this.port); + r[$_set]("address", this.address.host); + r[$_set]("active", this[_activeConnections][$map](core.Map, dart.fn(c => { + if (c == null) dart.nullFailed(I[181], 3278, 43, "c"); + return c[_toJSON$](true); + }, T._HttpConnectionToMap()))[$toList]()); + r[$_set]("idle", this[_idleConnections][$map](core.Map, dart.fn(c => { + if (c == null) dart.nullFailed(I[181], 3279, 39, "c"); + return c[_toJSON$](true); + }, T._HttpConnectionToMap()))[$toList]()); + r[$_set]("closed", this.closed); + return r; + } + }; + (_http._HttpServer.__ = function(_serverSocket, _closeServer) { + if (_closeServer == null) dart.nullFailed(I[181], 3095, 42, "_closeServer"); + this.serverHeader = null; + this.defaultResponseHeaders = _http._HttpServer._initDefaultResponseHeaders(); + this.autoCompress = false; + this[_idleTimeout] = null; + this[_idleTimer] = null; + this[_sessionManagerInstance] = null; + this.closed = false; + this[_activeConnections] = new (T.LinkedListOf_HttpConnection()).new(); + this[_idleConnections] = new (T.LinkedListOf_HttpConnection()).new(); + this[_serverSocket$] = _serverSocket; + this[_closeServer$] = _closeServer; + this[_controller$0] = T.StreamControllerOfHttpRequest().new({sync: true}); + _http._HttpServer.__proto__.new.call(this); + this[_controller$0].onCancel = dart.bind(this, 'close'); + this.idleTimeout = C[447] || CT.C447; + _http._HttpServer._servers[$_set](this[_serviceId$], this); + }).prototype = _http._HttpServer.prototype; + (_http._HttpServer.listenOn = function(_serverSocket) { + this.serverHeader = null; + this.defaultResponseHeaders = _http._HttpServer._initDefaultResponseHeaders(); + this.autoCompress = false; + this[_idleTimeout] = null; + this[_idleTimer] = null; + this[_sessionManagerInstance] = null; + this.closed = false; + this[_activeConnections] = new (T.LinkedListOf_HttpConnection()).new(); + this[_idleConnections] = new (T.LinkedListOf_HttpConnection()).new(); + this[_serverSocket$] = _serverSocket; + this[_closeServer$] = false; + this[_controller$0] = T.StreamControllerOfHttpRequest().new({sync: true}); + _http._HttpServer.__proto__.new.call(this); + this[_controller$0].onCancel = dart.bind(this, 'close'); + this.idleTimeout = C[447] || CT.C447; + _http._HttpServer._servers[$_set](this[_serviceId$], this); + }).prototype = _http._HttpServer.prototype; + dart.addTypeTests(_http._HttpServer); + dart.addTypeCaches(_http._HttpServer); + _http._HttpServer[dart.implements] = () => [_http.HttpServer]; + dart.setMethodSignature(_http._HttpServer, () => ({ + __proto__: dart.getMethods(_http._HttpServer.__proto__), + listen: dart.fnType(async.StreamSubscription$(_http.HttpRequest), [dart.nullable(dart.fnType(dart.void, [_http.HttpRequest]))], {cancelOnError: dart.nullable(core.bool), onDone: dart.nullable(dart.fnType(dart.void, [])), onError: dart.nullable(core.Function)}, {}), + close: dart.fnType(async.Future, [], {force: core.bool}, {}), + [_maybePerformCleanup$]: dart.fnType(dart.void, []), + [_handleRequest]: dart.fnType(dart.void, [_http._HttpRequest]), + [_connectionClosed]: dart.fnType(dart.void, [_http._HttpConnection]), + [_markIdle]: dart.fnType(dart.void, [_http._HttpConnection]), + [_markActive]: dart.fnType(dart.void, [_http._HttpConnection]), + connectionsInfo: dart.fnType(_http.HttpConnectionsInfo, []), + [_toJSON$]: dart.fnType(core.Map$(core.String, dart.dynamic), [core.bool]) + })); + dart.setGetterSignature(_http._HttpServer, () => ({ + __proto__: dart.getGetters(_http._HttpServer.__proto__), + idleTimeout: dart.nullable(core.Duration), + port: core.int, + address: io.InternetAddress, + [_sessionManager$]: _http._HttpSessionManager, + [_serviceTypePath$]: core.String, + [_serviceTypeName$]: core.String + })); + dart.setSetterSignature(_http._HttpServer, () => ({ + __proto__: dart.getSetters(_http._HttpServer.__proto__), + idleTimeout: dart.nullable(core.Duration), + sessionTimeout: core.int + })); + dart.setLibraryUri(_http._HttpServer, I[177]); + dart.setFieldSignature(_http._HttpServer, () => ({ + __proto__: dart.getFields(_http._HttpServer.__proto__), + serverHeader: dart.fieldType(dart.nullable(core.String)), + defaultResponseHeaders: dart.finalFieldType(_http.HttpHeaders), + autoCompress: dart.fieldType(core.bool), + [_idleTimeout]: dart.fieldType(dart.nullable(core.Duration)), + [_idleTimer]: dart.fieldType(dart.nullable(async.Timer)), + [_sessionManagerInstance]: dart.fieldType(dart.nullable(_http._HttpSessionManager)), + closed: dart.fieldType(core.bool), + [_serverSocket$]: dart.finalFieldType(dart.dynamic), + [_closeServer$]: dart.finalFieldType(core.bool), + [_activeConnections]: dart.finalFieldType(collection.LinkedList$(_http._HttpConnection)), + [_idleConnections]: dart.finalFieldType(collection.LinkedList$(_http._HttpConnection)), + [_controller$0]: dart.fieldType(async.StreamController$(_http.HttpRequest)) + })); + dart.defineLazy(_http._HttpServer, { + /*_http._HttpServer._servers*/get _servers() { + return new (T.LinkedMapOfint$_HttpServer()).new(); + }, + set _servers(_) {} + }, false); + const proxies = _ProxyConfiguration_proxies; + _http._ProxyConfiguration = class _ProxyConfiguration extends core.Object { + get proxies() { + return this[proxies]; + } + set proxies(value) { + super.proxies = value; + } + }; + (_http._ProxyConfiguration.new = function(configuration) { + if (configuration == null) dart.nullFailed(I[181], 3306, 30, "configuration"); + this[proxies] = T.JSArrayOf_Proxy().of([]); + if (configuration == null) { + dart.throw(new _http.HttpException.new("Invalid proxy configuration " + dart.str(configuration))); + } + let list = configuration[$split](";"); + list[$forEach](dart.fn(proxy => { + if (proxy == null) dart.nullFailed(I[181], 3311, 26, "proxy"); + proxy = proxy[$trim](); + if (!proxy[$isEmpty]) { + if (proxy[$startsWith]("PROXY ")) { + let username = null; + let password = null; + proxy = proxy[$substring]("PROXY ".length)[$trim](); + let at = proxy[$indexOf]("@"); + if (at !== -1) { + let userinfo = proxy[$substring](0, at)[$trim](); + proxy = proxy[$substring](at + 1)[$trim](); + let colon = userinfo[$indexOf](":"); + if (colon === -1 || colon === 0 || colon === proxy.length - 1) { + dart.throw(new _http.HttpException.new("Invalid proxy configuration " + dart.str(configuration))); + } + username = userinfo[$substring](0, colon)[$trim](); + password = userinfo[$substring](colon + 1)[$trim](); + } + let colon = proxy[$lastIndexOf](":"); + if (colon === -1 || colon === 0 || colon === proxy.length - 1) { + dart.throw(new _http.HttpException.new("Invalid proxy configuration " + dart.str(configuration))); + } + let host = proxy[$substring](0, colon)[$trim](); + if (host[$startsWith]("[") && host[$endsWith]("]")) { + host = host[$substring](1, host.length - 1); + } + let portString = proxy[$substring](colon + 1)[$trim](); + let port = null; + try { + port = core.int.parse(portString); + } catch (e$) { + let e = dart.getThrown(e$); + if (core.FormatException.is(e)) { + dart.throw(new _http.HttpException.new("Invalid proxy configuration " + dart.str(configuration) + ", " + "invalid port '" + portString + "'")); + } else + throw e$; + } + this.proxies[$add](new _http._Proxy.new(host, port, username, password)); + } else if (proxy[$trim]() === "DIRECT") { + this.proxies[$add](new _http._Proxy.direct()); + } else { + dart.throw(new _http.HttpException.new("Invalid proxy configuration " + dart.str(configuration))); + } + } + }, T$.StringTovoid())); + }).prototype = _http._ProxyConfiguration.prototype; + (_http._ProxyConfiguration.direct = function() { + this[proxies] = C[476] || CT.C476; + ; + }).prototype = _http._ProxyConfiguration.prototype; + dart.addTypeTests(_http._ProxyConfiguration); + dart.addTypeCaches(_http._ProxyConfiguration); + dart.setLibraryUri(_http._ProxyConfiguration, I[177]); + dart.setFieldSignature(_http._ProxyConfiguration, () => ({ + __proto__: dart.getFields(_http._ProxyConfiguration.__proto__), + proxies: dart.finalFieldType(core.List$(_http._Proxy)) + })); + dart.defineLazy(_http._ProxyConfiguration, { + /*_http._ProxyConfiguration.PROXY_PREFIX*/get PROXY_PREFIX() { + return "PROXY "; + }, + /*_http._ProxyConfiguration.DIRECT_PREFIX*/get DIRECT_PREFIX() { + return "DIRECT"; + } + }, false); + const host$ = _Proxy_host; + const port$1 = _Proxy_port; + const username$ = _Proxy_username; + const password$ = _Proxy_password; + const isDirect = _Proxy_isDirect; + _http._Proxy = class _Proxy extends core.Object { + get host() { + return this[host$]; + } + set host(value) { + super.host = value; + } + get port() { + return this[port$1]; + } + set port(value) { + super.port = value; + } + get username() { + return this[username$]; + } + set username(value) { + super.username = value; + } + get password() { + return this[password$]; + } + set password(value) { + super.password = value; + } + get isDirect() { + return this[isDirect]; + } + set isDirect(value) { + super.isDirect = value; + } + get isAuthenticated() { + return this.username != null; + } + }; + (_http._Proxy.new = function(host, port, username, password) { + if (host == null) dart.nullFailed(I[181], 3373, 28, "host"); + if (port == null) dart.nullFailed(I[181], 3373, 43, "port"); + this[host$] = host; + this[port$1] = port; + this[username$] = username; + this[password$] = password; + this[isDirect] = false; + ; + }).prototype = _http._Proxy.prototype; + (_http._Proxy.direct = function() { + this[host$] = null; + this[port$1] = null; + this[username$] = null; + this[password$] = null; + this[isDirect] = true; + ; + }).prototype = _http._Proxy.prototype; + dart.addTypeTests(_http._Proxy); + dart.addTypeCaches(_http._Proxy); + dart.setGetterSignature(_http._Proxy, () => ({ + __proto__: dart.getGetters(_http._Proxy.__proto__), + isAuthenticated: core.bool + })); + dart.setLibraryUri(_http._Proxy, I[177]); + dart.setFieldSignature(_http._Proxy, () => ({ + __proto__: dart.getFields(_http._Proxy.__proto__), + host: dart.finalFieldType(dart.nullable(core.String)), + port: dart.finalFieldType(dart.nullable(core.int)), + username: dart.finalFieldType(dart.nullable(core.String)), + password: dart.finalFieldType(dart.nullable(core.String)), + isDirect: dart.finalFieldType(core.bool) + })); + _http._HttpConnectionInfo = class _HttpConnectionInfo extends core.Object { + static create(socket) { + if (socket == null) dart.nullFailed(I[181], 3392, 45, "socket"); + if (socket == null) return null; + try { + return new _http._HttpConnectionInfo.new(socket.remoteAddress, socket.remotePort, socket.port); + } catch (e$) { + let e = dart.getThrown(e$); + if (core.Object.is(e)) { + } else + throw e$; + } + return null; + } + }; + (_http._HttpConnectionInfo.new = function(remoteAddress, remotePort, localPort) { + if (remoteAddress == null) dart.nullFailed(I[181], 3390, 28, "remoteAddress"); + if (remotePort == null) dart.nullFailed(I[181], 3390, 48, "remotePort"); + if (localPort == null) dart.nullFailed(I[181], 3390, 65, "localPort"); + this.remoteAddress = remoteAddress; + this.remotePort = remotePort; + this.localPort = localPort; + ; + }).prototype = _http._HttpConnectionInfo.prototype; + dart.addTypeTests(_http._HttpConnectionInfo); + dart.addTypeCaches(_http._HttpConnectionInfo); + _http._HttpConnectionInfo[dart.implements] = () => [_http.HttpConnectionInfo]; + dart.setLibraryUri(_http._HttpConnectionInfo, I[177]); + dart.setFieldSignature(_http._HttpConnectionInfo, () => ({ + __proto__: dart.getFields(_http._HttpConnectionInfo.__proto__), + remoteAddress: dart.fieldType(io.InternetAddress), + remotePort: dart.fieldType(core.int), + localPort: dart.fieldType(core.int) + })); + _http._DetachedSocket = class _DetachedSocket extends async.Stream$(typed_data.Uint8List) { + listen(onData, opts) { + let onError = opts && 'onError' in opts ? opts.onError : null; + let onDone = opts && 'onDone' in opts ? opts.onDone : null; + let cancelOnError = opts && 'cancelOnError' in opts ? opts.cancelOnError : null; + return this[_incoming$].listen(onData, {onError: onError, onDone: onDone, cancelOnError: cancelOnError}); + } + get encoding() { + return this[_socket$0].encoding; + } + set encoding(value) { + if (value == null) dart.nullFailed(I[181], 3416, 30, "value"); + this[_socket$0].encoding = value; + } + write(obj) { + this[_socket$0].write(obj); + } + writeln(obj = "") { + this[_socket$0].writeln(obj); + } + writeCharCode(charCode) { + if (charCode == null) dart.nullFailed(I[181], 3428, 26, "charCode"); + this[_socket$0].writeCharCode(charCode); + } + writeAll(objects, separator = "") { + if (objects == null) dart.nullFailed(I[181], 3432, 26, "objects"); + if (separator == null) dart.nullFailed(I[181], 3432, 43, "separator"); + this[_socket$0].writeAll(objects, separator); + } + add(bytes) { + T$0.ListOfint().as(bytes); + if (bytes == null) dart.nullFailed(I[181], 3436, 22, "bytes"); + this[_socket$0].add(bytes); + } + addError(error, stackTrace = null) { + if (error == null) dart.nullFailed(I[181], 3440, 24, "error"); + return this[_socket$0].addError(error, stackTrace); + } + addStream(stream) { + T$0.StreamOfListOfint().as(stream); + if (stream == null) dart.nullFailed(I[181], 3443, 38, "stream"); + return this[_socket$0].addStream(stream); + } + destroy() { + this[_socket$0].destroy(); + } + flush() { + return this[_socket$0].flush(); + } + close() { + return this[_socket$0].close(); + } + get done() { + return this[_socket$0].done; + } + get port() { + return this[_socket$0].port; + } + get address() { + return this[_socket$0].address; + } + get remoteAddress() { + return this[_socket$0].remoteAddress; + } + get remotePort() { + return this[_socket$0].remotePort; + } + setOption(option, enabled) { + if (option == null) dart.nullFailed(I[181], 3465, 31, "option"); + if (enabled == null) dart.nullFailed(I[181], 3465, 44, "enabled"); + return this[_socket$0].setOption(option, enabled); + } + getRawOption(option) { + if (option == null) dart.nullFailed(I[181], 3469, 42, "option"); + return this[_socket$0].getRawOption(option); + } + setRawOption(option) { + if (option == null) dart.nullFailed(I[181], 3473, 37, "option"); + this[_socket$0].setRawOption(option); + } + [_toJSON$](ref) { + if (ref == null) dart.nullFailed(I[181], 3477, 20, "ref"); + return core.Map.as(dart.dsend(this[_socket$0], _toJSON$, [ref])); + } + get [__IOSink_encoding_isSet]() { + return this[$noSuchMethod](new core._Invocation.getter(C[467] || CT.C467)); + } + get [__IOSink_encoding]() { + return T$0.EncodingN().as(this[$noSuchMethod](new core._Invocation.getter(C[468] || CT.C468))); + } + set [__IOSink_encoding_isSet](value) { + return this[$noSuchMethod](new core._Invocation.setter(C[469] || CT.C469, value)); + } + set [__IOSink_encoding](value) { + return this[$noSuchMethod](new core._Invocation.setter(C[470] || CT.C470, value)); + } + }; + (_http._DetachedSocket.new = function(_socket, _incoming) { + if (_socket == null) dart.nullFailed(I[181], 3406, 24, "_socket"); + if (_incoming == null) dart.nullFailed(I[181], 3406, 38, "_incoming"); + this[_socket$0] = _socket; + this[_incoming$] = _incoming; + _http._DetachedSocket.__proto__.new.call(this); + ; + }).prototype = _http._DetachedSocket.prototype; + dart.addTypeTests(_http._DetachedSocket); + dart.addTypeCaches(_http._DetachedSocket); + _http._DetachedSocket[dart.implements] = () => [io.Socket]; + dart.setMethodSignature(_http._DetachedSocket, () => ({ + __proto__: dart.getMethods(_http._DetachedSocket.__proto__), + listen: dart.fnType(async.StreamSubscription$(typed_data.Uint8List), [dart.nullable(dart.fnType(dart.void, [typed_data.Uint8List]))], {cancelOnError: dart.nullable(core.bool), onDone: dart.nullable(dart.fnType(dart.void, [])), onError: dart.nullable(core.Function)}, {}), + write: dart.fnType(dart.void, [dart.nullable(core.Object)]), + writeln: dart.fnType(dart.void, [], [dart.nullable(core.Object)]), + writeCharCode: dart.fnType(dart.void, [core.int]), + writeAll: dart.fnType(dart.void, [core.Iterable], [core.String]), + add: dart.fnType(dart.void, [dart.nullable(core.Object)]), + addError: dart.fnType(dart.void, [core.Object], [dart.nullable(core.StackTrace)]), + addStream: dart.fnType(async.Future, [dart.nullable(core.Object)]), + destroy: dart.fnType(dart.void, []), + flush: dart.fnType(async.Future, []), + close: dart.fnType(async.Future, []), + setOption: dart.fnType(core.bool, [io.SocketOption, core.bool]), + getRawOption: dart.fnType(typed_data.Uint8List, [io.RawSocketOption]), + setRawOption: dart.fnType(dart.void, [io.RawSocketOption]), + [_toJSON$]: dart.fnType(core.Map, [core.bool]) + })); + dart.setGetterSignature(_http._DetachedSocket, () => ({ + __proto__: dart.getGetters(_http._DetachedSocket.__proto__), + encoding: convert.Encoding, + done: async.Future, + port: core.int, + address: io.InternetAddress, + remoteAddress: io.InternetAddress, + remotePort: core.int, + [__IOSink_encoding_isSet]: dart.dynamic, + [__IOSink_encoding]: dart.nullable(convert.Encoding) + })); + dart.setSetterSignature(_http._DetachedSocket, () => ({ + __proto__: dart.getSetters(_http._DetachedSocket.__proto__), + encoding: convert.Encoding, + [__IOSink_encoding_isSet]: dart.dynamic, + [__IOSink_encoding]: dart.nullable(convert.Encoding) + })); + dart.setLibraryUri(_http._DetachedSocket, I[177]); + dart.setFieldSignature(_http._DetachedSocket, () => ({ + __proto__: dart.getFields(_http._DetachedSocket.__proto__), + [_incoming$]: dart.finalFieldType(async.Stream$(typed_data.Uint8List)), + [_socket$0]: dart.finalFieldType(io.Socket) + })); + var _scheme$ = dart.privateName(_http, "_AuthenticationScheme._scheme"); + var _scheme = dart.privateName(_http, "_scheme"); + _http._AuthenticationScheme = class _AuthenticationScheme extends core.Object { + get [_scheme]() { + return this[_scheme$]; + } + set [_scheme](value) { + super[_scheme] = value; + } + static fromString(scheme) { + if (scheme == null) dart.nullFailed(I[181], 3491, 51, "scheme"); + if (scheme[$toLowerCase]() === "basic") return _http._AuthenticationScheme.BASIC; + if (scheme[$toLowerCase]() === "digest") return _http._AuthenticationScheme.DIGEST; + return _http._AuthenticationScheme.UNKNOWN; + } + toString() { + if (this[$_equals](_http._AuthenticationScheme.BASIC)) return "Basic"; + if (this[$_equals](_http._AuthenticationScheme.DIGEST)) return "Digest"; + return "Unknown"; + } + }; + (_http._AuthenticationScheme.new = function(_scheme) { + if (_scheme == null) dart.nullFailed(I[181], 3489, 36, "_scheme"); + this[_scheme$] = _scheme; + ; + }).prototype = _http._AuthenticationScheme.prototype; + dart.addTypeTests(_http._AuthenticationScheme); + dart.addTypeCaches(_http._AuthenticationScheme); + dart.setLibraryUri(_http._AuthenticationScheme, I[177]); + dart.setFieldSignature(_http._AuthenticationScheme, () => ({ + __proto__: dart.getFields(_http._AuthenticationScheme.__proto__), + [_scheme]: dart.finalFieldType(core.int) + })); + dart.defineExtensionMethods(_http._AuthenticationScheme, ['toString']); + dart.defineLazy(_http._AuthenticationScheme, { + /*_http._AuthenticationScheme.UNKNOWN*/get UNKNOWN() { + return C[478] || CT.C478; + }, + /*_http._AuthenticationScheme.BASIC*/get BASIC() { + return C[479] || CT.C479; + }, + /*_http._AuthenticationScheme.DIGEST*/get DIGEST() { + return C[480] || CT.C480; + } + }, false); + _http._Credentials = class _Credentials extends core.Object { + get scheme() { + return this.credentials.scheme; + } + }; + (_http._Credentials.new = function(credentials, realm) { + let t301; + if (credentials == null) dart.nullFailed(I[181], 3516, 21, "credentials"); + if (realm == null) dart.nullFailed(I[181], 3516, 39, "realm"); + this.used = false; + this.ha1 = null; + this.nonce = null; + this.algorithm = null; + this.qop = null; + this.nonceCount = null; + this.credentials = credentials; + this.realm = realm; + if (dart.equals(this.credentials.scheme, _http._AuthenticationScheme.DIGEST)) { + let creds = _http._HttpClientDigestCredentials.as(this.credentials); + let hasher = (t301 = new _http._MD5.new(), (() => { + t301.add(convert.utf8.encode(creds.username)); + t301.add(T$.JSArrayOfint().of([58])); + t301.add(this.realm[$codeUnits]); + t301.add(T$.JSArrayOfint().of([58])); + t301.add(convert.utf8.encode(creds.password)); + return t301; + })()); + this.ha1 = _http._CryptoUtils.bytesToHex(hasher.close()); + } + }).prototype = _http._Credentials.prototype; + dart.addTypeTests(_http._Credentials); + dart.addTypeCaches(_http._Credentials); + dart.setGetterSignature(_http._Credentials, () => ({ + __proto__: dart.getGetters(_http._Credentials.__proto__), + scheme: _http._AuthenticationScheme + })); + dart.setLibraryUri(_http._Credentials, I[177]); + dart.setFieldSignature(_http._Credentials, () => ({ + __proto__: dart.getFields(_http._Credentials.__proto__), + credentials: dart.fieldType(_http._HttpClientCredentials), + realm: dart.fieldType(core.String), + used: dart.fieldType(core.bool), + ha1: dart.fieldType(dart.nullable(core.String)), + nonce: dart.fieldType(dart.nullable(core.String)), + algorithm: dart.fieldType(dart.nullable(core.String)), + qop: dart.fieldType(dart.nullable(core.String)), + nonceCount: dart.fieldType(dart.nullable(core.int)) + })); + _http._SiteCredentials = class _SiteCredentials extends _http._Credentials { + applies(uri, scheme) { + if (uri == null) dart.nullFailed(I[181], 3546, 20, "uri"); + if (scheme != null && !dart.equals(this.credentials.scheme, scheme)) return false; + if (uri.host != this.uri.host) return false; + let thisPort = this.uri.port === 0 ? 80 : this.uri.port; + let otherPort = uri.port === 0 ? 80 : uri.port; + if (otherPort != thisPort) return false; + return uri.path[$startsWith](this.uri.path); + } + authorize(request) { + if (request == null) dart.nullFailed(I[181], 3556, 36, "request"); + if (dart.equals(this.credentials.scheme, _http._AuthenticationScheme.DIGEST) && this.nonce == null) { + return; + } + this.credentials.authorize(this, _http._HttpClientRequest.as(request)); + this.used = true; + } + }; + (_http._SiteCredentials.new = function(uri, realm, creds) { + if (uri == null) dart.nullFailed(I[181], 3543, 25, "uri"); + if (creds == null) dart.nullFailed(I[181], 3543, 60, "creds"); + this.uri = uri; + _http._SiteCredentials.__proto__.new.call(this, creds, core.String.as(realm)); + ; + }).prototype = _http._SiteCredentials.prototype; + dart.addTypeTests(_http._SiteCredentials); + dart.addTypeCaches(_http._SiteCredentials); + dart.setMethodSignature(_http._SiteCredentials, () => ({ + __proto__: dart.getMethods(_http._SiteCredentials.__proto__), + applies: dart.fnType(core.bool, [core.Uri, dart.nullable(_http._AuthenticationScheme)]), + authorize: dart.fnType(dart.void, [_http.HttpClientRequest]) + })); + dart.setLibraryUri(_http._SiteCredentials, I[177]); + dart.setFieldSignature(_http._SiteCredentials, () => ({ + __proto__: dart.getFields(_http._SiteCredentials.__proto__), + uri: dart.fieldType(core.Uri) + })); + _http._ProxyCredentials = class _ProxyCredentials extends _http._Credentials { + applies(proxy, scheme) { + if (proxy == null) dart.nullFailed(I[181], 3574, 23, "proxy"); + if (scheme != null && !dart.equals(this.credentials.scheme, scheme)) return false; + return proxy.host == this.host && proxy.port == this.port; + } + authorize(request) { + if (request == null) dart.nullFailed(I[181], 3579, 36, "request"); + if (dart.equals(this.credentials.scheme, _http._AuthenticationScheme.DIGEST) && this.nonce == null) { + return; + } + this.credentials.authorizeProxy(this, _http._HttpClientRequest.as(request)); + } + }; + (_http._ProxyCredentials.new = function(host, port, realm, creds) { + if (host == null) dart.nullFailed(I[181], 3571, 26, "host"); + if (port == null) dart.nullFailed(I[181], 3571, 37, "port"); + if (creds == null) dart.nullFailed(I[181], 3571, 73, "creds"); + this.host = host; + this.port = port; + _http._ProxyCredentials.__proto__.new.call(this, creds, core.String.as(realm)); + ; + }).prototype = _http._ProxyCredentials.prototype; + dart.addTypeTests(_http._ProxyCredentials); + dart.addTypeCaches(_http._ProxyCredentials); + dart.setMethodSignature(_http._ProxyCredentials, () => ({ + __proto__: dart.getMethods(_http._ProxyCredentials.__proto__), + applies: dart.fnType(core.bool, [_http._Proxy, dart.nullable(_http._AuthenticationScheme)]), + authorize: dart.fnType(dart.void, [_http.HttpClientRequest]) + })); + dart.setLibraryUri(_http._ProxyCredentials, I[177]); + dart.setFieldSignature(_http._ProxyCredentials, () => ({ + __proto__: dart.getFields(_http._ProxyCredentials.__proto__), + host: dart.fieldType(core.String), + port: dart.fieldType(core.int) + })); + _http._HttpClientCredentials = class _HttpClientCredentials extends core.Object {}; + (_http._HttpClientCredentials.new = function() { + ; + }).prototype = _http._HttpClientCredentials.prototype; + dart.addTypeTests(_http._HttpClientCredentials); + dart.addTypeCaches(_http._HttpClientCredentials); + _http._HttpClientCredentials[dart.implements] = () => [_http.HttpClientCredentials]; + dart.setLibraryUri(_http._HttpClientCredentials, I[177]); + _http._HttpClientBasicCredentials = class _HttpClientBasicCredentials extends _http._HttpClientCredentials { + get scheme() { + return _http._AuthenticationScheme.BASIC; + } + authorization() { + let auth = _http._CryptoUtils.bytesToBase64(convert.utf8.encode(dart.str(this.username) + ":" + dart.str(this.password))); + return "Basic " + dart.str(auth); + } + authorize(_, request) { + if (_ == null) dart.nullFailed(I[181], 3616, 31, "_"); + if (request == null) dart.nullFailed(I[181], 3616, 52, "request"); + request.headers.set("authorization", this.authorization()); + } + authorizeProxy(_, request) { + if (_ == null) dart.nullFailed(I[181], 3620, 41, "_"); + if (request == null) dart.nullFailed(I[181], 3620, 62, "request"); + request.headers.set("proxy-authorization", this.authorization()); + } + }; + (_http._HttpClientBasicCredentials.new = function(username, password) { + if (username == null) dart.nullFailed(I[181], 3600, 36, "username"); + if (password == null) dart.nullFailed(I[181], 3600, 51, "password"); + this.username = username; + this.password = password; + ; + }).prototype = _http._HttpClientBasicCredentials.prototype; + dart.addTypeTests(_http._HttpClientBasicCredentials); + dart.addTypeCaches(_http._HttpClientBasicCredentials); + _http._HttpClientBasicCredentials[dart.implements] = () => [_http.HttpClientBasicCredentials]; + dart.setMethodSignature(_http._HttpClientBasicCredentials, () => ({ + __proto__: dart.getMethods(_http._HttpClientBasicCredentials.__proto__), + authorization: dart.fnType(core.String, []), + authorize: dart.fnType(dart.void, [_http._Credentials, _http.HttpClientRequest]), + authorizeProxy: dart.fnType(dart.void, [_http._ProxyCredentials, _http.HttpClientRequest]) + })); + dart.setGetterSignature(_http._HttpClientBasicCredentials, () => ({ + __proto__: dart.getGetters(_http._HttpClientBasicCredentials.__proto__), + scheme: _http._AuthenticationScheme + })); + dart.setLibraryUri(_http._HttpClientBasicCredentials, I[177]); + dart.setFieldSignature(_http._HttpClientBasicCredentials, () => ({ + __proto__: dart.getFields(_http._HttpClientBasicCredentials.__proto__), + username: dart.fieldType(core.String), + password: dart.fieldType(core.String) + })); + _http._HttpClientDigestCredentials = class _HttpClientDigestCredentials extends _http._HttpClientCredentials { + get scheme() { + return _http._AuthenticationScheme.DIGEST; + } + authorization(credentials, request) { + let t301, t301$, t301$0, t301$1, t301$2, t301$3; + if (credentials == null) dart.nullFailed(I[181], 3634, 37, "credentials"); + if (request == null) dart.nullFailed(I[181], 3634, 69, "request"); + let requestUri = request[_requestUri](); + let hasher = (t301 = new _http._MD5.new(), (() => { + t301.add(request.method[$codeUnits]); + t301.add(T$.JSArrayOfint().of([58])); + t301.add(requestUri[$codeUnits]); + return t301; + })()); + let ha2 = _http._CryptoUtils.bytesToHex(hasher.close()); + let isAuth = false; + let cnonce = ""; + let nc = ""; + hasher = (t301$ = new _http._MD5.new(), (() => { + t301$.add(dart.nullCheck(credentials.ha1)[$codeUnits]); + t301$.add(T$.JSArrayOfint().of([58])); + return t301$; + })()); + if (credentials.qop === "auth") { + isAuth = true; + cnonce = _http._CryptoUtils.bytesToHex(_http._CryptoUtils.getRandomBytes(4)); + let nonceCount = dart.nullCheck(credentials.nonceCount) + 1; + credentials.nonceCount = nonceCount; + nc = nonceCount[$toRadixString](16)[$padLeft](9, "0"); + t301$0 = hasher; + (() => { + t301$0.add(dart.nullCheck(credentials.nonce)[$codeUnits]); + t301$0.add(T$.JSArrayOfint().of([58])); + t301$0.add(nc[$codeUnits]); + t301$0.add(T$.JSArrayOfint().of([58])); + t301$0.add(cnonce[$codeUnits]); + t301$0.add(T$.JSArrayOfint().of([58])); + t301$0.add("auth"[$codeUnits]); + t301$0.add(T$.JSArrayOfint().of([58])); + t301$0.add(ha2[$codeUnits]); + return t301$0; + })(); + } else { + t301$1 = hasher; + (() => { + t301$1.add(dart.nullCheck(credentials.nonce)[$codeUnits]); + t301$1.add(T$.JSArrayOfint().of([58])); + t301$1.add(ha2[$codeUnits]); + return t301$1; + })(); + } + let response = _http._CryptoUtils.bytesToHex(hasher.close()); + let buffer = (t301$2 = new core.StringBuffer.new(), (() => { + t301$2.write("Digest "); + t301$2.write("username=\"" + dart.str(this.username) + "\""); + t301$2.write(", realm=\"" + dart.str(credentials.realm) + "\""); + t301$2.write(", nonce=\"" + dart.str(credentials.nonce) + "\""); + t301$2.write(", uri=\"" + dart.str(requestUri) + "\""); + t301$2.write(", algorithm=\"" + dart.str(credentials.algorithm) + "\""); + return t301$2; + })()); + if (isAuth) { + t301$3 = buffer; + (() => { + t301$3.write(", qop=\"auth\""); + t301$3.write(", cnonce=\"" + dart.str(cnonce) + "\""); + t301$3.write(", nc=\"" + nc + "\""); + return t301$3; + })(); + } + buffer.write(", response=\"" + dart.str(response) + "\""); + return dart.toString(buffer); + } + authorize(credentials, request) { + if (credentials == null) dart.nullFailed(I[181], 3689, 31, "credentials"); + if (request == null) dart.nullFailed(I[181], 3689, 62, "request"); + request.headers.set("authorization", this.authorization(credentials, _http._HttpClientRequest.as(request))); + } + authorizeProxy(credentials, request) { + if (credentials == null) dart.nullFailed(I[181], 3695, 25, "credentials"); + if (request == null) dart.nullFailed(I[181], 3695, 56, "request"); + request.headers.set("proxy-authorization", this.authorization(credentials, _http._HttpClientRequest.as(request))); + } + }; + (_http._HttpClientDigestCredentials.new = function(username, password) { + if (username == null) dart.nullFailed(I[181], 3630, 37, "username"); + if (password == null) dart.nullFailed(I[181], 3630, 52, "password"); + this.username = username; + this.password = password; + ; + }).prototype = _http._HttpClientDigestCredentials.prototype; + dart.addTypeTests(_http._HttpClientDigestCredentials); + dart.addTypeCaches(_http._HttpClientDigestCredentials); + _http._HttpClientDigestCredentials[dart.implements] = () => [_http.HttpClientDigestCredentials]; + dart.setMethodSignature(_http._HttpClientDigestCredentials, () => ({ + __proto__: dart.getMethods(_http._HttpClientDigestCredentials.__proto__), + authorization: dart.fnType(core.String, [_http._Credentials, _http._HttpClientRequest]), + authorize: dart.fnType(dart.void, [_http._Credentials, _http.HttpClientRequest]), + authorizeProxy: dart.fnType(dart.void, [_http._ProxyCredentials, _http.HttpClientRequest]) + })); + dart.setGetterSignature(_http._HttpClientDigestCredentials, () => ({ + __proto__: dart.getGetters(_http._HttpClientDigestCredentials.__proto__), + scheme: _http._AuthenticationScheme + })); + dart.setLibraryUri(_http._HttpClientDigestCredentials, I[177]); + dart.setFieldSignature(_http._HttpClientDigestCredentials, () => ({ + __proto__: dart.getFields(_http._HttpClientDigestCredentials.__proto__), + username: dart.fieldType(core.String), + password: dart.fieldType(core.String) + })); + var statusCode$ = dart.privateName(_http, "_RedirectInfo.statusCode"); + var method$ = dart.privateName(_http, "_RedirectInfo.method"); + var location$ = dart.privateName(_http, "_RedirectInfo.location"); + _http._RedirectInfo = class _RedirectInfo extends core.Object { + get statusCode() { + return this[statusCode$]; + } + set statusCode(value) { + super.statusCode = value; + } + get method() { + return this[method$]; + } + set method(value) { + super.method = value; + } + get location() { + return this[location$]; + } + set location(value) { + super.location = value; + } + }; + (_http._RedirectInfo.new = function(statusCode, method, location) { + if (statusCode == null) dart.nullFailed(I[181], 3705, 28, "statusCode"); + if (method == null) dart.nullFailed(I[181], 3705, 45, "method"); + if (location == null) dart.nullFailed(I[181], 3705, 58, "location"); + this[statusCode$] = statusCode; + this[method$] = method; + this[location$] = location; + ; + }).prototype = _http._RedirectInfo.prototype; + dart.addTypeTests(_http._RedirectInfo); + dart.addTypeCaches(_http._RedirectInfo); + _http._RedirectInfo[dart.implements] = () => [_http.RedirectInfo]; + dart.setLibraryUri(_http._RedirectInfo, I[177]); + dart.setFieldSignature(_http._RedirectInfo, () => ({ + __proto__: dart.getFields(_http._RedirectInfo.__proto__), + statusCode: dart.finalFieldType(core.int), + method: dart.finalFieldType(core.String), + location: dart.finalFieldType(core.Uri) + })); + _http._Const = class _Const extends core.Object {}; + (_http._Const.new = function() { + ; + }).prototype = _http._Const.prototype; + dart.addTypeTests(_http._Const); + dart.addTypeCaches(_http._Const); + dart.setLibraryUri(_http._Const, I[177]); + dart.defineLazy(_http._Const, { + /*_http._Const.HTTP*/get HTTP() { + return C[481] || CT.C481; + }, + /*_http._Const.HTTP1DOT*/get HTTP1DOT() { + return C[482] || CT.C482; + }, + /*_http._Const.HTTP10*/get HTTP10() { + return C[483] || CT.C483; + }, + /*_http._Const.HTTP11*/get HTTP11() { + return C[484] || CT.C484; + }, + /*_http._Const.T*/get T() { + return true; + }, + /*_http._Const.F*/get F() { + return false; + }, + /*_http._Const.SEPARATOR_MAP*/get SEPARATOR_MAP() { + return C[485] || CT.C485; + } + }, false); + _http._CharCode = class _CharCode extends core.Object {}; + (_http._CharCode.new = function() { + ; + }).prototype = _http._CharCode.prototype; + dart.addTypeTests(_http._CharCode); + dart.addTypeCaches(_http._CharCode); + dart.setLibraryUri(_http._CharCode, I[177]); + dart.defineLazy(_http._CharCode, { + /*_http._CharCode.HT*/get HT() { + return 9; + }, + /*_http._CharCode.LF*/get LF() { + return 10; + }, + /*_http._CharCode.CR*/get CR() { + return 13; + }, + /*_http._CharCode.SP*/get SP() { + return 32; + }, + /*_http._CharCode.AMPERSAND*/get AMPERSAND() { + return 38; + }, + /*_http._CharCode.COMMA*/get COMMA() { + return 44; + }, + /*_http._CharCode.DASH*/get DASH() { + return 45; + }, + /*_http._CharCode.SLASH*/get SLASH() { + return 47; + }, + /*_http._CharCode.ZERO*/get ZERO() { + return 48; + }, + /*_http._CharCode.ONE*/get ONE() { + return 49; + }, + /*_http._CharCode.COLON*/get COLON() { + return 58; + }, + /*_http._CharCode.SEMI_COLON*/get SEMI_COLON() { + return 59; + }, + /*_http._CharCode.EQUAL*/get EQUAL() { + return 61; + } + }, false); + _http._State = class _State extends core.Object {}; + (_http._State.new = function() { + ; + }).prototype = _http._State.prototype; + dart.addTypeTests(_http._State); + dart.addTypeCaches(_http._State); + dart.setLibraryUri(_http._State, I[177]); + dart.defineLazy(_http._State, { + /*_http._State.START*/get START() { + return 0; + }, + /*_http._State.METHOD_OR_RESPONSE_HTTP_VERSION*/get METHOD_OR_RESPONSE_HTTP_VERSION() { + return 1; + }, + /*_http._State.RESPONSE_HTTP_VERSION*/get RESPONSE_HTTP_VERSION() { + return 2; + }, + /*_http._State.REQUEST_LINE_METHOD*/get REQUEST_LINE_METHOD() { + return 3; + }, + /*_http._State.REQUEST_LINE_URI*/get REQUEST_LINE_URI() { + return 4; + }, + /*_http._State.REQUEST_LINE_HTTP_VERSION*/get REQUEST_LINE_HTTP_VERSION() { + return 5; + }, + /*_http._State.REQUEST_LINE_ENDING*/get REQUEST_LINE_ENDING() { + return 6; + }, + /*_http._State.RESPONSE_LINE_STATUS_CODE*/get RESPONSE_LINE_STATUS_CODE() { + return 7; + }, + /*_http._State.RESPONSE_LINE_REASON_PHRASE*/get RESPONSE_LINE_REASON_PHRASE() { + return 8; + }, + /*_http._State.RESPONSE_LINE_ENDING*/get RESPONSE_LINE_ENDING() { + return 9; + }, + /*_http._State.HEADER_START*/get HEADER_START() { + return 10; + }, + /*_http._State.HEADER_FIELD*/get HEADER_FIELD() { + return 11; + }, + /*_http._State.HEADER_VALUE_START*/get HEADER_VALUE_START() { + return 12; + }, + /*_http._State.HEADER_VALUE*/get HEADER_VALUE() { + return 13; + }, + /*_http._State.HEADER_VALUE_FOLD_OR_END_CR*/get HEADER_VALUE_FOLD_OR_END_CR() { + return 14; + }, + /*_http._State.HEADER_VALUE_FOLD_OR_END*/get HEADER_VALUE_FOLD_OR_END() { + return 15; + }, + /*_http._State.HEADER_ENDING*/get HEADER_ENDING() { + return 16; + }, + /*_http._State.CHUNK_SIZE_STARTING_CR*/get CHUNK_SIZE_STARTING_CR() { + return 17; + }, + /*_http._State.CHUNK_SIZE_STARTING*/get CHUNK_SIZE_STARTING() { + return 18; + }, + /*_http._State.CHUNK_SIZE*/get CHUNK_SIZE() { + return 19; + }, + /*_http._State.CHUNK_SIZE_EXTENSION*/get CHUNK_SIZE_EXTENSION() { + return 20; + }, + /*_http._State.CHUNK_SIZE_ENDING*/get CHUNK_SIZE_ENDING() { + return 21; + }, + /*_http._State.CHUNKED_BODY_DONE_CR*/get CHUNKED_BODY_DONE_CR() { + return 22; + }, + /*_http._State.CHUNKED_BODY_DONE*/get CHUNKED_BODY_DONE() { + return 23; + }, + /*_http._State.BODY*/get BODY() { + return 24; + }, + /*_http._State.CLOSED*/get CLOSED() { + return 25; + }, + /*_http._State.UPGRADED*/get UPGRADED() { + return 26; + }, + /*_http._State.FAILURE*/get FAILURE() { + return 27; + }, + /*_http._State.FIRST_BODY_STATE*/get FIRST_BODY_STATE() { + return 17; + } + }, false); + _http._HttpVersion = class _HttpVersion extends core.Object {}; + (_http._HttpVersion.new = function() { + ; + }).prototype = _http._HttpVersion.prototype; + dart.addTypeTests(_http._HttpVersion); + dart.addTypeCaches(_http._HttpVersion); + dart.setLibraryUri(_http._HttpVersion, I[177]); + dart.defineLazy(_http._HttpVersion, { + /*_http._HttpVersion.UNDETERMINED*/get UNDETERMINED() { + return 0; + }, + /*_http._HttpVersion.HTTP10*/get HTTP10() { + return 1; + }, + /*_http._HttpVersion.HTTP11*/get HTTP11() { + return 2; + } + }, false); + _http._MessageType = class _MessageType extends core.Object {}; + (_http._MessageType.new = function() { + ; + }).prototype = _http._MessageType.prototype; + dart.addTypeTests(_http._MessageType); + dart.addTypeCaches(_http._MessageType); + dart.setLibraryUri(_http._MessageType, I[177]); + dart.defineLazy(_http._MessageType, { + /*_http._MessageType.UNDETERMINED*/get UNDETERMINED() { + return 0; + }, + /*_http._MessageType.REQUEST*/get REQUEST() { + return 1; + }, + /*_http._MessageType.RESPONSE*/get RESPONSE() { + return 0; + } + }, false); + var _isCanceled$ = dart.privateName(_http, "_isCanceled"); + var _scheduled = dart.privateName(_http, "_scheduled"); + var _pauseCount$ = dart.privateName(_http, "_pauseCount"); + var _injectData$ = dart.privateName(_http, "_injectData"); + var _userOnData$ = dart.privateName(_http, "_userOnData"); + var _maybeScheduleData = dart.privateName(_http, "_maybeScheduleData"); + _http._HttpDetachedStreamSubscription = class _HttpDetachedStreamSubscription extends core.Object { + get isPaused() { + return this[_subscription$0].isPaused; + } + asFuture(T, futureValue = null) { + return this[_subscription$0].asFuture(T, T.as(futureValue)); + } + cancel() { + this[_isCanceled$] = true; + this[_injectData$] = null; + return this[_subscription$0].cancel(); + } + onData(handleData) { + this[_userOnData$] = handleData; + this[_subscription$0].onData(handleData); + } + onDone(handleDone) { + this[_subscription$0].onDone(handleDone); + } + onError(handleError) { + this[_subscription$0].onError(handleError); + } + pause(resumeSignal = null) { + if (this[_injectData$] == null) { + this[_subscription$0].pause(resumeSignal); + } else { + this[_pauseCount$] = dart.notNull(this[_pauseCount$]) + 1; + if (resumeSignal != null) { + resumeSignal.whenComplete(dart.bind(this, 'resume')); + } + } + } + resume() { + if (this[_injectData$] == null) { + this[_subscription$0].resume(); + } else { + this[_pauseCount$] = dart.notNull(this[_pauseCount$]) - 1; + this[_maybeScheduleData](); + } + } + [_maybeScheduleData]() { + if (dart.test(this[_scheduled])) return; + if (this[_pauseCount$] !== 0) return; + this[_scheduled] = true; + async.scheduleMicrotask(dart.fn(() => { + let t301; + this[_scheduled] = false; + if (dart.notNull(this[_pauseCount$]) > 0 || dart.test(this[_isCanceled$])) return; + let data = this[_injectData$]; + this[_injectData$] = null; + this[_subscription$0].resume(); + t301 = this[_userOnData$]; + t301 == null ? null : dart.dcall(t301, [data]); + }, T$.VoidTovoid())); + } + }; + (_http._HttpDetachedStreamSubscription.new = function(_subscription, _injectData, _userOnData) { + if (_subscription == null) dart.nullFailed(I[182], 120, 12, "_subscription"); + this[_isCanceled$] = false; + this[_scheduled] = false; + this[_pauseCount$] = 1; + this[_subscription$0] = _subscription; + this[_injectData$] = _injectData; + this[_userOnData$] = _userOnData; + ; + }).prototype = _http._HttpDetachedStreamSubscription.prototype; + _http._HttpDetachedStreamSubscription.prototype[dart.isStreamSubscription] = true; + dart.addTypeTests(_http._HttpDetachedStreamSubscription); + dart.addTypeCaches(_http._HttpDetachedStreamSubscription); + _http._HttpDetachedStreamSubscription[dart.implements] = () => [async.StreamSubscription$(typed_data.Uint8List)]; + dart.setMethodSignature(_http._HttpDetachedStreamSubscription, () => ({ + __proto__: dart.getMethods(_http._HttpDetachedStreamSubscription.__proto__), + asFuture: dart.gFnType(T => [async.Future$(T), [], [dart.nullable(T)]], T => [dart.nullable(core.Object)]), + cancel: dart.fnType(async.Future, []), + onData: dart.fnType(dart.void, [dart.nullable(dart.fnType(dart.void, [typed_data.Uint8List]))]), + onDone: dart.fnType(dart.void, [dart.nullable(dart.fnType(dart.void, []))]), + onError: dart.fnType(dart.void, [dart.nullable(core.Function)]), + pause: dart.fnType(dart.void, [], [dart.nullable(async.Future)]), + resume: dart.fnType(dart.void, []), + [_maybeScheduleData]: dart.fnType(dart.void, []) + })); + dart.setGetterSignature(_http._HttpDetachedStreamSubscription, () => ({ + __proto__: dart.getGetters(_http._HttpDetachedStreamSubscription.__proto__), + isPaused: core.bool + })); + dart.setLibraryUri(_http._HttpDetachedStreamSubscription, I[177]); + dart.setFieldSignature(_http._HttpDetachedStreamSubscription, () => ({ + __proto__: dart.getFields(_http._HttpDetachedStreamSubscription.__proto__), + [_subscription$0]: dart.fieldType(async.StreamSubscription$(typed_data.Uint8List)), + [_injectData$]: dart.fieldType(dart.nullable(typed_data.Uint8List)), + [_userOnData$]: dart.fieldType(dart.nullable(core.Function)), + [_isCanceled$]: dart.fieldType(core.bool), + [_scheduled]: dart.fieldType(core.bool), + [_pauseCount$]: dart.fieldType(core.int) + })); + _http._HttpDetachedIncoming = class _HttpDetachedIncoming extends async.Stream$(typed_data.Uint8List) { + listen(onData, opts) { + let t301, t301$, t301$0; + let onError = opts && 'onError' in opts ? opts.onError : null; + let onDone = opts && 'onDone' in opts ? opts.onDone : null; + let cancelOnError = opts && 'cancelOnError' in opts ? opts.cancelOnError : null; + let subscription = this.subscription; + if (subscription != null) { + t301 = subscription; + (() => { + t301.onData(onData); + t301.onError(onError); + t301.onDone(onDone); + return t301; + })(); + if (this.bufferedData == null) { + t301$ = subscription; + return (() => { + t301$.resume(); + return t301$; + })(); + } + t301$0 = new _http._HttpDetachedStreamSubscription.new(subscription, this.bufferedData, onData); + return (() => { + t301$0.resume(); + return t301$0; + })(); + } else { + return T.StreamOfUint8List().fromIterable(T$.JSArrayOfUint8List().of([dart.nullCheck(this.bufferedData)])).listen(onData, {onError: onError, onDone: onDone, cancelOnError: cancelOnError}); + } + } + }; + (_http._HttpDetachedIncoming.new = function(subscription, bufferedData) { + this.subscription = subscription; + this.bufferedData = bufferedData; + _http._HttpDetachedIncoming.__proto__.new.call(this); + ; + }).prototype = _http._HttpDetachedIncoming.prototype; + dart.addTypeTests(_http._HttpDetachedIncoming); + dart.addTypeCaches(_http._HttpDetachedIncoming); + dart.setMethodSignature(_http._HttpDetachedIncoming, () => ({ + __proto__: dart.getMethods(_http._HttpDetachedIncoming.__proto__), + listen: dart.fnType(async.StreamSubscription$(typed_data.Uint8List), [dart.nullable(dart.fnType(dart.void, [typed_data.Uint8List]))], {cancelOnError: dart.nullable(core.bool), onDone: dart.nullable(dart.fnType(dart.void, [])), onError: dart.nullable(core.Function)}, {}) + })); + dart.setLibraryUri(_http._HttpDetachedIncoming, I[177]); + dart.setFieldSignature(_http._HttpDetachedIncoming, () => ({ + __proto__: dart.getFields(_http._HttpDetachedIncoming.__proto__), + subscription: dart.finalFieldType(dart.nullable(async.StreamSubscription$(typed_data.Uint8List))), + bufferedData: dart.finalFieldType(dart.nullable(typed_data.Uint8List)) + })); + var _parserCalled = dart.privateName(_http, "_parserCalled"); + var _index$1 = dart.privateName(_http, "_index"); + var _httpVersionIndex = dart.privateName(_http, "_httpVersionIndex"); + var _messageType = dart.privateName(_http, "_messageType"); + var _statusCodeLength = dart.privateName(_http, "_statusCodeLength"); + var _method$ = dart.privateName(_http, "_method"); + var _uriOrReasonPhrase = dart.privateName(_http, "_uriOrReasonPhrase"); + var _headerField = dart.privateName(_http, "_headerField"); + var _headerValue = dart.privateName(_http, "_headerValue"); + var _headersReceivedSize = dart.privateName(_http, "_headersReceivedSize"); + var _httpVersion = dart.privateName(_http, "_httpVersion"); + var _connectionUpgrade = dart.privateName(_http, "_connectionUpgrade"); + var _chunked = dart.privateName(_http, "_chunked"); + var _noMessageBody = dart.privateName(_http, "_noMessageBody"); + var _remainingContent = dart.privateName(_http, "_remainingContent"); + var _transferEncoding = dart.privateName(_http, "_transferEncoding"); + var _chunkSizeLimit = dart.privateName(_http, "_chunkSizeLimit"); + var _socketSubscription$ = dart.privateName(_http, "_socketSubscription"); + var _paused = dart.privateName(_http, "_paused"); + var _bodyPaused = dart.privateName(_http, "_bodyPaused"); + var _bodyController = dart.privateName(_http, "_bodyController"); + var _requestParser$ = dart.privateName(_http, "_requestParser"); + var _pauseStateChanged = dart.privateName(_http, "_pauseStateChanged"); + var _reset = dart.privateName(_http, "_reset"); + var _onData$1 = dart.privateName(_http, "_onData"); + var _onDone = dart.privateName(_http, "_onDone"); + var _doParse = dart.privateName(_http, "_doParse"); + var _reportBodyError = dart.privateName(_http, "_reportBodyError"); + var _reportHttpError = dart.privateName(_http, "_reportHttpError"); + var _createIncoming = dart.privateName(_http, "_createIncoming"); + var _closeIncoming = dart.privateName(_http, "_closeIncoming"); + var _headersEnd = dart.privateName(_http, "_headersEnd"); + var _addWithValidation = dart.privateName(_http, "_addWithValidation"); + var _expect = dart.privateName(_http, "_expect"); + var _expectHexDigit = dart.privateName(_http, "_expectHexDigit"); + var _releaseBuffer = dart.privateName(_http, "_releaseBuffer"); + var _reportSizeLimitError = dart.privateName(_http, "_reportSizeLimitError"); + _http._HttpParser = class _HttpParser extends async.Stream$(_http._HttpIncoming) { + static requestParser() { + return new _http._HttpParser.__(true); + } + static responseParser() { + return new _http._HttpParser.__(false); + } + listen(onData, opts) { + let onError = opts && 'onError' in opts ? opts.onError : null; + let onDone = opts && 'onDone' in opts ? opts.onDone : null; + let cancelOnError = opts && 'cancelOnError' in opts ? opts.cancelOnError : null; + return this[_controller$0].stream.listen(onData, {onError: onError, onDone: onDone, cancelOnError: cancelOnError}); + } + listenToStream(stream) { + if (stream == null) dart.nullFailed(I[182], 312, 41, "stream"); + this[_socketSubscription$] = stream.listen(dart.bind(this, _onData$1), {onError: dart.bind(this[_controller$0], 'addError'), onDone: dart.bind(this, _onDone)}); + } + [_parse]() { + try { + this[_doParse](); + } catch (e$) { + let e = dart.getThrown(e$); + let s = dart.stackTrace(e$); + if (core.Object.is(e)) { + if (dart.notNull(this[_state$1]) >= 17 && dart.notNull(this[_state$1]) <= 24) { + this[_state$1] = 27; + this[_reportBodyError](e, s); + } else { + this[_state$1] = 27; + this[_reportHttpError](e, s); + } + } else + throw e$; + } + } + [_headersEnd]() { + let headers = dart.nullCheck(this[_headers]); + if (!dart.test(this[_requestParser$]) && dart.notNull(this[_statusCode]) >= 200 && dart.notNull(this[_statusCode]) < 300 && dart.test(this.connectMethod)) { + this[_transferLength$] = -1; + headers.chunkedTransferEncoding = false; + this[_chunked] = false; + headers.removeAll("content-length"); + headers.removeAll("transfer-encoding"); + } + headers[_mutable] = false; + this[_transferLength$] = headers.contentLength; + if (dart.test(this[_chunked])) this[_transferLength$] = -1; + if (this[_messageType] === 1 && dart.notNull(this[_transferLength$]) < 0 && this[_chunked] === false) { + this[_transferLength$] = 0; + } + if (dart.test(this[_connectionUpgrade])) { + this[_state$1] = 26; + this[_transferLength$] = 0; + } + let incoming = this[_createIncoming](this[_transferLength$]); + if (dart.test(this[_requestParser$])) { + incoming.method = core.String.fromCharCodes(this[_method$]); + incoming.uri = core.Uri.parse(core.String.fromCharCodes(this[_uriOrReasonPhrase])); + } else { + incoming.statusCode = this[_statusCode]; + incoming.reasonPhrase = core.String.fromCharCodes(this[_uriOrReasonPhrase]); + } + this[_method$][$clear](); + this[_uriOrReasonPhrase][$clear](); + if (dart.test(this[_connectionUpgrade])) { + incoming.upgraded = true; + this[_parserCalled] = false; + this[_closeIncoming](); + this[_controller$0].add(incoming); + return true; + } + if (this[_transferLength$] === 0 || this[_messageType] === 0 && dart.test(this[_noMessageBody])) { + this[_reset](); + this[_closeIncoming](); + this[_controller$0].add(incoming); + return false; + } else if (dart.test(this[_chunked])) { + this[_state$1] = 19; + this[_remainingContent] = 0; + } else if (dart.notNull(this[_transferLength$]) > 0) { + this[_remainingContent] = this[_transferLength$]; + this[_state$1] = 24; + } else { + this[_state$1] = 24; + } + this[_parserCalled] = false; + this[_controller$0].add(incoming); + return true; + } + [_doParse]() { + if (!!dart.test(this[_parserCalled])) dart.assertFailed(null, I[182], 426, 12, "!_parserCalled"); + this[_parserCalled] = true; + if (this[_state$1] === 25) { + dart.throw(new _http.HttpException.new("Data on closed connection")); + } + if (this[_state$1] === 27) { + dart.throw(new _http.HttpException.new("Data on failed connection")); + } + while (this[_buffer$1] != null && dart.notNull(this[_index$1]) < dart.notNull(dart.nullCheck(this[_buffer$1])[$length]) && this[_state$1] !== 27 && this[_state$1] !== 26) { + if (this[_incoming$] != null && dart.test(this[_bodyPaused]) || this[_incoming$] == null && dart.test(this[_paused])) { + this[_parserCalled] = false; + return; + } + let index = this[_index$1]; + let byte = dart.nullCheck(this[_buffer$1])[$_get](index); + this[_index$1] = dart.notNull(index) + 1; + switch (this[_state$1]) { + case 0: + { + if (byte == _http._Const.HTTP[$_get](0)) { + this[_httpVersionIndex] = 1; + this[_state$1] = 1; + } else { + if (!dart.test(_http._HttpParser._isTokenChar(byte))) { + dart.throw(new _http.HttpException.new("Invalid request method")); + } + this[_addWithValidation](this[_method$], byte); + if (!dart.test(this[_requestParser$])) { + dart.throw(new _http.HttpException.new("Invalid response line")); + } + this[_state$1] = 3; + } + break; + } + case 1: + { + let httpVersionIndex = dart.nullCheck(this[_httpVersionIndex]); + if (httpVersionIndex < dart.notNull(_http._Const.HTTP[$length]) && byte == _http._Const.HTTP[$_get](httpVersionIndex)) { + this[_httpVersionIndex] = httpVersionIndex + 1; + } else if (httpVersionIndex === _http._Const.HTTP[$length] && byte === 47) { + this[_httpVersionIndex] = httpVersionIndex + 1; + if (dart.test(this[_requestParser$])) { + dart.throw(new _http.HttpException.new("Invalid request line")); + } + this[_state$1] = 2; + } else { + for (let i = 0; i < httpVersionIndex; i = i + 1) { + this[_addWithValidation](this[_method$], _http._Const.HTTP[$_get](i)); + } + if (byte === 32) { + this[_state$1] = 4; + } else { + this[_addWithValidation](this[_method$], byte); + this[_httpVersion] = 0; + if (!dart.test(this[_requestParser$])) { + dart.throw(new _http.HttpException.new("Invalid response line")); + } + this[_state$1] = 3; + } + } + break; + } + case 2: + { + let httpVersionIndex = dart.nullCheck(this[_httpVersionIndex]); + if (httpVersionIndex < dart.notNull(_http._Const.HTTP1DOT[$length])) { + this[_expect](byte, _http._Const.HTTP1DOT[$_get](httpVersionIndex)); + this[_httpVersionIndex] = httpVersionIndex + 1; + } else if (httpVersionIndex === _http._Const.HTTP1DOT[$length] && byte === 49) { + this[_httpVersion] = 2; + this[_persistentConnection] = true; + this[_httpVersionIndex] = httpVersionIndex + 1; + } else if (httpVersionIndex === _http._Const.HTTP1DOT[$length] && byte === 48) { + this[_httpVersion] = 1; + this[_persistentConnection] = false; + this[_httpVersionIndex] = httpVersionIndex + 1; + } else if (httpVersionIndex === dart.notNull(_http._Const.HTTP1DOT[$length]) + 1) { + this[_expect](byte, 32); + this[_state$1] = 7; + } else { + dart.throw(new _http.HttpException.new("Invalid response line, failed to parse HTTP version")); + } + break; + } + case 3: + { + if (byte === 32) { + this[_state$1] = 4; + } else { + if (dart.test(_http._Const.SEPARATOR_MAP[$_get](byte)) || byte === 13 || byte === 10) { + dart.throw(new _http.HttpException.new("Invalid request method")); + } + this[_addWithValidation](this[_method$], byte); + } + break; + } + case 4: + { + if (byte === 32) { + if (this[_uriOrReasonPhrase][$length] === 0) { + dart.throw(new _http.HttpException.new("Invalid request, empty URI")); + } + this[_state$1] = 5; + this[_httpVersionIndex] = 0; + } else { + if (byte === 13 || byte === 10) { + dart.throw(new _http.HttpException.new("Invalid request, unexpected " + dart.str(byte) + " in URI")); + } + this[_addWithValidation](this[_uriOrReasonPhrase], byte); + } + break; + } + case 5: + { + let httpVersionIndex = dart.nullCheck(this[_httpVersionIndex]); + if (httpVersionIndex < dart.notNull(_http._Const.HTTP1DOT[$length])) { + this[_expect](byte, _http._Const.HTTP11[$_get](httpVersionIndex)); + this[_httpVersionIndex] = httpVersionIndex + 1; + } else if (this[_httpVersionIndex] == _http._Const.HTTP1DOT[$length]) { + if (byte === 49) { + this[_httpVersion] = 2; + this[_persistentConnection] = true; + this[_httpVersionIndex] = httpVersionIndex + 1; + } else if (byte === 48) { + this[_httpVersion] = 1; + this[_persistentConnection] = false; + this[_httpVersionIndex] = httpVersionIndex + 1; + } else { + dart.throw(new _http.HttpException.new("Invalid response, invalid HTTP version")); + } + } else { + if (byte === 13) { + this[_state$1] = 6; + } else if (byte === 10) { + this[_state$1] = 6; + this[_index$1] = dart.notNull(this[_index$1]) - 1; + } + } + break; + } + case 6: + { + this[_expect](byte, 10); + this[_messageType] = 1; + this[_state$1] = 10; + break; + } + case 7: + { + if (byte === 32) { + this[_state$1] = 8; + } else if (byte === 13) { + this[_state$1] = 9; + } else if (byte === 10) { + this[_state$1] = 9; + this[_index$1] = dart.notNull(this[_index$1]) - 1; + } else { + this[_statusCodeLength] = dart.notNull(this[_statusCodeLength]) + 1; + if (dart.notNull(byte) < 48 || dart.notNull(byte) > 57) { + dart.throw(new _http.HttpException.new("Invalid response status code with " + dart.str(byte))); + } else if (dart.notNull(this[_statusCodeLength]) > 3) { + dart.throw(new _http.HttpException.new("Invalid response, status code is over 3 digits")); + } else { + this[_statusCode] = dart.notNull(this[_statusCode]) * 10 + dart.notNull(byte) - 48; + } + } + break; + } + case 8: + { + if (byte === 13) { + this[_state$1] = 9; + } else if (byte === 10) { + this[_state$1] = 9; + this[_index$1] = dart.notNull(this[_index$1]) - 1; + } else { + this[_addWithValidation](this[_uriOrReasonPhrase], byte); + } + break; + } + case 9: + { + this[_expect](byte, 10); + this[_messageType] === 0; + if (dart.notNull(this[_statusCode]) <= 199 || this[_statusCode] === 204 || this[_statusCode] === 304) { + this[_noMessageBody] = true; + } + this[_state$1] = 10; + break; + } + case 10: + { + this[_headers] = new _http._HttpHeaders.new(dart.nullCheck(this.version)); + if (byte === 13) { + this[_state$1] = 16; + } else if (byte === 10) { + this[_state$1] = 16; + this[_index$1] = dart.notNull(this[_index$1]) - 1; + } else { + this[_addWithValidation](this[_headerField], _http._HttpParser._toLowerCaseByte(byte)); + this[_state$1] = 11; + } + break; + } + case 11: + { + if (byte === 58) { + this[_state$1] = 12; + } else { + if (!dart.test(_http._HttpParser._isTokenChar(byte))) { + dart.throw(new _http.HttpException.new("Invalid header field name, with " + dart.str(byte))); + } + this[_addWithValidation](this[_headerField], _http._HttpParser._toLowerCaseByte(byte)); + } + break; + } + case 12: + { + if (byte === 13) { + this[_state$1] = 14; + } else if (byte === 10) { + this[_state$1] = 15; + } else if (byte !== 32 && byte !== 9) { + this[_addWithValidation](this[_headerValue], byte); + this[_state$1] = 13; + } + break; + } + case 13: + { + if (byte === 13) { + this[_state$1] = 14; + } else if (byte === 10) { + this[_state$1] = 15; + } else { + this[_addWithValidation](this[_headerValue], byte); + } + break; + } + case 14: + { + this[_expect](byte, 10); + this[_state$1] = 15; + break; + } + case 15: + { + if (byte === 32 || byte === 9) { + this[_state$1] = 12; + } else { + let headerField = core.String.fromCharCodes(this[_headerField]); + let headerValue = core.String.fromCharCodes(this[_headerValue]); + let errorIfBothText = "Both Content-Length and Transfer-Encoding are specified, at most one is allowed"; + if (headerField === "content-length") { + if (dart.test(this[_contentLength])) { + dart.throw(new _http.HttpException.new("The Content-Length header occurred " + "more than once, at most one is allowed.")); + } else if (dart.test(this[_transferEncoding])) { + dart.throw(new _http.HttpException.new(errorIfBothText)); + } + this[_contentLength] = true; + } else if (headerField === "transfer-encoding") { + this[_transferEncoding] = true; + if (dart.test(_http._HttpParser._caseInsensitiveCompare("chunked"[$codeUnits], this[_headerValue]))) { + this[_chunked] = true; + } + if (dart.test(this[_contentLength])) { + dart.throw(new _http.HttpException.new(errorIfBothText)); + } + } + let headers = dart.nullCheck(this[_headers]); + if (headerField === "connection") { + let tokens = _http._HttpParser._tokenizeFieldValue(headerValue); + let isResponse = this[_messageType] === 0; + let isUpgradeCode = this[_statusCode] === 426 || this[_statusCode] === 101; + for (let i = 0; i < dart.notNull(tokens[$length]); i = i + 1) { + let isUpgrade = _http._HttpParser._caseInsensitiveCompare("upgrade"[$codeUnits], tokens[$_get](i)[$codeUnits]); + if (dart.test(isUpgrade) && !isResponse || dart.test(isUpgrade) && isResponse && isUpgradeCode) { + this[_connectionUpgrade] = true; + } + headers[_add$1](headerField, tokens[$_get](i)); + } + } else { + headers[_add$1](headerField, headerValue); + } + this[_headerField][$clear](); + this[_headerValue][$clear](); + if (byte === 13) { + this[_state$1] = 16; + } else if (byte === 10) { + this[_state$1] = 16; + this[_index$1] = dart.notNull(this[_index$1]) - 1; + } else { + this[_state$1] = 11; + this[_addWithValidation](this[_headerField], _http._HttpParser._toLowerCaseByte(byte)); + } + } + break; + } + case 16: + { + this[_expect](byte, 10); + if (dart.test(this[_headersEnd]())) { + return; + } + break; + } + case 17: + { + if (byte === 10) { + this[_state$1] = 18; + this[_index$1] = dart.notNull(this[_index$1]) - 1; + break; + } + this[_expect](byte, 13); + this[_state$1] = 18; + break; + } + case 18: + { + this[_expect](byte, 10); + this[_state$1] = 19; + break; + } + case 19: + { + if (byte === 13) { + this[_state$1] = 21; + } else if (byte === 10) { + this[_state$1] = 21; + this[_index$1] = dart.notNull(this[_index$1]) - 1; + } else if (byte === 59) { + this[_state$1] = 20; + } else { + let value = this[_expectHexDigit](byte); + if (dart.notNull(this[_remainingContent]) > this[_chunkSizeLimit][$rightShift](4)) { + dart.throw(new _http.HttpException.new("Chunk size overflows the integer")); + } + this[_remainingContent] = dart.notNull(this[_remainingContent]) * 16 + dart.notNull(value); + } + break; + } + case 20: + { + if (byte === 13) { + this[_state$1] = 21; + } else if (byte === 10) { + this[_state$1] = 21; + this[_index$1] = dart.notNull(this[_index$1]) - 1; + } + break; + } + case 21: + { + this[_expect](byte, 10); + if (dart.notNull(this[_remainingContent]) > 0) { + this[_state$1] = 24; + } else { + this[_state$1] = 22; + } + break; + } + case 22: + { + if (byte === 10) { + this[_state$1] = 23; + this[_index$1] = dart.notNull(this[_index$1]) - 1; + break; + } + this[_expect](byte, 13); + break; + } + case 23: + { + this[_expect](byte, 10); + this[_reset](); + this[_closeIncoming](); + break; + } + case 24: + { + this[_index$1] = dart.notNull(this[_index$1]) - 1; + let buffer = dart.nullCheck(this[_buffer$1]); + let dataAvailable = dart.notNull(buffer[$length]) - dart.notNull(this[_index$1]); + if (dart.notNull(this[_remainingContent]) >= 0 && dart.notNull(dataAvailable) > dart.notNull(this[_remainingContent])) { + dataAvailable = this[_remainingContent]; + } + let data = typed_data.Uint8List.view(buffer[$buffer], dart.notNull(buffer[$offsetInBytes]) + dart.notNull(this[_index$1]), dataAvailable); + dart.nullCheck(this[_bodyController]).add(data); + if (this[_remainingContent] !== -1) { + this[_remainingContent] = dart.notNull(this[_remainingContent]) - dart.notNull(data[$length]); + } + this[_index$1] = dart.notNull(this[_index$1]) + dart.notNull(data[$length]); + if (this[_remainingContent] === 0) { + if (!dart.test(this[_chunked])) { + this[_reset](); + this[_closeIncoming](); + } else { + this[_state$1] = 17; + } + } + break; + } + case 27: + { + if (!false) dart.assertFailed(null, I[182], 851, 18, "false"); + break; + } + default: + { + if (!false) dart.assertFailed(null, I[182], 856, 18, "false"); + break; + } + } + } + this[_parserCalled] = false; + let buffer = this[_buffer$1]; + if (buffer != null && this[_index$1] == buffer[$length]) { + this[_releaseBuffer](); + if (this[_state$1] !== 26 && this[_state$1] !== 27) { + dart.nullCheck(this[_socketSubscription$]).resume(); + } + } + } + [_onData$1](buffer) { + if (buffer == null) dart.nullFailed(I[182], 873, 26, "buffer"); + dart.nullCheck(this[_socketSubscription$]).pause(); + if (!(this[_buffer$1] == null)) dart.assertFailed(null, I[182], 875, 12, "_buffer == null"); + this[_buffer$1] = buffer; + this[_index$1] = 0; + this[_parse](); + } + [_onDone]() { + this[_socketSubscription$] = null; + if (this[_state$1] === 25 || this[_state$1] === 27) return; + if (this[_incoming$] != null) { + if (this[_state$1] !== 26 && !(this[_state$1] === 0 && !dart.test(this[_requestParser$])) && !(this[_state$1] === 24 && !dart.test(this[_chunked]) && this[_transferLength$] === -1)) { + this[_reportBodyError](new _http.HttpException.new("Connection closed while receiving data")); + } + this[_closeIncoming](true); + this[_controller$0].close(); + return; + } + if (this[_state$1] === 0) { + if (!dart.test(this[_requestParser$])) { + this[_reportHttpError](new _http.HttpException.new("Connection closed before full header was received")); + } + this[_controller$0].close(); + return; + } + if (this[_state$1] === 26) { + this[_controller$0].close(); + return; + } + if (dart.notNull(this[_state$1]) < 17) { + this[_state$1] = 27; + this[_reportHttpError](new _http.HttpException.new("Connection closed before full header was received")); + this[_controller$0].close(); + return; + } + if (!dart.test(this[_chunked]) && this[_transferLength$] === -1) { + this[_state$1] = 25; + } else { + this[_state$1] = 27; + this[_reportHttpError](new _http.HttpException.new("Connection closed before full body was received")); + } + this[_controller$0].close(); + } + get version() { + switch (this[_httpVersion]) { + case 1: + { + return "1.0"; + } + case 2: + { + return "1.1"; + } + } + return null; + } + get messageType() { + return this[_messageType]; + } + get transferLength() { + return this[_transferLength$]; + } + get upgrade() { + return dart.test(this[_connectionUpgrade]) && this[_state$1] === 26; + } + get persistentConnection() { + return this[_persistentConnection]; + } + set isHead(value) { + if (value == null) dart.nullFailed(I[182], 949, 24, "value"); + this[_noMessageBody] = _internal.valueOfNonNullableParamWithDefault(core.bool, value, false); + } + detachIncoming() { + this[_state$1] = 26; + return new _http._HttpDetachedIncoming.new(this[_socketSubscription$], this.readUnparsedData()); + } + readUnparsedData() { + let buffer = this[_buffer$1]; + if (buffer == null) return null; + let index = this[_index$1]; + if (index == buffer[$length]) return null; + let result = buffer[$sublist](index); + this[_releaseBuffer](); + return result; + } + [_reset]() { + if (this[_state$1] === 26) return; + this[_state$1] = 0; + this[_messageType] = 0; + this[_headerField][$clear](); + this[_headerValue][$clear](); + this[_headersReceivedSize] = 0; + this[_method$][$clear](); + this[_uriOrReasonPhrase][$clear](); + this[_statusCode] = 0; + this[_statusCodeLength] = 0; + this[_httpVersion] = 0; + this[_transferLength$] = -1; + this[_persistentConnection] = false; + this[_connectionUpgrade] = false; + this[_chunked] = false; + this[_noMessageBody] = false; + this[_remainingContent] = -1; + this[_contentLength] = false; + this[_transferEncoding] = false; + this[_headers] = null; + } + [_releaseBuffer]() { + this[_buffer$1] = null; + this[_index$1] = -1; + } + static _isTokenChar(byte) { + if (byte == null) dart.nullFailed(I[182], 1002, 32, "byte"); + return dart.notNull(byte) > 31 && dart.notNull(byte) < 128 && !dart.test(_http._Const.SEPARATOR_MAP[$_get](byte)); + } + static _isValueChar(byte) { + if (byte == null) dart.nullFailed(I[182], 1006, 32, "byte"); + return dart.notNull(byte) > 31 && dart.notNull(byte) < 128 || byte === 9; + } + static _tokenizeFieldValue(headerValue) { + if (headerValue == null) dart.nullFailed(I[182], 1010, 50, "headerValue"); + let tokens = T$.JSArrayOfString().of([]); + let start = 0; + let index = 0; + while (index < headerValue.length) { + if (headerValue[$_get](index) === ",") { + tokens[$add](headerValue[$substring](start, index)); + start = index + 1; + } else if (headerValue[$_get](index) === " " || headerValue[$_get](index) === "\t") { + start = start + 1; + } + index = index + 1; + } + tokens[$add](headerValue[$substring](start, index)); + return tokens; + } + static _toLowerCaseByte(x) { + if (x == null) dart.nullFailed(I[182], 1027, 35, "x"); + return (dart.notNull(x) - 65 & 127) < 26 ? (dart.notNull(x) | 32) >>> 0 : x; + } + static _caseInsensitiveCompare(expected, value) { + if (expected == null) dart.nullFailed(I[182], 1037, 49, "expected"); + if (value == null) dart.nullFailed(I[182], 1037, 69, "value"); + if (expected[$length] != value[$length]) return false; + for (let i = 0; i < dart.notNull(expected[$length]); i = i + 1) { + if (expected[$_get](i) != _http._HttpParser._toLowerCaseByte(value[$_get](i))) return false; + } + return true; + } + [_expect](val1, val2) { + if (val1 == null) dart.nullFailed(I[182], 1045, 20, "val1"); + if (val2 == null) dart.nullFailed(I[182], 1045, 30, "val2"); + if (val1 != val2) { + dart.throw(new _http.HttpException.new("Failed to parse HTTP, " + dart.str(val1) + " does not match " + dart.str(val2))); + } + } + [_expectHexDigit](byte) { + if (byte == null) dart.nullFailed(I[182], 1051, 27, "byte"); + if (48 <= dart.notNull(byte) && dart.notNull(byte) <= 57) { + return dart.notNull(byte) - 48; + } else if (65 <= dart.notNull(byte) && dart.notNull(byte) <= 70) { + return dart.notNull(byte) - 65 + 10; + } else if (97 <= dart.notNull(byte) && dart.notNull(byte) <= 102) { + return dart.notNull(byte) - 97 + 10; + } else { + dart.throw(new _http.HttpException.new("Failed to parse HTTP, " + dart.str(byte) + " is expected to be a Hex digit")); + } + } + [_addWithValidation](list, byte) { + if (list == null) dart.nullFailed(I[182], 1064, 37, "list"); + if (byte == null) dart.nullFailed(I[182], 1064, 47, "byte"); + this[_headersReceivedSize] = dart.notNull(this[_headersReceivedSize]) + 1; + if (dart.notNull(this[_headersReceivedSize]) < 1048576) { + list[$add](byte); + } else { + this[_reportSizeLimitError](); + } + } + [_reportSizeLimitError]() { + let method = ""; + switch (this[_state$1]) { + case 0: + case 1: + case 3: + { + method = "Method"; + break; + } + case 4: + { + method = "URI"; + break; + } + case 8: + { + method = "Reason phrase"; + break; + } + case 10: + case 11: + { + method = "Header field"; + break; + } + case 12: + case 13: + { + method = "Header value"; + break; + } + default: + { + dart.throw(new core.UnsupportedError.new("Unexpected state: " + dart.str(this[_state$1]))); + break; + } + } + dart.throw(new _http.HttpException.new(method + " exceeds the " + dart.str(1048576) + " size limit")); + } + [_createIncoming](transferLength) { + let t302; + if (transferLength == null) dart.nullFailed(I[182], 1108, 37, "transferLength"); + if (!(this[_incoming$] == null)) dart.assertFailed(null, I[182], 1109, 12, "_incoming == null"); + if (!(this[_bodyController] == null)) dart.assertFailed(null, I[182], 1110, 12, "_bodyController == null"); + if (!!dart.test(this[_bodyPaused])) dart.assertFailed(null, I[182], 1111, 12, "!_bodyPaused"); + let controller = this[_bodyController] = T$0.StreamControllerOfUint8List().new({sync: true}); + let incoming = this[_incoming$] = new _http._HttpIncoming.new(dart.nullCheck(this[_headers]), transferLength, controller.stream); + t302 = controller; + (() => { + t302.onListen = dart.fn(() => { + if (!incoming[$_equals](this[_incoming$])) return; + if (!dart.test(this[_bodyPaused])) dart.assertFailed(null, I[182], 1119, 16, "_bodyPaused"); + this[_bodyPaused] = false; + this[_pauseStateChanged](); + }, T$.VoidTovoid()); + t302.onPause = dart.fn(() => { + if (!incoming[$_equals](this[_incoming$])) return; + if (!!dart.test(this[_bodyPaused])) dart.assertFailed(null, I[182], 1125, 16, "!_bodyPaused"); + this[_bodyPaused] = true; + this[_pauseStateChanged](); + }, T$.VoidTovoid()); + t302.onResume = dart.fn(() => { + if (!incoming[$_equals](this[_incoming$])) return; + if (!dart.test(this[_bodyPaused])) dart.assertFailed(null, I[182], 1131, 16, "_bodyPaused"); + this[_bodyPaused] = false; + this[_pauseStateChanged](); + }, T$.VoidTovoid()); + t302.onCancel = dart.fn(() => { + let t303; + if (!incoming[$_equals](this[_incoming$])) return; + t303 = this[_socketSubscription$]; + t303 == null ? null : t303.cancel(); + this[_closeIncoming](true); + this[_controller$0].close(); + }, T$.VoidToNull()); + return t302; + })(); + this[_bodyPaused] = true; + this[_pauseStateChanged](); + return incoming; + } + [_closeIncoming](closing = false) { + if (closing == null) dart.nullFailed(I[182], 1146, 29, "closing"); + let tmp = this[_incoming$]; + if (tmp == null) return; + tmp.close(closing); + this[_incoming$] = null; + let controller = this[_bodyController]; + if (controller != null) { + controller.close(); + this[_bodyController] = null; + } + this[_bodyPaused] = false; + this[_pauseStateChanged](); + } + [_pauseStateChanged]() { + if (this[_incoming$] != null) { + if (!dart.test(this[_bodyPaused]) && !dart.test(this[_parserCalled])) { + this[_parse](); + } + } else { + if (!dart.test(this[_paused]) && !dart.test(this[_parserCalled])) { + this[_parse](); + } + } + } + [_reportHttpError](error, stackTrace = null) { + let t302; + t302 = this[_socketSubscription$]; + t302 == null ? null : t302.cancel(); + this[_state$1] = 27; + this[_controller$0].addError(core.Object.as(error), T$.StackTraceN().as(stackTrace)); + this[_controller$0].close(); + } + [_reportBodyError](error, stackTrace = null) { + let t302, t302$, t302$0; + t302 = this[_socketSubscription$]; + t302 == null ? null : t302.cancel(); + this[_state$1] = 27; + t302$ = this[_bodyController]; + t302$ == null ? null : t302$.addError(core.Object.as(error), T$.StackTraceN().as(stackTrace)); + t302$0 = this[_bodyController]; + t302$0 == null ? null : t302$0.close(); + } + }; + (_http._HttpParser.__ = function(_requestParser) { + let t301; + if (_requestParser == null) dart.nullFailed(I[182], 286, 22, "_requestParser"); + this[_parserCalled] = false; + this[_buffer$1] = null; + this[_index$1] = -1; + this[_state$1] = 0; + this[_httpVersionIndex] = null; + this[_messageType] = 0; + this[_statusCode] = 0; + this[_statusCodeLength] = 0; + this[_method$] = T$.JSArrayOfint().of([]); + this[_uriOrReasonPhrase] = T$.JSArrayOfint().of([]); + this[_headerField] = T$.JSArrayOfint().of([]); + this[_headerValue] = T$.JSArrayOfint().of([]); + this[_headersReceivedSize] = 0; + this[_httpVersion] = 0; + this[_transferLength$] = -1; + this[_persistentConnection] = false; + this[_connectionUpgrade] = false; + this[_chunked] = false; + this[_noMessageBody] = false; + this[_remainingContent] = -1; + this[_contentLength] = false; + this[_transferEncoding] = false; + this.connectMethod = false; + this[_headers] = null; + this[_chunkSizeLimit] = 2147483647; + this[_incoming$] = null; + this[_socketSubscription$] = null; + this[_paused] = true; + this[_bodyPaused] = false; + this[_bodyController] = null; + this[_requestParser$] = _requestParser; + this[_controller$0] = T.StreamControllerOf_HttpIncoming().new({sync: true}); + _http._HttpParser.__proto__.new.call(this); + t301 = this[_controller$0]; + (() => { + t301.onListen = dart.fn(() => { + this[_paused] = false; + }, T$.VoidTovoid()); + t301.onPause = dart.fn(() => { + this[_paused] = true; + this[_pauseStateChanged](); + }, T$.VoidTovoid()); + t301.onResume = dart.fn(() => { + this[_paused] = false; + this[_pauseStateChanged](); + }, T$.VoidTovoid()); + t301.onCancel = dart.fn(() => { + let t302; + t302 = this[_socketSubscription$]; + t302 == null ? null : t302.cancel(); + }, T$.VoidToNull()); + return t301; + })(); + this[_reset](); + }).prototype = _http._HttpParser.prototype; + dart.addTypeTests(_http._HttpParser); + dart.addTypeCaches(_http._HttpParser); + dart.setMethodSignature(_http._HttpParser, () => ({ + __proto__: dart.getMethods(_http._HttpParser.__proto__), + listen: dart.fnType(async.StreamSubscription$(_http._HttpIncoming), [dart.nullable(dart.fnType(dart.void, [_http._HttpIncoming]))], {cancelOnError: dart.nullable(core.bool), onDone: dart.nullable(dart.fnType(dart.void, [])), onError: dart.nullable(core.Function)}, {}), + listenToStream: dart.fnType(dart.void, [async.Stream$(typed_data.Uint8List)]), + [_parse]: dart.fnType(dart.void, []), + [_headersEnd]: dart.fnType(core.bool, []), + [_doParse]: dart.fnType(dart.void, []), + [_onData$1]: dart.fnType(dart.void, [typed_data.Uint8List]), + [_onDone]: dart.fnType(dart.void, []), + detachIncoming: dart.fnType(_http._HttpDetachedIncoming, []), + readUnparsedData: dart.fnType(dart.nullable(typed_data.Uint8List), []), + [_reset]: dart.fnType(dart.void, []), + [_releaseBuffer]: dart.fnType(dart.void, []), + [_expect]: dart.fnType(dart.void, [core.int, core.int]), + [_expectHexDigit]: dart.fnType(core.int, [core.int]), + [_addWithValidation]: dart.fnType(dart.void, [core.List$(core.int), core.int]), + [_reportSizeLimitError]: dart.fnType(dart.void, []), + [_createIncoming]: dart.fnType(_http._HttpIncoming, [core.int]), + [_closeIncoming]: dart.fnType(dart.void, [], [core.bool]), + [_pauseStateChanged]: dart.fnType(dart.void, []), + [_reportHttpError]: dart.fnType(dart.void, [dart.dynamic], [dart.dynamic]), + [_reportBodyError]: dart.fnType(dart.void, [dart.dynamic], [dart.dynamic]) + })); + dart.setGetterSignature(_http._HttpParser, () => ({ + __proto__: dart.getGetters(_http._HttpParser.__proto__), + version: dart.nullable(core.String), + messageType: core.int, + transferLength: core.int, + upgrade: core.bool, + persistentConnection: core.bool + })); + dart.setSetterSignature(_http._HttpParser, () => ({ + __proto__: dart.getSetters(_http._HttpParser.__proto__), + isHead: core.bool + })); + dart.setLibraryUri(_http._HttpParser, I[177]); + dart.setFieldSignature(_http._HttpParser, () => ({ + __proto__: dart.getFields(_http._HttpParser.__proto__), + [_parserCalled]: dart.fieldType(core.bool), + [_buffer$1]: dart.fieldType(dart.nullable(typed_data.Uint8List)), + [_index$1]: dart.fieldType(core.int), + [_requestParser$]: dart.finalFieldType(core.bool), + [_state$1]: dart.fieldType(core.int), + [_httpVersionIndex]: dart.fieldType(dart.nullable(core.int)), + [_messageType]: dart.fieldType(core.int), + [_statusCode]: dart.fieldType(core.int), + [_statusCodeLength]: dart.fieldType(core.int), + [_method$]: dart.finalFieldType(core.List$(core.int)), + [_uriOrReasonPhrase]: dart.finalFieldType(core.List$(core.int)), + [_headerField]: dart.finalFieldType(core.List$(core.int)), + [_headerValue]: dart.finalFieldType(core.List$(core.int)), + [_headersReceivedSize]: dart.fieldType(core.int), + [_httpVersion]: dart.fieldType(core.int), + [_transferLength$]: dart.fieldType(core.int), + [_persistentConnection]: dart.fieldType(core.bool), + [_connectionUpgrade]: dart.fieldType(core.bool), + [_chunked]: dart.fieldType(core.bool), + [_noMessageBody]: dart.fieldType(core.bool), + [_remainingContent]: dart.fieldType(core.int), + [_contentLength]: dart.fieldType(core.bool), + [_transferEncoding]: dart.fieldType(core.bool), + connectMethod: dart.fieldType(core.bool), + [_headers]: dart.fieldType(dart.nullable(_http._HttpHeaders)), + [_chunkSizeLimit]: dart.fieldType(core.int), + [_incoming$]: dart.fieldType(dart.nullable(_http._HttpIncoming)), + [_socketSubscription$]: dart.fieldType(dart.nullable(async.StreamSubscription$(typed_data.Uint8List))), + [_paused]: dart.fieldType(core.bool), + [_bodyPaused]: dart.fieldType(core.bool), + [_controller$0]: dart.finalFieldType(async.StreamController$(_http._HttpIncoming)), + [_bodyController]: dart.fieldType(dart.nullable(async.StreamController$(typed_data.Uint8List))) + })); + dart.defineLazy(_http._HttpParser, { + /*_http._HttpParser._headerTotalSizeLimit*/get _headerTotalSizeLimit() { + return 1048576; + } + }, false); + var _timeoutCallback = dart.privateName(_http, "_timeoutCallback"); + var _prev = dart.privateName(_http, "_prev"); + var _next$4 = dart.privateName(_http, "_next"); + var _data$1 = dart.privateName(_http, "_data"); + var _lastSeen = dart.privateName(_http, "_lastSeen"); + var _removeFromTimeoutQueue = dart.privateName(_http, "_removeFromTimeoutQueue"); + var _sessions = dart.privateName(_http, "_sessions"); + var _bumpToEnd = dart.privateName(_http, "_bumpToEnd"); + _http._HttpSession = class _HttpSession extends core.Object { + destroy() { + if (!!dart.test(this[_destroyed])) dart.assertFailed(null, I[183], 28, 12, "!_destroyed"); + this[_destroyed] = true; + this[_sessionManager$][_removeFromTimeoutQueue](this); + this[_sessionManager$][_sessions][$remove](this.id); + } + [_markSeen]() { + this[_lastSeen] = new core.DateTime.now(); + this[_sessionManager$][_bumpToEnd](this); + } + get lastSeen() { + return this[_lastSeen]; + } + get isNew() { + return this[_isNew]; + } + set onTimeout(callback) { + this[_timeoutCallback] = callback; + } + containsValue(value) { + return this[_data$1][$containsValue](value); + } + containsKey(key) { + return this[_data$1][$containsKey](key); + } + _get(key) { + return this[_data$1][$_get](key); + } + _set(key, value$) { + let value = value$; + this[_data$1][$_set](key, value); + return value$; + } + putIfAbsent(key, ifAbsent) { + T$.VoidTodynamic().as(ifAbsent); + if (ifAbsent == null) dart.nullFailed(I[183], 57, 20, "ifAbsent"); + return this[_data$1][$putIfAbsent](key, ifAbsent); + } + addAll(other) { + core.Map.as(other); + if (other == null) dart.nullFailed(I[183], 58, 14, "other"); + return this[_data$1][$addAll](other); + } + remove(key) { + return this[_data$1][$remove](key); + } + clear() { + this[_data$1][$clear](); + } + forEach(f) { + if (f == null) dart.nullFailed(I[183], 64, 21, "f"); + this[_data$1][$forEach](f); + } + get entries() { + return this[_data$1][$entries]; + } + addEntries(entries) { + T.IterableOfMapEntry().as(entries); + if (entries == null) dart.nullFailed(I[183], 70, 38, "entries"); + this[_data$1][$addEntries](entries); + } + map(K, V, transform) { + if (transform == null) dart.nullFailed(I[183], 74, 38, "transform"); + return this[_data$1][$map](K, V, transform); + } + removeWhere(test) { + if (test == null) dart.nullFailed(I[183], 77, 25, "test"); + this[_data$1][$removeWhere](test); + } + cast(K, V) { + return this[_data$1][$cast](K, V); + } + update(key, update, opts) { + T$.dynamicTodynamic().as(update); + if (update == null) dart.nullFailed(I[183], 82, 15, "update"); + let ifAbsent = opts && 'ifAbsent' in opts ? opts.ifAbsent : null; + T.VoidToNdynamic().as(ifAbsent); + return this[_data$1][$update](key, update, {ifAbsent: ifAbsent}); + } + updateAll(update) { + T$0.dynamicAnddynamicTodynamic().as(update); + if (update == null) dart.nullFailed(I[183], 85, 18, "update"); + this[_data$1][$updateAll](update); + } + get keys() { + return this[_data$1][$keys]; + } + get values() { + return this[_data$1][$values]; + } + get length() { + return this[_data$1][$length]; + } + get isEmpty() { + return this[_data$1][$isEmpty]; + } + get isNotEmpty() { + return this[_data$1][$isNotEmpty]; + } + toString() { + return "HttpSession id:" + dart.str(this.id) + " " + dart.str(this[_data$1]); + } + }; + (_http._HttpSession.new = function(_sessionManager, id) { + if (_sessionManager == null) dart.nullFailed(I[183], 25, 21, "_sessionManager"); + if (id == null) dart.nullFailed(I[183], 25, 43, "id"); + this[_destroyed] = false; + this[_isNew] = true; + this[_timeoutCallback] = null; + this[_prev] = null; + this[_next$4] = null; + this[_data$1] = new _js_helper.LinkedMap.new(); + this[_sessionManager$] = _sessionManager; + this.id = id; + this[_lastSeen] = new core.DateTime.now(); + ; + }).prototype = _http._HttpSession.prototype; + dart.addTypeTests(_http._HttpSession); + dart.addTypeCaches(_http._HttpSession); + _http._HttpSession[dart.implements] = () => [_http.HttpSession]; + dart.setMethodSignature(_http._HttpSession, () => ({ + __proto__: dart.getMethods(_http._HttpSession.__proto__), + destroy: dart.fnType(dart.void, []), + [_markSeen]: dart.fnType(dart.void, []), + containsValue: dart.fnType(core.bool, [dart.nullable(core.Object)]), + [$containsValue]: dart.fnType(core.bool, [dart.nullable(core.Object)]), + containsKey: dart.fnType(core.bool, [dart.nullable(core.Object)]), + [$containsKey]: dart.fnType(core.bool, [dart.nullable(core.Object)]), + _get: dart.fnType(dart.dynamic, [dart.nullable(core.Object)]), + [$_get]: dart.fnType(dart.dynamic, [dart.nullable(core.Object)]), + _set: dart.fnType(dart.void, [dart.nullable(core.Object), dart.nullable(core.Object)]), + [$_set]: dart.fnType(dart.void, [dart.nullable(core.Object), dart.nullable(core.Object)]), + putIfAbsent: dart.fnType(dart.dynamic, [dart.nullable(core.Object), dart.nullable(core.Object)]), + [$putIfAbsent]: dart.fnType(dart.dynamic, [dart.nullable(core.Object), dart.nullable(core.Object)]), + addAll: dart.fnType(dart.void, [dart.nullable(core.Object)]), + [$addAll]: dart.fnType(dart.void, [dart.nullable(core.Object)]), + remove: dart.fnType(dart.dynamic, [dart.nullable(core.Object)]), + [$remove]: dart.fnType(dart.dynamic, [dart.nullable(core.Object)]), + clear: dart.fnType(dart.void, []), + [$clear]: dart.fnType(dart.void, []), + forEach: dart.fnType(dart.void, [dart.fnType(dart.void, [dart.dynamic, dart.dynamic])]), + [$forEach]: dart.fnType(dart.void, [dart.fnType(dart.void, [dart.dynamic, dart.dynamic])]), + addEntries: dart.fnType(dart.void, [dart.nullable(core.Object)]), + [$addEntries]: dart.fnType(dart.void, [dart.nullable(core.Object)]), + map: dart.gFnType((K, V) => [core.Map$(K, V), [dart.fnType(core.MapEntry$(K, V), [dart.dynamic, dart.dynamic])]], (K, V) => [dart.nullable(core.Object), dart.nullable(core.Object)]), + [$map]: dart.gFnType((K, V) => [core.Map$(K, V), [dart.fnType(core.MapEntry$(K, V), [dart.dynamic, dart.dynamic])]], (K, V) => [dart.nullable(core.Object), dart.nullable(core.Object)]), + removeWhere: dart.fnType(dart.void, [dart.fnType(core.bool, [dart.dynamic, dart.dynamic])]), + [$removeWhere]: dart.fnType(dart.void, [dart.fnType(core.bool, [dart.dynamic, dart.dynamic])]), + cast: dart.gFnType((K, V) => [core.Map$(K, V), []], (K, V) => [dart.nullable(core.Object), dart.nullable(core.Object)]), + [$cast]: dart.gFnType((K, V) => [core.Map$(K, V), []], (K, V) => [dart.nullable(core.Object), dart.nullable(core.Object)]), + update: dart.fnType(dart.dynamic, [dart.nullable(core.Object), dart.nullable(core.Object)], {ifAbsent: dart.nullable(core.Object)}, {}), + [$update]: dart.fnType(dart.dynamic, [dart.nullable(core.Object), dart.nullable(core.Object)], {ifAbsent: dart.nullable(core.Object)}, {}), + updateAll: dart.fnType(dart.void, [dart.nullable(core.Object)]), + [$updateAll]: dart.fnType(dart.void, [dart.nullable(core.Object)]) + })); + dart.setGetterSignature(_http._HttpSession, () => ({ + __proto__: dart.getGetters(_http._HttpSession.__proto__), + lastSeen: core.DateTime, + isNew: core.bool, + entries: core.Iterable$(core.MapEntry), + [$entries]: core.Iterable$(core.MapEntry), + keys: core.Iterable, + [$keys]: core.Iterable, + values: core.Iterable, + [$values]: core.Iterable, + length: core.int, + [$length]: core.int, + isEmpty: core.bool, + [$isEmpty]: core.bool, + isNotEmpty: core.bool, + [$isNotEmpty]: core.bool + })); + dart.setSetterSignature(_http._HttpSession, () => ({ + __proto__: dart.getSetters(_http._HttpSession.__proto__), + onTimeout: dart.nullable(dart.fnType(dart.void, [])) + })); + dart.setLibraryUri(_http._HttpSession, I[177]); + dart.setFieldSignature(_http._HttpSession, () => ({ + __proto__: dart.getFields(_http._HttpSession.__proto__), + [_destroyed]: dart.fieldType(core.bool), + [_isNew]: dart.fieldType(core.bool), + [_lastSeen]: dart.fieldType(core.DateTime), + [_timeoutCallback]: dart.fieldType(dart.nullable(core.Function)), + [_sessionManager$]: dart.fieldType(_http._HttpSessionManager), + [_prev]: dart.fieldType(dart.nullable(_http._HttpSession)), + [_next$4]: dart.fieldType(dart.nullable(_http._HttpSession)), + id: dart.finalFieldType(core.String), + [_data$1]: dart.finalFieldType(core.Map) + })); + dart.defineExtensionMethods(_http._HttpSession, [ + 'containsValue', + 'containsKey', + '_get', + '_set', + 'putIfAbsent', + 'addAll', + 'remove', + 'clear', + 'forEach', + 'addEntries', + 'map', + 'removeWhere', + 'cast', + 'update', + 'updateAll', + 'toString' + ]); + dart.defineExtensionAccessors(_http._HttpSession, [ + 'entries', + 'keys', + 'values', + 'length', + 'isEmpty', + 'isNotEmpty' + ]); + var _sessionTimeout = dart.privateName(_http, "_sessionTimeout"); + var _head$ = dart.privateName(_http, "_head"); + var _tail$ = dart.privateName(_http, "_tail"); + var _timer = dart.privateName(_http, "_timer"); + var _addToTimeoutQueue = dart.privateName(_http, "_addToTimeoutQueue"); + var _stopTimer = dart.privateName(_http, "_stopTimer"); + var _startTimer = dart.privateName(_http, "_startTimer"); + var _timerTimeout = dart.privateName(_http, "_timerTimeout"); + _http._HttpSessionManager = class _HttpSessionManager extends core.Object { + createSessionId() { + let data = _http._CryptoUtils.getRandomBytes(16); + return _http._CryptoUtils.bytesToHex(data); + } + getSession(id) { + if (id == null) dart.nullFailed(I[183], 118, 35, "id"); + return this[_sessions][$_get](id); + } + createSession() { + let t304, t303, t302; + let id = this.createSessionId(); + while (dart.test(this[_sessions][$containsKey](id))) { + id = this.createSessionId(); + } + let session = (t302 = this[_sessions], t303 = id, t304 = new _http._HttpSession.new(this, id), t302[$_set](t303, t304), t304); + this[_addToTimeoutQueue](session); + return session; + } + set sessionTimeout(timeout) { + if (timeout == null) dart.nullFailed(I[183], 132, 31, "timeout"); + this[_sessionTimeout] = timeout; + this[_stopTimer](); + this[_startTimer](); + } + close() { + this[_stopTimer](); + } + [_bumpToEnd](session) { + if (session == null) dart.nullFailed(I[183], 142, 32, "session"); + this[_removeFromTimeoutQueue](session); + this[_addToTimeoutQueue](session); + } + [_addToTimeoutQueue](session) { + if (session == null) dart.nullFailed(I[183], 147, 40, "session"); + if (this[_head$] == null) { + if (!(this[_tail$] == null)) dart.assertFailed(null, I[183], 149, 14, "_tail == null"); + this[_tail$] = this[_head$] = session; + this[_startTimer](); + } else { + if (!(this[_timer] != null)) dart.assertFailed(null, I[183], 153, 14, "_timer != null"); + let tail = dart.nullCheck(this[_tail$]); + tail[_next$4] = session; + session[_prev] = tail; + this[_tail$] = session; + } + } + [_removeFromTimeoutQueue](session) { + let t302, t302$; + if (session == null) dart.nullFailed(I[183], 162, 45, "session"); + let next = session[_next$4]; + let prev = session[_prev]; + session[_next$4] = session[_prev] = null; + t302 = next; + t302 == null ? null : t302[_prev] = prev; + t302$ = prev; + t302$ == null ? null : t302$[_next$4] = next; + if (dart.equals(this[_tail$], session)) { + this[_tail$] = prev; + } + if (dart.equals(this[_head$], session)) { + this[_head$] = next; + this[_stopTimer](); + this[_startTimer](); + } + } + [_timerTimeout]() { + let t302; + this[_stopTimer](); + let session = dart.nullCheck(this[_head$]); + session.destroy(); + t302 = session[_timeoutCallback]; + t302 == null ? null : dart.dcall(t302, []); + } + [_startTimer]() { + if (!(this[_timer] == null)) dart.assertFailed(null, I[183], 187, 12, "_timer == null"); + let head = this[_head$]; + if (head != null) { + let seconds = new core.DateTime.now().difference(head.lastSeen).inSeconds; + this[_timer] = async.Timer.new(new core.Duration.new({seconds: dart.notNull(this[_sessionTimeout]) - dart.notNull(seconds)}), dart.bind(this, _timerTimeout)); + } + } + [_stopTimer]() { + let timer = this[_timer]; + if (timer != null) { + timer.cancel(); + this[_timer] = null; + } + } + }; + (_http._HttpSessionManager.new = function() { + this[_sessionTimeout] = 20 * 60; + this[_head$] = null; + this[_tail$] = null; + this[_timer] = null; + this[_sessions] = new (T.IdentityMapOfString$_HttpSession()).new(); + ; + }).prototype = _http._HttpSessionManager.prototype; + dart.addTypeTests(_http._HttpSessionManager); + dart.addTypeCaches(_http._HttpSessionManager); + dart.setMethodSignature(_http._HttpSessionManager, () => ({ + __proto__: dart.getMethods(_http._HttpSessionManager.__proto__), + createSessionId: dart.fnType(core.String, []), + getSession: dart.fnType(dart.nullable(_http._HttpSession), [core.String]), + createSession: dart.fnType(_http._HttpSession, []), + close: dart.fnType(dart.void, []), + [_bumpToEnd]: dart.fnType(dart.void, [_http._HttpSession]), + [_addToTimeoutQueue]: dart.fnType(dart.void, [_http._HttpSession]), + [_removeFromTimeoutQueue]: dart.fnType(dart.void, [_http._HttpSession]), + [_timerTimeout]: dart.fnType(dart.void, []), + [_startTimer]: dart.fnType(dart.void, []), + [_stopTimer]: dart.fnType(dart.void, []) + })); + dart.setSetterSignature(_http._HttpSessionManager, () => ({ + __proto__: dart.getSetters(_http._HttpSessionManager.__proto__), + sessionTimeout: core.int + })); + dart.setLibraryUri(_http._HttpSessionManager, I[177]); + dart.setFieldSignature(_http._HttpSessionManager, () => ({ + __proto__: dart.getFields(_http._HttpSessionManager.__proto__), + [_sessions]: dart.fieldType(core.Map$(core.String, _http._HttpSession)), + [_sessionTimeout]: dart.fieldType(core.int), + [_head$]: dart.fieldType(dart.nullable(_http._HttpSession)), + [_tail$]: dart.fieldType(dart.nullable(_http._HttpSession)), + [_timer]: dart.fieldType(dart.nullable(async.Timer)) + })); + _http.HttpOverrides = class HttpOverrides extends core.Object { + static get current() { + let t302; + return T.HttpOverridesN().as((t302 = async.Zone.current._get(_http._httpOverridesToken), t302 == null ? _http.HttpOverrides._global : t302)); + } + static set global(overrides) { + _http.HttpOverrides._global = overrides; + } + static runZoned(R, body, opts) { + if (body == null) dart.nullFailed(I[184], 49, 26, "body"); + let createHttpClient = opts && 'createHttpClient' in opts ? opts.createHttpClient : null; + let findProxyFromEnvironment = opts && 'findProxyFromEnvironment' in opts ? opts.findProxyFromEnvironment : null; + let overrides = new _http._HttpOverridesScope.new(createHttpClient, findProxyFromEnvironment); + return _http._asyncRunZoned(R, body, {zoneValues: new (T$0.LinkedMapOfObjectN$ObjectN()).from([_http._httpOverridesToken, overrides])}); + } + static runWithHttpOverrides(R, body, overrides) { + if (body == null) dart.nullFailed(I[184], 63, 38, "body"); + if (overrides == null) dart.nullFailed(I[184], 63, 60, "overrides"); + return _http._asyncRunZoned(R, body, {zoneValues: new (T$0.LinkedMapOfObjectN$ObjectN()).from([_http._httpOverridesToken, overrides])}); + } + createHttpClient(context) { + return new _http._HttpClient.new(context); + } + findProxyFromEnvironment(url, environment) { + if (url == null) dart.nullFailed(I[184], 80, 39, "url"); + return _http._HttpClient._findProxyFromEnvironment(url, environment); + } + }; + (_http.HttpOverrides.new = function() { + ; + }).prototype = _http.HttpOverrides.prototype; + dart.addTypeTests(_http.HttpOverrides); + dart.addTypeCaches(_http.HttpOverrides); + dart.setMethodSignature(_http.HttpOverrides, () => ({ + __proto__: dart.getMethods(_http.HttpOverrides.__proto__), + createHttpClient: dart.fnType(_http.HttpClient, [dart.nullable(io.SecurityContext)]), + findProxyFromEnvironment: dart.fnType(core.String, [core.Uri, dart.nullable(core.Map$(core.String, core.String))]) + })); + dart.setLibraryUri(_http.HttpOverrides, I[177]); + dart.defineLazy(_http.HttpOverrides, { + /*_http.HttpOverrides._global*/get _global() { + return null; + }, + set _global(_) {} + }, false); + var _previous$5 = dart.privateName(_http, "_previous"); + var _createHttpClient$ = dart.privateName(_http, "_createHttpClient"); + var _findProxyFromEnvironment$ = dart.privateName(_http, "_findProxyFromEnvironment"); + _http._HttpOverridesScope = class _HttpOverridesScope extends _http.HttpOverrides { + createHttpClient(context) { + let createHttpClient = this[_createHttpClient$]; + if (createHttpClient != null) return createHttpClient(context); + let previous = this[_previous$5]; + if (previous != null) return previous.createHttpClient(context); + return super.createHttpClient(context); + } + findProxyFromEnvironment(url, environment) { + if (url == null) dart.nullFailed(I[184], 103, 39, "url"); + let findProxyFromEnvironment = this[_findProxyFromEnvironment$]; + if (findProxyFromEnvironment != null) { + return findProxyFromEnvironment(url, environment); + } + let previous = this[_previous$5]; + if (previous != null) { + return previous.findProxyFromEnvironment(url, environment); + } + return super.findProxyFromEnvironment(url, environment); + } + }; + (_http._HttpOverridesScope.new = function(_createHttpClient, _findProxyFromEnvironment) { + this[_previous$5] = _http.HttpOverrides.current; + this[_createHttpClient$] = _createHttpClient; + this[_findProxyFromEnvironment$] = _findProxyFromEnvironment; + ; + }).prototype = _http._HttpOverridesScope.prototype; + dart.addTypeTests(_http._HttpOverridesScope); + dart.addTypeCaches(_http._HttpOverridesScope); + dart.setLibraryUri(_http._HttpOverridesScope, I[177]); + dart.setFieldSignature(_http._HttpOverridesScope, () => ({ + __proto__: dart.getFields(_http._HttpOverridesScope.__proto__), + [_previous$5]: dart.finalFieldType(dart.nullable(_http.HttpOverrides)), + [_createHttpClient$]: dart.finalFieldType(dart.nullable(dart.fnType(_http.HttpClient, [dart.nullable(io.SecurityContext)]))), + [_findProxyFromEnvironment$]: dart.finalFieldType(dart.nullable(dart.fnType(core.String, [core.Uri, dart.nullable(core.Map$(core.String, core.String))]))) + })); + _http.WebSocketStatus = class WebSocketStatus extends core.Object {}; + (_http.WebSocketStatus.new = function() { + ; + }).prototype = _http.WebSocketStatus.prototype; + dart.addTypeTests(_http.WebSocketStatus); + dart.addTypeCaches(_http.WebSocketStatus); + dart.setLibraryUri(_http.WebSocketStatus, I[177]); + dart.defineLazy(_http.WebSocketStatus, { + /*_http.WebSocketStatus.normalClosure*/get normalClosure() { + return 1000; + }, + /*_http.WebSocketStatus.goingAway*/get goingAway() { + return 1001; + }, + /*_http.WebSocketStatus.protocolError*/get protocolError() { + return 1002; + }, + /*_http.WebSocketStatus.unsupportedData*/get unsupportedData() { + return 1003; + }, + /*_http.WebSocketStatus.reserved1004*/get reserved1004() { + return 1004; + }, + /*_http.WebSocketStatus.noStatusReceived*/get noStatusReceived() { + return 1005; + }, + /*_http.WebSocketStatus.abnormalClosure*/get abnormalClosure() { + return 1006; + }, + /*_http.WebSocketStatus.invalidFramePayloadData*/get invalidFramePayloadData() { + return 1007; + }, + /*_http.WebSocketStatus.policyViolation*/get policyViolation() { + return 1008; + }, + /*_http.WebSocketStatus.messageTooBig*/get messageTooBig() { + return 1009; + }, + /*_http.WebSocketStatus.missingMandatoryExtension*/get missingMandatoryExtension() { + return 1010; + }, + /*_http.WebSocketStatus.internalServerError*/get internalServerError() { + return 1011; + }, + /*_http.WebSocketStatus.reserved1015*/get reserved1015() { + return 1015; + }, + /*_http.WebSocketStatus.NORMAL_CLOSURE*/get NORMAL_CLOSURE() { + return 1000; + }, + /*_http.WebSocketStatus.GOING_AWAY*/get GOING_AWAY() { + return 1001; + }, + /*_http.WebSocketStatus.PROTOCOL_ERROR*/get PROTOCOL_ERROR() { + return 1002; + }, + /*_http.WebSocketStatus.UNSUPPORTED_DATA*/get UNSUPPORTED_DATA() { + return 1003; + }, + /*_http.WebSocketStatus.RESERVED_1004*/get RESERVED_1004() { + return 1004; + }, + /*_http.WebSocketStatus.NO_STATUS_RECEIVED*/get NO_STATUS_RECEIVED() { + return 1005; + }, + /*_http.WebSocketStatus.ABNORMAL_CLOSURE*/get ABNORMAL_CLOSURE() { + return 1006; + }, + /*_http.WebSocketStatus.INVALID_FRAME_PAYLOAD_DATA*/get INVALID_FRAME_PAYLOAD_DATA() { + return 1007; + }, + /*_http.WebSocketStatus.POLICY_VIOLATION*/get POLICY_VIOLATION() { + return 1008; + }, + /*_http.WebSocketStatus.MESSAGE_TOO_BIG*/get MESSAGE_TOO_BIG() { + return 1009; + }, + /*_http.WebSocketStatus.MISSING_MANDATORY_EXTENSION*/get MISSING_MANDATORY_EXTENSION() { + return 1010; + }, + /*_http.WebSocketStatus.INTERNAL_SERVER_ERROR*/get INTERNAL_SERVER_ERROR() { + return 1011; + }, + /*_http.WebSocketStatus.RESERVED_1015*/get RESERVED_1015() { + return 1015; + } + }, false); + var clientNoContextTakeover$ = dart.privateName(_http, "CompressionOptions.clientNoContextTakeover"); + var serverNoContextTakeover$ = dart.privateName(_http, "CompressionOptions.serverNoContextTakeover"); + var clientMaxWindowBits$ = dart.privateName(_http, "CompressionOptions.clientMaxWindowBits"); + var serverMaxWindowBits$ = dart.privateName(_http, "CompressionOptions.serverMaxWindowBits"); + var enabled$ = dart.privateName(_http, "CompressionOptions.enabled"); + var _createServerResponseHeader = dart.privateName(_http, "_createServerResponseHeader"); + var _createClientRequestHeader = dart.privateName(_http, "_createClientRequestHeader"); + var _createHeader = dart.privateName(_http, "_createHeader"); + _http.CompressionOptions = class CompressionOptions extends core.Object { + get clientNoContextTakeover() { + return this[clientNoContextTakeover$]; + } + set clientNoContextTakeover(value) { + super.clientNoContextTakeover = value; + } + get serverNoContextTakeover() { + return this[serverNoContextTakeover$]; + } + set serverNoContextTakeover(value) { + super.serverNoContextTakeover = value; + } + get clientMaxWindowBits() { + return this[clientMaxWindowBits$]; + } + set clientMaxWindowBits(value) { + super.clientMaxWindowBits = value; + } + get serverMaxWindowBits() { + return this[serverMaxWindowBits$]; + } + set serverMaxWindowBits(value) { + super.serverMaxWindowBits = value; + } + get enabled() { + return this[enabled$]; + } + set enabled(value) { + super.enabled = value; + } + [_createServerResponseHeader](requested) { + let t302, t302$, t302$0; + let info = new _http._CompressionMaxWindowBits.new("", 0); + let part = (t302 = requested, t302 == null ? null : t302.parameters[$_get]("server_max_window_bits")); + if (part != null) { + if (part.length >= 2 && part[$startsWith]("0")) { + dart.throw(new core.ArgumentError.new("Illegal 0 padding on value.")); + } else { + let mwb = (t302$0 = (t302$ = this.serverMaxWindowBits, t302$ == null ? core.int.tryParse(part) : t302$), t302$0 == null ? 15 : t302$0); + info.headerValue = "; server_max_window_bits=" + dart.str(mwb); + info.maxWindowBits = mwb; + } + } else { + info.headerValue = ""; + info.maxWindowBits = 15; + } + return info; + } + [_createClientRequestHeader](requested, size) { + if (size == null) dart.nullFailed(I[185], 156, 65, "size"); + let info = ""; + if (requested != null) { + info = "; client_max_window_bits=" + dart.str(size); + } else { + if (this.clientMaxWindowBits == null) { + info = "; client_max_window_bits"; + } else { + info = "; client_max_window_bits=" + dart.str(this.clientMaxWindowBits); + } + if (this.serverMaxWindowBits != null) { + info = info + ("; server_max_window_bits=" + dart.str(this.serverMaxWindowBits)); + } + } + return info; + } + [_createHeader](requested = null) { + let t302, t302$, t302$0, t302$1; + let info = new _http._CompressionMaxWindowBits.new("", 0); + if (!dart.test(this.enabled)) { + return info; + } + info.headerValue = "permessage-deflate"; + if (dart.test(this.clientNoContextTakeover) && (requested == null || requested != null && dart.test(requested.parameters[$containsKey]("client_no_context_takeover")))) { + t302 = info; + t302.headerValue = dart.notNull(t302.headerValue) + "; client_no_context_takeover"; + } + if (dart.test(this.serverNoContextTakeover) && (requested == null || requested != null && dart.test(requested.parameters[$containsKey]("server_no_context_takeover")))) { + t302$ = info; + t302$.headerValue = dart.notNull(t302$.headerValue) + "; server_no_context_takeover"; + } + let headerList = this[_createServerResponseHeader](requested); + t302$0 = info; + t302$0.headerValue = dart.notNull(t302$0.headerValue) + dart.notNull(headerList.headerValue); + info.maxWindowBits = headerList.maxWindowBits; + t302$1 = info; + t302$1.headerValue = dart.notNull(t302$1.headerValue) + dart.notNull(this[_createClientRequestHeader](requested, info.maxWindowBits)); + return info; + } + }; + (_http.CompressionOptions.new = function(opts) { + let clientNoContextTakeover = opts && 'clientNoContextTakeover' in opts ? opts.clientNoContextTakeover : false; + if (clientNoContextTakeover == null) dart.nullFailed(I[185], 120, 13, "clientNoContextTakeover"); + let serverNoContextTakeover = opts && 'serverNoContextTakeover' in opts ? opts.serverNoContextTakeover : false; + if (serverNoContextTakeover == null) dart.nullFailed(I[185], 121, 12, "serverNoContextTakeover"); + let clientMaxWindowBits = opts && 'clientMaxWindowBits' in opts ? opts.clientMaxWindowBits : null; + let serverMaxWindowBits = opts && 'serverMaxWindowBits' in opts ? opts.serverMaxWindowBits : null; + let enabled = opts && 'enabled' in opts ? opts.enabled : true; + if (enabled == null) dart.nullFailed(I[185], 124, 12, "enabled"); + this[clientNoContextTakeover$] = clientNoContextTakeover; + this[serverNoContextTakeover$] = serverNoContextTakeover; + this[clientMaxWindowBits$] = clientMaxWindowBits; + this[serverMaxWindowBits$] = serverMaxWindowBits; + this[enabled$] = enabled; + ; + }).prototype = _http.CompressionOptions.prototype; + dart.addTypeTests(_http.CompressionOptions); + dart.addTypeCaches(_http.CompressionOptions); + dart.setMethodSignature(_http.CompressionOptions, () => ({ + __proto__: dart.getMethods(_http.CompressionOptions.__proto__), + [_createServerResponseHeader]: dart.fnType(_http._CompressionMaxWindowBits, [dart.nullable(_http.HeaderValue)]), + [_createClientRequestHeader]: dart.fnType(core.String, [dart.nullable(_http.HeaderValue), core.int]), + [_createHeader]: dart.fnType(_http._CompressionMaxWindowBits, [], [dart.nullable(_http.HeaderValue)]) + })); + dart.setLibraryUri(_http.CompressionOptions, I[177]); + dart.setFieldSignature(_http.CompressionOptions, () => ({ + __proto__: dart.getFields(_http.CompressionOptions.__proto__), + clientNoContextTakeover: dart.finalFieldType(core.bool), + serverNoContextTakeover: dart.finalFieldType(core.bool), + clientMaxWindowBits: dart.finalFieldType(dart.nullable(core.int)), + serverMaxWindowBits: dart.finalFieldType(dart.nullable(core.int)), + enabled: dart.finalFieldType(core.bool) + })); + dart.defineLazy(_http.CompressionOptions, { + /*_http.CompressionOptions.compressionDefault*/get compressionDefault() { + return C[486] || CT.C486; + }, + /*_http.CompressionOptions.DEFAULT*/get DEFAULT() { + return C[486] || CT.C486; + }, + /*_http.CompressionOptions.compressionOff*/get compressionOff() { + return C[487] || CT.C487; + }, + /*_http.CompressionOptions.OFF*/get OFF() { + return C[487] || CT.C487; + } + }, false); + _http.WebSocketTransformer = class WebSocketTransformer extends core.Object { + static new(opts) { + let protocolSelector = opts && 'protocolSelector' in opts ? opts.protocolSelector : null; + let compression = opts && 'compression' in opts ? opts.compression : C[486] || CT.C486; + if (compression == null) dart.nullFailed(I[185], 265, 26, "compression"); + return new _http._WebSocketTransformerImpl.new(protocolSelector, compression); + } + static upgrade(request, opts) { + if (request == null) dart.nullFailed(I[185], 286, 48, "request"); + let protocolSelector = opts && 'protocolSelector' in opts ? opts.protocolSelector : null; + let compression = opts && 'compression' in opts ? opts.compression : C[486] || CT.C486; + if (compression == null) dart.nullFailed(I[185], 288, 26, "compression"); + return _http._WebSocketTransformerImpl._upgrade(request, protocolSelector, compression); + } + static isUpgradeRequest(request) { + if (request == null) dart.nullFailed(I[185], 296, 44, "request"); + return _http._WebSocketTransformerImpl._isUpgradeRequest(request); + } + }; + (_http.WebSocketTransformer[dart.mixinNew] = function() { + }).prototype = _http.WebSocketTransformer.prototype; + dart.addTypeTests(_http.WebSocketTransformer); + dart.addTypeCaches(_http.WebSocketTransformer); + _http.WebSocketTransformer[dart.implements] = () => [async.StreamTransformer$(_http.HttpRequest, _http.WebSocket)]; + dart.setLibraryUri(_http.WebSocketTransformer, I[177]); + var pingInterval = dart.privateName(_http, "WebSocket.pingInterval"); + _http.WebSocket = class WebSocket extends core.Object { + get pingInterval() { + return this[pingInterval]; + } + set pingInterval(value) { + this[pingInterval] = value; + } + static connect(url, opts) { + if (url == null) dart.nullFailed(I[185], 374, 43, "url"); + let protocols = opts && 'protocols' in opts ? opts.protocols : null; + let headers = opts && 'headers' in opts ? opts.headers : null; + let compression = opts && 'compression' in opts ? opts.compression : C[486] || CT.C486; + if (compression == null) dart.nullFailed(I[185], 377, 30, "compression"); + return _http._WebSocketImpl.connect(url, protocols, headers, {compression: compression}); + } + static fromUpgradedSocket(socket, opts) { + if (socket == null) dart.nullFailed(I[185], 404, 47, "socket"); + let protocol = opts && 'protocol' in opts ? opts.protocol : null; + let serverSide = opts && 'serverSide' in opts ? opts.serverSide : null; + let compression = opts && 'compression' in opts ? opts.compression : C[486] || CT.C486; + if (compression == null) dart.nullFailed(I[185], 407, 26, "compression"); + if (serverSide == null) { + dart.throw(new core.ArgumentError.new("The serverSide argument must be passed " + "explicitly to WebSocket.fromUpgradedSocket.")); + } + return new _http._WebSocketImpl._fromSocket(socket, protocol, compression, serverSide); + } + static get userAgent() { + return _http._WebSocketImpl.userAgent; + } + static set userAgent(userAgent) { + _http._WebSocketImpl.userAgent = userAgent; + } + }; + (_http.WebSocket.new = function() { + this[pingInterval] = null; + ; + }).prototype = _http.WebSocket.prototype; + _http.WebSocket.prototype[dart.isStream] = true; + dart.addTypeTests(_http.WebSocket); + dart.addTypeCaches(_http.WebSocket); + _http.WebSocket[dart.implements] = () => [async.Stream, async.StreamSink]; + dart.setLibraryUri(_http.WebSocket, I[177]); + dart.setFieldSignature(_http.WebSocket, () => ({ + __proto__: dart.getFields(_http.WebSocket.__proto__), + pingInterval: dart.fieldType(dart.nullable(core.Duration)) + })); + dart.defineLazy(_http.WebSocket, { + /*_http.WebSocket.connecting*/get connecting() { + return 0; + }, + /*_http.WebSocket.open*/get open() { + return 1; + }, + /*_http.WebSocket.closing*/get closing() { + return 2; + }, + /*_http.WebSocket.closed*/get closed() { + return 3; + }, + /*_http.WebSocket.CONNECTING*/get CONNECTING() { + return 0; + }, + /*_http.WebSocket.OPEN*/get OPEN() { + return 1; + }, + /*_http.WebSocket.CLOSING*/get CLOSING() { + return 2; + }, + /*_http.WebSocket.CLOSED*/get CLOSED() { + return 3; + } + }, false); + var message$19 = dart.privateName(_http, "WebSocketException.message"); + _http.WebSocketException = class WebSocketException extends core.Object { + get message() { + return this[message$19]; + } + set message(value) { + super.message = value; + } + toString() { + return "WebSocketException: " + dart.str(this.message); + } + }; + (_http.WebSocketException.new = function(message = "") { + if (message == null) dart.nullFailed(I[185], 493, 34, "message"); + this[message$19] = message; + ; + }).prototype = _http.WebSocketException.prototype; + dart.addTypeTests(_http.WebSocketException); + dart.addTypeCaches(_http.WebSocketException); + _http.WebSocketException[dart.implements] = () => [io.IOException]; + dart.setLibraryUri(_http.WebSocketException, I[177]); + dart.setFieldSignature(_http.WebSocketException, () => ({ + __proto__: dart.getFields(_http.WebSocketException.__proto__), + message: dart.finalFieldType(core.String) + })); + dart.defineExtensionMethods(_http.WebSocketException, ['toString']); + _http._WebSocketMessageType = class _WebSocketMessageType extends core.Object {}; + (_http._WebSocketMessageType.new = function() { + ; + }).prototype = _http._WebSocketMessageType.prototype; + dart.addTypeTests(_http._WebSocketMessageType); + dart.addTypeCaches(_http._WebSocketMessageType); + dart.setLibraryUri(_http._WebSocketMessageType, I[177]); + dart.defineLazy(_http._WebSocketMessageType, { + /*_http._WebSocketMessageType.NONE*/get NONE() { + return 0; + }, + /*_http._WebSocketMessageType.TEXT*/get TEXT() { + return 1; + }, + /*_http._WebSocketMessageType.BINARY*/get BINARY() { + return 2; + } + }, false); + _http._WebSocketOpcode = class _WebSocketOpcode extends core.Object {}; + (_http._WebSocketOpcode.new = function() { + ; + }).prototype = _http._WebSocketOpcode.prototype; + dart.addTypeTests(_http._WebSocketOpcode); + dart.addTypeCaches(_http._WebSocketOpcode); + dart.setLibraryUri(_http._WebSocketOpcode, I[177]); + dart.defineLazy(_http._WebSocketOpcode, { + /*_http._WebSocketOpcode.CONTINUATION*/get CONTINUATION() { + return 0; + }, + /*_http._WebSocketOpcode.TEXT*/get TEXT() { + return 1; + }, + /*_http._WebSocketOpcode.BINARY*/get BINARY() { + return 2; + }, + /*_http._WebSocketOpcode.RESERVED_3*/get RESERVED_3() { + return 3; + }, + /*_http._WebSocketOpcode.RESERVED_4*/get RESERVED_4() { + return 4; + }, + /*_http._WebSocketOpcode.RESERVED_5*/get RESERVED_5() { + return 5; + }, + /*_http._WebSocketOpcode.RESERVED_6*/get RESERVED_6() { + return 6; + }, + /*_http._WebSocketOpcode.RESERVED_7*/get RESERVED_7() { + return 7; + }, + /*_http._WebSocketOpcode.CLOSE*/get CLOSE() { + return 8; + }, + /*_http._WebSocketOpcode.PING*/get PING() { + return 9; + }, + /*_http._WebSocketOpcode.PONG*/get PONG() { + return 10; + }, + /*_http._WebSocketOpcode.RESERVED_B*/get RESERVED_B() { + return 11; + }, + /*_http._WebSocketOpcode.RESERVED_C*/get RESERVED_C() { + return 12; + }, + /*_http._WebSocketOpcode.RESERVED_D*/get RESERVED_D() { + return 13; + }, + /*_http._WebSocketOpcode.RESERVED_E*/get RESERVED_E() { + return 14; + }, + /*_http._WebSocketOpcode.RESERVED_F*/get RESERVED_F() { + return 15; + } + }, false); + _http._EncodedString = class _EncodedString extends core.Object {}; + (_http._EncodedString.new = function(bytes) { + if (bytes == null) dart.nullFailed(I[186], 41, 23, "bytes"); + this.bytes = bytes; + ; + }).prototype = _http._EncodedString.prototype; + dart.addTypeTests(_http._EncodedString); + dart.addTypeCaches(_http._EncodedString); + dart.setLibraryUri(_http._EncodedString, I[177]); + dart.setFieldSignature(_http._EncodedString, () => ({ + __proto__: dart.getFields(_http._EncodedString.__proto__), + bytes: dart.finalFieldType(core.List$(core.int)) + })); + _http._CompressionMaxWindowBits = class _CompressionMaxWindowBits extends core.Object { + toString() { + return this.headerValue; + } + }; + (_http._CompressionMaxWindowBits.new = function(headerValue, maxWindowBits) { + if (headerValue == null) dart.nullFailed(I[186], 52, 34, "headerValue"); + if (maxWindowBits == null) dart.nullFailed(I[186], 52, 52, "maxWindowBits"); + this.headerValue = headerValue; + this.maxWindowBits = maxWindowBits; + ; + }).prototype = _http._CompressionMaxWindowBits.prototype; + dart.addTypeTests(_http._CompressionMaxWindowBits); + dart.addTypeCaches(_http._CompressionMaxWindowBits); + dart.setLibraryUri(_http._CompressionMaxWindowBits, I[177]); + dart.setFieldSignature(_http._CompressionMaxWindowBits, () => ({ + __proto__: dart.getFields(_http._CompressionMaxWindowBits.__proto__), + headerValue: dart.fieldType(core.String), + maxWindowBits: dart.fieldType(core.int) + })); + dart.defineExtensionMethods(_http._CompressionMaxWindowBits, ['toString']); + var _fin = dart.privateName(_http, "_fin"); + var _compressed = dart.privateName(_http, "_compressed"); + var _opcode = dart.privateName(_http, "_opcode"); + var _len = dart.privateName(_http, "_len"); + var _masked = dart.privateName(_http, "_masked"); + var _remainingLenBytes = dart.privateName(_http, "_remainingLenBytes"); + var _remainingMaskingKeyBytes = dart.privateName(_http, "_remainingMaskingKeyBytes"); + var _remainingPayloadBytes = dart.privateName(_http, "_remainingPayloadBytes"); + var _unmaskingIndex = dart.privateName(_http, "_unmaskingIndex"); + var _currentMessageType = dart.privateName(_http, "_currentMessageType"); + var _eventSink$ = dart.privateName(_http, "_eventSink"); + var _maskingBytes = dart.privateName(_http, "_maskingBytes"); + var _payload = dart.privateName(_http, "_payload"); + var _serverSide$ = dart.privateName(_http, "_serverSide"); + var _deflate$ = dart.privateName(_http, "_deflate"); + var _isControlFrame = dart.privateName(_http, "_isControlFrame"); + var _lengthDone = dart.privateName(_http, "_lengthDone"); + var _maskDone = dart.privateName(_http, "_maskDone"); + var _unmask = dart.privateName(_http, "_unmask"); + var _controlFrameEnd = dart.privateName(_http, "_controlFrameEnd"); + var _messageFrameEnd = dart.privateName(_http, "_messageFrameEnd"); + var _startPayload = dart.privateName(_http, "_startPayload"); + var _prepareForNextFrame = dart.privateName(_http, "_prepareForNextFrame"); + _http._WebSocketProtocolTransformer = class _WebSocketProtocolTransformer extends async.StreamTransformerBase$(core.List$(core.int), dart.dynamic) { + bind(stream) { + T$0.StreamOfListOfint().as(stream); + if (stream == null) dart.nullFailed(I[186], 105, 25, "stream"); + return async.Stream.eventTransformed(stream, dart.fn(eventSink => { + if (eventSink == null) dart.nullFailed(I[186], 106, 59, "eventSink"); + if (this[_eventSink$] != null) { + dart.throw(new core.StateError.new("WebSocket transformer already used.")); + } + this[_eventSink$] = eventSink; + return this; + }, T.EventSinkTo_WebSocketProtocolTransformer())); + } + addError(error, stackTrace = null) { + if (error == null) dart.nullFailed(I[186], 115, 24, "error"); + core.ArgumentError.checkNotNull(core.Object, error, "error"); + dart.nullCheck(this[_eventSink$]).addError(error, stackTrace); + } + close() { + dart.nullCheck(this[_eventSink$]).close(); + } + add(bytes) { + let t302; + T$0.ListOfint().as(bytes); + if (bytes == null) dart.nullFailed(I[186], 128, 22, "bytes"); + let buffer = typed_data.Uint8List.is(bytes) ? bytes : _native_typed_data.NativeUint8List.fromList(bytes); + let index = 0; + let lastIndex = buffer[$length]; + if (this[_state$1] === 5) { + dart.throw(new _http.WebSocketException.new("Data on closed connection")); + } + if (this[_state$1] === 6) { + dart.throw(new _http.WebSocketException.new("Data on failed connection")); + } + while (index < dart.notNull(lastIndex) && this[_state$1] !== 5 && this[_state$1] !== 6) { + let byte = buffer[$_get](index); + if (dart.notNull(this[_state$1]) <= 2) { + if (this[_state$1] === 0) { + this[_fin] = (dart.notNull(byte) & 128) !== 0; + if ((dart.notNull(byte) & (32 | 16) >>> 0) !== 0) { + dart.throw(new _http.WebSocketException.new("Protocol error")); + } + this[_opcode] = (dart.notNull(byte) & 15) >>> 0; + if (this[_opcode] !== 0) { + if ((dart.notNull(byte) & 64) !== 0) { + this[_compressed] = true; + } else { + this[_compressed] = false; + } + } + if (dart.notNull(this[_opcode]) <= 2) { + if (this[_opcode] === 0) { + if (this[_currentMessageType] === 0) { + dart.throw(new _http.WebSocketException.new("Protocol error")); + } + } else { + if (!(this[_opcode] === 1 || this[_opcode] === 2)) dart.assertFailed(null, I[186], 165, 22, "_opcode == _WebSocketOpcode.TEXT ||\n _opcode == _WebSocketOpcode.BINARY"); + if (this[_currentMessageType] !== 0) { + dart.throw(new _http.WebSocketException.new("Protocol error")); + } + this[_currentMessageType] = this[_opcode]; + } + } else if (dart.notNull(this[_opcode]) >= 8 && dart.notNull(this[_opcode]) <= 10) { + if (!dart.test(this[_fin])) dart.throw(new _http.WebSocketException.new("Protocol error")); + } else { + dart.throw(new _http.WebSocketException.new("Protocol error")); + } + this[_state$1] = 1; + } else if (this[_state$1] === 1) { + this[_masked] = (dart.notNull(byte) & 128) !== 0; + this[_len] = dart.notNull(byte) & 127; + if (dart.test(this[_isControlFrame]()) && dart.notNull(this[_len]) > 125) { + dart.throw(new _http.WebSocketException.new("Protocol error")); + } + if (this[_len] === 126) { + this[_len] = 0; + this[_remainingLenBytes] = 2; + this[_state$1] = 2; + } else if (this[_len] === 127) { + this[_len] = 0; + this[_remainingLenBytes] = 8; + this[_state$1] = 2; + } else { + if (!(dart.notNull(this[_len]) < 126)) dart.assertFailed(null, I[186], 195, 20, "_len < 126"); + this[_lengthDone](); + } + } else { + if (!(this[_state$1] === 2)) dart.assertFailed(null, I[186], 199, 18, "_state == LEN_REST"); + this[_len] = (dart.notNull(this[_len]) << 8 | dart.notNull(byte)) >>> 0; + this[_remainingLenBytes] = dart.notNull(this[_remainingLenBytes]) - 1; + if (this[_remainingLenBytes] === 0) { + this[_lengthDone](); + } + } + } else { + if (this[_state$1] === 3) { + this[_maskingBytes][$_set](4 - dart.notNull((t302 = this[_remainingMaskingKeyBytes], this[_remainingMaskingKeyBytes] = dart.notNull(t302) - 1, t302)), byte); + if (this[_remainingMaskingKeyBytes] === 0) { + this[_maskDone](); + } + } else { + if (!(this[_state$1] === 4)) dart.assertFailed(null, I[186], 213, 18, "_state == PAYLOAD"); + let payloadLength = math.min(core.int, dart.notNull(lastIndex) - index, this[_remainingPayloadBytes]); + this[_remainingPayloadBytes] = dart.notNull(this[_remainingPayloadBytes]) - payloadLength; + if (dart.test(this[_masked])) { + this[_unmask](index, payloadLength, buffer); + } + this[_payload].add(typed_data.Uint8List.view(buffer[$buffer], dart.notNull(buffer[$offsetInBytes]) + index, payloadLength)); + index = index + payloadLength; + if (dart.test(this[_isControlFrame]())) { + if (this[_remainingPayloadBytes] === 0) this[_controlFrameEnd](); + } else { + if (this[_currentMessageType] !== 1 && this[_currentMessageType] !== 2) { + dart.throw(new _http.WebSocketException.new("Protocol error")); + } + if (this[_remainingPayloadBytes] === 0) this[_messageFrameEnd](); + } + index = index - 1; + } + } + index = index + 1; + } + } + [_unmask](index, length, buffer) { + let t304, t303, t302, t303$, t302$, t304$, t303$0, t302$0; + if (index == null) dart.nullFailed(I[186], 245, 20, "index"); + if (length == null) dart.nullFailed(I[186], 245, 31, "length"); + if (buffer == null) dart.nullFailed(I[186], 245, 49, "buffer"); + if (dart.notNull(length) >= 16) { + let startOffset = 16 - (dart.notNull(index) & 15); + let end = dart.notNull(index) + startOffset; + for (let i = index; dart.notNull(i) < end; i = dart.notNull(i) + 1) { + t302 = buffer; + t303 = i; + t302[$_set](t303, (dart.notNull(t302[$_get](t303)) ^ dart.notNull(this[_maskingBytes][$_get](dart.notNull((t304 = this[_unmaskingIndex], this[_unmaskingIndex] = dart.notNull(t304) + 1, t304)) & 3))) >>> 0); + } + index = dart.notNull(index) + startOffset; + length = dart.notNull(length) - startOffset; + let blockCount = (dart.notNull(length) / 16)[$truncate](); + if (blockCount > 0) { + let mask = 0; + for (let i = 3; i >= 0; i = i - 1) { + mask = (mask << 8 | dart.notNull(this[_maskingBytes][$_get](dart.notNull(this[_unmaskingIndex]) + i & 3))) >>> 0; + } + let blockMask = new _native_typed_data.NativeInt32x4.new(mask, mask, mask, mask); + let blockBuffer = typed_data.Int32x4List.view(buffer[$buffer], dart.notNull(buffer[$offsetInBytes]) + dart.notNull(index), blockCount); + for (let i = 0; i < dart.notNull(blockBuffer[$length]); i = i + 1) { + t302$ = blockBuffer; + t303$ = i; + t302$[$_set](t303$, t302$[$_get](t303$)['^'](blockMask)); + } + let bytes = blockCount * 16; + index = dart.notNull(index) + bytes; + length = dart.notNull(length) - bytes; + } + } + let end = dart.notNull(index) + dart.notNull(length); + for (let i = index; dart.notNull(i) < end; i = dart.notNull(i) + 1) { + t302$0 = buffer; + t303$0 = i; + t302$0[$_set](t303$0, (dart.notNull(t302$0[$_get](t303$0)) ^ dart.notNull(this[_maskingBytes][$_get](dart.notNull((t304$ = this[_unmaskingIndex], this[_unmaskingIndex] = dart.notNull(t304$) + 1, t304$)) & 3))) >>> 0); + } + } + [_lengthDone]() { + if (dart.test(this[_masked])) { + if (!dart.test(this[_serverSide$])) { + dart.throw(new _http.WebSocketException.new("Received masked frame from server")); + } + this[_state$1] = 3; + } else { + if (dart.test(this[_serverSide$])) { + dart.throw(new _http.WebSocketException.new("Received unmasked frame from client")); + } + this[_remainingPayloadBytes] = this[_len]; + this[_startPayload](); + } + } + [_maskDone]() { + this[_remainingPayloadBytes] = this[_len]; + this[_startPayload](); + } + [_startPayload]() { + if (this[_remainingPayloadBytes] === 0) { + if (dart.test(this[_isControlFrame]())) { + switch (this[_opcode]) { + case 8: + { + this[_state$1] = 5; + dart.nullCheck(this[_eventSink$]).close(); + break; + } + case 9: + { + dart.nullCheck(this[_eventSink$]).add(new _http._WebSocketPing.new()); + break; + } + case 10: + { + dart.nullCheck(this[_eventSink$]).add(new _http._WebSocketPong.new()); + break; + } + } + this[_prepareForNextFrame](); + } else { + this[_messageFrameEnd](); + } + } else { + this[_state$1] = 4; + } + } + [_messageFrameEnd]() { + if (dart.test(this[_fin])) { + let bytes = this[_payload].takeBytes(); + let deflate = this[_deflate$]; + if (deflate != null && dart.test(this[_compressed])) { + bytes = deflate.processIncomingMessage(bytes); + } + switch (this[_currentMessageType]) { + case 1: + { + dart.nullCheck(this[_eventSink$]).add(convert.utf8.decode(bytes)); + break; + } + case 2: + { + dart.nullCheck(this[_eventSink$]).add(bytes); + break; + } + } + this[_currentMessageType] = 0; + } + this[_prepareForNextFrame](); + } + [_controlFrameEnd]() { + switch (this[_opcode]) { + case 8: + { + this.closeCode = 1005; + let payload = this[_payload].takeBytes(); + if (dart.notNull(payload[$length]) > 0) { + if (payload[$length] === 1) { + dart.throw(new _http.WebSocketException.new("Protocol error")); + } + this.closeCode = (dart.notNull(payload[$_get](0)) << 8 | dart.notNull(payload[$_get](1))) >>> 0; + if (this.closeCode === 1005) { + dart.throw(new _http.WebSocketException.new("Protocol error")); + } + if (dart.notNull(payload[$length]) > 2) { + this.closeReason = convert.utf8.decode(payload[$sublist](2)); + } + } + this[_state$1] = 5; + dart.nullCheck(this[_eventSink$]).close(); + break; + } + case 9: + { + dart.nullCheck(this[_eventSink$]).add(new _http._WebSocketPing.new(this[_payload].takeBytes())); + break; + } + case 10: + { + dart.nullCheck(this[_eventSink$]).add(new _http._WebSocketPong.new(this[_payload].takeBytes())); + break; + } + } + this[_prepareForNextFrame](); + } + [_isControlFrame]() { + return this[_opcode] === 8 || this[_opcode] === 9 || this[_opcode] === 10; + } + [_prepareForNextFrame]() { + if (this[_state$1] !== 5 && this[_state$1] !== 6) this[_state$1] = 0; + this[_fin] = false; + this[_opcode] = -1; + this[_len] = -1; + this[_remainingLenBytes] = -1; + this[_remainingMaskingKeyBytes] = 4; + this[_remainingPayloadBytes] = -1; + this[_unmaskingIndex] = 0; + } + }; + (_http._WebSocketProtocolTransformer.new = function(_serverSide = false, _deflate = null) { + if (_serverSide == null) dart.nullFailed(I[186], 102, 39, "_serverSide"); + this[_state$1] = 0; + this[_fin] = false; + this[_compressed] = false; + this[_opcode] = -1; + this[_len] = -1; + this[_masked] = false; + this[_remainingLenBytes] = -1; + this[_remainingMaskingKeyBytes] = 4; + this[_remainingPayloadBytes] = -1; + this[_unmaskingIndex] = 0; + this[_currentMessageType] = 0; + this.closeCode = 1005; + this.closeReason = ""; + this[_eventSink$] = null; + this[_maskingBytes] = _native_typed_data.NativeUint8List.new(4); + this[_payload] = _internal.BytesBuilder.new({copy: false}); + this[_serverSide$] = _serverSide; + this[_deflate$] = _deflate; + _http._WebSocketProtocolTransformer.__proto__.new.call(this); + ; + }).prototype = _http._WebSocketProtocolTransformer.prototype; + dart.addTypeTests(_http._WebSocketProtocolTransformer); + dart.addTypeCaches(_http._WebSocketProtocolTransformer); + _http._WebSocketProtocolTransformer[dart.implements] = () => [async.EventSink$(core.List$(core.int))]; + dart.setMethodSignature(_http._WebSocketProtocolTransformer, () => ({ + __proto__: dart.getMethods(_http._WebSocketProtocolTransformer.__proto__), + bind: dart.fnType(async.Stream, [dart.nullable(core.Object)]), + addError: dart.fnType(dart.void, [core.Object], [dart.nullable(core.StackTrace)]), + close: dart.fnType(dart.void, []), + add: dart.fnType(dart.void, [dart.nullable(core.Object)]), + [_unmask]: dart.fnType(dart.void, [core.int, core.int, typed_data.Uint8List]), + [_lengthDone]: dart.fnType(dart.void, []), + [_maskDone]: dart.fnType(dart.void, []), + [_startPayload]: dart.fnType(dart.void, []), + [_messageFrameEnd]: dart.fnType(dart.void, []), + [_controlFrameEnd]: dart.fnType(dart.void, []), + [_isControlFrame]: dart.fnType(core.bool, []), + [_prepareForNextFrame]: dart.fnType(dart.void, []) + })); + dart.setLibraryUri(_http._WebSocketProtocolTransformer, I[177]); + dart.setFieldSignature(_http._WebSocketProtocolTransformer, () => ({ + __proto__: dart.getFields(_http._WebSocketProtocolTransformer.__proto__), + [_state$1]: dart.fieldType(core.int), + [_fin]: dart.fieldType(core.bool), + [_compressed]: dart.fieldType(core.bool), + [_opcode]: dart.fieldType(core.int), + [_len]: dart.fieldType(core.int), + [_masked]: dart.fieldType(core.bool), + [_remainingLenBytes]: dart.fieldType(core.int), + [_remainingMaskingKeyBytes]: dart.fieldType(core.int), + [_remainingPayloadBytes]: dart.fieldType(core.int), + [_unmaskingIndex]: dart.fieldType(core.int), + [_currentMessageType]: dart.fieldType(core.int), + closeCode: dart.fieldType(core.int), + closeReason: dart.fieldType(core.String), + [_eventSink$]: dart.fieldType(dart.nullable(async.EventSink)), + [_serverSide$]: dart.finalFieldType(core.bool), + [_maskingBytes]: dart.finalFieldType(typed_data.Uint8List), + [_payload]: dart.finalFieldType(_internal.BytesBuilder), + [_deflate$]: dart.fieldType(dart.nullable(_http._WebSocketPerMessageDeflate)) + })); + dart.defineLazy(_http._WebSocketProtocolTransformer, { + /*_http._WebSocketProtocolTransformer.START*/get START() { + return 0; + }, + /*_http._WebSocketProtocolTransformer.LEN_FIRST*/get LEN_FIRST() { + return 1; + }, + /*_http._WebSocketProtocolTransformer.LEN_REST*/get LEN_REST() { + return 2; + }, + /*_http._WebSocketProtocolTransformer.MASK*/get MASK() { + return 3; + }, + /*_http._WebSocketProtocolTransformer.PAYLOAD*/get PAYLOAD() { + return 4; + }, + /*_http._WebSocketProtocolTransformer.CLOSED*/get CLOSED() { + return 5; + }, + /*_http._WebSocketProtocolTransformer.FAILURE*/get FAILURE() { + return 6; + }, + /*_http._WebSocketProtocolTransformer.FIN*/get FIN() { + return 128; + }, + /*_http._WebSocketProtocolTransformer.RSV1*/get RSV1() { + return 64; + }, + /*_http._WebSocketProtocolTransformer.RSV2*/get RSV2() { + return 32; + }, + /*_http._WebSocketProtocolTransformer.RSV3*/get RSV3() { + return 16; + }, + /*_http._WebSocketProtocolTransformer.OPCODE*/get OPCODE() { + return 15; + } + }, false); + _http._WebSocketPing = class _WebSocketPing extends core.Object {}; + (_http._WebSocketPing.new = function(payload = null) { + this.payload = payload; + ; + }).prototype = _http._WebSocketPing.prototype; + dart.addTypeTests(_http._WebSocketPing); + dart.addTypeCaches(_http._WebSocketPing); + dart.setLibraryUri(_http._WebSocketPing, I[177]); + dart.setFieldSignature(_http._WebSocketPing, () => ({ + __proto__: dart.getFields(_http._WebSocketPing.__proto__), + payload: dart.finalFieldType(dart.nullable(core.List$(core.int))) + })); + _http._WebSocketPong = class _WebSocketPong extends core.Object {}; + (_http._WebSocketPong.new = function(payload = null) { + this.payload = payload; + ; + }).prototype = _http._WebSocketPong.prototype; + dart.addTypeTests(_http._WebSocketPong); + dart.addTypeCaches(_http._WebSocketPong); + dart.setLibraryUri(_http._WebSocketPong, I[177]); + dart.setFieldSignature(_http._WebSocketPong, () => ({ + __proto__: dart.getFields(_http._WebSocketPong.__proto__), + payload: dart.finalFieldType(dart.nullable(core.List$(core.int))) + })); + var _protocolSelector$ = dart.privateName(_http, "_protocolSelector"); + var _compression$ = dart.privateName(_http, "_compression"); + _http._WebSocketTransformerImpl = class _WebSocketTransformerImpl extends async.StreamTransformerBase$(_http.HttpRequest, _http.WebSocket) { + bind(stream) { + T.StreamOfHttpRequest().as(stream); + if (stream == null) dart.nullFailed(I[186], 421, 46, "stream"); + stream.listen(dart.fn(request => { + if (request == null) dart.nullFailed(I[186], 422, 20, "request"); + _http._WebSocketTransformerImpl._upgrade(request, this[_protocolSelector$], this[_compression$]).then(dart.void, dart.fn(webSocket => { + if (webSocket == null) dart.nullFailed(I[186], 424, 28, "webSocket"); + return this[_controller$0].add(webSocket); + }, T.WebSocketTovoid())).catchError(dart.bind(this[_controller$0], 'addError')); + }, T.HttpRequestTovoid()), {onDone: dart.fn(() => { + this[_controller$0].close(); + }, T$.VoidTovoid())}); + return this[_controller$0].stream; + } + static _tokenizeFieldValue(headerValue) { + if (headerValue == null) dart.nullFailed(I[186], 433, 50, "headerValue"); + let tokens = T$.JSArrayOfString().of([]); + let start = 0; + let index = 0; + while (index < headerValue.length) { + if (headerValue[$_get](index) === ",") { + tokens[$add](headerValue[$substring](start, index)); + start = index + 1; + } else if (headerValue[$_get](index) === " " || headerValue[$_get](index) === "\t") { + start = start + 1; + } + index = index + 1; + } + tokens[$add](headerValue[$substring](start, index)); + return tokens; + } + static _upgrade(request, protocolSelector, compression) { + let t302; + if (request == null) dart.nullFailed(I[186], 450, 49, "request"); + if (compression == null) dart.nullFailed(I[186], 451, 63, "compression"); + let response = request.response; + if (!dart.test(_http._WebSocketTransformerImpl._isUpgradeRequest(request))) { + t302 = response; + (() => { + t302.statusCode = 400; + t302.close(); + return t302; + })(); + return T.FutureOfWebSocket().error(new _http.WebSocketException.new("Invalid WebSocket upgrade request")); + } + function upgrade(protocol) { + let t302; + t302 = response; + (() => { + t302.statusCode = 101; + t302.headers.add("connection", "Upgrade"); + t302.headers.add("upgrade", "websocket"); + return t302; + })(); + let key = dart.nullCheck(request.headers.value("Sec-WebSocket-Key")); + let sha1 = new _http._SHA1.new(); + sha1.add((key + dart.str(_http._webSocketGUID))[$codeUnits]); + let accept = _http._CryptoUtils.bytesToBase64(sha1.close()); + response.headers.add("Sec-WebSocket-Accept", accept); + if (protocol != null) { + response.headers.add("Sec-WebSocket-Protocol", protocol); + } + let deflate = _http._WebSocketTransformerImpl._negotiateCompression(request, response, compression); + response.headers.contentLength = 0; + return response.detachSocket().then(_http.WebSocket, dart.fn(socket => { + if (socket == null) dart.nullFailed(I[186], 480, 55, "socket"); + return new _http._WebSocketImpl._fromSocket(socket, protocol, compression, true, deflate); + }, T.SocketTo_WebSocketImpl())); + } + dart.fn(upgrade, T.StringNToFutureOfWebSocket()); + let protocols = request.headers._get("Sec-WebSocket-Protocol"); + if (protocols != null && protocolSelector != null) { + let tokenizedProtocols = _http._WebSocketTransformerImpl._tokenizeFieldValue(protocols[$join](", ")); + return T$0.FutureOfString().new(dart.fn(() => T$0.FutureOrOfString().as(protocolSelector(tokenizedProtocols)), T.VoidToFutureOrOfString())).then(core.String, dart.fn(protocol => { + if (protocol == null) dart.nullFailed(I[186], 492, 26, "protocol"); + if (dart.notNull(tokenizedProtocols[$indexOf](protocol)) < 0) { + dart.throw(new _http.WebSocketException.new("Selected protocol is not in the list of available protocols")); + } + return protocol; + }, T$.StringToString())).catchError(dart.fn(error => { + let t302; + t302 = response; + (() => { + t302.statusCode = 500; + t302.close(); + return t302; + })(); + dart.throw(error); + }, T$0.dynamicToNever())).then(_http.WebSocket, upgrade); + } else { + return upgrade(null); + } + } + static _negotiateCompression(request, response, compression) { + if (request == null) dart.nullFailed(I[186], 509, 73, "request"); + if (response == null) dart.nullFailed(I[186], 510, 20, "response"); + if (compression == null) dart.nullFailed(I[186], 510, 49, "compression"); + let extensionHeader = request.headers.value("Sec-WebSocket-Extensions"); + extensionHeader == null ? extensionHeader = "" : null; + let hv = _http.HeaderValue.parse(extensionHeader, {valueSeparator: ","}); + if (dart.test(compression.enabled) && hv.value === "permessage-deflate") { + let info = compression[_createHeader](hv); + response.headers.add("Sec-WebSocket-Extensions", info.headerValue); + let serverNoContextTakeover = dart.test(hv.parameters[$containsKey]("server_no_context_takeover")) && dart.test(compression.serverNoContextTakeover); + let clientNoContextTakeover = dart.test(hv.parameters[$containsKey]("client_no_context_takeover")) && dart.test(compression.clientNoContextTakeover); + let deflate = new _http._WebSocketPerMessageDeflate.new({serverNoContextTakeover: serverNoContextTakeover, clientNoContextTakeover: clientNoContextTakeover, serverMaxWindowBits: info.maxWindowBits, clientMaxWindowBits: info.maxWindowBits, serverSide: true}); + return deflate; + } + return null; + } + static _isUpgradeRequest(request) { + if (request == null) dart.nullFailed(I[186], 539, 45, "request"); + if (request.method !== "GET") { + return false; + } + let connectionHeader = request.headers._get("connection"); + if (connectionHeader == null) { + return false; + } + let isUpgrade = false; + for (let value of connectionHeader) { + if (value[$toLowerCase]() === "upgrade") { + isUpgrade = true; + break; + } + } + if (!isUpgrade) return false; + let upgrade = request.headers.value("upgrade"); + if (upgrade == null || upgrade[$toLowerCase]() !== "websocket") { + return false; + } + let version = request.headers.value("Sec-WebSocket-Version"); + if (version == null || version !== "13") { + return false; + } + let key = request.headers.value("Sec-WebSocket-Key"); + if (key == null) { + return false; + } + return true; + } + }; + (_http._WebSocketTransformerImpl.new = function(_protocolSelector, _compression) { + if (_compression == null) dart.nullFailed(I[186], 419, 58, "_compression"); + this[_controller$0] = T.StreamControllerOfWebSocket().new({sync: true}); + this[_protocolSelector$] = _protocolSelector; + this[_compression$] = _compression; + _http._WebSocketTransformerImpl.__proto__.new.call(this); + ; + }).prototype = _http._WebSocketTransformerImpl.prototype; + dart.addTypeTests(_http._WebSocketTransformerImpl); + dart.addTypeCaches(_http._WebSocketTransformerImpl); + _http._WebSocketTransformerImpl[dart.implements] = () => [_http.WebSocketTransformer]; + dart.setMethodSignature(_http._WebSocketTransformerImpl, () => ({ + __proto__: dart.getMethods(_http._WebSocketTransformerImpl.__proto__), + bind: dart.fnType(async.Stream$(_http.WebSocket), [dart.nullable(core.Object)]) + })); + dart.setLibraryUri(_http._WebSocketTransformerImpl, I[177]); + dart.setFieldSignature(_http._WebSocketTransformerImpl, () => ({ + __proto__: dart.getFields(_http._WebSocketTransformerImpl.__proto__), + [_controller$0]: dart.finalFieldType(async.StreamController$(_http.WebSocket)), + [_protocolSelector$]: dart.finalFieldType(dart.nullable(dart.fnType(dart.dynamic, [core.List$(core.String)]))), + [_compression$]: dart.finalFieldType(_http.CompressionOptions) + })); + var _ensureDecoder = dart.privateName(_http, "_ensureDecoder"); + var _ensureEncoder = dart.privateName(_http, "_ensureEncoder"); + _http._WebSocketPerMessageDeflate = class _WebSocketPerMessageDeflate extends core.Object { + [_ensureDecoder]() { + let t302; + t302 = this.decoder; + return t302 == null ? this.decoder = io.RawZLibFilter.inflateFilter({windowBits: dart.test(this.serverSide) ? this.clientMaxWindowBits : this.serverMaxWindowBits, raw: true}) : t302; + } + [_ensureEncoder]() { + let t302; + t302 = this.encoder; + return t302 == null ? this.encoder = io.RawZLibFilter.deflateFilter({windowBits: dart.test(this.serverSide) ? this.serverMaxWindowBits : this.clientMaxWindowBits, raw: true}) : t302; + } + processIncomingMessage(msg) { + if (msg == null) dart.nullFailed(I[186], 596, 46, "msg"); + let decoder = this[_ensureDecoder](); + let data = T$.JSArrayOfint().of([]); + data[$addAll](msg); + data[$addAll](C[488] || CT.C488); + decoder.process(data, 0, data[$length]); + let result = _internal.BytesBuilder.new(); + let out = null; + while (true) { + let out = decoder.processed(); + if (out == null) break; + result.add(out); + } + if (dart.test(this.serverSide) && dart.test(this.clientNoContextTakeover) || !dart.test(this.serverSide) && dart.test(this.serverNoContextTakeover)) { + this.decoder = null; + } + return result.takeBytes(); + } + processOutgoingMessage(msg) { + if (msg == null) dart.nullFailed(I[186], 621, 46, "msg"); + let encoder = this[_ensureEncoder](); + let result = T$.JSArrayOfint().of([]); + let buffer = null; + if (!typed_data.Uint8List.is(msg)) { + for (let i = 0; i < dart.notNull(msg[$length]); i = i + 1) { + if (dart.notNull(msg[$_get](i)) < 0 || 255 < dart.notNull(msg[$_get](i))) { + dart.throw(new core.ArgumentError.new("List element is not a byte value " + "(value " + dart.str(msg[$_get](i)) + " at index " + dart.str(i) + ")")); + } + } + buffer = _native_typed_data.NativeUint8List.fromList(msg); + } else { + buffer = msg; + } + encoder.process(buffer, 0, buffer[$length]); + while (true) { + let out = encoder.processed(); + if (out == null) break; + result[$addAll](out); + } + if (!dart.test(this.serverSide) && dart.test(this.clientNoContextTakeover) || dart.test(this.serverSide) && dart.test(this.serverNoContextTakeover)) { + this.encoder = null; + } + if (dart.notNull(result[$length]) > 4) { + result = result[$sublist](0, dart.notNull(result[$length]) - 4); + } + if (result[$length] === 0) { + return T$.JSArrayOfint().of([0]); + } + return result; + } + }; + (_http._WebSocketPerMessageDeflate.new = function(opts) { + let clientMaxWindowBits = opts && 'clientMaxWindowBits' in opts ? opts.clientMaxWindowBits : 15; + if (clientMaxWindowBits == null) dart.nullFailed(I[186], 582, 13, "clientMaxWindowBits"); + let serverMaxWindowBits = opts && 'serverMaxWindowBits' in opts ? opts.serverMaxWindowBits : 15; + if (serverMaxWindowBits == null) dart.nullFailed(I[186], 583, 12, "serverMaxWindowBits"); + let serverNoContextTakeover = opts && 'serverNoContextTakeover' in opts ? opts.serverNoContextTakeover : false; + if (serverNoContextTakeover == null) dart.nullFailed(I[186], 584, 12, "serverNoContextTakeover"); + let clientNoContextTakeover = opts && 'clientNoContextTakeover' in opts ? opts.clientNoContextTakeover : false; + if (clientNoContextTakeover == null) dart.nullFailed(I[186], 585, 12, "clientNoContextTakeover"); + let serverSide = opts && 'serverSide' in opts ? opts.serverSide : false; + if (serverSide == null) dart.nullFailed(I[186], 586, 12, "serverSide"); + this.decoder = null; + this.encoder = null; + this.clientMaxWindowBits = clientMaxWindowBits; + this.serverMaxWindowBits = serverMaxWindowBits; + this.serverNoContextTakeover = serverNoContextTakeover; + this.clientNoContextTakeover = clientNoContextTakeover; + this.serverSide = serverSide; + ; + }).prototype = _http._WebSocketPerMessageDeflate.prototype; + dart.addTypeTests(_http._WebSocketPerMessageDeflate); + dart.addTypeCaches(_http._WebSocketPerMessageDeflate); + dart.setMethodSignature(_http._WebSocketPerMessageDeflate, () => ({ + __proto__: dart.getMethods(_http._WebSocketPerMessageDeflate.__proto__), + [_ensureDecoder]: dart.fnType(io.RawZLibFilter, []), + [_ensureEncoder]: dart.fnType(io.RawZLibFilter, []), + processIncomingMessage: dart.fnType(typed_data.Uint8List, [core.List$(core.int)]), + processOutgoingMessage: dart.fnType(core.List$(core.int), [core.List$(core.int)]) + })); + dart.setLibraryUri(_http._WebSocketPerMessageDeflate, I[177]); + dart.setFieldSignature(_http._WebSocketPerMessageDeflate, () => ({ + __proto__: dart.getFields(_http._WebSocketPerMessageDeflate.__proto__), + serverNoContextTakeover: dart.fieldType(core.bool), + clientNoContextTakeover: dart.fieldType(core.bool), + clientMaxWindowBits: dart.fieldType(core.int), + serverMaxWindowBits: dart.fieldType(core.int), + serverSide: dart.fieldType(core.bool), + decoder: dart.fieldType(dart.nullable(io.RawZLibFilter)), + encoder: dart.fieldType(dart.nullable(io.RawZLibFilter)) + })); + var _deflateHelper = dart.privateName(_http, "_deflateHelper"); + var _outCloseCode = dart.privateName(_http, "_outCloseCode"); + var _outCloseReason = dart.privateName(_http, "_outCloseReason"); + _http._WebSocketOutgoingTransformer = class _WebSocketOutgoingTransformer extends async.StreamTransformerBase$(dart.dynamic, core.List$(core.int)) { + bind(stream) { + async.Stream.as(stream); + if (stream == null) dart.nullFailed(I[186], 679, 33, "stream"); + return T$0.StreamOfListOfint().eventTransformed(stream, dart.fn(eventSink => { + if (eventSink == null) dart.nullFailed(I[186], 681, 31, "eventSink"); + if (this[_eventSink$] != null) { + dart.throw(new core.StateError.new("WebSocket transformer already used")); + } + this[_eventSink$] = eventSink; + return this; + }, T.EventSinkOfListOfintTo_WebSocketOutgoingTransformer())); + } + add(message) { + if (_http._WebSocketPong.is(message)) { + this.addFrame(10, message.payload); + return; + } + if (_http._WebSocketPing.is(message)) { + this.addFrame(9, message.payload); + return; + } + let data = null; + let opcode = null; + if (message != null) { + let messageData = null; + if (typeof message == 'string') { + opcode = 1; + messageData = convert.utf8.encode(message); + } else if (T$0.ListOfint().is(message)) { + opcode = 2; + messageData = message; + } else if (_http._EncodedString.is(message)) { + opcode = 1; + messageData = message.bytes; + } else { + dart.throw(new core.ArgumentError.new(message)); + } + let deflateHelper = this[_deflateHelper]; + if (deflateHelper != null) { + messageData = deflateHelper.processOutgoingMessage(messageData); + } + data = messageData; + } else { + opcode = 1; + } + this.addFrame(opcode, data); + } + addError(error, stackTrace = null) { + if (error == null) dart.nullFailed(I[186], 726, 24, "error"); + core.ArgumentError.checkNotNull(core.Object, error, "error"); + dart.nullCheck(this[_eventSink$]).addError(error, stackTrace); + } + close() { + let code = this.webSocket[_outCloseCode]; + let reason = this.webSocket[_outCloseReason]; + let data = null; + if (code != null) { + data = (() => { + let t302 = T$.JSArrayOfint().of([dart.notNull(code) >> 8 & 255, dart.notNull(code) & 255]); + if (reason != null) t302[$addAll](convert.utf8.encode(reason)); + return t302; + })(); + } + this.addFrame(8, data); + dart.nullCheck(this[_eventSink$]).close(); + } + addFrame(opcode, data) { + if (opcode == null) dart.nullFailed(I[186], 747, 21, "opcode"); + _http._WebSocketOutgoingTransformer.createFrame(opcode, data, this.webSocket[_serverSide$], this[_deflateHelper] != null && (opcode === 1 || opcode === 2))[$forEach](dart.fn(e => { + if (e == null) dart.nullFailed(I[186], 755, 19, "e"); + dart.nullCheck(this[_eventSink$]).add(e); + }, T$0.ListOfintTovoid())); + } + static createFrame(opcode, data, serverSide, compressed) { + let t303, t303$, t303$0, t303$1, t304, t303$2, t304$, t303$3, t304$0, t303$4; + if (opcode == null) dart.nullFailed(I[186], 761, 11, "opcode"); + if (serverSide == null) dart.nullFailed(I[186], 761, 41, "serverSide"); + if (compressed == null) dart.nullFailed(I[186], 761, 58, "compressed"); + let mask = !dart.test(serverSide); + let dataLength = data == null ? 0 : data[$length]; + let headerSize = mask ? 6 : 2; + if (dart.notNull(dataLength) > 65535) { + headerSize = headerSize + 8; + } else if (dart.notNull(dataLength) > 125) { + headerSize = headerSize + 2; + } + let header = _native_typed_data.NativeUint8List.new(headerSize); + let index = 0; + let hoc = (128 | (dart.test(compressed) ? 64 : 0) | (dart.notNull(opcode) & 15) >>> 0) >>> 0; + header[$_set]((t303 = index, index = t303 + 1, t303), hoc); + let lengthBytes = 1; + if (dart.notNull(dataLength) > 65535) { + header[$_set]((t303$ = index, index = t303$ + 1, t303$), 127); + lengthBytes = 8; + } else if (dart.notNull(dataLength) > 125) { + header[$_set]((t303$0 = index, index = t303$0 + 1, t303$0), 126); + lengthBytes = 2; + } + for (let i = 0; i < lengthBytes; i = i + 1) { + header[$_set]((t303$1 = index, index = t303$1 + 1, t303$1), dataLength[$rightShift]((lengthBytes - 1 - i) * 8) & 255); + } + if (mask) { + t303$2 = header; + t304 = 1; + t303$2[$_set](t304, (dart.notNull(t303$2[$_get](t304)) | 1 << 7) >>> 0); + let maskBytes = _http._CryptoUtils.getRandomBytes(4); + header[$setRange](index, index + 4, maskBytes); + index = index + 4; + if (data != null) { + let list = null; + if (opcode === 1 && typed_data.Uint8List.is(data)) { + list = data; + } else { + if (typed_data.Uint8List.is(data)) { + list = _native_typed_data.NativeUint8List.fromList(data); + } else { + list = _native_typed_data.NativeUint8List.new(data[$length]); + for (let i = 0; i < dart.notNull(data[$length]); i = i + 1) { + if (dart.notNull(data[$_get](i)) < 0 || 255 < dart.notNull(data[$_get](i))) { + dart.throw(new core.ArgumentError.new("List element is not a byte value " + "(value " + dart.str(data[$_get](i)) + " at index " + dart.str(i) + ")")); + } + list[$_set](i, data[$_get](i)); + } + } + } + let blockCount = (dart.notNull(list[$length]) / 16)[$truncate](); + if (blockCount > 0) { + let mask = 0; + for (let i = 3; i >= 0; i = i - 1) { + mask = (mask << 8 | dart.notNull(maskBytes[$_get](i))) >>> 0; + } + let blockMask = new _native_typed_data.NativeInt32x4.new(mask, mask, mask, mask); + let blockBuffer = typed_data.Int32x4List.view(list[$buffer], list[$offsetInBytes], blockCount); + for (let i = 0; i < dart.notNull(blockBuffer[$length]); i = i + 1) { + t303$3 = blockBuffer; + t304$ = i; + t303$3[$_set](t304$, t303$3[$_get](t304$)['^'](blockMask)); + } + } + for (let i = blockCount * 16; i < dart.notNull(list[$length]); i = i + 1) { + t303$4 = list; + t304$0 = i; + t303$4[$_set](t304$0, (dart.notNull(t303$4[$_get](t304$0)) ^ dart.notNull(maskBytes[$_get](i & 3))) >>> 0); + } + data = list; + } + } + if (!(index === headerSize)) dart.assertFailed(null, I[186], 840, 12, "index == headerSize"); + if (data == null) { + return T$0.JSArrayOfListOfint().of([header]); + } else { + return T$0.JSArrayOfListOfint().of([header, data]); + } + } + }; + (_http._WebSocketOutgoingTransformer.new = function(webSocket) { + if (webSocket == null) dart.nullFailed(I[186], 676, 38, "webSocket"); + this[_eventSink$] = null; + this.webSocket = webSocket; + this[_deflateHelper] = webSocket[_deflate$]; + _http._WebSocketOutgoingTransformer.__proto__.new.call(this); + ; + }).prototype = _http._WebSocketOutgoingTransformer.prototype; + dart.addTypeTests(_http._WebSocketOutgoingTransformer); + dart.addTypeCaches(_http._WebSocketOutgoingTransformer); + _http._WebSocketOutgoingTransformer[dart.implements] = () => [async.EventSink]; + dart.setMethodSignature(_http._WebSocketOutgoingTransformer, () => ({ + __proto__: dart.getMethods(_http._WebSocketOutgoingTransformer.__proto__), + bind: dart.fnType(async.Stream$(core.List$(core.int)), [dart.nullable(core.Object)]), + add: dart.fnType(dart.void, [dart.nullable(core.Object)]), + addError: dart.fnType(dart.void, [core.Object], [dart.nullable(core.StackTrace)]), + close: dart.fnType(dart.void, []), + addFrame: dart.fnType(dart.void, [core.int, dart.nullable(core.List$(core.int))]) + })); + dart.setLibraryUri(_http._WebSocketOutgoingTransformer, I[177]); + dart.setFieldSignature(_http._WebSocketOutgoingTransformer, () => ({ + __proto__: dart.getFields(_http._WebSocketOutgoingTransformer.__proto__), + webSocket: dart.finalFieldType(_http._WebSocketImpl), + [_eventSink$]: dart.fieldType(dart.nullable(async.EventSink$(core.List$(core.int)))), + [_deflateHelper]: dart.fieldType(dart.nullable(_http._WebSocketPerMessageDeflate)) + })); + var _issuedPause = dart.privateName(_http, "_issuedPause"); + var _closed$ = dart.privateName(_http, "_closed"); + var _closeCompleter$ = dart.privateName(_http, "_closeCompleter"); + var _completer = dart.privateName(_http, "_completer"); + var _onListen = dart.privateName(_http, "_onListen"); + var _onPause$ = dart.privateName(_http, "_onPause"); + var _onResume$ = dart.privateName(_http, "_onResume"); + var _cancel$ = dart.privateName(_http, "_cancel"); + var _done = dart.privateName(_http, "_done"); + var _ensureController = dart.privateName(_http, "_ensureController"); + _http._WebSocketConsumer = class _WebSocketConsumer extends core.Object { + [_onListen]() { + let t303; + t303 = this[_subscription$0]; + t303 == null ? null : t303.cancel(); + } + [_onPause$]() { + let subscription = this[_subscription$0]; + if (subscription != null) { + subscription.pause(); + } else { + this[_issuedPause] = true; + } + } + [_onResume$]() { + let subscription = this[_subscription$0]; + if (subscription != null) { + subscription.resume(); + } else { + this[_issuedPause] = false; + } + } + [_cancel$]() { + let subscription = this[_subscription$0]; + if (subscription != null) { + this[_subscription$0] = null; + subscription.cancel(); + } + } + [_ensureController]() { + let controller = this[_controller$0]; + if (controller != null) return controller; + controller = this[_controller$0] = async.StreamController.new({sync: true, onPause: dart.bind(this, _onPause$), onResume: dart.bind(this, _onResume$), onCancel: dart.bind(this, _onListen)}); + let stream = controller.stream.transform(T$0.ListOfint(), new _http._WebSocketOutgoingTransformer.new(this.webSocket)); + this.socket.addStream(stream).then(core.Null, dart.fn(_ => { + this[_done](); + this[_closeCompleter$].complete(this.webSocket); + }, T$.dynamicToNull()), {onError: dart.fn((error, stackTrace) => { + if (error == null) dart.nullFailed(I[186], 904, 25, "error"); + if (stackTrace == null) dart.nullFailed(I[186], 904, 43, "stackTrace"); + this[_closed$] = true; + this[_cancel$](); + if (core.ArgumentError.is(error)) { + if (!dart.test(this[_done](error, stackTrace))) { + this[_closeCompleter$].completeError(error, stackTrace); + } + } else { + this[_done](); + this[_closeCompleter$].complete(this.webSocket); + } + }, T$.ObjectAndStackTraceToNull())}); + return controller; + } + [_done](error = null, stackTrace = null) { + let completer = this[_completer]; + if (completer == null) return false; + if (error != null) { + completer.completeError(error, stackTrace); + } else { + completer.complete(this.webSocket); + } + this[_completer] = null; + return true; + } + addStream(stream) { + async.Stream.as(stream); + if (stream == null) dart.nullFailed(I[186], 931, 27, "stream"); + if (dart.test(this[_closed$])) { + stream.listen(null).cancel(); + return async.Future.value(this.webSocket); + } + this[_ensureController](); + let completer = this[_completer] = async.Completer.new(); + let subscription = this[_subscription$0] = stream.listen(dart.fn(data => { + dart.nullCheck(this[_controller$0]).add(data); + }, T$.dynamicTovoid()), {onDone: dart.bind(this, _done), onError: dart.bind(this, _done), cancelOnError: true}); + if (dart.test(this[_issuedPause])) { + subscription.pause(); + this[_issuedPause] = false; + } + return completer.future; + } + close() { + this[_ensureController]().close(); + return this[_closeCompleter$].future.then(dart.dynamic, dart.fn(_ => this.socket.close().catchError(dart.fn(_ => { + }, T$.dynamicToNull())).then(dart.dynamic, dart.fn(_ => this.webSocket, T.dynamicTo_WebSocketImpl())), T$.dynamicToFuture())); + } + add(data) { + if (dart.test(this[_closed$])) return; + let controller = this[_ensureController](); + if (dart.test(controller.isClosed)) return; + controller.add(data); + } + closeSocket() { + this[_closed$] = true; + this[_cancel$](); + this.close(); + } + }; + (_http._WebSocketConsumer.new = function(webSocket, socket) { + if (webSocket == null) dart.nullFailed(I[186], 859, 27, "webSocket"); + if (socket == null) dart.nullFailed(I[186], 859, 43, "socket"); + this[_controller$0] = null; + this[_subscription$0] = null; + this[_issuedPause] = false; + this[_closed$] = false; + this[_closeCompleter$] = T.CompleterOfWebSocket().new(); + this[_completer] = null; + this.webSocket = webSocket; + this.socket = socket; + ; + }).prototype = _http._WebSocketConsumer.prototype; + dart.addTypeTests(_http._WebSocketConsumer); + dart.addTypeCaches(_http._WebSocketConsumer); + _http._WebSocketConsumer[dart.implements] = () => [async.StreamConsumer]; + dart.setMethodSignature(_http._WebSocketConsumer, () => ({ + __proto__: dart.getMethods(_http._WebSocketConsumer.__proto__), + [_onListen]: dart.fnType(dart.void, []), + [_onPause$]: dart.fnType(dart.void, []), + [_onResume$]: dart.fnType(dart.void, []), + [_cancel$]: dart.fnType(dart.void, []), + [_ensureController]: dart.fnType(async.StreamController, []), + [_done]: dart.fnType(core.bool, [], [dart.nullable(core.Object), dart.nullable(core.StackTrace)]), + addStream: dart.fnType(async.Future, [dart.nullable(core.Object)]), + close: dart.fnType(async.Future, []), + add: dart.fnType(dart.void, [dart.dynamic]), + closeSocket: dart.fnType(dart.void, []) + })); + dart.setLibraryUri(_http._WebSocketConsumer, I[177]); + dart.setFieldSignature(_http._WebSocketConsumer, () => ({ + __proto__: dart.getFields(_http._WebSocketConsumer.__proto__), + webSocket: dart.finalFieldType(_http._WebSocketImpl), + socket: dart.finalFieldType(io.Socket), + [_controller$0]: dart.fieldType(dart.nullable(async.StreamController)), + [_subscription$0]: dart.fieldType(dart.nullable(async.StreamSubscription)), + [_issuedPause]: dart.fieldType(core.bool), + [_closed$]: dart.fieldType(core.bool), + [_closeCompleter$]: dart.fieldType(async.Completer), + [_completer]: dart.fieldType(dart.nullable(async.Completer)) + })); + var ___WebSocketImpl__sink = dart.privateName(_http, "_#_WebSocketImpl#_sink"); + var ___WebSocketImpl__sink_isSet = dart.privateName(_http, "_#_WebSocketImpl#_sink#isSet"); + var _readyState = dart.privateName(_http, "_readyState"); + var _writeClosed = dart.privateName(_http, "_writeClosed"); + var _closeCode = dart.privateName(_http, "_closeCode"); + var _closeReason = dart.privateName(_http, "_closeReason"); + var _pingInterval = dart.privateName(_http, "_pingInterval"); + var _pingTimer = dart.privateName(_http, "_pingTimer"); + var ___WebSocketImpl__consumer = dart.privateName(_http, "_#_WebSocketImpl#_consumer"); + var ___WebSocketImpl__consumer_isSet = dart.privateName(_http, "_#_WebSocketImpl#_consumer#isSet"); + var _closeTimer = dart.privateName(_http, "_closeTimer"); + var _consumer = dart.privateName(_http, "_consumer"); + var _sink = dart.privateName(_http, "_sink"); + var _close$0 = dart.privateName(_http, "_close"); + const Stream__ServiceObject$36$ = class Stream__ServiceObject extends async.Stream {}; + (Stream__ServiceObject$36$.new = function() { + _http._ServiceObject.new.call(this); + Stream__ServiceObject$36$.__proto__.new.call(this); + }).prototype = Stream__ServiceObject$36$.prototype; + (Stream__ServiceObject$36$._internal = function() { + _http._ServiceObject.new.call(this); + Stream__ServiceObject$36$.__proto__._internal.call(this); + }).prototype = Stream__ServiceObject$36$.prototype; + dart.applyMixin(Stream__ServiceObject$36$, _http._ServiceObject); + _http._WebSocketImpl = class _WebSocketImpl extends Stream__ServiceObject$36$ { + get [_sink]() { + let t303; + return dart.test(this[___WebSocketImpl__sink_isSet]) ? (t303 = this[___WebSocketImpl__sink], t303) : dart.throw(new _internal.LateError.fieldNI("_sink")); + } + set [_sink](t303) { + if (t303 == null) dart.nullFailed(I[186], 981, 19, "null"); + this[___WebSocketImpl__sink_isSet] = true; + this[___WebSocketImpl__sink] = t303; + } + get [_consumer]() { + let t304; + return dart.test(this[___WebSocketImpl__consumer_isSet]) ? (t304 = this[___WebSocketImpl__consumer], t304) : dart.throw(new _internal.LateError.fieldNI("_consumer")); + } + set [_consumer](t304) { + if (t304 == null) dart.nullFailed(I[186], 991, 27, "null"); + this[___WebSocketImpl__consumer_isSet] = true; + this[___WebSocketImpl__consumer] = t304; + } + static connect(url, protocols, headers, opts) { + if (url == null) dart.nullFailed(I[186], 1001, 14, "url"); + let compression = opts && 'compression' in opts ? opts.compression : C[486] || CT.C486; + if (compression == null) dart.nullFailed(I[186], 1002, 27, "compression"); + let uri = core.Uri.parse(url); + if (uri.scheme !== "ws" && uri.scheme !== "wss") { + dart.throw(new _http.WebSocketException.new("Unsupported URL scheme '" + dart.str(uri.scheme) + "'")); + } + let random = math.Random.new(); + let nonceData = _native_typed_data.NativeUint8List.new(16); + for (let i = 0; i < 16; i = i + 1) { + nonceData[$_set](i, random.nextInt(256)); + } + let nonce = _http._CryptoUtils.bytesToBase64(nonceData); + uri = core._Uri.new({scheme: uri.scheme === "wss" ? "https" : "http", userInfo: uri.userInfo, host: uri.host, port: uri.port, path: uri.path, query: uri.query, fragment: uri.fragment}); + return _http._WebSocketImpl._httpClient.openUrl("GET", uri).then(_http.HttpClientResponse, dart.fn(request => { + let t305; + if (request == null) dart.nullFailed(I[186], 1025, 50, "request"); + if (uri.userInfo != null && !uri.userInfo[$isEmpty]) { + let auth = _http._CryptoUtils.bytesToBase64(convert.utf8.encode(uri.userInfo)); + request.headers.set("authorization", "Basic " + dart.str(auth)); + } + if (headers != null) { + headers[$forEach](dart.fn((field, value) => { + if (field == null) dart.nullFailed(I[186], 1033, 26, "field"); + return request.headers.add(field, core.Object.as(value)); + }, T$0.StringAnddynamicTovoid())); + } + t305 = request.headers; + (() => { + t305.set("connection", "Upgrade"); + t305.set("upgrade", "websocket"); + t305.set("Sec-WebSocket-Key", nonce); + t305.set("Cache-Control", "no-cache"); + t305.set("Sec-WebSocket-Version", "13"); + return t305; + })(); + if (protocols != null) { + request.headers.add("Sec-WebSocket-Protocol", protocols[$toList]()); + } + if (dart.test(compression.enabled)) { + request.headers.add("Sec-WebSocket-Extensions", compression[_createHeader]()); + } + return request.close(); + }, T.HttpClientRequestToFutureOfHttpClientResponse())).then(_http.WebSocket, dart.fn(response => { + if (response == null) dart.nullFailed(I[186], 1052, 14, "response"); + function error(message) { + if (message == null) dart.nullFailed(I[186], 1053, 26, "message"); + response.detachSocket().then(core.Null, dart.fn(socket => { + if (socket == null) dart.nullFailed(I[186], 1055, 39, "socket"); + socket.destroy(); + }, T.SocketToNull())); + dart.throw(new _http.WebSocketException.new(message)); + } + dart.fn(error, T.StringToNever()); + let connectionHeader = response.headers._get("connection"); + if (response.statusCode !== 101 || connectionHeader == null || !dart.test(connectionHeader[$any](dart.fn(value => { + if (value == null) dart.nullFailed(I[186], 1064, 34, "value"); + return value[$toLowerCase]() === "upgrade"; + }, T$.StringTobool()))) || dart.nullCheck(response.headers.value("upgrade"))[$toLowerCase]() !== "websocket") { + error("Connection to '" + dart.str(uri) + "' was not upgraded to websocket"); + dart.throw(new _internal.ReachabilityError.new("`null` encountered as the result from expression with type `Never`.")); + } + let accept = response.headers.value("Sec-WebSocket-Accept"); + if (accept == null) { + error("Response did not contain a 'Sec-WebSocket-Accept' header"); + dart.throw(new _internal.ReachabilityError.new("`null` encountered as the result from expression with type `Never`.")); + } + let sha1 = new _http._SHA1.new(); + sha1.add((dart.str(nonce) + dart.str(_http._webSocketGUID))[$codeUnits]); + let expectedAccept = sha1.close(); + let receivedAccept = _http._CryptoUtils.base64StringToBytes(accept); + if (expectedAccept[$length] != receivedAccept[$length]) { + error("Response header 'Sec-WebSocket-Accept' is the wrong length"); + dart.throw(new _internal.ReachabilityError.new("`null` encountered as the result from expression with type `Never`.")); + } + for (let i = 0; i < dart.notNull(expectedAccept[$length]); i = i + 1) { + if (expectedAccept[$_get](i) != receivedAccept[$_get](i)) { + error("Bad response 'Sec-WebSocket-Accept' header"); + dart.throw(new _internal.ReachabilityError.new("`null` encountered as the result from expression with type `Never`.")); + } + } + let protocol = response.headers.value("Sec-WebSocket-Protocol"); + let deflate = _http._WebSocketImpl.negotiateClientCompression(response, compression); + return response.detachSocket().then(_http.WebSocket, dart.fn(socket => { + if (socket == null) dart.nullFailed(I[186], 1090, 55, "socket"); + return new _http._WebSocketImpl._fromSocket(socket, protocol, compression, false, deflate); + }, T.SocketTo_WebSocketImpl())); + }, T.HttpClientResponseToFutureOfWebSocket())); + } + static negotiateClientCompression(response, compression) { + let t305; + if (response == null) dart.nullFailed(I[186], 1097, 26, "response"); + if (compression == null) dart.nullFailed(I[186], 1097, 55, "compression"); + let extensionHeader = (t305 = response.headers.value("Sec-WebSocket-Extensions"), t305 == null ? "" : t305); + let hv = _http.HeaderValue.parse(extensionHeader, {valueSeparator: ","}); + if (dart.test(compression.enabled) && hv.value === "permessage-deflate") { + let serverNoContextTakeover = hv.parameters[$containsKey]("server_no_context_takeover"); + let clientNoContextTakeover = hv.parameters[$containsKey]("client_no_context_takeover"); + function getWindowBits(type) { + let t305; + if (type == null) dart.nullFailed(I[186], 1109, 32, "type"); + let o = hv.parameters[$_get](type); + if (o == null) { + return 15; + } + t305 = core.int.tryParse(o); + return t305 == null ? 15 : t305; + } + dart.fn(getWindowBits, T$0.StringToint()); + return new _http._WebSocketPerMessageDeflate.new({clientMaxWindowBits: getWindowBits("client_max_window_bits"), serverMaxWindowBits: getWindowBits("server_max_window_bits"), clientNoContextTakeover: clientNoContextTakeover, serverNoContextTakeover: serverNoContextTakeover}); + } + return null; + } + listen(onData, opts) { + let onError = opts && 'onError' in opts ? opts.onError : null; + let onDone = opts && 'onDone' in opts ? opts.onDone : null; + let cancelOnError = opts && 'cancelOnError' in opts ? opts.cancelOnError : null; + return this[_controller$0].stream.listen(onData, {onError: onError, onDone: onDone, cancelOnError: cancelOnError}); + } + get pingInterval() { + return this[_pingInterval]; + } + set pingInterval(interval) { + let t305; + if (dart.test(this[_writeClosed])) return; + t305 = this[_pingTimer]; + t305 == null ? null : t305.cancel(); + this[_pingInterval] = interval; + if (interval == null) return; + this[_pingTimer] = async.Timer.new(interval, dart.fn(() => { + if (dart.test(this[_writeClosed])) return; + this[_consumer].add(new _http._WebSocketPing.new()); + this[_pingTimer] = async.Timer.new(interval, dart.fn(() => { + let t305; + t305 = this[_closeTimer]; + t305 == null ? null : t305.cancel(); + this[_close$0](1001); + this[_closeCode] = this[_outCloseCode]; + this[_closeReason] = this[_outCloseReason]; + this[_controller$0].close(); + }, T$.VoidTovoid())); + }, T$.VoidTovoid())); + } + get readyState() { + return this[_readyState]; + } + get extensions() { + return ""; + } + get closeCode() { + return this[_closeCode]; + } + get closeReason() { + return this[_closeReason]; + } + add(data) { + this[_sink].add(data); + } + addUtf8Text(bytes) { + if (bytes == null) dart.nullFailed(I[186], 1226, 30, "bytes"); + core.ArgumentError.checkNotNull(T$0.ListOfint(), bytes, "bytes"); + this[_sink].add(new _http._EncodedString.new(bytes)); + } + addError(error, stackTrace = null) { + if (error == null) dart.nullFailed(I[186], 1232, 24, "error"); + this[_sink].addError(error, stackTrace); + } + addStream(stream) { + async.Stream.as(stream); + if (stream == null) dart.nullFailed(I[186], 1236, 27, "stream"); + return this[_sink].addStream(stream); + } + get done() { + return this[_sink].done; + } + close(code = null, reason = null) { + if (dart.test(_http._WebSocketImpl._isReservedStatusCode(code))) { + dart.throw(new _http.WebSocketException.new("Reserved status code " + dart.str(code))); + } + if (this[_outCloseCode] == null) { + this[_outCloseCode] = code; + this[_outCloseReason] = reason; + } + if (!dart.test(this[_controller$0].isClosed)) { + if (!dart.test(this[_controller$0].hasListener) && this[_subscription$0] != null) { + this[_controller$0].stream.drain(dart.dynamic).catchError(dart.fn(_ => new _js_helper.LinkedMap.new(), T.dynamicToMap())); + } + if (this[_closeTimer] == null) { + this[_closeTimer] = async.Timer.new(C[489] || CT.C489, dart.fn(() => { + let t305; + this[_closeCode] = this[_outCloseCode]; + this[_closeReason] = this[_outCloseReason]; + t305 = this[_subscription$0]; + t305 == null ? null : t305.cancel(); + this[_controller$0].close(); + _http._WebSocketImpl._webSockets[$remove](this[_serviceId$]); + }, T$.VoidTovoid())); + } + } + return this[_sink].close(); + } + static get userAgent() { + return _http._WebSocketImpl._httpClient.userAgent; + } + static set userAgent(userAgent) { + _http._WebSocketImpl._httpClient.userAgent = userAgent; + } + [_close$0](code = null, reason = null) { + if (dart.test(this[_writeClosed])) return; + if (this[_outCloseCode] == null) { + this[_outCloseCode] = code; + this[_outCloseReason] = reason; + } + this[_writeClosed] = true; + this[_consumer].closeSocket(); + _http._WebSocketImpl._webSockets[$remove](this[_serviceId$]); + } + get [_serviceTypePath$]() { + return "io/websockets"; + } + get [_serviceTypeName$]() { + return "WebSocket"; + } + [_toJSON$](ref) { + if (ref == null) dart.nullFailed(I[186], 1291, 37, "ref"); + let name = dart.str(this[_socket$0].address.host) + ":" + dart.str(this[_socket$0].port); + let r = new (T$0.IdentityMapOfString$dynamic()).from(["id", this[_servicePath$], "type", this[_serviceType$](ref), "name", name, "user_name", name]); + if (dart.test(ref)) { + return r; + } + try { + r[$_set]("socket", dart.dsend(this[_socket$0], _toJSON$, [true])); + } catch (e) { + let _ = dart.getThrown(e); + if (core.Object.is(_)) { + r[$_set]("socket", new (T$.IdentityMapOfString$String()).from(["id", this[_servicePath$], "type", "@Socket", "name", "UserSocket", "user_name", "UserSocket"])); + } else + throw e; + } + return r; + } + static _isReservedStatusCode(code) { + return code != null && (dart.notNull(code) < 1000 || code === 1004 || code === 1005 || code === 1006 || dart.notNull(code) > 1011 && dart.notNull(code) < 1015 || dart.notNull(code) >= 1015 && dart.notNull(code) < 3000); + } + }; + (_http._WebSocketImpl._fromSocket = function(_socket, protocol, compression, _serverSide = false, deflate = null) { + let t303; + if (_socket == null) dart.nullFailed(I[186], 1129, 12, "_socket"); + if (compression == null) dart.nullFailed(I[186], 1129, 55, "compression"); + if (_serverSide == null) dart.nullFailed(I[186], 1130, 13, "_serverSide"); + this[_subscription$0] = null; + this[___WebSocketImpl__sink] = null; + this[___WebSocketImpl__sink_isSet] = false; + this[_readyState] = 0; + this[_writeClosed] = false; + this[_closeCode] = null; + this[_closeReason] = null; + this[_pingInterval] = null; + this[_pingTimer] = null; + this[___WebSocketImpl__consumer] = null; + this[___WebSocketImpl__consumer_isSet] = false; + this[_outCloseCode] = null; + this[_outCloseReason] = null; + this[_closeTimer] = null; + this[_deflate$] = null; + this[_socket$0] = _socket; + this.protocol = protocol; + this[_serverSide$] = _serverSide; + this[_controller$0] = async.StreamController.new({sync: true}); + _http._WebSocketImpl.__proto__.new.call(this); + this[_consumer] = new _http._WebSocketConsumer.new(this, this[_socket$0]); + this[_sink] = new _http._StreamSinkImpl.new(this[_consumer]); + this[_readyState] = 1; + this[_deflate$] = deflate; + let transformer = new _http._WebSocketProtocolTransformer.new(this[_serverSide$], deflate); + let subscription = this[_subscription$0] = transformer.bind(this[_socket$0]).listen(dart.fn(data => { + if (_http._WebSocketPing.is(data)) { + if (!dart.test(this[_writeClosed])) this[_consumer].add(new _http._WebSocketPong.new(data.payload)); + } else if (_http._WebSocketPong.is(data)) { + this.pingInterval = this[_pingInterval]; + } else { + this[_controller$0].add(data); + } + }, T$.dynamicTovoid()), {onError: dart.fn((error, stackTrace) => { + let t303; + if (error == null) dart.nullFailed(I[186], 1147, 25, "error"); + if (stackTrace == null) dart.nullFailed(I[186], 1147, 43, "stackTrace"); + t303 = this[_closeTimer]; + t303 == null ? null : t303.cancel(); + if (core.FormatException.is(error)) { + this[_close$0](1007); + } else { + this[_close$0](1002); + } + this[_closeCode] = this[_outCloseCode]; + this[_closeReason] = this[_outCloseReason]; + this[_controller$0].close(); + }, T$.ObjectAndStackTraceToNull()), onDone: dart.fn(() => { + let t303; + t303 = this[_closeTimer]; + t303 == null ? null : t303.cancel(); + if (this[_readyState] === 1) { + this[_readyState] = 2; + if (!dart.test(_http._WebSocketImpl._isReservedStatusCode(transformer.closeCode))) { + this[_close$0](transformer.closeCode, transformer.closeReason); + } else { + this[_close$0](); + } + this[_readyState] = 3; + } + this[_closeCode] = transformer.closeCode; + this[_closeReason] = transformer.closeReason; + this[_controller$0].close(); + }, T$.VoidTovoid()), cancelOnError: true}); + subscription.pause(); + t303 = this[_controller$0]; + (() => { + t303.onListen = dart.bind(subscription, 'resume'); + t303.onCancel = dart.fn(() => { + dart.nullCheck(this[_subscription$0]).cancel(); + this[_subscription$0] = null; + }, T$.VoidToNull()); + t303.onPause = dart.bind(subscription, 'pause'); + t303.onResume = dart.bind(subscription, 'resume'); + return t303; + })(); + _http._WebSocketImpl._webSockets[$_set](this[_serviceId$], this); + }).prototype = _http._WebSocketImpl.prototype; + dart.addTypeTests(_http._WebSocketImpl); + dart.addTypeCaches(_http._WebSocketImpl); + _http._WebSocketImpl[dart.implements] = () => [_http.WebSocket]; + dart.setMethodSignature(_http._WebSocketImpl, () => ({ + __proto__: dart.getMethods(_http._WebSocketImpl.__proto__), + listen: dart.fnType(async.StreamSubscription, [dart.nullable(dart.fnType(dart.void, [dart.dynamic]))], {cancelOnError: dart.nullable(core.bool), onDone: dart.nullable(dart.fnType(dart.void, [])), onError: dart.nullable(core.Function)}, {}), + add: dart.fnType(dart.void, [dart.nullable(core.Object)]), + addUtf8Text: dart.fnType(dart.void, [core.List$(core.int)]), + addError: dart.fnType(dart.void, [core.Object], [dart.nullable(core.StackTrace)]), + addStream: dart.fnType(async.Future, [dart.nullable(core.Object)]), + close: dart.fnType(async.Future, [], [dart.nullable(core.int), dart.nullable(core.String)]), + [_close$0]: dart.fnType(dart.void, [], [dart.nullable(core.int), dart.nullable(core.String)]), + [_toJSON$]: dart.fnType(core.Map$(core.String, dart.dynamic), [core.bool]) + })); + dart.setGetterSignature(_http._WebSocketImpl, () => ({ + __proto__: dart.getGetters(_http._WebSocketImpl.__proto__), + [_sink]: async.StreamSink, + [_consumer]: _http._WebSocketConsumer, + pingInterval: dart.nullable(core.Duration), + readyState: core.int, + extensions: core.String, + closeCode: dart.nullable(core.int), + closeReason: dart.nullable(core.String), + done: async.Future, + [_serviceTypePath$]: core.String, + [_serviceTypeName$]: core.String + })); + dart.setSetterSignature(_http._WebSocketImpl, () => ({ + __proto__: dart.getSetters(_http._WebSocketImpl.__proto__), + [_sink]: async.StreamSink, + [_consumer]: _http._WebSocketConsumer, + pingInterval: dart.nullable(core.Duration) + })); + dart.setLibraryUri(_http._WebSocketImpl, I[177]); + dart.setFieldSignature(_http._WebSocketImpl, () => ({ + __proto__: dart.getFields(_http._WebSocketImpl.__proto__), + protocol: dart.finalFieldType(dart.nullable(core.String)), + [_controller$0]: dart.finalFieldType(async.StreamController), + [_subscription$0]: dart.fieldType(dart.nullable(async.StreamSubscription)), + [___WebSocketImpl__sink]: dart.fieldType(dart.nullable(async.StreamSink)), + [___WebSocketImpl__sink_isSet]: dart.fieldType(core.bool), + [_socket$0]: dart.finalFieldType(io.Socket), + [_serverSide$]: dart.finalFieldType(core.bool), + [_readyState]: dart.fieldType(core.int), + [_writeClosed]: dart.fieldType(core.bool), + [_closeCode]: dart.fieldType(dart.nullable(core.int)), + [_closeReason]: dart.fieldType(dart.nullable(core.String)), + [_pingInterval]: dart.fieldType(dart.nullable(core.Duration)), + [_pingTimer]: dart.fieldType(dart.nullable(async.Timer)), + [___WebSocketImpl__consumer]: dart.fieldType(dart.nullable(_http._WebSocketConsumer)), + [___WebSocketImpl__consumer_isSet]: dart.fieldType(core.bool), + [_outCloseCode]: dart.fieldType(dart.nullable(core.int)), + [_outCloseReason]: dart.fieldType(dart.nullable(core.String)), + [_closeTimer]: dart.fieldType(dart.nullable(async.Timer)), + [_deflate$]: dart.fieldType(dart.nullable(_http._WebSocketPerMessageDeflate)) + })); + dart.defineLazy(_http._WebSocketImpl, { + /*_http._WebSocketImpl._webSockets*/get _webSockets() { + return new (T.LinkedMapOfint$_WebSocketImpl()).new(); + }, + set _webSockets(_) {}, + /*_http._WebSocketImpl.DEFAULT_WINDOW_BITS*/get DEFAULT_WINDOW_BITS() { + return 15; + }, + /*_http._WebSocketImpl.PER_MESSAGE_DEFLATE*/get PER_MESSAGE_DEFLATE() { + return "permessage-deflate"; + }, + /*_http._WebSocketImpl._httpClient*/get _httpClient() { + return _http.HttpClient.new(); + } + }, false); + _http._getHttpVersion = function _getHttpVersion() { + let version = io.Platform.version; + let index = version[$indexOf](".", version[$indexOf](".") + 1); + version = version[$substring](0, index); + return "Dart/" + dart.str(version) + " (dart:io)"; + }; + dart.defineLazy(_http, { + /*_http._MASK_8*/get _MASK_8() { + return 255; + }, + /*_http._MASK_32*/get _MASK_32() { + return 4294967295.0; + }, + /*_http._BITS_PER_BYTE*/get _BITS_PER_BYTE() { + return 8; + }, + /*_http._BYTES_PER_WORD*/get _BYTES_PER_WORD() { + return 4; + }, + /*_http._nextServiceId*/get _nextServiceId() { + return 1; + }, + set _nextServiceId(_) {}, + /*_http._OUTGOING_BUFFER_SIZE*/get _OUTGOING_BUFFER_SIZE() { + return 8192; + }, + /*_http._DART_SESSION_ID*/get _DART_SESSION_ID() { + return "DARTSESSID"; + }, + /*_http._httpOverridesToken*/get _httpOverridesToken() { + return new core.Object.new(); + }, + /*_http._asyncRunZoned*/get _asyncRunZoned() { + return C[208] || CT.C208; + }, + /*_http._webSocketGUID*/get _webSocketGUID() { + return "258EAFA5-E914-47DA-95CA-C5AB0DC85B11"; + }, + /*_http._clientNoContextTakeover*/get _clientNoContextTakeover() { + return "client_no_context_takeover"; + }, + /*_http._serverNoContextTakeover*/get _serverNoContextTakeover() { + return "server_no_context_takeover"; + }, + /*_http._clientMaxWindowBits*/get _clientMaxWindowBits() { + return "client_max_window_bits"; + }, + /*_http._serverMaxWindowBits*/get _serverMaxWindowBits() { + return "server_max_window_bits"; + } + }, false); + dart.setBaseClass(_http._HttpConnection.__proto__, collection.LinkedListEntry$(_http._HttpConnection)); + dart.trackLibraries("dart_sdk", { + "dart:_runtime": dart, + "dart:_debugger": _debugger, + "dart:_foreign_helper": _foreign_helper, + "dart:_interceptors": _interceptors, + "dart:_internal": _internal, + "dart:_isolate_helper": _isolate_helper, + "dart:_js_helper": _js_helper, + "dart:_js_primitives": _js_primitives, + "dart:_metadata": _metadata, + "dart:_native_typed_data": _native_typed_data, + "dart:async": async, + "dart:collection": collection, + "dart:convert": convert, + "dart:developer": developer, + "dart:io": io, + "dart:isolate": isolate$, + "dart:js": js, + "dart:js_util": js_util, + "dart:math": math, + "dart:typed_data": typed_data, + "dart:indexed_db": indexed_db, + "dart:html": html$, + "dart:html_common": html_common, + "dart:svg": svg$, + "dart:web_audio": web_audio, + "dart:web_gl": web_gl, + "dart:web_sql": web_sql, + "dart:core": core, + "dart:_http": _http + }, { + "dart:_runtime": ["utils.dart", "classes.dart", "rtti.dart", "types.dart", "errors.dart", "operations.dart"], + "dart:_debugger": ["profile.dart"], + "dart:_interceptors": ["js_array.dart", "js_number.dart", "js_string.dart"], + "dart:_internal": ["async_cast.dart", "bytes_builder.dart", "cast.dart", "errors.dart", "iterable.dart", "list.dart", "linked_list.dart", "print.dart", "sort.dart", "symbol.dart"], + "dart:_js_helper": ["annotations.dart", "linked_hash_map.dart", "identity_hash_map.dart", "custom_hash_map.dart", "native_helper.dart", "regexp_helper.dart", "string_helper.dart", "js_rti.dart"], + "dart:async": ["async_error.dart", "broadcast_stream_controller.dart", "deferred_load.dart", "future.dart", "future_impl.dart", "schedule_microtask.dart", "stream.dart", "stream_controller.dart", "stream_impl.dart", "stream_pipe.dart", "stream_transformers.dart", "timer.dart", "zone.dart"], + "dart:collection": ["collections.dart", "hash_map.dart", "hash_set.dart", "iterable.dart", "iterator.dart", "linked_hash_map.dart", "linked_hash_set.dart", "linked_list.dart", "list.dart", "maps.dart", "queue.dart", "set.dart", "splay_tree.dart"], + "dart:convert": ["ascii.dart", "base64.dart", "byte_conversion.dart", "chunked_conversion.dart", "codec.dart", "converter.dart", "encoding.dart", "html_escape.dart", "json.dart", "latin1.dart", "line_splitter.dart", "string_conversion.dart", "utf.dart"], + "dart:developer": ["extension.dart", "profiler.dart", "service.dart", "timeline.dart"], + "dart:io": ["common.dart", "data_transformer.dart", "directory.dart", "directory_impl.dart", "embedder_config.dart", "eventhandler.dart", "file.dart", "file_impl.dart", "file_system_entity.dart", "io_resource_info.dart", "io_sink.dart", "io_service.dart", "link.dart", "namespace_impl.dart", "network_policy.dart", "network_profiling.dart", "overrides.dart", "platform.dart", "platform_impl.dart", "process.dart", "secure_server_socket.dart", "secure_socket.dart", "security_context.dart", "service_object.dart", "socket.dart", "stdio.dart", "string_transformer.dart", "sync_socket.dart"], + "dart:isolate": ["capability.dart"], + "dart:math": ["point.dart", "random.dart", "rectangle.dart"], + "dart:typed_data": ["unmodifiable_typed_data.dart"], + "dart:html_common": ["css_class_set.dart", "conversions.dart", "conversions_dart2js.dart", "device.dart", "filtered_element_list.dart", "lists.dart"], + "dart:core": ["annotations.dart", "bigint.dart", "bool.dart", "comparable.dart", "date_time.dart", "double.dart", "duration.dart", "errors.dart", "exceptions.dart", "expando.dart", "function.dart", "identical.dart", "int.dart", "invocation.dart", "iterable.dart", "iterator.dart", "list.dart", "map.dart", "null.dart", "num.dart", "object.dart", "pattern.dart", "print.dart", "regexp.dart", "set.dart", "sink.dart", "stacktrace.dart", "stopwatch.dart", "string.dart", "string_buffer.dart", "string_sink.dart", "symbol.dart", "type.dart", "uri.dart"], + "dart:_http": ["crypto.dart", "http_date.dart", "http_headers.dart", "http_impl.dart", "http_parser.dart", "http_session.dart", "overrides.dart", "websocket.dart", "websocket_impl.dart"] + }, null); + // Exports: + return { + dart: dart, + _debugger: _debugger, + _foreign_helper: _foreign_helper, + _interceptors: _interceptors, + _internal: _internal, + _isolate_helper: _isolate_helper, + _js_helper: _js_helper, + _js_primitives: _js_primitives, + _metadata: _metadata, + _native_typed_data: _native_typed_data, + async: async, + collection: collection, + convert: convert, + developer: developer, + io: io, + isolate: isolate$, + js: js, + js_util: js_util, + math: math, + typed_data: typed_data, + indexed_db: indexed_db, + html: html$, + html_common: html_common, + svg: svg$, + web_audio: web_audio, + web_gl: web_gl, + web_sql: web_sql, + core: core, + _http: _http, + dartx: dartx + }; +})); + +//# sourceMappingURL=dart_sdk.js.map diff --git a/v0.19.4/packages/$sdk/dev_compiler/kernel/amd/require.js b/v0.19.4/packages/$sdk/dev_compiler/kernel/amd/require.js new file mode 100644 index 000000000..0fc1082d5 --- /dev/null +++ b/v0.19.4/packages/$sdk/dev_compiler/kernel/amd/require.js @@ -0,0 +1,2145 @@ +/** vim: et:ts=4:sw=4:sts=4 + * @license RequireJS 2.3.3 Copyright jQuery Foundation and other contributors. + * Released under MIT license, https://github.com/requirejs/requirejs/blob/master/LICENSE + */ +//Not using strict: uneven strict support in browsers, #392, and causes +//problems with requirejs.exec()/transpiler plugins that may not be strict. +/*jslint regexp: true, nomen: true, sloppy: true */ +/*global window, navigator, document, importScripts, setTimeout, opera */ + +var requirejs, require, define; +(function (global, setTimeout) { + var req, s, head, baseElement, dataMain, src, + interactiveScript, currentlyAddingScript, mainScript, subPath, + version = '2.3.3', + commentRegExp = /\/\*[\s\S]*?\*\/|([^:"'=]|^)\/\/.*$/mg, + cjsRequireRegExp = /[^.]\s*require\s*\(\s*["']([^'"\s]+)["']\s*\)/g, + jsSuffixRegExp = /\.js$/, + currDirRegExp = /^\.\//, + op = Object.prototype, + ostring = op.toString, + hasOwn = op.hasOwnProperty, + isBrowser = !!(typeof window !== 'undefined' && typeof navigator !== 'undefined' && window.document), + isWebWorker = !isBrowser && typeof importScripts !== 'undefined', + //PS3 indicates loaded and complete, but need to wait for complete + //specifically. Sequence is 'loading', 'loaded', execution, + // then 'complete'. The UA check is unfortunate, but not sure how + //to feature test w/o causing perf issues. + readyRegExp = isBrowser && navigator.platform === 'PLAYSTATION 3' ? + /^complete$/ : /^(complete|loaded)$/, + defContextName = '_', + //Oh the tragedy, detecting opera. See the usage of isOpera for reason. + isOpera = typeof opera !== 'undefined' && opera.toString() === '[object Opera]', + contexts = {}, + cfg = {}, + globalDefQueue = [], + useInteractive = false; + + //Could match something like ')//comment', do not lose the prefix to comment. + function commentReplace(match, singlePrefix) { + return singlePrefix || ''; + } + + function isFunction(it) { + return ostring.call(it) === '[object Function]'; + } + + function isArray(it) { + return ostring.call(it) === '[object Array]'; + } + + /** + * Helper function for iterating over an array. If the func returns + * a true value, it will break out of the loop. + */ + function each(ary, func) { + if (ary) { + var i; + for (i = 0; i < ary.length; i += 1) { + if (ary[i] && func(ary[i], i, ary)) { + break; + } + } + } + } + + /** + * Helper function for iterating over an array backwards. If the func + * returns a true value, it will break out of the loop. + */ + function eachReverse(ary, func) { + if (ary) { + var i; + for (i = ary.length - 1; i > -1; i -= 1) { + if (ary[i] && func(ary[i], i, ary)) { + break; + } + } + } + } + + function hasProp(obj, prop) { + return hasOwn.call(obj, prop); + } + + function getOwn(obj, prop) { + return hasProp(obj, prop) && obj[prop]; + } + + /** + * Cycles over properties in an object and calls a function for each + * property value. If the function returns a truthy value, then the + * iteration is stopped. + */ + function eachProp(obj, func) { + var prop; + for (prop in obj) { + if (hasProp(obj, prop)) { + if (func(obj[prop], prop)) { + break; + } + } + } + } + + /** + * Simple function to mix in properties from source into target, + * but only if target does not already have a property of the same name. + */ + function mixin(target, source, force, deepStringMixin) { + if (source) { + eachProp(source, function (value, prop) { + if (force || !hasProp(target, prop)) { + if (deepStringMixin && typeof value === 'object' && value && + !isArray(value) && !isFunction(value) && + !(value instanceof RegExp)) { + + if (!target[prop]) { + target[prop] = {}; + } + mixin(target[prop], value, force, deepStringMixin); + } else { + target[prop] = value; + } + } + }); + } + return target; + } + + //Similar to Function.prototype.bind, but the 'this' object is specified + //first, since it is easier to read/figure out what 'this' will be. + function bind(obj, fn) { + return function () { + return fn.apply(obj, arguments); + }; + } + + function scripts() { + return document.getElementsByTagName('script'); + } + + function defaultOnError(err) { + throw err; + } + + //Allow getting a global that is expressed in + //dot notation, like 'a.b.c'. + function getGlobal(value) { + if (!value) { + return value; + } + var g = global; + each(value.split('.'), function (part) { + g = g[part]; + }); + return g; + } + + /** + * Constructs an error with a pointer to an URL with more information. + * @param {String} id the error ID that maps to an ID on a web page. + * @param {String} message human readable error. + * @param {Error} [err] the original error, if there is one. + * + * @returns {Error} + */ + function makeError(id, msg, err, requireModules) { + var e = new Error(msg + '\nhttp://requirejs.org/docs/errors.html#' + id); + e.requireType = id; + e.requireModules = requireModules; + if (err) { + e.originalError = err; + } + return e; + } + + if (typeof define !== 'undefined') { + //If a define is already in play via another AMD loader, + //do not overwrite. + return; + } + + if (typeof requirejs !== 'undefined') { + if (isFunction(requirejs)) { + //Do not overwrite an existing requirejs instance. + return; + } + cfg = requirejs; + requirejs = undefined; + } + + //Allow for a require config object + if (typeof require !== 'undefined' && !isFunction(require)) { + //assume it is a config object. + cfg = require; + require = undefined; + } + + function newContext(contextName) { + var inCheckLoaded, Module, context, handlers, + checkLoadedTimeoutId, + config = { + //Defaults. Do not set a default for map + //config to speed up normalize(), which + //will run faster if there is no default. + waitSeconds: 7, + baseUrl: './', + paths: {}, + bundles: {}, + pkgs: {}, + shim: {}, + config: {} + }, + registry = {}, + //registry of just enabled modules, to speed + //cycle breaking code when lots of modules + //are registered, but not activated. + enabledRegistry = {}, + undefEvents = {}, + defQueue = [], + defined = {}, + urlFetched = {}, + bundlesMap = {}, + requireCounter = 1, + unnormalizedCounter = 1; + + /** + * Trims the . and .. from an array of path segments. + * It will keep a leading path segment if a .. will become + * the first path segment, to help with module name lookups, + * which act like paths, but can be remapped. But the end result, + * all paths that use this function should look normalized. + * NOTE: this method MODIFIES the input array. + * @param {Array} ary the array of path segments. + */ + function trimDots(ary) { + var i, part; + for (i = 0; i < ary.length; i++) { + part = ary[i]; + if (part === '.') { + ary.splice(i, 1); + i -= 1; + } else if (part === '..') { + // If at the start, or previous value is still .., + // keep them so that when converted to a path it may + // still work when converted to a path, even though + // as an ID it is less than ideal. In larger point + // releases, may be better to just kick out an error. + if (i === 0 || (i === 1 && ary[2] === '..') || ary[i - 1] === '..') { + continue; + } else if (i > 0) { + ary.splice(i - 1, 2); + i -= 2; + } + } + } + } + + /** + * Given a relative module name, like ./something, normalize it to + * a real name that can be mapped to a path. + * @param {String} name the relative name + * @param {String} baseName a real name that the name arg is relative + * to. + * @param {Boolean} applyMap apply the map config to the value. Should + * only be done if this normalization is for a dependency ID. + * @returns {String} normalized name + */ + function normalize(name, baseName, applyMap) { + var pkgMain, mapValue, nameParts, i, j, nameSegment, lastIndex, + foundMap, foundI, foundStarMap, starI, normalizedBaseParts, + baseParts = (baseName && baseName.split('/')), + map = config.map, + starMap = map && map['*']; + + //Adjust any relative paths. + if (name) { + name = name.split('/'); + lastIndex = name.length - 1; + + // If wanting node ID compatibility, strip .js from end + // of IDs. Have to do this here, and not in nameToUrl + // because node allows either .js or non .js to map + // to same file. + if (config.nodeIdCompat && jsSuffixRegExp.test(name[lastIndex])) { + name[lastIndex] = name[lastIndex].replace(jsSuffixRegExp, ''); + } + + // Starts with a '.' so need the baseName + if (name[0].charAt(0) === '.' && baseParts) { + //Convert baseName to array, and lop off the last part, + //so that . matches that 'directory' and not name of the baseName's + //module. For instance, baseName of 'one/two/three', maps to + //'one/two/three.js', but we want the directory, 'one/two' for + //this normalization. + normalizedBaseParts = baseParts.slice(0, baseParts.length - 1); + name = normalizedBaseParts.concat(name); + } + + trimDots(name); + name = name.join('/'); + } + + //Apply map config if available. + if (applyMap && map && (baseParts || starMap)) { + nameParts = name.split('/'); + + outerLoop: for (i = nameParts.length; i > 0; i -= 1) { + nameSegment = nameParts.slice(0, i).join('/'); + + if (baseParts) { + //Find the longest baseName segment match in the config. + //So, do joins on the biggest to smallest lengths of baseParts. + for (j = baseParts.length; j > 0; j -= 1) { + mapValue = getOwn(map, baseParts.slice(0, j).join('/')); + + //baseName segment has config, find if it has one for + //this name. + if (mapValue) { + mapValue = getOwn(mapValue, nameSegment); + if (mapValue) { + //Match, update name to the new value. + foundMap = mapValue; + foundI = i; + break outerLoop; + } + } + } + } + + //Check for a star map match, but just hold on to it, + //if there is a shorter segment match later in a matching + //config, then favor over this star map. + if (!foundStarMap && starMap && getOwn(starMap, nameSegment)) { + foundStarMap = getOwn(starMap, nameSegment); + starI = i; + } + } + + if (!foundMap && foundStarMap) { + foundMap = foundStarMap; + foundI = starI; + } + + if (foundMap) { + nameParts.splice(0, foundI, foundMap); + name = nameParts.join('/'); + } + } + + // If the name points to a package's name, use + // the package main instead. + pkgMain = getOwn(config.pkgs, name); + + return pkgMain ? pkgMain : name; + } + + function removeScript(name) { + if (isBrowser) { + each(scripts(), function (scriptNode) { + if (scriptNode.getAttribute('data-requiremodule') === name && + scriptNode.getAttribute('data-requirecontext') === context.contextName) { + scriptNode.parentNode.removeChild(scriptNode); + return true; + } + }); + } + } + + function hasPathFallback(id) { + var pathConfig = getOwn(config.paths, id); + if (pathConfig && isArray(pathConfig) && pathConfig.length > 1) { + //Pop off the first array value, since it failed, and + //retry + pathConfig.shift(); + context.require.undef(id); + + //Custom require that does not do map translation, since + //ID is "absolute", already mapped/resolved. + context.makeRequire(null, { + skipMap: true + })([id]); + + return true; + } + } + + //Turns a plugin!resource to [plugin, resource] + //with the plugin being undefined if the name + //did not have a plugin prefix. + function splitPrefix(name) { + var prefix, + index = name ? name.indexOf('!') : -1; + if (index > -1) { + prefix = name.substring(0, index); + name = name.substring(index + 1, name.length); + } + return [prefix, name]; + } + + /** + * Creates a module mapping that includes plugin prefix, module + * name, and path. If parentModuleMap is provided it will + * also normalize the name via require.normalize() + * + * @param {String} name the module name + * @param {String} [parentModuleMap] parent module map + * for the module name, used to resolve relative names. + * @param {Boolean} isNormalized: is the ID already normalized. + * This is true if this call is done for a define() module ID. + * @param {Boolean} applyMap: apply the map config to the ID. + * Should only be true if this map is for a dependency. + * + * @returns {Object} + */ + function makeModuleMap(name, parentModuleMap, isNormalized, applyMap) { + var url, pluginModule, suffix, nameParts, + prefix = null, + parentName = parentModuleMap ? parentModuleMap.name : null, + originalName = name, + isDefine = true, + normalizedName = ''; + + //If no name, then it means it is a require call, generate an + //internal name. + if (!name) { + isDefine = false; + name = '_@r' + (requireCounter += 1); + } + + nameParts = splitPrefix(name); + prefix = nameParts[0]; + name = nameParts[1]; + + if (prefix) { + prefix = normalize(prefix, parentName, applyMap); + pluginModule = getOwn(defined, prefix); + } + + //Account for relative paths if there is a base name. + if (name) { + if (prefix) { + if (isNormalized) { + normalizedName = name; + } else if (pluginModule && pluginModule.normalize) { + //Plugin is loaded, use its normalize method. + normalizedName = pluginModule.normalize(name, function (name) { + return normalize(name, parentName, applyMap); + }); + } else { + // If nested plugin references, then do not try to + // normalize, as it will not normalize correctly. This + // places a restriction on resourceIds, and the longer + // term solution is not to normalize until plugins are + // loaded and all normalizations to allow for async + // loading of a loader plugin. But for now, fixes the + // common uses. Details in #1131 + normalizedName = name.indexOf('!') === -1 ? + normalize(name, parentName, applyMap) : + name; + } + } else { + //A regular module. + normalizedName = normalize(name, parentName, applyMap); + + //Normalized name may be a plugin ID due to map config + //application in normalize. The map config values must + //already be normalized, so do not need to redo that part. + nameParts = splitPrefix(normalizedName); + prefix = nameParts[0]; + normalizedName = nameParts[1]; + isNormalized = true; + + url = context.nameToUrl(normalizedName); + } + } + + //If the id is a plugin id that cannot be determined if it needs + //normalization, stamp it with a unique ID so two matching relative + //ids that may conflict can be separate. + suffix = prefix && !pluginModule && !isNormalized ? + '_unnormalized' + (unnormalizedCounter += 1) : + ''; + + return { + prefix: prefix, + name: normalizedName, + parentMap: parentModuleMap, + unnormalized: !!suffix, + url: url, + originalName: originalName, + isDefine: isDefine, + id: (prefix ? + prefix + '!' + normalizedName : + normalizedName) + suffix + }; + } + + function getModule(depMap) { + var id = depMap.id, + mod = getOwn(registry, id); + + if (!mod) { + mod = registry[id] = new context.Module(depMap); + } + + return mod; + } + + function on(depMap, name, fn) { + var id = depMap.id, + mod = getOwn(registry, id); + + if (hasProp(defined, id) && + (!mod || mod.defineEmitComplete)) { + if (name === 'defined') { + fn(defined[id]); + } + } else { + mod = getModule(depMap); + if (mod.error && name === 'error') { + fn(mod.error); + } else { + mod.on(name, fn); + } + } + } + + function onError(err, errback) { + var ids = err.requireModules, + notified = false; + + if (errback) { + errback(err); + } else { + each(ids, function (id) { + var mod = getOwn(registry, id); + if (mod) { + //Set error on module, so it skips timeout checks. + mod.error = err; + if (mod.events.error) { + notified = true; + mod.emit('error', err); + } + } + }); + + if (!notified) { + req.onError(err); + } + } + } + + /** + * Internal method to transfer globalQueue items to this context's + * defQueue. + */ + function takeGlobalQueue() { + //Push all the globalDefQueue items into the context's defQueue + if (globalDefQueue.length) { + each(globalDefQueue, function(queueItem) { + var id = queueItem[0]; + if (typeof id === 'string') { + context.defQueueMap[id] = true; + } + defQueue.push(queueItem); + }); + globalDefQueue = []; + } + } + + handlers = { + 'require': function (mod) { + if (mod.require) { + return mod.require; + } else { + return (mod.require = context.makeRequire(mod.map)); + } + }, + 'exports': function (mod) { + mod.usingExports = true; + if (mod.map.isDefine) { + if (mod.exports) { + return (defined[mod.map.id] = mod.exports); + } else { + return (mod.exports = defined[mod.map.id] = {}); + } + } + }, + 'module': function (mod) { + if (mod.module) { + return mod.module; + } else { + return (mod.module = { + id: mod.map.id, + uri: mod.map.url, + config: function () { + return getOwn(config.config, mod.map.id) || {}; + }, + exports: mod.exports || (mod.exports = {}) + }); + } + } + }; + + function cleanRegistry(id) { + //Clean up machinery used for waiting modules. + delete registry[id]; + delete enabledRegistry[id]; + } + + function breakCycle(mod, traced, processed) { + var id = mod.map.id; + + if (mod.error) { + mod.emit('error', mod.error); + } else { + traced[id] = true; + each(mod.depMaps, function (depMap, i) { + var depId = depMap.id, + dep = getOwn(registry, depId); + + //Only force things that have not completed + //being defined, so still in the registry, + //and only if it has not been matched up + //in the module already. + if (dep && !mod.depMatched[i] && !processed[depId]) { + if (getOwn(traced, depId)) { + mod.defineDep(i, defined[depId]); + mod.check(); //pass false? + } else { + breakCycle(dep, traced, processed); + } + } + }); + processed[id] = true; + } + } + + function checkLoaded() { + var err, usingPathFallback, + waitInterval = config.waitSeconds * 1000, + //It is possible to disable the wait interval by using waitSeconds of 0. + expired = waitInterval && (context.startTime + waitInterval) < new Date().getTime(), + noLoads = [], + reqCalls = [], + stillLoading = false, + needCycleCheck = true; + + //Do not bother if this call was a result of a cycle break. + if (inCheckLoaded) { + return; + } + + inCheckLoaded = true; + + //Figure out the state of all the modules. + eachProp(enabledRegistry, function (mod) { + var map = mod.map, + modId = map.id; + + //Skip things that are not enabled or in error state. + if (!mod.enabled) { + return; + } + + if (!map.isDefine) { + reqCalls.push(mod); + } + + if (!mod.error) { + //If the module should be executed, and it has not + //been inited and time is up, remember it. + if (!mod.inited && expired) { + if (hasPathFallback(modId)) { + usingPathFallback = true; + stillLoading = true; + } else { + noLoads.push(modId); + removeScript(modId); + } + } else if (!mod.inited && mod.fetched && map.isDefine) { + stillLoading = true; + if (!map.prefix) { + //No reason to keep looking for unfinished + //loading. If the only stillLoading is a + //plugin resource though, keep going, + //because it may be that a plugin resource + //is waiting on a non-plugin cycle. + return (needCycleCheck = false); + } + } + } + }); + + if (expired && noLoads.length) { + //If wait time expired, throw error of unloaded modules. + err = makeError('timeout', 'Load timeout for modules: ' + noLoads, null, noLoads); + err.contextName = context.contextName; + return onError(err); + } + + //Not expired, check for a cycle. + if (needCycleCheck) { + each(reqCalls, function (mod) { + breakCycle(mod, {}, {}); + }); + } + + //If still waiting on loads, and the waiting load is something + //other than a plugin resource, or there are still outstanding + //scripts, then just try back later. + if ((!expired || usingPathFallback) && stillLoading) { + //Something is still waiting to load. Wait for it, but only + //if a timeout is not already in effect. + if ((isBrowser || isWebWorker) && !checkLoadedTimeoutId) { + checkLoadedTimeoutId = setTimeout(function () { + checkLoadedTimeoutId = 0; + checkLoaded(); + }, 50); + } + } + + inCheckLoaded = false; + } + + Module = function (map) { + this.events = getOwn(undefEvents, map.id) || {}; + this.map = map; + this.shim = getOwn(config.shim, map.id); + this.depExports = []; + this.depMaps = []; + this.depMatched = []; + this.pluginMaps = {}; + this.depCount = 0; + + /* this.exports this.factory + this.depMaps = [], + this.enabled, this.fetched + */ + }; + + Module.prototype = { + init: function (depMaps, factory, errback, options) { + options = options || {}; + + //Do not do more inits if already done. Can happen if there + //are multiple define calls for the same module. That is not + //a normal, common case, but it is also not unexpected. + if (this.inited) { + return; + } + + this.factory = factory; + + if (errback) { + //Register for errors on this module. + this.on('error', errback); + } else if (this.events.error) { + //If no errback already, but there are error listeners + //on this module, set up an errback to pass to the deps. + errback = bind(this, function (err) { + this.emit('error', err); + }); + } + + //Do a copy of the dependency array, so that + //source inputs are not modified. For example + //"shim" deps are passed in here directly, and + //doing a direct modification of the depMaps array + //would affect that config. + this.depMaps = depMaps && depMaps.slice(0); + + this.errback = errback; + + //Indicate this module has be initialized + this.inited = true; + + this.ignore = options.ignore; + + //Could have option to init this module in enabled mode, + //or could have been previously marked as enabled. However, + //the dependencies are not known until init is called. So + //if enabled previously, now trigger dependencies as enabled. + if (options.enabled || this.enabled) { + //Enable this module and dependencies. + //Will call this.check() + this.enable(); + } else { + this.check(); + } + }, + + defineDep: function (i, depExports) { + //Because of cycles, defined callback for a given + //export can be called more than once. + if (!this.depMatched[i]) { + this.depMatched[i] = true; + this.depCount -= 1; + this.depExports[i] = depExports; + } + }, + + fetch: function () { + if (this.fetched) { + return; + } + this.fetched = true; + + context.startTime = (new Date()).getTime(); + + var map = this.map; + + //If the manager is for a plugin managed resource, + //ask the plugin to load it now. + if (this.shim) { + context.makeRequire(this.map, { + enableBuildCallback: true + })(this.shim.deps || [], bind(this, function () { + return map.prefix ? this.callPlugin() : this.load(); + })); + } else { + //Regular dependency. + return map.prefix ? this.callPlugin() : this.load(); + } + }, + + load: function () { + var url = this.map.url; + + //Regular dependency. + if (!urlFetched[url]) { + urlFetched[url] = true; + context.load(this.map.id, url); + } + }, + + /** + * Checks if the module is ready to define itself, and if so, + * define it. + */ + check: function () { + if (!this.enabled || this.enabling) { + return; + } + + var err, cjsModule, + id = this.map.id, + depExports = this.depExports, + exports = this.exports, + factory = this.factory; + + if (!this.inited) { + // Only fetch if not already in the defQueue. + if (!hasProp(context.defQueueMap, id)) { + this.fetch(); + } + } else if (this.error) { + this.emit('error', this.error); + } else if (!this.defining) { + //The factory could trigger another require call + //that would result in checking this module to + //define itself again. If already in the process + //of doing that, skip this work. + this.defining = true; + + if (this.depCount < 1 && !this.defined) { + if (isFunction(factory)) { + //If there is an error listener, favor passing + //to that instead of throwing an error. However, + //only do it for define()'d modules. require + //errbacks should not be called for failures in + //their callbacks (#699). However if a global + //onError is set, use that. + if ((this.events.error && this.map.isDefine) || + req.onError !== defaultOnError) { + try { + exports = context.execCb(id, factory, depExports, exports); + } catch (e) { + err = e; + } + } else { + exports = context.execCb(id, factory, depExports, exports); + } + + // Favor return value over exports. If node/cjs in play, + // then will not have a return value anyway. Favor + // module.exports assignment over exports object. + if (this.map.isDefine && exports === undefined) { + cjsModule = this.module; + if (cjsModule) { + exports = cjsModule.exports; + } else if (this.usingExports) { + //exports already set the defined value. + exports = this.exports; + } + } + + if (err) { + err.requireMap = this.map; + err.requireModules = this.map.isDefine ? [this.map.id] : null; + err.requireType = this.map.isDefine ? 'define' : 'require'; + return onError((this.error = err)); + } + + } else { + //Just a literal value + exports = factory; + } + + this.exports = exports; + + if (this.map.isDefine && !this.ignore) { + defined[id] = exports; + + if (req.onResourceLoad) { + var resLoadMaps = []; + each(this.depMaps, function (depMap) { + resLoadMaps.push(depMap.normalizedMap || depMap); + }); + req.onResourceLoad(context, this.map, resLoadMaps); + } + } + + //Clean up + cleanRegistry(id); + + this.defined = true; + } + + //Finished the define stage. Allow calling check again + //to allow define notifications below in the case of a + //cycle. + this.defining = false; + + if (this.defined && !this.defineEmitted) { + this.defineEmitted = true; + this.emit('defined', this.exports); + this.defineEmitComplete = true; + } + + } + }, + + callPlugin: function () { + var map = this.map, + id = map.id, + //Map already normalized the prefix. + pluginMap = makeModuleMap(map.prefix); + + //Mark this as a dependency for this plugin, so it + //can be traced for cycles. + this.depMaps.push(pluginMap); + + on(pluginMap, 'defined', bind(this, function (plugin) { + var load, normalizedMap, normalizedMod, + bundleId = getOwn(bundlesMap, this.map.id), + name = this.map.name, + parentName = this.map.parentMap ? this.map.parentMap.name : null, + localRequire = context.makeRequire(map.parentMap, { + enableBuildCallback: true + }); + + //If current map is not normalized, wait for that + //normalized name to load instead of continuing. + if (this.map.unnormalized) { + //Normalize the ID if the plugin allows it. + if (plugin.normalize) { + name = plugin.normalize(name, function (name) { + return normalize(name, parentName, true); + }) || ''; + } + + //prefix and name should already be normalized, no need + //for applying map config again either. + normalizedMap = makeModuleMap(map.prefix + '!' + name, + this.map.parentMap, + true); + on(normalizedMap, + 'defined', bind(this, function (value) { + this.map.normalizedMap = normalizedMap; + this.init([], function () { return value; }, null, { + enabled: true, + ignore: true + }); + })); + + normalizedMod = getOwn(registry, normalizedMap.id); + if (normalizedMod) { + //Mark this as a dependency for this plugin, so it + //can be traced for cycles. + this.depMaps.push(normalizedMap); + + if (this.events.error) { + normalizedMod.on('error', bind(this, function (err) { + this.emit('error', err); + })); + } + normalizedMod.enable(); + } + + return; + } + + //If a paths config, then just load that file instead to + //resolve the plugin, as it is built into that paths layer. + if (bundleId) { + this.map.url = context.nameToUrl(bundleId); + this.load(); + return; + } + + load = bind(this, function (value) { + this.init([], function () { return value; }, null, { + enabled: true + }); + }); + + load.error = bind(this, function (err) { + this.inited = true; + this.error = err; + err.requireModules = [id]; + + //Remove temp unnormalized modules for this module, + //since they will never be resolved otherwise now. + eachProp(registry, function (mod) { + if (mod.map.id.indexOf(id + '_unnormalized') === 0) { + cleanRegistry(mod.map.id); + } + }); + + onError(err); + }); + + //Allow plugins to load other code without having to know the + //context or how to 'complete' the load. + load.fromText = bind(this, function (text, textAlt) { + /*jslint evil: true */ + var moduleName = map.name, + moduleMap = makeModuleMap(moduleName), + hasInteractive = useInteractive; + + //As of 2.1.0, support just passing the text, to reinforce + //fromText only being called once per resource. Still + //support old style of passing moduleName but discard + //that moduleName in favor of the internal ref. + if (textAlt) { + text = textAlt; + } + + //Turn off interactive script matching for IE for any define + //calls in the text, then turn it back on at the end. + if (hasInteractive) { + useInteractive = false; + } + + //Prime the system by creating a module instance for + //it. + getModule(moduleMap); + + //Transfer any config to this other module. + if (hasProp(config.config, id)) { + config.config[moduleName] = config.config[id]; + } + + try { + req.exec(text); + } catch (e) { + return onError(makeError('fromtexteval', + 'fromText eval for ' + id + + ' failed: ' + e, + e, + [id])); + } + + if (hasInteractive) { + useInteractive = true; + } + + //Mark this as a dependency for the plugin + //resource + this.depMaps.push(moduleMap); + + //Support anonymous modules. + context.completeLoad(moduleName); + + //Bind the value of that module to the value for this + //resource ID. + localRequire([moduleName], load); + }); + + //Use parentName here since the plugin's name is not reliable, + //could be some weird string with no path that actually wants to + //reference the parentName's path. + plugin.load(map.name, localRequire, load, config); + })); + + context.enable(pluginMap, this); + this.pluginMaps[pluginMap.id] = pluginMap; + }, + + enable: function () { + enabledRegistry[this.map.id] = this; + this.enabled = true; + + //Set flag mentioning that the module is enabling, + //so that immediate calls to the defined callbacks + //for dependencies do not trigger inadvertent load + //with the depCount still being zero. + this.enabling = true; + + //Enable each dependency + each(this.depMaps, bind(this, function (depMap, i) { + var id, mod, handler; + + if (typeof depMap === 'string') { + //Dependency needs to be converted to a depMap + //and wired up to this module. + depMap = makeModuleMap(depMap, + (this.map.isDefine ? this.map : this.map.parentMap), + false, + !this.skipMap); + this.depMaps[i] = depMap; + + handler = getOwn(handlers, depMap.id); + + if (handler) { + this.depExports[i] = handler(this); + return; + } + + this.depCount += 1; + + on(depMap, 'defined', bind(this, function (depExports) { + if (this.undefed) { + return; + } + this.defineDep(i, depExports); + this.check(); + })); + + if (this.errback) { + on(depMap, 'error', bind(this, this.errback)); + } else if (this.events.error) { + // No direct errback on this module, but something + // else is listening for errors, so be sure to + // propagate the error correctly. + on(depMap, 'error', bind(this, function(err) { + this.emit('error', err); + })); + } + } + + id = depMap.id; + mod = registry[id]; + + //Skip special modules like 'require', 'exports', 'module' + //Also, don't call enable if it is already enabled, + //important in circular dependency cases. + if (!hasProp(handlers, id) && mod && !mod.enabled) { + context.enable(depMap, this); + } + })); + + //Enable each plugin that is used in + //a dependency + eachProp(this.pluginMaps, bind(this, function (pluginMap) { + var mod = getOwn(registry, pluginMap.id); + if (mod && !mod.enabled) { + context.enable(pluginMap, this); + } + })); + + this.enabling = false; + + this.check(); + }, + + on: function (name, cb) { + var cbs = this.events[name]; + if (!cbs) { + cbs = this.events[name] = []; + } + cbs.push(cb); + }, + + emit: function (name, evt) { + each(this.events[name], function (cb) { + cb(evt); + }); + if (name === 'error') { + //Now that the error handler was triggered, remove + //the listeners, since this broken Module instance + //can stay around for a while in the registry. + delete this.events[name]; + } + } + }; + + function callGetModule(args) { + //Skip modules already defined. + if (!hasProp(defined, args[0])) { + getModule(makeModuleMap(args[0], null, true)).init(args[1], args[2]); + } + } + + function removeListener(node, func, name, ieName) { + //Favor detachEvent because of IE9 + //issue, see attachEvent/addEventListener comment elsewhere + //in this file. + if (node.detachEvent && !isOpera) { + //Probably IE. If not it will throw an error, which will be + //useful to know. + if (ieName) { + node.detachEvent(ieName, func); + } + } else { + node.removeEventListener(name, func, false); + } + } + + /** + * Given an event from a script node, get the requirejs info from it, + * and then removes the event listeners on the node. + * @param {Event} evt + * @returns {Object} + */ + function getScriptData(evt) { + //Using currentTarget instead of target for Firefox 2.0's sake. Not + //all old browsers will be supported, but this one was easy enough + //to support and still makes sense. + var node = evt.currentTarget || evt.srcElement; + + //Remove the listeners once here. + removeListener(node, context.onScriptLoad, 'load', 'onreadystatechange'); + removeListener(node, context.onScriptError, 'error'); + + return { + node: node, + id: node && node.getAttribute('data-requiremodule') + }; + } + + function intakeDefines() { + var args; + + //Any defined modules in the global queue, intake them now. + takeGlobalQueue(); + + //Make sure any remaining defQueue items get properly processed. + while (defQueue.length) { + args = defQueue.shift(); + if (args[0] === null) { + return onError(makeError('mismatch', 'Mismatched anonymous define() module: ' + + args[args.length - 1])); + } else { + //args are id, deps, factory. Should be normalized by the + //define() function. + callGetModule(args); + } + } + context.defQueueMap = {}; + } + + context = { + config: config, + contextName: contextName, + registry: registry, + defined: defined, + urlFetched: urlFetched, + defQueue: defQueue, + defQueueMap: {}, + Module: Module, + makeModuleMap: makeModuleMap, + nextTick: req.nextTick, + onError: onError, + + /** + * Set a configuration for the context. + * @param {Object} cfg config object to integrate. + */ + configure: function (cfg) { + //Make sure the baseUrl ends in a slash. + if (cfg.baseUrl) { + if (cfg.baseUrl.charAt(cfg.baseUrl.length - 1) !== '/') { + cfg.baseUrl += '/'; + } + } + + // Convert old style urlArgs string to a function. + if (typeof cfg.urlArgs === 'string') { + var urlArgs = cfg.urlArgs; + cfg.urlArgs = function(id, url) { + return (url.indexOf('?') === -1 ? '?' : '&') + urlArgs; + }; + } + + //Save off the paths since they require special processing, + //they are additive. + var shim = config.shim, + objs = { + paths: true, + bundles: true, + config: true, + map: true + }; + + eachProp(cfg, function (value, prop) { + if (objs[prop]) { + if (!config[prop]) { + config[prop] = {}; + } + mixin(config[prop], value, true, true); + } else { + config[prop] = value; + } + }); + + //Reverse map the bundles + if (cfg.bundles) { + eachProp(cfg.bundles, function (value, prop) { + each(value, function (v) { + if (v !== prop) { + bundlesMap[v] = prop; + } + }); + }); + } + + //Merge shim + if (cfg.shim) { + eachProp(cfg.shim, function (value, id) { + //Normalize the structure + if (isArray(value)) { + value = { + deps: value + }; + } + if ((value.exports || value.init) && !value.exportsFn) { + value.exportsFn = context.makeShimExports(value); + } + shim[id] = value; + }); + config.shim = shim; + } + + //Adjust packages if necessary. + if (cfg.packages) { + each(cfg.packages, function (pkgObj) { + var location, name; + + pkgObj = typeof pkgObj === 'string' ? {name: pkgObj} : pkgObj; + + name = pkgObj.name; + location = pkgObj.location; + if (location) { + config.paths[name] = pkgObj.location; + } + + //Save pointer to main module ID for pkg name. + //Remove leading dot in main, so main paths are normalized, + //and remove any trailing .js, since different package + //envs have different conventions: some use a module name, + //some use a file name. + config.pkgs[name] = pkgObj.name + '/' + (pkgObj.main || 'main') + .replace(currDirRegExp, '') + .replace(jsSuffixRegExp, ''); + }); + } + + //If there are any "waiting to execute" modules in the registry, + //update the maps for them, since their info, like URLs to load, + //may have changed. + eachProp(registry, function (mod, id) { + //If module already has init called, since it is too + //late to modify them, and ignore unnormalized ones + //since they are transient. + if (!mod.inited && !mod.map.unnormalized) { + mod.map = makeModuleMap(id, null, true); + } + }); + + //If a deps array or a config callback is specified, then call + //require with those args. This is useful when require is defined as a + //config object before require.js is loaded. + if (cfg.deps || cfg.callback) { + context.require(cfg.deps || [], cfg.callback); + } + }, + + makeShimExports: function (value) { + function fn() { + var ret; + if (value.init) { + ret = value.init.apply(global, arguments); + } + return ret || (value.exports && getGlobal(value.exports)); + } + return fn; + }, + + makeRequire: function (relMap, options) { + options = options || {}; + + function localRequire(deps, callback, errback) { + var id, map, requireMod; + + if (options.enableBuildCallback && callback && isFunction(callback)) { + callback.__requireJsBuild = true; + } + + if (typeof deps === 'string') { + if (isFunction(callback)) { + //Invalid call + return onError(makeError('requireargs', 'Invalid require call'), errback); + } + + //If require|exports|module are requested, get the + //value for them from the special handlers. Caveat: + //this only works while module is being defined. + if (relMap && hasProp(handlers, deps)) { + return handlers[deps](registry[relMap.id]); + } + + //Synchronous access to one module. If require.get is + //available (as in the Node adapter), prefer that. + if (req.get) { + return req.get(context, deps, relMap, localRequire); + } + + //Normalize module name, if it contains . or .. + map = makeModuleMap(deps, relMap, false, true); + id = map.id; + + if (!hasProp(defined, id)) { + return onError(makeError('notloaded', 'Module name "' + + id + + '" has not been loaded yet for context: ' + + contextName + + (relMap ? '' : '. Use require([])'))); + } + return defined[id]; + } + + //Grab defines waiting in the global queue. + intakeDefines(); + + //Mark all the dependencies as needing to be loaded. + context.nextTick(function () { + //Some defines could have been added since the + //require call, collect them. + intakeDefines(); + + requireMod = getModule(makeModuleMap(null, relMap)); + + //Store if map config should be applied to this require + //call for dependencies. + requireMod.skipMap = options.skipMap; + + requireMod.init(deps, callback, errback, { + enabled: true + }); + + checkLoaded(); + }); + + return localRequire; + } + + mixin(localRequire, { + isBrowser: isBrowser, + + /** + * Converts a module name + .extension into an URL path. + * *Requires* the use of a module name. It does not support using + * plain URLs like nameToUrl. + */ + toUrl: function (moduleNamePlusExt) { + var ext, + index = moduleNamePlusExt.lastIndexOf('.'), + segment = moduleNamePlusExt.split('/')[0], + isRelative = segment === '.' || segment === '..'; + + //Have a file extension alias, and it is not the + //dots from a relative path. + if (index !== -1 && (!isRelative || index > 1)) { + ext = moduleNamePlusExt.substring(index, moduleNamePlusExt.length); + moduleNamePlusExt = moduleNamePlusExt.substring(0, index); + } + + return context.nameToUrl(normalize(moduleNamePlusExt, + relMap && relMap.id, true), ext, true); + }, + + defined: function (id) { + return hasProp(defined, makeModuleMap(id, relMap, false, true).id); + }, + + specified: function (id) { + id = makeModuleMap(id, relMap, false, true).id; + return hasProp(defined, id) || hasProp(registry, id); + } + }); + + //Only allow undef on top level require calls + if (!relMap) { + localRequire.undef = function (id) { + //Bind any waiting define() calls to this context, + //fix for #408 + takeGlobalQueue(); + + var map = makeModuleMap(id, relMap, true), + mod = getOwn(registry, id); + + mod.undefed = true; + removeScript(id); + + delete defined[id]; + delete urlFetched[map.url]; + delete undefEvents[id]; + + //Clean queued defines too. Go backwards + //in array so that the splices do not + //mess up the iteration. + eachReverse(defQueue, function(args, i) { + if (args[0] === id) { + defQueue.splice(i, 1); + } + }); + delete context.defQueueMap[id]; + + if (mod) { + //Hold on to listeners in case the + //module will be attempted to be reloaded + //using a different config. + if (mod.events.defined) { + undefEvents[id] = mod.events; + } + + cleanRegistry(id); + } + }; + } + + return localRequire; + }, + + /** + * Called to enable a module if it is still in the registry + * awaiting enablement. A second arg, parent, the parent module, + * is passed in for context, when this method is overridden by + * the optimizer. Not shown here to keep code compact. + */ + enable: function (depMap) { + var mod = getOwn(registry, depMap.id); + if (mod) { + getModule(depMap).enable(); + } + }, + + /** + * Internal method used by environment adapters to complete a load event. + * A load event could be a script load or just a load pass from a synchronous + * load call. + * @param {String} moduleName the name of the module to potentially complete. + */ + completeLoad: function (moduleName) { + var found, args, mod, + shim = getOwn(config.shim, moduleName) || {}, + shExports = shim.exports; + + takeGlobalQueue(); + + while (defQueue.length) { + args = defQueue.shift(); + if (args[0] === null) { + args[0] = moduleName; + //If already found an anonymous module and bound it + //to this name, then this is some other anon module + //waiting for its completeLoad to fire. + if (found) { + break; + } + found = true; + } else if (args[0] === moduleName) { + //Found matching define call for this script! + found = true; + } + + callGetModule(args); + } + context.defQueueMap = {}; + + //Do this after the cycle of callGetModule in case the result + //of those calls/init calls changes the registry. + mod = getOwn(registry, moduleName); + + if (!found && !hasProp(defined, moduleName) && mod && !mod.inited) { + if (config.enforceDefine && (!shExports || !getGlobal(shExports))) { + if (hasPathFallback(moduleName)) { + return; + } else { + return onError(makeError('nodefine', + 'No define call for ' + moduleName, + null, + [moduleName])); + } + } else { + //A script that does not call define(), so just simulate + //the call for it. + callGetModule([moduleName, (shim.deps || []), shim.exportsFn]); + } + } + + checkLoaded(); + }, + + /** + * Converts a module name to a file path. Supports cases where + * moduleName may actually be just an URL. + * Note that it **does not** call normalize on the moduleName, + * it is assumed to have already been normalized. This is an + * internal API, not a public one. Use toUrl for the public API. + */ + nameToUrl: function (moduleName, ext, skipExt) { + var paths, syms, i, parentModule, url, + parentPath, bundleId, + pkgMain = getOwn(config.pkgs, moduleName); + + if (pkgMain) { + moduleName = pkgMain; + } + + bundleId = getOwn(bundlesMap, moduleName); + + if (bundleId) { + return context.nameToUrl(bundleId, ext, skipExt); + } + + //If a colon is in the URL, it indicates a protocol is used and it is just + //an URL to a file, or if it starts with a slash, contains a query arg (i.e. ?) + //or ends with .js, then assume the user meant to use an url and not a module id. + //The slash is important for protocol-less URLs as well as full paths. + if (req.jsExtRegExp.test(moduleName)) { + //Just a plain path, not module name lookup, so just return it. + //Add extension if it is included. This is a bit wonky, only non-.js things pass + //an extension, this method probably needs to be reworked. + url = moduleName + (ext || ''); + } else { + //A module that needs to be converted to a path. + paths = config.paths; + + syms = moduleName.split('/'); + //For each module name segment, see if there is a path + //registered for it. Start with most specific name + //and work up from it. + for (i = syms.length; i > 0; i -= 1) { + parentModule = syms.slice(0, i).join('/'); + + parentPath = getOwn(paths, parentModule); + if (parentPath) { + //If an array, it means there are a few choices, + //Choose the one that is desired + if (isArray(parentPath)) { + parentPath = parentPath[0]; + } + syms.splice(0, i, parentPath); + break; + } + } + + //Join the path parts together, then figure out if baseUrl is needed. + url = syms.join('/'); + url += (ext || (/^data\:|^blob\:|\?/.test(url) || skipExt ? '' : '.js')); + url = (url.charAt(0) === '/' || url.match(/^[\w\+\.\-]+:/) ? '' : config.baseUrl) + url; + } + + return config.urlArgs && !/^blob\:/.test(url) ? + url + config.urlArgs(moduleName, url) : url; + }, + + //Delegates to req.load. Broken out as a separate function to + //allow overriding in the optimizer. + load: function (id, url) { + req.load(context, id, url); + }, + + /** + * Executes a module callback function. Broken out as a separate function + * solely to allow the build system to sequence the files in the built + * layer in the right sequence. + * + * @private + */ + execCb: function (name, callback, args, exports) { + return callback.apply(exports, args); + }, + + /** + * callback for script loads, used to check status of loading. + * + * @param {Event} evt the event from the browser for the script + * that was loaded. + */ + onScriptLoad: function (evt) { + //Using currentTarget instead of target for Firefox 2.0's sake. Not + //all old browsers will be supported, but this one was easy enough + //to support and still makes sense. + if (evt.type === 'load' || + (readyRegExp.test((evt.currentTarget || evt.srcElement).readyState))) { + //Reset interactive script so a script node is not held onto for + //to long. + interactiveScript = null; + + //Pull out the name of the module and the context. + var data = getScriptData(evt); + context.completeLoad(data.id); + } + }, + + /** + * Callback for script errors. + */ + onScriptError: function (evt) { + var data = getScriptData(evt); + if (!hasPathFallback(data.id)) { + var parents = []; + eachProp(registry, function(value, key) { + if (key.indexOf('_@r') !== 0) { + each(value.depMaps, function(depMap) { + if (depMap.id === data.id) { + parents.push(key); + return true; + } + }); + } + }); + return onError(makeError('scripterror', 'Script error for "' + data.id + + (parents.length ? + '", needed by: ' + parents.join(', ') : + '"'), evt, [data.id])); + } + } + }; + + context.require = context.makeRequire(); + return context; + } + + /** + * Main entry point. + * + * If the only argument to require is a string, then the module that + * is represented by that string is fetched for the appropriate context. + * + * If the first argument is an array, then it will be treated as an array + * of dependency string names to fetch. An optional function callback can + * be specified to execute when all of those dependencies are available. + * + * Make a local req variable to help Caja compliance (it assumes things + * on a require that are not standardized), and to give a short + * name for minification/local scope use. + */ + req = requirejs = function (deps, callback, errback, optional) { + + //Find the right context, use default + var context, config, + contextName = defContextName; + + // Determine if have config object in the call. + if (!isArray(deps) && typeof deps !== 'string') { + // deps is a config object + config = deps; + if (isArray(callback)) { + // Adjust args if there are dependencies + deps = callback; + callback = errback; + errback = optional; + } else { + deps = []; + } + } + + if (config && config.context) { + contextName = config.context; + } + + context = getOwn(contexts, contextName); + if (!context) { + context = contexts[contextName] = req.s.newContext(contextName); + } + + if (config) { + context.configure(config); + } + + return context.require(deps, callback, errback); + }; + + /** + * Support require.config() to make it easier to cooperate with other + * AMD loaders on globally agreed names. + */ + req.config = function (config) { + return req(config); + }; + + /** + * Execute something after the current tick + * of the event loop. Override for other envs + * that have a better solution than setTimeout. + * @param {Function} fn function to execute later. + */ + req.nextTick = typeof setTimeout !== 'undefined' ? function (fn) { + setTimeout(fn, 4); + } : function (fn) { fn(); }; + + /** + * Export require as a global, but only if it does not already exist. + */ + if (!require) { + require = req; + } + + req.version = version; + + //Used to filter out dependencies that are already paths. + req.jsExtRegExp = /^\/|:|\?|\.js$/; + req.isBrowser = isBrowser; + s = req.s = { + contexts: contexts, + newContext: newContext + }; + + //Create default context. + req({}); + + //Exports some context-sensitive methods on global require. + each([ + 'toUrl', + 'undef', + 'defined', + 'specified' + ], function (prop) { + //Reference from contexts instead of early binding to default context, + //so that during builds, the latest instance of the default context + //with its config gets used. + req[prop] = function () { + var ctx = contexts[defContextName]; + return ctx.require[prop].apply(ctx, arguments); + }; + }); + + if (isBrowser) { + head = s.head = document.getElementsByTagName('head')[0]; + //If BASE tag is in play, using appendChild is a problem for IE6. + //When that browser dies, this can be removed. Details in this jQuery bug: + //http://dev.jquery.com/ticket/2709 + baseElement = document.getElementsByTagName('base')[0]; + if (baseElement) { + head = s.head = baseElement.parentNode; + } + } + + /** + * Any errors that require explicitly generates will be passed to this + * function. Intercept/override it if you want custom error handling. + * @param {Error} err the error object. + */ + req.onError = defaultOnError; + + /** + * Creates the node for the load command. Only used in browser envs. + */ + req.createNode = function (config, moduleName, url) { + var node = config.xhtml ? + document.createElementNS('http://www.w3.org/1999/xhtml', 'html:script') : + document.createElement('script'); + node.type = config.scriptType || 'text/javascript'; + node.charset = 'utf-8'; + node.async = true; + return node; + }; + + /** + * Does the request to load a module for the browser case. + * Make this a separate function to allow other environments + * to override it. + * + * @param {Object} context the require context to find state. + * @param {String} moduleName the name of the module. + * @param {Object} url the URL to the module. + */ + req.load = function (context, moduleName, url) { + var config = (context && context.config) || {}, + node; + if (isBrowser) { + //In the browser so use a script tag + node = req.createNode(config, moduleName, url); + + node.setAttribute('data-requirecontext', context.contextName); + node.setAttribute('data-requiremodule', moduleName); + + //Set up load listener. Test attachEvent first because IE9 has + //a subtle issue in its addEventListener and script onload firings + //that do not match the behavior of all other browsers with + //addEventListener support, which fire the onload event for a + //script right after the script execution. See: + //https://connect.microsoft.com/IE/feedback/details/648057/script-onload-event-is-not-fired-immediately-after-script-execution + //UNFORTUNATELY Opera implements attachEvent but does not follow the script + //script execution mode. + if (node.attachEvent && + //Check if node.attachEvent is artificially added by custom script or + //natively supported by browser + //read https://github.com/requirejs/requirejs/issues/187 + //if we can NOT find [native code] then it must NOT natively supported. + //in IE8, node.attachEvent does not have toString() + //Note the test for "[native code" with no closing brace, see: + //https://github.com/requirejs/requirejs/issues/273 + !(node.attachEvent.toString && node.attachEvent.toString().indexOf('[native code') < 0) && + !isOpera) { + //Probably IE. IE (at least 6-8) do not fire + //script onload right after executing the script, so + //we cannot tie the anonymous define call to a name. + //However, IE reports the script as being in 'interactive' + //readyState at the time of the define call. + useInteractive = true; + + node.attachEvent('onreadystatechange', context.onScriptLoad); + //It would be great to add an error handler here to catch + //404s in IE9+. However, onreadystatechange will fire before + //the error handler, so that does not help. If addEventListener + //is used, then IE will fire error before load, but we cannot + //use that pathway given the connect.microsoft.com issue + //mentioned above about not doing the 'script execute, + //then fire the script load event listener before execute + //next script' that other browsers do. + //Best hope: IE10 fixes the issues, + //and then destroys all installs of IE 6-9. + //node.attachEvent('onerror', context.onScriptError); + } else { + node.addEventListener('load', context.onScriptLoad, false); + node.addEventListener('error', context.onScriptError, false); + } + node.src = url; + + //Calling onNodeCreated after all properties on the node have been + //set, but before it is placed in the DOM. + if (config.onNodeCreated) { + config.onNodeCreated(node, config, moduleName, url); + } + + //For some cache cases in IE 6-8, the script executes before the end + //of the appendChild execution, so to tie an anonymous define + //call to the module name (which is stored on the node), hold on + //to a reference to this node, but clear after the DOM insertion. + currentlyAddingScript = node; + if (baseElement) { + head.insertBefore(node, baseElement); + } else { + head.appendChild(node); + } + currentlyAddingScript = null; + + return node; + } else if (isWebWorker) { + try { + //In a web worker, use importScripts. This is not a very + //efficient use of importScripts, importScripts will block until + //its script is downloaded and evaluated. However, if web workers + //are in play, the expectation is that a build has been done so + //that only one script needs to be loaded anyway. This may need + //to be reevaluated if other use cases become common. + + // Post a task to the event loop to work around a bug in WebKit + // where the worker gets garbage-collected after calling + // importScripts(): https://webkit.org/b/153317 + setTimeout(function() {}, 0); + importScripts(url); + + //Account for anonymous modules + context.completeLoad(moduleName); + } catch (e) { + context.onError(makeError('importscripts', + 'importScripts failed for ' + + moduleName + ' at ' + url, + e, + [moduleName])); + } + } + }; + + function getInteractiveScript() { + if (interactiveScript && interactiveScript.readyState === 'interactive') { + return interactiveScript; + } + + eachReverse(scripts(), function (script) { + if (script.readyState === 'interactive') { + return (interactiveScript = script); + } + }); + return interactiveScript; + } + + //Look for a data-main script attribute, which could also adjust the baseUrl. + if (isBrowser && !cfg.skipDataMain) { + //Figure out baseUrl. Get it from the script tag with require.js in it. + eachReverse(scripts(), function (script) { + //Set the 'head' where we can append children by + //using the script's parent. + if (!head) { + head = script.parentNode; + } + + //Look for a data-main attribute to set main script for the page + //to load. If it is there, the path to data main becomes the + //baseUrl, if it is not already set. + dataMain = script.getAttribute('data-main'); + if (dataMain) { + //Preserve dataMain in case it is a path (i.e. contains '?') + mainScript = dataMain; + + //Set final baseUrl if there is not already an explicit one, + //but only do so if the data-main value is not a loader plugin + //module ID. + if (!cfg.baseUrl && mainScript.indexOf('!') === -1) { + //Pull off the directory of data-main for use as the + //baseUrl. + src = mainScript.split('/'); + mainScript = src.pop(); + subPath = src.length ? src.join('/') + '/' : './'; + + cfg.baseUrl = subPath; + } + + //Strip off any trailing .js since mainScript is now + //like a module name. + mainScript = mainScript.replace(jsSuffixRegExp, ''); + + //If mainScript is still a path, fall back to dataMain + if (req.jsExtRegExp.test(mainScript)) { + mainScript = dataMain; + } + + //Put the data-main script in the files to load. + cfg.deps = cfg.deps ? cfg.deps.concat(mainScript) : [mainScript]; + + return true; + } + }); + } + + /** + * The function that handles definitions of modules. Differs from + * require() in that a string for the module should be the first argument, + * and the function to execute after dependencies are loaded should + * return a value to define the module corresponding to the first argument's + * name. + */ + define = function (name, deps, callback) { + var node, context; + + //Allow for anonymous modules + if (typeof name !== 'string') { + //Adjust args appropriately + callback = deps; + deps = name; + name = null; + } + + //This module may not have dependencies + if (!isArray(deps)) { + callback = deps; + deps = null; + } + + //If no name, and callback is a function, then figure out if it a + //CommonJS thing with dependencies. + if (!deps && isFunction(callback)) { + deps = []; + //Remove comments from the callback string, + //look for require calls, and pull them into the dependencies, + //but only if there are function args. + if (callback.length) { + callback + .toString() + .replace(commentRegExp, commentReplace) + .replace(cjsRequireRegExp, function (match, dep) { + deps.push(dep); + }); + + //May be a CommonJS thing even without require calls, but still + //could use exports, and module. Avoid doing exports and module + //work though if it just needs require. + //REQUIRES the function to expect the CommonJS variables in the + //order listed below. + deps = (callback.length === 1 ? ['require'] : ['require', 'exports', 'module']).concat(deps); + } + } + + //If in IE 6-8 and hit an anonymous define() call, do the interactive + //work. + if (useInteractive) { + node = currentlyAddingScript || getInteractiveScript(); + if (node) { + if (!name) { + name = node.getAttribute('data-requiremodule'); + } + context = contexts[node.getAttribute('data-requirecontext')]; + } + } + + //Always save off evaluating the def call until the script onload handler. + //This allows multiple modules to be in a file without prematurely + //tracing dependencies, and allows for anonymous module support, + //where the module name is not known until the script onload event + //occurs. If no context, use the global queue, and get it processed + //in the onscript load callback. + if (context) { + context.defQueue.push([name, deps, callback]); + context.defQueueMap[name] = true; + } else { + globalDefQueue.push([name, deps, callback]); + } + }; + + define.amd = { + jQuery: true + }; + + /** + * Executes the text. Normally just uses eval, but can be modified + * to use a better, environment-specific call. Only used for transpiling + * loader plugins, not for plain JS modules. + * @param {String} text the text to execute/evaluate. + */ + req.exec = function (text) { + /*jslint evil: true */ + return eval(text); + }; + + //Set up with config info. + req(cfg); +}(this, (typeof setTimeout === 'undefined' ? undefined : setTimeout))); diff --git a/v0.19.4/packages/$sdk/dev_compiler/kernel/common/dart_sdk.js b/v0.19.4/packages/$sdk/dev_compiler/kernel/common/dart_sdk.js new file mode 100644 index 000000000..1e2628bff --- /dev/null +++ b/v0.19.4/packages/$sdk/dev_compiler/kernel/common/dart_sdk.js @@ -0,0 +1,137119 @@ +'use strict'; +const _library = Object.create(null); +const dart = Object.create(_library); +dart.library = _library; +var _debugger = Object.create(dart.library); +var _foreign_helper = Object.create(dart.library); +var _interceptors = Object.create(dart.library); +var _internal = Object.create(dart.library); +var _isolate_helper = Object.create(dart.library); +var _js_helper = Object.create(dart.library); +var _js_primitives = Object.create(dart.library); +var _metadata = Object.create(dart.library); +var _native_typed_data = Object.create(dart.library); +var async = Object.create(dart.library); +var collection = Object.create(dart.library); +var convert = Object.create(dart.library); +var developer = Object.create(dart.library); +var io = Object.create(dart.library); +var isolate$ = Object.create(dart.library); +var js = Object.create(dart.library); +var js_util = Object.create(dart.library); +var math = Object.create(dart.library); +var typed_data = Object.create(dart.library); +var indexed_db = Object.create(dart.library); +var html$ = Object.create(dart.library); +var html_common = Object.create(dart.library); +var svg$ = Object.create(dart.library); +var web_audio = Object.create(dart.library); +var web_gl = Object.create(dart.library); +var web_sql = Object.create(dart.library); +var core = Object.create(dart.library); +var _http = Object.create(dart.library); +var dartx = Object.create(dart.library); +const _privateNames = Symbol("_privateNames"); +dart.privateName = function(library, name) { + let names = library[_privateNames]; + if (names == null) names = library[_privateNames] = new Map(); + let symbol = names.get(name); + if (symbol == null) names.set(name, symbol = Symbol(name)); + return symbol; +}; +var $hashCode = dartx.hashCode = Symbol("dartx.hashCode"); +var $isNotEmpty = dartx.isNotEmpty = Symbol("dartx.isNotEmpty"); +var $where = dartx.where = Symbol("dartx.where"); +var $join = dartx.join = Symbol("dartx.join"); +var $length = dartx.length = Symbol("dartx.length"); +var $_equals = dartx._equals = Symbol("dartx._equals"); +var $toString = dartx.toString = Symbol("dartx.toString"); +var $noSuchMethod = dartx.noSuchMethod = Symbol("dartx.noSuchMethod"); +var $cast = dartx.cast = Symbol("dartx.cast"); +var $addAll = dartx.addAll = Symbol("dartx.addAll"); +var $_set = dartx._set = Symbol("dartx._set"); +var $_get = dartx._get = Symbol("dartx._get"); +var $clear = dartx.clear = Symbol("dartx.clear"); +var $contains = dartx.contains = Symbol("dartx.contains"); +var $indexOf = dartx.indexOf = Symbol("dartx.indexOf"); +var $add = dartx.add = Symbol("dartx.add"); +var $isEmpty = dartx.isEmpty = Symbol("dartx.isEmpty"); +var $map = dartx.map = Symbol("dartx.map"); +var $toList = dartx.toList = Symbol("dartx.toList"); +var $sublist = dartx.sublist = Symbol("dartx.sublist"); +var $substring = dartx.substring = Symbol("dartx.substring"); +var $split = dartx.split = Symbol("dartx.split"); +var $trim = dartx.trim = Symbol("dartx.trim"); +var $runtimeType = dartx.runtimeType = Symbol("dartx.runtimeType"); +var $containsKey = dartx.containsKey = Symbol("dartx.containsKey"); +var $any = dartx.any = Symbol("dartx.any"); +var $keys = dartx.keys = Symbol("dartx.keys"); +var $remove = dartx.remove = Symbol("dartx.remove"); +var $values = dartx.values = Symbol("dartx.values"); +var $entries = dartx.entries = Symbol("dartx.entries"); +var $dartStack = dartx.dartStack = Symbol("dartx.dartStack"); +var $truncate = dartx.truncate = Symbol("dartx.truncate"); +var $toInt = dartx.toInt = Symbol("dartx.toInt"); +var $skip = dartx.skip = Symbol("dartx.skip"); +var $take = dartx.take = Symbol("dartx.take"); +var $asMap = dartx.asMap = Symbol("dartx.asMap"); +var $forEach = dartx.forEach = Symbol("dartx.forEach"); +var $elementAt = dartx.elementAt = Symbol("dartx.elementAt"); +var $last = dartx.last = Symbol("dartx.last"); +var $firstWhere = dartx.firstWhere = Symbol("dartx.firstWhere"); +var $replaceFirst = dartx.replaceFirst = Symbol("dartx.replaceFirst"); +var $startsWith = dartx.startsWith = Symbol("dartx.startsWith"); +var $compareTo = dartx.compareTo = Symbol("dartx.compareTo"); +var $sort = dartx.sort = Symbol("dartx.sort"); +var $putIfAbsent = dartx.putIfAbsent = Symbol("dartx.putIfAbsent"); +var $round = dartx.round = Symbol("dartx.round"); +var $bitAnd = dartx['&'] = Symbol("dartx.&"); +var $bitOr = dartx['|'] = Symbol("dartx.|"); +var $bitXor = dartx['^'] = Symbol("dartx.^"); +var $stackTrace = dartx.stackTrace = Symbol("dartx.stackTrace"); +var $invalidValue = dartx.invalidValue = Symbol("dartx.invalidValue"); +var $name = dartx.name = Symbol("dartx.name"); +var $message = dartx.message = Symbol("dartx.message"); +var $checkMutable = dartx.checkMutable = Symbol("dartx.checkMutable"); +var $checkGrowable = dartx.checkGrowable = Symbol("dartx.checkGrowable"); +var $removeAt = dartx.removeAt = Symbol("dartx.removeAt"); +var $insert = dartx.insert = Symbol("dartx.insert"); +var $setRange = dartx.setRange = Symbol("dartx.setRange"); +var $insertAll = dartx.insertAll = Symbol("dartx.insertAll"); +var $setAll = dartx.setAll = Symbol("dartx.setAll"); +var $removeLast = dartx.removeLast = Symbol("dartx.removeLast"); +var $removeWhere = dartx.removeWhere = Symbol("dartx.removeWhere"); +var $retainWhere = dartx.retainWhere = Symbol("dartx.retainWhere"); +var $expand = dartx.expand = Symbol("dartx.expand"); +var $takeWhile = dartx.takeWhile = Symbol("dartx.takeWhile"); +var $skipWhile = dartx.skipWhile = Symbol("dartx.skipWhile"); +var $reduce = dartx.reduce = Symbol("dartx.reduce"); +var $fold = dartx.fold = Symbol("dartx.fold"); +var $lastWhere = dartx.lastWhere = Symbol("dartx.lastWhere"); +var $singleWhere = dartx.singleWhere = Symbol("dartx.singleWhere"); +var $getRange = dartx.getRange = Symbol("dartx.getRange"); +var $first = dartx.first = Symbol("dartx.first"); +var $single = dartx.single = Symbol("dartx.single"); +var $removeRange = dartx.removeRange = Symbol("dartx.removeRange"); +var $fillRange = dartx.fillRange = Symbol("dartx.fillRange"); +var $replaceRange = dartx.replaceRange = Symbol("dartx.replaceRange"); +var $every = dartx.every = Symbol("dartx.every"); +var $reversed = dartx.reversed = Symbol("dartx.reversed"); +var $shuffle = dartx.shuffle = Symbol("dartx.shuffle"); +var $lastIndexOf = dartx.lastIndexOf = Symbol("dartx.lastIndexOf"); +var $toSet = dartx.toSet = Symbol("dartx.toSet"); +var $iterator = dartx.iterator = Symbol("dartx.iterator"); +var $followedBy = dartx.followedBy = Symbol("dartx.followedBy"); +var $whereType = dartx.whereType = Symbol("dartx.whereType"); +var $plus = dartx['+'] = Symbol("dartx.+"); +var $indexWhere = dartx.indexWhere = Symbol("dartx.indexWhere"); +var $lastIndexWhere = dartx.lastIndexWhere = Symbol("dartx.lastIndexWhere"); +var $isNegative = dartx.isNegative = Symbol("dartx.isNegative"); +var $isNaN = dartx.isNaN = Symbol("dartx.isNaN"); +var $isInfinite = dartx.isInfinite = Symbol("dartx.isInfinite"); +var $isFinite = dartx.isFinite = Symbol("dartx.isFinite"); +var $remainder = dartx.remainder = Symbol("dartx.remainder"); +var $abs = dartx.abs = Symbol("dartx.abs"); +var $sign = dartx.sign = Symbol("dartx.sign"); +var $truncateToDouble = dartx.truncateToDouble = Symbol("dartx.truncateToDouble"); +var $ceilToDouble = dartx.ceilToDouble = Symbol("dartx.ceilToDouble"); +var $ceil = dartx.ceil = Symbol("dartx.ceil"); +var $floorToDouble = dartx.floorToDouble = Symbol("dartx.floorToDouble"); +var $floor = dartx.floor = Symbol("dartx.floor"); +var $roundToDouble = dartx.roundToDouble = Symbol("dartx.roundToDouble"); +var $clamp = dartx.clamp = Symbol("dartx.clamp"); +var $toDouble = dartx.toDouble = Symbol("dartx.toDouble"); +var $toStringAsFixed = dartx.toStringAsFixed = Symbol("dartx.toStringAsFixed"); +var $toStringAsExponential = dartx.toStringAsExponential = Symbol("dartx.toStringAsExponential"); +var $toStringAsPrecision = dartx.toStringAsPrecision = Symbol("dartx.toStringAsPrecision"); +var $codeUnitAt = dartx.codeUnitAt = Symbol("dartx.codeUnitAt"); +var $toRadixString = dartx.toRadixString = Symbol("dartx.toRadixString"); +var $times = dartx['*'] = Symbol("dartx.*"); +var $_negate = dartx._negate = Symbol("dartx._negate"); +var $minus = dartx['-'] = Symbol("dartx.-"); +var $divide = dartx['/'] = Symbol("dartx./"); +var $modulo = dartx['%'] = Symbol("dartx.%"); +var $floorDivide = dartx['~/'] = Symbol("dartx.~/"); +var $leftShift = dartx['<<'] = Symbol("dartx.<<"); +var $rightShift = dartx['>>'] = Symbol("dartx.>>"); +var $tripleShift = dartx['>>>'] = Symbol("dartx.>>>"); +var $lessThan = dartx['<'] = Symbol("dartx.<"); +var $greaterThan = dartx['>'] = Symbol("dartx.>"); +var $lessOrEquals = dartx['<='] = Symbol("dartx.<="); +var $greaterOrEquals = dartx['>='] = Symbol("dartx.>="); +var $isEven = dartx.isEven = Symbol("dartx.isEven"); +var $isOdd = dartx.isOdd = Symbol("dartx.isOdd"); +var $toUnsigned = dartx.toUnsigned = Symbol("dartx.toUnsigned"); +var $toSigned = dartx.toSigned = Symbol("dartx.toSigned"); +var $bitLength = dartx.bitLength = Symbol("dartx.bitLength"); +var $modPow = dartx.modPow = Symbol("dartx.modPow"); +var $modInverse = dartx.modInverse = Symbol("dartx.modInverse"); +var $gcd = dartx.gcd = Symbol("dartx.gcd"); +var $bitNot = dartx['~'] = Symbol("dartx.~"); +var $allMatches = dartx.allMatches = Symbol("dartx.allMatches"); +var $matchAsPrefix = dartx.matchAsPrefix = Symbol("dartx.matchAsPrefix"); +var $endsWith = dartx.endsWith = Symbol("dartx.endsWith"); +var $replaceAll = dartx.replaceAll = Symbol("dartx.replaceAll"); +var $splitMapJoin = dartx.splitMapJoin = Symbol("dartx.splitMapJoin"); +var $replaceAllMapped = dartx.replaceAllMapped = Symbol("dartx.replaceAllMapped"); +var $replaceFirstMapped = dartx.replaceFirstMapped = Symbol("dartx.replaceFirstMapped"); +var $toLowerCase = dartx.toLowerCase = Symbol("dartx.toLowerCase"); +var $toUpperCase = dartx.toUpperCase = Symbol("dartx.toUpperCase"); +var $trimLeft = dartx.trimLeft = Symbol("dartx.trimLeft"); +var $trimRight = dartx.trimRight = Symbol("dartx.trimRight"); +var $padLeft = dartx.padLeft = Symbol("dartx.padLeft"); +var $padRight = dartx.padRight = Symbol("dartx.padRight"); +var $codeUnits = dartx.codeUnits = Symbol("dartx.codeUnits"); +var $runes = dartx.runes = Symbol("dartx.runes"); +var $buffer = dartx.buffer = Symbol("dartx.buffer"); +var $offsetInBytes = dartx.offsetInBytes = Symbol("dartx.offsetInBytes"); +var $containsValue = dartx.containsValue = Symbol("dartx.containsValue"); +var $update = dartx.update = Symbol("dartx.update"); +var $updateAll = dartx.updateAll = Symbol("dartx.updateAll"); +var $addEntries = dartx.addEntries = Symbol("dartx.addEntries"); +var $lengthInBytes = dartx.lengthInBytes = Symbol("dartx.lengthInBytes"); +var $asUint8List = dartx.asUint8List = Symbol("dartx.asUint8List"); +var $asInt8List = dartx.asInt8List = Symbol("dartx.asInt8List"); +var $asUint8ClampedList = dartx.asUint8ClampedList = Symbol("dartx.asUint8ClampedList"); +var $asUint16List = dartx.asUint16List = Symbol("dartx.asUint16List"); +var $asInt16List = dartx.asInt16List = Symbol("dartx.asInt16List"); +var $asUint32List = dartx.asUint32List = Symbol("dartx.asUint32List"); +var $asInt32List = dartx.asInt32List = Symbol("dartx.asInt32List"); +var $asUint64List = dartx.asUint64List = Symbol("dartx.asUint64List"); +var $asInt64List = dartx.asInt64List = Symbol("dartx.asInt64List"); +var $asInt32x4List = dartx.asInt32x4List = Symbol("dartx.asInt32x4List"); +var $asFloat32List = dartx.asFloat32List = Symbol("dartx.asFloat32List"); +var $asFloat64List = dartx.asFloat64List = Symbol("dartx.asFloat64List"); +var $asFloat32x4List = dartx.asFloat32x4List = Symbol("dartx.asFloat32x4List"); +var $asFloat64x2List = dartx.asFloat64x2List = Symbol("dartx.asFloat64x2List"); +var $asByteData = dartx.asByteData = Symbol("dartx.asByteData"); +var $elementSizeInBytes = dartx.elementSizeInBytes = Symbol("dartx.elementSizeInBytes"); +var $getFloat32 = dartx.getFloat32 = Symbol("dartx.getFloat32"); +var $getFloat64 = dartx.getFloat64 = Symbol("dartx.getFloat64"); +var $getInt16 = dartx.getInt16 = Symbol("dartx.getInt16"); +var $getInt32 = dartx.getInt32 = Symbol("dartx.getInt32"); +var $getInt64 = dartx.getInt64 = Symbol("dartx.getInt64"); +var $getInt8 = dartx.getInt8 = Symbol("dartx.getInt8"); +var $getUint16 = dartx.getUint16 = Symbol("dartx.getUint16"); +var $getUint32 = dartx.getUint32 = Symbol("dartx.getUint32"); +var $getUint64 = dartx.getUint64 = Symbol("dartx.getUint64"); +var $getUint8 = dartx.getUint8 = Symbol("dartx.getUint8"); +var $setFloat32 = dartx.setFloat32 = Symbol("dartx.setFloat32"); +var $setFloat64 = dartx.setFloat64 = Symbol("dartx.setFloat64"); +var $setInt16 = dartx.setInt16 = Symbol("dartx.setInt16"); +var $setInt32 = dartx.setInt32 = Symbol("dartx.setInt32"); +var $setInt64 = dartx.setInt64 = Symbol("dartx.setInt64"); +var $setInt8 = dartx.setInt8 = Symbol("dartx.setInt8"); +var $setUint16 = dartx.setUint16 = Symbol("dartx.setUint16"); +var $setUint32 = dartx.setUint32 = Symbol("dartx.setUint32"); +var $setUint64 = dartx.setUint64 = Symbol("dartx.setUint64"); +var $setUint8 = dartx.setUint8 = Symbol("dartx.setUint8"); +var $left = dartx.left = Symbol("dartx.left"); +var $width = dartx.width = Symbol("dartx.width"); +var $top = dartx.top = Symbol("dartx.top"); +var $height = dartx.height = Symbol("dartx.height"); +var $right = dartx.right = Symbol("dartx.right"); +var $bottom = dartx.bottom = Symbol("dartx.bottom"); +var $intersection = dartx.intersection = Symbol("dartx.intersection"); +var $intersects = dartx.intersects = Symbol("dartx.intersects"); +var $boundingBox = dartx.boundingBox = Symbol("dartx.boundingBox"); +var $containsRectangle = dartx.containsRectangle = Symbol("dartx.containsRectangle"); +var $containsPoint = dartx.containsPoint = Symbol("dartx.containsPoint"); +var $topLeft = dartx.topLeft = Symbol("dartx.topLeft"); +var $topRight = dartx.topRight = Symbol("dartx.topRight"); +var $bottomRight = dartx.bottomRight = Symbol("dartx.bottomRight"); +var $bottomLeft = dartx.bottomLeft = Symbol("dartx.bottomLeft"); +var T$ = { + ObjectN: () => (T$.ObjectN = dart.constFn(dart.nullable(core.Object)))(), + ListOfObjectN: () => (T$.ListOfObjectN = dart.constFn(core.List$(T$.ObjectN())))(), + boolN: () => (T$.boolN = dart.constFn(dart.nullable(core.bool)))(), + JSArrayOfString: () => (T$.JSArrayOfString = dart.constFn(_interceptors.JSArray$(core.String)))(), + IdentityMapOfString$ObjectN: () => (T$.IdentityMapOfString$ObjectN = dart.constFn(_js_helper.IdentityMap$(core.String, T$.ObjectN())))(), + ListOfString: () => (T$.ListOfString = dart.constFn(core.List$(core.String)))(), + ListNOfString: () => (T$.ListNOfString = dart.constFn(dart.nullable(T$.ListOfString())))(), + IdentityMapOfString$ListNOfString: () => (T$.IdentityMapOfString$ListNOfString = dart.constFn(_js_helper.IdentityMap$(core.String, T$.ListNOfString())))(), + JSArrayOfTypeVariable: () => (T$.JSArrayOfTypeVariable = dart.constFn(_interceptors.JSArray$(dart.TypeVariable)))(), + ExpandoOfFunction: () => (T$.ExpandoOfFunction = dart.constFn(core.Expando$(core.Function)))(), + IdentityMapOfString$Object: () => (T$.IdentityMapOfString$Object = dart.constFn(_js_helper.IdentityMap$(core.String, core.Object)))(), + ListOfObject: () => (T$.ListOfObject = dart.constFn(core.List$(core.Object)))(), + IdentityMapOfTypeVariable$int: () => (T$.IdentityMapOfTypeVariable$int = dart.constFn(_js_helper.IdentityMap$(dart.TypeVariable, core.int)))(), + IdentityMapOfTypeVariable$Object: () => (T$.IdentityMapOfTypeVariable$Object = dart.constFn(_js_helper.IdentityMap$(dart.TypeVariable, core.Object)))(), + LinkedHashMapOfTypeVariable$TypeConstraint: () => (T$.LinkedHashMapOfTypeVariable$TypeConstraint = dart.constFn(collection.LinkedHashMap$(dart.TypeVariable, dart.TypeConstraint)))(), + JSArrayOfObject: () => (T$.JSArrayOfObject = dart.constFn(_interceptors.JSArray$(core.Object)))(), + ListOfType: () => (T$.ListOfType = dart.constFn(core.List$(core.Type)))(), + SymbolL: () => (T$.SymbolL = dart.constFn(dart.legacy(core.Symbol)))(), + MapOfSymbol$dynamic: () => (T$.MapOfSymbol$dynamic = dart.constFn(core.Map$(core.Symbol, dart.dynamic)))(), + TypeL: () => (T$.TypeL = dart.constFn(dart.legacy(core.Type)))(), + JSArrayOfNameValuePair: () => (T$.JSArrayOfNameValuePair = dart.constFn(_interceptors.JSArray$(_debugger.NameValuePair)))(), + intAnddynamicTovoid: () => (T$.intAnddynamicTovoid = dart.constFn(dart.fnType(dart.void, [core.int, dart.dynamic])))(), + JSArrayOfFormatter: () => (T$.JSArrayOfFormatter = dart.constFn(_interceptors.JSArray$(_debugger.Formatter)))(), + _HashSetOfNameValuePair: () => (T$._HashSetOfNameValuePair = dart.constFn(collection._HashSet$(_debugger.NameValuePair)))(), + IdentityMapOfString$String: () => (T$.IdentityMapOfString$String = dart.constFn(_js_helper.IdentityMap$(core.String, core.String)))(), + dynamicAnddynamicToNull: () => (T$.dynamicAnddynamicToNull = dart.constFn(dart.fnType(core.Null, [dart.dynamic, dart.dynamic])))(), + dynamicAnddynamicTovoid: () => (T$.dynamicAnddynamicTovoid = dart.constFn(dart.fnType(dart.void, [dart.dynamic, dart.dynamic])))(), + dynamicToString: () => (T$.dynamicToString = dart.constFn(dart.fnType(core.String, [dart.dynamic])))(), + ListOfNameValuePair: () => (T$.ListOfNameValuePair = dart.constFn(core.List$(_debugger.NameValuePair)))(), + StringTobool: () => (T$.StringTobool = dart.constFn(dart.fnType(core.bool, [core.String])))(), + VoidToString: () => (T$.VoidToString = dart.constFn(dart.fnType(core.String, [])))(), + StringToNameValuePair: () => (T$.StringToNameValuePair = dart.constFn(dart.fnType(_debugger.NameValuePair, [core.String])))(), + NameValuePairAndNameValuePairToint: () => (T$.NameValuePairAndNameValuePairToint = dart.constFn(dart.fnType(core.int, [_debugger.NameValuePair, _debugger.NameValuePair])))(), + LinkedHashMapOfdynamic$ObjectN: () => (T$.LinkedHashMapOfdynamic$ObjectN = dart.constFn(collection.LinkedHashMap$(dart.dynamic, T$.ObjectN())))(), + dynamicTodynamic: () => (T$.dynamicTodynamic = dart.constFn(dart.fnType(dart.dynamic, [dart.dynamic])))(), + dynamicToObjectN: () => (T$.dynamicToObjectN = dart.constFn(dart.fnType(T$.ObjectN(), [dart.dynamic])))(), + IdentityMapOfString$_MethodStats: () => (T$.IdentityMapOfString$_MethodStats = dart.constFn(_js_helper.IdentityMap$(core.String, _debugger._MethodStats)))(), + StringToString: () => (T$.StringToString = dart.constFn(dart.fnType(core.String, [core.String])))(), + VoidTo_MethodStats: () => (T$.VoidTo_MethodStats = dart.constFn(dart.fnType(_debugger._MethodStats, [])))(), + StringAndStringToint: () => (T$.StringAndStringToint = dart.constFn(dart.fnType(core.int, [core.String, core.String])))(), + JSArrayOfListOfObject: () => (T$.JSArrayOfListOfObject = dart.constFn(_interceptors.JSArray$(T$.ListOfObject())))(), + JSArrayOf_CallMethodRecord: () => (T$.JSArrayOf_CallMethodRecord = dart.constFn(_interceptors.JSArray$(_debugger._CallMethodRecord)))(), + ListN: () => (T$.ListN = dart.constFn(dart.nullable(core.List)))(), + InvocationN: () => (T$.InvocationN = dart.constFn(dart.nullable(core.Invocation)))(), + MapNOfSymbol$dynamic: () => (T$.MapNOfSymbol$dynamic = dart.constFn(dart.nullable(T$.MapOfSymbol$dynamic())))(), + ObjectNAndObjectNToint: () => (T$.ObjectNAndObjectNToint = dart.constFn(dart.fnType(core.int, [T$.ObjectN(), T$.ObjectN()])))(), + dynamicAnddynamicToint: () => (T$.dynamicAnddynamicToint = dart.constFn(dart.fnType(core.int, [dart.dynamic, dart.dynamic])))(), + ObjectAndStackTraceTovoid: () => (T$.ObjectAndStackTraceTovoid = dart.constFn(dart.fnType(dart.void, [core.Object, core.StackTrace])))(), + dynamicTovoid: () => (T$.dynamicTovoid = dart.constFn(dart.fnType(dart.void, [dart.dynamic])))(), + _FutureOfNull: () => (T$._FutureOfNull = dart.constFn(async._Future$(core.Null)))(), + VoidTo_FutureOfNull: () => (T$.VoidTo_FutureOfNull = dart.constFn(dart.fnType(T$._FutureOfNull(), [])))(), + VoidTovoid: () => (T$.VoidTovoid = dart.constFn(dart.fnType(dart.void, [])))(), + FutureOfNull: () => (T$.FutureOfNull = dart.constFn(async.Future$(core.Null)))(), + FutureNOfNull: () => (T$.FutureNOfNull = dart.constFn(dart.nullable(T$.FutureOfNull())))(), + dynamicToFuture: () => (T$.dynamicToFuture = dart.constFn(dart.fnType(async.Future, [dart.dynamic])))(), + _FutureOfString: () => (T$._FutureOfString = dart.constFn(async._Future$(core.String)))(), + _FutureOfbool: () => (T$._FutureOfbool = dart.constFn(async._Future$(core.bool)))(), + VoidTobool: () => (T$.VoidTobool = dart.constFn(dart.fnType(core.bool, [])))(), + boolToNull: () => (T$.boolToNull = dart.constFn(dart.fnType(core.Null, [core.bool])))(), + voidToNull: () => (T$.voidToNull = dart.constFn(dart.fnType(core.Null, [dart.void])))(), + _FutureOfint: () => (T$._FutureOfint = dart.constFn(async._Future$(core.int)))(), + ObjectAndStackTraceToNull: () => (T$.ObjectAndStackTraceToNull = dart.constFn(dart.fnType(core.Null, [core.Object, core.StackTrace])))(), + FutureOfvoid: () => (T$.FutureOfvoid = dart.constFn(async.Future$(dart.void)))(), + VoidToFutureOfvoid: () => (T$.VoidToFutureOfvoid = dart.constFn(dart.fnType(T$.FutureOfvoid(), [])))(), + ObjectTovoid: () => (T$.ObjectTovoid = dart.constFn(dart.fnType(dart.void, [core.Object])))(), + EventSinkTo_ConverterStreamEventSink: () => (T$.EventSinkTo_ConverterStreamEventSink = dart.constFn(dart.fnType(convert._ConverterStreamEventSink, [async.EventSink])))(), + JSArrayOfUint8List: () => (T$.JSArrayOfUint8List = dart.constFn(_interceptors.JSArray$(typed_data.Uint8List)))(), + ObjectNAndObjectNTovoid: () => (T$.ObjectNAndObjectNTovoid = dart.constFn(dart.fnType(dart.void, [T$.ObjectN(), T$.ObjectN()])))(), + ObjectNToObjectN: () => (T$.ObjectNToObjectN = dart.constFn(dart.fnType(T$.ObjectN(), [T$.ObjectN()])))(), + EmptyIteratorOfNeverL: () => (T$.EmptyIteratorOfNeverL = dart.constFn(_internal.EmptyIterator$(dart.legacy(dart.Never))))(), + doubleL: () => (T$.doubleL = dart.constFn(dart.legacy(core.double)))(), + VoidToFutureOfNull: () => (T$.VoidToFutureOfNull = dart.constFn(dart.fnType(T$.FutureOfNull(), [])))(), + VoidToNull: () => (T$.VoidToNull = dart.constFn(dart.fnType(core.Null, [])))(), + VoidToint: () => (T$.VoidToint = dart.constFn(dart.fnType(core.int, [])))(), + JSArrayOfint: () => (T$.JSArrayOfint = dart.constFn(_interceptors.JSArray$(core.int)))(), + StringN: () => (T$.StringN = dart.constFn(dart.nullable(core.String)))(), + JSArrayOfStringN: () => (T$.JSArrayOfStringN = dart.constFn(_interceptors.JSArray$(T$.StringN())))(), + SubListIterableOfString: () => (T$.SubListIterableOfString = dart.constFn(_internal.SubListIterable$(core.String)))(), + EmptyIterableOfString: () => (T$.EmptyIterableOfString = dart.constFn(_internal.EmptyIterable$(core.String)))(), + ObjectNTovoid: () => (T$.ObjectNTovoid = dart.constFn(dart.fnType(dart.void, [T$.ObjectN()])))(), + MatchToString: () => (T$.MatchToString = dart.constFn(dart.fnType(core.String, [core.Match])))(), + IterableOfdouble: () => (T$.IterableOfdouble = dart.constFn(core.Iterable$(core.double)))(), + IterableOfint: () => (T$.IterableOfint = dart.constFn(core.Iterable$(core.int)))(), + intN: () => (T$.intN = dart.constFn(dart.nullable(core.int)))(), + ObjectNTovoid$1: () => (T$.ObjectNTovoid$1 = dart.constFn(dart.fnType(dart.void, [], [T$.ObjectN()])))(), + _FutureOfObjectN: () => (T$._FutureOfObjectN = dart.constFn(async._Future$(T$.ObjectN())))(), + dynamicToNull: () => (T$.dynamicToNull = dart.constFn(dart.fnType(core.Null, [dart.dynamic])))(), + _FutureOfvoid: () => (T$._FutureOfvoid = dart.constFn(async._Future$(dart.void)))(), + VoidToObject: () => (T$.VoidToObject = dart.constFn(dart.fnType(core.Object, [])))(), + ObjectTodynamic: () => (T$.ObjectTodynamic = dart.constFn(dart.fnType(dart.dynamic, [core.Object])))(), + VoidToStackTrace: () => (T$.VoidToStackTrace = dart.constFn(dart.fnType(core.StackTrace, [])))(), + StackTraceTodynamic: () => (T$.StackTraceTodynamic = dart.constFn(dart.fnType(dart.dynamic, [core.StackTrace])))(), + ObjectNTobool: () => (T$.ObjectNTobool = dart.constFn(dart.fnType(core.bool, [T$.ObjectN()])))(), + FutureOrOfbool: () => (T$.FutureOrOfbool = dart.constFn(async.FutureOr$(core.bool)))(), + VoidToFutureOrOfbool: () => (T$.VoidToFutureOrOfbool = dart.constFn(dart.fnType(T$.FutureOrOfbool(), [])))(), + boolTovoid: () => (T$.boolTovoid = dart.constFn(dart.fnType(dart.void, [core.bool])))(), + VoidToFn: () => (T$.VoidToFn = dart.constFn(dart.fnType(T$.boolTovoid(), [])))(), + FnTodynamic: () => (T$.FnTodynamic = dart.constFn(dart.fnType(dart.dynamic, [T$.boolTovoid()])))(), + FutureOfbool: () => (T$.FutureOfbool = dart.constFn(async.Future$(core.bool)))(), + ObjectTobool: () => (T$.ObjectTobool = dart.constFn(dart.fnType(core.bool, [core.Object])))(), + VoidTodynamic: () => (T$.VoidTodynamic = dart.constFn(dart.fnType(dart.dynamic, [])))(), + ObjectAndStackTraceTodynamic: () => (T$.ObjectAndStackTraceTodynamic = dart.constFn(dart.fnType(dart.dynamic, [core.Object, core.StackTrace])))(), + _FutureListenerOfObject$Object: () => (T$._FutureListenerOfObject$Object = dart.constFn(async._FutureListener$(core.Object, core.Object)))(), + _FutureListenerNOfObject$Object: () => (T$._FutureListenerNOfObject$Object = dart.constFn(dart.nullable(T$._FutureListenerOfObject$Object())))(), + JSArrayOfFunction: () => (T$.JSArrayOfFunction = dart.constFn(_interceptors.JSArray$(core.Function)))(), + _FutureListenerN: () => (T$._FutureListenerN = dart.constFn(dart.nullable(async._FutureListener)))(), + dynamicTo_Future: () => (T$.dynamicTo_Future = dart.constFn(dart.fnType(async._Future, [dart.dynamic])))(), + _StreamControllerAddStreamStateOfObjectN: () => (T$._StreamControllerAddStreamStateOfObjectN = dart.constFn(async._StreamControllerAddStreamState$(T$.ObjectN())))(), + FunctionN: () => (T$.FunctionN = dart.constFn(dart.nullable(core.Function)))(), + AsyncErrorN: () => (T$.AsyncErrorN = dart.constFn(dart.nullable(async.AsyncError)))(), + StackTraceN: () => (T$.StackTraceN = dart.constFn(dart.nullable(core.StackTrace)))(), + ZoneAndZoneDelegateAndZone__ToAsyncErrorN: () => (T$.ZoneAndZoneDelegateAndZone__ToAsyncErrorN = dart.constFn(dart.fnType(T$.AsyncErrorN(), [async.Zone, async.ZoneDelegate, async.Zone, core.Object, T$.StackTraceN()])))(), + _ZoneFunctionOfZoneAndZoneDelegateAndZone__ToAsyncErrorN: () => (T$._ZoneFunctionOfZoneAndZoneDelegateAndZone__ToAsyncErrorN = dart.constFn(async._ZoneFunction$(T$.ZoneAndZoneDelegateAndZone__ToAsyncErrorN())))(), + ZoneAndZoneDelegateAndZone__Tovoid: () => (T$.ZoneAndZoneDelegateAndZone__Tovoid = dart.constFn(dart.fnType(dart.void, [async.Zone, async.ZoneDelegate, async.Zone, T$.VoidTovoid()])))(), + _ZoneFunctionOfZoneAndZoneDelegateAndZone__Tovoid: () => (T$._ZoneFunctionOfZoneAndZoneDelegateAndZone__Tovoid = dart.constFn(async._ZoneFunction$(T$.ZoneAndZoneDelegateAndZone__Tovoid())))(), + ZoneAndZoneDelegateAndZone__ToTimer: () => (T$.ZoneAndZoneDelegateAndZone__ToTimer = dart.constFn(dart.fnType(async.Timer, [async.Zone, async.ZoneDelegate, async.Zone, core.Duration, T$.VoidTovoid()])))(), + _ZoneFunctionOfZoneAndZoneDelegateAndZone__ToTimer: () => (T$._ZoneFunctionOfZoneAndZoneDelegateAndZone__ToTimer = dart.constFn(async._ZoneFunction$(T$.ZoneAndZoneDelegateAndZone__ToTimer())))(), + TimerTovoid: () => (T$.TimerTovoid = dart.constFn(dart.fnType(dart.void, [async.Timer])))(), + ZoneAndZoneDelegateAndZone__ToTimer$1: () => (T$.ZoneAndZoneDelegateAndZone__ToTimer$1 = dart.constFn(dart.fnType(async.Timer, [async.Zone, async.ZoneDelegate, async.Zone, core.Duration, T$.TimerTovoid()])))(), + _ZoneFunctionOfZoneAndZoneDelegateAndZone__ToTimer$1: () => (T$._ZoneFunctionOfZoneAndZoneDelegateAndZone__ToTimer$1 = dart.constFn(async._ZoneFunction$(T$.ZoneAndZoneDelegateAndZone__ToTimer$1())))(), + ZoneAndZoneDelegateAndZone__Tovoid$1: () => (T$.ZoneAndZoneDelegateAndZone__Tovoid$1 = dart.constFn(dart.fnType(dart.void, [async.Zone, async.ZoneDelegate, async.Zone, core.String])))(), + _ZoneFunctionOfZoneAndZoneDelegateAndZone__Tovoid$1: () => (T$._ZoneFunctionOfZoneAndZoneDelegateAndZone__Tovoid$1 = dart.constFn(async._ZoneFunction$(T$.ZoneAndZoneDelegateAndZone__Tovoid$1())))(), + ZoneSpecificationN: () => (T$.ZoneSpecificationN = dart.constFn(dart.nullable(async.ZoneSpecification)))(), + MapOfObjectN$ObjectN: () => (T$.MapOfObjectN$ObjectN = dart.constFn(core.Map$(T$.ObjectN(), T$.ObjectN())))(), + MapNOfObjectN$ObjectN: () => (T$.MapNOfObjectN$ObjectN = dart.constFn(dart.nullable(T$.MapOfObjectN$ObjectN())))(), + ZoneAndZoneDelegateAndZone__ToZone: () => (T$.ZoneAndZoneDelegateAndZone__ToZone = dart.constFn(dart.fnType(async.Zone, [async.Zone, async.ZoneDelegate, async.Zone, T$.ZoneSpecificationN(), T$.MapNOfObjectN$ObjectN()])))(), + _ZoneFunctionOfZoneAndZoneDelegateAndZone__ToZone: () => (T$._ZoneFunctionOfZoneAndZoneDelegateAndZone__ToZone = dart.constFn(async._ZoneFunction$(T$.ZoneAndZoneDelegateAndZone__ToZone())))(), + ZoneAndZoneDelegateAndZone__Tovoid$2: () => (T$.ZoneAndZoneDelegateAndZone__Tovoid$2 = dart.constFn(dart.fnType(dart.void, [async.Zone, async.ZoneDelegate, async.Zone, core.Object, core.StackTrace])))(), + _ZoneFunctionOfZoneAndZoneDelegateAndZone__Tovoid$2: () => (T$._ZoneFunctionOfZoneAndZoneDelegateAndZone__Tovoid$2 = dart.constFn(async._ZoneFunction$(T$.ZoneAndZoneDelegateAndZone__Tovoid$2())))(), + ZoneN: () => (T$.ZoneN = dart.constFn(dart.nullable(async.Zone)))(), + ZoneDelegateN: () => (T$.ZoneDelegateN = dart.constFn(dart.nullable(async.ZoneDelegate)))(), + ZoneNAndZoneDelegateNAndZone__ToR: () => (T$.ZoneNAndZoneDelegateNAndZone__ToR = dart.constFn(dart.gFnType(R => [R, [T$.ZoneN(), T$.ZoneDelegateN(), async.Zone, dart.fnType(R, [])]], R => [T$.ObjectN()])))(), + ZoneNAndZoneDelegateNAndZone__ToR$1: () => (T$.ZoneNAndZoneDelegateNAndZone__ToR$1 = dart.constFn(dart.gFnType((R, T) => [R, [T$.ZoneN(), T$.ZoneDelegateN(), async.Zone, dart.fnType(R, [T]), T]], (R, T) => [T$.ObjectN(), T$.ObjectN()])))(), + ZoneNAndZoneDelegateNAndZone__ToR$2: () => (T$.ZoneNAndZoneDelegateNAndZone__ToR$2 = dart.constFn(dart.gFnType((R, T1, T2) => [R, [T$.ZoneN(), T$.ZoneDelegateN(), async.Zone, dart.fnType(R, [T1, T2]), T1, T2]], (R, T1, T2) => [T$.ObjectN(), T$.ObjectN(), T$.ObjectN()])))(), + ZoneAndZoneDelegateAndZone__ToFn: () => (T$.ZoneAndZoneDelegateAndZone__ToFn = dart.constFn(dart.gFnType(R => [dart.fnType(R, []), [async.Zone, async.ZoneDelegate, async.Zone, dart.fnType(R, [])]], R => [T$.ObjectN()])))(), + ZoneAndZoneDelegateAndZone__ToFn$1: () => (T$.ZoneAndZoneDelegateAndZone__ToFn$1 = dart.constFn(dart.gFnType((R, T) => [dart.fnType(R, [T]), [async.Zone, async.ZoneDelegate, async.Zone, dart.fnType(R, [T])]], (R, T) => [T$.ObjectN(), T$.ObjectN()])))(), + ZoneAndZoneDelegateAndZone__ToFn$2: () => (T$.ZoneAndZoneDelegateAndZone__ToFn$2 = dart.constFn(dart.gFnType((R, T1, T2) => [dart.fnType(R, [T1, T2]), [async.Zone, async.ZoneDelegate, async.Zone, dart.fnType(R, [T1, T2])]], (R, T1, T2) => [T$.ObjectN(), T$.ObjectN(), T$.ObjectN()])))(), + ZoneL: () => (T$.ZoneL = dart.constFn(dart.legacy(async.Zone)))(), + ZoneDelegateL: () => (T$.ZoneDelegateL = dart.constFn(dart.legacy(async.ZoneDelegate)))(), + ObjectL: () => (T$.ObjectL = dart.constFn(dart.legacy(core.Object)))(), + ZoneLAndZoneDelegateLAndZoneL__ToAsyncErrorN: () => (T$.ZoneLAndZoneDelegateLAndZoneL__ToAsyncErrorN = dart.constFn(dart.fnType(T$.AsyncErrorN(), [T$.ZoneL(), T$.ZoneDelegateL(), T$.ZoneL(), T$.ObjectL(), T$.StackTraceN()])))(), + ZoneLAndZoneDelegateLAndZoneL__ToLAsyncErrorN: () => (T$.ZoneLAndZoneDelegateLAndZoneL__ToLAsyncErrorN = dart.constFn(dart.legacy(T$.ZoneLAndZoneDelegateLAndZoneL__ToAsyncErrorN())))(), + _ZoneFunctionOfZoneLAndZoneDelegateLAndZoneL__ToLAsyncErrorN: () => (T$._ZoneFunctionOfZoneLAndZoneDelegateLAndZoneL__ToLAsyncErrorN = dart.constFn(async._ZoneFunction$(T$.ZoneLAndZoneDelegateLAndZoneL__ToLAsyncErrorN())))(), + VoidToLvoid: () => (T$.VoidToLvoid = dart.constFn(dart.legacy(T$.VoidTovoid())))(), + ZoneLAndZoneDelegateLAndZoneL__Tovoid: () => (T$.ZoneLAndZoneDelegateLAndZoneL__Tovoid = dart.constFn(dart.fnType(dart.void, [T$.ZoneL(), T$.ZoneDelegateL(), T$.ZoneL(), T$.VoidToLvoid()])))(), + ZoneLAndZoneDelegateLAndZoneL__ToLvoid: () => (T$.ZoneLAndZoneDelegateLAndZoneL__ToLvoid = dart.constFn(dart.legacy(T$.ZoneLAndZoneDelegateLAndZoneL__Tovoid())))(), + _ZoneFunctionOfZoneLAndZoneDelegateLAndZoneL__ToLvoid: () => (T$._ZoneFunctionOfZoneLAndZoneDelegateLAndZoneL__ToLvoid = dart.constFn(async._ZoneFunction$(T$.ZoneLAndZoneDelegateLAndZoneL__ToLvoid())))(), + ZoneNAndZoneDelegateNAndZone__Tovoid: () => (T$.ZoneNAndZoneDelegateNAndZone__Tovoid = dart.constFn(dart.fnType(dart.void, [T$.ZoneN(), T$.ZoneDelegateN(), async.Zone, T$.VoidTovoid()])))(), + TimerL: () => (T$.TimerL = dart.constFn(dart.legacy(async.Timer)))(), + DurationL: () => (T$.DurationL = dart.constFn(dart.legacy(core.Duration)))(), + ZoneLAndZoneDelegateLAndZoneL__ToTimerL: () => (T$.ZoneLAndZoneDelegateLAndZoneL__ToTimerL = dart.constFn(dart.fnType(T$.TimerL(), [T$.ZoneL(), T$.ZoneDelegateL(), T$.ZoneL(), T$.DurationL(), T$.VoidToLvoid()])))(), + ZoneLAndZoneDelegateLAndZoneL__ToLTimerL: () => (T$.ZoneLAndZoneDelegateLAndZoneL__ToLTimerL = dart.constFn(dart.legacy(T$.ZoneLAndZoneDelegateLAndZoneL__ToTimerL())))(), + _ZoneFunctionOfZoneLAndZoneDelegateLAndZoneL__ToLTimerL: () => (T$._ZoneFunctionOfZoneLAndZoneDelegateLAndZoneL__ToLTimerL = dart.constFn(async._ZoneFunction$(T$.ZoneLAndZoneDelegateLAndZoneL__ToLTimerL())))(), + TimerLTovoid: () => (T$.TimerLTovoid = dart.constFn(dart.fnType(dart.void, [T$.TimerL()])))(), + TimerLToLvoid: () => (T$.TimerLToLvoid = dart.constFn(dart.legacy(T$.TimerLTovoid())))(), + ZoneLAndZoneDelegateLAndZoneL__ToTimerL$1: () => (T$.ZoneLAndZoneDelegateLAndZoneL__ToTimerL$1 = dart.constFn(dart.fnType(T$.TimerL(), [T$.ZoneL(), T$.ZoneDelegateL(), T$.ZoneL(), T$.DurationL(), T$.TimerLToLvoid()])))(), + ZoneLAndZoneDelegateLAndZoneL__ToLTimerL$1: () => (T$.ZoneLAndZoneDelegateLAndZoneL__ToLTimerL$1 = dart.constFn(dart.legacy(T$.ZoneLAndZoneDelegateLAndZoneL__ToTimerL$1())))(), + _ZoneFunctionOfZoneLAndZoneDelegateLAndZoneL__ToLTimerL$1: () => (T$._ZoneFunctionOfZoneLAndZoneDelegateLAndZoneL__ToLTimerL$1 = dart.constFn(async._ZoneFunction$(T$.ZoneLAndZoneDelegateLAndZoneL__ToLTimerL$1())))(), + StringL: () => (T$.StringL = dart.constFn(dart.legacy(core.String)))(), + ZoneLAndZoneDelegateLAndZoneL__Tovoid$1: () => (T$.ZoneLAndZoneDelegateLAndZoneL__Tovoid$1 = dart.constFn(dart.fnType(dart.void, [T$.ZoneL(), T$.ZoneDelegateL(), T$.ZoneL(), T$.StringL()])))(), + ZoneLAndZoneDelegateLAndZoneL__ToLvoid$1: () => (T$.ZoneLAndZoneDelegateLAndZoneL__ToLvoid$1 = dart.constFn(dart.legacy(T$.ZoneLAndZoneDelegateLAndZoneL__Tovoid$1())))(), + _ZoneFunctionOfZoneLAndZoneDelegateLAndZoneL__ToLvoid$1: () => (T$._ZoneFunctionOfZoneLAndZoneDelegateLAndZoneL__ToLvoid$1 = dart.constFn(async._ZoneFunction$(T$.ZoneLAndZoneDelegateLAndZoneL__ToLvoid$1())))(), + ZoneLAndZoneDelegateLAndZoneL__ToZoneL: () => (T$.ZoneLAndZoneDelegateLAndZoneL__ToZoneL = dart.constFn(dart.fnType(T$.ZoneL(), [T$.ZoneL(), T$.ZoneDelegateL(), T$.ZoneL(), T$.ZoneSpecificationN(), T$.MapNOfObjectN$ObjectN()])))(), + ZoneLAndZoneDelegateLAndZoneL__ToLZoneL: () => (T$.ZoneLAndZoneDelegateLAndZoneL__ToLZoneL = dart.constFn(dart.legacy(T$.ZoneLAndZoneDelegateLAndZoneL__ToZoneL())))(), + _ZoneFunctionOfZoneLAndZoneDelegateLAndZoneL__ToLZoneL: () => (T$._ZoneFunctionOfZoneLAndZoneDelegateLAndZoneL__ToLZoneL = dart.constFn(async._ZoneFunction$(T$.ZoneLAndZoneDelegateLAndZoneL__ToLZoneL())))(), + ZoneNAndZoneDelegateNAndZone__ToZone: () => (T$.ZoneNAndZoneDelegateNAndZone__ToZone = dart.constFn(dart.fnType(async.Zone, [T$.ZoneN(), T$.ZoneDelegateN(), async.Zone, T$.ZoneSpecificationN(), T$.MapNOfObjectN$ObjectN()])))(), + StackTraceL: () => (T$.StackTraceL = dart.constFn(dart.legacy(core.StackTrace)))(), + ZoneLAndZoneDelegateLAndZoneL__Tovoid$2: () => (T$.ZoneLAndZoneDelegateLAndZoneL__Tovoid$2 = dart.constFn(dart.fnType(dart.void, [T$.ZoneL(), T$.ZoneDelegateL(), T$.ZoneL(), T$.ObjectL(), T$.StackTraceL()])))(), + ZoneLAndZoneDelegateLAndZoneL__ToLvoid$2: () => (T$.ZoneLAndZoneDelegateLAndZoneL__ToLvoid$2 = dart.constFn(dart.legacy(T$.ZoneLAndZoneDelegateLAndZoneL__Tovoid$2())))(), + _ZoneFunctionOfZoneLAndZoneDelegateLAndZoneL__ToLvoid$2: () => (T$._ZoneFunctionOfZoneLAndZoneDelegateLAndZoneL__ToLvoid$2 = dart.constFn(async._ZoneFunction$(T$.ZoneLAndZoneDelegateLAndZoneL__ToLvoid$2())))(), + ZoneNAndZoneDelegateNAndZone__Tovoid$1: () => (T$.ZoneNAndZoneDelegateNAndZone__Tovoid$1 = dart.constFn(dart.fnType(dart.void, [T$.ZoneN(), T$.ZoneDelegateN(), async.Zone, core.Object, core.StackTrace])))(), + NeverAndNeverTodynamic: () => (T$.NeverAndNeverTodynamic = dart.constFn(dart.fnType(dart.dynamic, [dart.Never, dart.Never])))(), + StringTovoid: () => (T$.StringTovoid = dart.constFn(dart.fnType(dart.void, [core.String])))(), + HashMapOfObjectN$ObjectN: () => (T$.HashMapOfObjectN$ObjectN = dart.constFn(collection.HashMap$(T$.ObjectN(), T$.ObjectN())))(), + JSArrayOfObjectN: () => (T$.JSArrayOfObjectN = dart.constFn(_interceptors.JSArray$(T$.ObjectN())))(), + ObjectNToint: () => (T$.ObjectNToint = dart.constFn(dart.fnType(core.int, [T$.ObjectN()])))(), + ObjectNAndObjectNTobool: () => (T$.ObjectNAndObjectNTobool = dart.constFn(dart.fnType(core.bool, [T$.ObjectN(), T$.ObjectN()])))(), + LinkedListEntryOfLinkedListEntry: () => (T$.LinkedListEntryOfLinkedListEntry = dart.constFn(collection.LinkedListEntry$(collection.LinkedListEntry)))() +}; +var T$0 = { + dynamicTobool: () => (T$0.dynamicTobool = dart.constFn(dart.fnType(core.bool, [dart.dynamic])))(), + ComparableAndComparableToint: () => (T$0.ComparableAndComparableToint = dart.constFn(dart.fnType(core.int, [core.Comparable, core.Comparable])))(), + MappedIterableOfString$dynamic: () => (T$0.MappedIterableOfString$dynamic = dart.constFn(_internal.MappedIterable$(core.String, dart.dynamic)))(), + ObjectNTodynamic: () => (T$0.ObjectNTodynamic = dart.constFn(dart.fnType(dart.dynamic, [T$.ObjectN()])))(), + MapOfString$dynamic: () => (T$0.MapOfString$dynamic = dart.constFn(core.Map$(core.String, dart.dynamic)))(), + StringAnddynamicTovoid: () => (T$0.StringAnddynamicTovoid = dart.constFn(dart.fnType(dart.void, [core.String, dart.dynamic])))(), + IdentityMapOfString$dynamic: () => (T$0.IdentityMapOfString$dynamic = dart.constFn(_js_helper.IdentityMap$(core.String, dart.dynamic)))(), + ListOfint: () => (T$0.ListOfint = dart.constFn(core.List$(core.int)))(), + StringBufferAndStringToStringBuffer: () => (T$0.StringBufferAndStringToStringBuffer = dart.constFn(dart.fnType(core.StringBuffer, [core.StringBuffer, core.String])))(), + StringBufferToString: () => (T$0.StringBufferToString = dart.constFn(dart.fnType(core.String, [core.StringBuffer])))(), + IdentityMapOfString$Encoding: () => (T$0.IdentityMapOfString$Encoding = dart.constFn(_js_helper.IdentityMap$(core.String, convert.Encoding)))(), + SinkOfListOfint: () => (T$0.SinkOfListOfint = dart.constFn(core.Sink$(T$0.ListOfint())))(), + StreamOfString: () => (T$0.StreamOfString = dart.constFn(async.Stream$(core.String)))(), + StreamOfListOfint: () => (T$0.StreamOfListOfint = dart.constFn(async.Stream$(T$0.ListOfint())))(), + SinkOfString: () => (T$0.SinkOfString = dart.constFn(core.Sink$(core.String)))(), + intL: () => (T$0.intL = dart.constFn(dart.legacy(core.int)))(), + StreamOfObjectN: () => (T$0.StreamOfObjectN = dart.constFn(async.Stream$(T$.ObjectN())))(), + JSArrayOfListOfint: () => (T$0.JSArrayOfListOfint = dart.constFn(_interceptors.JSArray$(T$0.ListOfint())))(), + Uint8ListAndintAndintTovoid: () => (T$0.Uint8ListAndintAndintTovoid = dart.constFn(dart.fnType(dart.void, [typed_data.Uint8List, core.int, core.int])))(), + SyncIterableOfString: () => (T$0.SyncIterableOfString = dart.constFn(_js_helper.SyncIterable$(core.String)))(), + EventSinkOfString: () => (T$0.EventSinkOfString = dart.constFn(async.EventSink$(core.String)))(), + EventSinkOfStringTo_LineSplitterEventSink: () => (T$0.EventSinkOfStringTo_LineSplitterEventSink = dart.constFn(dart.fnType(convert._LineSplitterEventSink, [T$0.EventSinkOfString()])))(), + VoidToObjectN: () => (T$0.VoidToObjectN = dart.constFn(dart.fnType(T$.ObjectN(), [])))(), + IdentityMapOfString$_FakeUserTag: () => (T$0.IdentityMapOfString$_FakeUserTag = dart.constFn(_js_helper.IdentityMap$(core.String, developer._FakeUserTag)))(), + LinkedMapOfString$Metric: () => (T$0.LinkedMapOfString$Metric = dart.constFn(_js_helper.LinkedMap$(core.String, developer.Metric)))(), + UriN: () => (T$0.UriN = dart.constFn(dart.nullable(core.Uri)))(), + CompleterOfUriN: () => (T$0.CompleterOfUriN = dart.constFn(async.Completer$(T$0.UriN())))(), + UriNTovoid: () => (T$0.UriNTovoid = dart.constFn(dart.fnType(dart.void, [T$0.UriN()])))(), + CompleterOfUri: () => (T$0.CompleterOfUri = dart.constFn(async.Completer$(core.Uri)))(), + UriTovoid: () => (T$0.UriTovoid = dart.constFn(dart.fnType(dart.void, [core.Uri])))(), + _SyncBlockN: () => (T$0._SyncBlockN = dart.constFn(dart.nullable(developer._SyncBlock)))(), + JSArrayOf_SyncBlockN: () => (T$0.JSArrayOf_SyncBlockN = dart.constFn(_interceptors.JSArray$(T$0._SyncBlockN())))(), + JSArrayOf_AsyncBlock: () => (T$0.JSArrayOf_AsyncBlock = dart.constFn(_interceptors.JSArray$(developer._AsyncBlock)))(), + LinkedMapOfObjectN$ObjectN: () => (T$0.LinkedMapOfObjectN$ObjectN = dart.constFn(_js_helper.LinkedMap$(T$.ObjectN(), T$.ObjectN())))(), + FutureOfServiceExtensionResponse: () => (T$0.FutureOfServiceExtensionResponse = dart.constFn(async.Future$(developer.ServiceExtensionResponse)))(), + MapOfString$String: () => (T$0.MapOfString$String = dart.constFn(core.Map$(core.String, core.String)))(), + StringAndMapOfString$StringToFutureOfServiceExtensionResponse: () => (T$0.StringAndMapOfString$StringToFutureOfServiceExtensionResponse = dart.constFn(dart.fnType(T$0.FutureOfServiceExtensionResponse(), [core.String, T$0.MapOfString$String()])))(), + IdentityMapOfString$StringAndMapOfString$StringToFutureOfServiceExtensionResponse: () => (T$0.IdentityMapOfString$StringAndMapOfString$StringToFutureOfServiceExtensionResponse = dart.constFn(_js_helper.IdentityMap$(core.String, T$0.StringAndMapOfString$StringToFutureOfServiceExtensionResponse())))(), + VoidToUint8List: () => (T$0.VoidToUint8List = dart.constFn(dart.fnType(typed_data.Uint8List, [])))(), + Uint8ListTodynamic: () => (T$0.Uint8ListTodynamic = dart.constFn(dart.fnType(dart.dynamic, [typed_data.Uint8List])))(), + FutureOfDirectory: () => (T$0.FutureOfDirectory = dart.constFn(async.Future$(io.Directory)))(), + DirectoryToFutureOfDirectory: () => (T$0.DirectoryToFutureOfDirectory = dart.constFn(dart.fnType(T$0.FutureOfDirectory(), [io.Directory])))(), + FutureOrOfDirectory: () => (T$0.FutureOrOfDirectory = dart.constFn(async.FutureOr$(io.Directory)))(), + boolToFutureOrOfDirectory: () => (T$0.boolToFutureOrOfDirectory = dart.constFn(dart.fnType(T$0.FutureOrOfDirectory(), [core.bool])))(), + dynamicTo_Directory: () => (T$0.dynamicTo_Directory = dart.constFn(dart.fnType(io._Directory, [dart.dynamic])))(), + dynamicToDirectory: () => (T$0.dynamicToDirectory = dart.constFn(dart.fnType(io.Directory, [dart.dynamic])))(), + JSArrayOfFileSystemEntity: () => (T$0.JSArrayOfFileSystemEntity = dart.constFn(_interceptors.JSArray$(io.FileSystemEntity)))(), + FutureOrOfString: () => (T$0.FutureOrOfString = dart.constFn(async.FutureOr$(core.String)))(), + dynamicToFutureOrOfString: () => (T$0.dynamicToFutureOrOfString = dart.constFn(dart.fnType(T$0.FutureOrOfString(), [dart.dynamic])))(), + dynamicToFutureOrOfbool: () => (T$0.dynamicToFutureOrOfbool = dart.constFn(dart.fnType(T$.FutureOrOfbool(), [dart.dynamic])))(), + FileSystemEntityTypeTobool: () => (T$0.FileSystemEntityTypeTobool = dart.constFn(dart.fnType(core.bool, [io.FileSystemEntityType])))(), + dynamicToFileSystemEntityType: () => (T$0.dynamicToFileSystemEntityType = dart.constFn(dart.fnType(io.FileSystemEntityType, [dart.dynamic])))(), + StreamControllerOfFileSystemEntity: () => (T$0.StreamControllerOfFileSystemEntity = dart.constFn(async.StreamController$(io.FileSystemEntity)))(), + StreamControllerOfUint8List: () => (T$0.StreamControllerOfUint8List = dart.constFn(async.StreamController$(typed_data.Uint8List)))(), + VoidToFuture: () => (T$0.VoidToFuture = dart.constFn(dart.fnType(async.Future, [])))(), + Uint8ListToNull: () => (T$0.Uint8ListToNull = dart.constFn(dart.fnType(core.Null, [typed_data.Uint8List])))(), + RandomAccessFileTovoid: () => (T$0.RandomAccessFileTovoid = dart.constFn(dart.fnType(dart.void, [io.RandomAccessFile])))(), + FutureOfRandomAccessFile: () => (T$0.FutureOfRandomAccessFile = dart.constFn(async.Future$(io.RandomAccessFile)))(), + FileN: () => (T$0.FileN = dart.constFn(dart.nullable(io.File)))(), + CompleterOfFileN: () => (T$0.CompleterOfFileN = dart.constFn(async.Completer$(T$0.FileN())))(), + StreamSubscriptionOfListOfint: () => (T$0.StreamSubscriptionOfListOfint = dart.constFn(async.StreamSubscription$(T$0.ListOfint())))(), + VoidToStreamSubscriptionOfListOfint: () => (T$0.VoidToStreamSubscriptionOfListOfint = dart.constFn(dart.fnType(T$0.StreamSubscriptionOfListOfint(), [])))(), + StreamSubscriptionOfListOfintTodynamic: () => (T$0.StreamSubscriptionOfListOfintTodynamic = dart.constFn(dart.fnType(dart.dynamic, [T$0.StreamSubscriptionOfListOfint()])))(), + dynamicAndStackTraceTovoid: () => (T$0.dynamicAndStackTraceTovoid = dart.constFn(dart.fnType(dart.void, [dart.dynamic, core.StackTrace])))(), + ListOfintTovoid: () => (T$0.ListOfintTovoid = dart.constFn(dart.fnType(dart.void, [T$0.ListOfint()])))(), + RandomAccessFileToNull: () => (T$0.RandomAccessFileToNull = dart.constFn(dart.fnType(core.Null, [io.RandomAccessFile])))(), + RandomAccessFileToFutureOfvoid: () => (T$0.RandomAccessFileToFutureOfvoid = dart.constFn(dart.fnType(T$.FutureOfvoid(), [io.RandomAccessFile])))(), + voidToFileN: () => (T$0.voidToFileN = dart.constFn(dart.fnType(T$0.FileN(), [dart.void])))(), + DirectoryN: () => (T$0.DirectoryN = dart.constFn(dart.nullable(io.Directory)))(), + DirectoryNToFuture: () => (T$0.DirectoryNToFuture = dart.constFn(dart.fnType(async.Future, [T$0.DirectoryN()])))(), + dynamicTo_File: () => (T$0.dynamicTo_File = dart.constFn(dart.fnType(io._File, [dart.dynamic])))(), + FileSystemEntityTo_File: () => (T$0.FileSystemEntityTo_File = dart.constFn(dart.fnType(io._File, [io.FileSystemEntity])))(), + dynamicToFile: () => (T$0.dynamicToFile = dart.constFn(dart.fnType(io.File, [dart.dynamic])))(), + dynamicTo_RandomAccessFile: () => (T$0.dynamicTo_RandomAccessFile = dart.constFn(dart.fnType(io._RandomAccessFile, [dart.dynamic])))(), + FutureOrOfint: () => (T$0.FutureOrOfint = dart.constFn(async.FutureOr$(core.int)))(), + dynamicToFutureOrOfint: () => (T$0.dynamicToFutureOrOfint = dart.constFn(dart.fnType(T$0.FutureOrOfint(), [dart.dynamic])))(), + dynamicToDateTime: () => (T$0.dynamicToDateTime = dart.constFn(dart.fnType(core.DateTime, [dart.dynamic])))(), + CompleterOfUint8List: () => (T$0.CompleterOfUint8List = dart.constFn(async.Completer$(typed_data.Uint8List)))(), + FutureOfUint8List: () => (T$0.FutureOfUint8List = dart.constFn(async.Future$(typed_data.Uint8List)))(), + RandomAccessFileToFutureOfUint8List: () => (T$0.RandomAccessFileToFutureOfUint8List = dart.constFn(dart.fnType(T$0.FutureOfUint8List(), [io.RandomAccessFile])))(), + intToFutureOfUint8List: () => (T$0.intToFutureOfUint8List = dart.constFn(dart.fnType(T$0.FutureOfUint8List(), [core.int])))(), + FutureOfString: () => (T$0.FutureOfString = dart.constFn(async.Future$(core.String)))(), + Uint8ListToFutureOrOfString: () => (T$0.Uint8ListToFutureOrOfString = dart.constFn(dart.fnType(T$0.FutureOrOfString(), [typed_data.Uint8List])))(), + RandomAccessFileTo_File: () => (T$0.RandomAccessFileTo_File = dart.constFn(dart.fnType(io._File, [io.RandomAccessFile])))(), + FutureOrOfFile: () => (T$0.FutureOrOfFile = dart.constFn(async.FutureOr$(io.File)))(), + RandomAccessFileToFutureOrOfFile: () => (T$0.RandomAccessFileToFutureOrOfFile = dart.constFn(dart.fnType(T$0.FutureOrOfFile(), [io.RandomAccessFile])))(), + FutureOfFile: () => (T$0.FutureOfFile = dart.constFn(async.Future$(io.File)))(), + RandomAccessFileToFutureOfFile: () => (T$0.RandomAccessFileToFutureOfFile = dart.constFn(dart.fnType(T$0.FutureOfFile(), [io.RandomAccessFile])))(), + dynamicAnddynamicToFutureOfServiceExtensionResponse: () => (T$0.dynamicAnddynamicToFutureOfServiceExtensionResponse = dart.constFn(dart.fnType(T$0.FutureOfServiceExtensionResponse(), [dart.dynamic, dart.dynamic])))(), + dynamicToUint8List: () => (T$0.dynamicToUint8List = dart.constFn(dart.fnType(typed_data.Uint8List, [dart.dynamic])))(), + FutureOfint: () => (T$0.FutureOfint = dart.constFn(async.Future$(core.int)))(), + dynamicToint: () => (T$0.dynamicToint = dart.constFn(dart.fnType(core.int, [dart.dynamic])))(), + FileSystemEntityTypeL: () => (T$0.FileSystemEntityTypeL = dart.constFn(dart.legacy(io.FileSystemEntityType)))(), + dynamicToFileStat: () => (T$0.dynamicToFileStat = dart.constFn(dart.fnType(io.FileStat, [dart.dynamic])))(), + ListOfMapOfString$dynamic: () => (T$0.ListOfMapOfString$dynamic = dart.constFn(core.List$(T$0.MapOfString$dynamic())))(), + _FileResourceInfoToMapOfString$dynamic: () => (T$0._FileResourceInfoToMapOfString$dynamic = dart.constFn(dart.fnType(T$0.MapOfString$dynamic(), [io._FileResourceInfo])))(), + IdentityMapOfint$_FileResourceInfo: () => (T$0.IdentityMapOfint$_FileResourceInfo = dart.constFn(_js_helper.IdentityMap$(core.int, io._FileResourceInfo)))(), + _SpawnedProcessResourceInfoToMapOfString$dynamic: () => (T$0._SpawnedProcessResourceInfoToMapOfString$dynamic = dart.constFn(dart.fnType(T$0.MapOfString$dynamic(), [io._SpawnedProcessResourceInfo])))(), + LinkedMapOfint$_SpawnedProcessResourceInfo: () => (T$0.LinkedMapOfint$_SpawnedProcessResourceInfo = dart.constFn(_js_helper.LinkedMap$(core.int, io._SpawnedProcessResourceInfo)))(), + dynamicTo_Link: () => (T$0.dynamicTo_Link = dart.constFn(dart.fnType(io._Link, [dart.dynamic])))(), + FutureOfLink: () => (T$0.FutureOfLink = dart.constFn(async.Future$(io.Link)))(), + FileSystemEntityToFutureOfLink: () => (T$0.FileSystemEntityToFutureOfLink = dart.constFn(dart.fnType(T$0.FutureOfLink(), [io.FileSystemEntity])))(), + FileSystemEntityTo_Link: () => (T$0.FileSystemEntityTo_Link = dart.constFn(dart.fnType(io._Link, [io.FileSystemEntity])))(), + dynamicToLink: () => (T$0.dynamicToLink = dart.constFn(dart.fnType(io.Link, [dart.dynamic])))(), + _SocketStatisticToMapOfString$dynamic: () => (T$0._SocketStatisticToMapOfString$dynamic = dart.constFn(dart.fnType(T$0.MapOfString$dynamic(), [io._SocketStatistic])))(), + IdentityMapOfint$_SocketStatistic: () => (T$0.IdentityMapOfint$_SocketStatistic = dart.constFn(_js_helper.IdentityMap$(core.int, io._SocketStatistic)))(), + _SocketProfileTypeL: () => (T$0._SocketProfileTypeL = dart.constFn(dart.legacy(io._SocketProfileType)))(), + IOOverridesN: () => (T$0.IOOverridesN = dart.constFn(dart.nullable(io.IOOverrides)))(), + _CaseInsensitiveStringMapOfString: () => (T$0._CaseInsensitiveStringMapOfString = dart.constFn(io._CaseInsensitiveStringMap$(core.String)))(), + LinkedMapOfString$String: () => (T$0.LinkedMapOfString$String = dart.constFn(_js_helper.LinkedMap$(core.String, core.String)))(), + UnmodifiableMapViewOfString$String: () => (T$0.UnmodifiableMapViewOfString$String = dart.constFn(collection.UnmodifiableMapView$(core.String, core.String)))(), + ProcessStartModeL: () => (T$0.ProcessStartModeL = dart.constFn(dart.legacy(io.ProcessStartMode)))(), + RawSecureServerSocketToSecureServerSocket: () => (T$0.RawSecureServerSocketToSecureServerSocket = dart.constFn(dart.fnType(io.SecureServerSocket, [io.RawSecureServerSocket])))(), + RawSecureSocketToSecureSocket: () => (T$0.RawSecureSocketToSecureSocket = dart.constFn(dart.fnType(io.SecureSocket, [io.RawSecureSocket])))(), + ConnectionTaskOfSecureSocket: () => (T$0.ConnectionTaskOfSecureSocket = dart.constFn(io.ConnectionTask$(io.SecureSocket)))(), + ConnectionTaskOfRawSecureSocket: () => (T$0.ConnectionTaskOfRawSecureSocket = dart.constFn(io.ConnectionTask$(io.RawSecureSocket)))(), + ConnectionTaskOfRawSecureSocketToConnectionTaskOfSecureSocket: () => (T$0.ConnectionTaskOfRawSecureSocketToConnectionTaskOfSecureSocket = dart.constFn(dart.fnType(T$0.ConnectionTaskOfSecureSocket(), [T$0.ConnectionTaskOfRawSecureSocket()])))(), + StreamSubscriptionOfRawSocketEvent: () => (T$0.StreamSubscriptionOfRawSocketEvent = dart.constFn(async.StreamSubscription$(io.RawSocketEvent)))(), + StreamSubscriptionNOfRawSocketEvent: () => (T$0.StreamSubscriptionNOfRawSocketEvent = dart.constFn(dart.nullable(T$0.StreamSubscriptionOfRawSocketEvent())))(), + FutureOfRawSecureSocket: () => (T$0.FutureOfRawSecureSocket = dart.constFn(async.Future$(io.RawSecureSocket)))(), + dynamicToFutureOfRawSecureSocket: () => (T$0.dynamicToFutureOfRawSecureSocket = dart.constFn(dart.fnType(T$0.FutureOfRawSecureSocket(), [dart.dynamic])))(), + StreamControllerOfRawSecureSocket: () => (T$0.StreamControllerOfRawSecureSocket = dart.constFn(async.StreamController$(io.RawSecureSocket)))(), + RawServerSocketToRawSecureServerSocket: () => (T$0.RawServerSocketToRawSecureServerSocket = dart.constFn(dart.fnType(io.RawSecureServerSocket, [io.RawServerSocket])))(), + RawSecureSocketToNull: () => (T$0.RawSecureSocketToNull = dart.constFn(dart.fnType(core.Null, [io.RawSecureSocket])))(), + RawSocketToFutureOfRawSecureSocket: () => (T$0.RawSocketToFutureOfRawSecureSocket = dart.constFn(dart.fnType(T$0.FutureOfRawSecureSocket(), [io.RawSocket])))(), + ConnectionTaskOfRawSocket: () => (T$0.ConnectionTaskOfRawSocket = dart.constFn(io.ConnectionTask$(io.RawSocket)))(), + ConnectionTaskOfRawSocketToConnectionTaskOfRawSecureSocket: () => (T$0.ConnectionTaskOfRawSocketToConnectionTaskOfRawSecureSocket = dart.constFn(dart.fnType(T$0.ConnectionTaskOfRawSecureSocket(), [T$0.ConnectionTaskOfRawSocket()])))(), + CompleterOf_RawSecureSocket: () => (T$0.CompleterOf_RawSecureSocket = dart.constFn(async.Completer$(io._RawSecureSocket)))(), + StreamControllerOfRawSocketEvent: () => (T$0.StreamControllerOfRawSocketEvent = dart.constFn(async.StreamController$(io.RawSocketEvent)))(), + CompleterOfRawSecureSocket: () => (T$0.CompleterOfRawSecureSocket = dart.constFn(async.Completer$(io.RawSecureSocket)))(), + intToint: () => (T$0.intToint = dart.constFn(dart.fnType(core.int, [core.int])))(), + ListOfintAndStringTovoid: () => (T$0.ListOfintAndStringTovoid = dart.constFn(dart.fnType(dart.void, [T$0.ListOfint(), core.String])))(), + _RawSocketOptionsL: () => (T$0._RawSocketOptionsL = dart.constFn(dart.legacy(io._RawSocketOptions)))(), + JSArrayOf_DomainNetworkPolicy: () => (T$0.JSArrayOf_DomainNetworkPolicy = dart.constFn(_interceptors.JSArray$(io._DomainNetworkPolicy)))(), + StdoutN: () => (T$0.StdoutN = dart.constFn(dart.nullable(io.Stdout)))(), + Fn__ToR: () => (T$0.Fn__ToR = dart.constFn(dart.gFnType(R => [R, [dart.fnType(R, [])], {onError: T$.FunctionN(), zoneSpecification: T$.ZoneSpecificationN(), zoneValues: T$.MapNOfObjectN$ObjectN()}, {}], R => [T$.ObjectN()])))(), + LinkedMapOfSymbol$dynamic: () => (T$0.LinkedMapOfSymbol$dynamic = dart.constFn(_js_helper.LinkedMap$(core.Symbol, dart.dynamic)))(), + ObjectToObject: () => (T$0.ObjectToObject = dart.constFn(dart.fnType(core.Object, [core.Object])))(), + ObjectTo_DartObject: () => (T$0.ObjectTo_DartObject = dart.constFn(dart.fnType(js._DartObject, [core.Object])))(), + ObjectToJsObject: () => (T$0.ObjectToJsObject = dart.constFn(dart.fnType(js.JsObject, [core.Object])))(), + PointOfnum: () => (T$0.PointOfnum = dart.constFn(math.Point$(core.num)))(), + RectangleOfnum: () => (T$0.RectangleOfnum = dart.constFn(math.Rectangle$(core.num)))(), + EventL: () => (T$0.EventL = dart.constFn(dart.legacy(html$.Event)))(), + EventStreamProviderOfEventL: () => (T$0.EventStreamProviderOfEventL = dart.constFn(html$.EventStreamProvider$(T$0.EventL())))(), + VersionChangeEventL: () => (T$0.VersionChangeEventL = dart.constFn(dart.legacy(indexed_db.VersionChangeEvent)))(), + EventStreamProviderOfVersionChangeEventL: () => (T$0.EventStreamProviderOfVersionChangeEventL = dart.constFn(html$.EventStreamProvider$(T$0.VersionChangeEventL())))(), + FutureOfDatabase: () => (T$0.FutureOfDatabase = dart.constFn(async.Future$(indexed_db.Database)))(), + CompleterOfIdbFactory: () => (T$0.CompleterOfIdbFactory = dart.constFn(async.Completer$(indexed_db.IdbFactory)))(), + EventTovoid: () => (T$0.EventTovoid = dart.constFn(dart.fnType(dart.void, [html$.Event])))(), + FutureOfIdbFactory: () => (T$0.FutureOfIdbFactory = dart.constFn(async.Future$(indexed_db.IdbFactory)))(), + ObserverChangesTovoid: () => (T$0.ObserverChangesTovoid = dart.constFn(dart.fnType(dart.void, [indexed_db.ObserverChanges])))(), + CompleterOfDatabase: () => (T$0.CompleterOfDatabase = dart.constFn(async.Completer$(indexed_db.Database)))(), + EventToNull: () => (T$0.EventToNull = dart.constFn(dart.fnType(core.Null, [html$.Event])))(), + ElementN: () => (T$0.ElementN = dart.constFn(dart.nullable(html$.Element)))(), + JSArrayOfEventTarget: () => (T$0.JSArrayOfEventTarget = dart.constFn(_interceptors.JSArray$(html$.EventTarget)))(), + NodeTobool: () => (T$0.NodeTobool = dart.constFn(dart.fnType(core.bool, [html$.Node])))(), + CompleterOfScrollState: () => (T$0.CompleterOfScrollState = dart.constFn(async.Completer$(html$.ScrollState)))(), + ScrollStateTovoid: () => (T$0.ScrollStateTovoid = dart.constFn(dart.fnType(dart.void, [html$.ScrollState])))(), + MapOfString$dynamicTobool: () => (T$0.MapOfString$dynamicTobool = dart.constFn(dart.fnType(core.bool, [T$0.MapOfString$dynamic()])))(), + MapN: () => (T$0.MapN = dart.constFn(dart.nullable(core.Map)))(), + ObjectNToNvoid: () => (T$0.ObjectNToNvoid = dart.constFn(dart.nullable(T$.ObjectNTovoid())))(), + MapNAndFnTodynamic: () => (T$0.MapNAndFnTodynamic = dart.constFn(dart.fnType(dart.dynamic, [T$0.MapN()], [T$0.ObjectNToNvoid()])))(), + WheelEventL: () => (T$0.WheelEventL = dart.constFn(dart.legacy(html$.WheelEvent)))(), + _CustomEventStreamProviderOfWheelEventL: () => (T$0._CustomEventStreamProviderOfWheelEventL = dart.constFn(html$._CustomEventStreamProvider$(T$0.WheelEventL())))(), + EventTargetToString: () => (T$0.EventTargetToString = dart.constFn(dart.fnType(core.String, [html$.EventTarget])))(), + TransitionEventL: () => (T$0.TransitionEventL = dart.constFn(dart.legacy(html$.TransitionEvent)))(), + _CustomEventStreamProviderOfTransitionEventL: () => (T$0._CustomEventStreamProviderOfTransitionEventL = dart.constFn(html$._CustomEventStreamProvider$(T$0.TransitionEventL())))(), + MouseEventL: () => (T$0.MouseEventL = dart.constFn(dart.legacy(html$.MouseEvent)))(), + EventStreamProviderOfMouseEventL: () => (T$0.EventStreamProviderOfMouseEventL = dart.constFn(html$.EventStreamProvider$(T$0.MouseEventL())))(), + ClipboardEventL: () => (T$0.ClipboardEventL = dart.constFn(dart.legacy(html$.ClipboardEvent)))(), + EventStreamProviderOfClipboardEventL: () => (T$0.EventStreamProviderOfClipboardEventL = dart.constFn(html$.EventStreamProvider$(T$0.ClipboardEventL())))(), + KeyboardEventL: () => (T$0.KeyboardEventL = dart.constFn(dart.legacy(html$.KeyboardEvent)))(), + EventStreamProviderOfKeyboardEventL: () => (T$0.EventStreamProviderOfKeyboardEventL = dart.constFn(html$.EventStreamProvider$(T$0.KeyboardEventL())))(), + TouchEventL: () => (T$0.TouchEventL = dart.constFn(dart.legacy(html$.TouchEvent)))(), + EventStreamProviderOfTouchEventL: () => (T$0.EventStreamProviderOfTouchEventL = dart.constFn(html$.EventStreamProvider$(T$0.TouchEventL())))(), + EventStreamProviderOfWheelEventL: () => (T$0.EventStreamProviderOfWheelEventL = dart.constFn(html$.EventStreamProvider$(T$0.WheelEventL())))(), + ProgressEventL: () => (T$0.ProgressEventL = dart.constFn(dart.legacy(html$.ProgressEvent)))(), + EventStreamProviderOfProgressEventL: () => (T$0.EventStreamProviderOfProgressEventL = dart.constFn(html$.EventStreamProvider$(T$0.ProgressEventL())))(), + MessageEventL: () => (T$0.MessageEventL = dart.constFn(dart.legacy(html$.MessageEvent)))(), + EventStreamProviderOfMessageEventL: () => (T$0.EventStreamProviderOfMessageEventL = dart.constFn(html$.EventStreamProvider$(T$0.MessageEventL())))(), + PopStateEventL: () => (T$0.PopStateEventL = dart.constFn(dart.legacy(html$.PopStateEvent)))(), + EventStreamProviderOfPopStateEventL: () => (T$0.EventStreamProviderOfPopStateEventL = dart.constFn(html$.EventStreamProvider$(T$0.PopStateEventL())))(), + StorageEventL: () => (T$0.StorageEventL = dart.constFn(dart.legacy(html$.StorageEvent)))(), + EventStreamProviderOfStorageEventL: () => (T$0.EventStreamProviderOfStorageEventL = dart.constFn(html$.EventStreamProvider$(T$0.StorageEventL())))(), + CompleterOfBlob: () => (T$0.CompleterOfBlob = dart.constFn(async.Completer$(html$.Blob)))(), + BlobN: () => (T$0.BlobN = dart.constFn(dart.nullable(html$.Blob)))(), + BlobNTovoid: () => (T$0.BlobNTovoid = dart.constFn(dart.fnType(dart.void, [T$0.BlobN()])))(), + ContextEventL: () => (T$0.ContextEventL = dart.constFn(dart.legacy(web_gl.ContextEvent)))(), + EventStreamProviderOfContextEventL: () => (T$0.EventStreamProviderOfContextEventL = dart.constFn(html$.EventStreamProvider$(T$0.ContextEventL())))(), + JSArrayOfnum: () => (T$0.JSArrayOfnum = dart.constFn(_interceptors.JSArray$(core.num)))(), + dynamicToCssStyleDeclaration: () => (T$0.dynamicToCssStyleDeclaration = dart.constFn(dart.fnType(html$.CssStyleDeclaration, [dart.dynamic])))(), + CssStyleDeclarationTovoid: () => (T$0.CssStyleDeclarationTovoid = dart.constFn(dart.fnType(dart.void, [html$.CssStyleDeclaration])))(), + ListOfCssTransformComponent: () => (T$0.ListOfCssTransformComponent = dart.constFn(core.List$(html$.CssTransformComponent)))(), + CompleterOfEntry: () => (T$0.CompleterOfEntry = dart.constFn(async.Completer$(html$.Entry)))(), + EntryTovoid: () => (T$0.EntryTovoid = dart.constFn(dart.fnType(dart.void, [html$.Entry])))(), + DomExceptionTovoid: () => (T$0.DomExceptionTovoid = dart.constFn(dart.fnType(dart.void, [html$.DomException])))(), + CompleterOfMetadata: () => (T$0.CompleterOfMetadata = dart.constFn(async.Completer$(html$.Metadata)))(), + MetadataTovoid: () => (T$0.MetadataTovoid = dart.constFn(dart.fnType(dart.void, [html$.Metadata])))(), + ListOfEntry: () => (T$0.ListOfEntry = dart.constFn(core.List$(html$.Entry)))(), + CompleterOfListOfEntry: () => (T$0.CompleterOfListOfEntry = dart.constFn(async.Completer$(T$0.ListOfEntry())))(), + ListTovoid: () => (T$0.ListTovoid = dart.constFn(dart.fnType(dart.void, [core.List])))(), + SecurityPolicyViolationEventL: () => (T$0.SecurityPolicyViolationEventL = dart.constFn(dart.legacy(html$.SecurityPolicyViolationEvent)))(), + EventStreamProviderOfSecurityPolicyViolationEventL: () => (T$0.EventStreamProviderOfSecurityPolicyViolationEventL = dart.constFn(html$.EventStreamProvider$(T$0.SecurityPolicyViolationEventL())))(), + IterableOfElement: () => (T$0.IterableOfElement = dart.constFn(core.Iterable$(html$.Element)))(), + ListOfElement: () => (T$0.ListOfElement = dart.constFn(core.List$(html$.Element)))(), + ElementTobool: () => (T$0.ElementTobool = dart.constFn(dart.fnType(core.bool, [html$.Element])))(), + _EventStreamOfEvent: () => (T$0._EventStreamOfEvent = dart.constFn(html$._EventStream$(html$.Event)))(), + _ElementEventStreamImplOfEvent: () => (T$0._ElementEventStreamImplOfEvent = dart.constFn(html$._ElementEventStreamImpl$(html$.Event)))(), + CompleterOfFileWriter: () => (T$0.CompleterOfFileWriter = dart.constFn(async.Completer$(html$.FileWriter)))(), + FileWriterTovoid: () => (T$0.FileWriterTovoid = dart.constFn(dart.fnType(dart.void, [html$.FileWriter])))(), + CompleterOfFile: () => (T$0.CompleterOfFile = dart.constFn(async.Completer$(html$.File)))(), + FileN$1: () => (T$0.FileN$1 = dart.constFn(dart.nullable(html$.File)))(), + FileNTovoid: () => (T$0.FileNTovoid = dart.constFn(dart.fnType(dart.void, [T$0.FileN$1()])))(), + FontFaceSetLoadEventL: () => (T$0.FontFaceSetLoadEventL = dart.constFn(dart.legacy(html$.FontFaceSetLoadEvent)))(), + EventStreamProviderOfFontFaceSetLoadEventL: () => (T$0.EventStreamProviderOfFontFaceSetLoadEventL = dart.constFn(html$.EventStreamProvider$(T$0.FontFaceSetLoadEventL())))(), + CompleterOfGeoposition: () => (T$0.CompleterOfGeoposition = dart.constFn(async.Completer$(html$.Geoposition)))(), + GeopositionTovoid: () => (T$0.GeopositionTovoid = dart.constFn(dart.fnType(dart.void, [html$.Geoposition])))(), + PositionErrorTovoid: () => (T$0.PositionErrorTovoid = dart.constFn(dart.fnType(dart.void, [html$.PositionError])))(), + StreamControllerOfGeoposition: () => (T$0.StreamControllerOfGeoposition = dart.constFn(async.StreamController$(html$.Geoposition)))(), + _CustomEventStreamProviderOfEventL: () => (T$0._CustomEventStreamProviderOfEventL = dart.constFn(html$._CustomEventStreamProvider$(T$0.EventL())))(), + HttpRequestToString: () => (T$0.HttpRequestToString = dart.constFn(dart.fnType(core.String, [html$.HttpRequest])))(), + StringAndStringTovoid: () => (T$0.StringAndStringTovoid = dart.constFn(dart.fnType(dart.void, [core.String, core.String])))(), + CompleterOfHttpRequest: () => (T$0.CompleterOfHttpRequest = dart.constFn(async.Completer$(html$.HttpRequest)))(), + ProgressEventTovoid: () => (T$0.ProgressEventTovoid = dart.constFn(dart.fnType(dart.void, [html$.ProgressEvent])))(), + CompleterOfString: () => (T$0.CompleterOfString = dart.constFn(async.Completer$(core.String)))(), + FutureOrNOfString: () => (T$0.FutureOrNOfString = dart.constFn(dart.nullable(T$0.FutureOrOfString())))(), + ListAndIntersectionObserverTovoid: () => (T$0.ListAndIntersectionObserverTovoid = dart.constFn(dart.fnType(dart.void, [core.List, html$.IntersectionObserver])))(), + ListOfMediaStreamTrack: () => (T$0.ListOfMediaStreamTrack = dart.constFn(core.List$(html$.MediaStreamTrack)))(), + MessagePortL: () => (T$0.MessagePortL = dart.constFn(dart.legacy(html$.MessagePort)))(), + MidiMessageEventL: () => (T$0.MidiMessageEventL = dart.constFn(dart.legacy(html$.MidiMessageEvent)))(), + EventStreamProviderOfMidiMessageEventL: () => (T$0.EventStreamProviderOfMidiMessageEventL = dart.constFn(html$.EventStreamProvider$(T$0.MidiMessageEventL())))(), + MapTobool: () => (T$0.MapTobool = dart.constFn(dart.fnType(core.bool, [core.Map])))(), + JSArrayOfMap: () => (T$0.JSArrayOfMap = dart.constFn(_interceptors.JSArray$(core.Map)))(), + ListAndMutationObserverTovoid: () => (T$0.ListAndMutationObserverTovoid = dart.constFn(dart.fnType(dart.void, [core.List, html$.MutationObserver])))(), + ListAndMutationObserverToNvoid: () => (T$0.ListAndMutationObserverToNvoid = dart.constFn(dart.nullable(T$0.ListAndMutationObserverTovoid())))(), + boolL: () => (T$0.boolL = dart.constFn(dart.legacy(core.bool)))(), + CompleterOfMediaStream: () => (T$0.CompleterOfMediaStream = dart.constFn(async.Completer$(html$.MediaStream)))(), + MediaStreamTovoid: () => (T$0.MediaStreamTovoid = dart.constFn(dart.fnType(dart.void, [html$.MediaStream])))(), + NavigatorUserMediaErrorTovoid: () => (T$0.NavigatorUserMediaErrorTovoid = dart.constFn(dart.fnType(dart.void, [html$.NavigatorUserMediaError])))(), + IterableOfNode: () => (T$0.IterableOfNode = dart.constFn(core.Iterable$(html$.Node)))(), + NodeN$1: () => (T$0.NodeN$1 = dart.constFn(dart.nullable(html$.Node)))(), + PerformanceObserverEntryListAndPerformanceObserverTovoid: () => (T$0.PerformanceObserverEntryListAndPerformanceObserverTovoid = dart.constFn(dart.fnType(dart.void, [html$.PerformanceObserverEntryList, html$.PerformanceObserver])))(), + ListAndReportingObserverTovoid: () => (T$0.ListAndReportingObserverTovoid = dart.constFn(dart.fnType(dart.void, [core.List, html$.ReportingObserver])))(), + ListAndResizeObserverTovoid: () => (T$0.ListAndResizeObserverTovoid = dart.constFn(dart.fnType(dart.void, [core.List, html$.ResizeObserver])))(), + RtcDtmfToneChangeEventL: () => (T$0.RtcDtmfToneChangeEventL = dart.constFn(dart.legacy(html$.RtcDtmfToneChangeEvent)))(), + EventStreamProviderOfRtcDtmfToneChangeEventL: () => (T$0.EventStreamProviderOfRtcDtmfToneChangeEventL = dart.constFn(html$.EventStreamProvider$(T$0.RtcDtmfToneChangeEventL())))(), + JSArrayOfMapOfString$String: () => (T$0.JSArrayOfMapOfString$String = dart.constFn(_interceptors.JSArray$(T$0.MapOfString$String())))(), + CompleterOfRtcStatsResponse: () => (T$0.CompleterOfRtcStatsResponse = dart.constFn(async.Completer$(html$.RtcStatsResponse)))(), + RtcStatsResponseTovoid: () => (T$0.RtcStatsResponseTovoid = dart.constFn(dart.fnType(dart.void, [html$.RtcStatsResponse])))(), + MediaStreamEventL: () => (T$0.MediaStreamEventL = dart.constFn(dart.legacy(html$.MediaStreamEvent)))(), + EventStreamProviderOfMediaStreamEventL: () => (T$0.EventStreamProviderOfMediaStreamEventL = dart.constFn(html$.EventStreamProvider$(T$0.MediaStreamEventL())))(), + RtcDataChannelEventL: () => (T$0.RtcDataChannelEventL = dart.constFn(dart.legacy(html$.RtcDataChannelEvent)))(), + EventStreamProviderOfRtcDataChannelEventL: () => (T$0.EventStreamProviderOfRtcDataChannelEventL = dart.constFn(html$.EventStreamProvider$(T$0.RtcDataChannelEventL())))(), + RtcPeerConnectionIceEventL: () => (T$0.RtcPeerConnectionIceEventL = dart.constFn(dart.legacy(html$.RtcPeerConnectionIceEvent)))(), + EventStreamProviderOfRtcPeerConnectionIceEventL: () => (T$0.EventStreamProviderOfRtcPeerConnectionIceEventL = dart.constFn(html$.EventStreamProvider$(T$0.RtcPeerConnectionIceEventL())))(), + RtcTrackEventL: () => (T$0.RtcTrackEventL = dart.constFn(dart.legacy(html$.RtcTrackEvent)))(), + EventStreamProviderOfRtcTrackEventL: () => (T$0.EventStreamProviderOfRtcTrackEventL = dart.constFn(html$.EventStreamProvider$(T$0.RtcTrackEventL())))(), + UnmodifiableListViewOfOptionElement: () => (T$0.UnmodifiableListViewOfOptionElement = dart.constFn(collection.UnmodifiableListView$(html$.OptionElement)))(), + IterableOfOptionElement: () => (T$0.IterableOfOptionElement = dart.constFn(core.Iterable$(html$.OptionElement)))(), + OptionElementTobool: () => (T$0.OptionElementTobool = dart.constFn(dart.fnType(core.bool, [html$.OptionElement])))(), + JSArrayOfOptionElement: () => (T$0.JSArrayOfOptionElement = dart.constFn(_interceptors.JSArray$(html$.OptionElement)))(), + ForeignFetchEventL: () => (T$0.ForeignFetchEventL = dart.constFn(dart.legacy(html$.ForeignFetchEvent)))(), + EventStreamProviderOfForeignFetchEventL: () => (T$0.EventStreamProviderOfForeignFetchEventL = dart.constFn(html$.EventStreamProvider$(T$0.ForeignFetchEventL())))(), + SpeechRecognitionErrorL: () => (T$0.SpeechRecognitionErrorL = dart.constFn(dart.legacy(html$.SpeechRecognitionError)))(), + EventStreamProviderOfSpeechRecognitionErrorL: () => (T$0.EventStreamProviderOfSpeechRecognitionErrorL = dart.constFn(html$.EventStreamProvider$(T$0.SpeechRecognitionErrorL())))(), + SpeechRecognitionEventL: () => (T$0.SpeechRecognitionEventL = dart.constFn(dart.legacy(html$.SpeechRecognitionEvent)))(), + EventStreamProviderOfSpeechRecognitionEventL: () => (T$0.EventStreamProviderOfSpeechRecognitionEventL = dart.constFn(html$.EventStreamProvider$(T$0.SpeechRecognitionEventL())))(), + SpeechSynthesisEventL: () => (T$0.SpeechSynthesisEventL = dart.constFn(dart.legacy(html$.SpeechSynthesisEvent)))(), + EventStreamProviderOfSpeechSynthesisEventL: () => (T$0.EventStreamProviderOfSpeechSynthesisEventL = dart.constFn(html$.EventStreamProvider$(T$0.SpeechSynthesisEventL())))(), + _WrappedListOfTableSectionElement: () => (T$0._WrappedListOfTableSectionElement = dart.constFn(html$._WrappedList$(html$.TableSectionElement)))(), + _WrappedListOfTableRowElement: () => (T$0._WrappedListOfTableRowElement = dart.constFn(html$._WrappedList$(html$.TableRowElement)))(), + _WrappedListOfTableCellElement: () => (T$0._WrappedListOfTableCellElement = dart.constFn(html$._WrappedList$(html$.TableCellElement)))(), + TrackEventL: () => (T$0.TrackEventL = dart.constFn(dart.legacy(html$.TrackEvent)))(), + EventStreamProviderOfTrackEventL: () => (T$0.EventStreamProviderOfTrackEventL = dart.constFn(html$.EventStreamProvider$(T$0.TrackEventL())))(), + CloseEventL: () => (T$0.CloseEventL = dart.constFn(dart.legacy(html$.CloseEvent)))(), + EventStreamProviderOfCloseEventL: () => (T$0.EventStreamProviderOfCloseEventL = dart.constFn(html$.EventStreamProvider$(T$0.CloseEventL())))(), + CompleterOfnum: () => (T$0.CompleterOfnum = dart.constFn(async.Completer$(core.num)))(), + numTovoid: () => (T$0.numTovoid = dart.constFn(dart.fnType(dart.void, [core.num])))(), + IdleDeadlineTovoid: () => (T$0.IdleDeadlineTovoid = dart.constFn(dart.fnType(dart.void, [html$.IdleDeadline])))(), + CompleterOfFileSystem: () => (T$0.CompleterOfFileSystem = dart.constFn(async.Completer$(html$.FileSystem)))(), + FileSystemTovoid: () => (T$0.FileSystemTovoid = dart.constFn(dart.fnType(dart.void, [html$.FileSystem])))(), + DeviceMotionEventL: () => (T$0.DeviceMotionEventL = dart.constFn(dart.legacy(html$.DeviceMotionEvent)))(), + EventStreamProviderOfDeviceMotionEventL: () => (T$0.EventStreamProviderOfDeviceMotionEventL = dart.constFn(html$.EventStreamProvider$(T$0.DeviceMotionEventL())))(), + DeviceOrientationEventL: () => (T$0.DeviceOrientationEventL = dart.constFn(dart.legacy(html$.DeviceOrientationEvent)))(), + EventStreamProviderOfDeviceOrientationEventL: () => (T$0.EventStreamProviderOfDeviceOrientationEventL = dart.constFn(html$.EventStreamProvider$(T$0.DeviceOrientationEventL())))(), + AnimationEventL: () => (T$0.AnimationEventL = dart.constFn(dart.legacy(html$.AnimationEvent)))(), + EventStreamProviderOfAnimationEventL: () => (T$0.EventStreamProviderOfAnimationEventL = dart.constFn(html$.EventStreamProvider$(T$0.AnimationEventL())))(), + ListOfNode: () => (T$0.ListOfNode = dart.constFn(core.List$(html$.Node)))(), + _EventStreamOfBeforeUnloadEvent: () => (T$0._EventStreamOfBeforeUnloadEvent = dart.constFn(html$._EventStream$(html$.BeforeUnloadEvent)))(), + StreamControllerOfBeforeUnloadEvent: () => (T$0.StreamControllerOfBeforeUnloadEvent = dart.constFn(async.StreamController$(html$.BeforeUnloadEvent)))(), + BeforeUnloadEventTovoid: () => (T$0.BeforeUnloadEventTovoid = dart.constFn(dart.fnType(dart.void, [html$.BeforeUnloadEvent])))(), + _ElementEventStreamImplOfBeforeUnloadEvent: () => (T$0._ElementEventStreamImplOfBeforeUnloadEvent = dart.constFn(html$._ElementEventStreamImpl$(html$.BeforeUnloadEvent)))(), + _ElementListEventStreamImplOfBeforeUnloadEvent: () => (T$0._ElementListEventStreamImplOfBeforeUnloadEvent = dart.constFn(html$._ElementListEventStreamImpl$(html$.BeforeUnloadEvent)))(), + GamepadN: () => (T$0.GamepadN = dart.constFn(dart.nullable(html$.Gamepad)))(), + ElementTovoid: () => (T$0.ElementTovoid = dart.constFn(dart.fnType(dart.void, [html$.Element])))(), + ListOfCssClassSetImpl: () => (T$0.ListOfCssClassSetImpl = dart.constFn(core.List$(html_common.CssClassSetImpl)))(), + ElementToCssClassSet: () => (T$0.ElementToCssClassSet = dart.constFn(dart.fnType(html$.CssClassSet, [html$.Element])))(), + _IdentityHashSetOfString: () => (T$0._IdentityHashSetOfString = dart.constFn(collection._IdentityHashSet$(core.String)))(), + CssClassSetImplTovoid: () => (T$0.CssClassSetImplTovoid = dart.constFn(dart.fnType(dart.void, [html_common.CssClassSetImpl])))(), + boolAndCssClassSetImplTobool: () => (T$0.boolAndCssClassSetImplTobool = dart.constFn(dart.fnType(core.bool, [core.bool, html_common.CssClassSetImpl])))(), + StringAndStringToString: () => (T$0.StringAndStringToString = dart.constFn(dart.fnType(core.String, [core.String, core.String])))(), + SetOfString: () => (T$0.SetOfString = dart.constFn(core.Set$(core.String)))(), + SetOfStringTobool: () => (T$0.SetOfStringTobool = dart.constFn(dart.fnType(core.bool, [T$0.SetOfString()])))(), + IterableOfString: () => (T$0.IterableOfString = dart.constFn(core.Iterable$(core.String)))(), + SetOfStringTovoid: () => (T$0.SetOfStringTovoid = dart.constFn(dart.fnType(dart.void, [T$0.SetOfString()])))(), + VoidToNString: () => (T$0.VoidToNString = dart.constFn(dart.nullable(T$.VoidToString())))(), + EventTargetN: () => (T$0.EventTargetN = dart.constFn(dart.nullable(html$.EventTarget)))(), + ElementAndStringAndString__Tobool: () => (T$0.ElementAndStringAndString__Tobool = dart.constFn(dart.fnType(core.bool, [html$.Element, core.String, core.String, html$._Html5NodeValidator])))(), + LinkedHashSetOfString: () => (T$0.LinkedHashSetOfString = dart.constFn(collection.LinkedHashSet$(core.String)))(), + IdentityMapOfString$Function: () => (T$0.IdentityMapOfString$Function = dart.constFn(_js_helper.IdentityMap$(core.String, core.Function)))(), + JSArrayOfKeyEvent: () => (T$0.JSArrayOfKeyEvent = dart.constFn(_interceptors.JSArray$(html$.KeyEvent)))(), + KeyEventTobool: () => (T$0.KeyEventTobool = dart.constFn(dart.fnType(core.bool, [html$.KeyEvent])))(), + JSArrayOfNodeValidator: () => (T$0.JSArrayOfNodeValidator = dart.constFn(_interceptors.JSArray$(html$.NodeValidator)))(), + NodeValidatorTobool: () => (T$0.NodeValidatorTobool = dart.constFn(dart.fnType(core.bool, [html$.NodeValidator])))(), + NodeAndNodeToint: () => (T$0.NodeAndNodeToint = dart.constFn(dart.fnType(core.int, [html$.Node, html$.Node])))(), + NodeAndNodeNTovoid: () => (T$0.NodeAndNodeNTovoid = dart.constFn(dart.fnType(dart.void, [html$.Node, T$0.NodeN$1()])))(), + MapNOfString$dynamic: () => (T$0.MapNOfString$dynamic = dart.constFn(dart.nullable(T$0.MapOfString$dynamic())))(), + dynamicToMapNOfString$dynamic: () => (T$0.dynamicToMapNOfString$dynamic = dart.constFn(dart.fnType(T$0.MapNOfString$dynamic(), [dart.dynamic])))(), + TypeN: () => (T$0.TypeN = dart.constFn(dart.nullable(core.Type)))(), + dynamicAnddynamicTodynamic: () => (T$0.dynamicAnddynamicTodynamic = dart.constFn(dart.fnType(dart.dynamic, [dart.dynamic, dart.dynamic])))(), + NodeToElement: () => (T$0.NodeToElement = dart.constFn(dart.fnType(html$.Element, [html$.Node])))(), + CompleterOfAudioBuffer: () => (T$0.CompleterOfAudioBuffer = dart.constFn(async.Completer$(web_audio.AudioBuffer)))(), + AudioBufferTovoid: () => (T$0.AudioBufferTovoid = dart.constFn(dart.fnType(dart.void, [web_audio.AudioBuffer])))(), + AudioProcessingEventL: () => (T$0.AudioProcessingEventL = dart.constFn(dart.legacy(web_audio.AudioProcessingEvent)))(), + EventStreamProviderOfAudioProcessingEventL: () => (T$0.EventStreamProviderOfAudioProcessingEventL = dart.constFn(html$.EventStreamProvider$(T$0.AudioProcessingEventL())))(), + TypedDataN: () => (T$0.TypedDataN = dart.constFn(dart.nullable(typed_data.TypedData)))(), + CompleterOfSqlTransaction: () => (T$0.CompleterOfSqlTransaction = dart.constFn(async.Completer$(web_sql.SqlTransaction)))(), + SqlTransactionTovoid: () => (T$0.SqlTransactionTovoid = dart.constFn(dart.fnType(dart.void, [web_sql.SqlTransaction])))(), + SqlErrorTovoid: () => (T$0.SqlErrorTovoid = dart.constFn(dart.fnType(dart.void, [web_sql.SqlError])))(), + CompleterOfSqlResultSet: () => (T$0.CompleterOfSqlResultSet = dart.constFn(async.Completer$(web_sql.SqlResultSet)))(), + SqlTransactionAndSqlResultSetTovoid: () => (T$0.SqlTransactionAndSqlResultSetTovoid = dart.constFn(dart.fnType(dart.void, [web_sql.SqlTransaction, web_sql.SqlResultSet])))(), + SqlTransactionAndSqlErrorTovoid: () => (T$0.SqlTransactionAndSqlErrorTovoid = dart.constFn(dart.fnType(dart.void, [web_sql.SqlTransaction, web_sql.SqlError])))(), + intAndintToint: () => (T$0.intAndintToint = dart.constFn(dart.fnType(core.int, [core.int, core.int])))(), + StringNToint: () => (T$0.StringNToint = dart.constFn(dart.fnType(core.int, [T$.StringN()])))(), + intToString: () => (T$0.intToString = dart.constFn(dart.fnType(core.String, [core.int])))(), + SymbolAnddynamicTovoid: () => (T$0.SymbolAnddynamicTovoid = dart.constFn(dart.fnType(dart.void, [core.Symbol, dart.dynamic])))(), + MapOfSymbol$ObjectN: () => (T$0.MapOfSymbol$ObjectN = dart.constFn(core.Map$(core.Symbol, T$.ObjectN())))(), + MapOfString$StringAndStringToMapOfString$String: () => (T$0.MapOfString$StringAndStringToMapOfString$String = dart.constFn(dart.fnType(T$0.MapOfString$String(), [T$0.MapOfString$String(), core.String])))(), + StringAndintTovoid: () => (T$0.StringAndintTovoid = dart.constFn(dart.fnType(dart.void, [core.String, core.int])))(), + StringAnddynamicTovoid$1: () => (T$0.StringAnddynamicTovoid$1 = dart.constFn(dart.fnType(dart.void, [core.String], [dart.dynamic])))(), + ListOfStringL: () => (T$0.ListOfStringL = dart.constFn(core.List$(T$.StringL())))(), + ListLOfStringL: () => (T$0.ListLOfStringL = dart.constFn(dart.legacy(T$0.ListOfStringL())))(), + StringAndListOfStringToListOfString: () => (T$0.StringAndListOfStringToListOfString = dart.constFn(dart.fnType(T$.ListOfString(), [core.String, T$.ListOfString()])))(), + MapOfString$ListOfString: () => (T$0.MapOfString$ListOfString = dart.constFn(core.Map$(core.String, T$.ListOfString())))(), + StringAndStringNTovoid: () => (T$0.StringAndStringNTovoid = dart.constFn(dart.fnType(dart.void, [core.String, T$.StringN()])))(), + IdentityMapOfString$ListOfString: () => (T$0.IdentityMapOfString$ListOfString = dart.constFn(_js_helper.IdentityMap$(core.String, T$.ListOfString())))(), + VoidToListOfString: () => (T$0.VoidToListOfString = dart.constFn(dart.fnType(T$.ListOfString(), [])))(), + intAndintAndintTovoid: () => (T$0.intAndintAndintTovoid = dart.constFn(dart.fnType(dart.void, [core.int, core.int, core.int])))(), + _StringSinkConversionSinkOfStringSink: () => (T$0._StringSinkConversionSinkOfStringSink = dart.constFn(convert._StringSinkConversionSink$(core.StringSink)))(), + ListOfUint8List: () => (T$0.ListOfUint8List = dart.constFn(core.List$(typed_data.Uint8List)))(), + intToUint8List: () => (T$0.intToUint8List = dart.constFn(dart.fnType(typed_data.Uint8List, [core.int])))(), + dynamicAnddynamicToUint8List: () => (T$0.dynamicAnddynamicToUint8List = dart.constFn(dart.fnType(typed_data.Uint8List, [dart.dynamic, dart.dynamic])))(), + Uint8ListAndStringAndintTovoid: () => (T$0.Uint8ListAndStringAndintTovoid = dart.constFn(dart.fnType(dart.void, [typed_data.Uint8List, core.String, core.int])))(), + HttpClientResponseCompressionStateL: () => (T$0.HttpClientResponseCompressionStateL = dart.constFn(dart.legacy(_http.HttpClientResponseCompressionState)))(), + StringToint: () => (T$0.StringToint = dart.constFn(dart.fnType(core.int, [core.String])))(), + VoidToNever: () => (T$0.VoidToNever = dart.constFn(dart.fnType(dart.Never, [])))(), + StringAndListOfStringTovoid: () => (T$0.StringAndListOfStringTovoid = dart.constFn(dart.fnType(dart.void, [core.String, T$.ListOfString()])))(), + JSArrayOfCookie: () => (T$0.JSArrayOfCookie = dart.constFn(_interceptors.JSArray$(_http.Cookie)))(), + HashMapOfString$StringN: () => (T$0.HashMapOfString$StringN = dart.constFn(collection.HashMap$(core.String, T$.StringN())))(), + IdentityMapOfString$StringN: () => (T$0.IdentityMapOfString$StringN = dart.constFn(_js_helper.IdentityMap$(core.String, T$.StringN())))(), + UnmodifiableMapViewOfString$StringN: () => (T$0.UnmodifiableMapViewOfString$StringN = dart.constFn(collection.UnmodifiableMapView$(core.String, T$.StringN())))(), + StringNToString: () => (T$0.StringNToString = dart.constFn(dart.fnType(core.String, [T$.StringN()])))(), + JSArrayOfMapOfString$dynamic: () => (T$0.JSArrayOfMapOfString$dynamic = dart.constFn(_interceptors.JSArray$(T$0.MapOfString$dynamic())))(), + _HttpProfileDataTobool: () => (T$0._HttpProfileDataTobool = dart.constFn(dart.fnType(core.bool, [_http._HttpProfileData])))(), + IdentityMapOfint$_HttpProfileData: () => (T$0.IdentityMapOfint$_HttpProfileData = dart.constFn(_js_helper.IdentityMap$(core.int, _http._HttpProfileData)))(), + JSArrayOf_HttpProfileEvent: () => (T$0.JSArrayOf_HttpProfileEvent = dart.constFn(_interceptors.JSArray$(_http._HttpProfileEvent)))(), + VoidToListOfMapOfString$dynamic: () => (T$0.VoidToListOfMapOfString$dynamic = dart.constFn(dart.fnType(T$0.ListOfMapOfString$dynamic(), [])))(), + dynamicToNever: () => (T$0.dynamicToNever = dart.constFn(dart.fnType(dart.Never, [dart.dynamic])))(), + CookieTobool: () => (T$0.CookieTobool = dart.constFn(dart.fnType(core.bool, [_http.Cookie])))(), + CookieToString: () => (T$0.CookieToString = dart.constFn(dart.fnType(core.String, [_http.Cookie])))(), + FutureOfHttpClientResponse: () => (T$0.FutureOfHttpClientResponse = dart.constFn(async.Future$(_http.HttpClientResponse)))(), + _HttpClientRequestToFutureOfHttpClientResponse: () => (T$0._HttpClientRequestToFutureOfHttpClientResponse = dart.constFn(dart.fnType(T$0.FutureOfHttpClientResponse(), [_http._HttpClientRequest])))(), + _EmptyStreamOfUint8List: () => (T$0._EmptyStreamOfUint8List = dart.constFn(async._EmptyStream$(typed_data.Uint8List)))(), + Uint8ListToUint8List: () => (T$0.Uint8ListToUint8List = dart.constFn(dart.fnType(typed_data.Uint8List, [typed_data.Uint8List])))(), + dynamicToFutureOfHttpClientResponse: () => (T$0.dynamicToFutureOfHttpClientResponse = dart.constFn(dart.fnType(T$0.FutureOfHttpClientResponse(), [dart.dynamic])))(), + VoidToFutureOfHttpClientResponse: () => (T$0.VoidToFutureOfHttpClientResponse = dart.constFn(dart.fnType(T$0.FutureOfHttpClientResponse(), [])))(), + VoidToListNOfString: () => (T$0.VoidToListNOfString = dart.constFn(dart.fnType(T$.ListNOfString(), [])))(), + _CredentialsN: () => (T$0._CredentialsN = dart.constFn(dart.nullable(_http._Credentials)))(), + _AuthenticationSchemeTo_CredentialsN: () => (T$0._AuthenticationSchemeTo_CredentialsN = dart.constFn(dart.fnType(T$0._CredentialsN(), [_http._AuthenticationScheme])))(), + _CredentialsTovoid: () => (T$0._CredentialsTovoid = dart.constFn(dart.fnType(dart.void, [_http._Credentials])))(), + _AuthenticationSchemeAndStringNToFutureOfbool: () => (T$0._AuthenticationSchemeAndStringNToFutureOfbool = dart.constFn(dart.fnType(T$.FutureOfbool(), [_http._AuthenticationScheme, T$.StringN()])))(), + FutureOrOfHttpClientResponse: () => (T$0.FutureOrOfHttpClientResponse = dart.constFn(async.FutureOr$(_http.HttpClientResponse)))(), + boolToFutureOrOfHttpClientResponse: () => (T$0.boolToFutureOrOfHttpClientResponse = dart.constFn(dart.fnType(T$0.FutureOrOfHttpClientResponse(), [core.bool])))(), + SinkOfUint8List: () => (T$0.SinkOfUint8List = dart.constFn(core.Sink$(typed_data.Uint8List)))(), + CompleterOfvoid: () => (T$0.CompleterOfvoid = dart.constFn(async.Completer$(dart.void)))(), + EncodingN: () => (T$0.EncodingN = dart.constFn(dart.nullable(convert.Encoding)))(), + ListOfintToListOfint: () => (T$0.ListOfintToListOfint = dart.constFn(dart.fnType(T$0.ListOfint(), [T$0.ListOfint()])))(), + CookieTovoid: () => (T$0.CookieTovoid = dart.constFn(dart.fnType(dart.void, [_http.Cookie])))(), + CompleterOfHttpClientResponse: () => (T$0.CompleterOfHttpClientResponse = dart.constFn(async.Completer$(_http.HttpClientResponse)))(), + JSArrayOfRedirectInfo: () => (T$0.JSArrayOfRedirectInfo = dart.constFn(_interceptors.JSArray$(_http.RedirectInfo)))(), + HttpClientResponseToNull: () => (T$0.HttpClientResponseToNull = dart.constFn(dart.fnType(core.Null, [_http.HttpClientResponse])))(), + JSArrayOfFuture: () => (T$0.JSArrayOfFuture = dart.constFn(_interceptors.JSArray$(async.Future)))(), + ListToFutureOrOfHttpClientResponse: () => (T$0.ListToFutureOrOfHttpClientResponse = dart.constFn(dart.fnType(T$0.FutureOrOfHttpClientResponse(), [core.List])))(), + CompleterOfSocket: () => (T$0.CompleterOfSocket = dart.constFn(async.Completer$(io.Socket)))(), + StringToListOfString: () => (T$0.StringToListOfString = dart.constFn(dart.fnType(T$.ListOfString(), [core.String])))(), + voidTovoid: () => (T$0.voidTovoid = dart.constFn(dart.fnType(dart.void, [dart.void])))(), + voidToFuture: () => (T$0.voidToFuture = dart.constFn(dart.fnType(async.Future, [dart.void])))(), + StreamControllerOfListOfint: () => (T$0.StreamControllerOfListOfint = dart.constFn(async.StreamController$(T$0.ListOfint())))(), + _HttpOutboundMessageN: () => (T$0._HttpOutboundMessageN = dart.constFn(dart.nullable(_http._HttpOutboundMessage)))(), + dynamicTo_HttpOutboundMessageN: () => (T$0.dynamicTo_HttpOutboundMessageN = dart.constFn(dart.fnType(T$0._HttpOutboundMessageN(), [dart.dynamic])))(), + dynamicAnddynamicTo_HttpOutboundMessageN: () => (T$0.dynamicAnddynamicTo_HttpOutboundMessageN = dart.constFn(dart.fnType(T$0._HttpOutboundMessageN(), [dart.dynamic, dart.dynamic])))(), + dynamicTo_HttpOutboundMessage: () => (T$0.dynamicTo_HttpOutboundMessage = dart.constFn(dart.fnType(_http._HttpOutboundMessage, [dart.dynamic])))() +}; +var T = { + dynamicAnddynamicTo_HttpOutboundMessage: () => (T.dynamicAnddynamicTo_HttpOutboundMessage = dart.constFn(dart.fnType(_http._HttpOutboundMessage, [dart.dynamic, dart.dynamic])))(), + dynamicAndStackTraceToNull: () => (T.dynamicAndStackTraceToNull = dart.constFn(dart.fnType(core.Null, [dart.dynamic, core.StackTrace])))(), + _HttpIncomingTovoid: () => (T._HttpIncomingTovoid = dart.constFn(dart.fnType(dart.void, [_http._HttpIncoming])))(), + CompleterOf_HttpIncoming: () => (T.CompleterOf_HttpIncoming = dart.constFn(async.Completer$(_http._HttpIncoming)))(), + _HttpIncomingToNull: () => (T._HttpIncomingToNull = dart.constFn(dart.fnType(core.Null, [_http._HttpIncoming])))(), + SocketToSocket: () => (T.SocketToSocket = dart.constFn(dart.fnType(io.Socket, [io.Socket])))(), + SocketN: () => (T.SocketN = dart.constFn(dart.nullable(io.Socket)))(), + FutureOfSocketN: () => (T.FutureOfSocketN = dart.constFn(async.Future$(T.SocketN())))(), + SocketTo_DetachedSocket: () => (T.SocketTo_DetachedSocket = dart.constFn(dart.fnType(_http._DetachedSocket, [io.Socket])))(), + SocketTovoid: () => (T.SocketTovoid = dart.constFn(dart.fnType(dart.void, [io.Socket])))(), + FutureOfSecureSocket: () => (T.FutureOfSecureSocket = dart.constFn(async.Future$(io.SecureSocket)))(), + HttpClientResponseToFutureOfSecureSocket: () => (T.HttpClientResponseToFutureOfSecureSocket = dart.constFn(dart.fnType(T.FutureOfSecureSocket(), [_http.HttpClientResponse])))(), + SecureSocketTo_HttpClientConnection: () => (T.SecureSocketTo_HttpClientConnection = dart.constFn(dart.fnType(_http._HttpClientConnection, [io.SecureSocket])))(), + _HashSetOf_HttpClientConnection: () => (T._HashSetOf_HttpClientConnection = dart.constFn(collection._HashSet$(_http._HttpClientConnection)))(), + _HashSetOfConnectionTask: () => (T._HashSetOfConnectionTask = dart.constFn(collection._HashSet$(io.ConnectionTask)))(), + FutureOf_ConnectionInfo: () => (T.FutureOf_ConnectionInfo = dart.constFn(async.Future$(_http._ConnectionInfo)))(), + CompleterOf_ConnectionInfo: () => (T.CompleterOf_ConnectionInfo = dart.constFn(async.Completer$(_http._ConnectionInfo)))(), + X509CertificateTobool: () => (T.X509CertificateTobool = dart.constFn(dart.fnType(core.bool, [io.X509Certificate])))(), + _HttpClientConnectionTo_ConnectionInfo: () => (T._HttpClientConnectionTo_ConnectionInfo = dart.constFn(dart.fnType(_http._ConnectionInfo, [_http._HttpClientConnection])))(), + FutureOrOf_ConnectionInfo: () => (T.FutureOrOf_ConnectionInfo = dart.constFn(async.FutureOr$(_http._ConnectionInfo)))(), + dynamicToFutureOrOf_ConnectionInfo: () => (T.dynamicToFutureOrOf_ConnectionInfo = dart.constFn(dart.fnType(T.FutureOrOf_ConnectionInfo(), [dart.dynamic])))(), + ConnectionTaskToFutureOf_ConnectionInfo: () => (T.ConnectionTaskToFutureOf_ConnectionInfo = dart.constFn(dart.fnType(T.FutureOf_ConnectionInfo(), [io.ConnectionTask])))(), + IdentityMapOfString$_ConnectionTarget: () => (T.IdentityMapOfString$_ConnectionTarget = dart.constFn(_js_helper.IdentityMap$(core.String, _http._ConnectionTarget)))(), + JSArrayOf_Credentials: () => (T.JSArrayOf_Credentials = dart.constFn(_interceptors.JSArray$(_http._Credentials)))(), + JSArrayOf_ProxyCredentials: () => (T.JSArrayOf_ProxyCredentials = dart.constFn(_interceptors.JSArray$(_http._ProxyCredentials)))(), + MapNOfString$String: () => (T.MapNOfString$String = dart.constFn(dart.nullable(T$0.MapOfString$String())))(), + Uri__ToString: () => (T.Uri__ToString = dart.constFn(dart.fnType(core.String, [core.Uri], {environment: T.MapNOfString$String()}, {})))(), + _ConnectionTargetTobool: () => (T._ConnectionTargetTobool = dart.constFn(dart.fnType(core.bool, [_http._ConnectionTarget])))(), + _ProxyL: () => (T._ProxyL = dart.constFn(dart.legacy(_http._Proxy)))(), + FutureOf_HttpClientRequest: () => (T.FutureOf_HttpClientRequest = dart.constFn(async.Future$(_http._HttpClientRequest)))(), + _ConnectionInfoTo_HttpClientRequest: () => (T._ConnectionInfoTo_HttpClientRequest = dart.constFn(dart.fnType(_http._HttpClientRequest, [_http._ConnectionInfo])))(), + FutureOrOf_HttpClientRequest: () => (T.FutureOrOf_HttpClientRequest = dart.constFn(async.FutureOr$(_http._HttpClientRequest)))(), + _ConnectionInfoToFutureOrOf_HttpClientRequest: () => (T._ConnectionInfoToFutureOrOf_HttpClientRequest = dart.constFn(dart.fnType(T.FutureOrOf_HttpClientRequest(), [_http._ConnectionInfo])))(), + _HttpClientRequestTo_HttpClientRequest: () => (T._HttpClientRequestTo_HttpClientRequest = dart.constFn(dart.fnType(_http._HttpClientRequest, [_http._HttpClientRequest])))(), + VoidTo_ConnectionTarget: () => (T.VoidTo_ConnectionTarget = dart.constFn(dart.fnType(_http._ConnectionTarget, [])))(), + dynamicToFutureOf_ConnectionInfo: () => (T.dynamicToFutureOf_ConnectionInfo = dart.constFn(dart.fnType(T.FutureOf_ConnectionInfo(), [dart.dynamic])))(), + _SiteCredentialsN: () => (T._SiteCredentialsN = dart.constFn(dart.nullable(_http._SiteCredentials)))(), + _SiteCredentialsNAnd_CredentialsTo_SiteCredentialsN: () => (T._SiteCredentialsNAnd_CredentialsTo_SiteCredentialsN = dart.constFn(dart.fnType(T._SiteCredentialsN(), [T._SiteCredentialsN(), _http._Credentials])))(), + StringNToStringN: () => (T.StringNToStringN = dart.constFn(dart.fnType(T$.StringN(), [T$.StringN()])))(), + StreamOfUint8List: () => (T.StreamOfUint8List = dart.constFn(async.Stream$(typed_data.Uint8List)))(), + SocketToNull: () => (T.SocketToNull = dart.constFn(dart.fnType(core.Null, [io.Socket])))(), + dynamicTo_DetachedSocket: () => (T.dynamicTo_DetachedSocket = dart.constFn(dart.fnType(_http._DetachedSocket, [dart.dynamic])))(), + IdentityMapOfint$_HttpConnection: () => (T.IdentityMapOfint$_HttpConnection = dart.constFn(_js_helper.IdentityMap$(core.int, _http._HttpConnection)))(), + LinkedListOf_HttpConnection: () => (T.LinkedListOf_HttpConnection = dart.constFn(collection.LinkedList$(_http._HttpConnection)))(), + StreamControllerOfHttpRequest: () => (T.StreamControllerOfHttpRequest = dart.constFn(async.StreamController$(_http.HttpRequest)))(), + ServerSocketTo_HttpServer: () => (T.ServerSocketTo_HttpServer = dart.constFn(dart.fnType(_http._HttpServer, [io.ServerSocket])))(), + SecureServerSocketTo_HttpServer: () => (T.SecureServerSocketTo_HttpServer = dart.constFn(dart.fnType(_http._HttpServer, [io.SecureServerSocket])))(), + _HttpConnectionTovoid: () => (T._HttpConnectionTovoid = dart.constFn(dart.fnType(dart.void, [_http._HttpConnection])))(), + _HttpConnectionToMap: () => (T._HttpConnectionToMap = dart.constFn(dart.fnType(core.Map, [_http._HttpConnection])))(), + LinkedMapOfint$_HttpServer: () => (T.LinkedMapOfint$_HttpServer = dart.constFn(_js_helper.LinkedMap$(core.int, _http._HttpServer)))(), + JSArrayOf_Proxy: () => (T.JSArrayOf_Proxy = dart.constFn(_interceptors.JSArray$(_http._Proxy)))(), + StreamControllerOf_HttpIncoming: () => (T.StreamControllerOf_HttpIncoming = dart.constFn(async.StreamController$(_http._HttpIncoming)))(), + IterableOfMapEntry: () => (T.IterableOfMapEntry = dart.constFn(core.Iterable$(core.MapEntry)))(), + VoidToNdynamic: () => (T.VoidToNdynamic = dart.constFn(dart.nullable(T$.VoidTodynamic())))(), + IdentityMapOfString$_HttpSession: () => (T.IdentityMapOfString$_HttpSession = dart.constFn(_js_helper.IdentityMap$(core.String, _http._HttpSession)))(), + HttpOverridesN: () => (T.HttpOverridesN = dart.constFn(dart.nullable(_http.HttpOverrides)))(), + EventSinkTo_WebSocketProtocolTransformer: () => (T.EventSinkTo_WebSocketProtocolTransformer = dart.constFn(dart.fnType(_http._WebSocketProtocolTransformer, [async.EventSink])))(), + StreamControllerOfWebSocket: () => (T.StreamControllerOfWebSocket = dart.constFn(async.StreamController$(_http.WebSocket)))(), + StreamOfHttpRequest: () => (T.StreamOfHttpRequest = dart.constFn(async.Stream$(_http.HttpRequest)))(), + WebSocketTovoid: () => (T.WebSocketTovoid = dart.constFn(dart.fnType(dart.void, [_http.WebSocket])))(), + HttpRequestTovoid: () => (T.HttpRequestTovoid = dart.constFn(dart.fnType(dart.void, [_http.HttpRequest])))(), + FutureOfWebSocket: () => (T.FutureOfWebSocket = dart.constFn(async.Future$(_http.WebSocket)))(), + SocketTo_WebSocketImpl: () => (T.SocketTo_WebSocketImpl = dart.constFn(dart.fnType(_http._WebSocketImpl, [io.Socket])))(), + StringNToFutureOfWebSocket: () => (T.StringNToFutureOfWebSocket = dart.constFn(dart.fnType(T.FutureOfWebSocket(), [T$.StringN()])))(), + VoidToFutureOrOfString: () => (T.VoidToFutureOrOfString = dart.constFn(dart.fnType(T$0.FutureOrOfString(), [])))(), + EventSinkOfListOfint: () => (T.EventSinkOfListOfint = dart.constFn(async.EventSink$(T$0.ListOfint())))(), + EventSinkOfListOfintTo_WebSocketOutgoingTransformer: () => (T.EventSinkOfListOfintTo_WebSocketOutgoingTransformer = dart.constFn(dart.fnType(_http._WebSocketOutgoingTransformer, [T.EventSinkOfListOfint()])))(), + CompleterOfWebSocket: () => (T.CompleterOfWebSocket = dart.constFn(async.Completer$(_http.WebSocket)))(), + dynamicTo_WebSocketImpl: () => (T.dynamicTo_WebSocketImpl = dart.constFn(dart.fnType(_http._WebSocketImpl, [dart.dynamic])))(), + HttpClientRequestToFutureOfHttpClientResponse: () => (T.HttpClientRequestToFutureOfHttpClientResponse = dart.constFn(dart.fnType(T$0.FutureOfHttpClientResponse(), [_http.HttpClientRequest])))(), + StringToNever: () => (T.StringToNever = dart.constFn(dart.fnType(dart.Never, [core.String])))(), + HttpClientResponseToFutureOfWebSocket: () => (T.HttpClientResponseToFutureOfWebSocket = dart.constFn(dart.fnType(T.FutureOfWebSocket(), [_http.HttpClientResponse])))(), + dynamicToMap: () => (T.dynamicToMap = dart.constFn(dart.fnType(core.Map, [dart.dynamic])))(), + LinkedMapOfint$_WebSocketImpl: () => (T.LinkedMapOfint$_WebSocketImpl = dart.constFn(_js_helper.LinkedMap$(core.int, _http._WebSocketImpl)))() +}; +var S = { + _delete$1: dart.privateName(indexed_db, "_delete"), + $delete: dartx.delete = Symbol("dartx.delete"), + _update: dart.privateName(indexed_db, "_update"), + $next: dartx.next = Symbol("dartx.next"), + $direction: dartx.direction = Symbol("dartx.direction"), + $key: dartx.key = Symbol("dartx.key"), + $primaryKey: dartx.primaryKey = Symbol("dartx.primaryKey"), + $source: dartx.source = Symbol("dartx.source"), + $advance: dartx.advance = Symbol("dartx.advance"), + $continuePrimaryKey: dartx.continuePrimaryKey = Symbol("dartx.continuePrimaryKey"), + _update_1: dart.privateName(indexed_db, "_update_1"), + _get_value: dart.privateName(indexed_db, "_get_value"), + $value: dartx.value = Symbol("dartx.value"), + _createObjectStore: dart.privateName(indexed_db, "_createObjectStore"), + $createObjectStore: dartx.createObjectStore = Symbol("dartx.createObjectStore"), + _transaction: dart.privateName(indexed_db, "_transaction"), + $transaction: dartx.transaction = Symbol("dartx.transaction"), + $transactionStore: dartx.transactionStore = Symbol("dartx.transactionStore"), + $transactionList: dartx.transactionList = Symbol("dartx.transactionList"), + $transactionStores: dartx.transactionStores = Symbol("dartx.transactionStores"), + $objectStoreNames: dartx.objectStoreNames = Symbol("dartx.objectStoreNames"), + $version: dartx.version = Symbol("dartx.version"), + $close: dartx.close = Symbol("dartx.close"), + _createObjectStore_1: dart.privateName(indexed_db, "_createObjectStore_1"), + _createObjectStore_2: dart.privateName(indexed_db, "_createObjectStore_2"), + $deleteObjectStore: dartx.deleteObjectStore = Symbol("dartx.deleteObjectStore"), + $onAbort: dartx.onAbort = Symbol("dartx.onAbort"), + $onClose: dartx.onClose = Symbol("dartx.onClose"), + $onError: dartx.onError = Symbol("dartx.onError"), + $onVersionChange: dartx.onVersionChange = Symbol("dartx.onVersionChange"), + $on: dartx.on = Symbol("dartx.on"), + _addEventListener: dart.privateName(html$, "_addEventListener"), + $addEventListener: dartx.addEventListener = Symbol("dartx.addEventListener"), + _removeEventListener: dart.privateName(html$, "_removeEventListener"), + $removeEventListener: dartx.removeEventListener = Symbol("dartx.removeEventListener"), + $dispatchEvent: dartx.dispatchEvent = Symbol("dartx.dispatchEvent"), + EventStreamProvider__eventType: dart.privateName(html$, "EventStreamProvider._eventType"), + _open: dart.privateName(indexed_db, "_open"), + $onUpgradeNeeded: dartx.onUpgradeNeeded = Symbol("dartx.onUpgradeNeeded"), + $onBlocked: dartx.onBlocked = Symbol("dartx.onBlocked"), + $open: dartx.open = Symbol("dartx.open"), + _deleteDatabase: dart.privateName(indexed_db, "_deleteDatabase"), + $onSuccess: dartx.onSuccess = Symbol("dartx.onSuccess"), + $deleteDatabase: dartx.deleteDatabase = Symbol("dartx.deleteDatabase"), + $supportsDatabaseNames: dartx.supportsDatabaseNames = Symbol("dartx.supportsDatabaseNames"), + $cmp: dartx.cmp = Symbol("dartx.cmp"), + _count$2: dart.privateName(indexed_db, "_count"), + $count: dartx.count = Symbol("dartx.count"), + _get: dart.privateName(indexed_db, "_get"), + $get: dartx.get = Symbol("dartx.get"), + _getKey: dart.privateName(indexed_db, "_getKey"), + $getKey: dartx.getKey = Symbol("dartx.getKey"), + _openCursor: dart.privateName(indexed_db, "_openCursor"), + $openCursor: dartx.openCursor = Symbol("dartx.openCursor"), + _openKeyCursor: dart.privateName(indexed_db, "_openKeyCursor"), + $openKeyCursor: dartx.openKeyCursor = Symbol("dartx.openKeyCursor"), + $keyPath: dartx.keyPath = Symbol("dartx.keyPath"), + $multiEntry: dartx.multiEntry = Symbol("dartx.multiEntry"), + $objectStore: dartx.objectStore = Symbol("dartx.objectStore"), + $unique: dartx.unique = Symbol("dartx.unique"), + $getAll: dartx.getAll = Symbol("dartx.getAll"), + $getAllKeys: dartx.getAllKeys = Symbol("dartx.getAllKeys"), + $lower: dartx.lower = Symbol("dartx.lower"), + $lowerOpen: dartx.lowerOpen = Symbol("dartx.lowerOpen"), + $upper: dartx.upper = Symbol("dartx.upper"), + $upperOpen: dartx.upperOpen = Symbol("dartx.upperOpen"), + $includes: dartx.includes = Symbol("dartx.includes"), + _add$3: dart.privateName(indexed_db, "_add"), + _clear$2: dart.privateName(indexed_db, "_clear"), + _put: dart.privateName(indexed_db, "_put"), + $put: dartx.put = Symbol("dartx.put"), + $getObject: dartx.getObject = Symbol("dartx.getObject"), + _createIndex: dart.privateName(indexed_db, "_createIndex"), + $createIndex: dartx.createIndex = Symbol("dartx.createIndex"), + $autoIncrement: dartx.autoIncrement = Symbol("dartx.autoIncrement"), + $indexNames: dartx.indexNames = Symbol("dartx.indexNames"), + _add_1: dart.privateName(indexed_db, "_add_1"), + _add_2: dart.privateName(indexed_db, "_add_2"), + _createIndex_1: dart.privateName(indexed_db, "_createIndex_1"), + _createIndex_2: dart.privateName(indexed_db, "_createIndex_2"), + $deleteIndex: dartx.deleteIndex = Symbol("dartx.deleteIndex"), + $index: dartx.index = Symbol("dartx.index"), + _put_1: dart.privateName(indexed_db, "_put_1"), + _put_2: dart.privateName(indexed_db, "_put_2"), + $result: dartx.result = Symbol("dartx.result"), + $type: dartx.type = Symbol("dartx.type"), + _observe_1: dart.privateName(indexed_db, "_observe_1"), + $observe: dartx.observe = Symbol("dartx.observe"), + $unobserve: dartx.unobserve = Symbol("dartx.unobserve"), + $database: dartx.database = Symbol("dartx.database"), + $records: dartx.records = Symbol("dartx.records"), + $error: dartx.error = Symbol("dartx.error"), + $readyState: dartx.readyState = Symbol("dartx.readyState"), + _get_result: dart.privateName(indexed_db, "_get_result"), + $onComplete: dartx.onComplete = Symbol("dartx.onComplete"), + $completed: dartx.completed = Symbol("dartx.completed"), + $db: dartx.db = Symbol("dartx.db"), + $mode: dartx.mode = Symbol("dartx.mode"), + $abort: dartx.abort = Symbol("dartx.abort"), + $dataLoss: dartx.dataLoss = Symbol("dartx.dataLoss"), + $dataLossMessage: dartx.dataLossMessage = Symbol("dartx.dataLossMessage"), + $newVersion: dartx.newVersion = Symbol("dartx.newVersion"), + $oldVersion: dartx.oldVersion = Symbol("dartx.oldVersion"), + $target: dartx.target = Symbol("dartx.target"), + _createEvent: dart.privateName(html$, "_createEvent"), + _initEvent: dart.privateName(html$, "_initEvent"), + _selector: dart.privateName(html$, "_selector"), + $currentTarget: dartx.currentTarget = Symbol("dartx.currentTarget"), + $matches: dartx.matches = Symbol("dartx.matches"), + $parent: dartx.parent = Symbol("dartx.parent"), + $matchingTarget: dartx.matchingTarget = Symbol("dartx.matchingTarget"), + $path: dartx.path = Symbol("dartx.path"), + $bubbles: dartx.bubbles = Symbol("dartx.bubbles"), + $cancelable: dartx.cancelable = Symbol("dartx.cancelable"), + $composed: dartx.composed = Symbol("dartx.composed"), + _get_currentTarget: dart.privateName(html$, "_get_currentTarget"), + $defaultPrevented: dartx.defaultPrevented = Symbol("dartx.defaultPrevented"), + $eventPhase: dartx.eventPhase = Symbol("dartx.eventPhase"), + $isTrusted: dartx.isTrusted = Symbol("dartx.isTrusted"), + _get_target: dart.privateName(html$, "_get_target"), + $timeStamp: dartx.timeStamp = Symbol("dartx.timeStamp"), + $composedPath: dartx.composedPath = Symbol("dartx.composedPath"), + $preventDefault: dartx.preventDefault = Symbol("dartx.preventDefault"), + $stopImmediatePropagation: dartx.stopImmediatePropagation = Symbol("dartx.stopImmediatePropagation"), + $stopPropagation: dartx.stopPropagation = Symbol("dartx.stopPropagation"), + $nonce: dartx.nonce = Symbol("dartx.nonce"), + $createFragment: dartx.createFragment = Symbol("dartx.createFragment"), + $nodes: dartx.nodes = Symbol("dartx.nodes"), + $attributes: dartx.attributes = Symbol("dartx.attributes"), + _getAttribute: dart.privateName(html$, "_getAttribute"), + $getAttribute: dartx.getAttribute = Symbol("dartx.getAttribute"), + _getAttributeNS: dart.privateName(html$, "_getAttributeNS"), + $getAttributeNS: dartx.getAttributeNS = Symbol("dartx.getAttributeNS"), + _hasAttribute: dart.privateName(html$, "_hasAttribute"), + $hasAttribute: dartx.hasAttribute = Symbol("dartx.hasAttribute"), + _hasAttributeNS: dart.privateName(html$, "_hasAttributeNS"), + $hasAttributeNS: dartx.hasAttributeNS = Symbol("dartx.hasAttributeNS"), + _removeAttribute: dart.privateName(html$, "_removeAttribute"), + $removeAttribute: dartx.removeAttribute = Symbol("dartx.removeAttribute"), + _removeAttributeNS: dart.privateName(html$, "_removeAttributeNS"), + $removeAttributeNS: dartx.removeAttributeNS = Symbol("dartx.removeAttributeNS"), + _setAttribute: dart.privateName(html$, "_setAttribute"), + $setAttribute: dartx.setAttribute = Symbol("dartx.setAttribute"), + _setAttributeNS: dart.privateName(html$, "_setAttributeNS"), + $setAttributeNS: dartx.setAttributeNS = Symbol("dartx.setAttributeNS"), + $children: dartx.children = Symbol("dartx.children"), + _children: dart.privateName(html$, "_children"), + _querySelectorAll: dart.privateName(html$, "_querySelectorAll"), + $querySelectorAll: dartx.querySelectorAll = Symbol("dartx.querySelectorAll"), + _setApplyScroll: dart.privateName(html$, "_setApplyScroll"), + $setApplyScroll: dartx.setApplyScroll = Symbol("dartx.setApplyScroll"), + _setDistributeScroll: dart.privateName(html$, "_setDistributeScroll"), + $setDistributeScroll: dartx.setDistributeScroll = Symbol("dartx.setDistributeScroll"), + $classes: dartx.classes = Symbol("dartx.classes"), + $dataset: dartx.dataset = Symbol("dartx.dataset"), + $getNamespacedAttributes: dartx.getNamespacedAttributes = Symbol("dartx.getNamespacedAttributes"), + _getComputedStyle: dart.privateName(html$, "_getComputedStyle"), + $getComputedStyle: dartx.getComputedStyle = Symbol("dartx.getComputedStyle"), + $client: dartx.client = Symbol("dartx.client"), + $offsetLeft: dartx.offsetLeft = Symbol("dartx.offsetLeft"), + $offsetTop: dartx.offsetTop = Symbol("dartx.offsetTop"), + $offsetWidth: dartx.offsetWidth = Symbol("dartx.offsetWidth"), + $offsetHeight: dartx.offsetHeight = Symbol("dartx.offsetHeight"), + $offset: dartx.offset = Symbol("dartx.offset"), + $append: dartx.append = Symbol("dartx.append"), + $appendText: dartx.appendText = Symbol("dartx.appendText"), + $insertAdjacentHtml: dartx.insertAdjacentHtml = Symbol("dartx.insertAdjacentHtml"), + $appendHtml: dartx.appendHtml = Symbol("dartx.appendHtml"), + $enteredView: dartx.enteredView = Symbol("dartx.enteredView"), + $attached: dartx.attached = Symbol("dartx.attached"), + $leftView: dartx.leftView = Symbol("dartx.leftView"), + $detached: dartx.detached = Symbol("dartx.detached"), + _getClientRects: dart.privateName(html$, "_getClientRects"), + $getClientRects: dartx.getClientRects = Symbol("dartx.getClientRects"), + _animate: dart.privateName(html$, "_animate"), + $animate: dartx.animate = Symbol("dartx.animate"), + $attributeChanged: dartx.attributeChanged = Symbol("dartx.attributeChanged"), + _localName: dart.privateName(html$, "_localName"), + $localName: dartx.localName = Symbol("dartx.localName"), + _namespaceUri: dart.privateName(html$, "_namespaceUri"), + $namespaceUri: dartx.namespaceUri = Symbol("dartx.namespaceUri"), + _scrollIntoView: dart.privateName(html$, "_scrollIntoView"), + _scrollIntoViewIfNeeded: dart.privateName(html$, "_scrollIntoViewIfNeeded"), + $scrollIntoView: dartx.scrollIntoView = Symbol("dartx.scrollIntoView"), + _insertAdjacentText: dart.privateName(html$, "_insertAdjacentText"), + _insertAdjacentNode: dart.privateName(html$, "_insertAdjacentNode"), + $insertAdjacentText: dartx.insertAdjacentText = Symbol("dartx.insertAdjacentText"), + _insertAdjacentHtml: dart.privateName(html$, "_insertAdjacentHtml"), + _insertAdjacentElement: dart.privateName(html$, "_insertAdjacentElement"), + $insertAdjacentElement: dartx.insertAdjacentElement = Symbol("dartx.insertAdjacentElement"), + $nextNode: dartx.nextNode = Symbol("dartx.nextNode"), + $matchesWithAncestors: dartx.matchesWithAncestors = Symbol("dartx.matchesWithAncestors"), + $createShadowRoot: dartx.createShadowRoot = Symbol("dartx.createShadowRoot"), + $shadowRoot: dartx.shadowRoot = Symbol("dartx.shadowRoot"), + $contentEdge: dartx.contentEdge = Symbol("dartx.contentEdge"), + $paddingEdge: dartx.paddingEdge = Symbol("dartx.paddingEdge"), + $borderEdge: dartx.borderEdge = Symbol("dartx.borderEdge"), + $marginEdge: dartx.marginEdge = Symbol("dartx.marginEdge"), + $offsetTo: dartx.offsetTo = Symbol("dartx.offsetTo"), + $documentOffset: dartx.documentOffset = Symbol("dartx.documentOffset"), + $createHtmlDocument: dartx.createHtmlDocument = Symbol("dartx.createHtmlDocument"), + $createElement: dartx.createElement = Symbol("dartx.createElement"), + $baseUri: dartx.baseUri = Symbol("dartx.baseUri"), + $head: dartx.head = Symbol("dartx.head"), + _canBeUsedToCreateContextualFragment: dart.privateName(html$, "_canBeUsedToCreateContextualFragment"), + _innerHtml: dart.privateName(html$, "_innerHtml"), + _cannotBeUsedToCreateContextualFragment: dart.privateName(html$, "_cannotBeUsedToCreateContextualFragment"), + $setInnerHtml: dartx.setInnerHtml = Symbol("dartx.setInnerHtml"), + $innerHtml: dartx.innerHtml = Symbol("dartx.innerHtml"), + $text: dartx.text = Symbol("dartx.text"), + $innerText: dartx.innerText = Symbol("dartx.innerText"), + $offsetParent: dartx.offsetParent = Symbol("dartx.offsetParent"), + $scrollHeight: dartx.scrollHeight = Symbol("dartx.scrollHeight"), + $scrollLeft: dartx.scrollLeft = Symbol("dartx.scrollLeft"), + $scrollTop: dartx.scrollTop = Symbol("dartx.scrollTop"), + $scrollWidth: dartx.scrollWidth = Symbol("dartx.scrollWidth"), + $contentEditable: dartx.contentEditable = Symbol("dartx.contentEditable"), + $dir: dartx.dir = Symbol("dartx.dir"), + $draggable: dartx.draggable = Symbol("dartx.draggable"), + $hidden: dartx.hidden = Symbol("dartx.hidden"), + $inert: dartx.inert = Symbol("dartx.inert"), + $inputMode: dartx.inputMode = Symbol("dartx.inputMode"), + $isContentEditable: dartx.isContentEditable = Symbol("dartx.isContentEditable"), + $lang: dartx.lang = Symbol("dartx.lang"), + $spellcheck: dartx.spellcheck = Symbol("dartx.spellcheck"), + $style: dartx.style = Symbol("dartx.style"), + $tabIndex: dartx.tabIndex = Symbol("dartx.tabIndex"), + $title: dartx.title = Symbol("dartx.title"), + $translate: dartx.translate = Symbol("dartx.translate"), + $blur: dartx.blur = Symbol("dartx.blur"), + $click: dartx.click = Symbol("dartx.click"), + $focus: dartx.focus = Symbol("dartx.focus"), + $accessibleNode: dartx.accessibleNode = Symbol("dartx.accessibleNode"), + $assignedSlot: dartx.assignedSlot = Symbol("dartx.assignedSlot"), + _attributes$1: dart.privateName(html$, "_attributes"), + $className: dartx.className = Symbol("dartx.className"), + $clientHeight: dartx.clientHeight = Symbol("dartx.clientHeight"), + $clientLeft: dartx.clientLeft = Symbol("dartx.clientLeft"), + $clientTop: dartx.clientTop = Symbol("dartx.clientTop"), + $clientWidth: dartx.clientWidth = Symbol("dartx.clientWidth"), + $computedName: dartx.computedName = Symbol("dartx.computedName"), + $computedRole: dartx.computedRole = Symbol("dartx.computedRole"), + $id: dartx.id = Symbol("dartx.id"), + $outerHtml: dartx.outerHtml = Symbol("dartx.outerHtml"), + _scrollHeight: dart.privateName(html$, "_scrollHeight"), + _scrollLeft: dart.privateName(html$, "_scrollLeft"), + _scrollTop: dart.privateName(html$, "_scrollTop"), + _scrollWidth: dart.privateName(html$, "_scrollWidth"), + $slot: dartx.slot = Symbol("dartx.slot"), + $styleMap: dartx.styleMap = Symbol("dartx.styleMap"), + $tagName: dartx.tagName = Symbol("dartx.tagName"), + _attachShadow_1: dart.privateName(html$, "_attachShadow_1"), + $attachShadow: dartx.attachShadow = Symbol("dartx.attachShadow"), + $closest: dartx.closest = Symbol("dartx.closest"), + $getAnimations: dartx.getAnimations = Symbol("dartx.getAnimations"), + $getAttributeNames: dartx.getAttributeNames = Symbol("dartx.getAttributeNames"), + $getBoundingClientRect: dartx.getBoundingClientRect = Symbol("dartx.getBoundingClientRect"), + $getDestinationInsertionPoints: dartx.getDestinationInsertionPoints = Symbol("dartx.getDestinationInsertionPoints"), + $getElementsByClassName: dartx.getElementsByClassName = Symbol("dartx.getElementsByClassName"), + _getElementsByTagName: dart.privateName(html$, "_getElementsByTagName"), + $hasPointerCapture: dartx.hasPointerCapture = Symbol("dartx.hasPointerCapture"), + $releasePointerCapture: dartx.releasePointerCapture = Symbol("dartx.releasePointerCapture"), + $requestPointerLock: dartx.requestPointerLock = Symbol("dartx.requestPointerLock"), + _scroll_1: dart.privateName(html$, "_scroll_1"), + _scroll_2: dart.privateName(html$, "_scroll_2"), + _scroll_3: dart.privateName(html$, "_scroll_3"), + $scroll: dartx.scroll = Symbol("dartx.scroll"), + _scrollBy_1: dart.privateName(html$, "_scrollBy_1"), + _scrollBy_2: dart.privateName(html$, "_scrollBy_2"), + _scrollBy_3: dart.privateName(html$, "_scrollBy_3"), + $scrollBy: dartx.scrollBy = Symbol("dartx.scrollBy"), + _scrollTo_1: dart.privateName(html$, "_scrollTo_1"), + _scrollTo_2: dart.privateName(html$, "_scrollTo_2"), + _scrollTo_3: dart.privateName(html$, "_scrollTo_3"), + $scrollTo: dartx.scrollTo = Symbol("dartx.scrollTo"), + $setPointerCapture: dartx.setPointerCapture = Symbol("dartx.setPointerCapture"), + $requestFullscreen: dartx.requestFullscreen = Symbol("dartx.requestFullscreen"), + $after: dartx.after = Symbol("dartx.after"), + $before: dartx.before = Symbol("dartx.before"), + $nextElementSibling: dartx.nextElementSibling = Symbol("dartx.nextElementSibling"), + $previousElementSibling: dartx.previousElementSibling = Symbol("dartx.previousElementSibling"), + _childElementCount: dart.privateName(html$, "_childElementCount"), + _firstElementChild: dart.privateName(html$, "_firstElementChild"), + _lastElementChild: dart.privateName(html$, "_lastElementChild"), + $querySelector: dartx.querySelector = Symbol("dartx.querySelector"), + $onBeforeCopy: dartx.onBeforeCopy = Symbol("dartx.onBeforeCopy"), + $onBeforeCut: dartx.onBeforeCut = Symbol("dartx.onBeforeCut"), + $onBeforePaste: dartx.onBeforePaste = Symbol("dartx.onBeforePaste"), + $onBlur: dartx.onBlur = Symbol("dartx.onBlur"), + $onCanPlay: dartx.onCanPlay = Symbol("dartx.onCanPlay"), + $onCanPlayThrough: dartx.onCanPlayThrough = Symbol("dartx.onCanPlayThrough"), + $onChange: dartx.onChange = Symbol("dartx.onChange"), + $onClick: dartx.onClick = Symbol("dartx.onClick"), + $onContextMenu: dartx.onContextMenu = Symbol("dartx.onContextMenu"), + $onCopy: dartx.onCopy = Symbol("dartx.onCopy"), + $onCut: dartx.onCut = Symbol("dartx.onCut"), + $onDoubleClick: dartx.onDoubleClick = Symbol("dartx.onDoubleClick"), + $onDrag: dartx.onDrag = Symbol("dartx.onDrag"), + $onDragEnd: dartx.onDragEnd = Symbol("dartx.onDragEnd"), + $onDragEnter: dartx.onDragEnter = Symbol("dartx.onDragEnter"), + $onDragLeave: dartx.onDragLeave = Symbol("dartx.onDragLeave"), + $onDragOver: dartx.onDragOver = Symbol("dartx.onDragOver"), + $onDragStart: dartx.onDragStart = Symbol("dartx.onDragStart"), + $onDrop: dartx.onDrop = Symbol("dartx.onDrop"), + $onDurationChange: dartx.onDurationChange = Symbol("dartx.onDurationChange"), + $onEmptied: dartx.onEmptied = Symbol("dartx.onEmptied"), + $onEnded: dartx.onEnded = Symbol("dartx.onEnded"), + $onFocus: dartx.onFocus = Symbol("dartx.onFocus"), + $onInput: dartx.onInput = Symbol("dartx.onInput"), + $onInvalid: dartx.onInvalid = Symbol("dartx.onInvalid"), + $onKeyDown: dartx.onKeyDown = Symbol("dartx.onKeyDown"), + $onKeyPress: dartx.onKeyPress = Symbol("dartx.onKeyPress"), + $onKeyUp: dartx.onKeyUp = Symbol("dartx.onKeyUp"), + $onLoad: dartx.onLoad = Symbol("dartx.onLoad"), + $onLoadedData: dartx.onLoadedData = Symbol("dartx.onLoadedData"), + $onLoadedMetadata: dartx.onLoadedMetadata = Symbol("dartx.onLoadedMetadata"), + $onMouseDown: dartx.onMouseDown = Symbol("dartx.onMouseDown"), + $onMouseEnter: dartx.onMouseEnter = Symbol("dartx.onMouseEnter"), + $onMouseLeave: dartx.onMouseLeave = Symbol("dartx.onMouseLeave"), + $onMouseMove: dartx.onMouseMove = Symbol("dartx.onMouseMove"), + $onMouseOut: dartx.onMouseOut = Symbol("dartx.onMouseOut"), + $onMouseOver: dartx.onMouseOver = Symbol("dartx.onMouseOver"), + $onMouseUp: dartx.onMouseUp = Symbol("dartx.onMouseUp"), + $onMouseWheel: dartx.onMouseWheel = Symbol("dartx.onMouseWheel"), + $onPaste: dartx.onPaste = Symbol("dartx.onPaste"), + $onPause: dartx.onPause = Symbol("dartx.onPause"), + $onPlay: dartx.onPlay = Symbol("dartx.onPlay"), + $onPlaying: dartx.onPlaying = Symbol("dartx.onPlaying"), + $onRateChange: dartx.onRateChange = Symbol("dartx.onRateChange"), + $onReset: dartx.onReset = Symbol("dartx.onReset"), + $onResize: dartx.onResize = Symbol("dartx.onResize"), + $onScroll: dartx.onScroll = Symbol("dartx.onScroll"), + $onSearch: dartx.onSearch = Symbol("dartx.onSearch"), + $onSeeked: dartx.onSeeked = Symbol("dartx.onSeeked"), + $onSeeking: dartx.onSeeking = Symbol("dartx.onSeeking"), + $onSelect: dartx.onSelect = Symbol("dartx.onSelect"), + $onSelectStart: dartx.onSelectStart = Symbol("dartx.onSelectStart"), + $onStalled: dartx.onStalled = Symbol("dartx.onStalled"), + $onSubmit: dartx.onSubmit = Symbol("dartx.onSubmit") +}; +var S$ = { + $onSuspend: dartx.onSuspend = Symbol("dartx.onSuspend"), + $onTimeUpdate: dartx.onTimeUpdate = Symbol("dartx.onTimeUpdate"), + $onTouchCancel: dartx.onTouchCancel = Symbol("dartx.onTouchCancel"), + $onTouchEnd: dartx.onTouchEnd = Symbol("dartx.onTouchEnd"), + $onTouchEnter: dartx.onTouchEnter = Symbol("dartx.onTouchEnter"), + $onTouchLeave: dartx.onTouchLeave = Symbol("dartx.onTouchLeave"), + $onTouchMove: dartx.onTouchMove = Symbol("dartx.onTouchMove"), + $onTouchStart: dartx.onTouchStart = Symbol("dartx.onTouchStart"), + $onTransitionEnd: dartx.onTransitionEnd = Symbol("dartx.onTransitionEnd"), + $onVolumeChange: dartx.onVolumeChange = Symbol("dartx.onVolumeChange"), + $onWaiting: dartx.onWaiting = Symbol("dartx.onWaiting"), + $onFullscreenChange: dartx.onFullscreenChange = Symbol("dartx.onFullscreenChange"), + $onFullscreenError: dartx.onFullscreenError = Symbol("dartx.onFullscreenError"), + $onWheel: dartx.onWheel = Symbol("dartx.onWheel"), + _removeChild: dart.privateName(html$, "_removeChild"), + _replaceChild: dart.privateName(html$, "_replaceChild"), + $replaceWith: dartx.replaceWith = Symbol("dartx.replaceWith"), + _this: dart.privateName(html$, "_this"), + $insertAllBefore: dartx.insertAllBefore = Symbol("dartx.insertAllBefore"), + _clearChildren: dart.privateName(html$, "_clearChildren"), + $childNodes: dartx.childNodes = Symbol("dartx.childNodes"), + $firstChild: dartx.firstChild = Symbol("dartx.firstChild"), + $isConnected: dartx.isConnected = Symbol("dartx.isConnected"), + $lastChild: dartx.lastChild = Symbol("dartx.lastChild"), + $nodeName: dartx.nodeName = Symbol("dartx.nodeName"), + $nodeType: dartx.nodeType = Symbol("dartx.nodeType"), + $nodeValue: dartx.nodeValue = Symbol("dartx.nodeValue"), + $ownerDocument: dartx.ownerDocument = Symbol("dartx.ownerDocument"), + $parentNode: dartx.parentNode = Symbol("dartx.parentNode"), + $previousNode: dartx.previousNode = Symbol("dartx.previousNode"), + $clone: dartx.clone = Symbol("dartx.clone"), + _getRootNode_1: dart.privateName(html$, "_getRootNode_1"), + _getRootNode_2: dart.privateName(html$, "_getRootNode_2"), + $getRootNode: dartx.getRootNode = Symbol("dartx.getRootNode"), + $hasChildNodes: dartx.hasChildNodes = Symbol("dartx.hasChildNodes"), + $insertBefore: dartx.insertBefore = Symbol("dartx.insertBefore"), + _CustomEventStreamProvider__eventTypeGetter: dart.privateName(html$, "_CustomEventStreamProvider._eventTypeGetter"), + $respondWith: dartx.respondWith = Symbol("dartx.respondWith"), + $waitUntil: dartx.waitUntil = Symbol("dartx.waitUntil"), + $quaternion: dartx.quaternion = Symbol("dartx.quaternion"), + $populateMatrix: dartx.populateMatrix = Symbol("dartx.populateMatrix"), + $activated: dartx.activated = Symbol("dartx.activated"), + $hasReading: dartx.hasReading = Symbol("dartx.hasReading"), + $timestamp: dartx.timestamp = Symbol("dartx.timestamp"), + $start: dartx.start = Symbol("dartx.start"), + $stop: dartx.stop = Symbol("dartx.stop"), + $x: dartx.x = Symbol("dartx.x"), + $y: dartx.y = Symbol("dartx.y"), + $z: dartx.z = Symbol("dartx.z"), + $activeDescendant: dartx.activeDescendant = Symbol("dartx.activeDescendant"), + $atomic: dartx.atomic = Symbol("dartx.atomic"), + $autocomplete: dartx.autocomplete = Symbol("dartx.autocomplete"), + $busy: dartx.busy = Symbol("dartx.busy"), + $checked: dartx.checked = Symbol("dartx.checked"), + $colCount: dartx.colCount = Symbol("dartx.colCount"), + $colIndex: dartx.colIndex = Symbol("dartx.colIndex"), + $colSpan: dartx.colSpan = Symbol("dartx.colSpan"), + $controls: dartx.controls = Symbol("dartx.controls"), + $current: dartx.current = Symbol("dartx.current"), + $describedBy: dartx.describedBy = Symbol("dartx.describedBy"), + $details: dartx.details = Symbol("dartx.details"), + $disabled: dartx.disabled = Symbol("dartx.disabled"), + $errorMessage: dartx.errorMessage = Symbol("dartx.errorMessage"), + $expanded: dartx.expanded = Symbol("dartx.expanded"), + $flowTo: dartx.flowTo = Symbol("dartx.flowTo"), + $hasPopUp: dartx.hasPopUp = Symbol("dartx.hasPopUp"), + $invalid: dartx.invalid = Symbol("dartx.invalid"), + $keyShortcuts: dartx.keyShortcuts = Symbol("dartx.keyShortcuts"), + $label: dartx.label = Symbol("dartx.label"), + $labeledBy: dartx.labeledBy = Symbol("dartx.labeledBy"), + $level: dartx.level = Symbol("dartx.level"), + $live: dartx.live = Symbol("dartx.live"), + $modal: dartx.modal = Symbol("dartx.modal"), + $multiline: dartx.multiline = Symbol("dartx.multiline"), + $multiselectable: dartx.multiselectable = Symbol("dartx.multiselectable"), + $orientation: dartx.orientation = Symbol("dartx.orientation"), + $owns: dartx.owns = Symbol("dartx.owns"), + $placeholder: dartx.placeholder = Symbol("dartx.placeholder"), + $posInSet: dartx.posInSet = Symbol("dartx.posInSet"), + $pressed: dartx.pressed = Symbol("dartx.pressed"), + $readOnly: dartx.readOnly = Symbol("dartx.readOnly"), + $relevant: dartx.relevant = Symbol("dartx.relevant"), + $required: dartx.required = Symbol("dartx.required"), + $role: dartx.role = Symbol("dartx.role"), + $roleDescription: dartx.roleDescription = Symbol("dartx.roleDescription"), + $rowCount: dartx.rowCount = Symbol("dartx.rowCount"), + $rowIndex: dartx.rowIndex = Symbol("dartx.rowIndex"), + $rowSpan: dartx.rowSpan = Symbol("dartx.rowSpan"), + $selected: dartx.selected = Symbol("dartx.selected"), + $setSize: dartx.setSize = Symbol("dartx.setSize"), + $valueMax: dartx.valueMax = Symbol("dartx.valueMax"), + $valueMin: dartx.valueMin = Symbol("dartx.valueMin"), + $valueNow: dartx.valueNow = Symbol("dartx.valueNow"), + $valueText: dartx.valueText = Symbol("dartx.valueText"), + $appendChild: dartx.appendChild = Symbol("dartx.appendChild"), + $onAccessibleClick: dartx.onAccessibleClick = Symbol("dartx.onAccessibleClick"), + $onAccessibleContextMenu: dartx.onAccessibleContextMenu = Symbol("dartx.onAccessibleContextMenu"), + $onAccessibleDecrement: dartx.onAccessibleDecrement = Symbol("dartx.onAccessibleDecrement"), + $onAccessibleFocus: dartx.onAccessibleFocus = Symbol("dartx.onAccessibleFocus"), + $onAccessibleIncrement: dartx.onAccessibleIncrement = Symbol("dartx.onAccessibleIncrement"), + $onAccessibleScrollIntoView: dartx.onAccessibleScrollIntoView = Symbol("dartx.onAccessibleScrollIntoView"), + __setter__: dart.privateName(html$, "__setter__"), + $item: dartx.item = Symbol("dartx.item"), + $illuminance: dartx.illuminance = Symbol("dartx.illuminance"), + $download: dartx.download = Symbol("dartx.download"), + $hreflang: dartx.hreflang = Symbol("dartx.hreflang"), + $referrerPolicy: dartx.referrerPolicy = Symbol("dartx.referrerPolicy"), + $rel: dartx.rel = Symbol("dartx.rel"), + $hash: dartx.hash = Symbol("dartx.hash"), + $host: dartx.host = Symbol("dartx.host"), + $hostname: dartx.hostname = Symbol("dartx.hostname"), + $href: dartx.href = Symbol("dartx.href"), + $origin: dartx.origin = Symbol("dartx.origin"), + $password: dartx.password = Symbol("dartx.password"), + $pathname: dartx.pathname = Symbol("dartx.pathname"), + $port: dartx.port = Symbol("dartx.port"), + $protocol: dartx.protocol = Symbol("dartx.protocol"), + $search: dartx.search = Symbol("dartx.search"), + $username: dartx.username = Symbol("dartx.username"), + $currentTime: dartx.currentTime = Symbol("dartx.currentTime"), + $effect: dartx.effect = Symbol("dartx.effect"), + $finished: dartx.finished = Symbol("dartx.finished"), + $playState: dartx.playState = Symbol("dartx.playState"), + $playbackRate: dartx.playbackRate = Symbol("dartx.playbackRate"), + $ready: dartx.ready = Symbol("dartx.ready"), + $startTime: dartx.startTime = Symbol("dartx.startTime"), + $timeline: dartx.timeline = Symbol("dartx.timeline"), + $cancel: dartx.cancel = Symbol("dartx.cancel"), + $finish: dartx.finish = Symbol("dartx.finish"), + $pause: dartx.pause = Symbol("dartx.pause"), + $play: dartx.play = Symbol("dartx.play"), + $reverse: dartx.reverse = Symbol("dartx.reverse"), + $onCancel: dartx.onCancel = Symbol("dartx.onCancel"), + $onFinish: dartx.onFinish = Symbol("dartx.onFinish"), + $timing: dartx.timing = Symbol("dartx.timing"), + _getComputedTiming_1: dart.privateName(html$, "_getComputedTiming_1"), + $getComputedTiming: dartx.getComputedTiming = Symbol("dartx.getComputedTiming"), + $delay: dartx.delay = Symbol("dartx.delay"), + $duration: dartx.duration = Symbol("dartx.duration"), + $easing: dartx.easing = Symbol("dartx.easing"), + $endDelay: dartx.endDelay = Symbol("dartx.endDelay"), + $fill: dartx.fill = Symbol("dartx.fill"), + $iterationStart: dartx.iterationStart = Symbol("dartx.iterationStart"), + $iterations: dartx.iterations = Symbol("dartx.iterations"), + $animationName: dartx.animationName = Symbol("dartx.animationName"), + $elapsedTime: dartx.elapsedTime = Symbol("dartx.elapsedTime"), + $timelineTime: dartx.timelineTime = Symbol("dartx.timelineTime"), + $registerAnimator: dartx.registerAnimator = Symbol("dartx.registerAnimator"), + $status: dartx.status = Symbol("dartx.status"), + $swapCache: dartx.swapCache = Symbol("dartx.swapCache"), + $onCached: dartx.onCached = Symbol("dartx.onCached"), + $onChecking: dartx.onChecking = Symbol("dartx.onChecking"), + $onDownloading: dartx.onDownloading = Symbol("dartx.onDownloading"), + $onNoUpdate: dartx.onNoUpdate = Symbol("dartx.onNoUpdate"), + $onObsolete: dartx.onObsolete = Symbol("dartx.onObsolete"), + $onProgress: dartx.onProgress = Symbol("dartx.onProgress"), + $onUpdateReady: dartx.onUpdateReady = Symbol("dartx.onUpdateReady"), + $reason: dartx.reason = Symbol("dartx.reason"), + $url: dartx.url = Symbol("dartx.url"), + $alt: dartx.alt = Symbol("dartx.alt"), + $coords: dartx.coords = Symbol("dartx.coords"), + $shape: dartx.shape = Symbol("dartx.shape"), + $audioTracks: dartx.audioTracks = Symbol("dartx.audioTracks"), + $autoplay: dartx.autoplay = Symbol("dartx.autoplay"), + $buffered: dartx.buffered = Symbol("dartx.buffered"), + $controlsList: dartx.controlsList = Symbol("dartx.controlsList"), + $crossOrigin: dartx.crossOrigin = Symbol("dartx.crossOrigin"), + $currentSrc: dartx.currentSrc = Symbol("dartx.currentSrc"), + $defaultMuted: dartx.defaultMuted = Symbol("dartx.defaultMuted"), + $defaultPlaybackRate: dartx.defaultPlaybackRate = Symbol("dartx.defaultPlaybackRate"), + $disableRemotePlayback: dartx.disableRemotePlayback = Symbol("dartx.disableRemotePlayback"), + $ended: dartx.ended = Symbol("dartx.ended"), + $loop: dartx.loop = Symbol("dartx.loop"), + $mediaKeys: dartx.mediaKeys = Symbol("dartx.mediaKeys"), + $muted: dartx.muted = Symbol("dartx.muted"), + $networkState: dartx.networkState = Symbol("dartx.networkState"), + $paused: dartx.paused = Symbol("dartx.paused"), + $played: dartx.played = Symbol("dartx.played"), + $preload: dartx.preload = Symbol("dartx.preload"), + $remote: dartx.remote = Symbol("dartx.remote"), + $seekable: dartx.seekable = Symbol("dartx.seekable"), + $seeking: dartx.seeking = Symbol("dartx.seeking"), + $sinkId: dartx.sinkId = Symbol("dartx.sinkId"), + $src: dartx.src = Symbol("dartx.src"), + $srcObject: dartx.srcObject = Symbol("dartx.srcObject"), + $textTracks: dartx.textTracks = Symbol("dartx.textTracks"), + $videoTracks: dartx.videoTracks = Symbol("dartx.videoTracks"), + $volume: dartx.volume = Symbol("dartx.volume"), + $audioDecodedByteCount: dartx.audioDecodedByteCount = Symbol("dartx.audioDecodedByteCount"), + $videoDecodedByteCount: dartx.videoDecodedByteCount = Symbol("dartx.videoDecodedByteCount"), + $addTextTrack: dartx.addTextTrack = Symbol("dartx.addTextTrack"), + $canPlayType: dartx.canPlayType = Symbol("dartx.canPlayType"), + $captureStream: dartx.captureStream = Symbol("dartx.captureStream"), + $load: dartx.load = Symbol("dartx.load"), + $setMediaKeys: dartx.setMediaKeys = Symbol("dartx.setMediaKeys"), + $setSinkId: dartx.setSinkId = Symbol("dartx.setSinkId"), + $authenticatorData: dartx.authenticatorData = Symbol("dartx.authenticatorData"), + $signature: dartx.signature = Symbol("dartx.signature"), + $clientDataJson: dartx.clientDataJson = Symbol("dartx.clientDataJson"), + $attestationObject: dartx.attestationObject = Symbol("dartx.attestationObject"), + $state: dartx.state = Symbol("dartx.state"), + $fetches: dartx.fetches = Symbol("dartx.fetches"), + $request: dartx.request = Symbol("dartx.request"), + $fetch: dartx.fetch = Symbol("dartx.fetch"), + $getIds: dartx.getIds = Symbol("dartx.getIds"), + $downloadTotal: dartx.downloadTotal = Symbol("dartx.downloadTotal"), + $downloaded: dartx.downloaded = Symbol("dartx.downloaded"), + $totalDownloadSize: dartx.totalDownloadSize = Symbol("dartx.totalDownloadSize"), + $uploadTotal: dartx.uploadTotal = Symbol("dartx.uploadTotal"), + $uploaded: dartx.uploaded = Symbol("dartx.uploaded"), + $response: dartx.response = Symbol("dartx.response"), + $updateUI: dartx.updateUI = Symbol("dartx.updateUI"), + $visible: dartx.visible = Symbol("dartx.visible"), + $detect: dartx.detect = Symbol("dartx.detect"), + $charging: dartx.charging = Symbol("dartx.charging"), + $chargingTime: dartx.chargingTime = Symbol("dartx.chargingTime"), + $dischargingTime: dartx.dischargingTime = Symbol("dartx.dischargingTime"), + $platforms: dartx.platforms = Symbol("dartx.platforms"), + $userChoice: dartx.userChoice = Symbol("dartx.userChoice"), + $prompt: dartx.prompt = Symbol("dartx.prompt"), + $returnValue: dartx.returnValue = Symbol("dartx.returnValue"), + $size: dartx.size = Symbol("dartx.size"), + $slice: dartx.slice = Symbol("dartx.slice"), + $data: dartx.data = Symbol("dartx.data"), + $timecode: dartx.timecode = Symbol("dartx.timecode"), + $characteristic: dartx.characteristic = Symbol("dartx.characteristic"), + $uuid: dartx.uuid = Symbol("dartx.uuid"), + $readValue: dartx.readValue = Symbol("dartx.readValue"), + $writeValue: dartx.writeValue = Symbol("dartx.writeValue"), + $bodyUsed: dartx.bodyUsed = Symbol("dartx.bodyUsed"), + $arrayBuffer: dartx.arrayBuffer = Symbol("dartx.arrayBuffer"), + $blob: dartx.blob = Symbol("dartx.blob"), + $formData: dartx.formData = Symbol("dartx.formData"), + $json: dartx.json = Symbol("dartx.json"), + $onHashChange: dartx.onHashChange = Symbol("dartx.onHashChange"), + $onMessage: dartx.onMessage = Symbol("dartx.onMessage"), + $onOffline: dartx.onOffline = Symbol("dartx.onOffline"), + $onOnline: dartx.onOnline = Symbol("dartx.onOnline"), + $onPopState: dartx.onPopState = Symbol("dartx.onPopState"), + $onStorage: dartx.onStorage = Symbol("dartx.onStorage"), + $onUnload: dartx.onUnload = Symbol("dartx.onUnload"), + $postMessage: dartx.postMessage = Symbol("dartx.postMessage"), + $budgetAt: dartx.budgetAt = Symbol("dartx.budgetAt"), + $time: dartx.time = Symbol("dartx.time"), + $autofocus: dartx.autofocus = Symbol("dartx.autofocus"), + $form: dartx.form = Symbol("dartx.form"), + $formAction: dartx.formAction = Symbol("dartx.formAction"), + $formEnctype: dartx.formEnctype = Symbol("dartx.formEnctype"), + $formMethod: dartx.formMethod = Symbol("dartx.formMethod"), + $formNoValidate: dartx.formNoValidate = Symbol("dartx.formNoValidate"), + $formTarget: dartx.formTarget = Symbol("dartx.formTarget"), + $labels: dartx.labels = Symbol("dartx.labels"), + $validationMessage: dartx.validationMessage = Symbol("dartx.validationMessage"), + $validity: dartx.validity = Symbol("dartx.validity"), + $willValidate: dartx.willValidate = Symbol("dartx.willValidate"), + $checkValidity: dartx.checkValidity = Symbol("dartx.checkValidity"), + $reportValidity: dartx.reportValidity = Symbol("dartx.reportValidity"), + $setCustomValidity: dartx.setCustomValidity = Symbol("dartx.setCustomValidity"), + $wholeText: dartx.wholeText = Symbol("dartx.wholeText"), + $splitText: dartx.splitText = Symbol("dartx.splitText"), + $appendData: dartx.appendData = Symbol("dartx.appendData"), + $deleteData: dartx.deleteData = Symbol("dartx.deleteData"), + $insertData: dartx.insertData = Symbol("dartx.insertData"), + $replaceData: dartx.replaceData = Symbol("dartx.replaceData"), + $substringData: dartx.substringData = Symbol("dartx.substringData"), + $has: dartx.has = Symbol("dartx.has"), + $match: dartx.match = Symbol("dartx.match"), + $methodData: dartx.methodData = Symbol("dartx.methodData"), + $modifiers: dartx.modifiers = Symbol("dartx.modifiers"), + $paymentRequestOrigin: dartx.paymentRequestOrigin = Symbol("dartx.paymentRequestOrigin"), + $topLevelOrigin: dartx.topLevelOrigin = Symbol("dartx.topLevelOrigin"), + $canvas: dartx.canvas = Symbol("dartx.canvas"), + $requestFrame: dartx.requestFrame = Symbol("dartx.requestFrame"), + $contentHint: dartx.contentHint = Symbol("dartx.contentHint"), + $enabled: dartx.enabled = Symbol("dartx.enabled"), + $kind: dartx.kind = Symbol("dartx.kind"), + $applyConstraints: dartx.applyConstraints = Symbol("dartx.applyConstraints"), + _getCapabilities_1: dart.privateName(html$, "_getCapabilities_1"), + $getCapabilities: dartx.getCapabilities = Symbol("dartx.getCapabilities"), + _getConstraints_1: dart.privateName(html$, "_getConstraints_1"), + $getConstraints: dartx.getConstraints = Symbol("dartx.getConstraints"), + _getSettings_1: dart.privateName(html$, "_getSettings_1"), + $getSettings: dartx.getSettings = Symbol("dartx.getSettings"), + $onMute: dartx.onMute = Symbol("dartx.onMute"), + $onUnmute: dartx.onUnmute = Symbol("dartx.onUnmute"), + _getContext_1: dart.privateName(html$, "_getContext_1"), + _getContext_2: dart.privateName(html$, "_getContext_2"), + $getContext: dartx.getContext = Symbol("dartx.getContext"), + _toDataUrl: dart.privateName(html$, "_toDataUrl"), + $transferControlToOffscreen: dartx.transferControlToOffscreen = Symbol("dartx.transferControlToOffscreen"), + $onWebGlContextLost: dartx.onWebGlContextLost = Symbol("dartx.onWebGlContextLost"), + $onWebGlContextRestored: dartx.onWebGlContextRestored = Symbol("dartx.onWebGlContextRestored"), + $context2D: dartx.context2D = Symbol("dartx.context2D"), + $getContext3d: dartx.getContext3d = Symbol("dartx.getContext3d"), + $toDataUrl: dartx.toDataUrl = Symbol("dartx.toDataUrl"), + _toBlob: dart.privateName(html$, "_toBlob"), + $toBlob: dartx.toBlob = Symbol("dartx.toBlob"), + $addColorStop: dartx.addColorStop = Symbol("dartx.addColorStop"), + $setTransform: dartx.setTransform = Symbol("dartx.setTransform"), + $currentTransform: dartx.currentTransform = Symbol("dartx.currentTransform"), + $fillStyle: dartx.fillStyle = Symbol("dartx.fillStyle"), + $filter: dartx.filter = Symbol("dartx.filter"), + $font: dartx.font = Symbol("dartx.font"), + $globalAlpha: dartx.globalAlpha = Symbol("dartx.globalAlpha"), + $globalCompositeOperation: dartx.globalCompositeOperation = Symbol("dartx.globalCompositeOperation"), + $imageSmoothingEnabled: dartx.imageSmoothingEnabled = Symbol("dartx.imageSmoothingEnabled"), + $imageSmoothingQuality: dartx.imageSmoothingQuality = Symbol("dartx.imageSmoothingQuality"), + $lineCap: dartx.lineCap = Symbol("dartx.lineCap"), + $lineJoin: dartx.lineJoin = Symbol("dartx.lineJoin"), + $lineWidth: dartx.lineWidth = Symbol("dartx.lineWidth"), + $miterLimit: dartx.miterLimit = Symbol("dartx.miterLimit"), + $shadowBlur: dartx.shadowBlur = Symbol("dartx.shadowBlur"), + $shadowColor: dartx.shadowColor = Symbol("dartx.shadowColor"), + $shadowOffsetX: dartx.shadowOffsetX = Symbol("dartx.shadowOffsetX"), + $shadowOffsetY: dartx.shadowOffsetY = Symbol("dartx.shadowOffsetY"), + $strokeStyle: dartx.strokeStyle = Symbol("dartx.strokeStyle"), + $textAlign: dartx.textAlign = Symbol("dartx.textAlign"), + $textBaseline: dartx.textBaseline = Symbol("dartx.textBaseline"), + _addHitRegion_1: dart.privateName(html$, "_addHitRegion_1"), + _addHitRegion_2: dart.privateName(html$, "_addHitRegion_2"), + $addHitRegion: dartx.addHitRegion = Symbol("dartx.addHitRegion"), + $beginPath: dartx.beginPath = Symbol("dartx.beginPath"), + $clearHitRegions: dartx.clearHitRegions = Symbol("dartx.clearHitRegions"), + $clearRect: dartx.clearRect = Symbol("dartx.clearRect"), + $clip: dartx.clip = Symbol("dartx.clip"), + _createImageData_1: dart.privateName(html$, "_createImageData_1"), + _createImageData_2: dart.privateName(html$, "_createImageData_2"), + _createImageData_3: dart.privateName(html$, "_createImageData_3"), + _createImageData_4: dart.privateName(html$, "_createImageData_4"), + _createImageData_5: dart.privateName(html$, "_createImageData_5"), + $createImageData: dartx.createImageData = Symbol("dartx.createImageData"), + $createLinearGradient: dartx.createLinearGradient = Symbol("dartx.createLinearGradient"), + $createPattern: dartx.createPattern = Symbol("dartx.createPattern"), + $createRadialGradient: dartx.createRadialGradient = Symbol("dartx.createRadialGradient"), + $drawFocusIfNeeded: dartx.drawFocusIfNeeded = Symbol("dartx.drawFocusIfNeeded"), + $fillRect: dartx.fillRect = Symbol("dartx.fillRect"), + _getContextAttributes_1: dart.privateName(html$, "_getContextAttributes_1"), + $getContextAttributes: dartx.getContextAttributes = Symbol("dartx.getContextAttributes"), + _getImageData_1: dart.privateName(html$, "_getImageData_1"), + $getImageData: dartx.getImageData = Symbol("dartx.getImageData"), + _getLineDash: dart.privateName(html$, "_getLineDash"), + $isContextLost: dartx.isContextLost = Symbol("dartx.isContextLost"), + $isPointInPath: dartx.isPointInPath = Symbol("dartx.isPointInPath"), + $isPointInStroke: dartx.isPointInStroke = Symbol("dartx.isPointInStroke"), + $measureText: dartx.measureText = Symbol("dartx.measureText"), + _putImageData_1: dart.privateName(html$, "_putImageData_1"), + _putImageData_2: dart.privateName(html$, "_putImageData_2"), + $putImageData: dartx.putImageData = Symbol("dartx.putImageData"), + $removeHitRegion: dartx.removeHitRegion = Symbol("dartx.removeHitRegion"), + $resetTransform: dartx.resetTransform = Symbol("dartx.resetTransform"), + $restore: dartx.restore = Symbol("dartx.restore"), + $rotate: dartx.rotate = Symbol("dartx.rotate"), + $save: dartx.save = Symbol("dartx.save"), + $scale: dartx.scale = Symbol("dartx.scale"), + $scrollPathIntoView: dartx.scrollPathIntoView = Symbol("dartx.scrollPathIntoView"), + $stroke: dartx.stroke = Symbol("dartx.stroke"), + $strokeRect: dartx.strokeRect = Symbol("dartx.strokeRect"), + $strokeText: dartx.strokeText = Symbol("dartx.strokeText"), + $transform: dartx.transform = Symbol("dartx.transform"), + _arc: dart.privateName(html$, "_arc"), + $arcTo: dartx.arcTo = Symbol("dartx.arcTo"), + $bezierCurveTo: dartx.bezierCurveTo = Symbol("dartx.bezierCurveTo"), + $closePath: dartx.closePath = Symbol("dartx.closePath"), + $ellipse: dartx.ellipse = Symbol("dartx.ellipse"), + $lineTo: dartx.lineTo = Symbol("dartx.lineTo"), + $moveTo: dartx.moveTo = Symbol("dartx.moveTo"), + $quadraticCurveTo: dartx.quadraticCurveTo = Symbol("dartx.quadraticCurveTo"), + $rect: dartx.rect = Symbol("dartx.rect"), + $createImageDataFromImageData: dartx.createImageDataFromImageData = Symbol("dartx.createImageDataFromImageData"), + $setFillColorRgb: dartx.setFillColorRgb = Symbol("dartx.setFillColorRgb"), + $setFillColorHsl: dartx.setFillColorHsl = Symbol("dartx.setFillColorHsl"), + $setStrokeColorRgb: dartx.setStrokeColorRgb = Symbol("dartx.setStrokeColorRgb"), + $setStrokeColorHsl: dartx.setStrokeColorHsl = Symbol("dartx.setStrokeColorHsl"), + $arc: dartx.arc = Symbol("dartx.arc"), + $createPatternFromImage: dartx.createPatternFromImage = Symbol("dartx.createPatternFromImage"), + $drawImageScaled: dartx.drawImageScaled = Symbol("dartx.drawImageScaled"), + $drawImageScaledFromSource: dartx.drawImageScaledFromSource = Symbol("dartx.drawImageScaledFromSource"), + $drawImageToRect: dartx.drawImageToRect = Symbol("dartx.drawImageToRect"), + $drawImage: dartx.drawImage = Symbol("dartx.drawImage"), + $lineDashOffset: dartx.lineDashOffset = Symbol("dartx.lineDashOffset"), + $getLineDash: dartx.getLineDash = Symbol("dartx.getLineDash"), + $setLineDash: dartx.setLineDash = Symbol("dartx.setLineDash"), + $fillText: dartx.fillText = Symbol("dartx.fillText"), + $backingStorePixelRatio: dartx.backingStorePixelRatio = Symbol("dartx.backingStorePixelRatio"), + $frameType: dartx.frameType = Symbol("dartx.frameType"), + $claim: dartx.claim = Symbol("dartx.claim"), + $matchAll: dartx.matchAll = Symbol("dartx.matchAll"), + $openWindow: dartx.openWindow = Symbol("dartx.openWindow"), + $clipboardData: dartx.clipboardData = Symbol("dartx.clipboardData"), + $code: dartx.code = Symbol("dartx.code"), + $wasClean: dartx.wasClean = Symbol("dartx.wasClean"), + _initCompositionEvent: dart.privateName(html$, "_initCompositionEvent"), + _initUIEvent: dart.privateName(html$, "_initUIEvent"), + $detail: dartx.detail = Symbol("dartx.detail"), + $sourceCapabilities: dartx.sourceCapabilities = Symbol("dartx.sourceCapabilities"), + _get_view: dart.privateName(html$, "_get_view"), + $view: dartx.view = Symbol("dartx.view"), + _which: dart.privateName(html$, "_which"), + $select: dartx.select = Symbol("dartx.select"), + $getDistributedNodes: dartx.getDistributedNodes = Symbol("dartx.getDistributedNodes"), + $set: dartx.set = Symbol("dartx.set"), + $accuracy: dartx.accuracy = Symbol("dartx.accuracy"), + $altitude: dartx.altitude = Symbol("dartx.altitude"), + $altitudeAccuracy: dartx.altitudeAccuracy = Symbol("dartx.altitudeAccuracy"), + $heading: dartx.heading = Symbol("dartx.heading"), + $latitude: dartx.latitude = Symbol("dartx.latitude"), + $longitude: dartx.longitude = Symbol("dartx.longitude"), + $speed: dartx.speed = Symbol("dartx.speed"), + $iconUrl: dartx.iconUrl = Symbol("dartx.iconUrl"), + $create: dartx.create = Symbol("dartx.create"), + $preventSilentAccess: dartx.preventSilentAccess = Symbol("dartx.preventSilentAccess"), + $requireUserMediation: dartx.requireUserMediation = Symbol("dartx.requireUserMediation"), + $store: dartx.store = Symbol("dartx.store"), + _getRandomValues: dart.privateName(html$, "_getRandomValues"), + $getRandomValues: dartx.getRandomValues = Symbol("dartx.getRandomValues"), + $subtle: dartx.subtle = Symbol("dartx.subtle"), + $algorithm: dartx.algorithm = Symbol("dartx.algorithm"), + $extractable: dartx.extractable = Symbol("dartx.extractable"), + $usages: dartx.usages = Symbol("dartx.usages"), + $encoding: dartx.encoding = Symbol("dartx.encoding"), + $cssText: dartx.cssText = Symbol("dartx.cssText"), + $parentRule: dartx.parentRule = Symbol("dartx.parentRule"), + $parentStyleSheet: dartx.parentStyleSheet = Symbol("dartx.parentStyleSheet"), + $conditionText: dartx.conditionText = Symbol("dartx.conditionText"), + $cssRules: dartx.cssRules = Symbol("dartx.cssRules"), + $deleteRule: dartx.deleteRule = Symbol("dartx.deleteRule"), + $insertRule: dartx.insertRule = Symbol("dartx.insertRule"), + $intrinsicHeight: dartx.intrinsicHeight = Symbol("dartx.intrinsicHeight"), + $intrinsicRatio: dartx.intrinsicRatio = Symbol("dartx.intrinsicRatio"), + $intrinsicWidth: dartx.intrinsicWidth = Symbol("dartx.intrinsicWidth"), + $media: dartx.media = Symbol("dartx.media"), + $styleSheet: dartx.styleSheet = Symbol("dartx.styleSheet"), + $keyText: dartx.keyText = Symbol("dartx.keyText"), + __getter__: dart.privateName(html$, "__getter__"), + $appendRule: dartx.appendRule = Symbol("dartx.appendRule"), + $findRule: dartx.findRule = Symbol("dartx.findRule"), + $matrix: dartx.matrix = Symbol("dartx.matrix"), + $is2D: dartx.is2D = Symbol("dartx.is2D"), + $prefix: dartx.prefix = Symbol("dartx.prefix"), + $div: dartx.div = Symbol("dartx.div"), + $mul: dartx.mul = Symbol("dartx.mul"), + $sub: dartx.sub = Symbol("dartx.sub"), + $to: dartx.to = Symbol("dartx.to"), + $selectorText: dartx.selectorText = Symbol("dartx.selectorText"), + $angle: dartx.angle = Symbol("dartx.angle"), + $ax: dartx.ax = Symbol("dartx.ax"), + $ay: dartx.ay = Symbol("dartx.ay"), + _getPropertyValueHelper: dart.privateName(html$, "_getPropertyValueHelper"), + $getPropertyValue: dartx.getPropertyValue = Symbol("dartx.getPropertyValue"), + _browserPropertyName: dart.privateName(html$, "_browserPropertyName"), + _getPropertyValue: dart.privateName(html$, "_getPropertyValue"), + _supportsProperty: dart.privateName(html$, "_supportsProperty"), + $supportsProperty: dartx.supportsProperty = Symbol("dartx.supportsProperty"), + _setPropertyHelper: dart.privateName(html$, "_setPropertyHelper"), + $setProperty: dartx.setProperty = Symbol("dartx.setProperty"), + _supportedBrowserPropertyName: dart.privateName(html$, "_supportedBrowserPropertyName"), + $cssFloat: dartx.cssFloat = Symbol("dartx.cssFloat"), + $getPropertyPriority: dartx.getPropertyPriority = Symbol("dartx.getPropertyPriority"), + $removeProperty: dartx.removeProperty = Symbol("dartx.removeProperty"), + _background: dart.privateName(html$, "_background"), + $background: dartx.background = Symbol("dartx.background"), + _backgroundAttachment: dart.privateName(html$, "_backgroundAttachment"), + $backgroundAttachment: dartx.backgroundAttachment = Symbol("dartx.backgroundAttachment"), + _backgroundColor: dart.privateName(html$, "_backgroundColor"), + $backgroundColor: dartx.backgroundColor = Symbol("dartx.backgroundColor"), + _backgroundImage: dart.privateName(html$, "_backgroundImage"), + $backgroundImage: dartx.backgroundImage = Symbol("dartx.backgroundImage"), + _backgroundPosition: dart.privateName(html$, "_backgroundPosition"), + $backgroundPosition: dartx.backgroundPosition = Symbol("dartx.backgroundPosition"), + _backgroundRepeat: dart.privateName(html$, "_backgroundRepeat"), + $backgroundRepeat: dartx.backgroundRepeat = Symbol("dartx.backgroundRepeat"), + _border: dart.privateName(html$, "_border"), + $border: dartx.border = Symbol("dartx.border"), + _borderBottom: dart.privateName(html$, "_borderBottom"), + $borderBottom: dartx.borderBottom = Symbol("dartx.borderBottom"), + _borderBottomColor: dart.privateName(html$, "_borderBottomColor"), + $borderBottomColor: dartx.borderBottomColor = Symbol("dartx.borderBottomColor"), + _borderBottomStyle: dart.privateName(html$, "_borderBottomStyle"), + $borderBottomStyle: dartx.borderBottomStyle = Symbol("dartx.borderBottomStyle"), + _borderBottomWidth: dart.privateName(html$, "_borderBottomWidth"), + $borderBottomWidth: dartx.borderBottomWidth = Symbol("dartx.borderBottomWidth"), + _borderCollapse: dart.privateName(html$, "_borderCollapse"), + $borderCollapse: dartx.borderCollapse = Symbol("dartx.borderCollapse"), + _borderColor: dart.privateName(html$, "_borderColor"), + $borderColor: dartx.borderColor = Symbol("dartx.borderColor"), + _borderLeft: dart.privateName(html$, "_borderLeft"), + $borderLeft: dartx.borderLeft = Symbol("dartx.borderLeft"), + _borderLeftColor: dart.privateName(html$, "_borderLeftColor"), + $borderLeftColor: dartx.borderLeftColor = Symbol("dartx.borderLeftColor"), + _borderLeftStyle: dart.privateName(html$, "_borderLeftStyle"), + $borderLeftStyle: dartx.borderLeftStyle = Symbol("dartx.borderLeftStyle"), + _borderLeftWidth: dart.privateName(html$, "_borderLeftWidth"), + $borderLeftWidth: dartx.borderLeftWidth = Symbol("dartx.borderLeftWidth"), + _borderRight: dart.privateName(html$, "_borderRight"), + $borderRight: dartx.borderRight = Symbol("dartx.borderRight"), + _borderRightColor: dart.privateName(html$, "_borderRightColor"), + $borderRightColor: dartx.borderRightColor = Symbol("dartx.borderRightColor"), + _borderRightStyle: dart.privateName(html$, "_borderRightStyle"), + $borderRightStyle: dartx.borderRightStyle = Symbol("dartx.borderRightStyle"), + _borderRightWidth: dart.privateName(html$, "_borderRightWidth") +}; +var S$0 = { + $borderRightWidth: dartx.borderRightWidth = Symbol("dartx.borderRightWidth"), + _borderSpacing: dart.privateName(html$, "_borderSpacing"), + $borderSpacing: dartx.borderSpacing = Symbol("dartx.borderSpacing"), + _borderStyle: dart.privateName(html$, "_borderStyle"), + $borderStyle: dartx.borderStyle = Symbol("dartx.borderStyle"), + _borderTop: dart.privateName(html$, "_borderTop"), + $borderTop: dartx.borderTop = Symbol("dartx.borderTop"), + _borderTopColor: dart.privateName(html$, "_borderTopColor"), + $borderTopColor: dartx.borderTopColor = Symbol("dartx.borderTopColor"), + _borderTopStyle: dart.privateName(html$, "_borderTopStyle"), + $borderTopStyle: dartx.borderTopStyle = Symbol("dartx.borderTopStyle"), + _borderTopWidth: dart.privateName(html$, "_borderTopWidth"), + $borderTopWidth: dartx.borderTopWidth = Symbol("dartx.borderTopWidth"), + _borderWidth: dart.privateName(html$, "_borderWidth"), + $borderWidth: dartx.borderWidth = Symbol("dartx.borderWidth"), + _bottom: dart.privateName(html$, "_bottom"), + _captionSide: dart.privateName(html$, "_captionSide"), + $captionSide: dartx.captionSide = Symbol("dartx.captionSide"), + _clear$3: dart.privateName(html$, "_clear"), + _clip: dart.privateName(html$, "_clip"), + _color: dart.privateName(html$, "_color"), + $color: dartx.color = Symbol("dartx.color"), + _content: dart.privateName(html$, "_content"), + $content: dartx.content = Symbol("dartx.content"), + _cursor: dart.privateName(html$, "_cursor"), + $cursor: dartx.cursor = Symbol("dartx.cursor"), + _direction: dart.privateName(html$, "_direction"), + _display: dart.privateName(html$, "_display"), + $display: dartx.display = Symbol("dartx.display"), + _emptyCells: dart.privateName(html$, "_emptyCells"), + $emptyCells: dartx.emptyCells = Symbol("dartx.emptyCells"), + _font: dart.privateName(html$, "_font"), + _fontFamily: dart.privateName(html$, "_fontFamily"), + $fontFamily: dartx.fontFamily = Symbol("dartx.fontFamily"), + _fontSize: dart.privateName(html$, "_fontSize"), + $fontSize: dartx.fontSize = Symbol("dartx.fontSize"), + _fontStyle: dart.privateName(html$, "_fontStyle"), + $fontStyle: dartx.fontStyle = Symbol("dartx.fontStyle"), + _fontVariant: dart.privateName(html$, "_fontVariant"), + $fontVariant: dartx.fontVariant = Symbol("dartx.fontVariant"), + _fontWeight: dart.privateName(html$, "_fontWeight"), + $fontWeight: dartx.fontWeight = Symbol("dartx.fontWeight"), + _height$1: dart.privateName(html$, "_height"), + _left$2: dart.privateName(html$, "_left"), + _letterSpacing: dart.privateName(html$, "_letterSpacing"), + $letterSpacing: dartx.letterSpacing = Symbol("dartx.letterSpacing"), + _lineHeight: dart.privateName(html$, "_lineHeight"), + $lineHeight: dartx.lineHeight = Symbol("dartx.lineHeight"), + _listStyle: dart.privateName(html$, "_listStyle"), + $listStyle: dartx.listStyle = Symbol("dartx.listStyle"), + _listStyleImage: dart.privateName(html$, "_listStyleImage"), + $listStyleImage: dartx.listStyleImage = Symbol("dartx.listStyleImage"), + _listStylePosition: dart.privateName(html$, "_listStylePosition"), + $listStylePosition: dartx.listStylePosition = Symbol("dartx.listStylePosition"), + _listStyleType: dart.privateName(html$, "_listStyleType"), + $listStyleType: dartx.listStyleType = Symbol("dartx.listStyleType"), + _margin: dart.privateName(html$, "_margin"), + $margin: dartx.margin = Symbol("dartx.margin"), + _marginBottom: dart.privateName(html$, "_marginBottom"), + $marginBottom: dartx.marginBottom = Symbol("dartx.marginBottom"), + _marginLeft: dart.privateName(html$, "_marginLeft"), + $marginLeft: dartx.marginLeft = Symbol("dartx.marginLeft"), + _marginRight: dart.privateName(html$, "_marginRight"), + $marginRight: dartx.marginRight = Symbol("dartx.marginRight"), + _marginTop: dart.privateName(html$, "_marginTop"), + $marginTop: dartx.marginTop = Symbol("dartx.marginTop"), + _maxHeight: dart.privateName(html$, "_maxHeight"), + $maxHeight: dartx.maxHeight = Symbol("dartx.maxHeight"), + _maxWidth: dart.privateName(html$, "_maxWidth"), + $maxWidth: dartx.maxWidth = Symbol("dartx.maxWidth"), + _minHeight: dart.privateName(html$, "_minHeight"), + $minHeight: dartx.minHeight = Symbol("dartx.minHeight"), + _minWidth: dart.privateName(html$, "_minWidth"), + $minWidth: dartx.minWidth = Symbol("dartx.minWidth"), + _outline: dart.privateName(html$, "_outline"), + $outline: dartx.outline = Symbol("dartx.outline"), + _outlineColor: dart.privateName(html$, "_outlineColor"), + $outlineColor: dartx.outlineColor = Symbol("dartx.outlineColor"), + _outlineStyle: dart.privateName(html$, "_outlineStyle"), + $outlineStyle: dartx.outlineStyle = Symbol("dartx.outlineStyle"), + _outlineWidth: dart.privateName(html$, "_outlineWidth"), + $outlineWidth: dartx.outlineWidth = Symbol("dartx.outlineWidth"), + _overflow: dart.privateName(html$, "_overflow"), + $overflow: dartx.overflow = Symbol("dartx.overflow"), + _padding: dart.privateName(html$, "_padding"), + $padding: dartx.padding = Symbol("dartx.padding"), + _paddingBottom: dart.privateName(html$, "_paddingBottom"), + $paddingBottom: dartx.paddingBottom = Symbol("dartx.paddingBottom"), + _paddingLeft: dart.privateName(html$, "_paddingLeft"), + $paddingLeft: dartx.paddingLeft = Symbol("dartx.paddingLeft"), + _paddingRight: dart.privateName(html$, "_paddingRight"), + $paddingRight: dartx.paddingRight = Symbol("dartx.paddingRight"), + _paddingTop: dart.privateName(html$, "_paddingTop"), + $paddingTop: dartx.paddingTop = Symbol("dartx.paddingTop"), + _pageBreakAfter: dart.privateName(html$, "_pageBreakAfter"), + $pageBreakAfter: dartx.pageBreakAfter = Symbol("dartx.pageBreakAfter"), + _pageBreakBefore: dart.privateName(html$, "_pageBreakBefore"), + $pageBreakBefore: dartx.pageBreakBefore = Symbol("dartx.pageBreakBefore"), + _pageBreakInside: dart.privateName(html$, "_pageBreakInside"), + $pageBreakInside: dartx.pageBreakInside = Symbol("dartx.pageBreakInside"), + _position$2: dart.privateName(html$, "_position"), + $position: dartx.position = Symbol("dartx.position"), + _quotes: dart.privateName(html$, "_quotes"), + $quotes: dartx.quotes = Symbol("dartx.quotes"), + _right$2: dart.privateName(html$, "_right"), + _tableLayout: dart.privateName(html$, "_tableLayout"), + $tableLayout: dartx.tableLayout = Symbol("dartx.tableLayout"), + _textAlign: dart.privateName(html$, "_textAlign"), + _textDecoration: dart.privateName(html$, "_textDecoration"), + $textDecoration: dartx.textDecoration = Symbol("dartx.textDecoration"), + _textIndent: dart.privateName(html$, "_textIndent"), + $textIndent: dartx.textIndent = Symbol("dartx.textIndent"), + _textTransform: dart.privateName(html$, "_textTransform"), + $textTransform: dartx.textTransform = Symbol("dartx.textTransform"), + _top: dart.privateName(html$, "_top"), + _unicodeBidi: dart.privateName(html$, "_unicodeBidi"), + $unicodeBidi: dartx.unicodeBidi = Symbol("dartx.unicodeBidi"), + _verticalAlign: dart.privateName(html$, "_verticalAlign"), + $verticalAlign: dartx.verticalAlign = Symbol("dartx.verticalAlign"), + _visibility: dart.privateName(html$, "_visibility"), + $visibility: dartx.visibility = Symbol("dartx.visibility"), + _whiteSpace: dart.privateName(html$, "_whiteSpace"), + $whiteSpace: dartx.whiteSpace = Symbol("dartx.whiteSpace"), + _width$1: dart.privateName(html$, "_width"), + _wordSpacing: dart.privateName(html$, "_wordSpacing"), + $wordSpacing: dartx.wordSpacing = Symbol("dartx.wordSpacing"), + _zIndex: dart.privateName(html$, "_zIndex"), + $zIndex: dartx.zIndex = Symbol("dartx.zIndex"), + $alignContent: dartx.alignContent = Symbol("dartx.alignContent"), + $alignItems: dartx.alignItems = Symbol("dartx.alignItems"), + $alignSelf: dartx.alignSelf = Symbol("dartx.alignSelf"), + $animation: dartx.animation = Symbol("dartx.animation"), + $animationDelay: dartx.animationDelay = Symbol("dartx.animationDelay"), + $animationDirection: dartx.animationDirection = Symbol("dartx.animationDirection"), + $animationDuration: dartx.animationDuration = Symbol("dartx.animationDuration"), + $animationFillMode: dartx.animationFillMode = Symbol("dartx.animationFillMode"), + $animationIterationCount: dartx.animationIterationCount = Symbol("dartx.animationIterationCount"), + $animationPlayState: dartx.animationPlayState = Symbol("dartx.animationPlayState"), + $animationTimingFunction: dartx.animationTimingFunction = Symbol("dartx.animationTimingFunction"), + $appRegion: dartx.appRegion = Symbol("dartx.appRegion"), + $appearance: dartx.appearance = Symbol("dartx.appearance"), + $aspectRatio: dartx.aspectRatio = Symbol("dartx.aspectRatio"), + $backfaceVisibility: dartx.backfaceVisibility = Symbol("dartx.backfaceVisibility"), + $backgroundBlendMode: dartx.backgroundBlendMode = Symbol("dartx.backgroundBlendMode"), + $backgroundClip: dartx.backgroundClip = Symbol("dartx.backgroundClip"), + $backgroundComposite: dartx.backgroundComposite = Symbol("dartx.backgroundComposite"), + $backgroundOrigin: dartx.backgroundOrigin = Symbol("dartx.backgroundOrigin"), + $backgroundPositionX: dartx.backgroundPositionX = Symbol("dartx.backgroundPositionX"), + $backgroundPositionY: dartx.backgroundPositionY = Symbol("dartx.backgroundPositionY"), + $backgroundRepeatX: dartx.backgroundRepeatX = Symbol("dartx.backgroundRepeatX"), + $backgroundRepeatY: dartx.backgroundRepeatY = Symbol("dartx.backgroundRepeatY"), + $backgroundSize: dartx.backgroundSize = Symbol("dartx.backgroundSize"), + $borderAfter: dartx.borderAfter = Symbol("dartx.borderAfter"), + $borderAfterColor: dartx.borderAfterColor = Symbol("dartx.borderAfterColor"), + $borderAfterStyle: dartx.borderAfterStyle = Symbol("dartx.borderAfterStyle"), + $borderAfterWidth: dartx.borderAfterWidth = Symbol("dartx.borderAfterWidth"), + $borderBefore: dartx.borderBefore = Symbol("dartx.borderBefore"), + $borderBeforeColor: dartx.borderBeforeColor = Symbol("dartx.borderBeforeColor"), + $borderBeforeStyle: dartx.borderBeforeStyle = Symbol("dartx.borderBeforeStyle"), + $borderBeforeWidth: dartx.borderBeforeWidth = Symbol("dartx.borderBeforeWidth"), + $borderBottomLeftRadius: dartx.borderBottomLeftRadius = Symbol("dartx.borderBottomLeftRadius"), + $borderBottomRightRadius: dartx.borderBottomRightRadius = Symbol("dartx.borderBottomRightRadius"), + $borderEnd: dartx.borderEnd = Symbol("dartx.borderEnd"), + $borderEndColor: dartx.borderEndColor = Symbol("dartx.borderEndColor"), + $borderEndStyle: dartx.borderEndStyle = Symbol("dartx.borderEndStyle"), + $borderEndWidth: dartx.borderEndWidth = Symbol("dartx.borderEndWidth"), + $borderFit: dartx.borderFit = Symbol("dartx.borderFit"), + $borderHorizontalSpacing: dartx.borderHorizontalSpacing = Symbol("dartx.borderHorizontalSpacing"), + $borderImage: dartx.borderImage = Symbol("dartx.borderImage"), + $borderImageOutset: dartx.borderImageOutset = Symbol("dartx.borderImageOutset"), + $borderImageRepeat: dartx.borderImageRepeat = Symbol("dartx.borderImageRepeat"), + $borderImageSlice: dartx.borderImageSlice = Symbol("dartx.borderImageSlice"), + $borderImageSource: dartx.borderImageSource = Symbol("dartx.borderImageSource"), + $borderImageWidth: dartx.borderImageWidth = Symbol("dartx.borderImageWidth"), + $borderRadius: dartx.borderRadius = Symbol("dartx.borderRadius"), + $borderStart: dartx.borderStart = Symbol("dartx.borderStart"), + $borderStartColor: dartx.borderStartColor = Symbol("dartx.borderStartColor"), + $borderStartStyle: dartx.borderStartStyle = Symbol("dartx.borderStartStyle"), + $borderStartWidth: dartx.borderStartWidth = Symbol("dartx.borderStartWidth"), + $borderTopLeftRadius: dartx.borderTopLeftRadius = Symbol("dartx.borderTopLeftRadius"), + $borderTopRightRadius: dartx.borderTopRightRadius = Symbol("dartx.borderTopRightRadius"), + $borderVerticalSpacing: dartx.borderVerticalSpacing = Symbol("dartx.borderVerticalSpacing"), + $boxAlign: dartx.boxAlign = Symbol("dartx.boxAlign"), + $boxDecorationBreak: dartx.boxDecorationBreak = Symbol("dartx.boxDecorationBreak"), + $boxDirection: dartx.boxDirection = Symbol("dartx.boxDirection"), + $boxFlex: dartx.boxFlex = Symbol("dartx.boxFlex"), + $boxFlexGroup: dartx.boxFlexGroup = Symbol("dartx.boxFlexGroup"), + $boxLines: dartx.boxLines = Symbol("dartx.boxLines"), + $boxOrdinalGroup: dartx.boxOrdinalGroup = Symbol("dartx.boxOrdinalGroup"), + $boxOrient: dartx.boxOrient = Symbol("dartx.boxOrient"), + $boxPack: dartx.boxPack = Symbol("dartx.boxPack"), + $boxReflect: dartx.boxReflect = Symbol("dartx.boxReflect"), + $boxShadow: dartx.boxShadow = Symbol("dartx.boxShadow"), + $boxSizing: dartx.boxSizing = Symbol("dartx.boxSizing"), + $clipPath: dartx.clipPath = Symbol("dartx.clipPath"), + $columnBreakAfter: dartx.columnBreakAfter = Symbol("dartx.columnBreakAfter"), + $columnBreakBefore: dartx.columnBreakBefore = Symbol("dartx.columnBreakBefore"), + $columnBreakInside: dartx.columnBreakInside = Symbol("dartx.columnBreakInside"), + $columnCount: dartx.columnCount = Symbol("dartx.columnCount"), + $columnFill: dartx.columnFill = Symbol("dartx.columnFill"), + $columnGap: dartx.columnGap = Symbol("dartx.columnGap"), + $columnRule: dartx.columnRule = Symbol("dartx.columnRule"), + $columnRuleColor: dartx.columnRuleColor = Symbol("dartx.columnRuleColor"), + $columnRuleStyle: dartx.columnRuleStyle = Symbol("dartx.columnRuleStyle"), + $columnRuleWidth: dartx.columnRuleWidth = Symbol("dartx.columnRuleWidth"), + $columnSpan: dartx.columnSpan = Symbol("dartx.columnSpan"), + $columnWidth: dartx.columnWidth = Symbol("dartx.columnWidth"), + $columns: dartx.columns = Symbol("dartx.columns"), + $counterIncrement: dartx.counterIncrement = Symbol("dartx.counterIncrement"), + $counterReset: dartx.counterReset = Symbol("dartx.counterReset"), + $flex: dartx.flex = Symbol("dartx.flex"), + $flexBasis: dartx.flexBasis = Symbol("dartx.flexBasis"), + $flexDirection: dartx.flexDirection = Symbol("dartx.flexDirection"), + $flexFlow: dartx.flexFlow = Symbol("dartx.flexFlow"), + $flexGrow: dartx.flexGrow = Symbol("dartx.flexGrow"), + $flexShrink: dartx.flexShrink = Symbol("dartx.flexShrink"), + $flexWrap: dartx.flexWrap = Symbol("dartx.flexWrap"), + $float: dartx.float = Symbol("dartx.float"), + $fontFeatureSettings: dartx.fontFeatureSettings = Symbol("dartx.fontFeatureSettings"), + $fontKerning: dartx.fontKerning = Symbol("dartx.fontKerning"), + $fontSizeDelta: dartx.fontSizeDelta = Symbol("dartx.fontSizeDelta"), + $fontSmoothing: dartx.fontSmoothing = Symbol("dartx.fontSmoothing"), + $fontStretch: dartx.fontStretch = Symbol("dartx.fontStretch"), + $fontVariantLigatures: dartx.fontVariantLigatures = Symbol("dartx.fontVariantLigatures"), + $grid: dartx.grid = Symbol("dartx.grid"), + $gridArea: dartx.gridArea = Symbol("dartx.gridArea"), + $gridAutoColumns: dartx.gridAutoColumns = Symbol("dartx.gridAutoColumns"), + $gridAutoFlow: dartx.gridAutoFlow = Symbol("dartx.gridAutoFlow"), + $gridAutoRows: dartx.gridAutoRows = Symbol("dartx.gridAutoRows"), + $gridColumn: dartx.gridColumn = Symbol("dartx.gridColumn"), + $gridColumnEnd: dartx.gridColumnEnd = Symbol("dartx.gridColumnEnd"), + $gridColumnStart: dartx.gridColumnStart = Symbol("dartx.gridColumnStart"), + $gridRow: dartx.gridRow = Symbol("dartx.gridRow"), + $gridRowEnd: dartx.gridRowEnd = Symbol("dartx.gridRowEnd"), + $gridRowStart: dartx.gridRowStart = Symbol("dartx.gridRowStart"), + $gridTemplate: dartx.gridTemplate = Symbol("dartx.gridTemplate"), + $gridTemplateAreas: dartx.gridTemplateAreas = Symbol("dartx.gridTemplateAreas"), + $gridTemplateColumns: dartx.gridTemplateColumns = Symbol("dartx.gridTemplateColumns"), + $gridTemplateRows: dartx.gridTemplateRows = Symbol("dartx.gridTemplateRows"), + $highlight: dartx.highlight = Symbol("dartx.highlight"), + $hyphenateCharacter: dartx.hyphenateCharacter = Symbol("dartx.hyphenateCharacter"), + $imageRendering: dartx.imageRendering = Symbol("dartx.imageRendering"), + $isolation: dartx.isolation = Symbol("dartx.isolation"), + $justifyContent: dartx.justifyContent = Symbol("dartx.justifyContent"), + $justifySelf: dartx.justifySelf = Symbol("dartx.justifySelf"), + $lineBoxContain: dartx.lineBoxContain = Symbol("dartx.lineBoxContain"), + $lineBreak: dartx.lineBreak = Symbol("dartx.lineBreak"), + $lineClamp: dartx.lineClamp = Symbol("dartx.lineClamp"), + $locale: dartx.locale = Symbol("dartx.locale"), + $logicalHeight: dartx.logicalHeight = Symbol("dartx.logicalHeight"), + $logicalWidth: dartx.logicalWidth = Symbol("dartx.logicalWidth"), + $marginAfter: dartx.marginAfter = Symbol("dartx.marginAfter"), + $marginAfterCollapse: dartx.marginAfterCollapse = Symbol("dartx.marginAfterCollapse"), + $marginBefore: dartx.marginBefore = Symbol("dartx.marginBefore"), + $marginBeforeCollapse: dartx.marginBeforeCollapse = Symbol("dartx.marginBeforeCollapse"), + $marginBottomCollapse: dartx.marginBottomCollapse = Symbol("dartx.marginBottomCollapse"), + $marginCollapse: dartx.marginCollapse = Symbol("dartx.marginCollapse"), + $marginEnd: dartx.marginEnd = Symbol("dartx.marginEnd"), + $marginStart: dartx.marginStart = Symbol("dartx.marginStart"), + $marginTopCollapse: dartx.marginTopCollapse = Symbol("dartx.marginTopCollapse"), + $mask: dartx.mask = Symbol("dartx.mask"), + $maskBoxImage: dartx.maskBoxImage = Symbol("dartx.maskBoxImage"), + $maskBoxImageOutset: dartx.maskBoxImageOutset = Symbol("dartx.maskBoxImageOutset"), + $maskBoxImageRepeat: dartx.maskBoxImageRepeat = Symbol("dartx.maskBoxImageRepeat"), + $maskBoxImageSlice: dartx.maskBoxImageSlice = Symbol("dartx.maskBoxImageSlice"), + $maskBoxImageSource: dartx.maskBoxImageSource = Symbol("dartx.maskBoxImageSource"), + $maskBoxImageWidth: dartx.maskBoxImageWidth = Symbol("dartx.maskBoxImageWidth"), + $maskClip: dartx.maskClip = Symbol("dartx.maskClip"), + $maskComposite: dartx.maskComposite = Symbol("dartx.maskComposite"), + $maskImage: dartx.maskImage = Symbol("dartx.maskImage"), + $maskOrigin: dartx.maskOrigin = Symbol("dartx.maskOrigin"), + $maskPosition: dartx.maskPosition = Symbol("dartx.maskPosition"), + $maskPositionX: dartx.maskPositionX = Symbol("dartx.maskPositionX"), + $maskPositionY: dartx.maskPositionY = Symbol("dartx.maskPositionY"), + $maskRepeat: dartx.maskRepeat = Symbol("dartx.maskRepeat"), + $maskRepeatX: dartx.maskRepeatX = Symbol("dartx.maskRepeatX"), + $maskRepeatY: dartx.maskRepeatY = Symbol("dartx.maskRepeatY"), + $maskSize: dartx.maskSize = Symbol("dartx.maskSize"), + $maskSourceType: dartx.maskSourceType = Symbol("dartx.maskSourceType"), + $maxLogicalHeight: dartx.maxLogicalHeight = Symbol("dartx.maxLogicalHeight"), + $maxLogicalWidth: dartx.maxLogicalWidth = Symbol("dartx.maxLogicalWidth"), + $maxZoom: dartx.maxZoom = Symbol("dartx.maxZoom"), + $minLogicalHeight: dartx.minLogicalHeight = Symbol("dartx.minLogicalHeight"), + $minLogicalWidth: dartx.minLogicalWidth = Symbol("dartx.minLogicalWidth"), + $minZoom: dartx.minZoom = Symbol("dartx.minZoom"), + $mixBlendMode: dartx.mixBlendMode = Symbol("dartx.mixBlendMode"), + $objectFit: dartx.objectFit = Symbol("dartx.objectFit"), + $objectPosition: dartx.objectPosition = Symbol("dartx.objectPosition"), + $opacity: dartx.opacity = Symbol("dartx.opacity"), + $order: dartx.order = Symbol("dartx.order"), + $orphans: dartx.orphans = Symbol("dartx.orphans"), + $outlineOffset: dartx.outlineOffset = Symbol("dartx.outlineOffset"), + $overflowWrap: dartx.overflowWrap = Symbol("dartx.overflowWrap"), + $overflowX: dartx.overflowX = Symbol("dartx.overflowX"), + $overflowY: dartx.overflowY = Symbol("dartx.overflowY"), + $paddingAfter: dartx.paddingAfter = Symbol("dartx.paddingAfter"), + $paddingBefore: dartx.paddingBefore = Symbol("dartx.paddingBefore"), + $paddingEnd: dartx.paddingEnd = Symbol("dartx.paddingEnd"), + $paddingStart: dartx.paddingStart = Symbol("dartx.paddingStart"), + $page: dartx.page = Symbol("dartx.page"), + $perspective: dartx.perspective = Symbol("dartx.perspective"), + $perspectiveOrigin: dartx.perspectiveOrigin = Symbol("dartx.perspectiveOrigin"), + $perspectiveOriginX: dartx.perspectiveOriginX = Symbol("dartx.perspectiveOriginX"), + $perspectiveOriginY: dartx.perspectiveOriginY = Symbol("dartx.perspectiveOriginY"), + $pointerEvents: dartx.pointerEvents = Symbol("dartx.pointerEvents"), + $printColorAdjust: dartx.printColorAdjust = Symbol("dartx.printColorAdjust"), + $resize: dartx.resize = Symbol("dartx.resize"), + $rtlOrdering: dartx.rtlOrdering = Symbol("dartx.rtlOrdering"), + $rubyPosition: dartx.rubyPosition = Symbol("dartx.rubyPosition"), + $scrollBehavior: dartx.scrollBehavior = Symbol("dartx.scrollBehavior"), + $shapeImageThreshold: dartx.shapeImageThreshold = Symbol("dartx.shapeImageThreshold"), + $shapeMargin: dartx.shapeMargin = Symbol("dartx.shapeMargin"), + $shapeOutside: dartx.shapeOutside = Symbol("dartx.shapeOutside"), + $speak: dartx.speak = Symbol("dartx.speak"), + $tabSize: dartx.tabSize = Symbol("dartx.tabSize"), + $tapHighlightColor: dartx.tapHighlightColor = Symbol("dartx.tapHighlightColor"), + $textAlignLast: dartx.textAlignLast = Symbol("dartx.textAlignLast"), + $textCombine: dartx.textCombine = Symbol("dartx.textCombine"), + $textDecorationColor: dartx.textDecorationColor = Symbol("dartx.textDecorationColor"), + $textDecorationLine: dartx.textDecorationLine = Symbol("dartx.textDecorationLine"), + $textDecorationStyle: dartx.textDecorationStyle = Symbol("dartx.textDecorationStyle"), + $textDecorationsInEffect: dartx.textDecorationsInEffect = Symbol("dartx.textDecorationsInEffect"), + $textEmphasis: dartx.textEmphasis = Symbol("dartx.textEmphasis"), + $textEmphasisColor: dartx.textEmphasisColor = Symbol("dartx.textEmphasisColor"), + $textEmphasisPosition: dartx.textEmphasisPosition = Symbol("dartx.textEmphasisPosition"), + $textEmphasisStyle: dartx.textEmphasisStyle = Symbol("dartx.textEmphasisStyle"), + $textFillColor: dartx.textFillColor = Symbol("dartx.textFillColor"), + $textJustify: dartx.textJustify = Symbol("dartx.textJustify"), + $textLineThroughColor: dartx.textLineThroughColor = Symbol("dartx.textLineThroughColor"), + $textLineThroughMode: dartx.textLineThroughMode = Symbol("dartx.textLineThroughMode"), + $textLineThroughStyle: dartx.textLineThroughStyle = Symbol("dartx.textLineThroughStyle"), + $textLineThroughWidth: dartx.textLineThroughWidth = Symbol("dartx.textLineThroughWidth"), + $textOrientation: dartx.textOrientation = Symbol("dartx.textOrientation"), + $textOverflow: dartx.textOverflow = Symbol("dartx.textOverflow"), + $textOverlineColor: dartx.textOverlineColor = Symbol("dartx.textOverlineColor"), + $textOverlineMode: dartx.textOverlineMode = Symbol("dartx.textOverlineMode"), + $textOverlineStyle: dartx.textOverlineStyle = Symbol("dartx.textOverlineStyle"), + $textOverlineWidth: dartx.textOverlineWidth = Symbol("dartx.textOverlineWidth"), + $textRendering: dartx.textRendering = Symbol("dartx.textRendering"), + $textSecurity: dartx.textSecurity = Symbol("dartx.textSecurity"), + $textShadow: dartx.textShadow = Symbol("dartx.textShadow"), + $textStroke: dartx.textStroke = Symbol("dartx.textStroke"), + $textStrokeColor: dartx.textStrokeColor = Symbol("dartx.textStrokeColor"), + $textStrokeWidth: dartx.textStrokeWidth = Symbol("dartx.textStrokeWidth"), + $textUnderlineColor: dartx.textUnderlineColor = Symbol("dartx.textUnderlineColor"), + $textUnderlineMode: dartx.textUnderlineMode = Symbol("dartx.textUnderlineMode"), + $textUnderlinePosition: dartx.textUnderlinePosition = Symbol("dartx.textUnderlinePosition"), + $textUnderlineStyle: dartx.textUnderlineStyle = Symbol("dartx.textUnderlineStyle"), + $textUnderlineWidth: dartx.textUnderlineWidth = Symbol("dartx.textUnderlineWidth"), + $touchAction: dartx.touchAction = Symbol("dartx.touchAction"), + $touchActionDelay: dartx.touchActionDelay = Symbol("dartx.touchActionDelay"), + $transformOrigin: dartx.transformOrigin = Symbol("dartx.transformOrigin"), + $transformOriginX: dartx.transformOriginX = Symbol("dartx.transformOriginX"), + $transformOriginY: dartx.transformOriginY = Symbol("dartx.transformOriginY"), + $transformOriginZ: dartx.transformOriginZ = Symbol("dartx.transformOriginZ"), + $transformStyle: dartx.transformStyle = Symbol("dartx.transformStyle"), + $transition: dartx.transition = Symbol("dartx.transition"), + $transitionDelay: dartx.transitionDelay = Symbol("dartx.transitionDelay"), + $transitionDuration: dartx.transitionDuration = Symbol("dartx.transitionDuration"), + $transitionProperty: dartx.transitionProperty = Symbol("dartx.transitionProperty"), + $transitionTimingFunction: dartx.transitionTimingFunction = Symbol("dartx.transitionTimingFunction"), + $unicodeRange: dartx.unicodeRange = Symbol("dartx.unicodeRange"), + $userDrag: dartx.userDrag = Symbol("dartx.userDrag"), + $userModify: dartx.userModify = Symbol("dartx.userModify"), + $userSelect: dartx.userSelect = Symbol("dartx.userSelect"), + $userZoom: dartx.userZoom = Symbol("dartx.userZoom"), + $widows: dartx.widows = Symbol("dartx.widows"), + $willChange: dartx.willChange = Symbol("dartx.willChange"), + $wordBreak: dartx.wordBreak = Symbol("dartx.wordBreak"), + $wordWrap: dartx.wordWrap = Symbol("dartx.wordWrap"), + $wrapFlow: dartx.wrapFlow = Symbol("dartx.wrapFlow"), + $wrapThrough: dartx.wrapThrough = Symbol("dartx.wrapThrough"), + $writingMode: dartx.writingMode = Symbol("dartx.writingMode"), + $zoom: dartx.zoom = Symbol("dartx.zoom"), + _elementCssStyleDeclarationSetIterable: dart.privateName(html$, "_elementCssStyleDeclarationSetIterable"), + _elementIterable: dart.privateName(html$, "_elementIterable"), + _setAll: dart.privateName(html$, "_setAll"), + $ownerRule: dartx.ownerRule = Symbol("dartx.ownerRule"), + $rules: dartx.rules = Symbol("dartx.rules"), + $addRule: dartx.addRule = Symbol("dartx.addRule"), + $removeRule: dartx.removeRule = Symbol("dartx.removeRule"), + $ownerNode: dartx.ownerNode = Symbol("dartx.ownerNode"), + $componentAtIndex: dartx.componentAtIndex = Symbol("dartx.componentAtIndex"), + $toMatrix: dartx.toMatrix = Symbol("dartx.toMatrix"), + $unit: dartx.unit = Symbol("dartx.unit"), + $fragmentAtIndex: dartx.fragmentAtIndex = Symbol("dartx.fragmentAtIndex"), + $fallback: dartx.fallback = Symbol("dartx.fallback"), + $variable: dartx.variable = Symbol("dartx.variable"), + _define_1: dart.privateName(html$, "_define_1"), + _define_2: dart.privateName(html$, "_define_2"), + $define: dartx.define = Symbol("dartx.define"), + $whenDefined: dartx.whenDefined = Symbol("dartx.whenDefined"), + _dartDetail: dart.privateName(html$, "_dartDetail"), + _initCustomEvent: dart.privateName(html$, "_initCustomEvent"), + _detail: dart.privateName(html$, "_detail"), + _get__detail: dart.privateName(html$, "_get__detail"), + $options: dartx.options = Symbol("dartx.options"), + $dropEffect: dartx.dropEffect = Symbol("dartx.dropEffect"), + $effectAllowed: dartx.effectAllowed = Symbol("dartx.effectAllowed"), + $files: dartx.files = Symbol("dartx.files"), + $items: dartx.items = Symbol("dartx.items"), + $types: dartx.types = Symbol("dartx.types"), + $clearData: dartx.clearData = Symbol("dartx.clearData"), + $getData: dartx.getData = Symbol("dartx.getData"), + $setData: dartx.setData = Symbol("dartx.setData"), + $setDragImage: dartx.setDragImage = Symbol("dartx.setDragImage"), + _webkitGetAsEntry: dart.privateName(html$, "_webkitGetAsEntry"), + $getAsEntry: dartx.getAsEntry = Symbol("dartx.getAsEntry"), + $getAsFile: dartx.getAsFile = Symbol("dartx.getAsFile"), + $addData: dartx.addData = Symbol("dartx.addData"), + $addFile: dartx.addFile = Symbol("dartx.addFile"), + _postMessage_1: dart.privateName(html$, "_postMessage_1"), + _postMessage_2: dart.privateName(html$, "_postMessage_2"), + _webkitRequestFileSystem: dart.privateName(html$, "_webkitRequestFileSystem"), + $requestFileSystemSync: dartx.requestFileSystemSync = Symbol("dartx.requestFileSystemSync"), + $resolveLocalFileSystemSyncUrl: dartx.resolveLocalFileSystemSyncUrl = Symbol("dartx.resolveLocalFileSystemSyncUrl"), + _webkitResolveLocalFileSystemUrl: dart.privateName(html$, "_webkitResolveLocalFileSystemUrl"), + $addressSpace: dartx.addressSpace = Symbol("dartx.addressSpace"), + $caches: dartx.caches = Symbol("dartx.caches"), + $crypto: dartx.crypto = Symbol("dartx.crypto"), + $indexedDB: dartx.indexedDB = Symbol("dartx.indexedDB"), + $isSecureContext: dartx.isSecureContext = Symbol("dartx.isSecureContext"), + $location: dartx.location = Symbol("dartx.location"), + $navigator: dartx.navigator = Symbol("dartx.navigator"), + $performance: dartx.performance = Symbol("dartx.performance"), + $self: dartx.self = Symbol("dartx.self"), + $importScripts: dartx.importScripts = Symbol("dartx.importScripts"), + $atob: dartx.atob = Symbol("dartx.atob"), + $btoa: dartx.btoa = Symbol("dartx.btoa"), + _setInterval_String: dart.privateName(html$, "_setInterval_String"), + _setTimeout_String: dart.privateName(html$, "_setTimeout_String"), + _clearInterval: dart.privateName(html$, "_clearInterval"), + _clearTimeout: dart.privateName(html$, "_clearTimeout"), + _setInterval: dart.privateName(html$, "_setInterval"), + _setTimeout: dart.privateName(html$, "_setTimeout"), + $queryUsageAndQuota: dartx.queryUsageAndQuota = Symbol("dartx.queryUsageAndQuota"), + $requestQuota: dartx.requestQuota = Symbol("dartx.requestQuota"), + $lineNumber: dartx.lineNumber = Symbol("dartx.lineNumber"), + $sourceFile: dartx.sourceFile = Symbol("dartx.sourceFile"), + $cornerPoints: dartx.cornerPoints = Symbol("dartx.cornerPoints"), + $rawValue: dartx.rawValue = Symbol("dartx.rawValue"), + $landmarks: dartx.landmarks = Symbol("dartx.landmarks"), + $acceleration: dartx.acceleration = Symbol("dartx.acceleration"), + $accelerationIncludingGravity: dartx.accelerationIncludingGravity = Symbol("dartx.accelerationIncludingGravity"), + $interval: dartx.interval = Symbol("dartx.interval"), + $rotationRate: dartx.rotationRate = Symbol("dartx.rotationRate"), + $absolute: dartx.absolute = Symbol("dartx.absolute"), + $alpha: dartx.alpha = Symbol("dartx.alpha"), + $beta: dartx.beta = Symbol("dartx.beta"), + $gamma: dartx.gamma = Symbol("dartx.gamma"), + $show: dartx.show = Symbol("dartx.show"), + $showModal: dartx.showModal = Symbol("dartx.showModal"), + _getDirectory: dart.privateName(html$, "_getDirectory"), + $createDirectory: dartx.createDirectory = Symbol("dartx.createDirectory"), + _createReader: dart.privateName(html$, "_createReader"), + $createReader: dartx.createReader = Symbol("dartx.createReader"), + $getDirectory: dartx.getDirectory = Symbol("dartx.getDirectory"), + _getFile: dart.privateName(html$, "_getFile"), + $createFile: dartx.createFile = Symbol("dartx.createFile"), + $getFile: dartx.getFile = Symbol("dartx.getFile"), + __getDirectory_1: dart.privateName(html$, "__getDirectory_1"), + __getDirectory_2: dart.privateName(html$, "__getDirectory_2"), + __getDirectory_3: dart.privateName(html$, "__getDirectory_3"), + __getDirectory_4: dart.privateName(html$, "__getDirectory_4"), + __getDirectory: dart.privateName(html$, "__getDirectory"), + __getFile_1: dart.privateName(html$, "__getFile_1"), + __getFile_2: dart.privateName(html$, "__getFile_2"), + __getFile_3: dart.privateName(html$, "__getFile_3"), + __getFile_4: dart.privateName(html$, "__getFile_4"), + __getFile: dart.privateName(html$, "__getFile"), + _removeRecursively: dart.privateName(html$, "_removeRecursively"), + $removeRecursively: dartx.removeRecursively = Symbol("dartx.removeRecursively"), + $filesystem: dartx.filesystem = Symbol("dartx.filesystem"), + $fullPath: dartx.fullPath = Symbol("dartx.fullPath"), + $isDirectory: dartx.isDirectory = Symbol("dartx.isDirectory"), + $isFile: dartx.isFile = Symbol("dartx.isFile"), + _copyTo: dart.privateName(html$, "_copyTo"), + $copyTo: dartx.copyTo = Symbol("dartx.copyTo"), + _getMetadata: dart.privateName(html$, "_getMetadata"), + $getMetadata: dartx.getMetadata = Symbol("dartx.getMetadata"), + _getParent: dart.privateName(html$, "_getParent"), + $getParent: dartx.getParent = Symbol("dartx.getParent"), + _moveTo: dart.privateName(html$, "_moveTo"), + _remove$1: dart.privateName(html$, "_remove"), + $toUrl: dartx.toUrl = Symbol("dartx.toUrl"), + _readEntries: dart.privateName(html$, "_readEntries"), + $readEntries: dartx.readEntries = Symbol("dartx.readEntries"), + _body: dart.privateName(html$, "_body"), + $contentType: dartx.contentType = Symbol("dartx.contentType"), + $cookie: dartx.cookie = Symbol("dartx.cookie"), + $currentScript: dartx.currentScript = Symbol("dartx.currentScript"), + _get_window: dart.privateName(html$, "_get_window"), + $window: dartx.window = Symbol("dartx.window"), + $documentElement: dartx.documentElement = Symbol("dartx.documentElement"), + $domain: dartx.domain = Symbol("dartx.domain"), + $fullscreenEnabled: dartx.fullscreenEnabled = Symbol("dartx.fullscreenEnabled"), + _head$1: dart.privateName(html$, "_head"), + $implementation: dartx.implementation = Symbol("dartx.implementation"), + _lastModified: dart.privateName(html$, "_lastModified"), + _preferredStylesheetSet: dart.privateName(html$, "_preferredStylesheetSet") +}; +var S$1 = { + _referrer: dart.privateName(html$, "_referrer"), + $rootElement: dartx.rootElement = Symbol("dartx.rootElement"), + $rootScroller: dartx.rootScroller = Symbol("dartx.rootScroller"), + $scrollingElement: dartx.scrollingElement = Symbol("dartx.scrollingElement"), + _selectedStylesheetSet: dart.privateName(html$, "_selectedStylesheetSet"), + $suborigin: dartx.suborigin = Symbol("dartx.suborigin"), + _title: dart.privateName(html$, "_title"), + _visibilityState: dart.privateName(html$, "_visibilityState"), + _webkitFullscreenElement: dart.privateName(html$, "_webkitFullscreenElement"), + _webkitFullscreenEnabled: dart.privateName(html$, "_webkitFullscreenEnabled"), + _webkitHidden: dart.privateName(html$, "_webkitHidden"), + _webkitVisibilityState: dart.privateName(html$, "_webkitVisibilityState"), + $adoptNode: dartx.adoptNode = Symbol("dartx.adoptNode"), + _caretRangeFromPoint: dart.privateName(html$, "_caretRangeFromPoint"), + $createDocumentFragment: dartx.createDocumentFragment = Symbol("dartx.createDocumentFragment"), + _createElement: dart.privateName(html$, "_createElement"), + _createElementNS: dart.privateName(html$, "_createElementNS"), + $createRange: dartx.createRange = Symbol("dartx.createRange"), + _createTextNode: dart.privateName(html$, "_createTextNode"), + _createTouch_1: dart.privateName(html$, "_createTouch_1"), + _createTouch_2: dart.privateName(html$, "_createTouch_2"), + _createTouch_3: dart.privateName(html$, "_createTouch_3"), + _createTouch_4: dart.privateName(html$, "_createTouch_4"), + _createTouch_5: dart.privateName(html$, "_createTouch_5"), + _createTouch: dart.privateName(html$, "_createTouch"), + _createTouchList: dart.privateName(html$, "_createTouchList"), + $execCommand: dartx.execCommand = Symbol("dartx.execCommand"), + $exitFullscreen: dartx.exitFullscreen = Symbol("dartx.exitFullscreen"), + $exitPointerLock: dartx.exitPointerLock = Symbol("dartx.exitPointerLock"), + $getElementsByName: dartx.getElementsByName = Symbol("dartx.getElementsByName"), + $getElementsByTagName: dartx.getElementsByTagName = Symbol("dartx.getElementsByTagName"), + $importNode: dartx.importNode = Symbol("dartx.importNode"), + $queryCommandEnabled: dartx.queryCommandEnabled = Symbol("dartx.queryCommandEnabled"), + $queryCommandIndeterm: dartx.queryCommandIndeterm = Symbol("dartx.queryCommandIndeterm"), + $queryCommandState: dartx.queryCommandState = Symbol("dartx.queryCommandState"), + $queryCommandSupported: dartx.queryCommandSupported = Symbol("dartx.queryCommandSupported"), + $queryCommandValue: dartx.queryCommandValue = Symbol("dartx.queryCommandValue"), + _registerElement2_1: dart.privateName(html$, "_registerElement2_1"), + _registerElement2_2: dart.privateName(html$, "_registerElement2_2"), + $registerElement2: dartx.registerElement2 = Symbol("dartx.registerElement2"), + _webkitExitFullscreen: dart.privateName(html$, "_webkitExitFullscreen"), + $getElementById: dartx.getElementById = Symbol("dartx.getElementById"), + $activeElement: dartx.activeElement = Symbol("dartx.activeElement"), + $fullscreenElement: dartx.fullscreenElement = Symbol("dartx.fullscreenElement"), + $pointerLockElement: dartx.pointerLockElement = Symbol("dartx.pointerLockElement"), + _styleSheets: dart.privateName(html$, "_styleSheets"), + _elementFromPoint: dart.privateName(html$, "_elementFromPoint"), + $elementsFromPoint: dartx.elementsFromPoint = Symbol("dartx.elementsFromPoint"), + $fonts: dartx.fonts = Symbol("dartx.fonts"), + $onPointerLockChange: dartx.onPointerLockChange = Symbol("dartx.onPointerLockChange"), + $onPointerLockError: dartx.onPointerLockError = Symbol("dartx.onPointerLockError"), + $onReadyStateChange: dartx.onReadyStateChange = Symbol("dartx.onReadyStateChange"), + $onSecurityPolicyViolation: dartx.onSecurityPolicyViolation = Symbol("dartx.onSecurityPolicyViolation"), + $onSelectionChange: dartx.onSelectionChange = Symbol("dartx.onSelectionChange"), + $supportsRegisterElement: dartx.supportsRegisterElement = Symbol("dartx.supportsRegisterElement"), + $supportsRegister: dartx.supportsRegister = Symbol("dartx.supportsRegister"), + $registerElement: dartx.registerElement = Symbol("dartx.registerElement"), + _createElement_2: dart.privateName(html$, "_createElement_2"), + _createElementNS_2: dart.privateName(html$, "_createElementNS_2"), + $createElementNS: dartx.createElementNS = Symbol("dartx.createElementNS"), + _createNodeIterator: dart.privateName(html$, "_createNodeIterator"), + _createTreeWalker: dart.privateName(html$, "_createTreeWalker"), + $visibilityState: dartx.visibilityState = Symbol("dartx.visibilityState"), + _docChildren: dart.privateName(html$, "_docChildren"), + $styleSheets: dartx.styleSheets = Symbol("dartx.styleSheets"), + $elementFromPoint: dartx.elementFromPoint = Symbol("dartx.elementFromPoint"), + $getSelection: dartx.getSelection = Symbol("dartx.getSelection"), + $createDocument: dartx.createDocument = Symbol("dartx.createDocument"), + $createDocumentType: dartx.createDocumentType = Symbol("dartx.createDocumentType"), + $hasFeature: dartx.hasFeature = Symbol("dartx.hasFeature"), + $a: dartx.a = Symbol("dartx.a"), + $b: dartx.b = Symbol("dartx.b"), + $c: dartx.c = Symbol("dartx.c"), + $d: dartx.d = Symbol("dartx.d"), + $e: dartx.e = Symbol("dartx.e"), + $f: dartx.f = Symbol("dartx.f"), + $m11: dartx.m11 = Symbol("dartx.m11"), + $m12: dartx.m12 = Symbol("dartx.m12"), + $m13: dartx.m13 = Symbol("dartx.m13"), + $m14: dartx.m14 = Symbol("dartx.m14"), + $m21: dartx.m21 = Symbol("dartx.m21"), + $m22: dartx.m22 = Symbol("dartx.m22"), + $m23: dartx.m23 = Symbol("dartx.m23"), + $m24: dartx.m24 = Symbol("dartx.m24"), + $m31: dartx.m31 = Symbol("dartx.m31"), + $m32: dartx.m32 = Symbol("dartx.m32"), + $m33: dartx.m33 = Symbol("dartx.m33"), + $m34: dartx.m34 = Symbol("dartx.m34"), + $m41: dartx.m41 = Symbol("dartx.m41"), + $m42: dartx.m42 = Symbol("dartx.m42"), + $m43: dartx.m43 = Symbol("dartx.m43"), + $m44: dartx.m44 = Symbol("dartx.m44"), + $invertSelf: dartx.invertSelf = Symbol("dartx.invertSelf"), + _multiplySelf_1: dart.privateName(html$, "_multiplySelf_1"), + _multiplySelf_2: dart.privateName(html$, "_multiplySelf_2"), + $multiplySelf: dartx.multiplySelf = Symbol("dartx.multiplySelf"), + _preMultiplySelf_1: dart.privateName(html$, "_preMultiplySelf_1"), + _preMultiplySelf_2: dart.privateName(html$, "_preMultiplySelf_2"), + $preMultiplySelf: dartx.preMultiplySelf = Symbol("dartx.preMultiplySelf"), + $rotateAxisAngleSelf: dartx.rotateAxisAngleSelf = Symbol("dartx.rotateAxisAngleSelf"), + $rotateFromVectorSelf: dartx.rotateFromVectorSelf = Symbol("dartx.rotateFromVectorSelf"), + $rotateSelf: dartx.rotateSelf = Symbol("dartx.rotateSelf"), + $scale3dSelf: dartx.scale3dSelf = Symbol("dartx.scale3dSelf"), + $scaleSelf: dartx.scaleSelf = Symbol("dartx.scaleSelf"), + $setMatrixValue: dartx.setMatrixValue = Symbol("dartx.setMatrixValue"), + $skewXSelf: dartx.skewXSelf = Symbol("dartx.skewXSelf"), + $skewYSelf: dartx.skewYSelf = Symbol("dartx.skewYSelf"), + $translateSelf: dartx.translateSelf = Symbol("dartx.translateSelf"), + $isIdentity: dartx.isIdentity = Symbol("dartx.isIdentity"), + $flipX: dartx.flipX = Symbol("dartx.flipX"), + $flipY: dartx.flipY = Symbol("dartx.flipY"), + $inverse: dartx.inverse = Symbol("dartx.inverse"), + _multiply_1: dart.privateName(html$, "_multiply_1"), + _multiply_2: dart.privateName(html$, "_multiply_2"), + $multiply: dartx.multiply = Symbol("dartx.multiply"), + $rotateAxisAngle: dartx.rotateAxisAngle = Symbol("dartx.rotateAxisAngle"), + $rotateFromVector: dartx.rotateFromVector = Symbol("dartx.rotateFromVector"), + $scale3d: dartx.scale3d = Symbol("dartx.scale3d"), + $skewX: dartx.skewX = Symbol("dartx.skewX"), + $skewY: dartx.skewY = Symbol("dartx.skewY"), + $toFloat32Array: dartx.toFloat32Array = Symbol("dartx.toFloat32Array"), + $toFloat64Array: dartx.toFloat64Array = Symbol("dartx.toFloat64Array"), + _transformPoint_1: dart.privateName(html$, "_transformPoint_1"), + _transformPoint_2: dart.privateName(html$, "_transformPoint_2"), + $transformPoint: dartx.transformPoint = Symbol("dartx.transformPoint"), + $parseFromString: dartx.parseFromString = Symbol("dartx.parseFromString"), + $w: dartx.w = Symbol("dartx.w"), + _matrixTransform_1: dart.privateName(html$, "_matrixTransform_1"), + _matrixTransform_2: dart.privateName(html$, "_matrixTransform_2"), + $matrixTransform: dartx.matrixTransform = Symbol("dartx.matrixTransform"), + $p1: dartx.p1 = Symbol("dartx.p1"), + $p2: dartx.p2 = Symbol("dartx.p2"), + $p3: dartx.p3 = Symbol("dartx.p3"), + $p4: dartx.p4 = Symbol("dartx.p4"), + $getBounds: dartx.getBounds = Symbol("dartx.getBounds"), + __delete__: dart.privateName(html$, "__delete__"), + $replace: dartx.replace = Symbol("dartx.replace"), + $supports: dartx.supports = Symbol("dartx.supports"), + $toggle: dartx.toggle = Symbol("dartx.toggle"), + _childElements: dart.privateName(html$, "_childElements"), + _element$2: dart.privateName(html$, "_element"), + _filter$2: dart.privateName(html$, "_filter"), + _nodeList: dart.privateName(html$, "_nodeList"), + _forElementList: dart.privateName(html$, "_forElementList"), + _value$6: dart.privateName(html$, "ScrollAlignment._value"), + _value$7: dart.privateName(html$, "_value"), + $colno: dartx.colno = Symbol("dartx.colno"), + $filename: dartx.filename = Symbol("dartx.filename"), + $lineno: dartx.lineno = Symbol("dartx.lineno"), + $withCredentials: dartx.withCredentials = Symbol("dartx.withCredentials"), + $onOpen: dartx.onOpen = Symbol("dartx.onOpen"), + _ptr: dart.privateName(html$, "_ptr"), + $lastEventId: dartx.lastEventId = Symbol("dartx.lastEventId"), + $ports: dartx.ports = Symbol("dartx.ports"), + $AddSearchProvider: dartx.AddSearchProvider = Symbol("dartx.AddSearchProvider"), + $IsSearchProviderInstalled: dartx.IsSearchProviderInstalled = Symbol("dartx.IsSearchProviderInstalled"), + $provider: dartx.provider = Symbol("dartx.provider"), + $clientId: dartx.clientId = Symbol("dartx.clientId"), + $isReload: dartx.isReload = Symbol("dartx.isReload"), + $preloadResponse: dartx.preloadResponse = Symbol("dartx.preloadResponse"), + $elements: dartx.elements = Symbol("dartx.elements"), + $lastModified: dartx.lastModified = Symbol("dartx.lastModified"), + _get_lastModifiedDate: dart.privateName(html$, "_get_lastModifiedDate"), + $lastModifiedDate: dartx.lastModifiedDate = Symbol("dartx.lastModifiedDate"), + $relativePath: dartx.relativePath = Symbol("dartx.relativePath"), + _createWriter: dart.privateName(html$, "_createWriter"), + $createWriter: dartx.createWriter = Symbol("dartx.createWriter"), + _file$1: dart.privateName(html$, "_file"), + $file: dartx.file = Symbol("dartx.file"), + $readAsArrayBuffer: dartx.readAsArrayBuffer = Symbol("dartx.readAsArrayBuffer"), + $readAsDataUrl: dartx.readAsDataUrl = Symbol("dartx.readAsDataUrl"), + $readAsText: dartx.readAsText = Symbol("dartx.readAsText"), + $onLoadEnd: dartx.onLoadEnd = Symbol("dartx.onLoadEnd"), + $onLoadStart: dartx.onLoadStart = Symbol("dartx.onLoadStart"), + $root: dartx.root = Symbol("dartx.root"), + $seek: dartx.seek = Symbol("dartx.seek"), + $write: dartx.write = Symbol("dartx.write"), + $onWrite: dartx.onWrite = Symbol("dartx.onWrite"), + $onWriteEnd: dartx.onWriteEnd = Symbol("dartx.onWriteEnd"), + $onWriteStart: dartx.onWriteStart = Symbol("dartx.onWriteStart"), + _get_relatedTarget: dart.privateName(html$, "_get_relatedTarget"), + $relatedTarget: dartx.relatedTarget = Symbol("dartx.relatedTarget"), + $family: dartx.family = Symbol("dartx.family"), + $featureSettings: dartx.featureSettings = Symbol("dartx.featureSettings"), + $loaded: dartx.loaded = Symbol("dartx.loaded"), + $stretch: dartx.stretch = Symbol("dartx.stretch"), + $variant: dartx.variant = Symbol("dartx.variant"), + $weight: dartx.weight = Symbol("dartx.weight"), + $check: dartx.check = Symbol("dartx.check"), + $onLoading: dartx.onLoading = Symbol("dartx.onLoading"), + $onLoadingDone: dartx.onLoadingDone = Symbol("dartx.onLoadingDone"), + $onLoadingError: dartx.onLoadingError = Symbol("dartx.onLoadingError"), + $fontfaces: dartx.fontfaces = Symbol("dartx.fontfaces"), + $appendBlob: dartx.appendBlob = Symbol("dartx.appendBlob"), + $acceptCharset: dartx.acceptCharset = Symbol("dartx.acceptCharset"), + $action: dartx.action = Symbol("dartx.action"), + $enctype: dartx.enctype = Symbol("dartx.enctype"), + $method: dartx.method = Symbol("dartx.method"), + $noValidate: dartx.noValidate = Symbol("dartx.noValidate"), + _requestAutocomplete_1: dart.privateName(html$, "_requestAutocomplete_1"), + $requestAutocomplete: dartx.requestAutocomplete = Symbol("dartx.requestAutocomplete"), + $reset: dartx.reset = Symbol("dartx.reset"), + $submit: dartx.submit = Symbol("dartx.submit"), + $axes: dartx.axes = Symbol("dartx.axes"), + $buttons: dartx.buttons = Symbol("dartx.buttons"), + $connected: dartx.connected = Symbol("dartx.connected"), + $displayId: dartx.displayId = Symbol("dartx.displayId"), + $hand: dartx.hand = Symbol("dartx.hand"), + $mapping: dartx.mapping = Symbol("dartx.mapping"), + $pose: dartx.pose = Symbol("dartx.pose"), + $touched: dartx.touched = Symbol("dartx.touched"), + $gamepad: dartx.gamepad = Symbol("dartx.gamepad"), + $angularAcceleration: dartx.angularAcceleration = Symbol("dartx.angularAcceleration"), + $angularVelocity: dartx.angularVelocity = Symbol("dartx.angularVelocity"), + $hasOrientation: dartx.hasOrientation = Symbol("dartx.hasOrientation"), + $hasPosition: dartx.hasPosition = Symbol("dartx.hasPosition"), + $linearAcceleration: dartx.linearAcceleration = Symbol("dartx.linearAcceleration"), + $linearVelocity: dartx.linearVelocity = Symbol("dartx.linearVelocity"), + _ensurePosition: dart.privateName(html$, "_ensurePosition"), + _getCurrentPosition: dart.privateName(html$, "_getCurrentPosition"), + $getCurrentPosition: dartx.getCurrentPosition = Symbol("dartx.getCurrentPosition"), + _clearWatch: dart.privateName(html$, "_clearWatch"), + _watchPosition: dart.privateName(html$, "_watchPosition"), + $watchPosition: dartx.watchPosition = Symbol("dartx.watchPosition"), + _getCurrentPosition_1: dart.privateName(html$, "_getCurrentPosition_1"), + _getCurrentPosition_2: dart.privateName(html$, "_getCurrentPosition_2"), + _getCurrentPosition_3: dart.privateName(html$, "_getCurrentPosition_3"), + _watchPosition_1: dart.privateName(html$, "_watchPosition_1"), + _watchPosition_2: dart.privateName(html$, "_watchPosition_2"), + _watchPosition_3: dart.privateName(html$, "_watchPosition_3"), + $newUrl: dartx.newUrl = Symbol("dartx.newUrl"), + $oldUrl: dartx.oldUrl = Symbol("dartx.oldUrl"), + $scrollRestoration: dartx.scrollRestoration = Symbol("dartx.scrollRestoration"), + _get_state: dart.privateName(html$, "_get_state"), + $back: dartx.back = Symbol("dartx.back"), + $forward: dartx.forward = Symbol("dartx.forward"), + $go: dartx.go = Symbol("dartx.go"), + _pushState_1: dart.privateName(html$, "_pushState_1"), + $pushState: dartx.pushState = Symbol("dartx.pushState"), + _replaceState_1: dart.privateName(html$, "_replaceState_1"), + $replaceState: dartx.replaceState = Symbol("dartx.replaceState"), + $namedItem: dartx.namedItem = Symbol("dartx.namedItem"), + $body: dartx.body = Symbol("dartx.body"), + $caretRangeFromPoint: dartx.caretRangeFromPoint = Symbol("dartx.caretRangeFromPoint"), + $preferredStylesheetSet: dartx.preferredStylesheetSet = Symbol("dartx.preferredStylesheetSet"), + $referrer: dartx.referrer = Symbol("dartx.referrer"), + $selectedStylesheetSet: dartx.selectedStylesheetSet = Symbol("dartx.selectedStylesheetSet"), + $register: dartx.register = Symbol("dartx.register"), + $onVisibilityChange: dartx.onVisibilityChange = Symbol("dartx.onVisibilityChange"), + $createElementUpgrader: dartx.createElementUpgrader = Symbol("dartx.createElementUpgrader"), + _item: dart.privateName(html$, "_item"), + $responseHeaders: dartx.responseHeaders = Symbol("dartx.responseHeaders"), + _get_response: dart.privateName(html$, "_get_response"), + $responseText: dartx.responseText = Symbol("dartx.responseText"), + $responseType: dartx.responseType = Symbol("dartx.responseType"), + $responseUrl: dartx.responseUrl = Symbol("dartx.responseUrl"), + $responseXml: dartx.responseXml = Symbol("dartx.responseXml"), + $statusText: dartx.statusText = Symbol("dartx.statusText"), + $timeout: dartx.timeout = Symbol("dartx.timeout"), + $upload: dartx.upload = Symbol("dartx.upload"), + $getAllResponseHeaders: dartx.getAllResponseHeaders = Symbol("dartx.getAllResponseHeaders"), + $getResponseHeader: dartx.getResponseHeader = Symbol("dartx.getResponseHeader"), + $overrideMimeType: dartx.overrideMimeType = Symbol("dartx.overrideMimeType"), + $send: dartx.send = Symbol("dartx.send"), + $setRequestHeader: dartx.setRequestHeader = Symbol("dartx.setRequestHeader"), + $onTimeout: dartx.onTimeout = Symbol("dartx.onTimeout"), + $allow: dartx.allow = Symbol("dartx.allow"), + $allowFullscreen: dartx.allowFullscreen = Symbol("dartx.allowFullscreen"), + $allowPaymentRequest: dartx.allowPaymentRequest = Symbol("dartx.allowPaymentRequest"), + _get_contentWindow: dart.privateName(html$, "_get_contentWindow"), + $contentWindow: dartx.contentWindow = Symbol("dartx.contentWindow"), + $csp: dartx.csp = Symbol("dartx.csp"), + $sandbox: dartx.sandbox = Symbol("dartx.sandbox"), + $srcdoc: dartx.srcdoc = Symbol("dartx.srcdoc"), + $didTimeout: dartx.didTimeout = Symbol("dartx.didTimeout"), + $timeRemaining: dartx.timeRemaining = Symbol("dartx.timeRemaining"), + $transferFromImageBitmap: dartx.transferFromImageBitmap = Symbol("dartx.transferFromImageBitmap"), + $track: dartx.track = Symbol("dartx.track"), + $getPhotoCapabilities: dartx.getPhotoCapabilities = Symbol("dartx.getPhotoCapabilities"), + $getPhotoSettings: dartx.getPhotoSettings = Symbol("dartx.getPhotoSettings"), + $grabFrame: dartx.grabFrame = Symbol("dartx.grabFrame"), + $setOptions: dartx.setOptions = Symbol("dartx.setOptions"), + $takePhoto: dartx.takePhoto = Symbol("dartx.takePhoto"), + $async: dartx.async = Symbol("dartx.async"), + $complete: dartx.complete = Symbol("dartx.complete"), + $isMap: dartx.isMap = Symbol("dartx.isMap"), + $naturalHeight: dartx.naturalHeight = Symbol("dartx.naturalHeight"), + $naturalWidth: dartx.naturalWidth = Symbol("dartx.naturalWidth"), + $sizes: dartx.sizes = Symbol("dartx.sizes"), + $srcset: dartx.srcset = Symbol("dartx.srcset"), + $useMap: dartx.useMap = Symbol("dartx.useMap"), + $decode: dartx.decode = Symbol("dartx.decode"), + $firesTouchEvents: dartx.firesTouchEvents = Symbol("dartx.firesTouchEvents"), + $accept: dartx.accept = Symbol("dartx.accept"), + $autocapitalize: dartx.autocapitalize = Symbol("dartx.autocapitalize"), + $capture: dartx.capture = Symbol("dartx.capture"), + $defaultChecked: dartx.defaultChecked = Symbol("dartx.defaultChecked"), + $defaultValue: dartx.defaultValue = Symbol("dartx.defaultValue"), + $dirName: dartx.dirName = Symbol("dartx.dirName"), + $incremental: dartx.incremental = Symbol("dartx.incremental"), + $indeterminate: dartx.indeterminate = Symbol("dartx.indeterminate"), + $list: dartx.list = Symbol("dartx.list"), + $max: dartx.max = Symbol("dartx.max"), + $maxLength: dartx.maxLength = Symbol("dartx.maxLength"), + $min: dartx.min = Symbol("dartx.min"), + $minLength: dartx.minLength = Symbol("dartx.minLength"), + $multiple: dartx.multiple = Symbol("dartx.multiple"), + $pattern: dartx.pattern = Symbol("dartx.pattern"), + $selectionDirection: dartx.selectionDirection = Symbol("dartx.selectionDirection"), + $selectionEnd: dartx.selectionEnd = Symbol("dartx.selectionEnd"), + $selectionStart: dartx.selectionStart = Symbol("dartx.selectionStart"), + $step: dartx.step = Symbol("dartx.step"), + _get_valueAsDate: dart.privateName(html$, "_get_valueAsDate"), + $valueAsDate: dartx.valueAsDate = Symbol("dartx.valueAsDate"), + _set_valueAsDate: dart.privateName(html$, "_set_valueAsDate"), + $valueAsNumber: dartx.valueAsNumber = Symbol("dartx.valueAsNumber"), + $directory: dartx.directory = Symbol("dartx.directory"), + $setRangeText: dartx.setRangeText = Symbol("dartx.setRangeText"), + $setSelectionRange: dartx.setSelectionRange = Symbol("dartx.setSelectionRange"), + $stepDown: dartx.stepDown = Symbol("dartx.stepDown"), + $stepUp: dartx.stepUp = Symbol("dartx.stepUp"), + files: dart.privateName(html$, "FileUploadInputElement.files"), + _registerForeignFetch_1: dart.privateName(html$, "_registerForeignFetch_1"), + $registerForeignFetch: dartx.registerForeignFetch = Symbol("dartx.registerForeignFetch"), + $rootMargin: dartx.rootMargin = Symbol("dartx.rootMargin"), + $thresholds: dartx.thresholds = Symbol("dartx.thresholds"), + $disconnect: dartx.disconnect = Symbol("dartx.disconnect"), + $takeRecords: dartx.takeRecords = Symbol("dartx.takeRecords"), + $boundingClientRect: dartx.boundingClientRect = Symbol("dartx.boundingClientRect"), + $intersectionRatio: dartx.intersectionRatio = Symbol("dartx.intersectionRatio"), + $intersectionRect: dartx.intersectionRect = Symbol("dartx.intersectionRect"), + $isIntersecting: dartx.isIntersecting = Symbol("dartx.isIntersecting"), + $rootBounds: dartx.rootBounds = Symbol("dartx.rootBounds"), + _initKeyboardEvent: dart.privateName(html$, "_initKeyboardEvent"), + $keyCode: dartx.keyCode = Symbol("dartx.keyCode"), + $charCode: dartx.charCode = Symbol("dartx.charCode"), + $which: dartx.which = Symbol("dartx.which"), + $altKey: dartx.altKey = Symbol("dartx.altKey"), + _charCode: dart.privateName(html$, "_charCode"), + $ctrlKey: dartx.ctrlKey = Symbol("dartx.ctrlKey"), + $isComposing: dartx.isComposing = Symbol("dartx.isComposing"), + _keyCode: dart.privateName(html$, "_keyCode"), + $metaKey: dartx.metaKey = Symbol("dartx.metaKey"), + $repeat: dartx.repeat = Symbol("dartx.repeat"), + $shiftKey: dartx.shiftKey = Symbol("dartx.shiftKey"), + $getModifierState: dartx.getModifierState = Symbol("dartx.getModifierState"), + $control: dartx.control = Symbol("dartx.control"), + $htmlFor: dartx.htmlFor = Symbol("dartx.htmlFor"), + $as: dartx.as = Symbol("dartx.as"), + $import: dartx.import = Symbol("dartx.import"), + $integrity: dartx.integrity = Symbol("dartx.integrity"), + $relList: dartx.relList = Symbol("dartx.relList"), + $scope: dartx.scope = Symbol("dartx.scope"), + $sheet: dartx.sheet = Symbol("dartx.sheet"), + $supportsImport: dartx.supportsImport = Symbol("dartx.supportsImport"), + $ancestorOrigins: dartx.ancestorOrigins = Symbol("dartx.ancestorOrigins"), + $trustedHref: dartx.trustedHref = Symbol("dartx.trustedHref"), + $assign: dartx.assign = Symbol("dartx.assign"), + $reload: dartx.reload = Symbol("dartx.reload"), + $areas: dartx.areas = Symbol("dartx.areas"), + $decodingInfo: dartx.decodingInfo = Symbol("dartx.decodingInfo"), + $encodingInfo: dartx.encodingInfo = Symbol("dartx.encodingInfo"), + $powerEfficient: dartx.powerEfficient = Symbol("dartx.powerEfficient"), + $smooth: dartx.smooth = Symbol("dartx.smooth"), + $supported: dartx.supported = Symbol("dartx.supported"), + $deviceId: dartx.deviceId = Symbol("dartx.deviceId"), + $groupId: dartx.groupId = Symbol("dartx.groupId"), + $enumerateDevices: dartx.enumerateDevices = Symbol("dartx.enumerateDevices"), + _getSupportedConstraints_1: dart.privateName(html$, "_getSupportedConstraints_1"), + $getSupportedConstraints: dartx.getSupportedConstraints = Symbol("dartx.getSupportedConstraints"), + $getUserMedia: dartx.getUserMedia = Symbol("dartx.getUserMedia"), + $initData: dartx.initData = Symbol("dartx.initData"), + $initDataType: dartx.initDataType = Symbol("dartx.initDataType"), + $messageType: dartx.messageType = Symbol("dartx.messageType"), + $closed: dartx.closed = Symbol("dartx.closed"), + $expiration: dartx.expiration = Symbol("dartx.expiration"), + $keyStatuses: dartx.keyStatuses = Symbol("dartx.keyStatuses"), + $sessionId: dartx.sessionId = Symbol("dartx.sessionId"), + $generateRequest: dartx.generateRequest = Symbol("dartx.generateRequest"), + _update$1: dart.privateName(html$, "_update"), + $keySystem: dartx.keySystem = Symbol("dartx.keySystem"), + $createMediaKeys: dartx.createMediaKeys = Symbol("dartx.createMediaKeys"), + _getConfiguration_1: dart.privateName(html$, "_getConfiguration_1"), + $getConfiguration: dartx.getConfiguration = Symbol("dartx.getConfiguration"), + _createSession: dart.privateName(html$, "_createSession"), + $getStatusForPolicy: dartx.getStatusForPolicy = Symbol("dartx.getStatusForPolicy"), + $setServerCertificate: dartx.setServerCertificate = Symbol("dartx.setServerCertificate"), + $minHdcpVersion: dartx.minHdcpVersion = Symbol("dartx.minHdcpVersion"), + $mediaText: dartx.mediaText = Symbol("dartx.mediaText"), + $appendMedium: dartx.appendMedium = Symbol("dartx.appendMedium"), + $deleteMedium: dartx.deleteMedium = Symbol("dartx.deleteMedium"), + $album: dartx.album = Symbol("dartx.album"), + $artist: dartx.artist = Symbol("dartx.artist"), + $artwork: dartx.artwork = Symbol("dartx.artwork"), + $addListener: dartx.addListener = Symbol("dartx.addListener"), + $removeListener: dartx.removeListener = Symbol("dartx.removeListener"), + $audioBitsPerSecond: dartx.audioBitsPerSecond = Symbol("dartx.audioBitsPerSecond"), + $mimeType: dartx.mimeType = Symbol("dartx.mimeType"), + $stream: dartx.stream = Symbol("dartx.stream"), + $videoBitsPerSecond: dartx.videoBitsPerSecond = Symbol("dartx.videoBitsPerSecond"), + $requestData: dartx.requestData = Symbol("dartx.requestData"), + $resume: dartx.resume = Symbol("dartx.resume"), + $metadata: dartx.metadata = Symbol("dartx.metadata"), + $playbackState: dartx.playbackState = Symbol("dartx.playbackState"), + $setActionHandler: dartx.setActionHandler = Symbol("dartx.setActionHandler"), + $activeSourceBuffers: dartx.activeSourceBuffers = Symbol("dartx.activeSourceBuffers"), + $sourceBuffers: dartx.sourceBuffers = Symbol("dartx.sourceBuffers"), + $addSourceBuffer: dartx.addSourceBuffer = Symbol("dartx.addSourceBuffer"), + $clearLiveSeekableRange: dartx.clearLiveSeekableRange = Symbol("dartx.clearLiveSeekableRange"), + $endOfStream: dartx.endOfStream = Symbol("dartx.endOfStream"), + $removeSourceBuffer: dartx.removeSourceBuffer = Symbol("dartx.removeSourceBuffer"), + $setLiveSeekableRange: dartx.setLiveSeekableRange = Symbol("dartx.setLiveSeekableRange"), + $active: dartx.active = Symbol("dartx.active"), + $addTrack: dartx.addTrack = Symbol("dartx.addTrack"), + $getAudioTracks: dartx.getAudioTracks = Symbol("dartx.getAudioTracks"), + $getTrackById: dartx.getTrackById = Symbol("dartx.getTrackById"), + $getTracks: dartx.getTracks = Symbol("dartx.getTracks"), + $getVideoTracks: dartx.getVideoTracks = Symbol("dartx.getVideoTracks"), + $removeTrack: dartx.removeTrack = Symbol("dartx.removeTrack"), + $onAddTrack: dartx.onAddTrack = Symbol("dartx.onAddTrack"), + $onRemoveTrack: dartx.onRemoveTrack = Symbol("dartx.onRemoveTrack"), + $jsHeapSizeLimit: dartx.jsHeapSizeLimit = Symbol("dartx.jsHeapSizeLimit"), + $totalJSHeapSize: dartx.totalJSHeapSize = Symbol("dartx.totalJSHeapSize"), + $usedJSHeapSize: dartx.usedJSHeapSize = Symbol("dartx.usedJSHeapSize"), + $port1: dartx.port1 = Symbol("dartx.port1"), + $port2: dartx.port2 = Symbol("dartx.port2"), + _initMessageEvent: dart.privateName(html$, "_initMessageEvent"), + _get_data: dart.privateName(html$, "_get_data"), + _get_source: dart.privateName(html$, "_get_source"), + _initMessageEvent_1: dart.privateName(html$, "_initMessageEvent_1"), + _start$4: dart.privateName(html$, "_start"), + $httpEquiv: dartx.httpEquiv = Symbol("dartx.httpEquiv"), + _get_modificationTime: dart.privateName(html$, "_get_modificationTime"), + $modificationTime: dartx.modificationTime = Symbol("dartx.modificationTime"), + $high: dartx.high = Symbol("dartx.high"), + $low: dartx.low = Symbol("dartx.low"), + $optimum: dartx.optimum = Symbol("dartx.optimum"), + $inputs: dartx.inputs = Symbol("dartx.inputs"), + $outputs: dartx.outputs = Symbol("dartx.outputs"), + $sysexEnabled: dartx.sysexEnabled = Symbol("dartx.sysexEnabled"), + $onMidiMessage: dartx.onMidiMessage = Symbol("dartx.onMidiMessage"), + $connection: dartx.connection = Symbol("dartx.connection"), + $manufacturer: dartx.manufacturer = Symbol("dartx.manufacturer"), + _getItem: dart.privateName(html$, "_getItem"), + $description: dartx.description = Symbol("dartx.description"), + $enabledPlugin: dartx.enabledPlugin = Symbol("dartx.enabledPlugin"), + $suffixes: dartx.suffixes = Symbol("dartx.suffixes"), + $cite: dartx.cite = Symbol("dartx.cite"), + $dateTime: dartx.dateTime = Symbol("dartx.dateTime"), + _initMouseEvent: dart.privateName(html$, "_initMouseEvent"), + $button: dartx.button = Symbol("dartx.button"), + _clientX: dart.privateName(html$, "_clientX"), + _clientY: dart.privateName(html$, "_clientY"), + $fromElement: dartx.fromElement = Symbol("dartx.fromElement"), + _layerX: dart.privateName(html$, "_layerX"), + _layerY: dart.privateName(html$, "_layerY"), + _movementX: dart.privateName(html$, "_movementX"), + _movementY: dart.privateName(html$, "_movementY"), + _pageX: dart.privateName(html$, "_pageX"), + _pageY: dart.privateName(html$, "_pageY"), + $region: dartx.region = Symbol("dartx.region"), + _screenX: dart.privateName(html$, "_screenX"), + _screenY: dart.privateName(html$, "_screenY"), + $toElement: dartx.toElement = Symbol("dartx.toElement"), + _initMouseEvent_1: dart.privateName(html$, "_initMouseEvent_1"), + $movement: dartx.movement = Symbol("dartx.movement"), + $screen: dartx.screen = Symbol("dartx.screen"), + $layer: dartx.layer = Symbol("dartx.layer"), + $dataTransfer: dartx.dataTransfer = Symbol("dartx.dataTransfer"), + $attrChange: dartx.attrChange = Symbol("dartx.attrChange"), + $attrName: dartx.attrName = Symbol("dartx.attrName"), + $newValue: dartx.newValue = Symbol("dartx.newValue"), + $prevValue: dartx.prevValue = Symbol("dartx.prevValue"), + $relatedNode: dartx.relatedNode = Symbol("dartx.relatedNode"), + $initMutationEvent: dartx.initMutationEvent = Symbol("dartx.initMutationEvent"), + _observe_1$1: dart.privateName(html$, "_observe_1"), + _observe_2: dart.privateName(html$, "_observe_2"), + _observe: dart.privateName(html$, "_observe"), + _call: dart.privateName(html$, "_call"), + $addedNodes: dartx.addedNodes = Symbol("dartx.addedNodes"), + $attributeName: dartx.attributeName = Symbol("dartx.attributeName"), + $attributeNamespace: dartx.attributeNamespace = Symbol("dartx.attributeNamespace"), + $nextSibling: dartx.nextSibling = Symbol("dartx.nextSibling"), + $oldValue: dartx.oldValue = Symbol("dartx.oldValue"), + $previousSibling: dartx.previousSibling = Symbol("dartx.previousSibling"), + $removedNodes: dartx.removedNodes = Symbol("dartx.removedNodes"), + $disable: dartx.disable = Symbol("dartx.disable"), + $enable: dartx.enable = Symbol("dartx.enable"), + $getState: dartx.getState = Symbol("dartx.getState"), + _getGamepads: dart.privateName(html$, "_getGamepads"), + $getGamepads: dartx.getGamepads = Symbol("dartx.getGamepads"), + $language: dartx.language = Symbol("dartx.language"), + _ensureGetUserMedia: dart.privateName(html$, "_ensureGetUserMedia"), + _getUserMedia: dart.privateName(html$, "_getUserMedia"), + $budget: dartx.budget = Symbol("dartx.budget"), + $clipboard: dartx.clipboard = Symbol("dartx.clipboard"), + $credentials: dartx.credentials = Symbol("dartx.credentials"), + $deviceMemory: dartx.deviceMemory = Symbol("dartx.deviceMemory"), + $doNotTrack: dartx.doNotTrack = Symbol("dartx.doNotTrack"), + $geolocation: dartx.geolocation = Symbol("dartx.geolocation") +}; +var S$2 = { + $maxTouchPoints: dartx.maxTouchPoints = Symbol("dartx.maxTouchPoints"), + $mediaCapabilities: dartx.mediaCapabilities = Symbol("dartx.mediaCapabilities"), + $mediaDevices: dartx.mediaDevices = Symbol("dartx.mediaDevices"), + $mediaSession: dartx.mediaSession = Symbol("dartx.mediaSession"), + $mimeTypes: dartx.mimeTypes = Symbol("dartx.mimeTypes"), + $nfc: dartx.nfc = Symbol("dartx.nfc"), + $permissions: dartx.permissions = Symbol("dartx.permissions"), + $presentation: dartx.presentation = Symbol("dartx.presentation"), + $productSub: dartx.productSub = Symbol("dartx.productSub"), + $serviceWorker: dartx.serviceWorker = Symbol("dartx.serviceWorker"), + $storage: dartx.storage = Symbol("dartx.storage"), + $vendor: dartx.vendor = Symbol("dartx.vendor"), + $vendorSub: dartx.vendorSub = Symbol("dartx.vendorSub"), + $vr: dartx.vr = Symbol("dartx.vr"), + $persistentStorage: dartx.persistentStorage = Symbol("dartx.persistentStorage"), + $temporaryStorage: dartx.temporaryStorage = Symbol("dartx.temporaryStorage"), + $cancelKeyboardLock: dartx.cancelKeyboardLock = Symbol("dartx.cancelKeyboardLock"), + $getBattery: dartx.getBattery = Symbol("dartx.getBattery"), + $getInstalledRelatedApps: dartx.getInstalledRelatedApps = Symbol("dartx.getInstalledRelatedApps"), + $getVRDisplays: dartx.getVRDisplays = Symbol("dartx.getVRDisplays"), + $registerProtocolHandler: dartx.registerProtocolHandler = Symbol("dartx.registerProtocolHandler"), + _requestKeyboardLock_1: dart.privateName(html$, "_requestKeyboardLock_1"), + _requestKeyboardLock_2: dart.privateName(html$, "_requestKeyboardLock_2"), + $requestKeyboardLock: dartx.requestKeyboardLock = Symbol("dartx.requestKeyboardLock"), + $requestMidiAccess: dartx.requestMidiAccess = Symbol("dartx.requestMidiAccess"), + $requestMediaKeySystemAccess: dartx.requestMediaKeySystemAccess = Symbol("dartx.requestMediaKeySystemAccess"), + $sendBeacon: dartx.sendBeacon = Symbol("dartx.sendBeacon"), + $share: dartx.share = Symbol("dartx.share"), + $webdriver: dartx.webdriver = Symbol("dartx.webdriver"), + $cookieEnabled: dartx.cookieEnabled = Symbol("dartx.cookieEnabled"), + $appCodeName: dartx.appCodeName = Symbol("dartx.appCodeName"), + $appName: dartx.appName = Symbol("dartx.appName"), + $appVersion: dartx.appVersion = Symbol("dartx.appVersion"), + $dartEnabled: dartx.dartEnabled = Symbol("dartx.dartEnabled"), + $platform: dartx.platform = Symbol("dartx.platform"), + $product: dartx.product = Symbol("dartx.product"), + $userAgent: dartx.userAgent = Symbol("dartx.userAgent"), + $languages: dartx.languages = Symbol("dartx.languages"), + $onLine: dartx.onLine = Symbol("dartx.onLine"), + $hardwareConcurrency: dartx.hardwareConcurrency = Symbol("dartx.hardwareConcurrency"), + $constraintName: dartx.constraintName = Symbol("dartx.constraintName"), + $downlink: dartx.downlink = Symbol("dartx.downlink"), + $downlinkMax: dartx.downlinkMax = Symbol("dartx.downlinkMax"), + $effectiveType: dartx.effectiveType = Symbol("dartx.effectiveType"), + $rtt: dartx.rtt = Symbol("dartx.rtt"), + $pointerBeforeReferenceNode: dartx.pointerBeforeReferenceNode = Symbol("dartx.pointerBeforeReferenceNode"), + $referenceNode: dartx.referenceNode = Symbol("dartx.referenceNode"), + $whatToShow: dartx.whatToShow = Symbol("dartx.whatToShow"), + $detach: dartx.detach = Symbol("dartx.detach"), + $actions: dartx.actions = Symbol("dartx.actions"), + $badge: dartx.badge = Symbol("dartx.badge"), + $icon: dartx.icon = Symbol("dartx.icon"), + $image: dartx.image = Symbol("dartx.image"), + $renotify: dartx.renotify = Symbol("dartx.renotify"), + $requireInteraction: dartx.requireInteraction = Symbol("dartx.requireInteraction"), + $silent: dartx.silent = Symbol("dartx.silent"), + $tag: dartx.tag = Symbol("dartx.tag"), + $vibrate: dartx.vibrate = Symbol("dartx.vibrate"), + $onShow: dartx.onShow = Symbol("dartx.onShow"), + $notification: dartx.notification = Symbol("dartx.notification"), + $reply: dartx.reply = Symbol("dartx.reply"), + $convertToBlob: dartx.convertToBlob = Symbol("dartx.convertToBlob"), + $transferToImageBitmap: dartx.transferToImageBitmap = Symbol("dartx.transferToImageBitmap"), + $commit: dartx.commit = Symbol("dartx.commit"), + $defaultSelected: dartx.defaultSelected = Symbol("dartx.defaultSelected"), + $constraint: dartx.constraint = Symbol("dartx.constraint"), + $persisted: dartx.persisted = Symbol("dartx.persisted"), + $devicePixelRatio: dartx.devicePixelRatio = Symbol("dartx.devicePixelRatio"), + $registerPaint: dartx.registerPaint = Symbol("dartx.registerPaint"), + $additionalData: dartx.additionalData = Symbol("dartx.additionalData"), + $idName: dartx.idName = Symbol("dartx.idName"), + $passwordName: dartx.passwordName = Symbol("dartx.passwordName"), + $addPath: dartx.addPath = Symbol("dartx.addPath"), + $addressLine: dartx.addressLine = Symbol("dartx.addressLine"), + $city: dartx.city = Symbol("dartx.city"), + $country: dartx.country = Symbol("dartx.country"), + $dependentLocality: dartx.dependentLocality = Symbol("dartx.dependentLocality"), + $languageCode: dartx.languageCode = Symbol("dartx.languageCode"), + $organization: dartx.organization = Symbol("dartx.organization"), + $phone: dartx.phone = Symbol("dartx.phone"), + $postalCode: dartx.postalCode = Symbol("dartx.postalCode"), + $recipient: dartx.recipient = Symbol("dartx.recipient"), + $sortingCode: dartx.sortingCode = Symbol("dartx.sortingCode"), + $instruments: dartx.instruments = Symbol("dartx.instruments"), + $userHint: dartx.userHint = Symbol("dartx.userHint"), + $shippingAddress: dartx.shippingAddress = Symbol("dartx.shippingAddress"), + $shippingOption: dartx.shippingOption = Symbol("dartx.shippingOption"), + $shippingType: dartx.shippingType = Symbol("dartx.shippingType"), + $canMakePayment: dartx.canMakePayment = Symbol("dartx.canMakePayment"), + $instrumentKey: dartx.instrumentKey = Symbol("dartx.instrumentKey"), + $paymentRequestId: dartx.paymentRequestId = Symbol("dartx.paymentRequestId"), + $total: dartx.total = Symbol("dartx.total"), + $updateWith: dartx.updateWith = Symbol("dartx.updateWith"), + $methodName: dartx.methodName = Symbol("dartx.methodName"), + $payerEmail: dartx.payerEmail = Symbol("dartx.payerEmail"), + $payerName: dartx.payerName = Symbol("dartx.payerName"), + $payerPhone: dartx.payerPhone = Symbol("dartx.payerPhone"), + $requestId: dartx.requestId = Symbol("dartx.requestId"), + $memory: dartx.memory = Symbol("dartx.memory"), + $navigation: dartx.navigation = Symbol("dartx.navigation"), + $timeOrigin: dartx.timeOrigin = Symbol("dartx.timeOrigin"), + $clearMarks: dartx.clearMarks = Symbol("dartx.clearMarks"), + $clearMeasures: dartx.clearMeasures = Symbol("dartx.clearMeasures"), + $clearResourceTimings: dartx.clearResourceTimings = Symbol("dartx.clearResourceTimings"), + $getEntries: dartx.getEntries = Symbol("dartx.getEntries"), + $getEntriesByName: dartx.getEntriesByName = Symbol("dartx.getEntriesByName"), + $getEntriesByType: dartx.getEntriesByType = Symbol("dartx.getEntriesByType"), + $mark: dartx.mark = Symbol("dartx.mark"), + $measure: dartx.measure = Symbol("dartx.measure"), + $now: dartx.now = Symbol("dartx.now"), + $setResourceTimingBufferSize: dartx.setResourceTimingBufferSize = Symbol("dartx.setResourceTimingBufferSize"), + $entryType: dartx.entryType = Symbol("dartx.entryType"), + $attribution: dartx.attribution = Symbol("dartx.attribution"), + $redirectCount: dartx.redirectCount = Symbol("dartx.redirectCount"), + $domComplete: dartx.domComplete = Symbol("dartx.domComplete"), + $domContentLoadedEventEnd: dartx.domContentLoadedEventEnd = Symbol("dartx.domContentLoadedEventEnd"), + $domContentLoadedEventStart: dartx.domContentLoadedEventStart = Symbol("dartx.domContentLoadedEventStart"), + $domInteractive: dartx.domInteractive = Symbol("dartx.domInteractive"), + $loadEventEnd: dartx.loadEventEnd = Symbol("dartx.loadEventEnd"), + $loadEventStart: dartx.loadEventStart = Symbol("dartx.loadEventStart"), + $unloadEventEnd: dartx.unloadEventEnd = Symbol("dartx.unloadEventEnd"), + $unloadEventStart: dartx.unloadEventStart = Symbol("dartx.unloadEventStart"), + $connectEnd: dartx.connectEnd = Symbol("dartx.connectEnd"), + $connectStart: dartx.connectStart = Symbol("dartx.connectStart"), + $decodedBodySize: dartx.decodedBodySize = Symbol("dartx.decodedBodySize"), + $domainLookupEnd: dartx.domainLookupEnd = Symbol("dartx.domainLookupEnd"), + $domainLookupStart: dartx.domainLookupStart = Symbol("dartx.domainLookupStart"), + $encodedBodySize: dartx.encodedBodySize = Symbol("dartx.encodedBodySize"), + $fetchStart: dartx.fetchStart = Symbol("dartx.fetchStart"), + $initiatorType: dartx.initiatorType = Symbol("dartx.initiatorType"), + $nextHopProtocol: dartx.nextHopProtocol = Symbol("dartx.nextHopProtocol"), + $redirectEnd: dartx.redirectEnd = Symbol("dartx.redirectEnd"), + $redirectStart: dartx.redirectStart = Symbol("dartx.redirectStart"), + $requestStart: dartx.requestStart = Symbol("dartx.requestStart"), + $responseEnd: dartx.responseEnd = Symbol("dartx.responseEnd"), + $responseStart: dartx.responseStart = Symbol("dartx.responseStart"), + $secureConnectionStart: dartx.secureConnectionStart = Symbol("dartx.secureConnectionStart"), + $serverTiming: dartx.serverTiming = Symbol("dartx.serverTiming"), + $transferSize: dartx.transferSize = Symbol("dartx.transferSize"), + $workerStart: dartx.workerStart = Symbol("dartx.workerStart"), + $domLoading: dartx.domLoading = Symbol("dartx.domLoading"), + $navigationStart: dartx.navigationStart = Symbol("dartx.navigationStart"), + $query: dartx.query = Symbol("dartx.query"), + $requestAll: dartx.requestAll = Symbol("dartx.requestAll"), + $revoke: dartx.revoke = Symbol("dartx.revoke"), + $fillLightMode: dartx.fillLightMode = Symbol("dartx.fillLightMode"), + $imageHeight: dartx.imageHeight = Symbol("dartx.imageHeight"), + $imageWidth: dartx.imageWidth = Symbol("dartx.imageWidth"), + $redEyeReduction: dartx.redEyeReduction = Symbol("dartx.redEyeReduction"), + $refresh: dartx.refresh = Symbol("dartx.refresh"), + $isPrimary: dartx.isPrimary = Symbol("dartx.isPrimary"), + $pointerId: dartx.pointerId = Symbol("dartx.pointerId"), + $pointerType: dartx.pointerType = Symbol("dartx.pointerType"), + $pressure: dartx.pressure = Symbol("dartx.pressure"), + $tangentialPressure: dartx.tangentialPressure = Symbol("dartx.tangentialPressure"), + $tiltX: dartx.tiltX = Symbol("dartx.tiltX"), + $tiltY: dartx.tiltY = Symbol("dartx.tiltY"), + $twist: dartx.twist = Symbol("dartx.twist"), + $getCoalescedEvents: dartx.getCoalescedEvents = Symbol("dartx.getCoalescedEvents"), + $defaultRequest: dartx.defaultRequest = Symbol("dartx.defaultRequest"), + $receiver: dartx.receiver = Symbol("dartx.receiver"), + $binaryType: dartx.binaryType = Symbol("dartx.binaryType"), + $terminate: dartx.terminate = Symbol("dartx.terminate"), + $connections: dartx.connections = Symbol("dartx.connections"), + $connectionList: dartx.connectionList = Symbol("dartx.connectionList"), + $getAvailability: dartx.getAvailability = Symbol("dartx.getAvailability"), + $reconnect: dartx.reconnect = Symbol("dartx.reconnect"), + $lengthComputable: dartx.lengthComputable = Symbol("dartx.lengthComputable"), + $promise: dartx.promise = Symbol("dartx.promise"), + $rawId: dartx.rawId = Symbol("dartx.rawId"), + $getSubscription: dartx.getSubscription = Symbol("dartx.getSubscription"), + $permissionState: dartx.permissionState = Symbol("dartx.permissionState"), + $subscribe: dartx.subscribe = Symbol("dartx.subscribe"), + $endpoint: dartx.endpoint = Symbol("dartx.endpoint"), + $expirationTime: dartx.expirationTime = Symbol("dartx.expirationTime"), + $unsubscribe: dartx.unsubscribe = Symbol("dartx.unsubscribe"), + $applicationServerKey: dartx.applicationServerKey = Symbol("dartx.applicationServerKey"), + $userVisibleOnly: dartx.userVisibleOnly = Symbol("dartx.userVisibleOnly"), + $collapsed: dartx.collapsed = Symbol("dartx.collapsed"), + $commonAncestorContainer: dartx.commonAncestorContainer = Symbol("dartx.commonAncestorContainer"), + $endContainer: dartx.endContainer = Symbol("dartx.endContainer"), + $endOffset: dartx.endOffset = Symbol("dartx.endOffset"), + $startContainer: dartx.startContainer = Symbol("dartx.startContainer"), + $startOffset: dartx.startOffset = Symbol("dartx.startOffset"), + $cloneContents: dartx.cloneContents = Symbol("dartx.cloneContents"), + $cloneRange: dartx.cloneRange = Symbol("dartx.cloneRange"), + $collapse: dartx.collapse = Symbol("dartx.collapse"), + $compareBoundaryPoints: dartx.compareBoundaryPoints = Symbol("dartx.compareBoundaryPoints"), + $comparePoint: dartx.comparePoint = Symbol("dartx.comparePoint"), + $createContextualFragment: dartx.createContextualFragment = Symbol("dartx.createContextualFragment"), + $deleteContents: dartx.deleteContents = Symbol("dartx.deleteContents"), + $extractContents: dartx.extractContents = Symbol("dartx.extractContents"), + $insertNode: dartx.insertNode = Symbol("dartx.insertNode"), + $isPointInRange: dartx.isPointInRange = Symbol("dartx.isPointInRange"), + $selectNode: dartx.selectNode = Symbol("dartx.selectNode"), + $selectNodeContents: dartx.selectNodeContents = Symbol("dartx.selectNodeContents"), + $setEnd: dartx.setEnd = Symbol("dartx.setEnd"), + $setEndAfter: dartx.setEndAfter = Symbol("dartx.setEndAfter"), + $setEndBefore: dartx.setEndBefore = Symbol("dartx.setEndBefore"), + $setStart: dartx.setStart = Symbol("dartx.setStart"), + $setStartAfter: dartx.setStartAfter = Symbol("dartx.setStartAfter"), + $setStartBefore: dartx.setStartBefore = Symbol("dartx.setStartBefore"), + $surroundContents: dartx.surroundContents = Symbol("dartx.surroundContents"), + $cancelWatchAvailability: dartx.cancelWatchAvailability = Symbol("dartx.cancelWatchAvailability"), + $watchAvailability: dartx.watchAvailability = Symbol("dartx.watchAvailability"), + $contentRect: dartx.contentRect = Symbol("dartx.contentRect"), + $expires: dartx.expires = Symbol("dartx.expires"), + $getFingerprints: dartx.getFingerprints = Symbol("dartx.getFingerprints"), + $bufferedAmount: dartx.bufferedAmount = Symbol("dartx.bufferedAmount"), + $bufferedAmountLowThreshold: dartx.bufferedAmountLowThreshold = Symbol("dartx.bufferedAmountLowThreshold"), + $maxRetransmitTime: dartx.maxRetransmitTime = Symbol("dartx.maxRetransmitTime"), + $maxRetransmits: dartx.maxRetransmits = Symbol("dartx.maxRetransmits"), + $negotiated: dartx.negotiated = Symbol("dartx.negotiated"), + $ordered: dartx.ordered = Symbol("dartx.ordered"), + $reliable: dartx.reliable = Symbol("dartx.reliable"), + $sendBlob: dartx.sendBlob = Symbol("dartx.sendBlob"), + $sendByteBuffer: dartx.sendByteBuffer = Symbol("dartx.sendByteBuffer"), + $sendString: dartx.sendString = Symbol("dartx.sendString"), + $sendTypedData: dartx.sendTypedData = Symbol("dartx.sendTypedData"), + $channel: dartx.channel = Symbol("dartx.channel"), + $canInsertDtmf: dartx.canInsertDtmf = Symbol("dartx.canInsertDtmf"), + $interToneGap: dartx.interToneGap = Symbol("dartx.interToneGap"), + $toneBuffer: dartx.toneBuffer = Symbol("dartx.toneBuffer"), + $insertDtmf: dartx.insertDtmf = Symbol("dartx.insertDtmf"), + $onToneChange: dartx.onToneChange = Symbol("dartx.onToneChange"), + $tone: dartx.tone = Symbol("dartx.tone"), + $candidate: dartx.candidate = Symbol("dartx.candidate"), + $sdpMLineIndex: dartx.sdpMLineIndex = Symbol("dartx.sdpMLineIndex"), + $sdpMid: dartx.sdpMid = Symbol("dartx.sdpMid"), + _get_timestamp: dart.privateName(html$, "_get_timestamp"), + $names: dartx.names = Symbol("dartx.names"), + $stat: dartx.stat = Symbol("dartx.stat"), + _getStats: dart.privateName(html$, "_getStats"), + $getLegacyStats: dartx.getLegacyStats = Symbol("dartx.getLegacyStats"), + $iceConnectionState: dartx.iceConnectionState = Symbol("dartx.iceConnectionState"), + $iceGatheringState: dartx.iceGatheringState = Symbol("dartx.iceGatheringState"), + $localDescription: dartx.localDescription = Symbol("dartx.localDescription"), + $remoteDescription: dartx.remoteDescription = Symbol("dartx.remoteDescription"), + $signalingState: dartx.signalingState = Symbol("dartx.signalingState"), + $addIceCandidate: dartx.addIceCandidate = Symbol("dartx.addIceCandidate"), + _addStream_1: dart.privateName(html$, "_addStream_1"), + _addStream_2: dart.privateName(html$, "_addStream_2"), + $addStream: dartx.addStream = Symbol("dartx.addStream"), + $createAnswer: dartx.createAnswer = Symbol("dartx.createAnswer"), + $createDtmfSender: dartx.createDtmfSender = Symbol("dartx.createDtmfSender"), + _createDataChannel_1: dart.privateName(html$, "_createDataChannel_1"), + _createDataChannel_2: dart.privateName(html$, "_createDataChannel_2"), + $createDataChannel: dartx.createDataChannel = Symbol("dartx.createDataChannel"), + $createOffer: dartx.createOffer = Symbol("dartx.createOffer"), + $getLocalStreams: dartx.getLocalStreams = Symbol("dartx.getLocalStreams"), + $getReceivers: dartx.getReceivers = Symbol("dartx.getReceivers"), + $getRemoteStreams: dartx.getRemoteStreams = Symbol("dartx.getRemoteStreams"), + $getSenders: dartx.getSenders = Symbol("dartx.getSenders"), + $getStats: dartx.getStats = Symbol("dartx.getStats"), + $removeStream: dartx.removeStream = Symbol("dartx.removeStream"), + _setConfiguration_1: dart.privateName(html$, "_setConfiguration_1"), + $setConfiguration: dartx.setConfiguration = Symbol("dartx.setConfiguration"), + $setLocalDescription: dartx.setLocalDescription = Symbol("dartx.setLocalDescription"), + $setRemoteDescription: dartx.setRemoteDescription = Symbol("dartx.setRemoteDescription"), + $onAddStream: dartx.onAddStream = Symbol("dartx.onAddStream"), + $onDataChannel: dartx.onDataChannel = Symbol("dartx.onDataChannel"), + $onIceCandidate: dartx.onIceCandidate = Symbol("dartx.onIceCandidate"), + $onIceConnectionStateChange: dartx.onIceConnectionStateChange = Symbol("dartx.onIceConnectionStateChange"), + $onNegotiationNeeded: dartx.onNegotiationNeeded = Symbol("dartx.onNegotiationNeeded"), + $onRemoveStream: dartx.onRemoveStream = Symbol("dartx.onRemoveStream"), + $onSignalingStateChange: dartx.onSignalingStateChange = Symbol("dartx.onSignalingStateChange"), + $onTrack: dartx.onTrack = Symbol("dartx.onTrack"), + $getContributingSources: dartx.getContributingSources = Symbol("dartx.getContributingSources"), + $sdp: dartx.sdp = Symbol("dartx.sdp"), + $streams: dartx.streams = Symbol("dartx.streams"), + _availLeft: dart.privateName(html$, "_availLeft"), + _availTop: dart.privateName(html$, "_availTop"), + _availWidth: dart.privateName(html$, "_availWidth"), + _availHeight: dart.privateName(html$, "_availHeight"), + $available: dartx.available = Symbol("dartx.available"), + $colorDepth: dartx.colorDepth = Symbol("dartx.colorDepth"), + $keepAwake: dartx.keepAwake = Symbol("dartx.keepAwake"), + $pixelDepth: dartx.pixelDepth = Symbol("dartx.pixelDepth"), + $lock: dartx.lock = Symbol("dartx.lock"), + $unlock: dartx.unlock = Symbol("dartx.unlock"), + $charset: dartx.charset = Symbol("dartx.charset"), + $defer: dartx.defer = Symbol("dartx.defer"), + $noModule: dartx.noModule = Symbol("dartx.noModule"), + $deltaGranularity: dartx.deltaGranularity = Symbol("dartx.deltaGranularity"), + $deltaX: dartx.deltaX = Symbol("dartx.deltaX"), + $deltaY: dartx.deltaY = Symbol("dartx.deltaY"), + $fromUserInput: dartx.fromUserInput = Symbol("dartx.fromUserInput"), + $inInertialPhase: dartx.inInertialPhase = Symbol("dartx.inInertialPhase"), + $isBeginning: dartx.isBeginning = Symbol("dartx.isBeginning"), + $isDirectManipulation: dartx.isDirectManipulation = Symbol("dartx.isDirectManipulation"), + $isEnding: dartx.isEnding = Symbol("dartx.isEnding"), + $positionX: dartx.positionX = Symbol("dartx.positionX"), + $positionY: dartx.positionY = Symbol("dartx.positionY"), + $velocityX: dartx.velocityX = Symbol("dartx.velocityX"), + $velocityY: dartx.velocityY = Symbol("dartx.velocityY"), + $consumeDelta: dartx.consumeDelta = Symbol("dartx.consumeDelta"), + $distributeToScrollChainDescendant: dartx.distributeToScrollChainDescendant = Symbol("dartx.distributeToScrollChainDescendant"), + $scrollSource: dartx.scrollSource = Symbol("dartx.scrollSource"), + $timeRange: dartx.timeRange = Symbol("dartx.timeRange"), + $blockedUri: dartx.blockedUri = Symbol("dartx.blockedUri"), + $columnNumber: dartx.columnNumber = Symbol("dartx.columnNumber"), + $disposition: dartx.disposition = Symbol("dartx.disposition"), + $documentUri: dartx.documentUri = Symbol("dartx.documentUri"), + $effectiveDirective: dartx.effectiveDirective = Symbol("dartx.effectiveDirective"), + $originalPolicy: dartx.originalPolicy = Symbol("dartx.originalPolicy"), + $sample: dartx.sample = Symbol("dartx.sample"), + $statusCode: dartx.statusCode = Symbol("dartx.statusCode"), + $violatedDirective: dartx.violatedDirective = Symbol("dartx.violatedDirective"), + $selectedIndex: dartx.selectedIndex = Symbol("dartx.selectedIndex"), + $selectedOptions: dartx.selectedOptions = Symbol("dartx.selectedOptions"), + $anchorNode: dartx.anchorNode = Symbol("dartx.anchorNode"), + $anchorOffset: dartx.anchorOffset = Symbol("dartx.anchorOffset"), + $baseNode: dartx.baseNode = Symbol("dartx.baseNode"), + $baseOffset: dartx.baseOffset = Symbol("dartx.baseOffset"), + $extentNode: dartx.extentNode = Symbol("dartx.extentNode"), + $extentOffset: dartx.extentOffset = Symbol("dartx.extentOffset"), + $focusNode: dartx.focusNode = Symbol("dartx.focusNode"), + $focusOffset: dartx.focusOffset = Symbol("dartx.focusOffset"), + $isCollapsed: dartx.isCollapsed = Symbol("dartx.isCollapsed"), + $rangeCount: dartx.rangeCount = Symbol("dartx.rangeCount"), + $addRange: dartx.addRange = Symbol("dartx.addRange"), + $collapseToEnd: dartx.collapseToEnd = Symbol("dartx.collapseToEnd"), + $collapseToStart: dartx.collapseToStart = Symbol("dartx.collapseToStart"), + $containsNode: dartx.containsNode = Symbol("dartx.containsNode"), + $deleteFromDocument: dartx.deleteFromDocument = Symbol("dartx.deleteFromDocument"), + $empty: dartx.empty = Symbol("dartx.empty"), + $extend: dartx.extend = Symbol("dartx.extend"), + $getRangeAt: dartx.getRangeAt = Symbol("dartx.getRangeAt"), + $modify: dartx.modify = Symbol("dartx.modify"), + $removeAllRanges: dartx.removeAllRanges = Symbol("dartx.removeAllRanges"), + $selectAllChildren: dartx.selectAllChildren = Symbol("dartx.selectAllChildren"), + $setBaseAndExtent: dartx.setBaseAndExtent = Symbol("dartx.setBaseAndExtent"), + $setPosition: dartx.setPosition = Symbol("dartx.setPosition"), + $scriptUrl: dartx.scriptUrl = Symbol("dartx.scriptUrl"), + $controller: dartx.controller = Symbol("dartx.controller"), + $getRegistration: dartx.getRegistration = Symbol("dartx.getRegistration"), + $getRegistrations: dartx.getRegistrations = Symbol("dartx.getRegistrations"), + $clients: dartx.clients = Symbol("dartx.clients"), + $registration: dartx.registration = Symbol("dartx.registration"), + $skipWaiting: dartx.skipWaiting = Symbol("dartx.skipWaiting"), + $onActivate: dartx.onActivate = Symbol("dartx.onActivate"), + $onFetch: dartx.onFetch = Symbol("dartx.onFetch"), + $onForeignfetch: dartx.onForeignfetch = Symbol("dartx.onForeignfetch"), + $onInstall: dartx.onInstall = Symbol("dartx.onInstall"), + $backgroundFetch: dartx.backgroundFetch = Symbol("dartx.backgroundFetch"), + $installing: dartx.installing = Symbol("dartx.installing"), + $navigationPreload: dartx.navigationPreload = Symbol("dartx.navigationPreload"), + $paymentManager: dartx.paymentManager = Symbol("dartx.paymentManager"), + $pushManager: dartx.pushManager = Symbol("dartx.pushManager"), + $sync: dartx.sync = Symbol("dartx.sync"), + $waiting: dartx.waiting = Symbol("dartx.waiting"), + $getNotifications: dartx.getNotifications = Symbol("dartx.getNotifications"), + $showNotification: dartx.showNotification = Symbol("dartx.showNotification"), + $unregister: dartx.unregister = Symbol("dartx.unregister"), + $delegatesFocus: dartx.delegatesFocus = Symbol("dartx.delegatesFocus"), + $olderShadowRoot: dartx.olderShadowRoot = Symbol("dartx.olderShadowRoot"), + $console: dartx.console = Symbol("dartx.console"), + $resetStyleInheritance: dartx.resetStyleInheritance = Symbol("dartx.resetStyleInheritance"), + $applyAuthorStyles: dartx.applyAuthorStyles = Symbol("dartx.applyAuthorStyles"), + $byteLength: dartx.byteLength = Symbol("dartx.byteLength"), + $onConnect: dartx.onConnect = Symbol("dartx.onConnect"), + _assignedNodes_1: dart.privateName(html$, "_assignedNodes_1"), + _assignedNodes_2: dart.privateName(html$, "_assignedNodes_2"), + $assignedNodes: dartx.assignedNodes = Symbol("dartx.assignedNodes"), + $appendWindowEnd: dartx.appendWindowEnd = Symbol("dartx.appendWindowEnd"), + $appendWindowStart: dartx.appendWindowStart = Symbol("dartx.appendWindowStart"), + $timestampOffset: dartx.timestampOffset = Symbol("dartx.timestampOffset"), + $trackDefaults: dartx.trackDefaults = Symbol("dartx.trackDefaults"), + $updating: dartx.updating = Symbol("dartx.updating"), + $appendBuffer: dartx.appendBuffer = Symbol("dartx.appendBuffer"), + $appendTypedData: dartx.appendTypedData = Symbol("dartx.appendTypedData"), + $addFromString: dartx.addFromString = Symbol("dartx.addFromString"), + $addFromUri: dartx.addFromUri = Symbol("dartx.addFromUri"), + $audioTrack: dartx.audioTrack = Symbol("dartx.audioTrack"), + $continuous: dartx.continuous = Symbol("dartx.continuous"), + $grammars: dartx.grammars = Symbol("dartx.grammars"), + $interimResults: dartx.interimResults = Symbol("dartx.interimResults"), + $maxAlternatives: dartx.maxAlternatives = Symbol("dartx.maxAlternatives"), + $onAudioEnd: dartx.onAudioEnd = Symbol("dartx.onAudioEnd"), + $onAudioStart: dartx.onAudioStart = Symbol("dartx.onAudioStart"), + $onEnd: dartx.onEnd = Symbol("dartx.onEnd"), + $onNoMatch: dartx.onNoMatch = Symbol("dartx.onNoMatch"), + $onResult: dartx.onResult = Symbol("dartx.onResult"), + $onSoundEnd: dartx.onSoundEnd = Symbol("dartx.onSoundEnd"), + $onSoundStart: dartx.onSoundStart = Symbol("dartx.onSoundStart"), + $onSpeechEnd: dartx.onSpeechEnd = Symbol("dartx.onSpeechEnd"), + $onSpeechStart: dartx.onSpeechStart = Symbol("dartx.onSpeechStart"), + $onStart: dartx.onStart = Symbol("dartx.onStart"), + $confidence: dartx.confidence = Symbol("dartx.confidence"), + $transcript: dartx.transcript = Symbol("dartx.transcript"), + $emma: dartx.emma = Symbol("dartx.emma"), + $interpretation: dartx.interpretation = Symbol("dartx.interpretation"), + $resultIndex: dartx.resultIndex = Symbol("dartx.resultIndex"), + $results: dartx.results = Symbol("dartx.results"), + $isFinal: dartx.isFinal = Symbol("dartx.isFinal"), + _getVoices: dart.privateName(html$, "_getVoices"), + $getVoices: dartx.getVoices = Symbol("dartx.getVoices"), + $pending: dartx.pending = Symbol("dartx.pending"), + $speaking: dartx.speaking = Symbol("dartx.speaking"), + $charIndex: dartx.charIndex = Symbol("dartx.charIndex"), + $utterance: dartx.utterance = Symbol("dartx.utterance"), + $pitch: dartx.pitch = Symbol("dartx.pitch"), + $rate: dartx.rate = Symbol("dartx.rate"), + $voice: dartx.voice = Symbol("dartx.voice"), + $onBoundary: dartx.onBoundary = Symbol("dartx.onBoundary"), + $onMark: dartx.onMark = Symbol("dartx.onMark"), + $onResume: dartx.onResume = Symbol("dartx.onResume"), + $localService: dartx.localService = Symbol("dartx.localService"), + $voiceUri: dartx.voiceUri = Symbol("dartx.voiceUri"), + _setItem: dart.privateName(html$, "_setItem"), + _removeItem: dart.privateName(html$, "_removeItem"), + _key: dart.privateName(html$, "_key"), + _length$3: dart.privateName(html$, "_length"), + _initStorageEvent: dart.privateName(html$, "_initStorageEvent"), + $storageArea: dartx.storageArea = Symbol("dartx.storageArea"), + $estimate: dartx.estimate = Symbol("dartx.estimate"), + $persist: dartx.persist = Symbol("dartx.persist"), + $matchMedium: dartx.matchMedium = Symbol("dartx.matchMedium"), + $getProperties: dartx.getProperties = Symbol("dartx.getProperties"), + $lastChance: dartx.lastChance = Symbol("dartx.lastChance"), + $getTags: dartx.getTags = Symbol("dartx.getTags"), + $cellIndex: dartx.cellIndex = Symbol("dartx.cellIndex"), + $headers: dartx.headers = Symbol("dartx.headers"), + $span: dartx.span = Symbol("dartx.span"), + _tBodies: dart.privateName(html$, "_tBodies"), + $tBodies: dartx.tBodies = Symbol("dartx.tBodies"), + _rows: dart.privateName(html$, "_rows"), + $rows: dartx.rows = Symbol("dartx.rows"), + $insertRow: dartx.insertRow = Symbol("dartx.insertRow"), + $addRow: dartx.addRow = Symbol("dartx.addRow"), + _createCaption: dart.privateName(html$, "_createCaption"), + $createCaption: dartx.createCaption = Symbol("dartx.createCaption"), + _createTBody: dart.privateName(html$, "_createTBody"), + $createTBody: dartx.createTBody = Symbol("dartx.createTBody"), + _createTFoot: dart.privateName(html$, "_createTFoot"), + $createTFoot: dartx.createTFoot = Symbol("dartx.createTFoot"), + _createTHead: dart.privateName(html$, "_createTHead"), + $createTHead: dartx.createTHead = Symbol("dartx.createTHead"), + _insertRow: dart.privateName(html$, "_insertRow"), + _nativeCreateTBody: dart.privateName(html$, "_nativeCreateTBody"), + $caption: dartx.caption = Symbol("dartx.caption"), + $tFoot: dartx.tFoot = Symbol("dartx.tFoot"), + $tHead: dartx.tHead = Symbol("dartx.tHead"), + $deleteCaption: dartx.deleteCaption = Symbol("dartx.deleteCaption"), + $deleteRow: dartx.deleteRow = Symbol("dartx.deleteRow"), + $deleteTFoot: dartx.deleteTFoot = Symbol("dartx.deleteTFoot"), + $deleteTHead: dartx.deleteTHead = Symbol("dartx.deleteTHead"), + _cells: dart.privateName(html$, "_cells"), + $cells: dartx.cells = Symbol("dartx.cells"), + $insertCell: dartx.insertCell = Symbol("dartx.insertCell"), + $addCell: dartx.addCell = Symbol("dartx.addCell"), + _insertCell: dart.privateName(html$, "_insertCell"), + $sectionRowIndex: dartx.sectionRowIndex = Symbol("dartx.sectionRowIndex"), + $deleteCell: dartx.deleteCell = Symbol("dartx.deleteCell"), + $containerId: dartx.containerId = Symbol("dartx.containerId"), + $containerName: dartx.containerName = Symbol("dartx.containerName"), + $containerSrc: dartx.containerSrc = Symbol("dartx.containerSrc"), + $containerType: dartx.containerType = Symbol("dartx.containerType"), + $cols: dartx.cols = Symbol("dartx.cols"), + $textLength: dartx.textLength = Symbol("dartx.textLength"), + $wrap: dartx.wrap = Symbol("dartx.wrap"), + _initTextEvent: dart.privateName(html$, "_initTextEvent"), + $actualBoundingBoxAscent: dartx.actualBoundingBoxAscent = Symbol("dartx.actualBoundingBoxAscent"), + $actualBoundingBoxDescent: dartx.actualBoundingBoxDescent = Symbol("dartx.actualBoundingBoxDescent"), + $actualBoundingBoxLeft: dartx.actualBoundingBoxLeft = Symbol("dartx.actualBoundingBoxLeft"), + $actualBoundingBoxRight: dartx.actualBoundingBoxRight = Symbol("dartx.actualBoundingBoxRight"), + $alphabeticBaseline: dartx.alphabeticBaseline = Symbol("dartx.alphabeticBaseline"), + $emHeightAscent: dartx.emHeightAscent = Symbol("dartx.emHeightAscent"), + $emHeightDescent: dartx.emHeightDescent = Symbol("dartx.emHeightDescent"), + $fontBoundingBoxAscent: dartx.fontBoundingBoxAscent = Symbol("dartx.fontBoundingBoxAscent"), + $fontBoundingBoxDescent: dartx.fontBoundingBoxDescent = Symbol("dartx.fontBoundingBoxDescent"), + $hangingBaseline: dartx.hangingBaseline = Symbol("dartx.hangingBaseline"), + $ideographicBaseline: dartx.ideographicBaseline = Symbol("dartx.ideographicBaseline"), + $activeCues: dartx.activeCues = Symbol("dartx.activeCues"), + $cues: dartx.cues = Symbol("dartx.cues"), + $addCue: dartx.addCue = Symbol("dartx.addCue"), + $removeCue: dartx.removeCue = Symbol("dartx.removeCue"), + $onCueChange: dartx.onCueChange = Symbol("dartx.onCueChange"), + $endTime: dartx.endTime = Symbol("dartx.endTime"), + $pauseOnExit: dartx.pauseOnExit = Symbol("dartx.pauseOnExit"), + $onEnter: dartx.onEnter = Symbol("dartx.onEnter"), + $onExit: dartx.onExit = Symbol("dartx.onExit"), + $getCueById: dartx.getCueById = Symbol("dartx.getCueById"), + $end: dartx.end = Symbol("dartx.end"), + $force: dartx.force = Symbol("dartx.force"), + $identifier: dartx.identifier = Symbol("dartx.identifier"), + _radiusX: dart.privateName(html$, "_radiusX"), + _radiusY: dart.privateName(html$, "_radiusY"), + $rotationAngle: dartx.rotationAngle = Symbol("dartx.rotationAngle"), + __clientX: dart.privateName(html$, "__clientX"), + __clientY: dart.privateName(html$, "__clientY"), + __screenX: dart.privateName(html$, "__screenX"), + __screenY: dart.privateName(html$, "__screenY"), + __pageX: dart.privateName(html$, "__pageX"), + __pageY: dart.privateName(html$, "__pageY"), + __radiusX: dart.privateName(html$, "__radiusX"), + __radiusY: dart.privateName(html$, "__radiusY"), + $radiusX: dartx.radiusX = Symbol("dartx.radiusX"), + $radiusY: dartx.radiusY = Symbol("dartx.radiusY"), + $changedTouches: dartx.changedTouches = Symbol("dartx.changedTouches") +}; +var S$3 = { + $targetTouches: dartx.targetTouches = Symbol("dartx.targetTouches"), + $touches: dartx.touches = Symbol("dartx.touches"), + $byteStreamTrackID: dartx.byteStreamTrackID = Symbol("dartx.byteStreamTrackID"), + $kinds: dartx.kinds = Symbol("dartx.kinds"), + $srclang: dartx.srclang = Symbol("dartx.srclang"), + $propertyName: dartx.propertyName = Symbol("dartx.propertyName"), + $pseudoElement: dartx.pseudoElement = Symbol("dartx.pseudoElement"), + $currentNode: dartx.currentNode = Symbol("dartx.currentNode"), + $notifyLockAcquired: dartx.notifyLockAcquired = Symbol("dartx.notifyLockAcquired"), + $notifyLockReleased: dartx.notifyLockReleased = Symbol("dartx.notifyLockReleased"), + $pull: dartx.pull = Symbol("dartx.pull"), + $searchParams: dartx.searchParams = Symbol("dartx.searchParams"), + $getDevices: dartx.getDevices = Symbol("dartx.getDevices"), + $getTransformTo: dartx.getTransformTo = Symbol("dartx.getTransformTo"), + $deviceName: dartx.deviceName = Symbol("dartx.deviceName"), + $isExternal: dartx.isExternal = Symbol("dartx.isExternal"), + $requestSession: dartx.requestSession = Symbol("dartx.requestSession"), + $supportsSession: dartx.supportsSession = Symbol("dartx.supportsSession"), + $device: dartx.device = Symbol("dartx.device"), + $capabilities: dartx.capabilities = Symbol("dartx.capabilities"), + $depthFar: dartx.depthFar = Symbol("dartx.depthFar"), + $depthNear: dartx.depthNear = Symbol("dartx.depthNear"), + $displayName: dartx.displayName = Symbol("dartx.displayName"), + $isPresenting: dartx.isPresenting = Symbol("dartx.isPresenting"), + $stageParameters: dartx.stageParameters = Symbol("dartx.stageParameters"), + $cancelAnimationFrame: dartx.cancelAnimationFrame = Symbol("dartx.cancelAnimationFrame"), + $exitPresent: dartx.exitPresent = Symbol("dartx.exitPresent"), + $getEyeParameters: dartx.getEyeParameters = Symbol("dartx.getEyeParameters"), + $getFrameData: dartx.getFrameData = Symbol("dartx.getFrameData"), + $getLayers: dartx.getLayers = Symbol("dartx.getLayers"), + $requestAnimationFrame: dartx.requestAnimationFrame = Symbol("dartx.requestAnimationFrame"), + $requestPresent: dartx.requestPresent = Symbol("dartx.requestPresent"), + $submitFrame: dartx.submitFrame = Symbol("dartx.submitFrame"), + $canPresent: dartx.canPresent = Symbol("dartx.canPresent"), + $hasExternalDisplay: dartx.hasExternalDisplay = Symbol("dartx.hasExternalDisplay"), + $maxLayers: dartx.maxLayers = Symbol("dartx.maxLayers"), + $renderHeight: dartx.renderHeight = Symbol("dartx.renderHeight"), + $renderWidth: dartx.renderWidth = Symbol("dartx.renderWidth"), + $leftProjectionMatrix: dartx.leftProjectionMatrix = Symbol("dartx.leftProjectionMatrix"), + $leftViewMatrix: dartx.leftViewMatrix = Symbol("dartx.leftViewMatrix"), + $rightProjectionMatrix: dartx.rightProjectionMatrix = Symbol("dartx.rightProjectionMatrix"), + $rightViewMatrix: dartx.rightViewMatrix = Symbol("dartx.rightViewMatrix"), + $bounds: dartx.bounds = Symbol("dartx.bounds"), + $emulatedHeight: dartx.emulatedHeight = Symbol("dartx.emulatedHeight"), + $exclusive: dartx.exclusive = Symbol("dartx.exclusive"), + $requestFrameOfReference: dartx.requestFrameOfReference = Symbol("dartx.requestFrameOfReference"), + $session: dartx.session = Symbol("dartx.session"), + $geometry: dartx.geometry = Symbol("dartx.geometry"), + $sittingToStandingTransform: dartx.sittingToStandingTransform = Symbol("dartx.sittingToStandingTransform"), + $sizeX: dartx.sizeX = Symbol("dartx.sizeX"), + $sizeZ: dartx.sizeZ = Symbol("dartx.sizeZ"), + $badInput: dartx.badInput = Symbol("dartx.badInput"), + $customError: dartx.customError = Symbol("dartx.customError"), + $patternMismatch: dartx.patternMismatch = Symbol("dartx.patternMismatch"), + $rangeOverflow: dartx.rangeOverflow = Symbol("dartx.rangeOverflow"), + $rangeUnderflow: dartx.rangeUnderflow = Symbol("dartx.rangeUnderflow"), + $stepMismatch: dartx.stepMismatch = Symbol("dartx.stepMismatch"), + $tooLong: dartx.tooLong = Symbol("dartx.tooLong"), + $tooShort: dartx.tooShort = Symbol("dartx.tooShort"), + $typeMismatch: dartx.typeMismatch = Symbol("dartx.typeMismatch"), + $valid: dartx.valid = Symbol("dartx.valid"), + $valueMissing: dartx.valueMissing = Symbol("dartx.valueMissing"), + $poster: dartx.poster = Symbol("dartx.poster"), + $videoHeight: dartx.videoHeight = Symbol("dartx.videoHeight"), + $videoWidth: dartx.videoWidth = Symbol("dartx.videoWidth"), + $decodedFrameCount: dartx.decodedFrameCount = Symbol("dartx.decodedFrameCount"), + $droppedFrameCount: dartx.droppedFrameCount = Symbol("dartx.droppedFrameCount"), + $getVideoPlaybackQuality: dartx.getVideoPlaybackQuality = Symbol("dartx.getVideoPlaybackQuality"), + $enterFullscreen: dartx.enterFullscreen = Symbol("dartx.enterFullscreen"), + $corruptedVideoFrames: dartx.corruptedVideoFrames = Symbol("dartx.corruptedVideoFrames"), + $creationTime: dartx.creationTime = Symbol("dartx.creationTime"), + $droppedVideoFrames: dartx.droppedVideoFrames = Symbol("dartx.droppedVideoFrames"), + $totalVideoFrames: dartx.totalVideoFrames = Symbol("dartx.totalVideoFrames"), + $sourceBuffer: dartx.sourceBuffer = Symbol("dartx.sourceBuffer"), + $pageLeft: dartx.pageLeft = Symbol("dartx.pageLeft"), + $pageTop: dartx.pageTop = Symbol("dartx.pageTop"), + $align: dartx.align = Symbol("dartx.align"), + $line: dartx.line = Symbol("dartx.line"), + $snapToLines: dartx.snapToLines = Symbol("dartx.snapToLines"), + $vertical: dartx.vertical = Symbol("dartx.vertical"), + $getCueAsHtml: dartx.getCueAsHtml = Symbol("dartx.getCueAsHtml"), + $lines: dartx.lines = Symbol("dartx.lines"), + $regionAnchorX: dartx.regionAnchorX = Symbol("dartx.regionAnchorX"), + $regionAnchorY: dartx.regionAnchorY = Symbol("dartx.regionAnchorY"), + $viewportAnchorX: dartx.viewportAnchorX = Symbol("dartx.viewportAnchorX"), + $viewportAnchorY: dartx.viewportAnchorY = Symbol("dartx.viewportAnchorY"), + $extensions: dartx.extensions = Symbol("dartx.extensions"), + _deltaX: dart.privateName(html$, "_deltaX"), + _deltaY: dart.privateName(html$, "_deltaY"), + $deltaZ: dartx.deltaZ = Symbol("dartx.deltaZ"), + $deltaMode: dartx.deltaMode = Symbol("dartx.deltaMode"), + _wheelDelta: dart.privateName(html$, "_wheelDelta"), + _wheelDeltaX: dart.privateName(html$, "_wheelDeltaX"), + _hasInitMouseScrollEvent: dart.privateName(html$, "_hasInitMouseScrollEvent"), + _initMouseScrollEvent: dart.privateName(html$, "_initMouseScrollEvent"), + _hasInitWheelEvent: dart.privateName(html$, "_hasInitWheelEvent"), + _initWheelEvent: dart.privateName(html$, "_initWheelEvent"), + $animationFrame: dartx.animationFrame = Symbol("dartx.animationFrame"), + $document: dartx.document = Symbol("dartx.document"), + _open2: dart.privateName(html$, "_open2"), + _open3: dart.privateName(html$, "_open3"), + _location: dart.privateName(html$, "_location"), + _ensureRequestAnimationFrame: dart.privateName(html$, "_ensureRequestAnimationFrame"), + _requestAnimationFrame: dart.privateName(html$, "_requestAnimationFrame"), + _cancelAnimationFrame: dart.privateName(html$, "_cancelAnimationFrame"), + _requestFileSystem: dart.privateName(html$, "_requestFileSystem"), + $requestFileSystem: dartx.requestFileSystem = Symbol("dartx.requestFileSystem"), + $animationWorklet: dartx.animationWorklet = Symbol("dartx.animationWorklet"), + $applicationCache: dartx.applicationCache = Symbol("dartx.applicationCache"), + $audioWorklet: dartx.audioWorklet = Symbol("dartx.audioWorklet"), + $cookieStore: dartx.cookieStore = Symbol("dartx.cookieStore"), + $customElements: dartx.customElements = Symbol("dartx.customElements"), + $defaultStatus: dartx.defaultStatus = Symbol("dartx.defaultStatus"), + $defaultstatus: dartx.defaultstatus = Symbol("dartx.defaultstatus"), + $external: dartx.external = Symbol("dartx.external"), + $history: dartx.history = Symbol("dartx.history"), + $innerHeight: dartx.innerHeight = Symbol("dartx.innerHeight"), + $innerWidth: dartx.innerWidth = Symbol("dartx.innerWidth"), + $localStorage: dartx.localStorage = Symbol("dartx.localStorage"), + $locationbar: dartx.locationbar = Symbol("dartx.locationbar"), + $menubar: dartx.menubar = Symbol("dartx.menubar"), + $offscreenBuffering: dartx.offscreenBuffering = Symbol("dartx.offscreenBuffering"), + _get_opener: dart.privateName(html$, "_get_opener"), + $opener: dartx.opener = Symbol("dartx.opener"), + $outerHeight: dartx.outerHeight = Symbol("dartx.outerHeight"), + $outerWidth: dartx.outerWidth = Symbol("dartx.outerWidth"), + _pageXOffset: dart.privateName(html$, "_pageXOffset"), + _pageYOffset: dart.privateName(html$, "_pageYOffset"), + _get_parent: dart.privateName(html$, "_get_parent"), + $screenLeft: dartx.screenLeft = Symbol("dartx.screenLeft"), + $screenTop: dartx.screenTop = Symbol("dartx.screenTop"), + $screenX: dartx.screenX = Symbol("dartx.screenX"), + $screenY: dartx.screenY = Symbol("dartx.screenY"), + $scrollbars: dartx.scrollbars = Symbol("dartx.scrollbars"), + _get_self: dart.privateName(html$, "_get_self"), + $sessionStorage: dartx.sessionStorage = Symbol("dartx.sessionStorage"), + $speechSynthesis: dartx.speechSynthesis = Symbol("dartx.speechSynthesis"), + $statusbar: dartx.statusbar = Symbol("dartx.statusbar"), + $styleMedia: dartx.styleMedia = Symbol("dartx.styleMedia"), + $toolbar: dartx.toolbar = Symbol("dartx.toolbar"), + _get_top: dart.privateName(html$, "_get_top"), + $visualViewport: dartx.visualViewport = Symbol("dartx.visualViewport"), + __getter___1: dart.privateName(html$, "__getter___1"), + __getter___2: dart.privateName(html$, "__getter___2"), + $alert: dartx.alert = Symbol("dartx.alert"), + $cancelIdleCallback: dartx.cancelIdleCallback = Symbol("dartx.cancelIdleCallback"), + $confirm: dartx.confirm = Symbol("dartx.confirm"), + $find: dartx.find = Symbol("dartx.find"), + $getComputedStyleMap: dartx.getComputedStyleMap = Symbol("dartx.getComputedStyleMap"), + $getMatchedCssRules: dartx.getMatchedCssRules = Symbol("dartx.getMatchedCssRules"), + $matchMedia: dartx.matchMedia = Symbol("dartx.matchMedia"), + $moveBy: dartx.moveBy = Symbol("dartx.moveBy"), + _openDatabase: dart.privateName(html$, "_openDatabase"), + $print: dartx.print = Symbol("dartx.print"), + _requestIdleCallback_1: dart.privateName(html$, "_requestIdleCallback_1"), + _requestIdleCallback_2: dart.privateName(html$, "_requestIdleCallback_2"), + $requestIdleCallback: dartx.requestIdleCallback = Symbol("dartx.requestIdleCallback"), + $resizeBy: dartx.resizeBy = Symbol("dartx.resizeBy"), + $resizeTo: dartx.resizeTo = Symbol("dartx.resizeTo"), + _scroll_4: dart.privateName(html$, "_scroll_4"), + _scroll_5: dart.privateName(html$, "_scroll_5"), + _scrollBy_4: dart.privateName(html$, "_scrollBy_4"), + _scrollBy_5: dart.privateName(html$, "_scrollBy_5"), + _scrollTo_4: dart.privateName(html$, "_scrollTo_4"), + _scrollTo_5: dart.privateName(html$, "_scrollTo_5"), + __requestFileSystem: dart.privateName(html$, "__requestFileSystem"), + _resolveLocalFileSystemUrl: dart.privateName(html$, "_resolveLocalFileSystemUrl"), + $resolveLocalFileSystemUrl: dartx.resolveLocalFileSystemUrl = Symbol("dartx.resolveLocalFileSystemUrl"), + $onContentLoaded: dartx.onContentLoaded = Symbol("dartx.onContentLoaded"), + $onDeviceMotion: dartx.onDeviceMotion = Symbol("dartx.onDeviceMotion"), + $onDeviceOrientation: dartx.onDeviceOrientation = Symbol("dartx.onDeviceOrientation"), + $onPageHide: dartx.onPageHide = Symbol("dartx.onPageHide"), + $onPageShow: dartx.onPageShow = Symbol("dartx.onPageShow"), + $onAnimationEnd: dartx.onAnimationEnd = Symbol("dartx.onAnimationEnd"), + $onAnimationIteration: dartx.onAnimationIteration = Symbol("dartx.onAnimationIteration"), + $onAnimationStart: dartx.onAnimationStart = Symbol("dartx.onAnimationStart"), + $onBeforeUnload: dartx.onBeforeUnload = Symbol("dartx.onBeforeUnload"), + $openDatabase: dartx.openDatabase = Symbol("dartx.openDatabase"), + $pageXOffset: dartx.pageXOffset = Symbol("dartx.pageXOffset"), + $pageYOffset: dartx.pageYOffset = Symbol("dartx.pageYOffset"), + $scrollX: dartx.scrollX = Symbol("dartx.scrollX"), + $scrollY: dartx.scrollY = Symbol("dartx.scrollY"), + _BeforeUnloadEventStreamProvider__eventType: dart.privateName(html$, "_BeforeUnloadEventStreamProvider._eventType"), + _returnValue: dart.privateName(html$, "_returnValue"), + wrapped: dart.privateName(html$, "_WrappedEvent.wrapped"), + _eventType: dart.privateName(html$, "_BeforeUnloadEventStreamProvider._eventType"), + _eventType$1: dart.privateName(html$, "_eventType"), + $focused: dartx.focused = Symbol("dartx.focused"), + $navigate: dartx.navigate = Symbol("dartx.navigate"), + $createExpression: dartx.createExpression = Symbol("dartx.createExpression"), + $createNSResolver: dartx.createNSResolver = Symbol("dartx.createNSResolver"), + $evaluate: dartx.evaluate = Symbol("dartx.evaluate"), + $lookupNamespaceUri: dartx.lookupNamespaceUri = Symbol("dartx.lookupNamespaceUri"), + $booleanValue: dartx.booleanValue = Symbol("dartx.booleanValue"), + $invalidIteratorState: dartx.invalidIteratorState = Symbol("dartx.invalidIteratorState"), + $numberValue: dartx.numberValue = Symbol("dartx.numberValue"), + $resultType: dartx.resultType = Symbol("dartx.resultType"), + $singleNodeValue: dartx.singleNodeValue = Symbol("dartx.singleNodeValue"), + $snapshotLength: dartx.snapshotLength = Symbol("dartx.snapshotLength"), + $stringValue: dartx.stringValue = Symbol("dartx.stringValue"), + $iterateNext: dartx.iterateNext = Symbol("dartx.iterateNext"), + $snapshotItem: dartx.snapshotItem = Symbol("dartx.snapshotItem"), + $serializeToString: dartx.serializeToString = Symbol("dartx.serializeToString"), + $clearParameters: dartx.clearParameters = Symbol("dartx.clearParameters"), + $getParameter: dartx.getParameter = Symbol("dartx.getParameter"), + $importStylesheet: dartx.importStylesheet = Symbol("dartx.importStylesheet"), + $removeParameter: dartx.removeParameter = Symbol("dartx.removeParameter"), + $setParameter: dartx.setParameter = Symbol("dartx.setParameter"), + $transformToDocument: dartx.transformToDocument = Symbol("dartx.transformToDocument"), + $transformToFragment: dartx.transformToFragment = Symbol("dartx.transformToFragment"), + $getBudget: dartx.getBudget = Symbol("dartx.getBudget"), + $getCost: dartx.getCost = Symbol("dartx.getCost"), + $reserve: dartx.reserve = Symbol("dartx.reserve"), + $read: dartx.read = Symbol("dartx.read"), + $readText: dartx.readText = Symbol("dartx.readText"), + $writeText: dartx.writeText = Symbol("dartx.writeText"), + $getNamedItem: dartx.getNamedItem = Symbol("dartx.getNamedItem"), + $getNamedItemNS: dartx.getNamedItemNS = Symbol("dartx.getNamedItemNS"), + $removeNamedItem: dartx.removeNamedItem = Symbol("dartx.removeNamedItem"), + $removeNamedItemNS: dartx.removeNamedItemNS = Symbol("dartx.removeNamedItemNS"), + $setNamedItem: dartx.setNamedItem = Symbol("dartx.setNamedItem"), + $setNamedItemNS: dartx.setNamedItemNS = Symbol("dartx.setNamedItemNS"), + $cache: dartx.cache = Symbol("dartx.cache"), + $redirect: dartx.redirect = Symbol("dartx.redirect"), + _matches: dart.privateName(html$, "_matches"), + _namespace: dart.privateName(html$, "_namespace"), + _attr: dart.privateName(html$, "_attr"), + _strip: dart.privateName(html$, "_strip"), + _toHyphenedName: dart.privateName(html$, "_toHyphenedName"), + _toCamelCase: dart.privateName(html$, "_toCamelCase"), + _addOrSubtractToBoxModel: dart.privateName(html$, "_addOrSubtractToBoxModel"), + _elementList: dart.privateName(html$, "_elementList"), + _sets: dart.privateName(html$, "_sets"), + _validateToken: dart.privateName(html_common, "_validateToken"), + _unit: dart.privateName(html$, "_unit"), + _eventType$2: dart.privateName(html$, "EventStreamProvider._eventType"), + _target$2: dart.privateName(html$, "_target"), + _useCapture: dart.privateName(html$, "_useCapture"), + _targetList: dart.privateName(html$, "_targetList"), + _pauseCount$1: dart.privateName(html$, "_pauseCount"), + _onData$3: dart.privateName(html$, "_onData"), + _tryResume: dart.privateName(html$, "_tryResume"), + _canceled: dart.privateName(html$, "_canceled"), + _unlisten: dart.privateName(html$, "_unlisten"), + _type$5: dart.privateName(html$, "_type"), + _streamController: dart.privateName(html$, "_streamController"), + _parent$2: dart.privateName(html$, "_parent"), + _currentTarget: dart.privateName(html$, "_currentTarget"), + _shadowAltKey: dart.privateName(html$, "_shadowAltKey"), + _shadowCharCode: dart.privateName(html$, "_shadowCharCode"), + _shadowKeyCode: dart.privateName(html$, "_shadowKeyCode"), + _realAltKey: dart.privateName(html$, "_realAltKey"), + _realCharCode: dart.privateName(html$, "_realCharCode"), + _realKeyCode: dart.privateName(html$, "_realKeyCode"), + _shadowKeyIdentifier: dart.privateName(html$, "_shadowKeyIdentifier"), + _keyIdentifier: dart.privateName(html$, "_keyIdentifier"), + _controller$2: dart.privateName(html$, "_controller"), + _subscriptions: dart.privateName(html$, "_subscriptions"), + _eventTypeGetter: dart.privateName(html$, "_CustomEventStreamProvider._eventTypeGetter"), + _eventTypeGetter$1: dart.privateName(html$, "_eventTypeGetter"), + _keyDownList: dart.privateName(html$, "_keyDownList"), + _stream$3: dart.privateName(html$, "_stream"), + _capsLockOn: dart.privateName(html$, "_capsLockOn"), + _determineKeyCodeForKeypress: dart.privateName(html$, "_determineKeyCodeForKeypress"), + _findCharCodeKeyDown: dart.privateName(html$, "_findCharCodeKeyDown"), + _firesKeyPressEvent: dart.privateName(html$, "_firesKeyPressEvent"), + _normalizeKeyCodes: dart.privateName(html$, "_normalizeKeyCodes"), + _validators: dart.privateName(html$, "_validators"), + _templateAttrs: dart.privateName(html$, "_templateAttrs"), + _list$19: dart.privateName(html$, "_list"), + _iterator$3: dart.privateName(html$, "_iterator"), + _current$4: dart.privateName(html$, "_current"), + _array: dart.privateName(html$, "_array"), + _isConsoleDefined: dart.privateName(html$, "_isConsoleDefined"), + _interceptor: dart.privateName(html$, "_interceptor"), + _constructor: dart.privateName(html$, "_constructor"), + _nativeType: dart.privateName(html$, "_nativeType"), + _window: dart.privateName(html$, "_window"), + _history: dart.privateName(html$, "_history"), + _hiddenAnchor: dart.privateName(html$, "_hiddenAnchor"), + _loc: dart.privateName(html$, "_loc"), + _removeNode: dart.privateName(html$, "_removeNode"), + _sanitizeElement: dart.privateName(html$, "_sanitizeElement"), + _sanitizeUntrustedElement: dart.privateName(html$, "_sanitizeUntrustedElement"), + alpha: dart.privateName(html_common, "ContextAttributes.alpha"), + antialias: dart.privateName(html_common, "ContextAttributes.antialias"), + depth: dart.privateName(html_common, "ContextAttributes.depth"), + premultipliedAlpha: dart.privateName(html_common, "ContextAttributes.premultipliedAlpha"), + preserveDrawingBuffer: dart.privateName(html_common, "ContextAttributes.preserveDrawingBuffer"), + stencil: dart.privateName(html_common, "ContextAttributes.stencil"), + failIfMajorPerformanceCaveat: dart.privateName(html_common, "ContextAttributes.failIfMajorPerformanceCaveat"), + data$1: dart.privateName(html_common, "_TypedImageData.data"), + height$1: dart.privateName(html_common, "_TypedImageData.height"), + width$1: dart.privateName(html_common, "_TypedImageData.width"), + _childNodes: dart.privateName(html_common, "_childNodes"), + _node: dart.privateName(html_common, "_node"), + _iterable$2: dart.privateName(html_common, "_iterable"), + _filtered: dart.privateName(html_common, "_filtered"), + $farthestViewportElement: dartx.farthestViewportElement = Symbol("dartx.farthestViewportElement"), + $nearestViewportElement: dartx.nearestViewportElement = Symbol("dartx.nearestViewportElement"), + $getBBox: dartx.getBBox = Symbol("dartx.getBBox"), + $getCtm: dartx.getCtm = Symbol("dartx.getCtm"), + $getScreenCtm: dartx.getScreenCtm = Symbol("dartx.getScreenCtm"), + $requiredExtensions: dartx.requiredExtensions = Symbol("dartx.requiredExtensions"), + $systemLanguage: dartx.systemLanguage = Symbol("dartx.systemLanguage"), + _children$1: dart.privateName(svg$, "_children"), + _svgClassName: dart.privateName(svg$, "_svgClassName"), + $ownerSvgElement: dartx.ownerSvgElement = Symbol("dartx.ownerSvgElement"), + $viewportElement: dartx.viewportElement = Symbol("dartx.viewportElement"), + $unitType: dartx.unitType = Symbol("dartx.unitType"), + $valueAsString: dartx.valueAsString = Symbol("dartx.valueAsString"), + $valueInSpecifiedUnits: dartx.valueInSpecifiedUnits = Symbol("dartx.valueInSpecifiedUnits"), + $convertToSpecifiedUnits: dartx.convertToSpecifiedUnits = Symbol("dartx.convertToSpecifiedUnits"), + $newValueSpecifiedUnits: dartx.newValueSpecifiedUnits = Symbol("dartx.newValueSpecifiedUnits"), + $targetElement: dartx.targetElement = Symbol("dartx.targetElement"), + $beginElement: dartx.beginElement = Symbol("dartx.beginElement"), + $beginElementAt: dartx.beginElementAt = Symbol("dartx.beginElementAt"), + $endElement: dartx.endElement = Symbol("dartx.endElement"), + $endElementAt: dartx.endElementAt = Symbol("dartx.endElementAt"), + $getCurrentTime: dartx.getCurrentTime = Symbol("dartx.getCurrentTime"), + $getSimpleDuration: dartx.getSimpleDuration = Symbol("dartx.getSimpleDuration"), + $getStartTime: dartx.getStartTime = Symbol("dartx.getStartTime"), + $animVal: dartx.animVal = Symbol("dartx.animVal"), + $baseVal: dartx.baseVal = Symbol("dartx.baseVal"), + $cx: dartx.cx = Symbol("dartx.cx"), + $cy: dartx.cy = Symbol("dartx.cy"), + $r: dartx.r = Symbol("dartx.r"), + $pathLength: dartx.pathLength = Symbol("dartx.pathLength"), + $getPointAtLength: dartx.getPointAtLength = Symbol("dartx.getPointAtLength"), + $getTotalLength: dartx.getTotalLength = Symbol("dartx.getTotalLength"), + $isPointInFill: dartx.isPointInFill = Symbol("dartx.isPointInFill"), + $clipPathUnits: dartx.clipPathUnits = Symbol("dartx.clipPathUnits"), + $rx: dartx.rx = Symbol("dartx.rx"), + $ry: dartx.ry = Symbol("dartx.ry"), + $in1: dartx.in1 = Symbol("dartx.in1"), + $in2: dartx.in2 = Symbol("dartx.in2"), + $k1: dartx.k1 = Symbol("dartx.k1"), + $k2: dartx.k2 = Symbol("dartx.k2"), + $k3: dartx.k3 = Symbol("dartx.k3"), + $k4: dartx.k4 = Symbol("dartx.k4"), + $operator: dartx.operator = Symbol("dartx.operator"), + $bias: dartx.bias = Symbol("dartx.bias"), + $divisor: dartx.divisor = Symbol("dartx.divisor"), + $edgeMode: dartx.edgeMode = Symbol("dartx.edgeMode"), + $kernelMatrix: dartx.kernelMatrix = Symbol("dartx.kernelMatrix"), + $kernelUnitLengthX: dartx.kernelUnitLengthX = Symbol("dartx.kernelUnitLengthX"), + $kernelUnitLengthY: dartx.kernelUnitLengthY = Symbol("dartx.kernelUnitLengthY"), + $orderX: dartx.orderX = Symbol("dartx.orderX"), + $orderY: dartx.orderY = Symbol("dartx.orderY"), + $preserveAlpha: dartx.preserveAlpha = Symbol("dartx.preserveAlpha"), + $targetX: dartx.targetX = Symbol("dartx.targetX"), + $targetY: dartx.targetY = Symbol("dartx.targetY"), + $diffuseConstant: dartx.diffuseConstant = Symbol("dartx.diffuseConstant"), + $surfaceScale: dartx.surfaceScale = Symbol("dartx.surfaceScale"), + $xChannelSelector: dartx.xChannelSelector = Symbol("dartx.xChannelSelector"), + $yChannelSelector: dartx.yChannelSelector = Symbol("dartx.yChannelSelector"), + $azimuth: dartx.azimuth = Symbol("dartx.azimuth"), + $elevation: dartx.elevation = Symbol("dartx.elevation"), + $stdDeviationX: dartx.stdDeviationX = Symbol("dartx.stdDeviationX"), + $stdDeviationY: dartx.stdDeviationY = Symbol("dartx.stdDeviationY"), + $setStdDeviation: dartx.setStdDeviation = Symbol("dartx.setStdDeviation"), + $preserveAspectRatio: dartx.preserveAspectRatio = Symbol("dartx.preserveAspectRatio"), + $dx: dartx.dx = Symbol("dartx.dx"), + $dy: dartx.dy = Symbol("dartx.dy"), + $specularConstant: dartx.specularConstant = Symbol("dartx.specularConstant"), + $specularExponent: dartx.specularExponent = Symbol("dartx.specularExponent"), + $limitingConeAngle: dartx.limitingConeAngle = Symbol("dartx.limitingConeAngle"), + $pointsAtX: dartx.pointsAtX = Symbol("dartx.pointsAtX"), + $pointsAtY: dartx.pointsAtY = Symbol("dartx.pointsAtY"), + $pointsAtZ: dartx.pointsAtZ = Symbol("dartx.pointsAtZ"), + $baseFrequencyX: dartx.baseFrequencyX = Symbol("dartx.baseFrequencyX"), + $baseFrequencyY: dartx.baseFrequencyY = Symbol("dartx.baseFrequencyY"), + $numOctaves: dartx.numOctaves = Symbol("dartx.numOctaves"), + $seed: dartx.seed = Symbol("dartx.seed"), + $stitchTiles: dartx.stitchTiles = Symbol("dartx.stitchTiles"), + $filterUnits: dartx.filterUnits = Symbol("dartx.filterUnits"), + $primitiveUnits: dartx.primitiveUnits = Symbol("dartx.primitiveUnits"), + $viewBox: dartx.viewBox = Symbol("dartx.viewBox"), + $numberOfItems: dartx.numberOfItems = Symbol("dartx.numberOfItems"), + __setter__$1: dart.privateName(svg$, "__setter__"), + $appendItem: dartx.appendItem = Symbol("dartx.appendItem"), + $getItem: dartx.getItem = Symbol("dartx.getItem"), + $initialize: dartx.initialize = Symbol("dartx.initialize"), + $insertItemBefore: dartx.insertItemBefore = Symbol("dartx.insertItemBefore"), + $removeItem: dartx.removeItem = Symbol("dartx.removeItem"), + $replaceItem: dartx.replaceItem = Symbol("dartx.replaceItem"), + $x1: dartx.x1 = Symbol("dartx.x1"), + $x2: dartx.x2 = Symbol("dartx.x2"), + $y1: dartx.y1 = Symbol("dartx.y1"), + $y2: dartx.y2 = Symbol("dartx.y2"), + $gradientTransform: dartx.gradientTransform = Symbol("dartx.gradientTransform"), + $gradientUnits: dartx.gradientUnits = Symbol("dartx.gradientUnits"), + $spreadMethod: dartx.spreadMethod = Symbol("dartx.spreadMethod"), + $markerHeight: dartx.markerHeight = Symbol("dartx.markerHeight"), + $markerUnits: dartx.markerUnits = Symbol("dartx.markerUnits"), + $markerWidth: dartx.markerWidth = Symbol("dartx.markerWidth"), + $orientAngle: dartx.orientAngle = Symbol("dartx.orientAngle"), + $orientType: dartx.orientType = Symbol("dartx.orientType"), + $refX: dartx.refX = Symbol("dartx.refX"), + $refY: dartx.refY = Symbol("dartx.refY"), + $setOrientToAngle: dartx.setOrientToAngle = Symbol("dartx.setOrientToAngle"), + $setOrientToAuto: dartx.setOrientToAuto = Symbol("dartx.setOrientToAuto"), + $maskContentUnits: dartx.maskContentUnits = Symbol("dartx.maskContentUnits"), + $maskUnits: dartx.maskUnits = Symbol("dartx.maskUnits"), + $scaleNonUniform: dartx.scaleNonUniform = Symbol("dartx.scaleNonUniform"), + $patternContentUnits: dartx.patternContentUnits = Symbol("dartx.patternContentUnits"), + $patternTransform: dartx.patternTransform = Symbol("dartx.patternTransform"), + $patternUnits: dartx.patternUnits = Symbol("dartx.patternUnits"), + $animatedPoints: dartx.animatedPoints = Symbol("dartx.animatedPoints"), + $points: dartx.points = Symbol("dartx.points"), + $meetOrSlice: dartx.meetOrSlice = Symbol("dartx.meetOrSlice"), + $fr: dartx.fr = Symbol("dartx.fr"), + $fx: dartx.fx = Symbol("dartx.fx"), + $fy: dartx.fy = Symbol("dartx.fy"), + $gradientOffset: dartx.gradientOffset = Symbol("dartx.gradientOffset"), + _element$3: dart.privateName(svg$, "_element"), + $currentScale: dartx.currentScale = Symbol("dartx.currentScale"), + $currentTranslate: dartx.currentTranslate = Symbol("dartx.currentTranslate"), + $animationsPaused: dartx.animationsPaused = Symbol("dartx.animationsPaused"), + $checkEnclosure: dartx.checkEnclosure = Symbol("dartx.checkEnclosure"), + $checkIntersection: dartx.checkIntersection = Symbol("dartx.checkIntersection"), + $createSvgAngle: dartx.createSvgAngle = Symbol("dartx.createSvgAngle"), + $createSvgLength: dartx.createSvgLength = Symbol("dartx.createSvgLength"), + $createSvgMatrix: dartx.createSvgMatrix = Symbol("dartx.createSvgMatrix"), + $createSvgNumber: dartx.createSvgNumber = Symbol("dartx.createSvgNumber"), + $createSvgPoint: dartx.createSvgPoint = Symbol("dartx.createSvgPoint"), + $createSvgRect: dartx.createSvgRect = Symbol("dartx.createSvgRect"), + $createSvgTransform: dartx.createSvgTransform = Symbol("dartx.createSvgTransform"), + $createSvgTransformFromMatrix: dartx.createSvgTransformFromMatrix = Symbol("dartx.createSvgTransformFromMatrix"), + $deselectAll: dartx.deselectAll = Symbol("dartx.deselectAll"), + $forceRedraw: dartx.forceRedraw = Symbol("dartx.forceRedraw"), + $getEnclosureList: dartx.getEnclosureList = Symbol("dartx.getEnclosureList"), + $getIntersectionList: dartx.getIntersectionList = Symbol("dartx.getIntersectionList"), + $pauseAnimations: dartx.pauseAnimations = Symbol("dartx.pauseAnimations"), + $setCurrentTime: dartx.setCurrentTime = Symbol("dartx.setCurrentTime"), + $suspendRedraw: dartx.suspendRedraw = Symbol("dartx.suspendRedraw"), + $unpauseAnimations: dartx.unpauseAnimations = Symbol("dartx.unpauseAnimations"), + $unsuspendRedraw: dartx.unsuspendRedraw = Symbol("dartx.unsuspendRedraw"), + $unsuspendRedrawAll: dartx.unsuspendRedrawAll = Symbol("dartx.unsuspendRedrawAll"), + $zoomAndPan: dartx.zoomAndPan = Symbol("dartx.zoomAndPan"), + $lengthAdjust: dartx.lengthAdjust = Symbol("dartx.lengthAdjust"), + $getCharNumAtPosition: dartx.getCharNumAtPosition = Symbol("dartx.getCharNumAtPosition"), + $getComputedTextLength: dartx.getComputedTextLength = Symbol("dartx.getComputedTextLength"), + $getEndPositionOfChar: dartx.getEndPositionOfChar = Symbol("dartx.getEndPositionOfChar"), + $getExtentOfChar: dartx.getExtentOfChar = Symbol("dartx.getExtentOfChar"), + $getNumberOfChars: dartx.getNumberOfChars = Symbol("dartx.getNumberOfChars"), + $getRotationOfChar: dartx.getRotationOfChar = Symbol("dartx.getRotationOfChar"), + $getStartPositionOfChar: dartx.getStartPositionOfChar = Symbol("dartx.getStartPositionOfChar"), + $getSubStringLength: dartx.getSubStringLength = Symbol("dartx.getSubStringLength"), + $selectSubString: dartx.selectSubString = Symbol("dartx.selectSubString"), + $spacing: dartx.spacing = Symbol("dartx.spacing"), + $setMatrix: dartx.setMatrix = Symbol("dartx.setMatrix"), + $setRotate: dartx.setRotate = Symbol("dartx.setRotate"), + $setScale: dartx.setScale = Symbol("dartx.setScale"), + $setSkewX: dartx.setSkewX = Symbol("dartx.setSkewX"), + $setSkewY: dartx.setSkewY = Symbol("dartx.setSkewY"), + $setTranslate: dartx.setTranslate = Symbol("dartx.setTranslate"), + $consolidate: dartx.consolidate = Symbol("dartx.consolidate"), + $fftSize: dartx.fftSize = Symbol("dartx.fftSize"), + $frequencyBinCount: dartx.frequencyBinCount = Symbol("dartx.frequencyBinCount"), + $maxDecibels: dartx.maxDecibels = Symbol("dartx.maxDecibels"), + $minDecibels: dartx.minDecibels = Symbol("dartx.minDecibels"), + $smoothingTimeConstant: dartx.smoothingTimeConstant = Symbol("dartx.smoothingTimeConstant"), + $getByteFrequencyData: dartx.getByteFrequencyData = Symbol("dartx.getByteFrequencyData"), + $getByteTimeDomainData: dartx.getByteTimeDomainData = Symbol("dartx.getByteTimeDomainData"), + $getFloatFrequencyData: dartx.getFloatFrequencyData = Symbol("dartx.getFloatFrequencyData"), + $getFloatTimeDomainData: dartx.getFloatTimeDomainData = Symbol("dartx.getFloatTimeDomainData"), + $channelCount: dartx.channelCount = Symbol("dartx.channelCount"), + $channelCountMode: dartx.channelCountMode = Symbol("dartx.channelCountMode"), + $channelInterpretation: dartx.channelInterpretation = Symbol("dartx.channelInterpretation"), + $context: dartx.context = Symbol("dartx.context"), + $numberOfInputs: dartx.numberOfInputs = Symbol("dartx.numberOfInputs"), + $numberOfOutputs: dartx.numberOfOutputs = Symbol("dartx.numberOfOutputs"), + _connect: dart.privateName(web_audio, "_connect"), + $connectNode: dartx.connectNode = Symbol("dartx.connectNode"), + $connectParam: dartx.connectParam = Symbol("dartx.connectParam"), + $numberOfChannels: dartx.numberOfChannels = Symbol("dartx.numberOfChannels"), + $sampleRate: dartx.sampleRate = Symbol("dartx.sampleRate"), + $copyFromChannel: dartx.copyFromChannel = Symbol("dartx.copyFromChannel"), + $copyToChannel: dartx.copyToChannel = Symbol("dartx.copyToChannel"), + $getChannelData: dartx.getChannelData = Symbol("dartx.getChannelData"), + $detune: dartx.detune = Symbol("dartx.detune"), + $loopEnd: dartx.loopEnd = Symbol("dartx.loopEnd"), + $loopStart: dartx.loopStart = Symbol("dartx.loopStart"), + $start2: dartx.start2 = Symbol("dartx.start2"), + $baseLatency: dartx.baseLatency = Symbol("dartx.baseLatency"), + _getOutputTimestamp_1: dart.privateName(web_audio, "_getOutputTimestamp_1"), + $getOutputTimestamp: dartx.getOutputTimestamp = Symbol("dartx.getOutputTimestamp"), + $suspend: dartx.suspend = Symbol("dartx.suspend"), + $createGain: dartx.createGain = Symbol("dartx.createGain"), + $createScriptProcessor: dartx.createScriptProcessor = Symbol("dartx.createScriptProcessor"), + _decodeAudioData: dart.privateName(web_audio, "_decodeAudioData"), + $decodeAudioData: dartx.decodeAudioData = Symbol("dartx.decodeAudioData"), + $destination: dartx.destination = Symbol("dartx.destination"), + $listener: dartx.listener = Symbol("dartx.listener"), + $createAnalyser: dartx.createAnalyser = Symbol("dartx.createAnalyser"), + $createBiquadFilter: dartx.createBiquadFilter = Symbol("dartx.createBiquadFilter"), + $createBuffer: dartx.createBuffer = Symbol("dartx.createBuffer"), + $createBufferSource: dartx.createBufferSource = Symbol("dartx.createBufferSource"), + $createChannelMerger: dartx.createChannelMerger = Symbol("dartx.createChannelMerger") +}; +var S$4 = { + $createChannelSplitter: dartx.createChannelSplitter = Symbol("dartx.createChannelSplitter"), + $createConstantSource: dartx.createConstantSource = Symbol("dartx.createConstantSource"), + $createConvolver: dartx.createConvolver = Symbol("dartx.createConvolver"), + $createDelay: dartx.createDelay = Symbol("dartx.createDelay"), + $createDynamicsCompressor: dartx.createDynamicsCompressor = Symbol("dartx.createDynamicsCompressor"), + $createIirFilter: dartx.createIirFilter = Symbol("dartx.createIirFilter"), + $createMediaElementSource: dartx.createMediaElementSource = Symbol("dartx.createMediaElementSource"), + $createMediaStreamDestination: dartx.createMediaStreamDestination = Symbol("dartx.createMediaStreamDestination"), + $createMediaStreamSource: dartx.createMediaStreamSource = Symbol("dartx.createMediaStreamSource"), + $createOscillator: dartx.createOscillator = Symbol("dartx.createOscillator"), + $createPanner: dartx.createPanner = Symbol("dartx.createPanner"), + _createPeriodicWave_1: dart.privateName(web_audio, "_createPeriodicWave_1"), + _createPeriodicWave_2: dart.privateName(web_audio, "_createPeriodicWave_2"), + $createPeriodicWave: dartx.createPeriodicWave = Symbol("dartx.createPeriodicWave"), + $createStereoPanner: dartx.createStereoPanner = Symbol("dartx.createStereoPanner"), + $createWaveShaper: dartx.createWaveShaper = Symbol("dartx.createWaveShaper"), + $maxChannelCount: dartx.maxChannelCount = Symbol("dartx.maxChannelCount"), + $forwardX: dartx.forwardX = Symbol("dartx.forwardX"), + $forwardY: dartx.forwardY = Symbol("dartx.forwardY"), + $forwardZ: dartx.forwardZ = Symbol("dartx.forwardZ"), + $positionZ: dartx.positionZ = Symbol("dartx.positionZ"), + $upX: dartx.upX = Symbol("dartx.upX"), + $upY: dartx.upY = Symbol("dartx.upY"), + $upZ: dartx.upZ = Symbol("dartx.upZ"), + $setOrientation: dartx.setOrientation = Symbol("dartx.setOrientation"), + $maxValue: dartx.maxValue = Symbol("dartx.maxValue"), + $minValue: dartx.minValue = Symbol("dartx.minValue"), + $cancelAndHoldAtTime: dartx.cancelAndHoldAtTime = Symbol("dartx.cancelAndHoldAtTime"), + $cancelScheduledValues: dartx.cancelScheduledValues = Symbol("dartx.cancelScheduledValues"), + $exponentialRampToValueAtTime: dartx.exponentialRampToValueAtTime = Symbol("dartx.exponentialRampToValueAtTime"), + $linearRampToValueAtTime: dartx.linearRampToValueAtTime = Symbol("dartx.linearRampToValueAtTime"), + $setTargetAtTime: dartx.setTargetAtTime = Symbol("dartx.setTargetAtTime"), + $setValueAtTime: dartx.setValueAtTime = Symbol("dartx.setValueAtTime"), + $setValueCurveAtTime: dartx.setValueCurveAtTime = Symbol("dartx.setValueCurveAtTime"), + _getItem$1: dart.privateName(web_audio, "_getItem"), + $inputBuffer: dartx.inputBuffer = Symbol("dartx.inputBuffer"), + $outputBuffer: dartx.outputBuffer = Symbol("dartx.outputBuffer"), + $playbackTime: dartx.playbackTime = Symbol("dartx.playbackTime"), + __getter__$1: dart.privateName(web_audio, "__getter__"), + $registerProcessor: dartx.registerProcessor = Symbol("dartx.registerProcessor"), + $parameters: dartx.parameters = Symbol("dartx.parameters"), + $Q: dartx.Q = Symbol("dartx.Q"), + $frequency: dartx.frequency = Symbol("dartx.frequency"), + $gain: dartx.gain = Symbol("dartx.gain"), + $getFrequencyResponse: dartx.getFrequencyResponse = Symbol("dartx.getFrequencyResponse"), + $normalize: dartx.normalize = Symbol("dartx.normalize"), + $delayTime: dartx.delayTime = Symbol("dartx.delayTime"), + $attack: dartx.attack = Symbol("dartx.attack"), + $knee: dartx.knee = Symbol("dartx.knee"), + $ratio: dartx.ratio = Symbol("dartx.ratio"), + $reduction: dartx.reduction = Symbol("dartx.reduction"), + $release: dartx.release = Symbol("dartx.release"), + $threshold: dartx.threshold = Symbol("dartx.threshold"), + $mediaElement: dartx.mediaElement = Symbol("dartx.mediaElement"), + $mediaStream: dartx.mediaStream = Symbol("dartx.mediaStream"), + $renderedBuffer: dartx.renderedBuffer = Symbol("dartx.renderedBuffer"), + $startRendering: dartx.startRendering = Symbol("dartx.startRendering"), + $suspendFor: dartx.suspendFor = Symbol("dartx.suspendFor"), + $setPeriodicWave: dartx.setPeriodicWave = Symbol("dartx.setPeriodicWave"), + $coneInnerAngle: dartx.coneInnerAngle = Symbol("dartx.coneInnerAngle"), + $coneOuterAngle: dartx.coneOuterAngle = Symbol("dartx.coneOuterAngle"), + $coneOuterGain: dartx.coneOuterGain = Symbol("dartx.coneOuterGain"), + $distanceModel: dartx.distanceModel = Symbol("dartx.distanceModel"), + $maxDistance: dartx.maxDistance = Symbol("dartx.maxDistance"), + $orientationX: dartx.orientationX = Symbol("dartx.orientationX"), + $orientationY: dartx.orientationY = Symbol("dartx.orientationY"), + $orientationZ: dartx.orientationZ = Symbol("dartx.orientationZ"), + $panningModel: dartx.panningModel = Symbol("dartx.panningModel"), + $refDistance: dartx.refDistance = Symbol("dartx.refDistance"), + $rolloffFactor: dartx.rolloffFactor = Symbol("dartx.rolloffFactor"), + $bufferSize: dartx.bufferSize = Symbol("dartx.bufferSize"), + $setEventListener: dartx.setEventListener = Symbol("dartx.setEventListener"), + $onAudioProcess: dartx.onAudioProcess = Symbol("dartx.onAudioProcess"), + $pan: dartx.pan = Symbol("dartx.pan"), + $curve: dartx.curve = Symbol("dartx.curve"), + $oversample: dartx.oversample = Symbol("dartx.oversample"), + $drawArraysInstancedAngle: dartx.drawArraysInstancedAngle = Symbol("dartx.drawArraysInstancedAngle"), + $drawElementsInstancedAngle: dartx.drawElementsInstancedAngle = Symbol("dartx.drawElementsInstancedAngle"), + $vertexAttribDivisorAngle: dartx.vertexAttribDivisorAngle = Symbol("dartx.vertexAttribDivisorAngle"), + $offscreenCanvas: dartx.offscreenCanvas = Symbol("dartx.offscreenCanvas"), + $statusMessage: dartx.statusMessage = Symbol("dartx.statusMessage"), + $getTranslatedShaderSource: dartx.getTranslatedShaderSource = Symbol("dartx.getTranslatedShaderSource"), + $drawBuffersWebgl: dartx.drawBuffersWebgl = Symbol("dartx.drawBuffersWebgl"), + $beginQueryExt: dartx.beginQueryExt = Symbol("dartx.beginQueryExt"), + $createQueryExt: dartx.createQueryExt = Symbol("dartx.createQueryExt"), + $deleteQueryExt: dartx.deleteQueryExt = Symbol("dartx.deleteQueryExt"), + $endQueryExt: dartx.endQueryExt = Symbol("dartx.endQueryExt"), + $getQueryExt: dartx.getQueryExt = Symbol("dartx.getQueryExt"), + $getQueryObjectExt: dartx.getQueryObjectExt = Symbol("dartx.getQueryObjectExt"), + $isQueryExt: dartx.isQueryExt = Symbol("dartx.isQueryExt"), + $queryCounterExt: dartx.queryCounterExt = Symbol("dartx.queryCounterExt"), + $getBufferSubDataAsync: dartx.getBufferSubDataAsync = Symbol("dartx.getBufferSubDataAsync"), + $loseContext: dartx.loseContext = Symbol("dartx.loseContext"), + $restoreContext: dartx.restoreContext = Symbol("dartx.restoreContext"), + $bindVertexArray: dartx.bindVertexArray = Symbol("dartx.bindVertexArray"), + $createVertexArray: dartx.createVertexArray = Symbol("dartx.createVertexArray"), + $deleteVertexArray: dartx.deleteVertexArray = Symbol("dartx.deleteVertexArray"), + $isVertexArray: dartx.isVertexArray = Symbol("dartx.isVertexArray"), + $drawingBufferHeight: dartx.drawingBufferHeight = Symbol("dartx.drawingBufferHeight"), + $drawingBufferWidth: dartx.drawingBufferWidth = Symbol("dartx.drawingBufferWidth"), + $activeTexture: dartx.activeTexture = Symbol("dartx.activeTexture"), + $attachShader: dartx.attachShader = Symbol("dartx.attachShader"), + $bindAttribLocation: dartx.bindAttribLocation = Symbol("dartx.bindAttribLocation"), + $bindBuffer: dartx.bindBuffer = Symbol("dartx.bindBuffer"), + $bindFramebuffer: dartx.bindFramebuffer = Symbol("dartx.bindFramebuffer"), + $bindRenderbuffer: dartx.bindRenderbuffer = Symbol("dartx.bindRenderbuffer"), + $bindTexture: dartx.bindTexture = Symbol("dartx.bindTexture"), + $blendColor: dartx.blendColor = Symbol("dartx.blendColor"), + $blendEquation: dartx.blendEquation = Symbol("dartx.blendEquation"), + $blendEquationSeparate: dartx.blendEquationSeparate = Symbol("dartx.blendEquationSeparate"), + $blendFunc: dartx.blendFunc = Symbol("dartx.blendFunc"), + $blendFuncSeparate: dartx.blendFuncSeparate = Symbol("dartx.blendFuncSeparate"), + $bufferData: dartx.bufferData = Symbol("dartx.bufferData"), + $bufferSubData: dartx.bufferSubData = Symbol("dartx.bufferSubData"), + $checkFramebufferStatus: dartx.checkFramebufferStatus = Symbol("dartx.checkFramebufferStatus"), + $clearColor: dartx.clearColor = Symbol("dartx.clearColor"), + $clearDepth: dartx.clearDepth = Symbol("dartx.clearDepth"), + $clearStencil: dartx.clearStencil = Symbol("dartx.clearStencil"), + $colorMask: dartx.colorMask = Symbol("dartx.colorMask"), + $compileShader: dartx.compileShader = Symbol("dartx.compileShader"), + $compressedTexImage2D: dartx.compressedTexImage2D = Symbol("dartx.compressedTexImage2D"), + $compressedTexSubImage2D: dartx.compressedTexSubImage2D = Symbol("dartx.compressedTexSubImage2D"), + $copyTexImage2D: dartx.copyTexImage2D = Symbol("dartx.copyTexImage2D"), + $copyTexSubImage2D: dartx.copyTexSubImage2D = Symbol("dartx.copyTexSubImage2D"), + $createFramebuffer: dartx.createFramebuffer = Symbol("dartx.createFramebuffer"), + $createProgram: dartx.createProgram = Symbol("dartx.createProgram"), + $createRenderbuffer: dartx.createRenderbuffer = Symbol("dartx.createRenderbuffer"), + $createShader: dartx.createShader = Symbol("dartx.createShader"), + $createTexture: dartx.createTexture = Symbol("dartx.createTexture"), + $cullFace: dartx.cullFace = Symbol("dartx.cullFace"), + $deleteBuffer: dartx.deleteBuffer = Symbol("dartx.deleteBuffer"), + $deleteFramebuffer: dartx.deleteFramebuffer = Symbol("dartx.deleteFramebuffer"), + $deleteProgram: dartx.deleteProgram = Symbol("dartx.deleteProgram"), + $deleteRenderbuffer: dartx.deleteRenderbuffer = Symbol("dartx.deleteRenderbuffer"), + $deleteShader: dartx.deleteShader = Symbol("dartx.deleteShader"), + $deleteTexture: dartx.deleteTexture = Symbol("dartx.deleteTexture"), + $depthFunc: dartx.depthFunc = Symbol("dartx.depthFunc"), + $depthMask: dartx.depthMask = Symbol("dartx.depthMask"), + $depthRange: dartx.depthRange = Symbol("dartx.depthRange"), + $detachShader: dartx.detachShader = Symbol("dartx.detachShader"), + $disableVertexAttribArray: dartx.disableVertexAttribArray = Symbol("dartx.disableVertexAttribArray"), + $drawArrays: dartx.drawArrays = Symbol("dartx.drawArrays"), + $drawElements: dartx.drawElements = Symbol("dartx.drawElements"), + $enableVertexAttribArray: dartx.enableVertexAttribArray = Symbol("dartx.enableVertexAttribArray"), + $flush: dartx.flush = Symbol("dartx.flush"), + $framebufferRenderbuffer: dartx.framebufferRenderbuffer = Symbol("dartx.framebufferRenderbuffer"), + $framebufferTexture2D: dartx.framebufferTexture2D = Symbol("dartx.framebufferTexture2D"), + $frontFace: dartx.frontFace = Symbol("dartx.frontFace"), + $generateMipmap: dartx.generateMipmap = Symbol("dartx.generateMipmap"), + $getActiveAttrib: dartx.getActiveAttrib = Symbol("dartx.getActiveAttrib"), + $getActiveUniform: dartx.getActiveUniform = Symbol("dartx.getActiveUniform"), + $getAttachedShaders: dartx.getAttachedShaders = Symbol("dartx.getAttachedShaders"), + $getAttribLocation: dartx.getAttribLocation = Symbol("dartx.getAttribLocation"), + $getBufferParameter: dartx.getBufferParameter = Symbol("dartx.getBufferParameter"), + _getContextAttributes_1$1: dart.privateName(web_gl, "_getContextAttributes_1"), + $getError: dartx.getError = Symbol("dartx.getError"), + $getExtension: dartx.getExtension = Symbol("dartx.getExtension"), + $getFramebufferAttachmentParameter: dartx.getFramebufferAttachmentParameter = Symbol("dartx.getFramebufferAttachmentParameter"), + $getProgramInfoLog: dartx.getProgramInfoLog = Symbol("dartx.getProgramInfoLog"), + $getProgramParameter: dartx.getProgramParameter = Symbol("dartx.getProgramParameter"), + $getRenderbufferParameter: dartx.getRenderbufferParameter = Symbol("dartx.getRenderbufferParameter"), + $getShaderInfoLog: dartx.getShaderInfoLog = Symbol("dartx.getShaderInfoLog"), + $getShaderParameter: dartx.getShaderParameter = Symbol("dartx.getShaderParameter"), + $getShaderPrecisionFormat: dartx.getShaderPrecisionFormat = Symbol("dartx.getShaderPrecisionFormat"), + $getShaderSource: dartx.getShaderSource = Symbol("dartx.getShaderSource"), + $getSupportedExtensions: dartx.getSupportedExtensions = Symbol("dartx.getSupportedExtensions"), + $getTexParameter: dartx.getTexParameter = Symbol("dartx.getTexParameter"), + $getUniform: dartx.getUniform = Symbol("dartx.getUniform"), + $getUniformLocation: dartx.getUniformLocation = Symbol("dartx.getUniformLocation"), + $getVertexAttrib: dartx.getVertexAttrib = Symbol("dartx.getVertexAttrib"), + $getVertexAttribOffset: dartx.getVertexAttribOffset = Symbol("dartx.getVertexAttribOffset"), + $hint: dartx.hint = Symbol("dartx.hint"), + $isBuffer: dartx.isBuffer = Symbol("dartx.isBuffer"), + $isEnabled: dartx.isEnabled = Symbol("dartx.isEnabled"), + $isFramebuffer: dartx.isFramebuffer = Symbol("dartx.isFramebuffer"), + $isProgram: dartx.isProgram = Symbol("dartx.isProgram"), + $isRenderbuffer: dartx.isRenderbuffer = Symbol("dartx.isRenderbuffer"), + $isShader: dartx.isShader = Symbol("dartx.isShader"), + $isTexture: dartx.isTexture = Symbol("dartx.isTexture"), + $linkProgram: dartx.linkProgram = Symbol("dartx.linkProgram"), + $pixelStorei: dartx.pixelStorei = Symbol("dartx.pixelStorei"), + $polygonOffset: dartx.polygonOffset = Symbol("dartx.polygonOffset"), + _readPixels: dart.privateName(web_gl, "_readPixels"), + $renderbufferStorage: dartx.renderbufferStorage = Symbol("dartx.renderbufferStorage"), + $sampleCoverage: dartx.sampleCoverage = Symbol("dartx.sampleCoverage"), + $scissor: dartx.scissor = Symbol("dartx.scissor"), + $shaderSource: dartx.shaderSource = Symbol("dartx.shaderSource"), + $stencilFunc: dartx.stencilFunc = Symbol("dartx.stencilFunc"), + $stencilFuncSeparate: dartx.stencilFuncSeparate = Symbol("dartx.stencilFuncSeparate"), + $stencilMask: dartx.stencilMask = Symbol("dartx.stencilMask"), + $stencilMaskSeparate: dartx.stencilMaskSeparate = Symbol("dartx.stencilMaskSeparate"), + $stencilOp: dartx.stencilOp = Symbol("dartx.stencilOp"), + $stencilOpSeparate: dartx.stencilOpSeparate = Symbol("dartx.stencilOpSeparate"), + _texImage2D_1: dart.privateName(web_gl, "_texImage2D_1"), + _texImage2D_2: dart.privateName(web_gl, "_texImage2D_2"), + _texImage2D_3: dart.privateName(web_gl, "_texImage2D_3"), + _texImage2D_4: dart.privateName(web_gl, "_texImage2D_4"), + _texImage2D_5: dart.privateName(web_gl, "_texImage2D_5"), + _texImage2D_6: dart.privateName(web_gl, "_texImage2D_6"), + $texImage2D: dartx.texImage2D = Symbol("dartx.texImage2D"), + $texParameterf: dartx.texParameterf = Symbol("dartx.texParameterf"), + $texParameteri: dartx.texParameteri = Symbol("dartx.texParameteri"), + _texSubImage2D_1: dart.privateName(web_gl, "_texSubImage2D_1"), + _texSubImage2D_2: dart.privateName(web_gl, "_texSubImage2D_2"), + _texSubImage2D_3: dart.privateName(web_gl, "_texSubImage2D_3"), + _texSubImage2D_4: dart.privateName(web_gl, "_texSubImage2D_4"), + _texSubImage2D_5: dart.privateName(web_gl, "_texSubImage2D_5"), + _texSubImage2D_6: dart.privateName(web_gl, "_texSubImage2D_6"), + $texSubImage2D: dartx.texSubImage2D = Symbol("dartx.texSubImage2D"), + $uniform1f: dartx.uniform1f = Symbol("dartx.uniform1f"), + $uniform1fv: dartx.uniform1fv = Symbol("dartx.uniform1fv"), + $uniform1i: dartx.uniform1i = Symbol("dartx.uniform1i"), + $uniform1iv: dartx.uniform1iv = Symbol("dartx.uniform1iv"), + $uniform2f: dartx.uniform2f = Symbol("dartx.uniform2f"), + $uniform2fv: dartx.uniform2fv = Symbol("dartx.uniform2fv"), + $uniform2i: dartx.uniform2i = Symbol("dartx.uniform2i"), + $uniform2iv: dartx.uniform2iv = Symbol("dartx.uniform2iv"), + $uniform3f: dartx.uniform3f = Symbol("dartx.uniform3f"), + $uniform3fv: dartx.uniform3fv = Symbol("dartx.uniform3fv"), + $uniform3i: dartx.uniform3i = Symbol("dartx.uniform3i"), + $uniform3iv: dartx.uniform3iv = Symbol("dartx.uniform3iv"), + $uniform4f: dartx.uniform4f = Symbol("dartx.uniform4f"), + $uniform4fv: dartx.uniform4fv = Symbol("dartx.uniform4fv"), + $uniform4i: dartx.uniform4i = Symbol("dartx.uniform4i"), + $uniform4iv: dartx.uniform4iv = Symbol("dartx.uniform4iv"), + $uniformMatrix2fv: dartx.uniformMatrix2fv = Symbol("dartx.uniformMatrix2fv"), + $uniformMatrix3fv: dartx.uniformMatrix3fv = Symbol("dartx.uniformMatrix3fv"), + $uniformMatrix4fv: dartx.uniformMatrix4fv = Symbol("dartx.uniformMatrix4fv"), + $useProgram: dartx.useProgram = Symbol("dartx.useProgram"), + $validateProgram: dartx.validateProgram = Symbol("dartx.validateProgram"), + $vertexAttrib1f: dartx.vertexAttrib1f = Symbol("dartx.vertexAttrib1f"), + $vertexAttrib1fv: dartx.vertexAttrib1fv = Symbol("dartx.vertexAttrib1fv"), + $vertexAttrib2f: dartx.vertexAttrib2f = Symbol("dartx.vertexAttrib2f"), + $vertexAttrib2fv: dartx.vertexAttrib2fv = Symbol("dartx.vertexAttrib2fv"), + $vertexAttrib3f: dartx.vertexAttrib3f = Symbol("dartx.vertexAttrib3f"), + $vertexAttrib3fv: dartx.vertexAttrib3fv = Symbol("dartx.vertexAttrib3fv"), + $vertexAttrib4f: dartx.vertexAttrib4f = Symbol("dartx.vertexAttrib4f"), + $vertexAttrib4fv: dartx.vertexAttrib4fv = Symbol("dartx.vertexAttrib4fv"), + $vertexAttribPointer: dartx.vertexAttribPointer = Symbol("dartx.vertexAttribPointer"), + $viewport: dartx.viewport = Symbol("dartx.viewport"), + $readPixels: dartx.readPixels = Symbol("dartx.readPixels"), + $texImage2DUntyped: dartx.texImage2DUntyped = Symbol("dartx.texImage2DUntyped"), + $texImage2DTyped: dartx.texImage2DTyped = Symbol("dartx.texImage2DTyped"), + $texSubImage2DUntyped: dartx.texSubImage2DUntyped = Symbol("dartx.texSubImage2DUntyped"), + $texSubImage2DTyped: dartx.texSubImage2DTyped = Symbol("dartx.texSubImage2DTyped"), + $bufferDataTyped: dartx.bufferDataTyped = Symbol("dartx.bufferDataTyped"), + $bufferSubDataTyped: dartx.bufferSubDataTyped = Symbol("dartx.bufferSubDataTyped"), + $beginQuery: dartx.beginQuery = Symbol("dartx.beginQuery"), + $beginTransformFeedback: dartx.beginTransformFeedback = Symbol("dartx.beginTransformFeedback"), + $bindBufferBase: dartx.bindBufferBase = Symbol("dartx.bindBufferBase"), + $bindBufferRange: dartx.bindBufferRange = Symbol("dartx.bindBufferRange"), + $bindSampler: dartx.bindSampler = Symbol("dartx.bindSampler"), + $bindTransformFeedback: dartx.bindTransformFeedback = Symbol("dartx.bindTransformFeedback"), + $blitFramebuffer: dartx.blitFramebuffer = Symbol("dartx.blitFramebuffer"), + $bufferData2: dartx.bufferData2 = Symbol("dartx.bufferData2"), + $bufferSubData2: dartx.bufferSubData2 = Symbol("dartx.bufferSubData2"), + $clearBufferfi: dartx.clearBufferfi = Symbol("dartx.clearBufferfi"), + $clearBufferfv: dartx.clearBufferfv = Symbol("dartx.clearBufferfv"), + $clearBufferiv: dartx.clearBufferiv = Symbol("dartx.clearBufferiv"), + $clearBufferuiv: dartx.clearBufferuiv = Symbol("dartx.clearBufferuiv"), + $clientWaitSync: dartx.clientWaitSync = Symbol("dartx.clientWaitSync"), + $compressedTexImage2D2: dartx.compressedTexImage2D2 = Symbol("dartx.compressedTexImage2D2"), + $compressedTexImage2D3: dartx.compressedTexImage2D3 = Symbol("dartx.compressedTexImage2D3"), + $compressedTexImage3D: dartx.compressedTexImage3D = Symbol("dartx.compressedTexImage3D"), + $compressedTexImage3D2: dartx.compressedTexImage3D2 = Symbol("dartx.compressedTexImage3D2"), + $compressedTexSubImage2D2: dartx.compressedTexSubImage2D2 = Symbol("dartx.compressedTexSubImage2D2"), + $compressedTexSubImage2D3: dartx.compressedTexSubImage2D3 = Symbol("dartx.compressedTexSubImage2D3"), + $compressedTexSubImage3D: dartx.compressedTexSubImage3D = Symbol("dartx.compressedTexSubImage3D"), + $compressedTexSubImage3D2: dartx.compressedTexSubImage3D2 = Symbol("dartx.compressedTexSubImage3D2"), + $copyBufferSubData: dartx.copyBufferSubData = Symbol("dartx.copyBufferSubData"), + $copyTexSubImage3D: dartx.copyTexSubImage3D = Symbol("dartx.copyTexSubImage3D"), + $createQuery: dartx.createQuery = Symbol("dartx.createQuery"), + $createSampler: dartx.createSampler = Symbol("dartx.createSampler"), + $createTransformFeedback: dartx.createTransformFeedback = Symbol("dartx.createTransformFeedback"), + $deleteQuery: dartx.deleteQuery = Symbol("dartx.deleteQuery"), + $deleteSampler: dartx.deleteSampler = Symbol("dartx.deleteSampler"), + $deleteSync: dartx.deleteSync = Symbol("dartx.deleteSync"), + $deleteTransformFeedback: dartx.deleteTransformFeedback = Symbol("dartx.deleteTransformFeedback"), + $drawArraysInstanced: dartx.drawArraysInstanced = Symbol("dartx.drawArraysInstanced"), + $drawBuffers: dartx.drawBuffers = Symbol("dartx.drawBuffers"), + $drawElementsInstanced: dartx.drawElementsInstanced = Symbol("dartx.drawElementsInstanced"), + $drawRangeElements: dartx.drawRangeElements = Symbol("dartx.drawRangeElements"), + $endQuery: dartx.endQuery = Symbol("dartx.endQuery"), + $endTransformFeedback: dartx.endTransformFeedback = Symbol("dartx.endTransformFeedback"), + $fenceSync: dartx.fenceSync = Symbol("dartx.fenceSync"), + $framebufferTextureLayer: dartx.framebufferTextureLayer = Symbol("dartx.framebufferTextureLayer"), + $getActiveUniformBlockName: dartx.getActiveUniformBlockName = Symbol("dartx.getActiveUniformBlockName"), + $getActiveUniformBlockParameter: dartx.getActiveUniformBlockParameter = Symbol("dartx.getActiveUniformBlockParameter"), + $getActiveUniforms: dartx.getActiveUniforms = Symbol("dartx.getActiveUniforms"), + $getBufferSubData: dartx.getBufferSubData = Symbol("dartx.getBufferSubData"), + $getFragDataLocation: dartx.getFragDataLocation = Symbol("dartx.getFragDataLocation"), + $getIndexedParameter: dartx.getIndexedParameter = Symbol("dartx.getIndexedParameter"), + $getInternalformatParameter: dartx.getInternalformatParameter = Symbol("dartx.getInternalformatParameter"), + $getQuery: dartx.getQuery = Symbol("dartx.getQuery"), + $getQueryParameter: dartx.getQueryParameter = Symbol("dartx.getQueryParameter"), + $getSamplerParameter: dartx.getSamplerParameter = Symbol("dartx.getSamplerParameter"), + $getSyncParameter: dartx.getSyncParameter = Symbol("dartx.getSyncParameter"), + $getTransformFeedbackVarying: dartx.getTransformFeedbackVarying = Symbol("dartx.getTransformFeedbackVarying"), + $getUniformBlockIndex: dartx.getUniformBlockIndex = Symbol("dartx.getUniformBlockIndex"), + _getUniformIndices_1: dart.privateName(web_gl, "_getUniformIndices_1"), + $getUniformIndices: dartx.getUniformIndices = Symbol("dartx.getUniformIndices"), + $invalidateFramebuffer: dartx.invalidateFramebuffer = Symbol("dartx.invalidateFramebuffer"), + $invalidateSubFramebuffer: dartx.invalidateSubFramebuffer = Symbol("dartx.invalidateSubFramebuffer"), + $isQuery: dartx.isQuery = Symbol("dartx.isQuery"), + $isSampler: dartx.isSampler = Symbol("dartx.isSampler"), + $isSync: dartx.isSync = Symbol("dartx.isSync"), + $isTransformFeedback: dartx.isTransformFeedback = Symbol("dartx.isTransformFeedback"), + $pauseTransformFeedback: dartx.pauseTransformFeedback = Symbol("dartx.pauseTransformFeedback"), + $readBuffer: dartx.readBuffer = Symbol("dartx.readBuffer"), + $readPixels2: dartx.readPixels2 = Symbol("dartx.readPixels2"), + $renderbufferStorageMultisample: dartx.renderbufferStorageMultisample = Symbol("dartx.renderbufferStorageMultisample"), + $resumeTransformFeedback: dartx.resumeTransformFeedback = Symbol("dartx.resumeTransformFeedback"), + $samplerParameterf: dartx.samplerParameterf = Symbol("dartx.samplerParameterf"), + $samplerParameteri: dartx.samplerParameteri = Symbol("dartx.samplerParameteri"), + _texImage2D2_1: dart.privateName(web_gl, "_texImage2D2_1"), + _texImage2D2_2: dart.privateName(web_gl, "_texImage2D2_2"), + _texImage2D2_3: dart.privateName(web_gl, "_texImage2D2_3"), + _texImage2D2_4: dart.privateName(web_gl, "_texImage2D2_4"), + _texImage2D2_5: dart.privateName(web_gl, "_texImage2D2_5"), + _texImage2D2_6: dart.privateName(web_gl, "_texImage2D2_6"), + _texImage2D2_7: dart.privateName(web_gl, "_texImage2D2_7"), + $texImage2D2: dartx.texImage2D2 = Symbol("dartx.texImage2D2"), + _texImage3D_1: dart.privateName(web_gl, "_texImage3D_1"), + _texImage3D_2: dart.privateName(web_gl, "_texImage3D_2"), + _texImage3D_3: dart.privateName(web_gl, "_texImage3D_3"), + _texImage3D_4: dart.privateName(web_gl, "_texImage3D_4"), + _texImage3D_5: dart.privateName(web_gl, "_texImage3D_5"), + _texImage3D_6: dart.privateName(web_gl, "_texImage3D_6"), + _texImage3D_7: dart.privateName(web_gl, "_texImage3D_7"), + _texImage3D_8: dart.privateName(web_gl, "_texImage3D_8"), + $texImage3D: dartx.texImage3D = Symbol("dartx.texImage3D"), + $texStorage2D: dartx.texStorage2D = Symbol("dartx.texStorage2D"), + $texStorage3D: dartx.texStorage3D = Symbol("dartx.texStorage3D"), + _texSubImage2D2_1: dart.privateName(web_gl, "_texSubImage2D2_1"), + _texSubImage2D2_2: dart.privateName(web_gl, "_texSubImage2D2_2"), + _texSubImage2D2_3: dart.privateName(web_gl, "_texSubImage2D2_3"), + _texSubImage2D2_4: dart.privateName(web_gl, "_texSubImage2D2_4"), + _texSubImage2D2_5: dart.privateName(web_gl, "_texSubImage2D2_5"), + _texSubImage2D2_6: dart.privateName(web_gl, "_texSubImage2D2_6"), + _texSubImage2D2_7: dart.privateName(web_gl, "_texSubImage2D2_7"), + $texSubImage2D2: dartx.texSubImage2D2 = Symbol("dartx.texSubImage2D2"), + _texSubImage3D_1: dart.privateName(web_gl, "_texSubImage3D_1"), + _texSubImage3D_2: dart.privateName(web_gl, "_texSubImage3D_2"), + _texSubImage3D_3: dart.privateName(web_gl, "_texSubImage3D_3"), + _texSubImage3D_4: dart.privateName(web_gl, "_texSubImage3D_4"), + _texSubImage3D_5: dart.privateName(web_gl, "_texSubImage3D_5"), + _texSubImage3D_6: dart.privateName(web_gl, "_texSubImage3D_6"), + _texSubImage3D_7: dart.privateName(web_gl, "_texSubImage3D_7"), + _texSubImage3D_8: dart.privateName(web_gl, "_texSubImage3D_8"), + $texSubImage3D: dartx.texSubImage3D = Symbol("dartx.texSubImage3D"), + _transformFeedbackVaryings_1: dart.privateName(web_gl, "_transformFeedbackVaryings_1"), + $transformFeedbackVaryings: dartx.transformFeedbackVaryings = Symbol("dartx.transformFeedbackVaryings"), + $uniform1fv2: dartx.uniform1fv2 = Symbol("dartx.uniform1fv2"), + $uniform1iv2: dartx.uniform1iv2 = Symbol("dartx.uniform1iv2"), + $uniform1ui: dartx.uniform1ui = Symbol("dartx.uniform1ui"), + $uniform1uiv: dartx.uniform1uiv = Symbol("dartx.uniform1uiv"), + $uniform2fv2: dartx.uniform2fv2 = Symbol("dartx.uniform2fv2"), + $uniform2iv2: dartx.uniform2iv2 = Symbol("dartx.uniform2iv2"), + $uniform2ui: dartx.uniform2ui = Symbol("dartx.uniform2ui"), + $uniform2uiv: dartx.uniform2uiv = Symbol("dartx.uniform2uiv"), + $uniform3fv2: dartx.uniform3fv2 = Symbol("dartx.uniform3fv2"), + $uniform3iv2: dartx.uniform3iv2 = Symbol("dartx.uniform3iv2"), + $uniform3ui: dartx.uniform3ui = Symbol("dartx.uniform3ui"), + $uniform3uiv: dartx.uniform3uiv = Symbol("dartx.uniform3uiv"), + $uniform4fv2: dartx.uniform4fv2 = Symbol("dartx.uniform4fv2"), + $uniform4iv2: dartx.uniform4iv2 = Symbol("dartx.uniform4iv2"), + $uniform4ui: dartx.uniform4ui = Symbol("dartx.uniform4ui"), + $uniform4uiv: dartx.uniform4uiv = Symbol("dartx.uniform4uiv"), + $uniformBlockBinding: dartx.uniformBlockBinding = Symbol("dartx.uniformBlockBinding"), + $uniformMatrix2fv2: dartx.uniformMatrix2fv2 = Symbol("dartx.uniformMatrix2fv2"), + $uniformMatrix2x3fv: dartx.uniformMatrix2x3fv = Symbol("dartx.uniformMatrix2x3fv"), + $uniformMatrix2x4fv: dartx.uniformMatrix2x4fv = Symbol("dartx.uniformMatrix2x4fv"), + $uniformMatrix3fv2: dartx.uniformMatrix3fv2 = Symbol("dartx.uniformMatrix3fv2"), + $uniformMatrix3x2fv: dartx.uniformMatrix3x2fv = Symbol("dartx.uniformMatrix3x2fv"), + $uniformMatrix3x4fv: dartx.uniformMatrix3x4fv = Symbol("dartx.uniformMatrix3x4fv"), + $uniformMatrix4fv2: dartx.uniformMatrix4fv2 = Symbol("dartx.uniformMatrix4fv2"), + $uniformMatrix4x2fv: dartx.uniformMatrix4x2fv = Symbol("dartx.uniformMatrix4x2fv"), + $uniformMatrix4x3fv: dartx.uniformMatrix4x3fv = Symbol("dartx.uniformMatrix4x3fv"), + $vertexAttribDivisor: dartx.vertexAttribDivisor = Symbol("dartx.vertexAttribDivisor"), + $vertexAttribI4i: dartx.vertexAttribI4i = Symbol("dartx.vertexAttribI4i"), + $vertexAttribI4iv: dartx.vertexAttribI4iv = Symbol("dartx.vertexAttribI4iv"), + $vertexAttribI4ui: dartx.vertexAttribI4ui = Symbol("dartx.vertexAttribI4ui"), + $vertexAttribI4uiv: dartx.vertexAttribI4uiv = Symbol("dartx.vertexAttribI4uiv"), + $vertexAttribIPointer: dartx.vertexAttribIPointer = Symbol("dartx.vertexAttribIPointer"), + $waitSync: dartx.waitSync = Symbol("dartx.waitSync"), + $precision: dartx.precision = Symbol("dartx.precision"), + $rangeMax: dartx.rangeMax = Symbol("dartx.rangeMax"), + $rangeMin: dartx.rangeMin = Symbol("dartx.rangeMin"), + $lastUploadedVideoFrameWasSkipped: dartx.lastUploadedVideoFrameWasSkipped = Symbol("dartx.lastUploadedVideoFrameWasSkipped"), + $lastUploadedVideoHeight: dartx.lastUploadedVideoHeight = Symbol("dartx.lastUploadedVideoHeight"), + $lastUploadedVideoTimestamp: dartx.lastUploadedVideoTimestamp = Symbol("dartx.lastUploadedVideoTimestamp"), + $lastUploadedVideoWidth: dartx.lastUploadedVideoWidth = Symbol("dartx.lastUploadedVideoWidth"), + _changeVersion: dart.privateName(web_sql, "_changeVersion"), + $changeVersion: dartx.changeVersion = Symbol("dartx.changeVersion"), + _readTransaction: dart.privateName(web_sql, "_readTransaction"), + $readTransaction: dartx.readTransaction = Symbol("dartx.readTransaction"), + $transaction_future: dartx.transaction_future = Symbol("dartx.transaction_future"), + $insertId: dartx.insertId = Symbol("dartx.insertId"), + $rowsAffected: dartx.rowsAffected = Symbol("dartx.rowsAffected"), + _item_1: dart.privateName(web_sql, "_item_1"), + _executeSql: dart.privateName(web_sql, "_executeSql"), + $executeSql: dartx.executeSql = Symbol("dartx.executeSql") +}; +const CT = Object.create({ + _: () => (C, CT) +}); +var C = Array(490).fill(void 0); +var I = [ + "org-dartlang-sdk:///lib/_internal/js_dev_runtime/private/ddc_runtime/classes.dart", + "org-dartlang-sdk:///lib/_internal/js_dev_runtime/private/ddc_runtime/errors.dart", + "org-dartlang-sdk:///lib/_internal/js_dev_runtime/private/ddc_runtime/operations.dart", + "org-dartlang-sdk:///lib/_internal/js_dev_runtime/private/ddc_runtime/rtti.dart", + "org-dartlang-sdk:///lib/_internal/js_dev_runtime/private/ddc_runtime/runtime.dart", + "org-dartlang-sdk:///lib/_internal/js_dev_runtime/private/ddc_runtime/types.dart", + "org-dartlang-sdk:///lib/_internal/js_dev_runtime/private/ddc_runtime/utils.dart", + "org-dartlang-sdk:///lib/_internal/js_dev_runtime/patch/core_patch.dart", + "dart:core", + "dart:_runtime", + "org-dartlang-sdk:///lib/core/invocation.dart", + "org-dartlang-sdk:///lib/_internal/js_dev_runtime/private/debugger.dart", + "dart:_debugger", + "org-dartlang-sdk:///lib/_internal/js_dev_runtime/private/profile.dart", + "org-dartlang-sdk:///lib/_internal/js_dev_runtime/private/foreign_helper.dart", + "dart:_foreign_helper", + "dart:_interceptors", + "org-dartlang-sdk:///lib/_internal/js_dev_runtime/private/interceptors.dart", + "org-dartlang-sdk:///lib/_internal/js_dev_runtime/private/js_array.dart", + "org-dartlang-sdk:///lib/_internal/js_dev_runtime/private/js_number.dart", + "org-dartlang-sdk:///lib/_internal/js_dev_runtime/private/js_string.dart", + "org-dartlang-sdk:///lib/internal/internal.dart", + "org-dartlang-sdk:///lib/internal/list.dart", + "org-dartlang-sdk:///lib/collection/list.dart", + "dart:collection", + "dart:_internal", + "org-dartlang-sdk:///lib/core/num.dart", + "org-dartlang-sdk:///lib/internal/async_cast.dart", + "org-dartlang-sdk:///lib/async/stream.dart", + "dart:async", + "org-dartlang-sdk:///lib/convert/converter.dart", + "dart:convert", + "org-dartlang-sdk:///lib/internal/bytes_builder.dart", + "org-dartlang-sdk:///lib/internal/cast.dart", + "org-dartlang-sdk:///lib/core/iterable.dart", + "org-dartlang-sdk:///lib/collection/maps.dart", + "org-dartlang-sdk:///lib/internal/errors.dart", + "org-dartlang-sdk:///lib/internal/iterable.dart", + "org-dartlang-sdk:///lib/internal/linked_list.dart", + "org-dartlang-sdk:///lib/collection/iterable.dart", + "org-dartlang-sdk:///lib/internal/sort.dart", + "org-dartlang-sdk:///lib/_internal/js_dev_runtime/patch/internal_patch.dart", + "org-dartlang-sdk:///lib/internal/symbol.dart", + "org-dartlang-sdk:///lib/_internal/js_dev_runtime/private/isolate_helper.dart", + "dart:_isolate_helper", + "dart:_js_helper", + "org-dartlang-sdk:///lib/_internal/js_dev_runtime/private/js_helper.dart", + "org-dartlang-sdk:///lib/_internal/js_dev_runtime/private/annotations.dart", + "org-dartlang-sdk:///lib/_internal/js_dev_runtime/private/linked_hash_map.dart", + "org-dartlang-sdk:///lib/_internal/js_dev_runtime/private/identity_hash_map.dart", + "org-dartlang-sdk:///lib/_internal/js_dev_runtime/private/custom_hash_map.dart", + "org-dartlang-sdk:///lib/_internal/js_dev_runtime/private/regexp_helper.dart", + "org-dartlang-sdk:///lib/_internal/js_dev_runtime/private/string_helper.dart", + "org-dartlang-sdk:///lib/_internal/js_dev_runtime/private/js_rti.dart", + "org-dartlang-sdk:///lib/_internal/js_dev_runtime/private/native_helper.dart", + "org-dartlang-sdk:///lib/_internal/js_dev_runtime/private/js_primitives.dart", + "org-dartlang-sdk:///lib/html/html_common/metadata.dart", + "dart:_metadata", + "org-dartlang-sdk:///lib/_internal/js_dev_runtime/private/native_typed_data.dart", + "dart:_native_typed_data", + "dart:typed_data", + "org-dartlang-sdk:///lib/_internal/js_dev_runtime/patch/async_patch.dart", + "org-dartlang-sdk:///lib/async/async_error.dart", + "org-dartlang-sdk:///lib/async/broadcast_stream_controller.dart", + "org-dartlang-sdk:///lib/async/stream_controller.dart", + "org-dartlang-sdk:///lib/async/stream_impl.dart", + "org-dartlang-sdk:///lib/async/deferred_load.dart", + "org-dartlang-sdk:///lib/async/future.dart", + "org-dartlang-sdk:///lib/async/future_impl.dart", + "org-dartlang-sdk:///lib/async/schedule_microtask.dart", + "org-dartlang-sdk:///lib/async/stream_pipe.dart", + "org-dartlang-sdk:///lib/async/stream_transformers.dart", + "org-dartlang-sdk:///lib/async/timer.dart", + "org-dartlang-sdk:///lib/async/zone.dart", + "org-dartlang-sdk:///lib/_internal/js_dev_runtime/patch/collection_patch.dart", + "org-dartlang-sdk:///lib/collection/set.dart", + "org-dartlang-sdk:///lib/collection/collections.dart", + "org-dartlang-sdk:///lib/collection/hash_map.dart", + "org-dartlang-sdk:///lib/collection/hash_set.dart", + "org-dartlang-sdk:///lib/collection/iterator.dart", + "org-dartlang-sdk:///lib/collection/linked_hash_map.dart", + "org-dartlang-sdk:///lib/collection/linked_hash_set.dart", + "org-dartlang-sdk:///lib/collection/linked_list.dart", + "org-dartlang-sdk:///lib/collection/queue.dart", + "org-dartlang-sdk:///lib/collection/splay_tree.dart", + "org-dartlang-sdk:///lib/_internal/js_dev_runtime/patch/convert_patch.dart", + "org-dartlang-sdk:///lib/convert/string_conversion.dart", + "org-dartlang-sdk:///lib/convert/ascii.dart", + "org-dartlang-sdk:///lib/convert/encoding.dart", + "org-dartlang-sdk:///lib/convert/codec.dart", + "org-dartlang-sdk:///lib/core/list.dart", + "org-dartlang-sdk:///lib/convert/byte_conversion.dart", + "org-dartlang-sdk:///lib/convert/base64.dart", + "org-dartlang-sdk:///lib/convert/chunked_conversion.dart", + "org-dartlang-sdk:///lib/convert/html_escape.dart", + "org-dartlang-sdk:///lib/convert/json.dart", + "org-dartlang-sdk:///lib/convert/latin1.dart", + "org-dartlang-sdk:///lib/convert/line_splitter.dart", + "org-dartlang-sdk:///lib/convert/utf.dart", + "org-dartlang-sdk:///lib/_internal/js_dev_runtime/patch/developer_patch.dart", + "dart:developer", + "org-dartlang-sdk:///lib/developer/extension.dart", + "org-dartlang-sdk:///lib/developer/profiler.dart", + "org-dartlang-sdk:///lib/developer/service.dart", + "org-dartlang-sdk:///lib/developer/timeline.dart", + "dart:io", + "org-dartlang-sdk:///lib/io/common.dart", + "org-dartlang-sdk:///lib/_internal/js_dev_runtime/patch/io_patch.dart", + "org-dartlang-sdk:///lib/io/data_transformer.dart", + "org-dartlang-sdk:///lib/io/directory.dart", + "org-dartlang-sdk:///lib/io/directory_impl.dart", + "org-dartlang-sdk:///lib/io/file_system_entity.dart", + "org-dartlang-sdk:///lib/io/embedder_config.dart", + "org-dartlang-sdk:///lib/io/file.dart", + "org-dartlang-sdk:///lib/io/file_impl.dart", + "org-dartlang-sdk:///lib/io/io_resource_info.dart", + "org-dartlang-sdk:///lib/io/io_sink.dart", + "org-dartlang-sdk:///lib/io/link.dart", + "org-dartlang-sdk:///lib/io/network_policy.dart", + "org-dartlang-sdk:///lib/io/network_profiling.dart", + "org-dartlang-sdk:///lib/io/overrides.dart", + "org-dartlang-sdk:///lib/io/platform_impl.dart", + "org-dartlang-sdk:///lib/io/process.dart", + "org-dartlang-sdk:///lib/io/secure_server_socket.dart", + "org-dartlang-sdk:///lib/io/secure_socket.dart", + "org-dartlang-sdk:///lib/io/socket.dart", + "org-dartlang-sdk:///lib/io/security_context.dart", + "org-dartlang-sdk:///lib/io/service_object.dart", + "org-dartlang-sdk:///lib/io/stdio.dart", + "org-dartlang-sdk:///lib/io/string_transformer.dart", + "org-dartlang-sdk:///lib/_internal/js_dev_runtime/patch/isolate_patch.dart", + "dart:isolate", + "org-dartlang-sdk:///lib/isolate/isolate.dart", + "org-dartlang-sdk:///lib/_internal/js_dev_runtime/patch/js_patch.dart", + "dart:js", + "org-dartlang-sdk:///lib/js/js.dart", + "org-dartlang-sdk:///lib/js_util/js_util.dart", + "dart:js_util", + "org-dartlang-sdk:///lib/_internal/js_dev_runtime/patch/math_patch.dart", + "dart:math", + "org-dartlang-sdk:///lib/math/point.dart", + "org-dartlang-sdk:///lib/math/rectangle.dart", + "org-dartlang-sdk:///lib/typed_data/typed_data.dart", + "org-dartlang-sdk:///lib/_internal/js_dev_runtime/patch/typed_data_patch.dart", + "org-dartlang-sdk:///lib/typed_data/unmodifiable_typed_data.dart", + "org-dartlang-sdk:///lib/indexed_db/dart2js/indexed_db_dart2js.dart", + "dart:indexed_db", + "org-dartlang-sdk:///lib/html/dart2js/html_dart2js.dart", + "dart:html", + "org-dartlang-sdk:///lib/html/html_common/css_class_set.dart", + "dart:html_common", + "org-dartlang-sdk:///lib/html/html_common/conversions.dart", + "org-dartlang-sdk:///lib/html/html_common/conversions_dart2js.dart", + "org-dartlang-sdk:///lib/html/html_common/device.dart", + "org-dartlang-sdk:///lib/html/html_common/filtered_element_list.dart", + "org-dartlang-sdk:///lib/html/html_common/lists.dart", + "org-dartlang-sdk:///lib/svg/dart2js/svg_dart2js.dart", + "dart:svg", + "org-dartlang-sdk:///lib/web_audio/dart2js/web_audio_dart2js.dart", + "dart:web_audio", + "dart:web_gl", + "org-dartlang-sdk:///lib/web_gl/dart2js/web_gl_dart2js.dart", + "org-dartlang-sdk:///lib/web_sql/dart2js/web_sql_dart2js.dart", + "dart:web_sql", + "org-dartlang-sdk:///lib/core/map.dart", + "org-dartlang-sdk:///lib/core/annotations.dart", + "org-dartlang-sdk:///lib/core/bool.dart", + "org-dartlang-sdk:///lib/core/comparable.dart", + "org-dartlang-sdk:///lib/core/date_time.dart", + "org-dartlang-sdk:///lib/core/duration.dart", + "org-dartlang-sdk:///lib/core/errors.dart", + "org-dartlang-sdk:///lib/core/exceptions.dart", + "org-dartlang-sdk:///lib/core/set.dart", + "org-dartlang-sdk:///lib/core/stacktrace.dart", + "org-dartlang-sdk:///lib/core/string.dart", + "org-dartlang-sdk:///lib/core/uri.dart", + "org-dartlang-sdk:///lib/_http/http.dart", + "dart:_http", + "org-dartlang-sdk:///lib/_http/crypto.dart", + "org-dartlang-sdk:///lib/_http/http_date.dart", + "org-dartlang-sdk:///lib/_http/http_headers.dart", + "org-dartlang-sdk:///lib/_http/http_impl.dart", + "org-dartlang-sdk:///lib/_http/http_parser.dart", + "org-dartlang-sdk:///lib/_http/http_session.dart", + "org-dartlang-sdk:///lib/_http/overrides.dart", + "org-dartlang-sdk:///lib/_http/websocket.dart", + "org-dartlang-sdk:///lib/_http/websocket_impl.dart" +]; +var _jsError$ = dart.privateName(dart, "_jsError"); +var _type$ = dart.privateName(dart, "_type"); +dart.applyMixin = function applyMixin(to, from) { + to[dart._mixin] = from; + let toProto = to.prototype; + let fromProto = from.prototype; + dart._copyMembers(toProto, fromProto); + dart._mixinSignature(to, from, dart._methodSig); + dart._mixinSignature(to, from, dart._fieldSig); + dart._mixinSignature(to, from, dart._getterSig); + dart._mixinSignature(to, from, dart._setterSig); + let mixinOnFn = from[dart.mixinOn]; + if (mixinOnFn != null) { + let proto = mixinOnFn(to.__proto__).prototype; + dart._copyMembers(toProto, proto); + } +}; +dart._copyMembers = function _copyMembers(to, from) { + let names = dart.getOwnNamesAndSymbols(from); + for (let i = 0, n = names.length; i < n; i = i + 1) { + let name = names[i]; + if (name === "constructor") continue; + dart._copyMember(to, from, name); + } + return to; +}; +dart._copyMember = function _copyMember(to, from, name) { + let desc = dart.getOwnPropertyDescriptor(from, name); + if (name == Symbol.iterator) { + let existing = dart.getOwnPropertyDescriptor(to, name); + if (existing != null) { + if (existing.writable) { + to[name] = desc.value; + } + return; + } + } + let getter = desc.get; + let setter = desc.set; + if (getter != null) { + if (setter == null) { + let obj = desc.set = { + __proto__: to.__proto__, + set [name](x) { + return super[name] = x; + } + }; + desc.set = dart.getOwnPropertyDescriptor(obj, name).set; + } + } else if (setter != null) { + if (getter == null) { + let obj = desc.get = { + __proto__: to.__proto__, + get [name]() { + return super[name]; + } + }; + desc.get = dart.getOwnPropertyDescriptor(obj, name).get; + } + } + dart.defineProperty(to, name, desc); +}; +dart._mixinSignature = function _mixinSignature(to, from, kind) { + to[kind] = () => { + let baseMembers = dart._getMembers(to.__proto__, kind); + let fromMembers = dart._getMembers(from, kind); + if (fromMembers == null) return baseMembers; + let toSignature = {__proto__: baseMembers}; + dart.copyProperties(toSignature, fromMembers); + return toSignature; + }; +}; +dart.getMixin = function getMixin(clazz) { + return Object.hasOwnProperty.call(clazz, dart._mixin) ? clazz[dart._mixin] : null; +}; +dart.getImplements = function getImplements(clazz) { + return Object.hasOwnProperty.call(clazz, dart.implements) ? clazz[dart.implements] : null; +}; +dart.normalizeFutureOr = function normalizeFutureOr(typeConstructor, setBaseClass) { + let genericFutureOrType = dart.generic(typeConstructor, setBaseClass); + function normalize(typeArg) { + if (typeArg == void 0) return dart.dynamic; + if (dart._isTop(typeArg) || typeArg === core.Object || typeArg instanceof dart.LegacyType && typeArg.type === core.Object) { + return typeArg; + } + if (typeArg === dart.Never) { + return async.Future$(typeArg); + } + if (typeArg === core.Null) { + return dart.nullable(async.Future$(typeArg)); + } + let genericType = genericFutureOrType(typeArg); + genericType[dart._originalDeclaration] = normalize; + dart.addTypeCaches(genericType); + function is_FutureOr(obj) { + return typeArg.is(obj) || async.Future$(typeArg).is(obj); + } + genericType.is = is_FutureOr; + function as_FutureOr(obj) { + if (obj == null && typeArg instanceof dart.LegacyType) { + return obj; + } + if (typeArg.is(obj) || async.Future$(typeArg).is(obj)) { + return obj; + } + return dart.as(obj, async.FutureOr$(typeArg)); + } + genericType.as = as_FutureOr; + return genericType; + } + return normalize; +}; +dart.generic = function generic(typeConstructor, setBaseClass) { + let length = typeConstructor.length; + if (length < 1) { + dart.throwInternalError('must have at least one generic type argument'); + } + let resultMap = new Map(); + function makeGenericType(...args) { + if (args.length != length && args.length != 0) { + dart.throwInternalError('requires ' + length + ' or 0 type arguments'); + } + while (args.length < length) + args.push(dart.dynamic); + let value = resultMap; + for (let i = 0; i < length; i++) { + let arg = args[i]; + if (arg == null) { + dart.throwInternalError('type arguments should not be null: ' + typeConstructor); + } + let map = value; + value = map.get(arg); + if (value === void 0) { + if (i + 1 == length) { + value = typeConstructor.apply(null, args); + if (value) { + value[dart._typeArguments] = args; + value[dart._originalDeclaration] = makeGenericType; + } + map.set(arg, value); + if (setBaseClass != null) setBaseClass.apply(null, args); + } else { + value = new Map(); + map.set(arg, value); + } + } + } + return value; + } + makeGenericType[dart._genericTypeCtor] = typeConstructor; + dart.addTypeCaches(makeGenericType); + return makeGenericType; +}; +dart.getGenericClass = function getGenericClass(type) { + return dart.safeGetOwnProperty(type, dart._originalDeclaration); +}; +dart.getGenericArgs = function getGenericArgs(type) { + return dart.safeGetOwnProperty(type, dart._typeArguments); +}; +dart.getGenericArgVariances = function getGenericArgVariances(type) { + return dart.safeGetOwnProperty(type, dart._variances); +}; +dart.setGenericArgVariances = function setGenericArgVariances(f, variances) { + return f[dart._variances] = variances; +}; +dart.getGenericTypeFormals = function getGenericTypeFormals(genericClass) { + return dart._typeFormalsFromFunction(dart.getGenericTypeCtor(genericClass)); +}; +dart.instantiateClass = function instantiateClass(genericClass, typeArgs) { + if (genericClass == null) dart.nullFailed(I[0], 287, 32, "genericClass"); + if (typeArgs == null) dart.nullFailed(I[0], 287, 59, "typeArgs"); + return genericClass.apply(null, typeArgs); +}; +dart.getConstructors = function getConstructors(value) { + return dart._getMembers(value, dart._constructorSig); +}; +dart.getMethods = function getMethods(value) { + return dart._getMembers(value, dart._methodSig); +}; +dart.getFields = function getFields(value) { + return dart._getMembers(value, dart._fieldSig); +}; +dart.getGetters = function getGetters(value) { + return dart._getMembers(value, dart._getterSig); +}; +dart.getSetters = function getSetters(value) { + return dart._getMembers(value, dart._setterSig); +}; +dart.getStaticMethods = function getStaticMethods(value) { + return dart._getMembers(value, dart._staticMethodSig); +}; +dart.getStaticFields = function getStaticFields(value) { + return dart._getMembers(value, dart._staticFieldSig); +}; +dart.getStaticGetters = function getStaticGetters(value) { + return dart._getMembers(value, dart._staticGetterSig); +}; +dart.getStaticSetters = function getStaticSetters(value) { + return dart._getMembers(value, dart._staticSetterSig); +}; +dart.getGenericTypeCtor = function getGenericTypeCtor(value) { + return value[dart._genericTypeCtor]; +}; +dart.getType = function getType(obj) { + if (obj == null) return core.Object; + let constructor = obj.constructor; + return constructor ? constructor : dart.global.Object.prototype.constructor; +}; +dart.getLibraryUri = function getLibraryUri(value) { + return value[dart._libraryUri]; +}; +dart.setLibraryUri = function setLibraryUri(f, uri) { + return f[dart._libraryUri] = uri; +}; +dart.isJsInterop = function isJsInterop(obj) { + if (obj == null) return false; + if (typeof obj === "function") { + return obj[dart._runtimeType] == null; + } + if (typeof obj !== "object") return false; + if (obj[dart._extensionType] != null) return false; + return !(obj instanceof core.Object); +}; +dart.getMethodType = function getMethodType(type, name) { + let m = dart.getMethods(type); + return m != null ? m[name] : null; +}; +dart.getSetterType = function getSetterType(type, name) { + let setters = dart.getSetters(type); + if (setters != null) { + let type = setters[name]; + if (type != null) { + return type; + } + } + let fields = dart.getFields(type); + if (fields != null) { + let fieldInfo = fields[name]; + if (fieldInfo != null && !fieldInfo.isFinal) { + return fieldInfo.type; + } + } + return null; +}; +dart.finalFieldType = function finalFieldType(type, metadata) { + return {type: type, isFinal: true, metadata: metadata}; +}; +dart.fieldType = function fieldType(type, metadata) { + return {type: type, isFinal: false, metadata: metadata}; +}; +dart.classGetConstructorType = function classGetConstructorType(cls, name) { + if (cls == null) return null; + if (name == null) name = "new"; + let ctors = dart.getConstructors(cls); + return ctors != null ? ctors[name] : null; +}; +dart.setMethodSignature = function setMethodSignature(f, sigF) { + return f[dart._methodSig] = sigF; +}; +dart.setFieldSignature = function setFieldSignature(f, sigF) { + return f[dart._fieldSig] = sigF; +}; +dart.setGetterSignature = function setGetterSignature(f, sigF) { + return f[dart._getterSig] = sigF; +}; +dart.setSetterSignature = function setSetterSignature(f, sigF) { + return f[dart._setterSig] = sigF; +}; +dart.setConstructorSignature = function setConstructorSignature(f, sigF) { + return f[dart._constructorSig] = sigF; +}; +dart.setStaticMethodSignature = function setStaticMethodSignature(f, sigF) { + return f[dart._staticMethodSig] = sigF; +}; +dart.setStaticFieldSignature = function setStaticFieldSignature(f, sigF) { + return f[dart._staticFieldSig] = sigF; +}; +dart.setStaticGetterSignature = function setStaticGetterSignature(f, sigF) { + return f[dart._staticGetterSig] = sigF; +}; +dart.setStaticSetterSignature = function setStaticSetterSignature(f, sigF) { + return f[dart._staticSetterSig] = sigF; +}; +dart._getMembers = function _getMembers(type, kind) { + let sig = type[kind]; + return typeof sig == "function" ? type[kind] = sig() : sig; +}; +dart._hasMember = function _hasMember(type, kind, name) { + let sig = dart._getMembers(type, kind); + return sig != null && name in sig; +}; +dart.hasMethod = function hasMethod(type, name) { + return dart._hasMember(type, dart._methodSig, name); +}; +dart.hasGetter = function hasGetter(type, name) { + return dart._hasMember(type, dart._getterSig, name); +}; +dart.hasSetter = function hasSetter(type, name) { + return dart._hasMember(type, dart._setterSig, name); +}; +dart.hasField = function hasField(type, name) { + return dart._hasMember(type, dart._fieldSig, name); +}; +dart._installProperties = function _installProperties(jsProto, dartType, installedParent) { + if (dartType === core.Object) { + dart._installPropertiesForObject(jsProto); + return; + } + let dartSupertype = dartType.__proto__; + if (dartSupertype !== installedParent) { + dart._installProperties(jsProto, dartSupertype, installedParent); + } + let dartProto = dartType.prototype; + dart.copyTheseProperties(jsProto, dartProto, dart.getOwnPropertySymbols(dartProto)); +}; +dart._installPropertiesForObject = function _installPropertiesForObject(jsProto) { + let coreObjProto = core.Object.prototype; + let names = dart.getOwnPropertyNames(coreObjProto); + for (let i = 0, n = names.length; i < n; i = i + 1) { + let name = names[i]; + if (name === "constructor") continue; + let desc = dart.getOwnPropertyDescriptor(coreObjProto, name); + dart.defineProperty(jsProto, dart.dartx[name], desc); + } +}; +dart._installPropertiesForGlobalObject = function _installPropertiesForGlobalObject(jsProto) { + dart._installPropertiesForObject(jsProto); + jsProto[dartx.toString] = function() { + return this.toString(); + }; + dart.identityEquals == null ? dart.identityEquals = jsProto[dartx._equals] : null; +}; +dart._applyExtension = function _applyExtension(jsType, dartExtType) { + if (jsType == null) return; + let jsProto = jsType.prototype; + if (jsProto == null) return; + if (dartExtType === core.Object) { + dart._installPropertiesForGlobalObject(jsProto); + return; + } + if (jsType === dart.global.Object) { + let extName = dartExtType.name; + dart._warn("Attempting to install properties from non-Object type '" + extName + "' onto the native JS Object."); + return; + } + dart._installProperties(jsProto, dartExtType, jsProto[dart._extensionType]); + if (dartExtType !== _interceptors.JSFunction) { + jsProto[dart._extensionType] = dartExtType; + } + jsType[dart._methodSig] = dartExtType[dart._methodSig]; + jsType[dart._fieldSig] = dartExtType[dart._fieldSig]; + jsType[dart._getterSig] = dartExtType[dart._getterSig]; + jsType[dart._setterSig] = dartExtType[dart._setterSig]; +}; +dart.applyExtension = function applyExtension(name, nativeObject) { + let dartExtType = dart._extensionMap.get(name); + let jsType = nativeObject.constructor; + dart._applyExtension(jsType, dartExtType); +}; +dart.applyAllExtensions = function applyAllExtensions(global) { + dart._extensionMap.forEach((dartExtType, name) => dart._applyExtension(global[name], dartExtType)); +}; +dart.registerExtension = function registerExtension(name, dartExtType) { + dart._extensionMap.set(name, dartExtType); + let jsType = dart.global[name]; + dart._applyExtension(jsType, dartExtType); +}; +dart.applyExtensionForTesting = function applyExtensionForTesting(name) { + let dartExtType = dart._extensionMap.get(name); + let jsType = dart.global[name]; + dart._applyExtension(jsType, dartExtType); +}; +dart.defineExtensionMethods = function defineExtensionMethods(type, memberNames) { + if (memberNames == null) dart.nullFailed(I[0], 563, 39, "memberNames"); + let proto = type.prototype; + for (let name of memberNames) { + proto[dartx[name]] = proto[name]; + } +}; +dart.defineExtensionAccessors = function defineExtensionAccessors(type, memberNames) { + if (memberNames == null) dart.nullFailed(I[0], 571, 46, "memberNames"); + let proto = type.prototype; + for (let name of memberNames) { + let member = null; + let p = proto; + for (;; p = p.__proto__) { + member = dart.getOwnPropertyDescriptor(p, name); + if (member != null) break; + } + dart.defineProperty(proto, dartx[name], member); + } +}; +dart.definePrimitiveHashCode = function definePrimitiveHashCode(proto) { + dart.defineProperty(proto, dart.identityHashCode_, dart.getOwnPropertyDescriptor(proto, $hashCode)); +}; +dart.setBaseClass = function setBaseClass(derived, base) { + derived.prototype.__proto__ = base.prototype; + derived.__proto__ = base; +}; +dart.setExtensionBaseClass = function setExtensionBaseClass(dartType, jsType) { + let dartProto = dartType.prototype; + dartProto[dart._extensionType] = dartType; + dartProto.__proto__ = jsType.prototype; +}; +dart.addTypeTests = function addTypeTests(ctor, isClass) { + if (isClass == null) isClass = Symbol("_is_" + ctor.name); + ctor.prototype[isClass] = true; + ctor.is = function is_C(obj) { + return obj != null && (obj[isClass] || dart.is(obj, this)); + }; + ctor.as = function as_C(obj) { + if (obj != null && obj[isClass]) return obj; + return dart.as(obj, this); + }; +}; +dart.addTypeCaches = function addTypeCaches(type) { + type[dart._cachedLegacy] = void 0; + type[dart._cachedNullable] = void 0; + let subtypeCacheMap = new Map(); + type[dart._subtypeCache] = subtypeCacheMap; + dart._cacheMaps.push(subtypeCacheMap); +}; +dart.argumentError = function argumentError(value) { + dart.throw(new core.ArgumentError.value(value)); +}; +dart.throwUnimplementedError = function throwUnimplementedError(message) { + if (message == null) dart.nullFailed(I[1], 16, 32, "message"); + dart.throw(new core.UnimplementedError.new(message)); +}; +dart.throwDeferredIsLoadedError = function throwDeferredIsLoadedError(enclosingLibrary, importPrefix) { + dart.throw(new _js_helper.DeferredNotLoadedError.new(enclosingLibrary, importPrefix)); +}; +dart.assertFailed = function assertFailed(message, fileUri = null, line = null, column = null, conditionSource = null) { + dart.throw(new _js_helper.AssertionErrorImpl.new(message, fileUri, line, column, conditionSource)); +}; +dart._checkModuleNullSafetyMode = function _checkModuleNullSafetyMode(isModuleSound) { + if (isModuleSound !== false) { + let sdkMode = false ? "sound" : "unsound"; + let moduleMode = isModuleSound ? "sound" : "unsound"; + dart.throw(new core.AssertionError.new("The null safety mode of the Dart SDK module " + "(" + sdkMode + ") does not match the null safety mode of this module " + "(" + moduleMode + ").")); + } +}; +dart._nullFailedMessage = function _nullFailedMessage(variableName) { + return "A null value was passed into a non-nullable parameter: " + dart.str(variableName) + "."; +}; +dart.nullFailed = function nullFailed(fileUri, line, column, variable) { + if (dart._nonNullAsserts) { + dart.throw(new _js_helper.AssertionErrorImpl.new(dart._nullFailedMessage(variable), fileUri, line, column, dart.str(variable) + " != null")); + } + let key = dart.str(fileUri) + ":" + dart.str(line) + ":" + dart.str(column); + if (!dart._nullFailedSet.has(key)) { + dart._nullFailedSet.add(key); + dart._nullWarn(dart._nullFailedMessage(variable)); + } +}; +dart.throwLateInitializationError = function throwLateInitializationError(name) { + if (name == null) dart.nullFailed(I[1], 66, 37, "name"); + dart.throw(new _internal.LateError.new(name)); +}; +dart.throwCyclicInitializationError = function throwCyclicInitializationError(field = null) { + dart.throw(new core.CyclicInitializationError.new(field)); +}; +dart.throwNullValueError = function throwNullValueError() { + dart.throw(new core.NoSuchMethodError.new(null, new _internal.Symbol.new(""), null, null)); +}; +dart.castError = function castError(obj, expectedType) { + let actualType = dart.getReifiedType(obj); + let message = dart._castErrorMessage(actualType, expectedType); + dart.throw(new _js_helper.TypeErrorImpl.new(message)); +}; +dart._castErrorMessage = function _castErrorMessage(from, to) { + return "Expected a value of type '" + dart.typeName(to) + "', " + "but got one of type '" + dart.typeName(from) + "'"; +}; +dart.getThrown = function getThrown(error) { + if (error != null) { + let value = error[dart._thrownValue]; + if (value != null) return value; + } + return error; +}; +dart.stackTrace = function stackTrace(error) { + if (!(error instanceof Error)) { + return new dart._StackTrace.missing(error); + } + let trace = error[dart._stackTrace]; + if (trace != null) return trace; + return error[dart._stackTrace] = new dart._StackTrace.new(error); +}; +dart.stackTraceForError = function stackTraceForError(error) { + if (error == null) dart.nullFailed(I[1], 164, 37, "error"); + return dart.stackTrace(error[dart._jsError]); +}; +dart.rethrow = function rethrow_(error) { + if (error == null) dart.nullFailed(I[1], 173, 22, "error"); + throw error; +}; +dart.throw = function throw_(exception) { + throw new dart.DartError(exception); +}; +dart.createErrorWithStack = function createErrorWithStack(exception, trace) { + if (exception == null) dart.nullFailed(I[1], 256, 37, "exception"); + if (trace == null) { + let error = exception[dart._jsError]; + return error != null ? error : new dart.DartError(exception); + } + if (dart._StackTrace.is(trace)) { + let originalError = trace[_jsError$]; + if (core.identical(exception, dart.getThrown(originalError))) { + return originalError; + } + } + return new dart.RethrownDartError(exception, trace); +}; +dart.stackPrint = function stackPrint(error) { + if (error == null) dart.nullFailed(I[1], 274, 24, "error"); + console.log(error.stack ? error.stack : "No stack trace for: " + error); +}; +dart.bind = function bind(obj, name, method) { + if (obj == null) obj = _interceptors.jsNull; + if (method == null) method = obj[name]; + let f = method.bind(obj); + f._boundObject = obj; + f._boundMethod = method; + f[dart._runtimeType] = dart.getMethodType(dart.getType(obj), name); + return f; +}; +dart.bindCall = function bindCall(obj, name) { + if (obj == null) return null; + let ftype = dart.getMethodType(dart.getType(obj), name); + if (ftype == null) return null; + let method = obj[name]; + let f = method.bind(obj); + f._boundObject = obj; + f._boundMethod = method; + f[dart._runtimeType] = ftype; + return f; +}; +dart.gbind = function gbind(f, ...typeArgs) { + if (typeArgs == null) dart.nullFailed(I[2], 85, 29, "typeArgs"); + let type = f[dart._runtimeType]; + type.checkBounds(typeArgs); + let result = (...args) => f.apply(null, typeArgs.concat(args)); + return dart.fn(result, type.instantiate(typeArgs)); +}; +dart.dloadRepl = function dloadRepl(obj, field) { + return dart.dload(obj, dart.replNameLookup(obj, field)); +}; +dart.dload = function dload(obj, field) { + if (typeof obj == "function" && field == "call") { + return obj; + } + let f = dart._canonicalMember(obj, field); + _debugger.trackCall(obj); + if (f != null) { + let type = dart.getType(obj); + if (dart.test(dart.hasField(type, f)) || dart.test(dart.hasGetter(type, f))) return obj[f]; + if (dart.test(dart.hasMethod(type, f))) return dart.bind(obj, f, null); + if (dart.test(dart.isJsInterop(obj))) return obj[f]; + } + return dart.noSuchMethod(obj, new dart.InvocationImpl.new(field, [], {isGetter: true})); +}; +dart._stripGenericArguments = function _stripGenericArguments(type) { + let genericClass = dart.getGenericClass(type); + if (genericClass != null) return genericClass(); + return type; +}; +dart.dputRepl = function dputRepl(obj, field, value) { + return dart.dput(obj, dart.replNameLookup(obj, field), value); +}; +dart.dput = function dput(obj, field, value) { + let f = dart._canonicalMember(obj, field); + _debugger.trackCall(obj); + if (f != null) { + let setterType = dart.getSetterType(dart.getType(obj), f); + if (setterType != null) { + return obj[f] = setterType.as(value); + } + if (dart.test(dart.isJsInterop(obj))) return obj[f] = value; + } + dart.noSuchMethod(obj, new dart.InvocationImpl.new(field, [value], {isSetter: true})); + return value; +}; +dart._argumentErrors = function _argumentErrors(type, actuals, namedActuals) { + if (type == null) dart.nullFailed(I[2], 147, 38, "type"); + if (actuals == null) dart.nullFailed(I[2], 147, 49, "actuals"); + let actualsCount = actuals.length; + let required = type.args; + let requiredCount = required.length; + if (actualsCount < requiredCount) { + return "Dynamic call with too few arguments. " + "Expected: " + dart.str(requiredCount) + " Actual: " + dart.str(actualsCount); + } + let extras = actualsCount - requiredCount; + let optionals = type.optionals; + if (extras > optionals.length) { + return "Dynamic call with too many arguments. " + "Expected: " + dart.str(requiredCount) + " Actual: " + dart.str(actualsCount); + } + let names = null; + let named = type.named; + let requiredNamed = type.requiredNamed; + if (namedActuals != null) { + names = dart.getOwnPropertyNames(namedActuals); + for (let name of names) { + if (!(named.hasOwnProperty(name) || requiredNamed.hasOwnProperty(name))) { + return "Dynamic call with unexpected named argument '" + dart.str(name) + "'."; + } + } + } + let requiredNames = dart.getOwnPropertyNames(requiredNamed); + if (dart.test(requiredNames[$isNotEmpty])) { + let missingRequired = namedActuals == null ? requiredNames : requiredNames[$where](name => !namedActuals.hasOwnProperty(name)); + if (dart.test(missingRequired[$isNotEmpty])) { + let error = "Dynamic call with missing required named arguments: " + dart.str(missingRequired[$join](", ")) + "."; + if (!false) { + dart._nullWarn(error); + } else { + return error; + } + } + } + for (let i = 0; i < requiredCount; i = i + 1) { + required[i].as(actuals[i]); + } + for (let i = 0; i < extras; i = i + 1) { + optionals[i].as(actuals[i + requiredCount]); + } + if (names != null) { + for (let name of names) { + (named[name] || requiredNamed[name]).as(namedActuals[name]); + } + } + return null; +}; +dart._toSymbolName = function _toSymbolName(symbol) { + let str = symbol.toString(); + return str.substring(7, str.length - 1); +}; +dart._toDisplayName = function _toDisplayName(name) { + if (name[0] === '_') { + switch (name) { + case '_get': + { + return '[]'; + } + case '_set': + { + return '[]='; + } + case '_negate': + { + return 'unary-'; + } + case '_constructor': + case '_prototype': + { + return name.substring(1); + } + } + } + return name; +}; +dart._dartSymbol = function _dartSymbol(name) { + return typeof name === "symbol" ? dart.const(new _js_helper.PrivateSymbol.new(dart._toSymbolName(name), name)) : dart.const(new _internal.Symbol.new(dart._toDisplayName(name))); +}; +dart._setterSymbol = function _setterSymbol(name) { + return typeof name === "symbol" ? dart.const(new _js_helper.PrivateSymbol.new(dart._toSymbolName(name) + "=", name)) : dart.const(new _internal.Symbol.new(dart._toDisplayName(name) + "=")); +}; +dart._checkAndCall = function _checkAndCall(f, ftype, obj, typeArgs, args, named, displayName) { + _debugger.trackCall(obj); + let originalTarget = obj === void 0 ? f : obj; + function callNSM(errorMessage) { + return dart.noSuchMethod(originalTarget, new dart.InvocationImpl.new(displayName, args, {namedArguments: named, typeArguments: typeArgs || [], isMethod: true, failureMessage: errorMessage})); + } + if (f == null) return callNSM('Dynamic call of null.'); + if (!(f instanceof Function)) { + if (f != null) { + originalTarget = f; + f = dart.bindCall(f, dart._canonicalMember(f, "call")); + ftype = null; + displayName = "call"; + } + if (f == null) return callNSM("Dynamic call of object has no instance method 'call'."); + } + if (ftype == null) ftype = f[dart._runtimeType]; + if (ftype == null) { + if (typeArgs != null) { + dart.throwTypeError('call to JS object `' + obj + '` with type arguments <' + typeArgs + '> is not supported.'); + } + if (named != null) args.push(named); + return f.apply(obj, args); + } + if (ftype instanceof dart.GenericFunctionType) { + let formalCount = ftype.formalCount; + if (typeArgs == null) { + typeArgs = ftype.instantiateDefaultBounds(); + } else if (typeArgs.length != formalCount) { + return callNSM('Dynamic call with incorrect number of type arguments. ' + 'Expected: ' + formalCount + ' Actual: ' + typeArgs.length); + } else { + ftype.checkBounds(typeArgs); + } + ftype = ftype.instantiate(typeArgs); + } else if (typeArgs != null) { + return callNSM('Dynamic call with unexpected type arguments. ' + 'Expected: 0 Actual: ' + typeArgs.length); + } + let errorMessage = dart._argumentErrors(ftype, args, named); + if (errorMessage == null) { + if (typeArgs != null) args = typeArgs.concat(args); + if (named != null) args.push(named); + return f.apply(obj, args); + } + return callNSM(errorMessage); +}; +dart.dcall = function dcall(f, args, named = null) { + return dart._checkAndCall(f, null, void 0, null, args, named, f.name); +}; +dart.dgcall = function dgcall(f, typeArgs, args, named = null) { + return dart._checkAndCall(f, null, void 0, typeArgs, args, named, f.name || 'call'); +}; +dart.replNameLookup = function replNameLookup(object, field) { + let rawField = field; + if (typeof field == 'symbol') { + if (field in object) return field; + field = field.toString(); + field = field.substring('Symbol('.length, field.length - 1); + } else if (field.charAt(0) != '_') { + return field; + } + if (field in object) return field; + let proto = object; + while (proto !== null) { + let symbols = Object.getOwnPropertySymbols(proto); + let target = 'Symbol(' + field + ')'; + for (let s = 0; s < symbols.length; s++) { + let sym = symbols[s]; + if (target == sym.toString()) return sym; + } + proto = proto.__proto__; + } + return rawField; +}; +dart.callMethod = function callMethod(obj, name, typeArgs, args, named, displayName) { + if (typeof obj == "function" && name == "call") { + return dart.dgcall(obj, typeArgs, args, named); + } + let symbol = dart._canonicalMember(obj, name); + if (symbol == null) { + return dart.noSuchMethod(obj, new dart.InvocationImpl.new(displayName, T$.ListOfObjectN().as(args), {isMethod: true})); + } + let f = obj != null ? obj[symbol] : null; + let type = dart.getType(obj); + let ftype = dart.getMethodType(type, symbol); + return dart._checkAndCall(f, ftype, obj, typeArgs, args, named, displayName); +}; +dart.dsend = function dsend(obj, method, args, named = null) { + return dart.callMethod(obj, method, null, args, named, method); +}; +dart.dgsend = function dgsend(obj, typeArgs, method, args, named = null) { + return dart.callMethod(obj, method, typeArgs, args, named, method); +}; +dart.dsendRepl = function dsendRepl(obj, method, args, named = null) { + return dart.callMethod(obj, dart.replNameLookup(obj, method), null, args, named, method); +}; +dart.dgsendRepl = function dgsendRepl(obj, typeArgs, method, args, named = null) { + return dart.callMethod(obj, dart.replNameLookup(obj, method), typeArgs, args, named, method); +}; +dart.dindex = function dindex(obj, index) { + return dart.callMethod(obj, "_get", null, [index], null, "[]"); +}; +dart.dsetindex = function dsetindex(obj, index, value) { + return dart.callMethod(obj, "_set", null, [index, value], null, "[]="); +}; +dart.is = function instanceOf(obj, type) { + if (obj == null) { + return type === core.Null || dart._isTop(type) || type instanceof dart.NullableType; + } + return dart.isSubtypeOf(dart.getReifiedType(obj), type); +}; +dart.as = function cast(obj, type) { + if (obj == null && !false) { + dart._nullWarnOnType(type); + return obj; + } else { + let actual = dart.getReifiedType(obj); + if (dart.isSubtypeOf(actual, type)) return obj; + } + return dart.castError(obj, type); +}; +dart.test = function test(obj) { + if (obj == null) dart.throw(new _js_helper.BooleanConversionAssertionError.new()); + return obj; +}; +dart.dtest = function dtest(obj) { + if (!(typeof obj == 'boolean')) { + dart.booleanConversionFailed(false ? obj : dart.test(T$.boolN().as(obj))); + dart.throw(new _internal.ReachabilityError.new("`null` encountered as the result from expression with type `Never`.")); + } + return obj; +}; +dart.booleanConversionFailed = function booleanConversionFailed(obj) { + let actual = dart.typeName(dart.getReifiedType(obj)); + dart.throw(new _js_helper.TypeErrorImpl.new("type '" + actual + "' is not a 'bool' in boolean expression")); +}; +dart.asInt = function asInt(obj) { + if (Math.floor(obj) != obj) { + if (obj == null && !false) { + dart._nullWarnOnType(core.int); + return null; + } else { + dart.castError(obj, core.int); + } + } + return obj; +}; +dart.asNullableInt = function asNullableInt(obj) { + return obj == null ? null : dart.asInt(obj); +}; +dart.notNull = function _notNull(x) { + if (x == null) dart.throwNullValueError(); + return x; +}; +dart.nullCast = function nullCast(x, type) { + if (x == null) { + if (!false) { + dart._nullWarnOnType(type); + } else { + dart.castError(x, type); + } + } + return x; +}; +dart.nullCheck = function nullCheck(x) { + if (x == null) dart.throw(new _js_helper.TypeErrorImpl.new("Unexpected null value.")); + return x; +}; +dart._lookupNonTerminal = function _lookupNonTerminal(map, key) { + if (map == null) dart.nullFailed(I[2], 529, 34, "map"); + let result = map.get(key); + if (result != null) return result; + map.set(key, result = new Map()); + return dart.nullCheck(result); +}; +dart.constMap = function constMap(K, V, elements) { + if (elements == null) dart.nullFailed(I[2], 536, 34, "elements"); + let count = elements[$length]; + let map = dart._lookupNonTerminal(dart.constantMaps, count); + for (let i = 0; i < count; i = i + 1) { + map = dart._lookupNonTerminal(map, elements[i]); + } + map = dart._lookupNonTerminal(map, dart.wrapType(K)); + let result = map.get(V); + if (result != null) return result; + result = new (_js_helper.ImmutableMap$(K, V)).from(elements); + map.set(V, result); + return result; +}; +dart._createImmutableSet = function _createImmutableSet(E, elements) { + if (elements == null) dart.nullFailed(I[2], 554, 42, "elements"); + dart._immutableSetConstructor == null ? dart._immutableSetConstructor = dart.getLibrary("dart:collection")._ImmutableSet$ : null; + return new (dart._immutableSetConstructor(E)).from(elements); +}; +dart.constSet = function constSet(E, elements) { + if (elements == null) dart.nullFailed(I[2], 560, 31, "elements"); + let count = elements[$length]; + let map = dart._lookupNonTerminal(dart.constantSets, count); + for (let i = 0; i < count; i = i + 1) { + map = dart._lookupNonTerminal(map, elements[i]); + } + let result = map.get(E); + if (result != null) return result; + result = dart._createImmutableSet(E, elements); + map.set(E, result); + return result; +}; +dart.multiKeyPutIfAbsent = function multiKeyPutIfAbsent(map, keys, valueFn) { + for (let k of keys) { + let value = map.get(k); + if (!value) { + map.set(k, value = new Map()); + } + map = value; + } + if (map.has(dart._value)) return map.get(dart._value); + let value = valueFn(); + map.set(dart._value, value); + return value; +}; +dart.const = function const_(obj) { + let names = dart.getOwnNamesAndSymbols(obj); + let count = names.length; + let map = dart._lookupNonTerminal(dart.constants, count); + for (let i = 0; i < count; i++) { + let name = names[i]; + map = dart._lookupNonTerminal(map, name); + map = dart._lookupNonTerminal(map, obj[name]); + } + let type = dart.getReifiedType(obj); + let value = map.get(type); + if (value) return value; + map.set(type, obj); + return obj; +}; +dart.constList = function constList(elements, elementType) { + let count = elements.length; + let map = dart._lookupNonTerminal(dart.constantLists, count); + for (let i = 0; i < count; i++) { + map = dart._lookupNonTerminal(map, elements[i]); + } + let value = map.get(elementType); + if (value) return value; + _interceptors.JSArray$(elementType).unmodifiable(elements); + map.set(elementType, elements); + return elements; +}; +dart.constFn = function constFn(x) { + return () => x; +}; +dart.extensionSymbol = function extensionSymbol(name) { + if (name == null) dart.nullFailed(I[2], 678, 24, "name"); + return dartx[name]; +}; +dart.equals = function equals(x, y) { + return x == null ? y == null : x[$_equals](y); +}; +dart.hashCode = function hashCode(obj) { + return obj == null ? 0 : obj[$hashCode]; +}; +dart.toString = function _toString(obj) { + if (obj == null) return "null"; + if (typeof obj == 'string') return obj; + return obj[$toString](); +}; +dart.str = function str(obj) { + if (obj == null) return "null"; + if (typeof obj == 'string') return obj; + return core.String.as(dart.notNull(obj[$toString]())); +}; +dart.noSuchMethod = function noSuchMethod(obj, invocation) { + if (invocation == null) dart.nullFailed(I[2], 714, 30, "invocation"); + if (obj == null) dart.defaultNoSuchMethod(obj, invocation); + return obj[$noSuchMethod](invocation); +}; +dart.defaultNoSuchMethod = function defaultNoSuchMethod(obj, i) { + if (i == null) dart.nullFailed(I[2], 720, 37, "i"); + dart.throw(new core.NoSuchMethodError._withInvocation(obj, i)); +}; +dart.runtimeType = function runtimeType(obj) { + return obj == null ? dart.wrapType(core.Null) : obj[dartx.runtimeType]; +}; +dart._canonicalMember = function _canonicalMember(obj, name) { + if (typeof name === "symbol") return name; + if (obj != null && obj[dart._extensionType] != null) { + return dartx[name]; + } + if (name == "constructor" || name == "prototype") { + name = "+" + name; + } + return name; +}; +dart.loadLibrary = function loadLibrary(enclosingLibrary, importPrefix) { + let result = dart.deferredImports.get(enclosingLibrary); + if (dart.test(result === void 0)) { + dart.deferredImports.set(enclosingLibrary, result = new Set()); + } + result.add(importPrefix); + return async.Future.value(); +}; +dart.checkDeferredIsLoaded = function checkDeferredIsLoaded(enclosingLibrary, importPrefix) { + let loaded = dart.deferredImports.get(enclosingLibrary); + if (dart.test(loaded === void 0) || dart.test(!loaded.has(importPrefix))) { + dart.throwDeferredIsLoadedError(enclosingLibrary, importPrefix); + } +}; +dart.defineLazy = function defineLazy(to, from, useOldSemantics) { + if (useOldSemantics == null) dart.nullFailed(I[2], 795, 32, "useOldSemantics"); + for (let name of dart.getOwnNamesAndSymbols(from)) { + if (dart.test(useOldSemantics)) { + dart.defineLazyFieldOld(to, name, dart.getOwnPropertyDescriptor(from, name)); + } else { + dart.defineLazyField(to, name, dart.getOwnPropertyDescriptor(from, name)); + } + } +}; +dart.defineLazyField = function defineLazyField(to, name, desc) { + const initializer = desc.get; + const final = desc.set == null; + let initialized = false; + let init = initializer; + let value = null; + let savedLocals = false; + desc.get = function() { + if (init == null) return value; + if (final && initialized) dart.throwLateInitializationError(name); + if (!savedLocals) { + dart._resetFields.push(() => { + init = initializer; + value = null; + savedLocals = false; + initialized = false; + }); + savedLocals = true; + } + initialized = true; + try { + value = init(); + } catch (e) { + initialized = false; + throw e; + } + init = null; + return value; + }; + desc.configurable = true; + if (desc.set != null) { + desc.set = function(x) { + init = null; + value = x; + }; + } + return dart.defineProperty(to, name, desc); +}; +dart.defineLazyFieldOld = function defineLazyFieldOld(to, name, desc) { + const initializer = desc.get; + let init = initializer; + let value = null; + desc.get = function() { + if (init == null) return value; + let f = init; + init = dart.throwCyclicInitializationError; + if (f === init) f(name); + dart._resetFields.push(() => { + init = initializer; + value = null; + }); + try { + value = f(); + init = null; + return value; + } catch (e) { + init = null; + value = null; + throw e; + } + }; + desc.configurable = true; + if (desc.set != null) { + desc.set = function(x) { + init = null; + value = x; + }; + } + return dart.defineProperty(to, name, desc); +}; +dart.checkNativeNonNull = function checkNativeNonNull(variable) { + if (dart._nativeNonNullAsserts && variable == null) { + dart.throw(new _js_helper.TypeErrorImpl.new(" Unexpected null value encountered in Dart web platform libraries.\n This may be a bug in the Dart SDK APIs. If you would like to report a bug\n or disable this error, you can use the following instructions:\n https://github.com/dart-lang/sdk/tree/master/sdk/lib/html/doc/NATIVE_NULL_ASSERTIONS.md\n ")); + } + return variable; +}; +dart.fn = function fn(closure, type) { + closure[dart._runtimeType] = type; + return closure; +}; +dart.lazyFn = function lazyFn(closure, computeType) { + if (computeType == null) dart.nullFailed(I[3], 63, 35, "computeType"); + dart.defineAccessor(closure, dart._runtimeType, { + get: () => dart.defineValue(closure, dart._runtimeType, computeType()), + set: value => dart.defineValue(closure, dart._runtimeType, value), + configurable: true + }); + return closure; +}; +dart.getFunctionType = function getFunctionType(obj) { + let args = Array(obj.length).fill(dart.dynamic); + return dart.fnType(dart.bottom, args, void 0); +}; +dart.getReifiedType = function getReifiedType(obj) { + switch (typeof obj) { + case "object": + { + if (obj == null) return core.Null; + if (obj instanceof core.Object) { + return obj.constructor; + } + let result = obj[dart._extensionType]; + if (result == null) return dart.jsobject; + return result; + } + case "function": + { + let result = obj[dart._runtimeType]; + if (result != null) return result; + return dart.jsobject; + } + case "undefined": + { + return core.Null; + } + case "number": + { + return Math.floor(obj) == obj ? core.int : core.double; + } + case "boolean": + { + return core.bool; + } + case "string": + { + return core.String; + } + case "symbol": + default: + { + return dart.jsobject; + } + } +}; +dart.getModuleName = function getModuleName(module) { + if (module == null) dart.nullFailed(I[3], 117, 30, "module"); + return module[dart._moduleName]; +}; +dart.getModuleNames = function getModuleNames() { + return Array.from(dart._loadedModules.keys()); +}; +dart.getSourceMap = function getSourceMap(moduleName) { + if (moduleName == null) dart.nullFailed(I[3], 127, 29, "moduleName"); + return dart._loadedSourceMaps.get(moduleName); +}; +dart.getModuleLibraries = function getModuleLibraries(name) { + if (name == null) dart.nullFailed(I[3], 132, 27, "name"); + let module = dart._loadedModules.get(name); + if (module == null) return null; + module[dart._moduleName] = name; + return module; +}; +dart.getModulePartMap = function getModulePartMap(name) { + if (name == null) dart.nullFailed(I[3], 140, 25, "name"); + return dart._loadedPartMaps.get(name); +}; +dart.trackLibraries = function trackLibraries(moduleName, libraries, parts, sourceMap) { + if (moduleName == null) dart.nullFailed(I[3], 144, 12, "moduleName"); + if (libraries == null) dart.nullFailed(I[3], 144, 31, "libraries"); + if (parts == null) dart.nullFailed(I[3], 144, 49, "parts"); + if (typeof parts == 'string') { + sourceMap = parts; + parts = {}; + } + dart._loadedSourceMaps.set(moduleName, sourceMap); + dart._loadedModules.set(moduleName, libraries); + dart._loadedPartMaps.set(moduleName, parts); + dart._libraries = null; + dart._libraryObjects = null; + dart._parts = null; +}; +dart._computeLibraryMetadata = function _computeLibraryMetadata() { + dart._libraries = T$.JSArrayOfString().of([]); + dart._libraryObjects = new (T$.IdentityMapOfString$ObjectN()).new(); + dart._parts = new (T$.IdentityMapOfString$ListNOfString()).new(); + let modules = dart.getModuleNames(); + for (let name of modules) { + let module = dart.getModuleLibraries(name); + let libraries = dart.getOwnPropertyNames(module)[$cast](core.String); + dart.nullCheck(dart._libraries)[$addAll](libraries); + for (let library of libraries) { + dart.nullCheck(dart._libraryObjects)[$_set](library, module[library]); + } + let partMap = dart.getModulePartMap(name); + libraries = dart.getOwnPropertyNames(partMap)[$cast](core.String); + for (let library of libraries) { + dart.nullCheck(dart._parts)[$_set](library, T$.ListOfString().from(partMap[library])); + } + } +}; +dart.getLibrary = function getLibrary(uri) { + if (uri == null) dart.nullFailed(I[3], 192, 27, "uri"); + if (dart._libraryObjects == null) { + dart._computeLibraryMetadata(); + } + return dart.nullCheck(dart._libraryObjects)[$_get](uri); +}; +dart.getLibraries = function getLibraries() { + if (dart._libraries == null) { + dart._computeLibraryMetadata(); + } + return dart.nullCheck(dart._libraries); +}; +dart.getParts = function getParts(libraryUri) { + let t0; + if (libraryUri == null) dart.nullFailed(I[3], 222, 30, "libraryUri"); + if (dart._parts == null) { + dart._computeLibraryMetadata(); + } + t0 = dart.nullCheck(dart._parts)[$_get](libraryUri); + return t0 == null ? T$.JSArrayOfString().of([]) : t0; +}; +dart.polyfill = function polyfill(window) { + if (window[dart._polyfilled]) return false; + window[dart._polyfilled] = true; + if (typeof window.NodeList !== "undefined") { + window.NodeList.prototype.get = function(i) { + return this[i]; + }; + window.NamedNodeMap.prototype.get = function(i) { + return this[i]; + }; + window.DOMTokenList.prototype.get = function(i) { + return this[i]; + }; + window.HTMLCollection.prototype.get = function(i) { + return this[i]; + }; + if (typeof window.PannerNode == "undefined") { + let audioContext; + if (typeof window.AudioContext == "undefined" && typeof window.webkitAudioContext != "undefined") { + audioContext = new window.webkitAudioContext(); + } else { + audioContext = new window.AudioContext(); + window.StereoPannerNode = audioContext.createStereoPanner().constructor; + } + window.PannerNode = audioContext.createPanner().constructor; + } + if (typeof window.AudioSourceNode == "undefined") { + window.AudioSourceNode = MediaElementAudioSourceNode.__proto__; + } + if (typeof window.FontFaceSet == "undefined") { + if (typeof window.document.fonts != "undefined") { + window.FontFaceSet = window.document.fonts.__proto__.constructor; + } + } + if (typeof window.MemoryInfo == "undefined") { + if (typeof window.performance.memory != "undefined") { + window.MemoryInfo = function() { + }; + window.MemoryInfo.prototype = window.performance.memory.__proto__; + } + } + if (typeof window.Geolocation == "undefined") { + window.Geolocation == window.navigator.geolocation.constructor; + } + if (typeof window.Animation == "undefined") { + let d = window.document.createElement('div'); + if (typeof d.animate != "undefined") { + window.Animation = d.animate(d).constructor; + } + } + if (typeof window.SourceBufferList == "undefined") { + if ('MediaSource' in window) { + window.SourceBufferList = new window.MediaSource().sourceBuffers.constructor; + } + } + if (typeof window.SpeechRecognition == "undefined") { + window.SpeechRecognition = window.webkitSpeechRecognition; + window.SpeechRecognitionError = window.webkitSpeechRecognitionError; + window.SpeechRecognitionEvent = window.webkitSpeechRecognitionEvent; + } + } + return true; +}; +dart.trackProfile = function trackProfile(flag) { + if (flag == null) dart.nullFailed(I[4], 141, 24, "flag"); + dart.__trackProfile = flag; +}; +dart.setStartAsyncSynchronously = function setStartAsyncSynchronously(value = true) { + if (value == null) dart.nullFailed(I[4], 166, 39, "value"); + dart.startAsyncSynchronously = value; +}; +dart.hotRestart = function hotRestart() { + dart.hotRestartIteration = dart.notNull(dart.hotRestartIteration) + 1; + for (let f of dart._resetFields) + f(); + dart._resetFields[$clear](); + for (let m of dart._cacheMaps) + m.clear(); + dart._cacheMaps[$clear](); + dart._nullComparisonSet.clear(); + dart.constantMaps.clear(); + dart.deferredImports.clear(); +}; +dart._throwInvalidFlagError = function _throwInvalidFlagError(message) { + if (message == null) dart.nullFailed(I[5], 15, 31, "message"); + return dart.throw(new core.UnsupportedError.new("Invalid flag combination.\n" + dart.str(message))); +}; +dart.weakNullSafetyWarnings = function weakNullSafetyWarnings(showWarnings) { + if (showWarnings == null) dart.nullFailed(I[5], 25, 34, "showWarnings"); + if (dart.test(showWarnings) && false) { + dart._throwInvalidFlagError("Null safety violations cannot be shown as warnings when running with " + "sound null safety."); + } + dart._weakNullSafetyWarnings = showWarnings; +}; +dart.weakNullSafetyErrors = function weakNullSafetyErrors(showErrors) { + if (showErrors == null) dart.nullFailed(I[5], 42, 32, "showErrors"); + if (dart.test(showErrors) && false) { + dart._throwInvalidFlagError("Null safety violations are already thrown as errors when running with " + "sound null safety."); + } + if (dart.test(showErrors) && dart._weakNullSafetyWarnings) { + dart._throwInvalidFlagError("Null safety violations can be shown as warnings or thrown as errors, " + "not both."); + } + dart._weakNullSafetyErrors = showErrors; +}; +dart.nonNullAsserts = function nonNullAsserts(enable) { + if (enable == null) dart.nullFailed(I[5], 66, 26, "enable"); + dart._nonNullAsserts = enable; +}; +dart.nativeNonNullAsserts = function nativeNonNullAsserts(enable) { + if (enable == null) dart.nullFailed(I[5], 78, 32, "enable"); + dart._nativeNonNullAsserts = enable; +}; +dart._isJsObject = function _isJsObject(obj) { + return dart.getReifiedType(obj) === dart.jsobject; +}; +dart.assertInterop = function assertInterop(f) { + if (f == null) dart.nullFailed(I[5], 164, 39, "f"); + if (!(dart._isJsObject(f) || !(f instanceof dart.global.Function))) dart.assertFailed("Dart function requires `allowInterop` to be passed to JavaScript.", I[5], 166, 7, "_isJsObject(f) ||\n !JS('bool', '# instanceof #.Function', f, global_)"); + return f; +}; +dart.isDartFunction = function isDartFunction(obj) { + return obj instanceof Function && obj[dart._runtimeType] != null; +}; +dart.tearoffInterop = function tearoffInterop(f) { + if (!dart._isJsObject(f) || f == null) return f; + let ret = dart._assertInteropExpando._get(f); + if (ret == null) { + ret = function(...arguments$) { + var args = arguments$.map(dart.assertInterop); + return f.apply(this, args); + }; + dart._assertInteropExpando._set(f, ret); + } + return ret; +}; +dart._warn = function _warn(arg) { + console.warn(arg); +}; +dart._nullWarn = function _nullWarn(message) { + if (dart._weakNullSafetyWarnings) { + dart._warn(dart.str(message) + "\n" + "This will become a failure when runtime null safety is enabled."); + } else if (dart._weakNullSafetyErrors) { + dart.throw(new _js_helper.TypeErrorImpl.new(core.String.as(message))); + } +}; +dart._nullWarnOnType = function _nullWarnOnType(type) { + let result = dart._nullComparisonSet.has(type); + if (!dart.test(result)) { + dart._nullComparisonSet.add(type); + dart._nullWarn("Null is not a subtype of " + dart.str(type) + "."); + } +}; +dart.lazyJSType = function lazyJSType(getJSTypeCallback, name) { + if (getJSTypeCallback == null) dart.nullFailed(I[5], 304, 23, "getJSTypeCallback"); + if (name == null) dart.nullFailed(I[5], 304, 49, "name"); + let ret = dart._lazyJSTypes.get(name); + if (ret == null) { + ret = new dart.LazyJSType.new(getJSTypeCallback, name); + dart._lazyJSTypes.set(name, ret); + } + return ret; +}; +dart.anonymousJSType = function anonymousJSType(name) { + if (name == null) dart.nullFailed(I[5], 313, 24, "name"); + let ret = dart._anonymousJSTypes.get(name); + if (ret == null) { + ret = new dart.AnonymousJSType.new(name); + dart._anonymousJSTypes.set(name, ret); + } + return ret; +}; +dart.nullable = function nullable(type) { + let cached = type[dart._cachedNullable]; + if (cached !== void 0) { + return cached; + } + let cachedType = dart._computeNullable(type); + type[dart._cachedNullable] = cachedType; + return cachedType; +}; +dart._computeNullable = function _computeNullable(type) { + if (type instanceof dart.LegacyType) { + return dart.nullable(type.type); + } + if (type instanceof dart.NullableType || dart._isTop(type) || type === core.Null || dart._isFutureOr(type) && dart.getGenericArgs(type)[0] instanceof dart.NullableType) { + return type; + } + if (type === dart.Never) return core.Null; + return new dart.NullableType.new(type); +}; +dart.legacy = function legacy(type) { + let cached = type[dart._cachedLegacy]; + if (cached !== void 0) { + return cached; + } + let cachedType = dart._computeLegacy(type); + type[dart._cachedLegacy] = cachedType; + return cachedType; +}; +dart._computeLegacy = function _computeLegacy(type) { + if (type instanceof dart.LegacyType || type instanceof dart.NullableType || dart._isTop(type) || type === core.Null) { + return type; + } + return new dart.LegacyType.new(type); +}; +dart.wrapType = function wrapType(type, isNormalized = false) { + if (type.hasOwnProperty(dart._typeObject)) { + return type[dart._typeObject]; + } + let result = isNormalized ? new dart._Type.new(core.Object.as(type)) : type instanceof dart.LegacyType ? dart.wrapType(type.type) : dart._canonicalizeNormalizedTypeObject(type); + type[dart._typeObject] = result; + return result; +}; +dart._canonicalizeNormalizedTypeObject = function _canonicalizeNormalizedTypeObject(type) { + if (!!(type instanceof dart.LegacyType)) dart.assertFailed(null, I[5], 528, 10, "!_jsInstanceOf(type, LegacyType)"); + function normalizeHelper(a) { + return dart.unwrapType(dart.wrapType(a)); + } + if (type instanceof dart.GenericFunctionTypeIdentifier) { + return dart.wrapType(type, true); + } + if (type instanceof dart.FunctionType) { + let normReturnType = normalizeHelper(dart.dload(type, 'returnType')); + let normArgs = dart.dsend(dart.dsend(dart.dload(type, 'args'), 'map', [normalizeHelper]), 'toList', []); + if (dart.global.Object.keys(dart.dload(type, 'named')).length === 0 && dart.global.Object.keys(dart.dload(type, 'requiredNamed')).length === 0) { + if (dart.dtest(dart.dload(dart.dload(type, 'optionals'), 'isEmpty'))) { + let normType = dart.fnType(normReturnType, core.List.as(normArgs)); + return dart.wrapType(normType, true); + } + let normOptionals = dart.dsend(dart.dsend(dart.dload(type, 'optionals'), 'map', [normalizeHelper]), 'toList', []); + let normType = dart.fnType(normReturnType, core.List.as(normArgs), normOptionals); + return dart.wrapType(normType, true); + } + let normNamed = {}; + dart._transformJSObject(dart.dload(type, 'named'), normNamed, normalizeHelper); + let normRequiredNamed = {}; + dart._transformJSObject(dart.dload(type, 'requiredNamed'), normRequiredNamed, normalizeHelper); + let normType = dart.fnType(normReturnType, core.List.as(normArgs), normNamed, normRequiredNamed); + return dart.wrapType(normType, true); + } + if (type instanceof dart.GenericFunctionType) { + let formals = dart._getCanonicalTypeFormals(core.int.as(dart.dload(dart.dload(type, 'typeFormals'), 'length'))); + let normBounds = core.List.as(dart.dsend(dart.dsend(dart.dsend(type, 'instantiateTypeBounds', [formals]), 'map', [normalizeHelper]), 'toList', [])); + let substitutedTypes = []; + if (dart.test(normBounds[$contains](dart.Never))) { + for (let i = 0; i < dart.notNull(formals[$length]); i = i + 1) { + let substitutedType = normBounds[$_get](i); + while (dart.test(formals[$contains](substitutedType))) { + substitutedType = normBounds[$_get](formals[$indexOf](dart.TypeVariable.as(substitutedType))); + } + if (dart.equals(substitutedType, dart.Never)) { + substitutedTypes[$add](dart.Never); + } else { + substitutedTypes[$add](formals[$_get](i)); + } + } + } else { + substitutedTypes = formals; + } + let normFunc = dart.FunctionType.as(normalizeHelper(dart.dsend(type, 'instantiate', [substitutedTypes]))); + let typeObjectIdKey = []; + typeObjectIdKey.push(...normBounds); + typeObjectIdKey.push(normFunc); + let memoizedId = dart._memoizeArray(dart._gFnTypeTypeMap, typeObjectIdKey, () => new dart.GenericFunctionTypeIdentifier.new(formals, normBounds, normFunc)); + return dart.wrapType(memoizedId, true); + } + let args = dart.getGenericArgs(type); + let normType = null; + if (args == null || dart.test(args[$isEmpty])) { + normType = type; + } else { + let genericClass = dart.getGenericClass(type); + let normArgs = args[$map](core.Object, normalizeHelper)[$toList](); + normType = genericClass(...normArgs); + } + return dart.wrapType(normType, true); +}; +dart._transformJSObject = function _transformJSObject(srcObject, dstObject, transform) { + if (transform == null) dart.nullFailed(I[5], 610, 56, "transform"); + for (let key of dart.global.Object.keys(srcObject)) { + dstObject[key] = dart.dcall(transform, [srcObject[key]]); + } +}; +dart.unwrapType = function unwrapType(obj) { + if (obj == null) dart.nullFailed(I[5], 621, 24, "obj"); + return obj[_type$]; +}; +dart._getCanonicalTypeFormals = function _getCanonicalTypeFormals(count) { + if (count == null) dart.nullFailed(I[5], 666, 49, "count"); + while (dart.notNull(count) > dart.notNull(dart._typeVariablePool[$length])) { + dart._fillTypeVariable(); + } + return dart._typeVariablePool[$sublist](0, count); +}; +dart._fillTypeVariable = function _fillTypeVariable() { + if (dart.notNull(dart._typeVariablePool[$length]) < 26) { + dart._typeVariablePool[$add](new dart.TypeVariable.new(core.String.fromCharCode(65 + dart.notNull(dart._typeVariablePool[$length])))); + } else { + dart._typeVariablePool[$add](new dart.TypeVariable.new("T" + dart.str(dart.notNull(dart._typeVariablePool[$length]) - 26))); + } +}; +dart._memoizeArray = function _memoizeArray(map, arr, create) { + if (create == null) dart.nullFailed(I[5], 688, 32, "create"); + return (() => { + let len = arr.length; + map = dart._lookupNonTerminal(map, len); + for (var i = 0; i < len - 1; ++i) { + map = dart._lookupNonTerminal(map, arr[i]); + } + let result = map.get(arr[len - 1]); + if (result !== void 0) return result; + map.set(arr[len - 1], result = create()); + return result; + })(); +}; +dart._canonicalizeArray = function _canonicalizeArray(array, map) { + if (array == null) dart.nullFailed(I[5], 700, 30, "array"); + return dart._memoizeArray(map, array, () => array); +}; +dart._canonicalizeNamed = function _canonicalizeNamed(named, map) { + let key = []; + let names = dart.getOwnPropertyNames(named); + for (var i = 0; i < names.length; ++i) { + let name = names[i]; + let type = named[name]; + key.push(name); + key.push(type); + } + return dart._memoizeArray(map, key, () => named); +}; +dart._createSmall = function _createSmall(returnType, required) { + if (required == null) dart.nullFailed(I[5], 720, 44, "required"); + return (() => { + let count = required.length; + let map = dart._fnTypeSmallMap[count]; + for (var i = 0; i < count; ++i) { + map = dart._lookupNonTerminal(map, required[i]); + } + let result = map.get(returnType); + if (result !== void 0) return result; + result = new dart.FunctionType.new(core.Type.as(returnType), required, [], {}, {}); + map.set(returnType, result); + return result; + })(); +}; +dart._typeFormalsFromFunction = function _typeFormalsFromFunction(typeConstructor) { + let str = typeConstructor.toString(); + let hasParens = str[$_get](0) === "("; + let end = str[$indexOf](hasParens ? ")" : "=>"); + if (hasParens) { + return str[$substring](1, end)[$split](",")[$map](dart.TypeVariable, n => { + if (n == null) dart.nullFailed(I[5], 1152, 15, "n"); + return new dart.TypeVariable.new(n[$trim]()); + })[$toList](); + } else { + return T$.JSArrayOfTypeVariable().of([new dart.TypeVariable.new(str[$substring](0, end)[$trim]())]); + } +}; +dart.fnType = function fnType(returnType, args, optional = null, requiredNamed = null) { + if (args == null) dart.nullFailed(I[5], 1160, 38, "args"); + return dart.FunctionType.create(returnType, args, optional, requiredNamed); +}; +dart.gFnType = function gFnType(instantiateFn, typeBounds) { + return new dart.GenericFunctionType.new(instantiateFn, typeBounds); +}; +dart.isType = function isType(obj) { + return obj[dart._runtimeType] === core.Type; +}; +dart.checkTypeBound = function checkTypeBound(type, bound, name) { + if (!dart.isSubtypeOf(type, bound)) { + dart.throwTypeError("type `" + dart.str(type) + "` does not extend `" + dart.str(bound) + "` of `" + name + "`."); + } +}; +dart.typeName = function typeName(type) { + if (type === void 0) return "undefined type"; + if (type === null) return "null type"; + if (type instanceof dart.DartType) { + return type.toString(); + } + let tag = type[dart._runtimeType]; + if (tag === core.Type) { + let name = type.name; + let args = dart.getGenericArgs(type); + if (args == null) return name; + if (dart.getGenericClass(type) == _interceptors.JSArray$) name = 'List'; + let result = name; + result += '<'; + for (let i = 0; i < args.length; ++i) { + if (i > 0) result += ', '; + result += dart.typeName(args[i]); + } + result += '>'; + return result; + } + if (tag) return "Not a type: " + tag.name; + return "JSObject<" + type.name + ">"; +}; +dart._isFunctionSubtype = function _isFunctionSubtype(ft1, ft2, strictMode) { + let ret1 = ft1.returnType; + let ret2 = ft2.returnType; + let args1 = ft1.args; + let args2 = ft2.args; + if (args1.length > args2.length) { + return false; + } + for (let i = 0; i < args1.length; ++i) { + if (!dart._isSubtype(args2[i], args1[i], strictMode)) { + return false; + } + } + let optionals1 = ft1.optionals; + let optionals2 = ft2.optionals; + if (args1.length + optionals1.length < args2.length + optionals2.length) { + return false; + } + let j = 0; + for (let i = args1.length; i < args2.length; ++i, ++j) { + if (!dart._isSubtype(args2[i], optionals1[j], strictMode)) { + return false; + } + } + for (let i = 0; i < optionals2.length; ++i, ++j) { + if (!dart._isSubtype(optionals2[i], optionals1[j], strictMode)) { + return false; + } + } + let named1 = ft1.named; + let requiredNamed1 = ft1.requiredNamed; + let named2 = ft2.named; + let requiredNamed2 = ft2.requiredNamed; + if (!strictMode) { + named1 = Object.assign({}, named1, requiredNamed1); + named2 = Object.assign({}, named2, requiredNamed2); + requiredNamed1 = {}; + requiredNamed2 = {}; + } + let names = dart.getOwnPropertyNames(requiredNamed1); + for (let i = 0; i < names.length; ++i) { + let name = names[i]; + let n2 = requiredNamed2[name]; + if (n2 === void 0) { + return false; + } + } + names = dart.getOwnPropertyNames(named2); + for (let i = 0; i < names.length; ++i) { + let name = names[i]; + let n1 = named1[name]; + let n2 = named2[name]; + if (n1 === void 0) { + return false; + } + if (!dart._isSubtype(n2, n1, strictMode)) { + return false; + } + } + names = dart.getOwnPropertyNames(requiredNamed2); + for (let i = 0; i < names.length; ++i) { + let name = names[i]; + let n1 = named1[name] || requiredNamed1[name]; + let n2 = requiredNamed2[name]; + if (n1 === void 0) { + return false; + } + if (!dart._isSubtype(n2, n1, strictMode)) { + return false; + } + } + return dart._isSubtype(ret1, ret2, strictMode); +}; +dart.isSubtypeOf = function isSubtypeOf(t1, t2) { + let map = t1[dart._subtypeCache]; + let result = map.get(t2); + if (result !== void 0) return result; + let validSubtype = dart._isSubtype(t1, t2, true); + if (!validSubtype && !false) { + validSubtype = dart._isSubtype(t1, t2, false); + if (validSubtype) { + dart._nullWarn(dart.str(t1) + " is not a subtype of " + dart.str(t2) + "."); + } + } + map.set(t2, validSubtype); + return validSubtype; +}; +dart._isBottom = function _isBottom(type, strictMode) { + return type === dart.Never || !strictMode && type === core.Null; +}; +dart._isTop = function _isTop(type) { + if (type instanceof dart.NullableType) return type.type === core.Object; + return type === dart.dynamic || type === dart.void; +}; +dart._isFutureOr = function _isFutureOr(type) { + let genericClass = dart.getGenericClass(type); + return genericClass && genericClass === async.FutureOr$; +}; +dart._isSubtype = function _isSubtype(t1, t2, strictMode) { + if (!strictMode) { + if (t1 instanceof dart.NullableType) { + t1 = t1.type; + } + if (t2 instanceof dart.NullableType) { + t2 = t2.type; + } + } + if (t1 === t2) { + return true; + } + if (dart._isTop(t2) || dart._isBottom(t1, strictMode)) { + return true; + } + if (t1 === dart.dynamic || t1 === dart.void) { + return dart._isSubtype(dart.nullable(core.Object), t2, strictMode); + } + if (t2 === core.Object) { + if (dart._isFutureOr(t1)) { + let t1TypeArg = dart.getGenericArgs(t1)[0]; + return dart._isSubtype(t1TypeArg, core.Object, strictMode); + } + if (t1 instanceof dart.LegacyType) { + return dart._isSubtype(t1.type, t2, strictMode); + } + if (t1 === core.Null || t1 instanceof dart.NullableType) { + return false; + } + return true; + } + if (t1 === core.Null) { + if (dart._isFutureOr(t2)) { + let t2TypeArg = dart.getGenericArgs(t2)[0]; + return dart._isSubtype(core.Null, t2TypeArg, strictMode); + } + return t2 === core.Null || t2 instanceof dart.LegacyType || t2 instanceof dart.NullableType; + } + if (t1 instanceof dart.LegacyType) { + return dart._isSubtype(t1.type, t2, strictMode); + } + if (t2 instanceof dart.LegacyType) { + return dart._isSubtype(t1, dart.nullable(t2.type), strictMode); + } + if (dart._isFutureOr(t1)) { + let t1TypeArg = dart.getGenericArgs(t1)[0]; + if (dart._isFutureOr(t2)) { + let t2TypeArg = dart.getGenericArgs(t2)[0]; + if (dart._isSubtype(t1TypeArg, t2TypeArg, strictMode)) { + return true; + } + } + let t1Future = async.Future$(t1TypeArg); + return dart._isSubtype(t1Future, t2, strictMode) && dart._isSubtype(t1TypeArg, t2, strictMode); + } + if (t1 instanceof dart.NullableType) { + return dart._isSubtype(t1.type, t2, strictMode) && dart._isSubtype(core.Null, t2, strictMode); + } + if (dart._isFutureOr(t2)) { + let t2TypeArg = dart.getGenericArgs(t2)[0]; + let t2Future = async.Future$(t2TypeArg); + return dart._isSubtype(t1, t2Future, strictMode) || dart._isSubtype(t1, t2TypeArg, strictMode); + } + if (t2 instanceof dart.NullableType) { + return dart._isSubtype(t1, t2.type, strictMode) || dart._isSubtype(t1, core.Null, strictMode); + } + if (!(t2 instanceof dart.AbstractFunctionType)) { + if (t1 instanceof dart.AbstractFunctionType) { + return t2 === core.Function; + } + if (t1 === dart.jsobject && t2 instanceof dart.AnonymousJSType) { + return true; + } + return dart._isInterfaceSubtype(t1, t2, strictMode); + } + if (!(t1 instanceof dart.AbstractFunctionType)) { + return false; + } + if (t1 instanceof dart.GenericFunctionType) { + if (!(t2 instanceof dart.GenericFunctionType)) { + return false; + } + let formalCount = t1.formalCount; + if (formalCount !== t2.formalCount) { + return false; + } + let fresh = t2.typeFormals; + if (t1.hasTypeBounds || t2.hasTypeBounds) { + let t1Bounds = t1.instantiateTypeBounds(fresh); + let t2Bounds = t2.instantiateTypeBounds(fresh); + for (let i = 0; i < formalCount; i++) { + if (t1Bounds[i] != t2Bounds[i]) { + if (!(dart._isSubtype(t1Bounds[i], t2Bounds[i], strictMode) && dart._isSubtype(t2Bounds[i], t1Bounds[i], strictMode))) { + return false; + } + } + } + } + t1 = t1.instantiate(fresh); + t2 = t2.instantiate(fresh); + } else if (t2 instanceof dart.GenericFunctionType) { + return false; + } + return dart._isFunctionSubtype(t1, t2, strictMode); +}; +dart._isInterfaceSubtype = function _isInterfaceSubtype(t1, t2, strictMode) { + if (t1 instanceof dart.LazyJSType) t1 = t1.rawJSTypeForCheck(); + if (t2 instanceof dart.LazyJSType) t2 = t2.rawJSTypeForCheck(); + if (t1 === t2) { + return true; + } + if (t1 === core.Object) { + return false; + } + if (t1 === core.Function || t2 === core.Function) { + return false; + } + if (t1 == null) { + return t2 === core.Object || t2 === dart.dynamic; + } + let raw1 = dart.getGenericClass(t1); + let raw2 = dart.getGenericClass(t2); + if (raw1 != null && raw1 == raw2) { + let typeArguments1 = dart.getGenericArgs(t1); + let typeArguments2 = dart.getGenericArgs(t2); + if (typeArguments1.length != typeArguments2.length) { + dart.assertFailed(); + } + let variances = dart.getGenericArgVariances(t1); + for (let i = 0; i < typeArguments1.length; ++i) { + if (variances === void 0 || variances[i] == 1) { + if (!dart._isSubtype(typeArguments1[i], typeArguments2[i], strictMode)) { + return false; + } + } else if (variances[i] == 2) { + if (!dart._isSubtype(typeArguments2[i], typeArguments1[i], strictMode)) { + return false; + } + } else if (variances[i] == 3) { + if (!dart._isSubtype(typeArguments1[i], typeArguments2[i], strictMode) || !dart._isSubtype(typeArguments2[i], typeArguments1[i], strictMode)) { + return false; + } + } + } + return true; + } + if (dart._isInterfaceSubtype(t1.__proto__, t2, strictMode)) { + return true; + } + let m1 = dart.getMixin(t1); + if (m1 != null && dart._isInterfaceSubtype(m1, t2, strictMode)) { + return true; + } + let getInterfaces = dart.getImplements(t1); + if (getInterfaces) { + for (let i1 of getInterfaces()) { + if (dart._isInterfaceSubtype(i1, t2, strictMode)) { + return true; + } + } + } + return false; +}; +dart.extractTypeArguments = function extractTypeArguments(T, instance, f) { + if (f == null) dart.nullFailed(I[5], 1666, 54, "f"); + if (instance == null) { + dart.throw(new core.ArgumentError.new("Cannot extract type of null instance.")); + } + let type = T; + type = type.type || type; + if (dart.AbstractFunctionType.is(type) || dart._isFutureOr(type)) { + dart.throw(new core.ArgumentError.new("Cannot extract from non-class type (" + dart.str(type) + ").")); + } + let typeArguments = dart.getGenericArgs(type); + if (dart.test(dart.nullCheck(typeArguments)[$isEmpty])) { + dart.throw(new core.ArgumentError.new("Cannot extract from non-generic type (" + dart.str(type) + ").")); + } + let supertype = dart._getMatchingSupertype(dart.getReifiedType(instance), type); + if (!(supertype != null)) dart.assertFailed(null, I[5], 1684, 10, "supertype != null"); + let typeArgs = dart.getGenericArgs(supertype); + if (!(typeArgs != null && dart.test(typeArgs[$isNotEmpty]))) dart.assertFailed(null, I[5], 1686, 10, "typeArgs != null && typeArgs.isNotEmpty"); + return dart.dgcall(f, typeArgs, []); +}; +dart._getMatchingSupertype = function _getMatchingSupertype(subtype, supertype) { + if (supertype == null) dart.nullFailed(I[5], 2047, 55, "supertype"); + if (core.identical(subtype, supertype)) return supertype; + if (subtype == null || subtype === core.Object) return null; + let subclass = dart.getGenericClass(subtype); + let superclass = dart.getGenericClass(supertype); + if (subclass != null && core.identical(subclass, superclass)) { + return subtype; + } + let result = dart._getMatchingSupertype(subtype.__proto__, supertype); + if (result != null) return result; + let mixin = dart.getMixin(subtype); + if (mixin != null) { + result = dart._getMatchingSupertype(mixin, supertype); + if (result != null) return result; + } + let getInterfaces = dart.getImplements(subtype); + if (getInterfaces != null) { + for (let iface of getInterfaces()) { + result = dart._getMatchingSupertype(iface, supertype); + if (result != null) return result; + } + } + return null; +}; +dart.defineValue = function defineValue(obj, name, value) { + dart.defineAccessor(obj, name, {value: value, configurable: true, writable: true}); + return value; +}; +dart.throwTypeError = function throwTypeError(message) { + if (message == null) dart.nullFailed(I[6], 39, 28, "message"); + dart.throw(new _js_helper.TypeErrorImpl.new(message)); +}; +dart.throwInternalError = function throwInternalError(message) { + if (message == null) dart.nullFailed(I[6], 44, 32, "message"); + throw Error(message); +}; +dart.getOwnNamesAndSymbols = function getOwnNamesAndSymbols(obj) { + let names = dart.getOwnPropertyNames(obj); + let symbols = dart.getOwnPropertySymbols(obj); + return names.concat(symbols); +}; +dart.safeGetOwnProperty = function safeGetOwnProperty(obj, name) { + if (obj.hasOwnProperty(name)) return obj[name]; +}; +dart.copyTheseProperties = function copyTheseProperties(to, from, names) { + for (let i = 0, n = names.length; i < n; i = i + 1) { + let name = names[i]; + if (dart.equals(name, "constructor")) continue; + dart.copyProperty(to, from, name); + } + return to; +}; +dart.copyProperty = function copyProperty(to, from, name) { + let desc = dart.getOwnPropertyDescriptor(from, name); + if (name == Symbol.iterator) { + let existing = dart.getOwnPropertyDescriptor(to, name); + if (existing != null) { + if (existing.writable) { + to[name] = desc.value; + } + return; + } + } + dart.defineProperty(to, name, desc); +}; +dart.export = function exportProperty(to, from, name) { + return dart.copyProperty(to, from, name); +}; +dart.copyProperties = function copyProperties(to, from) { + return dart.copyTheseProperties(to, from, dart.getOwnNamesAndSymbols(from)); +}; +dart._polyfilled = Symbol("_polyfilled"); +dart.global = (function() { + var globalState = typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : null; + if (!globalState) { + globalState = new Function('return this;')(); + } + dart.polyfill(globalState); + if (globalState.Error) { + globalState.Error.stackTraceLimit = Infinity; + } + let settings = 'ddcSettings' in globalState ? globalState.ddcSettings : {}; + dart.trackProfile('trackProfile' in settings ? settings.trackProfile : false); + return globalState; +})(); +dart.JsSymbol = Symbol; +dart.libraryPrototype = dart.library; +dart.startAsyncSynchronously = true; +dart._cacheMaps = []; +dart._resetFields = []; +dart.hotRestartIteration = 0; +dart.addAsyncCallback = function() { +}; +dart.removeAsyncCallback = function() { +}; +dart.defineProperty = Object.defineProperty; +dart.defineAccessor = Object.defineProperty; +dart.getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor; +dart.getOwnPropertyNames = Object.getOwnPropertyNames; +dart.getOwnPropertySymbols = Object.getOwnPropertySymbols; +dart.getPrototypeOf = Object.getPrototypeOf; +dart._mixin = Symbol("mixin"); +dart.mixinOn = Symbol("mixinOn"); +dart.implements = Symbol("implements"); +dart._typeArguments = Symbol("typeArguments"); +dart._variances = Symbol("variances"); +dart._originalDeclaration = Symbol("originalDeclaration"); +dart.mixinNew = Symbol("dart.mixinNew"); +dart._constructorSig = Symbol("sigCtor"); +dart._methodSig = Symbol("sigMethod"); +dart._fieldSig = Symbol("sigField"); +dart._getterSig = Symbol("sigGetter"); +dart._setterSig = Symbol("sigSetter"); +dart._staticMethodSig = Symbol("sigStaticMethod"); +dart._staticFieldSig = Symbol("sigStaticField"); +dart._staticGetterSig = Symbol("sigStaticGetter"); +dart._staticSetterSig = Symbol("sigStaticSetter"); +dart._genericTypeCtor = Symbol("genericType"); +dart._libraryUri = Symbol("libraryUri"); +dart._extensionType = Symbol("extensionType"); +dart.dartx = dartx; +dart._extensionMap = new Map(); +dart.isFuture = Symbol("_is_Future"); +dart.isIterable = Symbol("_is_Iterable"); +dart.isList = Symbol("_is_List"); +dart.isMap = Symbol("_is_Map"); +dart.isStream = Symbol("_is_Stream"); +dart.isStreamSubscription = Symbol("_is_StreamSubscription"); +dart.identityEquals = null; +dart._runtimeType = Symbol("_runtimeType"); +dart._moduleName = Symbol("_moduleName"); +dart._loadedModules = new Map(); +dart._loadedPartMaps = new Map(); +dart._loadedSourceMaps = new Map(); +dart._libraries = null; +dart._libraryObjects = null; +dart._parts = null; +dart._weakNullSafetyWarnings = false; +dart._weakNullSafetyErrors = false; +dart._nonNullAsserts = false; +dart._nativeNonNullAsserts = false; +dart.metadata = Symbol("metadata"); +dart._nullComparisonSet = new Set(); +dart._lazyJSTypes = new Map(); +dart._anonymousJSTypes = new Map(); +dart._cachedNullable = Symbol("cachedNullable"); +dart._cachedLegacy = Symbol("cachedLegacy"); +dart._subtypeCache = Symbol("_subtypeCache"); +core.Object = class Object { + constructor() { + throw Error("use `new " + dart.typeName(dart.getReifiedType(this)) + ".new(...)` to create a Dart object"); + } + static is(o) { + return o != null; + } + static as(o) { + return o == null ? dart.as(o, core.Object) : o; + } + _equals(other) { + if (other == null) return false; + return this === other; + } + get hashCode() { + return core.identityHashCode(this); + } + toString() { + return "Instance of '" + dart.typeName(dart.getReifiedType(this)) + "'"; + } + noSuchMethod(invocation) { + if (invocation == null) dart.nullFailed(I[7], 60, 35, "invocation"); + return dart.defaultNoSuchMethod(this, invocation); + } + get runtimeType() { + return dart.wrapType(dart.getReifiedType(this)); + } +}; +(core.Object.new = function() { + ; +}).prototype = core.Object.prototype; +dart.addTypeCaches(core.Object); +dart.setMethodSignature(core.Object, () => ({ + __proto__: Object.create(null), + _equals: dart.fnType(core.bool, [core.Object]), + [$_equals]: dart.fnType(core.bool, [core.Object]), + toString: dart.fnType(core.String, []), + [$toString]: dart.fnType(core.String, []), + noSuchMethod: dart.fnType(dart.dynamic, [core.Invocation]), + [$noSuchMethod]: dart.fnType(dart.dynamic, [core.Invocation]) +})); +dart.setGetterSignature(core.Object, () => ({ + __proto__: Object.create(null), + hashCode: core.int, + [$hashCode]: core.int, + runtimeType: core.Type, + [$runtimeType]: core.Type +})); +dart.setLibraryUri(core.Object, I[8]); +dart.lazyFn(core.Object, () => core.Type); +dart.defineExtensionMethods(core.Object, ['_equals', 'toString', 'noSuchMethod']); +dart.defineExtensionAccessors(core.Object, ['hashCode', 'runtimeType']); +dart.registerExtension("Object", core.Object); +dart.DartType = class DartType extends core.Object { + get name() { + return this[$toString](); + } + is(object) { + return dart.is(object, this); + } + as(object) { + return dart.as(object, this); + } +}; +(dart.DartType.new = function() { + dart.addTypeCaches(this); +}).prototype = dart.DartType.prototype; +dart.addTypeTests(dart.DartType); +dart.addTypeCaches(dart.DartType); +dart.DartType[dart.implements] = () => [core.Type]; +dart.setMethodSignature(dart.DartType, () => ({ + __proto__: dart.getMethods(dart.DartType.__proto__), + is: dart.fnType(core.bool, [dart.dynamic]), + as: dart.fnType(dart.dynamic, [dart.dynamic]) +})); +dart.setGetterSignature(dart.DartType, () => ({ + __proto__: dart.getGetters(dart.DartType.__proto__), + name: core.String +})); +dart.setLibraryUri(dart.DartType, I[9]); +dart.NeverType = class NeverType extends dart.DartType { + toString() { + return "Never"; + } +}; +(dart.NeverType.new = function() { + dart.NeverType.__proto__.new.call(this); + ; +}).prototype = dart.NeverType.prototype; +dart.addTypeTests(dart.NeverType); +dart.addTypeCaches(dart.NeverType); +dart.setLibraryUri(dart.NeverType, I[9]); +dart.defineExtensionMethods(dart.NeverType, ['toString']); +dart.Never = new dart.NeverType.new(); +dart.DynamicType = class DynamicType extends dart.DartType { + toString() { + return "dynamic"; + } + is(object) { + return true; + } + as(object) { + return object; + } +}; +(dart.DynamicType.new = function() { + dart.DynamicType.__proto__.new.call(this); + ; +}).prototype = dart.DynamicType.prototype; +dart.addTypeTests(dart.DynamicType); +dart.addTypeCaches(dart.DynamicType); +dart.setMethodSignature(dart.DynamicType, () => ({ + __proto__: dart.getMethods(dart.DynamicType.__proto__), + as: dart.fnType(dart.nullable(core.Object), [dart.nullable(core.Object)]) +})); +dart.setLibraryUri(dart.DynamicType, I[9]); +dart.defineExtensionMethods(dart.DynamicType, ['toString']); +dart.dynamic = new dart.DynamicType.new(); +dart.VoidType = class VoidType extends dart.DartType { + toString() { + return "void"; + } + is(object) { + return true; + } + as(object) { + return object; + } +}; +(dart.VoidType.new = function() { + dart.VoidType.__proto__.new.call(this); + ; +}).prototype = dart.VoidType.prototype; +dart.addTypeTests(dart.VoidType); +dart.addTypeCaches(dart.VoidType); +dart.setMethodSignature(dart.VoidType, () => ({ + __proto__: dart.getMethods(dart.VoidType.__proto__), + as: dart.fnType(dart.nullable(core.Object), [dart.nullable(core.Object)]) +})); +dart.setLibraryUri(dart.VoidType, I[9]); +dart.defineExtensionMethods(dart.VoidType, ['toString']); +dart.void = new dart.VoidType.new(); +dart.JSObjectType = class JSObjectType extends dart.DartType { + toString() { + return "NativeJavaScriptObject"; + } +}; +(dart.JSObjectType.new = function() { + dart.JSObjectType.__proto__.new.call(this); + ; +}).prototype = dart.JSObjectType.prototype; +dart.addTypeTests(dart.JSObjectType); +dart.addTypeCaches(dart.JSObjectType); +dart.setLibraryUri(dart.JSObjectType, I[9]); +dart.defineExtensionMethods(dart.JSObjectType, ['toString']); +dart.jsobject = new dart.JSObjectType.new(); +dart._typeObject = Symbol("typeObject"); +dart._fnTypeNamedArgMap = new Map(); +dart._fnTypeArrayArgMap = new Map(); +dart._fnTypeTypeMap = new Map(); +dart._fnTypeSmallMap = [new Map(), new Map(), new Map()]; +dart._gFnTypeTypeMap = new Map(); +dart._nullFailedSet = new Set(); +dart._thrownValue = Symbol("_thrownValue"); +dart._jsError = Symbol("_jsError"); +dart._stackTrace = Symbol("_stackTrace"); +dart.DartError = class DartError extends Error { + constructor(error) { + super(); + if (error == null) error = new core.NullThrownError.new(); + this[dart._thrownValue] = error; + if (error != null && typeof error == "object" && error[dart._jsError] == null) { + error[dart._jsError] = this; + } + } + get message() { + return dart.toString(this[dart._thrownValue]); + } +}; +dart.RethrownDartError = class RethrownDartError extends dart.DartError { + constructor(error, stackTrace) { + super(error); + this[dart._stackTrace] = stackTrace; + } + get message() { + return super.message + "\n " + dart.toString(this[dart._stackTrace]) + "\n"; + } +}; +dart.constantMaps = new Map(); +dart.constantSets = new Map(); +dart._immutableSetConstructor = null; +dart._value = Symbol("_value"); +dart.constants = new Map(); +dart.constantLists = new Map(); +dart.identityHashCode_ = Symbol("_identityHashCode"); +dart.JsIterator = class JsIterator { + constructor(dartIterator) { + this.dartIterator = dartIterator; + } + next() { + let i = this.dartIterator; + let done = !i.moveNext(); + return {done: done, value: done ? void 0 : i.current}; + } +}; +dart.deferredImports = new Map(); +dart.defineLazy(dart, { + /*dart._assertInteropExpando*/get _assertInteropExpando() { + return new (T$.ExpandoOfFunction()).new(); + }, + set _assertInteropExpando(_) {}, + /*dart.bottom*/get bottom() { + return core.Null; + }, + /*dart._typeVariablePool*/get _typeVariablePool() { + return T$.JSArrayOfTypeVariable().of([]); + } +}, false); +var _rawJSType = dart.privateName(dart, "_rawJSType"); +var _getRawJSTypeFn$ = dart.privateName(dart, "_getRawJSTypeFn"); +var _dartName$ = dart.privateName(dart, "_dartName"); +var _getRawJSType = dart.privateName(dart, "_getRawJSType"); +dart.LazyJSType = class LazyJSType extends dart.DartType { + toString() { + let raw = this[_getRawJSType](); + return raw != null ? dart.typeName(raw) : "JSObject<" + this[_dartName$] + ">"; + } + [_getRawJSType]() { + let raw = this[_rawJSType]; + if (raw != null) return raw; + try { + raw = this[_getRawJSTypeFn$](); + } catch (e$) { + let e = dart.getThrown(e$); + if (core.Object.is(e)) { + } else + throw e$; + } + if (raw == null) { + dart._warn("Cannot find native JavaScript type (" + this[_dartName$] + ") for type check"); + } else { + this[_rawJSType] = raw; + dart._resetFields.push(() => this[_rawJSType] = null); + } + return raw; + } + rawJSTypeForCheck() { + let t1; + t1 = this[_getRawJSType](); + return t1 == null ? dart.jsobject : t1; + } + is(obj) { + return obj != null && (dart._isJsObject(obj) || dart.isSubtypeOf(dart.getReifiedType(obj), this)); + } + as(obj) { + return this.is(obj) ? obj : dart.castError(obj, this); + } +}; +(dart.LazyJSType.new = function(_getRawJSTypeFn, _dartName) { + if (_getRawJSTypeFn == null) dart.nullFailed(I[5], 211, 19, "_getRawJSTypeFn"); + if (_dartName == null) dart.nullFailed(I[5], 211, 41, "_dartName"); + this[_rawJSType] = null; + this[_getRawJSTypeFn$] = _getRawJSTypeFn; + this[_dartName$] = _dartName; + dart.LazyJSType.__proto__.new.call(this); + ; +}).prototype = dart.LazyJSType.prototype; +dart.addTypeTests(dart.LazyJSType); +dart.addTypeCaches(dart.LazyJSType); +dart.setMethodSignature(dart.LazyJSType, () => ({ + __proto__: dart.getMethods(dart.LazyJSType.__proto__), + [_getRawJSType]: dart.fnType(dart.nullable(core.Object), []), + rawJSTypeForCheck: dart.fnType(core.Object, []) +})); +dart.setLibraryUri(dart.LazyJSType, I[9]); +dart.setFieldSignature(dart.LazyJSType, () => ({ + __proto__: dart.getFields(dart.LazyJSType.__proto__), + [_getRawJSTypeFn$]: dart.fieldType(dart.fnType(dart.dynamic, [])), + [_dartName$]: dart.finalFieldType(core.String), + [_rawJSType]: dart.fieldType(dart.nullable(core.Object)) +})); +dart.defineExtensionMethods(dart.LazyJSType, ['toString']); +dart.AnonymousJSType = class AnonymousJSType extends dart.DartType { + toString() { + return this[_dartName$]; + } + is(obj) { + return obj != null && (dart._isJsObject(obj) || dart.isSubtypeOf(dart.getReifiedType(obj), this)); + } + as(obj) { + return dart.test(this.is(obj)) ? obj : dart.castError(obj, this); + } +}; +(dart.AnonymousJSType.new = function(_dartName) { + if (_dartName == null) dart.nullFailed(I[5], 257, 24, "_dartName"); + this[_dartName$] = _dartName; + dart.AnonymousJSType.__proto__.new.call(this); + ; +}).prototype = dart.AnonymousJSType.prototype; +dart.addTypeTests(dart.AnonymousJSType); +dart.addTypeCaches(dart.AnonymousJSType); +dart.setLibraryUri(dart.AnonymousJSType, I[9]); +dart.setFieldSignature(dart.AnonymousJSType, () => ({ + __proto__: dart.getFields(dart.AnonymousJSType.__proto__), + [_dartName$]: dart.finalFieldType(core.String) +})); +dart.defineExtensionMethods(dart.AnonymousJSType, ['toString']); +var type$ = dart.privateName(dart, "NullableType.type"); +dart.NullableType = class NullableType extends dart.DartType { + get type() { + return this[type$]; + } + set type(value) { + super.type = value; + } + get name() { + return this.type instanceof dart.FunctionType ? "(" + dart.str(this.type) + ")?" : dart.str(this.type) + "?"; + } + toString() { + return this.name; + } + is(obj) { + return obj == null || this.type.is(obj); + } + as(obj) { + return obj == null || this.type.is(obj) ? obj : dart.as(obj, this); + } +}; +(dart.NullableType.new = function(type) { + this[type$] = type; + dart.NullableType.__proto__.new.call(this); + ; +}).prototype = dart.NullableType.prototype; +dart.addTypeTests(dart.NullableType); +dart.addTypeCaches(dart.NullableType); +dart.setLibraryUri(dart.NullableType, I[9]); +dart.setFieldSignature(dart.NullableType, () => ({ + __proto__: dart.getFields(dart.NullableType.__proto__), + type: dart.finalFieldType(core.Type) +})); +dart.defineExtensionMethods(dart.NullableType, ['toString']); +var type$0 = dart.privateName(dart, "LegacyType.type"); +dart.LegacyType = class LegacyType extends dart.DartType { + get type() { + return this[type$0]; + } + set type(value) { + super.type = value; + } + get name() { + return dart.str(this.type); + } + toString() { + return this.name; + } + is(obj) { + if (obj == null) { + return this.type === core.Object || this.type === dart.Never; + } + return this.type.is(obj); + } + as(obj) { + return obj == null || this.type.is(obj) ? obj : dart.as(obj, this); + } +}; +(dart.LegacyType.new = function(type) { + this[type$0] = type; + dart.LegacyType.__proto__.new.call(this); + ; +}).prototype = dart.LegacyType.prototype; +dart.addTypeTests(dart.LegacyType); +dart.addTypeCaches(dart.LegacyType); +dart.setLibraryUri(dart.LegacyType, I[9]); +dart.setFieldSignature(dart.LegacyType, () => ({ + __proto__: dart.getFields(dart.LegacyType.__proto__), + type: dart.finalFieldType(core.Type) +})); +dart.defineExtensionMethods(dart.LegacyType, ['toString']); +dart.BottomType = class BottomType extends dart.DartType { + toString() { + return "bottom"; + } +}; +(dart.BottomType.new = function() { + dart.BottomType.__proto__.new.call(this); + ; +}).prototype = dart.BottomType.prototype; +dart.addTypeTests(dart.BottomType); +dart.addTypeCaches(dart.BottomType); +dart.setLibraryUri(dart.BottomType, I[9]); +dart.defineExtensionMethods(dart.BottomType, ['toString']); +core.Type = class Type extends core.Object {}; +(core.Type.new = function() { + ; +}).prototype = core.Type.prototype; +dart.addTypeTests(core.Type); +dart.addTypeCaches(core.Type); +dart.setLibraryUri(core.Type, I[8]); +dart._Type = class _Type extends core.Type { + toString() { + return dart.typeName(this[_type$]); + } + get runtimeType() { + return dart.wrapType(core.Type); + } +}; +(dart._Type.new = function(_type) { + if (_type == null) dart.nullFailed(I[5], 496, 14, "_type"); + this[_type$] = _type; + ; +}).prototype = dart._Type.prototype; +dart.addTypeTests(dart._Type); +dart.addTypeCaches(dart._Type); +dart.setLibraryUri(dart._Type, I[9]); +dart.setFieldSignature(dart._Type, () => ({ + __proto__: dart.getFields(dart._Type.__proto__), + [_type$]: dart.finalFieldType(core.Object) +})); +dart.defineExtensionMethods(dart._Type, ['toString']); +dart.defineExtensionAccessors(dart._Type, ['runtimeType']); +dart.AbstractFunctionType = class AbstractFunctionType extends dart.DartType {}; +(dart.AbstractFunctionType.new = function() { + dart.AbstractFunctionType.__proto__.new.call(this); + ; +}).prototype = dart.AbstractFunctionType.prototype; +dart.addTypeTests(dart.AbstractFunctionType); +dart.addTypeCaches(dart.AbstractFunctionType); +dart.setLibraryUri(dart.AbstractFunctionType, I[9]); +var returnType$ = dart.privateName(dart, "FunctionType.returnType"); +var args$ = dart.privateName(dart, "FunctionType.args"); +var optionals$ = dart.privateName(dart, "FunctionType.optionals"); +var named$ = dart.privateName(dart, "FunctionType.named"); +var requiredNamed$ = dart.privateName(dart, "FunctionType.requiredNamed"); +var _stringValue = dart.privateName(dart, "_stringValue"); +var _createNameMap = dart.privateName(dart, "_createNameMap"); +dart.FunctionType = class FunctionType extends dart.AbstractFunctionType { + get returnType() { + return this[returnType$]; + } + set returnType(value) { + super.returnType = value; + } + get args() { + return this[args$]; + } + set args(value) { + super.args = value; + } + get optionals() { + return this[optionals$]; + } + set optionals(value) { + super.optionals = value; + } + get named() { + return this[named$]; + } + set named(value) { + super.named = value; + } + get requiredNamed() { + return this[requiredNamed$]; + } + set requiredNamed(value) { + super.requiredNamed = value; + } + static create(returnType, args, optionalArgs, requiredNamedArgs) { + if (args == null) dart.nullFailed(I[5], 753, 24, "args"); + let noOptionalArgs = optionalArgs == null && requiredNamedArgs == null; + if (noOptionalArgs && args.length < 3) { + return dart._createSmall(returnType, args); + } + args = dart._canonicalizeArray(args, dart._fnTypeArrayArgMap); + let keys = []; + let create = null; + if (noOptionalArgs) { + keys = [returnType, args]; + create = () => new dart.FunctionType.new(core.Type.as(returnType), args, [], {}, {}); + } else if (optionalArgs instanceof Array) { + let optionals = dart._canonicalizeArray(optionalArgs, dart._fnTypeArrayArgMap); + keys = [returnType, args, optionals]; + create = () => new dart.FunctionType.new(core.Type.as(returnType), args, optionals, {}, {}); + } else { + let named = dart._canonicalizeNamed(optionalArgs, dart._fnTypeNamedArgMap); + let requiredNamed = dart._canonicalizeNamed(requiredNamedArgs, dart._fnTypeNamedArgMap); + keys = [returnType, args, named, requiredNamed]; + create = () => new dart.FunctionType.new(core.Type.as(returnType), args, [], named, requiredNamed); + } + return dart._memoizeArray(dart._fnTypeTypeMap, keys, create); + } + toString() { + return this.name; + } + get requiredParameterCount() { + return this.args[$length]; + } + get positionalParameterCount() { + return dart.notNull(this.args[$length]) + dart.notNull(this.optionals[$length]); + } + getPositionalParameter(i) { + if (i == null) dart.nullFailed(I[5], 792, 30, "i"); + let n = this.args[$length]; + return dart.notNull(i) < dart.notNull(n) ? this.args[$_get](i) : this.optionals[$_get](dart.notNull(i) + dart.notNull(n)); + } + [_createNameMap](names) { + if (names == null) dart.nullFailed(I[5], 798, 52, "names"); + let result = new (T$.IdentityMapOfString$Object()).new(); + names.sort(); + for (let i = 0; i < names.length; i = i + 1) { + let name = names[i]; + result[$_set](name, this.named[name]); + } + return result; + } + getNamedParameters() { + return this[_createNameMap](dart.getOwnPropertyNames(this.named)[$toList]()); + } + getRequiredNamedParameters() { + return this[_createNameMap](dart.getOwnPropertyNames(this.requiredNamed)[$toList]()); + } + get name() { + if (this[_stringValue] != null) return dart.nullCheck(this[_stringValue]); + let buffer = "("; + for (let i = 0; i < this.args.length; i = i + 1) { + if (i > 0) { + buffer = buffer + ", "; + } + buffer = buffer + dart.typeName(this.args[i]); + } + if (this.optionals.length > 0) { + if (this.args.length > 0) buffer = buffer + ", "; + buffer = buffer + "["; + for (let i = 0; i < this.optionals.length; i = i + 1) { + if (i > 0) { + buffer = buffer + ", "; + } + buffer = buffer + dart.typeName(this.optionals[i]); + } + buffer = buffer + "]"; + } else if (Object.keys(this.named).length > 0 || Object.keys(this.requiredNamed).length > 0) { + if (this.args.length > 0) buffer = buffer + ", "; + buffer = buffer + "{"; + let names = dart.getOwnPropertyNames(this.named); + names.sort(); + for (let i = 0; i < names.length; i = i + 1) { + if (i > 0) { + buffer = buffer + ", "; + } + let typeNameString = dart.typeName(this.named[names[i]]); + buffer = buffer + (typeNameString + " " + dart.str(names[i])); + } + if (Object.keys(this.requiredNamed).length > 0 && names.length > 0) buffer = buffer + ", "; + names = dart.getOwnPropertyNames(this.requiredNamed); + names.sort(); + for (let i = 0; i < names.length; i = i + 1) { + if (i > 0) { + buffer = buffer + ", "; + } + let typeNameString = dart.typeName(this.requiredNamed[names[i]]); + buffer = buffer + ("required " + typeNameString + " " + dart.str(names[i])); + } + buffer = buffer + "}"; + } + let returnTypeName = dart.typeName(this.returnType); + buffer = buffer + (") => " + returnTypeName); + this[_stringValue] = buffer; + return buffer; + } + is(obj) { + if (typeof obj == "function") { + let actual = obj[dart._runtimeType]; + return actual == null || dart.isSubtypeOf(actual, this); + } + return false; + } + as(obj) { + if (dart.test(this.is(obj))) return obj; + return dart.as(obj, this); + } +}; +(dart.FunctionType.new = function(returnType, args, optionals, named, requiredNamed) { + if (returnType == null) dart.nullFailed(I[5], 784, 21, "returnType"); + if (args == null) dart.nullFailed(I[5], 784, 38, "args"); + if (optionals == null) dart.nullFailed(I[5], 784, 49, "optionals"); + this[_stringValue] = null; + this[returnType$] = returnType; + this[args$] = args; + this[optionals$] = optionals; + this[named$] = named; + this[requiredNamed$] = requiredNamed; + dart.FunctionType.__proto__.new.call(this); + ; +}).prototype = dart.FunctionType.prototype; +dart.addTypeTests(dart.FunctionType); +dart.addTypeCaches(dart.FunctionType); +dart.setMethodSignature(dart.FunctionType, () => ({ + __proto__: dart.getMethods(dart.FunctionType.__proto__), + getPositionalParameter: dart.fnType(dart.dynamic, [core.int]), + [_createNameMap]: dart.fnType(core.Map$(core.String, core.Object), [core.List$(dart.nullable(core.Object))]), + getNamedParameters: dart.fnType(core.Map$(core.String, core.Object), []), + getRequiredNamedParameters: dart.fnType(core.Map$(core.String, core.Object), []) +})); +dart.setGetterSignature(dart.FunctionType, () => ({ + __proto__: dart.getGetters(dart.FunctionType.__proto__), + requiredParameterCount: core.int, + positionalParameterCount: core.int +})); +dart.setLibraryUri(dart.FunctionType, I[9]); +dart.setFieldSignature(dart.FunctionType, () => ({ + __proto__: dart.getFields(dart.FunctionType.__proto__), + returnType: dart.finalFieldType(core.Type), + args: dart.finalFieldType(core.List), + optionals: dart.finalFieldType(core.List), + named: dart.finalFieldType(dart.dynamic), + requiredNamed: dart.finalFieldType(dart.dynamic), + [_stringValue]: dart.fieldType(dart.nullable(core.String)) +})); +dart.defineExtensionMethods(dart.FunctionType, ['toString']); +var name$ = dart.privateName(dart, "TypeVariable.name"); +dart.TypeVariable = class TypeVariable extends dart.DartType { + get name() { + return this[name$]; + } + set name(value) { + super.name = value; + } + toString() { + return this.name; + } +}; +(dart.TypeVariable.new = function(name) { + if (name == null) dart.nullFailed(I[5], 893, 21, "name"); + this[name$] = name; + dart.TypeVariable.__proto__.new.call(this); + ; +}).prototype = dart.TypeVariable.prototype; +dart.addTypeTests(dart.TypeVariable); +dart.addTypeCaches(dart.TypeVariable); +dart.setLibraryUri(dart.TypeVariable, I[9]); +dart.setFieldSignature(dart.TypeVariable, () => ({ + __proto__: dart.getFields(dart.TypeVariable.__proto__), + name: dart.finalFieldType(core.String) +})); +dart.defineExtensionMethods(dart.TypeVariable, ['toString']); +dart.Variance = class Variance extends core.Object {}; +(dart.Variance.new = function() { + ; +}).prototype = dart.Variance.prototype; +dart.addTypeTests(dart.Variance); +dart.addTypeCaches(dart.Variance); +dart.setLibraryUri(dart.Variance, I[9]); +dart.defineLazy(dart.Variance, { + /*dart.Variance.unrelated*/get unrelated() { + return 0; + }, + /*dart.Variance.covariant*/get covariant() { + return 1; + }, + /*dart.Variance.contravariant*/get contravariant() { + return 2; + }, + /*dart.Variance.invariant*/get invariant() { + return 3; + } +}, false); +var typeFormals$ = dart.privateName(dart, "GenericFunctionTypeIdentifier.typeFormals"); +var typeBounds$ = dart.privateName(dart, "GenericFunctionTypeIdentifier.typeBounds"); +var $function$ = dart.privateName(dart, "GenericFunctionTypeIdentifier.function"); +dart.GenericFunctionTypeIdentifier = class GenericFunctionTypeIdentifier extends dart.AbstractFunctionType { + get typeFormals() { + return this[typeFormals$]; + } + set typeFormals(value) { + super.typeFormals = value; + } + get typeBounds() { + return this[typeBounds$]; + } + set typeBounds(value) { + super.typeBounds = value; + } + get function() { + return this[$function$]; + } + set function(value) { + super.function = value; + } + toString() { + if (this[_stringValue] != null) return dart.nullCheck(this[_stringValue]); + let s = "<"; + let typeFormals = this.typeFormals; + let typeBounds = this.typeBounds; + for (let i = 0, n = core.int.as(dart.dload(typeFormals, 'length')); i < dart.notNull(n); i = i + 1) { + if (i !== 0) s = s + ", "; + s = s + typeFormals[i].name; + let bound = dart.dsend(typeBounds, '_get', [i]); + if (bound === dart.dynamic || bound === dart.nullable(core.Object) || !false && bound === core.Object) { + continue; + } + s = s + (" extends " + dart.str(bound)); + } + s = s + (">" + dart.notNull(dart.toString(this.function))); + return this[_stringValue] = s; + } +}; +(dart.GenericFunctionTypeIdentifier.new = function(typeFormals, typeBounds, $function) { + if ($function == null) dart.nullFailed(I[5], 916, 47, "function"); + this[_stringValue] = null; + this[typeFormals$] = typeFormals; + this[typeBounds$] = typeBounds; + this[$function$] = $function; + dart.GenericFunctionTypeIdentifier.__proto__.new.call(this); + ; +}).prototype = dart.GenericFunctionTypeIdentifier.prototype; +dart.addTypeTests(dart.GenericFunctionTypeIdentifier); +dart.addTypeCaches(dart.GenericFunctionTypeIdentifier); +dart.setLibraryUri(dart.GenericFunctionTypeIdentifier, I[9]); +dart.setFieldSignature(dart.GenericFunctionTypeIdentifier, () => ({ + __proto__: dart.getFields(dart.GenericFunctionTypeIdentifier.__proto__), + typeFormals: dart.finalFieldType(dart.dynamic), + typeBounds: dart.finalFieldType(dart.dynamic), + function: dart.finalFieldType(dart.FunctionType), + [_stringValue]: dart.fieldType(dart.nullable(core.String)) +})); +dart.defineExtensionMethods(dart.GenericFunctionTypeIdentifier, ['toString']); +var formalCount = dart.privateName(dart, "GenericFunctionType.formalCount"); +var _instantiateTypeBounds$ = dart.privateName(dart, "_instantiateTypeBounds"); +var _instantiateTypeParts = dart.privateName(dart, "_instantiateTypeParts"); +var _typeFormals = dart.privateName(dart, "_typeFormals"); +dart.GenericFunctionType = class GenericFunctionType extends dart.AbstractFunctionType { + get formalCount() { + return this[formalCount]; + } + set formalCount(value) { + super.formalCount = value; + } + get typeFormals() { + return this[_typeFormals]; + } + get hasTypeBounds() { + return this[_instantiateTypeBounds$] != null; + } + checkBounds(typeArgs) { + if (typeArgs == null) dart.nullFailed(I[5], 964, 33, "typeArgs"); + if (!dart.test(this.hasTypeBounds)) return; + let bounds = this.instantiateTypeBounds(typeArgs); + let typeFormals = this.typeFormals; + for (let i = 0; i < dart.notNull(typeArgs[$length]); i = i + 1) { + dart.checkTypeBound(typeArgs[$_get](i), bounds[$_get](i), typeFormals[$_get](i).name); + } + } + instantiate(typeArgs) { + let parts = this[_instantiateTypeParts].apply(null, typeArgs); + return dart.FunctionType.create(parts[0], parts[1], parts[2], parts[3]); + } + instantiateTypeBounds(typeArgs) { + if (typeArgs == null) dart.nullFailed(I[5], 982, 43, "typeArgs"); + if (!dart.test(this.hasTypeBounds)) { + return T$.ListOfObject().filled(this.formalCount, dart.legacy(core.Object)); + } + return this[_instantiateTypeBounds$].apply(null, typeArgs); + } + toString() { + let s = "<"; + let typeFormals = this.typeFormals; + let typeBounds = this.instantiateTypeBounds(typeFormals); + for (let i = 0, n = typeFormals[$length]; i < dart.notNull(n); i = i + 1) { + if (i !== 0) s = s + ", "; + s = s + typeFormals[i].name; + let bound = typeBounds[$_get](i); + if (bound !== dart.dynamic && bound !== core.Object) { + s = s + (" extends " + dart.str(bound)); + } + } + s = s + (">" + dart.notNull(dart.toString(this.instantiate(typeFormals)))); + return s; + } + instantiateDefaultBounds() { + function defaultsToDynamic(type) { + if (type === dart.dynamic) return true; + if (type instanceof dart.NullableType || !false && type instanceof dart.LegacyType) { + return type.type === core.Object; + } + return false; + } + let typeFormals = this.typeFormals; + let all = new (T$.IdentityMapOfTypeVariable$int()).new(); + let defaults = T$.ListOfObjectN().filled(typeFormals[$length], null); + let partials = new (T$.IdentityMapOfTypeVariable$Object()).new(); + let typeBounds = this.instantiateTypeBounds(typeFormals); + for (let i = 0; i < dart.notNull(typeFormals[$length]); i = i + 1) { + let typeFormal = typeFormals[$_get](i); + let bound = typeBounds[$_get](i); + all[$_set](typeFormal, i); + if (dart.test(defaultsToDynamic(bound))) { + defaults[$_set](i, dart.dynamic); + } else { + defaults[$_set](i, typeFormal); + partials[$_set](typeFormal, bound); + } + } + function hasFreeFormal(t) { + if (dart.test(partials[$containsKey](t))) return true; + if (t instanceof dart.LegacyType || t instanceof dart.NullableType) { + return hasFreeFormal(t.type); + } + let typeArgs = dart.getGenericArgs(t); + if (typeArgs != null) return typeArgs[$any](hasFreeFormal); + if (dart.GenericFunctionType.is(t)) { + return hasFreeFormal(t.instantiate(t.typeFormals)); + } + if (dart.FunctionType.is(t)) { + return dart.test(hasFreeFormal(t.returnType)) || dart.test(t.args[$any](hasFreeFormal)); + } + return false; + } + let hasProgress = true; + while (hasProgress) { + hasProgress = false; + for (let typeFormal of partials[$keys]) { + let partialBound = dart.nullCheck(partials[$_get](typeFormal)); + if (!dart.test(hasFreeFormal(partialBound))) { + let index = dart.nullCheck(all[$_get](typeFormal)); + defaults[$_set](index, this.instantiateTypeBounds(defaults)[$_get](index)); + partials[$remove](typeFormal); + hasProgress = true; + break; + } + } + } + if (dart.test(partials[$isNotEmpty])) { + dart.throwTypeError("Instantiate to bounds failed for type with " + "recursive generic bounds: " + dart.typeName(this) + ". " + "Try passing explicit type arguments."); + } + return defaults; + } + is(obj) { + if (typeof obj == "function") { + let actual = obj[dart._runtimeType]; + return actual != null && dart.isSubtypeOf(actual, this); + } + return false; + } + as(obj) { + if (this.is(obj)) return obj; + return dart.as(obj, this); + } +}; +(dart.GenericFunctionType.new = function(instantiateTypeParts, _instantiateTypeBounds) { + this[_instantiateTypeBounds$] = _instantiateTypeBounds; + this[_instantiateTypeParts] = instantiateTypeParts; + this[formalCount] = instantiateTypeParts.length; + this[_typeFormals] = dart._typeFormalsFromFunction(instantiateTypeParts); + dart.GenericFunctionType.__proto__.new.call(this); + ; +}).prototype = dart.GenericFunctionType.prototype; +dart.addTypeTests(dart.GenericFunctionType); +dart.addTypeCaches(dart.GenericFunctionType); +dart.setMethodSignature(dart.GenericFunctionType, () => ({ + __proto__: dart.getMethods(dart.GenericFunctionType.__proto__), + checkBounds: dart.fnType(dart.void, [core.List$(core.Object)]), + instantiate: dart.fnType(dart.FunctionType, [dart.dynamic]), + instantiateTypeBounds: dart.fnType(core.List$(core.Object), [core.List]), + instantiateDefaultBounds: dart.fnType(core.List, []) +})); +dart.setGetterSignature(dart.GenericFunctionType, () => ({ + __proto__: dart.getGetters(dart.GenericFunctionType.__proto__), + typeFormals: core.List$(dart.TypeVariable), + hasTypeBounds: core.bool +})); +dart.setLibraryUri(dart.GenericFunctionType, I[9]); +dart.setFieldSignature(dart.GenericFunctionType, () => ({ + __proto__: dart.getFields(dart.GenericFunctionType.__proto__), + [_instantiateTypeParts]: dart.finalFieldType(dart.dynamic), + formalCount: dart.finalFieldType(core.int), + [_instantiateTypeBounds$]: dart.finalFieldType(dart.dynamic), + [_typeFormals]: dart.finalFieldType(core.List$(dart.TypeVariable)) +})); +dart.defineExtensionMethods(dart.GenericFunctionType, ['toString']); +var _typeVariables = dart.privateName(dart, "_typeVariables"); +var _isSubtypeMatch = dart.privateName(dart, "_isSubtypeMatch"); +var _constrainLower = dart.privateName(dart, "_constrainLower"); +var _constrainUpper = dart.privateName(dart, "_constrainUpper"); +var _isFunctionSubtypeMatch = dart.privateName(dart, "_isFunctionSubtypeMatch"); +var _isInterfaceSubtypeMatch = dart.privateName(dart, "_isInterfaceSubtypeMatch"); +var _isTop$ = dart.privateName(dart, "_isTop"); +dart._TypeInferrer = class _TypeInferrer extends core.Object { + getInferredTypes() { + let result = T$.JSArrayOfObject().of([]); + for (let constraint of this[_typeVariables][$values]) { + if (constraint.lower != null) { + result[$add](dart.nullCheck(constraint.lower)); + } else if (constraint.upper != null) { + result[$add](dart.nullCheck(constraint.upper)); + } else { + return null; + } + } + return result; + } + trySubtypeMatch(subtype, supertype) { + if (subtype == null) dart.nullFailed(I[5], 1722, 31, "subtype"); + if (supertype == null) dart.nullFailed(I[5], 1722, 47, "supertype"); + return this[_isSubtypeMatch](subtype, supertype); + } + [_constrainLower](parameter, lower) { + if (parameter == null) dart.nullFailed(I[5], 1725, 37, "parameter"); + if (lower == null) dart.nullFailed(I[5], 1725, 55, "lower"); + dart.nullCheck(this[_typeVariables][$_get](parameter))[_constrainLower](lower); + } + [_constrainUpper](parameter, upper) { + if (parameter == null) dart.nullFailed(I[5], 1729, 37, "parameter"); + if (upper == null) dart.nullFailed(I[5], 1729, 55, "upper"); + dart.nullCheck(this[_typeVariables][$_get](parameter))[_constrainUpper](upper); + } + [_isFunctionSubtypeMatch](subtype, supertype) { + let t7; + if (subtype == null) dart.nullFailed(I[5], 1733, 45, "subtype"); + if (supertype == null) dart.nullFailed(I[5], 1733, 67, "supertype"); + if (dart.notNull(subtype.requiredParameterCount) > dart.notNull(supertype.requiredParameterCount)) { + return false; + } + if (dart.notNull(subtype.positionalParameterCount) < dart.notNull(supertype.positionalParameterCount)) { + return false; + } + if (!dart.VoidType.is(supertype.returnType) && !dart.test(this[_isSubtypeMatch](subtype.returnType, supertype.returnType))) { + return false; + } + for (let i = 0, n = supertype.positionalParameterCount; i < dart.notNull(n); i = i + 1) { + if (!dart.test(this[_isSubtypeMatch](core.Object.as(supertype.getPositionalParameter(i)), core.Object.as(subtype.getPositionalParameter(i))))) { + return false; + } + } + let supertypeNamed = supertype.getNamedParameters(); + let supertypeRequiredNamed = supertype.getRequiredNamedParameters(); + let subtypeNamed = supertype.getNamedParameters(); + let subtypeRequiredNamed = supertype.getRequiredNamedParameters(); + if (!false) { + supertypeNamed = (() => { + let t1 = new (T$.IdentityMapOfString$Object()).new(); + for (let t2 of supertypeNamed[$entries]) + t1[$_set](t2.key, t2.value); + for (let t3 of supertypeRequiredNamed[$entries]) + t1[$_set](t3.key, t3.value); + return t1; + })(); + subtypeNamed = (() => { + let t4 = new (T$.IdentityMapOfString$Object()).new(); + for (let t5 of subtypeNamed[$entries]) + t4[$_set](t5.key, t5.value); + for (let t6 of subtypeRequiredNamed[$entries]) + t4[$_set](t6.key, t6.value); + return t4; + })(); + supertypeRequiredNamed = new (T$.IdentityMapOfString$Object()).new(); + subtypeRequiredNamed = new (T$.IdentityMapOfString$Object()).new(); + } + for (let name of subtypeRequiredNamed[$keys]) { + let supertypeParamType = supertypeRequiredNamed[$_get](name); + if (supertypeParamType == null) return false; + } + for (let name of supertypeNamed[$keys]) { + let subtypeParamType = subtypeNamed[$_get](name); + if (subtypeParamType == null) return false; + if (!dart.test(this[_isSubtypeMatch](dart.nullCheck(supertypeNamed[$_get](name)), subtypeParamType))) { + return false; + } + } + for (let name of supertypeRequiredNamed[$keys]) { + let subtypeParamType = (t7 = subtypeRequiredNamed[$_get](name), t7 == null ? dart.nullCheck(subtypeNamed[$_get](name)) : t7); + if (!dart.test(this[_isSubtypeMatch](dart.nullCheck(supertypeRequiredNamed[$_get](name)), subtypeParamType))) { + return false; + } + } + return true; + } + [_isInterfaceSubtypeMatch](subtype, supertype) { + if (subtype == null) dart.nullFailed(I[5], 1809, 40, "subtype"); + if (supertype == null) dart.nullFailed(I[5], 1809, 56, "supertype"); + let matchingSupertype = dart._getMatchingSupertype(subtype, supertype); + if (matchingSupertype == null) return false; + let matchingTypeArgs = dart.nullCheck(dart.getGenericArgs(matchingSupertype)); + let supertypeTypeArgs = dart.nullCheck(dart.getGenericArgs(supertype)); + for (let i = 0; i < dart.notNull(supertypeTypeArgs[$length]); i = i + 1) { + if (!dart.test(this[_isSubtypeMatch](core.Object.as(matchingTypeArgs[$_get](i)), core.Object.as(supertypeTypeArgs[$_get](i))))) { + return false; + } + } + return true; + } + [_isSubtypeMatch](subtype, supertype) { + if (subtype == null) dart.nullFailed(I[5], 1853, 31, "subtype"); + if (supertype == null) dart.nullFailed(I[5], 1853, 47, "supertype"); + if (dart.TypeVariable.is(subtype) && dart.test(this[_typeVariables][$containsKey](subtype))) { + this[_constrainUpper](subtype, supertype); + return true; + } + if (dart.TypeVariable.is(supertype) && dart.test(this[_typeVariables][$containsKey](supertype))) { + this[_constrainLower](supertype, subtype); + return true; + } + if (core.identical(subtype, supertype)) return true; + if (dart.test(this[_isTop$](supertype))) return true; + if (subtype === core.Null) return true; + if (dart._isFutureOr(subtype)) { + let subtypeArg = dart.nullCheck(dart.getGenericArgs(subtype))[$_get](0); + if (dart._isFutureOr(supertype)) { + let supertypeArg = dart.nullCheck(dart.getGenericArgs(supertype))[$_get](0); + return this[_isSubtypeMatch](core.Object.as(subtypeArg), core.Object.as(supertypeArg)); + } + let subtypeFuture = async.Future$(subtypeArg); + return dart.test(this[_isSubtypeMatch](subtypeFuture, supertype)) && dart.test(this[_isSubtypeMatch](core.Object.as(dart.nullCheck(subtypeArg)), supertype)); + } + if (dart._isFutureOr(supertype)) { + let supertypeArg = dart.nullCheck(dart.getGenericArgs(supertype))[$_get](0); + let supertypeFuture = async.Future$(supertypeArg); + return dart.test(this[_isSubtypeMatch](subtype, supertypeFuture)) || dart.test(this[_isSubtypeMatch](subtype, core.Object.as(supertypeArg))); + } + if (dart.TypeVariable.is(subtype)) { + return dart.TypeVariable.is(supertype) && subtype == supertype; + } + if (dart.GenericFunctionType.is(subtype)) { + if (dart.GenericFunctionType.is(supertype)) { + let formalCount = subtype.formalCount; + if (formalCount != supertype.formalCount) return false; + let fresh = supertype.typeFormals; + let t1Bounds = subtype.instantiateTypeBounds(fresh); + let t2Bounds = supertype.instantiateTypeBounds(fresh); + for (let i = 0; i < dart.notNull(formalCount); i = i + 1) { + if (!dart.test(this[_isSubtypeMatch](t2Bounds[$_get](i), t1Bounds[$_get](i)))) { + return false; + } + } + return this[_isFunctionSubtypeMatch](subtype.instantiate(fresh), supertype.instantiate(fresh)); + } else { + return false; + } + } else if (dart.GenericFunctionType.is(supertype)) { + return false; + } + if (dart.FunctionType.is(subtype)) { + if (!dart.FunctionType.is(supertype)) { + if (supertype === core.Function || supertype === core.Object) { + return true; + } else { + return false; + } + } + if (dart.FunctionType.is(supertype)) { + return this[_isFunctionSubtypeMatch](subtype, supertype); + } + } + return this[_isInterfaceSubtypeMatch](subtype, supertype); + } + [_isTop$](type) { + if (type == null) dart.nullFailed(I[5], 1996, 22, "type"); + return core.identical(type, dart.dynamic) || core.identical(type, dart.void) || type === core.Object; + } +}; +(dart._TypeInferrer.new = function(typeVariables) { + if (typeVariables == null) dart.nullFailed(I[5], 1697, 40, "typeVariables"); + this[_typeVariables] = T$.LinkedHashMapOfTypeVariable$TypeConstraint().fromIterables(typeVariables, typeVariables[$map](dart.TypeConstraint, _ => { + if (_ == null) dart.nullFailed(I[5], 1699, 47, "_"); + return new dart.TypeConstraint.new(); + })); + ; +}).prototype = dart._TypeInferrer.prototype; +dart.addTypeTests(dart._TypeInferrer); +dart.addTypeCaches(dart._TypeInferrer); +dart.setMethodSignature(dart._TypeInferrer, () => ({ + __proto__: dart.getMethods(dart._TypeInferrer.__proto__), + getInferredTypes: dart.fnType(dart.nullable(core.List$(core.Object)), []), + trySubtypeMatch: dart.fnType(core.bool, [core.Object, core.Object]), + [_constrainLower]: dart.fnType(dart.void, [dart.TypeVariable, core.Object]), + [_constrainUpper]: dart.fnType(dart.void, [dart.TypeVariable, core.Object]), + [_isFunctionSubtypeMatch]: dart.fnType(core.bool, [dart.FunctionType, dart.FunctionType]), + [_isInterfaceSubtypeMatch]: dart.fnType(core.bool, [core.Object, core.Object]), + [_isSubtypeMatch]: dart.fnType(core.bool, [core.Object, core.Object]), + [_isTop$]: dart.fnType(core.bool, [core.Object]) +})); +dart.setLibraryUri(dart._TypeInferrer, I[9]); +dart.setFieldSignature(dart._TypeInferrer, () => ({ + __proto__: dart.getFields(dart._TypeInferrer.__proto__), + [_typeVariables]: dart.finalFieldType(core.Map$(dart.TypeVariable, dart.TypeConstraint)) +})); +var lower = dart.privateName(dart, "TypeConstraint.lower"); +var upper = dart.privateName(dart, "TypeConstraint.upper"); +dart.TypeConstraint = class TypeConstraint extends core.Object { + get lower() { + return this[lower]; + } + set lower(value) { + this[lower] = value; + } + get upper() { + return this[upper]; + } + set upper(value) { + this[upper] = value; + } + [_constrainLower](type) { + if (type == null) dart.nullFailed(I[5], 2012, 31, "type"); + let _lower = this.lower; + if (_lower != null) { + if (dart.isSubtypeOf(_lower, type)) { + return; + } + if (!dart.isSubtypeOf(type, _lower)) { + type = core.Null; + } + } + this.lower = type; + } + [_constrainUpper](type) { + if (type == null) dart.nullFailed(I[5], 2027, 31, "type"); + let _upper = this.upper; + if (_upper != null) { + if (dart.isSubtypeOf(type, _upper)) { + return; + } + if (!dart.isSubtypeOf(_upper, type)) { + type = core.Object; + } + } + this.upper = type; + } + toString() { + return dart.typeName(this.lower) + " <: <: " + dart.typeName(this.upper); + } +}; +(dart.TypeConstraint.new = function() { + this[lower] = null; + this[upper] = null; + ; +}).prototype = dart.TypeConstraint.prototype; +dart.addTypeTests(dart.TypeConstraint); +dart.addTypeCaches(dart.TypeConstraint); +dart.setMethodSignature(dart.TypeConstraint, () => ({ + __proto__: dart.getMethods(dart.TypeConstraint.__proto__), + [_constrainLower]: dart.fnType(dart.void, [core.Object]), + [_constrainUpper]: dart.fnType(dart.void, [core.Object]) +})); +dart.setLibraryUri(dart.TypeConstraint, I[9]); +dart.setFieldSignature(dart.TypeConstraint, () => ({ + __proto__: dart.getFields(dart.TypeConstraint.__proto__), + lower: dart.fieldType(dart.nullable(core.Object)), + upper: dart.fieldType(dart.nullable(core.Object)) +})); +dart.defineExtensionMethods(dart.TypeConstraint, ['toString']); +var _trace = dart.privateName(dart, "_trace"); +var _jsObjectMissingTrace = dart.privateName(dart, "_jsObjectMissingTrace"); +dart._StackTrace = class _StackTrace extends core.Object { + toString() { + if (this[_trace] != null) return dart.nullCheck(this[_trace]); + let e = this[_jsError$]; + let trace = ""; + if (e != null && typeof e === "object") { + trace = _interceptors.NativeError.is(e) ? e[$dartStack]() : e.stack; + let mapper = _debugger.stackTraceMapper; + if (trace != null && mapper != null) { + trace = mapper(trace); + } + } + if (trace[$isEmpty] || this[_jsObjectMissingTrace] != null) { + let jsToString = null; + try { + jsToString = "" + this[_jsObjectMissingTrace]; + } catch (e$) { + let _ = dart.getThrown(e$); + if (core.Object.is(_)) { + jsToString = ""; + } else + throw e$; + } + trace = "Non-error `" + dart.str(jsToString) + "` thrown by JS does not have stack trace." + "\nCaught in Dart at:\n\n" + dart.str(trace); + } + return this[_trace] = trace; + } +}; +(dart._StackTrace.new = function(_jsError) { + this[_trace] = null; + this[_jsError$] = _jsError; + this[_jsObjectMissingTrace] = null; + ; +}).prototype = dart._StackTrace.prototype; +(dart._StackTrace.missing = function(caughtObj) { + this[_trace] = null; + this[_jsObjectMissingTrace] = caughtObj != null ? caughtObj : "null"; + this[_jsError$] = Error(); + ; +}).prototype = dart._StackTrace.prototype; +dart.addTypeTests(dart._StackTrace); +dart.addTypeCaches(dart._StackTrace); +dart._StackTrace[dart.implements] = () => [core.StackTrace]; +dart.setLibraryUri(dart._StackTrace, I[9]); +dart.setFieldSignature(dart._StackTrace, () => ({ + __proto__: dart.getFields(dart._StackTrace.__proto__), + [_jsError$]: dart.finalFieldType(dart.nullable(core.Object)), + [_jsObjectMissingTrace]: dart.finalFieldType(dart.nullable(core.Object)), + [_trace]: dart.fieldType(dart.nullable(core.String)) +})); +dart.defineExtensionMethods(dart._StackTrace, ['toString']); +var memberName$ = dart.privateName(dart, "InvocationImpl.memberName"); +var positionalArguments$ = dart.privateName(dart, "InvocationImpl.positionalArguments"); +var namedArguments$ = dart.privateName(dart, "InvocationImpl.namedArguments"); +var typeArguments$ = dart.privateName(dart, "InvocationImpl.typeArguments"); +var isMethod$ = dart.privateName(dart, "InvocationImpl.isMethod"); +var isGetter$ = dart.privateName(dart, "InvocationImpl.isGetter"); +var isSetter$ = dart.privateName(dart, "InvocationImpl.isSetter"); +var failureMessage$ = dart.privateName(dart, "InvocationImpl.failureMessage"); +let const$; +let const$0; +dart.defineLazy(CT, { + get C0() { + return C[0] = dart.constList([], T$.TypeL()); + }, + get C1() { + return C[1] = dart.const({ + __proto__: _debugger.JsonMLConfig.prototype, + [name$0]: "none" + }); + }, + get C2() { + return C[2] = dart.const({ + __proto__: _debugger.JsonMLConfig.prototype, + [name$0]: "skipDart" + }); + }, + get C3() { + return C[3] = dart.const({ + __proto__: _debugger.JsonMLConfig.prototype, + [name$0]: "keyToString" + }); + }, + get C4() { + return C[4] = dart.const({ + __proto__: _debugger.JsonMLConfig.prototype, + [name$0]: "asClass" + }); + }, + get C5() { + return C[5] = dart.const({ + __proto__: _debugger.JsonMLConfig.prototype, + [name$0]: "asObject" + }); + }, + get C6() { + return C[6] = dart.const({ + __proto__: _debugger.JsonMLConfig.prototype, + [name$0]: "asMap" + }); + }, + get C7() { + return C[7] = dart.fn(_debugger.getTypeName, T$.dynamicToString()); + }, + get C8() { + return C[8] = dart.const({ + __proto__: _foreign_helper._Rest.prototype + }); + }, + get C9() { + return C[9] = dart.const(new _js_helper.PrivateSymbol.new('_receiver', _receiver)); + }, + get C10() { + return C[10] = dart.const(new _js_helper.PrivateSymbol.new('_arguments', _arguments)); + }, + get C11() { + return C[11] = dart.const(new _js_helper.PrivateSymbol.new('_memberName', _memberName)); + }, + get C12() { + return C[12] = dart.const(new _js_helper.PrivateSymbol.new('_invocation', _invocation)); + }, + get C13() { + return C[13] = dart.const(new _js_helper.PrivateSymbol.new('_namedArguments', _namedArguments)); + }, + get C14() { + return C[14] = dart.const(new _js_helper.PrivateSymbol.new('_hasValue', _hasValue)); + }, + get C15() { + return C[15] = dart.const(new _js_helper.PrivateSymbol.new('_errorExplanation', _errorExplanation)); + }, + get C16() { + return C[16] = dart.const(new _js_helper.PrivateSymbol.new('_errorName', _errorName)); + }, + get C17() { + return C[17] = dart.const({ + __proto__: core.OutOfMemoryError.prototype + }); + }, + get C18() { + return C[18] = dart.fn(collection.ListMixin._compareAny, T$.dynamicAnddynamicToint()); + }, + get C19() { + return C[19] = dart.fn(collection.MapBase._id, T$.ObjectNToObjectN()); + }, + get C20() { + return C[20] = dart.const({ + __proto__: T$.EmptyIteratorOfNeverL().prototype + }); + }, + get C21() { + return C[21] = dart.constList([1, 10, 100, 1000, 10000, 100000, 1000000, 10000000, 100000000, 1000000000, 10000000000.0, 100000000000.0, 1000000000000.0, 10000000000000.0, 100000000000000.0, 1000000000000000.0, 10000000000000000.0, 100000000000000000.0, 1000000000000000000.0, 10000000000000000000.0, 100000000000000000000.0, 1e+21, 1e+22], T$.doubleL()); + }, + get C22() { + return C[22] = dart.fn(_js_helper.Primitives.dateNow, T$.VoidToint()); + }, + get C23() { + return C[23] = dart.const(new _js_helper.PrivateSymbol.new('_receiver', _receiver$1)); + }, + get C24() { + return C[24] = dart.const(new _js_helper.PrivateSymbol.new('_arguments', _arguments$0)); + }, + get C25() { + return C[25] = dart.const(new _js_helper.PrivateSymbol.new('_memberName', _memberName$0)); + }, + get C26() { + return C[26] = dart.const(new _js_helper.PrivateSymbol.new('_invocation', _invocation$0)); + }, + get C27() { + return C[27] = dart.const(new _js_helper.PrivateSymbol.new('_namedArguments', _namedArguments$0)); + }, + get C28() { + return C[28] = dart.applyExtensionForTesting; + }, + get C29() { + return C[29] = dart.fn(_js_helper.assertInterop, T$.ObjectNTovoid()); + }, + get C30() { + return C[30] = dart.fn(_js_helper._matchString, T$.MatchToString()); + }, + get C31() { + return C[31] = dart.fn(_js_helper._stringIdentity, T$.StringToString()); + }, + get C32() { + return C[32] = dart.const({ + __proto__: _js_helper._Patch.prototype + }); + }, + get C33() { + return C[33] = dart.const({ + __proto__: _js_helper._NotNull.prototype + }); + }, + get C34() { + return C[34] = dart.const({ + __proto__: _js_helper._Undefined.prototype + }); + }, + get C35() { + return C[35] = dart.const({ + __proto__: _js_helper._NullCheck.prototype + }); + }, + get C36() { + return C[36] = dart.const({ + __proto__: typed_data.Endian.prototype, + [Endian__littleEndian]: false + }); + }, + get C37() { + return C[37] = dart.fn(async._nullDataHandler, T$.dynamicTovoid()); + }, + get C38() { + return C[38] = dart.fn(async._nullErrorHandler, T$.ObjectAndStackTraceTovoid()); + }, + get C39() { + return C[39] = dart.fn(async._nullDoneHandler, T$.VoidTovoid()); + }, + get C40() { + return C[40] = dart.const({ + __proto__: async._DelayedDone.prototype + }); + }, + get C41() { + return C[41] = dart.fn(async.Future._kTrue, T$.ObjectNTobool()); + }, + get C42() { + return C[42] = async._AsyncRun._scheduleImmediateJSOverride; + }, + get C43() { + return C[43] = async._AsyncRun._scheduleImmediateWithPromise; + }, + get C44() { + return C[44] = dart.const({ + __proto__: async._RootZone.prototype + }); + }, + get C46() { + return C[46] = dart.fn(async._rootRun, T$.ZoneNAndZoneDelegateNAndZone__ToR()); + }, + get C45() { + return C[45] = dart.const({ + __proto__: async._RunNullaryZoneFunction.prototype, + [$function$1]: C[46] || CT.C46, + [zone$0]: C[44] || CT.C44 + }); + }, + get C48() { + return C[48] = dart.fn(async._rootRunUnary, T$.ZoneNAndZoneDelegateNAndZone__ToR$1()); + }, + get C47() { + return C[47] = dart.const({ + __proto__: async._RunUnaryZoneFunction.prototype, + [$function$2]: C[48] || CT.C48, + [zone$1]: C[44] || CT.C44 + }); + }, + get C50() { + return C[50] = dart.fn(async._rootRunBinary, T$.ZoneNAndZoneDelegateNAndZone__ToR$2()); + }, + get C49() { + return C[49] = dart.const({ + __proto__: async._RunBinaryZoneFunction.prototype, + [$function$3]: C[50] || CT.C50, + [zone$2]: C[44] || CT.C44 + }); + }, + get C52() { + return C[52] = dart.fn(async._rootRegisterCallback, T$.ZoneAndZoneDelegateAndZone__ToFn()); + }, + get C51() { + return C[51] = dart.const({ + __proto__: async._RegisterNullaryZoneFunction.prototype, + [$function$4]: C[52] || CT.C52, + [zone$3]: C[44] || CT.C44 + }); + }, + get C54() { + return C[54] = dart.fn(async._rootRegisterUnaryCallback, T$.ZoneAndZoneDelegateAndZone__ToFn$1()); + }, + get C53() { + return C[53] = dart.const({ + __proto__: async._RegisterUnaryZoneFunction.prototype, + [$function$5]: C[54] || CT.C54, + [zone$4]: C[44] || CT.C44 + }); + }, + get C56() { + return C[56] = dart.fn(async._rootRegisterBinaryCallback, T$.ZoneAndZoneDelegateAndZone__ToFn$2()); + }, + get C55() { + return C[55] = dart.const({ + __proto__: async._RegisterBinaryZoneFunction.prototype, + [$function$6]: C[56] || CT.C56, + [zone$5]: C[44] || CT.C44 + }); + }, + get C58() { + return C[58] = dart.fn(async._rootErrorCallback, T$.ZoneAndZoneDelegateAndZone__ToAsyncErrorN()); + }, + get C57() { + return C[57] = dart.const({ + __proto__: T$._ZoneFunctionOfZoneLAndZoneDelegateLAndZoneL__ToLAsyncErrorN().prototype, + [$function$0]: C[58] || CT.C58, + [zone$]: C[44] || CT.C44 + }); + }, + get C60() { + return C[60] = dart.fn(async._rootScheduleMicrotask, T$.ZoneNAndZoneDelegateNAndZone__Tovoid()); + }, + get C59() { + return C[59] = dart.const({ + __proto__: T$._ZoneFunctionOfZoneLAndZoneDelegateLAndZoneL__ToLvoid().prototype, + [$function$0]: C[60] || CT.C60, + [zone$]: C[44] || CT.C44 + }); + }, + get C62() { + return C[62] = dart.fn(async._rootCreateTimer, T$.ZoneAndZoneDelegateAndZone__ToTimer()); + }, + get C61() { + return C[61] = dart.const({ + __proto__: T$._ZoneFunctionOfZoneLAndZoneDelegateLAndZoneL__ToLTimerL().prototype, + [$function$0]: C[62] || CT.C62, + [zone$]: C[44] || CT.C44 + }); + }, + get C64() { + return C[64] = dart.fn(async._rootCreatePeriodicTimer, T$.ZoneAndZoneDelegateAndZone__ToTimer$1()); + }, + get C63() { + return C[63] = dart.const({ + __proto__: T$._ZoneFunctionOfZoneLAndZoneDelegateLAndZoneL__ToLTimerL$1().prototype, + [$function$0]: C[64] || CT.C64, + [zone$]: C[44] || CT.C44 + }); + }, + get C66() { + return C[66] = dart.fn(async._rootPrint, T$.ZoneAndZoneDelegateAndZone__Tovoid$1()); + }, + get C65() { + return C[65] = dart.const({ + __proto__: T$._ZoneFunctionOfZoneLAndZoneDelegateLAndZoneL__ToLvoid$1().prototype, + [$function$0]: C[66] || CT.C66, + [zone$]: C[44] || CT.C44 + }); + }, + get C68() { + return C[68] = dart.fn(async._rootFork, T$.ZoneNAndZoneDelegateNAndZone__ToZone()); + }, + get C67() { + return C[67] = dart.const({ + __proto__: T$._ZoneFunctionOfZoneLAndZoneDelegateLAndZoneL__ToLZoneL().prototype, + [$function$0]: C[68] || CT.C68, + [zone$]: C[44] || CT.C44 + }); + }, + get C70() { + return C[70] = dart.fn(async._rootHandleUncaughtError, T$.ZoneNAndZoneDelegateNAndZone__Tovoid$1()); + }, + get C69() { + return C[69] = dart.const({ + __proto__: T$._ZoneFunctionOfZoneLAndZoneDelegateLAndZoneL__ToLvoid$2().prototype, + [$function$0]: C[70] || CT.C70, + [zone$]: C[44] || CT.C44 + }); + }, + get C71() { + return C[71] = dart.fn(async._startMicrotaskLoop, T$.VoidTovoid()); + }, + get C72() { + return C[72] = dart.fn(async._printToZone, T$.StringTovoid()); + }, + get C73() { + return C[73] = dart.const({ + __proto__: async._ZoneSpecification.prototype, + [fork$]: null, + [print$]: null, + [createPeriodicTimer$]: null, + [createTimer$]: null, + [scheduleMicrotask$]: null, + [errorCallback$]: null, + [registerBinaryCallback$]: null, + [registerUnaryCallback$]: null, + [registerCallback$]: null, + [runBinary$]: null, + [runUnary$]: null, + [run$]: null, + [handleUncaughtError$]: null + }); + }, + get C74() { + return C[74] = dart.hashCode; + }, + get C75() { + return C[75] = dart.fn(core.identityHashCode, T$.ObjectNToint()); + }, + get C76() { + return C[76] = dart.fn(core.identical, T$.ObjectNAndObjectNTobool()); + }, + get C77() { + return C[77] = dart.equals; + }, + get C78() { + return C[78] = dart.fn(core.Comparable.compare, T$0.ComparableAndComparableToint()); + }, + get C79() { + return C[79] = dart.fn(collection._dynamicCompare, T$.dynamicAnddynamicToint()); + }, + get C80() { + return C[80] = dart.const({ + __proto__: convert.AsciiDecoder.prototype, + [_UnicodeSubsetDecoder__subsetMask]: 127, + [_UnicodeSubsetDecoder__allowInvalid]: true + }); + }, + get C81() { + return C[81] = dart.const({ + __proto__: convert.AsciiDecoder.prototype, + [_UnicodeSubsetDecoder__subsetMask]: 127, + [_UnicodeSubsetDecoder__allowInvalid]: false + }); + }, + get C82() { + return C[82] = dart.const({ + __proto__: convert.AsciiEncoder.prototype, + [_UnicodeSubsetEncoder__subsetMask]: 127 + }); + }, + get C83() { + return C[83] = dart.constList([239, 191, 189], T$0.intL()); + }, + get C84() { + return C[84] = dart.const({ + __proto__: convert.Base64Encoder.prototype, + [Base64Encoder__urlSafe]: false + }); + }, + get C85() { + return C[85] = dart.const({ + __proto__: convert.Base64Encoder.prototype, + [Base64Encoder__urlSafe]: true + }); + }, + get C86() { + return C[86] = dart.const({ + __proto__: convert.Base64Decoder.prototype + }); + }, + get C87() { + return C[87] = dart.constList([], T$0.intL()); + }, + get C88() { + return C[88] = dart.const({ + __proto__: convert.HtmlEscapeMode.prototype, + [escapeSlash$]: true, + [escapeApos$]: true, + [escapeQuot$]: true, + [escapeLtGt$]: true, + [_name$2]: "unknown" + }); + }, + get C89() { + return C[89] = dart.const({ + __proto__: convert.HtmlEscapeMode.prototype, + [escapeSlash$]: false, + [escapeApos$]: false, + [escapeQuot$]: true, + [escapeLtGt$]: true, + [_name$2]: "attribute" + }); + }, + get C90() { + return C[90] = dart.const({ + __proto__: convert.HtmlEscapeMode.prototype, + [escapeSlash$]: false, + [escapeApos$]: true, + [escapeQuot$]: false, + [escapeLtGt$]: true, + [_name$2]: "attribute" + }); + }, + get C91() { + return C[91] = dart.const({ + __proto__: convert.HtmlEscapeMode.prototype, + [escapeSlash$]: false, + [escapeApos$]: false, + [escapeQuot$]: false, + [escapeLtGt$]: true, + [_name$2]: "element" + }); + }, + get C92() { + return C[92] = dart.const({ + __proto__: convert.JsonEncoder.prototype, + [JsonEncoder__toEncodable]: null, + [JsonEncoder_indent]: null + }); + }, + get C93() { + return C[93] = dart.const({ + __proto__: convert.JsonDecoder.prototype, + [JsonDecoder__reviver]: null + }); + }, + get C94() { + return C[94] = dart.fn(convert._defaultToEncodable, T$.dynamicTodynamic()); + }, + get C95() { + return C[95] = dart.const({ + __proto__: convert.Latin1Decoder.prototype, + [_UnicodeSubsetDecoder__subsetMask]: 255, + [_UnicodeSubsetDecoder__allowInvalid]: true + }); + }, + get C96() { + return C[96] = dart.const({ + __proto__: convert.Latin1Decoder.prototype, + [_UnicodeSubsetDecoder__subsetMask]: 255, + [_UnicodeSubsetDecoder__allowInvalid]: false + }); + }, + get C97() { + return C[97] = dart.const({ + __proto__: convert.Latin1Encoder.prototype, + [_UnicodeSubsetEncoder__subsetMask]: 255 + }); + }, + get C98() { + return C[98] = dart.constList([65533], T$0.intL()); + }, + get C99() { + return C[99] = dart.const({ + __proto__: convert.Utf8Decoder.prototype, + [Utf8Decoder__allowMalformed]: true + }); + }, + get C100() { + return C[100] = dart.const({ + __proto__: convert.Utf8Decoder.prototype, + [Utf8Decoder__allowMalformed]: false + }); + }, + get C101() { + return C[101] = dart.const({ + __proto__: convert.Utf8Encoder.prototype + }); + }, + get C102() { + return C[102] = dart.const({ + __proto__: convert.AsciiCodec.prototype, + [_allowInvalid]: false + }); + }, + get C103() { + return C[103] = dart.const({ + __proto__: convert.Base64Codec.prototype, + [_encoder]: C[84] || CT.C84 + }); + }, + get C104() { + return C[104] = dart.const({ + __proto__: convert.Base64Codec.prototype, + [_encoder]: C[85] || CT.C85 + }); + }, + get C105() { + return C[105] = dart.const({ + __proto__: convert.HtmlEscape.prototype, + [mode$]: C[88] || CT.C88 + }); + }, + get C106() { + return C[106] = dart.const({ + __proto__: convert.JsonCodec.prototype, + [_toEncodable]: null, + [_reviver]: null + }); + }, + get C107() { + return C[107] = dart.const({ + __proto__: convert.Latin1Codec.prototype, + [_allowInvalid$1]: false + }); + }, + get C108() { + return C[108] = dart.const({ + __proto__: convert.Utf8Codec.prototype, + [_allowMalformed]: false + }); + }, + get C109() { + return C[109] = dart.const({ + __proto__: io.FileMode.prototype, + [_mode$]: 0 + }); + }, + get C110() { + return C[110] = dart.const({ + __proto__: io.FileMode.prototype, + [_mode$]: 1 + }); + }, + get C111() { + return C[111] = dart.const({ + __proto__: io.FileMode.prototype, + [_mode$]: 2 + }); + }, + get C112() { + return C[112] = dart.const({ + __proto__: io.FileMode.prototype, + [_mode$]: 3 + }); + }, + get C113() { + return C[113] = dart.const({ + __proto__: io.FileMode.prototype, + [_mode$]: 4 + }); + }, + get C114() { + return C[114] = dart.const({ + __proto__: io.FileLock.prototype, + [_type$1]: 1 + }); + }, + get C115() { + return C[115] = dart.const({ + __proto__: io.FileLock.prototype, + [_type$1]: 2 + }); + }, + get C116() { + return C[116] = dart.const({ + __proto__: io.FileLock.prototype, + [_type$1]: 3 + }); + }, + get C117() { + return C[117] = dart.const({ + __proto__: io.FileLock.prototype, + [_type$1]: 4 + }); + }, + get C118() { + return C[118] = dart.const({ + __proto__: convert.LineSplitter.prototype + }); + }, + get C119() { + return C[119] = dart.fn(io._FileResourceInfo.getOpenFiles, T$0.dynamicAnddynamicToFutureOfServiceExtensionResponse()); + }, + get C120() { + return C[120] = dart.fn(io._FileResourceInfo.getOpenFileInfoMapByID, T$0.dynamicAnddynamicToFutureOfServiceExtensionResponse()); + }, + get C121() { + return C[121] = dart.constList(["file", "directory", "link", "notFound"], T$.StringL()); + }, + get C122() { + return C[122] = dart.const({ + __proto__: io.FileSystemEntityType.prototype, + [_type$2]: 0 + }); + }, + get C123() { + return C[123] = dart.const({ + __proto__: io.FileSystemEntityType.prototype, + [_type$2]: 1 + }); + }, + get C124() { + return C[124] = dart.const({ + __proto__: io.FileSystemEntityType.prototype, + [_type$2]: 2 + }); + }, + get C125() { + return C[125] = dart.const({ + __proto__: io.FileSystemEntityType.prototype, + [_type$2]: 3 + }); + }, + get C126() { + return C[126] = dart.constList([C[122] || CT.C122, C[123] || CT.C123, C[124] || CT.C124, C[125] || CT.C125], T$0.FileSystemEntityTypeL()); + }, + get C127() { + return C[127] = dart.constList(["---", "--x", "-w-", "-wx", "r--", "r-x", "rw-", "rwx"], T$.StringL()); + }, + get C128() { + return C[128] = dart.fn(io._NetworkProfiling._serviceExtensionHandler, T$0.StringAndMapOfString$StringToFutureOfServiceExtensionResponse()); + }, + get C129() { + return C[129] = dart.const({ + __proto__: io._SocketProfileType.prototype, + [_name$4]: "_SocketProfileType.startTime", + index: 0 + }); + }, + get C130() { + return C[130] = dart.const({ + __proto__: io._SocketProfileType.prototype, + [_name$4]: "_SocketProfileType.endTime", + index: 1 + }); + }, + get C131() { + return C[131] = dart.const({ + __proto__: io._SocketProfileType.prototype, + [_name$4]: "_SocketProfileType.address", + index: 2 + }); + }, + get C132() { + return C[132] = dart.const({ + __proto__: io._SocketProfileType.prototype, + [_name$4]: "_SocketProfileType.port", + index: 3 + }); + }, + get C133() { + return C[133] = dart.const({ + __proto__: io._SocketProfileType.prototype, + [_name$4]: "_SocketProfileType.socketType", + index: 4 + }); + }, + get C134() { + return C[134] = dart.const({ + __proto__: io._SocketProfileType.prototype, + [_name$4]: "_SocketProfileType.readBytes", + index: 5 + }); + }, + get C135() { + return C[135] = dart.const({ + __proto__: io._SocketProfileType.prototype, + [_name$4]: "_SocketProfileType.writeBytes", + index: 6 + }); + }, + get C136() { + return C[136] = dart.constList([C[129] || CT.C129, C[130] || CT.C130, C[131] || CT.C131, C[132] || CT.C132, C[133] || CT.C133, C[134] || CT.C134, C[135] || CT.C135], T$0._SocketProfileTypeL()); + }, + get C138() { + return C[138] = dart.const({ + __proto__: io.ProcessStartMode.prototype, + [_mode$0]: 0 + }); + }, + get C139() { + return C[139] = dart.const({ + __proto__: io.ProcessStartMode.prototype, + [_mode$0]: 1 + }); + }, + get C140() { + return C[140] = dart.const({ + __proto__: io.ProcessStartMode.prototype, + [_mode$0]: 2 + }); + }, + get C141() { + return C[141] = dart.const({ + __proto__: io.ProcessStartMode.prototype, + [_mode$0]: 3 + }); + }, + get C137() { + return C[137] = dart.constList([C[138] || CT.C138, C[139] || CT.C139, C[140] || CT.C140, C[141] || CT.C141], T$0.ProcessStartModeL()); + }, + get C142() { + return C[142] = dart.constList(["normal", "inheritStdio", "detached", "detachedWithStdio"], T$.StringL()); + }, + get C143() { + return C[143] = dart.const({ + __proto__: io.SystemEncoding.prototype + }); + }, + get C144() { + return C[144] = dart.const({ + __proto__: io.ProcessSignal.prototype, + [ProcessSignal__name]: "SIGTERM", + [ProcessSignal__signalNumber]: 15 + }); + }, + get C145() { + return C[145] = dart.const({ + __proto__: io.ProcessSignal.prototype, + [ProcessSignal__name]: "SIGHUP", + [ProcessSignal__signalNumber]: 1 + }); + }, + get C146() { + return C[146] = dart.const({ + __proto__: io.ProcessSignal.prototype, + [ProcessSignal__name]: "SIGINT", + [ProcessSignal__signalNumber]: 2 + }); + }, + get C147() { + return C[147] = dart.const({ + __proto__: io.ProcessSignal.prototype, + [ProcessSignal__name]: "SIGQUIT", + [ProcessSignal__signalNumber]: 3 + }); + }, + get C148() { + return C[148] = dart.const({ + __proto__: io.ProcessSignal.prototype, + [ProcessSignal__name]: "SIGILL", + [ProcessSignal__signalNumber]: 4 + }); + }, + get C149() { + return C[149] = dart.const({ + __proto__: io.ProcessSignal.prototype, + [ProcessSignal__name]: "SIGTRAP", + [ProcessSignal__signalNumber]: 5 + }); + }, + get C150() { + return C[150] = dart.const({ + __proto__: io.ProcessSignal.prototype, + [ProcessSignal__name]: "SIGABRT", + [ProcessSignal__signalNumber]: 6 + }); + }, + get C151() { + return C[151] = dart.const({ + __proto__: io.ProcessSignal.prototype, + [ProcessSignal__name]: "SIGBUS", + [ProcessSignal__signalNumber]: 7 + }); + }, + get C152() { + return C[152] = dart.const({ + __proto__: io.ProcessSignal.prototype, + [ProcessSignal__name]: "SIGFPE", + [ProcessSignal__signalNumber]: 8 + }); + }, + get C153() { + return C[153] = dart.const({ + __proto__: io.ProcessSignal.prototype, + [ProcessSignal__name]: "SIGKILL", + [ProcessSignal__signalNumber]: 9 + }); + }, + get C154() { + return C[154] = dart.const({ + __proto__: io.ProcessSignal.prototype, + [ProcessSignal__name]: "SIGUSR1", + [ProcessSignal__signalNumber]: 10 + }); + }, + get C155() { + return C[155] = dart.const({ + __proto__: io.ProcessSignal.prototype, + [ProcessSignal__name]: "SIGSEGV", + [ProcessSignal__signalNumber]: 11 + }); + }, + get C156() { + return C[156] = dart.const({ + __proto__: io.ProcessSignal.prototype, + [ProcessSignal__name]: "SIGUSR2", + [ProcessSignal__signalNumber]: 12 + }); + }, + get C157() { + return C[157] = dart.const({ + __proto__: io.ProcessSignal.prototype, + [ProcessSignal__name]: "SIGPIPE", + [ProcessSignal__signalNumber]: 13 + }); + }, + get C158() { + return C[158] = dart.const({ + __proto__: io.ProcessSignal.prototype, + [ProcessSignal__name]: "SIGALRM", + [ProcessSignal__signalNumber]: 14 + }); + }, + get C159() { + return C[159] = dart.const({ + __proto__: io.ProcessSignal.prototype, + [ProcessSignal__name]: "SIGCHLD", + [ProcessSignal__signalNumber]: 17 + }); + }, + get C160() { + return C[160] = dart.const({ + __proto__: io.ProcessSignal.prototype, + [ProcessSignal__name]: "SIGCONT", + [ProcessSignal__signalNumber]: 18 + }); + }, + get C161() { + return C[161] = dart.const({ + __proto__: io.ProcessSignal.prototype, + [ProcessSignal__name]: "SIGSTOP", + [ProcessSignal__signalNumber]: 19 + }); + }, + get C162() { + return C[162] = dart.const({ + __proto__: io.ProcessSignal.prototype, + [ProcessSignal__name]: "SIGTSTP", + [ProcessSignal__signalNumber]: 20 + }); + }, + get C163() { + return C[163] = dart.const({ + __proto__: io.ProcessSignal.prototype, + [ProcessSignal__name]: "SIGTTIN", + [ProcessSignal__signalNumber]: 21 + }); + }, + get C164() { + return C[164] = dart.const({ + __proto__: io.ProcessSignal.prototype, + [ProcessSignal__name]: "SIGTTOU", + [ProcessSignal__signalNumber]: 22 + }); + }, + get C165() { + return C[165] = dart.const({ + __proto__: io.ProcessSignal.prototype, + [ProcessSignal__name]: "SIGURG", + [ProcessSignal__signalNumber]: 23 + }); + }, + get C166() { + return C[166] = dart.const({ + __proto__: io.ProcessSignal.prototype, + [ProcessSignal__name]: "SIGXCPU", + [ProcessSignal__signalNumber]: 24 + }); + }, + get C167() { + return C[167] = dart.const({ + __proto__: io.ProcessSignal.prototype, + [ProcessSignal__name]: "SIGXFSZ", + [ProcessSignal__signalNumber]: 25 + }); + }, + get C168() { + return C[168] = dart.const({ + __proto__: io.ProcessSignal.prototype, + [ProcessSignal__name]: "SIGVTALRM", + [ProcessSignal__signalNumber]: 26 + }); + }, + get C169() { + return C[169] = dart.const({ + __proto__: io.ProcessSignal.prototype, + [ProcessSignal__name]: "SIGPROF", + [ProcessSignal__signalNumber]: 27 + }); + }, + get C170() { + return C[170] = dart.const({ + __proto__: io.ProcessSignal.prototype, + [ProcessSignal__name]: "SIGWINCH", + [ProcessSignal__signalNumber]: 28 + }); + }, + get C171() { + return C[171] = dart.const({ + __proto__: io.ProcessSignal.prototype, + [ProcessSignal__name]: "SIGPOLL", + [ProcessSignal__signalNumber]: 29 + }); + }, + get C172() { + return C[172] = dart.const({ + __proto__: io.ProcessSignal.prototype, + [ProcessSignal__name]: "SIGSYS", + [ProcessSignal__signalNumber]: 31 + }); + }, + get C173() { + return C[173] = dart.constList(["RawSocketEvent.read", "RawSocketEvent.write", "RawSocketEvent.readClosed", "RawSocketEvent.closed"], T$.StringL()); + }, + get C174() { + return C[174] = dart.const({ + __proto__: io.RawSocketEvent.prototype, + [_value$]: 0 + }); + }, + get C175() { + return C[175] = dart.const({ + __proto__: io.RawSocketEvent.prototype, + [_value$]: 1 + }); + }, + get C176() { + return C[176] = dart.const({ + __proto__: io.RawSocketEvent.prototype, + [_value$]: 2 + }); + }, + get C177() { + return C[177] = dart.const({ + __proto__: io.RawSocketEvent.prototype, + [_value$]: 3 + }); + }, + get C178() { + return C[178] = dart.constList(["ANY", "IPv4", "IPv6", "Unix"], T$.StringL()); + }, + get C179() { + return C[179] = dart.const({ + __proto__: io.InternetAddressType.prototype, + [_value$1]: 0 + }); + }, + get C180() { + return C[180] = dart.const({ + __proto__: io.InternetAddressType.prototype, + [_value$1]: 1 + }); + }, + get C181() { + return C[181] = dart.const({ + __proto__: io.InternetAddressType.prototype, + [_value$1]: 2 + }); + }, + get C182() { + return C[182] = dart.const({ + __proto__: io.InternetAddressType.prototype, + [_value$1]: -1 + }); + }, + get C183() { + return C[183] = dart.const({ + __proto__: io.SocketDirection.prototype, + [_value$2]: 0 + }); + }, + get C184() { + return C[184] = dart.const({ + __proto__: io.SocketDirection.prototype, + [_value$2]: 1 + }); + }, + get C185() { + return C[185] = dart.const({ + __proto__: io.SocketDirection.prototype, + [_value$2]: 2 + }); + }, + get C186() { + return C[186] = dart.const({ + __proto__: io.SocketOption.prototype, + [_value$3]: 0 + }); + }, + get C187() { + return C[187] = dart.const({ + __proto__: io.SocketOption.prototype, + [_value$3]: 1 + }); + }, + get C188() { + return C[188] = dart.const({ + __proto__: io.SocketOption.prototype, + [_value$3]: 2 + }); + }, + get C189() { + return C[189] = dart.const({ + __proto__: io.SocketOption.prototype, + [_value$3]: 3 + }); + }, + get C190() { + return C[190] = dart.const({ + __proto__: io.SocketOption.prototype, + [_value$3]: 4 + }); + }, + get C191() { + return C[191] = dart.const({ + __proto__: io._RawSocketOptions.prototype, + [_name$4]: "_RawSocketOptions.SOL_SOCKET", + index: 0 + }); + }, + get C192() { + return C[192] = dart.const({ + __proto__: io._RawSocketOptions.prototype, + [_name$4]: "_RawSocketOptions.IPPROTO_IP", + index: 1 + }); + }, + get C193() { + return C[193] = dart.const({ + __proto__: io._RawSocketOptions.prototype, + [_name$4]: "_RawSocketOptions.IP_MULTICAST_IF", + index: 2 + }); + }, + get C194() { + return C[194] = dart.const({ + __proto__: io._RawSocketOptions.prototype, + [_name$4]: "_RawSocketOptions.IPPROTO_IPV6", + index: 3 + }); + }, + get C195() { + return C[195] = dart.const({ + __proto__: io._RawSocketOptions.prototype, + [_name$4]: "_RawSocketOptions.IPV6_MULTICAST_IF", + index: 4 + }); + }, + get C196() { + return C[196] = dart.const({ + __proto__: io._RawSocketOptions.prototype, + [_name$4]: "_RawSocketOptions.IPPROTO_TCP", + index: 5 + }); + }, + get C197() { + return C[197] = dart.const({ + __proto__: io._RawSocketOptions.prototype, + [_name$4]: "_RawSocketOptions.IPPROTO_UDP", + index: 6 + }); + }, + get C198() { + return C[198] = dart.constList([C[191] || CT.C191, C[192] || CT.C192, C[193] || CT.C193, C[194] || CT.C194, C[195] || CT.C195, C[196] || CT.C196, C[197] || CT.C197], T$0._RawSocketOptionsL()); + }, + get C199() { + return C[199] = dart.const({ + __proto__: io.StdioType.prototype, + [name$11]: "terminal" + }); + }, + get C200() { + return C[200] = dart.const({ + __proto__: io.StdioType.prototype, + [name$11]: "pipe" + }); + }, + get C201() { + return C[201] = dart.const({ + __proto__: io.StdioType.prototype, + [name$11]: "file" + }); + }, + get C202() { + return C[202] = dart.const({ + __proto__: io.StdioType.prototype, + [name$11]: "other" + }); + }, + get C203() { + return C[203] = dart.const({ + __proto__: io._WindowsCodePageEncoder.prototype + }); + }, + get C204() { + return C[204] = dart.const({ + __proto__: io._WindowsCodePageDecoder.prototype + }); + }, + get C205() { + return C[205] = dart.constList([1, 2, 3, 4, 0], T$0.intL()); + }, + get C206() { + return C[206] = dart.const({ + __proto__: io.ZLibCodec.prototype, + [dictionary$]: null, + [raw$]: false, + [windowBits$]: 15, + [strategy$]: 0, + [memLevel$]: 8, + [level$]: 6, + [gzip$]: false + }); + }, + get C207() { + return C[207] = dart.const({ + __proto__: io.GZipCodec.prototype, + [raw$0]: false, + [dictionary$0]: null, + [windowBits$0]: 15, + [strategy$0]: 0, + [memLevel$0]: 8, + [level$0]: 6, + [gzip$0]: true + }); + }, + get C208() { + return C[208] = dart.fn(async.runZoned, T$0.Fn__ToR()); + }, + get C209() { + return C[209] = dart.fn(js._convertToJS, T$.ObjectNToObjectN()); + }, + get C210() { + return C[210] = dart.fn(js._wrapDartFunction, T$0.ObjectToObject()); + }, + get C211() { + return C[211] = dart.fn(js._wrapToDartHelper, T$0.ObjectToJsObject()); + }, + get C212() { + return C[212] = dart.const({ + __proto__: math._JSRandom.prototype + }); + }, + get C213() { + return C[213] = dart.const({ + __proto__: typed_data.Endian.prototype, + [Endian__littleEndian]: true + }); + }, + get C214() { + return C[214] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "abort" + }); + }, + get C215() { + return C[215] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "close" + }); + }, + get C216() { + return C[216] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "error" + }); + }, + get C217() { + return C[217] = dart.const({ + __proto__: T$0.EventStreamProviderOfVersionChangeEventL().prototype, + [S.EventStreamProvider__eventType]: "versionchange" + }); + }, + get C218() { + return C[218] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "success" + }); + }, + get C219() { + return C[219] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "blocked" + }); + }, + get C220() { + return C[220] = dart.const({ + __proto__: T$0.EventStreamProviderOfVersionChangeEventL().prototype, + [S.EventStreamProvider__eventType]: "upgradeneeded" + }); + }, + get C221() { + return C[221] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "complete" + }); + }, + get C222() { + return C[222] = dart.const({ + __proto__: _js_helper.Creates.prototype, + [types$0]: "JSExtendableArray|=Object|num|String" + }); + }, + get C223() { + return C[223] = dart.const({ + __proto__: _js_helper.Returns.prototype, + [types$1]: "JSExtendableArray|=Object|num|String" + }); + }, + get C224() { + return C[224] = dart.fn(html_common.convertDartToNative_Dictionary, T$0.MapNAndFnTodynamic()); + }, + get C226() { + return C[226] = dart.fn(html$.Element._determineMouseWheelEventType, T$0.EventTargetToString()); + }, + get C225() { + return C[225] = dart.const({ + __proto__: T$0._CustomEventStreamProviderOfWheelEventL().prototype, + [S$._CustomEventStreamProvider__eventTypeGetter]: C[226] || CT.C226 + }); + }, + get C228() { + return C[228] = dart.fn(html$.Element._determineTransitionEventType, T$0.EventTargetToString()); + }, + get C227() { + return C[227] = dart.const({ + __proto__: T$0._CustomEventStreamProviderOfTransitionEventL().prototype, + [S$._CustomEventStreamProvider__eventTypeGetter]: C[228] || CT.C228 + }); + }, + get C229() { + return C[229] = dart.constList(["HEAD", "AREA", "BASE", "BASEFONT", "BR", "COL", "COLGROUP", "EMBED", "FRAME", "FRAMESET", "HR", "IMAGE", "IMG", "INPUT", "ISINDEX", "LINK", "META", "PARAM", "SOURCE", "STYLE", "TITLE", "WBR"], T$.StringL()); + }, + get C230() { + return C[230] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "beforecopy" + }); + }, + get C231() { + return C[231] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "beforecut" + }); + }, + get C232() { + return C[232] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "beforepaste" + }); + }, + get C233() { + return C[233] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "blur" + }); + }, + get C234() { + return C[234] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "canplay" + }); + }, + get C235() { + return C[235] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "canplaythrough" + }); + }, + get C236() { + return C[236] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "change" + }); + }, + get C237() { + return C[237] = dart.const({ + __proto__: T$0.EventStreamProviderOfMouseEventL().prototype, + [S.EventStreamProvider__eventType]: "click" + }); + }, + get C238() { + return C[238] = dart.const({ + __proto__: T$0.EventStreamProviderOfMouseEventL().prototype, + [S.EventStreamProvider__eventType]: "contextmenu" + }); + }, + get C239() { + return C[239] = dart.const({ + __proto__: T$0.EventStreamProviderOfClipboardEventL().prototype, + [S.EventStreamProvider__eventType]: "copy" + }); + }, + get C240() { + return C[240] = dart.const({ + __proto__: T$0.EventStreamProviderOfClipboardEventL().prototype, + [S.EventStreamProvider__eventType]: "cut" + }); + }, + get C241() { + return C[241] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "dblclick" + }); + }, + get C242() { + return C[242] = dart.const({ + __proto__: T$0.EventStreamProviderOfMouseEventL().prototype, + [S.EventStreamProvider__eventType]: "drag" + }); + }, + get C243() { + return C[243] = dart.const({ + __proto__: T$0.EventStreamProviderOfMouseEventL().prototype, + [S.EventStreamProvider__eventType]: "dragend" + }); + }, + get C244() { + return C[244] = dart.const({ + __proto__: T$0.EventStreamProviderOfMouseEventL().prototype, + [S.EventStreamProvider__eventType]: "dragenter" + }); + }, + get C245() { + return C[245] = dart.const({ + __proto__: T$0.EventStreamProviderOfMouseEventL().prototype, + [S.EventStreamProvider__eventType]: "dragleave" + }); + }, + get C246() { + return C[246] = dart.const({ + __proto__: T$0.EventStreamProviderOfMouseEventL().prototype, + [S.EventStreamProvider__eventType]: "dragover" + }); + }, + get C247() { + return C[247] = dart.const({ + __proto__: T$0.EventStreamProviderOfMouseEventL().prototype, + [S.EventStreamProvider__eventType]: "dragstart" + }); + }, + get C248() { + return C[248] = dart.const({ + __proto__: T$0.EventStreamProviderOfMouseEventL().prototype, + [S.EventStreamProvider__eventType]: "drop" + }); + }, + get C249() { + return C[249] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "durationchange" + }); + }, + get C250() { + return C[250] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "emptied" + }); + }, + get C251() { + return C[251] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "ended" + }); + }, + get C252() { + return C[252] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "focus" + }); + }, + get C253() { + return C[253] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "input" + }); + }, + get C254() { + return C[254] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "invalid" + }); + }, + get C255() { + return C[255] = dart.const({ + __proto__: T$0.EventStreamProviderOfKeyboardEventL().prototype, + [S.EventStreamProvider__eventType]: "keydown" + }); + }, + get C256() { + return C[256] = dart.const({ + __proto__: T$0.EventStreamProviderOfKeyboardEventL().prototype, + [S.EventStreamProvider__eventType]: "keypress" + }); + }, + get C257() { + return C[257] = dart.const({ + __proto__: T$0.EventStreamProviderOfKeyboardEventL().prototype, + [S.EventStreamProvider__eventType]: "keyup" + }); + }, + get C258() { + return C[258] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "load" + }); + }, + get C259() { + return C[259] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "loadeddata" + }); + }, + get C260() { + return C[260] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "loadedmetadata" + }); + }, + get C261() { + return C[261] = dart.const({ + __proto__: T$0.EventStreamProviderOfMouseEventL().prototype, + [S.EventStreamProvider__eventType]: "mousedown" + }); + }, + get C262() { + return C[262] = dart.const({ + __proto__: T$0.EventStreamProviderOfMouseEventL().prototype, + [S.EventStreamProvider__eventType]: "mouseenter" + }); + }, + get C263() { + return C[263] = dart.const({ + __proto__: T$0.EventStreamProviderOfMouseEventL().prototype, + [S.EventStreamProvider__eventType]: "mouseleave" + }); + }, + get C264() { + return C[264] = dart.const({ + __proto__: T$0.EventStreamProviderOfMouseEventL().prototype, + [S.EventStreamProvider__eventType]: "mousemove" + }); + }, + get C265() { + return C[265] = dart.const({ + __proto__: T$0.EventStreamProviderOfMouseEventL().prototype, + [S.EventStreamProvider__eventType]: "mouseout" + }); + }, + get C266() { + return C[266] = dart.const({ + __proto__: T$0.EventStreamProviderOfMouseEventL().prototype, + [S.EventStreamProvider__eventType]: "mouseover" + }); + }, + get C267() { + return C[267] = dart.const({ + __proto__: T$0.EventStreamProviderOfMouseEventL().prototype, + [S.EventStreamProvider__eventType]: "mouseup" + }); + }, + get C268() { + return C[268] = dart.const({ + __proto__: T$0.EventStreamProviderOfClipboardEventL().prototype, + [S.EventStreamProvider__eventType]: "paste" + }); + }, + get C269() { + return C[269] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "pause" + }); + }, + get C270() { + return C[270] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "play" + }); + }, + get C271() { + return C[271] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "playing" + }); + }, + get C272() { + return C[272] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "ratechange" + }); + }, + get C273() { + return C[273] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "reset" + }); + }, + get C274() { + return C[274] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "resize" + }); + }, + get C275() { + return C[275] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "scroll" + }); + }, + get C276() { + return C[276] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "search" + }); + }, + get C277() { + return C[277] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "seeked" + }); + }, + get C278() { + return C[278] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "seeking" + }); + }, + get C279() { + return C[279] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "select" + }); + }, + get C280() { + return C[280] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "selectstart" + }); + }, + get C281() { + return C[281] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "stalled" + }); + }, + get C282() { + return C[282] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "submit" + }); + }, + get C283() { + return C[283] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "suspend" + }); + }, + get C284() { + return C[284] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "timeupdate" + }); + }, + get C285() { + return C[285] = dart.const({ + __proto__: T$0.EventStreamProviderOfTouchEventL().prototype, + [S.EventStreamProvider__eventType]: "touchcancel" + }); + }, + get C286() { + return C[286] = dart.const({ + __proto__: T$0.EventStreamProviderOfTouchEventL().prototype, + [S.EventStreamProvider__eventType]: "touchend" + }); + }, + get C287() { + return C[287] = dart.const({ + __proto__: T$0.EventStreamProviderOfTouchEventL().prototype, + [S.EventStreamProvider__eventType]: "touchenter" + }); + }, + get C288() { + return C[288] = dart.const({ + __proto__: T$0.EventStreamProviderOfTouchEventL().prototype, + [S.EventStreamProvider__eventType]: "touchleave" + }); + }, + get C289() { + return C[289] = dart.const({ + __proto__: T$0.EventStreamProviderOfTouchEventL().prototype, + [S.EventStreamProvider__eventType]: "touchmove" + }); + }, + get C290() { + return C[290] = dart.const({ + __proto__: T$0.EventStreamProviderOfTouchEventL().prototype, + [S.EventStreamProvider__eventType]: "touchstart" + }); + }, + get C291() { + return C[291] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "volumechange" + }); + }, + get C292() { + return C[292] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "waiting" + }); + }, + get C293() { + return C[293] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "webkitfullscreenchange" + }); + }, + get C294() { + return C[294] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "webkitfullscreenerror" + }); + }, + get C295() { + return C[295] = dart.const({ + __proto__: T$0.EventStreamProviderOfWheelEventL().prototype, + [S.EventStreamProvider__eventType]: "wheel" + }); + }, + get C296() { + return C[296] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "accessibleclick" + }); + }, + get C297() { + return C[297] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "accessiblecontextmenu" + }); + }, + get C298() { + return C[298] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "accessibledecrement" + }); + }, + get C299() { + return C[299] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "accessiblefocus" + }); + }, + get C300() { + return C[300] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "accessibleincrement" + }); + }, + get C301() { + return C[301] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "accessiblescrollintoview" + }); + }, + get C302() { + return C[302] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "cancel" + }); + }, + get C303() { + return C[303] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "finish" + }); + }, + get C304() { + return C[304] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "cached" + }); + }, + get C305() { + return C[305] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "checking" + }); + }, + get C306() { + return C[306] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "downloading" + }); + }, + get C307() { + return C[307] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "noupdate" + }); + }, + get C308() { + return C[308] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "obsolete" + }); + }, + get C309() { + return C[309] = dart.const({ + __proto__: T$0.EventStreamProviderOfProgressEventL().prototype, + [S.EventStreamProvider__eventType]: "progress" + }); + }, + get C310() { + return C[310] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "updateready" + }); + }, + get C311() { + return C[311] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "hashchange" + }); + }, + get C312() { + return C[312] = dart.const({ + __proto__: T$0.EventStreamProviderOfMessageEventL().prototype, + [S.EventStreamProvider__eventType]: "message" + }); + }, + get C313() { + return C[313] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "offline" + }); + }, + get C314() { + return C[314] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "online" + }); + }, + get C315() { + return C[315] = dart.const({ + __proto__: T$0.EventStreamProviderOfPopStateEventL().prototype, + [S.EventStreamProvider__eventType]: "popstate" + }); + }, + get C316() { + return C[316] = dart.const({ + __proto__: T$0.EventStreamProviderOfStorageEventL().prototype, + [S.EventStreamProvider__eventType]: "storage" + }); + }, + get C317() { + return C[317] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "unload" + }); + }, + get C318() { + return C[318] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "mute" + }); + }, + get C319() { + return C[319] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "unmute" + }); + }, + get C320() { + return C[320] = dart.const({ + __proto__: T$0.EventStreamProviderOfContextEventL().prototype, + [S.EventStreamProvider__eventType]: "webglcontextlost" + }); + }, + get C321() { + return C[321] = dart.const({ + __proto__: T$0.EventStreamProviderOfContextEventL().prototype, + [S.EventStreamProvider__eventType]: "webglcontextrestored" + }); + }, + get C322() { + return C[322] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "pointerlockchange" + }); + }, + get C323() { + return C[323] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "pointerlockerror" + }); + }, + get C324() { + return C[324] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "readystatechange" + }); + }, + get C325() { + return C[325] = dart.const({ + __proto__: T$0.EventStreamProviderOfSecurityPolicyViolationEventL().prototype, + [S.EventStreamProvider__eventType]: "securitypolicyviolation" + }); + }, + get C326() { + return C[326] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "selectionchange" + }); + }, + get C327() { + return C[327] = dart.const({ + __proto__: html$.ScrollAlignment.prototype, + [S$1._value$6]: "TOP" + }); + }, + get C328() { + return C[328] = dart.const({ + __proto__: html$.ScrollAlignment.prototype, + [S$1._value$6]: "CENTER" + }); + }, + get C329() { + return C[329] = dart.const({ + __proto__: html$.ScrollAlignment.prototype, + [S$1._value$6]: "BOTTOM" + }); + }, + get C330() { + return C[330] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "open" + }); + }, + get C331() { + return C[331] = dart.const({ + __proto__: T$0.EventStreamProviderOfProgressEventL().prototype, + [S.EventStreamProvider__eventType]: "abort" + }); + }, + get C332() { + return C[332] = dart.const({ + __proto__: T$0.EventStreamProviderOfProgressEventL().prototype, + [S.EventStreamProvider__eventType]: "error" + }); + }, + get C333() { + return C[333] = dart.const({ + __proto__: T$0.EventStreamProviderOfProgressEventL().prototype, + [S.EventStreamProvider__eventType]: "load" + }); + }, + get C334() { + return C[334] = dart.const({ + __proto__: T$0.EventStreamProviderOfProgressEventL().prototype, + [S.EventStreamProvider__eventType]: "loadend" + }); + }, + get C335() { + return C[335] = dart.const({ + __proto__: T$0.EventStreamProviderOfProgressEventL().prototype, + [S.EventStreamProvider__eventType]: "loadstart" + }); + }, + get C336() { + return C[336] = dart.const({ + __proto__: T$0.EventStreamProviderOfProgressEventL().prototype, + [S.EventStreamProvider__eventType]: "write" + }); + }, + get C337() { + return C[337] = dart.const({ + __proto__: T$0.EventStreamProviderOfProgressEventL().prototype, + [S.EventStreamProvider__eventType]: "writeend" + }); + }, + get C338() { + return C[338] = dart.const({ + __proto__: T$0.EventStreamProviderOfProgressEventL().prototype, + [S.EventStreamProvider__eventType]: "writestart" + }); + }, + get C339() { + return C[339] = dart.const({ + __proto__: T$0.EventStreamProviderOfFontFaceSetLoadEventL().prototype, + [S.EventStreamProvider__eventType]: "loading" + }); + }, + get C340() { + return C[340] = dart.const({ + __proto__: T$0.EventStreamProviderOfFontFaceSetLoadEventL().prototype, + [S.EventStreamProvider__eventType]: "loadingdone" + }); + }, + get C341() { + return C[341] = dart.const({ + __proto__: T$0.EventStreamProviderOfFontFaceSetLoadEventL().prototype, + [S.EventStreamProvider__eventType]: "loadingerror" + }); + }, + get C342() { + return C[342] = dart.const({ + __proto__: T$0.EventStreamProviderOfWheelEventL().prototype, + [S.EventStreamProvider__eventType]: "mousewheel" + }); + }, + get C344() { + return C[344] = dart.fn(html$.HtmlDocument._determineVisibilityChangeEventType, T$0.EventTargetToString()); + }, + get C343() { + return C[343] = dart.const({ + __proto__: T$0._CustomEventStreamProviderOfEventL().prototype, + [S$._CustomEventStreamProvider__eventTypeGetter]: C[344] || CT.C344 + }); + }, + get C345() { + return C[345] = dart.const({ + __proto__: T$0.EventStreamProviderOfProgressEventL().prototype, + [S.EventStreamProvider__eventType]: "timeout" + }); + }, + get C346() { + return C[346] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "addtrack" + }); + }, + get C347() { + return C[347] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "removetrack" + }); + }, + get C348() { + return C[348] = dart.constList([], T$0.MessagePortL()); + }, + get C349() { + return C[349] = dart.const({ + __proto__: T$0.EventStreamProviderOfMidiMessageEventL().prototype, + [S.EventStreamProvider__eventType]: "midimessage" + }); + }, + get C350() { + return C[350] = dart.constMap(T$.StringL(), T$0.boolL(), ["childList", true, "attributes", true, "characterData", true, "subtree", true, "attributeOldValue", true, "characterDataOldValue", true]); + }, + get C351() { + return C[351] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "click" + }); + }, + get C352() { + return C[352] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "show" + }); + }, + get C353() { + return C[353] = dart.const({ + __proto__: T$0.EventStreamProviderOfRtcDtmfToneChangeEventL().prototype, + [S.EventStreamProvider__eventType]: "tonechange" + }); + }, + get C354() { + return C[354] = dart.const({ + __proto__: T$0.EventStreamProviderOfMediaStreamEventL().prototype, + [S.EventStreamProvider__eventType]: "addstream" + }); + }, + get C355() { + return C[355] = dart.const({ + __proto__: T$0.EventStreamProviderOfRtcDataChannelEventL().prototype, + [S.EventStreamProvider__eventType]: "datachannel" + }); + }, + get C356() { + return C[356] = dart.const({ + __proto__: T$0.EventStreamProviderOfRtcPeerConnectionIceEventL().prototype, + [S.EventStreamProvider__eventType]: "icecandidate" + }); + }, + get C357() { + return C[357] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "iceconnectionstatechange" + }); + }, + get C358() { + return C[358] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "negotiationneeded" + }); + }, + get C359() { + return C[359] = dart.const({ + __proto__: T$0.EventStreamProviderOfMediaStreamEventL().prototype, + [S.EventStreamProvider__eventType]: "removestream" + }); + }, + get C360() { + return C[360] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "signalingstatechange" + }); + }, + get C361() { + return C[361] = dart.const({ + __proto__: T$0.EventStreamProviderOfRtcTrackEventL().prototype, + [S.EventStreamProvider__eventType]: "track" + }); + }, + get C362() { + return C[362] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "activate" + }); + }, + get C363() { + return C[363] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "fetch" + }); + }, + get C364() { + return C[364] = dart.const({ + __proto__: T$0.EventStreamProviderOfForeignFetchEventL().prototype, + [S.EventStreamProvider__eventType]: "foreignfetch" + }); + }, + get C365() { + return C[365] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "install" + }); + }, + get C366() { + return C[366] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "connect" + }); + }, + get C367() { + return C[367] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "audioend" + }); + }, + get C368() { + return C[368] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "audiostart" + }); + }, + get C369() { + return C[369] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "end" + }); + }, + get C370() { + return C[370] = dart.const({ + __proto__: T$0.EventStreamProviderOfSpeechRecognitionErrorL().prototype, + [S.EventStreamProvider__eventType]: "error" + }); + }, + get C371() { + return C[371] = dart.const({ + __proto__: T$0.EventStreamProviderOfSpeechRecognitionEventL().prototype, + [S.EventStreamProvider__eventType]: "nomatch" + }); + }, + get C372() { + return C[372] = dart.const({ + __proto__: T$0.EventStreamProviderOfSpeechRecognitionEventL().prototype, + [S.EventStreamProvider__eventType]: "result" + }); + }, + get C373() { + return C[373] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "soundend" + }); + }, + get C374() { + return C[374] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "soundstart" + }); + }, + get C375() { + return C[375] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "speechend" + }); + }, + get C376() { + return C[376] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "speechstart" + }); + }, + get C377() { + return C[377] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "start" + }); + }, + get C378() { + return C[378] = dart.const({ + __proto__: T$0.EventStreamProviderOfSpeechSynthesisEventL().prototype, + [S.EventStreamProvider__eventType]: "boundary" + }); + }, + get C379() { + return C[379] = dart.const({ + __proto__: T$0.EventStreamProviderOfSpeechSynthesisEventL().prototype, + [S.EventStreamProvider__eventType]: "end" + }); + }, + get C380() { + return C[380] = dart.const({ + __proto__: T$0.EventStreamProviderOfSpeechSynthesisEventL().prototype, + [S.EventStreamProvider__eventType]: "mark" + }); + }, + get C381() { + return C[381] = dart.const({ + __proto__: T$0.EventStreamProviderOfSpeechSynthesisEventL().prototype, + [S.EventStreamProvider__eventType]: "resume" + }); + }, + get C382() { + return C[382] = dart.const({ + __proto__: T$0.EventStreamProviderOfSpeechSynthesisEventL().prototype, + [S.EventStreamProvider__eventType]: "start" + }); + }, + get C383() { + return C[383] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "cuechange" + }); + }, + get C384() { + return C[384] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "enter" + }); + }, + get C385() { + return C[385] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "exit" + }); + }, + get C386() { + return C[386] = dart.const({ + __proto__: T$0.EventStreamProviderOfTrackEventL().prototype, + [S.EventStreamProvider__eventType]: "addtrack" + }); + }, + get C387() { + return C[387] = dart.const({ + __proto__: T$0.EventStreamProviderOfCloseEventL().prototype, + [S.EventStreamProvider__eventType]: "close" + }); + }, + get C388() { + return C[388] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "DOMContentLoaded" + }); + }, + get C389() { + return C[389] = dart.const({ + __proto__: T$0.EventStreamProviderOfDeviceMotionEventL().prototype, + [S.EventStreamProvider__eventType]: "devicemotion" + }); + }, + get C390() { + return C[390] = dart.const({ + __proto__: T$0.EventStreamProviderOfDeviceOrientationEventL().prototype, + [S.EventStreamProvider__eventType]: "deviceorientation" + }); + }, + get C391() { + return C[391] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "loadstart" + }); + }, + get C392() { + return C[392] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "pagehide" + }); + }, + get C393() { + return C[393] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "pageshow" + }); + }, + get C394() { + return C[394] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "progress" + }); + }, + get C395() { + return C[395] = dart.const({ + __proto__: T$0.EventStreamProviderOfAnimationEventL().prototype, + [S.EventStreamProvider__eventType]: "webkitAnimationEnd" + }); + }, + get C396() { + return C[396] = dart.const({ + __proto__: T$0.EventStreamProviderOfAnimationEventL().prototype, + [S.EventStreamProvider__eventType]: "webkitAnimationIteration" + }); + }, + get C397() { + return C[397] = dart.const({ + __proto__: T$0.EventStreamProviderOfAnimationEventL().prototype, + [S.EventStreamProvider__eventType]: "webkitAnimationStart" + }); + }, + get C398() { + return C[398] = dart.const({ + __proto__: html$._BeforeUnloadEventStreamProvider.prototype, + [S$3._BeforeUnloadEventStreamProvider__eventType]: "beforeunload" + }); + }, + get C399() { + return C[399] = dart.fn(html$._Html5NodeValidator._standardAttributeValidator, T$0.ElementAndStringAndString__Tobool()); + }, + get C400() { + return C[400] = dart.fn(html$._Html5NodeValidator._uriAttributeValidator, T$0.ElementAndStringAndString__Tobool()); + }, + get C401() { + return C[401] = dart.constList(["*::class", "*::dir", "*::draggable", "*::hidden", "*::id", "*::inert", "*::itemprop", "*::itemref", "*::itemscope", "*::lang", "*::spellcheck", "*::title", "*::translate", "A::accesskey", "A::coords", "A::hreflang", "A::name", "A::shape", "A::tabindex", "A::target", "A::type", "AREA::accesskey", "AREA::alt", "AREA::coords", "AREA::nohref", "AREA::shape", "AREA::tabindex", "AREA::target", "AUDIO::controls", "AUDIO::loop", "AUDIO::mediagroup", "AUDIO::muted", "AUDIO::preload", "BDO::dir", "BODY::alink", "BODY::bgcolor", "BODY::link", "BODY::text", "BODY::vlink", "BR::clear", "BUTTON::accesskey", "BUTTON::disabled", "BUTTON::name", "BUTTON::tabindex", "BUTTON::type", "BUTTON::value", "CANVAS::height", "CANVAS::width", "CAPTION::align", "COL::align", "COL::char", "COL::charoff", "COL::span", "COL::valign", "COL::width", "COLGROUP::align", "COLGROUP::char", "COLGROUP::charoff", "COLGROUP::span", "COLGROUP::valign", "COLGROUP::width", "COMMAND::checked", "COMMAND::command", "COMMAND::disabled", "COMMAND::label", "COMMAND::radiogroup", "COMMAND::type", "DATA::value", "DEL::datetime", "DETAILS::open", "DIR::compact", "DIV::align", "DL::compact", "FIELDSET::disabled", "FONT::color", "FONT::face", "FONT::size", "FORM::accept", "FORM::autocomplete", "FORM::enctype", "FORM::method", "FORM::name", "FORM::novalidate", "FORM::target", "FRAME::name", "H1::align", "H2::align", "H3::align", "H4::align", "H5::align", "H6::align", "HR::align", "HR::noshade", "HR::size", "HR::width", "HTML::version", "IFRAME::align", "IFRAME::frameborder", "IFRAME::height", "IFRAME::marginheight", "IFRAME::marginwidth", "IFRAME::width", "IMG::align", "IMG::alt", "IMG::border", "IMG::height", "IMG::hspace", "IMG::ismap", "IMG::name", "IMG::usemap", "IMG::vspace", "IMG::width", "INPUT::accept", "INPUT::accesskey", "INPUT::align", "INPUT::alt", "INPUT::autocomplete", "INPUT::autofocus", "INPUT::checked", "INPUT::disabled", "INPUT::inputmode", "INPUT::ismap", "INPUT::list", "INPUT::max", "INPUT::maxlength", "INPUT::min", "INPUT::multiple", "INPUT::name", "INPUT::placeholder", "INPUT::readonly", "INPUT::required", "INPUT::size", "INPUT::step", "INPUT::tabindex", "INPUT::type", "INPUT::usemap", "INPUT::value", "INS::datetime", "KEYGEN::disabled", "KEYGEN::keytype", "KEYGEN::name", "LABEL::accesskey", "LABEL::for", "LEGEND::accesskey", "LEGEND::align", "LI::type", "LI::value", "LINK::sizes", "MAP::name", "MENU::compact", "MENU::label", "MENU::type", "METER::high", "METER::low", "METER::max", "METER::min", "METER::value", "OBJECT::typemustmatch", "OL::compact", "OL::reversed", "OL::start", "OL::type", "OPTGROUP::disabled", "OPTGROUP::label", "OPTION::disabled", "OPTION::label", "OPTION::selected", "OPTION::value", "OUTPUT::for", "OUTPUT::name", "P::align", "PRE::width", "PROGRESS::max", "PROGRESS::min", "PROGRESS::value", "SELECT::autocomplete", "SELECT::disabled", "SELECT::multiple", "SELECT::name", "SELECT::required", "SELECT::size", "SELECT::tabindex", "SOURCE::type", "TABLE::align", "TABLE::bgcolor", "TABLE::border", "TABLE::cellpadding", "TABLE::cellspacing", "TABLE::frame", "TABLE::rules", "TABLE::summary", "TABLE::width", "TBODY::align", "TBODY::char", "TBODY::charoff", "TBODY::valign", "TD::abbr", "TD::align", "TD::axis", "TD::bgcolor", "TD::char", "TD::charoff", "TD::colspan", "TD::headers", "TD::height", "TD::nowrap", "TD::rowspan", "TD::scope", "TD::valign", "TD::width", "TEXTAREA::accesskey", "TEXTAREA::autocomplete", "TEXTAREA::cols", "TEXTAREA::disabled", "TEXTAREA::inputmode", "TEXTAREA::name", "TEXTAREA::placeholder", "TEXTAREA::readonly", "TEXTAREA::required", "TEXTAREA::rows", "TEXTAREA::tabindex", "TEXTAREA::wrap", "TFOOT::align", "TFOOT::char", "TFOOT::charoff", "TFOOT::valign", "TH::abbr", "TH::align", "TH::axis", "TH::bgcolor", "TH::char", "TH::charoff", "TH::colspan", "TH::headers", "TH::height", "TH::nowrap", "TH::rowspan", "TH::scope", "TH::valign", "TH::width", "THEAD::align", "THEAD::char", "THEAD::charoff", "THEAD::valign", "TR::align", "TR::bgcolor", "TR::char", "TR::charoff", "TR::valign", "TRACK::default", "TRACK::kind", "TRACK::label", "TRACK::srclang", "UL::compact", "UL::type", "VIDEO::controls", "VIDEO::height", "VIDEO::loop", "VIDEO::mediagroup", "VIDEO::muted", "VIDEO::preload", "VIDEO::width"], T$.StringL()); + }, + get C402() { + return C[402] = dart.constList(["A::href", "AREA::href", "BLOCKQUOTE::cite", "BODY::background", "COMMAND::icon", "DEL::cite", "FORM::action", "IMG::src", "INPUT::src", "INS::cite", "Q::cite", "VIDEO::poster"], T$.StringL()); + }, + get C403() { + return C[403] = dart.constMap(T$.StringL(), T$0.intL(), ["Up", 38, "Down", 40, "Left", 37, "Right", 39, "Enter", 13, "F1", 112, "F2", 113, "F3", 114, "F4", 115, "F5", 116, "F6", 117, "F7", 118, "F8", 119, "F9", 120, "F10", 121, "F11", 122, "F12", 123, "U+007F", 46, "Home", 36, "End", 35, "PageUp", 33, "PageDown", 34, "Insert", 45]); + }, + get C404() { + return C[404] = dart.constList([], T$.StringL()); + }, + get C405() { + return C[405] = dart.constList(["A", "FORM"], T$.StringL()); + }, + get C406() { + return C[406] = dart.constList(["A::accesskey", "A::coords", "A::hreflang", "A::name", "A::shape", "A::tabindex", "A::target", "A::type", "FORM::accept", "FORM::autocomplete", "FORM::enctype", "FORM::method", "FORM::name", "FORM::novalidate", "FORM::target"], T$.StringL()); + }, + get C407() { + return C[407] = dart.constList(["A::href", "FORM::action"], T$.StringL()); + }, + get C408() { + return C[408] = dart.constList(["IMG"], T$.StringL()); + }, + get C409() { + return C[409] = dart.constList(["IMG::align", "IMG::alt", "IMG::border", "IMG::height", "IMG::hspace", "IMG::ismap", "IMG::name", "IMG::usemap", "IMG::vspace", "IMG::width"], T$.StringL()); + }, + get C410() { + return C[410] = dart.constList(["IMG::src"], T$.StringL()); + }, + get C411() { + return C[411] = dart.constList(["B", "BLOCKQUOTE", "BR", "EM", "H1", "H2", "H3", "H4", "H5", "H6", "HR", "I", "LI", "OL", "P", "SPAN", "UL"], T$.StringL()); + }, + get C412() { + return C[412] = dart.constList(["bind", "if", "ref", "repeat", "syntax"], T$.StringL()); + }, + get C413() { + return C[413] = dart.const({ + __proto__: html$.Console.prototype + }); + }, + get C414() { + return C[414] = dart.const({ + __proto__: html$._TrustedHtmlTreeSanitizer.prototype + }); + }, + get C415() { + return C[415] = dart.fn(html_common.convertNativeToDart_Dictionary, T$0.dynamicToMapNOfString$dynamic()); + }, + get C416() { + return C[416] = dart.const({ + __proto__: _js_helper.Creates.prototype, + [types$0]: "num|String|bool|JSExtendableArray|=Object|Blob|File|NativeByteBuffer|NativeTypedData|MessagePort" + }); + }, + get C417() { + return C[417] = dart.const({ + __proto__: _js_helper.Returns.prototype, + [types$1]: "num|String|bool|JSExtendableArray|=Object|Blob|File|NativeByteBuffer|NativeTypedData|MessagePort" + }); + }, + get C418() { + return C[418] = dart.const({ + __proto__: T$0.EventStreamProviderOfAudioProcessingEventL().prototype, + [S.EventStreamProvider__eventType]: "audioprocess" + }); + }, + get C419() { + return C[419] = dart.const({ + __proto__: core.IntegerDivisionByZeroException.prototype + }); + }, + get C420() { + return C[420] = dart.const({ + __proto__: core.Duration.prototype, + [_duration$]: 0 + }); + }, + get C421() { + return C[421] = dart.constList([], T$.ObjectN()); + }, + get C422() { + return C[422] = dart.constMap(T$.SymbolL(), T$.ObjectN(), []); + }, + get C423() { + return C[423] = dart.constList([], T$.ObjectL()); + }, + get C424() { + return C[424] = dart.constMap(T$.SymbolL(), T$.ObjectL(), []); + }, + get C425() { + return C[425] = dart.fn(core._GeneratorIterable._id, T$0.intToint()); + }, + get C426() { + return C[426] = dart.const({ + __proto__: core._StringStackTrace.prototype, + [_StringStackTrace__stackTrace]: "" + }); + }, + get C427() { + return C[427] = dart.const(new _internal.Symbol.new('unary-')); + }, + get C428() { + return C[428] = dart.const(new _internal.Symbol.new('')); + }, + get C429() { + return C[429] = dart.fn(core.Uri.decodeComponent, T$.StringToString()); + }, + get C430() { + return C[430] = dart.constMap(T$.StringL(), T$0.ListLOfStringL(), []); + }, + get C431() { + return C[431] = dart.fn(core._toUnmodifiableStringList, T$0.StringAndListOfStringToListOfString()); + }, + get C432() { + return C[432] = dart.fn(core._Uri._createList, T$0.VoidToListOfString()); + }, + get C433() { + return C[433] = dart.constList([0, 0, 24576, 1023, 65534, 34815, 65534, 18431], T$0.intL()); + }, + get C434() { + return C[434] = dart.constList([0, 0, 26498, 1023, 65534, 34815, 65534, 18431], T$0.intL()); + }, + get C435() { + return C[435] = dart.constList([0, 0, 65498, 45055, 65535, 34815, 65534, 18431], T$0.intL()); + }, + get C436() { + return C[436] = dart.constList([0, 0, 26624, 1023, 65534, 2047, 65534, 2047], T$0.intL()); + }, + get C437() { + return C[437] = dart.constList([0, 0, 32776, 33792, 1, 10240, 0, 0], T$0.intL()); + }, + get C438() { + return C[438] = dart.constList([0, 0, 32722, 12287, 65534, 34815, 65534, 18431], T$0.intL()); + }, + get C439() { + return C[439] = dart.constList([0, 0, 32754, 11263, 65534, 34815, 65534, 18431], T$0.intL()); + }, + get C440() { + return C[440] = dart.constList([0, 0, 32722, 12287, 65535, 34815, 65534, 18431], T$0.intL()); + }, + get C441() { + return C[441] = dart.constList([0, 0, 65490, 12287, 65535, 34815, 65534, 18431], T$0.intL()); + }, + get C442() { + return C[442] = dart.constList([0, 0, 65490, 45055, 65535, 34815, 65534, 18431], T$0.intL()); + }, + get C443() { + return C[443] = dart.constList([0, 0, 27858, 1023, 65534, 51199, 65535, 32767], T$0.intL()); + }, + get C444() { + return C[444] = dart.constMap(T$.StringL(), T$.StringL(), []); + }, + get C445() { + return C[445] = dart.const({ + __proto__: core.Deprecated.prototype, + [message$11]: "next release" + }); + }, + get C446() { + return C[446] = dart.const({ + __proto__: core._Override.prototype + }); + }, + get C447() { + return C[447] = dart.const({ + __proto__: core.Duration.prototype, + [_duration$]: 120000000 + }); + }, + get C448() { + return C[448] = dart.constList(["cache-control", "connection", "date", "pragma", "trailer", "transfer-encoding", "upgrade", "via", "warning"], T$.StringL()); + }, + get C449() { + return C[449] = dart.constList(["allow", "content-encoding", "content-language", "content-length", "content-location", "content-md5", "content-range", "content-type", "expires", "last-modified"], T$.StringL()); + }, + get C450() { + return C[450] = dart.constList(["accept-ranges", "age", "etag", "location", "proxy-authenticate", "retry-after", "server", "vary", "www-authenticate"], T$.StringL()); + }, + get C451() { + return C[451] = dart.constList(["accept", "accept-charset", "accept-encoding", "accept-language", "authorization", "expect", "from", "host", "if-match", "if-modified-since", "if-none-match", "if-range", "if-unmodified-since", "max-forwards", "proxy-authorization", "range", "referer", "te", "user-agent"], T$.StringL()); + }, + get C452() { + return C[452] = dart.constMap(T$.StringL(), T$.StringN(), []); + }, + get C453() { + return C[453] = dart.const({ + __proto__: core.Duration.prototype, + [_duration$]: 15000000 + }); + }, + get C454() { + return C[454] = dart.const({ + __proto__: _http.HttpClientResponseCompressionState.prototype, + [_name$7]: "HttpClientResponseCompressionState.notCompressed", + index: 0 + }); + }, + get C455() { + return C[455] = dart.const({ + __proto__: _http.HttpClientResponseCompressionState.prototype, + [_name$7]: "HttpClientResponseCompressionState.decompressed", + index: 1 + }); + }, + get C456() { + return C[456] = dart.const({ + __proto__: _http.HttpClientResponseCompressionState.prototype, + [_name$7]: "HttpClientResponseCompressionState.compressed", + index: 2 + }); + }, + get C457() { + return C[457] = dart.constList([C[454] || CT.C454, C[455] || CT.C455, C[456] || CT.C456], T$0.HttpClientResponseCompressionStateL()); + }, + get C458() { + return C[458] = dart.constList([-2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -1, -2, -2, -1, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, 62, -2, 62, -2, 63, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, -2, -2, -2, 0, -2, -2, -2, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, -2, -2, -2, -2, 63, -2, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2], T$0.intL()); + }, + get C459() { + return C[459] = dart.constList([3614090360.0, 3905402710.0, 606105819, 3250441966.0, 4118548399.0, 1200080426, 2821735955.0, 4249261313.0, 1770035416, 2336552879.0, 4294925233.0, 2304563134.0, 1804603682, 4254626195.0, 2792965006.0, 1236535329, 4129170786.0, 3225465664.0, 643717713, 3921069994.0, 3593408605.0, 38016083, 3634488961.0, 3889429448.0, 568446438, 3275163606.0, 4107603335.0, 1163531501, 2850285829.0, 4243563512.0, 1735328473, 2368359562.0, 4294588738.0, 2272392833.0, 1839030562, 4259657740.0, 2763975236.0, 1272893353, 4139469664.0, 3200236656.0, 681279174, 3936430074.0, 3572445317.0, 76029189, 3654602809.0, 3873151461.0, 530742520, 3299628645.0, 4096336452.0, 1126891415, 2878612391.0, 4237533241.0, 1700485571, 2399980690.0, 4293915773.0, 2240044497.0, 1873313359, 4264355552.0, 2734768916.0, 1309151649, 4149444226.0, 3174756917.0, 718787259, 3951481745.0], T$0.intL()); + }, + get C460() { + return C[460] = dart.constList([7, 12, 17, 22, 7, 12, 17, 22, 7, 12, 17, 22, 7, 12, 17, 22, 5, 9, 14, 20, 5, 9, 14, 20, 5, 9, 14, 20, 5, 9, 14, 20, 4, 11, 16, 23, 4, 11, 16, 23, 4, 11, 16, 23, 4, 11, 16, 23, 6, 10, 15, 21, 6, 10, 15, 21, 6, 10, 15, 21, 6, 10, 15, 21], T$0.intL()); + }, + get C461() { + return C[461] = dart.constList(["Mon", "Tue", "Wed", "Thu", "Fri", "Sat", "Sun"], dart.dynamic); + }, + get C462() { + return C[462] = dart.constList(["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"], dart.dynamic); + }, + get C463() { + return C[463] = dart.constList(["Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday", "Sunday"], dart.dynamic); + }, + get C464() { + return C[464] = dart.constList(["jan", "feb", "mar", "apr", "may", "jun", "jul", "aug", "sep", "oct", "nov", "dec"], dart.dynamic); + }, + get C465() { + return C[465] = dart.constList(["(", ")", "<", ">", "@", ",", ";", ":", "\\", "\"", "/", "[", "]", "?", "=", "{", "}"], T$.StringL()); + }, + get C466() { + return C[466] = dart.const({ + __proto__: _http._ToUint8List.prototype + }); + }, + get C467() { + return C[467] = dart.const(new _js_helper.PrivateSymbol.new('_#IOSink#encoding#isSet', __IOSink_encoding_isSet$)); + }, + get C468() { + return C[468] = dart.const(new _js_helper.PrivateSymbol.new('_#IOSink#encoding', __IOSink_encoding$)); + }, + get C469() { + return C[469] = dart.const(new _js_helper.PrivateSymbol.new('_#IOSink#encoding#isSet=', __IOSink_encoding_isSet_)); + }, + get C470() { + return C[470] = dart.const(new _js_helper.PrivateSymbol.new('_#IOSink#encoding=', __IOSink_encoding_)); + }, + get C471() { + return C[471] = dart.constList([48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 65, 66, 67, 68, 69, 70], T$0.intL()); + }, + get C472() { + return C[472] = dart.constList([13, 10, 48, 13, 10, 13, 10], T$0.intL()); + }, + get C473() { + return C[473] = dart.constList([48, 13, 10, 13, 10], T$0.intL()); + }, + get C474() { + return C[474] = dart.fn(_http.HttpClient.findProxyFromEnvironment, T.Uri__ToString()); + }, + get C477() { + return C[477] = dart.const({ + __proto__: _http._Proxy.prototype, + [_Proxy_isDirect]: true, + [_Proxy_password]: null, + [_Proxy_username]: null, + [_Proxy_port]: null, + [_Proxy_host]: null + }); + }, + get C476() { + return C[476] = dart.constList([C[477] || CT.C477], T._ProxyL()); + }, + get C475() { + return C[475] = dart.const({ + __proto__: _http._ProxyConfiguration.prototype, + [_ProxyConfiguration_proxies]: C[476] || CT.C476 + }); + }, + get C478() { + return C[478] = dart.const({ + __proto__: _http._AuthenticationScheme.prototype, + [_scheme$]: -1 + }); + }, + get C479() { + return C[479] = dart.const({ + __proto__: _http._AuthenticationScheme.prototype, + [_scheme$]: 0 + }); + }, + get C480() { + return C[480] = dart.const({ + __proto__: _http._AuthenticationScheme.prototype, + [_scheme$]: 1 + }); + }, + get C481() { + return C[481] = dart.constList([72, 84, 84, 80], T$0.intL()); + }, + get C482() { + return C[482] = dart.constList([72, 84, 84, 80, 47, 49, 46], T$0.intL()); + }, + get C483() { + return C[483] = dart.constList([72, 84, 84, 80, 47, 49, 46, 48], T$0.intL()); + }, + get C484() { + return C[484] = dart.constList([72, 84, 84, 80, 47, 49, 46, 49], T$0.intL()); + }, + get C485() { + return C[485] = dart.constList([false, false, false, false, false, false, false, false, false, true, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, true, false, true, false, false, false, false, false, true, true, false, false, true, false, false, true, false, false, false, false, false, false, false, false, false, false, true, true, true, true, true, true, true, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, true, true, true, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, true, false, true, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false], T$0.boolL()); + }, + get C486() { + return C[486] = dart.const({ + __proto__: _http.CompressionOptions.prototype, + [enabled$]: true, + [serverMaxWindowBits$]: null, + [clientMaxWindowBits$]: null, + [serverNoContextTakeover$]: false, + [clientNoContextTakeover$]: false + }); + }, + get C487() { + return C[487] = dart.const({ + __proto__: _http.CompressionOptions.prototype, + [enabled$]: false, + [serverMaxWindowBits$]: null, + [clientMaxWindowBits$]: null, + [serverNoContextTakeover$]: false, + [clientNoContextTakeover$]: false + }); + }, + get C488() { + return C[488] = dart.constList([0, 0, 255, 255], T$0.intL()); + }, + get C489() { + return C[489] = dart.const({ + __proto__: core.Duration.prototype, + [_duration$]: 5000000 + }); + } +}, false); +core.Invocation = class Invocation extends core.Object { + static method(memberName, positionalArguments, namedArguments = null) { + if (memberName == null) dart.nullFailed(I[10], 20, 18, "memberName"); + return new core._Invocation.method(memberName, null, positionalArguments, namedArguments); + } + static genericMethod(memberName, typeArguments, positionalArguments, namedArguments = null) { + if (memberName == null) dart.nullFailed(I[10], 31, 43, "memberName"); + return new core._Invocation.method(memberName, typeArguments, positionalArguments, namedArguments); + } + get typeArguments() { + return C[0] || CT.C0; + } + get isAccessor() { + return dart.test(this.isGetter) || dart.test(this.isSetter); + } +}; +(core.Invocation.new = function() { + ; +}).prototype = core.Invocation.prototype; +dart.addTypeTests(core.Invocation); +dart.addTypeCaches(core.Invocation); +dart.setGetterSignature(core.Invocation, () => ({ + __proto__: dart.getGetters(core.Invocation.__proto__), + typeArguments: core.List$(core.Type), + isAccessor: core.bool +})); +dart.setLibraryUri(core.Invocation, I[8]); +dart.InvocationImpl = class InvocationImpl extends core.Invocation { + get memberName() { + return this[memberName$]; + } + set memberName(value) { + super.memberName = value; + } + get positionalArguments() { + return this[positionalArguments$]; + } + set positionalArguments(value) { + super.positionalArguments = value; + } + get namedArguments() { + return this[namedArguments$]; + } + set namedArguments(value) { + super.namedArguments = value; + } + get typeArguments() { + return this[typeArguments$]; + } + set typeArguments(value) { + super.typeArguments = value; + } + get isMethod() { + return this[isMethod$]; + } + set isMethod(value) { + super.isMethod = value; + } + get isGetter() { + return this[isGetter$]; + } + set isGetter(value) { + super.isGetter = value; + } + get isSetter() { + return this[isSetter$]; + } + set isSetter(value) { + super.isSetter = value; + } + get failureMessage() { + return this[failureMessage$]; + } + set failureMessage(value) { + super.failureMessage = value; + } + static _namedArgsToSymbols(namedArgs) { + if (namedArgs == null) return const$0 || (const$0 = dart.constMap(T$.SymbolL(), dart.dynamic, [])); + return T$.MapOfSymbol$dynamic().unmodifiable(collection.LinkedHashMap.fromIterable(dart.getOwnPropertyNames(namedArgs), { + key: dart._dartSymbol, + value: k => namedArgs[k] + })); + } +}; +(dart.InvocationImpl.new = function(memberName, positionalArguments, opts) { + if (positionalArguments == null) dart.nullFailed(I[2], 20, 44, "positionalArguments"); + let namedArguments = opts && 'namedArguments' in opts ? opts.namedArguments : null; + let typeArguments = opts && 'typeArguments' in opts ? opts.typeArguments : const$ || (const$ = dart.constList([], dart.dynamic)); + if (typeArguments == null) dart.nullFailed(I[2], 22, 12, "typeArguments"); + let isMethod = opts && 'isMethod' in opts ? opts.isMethod : false; + if (isMethod == null) dart.nullFailed(I[2], 23, 12, "isMethod"); + let isGetter = opts && 'isGetter' in opts ? opts.isGetter : false; + if (isGetter == null) dart.nullFailed(I[2], 24, 12, "isGetter"); + let isSetter = opts && 'isSetter' in opts ? opts.isSetter : false; + if (isSetter == null) dart.nullFailed(I[2], 25, 12, "isSetter"); + let failureMessage = opts && 'failureMessage' in opts ? opts.failureMessage : "method not found"; + if (failureMessage == null) dart.nullFailed(I[2], 26, 12, "failureMessage"); + this[isMethod$] = isMethod; + this[isGetter$] = isGetter; + this[isSetter$] = isSetter; + this[failureMessage$] = failureMessage; + this[memberName$] = dart.test(isSetter) ? dart._setterSymbol(memberName) : dart._dartSymbol(memberName); + this[positionalArguments$] = core.List.unmodifiable(positionalArguments); + this[namedArguments$] = dart.InvocationImpl._namedArgsToSymbols(namedArguments); + this[typeArguments$] = T$.ListOfType().unmodifiable(typeArguments[$map](dart.dynamic, dart.wrapType)); + dart.InvocationImpl.__proto__.new.call(this); + ; +}).prototype = dart.InvocationImpl.prototype; +dart.addTypeTests(dart.InvocationImpl); +dart.addTypeCaches(dart.InvocationImpl); +dart.setLibraryUri(dart.InvocationImpl, I[9]); +dart.setFieldSignature(dart.InvocationImpl, () => ({ + __proto__: dart.getFields(dart.InvocationImpl.__proto__), + memberName: dart.finalFieldType(core.Symbol), + positionalArguments: dart.finalFieldType(core.List), + namedArguments: dart.finalFieldType(core.Map$(core.Symbol, dart.dynamic)), + typeArguments: dart.finalFieldType(core.List$(core.Type)), + isMethod: dart.finalFieldType(core.bool), + isGetter: dart.finalFieldType(core.bool), + isSetter: dart.finalFieldType(core.bool), + failureMessage: dart.finalFieldType(core.String) +})); +var name$0 = dart.privateName(_debugger, "JsonMLConfig.name"); +_debugger.JsonMLConfig = class JsonMLConfig extends core.Object { + get name() { + return this[name$0]; + } + set name(value) { + super.name = value; + } + toString() { + return "JsonMLConfig(" + dart.str(this.name) + ")"; + } +}; +(_debugger.JsonMLConfig.new = function(name) { + if (name == null) dart.nullFailed(I[11], 28, 27, "name"); + this[name$0] = name; + ; +}).prototype = _debugger.JsonMLConfig.prototype; +dart.addTypeTests(_debugger.JsonMLConfig); +dart.addTypeCaches(_debugger.JsonMLConfig); +dart.setLibraryUri(_debugger.JsonMLConfig, I[12]); +dart.setFieldSignature(_debugger.JsonMLConfig, () => ({ + __proto__: dart.getFields(_debugger.JsonMLConfig.__proto__), + name: dart.finalFieldType(core.String) +})); +dart.defineExtensionMethods(_debugger.JsonMLConfig, ['toString']); +dart.defineLazy(_debugger.JsonMLConfig, { + /*_debugger.JsonMLConfig.none*/get none() { + return C[1] || CT.C1; + }, + /*_debugger.JsonMLConfig.skipDart*/get skipDart() { + return C[2] || CT.C2; + }, + /*_debugger.JsonMLConfig.keyToString*/get keyToString() { + return C[3] || CT.C3; + }, + /*_debugger.JsonMLConfig.asClass*/get asClass() { + return C[4] || CT.C4; + }, + /*_debugger.JsonMLConfig.asObject*/get asObject() { + return C[5] || CT.C5; + }, + /*_debugger.JsonMLConfig.asMap*/get asMap() { + return C[6] || CT.C6; + } +}, false); +_debugger.JSNative = class JSNative extends core.Object { + static getProperty(object, name) { + return object[name]; + } + static setProperty(object, name, value) { + return object[name] = value; + } +}; +(_debugger.JSNative.new = function() { + ; +}).prototype = _debugger.JSNative.prototype; +dart.addTypeTests(_debugger.JSNative); +dart.addTypeCaches(_debugger.JSNative); +dart.setLibraryUri(_debugger.JSNative, I[12]); +var name$1 = dart.privateName(_debugger, "NameValuePair.name"); +var value$ = dart.privateName(_debugger, "NameValuePair.value"); +var config$ = dart.privateName(_debugger, "NameValuePair.config"); +var hideName$ = dart.privateName(_debugger, "NameValuePair.hideName"); +_debugger.NameValuePair = class NameValuePair extends core.Object { + get name() { + return this[name$1]; + } + set name(value) { + super.name = value; + } + get value() { + return this[value$]; + } + set value(value) { + super.value = value; + } + get config() { + return this[config$]; + } + set config(value) { + super.config = value; + } + get hideName() { + return this[hideName$]; + } + set hideName(value) { + super.hideName = value; + } + _equals(other) { + if (other == null) return false; + if (!_debugger.NameValuePair.is(other)) return false; + if (dart.test(this.hideName) || dart.test(other.hideName)) return this === other; + return other.name == this.name; + } + get hashCode() { + return dart.hashCode(this.name); + } + get displayName() { + return dart.test(this.hideName) ? "" : this.name; + } +}; +(_debugger.NameValuePair.new = function(opts) { + let name = opts && 'name' in opts ? opts.name : ""; + if (name == null) dart.nullFailed(I[11], 172, 13, "name"); + let value = opts && 'value' in opts ? opts.value : null; + let config = opts && 'config' in opts ? opts.config : C[1] || CT.C1; + if (config == null) dart.nullFailed(I[11], 174, 12, "config"); + let hideName = opts && 'hideName' in opts ? opts.hideName : false; + if (hideName == null) dart.nullFailed(I[11], 175, 12, "hideName"); + this[name$1] = name; + this[value$] = value; + this[config$] = config; + this[hideName$] = hideName; + ; +}).prototype = _debugger.NameValuePair.prototype; +dart.addTypeTests(_debugger.NameValuePair); +dart.addTypeCaches(_debugger.NameValuePair); +dart.setGetterSignature(_debugger.NameValuePair, () => ({ + __proto__: dart.getGetters(_debugger.NameValuePair.__proto__), + displayName: core.String +})); +dart.setLibraryUri(_debugger.NameValuePair, I[12]); +dart.setFieldSignature(_debugger.NameValuePair, () => ({ + __proto__: dart.getFields(_debugger.NameValuePair.__proto__), + name: dart.finalFieldType(core.String), + value: dart.finalFieldType(dart.nullable(core.Object)), + config: dart.finalFieldType(_debugger.JsonMLConfig), + hideName: dart.finalFieldType(core.bool) +})); +dart.defineExtensionMethods(_debugger.NameValuePair, ['_equals']); +dart.defineExtensionAccessors(_debugger.NameValuePair, ['hashCode']); +var key$ = dart.privateName(_debugger, "MapEntry.key"); +var value$0 = dart.privateName(_debugger, "MapEntry.value"); +_debugger.MapEntry = class MapEntry extends core.Object { + get key() { + return this[key$]; + } + set key(value) { + super.key = value; + } + get value() { + return this[value$0]; + } + set value(value) { + super.value = value; + } +}; +(_debugger.MapEntry.new = function(opts) { + let key = opts && 'key' in opts ? opts.key : null; + let value = opts && 'value' in opts ? opts.value : null; + this[key$] = key; + this[value$0] = value; + ; +}).prototype = _debugger.MapEntry.prototype; +dart.addTypeTests(_debugger.MapEntry); +dart.addTypeCaches(_debugger.MapEntry); +dart.setLibraryUri(_debugger.MapEntry, I[12]); +dart.setFieldSignature(_debugger.MapEntry, () => ({ + __proto__: dart.getFields(_debugger.MapEntry.__proto__), + key: dart.finalFieldType(dart.nullable(core.Object)), + value: dart.finalFieldType(dart.nullable(core.Object)) +})); +var start$ = dart.privateName(_debugger, "IterableSpan.start"); +var end$ = dart.privateName(_debugger, "IterableSpan.end"); +var iterable$ = dart.privateName(_debugger, "IterableSpan.iterable"); +_debugger.IterableSpan = class IterableSpan extends core.Object { + get start() { + return this[start$]; + } + set start(value) { + super.start = value; + } + get end() { + return this[end$]; + } + set end(value) { + super.end = value; + } + get iterable() { + return this[iterable$]; + } + set iterable(value) { + super.iterable = value; + } + get length() { + return dart.notNull(this.end) - dart.notNull(this.start); + } + get maxPowerOfSubsetSize() { + return (math.log(dart.notNull(this.length) - 0.5) / math.log(_debugger._maxSpanLength))[$truncate](); + } + get subsetSize() { + return math.pow(_debugger._maxSpanLength, this.maxPowerOfSubsetSize)[$toInt](); + } + asMap() { + return this.iterable[$skip](this.start)[$take](this.length)[$toList]()[$asMap](); + } + children() { + let children = T$.JSArrayOfNameValuePair().of([]); + if (dart.notNull(this.length) <= dart.notNull(_debugger._maxSpanLength)) { + this.asMap()[$forEach](dart.fn((i, element) => { + if (i == null) dart.nullFailed(I[11], 225, 24, "i"); + children[$add](new _debugger.NameValuePair.new({name: (dart.notNull(i) + dart.notNull(this.start))[$toString](), value: element})); + }, T$.intAnddynamicTovoid())); + } else { + for (let i = this.start; dart.notNull(i) < dart.notNull(this.end); i = dart.notNull(i) + dart.notNull(this.subsetSize)) { + let subSpan = new _debugger.IterableSpan.new(i, math.min(core.int, this.end, dart.notNull(this.subsetSize) + dart.notNull(i)), this.iterable); + if (subSpan.length === 1) { + children[$add](new _debugger.NameValuePair.new({name: dart.toString(i), value: this.iterable[$elementAt](i)})); + } else { + children[$add](new _debugger.NameValuePair.new({name: "[" + dart.str(i) + "..." + dart.str(dart.notNull(subSpan.end) - 1) + "]", value: subSpan, hideName: true})); + } + } + } + return children; + } +}; +(_debugger.IterableSpan.new = function(start, end, iterable) { + if (start == null) dart.nullFailed(I[11], 203, 21, "start"); + if (end == null) dart.nullFailed(I[11], 203, 33, "end"); + if (iterable == null) dart.nullFailed(I[11], 203, 43, "iterable"); + this[start$] = start; + this[end$] = end; + this[iterable$] = iterable; + ; +}).prototype = _debugger.IterableSpan.prototype; +dart.addTypeTests(_debugger.IterableSpan); +dart.addTypeCaches(_debugger.IterableSpan); +dart.setMethodSignature(_debugger.IterableSpan, () => ({ + __proto__: dart.getMethods(_debugger.IterableSpan.__proto__), + asMap: dart.fnType(core.Map$(core.int, dart.dynamic), []), + children: dart.fnType(core.List$(_debugger.NameValuePair), []) +})); +dart.setGetterSignature(_debugger.IterableSpan, () => ({ + __proto__: dart.getGetters(_debugger.IterableSpan.__proto__), + length: core.int, + maxPowerOfSubsetSize: core.int, + subsetSize: core.int +})); +dart.setLibraryUri(_debugger.IterableSpan, I[12]); +dart.setFieldSignature(_debugger.IterableSpan, () => ({ + __proto__: dart.getFields(_debugger.IterableSpan.__proto__), + start: dart.finalFieldType(core.int), + end: dart.finalFieldType(core.int), + iterable: dart.finalFieldType(core.Iterable) +})); +var name$2 = dart.privateName(_debugger, "Library.name"); +var object$ = dart.privateName(_debugger, "Library.object"); +_debugger.Library = class Library extends core.Object { + get name() { + return this[name$2]; + } + set name(value) { + super.name = value; + } + get object() { + return this[object$]; + } + set object(value) { + super.object = value; + } +}; +(_debugger.Library.new = function(name, object) { + if (name == null) dart.nullFailed(I[11], 248, 16, "name"); + if (object == null) dart.nullFailed(I[11], 248, 27, "object"); + this[name$2] = name; + this[object$] = object; + ; +}).prototype = _debugger.Library.prototype; +dart.addTypeTests(_debugger.Library); +dart.addTypeCaches(_debugger.Library); +dart.setLibraryUri(_debugger.Library, I[12]); +dart.setFieldSignature(_debugger.Library, () => ({ + __proto__: dart.getFields(_debugger.Library.__proto__), + name: dart.finalFieldType(core.String), + object: dart.finalFieldType(core.Object) +})); +var object$0 = dart.privateName(_debugger, "NamedConstructor.object"); +_debugger.NamedConstructor = class NamedConstructor extends core.Object { + get object() { + return this[object$0]; + } + set object(value) { + super.object = value; + } +}; +(_debugger.NamedConstructor.new = function(object) { + if (object == null) dart.nullFailed(I[11], 255, 25, "object"); + this[object$0] = object; + ; +}).prototype = _debugger.NamedConstructor.prototype; +dart.addTypeTests(_debugger.NamedConstructor); +dart.addTypeCaches(_debugger.NamedConstructor); +dart.setLibraryUri(_debugger.NamedConstructor, I[12]); +dart.setFieldSignature(_debugger.NamedConstructor, () => ({ + __proto__: dart.getFields(_debugger.NamedConstructor.__proto__), + object: dart.finalFieldType(core.Object) +})); +var name$3 = dart.privateName(_debugger, "HeritageClause.name"); +var types$ = dart.privateName(_debugger, "HeritageClause.types"); +_debugger.HeritageClause = class HeritageClause extends core.Object { + get name() { + return this[name$3]; + } + set name(value) { + super.name = value; + } + get types() { + return this[types$]; + } + set types(value) { + super.types = value; + } +}; +(_debugger.HeritageClause.new = function(name, types) { + if (name == null) dart.nullFailed(I[11], 261, 23, "name"); + if (types == null) dart.nullFailed(I[11], 261, 34, "types"); + this[name$3] = name; + this[types$] = types; + ; +}).prototype = _debugger.HeritageClause.prototype; +dart.addTypeTests(_debugger.HeritageClause); +dart.addTypeCaches(_debugger.HeritageClause); +dart.setLibraryUri(_debugger.HeritageClause, I[12]); +dart.setFieldSignature(_debugger.HeritageClause, () => ({ + __proto__: dart.getFields(_debugger.HeritageClause.__proto__), + name: dart.finalFieldType(core.String), + types: dart.finalFieldType(core.List) +})); +var _attributes = dart.privateName(_debugger, "_attributes"); +var __JsonMLElement__jsonML = dart.privateName(_debugger, "_#JsonMLElement#_jsonML"); +var __JsonMLElement__jsonML_isSet = dart.privateName(_debugger, "_#JsonMLElement#_jsonML#isSet"); +var _jsonML = dart.privateName(_debugger, "_jsonML"); +_debugger.JsonMLElement = class JsonMLElement extends core.Object { + get [_jsonML]() { + let t8; + return dart.test(this[__JsonMLElement__jsonML_isSet]) ? (t8 = this[__JsonMLElement__jsonML], t8) : dart.throw(new _internal.LateError.fieldNI("_jsonML")); + } + set [_jsonML](t8) { + if (t8 == null) dart.nullFailed(I[11], 285, 13, "null"); + this[__JsonMLElement__jsonML_isSet] = true; + this[__JsonMLElement__jsonML] = t8; + } + appendChild(element) { + this[_jsonML][$add](dart.dsend(element, 'toJsonML', [])); + } + createChild(tagName) { + if (tagName == null) dart.nullFailed(I[11], 296, 36, "tagName"); + let c = new _debugger.JsonMLElement.new(tagName); + this[_jsonML][$add](c.toJsonML()); + return c; + } + createObjectTag(object) { + let t9; + t9 = this.createChild("object"); + return (() => { + t9.addAttribute("object", object); + return t9; + })(); + } + setStyle(style) { + if (style == null) dart.nullFailed(I[11], 305, 24, "style"); + dart.dput(this[_attributes], 'style', style); + } + addStyle(style) { + let t9; + if (style == null) dart.nullFailed(I[11], 309, 19, "style"); + if (dart.dload(this[_attributes], 'style') == null) { + dart.dput(this[_attributes], 'style', style); + } else { + t9 = this[_attributes]; + dart.dput(t9, 'style', dart.dsend(dart.dload(t9, 'style'), '+', [style])); + } + } + addAttribute(key, value) { + _debugger.JSNative.setProperty(this[_attributes], key, value); + } + createTextChild(text) { + if (text == null) dart.nullFailed(I[11], 321, 26, "text"); + this[_jsonML][$add](text); + } + toJsonML() { + return this[_jsonML]; + } +}; +(_debugger.JsonMLElement.new = function(tagName) { + this[_attributes] = null; + this[__JsonMLElement__jsonML] = null; + this[__JsonMLElement__jsonML_isSet] = false; + this[_attributes] = {}; + this[_jsonML] = [tagName, this[_attributes]]; +}).prototype = _debugger.JsonMLElement.prototype; +dart.addTypeTests(_debugger.JsonMLElement); +dart.addTypeCaches(_debugger.JsonMLElement); +dart.setMethodSignature(_debugger.JsonMLElement, () => ({ + __proto__: dart.getMethods(_debugger.JsonMLElement.__proto__), + appendChild: dart.fnType(dart.dynamic, [dart.dynamic]), + createChild: dart.fnType(_debugger.JsonMLElement, [core.String]), + createObjectTag: dart.fnType(_debugger.JsonMLElement, [dart.dynamic]), + setStyle: dart.fnType(dart.void, [core.String]), + addStyle: dart.fnType(dart.dynamic, [core.String]), + addAttribute: dart.fnType(dart.dynamic, [dart.dynamic, dart.dynamic]), + createTextChild: dart.fnType(dart.dynamic, [core.String]), + toJsonML: dart.fnType(dart.dynamic, []) +})); +dart.setGetterSignature(_debugger.JsonMLElement, () => ({ + __proto__: dart.getGetters(_debugger.JsonMLElement.__proto__), + [_jsonML]: core.List +})); +dart.setSetterSignature(_debugger.JsonMLElement, () => ({ + __proto__: dart.getSetters(_debugger.JsonMLElement.__proto__), + [_jsonML]: core.List +})); +dart.setLibraryUri(_debugger.JsonMLElement, I[12]); +dart.setFieldSignature(_debugger.JsonMLElement, () => ({ + __proto__: dart.getFields(_debugger.JsonMLElement.__proto__), + [_attributes]: dart.fieldType(dart.dynamic), + [__JsonMLElement__jsonML]: dart.fieldType(dart.nullable(core.List)), + [__JsonMLElement__jsonML_isSet]: dart.fieldType(core.bool) +})); +var customFormattersOn = dart.privateName(_debugger, "JsonMLFormatter.customFormattersOn"); +var _simpleFormatter$ = dart.privateName(_debugger, "_simpleFormatter"); +_debugger.JsonMLFormatter = class JsonMLFormatter extends core.Object { + get customFormattersOn() { + return this[customFormattersOn]; + } + set customFormattersOn(value) { + this[customFormattersOn] = value; + } + setMaxSpanLengthForTestingOnly(spanLength) { + if (spanLength == null) dart.nullFailed(I[11], 363, 43, "spanLength"); + _debugger._maxSpanLength = spanLength; + } + header(object, config) { + let t9; + this.customFormattersOn = true; + if (dart.equals(config, _debugger.JsonMLConfig.skipDart) || dart.test(_debugger.isNativeJavaScriptObject(object))) { + return null; + } + let c = this[_simpleFormatter$].preview(object, config); + if (c == null) return null; + if (dart.equals(config, _debugger.JsonMLConfig.keyToString)) { + c = dart.toString(object); + } + let element = (t9 = new _debugger.JsonMLElement.new("span"), (() => { + t9.setStyle("background-color: #d9edf7;color: black"); + t9.createTextChild(c); + return t9; + })()); + return element.toJsonML(); + } + hasBody(object, config) { + return this[_simpleFormatter$].hasChildren(object, config); + } + body(object, config) { + let t9, t9$, t9$0, t9$1, t9$2; + let body = (t9 = new _debugger.JsonMLElement.new("ol"), (() => { + t9.setStyle("list-style-type: none;" + "padding-left: 0px;" + "margin-top: 0px;" + "margin-bottom: 0px;" + "margin-left: 12px;"); + return t9; + })()); + if (core.StackTrace.is(object)) { + body.addStyle("background-color: thistle;color: rgb(196, 26, 22);"); + } + let children = this[_simpleFormatter$].children(object, config); + if (children == null) return body.toJsonML(); + for (let child of children) { + let li = body.createChild("li"); + li.setStyle("padding-left: 13px;"); + let nameSpan = null; + let valueStyle = ""; + if (!dart.test(child.hideName)) { + nameSpan = (t9$ = new _debugger.JsonMLElement.new("span"), (() => { + t9$.createTextChild(child.displayName[$isNotEmpty] ? dart.str(child.displayName) + ": " : ""); + t9$.setStyle("background-color: thistle; color: rgb(136, 19, 145); margin-right: -13px"); + return t9$; + })()); + valueStyle = "margin-left: 13px"; + } + if (_debugger._typeof(child.value) === "object" || _debugger._typeof(child.value) === "function") { + let valueSpan = (t9$0 = new _debugger.JsonMLElement.new("span"), (() => { + t9$0.setStyle(valueStyle); + return t9$0; + })()); + t9$1 = valueSpan.createObjectTag(child.value); + (() => { + t9$1.addAttribute("config", child.config); + return t9$1; + })(); + if (nameSpan != null) { + li.appendChild(nameSpan); + } + li.appendChild(valueSpan); + } else { + let line = li.createChild("span"); + if (nameSpan != null) { + line.appendChild(nameSpan); + } + line.appendChild((t9$2 = new _debugger.JsonMLElement.new("span"), (() => { + t9$2.createTextChild(_debugger.safePreview(child.value, child.config)); + t9$2.setStyle(valueStyle); + return t9$2; + })())); + } + } + return body.toJsonML(); + } +}; +(_debugger.JsonMLFormatter.new = function(_simpleFormatter) { + if (_simpleFormatter == null) dart.nullFailed(I[11], 361, 24, "_simpleFormatter"); + this[customFormattersOn] = false; + this[_simpleFormatter$] = _simpleFormatter; + ; +}).prototype = _debugger.JsonMLFormatter.prototype; +dart.addTypeTests(_debugger.JsonMLFormatter); +dart.addTypeCaches(_debugger.JsonMLFormatter); +dart.setMethodSignature(_debugger.JsonMLFormatter, () => ({ + __proto__: dart.getMethods(_debugger.JsonMLFormatter.__proto__), + setMaxSpanLengthForTestingOnly: dart.fnType(dart.void, [core.int]), + header: dart.fnType(dart.dynamic, [dart.dynamic, dart.dynamic]), + hasBody: dart.fnType(core.bool, [dart.dynamic, dart.dynamic]), + body: dart.fnType(dart.dynamic, [dart.dynamic, dart.dynamic]) +})); +dart.setLibraryUri(_debugger.JsonMLFormatter, I[12]); +dart.setFieldSignature(_debugger.JsonMLFormatter, () => ({ + __proto__: dart.getFields(_debugger.JsonMLFormatter.__proto__), + [_simpleFormatter$]: dart.fieldType(_debugger.DartFormatter), + customFormattersOn: dart.fieldType(core.bool) +})); +_debugger.Formatter = class Formatter extends core.Object {}; +(_debugger.Formatter.new = function() { + ; +}).prototype = _debugger.Formatter.prototype; +dart.addTypeTests(_debugger.Formatter); +dart.addTypeCaches(_debugger.Formatter); +dart.setLibraryUri(_debugger.Formatter, I[12]); +var _formatters = dart.privateName(_debugger, "_formatters"); +var _printConsoleError = dart.privateName(_debugger, "_printConsoleError"); +_debugger.DartFormatter = class DartFormatter extends core.Object { + preview(object, config) { + try { + if (object == null || typeof object == 'number' || typeof object == 'string' || dart.test(_debugger.isNativeJavaScriptObject(object))) { + return dart.toString(object); + } + for (let formatter of this[_formatters]) { + if (dart.test(formatter.accept(object, config))) return formatter.preview(object); + } + } catch (e$) { + let e = dart.getThrown(e$); + let trace = dart.stackTrace(e$); + if (core.Object.is(e)) { + this[_printConsoleError]("Caught exception " + dart.str(e) + "\n trace:\n" + dart.str(trace)); + } else + throw e$; + } + return null; + } + hasChildren(object, config) { + if (object == null) return false; + try { + for (let formatter of this[_formatters]) { + if (dart.test(formatter.accept(object, config))) return formatter.hasChildren(object); + } + } catch (e$) { + let e = dart.getThrown(e$); + let trace = dart.stackTrace(e$); + if (core.Object.is(e)) { + this[_printConsoleError]("[hasChildren] Caught exception " + dart.str(e) + "\n trace:\n" + dart.str(trace)); + } else + throw e$; + } + return false; + } + children(object, config) { + try { + if (object != null) { + for (let formatter of this[_formatters]) { + if (dart.test(formatter.accept(object, config))) return formatter.children(object); + } + } + } catch (e$) { + let e = dart.getThrown(e$); + let trace = dart.stackTrace(e$); + if (core.Object.is(e)) { + this[_printConsoleError]("Caught exception " + dart.str(e) + "\n trace:\n" + dart.str(trace)); + } else + throw e$; + } + return T$.JSArrayOfNameValuePair().of([]); + } + [_printConsoleError](message) { + if (message == null) dart.nullFailed(I[11], 523, 34, "message"); + return window.console.error(message); + } +}; +(_debugger.DartFormatter.new = function() { + this[_formatters] = T$.JSArrayOfFormatter().of([new _debugger.ObjectInternalsFormatter.new(), new _debugger.ClassFormatter.new(), new _debugger.TypeFormatter.new(), new _debugger.NamedConstructorFormatter.new(), new _debugger.MapFormatter.new(), new _debugger.MapOverviewFormatter.new(), new _debugger.IterableFormatter.new(), new _debugger.IterableSpanFormatter.new(), new _debugger.MapEntryFormatter.new(), new _debugger.StackTraceFormatter.new(), new _debugger.ErrorAndExceptionFormatter.new(), new _debugger.FunctionFormatter.new(), new _debugger.HeritageClauseFormatter.new(), new _debugger.LibraryModuleFormatter.new(), new _debugger.LibraryFormatter.new(), new _debugger.ObjectFormatter.new()]); + ; +}).prototype = _debugger.DartFormatter.prototype; +dart.addTypeTests(_debugger.DartFormatter); +dart.addTypeCaches(_debugger.DartFormatter); +dart.setMethodSignature(_debugger.DartFormatter, () => ({ + __proto__: dart.getMethods(_debugger.DartFormatter.__proto__), + preview: dart.fnType(dart.nullable(core.String), [dart.dynamic, dart.dynamic]), + hasChildren: dart.fnType(core.bool, [dart.dynamic, dart.dynamic]), + children: dart.fnType(dart.nullable(core.List$(_debugger.NameValuePair)), [dart.dynamic, dart.dynamic]), + [_printConsoleError]: dart.fnType(dart.void, [core.String]) +})); +dart.setLibraryUri(_debugger.DartFormatter, I[12]); +dart.setFieldSignature(_debugger.DartFormatter, () => ({ + __proto__: dart.getFields(_debugger.DartFormatter.__proto__), + [_formatters]: dart.finalFieldType(core.List$(_debugger.Formatter)) +})); +_debugger.ObjectFormatter = class ObjectFormatter extends _debugger.Formatter { + accept(object, config) { + return !dart.test(_debugger.isNativeJavaScriptObject(object)); + } + preview(object) { + let typeName = _debugger.getObjectTypeName(object); + try { + let toString = dart.str(object); + if (toString.length > dart.notNull(_debugger.maxFormatterStringLength)) { + toString = toString[$substring](0, dart.notNull(_debugger.maxFormatterStringLength) - 3) + "..."; + } + if (toString[$contains](typeName)) { + return toString; + } else { + return toString + " (" + dart.str(typeName) + ")"; + } + } catch (e$) { + let e = dart.getThrown(e$); + if (core.Object.is(e)) { + } else + throw e$; + } + return typeName; + } + hasChildren(object) { + return true; + } + children(object) { + let type = dart.getType(object); + let ret = new (T$._HashSetOfNameValuePair()).new(); + let fields = new (T$._HashSetOfNameValuePair()).new(); + _debugger.addPropertiesFromSignature(dart.getFields(type), fields, object, true); + let getters = new (T$._HashSetOfNameValuePair()).new(); + _debugger.addPropertiesFromSignature(dart.getGetters(type), getters, object, true); + ret.addAll(_debugger.sortProperties(fields)); + ret.addAll(_debugger.sortProperties(getters)); + _debugger.addMetadataChildren(object, ret); + return ret[$toList](); + } +}; +(_debugger.ObjectFormatter.new = function() { + ; +}).prototype = _debugger.ObjectFormatter.prototype; +dart.addTypeTests(_debugger.ObjectFormatter); +dart.addTypeCaches(_debugger.ObjectFormatter); +dart.setMethodSignature(_debugger.ObjectFormatter, () => ({ + __proto__: dart.getMethods(_debugger.ObjectFormatter.__proto__), + accept: dart.fnType(core.bool, [dart.dynamic, dart.dynamic]), + preview: dart.fnType(core.String, [dart.dynamic]), + hasChildren: dart.fnType(core.bool, [dart.dynamic]), + children: dart.fnType(dart.nullable(core.List$(_debugger.NameValuePair)), [dart.dynamic]) +})); +dart.setLibraryUri(_debugger.ObjectFormatter, I[12]); +_debugger.ObjectInternalsFormatter = class ObjectInternalsFormatter extends _debugger.ObjectFormatter { + accept(object, config) { + return dart.test(super.accept(object, config)) && dart.equals(config, _debugger.JsonMLConfig.asObject); + } + preview(object) { + return _debugger.getObjectTypeName(object); + } +}; +(_debugger.ObjectInternalsFormatter.new = function() { + ; +}).prototype = _debugger.ObjectInternalsFormatter.prototype; +dart.addTypeTests(_debugger.ObjectInternalsFormatter); +dart.addTypeCaches(_debugger.ObjectInternalsFormatter); +dart.setLibraryUri(_debugger.ObjectInternalsFormatter, I[12]); +_debugger.LibraryModuleFormatter = class LibraryModuleFormatter extends core.Object { + accept(object, config) { + return dart.getModuleName(core.Object.as(object)) != null; + } + hasChildren(object) { + return true; + } + preview(object) { + let libraryNames = dart.nullCheck(dart.getModuleName(core.Object.as(object)))[$split]("/"); + if (dart.notNull(libraryNames[$length]) > 1 && libraryNames[$last] == libraryNames[$_get](dart.notNull(libraryNames[$length]) - 2)) { + libraryNames[$_set](dart.notNull(libraryNames[$length]) - 1, ""); + } + return "Library Module: " + dart.str(libraryNames[$join]("/")); + } + children(object) { + let children = new (T$._HashSetOfNameValuePair()).new(); + for (let name of _debugger.getOwnPropertyNames(object)) { + let value = _debugger.safeGetProperty(core.Object.as(object), name); + children.add(new _debugger.NameValuePair.new({name: name, value: new _debugger.Library.new(name, dart.nullCheck(value)), hideName: true})); + } + return children[$toList](); + } +}; +(_debugger.LibraryModuleFormatter.new = function() { + ; +}).prototype = _debugger.LibraryModuleFormatter.prototype; +dart.addTypeTests(_debugger.LibraryModuleFormatter); +dart.addTypeCaches(_debugger.LibraryModuleFormatter); +_debugger.LibraryModuleFormatter[dart.implements] = () => [_debugger.Formatter]; +dart.setMethodSignature(_debugger.LibraryModuleFormatter, () => ({ + __proto__: dart.getMethods(_debugger.LibraryModuleFormatter.__proto__), + accept: dart.fnType(core.bool, [dart.dynamic, dart.dynamic]), + hasChildren: dart.fnType(core.bool, [dart.dynamic]), + preview: dart.fnType(core.String, [dart.dynamic]), + children: dart.fnType(core.List$(_debugger.NameValuePair), [dart.dynamic]) +})); +dart.setLibraryUri(_debugger.LibraryModuleFormatter, I[12]); +var genericParameters = dart.privateName(_debugger, "LibraryFormatter.genericParameters"); +_debugger.LibraryFormatter = class LibraryFormatter extends core.Object { + get genericParameters() { + return this[genericParameters]; + } + set genericParameters(value) { + this[genericParameters] = value; + } + accept(object, config) { + return _debugger.Library.is(object); + } + hasChildren(object) { + return true; + } + preview(object) { + return core.String.as(dart.dload(object, 'name')); + } + children(object) { + let children = new (T$._HashSetOfNameValuePair()).new(); + let objectProperties = _debugger.safeProperties(dart.dload(object, 'object')); + dart.dsend(objectProperties, 'forEach', [dart.fn((name, value) => { + if (dart.getGenericTypeCtor(value) != null) return; + children.add(_debugger.NameValuePair.as(dart.isType(value) ? this.classChild(core.String.as(name), core.Object.as(value)) : new _debugger.NameValuePair.new({name: core.String.as(name), value: value}))); + }, T$.dynamicAnddynamicToNull())]); + return children[$toList](); + } + classChild(name, child) { + if (name == null) dart.nullFailed(I[11], 644, 21, "name"); + if (child == null) dart.nullFailed(I[11], 644, 34, "child"); + let typeName = _debugger.getTypeName(child); + return new _debugger.NameValuePair.new({name: typeName, value: child, config: _debugger.JsonMLConfig.asClass}); + } +}; +(_debugger.LibraryFormatter.new = function() { + this[genericParameters] = new (T$.IdentityMapOfString$String()).new(); + ; +}).prototype = _debugger.LibraryFormatter.prototype; +dart.addTypeTests(_debugger.LibraryFormatter); +dart.addTypeCaches(_debugger.LibraryFormatter); +_debugger.LibraryFormatter[dart.implements] = () => [_debugger.Formatter]; +dart.setMethodSignature(_debugger.LibraryFormatter, () => ({ + __proto__: dart.getMethods(_debugger.LibraryFormatter.__proto__), + accept: dart.fnType(core.bool, [dart.dynamic, dart.dynamic]), + hasChildren: dart.fnType(core.bool, [dart.dynamic]), + preview: dart.fnType(core.String, [dart.dynamic]), + children: dart.fnType(core.List$(_debugger.NameValuePair), [dart.dynamic]), + classChild: dart.fnType(dart.dynamic, [core.String, core.Object]) +})); +dart.setLibraryUri(_debugger.LibraryFormatter, I[12]); +dart.setFieldSignature(_debugger.LibraryFormatter, () => ({ + __proto__: dart.getFields(_debugger.LibraryFormatter.__proto__), + genericParameters: dart.fieldType(collection.HashMap$(core.String, core.String)) +})); +_debugger.FunctionFormatter = class FunctionFormatter extends core.Object { + accept(object, config) { + if (_debugger._typeof(object) !== "function") return false; + return dart.getReifiedType(object) != null; + } + hasChildren(object) { + return true; + } + preview(object) { + try { + return dart.typeName(dart.getReifiedType(object)); + } catch (e$) { + let e = dart.getThrown(e$); + if (core.Object.is(e)) { + return _debugger.safePreview(object, _debugger.JsonMLConfig.none); + } else + throw e$; + } + } + children(object) { + return T$.JSArrayOfNameValuePair().of([new _debugger.NameValuePair.new({name: "signature", value: this.preview(object)}), new _debugger.NameValuePair.new({name: "JavaScript Function", value: object, config: _debugger.JsonMLConfig.skipDart})]); + } +}; +(_debugger.FunctionFormatter.new = function() { + ; +}).prototype = _debugger.FunctionFormatter.prototype; +dart.addTypeTests(_debugger.FunctionFormatter); +dart.addTypeCaches(_debugger.FunctionFormatter); +_debugger.FunctionFormatter[dart.implements] = () => [_debugger.Formatter]; +dart.setMethodSignature(_debugger.FunctionFormatter, () => ({ + __proto__: dart.getMethods(_debugger.FunctionFormatter.__proto__), + accept: dart.fnType(core.bool, [dart.dynamic, dart.dynamic]), + hasChildren: dart.fnType(core.bool, [dart.dynamic]), + preview: dart.fnType(core.String, [dart.dynamic]), + children: dart.fnType(core.List$(_debugger.NameValuePair), [dart.dynamic]) +})); +dart.setLibraryUri(_debugger.FunctionFormatter, I[12]); +_debugger.MapOverviewFormatter = class MapOverviewFormatter extends core.Object { + accept(object, config) { + return core.Map.is(object); + } + hasChildren(object) { + return true; + } + preview(object) { + let map = core.Map.as(object); + try { + return dart.str(_debugger.getObjectTypeName(map)); + } catch (e$) { + let e = dart.getThrown(e$); + if (core.Object.is(e)) { + return _debugger.safePreview(object, _debugger.JsonMLConfig.none); + } else + throw e$; + } + } + children(object) { + return T$.JSArrayOfNameValuePair().of([new _debugger.NameValuePair.new({name: "[[instance view]]", value: object, config: _debugger.JsonMLConfig.asObject}), new _debugger.NameValuePair.new({name: "[[entries]]", value: object, config: _debugger.JsonMLConfig.asMap})]); + } +}; +(_debugger.MapOverviewFormatter.new = function() { + ; +}).prototype = _debugger.MapOverviewFormatter.prototype; +dart.addTypeTests(_debugger.MapOverviewFormatter); +dart.addTypeCaches(_debugger.MapOverviewFormatter); +_debugger.MapOverviewFormatter[dart.implements] = () => [_debugger.Formatter]; +dart.setMethodSignature(_debugger.MapOverviewFormatter, () => ({ + __proto__: dart.getMethods(_debugger.MapOverviewFormatter.__proto__), + accept: dart.fnType(core.bool, [dart.dynamic, dart.dynamic]), + hasChildren: dart.fnType(core.bool, [dart.dynamic]), + preview: dart.fnType(core.String, [dart.dynamic]), + children: dart.fnType(core.List$(_debugger.NameValuePair), [dart.dynamic]) +})); +dart.setLibraryUri(_debugger.MapOverviewFormatter, I[12]); +_debugger.MapFormatter = class MapFormatter extends core.Object { + accept(object, config) { + return _js_helper.InternalMap.is(object) || dart.equals(config, _debugger.JsonMLConfig.asMap); + } + hasChildren(object) { + return true; + } + preview(object) { + let map = core.Map.as(object); + try { + return dart.str(_debugger.getObjectTypeName(map)) + " length " + dart.str(map[$length]); + } catch (e$) { + let e = dart.getThrown(e$); + if (core.Object.is(e)) { + return _debugger.safePreview(object, _debugger.JsonMLConfig.none); + } else + throw e$; + } + } + children(object) { + let map = core.Map.as(object); + let entries = new (T$._HashSetOfNameValuePair()).new(); + map[$forEach](dart.fn((key, value) => { + let entryWrapper = new _debugger.MapEntry.new({key: key, value: value}); + entries.add(new _debugger.NameValuePair.new({name: dart.toString(entries[$length]), value: entryWrapper})); + }, T$.dynamicAnddynamicTovoid())); + _debugger.addMetadataChildren(object, entries); + return entries[$toList](); + } +}; +(_debugger.MapFormatter.new = function() { + ; +}).prototype = _debugger.MapFormatter.prototype; +dart.addTypeTests(_debugger.MapFormatter); +dart.addTypeCaches(_debugger.MapFormatter); +_debugger.MapFormatter[dart.implements] = () => [_debugger.Formatter]; +dart.setMethodSignature(_debugger.MapFormatter, () => ({ + __proto__: dart.getMethods(_debugger.MapFormatter.__proto__), + accept: dart.fnType(core.bool, [dart.dynamic, dart.dynamic]), + hasChildren: dart.fnType(core.bool, [dart.dynamic]), + preview: dart.fnType(core.String, [dart.dynamic]), + children: dart.fnType(core.List$(_debugger.NameValuePair), [dart.dynamic]) +})); +dart.setLibraryUri(_debugger.MapFormatter, I[12]); +_debugger.IterableFormatter = class IterableFormatter extends core.Object { + accept(object, config) { + return core.Iterable.is(object); + } + preview(object) { + let iterable = core.Iterable.as(object); + try { + let length = iterable[$length]; + return dart.str(_debugger.getObjectTypeName(iterable)) + " length " + dart.str(length); + } catch (e) { + let _ = dart.getThrown(e); + if (core.Object.is(_)) { + return dart.str(_debugger.getObjectTypeName(iterable)); + } else + throw e; + } + } + hasChildren(object) { + return true; + } + children(object) { + let children = new (T$._HashSetOfNameValuePair()).new(); + children.addAll(new _debugger.IterableSpan.new(0, core.int.as(dart.dload(object, 'length')), core.Iterable.as(object)).children()); + _debugger.addMetadataChildren(object, children); + return children[$toList](); + } +}; +(_debugger.IterableFormatter.new = function() { + ; +}).prototype = _debugger.IterableFormatter.prototype; +dart.addTypeTests(_debugger.IterableFormatter); +dart.addTypeCaches(_debugger.IterableFormatter); +_debugger.IterableFormatter[dart.implements] = () => [_debugger.Formatter]; +dart.setMethodSignature(_debugger.IterableFormatter, () => ({ + __proto__: dart.getMethods(_debugger.IterableFormatter.__proto__), + accept: dart.fnType(core.bool, [dart.dynamic, dart.dynamic]), + preview: dart.fnType(core.String, [dart.dynamic]), + hasChildren: dart.fnType(core.bool, [dart.dynamic]), + children: dart.fnType(core.List$(_debugger.NameValuePair), [dart.dynamic]) +})); +dart.setLibraryUri(_debugger.IterableFormatter, I[12]); +_debugger.NamedConstructorFormatter = class NamedConstructorFormatter extends core.Object { + accept(object, config) { + return _debugger.NamedConstructor.is(object); + } + preview(object) { + return "Named Constructor"; + } + hasChildren(object) { + return true; + } + children(object) { + return T$.JSArrayOfNameValuePair().of([new _debugger.NameValuePair.new({name: "JavaScript Function", value: object, config: _debugger.JsonMLConfig.skipDart})]); + } +}; +(_debugger.NamedConstructorFormatter.new = function() { + ; +}).prototype = _debugger.NamedConstructorFormatter.prototype; +dart.addTypeTests(_debugger.NamedConstructorFormatter); +dart.addTypeCaches(_debugger.NamedConstructorFormatter); +_debugger.NamedConstructorFormatter[dart.implements] = () => [_debugger.Formatter]; +dart.setMethodSignature(_debugger.NamedConstructorFormatter, () => ({ + __proto__: dart.getMethods(_debugger.NamedConstructorFormatter.__proto__), + accept: dart.fnType(core.bool, [dart.dynamic, dart.dynamic]), + preview: dart.fnType(core.String, [dart.dynamic]), + hasChildren: dart.fnType(core.bool, [dart.dynamic]), + children: dart.fnType(core.List$(_debugger.NameValuePair), [dart.dynamic]) +})); +dart.setLibraryUri(_debugger.NamedConstructorFormatter, I[12]); +_debugger.MapEntryFormatter = class MapEntryFormatter extends core.Object { + accept(object, config) { + return _debugger.MapEntry.is(object); + } + preview(object) { + let entry = _debugger.MapEntry.as(object); + return dart.str(_debugger.safePreview(entry.key, _debugger.JsonMLConfig.none)) + " => " + dart.str(_debugger.safePreview(entry.value, _debugger.JsonMLConfig.none)); + } + hasChildren(object) { + return true; + } + children(object) { + return T$.JSArrayOfNameValuePair().of([new _debugger.NameValuePair.new({name: "key", value: dart.dload(object, 'key'), config: _debugger.JsonMLConfig.keyToString}), new _debugger.NameValuePair.new({name: "value", value: dart.dload(object, 'value')})]); + } +}; +(_debugger.MapEntryFormatter.new = function() { + ; +}).prototype = _debugger.MapEntryFormatter.prototype; +dart.addTypeTests(_debugger.MapEntryFormatter); +dart.addTypeCaches(_debugger.MapEntryFormatter); +_debugger.MapEntryFormatter[dart.implements] = () => [_debugger.Formatter]; +dart.setMethodSignature(_debugger.MapEntryFormatter, () => ({ + __proto__: dart.getMethods(_debugger.MapEntryFormatter.__proto__), + accept: dart.fnType(core.bool, [dart.dynamic, dart.dynamic]), + preview: dart.fnType(core.String, [dart.dynamic]), + hasChildren: dart.fnType(core.bool, [dart.dynamic]), + children: dart.fnType(core.List$(_debugger.NameValuePair), [dart.dynamic]) +})); +dart.setLibraryUri(_debugger.MapEntryFormatter, I[12]); +_debugger.HeritageClauseFormatter = class HeritageClauseFormatter extends core.Object { + accept(object, config) { + return _debugger.HeritageClause.is(object); + } + preview(object) { + let clause = _debugger.HeritageClause.as(object); + let typeNames = clause.types[$map](core.String, C[7] || CT.C7); + return dart.str(clause.name) + " " + dart.str(typeNames[$join](", ")); + } + hasChildren(object) { + return true; + } + children(object) { + let clause = _debugger.HeritageClause.as(object); + let children = T$.JSArrayOfNameValuePair().of([]); + for (let type of clause.types) { + children[$add](new _debugger.NameValuePair.new({value: type, config: _debugger.JsonMLConfig.asClass})); + } + return children; + } +}; +(_debugger.HeritageClauseFormatter.new = function() { + ; +}).prototype = _debugger.HeritageClauseFormatter.prototype; +dart.addTypeTests(_debugger.HeritageClauseFormatter); +dart.addTypeCaches(_debugger.HeritageClauseFormatter); +_debugger.HeritageClauseFormatter[dart.implements] = () => [_debugger.Formatter]; +dart.setMethodSignature(_debugger.HeritageClauseFormatter, () => ({ + __proto__: dart.getMethods(_debugger.HeritageClauseFormatter.__proto__), + accept: dart.fnType(core.bool, [dart.dynamic, dart.dynamic]), + preview: dart.fnType(core.String, [dart.dynamic]), + hasChildren: dart.fnType(core.bool, [dart.dynamic]), + children: dart.fnType(core.List$(_debugger.NameValuePair), [dart.dynamic]) +})); +dart.setLibraryUri(_debugger.HeritageClauseFormatter, I[12]); +_debugger.IterableSpanFormatter = class IterableSpanFormatter extends core.Object { + accept(object, config) { + return _debugger.IterableSpan.is(object); + } + preview(object) { + return "[" + dart.str(dart.dload(object, 'start')) + "..." + dart.str(dart.dsend(dart.dload(object, 'end'), '-', [1])) + "]"; + } + hasChildren(object) { + return true; + } + children(object) { + return T$.ListOfNameValuePair().as(dart.dsend(object, 'children', [])); + } +}; +(_debugger.IterableSpanFormatter.new = function() { + ; +}).prototype = _debugger.IterableSpanFormatter.prototype; +dart.addTypeTests(_debugger.IterableSpanFormatter); +dart.addTypeCaches(_debugger.IterableSpanFormatter); +_debugger.IterableSpanFormatter[dart.implements] = () => [_debugger.Formatter]; +dart.setMethodSignature(_debugger.IterableSpanFormatter, () => ({ + __proto__: dart.getMethods(_debugger.IterableSpanFormatter.__proto__), + accept: dart.fnType(core.bool, [dart.dynamic, dart.dynamic]), + preview: dart.fnType(core.String, [dart.dynamic]), + hasChildren: dart.fnType(core.bool, [dart.dynamic]), + children: dart.fnType(core.List$(_debugger.NameValuePair), [dart.dynamic]) +})); +dart.setLibraryUri(_debugger.IterableSpanFormatter, I[12]); +_debugger.ErrorAndExceptionFormatter = class ErrorAndExceptionFormatter extends _debugger.ObjectFormatter { + accept(object, config) { + return core.Error.is(object) || core.Exception.is(object); + } + hasChildren(object) { + return true; + } + preview(object) { + let trace = dart.stackTrace(object); + let line = dart.str(trace)[$split]("\n")[$firstWhere](dart.fn(l => { + if (l == null) dart.nullFailed(I[11], 862, 10, "l"); + return l[$contains](_debugger.ErrorAndExceptionFormatter._pattern) && !l[$contains]("dart:sdk") && !l[$contains]("dart_sdk"); + }, T$.StringTobool()), {orElse: dart.fn(() => "", T$.VoidToString())}); + return line !== "" ? dart.str(object) + " at " + dart.str(line) : dart.str(object); + } + children(object) { + let trace = dart.stackTrace(object); + let entries = new (T$._HashSetOfNameValuePair()).new(); + entries.add(new _debugger.NameValuePair.new({name: "stackTrace", value: trace})); + this.addInstanceMembers(object, entries); + _debugger.addMetadataChildren(object, entries); + return entries[$toList](); + } + addInstanceMembers(object, ret) { + if (ret == null) dart.nullFailed(I[11], 880, 54, "ret"); + ret.add(new _debugger.NameValuePair.new({name: "[[instance members]]", value: object, config: _debugger.JsonMLConfig.asObject})); + } +}; +(_debugger.ErrorAndExceptionFormatter.new = function() { + ; +}).prototype = _debugger.ErrorAndExceptionFormatter.prototype; +dart.addTypeTests(_debugger.ErrorAndExceptionFormatter); +dart.addTypeCaches(_debugger.ErrorAndExceptionFormatter); +dart.setMethodSignature(_debugger.ErrorAndExceptionFormatter, () => ({ + __proto__: dart.getMethods(_debugger.ErrorAndExceptionFormatter.__proto__), + children: dart.fnType(core.List$(_debugger.NameValuePair), [dart.dynamic]), + addInstanceMembers: dart.fnType(dart.void, [dart.dynamic, core.Set$(_debugger.NameValuePair)]) +})); +dart.setLibraryUri(_debugger.ErrorAndExceptionFormatter, I[12]); +dart.defineLazy(_debugger.ErrorAndExceptionFormatter, { + /*_debugger.ErrorAndExceptionFormatter._pattern*/get _pattern() { + return core.RegExp.new("\\d+\\:\\d+"); + } +}, false); +_debugger.StackTraceFormatter = class StackTraceFormatter extends core.Object { + accept(object, config) { + return core.StackTrace.is(object); + } + preview(object) { + return "StackTrace"; + } + hasChildren(object) { + return true; + } + children(object) { + return dart.toString(object)[$split]("\n")[$map](_debugger.NameValuePair, dart.fn(line => { + if (line == null) dart.nullFailed(I[11], 901, 13, "line"); + return new _debugger.NameValuePair.new({value: line[$replaceFirst](core.RegExp.new("^\\s+at\\s"), ""), hideName: true}); + }, T$.StringToNameValuePair()))[$toList](); + } +}; +(_debugger.StackTraceFormatter.new = function() { + ; +}).prototype = _debugger.StackTraceFormatter.prototype; +dart.addTypeTests(_debugger.StackTraceFormatter); +dart.addTypeCaches(_debugger.StackTraceFormatter); +_debugger.StackTraceFormatter[dart.implements] = () => [_debugger.Formatter]; +dart.setMethodSignature(_debugger.StackTraceFormatter, () => ({ + __proto__: dart.getMethods(_debugger.StackTraceFormatter.__proto__), + accept: dart.fnType(core.bool, [dart.dynamic, dart.dynamic]), + preview: dart.fnType(core.String, [dart.dynamic]), + hasChildren: dart.fnType(core.bool, [dart.dynamic]), + children: dart.fnType(core.List$(_debugger.NameValuePair), [dart.dynamic]) +})); +dart.setLibraryUri(_debugger.StackTraceFormatter, I[12]); +_debugger.ClassFormatter = class ClassFormatter extends core.Object { + accept(object, config) { + return dart.equals(config, _debugger.JsonMLConfig.asClass); + } + preview(type) { + let $implements = dart.getImplements(type); + let typeName = _debugger.getTypeName(type); + if ($implements != null) { + let typeNames = $implements()[$map](core.String, C[7] || CT.C7); + return dart.str(typeName) + " implements " + dart.str(typeNames[$join](", ")); + } else { + return typeName; + } + } + hasChildren(object) { + return true; + } + children(type) { + let t17, t17$; + let ret = new (T$._HashSetOfNameValuePair()).new(); + let staticProperties = new (T$._HashSetOfNameValuePair()).new(); + let staticMethods = new (T$._HashSetOfNameValuePair()).new(); + _debugger.addPropertiesFromSignature(dart.getStaticFields(type), staticProperties, type, false); + _debugger.addPropertiesFromSignature(dart.getStaticGetters(type), staticProperties, type, false); + _debugger.addPropertiesFromSignature(dart.getStaticMethods(type), staticMethods, type, false); + if (dart.test(staticProperties[$isNotEmpty]) || dart.test(staticMethods[$isNotEmpty])) { + t17 = ret; + (() => { + t17.add(new _debugger.NameValuePair.new({value: "[[Static members]]", hideName: true})); + t17.addAll(_debugger.sortProperties(staticProperties)); + t17.addAll(_debugger.sortProperties(staticMethods)); + return t17; + })(); + } + let instanceMethods = new (T$._HashSetOfNameValuePair()).new(); + _debugger.addPropertiesFromSignature(dart.getMethods(type), instanceMethods, type.prototype, false, {tagTypes: true}); + if (dart.test(instanceMethods[$isNotEmpty])) { + t17$ = ret; + (() => { + t17$.add(new _debugger.NameValuePair.new({value: "[[Instance Methods]]", hideName: true})); + t17$.addAll(_debugger.sortProperties(instanceMethods)); + return t17$; + })(); + } + let mixin = dart.getMixin(type); + if (mixin != null) { + ret.add(new _debugger.NameValuePair.new({name: "[[Mixins]]", value: new _debugger.HeritageClause.new("mixins", [mixin])})); + } + let baseProto = type.__proto__; + if (baseProto != null && !dart.test(dart.isJsInterop(baseProto))) { + ret.add(new _debugger.NameValuePair.new({name: "[[base class]]", value: baseProto, config: _debugger.JsonMLConfig.asClass})); + } + return ret[$toList](); + } +}; +(_debugger.ClassFormatter.new = function() { + ; +}).prototype = _debugger.ClassFormatter.prototype; +dart.addTypeTests(_debugger.ClassFormatter); +dart.addTypeCaches(_debugger.ClassFormatter); +_debugger.ClassFormatter[dart.implements] = () => [_debugger.Formatter]; +dart.setMethodSignature(_debugger.ClassFormatter, () => ({ + __proto__: dart.getMethods(_debugger.ClassFormatter.__proto__), + accept: dart.fnType(core.bool, [dart.dynamic, dart.dynamic]), + preview: dart.fnType(core.String, [dart.dynamic]), + hasChildren: dart.fnType(core.bool, [dart.dynamic]), + children: dart.fnType(core.List$(_debugger.NameValuePair), [dart.dynamic]) +})); +dart.setLibraryUri(_debugger.ClassFormatter, I[12]); +_debugger.TypeFormatter = class TypeFormatter extends core.Object { + accept(object, config) { + return core.Type.is(object); + } + preview(object) { + return dart.toString(object); + } + hasChildren(object) { + return false; + } + children(object) { + return T$.JSArrayOfNameValuePair().of([]); + } +}; +(_debugger.TypeFormatter.new = function() { + ; +}).prototype = _debugger.TypeFormatter.prototype; +dart.addTypeTests(_debugger.TypeFormatter); +dart.addTypeCaches(_debugger.TypeFormatter); +_debugger.TypeFormatter[dart.implements] = () => [_debugger.Formatter]; +dart.setMethodSignature(_debugger.TypeFormatter, () => ({ + __proto__: dart.getMethods(_debugger.TypeFormatter.__proto__), + accept: dart.fnType(core.bool, [dart.dynamic, dart.dynamic]), + preview: dart.fnType(core.String, [dart.dynamic]), + hasChildren: dart.fnType(core.bool, [dart.dynamic]), + children: dart.fnType(core.List$(_debugger.NameValuePair), [dart.dynamic]) +})); +dart.setLibraryUri(_debugger.TypeFormatter, I[12]); +_debugger._MethodStats = class _MethodStats extends core.Object {}; +(_debugger._MethodStats.new = function(typeName, frame) { + if (typeName == null) dart.nullFailed(I[13], 13, 21, "typeName"); + if (frame == null) dart.nullFailed(I[13], 13, 36, "frame"); + this.count = 0.0; + this.typeName = typeName; + this.frame = frame; + ; +}).prototype = _debugger._MethodStats.prototype; +dart.addTypeTests(_debugger._MethodStats); +dart.addTypeCaches(_debugger._MethodStats); +dart.setLibraryUri(_debugger._MethodStats, I[12]); +dart.setFieldSignature(_debugger._MethodStats, () => ({ + __proto__: dart.getFields(_debugger._MethodStats.__proto__), + typeName: dart.finalFieldType(core.String), + frame: dart.finalFieldType(core.String), + count: dart.fieldType(core.double) +})); +_debugger._CallMethodRecord = class _CallMethodRecord extends core.Object {}; +(_debugger._CallMethodRecord.new = function(jsError, type) { + this.jsError = jsError; + this.type = type; + ; +}).prototype = _debugger._CallMethodRecord.prototype; +dart.addTypeTests(_debugger._CallMethodRecord); +dart.addTypeCaches(_debugger._CallMethodRecord); +dart.setLibraryUri(_debugger._CallMethodRecord, I[12]); +dart.setFieldSignature(_debugger._CallMethodRecord, () => ({ + __proto__: dart.getFields(_debugger._CallMethodRecord.__proto__), + jsError: dart.fieldType(dart.dynamic), + type: dart.fieldType(dart.dynamic) +})); +_debugger._typeof = function _typeof(object) { + return typeof object; +}; +_debugger.getOwnPropertyNames = function getOwnPropertyNames(object) { + return T$.JSArrayOfString().of(dart.getOwnPropertyNames(object)); +}; +_debugger.getOwnPropertySymbols = function getOwnPropertySymbols(object) { + return Object.getOwnPropertySymbols(object); +}; +_debugger.addMetadataChildren = function addMetadataChildren(object, ret) { + if (ret == null) dart.nullFailed(I[11], 63, 53, "ret"); + ret.add(new _debugger.NameValuePair.new({name: "[[class]]", value: dart.getReifiedType(object), config: _debugger.JsonMLConfig.asClass})); +}; +_debugger.addPropertiesFromSignature = function addPropertiesFromSignature(sig, properties, object, walkPrototypeChain, opts) { + let t17; + if (properties == null) dart.nullFailed(I[11], 75, 29, "properties"); + if (walkPrototypeChain == null) dart.nullFailed(I[11], 75, 54, "walkPrototypeChain"); + let tagTypes = opts && 'tagTypes' in opts ? opts.tagTypes : false; + let skippedNames = (t17 = new collection._HashSet.new(), (() => { + t17.add("hashCode"); + return t17; + })()); + let objectPrototype = Object.prototype; + while (sig != null && !core.identical(sig, objectPrototype)) { + for (let symbol of _debugger.getOwnPropertySymbols(sig)) { + let dartName = _debugger.symbolName(symbol); + let dartXPrefix = "dartx."; + if (dartName[$startsWith](dartXPrefix)) { + dartName = dartName[$substring](dartXPrefix.length); + } + if (dart.test(skippedNames.contains(dartName))) continue; + let value = _debugger.safeGetProperty(core.Object.as(object), core.Object.as(symbol)); + if (dart.dtest(tagTypes) && _debugger._typeof(value) === "function") { + dart.fn(value, sig[symbol]); + } + properties.add(new _debugger.NameValuePair.new({name: dartName, value: value})); + } + for (let name of _debugger.getOwnPropertyNames(sig)) { + let value = _debugger.safeGetProperty(core.Object.as(object), name); + if (dart.test(skippedNames.contains(name))) continue; + if (dart.dtest(tagTypes) && _debugger._typeof(value) === "function") { + dart.fn(value, sig[name]); + } + properties.add(new _debugger.NameValuePair.new({name: name, value: value})); + } + if (!dart.test(walkPrototypeChain)) break; + sig = dart.getPrototypeOf(sig); + } +}; +_debugger.sortProperties = function sortProperties(properties) { + if (properties == null) dart.nullFailed(I[11], 115, 60, "properties"); + let sortedProperties = properties[$toList](); + sortedProperties[$sort](dart.fn((a, b) => { + if (a == null) dart.nullFailed(I[11], 118, 26, "a"); + if (b == null) dart.nullFailed(I[11], 118, 29, "b"); + let aPrivate = a.name[$startsWith]("_"); + let bPrivate = b.name[$startsWith]("_"); + if (aPrivate !== bPrivate) return aPrivate ? 1 : -1; + return a.name[$compareTo](b.name); + }, T$.NameValuePairAndNameValuePairToint())); + return sortedProperties; +}; +_debugger.getObjectTypeName = function getObjectTypeName(object) { + let reifiedType = dart.getReifiedType(object); + if (reifiedType == null) { + if (_debugger._typeof(object) === "function") { + return "[[Raw JavaScript Function]]"; + } + return ""; + } + return _debugger.getTypeName(reifiedType); +}; +_debugger.getTypeName = function getTypeName(type) { + return dart.typeName(type); +}; +_debugger.safePreview = function safePreview(object, config) { + try { + let preview = _debugger._devtoolsFormatter[_simpleFormatter$].preview(object, config); + if (preview != null) return preview; + return dart.toString(object); + } catch (e$) { + let e = dart.getThrown(e$); + if (core.Object.is(e)) { + return " " + dart.str(e); + } else + throw e$; + } +}; +_debugger.symbolName = function symbolName(symbol) { + let name = dart.toString(symbol); + if (!name[$startsWith]("Symbol(")) dart.assertFailed(null, I[11], 157, 10, "name.startsWith('Symbol(')"); + return name[$substring]("Symbol(".length, name.length - 1); +}; +_debugger.hasMethod = function hasMethod$(object, name) { + if (name == null) dart.nullFailed(I[11], 161, 31, "name"); + try { + return dart.hasMethod(object, name); + } catch (e$) { + let e = dart.getThrown(e$); + if (core.Object.is(e)) { + return false; + } else + throw e$; + } +}; +_debugger.safeGetProperty = function safeGetProperty(protoChain, name) { + if (protoChain == null) dart.nullFailed(I[11], 267, 32, "protoChain"); + if (name == null) dart.nullFailed(I[11], 267, 51, "name"); + try { + return _debugger.JSNative.getProperty(protoChain, name); + } catch (e$) { + let e = dart.getThrown(e$); + if (core.Object.is(e)) { + return " " + dart.str(e); + } else + throw e$; + } +}; +_debugger.safeProperties = function safeProperties(object) { + return T$.LinkedHashMapOfdynamic$ObjectN().fromIterable(_debugger.getOwnPropertyNames(object)[$where](dart.fn(each => { + if (each == null) dart.nullFailed(I[11], 277, 17, "each"); + return _debugger.safeGetProperty(core.Object.as(object), each) != null; + }, T$.StringTobool())), {key: dart.fn(name => name, T$.dynamicTodynamic()), value: dart.fn(name => _debugger.safeGetProperty(core.Object.as(object), core.Object.as(name)), T$.dynamicToObjectN())}); +}; +_debugger.isNativeJavaScriptObject = function isNativeJavaScriptObject(object) { + let type = _debugger._typeof(object); + if (type !== "object" && type !== "function") return true; + if (dart.test(dart.isJsInterop(object)) && dart.getModuleName(core.Object.as(object)) == null) { + return true; + } + return object instanceof Node; +}; +_debugger.registerDevtoolsFormatter = function registerDevtoolsFormatter() { + dart.global.devtoolsFormatters = [_debugger._devtoolsFormatter]; +}; +_debugger.getModuleNames = function getModuleNames$() { + return dart.getModuleNames(); +}; +_debugger.getModuleLibraries = function getModuleLibraries$(name) { + if (name == null) dart.nullFailed(I[11], 1015, 27, "name"); + return dart.getModuleLibraries(name); +}; +_debugger.getDynamicStats = function getDynamicStats() { + let t20; + let callMethodStats = new (T$.IdentityMapOfString$_MethodStats()).new(); + if (dart.notNull(_debugger._callMethodRecords[$length]) > 0) { + let recordRatio = dart.notNull(_debugger._totalCallRecords) / dart.notNull(_debugger._callMethodRecords[$length]); + for (let record of _debugger._callMethodRecords) { + let stackStr = record.jsError.stack; + let frames = stackStr[$split]("\n"); + let src = frames[$skip](2)[$map](core.String, dart.fn(f => { + if (f == null) dart.nullFailed(I[13], 66, 17, "f"); + return _debugger._frameMappingCache[$putIfAbsent](f, dart.fn(() => dart.nullCheck(_debugger.stackTraceMapper)("\n" + dart.str(f)), T$.VoidToString())); + }, T$.StringToString()))[$firstWhere](dart.fn(f => { + if (f == null) dart.nullFailed(I[13], 68, 24, "f"); + return !f[$startsWith]("dart:"); + }, T$.StringTobool()), {orElse: dart.fn(() => "", T$.VoidToString())}); + let actualTypeName = dart.typeName(record.type); + t20 = callMethodStats[$putIfAbsent](actualTypeName + " <" + dart.str(src) + ">", dart.fn(() => new _debugger._MethodStats.new(actualTypeName, src), T$.VoidTo_MethodStats())); + t20.count = dart.notNull(t20.count) + recordRatio; + } + if (_debugger._totalCallRecords != _debugger._callMethodRecords[$length]) { + for (let k of callMethodStats[$keys][$toList]()) { + let stats = dart.nullCheck(callMethodStats[$_get](k)); + let threshold = dart.notNull(_debugger._minCount) * recordRatio; + if (dart.notNull(stats.count) + 0.001 < threshold) { + callMethodStats[$remove](k); + } + } + } + } + _debugger._callMethodRecords[$clear](); + _debugger._totalCallRecords = 0; + let keys = callMethodStats[$keys][$toList](); + keys[$sort](dart.fn((a, b) => { + if (a == null) dart.nullFailed(I[13], 94, 8, "a"); + if (b == null) dart.nullFailed(I[13], 94, 11, "b"); + return dart.nullCheck(callMethodStats[$_get](b)).count[$compareTo](dart.nullCheck(callMethodStats[$_get](a)).count); + }, T$.StringAndStringToint())); + let ret = T$.JSArrayOfListOfObject().of([]); + for (let key of keys) { + let stats = dart.nullCheck(callMethodStats[$_get](key)); + ret[$add](T$.JSArrayOfObject().of([stats.typeName, stats.frame, stats.count[$round]()])); + } + return ret; +}; +_debugger.clearDynamicStats = function clearDynamicStats() { + _debugger._callMethodRecords[$clear](); +}; +_debugger.trackCall = function trackCall(obj) { + if (!_debugger._trackProfile) return; + let index = -1; + _debugger._totalCallRecords = dart.notNull(_debugger._totalCallRecords) + 1; + if (_debugger._callMethodRecords[$length] == _debugger._callRecordSampleSize) { + index = Math.floor(Math.random() * _debugger._totalCallRecords); + if (index >= dart.notNull(_debugger._callMethodRecords[$length])) return; + } + let record = new _debugger._CallMethodRecord.new(new Error(), dart.getReifiedType(obj)); + if (index === -1) { + _debugger._callMethodRecords[$add](record); + } else { + _debugger._callMethodRecords[$_set](index, record); + } +}; +dart.copyProperties(_debugger, { + get stackTraceMapper() { + let _util = dart.global.$dartStackTraceUtility; + return _util != null ? _util.mapper : null; + }, + get _trackProfile() { + return dart.__trackProfile; + } +}); +dart.defineLazy(_debugger, { + /*_debugger._maxSpanLength*/get _maxSpanLength() { + return 100; + }, + set _maxSpanLength(_) {}, + /*_debugger._devtoolsFormatter*/get _devtoolsFormatter() { + return new _debugger.JsonMLFormatter.new(new _debugger.DartFormatter.new()); + }, + set _devtoolsFormatter(_) {}, + /*_debugger.maxFormatterStringLength*/get maxFormatterStringLength() { + return 100; + }, + set maxFormatterStringLength(_) {}, + /*_debugger._callRecordSampleSize*/get _callRecordSampleSize() { + return 5000; + }, + set _callRecordSampleSize(_) {}, + /*_debugger._callMethodRecords*/get _callMethodRecords() { + return T$.JSArrayOf_CallMethodRecord().of([]); + }, + set _callMethodRecords(_) {}, + /*_debugger._totalCallRecords*/get _totalCallRecords() { + return 0; + }, + set _totalCallRecords(_) {}, + /*_debugger._minCount*/get _minCount() { + return 2; + }, + set _minCount(_) {}, + /*_debugger._frameMappingCache*/get _frameMappingCache() { + return new (T$.IdentityMapOfString$String()).new(); + }, + set _frameMappingCache(_) {} +}, false); +var name$4 = dart.privateName(_foreign_helper, "JSExportName.name"); +_foreign_helper.JSExportName = class JSExportName extends core.Object { + get name() { + return this[name$4]; + } + set name(value) { + super.name = value; + } +}; +(_foreign_helper.JSExportName.new = function(name) { + if (name == null) dart.nullFailed(I[14], 139, 27, "name"); + this[name$4] = name; + ; +}).prototype = _foreign_helper.JSExportName.prototype; +dart.addTypeTests(_foreign_helper.JSExportName); +dart.addTypeCaches(_foreign_helper.JSExportName); +dart.setLibraryUri(_foreign_helper.JSExportName, I[15]); +dart.setFieldSignature(_foreign_helper.JSExportName, () => ({ + __proto__: dart.getFields(_foreign_helper.JSExportName.__proto__), + name: dart.finalFieldType(core.String) +})); +var code$ = dart.privateName(_foreign_helper, "JS_CONST.code"); +_foreign_helper.JS_CONST = class JS_CONST extends core.Object { + get code() { + return this[code$]; + } + set code(value) { + super.code = value; + } +}; +(_foreign_helper.JS_CONST.new = function(code) { + if (code == null) dart.nullFailed(I[14], 259, 23, "code"); + this[code$] = code; + ; +}).prototype = _foreign_helper.JS_CONST.prototype; +dart.addTypeTests(_foreign_helper.JS_CONST); +dart.addTypeCaches(_foreign_helper.JS_CONST); +dart.setLibraryUri(_foreign_helper.JS_CONST, I[15]); +dart.setFieldSignature(_foreign_helper.JS_CONST, () => ({ + __proto__: dart.getFields(_foreign_helper.JS_CONST.__proto__), + code: dart.finalFieldType(core.String) +})); +_foreign_helper._Rest = class _Rest extends core.Object {}; +(_foreign_helper._Rest.new = function() { + ; +}).prototype = _foreign_helper._Rest.prototype; +dart.addTypeTests(_foreign_helper._Rest); +dart.addTypeCaches(_foreign_helper._Rest); +dart.setLibraryUri(_foreign_helper._Rest, I[15]); +_foreign_helper.JS_DART_OBJECT_CONSTRUCTOR = function JS_DART_OBJECT_CONSTRUCTOR() { +}; +_foreign_helper.JS_INTERCEPTOR_CONSTANT = function JS_INTERCEPTOR_CONSTANT(type) { + if (type == null) dart.nullFailed(I[14], 157, 30, "type"); +}; +_foreign_helper.JS_EFFECT = function JS_EFFECT(code) { + if (code == null) dart.nullFailed(I[14], 244, 25, "code"); + dart.dcall(code, [null]); +}; +_foreign_helper.spread = function spread(args) { + dart.throw(new core.StateError.new("The spread function cannot be called, " + "it should be compiled away.")); +}; +dart.defineLazy(_foreign_helper, { + /*_foreign_helper.rest*/get rest() { + return C[8] || CT.C8; + } +}, false); +_interceptors.Interceptor = class Interceptor extends core.Object { + toString() { + return this.toString(); + } +}; +(_interceptors.Interceptor.new = function() { + ; +}).prototype = _interceptors.Interceptor.prototype; +dart.addTypeTests(_interceptors.Interceptor); +dart.addTypeCaches(_interceptors.Interceptor); +dart.setLibraryUri(_interceptors.Interceptor, I[16]); +dart.defineExtensionMethods(_interceptors.Interceptor, ['toString']); +_interceptors.JSBool = class JSBool extends _interceptors.Interceptor { + [$toString]() { + return String(this); + } + get [$hashCode]() { + return this ? 2 * 3 * 23 * 3761 : 269 * 811; + } + [$bitAnd](other) { + if (other == null) dart.argumentError(other); + return other && this; + } + [$bitOr](other) { + if (other == null) dart.argumentError(other); + return other || this; + } + [$bitXor](other) { + if (other == null) dart.argumentError(other); + return this !== other; + } + get [$runtimeType]() { + return dart.wrapType(core.bool); + } +}; +(_interceptors.JSBool.new = function() { + _interceptors.JSBool.__proto__.new.call(this); + ; +}).prototype = _interceptors.JSBool.prototype; +dart.addTypeTests(_interceptors.JSBool); +dart.addTypeCaches(_interceptors.JSBool); +_interceptors.JSBool[dart.implements] = () => [core.bool]; +dart.setMethodSignature(_interceptors.JSBool, () => ({ + __proto__: dart.getMethods(_interceptors.JSBool.__proto__), + [$bitAnd]: dart.fnType(core.bool, [core.bool]), + [$bitOr]: dart.fnType(core.bool, [core.bool]), + [$bitXor]: dart.fnType(core.bool, [core.bool]) +})); +dart.setLibraryUri(_interceptors.JSBool, I[16]); +dart.definePrimitiveHashCode(_interceptors.JSBool.prototype); +dart.registerExtension("Boolean", _interceptors.JSBool); +const _is_JSIndexable_default = Symbol('_is_JSIndexable_default'); +_interceptors.JSIndexable$ = dart.generic(E => { + class JSIndexable extends core.Object {} + (JSIndexable.new = function() { + ; + }).prototype = JSIndexable.prototype; + dart.addTypeTests(JSIndexable); + JSIndexable.prototype[_is_JSIndexable_default] = true; + dart.addTypeCaches(JSIndexable); + dart.setLibraryUri(JSIndexable, I[16]); + return JSIndexable; +}); +_interceptors.JSIndexable = _interceptors.JSIndexable$(); +dart.addTypeTests(_interceptors.JSIndexable, _is_JSIndexable_default); +const _is_JSMutableIndexable_default = Symbol('_is_JSMutableIndexable_default'); +_interceptors.JSMutableIndexable$ = dart.generic(E => { + class JSMutableIndexable extends _interceptors.JSIndexable$(E) {} + (JSMutableIndexable.new = function() { + ; + }).prototype = JSMutableIndexable.prototype; + dart.addTypeTests(JSMutableIndexable); + JSMutableIndexable.prototype[_is_JSMutableIndexable_default] = true; + dart.addTypeCaches(JSMutableIndexable); + dart.setLibraryUri(JSMutableIndexable, I[16]); + return JSMutableIndexable; +}); +_interceptors.JSMutableIndexable = _interceptors.JSMutableIndexable$(); +dart.addTypeTests(_interceptors.JSMutableIndexable, _is_JSMutableIndexable_default); +_interceptors.JSObject = class JSObject extends core.Object {}; +(_interceptors.JSObject.new = function() { + ; +}).prototype = _interceptors.JSObject.prototype; +dart.addTypeTests(_interceptors.JSObject); +dart.addTypeCaches(_interceptors.JSObject); +dart.setLibraryUri(_interceptors.JSObject, I[16]); +_interceptors.JavaScriptObject = class JavaScriptObject extends _interceptors.Interceptor { + get hashCode() { + return 0; + } + get runtimeType() { + return dart.wrapType(_interceptors.JSObject); + } +}; +(_interceptors.JavaScriptObject.new = function() { + _interceptors.JavaScriptObject.__proto__.new.call(this); + ; +}).prototype = _interceptors.JavaScriptObject.prototype; +dart.addTypeTests(_interceptors.JavaScriptObject); +dart.addTypeCaches(_interceptors.JavaScriptObject); +_interceptors.JavaScriptObject[dart.implements] = () => [_interceptors.JSObject]; +dart.setLibraryUri(_interceptors.JavaScriptObject, I[16]); +dart.defineExtensionAccessors(_interceptors.JavaScriptObject, ['hashCode', 'runtimeType']); +_interceptors.PlainJavaScriptObject = class PlainJavaScriptObject extends _interceptors.JavaScriptObject {}; +(_interceptors.PlainJavaScriptObject.new = function() { + _interceptors.PlainJavaScriptObject.__proto__.new.call(this); + ; +}).prototype = _interceptors.PlainJavaScriptObject.prototype; +dart.addTypeTests(_interceptors.PlainJavaScriptObject); +dart.addTypeCaches(_interceptors.PlainJavaScriptObject); +dart.setLibraryUri(_interceptors.PlainJavaScriptObject, I[16]); +_interceptors.UnknownJavaScriptObject = class UnknownJavaScriptObject extends _interceptors.JavaScriptObject { + toString() { + return String(this); + } +}; +(_interceptors.UnknownJavaScriptObject.new = function() { + _interceptors.UnknownJavaScriptObject.__proto__.new.call(this); + ; +}).prototype = _interceptors.UnknownJavaScriptObject.prototype; +dart.addTypeTests(_interceptors.UnknownJavaScriptObject); +dart.addTypeCaches(_interceptors.UnknownJavaScriptObject); +dart.setLibraryUri(_interceptors.UnknownJavaScriptObject, I[16]); +dart.defineExtensionMethods(_interceptors.UnknownJavaScriptObject, ['toString']); +_interceptors.NativeError = class NativeError extends _interceptors.Interceptor { + dartStack() { + return this.stack; + } +}; +(_interceptors.NativeError.new = function() { + _interceptors.NativeError.__proto__.new.call(this); + ; +}).prototype = _interceptors.NativeError.prototype; +dart.addTypeTests(_interceptors.NativeError); +dart.addTypeCaches(_interceptors.NativeError); +dart.setMethodSignature(_interceptors.NativeError, () => ({ + __proto__: dart.getMethods(_interceptors.NativeError.__proto__), + dartStack: dart.fnType(core.String, []), + [$dartStack]: dart.fnType(core.String, []) +})); +dart.setLibraryUri(_interceptors.NativeError, I[16]); +dart.defineExtensionMethods(_interceptors.NativeError, ['dartStack']); +var _fieldName = dart.privateName(_interceptors, "_fieldName"); +var _functionCallTarget = dart.privateName(_interceptors, "_functionCallTarget"); +var _receiver = dart.privateName(_interceptors, "_receiver"); +var _receiver$ = dart.privateName(core, "_receiver"); +var _arguments = dart.privateName(_interceptors, "_arguments"); +var _arguments$ = dart.privateName(core, "_arguments"); +var _memberName = dart.privateName(_interceptors, "_memberName"); +var _memberName$ = dart.privateName(core, "_memberName"); +var _invocation = dart.privateName(_interceptors, "_invocation"); +var _invocation$ = dart.privateName(core, "_invocation"); +var _namedArguments = dart.privateName(_interceptors, "_namedArguments"); +var _namedArguments$ = dart.privateName(core, "_namedArguments"); +_interceptors.JSNoSuchMethodError = class JSNoSuchMethodError extends _interceptors.NativeError { + [_fieldName](message) { + let t20; + if (message == null) dart.nullFailed(I[17], 131, 29, "message"); + let match = _interceptors.JSNoSuchMethodError._nullError.firstMatch(message); + if (match == null) return null; + let name = dart.nullCheck(match._get(1)); + match = (t20 = _interceptors.JSNoSuchMethodError._extensionName.firstMatch(name), t20 == null ? _interceptors.JSNoSuchMethodError._privateName.firstMatch(name) : t20); + return match != null ? match._get(1) : name; + } + [_functionCallTarget](message) { + if (message == null) dart.nullFailed(I[17], 139, 38, "message"); + let match = _interceptors.JSNoSuchMethodError._notAFunction.firstMatch(message); + return match != null ? match._get(1) : null; + } + [$dartStack]() { + let stack = super[$dartStack](); + stack = dart.notNull(this[$toString]()) + "\n" + dart.notNull(stack[$split]("\n")[$sublist](1)[$join]("\n")); + return stack; + } + get [$stackTrace]() { + return dart.stackTrace(this); + } + [$toString]() { + let message = this.message; + let callTarget = this[_functionCallTarget](message); + if (callTarget != null) { + return "NoSuchMethodError: tried to call a non-function, such as null: " + "'" + dart.str(callTarget) + "'"; + } + let name = this[_fieldName](message); + if (name == null) { + return this.toString(); + } + return "NoSuchMethodError: invalid member on null: '" + dart.str(name) + "'"; + } + get [_receiver$]() { + return this[$noSuchMethod](new core._Invocation.getter(C[9] || CT.C9)); + } + get [_arguments$]() { + return T$.ListN().as(this[$noSuchMethod](new core._Invocation.getter(C[10] || CT.C10))); + } + get [_memberName$]() { + return core.Symbol.as(this[$noSuchMethod](new core._Invocation.getter(C[11] || CT.C11))); + } + get [_invocation$]() { + return T$.InvocationN().as(this[$noSuchMethod](new core._Invocation.getter(C[12] || CT.C12))); + } + get [_namedArguments$]() { + return T$.MapNOfSymbol$dynamic().as(this[$noSuchMethod](new core._Invocation.getter(C[13] || CT.C13))); + } +}; +(_interceptors.JSNoSuchMethodError.new = function() { + _interceptors.JSNoSuchMethodError.__proto__.new.call(this); + ; +}).prototype = _interceptors.JSNoSuchMethodError.prototype; +dart.addTypeTests(_interceptors.JSNoSuchMethodError); +dart.addTypeCaches(_interceptors.JSNoSuchMethodError); +_interceptors.JSNoSuchMethodError[dart.implements] = () => [core.NoSuchMethodError]; +dart.setMethodSignature(_interceptors.JSNoSuchMethodError, () => ({ + __proto__: dart.getMethods(_interceptors.JSNoSuchMethodError.__proto__), + [_fieldName]: dart.fnType(dart.nullable(core.String), [core.String]), + [_functionCallTarget]: dart.fnType(dart.nullable(core.String), [core.String]) +})); +dart.setGetterSignature(_interceptors.JSNoSuchMethodError, () => ({ + __proto__: dart.getGetters(_interceptors.JSNoSuchMethodError.__proto__), + [$stackTrace]: core.StackTrace, + [_receiver$]: dart.nullable(core.Object), + [_arguments$]: dart.nullable(core.List), + [_memberName$]: core.Symbol, + [_invocation$]: dart.nullable(core.Invocation), + [_namedArguments$]: dart.nullable(core.Map$(core.Symbol, dart.dynamic)) +})); +dart.setLibraryUri(_interceptors.JSNoSuchMethodError, I[16]); +dart.defineLazy(_interceptors.JSNoSuchMethodError, { + /*_interceptors.JSNoSuchMethodError._nullError*/get _nullError() { + return core.RegExp.new("^Cannot read property '(.+)' of null$"); + }, + /*_interceptors.JSNoSuchMethodError._notAFunction*/get _notAFunction() { + return core.RegExp.new("^(.+) is not a function$"); + }, + /*_interceptors.JSNoSuchMethodError._extensionName*/get _extensionName() { + return core.RegExp.new("^Symbol\\(dartx\\.(.+)\\)$"); + }, + /*_interceptors.JSNoSuchMethodError._privateName*/get _privateName() { + return core.RegExp.new("^Symbol\\((_.+)\\)$"); + } +}, false); +dart.registerExtension("TypeError", _interceptors.JSNoSuchMethodError); +_interceptors.JSFunction = class JSFunction extends _interceptors.Interceptor { + [$toString]() { + if (dart.isType(this)) return dart.typeName(this); + return "Closure: " + dart.typeName(dart.getReifiedType(this)) + " from: " + this; + } + [$_equals](other) { + if (other == null) return false; + if (other == null) return false; + let boundObj = this._boundObject; + if (boundObj == null) return this === other; + return boundObj === other._boundObject && this._boundMethod === other._boundMethod; + } + get [$hashCode]() { + let boundObj = this._boundObject; + if (boundObj == null) return core.identityHashCode(this); + let boundMethod = this._boundMethod; + let hash = 17 * 31 + dart.notNull(dart.hashCode(boundObj)) & 536870911; + return hash * 31 + dart.notNull(core.identityHashCode(boundMethod)) & 536870911; + } + get [$runtimeType]() { + return dart.wrapType(dart.getReifiedType(this)); + } +}; +(_interceptors.JSFunction.new = function() { + _interceptors.JSFunction.__proto__.new.call(this); + ; +}).prototype = _interceptors.JSFunction.prototype; +dart.addTypeTests(_interceptors.JSFunction); +dart.addTypeCaches(_interceptors.JSFunction); +dart.setLibraryUri(_interceptors.JSFunction, I[16]); +dart.registerExtension("Function", _interceptors.JSFunction); +_interceptors.JSNull = class JSNull extends core.Object { + toString() { + return "null"; + } + noSuchMethod(i) { + if (i == null) dart.nullFailed(I[17], 215, 27, "i"); + return dart.defaultNoSuchMethod(null, i); + } +}; +(_interceptors.JSNull.new = function() { + ; +}).prototype = _interceptors.JSNull.prototype; +dart.addTypeTests(_interceptors.JSNull); +dart.addTypeCaches(_interceptors.JSNull); +dart.setLibraryUri(_interceptors.JSNull, I[16]); +dart.defineExtensionMethods(_interceptors.JSNull, ['toString', 'noSuchMethod']); +var _hasValue = dart.privateName(_interceptors, "_hasValue"); +var _hasValue$ = dart.privateName(core, "_hasValue"); +var _errorExplanation = dart.privateName(_interceptors, "_errorExplanation"); +var _errorExplanation$ = dart.privateName(core, "_errorExplanation"); +var _errorName = dart.privateName(_interceptors, "_errorName"); +var _errorName$ = dart.privateName(core, "_errorName"); +_interceptors.JSRangeError = class JSRangeError extends _interceptors.Interceptor { + get [$stackTrace]() { + return dart.stackTrace(this); + } + get [$invalidValue]() { + return null; + } + get [$name]() { + return null; + } + get [$message]() { + return this.message; + } + [$toString]() { + return "Invalid argument: " + dart.str(this[$message]); + } + get [_hasValue$]() { + return core.bool.as(this[$noSuchMethod](new core._Invocation.getter(C[14] || CT.C14))); + } + get [_errorExplanation$]() { + return core.String.as(this[$noSuchMethod](new core._Invocation.getter(C[15] || CT.C15))); + } + get [_errorName$]() { + return core.String.as(this[$noSuchMethod](new core._Invocation.getter(C[16] || CT.C16))); + } +}; +(_interceptors.JSRangeError.new = function() { + _interceptors.JSRangeError.__proto__.new.call(this); + ; +}).prototype = _interceptors.JSRangeError.prototype; +dart.addTypeTests(_interceptors.JSRangeError); +dart.addTypeCaches(_interceptors.JSRangeError); +_interceptors.JSRangeError[dart.implements] = () => [core.ArgumentError]; +dart.setGetterSignature(_interceptors.JSRangeError, () => ({ + __proto__: dart.getGetters(_interceptors.JSRangeError.__proto__), + [$stackTrace]: core.StackTrace, + [$invalidValue]: dart.dynamic, + [$name]: dart.nullable(core.String), + [$message]: dart.dynamic, + [_hasValue$]: core.bool, + [_errorExplanation$]: core.String, + [_errorName$]: core.String +})); +dart.setLibraryUri(_interceptors.JSRangeError, I[16]); +dart.registerExtension("RangeError", _interceptors.JSRangeError); +var _setLengthUnsafe = dart.privateName(_interceptors, "_setLengthUnsafe"); +var _removeWhere = dart.privateName(_interceptors, "_removeWhere"); +const _is_JSArray_default = Symbol('_is_JSArray_default'); +_interceptors.JSArray$ = dart.generic(E => { + var IterableOfE = () => (IterableOfE = dart.constFn(core.Iterable$(E)))(); + var WhereIterableOfE = () => (WhereIterableOfE = dart.constFn(_internal.WhereIterable$(E)))(); + var SubListIterableOfE = () => (SubListIterableOfE = dart.constFn(_internal.SubListIterable$(E)))(); + var TakeWhileIterableOfE = () => (TakeWhileIterableOfE = dart.constFn(_internal.TakeWhileIterable$(E)))(); + var SkipWhileIterableOfE = () => (SkipWhileIterableOfE = dart.constFn(_internal.SkipWhileIterable$(E)))(); + var EAndEToE = () => (EAndEToE = dart.constFn(dart.fnType(E, [E, E])))(); + var VoidToE = () => (VoidToE = dart.constFn(dart.fnType(E, [])))(); + var VoidToNE = () => (VoidToNE = dart.constFn(dart.nullable(VoidToE())))(); + var JSArrayOfE = () => (JSArrayOfE = dart.constFn(_interceptors.JSArray$(E)))(); + var ListOfE = () => (ListOfE = dart.constFn(core.List$(E)))(); + var EN = () => (EN = dart.constFn(dart.nullable(E)))(); + var ReversedListIterableOfE = () => (ReversedListIterableOfE = dart.constFn(_internal.ReversedListIterable$(E)))(); + var LinkedHashSetOfE = () => (LinkedHashSetOfE = dart.constFn(collection.LinkedHashSet$(E)))(); + var ArrayIteratorOfE = () => (ArrayIteratorOfE = dart.constFn(_interceptors.ArrayIterator$(E)))(); + var ListMapViewOfE = () => (ListMapViewOfE = dart.constFn(_internal.ListMapView$(E)))(); + var FollowedByIterableOfE = () => (FollowedByIterableOfE = dart.constFn(_internal.FollowedByIterable$(E)))(); + class JSArray extends core.Object { + constructor() { + return []; + } + static of(list) { + list.__proto__ = JSArray.prototype; + return list; + } + static fixed(list) { + list.__proto__ = JSArray.prototype; + list.fixed$length = Array; + return list; + } + static unmodifiable(list) { + list.__proto__ = JSArray.prototype; + list.fixed$length = Array; + list.immutable$list = Array; + return list; + } + static markFixedList(list) { + list.fixed$length = Array; + } + static markUnmodifiableList(list) { + list.fixed$length = Array; + list.immutable$list = Array; + } + [$checkMutable](reason) { + if (this.immutable$list) { + dart.throw(new core.UnsupportedError.new(core.String.as(reason))); + } + } + [$checkGrowable](reason) { + if (this.fixed$length) { + dart.throw(new core.UnsupportedError.new(core.String.as(reason))); + } + } + [$cast](R) { + return core.List.castFrom(E, R, this); + } + [$add](value) { + E.as(value); + this[$checkGrowable]("add"); + this.push(value); + } + [$removeAt](index) { + if (index == null) dart.argumentError(index); + this[$checkGrowable]("removeAt"); + if (index < 0 || index >= this[$length]) { + dart.throw(new core.RangeError.value(index)); + } + return this.splice(index, 1)[0]; + } + [$insert](index, value) { + if (index == null) dart.argumentError(index); + E.as(value); + this[$checkGrowable]("insert"); + if (index < 0 || index > this[$length]) { + dart.throw(new core.RangeError.value(index)); + } + this.splice(index, 0, value); + } + [$insertAll](index, iterable) { + if (index == null) dart.argumentError(index); + IterableOfE().as(iterable); + if (iterable == null) dart.nullFailed(I[18], 93, 52, "iterable"); + this[$checkGrowable]("insertAll"); + core.RangeError.checkValueInInterval(index, 0, this[$length], "index"); + if (!_internal.EfficientLengthIterable.is(iterable)) { + iterable = iterable[$toList](); + } + let insertionLength = dart.notNull(iterable[$length]); + this[_setLengthUnsafe](this[$length] + insertionLength); + let end = index + insertionLength; + this[$setRange](end, this[$length], this, index); + this[$setRange](index, end, iterable); + } + [$setAll](index, iterable) { + let t20; + if (index == null) dart.argumentError(index); + IterableOfE().as(iterable); + if (iterable == null) dart.nullFailed(I[18], 107, 49, "iterable"); + this[$checkMutable]("setAll"); + core.RangeError.checkValueInInterval(index, 0, this[$length], "index"); + for (let element of iterable) { + this[$_set]((t20 = index, index = t20 + 1, t20), element); + } + } + [$removeLast]() { + this[$checkGrowable]("removeLast"); + if (this[$length] === 0) dart.throw(_js_helper.diagnoseIndexError(this, -1)); + return this.pop(); + } + [$remove](element) { + this[$checkGrowable]("remove"); + let length = this[$length]; + for (let i = 0; i < length; i = i + 1) { + if (dart.equals(this[$_get](i), element)) { + this.splice(i, 1); + return true; + } + } + return false; + } + [$removeWhere](test) { + if (test == null) dart.nullFailed(I[18], 136, 37, "test"); + this[$checkGrowable]("removeWhere"); + this[_removeWhere](test, true); + } + [$retainWhere](test) { + if (test == null) dart.nullFailed(I[18], 141, 37, "test"); + this[$checkGrowable]("retainWhere"); + this[_removeWhere](test, false); + } + [_removeWhere](test, removeMatching) { + if (test == null) dart.nullFailed(I[18], 146, 38, "test"); + if (removeMatching == null) dart.nullFailed(I[18], 146, 49, "removeMatching"); + let retained = []; + let end = this[$length]; + for (let i = 0; i < end; i = i + 1) { + let element = this[i]; + if (!dart.test(test(element)) === removeMatching) { + retained.push(element); + } + if (this[$length] !== end) dart.throw(new core.ConcurrentModificationError.new(this)); + } + if (retained[$length] === end) return; + this[$length] = retained[$length]; + let length = dart.notNull(retained[$length]); + for (let i = 0; i < length; i = i + 1) { + this[i] = retained[i]; + } + } + [$where](f) { + if (f == null) dart.nullFailed(I[18], 175, 38, "f"); + return new (WhereIterableOfE()).new(this, f); + } + [$expand](T, f) { + if (f == null) dart.nullFailed(I[18], 179, 49, "f"); + return new (_internal.ExpandIterable$(E, T)).new(this, f); + } + [$addAll](collection) { + IterableOfE().as(collection); + if (collection == null) dart.nullFailed(I[18], 183, 27, "collection"); + let i = this[$length]; + this[$checkGrowable]("addAll"); + for (let e of collection) { + if (!(i === this[$length] || dart.throw(new core.ConcurrentModificationError.new(this)))) dart.assertFailed(null, I[18], 187, 14, "i == this.length || (throw ConcurrentModificationError(this))"); + i = i + 1; + this.push(e); + } + } + [$clear]() { + this[$length] = 0; + } + [$forEach](f) { + if (f == null) dart.nullFailed(I[18], 197, 33, "f"); + let end = this[$length]; + for (let i = 0; i < end; i = i + 1) { + let element = this[i]; + f(element); + if (this[$length] !== end) dart.throw(new core.ConcurrentModificationError.new(this)); + } + } + [$map](T, f) { + if (f == null) dart.nullFailed(I[18], 206, 36, "f"); + return new (_internal.MappedListIterable$(E, T)).new(this, f); + } + [$join](separator = "") { + if (separator == null) dart.nullFailed(I[18], 210, 23, "separator"); + let length = this[$length]; + let list = T$.ListOfString().filled(length, ""); + for (let i = 0; i < length; i = i + 1) { + list[$_set](i, dart.str(this[$_get](i))); + } + return list.join(separator); + } + [$take](n) { + if (n == null) dart.nullFailed(I[18], 219, 24, "n"); + return new (SubListIterableOfE()).new(this, 0, _internal.checkNotNullable(core.int, n, "count")); + } + [$takeWhile](test) { + if (test == null) dart.nullFailed(I[18], 223, 30, "test"); + return new (TakeWhileIterableOfE()).new(this, test); + } + [$skip](n) { + if (n == null) dart.nullFailed(I[18], 227, 24, "n"); + return new (SubListIterableOfE()).new(this, n, null); + } + [$skipWhile](test) { + if (test == null) dart.nullFailed(I[18], 231, 42, "test"); + return new (SkipWhileIterableOfE()).new(this, test); + } + [$reduce](combine) { + EAndEToE().as(combine); + if (combine == null) dart.nullFailed(I[18], 235, 14, "combine"); + let length = this[$length]; + if (length === 0) dart.throw(_internal.IterableElementError.noElement()); + let value = this[$_get](0); + for (let i = 1; i < length; i = i + 1) { + let element = this[i]; + value = combine(value, element); + if (length !== this[$length]) dart.throw(new core.ConcurrentModificationError.new(this)); + } + return value; + } + [$fold](T, initialValue, combine) { + if (combine == null) dart.nullFailed(I[18], 247, 68, "combine"); + let value = initialValue; + let length = this[$length]; + for (let i = 0; i < length; i = i + 1) { + let element = this[i]; + value = combine(value, element); + if (this[$length] !== length) dart.throw(new core.ConcurrentModificationError.new(this)); + } + return value; + } + [$firstWhere](test, opts) { + if (test == null) dart.nullFailed(I[18], 258, 33, "test"); + let orElse = opts && 'orElse' in opts ? opts.orElse : null; + VoidToNE().as(orElse); + let end = this[$length]; + for (let i = 0; i < end; i = i + 1) { + let element = this[i]; + if (dart.test(test(element))) return element; + if (this[$length] !== end) dart.throw(new core.ConcurrentModificationError.new(this)); + } + if (orElse != null) return orElse(); + dart.throw(_internal.IterableElementError.noElement()); + } + [$lastWhere](test, opts) { + if (test == null) dart.nullFailed(I[18], 269, 32, "test"); + let orElse = opts && 'orElse' in opts ? opts.orElse : null; + VoidToNE().as(orElse); + let length = this[$length]; + for (let i = length - 1; i >= 0; i = i - 1) { + let element = this[i]; + if (dart.test(test(element))) return element; + if (length !== this[$length]) { + dart.throw(new core.ConcurrentModificationError.new(this)); + } + } + if (orElse != null) return orElse(); + dart.throw(_internal.IterableElementError.noElement()); + } + [$singleWhere](test, opts) { + if (test == null) dart.nullFailed(I[18], 282, 34, "test"); + let orElse = opts && 'orElse' in opts ? opts.orElse : null; + VoidToNE().as(orElse); + let length = this[$length]; + let match = null; + let matchFound = false; + for (let i = 0; i < length; i = i + 1) { + let element = this[i]; + if (dart.test(test(element))) { + if (matchFound) { + dart.throw(_internal.IterableElementError.tooMany()); + } + matchFound = true; + match = element; + } + if (length !== this[$length]) { + dart.throw(new core.ConcurrentModificationError.new(this)); + } + } + if (matchFound) return E.as(match); + if (orElse != null) return orElse(); + dart.throw(_internal.IterableElementError.noElement()); + } + [$elementAt](index) { + if (index == null) dart.nullFailed(I[18], 304, 19, "index"); + return this[$_get](index); + } + [$sublist](start, end = null) { + if (start == null) dart.argumentError(start); + if (start < 0 || start > this[$length]) { + dart.throw(new core.RangeError.range(start, 0, this[$length], "start")); + } + if (end == null) { + end = this[$length]; + } else { + let _end = end; + if (_end < start || _end > this[$length]) { + dart.throw(new core.RangeError.range(end, start, this[$length], "end")); + } + } + if (start === end) return JSArrayOfE().of([]); + return JSArrayOfE().of(this.slice(start, end)); + } + [$getRange](start, end) { + if (start == null) dart.nullFailed(I[18], 325, 28, "start"); + if (end == null) dart.nullFailed(I[18], 325, 39, "end"); + core.RangeError.checkValidRange(start, end, this[$length]); + return new (SubListIterableOfE()).new(this, start, end); + } + get [$first]() { + if (this[$length] > 0) return this[$_get](0); + dart.throw(_internal.IterableElementError.noElement()); + } + get [$last]() { + if (this[$length] > 0) return this[$_get](this[$length] - 1); + dart.throw(_internal.IterableElementError.noElement()); + } + get [$single]() { + if (this[$length] === 1) return this[$_get](0); + if (this[$length] === 0) dart.throw(_internal.IterableElementError.noElement()); + dart.throw(_internal.IterableElementError.tooMany()); + } + [$removeRange](start, end) { + if (start == null) dart.argumentError(start); + if (end == null) dart.argumentError(end); + this[$checkGrowable]("removeRange"); + core.RangeError.checkValidRange(start, end, this[$length]); + let deleteCount = end - start; + this.splice(start, deleteCount); + } + [$setRange](start, end, iterable, skipCount = 0) { + if (start == null) dart.argumentError(start); + if (end == null) dart.argumentError(end); + IterableOfE().as(iterable); + if (iterable == null) dart.nullFailed(I[18], 353, 71, "iterable"); + if (skipCount == null) dart.argumentError(skipCount); + this[$checkMutable]("set range"); + core.RangeError.checkValidRange(start, end, this[$length]); + let length = end - start; + if (length === 0) return; + core.RangeError.checkNotNegative(skipCount, "skipCount"); + let otherList = JSArrayOfE().of([]); + let otherStart = 0; + if (ListOfE().is(iterable)) { + otherList = iterable; + otherStart = skipCount; + } else { + otherList = iterable[$skip](skipCount)[$toList]({growable: false}); + otherStart = 0; + } + if (otherStart + length > dart.notNull(otherList[$length])) { + dart.throw(_internal.IterableElementError.tooFew()); + } + if (otherStart < start) { + for (let i = length - 1; i >= 0; i = i - 1) { + let element = otherList[$_get](otherStart + i); + this[start + i] = element; + } + } else { + for (let i = 0; i < length; i = i + 1) { + let element = otherList[$_get](otherStart + i); + this[start + i] = element; + } + } + } + [$fillRange](start, end, fillValue = null) { + if (start == null) dart.argumentError(start); + if (end == null) dart.argumentError(end); + EN().as(fillValue); + this[$checkMutable]("fill range"); + core.RangeError.checkValidRange(start, end, this[$length]); + let checkedFillValue = E.as(fillValue); + for (let i = start; i < end; i = i + 1) { + this[i] = checkedFillValue; + } + } + [$replaceRange](start, end, replacement) { + if (start == null) dart.argumentError(start); + if (end == null) dart.argumentError(end); + IterableOfE().as(replacement); + if (replacement == null) dart.nullFailed(I[18], 404, 61, "replacement"); + this[$checkGrowable]("replace range"); + core.RangeError.checkValidRange(start, end, this[$length]); + if (!_internal.EfficientLengthIterable.is(replacement)) { + replacement = replacement[$toList](); + } + let removeLength = end - start; + let insertLength = dart.notNull(replacement[$length]); + if (removeLength >= insertLength) { + let delta = removeLength - insertLength; + let insertEnd = start + insertLength; + let newLength = this[$length] - delta; + this[$setRange](start, insertEnd, replacement); + if (delta !== 0) { + this[$setRange](insertEnd, newLength, this, end); + this[$length] = newLength; + } + } else { + let delta = insertLength - removeLength; + let newLength = this[$length] + delta; + let insertEnd = start + insertLength; + this[_setLengthUnsafe](newLength); + this[$setRange](insertEnd, newLength, this, end); + this[$setRange](start, insertEnd, replacement); + } + } + [$any](test) { + if (test == null) dart.nullFailed(I[18], 432, 29, "test"); + let end = this[$length]; + for (let i = 0; i < end; i = i + 1) { + let element = this[i]; + if (dart.test(test(element))) return true; + if (this[$length] !== end) dart.throw(new core.ConcurrentModificationError.new(this)); + } + return false; + } + [$every](test) { + if (test == null) dart.nullFailed(I[18], 442, 31, "test"); + let end = this[$length]; + for (let i = 0; i < end; i = i + 1) { + let element = this[i]; + if (!dart.test(test(element))) return false; + if (this[$length] !== end) dart.throw(new core.ConcurrentModificationError.new(this)); + } + return true; + } + get [$reversed]() { + return new (ReversedListIterableOfE()).new(this); + } + [$sort](compare = null) { + this[$checkMutable]("sort"); + if (compare == null) { + _internal.Sort.sort(E, this, dart.fn((a, b) => core.Comparable.compare(core.Comparable.as(a), core.Comparable.as(b)), T$.ObjectNAndObjectNToint())); + } else { + _internal.Sort.sort(E, this, compare); + } + } + [$shuffle](random = null) { + this[$checkMutable]("shuffle"); + if (random == null) random = math.Random.new(); + let length = this[$length]; + while (length > 1) { + let pos = random.nextInt(length); + length = length - 1; + let tmp = this[$_get](length); + this[$_set](length, this[$_get](pos)); + this[$_set](pos, tmp); + } + } + [$indexOf](element, start = 0) { + if (start == null) dart.argumentError(start); + let length = this[$length]; + if (start >= length) { + return -1; + } + if (start < 0) { + start = 0; + } + for (let i = start; i < length; i = i + 1) { + if (dart.equals(this[$_get](i), element)) { + return i; + } + } + return -1; + } + [$lastIndexOf](element, startIndex = null) { + let t20; + let start = (t20 = startIndex, t20 == null ? this[$length] - 1 : t20); + if (start >= this[$length]) { + start = this[$length] - 1; + } else if (start < 0) { + return -1; + } + for (let i = start; i >= 0; i = i - 1) { + if (dart.equals(this[$_get](i), element)) { + return i; + } + } + return -1; + } + [$contains](other) { + let length = this[$length]; + for (let i = 0; i < length; i = i + 1) { + let element = this[i]; + if (dart.equals(element, other)) return true; + } + return false; + } + get [$isEmpty]() { + return this[$length] === 0; + } + get [$isNotEmpty]() { + return !this[$isEmpty]; + } + [$toString]() { + return collection.ListBase.listToString(this); + } + [$toList](opts) { + let growable = opts && 'growable' in opts ? opts.growable : true; + if (growable == null) dart.argumentError(growable); + let list = this.slice(); + if (!growable) _interceptors.JSArray.markFixedList(list); + return JSArrayOfE().of(list); + } + [$toSet]() { + return LinkedHashSetOfE().from(this); + } + get [$iterator]() { + return new (ArrayIteratorOfE()).new(this); + } + get [$hashCode]() { + return core.identityHashCode(this); + } + [$_equals](other) { + if (other == null) return false; + return this === other; + } + get [$length]() { + return this.length; + } + set [$length](newLength) { + if (newLength == null) dart.argumentError(newLength); + this[$checkGrowable]("set length"); + if (newLength < 0) { + dart.throw(new core.RangeError.range(newLength, 0, null, "newLength")); + } + if (newLength > this[$length]) E.as(null); + this.length = newLength; + } + [_setLengthUnsafe](newLength) { + if (newLength == null) dart.nullFailed(I[18], 566, 29, "newLength"); + if (dart.notNull(newLength) < 0) { + dart.throw(new core.RangeError.range(newLength, 0, null, "newLength")); + } + this.length = newLength; + } + [$_get](index) { + if (index == null) dart.nullFailed(I[18], 576, 21, "index"); + if (index == null || index >= this.length || index < 0) { + dart.throw(_js_helper.diagnoseIndexError(this, index)); + } + return this[index]; + } + [$_set](index, value$) { + let value = value$; + if (index == null) dart.nullFailed(I[18], 586, 25, "index"); + E.as(value); + this[$checkMutable]("indexed set"); + if (index == null || index >= this.length || index < 0) { + dart.throw(_js_helper.diagnoseIndexError(this, index)); + } + this[index] = value; + return value$; + } + [$asMap]() { + return new (ListMapViewOfE()).new(this); + } + get [$runtimeType]() { + return dart.wrapType(core.List$(E)); + } + [$followedBy](other) { + IterableOfE().as(other); + if (other == null) dart.nullFailed(I[18], 603, 38, "other"); + return FollowedByIterableOfE().firstEfficient(this, other); + } + [$whereType](T) { + return new (_internal.WhereTypeIterable$(T)).new(this); + } + [$plus](other) { + ListOfE().as(other); + if (other == null) dart.nullFailed(I[18], 608, 30, "other"); + return (() => { + let t20 = ListOfE().of(this); + t20[$addAll](other); + return t20; + })(); + } + [$indexWhere](test, start = 0) { + if (test == null) dart.nullFailed(I[18], 610, 35, "test"); + if (start == null) dart.nullFailed(I[18], 610, 46, "start"); + if (dart.notNull(start) >= this[$length]) return -1; + if (dart.notNull(start) < 0) start = 0; + for (let i = start; dart.notNull(i) < this[$length]; i = dart.notNull(i) + 1) { + if (dart.test(test(this[$_get](i)))) return i; + } + return -1; + } + [$lastIndexWhere](test, start = null) { + if (test == null) dart.nullFailed(I[18], 619, 39, "test"); + if (start == null) start = this[$length] - 1; + if (dart.notNull(start) < 0) return -1; + for (let i = start; dart.notNull(i) >= 0; i = dart.notNull(i) - 1) { + if (dart.test(test(this[$_get](i)))) return i; + } + return -1; + } + set [$first](element) { + E.as(element); + if (this[$isEmpty]) dart.throw(new core.IndexError.new(0, this)); + this[$_set](0, element); + } + set [$last](element) { + E.as(element); + if (this[$isEmpty]) dart.throw(new core.IndexError.new(0, this)); + this[$_set](this[$length] - 1, element); + } + } + (JSArray.new = function() { + ; + }).prototype = JSArray.prototype; + dart.setExtensionBaseClass(JSArray, dart.global.Array); + JSArray.prototype[dart.isList] = true; + dart.addTypeTests(JSArray); + JSArray.prototype[_is_JSArray_default] = true; + dart.addTypeCaches(JSArray); + JSArray[dart.implements] = () => [core.List$(E), _interceptors.JSIndexable$(E)]; + dart.setMethodSignature(JSArray, () => ({ + __proto__: dart.getMethods(JSArray.__proto__), + [$checkMutable]: dart.fnType(dart.dynamic, [dart.dynamic]), + [$checkGrowable]: dart.fnType(dart.dynamic, [dart.dynamic]), + [$cast]: dart.gFnType(R => [core.List$(R), []], R => [dart.nullable(core.Object)]), + [$add]: dart.fnType(dart.void, [dart.nullable(core.Object)]), + [$removeAt]: dart.fnType(E, [core.int]), + [$insert]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), + [$insertAll]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), + [$setAll]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), + [$removeLast]: dart.fnType(E, []), + [$remove]: dart.fnType(core.bool, [dart.nullable(core.Object)]), + [$removeWhere]: dart.fnType(dart.void, [dart.fnType(core.bool, [E])]), + [$retainWhere]: dart.fnType(dart.void, [dart.fnType(core.bool, [E])]), + [_removeWhere]: dart.fnType(dart.void, [dart.fnType(core.bool, [E]), core.bool]), + [$where]: dart.fnType(core.Iterable$(E), [dart.fnType(core.bool, [E])]), + [$expand]: dart.gFnType(T => [core.Iterable$(T), [dart.fnType(core.Iterable$(T), [E])]], T => [dart.nullable(core.Object)]), + [$addAll]: dart.fnType(dart.void, [dart.nullable(core.Object)]), + [$clear]: dart.fnType(dart.void, []), + [$forEach]: dart.fnType(dart.void, [dart.fnType(dart.void, [E])]), + [$map]: dart.gFnType(T => [core.Iterable$(T), [dart.fnType(T, [E])]], T => [dart.nullable(core.Object)]), + [$join]: dart.fnType(core.String, [], [core.String]), + [$take]: dart.fnType(core.Iterable$(E), [core.int]), + [$takeWhile]: dart.fnType(core.Iterable$(E), [dart.fnType(core.bool, [E])]), + [$skip]: dart.fnType(core.Iterable$(E), [core.int]), + [$skipWhile]: dart.fnType(core.Iterable$(E), [dart.fnType(core.bool, [E])]), + [$reduce]: dart.fnType(E, [dart.nullable(core.Object)]), + [$fold]: dart.gFnType(T => [T, [T, dart.fnType(T, [T, E])]], T => [dart.nullable(core.Object)]), + [$firstWhere]: dart.fnType(E, [dart.fnType(core.bool, [E])], {orElse: dart.nullable(core.Object)}, {}), + [$lastWhere]: dart.fnType(E, [dart.fnType(core.bool, [E])], {orElse: dart.nullable(core.Object)}, {}), + [$singleWhere]: dart.fnType(E, [dart.fnType(core.bool, [E])], {orElse: dart.nullable(core.Object)}, {}), + [$elementAt]: dart.fnType(E, [core.int]), + [$sublist]: dart.fnType(core.List$(E), [core.int], [dart.nullable(core.int)]), + [$getRange]: dart.fnType(core.Iterable$(E), [core.int, core.int]), + [$removeRange]: dart.fnType(dart.void, [core.int, core.int]), + [$setRange]: dart.fnType(dart.void, [core.int, core.int, dart.nullable(core.Object)], [core.int]), + [$fillRange]: dart.fnType(dart.void, [core.int, core.int], [dart.nullable(core.Object)]), + [$replaceRange]: dart.fnType(dart.void, [core.int, core.int, dart.nullable(core.Object)]), + [$any]: dart.fnType(core.bool, [dart.fnType(core.bool, [E])]), + [$every]: dart.fnType(core.bool, [dart.fnType(core.bool, [E])]), + [$sort]: dart.fnType(dart.void, [], [dart.nullable(dart.fnType(core.int, [E, E]))]), + [$shuffle]: dart.fnType(dart.void, [], [dart.nullable(math.Random)]), + [$indexOf]: dart.fnType(core.int, [dart.nullable(core.Object)], [core.int]), + [$lastIndexOf]: dart.fnType(core.int, [dart.nullable(core.Object)], [dart.nullable(core.int)]), + [$contains]: dart.fnType(core.bool, [dart.nullable(core.Object)]), + [$toList]: dart.fnType(core.List$(E), [], {growable: core.bool}, {}), + [$toSet]: dart.fnType(core.Set$(E), []), + [_setLengthUnsafe]: dart.fnType(dart.void, [core.int]), + [$_get]: dart.fnType(E, [core.int]), + [$_set]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), + [$asMap]: dart.fnType(core.Map$(core.int, E), []), + [$followedBy]: dart.fnType(core.Iterable$(E), [dart.nullable(core.Object)]), + [$whereType]: dart.gFnType(T => [core.Iterable$(T), []], T => [dart.nullable(core.Object)]), + [$plus]: dart.fnType(core.List$(E), [dart.nullable(core.Object)]), + [$indexWhere]: dart.fnType(core.int, [dart.fnType(core.bool, [E])], [core.int]), + [$lastIndexWhere]: dart.fnType(core.int, [dart.fnType(core.bool, [E])], [dart.nullable(core.int)]) + })); + dart.setGetterSignature(JSArray, () => ({ + __proto__: dart.getGetters(JSArray.__proto__), + [$first]: E, + [$last]: E, + [$single]: E, + [$reversed]: core.Iterable$(E), + [$isEmpty]: core.bool, + [$isNotEmpty]: core.bool, + [$iterator]: core.Iterator$(E), + [$length]: core.int + })); + dart.setSetterSignature(JSArray, () => ({ + __proto__: dart.getSetters(JSArray.__proto__), + [$length]: core.int, + [$first]: dart.nullable(core.Object), + [$last]: dart.nullable(core.Object) + })); + dart.setLibraryUri(JSArray, I[16]); + return JSArray; +}); +_interceptors.JSArray = _interceptors.JSArray$(); +dart.addTypeTests(_interceptors.JSArray, _is_JSArray_default); +dart.registerExtension("Array", _interceptors.JSArray); +const _is_JSMutableArray_default = Symbol('_is_JSMutableArray_default'); +_interceptors.JSMutableArray$ = dart.generic(E => { + class JSMutableArray extends _interceptors.JSArray$(E) {} + (JSMutableArray.new = function() { + JSMutableArray.__proto__.new.call(this); + ; + }).prototype = JSMutableArray.prototype; + dart.addTypeTests(JSMutableArray); + JSMutableArray.prototype[_is_JSMutableArray_default] = true; + dart.addTypeCaches(JSMutableArray); + JSMutableArray[dart.implements] = () => [_interceptors.JSMutableIndexable$(E)]; + dart.setLibraryUri(JSMutableArray, I[16]); + return JSMutableArray; +}); +_interceptors.JSMutableArray = _interceptors.JSMutableArray$(); +dart.addTypeTests(_interceptors.JSMutableArray, _is_JSMutableArray_default); +const _is_JSFixedArray_default = Symbol('_is_JSFixedArray_default'); +_interceptors.JSFixedArray$ = dart.generic(E => { + class JSFixedArray extends _interceptors.JSMutableArray$(E) {} + (JSFixedArray.new = function() { + JSFixedArray.__proto__.new.call(this); + ; + }).prototype = JSFixedArray.prototype; + dart.addTypeTests(JSFixedArray); + JSFixedArray.prototype[_is_JSFixedArray_default] = true; + dart.addTypeCaches(JSFixedArray); + dart.setLibraryUri(JSFixedArray, I[16]); + return JSFixedArray; +}); +_interceptors.JSFixedArray = _interceptors.JSFixedArray$(); +dart.addTypeTests(_interceptors.JSFixedArray, _is_JSFixedArray_default); +const _is_JSExtendableArray_default = Symbol('_is_JSExtendableArray_default'); +_interceptors.JSExtendableArray$ = dart.generic(E => { + class JSExtendableArray extends _interceptors.JSMutableArray$(E) {} + (JSExtendableArray.new = function() { + JSExtendableArray.__proto__.new.call(this); + ; + }).prototype = JSExtendableArray.prototype; + dart.addTypeTests(JSExtendableArray); + JSExtendableArray.prototype[_is_JSExtendableArray_default] = true; + dart.addTypeCaches(JSExtendableArray); + dart.setLibraryUri(JSExtendableArray, I[16]); + return JSExtendableArray; +}); +_interceptors.JSExtendableArray = _interceptors.JSExtendableArray$(); +dart.addTypeTests(_interceptors.JSExtendableArray, _is_JSExtendableArray_default); +const _is_JSUnmodifiableArray_default = Symbol('_is_JSUnmodifiableArray_default'); +_interceptors.JSUnmodifiableArray$ = dart.generic(E => { + class JSUnmodifiableArray extends _interceptors.JSArray$(E) {} + (JSUnmodifiableArray.new = function() { + JSUnmodifiableArray.__proto__.new.call(this); + ; + }).prototype = JSUnmodifiableArray.prototype; + dart.addTypeTests(JSUnmodifiableArray); + JSUnmodifiableArray.prototype[_is_JSUnmodifiableArray_default] = true; + dart.addTypeCaches(JSUnmodifiableArray); + dart.setLibraryUri(JSUnmodifiableArray, I[16]); + return JSUnmodifiableArray; +}); +_interceptors.JSUnmodifiableArray = _interceptors.JSUnmodifiableArray$(); +dart.addTypeTests(_interceptors.JSUnmodifiableArray, _is_JSUnmodifiableArray_default); +var _current = dart.privateName(_interceptors, "_current"); +var _iterable = dart.privateName(_interceptors, "_iterable"); +var _length = dart.privateName(_interceptors, "_length"); +var _index = dart.privateName(_interceptors, "_index"); +const _is_ArrayIterator_default = Symbol('_is_ArrayIterator_default'); +_interceptors.ArrayIterator$ = dart.generic(E => { + class ArrayIterator extends core.Object { + get current() { + return E.as(this[_current]); + } + moveNext() { + let length = this[_iterable][$length]; + if (this[_length] !== length) { + dart.throw(_js_helper.throwConcurrentModificationError(this[_iterable])); + } + if (this[_index] >= length) { + this[_current] = null; + return false; + } + this[_current] = this[_iterable][$_get](this[_index]); + this[_index] = this[_index] + 1; + return true; + } + } + (ArrayIterator.new = function(iterable) { + if (iterable == null) dart.nullFailed(I[18], 668, 28, "iterable"); + this[_current] = null; + this[_iterable] = iterable; + this[_length] = iterable[$length]; + this[_index] = 0; + ; + }).prototype = ArrayIterator.prototype; + dart.addTypeTests(ArrayIterator); + ArrayIterator.prototype[_is_ArrayIterator_default] = true; + dart.addTypeCaches(ArrayIterator); + ArrayIterator[dart.implements] = () => [core.Iterator$(E)]; + dart.setMethodSignature(ArrayIterator, () => ({ + __proto__: dart.getMethods(ArrayIterator.__proto__), + moveNext: dart.fnType(core.bool, []) + })); + dart.setGetterSignature(ArrayIterator, () => ({ + __proto__: dart.getGetters(ArrayIterator.__proto__), + current: E + })); + dart.setLibraryUri(ArrayIterator, I[16]); + dart.setFieldSignature(ArrayIterator, () => ({ + __proto__: dart.getFields(ArrayIterator.__proto__), + [_iterable]: dart.finalFieldType(_interceptors.JSArray$(E)), + [_length]: dart.finalFieldType(core.int), + [_index]: dart.fieldType(core.int), + [_current]: dart.fieldType(dart.nullable(E)) + })); + return ArrayIterator; +}); +_interceptors.ArrayIterator = _interceptors.ArrayIterator$(); +dart.addTypeTests(_interceptors.ArrayIterator, _is_ArrayIterator_default); +var _isInt32 = dart.privateName(_interceptors, "_isInt32"); +var _tdivSlow = dart.privateName(_interceptors, "_tdivSlow"); +var _shlPositive = dart.privateName(_interceptors, "_shlPositive"); +var _shrOtherPositive = dart.privateName(_interceptors, "_shrOtherPositive"); +var _shrUnsigned = dart.privateName(_interceptors, "_shrUnsigned"); +_interceptors.JSNumber = class JSNumber extends _interceptors.Interceptor { + [$compareTo](b) { + core.num.as(b); + if (b == null) dart.argumentError(b); + if (this < b) { + return -1; + } else if (this > b) { + return 1; + } else if (this === b) { + if (this === 0) { + let bIsNegative = b[$isNegative]; + if (this[$isNegative] === bIsNegative) return 0; + if (this[$isNegative]) return -1; + return 1; + } + return 0; + } else if (this[$isNaN]) { + if (b[$isNaN]) { + return 0; + } + return 1; + } else { + return -1; + } + } + get [$isNegative]() { + return this === 0 ? 1 / this < 0 : this < 0; + } + get [$isNaN]() { + return isNaN(this); + } + get [$isInfinite]() { + return this == 1 / 0 || this == -1 / 0; + } + get [$isFinite]() { + return isFinite(this); + } + [$remainder](b) { + if (b == null) dart.argumentError(b); + return this % b; + } + [$abs]() { + return Math.abs(this); + } + get [$sign]() { + return _interceptors.JSNumber.as(this > 0 ? 1 : this < 0 ? -1 : this); + } + [$toInt]() { + if (this >= -2147483648 && this <= 2147483647) { + return this | 0; + } + if (isFinite(this)) { + return this[$truncateToDouble]() + 0; + } + dart.throw(new core.UnsupportedError.new("" + this)); + } + [$truncate]() { + return this[$toInt](); + } + [$ceil]() { + return this[$ceilToDouble]()[$toInt](); + } + [$floor]() { + return this[$floorToDouble]()[$toInt](); + } + [$round]() { + if (this > 0) { + if (this !== 1 / 0) { + return Math.round(this); + } + } else if (this > -1 / 0) { + return 0 - Math.round(0 - this); + } + dart.throw(new core.UnsupportedError.new("" + this)); + } + [$ceilToDouble]() { + return Math.ceil(this); + } + [$floorToDouble]() { + return Math.floor(this); + } + [$roundToDouble]() { + if (this < 0) { + return -Math.round(-this); + } else { + return Math.round(this); + } + } + [$truncateToDouble]() { + return this < 0 ? this[$ceilToDouble]() : this[$floorToDouble](); + } + [$clamp](lowerLimit, upperLimit) { + if (lowerLimit == null) dart.argumentError(lowerLimit); + if (upperLimit == null) dart.argumentError(upperLimit); + if (lowerLimit[$compareTo](upperLimit) > 0) { + dart.throw(_js_helper.argumentErrorValue(lowerLimit)); + } + if (this[$compareTo](lowerLimit) < 0) return lowerLimit; + if (this[$compareTo](upperLimit) > 0) return upperLimit; + return this; + } + [$toDouble]() { + return this; + } + [$toStringAsFixed](fractionDigits) { + if (fractionDigits == null) dart.argumentError(fractionDigits); + if (fractionDigits < 0 || fractionDigits > 20) { + dart.throw(new core.RangeError.range(fractionDigits, 0, 20, "fractionDigits")); + } + let result = this.toFixed(fractionDigits); + if (this === 0 && this[$isNegative]) return "-" + result; + return result; + } + [$toStringAsExponential](fractionDigits = null) { + let result = null; + if (fractionDigits != null) { + let _fractionDigits = fractionDigits; + if (_fractionDigits < 0 || _fractionDigits > 20) { + dart.throw(new core.RangeError.range(_fractionDigits, 0, 20, "fractionDigits")); + } + result = this.toExponential(_fractionDigits); + } else { + result = this.toExponential(); + } + if (this === 0 && this[$isNegative]) return "-" + dart.str(result); + return result; + } + [$toStringAsPrecision](precision) { + if (precision == null) dart.argumentError(precision); + if (precision < 1 || precision > 21) { + dart.throw(new core.RangeError.range(precision, 1, 21, "precision")); + } + let result = this.toPrecision(precision); + if (this === 0 && this[$isNegative]) return "-" + result; + return result; + } + [$toRadixString](radix) { + if (radix == null) dart.argumentError(radix); + if (radix < 2 || radix > 36) { + dart.throw(new core.RangeError.range(radix, 2, 36, "radix")); + } + let result = this.toString(radix); + if (result[$codeUnitAt](result.length - 1) !== 41) { + return result; + } + return _interceptors.JSNumber._handleIEtoString(result); + } + static _handleIEtoString(result) { + if (result == null) dart.nullFailed(I[19], 194, 42, "result"); + let match = /^([\da-z]+)(?:\.([\da-z]+))?\(e\+(\d+)\)$/.exec(result); + if (match == null) { + dart.throw(new core.UnsupportedError.new("Unexpected toString result: " + dart.str(result))); + } + result = match[$_get](1); + let exponent = +match[$_get](3); + if (match[$_get](2) != null) { + result = result + match[$_get](2); + exponent = exponent - match[$_get](2).length; + } + return dart.notNull(result) + "0"[$times](exponent); + } + [$toString]() { + if (this === 0 && 1 / this < 0) { + return "-0.0"; + } else { + return "" + this; + } + } + get [$hashCode]() { + let intValue = this | 0; + if (this === intValue) return 536870911 & intValue; + let absolute = Math.abs(this); + let lnAbsolute = Math.log(absolute); + let log2 = lnAbsolute / 0.6931471805599453; + let floorLog2 = log2 | 0; + let factor = Math.pow(2, floorLog2); + let scaled = absolute < 1 ? absolute / factor : factor / absolute; + let rescaled1 = scaled * 9007199254740992; + let rescaled2 = scaled * 3542243181176521; + let d1 = rescaled1 | 0; + let d2 = rescaled2 | 0; + let d3 = floorLog2; + let h = 536870911 & (d1 + d2) * (601 * 997) + d3 * 1259; + return h; + } + [$_negate]() { + return -this; + } + [$plus](other) { + if (other == null) dart.argumentError(other); + return this + other; + } + [$minus](other) { + if (other == null) dart.argumentError(other); + return this - other; + } + [$divide](other) { + if (other == null) dart.argumentError(other); + return this / other; + } + [$times](other) { + if (other == null) dart.argumentError(other); + return this * other; + } + [$modulo](other) { + if (other == null) dart.argumentError(other); + let result = this % other; + if (result === 0) return _interceptors.JSNumber.as(0); + if (result > 0) return result; + if (other < 0) { + return result - other; + } else { + return result + other; + } + } + [_isInt32](value) { + return (value | 0) === value; + } + [$floorDivide](other) { + if (other == null) dart.argumentError(other); + if (this[_isInt32](this) && this[_isInt32](other) && 0 !== other && -1 !== other) { + return this / other | 0; + } else { + return this[_tdivSlow](other); + } + } + [_tdivSlow](other) { + if (other == null) dart.nullFailed(I[19], 308, 21, "other"); + return (this / other)[$toInt](); + } + [$leftShift](other) { + if (other == null) dart.argumentError(other); + if (other < 0) _js_helper.throwArgumentErrorValue(other); + return this[_shlPositive](other); + } + [_shlPositive](other) { + return other > 31 ? 0 : this << other >>> 0; + } + [$rightShift](other) { + if (other == null) dart.argumentError(other); + if (other < 0) _js_helper.throwArgumentErrorValue(other); + return this[_shrOtherPositive](other); + } + [$tripleShift](other) { + if (other == null) dart.argumentError(other); + if (other < 0) _js_helper.throwArgumentErrorValue(other); + return this[_shrUnsigned](other); + } + [_shrOtherPositive](other) { + return this > 0 ? this[_shrUnsigned](other) : this >> (other > 31 ? 31 : other) >>> 0; + } + [_shrUnsigned](other) { + return other > 31 ? 0 : this >>> other; + } + [$bitAnd](other) { + if (other == null) dart.argumentError(other); + return (this & other) >>> 0; + } + [$bitOr](other) { + if (other == null) dart.argumentError(other); + return (this | other) >>> 0; + } + [$bitXor](other) { + if (other == null) dart.argumentError(other); + return (this ^ other) >>> 0; + } + [$lessThan](other) { + if (other == null) dart.argumentError(other); + return this < other; + } + [$greaterThan](other) { + if (other == null) dart.argumentError(other); + return this > other; + } + [$lessOrEquals](other) { + if (other == null) dart.argumentError(other); + return this <= other; + } + [$greaterOrEquals](other) { + if (other == null) dart.argumentError(other); + return this >= other; + } + get [$isEven]() { + return (this & 1) === 0; + } + get [$isOdd]() { + return (this & 1) === 1; + } + [$toUnsigned](width) { + if (width == null) dart.argumentError(width); + return (this & (1)[$leftShift](width) - 1) >>> 0; + } + [$toSigned](width) { + if (width == null) dart.argumentError(width); + let signMask = (1)[$leftShift](width - 1); + return ((this & signMask - 1) >>> 0) - ((this & signMask) >>> 0); + } + get [$bitLength]() { + let nonneg = this < 0 ? -this - 1 : this; + let wordBits = 32; + while (nonneg >= 4294967296) { + nonneg = (nonneg / 4294967296)[$truncate](); + wordBits = wordBits + 32; + } + return wordBits - _interceptors.JSNumber._clz32(nonneg); + } + static _clz32(uint32) { + return 32 - _interceptors.JSNumber._bitCount(_interceptors.JSNumber._spread(uint32)); + } + [$modPow](e, m) { + if (e == null) dart.argumentError(e); + if (m == null) dart.argumentError(m); + if (e < 0) dart.throw(new core.RangeError.range(e, 0, null, "exponent")); + if (m <= 0) dart.throw(new core.RangeError.range(m, 1, null, "modulus")); + if (e === 0) return 1; + if (this < -9007199254740991.0 || this > 9007199254740991.0) { + dart.throw(new core.RangeError.range(this, -9007199254740991.0, 9007199254740991.0, "receiver")); + } + if (e > 9007199254740991.0) { + dart.throw(new core.RangeError.range(e, 0, 9007199254740991.0, "exponent")); + } + if (m > 9007199254740991.0) { + dart.throw(new core.RangeError.range(e, 1, 9007199254740991.0, "modulus")); + } + if (m > 94906265) { + return core._BigIntImpl.from(this).modPow(core._BigIntImpl.from(e), core._BigIntImpl.from(m)).toInt(); + } + let b = this; + if (b < 0 || b > m) { + b = b[$modulo](m); + } + let r = 1; + while (e > 0) { + if (e[$isOdd]) { + r = (r * b)[$modulo](m); + } + e = (e / 2)[$truncate](); + b = (b * b)[$modulo](m); + } + return r; + } + static _binaryGcd(x, y, inv) { + let s = 1; + if (!inv) { + while (x[$isEven] && y[$isEven]) { + x = (x / 2)[$truncate](); + y = (y / 2)[$truncate](); + s = s * 2; + } + if (y[$isOdd]) { + let t = x; + x = y; + y = t; + } + } + let ac = x[$isEven]; + let u = x; + let v = y; + let a = 1; + let b = 0; + let c = 0; + let d = 1; + do { + while (u[$isEven]) { + u = (u / 2)[$truncate](); + if (ac) { + if (!a[$isEven] || !b[$isEven]) { + a = a + y; + b = b - x; + } + a = (a / 2)[$truncate](); + } else if (!b[$isEven]) { + b = b - x; + } + b = (b / 2)[$truncate](); + } + while (v[$isEven]) { + v = (v / 2)[$truncate](); + if (ac) { + if (!c[$isEven] || !d[$isEven]) { + c = c + y; + d = d - x; + } + c = (c / 2)[$truncate](); + } else if (!d[$isEven]) { + d = d - x; + } + d = (d / 2)[$truncate](); + } + if (u >= v) { + u = u - v; + if (ac) a = a - c; + b = b - d; + } else { + v = v - u; + if (ac) c = c - a; + d = d - b; + } + } while (u !== 0); + if (!inv) return s * v; + if (v !== 1) dart.throw(core.Exception.new("Not coprime")); + if (d < 0) { + d = d + x; + if (d < 0) d = d + x; + } else if (d > x) { + d = d - x; + if (d > x) d = d - x; + } + return d; + } + [$modInverse](m) { + if (m == null) dart.argumentError(m); + if (m <= 0) dart.throw(new core.RangeError.range(m, 1, null, "modulus")); + if (m === 1) return 0; + let t = this; + if (t < 0 || t >= m) t = t[$modulo](m); + if (t === 1) return 1; + if (t === 0 || t[$isEven] && m[$isEven]) { + dart.throw(core.Exception.new("Not coprime")); + } + return _interceptors.JSNumber._binaryGcd(m, t, true); + } + [$gcd](other) { + if (other == null) dart.argumentError(other); + if (!core.int.is(this)) _js_helper.throwArgumentErrorValue(this); + let x = this[$abs](); + let y = other[$abs](); + if (x === 0) return y; + if (y === 0) return x; + if (x === 1 || y === 1) return 1; + return _interceptors.JSNumber._binaryGcd(x, y, false); + } + static _bitCount(i) { + i = _interceptors.JSNumber._shru(i, 0) - (_interceptors.JSNumber._shru(i, 1) & 1431655765); + i = (i & 858993459) + (_interceptors.JSNumber._shru(i, 2) & 858993459); + i = 252645135 & i + _interceptors.JSNumber._shru(i, 4); + i = i + _interceptors.JSNumber._shru(i, 8); + i = i + _interceptors.JSNumber._shru(i, 16); + return i & 63; + } + static _shru(value, shift) { + if (value == null) dart.nullFailed(I[19], 613, 24, "value"); + if (shift == null) dart.nullFailed(I[19], 613, 35, "shift"); + return value >>> shift; + } + static _shrs(value, shift) { + if (value == null) dart.nullFailed(I[19], 616, 24, "value"); + if (shift == null) dart.nullFailed(I[19], 616, 35, "shift"); + return value >> shift; + } + static _ors(a, b) { + if (a == null) dart.nullFailed(I[19], 619, 23, "a"); + if (b == null) dart.nullFailed(I[19], 619, 30, "b"); + return a | b; + } + static _spread(i) { + i = _interceptors.JSNumber._ors(i, _interceptors.JSNumber._shrs(i, 1)); + i = _interceptors.JSNumber._ors(i, _interceptors.JSNumber._shrs(i, 2)); + i = _interceptors.JSNumber._ors(i, _interceptors.JSNumber._shrs(i, 4)); + i = _interceptors.JSNumber._ors(i, _interceptors.JSNumber._shrs(i, 8)); + i = _interceptors.JSNumber._shru(_interceptors.JSNumber._ors(i, _interceptors.JSNumber._shrs(i, 16)), 0); + return i; + } + [$bitNot]() { + return ~this >>> 0; + } +}; +(_interceptors.JSNumber.new = function() { + _interceptors.JSNumber.__proto__.new.call(this); + ; +}).prototype = _interceptors.JSNumber.prototype; +dart.addTypeTests(_interceptors.JSNumber); +dart.addTypeCaches(_interceptors.JSNumber); +_interceptors.JSNumber[dart.implements] = () => [core.int, core.double]; +dart.setMethodSignature(_interceptors.JSNumber, () => ({ + __proto__: dart.getMethods(_interceptors.JSNumber.__proto__), + [$compareTo]: dart.fnType(core.int, [dart.nullable(core.Object)]), + [$remainder]: dart.fnType(_interceptors.JSNumber, [core.num]), + [$abs]: dart.fnType(_interceptors.JSNumber, []), + [$toInt]: dart.fnType(core.int, []), + [$truncate]: dart.fnType(core.int, []), + [$ceil]: dart.fnType(core.int, []), + [$floor]: dart.fnType(core.int, []), + [$round]: dart.fnType(core.int, []), + [$ceilToDouble]: dart.fnType(core.double, []), + [$floorToDouble]: dart.fnType(core.double, []), + [$roundToDouble]: dart.fnType(core.double, []), + [$truncateToDouble]: dart.fnType(core.double, []), + [$clamp]: dart.fnType(core.num, [core.num, core.num]), + [$toDouble]: dart.fnType(core.double, []), + [$toStringAsFixed]: dart.fnType(core.String, [core.int]), + [$toStringAsExponential]: dart.fnType(core.String, [], [dart.nullable(core.int)]), + [$toStringAsPrecision]: dart.fnType(core.String, [core.int]), + [$toRadixString]: dart.fnType(core.String, [core.int]), + [$_negate]: dart.fnType(_interceptors.JSNumber, []), + [$plus]: dart.fnType(_interceptors.JSNumber, [core.num]), + [$minus]: dart.fnType(_interceptors.JSNumber, [core.num]), + [$divide]: dart.fnType(core.double, [core.num]), + [$times]: dart.fnType(_interceptors.JSNumber, [core.num]), + [$modulo]: dart.fnType(_interceptors.JSNumber, [core.num]), + [_isInt32]: dart.fnType(core.bool, [core.num]), + [$floorDivide]: dart.fnType(core.int, [core.num]), + [_tdivSlow]: dart.fnType(core.int, [core.num]), + [$leftShift]: dart.fnType(core.int, [core.num]), + [_shlPositive]: dart.fnType(core.int, [core.num]), + [$rightShift]: dart.fnType(core.int, [core.num]), + [$tripleShift]: dart.fnType(core.int, [core.num]), + [_shrOtherPositive]: dart.fnType(core.int, [core.num]), + [_shrUnsigned]: dart.fnType(core.int, [core.num]), + [$bitAnd]: dart.fnType(core.int, [core.num]), + [$bitOr]: dart.fnType(core.int, [core.num]), + [$bitXor]: dart.fnType(core.int, [core.num]), + [$lessThan]: dart.fnType(core.bool, [core.num]), + [$greaterThan]: dart.fnType(core.bool, [core.num]), + [$lessOrEquals]: dart.fnType(core.bool, [core.num]), + [$greaterOrEquals]: dart.fnType(core.bool, [core.num]), + [$toUnsigned]: dart.fnType(core.int, [core.int]), + [$toSigned]: dart.fnType(core.int, [core.int]), + [$modPow]: dart.fnType(core.int, [core.int, core.int]), + [$modInverse]: dart.fnType(core.int, [core.int]), + [$gcd]: dart.fnType(core.int, [core.int]), + [$bitNot]: dart.fnType(core.int, []) +})); +dart.setGetterSignature(_interceptors.JSNumber, () => ({ + __proto__: dart.getGetters(_interceptors.JSNumber.__proto__), + [$isNegative]: core.bool, + [$isNaN]: core.bool, + [$isInfinite]: core.bool, + [$isFinite]: core.bool, + [$sign]: _interceptors.JSNumber, + [$isEven]: core.bool, + [$isOdd]: core.bool, + [$bitLength]: core.int +})); +dart.setLibraryUri(_interceptors.JSNumber, I[16]); +dart.defineLazy(_interceptors.JSNumber, { + /*_interceptors.JSNumber._MIN_INT32*/get _MIN_INT32() { + return -2147483648; + }, + /*_interceptors.JSNumber._MAX_INT32*/get _MAX_INT32() { + return 2147483647; + } +}, false); +dart.definePrimitiveHashCode(_interceptors.JSNumber.prototype); +dart.registerExtension("Number", _interceptors.JSNumber); +var _defaultSplit = dart.privateName(_interceptors, "_defaultSplit"); +_interceptors.JSString = class JSString extends _interceptors.Interceptor { + [$codeUnitAt](index) { + if (index == null) dart.argumentError(index); + let len = this.length; + if (index < 0 || index >= len) { + dart.throw(new core.IndexError.new(index, this, "index", null, len)); + } + return this.charCodeAt(index); + } + [$allMatches](string, start = 0) { + if (string == null) dart.argumentError(string); + if (start == null) dart.argumentError(start); + let len = string.length; + if (0 > start || start > len) { + dart.throw(new core.RangeError.range(start, 0, len)); + } + return _js_helper.allMatchesInStringUnchecked(this, string, start); + } + [$matchAsPrefix](string, start = 0) { + if (string == null) dart.argumentError(string); + if (start == null) dart.argumentError(start); + let stringLength = string.length; + if (start < 0 || start > stringLength) { + dart.throw(new core.RangeError.range(start, 0, stringLength)); + } + let thisLength = this.length; + if (start + thisLength > stringLength) return null; + for (let i = 0; i < thisLength; i = i + 1) { + if (string[$codeUnitAt](start + i) !== this[$codeUnitAt](i)) { + return null; + } + } + return new _js_helper.StringMatch.new(start, string, this); + } + [$plus](other) { + if (other == null) dart.argumentError(other); + return this + other; + } + [$endsWith](other) { + if (other == null) dart.argumentError(other); + let otherLength = other.length; + let thisLength = this.length; + if (otherLength > thisLength) return false; + return other === this[$substring](thisLength - otherLength); + } + [$replaceAll](from, to) { + if (from == null) dart.nullFailed(I[20], 67, 29, "from"); + if (to == null) dart.argumentError(to); + return _js_helper.stringReplaceAllUnchecked(this, from, to); + } + [$replaceAllMapped](from, convert) { + if (from == null) dart.nullFailed(I[20], 72, 35, "from"); + if (convert == null) dart.nullFailed(I[20], 72, 64, "convert"); + return this[$splitMapJoin](from, {onMatch: convert}); + } + [$splitMapJoin](from, opts) { + if (from == null) dart.nullFailed(I[20], 77, 31, "from"); + let onMatch = opts && 'onMatch' in opts ? opts.onMatch : null; + let onNonMatch = opts && 'onNonMatch' in opts ? opts.onNonMatch : null; + return _js_helper.stringReplaceAllFuncUnchecked(this, from, onMatch, onNonMatch); + } + [$replaceFirst](from, to, startIndex = 0) { + if (from == null) dart.nullFailed(I[20], 83, 31, "from"); + if (to == null) dart.argumentError(to); + if (startIndex == null) dart.argumentError(startIndex); + core.RangeError.checkValueInInterval(startIndex, 0, this.length, "startIndex"); + return _js_helper.stringReplaceFirstUnchecked(this, from, to, startIndex); + } + [$replaceFirstMapped](from, replace, startIndex = 0) { + if (from == null) dart.nullFailed(I[20], 91, 15, "from"); + if (replace == null) dart.argumentError(replace); + if (startIndex == null) dart.argumentError(startIndex); + core.RangeError.checkValueInInterval(startIndex, 0, this.length, "startIndex"); + return _js_helper.stringReplaceFirstMappedUnchecked(this, from, replace, startIndex); + } + [$split](pattern) { + if (pattern == null) dart.argumentError(pattern); + if (typeof pattern == 'string') { + return T$.JSArrayOfString().of(this.split(pattern)); + } else if (_js_helper.JSSyntaxRegExp.is(pattern) && _js_helper.regExpCaptureCount(pattern) === 0) { + let re = _js_helper.regExpGetNative(pattern); + return T$.JSArrayOfString().of(this.split(re)); + } else { + return this[_defaultSplit](pattern); + } + } + [$replaceRange](start, end, replacement) { + if (start == null) dart.argumentError(start); + if (replacement == null) dart.argumentError(replacement); + let e = core.RangeError.checkValidRange(start, end, this.length); + return _js_helper.stringReplaceRangeUnchecked(this, start, e, replacement); + } + [_defaultSplit](pattern) { + if (pattern == null) dart.nullFailed(I[20], 117, 38, "pattern"); + let result = T$.JSArrayOfString().of([]); + let start = 0; + let length = 1; + for (let match of pattern[$allMatches](this)) { + let matchStart = match.start; + let matchEnd = match.end; + length = matchEnd - matchStart; + if (length === 0 && start === matchStart) { + continue; + } + let end = matchStart; + result[$add](this[$substring](start, end)); + start = matchEnd; + } + if (start < this.length || length > 0) { + result[$add](this[$substring](start)); + } + return result; + } + [$startsWith](pattern, index = 0) { + if (pattern == null) dart.nullFailed(I[20], 148, 27, "pattern"); + if (index == null) dart.argumentError(index); + let length = this.length; + if (index < 0 || index > length) { + dart.throw(new core.RangeError.range(index, 0, this.length)); + } + if (typeof pattern == 'string') { + let other = pattern; + let otherLength = other.length; + let endIndex = index + otherLength; + if (endIndex > length) return false; + return other === this.substring(index, endIndex); + } + return pattern[$matchAsPrefix](this, index) != null; + } + [$substring](startIndex, _endIndex = null) { + let t21; + if (startIndex == null) dart.argumentError(startIndex); + let length = this.length; + let endIndex = (t21 = _endIndex, t21 == null ? length : t21); + if (startIndex < 0) dart.throw(new core.RangeError.value(startIndex)); + if (startIndex > dart.notNull(endIndex)) dart.throw(new core.RangeError.value(startIndex)); + if (dart.notNull(endIndex) > length) dart.throw(new core.RangeError.value(endIndex)); + return this.substring(startIndex, endIndex); + } + [$toLowerCase]() { + return this.toLowerCase(); + } + [$toUpperCase]() { + return this.toUpperCase(); + } + static _isWhitespace(codeUnit) { + if (codeUnit < 256) { + switch (codeUnit) { + case 9: + case 10: + case 11: + case 12: + case 13: + case 32: + case 133: + case 160: + { + return true; + } + default: + { + return false; + } + } + } + switch (codeUnit) { + case 5760: + case 8192: + case 8193: + case 8194: + case 8195: + case 8196: + case 8197: + case 8198: + case 8199: + case 8200: + case 8201: + case 8202: + case 8232: + case 8233: + case 8239: + case 8287: + case 12288: + case 65279: + { + return true; + } + default: + { + return false; + } + } + } + static _skipLeadingWhitespace(string, index) { + if (string == null) dart.nullFailed(I[20], 247, 44, "string"); + if (index == null) dart.argumentError(index); + let stringLength = string.length; + while (index < stringLength) { + let codeUnit = string[$codeUnitAt](index); + if (codeUnit !== 32 && codeUnit !== 13 && !_interceptors.JSString._isWhitespace(codeUnit)) { + break; + } + index = index + 1; + } + return index; + } + static _skipTrailingWhitespace(string, index) { + if (string == null) dart.nullFailed(I[20], 266, 45, "string"); + if (index == null) dart.argumentError(index); + while (index > 0) { + let codeUnit = string[$codeUnitAt](index - 1); + if (codeUnit !== 32 && codeUnit !== 13 && !_interceptors.JSString._isWhitespace(codeUnit)) { + break; + } + index = index - 1; + } + return index; + } + [$trim]() { + let result = this.trim(); + let length = result.length; + if (length === 0) return result; + let firstCode = result[$codeUnitAt](0); + let startIndex = 0; + if (firstCode === 133) { + startIndex = _interceptors.JSString._skipLeadingWhitespace(result, 1); + if (startIndex === length) return ""; + } + let endIndex = length; + let lastCode = result[$codeUnitAt](endIndex - 1); + if (lastCode === 133) { + endIndex = _interceptors.JSString._skipTrailingWhitespace(result, endIndex - 1); + } + if (startIndex === 0 && endIndex === length) return result; + return result.substring(startIndex, endIndex); + } + [$trimLeft]() { + let result = null; + let startIndex = 0; + if (typeof this.trimLeft != "undefined") { + result = this.trimLeft(); + if (result.length === 0) return result; + let firstCode = result[$codeUnitAt](0); + if (firstCode === 133) { + startIndex = _interceptors.JSString._skipLeadingWhitespace(result, 1); + } + } else { + result = this; + startIndex = _interceptors.JSString._skipLeadingWhitespace(this, 0); + } + if (startIndex === 0) return result; + if (startIndex === result.length) return ""; + return result.substring(startIndex); + } + [$trimRight]() { + let result = null; + let endIndex = 0; + if (typeof this.trimRight != "undefined") { + result = this.trimRight(); + endIndex = result.length; + if (endIndex === 0) return result; + let lastCode = result[$codeUnitAt](endIndex - 1); + if (lastCode === 133) { + endIndex = _interceptors.JSString._skipTrailingWhitespace(result, endIndex - 1); + } + } else { + result = this; + endIndex = _interceptors.JSString._skipTrailingWhitespace(this, this.length); + } + if (endIndex === result.length) return result; + if (endIndex === 0) return ""; + return result.substring(0, endIndex); + } + [$times](times) { + if (times == null) dart.argumentError(times); + if (0 >= times) return ""; + if (times === 1 || this.length === 0) return this; + if (times !== times >>> 0) { + dart.throw(C[17] || CT.C17); + } + let result = ""; + let s = this; + while (true) { + if ((times & 1) === 1) result = s + result; + times = times >>> 1; + if (times === 0) break; + s = s + s; + } + return result; + } + [$padLeft](width, padding = " ") { + if (width == null) dart.argumentError(width); + if (padding == null) dart.nullFailed(I[20], 390, 48, "padding"); + let delta = width - this.length; + if (delta <= 0) return this; + return padding[$times](delta) + this; + } + [$padRight](width, padding = " ") { + if (width == null) dart.argumentError(width); + if (padding == null) dart.nullFailed(I[20], 397, 49, "padding"); + let delta = width - this.length; + if (delta <= 0) return this; + return this[$plus](padding[$times](delta)); + } + get [$codeUnits]() { + return new _internal.CodeUnits.new(this); + } + get [$runes]() { + return new core.Runes.new(this); + } + [$indexOf](pattern, start = 0) { + if (pattern == null) dart.argumentError(pattern); + if (start == null) dart.argumentError(start); + if (start < 0 || start > this.length) { + dart.throw(new core.RangeError.range(start, 0, this.length)); + } + if (typeof pattern == 'string') { + return _js_helper.stringIndexOfStringUnchecked(this, pattern, start); + } + if (_js_helper.JSSyntaxRegExp.is(pattern)) { + let re = pattern; + let match = _js_helper.firstMatchAfter(re, this, start); + return match == null ? -1 : match.start; + } + let length = this.length; + for (let i = start; i <= length; i = i + 1) { + if (pattern[$matchAsPrefix](this, i) != null) return i; + } + return -1; + } + [$lastIndexOf](pattern, _start = null) { + let t21; + if (pattern == null) dart.argumentError(pattern); + let length = this.length; + let start = (t21 = _start, t21 == null ? length : t21); + if (dart.notNull(start) < 0 || dart.notNull(start) > length) { + dart.throw(new core.RangeError.range(start, 0, length)); + } + if (typeof pattern == 'string') { + let other = pattern; + if (dart.notNull(start) + other.length > length) { + start = length - other.length; + } + return _js_helper.stringLastIndexOfUnchecked(this, other, start); + } + for (let i = start; dart.notNull(i) >= 0; i = dart.notNull(i) - 1) { + if (pattern[$matchAsPrefix](this, i) != null) return i; + } + return -1; + } + [$contains](other, startIndex = 0) { + if (other == null) dart.argumentError(other); + if (startIndex == null) dart.argumentError(startIndex); + if (startIndex < 0 || startIndex > this.length) { + dart.throw(new core.RangeError.range(startIndex, 0, this.length)); + } + return _js_helper.stringContainsUnchecked(this, other, startIndex); + } + get [$isEmpty]() { + return this.length === 0; + } + get [$isNotEmpty]() { + return !this[$isEmpty]; + } + [$compareTo](other) { + core.String.as(other); + if (other == null) dart.argumentError(other); + return this === other ? 0 : this < other ? -1 : 1; + } + [$toString]() { + return this; + } + get [$hashCode]() { + let hash = 0; + let length = this.length; + for (let i = 0; i < length; i = i + 1) { + hash = 536870911 & hash + this.charCodeAt(i); + hash = 536870911 & hash + ((524287 & hash) << 10); + hash = hash ^ hash >> 6; + } + hash = 536870911 & hash + ((67108863 & hash) << 3); + hash = hash ^ hash >> 11; + return 536870911 & hash + ((16383 & hash) << 15); + } + get [$runtimeType]() { + return dart.wrapType(core.String); + } + get [$length]() { + return this.length; + } + [$_get](index) { + if (index == null) dart.argumentError(index); + if (index >= this.length || index < 0) { + dart.throw(_js_helper.diagnoseIndexError(this, index)); + } + return this[index]; + } +}; +(_interceptors.JSString.new = function() { + _interceptors.JSString.__proto__.new.call(this); + ; +}).prototype = _interceptors.JSString.prototype; +dart.addTypeTests(_interceptors.JSString); +dart.addTypeCaches(_interceptors.JSString); +_interceptors.JSString[dart.implements] = () => [core.String, _interceptors.JSIndexable$(core.String)]; +dart.setMethodSignature(_interceptors.JSString, () => ({ + __proto__: dart.getMethods(_interceptors.JSString.__proto__), + [$codeUnitAt]: dart.fnType(core.int, [core.int]), + [$allMatches]: dart.fnType(core.Iterable$(core.Match), [core.String], [core.int]), + [$matchAsPrefix]: dart.fnType(dart.nullable(core.Match), [core.String], [core.int]), + [$plus]: dart.fnType(core.String, [core.String]), + [$endsWith]: dart.fnType(core.bool, [core.String]), + [$replaceAll]: dart.fnType(core.String, [core.Pattern, core.String]), + [$replaceAllMapped]: dart.fnType(core.String, [core.Pattern, dart.fnType(core.String, [core.Match])]), + [$splitMapJoin]: dart.fnType(core.String, [core.Pattern], {onMatch: dart.nullable(dart.fnType(core.String, [core.Match])), onNonMatch: dart.nullable(dart.fnType(core.String, [core.String]))}, {}), + [$replaceFirst]: dart.fnType(core.String, [core.Pattern, core.String], [core.int]), + [$replaceFirstMapped]: dart.fnType(core.String, [core.Pattern, dart.fnType(core.String, [core.Match])], [core.int]), + [$split]: dart.fnType(core.List$(core.String), [core.Pattern]), + [$replaceRange]: dart.fnType(core.String, [core.int, dart.nullable(core.int), core.String]), + [_defaultSplit]: dart.fnType(core.List$(core.String), [core.Pattern]), + [$startsWith]: dart.fnType(core.bool, [core.Pattern], [core.int]), + [$substring]: dart.fnType(core.String, [core.int], [dart.nullable(core.int)]), + [$toLowerCase]: dart.fnType(core.String, []), + [$toUpperCase]: dart.fnType(core.String, []), + [$trim]: dart.fnType(core.String, []), + [$trimLeft]: dart.fnType(core.String, []), + [$trimRight]: dart.fnType(core.String, []), + [$times]: dart.fnType(core.String, [core.int]), + [$padLeft]: dart.fnType(core.String, [core.int], [core.String]), + [$padRight]: dart.fnType(core.String, [core.int], [core.String]), + [$indexOf]: dart.fnType(core.int, [core.Pattern], [core.int]), + [$lastIndexOf]: dart.fnType(core.int, [core.Pattern], [dart.nullable(core.int)]), + [$contains]: dart.fnType(core.bool, [core.Pattern], [core.int]), + [$compareTo]: dart.fnType(core.int, [dart.nullable(core.Object)]), + [$_get]: dart.fnType(core.String, [core.int]) +})); +dart.setGetterSignature(_interceptors.JSString, () => ({ + __proto__: dart.getGetters(_interceptors.JSString.__proto__), + [$codeUnits]: core.List$(core.int), + [$runes]: core.Runes, + [$isEmpty]: core.bool, + [$isNotEmpty]: core.bool, + [$length]: core.int +})); +dart.setLibraryUri(_interceptors.JSString, I[16]); +dart.definePrimitiveHashCode(_interceptors.JSString.prototype); +dart.registerExtension("String", _interceptors.JSString); +_interceptors.getInterceptor = function getInterceptor(obj) { + return obj; +}; +_interceptors.findInterceptorConstructorForType = function findInterceptorConstructorForType(type) { +}; +_interceptors.findConstructorForNativeSubclassType = function findConstructorForNativeSubclassType(type, name) { + if (name == null) dart.nullFailed(I[17], 239, 57, "name"); +}; +_interceptors.getNativeInterceptor = function getNativeInterceptor(object) { +}; +_interceptors.setDispatchProperty = function setDispatchProperty(object, value) { +}; +_interceptors.findInterceptorForType = function findInterceptorForType(type) { +}; +dart.defineLazy(_interceptors, { + /*_interceptors.jsNull*/get jsNull() { + return new _interceptors.JSNull.new(); + } +}, false); +var _string$ = dart.privateName(_internal, "_string"); +var _closeGap = dart.privateName(collection, "_closeGap"); +var _filter = dart.privateName(collection, "_filter"); +const _is_ListMixin_default = Symbol('_is_ListMixin_default'); +collection.ListMixin$ = dart.generic(E => { + var ListIteratorOfE = () => (ListIteratorOfE = dart.constFn(_internal.ListIterator$(E)))(); + var IterableOfE = () => (IterableOfE = dart.constFn(core.Iterable$(E)))(); + var FollowedByIterableOfE = () => (FollowedByIterableOfE = dart.constFn(_internal.FollowedByIterable$(E)))(); + var VoidToE = () => (VoidToE = dart.constFn(dart.fnType(E, [])))(); + var VoidToNE = () => (VoidToNE = dart.constFn(dart.nullable(VoidToE())))(); + var ETodynamic = () => (ETodynamic = dart.constFn(dart.fnType(dart.dynamic, [E])))(); + var WhereIterableOfE = () => (WhereIterableOfE = dart.constFn(_internal.WhereIterable$(E)))(); + var EAndEToE = () => (EAndEToE = dart.constFn(dart.fnType(E, [E, E])))(); + var SubListIterableOfE = () => (SubListIterableOfE = dart.constFn(_internal.SubListIterable$(E)))(); + var SkipWhileIterableOfE = () => (SkipWhileIterableOfE = dart.constFn(_internal.SkipWhileIterable$(E)))(); + var TakeWhileIterableOfE = () => (TakeWhileIterableOfE = dart.constFn(_internal.TakeWhileIterable$(E)))(); + var ListOfE = () => (ListOfE = dart.constFn(core.List$(E)))(); + var _HashSetOfE = () => (_HashSetOfE = dart.constFn(collection._HashSet$(E)))(); + var JSArrayOfE = () => (JSArrayOfE = dart.constFn(_interceptors.JSArray$(E)))(); + var ListMapViewOfE = () => (ListMapViewOfE = dart.constFn(_internal.ListMapView$(E)))(); + var EN = () => (EN = dart.constFn(dart.nullable(E)))(); + var ReversedListIterableOfE = () => (ReversedListIterableOfE = dart.constFn(_internal.ReversedListIterable$(E)))(); + class ListMixin extends core.Object { + get iterator() { + return new (ListIteratorOfE()).new(this); + } + [Symbol.iterator]() { + return new dart.JsIterator(this[$iterator]); + } + elementAt(index) { + if (index == null) dart.nullFailed(I[23], 78, 19, "index"); + return this[$_get](index); + } + followedBy(other) { + IterableOfE().as(other); + if (other == null) dart.nullFailed(I[23], 80, 38, "other"); + return FollowedByIterableOfE().firstEfficient(this, other); + } + forEach(action) { + if (action == null) dart.nullFailed(I[23], 83, 21, "action"); + let length = this[$length]; + for (let i = 0; i < dart.notNull(length); i = i + 1) { + action(this[$_get](i)); + if (length != this[$length]) { + dart.throw(new core.ConcurrentModificationError.new(this)); + } + } + } + get isEmpty() { + return this[$length] === 0; + } + get isNotEmpty() { + return !dart.test(this[$isEmpty]); + } + get first() { + if (this[$length] === 0) dart.throw(_internal.IterableElementError.noElement()); + return this[$_get](0); + } + set first(value) { + E.as(value); + if (this[$length] === 0) dart.throw(_internal.IterableElementError.noElement()); + this[$_set](0, value); + } + get last() { + if (this[$length] === 0) dart.throw(_internal.IterableElementError.noElement()); + return this[$_get](dart.notNull(this[$length]) - 1); + } + set last(value) { + E.as(value); + if (this[$length] === 0) dart.throw(_internal.IterableElementError.noElement()); + this[$_set](dart.notNull(this[$length]) - 1, value); + } + get single() { + if (this[$length] === 0) dart.throw(_internal.IterableElementError.noElement()); + if (dart.notNull(this[$length]) > 1) dart.throw(_internal.IterableElementError.tooMany()); + return this[$_get](0); + } + contains(element) { + let length = this[$length]; + for (let i = 0; i < dart.notNull(length); i = i + 1) { + if (dart.equals(this[$_get](i), element)) return true; + if (length != this[$length]) { + dart.throw(new core.ConcurrentModificationError.new(this)); + } + } + return false; + } + every(test) { + if (test == null) dart.nullFailed(I[23], 135, 19, "test"); + let length = this[$length]; + for (let i = 0; i < dart.notNull(length); i = i + 1) { + if (!dart.test(test(this[$_get](i)))) return false; + if (length != this[$length]) { + dart.throw(new core.ConcurrentModificationError.new(this)); + } + } + return true; + } + any(test) { + if (test == null) dart.nullFailed(I[23], 146, 17, "test"); + let length = this[$length]; + for (let i = 0; i < dart.notNull(length); i = i + 1) { + if (dart.test(test(this[$_get](i)))) return true; + if (length != this[$length]) { + dart.throw(new core.ConcurrentModificationError.new(this)); + } + } + return false; + } + firstWhere(test, opts) { + if (test == null) dart.nullFailed(I[23], 157, 21, "test"); + let orElse = opts && 'orElse' in opts ? opts.orElse : null; + VoidToNE().as(orElse); + let length = this[$length]; + for (let i = 0; i < dart.notNull(length); i = i + 1) { + let element = this[$_get](i); + if (dart.test(test(element))) return element; + if (length != this[$length]) { + dart.throw(new core.ConcurrentModificationError.new(this)); + } + } + if (orElse != null) return orElse(); + dart.throw(_internal.IterableElementError.noElement()); + } + lastWhere(test, opts) { + if (test == null) dart.nullFailed(I[23], 170, 20, "test"); + let orElse = opts && 'orElse' in opts ? opts.orElse : null; + VoidToNE().as(orElse); + let length = this[$length]; + for (let i = dart.notNull(length) - 1; i >= 0; i = i - 1) { + let element = this[$_get](i); + if (dart.test(test(element))) return element; + if (length != this[$length]) { + dart.throw(new core.ConcurrentModificationError.new(this)); + } + } + if (orElse != null) return orElse(); + dart.throw(_internal.IterableElementError.noElement()); + } + singleWhere(test, opts) { + if (test == null) dart.nullFailed(I[23], 183, 22, "test"); + let orElse = opts && 'orElse' in opts ? opts.orElse : null; + VoidToNE().as(orElse); + let length = this[$length]; + let match = null; + let match$35isSet = false; + function match$35get() { + return match$35isSet ? match : dart.throw(new _internal.LateError.localNI("match")); + } + dart.fn(match$35get, VoidToE()); + function match$35set(t24) { + match$35isSet = true; + return match = t24; + } + dart.fn(match$35set, ETodynamic()); + let matchFound = false; + for (let i = 0; i < dart.notNull(length); i = i + 1) { + let element = this[$_get](i); + if (dart.test(test(element))) { + if (matchFound) { + dart.throw(_internal.IterableElementError.tooMany()); + } + matchFound = true; + match$35set(element); + } + if (length != this[$length]) { + dart.throw(new core.ConcurrentModificationError.new(this)); + } + } + if (matchFound) return match$35get(); + if (orElse != null) return orElse(); + dart.throw(_internal.IterableElementError.noElement()); + } + join(separator = "") { + let t26; + if (separator == null) dart.nullFailed(I[23], 205, 23, "separator"); + if (this[$length] === 0) return ""; + let buffer = (t26 = new core.StringBuffer.new(), (() => { + t26.writeAll(this, separator); + return t26; + })()); + return dart.toString(buffer); + } + where(test) { + if (test == null) dart.nullFailed(I[23], 211, 26, "test"); + return new (WhereIterableOfE()).new(this, test); + } + whereType(T) { + return new (_internal.WhereTypeIterable$(T)).new(this); + } + map(T, f) { + if (f == null) dart.nullFailed(I[23], 215, 24, "f"); + return new (_internal.MappedListIterable$(E, T)).new(this, f); + } + expand(T, f) { + if (f == null) dart.nullFailed(I[23], 217, 37, "f"); + return new (_internal.ExpandIterable$(E, T)).new(this, f); + } + reduce(combine) { + EAndEToE().as(combine); + if (combine == null) dart.nullFailed(I[23], 220, 14, "combine"); + let length = this[$length]; + if (length === 0) dart.throw(_internal.IterableElementError.noElement()); + let value = this[$_get](0); + for (let i = 1; i < dart.notNull(length); i = i + 1) { + value = combine(value, this[$_get](i)); + if (length != this[$length]) { + dart.throw(new core.ConcurrentModificationError.new(this)); + } + } + return value; + } + fold(T, initialValue, combine) { + if (combine == null) dart.nullFailed(I[23], 233, 31, "combine"); + let value = initialValue; + let length = this[$length]; + for (let i = 0; i < dart.notNull(length); i = i + 1) { + value = combine(value, this[$_get](i)); + if (length != this[$length]) { + dart.throw(new core.ConcurrentModificationError.new(this)); + } + } + return value; + } + skip(count) { + if (count == null) dart.nullFailed(I[23], 245, 24, "count"); + return new (SubListIterableOfE()).new(this, count, null); + } + skipWhile(test) { + if (test == null) dart.nullFailed(I[23], 247, 30, "test"); + return new (SkipWhileIterableOfE()).new(this, test); + } + take(count) { + if (count == null) dart.nullFailed(I[23], 251, 24, "count"); + return new (SubListIterableOfE()).new(this, 0, _internal.checkNotNullable(core.int, count, "count")); + } + takeWhile(test) { + if (test == null) dart.nullFailed(I[23], 254, 30, "test"); + return new (TakeWhileIterableOfE()).new(this, test); + } + toList(opts) { + let growable = opts && 'growable' in opts ? opts.growable : true; + if (growable == null) dart.nullFailed(I[23], 258, 24, "growable"); + if (dart.test(this[$isEmpty])) return ListOfE().empty({growable: growable}); + let first = this[$_get](0); + let result = ListOfE().filled(this[$length], first, {growable: growable}); + for (let i = 1; i < dart.notNull(this[$length]); i = i + 1) { + result[$_set](i, this[$_get](i)); + } + return result; + } + toSet() { + let result = new (_HashSetOfE()).new(); + for (let i = 0; i < dart.notNull(this[$length]); i = i + 1) { + result.add(this[$_get](i)); + } + return result; + } + add(element) { + let t26; + E.as(element); + this[$_set]((t26 = this[$length], this[$length] = dart.notNull(t26) + 1, t26), element); + } + addAll(iterable) { + IterableOfE().as(iterable); + if (iterable == null) dart.nullFailed(I[23], 282, 27, "iterable"); + let i = this[$length]; + for (let element of iterable) { + if (!(this[$length] == i || dart.throw(new core.ConcurrentModificationError.new(this)))) dart.assertFailed(null, I[23], 285, 14, "this.length == i || (throw ConcurrentModificationError(this))"); + this[$add](element); + i = dart.notNull(i) + 1; + } + } + remove(element) { + for (let i = 0; i < dart.notNull(this[$length]); i = i + 1) { + if (dart.equals(this[$_get](i), element)) { + this[_closeGap](i, i + 1); + return true; + } + } + return false; + } + [_closeGap](start, end) { + if (start == null) dart.nullFailed(I[23], 303, 22, "start"); + if (end == null) dart.nullFailed(I[23], 303, 33, "end"); + let length = this[$length]; + if (!(0 <= dart.notNull(start))) dart.assertFailed(null, I[23], 305, 12, "0 <= start"); + if (!(dart.notNull(start) < dart.notNull(end))) dart.assertFailed(null, I[23], 306, 12, "start < end"); + if (!(dart.notNull(end) <= dart.notNull(length))) dart.assertFailed(null, I[23], 307, 12, "end <= length"); + let size = dart.notNull(end) - dart.notNull(start); + for (let i = end; dart.notNull(i) < dart.notNull(length); i = dart.notNull(i) + 1) { + this[$_set](dart.notNull(i) - size, this[$_get](i)); + } + this[$length] = dart.notNull(length) - size; + } + removeWhere(test) { + if (test == null) dart.nullFailed(I[23], 315, 25, "test"); + this[_filter](test, false); + } + retainWhere(test) { + if (test == null) dart.nullFailed(I[23], 319, 25, "test"); + this[_filter](test, true); + } + [_filter](test, retainMatching) { + if (test == null) dart.nullFailed(I[23], 323, 21, "test"); + if (retainMatching == null) dart.nullFailed(I[23], 323, 43, "retainMatching"); + let retained = JSArrayOfE().of([]); + let length = this[$length]; + for (let i = 0; i < dart.notNull(length); i = i + 1) { + let element = this[$_get](i); + if (test(element) == retainMatching) { + retained[$add](element); + } + if (length != this[$length]) { + dart.throw(new core.ConcurrentModificationError.new(this)); + } + } + if (retained[$length] != this[$length]) { + this[$setRange](0, retained[$length], retained); + this[$length] = retained[$length]; + } + } + clear() { + this[$length] = 0; + } + cast(R) { + return core.List.castFrom(E, R, this); + } + removeLast() { + if (this[$length] === 0) { + dart.throw(_internal.IterableElementError.noElement()); + } + let result = this[$_get](dart.notNull(this[$length]) - 1); + this[$length] = dart.notNull(this[$length]) - 1; + return result; + } + sort(compare = null) { + let t26; + _internal.Sort.sort(E, this, (t26 = compare, t26 == null ? C[18] || CT.C18 : t26)); + } + static _compareAny(a, b) { + return core.Comparable.compare(core.Comparable.as(a), core.Comparable.as(b)); + } + shuffle(random = null) { + random == null ? random = math.Random.new() : null; + if (random == null) dart.throw("!"); + let length = this[$length]; + while (dart.notNull(length) > 1) { + let pos = random.nextInt(length); + length = dart.notNull(length) - 1; + let tmp = this[$_get](length); + this[$_set](length, this[$_get](pos)); + this[$_set](pos, tmp); + } + } + asMap() { + return new (ListMapViewOfE()).new(this); + } + ['+'](other) { + ListOfE().as(other); + if (other == null) dart.nullFailed(I[23], 381, 30, "other"); + return (() => { + let t26 = ListOfE().of(this); + t26[$addAll](other); + return t26; + })(); + } + sublist(start, end = null) { + if (start == null) dart.nullFailed(I[23], 383, 23, "start"); + let listLength = this[$length]; + end == null ? end = listLength : null; + if (end == null) dart.throw("!"); + core.RangeError.checkValidRange(start, end, listLength); + return ListOfE().from(this[$getRange](start, end)); + } + getRange(start, end) { + if (start == null) dart.nullFailed(I[23], 392, 28, "start"); + if (end == null) dart.nullFailed(I[23], 392, 39, "end"); + core.RangeError.checkValidRange(start, end, this[$length]); + return new (SubListIterableOfE()).new(this, start, end); + } + removeRange(start, end) { + if (start == null) dart.nullFailed(I[23], 397, 24, "start"); + if (end == null) dart.nullFailed(I[23], 397, 35, "end"); + core.RangeError.checkValidRange(start, end, this[$length]); + if (dart.notNull(end) > dart.notNull(start)) { + this[_closeGap](start, end); + } + } + fillRange(start, end, fill = null) { + if (start == null) dart.nullFailed(I[23], 404, 22, "start"); + if (end == null) dart.nullFailed(I[23], 404, 33, "end"); + EN().as(fill); + let value = E.as(fill); + core.RangeError.checkValidRange(start, end, this[$length]); + for (let i = start; dart.notNull(i) < dart.notNull(end); i = dart.notNull(i) + 1) { + this[$_set](i, value); + } + } + setRange(start, end, iterable, skipCount = 0) { + if (start == null) dart.nullFailed(I[23], 414, 21, "start"); + if (end == null) dart.nullFailed(I[23], 414, 32, "end"); + IterableOfE().as(iterable); + if (iterable == null) dart.nullFailed(I[23], 414, 49, "iterable"); + if (skipCount == null) dart.nullFailed(I[23], 414, 64, "skipCount"); + core.RangeError.checkValidRange(start, end, this[$length]); + let length = dart.notNull(end) - dart.notNull(start); + if (length === 0) return; + core.RangeError.checkNotNegative(skipCount, "skipCount"); + let otherList = null; + let otherStart = null; + if (ListOfE().is(iterable)) { + otherList = iterable; + otherStart = skipCount; + } else { + otherList = iterable[$skip](skipCount)[$toList]({growable: false}); + otherStart = 0; + } + if (dart.notNull(otherStart) + length > dart.notNull(otherList[$length])) { + dart.throw(_internal.IterableElementError.tooFew()); + } + if (dart.notNull(otherStart) < dart.notNull(start)) { + for (let i = length - 1; i >= 0; i = i - 1) { + this[$_set](dart.notNull(start) + i, otherList[$_get](dart.notNull(otherStart) + i)); + } + } else { + for (let i = 0; i < length; i = i + 1) { + this[$_set](dart.notNull(start) + i, otherList[$_get](dart.notNull(otherStart) + i)); + } + } + } + replaceRange(start, end, newContents) { + if (start == null) dart.nullFailed(I[23], 445, 25, "start"); + if (end == null) dart.nullFailed(I[23], 445, 36, "end"); + IterableOfE().as(newContents); + if (newContents == null) dart.nullFailed(I[23], 445, 53, "newContents"); + core.RangeError.checkValidRange(start, end, this[$length]); + if (start == this[$length]) { + this[$addAll](newContents); + return; + } + if (!_internal.EfficientLengthIterable.is(newContents)) { + newContents = newContents[$toList](); + } + let removeLength = dart.notNull(end) - dart.notNull(start); + let insertLength = newContents[$length]; + if (removeLength >= dart.notNull(insertLength)) { + let insertEnd = dart.notNull(start) + dart.notNull(insertLength); + this[$setRange](start, insertEnd, newContents); + if (removeLength > dart.notNull(insertLength)) { + this[_closeGap](insertEnd, end); + } + } else if (end == this[$length]) { + let i = start; + for (let element of newContents) { + if (dart.notNull(i) < dart.notNull(end)) { + this[$_set](i, element); + } else { + this[$add](element); + } + i = dart.notNull(i) + 1; + } + } else { + let delta = dart.notNull(insertLength) - removeLength; + let oldLength = this[$length]; + let insertEnd = dart.notNull(start) + dart.notNull(insertLength); + for (let i = dart.notNull(oldLength) - delta; i < dart.notNull(oldLength); i = i + 1) { + this[$add](this[$_get](i > 0 ? i : 0)); + } + if (insertEnd < dart.notNull(oldLength)) { + this[$setRange](insertEnd, oldLength, this, end); + } + this[$setRange](start, insertEnd, newContents); + } + } + indexOf(element, start = 0) { + if (start == null) dart.nullFailed(I[23], 486, 37, "start"); + if (dart.notNull(start) < 0) start = 0; + for (let i = start; dart.notNull(i) < dart.notNull(this[$length]); i = dart.notNull(i) + 1) { + if (dart.equals(this[$_get](i), element)) return i; + } + return -1; + } + indexWhere(test, start = 0) { + if (test == null) dart.nullFailed(I[23], 494, 23, "test"); + if (start == null) dart.nullFailed(I[23], 494, 45, "start"); + if (dart.notNull(start) < 0) start = 0; + for (let i = start; dart.notNull(i) < dart.notNull(this[$length]); i = dart.notNull(i) + 1) { + if (dart.test(test(this[$_get](i)))) return i; + } + return -1; + } + lastIndexOf(element, start = null) { + if (start == null || dart.notNull(start) >= dart.notNull(this[$length])) start = dart.notNull(this[$length]) - 1; + if (start == null) dart.throw("!"); + for (let i = start; dart.notNull(i) >= 0; i = dart.notNull(i) - 1) { + if (dart.equals(this[$_get](i), element)) return i; + } + return -1; + } + lastIndexWhere(test, start = null) { + if (test == null) dart.nullFailed(I[23], 514, 27, "test"); + if (start == null || dart.notNull(start) >= dart.notNull(this[$length])) start = dart.notNull(this[$length]) - 1; + if (start == null) dart.throw("!"); + for (let i = start; dart.notNull(i) >= 0; i = dart.notNull(i) - 1) { + if (dart.test(test(this[$_get](i)))) return i; + } + return -1; + } + insert(index, element) { + if (index == null) dart.nullFailed(I[23], 526, 19, "index"); + E.as(element); + _internal.checkNotNullable(core.int, index, "index"); + let length = this[$length]; + core.RangeError.checkValueInInterval(index, 0, length, "index"); + this[$add](element); + if (index != length) { + this[$setRange](dart.notNull(index) + 1, dart.notNull(length) + 1, this, index); + this[$_set](index, element); + } + } + removeAt(index) { + if (index == null) dart.nullFailed(I[23], 537, 18, "index"); + let result = this[$_get](index); + this[_closeGap](index, dart.notNull(index) + 1); + return result; + } + insertAll(index, iterable) { + if (index == null) dart.nullFailed(I[23], 543, 22, "index"); + IterableOfE().as(iterable); + if (iterable == null) dart.nullFailed(I[23], 543, 41, "iterable"); + core.RangeError.checkValueInInterval(index, 0, this[$length], "index"); + if (index == this[$length]) { + this[$addAll](iterable); + return; + } + if (!_internal.EfficientLengthIterable.is(iterable) || iterable === this) { + iterable = iterable[$toList](); + } + let insertionLength = iterable[$length]; + if (insertionLength === 0) { + return; + } + let oldLength = this[$length]; + for (let i = dart.notNull(oldLength) - dart.notNull(insertionLength); i < dart.notNull(oldLength); i = i + 1) { + this[$add](this[$_get](i > 0 ? i : 0)); + } + if (iterable[$length] != insertionLength) { + this[$length] = dart.notNull(this[$length]) - dart.notNull(insertionLength); + dart.throw(new core.ConcurrentModificationError.new(iterable)); + } + let oldCopyStart = dart.notNull(index) + dart.notNull(insertionLength); + if (oldCopyStart < dart.notNull(oldLength)) { + this[$setRange](oldCopyStart, oldLength, this, index); + } + this[$setAll](index, iterable); + } + setAll(index, iterable) { + let t27; + if (index == null) dart.nullFailed(I[23], 576, 19, "index"); + IterableOfE().as(iterable); + if (iterable == null) dart.nullFailed(I[23], 576, 38, "iterable"); + if (core.List.is(iterable)) { + this[$setRange](index, dart.notNull(index) + dart.notNull(iterable[$length]), iterable); + } else { + for (let element of iterable) { + this[$_set]((t27 = index, index = dart.notNull(t27) + 1, t27), element); + } + } + } + get reversed() { + return new (ReversedListIterableOfE()).new(this); + } + toString() { + return collection.IterableBase.iterableToFullString(this, "[", "]"); + } + } + (ListMixin.new = function() { + ; + }).prototype = ListMixin.prototype; + ListMixin.prototype[dart.isList] = true; + dart.addTypeTests(ListMixin); + ListMixin.prototype[_is_ListMixin_default] = true; + dart.addTypeCaches(ListMixin); + ListMixin[dart.implements] = () => [core.List$(E)]; + dart.setMethodSignature(ListMixin, () => ({ + __proto__: dart.getMethods(ListMixin.__proto__), + elementAt: dart.fnType(E, [core.int]), + [$elementAt]: dart.fnType(E, [core.int]), + followedBy: dart.fnType(core.Iterable$(E), [dart.nullable(core.Object)]), + [$followedBy]: dart.fnType(core.Iterable$(E), [dart.nullable(core.Object)]), + forEach: dart.fnType(dart.void, [dart.fnType(dart.void, [E])]), + [$forEach]: dart.fnType(dart.void, [dart.fnType(dart.void, [E])]), + contains: dart.fnType(core.bool, [dart.nullable(core.Object)]), + [$contains]: dart.fnType(core.bool, [dart.nullable(core.Object)]), + every: dart.fnType(core.bool, [dart.fnType(core.bool, [E])]), + [$every]: dart.fnType(core.bool, [dart.fnType(core.bool, [E])]), + any: dart.fnType(core.bool, [dart.fnType(core.bool, [E])]), + [$any]: dart.fnType(core.bool, [dart.fnType(core.bool, [E])]), + firstWhere: dart.fnType(E, [dart.fnType(core.bool, [E])], {orElse: dart.nullable(core.Object)}, {}), + [$firstWhere]: dart.fnType(E, [dart.fnType(core.bool, [E])], {orElse: dart.nullable(core.Object)}, {}), + lastWhere: dart.fnType(E, [dart.fnType(core.bool, [E])], {orElse: dart.nullable(core.Object)}, {}), + [$lastWhere]: dart.fnType(E, [dart.fnType(core.bool, [E])], {orElse: dart.nullable(core.Object)}, {}), + singleWhere: dart.fnType(E, [dart.fnType(core.bool, [E])], {orElse: dart.nullable(core.Object)}, {}), + [$singleWhere]: dart.fnType(E, [dart.fnType(core.bool, [E])], {orElse: dart.nullable(core.Object)}, {}), + join: dart.fnType(core.String, [], [core.String]), + [$join]: dart.fnType(core.String, [], [core.String]), + where: dart.fnType(core.Iterable$(E), [dart.fnType(core.bool, [E])]), + [$where]: dart.fnType(core.Iterable$(E), [dart.fnType(core.bool, [E])]), + whereType: dart.gFnType(T => [core.Iterable$(T), []], T => [dart.nullable(core.Object)]), + [$whereType]: dart.gFnType(T => [core.Iterable$(T), []], T => [dart.nullable(core.Object)]), + map: dart.gFnType(T => [core.Iterable$(T), [dart.fnType(T, [E])]], T => [dart.nullable(core.Object)]), + [$map]: dart.gFnType(T => [core.Iterable$(T), [dart.fnType(T, [E])]], T => [dart.nullable(core.Object)]), + expand: dart.gFnType(T => [core.Iterable$(T), [dart.fnType(core.Iterable$(T), [E])]], T => [dart.nullable(core.Object)]), + [$expand]: dart.gFnType(T => [core.Iterable$(T), [dart.fnType(core.Iterable$(T), [E])]], T => [dart.nullable(core.Object)]), + reduce: dart.fnType(E, [dart.nullable(core.Object)]), + [$reduce]: dart.fnType(E, [dart.nullable(core.Object)]), + fold: dart.gFnType(T => [T, [T, dart.fnType(T, [T, E])]], T => [dart.nullable(core.Object)]), + [$fold]: dart.gFnType(T => [T, [T, dart.fnType(T, [T, E])]], T => [dart.nullable(core.Object)]), + skip: dart.fnType(core.Iterable$(E), [core.int]), + [$skip]: dart.fnType(core.Iterable$(E), [core.int]), + skipWhile: dart.fnType(core.Iterable$(E), [dart.fnType(core.bool, [E])]), + [$skipWhile]: dart.fnType(core.Iterable$(E), [dart.fnType(core.bool, [E])]), + take: dart.fnType(core.Iterable$(E), [core.int]), + [$take]: dart.fnType(core.Iterable$(E), [core.int]), + takeWhile: dart.fnType(core.Iterable$(E), [dart.fnType(core.bool, [E])]), + [$takeWhile]: dart.fnType(core.Iterable$(E), [dart.fnType(core.bool, [E])]), + toList: dart.fnType(core.List$(E), [], {growable: core.bool}, {}), + [$toList]: dart.fnType(core.List$(E), [], {growable: core.bool}, {}), + toSet: dart.fnType(core.Set$(E), []), + [$toSet]: dart.fnType(core.Set$(E), []), + add: dart.fnType(dart.void, [dart.nullable(core.Object)]), + [$add]: dart.fnType(dart.void, [dart.nullable(core.Object)]), + addAll: dart.fnType(dart.void, [dart.nullable(core.Object)]), + [$addAll]: dart.fnType(dart.void, [dart.nullable(core.Object)]), + remove: dart.fnType(core.bool, [dart.nullable(core.Object)]), + [$remove]: dart.fnType(core.bool, [dart.nullable(core.Object)]), + [_closeGap]: dart.fnType(dart.void, [core.int, core.int]), + removeWhere: dart.fnType(dart.void, [dart.fnType(core.bool, [E])]), + [$removeWhere]: dart.fnType(dart.void, [dart.fnType(core.bool, [E])]), + retainWhere: dart.fnType(dart.void, [dart.fnType(core.bool, [E])]), + [$retainWhere]: dart.fnType(dart.void, [dart.fnType(core.bool, [E])]), + [_filter]: dart.fnType(dart.void, [dart.fnType(core.bool, [E]), core.bool]), + clear: dart.fnType(dart.void, []), + [$clear]: dart.fnType(dart.void, []), + cast: dart.gFnType(R => [core.List$(R), []], R => [dart.nullable(core.Object)]), + [$cast]: dart.gFnType(R => [core.List$(R), []], R => [dart.nullable(core.Object)]), + removeLast: dart.fnType(E, []), + [$removeLast]: dart.fnType(E, []), + sort: dart.fnType(dart.void, [], [dart.nullable(dart.fnType(core.int, [E, E]))]), + [$sort]: dart.fnType(dart.void, [], [dart.nullable(dart.fnType(core.int, [E, E]))]), + shuffle: dart.fnType(dart.void, [], [dart.nullable(math.Random)]), + [$shuffle]: dart.fnType(dart.void, [], [dart.nullable(math.Random)]), + asMap: dart.fnType(core.Map$(core.int, E), []), + [$asMap]: dart.fnType(core.Map$(core.int, E), []), + '+': dart.fnType(core.List$(E), [dart.nullable(core.Object)]), + [$plus]: dart.fnType(core.List$(E), [dart.nullable(core.Object)]), + sublist: dart.fnType(core.List$(E), [core.int], [dart.nullable(core.int)]), + [$sublist]: dart.fnType(core.List$(E), [core.int], [dart.nullable(core.int)]), + getRange: dart.fnType(core.Iterable$(E), [core.int, core.int]), + [$getRange]: dart.fnType(core.Iterable$(E), [core.int, core.int]), + removeRange: dart.fnType(dart.void, [core.int, core.int]), + [$removeRange]: dart.fnType(dart.void, [core.int, core.int]), + fillRange: dart.fnType(dart.void, [core.int, core.int], [dart.nullable(core.Object)]), + [$fillRange]: dart.fnType(dart.void, [core.int, core.int], [dart.nullable(core.Object)]), + setRange: dart.fnType(dart.void, [core.int, core.int, dart.nullable(core.Object)], [core.int]), + [$setRange]: dart.fnType(dart.void, [core.int, core.int, dart.nullable(core.Object)], [core.int]), + replaceRange: dart.fnType(dart.void, [core.int, core.int, dart.nullable(core.Object)]), + [$replaceRange]: dart.fnType(dart.void, [core.int, core.int, dart.nullable(core.Object)]), + indexOf: dart.fnType(core.int, [dart.nullable(core.Object)], [core.int]), + [$indexOf]: dart.fnType(core.int, [dart.nullable(core.Object)], [core.int]), + indexWhere: dart.fnType(core.int, [dart.fnType(core.bool, [E])], [core.int]), + [$indexWhere]: dart.fnType(core.int, [dart.fnType(core.bool, [E])], [core.int]), + lastIndexOf: dart.fnType(core.int, [dart.nullable(core.Object)], [dart.nullable(core.int)]), + [$lastIndexOf]: dart.fnType(core.int, [dart.nullable(core.Object)], [dart.nullable(core.int)]), + lastIndexWhere: dart.fnType(core.int, [dart.fnType(core.bool, [E])], [dart.nullable(core.int)]), + [$lastIndexWhere]: dart.fnType(core.int, [dart.fnType(core.bool, [E])], [dart.nullable(core.int)]), + insert: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), + [$insert]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), + removeAt: dart.fnType(E, [core.int]), + [$removeAt]: dart.fnType(E, [core.int]), + insertAll: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), + [$insertAll]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), + setAll: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), + [$setAll]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]) + })); + dart.setGetterSignature(ListMixin, () => ({ + __proto__: dart.getGetters(ListMixin.__proto__), + iterator: core.Iterator$(E), + [$iterator]: core.Iterator$(E), + isEmpty: core.bool, + [$isEmpty]: core.bool, + isNotEmpty: core.bool, + [$isNotEmpty]: core.bool, + first: E, + [$first]: E, + last: E, + [$last]: E, + single: E, + [$single]: E, + reversed: core.Iterable$(E), + [$reversed]: core.Iterable$(E) + })); + dart.setSetterSignature(ListMixin, () => ({ + __proto__: dart.getSetters(ListMixin.__proto__), + first: dart.nullable(core.Object), + [$first]: dart.nullable(core.Object), + last: dart.nullable(core.Object), + [$last]: dart.nullable(core.Object) + })); + dart.setLibraryUri(ListMixin, I[24]); + dart.defineExtensionMethods(ListMixin, [ + 'elementAt', + 'followedBy', + 'forEach', + 'contains', + 'every', + 'any', + 'firstWhere', + 'lastWhere', + 'singleWhere', + 'join', + 'where', + 'whereType', + 'map', + 'expand', + 'reduce', + 'fold', + 'skip', + 'skipWhile', + 'take', + 'takeWhile', + 'toList', + 'toSet', + 'add', + 'addAll', + 'remove', + 'removeWhere', + 'retainWhere', + 'clear', + 'cast', + 'removeLast', + 'sort', + 'shuffle', + 'asMap', + '+', + 'sublist', + 'getRange', + 'removeRange', + 'fillRange', + 'setRange', + 'replaceRange', + 'indexOf', + 'indexWhere', + 'lastIndexOf', + 'lastIndexWhere', + 'insert', + 'removeAt', + 'insertAll', + 'setAll', + 'toString' + ]); + dart.defineExtensionAccessors(ListMixin, [ + 'iterator', + 'isEmpty', + 'isNotEmpty', + 'first', + 'last', + 'single', + 'reversed' + ]); + return ListMixin; +}); +collection.ListMixin = collection.ListMixin$(); +dart.addTypeTests(collection.ListMixin, _is_ListMixin_default); +const _is_ListBase_default = Symbol('_is_ListBase_default'); +collection.ListBase$ = dart.generic(E => { + const Object_ListMixin$36 = class Object_ListMixin extends core.Object {}; + (Object_ListMixin$36.new = function() { + }).prototype = Object_ListMixin$36.prototype; + dart.applyMixin(Object_ListMixin$36, collection.ListMixin$(E)); + class ListBase extends Object_ListMixin$36 { + static listToString(list) { + if (list == null) dart.nullFailed(I[23], 42, 35, "list"); + return collection.IterableBase.iterableToFullString(list, "[", "]"); + } + } + (ListBase.new = function() { + ; + }).prototype = ListBase.prototype; + dart.addTypeTests(ListBase); + ListBase.prototype[_is_ListBase_default] = true; + dart.addTypeCaches(ListBase); + dart.setLibraryUri(ListBase, I[24]); + return ListBase; +}); +collection.ListBase = collection.ListBase$(); +dart.addTypeTests(collection.ListBase, _is_ListBase_default); +const _is_UnmodifiableListMixin_default = Symbol('_is_UnmodifiableListMixin_default'); +_internal.UnmodifiableListMixin$ = dart.generic(E => { + var IterableOfE = () => (IterableOfE = dart.constFn(core.Iterable$(E)))(); + var EN = () => (EN = dart.constFn(dart.nullable(E)))(); + class UnmodifiableListMixin extends core.Object { + _set(index, value$) { + let value = value$; + if (index == null) dart.nullFailed(I[22], 89, 25, "index"); + E.as(value); + dart.throw(new core.UnsupportedError.new("Cannot modify an unmodifiable list")); + return value$; + } + set length(newLength) { + if (newLength == null) dart.nullFailed(I[22], 94, 18, "newLength"); + dart.throw(new core.UnsupportedError.new("Cannot change the length of an unmodifiable list")); + } + set first(element) { + E.as(element); + dart.throw(new core.UnsupportedError.new("Cannot modify an unmodifiable list")); + } + set last(element) { + E.as(element); + dart.throw(new core.UnsupportedError.new("Cannot modify an unmodifiable list")); + } + setAll(at, iterable) { + if (at == null) dart.nullFailed(I[22], 108, 19, "at"); + IterableOfE().as(iterable); + if (iterable == null) dart.nullFailed(I[22], 108, 35, "iterable"); + dart.throw(new core.UnsupportedError.new("Cannot modify an unmodifiable list")); + } + add(value) { + E.as(value); + dart.throw(new core.UnsupportedError.new("Cannot add to an unmodifiable list")); + } + insert(index, element) { + if (index == null) dart.nullFailed(I[22], 118, 19, "index"); + E.as(element); + dart.throw(new core.UnsupportedError.new("Cannot add to an unmodifiable list")); + } + insertAll(at, iterable) { + if (at == null) dart.nullFailed(I[22], 123, 22, "at"); + IterableOfE().as(iterable); + if (iterable == null) dart.nullFailed(I[22], 123, 38, "iterable"); + dart.throw(new core.UnsupportedError.new("Cannot add to an unmodifiable list")); + } + addAll(iterable) { + IterableOfE().as(iterable); + if (iterable == null) dart.nullFailed(I[22], 128, 27, "iterable"); + dart.throw(new core.UnsupportedError.new("Cannot add to an unmodifiable list")); + } + remove(element) { + dart.throw(new core.UnsupportedError.new("Cannot remove from an unmodifiable list")); + } + removeWhere(test) { + if (test == null) dart.nullFailed(I[22], 138, 25, "test"); + dart.throw(new core.UnsupportedError.new("Cannot remove from an unmodifiable list")); + } + retainWhere(test) { + if (test == null) dart.nullFailed(I[22], 143, 25, "test"); + dart.throw(new core.UnsupportedError.new("Cannot remove from an unmodifiable list")); + } + sort(compare = null) { + dart.throw(new core.UnsupportedError.new("Cannot modify an unmodifiable list")); + } + shuffle(random = null) { + dart.throw(new core.UnsupportedError.new("Cannot modify an unmodifiable list")); + } + clear() { + dart.throw(new core.UnsupportedError.new("Cannot clear an unmodifiable list")); + } + removeAt(index) { + if (index == null) dart.nullFailed(I[22], 163, 18, "index"); + dart.throw(new core.UnsupportedError.new("Cannot remove from an unmodifiable list")); + } + removeLast() { + dart.throw(new core.UnsupportedError.new("Cannot remove from an unmodifiable list")); + } + setRange(start, end, iterable, skipCount = 0) { + if (start == null) dart.nullFailed(I[22], 173, 21, "start"); + if (end == null) dart.nullFailed(I[22], 173, 32, "end"); + IterableOfE().as(iterable); + if (iterable == null) dart.nullFailed(I[22], 173, 49, "iterable"); + if (skipCount == null) dart.nullFailed(I[22], 173, 64, "skipCount"); + dart.throw(new core.UnsupportedError.new("Cannot modify an unmodifiable list")); + } + removeRange(start, end) { + if (start == null) dart.nullFailed(I[22], 178, 24, "start"); + if (end == null) dart.nullFailed(I[22], 178, 35, "end"); + dart.throw(new core.UnsupportedError.new("Cannot remove from an unmodifiable list")); + } + replaceRange(start, end, iterable) { + if (start == null) dart.nullFailed(I[22], 183, 25, "start"); + if (end == null) dart.nullFailed(I[22], 183, 36, "end"); + IterableOfE().as(iterable); + if (iterable == null) dart.nullFailed(I[22], 183, 53, "iterable"); + dart.throw(new core.UnsupportedError.new("Cannot remove from an unmodifiable list")); + } + fillRange(start, end, fillValue = null) { + if (start == null) dart.nullFailed(I[22], 188, 22, "start"); + if (end == null) dart.nullFailed(I[22], 188, 33, "end"); + EN().as(fillValue); + dart.throw(new core.UnsupportedError.new("Cannot modify an unmodifiable list")); + } + [Symbol.iterator]() { + return new dart.JsIterator(this[$iterator]); + } + } + (UnmodifiableListMixin.new = function() { + ; + }).prototype = UnmodifiableListMixin.prototype; + UnmodifiableListMixin.prototype[dart.isList] = true; + dart.addTypeTests(UnmodifiableListMixin); + UnmodifiableListMixin.prototype[_is_UnmodifiableListMixin_default] = true; + dart.addTypeCaches(UnmodifiableListMixin); + UnmodifiableListMixin[dart.implements] = () => [core.List$(E)]; + dart.setMethodSignature(UnmodifiableListMixin, () => ({ + __proto__: dart.getMethods(UnmodifiableListMixin.__proto__), + _set: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), + [$_set]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), + setAll: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), + [$setAll]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), + add: dart.fnType(dart.void, [dart.nullable(core.Object)]), + [$add]: dart.fnType(dart.void, [dart.nullable(core.Object)]), + insert: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), + [$insert]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), + insertAll: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), + [$insertAll]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), + addAll: dart.fnType(dart.void, [dart.nullable(core.Object)]), + [$addAll]: dart.fnType(dart.void, [dart.nullable(core.Object)]), + remove: dart.fnType(core.bool, [dart.nullable(core.Object)]), + [$remove]: dart.fnType(core.bool, [dart.nullable(core.Object)]), + removeWhere: dart.fnType(dart.void, [dart.fnType(core.bool, [E])]), + [$removeWhere]: dart.fnType(dart.void, [dart.fnType(core.bool, [E])]), + retainWhere: dart.fnType(dart.void, [dart.fnType(core.bool, [E])]), + [$retainWhere]: dart.fnType(dart.void, [dart.fnType(core.bool, [E])]), + sort: dart.fnType(dart.void, [], [dart.nullable(dart.fnType(core.int, [E, E]))]), + [$sort]: dart.fnType(dart.void, [], [dart.nullable(dart.fnType(core.int, [E, E]))]), + shuffle: dart.fnType(dart.void, [], [dart.nullable(math.Random)]), + [$shuffle]: dart.fnType(dart.void, [], [dart.nullable(math.Random)]), + clear: dart.fnType(dart.void, []), + [$clear]: dart.fnType(dart.void, []), + removeAt: dart.fnType(E, [core.int]), + [$removeAt]: dart.fnType(E, [core.int]), + removeLast: dart.fnType(E, []), + [$removeLast]: dart.fnType(E, []), + setRange: dart.fnType(dart.void, [core.int, core.int, dart.nullable(core.Object)], [core.int]), + [$setRange]: dart.fnType(dart.void, [core.int, core.int, dart.nullable(core.Object)], [core.int]), + removeRange: dart.fnType(dart.void, [core.int, core.int]), + [$removeRange]: dart.fnType(dart.void, [core.int, core.int]), + replaceRange: dart.fnType(dart.void, [core.int, core.int, dart.nullable(core.Object)]), + [$replaceRange]: dart.fnType(dart.void, [core.int, core.int, dart.nullable(core.Object)]), + fillRange: dart.fnType(dart.void, [core.int, core.int], [dart.nullable(core.Object)]), + [$fillRange]: dart.fnType(dart.void, [core.int, core.int], [dart.nullable(core.Object)]) + })); + dart.setSetterSignature(UnmodifiableListMixin, () => ({ + __proto__: dart.getSetters(UnmodifiableListMixin.__proto__), + length: core.int, + [$length]: core.int, + first: dart.nullable(core.Object), + [$first]: dart.nullable(core.Object), + last: dart.nullable(core.Object), + [$last]: dart.nullable(core.Object) + })); + dart.setLibraryUri(UnmodifiableListMixin, I[25]); + dart.defineExtensionMethods(UnmodifiableListMixin, [ + '_set', + 'setAll', + 'add', + 'insert', + 'insertAll', + 'addAll', + 'remove', + 'removeWhere', + 'retainWhere', + 'sort', + 'shuffle', + 'clear', + 'removeAt', + 'removeLast', + 'setRange', + 'removeRange', + 'replaceRange', + 'fillRange' + ]); + dart.defineExtensionAccessors(UnmodifiableListMixin, ['length', 'first', 'last']); + return UnmodifiableListMixin; +}); +_internal.UnmodifiableListMixin = _internal.UnmodifiableListMixin$(); +dart.addTypeTests(_internal.UnmodifiableListMixin, _is_UnmodifiableListMixin_default); +const _is_UnmodifiableListBase_default = Symbol('_is_UnmodifiableListBase_default'); +_internal.UnmodifiableListBase$ = dart.generic(E => { + var IterableOfE = () => (IterableOfE = dart.constFn(core.Iterable$(E)))(); + var EN = () => (EN = dart.constFn(dart.nullable(E)))(); + const ListBase_UnmodifiableListMixin$36 = class ListBase_UnmodifiableListMixin extends collection.ListBase$(E) {}; + (ListBase_UnmodifiableListMixin$36.new = function() { + }).prototype = ListBase_UnmodifiableListMixin$36.prototype; + dart.applyMixin(ListBase_UnmodifiableListMixin$36, _internal.UnmodifiableListMixin$(E)); + class UnmodifiableListBase extends ListBase_UnmodifiableListMixin$36 { + set length(newLength) { + if (newLength == null) dart.nullFailed(I[22], 208, 16, "newLength"); + return super.length = newLength; + } + set first(element) { + E.as(element); + return super.first = element; + } + get first() { + return super.first; + } + set last(element) { + E.as(element); + return super.last = element; + } + get last() { + return super.last; + } + _set(index, value$) { + let value = value$; + if (index == null) dart.nullFailed(I[22], 208, 16, "index"); + E.as(value); + super._set(index, value); + return value$; + } + setAll(at, iterable) { + if (at == null) dart.nullFailed(I[22], 208, 16, "at"); + IterableOfE().as(iterable); + if (iterable == null) dart.nullFailed(I[22], 208, 16, "iterable"); + return super.setAll(at, iterable); + } + add(value) { + E.as(value); + return super.add(value); + } + insert(index, element) { + if (index == null) dart.nullFailed(I[22], 208, 16, "index"); + E.as(element); + return super.insert(index, element); + } + insertAll(at, iterable) { + if (at == null) dart.nullFailed(I[22], 208, 16, "at"); + IterableOfE().as(iterable); + if (iterable == null) dart.nullFailed(I[22], 208, 16, "iterable"); + return super.insertAll(at, iterable); + } + addAll(iterable) { + IterableOfE().as(iterable); + if (iterable == null) dart.nullFailed(I[22], 208, 16, "iterable"); + return super.addAll(iterable); + } + remove(element) { + return super.remove(element); + } + removeWhere(test) { + if (test == null) dart.nullFailed(I[22], 208, 16, "test"); + return super.removeWhere(test); + } + retainWhere(test) { + if (test == null) dart.nullFailed(I[22], 208, 16, "test"); + return super.retainWhere(test); + } + sort(compare = null) { + return super.sort(compare); + } + shuffle(random = null) { + return super.shuffle(random); + } + clear() { + return super.clear(); + } + removeAt(index) { + if (index == null) dart.nullFailed(I[22], 208, 16, "index"); + return super.removeAt(index); + } + removeLast() { + return super.removeLast(); + } + setRange(start, end, iterable, skipCount = 0) { + if (start == null) dart.nullFailed(I[22], 208, 16, "start"); + if (end == null) dart.nullFailed(I[22], 208, 16, "end"); + IterableOfE().as(iterable); + if (iterable == null) dart.nullFailed(I[22], 208, 16, "iterable"); + if (skipCount == null) dart.nullFailed(I[22], 208, 16, "skipCount"); + return super.setRange(start, end, iterable, skipCount); + } + removeRange(start, end) { + if (start == null) dart.nullFailed(I[22], 208, 16, "start"); + if (end == null) dart.nullFailed(I[22], 208, 16, "end"); + return super.removeRange(start, end); + } + replaceRange(start, end, iterable) { + if (start == null) dart.nullFailed(I[22], 208, 16, "start"); + if (end == null) dart.nullFailed(I[22], 208, 16, "end"); + IterableOfE().as(iterable); + if (iterable == null) dart.nullFailed(I[22], 208, 16, "iterable"); + return super.replaceRange(start, end, iterable); + } + fillRange(start, end, fillValue = null) { + if (start == null) dart.nullFailed(I[22], 208, 16, "start"); + if (end == null) dart.nullFailed(I[22], 208, 16, "end"); + EN().as(fillValue); + return super.fillRange(start, end, fillValue); + } + } + (UnmodifiableListBase.new = function() { + ; + }).prototype = UnmodifiableListBase.prototype; + dart.addTypeTests(UnmodifiableListBase); + UnmodifiableListBase.prototype[_is_UnmodifiableListBase_default] = true; + dart.addTypeCaches(UnmodifiableListBase); + dart.setMethodSignature(UnmodifiableListBase, () => ({ + __proto__: dart.getMethods(UnmodifiableListBase.__proto__), + _set: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), + [$_set]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]) + })); + dart.setSetterSignature(UnmodifiableListBase, () => ({ + __proto__: dart.getSetters(UnmodifiableListBase.__proto__), + length: core.int, + [$length]: core.int + })); + dart.setLibraryUri(UnmodifiableListBase, I[25]); + dart.defineExtensionMethods(UnmodifiableListBase, [ + '_set', + 'setAll', + 'add', + 'insert', + 'insertAll', + 'addAll', + 'remove', + 'removeWhere', + 'retainWhere', + 'sort', + 'shuffle', + 'clear', + 'removeAt', + 'removeLast', + 'setRange', + 'removeRange', + 'replaceRange', + 'fillRange' + ]); + dart.defineExtensionAccessors(UnmodifiableListBase, ['length', 'first', 'last']); + return UnmodifiableListBase; +}); +_internal.UnmodifiableListBase = _internal.UnmodifiableListBase$(); +dart.addTypeTests(_internal.UnmodifiableListBase, _is_UnmodifiableListBase_default); +core.num = class num extends core.Object { + static is(o) { + return typeof o == "number"; + } + static as(o) { + if (typeof o == "number") return o; + return dart.as(o, core.num); + } + static parse(input, onError = null) { + if (input == null) dart.nullFailed(I[26], 483, 27, "input"); + let result = core.num.tryParse(input); + if (result != null) return result; + if (onError == null) dart.throw(new core.FormatException.new(input)); + return onError(input); + } + static tryParse(input) { + let t27; + if (input == null) dart.nullFailed(I[26], 494, 31, "input"); + let source = input[$trim](); + t27 = core.int.tryParse(source); + return t27 == null ? core.double.tryParse(source) : t27; + } +}; +(core.num.new = function() { + ; +}).prototype = core.num.prototype; +dart.addTypeCaches(core.num); +core.num[dart.implements] = () => [core.Comparable$(core.num)]; +dart.setLibraryUri(core.num, I[8]); +core.int = class int extends core.num { + static is(o) { + return typeof o == "number" && Math.floor(o) == o; + } + static as(o) { + if (typeof o == "number" && Math.floor(o) == o) { + return o; + } + return dart.as(o, core.int); + } + static fromEnvironment(name, opts) { + if (name == null) dart.nullFailed(I[7], 187, 38, "name"); + let defaultValue = opts && 'defaultValue' in opts ? opts.defaultValue : 0; + if (defaultValue == null) dart.nullFailed(I[7], 187, 49, "defaultValue"); + dart.throw(new core.UnsupportedError.new("int.fromEnvironment can only be used as a const constructor")); + } + static parse(source, opts) { + if (source == null) dart.nullFailed(I[7], 173, 27, "source"); + let radix = opts && 'radix' in opts ? opts.radix : null; + let onError = opts && 'onError' in opts ? opts.onError : null; + let value = core.int.tryParse(source, {radix: radix}); + if (value != null) return value; + if (onError != null) return onError(source); + dart.throw(new core.FormatException.new(source)); + } + static tryParse(source, opts) { + if (source == null) dart.nullFailed(I[7], 182, 31, "source"); + let radix = opts && 'radix' in opts ? opts.radix : null; + return _js_helper.Primitives.parseInt(source, radix); + } +}; +dart.addTypeCaches(core.int); +dart.setLibraryUri(core.int, I[8]); +_internal.CodeUnits = class CodeUnits extends _internal.UnmodifiableListBase$(core.int) { + get length() { + return this[_string$].length; + } + set length(value) { + super.length = value; + } + _get(i) { + if (i == null) dart.nullFailed(I[21], 77, 23, "i"); + return this[_string$][$codeUnitAt](i); + } + static stringOf(u) { + if (u == null) dart.nullFailed(I[21], 79, 36, "u"); + return u[_string$]; + } +}; +(_internal.CodeUnits.new = function(_string) { + if (_string == null) dart.nullFailed(I[21], 74, 18, "_string"); + this[_string$] = _string; + ; +}).prototype = _internal.CodeUnits.prototype; +dart.addTypeTests(_internal.CodeUnits); +dart.addTypeCaches(_internal.CodeUnits); +dart.setMethodSignature(_internal.CodeUnits, () => ({ + __proto__: dart.getMethods(_internal.CodeUnits.__proto__), + _get: dart.fnType(core.int, [core.int]), + [$_get]: dart.fnType(core.int, [core.int]) +})); +dart.setGetterSignature(_internal.CodeUnits, () => ({ + __proto__: dart.getGetters(_internal.CodeUnits.__proto__), + length: core.int, + [$length]: core.int +})); +dart.setLibraryUri(_internal.CodeUnits, I[25]); +dart.setFieldSignature(_internal.CodeUnits, () => ({ + __proto__: dart.getFields(_internal.CodeUnits.__proto__), + [_string$]: dart.finalFieldType(core.String) +})); +dart.defineExtensionMethods(_internal.CodeUnits, ['_get']); +dart.defineExtensionAccessors(_internal.CodeUnits, ['length']); +var name$5 = dart.privateName(_internal, "ExternalName.name"); +_internal.ExternalName = class ExternalName extends core.Object { + get name() { + return this[name$5]; + } + set name(value) { + super.name = value; + } +}; +(_internal.ExternalName.new = function(name) { + if (name == null) dart.nullFailed(I[21], 92, 27, "name"); + this[name$5] = name; + ; +}).prototype = _internal.ExternalName.prototype; +dart.addTypeTests(_internal.ExternalName); +dart.addTypeCaches(_internal.ExternalName); +dart.setLibraryUri(_internal.ExternalName, I[25]); +dart.setFieldSignature(_internal.ExternalName, () => ({ + __proto__: dart.getFields(_internal.ExternalName.__proto__), + name: dart.finalFieldType(core.String) +})); +_internal.SystemHash = class SystemHash extends core.Object { + static combine(hash, value) { + if (hash == null) dart.nullFailed(I[21], 165, 26, "hash"); + if (value == null) dart.nullFailed(I[21], 165, 36, "value"); + hash = 536870911 & dart.notNull(hash) + dart.notNull(value); + hash = 536870911 & dart.notNull(hash) + ((524287 & dart.notNull(hash)) << 10); + return (dart.notNull(hash) ^ hash[$rightShift](6)) >>> 0; + } + static finish(hash) { + if (hash == null) dart.nullFailed(I[21], 171, 25, "hash"); + hash = 536870911 & dart.notNull(hash) + ((67108863 & dart.notNull(hash)) << 3); + hash = (dart.notNull(hash) ^ hash[$rightShift](11)) >>> 0; + return 536870911 & dart.notNull(hash) + ((16383 & dart.notNull(hash)) << 15); + } + static hash2(v1, v2) { + if (v1 == null) dart.nullFailed(I[21], 177, 24, "v1"); + if (v2 == null) dart.nullFailed(I[21], 177, 32, "v2"); + let hash = 0; + hash = _internal.SystemHash.combine(hash, v1); + hash = _internal.SystemHash.combine(hash, v2); + return _internal.SystemHash.finish(hash); + } + static hash3(v1, v2, v3) { + if (v1 == null) dart.nullFailed(I[21], 184, 24, "v1"); + if (v2 == null) dart.nullFailed(I[21], 184, 32, "v2"); + if (v3 == null) dart.nullFailed(I[21], 184, 40, "v3"); + let hash = 0; + hash = _internal.SystemHash.combine(hash, v1); + hash = _internal.SystemHash.combine(hash, v2); + hash = _internal.SystemHash.combine(hash, v3); + return _internal.SystemHash.finish(hash); + } + static hash4(v1, v2, v3, v4) { + if (v1 == null) dart.nullFailed(I[21], 192, 24, "v1"); + if (v2 == null) dart.nullFailed(I[21], 192, 32, "v2"); + if (v3 == null) dart.nullFailed(I[21], 192, 40, "v3"); + if (v4 == null) dart.nullFailed(I[21], 192, 48, "v4"); + let hash = 0; + hash = _internal.SystemHash.combine(hash, v1); + hash = _internal.SystemHash.combine(hash, v2); + hash = _internal.SystemHash.combine(hash, v3); + hash = _internal.SystemHash.combine(hash, v4); + return _internal.SystemHash.finish(hash); + } + static hash5(v1, v2, v3, v4, v5) { + if (v1 == null) dart.nullFailed(I[21], 201, 24, "v1"); + if (v2 == null) dart.nullFailed(I[21], 201, 32, "v2"); + if (v3 == null) dart.nullFailed(I[21], 201, 40, "v3"); + if (v4 == null) dart.nullFailed(I[21], 201, 48, "v4"); + if (v5 == null) dart.nullFailed(I[21], 201, 56, "v5"); + let hash = 0; + hash = _internal.SystemHash.combine(hash, v1); + hash = _internal.SystemHash.combine(hash, v2); + hash = _internal.SystemHash.combine(hash, v3); + hash = _internal.SystemHash.combine(hash, v4); + hash = _internal.SystemHash.combine(hash, v5); + return _internal.SystemHash.finish(hash); + } + static hash6(v1, v2, v3, v4, v5, v6) { + if (v1 == null) dart.nullFailed(I[21], 211, 24, "v1"); + if (v2 == null) dart.nullFailed(I[21], 211, 32, "v2"); + if (v3 == null) dart.nullFailed(I[21], 211, 40, "v3"); + if (v4 == null) dart.nullFailed(I[21], 211, 48, "v4"); + if (v5 == null) dart.nullFailed(I[21], 211, 56, "v5"); + if (v6 == null) dart.nullFailed(I[21], 211, 64, "v6"); + let hash = 0; + hash = _internal.SystemHash.combine(hash, v1); + hash = _internal.SystemHash.combine(hash, v2); + hash = _internal.SystemHash.combine(hash, v3); + hash = _internal.SystemHash.combine(hash, v4); + hash = _internal.SystemHash.combine(hash, v5); + hash = _internal.SystemHash.combine(hash, v6); + return _internal.SystemHash.finish(hash); + } + static hash7(v1, v2, v3, v4, v5, v6, v7) { + if (v1 == null) dart.nullFailed(I[21], 222, 24, "v1"); + if (v2 == null) dart.nullFailed(I[21], 222, 32, "v2"); + if (v3 == null) dart.nullFailed(I[21], 222, 40, "v3"); + if (v4 == null) dart.nullFailed(I[21], 222, 48, "v4"); + if (v5 == null) dart.nullFailed(I[21], 222, 56, "v5"); + if (v6 == null) dart.nullFailed(I[21], 222, 64, "v6"); + if (v7 == null) dart.nullFailed(I[21], 222, 72, "v7"); + let hash = 0; + hash = _internal.SystemHash.combine(hash, v1); + hash = _internal.SystemHash.combine(hash, v2); + hash = _internal.SystemHash.combine(hash, v3); + hash = _internal.SystemHash.combine(hash, v4); + hash = _internal.SystemHash.combine(hash, v5); + hash = _internal.SystemHash.combine(hash, v6); + hash = _internal.SystemHash.combine(hash, v7); + return _internal.SystemHash.finish(hash); + } + static hash8(v1, v2, v3, v4, v5, v6, v7, v8) { + if (v1 == null) dart.nullFailed(I[21], 235, 11, "v1"); + if (v2 == null) dart.nullFailed(I[21], 235, 19, "v2"); + if (v3 == null) dart.nullFailed(I[21], 235, 27, "v3"); + if (v4 == null) dart.nullFailed(I[21], 235, 35, "v4"); + if (v5 == null) dart.nullFailed(I[21], 235, 43, "v5"); + if (v6 == null) dart.nullFailed(I[21], 235, 51, "v6"); + if (v7 == null) dart.nullFailed(I[21], 235, 59, "v7"); + if (v8 == null) dart.nullFailed(I[21], 235, 67, "v8"); + let hash = 0; + hash = _internal.SystemHash.combine(hash, v1); + hash = _internal.SystemHash.combine(hash, v2); + hash = _internal.SystemHash.combine(hash, v3); + hash = _internal.SystemHash.combine(hash, v4); + hash = _internal.SystemHash.combine(hash, v5); + hash = _internal.SystemHash.combine(hash, v6); + hash = _internal.SystemHash.combine(hash, v7); + hash = _internal.SystemHash.combine(hash, v8); + return _internal.SystemHash.finish(hash); + } + static hash9(v1, v2, v3, v4, v5, v6, v7, v8, v9) { + if (v1 == null) dart.nullFailed(I[21], 249, 11, "v1"); + if (v2 == null) dart.nullFailed(I[21], 249, 19, "v2"); + if (v3 == null) dart.nullFailed(I[21], 249, 27, "v3"); + if (v4 == null) dart.nullFailed(I[21], 249, 35, "v4"); + if (v5 == null) dart.nullFailed(I[21], 249, 43, "v5"); + if (v6 == null) dart.nullFailed(I[21], 249, 51, "v6"); + if (v7 == null) dart.nullFailed(I[21], 249, 59, "v7"); + if (v8 == null) dart.nullFailed(I[21], 249, 67, "v8"); + if (v9 == null) dart.nullFailed(I[21], 249, 75, "v9"); + let hash = 0; + hash = _internal.SystemHash.combine(hash, v1); + hash = _internal.SystemHash.combine(hash, v2); + hash = _internal.SystemHash.combine(hash, v3); + hash = _internal.SystemHash.combine(hash, v4); + hash = _internal.SystemHash.combine(hash, v5); + hash = _internal.SystemHash.combine(hash, v6); + hash = _internal.SystemHash.combine(hash, v7); + hash = _internal.SystemHash.combine(hash, v8); + hash = _internal.SystemHash.combine(hash, v9); + return _internal.SystemHash.finish(hash); + } + static hash10(v1, v2, v3, v4, v5, v6, v7, v8, v9, v10) { + if (v1 == null) dart.nullFailed(I[21], 263, 25, "v1"); + if (v2 == null) dart.nullFailed(I[21], 263, 33, "v2"); + if (v3 == null) dart.nullFailed(I[21], 263, 41, "v3"); + if (v4 == null) dart.nullFailed(I[21], 263, 49, "v4"); + if (v5 == null) dart.nullFailed(I[21], 263, 57, "v5"); + if (v6 == null) dart.nullFailed(I[21], 263, 65, "v6"); + if (v7 == null) dart.nullFailed(I[21], 263, 73, "v7"); + if (v8 == null) dart.nullFailed(I[21], 264, 11, "v8"); + if (v9 == null) dart.nullFailed(I[21], 264, 19, "v9"); + if (v10 == null) dart.nullFailed(I[21], 264, 27, "v10"); + let hash = 0; + hash = _internal.SystemHash.combine(hash, v1); + hash = _internal.SystemHash.combine(hash, v2); + hash = _internal.SystemHash.combine(hash, v3); + hash = _internal.SystemHash.combine(hash, v4); + hash = _internal.SystemHash.combine(hash, v5); + hash = _internal.SystemHash.combine(hash, v6); + hash = _internal.SystemHash.combine(hash, v7); + hash = _internal.SystemHash.combine(hash, v8); + hash = _internal.SystemHash.combine(hash, v9); + hash = _internal.SystemHash.combine(hash, v10); + return _internal.SystemHash.finish(hash); + } + static smear(x) { + if (x == null) dart.nullFailed(I[21], 290, 24, "x"); + x = (dart.notNull(x) ^ x[$rightShift](16)) >>> 0; + x = (dart.notNull(x) * 2146121005 & 4294967295) >>> 0; + x = (dart.notNull(x) ^ x[$rightShift](15)) >>> 0; + x = (dart.notNull(x) * 2221713035 & 4294967295) >>> 0; + x = (dart.notNull(x) ^ x[$rightShift](16)) >>> 0; + return x; + } +}; +(_internal.SystemHash.new = function() { + ; +}).prototype = _internal.SystemHash.prototype; +dart.addTypeTests(_internal.SystemHash); +dart.addTypeCaches(_internal.SystemHash); +dart.setLibraryUri(_internal.SystemHash, I[25]); +var version$ = dart.privateName(_internal, "Since.version"); +_internal.Since = class Since extends core.Object { + get version() { + return this[version$]; + } + set version(value) { + super.version = value; + } +}; +(_internal.Since.new = function(version) { + if (version == null) dart.nullFailed(I[21], 389, 20, "version"); + this[version$] = version; + ; +}).prototype = _internal.Since.prototype; +dart.addTypeTests(_internal.Since); +dart.addTypeCaches(_internal.Since); +dart.setLibraryUri(_internal.Since, I[25]); +dart.setFieldSignature(_internal.Since, () => ({ + __proto__: dart.getFields(_internal.Since.__proto__), + version: dart.finalFieldType(core.String) +})); +var _name$ = dart.privateName(_internal, "_name"); +core.Error = class Error extends core.Object { + static safeToString(object) { + if (typeof object == 'number' || typeof object == 'boolean' || object == null) { + return dart.toString(object); + } + if (typeof object == 'string') { + return core.Error._stringToSafeString(object); + } + return core.Error._objectToString(object); + } + static _stringToSafeString(string) { + if (string == null) dart.nullFailed(I[7], 281, 44, "string"); + return JSON.stringify(string); + } + static _objectToString(object) { + if (object == null) dart.nullFailed(I[7], 276, 40, "object"); + return "Instance of '" + dart.typeName(dart.getReifiedType(object)) + "'"; + } + get stackTrace() { + return dart.stackTraceForError(this); + } +}; +(core.Error.new = function() { + ; +}).prototype = core.Error.prototype; +dart.addTypeTests(core.Error); +dart.addTypeCaches(core.Error); +dart.setGetterSignature(core.Error, () => ({ + __proto__: dart.getGetters(core.Error.__proto__), + stackTrace: dart.nullable(core.StackTrace), + [$stackTrace]: dart.nullable(core.StackTrace) +})); +dart.setLibraryUri(core.Error, I[8]); +dart.defineExtensionAccessors(core.Error, ['stackTrace']); +const _is_NotNullableError_default = Symbol('_is_NotNullableError_default'); +_internal.NotNullableError$ = dart.generic(T => { + class NotNullableError extends core.Error { + toString() { + return "Null is not a valid value for the parameter '" + dart.str(this[_name$]) + "' of type '" + dart.str(dart.wrapType(T)) + "'"; + } + } + (NotNullableError.new = function(_name) { + if (_name == null) dart.nullFailed(I[21], 412, 25, "_name"); + this[_name$] = _name; + NotNullableError.__proto__.new.call(this); + ; + }).prototype = NotNullableError.prototype; + dart.addTypeTests(NotNullableError); + NotNullableError.prototype[_is_NotNullableError_default] = true; + dart.addTypeCaches(NotNullableError); + NotNullableError[dart.implements] = () => [core.TypeError]; + dart.setLibraryUri(NotNullableError, I[25]); + dart.setFieldSignature(NotNullableError, () => ({ + __proto__: dart.getFields(NotNullableError.__proto__), + [_name$]: dart.finalFieldType(core.String) + })); + dart.defineExtensionMethods(NotNullableError, ['toString']); + return NotNullableError; +}); +_internal.NotNullableError = _internal.NotNullableError$(); +dart.addTypeTests(_internal.NotNullableError, _is_NotNullableError_default); +_internal.HttpStatus = class HttpStatus extends core.Object {}; +(_internal.HttpStatus.new = function() { + ; +}).prototype = _internal.HttpStatus.prototype; +dart.addTypeTests(_internal.HttpStatus); +dart.addTypeCaches(_internal.HttpStatus); +dart.setLibraryUri(_internal.HttpStatus, I[25]); +dart.defineLazy(_internal.HttpStatus, { + /*_internal.HttpStatus.continue__*/get continue__() { + return 100; + }, + /*_internal.HttpStatus.switchingProtocols*/get switchingProtocols() { + return 101; + }, + /*_internal.HttpStatus.processing*/get processing() { + return 102; + }, + /*_internal.HttpStatus.ok*/get ok() { + return 200; + }, + /*_internal.HttpStatus.created*/get created() { + return 201; + }, + /*_internal.HttpStatus.accepted*/get accepted() { + return 202; + }, + /*_internal.HttpStatus.nonAuthoritativeInformation*/get nonAuthoritativeInformation() { + return 203; + }, + /*_internal.HttpStatus.noContent*/get noContent() { + return 204; + }, + /*_internal.HttpStatus.resetContent*/get resetContent() { + return 205; + }, + /*_internal.HttpStatus.partialContent*/get partialContent() { + return 206; + }, + /*_internal.HttpStatus.multiStatus*/get multiStatus() { + return 207; + }, + /*_internal.HttpStatus.alreadyReported*/get alreadyReported() { + return 208; + }, + /*_internal.HttpStatus.imUsed*/get imUsed() { + return 226; + }, + /*_internal.HttpStatus.multipleChoices*/get multipleChoices() { + return 300; + }, + /*_internal.HttpStatus.movedPermanently*/get movedPermanently() { + return 301; + }, + /*_internal.HttpStatus.found*/get found() { + return 302; + }, + /*_internal.HttpStatus.movedTemporarily*/get movedTemporarily() { + return 302; + }, + /*_internal.HttpStatus.seeOther*/get seeOther() { + return 303; + }, + /*_internal.HttpStatus.notModified*/get notModified() { + return 304; + }, + /*_internal.HttpStatus.useProxy*/get useProxy() { + return 305; + }, + /*_internal.HttpStatus.temporaryRedirect*/get temporaryRedirect() { + return 307; + }, + /*_internal.HttpStatus.permanentRedirect*/get permanentRedirect() { + return 308; + }, + /*_internal.HttpStatus.badRequest*/get badRequest() { + return 400; + }, + /*_internal.HttpStatus.unauthorized*/get unauthorized() { + return 401; + }, + /*_internal.HttpStatus.paymentRequired*/get paymentRequired() { + return 402; + }, + /*_internal.HttpStatus.forbidden*/get forbidden() { + return 403; + }, + /*_internal.HttpStatus.notFound*/get notFound() { + return 404; + }, + /*_internal.HttpStatus.methodNotAllowed*/get methodNotAllowed() { + return 405; + }, + /*_internal.HttpStatus.notAcceptable*/get notAcceptable() { + return 406; + }, + /*_internal.HttpStatus.proxyAuthenticationRequired*/get proxyAuthenticationRequired() { + return 407; + }, + /*_internal.HttpStatus.requestTimeout*/get requestTimeout() { + return 408; + }, + /*_internal.HttpStatus.conflict*/get conflict() { + return 409; + }, + /*_internal.HttpStatus.gone*/get gone() { + return 410; + }, + /*_internal.HttpStatus.lengthRequired*/get lengthRequired() { + return 411; + }, + /*_internal.HttpStatus.preconditionFailed*/get preconditionFailed() { + return 412; + }, + /*_internal.HttpStatus.requestEntityTooLarge*/get requestEntityTooLarge() { + return 413; + }, + /*_internal.HttpStatus.requestUriTooLong*/get requestUriTooLong() { + return 414; + }, + /*_internal.HttpStatus.unsupportedMediaType*/get unsupportedMediaType() { + return 415; + }, + /*_internal.HttpStatus.requestedRangeNotSatisfiable*/get requestedRangeNotSatisfiable() { + return 416; + }, + /*_internal.HttpStatus.expectationFailed*/get expectationFailed() { + return 417; + }, + /*_internal.HttpStatus.misdirectedRequest*/get misdirectedRequest() { + return 421; + }, + /*_internal.HttpStatus.unprocessableEntity*/get unprocessableEntity() { + return 422; + }, + /*_internal.HttpStatus.locked*/get locked() { + return 423; + }, + /*_internal.HttpStatus.failedDependency*/get failedDependency() { + return 424; + }, + /*_internal.HttpStatus.upgradeRequired*/get upgradeRequired() { + return 426; + }, + /*_internal.HttpStatus.preconditionRequired*/get preconditionRequired() { + return 428; + }, + /*_internal.HttpStatus.tooManyRequests*/get tooManyRequests() { + return 429; + }, + /*_internal.HttpStatus.requestHeaderFieldsTooLarge*/get requestHeaderFieldsTooLarge() { + return 431; + }, + /*_internal.HttpStatus.connectionClosedWithoutResponse*/get connectionClosedWithoutResponse() { + return 444; + }, + /*_internal.HttpStatus.unavailableForLegalReasons*/get unavailableForLegalReasons() { + return 451; + }, + /*_internal.HttpStatus.clientClosedRequest*/get clientClosedRequest() { + return 499; + }, + /*_internal.HttpStatus.internalServerError*/get internalServerError() { + return 500; + }, + /*_internal.HttpStatus.notImplemented*/get notImplemented() { + return 501; + }, + /*_internal.HttpStatus.badGateway*/get badGateway() { + return 502; + }, + /*_internal.HttpStatus.serviceUnavailable*/get serviceUnavailable() { + return 503; + }, + /*_internal.HttpStatus.gatewayTimeout*/get gatewayTimeout() { + return 504; + }, + /*_internal.HttpStatus.httpVersionNotSupported*/get httpVersionNotSupported() { + return 505; + }, + /*_internal.HttpStatus.variantAlsoNegotiates*/get variantAlsoNegotiates() { + return 506; + }, + /*_internal.HttpStatus.insufficientStorage*/get insufficientStorage() { + return 507; + }, + /*_internal.HttpStatus.loopDetected*/get loopDetected() { + return 508; + }, + /*_internal.HttpStatus.notExtended*/get notExtended() { + return 510; + }, + /*_internal.HttpStatus.networkAuthenticationRequired*/get networkAuthenticationRequired() { + return 511; + }, + /*_internal.HttpStatus.networkConnectTimeoutError*/get networkConnectTimeoutError() { + return 599; + }, + /*_internal.HttpStatus.CONTINUE*/get CONTINUE() { + return 100; + }, + /*_internal.HttpStatus.SWITCHING_PROTOCOLS*/get SWITCHING_PROTOCOLS() { + return 101; + }, + /*_internal.HttpStatus.OK*/get OK() { + return 200; + }, + /*_internal.HttpStatus.CREATED*/get CREATED() { + return 201; + }, + /*_internal.HttpStatus.ACCEPTED*/get ACCEPTED() { + return 202; + }, + /*_internal.HttpStatus.NON_AUTHORITATIVE_INFORMATION*/get NON_AUTHORITATIVE_INFORMATION() { + return 203; + }, + /*_internal.HttpStatus.NO_CONTENT*/get NO_CONTENT() { + return 204; + }, + /*_internal.HttpStatus.RESET_CONTENT*/get RESET_CONTENT() { + return 205; + }, + /*_internal.HttpStatus.PARTIAL_CONTENT*/get PARTIAL_CONTENT() { + return 206; + }, + /*_internal.HttpStatus.MULTIPLE_CHOICES*/get MULTIPLE_CHOICES() { + return 300; + }, + /*_internal.HttpStatus.MOVED_PERMANENTLY*/get MOVED_PERMANENTLY() { + return 301; + }, + /*_internal.HttpStatus.FOUND*/get FOUND() { + return 302; + }, + /*_internal.HttpStatus.MOVED_TEMPORARILY*/get MOVED_TEMPORARILY() { + return 302; + }, + /*_internal.HttpStatus.SEE_OTHER*/get SEE_OTHER() { + return 303; + }, + /*_internal.HttpStatus.NOT_MODIFIED*/get NOT_MODIFIED() { + return 304; + }, + /*_internal.HttpStatus.USE_PROXY*/get USE_PROXY() { + return 305; + }, + /*_internal.HttpStatus.TEMPORARY_REDIRECT*/get TEMPORARY_REDIRECT() { + return 307; + }, + /*_internal.HttpStatus.BAD_REQUEST*/get BAD_REQUEST() { + return 400; + }, + /*_internal.HttpStatus.UNAUTHORIZED*/get UNAUTHORIZED() { + return 401; + }, + /*_internal.HttpStatus.PAYMENT_REQUIRED*/get PAYMENT_REQUIRED() { + return 402; + }, + /*_internal.HttpStatus.FORBIDDEN*/get FORBIDDEN() { + return 403; + }, + /*_internal.HttpStatus.NOT_FOUND*/get NOT_FOUND() { + return 404; + }, + /*_internal.HttpStatus.METHOD_NOT_ALLOWED*/get METHOD_NOT_ALLOWED() { + return 405; + }, + /*_internal.HttpStatus.NOT_ACCEPTABLE*/get NOT_ACCEPTABLE() { + return 406; + }, + /*_internal.HttpStatus.PROXY_AUTHENTICATION_REQUIRED*/get PROXY_AUTHENTICATION_REQUIRED() { + return 407; + }, + /*_internal.HttpStatus.REQUEST_TIMEOUT*/get REQUEST_TIMEOUT() { + return 408; + }, + /*_internal.HttpStatus.CONFLICT*/get CONFLICT() { + return 409; + }, + /*_internal.HttpStatus.GONE*/get GONE() { + return 410; + }, + /*_internal.HttpStatus.LENGTH_REQUIRED*/get LENGTH_REQUIRED() { + return 411; + }, + /*_internal.HttpStatus.PRECONDITION_FAILED*/get PRECONDITION_FAILED() { + return 412; + }, + /*_internal.HttpStatus.REQUEST_ENTITY_TOO_LARGE*/get REQUEST_ENTITY_TOO_LARGE() { + return 413; + }, + /*_internal.HttpStatus.REQUEST_URI_TOO_LONG*/get REQUEST_URI_TOO_LONG() { + return 414; + }, + /*_internal.HttpStatus.UNSUPPORTED_MEDIA_TYPE*/get UNSUPPORTED_MEDIA_TYPE() { + return 415; + }, + /*_internal.HttpStatus.REQUESTED_RANGE_NOT_SATISFIABLE*/get REQUESTED_RANGE_NOT_SATISFIABLE() { + return 416; + }, + /*_internal.HttpStatus.EXPECTATION_FAILED*/get EXPECTATION_FAILED() { + return 417; + }, + /*_internal.HttpStatus.UPGRADE_REQUIRED*/get UPGRADE_REQUIRED() { + return 426; + }, + /*_internal.HttpStatus.INTERNAL_SERVER_ERROR*/get INTERNAL_SERVER_ERROR() { + return 500; + }, + /*_internal.HttpStatus.NOT_IMPLEMENTED*/get NOT_IMPLEMENTED() { + return 501; + }, + /*_internal.HttpStatus.BAD_GATEWAY*/get BAD_GATEWAY() { + return 502; + }, + /*_internal.HttpStatus.SERVICE_UNAVAILABLE*/get SERVICE_UNAVAILABLE() { + return 503; + }, + /*_internal.HttpStatus.GATEWAY_TIMEOUT*/get GATEWAY_TIMEOUT() { + return 504; + }, + /*_internal.HttpStatus.HTTP_VERSION_NOT_SUPPORTED*/get HTTP_VERSION_NOT_SUPPORTED() { + return 505; + }, + /*_internal.HttpStatus.NETWORK_CONNECT_TIMEOUT_ERROR*/get NETWORK_CONNECT_TIMEOUT_ERROR() { + return 599; + } +}, false); +var _source$ = dart.privateName(_internal, "_source"); +var _add = dart.privateName(async, "_add"); +var _closeUnchecked = dart.privateName(async, "_closeUnchecked"); +var _addError = dart.privateName(async, "_addError"); +var _completeError = dart.privateName(async, "_completeError"); +var _complete = dart.privateName(async, "_complete"); +var _sink$ = dart.privateName(async, "_sink"); +async.Stream$ = dart.generic(T => { + var _AsBroadcastStreamOfT = () => (_AsBroadcastStreamOfT = dart.constFn(async._AsBroadcastStream$(T)))(); + var _WhereStreamOfT = () => (_WhereStreamOfT = dart.constFn(async._WhereStream$(T)))(); + var TTovoid = () => (TTovoid = dart.constFn(dart.fnType(dart.void, [T])))(); + var _HandleErrorStreamOfT = () => (_HandleErrorStreamOfT = dart.constFn(async._HandleErrorStream$(T)))(); + var StreamConsumerOfT = () => (StreamConsumerOfT = dart.constFn(async.StreamConsumer$(T)))(); + var TAndTToT = () => (TAndTToT = dart.constFn(dart.fnType(T, [T, T])))(); + var _FutureOfT = () => (_FutureOfT = dart.constFn(async._Future$(T)))(); + var VoidToT = () => (VoidToT = dart.constFn(dart.fnType(T, [])))(); + var TTodynamic = () => (TTodynamic = dart.constFn(dart.fnType(dart.dynamic, [T])))(); + var TToNull = () => (TToNull = dart.constFn(dart.fnType(core.Null, [T])))(); + var JSArrayOfT = () => (JSArrayOfT = dart.constFn(_interceptors.JSArray$(T)))(); + var ListOfT = () => (ListOfT = dart.constFn(core.List$(T)))(); + var _FutureOfListOfT = () => (_FutureOfListOfT = dart.constFn(async._Future$(ListOfT())))(); + var _HashSetOfT = () => (_HashSetOfT = dart.constFn(collection._HashSet$(T)))(); + var SetOfT = () => (SetOfT = dart.constFn(core.Set$(T)))(); + var _FutureOfSetOfT = () => (_FutureOfSetOfT = dart.constFn(async._Future$(SetOfT())))(); + var _TakeStreamOfT = () => (_TakeStreamOfT = dart.constFn(async._TakeStream$(T)))(); + var _TakeWhileStreamOfT = () => (_TakeWhileStreamOfT = dart.constFn(async._TakeWhileStream$(T)))(); + var _SkipStreamOfT = () => (_SkipStreamOfT = dart.constFn(async._SkipStream$(T)))(); + var _SkipWhileStreamOfT = () => (_SkipWhileStreamOfT = dart.constFn(async._SkipWhileStream$(T)))(); + var _DistinctStreamOfT = () => (_DistinctStreamOfT = dart.constFn(async._DistinctStream$(T)))(); + var VoidToNT = () => (VoidToNT = dart.constFn(dart.nullable(VoidToT())))(); + var _SyncBroadcastStreamControllerOfT = () => (_SyncBroadcastStreamControllerOfT = dart.constFn(async._SyncBroadcastStreamController$(T)))(); + var _SyncStreamControllerOfT = () => (_SyncStreamControllerOfT = dart.constFn(async._SyncStreamController$(T)))(); + var EventSinkOfT = () => (EventSinkOfT = dart.constFn(async.EventSink$(T)))(); + var _ControllerEventSinkWrapperOfT = () => (_ControllerEventSinkWrapperOfT = dart.constFn(async._ControllerEventSinkWrapper$(T)))(); + class Stream extends core.Object { + static value(value) { + let t27; + return (t27 = new (async._AsyncStreamController$(T)).new(null, null, null, null), (() => { + t27[_add](value); + t27[_closeUnchecked](); + return t27; + })()).stream; + } + static error(error, stackTrace = null) { + let t28, t27; + if (error == null) dart.nullFailed(I[28], 143, 31, "error"); + _internal.checkNotNullable(core.Object, error, "error"); + return (t27 = new (async._AsyncStreamController$(T)).new(null, null, null, null), (() => { + t27[_addError](error, (t28 = stackTrace, t28 == null ? async.AsyncError.defaultStackTrace(error) : t28)); + t27[_closeUnchecked](); + return t27; + })()).stream; + } + static fromFuture(future) { + if (future == null) dart.nullFailed(I[28], 156, 39, "future"); + let controller = new (async._SyncStreamController$(T)).new(null, null, null, null); + future.then(core.Null, dart.fn(value => { + controller[_add](value); + controller[_closeUnchecked](); + }, dart.fnType(core.Null, [T])), {onError: dart.fn((error, stackTrace) => { + controller[_addError](core.Object.as(error), core.StackTrace.as(stackTrace)); + controller[_closeUnchecked](); + }, T$.dynamicAnddynamicToNull())}); + return controller.stream; + } + static fromFutures(futures) { + if (futures == null) dart.nullFailed(I[28], 185, 50, "futures"); + let controller = new (async._SyncStreamController$(T)).new(null, null, null, null); + let count = 0; + function onValue(value) { + if (!dart.test(controller.isClosed)) { + controller[_add](value); + if ((count = count - 1) === 0) controller[_closeUnchecked](); + } + } + dart.fn(onValue, dart.fnType(dart.void, [T])); + function onError(error, stack) { + if (error == null) dart.nullFailed(I[28], 199, 25, "error"); + if (stack == null) dart.nullFailed(I[28], 199, 43, "stack"); + if (!dart.test(controller.isClosed)) { + controller[_addError](error, stack); + if ((count = count - 1) === 0) controller[_closeUnchecked](); + } + } + dart.fn(onError, T$.ObjectAndStackTraceTovoid()); + for (let future of futures) { + count = count + 1; + future.then(dart.void, onValue, {onError: onError}); + } + if (count === 0) async.scheduleMicrotask(dart.bind(controller, 'close')); + return controller.stream; + } + static fromIterable(elements) { + if (elements == null) dart.nullFailed(I[28], 229, 43, "elements"); + return new (async._GeneratedStreamImpl$(T)).new(dart.fn(() => new (async._IterablePendingEvents$(T)).new(elements), dart.fnType(async._IterablePendingEvents$(T), []))); + } + static multi(onListen, opts) { + if (onListen == null) dart.nullFailed(I[28], 298, 64, "onListen"); + let isBroadcast = opts && 'isBroadcast' in opts ? opts.isBroadcast : false; + if (isBroadcast == null) dart.nullFailed(I[28], 299, 13, "isBroadcast"); + return new (async._MultiStream$(T)).new(onListen, isBroadcast); + } + static periodic(period, computation = null) { + if (period == null) dart.nullFailed(I[28], 315, 36, "period"); + if (computation == null && !dart.test(_internal.typeAcceptsNull(T))) { + dart.throw(new core.ArgumentError.value(null, "computation", "Must not be omitted when the event type is non-nullable")); + } + let controller = new (async._SyncStreamController$(T)).new(null, null, null, null); + let watch = new core.Stopwatch.new(); + controller.onListen = dart.fn(() => { + let t28; + let computationCount = 0; + function sendEvent(_) { + let t27; + watch.reset(); + if (computation != null) { + let event = null; + try { + event = computation((t27 = computationCount, computationCount = t27 + 1, t27)); + } catch (e$) { + let e = dart.getThrown(e$); + let s = dart.stackTrace(e$); + if (core.Object.is(e)) { + controller.addError(e, s); + return; + } else + throw e$; + } + controller.add(event); + } else { + controller.add(T.as(null)); + } + } + dart.fn(sendEvent, T$.dynamicTovoid()); + let timer = async.Timer.periodic(period, sendEvent); + t28 = controller; + (() => { + t28.onCancel = dart.fn(() => { + timer.cancel(); + return async.Future._nullFuture; + }, T$.VoidTo_FutureOfNull()); + t28.onPause = dart.fn(() => { + watch.stop(); + timer.cancel(); + }, T$.VoidTovoid()); + t28.onResume = dart.fn(() => { + let elapsed = watch.elapsed; + watch.start(); + timer = async.Timer.new(period['-'](elapsed), dart.fn(() => { + timer = async.Timer.periodic(period, sendEvent); + sendEvent(null); + }, T$.VoidTovoid())); + }, T$.VoidTovoid()); + return t28; + })(); + }, T$.VoidTovoid()); + return controller.stream; + } + static eventTransformed(source, mapSink) { + if (source == null) dart.nullFailed(I[28], 403, 23, "source"); + if (mapSink == null) dart.nullFailed(I[28], 403, 50, "mapSink"); + return new (async._BoundSinkStream$(dart.dynamic, T)).new(source, mapSink); + } + static castFrom(S, T, source) { + if (source == null) dart.nullFailed(I[28], 413, 45, "source"); + return new (_internal.CastStream$(S, T)).new(source); + } + get isBroadcast() { + return false; + } + asBroadcastStream(opts) { + let onListen = opts && 'onListen' in opts ? opts.onListen : null; + let onCancel = opts && 'onCancel' in opts ? opts.onCancel : null; + return new (_AsBroadcastStreamOfT()).new(this, onListen, onCancel); + } + where(test) { + if (test == null) dart.nullFailed(I[28], 493, 24, "test"); + return new (_WhereStreamOfT()).new(this, test); + } + map(S, convert) { + if (convert == null) dart.nullFailed(I[28], 521, 22, "convert"); + return new (async._MapStream$(T, S)).new(this, convert); + } + asyncMap(E, convert) { + if (convert == null) dart.nullFailed(I[28], 533, 37, "convert"); + let controller = null; + if (dart.test(this.isBroadcast)) { + controller = new (async._SyncBroadcastStreamController$(E)).new(null, null); + } else { + controller = new (async._SyncStreamController$(E)).new(null, null, null, null); + } + controller.onListen = dart.fn(() => { + let t29; + let subscription = this.listen(null, {onError: dart.bind(controller, _addError), onDone: dart.bind(controller, 'close')}); + function add(value) { + controller.add(value); + } + dart.fn(add, dart.fnType(T$.FutureNOfNull(), [E])); + let addError = dart.bind(controller, _addError); + let resume = dart.bind(subscription, 'resume'); + subscription.onData(dart.fn(event => { + let newValue = null; + try { + newValue = convert(event); + } catch (e$) { + let e = dart.getThrown(e$); + let s = dart.stackTrace(e$); + if (core.Object.is(e)) { + controller.addError(e, s); + return; + } else + throw e$; + } + if (async.Future$(E).is(newValue)) { + subscription.pause(); + newValue.then(core.Null, add, {onError: addError}).whenComplete(resume); + } else { + controller.add(E.as(newValue)); + } + }, TTovoid())); + controller.onCancel = dart.bind(subscription, 'cancel'); + if (!dart.test(this.isBroadcast)) { + t29 = controller; + (() => { + t29.onPause = dart.bind(subscription, 'pause'); + t29.onResume = resume; + return t29; + })(); + } + }, T$.VoidTovoid()); + return controller.stream; + } + asyncExpand(E, convert) { + if (convert == null) dart.nullFailed(I[28], 593, 39, "convert"); + let controller = null; + if (dart.test(this.isBroadcast)) { + controller = new (async._SyncBroadcastStreamController$(E)).new(null, null); + } else { + controller = new (async._SyncStreamController$(E)).new(null, null, null, null); + } + controller.onListen = dart.fn(() => { + let t30; + let subscription = this.listen(null, {onError: dart.bind(controller, _addError), onDone: dart.bind(controller, 'close')}); + subscription.onData(dart.fn(event => { + let newStream = null; + try { + newStream = convert(event); + } catch (e$) { + let e = dart.getThrown(e$); + let s = dart.stackTrace(e$); + if (core.Object.is(e)) { + controller.addError(e, s); + return; + } else + throw e$; + } + if (newStream != null) { + subscription.pause(); + controller.addStream(newStream).whenComplete(dart.bind(subscription, 'resume')); + } + }, TTovoid())); + controller.onCancel = dart.bind(subscription, 'cancel'); + if (!dart.test(this.isBroadcast)) { + t30 = controller; + (() => { + t30.onPause = dart.bind(subscription, 'pause'); + t30.onResume = dart.bind(subscription, 'resume'); + return t30; + })(); + } + }, T$.VoidTovoid()); + return controller.stream; + } + handleError(onError, opts) { + if (onError == null) dart.nullFailed(I[28], 658, 34, "onError"); + let test = opts && 'test' in opts ? opts.test : null; + return new (_HandleErrorStreamOfT()).new(this, onError, test); + } + expand(S, convert) { + if (convert == null) dart.nullFailed(I[28], 679, 35, "convert"); + return new (async._ExpandStream$(T, S)).new(this, convert); + } + pipe(streamConsumer) { + StreamConsumerOfT().as(streamConsumer); + if (streamConsumer == null) dart.nullFailed(I[28], 697, 33, "streamConsumer"); + return streamConsumer.addStream(this).then(dart.dynamic, dart.fn(_ => streamConsumer.close(), T$.dynamicToFuture())); + } + transform(S, streamTransformer) { + async.StreamTransformer$(T, S).as(streamTransformer); + if (streamTransformer == null) dart.nullFailed(I[28], 726, 50, "streamTransformer"); + return streamTransformer.bind(this); + } + reduce(combine) { + TAndTToT().as(combine); + if (combine == null) dart.nullFailed(I[28], 747, 22, "combine"); + let result = new (_FutureOfT()).new(); + let seenFirst = false; + let value = null; + let value$35isSet = false; + function value$35get() { + return value$35isSet ? value : dart.throw(new _internal.LateError.localNI("value")); + } + dart.fn(value$35get, VoidToT()); + function value$35set(t33) { + value$35isSet = true; + return value = t33; + } + dart.fn(value$35set, TTodynamic()); + let subscription = this.listen(null, {onError: dart.bind(result, _completeError), onDone: dart.fn(() => { + if (!seenFirst) { + try { + dart.throw(_internal.IterableElementError.noElement()); + } catch (e$) { + let e = dart.getThrown(e$); + let s = dart.stackTrace(e$); + if (core.Object.is(e)) { + async._completeWithErrorCallback(result, e, s); + } else + throw e$; + } + } else { + result[_complete](value$35get()); + } + }, T$.VoidTovoid()), cancelOnError: true}); + subscription.onData(dart.fn(element => { + if (seenFirst) { + async._runUserCode(T, dart.fn(() => combine(value$35get(), element), VoidToT()), dart.fn(newValue => { + value$35set(newValue); + }, TToNull()), async._cancelAndErrorClosure(subscription, result)); + } else { + value$35set(element); + seenFirst = true; + } + }, TTovoid())); + return result; + } + fold(S, initialValue, combine) { + if (combine == null) dart.nullFailed(I[28], 794, 39, "combine"); + let result = new (async._Future$(S)).new(); + let value = initialValue; + let subscription = this.listen(null, {onError: dart.bind(result, _completeError), onDone: dart.fn(() => { + result[_complete](value); + }, T$.VoidTovoid()), cancelOnError: true}); + subscription.onData(dart.fn(element => { + async._runUserCode(S, dart.fn(() => combine(value, element), dart.fnType(S, [])), dart.fn(newValue => { + value = newValue; + }, dart.fnType(core.Null, [S])), async._cancelAndErrorClosure(subscription, result)); + }, TTovoid())); + return result; + } + join(separator = "") { + if (separator == null) dart.nullFailed(I[28], 821, 31, "separator"); + let result = new (T$._FutureOfString()).new(); + let buffer = new core.StringBuffer.new(); + let first = true; + let subscription = this.listen(null, {onError: dart.bind(result, _completeError), onDone: dart.fn(() => { + result[_complete](buffer.toString()); + }, T$.VoidTovoid()), cancelOnError: true}); + subscription.onData(separator[$isEmpty] ? dart.fn(element => { + try { + buffer.write(element); + } catch (e$) { + let e = dart.getThrown(e$); + let s = dart.stackTrace(e$); + if (core.Object.is(e)) { + async._cancelAndErrorWithReplacement(subscription, result, e, s); + } else + throw e$; + } + }, TTovoid()) : dart.fn(element => { + if (!first) { + buffer.write(separator); + } + first = false; + try { + buffer.write(element); + } catch (e$) { + let e = dart.getThrown(e$); + let s = dart.stackTrace(e$); + if (core.Object.is(e)) { + async._cancelAndErrorWithReplacement(subscription, result, e, s); + } else + throw e$; + } + }, TTovoid())); + return result; + } + contains(needle) { + let future = new (T$._FutureOfbool()).new(); + let subscription = this.listen(null, {onError: dart.bind(future, _completeError), onDone: dart.fn(() => { + future[_complete](false); + }, T$.VoidTovoid()), cancelOnError: true}); + subscription.onData(dart.fn(element => { + async._runUserCode(core.bool, dart.fn(() => dart.equals(element, needle), T$.VoidTobool()), dart.fn(isMatch => { + if (isMatch == null) dart.nullFailed(I[28], 868, 53, "isMatch"); + if (dart.test(isMatch)) { + async._cancelAndValue(subscription, future, true); + } + }, T$.boolToNull()), async._cancelAndErrorClosure(subscription, future)); + }, TTovoid())); + return future; + } + forEach(action) { + if (action == null) dart.nullFailed(I[28], 885, 23, "action"); + let future = new async._Future.new(); + let subscription = this.listen(null, {onError: dart.bind(future, _completeError), onDone: dart.fn(() => { + future[_complete](null); + }, T$.VoidTovoid()), cancelOnError: true}); + subscription.onData(dart.fn(element => { + async._runUserCode(dart.void, dart.fn(() => action(element), T$.VoidTovoid()), dart.fn(_ => { + }, T$.voidToNull()), async._cancelAndErrorClosure(subscription, future)); + }, TTovoid())); + return future; + } + every(test) { + if (test == null) dart.nullFailed(I[28], 910, 27, "test"); + let future = new (T$._FutureOfbool()).new(); + let subscription = this.listen(null, {onError: dart.bind(future, _completeError), onDone: dart.fn(() => { + future[_complete](true); + }, T$.VoidTovoid()), cancelOnError: true}); + subscription.onData(dart.fn(element => { + async._runUserCode(core.bool, dart.fn(() => test(element), T$.VoidTobool()), dart.fn(isMatch => { + if (isMatch == null) dart.nullFailed(I[28], 917, 47, "isMatch"); + if (!dart.test(isMatch)) { + async._cancelAndValue(subscription, future, false); + } + }, T$.boolToNull()), async._cancelAndErrorClosure(subscription, future)); + }, TTovoid())); + return future; + } + any(test) { + if (test == null) dart.nullFailed(I[28], 938, 25, "test"); + let future = new (T$._FutureOfbool()).new(); + let subscription = this.listen(null, {onError: dart.bind(future, _completeError), onDone: dart.fn(() => { + future[_complete](false); + }, T$.VoidTovoid()), cancelOnError: true}); + subscription.onData(dart.fn(element => { + async._runUserCode(core.bool, dart.fn(() => test(element), T$.VoidTobool()), dart.fn(isMatch => { + if (isMatch == null) dart.nullFailed(I[28], 945, 47, "isMatch"); + if (dart.test(isMatch)) { + async._cancelAndValue(subscription, future, true); + } + }, T$.boolToNull()), async._cancelAndErrorClosure(subscription, future)); + }, TTovoid())); + return future; + } + get length() { + let future = new (T$._FutureOfint()).new(); + let count = 0; + this.listen(dart.fn(_ => { + count = count + 1; + }, TTovoid()), {onError: dart.bind(future, _completeError), onDone: dart.fn(() => { + future[_complete](count); + }, T$.VoidTovoid()), cancelOnError: true}); + return future; + } + get isEmpty() { + let future = new (T$._FutureOfbool()).new(); + let subscription = this.listen(null, {onError: dart.bind(future, _completeError), onDone: dart.fn(() => { + future[_complete](true); + }, T$.VoidTovoid()), cancelOnError: true}); + subscription.onData(dart.fn(_ => { + async._cancelAndValue(subscription, future, false); + }, TTovoid())); + return future; + } + cast(R) { + return async.Stream.castFrom(T, R, this); + } + toList() { + let result = JSArrayOfT().of([]); + let future = new (_FutureOfListOfT()).new(); + this.listen(dart.fn(data => { + result[$add](data); + }, TTovoid()), {onError: dart.bind(future, _completeError), onDone: dart.fn(() => { + future[_complete](result); + }, T$.VoidTovoid()), cancelOnError: true}); + return future; + } + toSet() { + let result = new (_HashSetOfT()).new(); + let future = new (_FutureOfSetOfT()).new(); + this.listen(dart.fn(data => { + result.add(data); + }, TTovoid()), {onError: dart.bind(future, _completeError), onDone: dart.fn(() => { + future[_complete](result); + }, T$.VoidTovoid()), cancelOnError: true}); + return future; + } + drain(E, futureValue = null) { + if (futureValue == null) { + futureValue = E.as(futureValue); + } + return this.listen(null, {cancelOnError: true}).asFuture(E, futureValue); + } + take(count) { + if (count == null) dart.nullFailed(I[28], 1104, 22, "count"); + return new (_TakeStreamOfT()).new(this, count); + } + takeWhile(test) { + if (test == null) dart.nullFailed(I[28], 1128, 28, "test"); + return new (_TakeWhileStreamOfT()).new(this, test); + } + skip(count) { + if (count == null) dart.nullFailed(I[28], 1145, 22, "count"); + return new (_SkipStreamOfT()).new(this, count); + } + skipWhile(test) { + if (test == null) dart.nullFailed(I[28], 1165, 28, "test"); + return new (_SkipWhileStreamOfT()).new(this, test); + } + distinct(equals = null) { + return new (_DistinctStreamOfT()).new(this, equals); + } + get first() { + let future = new (_FutureOfT()).new(); + let subscription = this.listen(null, {onError: dart.bind(future, _completeError), onDone: dart.fn(() => { + try { + dart.throw(_internal.IterableElementError.noElement()); + } catch (e$) { + let e = dart.getThrown(e$); + let s = dart.stackTrace(e$); + if (core.Object.is(e)) { + async._completeWithErrorCallback(future, e, s); + } else + throw e$; + } + }, T$.VoidTovoid()), cancelOnError: true}); + subscription.onData(dart.fn(value => { + async._cancelAndValue(subscription, future, value); + }, TTovoid())); + return future; + } + get last() { + let future = new (_FutureOfT()).new(); + let result = null; + let result$35isSet = false; + function result$35get() { + return result$35isSet ? result : dart.throw(new _internal.LateError.localNI("result")); + } + dart.fn(result$35get, VoidToT()); + function result$35set(t42) { + result$35isSet = true; + return result = t42; + } + dart.fn(result$35set, TTodynamic()); + let foundResult = false; + this.listen(dart.fn(value => { + foundResult = true; + result$35set(value); + }, TTovoid()), {onError: dart.bind(future, _completeError), onDone: dart.fn(() => { + if (foundResult) { + future[_complete](result$35get()); + return; + } + try { + dart.throw(_internal.IterableElementError.noElement()); + } catch (e$) { + let e = dart.getThrown(e$); + let s = dart.stackTrace(e$); + if (core.Object.is(e)) { + async._completeWithErrorCallback(future, e, s); + } else + throw e$; + } + }, T$.VoidTovoid()), cancelOnError: true}); + return future; + } + get single() { + let future = new (_FutureOfT()).new(); + let result = null; + let result$35isSet = false; + function result$35get() { + return result$35isSet ? result : dart.throw(new _internal.LateError.localNI("result")); + } + dart.fn(result$35get, VoidToT()); + function result$35set(t48) { + result$35isSet = true; + return result = t48; + } + dart.fn(result$35set, TTodynamic()); + let foundResult = false; + let subscription = this.listen(null, {onError: dart.bind(future, _completeError), onDone: dart.fn(() => { + if (foundResult) { + future[_complete](result$35get()); + return; + } + try { + dart.throw(_internal.IterableElementError.noElement()); + } catch (e$) { + let e = dart.getThrown(e$); + let s = dart.stackTrace(e$); + if (core.Object.is(e)) { + async._completeWithErrorCallback(future, e, s); + } else + throw e$; + } + }, T$.VoidTovoid()), cancelOnError: true}); + subscription.onData(dart.fn(value => { + if (foundResult) { + try { + dart.throw(_internal.IterableElementError.tooMany()); + } catch (e$) { + let e = dart.getThrown(e$); + let s = dart.stackTrace(e$); + if (core.Object.is(e)) { + async._cancelAndErrorWithReplacement(subscription, future, e, s); + } else + throw e$; + } + return; + } + foundResult = true; + result$35set(value); + }, TTovoid())); + return future; + } + firstWhere(test, opts) { + if (test == null) dart.nullFailed(I[28], 1320, 29, "test"); + let orElse = opts && 'orElse' in opts ? opts.orElse : null; + VoidToNT().as(orElse); + let future = new (_FutureOfT()).new(); + let subscription = this.listen(null, {onError: dart.bind(future, _completeError), onDone: dart.fn(() => { + if (orElse != null) { + async._runUserCode(T, orElse, dart.bind(future, _complete), dart.bind(future, _completeError)); + return; + } + try { + dart.throw(_internal.IterableElementError.noElement()); + } catch (e$) { + let e = dart.getThrown(e$); + let s = dart.stackTrace(e$); + if (core.Object.is(e)) { + async._completeWithErrorCallback(future, e, s); + } else + throw e$; + } + }, T$.VoidTovoid()), cancelOnError: true}); + subscription.onData(dart.fn(value => { + async._runUserCode(core.bool, dart.fn(() => test(value), T$.VoidTobool()), dart.fn(isMatch => { + if (isMatch == null) dart.nullFailed(I[28], 1337, 45, "isMatch"); + if (dart.test(isMatch)) { + async._cancelAndValue(subscription, future, value); + } + }, T$.boolToNull()), async._cancelAndErrorClosure(subscription, future)); + }, TTovoid())); + return future; + } + lastWhere(test, opts) { + if (test == null) dart.nullFailed(I[28], 1355, 28, "test"); + let orElse = opts && 'orElse' in opts ? opts.orElse : null; + VoidToNT().as(orElse); + let future = new (_FutureOfT()).new(); + let result = null; + let result$35isSet = false; + function result$35get() { + return result$35isSet ? result : dart.throw(new _internal.LateError.localNI("result")); + } + dart.fn(result$35get, VoidToT()); + function result$35set(t56) { + result$35isSet = true; + return result = t56; + } + dart.fn(result$35set, TTodynamic()); + let foundResult = false; + let subscription = this.listen(null, {onError: dart.bind(future, _completeError), onDone: dart.fn(() => { + if (foundResult) { + future[_complete](result$35get()); + return; + } + if (orElse != null) { + async._runUserCode(T, orElse, dart.bind(future, _complete), dart.bind(future, _completeError)); + return; + } + try { + dart.throw(_internal.IterableElementError.noElement()); + } catch (e$) { + let e = dart.getThrown(e$); + let s = dart.stackTrace(e$); + if (core.Object.is(e)) { + async._completeWithErrorCallback(future, e, s); + } else + throw e$; + } + }, T$.VoidTovoid()), cancelOnError: true}); + subscription.onData(dart.fn(value => { + async._runUserCode(core.bool, dart.fn(() => test(value), T$.VoidTobool()), dart.fn(isMatch => { + if (isMatch == null) dart.nullFailed(I[28], 1377, 45, "isMatch"); + if (dart.test(isMatch)) { + foundResult = true; + result$35set(value); + } + }, T$.boolToNull()), async._cancelAndErrorClosure(subscription, future)); + }, TTovoid())); + return future; + } + singleWhere(test, opts) { + if (test == null) dart.nullFailed(I[28], 1391, 30, "test"); + let orElse = opts && 'orElse' in opts ? opts.orElse : null; + VoidToNT().as(orElse); + let future = new (_FutureOfT()).new(); + let result = null; + let result$35isSet = false; + function result$35get() { + return result$35isSet ? result : dart.throw(new _internal.LateError.localNI("result")); + } + dart.fn(result$35get, VoidToT()); + function result$35set(t62) { + result$35isSet = true; + return result = t62; + } + dart.fn(result$35set, TTodynamic()); + let foundResult = false; + let subscription = this.listen(null, {onError: dart.bind(future, _completeError), onDone: dart.fn(() => { + if (foundResult) { + future[_complete](result$35get()); + return; + } + if (orElse != null) { + async._runUserCode(T, orElse, dart.bind(future, _complete), dart.bind(future, _completeError)); + return; + } + try { + dart.throw(_internal.IterableElementError.noElement()); + } catch (e$) { + let e = dart.getThrown(e$); + let s = dart.stackTrace(e$); + if (core.Object.is(e)) { + async._completeWithErrorCallback(future, e, s); + } else + throw e$; + } + }, T$.VoidTovoid()), cancelOnError: true}); + subscription.onData(dart.fn(value => { + async._runUserCode(core.bool, dart.fn(() => test(value), T$.VoidTobool()), dart.fn(isMatch => { + if (isMatch == null) dart.nullFailed(I[28], 1413, 45, "isMatch"); + if (dart.test(isMatch)) { + if (foundResult) { + try { + dart.throw(_internal.IterableElementError.tooMany()); + } catch (e$) { + let e = dart.getThrown(e$); + let s = dart.stackTrace(e$); + if (core.Object.is(e)) { + async._cancelAndErrorWithReplacement(subscription, future, e, s); + } else + throw e$; + } + return; + } + foundResult = true; + result$35set(value); + } + }, T$.boolToNull()), async._cancelAndErrorClosure(subscription, future)); + }, TTovoid())); + return future; + } + elementAt(index) { + if (index == null) dart.nullFailed(I[28], 1445, 27, "index"); + core.RangeError.checkNotNegative(index, "index"); + let result = new (_FutureOfT()).new(); + let elementIndex = 0; + let subscription = null; + subscription = this.listen(null, {onError: dart.bind(result, _completeError), onDone: dart.fn(() => { + result[_completeError](new core.IndexError.new(index, this, "index", null, elementIndex), core.StackTrace.empty); + }, T$.VoidTovoid()), cancelOnError: true}); + subscription.onData(dart.fn(value => { + if (index === elementIndex) { + async._cancelAndValue(subscription, result, value); + return; + } + elementIndex = elementIndex + 1; + }, TTovoid())); + return result; + } + timeout(timeLimit, opts) { + if (timeLimit == null) dart.nullFailed(I[28], 1492, 30, "timeLimit"); + let onTimeout = opts && 'onTimeout' in opts ? opts.onTimeout : null; + let controller = null; + if (dart.test(this.isBroadcast)) { + controller = new (_SyncBroadcastStreamControllerOfT()).new(null, null); + } else { + controller = new (_SyncStreamControllerOfT()).new(null, null, null, null); + } + let zone = async.Zone.current; + let timeoutCallback = null; + if (onTimeout == null) { + timeoutCallback = dart.fn(() => { + controller.addError(new async.TimeoutException.new("No stream event", timeLimit), null); + }, T$.VoidTovoid()); + } else { + let registeredOnTimeout = zone.registerUnaryCallback(dart.void, EventSinkOfT(), onTimeout); + let wrapper = new (_ControllerEventSinkWrapperOfT()).new(null); + timeoutCallback = dart.fn(() => { + wrapper[_sink$] = controller; + zone.runUnaryGuarded(_ControllerEventSinkWrapperOfT(), registeredOnTimeout, wrapper); + wrapper[_sink$] = null; + }, T$.VoidTovoid()); + } + controller.onListen = dart.fn(() => { + let t66, t66$; + let timer = zone.createTimer(timeLimit, timeoutCallback); + let subscription = this.listen(null); + t66 = subscription; + (() => { + t66.onData(dart.fn(event => { + timer.cancel(); + timer = zone.createTimer(timeLimit, timeoutCallback); + controller.add(event); + }, TTovoid())); + t66.onError(dart.fn((error, stackTrace) => { + if (error == null) dart.nullFailed(I[28], 1536, 27, "error"); + if (stackTrace == null) dart.nullFailed(I[28], 1536, 45, "stackTrace"); + timer.cancel(); + timer = zone.createTimer(timeLimit, timeoutCallback); + controller[_addError](error, stackTrace); + }, T$.ObjectAndStackTraceToNull())); + t66.onDone(dart.fn(() => { + timer.cancel(); + controller.close(); + }, T$.VoidTovoid())); + return t66; + })(); + controller.onCancel = dart.fn(() => { + timer.cancel(); + return subscription.cancel(); + }, T$.VoidToFutureOfvoid()); + if (!dart.test(this.isBroadcast)) { + t66$ = controller; + (() => { + t66$.onPause = dart.fn(() => { + timer.cancel(); + subscription.pause(); + }, T$.VoidTovoid()); + t66$.onResume = dart.fn(() => { + subscription.resume(); + timer = zone.createTimer(timeLimit, timeoutCallback); + }, T$.VoidTovoid()); + return t66$; + })(); + } + }, T$.VoidTovoid()); + return controller.stream; + } + } + (Stream.new = function() { + ; + }).prototype = Stream.prototype; + (Stream._internal = function() { + ; + }).prototype = Stream.prototype; + dart.addTypeTests(Stream); + Stream.prototype[dart.isStream] = true; + dart.addTypeCaches(Stream); + dart.setMethodSignature(Stream, () => ({ + __proto__: dart.getMethods(Stream.__proto__), + asBroadcastStream: dart.fnType(async.Stream$(T), [], {onCancel: dart.nullable(dart.fnType(dart.void, [async.StreamSubscription$(T)])), onListen: dart.nullable(dart.fnType(dart.void, [async.StreamSubscription$(T)]))}, {}), + where: dart.fnType(async.Stream$(T), [dart.fnType(core.bool, [T])]), + map: dart.gFnType(S => [async.Stream$(S), [dart.fnType(S, [T])]], S => [dart.nullable(core.Object)]), + asyncMap: dart.gFnType(E => [async.Stream$(E), [dart.fnType(async.FutureOr$(E), [T])]], E => [dart.nullable(core.Object)]), + asyncExpand: dart.gFnType(E => [async.Stream$(E), [dart.fnType(dart.nullable(async.Stream$(E)), [T])]], E => [dart.nullable(core.Object)]), + handleError: dart.fnType(async.Stream$(T), [core.Function], {test: dart.nullable(dart.fnType(core.bool, [dart.dynamic]))}, {}), + expand: dart.gFnType(S => [async.Stream$(S), [dart.fnType(core.Iterable$(S), [T])]], S => [dart.nullable(core.Object)]), + pipe: dart.fnType(async.Future, [dart.nullable(core.Object)]), + transform: dart.gFnType(S => [async.Stream$(S), [dart.nullable(core.Object)]], S => [dart.nullable(core.Object)]), + reduce: dart.fnType(async.Future$(T), [dart.nullable(core.Object)]), + fold: dart.gFnType(S => [async.Future$(S), [S, dart.fnType(S, [S, T])]], S => [dart.nullable(core.Object)]), + join: dart.fnType(async.Future$(core.String), [], [core.String]), + contains: dart.fnType(async.Future$(core.bool), [dart.nullable(core.Object)]), + forEach: dart.fnType(async.Future, [dart.fnType(dart.void, [T])]), + every: dart.fnType(async.Future$(core.bool), [dart.fnType(core.bool, [T])]), + any: dart.fnType(async.Future$(core.bool), [dart.fnType(core.bool, [T])]), + cast: dart.gFnType(R => [async.Stream$(R), []], R => [dart.nullable(core.Object)]), + toList: dart.fnType(async.Future$(core.List$(T)), []), + toSet: dart.fnType(async.Future$(core.Set$(T)), []), + drain: dart.gFnType(E => [async.Future$(E), [], [dart.nullable(E)]], E => [dart.nullable(core.Object)]), + take: dart.fnType(async.Stream$(T), [core.int]), + takeWhile: dart.fnType(async.Stream$(T), [dart.fnType(core.bool, [T])]), + skip: dart.fnType(async.Stream$(T), [core.int]), + skipWhile: dart.fnType(async.Stream$(T), [dart.fnType(core.bool, [T])]), + distinct: dart.fnType(async.Stream$(T), [], [dart.nullable(dart.fnType(core.bool, [T, T]))]), + firstWhere: dart.fnType(async.Future$(T), [dart.fnType(core.bool, [T])], {orElse: dart.nullable(core.Object)}, {}), + lastWhere: dart.fnType(async.Future$(T), [dart.fnType(core.bool, [T])], {orElse: dart.nullable(core.Object)}, {}), + singleWhere: dart.fnType(async.Future$(T), [dart.fnType(core.bool, [T])], {orElse: dart.nullable(core.Object)}, {}), + elementAt: dart.fnType(async.Future$(T), [core.int]), + timeout: dart.fnType(async.Stream$(T), [core.Duration], {onTimeout: dart.nullable(dart.fnType(dart.void, [async.EventSink$(T)]))}, {}) + })); + dart.setGetterSignature(Stream, () => ({ + __proto__: dart.getGetters(Stream.__proto__), + isBroadcast: core.bool, + length: async.Future$(core.int), + isEmpty: async.Future$(core.bool), + first: async.Future$(T), + last: async.Future$(T), + single: async.Future$(T) + })); + dart.setLibraryUri(Stream, I[29]); + return Stream; +}); +async.Stream = async.Stream$(); +dart.addTypeTests(async.Stream, dart.isStream); +const _is_CastStream_default = Symbol('_is_CastStream_default'); +_internal.CastStream$ = dart.generic((S, T) => { + var CastStreamSubscriptionOfS$T = () => (CastStreamSubscriptionOfS$T = dart.constFn(_internal.CastStreamSubscription$(S, T)))(); + class CastStream extends async.Stream$(T) { + get isBroadcast() { + return this[_source$].isBroadcast; + } + listen(onData, opts) { + let t27; + let onError = opts && 'onError' in opts ? opts.onError : null; + let onDone = opts && 'onDone' in opts ? opts.onDone : null; + let cancelOnError = opts && 'cancelOnError' in opts ? opts.cancelOnError : null; + t27 = new (CastStreamSubscriptionOfS$T()).new(this[_source$].listen(null, {onDone: onDone, cancelOnError: cancelOnError})); + return (() => { + t27.onData(onData); + t27.onError(onError); + return t27; + })(); + } + cast(R) { + return new (_internal.CastStream$(S, R)).new(this[_source$]); + } + } + (CastStream.new = function(_source) { + if (_source == null) dart.nullFailed(I[27], 11, 19, "_source"); + this[_source$] = _source; + CastStream.__proto__.new.call(this); + ; + }).prototype = CastStream.prototype; + dart.addTypeTests(CastStream); + CastStream.prototype[_is_CastStream_default] = true; + dart.addTypeCaches(CastStream); + dart.setMethodSignature(CastStream, () => ({ + __proto__: dart.getMethods(CastStream.__proto__), + listen: dart.fnType(async.StreamSubscription$(T), [dart.nullable(dart.fnType(dart.void, [T]))], {cancelOnError: dart.nullable(core.bool), onDone: dart.nullable(dart.fnType(dart.void, [])), onError: dart.nullable(core.Function)}, {}), + cast: dart.gFnType(R => [async.Stream$(R), []], R => [dart.nullable(core.Object)]) + })); + dart.setLibraryUri(CastStream, I[25]); + dart.setFieldSignature(CastStream, () => ({ + __proto__: dart.getFields(CastStream.__proto__), + [_source$]: dart.finalFieldType(async.Stream$(S)) + })); + return CastStream; +}); +_internal.CastStream = _internal.CastStream$(); +dart.addTypeTests(_internal.CastStream, _is_CastStream_default); +var _zone = dart.privateName(_internal, "_zone"); +var _handleData = dart.privateName(_internal, "_handleData"); +var _handleError = dart.privateName(_internal, "_handleError"); +var _onData = dart.privateName(_internal, "_onData"); +const _is_CastStreamSubscription_default = Symbol('_is_CastStreamSubscription_default'); +_internal.CastStreamSubscription$ = dart.generic((S, T) => { + class CastStreamSubscription extends core.Object { + cancel() { + return this[_source$].cancel(); + } + onData(handleData) { + this[_handleData] = handleData == null ? null : this[_zone].registerUnaryCallback(dart.dynamic, T, handleData); + } + onError(handleError) { + this[_source$].onError(handleError); + if (handleError == null) { + this[_handleError] = null; + } else if (T$.ObjectAndStackTraceTovoid().is(handleError)) { + this[_handleError] = this[_zone].registerBinaryCallback(dart.dynamic, core.Object, core.StackTrace, handleError); + } else if (T$.ObjectTovoid().is(handleError)) { + this[_handleError] = this[_zone].registerUnaryCallback(dart.dynamic, core.Object, handleError); + } else { + dart.throw(new core.ArgumentError.new("handleError callback must take either an Object " + "(the error), or both an Object (the error) and a StackTrace.")); + } + } + onDone(handleDone) { + this[_source$].onDone(handleDone); + } + [_onData](data) { + S.as(data); + if (this[_handleData] == null) return; + let targetData = null; + try { + targetData = T.as(data); + } catch (e) { + let error = dart.getThrown(e); + let stack = dart.stackTrace(e); + if (core.Object.is(error)) { + let handleError = this[_handleError]; + if (handleError == null) { + this[_zone].handleUncaughtError(error, stack); + } else if (T$.ObjectAndStackTraceTovoid().is(handleError)) { + this[_zone].runBinaryGuarded(core.Object, core.StackTrace, handleError, error, stack); + } else { + this[_zone].runUnaryGuarded(core.Object, T$.ObjectTovoid().as(handleError), error); + } + return; + } else + throw e; + } + this[_zone].runUnaryGuarded(T, dart.nullCheck(this[_handleData]), targetData); + } + pause(resumeSignal = null) { + this[_source$].pause(resumeSignal); + } + resume() { + this[_source$].resume(); + } + get isPaused() { + return this[_source$].isPaused; + } + asFuture(E, futureValue = null) { + return this[_source$].asFuture(E, futureValue); + } + } + (CastStreamSubscription.new = function(_source) { + if (_source == null) dart.nullFailed(I[27], 37, 31, "_source"); + this[_zone] = async.Zone.current; + this[_handleData] = null; + this[_handleError] = null; + this[_source$] = _source; + this[_source$].onData(dart.bind(this, _onData)); + }).prototype = CastStreamSubscription.prototype; + CastStreamSubscription.prototype[dart.isStreamSubscription] = true; + dart.addTypeTests(CastStreamSubscription); + CastStreamSubscription.prototype[_is_CastStreamSubscription_default] = true; + dart.addTypeCaches(CastStreamSubscription); + CastStreamSubscription[dart.implements] = () => [async.StreamSubscription$(T)]; + dart.setMethodSignature(CastStreamSubscription, () => ({ + __proto__: dart.getMethods(CastStreamSubscription.__proto__), + cancel: dart.fnType(async.Future, []), + onData: dart.fnType(dart.void, [dart.nullable(dart.fnType(dart.void, [T]))]), + onError: dart.fnType(dart.void, [dart.nullable(core.Function)]), + onDone: dart.fnType(dart.void, [dart.nullable(dart.fnType(dart.void, []))]), + [_onData]: dart.fnType(dart.void, [dart.nullable(core.Object)]), + pause: dart.fnType(dart.void, [], [dart.nullable(async.Future)]), + resume: dart.fnType(dart.void, []), + asFuture: dart.gFnType(E => [async.Future$(E), [], [dart.nullable(E)]], E => [dart.nullable(core.Object)]) + })); + dart.setGetterSignature(CastStreamSubscription, () => ({ + __proto__: dart.getGetters(CastStreamSubscription.__proto__), + isPaused: core.bool + })); + dart.setLibraryUri(CastStreamSubscription, I[25]); + dart.setFieldSignature(CastStreamSubscription, () => ({ + __proto__: dart.getFields(CastStreamSubscription.__proto__), + [_source$]: dart.finalFieldType(async.StreamSubscription$(S)), + [_zone]: dart.finalFieldType(async.Zone), + [_handleData]: dart.fieldType(dart.nullable(dart.fnType(dart.void, [T]))), + [_handleError]: dart.fieldType(dart.nullable(core.Function)) + })); + return CastStreamSubscription; +}); +_internal.CastStreamSubscription = _internal.CastStreamSubscription$(); +dart.addTypeTests(_internal.CastStreamSubscription, _is_CastStreamSubscription_default); +const _is_StreamTransformerBase_default = Symbol('_is_StreamTransformerBase_default'); +async.StreamTransformerBase$ = dart.generic((S, T) => { + class StreamTransformerBase extends core.Object { + cast(RS, RT) { + return async.StreamTransformer.castFrom(S, T, RS, RT, this); + } + } + (StreamTransformerBase.new = function() { + ; + }).prototype = StreamTransformerBase.prototype; + dart.addTypeTests(StreamTransformerBase); + StreamTransformerBase.prototype[_is_StreamTransformerBase_default] = true; + dart.addTypeCaches(StreamTransformerBase); + StreamTransformerBase[dart.implements] = () => [async.StreamTransformer$(S, T)]; + dart.setMethodSignature(StreamTransformerBase, () => ({ + __proto__: dart.getMethods(StreamTransformerBase.__proto__), + cast: dart.gFnType((RS, RT) => [async.StreamTransformer$(RS, RT), []], (RS, RT) => [dart.nullable(core.Object), dart.nullable(core.Object)]) + })); + dart.setLibraryUri(StreamTransformerBase, I[29]); + return StreamTransformerBase; +}); +async.StreamTransformerBase = async.StreamTransformerBase$(); +dart.addTypeTests(async.StreamTransformerBase, _is_StreamTransformerBase_default); +const _is_CastStreamTransformer_default = Symbol('_is_CastStreamTransformer_default'); +_internal.CastStreamTransformer$ = dart.generic((SS, ST, TS, TT) => { + var StreamOfTS = () => (StreamOfTS = dart.constFn(async.Stream$(TS)))(); + class CastStreamTransformer extends async.StreamTransformerBase$(TS, TT) { + cast(RS, RT) { + return new (_internal.CastStreamTransformer$(SS, ST, RS, RT)).new(this[_source$]); + } + bind(stream) { + StreamOfTS().as(stream); + if (stream == null) dart.nullFailed(I[27], 108, 30, "stream"); + return this[_source$].bind(stream.cast(SS)).cast(TT); + } + } + (CastStreamTransformer.new = function(_source) { + if (_source == null) dart.nullFailed(I[27], 104, 30, "_source"); + this[_source$] = _source; + CastStreamTransformer.__proto__.new.call(this); + ; + }).prototype = CastStreamTransformer.prototype; + dart.addTypeTests(CastStreamTransformer); + CastStreamTransformer.prototype[_is_CastStreamTransformer_default] = true; + dart.addTypeCaches(CastStreamTransformer); + dart.setMethodSignature(CastStreamTransformer, () => ({ + __proto__: dart.getMethods(CastStreamTransformer.__proto__), + cast: dart.gFnType((RS, RT) => [async.StreamTransformer$(RS, RT), []], (RS, RT) => [dart.nullable(core.Object), dart.nullable(core.Object)]), + bind: dart.fnType(async.Stream$(TT), [dart.nullable(core.Object)]) + })); + dart.setLibraryUri(CastStreamTransformer, I[25]); + dart.setFieldSignature(CastStreamTransformer, () => ({ + __proto__: dart.getFields(CastStreamTransformer.__proto__), + [_source$]: dart.finalFieldType(async.StreamTransformer$(SS, ST)) + })); + return CastStreamTransformer; +}); +_internal.CastStreamTransformer = _internal.CastStreamTransformer$(); +dart.addTypeTests(_internal.CastStreamTransformer, _is_CastStreamTransformer_default); +const _is_Converter_default = Symbol('_is_Converter_default'); +convert.Converter$ = dart.generic((S, T) => { + var StreamOfS = () => (StreamOfS = dart.constFn(async.Stream$(S)))(); + var SinkOfT = () => (SinkOfT = dart.constFn(core.Sink$(T)))(); + var StreamOfT = () => (StreamOfT = dart.constFn(async.Stream$(T)))(); + class Converter extends async.StreamTransformerBase$(S, T) { + static castFrom(SS, ST, TS, TT, source) { + if (source == null) dart.nullFailed(I[30], 21, 71, "source"); + return new (_internal.CastConverter$(SS, ST, TS, TT)).new(source); + } + fuse(TT, other) { + convert.Converter$(T, TT).as(other); + if (other == null) dart.nullFailed(I[30], 31, 46, "other"); + return new (convert._FusedConverter$(S, T, TT)).new(this, other); + } + startChunkedConversion(sink) { + SinkOfT().as(sink); + if (sink == null) dart.nullFailed(I[30], 39, 42, "sink"); + dart.throw(new core.UnsupportedError.new("This converter does not support chunked conversions: " + dart.str(this))); + } + bind(stream) { + StreamOfS().as(stream); + if (stream == null) dart.nullFailed(I[30], 44, 28, "stream"); + return StreamOfT().eventTransformed(stream, dart.fn(sink => { + if (sink == null) dart.nullFailed(I[30], 46, 28, "sink"); + return new convert._ConverterStreamEventSink.new(this, sink); + }, T$.EventSinkTo_ConverterStreamEventSink())); + } + cast(RS, RT) { + return convert.Converter.castFrom(S, T, RS, RT, this); + } + } + (Converter.new = function() { + Converter.__proto__.new.call(this); + ; + }).prototype = Converter.prototype; + dart.addTypeTests(Converter); + Converter.prototype[_is_Converter_default] = true; + dart.addTypeCaches(Converter); + dart.setMethodSignature(Converter, () => ({ + __proto__: dart.getMethods(Converter.__proto__), + fuse: dart.gFnType(TT => [convert.Converter$(S, TT), [dart.nullable(core.Object)]], TT => [dart.nullable(core.Object)]), + startChunkedConversion: dart.fnType(core.Sink$(S), [dart.nullable(core.Object)]), + bind: dart.fnType(async.Stream$(T), [dart.nullable(core.Object)]), + cast: dart.gFnType((RS, RT) => [convert.Converter$(RS, RT), []], (RS, RT) => [dart.nullable(core.Object), dart.nullable(core.Object)]) + })); + dart.setLibraryUri(Converter, I[31]); + return Converter; +}); +convert.Converter = convert.Converter$(); +dart.addTypeTests(convert.Converter, _is_Converter_default); +const _is_CastConverter_default = Symbol('_is_CastConverter_default'); +_internal.CastConverter$ = dart.generic((SS, ST, TS, TT) => { + var StreamOfTS = () => (StreamOfTS = dart.constFn(async.Stream$(TS)))(); + class CastConverter extends convert.Converter$(TS, TT) { + convert(input) { + TS.as(input); + return TT.as(this[_source$].convert(SS.as(input))); + } + bind(stream) { + StreamOfTS().as(stream); + if (stream == null) dart.nullFailed(I[27], 120, 30, "stream"); + return this[_source$].bind(stream.cast(SS)).cast(TT); + } + cast(RS, RT) { + return new (_internal.CastConverter$(SS, ST, RS, RT)).new(this[_source$]); + } + } + (CastConverter.new = function(_source) { + if (_source == null) dart.nullFailed(I[27], 114, 22, "_source"); + this[_source$] = _source; + CastConverter.__proto__.new.call(this); + ; + }).prototype = CastConverter.prototype; + dart.addTypeTests(CastConverter); + CastConverter.prototype[_is_CastConverter_default] = true; + dart.addTypeCaches(CastConverter); + dart.setMethodSignature(CastConverter, () => ({ + __proto__: dart.getMethods(CastConverter.__proto__), + convert: dart.fnType(TT, [dart.nullable(core.Object)]), + cast: dart.gFnType((RS, RT) => [convert.Converter$(RS, RT), []], (RS, RT) => [dart.nullable(core.Object), dart.nullable(core.Object)]) + })); + dart.setLibraryUri(CastConverter, I[25]); + dart.setFieldSignature(CastConverter, () => ({ + __proto__: dart.getFields(CastConverter.__proto__), + [_source$]: dart.finalFieldType(convert.Converter$(SS, ST)) + })); + return CastConverter; +}); +_internal.CastConverter = _internal.CastConverter$(); +dart.addTypeTests(_internal.CastConverter, _is_CastConverter_default); +_internal.BytesBuilder = class BytesBuilder extends core.Object { + static new(opts) { + let copy = opts && 'copy' in opts ? opts.copy : true; + if (copy == null) dart.nullFailed(I[32], 30, 30, "copy"); + return dart.test(copy) ? new _internal._CopyingBytesBuilder.new() : new _internal._BytesBuilder.new(); + } +}; +(_internal.BytesBuilder[dart.mixinNew] = function() { +}).prototype = _internal.BytesBuilder.prototype; +dart.addTypeTests(_internal.BytesBuilder); +dart.addTypeCaches(_internal.BytesBuilder); +dart.setLibraryUri(_internal.BytesBuilder, I[25]); +var _length$ = dart.privateName(_internal, "_length"); +var _buffer = dart.privateName(_internal, "_buffer"); +var _grow = dart.privateName(_internal, "_grow"); +var _clear = dart.privateName(_internal, "_clear"); +_internal._CopyingBytesBuilder = class _CopyingBytesBuilder extends core.Object { + add(bytes) { + if (bytes == null) dart.nullFailed(I[32], 89, 22, "bytes"); + let byteCount = bytes[$length]; + if (byteCount === 0) return; + let required = dart.notNull(this[_length$]) + dart.notNull(byteCount); + if (dart.notNull(this[_buffer][$length]) < required) { + this[_grow](required); + } + if (!(dart.notNull(this[_buffer][$length]) >= required)) dart.assertFailed(null, I[32], 96, 12, "_buffer.length >= required"); + if (typed_data.Uint8List.is(bytes)) { + this[_buffer][$setRange](this[_length$], required, bytes); + } else { + for (let i = 0; i < dart.notNull(byteCount); i = i + 1) { + this[_buffer][$_set](dart.notNull(this[_length$]) + i, bytes[$_get](i)); + } + } + this[_length$] = required; + } + addByte(byte) { + if (byte == null) dart.nullFailed(I[32], 107, 20, "byte"); + if (this[_buffer][$length] == this[_length$]) { + this[_grow](this[_length$]); + } + if (!(dart.notNull(this[_buffer][$length]) > dart.notNull(this[_length$]))) dart.assertFailed(null, I[32], 113, 12, "_buffer.length > _length"); + this[_buffer][$_set](this[_length$], byte); + this[_length$] = dart.notNull(this[_length$]) + 1; + } + [_grow](required) { + if (required == null) dart.nullFailed(I[32], 118, 18, "required"); + let newSize = dart.notNull(required) * 2; + if (dart.notNull(newSize) < 1024) { + newSize = 1024; + } else { + newSize = _internal._CopyingBytesBuilder._pow2roundup(newSize); + } + let newBuffer = _native_typed_data.NativeUint8List.new(newSize); + newBuffer[$setRange](0, this[_buffer][$length], this[_buffer]); + this[_buffer] = newBuffer; + } + takeBytes() { + if (this[_length$] === 0) return _internal._CopyingBytesBuilder._emptyList; + let buffer = typed_data.Uint8List.view(this[_buffer][$buffer], this[_buffer][$offsetInBytes], this[_length$]); + this[_clear](); + return buffer; + } + toBytes() { + if (this[_length$] === 0) return _internal._CopyingBytesBuilder._emptyList; + return _native_typed_data.NativeUint8List.fromList(typed_data.Uint8List.view(this[_buffer][$buffer], this[_buffer][$offsetInBytes], this[_length$])); + } + get length() { + return this[_length$]; + } + get isEmpty() { + return this[_length$] === 0; + } + get isNotEmpty() { + return this[_length$] !== 0; + } + clear() { + this[_clear](); + } + [_clear]() { + this[_length$] = 0; + this[_buffer] = _internal._CopyingBytesBuilder._emptyList; + } + static _pow2roundup(x) { + if (x == null) dart.nullFailed(I[32], 161, 31, "x"); + if (!(dart.notNull(x) > 0)) dart.assertFailed(null, I[32], 162, 12, "x > 0"); + x = dart.notNull(x) - 1; + x = (dart.notNull(x) | x[$rightShift](1)) >>> 0; + x = (dart.notNull(x) | x[$rightShift](2)) >>> 0; + x = (dart.notNull(x) | x[$rightShift](4)) >>> 0; + x = (dart.notNull(x) | x[$rightShift](8)) >>> 0; + x = (dart.notNull(x) | x[$rightShift](16)) >>> 0; + return dart.notNull(x) + 1; + } +}; +(_internal._CopyingBytesBuilder.new = function() { + this[_length$] = 0; + this[_buffer] = _internal._CopyingBytesBuilder._emptyList; + ; +}).prototype = _internal._CopyingBytesBuilder.prototype; +dart.addTypeTests(_internal._CopyingBytesBuilder); +dart.addTypeCaches(_internal._CopyingBytesBuilder); +_internal._CopyingBytesBuilder[dart.implements] = () => [_internal.BytesBuilder]; +dart.setMethodSignature(_internal._CopyingBytesBuilder, () => ({ + __proto__: dart.getMethods(_internal._CopyingBytesBuilder.__proto__), + add: dart.fnType(dart.void, [core.List$(core.int)]), + addByte: dart.fnType(dart.void, [core.int]), + [_grow]: dart.fnType(dart.void, [core.int]), + takeBytes: dart.fnType(typed_data.Uint8List, []), + toBytes: dart.fnType(typed_data.Uint8List, []), + clear: dart.fnType(dart.void, []), + [_clear]: dart.fnType(dart.void, []) +})); +dart.setGetterSignature(_internal._CopyingBytesBuilder, () => ({ + __proto__: dart.getGetters(_internal._CopyingBytesBuilder.__proto__), + length: core.int, + isEmpty: core.bool, + isNotEmpty: core.bool +})); +dart.setLibraryUri(_internal._CopyingBytesBuilder, I[25]); +dart.setFieldSignature(_internal._CopyingBytesBuilder, () => ({ + __proto__: dart.getFields(_internal._CopyingBytesBuilder.__proto__), + [_length$]: dart.fieldType(core.int), + [_buffer]: dart.fieldType(typed_data.Uint8List) +})); +dart.defineLazy(_internal._CopyingBytesBuilder, { + /*_internal._CopyingBytesBuilder._initSize*/get _initSize() { + return 1024; + }, + /*_internal._CopyingBytesBuilder._emptyList*/get _emptyList() { + return _native_typed_data.NativeUint8List.new(0); + } +}, false); +var _chunks = dart.privateName(_internal, "_chunks"); +_internal._BytesBuilder = class _BytesBuilder extends core.Object { + add(bytes) { + if (bytes == null) dart.nullFailed(I[32], 181, 22, "bytes"); + let typedBytes = null; + if (typed_data.Uint8List.is(bytes)) { + typedBytes = bytes; + } else { + typedBytes = _native_typed_data.NativeUint8List.fromList(bytes); + } + this[_chunks][$add](typedBytes); + this[_length$] = dart.notNull(this[_length$]) + dart.notNull(typedBytes[$length]); + } + addByte(byte) { + let t67; + if (byte == null) dart.nullFailed(I[32], 192, 20, "byte"); + this[_chunks][$add]((t67 = _native_typed_data.NativeUint8List.new(1), (() => { + t67[$_set](0, byte); + return t67; + })())); + this[_length$] = dart.notNull(this[_length$]) + 1; + } + takeBytes() { + if (this[_length$] === 0) return _internal._CopyingBytesBuilder._emptyList; + if (this[_chunks][$length] === 1) { + let buffer = this[_chunks][$_get](0); + this[_clear](); + return buffer; + } + let buffer = _native_typed_data.NativeUint8List.new(this[_length$]); + let offset = 0; + for (let chunk of this[_chunks]) { + buffer[$setRange](offset, offset + dart.notNull(chunk[$length]), chunk); + offset = offset + dart.notNull(chunk[$length]); + } + this[_clear](); + return buffer; + } + toBytes() { + if (this[_length$] === 0) return _internal._CopyingBytesBuilder._emptyList; + let buffer = _native_typed_data.NativeUint8List.new(this[_length$]); + let offset = 0; + for (let chunk of this[_chunks]) { + buffer[$setRange](offset, offset + dart.notNull(chunk[$length]), chunk); + offset = offset + dart.notNull(chunk[$length]); + } + return buffer; + } + get length() { + return this[_length$]; + } + get isEmpty() { + return this[_length$] === 0; + } + get isNotEmpty() { + return this[_length$] !== 0; + } + clear() { + this[_clear](); + } + [_clear]() { + this[_length$] = 0; + this[_chunks][$clear](); + } +}; +(_internal._BytesBuilder.new = function() { + this[_length$] = 0; + this[_chunks] = T$.JSArrayOfUint8List().of([]); + ; +}).prototype = _internal._BytesBuilder.prototype; +dart.addTypeTests(_internal._BytesBuilder); +dart.addTypeCaches(_internal._BytesBuilder); +_internal._BytesBuilder[dart.implements] = () => [_internal.BytesBuilder]; +dart.setMethodSignature(_internal._BytesBuilder, () => ({ + __proto__: dart.getMethods(_internal._BytesBuilder.__proto__), + add: dart.fnType(dart.void, [core.List$(core.int)]), + addByte: dart.fnType(dart.void, [core.int]), + takeBytes: dart.fnType(typed_data.Uint8List, []), + toBytes: dart.fnType(typed_data.Uint8List, []), + clear: dart.fnType(dart.void, []), + [_clear]: dart.fnType(dart.void, []) +})); +dart.setGetterSignature(_internal._BytesBuilder, () => ({ + __proto__: dart.getGetters(_internal._BytesBuilder.__proto__), + length: core.int, + isEmpty: core.bool, + isNotEmpty: core.bool +})); +dart.setLibraryUri(_internal._BytesBuilder, I[25]); +dart.setFieldSignature(_internal._BytesBuilder, () => ({ + __proto__: dart.getFields(_internal._BytesBuilder.__proto__), + [_length$]: dart.fieldType(core.int), + [_chunks]: dart.finalFieldType(core.List$(typed_data.Uint8List)) +})); +core.Iterable$ = dart.generic(E => { + var IterableOfE = () => (IterableOfE = dart.constFn(core.Iterable$(E)))(); + var EfficientLengthIterableOfE = () => (EfficientLengthIterableOfE = dart.constFn(_internal.EfficientLengthIterable$(E)))(); + var FollowedByIterableOfE = () => (FollowedByIterableOfE = dart.constFn(_internal.FollowedByIterable$(E)))(); + var WhereIterableOfE = () => (WhereIterableOfE = dart.constFn(_internal.WhereIterable$(E)))(); + var EAndEToE = () => (EAndEToE = dart.constFn(dart.fnType(E, [E, E])))(); + var ListOfE = () => (ListOfE = dart.constFn(core.List$(E)))(); + var LinkedHashSetOfE = () => (LinkedHashSetOfE = dart.constFn(collection.LinkedHashSet$(E)))(); + var TakeIterableOfE = () => (TakeIterableOfE = dart.constFn(_internal.TakeIterable$(E)))(); + var TakeWhileIterableOfE = () => (TakeWhileIterableOfE = dart.constFn(_internal.TakeWhileIterable$(E)))(); + var SkipIterableOfE = () => (SkipIterableOfE = dart.constFn(_internal.SkipIterable$(E)))(); + var SkipWhileIterableOfE = () => (SkipWhileIterableOfE = dart.constFn(_internal.SkipWhileIterable$(E)))(); + var VoidToE = () => (VoidToE = dart.constFn(dart.fnType(E, [])))(); + var VoidToNE = () => (VoidToNE = dart.constFn(dart.nullable(VoidToE())))(); + var ETodynamic = () => (ETodynamic = dart.constFn(dart.fnType(dart.dynamic, [E])))(); + class Iterable extends core.Object { + static generate(count, generator = null) { + if (count == null) dart.nullFailed(I[34], 102, 33, "count"); + if (dart.notNull(count) <= 0) return new (_internal.EmptyIterable$(E)).new(); + return new (core._GeneratorIterable$(E)).new(count, generator); + } + static castFrom(S, T, source) { + if (source == null) dart.nullFailed(I[34], 119, 49, "source"); + return _internal.CastIterable$(S, T).new(source); + } + [Symbol.iterator]() { + return new dart.JsIterator(this[$iterator]); + } + cast(R) { + return core.Iterable.castFrom(E, R, this); + } + followedBy(other) { + IterableOfE().as(other); + if (other == null) dart.nullFailed(I[34], 165, 38, "other"); + let self = this; + if (EfficientLengthIterableOfE().is(self)) { + return FollowedByIterableOfE().firstEfficient(self, other); + } + return new (FollowedByIterableOfE()).new(this, other); + } + map(T, f) { + if (f == null) dart.nullFailed(I[34], 185, 24, "f"); + return _internal.MappedIterable$(E, T).new(this, f); + } + where(test) { + if (test == null) dart.nullFailed(I[34], 199, 26, "test"); + return new (WhereIterableOfE()).new(this, test); + } + whereType(T) { + return new (_internal.WhereTypeIterable$(T)).new(this); + } + expand(T, f) { + if (f == null) dart.nullFailed(I[34], 230, 37, "f"); + return new (_internal.ExpandIterable$(E, T)).new(this, f); + } + contains(element) { + for (let e of this) { + if (dart.equals(e, element)) return true; + } + return false; + } + forEach(f) { + if (f == null) dart.nullFailed(I[34], 256, 21, "f"); + for (let element of this) + f(element); + } + reduce(combine) { + EAndEToE().as(combine); + if (combine == null) dart.nullFailed(I[34], 280, 14, "combine"); + let iterator = this[$iterator]; + if (!dart.test(iterator.moveNext())) { + dart.throw(_internal.IterableElementError.noElement()); + } + let value = iterator.current; + while (dart.test(iterator.moveNext())) { + value = combine(value, iterator.current); + } + return value; + } + fold(T, initialValue, combine) { + if (combine == null) dart.nullFailed(I[34], 309, 31, "combine"); + let value = initialValue; + for (let element of this) + value = combine(value, element); + return value; + } + every(test) { + if (test == null) dart.nullFailed(I[34], 319, 19, "test"); + for (let element of this) { + if (!dart.test(test(element))) return false; + } + return true; + } + join(separator = "") { + if (separator == null) dart.nullFailed(I[34], 332, 23, "separator"); + let iterator = this[$iterator]; + if (!dart.test(iterator.moveNext())) return ""; + let buffer = new core.StringBuffer.new(); + if (separator == null || separator === "") { + do { + buffer.write(dart.toString(iterator.current)); + } while (dart.test(iterator.moveNext())); + } else { + buffer.write(dart.toString(iterator.current)); + while (dart.test(iterator.moveNext())) { + buffer.write(separator); + buffer.write(dart.toString(iterator.current)); + } + } + return buffer.toString(); + } + any(test) { + if (test == null) dart.nullFailed(I[34], 354, 17, "test"); + for (let element of this) { + if (dart.test(test(element))) return true; + } + return false; + } + toList(opts) { + let growable = opts && 'growable' in opts ? opts.growable : true; + if (growable == null) dart.nullFailed(I[34], 365, 24, "growable"); + return ListOfE().of(this, {growable: growable}); + } + toSet() { + return LinkedHashSetOfE().of(this); + } + get length() { + if (!!_internal.EfficientLengthIterable.is(this)) dart.assertFailed(null, I[34], 384, 12, "this is! EfficientLengthIterable"); + let count = 0; + let it = this[$iterator]; + while (dart.test(it.moveNext())) { + count = count + 1; + } + return count; + } + get isEmpty() { + return !dart.test(this[$iterator].moveNext()); + } + get isNotEmpty() { + return !dart.test(this[$isEmpty]); + } + take(count) { + if (count == null) dart.nullFailed(I[34], 412, 24, "count"); + return TakeIterableOfE().new(this, count); + } + takeWhile(test) { + if (test == null) dart.nullFailed(I[34], 424, 30, "test"); + return new (TakeWhileIterableOfE()).new(this, test); + } + skip(count) { + if (count == null) dart.nullFailed(I[34], 442, 24, "count"); + return SkipIterableOfE().new(this, count); + } + skipWhile(test) { + if (test == null) dart.nullFailed(I[34], 456, 30, "test"); + return new (SkipWhileIterableOfE()).new(this, test); + } + get first() { + let it = this[$iterator]; + if (!dart.test(it.moveNext())) { + dart.throw(_internal.IterableElementError.noElement()); + } + return it.current; + } + get last() { + let it = this[$iterator]; + if (!dart.test(it.moveNext())) { + dart.throw(_internal.IterableElementError.noElement()); + } + let result = null; + do { + result = it.current; + } while (dart.test(it.moveNext())); + return result; + } + get single() { + let it = this[$iterator]; + if (!dart.test(it.moveNext())) dart.throw(_internal.IterableElementError.noElement()); + let result = it.current; + if (dart.test(it.moveNext())) dart.throw(_internal.IterableElementError.tooMany()); + return result; + } + firstWhere(test, opts) { + if (test == null) dart.nullFailed(I[34], 511, 21, "test"); + let orElse = opts && 'orElse' in opts ? opts.orElse : null; + VoidToNE().as(orElse); + for (let element of this) { + if (dart.test(test(element))) return element; + } + if (orElse != null) return orElse(); + dart.throw(_internal.IterableElementError.noElement()); + } + lastWhere(test, opts) { + if (test == null) dart.nullFailed(I[34], 531, 20, "test"); + let orElse = opts && 'orElse' in opts ? opts.orElse : null; + VoidToNE().as(orElse); + let result = null; + let result$35isSet = false; + function result$35get() { + return result$35isSet ? result : dart.throw(new _internal.LateError.localNI("result")); + } + dart.fn(result$35get, VoidToE()); + function result$35set(t70) { + result$35isSet = true; + return result = t70; + } + dart.fn(result$35set, ETodynamic()); + let foundMatching = false; + for (let element of this) { + if (dart.test(test(element))) { + result$35set(element); + foundMatching = true; + } + } + if (foundMatching) return result$35get(); + if (orElse != null) return orElse(); + dart.throw(_internal.IterableElementError.noElement()); + } + singleWhere(test, opts) { + if (test == null) dart.nullFailed(I[34], 552, 22, "test"); + let orElse = opts && 'orElse' in opts ? opts.orElse : null; + VoidToNE().as(orElse); + let result = null; + let result$35isSet = false; + function result$35get() { + return result$35isSet ? result : dart.throw(new _internal.LateError.localNI("result")); + } + dart.fn(result$35get, VoidToE()); + function result$35set(t75) { + result$35isSet = true; + return result = t75; + } + dart.fn(result$35set, ETodynamic()); + let foundMatching = false; + for (let element of this) { + if (dart.test(test(element))) { + if (foundMatching) { + dart.throw(_internal.IterableElementError.tooMany()); + } + result$35set(element); + foundMatching = true; + } + } + if (foundMatching) return result$35get(); + if (orElse != null) return orElse(); + dart.throw(_internal.IterableElementError.noElement()); + } + elementAt(index) { + if (index == null) dart.nullFailed(I[34], 578, 19, "index"); + core.RangeError.checkNotNegative(index, "index"); + let elementIndex = 0; + for (let element of this) { + if (index === elementIndex) return element; + elementIndex = elementIndex + 1; + } + dart.throw(new core.IndexError.new(index, this, "index", null, elementIndex)); + } + toString() { + return collection.IterableBase.iterableToShortString(this, "(", ")"); + } + } + (Iterable.new = function() { + ; + }).prototype = Iterable.prototype; + dart.addTypeTests(Iterable); + Iterable.prototype[dart.isIterable] = true; + dart.addTypeCaches(Iterable); + dart.setMethodSignature(Iterable, () => ({ + __proto__: dart.getMethods(Iterable.__proto__), + cast: dart.gFnType(R => [core.Iterable$(R), []], R => [dart.nullable(core.Object)]), + [$cast]: dart.gFnType(R => [core.Iterable$(R), []], R => [dart.nullable(core.Object)]), + followedBy: dart.fnType(core.Iterable$(E), [dart.nullable(core.Object)]), + [$followedBy]: dart.fnType(core.Iterable$(E), [dart.nullable(core.Object)]), + map: dart.gFnType(T => [core.Iterable$(T), [dart.fnType(T, [E])]], T => [dart.nullable(core.Object)]), + [$map]: dart.gFnType(T => [core.Iterable$(T), [dart.fnType(T, [E])]], T => [dart.nullable(core.Object)]), + where: dart.fnType(core.Iterable$(E), [dart.fnType(core.bool, [E])]), + [$where]: dart.fnType(core.Iterable$(E), [dart.fnType(core.bool, [E])]), + whereType: dart.gFnType(T => [core.Iterable$(T), []], T => [dart.nullable(core.Object)]), + [$whereType]: dart.gFnType(T => [core.Iterable$(T), []], T => [dart.nullable(core.Object)]), + expand: dart.gFnType(T => [core.Iterable$(T), [dart.fnType(core.Iterable$(T), [E])]], T => [dart.nullable(core.Object)]), + [$expand]: dart.gFnType(T => [core.Iterable$(T), [dart.fnType(core.Iterable$(T), [E])]], T => [dart.nullable(core.Object)]), + contains: dart.fnType(core.bool, [dart.nullable(core.Object)]), + [$contains]: dart.fnType(core.bool, [dart.nullable(core.Object)]), + forEach: dart.fnType(dart.void, [dart.fnType(dart.void, [E])]), + [$forEach]: dart.fnType(dart.void, [dart.fnType(dart.void, [E])]), + reduce: dart.fnType(E, [dart.nullable(core.Object)]), + [$reduce]: dart.fnType(E, [dart.nullable(core.Object)]), + fold: dart.gFnType(T => [T, [T, dart.fnType(T, [T, E])]], T => [dart.nullable(core.Object)]), + [$fold]: dart.gFnType(T => [T, [T, dart.fnType(T, [T, E])]], T => [dart.nullable(core.Object)]), + every: dart.fnType(core.bool, [dart.fnType(core.bool, [E])]), + [$every]: dart.fnType(core.bool, [dart.fnType(core.bool, [E])]), + join: dart.fnType(core.String, [], [core.String]), + [$join]: dart.fnType(core.String, [], [core.String]), + any: dart.fnType(core.bool, [dart.fnType(core.bool, [E])]), + [$any]: dart.fnType(core.bool, [dart.fnType(core.bool, [E])]), + toList: dart.fnType(core.List$(E), [], {growable: core.bool}, {}), + [$toList]: dart.fnType(core.List$(E), [], {growable: core.bool}, {}), + toSet: dart.fnType(core.Set$(E), []), + [$toSet]: dart.fnType(core.Set$(E), []), + take: dart.fnType(core.Iterable$(E), [core.int]), + [$take]: dart.fnType(core.Iterable$(E), [core.int]), + takeWhile: dart.fnType(core.Iterable$(E), [dart.fnType(core.bool, [E])]), + [$takeWhile]: dart.fnType(core.Iterable$(E), [dart.fnType(core.bool, [E])]), + skip: dart.fnType(core.Iterable$(E), [core.int]), + [$skip]: dart.fnType(core.Iterable$(E), [core.int]), + skipWhile: dart.fnType(core.Iterable$(E), [dart.fnType(core.bool, [E])]), + [$skipWhile]: dart.fnType(core.Iterable$(E), [dart.fnType(core.bool, [E])]), + firstWhere: dart.fnType(E, [dart.fnType(core.bool, [E])], {orElse: dart.nullable(core.Object)}, {}), + [$firstWhere]: dart.fnType(E, [dart.fnType(core.bool, [E])], {orElse: dart.nullable(core.Object)}, {}), + lastWhere: dart.fnType(E, [dart.fnType(core.bool, [E])], {orElse: dart.nullable(core.Object)}, {}), + [$lastWhere]: dart.fnType(E, [dart.fnType(core.bool, [E])], {orElse: dart.nullable(core.Object)}, {}), + singleWhere: dart.fnType(E, [dart.fnType(core.bool, [E])], {orElse: dart.nullable(core.Object)}, {}), + [$singleWhere]: dart.fnType(E, [dart.fnType(core.bool, [E])], {orElse: dart.nullable(core.Object)}, {}), + elementAt: dart.fnType(E, [core.int]), + [$elementAt]: dart.fnType(E, [core.int]) + })); + dart.setGetterSignature(Iterable, () => ({ + __proto__: dart.getGetters(Iterable.__proto__), + length: core.int, + [$length]: core.int, + isEmpty: core.bool, + [$isEmpty]: core.bool, + isNotEmpty: core.bool, + [$isNotEmpty]: core.bool, + first: E, + [$first]: E, + last: E, + [$last]: E, + single: E, + [$single]: E + })); + dart.setLibraryUri(Iterable, I[8]); + dart.defineExtensionMethods(Iterable, [ + 'cast', + 'followedBy', + 'map', + 'where', + 'whereType', + 'expand', + 'contains', + 'forEach', + 'reduce', + 'fold', + 'every', + 'join', + 'any', + 'toList', + 'toSet', + 'take', + 'takeWhile', + 'skip', + 'skipWhile', + 'firstWhere', + 'lastWhere', + 'singleWhere', + 'elementAt', + 'toString' + ]); + dart.defineExtensionAccessors(Iterable, [ + 'length', + 'isEmpty', + 'isNotEmpty', + 'first', + 'last', + 'single' + ]); + return Iterable; +}); +core.Iterable = core.Iterable$(); +dart.addTypeTests(core.Iterable, dart.isIterable); +const _is__CastIterableBase_default = Symbol('_is__CastIterableBase_default'); +_internal._CastIterableBase$ = dart.generic((S, T) => { + var CastIteratorOfS$T = () => (CastIteratorOfS$T = dart.constFn(_internal.CastIterator$(S, T)))(); + var CastIterableOfS$T = () => (CastIterableOfS$T = dart.constFn(_internal.CastIterable$(S, T)))(); + var STobool = () => (STobool = dart.constFn(dart.fnType(core.bool, [S])))(); + var VoidToS = () => (VoidToS = dart.constFn(dart.fnType(S, [])))(); + var VoidToT = () => (VoidToT = dart.constFn(dart.fnType(T, [])))(); + var VoidToNT = () => (VoidToNT = dart.constFn(dart.nullable(VoidToT())))(); + class _CastIterableBase extends core.Iterable$(T) { + get iterator() { + return new (CastIteratorOfS$T()).new(this[_source$][$iterator]); + } + get length() { + return this[_source$][$length]; + } + get isEmpty() { + return this[_source$][$isEmpty]; + } + get isNotEmpty() { + return this[_source$][$isNotEmpty]; + } + skip(count) { + if (count == null) dart.nullFailed(I[33], 39, 24, "count"); + return CastIterableOfS$T().new(this[_source$][$skip](count)); + } + take(count) { + if (count == null) dart.nullFailed(I[33], 40, 24, "count"); + return CastIterableOfS$T().new(this[_source$][$take](count)); + } + elementAt(index) { + if (index == null) dart.nullFailed(I[33], 42, 19, "index"); + return T.as(this[_source$][$elementAt](index)); + } + get first() { + return T.as(this[_source$][$first]); + } + get last() { + return T.as(this[_source$][$last]); + } + get single() { + return T.as(this[_source$][$single]); + } + contains(other) { + return this[_source$][$contains](other); + } + lastWhere(test, opts) { + if (test == null) dart.nullFailed(I[33], 51, 20, "test"); + let orElse = opts && 'orElse' in opts ? opts.orElse : null; + VoidToNT().as(orElse); + return T.as(this[_source$][$lastWhere](dart.fn(element => test(T.as(element)), STobool()), {orElse: orElse == null ? null : dart.fn(() => S.as(orElse()), VoidToS())})); + } + toString() { + return dart.toString(this[_source$]); + } + } + (_CastIterableBase.new = function() { + _CastIterableBase.__proto__.new.call(this); + ; + }).prototype = _CastIterableBase.prototype; + dart.addTypeTests(_CastIterableBase); + _CastIterableBase.prototype[_is__CastIterableBase_default] = true; + dart.addTypeCaches(_CastIterableBase); + dart.setGetterSignature(_CastIterableBase, () => ({ + __proto__: dart.getGetters(_CastIterableBase.__proto__), + iterator: core.Iterator$(T), + [$iterator]: core.Iterator$(T) + })); + dart.setLibraryUri(_CastIterableBase, I[25]); + dart.defineExtensionMethods(_CastIterableBase, [ + 'skip', + 'take', + 'elementAt', + 'contains', + 'lastWhere', + 'toString' + ]); + dart.defineExtensionAccessors(_CastIterableBase, [ + 'iterator', + 'length', + 'isEmpty', + 'isNotEmpty', + 'first', + 'last', + 'single' + ]); + return _CastIterableBase; +}); +_internal._CastIterableBase = _internal._CastIterableBase$(); +dart.addTypeTests(_internal._CastIterableBase, _is__CastIterableBase_default); +const _is_CastIterator_default = Symbol('_is_CastIterator_default'); +_internal.CastIterator$ = dart.generic((S, T) => { + class CastIterator extends core.Object { + moveNext() { + return this[_source$].moveNext(); + } + get current() { + return T.as(this[_source$].current); + } + } + (CastIterator.new = function(_source) { + if (_source == null) dart.nullFailed(I[33], 60, 21, "_source"); + this[_source$] = _source; + ; + }).prototype = CastIterator.prototype; + dart.addTypeTests(CastIterator); + CastIterator.prototype[_is_CastIterator_default] = true; + dart.addTypeCaches(CastIterator); + CastIterator[dart.implements] = () => [core.Iterator$(T)]; + dart.setMethodSignature(CastIterator, () => ({ + __proto__: dart.getMethods(CastIterator.__proto__), + moveNext: dart.fnType(core.bool, []) + })); + dart.setGetterSignature(CastIterator, () => ({ + __proto__: dart.getGetters(CastIterator.__proto__), + current: T + })); + dart.setLibraryUri(CastIterator, I[25]); + dart.setFieldSignature(CastIterator, () => ({ + __proto__: dart.getFields(CastIterator.__proto__), + [_source$]: dart.fieldType(core.Iterator$(S)) + })); + return CastIterator; +}); +_internal.CastIterator = _internal.CastIterator$(); +dart.addTypeTests(_internal.CastIterator, _is_CastIterator_default); +var _source$0 = dart.privateName(_internal, "CastIterable._source"); +const _is_CastIterable_default = Symbol('_is_CastIterable_default'); +_internal.CastIterable$ = dart.generic((S, T) => { + class CastIterable extends _internal._CastIterableBase$(S, T) { + get [_source$]() { + return this[_source$0]; + } + set [_source$](value) { + super[_source$] = value; + } + static new(source) { + if (source == null) dart.nullFailed(I[33], 70, 36, "source"); + if (_internal.EfficientLengthIterable$(S).is(source)) { + return new (_internal._EfficientLengthCastIterable$(S, T)).new(source); + } + return new (_internal.CastIterable$(S, T)).__(source); + } + cast(R) { + return _internal.CastIterable$(S, R).new(this[_source$]); + } + } + (CastIterable.__ = function(_source) { + if (_source == null) dart.nullFailed(I[33], 68, 23, "_source"); + this[_source$0] = _source; + CastIterable.__proto__.new.call(this); + ; + }).prototype = CastIterable.prototype; + dart.addTypeTests(CastIterable); + CastIterable.prototype[_is_CastIterable_default] = true; + dart.addTypeCaches(CastIterable); + dart.setMethodSignature(CastIterable, () => ({ + __proto__: dart.getMethods(CastIterable.__proto__), + cast: dart.gFnType(R => [core.Iterable$(R), []], R => [dart.nullable(core.Object)]), + [$cast]: dart.gFnType(R => [core.Iterable$(R), []], R => [dart.nullable(core.Object)]) + })); + dart.setLibraryUri(CastIterable, I[25]); + dart.setFieldSignature(CastIterable, () => ({ + __proto__: dart.getFields(CastIterable.__proto__), + [_source$]: dart.finalFieldType(core.Iterable$(S)) + })); + dart.defineExtensionMethods(CastIterable, ['cast']); + return CastIterable; +}); +_internal.CastIterable = _internal.CastIterable$(); +dart.addTypeTests(_internal.CastIterable, _is_CastIterable_default); +const _is__EfficientLengthCastIterable_default = Symbol('_is__EfficientLengthCastIterable_default'); +_internal._EfficientLengthCastIterable$ = dart.generic((S, T) => { + class _EfficientLengthCastIterable extends _internal.CastIterable$(S, T) {} + (_EfficientLengthCastIterable.new = function(source) { + if (source == null) dart.nullFailed(I[33], 82, 59, "source"); + _EfficientLengthCastIterable.__proto__.__.call(this, source); + ; + }).prototype = _EfficientLengthCastIterable.prototype; + dart.addTypeTests(_EfficientLengthCastIterable); + _EfficientLengthCastIterable.prototype[_is__EfficientLengthCastIterable_default] = true; + dart.addTypeCaches(_EfficientLengthCastIterable); + _EfficientLengthCastIterable[dart.implements] = () => [_internal.EfficientLengthIterable$(T)]; + dart.setLibraryUri(_EfficientLengthCastIterable, I[25]); + return _EfficientLengthCastIterable; +}); +_internal._EfficientLengthCastIterable = _internal._EfficientLengthCastIterable$(); +dart.addTypeTests(_internal._EfficientLengthCastIterable, _is__EfficientLengthCastIterable_default); +const _is__CastListBase_default = Symbol('_is__CastListBase_default'); +_internal._CastListBase$ = dart.generic((S, T) => { + var CastIterableOfT$S = () => (CastIterableOfT$S = dart.constFn(_internal.CastIterable$(T, S)))(); + var SAndSToint = () => (SAndSToint = dart.constFn(dart.fnType(core.int, [S, S])))(); + var STobool = () => (STobool = dart.constFn(dart.fnType(core.bool, [S])))(); + var CastIterableOfS$T = () => (CastIterableOfS$T = dart.constFn(_internal.CastIterable$(S, T)))(); + var IterableOfT = () => (IterableOfT = dart.constFn(core.Iterable$(T)))(); + var TN = () => (TN = dart.constFn(dart.nullable(T)))(); + const _CastIterableBase_ListMixin$36 = class _CastIterableBase_ListMixin extends _internal._CastIterableBase$(S, T) {}; + (_CastIterableBase_ListMixin$36.new = function() { + _CastIterableBase_ListMixin$36.__proto__.new.call(this); + }).prototype = _CastIterableBase_ListMixin$36.prototype; + dart.applyMixin(_CastIterableBase_ListMixin$36, collection.ListMixin$(T)); + class _CastListBase extends _CastIterableBase_ListMixin$36 { + _get(index) { + if (index == null) dart.nullFailed(I[33], 99, 21, "index"); + return T.as(this[_source$][$_get](index)); + } + _set(index, value$) { + let value = value$; + if (index == null) dart.nullFailed(I[33], 101, 25, "index"); + T.as(value); + this[_source$][$_set](index, S.as(value)); + return value$; + } + set length(length) { + if (length == null) dart.nullFailed(I[33], 105, 23, "length"); + this[_source$][$length] = length; + } + get length() { + return super.length; + } + add(value) { + T.as(value); + this[_source$][$add](S.as(value)); + } + addAll(values) { + IterableOfT().as(values); + if (values == null) dart.nullFailed(I[33], 113, 27, "values"); + this[_source$][$addAll](CastIterableOfT$S().new(values)); + } + sort(compare = null) { + this[_source$][$sort](compare == null ? null : dart.fn((v1, v2) => compare(T.as(v1), T.as(v2)), SAndSToint())); + } + shuffle(random = null) { + this[_source$][$shuffle](random); + } + insert(index, element) { + if (index == null) dart.nullFailed(I[33], 126, 19, "index"); + T.as(element); + this[_source$][$insert](index, S.as(element)); + } + insertAll(index, elements) { + if (index == null) dart.nullFailed(I[33], 130, 22, "index"); + IterableOfT().as(elements); + if (elements == null) dart.nullFailed(I[33], 130, 41, "elements"); + this[_source$][$insertAll](index, CastIterableOfT$S().new(elements)); + } + setAll(index, elements) { + if (index == null) dart.nullFailed(I[33], 134, 19, "index"); + IterableOfT().as(elements); + if (elements == null) dart.nullFailed(I[33], 134, 38, "elements"); + this[_source$][$setAll](index, CastIterableOfT$S().new(elements)); + } + remove(value) { + return this[_source$][$remove](value); + } + removeAt(index) { + if (index == null) dart.nullFailed(I[33], 140, 18, "index"); + return T.as(this[_source$][$removeAt](index)); + } + removeLast() { + return T.as(this[_source$][$removeLast]()); + } + removeWhere(test) { + if (test == null) dart.nullFailed(I[33], 144, 25, "test"); + this[_source$][$removeWhere](dart.fn(element => test(T.as(element)), STobool())); + } + retainWhere(test) { + if (test == null) dart.nullFailed(I[33], 148, 25, "test"); + this[_source$][$retainWhere](dart.fn(element => test(T.as(element)), STobool())); + } + getRange(start, end) { + if (start == null) dart.nullFailed(I[33], 152, 28, "start"); + if (end == null) dart.nullFailed(I[33], 152, 39, "end"); + return CastIterableOfS$T().new(this[_source$][$getRange](start, end)); + } + setRange(start, end, iterable, skipCount = 0) { + if (start == null) dart.nullFailed(I[33], 155, 21, "start"); + if (end == null) dart.nullFailed(I[33], 155, 32, "end"); + IterableOfT().as(iterable); + if (iterable == null) dart.nullFailed(I[33], 155, 49, "iterable"); + if (skipCount == null) dart.nullFailed(I[33], 155, 64, "skipCount"); + this[_source$][$setRange](start, end, CastIterableOfT$S().new(iterable), skipCount); + } + removeRange(start, end) { + if (start == null) dart.nullFailed(I[33], 159, 24, "start"); + if (end == null) dart.nullFailed(I[33], 159, 35, "end"); + this[_source$][$removeRange](start, end); + } + fillRange(start, end, fillValue = null) { + if (start == null) dart.nullFailed(I[33], 163, 22, "start"); + if (end == null) dart.nullFailed(I[33], 163, 33, "end"); + TN().as(fillValue); + this[_source$][$fillRange](start, end, S.as(fillValue)); + } + replaceRange(start, end, replacement) { + if (start == null) dart.nullFailed(I[33], 167, 25, "start"); + if (end == null) dart.nullFailed(I[33], 167, 36, "end"); + IterableOfT().as(replacement); + if (replacement == null) dart.nullFailed(I[33], 167, 53, "replacement"); + this[_source$][$replaceRange](start, end, CastIterableOfT$S().new(replacement)); + } + } + (_CastListBase.new = function() { + _CastListBase.__proto__.new.call(this); + ; + }).prototype = _CastListBase.prototype; + dart.addTypeTests(_CastListBase); + _CastListBase.prototype[_is__CastListBase_default] = true; + dart.addTypeCaches(_CastListBase); + dart.setMethodSignature(_CastListBase, () => ({ + __proto__: dart.getMethods(_CastListBase.__proto__), + _get: dart.fnType(T, [core.int]), + [$_get]: dart.fnType(T, [core.int]), + _set: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), + [$_set]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]) + })); + dart.setSetterSignature(_CastListBase, () => ({ + __proto__: dart.getSetters(_CastListBase.__proto__), + length: core.int, + [$length]: core.int + })); + dart.setLibraryUri(_CastListBase, I[25]); + dart.defineExtensionMethods(_CastListBase, [ + '_get', + '_set', + 'add', + 'addAll', + 'sort', + 'shuffle', + 'insert', + 'insertAll', + 'setAll', + 'remove', + 'removeAt', + 'removeLast', + 'removeWhere', + 'retainWhere', + 'getRange', + 'setRange', + 'removeRange', + 'fillRange', + 'replaceRange' + ]); + dart.defineExtensionAccessors(_CastListBase, ['length']); + return _CastListBase; +}); +_internal._CastListBase = _internal._CastListBase$(); +dart.addTypeTests(_internal._CastListBase, _is__CastListBase_default); +var _source$1 = dart.privateName(_internal, "CastList._source"); +const _is_CastList_default = Symbol('_is_CastList_default'); +_internal.CastList$ = dart.generic((S, T) => { + class CastList extends _internal._CastListBase$(S, T) { + get [_source$]() { + return this[_source$1]; + } + set [_source$](value) { + super[_source$] = value; + } + cast(R) { + return new (_internal.CastList$(S, R)).new(this[_source$]); + } + } + (CastList.new = function(_source) { + if (_source == null) dart.nullFailed(I[33], 174, 17, "_source"); + this[_source$1] = _source; + CastList.__proto__.new.call(this); + ; + }).prototype = CastList.prototype; + dart.addTypeTests(CastList); + CastList.prototype[_is_CastList_default] = true; + dart.addTypeCaches(CastList); + dart.setMethodSignature(CastList, () => ({ + __proto__: dart.getMethods(CastList.__proto__), + cast: dart.gFnType(R => [core.List$(R), []], R => [dart.nullable(core.Object)]), + [$cast]: dart.gFnType(R => [core.List$(R), []], R => [dart.nullable(core.Object)]) + })); + dart.setLibraryUri(CastList, I[25]); + dart.setFieldSignature(CastList, () => ({ + __proto__: dart.getFields(CastList.__proto__), + [_source$]: dart.finalFieldType(core.List$(S)) + })); + dart.defineExtensionMethods(CastList, ['cast']); + return CastList; +}); +_internal.CastList = _internal.CastList$(); +dart.addTypeTests(_internal.CastList, _is_CastList_default); +var _source$2 = dart.privateName(_internal, "CastSet._source"); +var _emptySet$ = dart.privateName(_internal, "_emptySet"); +var _conditionalAdd = dart.privateName(_internal, "_conditionalAdd"); +var _clone = dart.privateName(_internal, "_clone"); +const _is_CastSet_default = Symbol('_is_CastSet_default'); +_internal.CastSet$ = dart.generic((S, T) => { + var CastIterableOfT$S = () => (CastIterableOfT$S = dart.constFn(_internal.CastIterable$(T, S)))(); + var STobool = () => (STobool = dart.constFn(dart.fnType(core.bool, [S])))(); + var CastSetOfS$T = () => (CastSetOfS$T = dart.constFn(_internal.CastSet$(S, T)))(); + var IterableOfT = () => (IterableOfT = dart.constFn(core.Iterable$(T)))(); + var _HashSetOfT = () => (_HashSetOfT = dart.constFn(collection._HashSet$(T)))(); + var SetOfT = () => (SetOfT = dart.constFn(core.Set$(T)))(); + class CastSet extends _internal._CastIterableBase$(S, T) { + get [_source$]() { + return this[_source$2]; + } + set [_source$](value) { + super[_source$] = value; + } + static _defaultEmptySet(R) { + return new (collection._HashSet$(R)).new(); + } + cast(R) { + return new (_internal.CastSet$(S, R)).new(this[_source$], this[_emptySet$]); + } + add(value) { + T.as(value); + return this[_source$].add(S.as(value)); + } + addAll(elements) { + IterableOfT().as(elements); + if (elements == null) dart.nullFailed(I[33], 194, 27, "elements"); + this[_source$].addAll(CastIterableOfT$S().new(elements)); + } + remove(object) { + return this[_source$].remove(object); + } + removeAll(objects) { + if (objects == null) dart.nullFailed(I[33], 200, 36, "objects"); + this[_source$].removeAll(objects); + } + retainAll(objects) { + if (objects == null) dart.nullFailed(I[33], 204, 36, "objects"); + this[_source$].retainAll(objects); + } + removeWhere(test) { + if (test == null) dart.nullFailed(I[33], 208, 25, "test"); + this[_source$].removeWhere(dart.fn(element => test(T.as(element)), STobool())); + } + retainWhere(test) { + if (test == null) dart.nullFailed(I[33], 212, 25, "test"); + this[_source$].retainWhere(dart.fn(element => test(T.as(element)), STobool())); + } + containsAll(objects) { + if (objects == null) dart.nullFailed(I[33], 216, 38, "objects"); + return this[_source$].containsAll(objects); + } + intersection(other) { + if (other == null) dart.nullFailed(I[33], 218, 36, "other"); + if (this[_emptySet$] != null) return this[_conditionalAdd](other, true); + return new (CastSetOfS$T()).new(this[_source$].intersection(other), null); + } + difference(other) { + if (other == null) dart.nullFailed(I[33], 223, 34, "other"); + if (this[_emptySet$] != null) return this[_conditionalAdd](other, false); + return new (CastSetOfS$T()).new(this[_source$].difference(other), null); + } + [_conditionalAdd](other, otherContains) { + if (other == null) dart.nullFailed(I[33], 228, 39, "other"); + if (otherContains == null) dart.nullFailed(I[33], 228, 51, "otherContains"); + let emptySet = this[_emptySet$]; + let result = emptySet == null ? new (_HashSetOfT()).new() : emptySet(T); + for (let element of this[_source$]) { + let castElement = T.as(element); + if (otherContains == other.contains(castElement)) result.add(castElement); + } + return result; + } + union(other) { + let t77; + SetOfT().as(other); + if (other == null) dart.nullFailed(I[33], 238, 23, "other"); + t77 = this[_clone](); + return (() => { + t77.addAll(other); + return t77; + })(); + } + clear() { + this[_source$].clear(); + } + [_clone]() { + let emptySet = this[_emptySet$]; + let result = emptySet == null ? new (_HashSetOfT()).new() : emptySet(T); + result.addAll(this); + return result; + } + toSet() { + return this[_clone](); + } + lookup(key) { + return T.as(this[_source$].lookup(key)); + } + } + (CastSet.new = function(_source, _emptySet) { + if (_source == null) dart.nullFailed(I[33], 187, 16, "_source"); + this[_source$2] = _source; + this[_emptySet$] = _emptySet; + CastSet.__proto__.new.call(this); + ; + }).prototype = CastSet.prototype; + dart.addTypeTests(CastSet); + CastSet.prototype[_is_CastSet_default] = true; + dart.addTypeCaches(CastSet); + CastSet[dart.implements] = () => [core.Set$(T)]; + dart.setMethodSignature(CastSet, () => ({ + __proto__: dart.getMethods(CastSet.__proto__), + cast: dart.gFnType(R => [core.Set$(R), []], R => [dart.nullable(core.Object)]), + [$cast]: dart.gFnType(R => [core.Set$(R), []], R => [dart.nullable(core.Object)]), + add: dart.fnType(core.bool, [dart.nullable(core.Object)]), + addAll: dart.fnType(dart.void, [dart.nullable(core.Object)]), + remove: dart.fnType(core.bool, [dart.nullable(core.Object)]), + removeAll: dart.fnType(dart.void, [core.Iterable$(dart.nullable(core.Object))]), + retainAll: dart.fnType(dart.void, [core.Iterable$(dart.nullable(core.Object))]), + removeWhere: dart.fnType(dart.void, [dart.fnType(core.bool, [T])]), + retainWhere: dart.fnType(dart.void, [dart.fnType(core.bool, [T])]), + containsAll: dart.fnType(core.bool, [core.Iterable$(dart.nullable(core.Object))]), + intersection: dart.fnType(core.Set$(T), [core.Set$(dart.nullable(core.Object))]), + difference: dart.fnType(core.Set$(T), [core.Set$(dart.nullable(core.Object))]), + [_conditionalAdd]: dart.fnType(core.Set$(T), [core.Set$(dart.nullable(core.Object)), core.bool]), + union: dart.fnType(core.Set$(T), [dart.nullable(core.Object)]), + clear: dart.fnType(dart.void, []), + [_clone]: dart.fnType(core.Set$(T), []), + lookup: dart.fnType(T, [dart.nullable(core.Object)]) + })); + dart.setLibraryUri(CastSet, I[25]); + dart.setFieldSignature(CastSet, () => ({ + __proto__: dart.getFields(CastSet.__proto__), + [_source$]: dart.finalFieldType(core.Set$(S)), + [_emptySet$]: dart.finalFieldType(dart.nullable(dart.gFnType(R => [core.Set$(R), []], R => [dart.nullable(core.Object)]))) + })); + dart.defineExtensionMethods(CastSet, ['cast', 'toSet']); + return CastSet; +}); +_internal.CastSet = _internal.CastSet$(); +dart.addTypeTests(_internal.CastSet, _is_CastSet_default); +const _is_MapMixin_default = Symbol('_is_MapMixin_default'); +collection.MapMixin$ = dart.generic((K, V) => { + var MapOfK$V = () => (MapOfK$V = dart.constFn(core.Map$(K, V)))(); + var KAndVToV = () => (KAndVToV = dart.constFn(dart.fnType(V, [K, V])))(); + var MapEntryOfK$V = () => (MapEntryOfK$V = dart.constFn(core.MapEntry$(K, V)))(); + var KToMapEntryOfK$V = () => (KToMapEntryOfK$V = dart.constFn(dart.fnType(MapEntryOfK$V(), [K])))(); + var IterableOfMapEntryOfK$V = () => (IterableOfMapEntryOfK$V = dart.constFn(core.Iterable$(MapEntryOfK$V())))(); + var JSArrayOfK = () => (JSArrayOfK = dart.constFn(_interceptors.JSArray$(K)))(); + var _MapBaseValueIterableOfK$V = () => (_MapBaseValueIterableOfK$V = dart.constFn(collection._MapBaseValueIterable$(K, V)))(); + var VoidToV = () => (VoidToV = dart.constFn(dart.fnType(V, [])))(); + var VToV = () => (VToV = dart.constFn(dart.fnType(V, [V])))(); + var VoidToNV = () => (VoidToNV = dart.constFn(dart.nullable(VoidToV())))(); + class MapMixin extends core.Object { + cast(RK, RV) { + return core.Map.castFrom(K, V, RK, RV, this); + } + forEach(action) { + if (action == null) dart.nullFailed(I[35], 121, 21, "action"); + for (let key of this[$keys]) { + action(key, V.as(this[$_get](key))); + } + } + addAll(other) { + MapOfK$V().as(other); + if (other == null) dart.nullFailed(I[35], 127, 25, "other"); + for (let key of other[$keys]) { + this[$_set](key, V.as(other[$_get](key))); + } + } + containsValue(value) { + for (let key of this[$keys]) { + if (dart.equals(this[$_get](key), value)) return true; + } + return false; + } + putIfAbsent(key, ifAbsent) { + let t78, t77; + K.as(key); + VoidToV().as(ifAbsent); + if (ifAbsent == null) dart.nullFailed(I[35], 140, 26, "ifAbsent"); + if (dart.test(this[$containsKey](key))) { + return V.as(this[$_get](key)); + } + t77 = key; + t78 = ifAbsent(); + this[$_set](t77, t78); + return t78; + } + update(key, update, opts) { + let t78, t77, t78$, t77$; + K.as(key); + VToV().as(update); + if (update == null) dart.nullFailed(I[35], 147, 21, "update"); + let ifAbsent = opts && 'ifAbsent' in opts ? opts.ifAbsent : null; + VoidToNV().as(ifAbsent); + if (dart.test(this[$containsKey](key))) { + t77 = key; + t78 = update(V.as(this[$_get](key))); + this[$_set](t77, t78); + return t78; + } + if (ifAbsent != null) { + t77$ = key; + t78$ = ifAbsent(); + this[$_set](t77$, t78$); + return t78$; + } + dart.throw(new core.ArgumentError.value(key, "key", "Key not in map.")); + } + updateAll(update) { + KAndVToV().as(update); + if (update == null) dart.nullFailed(I[35], 157, 20, "update"); + for (let key of this[$keys]) { + this[$_set](key, update(key, V.as(this[$_get](key)))); + } + } + get entries() { + return this[$keys][$map](MapEntryOfK$V(), dart.fn(key => new (MapEntryOfK$V()).__(key, V.as(this[$_get](key))), KToMapEntryOfK$V())); + } + map(K2, V2, transform) { + if (transform == null) dart.nullFailed(I[35], 167, 44, "transform"); + let result = new (_js_helper.LinkedMap$(K2, V2)).new(); + for (let key of this[$keys]) { + let entry = transform(key, V.as(this[$_get](key))); + result[$_set](entry.key, entry.value); + } + return result; + } + addEntries(newEntries) { + IterableOfMapEntryOfK$V().as(newEntries); + if (newEntries == null) dart.nullFailed(I[35], 176, 44, "newEntries"); + for (let entry of newEntries) { + this[$_set](entry.key, entry.value); + } + } + removeWhere(test) { + if (test == null) dart.nullFailed(I[35], 182, 25, "test"); + let keysToRemove = JSArrayOfK().of([]); + for (let key of this[$keys]) { + if (dart.test(test(key, V.as(this[$_get](key))))) keysToRemove[$add](key); + } + for (let key of keysToRemove) { + this[$remove](key); + } + } + containsKey(key) { + return this[$keys][$contains](key); + } + get length() { + return this[$keys][$length]; + } + get isEmpty() { + return this[$keys][$isEmpty]; + } + get isNotEmpty() { + return this[$keys][$isNotEmpty]; + } + get values() { + return new (_MapBaseValueIterableOfK$V()).new(this); + } + toString() { + return collection.MapBase.mapToString(this); + } + } + (MapMixin.new = function() { + ; + }).prototype = MapMixin.prototype; + MapMixin.prototype[dart.isMap] = true; + dart.addTypeTests(MapMixin); + MapMixin.prototype[_is_MapMixin_default] = true; + dart.addTypeCaches(MapMixin); + MapMixin[dart.implements] = () => [core.Map$(K, V)]; + dart.setMethodSignature(MapMixin, () => ({ + __proto__: dart.getMethods(MapMixin.__proto__), + cast: dart.gFnType((RK, RV) => [core.Map$(RK, RV), []], (RK, RV) => [dart.nullable(core.Object), dart.nullable(core.Object)]), + [$cast]: dart.gFnType((RK, RV) => [core.Map$(RK, RV), []], (RK, RV) => [dart.nullable(core.Object), dart.nullable(core.Object)]), + forEach: dart.fnType(dart.void, [dart.fnType(dart.void, [K, V])]), + [$forEach]: dart.fnType(dart.void, [dart.fnType(dart.void, [K, V])]), + addAll: dart.fnType(dart.void, [dart.nullable(core.Object)]), + [$addAll]: dart.fnType(dart.void, [dart.nullable(core.Object)]), + containsValue: dart.fnType(core.bool, [dart.nullable(core.Object)]), + [$containsValue]: dart.fnType(core.bool, [dart.nullable(core.Object)]), + putIfAbsent: dart.fnType(V, [dart.nullable(core.Object), dart.nullable(core.Object)]), + [$putIfAbsent]: dart.fnType(V, [dart.nullable(core.Object), dart.nullable(core.Object)]), + update: dart.fnType(V, [dart.nullable(core.Object), dart.nullable(core.Object)], {ifAbsent: dart.nullable(core.Object)}, {}), + [$update]: dart.fnType(V, [dart.nullable(core.Object), dart.nullable(core.Object)], {ifAbsent: dart.nullable(core.Object)}, {}), + updateAll: dart.fnType(dart.void, [dart.nullable(core.Object)]), + [$updateAll]: dart.fnType(dart.void, [dart.nullable(core.Object)]), + map: dart.gFnType((K2, V2) => [core.Map$(K2, V2), [dart.fnType(core.MapEntry$(K2, V2), [K, V])]], (K2, V2) => [dart.nullable(core.Object), dart.nullable(core.Object)]), + [$map]: dart.gFnType((K2, V2) => [core.Map$(K2, V2), [dart.fnType(core.MapEntry$(K2, V2), [K, V])]], (K2, V2) => [dart.nullable(core.Object), dart.nullable(core.Object)]), + addEntries: dart.fnType(dart.void, [dart.nullable(core.Object)]), + [$addEntries]: dart.fnType(dart.void, [dart.nullable(core.Object)]), + removeWhere: dart.fnType(dart.void, [dart.fnType(core.bool, [K, V])]), + [$removeWhere]: dart.fnType(dart.void, [dart.fnType(core.bool, [K, V])]), + containsKey: dart.fnType(core.bool, [dart.nullable(core.Object)]), + [$containsKey]: dart.fnType(core.bool, [dart.nullable(core.Object)]) + })); + dart.setGetterSignature(MapMixin, () => ({ + __proto__: dart.getGetters(MapMixin.__proto__), + entries: core.Iterable$(core.MapEntry$(K, V)), + [$entries]: core.Iterable$(core.MapEntry$(K, V)), + length: core.int, + [$length]: core.int, + isEmpty: core.bool, + [$isEmpty]: core.bool, + isNotEmpty: core.bool, + [$isNotEmpty]: core.bool, + values: core.Iterable$(V), + [$values]: core.Iterable$(V) + })); + dart.setLibraryUri(MapMixin, I[24]); + dart.defineExtensionMethods(MapMixin, [ + 'cast', + 'forEach', + 'addAll', + 'containsValue', + 'putIfAbsent', + 'update', + 'updateAll', + 'map', + 'addEntries', + 'removeWhere', + 'containsKey', + 'toString' + ]); + dart.defineExtensionAccessors(MapMixin, [ + 'entries', + 'length', + 'isEmpty', + 'isNotEmpty', + 'values' + ]); + return MapMixin; +}); +collection.MapMixin = collection.MapMixin$(); +dart.addTypeTests(collection.MapMixin, _is_MapMixin_default); +const _is_MapBase_default = Symbol('_is_MapBase_default'); +collection.MapBase$ = dart.generic((K, V) => { + class MapBase extends collection.MapMixin$(K, V) { + static mapToString(m) { + if (m == null) dart.nullFailed(I[35], 22, 51, "m"); + if (dart.test(collection._isToStringVisiting(m))) { + return "{...}"; + } + let result = new core.StringBuffer.new(); + try { + collection._toStringVisiting[$add](m); + result.write("{"); + let first = true; + m[$forEach](dart.fn((k, v) => { + if (!first) { + result.write(", "); + } + first = false; + result.write(k); + result.write(": "); + result.write(v); + }, T$.ObjectNAndObjectNTovoid())); + result.write("}"); + } finally { + if (!core.identical(collection._toStringVisiting[$last], m)) dart.assertFailed(null, I[35], 44, 14, "identical(_toStringVisiting.last, m)"); + collection._toStringVisiting[$removeLast](); + } + return result.toString(); + } + static _id(x) { + return x; + } + static _fillMapWithMappedIterable(map, iterable, key, value) { + if (map == null) dart.nullFailed(I[35], 58, 29, "map"); + if (iterable == null) dart.nullFailed(I[35], 59, 25, "iterable"); + key == null ? key = C[19] || CT.C19 : null; + value == null ? value = C[19] || CT.C19 : null; + if (key == null) dart.throw("!"); + if (value == null) dart.throw("!"); + for (let element of iterable) { + map[$_set](key(element), value(element)); + } + } + static _fillMapWithIterables(map, keys, values) { + if (map == null) dart.nullFailed(I[35], 77, 59, "map"); + if (keys == null) dart.nullFailed(I[35], 78, 25, "keys"); + if (values == null) dart.nullFailed(I[35], 78, 49, "values"); + let keyIterator = keys[$iterator]; + let valueIterator = values[$iterator]; + let hasNextKey = keyIterator.moveNext(); + let hasNextValue = valueIterator.moveNext(); + while (dart.test(hasNextKey) && dart.test(hasNextValue)) { + map[$_set](keyIterator.current, valueIterator.current); + hasNextKey = keyIterator.moveNext(); + hasNextValue = valueIterator.moveNext(); + } + if (dart.test(hasNextKey) || dart.test(hasNextValue)) { + dart.throw(new core.ArgumentError.new("Iterables do not have same length.")); + } + } + } + (MapBase.new = function() { + ; + }).prototype = MapBase.prototype; + dart.addTypeTests(MapBase); + MapBase.prototype[_is_MapBase_default] = true; + dart.addTypeCaches(MapBase); + dart.setLibraryUri(MapBase, I[24]); + return MapBase; +}); +collection.MapBase = collection.MapBase$(); +dart.addTypeTests(collection.MapBase, _is_MapBase_default); +const _is_CastMap_default = Symbol('_is_CastMap_default'); +_internal.CastMap$ = dart.generic((SK, SV, K, V) => { + var CastMapOfK$V$SK$SV = () => (CastMapOfK$V$SK$SV = dart.constFn(_internal.CastMap$(K, V, SK, SV)))(); + var SKAndSVTovoid = () => (SKAndSVTovoid = dart.constFn(dart.fnType(dart.void, [SK, SV])))(); + var CastIterableOfSK$K = () => (CastIterableOfSK$K = dart.constFn(_internal.CastIterable$(SK, K)))(); + var SKAndSVToSV = () => (SKAndSVToSV = dart.constFn(dart.fnType(SV, [SK, SV])))(); + var MapEntryOfSK$SV = () => (MapEntryOfSK$SV = dart.constFn(core.MapEntry$(SK, SV)))(); + var MapEntryOfSK$SVToMapEntryOfK$V = () => (MapEntryOfSK$SVToMapEntryOfK$V = dart.constFn(dart.fnType(MapEntryOfK$V(), [MapEntryOfSK$SV()])))(); + var SKAndSVTobool = () => (SKAndSVTobool = dart.constFn(dart.fnType(core.bool, [SK, SV])))(); + var VoidToSV = () => (VoidToSV = dart.constFn(dart.fnType(SV, [])))(); + var CastIterableOfSV$V = () => (CastIterableOfSV$V = dart.constFn(_internal.CastIterable$(SV, V)))(); + var SVToSV = () => (SVToSV = dart.constFn(dart.fnType(SV, [SV])))(); + var MapOfK$V = () => (MapOfK$V = dart.constFn(core.Map$(K, V)))(); + var KAndVToV = () => (KAndVToV = dart.constFn(dart.fnType(V, [K, V])))(); + var MapEntryOfK$V = () => (MapEntryOfK$V = dart.constFn(core.MapEntry$(K, V)))(); + var IterableOfMapEntryOfK$V = () => (IterableOfMapEntryOfK$V = dart.constFn(core.Iterable$(MapEntryOfK$V())))(); + var VN = () => (VN = dart.constFn(dart.nullable(V)))(); + var VoidToV = () => (VoidToV = dart.constFn(dart.fnType(V, [])))(); + var VToV = () => (VToV = dart.constFn(dart.fnType(V, [V])))(); + var VoidToNV = () => (VoidToNV = dart.constFn(dart.nullable(VoidToV())))(); + class CastMap extends collection.MapBase$(K, V) { + cast(RK, RV) { + return new (_internal.CastMap$(SK, SV, RK, RV)).new(this[_source$]); + } + containsValue(value) { + return this[_source$][$containsValue](value); + } + containsKey(key) { + return this[_source$][$containsKey](key); + } + _get(key) { + return VN().as(this[_source$][$_get](key)); + } + _set(key, value$) { + let value = value$; + K.as(key); + V.as(value); + this[_source$][$_set](SK.as(key), SV.as(value)); + return value$; + } + putIfAbsent(key, ifAbsent) { + K.as(key); + VoidToV().as(ifAbsent); + if (ifAbsent == null) dart.nullFailed(I[33], 273, 37, "ifAbsent"); + return V.as(this[_source$][$putIfAbsent](SK.as(key), dart.fn(() => SV.as(ifAbsent()), VoidToSV()))); + } + addAll(other) { + MapOfK$V().as(other); + if (other == null) dart.nullFailed(I[33], 276, 25, "other"); + this[_source$][$addAll](new (CastMapOfK$V$SK$SV()).new(other)); + } + remove(key) { + return VN().as(this[_source$][$remove](key)); + } + clear() { + this[_source$][$clear](); + } + forEach(f) { + if (f == null) dart.nullFailed(I[33], 286, 21, "f"); + this[_source$][$forEach](dart.fn((key, value) => { + f(K.as(key), V.as(value)); + }, SKAndSVTovoid())); + } + get keys() { + return CastIterableOfSK$K().new(this[_source$][$keys]); + } + get values() { + return CastIterableOfSV$V().new(this[_source$][$values]); + } + get length() { + return this[_source$][$length]; + } + get isEmpty() { + return this[_source$][$isEmpty]; + } + get isNotEmpty() { + return this[_source$][$isNotEmpty]; + } + update(key, update, opts) { + K.as(key); + VToV().as(update); + if (update == null) dart.nullFailed(I[33], 302, 21, "update"); + let ifAbsent = opts && 'ifAbsent' in opts ? opts.ifAbsent : null; + VoidToNV().as(ifAbsent); + return V.as(this[_source$][$update](SK.as(key), dart.fn(value => SV.as(update(V.as(value))), SVToSV()), {ifAbsent: ifAbsent == null ? null : dart.fn(() => SV.as(ifAbsent()), VoidToSV())})); + } + updateAll(update) { + KAndVToV().as(update); + if (update == null) dart.nullFailed(I[33], 307, 20, "update"); + this[_source$][$updateAll](dart.fn((key, value) => SV.as(update(K.as(key), V.as(value))), SKAndSVToSV())); + } + get entries() { + return this[_source$][$entries][$map](MapEntryOfK$V(), dart.fn(e => { + if (e == null) dart.nullFailed(I[33], 313, 27, "e"); + return new (MapEntryOfK$V()).__(K.as(e.key), V.as(e.value)); + }, MapEntryOfSK$SVToMapEntryOfK$V())); + } + addEntries(entries) { + IterableOfMapEntryOfK$V().as(entries); + if (entries == null) dart.nullFailed(I[33], 316, 44, "entries"); + for (let entry of entries) { + this[_source$][$_set](SK.as(entry.key), SV.as(entry.value)); + } + } + removeWhere(test) { + if (test == null) dart.nullFailed(I[33], 322, 25, "test"); + this[_source$][$removeWhere](dart.fn((key, value) => test(K.as(key), V.as(value)), SKAndSVTobool())); + } + } + (CastMap.new = function(_source) { + if (_source == null) dart.nullFailed(I[33], 259, 16, "_source"); + this[_source$] = _source; + ; + }).prototype = CastMap.prototype; + dart.addTypeTests(CastMap); + CastMap.prototype[_is_CastMap_default] = true; + dart.addTypeCaches(CastMap); + dart.setMethodSignature(CastMap, () => ({ + __proto__: dart.getMethods(CastMap.__proto__), + cast: dart.gFnType((RK, RV) => [core.Map$(RK, RV), []], (RK, RV) => [dart.nullable(core.Object), dart.nullable(core.Object)]), + [$cast]: dart.gFnType((RK, RV) => [core.Map$(RK, RV), []], (RK, RV) => [dart.nullable(core.Object), dart.nullable(core.Object)]), + _get: dart.fnType(dart.nullable(V), [dart.nullable(core.Object)]), + [$_get]: dart.fnType(dart.nullable(V), [dart.nullable(core.Object)]), + _set: dart.fnType(dart.void, [dart.nullable(core.Object), dart.nullable(core.Object)]), + [$_set]: dart.fnType(dart.void, [dart.nullable(core.Object), dart.nullable(core.Object)]), + remove: dart.fnType(dart.nullable(V), [dart.nullable(core.Object)]), + [$remove]: dart.fnType(dart.nullable(V), [dart.nullable(core.Object)]), + clear: dart.fnType(dart.void, []), + [$clear]: dart.fnType(dart.void, []) + })); + dart.setGetterSignature(CastMap, () => ({ + __proto__: dart.getGetters(CastMap.__proto__), + keys: core.Iterable$(K), + [$keys]: core.Iterable$(K) + })); + dart.setLibraryUri(CastMap, I[25]); + dart.setFieldSignature(CastMap, () => ({ + __proto__: dart.getFields(CastMap.__proto__), + [_source$]: dart.finalFieldType(core.Map$(SK, SV)) + })); + dart.defineExtensionMethods(CastMap, [ + 'cast', + 'containsValue', + 'containsKey', + '_get', + '_set', + 'putIfAbsent', + 'addAll', + 'remove', + 'clear', + 'forEach', + 'update', + 'updateAll', + 'addEntries', + 'removeWhere' + ]); + dart.defineExtensionAccessors(CastMap, [ + 'keys', + 'values', + 'length', + 'isEmpty', + 'isNotEmpty', + 'entries' + ]); + return CastMap; +}); +_internal.CastMap = _internal.CastMap$(); +dart.addTypeTests(_internal.CastMap, _is_CastMap_default); +var _source$3 = dart.privateName(_internal, "CastQueue._source"); +const _is_CastQueue_default = Symbol('_is_CastQueue_default'); +_internal.CastQueue$ = dart.generic((S, T) => { + var CastIterableOfT$S = () => (CastIterableOfT$S = dart.constFn(_internal.CastIterable$(T, S)))(); + var STobool = () => (STobool = dart.constFn(dart.fnType(core.bool, [S])))(); + var IterableOfT = () => (IterableOfT = dart.constFn(core.Iterable$(T)))(); + class CastQueue extends _internal._CastIterableBase$(S, T) { + get [_source$]() { + return this[_source$3]; + } + set [_source$](value) { + super[_source$] = value; + } + cast(R) { + return new (_internal.CastQueue$(S, R)).new(this[_source$]); + } + removeFirst() { + return T.as(this[_source$].removeFirst()); + } + removeLast() { + return T.as(this[_source$].removeLast()); + } + add(value) { + T.as(value); + this[_source$].add(S.as(value)); + } + addFirst(value) { + T.as(value); + this[_source$].addFirst(S.as(value)); + } + addLast(value) { + T.as(value); + this[_source$].addLast(S.as(value)); + } + remove(other) { + return this[_source$].remove(other); + } + addAll(elements) { + IterableOfT().as(elements); + if (elements == null) dart.nullFailed(I[33], 348, 27, "elements"); + this[_source$].addAll(CastIterableOfT$S().new(elements)); + } + removeWhere(test) { + if (test == null) dart.nullFailed(I[33], 352, 25, "test"); + this[_source$].removeWhere(dart.fn(element => test(T.as(element)), STobool())); + } + retainWhere(test) { + if (test == null) dart.nullFailed(I[33], 356, 25, "test"); + this[_source$].retainWhere(dart.fn(element => test(T.as(element)), STobool())); + } + clear() { + this[_source$].clear(); + } + } + (CastQueue.new = function(_source) { + if (_source == null) dart.nullFailed(I[33], 329, 18, "_source"); + this[_source$3] = _source; + CastQueue.__proto__.new.call(this); + ; + }).prototype = CastQueue.prototype; + dart.addTypeTests(CastQueue); + CastQueue.prototype[_is_CastQueue_default] = true; + dart.addTypeCaches(CastQueue); + CastQueue[dart.implements] = () => [collection.Queue$(T)]; + dart.setMethodSignature(CastQueue, () => ({ + __proto__: dart.getMethods(CastQueue.__proto__), + cast: dart.gFnType(R => [collection.Queue$(R), []], R => [dart.nullable(core.Object)]), + [$cast]: dart.gFnType(R => [collection.Queue$(R), []], R => [dart.nullable(core.Object)]), + removeFirst: dart.fnType(T, []), + removeLast: dart.fnType(T, []), + add: dart.fnType(dart.void, [dart.nullable(core.Object)]), + addFirst: dart.fnType(dart.void, [dart.nullable(core.Object)]), + addLast: dart.fnType(dart.void, [dart.nullable(core.Object)]), + remove: dart.fnType(core.bool, [dart.nullable(core.Object)]), + addAll: dart.fnType(dart.void, [dart.nullable(core.Object)]), + removeWhere: dart.fnType(dart.void, [dart.fnType(core.bool, [T])]), + retainWhere: dart.fnType(dart.void, [dart.fnType(core.bool, [T])]), + clear: dart.fnType(dart.void, []) + })); + dart.setLibraryUri(CastQueue, I[25]); + dart.setFieldSignature(CastQueue, () => ({ + __proto__: dart.getFields(CastQueue.__proto__), + [_source$]: dart.finalFieldType(collection.Queue$(S)) + })); + dart.defineExtensionMethods(CastQueue, ['cast']); + return CastQueue; +}); +_internal.CastQueue = _internal.CastQueue$(); +dart.addTypeTests(_internal.CastQueue, _is_CastQueue_default); +var _message$ = dart.privateName(_internal, "_message"); +_internal.LateError = class LateError extends core.Error { + toString() { + let message = this[_message$]; + return message != null ? "LateInitializationError: " + dart.str(message) : "LateInitializationError"; + } +}; +(_internal.LateError.new = function(_message = null) { + this[_message$] = _message; + _internal.LateError.__proto__.new.call(this); + ; +}).prototype = _internal.LateError.prototype; +(_internal.LateError.fieldADI = function(fieldName) { + if (fieldName == null) dart.nullFailed(I[36], 16, 29, "fieldName"); + this[_message$] = "Field '" + dart.str(fieldName) + "' has been assigned during initialization."; + _internal.LateError.__proto__.new.call(this); + ; +}).prototype = _internal.LateError.prototype; +(_internal.LateError.localADI = function(localName) { + if (localName == null) dart.nullFailed(I[36], 20, 29, "localName"); + this[_message$] = "Local '" + dart.str(localName) + "' has been assigned during initialization."; + _internal.LateError.__proto__.new.call(this); + ; +}).prototype = _internal.LateError.prototype; +(_internal.LateError.fieldNI = function(fieldName) { + if (fieldName == null) dart.nullFailed(I[36], 25, 28, "fieldName"); + this[_message$] = "Field '" + dart.str(fieldName) + "' has not been initialized."; + _internal.LateError.__proto__.new.call(this); + ; +}).prototype = _internal.LateError.prototype; +(_internal.LateError.localNI = function(localName) { + if (localName == null) dart.nullFailed(I[36], 28, 28, "localName"); + this[_message$] = "Local '" + dart.str(localName) + "' has not been initialized."; + _internal.LateError.__proto__.new.call(this); + ; +}).prototype = _internal.LateError.prototype; +(_internal.LateError.fieldAI = function(fieldName) { + if (fieldName == null) dart.nullFailed(I[36], 31, 28, "fieldName"); + this[_message$] = "Field '" + dart.str(fieldName) + "' has already been initialized."; + _internal.LateError.__proto__.new.call(this); + ; +}).prototype = _internal.LateError.prototype; +(_internal.LateError.localAI = function(localName) { + if (localName == null) dart.nullFailed(I[36], 34, 28, "localName"); + this[_message$] = "Local '" + dart.str(localName) + "' has already been initialized."; + _internal.LateError.__proto__.new.call(this); + ; +}).prototype = _internal.LateError.prototype; +dart.addTypeTests(_internal.LateError); +dart.addTypeCaches(_internal.LateError); +dart.setLibraryUri(_internal.LateError, I[25]); +dart.setFieldSignature(_internal.LateError, () => ({ + __proto__: dart.getFields(_internal.LateError.__proto__), + [_message$]: dart.finalFieldType(dart.nullable(core.String)) +})); +dart.defineExtensionMethods(_internal.LateError, ['toString']); +_internal.ReachabilityError = class ReachabilityError extends core.Error { + toString() { + let message = this[_message$]; + return message != null ? "ReachabilityError: " + dart.str(message) : "ReachabilityError"; + } +}; +(_internal.ReachabilityError.new = function(_message = null) { + this[_message$] = _message; + _internal.ReachabilityError.__proto__.new.call(this); + ; +}).prototype = _internal.ReachabilityError.prototype; +dart.addTypeTests(_internal.ReachabilityError); +dart.addTypeCaches(_internal.ReachabilityError); +dart.setLibraryUri(_internal.ReachabilityError, I[25]); +dart.setFieldSignature(_internal.ReachabilityError, () => ({ + __proto__: dart.getFields(_internal.ReachabilityError.__proto__), + [_message$]: dart.finalFieldType(dart.nullable(core.String)) +})); +dart.defineExtensionMethods(_internal.ReachabilityError, ['toString']); +const _is_EfficientLengthIterable_default = Symbol('_is_EfficientLengthIterable_default'); +_internal.EfficientLengthIterable$ = dart.generic(T => { + class EfficientLengthIterable extends core.Iterable$(T) {} + (EfficientLengthIterable.new = function() { + EfficientLengthIterable.__proto__.new.call(this); + ; + }).prototype = EfficientLengthIterable.prototype; + dart.addTypeTests(EfficientLengthIterable); + EfficientLengthIterable.prototype[_is_EfficientLengthIterable_default] = true; + dart.addTypeCaches(EfficientLengthIterable); + dart.setLibraryUri(EfficientLengthIterable, I[25]); + return EfficientLengthIterable; +}); +_internal.EfficientLengthIterable = _internal.EfficientLengthIterable$(); +dart.addTypeTests(_internal.EfficientLengthIterable, _is_EfficientLengthIterable_default); +const _is_ListIterable_default = Symbol('_is_ListIterable_default'); +_internal.ListIterable$ = dart.generic(E => { + var ListIteratorOfE = () => (ListIteratorOfE = dart.constFn(_internal.ListIterator$(E)))(); + var VoidToE = () => (VoidToE = dart.constFn(dart.fnType(E, [])))(); + var VoidToNE = () => (VoidToNE = dart.constFn(dart.nullable(VoidToE())))(); + var ETodynamic = () => (ETodynamic = dart.constFn(dart.fnType(dart.dynamic, [E])))(); + var EAndEToE = () => (EAndEToE = dart.constFn(dart.fnType(E, [E, E])))(); + var SubListIterableOfE = () => (SubListIterableOfE = dart.constFn(_internal.SubListIterable$(E)))(); + var ListOfE = () => (ListOfE = dart.constFn(core.List$(E)))(); + var _HashSetOfE = () => (_HashSetOfE = dart.constFn(collection._HashSet$(E)))(); + class ListIterable extends _internal.EfficientLengthIterable$(E) { + get iterator() { + return new (ListIteratorOfE()).new(this); + } + forEach(action) { + if (action == null) dart.nullFailed(I[37], 36, 21, "action"); + let length = this.length; + for (let i = 0; i < dart.notNull(length); i = i + 1) { + action(this.elementAt(i)); + if (length != this.length) { + dart.throw(new core.ConcurrentModificationError.new(this)); + } + } + } + get isEmpty() { + return this.length === 0; + } + get first() { + if (this.length === 0) dart.throw(_internal.IterableElementError.noElement()); + return this.elementAt(0); + } + get last() { + if (this.length === 0) dart.throw(_internal.IterableElementError.noElement()); + return this.elementAt(dart.notNull(this.length) - 1); + } + get single() { + if (this.length === 0) dart.throw(_internal.IterableElementError.noElement()); + if (dart.notNull(this.length) > 1) dart.throw(_internal.IterableElementError.tooMany()); + return this.elementAt(0); + } + contains(element) { + let length = this.length; + for (let i = 0; i < dart.notNull(length); i = i + 1) { + if (dart.equals(this.elementAt(i), element)) return true; + if (length != this.length) { + dart.throw(new core.ConcurrentModificationError.new(this)); + } + } + return false; + } + every(test) { + if (test == null) dart.nullFailed(I[37], 75, 19, "test"); + let length = this.length; + for (let i = 0; i < dart.notNull(length); i = i + 1) { + if (!dart.test(test(this.elementAt(i)))) return false; + if (length != this.length) { + dart.throw(new core.ConcurrentModificationError.new(this)); + } + } + return true; + } + any(test) { + if (test == null) dart.nullFailed(I[37], 86, 17, "test"); + let length = this.length; + for (let i = 0; i < dart.notNull(length); i = i + 1) { + if (dart.test(test(this.elementAt(i)))) return true; + if (length != this.length) { + dart.throw(new core.ConcurrentModificationError.new(this)); + } + } + return false; + } + firstWhere(test, opts) { + if (test == null) dart.nullFailed(I[37], 97, 21, "test"); + let orElse = opts && 'orElse' in opts ? opts.orElse : null; + VoidToNE().as(orElse); + let length = this.length; + for (let i = 0; i < dart.notNull(length); i = i + 1) { + let element = this.elementAt(i); + if (dart.test(test(element))) return element; + if (length != this.length) { + dart.throw(new core.ConcurrentModificationError.new(this)); + } + } + if (orElse != null) return orElse(); + dart.throw(_internal.IterableElementError.noElement()); + } + lastWhere(test, opts) { + if (test == null) dart.nullFailed(I[37], 110, 20, "test"); + let orElse = opts && 'orElse' in opts ? opts.orElse : null; + VoidToNE().as(orElse); + let length = this.length; + for (let i = dart.notNull(length) - 1; i >= 0; i = i - 1) { + let element = this.elementAt(i); + if (dart.test(test(element))) return element; + if (length != this.length) { + dart.throw(new core.ConcurrentModificationError.new(this)); + } + } + if (orElse != null) return orElse(); + dart.throw(_internal.IterableElementError.noElement()); + } + singleWhere(test, opts) { + if (test == null) dart.nullFailed(I[37], 123, 22, "test"); + let orElse = opts && 'orElse' in opts ? opts.orElse : null; + VoidToNE().as(orElse); + let length = this.length; + let match = null; + let match$35isSet = false; + function match$35get() { + return match$35isSet ? match : dart.throw(new _internal.LateError.localNI("match")); + } + dart.fn(match$35get, VoidToE()); + function match$35set(t80) { + match$35isSet = true; + return match = t80; + } + dart.fn(match$35set, ETodynamic()); + let matchFound = false; + for (let i = 0; i < dart.notNull(length); i = i + 1) { + let element = this.elementAt(i); + if (dart.test(test(element))) { + if (matchFound) { + dart.throw(_internal.IterableElementError.tooMany()); + } + matchFound = true; + match$35set(element); + } + if (length != this.length) { + dart.throw(new core.ConcurrentModificationError.new(this)); + } + } + if (matchFound) return match$35get(); + if (orElse != null) return orElse(); + dart.throw(_internal.IterableElementError.noElement()); + } + join(separator = "") { + if (separator == null) dart.nullFailed(I[37], 145, 23, "separator"); + let length = this.length; + if (!separator[$isEmpty]) { + if (length === 0) return ""; + let first = dart.str(this.elementAt(0)); + if (length != this.length) { + dart.throw(new core.ConcurrentModificationError.new(this)); + } + let buffer = new core.StringBuffer.new(first); + for (let i = 1; i < dart.notNull(length); i = i + 1) { + buffer.write(separator); + buffer.write(this.elementAt(i)); + if (length != this.length) { + dart.throw(new core.ConcurrentModificationError.new(this)); + } + } + return buffer.toString(); + } else { + let buffer = new core.StringBuffer.new(); + for (let i = 0; i < dart.notNull(length); i = i + 1) { + buffer.write(this.elementAt(i)); + if (length != this.length) { + dart.throw(new core.ConcurrentModificationError.new(this)); + } + } + return buffer.toString(); + } + } + where(test) { + if (test == null) dart.nullFailed(I[37], 174, 26, "test"); + return super[$where](test); + } + map(T, f) { + if (f == null) dart.nullFailed(I[37], 176, 24, "f"); + return new (_internal.MappedListIterable$(E, T)).new(this, f); + } + reduce(combine) { + EAndEToE().as(combine); + if (combine == null) dart.nullFailed(I[37], 178, 14, "combine"); + let length = this.length; + if (length === 0) dart.throw(_internal.IterableElementError.noElement()); + let value = this.elementAt(0); + for (let i = 1; i < dart.notNull(length); i = i + 1) { + value = combine(value, this.elementAt(i)); + if (length != this.length) { + dart.throw(new core.ConcurrentModificationError.new(this)); + } + } + return value; + } + fold(T, initialValue, combine) { + if (combine == null) dart.nullFailed(I[37], 191, 31, "combine"); + let value = initialValue; + let length = this.length; + for (let i = 0; i < dart.notNull(length); i = i + 1) { + value = combine(value, this.elementAt(i)); + if (length != this.length) { + dart.throw(new core.ConcurrentModificationError.new(this)); + } + } + return value; + } + skip(count) { + if (count == null) dart.nullFailed(I[37], 203, 24, "count"); + return new (SubListIterableOfE()).new(this, count, null); + } + skipWhile(test) { + if (test == null) dart.nullFailed(I[37], 205, 30, "test"); + return super[$skipWhile](test); + } + take(count) { + if (count == null) dart.nullFailed(I[37], 207, 24, "count"); + return new (SubListIterableOfE()).new(this, 0, _internal.checkNotNullable(core.int, count, "count")); + } + takeWhile(test) { + if (test == null) dart.nullFailed(I[37], 210, 30, "test"); + return super[$takeWhile](test); + } + toList(opts) { + let growable = opts && 'growable' in opts ? opts.growable : true; + if (growable == null) dart.nullFailed(I[37], 212, 24, "growable"); + return ListOfE().of(this, {growable: growable}); + } + toSet() { + let result = new (_HashSetOfE()).new(); + for (let i = 0; i < dart.notNull(this.length); i = i + 1) { + result.add(this.elementAt(i)); + } + return result; + } + } + (ListIterable.new = function() { + ListIterable.__proto__.new.call(this); + ; + }).prototype = ListIterable.prototype; + dart.addTypeTests(ListIterable); + ListIterable.prototype[_is_ListIterable_default] = true; + dart.addTypeCaches(ListIterable); + dart.setMethodSignature(ListIterable, () => ({ + __proto__: dart.getMethods(ListIterable.__proto__), + map: dart.gFnType(T => [core.Iterable$(T), [dart.fnType(T, [E])]], T => [dart.nullable(core.Object)]), + [$map]: dart.gFnType(T => [core.Iterable$(T), [dart.fnType(T, [E])]], T => [dart.nullable(core.Object)]), + fold: dart.gFnType(T => [T, [T, dart.fnType(T, [T, E])]], T => [dart.nullable(core.Object)]), + [$fold]: dart.gFnType(T => [T, [T, dart.fnType(T, [T, E])]], T => [dart.nullable(core.Object)]) + })); + dart.setGetterSignature(ListIterable, () => ({ + __proto__: dart.getGetters(ListIterable.__proto__), + iterator: core.Iterator$(E), + [$iterator]: core.Iterator$(E) + })); + dart.setLibraryUri(ListIterable, I[25]); + dart.defineExtensionMethods(ListIterable, [ + 'forEach', + 'contains', + 'every', + 'any', + 'firstWhere', + 'lastWhere', + 'singleWhere', + 'join', + 'where', + 'map', + 'reduce', + 'fold', + 'skip', + 'skipWhile', + 'take', + 'takeWhile', + 'toList', + 'toSet' + ]); + dart.defineExtensionAccessors(ListIterable, [ + 'iterator', + 'isEmpty', + 'first', + 'last', + 'single' + ]); + return ListIterable; +}); +_internal.ListIterable = _internal.ListIterable$(); +dart.addTypeTests(_internal.ListIterable, _is_ListIterable_default); +var _iterable$ = dart.privateName(_internal, "_iterable"); +var _start$ = dart.privateName(_internal, "_start"); +var _endOrLength$ = dart.privateName(_internal, "_endOrLength"); +var _endIndex = dart.privateName(_internal, "_endIndex"); +var _startIndex = dart.privateName(_internal, "_startIndex"); +const _is_SubListIterable_default = Symbol('_is_SubListIterable_default'); +_internal.SubListIterable$ = dart.generic(E => { + var EmptyIterableOfE = () => (EmptyIterableOfE = dart.constFn(_internal.EmptyIterable$(E)))(); + var SubListIterableOfE = () => (SubListIterableOfE = dart.constFn(_internal.SubListIterable$(E)))(); + var ListOfE = () => (ListOfE = dart.constFn(core.List$(E)))(); + class SubListIterable extends _internal.ListIterable$(E) { + get [_endIndex]() { + let length = this[_iterable$][$length]; + let endOrLength = this[_endOrLength$]; + if (endOrLength == null || dart.notNull(endOrLength) > dart.notNull(length)) return length; + return endOrLength; + } + get [_startIndex]() { + let length = this[_iterable$][$length]; + if (dart.notNull(this[_start$]) > dart.notNull(length)) return length; + return this[_start$]; + } + get length() { + let length = this[_iterable$][$length]; + if (dart.notNull(this[_start$]) >= dart.notNull(length)) return 0; + let endOrLength = this[_endOrLength$]; + if (endOrLength == null || dart.notNull(endOrLength) >= dart.notNull(length)) { + return dart.notNull(length) - dart.notNull(this[_start$]); + } + return dart.notNull(endOrLength) - dart.notNull(this[_start$]); + } + elementAt(index) { + if (index == null) dart.nullFailed(I[37], 263, 19, "index"); + let realIndex = dart.notNull(this[_startIndex]) + dart.notNull(index); + if (dart.notNull(index) < 0 || realIndex >= dart.notNull(this[_endIndex])) { + dart.throw(new core.IndexError.new(index, this, "index")); + } + return this[_iterable$][$elementAt](realIndex); + } + skip(count) { + if (count == null) dart.nullFailed(I[37], 271, 24, "count"); + core.RangeError.checkNotNegative(count, "count"); + let newStart = dart.notNull(this[_start$]) + dart.notNull(count); + let endOrLength = this[_endOrLength$]; + if (endOrLength != null && newStart >= dart.notNull(endOrLength)) { + return new (EmptyIterableOfE()).new(); + } + return new (SubListIterableOfE()).new(this[_iterable$], newStart, this[_endOrLength$]); + } + take(count) { + if (count == null) dart.nullFailed(I[37], 281, 24, "count"); + core.RangeError.checkNotNegative(count, "count"); + let endOrLength = this[_endOrLength$]; + if (endOrLength == null) { + return new (SubListIterableOfE()).new(this[_iterable$], this[_start$], dart.notNull(this[_start$]) + dart.notNull(count)); + } else { + let newEnd = dart.notNull(this[_start$]) + dart.notNull(count); + if (dart.notNull(endOrLength) < newEnd) return this; + return new (SubListIterableOfE()).new(this[_iterable$], this[_start$], newEnd); + } + } + toList(opts) { + let growable = opts && 'growable' in opts ? opts.growable : true; + if (growable == null) dart.nullFailed(I[37], 293, 24, "growable"); + let start = this[_start$]; + let end = this[_iterable$][$length]; + let endOrLength = this[_endOrLength$]; + if (endOrLength != null && dart.notNull(endOrLength) < dart.notNull(end)) end = endOrLength; + let length = dart.notNull(end) - dart.notNull(start); + if (length <= 0) return ListOfE().empty({growable: growable}); + let result = ListOfE().filled(length, this[_iterable$][$elementAt](start), {growable: growable}); + for (let i = 1; i < length; i = i + 1) { + result[$_set](i, this[_iterable$][$elementAt](dart.notNull(start) + i)); + if (dart.notNull(this[_iterable$][$length]) < dart.notNull(end)) dart.throw(new core.ConcurrentModificationError.new(this)); + } + return result; + } + } + (SubListIterable.new = function(_iterable, _start, _endOrLength) { + if (_iterable == null) dart.nullFailed(I[37], 229, 24, "_iterable"); + if (_start == null) dart.nullFailed(I[37], 229, 40, "_start"); + this[_iterable$] = _iterable; + this[_start$] = _start; + this[_endOrLength$] = _endOrLength; + SubListIterable.__proto__.new.call(this); + core.RangeError.checkNotNegative(this[_start$], "start"); + let endOrLength = this[_endOrLength$]; + if (endOrLength != null) { + core.RangeError.checkNotNegative(endOrLength, "end"); + if (dart.notNull(this[_start$]) > dart.notNull(endOrLength)) { + dart.throw(new core.RangeError.range(this[_start$], 0, endOrLength, "start")); + } + } + }).prototype = SubListIterable.prototype; + dart.addTypeTests(SubListIterable); + SubListIterable.prototype[_is_SubListIterable_default] = true; + dart.addTypeCaches(SubListIterable); + dart.setGetterSignature(SubListIterable, () => ({ + __proto__: dart.getGetters(SubListIterable.__proto__), + [_endIndex]: core.int, + [_startIndex]: core.int + })); + dart.setLibraryUri(SubListIterable, I[25]); + dart.setFieldSignature(SubListIterable, () => ({ + __proto__: dart.getFields(SubListIterable.__proto__), + [_iterable$]: dart.finalFieldType(core.Iterable$(E)), + [_start$]: dart.finalFieldType(core.int), + [_endOrLength$]: dart.finalFieldType(dart.nullable(core.int)) + })); + dart.defineExtensionMethods(SubListIterable, ['elementAt', 'skip', 'take', 'toList']); + dart.defineExtensionAccessors(SubListIterable, ['length']); + return SubListIterable; +}); +_internal.SubListIterable = _internal.SubListIterable$(); +dart.addTypeTests(_internal.SubListIterable, _is_SubListIterable_default); +var _current$ = dart.privateName(_internal, "_current"); +var _index$ = dart.privateName(_internal, "_index"); +const _is_ListIterator_default = Symbol('_is_ListIterator_default'); +_internal.ListIterator$ = dart.generic(E => { + class ListIterator extends core.Object { + get current() { + return E.as(this[_current$]); + } + moveNext() { + let length = this[_iterable$][$length]; + if (this[_length$] != length) { + dart.throw(new core.ConcurrentModificationError.new(this[_iterable$])); + } + if (dart.notNull(this[_index$]) >= dart.notNull(length)) { + this[_current$] = null; + return false; + } + this[_current$] = this[_iterable$][$elementAt](this[_index$]); + this[_index$] = dart.notNull(this[_index$]) + 1; + return true; + } + } + (ListIterator.new = function(iterable) { + if (iterable == null) dart.nullFailed(I[37], 324, 28, "iterable"); + this[_current$] = null; + this[_iterable$] = iterable; + this[_length$] = iterable[$length]; + this[_index$] = 0; + ; + }).prototype = ListIterator.prototype; + dart.addTypeTests(ListIterator); + ListIterator.prototype[_is_ListIterator_default] = true; + dart.addTypeCaches(ListIterator); + ListIterator[dart.implements] = () => [core.Iterator$(E)]; + dart.setMethodSignature(ListIterator, () => ({ + __proto__: dart.getMethods(ListIterator.__proto__), + moveNext: dart.fnType(core.bool, []) + })); + dart.setGetterSignature(ListIterator, () => ({ + __proto__: dart.getGetters(ListIterator.__proto__), + current: E + })); + dart.setLibraryUri(ListIterator, I[25]); + dart.setFieldSignature(ListIterator, () => ({ + __proto__: dart.getFields(ListIterator.__proto__), + [_iterable$]: dart.finalFieldType(core.Iterable$(E)), + [_length$]: dart.finalFieldType(core.int), + [_index$]: dart.fieldType(core.int), + [_current$]: dart.fieldType(dart.nullable(E)) + })); + return ListIterator; +}); +_internal.ListIterator = _internal.ListIterator$(); +dart.addTypeTests(_internal.ListIterator, _is_ListIterator_default); +var _f$ = dart.privateName(_internal, "_f"); +const _is_MappedIterable_default = Symbol('_is_MappedIterable_default'); +_internal.MappedIterable$ = dart.generic((S, T) => { + var MappedIteratorOfS$T = () => (MappedIteratorOfS$T = dart.constFn(_internal.MappedIterator$(S, T)))(); + class MappedIterable extends core.Iterable$(T) { + static new(iterable, $function) { + if (iterable == null) dart.nullFailed(I[37], 353, 38, "iterable"); + if ($function == null) dart.nullFailed(I[37], 353, 50, "function"); + if (_internal.EfficientLengthIterable.is(iterable)) { + return new (_internal.EfficientLengthMappedIterable$(S, T)).new(iterable, $function); + } + return new (_internal.MappedIterable$(S, T)).__(iterable, $function); + } + get iterator() { + return new (MappedIteratorOfS$T()).new(this[_iterable$][$iterator], this[_f$]); + } + get length() { + return this[_iterable$][$length]; + } + get isEmpty() { + return this[_iterable$][$isEmpty]; + } + get first() { + let t82; + t82 = this[_iterable$][$first]; + return this[_f$](t82); + } + get last() { + let t82; + t82 = this[_iterable$][$last]; + return this[_f$](t82); + } + get single() { + let t82; + t82 = this[_iterable$][$single]; + return this[_f$](t82); + } + elementAt(index) { + let t82; + if (index == null) dart.nullFailed(I[37], 372, 19, "index"); + t82 = this[_iterable$][$elementAt](index); + return this[_f$](t82); + } + } + (MappedIterable.__ = function(_iterable, _f) { + if (_iterable == null) dart.nullFailed(I[37], 360, 25, "_iterable"); + if (_f == null) dart.nullFailed(I[37], 360, 41, "_f"); + this[_iterable$] = _iterable; + this[_f$] = _f; + MappedIterable.__proto__.new.call(this); + ; + }).prototype = MappedIterable.prototype; + dart.addTypeTests(MappedIterable); + MappedIterable.prototype[_is_MappedIterable_default] = true; + dart.addTypeCaches(MappedIterable); + dart.setGetterSignature(MappedIterable, () => ({ + __proto__: dart.getGetters(MappedIterable.__proto__), + iterator: core.Iterator$(T), + [$iterator]: core.Iterator$(T) + })); + dart.setLibraryUri(MappedIterable, I[25]); + dart.setFieldSignature(MappedIterable, () => ({ + __proto__: dart.getFields(MappedIterable.__proto__), + [_iterable$]: dart.finalFieldType(core.Iterable$(S)), + [_f$]: dart.finalFieldType(dart.fnType(T, [S])) + })); + dart.defineExtensionMethods(MappedIterable, ['elementAt']); + dart.defineExtensionAccessors(MappedIterable, [ + 'iterator', + 'length', + 'isEmpty', + 'first', + 'last', + 'single' + ]); + return MappedIterable; +}); +_internal.MappedIterable = _internal.MappedIterable$(); +dart.addTypeTests(_internal.MappedIterable, _is_MappedIterable_default); +const _is_EfficientLengthMappedIterable_default = Symbol('_is_EfficientLengthMappedIterable_default'); +_internal.EfficientLengthMappedIterable$ = dart.generic((S, T) => { + class EfficientLengthMappedIterable extends _internal.MappedIterable$(S, T) {} + (EfficientLengthMappedIterable.new = function(iterable, $function) { + if (iterable == null) dart.nullFailed(I[37], 377, 45, "iterable"); + if ($function == null) dart.nullFailed(I[37], 377, 57, "function"); + EfficientLengthMappedIterable.__proto__.__.call(this, iterable, $function); + ; + }).prototype = EfficientLengthMappedIterable.prototype; + dart.addTypeTests(EfficientLengthMappedIterable); + EfficientLengthMappedIterable.prototype[_is_EfficientLengthMappedIterable_default] = true; + dart.addTypeCaches(EfficientLengthMappedIterable); + EfficientLengthMappedIterable[dart.implements] = () => [_internal.EfficientLengthIterable$(T)]; + dart.setLibraryUri(EfficientLengthMappedIterable, I[25]); + return EfficientLengthMappedIterable; +}); +_internal.EfficientLengthMappedIterable = _internal.EfficientLengthMappedIterable$(); +dart.addTypeTests(_internal.EfficientLengthMappedIterable, _is_EfficientLengthMappedIterable_default); +var _iterator$ = dart.privateName(_internal, "_iterator"); +const _is_Iterator_default = Symbol('_is_Iterator_default'); +core.Iterator$ = dart.generic(E => { + class Iterator extends core.Object {} + (Iterator.new = function() { + ; + }).prototype = Iterator.prototype; + dart.addTypeTests(Iterator); + Iterator.prototype[_is_Iterator_default] = true; + dart.addTypeCaches(Iterator); + dart.setLibraryUri(Iterator, I[8]); + return Iterator; +}); +core.Iterator = core.Iterator$(); +dart.addTypeTests(core.Iterator, _is_Iterator_default); +const _is_MappedIterator_default = Symbol('_is_MappedIterator_default'); +_internal.MappedIterator$ = dart.generic((S, T) => { + class MappedIterator extends core.Iterator$(T) { + moveNext() { + let t82; + if (dart.test(this[_iterator$].moveNext())) { + this[_current$] = (t82 = this[_iterator$].current, this[_f$](t82)); + return true; + } + this[_current$] = null; + return false; + } + get current() { + return T.as(this[_current$]); + } + } + (MappedIterator.new = function(_iterator, _f) { + if (_iterator == null) dart.nullFailed(I[37], 386, 23, "_iterator"); + if (_f == null) dart.nullFailed(I[37], 386, 39, "_f"); + this[_current$] = null; + this[_iterator$] = _iterator; + this[_f$] = _f; + ; + }).prototype = MappedIterator.prototype; + dart.addTypeTests(MappedIterator); + MappedIterator.prototype[_is_MappedIterator_default] = true; + dart.addTypeCaches(MappedIterator); + dart.setMethodSignature(MappedIterator, () => ({ + __proto__: dart.getMethods(MappedIterator.__proto__), + moveNext: dart.fnType(core.bool, []) + })); + dart.setGetterSignature(MappedIterator, () => ({ + __proto__: dart.getGetters(MappedIterator.__proto__), + current: T + })); + dart.setLibraryUri(MappedIterator, I[25]); + dart.setFieldSignature(MappedIterator, () => ({ + __proto__: dart.getFields(MappedIterator.__proto__), + [_current$]: dart.fieldType(dart.nullable(T)), + [_iterator$]: dart.finalFieldType(core.Iterator$(S)), + [_f$]: dart.finalFieldType(dart.fnType(T, [S])) + })); + return MappedIterator; +}); +_internal.MappedIterator = _internal.MappedIterator$(); +dart.addTypeTests(_internal.MappedIterator, _is_MappedIterator_default); +const _is_MappedListIterable_default = Symbol('_is_MappedListIterable_default'); +_internal.MappedListIterable$ = dart.generic((S, T) => { + class MappedListIterable extends _internal.ListIterable$(T) { + get length() { + return this[_source$][$length]; + } + elementAt(index) { + let t82; + if (index == null) dart.nullFailed(I[37], 412, 19, "index"); + t82 = this[_source$][$elementAt](index); + return this[_f$](t82); + } + } + (MappedListIterable.new = function(_source, _f) { + if (_source == null) dart.nullFailed(I[37], 409, 27, "_source"); + if (_f == null) dart.nullFailed(I[37], 409, 41, "_f"); + this[_source$] = _source; + this[_f$] = _f; + MappedListIterable.__proto__.new.call(this); + ; + }).prototype = MappedListIterable.prototype; + dart.addTypeTests(MappedListIterable); + MappedListIterable.prototype[_is_MappedListIterable_default] = true; + dart.addTypeCaches(MappedListIterable); + dart.setLibraryUri(MappedListIterable, I[25]); + dart.setFieldSignature(MappedListIterable, () => ({ + __proto__: dart.getFields(MappedListIterable.__proto__), + [_source$]: dart.finalFieldType(core.Iterable$(S)), + [_f$]: dart.finalFieldType(dart.fnType(T, [S])) + })); + dart.defineExtensionMethods(MappedListIterable, ['elementAt']); + dart.defineExtensionAccessors(MappedListIterable, ['length']); + return MappedListIterable; +}); +_internal.MappedListIterable = _internal.MappedListIterable$(); +dart.addTypeTests(_internal.MappedListIterable, _is_MappedListIterable_default); +const _is_WhereIterable_default = Symbol('_is_WhereIterable_default'); +_internal.WhereIterable$ = dart.generic(E => { + var WhereIteratorOfE = () => (WhereIteratorOfE = dart.constFn(_internal.WhereIterator$(E)))(); + class WhereIterable extends core.Iterable$(E) { + get iterator() { + return new (WhereIteratorOfE()).new(this[_iterable$][$iterator], this[_f$]); + } + map(T, f) { + if (f == null) dart.nullFailed(I[37], 426, 24, "f"); + return new (_internal.MappedIterable$(E, T)).__(this, f); + } + } + (WhereIterable.new = function(_iterable, _f) { + if (_iterable == null) dart.nullFailed(I[37], 421, 22, "_iterable"); + if (_f == null) dart.nullFailed(I[37], 421, 38, "_f"); + this[_iterable$] = _iterable; + this[_f$] = _f; + WhereIterable.__proto__.new.call(this); + ; + }).prototype = WhereIterable.prototype; + dart.addTypeTests(WhereIterable); + WhereIterable.prototype[_is_WhereIterable_default] = true; + dart.addTypeCaches(WhereIterable); + dart.setMethodSignature(WhereIterable, () => ({ + __proto__: dart.getMethods(WhereIterable.__proto__), + map: dart.gFnType(T => [core.Iterable$(T), [dart.fnType(T, [E])]], T => [dart.nullable(core.Object)]), + [$map]: dart.gFnType(T => [core.Iterable$(T), [dart.fnType(T, [E])]], T => [dart.nullable(core.Object)]) + })); + dart.setGetterSignature(WhereIterable, () => ({ + __proto__: dart.getGetters(WhereIterable.__proto__), + iterator: core.Iterator$(E), + [$iterator]: core.Iterator$(E) + })); + dart.setLibraryUri(WhereIterable, I[25]); + dart.setFieldSignature(WhereIterable, () => ({ + __proto__: dart.getFields(WhereIterable.__proto__), + [_iterable$]: dart.finalFieldType(core.Iterable$(E)), + [_f$]: dart.finalFieldType(dart.fnType(core.bool, [E])) + })); + dart.defineExtensionMethods(WhereIterable, ['map']); + dart.defineExtensionAccessors(WhereIterable, ['iterator']); + return WhereIterable; +}); +_internal.WhereIterable = _internal.WhereIterable$(); +dart.addTypeTests(_internal.WhereIterable, _is_WhereIterable_default); +const _is_WhereIterator_default = Symbol('_is_WhereIterator_default'); +_internal.WhereIterator$ = dart.generic(E => { + class WhereIterator extends core.Iterator$(E) { + moveNext() { + let t82; + while (dart.test(this[_iterator$].moveNext())) { + if (dart.test((t82 = this[_iterator$].current, this[_f$](t82)))) { + return true; + } + } + return false; + } + get current() { + return this[_iterator$].current; + } + } + (WhereIterator.new = function(_iterator, _f) { + if (_iterator == null) dart.nullFailed(I[37], 433, 22, "_iterator"); + if (_f == null) dart.nullFailed(I[37], 433, 38, "_f"); + this[_iterator$] = _iterator; + this[_f$] = _f; + ; + }).prototype = WhereIterator.prototype; + dart.addTypeTests(WhereIterator); + WhereIterator.prototype[_is_WhereIterator_default] = true; + dart.addTypeCaches(WhereIterator); + dart.setMethodSignature(WhereIterator, () => ({ + __proto__: dart.getMethods(WhereIterator.__proto__), + moveNext: dart.fnType(core.bool, []) + })); + dart.setGetterSignature(WhereIterator, () => ({ + __proto__: dart.getGetters(WhereIterator.__proto__), + current: E + })); + dart.setLibraryUri(WhereIterator, I[25]); + dart.setFieldSignature(WhereIterator, () => ({ + __proto__: dart.getFields(WhereIterator.__proto__), + [_iterator$]: dart.finalFieldType(core.Iterator$(E)), + [_f$]: dart.finalFieldType(dart.fnType(core.bool, [E])) + })); + return WhereIterator; +}); +_internal.WhereIterator = _internal.WhereIterator$(); +dart.addTypeTests(_internal.WhereIterator, _is_WhereIterator_default); +const _is_ExpandIterable_default = Symbol('_is_ExpandIterable_default'); +_internal.ExpandIterable$ = dart.generic((S, T) => { + var ExpandIteratorOfS$T = () => (ExpandIteratorOfS$T = dart.constFn(_internal.ExpandIterator$(S, T)))(); + class ExpandIterable extends core.Iterable$(T) { + get iterator() { + return new (ExpandIteratorOfS$T()).new(this[_iterable$][$iterator], this[_f$]); + } + } + (ExpandIterable.new = function(_iterable, _f) { + if (_iterable == null) dart.nullFailed(I[37], 453, 23, "_iterable"); + if (_f == null) dart.nullFailed(I[37], 453, 39, "_f"); + this[_iterable$] = _iterable; + this[_f$] = _f; + ExpandIterable.__proto__.new.call(this); + ; + }).prototype = ExpandIterable.prototype; + dart.addTypeTests(ExpandIterable); + ExpandIterable.prototype[_is_ExpandIterable_default] = true; + dart.addTypeCaches(ExpandIterable); + dart.setGetterSignature(ExpandIterable, () => ({ + __proto__: dart.getGetters(ExpandIterable.__proto__), + iterator: core.Iterator$(T), + [$iterator]: core.Iterator$(T) + })); + dart.setLibraryUri(ExpandIterable, I[25]); + dart.setFieldSignature(ExpandIterable, () => ({ + __proto__: dart.getFields(ExpandIterable.__proto__), + [_iterable$]: dart.finalFieldType(core.Iterable$(S)), + [_f$]: dart.finalFieldType(dart.fnType(core.Iterable$(T), [S])) + })); + dart.defineExtensionAccessors(ExpandIterable, ['iterator']); + return ExpandIterable; +}); +_internal.ExpandIterable = _internal.ExpandIterable$(); +dart.addTypeTests(_internal.ExpandIterable, _is_ExpandIterable_default); +var _currentExpansion = dart.privateName(_internal, "_currentExpansion"); +const _is_ExpandIterator_default = Symbol('_is_ExpandIterator_default'); +_internal.ExpandIterator$ = dart.generic((S, T) => { + class ExpandIterator extends core.Object { + get current() { + return T.as(this[_current$]); + } + moveNext() { + let t82; + if (this[_currentExpansion] == null) return false; + while (!dart.test(dart.nullCheck(this[_currentExpansion]).moveNext())) { + this[_current$] = null; + if (dart.test(this[_iterator$].moveNext())) { + this[_currentExpansion] = null; + this[_currentExpansion] = (t82 = this[_iterator$].current, this[_f$](t82))[$iterator]; + } else { + return false; + } + } + this[_current$] = dart.nullCheck(this[_currentExpansion]).current; + return true; + } + } + (ExpandIterator.new = function(_iterator, _f) { + if (_iterator == null) dart.nullFailed(I[37], 467, 23, "_iterator"); + if (_f == null) dart.nullFailed(I[37], 467, 39, "_f"); + this[_currentExpansion] = C[20] || CT.C20; + this[_current$] = null; + this[_iterator$] = _iterator; + this[_f$] = _f; + ; + }).prototype = ExpandIterator.prototype; + dart.addTypeTests(ExpandIterator); + ExpandIterator.prototype[_is_ExpandIterator_default] = true; + dart.addTypeCaches(ExpandIterator); + ExpandIterator[dart.implements] = () => [core.Iterator$(T)]; + dart.setMethodSignature(ExpandIterator, () => ({ + __proto__: dart.getMethods(ExpandIterator.__proto__), + moveNext: dart.fnType(core.bool, []) + })); + dart.setGetterSignature(ExpandIterator, () => ({ + __proto__: dart.getGetters(ExpandIterator.__proto__), + current: T + })); + dart.setLibraryUri(ExpandIterator, I[25]); + dart.setFieldSignature(ExpandIterator, () => ({ + __proto__: dart.getFields(ExpandIterator.__proto__), + [_iterator$]: dart.finalFieldType(core.Iterator$(S)), + [_f$]: dart.finalFieldType(dart.fnType(core.Iterable$(T), [S])), + [_currentExpansion]: dart.fieldType(dart.nullable(core.Iterator$(T))), + [_current$]: dart.fieldType(dart.nullable(T)) + })); + return ExpandIterator; +}); +_internal.ExpandIterator = _internal.ExpandIterator$(); +dart.addTypeTests(_internal.ExpandIterator, _is_ExpandIterator_default); +var _takeCount$ = dart.privateName(_internal, "_takeCount"); +const _is_TakeIterable_default = Symbol('_is_TakeIterable_default'); +_internal.TakeIterable$ = dart.generic(E => { + var TakeIteratorOfE = () => (TakeIteratorOfE = dart.constFn(_internal.TakeIterator$(E)))(); + class TakeIterable extends core.Iterable$(E) { + static new(iterable, takeCount) { + if (iterable == null) dart.nullFailed(I[37], 493, 36, "iterable"); + if (takeCount == null) dart.nullFailed(I[37], 493, 50, "takeCount"); + core.ArgumentError.checkNotNull(core.int, takeCount, "takeCount"); + core.RangeError.checkNotNegative(takeCount, "takeCount"); + if (_internal.EfficientLengthIterable.is(iterable)) { + return new (_internal.EfficientLengthTakeIterable$(E)).new(iterable, takeCount); + } + return new (_internal.TakeIterable$(E)).__(iterable, takeCount); + } + get iterator() { + return new (TakeIteratorOfE()).new(this[_iterable$][$iterator], this[_takeCount$]); + } + } + (TakeIterable.__ = function(_iterable, _takeCount) { + if (_iterable == null) dart.nullFailed(I[37], 502, 23, "_iterable"); + if (_takeCount == null) dart.nullFailed(I[37], 502, 39, "_takeCount"); + this[_iterable$] = _iterable; + this[_takeCount$] = _takeCount; + TakeIterable.__proto__.new.call(this); + ; + }).prototype = TakeIterable.prototype; + dart.addTypeTests(TakeIterable); + TakeIterable.prototype[_is_TakeIterable_default] = true; + dart.addTypeCaches(TakeIterable); + dart.setGetterSignature(TakeIterable, () => ({ + __proto__: dart.getGetters(TakeIterable.__proto__), + iterator: core.Iterator$(E), + [$iterator]: core.Iterator$(E) + })); + dart.setLibraryUri(TakeIterable, I[25]); + dart.setFieldSignature(TakeIterable, () => ({ + __proto__: dart.getFields(TakeIterable.__proto__), + [_iterable$]: dart.finalFieldType(core.Iterable$(E)), + [_takeCount$]: dart.finalFieldType(core.int) + })); + dart.defineExtensionAccessors(TakeIterable, ['iterator']); + return TakeIterable; +}); +_internal.TakeIterable = _internal.TakeIterable$(); +dart.addTypeTests(_internal.TakeIterable, _is_TakeIterable_default); +const _is_EfficientLengthTakeIterable_default = Symbol('_is_EfficientLengthTakeIterable_default'); +_internal.EfficientLengthTakeIterable$ = dart.generic(E => { + class EfficientLengthTakeIterable extends _internal.TakeIterable$(E) { + get length() { + let iterableLength = this[_iterable$][$length]; + if (dart.notNull(iterableLength) > dart.notNull(this[_takeCount$])) return this[_takeCount$]; + return iterableLength; + } + } + (EfficientLengthTakeIterable.new = function(iterable, takeCount) { + if (iterable == null) dart.nullFailed(I[37], 511, 43, "iterable"); + if (takeCount == null) dart.nullFailed(I[37], 511, 57, "takeCount"); + EfficientLengthTakeIterable.__proto__.__.call(this, iterable, takeCount); + ; + }).prototype = EfficientLengthTakeIterable.prototype; + dart.addTypeTests(EfficientLengthTakeIterable); + EfficientLengthTakeIterable.prototype[_is_EfficientLengthTakeIterable_default] = true; + dart.addTypeCaches(EfficientLengthTakeIterable); + EfficientLengthTakeIterable[dart.implements] = () => [_internal.EfficientLengthIterable$(E)]; + dart.setLibraryUri(EfficientLengthTakeIterable, I[25]); + dart.defineExtensionAccessors(EfficientLengthTakeIterable, ['length']); + return EfficientLengthTakeIterable; +}); +_internal.EfficientLengthTakeIterable = _internal.EfficientLengthTakeIterable$(); +dart.addTypeTests(_internal.EfficientLengthTakeIterable, _is_EfficientLengthTakeIterable_default); +var _remaining$ = dart.privateName(_internal, "_remaining"); +const _is_TakeIterator_default = Symbol('_is_TakeIterator_default'); +_internal.TakeIterator$ = dart.generic(E => { + class TakeIterator extends core.Iterator$(E) { + moveNext() { + this[_remaining$] = dart.notNull(this[_remaining$]) - 1; + if (dart.notNull(this[_remaining$]) >= 0) { + return this[_iterator$].moveNext(); + } + this[_remaining$] = -1; + return false; + } + get current() { + if (dart.notNull(this[_remaining$]) < 0) return E.as(null); + return this[_iterator$].current; + } + } + (TakeIterator.new = function(_iterator, _remaining) { + if (_iterator == null) dart.nullFailed(I[37], 525, 21, "_iterator"); + if (_remaining == null) dart.nullFailed(I[37], 525, 37, "_remaining"); + this[_iterator$] = _iterator; + this[_remaining$] = _remaining; + if (!(dart.notNull(this[_remaining$]) >= 0)) dart.assertFailed(null, I[37], 526, 12, "_remaining >= 0"); + }).prototype = TakeIterator.prototype; + dart.addTypeTests(TakeIterator); + TakeIterator.prototype[_is_TakeIterator_default] = true; + dart.addTypeCaches(TakeIterator); + dart.setMethodSignature(TakeIterator, () => ({ + __proto__: dart.getMethods(TakeIterator.__proto__), + moveNext: dart.fnType(core.bool, []) + })); + dart.setGetterSignature(TakeIterator, () => ({ + __proto__: dart.getGetters(TakeIterator.__proto__), + current: E + })); + dart.setLibraryUri(TakeIterator, I[25]); + dart.setFieldSignature(TakeIterator, () => ({ + __proto__: dart.getFields(TakeIterator.__proto__), + [_iterator$]: dart.finalFieldType(core.Iterator$(E)), + [_remaining$]: dart.fieldType(core.int) + })); + return TakeIterator; +}); +_internal.TakeIterator = _internal.TakeIterator$(); +dart.addTypeTests(_internal.TakeIterator, _is_TakeIterator_default); +const _is_TakeWhileIterable_default = Symbol('_is_TakeWhileIterable_default'); +_internal.TakeWhileIterable$ = dart.generic(E => { + var TakeWhileIteratorOfE = () => (TakeWhileIteratorOfE = dart.constFn(_internal.TakeWhileIterator$(E)))(); + class TakeWhileIterable extends core.Iterable$(E) { + get iterator() { + return new (TakeWhileIteratorOfE()).new(this[_iterable$][$iterator], this[_f$]); + } + } + (TakeWhileIterable.new = function(_iterable, _f) { + if (_iterable == null) dart.nullFailed(I[37], 552, 26, "_iterable"); + if (_f == null) dart.nullFailed(I[37], 552, 42, "_f"); + this[_iterable$] = _iterable; + this[_f$] = _f; + TakeWhileIterable.__proto__.new.call(this); + ; + }).prototype = TakeWhileIterable.prototype; + dart.addTypeTests(TakeWhileIterable); + TakeWhileIterable.prototype[_is_TakeWhileIterable_default] = true; + dart.addTypeCaches(TakeWhileIterable); + dart.setGetterSignature(TakeWhileIterable, () => ({ + __proto__: dart.getGetters(TakeWhileIterable.__proto__), + iterator: core.Iterator$(E), + [$iterator]: core.Iterator$(E) + })); + dart.setLibraryUri(TakeWhileIterable, I[25]); + dart.setFieldSignature(TakeWhileIterable, () => ({ + __proto__: dart.getFields(TakeWhileIterable.__proto__), + [_iterable$]: dart.finalFieldType(core.Iterable$(E)), + [_f$]: dart.finalFieldType(dart.fnType(core.bool, [E])) + })); + dart.defineExtensionAccessors(TakeWhileIterable, ['iterator']); + return TakeWhileIterable; +}); +_internal.TakeWhileIterable = _internal.TakeWhileIterable$(); +dart.addTypeTests(_internal.TakeWhileIterable, _is_TakeWhileIterable_default); +var _isFinished = dart.privateName(_internal, "_isFinished"); +const _is_TakeWhileIterator_default = Symbol('_is_TakeWhileIterator_default'); +_internal.TakeWhileIterator$ = dart.generic(E => { + class TakeWhileIterator extends core.Iterator$(E) { + moveNext() { + let t82; + if (dart.test(this[_isFinished])) return false; + if (!dart.test(this[_iterator$].moveNext()) || !dart.test((t82 = this[_iterator$].current, this[_f$](t82)))) { + this[_isFinished] = true; + return false; + } + return true; + } + get current() { + if (dart.test(this[_isFinished])) return E.as(null); + return this[_iterator$].current; + } + } + (TakeWhileIterator.new = function(_iterator, _f) { + if (_iterator == null) dart.nullFailed(I[37], 564, 26, "_iterator"); + if (_f == null) dart.nullFailed(I[37], 564, 42, "_f"); + this[_isFinished] = false; + this[_iterator$] = _iterator; + this[_f$] = _f; + ; + }).prototype = TakeWhileIterator.prototype; + dart.addTypeTests(TakeWhileIterator); + TakeWhileIterator.prototype[_is_TakeWhileIterator_default] = true; + dart.addTypeCaches(TakeWhileIterator); + dart.setMethodSignature(TakeWhileIterator, () => ({ + __proto__: dart.getMethods(TakeWhileIterator.__proto__), + moveNext: dart.fnType(core.bool, []) + })); + dart.setGetterSignature(TakeWhileIterator, () => ({ + __proto__: dart.getGetters(TakeWhileIterator.__proto__), + current: E + })); + dart.setLibraryUri(TakeWhileIterator, I[25]); + dart.setFieldSignature(TakeWhileIterator, () => ({ + __proto__: dart.getFields(TakeWhileIterator.__proto__), + [_iterator$]: dart.finalFieldType(core.Iterator$(E)), + [_f$]: dart.finalFieldType(dart.fnType(core.bool, [E])), + [_isFinished]: dart.fieldType(core.bool) + })); + return TakeWhileIterator; +}); +_internal.TakeWhileIterator = _internal.TakeWhileIterator$(); +dart.addTypeTests(_internal.TakeWhileIterator, _is_TakeWhileIterator_default); +var _skipCount$ = dart.privateName(_internal, "_skipCount"); +const _is_SkipIterable_default = Symbol('_is_SkipIterable_default'); +_internal.SkipIterable$ = dart.generic(E => { + var SkipIterableOfE = () => (SkipIterableOfE = dart.constFn(_internal.SkipIterable$(E)))(); + var SkipIteratorOfE = () => (SkipIteratorOfE = dart.constFn(_internal.SkipIterator$(E)))(); + class SkipIterable extends core.Iterable$(E) { + static new(iterable, count) { + if (iterable == null) dart.nullFailed(I[37], 585, 36, "iterable"); + if (count == null) dart.nullFailed(I[37], 585, 50, "count"); + if (_internal.EfficientLengthIterable.is(iterable)) { + return _internal.EfficientLengthSkipIterable$(E).new(iterable, count); + } + return new (_internal.SkipIterable$(E)).__(iterable, _internal._checkCount(count)); + } + skip(count) { + if (count == null) dart.nullFailed(I[37], 594, 24, "count"); + return new (SkipIterableOfE()).__(this[_iterable$], dart.notNull(this[_skipCount$]) + dart.notNull(_internal._checkCount(count))); + } + get iterator() { + return new (SkipIteratorOfE()).new(this[_iterable$][$iterator], this[_skipCount$]); + } + } + (SkipIterable.__ = function(_iterable, _skipCount) { + if (_iterable == null) dart.nullFailed(I[37], 592, 23, "_iterable"); + if (_skipCount == null) dart.nullFailed(I[37], 592, 39, "_skipCount"); + this[_iterable$] = _iterable; + this[_skipCount$] = _skipCount; + SkipIterable.__proto__.new.call(this); + ; + }).prototype = SkipIterable.prototype; + dart.addTypeTests(SkipIterable); + SkipIterable.prototype[_is_SkipIterable_default] = true; + dart.addTypeCaches(SkipIterable); + dart.setGetterSignature(SkipIterable, () => ({ + __proto__: dart.getGetters(SkipIterable.__proto__), + iterator: core.Iterator$(E), + [$iterator]: core.Iterator$(E) + })); + dart.setLibraryUri(SkipIterable, I[25]); + dart.setFieldSignature(SkipIterable, () => ({ + __proto__: dart.getFields(SkipIterable.__proto__), + [_iterable$]: dart.finalFieldType(core.Iterable$(E)), + [_skipCount$]: dart.finalFieldType(core.int) + })); + dart.defineExtensionMethods(SkipIterable, ['skip']); + dart.defineExtensionAccessors(SkipIterable, ['iterator']); + return SkipIterable; +}); +_internal.SkipIterable = _internal.SkipIterable$(); +dart.addTypeTests(_internal.SkipIterable, _is_SkipIterable_default); +const _is_EfficientLengthSkipIterable_default = Symbol('_is_EfficientLengthSkipIterable_default'); +_internal.EfficientLengthSkipIterable$ = dart.generic(E => { + var EfficientLengthSkipIterableOfE = () => (EfficientLengthSkipIterableOfE = dart.constFn(_internal.EfficientLengthSkipIterable$(E)))(); + class EfficientLengthSkipIterable extends _internal.SkipIterable$(E) { + static new(iterable, count) { + if (iterable == null) dart.nullFailed(I[37], 605, 51, "iterable"); + if (count == null) dart.nullFailed(I[37], 605, 65, "count"); + return new (_internal.EfficientLengthSkipIterable$(E)).__(iterable, _internal._checkCount(count)); + } + get length() { + let length = dart.notNull(this[_iterable$][$length]) - dart.notNull(this[_skipCount$]); + if (length >= 0) return length; + return 0; + } + skip(count) { + if (count == null) dart.nullFailed(I[37], 618, 24, "count"); + return new (EfficientLengthSkipIterableOfE()).__(this[_iterable$], dart.notNull(this[_skipCount$]) + dart.notNull(_internal._checkCount(count))); + } + } + (EfficientLengthSkipIterable.__ = function(iterable, count) { + if (iterable == null) dart.nullFailed(I[37], 609, 45, "iterable"); + if (count == null) dart.nullFailed(I[37], 609, 59, "count"); + EfficientLengthSkipIterable.__proto__.__.call(this, iterable, count); + ; + }).prototype = EfficientLengthSkipIterable.prototype; + dart.addTypeTests(EfficientLengthSkipIterable); + EfficientLengthSkipIterable.prototype[_is_EfficientLengthSkipIterable_default] = true; + dart.addTypeCaches(EfficientLengthSkipIterable); + EfficientLengthSkipIterable[dart.implements] = () => [_internal.EfficientLengthIterable$(E)]; + dart.setLibraryUri(EfficientLengthSkipIterable, I[25]); + dart.defineExtensionMethods(EfficientLengthSkipIterable, ['skip']); + dart.defineExtensionAccessors(EfficientLengthSkipIterable, ['length']); + return EfficientLengthSkipIterable; +}); +_internal.EfficientLengthSkipIterable = _internal.EfficientLengthSkipIterable$(); +dart.addTypeTests(_internal.EfficientLengthSkipIterable, _is_EfficientLengthSkipIterable_default); +const _is_SkipIterator_default = Symbol('_is_SkipIterator_default'); +_internal.SkipIterator$ = dart.generic(E => { + class SkipIterator extends core.Iterator$(E) { + moveNext() { + for (let i = 0; i < dart.notNull(this[_skipCount$]); i = i + 1) + this[_iterator$].moveNext(); + this[_skipCount$] = 0; + return this[_iterator$].moveNext(); + } + get current() { + return this[_iterator$].current; + } + } + (SkipIterator.new = function(_iterator, _skipCount) { + if (_iterator == null) dart.nullFailed(I[37], 634, 21, "_iterator"); + if (_skipCount == null) dart.nullFailed(I[37], 634, 37, "_skipCount"); + this[_iterator$] = _iterator; + this[_skipCount$] = _skipCount; + if (!(dart.notNull(this[_skipCount$]) >= 0)) dart.assertFailed(null, I[37], 635, 12, "_skipCount >= 0"); + }).prototype = SkipIterator.prototype; + dart.addTypeTests(SkipIterator); + SkipIterator.prototype[_is_SkipIterator_default] = true; + dart.addTypeCaches(SkipIterator); + dart.setMethodSignature(SkipIterator, () => ({ + __proto__: dart.getMethods(SkipIterator.__proto__), + moveNext: dart.fnType(core.bool, []) + })); + dart.setGetterSignature(SkipIterator, () => ({ + __proto__: dart.getGetters(SkipIterator.__proto__), + current: E + })); + dart.setLibraryUri(SkipIterator, I[25]); + dart.setFieldSignature(SkipIterator, () => ({ + __proto__: dart.getFields(SkipIterator.__proto__), + [_iterator$]: dart.finalFieldType(core.Iterator$(E)), + [_skipCount$]: dart.fieldType(core.int) + })); + return SkipIterator; +}); +_internal.SkipIterator = _internal.SkipIterator$(); +dart.addTypeTests(_internal.SkipIterator, _is_SkipIterator_default); +const _is_SkipWhileIterable_default = Symbol('_is_SkipWhileIterable_default'); +_internal.SkipWhileIterable$ = dart.generic(E => { + var SkipWhileIteratorOfE = () => (SkipWhileIteratorOfE = dart.constFn(_internal.SkipWhileIterator$(E)))(); + class SkipWhileIterable extends core.Iterable$(E) { + get iterator() { + return new (SkipWhileIteratorOfE()).new(this[_iterable$][$iterator], this[_f$]); + } + } + (SkipWhileIterable.new = function(_iterable, _f) { + if (_iterable == null) dart.nullFailed(I[37], 651, 26, "_iterable"); + if (_f == null) dart.nullFailed(I[37], 651, 42, "_f"); + this[_iterable$] = _iterable; + this[_f$] = _f; + SkipWhileIterable.__proto__.new.call(this); + ; + }).prototype = SkipWhileIterable.prototype; + dart.addTypeTests(SkipWhileIterable); + SkipWhileIterable.prototype[_is_SkipWhileIterable_default] = true; + dart.addTypeCaches(SkipWhileIterable); + dart.setGetterSignature(SkipWhileIterable, () => ({ + __proto__: dart.getGetters(SkipWhileIterable.__proto__), + iterator: core.Iterator$(E), + [$iterator]: core.Iterator$(E) + })); + dart.setLibraryUri(SkipWhileIterable, I[25]); + dart.setFieldSignature(SkipWhileIterable, () => ({ + __proto__: dart.getFields(SkipWhileIterable.__proto__), + [_iterable$]: dart.finalFieldType(core.Iterable$(E)), + [_f$]: dart.finalFieldType(dart.fnType(core.bool, [E])) + })); + dart.defineExtensionAccessors(SkipWhileIterable, ['iterator']); + return SkipWhileIterable; +}); +_internal.SkipWhileIterable = _internal.SkipWhileIterable$(); +dart.addTypeTests(_internal.SkipWhileIterable, _is_SkipWhileIterable_default); +var _hasSkipped = dart.privateName(_internal, "_hasSkipped"); +const _is_SkipWhileIterator_default = Symbol('_is_SkipWhileIterator_default'); +_internal.SkipWhileIterator$ = dart.generic(E => { + class SkipWhileIterator extends core.Iterator$(E) { + moveNext() { + let t82; + if (!dart.test(this[_hasSkipped])) { + this[_hasSkipped] = true; + while (dart.test(this[_iterator$].moveNext())) { + if (!dart.test((t82 = this[_iterator$].current, this[_f$](t82)))) return true; + } + } + return this[_iterator$].moveNext(); + } + get current() { + return this[_iterator$].current; + } + } + (SkipWhileIterator.new = function(_iterator, _f) { + if (_iterator == null) dart.nullFailed(I[37], 663, 26, "_iterator"); + if (_f == null) dart.nullFailed(I[37], 663, 42, "_f"); + this[_hasSkipped] = false; + this[_iterator$] = _iterator; + this[_f$] = _f; + ; + }).prototype = SkipWhileIterator.prototype; + dart.addTypeTests(SkipWhileIterator); + SkipWhileIterator.prototype[_is_SkipWhileIterator_default] = true; + dart.addTypeCaches(SkipWhileIterator); + dart.setMethodSignature(SkipWhileIterator, () => ({ + __proto__: dart.getMethods(SkipWhileIterator.__proto__), + moveNext: dart.fnType(core.bool, []) + })); + dart.setGetterSignature(SkipWhileIterator, () => ({ + __proto__: dart.getGetters(SkipWhileIterator.__proto__), + current: E + })); + dart.setLibraryUri(SkipWhileIterator, I[25]); + dart.setFieldSignature(SkipWhileIterator, () => ({ + __proto__: dart.getFields(SkipWhileIterator.__proto__), + [_iterator$]: dart.finalFieldType(core.Iterator$(E)), + [_f$]: dart.finalFieldType(dart.fnType(core.bool, [E])), + [_hasSkipped]: dart.fieldType(core.bool) + })); + return SkipWhileIterator; +}); +_internal.SkipWhileIterator = _internal.SkipWhileIterator$(); +dart.addTypeTests(_internal.SkipWhileIterator, _is_SkipWhileIterator_default); +const _is_EmptyIterable_default = Symbol('_is_EmptyIterable_default'); +_internal.EmptyIterable$ = dart.generic(E => { + var VoidToE = () => (VoidToE = dart.constFn(dart.fnType(E, [])))(); + var VoidToNE = () => (VoidToNE = dart.constFn(dart.nullable(VoidToE())))(); + var EAndEToE = () => (EAndEToE = dart.constFn(dart.fnType(E, [E, E])))(); + var ListOfE = () => (ListOfE = dart.constFn(core.List$(E)))(); + var _HashSetOfE = () => (_HashSetOfE = dart.constFn(collection._HashSet$(E)))(); + class EmptyIterable extends _internal.EfficientLengthIterable$(E) { + get iterator() { + return C[20] || CT.C20; + } + forEach(action) { + if (action == null) dart.nullFailed(I[37], 686, 21, "action"); + } + get isEmpty() { + return true; + } + get length() { + return 0; + } + get first() { + dart.throw(_internal.IterableElementError.noElement()); + } + get last() { + dart.throw(_internal.IterableElementError.noElement()); + } + get single() { + dart.throw(_internal.IterableElementError.noElement()); + } + elementAt(index) { + if (index == null) dart.nullFailed(I[37], 704, 19, "index"); + dart.throw(new core.RangeError.range(index, 0, 0, "index")); + } + contains(element) { + return false; + } + every(test) { + if (test == null) dart.nullFailed(I[37], 710, 19, "test"); + return true; + } + any(test) { + if (test == null) dart.nullFailed(I[37], 712, 17, "test"); + return false; + } + firstWhere(test, opts) { + if (test == null) dart.nullFailed(I[37], 714, 21, "test"); + let orElse = opts && 'orElse' in opts ? opts.orElse : null; + VoidToNE().as(orElse); + if (orElse != null) return orElse(); + dart.throw(_internal.IterableElementError.noElement()); + } + lastWhere(test, opts) { + if (test == null) dart.nullFailed(I[37], 719, 20, "test"); + let orElse = opts && 'orElse' in opts ? opts.orElse : null; + VoidToNE().as(orElse); + if (orElse != null) return orElse(); + dart.throw(_internal.IterableElementError.noElement()); + } + singleWhere(test, opts) { + if (test == null) dart.nullFailed(I[37], 724, 22, "test"); + let orElse = opts && 'orElse' in opts ? opts.orElse : null; + VoidToNE().as(orElse); + if (orElse != null) return orElse(); + dart.throw(_internal.IterableElementError.noElement()); + } + join(separator = "") { + if (separator == null) dart.nullFailed(I[37], 729, 23, "separator"); + return ""; + } + where(test) { + if (test == null) dart.nullFailed(I[37], 731, 26, "test"); + return this; + } + map(T, f) { + if (f == null) dart.nullFailed(I[37], 733, 24, "f"); + return new (_internal.EmptyIterable$(T)).new(); + } + reduce(combine) { + EAndEToE().as(combine); + if (combine == null) dart.nullFailed(I[37], 735, 14, "combine"); + dart.throw(_internal.IterableElementError.noElement()); + } + fold(T, initialValue, combine) { + if (combine == null) dart.nullFailed(I[37], 739, 31, "combine"); + return initialValue; + } + skip(count) { + if (count == null) dart.nullFailed(I[37], 743, 24, "count"); + core.RangeError.checkNotNegative(count, "count"); + return this; + } + skipWhile(test) { + if (test == null) dart.nullFailed(I[37], 748, 30, "test"); + return this; + } + take(count) { + if (count == null) dart.nullFailed(I[37], 750, 24, "count"); + core.RangeError.checkNotNegative(count, "count"); + return this; + } + takeWhile(test) { + if (test == null) dart.nullFailed(I[37], 755, 30, "test"); + return this; + } + toList(opts) { + let growable = opts && 'growable' in opts ? opts.growable : true; + if (growable == null) dart.nullFailed(I[37], 757, 24, "growable"); + return ListOfE().empty({growable: growable}); + } + toSet() { + return new (_HashSetOfE()).new(); + } + } + (EmptyIterable.new = function() { + EmptyIterable.__proto__.new.call(this); + ; + }).prototype = EmptyIterable.prototype; + dart.addTypeTests(EmptyIterable); + EmptyIterable.prototype[_is_EmptyIterable_default] = true; + dart.addTypeCaches(EmptyIterable); + dart.setMethodSignature(EmptyIterable, () => ({ + __proto__: dart.getMethods(EmptyIterable.__proto__), + map: dart.gFnType(T => [core.Iterable$(T), [dart.fnType(T, [E])]], T => [dart.nullable(core.Object)]), + [$map]: dart.gFnType(T => [core.Iterable$(T), [dart.fnType(T, [E])]], T => [dart.nullable(core.Object)]), + fold: dart.gFnType(T => [T, [T, dart.fnType(T, [T, E])]], T => [dart.nullable(core.Object)]), + [$fold]: dart.gFnType(T => [T, [T, dart.fnType(T, [T, E])]], T => [dart.nullable(core.Object)]) + })); + dart.setGetterSignature(EmptyIterable, () => ({ + __proto__: dart.getGetters(EmptyIterable.__proto__), + iterator: core.Iterator$(E), + [$iterator]: core.Iterator$(E) + })); + dart.setLibraryUri(EmptyIterable, I[25]); + dart.defineExtensionMethods(EmptyIterable, [ + 'forEach', + 'elementAt', + 'contains', + 'every', + 'any', + 'firstWhere', + 'lastWhere', + 'singleWhere', + 'join', + 'where', + 'map', + 'reduce', + 'fold', + 'skip', + 'skipWhile', + 'take', + 'takeWhile', + 'toList', + 'toSet' + ]); + dart.defineExtensionAccessors(EmptyIterable, [ + 'iterator', + 'isEmpty', + 'length', + 'first', + 'last', + 'single' + ]); + return EmptyIterable; +}); +_internal.EmptyIterable = _internal.EmptyIterable$(); +dart.addTypeTests(_internal.EmptyIterable, _is_EmptyIterable_default); +const _is_EmptyIterator_default = Symbol('_is_EmptyIterator_default'); +_internal.EmptyIterator$ = dart.generic(E => { + class EmptyIterator extends core.Object { + moveNext() { + return false; + } + get current() { + dart.throw(_internal.IterableElementError.noElement()); + } + } + (EmptyIterator.new = function() { + ; + }).prototype = EmptyIterator.prototype; + dart.addTypeTests(EmptyIterator); + EmptyIterator.prototype[_is_EmptyIterator_default] = true; + dart.addTypeCaches(EmptyIterator); + EmptyIterator[dart.implements] = () => [core.Iterator$(E)]; + dart.setMethodSignature(EmptyIterator, () => ({ + __proto__: dart.getMethods(EmptyIterator.__proto__), + moveNext: dart.fnType(core.bool, []) + })); + dart.setGetterSignature(EmptyIterator, () => ({ + __proto__: dart.getGetters(EmptyIterator.__proto__), + current: E + })); + dart.setLibraryUri(EmptyIterator, I[25]); + return EmptyIterator; +}); +_internal.EmptyIterator = _internal.EmptyIterator$(); +dart.addTypeTests(_internal.EmptyIterator, _is_EmptyIterator_default); +var _first$ = dart.privateName(_internal, "_first"); +var _second$ = dart.privateName(_internal, "_second"); +const _is_FollowedByIterable_default = Symbol('_is_FollowedByIterable_default'); +_internal.FollowedByIterable$ = dart.generic(E => { + var FollowedByIteratorOfE = () => (FollowedByIteratorOfE = dart.constFn(_internal.FollowedByIterator$(E)))(); + class FollowedByIterable extends core.Iterable$(E) { + static firstEfficient(first, second) { + if (first == null) dart.nullFailed(I[37], 777, 34, "first"); + if (second == null) dart.nullFailed(I[37], 777, 53, "second"); + if (_internal.EfficientLengthIterable$(E).is(second)) { + return new (_internal.EfficientLengthFollowedByIterable$(E)).new(first, second); + } + return new (_internal.FollowedByIterable$(E)).new(first, second); + } + get iterator() { + return new (FollowedByIteratorOfE()).new(this[_first$], this[_second$]); + } + get length() { + return dart.notNull(this[_first$][$length]) + dart.notNull(this[_second$][$length]); + } + get isEmpty() { + return dart.test(this[_first$][$isEmpty]) && dart.test(this[_second$][$isEmpty]); + } + get isNotEmpty() { + return dart.test(this[_first$][$isNotEmpty]) || dart.test(this[_second$][$isNotEmpty]); + } + contains(value) { + return dart.test(this[_first$][$contains](value)) || dart.test(this[_second$][$contains](value)); + } + get first() { + let iterator = this[_first$][$iterator]; + if (dart.test(iterator.moveNext())) return iterator.current; + return this[_second$][$first]; + } + get last() { + let iterator = this[_second$][$iterator]; + if (dart.test(iterator.moveNext())) { + let last = iterator.current; + while (dart.test(iterator.moveNext())) + last = iterator.current; + return last; + } + return this[_first$][$last]; + } + } + (FollowedByIterable.new = function(_first, _second) { + if (_first == null) dart.nullFailed(I[37], 774, 27, "_first"); + if (_second == null) dart.nullFailed(I[37], 774, 40, "_second"); + this[_first$] = _first; + this[_second$] = _second; + FollowedByIterable.__proto__.new.call(this); + ; + }).prototype = FollowedByIterable.prototype; + dart.addTypeTests(FollowedByIterable); + FollowedByIterable.prototype[_is_FollowedByIterable_default] = true; + dart.addTypeCaches(FollowedByIterable); + dart.setGetterSignature(FollowedByIterable, () => ({ + __proto__: dart.getGetters(FollowedByIterable.__proto__), + iterator: core.Iterator$(E), + [$iterator]: core.Iterator$(E) + })); + dart.setLibraryUri(FollowedByIterable, I[25]); + dart.setFieldSignature(FollowedByIterable, () => ({ + __proto__: dart.getFields(FollowedByIterable.__proto__), + [_first$]: dart.finalFieldType(core.Iterable$(E)), + [_second$]: dart.finalFieldType(core.Iterable$(E)) + })); + dart.defineExtensionMethods(FollowedByIterable, ['contains']); + dart.defineExtensionAccessors(FollowedByIterable, [ + 'iterator', + 'length', + 'isEmpty', + 'isNotEmpty', + 'first', + 'last' + ]); + return FollowedByIterable; +}); +_internal.FollowedByIterable = _internal.FollowedByIterable$(); +dart.addTypeTests(_internal.FollowedByIterable, _is_FollowedByIterable_default); +const _is_EfficientLengthFollowedByIterable_default = Symbol('_is_EfficientLengthFollowedByIterable_default'); +_internal.EfficientLengthFollowedByIterable$ = dart.generic(E => { + class EfficientLengthFollowedByIterable extends _internal.FollowedByIterable$(E) { + elementAt(index) { + if (index == null) dart.nullFailed(I[37], 820, 19, "index"); + let firstLength = this[_first$][$length]; + if (dart.notNull(index) < dart.notNull(firstLength)) return this[_first$][$elementAt](index); + return this[_second$][$elementAt](dart.notNull(index) - dart.notNull(firstLength)); + } + get first() { + if (dart.test(this[_first$][$isNotEmpty])) return this[_first$][$first]; + return this[_second$][$first]; + } + get last() { + if (dart.test(this[_second$][$isNotEmpty])) return this[_second$][$last]; + return this[_first$][$last]; + } + } + (EfficientLengthFollowedByIterable.new = function(first, second) { + if (first == null) dart.nullFailed(I[37], 817, 34, "first"); + if (second == null) dart.nullFailed(I[37], 817, 68, "second"); + EfficientLengthFollowedByIterable.__proto__.new.call(this, first, second); + ; + }).prototype = EfficientLengthFollowedByIterable.prototype; + dart.addTypeTests(EfficientLengthFollowedByIterable); + EfficientLengthFollowedByIterable.prototype[_is_EfficientLengthFollowedByIterable_default] = true; + dart.addTypeCaches(EfficientLengthFollowedByIterable); + EfficientLengthFollowedByIterable[dart.implements] = () => [_internal.EfficientLengthIterable$(E)]; + dart.setLibraryUri(EfficientLengthFollowedByIterable, I[25]); + dart.defineExtensionMethods(EfficientLengthFollowedByIterable, ['elementAt']); + dart.defineExtensionAccessors(EfficientLengthFollowedByIterable, ['first', 'last']); + return EfficientLengthFollowedByIterable; +}); +_internal.EfficientLengthFollowedByIterable = _internal.EfficientLengthFollowedByIterable$(); +dart.addTypeTests(_internal.EfficientLengthFollowedByIterable, _is_EfficientLengthFollowedByIterable_default); +var _nextIterable$ = dart.privateName(_internal, "_nextIterable"); +var _currentIterator = dart.privateName(_internal, "_currentIterator"); +const _is_FollowedByIterator_default = Symbol('_is_FollowedByIterator_default'); +_internal.FollowedByIterator$ = dart.generic(E => { + class FollowedByIterator extends core.Object { + moveNext() { + if (dart.test(this[_currentIterator].moveNext())) return true; + if (this[_nextIterable$] != null) { + this[_currentIterator] = dart.nullCheck(this[_nextIterable$])[$iterator]; + this[_nextIterable$] = null; + return this[_currentIterator].moveNext(); + } + return false; + } + get current() { + return this[_currentIterator].current; + } + } + (FollowedByIterator.new = function(first, _nextIterable) { + if (first == null) dart.nullFailed(I[37], 841, 34, "first"); + this[_nextIterable$] = _nextIterable; + this[_currentIterator] = first[$iterator]; + ; + }).prototype = FollowedByIterator.prototype; + dart.addTypeTests(FollowedByIterator); + FollowedByIterator.prototype[_is_FollowedByIterator_default] = true; + dart.addTypeCaches(FollowedByIterator); + FollowedByIterator[dart.implements] = () => [core.Iterator$(E)]; + dart.setMethodSignature(FollowedByIterator, () => ({ + __proto__: dart.getMethods(FollowedByIterator.__proto__), + moveNext: dart.fnType(core.bool, []) + })); + dart.setGetterSignature(FollowedByIterator, () => ({ + __proto__: dart.getGetters(FollowedByIterator.__proto__), + current: E + })); + dart.setLibraryUri(FollowedByIterator, I[25]); + dart.setFieldSignature(FollowedByIterator, () => ({ + __proto__: dart.getFields(FollowedByIterator.__proto__), + [_currentIterator]: dart.fieldType(core.Iterator$(E)), + [_nextIterable$]: dart.fieldType(dart.nullable(core.Iterable$(E))) + })); + return FollowedByIterator; +}); +_internal.FollowedByIterator = _internal.FollowedByIterator$(); +dart.addTypeTests(_internal.FollowedByIterator, _is_FollowedByIterator_default); +const _is_WhereTypeIterable_default = Symbol('_is_WhereTypeIterable_default'); +_internal.WhereTypeIterable$ = dart.generic(T => { + var WhereTypeIteratorOfT = () => (WhereTypeIteratorOfT = dart.constFn(_internal.WhereTypeIterator$(T)))(); + class WhereTypeIterable extends core.Iterable$(T) { + get iterator() { + return new (WhereTypeIteratorOfT()).new(this[_source$][$iterator]); + } + } + (WhereTypeIterable.new = function(_source) { + if (_source == null) dart.nullFailed(I[37], 859, 26, "_source"); + this[_source$] = _source; + WhereTypeIterable.__proto__.new.call(this); + ; + }).prototype = WhereTypeIterable.prototype; + dart.addTypeTests(WhereTypeIterable); + WhereTypeIterable.prototype[_is_WhereTypeIterable_default] = true; + dart.addTypeCaches(WhereTypeIterable); + dart.setGetterSignature(WhereTypeIterable, () => ({ + __proto__: dart.getGetters(WhereTypeIterable.__proto__), + iterator: core.Iterator$(T), + [$iterator]: core.Iterator$(T) + })); + dart.setLibraryUri(WhereTypeIterable, I[25]); + dart.setFieldSignature(WhereTypeIterable, () => ({ + __proto__: dart.getFields(WhereTypeIterable.__proto__), + [_source$]: dart.finalFieldType(core.Iterable$(dart.nullable(core.Object))) + })); + dart.defineExtensionAccessors(WhereTypeIterable, ['iterator']); + return WhereTypeIterable; +}); +_internal.WhereTypeIterable = _internal.WhereTypeIterable$(); +dart.addTypeTests(_internal.WhereTypeIterable, _is_WhereTypeIterable_default); +const _is_WhereTypeIterator_default = Symbol('_is_WhereTypeIterator_default'); +_internal.WhereTypeIterator$ = dart.generic(T => { + class WhereTypeIterator extends core.Object { + moveNext() { + while (dart.test(this[_source$].moveNext())) { + if (T.is(this[_source$].current)) return true; + } + return false; + } + get current() { + return T.as(this[_source$].current); + } + } + (WhereTypeIterator.new = function(_source) { + if (_source == null) dart.nullFailed(I[37], 865, 26, "_source"); + this[_source$] = _source; + ; + }).prototype = WhereTypeIterator.prototype; + dart.addTypeTests(WhereTypeIterator); + WhereTypeIterator.prototype[_is_WhereTypeIterator_default] = true; + dart.addTypeCaches(WhereTypeIterator); + WhereTypeIterator[dart.implements] = () => [core.Iterator$(T)]; + dart.setMethodSignature(WhereTypeIterator, () => ({ + __proto__: dart.getMethods(WhereTypeIterator.__proto__), + moveNext: dart.fnType(core.bool, []) + })); + dart.setGetterSignature(WhereTypeIterator, () => ({ + __proto__: dart.getGetters(WhereTypeIterator.__proto__), + current: T + })); + dart.setLibraryUri(WhereTypeIterator, I[25]); + dart.setFieldSignature(WhereTypeIterator, () => ({ + __proto__: dart.getFields(WhereTypeIterator.__proto__), + [_source$]: dart.finalFieldType(core.Iterator$(dart.nullable(core.Object))) + })); + return WhereTypeIterator; +}); +_internal.WhereTypeIterator = _internal.WhereTypeIterator$(); +dart.addTypeTests(_internal.WhereTypeIterator, _is_WhereTypeIterator_default); +_internal.IterableElementError = class IterableElementError extends core.Object { + static noElement() { + return new core.StateError.new("No element"); + } + static tooMany() { + return new core.StateError.new("Too many elements"); + } + static tooFew() { + return new core.StateError.new("Too few elements"); + } +}; +(_internal.IterableElementError.new = function() { + ; +}).prototype = _internal.IterableElementError.prototype; +dart.addTypeTests(_internal.IterableElementError); +dart.addTypeCaches(_internal.IterableElementError); +dart.setLibraryUri(_internal.IterableElementError, I[25]); +const _is_FixedLengthListMixin_default = Symbol('_is_FixedLengthListMixin_default'); +_internal.FixedLengthListMixin$ = dart.generic(E => { + var IterableOfE = () => (IterableOfE = dart.constFn(core.Iterable$(E)))(); + class FixedLengthListMixin extends core.Object { + set length(newLength) { + if (newLength == null) dart.nullFailed(I[22], 14, 18, "newLength"); + dart.throw(new core.UnsupportedError.new("Cannot change the length of a fixed-length list")); + } + add(value) { + E.as(value); + dart.throw(new core.UnsupportedError.new("Cannot add to a fixed-length list")); + } + insert(index, value) { + if (index == null) dart.nullFailed(I[22], 25, 19, "index"); + E.as(value); + dart.throw(new core.UnsupportedError.new("Cannot add to a fixed-length list")); + } + insertAll(at, iterable) { + if (at == null) dart.nullFailed(I[22], 30, 22, "at"); + IterableOfE().as(iterable); + if (iterable == null) dart.nullFailed(I[22], 30, 38, "iterable"); + dart.throw(new core.UnsupportedError.new("Cannot add to a fixed-length list")); + } + addAll(iterable) { + IterableOfE().as(iterable); + if (iterable == null) dart.nullFailed(I[22], 35, 27, "iterable"); + dart.throw(new core.UnsupportedError.new("Cannot add to a fixed-length list")); + } + remove(element) { + dart.throw(new core.UnsupportedError.new("Cannot remove from a fixed-length list")); + } + removeWhere(test) { + if (test == null) dart.nullFailed(I[22], 45, 25, "test"); + dart.throw(new core.UnsupportedError.new("Cannot remove from a fixed-length list")); + } + retainWhere(test) { + if (test == null) dart.nullFailed(I[22], 50, 25, "test"); + dart.throw(new core.UnsupportedError.new("Cannot remove from a fixed-length list")); + } + clear() { + dart.throw(new core.UnsupportedError.new("Cannot clear a fixed-length list")); + } + removeAt(index) { + if (index == null) dart.nullFailed(I[22], 60, 18, "index"); + dart.throw(new core.UnsupportedError.new("Cannot remove from a fixed-length list")); + } + removeLast() { + dart.throw(new core.UnsupportedError.new("Cannot remove from a fixed-length list")); + } + removeRange(start, end) { + if (start == null) dart.nullFailed(I[22], 70, 24, "start"); + if (end == null) dart.nullFailed(I[22], 70, 35, "end"); + dart.throw(new core.UnsupportedError.new("Cannot remove from a fixed-length list")); + } + replaceRange(start, end, iterable) { + if (start == null) dart.nullFailed(I[22], 75, 25, "start"); + if (end == null) dart.nullFailed(I[22], 75, 36, "end"); + IterableOfE().as(iterable); + if (iterable == null) dart.nullFailed(I[22], 75, 53, "iterable"); + dart.throw(new core.UnsupportedError.new("Cannot remove from a fixed-length list")); + } + } + (FixedLengthListMixin.new = function() { + ; + }).prototype = FixedLengthListMixin.prototype; + dart.addTypeTests(FixedLengthListMixin); + FixedLengthListMixin.prototype[_is_FixedLengthListMixin_default] = true; + dart.addTypeCaches(FixedLengthListMixin); + dart.setMethodSignature(FixedLengthListMixin, () => ({ + __proto__: dart.getMethods(FixedLengthListMixin.__proto__), + add: dart.fnType(dart.void, [dart.nullable(core.Object)]), + [$add]: dart.fnType(dart.void, [dart.nullable(core.Object)]), + insert: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), + [$insert]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), + insertAll: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), + [$insertAll]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), + addAll: dart.fnType(dart.void, [dart.nullable(core.Object)]), + [$addAll]: dart.fnType(dart.void, [dart.nullable(core.Object)]), + remove: dart.fnType(core.bool, [dart.nullable(core.Object)]), + [$remove]: dart.fnType(core.bool, [dart.nullable(core.Object)]), + removeWhere: dart.fnType(dart.void, [dart.fnType(core.bool, [E])]), + [$removeWhere]: dart.fnType(dart.void, [dart.fnType(core.bool, [E])]), + retainWhere: dart.fnType(dart.void, [dart.fnType(core.bool, [E])]), + [$retainWhere]: dart.fnType(dart.void, [dart.fnType(core.bool, [E])]), + clear: dart.fnType(dart.void, []), + [$clear]: dart.fnType(dart.void, []), + removeAt: dart.fnType(E, [core.int]), + [$removeAt]: dart.fnType(E, [core.int]), + removeLast: dart.fnType(E, []), + [$removeLast]: dart.fnType(E, []), + removeRange: dart.fnType(dart.void, [core.int, core.int]), + [$removeRange]: dart.fnType(dart.void, [core.int, core.int]), + replaceRange: dart.fnType(dart.void, [core.int, core.int, dart.nullable(core.Object)]), + [$replaceRange]: dart.fnType(dart.void, [core.int, core.int, dart.nullable(core.Object)]) + })); + dart.setSetterSignature(FixedLengthListMixin, () => ({ + __proto__: dart.getSetters(FixedLengthListMixin.__proto__), + length: core.int, + [$length]: core.int + })); + dart.setLibraryUri(FixedLengthListMixin, I[25]); + dart.defineExtensionMethods(FixedLengthListMixin, [ + 'add', + 'insert', + 'insertAll', + 'addAll', + 'remove', + 'removeWhere', + 'retainWhere', + 'clear', + 'removeAt', + 'removeLast', + 'removeRange', + 'replaceRange' + ]); + dart.defineExtensionAccessors(FixedLengthListMixin, ['length']); + return FixedLengthListMixin; +}); +_internal.FixedLengthListMixin = _internal.FixedLengthListMixin$(); +dart.addTypeTests(_internal.FixedLengthListMixin, _is_FixedLengthListMixin_default); +const _is_FixedLengthListBase_default = Symbol('_is_FixedLengthListBase_default'); +_internal.FixedLengthListBase$ = dart.generic(E => { + var IterableOfE = () => (IterableOfE = dart.constFn(core.Iterable$(E)))(); + const ListBase_FixedLengthListMixin$36 = class ListBase_FixedLengthListMixin extends collection.ListBase$(E) {}; + (ListBase_FixedLengthListMixin$36.new = function() { + }).prototype = ListBase_FixedLengthListMixin$36.prototype; + dart.applyMixin(ListBase_FixedLengthListMixin$36, _internal.FixedLengthListMixin$(E)); + class FixedLengthListBase extends ListBase_FixedLengthListMixin$36 { + set length(newLength) { + if (newLength == null) dart.nullFailed(I[22], 199, 16, "newLength"); + return super[$length] = newLength; + } + add(value) { + E.as(value); + return super[$add](value); + } + insert(index, value) { + if (index == null) dart.nullFailed(I[22], 199, 16, "index"); + E.as(value); + return super[$insert](index, value); + } + insertAll(at, iterable) { + if (at == null) dart.nullFailed(I[22], 199, 16, "at"); + IterableOfE().as(iterable); + if (iterable == null) dart.nullFailed(I[22], 199, 16, "iterable"); + return super[$insertAll](at, iterable); + } + addAll(iterable) { + IterableOfE().as(iterable); + if (iterable == null) dart.nullFailed(I[22], 199, 16, "iterable"); + return super[$addAll](iterable); + } + remove(element) { + return super[$remove](element); + } + removeWhere(test) { + if (test == null) dart.nullFailed(I[22], 199, 16, "test"); + return super[$removeWhere](test); + } + retainWhere(test) { + if (test == null) dart.nullFailed(I[22], 199, 16, "test"); + return super[$retainWhere](test); + } + clear() { + return super[$clear](); + } + removeAt(index) { + if (index == null) dart.nullFailed(I[22], 199, 16, "index"); + return super[$removeAt](index); + } + removeLast() { + return super[$removeLast](); + } + removeRange(start, end) { + if (start == null) dart.nullFailed(I[22], 199, 16, "start"); + if (end == null) dart.nullFailed(I[22], 199, 16, "end"); + return super[$removeRange](start, end); + } + replaceRange(start, end, iterable) { + if (start == null) dart.nullFailed(I[22], 199, 16, "start"); + if (end == null) dart.nullFailed(I[22], 199, 16, "end"); + IterableOfE().as(iterable); + if (iterable == null) dart.nullFailed(I[22], 199, 16, "iterable"); + return super[$replaceRange](start, end, iterable); + } + } + (FixedLengthListBase.new = function() { + ; + }).prototype = FixedLengthListBase.prototype; + dart.addTypeTests(FixedLengthListBase); + FixedLengthListBase.prototype[_is_FixedLengthListBase_default] = true; + dart.addTypeCaches(FixedLengthListBase); + dart.setSetterSignature(FixedLengthListBase, () => ({ + __proto__: dart.getSetters(FixedLengthListBase.__proto__), + length: core.int, + [$length]: core.int + })); + dart.setLibraryUri(FixedLengthListBase, I[25]); + dart.defineExtensionMethods(FixedLengthListBase, [ + 'add', + 'insert', + 'insertAll', + 'addAll', + 'remove', + 'removeWhere', + 'retainWhere', + 'clear', + 'removeAt', + 'removeLast', + 'removeRange', + 'replaceRange' + ]); + dart.defineExtensionAccessors(FixedLengthListBase, ['length']); + return FixedLengthListBase; +}); +_internal.FixedLengthListBase = _internal.FixedLengthListBase$(); +dart.addTypeTests(_internal.FixedLengthListBase, _is_FixedLengthListBase_default); +var _backedList$ = dart.privateName(_internal, "_backedList"); +_internal._ListIndicesIterable = class _ListIndicesIterable extends _internal.ListIterable$(core.int) { + get length() { + return this[_backedList$][$length]; + } + elementAt(index) { + if (index == null) dart.nullFailed(I[22], 217, 21, "index"); + core.RangeError.checkValidIndex(index, this); + return index; + } +}; +(_internal._ListIndicesIterable.new = function(_backedList) { + if (_backedList == null) dart.nullFailed(I[22], 214, 29, "_backedList"); + this[_backedList$] = _backedList; + _internal._ListIndicesIterable.__proto__.new.call(this); + ; +}).prototype = _internal._ListIndicesIterable.prototype; +dart.addTypeTests(_internal._ListIndicesIterable); +dart.addTypeCaches(_internal._ListIndicesIterable); +dart.setLibraryUri(_internal._ListIndicesIterable, I[25]); +dart.setFieldSignature(_internal._ListIndicesIterable, () => ({ + __proto__: dart.getFields(_internal._ListIndicesIterable.__proto__), + [_backedList$]: dart.fieldType(core.List) +})); +dart.defineExtensionMethods(_internal._ListIndicesIterable, ['elementAt']); +dart.defineExtensionAccessors(_internal._ListIndicesIterable, ['length']); +var _values$ = dart.privateName(_internal, "_values"); +const _is__UnmodifiableMapMixin_default = Symbol('_is__UnmodifiableMapMixin_default'); +collection._UnmodifiableMapMixin$ = dart.generic((K, V) => { + var MapOfK$V = () => (MapOfK$V = dart.constFn(core.Map$(K, V)))(); + var MapEntryOfK$V = () => (MapEntryOfK$V = dart.constFn(core.MapEntry$(K, V)))(); + var IterableOfMapEntryOfK$V = () => (IterableOfMapEntryOfK$V = dart.constFn(core.Iterable$(MapEntryOfK$V())))(); + var KAndVToV = () => (KAndVToV = dart.constFn(dart.fnType(V, [K, V])))(); + var VoidToV = () => (VoidToV = dart.constFn(dart.fnType(V, [])))(); + var VToV = () => (VToV = dart.constFn(dart.fnType(V, [V])))(); + var VoidToNV = () => (VoidToNV = dart.constFn(dart.nullable(VoidToV())))(); + class _UnmodifiableMapMixin extends core.Object { + _set(key, value$) { + let value = value$; + K.as(key); + V.as(value); + dart.throw(new core.UnsupportedError.new("Cannot modify unmodifiable map")); + return value$; + } + addAll(other) { + MapOfK$V().as(other); + if (other == null) dart.nullFailed(I[35], 273, 25, "other"); + dart.throw(new core.UnsupportedError.new("Cannot modify unmodifiable map")); + } + addEntries(entries) { + IterableOfMapEntryOfK$V().as(entries); + if (entries == null) dart.nullFailed(I[35], 278, 44, "entries"); + dart.throw(new core.UnsupportedError.new("Cannot modify unmodifiable map")); + } + clear() { + dart.throw(new core.UnsupportedError.new("Cannot modify unmodifiable map")); + } + remove(key) { + dart.throw(new core.UnsupportedError.new("Cannot modify unmodifiable map")); + } + removeWhere(test) { + if (test == null) dart.nullFailed(I[35], 293, 25, "test"); + dart.throw(new core.UnsupportedError.new("Cannot modify unmodifiable map")); + } + putIfAbsent(key, ifAbsent) { + K.as(key); + VoidToV().as(ifAbsent); + if (ifAbsent == null) dart.nullFailed(I[35], 298, 26, "ifAbsent"); + dart.throw(new core.UnsupportedError.new("Cannot modify unmodifiable map")); + } + update(key, update, opts) { + K.as(key); + VToV().as(update); + if (update == null) dart.nullFailed(I[35], 303, 21, "update"); + let ifAbsent = opts && 'ifAbsent' in opts ? opts.ifAbsent : null; + VoidToNV().as(ifAbsent); + dart.throw(new core.UnsupportedError.new("Cannot modify unmodifiable map")); + } + updateAll(update) { + KAndVToV().as(update); + if (update == null) dart.nullFailed(I[35], 308, 20, "update"); + dart.throw(new core.UnsupportedError.new("Cannot modify unmodifiable map")); + } + } + (_UnmodifiableMapMixin.new = function() { + ; + }).prototype = _UnmodifiableMapMixin.prototype; + _UnmodifiableMapMixin.prototype[dart.isMap] = true; + dart.addTypeTests(_UnmodifiableMapMixin); + _UnmodifiableMapMixin.prototype[_is__UnmodifiableMapMixin_default] = true; + dart.addTypeCaches(_UnmodifiableMapMixin); + _UnmodifiableMapMixin[dart.implements] = () => [core.Map$(K, V)]; + dart.setMethodSignature(_UnmodifiableMapMixin, () => ({ + __proto__: dart.getMethods(_UnmodifiableMapMixin.__proto__), + _set: dart.fnType(dart.void, [dart.nullable(core.Object), dart.nullable(core.Object)]), + [$_set]: dart.fnType(dart.void, [dart.nullable(core.Object), dart.nullable(core.Object)]), + addAll: dart.fnType(dart.void, [dart.nullable(core.Object)]), + [$addAll]: dart.fnType(dart.void, [dart.nullable(core.Object)]), + addEntries: dart.fnType(dart.void, [dart.nullable(core.Object)]), + [$addEntries]: dart.fnType(dart.void, [dart.nullable(core.Object)]), + clear: dart.fnType(dart.void, []), + [$clear]: dart.fnType(dart.void, []), + remove: dart.fnType(dart.nullable(V), [dart.nullable(core.Object)]), + [$remove]: dart.fnType(dart.nullable(V), [dart.nullable(core.Object)]), + removeWhere: dart.fnType(dart.void, [dart.fnType(core.bool, [K, V])]), + [$removeWhere]: dart.fnType(dart.void, [dart.fnType(core.bool, [K, V])]), + putIfAbsent: dart.fnType(V, [dart.nullable(core.Object), dart.nullable(core.Object)]), + [$putIfAbsent]: dart.fnType(V, [dart.nullable(core.Object), dart.nullable(core.Object)]), + update: dart.fnType(V, [dart.nullable(core.Object), dart.nullable(core.Object)], {ifAbsent: dart.nullable(core.Object)}, {}), + [$update]: dart.fnType(V, [dart.nullable(core.Object), dart.nullable(core.Object)], {ifAbsent: dart.nullable(core.Object)}, {}), + updateAll: dart.fnType(dart.void, [dart.nullable(core.Object)]), + [$updateAll]: dart.fnType(dart.void, [dart.nullable(core.Object)]) + })); + dart.setLibraryUri(_UnmodifiableMapMixin, I[24]); + dart.defineExtensionMethods(_UnmodifiableMapMixin, [ + '_set', + 'addAll', + 'addEntries', + 'clear', + 'remove', + 'removeWhere', + 'putIfAbsent', + 'update', + 'updateAll' + ]); + return _UnmodifiableMapMixin; +}); +collection._UnmodifiableMapMixin = collection._UnmodifiableMapMixin$(); +dart.addTypeTests(collection._UnmodifiableMapMixin, _is__UnmodifiableMapMixin_default); +const _is_UnmodifiableMapBase_default = Symbol('_is_UnmodifiableMapBase_default'); +collection.UnmodifiableMapBase$ = dart.generic((K, V) => { + var MapOfK$V = () => (MapOfK$V = dart.constFn(core.Map$(K, V)))(); + var MapEntryOfK$V = () => (MapEntryOfK$V = dart.constFn(core.MapEntry$(K, V)))(); + var IterableOfMapEntryOfK$V = () => (IterableOfMapEntryOfK$V = dart.constFn(core.Iterable$(MapEntryOfK$V())))(); + var KAndVToV = () => (KAndVToV = dart.constFn(dart.fnType(V, [K, V])))(); + var VoidToV = () => (VoidToV = dart.constFn(dart.fnType(V, [])))(); + var VToV = () => (VToV = dart.constFn(dart.fnType(V, [V])))(); + var VoidToNV = () => (VoidToNV = dart.constFn(dart.nullable(VoidToV())))(); + const MapBase__UnmodifiableMapMixin$36 = class MapBase__UnmodifiableMapMixin extends collection.MapBase$(K, V) {}; + (MapBase__UnmodifiableMapMixin$36.new = function() { + }).prototype = MapBase__UnmodifiableMapMixin$36.prototype; + dart.applyMixin(MapBase__UnmodifiableMapMixin$36, collection._UnmodifiableMapMixin$(K, V)); + class UnmodifiableMapBase extends MapBase__UnmodifiableMapMixin$36 { + _set(key, value$) { + let value = value$; + K.as(key); + V.as(value); + super._set(key, value); + return value$; + } + addAll(other) { + MapOfK$V().as(other); + if (other == null) dart.nullFailed(I[35], 217, 16, "other"); + return super.addAll(other); + } + addEntries(entries) { + IterableOfMapEntryOfK$V().as(entries); + if (entries == null) dart.nullFailed(I[35], 217, 16, "entries"); + return super.addEntries(entries); + } + clear() { + return super.clear(); + } + remove(key) { + return super.remove(key); + } + removeWhere(test) { + if (test == null) dart.nullFailed(I[35], 217, 16, "test"); + return super.removeWhere(test); + } + putIfAbsent(key, ifAbsent) { + K.as(key); + VoidToV().as(ifAbsent); + if (ifAbsent == null) dart.nullFailed(I[35], 217, 16, "ifAbsent"); + return super.putIfAbsent(key, ifAbsent); + } + update(key, update, opts) { + K.as(key); + VToV().as(update); + if (update == null) dart.nullFailed(I[35], 217, 16, "update"); + let ifAbsent = opts && 'ifAbsent' in opts ? opts.ifAbsent : null; + VoidToNV().as(ifAbsent); + return super.update(key, update, {ifAbsent: ifAbsent}); + } + updateAll(update) { + KAndVToV().as(update); + if (update == null) dart.nullFailed(I[35], 217, 16, "update"); + return super.updateAll(update); + } + } + (UnmodifiableMapBase.new = function() { + ; + }).prototype = UnmodifiableMapBase.prototype; + dart.addTypeTests(UnmodifiableMapBase); + UnmodifiableMapBase.prototype[_is_UnmodifiableMapBase_default] = true; + dart.addTypeCaches(UnmodifiableMapBase); + dart.setMethodSignature(UnmodifiableMapBase, () => ({ + __proto__: dart.getMethods(UnmodifiableMapBase.__proto__), + _set: dart.fnType(dart.void, [dart.nullable(core.Object), dart.nullable(core.Object)]), + [$_set]: dart.fnType(dart.void, [dart.nullable(core.Object), dart.nullable(core.Object)]), + clear: dart.fnType(dart.void, []), + [$clear]: dart.fnType(dart.void, []), + remove: dart.fnType(dart.nullable(V), [dart.nullable(core.Object)]), + [$remove]: dart.fnType(dart.nullable(V), [dart.nullable(core.Object)]) + })); + dart.setLibraryUri(UnmodifiableMapBase, I[24]); + dart.defineExtensionMethods(UnmodifiableMapBase, [ + '_set', + 'addAll', + 'addEntries', + 'clear', + 'remove', + 'removeWhere', + 'putIfAbsent', + 'update', + 'updateAll' + ]); + return UnmodifiableMapBase; +}); +collection.UnmodifiableMapBase = collection.UnmodifiableMapBase$(); +dart.addTypeTests(collection.UnmodifiableMapBase, _is_UnmodifiableMapBase_default); +const _is_ListMapView_default = Symbol('_is_ListMapView_default'); +_internal.ListMapView$ = dart.generic(E => { + var SubListIterableOfE = () => (SubListIterableOfE = dart.constFn(_internal.SubListIterable$(E)))(); + class ListMapView extends collection.UnmodifiableMapBase$(core.int, E) { + _get(key) { + return dart.test(this.containsKey(key)) ? this[_values$][$_get](core.int.as(key)) : null; + } + get length() { + return this[_values$][$length]; + } + get values() { + return new (SubListIterableOfE()).new(this[_values$], 0, null); + } + get keys() { + return new _internal._ListIndicesIterable.new(this[_values$]); + } + get isEmpty() { + return this[_values$][$isEmpty]; + } + get isNotEmpty() { + return this[_values$][$isNotEmpty]; + } + containsValue(value) { + return this[_values$][$contains](value); + } + containsKey(key) { + return core.int.is(key) && dart.notNull(key) >= 0 && dart.notNull(key) < dart.notNull(this.length); + } + forEach(f) { + if (f == null) dart.nullFailed(I[22], 239, 21, "f"); + let length = this[_values$][$length]; + for (let i = 0; i < dart.notNull(length); i = i + 1) { + f(i, this[_values$][$_get](i)); + if (length != this[_values$][$length]) { + dart.throw(new core.ConcurrentModificationError.new(this[_values$])); + } + } + } + } + (ListMapView.new = function(_values) { + if (_values == null) dart.nullFailed(I[22], 226, 20, "_values"); + this[_values$] = _values; + ; + }).prototype = ListMapView.prototype; + dart.addTypeTests(ListMapView); + ListMapView.prototype[_is_ListMapView_default] = true; + dart.addTypeCaches(ListMapView); + dart.setMethodSignature(ListMapView, () => ({ + __proto__: dart.getMethods(ListMapView.__proto__), + _get: dart.fnType(dart.nullable(E), [dart.nullable(core.Object)]), + [$_get]: dart.fnType(dart.nullable(E), [dart.nullable(core.Object)]) + })); + dart.setGetterSignature(ListMapView, () => ({ + __proto__: dart.getGetters(ListMapView.__proto__), + keys: core.Iterable$(core.int), + [$keys]: core.Iterable$(core.int) + })); + dart.setLibraryUri(ListMapView, I[25]); + dart.setFieldSignature(ListMapView, () => ({ + __proto__: dart.getFields(ListMapView.__proto__), + [_values$]: dart.fieldType(core.List$(E)) + })); + dart.defineExtensionMethods(ListMapView, ['_get', 'containsValue', 'containsKey', 'forEach']); + dart.defineExtensionAccessors(ListMapView, [ + 'length', + 'values', + 'keys', + 'isEmpty', + 'isNotEmpty' + ]); + return ListMapView; +}); +_internal.ListMapView = _internal.ListMapView$(); +dart.addTypeTests(_internal.ListMapView, _is_ListMapView_default); +const _is_ReversedListIterable_default = Symbol('_is_ReversedListIterable_default'); +_internal.ReversedListIterable$ = dart.generic(E => { + class ReversedListIterable extends _internal.ListIterable$(E) { + get length() { + return this[_source$][$length]; + } + elementAt(index) { + if (index == null) dart.nullFailed(I[22], 256, 19, "index"); + return this[_source$][$elementAt](dart.notNull(this[_source$][$length]) - 1 - dart.notNull(index)); + } + } + (ReversedListIterable.new = function(_source) { + if (_source == null) dart.nullFailed(I[22], 252, 29, "_source"); + this[_source$] = _source; + ReversedListIterable.__proto__.new.call(this); + ; + }).prototype = ReversedListIterable.prototype; + dart.addTypeTests(ReversedListIterable); + ReversedListIterable.prototype[_is_ReversedListIterable_default] = true; + dart.addTypeCaches(ReversedListIterable); + dart.setLibraryUri(ReversedListIterable, I[25]); + dart.setFieldSignature(ReversedListIterable, () => ({ + __proto__: dart.getFields(ReversedListIterable.__proto__), + [_source$]: dart.fieldType(core.Iterable$(E)) + })); + dart.defineExtensionMethods(ReversedListIterable, ['elementAt']); + dart.defineExtensionAccessors(ReversedListIterable, ['length']); + return ReversedListIterable; +}); +_internal.ReversedListIterable = _internal.ReversedListIterable$(); +dart.addTypeTests(_internal.ReversedListIterable, _is_ReversedListIterable_default); +_internal.UnmodifiableListError = class UnmodifiableListError extends core.Object { + static add() { + return new core.UnsupportedError.new("Cannot add to unmodifiable List"); + } + static change() { + return new core.UnsupportedError.new("Cannot change the content of an unmodifiable List"); + } + static length() { + return new core.UnsupportedError.new("Cannot change length of unmodifiable List"); + } + static remove() { + return new core.UnsupportedError.new("Cannot remove from unmodifiable List"); + } +}; +(_internal.UnmodifiableListError.new = function() { + ; +}).prototype = _internal.UnmodifiableListError.prototype; +dart.addTypeTests(_internal.UnmodifiableListError); +dart.addTypeCaches(_internal.UnmodifiableListError); +dart.setLibraryUri(_internal.UnmodifiableListError, I[25]); +_internal.NonGrowableListError = class NonGrowableListError extends core.Object { + static add() { + return new core.UnsupportedError.new("Cannot add to non-growable List"); + } + static length() { + return new core.UnsupportedError.new("Cannot change length of non-growable List"); + } + static remove() { + return new core.UnsupportedError.new("Cannot remove from non-growable List"); + } +}; +(_internal.NonGrowableListError.new = function() { + ; +}).prototype = _internal.NonGrowableListError.prototype; +dart.addTypeTests(_internal.NonGrowableListError); +dart.addTypeCaches(_internal.NonGrowableListError); +dart.setLibraryUri(_internal.NonGrowableListError, I[25]); +var length = dart.privateName(_internal, "LinkedList.length"); +var _last = dart.privateName(_internal, "_last"); +var _next = dart.privateName(_internal, "_next"); +var _previous = dart.privateName(_internal, "_previous"); +var _list = dart.privateName(_internal, "_list"); +const _is_IterableBase_default = Symbol('_is_IterableBase_default'); +collection.IterableBase$ = dart.generic(E => { + class IterableBase extends core.Iterable$(E) { + static iterableToShortString(iterable, leftDelimiter = "(", rightDelimiter = ")") { + let t82; + if (iterable == null) dart.nullFailed(I[39], 226, 48, "iterable"); + if (leftDelimiter == null) dart.nullFailed(I[39], 227, 15, "leftDelimiter"); + if (rightDelimiter == null) dart.nullFailed(I[39], 227, 43, "rightDelimiter"); + if (dart.test(collection._isToStringVisiting(iterable))) { + if (leftDelimiter === "(" && rightDelimiter === ")") { + return "(...)"; + } + return dart.str(leftDelimiter) + "..." + dart.str(rightDelimiter); + } + let parts = T$.JSArrayOfString().of([]); + collection._toStringVisiting[$add](iterable); + try { + collection._iterablePartsToStrings(iterable, parts); + } finally { + if (!core.identical(collection._toStringVisiting[$last], iterable)) dart.assertFailed(null, I[39], 240, 14, "identical(_toStringVisiting.last, iterable)"); + collection._toStringVisiting[$removeLast](); + } + return (t82 = new core.StringBuffer.new(leftDelimiter), (() => { + t82.writeAll(parts, ", "); + t82.write(rightDelimiter); + return t82; + })()).toString(); + } + static iterableToFullString(iterable, leftDelimiter = "(", rightDelimiter = ")") { + if (iterable == null) dart.nullFailed(I[39], 259, 47, "iterable"); + if (leftDelimiter == null) dart.nullFailed(I[39], 260, 15, "leftDelimiter"); + if (rightDelimiter == null) dart.nullFailed(I[39], 260, 43, "rightDelimiter"); + if (dart.test(collection._isToStringVisiting(iterable))) { + return dart.str(leftDelimiter) + "..." + dart.str(rightDelimiter); + } + let buffer = new core.StringBuffer.new(leftDelimiter); + collection._toStringVisiting[$add](iterable); + try { + buffer.writeAll(iterable, ", "); + } finally { + if (!core.identical(collection._toStringVisiting[$last], iterable)) dart.assertFailed(null, I[39], 269, 14, "identical(_toStringVisiting.last, iterable)"); + collection._toStringVisiting[$removeLast](); + } + buffer.write(rightDelimiter); + return buffer.toString(); + } + } + (IterableBase.new = function() { + IterableBase.__proto__.new.call(this); + ; + }).prototype = IterableBase.prototype; + dart.addTypeTests(IterableBase); + IterableBase.prototype[_is_IterableBase_default] = true; + dart.addTypeCaches(IterableBase); + dart.setLibraryUri(IterableBase, I[24]); + return IterableBase; +}); +collection.IterableBase = collection.IterableBase$(); +dart.addTypeTests(collection.IterableBase, _is_IterableBase_default); +const _is_LinkedList_default = Symbol('_is_LinkedList_default'); +_internal.LinkedList$ = dart.generic(T => { + var _LinkedListIteratorOfT = () => (_LinkedListIteratorOfT = dart.constFn(_internal._LinkedListIterator$(T)))(); + class LinkedList extends collection.IterableBase$(T) { + get length() { + return this[length]; + } + set length(value) { + this[length] = value; + } + get first() { + return dart.nullCast(this[_first$], T); + } + get last() { + return dart.nullCast(this[_last], T); + } + get isEmpty() { + return this.length === 0; + } + add(newLast) { + T.as(newLast); + if (newLast == null) dart.nullFailed(I[38], 22, 14, "newLast"); + if (!(newLast[_next] == null && newLast[_previous] == null)) dart.assertFailed(null, I[38], 23, 12, "newLast._next == null && newLast._previous == null"); + if (this[_last] != null) { + if (!(dart.nullCheck(this[_last])[_next] == null)) dart.assertFailed(null, I[38], 25, 14, "_last!._next == null"); + dart.nullCheck(this[_last])[_next] = newLast; + } else { + this[_first$] = newLast; + } + newLast[_previous] = this[_last]; + this[_last] = newLast; + dart.nullCheck(this[_last])[_list] = this; + this.length = dart.notNull(this.length) + 1; + } + addFirst(newFirst) { + T.as(newFirst); + if (newFirst == null) dart.nullFailed(I[38], 39, 19, "newFirst"); + if (this[_first$] != null) { + if (!(dart.nullCheck(this[_first$])[_previous] == null)) dart.assertFailed(null, I[38], 41, 14, "_first!._previous == null"); + dart.nullCheck(this[_first$])[_previous] = newFirst; + } else { + this[_last] = newFirst; + } + newFirst[_next] = this[_first$]; + this[_first$] = newFirst; + dart.nullCheck(this[_first$])[_list] = this; + this.length = dart.notNull(this.length) + 1; + } + remove(node) { + T.as(node); + if (node == null) dart.nullFailed(I[38], 59, 17, "node"); + if (!dart.equals(node[_list], this)) return; + this.length = dart.notNull(this.length) - 1; + if (node[_previous] == null) { + if (!(node == this[_first$])) dart.assertFailed(null, I[38], 63, 14, "identical(node, _first)"); + this[_first$] = node[_next]; + } else { + dart.nullCheck(node[_previous])[_next] = node[_next]; + } + if (node[_next] == null) { + if (!(node == this[_last])) dart.assertFailed(null, I[38], 69, 14, "identical(node, _last)"); + this[_last] = node[_previous]; + } else { + dart.nullCheck(node[_next])[_previous] = node[_previous]; + } + node[_next] = node[_previous] = null; + node[_list] = null; + } + get iterator() { + return new (_LinkedListIteratorOfT()).new(this); + } + } + (LinkedList.new = function() { + this[_first$] = null; + this[_last] = null; + this[length] = 0; + LinkedList.__proto__.new.call(this); + ; + }).prototype = LinkedList.prototype; + dart.addTypeTests(LinkedList); + LinkedList.prototype[_is_LinkedList_default] = true; + dart.addTypeCaches(LinkedList); + dart.setMethodSignature(LinkedList, () => ({ + __proto__: dart.getMethods(LinkedList.__proto__), + add: dart.fnType(dart.void, [dart.nullable(core.Object)]), + addFirst: dart.fnType(dart.void, [dart.nullable(core.Object)]), + remove: dart.fnType(dart.void, [dart.nullable(core.Object)]) + })); + dart.setGetterSignature(LinkedList, () => ({ + __proto__: dart.getGetters(LinkedList.__proto__), + iterator: core.Iterator$(T), + [$iterator]: core.Iterator$(T) + })); + dart.setLibraryUri(LinkedList, I[25]); + dart.setFieldSignature(LinkedList, () => ({ + __proto__: dart.getFields(LinkedList.__proto__), + [_first$]: dart.fieldType(dart.nullable(T)), + [_last]: dart.fieldType(dart.nullable(T)), + length: dart.fieldType(core.int) + })); + dart.defineExtensionAccessors(LinkedList, [ + 'length', + 'first', + 'last', + 'isEmpty', + 'iterator' + ]); + return LinkedList; +}); +_internal.LinkedList = _internal.LinkedList$(); +dart.addTypeTests(_internal.LinkedList, _is_LinkedList_default); +var _next$ = dart.privateName(_internal, "LinkedListEntry._next"); +var _previous$ = dart.privateName(_internal, "LinkedListEntry._previous"); +var _list$ = dart.privateName(_internal, "LinkedListEntry._list"); +const _is_LinkedListEntry_default = Symbol('_is_LinkedListEntry_default'); +_internal.LinkedListEntry$ = dart.generic(T => { + var TN = () => (TN = dart.constFn(dart.nullable(T)))(); + var LinkedListOfT = () => (LinkedListOfT = dart.constFn(_internal.LinkedList$(T)))(); + var LinkedListNOfT = () => (LinkedListNOfT = dart.constFn(dart.nullable(LinkedListOfT())))(); + class LinkedListEntry extends core.Object { + get [_next]() { + return this[_next$]; + } + set [_next](value) { + this[_next$] = TN().as(value); + } + get [_previous]() { + return this[_previous$]; + } + set [_previous](value) { + this[_previous$] = TN().as(value); + } + get [_list]() { + return this[_list$]; + } + set [_list](value) { + this[_list$] = LinkedListNOfT().as(value); + } + unlink() { + let t82; + t82 = this[_list]; + t82 == null ? null : t82.remove(T.as(this)); + } + } + (LinkedListEntry.new = function() { + this[_next$] = null; + this[_previous$] = null; + this[_list$] = null; + ; + }).prototype = LinkedListEntry.prototype; + dart.addTypeTests(LinkedListEntry); + LinkedListEntry.prototype[_is_LinkedListEntry_default] = true; + dart.addTypeCaches(LinkedListEntry); + dart.setMethodSignature(LinkedListEntry, () => ({ + __proto__: dart.getMethods(LinkedListEntry.__proto__), + unlink: dart.fnType(dart.void, []) + })); + dart.setLibraryUri(LinkedListEntry, I[25]); + dart.setFieldSignature(LinkedListEntry, () => ({ + __proto__: dart.getFields(LinkedListEntry.__proto__), + [_next]: dart.fieldType(dart.nullable(T)), + [_previous]: dart.fieldType(dart.nullable(T)), + [_list]: dart.fieldType(dart.nullable(_internal.LinkedList$(T))) + })); + return LinkedListEntry; +}); +_internal.LinkedListEntry = _internal.LinkedListEntry$(); +dart.addTypeTests(_internal.LinkedListEntry, _is_LinkedListEntry_default); +const _is__LinkedListIterator_default = Symbol('_is__LinkedListIterator_default'); +_internal._LinkedListIterator$ = dart.generic(T => { + class _LinkedListIterator extends core.Object { + get current() { + return dart.nullCast(this[_current$], T); + } + moveNext() { + if (this[_current$] == null) { + let list = this[_list]; + if (list == null) return false; + if (!(dart.notNull(list.length) > 0)) dart.assertFailed(null, I[38], 123, 14, "list.length > 0"); + this[_current$] = list.first; + this[_list] = null; + return true; + } + this[_current$] = dart.nullCheck(this[_current$])[_next]; + return this[_current$] != null; + } + } + (_LinkedListIterator.new = function(list) { + if (list == null) dart.nullFailed(I[38], 113, 37, "list"); + this[_current$] = null; + this[_list] = list; + if (list.length === 0) this[_list] = null; + }).prototype = _LinkedListIterator.prototype; + dart.addTypeTests(_LinkedListIterator); + _LinkedListIterator.prototype[_is__LinkedListIterator_default] = true; + dart.addTypeCaches(_LinkedListIterator); + _LinkedListIterator[dart.implements] = () => [core.Iterator$(T)]; + dart.setMethodSignature(_LinkedListIterator, () => ({ + __proto__: dart.getMethods(_LinkedListIterator.__proto__), + moveNext: dart.fnType(core.bool, []) + })); + dart.setGetterSignature(_LinkedListIterator, () => ({ + __proto__: dart.getGetters(_LinkedListIterator.__proto__), + current: T + })); + dart.setLibraryUri(_LinkedListIterator, I[25]); + dart.setFieldSignature(_LinkedListIterator, () => ({ + __proto__: dart.getFields(_LinkedListIterator.__proto__), + [_current$]: dart.fieldType(dart.nullable(T)), + [_list]: dart.fieldType(dart.nullable(_internal.LinkedList$(T))) + })); + return _LinkedListIterator; +}); +_internal._LinkedListIterator = _internal._LinkedListIterator$(); +dart.addTypeTests(_internal._LinkedListIterator, _is__LinkedListIterator_default); +_internal.Sort = class Sort extends core.Object { + static sort(E, a, compare) { + if (a == null) dart.nullFailed(I[40], 32, 31, "a"); + if (compare == null) dart.nullFailed(I[40], 32, 38, "compare"); + _internal.Sort._doSort(E, a, 0, dart.notNull(a[$length]) - 1, compare); + } + static sortRange(E, a, from, to, compare) { + if (a == null) dart.nullFailed(I[40], 45, 36, "a"); + if (from == null) dart.nullFailed(I[40], 45, 43, "from"); + if (to == null) dart.nullFailed(I[40], 45, 53, "to"); + if (compare == null) dart.nullFailed(I[40], 45, 61, "compare"); + if (dart.notNull(from) < 0 || dart.notNull(to) > dart.notNull(a[$length]) || dart.notNull(to) < dart.notNull(from)) { + dart.throw("OutOfRange"); + } + _internal.Sort._doSort(E, a, from, dart.notNull(to) - 1, compare); + } + static _doSort(E, a, left, right, compare) { + if (a == null) dart.nullFailed(I[40], 56, 15, "a"); + if (left == null) dart.nullFailed(I[40], 56, 22, "left"); + if (right == null) dart.nullFailed(I[40], 56, 32, "right"); + if (compare == null) dart.nullFailed(I[40], 56, 43, "compare"); + if (dart.notNull(right) - dart.notNull(left) <= 32) { + _internal.Sort._insertionSort(E, a, left, right, compare); + } else { + _internal.Sort._dualPivotQuicksort(E, a, left, right, compare); + } + } + static _insertionSort(E, a, left, right, compare) { + if (a == null) dart.nullFailed(I[40], 65, 15, "a"); + if (left == null) dart.nullFailed(I[40], 65, 22, "left"); + if (right == null) dart.nullFailed(I[40], 65, 32, "right"); + if (compare == null) dart.nullFailed(I[40], 65, 43, "compare"); + for (let i = dart.notNull(left) + 1; i <= dart.notNull(right); i = i + 1) { + let el = a[$_get](i); + let j = i; + while (j > dart.notNull(left) && dart.notNull(compare(a[$_get](j - 1), el)) > 0) { + a[$_set](j, a[$_get](j - 1)); + j = j - 1; + } + a[$_set](j, el); + } + } + static _dualPivotQuicksort(E, a, left, right, compare) { + let t82, t82$, t82$0, t82$1, t82$2, t82$3, t82$4, t82$5, t82$6; + if (a == null) dart.nullFailed(I[40], 78, 15, "a"); + if (left == null) dart.nullFailed(I[40], 78, 22, "left"); + if (right == null) dart.nullFailed(I[40], 78, 32, "right"); + if (compare == null) dart.nullFailed(I[40], 78, 43, "compare"); + if (!(dart.notNull(right) - dart.notNull(left) > 32)) dart.assertFailed(null, I[40], 79, 12, "right - left > _INSERTION_SORT_THRESHOLD"); + let sixth = ((dart.notNull(right) - dart.notNull(left) + 1) / 6)[$truncate](); + let index1 = dart.notNull(left) + sixth; + let index5 = dart.notNull(right) - sixth; + let index3 = ((dart.notNull(left) + dart.notNull(right)) / 2)[$truncate](); + let index2 = index3 - sixth; + let index4 = index3 + sixth; + let el1 = a[$_get](index1); + let el2 = a[$_get](index2); + let el3 = a[$_get](index3); + let el4 = a[$_get](index4); + let el5 = a[$_get](index5); + if (dart.notNull(compare(el1, el2)) > 0) { + let t = el1; + el1 = el2; + el2 = t; + } + if (dart.notNull(compare(el4, el5)) > 0) { + let t = el4; + el4 = el5; + el5 = t; + } + if (dart.notNull(compare(el1, el3)) > 0) { + let t = el1; + el1 = el3; + el3 = t; + } + if (dart.notNull(compare(el2, el3)) > 0) { + let t = el2; + el2 = el3; + el3 = t; + } + if (dart.notNull(compare(el1, el4)) > 0) { + let t = el1; + el1 = el4; + el4 = t; + } + if (dart.notNull(compare(el3, el4)) > 0) { + let t = el3; + el3 = el4; + el4 = t; + } + if (dart.notNull(compare(el2, el5)) > 0) { + let t = el2; + el2 = el5; + el5 = t; + } + if (dart.notNull(compare(el2, el3)) > 0) { + let t = el2; + el2 = el3; + el3 = t; + } + if (dart.notNull(compare(el4, el5)) > 0) { + let t = el4; + el4 = el5; + el5 = t; + } + let pivot1 = el2; + let pivot2 = el4; + a[$_set](index1, el1); + a[$_set](index3, el3); + a[$_set](index5, el5); + a[$_set](index2, a[$_get](left)); + a[$_set](index4, a[$_get](right)); + let less = dart.notNull(left) + 1; + let great = dart.notNull(right) - 1; + let pivots_are_equal = compare(pivot1, pivot2) === 0; + if (pivots_are_equal) { + let pivot = pivot1; + for (let k = less; k <= great; k = k + 1) { + let ak = a[$_get](k); + let comp = compare(ak, pivot); + if (comp === 0) continue; + if (dart.notNull(comp) < 0) { + if (k !== less) { + a[$_set](k, a[$_get](less)); + a[$_set](less, ak); + } + less = less + 1; + } else { + while (true) { + comp = compare(a[$_get](great), pivot); + if (dart.notNull(comp) > 0) { + great = great - 1; + continue; + } else if (dart.notNull(comp) < 0) { + a[$_set](k, a[$_get](less)); + a[$_set]((t82 = less, less = t82 + 1, t82), a[$_get](great)); + a[$_set]((t82$ = great, great = t82$ - 1, t82$), ak); + break; + } else { + a[$_set](k, a[$_get](great)); + a[$_set]((t82$0 = great, great = t82$0 - 1, t82$0), ak); + break; + } + } + } + } + } else { + for (let k = less; k <= great; k = k + 1) { + let ak = a[$_get](k); + let comp_pivot1 = compare(ak, pivot1); + if (dart.notNull(comp_pivot1) < 0) { + if (k !== less) { + a[$_set](k, a[$_get](less)); + a[$_set](less, ak); + } + less = less + 1; + } else { + let comp_pivot2 = compare(ak, pivot2); + if (dart.notNull(comp_pivot2) > 0) { + while (true) { + let comp = compare(a[$_get](great), pivot2); + if (dart.notNull(comp) > 0) { + great = great - 1; + if (great < k) break; + continue; + } else { + comp = compare(a[$_get](great), pivot1); + if (dart.notNull(comp) < 0) { + a[$_set](k, a[$_get](less)); + a[$_set]((t82$1 = less, less = t82$1 + 1, t82$1), a[$_get](great)); + a[$_set]((t82$2 = great, great = t82$2 - 1, t82$2), ak); + } else { + a[$_set](k, a[$_get](great)); + a[$_set]((t82$3 = great, great = t82$3 - 1, t82$3), ak); + } + break; + } + } + } + } + } + } + a[$_set](left, a[$_get](less - 1)); + a[$_set](less - 1, pivot1); + a[$_set](right, a[$_get](great + 1)); + a[$_set](great + 1, pivot2); + _internal.Sort._doSort(E, a, left, less - 2, compare); + _internal.Sort._doSort(E, a, great + 2, right, compare); + if (pivots_are_equal) { + return; + } + if (less < index1 && great > index5) { + while (compare(a[$_get](less), pivot1) === 0) { + less = less + 1; + } + while (compare(a[$_get](great), pivot2) === 0) { + great = great - 1; + } + for (let k = less; k <= great; k = k + 1) { + let ak = a[$_get](k); + let comp_pivot1 = compare(ak, pivot1); + if (comp_pivot1 === 0) { + if (k !== less) { + a[$_set](k, a[$_get](less)); + a[$_set](less, ak); + } + less = less + 1; + } else { + let comp_pivot2 = compare(ak, pivot2); + if (comp_pivot2 === 0) { + while (true) { + let comp = compare(a[$_get](great), pivot2); + if (comp === 0) { + great = great - 1; + if (great < k) break; + continue; + } else { + comp = compare(a[$_get](great), pivot1); + if (dart.notNull(comp) < 0) { + a[$_set](k, a[$_get](less)); + a[$_set]((t82$4 = less, less = t82$4 + 1, t82$4), a[$_get](great)); + a[$_set]((t82$5 = great, great = t82$5 - 1, t82$5), ak); + } else { + a[$_set](k, a[$_get](great)); + a[$_set]((t82$6 = great, great = t82$6 - 1, t82$6), ak); + } + break; + } + } + } + } + } + _internal.Sort._doSort(E, a, less, great, compare); + } else { + _internal.Sort._doSort(E, a, less, great, compare); + } + } +}; +(_internal.Sort.new = function() { + ; +}).prototype = _internal.Sort.prototype; +dart.addTypeTests(_internal.Sort); +dart.addTypeCaches(_internal.Sort); +dart.setLibraryUri(_internal.Sort, I[25]); +dart.defineLazy(_internal.Sort, { + /*_internal.Sort._INSERTION_SORT_THRESHOLD*/get _INSERTION_SORT_THRESHOLD() { + return 32; + } +}, false); +var _name$0 = dart.privateName(_internal, "Symbol._name"); +_internal.Symbol = class Symbol extends core.Object { + get [_name$]() { + return this[_name$0]; + } + set [_name$](value) { + super[_name$] = value; + } + _equals(other) { + if (other == null) return false; + return _internal.Symbol.is(other) && this[_name$] == other[_name$]; + } + get hashCode() { + let hash = this._hashCode; + if (hash != null) return hash; + hash = 536870911 & 664597 * dart.hashCode(this[_name$]); + this._hashCode = hash; + return hash; + } + toString() { + return "Symbol(\"" + dart.str(this[_name$]) + "\")"; + } + static getName(symbol) { + if (symbol == null) dart.nullFailed(I[42], 119, 32, "symbol"); + return symbol[_name$]; + } + static validatePublicSymbol(name) { + if (name == null) dart.nullFailed(I[42], 121, 45, "name"); + if (name[$isEmpty] || dart.test(_internal.Symbol.publicSymbolPattern.hasMatch(name))) return name; + if (name[$startsWith]("_")) { + dart.throw(new core.ArgumentError.new("\"" + dart.str(name) + "\" is a private identifier")); + } + dart.throw(new core.ArgumentError.new("\"" + dart.str(name) + "\" is not a valid (qualified) symbol name")); + } + static isValidSymbol(name) { + if (name == null) dart.nullFailed(I[42], 137, 36, "name"); + return name[$isEmpty] || dart.test(_internal.Symbol.symbolPattern.hasMatch(name)); + } + static computeUnmangledName(symbol) { + if (symbol == null) dart.nullFailed(I[41], 36, 45, "symbol"); + return symbol[_name$]; + } +}; +(_internal.Symbol.new = function(name) { + if (name == null) dart.nullFailed(I[41], 20, 23, "name"); + this[_name$0] = name; + ; +}).prototype = _internal.Symbol.prototype; +(_internal.Symbol.unvalidated = function(_name) { + if (_name == null) dart.nullFailed(I[42], 107, 33, "_name"); + this[_name$0] = _name; + ; +}).prototype = _internal.Symbol.prototype; +(_internal.Symbol.validated = function(name) { + if (name == null) dart.nullFailed(I[42], 110, 27, "name"); + this[_name$0] = _internal.Symbol.validatePublicSymbol(name); + ; +}).prototype = _internal.Symbol.prototype; +dart.addTypeTests(_internal.Symbol); +dart.addTypeCaches(_internal.Symbol); +_internal.Symbol[dart.implements] = () => [core.Symbol]; +dart.setMethodSignature(_internal.Symbol, () => ({ + __proto__: dart.getMethods(_internal.Symbol.__proto__), + toString: dart.fnType(dart.dynamic, []), + [$toString]: dart.fnType(dart.dynamic, []) +})); +dart.setLibraryUri(_internal.Symbol, I[25]); +dart.setFieldSignature(_internal.Symbol, () => ({ + __proto__: dart.getFields(_internal.Symbol.__proto__), + [_name$]: dart.finalFieldType(core.String) +})); +dart.defineExtensionMethods(_internal.Symbol, ['_equals', 'toString']); +dart.defineExtensionAccessors(_internal.Symbol, ['hashCode']); +dart.defineLazy(_internal.Symbol, { + /*_internal.Symbol.reservedWordRE*/get reservedWordRE() { + return "(?:assert|break|c(?:a(?:se|tch)|lass|on(?:st|tinue))|d(?:efault|o)|e(?:lse|num|xtends)|f(?:alse|inal(?:ly)?|or)|i[fns]|n(?:ew|ull)|ret(?:hrow|urn)|s(?:uper|witch)|t(?:h(?:is|row)|r(?:ue|y))|v(?:ar|oid)|w(?:hile|ith))"; + }, + /*_internal.Symbol.publicIdentifierRE*/get publicIdentifierRE() { + return "(?!(?:assert|break|c(?:a(?:se|tch)|lass|on(?:st|tinue))|d(?:efault|o)|e(?:lse|num|xtends)|f(?:alse|inal(?:ly)?|or)|i[fns]|n(?:ew|ull)|ret(?:hrow|urn)|s(?:uper|witch)|t(?:h(?:is|row)|r(?:ue|y))|v(?:ar|oid)|w(?:hile|ith))\\b(?!\\$))[a-zA-Z$][\\w$]*"; + }, + /*_internal.Symbol.identifierRE*/get identifierRE() { + return "(?!(?:assert|break|c(?:a(?:se|tch)|lass|on(?:st|tinue))|d(?:efault|o)|e(?:lse|num|xtends)|f(?:alse|inal(?:ly)?|or)|i[fns]|n(?:ew|ull)|ret(?:hrow|urn)|s(?:uper|witch)|t(?:h(?:is|row)|r(?:ue|y))|v(?:ar|oid)|w(?:hile|ith))\\b(?!\\$))[a-zA-Z$_][\\w$]*"; + }, + /*_internal.Symbol.operatorRE*/get operatorRE() { + return "(?:[\\-+*/%&|^]|\\[\\]=?|==|~/?|<[<=]?|>(?:|=|>>?)|unary-)"; + }, + /*_internal.Symbol.publicSymbolPattern*/get publicSymbolPattern() { + return core.RegExp.new("^(?:" + dart.str(_internal.Symbol.operatorRE) + "$|" + dart.str(_internal.Symbol.publicIdentifierRE) + "(?:=?$|[.](?!$)))+?$"); + }, + /*_internal.Symbol.symbolPattern*/get symbolPattern() { + return core.RegExp.new("^(?:" + dart.str(_internal.Symbol.operatorRE) + "$|" + dart.str(_internal.Symbol.identifierRE) + "(?:=?$|[.](?!$)))+?$"); + } +}, false); +_internal.createSentinel = function createSentinel(T) { + return dart.throw(new core.UnsupportedError.new("createSentinel")); +}; +_internal.isSentinel = function isSentinel(value) { + return dart.throw(new core.UnsupportedError.new("isSentinel")); +}; +_internal.typeAcceptsNull = function typeAcceptsNull(T) { + return !false || T.is(null); +}; +_internal.hexDigitValue = function hexDigitValue(char) { + if (char == null) dart.nullFailed(I[21], 100, 23, "char"); + if (!(dart.notNull(char) >= 0 && dart.notNull(char) <= 65535)) dart.assertFailed(null, I[21], 101, 10, "char >= 0 && char <= 0xFFFF"); + let digit = (dart.notNull(char) ^ 48) >>> 0; + if (digit <= 9) return digit; + let letter = (dart.notNull(char) | 32) >>> 0; + if (97 <= letter && letter <= 102) return letter - (97 - 10); + return -1; +}; +_internal.parseHexByte = function parseHexByte(source, index) { + if (source == null) dart.nullFailed(I[21], 115, 25, "source"); + if (index == null) dart.nullFailed(I[21], 115, 37, "index"); + if (!(dart.notNull(index) + 2 <= source.length)) dart.assertFailed(null, I[21], 116, 10, "index + 2 <= source.length"); + let digit1 = _internal.hexDigitValue(source[$codeUnitAt](index)); + let digit2 = _internal.hexDigitValue(source[$codeUnitAt](dart.notNull(index) + 1)); + return dart.notNull(digit1) * 16 + dart.notNull(digit2) - (dart.notNull(digit2) & 256); +}; +_internal.extractTypeArguments = function extractTypeArguments$(T, instance, extract) { + if (extract == null) dart.nullFailed(I[41], 57, 54, "extract"); + return dart.extractTypeArguments(T, instance, extract); +}; +_internal.checkNotNullable = function checkNotNullable(T, value, name) { + if (value == null) dart.nullFailed(I[21], 402, 40, "value"); + if (name == null) dart.nullFailed(I[21], 402, 54, "name"); + if (value == null) { + dart.throw(new (_internal.NotNullableError$(T)).new(name)); + } + return value; +}; +_internal.valueOfNonNullableParamWithDefault = function valueOfNonNullableParamWithDefault(T, value, defaultVal) { + if (value == null) dart.nullFailed(I[21], 427, 58, "value"); + if (defaultVal == null) dart.nullFailed(I[21], 427, 67, "defaultVal"); + if (value == null) { + return defaultVal; + } else { + return value; + } +}; +_internal._checkCount = function _checkCount(count) { + if (count == null) dart.nullFailed(I[37], 624, 21, "count"); + core.ArgumentError.checkNotNull(core.int, count, "count"); + core.RangeError.checkNotNegative(count, "count"); + return count; +}; +_internal.makeListFixedLength = function makeListFixedLength(T, growableList) { + if (growableList == null) dart.nullFailed(I[41], 45, 40, "growableList"); + _interceptors.JSArray.markFixedList(growableList); + return growableList; +}; +_internal.makeFixedListUnmodifiable = function makeFixedListUnmodifiable(T, fixedLengthList) { + if (fixedLengthList == null) dart.nullFailed(I[41], 51, 46, "fixedLengthList"); + _interceptors.JSArray.markUnmodifiableList(fixedLengthList); + return fixedLengthList; +}; +_internal.printToConsole = function printToConsole(line) { + if (line == null) dart.nullFailed(I[41], 40, 28, "line"); + _js_primitives.printString(dart.str(line)); +}; +dart.defineLazy(_internal, { + /*_internal.POWERS_OF_TEN*/get POWERS_OF_TEN() { + return C[21] || CT.C21; + }, + /*_internal.nullFuture*/get nullFuture() { + return async.Zone.root.run(T$.FutureOfNull(), dart.fn(() => T$.FutureOfNull().value(null), T$.VoidToFutureOfNull())); + }, + /*_internal.printToZone*/get printToZone() { + return null; + }, + set printToZone(_) {} +}, false); +var _handle = dart.privateName(_isolate_helper, "_handle"); +var _tick = dart.privateName(_isolate_helper, "_tick"); +var _once = dart.privateName(_isolate_helper, "_once"); +_isolate_helper.TimerImpl = class TimerImpl extends core.Object { + get tick() { + return this[_tick]; + } + cancel() { + if (dart.test(_isolate_helper.hasTimer())) { + if (this[_handle] == null) return; + dart.removeAsyncCallback(); + if (dart.test(this[_once])) { + _isolate_helper.global.clearTimeout(this[_handle]); + } else { + _isolate_helper.global.clearInterval(this[_handle]); + } + this[_handle] = null; + } else { + dart.throw(new core.UnsupportedError.new("Canceling a timer.")); + } + } + get isActive() { + return this[_handle] != null; + } +}; +(_isolate_helper.TimerImpl.new = function(milliseconds, callback) { + if (milliseconds == null) dart.nullFailed(I[43], 40, 17, "milliseconds"); + if (callback == null) dart.nullFailed(I[43], 40, 36, "callback"); + this[_handle] = null; + this[_tick] = 0; + this[_once] = true; + if (dart.test(_isolate_helper.hasTimer())) { + let currentHotRestartIteration = dart.hotRestartIteration; + const internalCallback = () => { + this[_handle] = null; + dart.removeAsyncCallback(); + this[_tick] = 1; + if (currentHotRestartIteration == dart.hotRestartIteration) { + callback(); + } + }; + dart.fn(internalCallback, T$.VoidTovoid()); + dart.addAsyncCallback(); + this[_handle] = _isolate_helper.global.setTimeout(internalCallback, milliseconds); + } else { + dart.throw(new core.UnsupportedError.new("`setTimeout()` not found.")); + } +}).prototype = _isolate_helper.TimerImpl.prototype; +(_isolate_helper.TimerImpl.periodic = function(milliseconds, callback) { + if (milliseconds == null) dart.nullFailed(I[43], 61, 26, "milliseconds"); + if (callback == null) dart.nullFailed(I[43], 61, 45, "callback"); + this[_handle] = null; + this[_tick] = 0; + this[_once] = false; + if (dart.test(_isolate_helper.hasTimer())) { + dart.addAsyncCallback(); + let start = Date.now(); + let currentHotRestartIteration = dart.hotRestartIteration; + this[_handle] = _isolate_helper.global.setInterval(dart.fn(() => { + if (currentHotRestartIteration != dart.hotRestartIteration) { + this.cancel(); + return; + } + let tick = dart.notNull(this[_tick]) + 1; + if (dart.notNull(milliseconds) > 0) { + let duration = Date.now() - start; + if (duration > (tick + 1) * dart.notNull(milliseconds)) { + tick = (duration / dart.notNull(milliseconds))[$truncate](); + } + } + this[_tick] = tick; + callback(this); + }, T$.VoidToNull()), milliseconds); + } else { + dart.throw(new core.UnsupportedError.new("Periodic timer.")); + } +}).prototype = _isolate_helper.TimerImpl.prototype; +dart.addTypeTests(_isolate_helper.TimerImpl); +dart.addTypeCaches(_isolate_helper.TimerImpl); +_isolate_helper.TimerImpl[dart.implements] = () => [async.Timer]; +dart.setMethodSignature(_isolate_helper.TimerImpl, () => ({ + __proto__: dart.getMethods(_isolate_helper.TimerImpl.__proto__), + cancel: dart.fnType(dart.void, []) +})); +dart.setGetterSignature(_isolate_helper.TimerImpl, () => ({ + __proto__: dart.getGetters(_isolate_helper.TimerImpl.__proto__), + tick: core.int, + isActive: core.bool +})); +dart.setLibraryUri(_isolate_helper.TimerImpl, I[44]); +dart.setFieldSignature(_isolate_helper.TimerImpl, () => ({ + __proto__: dart.getFields(_isolate_helper.TimerImpl.__proto__), + [_once]: dart.finalFieldType(core.bool), + [_handle]: dart.fieldType(dart.nullable(core.int)), + [_tick]: dart.fieldType(core.int) +})); +_isolate_helper.startRootIsolate = function startRootIsolate(main, args) { + if (args == null) args = T$.JSArrayOfString().of([]); + if (core.List.is(args)) { + if (!T$.ListOfString().is(args)) args = T$.ListOfString().from(args); + if (typeof main == "function") { + main(args, null); + } else { + dart.dcall(main, [args]); + } + } else { + dart.throw(new core.ArgumentError.new("Arguments to main must be a List: " + dart.str(args))); + } +}; +_isolate_helper.hasTimer = function hasTimer() { + return _isolate_helper.global.setTimeout != null; +}; +dart.defineLazy(_isolate_helper, { + /*_isolate_helper.global*/get global() { + return dart.global; + } +}, false); +_js_helper._Patch = class _Patch extends core.Object {}; +(_js_helper._Patch.new = function() { + ; +}).prototype = _js_helper._Patch.prototype; +dart.addTypeTests(_js_helper._Patch); +dart.addTypeCaches(_js_helper._Patch); +dart.setLibraryUri(_js_helper._Patch, I[45]); +var _current$0 = dart.privateName(_js_helper, "_current"); +var _jsIterator$ = dart.privateName(_js_helper, "_jsIterator"); +const _is_DartIterator_default = Symbol('_is_DartIterator_default'); +_js_helper.DartIterator$ = dart.generic(E => { + class DartIterator extends core.Object { + get current() { + return E.as(this[_current$0]); + } + moveNext() { + let ret = this[_jsIterator$].next(); + this[_current$0] = ret.value; + return !ret.done; + } + } + (DartIterator.new = function(_jsIterator) { + this[_current$0] = null; + this[_jsIterator$] = _jsIterator; + ; + }).prototype = DartIterator.prototype; + dart.addTypeTests(DartIterator); + DartIterator.prototype[_is_DartIterator_default] = true; + dart.addTypeCaches(DartIterator); + DartIterator[dart.implements] = () => [core.Iterator$(E)]; + dart.setMethodSignature(DartIterator, () => ({ + __proto__: dart.getMethods(DartIterator.__proto__), + moveNext: dart.fnType(core.bool, []) + })); + dart.setGetterSignature(DartIterator, () => ({ + __proto__: dart.getGetters(DartIterator.__proto__), + current: E + })); + dart.setLibraryUri(DartIterator, I[45]); + dart.setFieldSignature(DartIterator, () => ({ + __proto__: dart.getFields(DartIterator.__proto__), + [_jsIterator$]: dart.finalFieldType(dart.dynamic), + [_current$0]: dart.fieldType(dart.nullable(E)) + })); + return DartIterator; +}); +_js_helper.DartIterator = _js_helper.DartIterator$(); +dart.addTypeTests(_js_helper.DartIterator, _is_DartIterator_default); +var _initGenerator$ = dart.privateName(_js_helper, "_initGenerator"); +const _is_SyncIterable_default = Symbol('_is_SyncIterable_default'); +_js_helper.SyncIterable$ = dart.generic(E => { + var DartIteratorOfE = () => (DartIteratorOfE = dart.constFn(_js_helper.DartIterator$(E)))(); + class SyncIterable extends collection.IterableBase$(E) { + [Symbol.iterator]() { + return this[_initGenerator$](); + } + get iterator() { + return new (DartIteratorOfE()).new(this[_initGenerator$]()); + } + } + (SyncIterable.new = function(_initGenerator) { + if (_initGenerator == null) dart.nullFailed(I[46], 62, 21, "_initGenerator"); + this[_initGenerator$] = _initGenerator; + SyncIterable.__proto__.new.call(this); + ; + }).prototype = SyncIterable.prototype; + dart.addTypeTests(SyncIterable); + SyncIterable.prototype[_is_SyncIterable_default] = true; + dart.addTypeCaches(SyncIterable); + dart.setMethodSignature(SyncIterable, () => ({ + __proto__: dart.getMethods(SyncIterable.__proto__), + [Symbol.iterator]: dart.fnType(dart.dynamic, []) + })); + dart.setGetterSignature(SyncIterable, () => ({ + __proto__: dart.getGetters(SyncIterable.__proto__), + iterator: core.Iterator$(E), + [$iterator]: core.Iterator$(E) + })); + dart.setLibraryUri(SyncIterable, I[45]); + dart.setFieldSignature(SyncIterable, () => ({ + __proto__: dart.getFields(SyncIterable.__proto__), + [_initGenerator$]: dart.finalFieldType(dart.fnType(dart.dynamic, [])) + })); + dart.defineExtensionAccessors(SyncIterable, ['iterator']); + return SyncIterable; +}); +_js_helper.SyncIterable = _js_helper.SyncIterable$(); +dart.addTypeTests(_js_helper.SyncIterable, _is_SyncIterable_default); +_js_helper.Primitives = class Primitives extends core.Object { + static parseInt(source, _radix) { + if (source == null) dart.argumentError(source); + let re = /^\s*[+-]?((0x[a-f0-9]+)|(\d+)|([a-z0-9]+))\s*$/i; + let match = re.exec(source); + let digitsIndex = 1; + let hexIndex = 2; + let decimalIndex = 3; + if (match == null) { + return null; + } + let decimalMatch = match[$_get](decimalIndex); + if (_radix == null) { + if (decimalMatch != null) { + return parseInt(source, 10); + } + if (match[$_get](hexIndex) != null) { + return parseInt(source, 16); + } + return null; + } + let radix = _radix; + if (radix < 2 || radix > 36) { + dart.throw(new core.RangeError.range(radix, 2, 36, "radix")); + } + if (radix === 10 && decimalMatch != null) { + return parseInt(source, 10); + } + if (radix < 10 || decimalMatch == null) { + let maxCharCode = null; + if (radix <= 10) { + maxCharCode = 48 - 1 + radix; + } else { + maxCharCode = 97 - 10 - 1 + radix; + } + if (!(typeof match[$_get](digitsIndex) == 'string')) dart.assertFailed(null, I[46], 127, 14, "match[digitsIndex] is String"); + let digitsPart = match[digitsIndex]; + for (let i = 0; i < digitsPart.length; i = i + 1) { + let characterCode = (digitsPart[$codeUnitAt](i) | 32) >>> 0; + if (characterCode > dart.notNull(maxCharCode)) { + return null; + } + } + } + return parseInt(source, radix); + } + static parseDouble(source) { + if (source == null) dart.argumentError(source); + if (!/^\s*[+-]?(?:Infinity|NaN|(?:\.\d+|\d+(?:\.\d*)?)(?:[eE][+-]?\d+)?)\s*$/.test(source)) { + return null; + } + let result = parseFloat(source); + if (result[$isNaN]) { + let trimmed = source[$trim](); + if (trimmed === "NaN" || trimmed === "+NaN" || trimmed === "-NaN") { + return result; + } + return null; + } + return result; + } + static dateNow() { + return Date.now(); + } + static initTicker() { + if (_js_helper.Primitives.timerFrequency !== 0) return; + _js_helper.Primitives.timerFrequency = 1000; + if (typeof window == "undefined") return; + let jsWindow = window; + if (jsWindow == null) return; + let performance = jsWindow.performance; + if (performance == null) return; + if (typeof performance.now != "function") return; + _js_helper.Primitives.timerFrequency = 1000000; + _js_helper.Primitives.timerTicks = dart.fn(() => (1000 * performance.now())[$floor](), T$.VoidToint()); + } + static get isD8() { + return typeof version == "function" && typeof os == "object" && "system" in os; + } + static get isJsshell() { + return typeof version == "function" && typeof system == "function"; + } + static currentUri() { + if (!!dart.global.location) { + return dart.global.location.href; + } + return ""; + } + static _fromCharCodeApply(array) { + if (array == null) dart.nullFailed(I[46], 214, 46, "array"); + let end = dart.notNull(array[$length]); + if (end <= 500) { + return String.fromCharCode.apply(null, array); + } + let result = ""; + for (let i = 0; i < end; i = i + 500) { + let chunkEnd = i + 500 < end ? i + 500 : end; + result = result + String.fromCharCode.apply(null, array.slice(i, chunkEnd)); + } + return result; + } + static stringFromCodePoints(codePoints) { + if (codePoints == null) dart.nullFailed(I[46], 236, 51, "codePoints"); + let a = T$.JSArrayOfint().of([]); + for (let i of codePoints) { + if (i == null) dart.argumentError(i); + { + if (i <= 65535) { + a[$add](i); + } else if (i <= 1114111) { + a[$add](55296 + (i - 65536 >> 10 & 1023)); + a[$add](56320 + (i & 1023)); + } else { + dart.throw(_js_helper.argumentErrorValue(i)); + } + } + } + return _js_helper.Primitives._fromCharCodeApply(a); + } + static stringFromCharCodes(charCodes) { + if (charCodes == null) dart.nullFailed(I[46], 252, 50, "charCodes"); + for (let i of charCodes) { + if (i == null) dart.argumentError(i); + { + if (i < 0) dart.throw(_js_helper.argumentErrorValue(i)); + if (i > 65535) return _js_helper.Primitives.stringFromCodePoints(charCodes); + } + } + return _js_helper.Primitives._fromCharCodeApply(charCodes); + } + static stringFromNativeUint8List(charCodes, start, end) { + if (charCodes == null) dart.nullFailed(I[46], 263, 23, "charCodes"); + if (start == null) dart.argumentError(start); + if (end == null) dart.argumentError(end); + if (end <= 500 && start === 0 && end === charCodes[$length]) { + return String.fromCharCode.apply(null, charCodes); + } + let result = ""; + for (let i = start; i < end; i = i + 500) { + let chunkEnd = i + 500 < end ? i + 500 : end; + result = result + String.fromCharCode.apply(null, charCodes.subarray(i, chunkEnd)); + } + return result; + } + static stringFromCharCode(charCode) { + if (charCode == null) dart.argumentError(charCode); + if (0 <= charCode) { + if (charCode <= 65535) { + return String.fromCharCode(charCode); + } + if (charCode <= 1114111) { + let bits = charCode - 65536; + let low = 56320 | bits & 1023; + let high = (55296 | bits[$rightShift](10)) >>> 0; + return String.fromCharCode(high, low); + } + } + dart.throw(new core.RangeError.range(charCode, 0, 1114111)); + } + static flattenString(str) { + if (str == null) dart.nullFailed(I[46], 298, 38, "str"); + return str.charCodeAt(0) == 0 ? str : str; + } + static getTimeZoneName(receiver) { + if (receiver == null) dart.nullFailed(I[46], 302, 42, "receiver"); + let d = _js_helper.Primitives.lazyAsJsDate(receiver); + let match = /\((.*)\)/.exec(d.toString()); + if (match != null) return match[$_get](1); + match = /^[A-Z,a-z]{3}\s[A-Z,a-z]{3}\s\d+\s\d{2}:\d{2}:\d{2}\s([A-Z]{3,5})\s\d{4}$/.exec(d.toString()); + if (match != null) return match[$_get](1); + match = /(?:GMT|UTC)[+-]\d{4}/.exec(d.toString()); + if (match != null) return match[$_get](0); + return ""; + } + static getTimeZoneOffsetInMinutes(receiver) { + if (receiver == null) dart.nullFailed(I[46], 342, 50, "receiver"); + return -_js_helper.Primitives.lazyAsJsDate(receiver).getTimezoneOffset(); + } + static valueFromDecomposedDate(years, month, day, hours, minutes, seconds, milliseconds, isUtc) { + if (years == null) dart.argumentError(years); + if (month == null) dart.argumentError(month); + if (day == null) dart.argumentError(day); + if (hours == null) dart.argumentError(hours); + if (minutes == null) dart.argumentError(minutes); + if (seconds == null) dart.argumentError(seconds); + if (milliseconds == null) dart.argumentError(milliseconds); + if (isUtc == null) dart.argumentError(isUtc); + let MAX_MILLISECONDS_SINCE_EPOCH = 8640000000000000; + let jsMonth = month - 1; + if (0 <= years && years < 100) { + years = years + 400; + jsMonth = jsMonth - 400 * 12; + } + let value = null; + if (isUtc) { + value = Date.UTC(years, jsMonth, day, hours, minutes, seconds, milliseconds); + } else { + value = new Date(years, jsMonth, day, hours, minutes, seconds, milliseconds).valueOf(); + } + if (value[$isNaN] || dart.notNull(value) < -MAX_MILLISECONDS_SINCE_EPOCH || dart.notNull(value) > MAX_MILLISECONDS_SINCE_EPOCH) { + return null; + } + if (years <= 0 || years < 100) return _js_helper.Primitives.patchUpY2K(value, years, isUtc); + return value; + } + static patchUpY2K(value, years, isUtc) { + let date = new Date(value); + if (dart.dtest(isUtc)) { + date.setUTCFullYear(years); + } else { + date.setFullYear(years); + } + return date.valueOf(); + } + static lazyAsJsDate(receiver) { + if (receiver == null) dart.nullFailed(I[46], 394, 32, "receiver"); + if (receiver.date === void 0) { + receiver.date = new Date(receiver.millisecondsSinceEpoch); + } + return receiver.date; + } + static getYear(receiver) { + if (receiver == null) dart.nullFailed(I[46], 406, 31, "receiver"); + return dart.test(receiver.isUtc) ? _js_helper.Primitives.lazyAsJsDate(receiver).getUTCFullYear() + 0 : _js_helper.Primitives.lazyAsJsDate(receiver).getFullYear() + 0; + } + static getMonth(receiver) { + if (receiver == null) dart.nullFailed(I[46], 412, 32, "receiver"); + return dart.test(receiver.isUtc) ? _js_helper.Primitives.lazyAsJsDate(receiver).getUTCMonth() + 1 : _js_helper.Primitives.lazyAsJsDate(receiver).getMonth() + 1; + } + static getDay(receiver) { + if (receiver == null) dart.nullFailed(I[46], 418, 30, "receiver"); + return dart.test(receiver.isUtc) ? _js_helper.Primitives.lazyAsJsDate(receiver).getUTCDate() + 0 : _js_helper.Primitives.lazyAsJsDate(receiver).getDate() + 0; + } + static getHours(receiver) { + if (receiver == null) dart.nullFailed(I[46], 424, 32, "receiver"); + return dart.test(receiver.isUtc) ? _js_helper.Primitives.lazyAsJsDate(receiver).getUTCHours() + 0 : _js_helper.Primitives.lazyAsJsDate(receiver).getHours() + 0; + } + static getMinutes(receiver) { + if (receiver == null) dart.nullFailed(I[46], 430, 34, "receiver"); + return dart.test(receiver.isUtc) ? _js_helper.Primitives.lazyAsJsDate(receiver).getUTCMinutes() + 0 : _js_helper.Primitives.lazyAsJsDate(receiver).getMinutes() + 0; + } + static getSeconds(receiver) { + if (receiver == null) dart.nullFailed(I[46], 436, 34, "receiver"); + return dart.test(receiver.isUtc) ? _js_helper.Primitives.lazyAsJsDate(receiver).getUTCSeconds() + 0 : _js_helper.Primitives.lazyAsJsDate(receiver).getSeconds() + 0; + } + static getMilliseconds(receiver) { + if (receiver == null) dart.nullFailed(I[46], 442, 39, "receiver"); + return dart.test(receiver.isUtc) ? _js_helper.Primitives.lazyAsJsDate(receiver).getUTCMilliseconds() + 0 : _js_helper.Primitives.lazyAsJsDate(receiver).getMilliseconds() + 0; + } + static getWeekday(receiver) { + if (receiver == null) dart.nullFailed(I[46], 448, 34, "receiver"); + let weekday = dart.test(receiver.isUtc) ? _js_helper.Primitives.lazyAsJsDate(receiver).getUTCDay() + 0 : _js_helper.Primitives.lazyAsJsDate(receiver).getDay() + 0; + return (weekday + 6)[$modulo](7) + 1; + } + static valueFromDateString(str) { + if (!(typeof str == 'string')) dart.throw(_js_helper.argumentErrorValue(str)); + let value = Date.parse(str); + if (value[$isNaN]) dart.throw(_js_helper.argumentErrorValue(str)); + return value; + } + static getProperty(object, key) { + if (key == null) dart.nullFailed(I[46], 463, 53, "key"); + if (object == null || typeof object == 'boolean' || typeof object == 'number' || typeof object == 'string') { + dart.throw(_js_helper.argumentErrorValue(object)); + } + return object[key]; + } + static setProperty(object, key, value) { + if (object == null || typeof object == 'boolean' || typeof object == 'number' || typeof object == 'string') { + dart.throw(_js_helper.argumentErrorValue(object)); + } + object[key] = value; + } +}; +(_js_helper.Primitives.new = function() { + ; +}).prototype = _js_helper.Primitives.prototype; +dart.addTypeTests(_js_helper.Primitives); +dart.addTypeCaches(_js_helper.Primitives); +dart.setLibraryUri(_js_helper.Primitives, I[45]); +dart.defineLazy(_js_helper.Primitives, { + /*_js_helper.Primitives.DOLLAR_CHAR_VALUE*/get DOLLAR_CHAR_VALUE() { + return 36; + }, + /*_js_helper.Primitives.timerFrequency*/get timerFrequency() { + return 0; + }, + set timerFrequency(_) {}, + /*_js_helper.Primitives.timerTicks*/get timerTicks() { + return C[22] || CT.C22; + }, + set timerTicks(_) {} +}, false); +var _receiver$0 = dart.privateName(_js_helper, "JsNoSuchMethodError._receiver"); +var _message$0 = dart.privateName(_js_helper, "_message"); +var _method = dart.privateName(_js_helper, "_method"); +var _receiver$1 = dart.privateName(_js_helper, "_receiver"); +var _arguments$0 = dart.privateName(_js_helper, "_arguments"); +var _memberName$0 = dart.privateName(_js_helper, "_memberName"); +var _invocation$0 = dart.privateName(_js_helper, "_invocation"); +var _namedArguments$0 = dart.privateName(_js_helper, "_namedArguments"); +_js_helper.JsNoSuchMethodError = class JsNoSuchMethodError extends core.Error { + get [_receiver$1]() { + return this[_receiver$0]; + } + set [_receiver$1](value) { + super[_receiver$1] = value; + } + toString() { + if (this[_method] == null) return "NoSuchMethodError: " + dart.str(this[_message$0]); + if (this[_receiver$1] == null) { + return "NoSuchMethodError: method not found: '" + dart.str(this[_method]) + "' (" + dart.str(this[_message$0]) + ")"; + } + return "NoSuchMethodError: " + "method not found: '" + dart.str(this[_method]) + "' on '" + dart.str(this[_receiver$1]) + "' (" + dart.str(this[_message$0]) + ")"; + } + get [_receiver$]() { + return this[$noSuchMethod](new core._Invocation.getter(C[23] || CT.C23)); + } + get [_arguments$]() { + return T$.ListN().as(this[$noSuchMethod](new core._Invocation.getter(C[24] || CT.C24))); + } + get [_memberName$]() { + return core.Symbol.as(this[$noSuchMethod](new core._Invocation.getter(C[25] || CT.C25))); + } + get [_invocation$]() { + return T$.InvocationN().as(this[$noSuchMethod](new core._Invocation.getter(C[26] || CT.C26))); + } + get [_namedArguments$]() { + return T$.MapNOfSymbol$dynamic().as(this[$noSuchMethod](new core._Invocation.getter(C[27] || CT.C27))); + } +}; +(_js_helper.JsNoSuchMethodError.new = function(_message, match) { + this[_message$0] = _message; + this[_method] = match == null ? null : match.method; + this[_receiver$0] = match == null ? null : match.receiver; + _js_helper.JsNoSuchMethodError.__proto__.new.call(this); + ; +}).prototype = _js_helper.JsNoSuchMethodError.prototype; +dart.addTypeTests(_js_helper.JsNoSuchMethodError); +dart.addTypeCaches(_js_helper.JsNoSuchMethodError); +_js_helper.JsNoSuchMethodError[dart.implements] = () => [core.NoSuchMethodError]; +dart.setGetterSignature(_js_helper.JsNoSuchMethodError, () => ({ + __proto__: dart.getGetters(_js_helper.JsNoSuchMethodError.__proto__), + [_receiver$]: dart.nullable(core.Object), + [_arguments$]: dart.nullable(core.List), + [_memberName$]: core.Symbol, + [_invocation$]: dart.nullable(core.Invocation), + [_namedArguments$]: dart.nullable(core.Map$(core.Symbol, dart.dynamic)) +})); +dart.setLibraryUri(_js_helper.JsNoSuchMethodError, I[45]); +dart.setFieldSignature(_js_helper.JsNoSuchMethodError, () => ({ + __proto__: dart.getFields(_js_helper.JsNoSuchMethodError.__proto__), + [_message$0]: dart.finalFieldType(dart.nullable(core.String)), + [_method]: dart.finalFieldType(dart.nullable(core.String)), + [_receiver$1]: dart.finalFieldType(dart.nullable(core.String)) +})); +dart.defineExtensionMethods(_js_helper.JsNoSuchMethodError, ['toString']); +_js_helper.UnknownJsTypeError = class UnknownJsTypeError extends core.Error { + toString() { + return this[_message$0][$isEmpty] ? "Error" : "Error: " + dart.str(this[_message$0]); + } +}; +(_js_helper.UnknownJsTypeError.new = function(_message) { + if (_message == null) dart.nullFailed(I[46], 570, 27, "_message"); + this[_message$0] = _message; + _js_helper.UnknownJsTypeError.__proto__.new.call(this); + ; +}).prototype = _js_helper.UnknownJsTypeError.prototype; +dart.addTypeTests(_js_helper.UnknownJsTypeError); +dart.addTypeCaches(_js_helper.UnknownJsTypeError); +dart.setLibraryUri(_js_helper.UnknownJsTypeError, I[45]); +dart.setFieldSignature(_js_helper.UnknownJsTypeError, () => ({ + __proto__: dart.getFields(_js_helper.UnknownJsTypeError.__proto__), + [_message$0]: dart.finalFieldType(core.String) +})); +dart.defineExtensionMethods(_js_helper.UnknownJsTypeError, ['toString']); +var types$0 = dart.privateName(_js_helper, "Creates.types"); +_js_helper.Creates = class Creates extends core.Object { + get types() { + return this[types$0]; + } + set types(value) { + super.types = value; + } +}; +(_js_helper.Creates.new = function(types) { + if (types == null) dart.nullFailed(I[46], 644, 22, "types"); + this[types$0] = types; + ; +}).prototype = _js_helper.Creates.prototype; +dart.addTypeTests(_js_helper.Creates); +dart.addTypeCaches(_js_helper.Creates); +dart.setLibraryUri(_js_helper.Creates, I[45]); +dart.setFieldSignature(_js_helper.Creates, () => ({ + __proto__: dart.getFields(_js_helper.Creates.__proto__), + types: dart.finalFieldType(core.String) +})); +var types$1 = dart.privateName(_js_helper, "Returns.types"); +_js_helper.Returns = class Returns extends core.Object { + get types() { + return this[types$1]; + } + set types(value) { + super.types = value; + } +}; +(_js_helper.Returns.new = function(types) { + if (types == null) dart.nullFailed(I[46], 670, 22, "types"); + this[types$1] = types; + ; +}).prototype = _js_helper.Returns.prototype; +dart.addTypeTests(_js_helper.Returns); +dart.addTypeCaches(_js_helper.Returns); +dart.setLibraryUri(_js_helper.Returns, I[45]); +dart.setFieldSignature(_js_helper.Returns, () => ({ + __proto__: dart.getFields(_js_helper.Returns.__proto__), + types: dart.finalFieldType(core.String) +})); +var name$6 = dart.privateName(_js_helper, "JSName.name"); +_js_helper.JSName = class JSName extends core.Object { + get name() { + return this[name$6]; + } + set name(value) { + super.name = value; + } +}; +(_js_helper.JSName.new = function(name) { + if (name == null) dart.nullFailed(I[46], 687, 21, "name"); + this[name$6] = name; + ; +}).prototype = _js_helper.JSName.prototype; +dart.addTypeTests(_js_helper.JSName); +dart.addTypeCaches(_js_helper.JSName); +dart.setLibraryUri(_js_helper.JSName, I[45]); +dart.setFieldSignature(_js_helper.JSName, () => ({ + __proto__: dart.getFields(_js_helper.JSName.__proto__), + name: dart.finalFieldType(core.String) +})); +const _is_JavaScriptIndexingBehavior_default = Symbol('_is_JavaScriptIndexingBehavior_default'); +_js_helper.JavaScriptIndexingBehavior$ = dart.generic(E => { + class JavaScriptIndexingBehavior extends _interceptors.JSMutableIndexable$(E) {} + (JavaScriptIndexingBehavior.new = function() { + ; + }).prototype = JavaScriptIndexingBehavior.prototype; + dart.addTypeTests(JavaScriptIndexingBehavior); + JavaScriptIndexingBehavior.prototype[_is_JavaScriptIndexingBehavior_default] = true; + dart.addTypeCaches(JavaScriptIndexingBehavior); + dart.setLibraryUri(JavaScriptIndexingBehavior, I[45]); + return JavaScriptIndexingBehavior; +}); +_js_helper.JavaScriptIndexingBehavior = _js_helper.JavaScriptIndexingBehavior$(); +dart.addTypeTests(_js_helper.JavaScriptIndexingBehavior, _is_JavaScriptIndexingBehavior_default); +_js_helper.TypeErrorImpl = class TypeErrorImpl extends core.Error { + toString() { + return this[_message$0]; + } +}; +(_js_helper.TypeErrorImpl.new = function(_message) { + if (_message == null) dart.nullFailed(I[46], 701, 22, "_message"); + this[_message$0] = _message; + _js_helper.TypeErrorImpl.__proto__.new.call(this); + ; +}).prototype = _js_helper.TypeErrorImpl.prototype; +dart.addTypeTests(_js_helper.TypeErrorImpl); +dart.addTypeCaches(_js_helper.TypeErrorImpl); +_js_helper.TypeErrorImpl[dart.implements] = () => [core.TypeError, core.CastError]; +dart.setLibraryUri(_js_helper.TypeErrorImpl, I[45]); +dart.setFieldSignature(_js_helper.TypeErrorImpl, () => ({ + __proto__: dart.getFields(_js_helper.TypeErrorImpl.__proto__), + [_message$0]: dart.finalFieldType(core.String) +})); +dart.defineExtensionMethods(_js_helper.TypeErrorImpl, ['toString']); +_js_helper.CastErrorImpl = class CastErrorImpl extends core.Error { + toString() { + return this[_message$0]; + } +}; +(_js_helper.CastErrorImpl.new = function(_message) { + if (_message == null) dart.nullFailed(I[46], 710, 22, "_message"); + this[_message$0] = _message; + _js_helper.CastErrorImpl.__proto__.new.call(this); + ; +}).prototype = _js_helper.CastErrorImpl.prototype; +dart.addTypeTests(_js_helper.CastErrorImpl); +dart.addTypeCaches(_js_helper.CastErrorImpl); +_js_helper.CastErrorImpl[dart.implements] = () => [core.CastError, core.TypeError]; +dart.setLibraryUri(_js_helper.CastErrorImpl, I[45]); +dart.setFieldSignature(_js_helper.CastErrorImpl, () => ({ + __proto__: dart.getFields(_js_helper.CastErrorImpl.__proto__), + [_message$0]: dart.finalFieldType(core.String) +})); +dart.defineExtensionMethods(_js_helper.CastErrorImpl, ['toString']); +core.FallThroughError = class FallThroughError extends core.Error { + toString() { + return super[$toString](); + } +}; +(core.FallThroughError.new = function() { + core.FallThroughError.__proto__.new.call(this); + ; +}).prototype = core.FallThroughError.prototype; +(core.FallThroughError._create = function(url, line) { + if (url == null) dart.nullFailed(I[7], 292, 35, "url"); + if (line == null) dart.nullFailed(I[7], 292, 44, "line"); + core.FallThroughError.__proto__.new.call(this); + ; +}).prototype = core.FallThroughError.prototype; +dart.addTypeTests(core.FallThroughError); +dart.addTypeCaches(core.FallThroughError); +dart.setLibraryUri(core.FallThroughError, I[8]); +dart.defineExtensionMethods(core.FallThroughError, ['toString']); +_js_helper.FallThroughErrorImplementation = class FallThroughErrorImplementation extends core.FallThroughError { + toString() { + return "Switch case fall-through."; + } +}; +(_js_helper.FallThroughErrorImplementation.new = function() { + _js_helper.FallThroughErrorImplementation.__proto__.new.call(this); + ; +}).prototype = _js_helper.FallThroughErrorImplementation.prototype; +dart.addTypeTests(_js_helper.FallThroughErrorImplementation); +dart.addTypeCaches(_js_helper.FallThroughErrorImplementation); +dart.setLibraryUri(_js_helper.FallThroughErrorImplementation, I[45]); +dart.defineExtensionMethods(_js_helper.FallThroughErrorImplementation, ['toString']); +var message$ = dart.privateName(_js_helper, "RuntimeError.message"); +_js_helper.RuntimeError = class RuntimeError extends core.Error { + get message() { + return this[message$]; + } + set message(value) { + super.message = value; + } + toString() { + return "RuntimeError: " + dart.str(this.message); + } +}; +(_js_helper.RuntimeError.new = function(message) { + this[message$] = message; + _js_helper.RuntimeError.__proto__.new.call(this); + ; +}).prototype = _js_helper.RuntimeError.prototype; +dart.addTypeTests(_js_helper.RuntimeError); +dart.addTypeCaches(_js_helper.RuntimeError); +dart.setLibraryUri(_js_helper.RuntimeError, I[45]); +dart.setFieldSignature(_js_helper.RuntimeError, () => ({ + __proto__: dart.getFields(_js_helper.RuntimeError.__proto__), + message: dart.finalFieldType(dart.dynamic) +})); +dart.defineExtensionMethods(_js_helper.RuntimeError, ['toString']); +var enclosingLibrary$ = dart.privateName(_js_helper, "DeferredNotLoadedError.enclosingLibrary"); +var importPrefix$ = dart.privateName(_js_helper, "DeferredNotLoadedError.importPrefix"); +_js_helper.DeferredNotLoadedError = class DeferredNotLoadedError extends core.Error { + get enclosingLibrary() { + return this[enclosingLibrary$]; + } + set enclosingLibrary(value) { + this[enclosingLibrary$] = value; + } + get importPrefix() { + return this[importPrefix$]; + } + set importPrefix(value) { + this[importPrefix$] = value; + } + toString() { + return "Deferred import " + dart.str(this.importPrefix) + " (from " + dart.str(this.enclosingLibrary) + ") was not loaded."; + } + get [_receiver$]() { + return this[$noSuchMethod](new core._Invocation.getter(C[23] || CT.C23)); + } + get [_arguments$]() { + return T$.ListN().as(this[$noSuchMethod](new core._Invocation.getter(C[24] || CT.C24))); + } + get [_memberName$]() { + return core.Symbol.as(this[$noSuchMethod](new core._Invocation.getter(C[25] || CT.C25))); + } + get [_invocation$]() { + return T$.InvocationN().as(this[$noSuchMethod](new core._Invocation.getter(C[26] || CT.C26))); + } + get [_namedArguments$]() { + return T$.MapNOfSymbol$dynamic().as(this[$noSuchMethod](new core._Invocation.getter(C[27] || CT.C27))); + } +}; +(_js_helper.DeferredNotLoadedError.new = function(enclosingLibrary, importPrefix) { + if (enclosingLibrary == null) dart.nullFailed(I[46], 732, 31, "enclosingLibrary"); + if (importPrefix == null) dart.nullFailed(I[46], 732, 54, "importPrefix"); + this[enclosingLibrary$] = enclosingLibrary; + this[importPrefix$] = importPrefix; + _js_helper.DeferredNotLoadedError.__proto__.new.call(this); + ; +}).prototype = _js_helper.DeferredNotLoadedError.prototype; +dart.addTypeTests(_js_helper.DeferredNotLoadedError); +dart.addTypeCaches(_js_helper.DeferredNotLoadedError); +_js_helper.DeferredNotLoadedError[dart.implements] = () => [core.NoSuchMethodError]; +dart.setGetterSignature(_js_helper.DeferredNotLoadedError, () => ({ + __proto__: dart.getGetters(_js_helper.DeferredNotLoadedError.__proto__), + [_receiver$]: dart.nullable(core.Object), + [_arguments$]: dart.nullable(core.List), + [_memberName$]: core.Symbol, + [_invocation$]: dart.nullable(core.Invocation), + [_namedArguments$]: dart.nullable(core.Map$(core.Symbol, dart.dynamic)) +})); +dart.setLibraryUri(_js_helper.DeferredNotLoadedError, I[45]); +dart.setFieldSignature(_js_helper.DeferredNotLoadedError, () => ({ + __proto__: dart.getFields(_js_helper.DeferredNotLoadedError.__proto__), + enclosingLibrary: dart.fieldType(core.String), + importPrefix: dart.fieldType(core.String) +})); +dart.defineExtensionMethods(_js_helper.DeferredNotLoadedError, ['toString']); +var _fileUri$ = dart.privateName(_js_helper, "_fileUri"); +var _line$ = dart.privateName(_js_helper, "_line"); +var _column$ = dart.privateName(_js_helper, "_column"); +var _conditionSource$ = dart.privateName(_js_helper, "_conditionSource"); +var message$0 = dart.privateName(core, "AssertionError.message"); +core.AssertionError = class AssertionError extends core.Error { + get message() { + return this[message$0]; + } + set message(value) { + super.message = value; + } + toString() { + if (this.message != null) { + return "Assertion failed: " + dart.str(core.Error.safeToString(this.message)); + } + return "Assertion failed"; + } +}; +(core.AssertionError.new = function(message = null) { + this[message$0] = message; + core.AssertionError.__proto__.new.call(this); + ; +}).prototype = core.AssertionError.prototype; +dart.addTypeTests(core.AssertionError); +dart.addTypeCaches(core.AssertionError); +dart.setLibraryUri(core.AssertionError, I[8]); +dart.setFieldSignature(core.AssertionError, () => ({ + __proto__: dart.getFields(core.AssertionError.__proto__), + message: dart.finalFieldType(dart.nullable(core.Object)) +})); +dart.defineExtensionMethods(core.AssertionError, ['toString']); +_js_helper.AssertionErrorImpl = class AssertionErrorImpl extends core.AssertionError { + toString() { + let failureMessage = ""; + if (this[_fileUri$] != null && this[_line$] != null && this[_column$] != null && this[_conditionSource$] != null) { + failureMessage = failureMessage + (dart.str(this[_fileUri$]) + ":" + dart.str(this[_line$]) + ":" + dart.str(this[_column$]) + "\n" + dart.str(this[_conditionSource$]) + "\n"); + } + failureMessage = failureMessage + dart.notNull(this.message != null ? core.Error.safeToString(this.message) : "is not true"); + return "Assertion failed: " + failureMessage; + } +}; +(_js_helper.AssertionErrorImpl.new = function(message, _fileUri = null, _line = null, _column = null, _conditionSource = null) { + this[_fileUri$] = _fileUri; + this[_line$] = _line; + this[_column$] = _column; + this[_conditionSource$] = _conditionSource; + _js_helper.AssertionErrorImpl.__proto__.new.call(this, message); + ; +}).prototype = _js_helper.AssertionErrorImpl.prototype; +dart.addTypeTests(_js_helper.AssertionErrorImpl); +dart.addTypeCaches(_js_helper.AssertionErrorImpl); +dart.setLibraryUri(_js_helper.AssertionErrorImpl, I[45]); +dart.setFieldSignature(_js_helper.AssertionErrorImpl, () => ({ + __proto__: dart.getFields(_js_helper.AssertionErrorImpl.__proto__), + [_fileUri$]: dart.finalFieldType(dart.nullable(core.String)), + [_line$]: dart.finalFieldType(dart.nullable(core.int)), + [_column$]: dart.finalFieldType(dart.nullable(core.int)), + [_conditionSource$]: dart.finalFieldType(dart.nullable(core.String)) +})); +dart.defineExtensionMethods(_js_helper.AssertionErrorImpl, ['toString']); +_js_helper.BooleanConversionAssertionError = class BooleanConversionAssertionError extends core.AssertionError { + toString() { + return "Failed assertion: boolean expression must not be null"; + } +}; +(_js_helper.BooleanConversionAssertionError.new = function() { + _js_helper.BooleanConversionAssertionError.__proto__.new.call(this); + ; +}).prototype = _js_helper.BooleanConversionAssertionError.prototype; +dart.addTypeTests(_js_helper.BooleanConversionAssertionError); +dart.addTypeCaches(_js_helper.BooleanConversionAssertionError); +dart.setLibraryUri(_js_helper.BooleanConversionAssertionError, I[45]); +dart.defineExtensionMethods(_js_helper.BooleanConversionAssertionError, ['toString']); +var _name$1 = dart.privateName(_js_helper, "PrivateSymbol._name"); +var _nativeSymbol$ = dart.privateName(_js_helper, "PrivateSymbol._nativeSymbol"); +var _name = dart.privateName(_js_helper, "_name"); +var _nativeSymbol = dart.privateName(_js_helper, "_nativeSymbol"); +_js_helper.PrivateSymbol = class PrivateSymbol extends core.Object { + get [_name]() { + return this[_name$1]; + } + set [_name](value) { + super[_name] = value; + } + get [_nativeSymbol]() { + return this[_nativeSymbol$]; + } + set [_nativeSymbol](value) { + super[_nativeSymbol] = value; + } + static getName(symbol) { + if (symbol == null) dart.nullFailed(I[46], 815, 32, "symbol"); + return _js_helper.PrivateSymbol.as(symbol)[_name]; + } + static getNativeSymbol(symbol) { + if (symbol == null) dart.nullFailed(I[46], 817, 41, "symbol"); + if (_js_helper.PrivateSymbol.is(symbol)) return symbol[_nativeSymbol]; + return null; + } + _equals(other) { + if (other == null) return false; + return _js_helper.PrivateSymbol.is(other) && this[_name] == other[_name] && core.identical(this[_nativeSymbol], other[_nativeSymbol]); + } + get hashCode() { + return dart.hashCode(this[_name]); + } + toString() { + return "Symbol(\"" + dart.str(this[_name]) + "\")"; + } +}; +(_js_helper.PrivateSymbol.new = function(_name, _nativeSymbol) { + if (_name == null) dart.nullFailed(I[46], 813, 28, "_name"); + if (_nativeSymbol == null) dart.nullFailed(I[46], 813, 40, "_nativeSymbol"); + this[_name$1] = _name; + this[_nativeSymbol$] = _nativeSymbol; + ; +}).prototype = _js_helper.PrivateSymbol.prototype; +dart.addTypeTests(_js_helper.PrivateSymbol); +dart.addTypeCaches(_js_helper.PrivateSymbol); +_js_helper.PrivateSymbol[dart.implements] = () => [core.Symbol]; +dart.setLibraryUri(_js_helper.PrivateSymbol, I[45]); +dart.setFieldSignature(_js_helper.PrivateSymbol, () => ({ + __proto__: dart.getFields(_js_helper.PrivateSymbol.__proto__), + [_name]: dart.finalFieldType(core.String), + [_nativeSymbol]: dart.finalFieldType(core.Object) +})); +dart.defineExtensionMethods(_js_helper.PrivateSymbol, ['_equals', 'toString']); +dart.defineExtensionAccessors(_js_helper.PrivateSymbol, ['hashCode']); +_js_helper.ForceInline = class ForceInline extends core.Object {}; +(_js_helper.ForceInline.new = function() { + ; +}).prototype = _js_helper.ForceInline.prototype; +dart.addTypeTests(_js_helper.ForceInline); +dart.addTypeCaches(_js_helper.ForceInline); +dart.setLibraryUri(_js_helper.ForceInline, I[45]); +_js_helper._NotNull = class _NotNull extends core.Object {}; +(_js_helper._NotNull.new = function() { + ; +}).prototype = _js_helper._NotNull.prototype; +dart.addTypeTests(_js_helper._NotNull); +dart.addTypeCaches(_js_helper._NotNull); +dart.setLibraryUri(_js_helper._NotNull, I[45]); +_js_helper.NoReifyGeneric = class NoReifyGeneric extends core.Object {}; +(_js_helper.NoReifyGeneric.new = function() { + ; +}).prototype = _js_helper.NoReifyGeneric.prototype; +dart.addTypeTests(_js_helper.NoReifyGeneric); +dart.addTypeCaches(_js_helper.NoReifyGeneric); +dart.setLibraryUri(_js_helper.NoReifyGeneric, I[45]); +var value$1 = dart.privateName(_js_helper, "ReifyFunctionTypes.value"); +_js_helper.ReifyFunctionTypes = class ReifyFunctionTypes extends core.Object { + get value() { + return this[value$1]; + } + set value(value) { + super.value = value; + } +}; +(_js_helper.ReifyFunctionTypes.new = function(value) { + if (value == null) dart.nullFailed(I[47], 39, 33, "value"); + this[value$1] = value; + ; +}).prototype = _js_helper.ReifyFunctionTypes.prototype; +dart.addTypeTests(_js_helper.ReifyFunctionTypes); +dart.addTypeCaches(_js_helper.ReifyFunctionTypes); +dart.setLibraryUri(_js_helper.ReifyFunctionTypes, I[45]); +dart.setFieldSignature(_js_helper.ReifyFunctionTypes, () => ({ + __proto__: dart.getFields(_js_helper.ReifyFunctionTypes.__proto__), + value: dart.finalFieldType(core.bool) +})); +_js_helper._NullCheck = class _NullCheck extends core.Object {}; +(_js_helper._NullCheck.new = function() { + ; +}).prototype = _js_helper._NullCheck.prototype; +dart.addTypeTests(_js_helper._NullCheck); +dart.addTypeCaches(_js_helper._NullCheck); +dart.setLibraryUri(_js_helper._NullCheck, I[45]); +_js_helper._Undefined = class _Undefined extends core.Object {}; +(_js_helper._Undefined.new = function() { + ; +}).prototype = _js_helper._Undefined.prototype; +dart.addTypeTests(_js_helper._Undefined); +dart.addTypeCaches(_js_helper._Undefined); +dart.setLibraryUri(_js_helper._Undefined, I[45]); +_js_helper.NoThrows = class NoThrows extends core.Object {}; +(_js_helper.NoThrows.new = function() { + ; +}).prototype = _js_helper.NoThrows.prototype; +dart.addTypeTests(_js_helper.NoThrows); +dart.addTypeCaches(_js_helper.NoThrows); +dart.setLibraryUri(_js_helper.NoThrows, I[45]); +_js_helper.NoInline = class NoInline extends core.Object {}; +(_js_helper.NoInline.new = function() { + ; +}).prototype = _js_helper.NoInline.prototype; +dart.addTypeTests(_js_helper.NoInline); +dart.addTypeCaches(_js_helper.NoInline); +dart.setLibraryUri(_js_helper.NoInline, I[45]); +var name$7 = dart.privateName(_js_helper, "Native.name"); +_js_helper.Native = class Native extends core.Object { + get name() { + return this[name$7]; + } + set name(value) { + super.name = value; + } +}; +(_js_helper.Native.new = function(name) { + if (name == null) dart.nullFailed(I[47], 76, 21, "name"); + this[name$7] = name; + ; +}).prototype = _js_helper.Native.prototype; +dart.addTypeTests(_js_helper.Native); +dart.addTypeCaches(_js_helper.Native); +dart.setLibraryUri(_js_helper.Native, I[45]); +dart.setFieldSignature(_js_helper.Native, () => ({ + __proto__: dart.getFields(_js_helper.Native.__proto__), + name: dart.finalFieldType(core.String) +})); +var name$8 = dart.privateName(_js_helper, "JsPeerInterface.name"); +_js_helper.JsPeerInterface = class JsPeerInterface extends core.Object { + get name() { + return this[name$8]; + } + set name(value) { + super.name = value; + } +}; +(_js_helper.JsPeerInterface.new = function(opts) { + let name = opts && 'name' in opts ? opts.name : null; + if (name == null) dart.nullFailed(I[47], 84, 40, "name"); + this[name$8] = name; + ; +}).prototype = _js_helper.JsPeerInterface.prototype; +dart.addTypeTests(_js_helper.JsPeerInterface); +dart.addTypeCaches(_js_helper.JsPeerInterface); +dart.setLibraryUri(_js_helper.JsPeerInterface, I[45]); +dart.setFieldSignature(_js_helper.JsPeerInterface, () => ({ + __proto__: dart.getFields(_js_helper.JsPeerInterface.__proto__), + name: dart.finalFieldType(core.String) +})); +_js_helper.SupportJsExtensionMethods = class SupportJsExtensionMethods extends core.Object {}; +(_js_helper.SupportJsExtensionMethods.new = function() { + ; +}).prototype = _js_helper.SupportJsExtensionMethods.prototype; +dart.addTypeTests(_js_helper.SupportJsExtensionMethods); +dart.addTypeCaches(_js_helper.SupportJsExtensionMethods); +dart.setLibraryUri(_js_helper.SupportJsExtensionMethods, I[45]); +var _modifications = dart.privateName(_js_helper, "_modifications"); +var _map$ = dart.privateName(_js_helper, "_map"); +const _is_InternalMap_default = Symbol('_is_InternalMap_default'); +_js_helper.InternalMap$ = dart.generic((K, V) => { + class InternalMap extends collection.MapBase$(K, V) { + forEach(action) { + if (action == null) dart.nullFailed(I[48], 18, 21, "action"); + let modifications = this[_modifications]; + for (let entry of this[_map$].entries()) { + action(entry[0], entry[1]); + if (modifications !== this[_modifications]) { + dart.throw(new core.ConcurrentModificationError.new(this)); + } + } + } + } + (InternalMap.new = function() { + ; + }).prototype = InternalMap.prototype; + dart.addTypeTests(InternalMap); + InternalMap.prototype[_is_InternalMap_default] = true; + dart.addTypeCaches(InternalMap); + InternalMap[dart.implements] = () => [collection.LinkedHashMap$(K, V), collection.HashMap$(K, V)]; + dart.setLibraryUri(InternalMap, I[45]); + dart.defineExtensionMethods(InternalMap, ['forEach']); + return InternalMap; +}); +_js_helper.InternalMap = _js_helper.InternalMap$(); +dart.addTypeTests(_js_helper.InternalMap, _is_InternalMap_default); +var _map = dart.privateName(_js_helper, "LinkedMap._map"); +var _modifications$ = dart.privateName(_js_helper, "LinkedMap._modifications"); +var _keyMap = dart.privateName(_js_helper, "_keyMap"); +const _is_LinkedMap_default = Symbol('_is_LinkedMap_default'); +_js_helper.LinkedMap$ = dart.generic((K, V) => { + var _JSMapIterableOfK = () => (_JSMapIterableOfK = dart.constFn(_js_helper._JSMapIterable$(K)))(); + var MapOfK$V = () => (MapOfK$V = dart.constFn(core.Map$(K, V)))(); + var KAndVTovoid = () => (KAndVTovoid = dart.constFn(dart.fnType(dart.void, [K, V])))(); + var _JSMapIterableOfV = () => (_JSMapIterableOfV = dart.constFn(_js_helper._JSMapIterable$(V)))(); + var VoidToV = () => (VoidToV = dart.constFn(dart.fnType(V, [])))(); + class LinkedMap extends _js_helper.InternalMap$(K, V) { + get [_map$]() { + return this[_map]; + } + set [_map$](value) { + super[_map$] = value; + } + get [_modifications]() { + return this[_modifications$]; + } + set [_modifications](value) { + this[_modifications$] = value; + } + get length() { + return this[_map$].size; + } + get isEmpty() { + return this[_map$].size == 0; + } + get isNotEmpty() { + return this[_map$].size != 0; + } + get keys() { + return new (_JSMapIterableOfK()).new(this, true); + } + get values() { + return new (_JSMapIterableOfV()).new(this, false); + } + containsKey(key) { + if (key == null) { + key = null; + } else if (key[$_equals] !== dart.identityEquals) { + let buckets = this[_keyMap].get(dart.hashCode(key) & 0x3ffffff); + if (buckets != null) { + for (let i = 0, n = buckets.length; i < n; i = i + 1) { + let k = buckets[i]; + if (dart.equals(k, key)) return true; + } + } + return false; + } + return this[_map$].has(key); + } + containsValue(value) { + for (let v of this[_map$].values()) { + if (dart.equals(v, value)) return true; + } + return false; + } + addAll(other) { + MapOfK$V().as(other); + if (other == null) dart.nullFailed(I[48], 121, 25, "other"); + let map = this[_map$]; + let length = map.size; + other[$forEach](dart.fn((key, value) => { + if (key == null) { + key = null; + } else if (key[$_equals] !== dart.identityEquals) { + key = _js_helper.putLinkedMapKey(key, this[_keyMap]); + } + this[_map$].set(key, value); + }, KAndVTovoid())); + if (length !== map.size) { + this[_modifications] = this[_modifications] + 1 & 67108863; + } + } + _get(key) { + if (key == null) { + key = null; + } else if (key[$_equals] !== dart.identityEquals) { + let buckets = this[_keyMap].get(dart.hashCode(key) & 0x3ffffff); + if (buckets != null) { + for (let i = 0, n = buckets.length; i < n; i = i + 1) { + let k = buckets[i]; + if (dart.equals(k, key)) return this[_map$].get(k); + } + } + return null; + } + let value = this[_map$].get(key); + return value == null ? null : value; + } + _set(key, value$) { + let value = value$; + K.as(key); + V.as(value); + if (key == null) { + key = null; + } else if (key[$_equals] !== dart.identityEquals) { + key = _js_helper.putLinkedMapKey(key, this[_keyMap]); + } + let map = this[_map$]; + let length = map.size; + map.set(key, value); + if (length !== map.size) { + this[_modifications] = this[_modifications] + 1 & 67108863; + } + return value$; + } + putIfAbsent(key, ifAbsent) { + K.as(key); + VoidToV().as(ifAbsent); + if (ifAbsent == null) dart.nullFailed(I[48], 171, 26, "ifAbsent"); + let map = this[_map$]; + if (key == null) { + key = null; + if (map.has(null)) return map.get(null); + } else if (key[$_equals] !== dart.identityEquals) { + let k = key; + let hash = dart.hashCode(k) & 0x3ffffff; + let buckets = this[_keyMap].get(hash); + if (buckets == null) { + this[_keyMap].set(hash, [key]); + } else { + for (let i = 0, n = buckets.length; i < n; i = i + 1) { + k = buckets[i]; + if (dart.equals(k, key)) return map.get(k); + } + buckets.push(key); + } + } else if (map.has(key)) { + return map.get(key); + } + let value = ifAbsent(); + if (value == null) { + value = null; + } + map.set(key, value); + this[_modifications] = this[_modifications] + 1 & 67108863; + return value; + } + remove(key) { + if (key == null) { + key = null; + } else if (key[$_equals] !== dart.identityEquals) { + let hash = dart.hashCode(key) & 0x3ffffff; + let buckets = this[_keyMap].get(hash); + if (buckets == null) return null; + for (let i = 0, n = buckets.length;;) { + let k = buckets[i]; + if (dart.equals(k, key)) { + key = k; + if (n === 1) { + this[_keyMap].delete(hash); + } else { + buckets.splice(i, 1); + } + break; + } + if ((i = i + 1) >= n) return null; + } + } + let map = this[_map$]; + let value = map.get(key); + if (map.delete(key)) { + this[_modifications] = this[_modifications] + 1 & 67108863; + } + return value == null ? null : value; + } + clear() { + let map = this[_map$]; + if (map.size > 0) { + map.clear(); + this[_keyMap].clear(); + this[_modifications] = this[_modifications] + 1 & 67108863; + } + } + } + (LinkedMap.new = function() { + this[_map] = new Map(); + this[_keyMap] = new Map(); + this[_modifications$] = 0; + ; + }).prototype = LinkedMap.prototype; + (LinkedMap.from = function(entries) { + if (entries == null) dart.nullFailed(I[48], 68, 26, "entries"); + this[_map] = new Map(); + this[_keyMap] = new Map(); + this[_modifications$] = 0; + let map = this[_map$]; + let keyMap = this[_keyMap]; + for (let i = 0, n = entries.length; i < n; i = i + 2) { + let key = entries[i]; + let value = entries[i + 1]; + if (key == null) { + key = null; + } else if (key[$_equals] !== dart.identityEquals) { + key = _js_helper.putLinkedMapKey(key, keyMap); + } + map.set(key, value); + } + }).prototype = LinkedMap.prototype; + dart.addTypeTests(LinkedMap); + LinkedMap.prototype[_is_LinkedMap_default] = true; + dart.addTypeCaches(LinkedMap); + dart.setMethodSignature(LinkedMap, () => ({ + __proto__: dart.getMethods(LinkedMap.__proto__), + _get: dart.fnType(dart.nullable(V), [dart.nullable(core.Object)]), + [$_get]: dart.fnType(dart.nullable(V), [dart.nullable(core.Object)]), + _set: dart.fnType(dart.void, [dart.nullable(core.Object), dart.nullable(core.Object)]), + [$_set]: dart.fnType(dart.void, [dart.nullable(core.Object), dart.nullable(core.Object)]), + remove: dart.fnType(dart.nullable(V), [dart.nullable(core.Object)]), + [$remove]: dart.fnType(dart.nullable(V), [dart.nullable(core.Object)]), + clear: dart.fnType(dart.void, []), + [$clear]: dart.fnType(dart.void, []) + })); + dart.setGetterSignature(LinkedMap, () => ({ + __proto__: dart.getGetters(LinkedMap.__proto__), + keys: core.Iterable$(K), + [$keys]: core.Iterable$(K) + })); + dart.setLibraryUri(LinkedMap, I[45]); + dart.setFieldSignature(LinkedMap, () => ({ + __proto__: dart.getFields(LinkedMap.__proto__), + [_map$]: dart.finalFieldType(dart.dynamic), + [_keyMap]: dart.finalFieldType(dart.nullable(core.Object)), + [_modifications]: dart.fieldType(core.int) + })); + dart.defineExtensionMethods(LinkedMap, [ + 'containsKey', + 'containsValue', + 'addAll', + '_get', + '_set', + 'putIfAbsent', + 'remove', + 'clear' + ]); + dart.defineExtensionAccessors(LinkedMap, [ + 'length', + 'isEmpty', + 'isNotEmpty', + 'keys', + 'values' + ]); + return LinkedMap; +}); +_js_helper.LinkedMap = _js_helper.LinkedMap$(); +dart.addTypeTests(_js_helper.LinkedMap, _is_LinkedMap_default); +const _is_ImmutableMap_default = Symbol('_is_ImmutableMap_default'); +_js_helper.ImmutableMap$ = dart.generic((K, V) => { + var VoidToV = () => (VoidToV = dart.constFn(dart.fnType(V, [])))(); + class ImmutableMap extends _js_helper.LinkedMap$(K, V) { + _set(key, value$) { + let value = value$; + K.as(key); + V.as(value); + dart.throw(_js_helper.ImmutableMap._unsupported()); + return value$; + } + addAll(other) { + core.Object.as(other); + if (other == null) dart.nullFailed(I[48], 268, 22, "other"); + return dart.throw(_js_helper.ImmutableMap._unsupported()); + } + clear() { + return dart.throw(_js_helper.ImmutableMap._unsupported()); + } + remove(key) { + return dart.throw(_js_helper.ImmutableMap._unsupported()); + } + putIfAbsent(key, ifAbsent) { + K.as(key); + VoidToV().as(ifAbsent); + if (ifAbsent == null) dart.nullFailed(I[48], 271, 26, "ifAbsent"); + return dart.throw(_js_helper.ImmutableMap._unsupported()); + } + static _unsupported() { + return new core.UnsupportedError.new("Cannot modify unmodifiable map"); + } + } + (ImmutableMap.from = function(entries) { + if (entries == null) dart.nullFailed(I[48], 262, 29, "entries"); + ImmutableMap.__proto__.from.call(this, entries); + ; + }).prototype = ImmutableMap.prototype; + dart.addTypeTests(ImmutableMap); + ImmutableMap.prototype[_is_ImmutableMap_default] = true; + dart.addTypeCaches(ImmutableMap); + dart.setLibraryUri(ImmutableMap, I[45]); + dart.defineExtensionMethods(ImmutableMap, [ + '_set', + 'addAll', + 'clear', + 'remove', + 'putIfAbsent' + ]); + return ImmutableMap; +}); +_js_helper.ImmutableMap = _js_helper.ImmutableMap$(); +dart.addTypeTests(_js_helper.ImmutableMap, _is_ImmutableMap_default); +var _map$0 = dart.privateName(_js_helper, "IdentityMap._map"); +var _modifications$0 = dart.privateName(_js_helper, "IdentityMap._modifications"); +const _is_IdentityMap_default = Symbol('_is_IdentityMap_default'); +_js_helper.IdentityMap$ = dart.generic((K, V) => { + var _JSMapIterableOfK = () => (_JSMapIterableOfK = dart.constFn(_js_helper._JSMapIterable$(K)))(); + var MapOfK$V = () => (MapOfK$V = dart.constFn(core.Map$(K, V)))(); + var KAndVTovoid = () => (KAndVTovoid = dart.constFn(dart.fnType(dart.void, [K, V])))(); + var _JSMapIterableOfV = () => (_JSMapIterableOfV = dart.constFn(_js_helper._JSMapIterable$(V)))(); + var VoidToV = () => (VoidToV = dart.constFn(dart.fnType(V, [])))(); + class IdentityMap extends _js_helper.InternalMap$(K, V) { + get [_map$]() { + return this[_map$0]; + } + set [_map$](value) { + super[_map$] = value; + } + get [_modifications]() { + return this[_modifications$0]; + } + set [_modifications](value) { + this[_modifications$0] = value; + } + get length() { + return this[_map$].size; + } + get isEmpty() { + return this[_map$].size == 0; + } + get isNotEmpty() { + return this[_map$].size != 0; + } + get keys() { + return new (_JSMapIterableOfK()).new(this, true); + } + get values() { + return new (_JSMapIterableOfV()).new(this, false); + } + containsKey(key) { + return this[_map$].has(key); + } + containsValue(value) { + for (let v of this[_map$].values()) { + if (dart.equals(v, value)) return true; + } + return false; + } + addAll(other) { + MapOfK$V().as(other); + if (other == null) dart.nullFailed(I[49], 47, 25, "other"); + if (dart.test(other[$isNotEmpty])) { + let map = this[_map$]; + other[$forEach](dart.fn((key, value) => { + map.set(key, value); + }, KAndVTovoid())); + this[_modifications] = this[_modifications] + 1 & 67108863; + } + } + _get(key) { + let value = this[_map$].get(key); + return value == null ? null : value; + } + _set(key, value$) { + let value = value$; + K.as(key); + V.as(value); + let map = this[_map$]; + let length = map.size; + map.set(key, value); + if (length !== map.size) { + this[_modifications] = this[_modifications] + 1 & 67108863; + } + return value$; + } + putIfAbsent(key, ifAbsent) { + K.as(key); + VoidToV().as(ifAbsent); + if (ifAbsent == null) dart.nullFailed(I[49], 71, 26, "ifAbsent"); + if (this[_map$].has(key)) { + return this[_map$].get(key); + } + let value = ifAbsent(); + if (value == null) value = null; + this[_map$].set(key, value); + this[_modifications] = this[_modifications] + 1 & 67108863; + return value; + } + remove(key) { + let value = this[_map$].get(key); + if (this[_map$].delete(key)) { + this[_modifications] = this[_modifications] + 1 & 67108863; + } + return value == null ? null : value; + } + clear() { + if (this[_map$].size > 0) { + this[_map$].clear(); + this[_modifications] = this[_modifications] + 1 & 67108863; + } + } + } + (IdentityMap.new = function() { + this[_map$0] = new Map(); + this[_modifications$0] = 0; + ; + }).prototype = IdentityMap.prototype; + (IdentityMap.from = function(entries) { + if (entries == null) dart.nullFailed(I[49], 22, 28, "entries"); + this[_map$0] = new Map(); + this[_modifications$0] = 0; + let map = this[_map$]; + for (let i = 0, n = entries.length; i < n; i = i + 2) { + map.set(entries[i], entries[i + 1]); + } + }).prototype = IdentityMap.prototype; + dart.addTypeTests(IdentityMap); + IdentityMap.prototype[_is_IdentityMap_default] = true; + dart.addTypeCaches(IdentityMap); + dart.setMethodSignature(IdentityMap, () => ({ + __proto__: dart.getMethods(IdentityMap.__proto__), + _get: dart.fnType(dart.nullable(V), [dart.nullable(core.Object)]), + [$_get]: dart.fnType(dart.nullable(V), [dart.nullable(core.Object)]), + _set: dart.fnType(dart.void, [dart.nullable(core.Object), dart.nullable(core.Object)]), + [$_set]: dart.fnType(dart.void, [dart.nullable(core.Object), dart.nullable(core.Object)]), + remove: dart.fnType(dart.nullable(V), [dart.nullable(core.Object)]), + [$remove]: dart.fnType(dart.nullable(V), [dart.nullable(core.Object)]), + clear: dart.fnType(dart.void, []), + [$clear]: dart.fnType(dart.void, []) + })); + dart.setGetterSignature(IdentityMap, () => ({ + __proto__: dart.getGetters(IdentityMap.__proto__), + keys: core.Iterable$(K), + [$keys]: core.Iterable$(K) + })); + dart.setLibraryUri(IdentityMap, I[45]); + dart.setFieldSignature(IdentityMap, () => ({ + __proto__: dart.getFields(IdentityMap.__proto__), + [_map$]: dart.finalFieldType(dart.dynamic), + [_modifications]: dart.fieldType(core.int) + })); + dart.defineExtensionMethods(IdentityMap, [ + 'containsKey', + 'containsValue', + 'addAll', + '_get', + '_set', + 'putIfAbsent', + 'remove', + 'clear' + ]); + dart.defineExtensionAccessors(IdentityMap, [ + 'length', + 'isEmpty', + 'isNotEmpty', + 'keys', + 'values' + ]); + return IdentityMap; +}); +_js_helper.IdentityMap = _js_helper.IdentityMap$(); +dart.addTypeTests(_js_helper.IdentityMap, _is_IdentityMap_default); +var _isKeys$ = dart.privateName(_js_helper, "_isKeys"); +const _is__JSMapIterable_default = Symbol('_is__JSMapIterable_default'); +_js_helper._JSMapIterable$ = dart.generic(E => { + var DartIteratorOfE = () => (DartIteratorOfE = dart.constFn(_js_helper.DartIterator$(E)))(); + class _JSMapIterable extends _internal.EfficientLengthIterable$(E) { + get length() { + return this[_map$][$length]; + } + get isEmpty() { + return this[_map$][$isEmpty]; + } + [Symbol.iterator]() { + let map = this[_map$]; + let iterator = this[_isKeys$] ? map[_map$].keys() : map[_map$].values(); + let modifications = map[_modifications]; + return { + next() { + if (modifications != map[_modifications]) { + throw new core.ConcurrentModificationError.new(map); + } + return iterator.next(); + } + }; + } + get iterator() { + return new (DartIteratorOfE()).new(this[Symbol.iterator]()); + } + contains(element) { + return this[_isKeys$] ? this[_map$][$containsKey](element) : this[_map$][$containsValue](element); + } + forEach(f) { + if (f == null) dart.nullFailed(I[49], 134, 33, "f"); + for (let entry of this) + f(entry); + } + } + (_JSMapIterable.new = function(_map, _isKeys) { + if (_map == null) dart.nullFailed(I[49], 102, 23, "_map"); + if (_isKeys == null) dart.nullFailed(I[49], 102, 34, "_isKeys"); + this[_map$] = _map; + this[_isKeys$] = _isKeys; + _JSMapIterable.__proto__.new.call(this); + ; + }).prototype = _JSMapIterable.prototype; + dart.addTypeTests(_JSMapIterable); + _JSMapIterable.prototype[_is__JSMapIterable_default] = true; + dart.addTypeCaches(_JSMapIterable); + dart.setMethodSignature(_JSMapIterable, () => ({ + __proto__: dart.getMethods(_JSMapIterable.__proto__), + [Symbol.iterator]: dart.fnType(dart.dynamic, []) + })); + dart.setGetterSignature(_JSMapIterable, () => ({ + __proto__: dart.getGetters(_JSMapIterable.__proto__), + iterator: core.Iterator$(E), + [$iterator]: core.Iterator$(E) + })); + dart.setLibraryUri(_JSMapIterable, I[45]); + dart.setFieldSignature(_JSMapIterable, () => ({ + __proto__: dart.getFields(_JSMapIterable.__proto__), + [_map$]: dart.finalFieldType(_js_helper.InternalMap), + [_isKeys$]: dart.finalFieldType(core.bool) + })); + dart.defineExtensionMethods(_JSMapIterable, ['contains', 'forEach']); + dart.defineExtensionAccessors(_JSMapIterable, ['length', 'isEmpty', 'iterator']); + return _JSMapIterable; +}); +_js_helper._JSMapIterable = _js_helper._JSMapIterable$(); +dart.addTypeTests(_js_helper._JSMapIterable, _is__JSMapIterable_default); +var _validKey$ = dart.privateName(_js_helper, "_validKey"); +var _map$1 = dart.privateName(_js_helper, "CustomHashMap._map"); +var _modifications$1 = dart.privateName(_js_helper, "CustomHashMap._modifications"); +var _equals$ = dart.privateName(_js_helper, "_equals"); +var _hashCode$ = dart.privateName(_js_helper, "_hashCode"); +const _is_CustomHashMap_default = Symbol('_is_CustomHashMap_default'); +_js_helper.CustomHashMap$ = dart.generic((K, V) => { + var _JSMapIterableOfK = () => (_JSMapIterableOfK = dart.constFn(_js_helper._JSMapIterable$(K)))(); + var MapOfK$V = () => (MapOfK$V = dart.constFn(core.Map$(K, V)))(); + var KAndVTovoid = () => (KAndVTovoid = dart.constFn(dart.fnType(dart.void, [K, V])))(); + var _JSMapIterableOfV = () => (_JSMapIterableOfV = dart.constFn(_js_helper._JSMapIterable$(V)))(); + var VoidToV = () => (VoidToV = dart.constFn(dart.fnType(V, [])))(); + class CustomHashMap extends _js_helper.InternalMap$(K, V) { + get [_map$]() { + return this[_map$1]; + } + set [_map$](value) { + super[_map$] = value; + } + get [_modifications]() { + return this[_modifications$1]; + } + set [_modifications](value) { + this[_modifications$1] = value; + } + get length() { + return this[_map$].size; + } + get isEmpty() { + return this[_map$].size == 0; + } + get isNotEmpty() { + return this[_map$].size != 0; + } + get keys() { + return new (_JSMapIterableOfK()).new(this, true); + } + get values() { + return new (_JSMapIterableOfV()).new(this, false); + } + containsKey(key) { + let t82; + if (K.is(key)) { + let buckets = this[_keyMap].get((t82 = key, this[_hashCode$](t82)) & 0x3ffffff); + if (buckets != null) { + let equals = this[_equals$]; + for (let i = 0, n = buckets.length; i < n; i = i + 1) { + let k = buckets[i]; + if (dart.test(equals(k, key))) return true; + } + } + } + return false; + } + containsValue(value) { + for (let v of this[_map$].values()) { + if (dart.equals(value, v)) return true; + } + return false; + } + addAll(other) { + MapOfK$V().as(other); + if (other == null) dart.nullFailed(I[50], 91, 25, "other"); + other[$forEach](dart.fn((key, value) => { + this._set(key, value); + }, KAndVTovoid())); + } + _get(key) { + let t82; + if (K.is(key)) { + let buckets = this[_keyMap].get((t82 = key, this[_hashCode$](t82)) & 0x3ffffff); + if (buckets != null) { + let equals = this[_equals$]; + for (let i = 0, n = buckets.length; i < n; i = i + 1) { + let k = buckets[i]; + if (dart.test(equals(k, key))) { + let value = this[_map$].get(k); + return value == null ? null : value; + } + } + } + } + return null; + } + _set(key, value$) { + let value = value$; + let t82; + K.as(key); + V.as(value); + let keyMap = this[_keyMap]; + let hash = (t82 = key, this[_hashCode$](t82)) & 0x3ffffff; + let buckets = keyMap.get(hash); + if (buckets == null) { + keyMap.set(hash, [key]); + } else { + let equals = this[_equals$]; + for (let i = 0, n = buckets.length;;) { + let k = buckets[i]; + if (dart.test(equals(k, key))) { + key = k; + break; + } + if ((i = i + 1) >= n) { + buckets.push(key); + break; + } + } + } + this[_map$].set(key, value); + this[_modifications] = this[_modifications] + 1 & 67108863; + return value$; + } + putIfAbsent(key, ifAbsent) { + let t82; + K.as(key); + VoidToV().as(ifAbsent); + if (ifAbsent == null) dart.nullFailed(I[50], 138, 26, "ifAbsent"); + let keyMap = this[_keyMap]; + let hash = (t82 = key, this[_hashCode$](t82)) & 0x3ffffff; + let buckets = keyMap.get(hash); + if (buckets == null) { + keyMap.set(hash, [key]); + } else { + let equals = this[_equals$]; + for (let i = 0, n = buckets.length; i < n; i = i + 1) { + let k = buckets[i]; + if (dart.test(equals(k, key))) return this[_map$].get(k); + } + buckets.push(key); + } + let value = ifAbsent(); + if (value == null) value = null; + this[_map$].set(key, value); + this[_modifications] = this[_modifications] + 1 & 67108863; + return value; + } + remove(key) { + let t82; + if (K.is(key)) { + let hash = (t82 = key, this[_hashCode$](t82)) & 0x3ffffff; + let keyMap = this[_keyMap]; + let buckets = keyMap.get(hash); + if (buckets == null) return null; + let equals = this[_equals$]; + for (let i = 0, n = buckets.length; i < n; i = i + 1) { + let k = buckets[i]; + if (dart.test(equals(k, key))) { + if (n === 1) { + keyMap.delete(hash); + } else { + buckets.splice(i, 1); + } + let map = this[_map$]; + let value = map.get(k); + map.delete(k); + this[_modifications] = this[_modifications] + 1 & 67108863; + return value == null ? null : value; + } + } + } + return null; + } + clear() { + let map = this[_map$]; + if (map.size > 0) { + map.clear(); + this[_keyMap].clear(); + this[_modifications] = this[_modifications] + 1 & 67108863; + } + } + } + (CustomHashMap.new = function(_equals, _hashCode) { + if (_equals == null) dart.nullFailed(I[50], 55, 22, "_equals"); + if (_hashCode == null) dart.nullFailed(I[50], 55, 36, "_hashCode"); + this[_map$1] = new Map(); + this[_keyMap] = new Map(); + this[_modifications$1] = 0; + this[_equals$] = _equals; + this[_hashCode$] = _hashCode; + ; + }).prototype = CustomHashMap.prototype; + dart.addTypeTests(CustomHashMap); + CustomHashMap.prototype[_is_CustomHashMap_default] = true; + dart.addTypeCaches(CustomHashMap); + dart.setMethodSignature(CustomHashMap, () => ({ + __proto__: dart.getMethods(CustomHashMap.__proto__), + _get: dart.fnType(dart.nullable(V), [dart.nullable(core.Object)]), + [$_get]: dart.fnType(dart.nullable(V), [dart.nullable(core.Object)]), + _set: dart.fnType(dart.void, [dart.nullable(core.Object), dart.nullable(core.Object)]), + [$_set]: dart.fnType(dart.void, [dart.nullable(core.Object), dart.nullable(core.Object)]), + remove: dart.fnType(dart.nullable(V), [dart.nullable(core.Object)]), + [$remove]: dart.fnType(dart.nullable(V), [dart.nullable(core.Object)]), + clear: dart.fnType(dart.void, []), + [$clear]: dart.fnType(dart.void, []) + })); + dart.setGetterSignature(CustomHashMap, () => ({ + __proto__: dart.getGetters(CustomHashMap.__proto__), + keys: core.Iterable$(K), + [$keys]: core.Iterable$(K) + })); + dart.setLibraryUri(CustomHashMap, I[45]); + dart.setFieldSignature(CustomHashMap, () => ({ + __proto__: dart.getFields(CustomHashMap.__proto__), + [_map$]: dart.finalFieldType(dart.dynamic), + [_keyMap]: dart.finalFieldType(dart.nullable(core.Object)), + [_modifications]: dart.fieldType(core.int), + [_equals$]: dart.finalFieldType(dart.fnType(core.bool, [K, K])), + [_hashCode$]: dart.finalFieldType(dart.fnType(core.int, [K])) + })); + dart.defineExtensionMethods(CustomHashMap, [ + 'containsKey', + 'containsValue', + 'addAll', + '_get', + '_set', + 'putIfAbsent', + 'remove', + 'clear' + ]); + dart.defineExtensionAccessors(CustomHashMap, [ + 'length', + 'isEmpty', + 'isNotEmpty', + 'keys', + 'values' + ]); + return CustomHashMap; +}); +_js_helper.CustomHashMap = _js_helper.CustomHashMap$(); +dart.addTypeTests(_js_helper.CustomHashMap, _is_CustomHashMap_default); +const _is_CustomKeyHashMap_default = Symbol('_is_CustomKeyHashMap_default'); +_js_helper.CustomKeyHashMap$ = dart.generic((K, V) => { + class CustomKeyHashMap extends _js_helper.CustomHashMap$(K, V) { + containsKey(key) { + let t82; + if (!dart.test((t82 = key, this[_validKey$](t82)))) return false; + return super.containsKey(key); + } + _get(key) { + let t82; + if (!dart.test((t82 = key, this[_validKey$](t82)))) return null; + return super._get(key); + } + remove(key) { + let t82; + if (!dart.test((t82 = key, this[_validKey$](t82)))) return null; + return super.remove(key); + } + } + (CustomKeyHashMap.new = function(equals, hashCode, _validKey) { + if (equals == null) dart.nullFailed(I[50], 9, 33, "equals"); + if (hashCode == null) dart.nullFailed(I[50], 9, 52, "hashCode"); + if (_validKey == null) dart.nullFailed(I[50], 9, 67, "_validKey"); + this[_validKey$] = _validKey; + CustomKeyHashMap.__proto__.new.call(this, equals, hashCode); + ; + }).prototype = CustomKeyHashMap.prototype; + dart.addTypeTests(CustomKeyHashMap); + CustomKeyHashMap.prototype[_is_CustomKeyHashMap_default] = true; + dart.addTypeCaches(CustomKeyHashMap); + dart.setLibraryUri(CustomKeyHashMap, I[45]); + dart.setFieldSignature(CustomKeyHashMap, () => ({ + __proto__: dart.getFields(CustomKeyHashMap.__proto__), + [_validKey$]: dart.finalFieldType(dart.fnType(core.bool, [dart.nullable(core.Object)])) + })); + dart.defineExtensionMethods(CustomKeyHashMap, ['containsKey', '_get', 'remove']); + return CustomKeyHashMap; +}); +_js_helper.CustomKeyHashMap = _js_helper.CustomKeyHashMap$(); +dart.addTypeTests(_js_helper.CustomKeyHashMap, _is_CustomKeyHashMap_default); +var pattern = dart.privateName(_js_helper, "JSSyntaxRegExp.pattern"); +var _nativeGlobalRegExp = dart.privateName(_js_helper, "_nativeGlobalRegExp"); +var _nativeAnchoredRegExp = dart.privateName(_js_helper, "_nativeAnchoredRegExp"); +var _nativeRegExp = dart.privateName(_js_helper, "_nativeRegExp"); +var _isMultiLine = dart.privateName(_js_helper, "_isMultiLine"); +var _isCaseSensitive = dart.privateName(_js_helper, "_isCaseSensitive"); +var _isUnicode = dart.privateName(_js_helper, "_isUnicode"); +var _isDotAll = dart.privateName(_js_helper, "_isDotAll"); +var _nativeGlobalVersion = dart.privateName(_js_helper, "_nativeGlobalVersion"); +var _nativeAnchoredVersion = dart.privateName(_js_helper, "_nativeAnchoredVersion"); +var _execGlobal = dart.privateName(_js_helper, "_execGlobal"); +var _execAnchored = dart.privateName(_js_helper, "_execAnchored"); +_js_helper.JSSyntaxRegExp = class JSSyntaxRegExp extends core.Object { + get pattern() { + return this[pattern]; + } + set pattern(value) { + super.pattern = value; + } + toString() { + return "RegExp/" + dart.str(this.pattern) + "/" + this[_nativeRegExp].flags; + } + get [_nativeGlobalVersion]() { + if (this[_nativeGlobalRegExp] != null) return this[_nativeGlobalRegExp]; + return this[_nativeGlobalRegExp] = _js_helper.JSSyntaxRegExp.makeNative(this.pattern, this[_isMultiLine], this[_isCaseSensitive], this[_isUnicode], this[_isDotAll], true); + } + get [_nativeAnchoredVersion]() { + if (this[_nativeAnchoredRegExp] != null) return this[_nativeAnchoredRegExp]; + return this[_nativeAnchoredRegExp] = _js_helper.JSSyntaxRegExp.makeNative(dart.str(this.pattern) + "|()", this[_isMultiLine], this[_isCaseSensitive], this[_isUnicode], this[_isDotAll], true); + } + get [_isMultiLine]() { + return this[_nativeRegExp].multiline; + } + get [_isCaseSensitive]() { + return !this[_nativeRegExp].ignoreCase; + } + get [_isUnicode]() { + return this[_nativeRegExp].unicode; + } + get [_isDotAll]() { + return this[_nativeRegExp].dotAll == true; + } + static makeNative(source, multiLine, caseSensitive, unicode, dotAll, global) { + if (source == null) dart.argumentError(source); + if (multiLine == null) dart.nullFailed(I[51], 86, 52, "multiLine"); + if (caseSensitive == null) dart.nullFailed(I[51], 87, 12, "caseSensitive"); + if (unicode == null) dart.nullFailed(I[51], 87, 32, "unicode"); + if (dotAll == null) dart.nullFailed(I[51], 87, 46, "dotAll"); + if (global == null) dart.nullFailed(I[51], 87, 59, "global"); + let m = dart.test(multiLine) ? "m" : ""; + let i = dart.test(caseSensitive) ? "" : "i"; + let u = dart.test(unicode) ? "u" : ""; + let s = dart.test(dotAll) ? "s" : ""; + let g = dart.test(global) ? "g" : ""; + let regexp = (function() { + try { + return new RegExp(source, m + i + u + s + g); + } catch (e) { + return e; + } + })(); + if (regexp instanceof RegExp) return regexp; + let errorMessage = String(regexp); + dart.throw(new core.FormatException.new("Illegal RegExp pattern: " + source + ", " + errorMessage)); + } + firstMatch(string) { + if (string == null) dart.argumentError(string); + let m = this[_nativeRegExp].exec(string); + if (m == null) return null; + return new _js_helper._MatchImplementation.new(this, m); + } + hasMatch(string) { + if (string == null) dart.argumentError(string); + return this[_nativeRegExp].test(string); + } + stringMatch(string) { + if (string == null) dart.nullFailed(I[51], 131, 30, "string"); + let match = this.firstMatch(string); + if (match != null) return match.group(0); + return null; + } + allMatches(string, start = 0) { + if (string == null) dart.argumentError(string); + if (start == null) dart.argumentError(start); + if (start < 0 || start > string.length) { + dart.throw(new core.RangeError.range(start, 0, string.length)); + } + return new _js_helper._AllMatchesIterable.new(this, string, start); + } + [_execGlobal](string, start) { + if (string == null) dart.nullFailed(I[51], 145, 35, "string"); + if (start == null) dart.nullFailed(I[51], 145, 47, "start"); + let regexp = core.Object.as(this[_nativeGlobalVersion]); + regexp.lastIndex = start; + let match = regexp.exec(string); + if (match == null) return null; + return new _js_helper._MatchImplementation.new(this, match); + } + [_execAnchored](string, start) { + let t82; + if (string == null) dart.nullFailed(I[51], 155, 37, "string"); + if (start == null) dart.nullFailed(I[51], 155, 49, "start"); + let regexp = core.Object.as(this[_nativeAnchoredVersion]); + regexp.lastIndex = start; + let match = regexp.exec(string); + if (match == null) return null; + if (match[$_get](dart.notNull(match[$length]) - 1) != null) return null; + t82 = match; + t82[$length] = dart.notNull(t82[$length]) - 1; + return new _js_helper._MatchImplementation.new(this, match); + } + matchAsPrefix(string, start = 0) { + if (string == null) dart.nullFailed(I[51], 169, 31, "string"); + if (start == null) dart.nullFailed(I[51], 169, 44, "start"); + if (dart.notNull(start) < 0 || dart.notNull(start) > string.length) { + dart.throw(new core.RangeError.range(start, 0, string.length)); + } + return this[_execAnchored](string, start); + } + get isMultiLine() { + return this[_isMultiLine]; + } + get isCaseSensitive() { + return this[_isCaseSensitive]; + } + get isUnicode() { + return this[_isUnicode]; + } + get isDotAll() { + return this[_isDotAll]; + } +}; +(_js_helper.JSSyntaxRegExp.new = function(source, opts) { + if (source == null) dart.nullFailed(I[51], 53, 25, "source"); + let multiLine = opts && 'multiLine' in opts ? opts.multiLine : false; + if (multiLine == null) dart.nullFailed(I[51], 54, 13, "multiLine"); + let caseSensitive = opts && 'caseSensitive' in opts ? opts.caseSensitive : true; + if (caseSensitive == null) dart.nullFailed(I[51], 55, 12, "caseSensitive"); + let unicode = opts && 'unicode' in opts ? opts.unicode : false; + if (unicode == null) dart.nullFailed(I[51], 56, 12, "unicode"); + let dotAll = opts && 'dotAll' in opts ? opts.dotAll : false; + if (dotAll == null) dart.nullFailed(I[51], 57, 12, "dotAll"); + this[_nativeGlobalRegExp] = null; + this[_nativeAnchoredRegExp] = null; + this[pattern] = source; + this[_nativeRegExp] = _js_helper.JSSyntaxRegExp.makeNative(source, multiLine, caseSensitive, unicode, dotAll, false); + ; +}).prototype = _js_helper.JSSyntaxRegExp.prototype; +dart.addTypeTests(_js_helper.JSSyntaxRegExp); +dart.addTypeCaches(_js_helper.JSSyntaxRegExp); +_js_helper.JSSyntaxRegExp[dart.implements] = () => [core.RegExp]; +dart.setMethodSignature(_js_helper.JSSyntaxRegExp, () => ({ + __proto__: dart.getMethods(_js_helper.JSSyntaxRegExp.__proto__), + firstMatch: dart.fnType(dart.nullable(core.RegExpMatch), [core.String]), + hasMatch: dart.fnType(core.bool, [core.String]), + stringMatch: dart.fnType(dart.nullable(core.String), [core.String]), + allMatches: dart.fnType(core.Iterable$(core.RegExpMatch), [core.String], [core.int]), + [$allMatches]: dart.fnType(core.Iterable$(core.RegExpMatch), [core.String], [core.int]), + [_execGlobal]: dart.fnType(dart.nullable(core.RegExpMatch), [core.String, core.int]), + [_execAnchored]: dart.fnType(dart.nullable(core.RegExpMatch), [core.String, core.int]), + matchAsPrefix: dart.fnType(dart.nullable(core.Match), [core.String], [core.int]), + [$matchAsPrefix]: dart.fnType(dart.nullable(core.Match), [core.String], [core.int]) +})); +dart.setGetterSignature(_js_helper.JSSyntaxRegExp, () => ({ + __proto__: dart.getGetters(_js_helper.JSSyntaxRegExp.__proto__), + [_nativeGlobalVersion]: dart.dynamic, + [_nativeAnchoredVersion]: dart.dynamic, + [_isMultiLine]: core.bool, + [_isCaseSensitive]: core.bool, + [_isUnicode]: core.bool, + [_isDotAll]: core.bool, + isMultiLine: core.bool, + isCaseSensitive: core.bool, + isUnicode: core.bool, + isDotAll: core.bool +})); +dart.setLibraryUri(_js_helper.JSSyntaxRegExp, I[45]); +dart.setFieldSignature(_js_helper.JSSyntaxRegExp, () => ({ + __proto__: dart.getFields(_js_helper.JSSyntaxRegExp.__proto__), + pattern: dart.finalFieldType(core.String), + [_nativeRegExp]: dart.finalFieldType(dart.dynamic), + [_nativeGlobalRegExp]: dart.fieldType(dart.dynamic), + [_nativeAnchoredRegExp]: dart.fieldType(dart.dynamic) +})); +dart.defineExtensionMethods(_js_helper.JSSyntaxRegExp, ['toString', 'allMatches', 'matchAsPrefix']); +var _match$ = dart.privateName(_js_helper, "_match"); +_js_helper._MatchImplementation = class _MatchImplementation extends core.Object { + get input() { + return this[_match$].input; + } + get start() { + return this[_match$].index; + } + get end() { + return dart.notNull(this.start) + dart.nullCheck(this[_match$][$_get](0)).length; + } + group(index) { + if (index == null) dart.nullFailed(I[51], 200, 21, "index"); + return this[_match$][$_get](index); + } + _get(index) { + if (index == null) dart.nullFailed(I[51], 201, 27, "index"); + return this.group(index); + } + get groupCount() { + return dart.notNull(this[_match$][$length]) - 1; + } + groups(groups) { + if (groups == null) dart.nullFailed(I[51], 204, 34, "groups"); + let out = T$.JSArrayOfStringN().of([]); + for (let i of groups) { + out[$add](this.group(i)); + } + return out; + } + namedGroup(name) { + if (name == null) dart.nullFailed(I[51], 212, 29, "name"); + let groups = this[_match$].groups; + if (groups != null) { + let result = groups[name]; + if (result != null || name in groups) { + return result; + } + } + dart.throw(new core.ArgumentError.value(name, "name", "Not a capture group name")); + } + get groupNames() { + let groups = this[_match$].groups; + if (groups != null) { + let keys = T$.JSArrayOfString().of(Object.keys(groups)); + return new (T$.SubListIterableOfString()).new(keys, 0, null); + } + return new (T$.EmptyIterableOfString()).new(); + } +}; +(_js_helper._MatchImplementation.new = function(pattern, _match) { + if (pattern == null) dart.nullFailed(I[51], 191, 29, "pattern"); + if (_match == null) dart.nullFailed(I[51], 191, 43, "_match"); + this.pattern = pattern; + this[_match$] = _match; + if (!(typeof this[_match$].input == 'string')) dart.assertFailed(null, I[51], 192, 12, "JS(\"var\", \"#.input\", _match) is String"); + if (!core.int.is(this[_match$].index)) dart.assertFailed(null, I[51], 193, 12, "JS(\"var\", \"#.index\", _match) is int"); +}).prototype = _js_helper._MatchImplementation.prototype; +dart.addTypeTests(_js_helper._MatchImplementation); +dart.addTypeCaches(_js_helper._MatchImplementation); +_js_helper._MatchImplementation[dart.implements] = () => [core.RegExpMatch]; +dart.setMethodSignature(_js_helper._MatchImplementation, () => ({ + __proto__: dart.getMethods(_js_helper._MatchImplementation.__proto__), + group: dart.fnType(dart.nullable(core.String), [core.int]), + _get: dart.fnType(dart.nullable(core.String), [core.int]), + groups: dart.fnType(core.List$(dart.nullable(core.String)), [core.List$(core.int)]), + namedGroup: dart.fnType(dart.nullable(core.String), [core.String]) +})); +dart.setGetterSignature(_js_helper._MatchImplementation, () => ({ + __proto__: dart.getGetters(_js_helper._MatchImplementation.__proto__), + input: core.String, + start: core.int, + end: core.int, + groupCount: core.int, + groupNames: core.Iterable$(core.String) +})); +dart.setLibraryUri(_js_helper._MatchImplementation, I[45]); +dart.setFieldSignature(_js_helper._MatchImplementation, () => ({ + __proto__: dart.getFields(_js_helper._MatchImplementation.__proto__), + pattern: dart.finalFieldType(core.Pattern), + [_match$]: dart.finalFieldType(core.List$(dart.nullable(core.String))) +})); +var _re$ = dart.privateName(_js_helper, "_re"); +var _string$0 = dart.privateName(_js_helper, "_string"); +var _start$0 = dart.privateName(_js_helper, "_start"); +core.RegExpMatch = class RegExpMatch extends core.Object {}; +(core.RegExpMatch.new = function() { + ; +}).prototype = core.RegExpMatch.prototype; +dart.addTypeTests(core.RegExpMatch); +dart.addTypeCaches(core.RegExpMatch); +core.RegExpMatch[dart.implements] = () => [core.Match]; +dart.setLibraryUri(core.RegExpMatch, I[8]); +_js_helper._AllMatchesIterable = class _AllMatchesIterable extends collection.IterableBase$(core.RegExpMatch) { + get iterator() { + return new _js_helper._AllMatchesIterator.new(this[_re$], this[_string$0], this[_start$0]); + } +}; +(_js_helper._AllMatchesIterable.new = function(_re, _string, _start) { + if (_re == null) dart.nullFailed(I[51], 238, 28, "_re"); + if (_string == null) dart.nullFailed(I[51], 238, 38, "_string"); + if (_start == null) dart.nullFailed(I[51], 238, 52, "_start"); + this[_re$] = _re; + this[_string$0] = _string; + this[_start$0] = _start; + _js_helper._AllMatchesIterable.__proto__.new.call(this); + ; +}).prototype = _js_helper._AllMatchesIterable.prototype; +dart.addTypeTests(_js_helper._AllMatchesIterable); +dart.addTypeCaches(_js_helper._AllMatchesIterable); +dart.setGetterSignature(_js_helper._AllMatchesIterable, () => ({ + __proto__: dart.getGetters(_js_helper._AllMatchesIterable.__proto__), + iterator: core.Iterator$(core.RegExpMatch), + [$iterator]: core.Iterator$(core.RegExpMatch) +})); +dart.setLibraryUri(_js_helper._AllMatchesIterable, I[45]); +dart.setFieldSignature(_js_helper._AllMatchesIterable, () => ({ + __proto__: dart.getFields(_js_helper._AllMatchesIterable.__proto__), + [_re$]: dart.finalFieldType(_js_helper.JSSyntaxRegExp), + [_string$0]: dart.finalFieldType(core.String), + [_start$0]: dart.finalFieldType(core.int) +})); +dart.defineExtensionAccessors(_js_helper._AllMatchesIterable, ['iterator']); +var _regExp$ = dart.privateName(_js_helper, "_regExp"); +var _nextIndex$ = dart.privateName(_js_helper, "_nextIndex"); +_js_helper._AllMatchesIterator = class _AllMatchesIterator extends core.Object { + get current() { + return dart.nullCast(this[_current$0], core.RegExpMatch); + } + static _isLeadSurrogate(c) { + if (c == null) dart.nullFailed(I[51], 254, 36, "c"); + return dart.notNull(c) >= 55296 && dart.notNull(c) <= 56319; + } + static _isTrailSurrogate(c) { + if (c == null) dart.nullFailed(I[51], 258, 37, "c"); + return dart.notNull(c) >= 56320 && dart.notNull(c) <= 57343; + } + moveNext() { + let string = this[_string$0]; + if (string == null) return false; + if (dart.notNull(this[_nextIndex$]) <= string.length) { + let match = this[_regExp$][_execGlobal](string, this[_nextIndex$]); + if (match != null) { + this[_current$0] = match; + let nextIndex = match.end; + if (match.start == nextIndex) { + if (dart.test(this[_regExp$].isUnicode) && dart.notNull(this[_nextIndex$]) + 1 < string.length && dart.test(_js_helper._AllMatchesIterator._isLeadSurrogate(string[$codeUnitAt](this[_nextIndex$]))) && dart.test(_js_helper._AllMatchesIterator._isTrailSurrogate(string[$codeUnitAt](dart.notNull(this[_nextIndex$]) + 1)))) { + nextIndex = dart.notNull(nextIndex) + 1; + } + nextIndex = dart.notNull(nextIndex) + 1; + } + this[_nextIndex$] = nextIndex; + return true; + } + } + this[_current$0] = null; + this[_string$0] = null; + return false; + } +}; +(_js_helper._AllMatchesIterator.new = function(_regExp, _string, _nextIndex) { + if (_regExp == null) dart.nullFailed(I[51], 250, 28, "_regExp"); + if (_nextIndex == null) dart.nullFailed(I[51], 250, 56, "_nextIndex"); + this[_current$0] = null; + this[_regExp$] = _regExp; + this[_string$0] = _string; + this[_nextIndex$] = _nextIndex; + ; +}).prototype = _js_helper._AllMatchesIterator.prototype; +dart.addTypeTests(_js_helper._AllMatchesIterator); +dart.addTypeCaches(_js_helper._AllMatchesIterator); +_js_helper._AllMatchesIterator[dart.implements] = () => [core.Iterator$(core.RegExpMatch)]; +dart.setMethodSignature(_js_helper._AllMatchesIterator, () => ({ + __proto__: dart.getMethods(_js_helper._AllMatchesIterator.__proto__), + moveNext: dart.fnType(core.bool, []) +})); +dart.setGetterSignature(_js_helper._AllMatchesIterator, () => ({ + __proto__: dart.getGetters(_js_helper._AllMatchesIterator.__proto__), + current: core.RegExpMatch +})); +dart.setLibraryUri(_js_helper._AllMatchesIterator, I[45]); +dart.setFieldSignature(_js_helper._AllMatchesIterator, () => ({ + __proto__: dart.getFields(_js_helper._AllMatchesIterator.__proto__), + [_regExp$]: dart.finalFieldType(_js_helper.JSSyntaxRegExp), + [_string$0]: dart.fieldType(dart.nullable(core.String)), + [_nextIndex$]: dart.fieldType(core.int), + [_current$0]: dart.fieldType(dart.nullable(core.RegExpMatch)) +})); +var start$0 = dart.privateName(_js_helper, "StringMatch.start"); +var input$ = dart.privateName(_js_helper, "StringMatch.input"); +var pattern$ = dart.privateName(_js_helper, "StringMatch.pattern"); +_js_helper.StringMatch = class StringMatch extends core.Object { + get start() { + return this[start$0]; + } + set start(value) { + super.start = value; + } + get input() { + return this[input$]; + } + set input(value) { + super.input = value; + } + get pattern() { + return this[pattern$]; + } + set pattern(value) { + super.pattern = value; + } + get end() { + return dart.notNull(this.start) + this.pattern.length; + } + _get(g) { + if (g == null) dart.nullFailed(I[52], 31, 26, "g"); + return this.group(g); + } + get groupCount() { + return 0; + } + group(group_) { + if (group_ == null) dart.nullFailed(I[52], 34, 20, "group_"); + if (group_ !== 0) { + dart.throw(new core.RangeError.value(group_)); + } + return this.pattern; + } + groups(groups_) { + if (groups_ == null) dart.nullFailed(I[52], 41, 33, "groups_"); + let result = T$.JSArrayOfString().of([]); + for (let g of groups_) { + result[$add](this.group(g)); + } + return result; + } +}; +(_js_helper.StringMatch.new = function(start, input, pattern) { + if (start == null) dart.nullFailed(I[52], 28, 30, "start"); + if (input == null) dart.nullFailed(I[52], 28, 49, "input"); + if (pattern == null) dart.nullFailed(I[52], 28, 68, "pattern"); + this[start$0] = start; + this[input$] = input; + this[pattern$] = pattern; + ; +}).prototype = _js_helper.StringMatch.prototype; +dart.addTypeTests(_js_helper.StringMatch); +dart.addTypeCaches(_js_helper.StringMatch); +_js_helper.StringMatch[dart.implements] = () => [core.Match]; +dart.setMethodSignature(_js_helper.StringMatch, () => ({ + __proto__: dart.getMethods(_js_helper.StringMatch.__proto__), + _get: dart.fnType(core.String, [core.int]), + group: dart.fnType(core.String, [core.int]), + groups: dart.fnType(core.List$(core.String), [core.List$(core.int)]) +})); +dart.setGetterSignature(_js_helper.StringMatch, () => ({ + __proto__: dart.getGetters(_js_helper.StringMatch.__proto__), + end: core.int, + groupCount: core.int +})); +dart.setLibraryUri(_js_helper.StringMatch, I[45]); +dart.setFieldSignature(_js_helper.StringMatch, () => ({ + __proto__: dart.getFields(_js_helper.StringMatch.__proto__), + start: dart.finalFieldType(core.int), + input: dart.finalFieldType(core.String), + pattern: dart.finalFieldType(core.String) +})); +var _input$ = dart.privateName(_js_helper, "_input"); +var _pattern$ = dart.privateName(_js_helper, "_pattern"); +var _index$0 = dart.privateName(_js_helper, "_index"); +core.Match = class Match extends core.Object {}; +(core.Match.new = function() { + ; +}).prototype = core.Match.prototype; +dart.addTypeTests(core.Match); +dart.addTypeCaches(core.Match); +dart.setLibraryUri(core.Match, I[8]); +_js_helper._StringAllMatchesIterable = class _StringAllMatchesIterable extends core.Iterable$(core.Match) { + get iterator() { + return new _js_helper._StringAllMatchesIterator.new(this[_input$], this[_pattern$], this[_index$0]); + } + get first() { + let index = _js_helper.stringIndexOfStringUnchecked(this[_input$], this[_pattern$], this[_index$0]); + if (index >= 0) { + return new _js_helper.StringMatch.new(index, this[_input$], this[_pattern$]); + } + dart.throw(_internal.IterableElementError.noElement()); + } +}; +(_js_helper._StringAllMatchesIterable.new = function(_input, _pattern, _index) { + if (_input == null) dart.nullFailed(I[52], 64, 34, "_input"); + if (_pattern == null) dart.nullFailed(I[52], 64, 47, "_pattern"); + if (_index == null) dart.nullFailed(I[52], 64, 62, "_index"); + this[_input$] = _input; + this[_pattern$] = _pattern; + this[_index$0] = _index; + _js_helper._StringAllMatchesIterable.__proto__.new.call(this); + ; +}).prototype = _js_helper._StringAllMatchesIterable.prototype; +dart.addTypeTests(_js_helper._StringAllMatchesIterable); +dart.addTypeCaches(_js_helper._StringAllMatchesIterable); +dart.setGetterSignature(_js_helper._StringAllMatchesIterable, () => ({ + __proto__: dart.getGetters(_js_helper._StringAllMatchesIterable.__proto__), + iterator: core.Iterator$(core.Match), + [$iterator]: core.Iterator$(core.Match) +})); +dart.setLibraryUri(_js_helper._StringAllMatchesIterable, I[45]); +dart.setFieldSignature(_js_helper._StringAllMatchesIterable, () => ({ + __proto__: dart.getFields(_js_helper._StringAllMatchesIterable.__proto__), + [_input$]: dart.finalFieldType(core.String), + [_pattern$]: dart.finalFieldType(core.String), + [_index$0]: dart.finalFieldType(core.int) +})); +dart.defineExtensionAccessors(_js_helper._StringAllMatchesIterable, ['iterator', 'first']); +_js_helper._StringAllMatchesIterator = class _StringAllMatchesIterator extends core.Object { + moveNext() { + if (dart.notNull(this[_index$0]) + this[_pattern$].length > this[_input$].length) { + this[_current$0] = null; + return false; + } + let index = _js_helper.stringIndexOfStringUnchecked(this[_input$], this[_pattern$], this[_index$0]); + if (index < 0) { + this[_index$0] = this[_input$].length + 1; + this[_current$0] = null; + return false; + } + let end = index + this[_pattern$].length; + this[_current$0] = new _js_helper.StringMatch.new(index, this[_input$], this[_pattern$]); + if (end === this[_index$0]) end = end + 1; + this[_index$0] = end; + return true; + } + get current() { + return dart.nullCheck(this[_current$0]); + } +}; +(_js_helper._StringAllMatchesIterator.new = function(_input, _pattern, _index) { + if (_input == null) dart.nullFailed(I[52], 84, 34, "_input"); + if (_pattern == null) dart.nullFailed(I[52], 84, 47, "_pattern"); + if (_index == null) dart.nullFailed(I[52], 84, 62, "_index"); + this[_current$0] = null; + this[_input$] = _input; + this[_pattern$] = _pattern; + this[_index$0] = _index; + ; +}).prototype = _js_helper._StringAllMatchesIterator.prototype; +dart.addTypeTests(_js_helper._StringAllMatchesIterator); +dart.addTypeCaches(_js_helper._StringAllMatchesIterator); +_js_helper._StringAllMatchesIterator[dart.implements] = () => [core.Iterator$(core.Match)]; +dart.setMethodSignature(_js_helper._StringAllMatchesIterator, () => ({ + __proto__: dart.getMethods(_js_helper._StringAllMatchesIterator.__proto__), + moveNext: dart.fnType(core.bool, []) +})); +dart.setGetterSignature(_js_helper._StringAllMatchesIterator, () => ({ + __proto__: dart.getGetters(_js_helper._StringAllMatchesIterator.__proto__), + current: core.Match +})); +dart.setLibraryUri(_js_helper._StringAllMatchesIterator, I[45]); +dart.setFieldSignature(_js_helper._StringAllMatchesIterator, () => ({ + __proto__: dart.getFields(_js_helper._StringAllMatchesIterator.__proto__), + [_input$]: dart.finalFieldType(core.String), + [_pattern$]: dart.finalFieldType(core.String), + [_index$0]: dart.fieldType(core.int), + [_current$0]: dart.fieldType(dart.nullable(core.Match)) +})); +_js_helper.diagnoseIndexError = function diagnoseIndexError(indexable, index) { + if (index == null) dart.nullFailed(I[46], 483, 41, "index"); + let length = core.int.as(dart.dload(indexable, 'length')); + if (dart.notNull(index) < 0 || dart.notNull(index) >= dart.notNull(length)) { + return new core.IndexError.new(index, indexable, "index", null, length); + } + return new core.RangeError.value(index, "index"); +}; +_js_helper.diagnoseRangeError = function diagnoseRangeError(start, end, length) { + if (length == null) dart.nullFailed(I[46], 499, 52, "length"); + if (start == null) { + return new core.ArgumentError.value(start, "start"); + } + if (dart.notNull(start) < 0 || dart.notNull(start) > dart.notNull(length)) { + return new core.RangeError.range(start, 0, length, "start"); + } + if (end != null) { + if (dart.notNull(end) < dart.notNull(start) || dart.notNull(end) > dart.notNull(length)) { + return new core.RangeError.range(end, start, length, "end"); + } + } + return new core.ArgumentError.value(end, "end"); +}; +_js_helper.stringLastIndexOfUnchecked = function stringLastIndexOfUnchecked(receiver, element, start) { + return receiver.lastIndexOf(element, start); +}; +_js_helper.argumentErrorValue = function argumentErrorValue(object) { + return new core.ArgumentError.value(object); +}; +_js_helper.throwArgumentErrorValue = function throwArgumentErrorValue(value) { + dart.throw(_js_helper.argumentErrorValue(value)); +}; +_js_helper.checkInt = function checkInt(value) { + if (!core.int.is(value)) dart.throw(_js_helper.argumentErrorValue(value)); + return value; +}; +_js_helper.throwRuntimeError = function throwRuntimeError(message) { + dart.throw(new _js_helper.RuntimeError.new(message)); +}; +_js_helper.throwAbstractClassInstantiationError = function throwAbstractClassInstantiationError(className) { + dart.throw(new core.AbstractClassInstantiationError.new(core.String.as(className))); +}; +_js_helper.throwConcurrentModificationError = function throwConcurrentModificationError(collection) { + dart.throw(new core.ConcurrentModificationError.new(collection)); +}; +_js_helper.fillLiteralMap = function fillLiteralMap(keyValuePairs, result) { + let t82, t82$; + if (result == null) dart.nullFailed(I[46], 579, 35, "result"); + let index = 0; + let length = _js_helper.getLength(keyValuePairs); + while (index < dart.notNull(length)) { + let key = _js_helper.getIndex(keyValuePairs, (t82 = index, index = t82 + 1, t82)); + let value = _js_helper.getIndex(keyValuePairs, (t82$ = index, index = t82$ + 1, t82$)); + result[$_set](key, value); + } + return result; +}; +_js_helper.jsHasOwnProperty = function jsHasOwnProperty(jsObject, property) { + if (property == null) dart.nullFailed(I[46], 592, 40, "property"); + return jsObject.hasOwnProperty(property); +}; +_js_helper.jsPropertyAccess = function jsPropertyAccess(jsObject, property) { + if (property == null) dart.nullFailed(I[46], 596, 35, "property"); + return jsObject[property]; +}; +_js_helper.getFallThroughError = function getFallThroughError() { + return new _js_helper.FallThroughErrorImplementation.new(); +}; +_js_helper.random64 = function random64() { + let int32a = Math.random() * 0x100000000 >>> 0; + let int32b = Math.random() * 0x100000000 >>> 0; + return int32a + int32b * 4294967296; +}; +_js_helper.registerGlobalObject = function registerGlobalObject(object) { + try { + if (dart.test(dart.polyfill(object))) { + dart.applyAllExtensions(object); + } + } catch (e$) { + let e = dart.getThrown(e$); + if (core.Object.is(e)) { + } else + throw e$; + } +}; +_js_helper.applyExtension = function applyExtension$(name, nativeObject) { + dart.applyExtension(name, nativeObject); +}; +_js_helper.applyTestExtensions = function applyTestExtensions(names) { + if (names == null) dart.nullFailed(I[46], 802, 39, "names"); + names[$forEach](C[28] || CT.C28); +}; +_js_helper.assertInterop = function assertInterop$(value) { + if (core.Function.is(value)) dart.assertInterop(value); +}; +_js_helper.assertInteropArgs = function assertInteropArgs(args) { + if (args == null) dart.nullFailed(I[46], 843, 38, "args"); + return args[$forEach](C[29] || CT.C29); +}; +_js_helper.getRuntimeType = function getRuntimeType(object) { + return dart.getReifiedType(object); +}; +_js_helper.getIndex = function getIndex(array, index) { + if (index == null) dart.nullFailed(I[53], 13, 21, "index"); + if (!dart.test(_js_helper.isJsArray(array))) dart.assertFailed(null, I[53], 14, 10, "isJsArray(array)"); + return array[index]; +}; +_js_helper.getLength = function getLength(array) { + if (!dart.test(_js_helper.isJsArray(array))) dart.assertFailed(null, I[53], 20, 10, "isJsArray(array)"); + return array.length; +}; +_js_helper.isJsArray = function isJsArray(value) { + return _interceptors.JSArray.is(value); +}; +_js_helper.putLinkedMapKey = function putLinkedMapKey(key, keyMap) { + let hash = key[$hashCode] & 0x3ffffff; + let buckets = keyMap.get(hash); + if (buckets == null) { + keyMap.set(hash, [key]); + return key; + } + for (let i = 0, n = buckets.length; i < n; i = i + 1) { + let k = buckets[i]; + if (k[$_equals](key)) return k; + } + buckets.push(key); + return key; +}; +_js_helper.convertDartClosureToJS = function convertDartClosureToJS(F, closure, arity) { + if (arity == null) dart.nullFailed(I[54], 9, 44, "arity"); + return closure; +}; +_js_helper.setNativeSubclassDispatchRecord = function setNativeSubclassDispatchRecord(proto, interceptor) { +}; +_js_helper.findDispatchTagForInterceptorClass = function findDispatchTagForInterceptorClass(interceptorClassConstructor) { +}; +_js_helper.makeLeafDispatchRecord = function makeLeafDispatchRecord(interceptor) { +}; +_js_helper.regExpGetNative = function regExpGetNative(regexp) { + if (regexp == null) dart.nullFailed(I[51], 8, 32, "regexp"); + return regexp[_nativeRegExp]; +}; +_js_helper.regExpGetGlobalNative = function regExpGetGlobalNative(regexp) { + if (regexp == null) dart.nullFailed(I[51], 19, 38, "regexp"); + let nativeRegexp = regexp[_nativeGlobalVersion]; + nativeRegexp.lastIndex = 0; + return nativeRegexp; +}; +_js_helper.regExpCaptureCount = function regExpCaptureCount(regexp) { + if (regexp == null) dart.nullFailed(I[51], 35, 39, "regexp"); + let nativeAnchoredRegExp = regexp[_nativeAnchoredVersion]; + let match = nativeAnchoredRegExp.exec(''); + return match[$length] - 2; +}; +_js_helper.firstMatchAfter = function firstMatchAfter(regExp, string, start) { + if (regExp == null) dart.nullFailed(I[51], 293, 45, "regExp"); + if (string == null) dart.nullFailed(I[51], 293, 60, "string"); + if (start == null) dart.nullFailed(I[51], 293, 72, "start"); + return regExp[_execGlobal](string, start); +}; +_js_helper.stringIndexOfStringUnchecked = function stringIndexOfStringUnchecked(receiver, other, startIndex) { + return receiver.indexOf(other, startIndex); +}; +_js_helper.substring1Unchecked = function substring1Unchecked(receiver, startIndex) { + return receiver.substring(startIndex); +}; +_js_helper.substring2Unchecked = function substring2Unchecked(receiver, startIndex, endIndex) { + return receiver.substring(startIndex, endIndex); +}; +_js_helper.stringContainsStringUnchecked = function stringContainsStringUnchecked(receiver, other, startIndex) { + return _js_helper.stringIndexOfStringUnchecked(receiver, other, startIndex) >= 0; +}; +_js_helper.allMatchesInStringUnchecked = function allMatchesInStringUnchecked(pattern, string, startIndex) { + if (pattern == null) dart.nullFailed(I[52], 55, 12, "pattern"); + if (string == null) dart.nullFailed(I[52], 55, 28, "string"); + if (startIndex == null) dart.nullFailed(I[52], 55, 40, "startIndex"); + return new _js_helper._StringAllMatchesIterable.new(string, pattern, startIndex); +}; +_js_helper.stringContainsUnchecked = function stringContainsUnchecked(receiver, other, startIndex) { + if (startIndex == null) dart.nullFailed(I[52], 110, 51, "startIndex"); + if (typeof other == 'string') { + return _js_helper.stringContainsStringUnchecked(receiver, other, startIndex); + } else if (_js_helper.JSSyntaxRegExp.is(other)) { + return other.hasMatch(receiver[$substring](startIndex)); + } else { + let substr = receiver[$substring](startIndex); + return core.bool.as(dart.dload(dart.dsend(other, 'allMatches', [substr]), 'isNotEmpty')); + } +}; +_js_helper.stringReplaceJS = function stringReplaceJS(receiver, replacer, replacement) { + if (receiver == null) dart.nullFailed(I[52], 122, 31, "receiver"); + if (replacement == null) dart.nullFailed(I[52], 122, 58, "replacement"); + replacement = replacement.replace(/\$/g, "$$$$"); + return receiver.replace(replacer, replacement); +}; +_js_helper.stringReplaceFirstRE = function stringReplaceFirstRE(receiver, regexp, replacement, startIndex) { + if (regexp == null) dart.nullFailed(I[52], 131, 70, "regexp"); + if (replacement == null) dart.nullFailed(I[52], 132, 12, "replacement"); + if (startIndex == null) dart.nullFailed(I[52], 132, 29, "startIndex"); + let match = regexp[_execGlobal](receiver, startIndex); + if (match == null) return receiver; + let start = match.start; + let end = match.end; + return _js_helper.stringReplaceRangeUnchecked(receiver, start, end, replacement); +}; +_js_helper.quoteStringForRegExp = function quoteStringForRegExp(string) { + return string.replace(/[[\]{}()*+?.\\^$|]/g, "\\$&"); +}; +_js_helper.stringReplaceAllUnchecked = function stringReplaceAllUnchecked(receiver, pattern, replacement) { + if (pattern == null) dart.argumentError(pattern); + if (replacement == null) dart.argumentError(replacement); + if (typeof pattern == 'string') { + if (pattern === "") { + if (receiver === "") { + return replacement; + } else { + let result = new core.StringBuffer.new(); + let length = receiver.length; + result.write(replacement); + for (let i = 0; i < length; i = i + 1) { + result.write(receiver[$_get](i)); + result.write(replacement); + } + return result.toString(); + } + } else { + return receiver.split(pattern).join(replacement); + } + } else if (_js_helper.JSSyntaxRegExp.is(pattern)) { + let re = _js_helper.regExpGetGlobalNative(pattern); + return _js_helper.stringReplaceJS(receiver, re, replacement); + } else { + dart.throw("String.replaceAll(Pattern) UNIMPLEMENTED"); + } +}; +_js_helper._matchString = function _matchString(match) { + if (match == null) dart.nullFailed(I[52], 177, 27, "match"); + return dart.nullCheck(match._get(0)); +}; +_js_helper._stringIdentity = function _stringIdentity(string) { + if (string == null) dart.nullFailed(I[52], 178, 31, "string"); + return string; +}; +_js_helper.stringReplaceAllFuncUnchecked = function stringReplaceAllFuncUnchecked(receiver, pattern, onMatch, onNonMatch) { + if (receiver == null) dart.nullFailed(I[52], 182, 12, "receiver"); + if (pattern == null) dart.argumentError(pattern); + if (onMatch == null) onMatch = C[30] || CT.C30; + if (onNonMatch == null) onNonMatch = C[31] || CT.C31; + if (typeof pattern == 'string') { + return _js_helper.stringReplaceAllStringFuncUnchecked(receiver, pattern, onMatch, onNonMatch); + } + let buffer = new core.StringBuffer.new(); + let startIndex = 0; + for (let match of pattern[$allMatches](receiver)) { + buffer.write(onNonMatch(receiver[$substring](startIndex, match.start))); + buffer.write(onMatch(match)); + startIndex = match.end; + } + buffer.write(onNonMatch(receiver[$substring](startIndex))); + return buffer.toString(); +}; +_js_helper.stringReplaceAllEmptyFuncUnchecked = function stringReplaceAllEmptyFuncUnchecked(receiver, onMatch, onNonMatch) { + if (receiver == null) dart.nullFailed(I[52], 204, 50, "receiver"); + if (onMatch == null) dart.nullFailed(I[52], 205, 12, "onMatch"); + if (onNonMatch == null) dart.nullFailed(I[52], 205, 41, "onNonMatch"); + let buffer = new core.StringBuffer.new(); + let length = receiver.length; + let i = 0; + buffer.write(onNonMatch("")); + while (i < length) { + buffer.write(onMatch(new _js_helper.StringMatch.new(i, receiver, ""))); + let code = receiver[$codeUnitAt](i); + if ((code & ~1023 >>> 0) === 55296 && length > i + 1) { + code = receiver[$codeUnitAt](i + 1); + if ((code & ~1023 >>> 0) === 56320) { + buffer.write(onNonMatch(receiver[$substring](i, i + 2))); + i = i + 2; + continue; + } + } + buffer.write(onNonMatch(receiver[$_get](i))); + i = i + 1; + } + buffer.write(onMatch(new _js_helper.StringMatch.new(i, receiver, ""))); + buffer.write(onNonMatch("")); + return buffer.toString(); +}; +_js_helper.stringReplaceAllStringFuncUnchecked = function stringReplaceAllStringFuncUnchecked(receiver, pattern, onMatch, onNonMatch) { + if (receiver == null) dart.nullFailed(I[52], 234, 51, "receiver"); + if (pattern == null) dart.nullFailed(I[52], 234, 68, "pattern"); + if (onMatch == null) dart.nullFailed(I[52], 235, 12, "onMatch"); + if (onNonMatch == null) dart.nullFailed(I[52], 235, 41, "onNonMatch"); + let patternLength = pattern.length; + if (patternLength === 0) { + return _js_helper.stringReplaceAllEmptyFuncUnchecked(receiver, onMatch, onNonMatch); + } + let length = receiver.length; + let buffer = new core.StringBuffer.new(); + let startIndex = 0; + while (startIndex < length) { + let position = _js_helper.stringIndexOfStringUnchecked(receiver, pattern, startIndex); + if (position === -1) { + break; + } + buffer.write(onNonMatch(receiver[$substring](startIndex, position))); + buffer.write(onMatch(new _js_helper.StringMatch.new(position, receiver, pattern))); + startIndex = position + patternLength; + } + buffer.write(onNonMatch(receiver[$substring](startIndex))); + return buffer.toString(); +}; +_js_helper.stringReplaceFirstUnchecked = function stringReplaceFirstUnchecked(receiver, pattern, replacement, startIndex) { + if (pattern == null) dart.argumentError(pattern); + if (replacement == null) dart.nullFailed(I[52], 258, 40, "replacement"); + if (startIndex == null) dart.nullFailed(I[52], 258, 57, "startIndex"); + if (typeof pattern == 'string') { + let index = _js_helper.stringIndexOfStringUnchecked(receiver, pattern, startIndex); + if (index < 0) return receiver; + let end = index + pattern.length; + return _js_helper.stringReplaceRangeUnchecked(receiver, index, end, replacement); + } + if (_js_helper.JSSyntaxRegExp.is(pattern)) { + return startIndex === 0 ? _js_helper.stringReplaceJS(receiver, _js_helper.regExpGetNative(pattern), replacement) : _js_helper.stringReplaceFirstRE(receiver, pattern, replacement, startIndex); + } + let matches = pattern[$allMatches](receiver, startIndex)[$iterator]; + if (!dart.test(matches.moveNext())) return receiver; + let match = matches.current; + return receiver[$replaceRange](match.start, match.end, replacement); +}; +_js_helper.stringReplaceFirstMappedUnchecked = function stringReplaceFirstMappedUnchecked(receiver, pattern, replace, startIndex) { + if (receiver == null) dart.nullFailed(I[52], 277, 49, "receiver"); + if (pattern == null) dart.nullFailed(I[52], 277, 67, "pattern"); + if (replace == null) dart.nullFailed(I[52], 278, 12, "replace"); + if (startIndex == null) dart.nullFailed(I[52], 278, 40, "startIndex"); + let matches = pattern[$allMatches](receiver, startIndex)[$iterator]; + if (!dart.test(matches.moveNext())) return receiver; + let match = matches.current; + let replacement = dart.str(replace(match)); + return receiver[$replaceRange](match.start, match.end, replacement); +}; +_js_helper.stringJoinUnchecked = function stringJoinUnchecked(array, separator) { + return array.join(separator); +}; +_js_helper.stringReplaceRangeUnchecked = function stringReplaceRangeUnchecked(receiver, start, end, replacement) { + if (receiver == null) dart.nullFailed(I[52], 293, 12, "receiver"); + if (start == null) dart.nullFailed(I[52], 293, 26, "start"); + if (end == null) dart.nullFailed(I[52], 293, 37, "end"); + if (replacement == null) dart.nullFailed(I[52], 293, 49, "replacement"); + let prefix = receiver.substring(0, start); + let suffix = receiver.substring(end); + return prefix + dart.str(replacement) + suffix; +}; +dart.defineLazy(_js_helper, { + /*_js_helper.patch*/get patch() { + return C[32] || CT.C32; + }, + /*_js_helper.notNull*/get notNull() { + return C[33] || CT.C33; + }, + /*_js_helper.undefined*/get undefined() { + return C[34] || CT.C34; + }, + /*_js_helper.nullCheck*/get nullCheck() { + return C[35] || CT.C35; + } +}, false); +_js_primitives.printString = function printString(string) { + if (string == null) dart.nullFailed(I[55], 20, 25, "string"); + if (typeof dartPrint == "function") { + dartPrint(string); + return; + } + if (typeof console == "object" && typeof console.log != "undefined") { + console.log(string); + return; + } + if (typeof window == "object") { + return; + } + if (typeof print == "function") { + print(string); + return; + } + throw "Unable to print message: " + String(string); +}; +var browserName$ = dart.privateName(_metadata, "SupportedBrowser.browserName"); +var minimumVersion$ = dart.privateName(_metadata, "SupportedBrowser.minimumVersion"); +_metadata.SupportedBrowser = class SupportedBrowser extends core.Object { + get browserName() { + return this[browserName$]; + } + set browserName(value) { + super.browserName = value; + } + get minimumVersion() { + return this[minimumVersion$]; + } + set minimumVersion(value) { + super.minimumVersion = value; + } +}; +(_metadata.SupportedBrowser.new = function(browserName, minimumVersion = null) { + if (browserName == null) dart.nullFailed(I[56], 28, 31, "browserName"); + this[browserName$] = browserName; + this[minimumVersion$] = minimumVersion; + ; +}).prototype = _metadata.SupportedBrowser.prototype; +dart.addTypeTests(_metadata.SupportedBrowser); +dart.addTypeCaches(_metadata.SupportedBrowser); +dart.setLibraryUri(_metadata.SupportedBrowser, I[57]); +dart.setFieldSignature(_metadata.SupportedBrowser, () => ({ + __proto__: dart.getFields(_metadata.SupportedBrowser.__proto__), + browserName: dart.finalFieldType(core.String), + minimumVersion: dart.finalFieldType(dart.nullable(core.String)) +})); +dart.defineLazy(_metadata.SupportedBrowser, { + /*_metadata.SupportedBrowser.CHROME*/get CHROME() { + return "Chrome"; + }, + /*_metadata.SupportedBrowser.FIREFOX*/get FIREFOX() { + return "Firefox"; + }, + /*_metadata.SupportedBrowser.IE*/get IE() { + return "Internet Explorer"; + }, + /*_metadata.SupportedBrowser.OPERA*/get OPERA() { + return "Opera"; + }, + /*_metadata.SupportedBrowser.SAFARI*/get SAFARI() { + return "Safari"; + } +}, false); +_metadata.Experimental = class Experimental extends core.Object {}; +(_metadata.Experimental.new = function() { + ; +}).prototype = _metadata.Experimental.prototype; +dart.addTypeTests(_metadata.Experimental); +dart.addTypeCaches(_metadata.Experimental); +dart.setLibraryUri(_metadata.Experimental, I[57]); +var name$9 = dart.privateName(_metadata, "DomName.name"); +_metadata.DomName = class DomName extends core.Object { + get name() { + return this[name$9]; + } + set name(value) { + super.name = value; + } +}; +(_metadata.DomName.new = function(name) { + if (name == null) dart.nullFailed(I[56], 54, 22, "name"); + this[name$9] = name; + ; +}).prototype = _metadata.DomName.prototype; +dart.addTypeTests(_metadata.DomName); +dart.addTypeCaches(_metadata.DomName); +dart.setLibraryUri(_metadata.DomName, I[57]); +dart.setFieldSignature(_metadata.DomName, () => ({ + __proto__: dart.getFields(_metadata.DomName.__proto__), + name: dart.finalFieldType(core.String) +})); +_metadata.DocsEditable = class DocsEditable extends core.Object {}; +(_metadata.DocsEditable.new = function() { + ; +}).prototype = _metadata.DocsEditable.prototype; +dart.addTypeTests(_metadata.DocsEditable); +dart.addTypeCaches(_metadata.DocsEditable); +dart.setLibraryUri(_metadata.DocsEditable, I[57]); +_metadata.Unstable = class Unstable extends core.Object {}; +(_metadata.Unstable.new = function() { + ; +}).prototype = _metadata.Unstable.prototype; +dart.addTypeTests(_metadata.Unstable); +dart.addTypeCaches(_metadata.Unstable); +dart.setLibraryUri(_metadata.Unstable, I[57]); +_native_typed_data.NativeByteBuffer = class NativeByteBuffer extends core.Object { + get [$lengthInBytes]() { + return this.byteLength; + } + get [$runtimeType]() { + return dart.wrapType(typed_data.ByteBuffer); + } + [$asUint8List](offsetInBytes = 0, length = null) { + if (offsetInBytes == null) dart.nullFailed(I[58], 33, 30, "offsetInBytes"); + return _native_typed_data.NativeUint8List.view(this, offsetInBytes, length); + } + [$asInt8List](offsetInBytes = 0, length = null) { + if (offsetInBytes == null) dart.nullFailed(I[58], 37, 28, "offsetInBytes"); + return _native_typed_data.NativeInt8List.view(this, offsetInBytes, length); + } + [$asUint8ClampedList](offsetInBytes = 0, length = null) { + if (offsetInBytes == null) dart.nullFailed(I[58], 41, 44, "offsetInBytes"); + return _native_typed_data.NativeUint8ClampedList.view(this, offsetInBytes, length); + } + [$asUint16List](offsetInBytes = 0, length = null) { + if (offsetInBytes == null) dart.nullFailed(I[58], 45, 32, "offsetInBytes"); + return _native_typed_data.NativeUint16List.view(this, offsetInBytes, length); + } + [$asInt16List](offsetInBytes = 0, length = null) { + if (offsetInBytes == null) dart.nullFailed(I[58], 49, 30, "offsetInBytes"); + return _native_typed_data.NativeInt16List.view(this, offsetInBytes, length); + } + [$asUint32List](offsetInBytes = 0, length = null) { + if (offsetInBytes == null) dart.nullFailed(I[58], 53, 32, "offsetInBytes"); + return _native_typed_data.NativeUint32List.view(this, offsetInBytes, length); + } + [$asInt32List](offsetInBytes = 0, length = null) { + if (offsetInBytes == null) dart.nullFailed(I[58], 57, 30, "offsetInBytes"); + return _native_typed_data.NativeInt32List.view(this, offsetInBytes, length); + } + [$asUint64List](offsetInBytes = 0, length = null) { + if (offsetInBytes == null) dart.nullFailed(I[58], 61, 32, "offsetInBytes"); + dart.throw(new core.UnsupportedError.new("Uint64List not supported by dart2js.")); + } + [$asInt64List](offsetInBytes = 0, length = null) { + if (offsetInBytes == null) dart.nullFailed(I[58], 65, 30, "offsetInBytes"); + dart.throw(new core.UnsupportedError.new("Int64List not supported by dart2js.")); + } + [$asInt32x4List](offsetInBytes = 0, length = null) { + if (offsetInBytes == null) dart.nullFailed(I[58], 69, 34, "offsetInBytes"); + length == null ? length = ((dart.notNull(this[$lengthInBytes]) - dart.notNull(offsetInBytes)) / 16)[$truncate]() : null; + let storage = this[$asInt32List](offsetInBytes, dart.notNull(length) * 4); + return new _native_typed_data.NativeInt32x4List._externalStorage(storage); + } + [$asFloat32List](offsetInBytes = 0, length = null) { + if (offsetInBytes == null) dart.nullFailed(I[58], 75, 34, "offsetInBytes"); + return _native_typed_data.NativeFloat32List.view(this, offsetInBytes, length); + } + [$asFloat64List](offsetInBytes = 0, length = null) { + if (offsetInBytes == null) dart.nullFailed(I[58], 79, 34, "offsetInBytes"); + return _native_typed_data.NativeFloat64List.view(this, offsetInBytes, length); + } + [$asFloat32x4List](offsetInBytes = 0, length = null) { + if (offsetInBytes == null) dart.nullFailed(I[58], 83, 38, "offsetInBytes"); + length == null ? length = ((dart.notNull(this[$lengthInBytes]) - dart.notNull(offsetInBytes)) / 16)[$truncate]() : null; + let storage = this[$asFloat32List](offsetInBytes, dart.notNull(length) * 4); + return new _native_typed_data.NativeFloat32x4List._externalStorage(storage); + } + [$asFloat64x2List](offsetInBytes = 0, length = null) { + if (offsetInBytes == null) dart.nullFailed(I[58], 89, 38, "offsetInBytes"); + length == null ? length = ((dart.notNull(this[$lengthInBytes]) - dart.notNull(offsetInBytes)) / 16)[$truncate]() : null; + let storage = this[$asFloat64List](offsetInBytes, dart.notNull(length) * 2); + return new _native_typed_data.NativeFloat64x2List._externalStorage(storage); + } + [$asByteData](offsetInBytes = 0, length = null) { + if (offsetInBytes == null) dart.nullFailed(I[58], 95, 28, "offsetInBytes"); + return _native_typed_data.NativeByteData.view(this, offsetInBytes, length); + } +}; +(_native_typed_data.NativeByteBuffer.new = function() { + ; +}).prototype = _native_typed_data.NativeByteBuffer.prototype; +dart.addTypeTests(_native_typed_data.NativeByteBuffer); +dart.addTypeCaches(_native_typed_data.NativeByteBuffer); +_native_typed_data.NativeByteBuffer[dart.implements] = () => [typed_data.ByteBuffer]; +dart.setMethodSignature(_native_typed_data.NativeByteBuffer, () => ({ + __proto__: dart.getMethods(_native_typed_data.NativeByteBuffer.__proto__), + [$asUint8List]: dart.fnType(typed_data.Uint8List, [], [core.int, dart.nullable(core.int)]), + [$asInt8List]: dart.fnType(typed_data.Int8List, [], [core.int, dart.nullable(core.int)]), + [$asUint8ClampedList]: dart.fnType(typed_data.Uint8ClampedList, [], [core.int, dart.nullable(core.int)]), + [$asUint16List]: dart.fnType(typed_data.Uint16List, [], [core.int, dart.nullable(core.int)]), + [$asInt16List]: dart.fnType(typed_data.Int16List, [], [core.int, dart.nullable(core.int)]), + [$asUint32List]: dart.fnType(typed_data.Uint32List, [], [core.int, dart.nullable(core.int)]), + [$asInt32List]: dart.fnType(typed_data.Int32List, [], [core.int, dart.nullable(core.int)]), + [$asUint64List]: dart.fnType(typed_data.Uint64List, [], [core.int, dart.nullable(core.int)]), + [$asInt64List]: dart.fnType(typed_data.Int64List, [], [core.int, dart.nullable(core.int)]), + [$asInt32x4List]: dart.fnType(typed_data.Int32x4List, [], [core.int, dart.nullable(core.int)]), + [$asFloat32List]: dart.fnType(typed_data.Float32List, [], [core.int, dart.nullable(core.int)]), + [$asFloat64List]: dart.fnType(typed_data.Float64List, [], [core.int, dart.nullable(core.int)]), + [$asFloat32x4List]: dart.fnType(typed_data.Float32x4List, [], [core.int, dart.nullable(core.int)]), + [$asFloat64x2List]: dart.fnType(typed_data.Float64x2List, [], [core.int, dart.nullable(core.int)]), + [$asByteData]: dart.fnType(typed_data.ByteData, [], [core.int, dart.nullable(core.int)]) +})); +dart.setGetterSignature(_native_typed_data.NativeByteBuffer, () => ({ + __proto__: dart.getGetters(_native_typed_data.NativeByteBuffer.__proto__), + [$lengthInBytes]: core.int +})); +dart.setLibraryUri(_native_typed_data.NativeByteBuffer, I[59]); +dart.registerExtension("ArrayBuffer", _native_typed_data.NativeByteBuffer); +var _storage$ = dart.privateName(_native_typed_data, "_storage"); +typed_data.Float32x4 = class Float32x4 extends core.Object {}; +(typed_data.Float32x4[dart.mixinNew] = function() { +}).prototype = typed_data.Float32x4.prototype; +dart.addTypeTests(typed_data.Float32x4); +dart.addTypeCaches(typed_data.Float32x4); +dart.setLibraryUri(typed_data.Float32x4, I[60]); +dart.defineLazy(typed_data.Float32x4, { + /*typed_data.Float32x4.xxxx*/get xxxx() { + return 0; + }, + /*typed_data.Float32x4.xxxy*/get xxxy() { + return 64; + }, + /*typed_data.Float32x4.xxxz*/get xxxz() { + return 128; + }, + /*typed_data.Float32x4.xxxw*/get xxxw() { + return 192; + }, + /*typed_data.Float32x4.xxyx*/get xxyx() { + return 16; + }, + /*typed_data.Float32x4.xxyy*/get xxyy() { + return 80; + }, + /*typed_data.Float32x4.xxyz*/get xxyz() { + return 144; + }, + /*typed_data.Float32x4.xxyw*/get xxyw() { + return 208; + }, + /*typed_data.Float32x4.xxzx*/get xxzx() { + return 32; + }, + /*typed_data.Float32x4.xxzy*/get xxzy() { + return 96; + }, + /*typed_data.Float32x4.xxzz*/get xxzz() { + return 160; + }, + /*typed_data.Float32x4.xxzw*/get xxzw() { + return 224; + }, + /*typed_data.Float32x4.xxwx*/get xxwx() { + return 48; + }, + /*typed_data.Float32x4.xxwy*/get xxwy() { + return 112; + }, + /*typed_data.Float32x4.xxwz*/get xxwz() { + return 176; + }, + /*typed_data.Float32x4.xxww*/get xxww() { + return 240; + }, + /*typed_data.Float32x4.xyxx*/get xyxx() { + return 4; + }, + /*typed_data.Float32x4.xyxy*/get xyxy() { + return 68; + }, + /*typed_data.Float32x4.xyxz*/get xyxz() { + return 132; + }, + /*typed_data.Float32x4.xyxw*/get xyxw() { + return 196; + }, + /*typed_data.Float32x4.xyyx*/get xyyx() { + return 20; + }, + /*typed_data.Float32x4.xyyy*/get xyyy() { + return 84; + }, + /*typed_data.Float32x4.xyyz*/get xyyz() { + return 148; + }, + /*typed_data.Float32x4.xyyw*/get xyyw() { + return 212; + }, + /*typed_data.Float32x4.xyzx*/get xyzx() { + return 36; + }, + /*typed_data.Float32x4.xyzy*/get xyzy() { + return 100; + }, + /*typed_data.Float32x4.xyzz*/get xyzz() { + return 164; + }, + /*typed_data.Float32x4.xyzw*/get xyzw() { + return 228; + }, + /*typed_data.Float32x4.xywx*/get xywx() { + return 52; + }, + /*typed_data.Float32x4.xywy*/get xywy() { + return 116; + }, + /*typed_data.Float32x4.xywz*/get xywz() { + return 180; + }, + /*typed_data.Float32x4.xyww*/get xyww() { + return 244; + }, + /*typed_data.Float32x4.xzxx*/get xzxx() { + return 8; + }, + /*typed_data.Float32x4.xzxy*/get xzxy() { + return 72; + }, + /*typed_data.Float32x4.xzxz*/get xzxz() { + return 136; + }, + /*typed_data.Float32x4.xzxw*/get xzxw() { + return 200; + }, + /*typed_data.Float32x4.xzyx*/get xzyx() { + return 24; + }, + /*typed_data.Float32x4.xzyy*/get xzyy() { + return 88; + }, + /*typed_data.Float32x4.xzyz*/get xzyz() { + return 152; + }, + /*typed_data.Float32x4.xzyw*/get xzyw() { + return 216; + }, + /*typed_data.Float32x4.xzzx*/get xzzx() { + return 40; + }, + /*typed_data.Float32x4.xzzy*/get xzzy() { + return 104; + }, + /*typed_data.Float32x4.xzzz*/get xzzz() { + return 168; + }, + /*typed_data.Float32x4.xzzw*/get xzzw() { + return 232; + }, + /*typed_data.Float32x4.xzwx*/get xzwx() { + return 56; + }, + /*typed_data.Float32x4.xzwy*/get xzwy() { + return 120; + }, + /*typed_data.Float32x4.xzwz*/get xzwz() { + return 184; + }, + /*typed_data.Float32x4.xzww*/get xzww() { + return 248; + }, + /*typed_data.Float32x4.xwxx*/get xwxx() { + return 12; + }, + /*typed_data.Float32x4.xwxy*/get xwxy() { + return 76; + }, + /*typed_data.Float32x4.xwxz*/get xwxz() { + return 140; + }, + /*typed_data.Float32x4.xwxw*/get xwxw() { + return 204; + }, + /*typed_data.Float32x4.xwyx*/get xwyx() { + return 28; + }, + /*typed_data.Float32x4.xwyy*/get xwyy() { + return 92; + }, + /*typed_data.Float32x4.xwyz*/get xwyz() { + return 156; + }, + /*typed_data.Float32x4.xwyw*/get xwyw() { + return 220; + }, + /*typed_data.Float32x4.xwzx*/get xwzx() { + return 44; + }, + /*typed_data.Float32x4.xwzy*/get xwzy() { + return 108; + }, + /*typed_data.Float32x4.xwzz*/get xwzz() { + return 172; + }, + /*typed_data.Float32x4.xwzw*/get xwzw() { + return 236; + }, + /*typed_data.Float32x4.xwwx*/get xwwx() { + return 60; + }, + /*typed_data.Float32x4.xwwy*/get xwwy() { + return 124; + }, + /*typed_data.Float32x4.xwwz*/get xwwz() { + return 188; + }, + /*typed_data.Float32x4.xwww*/get xwww() { + return 252; + }, + /*typed_data.Float32x4.yxxx*/get yxxx() { + return 1; + }, + /*typed_data.Float32x4.yxxy*/get yxxy() { + return 65; + }, + /*typed_data.Float32x4.yxxz*/get yxxz() { + return 129; + }, + /*typed_data.Float32x4.yxxw*/get yxxw() { + return 193; + }, + /*typed_data.Float32x4.yxyx*/get yxyx() { + return 17; + }, + /*typed_data.Float32x4.yxyy*/get yxyy() { + return 81; + }, + /*typed_data.Float32x4.yxyz*/get yxyz() { + return 145; + }, + /*typed_data.Float32x4.yxyw*/get yxyw() { + return 209; + }, + /*typed_data.Float32x4.yxzx*/get yxzx() { + return 33; + }, + /*typed_data.Float32x4.yxzy*/get yxzy() { + return 97; + }, + /*typed_data.Float32x4.yxzz*/get yxzz() { + return 161; + }, + /*typed_data.Float32x4.yxzw*/get yxzw() { + return 225; + }, + /*typed_data.Float32x4.yxwx*/get yxwx() { + return 49; + }, + /*typed_data.Float32x4.yxwy*/get yxwy() { + return 113; + }, + /*typed_data.Float32x4.yxwz*/get yxwz() { + return 177; + }, + /*typed_data.Float32x4.yxww*/get yxww() { + return 241; + }, + /*typed_data.Float32x4.yyxx*/get yyxx() { + return 5; + }, + /*typed_data.Float32x4.yyxy*/get yyxy() { + return 69; + }, + /*typed_data.Float32x4.yyxz*/get yyxz() { + return 133; + }, + /*typed_data.Float32x4.yyxw*/get yyxw() { + return 197; + }, + /*typed_data.Float32x4.yyyx*/get yyyx() { + return 21; + }, + /*typed_data.Float32x4.yyyy*/get yyyy() { + return 85; + }, + /*typed_data.Float32x4.yyyz*/get yyyz() { + return 149; + }, + /*typed_data.Float32x4.yyyw*/get yyyw() { + return 213; + }, + /*typed_data.Float32x4.yyzx*/get yyzx() { + return 37; + }, + /*typed_data.Float32x4.yyzy*/get yyzy() { + return 101; + }, + /*typed_data.Float32x4.yyzz*/get yyzz() { + return 165; + }, + /*typed_data.Float32x4.yyzw*/get yyzw() { + return 229; + }, + /*typed_data.Float32x4.yywx*/get yywx() { + return 53; + }, + /*typed_data.Float32x4.yywy*/get yywy() { + return 117; + }, + /*typed_data.Float32x4.yywz*/get yywz() { + return 181; + }, + /*typed_data.Float32x4.yyww*/get yyww() { + return 245; + }, + /*typed_data.Float32x4.yzxx*/get yzxx() { + return 9; + }, + /*typed_data.Float32x4.yzxy*/get yzxy() { + return 73; + }, + /*typed_data.Float32x4.yzxz*/get yzxz() { + return 137; + }, + /*typed_data.Float32x4.yzxw*/get yzxw() { + return 201; + }, + /*typed_data.Float32x4.yzyx*/get yzyx() { + return 25; + }, + /*typed_data.Float32x4.yzyy*/get yzyy() { + return 89; + }, + /*typed_data.Float32x4.yzyz*/get yzyz() { + return 153; + }, + /*typed_data.Float32x4.yzyw*/get yzyw() { + return 217; + }, + /*typed_data.Float32x4.yzzx*/get yzzx() { + return 41; + }, + /*typed_data.Float32x4.yzzy*/get yzzy() { + return 105; + }, + /*typed_data.Float32x4.yzzz*/get yzzz() { + return 169; + }, + /*typed_data.Float32x4.yzzw*/get yzzw() { + return 233; + }, + /*typed_data.Float32x4.yzwx*/get yzwx() { + return 57; + }, + /*typed_data.Float32x4.yzwy*/get yzwy() { + return 121; + }, + /*typed_data.Float32x4.yzwz*/get yzwz() { + return 185; + }, + /*typed_data.Float32x4.yzww*/get yzww() { + return 249; + }, + /*typed_data.Float32x4.ywxx*/get ywxx() { + return 13; + }, + /*typed_data.Float32x4.ywxy*/get ywxy() { + return 77; + }, + /*typed_data.Float32x4.ywxz*/get ywxz() { + return 141; + }, + /*typed_data.Float32x4.ywxw*/get ywxw() { + return 205; + }, + /*typed_data.Float32x4.ywyx*/get ywyx() { + return 29; + }, + /*typed_data.Float32x4.ywyy*/get ywyy() { + return 93; + }, + /*typed_data.Float32x4.ywyz*/get ywyz() { + return 157; + }, + /*typed_data.Float32x4.ywyw*/get ywyw() { + return 221; + }, + /*typed_data.Float32x4.ywzx*/get ywzx() { + return 45; + }, + /*typed_data.Float32x4.ywzy*/get ywzy() { + return 109; + }, + /*typed_data.Float32x4.ywzz*/get ywzz() { + return 173; + }, + /*typed_data.Float32x4.ywzw*/get ywzw() { + return 237; + }, + /*typed_data.Float32x4.ywwx*/get ywwx() { + return 61; + }, + /*typed_data.Float32x4.ywwy*/get ywwy() { + return 125; + }, + /*typed_data.Float32x4.ywwz*/get ywwz() { + return 189; + }, + /*typed_data.Float32x4.ywww*/get ywww() { + return 253; + }, + /*typed_data.Float32x4.zxxx*/get zxxx() { + return 2; + }, + /*typed_data.Float32x4.zxxy*/get zxxy() { + return 66; + }, + /*typed_data.Float32x4.zxxz*/get zxxz() { + return 130; + }, + /*typed_data.Float32x4.zxxw*/get zxxw() { + return 194; + }, + /*typed_data.Float32x4.zxyx*/get zxyx() { + return 18; + }, + /*typed_data.Float32x4.zxyy*/get zxyy() { + return 82; + }, + /*typed_data.Float32x4.zxyz*/get zxyz() { + return 146; + }, + /*typed_data.Float32x4.zxyw*/get zxyw() { + return 210; + }, + /*typed_data.Float32x4.zxzx*/get zxzx() { + return 34; + }, + /*typed_data.Float32x4.zxzy*/get zxzy() { + return 98; + }, + /*typed_data.Float32x4.zxzz*/get zxzz() { + return 162; + }, + /*typed_data.Float32x4.zxzw*/get zxzw() { + return 226; + }, + /*typed_data.Float32x4.zxwx*/get zxwx() { + return 50; + }, + /*typed_data.Float32x4.zxwy*/get zxwy() { + return 114; + }, + /*typed_data.Float32x4.zxwz*/get zxwz() { + return 178; + }, + /*typed_data.Float32x4.zxww*/get zxww() { + return 242; + }, + /*typed_data.Float32x4.zyxx*/get zyxx() { + return 6; + }, + /*typed_data.Float32x4.zyxy*/get zyxy() { + return 70; + }, + /*typed_data.Float32x4.zyxz*/get zyxz() { + return 134; + }, + /*typed_data.Float32x4.zyxw*/get zyxw() { + return 198; + }, + /*typed_data.Float32x4.zyyx*/get zyyx() { + return 22; + }, + /*typed_data.Float32x4.zyyy*/get zyyy() { + return 86; + }, + /*typed_data.Float32x4.zyyz*/get zyyz() { + return 150; + }, + /*typed_data.Float32x4.zyyw*/get zyyw() { + return 214; + }, + /*typed_data.Float32x4.zyzx*/get zyzx() { + return 38; + }, + /*typed_data.Float32x4.zyzy*/get zyzy() { + return 102; + }, + /*typed_data.Float32x4.zyzz*/get zyzz() { + return 166; + }, + /*typed_data.Float32x4.zyzw*/get zyzw() { + return 230; + }, + /*typed_data.Float32x4.zywx*/get zywx() { + return 54; + }, + /*typed_data.Float32x4.zywy*/get zywy() { + return 118; + }, + /*typed_data.Float32x4.zywz*/get zywz() { + return 182; + }, + /*typed_data.Float32x4.zyww*/get zyww() { + return 246; + }, + /*typed_data.Float32x4.zzxx*/get zzxx() { + return 10; + }, + /*typed_data.Float32x4.zzxy*/get zzxy() { + return 74; + }, + /*typed_data.Float32x4.zzxz*/get zzxz() { + return 138; + }, + /*typed_data.Float32x4.zzxw*/get zzxw() { + return 202; + }, + /*typed_data.Float32x4.zzyx*/get zzyx() { + return 26; + }, + /*typed_data.Float32x4.zzyy*/get zzyy() { + return 90; + }, + /*typed_data.Float32x4.zzyz*/get zzyz() { + return 154; + }, + /*typed_data.Float32x4.zzyw*/get zzyw() { + return 218; + }, + /*typed_data.Float32x4.zzzx*/get zzzx() { + return 42; + }, + /*typed_data.Float32x4.zzzy*/get zzzy() { + return 106; + }, + /*typed_data.Float32x4.zzzz*/get zzzz() { + return 170; + }, + /*typed_data.Float32x4.zzzw*/get zzzw() { + return 234; + }, + /*typed_data.Float32x4.zzwx*/get zzwx() { + return 58; + }, + /*typed_data.Float32x4.zzwy*/get zzwy() { + return 122; + }, + /*typed_data.Float32x4.zzwz*/get zzwz() { + return 186; + }, + /*typed_data.Float32x4.zzww*/get zzww() { + return 250; + }, + /*typed_data.Float32x4.zwxx*/get zwxx() { + return 14; + }, + /*typed_data.Float32x4.zwxy*/get zwxy() { + return 78; + }, + /*typed_data.Float32x4.zwxz*/get zwxz() { + return 142; + }, + /*typed_data.Float32x4.zwxw*/get zwxw() { + return 206; + }, + /*typed_data.Float32x4.zwyx*/get zwyx() { + return 30; + }, + /*typed_data.Float32x4.zwyy*/get zwyy() { + return 94; + }, + /*typed_data.Float32x4.zwyz*/get zwyz() { + return 158; + }, + /*typed_data.Float32x4.zwyw*/get zwyw() { + return 222; + }, + /*typed_data.Float32x4.zwzx*/get zwzx() { + return 46; + }, + /*typed_data.Float32x4.zwzy*/get zwzy() { + return 110; + }, + /*typed_data.Float32x4.zwzz*/get zwzz() { + return 174; + }, + /*typed_data.Float32x4.zwzw*/get zwzw() { + return 238; + }, + /*typed_data.Float32x4.zwwx*/get zwwx() { + return 62; + }, + /*typed_data.Float32x4.zwwy*/get zwwy() { + return 126; + }, + /*typed_data.Float32x4.zwwz*/get zwwz() { + return 190; + }, + /*typed_data.Float32x4.zwww*/get zwww() { + return 254; + }, + /*typed_data.Float32x4.wxxx*/get wxxx() { + return 3; + }, + /*typed_data.Float32x4.wxxy*/get wxxy() { + return 67; + }, + /*typed_data.Float32x4.wxxz*/get wxxz() { + return 131; + }, + /*typed_data.Float32x4.wxxw*/get wxxw() { + return 195; + }, + /*typed_data.Float32x4.wxyx*/get wxyx() { + return 19; + }, + /*typed_data.Float32x4.wxyy*/get wxyy() { + return 83; + }, + /*typed_data.Float32x4.wxyz*/get wxyz() { + return 147; + }, + /*typed_data.Float32x4.wxyw*/get wxyw() { + return 211; + }, + /*typed_data.Float32x4.wxzx*/get wxzx() { + return 35; + }, + /*typed_data.Float32x4.wxzy*/get wxzy() { + return 99; + }, + /*typed_data.Float32x4.wxzz*/get wxzz() { + return 163; + }, + /*typed_data.Float32x4.wxzw*/get wxzw() { + return 227; + }, + /*typed_data.Float32x4.wxwx*/get wxwx() { + return 51; + }, + /*typed_data.Float32x4.wxwy*/get wxwy() { + return 115; + }, + /*typed_data.Float32x4.wxwz*/get wxwz() { + return 179; + }, + /*typed_data.Float32x4.wxww*/get wxww() { + return 243; + }, + /*typed_data.Float32x4.wyxx*/get wyxx() { + return 7; + }, + /*typed_data.Float32x4.wyxy*/get wyxy() { + return 71; + }, + /*typed_data.Float32x4.wyxz*/get wyxz() { + return 135; + }, + /*typed_data.Float32x4.wyxw*/get wyxw() { + return 199; + }, + /*typed_data.Float32x4.wyyx*/get wyyx() { + return 23; + }, + /*typed_data.Float32x4.wyyy*/get wyyy() { + return 87; + }, + /*typed_data.Float32x4.wyyz*/get wyyz() { + return 151; + }, + /*typed_data.Float32x4.wyyw*/get wyyw() { + return 215; + }, + /*typed_data.Float32x4.wyzx*/get wyzx() { + return 39; + }, + /*typed_data.Float32x4.wyzy*/get wyzy() { + return 103; + }, + /*typed_data.Float32x4.wyzz*/get wyzz() { + return 167; + }, + /*typed_data.Float32x4.wyzw*/get wyzw() { + return 231; + }, + /*typed_data.Float32x4.wywx*/get wywx() { + return 55; + }, + /*typed_data.Float32x4.wywy*/get wywy() { + return 119; + }, + /*typed_data.Float32x4.wywz*/get wywz() { + return 183; + }, + /*typed_data.Float32x4.wyww*/get wyww() { + return 247; + }, + /*typed_data.Float32x4.wzxx*/get wzxx() { + return 11; + }, + /*typed_data.Float32x4.wzxy*/get wzxy() { + return 75; + }, + /*typed_data.Float32x4.wzxz*/get wzxz() { + return 139; + }, + /*typed_data.Float32x4.wzxw*/get wzxw() { + return 203; + }, + /*typed_data.Float32x4.wzyx*/get wzyx() { + return 27; + }, + /*typed_data.Float32x4.wzyy*/get wzyy() { + return 91; + }, + /*typed_data.Float32x4.wzyz*/get wzyz() { + return 155; + }, + /*typed_data.Float32x4.wzyw*/get wzyw() { + return 219; + }, + /*typed_data.Float32x4.wzzx*/get wzzx() { + return 43; + }, + /*typed_data.Float32x4.wzzy*/get wzzy() { + return 107; + }, + /*typed_data.Float32x4.wzzz*/get wzzz() { + return 171; + }, + /*typed_data.Float32x4.wzzw*/get wzzw() { + return 235; + }, + /*typed_data.Float32x4.wzwx*/get wzwx() { + return 59; + }, + /*typed_data.Float32x4.wzwy*/get wzwy() { + return 123; + }, + /*typed_data.Float32x4.wzwz*/get wzwz() { + return 187; + }, + /*typed_data.Float32x4.wzww*/get wzww() { + return 251; + }, + /*typed_data.Float32x4.wwxx*/get wwxx() { + return 15; + }, + /*typed_data.Float32x4.wwxy*/get wwxy() { + return 79; + }, + /*typed_data.Float32x4.wwxz*/get wwxz() { + return 143; + }, + /*typed_data.Float32x4.wwxw*/get wwxw() { + return 207; + }, + /*typed_data.Float32x4.wwyx*/get wwyx() { + return 31; + }, + /*typed_data.Float32x4.wwyy*/get wwyy() { + return 95; + }, + /*typed_data.Float32x4.wwyz*/get wwyz() { + return 159; + }, + /*typed_data.Float32x4.wwyw*/get wwyw() { + return 223; + }, + /*typed_data.Float32x4.wwzx*/get wwzx() { + return 47; + }, + /*typed_data.Float32x4.wwzy*/get wwzy() { + return 111; + }, + /*typed_data.Float32x4.wwzz*/get wwzz() { + return 175; + }, + /*typed_data.Float32x4.wwzw*/get wwzw() { + return 239; + }, + /*typed_data.Float32x4.wwwx*/get wwwx() { + return 63; + }, + /*typed_data.Float32x4.wwwy*/get wwwy() { + return 127; + }, + /*typed_data.Float32x4.wwwz*/get wwwz() { + return 191; + }, + /*typed_data.Float32x4.wwww*/get wwww() { + return 255; + } +}, false); +const Object_ListMixin$36 = class Object_ListMixin extends core.Object {}; +(Object_ListMixin$36.new = function() { +}).prototype = Object_ListMixin$36.prototype; +dart.applyMixin(Object_ListMixin$36, collection.ListMixin$(typed_data.Float32x4)); +const Object_FixedLengthListMixin$36 = class Object_FixedLengthListMixin extends Object_ListMixin$36 {}; +(Object_FixedLengthListMixin$36.new = function() { +}).prototype = Object_FixedLengthListMixin$36.prototype; +dart.applyMixin(Object_FixedLengthListMixin$36, _internal.FixedLengthListMixin$(typed_data.Float32x4)); +_native_typed_data.NativeFloat32x4List = class NativeFloat32x4List extends Object_FixedLengthListMixin$36 { + get runtimeType() { + return dart.wrapType(typed_data.Float32x4List); + } + static fromList(list) { + if (list == null) dart.nullFailed(I[58], 129, 56, "list"); + if (_native_typed_data.NativeFloat32x4List.is(list)) { + return new _native_typed_data.NativeFloat32x4List._externalStorage(_native_typed_data.NativeFloat32List.fromList(list[_storage$])); + } else { + return new _native_typed_data.NativeFloat32x4List._slowFromList(list); + } + } + get buffer() { + return this[_storage$][$buffer]; + } + get lengthInBytes() { + return this[_storage$][$lengthInBytes]; + } + get offsetInBytes() { + return this[_storage$][$offsetInBytes]; + } + get elementSizeInBytes() { + return 16; + } + get length() { + return (dart.notNull(this[_storage$][$length]) / 4)[$truncate](); + } + set length(value) { + super.length = value; + } + _get(index) { + if (index == null) dart.nullFailed(I[58], 148, 29, "index"); + _native_typed_data._checkValidIndex(index, this, this.length); + let _x = this[_storage$][$_get](dart.notNull(index) * 4 + 0); + let _y = this[_storage$][$_get](dart.notNull(index) * 4 + 1); + let _z = this[_storage$][$_get](dart.notNull(index) * 4 + 2); + let _w = this[_storage$][$_get](dart.notNull(index) * 4 + 3); + return new _native_typed_data.NativeFloat32x4._truncated(_x, _y, _z, _w); + } + _set(index, value$) { + let value = value$; + if (index == null) dart.nullFailed(I[58], 157, 25, "index"); + typed_data.Float32x4.as(value); + if (value == null) dart.nullFailed(I[58], 157, 42, "value"); + _native_typed_data._checkValidIndex(index, this, this.length); + this[_storage$][$_set](dart.notNull(index) * 4 + 0, value.x); + this[_storage$][$_set](dart.notNull(index) * 4 + 1, value.y); + this[_storage$][$_set](dart.notNull(index) * 4 + 2, value.z); + this[_storage$][$_set](dart.notNull(index) * 4 + 3, value.w); + return value$; + } + sublist(start, end = null) { + if (start == null) dart.nullFailed(I[58], 165, 29, "start"); + let stop = _native_typed_data._checkValidRange(start, end, this.length); + return new _native_typed_data.NativeFloat32x4List._externalStorage(this[_storage$][$sublist](dart.notNull(start) * 4, dart.notNull(stop) * 4)); + } +}; +(_native_typed_data.NativeFloat32x4List.new = function(length) { + if (length == null) dart.nullFailed(I[58], 110, 27, "length"); + this[_storage$] = _native_typed_data.NativeFloat32List.new(dart.notNull(length) * 4); + ; +}).prototype = _native_typed_data.NativeFloat32x4List.prototype; +(_native_typed_data.NativeFloat32x4List._externalStorage = function(_storage) { + if (_storage == null) dart.nullFailed(I[58], 112, 45, "_storage"); + this[_storage$] = _storage; + ; +}).prototype = _native_typed_data.NativeFloat32x4List.prototype; +(_native_typed_data.NativeFloat32x4List._slowFromList = function(list) { + if (list == null) dart.nullFailed(I[58], 114, 53, "list"); + this[_storage$] = _native_typed_data.NativeFloat32List.new(dart.notNull(list[$length]) * 4); + for (let i = 0; i < dart.notNull(list[$length]); i = i + 1) { + let e = list[$_get](i); + this[_storage$][$_set](i * 4 + 0, e.x); + this[_storage$][$_set](i * 4 + 1, e.y); + this[_storage$][$_set](i * 4 + 2, e.z); + this[_storage$][$_set](i * 4 + 3, e.w); + } +}).prototype = _native_typed_data.NativeFloat32x4List.prototype; +dart.addTypeTests(_native_typed_data.NativeFloat32x4List); +dart.addTypeCaches(_native_typed_data.NativeFloat32x4List); +_native_typed_data.NativeFloat32x4List[dart.implements] = () => [typed_data.Float32x4List]; +dart.setMethodSignature(_native_typed_data.NativeFloat32x4List, () => ({ + __proto__: dart.getMethods(_native_typed_data.NativeFloat32x4List.__proto__), + _get: dart.fnType(typed_data.Float32x4, [core.int]), + [$_get]: dart.fnType(typed_data.Float32x4, [core.int]), + _set: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), + [$_set]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), + sublist: dart.fnType(typed_data.Float32x4List, [core.int], [dart.nullable(core.int)]), + [$sublist]: dart.fnType(typed_data.Float32x4List, [core.int], [dart.nullable(core.int)]) +})); +dart.setGetterSignature(_native_typed_data.NativeFloat32x4List, () => ({ + __proto__: dart.getGetters(_native_typed_data.NativeFloat32x4List.__proto__), + buffer: typed_data.ByteBuffer, + [$buffer]: typed_data.ByteBuffer, + lengthInBytes: core.int, + [$lengthInBytes]: core.int, + offsetInBytes: core.int, + [$offsetInBytes]: core.int, + elementSizeInBytes: core.int, + [$elementSizeInBytes]: core.int, + length: core.int, + [$length]: core.int +})); +dart.setLibraryUri(_native_typed_data.NativeFloat32x4List, I[59]); +dart.setFieldSignature(_native_typed_data.NativeFloat32x4List, () => ({ + __proto__: dart.getFields(_native_typed_data.NativeFloat32x4List.__proto__), + [_storage$]: dart.finalFieldType(typed_data.Float32List) +})); +dart.defineExtensionMethods(_native_typed_data.NativeFloat32x4List, ['_get', '_set', 'sublist']); +dart.defineExtensionAccessors(_native_typed_data.NativeFloat32x4List, [ + 'runtimeType', + 'buffer', + 'lengthInBytes', + 'offsetInBytes', + 'elementSizeInBytes', + 'length' +]); +typed_data.Int32x4 = class Int32x4 extends core.Object {}; +(typed_data.Int32x4[dart.mixinNew] = function() { +}).prototype = typed_data.Int32x4.prototype; +dart.addTypeTests(typed_data.Int32x4); +dart.addTypeCaches(typed_data.Int32x4); +dart.setLibraryUri(typed_data.Int32x4, I[60]); +dart.defineLazy(typed_data.Int32x4, { + /*typed_data.Int32x4.xxxx*/get xxxx() { + return 0; + }, + /*typed_data.Int32x4.xxxy*/get xxxy() { + return 64; + }, + /*typed_data.Int32x4.xxxz*/get xxxz() { + return 128; + }, + /*typed_data.Int32x4.xxxw*/get xxxw() { + return 192; + }, + /*typed_data.Int32x4.xxyx*/get xxyx() { + return 16; + }, + /*typed_data.Int32x4.xxyy*/get xxyy() { + return 80; + }, + /*typed_data.Int32x4.xxyz*/get xxyz() { + return 144; + }, + /*typed_data.Int32x4.xxyw*/get xxyw() { + return 208; + }, + /*typed_data.Int32x4.xxzx*/get xxzx() { + return 32; + }, + /*typed_data.Int32x4.xxzy*/get xxzy() { + return 96; + }, + /*typed_data.Int32x4.xxzz*/get xxzz() { + return 160; + }, + /*typed_data.Int32x4.xxzw*/get xxzw() { + return 224; + }, + /*typed_data.Int32x4.xxwx*/get xxwx() { + return 48; + }, + /*typed_data.Int32x4.xxwy*/get xxwy() { + return 112; + }, + /*typed_data.Int32x4.xxwz*/get xxwz() { + return 176; + }, + /*typed_data.Int32x4.xxww*/get xxww() { + return 240; + }, + /*typed_data.Int32x4.xyxx*/get xyxx() { + return 4; + }, + /*typed_data.Int32x4.xyxy*/get xyxy() { + return 68; + }, + /*typed_data.Int32x4.xyxz*/get xyxz() { + return 132; + }, + /*typed_data.Int32x4.xyxw*/get xyxw() { + return 196; + }, + /*typed_data.Int32x4.xyyx*/get xyyx() { + return 20; + }, + /*typed_data.Int32x4.xyyy*/get xyyy() { + return 84; + }, + /*typed_data.Int32x4.xyyz*/get xyyz() { + return 148; + }, + /*typed_data.Int32x4.xyyw*/get xyyw() { + return 212; + }, + /*typed_data.Int32x4.xyzx*/get xyzx() { + return 36; + }, + /*typed_data.Int32x4.xyzy*/get xyzy() { + return 100; + }, + /*typed_data.Int32x4.xyzz*/get xyzz() { + return 164; + }, + /*typed_data.Int32x4.xyzw*/get xyzw() { + return 228; + }, + /*typed_data.Int32x4.xywx*/get xywx() { + return 52; + }, + /*typed_data.Int32x4.xywy*/get xywy() { + return 116; + }, + /*typed_data.Int32x4.xywz*/get xywz() { + return 180; + }, + /*typed_data.Int32x4.xyww*/get xyww() { + return 244; + }, + /*typed_data.Int32x4.xzxx*/get xzxx() { + return 8; + }, + /*typed_data.Int32x4.xzxy*/get xzxy() { + return 72; + }, + /*typed_data.Int32x4.xzxz*/get xzxz() { + return 136; + }, + /*typed_data.Int32x4.xzxw*/get xzxw() { + return 200; + }, + /*typed_data.Int32x4.xzyx*/get xzyx() { + return 24; + }, + /*typed_data.Int32x4.xzyy*/get xzyy() { + return 88; + }, + /*typed_data.Int32x4.xzyz*/get xzyz() { + return 152; + }, + /*typed_data.Int32x4.xzyw*/get xzyw() { + return 216; + }, + /*typed_data.Int32x4.xzzx*/get xzzx() { + return 40; + }, + /*typed_data.Int32x4.xzzy*/get xzzy() { + return 104; + }, + /*typed_data.Int32x4.xzzz*/get xzzz() { + return 168; + }, + /*typed_data.Int32x4.xzzw*/get xzzw() { + return 232; + }, + /*typed_data.Int32x4.xzwx*/get xzwx() { + return 56; + }, + /*typed_data.Int32x4.xzwy*/get xzwy() { + return 120; + }, + /*typed_data.Int32x4.xzwz*/get xzwz() { + return 184; + }, + /*typed_data.Int32x4.xzww*/get xzww() { + return 248; + }, + /*typed_data.Int32x4.xwxx*/get xwxx() { + return 12; + }, + /*typed_data.Int32x4.xwxy*/get xwxy() { + return 76; + }, + /*typed_data.Int32x4.xwxz*/get xwxz() { + return 140; + }, + /*typed_data.Int32x4.xwxw*/get xwxw() { + return 204; + }, + /*typed_data.Int32x4.xwyx*/get xwyx() { + return 28; + }, + /*typed_data.Int32x4.xwyy*/get xwyy() { + return 92; + }, + /*typed_data.Int32x4.xwyz*/get xwyz() { + return 156; + }, + /*typed_data.Int32x4.xwyw*/get xwyw() { + return 220; + }, + /*typed_data.Int32x4.xwzx*/get xwzx() { + return 44; + }, + /*typed_data.Int32x4.xwzy*/get xwzy() { + return 108; + }, + /*typed_data.Int32x4.xwzz*/get xwzz() { + return 172; + }, + /*typed_data.Int32x4.xwzw*/get xwzw() { + return 236; + }, + /*typed_data.Int32x4.xwwx*/get xwwx() { + return 60; + }, + /*typed_data.Int32x4.xwwy*/get xwwy() { + return 124; + }, + /*typed_data.Int32x4.xwwz*/get xwwz() { + return 188; + }, + /*typed_data.Int32x4.xwww*/get xwww() { + return 252; + }, + /*typed_data.Int32x4.yxxx*/get yxxx() { + return 1; + }, + /*typed_data.Int32x4.yxxy*/get yxxy() { + return 65; + }, + /*typed_data.Int32x4.yxxz*/get yxxz() { + return 129; + }, + /*typed_data.Int32x4.yxxw*/get yxxw() { + return 193; + }, + /*typed_data.Int32x4.yxyx*/get yxyx() { + return 17; + }, + /*typed_data.Int32x4.yxyy*/get yxyy() { + return 81; + }, + /*typed_data.Int32x4.yxyz*/get yxyz() { + return 145; + }, + /*typed_data.Int32x4.yxyw*/get yxyw() { + return 209; + }, + /*typed_data.Int32x4.yxzx*/get yxzx() { + return 33; + }, + /*typed_data.Int32x4.yxzy*/get yxzy() { + return 97; + }, + /*typed_data.Int32x4.yxzz*/get yxzz() { + return 161; + }, + /*typed_data.Int32x4.yxzw*/get yxzw() { + return 225; + }, + /*typed_data.Int32x4.yxwx*/get yxwx() { + return 49; + }, + /*typed_data.Int32x4.yxwy*/get yxwy() { + return 113; + }, + /*typed_data.Int32x4.yxwz*/get yxwz() { + return 177; + }, + /*typed_data.Int32x4.yxww*/get yxww() { + return 241; + }, + /*typed_data.Int32x4.yyxx*/get yyxx() { + return 5; + }, + /*typed_data.Int32x4.yyxy*/get yyxy() { + return 69; + }, + /*typed_data.Int32x4.yyxz*/get yyxz() { + return 133; + }, + /*typed_data.Int32x4.yyxw*/get yyxw() { + return 197; + }, + /*typed_data.Int32x4.yyyx*/get yyyx() { + return 21; + }, + /*typed_data.Int32x4.yyyy*/get yyyy() { + return 85; + }, + /*typed_data.Int32x4.yyyz*/get yyyz() { + return 149; + }, + /*typed_data.Int32x4.yyyw*/get yyyw() { + return 213; + }, + /*typed_data.Int32x4.yyzx*/get yyzx() { + return 37; + }, + /*typed_data.Int32x4.yyzy*/get yyzy() { + return 101; + }, + /*typed_data.Int32x4.yyzz*/get yyzz() { + return 165; + }, + /*typed_data.Int32x4.yyzw*/get yyzw() { + return 229; + }, + /*typed_data.Int32x4.yywx*/get yywx() { + return 53; + }, + /*typed_data.Int32x4.yywy*/get yywy() { + return 117; + }, + /*typed_data.Int32x4.yywz*/get yywz() { + return 181; + }, + /*typed_data.Int32x4.yyww*/get yyww() { + return 245; + }, + /*typed_data.Int32x4.yzxx*/get yzxx() { + return 9; + }, + /*typed_data.Int32x4.yzxy*/get yzxy() { + return 73; + }, + /*typed_data.Int32x4.yzxz*/get yzxz() { + return 137; + }, + /*typed_data.Int32x4.yzxw*/get yzxw() { + return 201; + }, + /*typed_data.Int32x4.yzyx*/get yzyx() { + return 25; + }, + /*typed_data.Int32x4.yzyy*/get yzyy() { + return 89; + }, + /*typed_data.Int32x4.yzyz*/get yzyz() { + return 153; + }, + /*typed_data.Int32x4.yzyw*/get yzyw() { + return 217; + }, + /*typed_data.Int32x4.yzzx*/get yzzx() { + return 41; + }, + /*typed_data.Int32x4.yzzy*/get yzzy() { + return 105; + }, + /*typed_data.Int32x4.yzzz*/get yzzz() { + return 169; + }, + /*typed_data.Int32x4.yzzw*/get yzzw() { + return 233; + }, + /*typed_data.Int32x4.yzwx*/get yzwx() { + return 57; + }, + /*typed_data.Int32x4.yzwy*/get yzwy() { + return 121; + }, + /*typed_data.Int32x4.yzwz*/get yzwz() { + return 185; + }, + /*typed_data.Int32x4.yzww*/get yzww() { + return 249; + }, + /*typed_data.Int32x4.ywxx*/get ywxx() { + return 13; + }, + /*typed_data.Int32x4.ywxy*/get ywxy() { + return 77; + }, + /*typed_data.Int32x4.ywxz*/get ywxz() { + return 141; + }, + /*typed_data.Int32x4.ywxw*/get ywxw() { + return 205; + }, + /*typed_data.Int32x4.ywyx*/get ywyx() { + return 29; + }, + /*typed_data.Int32x4.ywyy*/get ywyy() { + return 93; + }, + /*typed_data.Int32x4.ywyz*/get ywyz() { + return 157; + }, + /*typed_data.Int32x4.ywyw*/get ywyw() { + return 221; + }, + /*typed_data.Int32x4.ywzx*/get ywzx() { + return 45; + }, + /*typed_data.Int32x4.ywzy*/get ywzy() { + return 109; + }, + /*typed_data.Int32x4.ywzz*/get ywzz() { + return 173; + }, + /*typed_data.Int32x4.ywzw*/get ywzw() { + return 237; + }, + /*typed_data.Int32x4.ywwx*/get ywwx() { + return 61; + }, + /*typed_data.Int32x4.ywwy*/get ywwy() { + return 125; + }, + /*typed_data.Int32x4.ywwz*/get ywwz() { + return 189; + }, + /*typed_data.Int32x4.ywww*/get ywww() { + return 253; + }, + /*typed_data.Int32x4.zxxx*/get zxxx() { + return 2; + }, + /*typed_data.Int32x4.zxxy*/get zxxy() { + return 66; + }, + /*typed_data.Int32x4.zxxz*/get zxxz() { + return 130; + }, + /*typed_data.Int32x4.zxxw*/get zxxw() { + return 194; + }, + /*typed_data.Int32x4.zxyx*/get zxyx() { + return 18; + }, + /*typed_data.Int32x4.zxyy*/get zxyy() { + return 82; + }, + /*typed_data.Int32x4.zxyz*/get zxyz() { + return 146; + }, + /*typed_data.Int32x4.zxyw*/get zxyw() { + return 210; + }, + /*typed_data.Int32x4.zxzx*/get zxzx() { + return 34; + }, + /*typed_data.Int32x4.zxzy*/get zxzy() { + return 98; + }, + /*typed_data.Int32x4.zxzz*/get zxzz() { + return 162; + }, + /*typed_data.Int32x4.zxzw*/get zxzw() { + return 226; + }, + /*typed_data.Int32x4.zxwx*/get zxwx() { + return 50; + }, + /*typed_data.Int32x4.zxwy*/get zxwy() { + return 114; + }, + /*typed_data.Int32x4.zxwz*/get zxwz() { + return 178; + }, + /*typed_data.Int32x4.zxww*/get zxww() { + return 242; + }, + /*typed_data.Int32x4.zyxx*/get zyxx() { + return 6; + }, + /*typed_data.Int32x4.zyxy*/get zyxy() { + return 70; + }, + /*typed_data.Int32x4.zyxz*/get zyxz() { + return 134; + }, + /*typed_data.Int32x4.zyxw*/get zyxw() { + return 198; + }, + /*typed_data.Int32x4.zyyx*/get zyyx() { + return 22; + }, + /*typed_data.Int32x4.zyyy*/get zyyy() { + return 86; + }, + /*typed_data.Int32x4.zyyz*/get zyyz() { + return 150; + }, + /*typed_data.Int32x4.zyyw*/get zyyw() { + return 214; + }, + /*typed_data.Int32x4.zyzx*/get zyzx() { + return 38; + }, + /*typed_data.Int32x4.zyzy*/get zyzy() { + return 102; + }, + /*typed_data.Int32x4.zyzz*/get zyzz() { + return 166; + }, + /*typed_data.Int32x4.zyzw*/get zyzw() { + return 230; + }, + /*typed_data.Int32x4.zywx*/get zywx() { + return 54; + }, + /*typed_data.Int32x4.zywy*/get zywy() { + return 118; + }, + /*typed_data.Int32x4.zywz*/get zywz() { + return 182; + }, + /*typed_data.Int32x4.zyww*/get zyww() { + return 246; + }, + /*typed_data.Int32x4.zzxx*/get zzxx() { + return 10; + }, + /*typed_data.Int32x4.zzxy*/get zzxy() { + return 74; + }, + /*typed_data.Int32x4.zzxz*/get zzxz() { + return 138; + }, + /*typed_data.Int32x4.zzxw*/get zzxw() { + return 202; + }, + /*typed_data.Int32x4.zzyx*/get zzyx() { + return 26; + }, + /*typed_data.Int32x4.zzyy*/get zzyy() { + return 90; + }, + /*typed_data.Int32x4.zzyz*/get zzyz() { + return 154; + }, + /*typed_data.Int32x4.zzyw*/get zzyw() { + return 218; + }, + /*typed_data.Int32x4.zzzx*/get zzzx() { + return 42; + }, + /*typed_data.Int32x4.zzzy*/get zzzy() { + return 106; + }, + /*typed_data.Int32x4.zzzz*/get zzzz() { + return 170; + }, + /*typed_data.Int32x4.zzzw*/get zzzw() { + return 234; + }, + /*typed_data.Int32x4.zzwx*/get zzwx() { + return 58; + }, + /*typed_data.Int32x4.zzwy*/get zzwy() { + return 122; + }, + /*typed_data.Int32x4.zzwz*/get zzwz() { + return 186; + }, + /*typed_data.Int32x4.zzww*/get zzww() { + return 250; + }, + /*typed_data.Int32x4.zwxx*/get zwxx() { + return 14; + }, + /*typed_data.Int32x4.zwxy*/get zwxy() { + return 78; + }, + /*typed_data.Int32x4.zwxz*/get zwxz() { + return 142; + }, + /*typed_data.Int32x4.zwxw*/get zwxw() { + return 206; + }, + /*typed_data.Int32x4.zwyx*/get zwyx() { + return 30; + }, + /*typed_data.Int32x4.zwyy*/get zwyy() { + return 94; + }, + /*typed_data.Int32x4.zwyz*/get zwyz() { + return 158; + }, + /*typed_data.Int32x4.zwyw*/get zwyw() { + return 222; + }, + /*typed_data.Int32x4.zwzx*/get zwzx() { + return 46; + }, + /*typed_data.Int32x4.zwzy*/get zwzy() { + return 110; + }, + /*typed_data.Int32x4.zwzz*/get zwzz() { + return 174; + }, + /*typed_data.Int32x4.zwzw*/get zwzw() { + return 238; + }, + /*typed_data.Int32x4.zwwx*/get zwwx() { + return 62; + }, + /*typed_data.Int32x4.zwwy*/get zwwy() { + return 126; + }, + /*typed_data.Int32x4.zwwz*/get zwwz() { + return 190; + }, + /*typed_data.Int32x4.zwww*/get zwww() { + return 254; + }, + /*typed_data.Int32x4.wxxx*/get wxxx() { + return 3; + }, + /*typed_data.Int32x4.wxxy*/get wxxy() { + return 67; + }, + /*typed_data.Int32x4.wxxz*/get wxxz() { + return 131; + }, + /*typed_data.Int32x4.wxxw*/get wxxw() { + return 195; + }, + /*typed_data.Int32x4.wxyx*/get wxyx() { + return 19; + }, + /*typed_data.Int32x4.wxyy*/get wxyy() { + return 83; + }, + /*typed_data.Int32x4.wxyz*/get wxyz() { + return 147; + }, + /*typed_data.Int32x4.wxyw*/get wxyw() { + return 211; + }, + /*typed_data.Int32x4.wxzx*/get wxzx() { + return 35; + }, + /*typed_data.Int32x4.wxzy*/get wxzy() { + return 99; + }, + /*typed_data.Int32x4.wxzz*/get wxzz() { + return 163; + }, + /*typed_data.Int32x4.wxzw*/get wxzw() { + return 227; + }, + /*typed_data.Int32x4.wxwx*/get wxwx() { + return 51; + }, + /*typed_data.Int32x4.wxwy*/get wxwy() { + return 115; + }, + /*typed_data.Int32x4.wxwz*/get wxwz() { + return 179; + }, + /*typed_data.Int32x4.wxww*/get wxww() { + return 243; + }, + /*typed_data.Int32x4.wyxx*/get wyxx() { + return 7; + }, + /*typed_data.Int32x4.wyxy*/get wyxy() { + return 71; + }, + /*typed_data.Int32x4.wyxz*/get wyxz() { + return 135; + }, + /*typed_data.Int32x4.wyxw*/get wyxw() { + return 199; + }, + /*typed_data.Int32x4.wyyx*/get wyyx() { + return 23; + }, + /*typed_data.Int32x4.wyyy*/get wyyy() { + return 87; + }, + /*typed_data.Int32x4.wyyz*/get wyyz() { + return 151; + }, + /*typed_data.Int32x4.wyyw*/get wyyw() { + return 215; + }, + /*typed_data.Int32x4.wyzx*/get wyzx() { + return 39; + }, + /*typed_data.Int32x4.wyzy*/get wyzy() { + return 103; + }, + /*typed_data.Int32x4.wyzz*/get wyzz() { + return 167; + }, + /*typed_data.Int32x4.wyzw*/get wyzw() { + return 231; + }, + /*typed_data.Int32x4.wywx*/get wywx() { + return 55; + }, + /*typed_data.Int32x4.wywy*/get wywy() { + return 119; + }, + /*typed_data.Int32x4.wywz*/get wywz() { + return 183; + }, + /*typed_data.Int32x4.wyww*/get wyww() { + return 247; + }, + /*typed_data.Int32x4.wzxx*/get wzxx() { + return 11; + }, + /*typed_data.Int32x4.wzxy*/get wzxy() { + return 75; + }, + /*typed_data.Int32x4.wzxz*/get wzxz() { + return 139; + }, + /*typed_data.Int32x4.wzxw*/get wzxw() { + return 203; + }, + /*typed_data.Int32x4.wzyx*/get wzyx() { + return 27; + }, + /*typed_data.Int32x4.wzyy*/get wzyy() { + return 91; + }, + /*typed_data.Int32x4.wzyz*/get wzyz() { + return 155; + }, + /*typed_data.Int32x4.wzyw*/get wzyw() { + return 219; + }, + /*typed_data.Int32x4.wzzx*/get wzzx() { + return 43; + }, + /*typed_data.Int32x4.wzzy*/get wzzy() { + return 107; + }, + /*typed_data.Int32x4.wzzz*/get wzzz() { + return 171; + }, + /*typed_data.Int32x4.wzzw*/get wzzw() { + return 235; + }, + /*typed_data.Int32x4.wzwx*/get wzwx() { + return 59; + }, + /*typed_data.Int32x4.wzwy*/get wzwy() { + return 123; + }, + /*typed_data.Int32x4.wzwz*/get wzwz() { + return 187; + }, + /*typed_data.Int32x4.wzww*/get wzww() { + return 251; + }, + /*typed_data.Int32x4.wwxx*/get wwxx() { + return 15; + }, + /*typed_data.Int32x4.wwxy*/get wwxy() { + return 79; + }, + /*typed_data.Int32x4.wwxz*/get wwxz() { + return 143; + }, + /*typed_data.Int32x4.wwxw*/get wwxw() { + return 207; + }, + /*typed_data.Int32x4.wwyx*/get wwyx() { + return 31; + }, + /*typed_data.Int32x4.wwyy*/get wwyy() { + return 95; + }, + /*typed_data.Int32x4.wwyz*/get wwyz() { + return 159; + }, + /*typed_data.Int32x4.wwyw*/get wwyw() { + return 223; + }, + /*typed_data.Int32x4.wwzx*/get wwzx() { + return 47; + }, + /*typed_data.Int32x4.wwzy*/get wwzy() { + return 111; + }, + /*typed_data.Int32x4.wwzz*/get wwzz() { + return 175; + }, + /*typed_data.Int32x4.wwzw*/get wwzw() { + return 239; + }, + /*typed_data.Int32x4.wwwx*/get wwwx() { + return 63; + }, + /*typed_data.Int32x4.wwwy*/get wwwy() { + return 127; + }, + /*typed_data.Int32x4.wwwz*/get wwwz() { + return 191; + }, + /*typed_data.Int32x4.wwww*/get wwww() { + return 255; + } +}, false); +const Object_ListMixin$36$ = class Object_ListMixin extends core.Object {}; +(Object_ListMixin$36$.new = function() { +}).prototype = Object_ListMixin$36$.prototype; +dart.applyMixin(Object_ListMixin$36$, collection.ListMixin$(typed_data.Int32x4)); +const Object_FixedLengthListMixin$36$ = class Object_FixedLengthListMixin extends Object_ListMixin$36$ {}; +(Object_FixedLengthListMixin$36$.new = function() { +}).prototype = Object_FixedLengthListMixin$36$.prototype; +dart.applyMixin(Object_FixedLengthListMixin$36$, _internal.FixedLengthListMixin$(typed_data.Int32x4)); +_native_typed_data.NativeInt32x4List = class NativeInt32x4List extends Object_FixedLengthListMixin$36$ { + get runtimeType() { + return dart.wrapType(typed_data.Int32x4List); + } + static fromList(list) { + if (list == null) dart.nullFailed(I[58], 201, 52, "list"); + if (_native_typed_data.NativeInt32x4List.is(list)) { + return new _native_typed_data.NativeInt32x4List._externalStorage(_native_typed_data.NativeInt32List.fromList(list[_storage$])); + } else { + return new _native_typed_data.NativeInt32x4List._slowFromList(list); + } + } + get buffer() { + return this[_storage$][$buffer]; + } + get lengthInBytes() { + return this[_storage$][$lengthInBytes]; + } + get offsetInBytes() { + return this[_storage$][$offsetInBytes]; + } + get elementSizeInBytes() { + return 16; + } + get length() { + return (dart.notNull(this[_storage$][$length]) / 4)[$truncate](); + } + set length(value) { + super.length = value; + } + _get(index) { + if (index == null) dart.nullFailed(I[58], 220, 27, "index"); + _native_typed_data._checkValidIndex(index, this, this.length); + let _x = this[_storage$][$_get](dart.notNull(index) * 4 + 0); + let _y = this[_storage$][$_get](dart.notNull(index) * 4 + 1); + let _z = this[_storage$][$_get](dart.notNull(index) * 4 + 2); + let _w = this[_storage$][$_get](dart.notNull(index) * 4 + 3); + return new _native_typed_data.NativeInt32x4._truncated(_x, _y, _z, _w); + } + _set(index, value$) { + let value = value$; + if (index == null) dart.nullFailed(I[58], 229, 25, "index"); + typed_data.Int32x4.as(value); + if (value == null) dart.nullFailed(I[58], 229, 40, "value"); + _native_typed_data._checkValidIndex(index, this, this.length); + this[_storage$][$_set](dart.notNull(index) * 4 + 0, value.x); + this[_storage$][$_set](dart.notNull(index) * 4 + 1, value.y); + this[_storage$][$_set](dart.notNull(index) * 4 + 2, value.z); + this[_storage$][$_set](dart.notNull(index) * 4 + 3, value.w); + return value$; + } + sublist(start, end = null) { + if (start == null) dart.nullFailed(I[58], 237, 27, "start"); + let stop = _native_typed_data._checkValidRange(start, end, this.length); + return new _native_typed_data.NativeInt32x4List._externalStorage(this[_storage$][$sublist](dart.notNull(start) * 4, dart.notNull(stop) * 4)); + } +}; +(_native_typed_data.NativeInt32x4List.new = function(length) { + if (length == null) dart.nullFailed(I[58], 182, 25, "length"); + this[_storage$] = _native_typed_data.NativeInt32List.new(dart.notNull(length) * 4); + ; +}).prototype = _native_typed_data.NativeInt32x4List.prototype; +(_native_typed_data.NativeInt32x4List._externalStorage = function(storage) { + if (storage == null) dart.nullFailed(I[58], 184, 48, "storage"); + this[_storage$] = storage; + ; +}).prototype = _native_typed_data.NativeInt32x4List.prototype; +(_native_typed_data.NativeInt32x4List._slowFromList = function(list) { + if (list == null) dart.nullFailed(I[58], 186, 49, "list"); + this[_storage$] = _native_typed_data.NativeInt32List.new(dart.notNull(list[$length]) * 4); + for (let i = 0; i < dart.notNull(list[$length]); i = i + 1) { + let e = list[$_get](i); + this[_storage$][$_set](i * 4 + 0, e.x); + this[_storage$][$_set](i * 4 + 1, e.y); + this[_storage$][$_set](i * 4 + 2, e.z); + this[_storage$][$_set](i * 4 + 3, e.w); + } +}).prototype = _native_typed_data.NativeInt32x4List.prototype; +dart.addTypeTests(_native_typed_data.NativeInt32x4List); +dart.addTypeCaches(_native_typed_data.NativeInt32x4List); +_native_typed_data.NativeInt32x4List[dart.implements] = () => [typed_data.Int32x4List]; +dart.setMethodSignature(_native_typed_data.NativeInt32x4List, () => ({ + __proto__: dart.getMethods(_native_typed_data.NativeInt32x4List.__proto__), + _get: dart.fnType(typed_data.Int32x4, [core.int]), + [$_get]: dart.fnType(typed_data.Int32x4, [core.int]), + _set: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), + [$_set]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), + sublist: dart.fnType(typed_data.Int32x4List, [core.int], [dart.nullable(core.int)]), + [$sublist]: dart.fnType(typed_data.Int32x4List, [core.int], [dart.nullable(core.int)]) +})); +dart.setGetterSignature(_native_typed_data.NativeInt32x4List, () => ({ + __proto__: dart.getGetters(_native_typed_data.NativeInt32x4List.__proto__), + buffer: typed_data.ByteBuffer, + [$buffer]: typed_data.ByteBuffer, + lengthInBytes: core.int, + [$lengthInBytes]: core.int, + offsetInBytes: core.int, + [$offsetInBytes]: core.int, + elementSizeInBytes: core.int, + [$elementSizeInBytes]: core.int, + length: core.int, + [$length]: core.int +})); +dart.setLibraryUri(_native_typed_data.NativeInt32x4List, I[59]); +dart.setFieldSignature(_native_typed_data.NativeInt32x4List, () => ({ + __proto__: dart.getFields(_native_typed_data.NativeInt32x4List.__proto__), + [_storage$]: dart.finalFieldType(typed_data.Int32List) +})); +dart.defineExtensionMethods(_native_typed_data.NativeInt32x4List, ['_get', '_set', 'sublist']); +dart.defineExtensionAccessors(_native_typed_data.NativeInt32x4List, [ + 'runtimeType', + 'buffer', + 'lengthInBytes', + 'offsetInBytes', + 'elementSizeInBytes', + 'length' +]); +typed_data.Float64x2 = class Float64x2 extends core.Object {}; +(typed_data.Float64x2[dart.mixinNew] = function() { +}).prototype = typed_data.Float64x2.prototype; +dart.addTypeTests(typed_data.Float64x2); +dart.addTypeCaches(typed_data.Float64x2); +dart.setLibraryUri(typed_data.Float64x2, I[60]); +const Object_ListMixin$36$0 = class Object_ListMixin extends core.Object {}; +(Object_ListMixin$36$0.new = function() { +}).prototype = Object_ListMixin$36$0.prototype; +dart.applyMixin(Object_ListMixin$36$0, collection.ListMixin$(typed_data.Float64x2)); +const Object_FixedLengthListMixin$36$0 = class Object_FixedLengthListMixin extends Object_ListMixin$36$0 {}; +(Object_FixedLengthListMixin$36$0.new = function() { +}).prototype = Object_FixedLengthListMixin$36$0.prototype; +dart.applyMixin(Object_FixedLengthListMixin$36$0, _internal.FixedLengthListMixin$(typed_data.Float64x2)); +_native_typed_data.NativeFloat64x2List = class NativeFloat64x2List extends Object_FixedLengthListMixin$36$0 { + static fromList(list) { + if (list == null) dart.nullFailed(I[58], 269, 56, "list"); + if (_native_typed_data.NativeFloat64x2List.is(list)) { + return new _native_typed_data.NativeFloat64x2List._externalStorage(_native_typed_data.NativeFloat64List.fromList(list[_storage$])); + } else { + return new _native_typed_data.NativeFloat64x2List._slowFromList(list); + } + } + get runtimeType() { + return dart.wrapType(typed_data.Float64x2List); + } + get buffer() { + return this[_storage$][$buffer]; + } + get lengthInBytes() { + return this[_storage$][$lengthInBytes]; + } + get offsetInBytes() { + return this[_storage$][$offsetInBytes]; + } + get elementSizeInBytes() { + return 16; + } + get length() { + return (dart.notNull(this[_storage$][$length]) / 2)[$truncate](); + } + set length(value) { + super.length = value; + } + _get(index) { + if (index == null) dart.nullFailed(I[58], 290, 29, "index"); + _native_typed_data._checkValidIndex(index, this, this.length); + let _x = this[_storage$][$_get](dart.notNull(index) * 2 + 0); + let _y = this[_storage$][$_get](dart.notNull(index) * 2 + 1); + return new _native_typed_data.NativeFloat64x2.new(_x, _y); + } + _set(index, value$) { + let value = value$; + if (index == null) dart.nullFailed(I[58], 297, 25, "index"); + typed_data.Float64x2.as(value); + if (value == null) dart.nullFailed(I[58], 297, 42, "value"); + _native_typed_data._checkValidIndex(index, this, this.length); + this[_storage$][$_set](dart.notNull(index) * 2 + 0, value.x); + this[_storage$][$_set](dart.notNull(index) * 2 + 1, value.y); + return value$; + } + sublist(start, end = null) { + if (start == null) dart.nullFailed(I[58], 303, 29, "start"); + let stop = _native_typed_data._checkValidRange(start, end, this.length); + return new _native_typed_data.NativeFloat64x2List._externalStorage(this[_storage$][$sublist](dart.notNull(start) * 2, dart.notNull(stop) * 2)); + } +}; +(_native_typed_data.NativeFloat64x2List.new = function(length) { + if (length == null) dart.nullFailed(I[58], 254, 27, "length"); + this[_storage$] = _native_typed_data.NativeFloat64List.new(dart.notNull(length) * 2); + ; +}).prototype = _native_typed_data.NativeFloat64x2List.prototype; +(_native_typed_data.NativeFloat64x2List._externalStorage = function(_storage) { + if (_storage == null) dart.nullFailed(I[58], 256, 45, "_storage"); + this[_storage$] = _storage; + ; +}).prototype = _native_typed_data.NativeFloat64x2List.prototype; +(_native_typed_data.NativeFloat64x2List._slowFromList = function(list) { + if (list == null) dart.nullFailed(I[58], 258, 53, "list"); + this[_storage$] = _native_typed_data.NativeFloat64List.new(dart.notNull(list[$length]) * 2); + for (let i = 0; i < dart.notNull(list[$length]); i = i + 1) { + let e = list[$_get](i); + this[_storage$][$_set](i * 2 + 0, e.x); + this[_storage$][$_set](i * 2 + 1, e.y); + } +}).prototype = _native_typed_data.NativeFloat64x2List.prototype; +dart.addTypeTests(_native_typed_data.NativeFloat64x2List); +dart.addTypeCaches(_native_typed_data.NativeFloat64x2List); +_native_typed_data.NativeFloat64x2List[dart.implements] = () => [typed_data.Float64x2List]; +dart.setMethodSignature(_native_typed_data.NativeFloat64x2List, () => ({ + __proto__: dart.getMethods(_native_typed_data.NativeFloat64x2List.__proto__), + _get: dart.fnType(typed_data.Float64x2, [core.int]), + [$_get]: dart.fnType(typed_data.Float64x2, [core.int]), + _set: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), + [$_set]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), + sublist: dart.fnType(typed_data.Float64x2List, [core.int], [dart.nullable(core.int)]), + [$sublist]: dart.fnType(typed_data.Float64x2List, [core.int], [dart.nullable(core.int)]) +})); +dart.setGetterSignature(_native_typed_data.NativeFloat64x2List, () => ({ + __proto__: dart.getGetters(_native_typed_data.NativeFloat64x2List.__proto__), + buffer: typed_data.ByteBuffer, + [$buffer]: typed_data.ByteBuffer, + lengthInBytes: core.int, + [$lengthInBytes]: core.int, + offsetInBytes: core.int, + [$offsetInBytes]: core.int, + elementSizeInBytes: core.int, + [$elementSizeInBytes]: core.int, + length: core.int, + [$length]: core.int +})); +dart.setLibraryUri(_native_typed_data.NativeFloat64x2List, I[59]); +dart.setFieldSignature(_native_typed_data.NativeFloat64x2List, () => ({ + __proto__: dart.getFields(_native_typed_data.NativeFloat64x2List.__proto__), + [_storage$]: dart.finalFieldType(typed_data.Float64List) +})); +dart.defineExtensionMethods(_native_typed_data.NativeFloat64x2List, ['_get', '_set', 'sublist']); +dart.defineExtensionAccessors(_native_typed_data.NativeFloat64x2List, [ + 'runtimeType', + 'buffer', + 'lengthInBytes', + 'offsetInBytes', + 'elementSizeInBytes', + 'length' +]); +var _invalidPosition = dart.privateName(_native_typed_data, "_invalidPosition"); +var _checkPosition = dart.privateName(_native_typed_data, "_checkPosition"); +_native_typed_data.NativeTypedData = class NativeTypedData extends core.Object { + get [$buffer]() { + return this.buffer; + } + get [$lengthInBytes]() { + return this.byteLength; + } + get [$offsetInBytes]() { + return this.byteOffset; + } + get [$elementSizeInBytes]() { + return this.BYTES_PER_ELEMENT; + } + [_invalidPosition](position, length, name) { + if (position == null) dart.nullFailed(I[58], 330, 29, "position"); + if (length == null) dart.nullFailed(I[58], 330, 43, "length"); + if (name == null) dart.nullFailed(I[58], 330, 58, "name"); + if (!core.int.is(position)) { + dart.throw(new core.ArgumentError.value(position, name, "Invalid list position")); + } else { + dart.throw(new core.RangeError.range(position, 0, length, name)); + } + } + [_checkPosition](position, length, name) { + if (position == null) dart.nullFailed(I[58], 338, 27, "position"); + if (length == null) dart.nullFailed(I[58], 338, 41, "length"); + if (name == null) dart.nullFailed(I[58], 338, 56, "name"); + if (position >>> 0 !== position || position > dart.notNull(length)) { + this[_invalidPosition](position, length, name); + } + } +}; +(_native_typed_data.NativeTypedData.new = function() { + ; +}).prototype = _native_typed_data.NativeTypedData.prototype; +dart.addTypeTests(_native_typed_data.NativeTypedData); +dart.addTypeCaches(_native_typed_data.NativeTypedData); +_native_typed_data.NativeTypedData[dart.implements] = () => [typed_data.TypedData]; +dart.setMethodSignature(_native_typed_data.NativeTypedData, () => ({ + __proto__: dart.getMethods(_native_typed_data.NativeTypedData.__proto__), + [_invalidPosition]: dart.fnType(dart.void, [core.int, core.int, core.String]), + [_checkPosition]: dart.fnType(dart.void, [core.int, core.int, core.String]) +})); +dart.setGetterSignature(_native_typed_data.NativeTypedData, () => ({ + __proto__: dart.getGetters(_native_typed_data.NativeTypedData.__proto__), + [$buffer]: typed_data.ByteBuffer, + [$lengthInBytes]: core.int, + [$offsetInBytes]: core.int, + [$elementSizeInBytes]: core.int +})); +dart.setLibraryUri(_native_typed_data.NativeTypedData, I[59]); +dart.registerExtension("ArrayBufferView", _native_typed_data.NativeTypedData); +var Endian__littleEndian = dart.privateName(typed_data, "Endian._littleEndian"); +var _getFloat32 = dart.privateName(_native_typed_data, "_getFloat32"); +var _getFloat64 = dart.privateName(_native_typed_data, "_getFloat64"); +var _getInt16 = dart.privateName(_native_typed_data, "_getInt16"); +var _getInt32 = dart.privateName(_native_typed_data, "_getInt32"); +var _getUint16 = dart.privateName(_native_typed_data, "_getUint16"); +var _getUint32 = dart.privateName(_native_typed_data, "_getUint32"); +var _setFloat32 = dart.privateName(_native_typed_data, "_setFloat32"); +var _setFloat64 = dart.privateName(_native_typed_data, "_setFloat64"); +var _setInt16 = dart.privateName(_native_typed_data, "_setInt16"); +var _setInt32 = dart.privateName(_native_typed_data, "_setInt32"); +var _setUint16 = dart.privateName(_native_typed_data, "_setUint16"); +var _setUint32 = dart.privateName(_native_typed_data, "_setUint32"); +_native_typed_data.NativeByteData = class NativeByteData extends _native_typed_data.NativeTypedData { + static new(length) { + if (length == null) dart.nullFailed(I[58], 386, 30, "length"); + return _native_typed_data.NativeByteData._create1(_native_typed_data._checkLength(length)); + } + static view(buffer, offsetInBytes, length) { + if (buffer == null) dart.nullFailed(I[58], 399, 18, "buffer"); + if (offsetInBytes == null) dart.nullFailed(I[58], 399, 30, "offsetInBytes"); + _native_typed_data._checkViewArguments(buffer, offsetInBytes, length); + return length == null ? _native_typed_data.NativeByteData._create2(buffer, offsetInBytes) : _native_typed_data.NativeByteData._create3(buffer, offsetInBytes, length); + } + get [$runtimeType]() { + return dart.wrapType(typed_data.ByteData); + } + get [$elementSizeInBytes]() { + return 1; + } + [$getFloat32](byteOffset, endian = C[36] || CT.C36) { + if (byteOffset == null) dart.nullFailed(I[58], 416, 25, "byteOffset"); + if (endian == null) dart.nullFailed(I[58], 416, 45, "endian"); + return this[_getFloat32](byteOffset, dart.equals(typed_data.Endian.little, endian)); + } + [_getFloat32](...args) { + return this.getFloat32.apply(this, args); + } + [$getFloat64](byteOffset, endian = C[36] || CT.C36) { + if (byteOffset == null) dart.nullFailed(I[58], 429, 25, "byteOffset"); + if (endian == null) dart.nullFailed(I[58], 429, 45, "endian"); + return this[_getFloat64](byteOffset, dart.equals(typed_data.Endian.little, endian)); + } + [_getFloat64](...args) { + return this.getFloat64.apply(this, args); + } + [$getInt16](byteOffset, endian = C[36] || CT.C36) { + if (byteOffset == null) dart.nullFailed(I[58], 444, 20, "byteOffset"); + if (endian == null) dart.nullFailed(I[58], 444, 40, "endian"); + return this[_getInt16](byteOffset, dart.equals(typed_data.Endian.little, endian)); + } + [_getInt16](...args) { + return this.getInt16.apply(this, args); + } + [$getInt32](byteOffset, endian = C[36] || CT.C36) { + if (byteOffset == null) dart.nullFailed(I[58], 459, 20, "byteOffset"); + if (endian == null) dart.nullFailed(I[58], 459, 40, "endian"); + return this[_getInt32](byteOffset, dart.equals(typed_data.Endian.little, endian)); + } + [_getInt32](...args) { + return this.getInt32.apply(this, args); + } + [$getInt64](byteOffset, endian = C[36] || CT.C36) { + if (byteOffset == null) dart.nullFailed(I[58], 474, 20, "byteOffset"); + if (endian == null) dart.nullFailed(I[58], 474, 40, "endian"); + dart.throw(new core.UnsupportedError.new("Int64 accessor not supported by dart2js.")); + } + [$getInt8](...args) { + return this.getInt8.apply(this, args); + } + [$getUint16](byteOffset, endian = C[36] || CT.C36) { + if (byteOffset == null) dart.nullFailed(I[58], 493, 21, "byteOffset"); + if (endian == null) dart.nullFailed(I[58], 493, 41, "endian"); + return this[_getUint16](byteOffset, dart.equals(typed_data.Endian.little, endian)); + } + [_getUint16](...args) { + return this.getUint16.apply(this, args); + } + [$getUint32](byteOffset, endian = C[36] || CT.C36) { + if (byteOffset == null) dart.nullFailed(I[58], 507, 21, "byteOffset"); + if (endian == null) dart.nullFailed(I[58], 507, 41, "endian"); + return this[_getUint32](byteOffset, dart.equals(typed_data.Endian.little, endian)); + } + [_getUint32](...args) { + return this.getUint32.apply(this, args); + } + [$getUint64](byteOffset, endian = C[36] || CT.C36) { + if (byteOffset == null) dart.nullFailed(I[58], 521, 21, "byteOffset"); + if (endian == null) dart.nullFailed(I[58], 521, 41, "endian"); + dart.throw(new core.UnsupportedError.new("Uint64 accessor not supported by dart2js.")); + } + [$getUint8](...args) { + return this.getUint8.apply(this, args); + } + [$setFloat32](byteOffset, value, endian = C[36] || CT.C36) { + if (byteOffset == null) dart.nullFailed(I[58], 548, 23, "byteOffset"); + if (value == null) dart.nullFailed(I[58], 548, 39, "value"); + if (endian == null) dart.nullFailed(I[58], 548, 54, "endian"); + return this[_setFloat32](byteOffset, value, dart.equals(typed_data.Endian.little, endian)); + } + [_setFloat32](...args) { + return this.setFloat32.apply(this, args); + } + [$setFloat64](byteOffset, value, endian = C[36] || CT.C36) { + if (byteOffset == null) dart.nullFailed(I[58], 560, 23, "byteOffset"); + if (value == null) dart.nullFailed(I[58], 560, 39, "value"); + if (endian == null) dart.nullFailed(I[58], 560, 54, "endian"); + return this[_setFloat64](byteOffset, value, dart.equals(typed_data.Endian.little, endian)); + } + [_setFloat64](...args) { + return this.setFloat64.apply(this, args); + } + [$setInt16](byteOffset, value, endian = C[36] || CT.C36) { + if (byteOffset == null) dart.nullFailed(I[58], 573, 21, "byteOffset"); + if (value == null) dart.nullFailed(I[58], 573, 37, "value"); + if (endian == null) dart.nullFailed(I[58], 573, 52, "endian"); + return this[_setInt16](byteOffset, value, dart.equals(typed_data.Endian.little, endian)); + } + [_setInt16](...args) { + return this.setInt16.apply(this, args); + } + [$setInt32](byteOffset, value, endian = C[36] || CT.C36) { + if (byteOffset == null) dart.nullFailed(I[58], 586, 21, "byteOffset"); + if (value == null) dart.nullFailed(I[58], 586, 37, "value"); + if (endian == null) dart.nullFailed(I[58], 586, 52, "endian"); + return this[_setInt32](byteOffset, value, dart.equals(typed_data.Endian.little, endian)); + } + [_setInt32](...args) { + return this.setInt32.apply(this, args); + } + [$setInt64](byteOffset, value, endian = C[36] || CT.C36) { + if (byteOffset == null) dart.nullFailed(I[58], 599, 21, "byteOffset"); + if (value == null) dart.nullFailed(I[58], 599, 37, "value"); + if (endian == null) dart.nullFailed(I[58], 599, 52, "endian"); + dart.throw(new core.UnsupportedError.new("Int64 accessor not supported by dart2js.")); + } + [$setInt8](...args) { + return this.setInt8.apply(this, args); + } + [$setUint16](byteOffset, value, endian = C[36] || CT.C36) { + if (byteOffset == null) dart.nullFailed(I[58], 619, 22, "byteOffset"); + if (value == null) dart.nullFailed(I[58], 619, 38, "value"); + if (endian == null) dart.nullFailed(I[58], 619, 53, "endian"); + return this[_setUint16](byteOffset, value, dart.equals(typed_data.Endian.little, endian)); + } + [_setUint16](...args) { + return this.setUint16.apply(this, args); + } + [$setUint32](byteOffset, value, endian = C[36] || CT.C36) { + if (byteOffset == null) dart.nullFailed(I[58], 632, 22, "byteOffset"); + if (value == null) dart.nullFailed(I[58], 632, 38, "value"); + if (endian == null) dart.nullFailed(I[58], 632, 53, "endian"); + return this[_setUint32](byteOffset, value, dart.equals(typed_data.Endian.little, endian)); + } + [_setUint32](...args) { + return this.setUint32.apply(this, args); + } + [$setUint64](byteOffset, value, endian = C[36] || CT.C36) { + if (byteOffset == null) dart.nullFailed(I[58], 645, 22, "byteOffset"); + if (value == null) dart.nullFailed(I[58], 645, 38, "value"); + if (endian == null) dart.nullFailed(I[58], 645, 53, "endian"); + dart.throw(new core.UnsupportedError.new("Uint64 accessor not supported by dart2js.")); + } + [$setUint8](...args) { + return this.setUint8.apply(this, args); + } + static _create1(arg) { + return new DataView(new ArrayBuffer(arg)); + } + static _create2(arg1, arg2) { + return new DataView(arg1, arg2); + } + static _create3(arg1, arg2, arg3) { + return new DataView(arg1, arg2, arg3); + } +}; +dart.addTypeTests(_native_typed_data.NativeByteData); +dart.addTypeCaches(_native_typed_data.NativeByteData); +_native_typed_data.NativeByteData[dart.implements] = () => [typed_data.ByteData]; +dart.setMethodSignature(_native_typed_data.NativeByteData, () => ({ + __proto__: dart.getMethods(_native_typed_data.NativeByteData.__proto__), + [$getFloat32]: dart.fnType(core.double, [core.int], [typed_data.Endian]), + [_getFloat32]: dart.fnType(core.double, [core.int], [dart.nullable(core.bool)]), + [$getFloat64]: dart.fnType(core.double, [core.int], [typed_data.Endian]), + [_getFloat64]: dart.fnType(core.double, [core.int], [dart.nullable(core.bool)]), + [$getInt16]: dart.fnType(core.int, [core.int], [typed_data.Endian]), + [_getInt16]: dart.fnType(core.int, [core.int], [dart.nullable(core.bool)]), + [$getInt32]: dart.fnType(core.int, [core.int], [typed_data.Endian]), + [_getInt32]: dart.fnType(core.int, [core.int], [dart.nullable(core.bool)]), + [$getInt64]: dart.fnType(core.int, [core.int], [typed_data.Endian]), + [$getInt8]: dart.fnType(core.int, [core.int]), + [$getUint16]: dart.fnType(core.int, [core.int], [typed_data.Endian]), + [_getUint16]: dart.fnType(core.int, [core.int], [dart.nullable(core.bool)]), + [$getUint32]: dart.fnType(core.int, [core.int], [typed_data.Endian]), + [_getUint32]: dart.fnType(core.int, [core.int], [dart.nullable(core.bool)]), + [$getUint64]: dart.fnType(core.int, [core.int], [typed_data.Endian]), + [$getUint8]: dart.fnType(core.int, [core.int]), + [$setFloat32]: dart.fnType(dart.void, [core.int, core.num], [typed_data.Endian]), + [_setFloat32]: dart.fnType(dart.void, [core.int, core.num], [dart.nullable(core.bool)]), + [$setFloat64]: dart.fnType(dart.void, [core.int, core.num], [typed_data.Endian]), + [_setFloat64]: dart.fnType(dart.void, [core.int, core.num], [dart.nullable(core.bool)]), + [$setInt16]: dart.fnType(dart.void, [core.int, core.int], [typed_data.Endian]), + [_setInt16]: dart.fnType(dart.void, [core.int, core.int], [dart.nullable(core.bool)]), + [$setInt32]: dart.fnType(dart.void, [core.int, core.int], [typed_data.Endian]), + [_setInt32]: dart.fnType(dart.void, [core.int, core.int], [dart.nullable(core.bool)]), + [$setInt64]: dart.fnType(dart.void, [core.int, core.int], [typed_data.Endian]), + [$setInt8]: dart.fnType(dart.void, [core.int, core.int]), + [$setUint16]: dart.fnType(dart.void, [core.int, core.int], [typed_data.Endian]), + [_setUint16]: dart.fnType(dart.void, [core.int, core.int], [dart.nullable(core.bool)]), + [$setUint32]: dart.fnType(dart.void, [core.int, core.int], [typed_data.Endian]), + [_setUint32]: dart.fnType(dart.void, [core.int, core.int], [dart.nullable(core.bool)]), + [$setUint64]: dart.fnType(dart.void, [core.int, core.int], [typed_data.Endian]), + [$setUint8]: dart.fnType(dart.void, [core.int, core.int]) +})); +dart.setLibraryUri(_native_typed_data.NativeByteData, I[59]); +dart.registerExtension("DataView", _native_typed_data.NativeByteData); +var _setRangeFast = dart.privateName(_native_typed_data, "_setRangeFast"); +const _is_NativeTypedArray_default = Symbol('_is_NativeTypedArray_default'); +_native_typed_data.NativeTypedArray$ = dart.generic(E => { + class NativeTypedArray extends _native_typed_data.NativeTypedData { + [_setRangeFast](start, end, source, skipCount) { + if (start == null) dart.nullFailed(I[58], 673, 11, "start"); + if (end == null) dart.nullFailed(I[58], 673, 22, "end"); + if (source == null) dart.nullFailed(I[58], 673, 44, "source"); + if (skipCount == null) dart.nullFailed(I[58], 673, 56, "skipCount"); + let targetLength = this[$length]; + this[_checkPosition](start, targetLength, "start"); + this[_checkPosition](end, targetLength, "end"); + if (dart.notNull(start) > dart.notNull(end)) dart.throw(new core.RangeError.range(start, 0, end)); + let count = dart.notNull(end) - dart.notNull(start); + if (dart.notNull(skipCount) < 0) dart.throw(new core.ArgumentError.new(skipCount)); + let sourceLength = source[$length]; + if (dart.notNull(sourceLength) - dart.notNull(skipCount) < count) { + dart.throw(new core.StateError.new("Not enough elements")); + } + if (skipCount !== 0 || sourceLength !== count) { + source = source.subarray(skipCount, dart.notNull(skipCount) + count); + } + this.set(source, start); + } + } + (NativeTypedArray.new = function() { + ; + }).prototype = NativeTypedArray.prototype; + dart.addTypeTests(NativeTypedArray); + NativeTypedArray.prototype[_is_NativeTypedArray_default] = true; + dart.addTypeCaches(NativeTypedArray); + NativeTypedArray[dart.implements] = () => [_js_helper.JavaScriptIndexingBehavior$(E)]; + dart.setMethodSignature(NativeTypedArray, () => ({ + __proto__: dart.getMethods(NativeTypedArray.__proto__), + [_setRangeFast]: dart.fnType(dart.void, [core.int, core.int, _native_typed_data.NativeTypedArray, core.int]) + })); + dart.setLibraryUri(NativeTypedArray, I[59]); + return NativeTypedArray; +}); +_native_typed_data.NativeTypedArray = _native_typed_data.NativeTypedArray$(); +dart.addTypeTests(_native_typed_data.NativeTypedArray, _is_NativeTypedArray_default); +core.double = class double extends core.num { + static is(o) { + return typeof o == "number"; + } + static as(o) { + if (typeof o == "number") return o; + return dart.as(o, core.double); + } + static parse(source, onError = null) { + if (source == null) dart.nullFailed(I[7], 211, 30, "source"); + let value = core.double.tryParse(source); + if (value != null) return value; + if (onError != null) return onError(source); + dart.throw(new core.FormatException.new("Invalid double", source)); + } + static tryParse(source) { + if (source == null) dart.nullFailed(I[7], 220, 34, "source"); + return _js_helper.Primitives.parseDouble(source); + } +}; +(core.double.new = function() { + ; +}).prototype = core.double.prototype; +dart.addTypeCaches(core.double); +dart.setLibraryUri(core.double, I[8]); +dart.defineLazy(core.double, { + /*core.double.nan*/get nan() { + return 0 / 0; + }, + /*core.double.infinity*/get infinity() { + return 1 / 0; + }, + /*core.double.negativeInfinity*/get negativeInfinity() { + return -1 / 0; + }, + /*core.double.minPositive*/get minPositive() { + return 5e-324; + }, + /*core.double.maxFinite*/get maxFinite() { + return 1.7976931348623157e+308; + } +}, false); +const NativeTypedArray_ListMixin$36 = class NativeTypedArray_ListMixin extends _native_typed_data.NativeTypedArray$(core.double) {}; +(NativeTypedArray_ListMixin$36.new = function() { +}).prototype = NativeTypedArray_ListMixin$36.prototype; +dart.applyMixin(NativeTypedArray_ListMixin$36, collection.ListMixin$(core.double)); +const NativeTypedArray_FixedLengthListMixin$36 = class NativeTypedArray_FixedLengthListMixin extends NativeTypedArray_ListMixin$36 {}; +(NativeTypedArray_FixedLengthListMixin$36.new = function() { +}).prototype = NativeTypedArray_FixedLengthListMixin$36.prototype; +dart.applyMixin(NativeTypedArray_FixedLengthListMixin$36, _internal.FixedLengthListMixin$(core.double)); +_native_typed_data.NativeTypedArrayOfDouble = class NativeTypedArrayOfDouble extends NativeTypedArray_FixedLengthListMixin$36 { + get length() { + return this.length; + } + set length(value) { + super.length = value; + } + _get(index) { + if (index == null) dart.nullFailed(I[58], 699, 26, "index"); + _native_typed_data._checkValidIndex(index, this, this[$length]); + return this[index]; + } + _set(index, value$) { + let value = value$; + if (index == null) dart.nullFailed(I[58], 704, 25, "index"); + core.num.as(value); + if (value == null) dart.nullFailed(I[58], 704, 36, "value"); + _native_typed_data._checkValidIndex(index, this, this[$length]); + this[index] = value; + return value$; + } + setRange(start, end, iterable, skipCount = 0) { + if (start == null) dart.nullFailed(I[58], 709, 21, "start"); + if (end == null) dart.nullFailed(I[58], 709, 32, "end"); + T$.IterableOfdouble().as(iterable); + if (iterable == null) dart.nullFailed(I[58], 709, 54, "iterable"); + if (skipCount == null) dart.nullFailed(I[58], 710, 12, "skipCount"); + if (_native_typed_data.NativeTypedArrayOfDouble.is(iterable)) { + this[_setRangeFast](start, end, iterable, skipCount); + return; + } + super[$setRange](start, end, iterable, skipCount); + } +}; +(_native_typed_data.NativeTypedArrayOfDouble.new = function() { + ; +}).prototype = _native_typed_data.NativeTypedArrayOfDouble.prototype; +dart.addTypeTests(_native_typed_data.NativeTypedArrayOfDouble); +dart.addTypeCaches(_native_typed_data.NativeTypedArrayOfDouble); +dart.setMethodSignature(_native_typed_data.NativeTypedArrayOfDouble, () => ({ + __proto__: dart.getMethods(_native_typed_data.NativeTypedArrayOfDouble.__proto__), + _get: dart.fnType(core.double, [core.int]), + [$_get]: dart.fnType(core.double, [core.int]), + _set: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), + [$_set]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]) +})); +dart.setGetterSignature(_native_typed_data.NativeTypedArrayOfDouble, () => ({ + __proto__: dart.getGetters(_native_typed_data.NativeTypedArrayOfDouble.__proto__), + length: core.int, + [$length]: core.int +})); +dart.setLibraryUri(_native_typed_data.NativeTypedArrayOfDouble, I[59]); +dart.defineExtensionMethods(_native_typed_data.NativeTypedArrayOfDouble, ['_get', '_set', 'setRange']); +dart.defineExtensionAccessors(_native_typed_data.NativeTypedArrayOfDouble, ['length']); +const NativeTypedArray_ListMixin$36$ = class NativeTypedArray_ListMixin extends _native_typed_data.NativeTypedArray$(core.int) {}; +(NativeTypedArray_ListMixin$36$.new = function() { +}).prototype = NativeTypedArray_ListMixin$36$.prototype; +dart.applyMixin(NativeTypedArray_ListMixin$36$, collection.ListMixin$(core.int)); +const NativeTypedArray_FixedLengthListMixin$36$ = class NativeTypedArray_FixedLengthListMixin extends NativeTypedArray_ListMixin$36$ {}; +(NativeTypedArray_FixedLengthListMixin$36$.new = function() { +}).prototype = NativeTypedArray_FixedLengthListMixin$36$.prototype; +dart.applyMixin(NativeTypedArray_FixedLengthListMixin$36$, _internal.FixedLengthListMixin$(core.int)); +_native_typed_data.NativeTypedArrayOfInt = class NativeTypedArrayOfInt extends NativeTypedArray_FixedLengthListMixin$36$ { + get length() { + return this.length; + } + set length(value) { + super.length = value; + } + _set(index, value$) { + let value = value$; + if (index == null) dart.nullFailed(I[58], 727, 25, "index"); + core.int.as(value); + if (value == null) dart.nullFailed(I[58], 727, 36, "value"); + _native_typed_data._checkValidIndex(index, this, this[$length]); + this[index] = value; + return value$; + } + setRange(start, end, iterable, skipCount = 0) { + if (start == null) dart.nullFailed(I[58], 732, 21, "start"); + if (end == null) dart.nullFailed(I[58], 732, 32, "end"); + T$.IterableOfint().as(iterable); + if (iterable == null) dart.nullFailed(I[58], 732, 51, "iterable"); + if (skipCount == null) dart.nullFailed(I[58], 733, 12, "skipCount"); + if (_native_typed_data.NativeTypedArrayOfInt.is(iterable)) { + this[_setRangeFast](start, end, iterable, skipCount); + return; + } + super[$setRange](start, end, iterable, skipCount); + } +}; +(_native_typed_data.NativeTypedArrayOfInt.new = function() { + ; +}).prototype = _native_typed_data.NativeTypedArrayOfInt.prototype; +_native_typed_data.NativeTypedArrayOfInt.prototype[dart.isList] = true; +dart.addTypeTests(_native_typed_data.NativeTypedArrayOfInt); +dart.addTypeCaches(_native_typed_data.NativeTypedArrayOfInt); +_native_typed_data.NativeTypedArrayOfInt[dart.implements] = () => [core.List$(core.int)]; +dart.setMethodSignature(_native_typed_data.NativeTypedArrayOfInt, () => ({ + __proto__: dart.getMethods(_native_typed_data.NativeTypedArrayOfInt.__proto__), + _set: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), + [$_set]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]) +})); +dart.setGetterSignature(_native_typed_data.NativeTypedArrayOfInt, () => ({ + __proto__: dart.getGetters(_native_typed_data.NativeTypedArrayOfInt.__proto__), + length: core.int, + [$length]: core.int +})); +dart.setLibraryUri(_native_typed_data.NativeTypedArrayOfInt, I[59]); +dart.defineExtensionMethods(_native_typed_data.NativeTypedArrayOfInt, ['_set', 'setRange']); +dart.defineExtensionAccessors(_native_typed_data.NativeTypedArrayOfInt, ['length']); +_native_typed_data.NativeFloat32List = class NativeFloat32List extends _native_typed_data.NativeTypedArrayOfDouble { + static new(length) { + if (length == null) dart.nullFailed(I[58], 745, 33, "length"); + return _native_typed_data.NativeFloat32List._create1(_native_typed_data._checkLength(length)); + } + static fromList(elements) { + if (elements == null) dart.nullFailed(I[58], 747, 51, "elements"); + return _native_typed_data.NativeFloat32List._create1(_native_typed_data._ensureNativeList(elements)); + } + static view(buffer, offsetInBytes, length) { + if (buffer == null) dart.nullFailed(I[58], 751, 18, "buffer"); + if (offsetInBytes == null) dart.nullFailed(I[58], 751, 30, "offsetInBytes"); + _native_typed_data._checkViewArguments(buffer, offsetInBytes, length); + length == null ? length = ((dart.notNull(buffer[$lengthInBytes]) - dart.notNull(offsetInBytes)) / 4)[$truncate]() : null; + return _native_typed_data.NativeFloat32List._create3(buffer, offsetInBytes, length); + } + get [$runtimeType]() { + return dart.wrapType(typed_data.Float32List); + } + [$sublist](start, end = null) { + if (start == null) dart.nullFailed(I[58], 760, 27, "start"); + let stop = _native_typed_data._checkValidRange(start, end, this[$length]); + let source = this.subarray(start, stop); + return _native_typed_data.NativeFloat32List._create1(source); + } + static _create1(arg) { + return new Float32Array(arg); + } + static _create3(arg1, arg2, arg3) { + return new Float32Array(arg1, arg2, arg3); + } +}; +dart.addTypeTests(_native_typed_data.NativeFloat32List); +dart.addTypeCaches(_native_typed_data.NativeFloat32List); +_native_typed_data.NativeFloat32List[dart.implements] = () => [typed_data.Float32List]; +dart.setMethodSignature(_native_typed_data.NativeFloat32List, () => ({ + __proto__: dart.getMethods(_native_typed_data.NativeFloat32List.__proto__), + [$sublist]: dart.fnType(typed_data.Float32List, [core.int], [dart.nullable(core.int)]) +})); +dart.setLibraryUri(_native_typed_data.NativeFloat32List, I[59]); +dart.registerExtension("Float32Array", _native_typed_data.NativeFloat32List); +_native_typed_data.NativeFloat64List = class NativeFloat64List extends _native_typed_data.NativeTypedArrayOfDouble { + static new(length) { + if (length == null) dart.nullFailed(I[58], 777, 33, "length"); + return _native_typed_data.NativeFloat64List._create1(_native_typed_data._checkLength(length)); + } + static fromList(elements) { + if (elements == null) dart.nullFailed(I[58], 779, 51, "elements"); + return _native_typed_data.NativeFloat64List._create1(_native_typed_data._ensureNativeList(elements)); + } + static view(buffer, offsetInBytes, length) { + if (buffer == null) dart.nullFailed(I[58], 783, 18, "buffer"); + if (offsetInBytes == null) dart.nullFailed(I[58], 783, 30, "offsetInBytes"); + _native_typed_data._checkViewArguments(buffer, offsetInBytes, length); + length == null ? length = ((dart.notNull(buffer[$lengthInBytes]) - dart.notNull(offsetInBytes)) / 8)[$truncate]() : null; + return _native_typed_data.NativeFloat64List._create3(buffer, offsetInBytes, length); + } + get [$runtimeType]() { + return dart.wrapType(typed_data.Float64List); + } + [$sublist](start, end = null) { + if (start == null) dart.nullFailed(I[58], 792, 27, "start"); + let stop = _native_typed_data._checkValidRange(start, end, this[$length]); + let source = this.subarray(start, stop); + return _native_typed_data.NativeFloat64List._create1(source); + } + static _create1(arg) { + return new Float64Array(arg); + } + static _create3(arg1, arg2, arg3) { + return new Float64Array(arg1, arg2, arg3); + } +}; +dart.addTypeTests(_native_typed_data.NativeFloat64List); +dart.addTypeCaches(_native_typed_data.NativeFloat64List); +_native_typed_data.NativeFloat64List[dart.implements] = () => [typed_data.Float64List]; +dart.setMethodSignature(_native_typed_data.NativeFloat64List, () => ({ + __proto__: dart.getMethods(_native_typed_data.NativeFloat64List.__proto__), + [$sublist]: dart.fnType(typed_data.Float64List, [core.int], [dart.nullable(core.int)]) +})); +dart.setLibraryUri(_native_typed_data.NativeFloat64List, I[59]); +dart.registerExtension("Float64Array", _native_typed_data.NativeFloat64List); +_native_typed_data.NativeInt16List = class NativeInt16List extends _native_typed_data.NativeTypedArrayOfInt { + static new(length) { + if (length == null) dart.nullFailed(I[58], 807, 31, "length"); + return _native_typed_data.NativeInt16List._create1(_native_typed_data._checkLength(length)); + } + static fromList(elements) { + if (elements == null) dart.nullFailed(I[58], 809, 46, "elements"); + return _native_typed_data.NativeInt16List._create1(_native_typed_data._ensureNativeList(elements)); + } + static view(buffer, offsetInBytes, length) { + if (buffer == null) dart.nullFailed(I[58], 813, 24, "buffer"); + if (offsetInBytes == null) dart.nullFailed(I[58], 813, 36, "offsetInBytes"); + _native_typed_data._checkViewArguments(buffer, offsetInBytes, length); + length == null ? length = ((dart.notNull(buffer[$lengthInBytes]) - dart.notNull(offsetInBytes)) / 2)[$truncate]() : null; + return _native_typed_data.NativeInt16List._create3(buffer, offsetInBytes, length); + } + get [$runtimeType]() { + return dart.wrapType(typed_data.Int16List); + } + [$_get](index) { + if (index == null) dart.nullFailed(I[58], 822, 23, "index"); + _native_typed_data._checkValidIndex(index, this, this[$length]); + return this[index]; + } + [$sublist](start, end = null) { + if (start == null) dart.nullFailed(I[58], 827, 25, "start"); + let stop = _native_typed_data._checkValidRange(start, end, this[$length]); + let source = this.subarray(start, stop); + return _native_typed_data.NativeInt16List._create1(source); + } + static _create1(arg) { + return new Int16Array(arg); + } + static _create3(arg1, arg2, arg3) { + return new Int16Array(arg1, arg2, arg3); + } +}; +dart.addTypeTests(_native_typed_data.NativeInt16List); +dart.addTypeCaches(_native_typed_data.NativeInt16List); +_native_typed_data.NativeInt16List[dart.implements] = () => [typed_data.Int16List]; +dart.setMethodSignature(_native_typed_data.NativeInt16List, () => ({ + __proto__: dart.getMethods(_native_typed_data.NativeInt16List.__proto__), + [$_get]: dart.fnType(core.int, [core.int]), + [$sublist]: dart.fnType(typed_data.Int16List, [core.int], [dart.nullable(core.int)]) +})); +dart.setLibraryUri(_native_typed_data.NativeInt16List, I[59]); +dart.registerExtension("Int16Array", _native_typed_data.NativeInt16List); +_native_typed_data.NativeInt32List = class NativeInt32List extends _native_typed_data.NativeTypedArrayOfInt { + static new(length) { + if (length == null) dart.nullFailed(I[58], 842, 31, "length"); + return _native_typed_data.NativeInt32List._create1(_native_typed_data._checkLength(length)); + } + static fromList(elements) { + if (elements == null) dart.nullFailed(I[58], 844, 46, "elements"); + return _native_typed_data.NativeInt32List._create1(_native_typed_data._ensureNativeList(elements)); + } + static view(buffer, offsetInBytes, length) { + if (buffer == null) dart.nullFailed(I[58], 848, 18, "buffer"); + if (offsetInBytes == null) dart.nullFailed(I[58], 848, 30, "offsetInBytes"); + _native_typed_data._checkViewArguments(buffer, offsetInBytes, length); + length == null ? length = ((dart.notNull(buffer[$lengthInBytes]) - dart.notNull(offsetInBytes)) / 4)[$truncate]() : null; + return _native_typed_data.NativeInt32List._create3(buffer, offsetInBytes, length); + } + get [$runtimeType]() { + return dart.wrapType(typed_data.Int32List); + } + [$_get](index) { + if (index == null) dart.nullFailed(I[58], 857, 23, "index"); + _native_typed_data._checkValidIndex(index, this, this[$length]); + return this[index]; + } + [$sublist](start, end = null) { + if (start == null) dart.nullFailed(I[58], 862, 25, "start"); + let stop = _native_typed_data._checkValidRange(start, end, this[$length]); + let source = this.subarray(start, stop); + return _native_typed_data.NativeInt32List._create1(source); + } + static _create1(arg) { + return new Int32Array(arg); + } + static _create3(arg1, arg2, arg3) { + return new Int32Array(arg1, arg2, arg3); + } +}; +dart.addTypeTests(_native_typed_data.NativeInt32List); +dart.addTypeCaches(_native_typed_data.NativeInt32List); +_native_typed_data.NativeInt32List[dart.implements] = () => [typed_data.Int32List]; +dart.setMethodSignature(_native_typed_data.NativeInt32List, () => ({ + __proto__: dart.getMethods(_native_typed_data.NativeInt32List.__proto__), + [$_get]: dart.fnType(core.int, [core.int]), + [$sublist]: dart.fnType(typed_data.Int32List, [core.int], [dart.nullable(core.int)]) +})); +dart.setLibraryUri(_native_typed_data.NativeInt32List, I[59]); +dart.registerExtension("Int32Array", _native_typed_data.NativeInt32List); +_native_typed_data.NativeInt8List = class NativeInt8List extends _native_typed_data.NativeTypedArrayOfInt { + static new(length) { + if (length == null) dart.nullFailed(I[58], 878, 30, "length"); + return _native_typed_data.NativeInt8List._create1(_native_typed_data._checkLength(length)); + } + static fromList(elements) { + if (elements == null) dart.nullFailed(I[58], 880, 45, "elements"); + return _native_typed_data.NativeInt8List._create1(_native_typed_data._ensureNativeList(elements)); + } + static view(buffer, offsetInBytes, length) { + if (buffer == null) dart.nullFailed(I[58], 884, 18, "buffer"); + if (offsetInBytes == null) dart.nullFailed(I[58], 884, 30, "offsetInBytes"); + _native_typed_data._checkViewArguments(buffer, offsetInBytes, length); + return length == null ? _native_typed_data.NativeInt8List._create2(buffer, offsetInBytes) : _native_typed_data.NativeInt8List._create3(buffer, offsetInBytes, length); + } + get [$runtimeType]() { + return dart.wrapType(typed_data.Int8List); + } + [$_get](index) { + if (index == null) dart.nullFailed(I[58], 893, 23, "index"); + _native_typed_data._checkValidIndex(index, this, this[$length]); + return this[index]; + } + [$sublist](start, end = null) { + if (start == null) dart.nullFailed(I[58], 898, 24, "start"); + let stop = _native_typed_data._checkValidRange(start, end, this[$length]); + let source = this.subarray(start, stop); + return _native_typed_data.NativeInt8List._create1(source); + } + static _create1(arg) { + return new Int8Array(arg); + } + static _create2(arg1, arg2) { + return new Int8Array(arg1, arg2); + } + static _create3(arg1, arg2, arg3) { + return new Int8Array(arg1, arg2, arg3); + } +}; +dart.addTypeTests(_native_typed_data.NativeInt8List); +dart.addTypeCaches(_native_typed_data.NativeInt8List); +_native_typed_data.NativeInt8List[dart.implements] = () => [typed_data.Int8List]; +dart.setMethodSignature(_native_typed_data.NativeInt8List, () => ({ + __proto__: dart.getMethods(_native_typed_data.NativeInt8List.__proto__), + [$_get]: dart.fnType(core.int, [core.int]), + [$sublist]: dart.fnType(typed_data.Int8List, [core.int], [dart.nullable(core.int)]) +})); +dart.setLibraryUri(_native_typed_data.NativeInt8List, I[59]); +dart.registerExtension("Int8Array", _native_typed_data.NativeInt8List); +_native_typed_data.NativeUint16List = class NativeUint16List extends _native_typed_data.NativeTypedArrayOfInt { + static new(length) { + if (length == null) dart.nullFailed(I[58], 916, 32, "length"); + return _native_typed_data.NativeUint16List._create1(_native_typed_data._checkLength(length)); + } + static fromList(list) { + if (list == null) dart.nullFailed(I[58], 918, 47, "list"); + return _native_typed_data.NativeUint16List._create1(_native_typed_data._ensureNativeList(list)); + } + static view(buffer, offsetInBytes, length) { + if (buffer == null) dart.nullFailed(I[58], 922, 18, "buffer"); + if (offsetInBytes == null) dart.nullFailed(I[58], 922, 30, "offsetInBytes"); + _native_typed_data._checkViewArguments(buffer, offsetInBytes, length); + length == null ? length = ((dart.notNull(buffer[$lengthInBytes]) - dart.notNull(offsetInBytes)) / 2)[$truncate]() : null; + return _native_typed_data.NativeUint16List._create3(buffer, offsetInBytes, length); + } + get [$runtimeType]() { + return dart.wrapType(typed_data.Uint16List); + } + [$_get](index) { + if (index == null) dart.nullFailed(I[58], 931, 23, "index"); + _native_typed_data._checkValidIndex(index, this, this[$length]); + return this[index]; + } + [$sublist](start, end = null) { + if (start == null) dart.nullFailed(I[58], 936, 26, "start"); + let stop = _native_typed_data._checkValidRange(start, end, this[$length]); + let source = this.subarray(start, stop); + return _native_typed_data.NativeUint16List._create1(source); + } + static _create1(arg) { + return new Uint16Array(arg); + } + static _create3(arg1, arg2, arg3) { + return new Uint16Array(arg1, arg2, arg3); + } +}; +dart.addTypeTests(_native_typed_data.NativeUint16List); +dart.addTypeCaches(_native_typed_data.NativeUint16List); +_native_typed_data.NativeUint16List[dart.implements] = () => [typed_data.Uint16List]; +dart.setMethodSignature(_native_typed_data.NativeUint16List, () => ({ + __proto__: dart.getMethods(_native_typed_data.NativeUint16List.__proto__), + [$_get]: dart.fnType(core.int, [core.int]), + [$sublist]: dart.fnType(typed_data.Uint16List, [core.int], [dart.nullable(core.int)]) +})); +dart.setLibraryUri(_native_typed_data.NativeUint16List, I[59]); +dart.registerExtension("Uint16Array", _native_typed_data.NativeUint16List); +_native_typed_data.NativeUint32List = class NativeUint32List extends _native_typed_data.NativeTypedArrayOfInt { + static new(length) { + if (length == null) dart.nullFailed(I[58], 952, 32, "length"); + return _native_typed_data.NativeUint32List._create1(_native_typed_data._checkLength(length)); + } + static fromList(elements) { + if (elements == null) dart.nullFailed(I[58], 954, 47, "elements"); + return _native_typed_data.NativeUint32List._create1(_native_typed_data._ensureNativeList(elements)); + } + static view(buffer, offsetInBytes, length) { + if (buffer == null) dart.nullFailed(I[58], 958, 18, "buffer"); + if (offsetInBytes == null) dart.nullFailed(I[58], 958, 30, "offsetInBytes"); + _native_typed_data._checkViewArguments(buffer, offsetInBytes, length); + length == null ? length = ((dart.notNull(buffer[$lengthInBytes]) - dart.notNull(offsetInBytes)) / 4)[$truncate]() : null; + return _native_typed_data.NativeUint32List._create3(buffer, offsetInBytes, length); + } + get [$runtimeType]() { + return dart.wrapType(typed_data.Uint32List); + } + [$_get](index) { + if (index == null) dart.nullFailed(I[58], 967, 23, "index"); + _native_typed_data._checkValidIndex(index, this, this[$length]); + return this[index]; + } + [$sublist](start, end = null) { + if (start == null) dart.nullFailed(I[58], 972, 26, "start"); + let stop = _native_typed_data._checkValidRange(start, end, this[$length]); + let source = this.subarray(start, stop); + return _native_typed_data.NativeUint32List._create1(source); + } + static _create1(arg) { + return new Uint32Array(arg); + } + static _create3(arg1, arg2, arg3) { + return new Uint32Array(arg1, arg2, arg3); + } +}; +dart.addTypeTests(_native_typed_data.NativeUint32List); +dart.addTypeCaches(_native_typed_data.NativeUint32List); +_native_typed_data.NativeUint32List[dart.implements] = () => [typed_data.Uint32List]; +dart.setMethodSignature(_native_typed_data.NativeUint32List, () => ({ + __proto__: dart.getMethods(_native_typed_data.NativeUint32List.__proto__), + [$_get]: dart.fnType(core.int, [core.int]), + [$sublist]: dart.fnType(typed_data.Uint32List, [core.int], [dart.nullable(core.int)]) +})); +dart.setLibraryUri(_native_typed_data.NativeUint32List, I[59]); +dart.registerExtension("Uint32Array", _native_typed_data.NativeUint32List); +_native_typed_data.NativeUint8ClampedList = class NativeUint8ClampedList extends _native_typed_data.NativeTypedArrayOfInt { + static new(length) { + if (length == null) dart.nullFailed(I[58], 989, 38, "length"); + return _native_typed_data.NativeUint8ClampedList._create1(_native_typed_data._checkLength(length)); + } + static fromList(elements) { + if (elements == null) dart.nullFailed(I[58], 991, 53, "elements"); + return _native_typed_data.NativeUint8ClampedList._create1(_native_typed_data._ensureNativeList(elements)); + } + static view(buffer, offsetInBytes, length) { + if (buffer == null) dart.nullFailed(I[58], 995, 18, "buffer"); + if (offsetInBytes == null) dart.nullFailed(I[58], 995, 30, "offsetInBytes"); + _native_typed_data._checkViewArguments(buffer, offsetInBytes, length); + return length == null ? _native_typed_data.NativeUint8ClampedList._create2(buffer, offsetInBytes) : _native_typed_data.NativeUint8ClampedList._create3(buffer, offsetInBytes, length); + } + get [$runtimeType]() { + return dart.wrapType(typed_data.Uint8ClampedList); + } + get [$length]() { + return this.length; + } + set [$length](value) { + super[$length] = value; + } + [$_get](index) { + if (index == null) dart.nullFailed(I[58], 1006, 23, "index"); + _native_typed_data._checkValidIndex(index, this, this[$length]); + return this[index]; + } + [$sublist](start, end = null) { + if (start == null) dart.nullFailed(I[58], 1011, 32, "start"); + let stop = _native_typed_data._checkValidRange(start, end, this[$length]); + let source = this.subarray(start, stop); + return _native_typed_data.NativeUint8ClampedList._create1(source); + } + static _create1(arg) { + return new Uint8ClampedArray(arg); + } + static _create2(arg1, arg2) { + return new Uint8ClampedArray(arg1, arg2); + } + static _create3(arg1, arg2, arg3) { + return new Uint8ClampedArray(arg1, arg2, arg3); + } +}; +dart.addTypeTests(_native_typed_data.NativeUint8ClampedList); +dart.addTypeCaches(_native_typed_data.NativeUint8ClampedList); +_native_typed_data.NativeUint8ClampedList[dart.implements] = () => [typed_data.Uint8ClampedList]; +dart.setMethodSignature(_native_typed_data.NativeUint8ClampedList, () => ({ + __proto__: dart.getMethods(_native_typed_data.NativeUint8ClampedList.__proto__), + [$_get]: dart.fnType(core.int, [core.int]), + [$sublist]: dart.fnType(typed_data.Uint8ClampedList, [core.int], [dart.nullable(core.int)]) +})); +dart.setLibraryUri(_native_typed_data.NativeUint8ClampedList, I[59]); +dart.registerExtension("Uint8ClampedArray", _native_typed_data.NativeUint8ClampedList); +dart.registerExtension("CanvasPixelArray", _native_typed_data.NativeUint8ClampedList); +_native_typed_data.NativeUint8List = class NativeUint8List extends _native_typed_data.NativeTypedArrayOfInt { + static new(length) { + if (length == null) dart.nullFailed(I[58], 1039, 31, "length"); + return _native_typed_data.NativeUint8List._create1(_native_typed_data._checkLength(length)); + } + static fromList(elements) { + if (elements == null) dart.nullFailed(I[58], 1041, 46, "elements"); + return _native_typed_data.NativeUint8List._create1(_native_typed_data._ensureNativeList(elements)); + } + static view(buffer, offsetInBytes, length) { + if (buffer == null) dart.nullFailed(I[58], 1045, 18, "buffer"); + if (offsetInBytes == null) dart.nullFailed(I[58], 1045, 30, "offsetInBytes"); + _native_typed_data._checkViewArguments(buffer, offsetInBytes, length); + return length == null ? _native_typed_data.NativeUint8List._create2(buffer, offsetInBytes) : _native_typed_data.NativeUint8List._create3(buffer, offsetInBytes, length); + } + get [$runtimeType]() { + return dart.wrapType(typed_data.Uint8List); + } + get [$length]() { + return this.length; + } + set [$length](value) { + super[$length] = value; + } + [$_get](index) { + if (index == null) dart.nullFailed(I[58], 1056, 23, "index"); + _native_typed_data._checkValidIndex(index, this, this[$length]); + return this[index]; + } + [$sublist](start, end = null) { + if (start == null) dart.nullFailed(I[58], 1061, 25, "start"); + let stop = _native_typed_data._checkValidRange(start, end, this[$length]); + let source = this.subarray(start, stop); + return _native_typed_data.NativeUint8List._create1(source); + } + static _create1(arg) { + return new Uint8Array(arg); + } + static _create2(arg1, arg2) { + return new Uint8Array(arg1, arg2); + } + static _create3(arg1, arg2, arg3) { + return new Uint8Array(arg1, arg2, arg3); + } +}; +dart.addTypeTests(_native_typed_data.NativeUint8List); +dart.addTypeCaches(_native_typed_data.NativeUint8List); +_native_typed_data.NativeUint8List[dart.implements] = () => [typed_data.Uint8List]; +dart.setMethodSignature(_native_typed_data.NativeUint8List, () => ({ + __proto__: dart.getMethods(_native_typed_data.NativeUint8List.__proto__), + [$_get]: dart.fnType(core.int, [core.int]), + [$sublist]: dart.fnType(typed_data.Uint8List, [core.int], [dart.nullable(core.int)]) +})); +dart.setLibraryUri(_native_typed_data.NativeUint8List, I[59]); +dart.registerExtension("Uint8Array", _native_typed_data.NativeUint8List); +var x$ = dart.privateName(_native_typed_data, "NativeFloat32x4.x"); +var y$ = dart.privateName(_native_typed_data, "NativeFloat32x4.y"); +var z$ = dart.privateName(_native_typed_data, "NativeFloat32x4.z"); +var w$ = dart.privateName(_native_typed_data, "NativeFloat32x4.w"); +_native_typed_data.NativeFloat32x4 = class NativeFloat32x4 extends core.Object { + get x() { + return this[x$]; + } + set x(value) { + super.x = value; + } + get y() { + return this[y$]; + } + set y(value) { + super.y = value; + } + get z() { + return this[z$]; + } + set z(value) { + super.z = value; + } + get w() { + return this[w$]; + } + set w(value) { + super.w = value; + } + static _truncate(x) { + _native_typed_data.NativeFloat32x4._list[$_set](0, core.num.as(x)); + return _native_typed_data.NativeFloat32x4._list[$_get](0); + } + static fromInt32x4Bits(i) { + if (i == null) dart.nullFailed(I[58], 1112, 51, "i"); + _native_typed_data.NativeFloat32x4._uint32view[$_set](0, i.x); + _native_typed_data.NativeFloat32x4._uint32view[$_set](1, i.y); + _native_typed_data.NativeFloat32x4._uint32view[$_set](2, i.z); + _native_typed_data.NativeFloat32x4._uint32view[$_set](3, i.w); + return new _native_typed_data.NativeFloat32x4._truncated(_native_typed_data.NativeFloat32x4._list[$_get](0), _native_typed_data.NativeFloat32x4._list[$_get](1), _native_typed_data.NativeFloat32x4._list[$_get](2), _native_typed_data.NativeFloat32x4._list[$_get](3)); + } + toString() { + return "[" + dart.str(this.x) + ", " + dart.str(this.y) + ", " + dart.str(this.z) + ", " + dart.str(this.w) + "]"; + } + ['+'](other) { + if (other == null) dart.nullFailed(I[58], 1144, 34, "other"); + let _x = dart.notNull(this.x) + dart.notNull(other.x); + let _y = dart.notNull(this.y) + dart.notNull(other.y); + let _z = dart.notNull(this.z) + dart.notNull(other.z); + let _w = dart.notNull(this.w) + dart.notNull(other.w); + return new _native_typed_data.NativeFloat32x4._doubles(_x, _y, _z, _w); + } + _negate() { + return new _native_typed_data.NativeFloat32x4._truncated(-dart.notNull(this.x), -dart.notNull(this.y), -dart.notNull(this.z), -dart.notNull(this.w)); + } + ['-'](other) { + if (other == null) dart.nullFailed(I[58], 1158, 34, "other"); + let _x = dart.notNull(this.x) - dart.notNull(other.x); + let _y = dart.notNull(this.y) - dart.notNull(other.y); + let _z = dart.notNull(this.z) - dart.notNull(other.z); + let _w = dart.notNull(this.w) - dart.notNull(other.w); + return new _native_typed_data.NativeFloat32x4._doubles(_x, _y, _z, _w); + } + ['*'](other) { + if (other == null) dart.nullFailed(I[58], 1167, 34, "other"); + let _x = dart.notNull(this.x) * dart.notNull(other.x); + let _y = dart.notNull(this.y) * dart.notNull(other.y); + let _z = dart.notNull(this.z) * dart.notNull(other.z); + let _w = dart.notNull(this.w) * dart.notNull(other.w); + return new _native_typed_data.NativeFloat32x4._doubles(_x, _y, _z, _w); + } + ['/'](other) { + if (other == null) dart.nullFailed(I[58], 1176, 34, "other"); + let _x = dart.notNull(this.x) / dart.notNull(other.x); + let _y = dart.notNull(this.y) / dart.notNull(other.y); + let _z = dart.notNull(this.z) / dart.notNull(other.z); + let _w = dart.notNull(this.w) / dart.notNull(other.w); + return new _native_typed_data.NativeFloat32x4._doubles(_x, _y, _z, _w); + } + lessThan(other) { + if (other == null) dart.nullFailed(I[58], 1185, 30, "other"); + let _cx = dart.notNull(this.x) < dart.notNull(other.x); + let _cy = dart.notNull(this.y) < dart.notNull(other.y); + let _cz = dart.notNull(this.z) < dart.notNull(other.z); + let _cw = dart.notNull(this.w) < dart.notNull(other.w); + return new _native_typed_data.NativeInt32x4._truncated(_cx ? -1 : 0, _cy ? -1 : 0, _cz ? -1 : 0, _cw ? -1 : 0); + } + lessThanOrEqual(other) { + if (other == null) dart.nullFailed(I[58], 1195, 37, "other"); + let _cx = dart.notNull(this.x) <= dart.notNull(other.x); + let _cy = dart.notNull(this.y) <= dart.notNull(other.y); + let _cz = dart.notNull(this.z) <= dart.notNull(other.z); + let _cw = dart.notNull(this.w) <= dart.notNull(other.w); + return new _native_typed_data.NativeInt32x4._truncated(_cx ? -1 : 0, _cy ? -1 : 0, _cz ? -1 : 0, _cw ? -1 : 0); + } + greaterThan(other) { + if (other == null) dart.nullFailed(I[58], 1205, 33, "other"); + let _cx = dart.notNull(this.x) > dart.notNull(other.x); + let _cy = dart.notNull(this.y) > dart.notNull(other.y); + let _cz = dart.notNull(this.z) > dart.notNull(other.z); + let _cw = dart.notNull(this.w) > dart.notNull(other.w); + return new _native_typed_data.NativeInt32x4._truncated(_cx ? -1 : 0, _cy ? -1 : 0, _cz ? -1 : 0, _cw ? -1 : 0); + } + greaterThanOrEqual(other) { + if (other == null) dart.nullFailed(I[58], 1215, 40, "other"); + let _cx = dart.notNull(this.x) >= dart.notNull(other.x); + let _cy = dart.notNull(this.y) >= dart.notNull(other.y); + let _cz = dart.notNull(this.z) >= dart.notNull(other.z); + let _cw = dart.notNull(this.w) >= dart.notNull(other.w); + return new _native_typed_data.NativeInt32x4._truncated(_cx ? -1 : 0, _cy ? -1 : 0, _cz ? -1 : 0, _cw ? -1 : 0); + } + equal(other) { + if (other == null) dart.nullFailed(I[58], 1225, 27, "other"); + let _cx = this.x == other.x; + let _cy = this.y == other.y; + let _cz = this.z == other.z; + let _cw = this.w == other.w; + return new _native_typed_data.NativeInt32x4._truncated(_cx ? -1 : 0, _cy ? -1 : 0, _cz ? -1 : 0, _cw ? -1 : 0); + } + notEqual(other) { + if (other == null) dart.nullFailed(I[58], 1235, 30, "other"); + let _cx = this.x != other.x; + let _cy = this.y != other.y; + let _cz = this.z != other.z; + let _cw = this.w != other.w; + return new _native_typed_data.NativeInt32x4._truncated(_cx ? -1 : 0, _cy ? -1 : 0, _cz ? -1 : 0, _cw ? -1 : 0); + } + scale(s) { + if (s == null) dart.nullFailed(I[58], 1245, 26, "s"); + let _x = dart.notNull(s) * dart.notNull(this.x); + let _y = dart.notNull(s) * dart.notNull(this.y); + let _z = dart.notNull(s) * dart.notNull(this.z); + let _w = dart.notNull(s) * dart.notNull(this.w); + return new _native_typed_data.NativeFloat32x4._doubles(_x, _y, _z, _w); + } + abs() { + let _x = this.x[$abs](); + let _y = this.y[$abs](); + let _z = this.z[$abs](); + let _w = this.w[$abs](); + return new _native_typed_data.NativeFloat32x4._truncated(_x, _y, _z, _w); + } + clamp(lowerLimit, upperLimit) { + if (lowerLimit == null) dart.nullFailed(I[58], 1263, 29, "lowerLimit"); + if (upperLimit == null) dart.nullFailed(I[58], 1263, 51, "upperLimit"); + let _lx = lowerLimit.x; + let _ly = lowerLimit.y; + let _lz = lowerLimit.z; + let _lw = lowerLimit.w; + let _ux = upperLimit.x; + let _uy = upperLimit.y; + let _uz = upperLimit.z; + let _uw = upperLimit.w; + let _x = this.x; + let _y = this.y; + let _z = this.z; + let _w = this.w; + _x = dart.notNull(_x) > dart.notNull(_ux) ? _ux : _x; + _y = dart.notNull(_y) > dart.notNull(_uy) ? _uy : _y; + _z = dart.notNull(_z) > dart.notNull(_uz) ? _uz : _z; + _w = dart.notNull(_w) > dart.notNull(_uw) ? _uw : _w; + _x = dart.notNull(_x) < dart.notNull(_lx) ? _lx : _x; + _y = dart.notNull(_y) < dart.notNull(_ly) ? _ly : _y; + _z = dart.notNull(_z) < dart.notNull(_lz) ? _lz : _z; + _w = dart.notNull(_w) < dart.notNull(_lw) ? _lw : _w; + return new _native_typed_data.NativeFloat32x4._truncated(_x, _y, _z, _w); + } + get signMask() { + let view = _native_typed_data.NativeFloat32x4._uint32view; + let mx = null; + let my = null; + let mz = null; + let mw = null; + _native_typed_data.NativeFloat32x4._list[$_set](0, this.x); + _native_typed_data.NativeFloat32x4._list[$_set](1, this.y); + _native_typed_data.NativeFloat32x4._list[$_set](2, this.z); + _native_typed_data.NativeFloat32x4._list[$_set](3, this.w); + mx = (dart.notNull(view[$_get](0)) & 2147483648) >>> 31; + my = (dart.notNull(view[$_get](1)) & 2147483648) >>> 30; + mz = (dart.notNull(view[$_get](2)) & 2147483648) >>> 29; + mw = (dart.notNull(view[$_get](3)) & 2147483648) >>> 28; + return core.int.as(dart.dsend(dart.dsend(dart.dsend(mx, '|', [my]), '|', [mz]), '|', [mw])); + } + shuffle(mask) { + if (mask == null) dart.nullFailed(I[58], 1305, 25, "mask"); + if (dart.notNull(mask) < 0 || dart.notNull(mask) > 255) { + dart.throw(new core.RangeError.range(mask, 0, 255, "mask")); + } + _native_typed_data.NativeFloat32x4._list[$_set](0, this.x); + _native_typed_data.NativeFloat32x4._list[$_set](1, this.y); + _native_typed_data.NativeFloat32x4._list[$_set](2, this.z); + _native_typed_data.NativeFloat32x4._list[$_set](3, this.w); + let _x = _native_typed_data.NativeFloat32x4._list[$_get](dart.notNull(mask) & 3); + let _y = _native_typed_data.NativeFloat32x4._list[$_get](dart.notNull(mask) >> 2 & 3); + let _z = _native_typed_data.NativeFloat32x4._list[$_get](dart.notNull(mask) >> 4 & 3); + let _w = _native_typed_data.NativeFloat32x4._list[$_get](dart.notNull(mask) >> 6 & 3); + return new _native_typed_data.NativeFloat32x4._truncated(_x, _y, _z, _w); + } + shuffleMix(other, mask) { + if (other == null) dart.nullFailed(I[58], 1324, 34, "other"); + if (mask == null) dart.nullFailed(I[58], 1324, 45, "mask"); + if (dart.notNull(mask) < 0 || dart.notNull(mask) > 255) { + dart.throw(new core.RangeError.range(mask, 0, 255, "mask")); + } + _native_typed_data.NativeFloat32x4._list[$_set](0, this.x); + _native_typed_data.NativeFloat32x4._list[$_set](1, this.y); + _native_typed_data.NativeFloat32x4._list[$_set](2, this.z); + _native_typed_data.NativeFloat32x4._list[$_set](3, this.w); + let _x = _native_typed_data.NativeFloat32x4._list[$_get](dart.notNull(mask) & 3); + let _y = _native_typed_data.NativeFloat32x4._list[$_get](dart.notNull(mask) >> 2 & 3); + _native_typed_data.NativeFloat32x4._list[$_set](0, other.x); + _native_typed_data.NativeFloat32x4._list[$_set](1, other.y); + _native_typed_data.NativeFloat32x4._list[$_set](2, other.z); + _native_typed_data.NativeFloat32x4._list[$_set](3, other.w); + let _z = _native_typed_data.NativeFloat32x4._list[$_get](dart.notNull(mask) >> 4 & 3); + let _w = _native_typed_data.NativeFloat32x4._list[$_get](dart.notNull(mask) >> 6 & 3); + return new _native_typed_data.NativeFloat32x4._truncated(_x, _y, _z, _w); + } + withX(newX) { + if (newX == null) dart.nullFailed(I[58], 1345, 26, "newX"); + core.ArgumentError.checkNotNull(core.double, newX); + return new _native_typed_data.NativeFloat32x4._truncated(core.double.as(_native_typed_data.NativeFloat32x4._truncate(newX)), this.y, this.z, this.w); + } + withY(newY) { + if (newY == null) dart.nullFailed(I[58], 1351, 26, "newY"); + core.ArgumentError.checkNotNull(core.double, newY); + return new _native_typed_data.NativeFloat32x4._truncated(this.x, core.double.as(_native_typed_data.NativeFloat32x4._truncate(newY)), this.z, this.w); + } + withZ(newZ) { + if (newZ == null) dart.nullFailed(I[58], 1357, 26, "newZ"); + core.ArgumentError.checkNotNull(core.double, newZ); + return new _native_typed_data.NativeFloat32x4._truncated(this.x, this.y, core.double.as(_native_typed_data.NativeFloat32x4._truncate(newZ)), this.w); + } + withW(newW) { + if (newW == null) dart.nullFailed(I[58], 1363, 26, "newW"); + core.ArgumentError.checkNotNull(core.double, newW); + return new _native_typed_data.NativeFloat32x4._truncated(this.x, this.y, this.z, core.double.as(_native_typed_data.NativeFloat32x4._truncate(newW))); + } + min(other) { + if (other == null) dart.nullFailed(I[58], 1369, 27, "other"); + let _x = dart.notNull(this.x) < dart.notNull(other.x) ? this.x : other.x; + let _y = dart.notNull(this.y) < dart.notNull(other.y) ? this.y : other.y; + let _z = dart.notNull(this.z) < dart.notNull(other.z) ? this.z : other.z; + let _w = dart.notNull(this.w) < dart.notNull(other.w) ? this.w : other.w; + return new _native_typed_data.NativeFloat32x4._truncated(_x, _y, _z, _w); + } + max(other) { + if (other == null) dart.nullFailed(I[58], 1378, 27, "other"); + let _x = dart.notNull(this.x) > dart.notNull(other.x) ? this.x : other.x; + let _y = dart.notNull(this.y) > dart.notNull(other.y) ? this.y : other.y; + let _z = dart.notNull(this.z) > dart.notNull(other.z) ? this.z : other.z; + let _w = dart.notNull(this.w) > dart.notNull(other.w) ? this.w : other.w; + return new _native_typed_data.NativeFloat32x4._truncated(_x, _y, _z, _w); + } + sqrt() { + let _x = math.sqrt(this.x); + let _y = math.sqrt(this.y); + let _z = math.sqrt(this.z); + let _w = math.sqrt(this.w); + return new _native_typed_data.NativeFloat32x4._doubles(_x, _y, _z, _w); + } + reciprocal() { + let _x = 1.0 / dart.notNull(this.x); + let _y = 1.0 / dart.notNull(this.y); + let _z = 1.0 / dart.notNull(this.z); + let _w = 1.0 / dart.notNull(this.w); + return new _native_typed_data.NativeFloat32x4._doubles(_x, _y, _z, _w); + } + reciprocalSqrt() { + let _x = math.sqrt(1.0 / dart.notNull(this.x)); + let _y = math.sqrt(1.0 / dart.notNull(this.y)); + let _z = math.sqrt(1.0 / dart.notNull(this.z)); + let _w = math.sqrt(1.0 / dart.notNull(this.w)); + return new _native_typed_data.NativeFloat32x4._doubles(_x, _y, _z, _w); + } +}; +(_native_typed_data.NativeFloat32x4.new = function(x, y, z, w) { + if (x == null) dart.nullFailed(I[58], 1095, 26, "x"); + if (y == null) dart.nullFailed(I[58], 1095, 36, "y"); + if (z == null) dart.nullFailed(I[58], 1095, 46, "z"); + if (w == null) dart.nullFailed(I[58], 1095, 56, "w"); + this[x$] = core.double.as(_native_typed_data.NativeFloat32x4._truncate(x)); + this[y$] = core.double.as(_native_typed_data.NativeFloat32x4._truncate(y)); + this[z$] = core.double.as(_native_typed_data.NativeFloat32x4._truncate(z)); + this[w$] = core.double.as(_native_typed_data.NativeFloat32x4._truncate(w)); + if (!(typeof x == 'number')) dart.throw(new core.ArgumentError.new(x)); + if (!(typeof y == 'number')) dart.throw(new core.ArgumentError.new(y)); + if (!(typeof z == 'number')) dart.throw(new core.ArgumentError.new(z)); + if (!(typeof w == 'number')) dart.throw(new core.ArgumentError.new(w)); +}).prototype = _native_typed_data.NativeFloat32x4.prototype; +(_native_typed_data.NativeFloat32x4.splat = function(v) { + if (v == null) dart.nullFailed(I[58], 1108, 32, "v"); + _native_typed_data.NativeFloat32x4.new.call(this, v, v, v, v); +}).prototype = _native_typed_data.NativeFloat32x4.prototype; +(_native_typed_data.NativeFloat32x4.zero = function() { + _native_typed_data.NativeFloat32x4._truncated.call(this, 0.0, 0.0, 0.0, 0.0); +}).prototype = _native_typed_data.NativeFloat32x4.prototype; +(_native_typed_data.NativeFloat32x4.fromFloat64x2 = function(v) { + if (v == null) dart.nullFailed(I[58], 1120, 43, "v"); + _native_typed_data.NativeFloat32x4._truncated.call(this, core.double.as(_native_typed_data.NativeFloat32x4._truncate(v.x)), core.double.as(_native_typed_data.NativeFloat32x4._truncate(v.y)), 0.0, 0.0); +}).prototype = _native_typed_data.NativeFloat32x4.prototype; +(_native_typed_data.NativeFloat32x4._doubles = function(x, y, z, w) { + if (x == null) dart.nullFailed(I[58], 1126, 35, "x"); + if (y == null) dart.nullFailed(I[58], 1126, 45, "y"); + if (z == null) dart.nullFailed(I[58], 1126, 55, "z"); + if (w == null) dart.nullFailed(I[58], 1126, 65, "w"); + this[x$] = core.double.as(_native_typed_data.NativeFloat32x4._truncate(x)); + this[y$] = core.double.as(_native_typed_data.NativeFloat32x4._truncate(y)); + this[z$] = core.double.as(_native_typed_data.NativeFloat32x4._truncate(z)); + this[w$] = core.double.as(_native_typed_data.NativeFloat32x4._truncate(w)); + ; +}).prototype = _native_typed_data.NativeFloat32x4.prototype; +(_native_typed_data.NativeFloat32x4._truncated = function(x, y, z, w) { + if (x == null) dart.nullFailed(I[58], 1137, 35, "x"); + if (y == null) dart.nullFailed(I[58], 1137, 43, "y"); + if (z == null) dart.nullFailed(I[58], 1137, 51, "z"); + if (w == null) dart.nullFailed(I[58], 1137, 59, "w"); + this[x$] = x; + this[y$] = y; + this[z$] = z; + this[w$] = w; + ; +}).prototype = _native_typed_data.NativeFloat32x4.prototype; +dart.addTypeTests(_native_typed_data.NativeFloat32x4); +dart.addTypeCaches(_native_typed_data.NativeFloat32x4); +_native_typed_data.NativeFloat32x4[dart.implements] = () => [typed_data.Float32x4]; +dart.setMethodSignature(_native_typed_data.NativeFloat32x4, () => ({ + __proto__: dart.getMethods(_native_typed_data.NativeFloat32x4.__proto__), + '+': dart.fnType(typed_data.Float32x4, [typed_data.Float32x4]), + _negate: dart.fnType(typed_data.Float32x4, []), + '-': dart.fnType(typed_data.Float32x4, [typed_data.Float32x4]), + '*': dart.fnType(typed_data.Float32x4, [typed_data.Float32x4]), + '/': dart.fnType(typed_data.Float32x4, [typed_data.Float32x4]), + lessThan: dart.fnType(typed_data.Int32x4, [typed_data.Float32x4]), + lessThanOrEqual: dart.fnType(typed_data.Int32x4, [typed_data.Float32x4]), + greaterThan: dart.fnType(typed_data.Int32x4, [typed_data.Float32x4]), + greaterThanOrEqual: dart.fnType(typed_data.Int32x4, [typed_data.Float32x4]), + equal: dart.fnType(typed_data.Int32x4, [typed_data.Float32x4]), + notEqual: dart.fnType(typed_data.Int32x4, [typed_data.Float32x4]), + scale: dart.fnType(typed_data.Float32x4, [core.double]), + abs: dart.fnType(typed_data.Float32x4, []), + clamp: dart.fnType(typed_data.Float32x4, [typed_data.Float32x4, typed_data.Float32x4]), + shuffle: dart.fnType(typed_data.Float32x4, [core.int]), + shuffleMix: dart.fnType(typed_data.Float32x4, [typed_data.Float32x4, core.int]), + withX: dart.fnType(typed_data.Float32x4, [core.double]), + withY: dart.fnType(typed_data.Float32x4, [core.double]), + withZ: dart.fnType(typed_data.Float32x4, [core.double]), + withW: dart.fnType(typed_data.Float32x4, [core.double]), + min: dart.fnType(typed_data.Float32x4, [typed_data.Float32x4]), + max: dart.fnType(typed_data.Float32x4, [typed_data.Float32x4]), + sqrt: dart.fnType(typed_data.Float32x4, []), + reciprocal: dart.fnType(typed_data.Float32x4, []), + reciprocalSqrt: dart.fnType(typed_data.Float32x4, []) +})); +dart.setGetterSignature(_native_typed_data.NativeFloat32x4, () => ({ + __proto__: dart.getGetters(_native_typed_data.NativeFloat32x4.__proto__), + signMask: core.int +})); +dart.setLibraryUri(_native_typed_data.NativeFloat32x4, I[59]); +dart.setFieldSignature(_native_typed_data.NativeFloat32x4, () => ({ + __proto__: dart.getFields(_native_typed_data.NativeFloat32x4.__proto__), + x: dart.finalFieldType(core.double), + y: dart.finalFieldType(core.double), + z: dart.finalFieldType(core.double), + w: dart.finalFieldType(core.double) +})); +dart.defineExtensionMethods(_native_typed_data.NativeFloat32x4, ['toString']); +dart.defineLazy(_native_typed_data.NativeFloat32x4, { + /*_native_typed_data.NativeFloat32x4._list*/get _list() { + return _native_typed_data.NativeFloat32List.new(4); + }, + /*_native_typed_data.NativeFloat32x4._uint32view*/get _uint32view() { + return _native_typed_data.NativeFloat32x4._list.buffer[$asUint32List](); + } +}, false); +var x$0 = dart.privateName(_native_typed_data, "NativeInt32x4.x"); +var y$0 = dart.privateName(_native_typed_data, "NativeInt32x4.y"); +var z$0 = dart.privateName(_native_typed_data, "NativeInt32x4.z"); +var w$0 = dart.privateName(_native_typed_data, "NativeInt32x4.w"); +_native_typed_data.NativeInt32x4 = class NativeInt32x4 extends core.Object { + get x() { + return this[x$0]; + } + set x(value) { + super.x = value; + } + get y() { + return this[y$0]; + } + set y(value) { + super.y = value; + } + get z() { + return this[z$0]; + } + set z(value) { + super.z = value; + } + get w() { + return this[w$0]; + } + set w(value) { + super.w = value; + } + static _truncate(x) { + _native_typed_data.NativeInt32x4._list[$_set](0, core.int.as(x)); + return _native_typed_data.NativeInt32x4._list[$_get](0); + } + static fromFloat32x4Bits(f) { + if (f == null) dart.nullFailed(I[58], 1448, 53, "f"); + let floatList = _native_typed_data.NativeFloat32x4._list; + floatList[$_set](0, f.x); + floatList[$_set](1, f.y); + floatList[$_set](2, f.z); + floatList[$_set](3, f.w); + let view = floatList.buffer[$asInt32List](); + return new _native_typed_data.NativeInt32x4._truncated(view[$_get](0), view[$_get](1), view[$_get](2), view[$_get](3)); + } + toString() { + return "[" + dart.str(this.x) + ", " + dart.str(this.y) + ", " + dart.str(this.z) + ", " + dart.str(this.w) + "]"; + } + ['|'](other) { + if (other == null) dart.nullFailed(I[58], 1463, 30, "other"); + return new _native_typed_data.NativeInt32x4._truncated(this.x | other.x, this.y | other.y, this.z | other.z, this.w | other.w); + } + ['&'](other) { + if (other == null) dart.nullFailed(I[58], 1474, 30, "other"); + return new _native_typed_data.NativeInt32x4._truncated(this.x & other.x, this.y & other.y, this.z & other.z, this.w & other.w); + } + ['^'](other) { + if (other == null) dart.nullFailed(I[58], 1485, 30, "other"); + return new _native_typed_data.NativeInt32x4._truncated(this.x ^ other.x, this.y ^ other.y, this.z ^ other.z, this.w ^ other.w); + } + ['+'](other) { + if (other == null) dart.nullFailed(I[58], 1495, 30, "other"); + return new _native_typed_data.NativeInt32x4._truncated(this.x + other.x | 0, this.y + other.y | 0, this.z + other.z | 0, this.w + other.w | 0); + } + ['-'](other) { + if (other == null) dart.nullFailed(I[58], 1504, 30, "other"); + return new _native_typed_data.NativeInt32x4._truncated(this.x - other.x | 0, this.y - other.y | 0, this.z - other.z | 0, this.w - other.w | 0); + } + _negate() { + return new _native_typed_data.NativeInt32x4._truncated(-this.x | 0, -this.y | 0, -this.z | 0, -this.w | 0); + } + get signMask() { + let mx = (dart.notNull(this.x) & 2147483648) >>> 31; + let my = (dart.notNull(this.y) & 2147483648) >>> 31; + let mz = (dart.notNull(this.z) & 2147483648) >>> 31; + let mw = (dart.notNull(this.w) & 2147483648) >>> 31; + return (mx | my << 1 >>> 0 | mz << 2 >>> 0 | mw << 3 >>> 0) >>> 0; + } + shuffle(mask) { + if (mask == null) dart.nullFailed(I[58], 1532, 23, "mask"); + if (dart.notNull(mask) < 0 || dart.notNull(mask) > 255) { + dart.throw(new core.RangeError.range(mask, 0, 255, "mask")); + } + _native_typed_data.NativeInt32x4._list[$_set](0, this.x); + _native_typed_data.NativeInt32x4._list[$_set](1, this.y); + _native_typed_data.NativeInt32x4._list[$_set](2, this.z); + _native_typed_data.NativeInt32x4._list[$_set](3, this.w); + let _x = _native_typed_data.NativeInt32x4._list[$_get](dart.notNull(mask) & 3); + let _y = _native_typed_data.NativeInt32x4._list[$_get](dart.notNull(mask) >> 2 & 3); + let _z = _native_typed_data.NativeInt32x4._list[$_get](dart.notNull(mask) >> 4 & 3); + let _w = _native_typed_data.NativeInt32x4._list[$_get](dart.notNull(mask) >> 6 & 3); + return new _native_typed_data.NativeInt32x4._truncated(_x, _y, _z, _w); + } + shuffleMix(other, mask) { + if (other == null) dart.nullFailed(I[58], 1550, 30, "other"); + if (mask == null) dart.nullFailed(I[58], 1550, 41, "mask"); + if (dart.notNull(mask) < 0 || dart.notNull(mask) > 255) { + dart.throw(new core.RangeError.range(mask, 0, 255, "mask")); + } + _native_typed_data.NativeInt32x4._list[$_set](0, this.x); + _native_typed_data.NativeInt32x4._list[$_set](1, this.y); + _native_typed_data.NativeInt32x4._list[$_set](2, this.z); + _native_typed_data.NativeInt32x4._list[$_set](3, this.w); + let _x = _native_typed_data.NativeInt32x4._list[$_get](dart.notNull(mask) & 3); + let _y = _native_typed_data.NativeInt32x4._list[$_get](dart.notNull(mask) >> 2 & 3); + _native_typed_data.NativeInt32x4._list[$_set](0, other.x); + _native_typed_data.NativeInt32x4._list[$_set](1, other.y); + _native_typed_data.NativeInt32x4._list[$_set](2, other.z); + _native_typed_data.NativeInt32x4._list[$_set](3, other.w); + let _z = _native_typed_data.NativeInt32x4._list[$_get](dart.notNull(mask) >> 4 & 3); + let _w = _native_typed_data.NativeInt32x4._list[$_get](dart.notNull(mask) >> 6 & 3); + return new _native_typed_data.NativeInt32x4._truncated(_x, _y, _z, _w); + } + withX(x) { + if (x == null) dart.nullFailed(I[58], 1571, 21, "x"); + core.ArgumentError.checkNotNull(core.int, x); + let _x = core.int.as(_native_typed_data.NativeInt32x4._truncate(x)); + return new _native_typed_data.NativeInt32x4._truncated(_x, this.y, this.z, this.w); + } + withY(y) { + if (y == null) dart.nullFailed(I[58], 1578, 21, "y"); + core.ArgumentError.checkNotNull(core.int, y); + let _y = core.int.as(_native_typed_data.NativeInt32x4._truncate(y)); + return new _native_typed_data.NativeInt32x4._truncated(this.x, _y, this.z, this.w); + } + withZ(z) { + if (z == null) dart.nullFailed(I[58], 1585, 21, "z"); + core.ArgumentError.checkNotNull(core.int, z); + let _z = core.int.as(_native_typed_data.NativeInt32x4._truncate(z)); + return new _native_typed_data.NativeInt32x4._truncated(this.x, this.y, _z, this.w); + } + withW(w) { + if (w == null) dart.nullFailed(I[58], 1592, 21, "w"); + core.ArgumentError.checkNotNull(core.int, w); + let _w = core.int.as(_native_typed_data.NativeInt32x4._truncate(w)); + return new _native_typed_data.NativeInt32x4._truncated(this.x, this.y, this.z, _w); + } + get flagX() { + return this.x !== 0; + } + get flagY() { + return this.y !== 0; + } + get flagZ() { + return this.z !== 0; + } + get flagW() { + return this.w !== 0; + } + withFlagX(flagX) { + if (flagX == null) dart.nullFailed(I[58], 1611, 26, "flagX"); + let _x = dart.test(flagX) ? -1 : 0; + return new _native_typed_data.NativeInt32x4._truncated(_x, this.y, this.z, this.w); + } + withFlagY(flagY) { + if (flagY == null) dart.nullFailed(I[58], 1617, 26, "flagY"); + let _y = dart.test(flagY) ? -1 : 0; + return new _native_typed_data.NativeInt32x4._truncated(this.x, _y, this.z, this.w); + } + withFlagZ(flagZ) { + if (flagZ == null) dart.nullFailed(I[58], 1623, 26, "flagZ"); + let _z = dart.test(flagZ) ? -1 : 0; + return new _native_typed_data.NativeInt32x4._truncated(this.x, this.y, _z, this.w); + } + withFlagW(flagW) { + if (flagW == null) dart.nullFailed(I[58], 1629, 26, "flagW"); + let _w = dart.test(flagW) ? -1 : 0; + return new _native_typed_data.NativeInt32x4._truncated(this.x, this.y, this.z, _w); + } + select(trueValue, falseValue) { + if (trueValue == null) dart.nullFailed(I[58], 1637, 30, "trueValue"); + if (falseValue == null) dart.nullFailed(I[58], 1637, 51, "falseValue"); + let floatList = _native_typed_data.NativeFloat32x4._list; + let intView = _native_typed_data.NativeFloat32x4._uint32view; + floatList[$_set](0, trueValue.x); + floatList[$_set](1, trueValue.y); + floatList[$_set](2, trueValue.z); + floatList[$_set](3, trueValue.w); + let stx = intView[$_get](0); + let sty = intView[$_get](1); + let stz = intView[$_get](2); + let stw = intView[$_get](3); + floatList[$_set](0, falseValue.x); + floatList[$_set](1, falseValue.y); + floatList[$_set](2, falseValue.z); + floatList[$_set](3, falseValue.w); + let sfx = intView[$_get](0); + let sfy = intView[$_get](1); + let sfz = intView[$_get](2); + let sfw = intView[$_get](3); + let _x = (dart.notNull(this.x) & dart.notNull(stx) | (~dart.notNull(this.x) & dart.notNull(sfx)) >>> 0) >>> 0; + let _y = (dart.notNull(this.y) & dart.notNull(sty) | (~dart.notNull(this.y) & dart.notNull(sfy)) >>> 0) >>> 0; + let _z = (dart.notNull(this.z) & dart.notNull(stz) | (~dart.notNull(this.z) & dart.notNull(sfz)) >>> 0) >>> 0; + let _w = (dart.notNull(this.w) & dart.notNull(stw) | (~dart.notNull(this.w) & dart.notNull(sfw)) >>> 0) >>> 0; + intView[$_set](0, _x); + intView[$_set](1, _y); + intView[$_set](2, _z); + intView[$_set](3, _w); + return new _native_typed_data.NativeFloat32x4._truncated(floatList[$_get](0), floatList[$_get](1), floatList[$_get](2), floatList[$_get](3)); + } +}; +(_native_typed_data.NativeInt32x4.new = function(x, y, z, w) { + if (x == null) dart.nullFailed(I[58], 1430, 21, "x"); + if (y == null) dart.nullFailed(I[58], 1430, 28, "y"); + if (z == null) dart.nullFailed(I[58], 1430, 35, "z"); + if (w == null) dart.nullFailed(I[58], 1430, 42, "w"); + this[x$0] = core.int.as(_native_typed_data.NativeInt32x4._truncate(x)); + this[y$0] = core.int.as(_native_typed_data.NativeInt32x4._truncate(y)); + this[z$0] = core.int.as(_native_typed_data.NativeInt32x4._truncate(z)); + this[w$0] = core.int.as(_native_typed_data.NativeInt32x4._truncate(w)); + if (x != this.x && !core.int.is(x)) dart.throw(new core.ArgumentError.new(x)); + if (y != this.y && !core.int.is(y)) dart.throw(new core.ArgumentError.new(y)); + if (z != this.z && !core.int.is(z)) dart.throw(new core.ArgumentError.new(z)); + if (w != this.w && !core.int.is(w)) dart.throw(new core.ArgumentError.new(w)); +}).prototype = _native_typed_data.NativeInt32x4.prototype; +(_native_typed_data.NativeInt32x4.bool = function(x, y, z, w) { + if (x == null) dart.nullFailed(I[58], 1441, 27, "x"); + if (y == null) dart.nullFailed(I[58], 1441, 35, "y"); + if (z == null) dart.nullFailed(I[58], 1441, 43, "z"); + if (w == null) dart.nullFailed(I[58], 1441, 51, "w"); + this[x$0] = dart.test(x) ? -1 : 0; + this[y$0] = dart.test(y) ? -1 : 0; + this[z$0] = dart.test(z) ? -1 : 0; + this[w$0] = dart.test(w) ? -1 : 0; + ; +}).prototype = _native_typed_data.NativeInt32x4.prototype; +(_native_typed_data.NativeInt32x4._truncated = function(x, y, z, w) { + if (x == null) dart.nullFailed(I[58], 1458, 33, "x"); + if (y == null) dart.nullFailed(I[58], 1458, 41, "y"); + if (z == null) dart.nullFailed(I[58], 1458, 49, "z"); + if (w == null) dart.nullFailed(I[58], 1458, 57, "w"); + this[x$0] = x; + this[y$0] = y; + this[z$0] = z; + this[w$0] = w; + ; +}).prototype = _native_typed_data.NativeInt32x4.prototype; +dart.addTypeTests(_native_typed_data.NativeInt32x4); +dart.addTypeCaches(_native_typed_data.NativeInt32x4); +_native_typed_data.NativeInt32x4[dart.implements] = () => [typed_data.Int32x4]; +dart.setMethodSignature(_native_typed_data.NativeInt32x4, () => ({ + __proto__: dart.getMethods(_native_typed_data.NativeInt32x4.__proto__), + '|': dart.fnType(typed_data.Int32x4, [typed_data.Int32x4]), + '&': dart.fnType(typed_data.Int32x4, [typed_data.Int32x4]), + '^': dart.fnType(typed_data.Int32x4, [typed_data.Int32x4]), + '+': dart.fnType(typed_data.Int32x4, [typed_data.Int32x4]), + '-': dart.fnType(typed_data.Int32x4, [typed_data.Int32x4]), + _negate: dart.fnType(typed_data.Int32x4, []), + shuffle: dart.fnType(typed_data.Int32x4, [core.int]), + shuffleMix: dart.fnType(typed_data.Int32x4, [typed_data.Int32x4, core.int]), + withX: dart.fnType(typed_data.Int32x4, [core.int]), + withY: dart.fnType(typed_data.Int32x4, [core.int]), + withZ: dart.fnType(typed_data.Int32x4, [core.int]), + withW: dart.fnType(typed_data.Int32x4, [core.int]), + withFlagX: dart.fnType(typed_data.Int32x4, [core.bool]), + withFlagY: dart.fnType(typed_data.Int32x4, [core.bool]), + withFlagZ: dart.fnType(typed_data.Int32x4, [core.bool]), + withFlagW: dart.fnType(typed_data.Int32x4, [core.bool]), + select: dart.fnType(typed_data.Float32x4, [typed_data.Float32x4, typed_data.Float32x4]) +})); +dart.setGetterSignature(_native_typed_data.NativeInt32x4, () => ({ + __proto__: dart.getGetters(_native_typed_data.NativeInt32x4.__proto__), + signMask: core.int, + flagX: core.bool, + flagY: core.bool, + flagZ: core.bool, + flagW: core.bool +})); +dart.setLibraryUri(_native_typed_data.NativeInt32x4, I[59]); +dart.setFieldSignature(_native_typed_data.NativeInt32x4, () => ({ + __proto__: dart.getFields(_native_typed_data.NativeInt32x4.__proto__), + x: dart.finalFieldType(core.int), + y: dart.finalFieldType(core.int), + z: dart.finalFieldType(core.int), + w: dart.finalFieldType(core.int) +})); +dart.defineExtensionMethods(_native_typed_data.NativeInt32x4, ['toString']); +dart.defineLazy(_native_typed_data.NativeInt32x4, { + /*_native_typed_data.NativeInt32x4._list*/get _list() { + return _native_typed_data.NativeInt32List.new(4); + } +}, false); +var x$1 = dart.privateName(_native_typed_data, "NativeFloat64x2.x"); +var y$1 = dart.privateName(_native_typed_data, "NativeFloat64x2.y"); +_native_typed_data.NativeFloat64x2 = class NativeFloat64x2 extends core.Object { + get x() { + return this[x$1]; + } + set x(value) { + super.x = value; + } + get y() { + return this[y$1]; + } + set y(value) { + super.y = value; + } + toString() { + return "[" + dart.str(this.x) + ", " + dart.str(this.y) + "]"; + } + ['+'](other) { + if (other == null) dart.nullFailed(I[58], 1695, 34, "other"); + return new _native_typed_data.NativeFloat64x2._doubles(dart.notNull(this.x) + dart.notNull(other.x), dart.notNull(this.y) + dart.notNull(other.y)); + } + _negate() { + return new _native_typed_data.NativeFloat64x2._doubles(-dart.notNull(this.x), -dart.notNull(this.y)); + } + ['-'](other) { + if (other == null) dart.nullFailed(I[58], 1705, 34, "other"); + return new _native_typed_data.NativeFloat64x2._doubles(dart.notNull(this.x) - dart.notNull(other.x), dart.notNull(this.y) - dart.notNull(other.y)); + } + ['*'](other) { + if (other == null) dart.nullFailed(I[58], 1710, 34, "other"); + return new _native_typed_data.NativeFloat64x2._doubles(dart.notNull(this.x) * dart.notNull(other.x), dart.notNull(this.y) * dart.notNull(other.y)); + } + ['/'](other) { + if (other == null) dart.nullFailed(I[58], 1715, 34, "other"); + return new _native_typed_data.NativeFloat64x2._doubles(dart.notNull(this.x) / dart.notNull(other.x), dart.notNull(this.y) / dart.notNull(other.y)); + } + scale(s) { + if (s == null) dart.nullFailed(I[58], 1720, 26, "s"); + return new _native_typed_data.NativeFloat64x2._doubles(dart.notNull(this.x) * dart.notNull(s), dart.notNull(this.y) * dart.notNull(s)); + } + abs() { + return new _native_typed_data.NativeFloat64x2._doubles(this.x[$abs](), this.y[$abs]()); + } + clamp(lowerLimit, upperLimit) { + if (lowerLimit == null) dart.nullFailed(I[58], 1730, 29, "lowerLimit"); + if (upperLimit == null) dart.nullFailed(I[58], 1730, 51, "upperLimit"); + let _lx = lowerLimit.x; + let _ly = lowerLimit.y; + let _ux = upperLimit.x; + let _uy = upperLimit.y; + let _x = this.x; + let _y = this.y; + _x = dart.notNull(_x) > dart.notNull(_ux) ? _ux : _x; + _y = dart.notNull(_y) > dart.notNull(_uy) ? _uy : _y; + _x = dart.notNull(_x) < dart.notNull(_lx) ? _lx : _x; + _y = dart.notNull(_y) < dart.notNull(_ly) ? _ly : _y; + return new _native_typed_data.NativeFloat64x2._doubles(_x, _y); + } + get signMask() { + let view = _native_typed_data.NativeFloat64x2._uint32View; + _native_typed_data.NativeFloat64x2._list[$_set](0, this.x); + _native_typed_data.NativeFloat64x2._list[$_set](1, this.y); + let mx = (dart.notNull(view[$_get](1)) & 2147483648) >>> 31; + let my = (dart.notNull(view[$_get](3)) & 2147483648) >>> 31; + return (mx | my << 1 >>> 0) >>> 0; + } + withX(x) { + if (x == null) dart.nullFailed(I[58], 1756, 26, "x"); + if (!(typeof x == 'number')) dart.throw(new core.ArgumentError.new(x)); + return new _native_typed_data.NativeFloat64x2._doubles(x, this.y); + } + withY(y) { + if (y == null) dart.nullFailed(I[58], 1762, 26, "y"); + if (!(typeof y == 'number')) dart.throw(new core.ArgumentError.new(y)); + return new _native_typed_data.NativeFloat64x2._doubles(this.x, y); + } + min(other) { + if (other == null) dart.nullFailed(I[58], 1768, 27, "other"); + return new _native_typed_data.NativeFloat64x2._doubles(dart.notNull(this.x) < dart.notNull(other.x) ? this.x : other.x, dart.notNull(this.y) < dart.notNull(other.y) ? this.y : other.y); + } + max(other) { + if (other == null) dart.nullFailed(I[58], 1774, 27, "other"); + return new _native_typed_data.NativeFloat64x2._doubles(dart.notNull(this.x) > dart.notNull(other.x) ? this.x : other.x, dart.notNull(this.y) > dart.notNull(other.y) ? this.y : other.y); + } + sqrt() { + return new _native_typed_data.NativeFloat64x2._doubles(math.sqrt(this.x), math.sqrt(this.y)); + } +}; +(_native_typed_data.NativeFloat64x2.new = function(x, y) { + if (x == null) dart.nullFailed(I[58], 1678, 24, "x"); + if (y == null) dart.nullFailed(I[58], 1678, 32, "y"); + this[x$1] = x; + this[y$1] = y; + if (!(typeof this.x == 'number')) dart.throw(new core.ArgumentError.new(this.x)); + if (!(typeof this.y == 'number')) dart.throw(new core.ArgumentError.new(this.y)); +}).prototype = _native_typed_data.NativeFloat64x2.prototype; +(_native_typed_data.NativeFloat64x2.splat = function(v) { + if (v == null) dart.nullFailed(I[58], 1683, 32, "v"); + _native_typed_data.NativeFloat64x2.new.call(this, v, v); +}).prototype = _native_typed_data.NativeFloat64x2.prototype; +(_native_typed_data.NativeFloat64x2.zero = function() { + _native_typed_data.NativeFloat64x2.splat.call(this, 0.0); +}).prototype = _native_typed_data.NativeFloat64x2.prototype; +(_native_typed_data.NativeFloat64x2.fromFloat32x4 = function(v) { + if (v == null) dart.nullFailed(I[58], 1687, 43, "v"); + _native_typed_data.NativeFloat64x2.new.call(this, v.x, v.y); +}).prototype = _native_typed_data.NativeFloat64x2.prototype; +(_native_typed_data.NativeFloat64x2._doubles = function(x, y) { + if (x == null) dart.nullFailed(I[58], 1690, 33, "x"); + if (y == null) dart.nullFailed(I[58], 1690, 41, "y"); + this[x$1] = x; + this[y$1] = y; + ; +}).prototype = _native_typed_data.NativeFloat64x2.prototype; +dart.addTypeTests(_native_typed_data.NativeFloat64x2); +dart.addTypeCaches(_native_typed_data.NativeFloat64x2); +_native_typed_data.NativeFloat64x2[dart.implements] = () => [typed_data.Float64x2]; +dart.setMethodSignature(_native_typed_data.NativeFloat64x2, () => ({ + __proto__: dart.getMethods(_native_typed_data.NativeFloat64x2.__proto__), + '+': dart.fnType(typed_data.Float64x2, [typed_data.Float64x2]), + _negate: dart.fnType(typed_data.Float64x2, []), + '-': dart.fnType(typed_data.Float64x2, [typed_data.Float64x2]), + '*': dart.fnType(typed_data.Float64x2, [typed_data.Float64x2]), + '/': dart.fnType(typed_data.Float64x2, [typed_data.Float64x2]), + scale: dart.fnType(typed_data.Float64x2, [core.double]), + abs: dart.fnType(typed_data.Float64x2, []), + clamp: dart.fnType(typed_data.Float64x2, [typed_data.Float64x2, typed_data.Float64x2]), + withX: dart.fnType(typed_data.Float64x2, [core.double]), + withY: dart.fnType(typed_data.Float64x2, [core.double]), + min: dart.fnType(typed_data.Float64x2, [typed_data.Float64x2]), + max: dart.fnType(typed_data.Float64x2, [typed_data.Float64x2]), + sqrt: dart.fnType(typed_data.Float64x2, []) +})); +dart.setGetterSignature(_native_typed_data.NativeFloat64x2, () => ({ + __proto__: dart.getGetters(_native_typed_data.NativeFloat64x2.__proto__), + signMask: core.int +})); +dart.setLibraryUri(_native_typed_data.NativeFloat64x2, I[59]); +dart.setFieldSignature(_native_typed_data.NativeFloat64x2, () => ({ + __proto__: dart.getFields(_native_typed_data.NativeFloat64x2.__proto__), + x: dart.finalFieldType(core.double), + y: dart.finalFieldType(core.double) +})); +dart.defineExtensionMethods(_native_typed_data.NativeFloat64x2, ['toString']); +dart.defineLazy(_native_typed_data.NativeFloat64x2, { + /*_native_typed_data.NativeFloat64x2._list*/get _list() { + return _native_typed_data.NativeFloat64List.new(2); + }, + set _list(_) {}, + /*_native_typed_data.NativeFloat64x2._uint32View*/get _uint32View() { + return _native_typed_data.NativeFloat64x2._list.buffer[$asUint32List](); + }, + set _uint32View(_) {} +}, false); +_native_typed_data._checkLength = function _checkLength(length) { + if (!core.int.is(length)) dart.throw(new core.ArgumentError.new("Invalid length " + dart.str(length))); + return length; +}; +_native_typed_data._checkViewArguments = function _checkViewArguments(buffer, offsetInBytes, length) { + if (!_native_typed_data.NativeByteBuffer.is(buffer)) { + dart.throw(new core.ArgumentError.new("Invalid view buffer")); + } + if (!core.int.is(offsetInBytes)) { + dart.throw(new core.ArgumentError.new("Invalid view offsetInBytes " + dart.str(offsetInBytes))); + } + if (!T$.intN().is(length)) { + dart.throw(new core.ArgumentError.new("Invalid view length " + dart.str(length))); + } +}; +_native_typed_data._ensureNativeList = function _ensureNativeList(list) { + if (list == null) dart.nullFailed(I[58], 373, 29, "list"); + if (_interceptors.JSIndexable.is(list)) return list; + let result = core.List.filled(list[$length], null); + for (let i = 0; i < dart.notNull(list[$length]); i = i + 1) { + result[$_set](i, list[$_get](i)); + } + return result; +}; +_native_typed_data._isInvalidArrayIndex = function _isInvalidArrayIndex(index) { + if (index == null) dart.nullFailed(I[58], 1787, 31, "index"); + return index >>> 0 !== index; +}; +_native_typed_data._checkValidIndex = function _checkValidIndex(index, list, length) { + if (index == null) dart.nullFailed(I[58], 1794, 27, "index"); + if (list == null) dart.nullFailed(I[58], 1794, 39, "list"); + if (length == null) dart.nullFailed(I[58], 1794, 49, "length"); + if (dart.test(_native_typed_data._isInvalidArrayIndex(index)) || index >= dart.notNull(length)) { + dart.throw(_js_helper.diagnoseIndexError(list, index)); + } +}; +_native_typed_data._checkValidRange = function _checkValidRange(start, end, length) { + if (start == null) dart.nullFailed(I[58], 1807, 26, "start"); + if (length == null) dart.nullFailed(I[58], 1807, 47, "length"); + if (dart.test(_native_typed_data._isInvalidArrayIndex(start)) || (end == null ? dart.notNull(start) > dart.notNull(length) : dart.test(_native_typed_data._isInvalidArrayIndex(end)) || dart.notNull(start) > dart.notNull(end) || dart.notNull(end) > dart.notNull(length))) { + dart.throw(_js_helper.diagnoseRangeError(start, end, length)); + } + if (end == null) return length; + return end; +}; +var ___AsyncStarImpl_controller = dart.privateName(async, "_#_AsyncStarImpl#controller"); +var ___AsyncStarImpl_controller_isSet = dart.privateName(async, "_#_AsyncStarImpl#controller#isSet"); +var ___AsyncStarImpl_jsIterator = dart.privateName(async, "_#_AsyncStarImpl#jsIterator"); +var ___AsyncStarImpl_jsIterator_isSet = dart.privateName(async, "_#_AsyncStarImpl#jsIterator#isSet"); +var _handleErrorCallback = dart.privateName(async, "_handleErrorCallback"); +var _runBodyCallback = dart.privateName(async, "_runBodyCallback"); +var _chainForeignFuture = dart.privateName(async, "_chainForeignFuture"); +var _thenAwait = dart.privateName(async, "_thenAwait"); +var _fatal = dart.privateName(async, "_fatal"); +const _is__AsyncStarImpl_default = Symbol('_is__AsyncStarImpl_default'); +async._AsyncStarImpl$ = dart.generic(T => { + var StreamControllerOfT = () => (StreamControllerOfT = dart.constFn(async.StreamController$(T)))(); + var StreamOfT = () => (StreamOfT = dart.constFn(async.Stream$(T)))(); + class _AsyncStarImpl extends core.Object { + get controller() { + let t83; + return dart.test(this[___AsyncStarImpl_controller_isSet]) ? (t83 = this[___AsyncStarImpl_controller], t83) : dart.throw(new _internal.LateError.fieldNI("controller")); + } + set controller(t83) { + StreamControllerOfT().as(t83); + if (t83 == null) dart.nullFailed(I[61], 229, 28, "null"); + this[___AsyncStarImpl_controller_isSet] = true; + this[___AsyncStarImpl_controller] = t83; + } + get jsIterator() { + let t84; + return dart.test(this[___AsyncStarImpl_jsIterator_isSet]) ? (t84 = this[___AsyncStarImpl_jsIterator], t84) : dart.throw(new _internal.LateError.fieldNI("jsIterator")); + } + set jsIterator(t84) { + if (t84 == null) dart.nullFailed(I[61], 245, 15, "null"); + this[___AsyncStarImpl_jsIterator_isSet] = true; + this[___AsyncStarImpl_jsIterator] = t84; + } + get stream() { + return this.controller.stream; + } + get handleError() { + if (this[_handleErrorCallback] == null) { + this[_handleErrorCallback] = dart.fn((error, stackTrace) => { + if (error == null) dart.nullFailed(I[61], 282, 31, "error"); + if (stackTrace == null) dart.nullFailed(I[61], 282, 49, "stackTrace"); + try { + this.jsIterator.throw(dart.createErrorWithStack(error, stackTrace)); + } catch (e$) { + let e = dart.getThrown(e$); + let newStack = dart.stackTrace(e$); + if (core.Object.is(e)) { + this.addError(e, newStack); + } else + throw e$; + } + }, T$.ObjectAndStackTraceToNull()); + let zone = async.Zone.current; + if (zone != async.Zone.root) { + this[_handleErrorCallback] = zone.bindBinaryCallback(core.Null, core.Object, core.StackTrace, dart.nullCheck(this[_handleErrorCallback])); + } + } + return dart.nullCheck(this[_handleErrorCallback]); + } + scheduleGenerator() { + if (this.isScheduled || dart.test(this.controller.isPaused) || this.isSuspendedAtYieldStar) { + return; + } + this.isScheduled = true; + let zone = async.Zone.current; + if (this[_runBodyCallback] == null) { + this[_runBodyCallback] = this.runBody.bind(this); + if (zone != async.Zone.root) { + let registered = zone.registerUnaryCallback(dart.void, T$.ObjectN(), dart.nullCheck(this[_runBodyCallback])); + this[_runBodyCallback] = dart.fn((arg = null) => zone.runUnaryGuarded(T$.ObjectN(), registered, arg), T$.ObjectNTovoid$1()); + } + } + zone.scheduleMicrotask(dart.nullCheck(this[_runBodyCallback])); + } + runBody(awaitValue) { + this.isScheduled = false; + this.isSuspendedAtYield = false; + this.isSuspendedAtAwait = false; + let iterResult = null; + try { + iterResult = this.jsIterator.next(awaitValue); + } catch (e$) { + let e = dart.getThrown(e$); + let s = dart.stackTrace(e$); + if (core.Object.is(e)) { + this.addError(e, s); + return; + } else + throw e$; + } + if (iterResult.done) { + this.close(); + return; + } + if (this.isSuspendedAtYield || this.isSuspendedAtYieldStar) return; + this.isSuspendedAtAwait = true; + let value = iterResult.value; + let f = null; + if (async._Future.is(value)) { + f = value; + } else if (async.Future.is(value)) { + f = new (T$._FutureOfObjectN()).new(); + f[_chainForeignFuture](value); + } else { + f = new (T$._FutureOfObjectN()).value(value); + } + f[_thenAwait](dart.void, dart.nullCheck(this[_runBodyCallback]), this.handleError); + } + add(event) { + T.as(event); + if (!this.onListenReceived) this[_fatal]("yield before stream is listened to"); + if (this.isSuspendedAtYield) this[_fatal]("unexpected yield"); + if (!dart.test(this.controller.hasListener)) { + return true; + } + this.controller.add(event); + this.scheduleGenerator(); + this.isSuspendedAtYield = true; + return false; + } + addStream(stream) { + StreamOfT().as(stream); + if (stream == null) dart.nullFailed(I[61], 402, 28, "stream"); + if (!this.onListenReceived) this[_fatal]("yield* before stream is listened to"); + if (!dart.test(this.controller.hasListener)) return true; + this.isSuspendedAtYieldStar = true; + let whenDoneAdding = this.controller.addStream(stream, {cancelOnError: false}); + whenDoneAdding.then(core.Null, dart.fn(_ => { + this.isSuspendedAtYieldStar = false; + this.scheduleGenerator(); + if (!this.isScheduled) this.isSuspendedAtYield = true; + }, T$.dynamicToNull()), {onError: this.handleError}); + return false; + } + addError(error, stackTrace) { + if (error == null) dart.nullFailed(I[61], 416, 24, "error"); + if (stackTrace == null) dart.nullFailed(I[61], 416, 42, "stackTrace"); + core.ArgumentError.checkNotNull(core.Object, error, "error"); + let completer = this.cancellationCompleter; + if (completer != null && !dart.test(completer.isCompleted)) { + completer.completeError(error, stackTrace); + } else if (dart.test(this.controller.hasListener)) { + this.controller.addError(error, stackTrace); + } + this.close(); + } + close() { + let completer = this.cancellationCompleter; + if (completer != null && !dart.test(completer.isCompleted)) { + completer.complete(); + } + this.controller.close(); + } + onListen() { + if (!!this.onListenReceived) dart.assertFailed(null, I[61], 444, 12, "!onListenReceived"); + this.onListenReceived = true; + this.scheduleGenerator(); + } + onResume() { + if (this.isSuspendedAtYield) { + this.scheduleGenerator(); + } + } + onCancel() { + if (dart.test(this.controller.isClosed)) { + return null; + } + if (this.cancellationCompleter == null) { + this.cancellationCompleter = async.Completer.new(); + if (this.isSuspendedAtYield) { + this.scheduleGenerator(); + } + } + return dart.nullCheck(this.cancellationCompleter).future; + } + [_fatal](message) { + if (message == null) dart.nullFailed(I[61], 471, 17, "message"); + return dart.throw(new core.StateError.new(message)); + } + } + (_AsyncStarImpl.new = function(initGenerator) { + if (initGenerator == null) dart.nullFailed(I[61], 250, 23, "initGenerator"); + this[___AsyncStarImpl_controller] = null; + this[___AsyncStarImpl_controller_isSet] = false; + this.isSuspendedAtYieldStar = false; + this.onListenReceived = false; + this.isScheduled = false; + this.isSuspendedAtYield = false; + this.isSuspendedAtAwait = false; + this.cancellationCompleter = null; + this[___AsyncStarImpl_jsIterator] = null; + this[___AsyncStarImpl_jsIterator_isSet] = false; + this[_handleErrorCallback] = null; + this[_runBodyCallback] = null; + this.initGenerator = initGenerator; + this.controller = StreamControllerOfT().new({onListen: this.onListen.bind(this), onResume: this.onResume.bind(this), onCancel: this.onCancel.bind(this)}); + this.jsIterator = this.initGenerator(this)[Symbol.iterator](); + }).prototype = _AsyncStarImpl.prototype; + dart.addTypeTests(_AsyncStarImpl); + _AsyncStarImpl.prototype[_is__AsyncStarImpl_default] = true; + dart.addTypeCaches(_AsyncStarImpl); + dart.setMethodSignature(_AsyncStarImpl, () => ({ + __proto__: dart.getMethods(_AsyncStarImpl.__proto__), + scheduleGenerator: dart.fnType(dart.void, []), + runBody: dart.fnType(dart.void, [dart.dynamic]), + add: dart.fnType(core.bool, [dart.nullable(core.Object)]), + addStream: dart.fnType(core.bool, [dart.nullable(core.Object)]), + addError: dart.fnType(dart.void, [core.Object, core.StackTrace]), + close: dart.fnType(dart.void, []), + onListen: dart.fnType(dart.dynamic, []), + onResume: dart.fnType(dart.dynamic, []), + onCancel: dart.fnType(dart.dynamic, []), + [_fatal]: dart.fnType(dart.dynamic, [core.String]) + })); + dart.setGetterSignature(_AsyncStarImpl, () => ({ + __proto__: dart.getGetters(_AsyncStarImpl.__proto__), + controller: async.StreamController$(T), + jsIterator: core.Object, + stream: async.Stream$(T), + handleError: dart.fnType(core.Null, [core.Object, core.StackTrace]) + })); + dart.setSetterSignature(_AsyncStarImpl, () => ({ + __proto__: dart.getSetters(_AsyncStarImpl.__proto__), + controller: dart.nullable(core.Object), + jsIterator: core.Object + })); + dart.setLibraryUri(_AsyncStarImpl, I[29]); + dart.setFieldSignature(_AsyncStarImpl, () => ({ + __proto__: dart.getFields(_AsyncStarImpl.__proto__), + [___AsyncStarImpl_controller]: dart.fieldType(dart.nullable(async.StreamController$(T))), + [___AsyncStarImpl_controller_isSet]: dart.fieldType(core.bool), + initGenerator: dart.fieldType(dart.fnType(core.Object, [async._AsyncStarImpl$(T)])), + isSuspendedAtYieldStar: dart.fieldType(core.bool), + onListenReceived: dart.fieldType(core.bool), + isScheduled: dart.fieldType(core.bool), + isSuspendedAtYield: dart.fieldType(core.bool), + isSuspendedAtAwait: dart.fieldType(core.bool), + cancellationCompleter: dart.fieldType(dart.nullable(async.Completer)), + [___AsyncStarImpl_jsIterator]: dart.fieldType(dart.nullable(core.Object)), + [___AsyncStarImpl_jsIterator_isSet]: dart.fieldType(core.bool), + [_handleErrorCallback]: dart.fieldType(dart.nullable(dart.fnType(core.Null, [core.Object, core.StackTrace]))), + [_runBodyCallback]: dart.fieldType(dart.nullable(dart.fnType(dart.void, [], [dart.nullable(core.Object)]))) + })); + return _AsyncStarImpl; +}); +async._AsyncStarImpl = async._AsyncStarImpl$(); +dart.addTypeTests(async._AsyncStarImpl, _is__AsyncStarImpl_default); +var error$ = dart.privateName(async, "AsyncError.error"); +var stackTrace$ = dart.privateName(async, "AsyncError.stackTrace"); +async.AsyncError = class AsyncError extends core.Object { + get error() { + return this[error$]; + } + set error(value) { + super.error = value; + } + get stackTrace() { + return this[stackTrace$]; + } + set stackTrace(value) { + super.stackTrace = value; + } + static defaultStackTrace(error) { + if (error == null) dart.nullFailed(I[62], 24, 46, "error"); + if (core.Error.is(error)) { + let stackTrace = error[$stackTrace]; + if (stackTrace != null) return stackTrace; + } + return core.StackTrace.empty; + } + toString() { + return dart.str(this.error); + } +}; +(async.AsyncError.new = function(error, stackTrace) { + let t87; + if (error == null) dart.nullFailed(I[62], 15, 21, "error"); + this[error$] = _internal.checkNotNullable(core.Object, error, "error"); + this[stackTrace$] = (t87 = stackTrace, t87 == null ? async.AsyncError.defaultStackTrace(error) : t87); + ; +}).prototype = async.AsyncError.prototype; +dart.addTypeTests(async.AsyncError); +dart.addTypeCaches(async.AsyncError); +async.AsyncError[dart.implements] = () => [core.Error]; +dart.setLibraryUri(async.AsyncError, I[29]); +dart.setFieldSignature(async.AsyncError, () => ({ + __proto__: dart.getFields(async.AsyncError.__proto__), + error: dart.finalFieldType(core.Object), + stackTrace: dart.finalFieldType(core.StackTrace) +})); +dart.defineExtensionMethods(async.AsyncError, ['toString']); +dart.defineExtensionAccessors(async.AsyncError, ['stackTrace']); +var _controller$ = dart.privateName(async, "_controller"); +var _subscribe = dart.privateName(async, "_subscribe"); +var _createSubscription = dart.privateName(async, "_createSubscription"); +var _onListen$ = dart.privateName(async, "_onListen"); +const _is__StreamImpl_default = Symbol('_is__StreamImpl_default'); +async._StreamImpl$ = dart.generic(T => { + var _BufferingStreamSubscriptionOfT = () => (_BufferingStreamSubscriptionOfT = dart.constFn(async._BufferingStreamSubscription$(T)))(); + class _StreamImpl extends async.Stream$(T) { + listen(onData, opts) { + let onError = opts && 'onError' in opts ? opts.onError : null; + let onDone = opts && 'onDone' in opts ? opts.onDone : null; + let cancelOnError = opts && 'cancelOnError' in opts ? opts.cancelOnError : null; + cancelOnError == null ? cancelOnError = false : null; + let subscription = this[_createSubscription](onData, onError, onDone, cancelOnError); + this[_onListen$](subscription); + return subscription; + } + [_createSubscription](onData, onError, onDone, cancelOnError) { + if (cancelOnError == null) dart.nullFailed(I[65], 481, 47, "cancelOnError"); + return new (_BufferingStreamSubscriptionOfT()).new(onData, onError, onDone, cancelOnError); + } + [_onListen$](subscription) { + if (subscription == null) dart.nullFailed(I[65], 487, 37, "subscription"); + } + } + (_StreamImpl.new = function() { + _StreamImpl.__proto__.new.call(this); + ; + }).prototype = _StreamImpl.prototype; + dart.addTypeTests(_StreamImpl); + _StreamImpl.prototype[_is__StreamImpl_default] = true; + dart.addTypeCaches(_StreamImpl); + dart.setMethodSignature(_StreamImpl, () => ({ + __proto__: dart.getMethods(_StreamImpl.__proto__), + listen: dart.fnType(async.StreamSubscription$(T), [dart.nullable(dart.fnType(dart.void, [T]))], {cancelOnError: dart.nullable(core.bool), onDone: dart.nullable(dart.fnType(dart.void, [])), onError: dart.nullable(core.Function)}, {}), + [_createSubscription]: dart.fnType(async.StreamSubscription$(T), [dart.nullable(dart.fnType(dart.void, [T])), dart.nullable(core.Function), dart.nullable(dart.fnType(dart.void, [])), core.bool]), + [_onListen$]: dart.fnType(dart.void, [async.StreamSubscription]) + })); + dart.setLibraryUri(_StreamImpl, I[29]); + return _StreamImpl; +}); +async._StreamImpl = async._StreamImpl$(); +dart.addTypeTests(async._StreamImpl, _is__StreamImpl_default); +const _is__ControllerStream_default = Symbol('_is__ControllerStream_default'); +async._ControllerStream$ = dart.generic(T => { + class _ControllerStream extends async._StreamImpl$(T) { + [_createSubscription](onData, onError, onDone, cancelOnError) { + if (cancelOnError == null) dart.nullFailed(I[64], 785, 51, "cancelOnError"); + return this[_controller$][_subscribe](onData, onError, onDone, cancelOnError); + } + get hashCode() { + return (dart.notNull(dart.hashCode(this[_controller$])) ^ 892482866) >>> 0; + } + _equals(other) { + if (other == null) return false; + if (this === other) return true; + return async._ControllerStream.is(other) && other[_controller$] == this[_controller$]; + } + } + (_ControllerStream.new = function(_controller) { + if (_controller == null) dart.nullFailed(I[64], 782, 26, "_controller"); + this[_controller$] = _controller; + _ControllerStream.__proto__.new.call(this); + ; + }).prototype = _ControllerStream.prototype; + dart.addTypeTests(_ControllerStream); + _ControllerStream.prototype[_is__ControllerStream_default] = true; + dart.addTypeCaches(_ControllerStream); + dart.setLibraryUri(_ControllerStream, I[29]); + dart.setFieldSignature(_ControllerStream, () => ({ + __proto__: dart.getFields(_ControllerStream.__proto__), + [_controller$]: dart.fieldType(async._StreamControllerLifecycle$(T)) + })); + dart.defineExtensionMethods(_ControllerStream, ['_equals']); + dart.defineExtensionAccessors(_ControllerStream, ['hashCode']); + return _ControllerStream; +}); +async._ControllerStream = async._ControllerStream$(); +dart.addTypeTests(async._ControllerStream, _is__ControllerStream_default); +const _is__BroadcastStream_default = Symbol('_is__BroadcastStream_default'); +async._BroadcastStream$ = dart.generic(T => { + class _BroadcastStream extends async._ControllerStream$(T) { + get isBroadcast() { + return true; + } + } + (_BroadcastStream.new = function(controller) { + if (controller == null) dart.nullFailed(I[63], 8, 50, "controller"); + _BroadcastStream.__proto__.new.call(this, controller); + ; + }).prototype = _BroadcastStream.prototype; + dart.addTypeTests(_BroadcastStream); + _BroadcastStream.prototype[_is__BroadcastStream_default] = true; + dart.addTypeCaches(_BroadcastStream); + dart.setLibraryUri(_BroadcastStream, I[29]); + return _BroadcastStream; +}); +async._BroadcastStream = async._BroadcastStream$(); +dart.addTypeTests(async._BroadcastStream, _is__BroadcastStream_default); +var _next$0 = dart.privateName(async, "_BroadcastSubscription._next"); +var _previous$0 = dart.privateName(async, "_BroadcastSubscription._previous"); +var _eventState = dart.privateName(async, "_eventState"); +var _next$1 = dart.privateName(async, "_next"); +var _previous$1 = dart.privateName(async, "_previous"); +var _expectsEvent = dart.privateName(async, "_expectsEvent"); +var _toggleEventId = dart.privateName(async, "_toggleEventId"); +var _isFiring = dart.privateName(async, "_isFiring"); +var _setRemoveAfterFiring = dart.privateName(async, "_setRemoveAfterFiring"); +var _removeAfterFiring = dart.privateName(async, "_removeAfterFiring"); +var _onPause = dart.privateName(async, "_onPause"); +var _onResume = dart.privateName(async, "_onResume"); +var _recordCancel = dart.privateName(async, "_recordCancel"); +var _onCancel = dart.privateName(async, "_onCancel"); +var _recordPause = dart.privateName(async, "_recordPause"); +var _recordResume = dart.privateName(async, "_recordResume"); +var _cancelFuture = dart.privateName(async, "_cancelFuture"); +var _pending$ = dart.privateName(async, "_pending"); +var _zone$ = dart.privateName(async, "_zone"); +var _state = dart.privateName(async, "_state"); +var _onData$ = dart.privateName(async, "_onData"); +var _onError = dart.privateName(async, "_onError"); +var _onDone$ = dart.privateName(async, "_onDone"); +var _setPendingEvents = dart.privateName(async, "_setPendingEvents"); +var _isCanceled = dart.privateName(async, "_isCanceled"); +var _isPaused = dart.privateName(async, "_isPaused"); +var _isInputPaused = dart.privateName(async, "_isInputPaused"); +var _inCallback = dart.privateName(async, "_inCallback"); +var _guardCallback = dart.privateName(async, "_guardCallback"); +var _decrementPauseCount = dart.privateName(async, "_decrementPauseCount"); +var _hasPending = dart.privateName(async, "_hasPending"); +var _mayResumeInput = dart.privateName(async, "_mayResumeInput"); +var _cancel = dart.privateName(async, "_cancel"); +var _isClosed = dart.privateName(async, "_isClosed"); +var _waitsForCancel = dart.privateName(async, "_waitsForCancel"); +var _canFire = dart.privateName(async, "_canFire"); +var _cancelOnError = dart.privateName(async, "_cancelOnError"); +var _sendData = dart.privateName(async, "_sendData"); +var _addPending = dart.privateName(async, "_addPending"); +var _sendError = dart.privateName(async, "_sendError"); +var _sendDone = dart.privateName(async, "_sendDone"); +var _close = dart.privateName(async, "_close"); +var _checkState = dart.privateName(async, "_checkState"); +const _is__BufferingStreamSubscription_default = Symbol('_is__BufferingStreamSubscription_default'); +async._BufferingStreamSubscription$ = dart.generic(T => { + var _PendingEventsOfT = () => (_PendingEventsOfT = dart.constFn(async._PendingEvents$(T)))(); + var _PendingEventsNOfT = () => (_PendingEventsNOfT = dart.constFn(dart.nullable(_PendingEventsOfT())))(); + var _DelayedDataOfT = () => (_DelayedDataOfT = dart.constFn(async._DelayedData$(T)))(); + var _StreamImplEventsOfT = () => (_StreamImplEventsOfT = dart.constFn(async._StreamImplEvents$(T)))(); + var _StreamImplEventsNOfT = () => (_StreamImplEventsNOfT = dart.constFn(dart.nullable(_StreamImplEventsOfT())))(); + class _BufferingStreamSubscription extends core.Object { + [_setPendingEvents](pendingEvents) { + _PendingEventsNOfT().as(pendingEvents); + if (!(this[_pending$] == null)) dart.assertFailed(null, I[65], 117, 12, "_pending == null"); + if (pendingEvents == null) return; + this[_pending$] = pendingEvents; + if (!dart.test(pendingEvents.isEmpty)) { + this[_state] = (dart.notNull(this[_state]) | 64) >>> 0; + pendingEvents.schedule(this); + } + } + onData(handleData) { + this[_onData$] = async._BufferingStreamSubscription._registerDataHandler(T, this[_zone$], handleData); + } + static _registerDataHandler(T, zone, handleData) { + let t87; + if (zone == null) dart.nullFailed(I[65], 133, 12, "zone"); + return zone.registerUnaryCallback(dart.void, T, (t87 = handleData, t87 == null ? C[37] || CT.C37 : t87)); + } + onError(handleError) { + this[_onError] = async._BufferingStreamSubscription._registerErrorHandler(this[_zone$], handleError); + } + static _registerErrorHandler(zone, handleError) { + if (zone == null) dart.nullFailed(I[65], 141, 46, "zone"); + handleError == null ? handleError = C[38] || CT.C38 : null; + if (T$.ObjectAndStackTraceTovoid().is(handleError)) { + return zone.registerBinaryCallback(dart.dynamic, core.Object, core.StackTrace, handleError); + } + if (T$.ObjectTovoid().is(handleError)) { + return zone.registerUnaryCallback(dart.dynamic, core.Object, handleError); + } + dart.throw(new core.ArgumentError.new("handleError callback must take either an Object " + "(the error), or both an Object (the error) and a StackTrace.")); + } + onDone(handleDone) { + this[_onDone$] = async._BufferingStreamSubscription._registerDoneHandler(this[_zone$], handleDone); + } + static _registerDoneHandler(zone, handleDone) { + let t87; + if (zone == null) dart.nullFailed(I[65], 160, 12, "zone"); + return zone.registerCallback(dart.void, (t87 = handleDone, t87 == null ? C[39] || CT.C39 : t87)); + } + pause(resumeSignal = null) { + let t87, t87$; + if (dart.test(this[_isCanceled])) return; + let wasPaused = this[_isPaused]; + let wasInputPaused = this[_isInputPaused]; + this[_state] = (dart.notNull(this[_state]) + 128 | 4) >>> 0; + t87 = resumeSignal; + t87 == null ? null : t87.whenComplete(dart.bind(this, 'resume')); + if (!dart.test(wasPaused)) { + t87$ = this[_pending$]; + t87$ == null ? null : t87$.cancelSchedule(); + } + if (!dart.test(wasInputPaused) && !dart.test(this[_inCallback])) this[_guardCallback](dart.bind(this, _onPause)); + } + resume() { + if (dart.test(this[_isCanceled])) return; + if (dart.test(this[_isPaused])) { + this[_decrementPauseCount](); + if (!dart.test(this[_isPaused])) { + if (dart.test(this[_hasPending]) && !dart.test(dart.nullCheck(this[_pending$]).isEmpty)) { + dart.nullCheck(this[_pending$]).schedule(this); + } else { + if (!dart.test(this[_mayResumeInput])) dart.assertFailed(null, I[65], 184, 18, "_mayResumeInput"); + this[_state] = (dart.notNull(this[_state]) & ~4 >>> 0) >>> 0; + if (!dart.test(this[_inCallback])) this[_guardCallback](dart.bind(this, _onResume)); + } + } + } + } + cancel() { + let t87; + this[_state] = (dart.notNull(this[_state]) & ~16 >>> 0) >>> 0; + if (!dart.test(this[_isCanceled])) { + this[_cancel](); + } + t87 = this[_cancelFuture]; + return t87 == null ? async.Future._nullFuture : t87; + } + asFuture(E, futureValue = null) { + let resultValue = null; + if (futureValue == null) { + if (!dart.test(_internal.typeAcceptsNull(E))) { + dart.throw(new core.ArgumentError.notNull("futureValue")); + } + resultValue = E.as(futureValue); + } else { + resultValue = futureValue; + } + let result = new (async._Future$(E)).new(); + this[_onDone$] = dart.fn(() => { + result[_complete](resultValue); + }, T$.VoidTovoid()); + this[_onError] = dart.fn((error, stackTrace) => { + if (error == null) dart.nullFailed(I[65], 218, 24, "error"); + if (stackTrace == null) dart.nullFailed(I[65], 218, 42, "stackTrace"); + let cancelFuture = this.cancel(); + if (cancelFuture != async.Future._nullFuture) { + cancelFuture.whenComplete(dart.fn(() => { + result[_completeError](error, stackTrace); + }, T$.VoidToNull())); + } else { + result[_completeError](error, stackTrace); + } + }, T$.ObjectAndStackTraceToNull()); + return result; + } + get [_isInputPaused]() { + return (dart.notNull(this[_state]) & 4) !== 0; + } + get [_isClosed]() { + return (dart.notNull(this[_state]) & 2) !== 0; + } + get [_isCanceled]() { + return (dart.notNull(this[_state]) & 8) !== 0; + } + get [_waitsForCancel]() { + return (dart.notNull(this[_state]) & 16) !== 0; + } + get [_inCallback]() { + return (dart.notNull(this[_state]) & 32) !== 0; + } + get [_hasPending]() { + return (dart.notNull(this[_state]) & 64) !== 0; + } + get [_isPaused]() { + return dart.notNull(this[_state]) >= 128; + } + get [_canFire]() { + return dart.notNull(this[_state]) < 32; + } + get [_mayResumeInput]() { + let t87, t87$; + return !dart.test(this[_isPaused]) && dart.test((t87$ = (t87 = this[_pending$], t87 == null ? null : t87.isEmpty), t87$ == null ? true : t87$)); + } + get [_cancelOnError]() { + return (dart.notNull(this[_state]) & 1) !== 0; + } + get isPaused() { + return this[_isPaused]; + } + [_cancel]() { + this[_state] = (dart.notNull(this[_state]) | 8) >>> 0; + if (dart.test(this[_hasPending])) { + dart.nullCheck(this[_pending$]).cancelSchedule(); + } + if (!dart.test(this[_inCallback])) this[_pending$] = null; + this[_cancelFuture] = this[_onCancel](); + } + [_decrementPauseCount]() { + if (!dart.test(this[_isPaused])) dart.assertFailed(null, I[65], 261, 12, "_isPaused"); + this[_state] = dart.notNull(this[_state]) - 128; + } + [_add](data) { + T.as(data); + if (!!dart.test(this[_isClosed])) dart.assertFailed(null, I[65], 268, 12, "!_isClosed"); + if (dart.test(this[_isCanceled])) return; + if (dart.test(this[_canFire])) { + this[_sendData](data); + } else { + this[_addPending](new (_DelayedDataOfT()).new(data)); + } + } + [_addError](error, stackTrace) { + if (error == null) dart.nullFailed(I[65], 277, 25, "error"); + if (stackTrace == null) dart.nullFailed(I[65], 277, 43, "stackTrace"); + if (dart.test(this[_isCanceled])) return; + if (dart.test(this[_canFire])) { + this[_sendError](error, stackTrace); + } else { + this[_addPending](new async._DelayedError.new(error, stackTrace)); + } + } + [_close]() { + if (!!dart.test(this[_isClosed])) dart.assertFailed(null, I[65], 287, 12, "!_isClosed"); + if (dart.test(this[_isCanceled])) return; + this[_state] = (dart.notNull(this[_state]) | 2) >>> 0; + if (dart.test(this[_canFire])) { + this[_sendDone](); + } else { + this[_addPending](C[40] || CT.C40); + } + } + [_onPause]() { + if (!dart.test(this[_isInputPaused])) dart.assertFailed(null, I[65], 302, 12, "_isInputPaused"); + } + [_onResume]() { + if (!!dart.test(this[_isInputPaused])) dart.assertFailed(null, I[65], 306, 12, "!_isInputPaused"); + } + [_onCancel]() { + if (!dart.test(this[_isCanceled])) dart.assertFailed(null, I[65], 310, 12, "_isCanceled"); + return null; + } + [_addPending](event) { + if (event == null) dart.nullFailed(I[65], 320, 34, "event"); + let pending = _StreamImplEventsNOfT().as(this[_pending$]); + pending == null ? pending = new (_StreamImplEventsOfT()).new() : null; + this[_pending$] = pending; + pending.add(event); + if (!dart.test(this[_hasPending])) { + this[_state] = (dart.notNull(this[_state]) | 64) >>> 0; + if (!dart.test(this[_isPaused])) { + pending.schedule(this); + } + } + } + [_sendData](data) { + if (!!dart.test(this[_isCanceled])) dart.assertFailed(null, I[65], 336, 12, "!_isCanceled"); + if (!!dart.test(this[_isPaused])) dart.assertFailed(null, I[65], 337, 12, "!_isPaused"); + if (!!dart.test(this[_inCallback])) dart.assertFailed(null, I[65], 338, 12, "!_inCallback"); + let wasInputPaused = this[_isInputPaused]; + this[_state] = (dart.notNull(this[_state]) | 32) >>> 0; + this[_zone$].runUnaryGuarded(T, this[_onData$], data); + this[_state] = (dart.notNull(this[_state]) & ~32 >>> 0) >>> 0; + this[_checkState](wasInputPaused); + } + [_sendError](error, stackTrace) { + if (error == null) dart.nullFailed(I[65], 346, 26, "error"); + if (stackTrace == null) dart.nullFailed(I[65], 346, 44, "stackTrace"); + if (!!dart.test(this[_isCanceled])) dart.assertFailed(null, I[65], 347, 12, "!_isCanceled"); + if (!!dart.test(this[_isPaused])) dart.assertFailed(null, I[65], 348, 12, "!_isPaused"); + if (!!dart.test(this[_inCallback])) dart.assertFailed(null, I[65], 349, 12, "!_inCallback"); + let wasInputPaused = this[_isInputPaused]; + const sendError = () => { + if (dart.test(this[_isCanceled]) && !dart.test(this[_waitsForCancel])) return; + this[_state] = (dart.notNull(this[_state]) | 32) >>> 0; + let onError = this[_onError]; + if (T$.ObjectAndStackTraceTovoid().is(onError)) { + this[_zone$].runBinaryGuarded(core.Object, core.StackTrace, onError, error, stackTrace); + } else { + this[_zone$].runUnaryGuarded(core.Object, T$.ObjectTovoid().as(this[_onError]), error); + } + this[_state] = (dart.notNull(this[_state]) & ~32 >>> 0) >>> 0; + }; + dart.fn(sendError, T$.VoidTovoid()); + if (dart.test(this[_cancelOnError])) { + this[_state] = (dart.notNull(this[_state]) | 16) >>> 0; + this[_cancel](); + let cancelFuture = this[_cancelFuture]; + if (cancelFuture != null && cancelFuture != async.Future._nullFuture) { + cancelFuture.whenComplete(sendError); + } else { + sendError(); + } + } else { + sendError(); + this[_checkState](wasInputPaused); + } + } + [_sendDone]() { + if (!!dart.test(this[_isCanceled])) dart.assertFailed(null, I[65], 385, 12, "!_isCanceled"); + if (!!dart.test(this[_isPaused])) dart.assertFailed(null, I[65], 386, 12, "!_isPaused"); + if (!!dart.test(this[_inCallback])) dart.assertFailed(null, I[65], 387, 12, "!_inCallback"); + const sendDone = () => { + if (!dart.test(this[_waitsForCancel])) return; + this[_state] = (dart.notNull(this[_state]) | (8 | 2 | 32) >>> 0) >>> 0; + this[_zone$].runGuarded(this[_onDone$]); + this[_state] = (dart.notNull(this[_state]) & ~32 >>> 0) >>> 0; + }; + dart.fn(sendDone, T$.VoidTovoid()); + this[_cancel](); + this[_state] = (dart.notNull(this[_state]) | 16) >>> 0; + let cancelFuture = this[_cancelFuture]; + if (cancelFuture != null && cancelFuture != async.Future._nullFuture) { + cancelFuture.whenComplete(sendDone); + } else { + sendDone(); + } + } + [_guardCallback](callback) { + if (callback == null) dart.nullFailed(I[65], 413, 39, "callback"); + if (!!dart.test(this[_inCallback])) dart.assertFailed(null, I[65], 414, 12, "!_inCallback"); + let wasInputPaused = this[_isInputPaused]; + this[_state] = (dart.notNull(this[_state]) | 32) >>> 0; + callback(); + this[_state] = (dart.notNull(this[_state]) & ~32 >>> 0) >>> 0; + this[_checkState](wasInputPaused); + } + [_checkState](wasInputPaused) { + if (wasInputPaused == null) dart.nullFailed(I[65], 430, 25, "wasInputPaused"); + if (!!dart.test(this[_inCallback])) dart.assertFailed(null, I[65], 431, 12, "!_inCallback"); + if (dart.test(this[_hasPending]) && dart.test(dart.nullCheck(this[_pending$]).isEmpty)) { + this[_state] = (dart.notNull(this[_state]) & ~64 >>> 0) >>> 0; + if (dart.test(this[_isInputPaused]) && dart.test(this[_mayResumeInput])) { + this[_state] = (dart.notNull(this[_state]) & ~4 >>> 0) >>> 0; + } + } + while (true) { + if (dart.test(this[_isCanceled])) { + this[_pending$] = null; + return; + } + let isInputPaused = this[_isInputPaused]; + if (wasInputPaused == isInputPaused) break; + this[_state] = (dart.notNull(this[_state]) ^ 32) >>> 0; + if (dart.test(isInputPaused)) { + this[_onPause](); + } else { + this[_onResume](); + } + this[_state] = (dart.notNull(this[_state]) & ~32 >>> 0) >>> 0; + wasInputPaused = isInputPaused; + } + if (dart.test(this[_hasPending]) && !dart.test(this[_isPaused])) { + dart.nullCheck(this[_pending$]).schedule(this); + } + } + } + (_BufferingStreamSubscription.new = function(onData, onError, onDone, cancelOnError) { + if (cancelOnError == null) dart.nullFailed(I[65], 102, 28, "cancelOnError"); + _BufferingStreamSubscription.zoned.call(this, async.Zone.current, onData, onError, onDone, cancelOnError); + }).prototype = _BufferingStreamSubscription.prototype; + (_BufferingStreamSubscription.zoned = function(_zone, onData, onError, onDone, cancelOnError) { + if (_zone == null) dart.nullFailed(I[65], 105, 43, "_zone"); + if (cancelOnError == null) dart.nullFailed(I[65], 106, 47, "cancelOnError"); + this[_cancelFuture] = null; + this[_pending$] = null; + this[_zone$] = _zone; + this[_state] = dart.test(cancelOnError) ? 1 : 0; + this[_onData$] = async._BufferingStreamSubscription._registerDataHandler(T, _zone, onData); + this[_onError] = async._BufferingStreamSubscription._registerErrorHandler(_zone, onError); + this[_onDone$] = async._BufferingStreamSubscription._registerDoneHandler(_zone, onDone); + ; + }).prototype = _BufferingStreamSubscription.prototype; + _BufferingStreamSubscription.prototype[dart.isStreamSubscription] = true; + dart.addTypeTests(_BufferingStreamSubscription); + _BufferingStreamSubscription.prototype[_is__BufferingStreamSubscription_default] = true; + dart.addTypeCaches(_BufferingStreamSubscription); + _BufferingStreamSubscription[dart.implements] = () => [async.StreamSubscription$(T), async._EventSink$(T), async._EventDispatch$(T)]; + dart.setMethodSignature(_BufferingStreamSubscription, () => ({ + __proto__: dart.getMethods(_BufferingStreamSubscription.__proto__), + [_setPendingEvents]: dart.fnType(dart.void, [dart.nullable(core.Object)]), + onData: dart.fnType(dart.void, [dart.nullable(dart.fnType(dart.void, [T]))]), + onError: dart.fnType(dart.void, [dart.nullable(core.Function)]), + onDone: dart.fnType(dart.void, [dart.nullable(dart.fnType(dart.void, []))]), + pause: dart.fnType(dart.void, [], [dart.nullable(async.Future$(dart.void))]), + resume: dart.fnType(dart.void, []), + cancel: dart.fnType(async.Future, []), + asFuture: dart.gFnType(E => [async.Future$(E), [], [dart.nullable(E)]], E => [dart.nullable(core.Object)]), + [_cancel]: dart.fnType(dart.void, []), + [_decrementPauseCount]: dart.fnType(dart.void, []), + [_add]: dart.fnType(dart.void, [dart.nullable(core.Object)]), + [_addError]: dart.fnType(dart.void, [core.Object, core.StackTrace]), + [_close]: dart.fnType(dart.void, []), + [_onPause]: dart.fnType(dart.void, []), + [_onResume]: dart.fnType(dart.void, []), + [_onCancel]: dart.fnType(dart.nullable(async.Future$(dart.void)), []), + [_addPending]: dart.fnType(dart.void, [async._DelayedEvent]), + [_sendData]: dart.fnType(dart.void, [T]), + [_sendError]: dart.fnType(dart.void, [core.Object, core.StackTrace]), + [_sendDone]: dart.fnType(dart.void, []), + [_guardCallback]: dart.fnType(dart.void, [dart.fnType(dart.void, [])]), + [_checkState]: dart.fnType(dart.void, [core.bool]) + })); + dart.setGetterSignature(_BufferingStreamSubscription, () => ({ + __proto__: dart.getGetters(_BufferingStreamSubscription.__proto__), + [_isInputPaused]: core.bool, + [_isClosed]: core.bool, + [_isCanceled]: core.bool, + [_waitsForCancel]: core.bool, + [_inCallback]: core.bool, + [_hasPending]: core.bool, + [_isPaused]: core.bool, + [_canFire]: core.bool, + [_mayResumeInput]: core.bool, + [_cancelOnError]: core.bool, + isPaused: core.bool + })); + dart.setLibraryUri(_BufferingStreamSubscription, I[29]); + dart.setFieldSignature(_BufferingStreamSubscription, () => ({ + __proto__: dart.getFields(_BufferingStreamSubscription.__proto__), + [_onData$]: dart.fieldType(dart.fnType(dart.void, [T])), + [_onError]: dart.fieldType(core.Function), + [_onDone$]: dart.fieldType(dart.fnType(dart.void, [])), + [_zone$]: dart.finalFieldType(async.Zone), + [_state]: dart.fieldType(core.int), + [_cancelFuture]: dart.fieldType(dart.nullable(async.Future)), + [_pending$]: dart.fieldType(dart.nullable(async._PendingEvents$(T))) + })); + return _BufferingStreamSubscription; +}); +async._BufferingStreamSubscription = async._BufferingStreamSubscription$(); +dart.defineLazy(async._BufferingStreamSubscription, { + /*async._BufferingStreamSubscription._STATE_CANCEL_ON_ERROR*/get _STATE_CANCEL_ON_ERROR() { + return 1; + }, + /*async._BufferingStreamSubscription._STATE_CLOSED*/get _STATE_CLOSED() { + return 2; + }, + /*async._BufferingStreamSubscription._STATE_INPUT_PAUSED*/get _STATE_INPUT_PAUSED() { + return 4; + }, + /*async._BufferingStreamSubscription._STATE_CANCELED*/get _STATE_CANCELED() { + return 8; + }, + /*async._BufferingStreamSubscription._STATE_WAIT_FOR_CANCEL*/get _STATE_WAIT_FOR_CANCEL() { + return 16; + }, + /*async._BufferingStreamSubscription._STATE_IN_CALLBACK*/get _STATE_IN_CALLBACK() { + return 32; + }, + /*async._BufferingStreamSubscription._STATE_HAS_PENDING*/get _STATE_HAS_PENDING() { + return 64; + }, + /*async._BufferingStreamSubscription._STATE_PAUSE_COUNT*/get _STATE_PAUSE_COUNT() { + return 128; + } +}, false); +dart.addTypeTests(async._BufferingStreamSubscription, _is__BufferingStreamSubscription_default); +const _is__ControllerSubscription_default = Symbol('_is__ControllerSubscription_default'); +async._ControllerSubscription$ = dart.generic(T => { + class _ControllerSubscription extends async._BufferingStreamSubscription$(T) { + [_onCancel]() { + return this[_controller$][_recordCancel](this); + } + [_onPause]() { + this[_controller$][_recordPause](this); + } + [_onResume]() { + this[_controller$][_recordResume](this); + } + } + (_ControllerSubscription.new = function(_controller, onData, onError, onDone, cancelOnError) { + if (_controller == null) dart.nullFailed(I[64], 804, 32, "_controller"); + if (cancelOnError == null) dart.nullFailed(I[64], 805, 47, "cancelOnError"); + this[_controller$] = _controller; + _ControllerSubscription.__proto__.new.call(this, onData, onError, onDone, cancelOnError); + ; + }).prototype = _ControllerSubscription.prototype; + dart.addTypeTests(_ControllerSubscription); + _ControllerSubscription.prototype[_is__ControllerSubscription_default] = true; + dart.addTypeCaches(_ControllerSubscription); + dart.setLibraryUri(_ControllerSubscription, I[29]); + dart.setFieldSignature(_ControllerSubscription, () => ({ + __proto__: dart.getFields(_ControllerSubscription.__proto__), + [_controller$]: dart.finalFieldType(async._StreamControllerLifecycle$(T)) + })); + return _ControllerSubscription; +}); +async._ControllerSubscription = async._ControllerSubscription$(); +dart.addTypeTests(async._ControllerSubscription, _is__ControllerSubscription_default); +const _is__BroadcastSubscription_default = Symbol('_is__BroadcastSubscription_default'); +async._BroadcastSubscription$ = dart.generic(T => { + var _BroadcastSubscriptionOfT = () => (_BroadcastSubscriptionOfT = dart.constFn(async._BroadcastSubscription$(T)))(); + var _BroadcastSubscriptionNOfT = () => (_BroadcastSubscriptionNOfT = dart.constFn(dart.nullable(_BroadcastSubscriptionOfT())))(); + class _BroadcastSubscription extends async._ControllerSubscription$(T) { + get [_next$1]() { + return this[_next$0]; + } + set [_next$1](value) { + this[_next$0] = _BroadcastSubscriptionNOfT().as(value); + } + get [_previous$1]() { + return this[_previous$0]; + } + set [_previous$1](value) { + this[_previous$0] = _BroadcastSubscriptionNOfT().as(value); + } + [_expectsEvent](eventId) { + if (eventId == null) dart.nullFailed(I[63], 36, 26, "eventId"); + return (dart.notNull(this[_eventState]) & 1) >>> 0 === eventId; + } + [_toggleEventId]() { + this[_eventState] = (dart.notNull(this[_eventState]) ^ 1) >>> 0; + } + get [_isFiring]() { + return (dart.notNull(this[_eventState]) & 2) !== 0; + } + [_setRemoveAfterFiring]() { + if (!dart.test(this[_isFiring])) dart.assertFailed(null, I[63], 45, 12, "_isFiring"); + this[_eventState] = (dart.notNull(this[_eventState]) | 4) >>> 0; + } + get [_removeAfterFiring]() { + return (dart.notNull(this[_eventState]) & 4) !== 0; + } + [_onPause]() { + } + [_onResume]() { + } + } + (_BroadcastSubscription.new = function(controller, onData, onError, onDone, cancelOnError) { + if (controller == null) dart.nullFailed(I[63], 27, 37, "controller"); + if (cancelOnError == null) dart.nullFailed(I[63], 31, 12, "cancelOnError"); + this[_eventState] = 0; + this[_next$0] = null; + this[_previous$0] = null; + _BroadcastSubscription.__proto__.new.call(this, controller, onData, onError, onDone, cancelOnError); + this[_next$1] = this[_previous$1] = this; + }).prototype = _BroadcastSubscription.prototype; + dart.addTypeTests(_BroadcastSubscription); + _BroadcastSubscription.prototype[_is__BroadcastSubscription_default] = true; + dart.addTypeCaches(_BroadcastSubscription); + dart.setMethodSignature(_BroadcastSubscription, () => ({ + __proto__: dart.getMethods(_BroadcastSubscription.__proto__), + [_expectsEvent]: dart.fnType(core.bool, [core.int]), + [_toggleEventId]: dart.fnType(dart.void, []), + [_setRemoveAfterFiring]: dart.fnType(dart.void, []) + })); + dart.setGetterSignature(_BroadcastSubscription, () => ({ + __proto__: dart.getGetters(_BroadcastSubscription.__proto__), + [_isFiring]: core.bool, + [_removeAfterFiring]: core.bool + })); + dart.setLibraryUri(_BroadcastSubscription, I[29]); + dart.setFieldSignature(_BroadcastSubscription, () => ({ + __proto__: dart.getFields(_BroadcastSubscription.__proto__), + [_eventState]: dart.fieldType(core.int), + [_next$1]: dart.fieldType(dart.nullable(async._BroadcastSubscription$(T))), + [_previous$1]: dart.fieldType(dart.nullable(async._BroadcastSubscription$(T))) + })); + return _BroadcastSubscription; +}); +async._BroadcastSubscription = async._BroadcastSubscription$(); +dart.defineLazy(async._BroadcastSubscription, { + /*async._BroadcastSubscription._STATE_EVENT_ID*/get _STATE_EVENT_ID() { + return 1; + }, + /*async._BroadcastSubscription._STATE_FIRING*/get _STATE_FIRING() { + return 2; + }, + /*async._BroadcastSubscription._STATE_REMOVE_AFTER_FIRING*/get _STATE_REMOVE_AFTER_FIRING() { + return 4; + } +}, false); +dart.addTypeTests(async._BroadcastSubscription, _is__BroadcastSubscription_default); +var _firstSubscription = dart.privateName(async, "_firstSubscription"); +var _lastSubscription = dart.privateName(async, "_lastSubscription"); +var _addStreamState = dart.privateName(async, "_addStreamState"); +var _doneFuture = dart.privateName(async, "_doneFuture"); +var _isEmpty = dart.privateName(async, "_isEmpty"); +var _hasOneListener = dart.privateName(async, "_hasOneListener"); +var _isAddingStream = dart.privateName(async, "_isAddingStream"); +var _mayAddEvent = dart.privateName(async, "_mayAddEvent"); +var _ensureDoneFuture = dart.privateName(async, "_ensureDoneFuture"); +var _addListener = dart.privateName(async, "_addListener"); +var _removeListener = dart.privateName(async, "_removeListener"); +var _callOnCancel = dart.privateName(async, "_callOnCancel"); +var _addEventError = dart.privateName(async, "_addEventError"); +var _forEachListener = dart.privateName(async, "_forEachListener"); +var _mayComplete = dart.privateName(async, "_mayComplete"); +var _asyncComplete = dart.privateName(async, "_asyncComplete"); +const _is__BroadcastStreamController_default = Symbol('_is__BroadcastStreamController_default'); +async._BroadcastStreamController$ = dart.generic(T => { + var _BroadcastStreamOfT = () => (_BroadcastStreamOfT = dart.constFn(async._BroadcastStream$(T)))(); + var _StreamSinkWrapperOfT = () => (_StreamSinkWrapperOfT = dart.constFn(async._StreamSinkWrapper$(T)))(); + var _DoneStreamSubscriptionOfT = () => (_DoneStreamSubscriptionOfT = dart.constFn(async._DoneStreamSubscription$(T)))(); + var _BroadcastSubscriptionOfT = () => (_BroadcastSubscriptionOfT = dart.constFn(async._BroadcastSubscription$(T)))(); + var StreamOfT = () => (StreamOfT = dart.constFn(async.Stream$(T)))(); + var _AddStreamStateOfT = () => (_AddStreamStateOfT = dart.constFn(async._AddStreamState$(T)))(); + class _BroadcastStreamController extends core.Object { + get onPause() { + dart.throw(new core.UnsupportedError.new("Broadcast stream controllers do not support pause callbacks")); + } + set onPause(onPauseHandler) { + dart.throw(new core.UnsupportedError.new("Broadcast stream controllers do not support pause callbacks")); + } + get onResume() { + dart.throw(new core.UnsupportedError.new("Broadcast stream controllers do not support pause callbacks")); + } + set onResume(onResumeHandler) { + dart.throw(new core.UnsupportedError.new("Broadcast stream controllers do not support pause callbacks")); + } + get stream() { + return new (_BroadcastStreamOfT()).new(this); + } + get sink() { + return new (_StreamSinkWrapperOfT()).new(this); + } + get isClosed() { + return (dart.notNull(this[_state]) & 4) !== 0; + } + get isPaused() { + return false; + } + get hasListener() { + return !dart.test(this[_isEmpty]); + } + get [_hasOneListener]() { + if (!!dart.test(this[_isEmpty])) dart.assertFailed(null, I[63], 141, 12, "!_isEmpty"); + return this[_firstSubscription] == this[_lastSubscription]; + } + get [_isFiring]() { + return (dart.notNull(this[_state]) & 2) !== 0; + } + get [_isAddingStream]() { + return (dart.notNull(this[_state]) & 8) !== 0; + } + get [_mayAddEvent]() { + return dart.notNull(this[_state]) < 4; + } + [_ensureDoneFuture]() { + let t87; + t87 = this[_doneFuture]; + return t87 == null ? this[_doneFuture] = new (T$._FutureOfvoid()).new() : t87; + } + get [_isEmpty]() { + return this[_firstSubscription] == null; + } + [_addListener](subscription) { + if (subscription == null) dart.nullFailed(I[63], 159, 47, "subscription"); + if (!(subscription[_next$1] == subscription)) dart.assertFailed(null, I[63], 160, 12, "identical(subscription._next, subscription)"); + subscription[_eventState] = (dart.notNull(this[_state]) & 1) >>> 0; + let oldLast = this[_lastSubscription]; + this[_lastSubscription] = subscription; + subscription[_next$1] = null; + subscription[_previous$1] = oldLast; + if (oldLast == null) { + this[_firstSubscription] = subscription; + } else { + oldLast[_next$1] = subscription; + } + } + [_removeListener](subscription) { + if (subscription == null) dart.nullFailed(I[63], 174, 50, "subscription"); + if (!(subscription[_controller$] === this)) dart.assertFailed(null, I[63], 175, 12, "identical(subscription._controller, this)"); + if (!(subscription[_next$1] != subscription)) dart.assertFailed(null, I[63], 176, 12, "!identical(subscription._next, subscription)"); + let previous = subscription[_previous$1]; + let next = subscription[_next$1]; + if (previous == null) { + this[_firstSubscription] = next; + } else { + previous[_next$1] = next; + } + if (next == null) { + this[_lastSubscription] = previous; + } else { + next[_previous$1] = previous; + } + subscription[_next$1] = subscription[_previous$1] = subscription; + } + [_subscribe](onData, onError, onDone, cancelOnError) { + if (cancelOnError == null) dart.nullFailed(I[63], 198, 28, "cancelOnError"); + if (dart.test(this.isClosed)) { + return new (_DoneStreamSubscriptionOfT()).new(onDone); + } + let subscription = new (_BroadcastSubscriptionOfT()).new(this, onData, onError, onDone, cancelOnError); + this[_addListener](subscription); + if (this[_firstSubscription] == this[_lastSubscription]) { + async._runGuarded(this.onListen); + } + return subscription; + } + [_recordCancel](sub) { + if (sub == null) dart.nullFailed(I[63], 212, 53, "sub"); + let subscription = _BroadcastSubscriptionOfT().as(sub); + if (subscription[_next$1] == subscription) return null; + if (dart.test(subscription[_isFiring])) { + subscription[_setRemoveAfterFiring](); + } else { + this[_removeListener](subscription); + if (!dart.test(this[_isFiring]) && dart.test(this[_isEmpty])) { + this[_callOnCancel](); + } + } + return null; + } + [_recordPause](subscription) { + if (subscription == null) dart.nullFailed(I[63], 229, 43, "subscription"); + } + [_recordResume](subscription) { + if (subscription == null) dart.nullFailed(I[63], 230, 44, "subscription"); + } + [_addEventError]() { + if (dart.test(this.isClosed)) { + return new core.StateError.new("Cannot add new events after calling close"); + } + if (!dart.test(this[_isAddingStream])) dart.assertFailed(null, I[63], 238, 12, "_isAddingStream"); + return new core.StateError.new("Cannot add new events while doing an addStream"); + } + add(data) { + T.as(data); + if (!dart.test(this[_mayAddEvent])) dart.throw(this[_addEventError]()); + this[_sendData](data); + } + addError(error, stackTrace = null) { + if (error == null) dart.nullFailed(I[63], 247, 24, "error"); + _internal.checkNotNullable(core.Object, error, "error"); + if (!dart.test(this[_mayAddEvent])) dart.throw(this[_addEventError]()); + let replacement = async.Zone.current.errorCallback(error, stackTrace); + if (replacement != null) { + error = replacement.error; + stackTrace = replacement.stackTrace; + } else { + stackTrace == null ? stackTrace = async.AsyncError.defaultStackTrace(error) : null; + } + if (stackTrace == null) dart.throw("unreachable"); + this[_sendError](error, stackTrace); + } + close() { + if (dart.test(this.isClosed)) { + if (!(this[_doneFuture] != null)) dart.assertFailed(null, I[63], 263, 14, "_doneFuture != null"); + return dart.nullCheck(this[_doneFuture]); + } + if (!dart.test(this[_mayAddEvent])) dart.throw(this[_addEventError]()); + this[_state] = (dart.notNull(this[_state]) | 4) >>> 0; + let doneFuture = this[_ensureDoneFuture](); + this[_sendDone](); + return doneFuture; + } + get done() { + return this[_ensureDoneFuture](); + } + addStream(stream, opts) { + let t87; + StreamOfT().as(stream); + if (stream == null) dart.nullFailed(I[63], 275, 30, "stream"); + let cancelOnError = opts && 'cancelOnError' in opts ? opts.cancelOnError : null; + if (!dart.test(this[_mayAddEvent])) dart.throw(this[_addEventError]()); + this[_state] = (dart.notNull(this[_state]) | 8) >>> 0; + let addStreamState = new (_AddStreamStateOfT()).new(this, stream, (t87 = cancelOnError, t87 == null ? false : t87)); + this[_addStreamState] = addStreamState; + return addStreamState.addStreamFuture; + } + [_add](data) { + this[_sendData](data); + } + [_addError](error, stackTrace) { + if (error == null) dart.nullFailed(I[63], 289, 25, "error"); + if (stackTrace == null) dart.nullFailed(I[63], 289, 43, "stackTrace"); + this[_sendError](error, stackTrace); + } + [_close]() { + if (!dart.test(this[_isAddingStream])) dart.assertFailed(null, I[63], 294, 12, "_isAddingStream"); + let addState = dart.nullCheck(this[_addStreamState]); + this[_addStreamState] = null; + this[_state] = (dart.notNull(this[_state]) & ~8 >>> 0) >>> 0; + addState.complete(); + } + [_forEachListener](action) { + let t87, t87$; + if (action == null) dart.nullFailed(I[63], 303, 12, "action"); + if (dart.test(this[_isFiring])) { + dart.throw(new core.StateError.new("Cannot fire new event. Controller is already firing an event")); + } + if (dart.test(this[_isEmpty])) return; + let id = (dart.notNull(this[_state]) & 1) >>> 0; + this[_state] = (dart.notNull(this[_state]) ^ (1 | 2) >>> 0) >>> 0; + let subscription = this[_firstSubscription]; + while (subscription != null) { + if (dart.test(subscription[_expectsEvent](id))) { + t87 = subscription; + t87[_eventState] = (dart.notNull(t87[_eventState]) | 2) >>> 0; + action(subscription); + subscription[_toggleEventId](); + let next = subscription[_next$1]; + if (dart.test(subscription[_removeAfterFiring])) { + this[_removeListener](subscription); + } + t87$ = subscription; + t87$[_eventState] = (dart.notNull(t87$[_eventState]) & ~2 >>> 0) >>> 0; + subscription = next; + } else { + subscription = subscription[_next$1]; + } + } + this[_state] = (dart.notNull(this[_state]) & ~2 >>> 0) >>> 0; + if (dart.test(this[_isEmpty])) { + this[_callOnCancel](); + } + } + [_callOnCancel]() { + if (!dart.test(this[_isEmpty])) dart.assertFailed(null, I[63], 343, 12, "_isEmpty"); + if (dart.test(this.isClosed)) { + let doneFuture = dart.nullCheck(this[_doneFuture]); + if (dart.test(doneFuture[_mayComplete])) { + doneFuture[_asyncComplete](null); + } + } + async._runGuarded(this.onCancel); + } + } + (_BroadcastStreamController.new = function(onListen, onCancel) { + this[_firstSubscription] = null; + this[_lastSubscription] = null; + this[_addStreamState] = null; + this[_doneFuture] = null; + this.onListen = onListen; + this.onCancel = onCancel; + this[_state] = 0; + ; + }).prototype = _BroadcastStreamController.prototype; + dart.addTypeTests(_BroadcastStreamController); + _BroadcastStreamController.prototype[_is__BroadcastStreamController_default] = true; + dart.addTypeCaches(_BroadcastStreamController); + _BroadcastStreamController[dart.implements] = () => [async._StreamControllerBase$(T)]; + dart.setMethodSignature(_BroadcastStreamController, () => ({ + __proto__: dart.getMethods(_BroadcastStreamController.__proto__), + [_ensureDoneFuture]: dart.fnType(async._Future$(dart.void), []), + [_addListener]: dart.fnType(dart.void, [async._BroadcastSubscription$(T)]), + [_removeListener]: dart.fnType(dart.void, [async._BroadcastSubscription$(T)]), + [_subscribe]: dart.fnType(async.StreamSubscription$(T), [dart.nullable(dart.fnType(dart.void, [T])), dart.nullable(core.Function), dart.nullable(dart.fnType(dart.void, [])), core.bool]), + [_recordCancel]: dart.fnType(dart.nullable(async.Future$(dart.void)), [async.StreamSubscription$(T)]), + [_recordPause]: dart.fnType(dart.void, [async.StreamSubscription$(T)]), + [_recordResume]: dart.fnType(dart.void, [async.StreamSubscription$(T)]), + [_addEventError]: dart.fnType(core.Error, []), + add: dart.fnType(dart.void, [dart.nullable(core.Object)]), + addError: dart.fnType(dart.void, [core.Object], [dart.nullable(core.StackTrace)]), + close: dart.fnType(async.Future, []), + addStream: dart.fnType(async.Future, [dart.nullable(core.Object)], {cancelOnError: dart.nullable(core.bool)}, {}), + [_add]: dart.fnType(dart.void, [T]), + [_addError]: dart.fnType(dart.void, [core.Object, core.StackTrace]), + [_close]: dart.fnType(dart.void, []), + [_forEachListener]: dart.fnType(dart.void, [dart.fnType(dart.void, [async._BufferingStreamSubscription$(T)])]), + [_callOnCancel]: dart.fnType(dart.void, []) + })); + dart.setGetterSignature(_BroadcastStreamController, () => ({ + __proto__: dart.getGetters(_BroadcastStreamController.__proto__), + onPause: dart.fnType(dart.void, []), + onResume: dart.fnType(dart.void, []), + stream: async.Stream$(T), + sink: async.StreamSink$(T), + isClosed: core.bool, + isPaused: core.bool, + hasListener: core.bool, + [_hasOneListener]: core.bool, + [_isFiring]: core.bool, + [_isAddingStream]: core.bool, + [_mayAddEvent]: core.bool, + [_isEmpty]: core.bool, + done: async.Future$(dart.void) + })); + dart.setSetterSignature(_BroadcastStreamController, () => ({ + __proto__: dart.getSetters(_BroadcastStreamController.__proto__), + onPause: dart.nullable(dart.fnType(dart.void, [])), + onResume: dart.nullable(dart.fnType(dart.void, [])) + })); + dart.setLibraryUri(_BroadcastStreamController, I[29]); + dart.setFieldSignature(_BroadcastStreamController, () => ({ + __proto__: dart.getFields(_BroadcastStreamController.__proto__), + onListen: dart.fieldType(dart.nullable(dart.fnType(dart.void, []))), + onCancel: dart.fieldType(dart.nullable(dart.fnType(dart.void, []))), + [_state]: dart.fieldType(core.int), + [_firstSubscription]: dart.fieldType(dart.nullable(async._BroadcastSubscription$(T))), + [_lastSubscription]: dart.fieldType(dart.nullable(async._BroadcastSubscription$(T))), + [_addStreamState]: dart.fieldType(dart.nullable(async._AddStreamState$(T))), + [_doneFuture]: dart.fieldType(dart.nullable(async._Future$(dart.void))) + })); + return _BroadcastStreamController; +}); +async._BroadcastStreamController = async._BroadcastStreamController$(); +dart.defineLazy(async._BroadcastStreamController, { + /*async._BroadcastStreamController._STATE_INITIAL*/get _STATE_INITIAL() { + return 0; + }, + /*async._BroadcastStreamController._STATE_EVENT_ID*/get _STATE_EVENT_ID() { + return 1; + }, + /*async._BroadcastStreamController._STATE_FIRING*/get _STATE_FIRING() { + return 2; + }, + /*async._BroadcastStreamController._STATE_CLOSED*/get _STATE_CLOSED() { + return 4; + }, + /*async._BroadcastStreamController._STATE_ADDSTREAM*/get _STATE_ADDSTREAM() { + return 8; + } +}, false); +dart.addTypeTests(async._BroadcastStreamController, _is__BroadcastStreamController_default); +const _is__SyncBroadcastStreamController_default = Symbol('_is__SyncBroadcastStreamController_default'); +async._SyncBroadcastStreamController$ = dart.generic(T => { + var _BroadcastSubscriptionOfT = () => (_BroadcastSubscriptionOfT = dart.constFn(async._BroadcastSubscription$(T)))(); + var _BufferingStreamSubscriptionOfT = () => (_BufferingStreamSubscriptionOfT = dart.constFn(async._BufferingStreamSubscription$(T)))(); + var _BufferingStreamSubscriptionOfTTovoid = () => (_BufferingStreamSubscriptionOfTTovoid = dart.constFn(dart.fnType(dart.void, [_BufferingStreamSubscriptionOfT()])))(); + class _SyncBroadcastStreamController extends async._BroadcastStreamController$(T) { + get [_mayAddEvent]() { + return dart.test(super[_mayAddEvent]) && !dart.test(this[_isFiring]); + } + [_addEventError]() { + if (dart.test(this[_isFiring])) { + return new core.StateError.new("Cannot fire new event. Controller is already firing an event"); + } + return super[_addEventError](); + } + [_sendData](data) { + if (dart.test(this[_isEmpty])) return; + if (dart.test(this[_hasOneListener])) { + this[_state] = (dart.notNull(this[_state]) | 2) >>> 0; + let firstSubscription = _BroadcastSubscriptionOfT().as(this[_firstSubscription]); + firstSubscription[_add](data); + this[_state] = (dart.notNull(this[_state]) & ~2 >>> 0) >>> 0; + if (dart.test(this[_isEmpty])) { + this[_callOnCancel](); + } + return; + } + this[_forEachListener](dart.fn(subscription => { + if (subscription == null) dart.nullFailed(I[63], 385, 55, "subscription"); + subscription[_add](data); + }, _BufferingStreamSubscriptionOfTTovoid())); + } + [_sendError](error, stackTrace) { + if (error == null) dart.nullFailed(I[63], 390, 26, "error"); + if (stackTrace == null) dart.nullFailed(I[63], 390, 44, "stackTrace"); + if (dart.test(this[_isEmpty])) return; + this[_forEachListener](dart.fn(subscription => { + if (subscription == null) dart.nullFailed(I[63], 392, 55, "subscription"); + subscription[_addError](error, stackTrace); + }, _BufferingStreamSubscriptionOfTTovoid())); + } + [_sendDone]() { + if (!dart.test(this[_isEmpty])) { + this[_forEachListener](dart.fn(subscription => { + if (subscription == null) dart.nullFailed(I[63], 399, 57, "subscription"); + subscription[_close](); + }, _BufferingStreamSubscriptionOfTTovoid())); + } else { + if (!(this[_doneFuture] != null && dart.test(dart.nullCheck(this[_doneFuture])[_mayComplete]))) dart.assertFailed(null, I[63], 403, 14, "_doneFuture != null && _doneFuture!._mayComplete"); + dart.nullCheck(this[_doneFuture])[_asyncComplete](null); + } + } + } + (_SyncBroadcastStreamController.new = function(onListen, onCancel) { + _SyncBroadcastStreamController.__proto__.new.call(this, onListen, onCancel); + ; + }).prototype = _SyncBroadcastStreamController.prototype; + dart.addTypeTests(_SyncBroadcastStreamController); + _SyncBroadcastStreamController.prototype[_is__SyncBroadcastStreamController_default] = true; + dart.addTypeCaches(_SyncBroadcastStreamController); + _SyncBroadcastStreamController[dart.implements] = () => [async.SynchronousStreamController$(T)]; + dart.setMethodSignature(_SyncBroadcastStreamController, () => ({ + __proto__: dart.getMethods(_SyncBroadcastStreamController.__proto__), + [_sendData]: dart.fnType(dart.void, [T]), + [_sendError]: dart.fnType(dart.void, [core.Object, core.StackTrace]), + [_sendDone]: dart.fnType(dart.void, []) + })); + dart.setLibraryUri(_SyncBroadcastStreamController, I[29]); + return _SyncBroadcastStreamController; +}); +async._SyncBroadcastStreamController = async._SyncBroadcastStreamController$(); +dart.addTypeTests(async._SyncBroadcastStreamController, _is__SyncBroadcastStreamController_default); +const _is__AsyncBroadcastStreamController_default = Symbol('_is__AsyncBroadcastStreamController_default'); +async._AsyncBroadcastStreamController$ = dart.generic(T => { + var _DelayedDataOfT = () => (_DelayedDataOfT = dart.constFn(async._DelayedData$(T)))(); + class _AsyncBroadcastStreamController extends async._BroadcastStreamController$(T) { + [_sendData](data) { + for (let subscription = this[_firstSubscription]; subscription != null; subscription = subscription[_next$1]) { + subscription[_addPending](new (_DelayedDataOfT()).new(data)); + } + } + [_sendError](error, stackTrace) { + if (error == null) dart.nullFailed(I[63], 423, 26, "error"); + if (stackTrace == null) dart.nullFailed(I[63], 423, 44, "stackTrace"); + for (let subscription = this[_firstSubscription]; subscription != null; subscription = subscription[_next$1]) { + subscription[_addPending](new async._DelayedError.new(error, stackTrace)); + } + } + [_sendDone]() { + if (!dart.test(this[_isEmpty])) { + for (let subscription = this[_firstSubscription]; subscription != null; subscription = subscription[_next$1]) { + subscription[_addPending](C[40] || CT.C40); + } + } else { + if (!(this[_doneFuture] != null && dart.test(dart.nullCheck(this[_doneFuture])[_mayComplete]))) dart.assertFailed(null, I[63], 439, 14, "_doneFuture != null && _doneFuture!._mayComplete"); + dart.nullCheck(this[_doneFuture])[_asyncComplete](null); + } + } + } + (_AsyncBroadcastStreamController.new = function(onListen, onCancel) { + _AsyncBroadcastStreamController.__proto__.new.call(this, onListen, onCancel); + ; + }).prototype = _AsyncBroadcastStreamController.prototype; + dart.addTypeTests(_AsyncBroadcastStreamController); + _AsyncBroadcastStreamController.prototype[_is__AsyncBroadcastStreamController_default] = true; + dart.addTypeCaches(_AsyncBroadcastStreamController); + dart.setMethodSignature(_AsyncBroadcastStreamController, () => ({ + __proto__: dart.getMethods(_AsyncBroadcastStreamController.__proto__), + [_sendData]: dart.fnType(dart.void, [T]), + [_sendError]: dart.fnType(dart.void, [core.Object, core.StackTrace]), + [_sendDone]: dart.fnType(dart.void, []) + })); + dart.setLibraryUri(_AsyncBroadcastStreamController, I[29]); + return _AsyncBroadcastStreamController; +}); +async._AsyncBroadcastStreamController = async._AsyncBroadcastStreamController$(); +dart.addTypeTests(async._AsyncBroadcastStreamController, _is__AsyncBroadcastStreamController_default); +var _addPendingEvent = dart.privateName(async, "_addPendingEvent"); +var _flushPending = dart.privateName(async, "_flushPending"); +const _is__AsBroadcastStreamController_default = Symbol('_is__AsBroadcastStreamController_default'); +async._AsBroadcastStreamController$ = dart.generic(T => { + var _StreamImplEventsOfT = () => (_StreamImplEventsOfT = dart.constFn(async._StreamImplEvents$(T)))(); + var _DelayedDataOfT = () => (_DelayedDataOfT = dart.constFn(async._DelayedData$(T)))(); + class _AsBroadcastStreamController extends async._SyncBroadcastStreamController$(T) { + get [_hasPending]() { + let pending = this[_pending$]; + return pending != null && !dart.test(pending.isEmpty); + } + [_addPendingEvent](event) { + let t87; + if (event == null) dart.nullFailed(I[63], 466, 39, "event"); + (t87 = this[_pending$], t87 == null ? this[_pending$] = new (_StreamImplEventsOfT()).new() : t87).add(event); + } + add(data) { + T.as(data); + if (!dart.test(this.isClosed) && dart.test(this[_isFiring])) { + this[_addPendingEvent](new (_DelayedDataOfT()).new(data)); + return; + } + super.add(data); + this[_flushPending](); + } + addError(error, stackTrace = null) { + if (error == null) dart.nullFailed(I[63], 479, 24, "error"); + _internal.checkNotNullable(core.Object, error, "error"); + stackTrace == null ? stackTrace = async.AsyncError.defaultStackTrace(error) : null; + if (!dart.test(this.isClosed) && dart.test(this[_isFiring])) { + this[_addPendingEvent](new async._DelayedError.new(error, stackTrace)); + return; + } + if (!dart.test(this[_mayAddEvent])) dart.throw(this[_addEventError]()); + this[_sendError](error, stackTrace); + this[_flushPending](); + } + [_flushPending]() { + let pending = this[_pending$]; + while (pending != null && !dart.test(pending.isEmpty)) { + pending.handleNext(this); + pending = this[_pending$]; + } + } + close() { + if (!dart.test(this.isClosed) && dart.test(this[_isFiring])) { + this[_addPendingEvent](C[40] || CT.C40); + this[_state] = (dart.notNull(this[_state]) | 4) >>> 0; + return super.done; + } + let result = super.close(); + if (!!dart.test(this[_hasPending])) dart.assertFailed(null, I[63], 506, 12, "!_hasPending"); + return result; + } + [_callOnCancel]() { + let pending = this[_pending$]; + if (pending != null) { + pending.clear(); + this[_pending$] = null; + } + super[_callOnCancel](); + } + } + (_AsBroadcastStreamController.new = function(onListen, onCancel) { + this[_pending$] = null; + _AsBroadcastStreamController.__proto__.new.call(this, onListen, onCancel); + ; + }).prototype = _AsBroadcastStreamController.prototype; + dart.addTypeTests(_AsBroadcastStreamController); + _AsBroadcastStreamController.prototype[_is__AsBroadcastStreamController_default] = true; + dart.addTypeCaches(_AsBroadcastStreamController); + _AsBroadcastStreamController[dart.implements] = () => [async._EventDispatch$(T)]; + dart.setMethodSignature(_AsBroadcastStreamController, () => ({ + __proto__: dart.getMethods(_AsBroadcastStreamController.__proto__), + [_addPendingEvent]: dart.fnType(dart.void, [async._DelayedEvent]), + [_flushPending]: dart.fnType(dart.void, []) + })); + dart.setGetterSignature(_AsBroadcastStreamController, () => ({ + __proto__: dart.getGetters(_AsBroadcastStreamController.__proto__), + [_hasPending]: core.bool + })); + dart.setLibraryUri(_AsBroadcastStreamController, I[29]); + dart.setFieldSignature(_AsBroadcastStreamController, () => ({ + __proto__: dart.getFields(_AsBroadcastStreamController.__proto__), + [_pending$]: dart.fieldType(dart.nullable(async._StreamImplEvents$(T))) + })); + return _AsBroadcastStreamController; +}); +async._AsBroadcastStreamController = async._AsBroadcastStreamController$(); +dart.addTypeTests(async._AsBroadcastStreamController, _is__AsBroadcastStreamController_default); +var libraryName$ = dart.privateName(async, "DeferredLibrary.libraryName"); +var uri$ = dart.privateName(async, "DeferredLibrary.uri"); +async.DeferredLibrary = class DeferredLibrary extends core.Object { + get libraryName() { + return this[libraryName$]; + } + set libraryName(value) { + super.libraryName = value; + } + get uri() { + return this[uri$]; + } + set uri(value) { + super.uri = value; + } + load() { + dart.throw("DeferredLibrary not supported. " + "please use the `import \"lib.dart\" deferred as lib` syntax."); + } +}; +(async.DeferredLibrary.new = function(libraryName, opts) { + if (libraryName == null) dart.nullFailed(I[66], 18, 30, "libraryName"); + let uri = opts && 'uri' in opts ? opts.uri : null; + this[libraryName$] = libraryName; + this[uri$] = uri; + ; +}).prototype = async.DeferredLibrary.prototype; +dart.addTypeTests(async.DeferredLibrary); +dart.addTypeCaches(async.DeferredLibrary); +dart.setMethodSignature(async.DeferredLibrary, () => ({ + __proto__: dart.getMethods(async.DeferredLibrary.__proto__), + load: dart.fnType(async.Future$(core.Null), []) +})); +dart.setLibraryUri(async.DeferredLibrary, I[29]); +dart.setFieldSignature(async.DeferredLibrary, () => ({ + __proto__: dart.getFields(async.DeferredLibrary.__proto__), + libraryName: dart.finalFieldType(core.String), + uri: dart.finalFieldType(dart.nullable(core.String)) +})); +var _s = dart.privateName(async, "_s"); +async.DeferredLoadException = class DeferredLoadException extends core.Object { + toString() { + return "DeferredLoadException: '" + dart.str(this[_s]) + "'"; + } +}; +(async.DeferredLoadException.new = function(message) { + if (message == null) dart.nullFailed(I[66], 29, 32, "message"); + this[_s] = message; + ; +}).prototype = async.DeferredLoadException.prototype; +dart.addTypeTests(async.DeferredLoadException); +dart.addTypeCaches(async.DeferredLoadException); +async.DeferredLoadException[dart.implements] = () => [core.Exception]; +dart.setLibraryUri(async.DeferredLoadException, I[29]); +dart.setFieldSignature(async.DeferredLoadException, () => ({ + __proto__: dart.getFields(async.DeferredLoadException.__proto__), + [_s]: dart.finalFieldType(core.String) +})); +dart.defineExtensionMethods(async.DeferredLoadException, ['toString']); +async.FutureOr$ = dart.normalizeFutureOr(T => { + class FutureOr extends core.Object {} + (FutureOr.__ = function() { + dart.throw(new core.UnsupportedError.new("FutureOr can't be instantiated")); + }).prototype = FutureOr.prototype; + dart.addTypeCaches(FutureOr); + dart.setLibraryUri(FutureOr, I[29]); + return FutureOr; +}); +async.FutureOr = async.FutureOr$(); +var _asyncCompleteError = dart.privateName(async, "_asyncCompleteError"); +var _completeWithValue = dart.privateName(async, "_completeWithValue"); +async.Future$ = dart.generic(T => { + class Future extends core.Object { + static new(computation) { + if (computation == null) dart.nullFailed(I[67], 170, 30, "computation"); + let result = new (async._Future$(T)).new(); + async.Timer.run(dart.fn(() => { + try { + result[_complete](computation()); + } catch (e$) { + let e = dart.getThrown(e$); + let s = dart.stackTrace(e$); + if (core.Object.is(e)) { + async._completeWithErrorCallback(result, e, s); + } else + throw e$; + } + }, T$.VoidTovoid())); + return result; + } + static microtask(computation) { + if (computation == null) dart.nullFailed(I[67], 194, 40, "computation"); + let result = new (async._Future$(T)).new(); + async.scheduleMicrotask(dart.fn(() => { + try { + result[_complete](computation()); + } catch (e$) { + let e = dart.getThrown(e$); + let s = dart.stackTrace(e$); + if (core.Object.is(e)) { + async._completeWithErrorCallback(result, e, s); + } else + throw e$; + } + }, T$.VoidTovoid())); + return result; + } + static sync(computation) { + if (computation == null) dart.nullFailed(I[67], 216, 35, "computation"); + try { + let result = computation(); + if (async.Future$(T).is(result)) { + return result; + } else { + return new (async._Future$(T)).value(T.as(result)); + } + } catch (e) { + let error = dart.getThrown(e); + let stackTrace = dart.stackTrace(e); + if (core.Object.is(error)) { + let future = new (async._Future$(T)).new(); + let replacement = async.Zone.current.errorCallback(error, stackTrace); + if (replacement != null) { + future[_asyncCompleteError](replacement.error, replacement.stackTrace); + } else { + future[_asyncCompleteError](error, stackTrace); + } + return future; + } else + throw e; + } + } + static value(value = null) { + return new (async._Future$(T)).immediate(value == null ? T.as(value) : value); + } + static error(error, stackTrace = null) { + if (error == null) dart.nullFailed(I[67], 267, 31, "error"); + _internal.checkNotNullable(core.Object, error, "error"); + if (async.Zone.current != async._rootZone) { + let replacement = async.Zone.current.errorCallback(error, stackTrace); + if (replacement != null) { + error = replacement.error; + stackTrace = replacement.stackTrace; + } + } + stackTrace == null ? stackTrace = async.AsyncError.defaultStackTrace(error) : null; + return new (async._Future$(T)).immediateError(error, stackTrace); + } + static delayed(duration, computation = null) { + if (duration == null) dart.nullFailed(I[67], 304, 35, "duration"); + if (computation == null && !dart.test(_internal.typeAcceptsNull(T))) { + dart.throw(new core.ArgumentError.value(null, "computation", "The type parameter is not nullable")); + } + let result = new (async._Future$(T)).new(); + async.Timer.new(duration, dart.fn(() => { + if (computation == null) { + result[_complete](T.as(null)); + } else { + try { + result[_complete](computation()); + } catch (e$) { + let e = dart.getThrown(e$); + let s = dart.stackTrace(e$); + if (core.Object.is(e)) { + async._completeWithErrorCallback(result, e, s); + } else + throw e$; + } + } + }, T$.VoidTovoid())); + return result; + } + static wait(T, futures, opts) { + let t101; + if (futures == null) dart.nullFailed(I[67], 352, 54, "futures"); + let eagerError = opts && 'eagerError' in opts ? opts.eagerError : false; + if (eagerError == null) dart.nullFailed(I[67], 353, 13, "eagerError"); + let cleanUp = opts && 'cleanUp' in opts ? opts.cleanUp : null; + let _future = new (async._Future$(core.List$(T))).new(); + let values = null; + let remaining = 0; + let error = null; + let error$35isSet = false; + function error$35get() { + return error$35isSet ? error : dart.throw(new _internal.LateError.localNI("error")); + } + dart.fn(error$35get, T$.VoidToObject()); + function error$35set(t94) { + if (t94 == null) dart.nullFailed(I[67], 359, 17, "null"); + error$35isSet = true; + return error = t94; + } + dart.fn(error$35set, T$.ObjectTodynamic()); + let stackTrace = null; + let stackTrace$35isSet = false; + function stackTrace$35get() { + return stackTrace$35isSet ? stackTrace : dart.throw(new _internal.LateError.localNI("stackTrace")); + } + dart.fn(stackTrace$35get, T$.VoidToStackTrace()); + function stackTrace$35set(t99) { + if (t99 == null) dart.nullFailed(I[67], 360, 21, "null"); + stackTrace$35isSet = true; + return stackTrace = t99; + } + dart.fn(stackTrace$35set, T$.StackTraceTodynamic()); + function handleError(theError, theStackTrace) { + if (theError == null) dart.nullFailed(I[67], 363, 29, "theError"); + if (theStackTrace == null) dart.nullFailed(I[67], 363, 50, "theStackTrace"); + remaining = remaining - 1; + let valueList = values; + if (valueList != null) { + if (cleanUp != null) { + for (let value of valueList) { + if (value != null) { + let cleanUpValue = value; + T$.FutureOfNull().sync(dart.fn(() => { + cleanUp(cleanUpValue); + }, T$.VoidToNull())); + } + } + } + values = null; + if (remaining === 0 || dart.test(eagerError)) { + _future[_completeError](theError, theStackTrace); + } else { + error$35set(theError); + stackTrace$35set(theStackTrace); + } + } else if (remaining === 0 && !dart.test(eagerError)) { + _future[_completeError](error$35get(), stackTrace$35get()); + } + } + dart.fn(handleError, T$.ObjectAndStackTraceTovoid()); + try { + for (let future of futures) { + let pos = remaining; + future.then(core.Null, dart.fn(value => { + remaining = remaining - 1; + let valueList = values; + if (valueList != null) { + valueList[$_set](pos, value); + if (remaining === 0) { + _future[_completeWithValue](core.List$(T).from(valueList)); + } + } else { + if (cleanUp != null && value != null) { + T$.FutureOfNull().sync(dart.fn(() => { + cleanUp(value); + }, T$.VoidToNull())); + } + if (remaining === 0 && !dart.test(eagerError)) { + _future[_completeError](error$35get(), stackTrace$35get()); + } + } + }, dart.fnType(core.Null, [T])), {onError: handleError}); + remaining = remaining + 1; + } + if (remaining === 0) { + t101 = _future; + return (() => { + t101[_completeWithValue](_interceptors.JSArray$(T).of([])); + return t101; + })(); + } + values = core.List$(dart.nullable(T)).filled(remaining, null); + } catch (e$) { + let e = dart.getThrown(e$); + let st = dart.stackTrace(e$); + if (core.Object.is(e)) { + if (remaining === 0 || dart.test(eagerError)) { + return async.Future$(core.List$(T)).error(e, st); + } else { + error$35set(e); + stackTrace$35set(st); + } + } else + throw e$; + } + return _future; + } + static any(T, futures) { + if (futures == null) dart.nullFailed(I[67], 459, 47, "futures"); + let completer = async.Completer$(T).sync(); + function onValue(value) { + if (!dart.test(completer.isCompleted)) completer.complete(value); + } + dart.fn(onValue, dart.fnType(dart.void, [T])); + function onError(error, stack) { + if (error == null) dart.nullFailed(I[67], 465, 25, "error"); + if (stack == null) dart.nullFailed(I[67], 465, 43, "stack"); + if (!dart.test(completer.isCompleted)) completer.completeError(error, stack); + } + dart.fn(onError, T$.ObjectAndStackTraceTovoid()); + for (let future of futures) { + future.then(dart.void, onValue, {onError: onError}); + } + return completer.future; + } + static forEach(T, elements, action) { + if (elements == null) dart.nullFailed(I[67], 491, 40, "elements"); + if (action == null) dart.nullFailed(I[67], 491, 59, "action"); + let iterator = elements[$iterator]; + return async.Future.doWhile(dart.fn(() => { + if (!dart.test(iterator.moveNext())) return false; + let result = action(iterator.current); + if (async.Future.is(result)) return result.then(core.bool, C[41] || CT.C41); + return true; + }, T$.VoidToFutureOrOfbool())); + } + static _kTrue(_) { + return true; + } + static doWhile(action) { + if (action == null) dart.nullFailed(I[67], 524, 40, "action"); + let doneSignal = new (T$._FutureOfvoid()).new(); + let nextIteration = null; + let nextIteration$35isSet = false; + function nextIteration$35get() { + return nextIteration$35isSet ? nextIteration : dart.throw(new _internal.LateError.localNI("nextIteration")); + } + dart.fn(nextIteration$35get, T$.VoidToFn()); + function nextIteration$35set(t105) { + if (t105 == null) dart.nullFailed(I[67], 526, 30, "null"); + nextIteration$35isSet = true; + return nextIteration = t105; + } + dart.fn(nextIteration$35set, T$.FnTodynamic()); + nextIteration$35set(async.Zone.current.bindUnaryCallbackGuarded(core.bool, dart.fn(keepGoing => { + if (keepGoing == null) dart.nullFailed(I[67], 531, 65, "keepGoing"); + while (dart.test(keepGoing)) { + let result = null; + try { + result = action(); + } catch (e) { + let error = dart.getThrown(e); + let stackTrace = dart.stackTrace(e); + if (core.Object.is(error)) { + async._asyncCompleteWithErrorCallback(doneSignal, error, stackTrace); + return; + } else + throw e; + } + if (T$.FutureOfbool().is(result)) { + result.then(dart.void, nextIteration$35get(), {onError: dart.bind(doneSignal, _completeError)}); + return; + } + keepGoing = result; + } + doneSignal[_complete](null); + }, T$.boolTovoid()))); + nextIteration$35get()(true); + return doneSignal; + } + } + (Future[dart.mixinNew] = function() { + }).prototype = Future.prototype; + dart.addTypeTests(Future); + Future.prototype[dart.isFuture] = true; + dart.addTypeCaches(Future); + dart.setLibraryUri(Future, I[29]); + return Future; +}); +async.Future = async.Future$(); +dart.defineLazy(async.Future, { + /*async.Future._nullFuture*/get _nullFuture() { + return T$._FutureOfNull().as(_internal.nullFuture); + }, + /*async.Future._falseFuture*/get _falseFuture() { + return new (T$._FutureOfbool()).zoneValue(false, async._rootZone); + } +}, false); +dart.addTypeTests(async.Future, dart.isFuture); +var message$1 = dart.privateName(async, "TimeoutException.message"); +var duration$ = dart.privateName(async, "TimeoutException.duration"); +async.TimeoutException = class TimeoutException extends core.Object { + get message() { + return this[message$1]; + } + set message(value) { + super.message = value; + } + get duration() { + return this[duration$]; + } + set duration(value) { + super.duration = value; + } + toString() { + let result = "TimeoutException"; + if (this.duration != null) result = "TimeoutException after " + dart.str(this.duration); + if (this.message != null) result = result + ": " + dart.str(this.message); + return result; + } +}; +(async.TimeoutException.new = function(message, duration = null) { + this[message$1] = message; + this[duration$] = duration; + ; +}).prototype = async.TimeoutException.prototype; +dart.addTypeTests(async.TimeoutException); +dart.addTypeCaches(async.TimeoutException); +async.TimeoutException[dart.implements] = () => [core.Exception]; +dart.setLibraryUri(async.TimeoutException, I[29]); +dart.setFieldSignature(async.TimeoutException, () => ({ + __proto__: dart.getFields(async.TimeoutException.__proto__), + message: dart.finalFieldType(dart.nullable(core.String)), + duration: dart.finalFieldType(dart.nullable(core.Duration)) +})); +dart.defineExtensionMethods(async.TimeoutException, ['toString']); +const _is_Completer_default = Symbol('_is_Completer_default'); +async.Completer$ = dart.generic(T => { + class Completer extends core.Object { + static new() { + return new (async._AsyncCompleter$(T)).new(); + } + static sync() { + return new (async._SyncCompleter$(T)).new(); + } + } + (Completer[dart.mixinNew] = function() { + }).prototype = Completer.prototype; + dart.addTypeTests(Completer); + Completer.prototype[_is_Completer_default] = true; + dart.addTypeCaches(Completer); + dart.setLibraryUri(Completer, I[29]); + return Completer; +}); +async.Completer = async.Completer$(); +dart.addTypeTests(async.Completer, _is_Completer_default); +const _is__Completer_default = Symbol('_is__Completer_default'); +async._Completer$ = dart.generic(T => { + var _FutureOfT = () => (_FutureOfT = dart.constFn(async._Future$(T)))(); + class _Completer extends core.Object { + completeError(error, stackTrace = null) { + if (error == null) dart.nullFailed(I[68], 21, 29, "error"); + _internal.checkNotNullable(core.Object, error, "error"); + if (!dart.test(this.future[_mayComplete])) dart.throw(new core.StateError.new("Future already completed")); + let replacement = async.Zone.current.errorCallback(error, stackTrace); + if (replacement != null) { + error = replacement.error; + stackTrace = replacement.stackTrace; + } else { + stackTrace == null ? stackTrace = async.AsyncError.defaultStackTrace(error) : null; + } + if (stackTrace == null) dart.throw("unreachable"); + this[_completeError](error, stackTrace); + } + get isCompleted() { + return !dart.test(this.future[_mayComplete]); + } + } + (_Completer.new = function() { + this.future = new (_FutureOfT()).new(); + ; + }).prototype = _Completer.prototype; + dart.addTypeTests(_Completer); + _Completer.prototype[_is__Completer_default] = true; + dart.addTypeCaches(_Completer); + _Completer[dart.implements] = () => [async.Completer$(T)]; + dart.setMethodSignature(_Completer, () => ({ + __proto__: dart.getMethods(_Completer.__proto__), + completeError: dart.fnType(dart.void, [core.Object], [dart.nullable(core.StackTrace)]) + })); + dart.setGetterSignature(_Completer, () => ({ + __proto__: dart.getGetters(_Completer.__proto__), + isCompleted: core.bool + })); + dart.setLibraryUri(_Completer, I[29]); + dart.setFieldSignature(_Completer, () => ({ + __proto__: dart.getFields(_Completer.__proto__), + future: dart.finalFieldType(async._Future$(T)) + })); + return _Completer; +}); +async._Completer = async._Completer$(); +dart.addTypeTests(async._Completer, _is__Completer_default); +const _is__AsyncCompleter_default = Symbol('_is__AsyncCompleter_default'); +async._AsyncCompleter$ = dart.generic(T => { + var FutureOrOfT = () => (FutureOrOfT = dart.constFn(async.FutureOr$(T)))(); + var FutureOrNOfT = () => (FutureOrNOfT = dart.constFn(dart.nullable(FutureOrOfT())))(); + class _AsyncCompleter extends async._Completer$(T) { + complete(value = null) { + FutureOrNOfT().as(value); + if (!dart.test(this.future[_mayComplete])) dart.throw(new core.StateError.new("Future already completed")); + this.future[_asyncComplete](FutureOrOfT().as(value == null ? value : value)); + } + [_completeError](error, stackTrace) { + if (error == null) dart.nullFailed(I[68], 49, 30, "error"); + if (stackTrace == null) dart.nullFailed(I[68], 49, 48, "stackTrace"); + this.future[_asyncCompleteError](error, stackTrace); + } + } + (_AsyncCompleter.new = function() { + _AsyncCompleter.__proto__.new.call(this); + ; + }).prototype = _AsyncCompleter.prototype; + dart.addTypeTests(_AsyncCompleter); + _AsyncCompleter.prototype[_is__AsyncCompleter_default] = true; + dart.addTypeCaches(_AsyncCompleter); + dart.setMethodSignature(_AsyncCompleter, () => ({ + __proto__: dart.getMethods(_AsyncCompleter.__proto__), + complete: dart.fnType(dart.void, [], [dart.nullable(core.Object)]), + [_completeError]: dart.fnType(dart.void, [core.Object, core.StackTrace]) + })); + dart.setLibraryUri(_AsyncCompleter, I[29]); + return _AsyncCompleter; +}); +async._AsyncCompleter = async._AsyncCompleter$(); +dart.addTypeTests(async._AsyncCompleter, _is__AsyncCompleter_default); +const _is__SyncCompleter_default = Symbol('_is__SyncCompleter_default'); +async._SyncCompleter$ = dart.generic(T => { + var FutureOrOfT = () => (FutureOrOfT = dart.constFn(async.FutureOr$(T)))(); + var FutureOrNOfT = () => (FutureOrNOfT = dart.constFn(dart.nullable(FutureOrOfT())))(); + class _SyncCompleter extends async._Completer$(T) { + complete(value = null) { + FutureOrNOfT().as(value); + if (!dart.test(this.future[_mayComplete])) dart.throw(new core.StateError.new("Future already completed")); + this.future[_complete](FutureOrOfT().as(value == null ? value : value)); + } + [_completeError](error, stackTrace) { + if (error == null) dart.nullFailed(I[68], 60, 30, "error"); + if (stackTrace == null) dart.nullFailed(I[68], 60, 48, "stackTrace"); + this.future[_completeError](error, stackTrace); + } + } + (_SyncCompleter.new = function() { + _SyncCompleter.__proto__.new.call(this); + ; + }).prototype = _SyncCompleter.prototype; + dart.addTypeTests(_SyncCompleter); + _SyncCompleter.prototype[_is__SyncCompleter_default] = true; + dart.addTypeCaches(_SyncCompleter); + dart.setMethodSignature(_SyncCompleter, () => ({ + __proto__: dart.getMethods(_SyncCompleter.__proto__), + complete: dart.fnType(dart.void, [], [dart.nullable(core.Object)]), + [_completeError]: dart.fnType(dart.void, [core.Object, core.StackTrace]) + })); + dart.setLibraryUri(_SyncCompleter, I[29]); + return _SyncCompleter; +}); +async._SyncCompleter = async._SyncCompleter$(); +dart.addTypeTests(async._SyncCompleter, _is__SyncCompleter_default); +var _nextListener = dart.privateName(async, "_nextListener"); +var _onValue = dart.privateName(async, "_onValue"); +var _errorTest = dart.privateName(async, "_errorTest"); +var _whenCompleteAction = dart.privateName(async, "_whenCompleteAction"); +const _is__FutureListener_default = Symbol('_is__FutureListener_default'); +async._FutureListener$ = dart.generic((S, T) => { + var SToFutureOrOfT = () => (SToFutureOrOfT = dart.constFn(dart.fnType(FutureOrOfT(), [S])))(); + var FutureOrOfT = () => (FutureOrOfT = dart.constFn(async.FutureOr$(T)))(); + var FutureOfT = () => (FutureOfT = dart.constFn(async.Future$(T)))(); + class _FutureListener extends core.Object { + get [_zone$]() { + return this.result[_zone$]; + } + get handlesValue() { + return (dart.notNull(this.state) & 1) !== 0; + } + get handlesError() { + return (dart.notNull(this.state) & 2) !== 0; + } + get hasErrorTest() { + return (dart.notNull(this.state) & 15) >>> 0 === 6; + } + get handlesComplete() { + return (dart.notNull(this.state) & 15) >>> 0 === 8; + } + get isAwait() { + return (dart.notNull(this.state) & 16) !== 0; + } + get [_onValue]() { + if (!dart.test(this.handlesValue)) dart.assertFailed(null, I[68], 128, 12, "handlesValue"); + return SToFutureOrOfT().as(this.callback); + } + get [_onError]() { + return this.errorCallback; + } + get [_errorTest]() { + if (!dart.test(this.hasErrorTest)) dart.assertFailed(null, I[68], 135, 12, "hasErrorTest"); + return T$.ObjectTobool().as(this.callback); + } + get [_whenCompleteAction]() { + if (!dart.test(this.handlesComplete)) dart.assertFailed(null, I[68], 140, 12, "handlesComplete"); + return T$.VoidTodynamic().as(this.callback); + } + get hasErrorCallback() { + if (!dart.test(this.handlesError)) dart.assertFailed(null, I[68], 148, 12, "handlesError"); + return this[_onError] != null; + } + handleValue(sourceResult) { + S.as(sourceResult); + return this[_zone$].runUnary(FutureOrOfT(), S, this[_onValue], sourceResult); + } + matchesErrorTest(asyncError) { + if (asyncError == null) dart.nullFailed(I[68], 158, 36, "asyncError"); + if (!dart.test(this.hasErrorTest)) return true; + return this[_zone$].runUnary(core.bool, core.Object, this[_errorTest], asyncError.error); + } + handleError(asyncError) { + if (asyncError == null) dart.nullFailed(I[68], 163, 38, "asyncError"); + if (!(dart.test(this.handlesError) && dart.test(this.hasErrorCallback))) dart.assertFailed(null, I[68], 164, 12, "handlesError && hasErrorCallback"); + let errorCallback = this.errorCallback; + if (T$.ObjectAndStackTraceTodynamic().is(errorCallback)) { + return FutureOrOfT().as(this[_zone$].runBinary(dart.dynamic, core.Object, core.StackTrace, errorCallback, asyncError.error, asyncError.stackTrace)); + } else { + return FutureOrOfT().as(this[_zone$].runUnary(dart.dynamic, core.Object, T$.ObjectTodynamic().as(errorCallback), asyncError.error)); + } + } + handleWhenComplete() { + if (!!dart.test(this.handlesError)) dart.assertFailed(null, I[68], 178, 12, "!handlesError"); + return this[_zone$].run(dart.dynamic, this[_whenCompleteAction]); + } + shouldChain(value) { + if (value == null) dart.nullFailed(I[68], 185, 36, "value"); + return FutureOfT().is(value) || !T.is(value); + } + } + (_FutureListener.then = function(result, onValue, errorCallback) { + if (result == null) dart.nullFailed(I[68], 100, 12, "result"); + if (onValue == null) dart.nullFailed(I[68], 100, 44, "onValue"); + this[_nextListener] = null; + this.result = result; + this.callback = onValue; + this.errorCallback = errorCallback; + this.state = errorCallback == null ? 1 : 3; + ; + }).prototype = _FutureListener.prototype; + (_FutureListener.thenAwait = function(result, onValue, errorCallback) { + if (result == null) dart.nullFailed(I[68], 106, 12, "result"); + if (onValue == null) dart.nullFailed(I[68], 106, 41, "onValue"); + if (errorCallback == null) dart.nullFailed(I[68], 106, 59, "errorCallback"); + this[_nextListener] = null; + this.result = result; + this.callback = onValue; + this.errorCallback = errorCallback; + this.state = ((errorCallback == null ? 1 : 3) | 16) >>> 0; + ; + }).prototype = _FutureListener.prototype; + (_FutureListener.catchError = function(result, errorCallback, callback) { + if (result == null) dart.nullFailed(I[68], 112, 35, "result"); + this[_nextListener] = null; + this.result = result; + this.errorCallback = errorCallback; + this.callback = callback; + this.state = callback == null ? 2 : 6; + ; + }).prototype = _FutureListener.prototype; + (_FutureListener.whenComplete = function(result, callback) { + if (result == null) dart.nullFailed(I[68], 115, 37, "result"); + this[_nextListener] = null; + this.result = result; + this.callback = callback; + this.errorCallback = null; + this.state = 8; + ; + }).prototype = _FutureListener.prototype; + dart.addTypeTests(_FutureListener); + _FutureListener.prototype[_is__FutureListener_default] = true; + dart.addTypeCaches(_FutureListener); + dart.setMethodSignature(_FutureListener, () => ({ + __proto__: dart.getMethods(_FutureListener.__proto__), + handleValue: dart.fnType(async.FutureOr$(T), [dart.nullable(core.Object)]), + matchesErrorTest: dart.fnType(core.bool, [async.AsyncError]), + handleError: dart.fnType(async.FutureOr$(T), [async.AsyncError]), + handleWhenComplete: dart.fnType(dart.dynamic, []), + shouldChain: dart.fnType(core.bool, [async.Future]) + })); + dart.setGetterSignature(_FutureListener, () => ({ + __proto__: dart.getGetters(_FutureListener.__proto__), + [_zone$]: async._Zone, + handlesValue: core.bool, + handlesError: core.bool, + hasErrorTest: core.bool, + handlesComplete: core.bool, + isAwait: core.bool, + [_onValue]: dart.fnType(async.FutureOr$(T), [S]), + [_onError]: dart.nullable(core.Function), + [_errorTest]: dart.fnType(core.bool, [core.Object]), + [_whenCompleteAction]: dart.fnType(dart.dynamic, []), + hasErrorCallback: core.bool + })); + dart.setLibraryUri(_FutureListener, I[29]); + dart.setFieldSignature(_FutureListener, () => ({ + __proto__: dart.getFields(_FutureListener.__proto__), + [_nextListener]: dart.fieldType(dart.nullable(async._FutureListener)), + result: dart.finalFieldType(async._Future$(T)), + state: dart.finalFieldType(core.int), + callback: dart.finalFieldType(dart.nullable(core.Function)), + errorCallback: dart.finalFieldType(dart.nullable(core.Function)) + })); + return _FutureListener; +}); +async._FutureListener = async._FutureListener$(); +dart.defineLazy(async._FutureListener, { + /*async._FutureListener.maskValue*/get maskValue() { + return 1; + }, + /*async._FutureListener.maskError*/get maskError() { + return 2; + }, + /*async._FutureListener.maskTestError*/get maskTestError() { + return 4; + }, + /*async._FutureListener.maskWhenComplete*/get maskWhenComplete() { + return 8; + }, + /*async._FutureListener.stateChain*/get stateChain() { + return 0; + }, + /*async._FutureListener.stateThen*/get stateThen() { + return 1; + }, + /*async._FutureListener.stateThenOnerror*/get stateThenOnerror() { + return 3; + }, + /*async._FutureListener.stateCatchError*/get stateCatchError() { + return 2; + }, + /*async._FutureListener.stateCatchErrorTest*/get stateCatchErrorTest() { + return 6; + }, + /*async._FutureListener.stateWhenComplete*/get stateWhenComplete() { + return 8; + }, + /*async._FutureListener.maskType*/get maskType() { + return 15; + }, + /*async._FutureListener.stateIsAwait*/get stateIsAwait() { + return 16; + } +}, false); +dart.addTypeTests(async._FutureListener, _is__FutureListener_default); +var _resultOrListeners = dart.privateName(async, "_resultOrListeners"); +var _setValue = dart.privateName(async, "_setValue"); +var _isPendingComplete = dart.privateName(async, "_isPendingComplete"); +var _mayAddListener = dart.privateName(async, "_mayAddListener"); +var _isChained = dart.privateName(async, "_isChained"); +var _isComplete = dart.privateName(async, "_isComplete"); +var _hasError = dart.privateName(async, "_hasError"); +var _setChained = dart.privateName(async, "_setChained"); +var _setPendingComplete = dart.privateName(async, "_setPendingComplete"); +var _clearPendingComplete = dart.privateName(async, "_clearPendingComplete"); +var _error = dart.privateName(async, "_error"); +var _chainSource = dart.privateName(async, "_chainSource"); +var _setErrorObject = dart.privateName(async, "_setErrorObject"); +var _setError = dart.privateName(async, "_setError"); +var _cloneResult = dart.privateName(async, "_cloneResult"); +var _prependListeners = dart.privateName(async, "_prependListeners"); +var _reverseListeners = dart.privateName(async, "_reverseListeners"); +var _removeListeners = dart.privateName(async, "_removeListeners"); +var _chainFuture = dart.privateName(async, "_chainFuture"); +var _asyncCompleteWithValue = dart.privateName(async, "_asyncCompleteWithValue"); +const _is__Future_default = Symbol('_is__Future_default'); +async._Future$ = dart.generic(T => { + var _FutureOfT = () => (_FutureOfT = dart.constFn(async._Future$(T)))(); + var _FutureListenerOfT$T = () => (_FutureListenerOfT$T = dart.constFn(async._FutureListener$(T, T)))(); + var StreamOfT = () => (StreamOfT = dart.constFn(async.Stream$(T)))(); + var FutureOrOfT = () => (FutureOrOfT = dart.constFn(async.FutureOr$(T)))(); + var FutureOfT = () => (FutureOfT = dart.constFn(async.Future$(T)))(); + var VoidToFutureOrOfT = () => (VoidToFutureOrOfT = dart.constFn(dart.fnType(FutureOrOfT(), [])))(); + var VoidToNFutureOrOfT = () => (VoidToNFutureOrOfT = dart.constFn(dart.nullable(VoidToFutureOrOfT())))(); + var TToNull = () => (TToNull = dart.constFn(dart.fnType(core.Null, [T])))(); + class _Future extends core.Object { + get [_mayComplete]() { + return this[_state] === 0; + } + get [_isPendingComplete]() { + return this[_state] === 1; + } + get [_mayAddListener]() { + return dart.notNull(this[_state]) <= 1; + } + get [_isChained]() { + return this[_state] === 2; + } + get [_isComplete]() { + return dart.notNull(this[_state]) >= 4; + } + get [_hasError]() { + return this[_state] === 8; + } + static _continuationFunctions(future) { + let t108; + if (future == null) dart.nullFailed(I[68], 263, 65, "future"); + let result = null; + while (true) { + if (dart.test(future[_mayAddListener])) return result; + if (!!dart.test(future[_isComplete])) dart.assertFailed(null, I[68], 267, 14, "!future._isComplete"); + if (!!dart.test(future[_isChained])) dart.assertFailed(null, I[68], 268, 14, "!future._isChained"); + let listener = T$._FutureListenerNOfObject$Object().as(future[_resultOrListeners]); + if (listener != null && listener[_nextListener] == null && dart.test(listener.isAwait)) { + (t108 = result, t108 == null ? result = T$.JSArrayOfFunction().of([]) : t108)[$add](dart.bind(listener, 'handleValue')); + future = listener.result; + if (!!dart.test(future[_isComplete])) dart.assertFailed(null, I[68], 276, 16, "!future._isComplete"); + } else { + break; + } + } + return result; + } + [_setChained](source) { + if (source == null) dart.nullFailed(I[68], 284, 28, "source"); + if (!dart.test(this[_mayAddListener])) dart.assertFailed(null, I[68], 285, 12, "_mayAddListener"); + this[_state] = 2; + this[_resultOrListeners] = source; + } + then(R, f, opts) { + if (f == null) dart.nullFailed(I[68], 290, 33, "f"); + let onError = opts && 'onError' in opts ? opts.onError : null; + let currentZone = async.Zone.current; + if (currentZone != async._rootZone) { + f = currentZone.registerUnaryCallback(async.FutureOr$(R), T, f); + if (onError != null) { + onError = async._registerErrorHandler(onError, currentZone); + } + } + let result = new (async._Future$(R)).new(); + this[_addListener](new (async._FutureListener$(T, R)).then(result, f, onError)); + return result; + } + [_thenAwait](E, f, onError) { + if (f == null) dart.nullFailed(I[68], 312, 39, "f"); + if (onError == null) dart.nullFailed(I[68], 312, 60, "onError"); + let result = new (async._Future$(E)).new(); + this[_addListener](new (async._FutureListener$(T, E)).thenAwait(result, f, onError)); + return result; + } + catchError(onError, opts) { + if (onError == null) dart.nullFailed(I[68], 318, 33, "onError"); + let test = opts && 'test' in opts ? opts.test : null; + let result = new (_FutureOfT()).new(); + if (result[_zone$] != async._rootZone) { + onError = async._registerErrorHandler(onError, result[_zone$]); + if (test != null) test = result[_zone$].registerUnaryCallback(core.bool, core.Object, test); + } + this[_addListener](new (_FutureListenerOfT$T()).catchError(result, onError, test)); + return result; + } + whenComplete(action) { + if (action == null) dart.nullFailed(I[68], 328, 34, "action"); + let result = new (_FutureOfT()).new(); + if (result[_zone$] != async._rootZone) { + action = result[_zone$].registerCallback(dart.dynamic, action); + } + this[_addListener](new (_FutureListenerOfT$T()).whenComplete(result, action)); + return result; + } + asStream() { + return StreamOfT().fromFuture(this); + } + [_setPendingComplete]() { + if (!dart.test(this[_mayComplete])) dart.assertFailed(null, I[68], 340, 12, "_mayComplete"); + this[_state] = 1; + } + [_clearPendingComplete]() { + if (!dart.test(this[_isPendingComplete])) dart.assertFailed(null, I[68], 345, 12, "_isPendingComplete"); + this[_state] = 0; + } + get [_error]() { + if (!dart.test(this[_hasError])) dart.assertFailed(null, I[68], 350, 12, "_hasError"); + return async.AsyncError.as(this[_resultOrListeners]); + } + get [_chainSource]() { + if (!dart.test(this[_isChained])) dart.assertFailed(null, I[68], 355, 12, "_isChained"); + return async._Future.as(this[_resultOrListeners]); + } + [_setValue](value) { + T.as(value); + if (!!dart.test(this[_isComplete])) dart.assertFailed(null, I[68], 361, 12, "!_isComplete"); + this[_state] = 4; + this[_resultOrListeners] = value; + } + [_setErrorObject](error) { + if (error == null) dart.nullFailed(I[68], 366, 35, "error"); + if (!!dart.test(this[_isComplete])) dart.assertFailed(null, I[68], 367, 12, "!_isComplete"); + this[_state] = 8; + this[_resultOrListeners] = error; + } + [_setError](error, stackTrace) { + if (error == null) dart.nullFailed(I[68], 372, 25, "error"); + if (stackTrace == null) dart.nullFailed(I[68], 372, 43, "stackTrace"); + this[_setErrorObject](new async.AsyncError.new(error, stackTrace)); + } + [_cloneResult](source) { + if (source == null) dart.nullFailed(I[68], 379, 29, "source"); + if (!!dart.test(this[_isComplete])) dart.assertFailed(null, I[68], 380, 12, "!_isComplete"); + if (!dart.test(source[_isComplete])) dart.assertFailed(null, I[68], 381, 12, "source._isComplete"); + this[_state] = source[_state]; + this[_resultOrListeners] = source[_resultOrListeners]; + } + [_addListener](listener) { + if (listener == null) dart.nullFailed(I[68], 386, 37, "listener"); + if (!(listener[_nextListener] == null)) dart.assertFailed(null, I[68], 387, 12, "listener._nextListener == null"); + if (dart.test(this[_mayAddListener])) { + listener[_nextListener] = T$._FutureListenerN().as(this[_resultOrListeners]); + this[_resultOrListeners] = listener; + } else { + if (dart.test(this[_isChained])) { + let source = this[_chainSource]; + if (!dart.test(source[_isComplete])) { + source[_addListener](listener); + return; + } + this[_cloneResult](source); + } + if (!dart.test(this[_isComplete])) dart.assertFailed(null, I[68], 403, 14, "_isComplete"); + this[_zone$].scheduleMicrotask(dart.fn(() => { + async._Future._propagateToListeners(this, listener); + }, T$.VoidTovoid())); + } + } + [_prependListeners](listeners) { + if (listeners == null) return; + if (dart.test(this[_mayAddListener])) { + let existingListeners = T$._FutureListenerN().as(this[_resultOrListeners]); + this[_resultOrListeners] = listeners; + if (existingListeners != null) { + let cursor = listeners; + let next = cursor[_nextListener]; + while (next != null) { + cursor = next; + next = cursor[_nextListener]; + } + cursor[_nextListener] = existingListeners; + } + } else { + if (dart.test(this[_isChained])) { + let source = this[_chainSource]; + if (!dart.test(source[_isComplete])) { + source[_prependListeners](listeners); + return; + } + this[_cloneResult](source); + } + if (!dart.test(this[_isComplete])) dart.assertFailed(null, I[68], 437, 14, "_isComplete"); + listeners = this[_reverseListeners](listeners); + this[_zone$].scheduleMicrotask(dart.fn(() => { + async._Future._propagateToListeners(this, listeners); + }, T$.VoidTovoid())); + } + } + [_removeListeners]() { + if (!!dart.test(this[_isComplete])) dart.assertFailed(null, I[68], 448, 12, "!_isComplete"); + let current = T$._FutureListenerN().as(this[_resultOrListeners]); + this[_resultOrListeners] = null; + return this[_reverseListeners](current); + } + [_reverseListeners](listeners) { + let prev = null; + let current = listeners; + while (current != null) { + let next = current[_nextListener]; + current[_nextListener] = prev; + prev = current; + current = next; + } + return prev; + } + [_chainForeignFuture](source) { + if (source == null) dart.nullFailed(I[68], 470, 35, "source"); + if (!!dart.test(this[_isComplete])) dart.assertFailed(null, I[68], 471, 12, "!_isComplete"); + if (!!async._Future.is(source)) dart.assertFailed(null, I[68], 472, 12, "source is! _Future"); + this[_setPendingComplete](); + try { + source.then(core.Null, dart.fn(value => { + if (!dart.test(this[_isPendingComplete])) dart.assertFailed(null, I[68], 478, 16, "_isPendingComplete"); + this[_clearPendingComplete](); + try { + this[_completeWithValue](T.as(value)); + } catch (e) { + let error = dart.getThrown(e); + let stackTrace = dart.stackTrace(e); + if (core.Object.is(error)) { + this[_completeError](error, stackTrace); + } else + throw e; + } + }, T$.dynamicToNull()), {onError: dart.fn((error, stackTrace) => { + if (error == null) dart.nullFailed(I[68], 485, 27, "error"); + if (stackTrace == null) dart.nullFailed(I[68], 485, 45, "stackTrace"); + if (!dart.test(this[_isPendingComplete])) dart.assertFailed(null, I[68], 486, 16, "_isPendingComplete"); + this[_completeError](error, stackTrace); + }, T$.ObjectAndStackTraceToNull())}); + } catch (e$) { + let e = dart.getThrown(e$); + let s = dart.stackTrace(e$); + if (core.Object.is(e)) { + async.scheduleMicrotask(dart.fn(() => { + this[_completeError](e, s); + }, T$.VoidTovoid())); + } else + throw e$; + } + } + static _chainCoreFuture(source, target) { + if (source == null) dart.nullFailed(I[68], 502, 40, "source"); + if (target == null) dart.nullFailed(I[68], 502, 56, "target"); + if (!dart.test(target[_mayAddListener])) dart.assertFailed(null, I[68], 503, 12, "target._mayAddListener"); + while (dart.test(source[_isChained])) { + source = source[_chainSource]; + } + if (dart.test(source[_isComplete])) { + let listeners = target[_removeListeners](); + target[_cloneResult](source); + async._Future._propagateToListeners(target, listeners); + } else { + let listeners = T$._FutureListenerN().as(target[_resultOrListeners]); + target[_setChained](source); + source[_prependListeners](listeners); + } + } + [_complete](value) { + FutureOrOfT().as(value); + if (!!dart.test(this[_isComplete])) dart.assertFailed(null, I[68], 519, 12, "!_isComplete"); + if (FutureOfT().is(value)) { + if (_FutureOfT().is(value)) { + async._Future._chainCoreFuture(value, this); + } else { + this[_chainForeignFuture](value); + } + } else { + let listeners = this[_removeListeners](); + this[_setValue](T.as(value)); + async._Future._propagateToListeners(this, listeners); + } + } + [_completeWithValue](value) { + T.as(value); + if (!!dart.test(this[_isComplete])) dart.assertFailed(null, I[68], 538, 12, "!_isComplete"); + let listeners = this[_removeListeners](); + this[_setValue](value); + async._Future._propagateToListeners(this, listeners); + } + [_completeError](error, stackTrace) { + if (error == null) dart.nullFailed(I[68], 545, 30, "error"); + if (stackTrace == null) dart.nullFailed(I[68], 545, 48, "stackTrace"); + if (!!dart.test(this[_isComplete])) dart.assertFailed(null, I[68], 546, 12, "!_isComplete"); + let listeners = this[_removeListeners](); + this[_setError](error, stackTrace); + async._Future._propagateToListeners(this, listeners); + } + [_asyncComplete](value) { + FutureOrOfT().as(value); + if (!!dart.test(this[_isComplete])) dart.assertFailed(null, I[68], 554, 12, "!_isComplete"); + if (FutureOfT().is(value)) { + this[_chainFuture](value); + return; + } + this[_asyncCompleteWithValue](T.as(value)); + } + [_asyncCompleteWithValue](value) { + T.as(value); + this[_setPendingComplete](); + this[_zone$].scheduleMicrotask(dart.fn(() => { + this[_completeWithValue](value); + }, T$.VoidTovoid())); + } + [_chainFuture](value) { + if (value == null) dart.nullFailed(I[68], 584, 31, "value"); + if (_FutureOfT().is(value)) { + if (dart.test(value[_hasError])) { + this[_setPendingComplete](); + this[_zone$].scheduleMicrotask(dart.fn(() => { + async._Future._chainCoreFuture(value, this); + }, T$.VoidTovoid())); + } else { + async._Future._chainCoreFuture(value, this); + } + return; + } + this[_chainForeignFuture](value); + } + [_asyncCompleteError](error, stackTrace) { + if (error == null) dart.nullFailed(I[68], 601, 35, "error"); + if (stackTrace == null) dart.nullFailed(I[68], 601, 53, "stackTrace"); + if (!!dart.test(this[_isComplete])) dart.assertFailed(null, I[68], 602, 12, "!_isComplete"); + this[_setPendingComplete](); + this[_zone$].scheduleMicrotask(dart.fn(() => { + this[_completeError](error, stackTrace); + }, T$.VoidTovoid())); + } + static _propagateToListeners(source, listeners) { + if (source == null) dart.nullFailed(I[68], 613, 15, "source"); + while (true) { + if (!dart.test(source[_isComplete])) dart.assertFailed(null, I[68], 615, 14, "source._isComplete"); + let hasError = source[_hasError]; + if (listeners == null) { + if (dart.test(hasError)) { + let asyncError = source[_error]; + source[_zone$].handleUncaughtError(asyncError.error, asyncError.stackTrace); + } + return; + } + let listener = listeners; + let nextListener = listener[_nextListener]; + while (nextListener != null) { + listener[_nextListener] = null; + async._Future._propagateToListeners(source, listener); + listener = nextListener; + nextListener = listener[_nextListener]; + } + let sourceResult = source[_resultOrListeners]; + let listenerHasError = hasError; + let listenerValueOrError = sourceResult; + if (dart.test(hasError) || dart.test(listener.handlesValue) || dart.test(listener.handlesComplete)) { + let zone = listener[_zone$]; + if (dart.test(hasError) && !dart.test(source[_zone$].inSameErrorZone(zone))) { + let asyncError = source[_error]; + source[_zone$].handleUncaughtError(asyncError.error, asyncError.stackTrace); + return; + } + let oldZone = null; + if (async.Zone._current != zone) { + oldZone = async.Zone._enter(zone); + } + function handleWhenCompleteCallback() { + if (!!dart.test(listener.handlesValue)) dart.assertFailed(null, I[68], 673, 18, "!listener.handlesValue"); + if (!!dart.test(listener.handlesError)) dart.assertFailed(null, I[68], 674, 18, "!listener.handlesError"); + let completeResult = null; + try { + completeResult = listener.handleWhenComplete(); + } catch (e$) { + let e = dart.getThrown(e$); + let s = dart.stackTrace(e$); + if (core.Object.is(e)) { + if (dart.test(hasError) && core.identical(source[_error].error, e)) { + listenerValueOrError = source[_error]; + } else { + listenerValueOrError = new async.AsyncError.new(e, s); + } + listenerHasError = true; + return; + } else + throw e$; + } + if (async._Future.is(completeResult) && dart.test(completeResult[_isComplete])) { + if (dart.test(completeResult[_hasError])) { + listenerValueOrError = completeResult[_error]; + listenerHasError = true; + } + return; + } + if (async.Future.is(completeResult)) { + let originalSource = source; + listenerValueOrError = completeResult.then(dart.dynamic, dart.fn(_ => originalSource, T$.dynamicTo_Future())); + listenerHasError = false; + } + } + dart.fn(handleWhenCompleteCallback, T$.VoidTovoid()); + function handleValueCallback() { + try { + listenerValueOrError = listener.handleValue(sourceResult); + } catch (e$) { + let e = dart.getThrown(e$); + let s = dart.stackTrace(e$); + if (core.Object.is(e)) { + listenerValueOrError = new async.AsyncError.new(e, s); + listenerHasError = true; + } else + throw e$; + } + } + dart.fn(handleValueCallback, T$.VoidTovoid()); + function handleError() { + try { + let asyncError = source[_error]; + if (dart.test(listener.matchesErrorTest(asyncError)) && dart.test(listener.hasErrorCallback)) { + listenerValueOrError = listener.handleError(asyncError); + listenerHasError = false; + } + } catch (e$) { + let e = dart.getThrown(e$); + let s = dart.stackTrace(e$); + if (core.Object.is(e)) { + if (core.identical(source[_error].error, e)) { + listenerValueOrError = source[_error]; + } else { + listenerValueOrError = new async.AsyncError.new(e, s); + } + listenerHasError = true; + } else + throw e$; + } + } + dart.fn(handleError, T$.VoidTovoid()); + if (dart.test(listener.handlesComplete)) { + handleWhenCompleteCallback(); + } else if (!dart.test(hasError)) { + if (dart.test(listener.handlesValue)) { + handleValueCallback(); + } + } else { + if (dart.test(listener.handlesError)) { + handleError(); + } + } + if (oldZone != null) async.Zone._leave(oldZone); + if (async.Future.is(listenerValueOrError) && dart.test(listener.shouldChain(async.Future.as(listenerValueOrError)))) { + let chainSource = async.Future.as(listenerValueOrError); + let result = listener.result; + if (async._Future.is(chainSource)) { + if (dart.test(chainSource[_isComplete])) { + listeners = result[_removeListeners](); + result[_cloneResult](chainSource); + source = chainSource; + continue; + } else { + async._Future._chainCoreFuture(chainSource, result); + } + } else { + result[_chainForeignFuture](chainSource); + } + return; + } + } + let result = listener.result; + listeners = result[_removeListeners](); + if (!dart.test(listenerHasError)) { + result[_setValue](listenerValueOrError); + } else { + let asyncError = async.AsyncError.as(listenerValueOrError); + result[_setErrorObject](asyncError); + } + source = result; + } + } + timeout(timeLimit, opts) { + if (timeLimit == null) dart.nullFailed(I[68], 786, 30, "timeLimit"); + let onTimeout = opts && 'onTimeout' in opts ? opts.onTimeout : null; + VoidToNFutureOrOfT().as(onTimeout); + if (dart.test(this[_isComplete])) return new (_FutureOfT()).immediate(this); + let _future = new (_FutureOfT()).new(); + let timer = null; + if (onTimeout == null) { + timer = async.Timer.new(timeLimit, dart.fn(() => { + _future[_completeError](new async.TimeoutException.new("Future not completed", timeLimit), core.StackTrace.empty); + }, T$.VoidTovoid())); + } else { + let zone = async.Zone.current; + let onTimeoutHandler = zone.registerCallback(FutureOrOfT(), onTimeout); + timer = async.Timer.new(timeLimit, dart.fn(() => { + try { + _future[_complete](zone.run(FutureOrOfT(), onTimeoutHandler)); + } catch (e$) { + let e = dart.getThrown(e$); + let s = dart.stackTrace(e$); + if (core.Object.is(e)) { + _future[_completeError](e, s); + } else + throw e$; + } + }, T$.VoidTovoid())); + } + this.then(core.Null, dart.fn(v => { + if (dart.test(timer.isActive)) { + timer.cancel(); + _future[_completeWithValue](v); + } + }, TToNull()), {onError: dart.fn((e, s) => { + if (e == null) dart.nullFailed(I[68], 816, 25, "e"); + if (s == null) dart.nullFailed(I[68], 816, 39, "s"); + if (dart.test(timer.isActive)) { + timer.cancel(); + _future[_completeError](e, s); + } + }, T$.ObjectAndStackTraceToNull())}); + return _future; + } + } + (_Future.new = function() { + this[_state] = 0; + this[_resultOrListeners] = null; + this[_zone$] = async.Zone._current; + ; + }).prototype = _Future.prototype; + (_Future.immediate = function(result) { + this[_state] = 0; + this[_resultOrListeners] = null; + this[_zone$] = async.Zone._current; + this[_asyncComplete](result); + }).prototype = _Future.prototype; + (_Future.zoneValue = function(value, _zone) { + if (_zone == null) dart.nullFailed(I[68], 244, 35, "_zone"); + this[_state] = 0; + this[_resultOrListeners] = null; + this[_zone$] = _zone; + this[_setValue](value); + }).prototype = _Future.prototype; + (_Future.immediateError = function(error, stackTrace) { + if (stackTrace == null) dart.nullFailed(I[68], 248, 48, "stackTrace"); + this[_state] = 0; + this[_resultOrListeners] = null; + this[_zone$] = async.Zone._current; + this[_asyncCompleteError](core.Object.as(error), stackTrace); + }).prototype = _Future.prototype; + (_Future.value = function(value) { + _Future.zoneValue.call(this, value, async.Zone._current); + }).prototype = _Future.prototype; + _Future.prototype[dart.isFuture] = true; + dart.addTypeTests(_Future); + _Future.prototype[_is__Future_default] = true; + dart.addTypeCaches(_Future); + _Future[dart.implements] = () => [async.Future$(T)]; + dart.setMethodSignature(_Future, () => ({ + __proto__: dart.getMethods(_Future.__proto__), + [_setChained]: dart.fnType(dart.void, [async._Future]), + then: dart.gFnType(R => [async.Future$(R), [dart.fnType(async.FutureOr$(R), [T])], {onError: dart.nullable(core.Function)}, {}], R => [dart.nullable(core.Object)]), + [_thenAwait]: dart.gFnType(E => [async.Future$(E), [dart.fnType(async.FutureOr$(E), [T]), core.Function]], E => [dart.nullable(core.Object)]), + catchError: dart.fnType(async.Future$(T), [core.Function], {test: dart.nullable(dart.fnType(core.bool, [core.Object]))}, {}), + whenComplete: dart.fnType(async.Future$(T), [dart.fnType(dart.dynamic, [])]), + asStream: dart.fnType(async.Stream$(T), []), + [_setPendingComplete]: dart.fnType(dart.void, []), + [_clearPendingComplete]: dart.fnType(dart.void, []), + [_setValue]: dart.fnType(dart.void, [dart.nullable(core.Object)]), + [_setErrorObject]: dart.fnType(dart.void, [async.AsyncError]), + [_setError]: dart.fnType(dart.void, [core.Object, core.StackTrace]), + [_cloneResult]: dart.fnType(dart.void, [async._Future]), + [_addListener]: dart.fnType(dart.void, [async._FutureListener]), + [_prependListeners]: dart.fnType(dart.void, [dart.nullable(async._FutureListener)]), + [_removeListeners]: dart.fnType(dart.nullable(async._FutureListener), []), + [_reverseListeners]: dart.fnType(dart.nullable(async._FutureListener), [dart.nullable(async._FutureListener)]), + [_chainForeignFuture]: dart.fnType(dart.void, [async.Future]), + [_complete]: dart.fnType(dart.void, [dart.nullable(core.Object)]), + [_completeWithValue]: dart.fnType(dart.void, [dart.nullable(core.Object)]), + [_completeError]: dart.fnType(dart.void, [core.Object, core.StackTrace]), + [_asyncComplete]: dart.fnType(dart.void, [dart.nullable(core.Object)]), + [_asyncCompleteWithValue]: dart.fnType(dart.void, [dart.nullable(core.Object)]), + [_chainFuture]: dart.fnType(dart.void, [async.Future$(T)]), + [_asyncCompleteError]: dart.fnType(dart.void, [core.Object, core.StackTrace]), + timeout: dart.fnType(async.Future$(T), [core.Duration], {onTimeout: dart.nullable(core.Object)}, {}) + })); + dart.setGetterSignature(_Future, () => ({ + __proto__: dart.getGetters(_Future.__proto__), + [_mayComplete]: core.bool, + [_isPendingComplete]: core.bool, + [_mayAddListener]: core.bool, + [_isChained]: core.bool, + [_isComplete]: core.bool, + [_hasError]: core.bool, + [_error]: async.AsyncError, + [_chainSource]: async._Future + })); + dart.setLibraryUri(_Future, I[29]); + dart.setFieldSignature(_Future, () => ({ + __proto__: dart.getFields(_Future.__proto__), + [_state]: dart.fieldType(core.int), + [_zone$]: dart.finalFieldType(async._Zone), + [_resultOrListeners]: dart.fieldType(dart.dynamic) + })); + return _Future; +}); +async._Future = async._Future$(); +dart.defineLazy(async._Future, { + /*async._Future._stateIncomplete*/get _stateIncomplete() { + return 0; + }, + /*async._Future._statePendingComplete*/get _statePendingComplete() { + return 1; + }, + /*async._Future._stateChained*/get _stateChained() { + return 2; + }, + /*async._Future._stateValue*/get _stateValue() { + return 4; + }, + /*async._Future._stateError*/get _stateError() { + return 8; + } +}, false); +dart.addTypeTests(async._Future, _is__Future_default); +async._AsyncCallbackEntry = class _AsyncCallbackEntry extends core.Object {}; +(async._AsyncCallbackEntry.new = function(callback) { + if (callback == null) dart.nullFailed(I[69], 12, 28, "callback"); + this.next = null; + this.callback = callback; + ; +}).prototype = async._AsyncCallbackEntry.prototype; +dart.addTypeTests(async._AsyncCallbackEntry); +dart.addTypeCaches(async._AsyncCallbackEntry); +dart.setLibraryUri(async._AsyncCallbackEntry, I[29]); +dart.setFieldSignature(async._AsyncCallbackEntry, () => ({ + __proto__: dart.getFields(async._AsyncCallbackEntry.__proto__), + callback: dart.finalFieldType(dart.fnType(dart.void, [])), + next: dart.fieldType(dart.nullable(async._AsyncCallbackEntry)) +})); +async._AsyncRun = class _AsyncRun extends core.Object { + static _initializeScheduleImmediate() { + if (dart.global.scheduleImmediate != null) { + return C[42] || CT.C42; + } + return C[43] || CT.C43; + } + static _scheduleImmediateJSOverride(callback) { + if (callback == null) dart.nullFailed(I[61], 153, 60, "callback"); + dart.addAsyncCallback(); + dart.global.scheduleImmediate(() => { + dart.removeAsyncCallback(); + callback(); + }); + } + static _scheduleImmediateWithPromise(callback) { + if (callback == null) dart.nullFailed(I[61], 162, 61, "callback"); + dart.addAsyncCallback(); + dart.global.Promise.resolve(null).then(() => { + dart.removeAsyncCallback(); + callback(); + }); + } + static _scheduleImmediate(callback) { + if (callback == null) dart.nullFailed(I[61], 135, 50, "callback"); + async._AsyncRun._scheduleImmediateClosure(callback); + } +}; +(async._AsyncRun.new = function() { + ; +}).prototype = async._AsyncRun.prototype; +dart.addTypeTests(async._AsyncRun); +dart.addTypeCaches(async._AsyncRun); +dart.setLibraryUri(async._AsyncRun, I[29]); +dart.defineLazy(async._AsyncRun, { + /*async._AsyncRun._scheduleImmediateClosure*/get _scheduleImmediateClosure() { + return async._AsyncRun._initializeScheduleImmediate(); + } +}, false); +async.StreamSubscription$ = dart.generic(T => { + class StreamSubscription extends core.Object {} + (StreamSubscription.new = function() { + ; + }).prototype = StreamSubscription.prototype; + dart.addTypeTests(StreamSubscription); + StreamSubscription.prototype[dart.isStreamSubscription] = true; + dart.addTypeCaches(StreamSubscription); + dart.setLibraryUri(StreamSubscription, I[29]); + return StreamSubscription; +}); +async.StreamSubscription = async.StreamSubscription$(); +dart.addTypeTests(async.StreamSubscription, dart.isStreamSubscription); +const _is_EventSink_default = Symbol('_is_EventSink_default'); +async.EventSink$ = dart.generic(T => { + class EventSink extends core.Object {} + (EventSink.new = function() { + ; + }).prototype = EventSink.prototype; + dart.addTypeTests(EventSink); + EventSink.prototype[_is_EventSink_default] = true; + dart.addTypeCaches(EventSink); + EventSink[dart.implements] = () => [core.Sink$(T)]; + dart.setLibraryUri(EventSink, I[29]); + return EventSink; +}); +async.EventSink = async.EventSink$(); +dart.addTypeTests(async.EventSink, _is_EventSink_default); +var _stream = dart.privateName(async, "StreamView._stream"); +var _stream$ = dart.privateName(async, "_stream"); +const _is_StreamView_default = Symbol('_is_StreamView_default'); +async.StreamView$ = dart.generic(T => { + class StreamView extends async.Stream$(T) { + get [_stream$]() { + return this[_stream]; + } + set [_stream$](value) { + super[_stream$] = value; + } + get isBroadcast() { + return this[_stream$].isBroadcast; + } + asBroadcastStream(opts) { + let onListen = opts && 'onListen' in opts ? opts.onListen : null; + let onCancel = opts && 'onCancel' in opts ? opts.onCancel : null; + return this[_stream$].asBroadcastStream({onListen: onListen, onCancel: onCancel}); + } + listen(onData, opts) { + let onError = opts && 'onError' in opts ? opts.onError : null; + let onDone = opts && 'onDone' in opts ? opts.onDone : null; + let cancelOnError = opts && 'cancelOnError' in opts ? opts.cancelOnError : null; + return this[_stream$].listen(onData, {onError: onError, onDone: onDone, cancelOnError: cancelOnError}); + } + } + (StreamView.new = function(stream) { + if (stream == null) dart.nullFailed(I[28], 1734, 30, "stream"); + this[_stream] = stream; + StreamView.__proto__._internal.call(this); + ; + }).prototype = StreamView.prototype; + dart.addTypeTests(StreamView); + StreamView.prototype[_is_StreamView_default] = true; + dart.addTypeCaches(StreamView); + dart.setMethodSignature(StreamView, () => ({ + __proto__: dart.getMethods(StreamView.__proto__), + listen: dart.fnType(async.StreamSubscription$(T), [dart.nullable(dart.fnType(dart.void, [T]))], {cancelOnError: dart.nullable(core.bool), onDone: dart.nullable(dart.fnType(dart.void, [])), onError: dart.nullable(core.Function)}, {}) + })); + dart.setLibraryUri(StreamView, I[29]); + dart.setFieldSignature(StreamView, () => ({ + __proto__: dart.getFields(StreamView.__proto__), + [_stream$]: dart.finalFieldType(async.Stream$(T)) + })); + return StreamView; +}); +async.StreamView = async.StreamView$(); +dart.addTypeTests(async.StreamView, _is_StreamView_default); +const _is_StreamConsumer_default = Symbol('_is_StreamConsumer_default'); +async.StreamConsumer$ = dart.generic(S => { + class StreamConsumer extends core.Object {} + (StreamConsumer.new = function() { + ; + }).prototype = StreamConsumer.prototype; + dart.addTypeTests(StreamConsumer); + StreamConsumer.prototype[_is_StreamConsumer_default] = true; + dart.addTypeCaches(StreamConsumer); + dart.setLibraryUri(StreamConsumer, I[29]); + return StreamConsumer; +}); +async.StreamConsumer = async.StreamConsumer$(); +dart.addTypeTests(async.StreamConsumer, _is_StreamConsumer_default); +const _is_StreamSink_default = Symbol('_is_StreamSink_default'); +async.StreamSink$ = dart.generic(S => { + class StreamSink extends core.Object {} + (StreamSink.new = function() { + ; + }).prototype = StreamSink.prototype; + dart.addTypeTests(StreamSink); + StreamSink.prototype[_is_StreamSink_default] = true; + dart.addTypeCaches(StreamSink); + StreamSink[dart.implements] = () => [async.EventSink$(S), async.StreamConsumer$(S)]; + dart.setLibraryUri(StreamSink, I[29]); + return StreamSink; +}); +async.StreamSink = async.StreamSink$(); +dart.addTypeTests(async.StreamSink, _is_StreamSink_default); +const _is_StreamTransformer_default = Symbol('_is_StreamTransformer_default'); +async.StreamTransformer$ = dart.generic((S, T) => { + class StreamTransformer extends core.Object { + static castFrom(SS, ST, TS, TT, source) { + if (source == null) dart.nullFailed(I[28], 2009, 33, "source"); + return new (_internal.CastStreamTransformer$(SS, ST, TS, TT)).new(source); + } + } + (StreamTransformer[dart.mixinNew] = function() { + }).prototype = StreamTransformer.prototype; + dart.addTypeTests(StreamTransformer); + StreamTransformer.prototype[_is_StreamTransformer_default] = true; + dart.addTypeCaches(StreamTransformer); + dart.setLibraryUri(StreamTransformer, I[29]); + return StreamTransformer; +}); +async.StreamTransformer = async.StreamTransformer$(); +dart.addTypeTests(async.StreamTransformer, _is_StreamTransformer_default); +const _is_StreamIterator_default = Symbol('_is_StreamIterator_default'); +async.StreamIterator$ = dart.generic(T => { + class StreamIterator extends core.Object { + static new(stream) { + if (stream == null) dart.nullFailed(I[28], 2073, 36, "stream"); + return new (async._StreamIterator$(T)).new(stream); + } + } + (StreamIterator[dart.mixinNew] = function() { + }).prototype = StreamIterator.prototype; + dart.addTypeTests(StreamIterator); + StreamIterator.prototype[_is_StreamIterator_default] = true; + dart.addTypeCaches(StreamIterator); + dart.setLibraryUri(StreamIterator, I[29]); + return StreamIterator; +}); +async.StreamIterator = async.StreamIterator$(); +dart.addTypeTests(async.StreamIterator, _is_StreamIterator_default); +var _ensureSink = dart.privateName(async, "_ensureSink"); +const _is__ControllerEventSinkWrapper_default = Symbol('_is__ControllerEventSinkWrapper_default'); +async._ControllerEventSinkWrapper$ = dart.generic(T => { + class _ControllerEventSinkWrapper extends core.Object { + [_ensureSink]() { + let sink = this[_sink$]; + if (sink == null) dart.throw(new core.StateError.new("Sink not available")); + return sink; + } + add(data) { + T.as(data); + this[_ensureSink]().add(data); + } + addError(error, stackTrace = null) { + if (error == null) dart.nullFailed(I[28], 2140, 17, "error"); + this[_ensureSink]().addError(error, stackTrace); + } + close() { + this[_ensureSink]().close(); + } + } + (_ControllerEventSinkWrapper.new = function(_sink) { + this[_sink$] = _sink; + ; + }).prototype = _ControllerEventSinkWrapper.prototype; + dart.addTypeTests(_ControllerEventSinkWrapper); + _ControllerEventSinkWrapper.prototype[_is__ControllerEventSinkWrapper_default] = true; + dart.addTypeCaches(_ControllerEventSinkWrapper); + _ControllerEventSinkWrapper[dart.implements] = () => [async.EventSink$(T)]; + dart.setMethodSignature(_ControllerEventSinkWrapper, () => ({ + __proto__: dart.getMethods(_ControllerEventSinkWrapper.__proto__), + [_ensureSink]: dart.fnType(async.EventSink, []), + add: dart.fnType(dart.void, [dart.nullable(core.Object)]), + addError: dart.fnType(dart.void, [core.Object], [dart.nullable(core.StackTrace)]), + close: dart.fnType(dart.void, []) + })); + dart.setLibraryUri(_ControllerEventSinkWrapper, I[29]); + dart.setFieldSignature(_ControllerEventSinkWrapper, () => ({ + __proto__: dart.getFields(_ControllerEventSinkWrapper.__proto__), + [_sink$]: dart.fieldType(dart.nullable(async.EventSink)) + })); + return _ControllerEventSinkWrapper; +}); +async._ControllerEventSinkWrapper = async._ControllerEventSinkWrapper$(); +dart.addTypeTests(async._ControllerEventSinkWrapper, _is__ControllerEventSinkWrapper_default); +const _is_MultiStreamController_default = Symbol('_is_MultiStreamController_default'); +async.MultiStreamController$ = dart.generic(T => { + class MultiStreamController extends core.Object {} + (MultiStreamController.new = function() { + ; + }).prototype = MultiStreamController.prototype; + dart.addTypeTests(MultiStreamController); + MultiStreamController.prototype[_is_MultiStreamController_default] = true; + dart.addTypeCaches(MultiStreamController); + MultiStreamController[dart.implements] = () => [async.StreamController$(T)]; + dart.setLibraryUri(MultiStreamController, I[29]); + return MultiStreamController; +}); +async.MultiStreamController = async.MultiStreamController$(); +dart.addTypeTests(async.MultiStreamController, _is_MultiStreamController_default); +const _is_StreamController_default = Symbol('_is_StreamController_default'); +async.StreamController$ = dart.generic(T => { + class StreamController extends core.Object { + static new(opts) { + let onListen = opts && 'onListen' in opts ? opts.onListen : null; + let onPause = opts && 'onPause' in opts ? opts.onPause : null; + let onResume = opts && 'onResume' in opts ? opts.onResume : null; + let onCancel = opts && 'onCancel' in opts ? opts.onCancel : null; + let sync = opts && 'sync' in opts ? opts.sync : false; + if (sync == null) dart.nullFailed(I[64], 73, 12, "sync"); + return dart.test(sync) ? new (async._SyncStreamController$(T)).new(onListen, onPause, onResume, onCancel) : new (async._AsyncStreamController$(T)).new(onListen, onPause, onResume, onCancel); + } + static broadcast(opts) { + let onListen = opts && 'onListen' in opts ? opts.onListen : null; + let onCancel = opts && 'onCancel' in opts ? opts.onCancel : null; + let sync = opts && 'sync' in opts ? opts.sync : false; + if (sync == null) dart.nullFailed(I[64], 129, 49, "sync"); + return dart.test(sync) ? new (async._SyncBroadcastStreamController$(T)).new(onListen, onCancel) : new (async._AsyncBroadcastStreamController$(T)).new(onListen, onCancel); + } + } + (StreamController[dart.mixinNew] = function() { + }).prototype = StreamController.prototype; + dart.addTypeTests(StreamController); + StreamController.prototype[_is_StreamController_default] = true; + dart.addTypeCaches(StreamController); + StreamController[dart.implements] = () => [async.StreamSink$(T)]; + dart.setLibraryUri(StreamController, I[29]); + return StreamController; +}); +async.StreamController = async.StreamController$(); +dart.addTypeTests(async.StreamController, _is_StreamController_default); +const _is_SynchronousStreamController_default = Symbol('_is_SynchronousStreamController_default'); +async.SynchronousStreamController$ = dart.generic(T => { + class SynchronousStreamController extends core.Object {} + (SynchronousStreamController.new = function() { + ; + }).prototype = SynchronousStreamController.prototype; + dart.addTypeTests(SynchronousStreamController); + SynchronousStreamController.prototype[_is_SynchronousStreamController_default] = true; + dart.addTypeCaches(SynchronousStreamController); + SynchronousStreamController[dart.implements] = () => [async.StreamController$(T)]; + dart.setLibraryUri(SynchronousStreamController, I[29]); + return SynchronousStreamController; +}); +async.SynchronousStreamController = async.SynchronousStreamController$(); +dart.addTypeTests(async.SynchronousStreamController, _is_SynchronousStreamController_default); +const _is__StreamControllerLifecycle_default = Symbol('_is__StreamControllerLifecycle_default'); +async._StreamControllerLifecycle$ = dart.generic(T => { + var StreamSubscriptionOfT = () => (StreamSubscriptionOfT = dart.constFn(async.StreamSubscription$(T)))(); + class _StreamControllerLifecycle extends core.Object { + [_recordPause](subscription) { + StreamSubscriptionOfT().as(subscription); + if (subscription == null) dart.nullFailed(I[64], 352, 43, "subscription"); + } + [_recordResume](subscription) { + StreamSubscriptionOfT().as(subscription); + if (subscription == null) dart.nullFailed(I[64], 353, 44, "subscription"); + } + [_recordCancel](subscription) { + StreamSubscriptionOfT().as(subscription); + if (subscription == null) dart.nullFailed(I[64], 354, 53, "subscription"); + return null; + } + } + (_StreamControllerLifecycle.new = function() { + ; + }).prototype = _StreamControllerLifecycle.prototype; + dart.addTypeTests(_StreamControllerLifecycle); + _StreamControllerLifecycle.prototype[_is__StreamControllerLifecycle_default] = true; + dart.addTypeCaches(_StreamControllerLifecycle); + dart.setMethodSignature(_StreamControllerLifecycle, () => ({ + __proto__: dart.getMethods(_StreamControllerLifecycle.__proto__), + [_recordPause]: dart.fnType(dart.void, [dart.nullable(core.Object)]), + [_recordResume]: dart.fnType(dart.void, [dart.nullable(core.Object)]), + [_recordCancel]: dart.fnType(dart.nullable(async.Future$(dart.void)), [dart.nullable(core.Object)]) + })); + dart.setLibraryUri(_StreamControllerLifecycle, I[29]); + return _StreamControllerLifecycle; +}); +async._StreamControllerLifecycle = async._StreamControllerLifecycle$(); +dart.addTypeTests(async._StreamControllerLifecycle, _is__StreamControllerLifecycle_default); +const _is__StreamControllerBase_default = Symbol('_is__StreamControllerBase_default'); +async._StreamControllerBase$ = dart.generic(T => { + class _StreamControllerBase extends core.Object {} + (_StreamControllerBase.new = function() { + ; + }).prototype = _StreamControllerBase.prototype; + dart.addTypeTests(_StreamControllerBase); + _StreamControllerBase.prototype[_is__StreamControllerBase_default] = true; + dart.addTypeCaches(_StreamControllerBase); + _StreamControllerBase[dart.implements] = () => [async.StreamController$(T), async._StreamControllerLifecycle$(T), async._EventSink$(T), async._EventDispatch$(T)]; + dart.setLibraryUri(_StreamControllerBase, I[29]); + return _StreamControllerBase; +}); +async._StreamControllerBase = async._StreamControllerBase$(); +dart.addTypeTests(async._StreamControllerBase, _is__StreamControllerBase_default); +var _varData = dart.privateName(async, "_varData"); +var _isInitialState = dart.privateName(async, "_isInitialState"); +var _subscription = dart.privateName(async, "_subscription"); +var _pendingEvents = dart.privateName(async, "_pendingEvents"); +var _ensurePendingEvents = dart.privateName(async, "_ensurePendingEvents"); +var _badEventState = dart.privateName(async, "_badEventState"); +const _is__StreamController_default = Symbol('_is__StreamController_default'); +async._StreamController$ = dart.generic(T => { + var _ControllerStreamOfT = () => (_ControllerStreamOfT = dart.constFn(async._ControllerStream$(T)))(); + var _StreamSinkWrapperOfT = () => (_StreamSinkWrapperOfT = dart.constFn(async._StreamSinkWrapper$(T)))(); + var _PendingEventsOfT = () => (_PendingEventsOfT = dart.constFn(async._PendingEvents$(T)))(); + var _PendingEventsNOfT = () => (_PendingEventsNOfT = dart.constFn(dart.nullable(_PendingEventsOfT())))(); + var _StreamControllerAddStreamStateOfT = () => (_StreamControllerAddStreamStateOfT = dart.constFn(async._StreamControllerAddStreamState$(T)))(); + var _StreamImplEventsOfT = () => (_StreamImplEventsOfT = dart.constFn(async._StreamImplEvents$(T)))(); + var _ControllerSubscriptionOfT = () => (_ControllerSubscriptionOfT = dart.constFn(async._ControllerSubscription$(T)))(); + var StreamOfT = () => (StreamOfT = dart.constFn(async.Stream$(T)))(); + var _DelayedDataOfT = () => (_DelayedDataOfT = dart.constFn(async._DelayedData$(T)))(); + class _StreamController extends core.Object { + get stream() { + return new (_ControllerStreamOfT()).new(this); + } + get sink() { + return new (_StreamSinkWrapperOfT()).new(this); + } + get [_isCanceled]() { + return (dart.notNull(this[_state]) & 2) !== 0; + } + get hasListener() { + return (dart.notNull(this[_state]) & 1) !== 0; + } + get [_isInitialState]() { + return (dart.notNull(this[_state]) & 3) >>> 0 === 0; + } + get isClosed() { + return (dart.notNull(this[_state]) & 4) !== 0; + } + get isPaused() { + return dart.test(this.hasListener) ? this[_subscription][_isInputPaused] : !dart.test(this[_isCanceled]); + } + get [_isAddingStream]() { + return (dart.notNull(this[_state]) & 8) !== 0; + } + get [_mayAddEvent]() { + return dart.notNull(this[_state]) < 4; + } + get [_pendingEvents]() { + if (!dart.test(this[_isInitialState])) dart.assertFailed(null, I[64], 479, 12, "_isInitialState"); + if (!dart.test(this[_isAddingStream])) { + return _PendingEventsNOfT().as(this[_varData]); + } + let state = _StreamControllerAddStreamStateOfT().as(this[_varData]); + return _PendingEventsNOfT().as(state.varData); + } + [_ensurePendingEvents]() { + if (!dart.test(this[_isInitialState])) dart.assertFailed(null, I[64], 489, 12, "_isInitialState"); + if (!dart.test(this[_isAddingStream])) { + let events = this[_varData]; + if (events == null) { + this[_varData] = events = new (_StreamImplEventsOfT()).new(); + } + return _StreamImplEventsOfT().as(events); + } + let state = _StreamControllerAddStreamStateOfT().as(this[_varData]); + let events = state.varData; + if (events == null) { + state.varData = events = new (_StreamImplEventsOfT()).new(); + } + return _StreamImplEventsOfT().as(events); + } + get [_subscription]() { + if (!dart.test(this.hasListener)) dart.assertFailed(null, I[64], 509, 12, "hasListener"); + let varData = this[_varData]; + if (dart.test(this[_isAddingStream])) { + let streamState = T$._StreamControllerAddStreamStateOfObjectN().as(varData); + varData = streamState.varData; + } + return _ControllerSubscriptionOfT().as(varData); + } + [_badEventState]() { + if (dart.test(this.isClosed)) { + return new core.StateError.new("Cannot add event after closing"); + } + if (!dart.test(this[_isAddingStream])) dart.assertFailed(null, I[64], 525, 12, "_isAddingStream"); + return new core.StateError.new("Cannot add event while adding a stream"); + } + addStream(source, opts) { + let t114; + StreamOfT().as(source); + if (source == null) dart.nullFailed(I[64], 530, 30, "source"); + let cancelOnError = opts && 'cancelOnError' in opts ? opts.cancelOnError : null; + if (!dart.test(this[_mayAddEvent])) dart.throw(this[_badEventState]()); + if (dart.test(this[_isCanceled])) return new async._Future.immediate(null); + let addState = new (_StreamControllerAddStreamStateOfT()).new(this, this[_varData], source, (t114 = cancelOnError, t114 == null ? false : t114)); + this[_varData] = addState; + this[_state] = (dart.notNull(this[_state]) | 8) >>> 0; + return addState.addStreamFuture; + } + get done() { + return this[_ensureDoneFuture](); + } + [_ensureDoneFuture]() { + let t114; + t114 = this[_doneFuture]; + return t114 == null ? this[_doneFuture] = dart.test(this[_isCanceled]) ? async.Future._nullFuture : new (T$._FutureOfvoid()).new() : t114; + } + add(value) { + T.as(value); + if (!dart.test(this[_mayAddEvent])) dart.throw(this[_badEventState]()); + this[_add](value); + } + addError(error, stackTrace = null) { + if (error == null) dart.nullFailed(I[64], 558, 24, "error"); + _internal.checkNotNullable(core.Object, error, "error"); + if (!dart.test(this[_mayAddEvent])) dart.throw(this[_badEventState]()); + let replacement = async.Zone.current.errorCallback(error, stackTrace); + if (replacement != null) { + error = replacement.error; + stackTrace = replacement.stackTrace; + } else { + stackTrace == null ? stackTrace = async.AsyncError.defaultStackTrace(error) : null; + } + if (stackTrace == null) dart.throw("unreachable"); + this[_addError](error, stackTrace); + } + close() { + if (dart.test(this.isClosed)) { + return this[_ensureDoneFuture](); + } + if (!dart.test(this[_mayAddEvent])) dart.throw(this[_badEventState]()); + this[_closeUnchecked](); + return this[_ensureDoneFuture](); + } + [_closeUnchecked]() { + this[_state] = (dart.notNull(this[_state]) | 4) >>> 0; + if (dart.test(this.hasListener)) { + this[_sendDone](); + } else if (dart.test(this[_isInitialState])) { + this[_ensurePendingEvents]().add(C[40] || CT.C40); + } + } + [_add](value) { + T.as(value); + if (dart.test(this.hasListener)) { + this[_sendData](value); + } else if (dart.test(this[_isInitialState])) { + this[_ensurePendingEvents]().add(new (_DelayedDataOfT()).new(value)); + } + } + [_addError](error, stackTrace) { + if (error == null) dart.nullFailed(I[64], 613, 25, "error"); + if (stackTrace == null) dart.nullFailed(I[64], 613, 43, "stackTrace"); + if (dart.test(this.hasListener)) { + this[_sendError](error, stackTrace); + } else if (dart.test(this[_isInitialState])) { + this[_ensurePendingEvents]().add(new async._DelayedError.new(error, stackTrace)); + } + } + [_close]() { + if (!dart.test(this[_isAddingStream])) dart.assertFailed(null, I[64], 623, 12, "_isAddingStream"); + let addState = _StreamControllerAddStreamStateOfT().as(this[_varData]); + this[_varData] = addState.varData; + this[_state] = (dart.notNull(this[_state]) & ~8 >>> 0) >>> 0; + addState.complete(); + } + [_subscribe](onData, onError, onDone, cancelOnError) { + if (cancelOnError == null) dart.nullFailed(I[64], 633, 28, "cancelOnError"); + if (!dart.test(this[_isInitialState])) { + dart.throw(new core.StateError.new("Stream has already been listened to.")); + } + let subscription = new (_ControllerSubscriptionOfT()).new(this, onData, onError, onDone, cancelOnError); + let pendingEvents = this[_pendingEvents]; + this[_state] = (dart.notNull(this[_state]) | 1) >>> 0; + if (dart.test(this[_isAddingStream])) { + let addState = _StreamControllerAddStreamStateOfT().as(this[_varData]); + addState.varData = subscription; + addState.resume(); + } else { + this[_varData] = subscription; + } + subscription[_setPendingEvents](pendingEvents); + subscription[_guardCallback](dart.fn(() => { + async._runGuarded(this.onListen); + }, T$.VoidTovoid())); + return subscription; + } + [_recordCancel](subscription) { + let t115; + if (subscription == null) dart.nullFailed(I[64], 657, 53, "subscription"); + let result = null; + if (dart.test(this[_isAddingStream])) { + let addState = _StreamControllerAddStreamStateOfT().as(this[_varData]); + result = addState.cancel(); + } + this[_varData] = null; + this[_state] = (dart.notNull(this[_state]) & ~(1 | 8) >>> 0 | 2) >>> 0; + let onCancel = this.onCancel; + if (onCancel != null) { + if (result == null) { + try { + let cancelResult = onCancel(); + if (T$.FutureOfvoid().is(cancelResult)) { + result = cancelResult; + } + } catch (e$) { + let e = dart.getThrown(e$); + let s = dart.stackTrace(e$); + if (core.Object.is(e)) { + result = (t115 = new (T$._FutureOfvoid()).new(), (() => { + t115[_asyncCompleteError](e, s); + return t115; + })()); + } else + throw e$; + } + } else { + result = result.whenComplete(onCancel); + } + } + const complete = () => { + let doneFuture = this[_doneFuture]; + if (doneFuture != null && dart.test(doneFuture[_mayComplete])) { + doneFuture[_asyncComplete](null); + } + }; + dart.fn(complete, T$.VoidTovoid()); + if (result != null) { + result = result.whenComplete(complete); + } else { + complete(); + } + return result; + } + [_recordPause](subscription) { + if (subscription == null) dart.nullFailed(I[64], 713, 43, "subscription"); + if (dart.test(this[_isAddingStream])) { + let addState = _StreamControllerAddStreamStateOfT().as(this[_varData]); + addState.pause(); + } + async._runGuarded(this.onPause); + } + [_recordResume](subscription) { + if (subscription == null) dart.nullFailed(I[64], 721, 44, "subscription"); + if (dart.test(this[_isAddingStream])) { + let addState = _StreamControllerAddStreamStateOfT().as(this[_varData]); + addState.resume(); + } + async._runGuarded(this.onResume); + } + } + (_StreamController.new = function(onListen, onPause, onResume, onCancel) { + this[_varData] = null; + this[_state] = 0; + this[_doneFuture] = null; + this.onListen = onListen; + this.onPause = onPause; + this.onResume = onResume; + this.onCancel = onCancel; + ; + }).prototype = _StreamController.prototype; + dart.addTypeTests(_StreamController); + _StreamController.prototype[_is__StreamController_default] = true; + dart.addTypeCaches(_StreamController); + _StreamController[dart.implements] = () => [async._StreamControllerBase$(T)]; + dart.setMethodSignature(_StreamController, () => ({ + __proto__: dart.getMethods(_StreamController.__proto__), + [_ensurePendingEvents]: dart.fnType(async._StreamImplEvents$(T), []), + [_badEventState]: dart.fnType(core.Error, []), + addStream: dart.fnType(async.Future, [dart.nullable(core.Object)], {cancelOnError: dart.nullable(core.bool)}, {}), + [_ensureDoneFuture]: dart.fnType(async.Future$(dart.void), []), + add: dart.fnType(dart.void, [dart.nullable(core.Object)]), + addError: dart.fnType(dart.void, [core.Object], [dart.nullable(core.StackTrace)]), + close: dart.fnType(async.Future, []), + [_closeUnchecked]: dart.fnType(dart.void, []), + [_add]: dart.fnType(dart.void, [dart.nullable(core.Object)]), + [_addError]: dart.fnType(dart.void, [core.Object, core.StackTrace]), + [_close]: dart.fnType(dart.void, []), + [_subscribe]: dart.fnType(async.StreamSubscription$(T), [dart.nullable(dart.fnType(dart.void, [T])), dart.nullable(core.Function), dart.nullable(dart.fnType(dart.void, [])), core.bool]), + [_recordCancel]: dart.fnType(dart.nullable(async.Future$(dart.void)), [async.StreamSubscription$(T)]), + [_recordPause]: dart.fnType(dart.void, [async.StreamSubscription$(T)]), + [_recordResume]: dart.fnType(dart.void, [async.StreamSubscription$(T)]) + })); + dart.setGetterSignature(_StreamController, () => ({ + __proto__: dart.getGetters(_StreamController.__proto__), + stream: async.Stream$(T), + sink: async.StreamSink$(T), + [_isCanceled]: core.bool, + hasListener: core.bool, + [_isInitialState]: core.bool, + isClosed: core.bool, + isPaused: core.bool, + [_isAddingStream]: core.bool, + [_mayAddEvent]: core.bool, + [_pendingEvents]: dart.nullable(async._PendingEvents$(T)), + [_subscription]: async._ControllerSubscription$(T), + done: async.Future$(dart.void) + })); + dart.setLibraryUri(_StreamController, I[29]); + dart.setFieldSignature(_StreamController, () => ({ + __proto__: dart.getFields(_StreamController.__proto__), + [_varData]: dart.fieldType(dart.nullable(core.Object)), + [_state]: dart.fieldType(core.int), + [_doneFuture]: dart.fieldType(dart.nullable(async._Future$(dart.void))), + onListen: dart.fieldType(dart.nullable(dart.fnType(dart.void, []))), + onPause: dart.fieldType(dart.nullable(dart.fnType(dart.void, []))), + onResume: dart.fieldType(dart.nullable(dart.fnType(dart.void, []))), + onCancel: dart.fieldType(dart.nullable(dart.fnType(dart.void, []))) + })); + return _StreamController; +}); +async._StreamController = async._StreamController$(); +dart.defineLazy(async._StreamController, { + /*async._StreamController._STATE_INITIAL*/get _STATE_INITIAL() { + return 0; + }, + /*async._StreamController._STATE_SUBSCRIBED*/get _STATE_SUBSCRIBED() { + return 1; + }, + /*async._StreamController._STATE_CANCELED*/get _STATE_CANCELED() { + return 2; + }, + /*async._StreamController._STATE_SUBSCRIPTION_MASK*/get _STATE_SUBSCRIPTION_MASK() { + return 3; + }, + /*async._StreamController._STATE_CLOSED*/get _STATE_CLOSED() { + return 4; + }, + /*async._StreamController._STATE_ADDSTREAM*/get _STATE_ADDSTREAM() { + return 8; + } +}, false); +dart.addTypeTests(async._StreamController, _is__StreamController_default); +const _is__SyncStreamControllerDispatch_default = Symbol('_is__SyncStreamControllerDispatch_default'); +async._SyncStreamControllerDispatch$ = dart.generic(T => { + class _SyncStreamControllerDispatch extends core.Object { + [_sendData](data) { + this[_subscription][_add](data); + } + [_sendError](error, stackTrace) { + if (error == null) dart.nullFailed(I[64], 736, 26, "error"); + if (stackTrace == null) dart.nullFailed(I[64], 736, 44, "stackTrace"); + this[_subscription][_addError](error, stackTrace); + } + [_sendDone]() { + this[_subscription][_close](); + } + } + (_SyncStreamControllerDispatch.new = function() { + ; + }).prototype = _SyncStreamControllerDispatch.prototype; + dart.addTypeTests(_SyncStreamControllerDispatch); + _SyncStreamControllerDispatch.prototype[_is__SyncStreamControllerDispatch_default] = true; + dart.addTypeCaches(_SyncStreamControllerDispatch); + _SyncStreamControllerDispatch[dart.implements] = () => [async._StreamController$(T), async.SynchronousStreamController$(T)]; + dart.setMethodSignature(_SyncStreamControllerDispatch, () => ({ + __proto__: dart.getMethods(_SyncStreamControllerDispatch.__proto__), + [_sendData]: dart.fnType(dart.void, [T]), + [_sendError]: dart.fnType(dart.void, [core.Object, core.StackTrace]), + [_sendDone]: dart.fnType(dart.void, []) + })); + dart.setLibraryUri(_SyncStreamControllerDispatch, I[29]); + return _SyncStreamControllerDispatch; +}); +async._SyncStreamControllerDispatch = async._SyncStreamControllerDispatch$(); +dart.addTypeTests(async._SyncStreamControllerDispatch, _is__SyncStreamControllerDispatch_default); +const _is__AsyncStreamControllerDispatch_default = Symbol('_is__AsyncStreamControllerDispatch_default'); +async._AsyncStreamControllerDispatch$ = dart.generic(T => { + var _DelayedDataOfT = () => (_DelayedDataOfT = dart.constFn(async._DelayedData$(T)))(); + class _AsyncStreamControllerDispatch extends core.Object { + [_sendData](data) { + this[_subscription][_addPending](new (_DelayedDataOfT()).new(data)); + } + [_sendError](error, stackTrace) { + if (error == null) dart.nullFailed(I[64], 751, 26, "error"); + if (stackTrace == null) dart.nullFailed(I[64], 751, 44, "stackTrace"); + this[_subscription][_addPending](new async._DelayedError.new(error, stackTrace)); + } + [_sendDone]() { + this[_subscription][_addPending](C[40] || CT.C40); + } + } + (_AsyncStreamControllerDispatch.new = function() { + ; + }).prototype = _AsyncStreamControllerDispatch.prototype; + dart.addTypeTests(_AsyncStreamControllerDispatch); + _AsyncStreamControllerDispatch.prototype[_is__AsyncStreamControllerDispatch_default] = true; + dart.addTypeCaches(_AsyncStreamControllerDispatch); + _AsyncStreamControllerDispatch[dart.implements] = () => [async._StreamController$(T)]; + dart.setMethodSignature(_AsyncStreamControllerDispatch, () => ({ + __proto__: dart.getMethods(_AsyncStreamControllerDispatch.__proto__), + [_sendData]: dart.fnType(dart.void, [T]), + [_sendError]: dart.fnType(dart.void, [core.Object, core.StackTrace]), + [_sendDone]: dart.fnType(dart.void, []) + })); + dart.setLibraryUri(_AsyncStreamControllerDispatch, I[29]); + return _AsyncStreamControllerDispatch; +}); +async._AsyncStreamControllerDispatch = async._AsyncStreamControllerDispatch$(); +dart.addTypeTests(async._AsyncStreamControllerDispatch, _is__AsyncStreamControllerDispatch_default); +const _is__AsyncStreamController_default = Symbol('_is__AsyncStreamController_default'); +async._AsyncStreamController$ = dart.generic(T => { + const _StreamController__AsyncStreamControllerDispatch$36 = class _StreamController__AsyncStreamControllerDispatch extends async._StreamController$(T) {}; + (_StreamController__AsyncStreamControllerDispatch$36.new = function(onListen, onPause, onResume, onCancel) { + _StreamController__AsyncStreamControllerDispatch$36.__proto__.new.call(this, onListen, onPause, onResume, onCancel); + }).prototype = _StreamController__AsyncStreamControllerDispatch$36.prototype; + dart.applyMixin(_StreamController__AsyncStreamControllerDispatch$36, async._AsyncStreamControllerDispatch$(T)); + class _AsyncStreamController extends _StreamController__AsyncStreamControllerDispatch$36 { + [_sendData](data) { + return super[_sendData](data); + } + [_sendError](error, stackTrace) { + if (error == null) dart.nullFailed(I[64], 764, 7, "error"); + if (stackTrace == null) dart.nullFailed(I[64], 764, 7, "stackTrace"); + return super[_sendError](error, stackTrace); + } + [_sendDone]() { + return super[_sendDone](); + } + } + (_AsyncStreamController.new = function(onListen, onPause, onResume, onCancel) { + _AsyncStreamController.__proto__.new.call(this, onListen, onPause, onResume, onCancel); + ; + }).prototype = _AsyncStreamController.prototype; + dart.addTypeTests(_AsyncStreamController); + _AsyncStreamController.prototype[_is__AsyncStreamController_default] = true; + dart.addTypeCaches(_AsyncStreamController); + dart.setMethodSignature(_AsyncStreamController, () => ({ + __proto__: dart.getMethods(_AsyncStreamController.__proto__), + [_sendData]: dart.fnType(dart.void, [T]), + [_sendError]: dart.fnType(dart.void, [core.Object, core.StackTrace]), + [_sendDone]: dart.fnType(dart.void, []) + })); + dart.setLibraryUri(_AsyncStreamController, I[29]); + return _AsyncStreamController; +}); +async._AsyncStreamController = async._AsyncStreamController$(); +dart.addTypeTests(async._AsyncStreamController, _is__AsyncStreamController_default); +const _is__SyncStreamController_default = Symbol('_is__SyncStreamController_default'); +async._SyncStreamController$ = dart.generic(T => { + const _StreamController__SyncStreamControllerDispatch$36 = class _StreamController__SyncStreamControllerDispatch extends async._StreamController$(T) {}; + (_StreamController__SyncStreamControllerDispatch$36.new = function(onListen, onPause, onResume, onCancel) { + _StreamController__SyncStreamControllerDispatch$36.__proto__.new.call(this, onListen, onPause, onResume, onCancel); + }).prototype = _StreamController__SyncStreamControllerDispatch$36.prototype; + dart.applyMixin(_StreamController__SyncStreamControllerDispatch$36, async._SyncStreamControllerDispatch$(T)); + class _SyncStreamController extends _StreamController__SyncStreamControllerDispatch$36 { + [_sendData](data) { + return super[_sendData](data); + } + [_sendError](error, stackTrace) { + if (error == null) dart.nullFailed(I[64], 767, 7, "error"); + if (stackTrace == null) dart.nullFailed(I[64], 767, 7, "stackTrace"); + return super[_sendError](error, stackTrace); + } + [_sendDone]() { + return super[_sendDone](); + } + } + (_SyncStreamController.new = function(onListen, onPause, onResume, onCancel) { + _SyncStreamController.__proto__.new.call(this, onListen, onPause, onResume, onCancel); + ; + }).prototype = _SyncStreamController.prototype; + dart.addTypeTests(_SyncStreamController); + _SyncStreamController.prototype[_is__SyncStreamController_default] = true; + dart.addTypeCaches(_SyncStreamController); + dart.setMethodSignature(_SyncStreamController, () => ({ + __proto__: dart.getMethods(_SyncStreamController.__proto__), + [_sendData]: dart.fnType(dart.void, [T]), + [_sendError]: dart.fnType(dart.void, [core.Object, core.StackTrace]), + [_sendDone]: dart.fnType(dart.void, []) + })); + dart.setLibraryUri(_SyncStreamController, I[29]); + return _SyncStreamController; +}); +async._SyncStreamController = async._SyncStreamController$(); +dart.addTypeTests(async._SyncStreamController, _is__SyncStreamController_default); +var _target$ = dart.privateName(async, "_target"); +const _is__StreamSinkWrapper_default = Symbol('_is__StreamSinkWrapper_default'); +async._StreamSinkWrapper$ = dart.generic(T => { + var StreamOfT = () => (StreamOfT = dart.constFn(async.Stream$(T)))(); + class _StreamSinkWrapper extends core.Object { + add(data) { + T.as(data); + this[_target$].add(data); + } + addError(error, stackTrace = null) { + if (error == null) dart.nullFailed(I[64], 829, 24, "error"); + this[_target$].addError(error, stackTrace); + } + close() { + return this[_target$].close(); + } + addStream(source) { + StreamOfT().as(source); + if (source == null) dart.nullFailed(I[64], 835, 30, "source"); + return this[_target$].addStream(source); + } + get done() { + return this[_target$].done; + } + } + (_StreamSinkWrapper.new = function(_target) { + if (_target == null) dart.nullFailed(I[64], 824, 27, "_target"); + this[_target$] = _target; + ; + }).prototype = _StreamSinkWrapper.prototype; + dart.addTypeTests(_StreamSinkWrapper); + _StreamSinkWrapper.prototype[_is__StreamSinkWrapper_default] = true; + dart.addTypeCaches(_StreamSinkWrapper); + _StreamSinkWrapper[dart.implements] = () => [async.StreamSink$(T)]; + dart.setMethodSignature(_StreamSinkWrapper, () => ({ + __proto__: dart.getMethods(_StreamSinkWrapper.__proto__), + add: dart.fnType(dart.void, [dart.nullable(core.Object)]), + addError: dart.fnType(dart.void, [core.Object], [dart.nullable(core.StackTrace)]), + close: dart.fnType(async.Future, []), + addStream: dart.fnType(async.Future, [dart.nullable(core.Object)]) + })); + dart.setGetterSignature(_StreamSinkWrapper, () => ({ + __proto__: dart.getGetters(_StreamSinkWrapper.__proto__), + done: async.Future + })); + dart.setLibraryUri(_StreamSinkWrapper, I[29]); + dart.setFieldSignature(_StreamSinkWrapper, () => ({ + __proto__: dart.getFields(_StreamSinkWrapper.__proto__), + [_target$]: dart.finalFieldType(async.StreamController) + })); + return _StreamSinkWrapper; +}); +async._StreamSinkWrapper = async._StreamSinkWrapper$(); +dart.addTypeTests(async._StreamSinkWrapper, _is__StreamSinkWrapper_default); +const _is__AddStreamState_default = Symbol('_is__AddStreamState_default'); +async._AddStreamState$ = dart.generic(T => { + class _AddStreamState extends core.Object { + static makeErrorHandler(controller) { + if (controller == null) dart.nullFailed(I[64], 858, 38, "controller"); + return dart.fn((e, s) => { + if (e == null) dart.nullFailed(I[64], 858, 61, "e"); + if (s == null) dart.nullFailed(I[64], 858, 75, "s"); + controller[_addError](e, s); + controller[_close](); + }, T$.ObjectAndStackTraceToNull()); + } + pause() { + this.addSubscription.pause(); + } + resume() { + this.addSubscription.resume(); + } + cancel() { + let cancel = this.addSubscription.cancel(); + if (cancel == null) { + this.addStreamFuture[_asyncComplete](null); + return async.Future._nullFuture; + } + return cancel.whenComplete(dart.fn(() => { + this.addStreamFuture[_asyncComplete](null); + }, T$.VoidToNull())); + } + complete() { + this.addStreamFuture[_asyncComplete](null); + } + } + (_AddStreamState.new = function(controller, source, cancelOnError) { + if (controller == null) dart.nullFailed(I[64], 849, 21, "controller"); + if (source == null) dart.nullFailed(I[64], 849, 43, "source"); + if (cancelOnError == null) dart.nullFailed(I[64], 849, 56, "cancelOnError"); + this.addStreamFuture = new async._Future.new(); + this.addSubscription = source.listen(dart.bind(controller, _add), {onError: T$.FunctionN().as(dart.test(cancelOnError) ? async._AddStreamState.makeErrorHandler(controller) : dart.bind(controller, _addError)), onDone: dart.bind(controller, _close), cancelOnError: cancelOnError}); + ; + }).prototype = _AddStreamState.prototype; + dart.addTypeTests(_AddStreamState); + _AddStreamState.prototype[_is__AddStreamState_default] = true; + dart.addTypeCaches(_AddStreamState); + dart.setMethodSignature(_AddStreamState, () => ({ + __proto__: dart.getMethods(_AddStreamState.__proto__), + pause: dart.fnType(dart.void, []), + resume: dart.fnType(dart.void, []), + cancel: dart.fnType(async.Future$(dart.void), []), + complete: dart.fnType(dart.void, []) + })); + dart.setLibraryUri(_AddStreamState, I[29]); + dart.setFieldSignature(_AddStreamState, () => ({ + __proto__: dart.getFields(_AddStreamState.__proto__), + addStreamFuture: dart.finalFieldType(async._Future), + addSubscription: dart.finalFieldType(async.StreamSubscription) + })); + return _AddStreamState; +}); +async._AddStreamState = async._AddStreamState$(); +dart.addTypeTests(async._AddStreamState, _is__AddStreamState_default); +const _is__StreamControllerAddStreamState_default = Symbol('_is__StreamControllerAddStreamState_default'); +async._StreamControllerAddStreamState$ = dart.generic(T => { + class _StreamControllerAddStreamState extends async._AddStreamState$(T) {} + (_StreamControllerAddStreamState.new = function(controller, varData, source, cancelOnError) { + if (controller == null) dart.nullFailed(I[64], 899, 56, "controller"); + if (source == null) dart.nullFailed(I[64], 900, 17, "source"); + if (cancelOnError == null) dart.nullFailed(I[64], 900, 30, "cancelOnError"); + this.varData = varData; + _StreamControllerAddStreamState.__proto__.new.call(this, controller, source, cancelOnError); + if (dart.test(controller.isPaused)) { + this.addSubscription.pause(); + } + }).prototype = _StreamControllerAddStreamState.prototype; + dart.addTypeTests(_StreamControllerAddStreamState); + _StreamControllerAddStreamState.prototype[_is__StreamControllerAddStreamState_default] = true; + dart.addTypeCaches(_StreamControllerAddStreamState); + dart.setLibraryUri(_StreamControllerAddStreamState, I[29]); + dart.setFieldSignature(_StreamControllerAddStreamState, () => ({ + __proto__: dart.getFields(_StreamControllerAddStreamState.__proto__), + varData: dart.fieldType(dart.dynamic) + })); + return _StreamControllerAddStreamState; +}); +async._StreamControllerAddStreamState = async._StreamControllerAddStreamState$(); +dart.addTypeTests(async._StreamControllerAddStreamState, _is__StreamControllerAddStreamState_default); +const _is__EventSink_default = Symbol('_is__EventSink_default'); +async._EventSink$ = dart.generic(T => { + class _EventSink extends core.Object {} + (_EventSink.new = function() { + ; + }).prototype = _EventSink.prototype; + dart.addTypeTests(_EventSink); + _EventSink.prototype[_is__EventSink_default] = true; + dart.addTypeCaches(_EventSink); + dart.setLibraryUri(_EventSink, I[29]); + return _EventSink; +}); +async._EventSink = async._EventSink$(); +dart.addTypeTests(async._EventSink, _is__EventSink_default); +const _is__EventDispatch_default = Symbol('_is__EventDispatch_default'); +async._EventDispatch$ = dart.generic(T => { + class _EventDispatch extends core.Object {} + (_EventDispatch.new = function() { + ; + }).prototype = _EventDispatch.prototype; + dart.addTypeTests(_EventDispatch); + _EventDispatch.prototype[_is__EventDispatch_default] = true; + dart.addTypeCaches(_EventDispatch); + dart.setLibraryUri(_EventDispatch, I[29]); + return _EventDispatch; +}); +async._EventDispatch = async._EventDispatch$(); +dart.addTypeTests(async._EventDispatch, _is__EventDispatch_default); +var _isUsed = dart.privateName(async, "_isUsed"); +const _is__GeneratedStreamImpl_default = Symbol('_is__GeneratedStreamImpl_default'); +async._GeneratedStreamImpl$ = dart.generic(T => { + var _BufferingStreamSubscriptionOfT = () => (_BufferingStreamSubscriptionOfT = dart.constFn(async._BufferingStreamSubscription$(T)))(); + class _GeneratedStreamImpl extends async._StreamImpl$(T) { + [_createSubscription](onData, onError, onDone, cancelOnError) { + let t115; + if (cancelOnError == null) dart.nullFailed(I[65], 504, 47, "cancelOnError"); + if (dart.test(this[_isUsed])) dart.throw(new core.StateError.new("Stream has already been listened to.")); + this[_isUsed] = true; + t115 = new (_BufferingStreamSubscriptionOfT()).new(onData, onError, onDone, cancelOnError); + return (() => { + t115[_setPendingEvents](this[_pending$]()); + return t115; + })(); + } + } + (_GeneratedStreamImpl.new = function(_pending) { + if (_pending == null) dart.nullFailed(I[65], 501, 29, "_pending"); + this[_isUsed] = false; + this[_pending$] = _pending; + _GeneratedStreamImpl.__proto__.new.call(this); + ; + }).prototype = _GeneratedStreamImpl.prototype; + dart.addTypeTests(_GeneratedStreamImpl); + _GeneratedStreamImpl.prototype[_is__GeneratedStreamImpl_default] = true; + dart.addTypeCaches(_GeneratedStreamImpl); + dart.setLibraryUri(_GeneratedStreamImpl, I[29]); + dart.setFieldSignature(_GeneratedStreamImpl, () => ({ + __proto__: dart.getFields(_GeneratedStreamImpl.__proto__), + [_pending$]: dart.finalFieldType(dart.fnType(async._PendingEvents$(T), [])), + [_isUsed]: dart.fieldType(core.bool) + })); + return _GeneratedStreamImpl; +}); +async._GeneratedStreamImpl = async._GeneratedStreamImpl$(); +dart.addTypeTests(async._GeneratedStreamImpl, _is__GeneratedStreamImpl_default); +var _iterator = dart.privateName(async, "_iterator"); +var _eventScheduled = dart.privateName(async, "_eventScheduled"); +const _is__PendingEvents_default = Symbol('_is__PendingEvents_default'); +async._PendingEvents$ = dart.generic(T => { + var _EventDispatchOfT = () => (_EventDispatchOfT = dart.constFn(async._EventDispatch$(T)))(); + class _PendingEvents extends core.Object { + get isScheduled() { + return this[_state] === 1; + } + get [_eventScheduled]() { + return dart.notNull(this[_state]) >= 1; + } + schedule(dispatch) { + _EventDispatchOfT().as(dispatch); + if (dispatch == null) dart.nullFailed(I[65], 651, 35, "dispatch"); + if (dart.test(this.isScheduled)) return; + if (!!dart.test(this.isEmpty)) dart.assertFailed(null, I[65], 653, 12, "!isEmpty"); + if (dart.test(this[_eventScheduled])) { + if (!(this[_state] === 3)) dart.assertFailed(null, I[65], 655, 14, "_state == _STATE_CANCELED"); + this[_state] = 1; + return; + } + async.scheduleMicrotask(dart.fn(() => { + let oldState = this[_state]; + this[_state] = 0; + if (oldState === 3) return; + this.handleNext(dispatch); + }, T$.VoidTovoid())); + this[_state] = 1; + } + cancelSchedule() { + if (dart.test(this.isScheduled)) this[_state] = 3; + } + } + (_PendingEvents.new = function() { + this[_state] = 0; + ; + }).prototype = _PendingEvents.prototype; + dart.addTypeTests(_PendingEvents); + _PendingEvents.prototype[_is__PendingEvents_default] = true; + dart.addTypeCaches(_PendingEvents); + dart.setMethodSignature(_PendingEvents, () => ({ + __proto__: dart.getMethods(_PendingEvents.__proto__), + schedule: dart.fnType(dart.void, [dart.nullable(core.Object)]), + cancelSchedule: dart.fnType(dart.void, []) + })); + dart.setGetterSignature(_PendingEvents, () => ({ + __proto__: dart.getGetters(_PendingEvents.__proto__), + isScheduled: core.bool, + [_eventScheduled]: core.bool + })); + dart.setLibraryUri(_PendingEvents, I[29]); + dart.setFieldSignature(_PendingEvents, () => ({ + __proto__: dart.getFields(_PendingEvents.__proto__), + [_state]: dart.fieldType(core.int) + })); + return _PendingEvents; +}); +async._PendingEvents = async._PendingEvents$(); +dart.defineLazy(async._PendingEvents, { + /*async._PendingEvents._STATE_UNSCHEDULED*/get _STATE_UNSCHEDULED() { + return 0; + }, + /*async._PendingEvents._STATE_SCHEDULED*/get _STATE_SCHEDULED() { + return 1; + }, + /*async._PendingEvents._STATE_CANCELED*/get _STATE_CANCELED() { + return 3; + } +}, false); +dart.addTypeTests(async._PendingEvents, _is__PendingEvents_default); +const _is__IterablePendingEvents_default = Symbol('_is__IterablePendingEvents_default'); +async._IterablePendingEvents$ = dart.generic(T => { + var _EventDispatchOfT = () => (_EventDispatchOfT = dart.constFn(async._EventDispatch$(T)))(); + class _IterablePendingEvents extends async._PendingEvents$(T) { + get isEmpty() { + return this[_iterator] == null; + } + handleNext(dispatch) { + _EventDispatchOfT().as(dispatch); + if (dispatch == null) dart.nullFailed(I[65], 523, 37, "dispatch"); + let iterator = this[_iterator]; + if (iterator == null) { + dart.throw(new core.StateError.new("No events pending.")); + } + let movedNext = false; + try { + if (dart.test(iterator.moveNext())) { + movedNext = true; + dispatch[_sendData](iterator.current); + } else { + this[_iterator] = null; + dispatch[_sendDone](); + } + } catch (e$) { + let e = dart.getThrown(e$); + let s = dart.stackTrace(e$); + if (core.Object.is(e)) { + if (!movedNext) { + this[_iterator] = C[20] || CT.C20; + } + dispatch[_sendError](e, s); + } else + throw e$; + } + } + clear() { + if (dart.test(this.isScheduled)) this.cancelSchedule(); + this[_iterator] = null; + } + } + (_IterablePendingEvents.new = function(data) { + if (data == null) dart.nullFailed(I[65], 519, 38, "data"); + this[_iterator] = data[$iterator]; + _IterablePendingEvents.__proto__.new.call(this); + ; + }).prototype = _IterablePendingEvents.prototype; + dart.addTypeTests(_IterablePendingEvents); + _IterablePendingEvents.prototype[_is__IterablePendingEvents_default] = true; + dart.addTypeCaches(_IterablePendingEvents); + dart.setMethodSignature(_IterablePendingEvents, () => ({ + __proto__: dart.getMethods(_IterablePendingEvents.__proto__), + handleNext: dart.fnType(dart.void, [dart.nullable(core.Object)]), + clear: dart.fnType(dart.void, []) + })); + dart.setGetterSignature(_IterablePendingEvents, () => ({ + __proto__: dart.getGetters(_IterablePendingEvents.__proto__), + isEmpty: core.bool + })); + dart.setLibraryUri(_IterablePendingEvents, I[29]); + dart.setFieldSignature(_IterablePendingEvents, () => ({ + __proto__: dart.getFields(_IterablePendingEvents.__proto__), + [_iterator]: dart.fieldType(dart.nullable(core.Iterator$(T))) + })); + return _IterablePendingEvents; +}); +async._IterablePendingEvents = async._IterablePendingEvents$(); +dart.addTypeTests(async._IterablePendingEvents, _is__IterablePendingEvents_default); +const _is__DelayedEvent_default = Symbol('_is__DelayedEvent_default'); +async._DelayedEvent$ = dart.generic(T => { + class _DelayedEvent extends core.Object {} + (_DelayedEvent.new = function() { + this.next = null; + ; + }).prototype = _DelayedEvent.prototype; + dart.addTypeTests(_DelayedEvent); + _DelayedEvent.prototype[_is__DelayedEvent_default] = true; + dart.addTypeCaches(_DelayedEvent); + dart.setLibraryUri(_DelayedEvent, I[29]); + dart.setFieldSignature(_DelayedEvent, () => ({ + __proto__: dart.getFields(_DelayedEvent.__proto__), + next: dart.fieldType(dart.nullable(async._DelayedEvent)) + })); + return _DelayedEvent; +}); +async._DelayedEvent = async._DelayedEvent$(); +dart.addTypeTests(async._DelayedEvent, _is__DelayedEvent_default); +const _is__DelayedData_default = Symbol('_is__DelayedData_default'); +async._DelayedData$ = dart.generic(T => { + var _EventDispatchOfT = () => (_EventDispatchOfT = dart.constFn(async._EventDispatch$(T)))(); + class _DelayedData extends async._DelayedEvent$(T) { + perform(dispatch) { + _EventDispatchOfT().as(dispatch); + if (dispatch == null) dart.nullFailed(I[65], 590, 34, "dispatch"); + dispatch[_sendData](this.value); + } + } + (_DelayedData.new = function(value) { + this.value = value; + _DelayedData.__proto__.new.call(this); + ; + }).prototype = _DelayedData.prototype; + dart.addTypeTests(_DelayedData); + _DelayedData.prototype[_is__DelayedData_default] = true; + dart.addTypeCaches(_DelayedData); + dart.setMethodSignature(_DelayedData, () => ({ + __proto__: dart.getMethods(_DelayedData.__proto__), + perform: dart.fnType(dart.void, [dart.nullable(core.Object)]) + })); + dart.setLibraryUri(_DelayedData, I[29]); + dart.setFieldSignature(_DelayedData, () => ({ + __proto__: dart.getFields(_DelayedData.__proto__), + value: dart.finalFieldType(T) + })); + return _DelayedData; +}); +async._DelayedData = async._DelayedData$(); +dart.addTypeTests(async._DelayedData, _is__DelayedData_default); +async._DelayedError = class _DelayedError extends async._DelayedEvent { + perform(dispatch) { + async._EventDispatch.as(dispatch); + if (dispatch == null) dart.nullFailed(I[65], 601, 31, "dispatch"); + dispatch[_sendError](this.error, this.stackTrace); + } +}; +(async._DelayedError.new = function(error, stackTrace) { + if (error == null) dart.nullFailed(I[65], 600, 22, "error"); + if (stackTrace == null) dart.nullFailed(I[65], 600, 34, "stackTrace"); + this.error = error; + this.stackTrace = stackTrace; + async._DelayedError.__proto__.new.call(this); + ; +}).prototype = async._DelayedError.prototype; +dart.addTypeTests(async._DelayedError); +dart.addTypeCaches(async._DelayedError); +dart.setMethodSignature(async._DelayedError, () => ({ + __proto__: dart.getMethods(async._DelayedError.__proto__), + perform: dart.fnType(dart.void, [dart.nullable(core.Object)]) +})); +dart.setLibraryUri(async._DelayedError, I[29]); +dart.setFieldSignature(async._DelayedError, () => ({ + __proto__: dart.getFields(async._DelayedError.__proto__), + error: dart.finalFieldType(core.Object), + stackTrace: dart.finalFieldType(core.StackTrace) +})); +async._DelayedDone = class _DelayedDone extends core.Object { + perform(dispatch) { + async._EventDispatch.as(dispatch); + if (dispatch == null) dart.nullFailed(I[65], 609, 31, "dispatch"); + dispatch[_sendDone](); + } + get next() { + return null; + } + set next(_) { + dart.throw(new core.StateError.new("No events after a done.")); + } +}; +(async._DelayedDone.new = function() { + ; +}).prototype = async._DelayedDone.prototype; +dart.addTypeTests(async._DelayedDone); +dart.addTypeCaches(async._DelayedDone); +async._DelayedDone[dart.implements] = () => [async._DelayedEvent]; +dart.setMethodSignature(async._DelayedDone, () => ({ + __proto__: dart.getMethods(async._DelayedDone.__proto__), + perform: dart.fnType(dart.void, [dart.nullable(core.Object)]) +})); +dart.setGetterSignature(async._DelayedDone, () => ({ + __proto__: dart.getGetters(async._DelayedDone.__proto__), + next: dart.nullable(async._DelayedEvent) +})); +dart.setSetterSignature(async._DelayedDone, () => ({ + __proto__: dart.getSetters(async._DelayedDone.__proto__), + next: dart.nullable(async._DelayedEvent) +})); +dart.setLibraryUri(async._DelayedDone, I[29]); +const _is__StreamImplEvents_default = Symbol('_is__StreamImplEvents_default'); +async._StreamImplEvents$ = dart.generic(T => { + var _EventDispatchOfT = () => (_EventDispatchOfT = dart.constFn(async._EventDispatch$(T)))(); + class _StreamImplEvents extends async._PendingEvents$(T) { + get isEmpty() { + return this.lastPendingEvent == null; + } + add(event) { + if (event == null) dart.nullFailed(I[65], 688, 26, "event"); + let lastEvent = this.lastPendingEvent; + if (lastEvent == null) { + this.firstPendingEvent = this.lastPendingEvent = event; + } else { + this.lastPendingEvent = lastEvent.next = event; + } + } + handleNext(dispatch) { + _EventDispatchOfT().as(dispatch); + if (dispatch == null) dart.nullFailed(I[65], 697, 37, "dispatch"); + if (!!dart.test(this.isScheduled)) dart.assertFailed(null, I[65], 698, 12, "!isScheduled"); + if (!!dart.test(this.isEmpty)) dart.assertFailed(null, I[65], 699, 12, "!isEmpty"); + let event = dart.nullCheck(this.firstPendingEvent); + let nextEvent = event.next; + this.firstPendingEvent = nextEvent; + if (nextEvent == null) { + this.lastPendingEvent = null; + } + event.perform(dispatch); + } + clear() { + if (dart.test(this.isScheduled)) this.cancelSchedule(); + this.firstPendingEvent = this.lastPendingEvent = null; + } + } + (_StreamImplEvents.new = function() { + this.firstPendingEvent = null; + this.lastPendingEvent = null; + _StreamImplEvents.__proto__.new.call(this); + ; + }).prototype = _StreamImplEvents.prototype; + dart.addTypeTests(_StreamImplEvents); + _StreamImplEvents.prototype[_is__StreamImplEvents_default] = true; + dart.addTypeCaches(_StreamImplEvents); + dart.setMethodSignature(_StreamImplEvents, () => ({ + __proto__: dart.getMethods(_StreamImplEvents.__proto__), + add: dart.fnType(dart.void, [async._DelayedEvent]), + handleNext: dart.fnType(dart.void, [dart.nullable(core.Object)]), + clear: dart.fnType(dart.void, []) + })); + dart.setGetterSignature(_StreamImplEvents, () => ({ + __proto__: dart.getGetters(_StreamImplEvents.__proto__), + isEmpty: core.bool + })); + dart.setLibraryUri(_StreamImplEvents, I[29]); + dart.setFieldSignature(_StreamImplEvents, () => ({ + __proto__: dart.getFields(_StreamImplEvents.__proto__), + firstPendingEvent: dart.fieldType(dart.nullable(async._DelayedEvent)), + lastPendingEvent: dart.fieldType(dart.nullable(async._DelayedEvent)) + })); + return _StreamImplEvents; +}); +async._StreamImplEvents = async._StreamImplEvents$(); +dart.addTypeTests(async._StreamImplEvents, _is__StreamImplEvents_default); +var _schedule = dart.privateName(async, "_schedule"); +var _isSent = dart.privateName(async, "_isSent"); +var _isScheduled = dart.privateName(async, "_isScheduled"); +const _is__DoneStreamSubscription_default = Symbol('_is__DoneStreamSubscription_default'); +async._DoneStreamSubscription$ = dart.generic(T => { + class _DoneStreamSubscription extends core.Object { + get [_isSent]() { + return (dart.notNull(this[_state]) & 1) !== 0; + } + get [_isScheduled]() { + return (dart.notNull(this[_state]) & 2) !== 0; + } + get isPaused() { + return dart.notNull(this[_state]) >= 4; + } + [_schedule]() { + if (dart.test(this[_isScheduled])) return; + this[_zone$].scheduleMicrotask(dart.bind(this, _sendDone)); + this[_state] = (dart.notNull(this[_state]) | 2) >>> 0; + } + onData(handleData) { + } + onError(handleError) { + } + onDone(handleDone) { + this[_onDone$] = handleDone; + } + pause(resumeSignal = null) { + this[_state] = dart.notNull(this[_state]) + 4; + if (resumeSignal != null) resumeSignal.whenComplete(dart.bind(this, 'resume')); + } + resume() { + if (dart.test(this.isPaused)) { + this[_state] = dart.notNull(this[_state]) - 4; + if (!dart.test(this.isPaused) && !dart.test(this[_isSent])) { + this[_schedule](); + } + } + } + cancel() { + return async.Future._nullFuture; + } + asFuture(E, futureValue = null) { + let resultValue = null; + if (futureValue == null) { + if (!dart.test(_internal.typeAcceptsNull(E))) { + dart.throw(new core.ArgumentError.notNull("futureValue")); + } + resultValue = E.as(futureValue); + } else { + resultValue = futureValue; + } + let result = new (async._Future$(E)).new(); + this[_onDone$] = dart.fn(() => { + result[_completeWithValue](resultValue); + }, T$.VoidTovoid()); + return result; + } + [_sendDone]() { + this[_state] = (dart.notNull(this[_state]) & ~2 >>> 0) >>> 0; + if (dart.test(this.isPaused)) return; + this[_state] = (dart.notNull(this[_state]) | 1) >>> 0; + let doneHandler = this[_onDone$]; + if (doneHandler != null) this[_zone$].runGuarded(doneHandler); + } + } + (_DoneStreamSubscription.new = function(_onDone) { + this[_state] = 0; + this[_onDone$] = _onDone; + this[_zone$] = async.Zone.current; + this[_schedule](); + }).prototype = _DoneStreamSubscription.prototype; + _DoneStreamSubscription.prototype[dart.isStreamSubscription] = true; + dart.addTypeTests(_DoneStreamSubscription); + _DoneStreamSubscription.prototype[_is__DoneStreamSubscription_default] = true; + dart.addTypeCaches(_DoneStreamSubscription); + _DoneStreamSubscription[dart.implements] = () => [async.StreamSubscription$(T)]; + dart.setMethodSignature(_DoneStreamSubscription, () => ({ + __proto__: dart.getMethods(_DoneStreamSubscription.__proto__), + [_schedule]: dart.fnType(dart.void, []), + onData: dart.fnType(dart.void, [dart.nullable(dart.fnType(dart.void, [T]))]), + onError: dart.fnType(dart.void, [dart.nullable(core.Function)]), + onDone: dart.fnType(dart.void, [dart.nullable(dart.fnType(dart.void, []))]), + pause: dart.fnType(dart.void, [], [dart.nullable(async.Future$(dart.void))]), + resume: dart.fnType(dart.void, []), + cancel: dart.fnType(async.Future, []), + asFuture: dart.gFnType(E => [async.Future$(E), [], [dart.nullable(E)]], E => [dart.nullable(core.Object)]), + [_sendDone]: dart.fnType(dart.void, []) + })); + dart.setGetterSignature(_DoneStreamSubscription, () => ({ + __proto__: dart.getGetters(_DoneStreamSubscription.__proto__), + [_isSent]: core.bool, + [_isScheduled]: core.bool, + isPaused: core.bool + })); + dart.setLibraryUri(_DoneStreamSubscription, I[29]); + dart.setFieldSignature(_DoneStreamSubscription, () => ({ + __proto__: dart.getFields(_DoneStreamSubscription.__proto__), + [_zone$]: dart.finalFieldType(async.Zone), + [_state]: dart.fieldType(core.int), + [_onDone$]: dart.fieldType(dart.nullable(dart.fnType(dart.void, []))) + })); + return _DoneStreamSubscription; +}); +async._DoneStreamSubscription = async._DoneStreamSubscription$(); +dart.defineLazy(async._DoneStreamSubscription, { + /*async._DoneStreamSubscription._DONE_SENT*/get _DONE_SENT() { + return 1; + }, + /*async._DoneStreamSubscription._SCHEDULED*/get _SCHEDULED() { + return 2; + }, + /*async._DoneStreamSubscription._PAUSED*/get _PAUSED() { + return 4; + } +}, false); +dart.addTypeTests(async._DoneStreamSubscription, _is__DoneStreamSubscription_default); +var _source$4 = dart.privateName(async, "_source"); +var _onListenHandler = dart.privateName(async, "_onListenHandler"); +var _onCancelHandler = dart.privateName(async, "_onCancelHandler"); +var _cancelSubscription = dart.privateName(async, "_cancelSubscription"); +var _pauseSubscription = dart.privateName(async, "_pauseSubscription"); +var _resumeSubscription = dart.privateName(async, "_resumeSubscription"); +var _isSubscriptionPaused = dart.privateName(async, "_isSubscriptionPaused"); +const _is__AsBroadcastStream_default = Symbol('_is__AsBroadcastStream_default'); +async._AsBroadcastStream$ = dart.generic(T => { + var StreamSubscriptionOfT = () => (StreamSubscriptionOfT = dart.constFn(async.StreamSubscription$(T)))(); + var _AsBroadcastStreamControllerOfT = () => (_AsBroadcastStreamControllerOfT = dart.constFn(async._AsBroadcastStreamController$(T)))(); + var _DoneStreamSubscriptionOfT = () => (_DoneStreamSubscriptionOfT = dart.constFn(async._DoneStreamSubscription$(T)))(); + var _BroadcastSubscriptionWrapperOfT = () => (_BroadcastSubscriptionWrapperOfT = dart.constFn(async._BroadcastSubscriptionWrapper$(T)))(); + class _AsBroadcastStream extends async.Stream$(T) { + get isBroadcast() { + return true; + } + listen(onData, opts) { + let t116; + let onError = opts && 'onError' in opts ? opts.onError : null; + let onDone = opts && 'onDone' in opts ? opts.onDone : null; + let cancelOnError = opts && 'cancelOnError' in opts ? opts.cancelOnError : null; + let controller = this[_controller$]; + if (controller == null || dart.test(controller.isClosed)) { + return new (_DoneStreamSubscriptionOfT()).new(onDone); + } + this[_subscription] == null ? this[_subscription] = this[_source$4].listen(dart.bind(controller, 'add'), {onError: dart.bind(controller, 'addError'), onDone: dart.bind(controller, 'close')}) : null; + return controller[_subscribe](onData, onError, onDone, (t116 = cancelOnError, t116 == null ? false : t116)); + } + [_onCancel]() { + let controller = this[_controller$]; + let shutdown = controller == null || dart.test(controller.isClosed); + let cancelHandler = this[_onCancelHandler]; + if (cancelHandler != null) { + this[_zone$].runUnary(dart.void, _BroadcastSubscriptionWrapperOfT(), cancelHandler, new (_BroadcastSubscriptionWrapperOfT()).new(this)); + } + if (shutdown) { + let subscription = this[_subscription]; + if (subscription != null) { + subscription.cancel(); + this[_subscription] = null; + } + } + } + [_onListen$]() { + let listenHandler = this[_onListenHandler]; + if (listenHandler != null) { + this[_zone$].runUnary(dart.void, _BroadcastSubscriptionWrapperOfT(), listenHandler, new (_BroadcastSubscriptionWrapperOfT()).new(this)); + } + } + [_cancelSubscription]() { + let subscription = this[_subscription]; + if (subscription != null) { + this[_subscription] = null; + this[_controller$] = null; + subscription.cancel(); + } + } + [_pauseSubscription](resumeSignal) { + let t116; + t116 = this[_subscription]; + t116 == null ? null : t116.pause(resumeSignal); + } + [_resumeSubscription]() { + let t116; + t116 = this[_subscription]; + t116 == null ? null : t116.resume(); + } + get [_isSubscriptionPaused]() { + let t116, t116$; + t116$ = (t116 = this[_subscription], t116 == null ? null : t116.isPaused); + return t116$ == null ? false : t116$; + } + } + (_AsBroadcastStream.new = function(_source, onListenHandler, onCancelHandler) { + if (_source == null) dart.nullFailed(I[65], 799, 12, "_source"); + this[_controller$] = null; + this[_subscription] = null; + this[_source$4] = _source; + this[_onListenHandler] = onListenHandler == null ? null : async.Zone.current.registerUnaryCallback(dart.void, StreamSubscriptionOfT(), onListenHandler); + this[_onCancelHandler] = onCancelHandler == null ? null : async.Zone.current.registerUnaryCallback(dart.void, StreamSubscriptionOfT(), onCancelHandler); + this[_zone$] = async.Zone.current; + _AsBroadcastStream.__proto__.new.call(this); + this[_controller$] = new (_AsBroadcastStreamControllerOfT()).new(dart.bind(this, _onListen$), dart.bind(this, _onCancel)); + }).prototype = _AsBroadcastStream.prototype; + dart.addTypeTests(_AsBroadcastStream); + _AsBroadcastStream.prototype[_is__AsBroadcastStream_default] = true; + dart.addTypeCaches(_AsBroadcastStream); + dart.setMethodSignature(_AsBroadcastStream, () => ({ + __proto__: dart.getMethods(_AsBroadcastStream.__proto__), + listen: dart.fnType(async.StreamSubscription$(T), [dart.nullable(dart.fnType(dart.void, [T]))], {cancelOnError: dart.nullable(core.bool), onDone: dart.nullable(dart.fnType(dart.void, [])), onError: dart.nullable(core.Function)}, {}), + [_onCancel]: dart.fnType(dart.void, []), + [_onListen$]: dart.fnType(dart.void, []), + [_cancelSubscription]: dart.fnType(dart.void, []), + [_pauseSubscription]: dart.fnType(dart.void, [dart.nullable(async.Future$(dart.void))]), + [_resumeSubscription]: dart.fnType(dart.void, []) + })); + dart.setGetterSignature(_AsBroadcastStream, () => ({ + __proto__: dart.getGetters(_AsBroadcastStream.__proto__), + [_isSubscriptionPaused]: core.bool + })); + dart.setLibraryUri(_AsBroadcastStream, I[29]); + dart.setFieldSignature(_AsBroadcastStream, () => ({ + __proto__: dart.getFields(_AsBroadcastStream.__proto__), + [_source$4]: dart.finalFieldType(async.Stream$(T)), + [_onListenHandler]: dart.finalFieldType(dart.nullable(dart.fnType(dart.void, [async.StreamSubscription$(T)]))), + [_onCancelHandler]: dart.finalFieldType(dart.nullable(dart.fnType(dart.void, [async.StreamSubscription$(T)]))), + [_zone$]: dart.finalFieldType(async.Zone), + [_controller$]: dart.fieldType(dart.nullable(async._AsBroadcastStreamController$(T))), + [_subscription]: dart.fieldType(dart.nullable(async.StreamSubscription$(T))) + })); + return _AsBroadcastStream; +}); +async._AsBroadcastStream = async._AsBroadcastStream$(); +dart.addTypeTests(async._AsBroadcastStream, _is__AsBroadcastStream_default); +const _is__BroadcastSubscriptionWrapper_default = Symbol('_is__BroadcastSubscriptionWrapper_default'); +async._BroadcastSubscriptionWrapper$ = dart.generic(T => { + class _BroadcastSubscriptionWrapper extends core.Object { + onData(handleData) { + dart.throw(new core.UnsupportedError.new("Cannot change handlers of asBroadcastStream source subscription.")); + } + onError(handleError) { + dart.throw(new core.UnsupportedError.new("Cannot change handlers of asBroadcastStream source subscription.")); + } + onDone(handleDone) { + dart.throw(new core.UnsupportedError.new("Cannot change handlers of asBroadcastStream source subscription.")); + } + pause(resumeSignal = null) { + this[_stream$][_pauseSubscription](resumeSignal); + } + resume() { + this[_stream$][_resumeSubscription](); + } + cancel() { + this[_stream$][_cancelSubscription](); + return async.Future._nullFuture; + } + get isPaused() { + return this[_stream$][_isSubscriptionPaused]; + } + asFuture(E, futureValue = null) { + dart.throw(new core.UnsupportedError.new("Cannot change handlers of asBroadcastStream source subscription.")); + } + } + (_BroadcastSubscriptionWrapper.new = function(_stream) { + if (_stream == null) dart.nullFailed(I[65], 881, 38, "_stream"); + this[_stream$] = _stream; + ; + }).prototype = _BroadcastSubscriptionWrapper.prototype; + _BroadcastSubscriptionWrapper.prototype[dart.isStreamSubscription] = true; + dart.addTypeTests(_BroadcastSubscriptionWrapper); + _BroadcastSubscriptionWrapper.prototype[_is__BroadcastSubscriptionWrapper_default] = true; + dart.addTypeCaches(_BroadcastSubscriptionWrapper); + _BroadcastSubscriptionWrapper[dart.implements] = () => [async.StreamSubscription$(T)]; + dart.setMethodSignature(_BroadcastSubscriptionWrapper, () => ({ + __proto__: dart.getMethods(_BroadcastSubscriptionWrapper.__proto__), + onData: dart.fnType(dart.void, [dart.nullable(dart.fnType(dart.void, [T]))]), + onError: dart.fnType(dart.void, [dart.nullable(core.Function)]), + onDone: dart.fnType(dart.void, [dart.nullable(dart.fnType(dart.void, []))]), + pause: dart.fnType(dart.void, [], [dart.nullable(async.Future$(dart.void))]), + resume: dart.fnType(dart.void, []), + cancel: dart.fnType(async.Future, []), + asFuture: dart.gFnType(E => [async.Future$(E), [], [dart.nullable(E)]], E => [dart.nullable(core.Object)]) + })); + dart.setGetterSignature(_BroadcastSubscriptionWrapper, () => ({ + __proto__: dart.getGetters(_BroadcastSubscriptionWrapper.__proto__), + isPaused: core.bool + })); + dart.setLibraryUri(_BroadcastSubscriptionWrapper, I[29]); + dart.setFieldSignature(_BroadcastSubscriptionWrapper, () => ({ + __proto__: dart.getFields(_BroadcastSubscriptionWrapper.__proto__), + [_stream$]: dart.finalFieldType(async._AsBroadcastStream) + })); + return _BroadcastSubscriptionWrapper; +}); +async._BroadcastSubscriptionWrapper = async._BroadcastSubscriptionWrapper$(); +dart.addTypeTests(async._BroadcastSubscriptionWrapper, _is__BroadcastSubscriptionWrapper_default); +var _hasValue$0 = dart.privateName(async, "_hasValue"); +var _stateData = dart.privateName(async, "_stateData"); +var _initializeOrDone = dart.privateName(async, "_initializeOrDone"); +const _is__StreamIterator_default = Symbol('_is__StreamIterator_default'); +async._StreamIterator$ = dart.generic(T => { + var StreamOfT = () => (StreamOfT = dart.constFn(async.Stream$(T)))(); + class _StreamIterator extends core.Object { + get current() { + if (dart.test(this[_hasValue$0])) return T.as(this[_stateData]); + return T.as(null); + } + moveNext() { + let subscription = this[_subscription]; + if (subscription != null) { + if (dart.test(this[_hasValue$0])) { + let future = new (T$._FutureOfbool()).new(); + this[_stateData] = future; + this[_hasValue$0] = false; + subscription.resume(); + return future; + } + dart.throw(new core.StateError.new("Already waiting for next.")); + } + return this[_initializeOrDone](); + } + [_initializeOrDone]() { + if (!(this[_subscription] == null)) dart.assertFailed(null, I[65], 1012, 12, "_subscription == null"); + let stateData = this[_stateData]; + if (stateData != null) { + let stream = StreamOfT().as(stateData); + let future = new (T$._FutureOfbool()).new(); + this[_stateData] = future; + let subscription = stream.listen(dart.bind(this, _onData$), {onError: dart.bind(this, _onError), onDone: dart.bind(this, _onDone$), cancelOnError: true}); + if (this[_stateData] != null) { + this[_subscription] = subscription; + } + return future; + } + return async.Future._falseFuture; + } + cancel() { + let subscription = this[_subscription]; + let stateData = this[_stateData]; + this[_stateData] = null; + if (subscription != null) { + this[_subscription] = null; + if (!dart.test(this[_hasValue$0])) { + let future = T$._FutureOfbool().as(stateData); + future[_asyncComplete](false); + } else { + this[_hasValue$0] = false; + } + return subscription.cancel(); + } + return async.Future._nullFuture; + } + [_onData$](data) { + let t116; + T.as(data); + if (this[_subscription] == null) return; + let moveNextFuture = T$._FutureOfbool().as(this[_stateData]); + this[_stateData] = data; + this[_hasValue$0] = true; + moveNextFuture[_complete](true); + if (dart.test(this[_hasValue$0])) { + t116 = this[_subscription]; + t116 == null ? null : t116.pause(); + } + } + [_onError](error, stackTrace) { + if (error == null) dart.nullFailed(I[65], 1066, 24, "error"); + if (stackTrace == null) dart.nullFailed(I[65], 1066, 42, "stackTrace"); + let subscription = this[_subscription]; + let moveNextFuture = T$._FutureOfbool().as(this[_stateData]); + this[_subscription] = null; + this[_stateData] = null; + if (subscription != null) { + moveNextFuture[_completeError](error, stackTrace); + } else { + moveNextFuture[_asyncCompleteError](error, stackTrace); + } + } + [_onDone$]() { + let subscription = this[_subscription]; + let moveNextFuture = T$._FutureOfbool().as(this[_stateData]); + this[_subscription] = null; + this[_stateData] = null; + if (subscription != null) { + moveNextFuture[_completeWithValue](false); + } else { + moveNextFuture[_asyncCompleteWithValue](false); + } + } + } + (_StreamIterator.new = function(stream) { + if (stream == null) dart.nullFailed(I[65], 983, 35, "stream"); + this[_subscription] = null; + this[_hasValue$0] = false; + this[_stateData] = _internal.checkNotNullable(core.Object, stream, "stream"); + ; + }).prototype = _StreamIterator.prototype; + dart.addTypeTests(_StreamIterator); + _StreamIterator.prototype[_is__StreamIterator_default] = true; + dart.addTypeCaches(_StreamIterator); + _StreamIterator[dart.implements] = () => [async.StreamIterator$(T)]; + dart.setMethodSignature(_StreamIterator, () => ({ + __proto__: dart.getMethods(_StreamIterator.__proto__), + moveNext: dart.fnType(async.Future$(core.bool), []), + [_initializeOrDone]: dart.fnType(async.Future$(core.bool), []), + cancel: dart.fnType(async.Future, []), + [_onData$]: dart.fnType(dart.void, [dart.nullable(core.Object)]), + [_onError]: dart.fnType(dart.void, [core.Object, core.StackTrace]), + [_onDone$]: dart.fnType(dart.void, []) + })); + dart.setGetterSignature(_StreamIterator, () => ({ + __proto__: dart.getGetters(_StreamIterator.__proto__), + current: T + })); + dart.setLibraryUri(_StreamIterator, I[29]); + dart.setFieldSignature(_StreamIterator, () => ({ + __proto__: dart.getFields(_StreamIterator.__proto__), + [_subscription]: dart.fieldType(dart.nullable(async.StreamSubscription$(T))), + [_stateData]: dart.fieldType(dart.nullable(core.Object)), + [_hasValue$0]: dart.fieldType(core.bool) + })); + return _StreamIterator; +}); +async._StreamIterator = async._StreamIterator$(); +dart.addTypeTests(async._StreamIterator, _is__StreamIterator_default); +const _is__EmptyStream_default = Symbol('_is__EmptyStream_default'); +async._EmptyStream$ = dart.generic(T => { + var _DoneStreamSubscriptionOfT = () => (_DoneStreamSubscriptionOfT = dart.constFn(async._DoneStreamSubscription$(T)))(); + class _EmptyStream extends async.Stream$(T) { + get isBroadcast() { + return true; + } + listen(onData, opts) { + let onError = opts && 'onError' in opts ? opts.onError : null; + let onDone = opts && 'onDone' in opts ? opts.onDone : null; + let cancelOnError = opts && 'cancelOnError' in opts ? opts.cancelOnError : null; + return new (_DoneStreamSubscriptionOfT()).new(onDone); + } + } + (_EmptyStream.new = function() { + _EmptyStream.__proto__._internal.call(this); + ; + }).prototype = _EmptyStream.prototype; + dart.addTypeTests(_EmptyStream); + _EmptyStream.prototype[_is__EmptyStream_default] = true; + dart.addTypeCaches(_EmptyStream); + dart.setMethodSignature(_EmptyStream, () => ({ + __proto__: dart.getMethods(_EmptyStream.__proto__), + listen: dart.fnType(async.StreamSubscription$(T), [dart.nullable(dart.fnType(dart.void, [T]))], {cancelOnError: dart.nullable(core.bool), onDone: dart.nullable(dart.fnType(dart.void, [])), onError: dart.nullable(core.Function)}, {}) + })); + dart.setLibraryUri(_EmptyStream, I[29]); + return _EmptyStream; +}); +async._EmptyStream = async._EmptyStream$(); +dart.addTypeTests(async._EmptyStream, _is__EmptyStream_default); +var isBroadcast$ = dart.privateName(async, "_MultiStream.isBroadcast"); +const _is__MultiStream_default = Symbol('_is__MultiStream_default'); +async._MultiStream$ = dart.generic(T => { + var _MultiStreamControllerOfT = () => (_MultiStreamControllerOfT = dart.constFn(async._MultiStreamController$(T)))(); + class _MultiStream extends async.Stream$(T) { + get isBroadcast() { + return this[isBroadcast$]; + } + set isBroadcast(value) { + super.isBroadcast = value; + } + listen(onData, opts) { + let t116; + let onError = opts && 'onError' in opts ? opts.onError : null; + let onDone = opts && 'onDone' in opts ? opts.onDone : null; + let cancelOnError = opts && 'cancelOnError' in opts ? opts.cancelOnError : null; + let controller = new (_MultiStreamControllerOfT()).new(); + controller.onListen = dart.fn(() => { + let t116; + t116 = controller; + this[_onListen$](t116); + }, T$.VoidTovoid()); + return controller[_subscribe](onData, onError, onDone, (t116 = cancelOnError, t116 == null ? false : t116)); + } + } + (_MultiStream.new = function(_onListen, isBroadcast) { + if (_onListen == null) dart.nullFailed(I[65], 1110, 21, "_onListen"); + if (isBroadcast == null) dart.nullFailed(I[65], 1110, 37, "isBroadcast"); + this[_onListen$] = _onListen; + this[isBroadcast$] = isBroadcast; + _MultiStream.__proto__.new.call(this); + ; + }).prototype = _MultiStream.prototype; + dart.addTypeTests(_MultiStream); + _MultiStream.prototype[_is__MultiStream_default] = true; + dart.addTypeCaches(_MultiStream); + dart.setMethodSignature(_MultiStream, () => ({ + __proto__: dart.getMethods(_MultiStream.__proto__), + listen: dart.fnType(async.StreamSubscription$(T), [dart.nullable(dart.fnType(dart.void, [T]))], {cancelOnError: dart.nullable(core.bool), onDone: dart.nullable(dart.fnType(dart.void, [])), onError: dart.nullable(core.Function)}, {}) + })); + dart.setLibraryUri(_MultiStream, I[29]); + dart.setFieldSignature(_MultiStream, () => ({ + __proto__: dart.getFields(_MultiStream.__proto__), + isBroadcast: dart.finalFieldType(core.bool), + [_onListen$]: dart.finalFieldType(dart.fnType(dart.void, [async.MultiStreamController$(T)])) + })); + return _MultiStream; +}); +async._MultiStream = async._MultiStream$(); +dart.addTypeTests(async._MultiStream, _is__MultiStream_default); +const _is__MultiStreamController_default = Symbol('_is__MultiStreamController_default'); +async._MultiStreamController$ = dart.generic(T => { + class _MultiStreamController extends async._AsyncStreamController$(T) { + addSync(data) { + T.as(data); + if (!dart.test(this[_mayAddEvent])) dart.throw(this[_badEventState]()); + if (dart.test(this.hasListener)) this[_subscription][_add](data); + } + addErrorSync(error, stackTrace = null) { + let t116; + if (error == null) dart.nullFailed(I[65], 1132, 28, "error"); + if (!dart.test(this[_mayAddEvent])) dart.throw(this[_badEventState]()); + if (dart.test(this.hasListener)) { + this[_subscription][_addError](error, (t116 = stackTrace, t116 == null ? core.StackTrace.empty : t116)); + } + } + closeSync() { + if (dart.test(this.isClosed)) return; + if (!dart.test(this[_mayAddEvent])) dart.throw(this[_badEventState]()); + this[_state] = (dart.notNull(this[_state]) | 4) >>> 0; + if (dart.test(this.hasListener)) this[_subscription][_close](); + } + get stream() { + dart.throw(new core.UnsupportedError.new("Not available")); + } + } + (_MultiStreamController.new = function() { + _MultiStreamController.__proto__.new.call(this, null, null, null, null); + ; + }).prototype = _MultiStreamController.prototype; + dart.addTypeTests(_MultiStreamController); + _MultiStreamController.prototype[_is__MultiStreamController_default] = true; + dart.addTypeCaches(_MultiStreamController); + _MultiStreamController[dart.implements] = () => [async.MultiStreamController$(T)]; + dart.setMethodSignature(_MultiStreamController, () => ({ + __proto__: dart.getMethods(_MultiStreamController.__proto__), + addSync: dart.fnType(dart.void, [dart.nullable(core.Object)]), + addErrorSync: dart.fnType(dart.void, [core.Object], [dart.nullable(core.StackTrace)]), + closeSync: dart.fnType(dart.void, []) + })); + dart.setLibraryUri(_MultiStreamController, I[29]); + return _MultiStreamController; +}); +async._MultiStreamController = async._MultiStreamController$(); +dart.addTypeTests(async._MultiStreamController, _is__MultiStreamController_default); +var _handleError$ = dart.privateName(async, "_handleError"); +var _handleDone$ = dart.privateName(async, "_handleDone"); +const _is__ForwardingStream_default = Symbol('_is__ForwardingStream_default'); +async._ForwardingStream$ = dart.generic((S, T) => { + var _ForwardingStreamSubscriptionOfS$T = () => (_ForwardingStreamSubscriptionOfS$T = dart.constFn(async._ForwardingStreamSubscription$(S, T)))(); + var _EventSinkOfT = () => (_EventSinkOfT = dart.constFn(async._EventSink$(T)))(); + class _ForwardingStream extends async.Stream$(T) { + get isBroadcast() { + return this[_source$4].isBroadcast; + } + listen(onData, opts) { + let t116; + let onError = opts && 'onError' in opts ? opts.onError : null; + let onDone = opts && 'onDone' in opts ? opts.onDone : null; + let cancelOnError = opts && 'cancelOnError' in opts ? opts.cancelOnError : null; + return this[_createSubscription](onData, onError, onDone, (t116 = cancelOnError, t116 == null ? false : t116)); + } + [_createSubscription](onData, onError, onDone, cancelOnError) { + if (cancelOnError == null) dart.nullFailed(I[70], 85, 47, "cancelOnError"); + return new (_ForwardingStreamSubscriptionOfS$T()).new(this, onData, onError, onDone, cancelOnError); + } + [_handleError$](error, stackTrace, sink) { + if (error == null) dart.nullFailed(I[70], 94, 28, "error"); + if (stackTrace == null) dart.nullFailed(I[70], 94, 46, "stackTrace"); + _EventSinkOfT().as(sink); + if (sink == null) dart.nullFailed(I[70], 94, 72, "sink"); + sink[_addError](error, stackTrace); + } + [_handleDone$](sink) { + _EventSinkOfT().as(sink); + if (sink == null) dart.nullFailed(I[70], 98, 34, "sink"); + sink[_close](); + } + } + (_ForwardingStream.new = function(_source) { + if (_source == null) dart.nullFailed(I[70], 75, 26, "_source"); + this[_source$4] = _source; + _ForwardingStream.__proto__.new.call(this); + ; + }).prototype = _ForwardingStream.prototype; + dart.addTypeTests(_ForwardingStream); + _ForwardingStream.prototype[_is__ForwardingStream_default] = true; + dart.addTypeCaches(_ForwardingStream); + dart.setMethodSignature(_ForwardingStream, () => ({ + __proto__: dart.getMethods(_ForwardingStream.__proto__), + listen: dart.fnType(async.StreamSubscription$(T), [dart.nullable(dart.fnType(dart.void, [T]))], {cancelOnError: dart.nullable(core.bool), onDone: dart.nullable(dart.fnType(dart.void, [])), onError: dart.nullable(core.Function)}, {}), + [_createSubscription]: dart.fnType(async.StreamSubscription$(T), [dart.nullable(dart.fnType(dart.void, [T])), dart.nullable(core.Function), dart.nullable(dart.fnType(dart.void, [])), core.bool]), + [_handleError$]: dart.fnType(dart.void, [core.Object, core.StackTrace, dart.nullable(core.Object)]), + [_handleDone$]: dart.fnType(dart.void, [dart.nullable(core.Object)]) + })); + dart.setLibraryUri(_ForwardingStream, I[29]); + dart.setFieldSignature(_ForwardingStream, () => ({ + __proto__: dart.getFields(_ForwardingStream.__proto__), + [_source$4]: dart.finalFieldType(async.Stream$(S)) + })); + return _ForwardingStream; +}); +async._ForwardingStream = async._ForwardingStream$(); +dart.addTypeTests(async._ForwardingStream, _is__ForwardingStream_default); +var _handleData$ = dart.privateName(async, "_handleData"); +const _is__ForwardingStreamSubscription_default = Symbol('_is__ForwardingStreamSubscription_default'); +async._ForwardingStreamSubscription$ = dart.generic((S, T) => { + class _ForwardingStreamSubscription extends async._BufferingStreamSubscription$(T) { + [_add](data) { + T.as(data); + if (dart.test(this[_isClosed])) return; + super[_add](data); + } + [_addError](error, stackTrace) { + if (error == null) dart.nullFailed(I[70], 126, 25, "error"); + if (stackTrace == null) dart.nullFailed(I[70], 126, 43, "stackTrace"); + if (dart.test(this[_isClosed])) return; + super[_addError](error, stackTrace); + } + [_onPause]() { + let t116; + t116 = this[_subscription]; + t116 == null ? null : t116.pause(); + } + [_onResume]() { + let t116; + t116 = this[_subscription]; + t116 == null ? null : t116.resume(); + } + [_onCancel]() { + let subscription = this[_subscription]; + if (subscription != null) { + this[_subscription] = null; + return subscription.cancel(); + } + return null; + } + [_handleData$](data) { + S.as(data); + this[_stream$][_handleData$](data, this); + } + [_handleError$](error, stackTrace) { + if (stackTrace == null) dart.nullFailed(I[70], 156, 39, "stackTrace"); + this[_stream$][_handleError$](core.Object.as(error), stackTrace, this); + } + [_handleDone$]() { + this[_stream$][_handleDone$](this); + } + } + (_ForwardingStreamSubscription.new = function(_stream, onData, onError, onDone, cancelOnError) { + if (_stream == null) dart.nullFailed(I[70], 110, 38, "_stream"); + if (cancelOnError == null) dart.nullFailed(I[70], 111, 47, "cancelOnError"); + this[_subscription] = null; + this[_stream$] = _stream; + _ForwardingStreamSubscription.__proto__.new.call(this, onData, onError, onDone, cancelOnError); + this[_subscription] = this[_stream$][_source$4].listen(dart.bind(this, _handleData$), {onError: dart.bind(this, _handleError$), onDone: dart.bind(this, _handleDone$)}); + }).prototype = _ForwardingStreamSubscription.prototype; + dart.addTypeTests(_ForwardingStreamSubscription); + _ForwardingStreamSubscription.prototype[_is__ForwardingStreamSubscription_default] = true; + dart.addTypeCaches(_ForwardingStreamSubscription); + dart.setMethodSignature(_ForwardingStreamSubscription, () => ({ + __proto__: dart.getMethods(_ForwardingStreamSubscription.__proto__), + [_handleData$]: dart.fnType(dart.void, [dart.nullable(core.Object)]), + [_handleError$]: dart.fnType(dart.void, [dart.dynamic, core.StackTrace]), + [_handleDone$]: dart.fnType(dart.void, []) + })); + dart.setLibraryUri(_ForwardingStreamSubscription, I[29]); + dart.setFieldSignature(_ForwardingStreamSubscription, () => ({ + __proto__: dart.getFields(_ForwardingStreamSubscription.__proto__), + [_stream$]: dart.finalFieldType(async._ForwardingStream$(S, T)), + [_subscription]: dart.fieldType(dart.nullable(async.StreamSubscription$(S))) + })); + return _ForwardingStreamSubscription; +}); +async._ForwardingStreamSubscription = async._ForwardingStreamSubscription$(); +dart.addTypeTests(async._ForwardingStreamSubscription, _is__ForwardingStreamSubscription_default); +var _test = dart.privateName(async, "_test"); +const _is__WhereStream_default = Symbol('_is__WhereStream_default'); +async._WhereStream$ = dart.generic(T => { + class _WhereStream extends async._ForwardingStream$(T, T) { + [_handleData$](inputEvent, sink) { + let t116; + if (sink == null) dart.nullFailed(I[70], 186, 48, "sink"); + let satisfies = null; + try { + satisfies = (t116 = inputEvent, this[_test](t116)); + } catch (e$) { + let e = dart.getThrown(e$); + let s = dart.stackTrace(e$); + if (core.Object.is(e)) { + async._addErrorWithReplacement(sink, e, s); + return; + } else + throw e$; + } + if (dart.test(satisfies)) { + sink[_add](inputEvent); + } + } + } + (_WhereStream.new = function(source, test) { + if (source == null) dart.nullFailed(I[70], 182, 26, "source"); + if (test == null) dart.nullFailed(I[70], 182, 39, "test"); + this[_test] = test; + _WhereStream.__proto__.new.call(this, source); + ; + }).prototype = _WhereStream.prototype; + dart.addTypeTests(_WhereStream); + _WhereStream.prototype[_is__WhereStream_default] = true; + dart.addTypeCaches(_WhereStream); + dart.setMethodSignature(_WhereStream, () => ({ + __proto__: dart.getMethods(_WhereStream.__proto__), + [_handleData$]: dart.fnType(dart.void, [T, async._EventSink$(T)]) + })); + dart.setLibraryUri(_WhereStream, I[29]); + dart.setFieldSignature(_WhereStream, () => ({ + __proto__: dart.getFields(_WhereStream.__proto__), + [_test]: dart.finalFieldType(dart.fnType(core.bool, [T])) + })); + return _WhereStream; +}); +async._WhereStream = async._WhereStream$(); +dart.addTypeTests(async._WhereStream, _is__WhereStream_default); +var _transform = dart.privateName(async, "_transform"); +const _is__MapStream_default = Symbol('_is__MapStream_default'); +async._MapStream$ = dart.generic((S, T) => { + class _MapStream extends async._ForwardingStream$(S, T) { + [_handleData$](inputEvent, sink) { + let t117; + if (sink == null) dart.nullFailed(I[70], 210, 48, "sink"); + let outputEvent = null; + try { + outputEvent = (t117 = inputEvent, this[_transform](t117)); + } catch (e$) { + let e = dart.getThrown(e$); + let s = dart.stackTrace(e$); + if (core.Object.is(e)) { + async._addErrorWithReplacement(sink, e, s); + return; + } else + throw e$; + } + sink[_add](outputEvent); + } + } + (_MapStream.new = function(source, transform) { + if (source == null) dart.nullFailed(I[70], 206, 24, "source"); + if (transform == null) dart.nullFailed(I[70], 206, 34, "transform"); + this[_transform] = transform; + _MapStream.__proto__.new.call(this, source); + ; + }).prototype = _MapStream.prototype; + dart.addTypeTests(_MapStream); + _MapStream.prototype[_is__MapStream_default] = true; + dart.addTypeCaches(_MapStream); + dart.setMethodSignature(_MapStream, () => ({ + __proto__: dart.getMethods(_MapStream.__proto__), + [_handleData$]: dart.fnType(dart.void, [S, async._EventSink$(T)]) + })); + dart.setLibraryUri(_MapStream, I[29]); + dart.setFieldSignature(_MapStream, () => ({ + __proto__: dart.getFields(_MapStream.__proto__), + [_transform]: dart.finalFieldType(dart.fnType(T, [S])) + })); + return _MapStream; +}); +async._MapStream = async._MapStream$(); +dart.addTypeTests(async._MapStream, _is__MapStream_default); +var _expand = dart.privateName(async, "_expand"); +const _is__ExpandStream_default = Symbol('_is__ExpandStream_default'); +async._ExpandStream$ = dart.generic((S, T) => { + class _ExpandStream extends async._ForwardingStream$(S, T) { + [_handleData$](inputEvent, sink) { + let t118; + if (sink == null) dart.nullFailed(I[70], 230, 48, "sink"); + try { + for (let value of (t118 = inputEvent, this[_expand](t118))) { + sink[_add](value); + } + } catch (e$) { + let e = dart.getThrown(e$); + let s = dart.stackTrace(e$); + if (core.Object.is(e)) { + async._addErrorWithReplacement(sink, e, s); + } else + throw e$; + } + } + } + (_ExpandStream.new = function(source, expand) { + if (source == null) dart.nullFailed(I[70], 226, 27, "source"); + if (expand == null) dart.nullFailed(I[70], 226, 47, "expand"); + this[_expand] = expand; + _ExpandStream.__proto__.new.call(this, source); + ; + }).prototype = _ExpandStream.prototype; + dart.addTypeTests(_ExpandStream); + _ExpandStream.prototype[_is__ExpandStream_default] = true; + dart.addTypeCaches(_ExpandStream); + dart.setMethodSignature(_ExpandStream, () => ({ + __proto__: dart.getMethods(_ExpandStream.__proto__), + [_handleData$]: dart.fnType(dart.void, [S, async._EventSink$(T)]) + })); + dart.setLibraryUri(_ExpandStream, I[29]); + dart.setFieldSignature(_ExpandStream, () => ({ + __proto__: dart.getFields(_ExpandStream.__proto__), + [_expand]: dart.finalFieldType(dart.fnType(core.Iterable$(T), [S])) + })); + return _ExpandStream; +}); +async._ExpandStream = async._ExpandStream$(); +dart.addTypeTests(async._ExpandStream, _is__ExpandStream_default); +const _is__HandleErrorStream_default = Symbol('_is__HandleErrorStream_default'); +async._HandleErrorStream$ = dart.generic(T => { + class _HandleErrorStream extends async._ForwardingStream$(T, T) { + [_handleData$](data, sink) { + if (sink == null) dart.nullFailed(I[70], 255, 42, "sink"); + sink[_add](data); + } + [_handleError$](error, stackTrace, sink) { + if (error == null) dart.nullFailed(I[70], 259, 28, "error"); + if (stackTrace == null) dart.nullFailed(I[70], 259, 46, "stackTrace"); + if (sink == null) dart.nullFailed(I[70], 259, 72, "sink"); + let matches = true; + let test = this[_test]; + if (test != null) { + try { + matches = test(error); + } catch (e$) { + let e = dart.getThrown(e$); + let s = dart.stackTrace(e$); + if (core.Object.is(e)) { + async._addErrorWithReplacement(sink, e, s); + return; + } else + throw e$; + } + } + if (dart.test(matches)) { + try { + async._invokeErrorHandler(this[_transform], error, stackTrace); + } catch (e$0) { + let e = dart.getThrown(e$0); + let s = dart.stackTrace(e$0); + if (core.Object.is(e)) { + if (core.identical(e, error)) { + sink[_addError](error, stackTrace); + } else { + async._addErrorWithReplacement(sink, e, s); + } + return; + } else + throw e$0; + } + } else { + sink[_addError](error, stackTrace); + } + } + } + (_HandleErrorStream.new = function(source, onError, test) { + if (source == null) dart.nullFailed(I[70], 250, 17, "source"); + if (onError == null) dart.nullFailed(I[70], 250, 34, "onError"); + this[_transform] = onError; + this[_test] = test; + _HandleErrorStream.__proto__.new.call(this, source); + ; + }).prototype = _HandleErrorStream.prototype; + dart.addTypeTests(_HandleErrorStream); + _HandleErrorStream.prototype[_is__HandleErrorStream_default] = true; + dart.addTypeCaches(_HandleErrorStream); + dart.setMethodSignature(_HandleErrorStream, () => ({ + __proto__: dart.getMethods(_HandleErrorStream.__proto__), + [_handleData$]: dart.fnType(dart.void, [T, async._EventSink$(T)]), + [_handleError$]: dart.fnType(dart.void, [core.Object, core.StackTrace, async._EventSink$(T)]) + })); + dart.setLibraryUri(_HandleErrorStream, I[29]); + dart.setFieldSignature(_HandleErrorStream, () => ({ + __proto__: dart.getFields(_HandleErrorStream.__proto__), + [_transform]: dart.finalFieldType(core.Function), + [_test]: dart.finalFieldType(dart.nullable(dart.fnType(core.bool, [core.Object]))) + })); + return _HandleErrorStream; +}); +async._HandleErrorStream = async._HandleErrorStream$(); +dart.addTypeTests(async._HandleErrorStream, _is__HandleErrorStream_default); +var _count = dart.privateName(async, "_count"); +var _subState = dart.privateName(async, "_subState"); +const _is__TakeStream_default = Symbol('_is__TakeStream_default'); +async._TakeStream$ = dart.generic(T => { + var _DoneStreamSubscriptionOfT = () => (_DoneStreamSubscriptionOfT = dart.constFn(async._DoneStreamSubscription$(T)))(); + var _StateStreamSubscriptionOfint$T = () => (_StateStreamSubscriptionOfint$T = dart.constFn(async._StateStreamSubscription$(core.int, T)))(); + class _TakeStream extends async._ForwardingStream$(T, T) { + [_createSubscription](onData, onError, onDone, cancelOnError) { + if (cancelOnError == null) dart.nullFailed(I[70], 295, 47, "cancelOnError"); + if (this[_count] === 0) { + this[_source$4].listen(null).cancel(); + return new (_DoneStreamSubscriptionOfT()).new(onDone); + } + return new (_StateStreamSubscriptionOfint$T()).new(this, onData, onError, onDone, cancelOnError, this[_count]); + } + [_handleData$](inputEvent, sink) { + if (sink == null) dart.nullFailed(I[70], 304, 48, "sink"); + let subscription = _StateStreamSubscriptionOfint$T().as(sink); + let count = subscription[_subState]; + if (dart.notNull(count) > 0) { + sink[_add](inputEvent); + count = dart.notNull(count) - 1; + subscription[_subState] = count; + if (count === 0) { + sink[_close](); + } + } + } + } + (_TakeStream.new = function(source, count) { + if (source == null) dart.nullFailed(I[70], 290, 25, "source"); + if (count == null) dart.nullFailed(I[70], 290, 37, "count"); + this[_count] = count; + _TakeStream.__proto__.new.call(this, source); + ; + }).prototype = _TakeStream.prototype; + dart.addTypeTests(_TakeStream); + _TakeStream.prototype[_is__TakeStream_default] = true; + dart.addTypeCaches(_TakeStream); + dart.setMethodSignature(_TakeStream, () => ({ + __proto__: dart.getMethods(_TakeStream.__proto__), + [_handleData$]: dart.fnType(dart.void, [T, async._EventSink$(T)]) + })); + dart.setLibraryUri(_TakeStream, I[29]); + dart.setFieldSignature(_TakeStream, () => ({ + __proto__: dart.getFields(_TakeStream.__proto__), + [_count]: dart.finalFieldType(core.int) + })); + return _TakeStream; +}); +async._TakeStream = async._TakeStream$(); +dart.addTypeTests(async._TakeStream, _is__TakeStream_default); +var _subState$ = dart.privateName(async, "_StateStreamSubscription._subState"); +const _is__StateStreamSubscription_default = Symbol('_is__StateStreamSubscription_default'); +async._StateStreamSubscription$ = dart.generic((S, T) => { + class _StateStreamSubscription extends async._ForwardingStreamSubscription$(T, T) { + get [_subState]() { + return this[_subState$]; + } + set [_subState](value) { + this[_subState$] = S.as(value); + } + } + (_StateStreamSubscription.new = function(stream, onData, onError, onDone, cancelOnError, _subState) { + if (stream == null) dart.nullFailed(I[70], 327, 52, "stream"); + if (cancelOnError == null) dart.nullFailed(I[70], 328, 47, "cancelOnError"); + this[_subState$] = _subState; + _StateStreamSubscription.__proto__.new.call(this, stream, onData, onError, onDone, cancelOnError); + ; + }).prototype = _StateStreamSubscription.prototype; + dart.addTypeTests(_StateStreamSubscription); + _StateStreamSubscription.prototype[_is__StateStreamSubscription_default] = true; + dart.addTypeCaches(_StateStreamSubscription); + dart.setLibraryUri(_StateStreamSubscription, I[29]); + dart.setFieldSignature(_StateStreamSubscription, () => ({ + __proto__: dart.getFields(_StateStreamSubscription.__proto__), + [_subState]: dart.fieldType(S) + })); + return _StateStreamSubscription; +}); +async._StateStreamSubscription = async._StateStreamSubscription$(); +dart.addTypeTests(async._StateStreamSubscription, _is__StateStreamSubscription_default); +const _is__TakeWhileStream_default = Symbol('_is__TakeWhileStream_default'); +async._TakeWhileStream$ = dart.generic(T => { + class _TakeWhileStream extends async._ForwardingStream$(T, T) { + [_handleData$](inputEvent, sink) { + let t121; + if (sink == null) dart.nullFailed(I[70], 339, 48, "sink"); + let satisfies = null; + try { + satisfies = (t121 = inputEvent, this[_test](t121)); + } catch (e$) { + let e = dart.getThrown(e$); + let s = dart.stackTrace(e$); + if (core.Object.is(e)) { + async._addErrorWithReplacement(sink, e, s); + sink[_close](); + return; + } else + throw e$; + } + if (dart.test(satisfies)) { + sink[_add](inputEvent); + } else { + sink[_close](); + } + } + } + (_TakeWhileStream.new = function(source, test) { + if (source == null) dart.nullFailed(I[70], 335, 30, "source"); + if (test == null) dart.nullFailed(I[70], 335, 43, "test"); + this[_test] = test; + _TakeWhileStream.__proto__.new.call(this, source); + ; + }).prototype = _TakeWhileStream.prototype; + dart.addTypeTests(_TakeWhileStream); + _TakeWhileStream.prototype[_is__TakeWhileStream_default] = true; + dart.addTypeCaches(_TakeWhileStream); + dart.setMethodSignature(_TakeWhileStream, () => ({ + __proto__: dart.getMethods(_TakeWhileStream.__proto__), + [_handleData$]: dart.fnType(dart.void, [T, async._EventSink$(T)]) + })); + dart.setLibraryUri(_TakeWhileStream, I[29]); + dart.setFieldSignature(_TakeWhileStream, () => ({ + __proto__: dart.getFields(_TakeWhileStream.__proto__), + [_test]: dart.finalFieldType(dart.fnType(core.bool, [T])) + })); + return _TakeWhileStream; +}); +async._TakeWhileStream = async._TakeWhileStream$(); +dart.addTypeTests(async._TakeWhileStream, _is__TakeWhileStream_default); +const _is__SkipStream_default = Symbol('_is__SkipStream_default'); +async._SkipStream$ = dart.generic(T => { + var _StateStreamSubscriptionOfint$T = () => (_StateStreamSubscriptionOfint$T = dart.constFn(async._StateStreamSubscription$(core.int, T)))(); + class _SkipStream extends async._ForwardingStream$(T, T) { + [_createSubscription](onData, onError, onDone, cancelOnError) { + if (cancelOnError == null) dart.nullFailed(I[70], 369, 47, "cancelOnError"); + return new (_StateStreamSubscriptionOfint$T()).new(this, onData, onError, onDone, cancelOnError, this[_count]); + } + [_handleData$](inputEvent, sink) { + if (sink == null) dart.nullFailed(I[70], 374, 48, "sink"); + let subscription = _StateStreamSubscriptionOfint$T().as(sink); + let count = subscription[_subState]; + if (dart.notNull(count) > 0) { + subscription[_subState] = dart.notNull(count) - 1; + return; + } + sink[_add](inputEvent); + } + } + (_SkipStream.new = function(source, count) { + if (source == null) dart.nullFailed(I[70], 360, 25, "source"); + if (count == null) dart.nullFailed(I[70], 360, 37, "count"); + this[_count] = count; + _SkipStream.__proto__.new.call(this, source); + core.RangeError.checkNotNegative(count, "count"); + }).prototype = _SkipStream.prototype; + dart.addTypeTests(_SkipStream); + _SkipStream.prototype[_is__SkipStream_default] = true; + dart.addTypeCaches(_SkipStream); + dart.setMethodSignature(_SkipStream, () => ({ + __proto__: dart.getMethods(_SkipStream.__proto__), + [_handleData$]: dart.fnType(dart.void, [T, async._EventSink$(T)]) + })); + dart.setLibraryUri(_SkipStream, I[29]); + dart.setFieldSignature(_SkipStream, () => ({ + __proto__: dart.getFields(_SkipStream.__proto__), + [_count]: dart.finalFieldType(core.int) + })); + return _SkipStream; +}); +async._SkipStream = async._SkipStream$(); +dart.addTypeTests(async._SkipStream, _is__SkipStream_default); +const _is__SkipWhileStream_default = Symbol('_is__SkipWhileStream_default'); +async._SkipWhileStream$ = dart.generic(T => { + var _StateStreamSubscriptionOfbool$T = () => (_StateStreamSubscriptionOfbool$T = dart.constFn(async._StateStreamSubscription$(core.bool, T)))(); + class _SkipWhileStream extends async._ForwardingStream$(T, T) { + [_createSubscription](onData, onError, onDone, cancelOnError) { + if (cancelOnError == null) dart.nullFailed(I[70], 393, 47, "cancelOnError"); + return new (_StateStreamSubscriptionOfbool$T()).new(this, onData, onError, onDone, cancelOnError, false); + } + [_handleData$](inputEvent, sink) { + let t122; + if (sink == null) dart.nullFailed(I[70], 398, 48, "sink"); + let subscription = _StateStreamSubscriptionOfbool$T().as(sink); + let hasFailed = subscription[_subState]; + if (dart.test(hasFailed)) { + sink[_add](inputEvent); + return; + } + let satisfies = null; + try { + satisfies = (t122 = inputEvent, this[_test](t122)); + } catch (e$) { + let e = dart.getThrown(e$); + let s = dart.stackTrace(e$); + if (core.Object.is(e)) { + async._addErrorWithReplacement(sink, e, s); + subscription[_subState] = true; + return; + } else + throw e$; + } + if (!dart.test(satisfies)) { + subscription[_subState] = true; + sink[_add](inputEvent); + } + } + } + (_SkipWhileStream.new = function(source, test) { + if (source == null) dart.nullFailed(I[70], 388, 30, "source"); + if (test == null) dart.nullFailed(I[70], 388, 43, "test"); + this[_test] = test; + _SkipWhileStream.__proto__.new.call(this, source); + ; + }).prototype = _SkipWhileStream.prototype; + dart.addTypeTests(_SkipWhileStream); + _SkipWhileStream.prototype[_is__SkipWhileStream_default] = true; + dart.addTypeCaches(_SkipWhileStream); + dart.setMethodSignature(_SkipWhileStream, () => ({ + __proto__: dart.getMethods(_SkipWhileStream.__proto__), + [_handleData$]: dart.fnType(dart.void, [T, async._EventSink$(T)]) + })); + dart.setLibraryUri(_SkipWhileStream, I[29]); + dart.setFieldSignature(_SkipWhileStream, () => ({ + __proto__: dart.getFields(_SkipWhileStream.__proto__), + [_test]: dart.finalFieldType(dart.fnType(core.bool, [T])) + })); + return _SkipWhileStream; +}); +async._SkipWhileStream = async._SkipWhileStream$(); +dart.addTypeTests(async._SkipWhileStream, _is__SkipWhileStream_default); +var _equals = dart.privateName(async, "_equals"); +const _is__DistinctStream_default = Symbol('_is__DistinctStream_default'); +async._DistinctStream$ = dart.generic(T => { + var _StateStreamSubscriptionOfObjectN$T = () => (_StateStreamSubscriptionOfObjectN$T = dart.constFn(async._StateStreamSubscription$(T$.ObjectN(), T)))(); + class _DistinctStream extends async._ForwardingStream$(T, T) { + [_createSubscription](onData, onError, onDone, cancelOnError) { + if (cancelOnError == null) dart.nullFailed(I[70], 431, 47, "cancelOnError"); + return new (_StateStreamSubscriptionOfObjectN$T()).new(this, onData, onError, onDone, cancelOnError, async._DistinctStream._SENTINEL); + } + [_handleData$](inputEvent, sink) { + if (sink == null) dart.nullFailed(I[70], 436, 48, "sink"); + let subscription = _StateStreamSubscriptionOfObjectN$T().as(sink); + let previous = subscription[_subState]; + if (core.identical(previous, async._DistinctStream._SENTINEL)) { + subscription[_subState] = inputEvent; + sink[_add](inputEvent); + } else { + let previousEvent = T.as(previous); + let equals = this[_equals]; + let isEqual = null; + try { + if (equals == null) { + isEqual = dart.equals(previousEvent, inputEvent); + } else { + isEqual = equals(previousEvent, inputEvent); + } + } catch (e$) { + let e = dart.getThrown(e$); + let s = dart.stackTrace(e$); + if (core.Object.is(e)) { + async._addErrorWithReplacement(sink, e, s); + return; + } else + throw e$; + } + if (!dart.test(isEqual)) { + sink[_add](inputEvent); + subscription[_subState] = inputEvent; + } + } + } + } + (_DistinctStream.new = function(source, equals) { + if (source == null) dart.nullFailed(I[70], 426, 29, "source"); + this[_equals] = equals; + _DistinctStream.__proto__.new.call(this, source); + ; + }).prototype = _DistinctStream.prototype; + dart.addTypeTests(_DistinctStream); + _DistinctStream.prototype[_is__DistinctStream_default] = true; + dart.addTypeCaches(_DistinctStream); + dart.setMethodSignature(_DistinctStream, () => ({ + __proto__: dart.getMethods(_DistinctStream.__proto__), + [_handleData$]: dart.fnType(dart.void, [T, async._EventSink$(T)]) + })); + dart.setLibraryUri(_DistinctStream, I[29]); + dart.setFieldSignature(_DistinctStream, () => ({ + __proto__: dart.getFields(_DistinctStream.__proto__), + [_equals]: dart.finalFieldType(dart.nullable(dart.fnType(core.bool, [T, T]))) + })); + return _DistinctStream; +}); +async._DistinctStream = async._DistinctStream$(); +dart.defineLazy(async._DistinctStream, { + /*async._DistinctStream._SENTINEL*/get _SENTINEL() { + return new core.Object.new(); + } +}, false); +dart.addTypeTests(async._DistinctStream, _is__DistinctStream_default); +const _is__EventSinkWrapper_default = Symbol('_is__EventSinkWrapper_default'); +async._EventSinkWrapper$ = dart.generic(T => { + class _EventSinkWrapper extends core.Object { + add(data) { + T.as(data); + this[_sink$][_add](data); + } + addError(error, stackTrace = null) { + let t124; + if (error == null) dart.nullFailed(I[71], 16, 24, "error"); + this[_sink$][_addError](error, (t124 = stackTrace, t124 == null ? async.AsyncError.defaultStackTrace(error) : t124)); + } + close() { + this[_sink$][_close](); + } + } + (_EventSinkWrapper.new = function(_sink) { + if (_sink == null) dart.nullFailed(I[71], 10, 26, "_sink"); + this[_sink$] = _sink; + ; + }).prototype = _EventSinkWrapper.prototype; + dart.addTypeTests(_EventSinkWrapper); + _EventSinkWrapper.prototype[_is__EventSinkWrapper_default] = true; + dart.addTypeCaches(_EventSinkWrapper); + _EventSinkWrapper[dart.implements] = () => [async.EventSink$(T)]; + dart.setMethodSignature(_EventSinkWrapper, () => ({ + __proto__: dart.getMethods(_EventSinkWrapper.__proto__), + add: dart.fnType(dart.void, [dart.nullable(core.Object)]), + addError: dart.fnType(dart.void, [core.Object], [dart.nullable(core.StackTrace)]), + close: dart.fnType(dart.void, []) + })); + dart.setLibraryUri(_EventSinkWrapper, I[29]); + dart.setFieldSignature(_EventSinkWrapper, () => ({ + __proto__: dart.getFields(_EventSinkWrapper.__proto__), + [_sink$]: dart.fieldType(async._EventSink$(T)) + })); + return _EventSinkWrapper; +}); +async._EventSinkWrapper = async._EventSinkWrapper$(); +dart.addTypeTests(async._EventSinkWrapper, _is__EventSinkWrapper_default); +var ___SinkTransformerStreamSubscription__transformerSink = dart.privateName(async, "_#_SinkTransformerStreamSubscription#_transformerSink"); +var ___SinkTransformerStreamSubscription__transformerSink_isSet = dart.privateName(async, "_#_SinkTransformerStreamSubscription#_transformerSink#isSet"); +var _transformerSink = dart.privateName(async, "_transformerSink"); +const _is__SinkTransformerStreamSubscription_default = Symbol('_is__SinkTransformerStreamSubscription_default'); +async._SinkTransformerStreamSubscription$ = dart.generic((S, T) => { + var _EventSinkWrapperOfT = () => (_EventSinkWrapperOfT = dart.constFn(async._EventSinkWrapper$(T)))(); + class _SinkTransformerStreamSubscription extends async._BufferingStreamSubscription$(T) { + get [_transformerSink]() { + let t124; + return dart.test(this[___SinkTransformerStreamSubscription__transformerSink_isSet]) ? (t124 = this[___SinkTransformerStreamSubscription__transformerSink], t124) : dart.throw(new _internal.LateError.fieldNI("_transformerSink")); + } + set [_transformerSink](t124) { + if (t124 == null) dart.nullFailed(I[71], 33, 21, "null"); + this[___SinkTransformerStreamSubscription__transformerSink_isSet] = true; + this[___SinkTransformerStreamSubscription__transformerSink] = t124; + } + [_add](data) { + if (dart.test(this[_isClosed])) { + dart.throw(new core.StateError.new("Stream is already closed")); + } + super[_add](data); + } + [_addError](error, stackTrace) { + if (error == null) dart.nullFailed(I[71], 71, 25, "error"); + if (stackTrace == null) dart.nullFailed(I[71], 71, 43, "stackTrace"); + if (dart.test(this[_isClosed])) { + dart.throw(new core.StateError.new("Stream is already closed")); + } + super[_addError](error, stackTrace); + } + [_close]() { + if (dart.test(this[_isClosed])) { + dart.throw(new core.StateError.new("Stream is already closed")); + } + super[_close](); + } + [_onPause]() { + let t125; + t125 = this[_subscription]; + t125 == null ? null : t125.pause(); + } + [_onResume]() { + let t125; + t125 = this[_subscription]; + t125 == null ? null : t125.resume(); + } + [_onCancel]() { + let subscription = this[_subscription]; + if (subscription != null) { + this[_subscription] = null; + return subscription.cancel(); + } + return null; + } + [_handleData$](data) { + S.as(data); + try { + this[_transformerSink].add(data); + } catch (e$) { + let e = dart.getThrown(e$); + let s = dart.stackTrace(e$); + if (core.Object.is(e)) { + this[_addError](e, s); + } else + throw e$; + } + } + [_handleError$](error, stackTrace) { + if (error == null) dart.nullFailed(I[71], 117, 28, "error"); + if (stackTrace == null) dart.nullFailed(I[71], 117, 46, "stackTrace"); + try { + this[_transformerSink].addError(error, stackTrace); + } catch (e$) { + let e = dart.getThrown(e$); + let s = dart.stackTrace(e$); + if (core.Object.is(e)) { + if (core.identical(e, error)) { + this[_addError](error, stackTrace); + } else { + this[_addError](e, s); + } + } else + throw e$; + } + } + [_handleDone$]() { + try { + this[_subscription] = null; + this[_transformerSink].close(); + } catch (e$) { + let e = dart.getThrown(e$); + let s = dart.stackTrace(e$); + if (core.Object.is(e)) { + this[_addError](e, s); + } else + throw e$; + } + } + } + (_SinkTransformerStreamSubscription.new = function(source, mapper, onData, onError, onDone, cancelOnError) { + if (source == null) dart.nullFailed(I[71], 39, 17, "source"); + if (mapper == null) dart.nullFailed(I[71], 40, 25, "mapper"); + if (cancelOnError == null) dart.nullFailed(I[71], 44, 12, "cancelOnError"); + this[___SinkTransformerStreamSubscription__transformerSink] = null; + this[___SinkTransformerStreamSubscription__transformerSink_isSet] = false; + this[_subscription] = null; + _SinkTransformerStreamSubscription.__proto__.new.call(this, onData, onError, onDone, cancelOnError); + this[_transformerSink] = mapper(new (_EventSinkWrapperOfT()).new(this)); + this[_subscription] = source.listen(dart.bind(this, _handleData$), {onError: dart.bind(this, _handleError$), onDone: dart.bind(this, _handleDone$)}); + }).prototype = _SinkTransformerStreamSubscription.prototype; + dart.addTypeTests(_SinkTransformerStreamSubscription); + _SinkTransformerStreamSubscription.prototype[_is__SinkTransformerStreamSubscription_default] = true; + dart.addTypeCaches(_SinkTransformerStreamSubscription); + dart.setMethodSignature(_SinkTransformerStreamSubscription, () => ({ + __proto__: dart.getMethods(_SinkTransformerStreamSubscription.__proto__), + [_add]: dart.fnType(dart.void, [T]), + [_handleData$]: dart.fnType(dart.void, [dart.nullable(core.Object)]), + [_handleError$]: dart.fnType(dart.void, [core.Object, core.StackTrace]), + [_handleDone$]: dart.fnType(dart.void, []) + })); + dart.setGetterSignature(_SinkTransformerStreamSubscription, () => ({ + __proto__: dart.getGetters(_SinkTransformerStreamSubscription.__proto__), + [_transformerSink]: async.EventSink$(S) + })); + dart.setSetterSignature(_SinkTransformerStreamSubscription, () => ({ + __proto__: dart.getSetters(_SinkTransformerStreamSubscription.__proto__), + [_transformerSink]: async.EventSink$(S) + })); + dart.setLibraryUri(_SinkTransformerStreamSubscription, I[29]); + dart.setFieldSignature(_SinkTransformerStreamSubscription, () => ({ + __proto__: dart.getFields(_SinkTransformerStreamSubscription.__proto__), + [___SinkTransformerStreamSubscription__transformerSink]: dart.fieldType(dart.nullable(async.EventSink$(S))), + [___SinkTransformerStreamSubscription__transformerSink_isSet]: dart.fieldType(core.bool), + [_subscription]: dart.fieldType(dart.nullable(async.StreamSubscription$(S))) + })); + return _SinkTransformerStreamSubscription; +}); +async._SinkTransformerStreamSubscription = async._SinkTransformerStreamSubscription$(); +dart.addTypeTests(async._SinkTransformerStreamSubscription, _is__SinkTransformerStreamSubscription_default); +var _sinkMapper$ = dart.privateName(async, "_StreamSinkTransformer._sinkMapper"); +var _sinkMapper$0 = dart.privateName(async, "_sinkMapper"); +const _is__StreamSinkTransformer_default = Symbol('_is__StreamSinkTransformer_default'); +async._StreamSinkTransformer$ = dart.generic((S, T) => { + var StreamOfS = () => (StreamOfS = dart.constFn(async.Stream$(S)))(); + var _BoundSinkStreamOfS$T = () => (_BoundSinkStreamOfS$T = dart.constFn(async._BoundSinkStream$(S, T)))(); + class _StreamSinkTransformer extends async.StreamTransformerBase$(S, T) { + get [_sinkMapper$0]() { + return this[_sinkMapper$]; + } + set [_sinkMapper$0](value) { + super[_sinkMapper$0] = value; + } + bind(stream) { + StreamOfS().as(stream); + if (stream == null) dart.nullFailed(I[71], 151, 28, "stream"); + return new (_BoundSinkStreamOfS$T()).new(stream, this[_sinkMapper$0]); + } + } + (_StreamSinkTransformer.new = function(_sinkMapper) { + if (_sinkMapper == null) dart.nullFailed(I[71], 149, 37, "_sinkMapper"); + this[_sinkMapper$] = _sinkMapper; + _StreamSinkTransformer.__proto__.new.call(this); + ; + }).prototype = _StreamSinkTransformer.prototype; + dart.addTypeTests(_StreamSinkTransformer); + _StreamSinkTransformer.prototype[_is__StreamSinkTransformer_default] = true; + dart.addTypeCaches(_StreamSinkTransformer); + dart.setMethodSignature(_StreamSinkTransformer, () => ({ + __proto__: dart.getMethods(_StreamSinkTransformer.__proto__), + bind: dart.fnType(async.Stream$(T), [dart.nullable(core.Object)]) + })); + dart.setLibraryUri(_StreamSinkTransformer, I[29]); + dart.setFieldSignature(_StreamSinkTransformer, () => ({ + __proto__: dart.getFields(_StreamSinkTransformer.__proto__), + [_sinkMapper$0]: dart.finalFieldType(dart.fnType(async.EventSink$(S), [async.EventSink$(T)])) + })); + return _StreamSinkTransformer; +}); +async._StreamSinkTransformer = async._StreamSinkTransformer$(); +dart.addTypeTests(async._StreamSinkTransformer, _is__StreamSinkTransformer_default); +const _is__BoundSinkStream_default = Symbol('_is__BoundSinkStream_default'); +async._BoundSinkStream$ = dart.generic((S, T) => { + var _SinkTransformerStreamSubscriptionOfS$T = () => (_SinkTransformerStreamSubscriptionOfS$T = dart.constFn(async._SinkTransformerStreamSubscription$(S, T)))(); + class _BoundSinkStream extends async.Stream$(T) { + get isBroadcast() { + return this[_stream$].isBroadcast; + } + listen(onData, opts) { + let t128; + let onError = opts && 'onError' in opts ? opts.onError : null; + let onDone = opts && 'onDone' in opts ? opts.onDone : null; + let cancelOnError = opts && 'cancelOnError' in opts ? opts.cancelOnError : null; + let subscription = new (_SinkTransformerStreamSubscriptionOfS$T()).new(this[_stream$], this[_sinkMapper$0], onData, onError, onDone, (t128 = cancelOnError, t128 == null ? false : t128)); + return subscription; + } + } + (_BoundSinkStream.new = function(_stream, _sinkMapper) { + if (_stream == null) dart.nullFailed(I[71], 166, 25, "_stream"); + if (_sinkMapper == null) dart.nullFailed(I[71], 166, 39, "_sinkMapper"); + this[_stream$] = _stream; + this[_sinkMapper$0] = _sinkMapper; + _BoundSinkStream.__proto__.new.call(this); + ; + }).prototype = _BoundSinkStream.prototype; + dart.addTypeTests(_BoundSinkStream); + _BoundSinkStream.prototype[_is__BoundSinkStream_default] = true; + dart.addTypeCaches(_BoundSinkStream); + dart.setMethodSignature(_BoundSinkStream, () => ({ + __proto__: dart.getMethods(_BoundSinkStream.__proto__), + listen: dart.fnType(async.StreamSubscription$(T), [dart.nullable(dart.fnType(dart.void, [T]))], {cancelOnError: dart.nullable(core.bool), onDone: dart.nullable(dart.fnType(dart.void, [])), onError: dart.nullable(core.Function)}, {}) + })); + dart.setLibraryUri(_BoundSinkStream, I[29]); + dart.setFieldSignature(_BoundSinkStream, () => ({ + __proto__: dart.getFields(_BoundSinkStream.__proto__), + [_sinkMapper$0]: dart.finalFieldType(dart.fnType(async.EventSink$(S), [async.EventSink$(T)])), + [_stream$]: dart.finalFieldType(async.Stream$(S)) + })); + return _BoundSinkStream; +}); +async._BoundSinkStream = async._BoundSinkStream$(); +dart.addTypeTests(async._BoundSinkStream, _is__BoundSinkStream_default); +const _is__HandlerEventSink_default = Symbol('_is__HandlerEventSink_default'); +async._HandlerEventSink$ = dart.generic((S, T) => { + class _HandlerEventSink extends core.Object { + add(data) { + S.as(data); + let sink = this[_sink$]; + if (sink == null) { + dart.throw(new core.StateError.new("Sink is closed")); + } + let handleData = this[_handleData$]; + if (handleData != null) { + handleData(data, sink); + } else { + sink.add(T.as(data)); + } + } + addError(error, stackTrace = null) { + if (error == null) dart.nullFailed(I[71], 215, 24, "error"); + _internal.checkNotNullable(core.Object, error, "error"); + let sink = this[_sink$]; + if (sink == null) { + dart.throw(new core.StateError.new("Sink is closed")); + } + let handleError = this[_handleError$]; + stackTrace == null ? stackTrace = async.AsyncError.defaultStackTrace(error) : null; + if (handleError != null) { + handleError(error, stackTrace, sink); + } else { + sink.addError(error, stackTrace); + } + } + close() { + let sink = this[_sink$]; + if (sink == null) return; + this[_sink$] = null; + let handleDone = this[_handleDone$]; + if (handleDone != null) { + handleDone(sink); + } else { + sink.close(); + } + } + } + (_HandlerEventSink.new = function(_handleData, _handleError, _handleDone, _sink) { + if (_sink == null) dart.nullFailed(I[71], 200, 25, "_sink"); + this[_handleData$] = _handleData; + this[_handleError$] = _handleError; + this[_handleDone$] = _handleDone; + this[_sink$] = _sink; + ; + }).prototype = _HandlerEventSink.prototype; + dart.addTypeTests(_HandlerEventSink); + _HandlerEventSink.prototype[_is__HandlerEventSink_default] = true; + dart.addTypeCaches(_HandlerEventSink); + _HandlerEventSink[dart.implements] = () => [async.EventSink$(S)]; + dart.setMethodSignature(_HandlerEventSink, () => ({ + __proto__: dart.getMethods(_HandlerEventSink.__proto__), + add: dart.fnType(dart.void, [dart.nullable(core.Object)]), + addError: dart.fnType(dart.void, [core.Object], [dart.nullable(core.StackTrace)]), + close: dart.fnType(dart.void, []) + })); + dart.setLibraryUri(_HandlerEventSink, I[29]); + dart.setFieldSignature(_HandlerEventSink, () => ({ + __proto__: dart.getFields(_HandlerEventSink.__proto__), + [_handleData$]: dart.finalFieldType(dart.nullable(dart.fnType(dart.void, [S, async.EventSink$(T)]))), + [_handleError$]: dart.finalFieldType(dart.nullable(dart.fnType(dart.void, [core.Object, core.StackTrace, async.EventSink$(T)]))), + [_handleDone$]: dart.finalFieldType(dart.nullable(dart.fnType(dart.void, [async.EventSink$(T)]))), + [_sink$]: dart.fieldType(dart.nullable(async.EventSink$(T))) + })); + return _HandlerEventSink; +}); +async._HandlerEventSink = async._HandlerEventSink$(); +dart.addTypeTests(async._HandlerEventSink, _is__HandlerEventSink_default); +const _is__StreamHandlerTransformer_default = Symbol('_is__StreamHandlerTransformer_default'); +async._StreamHandlerTransformer$ = dart.generic((S, T) => { + var _HandlerEventSinkOfS$T = () => (_HandlerEventSinkOfS$T = dart.constFn(async._HandlerEventSink$(S, T)))(); + var EventSinkOfTTo_HandlerEventSinkOfS$T = () => (EventSinkOfTTo_HandlerEventSinkOfS$T = dart.constFn(dart.fnType(_HandlerEventSinkOfS$T(), [EventSinkOfT()])))(); + var StreamOfS = () => (StreamOfS = dart.constFn(async.Stream$(S)))(); + var EventSinkOfT = () => (EventSinkOfT = dart.constFn(async.EventSink$(T)))(); + class _StreamHandlerTransformer extends async._StreamSinkTransformer$(S, T) { + bind(stream) { + StreamOfS().as(stream); + if (stream == null) dart.nullFailed(I[71], 256, 28, "stream"); + return super.bind(stream); + } + } + (_StreamHandlerTransformer.new = function(opts) { + let handleData = opts && 'handleData' in opts ? opts.handleData : null; + let handleError = opts && 'handleError' in opts ? opts.handleError : null; + let handleDone = opts && 'handleDone' in opts ? opts.handleDone : null; + _StreamHandlerTransformer.__proto__.new.call(this, dart.fn(outputSink => { + if (outputSink == null) dart.nullFailed(I[71], 251, 29, "outputSink"); + return new (_HandlerEventSinkOfS$T()).new(handleData, handleError, handleDone, outputSink); + }, EventSinkOfTTo_HandlerEventSinkOfS$T())); + ; + }).prototype = _StreamHandlerTransformer.prototype; + dart.addTypeTests(_StreamHandlerTransformer); + _StreamHandlerTransformer.prototype[_is__StreamHandlerTransformer_default] = true; + dart.addTypeCaches(_StreamHandlerTransformer); + dart.setLibraryUri(_StreamHandlerTransformer, I[29]); + return _StreamHandlerTransformer; +}); +async._StreamHandlerTransformer = async._StreamHandlerTransformer$(); +dart.addTypeTests(async._StreamHandlerTransformer, _is__StreamHandlerTransformer_default); +var _bind$ = dart.privateName(async, "_bind"); +const _is__StreamBindTransformer_default = Symbol('_is__StreamBindTransformer_default'); +async._StreamBindTransformer$ = dart.generic((S, T) => { + var StreamOfS = () => (StreamOfS = dart.constFn(async.Stream$(S)))(); + class _StreamBindTransformer extends async.StreamTransformerBase$(S, T) { + bind(stream) { + let t128; + StreamOfS().as(stream); + if (stream == null) dart.nullFailed(I[71], 266, 28, "stream"); + t128 = stream; + return this[_bind$](t128); + } + } + (_StreamBindTransformer.new = function(_bind) { + if (_bind == null) dart.nullFailed(I[71], 264, 31, "_bind"); + this[_bind$] = _bind; + _StreamBindTransformer.__proto__.new.call(this); + ; + }).prototype = _StreamBindTransformer.prototype; + dart.addTypeTests(_StreamBindTransformer); + _StreamBindTransformer.prototype[_is__StreamBindTransformer_default] = true; + dart.addTypeCaches(_StreamBindTransformer); + dart.setMethodSignature(_StreamBindTransformer, () => ({ + __proto__: dart.getMethods(_StreamBindTransformer.__proto__), + bind: dart.fnType(async.Stream$(T), [dart.nullable(core.Object)]) + })); + dart.setLibraryUri(_StreamBindTransformer, I[29]); + dart.setFieldSignature(_StreamBindTransformer, () => ({ + __proto__: dart.getFields(_StreamBindTransformer.__proto__), + [_bind$]: dart.finalFieldType(dart.fnType(async.Stream$(T), [async.Stream$(S)])) + })); + return _StreamBindTransformer; +}); +async._StreamBindTransformer = async._StreamBindTransformer$(); +dart.addTypeTests(async._StreamBindTransformer, _is__StreamBindTransformer_default); +var _onListen$0 = dart.privateName(async, "_StreamSubscriptionTransformer._onListen"); +const _is__StreamSubscriptionTransformer_default = Symbol('_is__StreamSubscriptionTransformer_default'); +async._StreamSubscriptionTransformer$ = dart.generic((S, T) => { + var StreamOfS = () => (StreamOfS = dart.constFn(async.Stream$(S)))(); + var _BoundSubscriptionStreamOfS$T = () => (_BoundSubscriptionStreamOfS$T = dart.constFn(async._BoundSubscriptionStream$(S, T)))(); + class _StreamSubscriptionTransformer extends async.StreamTransformerBase$(S, T) { + get [_onListen$]() { + return this[_onListen$0]; + } + set [_onListen$](value) { + super[_onListen$] = value; + } + bind(stream) { + StreamOfS().as(stream); + if (stream == null) dart.nullFailed(I[71], 288, 28, "stream"); + return new (_BoundSubscriptionStreamOfS$T()).new(stream, this[_onListen$]); + } + } + (_StreamSubscriptionTransformer.new = function(_onListen) { + if (_onListen == null) dart.nullFailed(I[71], 286, 45, "_onListen"); + this[_onListen$0] = _onListen; + _StreamSubscriptionTransformer.__proto__.new.call(this); + ; + }).prototype = _StreamSubscriptionTransformer.prototype; + dart.addTypeTests(_StreamSubscriptionTransformer); + _StreamSubscriptionTransformer.prototype[_is__StreamSubscriptionTransformer_default] = true; + dart.addTypeCaches(_StreamSubscriptionTransformer); + dart.setMethodSignature(_StreamSubscriptionTransformer, () => ({ + __proto__: dart.getMethods(_StreamSubscriptionTransformer.__proto__), + bind: dart.fnType(async.Stream$(T), [dart.nullable(core.Object)]) + })); + dart.setLibraryUri(_StreamSubscriptionTransformer, I[29]); + dart.setFieldSignature(_StreamSubscriptionTransformer, () => ({ + __proto__: dart.getFields(_StreamSubscriptionTransformer.__proto__), + [_onListen$]: dart.finalFieldType(dart.fnType(async.StreamSubscription$(T), [async.Stream$(S), core.bool])) + })); + return _StreamSubscriptionTransformer; +}); +async._StreamSubscriptionTransformer = async._StreamSubscriptionTransformer$(); +dart.addTypeTests(async._StreamSubscriptionTransformer, _is__StreamSubscriptionTransformer_default); +const _is__BoundSubscriptionStream_default = Symbol('_is__BoundSubscriptionStream_default'); +async._BoundSubscriptionStream$ = dart.generic((S, T) => { + class _BoundSubscriptionStream extends async.Stream$(T) { + get isBroadcast() { + return this[_stream$].isBroadcast; + } + listen(onData, opts) { + let t128, t129, t128$; + let onError = opts && 'onError' in opts ? opts.onError : null; + let onDone = opts && 'onDone' in opts ? opts.onDone : null; + let cancelOnError = opts && 'cancelOnError' in opts ? opts.cancelOnError : null; + let result = (t128$ = this[_stream$], t129 = (t128 = cancelOnError, t128 == null ? false : t128), this[_onListen$](t128$, t129)); + result.onData(onData); + result.onError(onError); + result.onDone(onDone); + return result; + } + } + (_BoundSubscriptionStream.new = function(_stream, _onListen) { + if (_stream == null) dart.nullFailed(I[71], 303, 33, "_stream"); + if (_onListen == null) dart.nullFailed(I[71], 303, 47, "_onListen"); + this[_stream$] = _stream; + this[_onListen$] = _onListen; + _BoundSubscriptionStream.__proto__.new.call(this); + ; + }).prototype = _BoundSubscriptionStream.prototype; + dart.addTypeTests(_BoundSubscriptionStream); + _BoundSubscriptionStream.prototype[_is__BoundSubscriptionStream_default] = true; + dart.addTypeCaches(_BoundSubscriptionStream); + dart.setMethodSignature(_BoundSubscriptionStream, () => ({ + __proto__: dart.getMethods(_BoundSubscriptionStream.__proto__), + listen: dart.fnType(async.StreamSubscription$(T), [dart.nullable(dart.fnType(dart.void, [T]))], {cancelOnError: dart.nullable(core.bool), onDone: dart.nullable(dart.fnType(dart.void, [])), onError: dart.nullable(core.Function)}, {}) + })); + dart.setLibraryUri(_BoundSubscriptionStream, I[29]); + dart.setFieldSignature(_BoundSubscriptionStream, () => ({ + __proto__: dart.getFields(_BoundSubscriptionStream.__proto__), + [_onListen$]: dart.finalFieldType(dart.fnType(async.StreamSubscription$(T), [async.Stream$(S), core.bool])), + [_stream$]: dart.finalFieldType(async.Stream$(S)) + })); + return _BoundSubscriptionStream; +}); +async._BoundSubscriptionStream = async._BoundSubscriptionStream$(); +dart.addTypeTests(async._BoundSubscriptionStream, _is__BoundSubscriptionStream_default); +async.Timer = class Timer extends core.Object { + static new(duration, callback) { + if (duration == null) dart.nullFailed(I[72], 41, 26, "duration"); + if (callback == null) dart.nullFailed(I[72], 41, 52, "callback"); + if (dart.equals(async.Zone.current, async.Zone.root)) { + return async.Zone.current.createTimer(duration, callback); + } + return async.Zone.current.createTimer(duration, async.Zone.current.bindCallbackGuarded(callback)); + } + static periodic(duration, callback) { + if (duration == null) dart.nullFailed(I[72], 67, 35, "duration"); + if (callback == null) dart.nullFailed(I[72], 67, 50, "callback"); + if (dart.equals(async.Zone.current, async.Zone.root)) { + return async.Zone.current.createPeriodicTimer(duration, callback); + } + let boundCallback = async.Zone.current.bindUnaryCallbackGuarded(async.Timer, callback); + return async.Zone.current.createPeriodicTimer(duration, boundCallback); + } + static run(callback) { + if (callback == null) dart.nullFailed(I[72], 80, 35, "callback"); + async.Timer.new(core.Duration.zero, callback); + } + static _createTimer(duration, callback) { + if (duration == null) dart.nullFailed(I[61], 183, 38, "duration"); + if (callback == null) dart.nullFailed(I[61], 183, 64, "callback"); + let milliseconds = duration.inMilliseconds; + if (dart.notNull(milliseconds) < 0) milliseconds = 0; + return new _isolate_helper.TimerImpl.new(milliseconds, callback); + } + static _createPeriodicTimer(duration, callback) { + if (duration == null) dart.nullFailed(I[61], 191, 16, "duration"); + if (callback == null) dart.nullFailed(I[61], 191, 31, "callback"); + let milliseconds = duration.inMilliseconds; + if (dart.notNull(milliseconds) < 0) milliseconds = 0; + return new _isolate_helper.TimerImpl.periodic(milliseconds, callback); + } +}; +(async.Timer[dart.mixinNew] = function() { +}).prototype = async.Timer.prototype; +dart.addTypeTests(async.Timer); +dart.addTypeCaches(async.Timer); +dart.setLibraryUri(async.Timer, I[29]); +var zone$ = dart.privateName(async, "_ZoneFunction.zone"); +var $function$0 = dart.privateName(async, "_ZoneFunction.function"); +const _is__ZoneFunction_default = Symbol('_is__ZoneFunction_default'); +async._ZoneFunction$ = dart.generic(T => { + class _ZoneFunction extends core.Object { + get zone() { + return this[zone$]; + } + set zone(value) { + super.zone = value; + } + get function() { + return this[$function$0]; + } + set function(value) { + super.function = value; + } + } + (_ZoneFunction.new = function(zone, $function) { + if (zone == null) dart.nullFailed(I[73], 244, 28, "zone"); + if ($function == null) dart.nullFailed(I[73], 244, 39, "function"); + this[zone$] = zone; + this[$function$0] = $function; + ; + }).prototype = _ZoneFunction.prototype; + dart.addTypeTests(_ZoneFunction); + _ZoneFunction.prototype[_is__ZoneFunction_default] = true; + dart.addTypeCaches(_ZoneFunction); + dart.setLibraryUri(_ZoneFunction, I[29]); + dart.setFieldSignature(_ZoneFunction, () => ({ + __proto__: dart.getFields(_ZoneFunction.__proto__), + zone: dart.finalFieldType(async._Zone), + function: dart.finalFieldType(T) + })); + return _ZoneFunction; +}); +async._ZoneFunction = async._ZoneFunction$(); +dart.addTypeTests(async._ZoneFunction, _is__ZoneFunction_default); +var zone$0 = dart.privateName(async, "_RunNullaryZoneFunction.zone"); +var $function$1 = dart.privateName(async, "_RunNullaryZoneFunction.function"); +async._RunNullaryZoneFunction = class _RunNullaryZoneFunction extends core.Object { + get zone() { + return this[zone$0]; + } + set zone(value) { + super.zone = value; + } + get function() { + return this[$function$1]; + } + set function(value) { + super.function = value; + } +}; +(async._RunNullaryZoneFunction.new = function(zone, $function) { + if (zone == null) dart.nullFailed(I[73], 250, 38, "zone"); + if ($function == null) dart.nullFailed(I[73], 250, 49, "function"); + this[zone$0] = zone; + this[$function$1] = $function; + ; +}).prototype = async._RunNullaryZoneFunction.prototype; +dart.addTypeTests(async._RunNullaryZoneFunction); +dart.addTypeCaches(async._RunNullaryZoneFunction); +dart.setLibraryUri(async._RunNullaryZoneFunction, I[29]); +dart.setFieldSignature(async._RunNullaryZoneFunction, () => ({ + __proto__: dart.getFields(async._RunNullaryZoneFunction.__proto__), + zone: dart.finalFieldType(async._Zone), + function: dart.finalFieldType(dart.gFnType(R => [R, [async.Zone, async.ZoneDelegate, async.Zone, dart.fnType(R, [])]], R => [dart.nullable(core.Object)])) +})); +var zone$1 = dart.privateName(async, "_RunUnaryZoneFunction.zone"); +var $function$2 = dart.privateName(async, "_RunUnaryZoneFunction.function"); +async._RunUnaryZoneFunction = class _RunUnaryZoneFunction extends core.Object { + get zone() { + return this[zone$1]; + } + set zone(value) { + super.zone = value; + } + get function() { + return this[$function$2]; + } + set function(value) { + super.function = value; + } +}; +(async._RunUnaryZoneFunction.new = function(zone, $function) { + if (zone == null) dart.nullFailed(I[73], 256, 36, "zone"); + if ($function == null) dart.nullFailed(I[73], 256, 47, "function"); + this[zone$1] = zone; + this[$function$2] = $function; + ; +}).prototype = async._RunUnaryZoneFunction.prototype; +dart.addTypeTests(async._RunUnaryZoneFunction); +dart.addTypeCaches(async._RunUnaryZoneFunction); +dart.setLibraryUri(async._RunUnaryZoneFunction, I[29]); +dart.setFieldSignature(async._RunUnaryZoneFunction, () => ({ + __proto__: dart.getFields(async._RunUnaryZoneFunction.__proto__), + zone: dart.finalFieldType(async._Zone), + function: dart.finalFieldType(dart.gFnType((R, T) => [R, [async.Zone, async.ZoneDelegate, async.Zone, dart.fnType(R, [T]), T]], (R, T) => [dart.nullable(core.Object), dart.nullable(core.Object)])) +})); +var zone$2 = dart.privateName(async, "_RunBinaryZoneFunction.zone"); +var $function$3 = dart.privateName(async, "_RunBinaryZoneFunction.function"); +async._RunBinaryZoneFunction = class _RunBinaryZoneFunction extends core.Object { + get zone() { + return this[zone$2]; + } + set zone(value) { + super.zone = value; + } + get function() { + return this[$function$3]; + } + set function(value) { + super.function = value; + } +}; +(async._RunBinaryZoneFunction.new = function(zone, $function) { + if (zone == null) dart.nullFailed(I[73], 262, 37, "zone"); + if ($function == null) dart.nullFailed(I[73], 262, 48, "function"); + this[zone$2] = zone; + this[$function$3] = $function; + ; +}).prototype = async._RunBinaryZoneFunction.prototype; +dart.addTypeTests(async._RunBinaryZoneFunction); +dart.addTypeCaches(async._RunBinaryZoneFunction); +dart.setLibraryUri(async._RunBinaryZoneFunction, I[29]); +dart.setFieldSignature(async._RunBinaryZoneFunction, () => ({ + __proto__: dart.getFields(async._RunBinaryZoneFunction.__proto__), + zone: dart.finalFieldType(async._Zone), + function: dart.finalFieldType(dart.gFnType((R, T1, T2) => [R, [async.Zone, async.ZoneDelegate, async.Zone, dart.fnType(R, [T1, T2]), T1, T2]], (R, T1, T2) => [dart.nullable(core.Object), dart.nullable(core.Object), dart.nullable(core.Object)])) +})); +var zone$3 = dart.privateName(async, "_RegisterNullaryZoneFunction.zone"); +var $function$4 = dart.privateName(async, "_RegisterNullaryZoneFunction.function"); +async._RegisterNullaryZoneFunction = class _RegisterNullaryZoneFunction extends core.Object { + get zone() { + return this[zone$3]; + } + set zone(value) { + super.zone = value; + } + get function() { + return this[$function$4]; + } + set function(value) { + super.function = value; + } +}; +(async._RegisterNullaryZoneFunction.new = function(zone, $function) { + if (zone == null) dart.nullFailed(I[73], 268, 43, "zone"); + if ($function == null) dart.nullFailed(I[73], 268, 54, "function"); + this[zone$3] = zone; + this[$function$4] = $function; + ; +}).prototype = async._RegisterNullaryZoneFunction.prototype; +dart.addTypeTests(async._RegisterNullaryZoneFunction); +dart.addTypeCaches(async._RegisterNullaryZoneFunction); +dart.setLibraryUri(async._RegisterNullaryZoneFunction, I[29]); +dart.setFieldSignature(async._RegisterNullaryZoneFunction, () => ({ + __proto__: dart.getFields(async._RegisterNullaryZoneFunction.__proto__), + zone: dart.finalFieldType(async._Zone), + function: dart.finalFieldType(dart.gFnType(R => [dart.fnType(R, []), [async.Zone, async.ZoneDelegate, async.Zone, dart.fnType(R, [])]], R => [dart.nullable(core.Object)])) +})); +var zone$4 = dart.privateName(async, "_RegisterUnaryZoneFunction.zone"); +var $function$5 = dart.privateName(async, "_RegisterUnaryZoneFunction.function"); +async._RegisterUnaryZoneFunction = class _RegisterUnaryZoneFunction extends core.Object { + get zone() { + return this[zone$4]; + } + set zone(value) { + super.zone = value; + } + get function() { + return this[$function$5]; + } + set function(value) { + super.function = value; + } +}; +(async._RegisterUnaryZoneFunction.new = function(zone, $function) { + if (zone == null) dart.nullFailed(I[73], 274, 41, "zone"); + if ($function == null) dart.nullFailed(I[73], 274, 52, "function"); + this[zone$4] = zone; + this[$function$5] = $function; + ; +}).prototype = async._RegisterUnaryZoneFunction.prototype; +dart.addTypeTests(async._RegisterUnaryZoneFunction); +dart.addTypeCaches(async._RegisterUnaryZoneFunction); +dart.setLibraryUri(async._RegisterUnaryZoneFunction, I[29]); +dart.setFieldSignature(async._RegisterUnaryZoneFunction, () => ({ + __proto__: dart.getFields(async._RegisterUnaryZoneFunction.__proto__), + zone: dart.finalFieldType(async._Zone), + function: dart.finalFieldType(dart.gFnType((R, T) => [dart.fnType(R, [T]), [async.Zone, async.ZoneDelegate, async.Zone, dart.fnType(R, [T])]], (R, T) => [dart.nullable(core.Object), dart.nullable(core.Object)])) +})); +var zone$5 = dart.privateName(async, "_RegisterBinaryZoneFunction.zone"); +var $function$6 = dart.privateName(async, "_RegisterBinaryZoneFunction.function"); +async._RegisterBinaryZoneFunction = class _RegisterBinaryZoneFunction extends core.Object { + get zone() { + return this[zone$5]; + } + set zone(value) { + super.zone = value; + } + get function() { + return this[$function$6]; + } + set function(value) { + super.function = value; + } +}; +(async._RegisterBinaryZoneFunction.new = function(zone, $function) { + if (zone == null) dart.nullFailed(I[73], 280, 42, "zone"); + if ($function == null) dart.nullFailed(I[73], 280, 53, "function"); + this[zone$5] = zone; + this[$function$6] = $function; + ; +}).prototype = async._RegisterBinaryZoneFunction.prototype; +dart.addTypeTests(async._RegisterBinaryZoneFunction); +dart.addTypeCaches(async._RegisterBinaryZoneFunction); +dart.setLibraryUri(async._RegisterBinaryZoneFunction, I[29]); +dart.setFieldSignature(async._RegisterBinaryZoneFunction, () => ({ + __proto__: dart.getFields(async._RegisterBinaryZoneFunction.__proto__), + zone: dart.finalFieldType(async._Zone), + function: dart.finalFieldType(dart.gFnType((R, T1, T2) => [dart.fnType(R, [T1, T2]), [async.Zone, async.ZoneDelegate, async.Zone, dart.fnType(R, [T1, T2])]], (R, T1, T2) => [dart.nullable(core.Object), dart.nullable(core.Object), dart.nullable(core.Object)])) +})); +async.ZoneSpecification = class ZoneSpecification extends core.Object { + static from(other, opts) { + let t128, t128$, t128$0, t128$1, t128$2, t128$3, t128$4, t128$5, t128$6, t128$7, t128$8, t128$9, t128$10; + if (other == null) dart.nullFailed(I[73], 331, 52, "other"); + let handleUncaughtError = opts && 'handleUncaughtError' in opts ? opts.handleUncaughtError : null; + let run = opts && 'run' in opts ? opts.run : null; + let runUnary = opts && 'runUnary' in opts ? opts.runUnary : null; + let runBinary = opts && 'runBinary' in opts ? opts.runBinary : null; + let registerCallback = opts && 'registerCallback' in opts ? opts.registerCallback : null; + let registerUnaryCallback = opts && 'registerUnaryCallback' in opts ? opts.registerUnaryCallback : null; + let registerBinaryCallback = opts && 'registerBinaryCallback' in opts ? opts.registerBinaryCallback : null; + let errorCallback = opts && 'errorCallback' in opts ? opts.errorCallback : null; + let scheduleMicrotask = opts && 'scheduleMicrotask' in opts ? opts.scheduleMicrotask : null; + let createTimer = opts && 'createTimer' in opts ? opts.createTimer : null; + let createPeriodicTimer = opts && 'createPeriodicTimer' in opts ? opts.createPeriodicTimer : null; + let print = opts && 'print' in opts ? opts.print : null; + let fork = opts && 'fork' in opts ? opts.fork : null; + return new async._ZoneSpecification.new({handleUncaughtError: (t128 = handleUncaughtError, t128 == null ? other.handleUncaughtError : t128), run: (t128$ = run, t128$ == null ? other.run : t128$), runUnary: (t128$0 = runUnary, t128$0 == null ? other.runUnary : t128$0), runBinary: (t128$1 = runBinary, t128$1 == null ? other.runBinary : t128$1), registerCallback: (t128$2 = registerCallback, t128$2 == null ? other.registerCallback : t128$2), registerUnaryCallback: (t128$3 = registerUnaryCallback, t128$3 == null ? other.registerUnaryCallback : t128$3), registerBinaryCallback: (t128$4 = registerBinaryCallback, t128$4 == null ? other.registerBinaryCallback : t128$4), errorCallback: (t128$5 = errorCallback, t128$5 == null ? other.errorCallback : t128$5), scheduleMicrotask: (t128$6 = scheduleMicrotask, t128$6 == null ? other.scheduleMicrotask : t128$6), createTimer: (t128$7 = createTimer, t128$7 == null ? other.createTimer : t128$7), createPeriodicTimer: (t128$8 = createPeriodicTimer, t128$8 == null ? other.createPeriodicTimer : t128$8), print: (t128$9 = print, t128$9 == null ? other.print : t128$9), fork: (t128$10 = fork, t128$10 == null ? other.fork : t128$10)}); + } +}; +(async.ZoneSpecification[dart.mixinNew] = function() { +}).prototype = async.ZoneSpecification.prototype; +dart.addTypeTests(async.ZoneSpecification); +dart.addTypeCaches(async.ZoneSpecification); +dart.setLibraryUri(async.ZoneSpecification, I[29]); +var handleUncaughtError$ = dart.privateName(async, "_ZoneSpecification.handleUncaughtError"); +var run$ = dart.privateName(async, "_ZoneSpecification.run"); +var runUnary$ = dart.privateName(async, "_ZoneSpecification.runUnary"); +var runBinary$ = dart.privateName(async, "_ZoneSpecification.runBinary"); +var registerCallback$ = dart.privateName(async, "_ZoneSpecification.registerCallback"); +var registerUnaryCallback$ = dart.privateName(async, "_ZoneSpecification.registerUnaryCallback"); +var registerBinaryCallback$ = dart.privateName(async, "_ZoneSpecification.registerBinaryCallback"); +var errorCallback$ = dart.privateName(async, "_ZoneSpecification.errorCallback"); +var scheduleMicrotask$ = dart.privateName(async, "_ZoneSpecification.scheduleMicrotask"); +var createTimer$ = dart.privateName(async, "_ZoneSpecification.createTimer"); +var createPeriodicTimer$ = dart.privateName(async, "_ZoneSpecification.createPeriodicTimer"); +var print$ = dart.privateName(async, "_ZoneSpecification.print"); +var fork$ = dart.privateName(async, "_ZoneSpecification.fork"); +async._ZoneSpecification = class _ZoneSpecification extends core.Object { + get handleUncaughtError() { + return this[handleUncaughtError$]; + } + set handleUncaughtError(value) { + super.handleUncaughtError = value; + } + get run() { + return this[run$]; + } + set run(value) { + super.run = value; + } + get runUnary() { + return this[runUnary$]; + } + set runUnary(value) { + super.runUnary = value; + } + get runBinary() { + return this[runBinary$]; + } + set runBinary(value) { + super.runBinary = value; + } + get registerCallback() { + return this[registerCallback$]; + } + set registerCallback(value) { + super.registerCallback = value; + } + get registerUnaryCallback() { + return this[registerUnaryCallback$]; + } + set registerUnaryCallback(value) { + super.registerUnaryCallback = value; + } + get registerBinaryCallback() { + return this[registerBinaryCallback$]; + } + set registerBinaryCallback(value) { + super.registerBinaryCallback = value; + } + get errorCallback() { + return this[errorCallback$]; + } + set errorCallback(value) { + super.errorCallback = value; + } + get scheduleMicrotask() { + return this[scheduleMicrotask$]; + } + set scheduleMicrotask(value) { + super.scheduleMicrotask = value; + } + get createTimer() { + return this[createTimer$]; + } + set createTimer(value) { + super.createTimer = value; + } + get createPeriodicTimer() { + return this[createPeriodicTimer$]; + } + set createPeriodicTimer(value) { + super.createPeriodicTimer = value; + } + get print() { + return this[print$]; + } + set print(value) { + super.print = value; + } + get fork() { + return this[fork$]; + } + set fork(value) { + super.fork = value; + } +}; +(async._ZoneSpecification.new = function(opts) { + let handleUncaughtError = opts && 'handleUncaughtError' in opts ? opts.handleUncaughtError : null; + let run = opts && 'run' in opts ? opts.run : null; + let runUnary = opts && 'runUnary' in opts ? opts.runUnary : null; + let runBinary = opts && 'runBinary' in opts ? opts.runBinary : null; + let registerCallback = opts && 'registerCallback' in opts ? opts.registerCallback : null; + let registerUnaryCallback = opts && 'registerUnaryCallback' in opts ? opts.registerUnaryCallback : null; + let registerBinaryCallback = opts && 'registerBinaryCallback' in opts ? opts.registerBinaryCallback : null; + let errorCallback = opts && 'errorCallback' in opts ? opts.errorCallback : null; + let scheduleMicrotask = opts && 'scheduleMicrotask' in opts ? opts.scheduleMicrotask : null; + let createTimer = opts && 'createTimer' in opts ? opts.createTimer : null; + let createPeriodicTimer = opts && 'createPeriodicTimer' in opts ? opts.createPeriodicTimer : null; + let print = opts && 'print' in opts ? opts.print : null; + let fork = opts && 'fork' in opts ? opts.fork : null; + this[handleUncaughtError$] = handleUncaughtError; + this[run$] = run; + this[runUnary$] = runUnary; + this[runBinary$] = runBinary; + this[registerCallback$] = registerCallback; + this[registerUnaryCallback$] = registerUnaryCallback; + this[registerBinaryCallback$] = registerBinaryCallback; + this[errorCallback$] = errorCallback; + this[scheduleMicrotask$] = scheduleMicrotask; + this[createTimer$] = createTimer; + this[createPeriodicTimer$] = createPeriodicTimer; + this[print$] = print; + this[fork$] = fork; + ; +}).prototype = async._ZoneSpecification.prototype; +dart.addTypeTests(async._ZoneSpecification); +dart.addTypeCaches(async._ZoneSpecification); +async._ZoneSpecification[dart.implements] = () => [async.ZoneSpecification]; +dart.setLibraryUri(async._ZoneSpecification, I[29]); +dart.setFieldSignature(async._ZoneSpecification, () => ({ + __proto__: dart.getFields(async._ZoneSpecification.__proto__), + handleUncaughtError: dart.finalFieldType(dart.nullable(dart.fnType(dart.void, [async.Zone, async.ZoneDelegate, async.Zone, core.Object, core.StackTrace]))), + run: dart.finalFieldType(dart.nullable(dart.gFnType(R => [R, [async.Zone, async.ZoneDelegate, async.Zone, dart.fnType(R, [])]], R => [dart.nullable(core.Object)]))), + runUnary: dart.finalFieldType(dart.nullable(dart.gFnType((R, T) => [R, [async.Zone, async.ZoneDelegate, async.Zone, dart.fnType(R, [T]), T]], (R, T) => [dart.nullable(core.Object), dart.nullable(core.Object)]))), + runBinary: dart.finalFieldType(dart.nullable(dart.gFnType((R, T1, T2) => [R, [async.Zone, async.ZoneDelegate, async.Zone, dart.fnType(R, [T1, T2]), T1, T2]], (R, T1, T2) => [dart.nullable(core.Object), dart.nullable(core.Object), dart.nullable(core.Object)]))), + registerCallback: dart.finalFieldType(dart.nullable(dart.gFnType(R => [dart.fnType(R, []), [async.Zone, async.ZoneDelegate, async.Zone, dart.fnType(R, [])]], R => [dart.nullable(core.Object)]))), + registerUnaryCallback: dart.finalFieldType(dart.nullable(dart.gFnType((R, T) => [dart.fnType(R, [T]), [async.Zone, async.ZoneDelegate, async.Zone, dart.fnType(R, [T])]], (R, T) => [dart.nullable(core.Object), dart.nullable(core.Object)]))), + registerBinaryCallback: dart.finalFieldType(dart.nullable(dart.gFnType((R, T1, T2) => [dart.fnType(R, [T1, T2]), [async.Zone, async.ZoneDelegate, async.Zone, dart.fnType(R, [T1, T2])]], (R, T1, T2) => [dart.nullable(core.Object), dart.nullable(core.Object), dart.nullable(core.Object)]))), + errorCallback: dart.finalFieldType(dart.nullable(dart.fnType(dart.nullable(async.AsyncError), [async.Zone, async.ZoneDelegate, async.Zone, core.Object, dart.nullable(core.StackTrace)]))), + scheduleMicrotask: dart.finalFieldType(dart.nullable(dart.fnType(dart.void, [async.Zone, async.ZoneDelegate, async.Zone, dart.fnType(dart.void, [])]))), + createTimer: dart.finalFieldType(dart.nullable(dart.fnType(async.Timer, [async.Zone, async.ZoneDelegate, async.Zone, core.Duration, dart.fnType(dart.void, [])]))), + createPeriodicTimer: dart.finalFieldType(dart.nullable(dart.fnType(async.Timer, [async.Zone, async.ZoneDelegate, async.Zone, core.Duration, dart.fnType(dart.void, [async.Timer])]))), + print: dart.finalFieldType(dart.nullable(dart.fnType(dart.void, [async.Zone, async.ZoneDelegate, async.Zone, core.String]))), + fork: dart.finalFieldType(dart.nullable(dart.fnType(async.Zone, [async.Zone, async.ZoneDelegate, async.Zone, dart.nullable(async.ZoneSpecification), dart.nullable(core.Map$(dart.nullable(core.Object), dart.nullable(core.Object)))]))) +})); +async.ZoneDelegate = class ZoneDelegate extends core.Object {}; +(async.ZoneDelegate.new = function() { + ; +}).prototype = async.ZoneDelegate.prototype; +dart.addTypeTests(async.ZoneDelegate); +dart.addTypeCaches(async.ZoneDelegate); +dart.setLibraryUri(async.ZoneDelegate, I[29]); +async.Zone = class Zone extends core.Object { + static get current() { + return async.Zone._current; + } + static _enter(zone) { + if (zone == null) dart.nullFailed(I[73], 885, 29, "zone"); + if (!(zone != async.Zone._current)) dart.assertFailed(null, I[73], 886, 12, "!identical(zone, _current)"); + let previous = async.Zone._current; + async.Zone._current = zone; + return previous; + } + static _leave(previous) { + if (previous == null) dart.nullFailed(I[73], 895, 28, "previous"); + if (!(previous != null)) dart.assertFailed(null, I[73], 896, 12, "previous != null"); + async.Zone._current = previous; + } +}; +(async.Zone.__ = function() { + ; +}).prototype = async.Zone.prototype; +dart.addTypeTests(async.Zone); +dart.addTypeCaches(async.Zone); +dart.setLibraryUri(async.Zone, I[29]); +dart.defineLazy(async.Zone, { + /*async.Zone.root*/get root() { + return C[44] || CT.C44; + }, + /*async.Zone._current*/get _current() { + return async._rootZone; + }, + set _current(_) {} +}, false); +var _delegationTarget$ = dart.privateName(async, "_delegationTarget"); +var _handleUncaughtError = dart.privateName(async, "_handleUncaughtError"); +var _parentDelegate = dart.privateName(async, "_parentDelegate"); +var _run = dart.privateName(async, "_run"); +var _runUnary = dart.privateName(async, "_runUnary"); +var _runBinary = dart.privateName(async, "_runBinary"); +var _registerCallback = dart.privateName(async, "_registerCallback"); +var _registerUnaryCallback = dart.privateName(async, "_registerUnaryCallback"); +var _registerBinaryCallback = dart.privateName(async, "_registerBinaryCallback"); +var _errorCallback = dart.privateName(async, "_errorCallback"); +var _scheduleMicrotask = dart.privateName(async, "_scheduleMicrotask"); +var _createTimer = dart.privateName(async, "_createTimer"); +var _createPeriodicTimer = dart.privateName(async, "_createPeriodicTimer"); +var _print = dart.privateName(async, "_print"); +var _fork = dart.privateName(async, "_fork"); +async._ZoneDelegate = class _ZoneDelegate extends core.Object { + handleUncaughtError(zone, error, stackTrace) { + if (zone == null) dart.nullFailed(I[73], 917, 33, "zone"); + if (error == null) dart.nullFailed(I[73], 917, 46, "error"); + if (stackTrace == null) dart.nullFailed(I[73], 917, 64, "stackTrace"); + let implementation = this[_delegationTarget$][_handleUncaughtError]; + let implZone = implementation.zone; + let handler = implementation.function; + return handler(implZone, implZone[_parentDelegate], zone, error, stackTrace); + } + run(R, zone, f) { + if (zone == null) dart.nullFailed(I[73], 924, 17, "zone"); + if (f == null) dart.nullFailed(I[73], 924, 25, "f"); + let implementation = this[_delegationTarget$][_run]; + let implZone = implementation.zone; + let handler = implementation.function; + return handler(R, implZone, implZone[_parentDelegate], zone, f); + } + runUnary(R, T, zone, f, arg) { + if (zone == null) dart.nullFailed(I[73], 931, 25, "zone"); + if (f == null) dart.nullFailed(I[73], 931, 33, "f"); + let implementation = this[_delegationTarget$][_runUnary]; + let implZone = implementation.zone; + let handler = implementation.function; + return handler(R, T, implZone, implZone[_parentDelegate], zone, f, arg); + } + runBinary(R, T1, T2, zone, f, arg1, arg2) { + if (zone == null) dart.nullFailed(I[73], 938, 31, "zone"); + if (f == null) dart.nullFailed(I[73], 938, 39, "f"); + let implementation = this[_delegationTarget$][_runBinary]; + let implZone = implementation.zone; + let handler = implementation.function; + return handler(R, T1, T2, implZone, implZone[_parentDelegate], zone, f, arg1, arg2); + } + registerCallback(R, zone, f) { + if (zone == null) dart.nullFailed(I[73], 945, 44, "zone"); + if (f == null) dart.nullFailed(I[73], 945, 52, "f"); + let implementation = this[_delegationTarget$][_registerCallback]; + let implZone = implementation.zone; + let handler = implementation.function; + return handler(R, implZone, implZone[_parentDelegate], zone, f); + } + registerUnaryCallback(R, T, zone, f) { + if (zone == null) dart.nullFailed(I[73], 952, 60, "zone"); + if (f == null) dart.nullFailed(I[73], 952, 68, "f"); + let implementation = this[_delegationTarget$][_registerUnaryCallback]; + let implZone = implementation.zone; + let handler = implementation.function; + return handler(R, T, implZone, implZone[_parentDelegate], zone, f); + } + registerBinaryCallback(R, T1, T2, zone, f) { + if (zone == null) dart.nullFailed(I[73], 960, 12, "zone"); + if (f == null) dart.nullFailed(I[73], 960, 20, "f"); + let implementation = this[_delegationTarget$][_registerBinaryCallback]; + let implZone = implementation.zone; + let handler = implementation.function; + return handler(R, T1, T2, implZone, implZone[_parentDelegate], zone, f); + } + errorCallback(zone, error, stackTrace) { + if (zone == null) dart.nullFailed(I[73], 967, 34, "zone"); + if (error == null) dart.nullFailed(I[73], 967, 47, "error"); + _internal.checkNotNullable(core.Object, error, "error"); + let implementation = this[_delegationTarget$][_errorCallback]; + let implZone = implementation.zone; + if (implZone == async._rootZone) return null; + let handler = implementation.function; + return handler(implZone, implZone[_parentDelegate], zone, error, stackTrace); + } + scheduleMicrotask(zone, f) { + if (zone == null) dart.nullFailed(I[73], 976, 31, "zone"); + if (f == null) dart.nullFailed(I[73], 976, 37, "f"); + let implementation = this[_delegationTarget$][_scheduleMicrotask]; + let implZone = implementation.zone; + let handler = implementation.function; + handler(implZone, implZone[_parentDelegate], zone, f); + } + createTimer(zone, duration, f) { + if (zone == null) dart.nullFailed(I[73], 983, 26, "zone"); + if (duration == null) dart.nullFailed(I[73], 983, 41, "duration"); + if (f == null) dart.nullFailed(I[73], 983, 56, "f"); + let implementation = this[_delegationTarget$][_createTimer]; + let implZone = implementation.zone; + let handler = implementation.function; + return handler(implZone, implZone[_parentDelegate], zone, duration, f); + } + createPeriodicTimer(zone, period, f) { + if (zone == null) dart.nullFailed(I[73], 990, 34, "zone"); + if (period == null) dart.nullFailed(I[73], 990, 49, "period"); + if (f == null) dart.nullFailed(I[73], 990, 62, "f"); + let implementation = this[_delegationTarget$][_createPeriodicTimer]; + let implZone = implementation.zone; + let handler = implementation.function; + return handler(implZone, implZone[_parentDelegate], zone, period, f); + } + print(zone, line) { + if (zone == null) dart.nullFailed(I[73], 997, 19, "zone"); + if (line == null) dart.nullFailed(I[73], 997, 32, "line"); + let implementation = this[_delegationTarget$][_print]; + let implZone = implementation.zone; + let handler = implementation.function; + handler(implZone, implZone[_parentDelegate], zone, line); + } + fork(zone, specification, zoneValues) { + if (zone == null) dart.nullFailed(I[73], 1004, 18, "zone"); + let implementation = this[_delegationTarget$][_fork]; + let implZone = implementation.zone; + let handler = implementation.function; + return handler(implZone, implZone[_parentDelegate], zone, specification, zoneValues); + } +}; +(async._ZoneDelegate.new = function(_delegationTarget) { + if (_delegationTarget == null) dart.nullFailed(I[73], 915, 22, "_delegationTarget"); + this[_delegationTarget$] = _delegationTarget; + ; +}).prototype = async._ZoneDelegate.prototype; +dart.addTypeTests(async._ZoneDelegate); +dart.addTypeCaches(async._ZoneDelegate); +async._ZoneDelegate[dart.implements] = () => [async.ZoneDelegate]; +dart.setMethodSignature(async._ZoneDelegate, () => ({ + __proto__: dart.getMethods(async._ZoneDelegate.__proto__), + handleUncaughtError: dart.fnType(dart.void, [async.Zone, core.Object, core.StackTrace]), + run: dart.gFnType(R => [R, [async.Zone, dart.fnType(R, [])]], R => [dart.nullable(core.Object)]), + runUnary: dart.gFnType((R, T) => [R, [async.Zone, dart.fnType(R, [T]), T]], (R, T) => [dart.nullable(core.Object), dart.nullable(core.Object)]), + runBinary: dart.gFnType((R, T1, T2) => [R, [async.Zone, dart.fnType(R, [T1, T2]), T1, T2]], (R, T1, T2) => [dart.nullable(core.Object), dart.nullable(core.Object), dart.nullable(core.Object)]), + registerCallback: dart.gFnType(R => [dart.fnType(R, []), [async.Zone, dart.fnType(R, [])]], R => [dart.nullable(core.Object)]), + registerUnaryCallback: dart.gFnType((R, T) => [dart.fnType(R, [T]), [async.Zone, dart.fnType(R, [T])]], (R, T) => [dart.nullable(core.Object), dart.nullable(core.Object)]), + registerBinaryCallback: dart.gFnType((R, T1, T2) => [dart.fnType(R, [T1, T2]), [async.Zone, dart.fnType(R, [T1, T2])]], (R, T1, T2) => [dart.nullable(core.Object), dart.nullable(core.Object), dart.nullable(core.Object)]), + errorCallback: dart.fnType(dart.nullable(async.AsyncError), [async.Zone, core.Object, dart.nullable(core.StackTrace)]), + scheduleMicrotask: dart.fnType(dart.void, [async.Zone, dart.fnType(dart.dynamic, [])]), + createTimer: dart.fnType(async.Timer, [async.Zone, core.Duration, dart.fnType(dart.void, [])]), + createPeriodicTimer: dart.fnType(async.Timer, [async.Zone, core.Duration, dart.fnType(dart.void, [async.Timer])]), + print: dart.fnType(dart.void, [async.Zone, core.String]), + fork: dart.fnType(async.Zone, [async.Zone, dart.nullable(async.ZoneSpecification), dart.nullable(core.Map$(dart.nullable(core.Object), dart.nullable(core.Object)))]) +})); +dart.setLibraryUri(async._ZoneDelegate, I[29]); +dart.setFieldSignature(async._ZoneDelegate, () => ({ + __proto__: dart.getFields(async._ZoneDelegate.__proto__), + [_delegationTarget$]: dart.finalFieldType(async._Zone) +})); +async._Zone = class _Zone extends core.Object { + inSameErrorZone(otherZone) { + if (otherZone == null) dart.nullFailed(I[73], 1039, 29, "otherZone"); + return this === otherZone || this.errorZone == otherZone.errorZone; + } +}; +(async._Zone.new = function() { + ; +}).prototype = async._Zone.prototype; +dart.addTypeTests(async._Zone); +dart.addTypeCaches(async._Zone); +async._Zone[dart.implements] = () => [async.Zone]; +dart.setMethodSignature(async._Zone, () => ({ + __proto__: dart.getMethods(async._Zone.__proto__), + inSameErrorZone: dart.fnType(core.bool, [async.Zone]) +})); +dart.setLibraryUri(async._Zone, I[29]); +var _run$ = dart.privateName(async, "_CustomZone._run"); +var _runUnary$ = dart.privateName(async, "_CustomZone._runUnary"); +var _runBinary$ = dart.privateName(async, "_CustomZone._runBinary"); +var _registerCallback$ = dart.privateName(async, "_CustomZone._registerCallback"); +var _registerUnaryCallback$ = dart.privateName(async, "_CustomZone._registerUnaryCallback"); +var _registerBinaryCallback$ = dart.privateName(async, "_CustomZone._registerBinaryCallback"); +var _errorCallback$ = dart.privateName(async, "_CustomZone._errorCallback"); +var _scheduleMicrotask$ = dart.privateName(async, "_CustomZone._scheduleMicrotask"); +var _createTimer$ = dart.privateName(async, "_CustomZone._createTimer"); +var _createPeriodicTimer$ = dart.privateName(async, "_CustomZone._createPeriodicTimer"); +var _print$ = dart.privateName(async, "_CustomZone._print"); +var _fork$ = dart.privateName(async, "_CustomZone._fork"); +var _handleUncaughtError$ = dart.privateName(async, "_CustomZone._handleUncaughtError"); +var parent$ = dart.privateName(async, "_CustomZone.parent"); +var _map$2 = dart.privateName(async, "_CustomZone._map"); +var _delegateCache = dart.privateName(async, "_delegateCache"); +var _map$3 = dart.privateName(async, "_map"); +var _delegate = dart.privateName(async, "_delegate"); +async._CustomZone = class _CustomZone extends async._Zone { + get [_run]() { + return this[_run$]; + } + set [_run](value) { + this[_run$] = value; + } + get [_runUnary]() { + return this[_runUnary$]; + } + set [_runUnary](value) { + this[_runUnary$] = value; + } + get [_runBinary]() { + return this[_runBinary$]; + } + set [_runBinary](value) { + this[_runBinary$] = value; + } + get [_registerCallback]() { + return this[_registerCallback$]; + } + set [_registerCallback](value) { + this[_registerCallback$] = value; + } + get [_registerUnaryCallback]() { + return this[_registerUnaryCallback$]; + } + set [_registerUnaryCallback](value) { + this[_registerUnaryCallback$] = value; + } + get [_registerBinaryCallback]() { + return this[_registerBinaryCallback$]; + } + set [_registerBinaryCallback](value) { + this[_registerBinaryCallback$] = value; + } + get [_errorCallback]() { + return this[_errorCallback$]; + } + set [_errorCallback](value) { + this[_errorCallback$] = value; + } + get [_scheduleMicrotask]() { + return this[_scheduleMicrotask$]; + } + set [_scheduleMicrotask](value) { + this[_scheduleMicrotask$] = value; + } + get [_createTimer]() { + return this[_createTimer$]; + } + set [_createTimer](value) { + this[_createTimer$] = value; + } + get [_createPeriodicTimer]() { + return this[_createPeriodicTimer$]; + } + set [_createPeriodicTimer](value) { + this[_createPeriodicTimer$] = value; + } + get [_print]() { + return this[_print$]; + } + set [_print](value) { + this[_print$] = value; + } + get [_fork]() { + return this[_fork$]; + } + set [_fork](value) { + this[_fork$] = value; + } + get [_handleUncaughtError]() { + return this[_handleUncaughtError$]; + } + set [_handleUncaughtError](value) { + this[_handleUncaughtError$] = value; + } + get parent() { + return this[parent$]; + } + set parent(value) { + super.parent = value; + } + get [_map$3]() { + return this[_map$2]; + } + set [_map$3](value) { + super[_map$3] = value; + } + get [_delegate]() { + let t128; + t128 = this[_delegateCache]; + return t128 == null ? this[_delegateCache] = new async._ZoneDelegate.new(this) : t128; + } + get [_parentDelegate]() { + return this.parent[_delegate]; + } + get errorZone() { + return this[_handleUncaughtError].zone; + } + runGuarded(f) { + if (f == null) dart.nullFailed(I[73], 1160, 24, "f"); + try { + this.run(dart.void, f); + } catch (e$) { + let e = dart.getThrown(e$); + let s = dart.stackTrace(e$); + if (core.Object.is(e)) { + this.handleUncaughtError(e, s); + } else + throw e$; + } + } + runUnaryGuarded(T, f, arg) { + if (f == null) dart.nullFailed(I[73], 1168, 32, "f"); + try { + this.runUnary(dart.void, T, f, arg); + } catch (e$) { + let e = dart.getThrown(e$); + let s = dart.stackTrace(e$); + if (core.Object.is(e)) { + this.handleUncaughtError(e, s); + } else + throw e$; + } + } + runBinaryGuarded(T1, T2, f, arg1, arg2) { + if (f == null) dart.nullFailed(I[73], 1176, 38, "f"); + try { + this.runBinary(dart.void, T1, T2, f, arg1, arg2); + } catch (e$) { + let e = dart.getThrown(e$); + let s = dart.stackTrace(e$); + if (core.Object.is(e)) { + this.handleUncaughtError(e, s); + } else + throw e$; + } + } + bindCallback(R, f) { + if (f == null) dart.nullFailed(I[73], 1184, 37, "f"); + let registered = this.registerCallback(R, f); + return dart.fn(() => this.run(R, registered), dart.fnType(R, [])); + } + bindUnaryCallback(R, T, f) { + if (f == null) dart.nullFailed(I[73], 1189, 53, "f"); + let registered = this.registerUnaryCallback(R, T, f); + return dart.fn(arg => this.runUnary(R, T, registered, arg), dart.fnType(R, [T])); + } + bindBinaryCallback(R, T1, T2, f) { + if (f == null) dart.nullFailed(I[73], 1195, 9, "f"); + let registered = this.registerBinaryCallback(R, T1, T2, f); + return dart.fn((arg1, arg2) => this.runBinary(R, T1, T2, registered, arg1, arg2), dart.fnType(R, [T1, T2])); + } + bindCallbackGuarded(f) { + if (f == null) dart.nullFailed(I[73], 1200, 44, "f"); + let registered = this.registerCallback(dart.void, f); + return dart.fn(() => this.runGuarded(registered), T$.VoidTovoid()); + } + bindUnaryCallbackGuarded(T, f) { + if (f == null) dart.nullFailed(I[73], 1205, 53, "f"); + let registered = this.registerUnaryCallback(dart.void, T, f); + return dart.fn(arg => this.runUnaryGuarded(T, registered, arg), dart.fnType(dart.void, [T])); + } + bindBinaryCallbackGuarded(T1, T2, f) { + if (f == null) dart.nullFailed(I[73], 1211, 12, "f"); + let registered = this.registerBinaryCallback(dart.void, T1, T2, f); + return dart.fn((arg1, arg2) => this.runBinaryGuarded(T1, T2, registered, arg1, arg2), dart.fnType(dart.void, [T1, T2])); + } + _get(key) { + let result = this[_map$3][$_get](key); + if (result != null || dart.test(this[_map$3][$containsKey](key))) return result; + if (this.parent != null) { + let value = this.parent._get(key); + if (value != null) { + this[_map$3][$_set](key, value); + } + return value; + } + if (!this[$_equals](async._rootZone)) dart.assertFailed(null, I[73], 1231, 12, "this == _rootZone"); + return null; + } + handleUncaughtError(error, stackTrace) { + if (error == null) dart.nullFailed(I[73], 1237, 35, "error"); + if (stackTrace == null) dart.nullFailed(I[73], 1237, 53, "stackTrace"); + let implementation = this[_handleUncaughtError]; + let parentDelegate = implementation.zone[_parentDelegate]; + let handler = implementation.function; + return handler(implementation.zone, parentDelegate, this, error, stackTrace); + } + fork(opts) { + let specification = opts && 'specification' in opts ? opts.specification : null; + let zoneValues = opts && 'zoneValues' in opts ? opts.zoneValues : null; + let implementation = this[_fork]; + let parentDelegate = implementation.zone[_parentDelegate]; + let handler = implementation.function; + return handler(implementation.zone, parentDelegate, this, specification, zoneValues); + } + run(R, f) { + if (f == null) dart.nullFailed(I[73], 1254, 14, "f"); + let implementation = this[_run]; + let parentDelegate = implementation.zone[_parentDelegate]; + let handler = implementation.function; + return handler(R, implementation.zone, parentDelegate, this, f); + } + runUnary(R, T, f, arg) { + if (f == null) dart.nullFailed(I[73], 1261, 22, "f"); + let implementation = this[_runUnary]; + let parentDelegate = implementation.zone[_parentDelegate]; + let handler = implementation.function; + return handler(R, T, implementation.zone, parentDelegate, this, f, arg); + } + runBinary(R, T1, T2, f, arg1, arg2) { + if (f == null) dart.nullFailed(I[73], 1268, 28, "f"); + let implementation = this[_runBinary]; + let parentDelegate = implementation.zone[_parentDelegate]; + let handler = implementation.function; + return handler(R, T1, T2, implementation.zone, parentDelegate, this, f, arg1, arg2); + } + registerCallback(R, callback) { + if (callback == null) dart.nullFailed(I[73], 1275, 41, "callback"); + let implementation = this[_registerCallback]; + let parentDelegate = implementation.zone[_parentDelegate]; + let handler = implementation.function; + return handler(R, implementation.zone, parentDelegate, this, callback); + } + registerUnaryCallback(R, T, callback) { + if (callback == null) dart.nullFailed(I[73], 1282, 57, "callback"); + let implementation = this[_registerUnaryCallback]; + let parentDelegate = implementation.zone[_parentDelegate]; + let handler = implementation.function; + return handler(R, T, implementation.zone, parentDelegate, this, callback); + } + registerBinaryCallback(R, T1, T2, callback) { + if (callback == null) dart.nullFailed(I[73], 1290, 9, "callback"); + let implementation = this[_registerBinaryCallback]; + let parentDelegate = implementation.zone[_parentDelegate]; + let handler = implementation.function; + return handler(R, T1, T2, implementation.zone, parentDelegate, this, callback); + } + errorCallback(error, stackTrace) { + if (error == null) dart.nullFailed(I[73], 1297, 36, "error"); + _internal.checkNotNullable(core.Object, error, "error"); + let implementation = this[_errorCallback]; + let implementationZone = implementation.zone; + if (implementationZone == async._rootZone) return null; + let parentDelegate = implementationZone[_parentDelegate]; + let handler = implementation.function; + return handler(implementationZone, parentDelegate, this, error, stackTrace); + } + scheduleMicrotask(f) { + if (f == null) dart.nullFailed(I[73], 1307, 31, "f"); + let implementation = this[_scheduleMicrotask]; + let parentDelegate = implementation.zone[_parentDelegate]; + let handler = implementation.function; + return handler(implementation.zone, parentDelegate, this, f); + } + createTimer(duration, f) { + if (duration == null) dart.nullFailed(I[73], 1314, 30, "duration"); + if (f == null) dart.nullFailed(I[73], 1314, 45, "f"); + let implementation = this[_createTimer]; + let parentDelegate = implementation.zone[_parentDelegate]; + let handler = implementation.function; + return handler(implementation.zone, parentDelegate, this, duration, f); + } + createPeriodicTimer(duration, f) { + if (duration == null) dart.nullFailed(I[73], 1321, 38, "duration"); + if (f == null) dart.nullFailed(I[73], 1321, 53, "f"); + let implementation = this[_createPeriodicTimer]; + let parentDelegate = implementation.zone[_parentDelegate]; + let handler = implementation.function; + return handler(implementation.zone, parentDelegate, this, duration, f); + } + print(line) { + if (line == null) dart.nullFailed(I[73], 1328, 21, "line"); + let implementation = this[_print]; + let parentDelegate = implementation.zone[_parentDelegate]; + let handler = implementation.function; + return handler(implementation.zone, parentDelegate, this, line); + } +}; +(async._CustomZone.new = function(parent, specification, _map) { + if (parent == null) dart.nullFailed(I[73], 1078, 20, "parent"); + if (specification == null) dart.nullFailed(I[73], 1078, 46, "specification"); + if (_map == null) dart.nullFailed(I[73], 1078, 66, "_map"); + this[_delegateCache] = null; + this[parent$] = parent; + this[_map$2] = _map; + this[_run$] = parent[_run]; + this[_runUnary$] = parent[_runUnary]; + this[_runBinary$] = parent[_runBinary]; + this[_registerCallback$] = parent[_registerCallback]; + this[_registerUnaryCallback$] = parent[_registerUnaryCallback]; + this[_registerBinaryCallback$] = parent[_registerBinaryCallback]; + this[_errorCallback$] = parent[_errorCallback]; + this[_scheduleMicrotask$] = parent[_scheduleMicrotask]; + this[_createTimer$] = parent[_createTimer]; + this[_createPeriodicTimer$] = parent[_createPeriodicTimer]; + this[_print$] = parent[_print]; + this[_fork$] = parent[_fork]; + this[_handleUncaughtError$] = parent[_handleUncaughtError]; + async._CustomZone.__proto__.new.call(this); + let run = specification.run; + if (run != null) { + this[_run] = new async._RunNullaryZoneFunction.new(this, run); + } + let runUnary = specification.runUnary; + if (runUnary != null) { + this[_runUnary] = new async._RunUnaryZoneFunction.new(this, runUnary); + } + let runBinary = specification.runBinary; + if (runBinary != null) { + this[_runBinary] = new async._RunBinaryZoneFunction.new(this, runBinary); + } + let registerCallback = specification.registerCallback; + if (registerCallback != null) { + this[_registerCallback] = new async._RegisterNullaryZoneFunction.new(this, registerCallback); + } + let registerUnaryCallback = specification.registerUnaryCallback; + if (registerUnaryCallback != null) { + this[_registerUnaryCallback] = new async._RegisterUnaryZoneFunction.new(this, registerUnaryCallback); + } + let registerBinaryCallback = specification.registerBinaryCallback; + if (registerBinaryCallback != null) { + this[_registerBinaryCallback] = new async._RegisterBinaryZoneFunction.new(this, registerBinaryCallback); + } + let errorCallback = specification.errorCallback; + if (errorCallback != null) { + this[_errorCallback] = new (T$._ZoneFunctionOfZoneAndZoneDelegateAndZone__ToAsyncErrorN()).new(this, errorCallback); + } + let scheduleMicrotask = specification.scheduleMicrotask; + if (scheduleMicrotask != null) { + this[_scheduleMicrotask] = new (T$._ZoneFunctionOfZoneAndZoneDelegateAndZone__Tovoid()).new(this, scheduleMicrotask); + } + let createTimer = specification.createTimer; + if (createTimer != null) { + this[_createTimer] = new (T$._ZoneFunctionOfZoneAndZoneDelegateAndZone__ToTimer()).new(this, createTimer); + } + let createPeriodicTimer = specification.createPeriodicTimer; + if (createPeriodicTimer != null) { + this[_createPeriodicTimer] = new (T$._ZoneFunctionOfZoneAndZoneDelegateAndZone__ToTimer$1()).new(this, createPeriodicTimer); + } + let print = specification.print; + if (print != null) { + this[_print] = new (T$._ZoneFunctionOfZoneAndZoneDelegateAndZone__Tovoid$1()).new(this, print); + } + let fork = specification.fork; + if (fork != null) { + this[_fork] = new (T$._ZoneFunctionOfZoneAndZoneDelegateAndZone__ToZone()).new(this, fork); + } + let handleUncaughtError = specification.handleUncaughtError; + if (handleUncaughtError != null) { + this[_handleUncaughtError] = new (T$._ZoneFunctionOfZoneAndZoneDelegateAndZone__Tovoid$2()).new(this, handleUncaughtError); + } +}).prototype = async._CustomZone.prototype; +dart.addTypeTests(async._CustomZone); +dart.addTypeCaches(async._CustomZone); +dart.setMethodSignature(async._CustomZone, () => ({ + __proto__: dart.getMethods(async._CustomZone.__proto__), + runGuarded: dart.fnType(dart.void, [dart.fnType(dart.void, [])]), + runUnaryGuarded: dart.gFnType(T => [dart.void, [dart.fnType(dart.void, [T]), T]], T => [dart.nullable(core.Object)]), + runBinaryGuarded: dart.gFnType((T1, T2) => [dart.void, [dart.fnType(dart.void, [T1, T2]), T1, T2]], (T1, T2) => [dart.nullable(core.Object), dart.nullable(core.Object)]), + bindCallback: dart.gFnType(R => [dart.fnType(R, []), [dart.fnType(R, [])]], R => [dart.nullable(core.Object)]), + bindUnaryCallback: dart.gFnType((R, T) => [dart.fnType(R, [T]), [dart.fnType(R, [T])]], (R, T) => [dart.nullable(core.Object), dart.nullable(core.Object)]), + bindBinaryCallback: dart.gFnType((R, T1, T2) => [dart.fnType(R, [T1, T2]), [dart.fnType(R, [T1, T2])]], (R, T1, T2) => [dart.nullable(core.Object), dart.nullable(core.Object), dart.nullable(core.Object)]), + bindCallbackGuarded: dart.fnType(dart.fnType(dart.void, []), [dart.fnType(dart.void, [])]), + bindUnaryCallbackGuarded: dart.gFnType(T => [dart.fnType(dart.void, [T]), [dart.fnType(dart.void, [T])]], T => [dart.nullable(core.Object)]), + bindBinaryCallbackGuarded: dart.gFnType((T1, T2) => [dart.fnType(dart.void, [T1, T2]), [dart.fnType(dart.void, [T1, T2])]], (T1, T2) => [dart.nullable(core.Object), dart.nullable(core.Object)]), + _get: dart.fnType(dart.dynamic, [dart.nullable(core.Object)]), + handleUncaughtError: dart.fnType(dart.void, [core.Object, core.StackTrace]), + fork: dart.fnType(async.Zone, [], {specification: dart.nullable(async.ZoneSpecification), zoneValues: dart.nullable(core.Map$(dart.nullable(core.Object), dart.nullable(core.Object)))}, {}), + run: dart.gFnType(R => [R, [dart.fnType(R, [])]], R => [dart.nullable(core.Object)]), + runUnary: dart.gFnType((R, T) => [R, [dart.fnType(R, [T]), T]], (R, T) => [dart.nullable(core.Object), dart.nullable(core.Object)]), + runBinary: dart.gFnType((R, T1, T2) => [R, [dart.fnType(R, [T1, T2]), T1, T2]], (R, T1, T2) => [dart.nullable(core.Object), dart.nullable(core.Object), dart.nullable(core.Object)]), + registerCallback: dart.gFnType(R => [dart.fnType(R, []), [dart.fnType(R, [])]], R => [dart.nullable(core.Object)]), + registerUnaryCallback: dart.gFnType((R, T) => [dart.fnType(R, [T]), [dart.fnType(R, [T])]], (R, T) => [dart.nullable(core.Object), dart.nullable(core.Object)]), + registerBinaryCallback: dart.gFnType((R, T1, T2) => [dart.fnType(R, [T1, T2]), [dart.fnType(R, [T1, T2])]], (R, T1, T2) => [dart.nullable(core.Object), dart.nullable(core.Object), dart.nullable(core.Object)]), + errorCallback: dart.fnType(dart.nullable(async.AsyncError), [core.Object, dart.nullable(core.StackTrace)]), + scheduleMicrotask: dart.fnType(dart.void, [dart.fnType(dart.void, [])]), + createTimer: dart.fnType(async.Timer, [core.Duration, dart.fnType(dart.void, [])]), + createPeriodicTimer: dart.fnType(async.Timer, [core.Duration, dart.fnType(dart.void, [async.Timer])]), + print: dart.fnType(dart.void, [core.String]) +})); +dart.setGetterSignature(async._CustomZone, () => ({ + __proto__: dart.getGetters(async._CustomZone.__proto__), + [_delegate]: async.ZoneDelegate, + [_parentDelegate]: async.ZoneDelegate, + errorZone: async.Zone +})); +dart.setLibraryUri(async._CustomZone, I[29]); +dart.setFieldSignature(async._CustomZone, () => ({ + __proto__: dart.getFields(async._CustomZone.__proto__), + [_run]: dart.fieldType(async._RunNullaryZoneFunction), + [_runUnary]: dart.fieldType(async._RunUnaryZoneFunction), + [_runBinary]: dart.fieldType(async._RunBinaryZoneFunction), + [_registerCallback]: dart.fieldType(async._RegisterNullaryZoneFunction), + [_registerUnaryCallback]: dart.fieldType(async._RegisterUnaryZoneFunction), + [_registerBinaryCallback]: dart.fieldType(async._RegisterBinaryZoneFunction), + [_errorCallback]: dart.fieldType(async._ZoneFunction$(dart.fnType(dart.nullable(async.AsyncError), [async.Zone, async.ZoneDelegate, async.Zone, core.Object, dart.nullable(core.StackTrace)]))), + [_scheduleMicrotask]: dart.fieldType(async._ZoneFunction$(dart.fnType(dart.void, [async.Zone, async.ZoneDelegate, async.Zone, dart.fnType(dart.void, [])]))), + [_createTimer]: dart.fieldType(async._ZoneFunction$(dart.fnType(async.Timer, [async.Zone, async.ZoneDelegate, async.Zone, core.Duration, dart.fnType(dart.void, [])]))), + [_createPeriodicTimer]: dart.fieldType(async._ZoneFunction$(dart.fnType(async.Timer, [async.Zone, async.ZoneDelegate, async.Zone, core.Duration, dart.fnType(dart.void, [async.Timer])]))), + [_print]: dart.fieldType(async._ZoneFunction$(dart.fnType(dart.void, [async.Zone, async.ZoneDelegate, async.Zone, core.String]))), + [_fork]: dart.fieldType(async._ZoneFunction$(dart.fnType(async.Zone, [async.Zone, async.ZoneDelegate, async.Zone, dart.nullable(async.ZoneSpecification), dart.nullable(core.Map$(dart.nullable(core.Object), dart.nullable(core.Object)))]))), + [_handleUncaughtError]: dart.fieldType(async._ZoneFunction$(dart.fnType(dart.void, [async.Zone, async.ZoneDelegate, async.Zone, core.Object, core.StackTrace]))), + [_delegateCache]: dart.fieldType(dart.nullable(async.ZoneDelegate)), + parent: dart.finalFieldType(async._Zone), + [_map$3]: dart.finalFieldType(core.Map$(dart.nullable(core.Object), dart.nullable(core.Object))) +})); +async._RootZone = class _RootZone extends async._Zone { + get [_run]() { + return C[45] || CT.C45; + } + get [_runUnary]() { + return C[47] || CT.C47; + } + get [_runBinary]() { + return C[49] || CT.C49; + } + get [_registerCallback]() { + return C[51] || CT.C51; + } + get [_registerUnaryCallback]() { + return C[53] || CT.C53; + } + get [_registerBinaryCallback]() { + return C[55] || CT.C55; + } + get [_errorCallback]() { + return C[57] || CT.C57; + } + get [_scheduleMicrotask]() { + return C[59] || CT.C59; + } + get [_createTimer]() { + return C[61] || CT.C61; + } + get [_createPeriodicTimer]() { + return C[63] || CT.C63; + } + get [_print]() { + return C[65] || CT.C65; + } + get [_fork]() { + return C[67] || CT.C67; + } + get [_handleUncaughtError]() { + return C[69] || CT.C69; + } + get parent() { + return null; + } + get [_map$3]() { + return async._RootZone._rootMap; + } + get [_delegate]() { + let t131; + t131 = async._RootZone._rootDelegate; + return t131 == null ? async._RootZone._rootDelegate = new async._ZoneDelegate.new(this) : t131; + } + get [_parentDelegate]() { + return this[_delegate]; + } + get errorZone() { + return this; + } + runGuarded(f) { + if (f == null) dart.nullFailed(I[73], 1531, 24, "f"); + try { + if (async._rootZone == async.Zone._current) { + f(); + return; + } + async._rootRun(dart.void, null, null, this, f); + } catch (e$) { + let e = dart.getThrown(e$); + let s = dart.stackTrace(e$); + if (core.Object.is(e)) { + this.handleUncaughtError(e, s); + } else + throw e$; + } + } + runUnaryGuarded(T, f, arg) { + if (f == null) dart.nullFailed(I[73], 1543, 32, "f"); + try { + if (async._rootZone == async.Zone._current) { + f(arg); + return; + } + async._rootRunUnary(dart.void, T, null, null, this, f, arg); + } catch (e$) { + let e = dart.getThrown(e$); + let s = dart.stackTrace(e$); + if (core.Object.is(e)) { + this.handleUncaughtError(e, s); + } else + throw e$; + } + } + runBinaryGuarded(T1, T2, f, arg1, arg2) { + if (f == null) dart.nullFailed(I[73], 1555, 38, "f"); + try { + if (async._rootZone == async.Zone._current) { + f(arg1, arg2); + return; + } + async._rootRunBinary(dart.void, T1, T2, null, null, this, f, arg1, arg2); + } catch (e$) { + let e = dart.getThrown(e$); + let s = dart.stackTrace(e$); + if (core.Object.is(e)) { + this.handleUncaughtError(e, s); + } else + throw e$; + } + } + bindCallback(R, f) { + if (f == null) dart.nullFailed(I[73], 1567, 37, "f"); + return dart.fn(() => this.run(R, f), dart.fnType(R, [])); + } + bindUnaryCallback(R, T, f) { + if (f == null) dart.nullFailed(I[73], 1571, 53, "f"); + return dart.fn(arg => this.runUnary(R, T, f, arg), dart.fnType(R, [T])); + } + bindBinaryCallback(R, T1, T2, f) { + if (f == null) dart.nullFailed(I[73], 1576, 9, "f"); + return dart.fn((arg1, arg2) => this.runBinary(R, T1, T2, f, arg1, arg2), dart.fnType(R, [T1, T2])); + } + bindCallbackGuarded(f) { + if (f == null) dart.nullFailed(I[73], 1580, 44, "f"); + return dart.fn(() => this.runGuarded(f), T$.VoidTovoid()); + } + bindUnaryCallbackGuarded(T, f) { + if (f == null) dart.nullFailed(I[73], 1584, 53, "f"); + return dart.fn(arg => this.runUnaryGuarded(T, f, arg), dart.fnType(dart.void, [T])); + } + bindBinaryCallbackGuarded(T1, T2, f) { + if (f == null) dart.nullFailed(I[73], 1589, 12, "f"); + return dart.fn((arg1, arg2) => this.runBinaryGuarded(T1, T2, f, arg1, arg2), dart.fnType(dart.void, [T1, T2])); + } + _get(key) { + return null; + } + handleUncaughtError(error, stackTrace) { + if (error == null) dart.nullFailed(I[73], 1597, 35, "error"); + if (stackTrace == null) dart.nullFailed(I[73], 1597, 53, "stackTrace"); + async._rootHandleUncaughtError(null, null, this, error, stackTrace); + } + fork(opts) { + let specification = opts && 'specification' in opts ? opts.specification : null; + let zoneValues = opts && 'zoneValues' in opts ? opts.zoneValues : null; + return async._rootFork(null, null, this, specification, zoneValues); + } + run(R, f) { + if (f == null) dart.nullFailed(I[73], 1606, 14, "f"); + if (async.Zone._current == async._rootZone) return f(); + return async._rootRun(R, null, null, this, f); + } + runUnary(R, T, f, arg) { + if (f == null) dart.nullFailed(I[73], 1612, 22, "f"); + if (async.Zone._current == async._rootZone) return f(arg); + return async._rootRunUnary(R, T, null, null, this, f, arg); + } + runBinary(R, T1, T2, f, arg1, arg2) { + if (f == null) dart.nullFailed(I[73], 1617, 28, "f"); + if (async.Zone._current == async._rootZone) return f(arg1, arg2); + return async._rootRunBinary(R, T1, T2, null, null, this, f, arg1, arg2); + } + registerCallback(R, f) { + if (f == null) dart.nullFailed(I[73], 1622, 41, "f"); + return f; + } + registerUnaryCallback(R, T, f) { + if (f == null) dart.nullFailed(I[73], 1624, 57, "f"); + return f; + } + registerBinaryCallback(R, T1, T2, f) { + if (f == null) dart.nullFailed(I[73], 1627, 13, "f"); + return f; + } + errorCallback(error, stackTrace) { + if (error == null) dart.nullFailed(I[73], 1630, 36, "error"); + return null; + } + scheduleMicrotask(f) { + if (f == null) dart.nullFailed(I[73], 1632, 31, "f"); + async._rootScheduleMicrotask(null, null, this, f); + } + createTimer(duration, f) { + if (duration == null) dart.nullFailed(I[73], 1636, 30, "duration"); + if (f == null) dart.nullFailed(I[73], 1636, 45, "f"); + return async.Timer._createTimer(duration, f); + } + createPeriodicTimer(duration, f) { + if (duration == null) dart.nullFailed(I[73], 1640, 38, "duration"); + if (f == null) dart.nullFailed(I[73], 1640, 53, "f"); + return async.Timer._createPeriodicTimer(duration, f); + } + print(line) { + if (line == null) dart.nullFailed(I[73], 1644, 21, "line"); + _internal.printToConsole(line); + } +}; +(async._RootZone.new = function() { + async._RootZone.__proto__.new.call(this); + ; +}).prototype = async._RootZone.prototype; +dart.addTypeTests(async._RootZone); +dart.addTypeCaches(async._RootZone); +dart.setMethodSignature(async._RootZone, () => ({ + __proto__: dart.getMethods(async._RootZone.__proto__), + runGuarded: dart.fnType(dart.void, [dart.fnType(dart.void, [])]), + runUnaryGuarded: dart.gFnType(T => [dart.void, [dart.fnType(dart.void, [T]), T]], T => [dart.nullable(core.Object)]), + runBinaryGuarded: dart.gFnType((T1, T2) => [dart.void, [dart.fnType(dart.void, [T1, T2]), T1, T2]], (T1, T2) => [dart.nullable(core.Object), dart.nullable(core.Object)]), + bindCallback: dart.gFnType(R => [dart.fnType(R, []), [dart.fnType(R, [])]], R => [dart.nullable(core.Object)]), + bindUnaryCallback: dart.gFnType((R, T) => [dart.fnType(R, [T]), [dart.fnType(R, [T])]], (R, T) => [dart.nullable(core.Object), dart.nullable(core.Object)]), + bindBinaryCallback: dart.gFnType((R, T1, T2) => [dart.fnType(R, [T1, T2]), [dart.fnType(R, [T1, T2])]], (R, T1, T2) => [dart.nullable(core.Object), dart.nullable(core.Object), dart.nullable(core.Object)]), + bindCallbackGuarded: dart.fnType(dart.fnType(dart.void, []), [dart.fnType(dart.void, [])]), + bindUnaryCallbackGuarded: dart.gFnType(T => [dart.fnType(dart.void, [T]), [dart.fnType(dart.void, [T])]], T => [dart.nullable(core.Object)]), + bindBinaryCallbackGuarded: dart.gFnType((T1, T2) => [dart.fnType(dart.void, [T1, T2]), [dart.fnType(dart.void, [T1, T2])]], (T1, T2) => [dart.nullable(core.Object), dart.nullable(core.Object)]), + _get: dart.fnType(dart.dynamic, [dart.nullable(core.Object)]), + handleUncaughtError: dart.fnType(dart.void, [core.Object, core.StackTrace]), + fork: dart.fnType(async.Zone, [], {specification: dart.nullable(async.ZoneSpecification), zoneValues: dart.nullable(core.Map$(dart.nullable(core.Object), dart.nullable(core.Object)))}, {}), + run: dart.gFnType(R => [R, [dart.fnType(R, [])]], R => [dart.nullable(core.Object)]), + runUnary: dart.gFnType((R, T) => [R, [dart.fnType(R, [T]), T]], (R, T) => [dart.nullable(core.Object), dart.nullable(core.Object)]), + runBinary: dart.gFnType((R, T1, T2) => [R, [dart.fnType(R, [T1, T2]), T1, T2]], (R, T1, T2) => [dart.nullable(core.Object), dart.nullable(core.Object), dart.nullable(core.Object)]), + registerCallback: dart.gFnType(R => [dart.fnType(R, []), [dart.fnType(R, [])]], R => [dart.nullable(core.Object)]), + registerUnaryCallback: dart.gFnType((R, T) => [dart.fnType(R, [T]), [dart.fnType(R, [T])]], (R, T) => [dart.nullable(core.Object), dart.nullable(core.Object)]), + registerBinaryCallback: dart.gFnType((R, T1, T2) => [dart.fnType(R, [T1, T2]), [dart.fnType(R, [T1, T2])]], (R, T1, T2) => [dart.nullable(core.Object), dart.nullable(core.Object), dart.nullable(core.Object)]), + errorCallback: dart.fnType(dart.nullable(async.AsyncError), [core.Object, dart.nullable(core.StackTrace)]), + scheduleMicrotask: dart.fnType(dart.void, [dart.fnType(dart.void, [])]), + createTimer: dart.fnType(async.Timer, [core.Duration, dart.fnType(dart.void, [])]), + createPeriodicTimer: dart.fnType(async.Timer, [core.Duration, dart.fnType(dart.void, [async.Timer])]), + print: dart.fnType(dart.void, [core.String]) +})); +dart.setGetterSignature(async._RootZone, () => ({ + __proto__: dart.getGetters(async._RootZone.__proto__), + [_run]: async._RunNullaryZoneFunction, + [_runUnary]: async._RunUnaryZoneFunction, + [_runBinary]: async._RunBinaryZoneFunction, + [_registerCallback]: async._RegisterNullaryZoneFunction, + [_registerUnaryCallback]: async._RegisterUnaryZoneFunction, + [_registerBinaryCallback]: async._RegisterBinaryZoneFunction, + [_errorCallback]: async._ZoneFunction$(dart.fnType(dart.nullable(async.AsyncError), [async.Zone, async.ZoneDelegate, async.Zone, core.Object, dart.nullable(core.StackTrace)])), + [_scheduleMicrotask]: async._ZoneFunction$(dart.fnType(dart.void, [async.Zone, async.ZoneDelegate, async.Zone, dart.fnType(dart.void, [])])), + [_createTimer]: async._ZoneFunction$(dart.fnType(async.Timer, [async.Zone, async.ZoneDelegate, async.Zone, core.Duration, dart.fnType(dart.void, [])])), + [_createPeriodicTimer]: async._ZoneFunction$(dart.fnType(async.Timer, [async.Zone, async.ZoneDelegate, async.Zone, core.Duration, dart.fnType(dart.void, [async.Timer])])), + [_print]: async._ZoneFunction$(dart.fnType(dart.void, [async.Zone, async.ZoneDelegate, async.Zone, core.String])), + [_fork]: async._ZoneFunction$(dart.fnType(async.Zone, [async.Zone, async.ZoneDelegate, async.Zone, dart.nullable(async.ZoneSpecification), dart.nullable(core.Map$(dart.nullable(core.Object), dart.nullable(core.Object)))])), + [_handleUncaughtError]: async._ZoneFunction$(dart.fnType(dart.void, [async.Zone, async.ZoneDelegate, async.Zone, core.Object, core.StackTrace])), + parent: dart.nullable(async._Zone), + [_map$3]: core.Map$(dart.nullable(core.Object), dart.nullable(core.Object)), + [_delegate]: async.ZoneDelegate, + [_parentDelegate]: async.ZoneDelegate, + errorZone: async.Zone +})); +dart.setLibraryUri(async._RootZone, I[29]); +dart.defineLazy(async._RootZone, { + /*async._RootZone._rootMap*/get _rootMap() { + return new _js_helper.LinkedMap.new(); + }, + /*async._RootZone._rootDelegate*/get _rootDelegate() { + return null; + }, + set _rootDelegate(_) {} +}, false); +async.async = function _async(T, initGenerator) { + if (initGenerator == null) dart.nullFailed(I[61], 25, 22, "initGenerator"); + let iter = null; + let onValue = null; + let onValue$35isSet = false; + function onValue$35get() { + return onValue$35isSet ? onValue : dart.throw(new _internal.LateError.localNI("onValue")); + } + function onValue$35set(t137) { + if (t137 == null) dart.nullFailed(I[61], 27, 34, "null"); + onValue$35isSet = true; + return onValue = t137; + } + let onError = null; + let onError$35isSet = false; + function onError$35get() { + return onError$35isSet ? onError : dart.throw(new _internal.LateError.localNI("onError")); + } + function onError$35set(t142) { + if (t142 == null) dart.nullFailed(I[61], 28, 45, "null"); + onError$35isSet = true; + return onError = t142; + } + function onAwait(value) { + let f = null; + if (async._Future.is(value)) { + f = value; + } else if (async.Future.is(value)) { + f = new (T$._FutureOfObjectN()).new(); + f[_chainForeignFuture](value); + } else { + f = new (T$._FutureOfObjectN()).value(value); + } + f = f[_thenAwait](T$.ObjectN(), onValue$35get(), onError$35get()); + return f; + } + onValue$35set(value => { + let iteratorResult = iter.next(value); + value = iteratorResult.value; + return iteratorResult.done ? value : onAwait(value); + }); + onError$35set((value, stackTrace) => { + if (value == null) dart.nullFailed(I[61], 58, 14, "value"); + let iteratorResult = iter.throw(dart.createErrorWithStack(value, stackTrace)); + value = iteratorResult.value; + return iteratorResult.done ? value : onAwait(value); + }); + let zone = async.Zone.current; + if (zone != async._rootZone) { + onValue$35set(zone.registerUnaryCallback(T$.ObjectN(), T$.ObjectN(), onValue$35get())); + onError$35set(zone.registerBinaryCallback(core.Object, core.Object, T$.StackTraceN(), onError$35get())); + } + let asyncFuture = new (async._Future$(T)).new(); + let isRunningAsEvent = false; + function runBody() { + try { + iter = initGenerator()[Symbol.iterator](); + let iteratorValue = iter.next(null); + let value = iteratorValue.value; + if (iteratorValue.done) { + if (async.Future.is(value)) { + if (async._Future.is(value)) { + async._Future._chainCoreFuture(value, asyncFuture); + } else { + asyncFuture[_chainForeignFuture](value); + } + } else if (isRunningAsEvent) { + asyncFuture[_completeWithValue](value); + } else { + asyncFuture[_asyncComplete](value); + } + } else { + async._Future._chainCoreFuture(onAwait(value), asyncFuture); + } + } catch (e$) { + let e = dart.getThrown(e$); + let s = dart.stackTrace(e$); + if (core.Object.is(e)) { + if (isRunningAsEvent) { + async._completeWithErrorCallback(asyncFuture, e, s); + } else { + async._asyncCompleteWithErrorCallback(asyncFuture, e, s); + } + } else + throw e$; + } + } + if (dart.test(dart.startAsyncSynchronously)) { + runBody(); + isRunningAsEvent = true; + } else { + isRunningAsEvent = true; + async.scheduleMicrotask(runBody); + } + return asyncFuture; +}; +async._invokeErrorHandler = function _invokeErrorHandler(errorHandler, error, stackTrace) { + if (errorHandler == null) dart.nullFailed(I[62], 37, 14, "errorHandler"); + if (error == null) dart.nullFailed(I[62], 37, 35, "error"); + if (stackTrace == null) dart.nullFailed(I[62], 37, 53, "stackTrace"); + let handler = errorHandler; + if (T$.NeverAndNeverTodynamic().is(handler)) { + return dart.dcall(errorHandler, [error, stackTrace]); + } else { + return dart.dcall(errorHandler, [error]); + } +}; +async['FutureExtensions|onError'] = function FutureExtensions$124onError(T, E, $this, handleError, opts) { + if ($this == null) dart.nullFailed(I[67], 763, 13, "#this"); + if (handleError == null) dart.nullFailed(I[67], 764, 19, "handleError"); + let test = opts && 'test' in opts ? opts.test : null; + return $this.catchError(dart.fn((error, stackTrace) => { + if (error == null) dart.nullFailed(I[67], 769, 17, "error"); + if (stackTrace == null) dart.nullFailed(I[67], 769, 35, "stackTrace"); + return handleError(E.as(error), stackTrace); + }, dart.fnType(async.FutureOr$(T), [core.Object, core.StackTrace])), {test: dart.fn(error => { + if (error == null) dart.nullFailed(I[67], 771, 23, "error"); + return E.is(error) && (test == null || dart.test(test(error))); + }, T$.ObjectTobool())}); +}; +async['FutureExtensions|get#onError'] = function FutureExtensions$124get$35onError(T, $this) { + if ($this == null) dart.nullFailed(I[67], 763, 13, "#this"); + return dart.fn((E, handleError, opts) => { + if (handleError == null) dart.nullFailed(I[67], 764, 19, "handleError"); + let test = opts && 'test' in opts ? opts.test : null; + return async['FutureExtensions|onError'](T, E, $this, handleError, {test: test}); + }, dart.gFnType(E => { + var ETobool = () => (ETobool = dart.constFn(dart.fnType(core.bool, [E])))(); + var EToNbool = () => (EToNbool = dart.constFn(dart.nullable(ETobool())))(); + return [async.Future$(T), [dart.fnType(async.FutureOr$(T), [E, core.StackTrace])], {test: EToNbool()}, {}]; + }, E => { + var ETobool = () => (ETobool = dart.constFn(dart.fnType(core.bool, [E])))(); + var EToNbool = () => (EToNbool = dart.constFn(dart.nullable(ETobool())))(); + return [core.Object]; + })); +}; +async._completeWithErrorCallback = function _completeWithErrorCallback(result, error, stackTrace) { + if (result == null) dart.nullFailed(I[67], 963, 13, "result"); + if (error == null) dart.nullFailed(I[67], 963, 28, "error"); + let replacement = async.Zone.current.errorCallback(error, stackTrace); + if (replacement != null) { + error = replacement.error; + stackTrace = replacement.stackTrace; + } else { + stackTrace == null ? stackTrace = async.AsyncError.defaultStackTrace(error) : null; + } + if (stackTrace == null) dart.throw("unreachable"); + result[_completeError](error, stackTrace); +}; +async._asyncCompleteWithErrorCallback = function _asyncCompleteWithErrorCallback(result, error, stackTrace) { + if (result == null) dart.nullFailed(I[67], 977, 13, "result"); + if (error == null) dart.nullFailed(I[67], 977, 28, "error"); + let replacement = async.Zone.current.errorCallback(error, stackTrace); + if (replacement != null) { + error = replacement.error; + stackTrace = replacement.stackTrace; + } else { + stackTrace == null ? stackTrace = async.AsyncError.defaultStackTrace(error) : null; + } + if (stackTrace == null) { + dart.throw("unreachable"); + } + result[_asyncCompleteError](error, stackTrace); +}; +async._registerErrorHandler = function _registerErrorHandler(errorHandler, zone) { + if (errorHandler == null) dart.nullFailed(I[68], 837, 41, "errorHandler"); + if (zone == null) dart.nullFailed(I[68], 837, 60, "zone"); + if (T$.ObjectAndStackTraceTodynamic().is(errorHandler)) { + return zone.registerBinaryCallback(dart.dynamic, core.Object, core.StackTrace, errorHandler); + } + if (T$.ObjectTodynamic().is(errorHandler)) { + return zone.registerUnaryCallback(dart.dynamic, core.Object, errorHandler); + } + dart.throw(new core.ArgumentError.value(errorHandler, "onError", "Error handler must accept one Object or one Object and a StackTrace" + " as arguments, and return a valid result")); +}; +async._microtaskLoop = function _microtaskLoop() { + for (let entry = async._nextCallback; entry != null; entry = async._nextCallback) { + async._lastPriorityCallback = null; + let next = entry.next; + async._nextCallback = next; + if (next == null) async._lastCallback = null; + entry.callback(); + } +}; +async._startMicrotaskLoop = function _startMicrotaskLoop() { + async._isInCallbackLoop = true; + try { + async._microtaskLoop(); + } finally { + async._lastPriorityCallback = null; + async._isInCallbackLoop = false; + if (async._nextCallback != null) { + async._AsyncRun._scheduleImmediate(C[71] || CT.C71); + } + } +}; +async._scheduleAsyncCallback = function _scheduleAsyncCallback(callback) { + if (callback == null) dart.nullFailed(I[69], 63, 44, "callback"); + let newEntry = new async._AsyncCallbackEntry.new(callback); + let lastCallback = async._lastCallback; + if (lastCallback == null) { + async._nextCallback = async._lastCallback = newEntry; + if (!dart.test(async._isInCallbackLoop)) { + async._AsyncRun._scheduleImmediate(C[71] || CT.C71); + } + } else { + lastCallback.next = newEntry; + async._lastCallback = newEntry; + } +}; +async._schedulePriorityAsyncCallback = function _schedulePriorityAsyncCallback(callback) { + if (callback == null) dart.nullFailed(I[69], 83, 52, "callback"); + if (async._nextCallback == null) { + async._scheduleAsyncCallback(callback); + async._lastPriorityCallback = async._lastCallback; + return; + } + let entry = new async._AsyncCallbackEntry.new(callback); + let lastPriorityCallback = async._lastPriorityCallback; + if (lastPriorityCallback == null) { + entry.next = async._nextCallback; + async._nextCallback = async._lastPriorityCallback = entry; + } else { + let next = lastPriorityCallback.next; + entry.next = next; + lastPriorityCallback.next = entry; + async._lastPriorityCallback = entry; + if (next == null) { + async._lastCallback = entry; + } + } +}; +async.scheduleMicrotask = function scheduleMicrotask(callback) { + if (callback == null) dart.nullFailed(I[69], 129, 40, "callback"); + let currentZone = async.Zone._current; + if (async._rootZone == currentZone) { + async._rootScheduleMicrotask(null, null, async._rootZone, callback); + return; + } + let implementation = currentZone[_scheduleMicrotask]; + if (async._rootZone == implementation.zone && dart.test(async._rootZone.inSameErrorZone(currentZone))) { + async._rootScheduleMicrotask(null, null, currentZone, currentZone.registerCallback(dart.void, callback)); + return; + } + async.Zone.current.scheduleMicrotask(async.Zone.current.bindCallbackGuarded(callback)); +}; +async._runGuarded = function _runGuarded(notificationHandler) { + if (notificationHandler == null) return; + try { + notificationHandler(); + } catch (e$) { + let e = dart.getThrown(e$); + let s = dart.stackTrace(e$); + if (core.Object.is(e)) { + async.Zone.current.handleUncaughtError(e, s); + } else + throw e$; + } +}; +async._nullDataHandler = function _nullDataHandler(value) { +}; +async._nullErrorHandler = function _nullErrorHandler(error, stackTrace) { + if (error == null) dart.nullFailed(I[65], 570, 31, "error"); + if (stackTrace == null) dart.nullFailed(I[65], 570, 49, "stackTrace"); + async.Zone.current.handleUncaughtError(error, stackTrace); +}; +async._nullDoneHandler = function _nullDoneHandler() { +}; +async._runUserCode = function _runUserCode(T, userCode, onSuccess, onError) { + if (userCode == null) dart.nullFailed(I[70], 8, 19, "userCode"); + if (onSuccess == null) dart.nullFailed(I[70], 8, 31, "onSuccess"); + if (onError == null) dart.nullFailed(I[70], 9, 5, "onError"); + try { + onSuccess(userCode()); + } catch (e$) { + let e = dart.getThrown(e$); + let s = dart.stackTrace(e$); + if (core.Object.is(e)) { + let replacement = async.Zone.current.errorCallback(e, s); + if (replacement == null) { + onError(e, s); + } else { + let error = replacement.error; + let stackTrace = replacement.stackTrace; + onError(error, stackTrace); + } + } else + throw e$; + } +}; +async._cancelAndError = function _cancelAndError(subscription, future, error, stackTrace) { + if (subscription == null) dart.nullFailed(I[70], 26, 41, "subscription"); + if (future == null) dart.nullFailed(I[70], 26, 63, "future"); + if (error == null) dart.nullFailed(I[70], 27, 12, "error"); + if (stackTrace == null) dart.nullFailed(I[70], 27, 30, "stackTrace"); + let cancelFuture = subscription.cancel(); + if (cancelFuture != null && cancelFuture != async.Future._nullFuture) { + cancelFuture.whenComplete(dart.fn(() => future[_completeError](error, stackTrace), T$.VoidTovoid())); + } else { + future[_completeError](error, stackTrace); + } +}; +async._cancelAndErrorWithReplacement = function _cancelAndErrorWithReplacement(subscription, future, error, stackTrace) { + if (subscription == null) dart.nullFailed(I[70], 36, 56, "subscription"); + if (future == null) dart.nullFailed(I[70], 37, 13, "future"); + if (error == null) dart.nullFailed(I[70], 37, 28, "error"); + if (stackTrace == null) dart.nullFailed(I[70], 37, 46, "stackTrace"); + let replacement = async.Zone.current.errorCallback(error, stackTrace); + if (replacement != null) { + error = replacement.error; + stackTrace = replacement.stackTrace; + } + async._cancelAndError(subscription, future, error, stackTrace); +}; +async._cancelAndErrorClosure = function _cancelAndErrorClosure(subscription, future) { + if (subscription == null) dart.nullFailed(I[70], 48, 24, "subscription"); + if (future == null) dart.nullFailed(I[70], 48, 46, "future"); + return dart.fn((error, stackTrace) => { + if (error == null) dart.nullFailed(I[70], 49, 18, "error"); + if (stackTrace == null) dart.nullFailed(I[70], 49, 36, "stackTrace"); + async._cancelAndError(subscription, future, error, stackTrace); + }, T$.ObjectAndStackTraceTovoid()); +}; +async._cancelAndValue = function _cancelAndValue(subscription, future, value) { + if (subscription == null) dart.nullFailed(I[70], 56, 41, "subscription"); + if (future == null) dart.nullFailed(I[70], 56, 63, "future"); + let cancelFuture = subscription.cancel(); + if (cancelFuture != null && cancelFuture != async.Future._nullFuture) { + cancelFuture.whenComplete(dart.fn(() => future[_complete](value), T$.VoidTovoid())); + } else { + future[_complete](value); + } +}; +async._addErrorWithReplacement = function _addErrorWithReplacement(sink, error, stackTrace) { + if (sink == null) dart.nullFailed(I[70], 170, 16, "sink"); + if (error == null) dart.nullFailed(I[70], 170, 29, "error"); + if (stackTrace == null) dart.nullFailed(I[70], 170, 47, "stackTrace"); + let replacement = async.Zone.current.errorCallback(error, stackTrace); + if (replacement != null) { + error = replacement.error; + stackTrace = replacement.stackTrace; + } + sink[_addError](error, stackTrace); +}; +async._rootHandleUncaughtError = function _rootHandleUncaughtError(self, parent, zone, error, stackTrace) { + if (zone == null) dart.nullFailed(I[73], 1336, 70, "zone"); + if (error == null) dart.nullFailed(I[73], 1337, 12, "error"); + if (stackTrace == null) dart.nullFailed(I[73], 1337, 30, "stackTrace"); + async._schedulePriorityAsyncCallback(dart.fn(() => { + async._rethrow(error, stackTrace); + }, T$.VoidTovoid())); +}; +async._rethrow = function _rethrow(error, stackTrace) { + if (error == null) dart.nullFailed(I[61], 199, 22, "error"); + if (stackTrace == null) dart.nullFailed(I[61], 199, 40, "stackTrace"); + throw dart.createErrorWithStack(error, stackTrace); +}; +async._rootRun = function _rootRun(R, self, parent, zone, f) { + if (zone == null) dart.nullFailed(I[73], 1345, 54, "zone"); + if (f == null) dart.nullFailed(I[73], 1345, 62, "f"); + if (async.Zone._current == zone) return f(); + if (!async._Zone.is(zone)) { + dart.throw(new core.ArgumentError.value(zone, "zone", "Can only run in platform zones")); + } + let old = async.Zone._enter(zone); + try { + return f(); + } finally { + async.Zone._leave(old); + } +}; +async._rootRunUnary = function _rootRunUnary(R, T, self, parent, zone, f, arg) { + if (zone == null) dart.nullFailed(I[73], 1361, 44, "zone"); + if (f == null) dart.nullFailed(I[73], 1361, 52, "f"); + if (async.Zone._current == zone) return f(arg); + if (!async._Zone.is(zone)) { + dart.throw(new core.ArgumentError.value(zone, "zone", "Can only run in platform zones")); + } + let old = async.Zone._enter(zone); + try { + return f(arg); + } finally { + async.Zone._leave(old); + } +}; +async._rootRunBinary = function _rootRunBinary(R, T1, T2, self, parent, zone, f, arg1, arg2) { + if (zone == null) dart.nullFailed(I[73], 1376, 68, "zone"); + if (f == null) dart.nullFailed(I[73], 1377, 7, "f"); + if (async.Zone._current == zone) return f(arg1, arg2); + if (!async._Zone.is(zone)) { + dart.throw(new core.ArgumentError.value(zone, "zone", "Can only run in platform zones")); + } + let old = async.Zone._enter(zone); + try { + return f(arg1, arg2); + } finally { + async.Zone._leave(old); + } +}; +async._rootRegisterCallback = function _rootRegisterCallback(R, self, parent, zone, f) { + if (self == null) dart.nullFailed(I[73], 1393, 10, "self"); + if (parent == null) dart.nullFailed(I[73], 1393, 29, "parent"); + if (zone == null) dart.nullFailed(I[73], 1393, 42, "zone"); + if (f == null) dart.nullFailed(I[73], 1393, 50, "f"); + return f; +}; +async._rootRegisterUnaryCallback = function _rootRegisterUnaryCallback(R, T, self, parent, zone, f) { + if (self == null) dart.nullFailed(I[73], 1398, 10, "self"); + if (parent == null) dart.nullFailed(I[73], 1398, 29, "parent"); + if (zone == null) dart.nullFailed(I[73], 1398, 42, "zone"); + if (f == null) dart.nullFailed(I[73], 1398, 50, "f"); + return f; +}; +async._rootRegisterBinaryCallback = function _rootRegisterBinaryCallback(R, T1, T2, self, parent, zone, f) { + if (self == null) dart.nullFailed(I[73], 1403, 10, "self"); + if (parent == null) dart.nullFailed(I[73], 1403, 29, "parent"); + if (zone == null) dart.nullFailed(I[73], 1403, 42, "zone"); + if (f == null) dart.nullFailed(I[73], 1403, 50, "f"); + return f; +}; +async._rootErrorCallback = function _rootErrorCallback(self, parent, zone, error, stackTrace) { + if (self == null) dart.nullFailed(I[73], 1407, 37, "self"); + if (parent == null) dart.nullFailed(I[73], 1407, 56, "parent"); + if (zone == null) dart.nullFailed(I[73], 1407, 69, "zone"); + if (error == null) dart.nullFailed(I[73], 1408, 16, "error"); + return null; +}; +async._rootScheduleMicrotask = function _rootScheduleMicrotask(self, parent, zone, f) { + if (zone == null) dart.nullFailed(I[73], 1412, 44, "zone"); + if (f == null) dart.nullFailed(I[73], 1412, 55, "f"); + if (async._rootZone != zone) { + let hasErrorHandler = !dart.test(async._rootZone.inSameErrorZone(zone)); + if (hasErrorHandler) { + f = zone.bindCallbackGuarded(f); + } else { + f = zone.bindCallback(dart.void, f); + } + } + async._scheduleAsyncCallback(f); +}; +async._rootCreateTimer = function _rootCreateTimer(self, parent, zone, duration, callback) { + if (self == null) dart.nullFailed(I[73], 1424, 29, "self"); + if (parent == null) dart.nullFailed(I[73], 1424, 48, "parent"); + if (zone == null) dart.nullFailed(I[73], 1424, 61, "zone"); + if (duration == null) dart.nullFailed(I[73], 1425, 14, "duration"); + if (callback == null) dart.nullFailed(I[73], 1425, 40, "callback"); + if (async._rootZone != zone) { + callback = zone.bindCallback(dart.void, callback); + } + return async.Timer._createTimer(duration, callback); +}; +async._rootCreatePeriodicTimer = function _rootCreatePeriodicTimer(self, parent, zone, duration, callback) { + if (self == null) dart.nullFailed(I[73], 1432, 37, "self"); + if (parent == null) dart.nullFailed(I[73], 1432, 56, "parent"); + if (zone == null) dart.nullFailed(I[73], 1432, 69, "zone"); + if (duration == null) dart.nullFailed(I[73], 1433, 14, "duration"); + if (callback == null) dart.nullFailed(I[73], 1433, 29, "callback"); + if (async._rootZone != zone) { + callback = zone.bindUnaryCallback(dart.void, async.Timer, callback); + } + return async.Timer._createPeriodicTimer(duration, callback); +}; +async._rootPrint = function _rootPrint(self, parent, zone, line) { + if (self == null) dart.nullFailed(I[73], 1440, 22, "self"); + if (parent == null) dart.nullFailed(I[73], 1440, 41, "parent"); + if (zone == null) dart.nullFailed(I[73], 1440, 54, "zone"); + if (line == null) dart.nullFailed(I[73], 1440, 67, "line"); + _internal.printToConsole(line); +}; +async._printToZone = function _printToZone(line) { + if (line == null) dart.nullFailed(I[73], 1444, 26, "line"); + async.Zone.current.print(line); +}; +async._rootFork = function _rootFork(self, parent, zone, specification, zoneValues) { + if (zone == null) dart.nullFailed(I[73], 1448, 55, "zone"); + if (!async._Zone.is(zone)) { + dart.throw(new core.ArgumentError.value(zone, "zone", "Can only fork a platform zone")); + } + _internal.printToZone = C[72] || CT.C72; + if (specification == null) { + specification = C[73] || CT.C73; + } else if (!async._ZoneSpecification.is(specification)) { + specification = async.ZoneSpecification.from(specification); + } + let valueMap = null; + if (zoneValues == null) { + valueMap = zone[_map$3]; + } else { + valueMap = T$.HashMapOfObjectN$ObjectN().from(zoneValues); + } + if (specification == null) dart.throw("unreachable"); + return new async._CustomZone.new(zone, specification, valueMap); +}; +async.runZoned = function runZoned(R, body, opts) { + if (body == null) dart.nullFailed(I[73], 1692, 17, "body"); + let zoneValues = opts && 'zoneValues' in opts ? opts.zoneValues : null; + let zoneSpecification = opts && 'zoneSpecification' in opts ? opts.zoneSpecification : null; + let onError = opts && 'onError' in opts ? opts.onError : null; + _internal.checkNotNullable(dart.fnType(R, []), body, "body"); + if (onError != null) { + if (!T$.ObjectAndStackTraceTovoid().is(onError)) { + if (T$.ObjectTovoid().is(onError)) { + let originalOnError = onError; + onError = dart.fn((error, stack) => { + if (error == null) dart.nullFailed(I[73], 1702, 27, "error"); + if (stack == null) dart.nullFailed(I[73], 1702, 45, "stack"); + return originalOnError(error); + }, T$.ObjectAndStackTraceTovoid()); + } else { + dart.throw(new core.ArgumentError.value(onError, "onError", "Must be Function(Object) or Function(Object, StackTrace)")); + } + } + return R.as(async.runZonedGuarded(R, body, onError, {zoneSpecification: zoneSpecification, zoneValues: zoneValues})); + } + return async._runZoned(R, body, zoneValues, zoneSpecification); +}; +async.runZonedGuarded = function runZonedGuarded(R, body, onError, opts) { + if (body == null) dart.nullFailed(I[73], 1752, 25, "body"); + if (onError == null) dart.nullFailed(I[73], 1752, 38, "onError"); + let zoneValues = opts && 'zoneValues' in opts ? opts.zoneValues : null; + let zoneSpecification = opts && 'zoneSpecification' in opts ? opts.zoneSpecification : null; + _internal.checkNotNullable(dart.fnType(R, []), body, "body"); + _internal.checkNotNullable(T$.ObjectAndStackTraceTovoid(), onError, "onError"); + let parentZone = async.Zone._current; + let errorHandler = dart.fn((self, parent, zone, error, stackTrace) => { + if (self == null) dart.nullFailed(I[73], 1757, 51, "self"); + if (parent == null) dart.nullFailed(I[73], 1757, 70, "parent"); + if (zone == null) dart.nullFailed(I[73], 1758, 12, "zone"); + if (error == null) dart.nullFailed(I[73], 1758, 25, "error"); + if (stackTrace == null) dart.nullFailed(I[73], 1758, 43, "stackTrace"); + try { + parentZone.runBinary(dart.void, core.Object, core.StackTrace, onError, error, stackTrace); + } catch (e$) { + let e = dart.getThrown(e$); + let s = dart.stackTrace(e$); + if (core.Object.is(e)) { + if (core.identical(e, error)) { + parent.handleUncaughtError(zone, error, stackTrace); + } else { + parent.handleUncaughtError(zone, e, s); + } + } else + throw e$; + } + }, T$.ZoneAndZoneDelegateAndZone__Tovoid$2()); + if (zoneSpecification == null) { + zoneSpecification = new async._ZoneSpecification.new({handleUncaughtError: errorHandler}); + } else { + zoneSpecification = async.ZoneSpecification.from(zoneSpecification, {handleUncaughtError: errorHandler}); + } + try { + return async._runZoned(R, body, zoneValues, zoneSpecification); + } catch (e) { + let error = dart.getThrown(e); + let stackTrace = dart.stackTrace(e); + if (core.Object.is(error)) { + onError(error, stackTrace); + } else + throw e; + } + return null; +}; +async._runZoned = function _runZoned(R, body, zoneValues, specification) { + if (body == null) dart.nullFailed(I[73], 1785, 18, "body"); + return async.Zone.current.fork({specification: specification, zoneValues: zoneValues}).run(R, body); +}; +dart.defineLazy(async, { + /*async._nextCallback*/get _nextCallback() { + return null; + }, + set _nextCallback(_) {}, + /*async._lastCallback*/get _lastCallback() { + return null; + }, + set _lastCallback(_) {}, + /*async._lastPriorityCallback*/get _lastPriorityCallback() { + return null; + }, + set _lastPriorityCallback(_) {}, + /*async._isInCallbackLoop*/get _isInCallbackLoop() { + return false; + }, + set _isInCallbackLoop(_) {}, + /*async._rootZone*/get _rootZone() { + return C[44] || CT.C44; + } +}, false); +var _map$4 = dart.privateName(collection, "_HashSet._map"); +var _modifications$2 = dart.privateName(collection, "_HashSet._modifications"); +var _keyMap$ = dart.privateName(collection, "_keyMap"); +var _map$5 = dart.privateName(collection, "_map"); +var _modifications$3 = dart.privateName(collection, "_modifications"); +var _newSet = dart.privateName(collection, "_newSet"); +var _newSimilarSet = dart.privateName(collection, "_newSimilarSet"); +const _is_SetMixin_default = Symbol('_is_SetMixin_default'); +collection.SetMixin$ = dart.generic(E => { + var IterableOfE = () => (IterableOfE = dart.constFn(core.Iterable$(E)))(); + var FollowedByIterableOfE = () => (FollowedByIterableOfE = dart.constFn(_internal.FollowedByIterable$(E)))(); + var SetOfE = () => (SetOfE = dart.constFn(core.Set$(E)))(); + var ListOfE = () => (ListOfE = dart.constFn(core.List$(E)))(); + var WhereIterableOfE = () => (WhereIterableOfE = dart.constFn(_internal.WhereIterable$(E)))(); + var EAndEToE = () => (EAndEToE = dart.constFn(dart.fnType(E, [E, E])))(); + var TakeIterableOfE = () => (TakeIterableOfE = dart.constFn(_internal.TakeIterable$(E)))(); + var TakeWhileIterableOfE = () => (TakeWhileIterableOfE = dart.constFn(_internal.TakeWhileIterable$(E)))(); + var SkipIterableOfE = () => (SkipIterableOfE = dart.constFn(_internal.SkipIterable$(E)))(); + var SkipWhileIterableOfE = () => (SkipWhileIterableOfE = dart.constFn(_internal.SkipWhileIterable$(E)))(); + var VoidToE = () => (VoidToE = dart.constFn(dart.fnType(E, [])))(); + var VoidToNE = () => (VoidToNE = dart.constFn(dart.nullable(VoidToE())))(); + var ETodynamic = () => (ETodynamic = dart.constFn(dart.fnType(dart.dynamic, [E])))(); + class SetMixin extends core.Object { + [Symbol.iterator]() { + return new dart.JsIterator(this[$iterator]); + } + get isEmpty() { + return this.length === 0; + } + get isNotEmpty() { + return this.length !== 0; + } + cast(R) { + return core.Set.castFrom(E, R, this); + } + followedBy(other) { + IterableOfE().as(other); + if (other == null) dart.nullFailed(I[75], 47, 38, "other"); + return FollowedByIterableOfE().firstEfficient(this, other); + } + whereType(T) { + return new (_internal.WhereTypeIterable$(T)).new(this); + } + clear() { + this.removeAll(this.toList()); + } + addAll(elements) { + IterableOfE().as(elements); + if (elements == null) dart.nullFailed(I[75], 56, 27, "elements"); + for (let element of elements) + this.add(element); + } + removeAll(elements) { + if (elements == null) dart.nullFailed(I[75], 60, 36, "elements"); + for (let element of elements) + this.remove(element); + } + retainAll(elements) { + if (elements == null) dart.nullFailed(I[75], 64, 36, "elements"); + let toRemove = this.toSet(); + for (let o of elements) { + toRemove.remove(o); + } + this.removeAll(toRemove); + } + removeWhere(test) { + if (test == null) dart.nullFailed(I[75], 74, 25, "test"); + let toRemove = T$.JSArrayOfObjectN().of([]); + for (let element of this) { + if (dart.test(test(element))) toRemove[$add](element); + } + this.removeAll(toRemove); + } + retainWhere(test) { + if (test == null) dart.nullFailed(I[75], 82, 25, "test"); + let toRemove = T$.JSArrayOfObjectN().of([]); + for (let element of this) { + if (!dart.test(test(element))) toRemove[$add](element); + } + this.removeAll(toRemove); + } + containsAll(other) { + if (other == null) dart.nullFailed(I[75], 90, 38, "other"); + for (let o of other) { + if (!dart.test(this.contains(o))) return false; + } + return true; + } + union(other) { + let t151; + SetOfE().as(other); + if (other == null) dart.nullFailed(I[75], 97, 23, "other"); + t151 = this.toSet(); + return (() => { + t151.addAll(other); + return t151; + })(); + } + intersection(other) { + if (other == null) dart.nullFailed(I[75], 101, 36, "other"); + let result = this.toSet(); + for (let element of this) { + if (!dart.test(other.contains(element))) result.remove(element); + } + return result; + } + difference(other) { + if (other == null) dart.nullFailed(I[75], 109, 34, "other"); + let result = this.toSet(); + for (let element of this) { + if (dart.test(other.contains(element))) result.remove(element); + } + return result; + } + toList(opts) { + let growable = opts && 'growable' in opts ? opts.growable : true; + if (growable == null) dart.nullFailed(I[75], 117, 24, "growable"); + return ListOfE().of(this, {growable: growable}); + } + map(T, f) { + if (f == null) dart.nullFailed(I[75], 120, 24, "f"); + return new (_internal.EfficientLengthMappedIterable$(E, T)).new(this, f); + } + get single() { + if (dart.notNull(this.length) > 1) dart.throw(_internal.IterableElementError.tooMany()); + let it = this.iterator; + if (!dart.test(it.moveNext())) dart.throw(_internal.IterableElementError.noElement()); + let result = it.current; + return result; + } + toString() { + return collection.IterableBase.iterableToFullString(this, "{", "}"); + } + where(f) { + if (f == null) dart.nullFailed(I[75], 136, 26, "f"); + return new (WhereIterableOfE()).new(this, f); + } + expand(T, f) { + if (f == null) dart.nullFailed(I[75], 138, 37, "f"); + return new (_internal.ExpandIterable$(E, T)).new(this, f); + } + forEach(f) { + if (f == null) dart.nullFailed(I[75], 141, 21, "f"); + for (let element of this) + f(element); + } + reduce(combine) { + EAndEToE().as(combine); + if (combine == null) dart.nullFailed(I[75], 145, 14, "combine"); + let iterator = this.iterator; + if (!dart.test(iterator.moveNext())) { + dart.throw(_internal.IterableElementError.noElement()); + } + let value = iterator.current; + while (dart.test(iterator.moveNext())) { + value = combine(value, iterator.current); + } + return value; + } + fold(T, initialValue, combine) { + if (combine == null) dart.nullFailed(I[75], 157, 31, "combine"); + let value = initialValue; + for (let element of this) + value = combine(value, element); + return value; + } + every(f) { + if (f == null) dart.nullFailed(I[75], 163, 19, "f"); + for (let element of this) { + if (!dart.test(f(element))) return false; + } + return true; + } + join(separator = "") { + if (separator == null) dart.nullFailed(I[75], 170, 23, "separator"); + let iterator = this.iterator; + if (!dart.test(iterator.moveNext())) return ""; + let buffer = new core.StringBuffer.new(); + if (separator == null || separator === "") { + do { + buffer.write(iterator.current); + } while (dart.test(iterator.moveNext())); + } else { + buffer.write(iterator.current); + while (dart.test(iterator.moveNext())) { + buffer.write(separator); + buffer.write(iterator.current); + } + } + return buffer.toString(); + } + any(test) { + if (test == null) dart.nullFailed(I[75], 188, 17, "test"); + for (let element of this) { + if (dart.test(test(element))) return true; + } + return false; + } + take(n) { + if (n == null) dart.nullFailed(I[75], 195, 24, "n"); + return TakeIterableOfE().new(this, n); + } + takeWhile(test) { + if (test == null) dart.nullFailed(I[75], 199, 30, "test"); + return new (TakeWhileIterableOfE()).new(this, test); + } + skip(n) { + if (n == null) dart.nullFailed(I[75], 203, 24, "n"); + return SkipIterableOfE().new(this, n); + } + skipWhile(test) { + if (test == null) dart.nullFailed(I[75], 207, 30, "test"); + return new (SkipWhileIterableOfE()).new(this, test); + } + get first() { + let it = this.iterator; + if (!dart.test(it.moveNext())) { + dart.throw(_internal.IterableElementError.noElement()); + } + return it.current; + } + get last() { + let it = this.iterator; + if (!dart.test(it.moveNext())) { + dart.throw(_internal.IterableElementError.noElement()); + } + let result = null; + do { + result = it.current; + } while (dart.test(it.moveNext())); + return result; + } + firstWhere(test, opts) { + if (test == null) dart.nullFailed(I[75], 231, 21, "test"); + let orElse = opts && 'orElse' in opts ? opts.orElse : null; + VoidToNE().as(orElse); + for (let element of this) { + if (dart.test(test(element))) return element; + } + if (orElse != null) return orElse(); + dart.throw(_internal.IterableElementError.noElement()); + } + lastWhere(test, opts) { + if (test == null) dart.nullFailed(I[75], 239, 20, "test"); + let orElse = opts && 'orElse' in opts ? opts.orElse : null; + VoidToNE().as(orElse); + let result = null; + let result$35isSet = false; + function result$35get() { + return result$35isSet ? result : dart.throw(new _internal.LateError.localNI("result")); + } + dart.fn(result$35get, VoidToE()); + function result$35set(t154) { + result$35isSet = true; + return result = t154; + } + dart.fn(result$35set, ETodynamic()); + let foundMatching = false; + for (let element of this) { + if (dart.test(test(element))) { + result$35set(element); + foundMatching = true; + } + } + if (foundMatching) return result$35get(); + if (orElse != null) return orElse(); + dart.throw(_internal.IterableElementError.noElement()); + } + singleWhere(test, opts) { + if (test == null) dart.nullFailed(I[75], 253, 22, "test"); + let orElse = opts && 'orElse' in opts ? opts.orElse : null; + VoidToNE().as(orElse); + let result = null; + let result$35isSet = false; + function result$35get() { + return result$35isSet ? result : dart.throw(new _internal.LateError.localNI("result")); + } + dart.fn(result$35get, VoidToE()); + function result$35set(t159) { + result$35isSet = true; + return result = t159; + } + dart.fn(result$35set, ETodynamic()); + let foundMatching = false; + for (let element of this) { + if (dart.test(test(element))) { + if (foundMatching) { + dart.throw(_internal.IterableElementError.tooMany()); + } + result$35set(element); + foundMatching = true; + } + } + if (foundMatching) return result$35get(); + if (orElse != null) return orElse(); + dart.throw(_internal.IterableElementError.noElement()); + } + elementAt(index) { + if (index == null) dart.nullFailed(I[75], 270, 19, "index"); + _internal.checkNotNullable(core.int, index, "index"); + core.RangeError.checkNotNegative(index, "index"); + let elementIndex = 0; + for (let element of this) { + if (index === elementIndex) return element; + elementIndex = elementIndex + 1; + } + dart.throw(new core.IndexError.new(index, this, "index", null, elementIndex)); + } + } + (SetMixin.new = function() { + ; + }).prototype = SetMixin.prototype; + dart.addTypeTests(SetMixin); + SetMixin.prototype[_is_SetMixin_default] = true; + dart.addTypeCaches(SetMixin); + SetMixin[dart.implements] = () => [core.Set$(E)]; + dart.setMethodSignature(SetMixin, () => ({ + __proto__: dart.getMethods(SetMixin.__proto__), + cast: dart.gFnType(R => [core.Set$(R), []], R => [dart.nullable(core.Object)]), + [$cast]: dart.gFnType(R => [core.Set$(R), []], R => [dart.nullable(core.Object)]), + followedBy: dart.fnType(core.Iterable$(E), [dart.nullable(core.Object)]), + [$followedBy]: dart.fnType(core.Iterable$(E), [dart.nullable(core.Object)]), + whereType: dart.gFnType(T => [core.Iterable$(T), []], T => [dart.nullable(core.Object)]), + [$whereType]: dart.gFnType(T => [core.Iterable$(T), []], T => [dart.nullable(core.Object)]), + clear: dart.fnType(dart.void, []), + addAll: dart.fnType(dart.void, [dart.nullable(core.Object)]), + removeAll: dart.fnType(dart.void, [core.Iterable$(dart.nullable(core.Object))]), + retainAll: dart.fnType(dart.void, [core.Iterable$(dart.nullable(core.Object))]), + removeWhere: dart.fnType(dart.void, [dart.fnType(core.bool, [E])]), + retainWhere: dart.fnType(dart.void, [dart.fnType(core.bool, [E])]), + containsAll: dart.fnType(core.bool, [core.Iterable$(dart.nullable(core.Object))]), + union: dart.fnType(core.Set$(E), [dart.nullable(core.Object)]), + intersection: dart.fnType(core.Set$(E), [core.Set$(dart.nullable(core.Object))]), + difference: dart.fnType(core.Set$(E), [core.Set$(dart.nullable(core.Object))]), + toList: dart.fnType(core.List$(E), [], {growable: core.bool}, {}), + [$toList]: dart.fnType(core.List$(E), [], {growable: core.bool}, {}), + map: dart.gFnType(T => [core.Iterable$(T), [dart.fnType(T, [E])]], T => [dart.nullable(core.Object)]), + [$map]: dart.gFnType(T => [core.Iterable$(T), [dart.fnType(T, [E])]], T => [dart.nullable(core.Object)]), + where: dart.fnType(core.Iterable$(E), [dart.fnType(core.bool, [E])]), + [$where]: dart.fnType(core.Iterable$(E), [dart.fnType(core.bool, [E])]), + expand: dart.gFnType(T => [core.Iterable$(T), [dart.fnType(core.Iterable$(T), [E])]], T => [dart.nullable(core.Object)]), + [$expand]: dart.gFnType(T => [core.Iterable$(T), [dart.fnType(core.Iterable$(T), [E])]], T => [dart.nullable(core.Object)]), + forEach: dart.fnType(dart.void, [dart.fnType(dart.void, [E])]), + [$forEach]: dart.fnType(dart.void, [dart.fnType(dart.void, [E])]), + reduce: dart.fnType(E, [dart.nullable(core.Object)]), + [$reduce]: dart.fnType(E, [dart.nullable(core.Object)]), + fold: dart.gFnType(T => [T, [T, dart.fnType(T, [T, E])]], T => [dart.nullable(core.Object)]), + [$fold]: dart.gFnType(T => [T, [T, dart.fnType(T, [T, E])]], T => [dart.nullable(core.Object)]), + every: dart.fnType(core.bool, [dart.fnType(core.bool, [E])]), + [$every]: dart.fnType(core.bool, [dart.fnType(core.bool, [E])]), + join: dart.fnType(core.String, [], [core.String]), + [$join]: dart.fnType(core.String, [], [core.String]), + any: dart.fnType(core.bool, [dart.fnType(core.bool, [E])]), + [$any]: dart.fnType(core.bool, [dart.fnType(core.bool, [E])]), + take: dart.fnType(core.Iterable$(E), [core.int]), + [$take]: dart.fnType(core.Iterable$(E), [core.int]), + takeWhile: dart.fnType(core.Iterable$(E), [dart.fnType(core.bool, [E])]), + [$takeWhile]: dart.fnType(core.Iterable$(E), [dart.fnType(core.bool, [E])]), + skip: dart.fnType(core.Iterable$(E), [core.int]), + [$skip]: dart.fnType(core.Iterable$(E), [core.int]), + skipWhile: dart.fnType(core.Iterable$(E), [dart.fnType(core.bool, [E])]), + [$skipWhile]: dart.fnType(core.Iterable$(E), [dart.fnType(core.bool, [E])]), + firstWhere: dart.fnType(E, [dart.fnType(core.bool, [E])], {orElse: dart.nullable(core.Object)}, {}), + [$firstWhere]: dart.fnType(E, [dart.fnType(core.bool, [E])], {orElse: dart.nullable(core.Object)}, {}), + lastWhere: dart.fnType(E, [dart.fnType(core.bool, [E])], {orElse: dart.nullable(core.Object)}, {}), + [$lastWhere]: dart.fnType(E, [dart.fnType(core.bool, [E])], {orElse: dart.nullable(core.Object)}, {}), + singleWhere: dart.fnType(E, [dart.fnType(core.bool, [E])], {orElse: dart.nullable(core.Object)}, {}), + [$singleWhere]: dart.fnType(E, [dart.fnType(core.bool, [E])], {orElse: dart.nullable(core.Object)}, {}), + elementAt: dart.fnType(E, [core.int]), + [$elementAt]: dart.fnType(E, [core.int]) + })); + dart.setGetterSignature(SetMixin, () => ({ + __proto__: dart.getGetters(SetMixin.__proto__), + isEmpty: core.bool, + [$isEmpty]: core.bool, + isNotEmpty: core.bool, + [$isNotEmpty]: core.bool, + single: E, + [$single]: E, + first: E, + [$first]: E, + last: E, + [$last]: E + })); + dart.setLibraryUri(SetMixin, I[24]); + dart.defineExtensionMethods(SetMixin, [ + 'cast', + 'followedBy', + 'whereType', + 'toList', + 'map', + 'toString', + 'where', + 'expand', + 'forEach', + 'reduce', + 'fold', + 'every', + 'join', + 'any', + 'take', + 'takeWhile', + 'skip', + 'skipWhile', + 'firstWhere', + 'lastWhere', + 'singleWhere', + 'elementAt' + ]); + dart.defineExtensionAccessors(SetMixin, [ + 'isEmpty', + 'isNotEmpty', + 'single', + 'first', + 'last' + ]); + return SetMixin; +}); +collection.SetMixin = collection.SetMixin$(); +dart.addTypeTests(collection.SetMixin, _is_SetMixin_default); +const _is__SetBase_default = Symbol('_is__SetBase_default'); +collection._SetBase$ = dart.generic(E => { + const Object_SetMixin$36 = class Object_SetMixin extends core.Object {}; + (Object_SetMixin$36.new = function() { + }).prototype = Object_SetMixin$36.prototype; + dart.applyMixin(Object_SetMixin$36, collection.SetMixin$(E)); + class _SetBase extends Object_SetMixin$36 { + cast(R) { + return core.Set.castFrom(E, R, this, {newSet: dart.bind(this, _newSimilarSet)}); + } + difference(other) { + if (other == null) dart.nullFailed(I[75], 323, 34, "other"); + let result = this[_newSet](); + for (let element of this) { + if (!dart.test(other.contains(element))) result.add(element); + } + return result; + } + intersection(other) { + if (other == null) dart.nullFailed(I[75], 331, 36, "other"); + let result = this[_newSet](); + for (let element of this) { + if (dart.test(other.contains(element))) result.add(element); + } + return result; + } + toSet() { + let t151; + t151 = this[_newSet](); + return (() => { + t151.addAll(this); + return t151; + })(); + } + } + (_SetBase.new = function() { + ; + }).prototype = _SetBase.prototype; + dart.addTypeTests(_SetBase); + _SetBase.prototype[_is__SetBase_default] = true; + dart.addTypeCaches(_SetBase); + dart.setMethodSignature(_SetBase, () => ({ + __proto__: dart.getMethods(_SetBase.__proto__), + cast: dart.gFnType(R => [core.Set$(R), []], R => [dart.nullable(core.Object)]), + [$cast]: dart.gFnType(R => [core.Set$(R), []], R => [dart.nullable(core.Object)]), + toSet: dart.fnType(core.Set$(E), []), + [$toSet]: dart.fnType(core.Set$(E), []) + })); + dart.setLibraryUri(_SetBase, I[24]); + dart.defineExtensionMethods(_SetBase, ['cast', 'toSet']); + return _SetBase; +}); +collection._SetBase = collection._SetBase$(); +dart.addTypeTests(collection._SetBase, _is__SetBase_default); +const _is__InternalSet_default = Symbol('_is__InternalSet_default'); +collection._InternalSet$ = dart.generic(E => { + var DartIteratorOfE = () => (DartIteratorOfE = dart.constFn(_js_helper.DartIterator$(E)))(); + class _InternalSet extends collection._SetBase$(E) { + get length() { + return this[_map$5].size; + } + get isEmpty() { + return this[_map$5].size == 0; + } + get isNotEmpty() { + return this[_map$5].size != 0; + } + get iterator() { + return new (DartIteratorOfE()).new(this[Symbol.iterator]()); + } + [Symbol.iterator]() { + let self = this; + let iterator = self[_map$5].values(); + let modifications = self[_modifications$3]; + return { + next() { + if (modifications != self[_modifications$3]) { + throw new core.ConcurrentModificationError.new(self); + } + return iterator.next(); + } + }; + } + } + (_InternalSet.new = function() { + _InternalSet.__proto__.new.call(this); + ; + }).prototype = _InternalSet.prototype; + dart.addTypeTests(_InternalSet); + _InternalSet.prototype[_is__InternalSet_default] = true; + dart.addTypeCaches(_InternalSet); + dart.setMethodSignature(_InternalSet, () => ({ + __proto__: dart.getMethods(_InternalSet.__proto__), + [Symbol.iterator]: dart.fnType(dart.dynamic, []) + })); + dart.setGetterSignature(_InternalSet, () => ({ + __proto__: dart.getGetters(_InternalSet.__proto__), + length: core.int, + [$length]: core.int, + iterator: core.Iterator$(E), + [$iterator]: core.Iterator$(E) + })); + dart.setLibraryUri(_InternalSet, I[24]); + dart.defineExtensionAccessors(_InternalSet, ['length', 'isEmpty', 'isNotEmpty', 'iterator']); + return _InternalSet; +}); +collection._InternalSet = collection._InternalSet$(); +dart.addTypeTests(collection._InternalSet, _is__InternalSet_default); +const _is__HashSet_default = Symbol('_is__HashSet_default'); +collection._HashSet$ = dart.generic(E => { + var _HashSetOfE = () => (_HashSetOfE = dart.constFn(collection._HashSet$(E)))(); + var IterableOfE = () => (IterableOfE = dart.constFn(core.Iterable$(E)))(); + class _HashSet extends collection._InternalSet$(E) { + get [_map$5]() { + return this[_map$4]; + } + set [_map$5](value) { + super[_map$5] = value; + } + get [_modifications$3]() { + return this[_modifications$2]; + } + set [_modifications$3](value) { + this[_modifications$2] = value; + } + [_newSet]() { + return new (_HashSetOfE()).new(); + } + [_newSimilarSet](R) { + return new (collection._HashSet$(R)).new(); + } + contains(key) { + if (key == null) { + key = null; + } else if (key[$_equals] !== dart.identityEquals) { + let k = key; + let buckets = this[_keyMap$].get(dart.hashCode(k) & 0x3ffffff); + if (buckets != null) { + for (let i = 0, n = buckets.length; i < n; i = i + 1) { + k = buckets[i]; + if (dart.equals(k, key)) return true; + } + } + return false; + } + return this[_map$5].has(key); + } + lookup(key) { + if (key == null) return null; + if (key[$_equals] !== dart.identityEquals) { + let k = key; + let buckets = this[_keyMap$].get(dart.hashCode(k) & 0x3ffffff); + if (buckets != null) { + for (let i = 0, n = buckets.length; i < n; i = i + 1) { + k = buckets[i]; + if (dart.equals(k, key)) return k; + } + } + return null; + } + return this[_map$5].has(key) ? key : null; + } + add(key) { + E.as(key); + let map = this[_map$5]; + if (key == null) { + if (dart.test(map.has(null))) return false; + key = null; + } else if (key[$_equals] !== dart.identityEquals) { + let keyMap = this[_keyMap$]; + let k = key; + let hash = dart.hashCode(k) & 0x3ffffff; + let buckets = keyMap.get(hash); + if (buckets == null) { + keyMap.set(hash, [key]); + } else { + for (let i = 0, n = buckets.length; i < n; i = i + 1) { + k = buckets[i]; + if (dart.equals(k, key)) return false; + } + buckets.push(key); + } + } else if (dart.test(map.has(key))) { + return false; + } + map.add(key); + this[_modifications$3] = this[_modifications$3] + 1 & 67108863; + return true; + } + addAll(objects) { + IterableOfE().as(objects); + if (objects == null) dart.nullFailed(I[74], 247, 27, "objects"); + let map = this[_map$5]; + let length = map.size; + for (let key of objects) { + if (key == null) { + key = null; + } else if (key[$_equals] !== dart.identityEquals) { + key = _js_helper.putLinkedMapKey(key, this[_keyMap$]); + } + map.add(key); + } + if (length !== map.size) { + this[_modifications$3] = this[_modifications$3] + 1 & 67108863; + } + } + remove(key) { + if (key == null) { + key = null; + } else if (key[$_equals] !== dart.identityEquals) { + let k = key; + let hash = dart.hashCode(k) & 0x3ffffff; + let buckets = this[_keyMap$].get(hash); + if (buckets == null) return false; + for (let i = 0, n = buckets.length;;) { + k = buckets[i]; + if (dart.equals(k, key)) { + key = k; + if (n === 1) { + this[_keyMap$].delete(hash); + } else { + buckets.splice(i, 1); + } + break; + } + if ((i = i + 1) >= n) return false; + } + } + let map = this[_map$5]; + if (map.delete(key)) { + this[_modifications$3] = this[_modifications$3] + 1 & 67108863; + return true; + } + return false; + } + clear() { + let map = this[_map$5]; + if (map.size > 0) { + map.clear(); + this[_keyMap$].clear(); + this[_modifications$3] = this[_modifications$3] + 1 & 67108863; + } + } + } + (_HashSet.new = function() { + this[_map$4] = new Set(); + this[_keyMap$] = new Map(); + this[_modifications$2] = 0; + _HashSet.__proto__.new.call(this); + ; + }).prototype = _HashSet.prototype; + dart.addTypeTests(_HashSet); + _HashSet.prototype[_is__HashSet_default] = true; + dart.addTypeCaches(_HashSet); + _HashSet[dart.implements] = () => [collection.HashSet$(E), collection.LinkedHashSet$(E)]; + dart.setMethodSignature(_HashSet, () => ({ + __proto__: dart.getMethods(_HashSet.__proto__), + [_newSet]: dart.fnType(core.Set$(E), []), + [_newSimilarSet]: dart.gFnType(R => [core.Set$(R), []], R => [dart.nullable(core.Object)]), + contains: dart.fnType(core.bool, [dart.nullable(core.Object)]), + [$contains]: dart.fnType(core.bool, [dart.nullable(core.Object)]), + lookup: dart.fnType(dart.nullable(E), [dart.nullable(core.Object)]), + add: dart.fnType(core.bool, [dart.nullable(core.Object)]), + remove: dart.fnType(core.bool, [dart.nullable(core.Object)]) + })); + dart.setLibraryUri(_HashSet, I[24]); + dart.setFieldSignature(_HashSet, () => ({ + __proto__: dart.getFields(_HashSet.__proto__), + [_map$5]: dart.finalFieldType(dart.dynamic), + [_keyMap$]: dart.finalFieldType(dart.nullable(core.Object)), + [_modifications$3]: dart.fieldType(core.int) + })); + dart.defineExtensionMethods(_HashSet, ['contains']); + return _HashSet; +}); +collection._HashSet = collection._HashSet$(); +dart.addTypeTests(collection._HashSet, _is__HashSet_default); +const _is__ImmutableSet_default = Symbol('_is__ImmutableSet_default'); +collection._ImmutableSet$ = dart.generic(E => { + var IterableOfE = () => (IterableOfE = dart.constFn(core.Iterable$(E)))(); + class _ImmutableSet extends collection._HashSet$(E) { + add(value) { + E.as(value); + return dart.throw(collection._ImmutableSet._unsupported()); + } + addAll(elements) { + IterableOfE().as(elements); + if (elements == null) dart.nullFailed(I[74], 325, 27, "elements"); + return dart.throw(collection._ImmutableSet._unsupported()); + } + clear() { + return dart.throw(collection._ImmutableSet._unsupported()); + } + remove(value) { + return dart.throw(collection._ImmutableSet._unsupported()); + } + static _unsupported() { + return new core.UnsupportedError.new("Cannot modify unmodifiable set"); + } + } + (_ImmutableSet.from = function(entries) { + if (entries == null) dart.nullFailed(I[74], 310, 33, "entries"); + _ImmutableSet.__proto__.new.call(this); + let map = this[_map$5]; + for (let key of entries) { + if (key == null) { + key = null; + } else if (key[$_equals] !== dart.identityEquals) { + key = _js_helper.putLinkedMapKey(key, this[_keyMap$]); + } + map.add(key); + } + }).prototype = _ImmutableSet.prototype; + dart.addTypeTests(_ImmutableSet); + _ImmutableSet.prototype[_is__ImmutableSet_default] = true; + dart.addTypeCaches(_ImmutableSet); + dart.setLibraryUri(_ImmutableSet, I[24]); + return _ImmutableSet; +}); +collection._ImmutableSet = collection._ImmutableSet$(); +dart.addTypeTests(collection._ImmutableSet, _is__ImmutableSet_default); +var _map$6 = dart.privateName(collection, "_IdentityHashSet._map"); +var _modifications$4 = dart.privateName(collection, "_IdentityHashSet._modifications"); +const _is__IdentityHashSet_default = Symbol('_is__IdentityHashSet_default'); +collection._IdentityHashSet$ = dart.generic(E => { + var _IdentityHashSetOfE = () => (_IdentityHashSetOfE = dart.constFn(collection._IdentityHashSet$(E)))(); + var IterableOfE = () => (IterableOfE = dart.constFn(core.Iterable$(E)))(); + class _IdentityHashSet extends collection._InternalSet$(E) { + get [_map$5]() { + return this[_map$6]; + } + set [_map$5](value) { + super[_map$5] = value; + } + get [_modifications$3]() { + return this[_modifications$4]; + } + set [_modifications$3](value) { + this[_modifications$4] = value; + } + [_newSet]() { + return new (_IdentityHashSetOfE()).new(); + } + [_newSimilarSet](R) { + return new (collection._IdentityHashSet$(R)).new(); + } + contains(element) { + return this[_map$5].has(element); + } + lookup(element) { + return E.is(element) && this[_map$5].has(element) ? element : null; + } + add(element) { + E.as(element); + let map = this[_map$5]; + if (map.has(element)) return false; + map.add(element); + this[_modifications$3] = this[_modifications$3] + 1 & 67108863; + return true; + } + addAll(objects) { + IterableOfE().as(objects); + if (objects == null) dart.nullFailed(I[74], 366, 27, "objects"); + let map = this[_map$5]; + let length = map.size; + for (let key of objects) { + map.add(key); + } + if (length !== map.size) { + this[_modifications$3] = this[_modifications$3] + 1 & 67108863; + } + } + remove(element) { + if (this[_map$5].delete(element)) { + this[_modifications$3] = this[_modifications$3] + 1 & 67108863; + return true; + } + return false; + } + clear() { + let map = this[_map$5]; + if (map.size > 0) { + map.clear(); + this[_modifications$3] = this[_modifications$3] + 1 & 67108863; + } + } + } + (_IdentityHashSet.new = function() { + this[_map$6] = new Set(); + this[_modifications$4] = 0; + _IdentityHashSet.__proto__.new.call(this); + ; + }).prototype = _IdentityHashSet.prototype; + dart.addTypeTests(_IdentityHashSet); + _IdentityHashSet.prototype[_is__IdentityHashSet_default] = true; + dart.addTypeCaches(_IdentityHashSet); + _IdentityHashSet[dart.implements] = () => [collection.HashSet$(E), collection.LinkedHashSet$(E)]; + dart.setMethodSignature(_IdentityHashSet, () => ({ + __proto__: dart.getMethods(_IdentityHashSet.__proto__), + [_newSet]: dart.fnType(core.Set$(E), []), + [_newSimilarSet]: dart.gFnType(R => [core.Set$(R), []], R => [dart.nullable(core.Object)]), + contains: dart.fnType(core.bool, [dart.nullable(core.Object)]), + [$contains]: dart.fnType(core.bool, [dart.nullable(core.Object)]), + lookup: dart.fnType(dart.nullable(E), [dart.nullable(core.Object)]), + add: dart.fnType(core.bool, [dart.nullable(core.Object)]), + remove: dart.fnType(core.bool, [dart.nullable(core.Object)]) + })); + dart.setLibraryUri(_IdentityHashSet, I[24]); + dart.setFieldSignature(_IdentityHashSet, () => ({ + __proto__: dart.getFields(_IdentityHashSet.__proto__), + [_map$5]: dart.finalFieldType(dart.dynamic), + [_modifications$3]: dart.fieldType(core.int) + })); + dart.defineExtensionMethods(_IdentityHashSet, ['contains']); + return _IdentityHashSet; +}); +collection._IdentityHashSet = collection._IdentityHashSet$(); +dart.addTypeTests(collection._IdentityHashSet, _is__IdentityHashSet_default); +var _validKey$0 = dart.privateName(collection, "_validKey"); +var _equals$0 = dart.privateName(collection, "_equals"); +var _hashCode$0 = dart.privateName(collection, "_hashCode"); +var _modifications$5 = dart.privateName(collection, "_CustomHashSet._modifications"); +var _map$7 = dart.privateName(collection, "_CustomHashSet._map"); +const _is__CustomHashSet_default = Symbol('_is__CustomHashSet_default'); +collection._CustomHashSet$ = dart.generic(E => { + var _CustomHashSetOfE = () => (_CustomHashSetOfE = dart.constFn(collection._CustomHashSet$(E)))(); + var IterableOfE = () => (IterableOfE = dart.constFn(core.Iterable$(E)))(); + class _CustomHashSet extends collection._InternalSet$(E) { + get [_modifications$3]() { + return this[_modifications$5]; + } + set [_modifications$3](value) { + this[_modifications$5] = value; + } + get [_map$5]() { + return this[_map$7]; + } + set [_map$5](value) { + super[_map$5] = value; + } + [_newSet]() { + return new (_CustomHashSetOfE()).new(this[_equals$0], this[_hashCode$0]); + } + [_newSimilarSet](R) { + return new (collection._HashSet$(R)).new(); + } + contains(key) { + let t161; + if (E.is(key)) { + let buckets = this[_keyMap$].get((t161 = key, this[_hashCode$0](t161)) & 0x3ffffff); + if (buckets != null) { + let equals = this[_equals$0]; + for (let i = 0, n = buckets.length; i < n; i = i + 1) { + let k = buckets[i]; + if (dart.test(equals(k, key))) return true; + } + } + } + return false; + } + lookup(key) { + let t161; + if (E.is(key)) { + let buckets = this[_keyMap$].get((t161 = key, this[_hashCode$0](t161)) & 0x3ffffff); + if (buckets != null) { + let equals = this[_equals$0]; + for (let i = 0, n = buckets.length; i < n; i = i + 1) { + let k = buckets[i]; + if (dart.test(equals(k, key))) return k; + } + } + } + return null; + } + add(key) { + let t161; + E.as(key); + let keyMap = this[_keyMap$]; + let hash = (t161 = key, this[_hashCode$0](t161)) & 0x3ffffff; + let buckets = keyMap.get(hash); + if (buckets == null) { + keyMap.set(hash, [key]); + } else { + let equals = this[_equals$0]; + for (let i = 0, n = buckets.length; i < n; i = i + 1) { + let k = buckets[i]; + if (dart.test(equals(k, key))) return false; + } + buckets.push(key); + } + this[_map$5].add(key); + this[_modifications$3] = this[_modifications$3] + 1 & 67108863; + return true; + } + addAll(objects) { + IterableOfE().as(objects); + if (objects == null) dart.nullFailed(I[74], 500, 27, "objects"); + for (let element of objects) + this.add(element); + } + remove(key) { + let t161; + if (E.is(key)) { + let hash = (t161 = key, this[_hashCode$0](t161)) & 0x3ffffff; + let keyMap = this[_keyMap$]; + let buckets = keyMap.get(hash); + if (buckets == null) return false; + let equals = this[_equals$0]; + for (let i = 0, n = buckets.length; i < n; i = i + 1) { + let k = buckets[i]; + if (dart.test(equals(k, key))) { + if (n === 1) { + keyMap.delete(hash); + } else { + buckets.splice(i, 1); + } + this[_map$5].delete(k); + this[_modifications$3] = this[_modifications$3] + 1 & 67108863; + return true; + } + } + } + return false; + } + clear() { + let map = this[_map$5]; + if (map.size > 0) { + map.clear(); + this[_keyMap$].clear(); + this[_modifications$3] = this[_modifications$3] + 1 & 67108863; + } + } + } + (_CustomHashSet.new = function(_equals, _hashCode) { + if (_equals == null) dart.nullFailed(I[74], 448, 23, "_equals"); + if (_hashCode == null) dart.nullFailed(I[74], 448, 37, "_hashCode"); + this[_modifications$5] = 0; + this[_map$7] = new Set(); + this[_keyMap$] = new Map(); + this[_equals$0] = _equals; + this[_hashCode$0] = _hashCode; + _CustomHashSet.__proto__.new.call(this); + ; + }).prototype = _CustomHashSet.prototype; + dart.addTypeTests(_CustomHashSet); + _CustomHashSet.prototype[_is__CustomHashSet_default] = true; + dart.addTypeCaches(_CustomHashSet); + _CustomHashSet[dart.implements] = () => [collection.HashSet$(E), collection.LinkedHashSet$(E)]; + dart.setMethodSignature(_CustomHashSet, () => ({ + __proto__: dart.getMethods(_CustomHashSet.__proto__), + [_newSet]: dart.fnType(core.Set$(E), []), + [_newSimilarSet]: dart.gFnType(R => [core.Set$(R), []], R => [dart.nullable(core.Object)]), + contains: dart.fnType(core.bool, [dart.nullable(core.Object)]), + [$contains]: dart.fnType(core.bool, [dart.nullable(core.Object)]), + lookup: dart.fnType(dart.nullable(E), [dart.nullable(core.Object)]), + add: dart.fnType(core.bool, [dart.nullable(core.Object)]), + remove: dart.fnType(core.bool, [dart.nullable(core.Object)]) + })); + dart.setLibraryUri(_CustomHashSet, I[24]); + dart.setFieldSignature(_CustomHashSet, () => ({ + __proto__: dart.getFields(_CustomHashSet.__proto__), + [_equals$0]: dart.fieldType(dart.fnType(core.bool, [E, E])), + [_hashCode$0]: dart.fieldType(dart.fnType(core.int, [E])), + [_modifications$3]: dart.fieldType(core.int), + [_map$5]: dart.finalFieldType(dart.dynamic), + [_keyMap$]: dart.finalFieldType(dart.nullable(core.Object)) + })); + dart.defineExtensionMethods(_CustomHashSet, ['contains']); + return _CustomHashSet; +}); +collection._CustomHashSet = collection._CustomHashSet$(); +dart.addTypeTests(collection._CustomHashSet, _is__CustomHashSet_default); +const _is__CustomKeyHashSet_default = Symbol('_is__CustomKeyHashSet_default'); +collection._CustomKeyHashSet$ = dart.generic(E => { + var _CustomKeyHashSetOfE = () => (_CustomKeyHashSetOfE = dart.constFn(collection._CustomKeyHashSet$(E)))(); + class _CustomKeyHashSet extends collection._CustomHashSet$(E) { + [_newSet]() { + return new (_CustomKeyHashSetOfE()).new(this[_equals$0], this[_hashCode$0], this[_validKey$0]); + } + [_newSimilarSet](R) { + return new (collection._HashSet$(R)).new(); + } + contains(element) { + let t161; + if (!dart.test((t161 = element, this[_validKey$0](t161)))) return false; + return super.contains(element); + } + lookup(element) { + let t161; + if (!dart.test((t161 = element, this[_validKey$0](t161)))) return null; + return super.lookup(element); + } + remove(element) { + let t161; + if (!dart.test((t161 = element, this[_validKey$0](t161)))) return false; + return super.remove(element); + } + } + (_CustomKeyHashSet.new = function(equals, hashCode, _validKey) { + if (equals == null) dart.nullFailed(I[74], 396, 34, "equals"); + if (hashCode == null) dart.nullFailed(I[74], 396, 53, "hashCode"); + if (_validKey == null) dart.nullFailed(I[74], 396, 68, "_validKey"); + this[_validKey$0] = _validKey; + _CustomKeyHashSet.__proto__.new.call(this, equals, hashCode); + ; + }).prototype = _CustomKeyHashSet.prototype; + dart.addTypeTests(_CustomKeyHashSet); + _CustomKeyHashSet.prototype[_is__CustomKeyHashSet_default] = true; + dart.addTypeCaches(_CustomKeyHashSet); + dart.setMethodSignature(_CustomKeyHashSet, () => ({ + __proto__: dart.getMethods(_CustomKeyHashSet.__proto__), + [_newSimilarSet]: dart.gFnType(R => [core.Set$(R), []], R => [dart.nullable(core.Object)]) + })); + dart.setLibraryUri(_CustomKeyHashSet, I[24]); + dart.setFieldSignature(_CustomKeyHashSet, () => ({ + __proto__: dart.getFields(_CustomKeyHashSet.__proto__), + [_validKey$0]: dart.fieldType(dart.fnType(core.bool, [dart.nullable(core.Object)])) + })); + dart.defineExtensionMethods(_CustomKeyHashSet, ['contains']); + return _CustomKeyHashSet; +}); +collection._CustomKeyHashSet = collection._CustomKeyHashSet$(); +dart.addTypeTests(collection._CustomKeyHashSet, _is__CustomKeyHashSet_default); +var _source = dart.privateName(collection, "_source"); +const _is_UnmodifiableListView_default = Symbol('_is_UnmodifiableListView_default'); +collection.UnmodifiableListView$ = dart.generic(E => { + class UnmodifiableListView extends _internal.UnmodifiableListBase$(E) { + cast(R) { + return new (collection.UnmodifiableListView$(R)).new(this[_source][$cast](R)); + } + get length() { + return this[_source][$length]; + } + set length(value) { + super.length = value; + } + _get(index) { + if (index == null) dart.nullFailed(I[76], 23, 21, "index"); + return this[_source][$elementAt](index); + } + } + (UnmodifiableListView.new = function(source) { + if (source == null) dart.nullFailed(I[76], 18, 36, "source"); + this[_source] = source; + ; + }).prototype = UnmodifiableListView.prototype; + dart.addTypeTests(UnmodifiableListView); + UnmodifiableListView.prototype[_is_UnmodifiableListView_default] = true; + dart.addTypeCaches(UnmodifiableListView); + dart.setMethodSignature(UnmodifiableListView, () => ({ + __proto__: dart.getMethods(UnmodifiableListView.__proto__), + cast: dart.gFnType(R => [core.List$(R), []], R => [dart.nullable(core.Object)]), + [$cast]: dart.gFnType(R => [core.List$(R), []], R => [dart.nullable(core.Object)]), + _get: dart.fnType(E, [core.int]), + [$_get]: dart.fnType(E, [core.int]) + })); + dart.setGetterSignature(UnmodifiableListView, () => ({ + __proto__: dart.getGetters(UnmodifiableListView.__proto__), + length: core.int, + [$length]: core.int + })); + dart.setLibraryUri(UnmodifiableListView, I[24]); + dart.setFieldSignature(UnmodifiableListView, () => ({ + __proto__: dart.getFields(UnmodifiableListView.__proto__), + [_source]: dart.finalFieldType(core.Iterable$(E)) + })); + dart.defineExtensionMethods(UnmodifiableListView, ['cast', '_get']); + dart.defineExtensionAccessors(UnmodifiableListView, ['length']); + return UnmodifiableListView; +}); +collection.UnmodifiableListView = collection.UnmodifiableListView$(); +dart.addTypeTests(collection.UnmodifiableListView, _is_UnmodifiableListView_default); +const _is_HashMap_default = Symbol('_is_HashMap_default'); +collection.HashMap$ = dart.generic((K, V) => { + class HashMap extends core.Object { + static new(opts) { + let t161, t161$, t161$0; + let equals = opts && 'equals' in opts ? opts.equals : null; + let hashCode = opts && 'hashCode' in opts ? opts.hashCode : null; + let isValidKey = opts && 'isValidKey' in opts ? opts.isValidKey : null; + if (isValidKey == null) { + if (hashCode == null) { + if (equals == null) { + if (dart.wrapType(K) === dart.wrapType(core.String) || dart.wrapType(K) === dart.wrapType(core.int)) { + return new (_js_helper.IdentityMap$(K, V)).new(); + } + return new (_js_helper.LinkedMap$(K, V)).new(); + } + hashCode = C[74] || CT.C74; + } else if ((C[75] || CT.C75) === hashCode && (C[76] || CT.C76) === equals) { + return new (_js_helper.IdentityMap$(K, V)).new(); + } + return new (_js_helper.CustomHashMap$(K, V)).new((t161 = equals, t161 == null ? C[77] || CT.C77 : t161), hashCode); + } + return new (_js_helper.CustomKeyHashMap$(K, V)).new((t161$ = equals, t161$ == null ? C[77] || CT.C77 : t161$), (t161$0 = hashCode, t161$0 == null ? C[74] || CT.C74 : t161$0), isValidKey); + } + static from(other) { + if (other == null) dart.nullFailed(I[77], 101, 46, "other"); + let result = new (_js_helper.LinkedMap$(K, V)).new(); + other[$forEach](dart.fn((k, v) => { + result[$_set](K.as(k), V.as(v)); + }, T$.dynamicAnddynamicTovoid())); + return result; + } + static of(other) { + let t161; + if (other == null) dart.nullFailed(I[77], 110, 32, "other"); + t161 = new (_js_helper.LinkedMap$(K, V)).new(); + return (() => { + t161[$addAll](other); + return t161; + })(); + } + static fromIterable(iterable, opts) { + if (iterable == null) dart.nullFailed(I[77], 123, 41, "iterable"); + let key = opts && 'key' in opts ? opts.key : null; + let value = opts && 'value' in opts ? opts.value : null; + let map = new (_js_helper.LinkedMap$(K, V)).new(); + collection.MapBase._fillMapWithMappedIterable(map, iterable, key, value); + return map; + } + static fromIterables(keys, values) { + if (keys == null) dart.nullFailed(I[77], 139, 45, "keys"); + if (values == null) dart.nullFailed(I[77], 139, 63, "values"); + let map = new (_js_helper.LinkedMap$(K, V)).new(); + collection.MapBase._fillMapWithIterables(map, keys, values); + return map; + } + static fromEntries(entries) { + let t161; + if (entries == null) dart.nullFailed(I[77], 153, 56, "entries"); + t161 = new (_js_helper.LinkedMap$(K, V)).new(); + return (() => { + t161[$addEntries](entries); + return t161; + })(); + } + } + (HashMap[dart.mixinNew] = function() { + }).prototype = HashMap.prototype; + HashMap.prototype[dart.isMap] = true; + dart.addTypeTests(HashMap); + HashMap.prototype[_is_HashMap_default] = true; + dart.addTypeCaches(HashMap); + HashMap[dart.implements] = () => [core.Map$(K, V)]; + dart.setLibraryUri(HashMap, I[24]); + return HashMap; +}); +collection.HashMap = collection.HashMap$(); +dart.addTypeTests(collection.HashMap, _is_HashMap_default); +const _is_HashSet_default = Symbol('_is_HashSet_default'); +collection.HashSet$ = dart.generic(E => { + class HashSet extends core.Object { + static new(opts) { + let t161, t161$, t161$0, t161$1; + let equals = opts && 'equals' in opts ? opts.equals : null; + let hashCode = opts && 'hashCode' in opts ? opts.hashCode : null; + let isValidKey = opts && 'isValidKey' in opts ? opts.isValidKey : null; + if (isValidKey == null) { + if (hashCode == null) { + if (equals == null) { + if (dart.wrapType(E) === dart.wrapType(core.String) || dart.wrapType(E) === dart.wrapType(core.int)) { + return new (collection._IdentityHashSet$(E)).new(); + } + return new (collection._HashSet$(E)).new(); + } + } else if ((C[75] || CT.C75) === hashCode && (C[76] || CT.C76) === equals) { + return new (collection._IdentityHashSet$(E)).new(); + } + return new (collection._CustomHashSet$(E)).new((t161 = equals, t161 == null ? C[77] || CT.C77 : t161), (t161$ = hashCode, t161$ == null ? C[74] || CT.C74 : t161$)); + } + return new (collection._CustomKeyHashSet$(E)).new((t161$0 = equals, t161$0 == null ? C[77] || CT.C77 : t161$0), (t161$1 = hashCode, t161$1 == null ? C[74] || CT.C74 : t161$1), isValidKey); + } + static from(elements) { + if (elements == null) dart.nullFailed(I[78], 93, 42, "elements"); + let result = new (collection._HashSet$(E)).new(); + for (let e of elements) { + result.add(E.as(e)); + } + return result; + } + static of(elements) { + let t161; + if (elements == null) dart.nullFailed(I[78], 107, 34, "elements"); + t161 = new (collection._HashSet$(E)).new(); + return (() => { + t161.addAll(elements); + return t161; + })(); + } + [Symbol.iterator]() { + return new dart.JsIterator(this[$iterator]); + } + } + (HashSet[dart.mixinNew] = function() { + }).prototype = HashSet.prototype; + dart.addTypeTests(HashSet); + HashSet.prototype[_is_HashSet_default] = true; + dart.addTypeCaches(HashSet); + HashSet[dart.implements] = () => [core.Set$(E)]; + dart.setLibraryUri(HashSet, I[24]); + return HashSet; +}); +collection.HashSet = collection.HashSet$(); +dart.addTypeTests(collection.HashSet, _is_HashSet_default); +const _is_IterableMixin_default = Symbol('_is_IterableMixin_default'); +collection.IterableMixin$ = dart.generic(E => { + var WhereIterableOfE = () => (WhereIterableOfE = dart.constFn(_internal.WhereIterable$(E)))(); + var IterableOfE = () => (IterableOfE = dart.constFn(core.Iterable$(E)))(); + var EfficientLengthIterableOfE = () => (EfficientLengthIterableOfE = dart.constFn(_internal.EfficientLengthIterable$(E)))(); + var FollowedByIterableOfE = () => (FollowedByIterableOfE = dart.constFn(_internal.FollowedByIterable$(E)))(); + var EAndEToE = () => (EAndEToE = dart.constFn(dart.fnType(E, [E, E])))(); + var ListOfE = () => (ListOfE = dart.constFn(core.List$(E)))(); + var LinkedHashSetOfE = () => (LinkedHashSetOfE = dart.constFn(collection.LinkedHashSet$(E)))(); + var TakeIterableOfE = () => (TakeIterableOfE = dart.constFn(_internal.TakeIterable$(E)))(); + var TakeWhileIterableOfE = () => (TakeWhileIterableOfE = dart.constFn(_internal.TakeWhileIterable$(E)))(); + var SkipIterableOfE = () => (SkipIterableOfE = dart.constFn(_internal.SkipIterable$(E)))(); + var SkipWhileIterableOfE = () => (SkipWhileIterableOfE = dart.constFn(_internal.SkipWhileIterable$(E)))(); + var VoidToE = () => (VoidToE = dart.constFn(dart.fnType(E, [])))(); + var VoidToNE = () => (VoidToNE = dart.constFn(dart.nullable(VoidToE())))(); + var ETodynamic = () => (ETodynamic = dart.constFn(dart.fnType(dart.dynamic, [E])))(); + class IterableMixin extends core.Object { + cast(R) { + return core.Iterable.castFrom(E, R, this); + } + map(T, f) { + if (f == null) dart.nullFailed(I[39], 17, 24, "f"); + return _internal.MappedIterable$(E, T).new(this, f); + } + where(f) { + if (f == null) dart.nullFailed(I[39], 19, 26, "f"); + return new (WhereIterableOfE()).new(this, f); + } + whereType(T) { + return new (_internal.WhereTypeIterable$(T)).new(this); + } + expand(T, f) { + if (f == null) dart.nullFailed(I[39], 23, 37, "f"); + return new (_internal.ExpandIterable$(E, T)).new(this, f); + } + followedBy(other) { + IterableOfE().as(other); + if (other == null) dart.nullFailed(I[39], 26, 38, "other"); + let self = this; + if (EfficientLengthIterableOfE().is(self)) { + return FollowedByIterableOfE().firstEfficient(self, other); + } + return new (FollowedByIterableOfE()).new(this, other); + } + contains(element) { + for (let e of this) { + if (dart.equals(e, element)) return true; + } + return false; + } + forEach(f) { + if (f == null) dart.nullFailed(I[39], 43, 21, "f"); + for (let element of this) + f(element); + } + reduce(combine) { + EAndEToE().as(combine); + if (combine == null) dart.nullFailed(I[39], 47, 14, "combine"); + let iterator = this[$iterator]; + if (!dart.test(iterator.moveNext())) { + dart.throw(_internal.IterableElementError.noElement()); + } + let value = iterator.current; + while (dart.test(iterator.moveNext())) { + value = combine(value, iterator.current); + } + return value; + } + fold(T, initialValue, combine) { + if (combine == null) dart.nullFailed(I[39], 59, 31, "combine"); + let value = initialValue; + for (let element of this) + value = combine(value, element); + return value; + } + every(f) { + if (f == null) dart.nullFailed(I[39], 65, 19, "f"); + for (let element of this) { + if (!dart.test(f(element))) return false; + } + return true; + } + join(separator = "") { + if (separator == null) dart.nullFailed(I[39], 72, 23, "separator"); + let iterator = this[$iterator]; + if (!dart.test(iterator.moveNext())) return ""; + let buffer = new core.StringBuffer.new(); + if (separator == null || separator === "") { + do { + buffer.write(dart.str(iterator.current)); + } while (dart.test(iterator.moveNext())); + } else { + buffer.write(dart.str(iterator.current)); + while (dart.test(iterator.moveNext())) { + buffer.write(separator); + buffer.write(dart.str(iterator.current)); + } + } + return buffer.toString(); + } + any(test) { + if (test == null) dart.nullFailed(I[39], 90, 17, "test"); + for (let element of this) { + if (dart.test(test(element))) return true; + } + return false; + } + toList(opts) { + let growable = opts && 'growable' in opts ? opts.growable : true; + if (growable == null) dart.nullFailed(I[39], 97, 24, "growable"); + return ListOfE().from(this, {growable: growable}); + } + toSet() { + return LinkedHashSetOfE().from(this); + } + get length() { + if (!!_internal.EfficientLengthIterable.is(this)) dart.assertFailed(null, I[39], 103, 12, "this is! EfficientLengthIterable"); + let count = 0; + let it = this[$iterator]; + while (dart.test(it.moveNext())) { + count = count + 1; + } + return count; + } + get isEmpty() { + return !dart.test(this[$iterator].moveNext()); + } + get isNotEmpty() { + return !dart.test(this.isEmpty); + } + take(count) { + if (count == null) dart.nullFailed(I[39], 116, 24, "count"); + return TakeIterableOfE().new(this, count); + } + takeWhile(test) { + if (test == null) dart.nullFailed(I[39], 120, 30, "test"); + return new (TakeWhileIterableOfE()).new(this, test); + } + skip(count) { + if (count == null) dart.nullFailed(I[39], 124, 24, "count"); + return SkipIterableOfE().new(this, count); + } + skipWhile(test) { + if (test == null) dart.nullFailed(I[39], 128, 30, "test"); + return new (SkipWhileIterableOfE()).new(this, test); + } + get first() { + let it = this[$iterator]; + if (!dart.test(it.moveNext())) { + dart.throw(_internal.IterableElementError.noElement()); + } + return it.current; + } + get last() { + let it = this[$iterator]; + if (!dart.test(it.moveNext())) { + dart.throw(_internal.IterableElementError.noElement()); + } + let result = null; + do { + result = it.current; + } while (dart.test(it.moveNext())); + return result; + } + get single() { + let it = this[$iterator]; + if (!dart.test(it.moveNext())) dart.throw(_internal.IterableElementError.noElement()); + let result = it.current; + if (dart.test(it.moveNext())) dart.throw(_internal.IterableElementError.tooMany()); + return result; + } + firstWhere(test, opts) { + if (test == null) dart.nullFailed(I[39], 160, 21, "test"); + let orElse = opts && 'orElse' in opts ? opts.orElse : null; + VoidToNE().as(orElse); + for (let element of this) { + if (dart.test(test(element))) return element; + } + if (orElse != null) return orElse(); + dart.throw(_internal.IterableElementError.noElement()); + } + lastWhere(test, opts) { + if (test == null) dart.nullFailed(I[39], 168, 20, "test"); + let orElse = opts && 'orElse' in opts ? opts.orElse : null; + VoidToNE().as(orElse); + let result = null; + let result$35isSet = false; + function result$35get() { + return result$35isSet ? result : dart.throw(new _internal.LateError.localNI("result")); + } + dart.fn(result$35get, VoidToE()); + function result$35set(t164) { + result$35isSet = true; + return result = t164; + } + dart.fn(result$35set, ETodynamic()); + let foundMatching = false; + for (let element of this) { + if (dart.test(test(element))) { + result$35set(element); + foundMatching = true; + } + } + if (foundMatching) return result$35get(); + if (orElse != null) return orElse(); + dart.throw(_internal.IterableElementError.noElement()); + } + singleWhere(test, opts) { + if (test == null) dart.nullFailed(I[39], 182, 22, "test"); + let orElse = opts && 'orElse' in opts ? opts.orElse : null; + VoidToNE().as(orElse); + let result = null; + let result$35isSet = false; + function result$35get() { + return result$35isSet ? result : dart.throw(new _internal.LateError.localNI("result")); + } + dart.fn(result$35get, VoidToE()); + function result$35set(t169) { + result$35isSet = true; + return result = t169; + } + dart.fn(result$35set, ETodynamic()); + let foundMatching = false; + for (let element of this) { + if (dart.test(test(element))) { + if (foundMatching) { + dart.throw(_internal.IterableElementError.tooMany()); + } + result$35set(element); + foundMatching = true; + } + } + if (foundMatching) return result$35get(); + if (orElse != null) return orElse(); + dart.throw(_internal.IterableElementError.noElement()); + } + elementAt(index) { + if (index == null) dart.nullFailed(I[39], 199, 19, "index"); + _internal.checkNotNullable(core.int, index, "index"); + core.RangeError.checkNotNegative(index, "index"); + let elementIndex = 0; + for (let element of this) { + if (index === elementIndex) return element; + elementIndex = elementIndex + 1; + } + dart.throw(new core.IndexError.new(index, this, "index", null, elementIndex)); + } + toString() { + return collection.IterableBase.iterableToShortString(this, "(", ")"); + } + [Symbol.iterator]() { + return new dart.JsIterator(this[$iterator]); + } + } + (IterableMixin.new = function() { + ; + }).prototype = IterableMixin.prototype; + IterableMixin.prototype[dart.isIterable] = true; + dart.addTypeTests(IterableMixin); + IterableMixin.prototype[_is_IterableMixin_default] = true; + dart.addTypeCaches(IterableMixin); + IterableMixin[dart.implements] = () => [core.Iterable$(E)]; + dart.setMethodSignature(IterableMixin, () => ({ + __proto__: dart.getMethods(IterableMixin.__proto__), + cast: dart.gFnType(R => [core.Iterable$(R), []], R => [dart.nullable(core.Object)]), + [$cast]: dart.gFnType(R => [core.Iterable$(R), []], R => [dart.nullable(core.Object)]), + map: dart.gFnType(T => [core.Iterable$(T), [dart.fnType(T, [E])]], T => [dart.nullable(core.Object)]), + [$map]: dart.gFnType(T => [core.Iterable$(T), [dart.fnType(T, [E])]], T => [dart.nullable(core.Object)]), + where: dart.fnType(core.Iterable$(E), [dart.fnType(core.bool, [E])]), + [$where]: dart.fnType(core.Iterable$(E), [dart.fnType(core.bool, [E])]), + whereType: dart.gFnType(T => [core.Iterable$(T), []], T => [dart.nullable(core.Object)]), + [$whereType]: dart.gFnType(T => [core.Iterable$(T), []], T => [dart.nullable(core.Object)]), + expand: dart.gFnType(T => [core.Iterable$(T), [dart.fnType(core.Iterable$(T), [E])]], T => [dart.nullable(core.Object)]), + [$expand]: dart.gFnType(T => [core.Iterable$(T), [dart.fnType(core.Iterable$(T), [E])]], T => [dart.nullable(core.Object)]), + followedBy: dart.fnType(core.Iterable$(E), [dart.nullable(core.Object)]), + [$followedBy]: dart.fnType(core.Iterable$(E), [dart.nullable(core.Object)]), + contains: dart.fnType(core.bool, [dart.nullable(core.Object)]), + [$contains]: dart.fnType(core.bool, [dart.nullable(core.Object)]), + forEach: dart.fnType(dart.void, [dart.fnType(dart.void, [E])]), + [$forEach]: dart.fnType(dart.void, [dart.fnType(dart.void, [E])]), + reduce: dart.fnType(E, [dart.nullable(core.Object)]), + [$reduce]: dart.fnType(E, [dart.nullable(core.Object)]), + fold: dart.gFnType(T => [T, [T, dart.fnType(T, [T, E])]], T => [dart.nullable(core.Object)]), + [$fold]: dart.gFnType(T => [T, [T, dart.fnType(T, [T, E])]], T => [dart.nullable(core.Object)]), + every: dart.fnType(core.bool, [dart.fnType(core.bool, [E])]), + [$every]: dart.fnType(core.bool, [dart.fnType(core.bool, [E])]), + join: dart.fnType(core.String, [], [core.String]), + [$join]: dart.fnType(core.String, [], [core.String]), + any: dart.fnType(core.bool, [dart.fnType(core.bool, [E])]), + [$any]: dart.fnType(core.bool, [dart.fnType(core.bool, [E])]), + toList: dart.fnType(core.List$(E), [], {growable: core.bool}, {}), + [$toList]: dart.fnType(core.List$(E), [], {growable: core.bool}, {}), + toSet: dart.fnType(core.Set$(E), []), + [$toSet]: dart.fnType(core.Set$(E), []), + take: dart.fnType(core.Iterable$(E), [core.int]), + [$take]: dart.fnType(core.Iterable$(E), [core.int]), + takeWhile: dart.fnType(core.Iterable$(E), [dart.fnType(core.bool, [E])]), + [$takeWhile]: dart.fnType(core.Iterable$(E), [dart.fnType(core.bool, [E])]), + skip: dart.fnType(core.Iterable$(E), [core.int]), + [$skip]: dart.fnType(core.Iterable$(E), [core.int]), + skipWhile: dart.fnType(core.Iterable$(E), [dart.fnType(core.bool, [E])]), + [$skipWhile]: dart.fnType(core.Iterable$(E), [dart.fnType(core.bool, [E])]), + firstWhere: dart.fnType(E, [dart.fnType(core.bool, [E])], {orElse: dart.nullable(core.Object)}, {}), + [$firstWhere]: dart.fnType(E, [dart.fnType(core.bool, [E])], {orElse: dart.nullable(core.Object)}, {}), + lastWhere: dart.fnType(E, [dart.fnType(core.bool, [E])], {orElse: dart.nullable(core.Object)}, {}), + [$lastWhere]: dart.fnType(E, [dart.fnType(core.bool, [E])], {orElse: dart.nullable(core.Object)}, {}), + singleWhere: dart.fnType(E, [dart.fnType(core.bool, [E])], {orElse: dart.nullable(core.Object)}, {}), + [$singleWhere]: dart.fnType(E, [dart.fnType(core.bool, [E])], {orElse: dart.nullable(core.Object)}, {}), + elementAt: dart.fnType(E, [core.int]), + [$elementAt]: dart.fnType(E, [core.int]) + })); + dart.setGetterSignature(IterableMixin, () => ({ + __proto__: dart.getGetters(IterableMixin.__proto__), + length: core.int, + [$length]: core.int, + isEmpty: core.bool, + [$isEmpty]: core.bool, + isNotEmpty: core.bool, + [$isNotEmpty]: core.bool, + first: E, + [$first]: E, + last: E, + [$last]: E, + single: E, + [$single]: E + })); + dart.setLibraryUri(IterableMixin, I[24]); + dart.defineExtensionMethods(IterableMixin, [ + 'cast', + 'map', + 'where', + 'whereType', + 'expand', + 'followedBy', + 'contains', + 'forEach', + 'reduce', + 'fold', + 'every', + 'join', + 'any', + 'toList', + 'toSet', + 'take', + 'takeWhile', + 'skip', + 'skipWhile', + 'firstWhere', + 'lastWhere', + 'singleWhere', + 'elementAt', + 'toString' + ]); + dart.defineExtensionAccessors(IterableMixin, [ + 'length', + 'isEmpty', + 'isNotEmpty', + 'first', + 'last', + 'single' + ]); + return IterableMixin; +}); +collection.IterableMixin = collection.IterableMixin$(); +dart.addTypeTests(collection.IterableMixin, _is_IterableMixin_default); +var _state$ = dart.privateName(collection, "_state"); +var _iterator$0 = dart.privateName(collection, "_iterator"); +var _move = dart.privateName(collection, "_move"); +const _is_HasNextIterator_default = Symbol('_is_HasNextIterator_default'); +collection.HasNextIterator$ = dart.generic(E => { + class HasNextIterator extends core.Object { + get hasNext() { + if (this[_state$] === 2) this[_move](); + return this[_state$] === 0; + } + next() { + if (!dart.test(this.hasNext)) dart.throw(new core.StateError.new("No more elements")); + if (!(this[_state$] === 0)) dart.assertFailed(null, I[79], 30, 12, "_state == _HAS_NEXT_AND_NEXT_IN_CURRENT"); + let result = this[_iterator$0].current; + this[_move](); + return result; + } + [_move]() { + if (dart.test(this[_iterator$0].moveNext())) { + this[_state$] = 0; + } else { + this[_state$] = 1; + } + } + } + (HasNextIterator.new = function(_iterator) { + if (_iterator == null) dart.nullFailed(I[79], 19, 24, "_iterator"); + this[_state$] = 2; + this[_iterator$0] = _iterator; + ; + }).prototype = HasNextIterator.prototype; + dart.addTypeTests(HasNextIterator); + HasNextIterator.prototype[_is_HasNextIterator_default] = true; + dart.addTypeCaches(HasNextIterator); + dart.setMethodSignature(HasNextIterator, () => ({ + __proto__: dart.getMethods(HasNextIterator.__proto__), + next: dart.fnType(E, []), + [_move]: dart.fnType(dart.void, []) + })); + dart.setGetterSignature(HasNextIterator, () => ({ + __proto__: dart.getGetters(HasNextIterator.__proto__), + hasNext: core.bool + })); + dart.setLibraryUri(HasNextIterator, I[24]); + dart.setFieldSignature(HasNextIterator, () => ({ + __proto__: dart.getFields(HasNextIterator.__proto__), + [_iterator$0]: dart.fieldType(core.Iterator$(E)), + [_state$]: dart.fieldType(core.int) + })); + return HasNextIterator; +}); +collection.HasNextIterator = collection.HasNextIterator$(); +dart.defineLazy(collection.HasNextIterator, { + /*collection.HasNextIterator._HAS_NEXT_AND_NEXT_IN_CURRENT*/get _HAS_NEXT_AND_NEXT_IN_CURRENT() { + return 0; + }, + /*collection.HasNextIterator._NO_NEXT*/get _NO_NEXT() { + return 1; + }, + /*collection.HasNextIterator._NOT_MOVED_YET*/get _NOT_MOVED_YET() { + return 2; + } +}, false); +dart.addTypeTests(collection.HasNextIterator, _is_HasNextIterator_default); +const _is_LinkedHashMap_default = Symbol('_is_LinkedHashMap_default'); +collection.LinkedHashMap$ = dart.generic((K, V) => { + class LinkedHashMap extends core.Object { + static new(opts) { + let t171, t171$, t171$0; + let equals = opts && 'equals' in opts ? opts.equals : null; + let hashCode = opts && 'hashCode' in opts ? opts.hashCode : null; + let isValidKey = opts && 'isValidKey' in opts ? opts.isValidKey : null; + if (isValidKey == null) { + if (hashCode == null) { + if (equals == null) { + if (dart.wrapType(K) === dart.wrapType(core.String) || dart.wrapType(K) === dart.wrapType(core.int)) { + return new (_js_helper.IdentityMap$(K, V)).new(); + } + return new (_js_helper.LinkedMap$(K, V)).new(); + } + hashCode = C[74] || CT.C74; + } else if ((C[75] || CT.C75) === hashCode && (C[76] || CT.C76) === equals) { + return new (_js_helper.IdentityMap$(K, V)).new(); + } + return new (_js_helper.CustomHashMap$(K, V)).new((t171 = equals, t171 == null ? C[77] || CT.C77 : t171), hashCode); + } + return new (_js_helper.CustomKeyHashMap$(K, V)).new((t171$ = equals, t171$ == null ? C[77] || CT.C77 : t171$), (t171$0 = hashCode, t171$0 == null ? C[74] || CT.C74 : t171$0), isValidKey); + } + static from(other) { + if (other == null) dart.nullFailed(I[80], 85, 52, "other"); + let result = new (_js_helper.LinkedMap$(K, V)).new(); + other[$forEach](dart.fn((k, v) => { + result[$_set](K.as(k), V.as(v)); + }, T$.dynamicAnddynamicTovoid())); + return result; + } + static of(other) { + let t171; + if (other == null) dart.nullFailed(I[80], 94, 38, "other"); + t171 = new (_js_helper.LinkedMap$(K, V)).new(); + return (() => { + t171[$addAll](other); + return t171; + })(); + } + static fromIterable(iterable, opts) { + if (iterable == null) dart.nullFailed(I[80], 108, 47, "iterable"); + let key = opts && 'key' in opts ? opts.key : null; + let value = opts && 'value' in opts ? opts.value : null; + let map = new (_js_helper.LinkedMap$(K, V)).new(); + collection.MapBase._fillMapWithMappedIterable(map, iterable, key, value); + return map; + } + static fromIterables(keys, values) { + if (keys == null) dart.nullFailed(I[80], 124, 51, "keys"); + if (values == null) dart.nullFailed(I[80], 124, 69, "values"); + let map = new (_js_helper.LinkedMap$(K, V)).new(); + collection.MapBase._fillMapWithIterables(map, keys, values); + return map; + } + static fromEntries(entries) { + let t171; + if (entries == null) dart.nullFailed(I[80], 138, 62, "entries"); + t171 = new (_js_helper.LinkedMap$(K, V)).new(); + return (() => { + t171[$addEntries](entries); + return t171; + })(); + } + } + (LinkedHashMap[dart.mixinNew] = function() { + }).prototype = LinkedHashMap.prototype; + LinkedHashMap.prototype[dart.isMap] = true; + dart.addTypeTests(LinkedHashMap); + LinkedHashMap.prototype[_is_LinkedHashMap_default] = true; + dart.addTypeCaches(LinkedHashMap); + LinkedHashMap[dart.implements] = () => [core.Map$(K, V)]; + dart.setLibraryUri(LinkedHashMap, I[24]); + return LinkedHashMap; +}); +collection.LinkedHashMap = collection.LinkedHashMap$(); +dart.addTypeTests(collection.LinkedHashMap, _is_LinkedHashMap_default); +const _is_LinkedHashSet_default = Symbol('_is_LinkedHashSet_default'); +collection.LinkedHashSet$ = dart.generic(E => { + class LinkedHashSet extends core.Object { + static new(opts) { + let t171, t171$, t171$0; + let equals = opts && 'equals' in opts ? opts.equals : null; + let hashCode = opts && 'hashCode' in opts ? opts.hashCode : null; + let isValidKey = opts && 'isValidKey' in opts ? opts.isValidKey : null; + if (isValidKey == null) { + if (hashCode == null) { + if (equals == null) { + if (dart.wrapType(E) === dart.wrapType(core.String) || dart.wrapType(E) === dart.wrapType(core.int)) { + return new (collection._IdentityHashSet$(E)).new(); + } + return new (collection._HashSet$(E)).new(); + } + hashCode = C[74] || CT.C74; + } else if ((C[75] || CT.C75) === hashCode && (C[76] || CT.C76) === equals) { + return new (collection._IdentityHashSet$(E)).new(); + } + return new (collection._CustomHashSet$(E)).new((t171 = equals, t171 == null ? C[77] || CT.C77 : t171), hashCode); + } + return new (collection._CustomKeyHashSet$(E)).new((t171$ = equals, t171$ == null ? C[77] || CT.C77 : t171$), (t171$0 = hashCode, t171$0 == null ? C[74] || CT.C74 : t171$0), isValidKey); + } + static from(elements) { + if (elements == null) dart.nullFailed(I[81], 98, 48, "elements"); + let result = new (collection._HashSet$(E)).new(); + for (let element of elements) { + result.add(E.as(element)); + } + return result; + } + static of(elements) { + let t171; + if (elements == null) dart.nullFailed(I[81], 110, 40, "elements"); + t171 = new (collection._HashSet$(E)).new(); + return (() => { + t171.addAll(elements); + return t171; + })(); + } + [Symbol.iterator]() { + return new dart.JsIterator(this[$iterator]); + } + } + (LinkedHashSet[dart.mixinNew] = function() { + }).prototype = LinkedHashSet.prototype; + dart.addTypeTests(LinkedHashSet); + LinkedHashSet.prototype[_is_LinkedHashSet_default] = true; + dart.addTypeCaches(LinkedHashSet); + LinkedHashSet[dart.implements] = () => [core.Set$(E)]; + dart.setLibraryUri(LinkedHashSet, I[24]); + return LinkedHashSet; +}); +collection.LinkedHashSet = collection.LinkedHashSet$(); +dart.addTypeTests(collection.LinkedHashSet, _is_LinkedHashSet_default); +var _modificationCount = dart.privateName(collection, "_modificationCount"); +var _length$0 = dart.privateName(collection, "_length"); +var _first = dart.privateName(collection, "_first"); +var _insertBefore = dart.privateName(collection, "_insertBefore"); +var _list$0 = dart.privateName(collection, "_list"); +var _unlink = dart.privateName(collection, "_unlink"); +var _next$2 = dart.privateName(collection, "_next"); +var _previous$2 = dart.privateName(collection, "_previous"); +const _is_LinkedList_default$ = Symbol('_is_LinkedList_default'); +collection.LinkedList$ = dart.generic(E => { + var IterableOfE = () => (IterableOfE = dart.constFn(core.Iterable$(E)))(); + var _LinkedListIteratorOfE = () => (_LinkedListIteratorOfE = dart.constFn(collection._LinkedListIterator$(E)))(); + var EN = () => (EN = dart.constFn(dart.nullable(E)))(); + class LinkedList extends core.Iterable$(E) { + addFirst(entry) { + E.as(entry); + if (entry == null) dart.nullFailed(I[82], 40, 19, "entry"); + this[_insertBefore](this[_first], entry, {updateFirst: true}); + this[_first] = entry; + } + add(entry) { + E.as(entry); + if (entry == null) dart.nullFailed(I[82], 46, 14, "entry"); + this[_insertBefore](this[_first], entry, {updateFirst: false}); + } + addAll(entries) { + IterableOfE().as(entries); + if (entries == null) dart.nullFailed(I[82], 51, 27, "entries"); + entries[$forEach](dart.bind(this, 'add')); + } + remove(entry) { + E.as(entry); + if (entry == null) dart.nullFailed(I[82], 61, 17, "entry"); + if (!dart.equals(entry[_list$0], this)) return false; + this[_unlink](entry); + return true; + } + contains(entry) { + return T$.LinkedListEntryOfLinkedListEntry().is(entry) && this === entry.list; + } + get iterator() { + return new (_LinkedListIteratorOfE()).new(this); + } + get length() { + return this[_length$0]; + } + clear() { + this[_modificationCount] = dart.notNull(this[_modificationCount]) + 1; + if (dart.test(this.isEmpty)) return; + let next = dart.nullCheck(this[_first]); + do { + let entry = next; + next = dart.nullCheck(entry[_next$2]); + entry[_next$2] = entry[_previous$2] = entry[_list$0] = null; + } while (next !== this[_first]); + this[_first] = null; + this[_length$0] = 0; + } + get first() { + if (dart.test(this.isEmpty)) { + dart.throw(new core.StateError.new("No such element")); + } + return dart.nullCheck(this[_first]); + } + get last() { + if (dart.test(this.isEmpty)) { + dart.throw(new core.StateError.new("No such element")); + } + return dart.nullCheck(dart.nullCheck(this[_first])[_previous$2]); + } + get single() { + if (dart.test(this.isEmpty)) { + dart.throw(new core.StateError.new("No such element")); + } + if (dart.notNull(this[_length$0]) > 1) { + dart.throw(new core.StateError.new("Too many elements")); + } + return dart.nullCheck(this[_first]); + } + forEach(action) { + if (action == null) dart.nullFailed(I[82], 121, 21, "action"); + let modificationCount = this[_modificationCount]; + if (dart.test(this.isEmpty)) return; + let current = dart.nullCheck(this[_first]); + do { + action(current); + if (modificationCount != this[_modificationCount]) { + dart.throw(new core.ConcurrentModificationError.new(this)); + } + current = dart.nullCheck(current[_next$2]); + } while (current !== this[_first]); + } + get isEmpty() { + return this[_length$0] === 0; + } + [_insertBefore](entry, newEntry, opts) { + EN().as(entry); + E.as(newEntry); + if (newEntry == null) dart.nullFailed(I[82], 141, 34, "newEntry"); + let updateFirst = opts && 'updateFirst' in opts ? opts.updateFirst : null; + if (updateFirst == null) dart.nullFailed(I[82], 141, 59, "updateFirst"); + if (newEntry.list != null) { + dart.throw(new core.StateError.new("LinkedListEntry is already in a LinkedList")); + } + this[_modificationCount] = dart.notNull(this[_modificationCount]) + 1; + newEntry[_list$0] = this; + if (dart.test(this.isEmpty)) { + if (!(entry == null)) dart.assertFailed(null, I[82], 149, 14, "entry == null"); + newEntry[_previous$2] = newEntry[_next$2] = newEntry; + this[_first] = newEntry; + this[_length$0] = dart.notNull(this[_length$0]) + 1; + return; + } + let predecessor = dart.nullCheck(dart.nullCheck(entry)[_previous$2]); + let successor = entry; + newEntry[_previous$2] = predecessor; + newEntry[_next$2] = successor; + predecessor[_next$2] = newEntry; + successor[_previous$2] = newEntry; + if (dart.test(updateFirst) && entry == this[_first]) { + this[_first] = newEntry; + } + this[_length$0] = dart.notNull(this[_length$0]) + 1; + } + [_unlink](entry) { + E.as(entry); + if (entry == null) dart.nullFailed(I[82], 167, 18, "entry"); + this[_modificationCount] = dart.notNull(this[_modificationCount]) + 1; + dart.nullCheck(entry[_next$2])[_previous$2] = entry[_previous$2]; + let next = dart.nullCheck(entry[_previous$2])[_next$2] = entry[_next$2]; + this[_length$0] = dart.notNull(this[_length$0]) - 1; + entry[_list$0] = entry[_next$2] = entry[_previous$2] = null; + if (dart.test(this.isEmpty)) { + this[_first] = null; + } else if (entry == this[_first]) { + this[_first] = next; + } + } + } + (LinkedList.new = function() { + this[_modificationCount] = 0; + this[_length$0] = 0; + this[_first] = null; + LinkedList.__proto__.new.call(this); + ; + }).prototype = LinkedList.prototype; + dart.addTypeTests(LinkedList); + LinkedList.prototype[_is_LinkedList_default$] = true; + dart.addTypeCaches(LinkedList); + dart.setMethodSignature(LinkedList, () => ({ + __proto__: dart.getMethods(LinkedList.__proto__), + addFirst: dart.fnType(dart.void, [dart.nullable(core.Object)]), + add: dart.fnType(dart.void, [dart.nullable(core.Object)]), + addAll: dart.fnType(dart.void, [dart.nullable(core.Object)]), + remove: dart.fnType(core.bool, [dart.nullable(core.Object)]), + clear: dart.fnType(dart.void, []), + [_insertBefore]: dart.fnType(dart.void, [dart.nullable(core.Object), dart.nullable(core.Object)], {updateFirst: core.bool}, {}), + [_unlink]: dart.fnType(dart.void, [dart.nullable(core.Object)]) + })); + dart.setGetterSignature(LinkedList, () => ({ + __proto__: dart.getGetters(LinkedList.__proto__), + iterator: core.Iterator$(E), + [$iterator]: core.Iterator$(E) + })); + dart.setLibraryUri(LinkedList, I[24]); + dart.setFieldSignature(LinkedList, () => ({ + __proto__: dart.getFields(LinkedList.__proto__), + [_modificationCount]: dart.fieldType(core.int), + [_length$0]: dart.fieldType(core.int), + [_first]: dart.fieldType(dart.nullable(E)) + })); + dart.defineExtensionMethods(LinkedList, ['contains', 'forEach']); + dart.defineExtensionAccessors(LinkedList, [ + 'iterator', + 'length', + 'first', + 'last', + 'single', + 'isEmpty' + ]); + return LinkedList; +}); +collection.LinkedList = collection.LinkedList$(); +dart.addTypeTests(collection.LinkedList, _is_LinkedList_default$); +var _current$1 = dart.privateName(collection, "_current"); +var _visitedFirst = dart.privateName(collection, "_visitedFirst"); +const _is__LinkedListIterator_default$ = Symbol('_is__LinkedListIterator_default'); +collection._LinkedListIterator$ = dart.generic(E => { + class _LinkedListIterator extends core.Object { + get current() { + return dart.nullCast(this[_current$1], E); + } + moveNext() { + if (this[_modificationCount] != this[_list$0][_modificationCount]) { + dart.throw(new core.ConcurrentModificationError.new(this)); + } + if (dart.test(this[_list$0].isEmpty) || dart.test(this[_visitedFirst]) && this[_next$2] == this[_list$0].first) { + this[_current$1] = null; + return false; + } + this[_visitedFirst] = true; + this[_current$1] = this[_next$2]; + this[_next$2] = dart.nullCheck(this[_next$2])[_next$2]; + return true; + } + } + (_LinkedListIterator.new = function(list) { + if (list == null) dart.nullFailed(I[82], 188, 37, "list"); + this[_current$1] = null; + this[_list$0] = list; + this[_modificationCount] = list[_modificationCount]; + this[_next$2] = list[_first]; + this[_visitedFirst] = false; + ; + }).prototype = _LinkedListIterator.prototype; + dart.addTypeTests(_LinkedListIterator); + _LinkedListIterator.prototype[_is__LinkedListIterator_default$] = true; + dart.addTypeCaches(_LinkedListIterator); + _LinkedListIterator[dart.implements] = () => [core.Iterator$(E)]; + dart.setMethodSignature(_LinkedListIterator, () => ({ + __proto__: dart.getMethods(_LinkedListIterator.__proto__), + moveNext: dart.fnType(core.bool, []) + })); + dart.setGetterSignature(_LinkedListIterator, () => ({ + __proto__: dart.getGetters(_LinkedListIterator.__proto__), + current: E + })); + dart.setLibraryUri(_LinkedListIterator, I[24]); + dart.setFieldSignature(_LinkedListIterator, () => ({ + __proto__: dart.getFields(_LinkedListIterator.__proto__), + [_list$0]: dart.finalFieldType(collection.LinkedList$(E)), + [_modificationCount]: dart.finalFieldType(core.int), + [_current$1]: dart.fieldType(dart.nullable(E)), + [_next$2]: dart.fieldType(dart.nullable(E)), + [_visitedFirst]: dart.fieldType(core.bool) + })); + return _LinkedListIterator; +}); +collection._LinkedListIterator = collection._LinkedListIterator$(); +dart.addTypeTests(collection._LinkedListIterator, _is__LinkedListIterator_default$); +var _list$1 = dart.privateName(collection, "LinkedListEntry._list"); +var _next$3 = dart.privateName(collection, "LinkedListEntry._next"); +var _previous$3 = dart.privateName(collection, "LinkedListEntry._previous"); +const _is_LinkedListEntry_default$ = Symbol('_is_LinkedListEntry_default'); +collection.LinkedListEntry$ = dart.generic(E => { + var LinkedListOfE = () => (LinkedListOfE = dart.constFn(collection.LinkedList$(E)))(); + var LinkedListNOfE = () => (LinkedListNOfE = dart.constFn(dart.nullable(LinkedListOfE())))(); + var EN = () => (EN = dart.constFn(dart.nullable(E)))(); + class LinkedListEntry extends core.Object { + get [_list$0]() { + return this[_list$1]; + } + set [_list$0](value) { + this[_list$1] = LinkedListNOfE().as(value); + } + get [_next$2]() { + return this[_next$3]; + } + set [_next$2](value) { + this[_next$3] = EN().as(value); + } + get [_previous$2]() { + return this[_previous$3]; + } + set [_previous$2](value) { + this[_previous$3] = EN().as(value); + } + get list() { + return this[_list$0]; + } + unlink() { + dart.nullCheck(this[_list$0])[_unlink](E.as(this)); + } + get next() { + if (this[_list$0] == null || dart.nullCheck(this[_list$0]).first == this[_next$2]) return null; + return this[_next$2]; + } + get previous() { + if (this[_list$0] == null || this === dart.nullCheck(this[_list$0]).first) return null; + return this[_previous$2]; + } + insertAfter(entry) { + E.as(entry); + if (entry == null) dart.nullFailed(I[82], 262, 22, "entry"); + dart.nullCheck(this[_list$0])[_insertBefore](this[_next$2], entry, {updateFirst: false}); + } + insertBefore(entry) { + E.as(entry); + if (entry == null) dart.nullFailed(I[82], 270, 23, "entry"); + dart.nullCheck(this[_list$0])[_insertBefore](E.as(this), entry, {updateFirst: true}); + } + } + (LinkedListEntry.new = function() { + this[_list$1] = null; + this[_next$3] = null; + this[_previous$3] = null; + ; + }).prototype = LinkedListEntry.prototype; + dart.addTypeTests(LinkedListEntry); + LinkedListEntry.prototype[_is_LinkedListEntry_default$] = true; + dart.addTypeCaches(LinkedListEntry); + dart.setMethodSignature(LinkedListEntry, () => ({ + __proto__: dart.getMethods(LinkedListEntry.__proto__), + unlink: dart.fnType(dart.void, []), + insertAfter: dart.fnType(dart.void, [dart.nullable(core.Object)]), + insertBefore: dart.fnType(dart.void, [dart.nullable(core.Object)]) + })); + dart.setGetterSignature(LinkedListEntry, () => ({ + __proto__: dart.getGetters(LinkedListEntry.__proto__), + list: dart.nullable(collection.LinkedList$(E)), + next: dart.nullable(E), + previous: dart.nullable(E) + })); + dart.setLibraryUri(LinkedListEntry, I[24]); + dart.setFieldSignature(LinkedListEntry, () => ({ + __proto__: dart.getFields(LinkedListEntry.__proto__), + [_list$0]: dart.fieldType(dart.nullable(collection.LinkedList$(E))), + [_next$2]: dart.fieldType(dart.nullable(E)), + [_previous$2]: dart.fieldType(dart.nullable(E)) + })); + return LinkedListEntry; +}); +collection.LinkedListEntry = collection.LinkedListEntry$(); +dart.addTypeTests(collection.LinkedListEntry, _is_LinkedListEntry_default$); +const _is__MapBaseValueIterable_default = Symbol('_is__MapBaseValueIterable_default'); +collection._MapBaseValueIterable$ = dart.generic((K, V) => { + var _MapBaseValueIteratorOfK$V = () => (_MapBaseValueIteratorOfK$V = dart.constFn(collection._MapBaseValueIterator$(K, V)))(); + class _MapBaseValueIterable extends _internal.EfficientLengthIterable$(V) { + get length() { + return this[_map$5][$length]; + } + get isEmpty() { + return this[_map$5][$isEmpty]; + } + get isNotEmpty() { + return this[_map$5][$isNotEmpty]; + } + get first() { + return V.as(this[_map$5][$_get](this[_map$5][$keys][$first])); + } + get single() { + return V.as(this[_map$5][$_get](this[_map$5][$keys][$single])); + } + get last() { + return V.as(this[_map$5][$_get](this[_map$5][$keys][$last])); + } + get iterator() { + return new (_MapBaseValueIteratorOfK$V()).new(this[_map$5]); + } + } + (_MapBaseValueIterable.new = function(_map) { + if (_map == null) dart.nullFailed(I[35], 227, 30, "_map"); + this[_map$5] = _map; + _MapBaseValueIterable.__proto__.new.call(this); + ; + }).prototype = _MapBaseValueIterable.prototype; + dart.addTypeTests(_MapBaseValueIterable); + _MapBaseValueIterable.prototype[_is__MapBaseValueIterable_default] = true; + dart.addTypeCaches(_MapBaseValueIterable); + dart.setGetterSignature(_MapBaseValueIterable, () => ({ + __proto__: dart.getGetters(_MapBaseValueIterable.__proto__), + iterator: core.Iterator$(V), + [$iterator]: core.Iterator$(V) + })); + dart.setLibraryUri(_MapBaseValueIterable, I[24]); + dart.setFieldSignature(_MapBaseValueIterable, () => ({ + __proto__: dart.getFields(_MapBaseValueIterable.__proto__), + [_map$5]: dart.finalFieldType(core.Map$(K, V)) + })); + dart.defineExtensionAccessors(_MapBaseValueIterable, [ + 'length', + 'isEmpty', + 'isNotEmpty', + 'first', + 'single', + 'last', + 'iterator' + ]); + return _MapBaseValueIterable; +}); +collection._MapBaseValueIterable = collection._MapBaseValueIterable$(); +dart.addTypeTests(collection._MapBaseValueIterable, _is__MapBaseValueIterable_default); +var _keys = dart.privateName(collection, "_keys"); +const _is__MapBaseValueIterator_default = Symbol('_is__MapBaseValueIterator_default'); +collection._MapBaseValueIterator$ = dart.generic((K, V) => { + class _MapBaseValueIterator extends core.Object { + moveNext() { + if (dart.test(this[_keys].moveNext())) { + this[_current$1] = this[_map$5][$_get](this[_keys].current); + return true; + } + this[_current$1] = null; + return false; + } + get current() { + return V.as(this[_current$1]); + } + } + (_MapBaseValueIterator.new = function(map) { + if (map == null) dart.nullFailed(I[35], 248, 35, "map"); + this[_current$1] = null; + this[_map$5] = map; + this[_keys] = map[$keys][$iterator]; + ; + }).prototype = _MapBaseValueIterator.prototype; + dart.addTypeTests(_MapBaseValueIterator); + _MapBaseValueIterator.prototype[_is__MapBaseValueIterator_default] = true; + dart.addTypeCaches(_MapBaseValueIterator); + _MapBaseValueIterator[dart.implements] = () => [core.Iterator$(V)]; + dart.setMethodSignature(_MapBaseValueIterator, () => ({ + __proto__: dart.getMethods(_MapBaseValueIterator.__proto__), + moveNext: dart.fnType(core.bool, []) + })); + dart.setGetterSignature(_MapBaseValueIterator, () => ({ + __proto__: dart.getGetters(_MapBaseValueIterator.__proto__), + current: V + })); + dart.setLibraryUri(_MapBaseValueIterator, I[24]); + dart.setFieldSignature(_MapBaseValueIterator, () => ({ + __proto__: dart.getFields(_MapBaseValueIterator.__proto__), + [_keys]: dart.finalFieldType(core.Iterator$(K)), + [_map$5]: dart.finalFieldType(core.Map$(K, V)), + [_current$1]: dart.fieldType(dart.nullable(V)) + })); + return _MapBaseValueIterator; +}); +collection._MapBaseValueIterator = collection._MapBaseValueIterator$(); +dart.addTypeTests(collection._MapBaseValueIterator, _is__MapBaseValueIterator_default); +var _map$8 = dart.privateName(collection, "MapView._map"); +const _is_MapView_default = Symbol('_is_MapView_default'); +collection.MapView$ = dart.generic((K, V) => { + var MapOfK$V = () => (MapOfK$V = dart.constFn(core.Map$(K, V)))(); + var MapEntryOfK$V = () => (MapEntryOfK$V = dart.constFn(core.MapEntry$(K, V)))(); + var IterableOfMapEntryOfK$V = () => (IterableOfMapEntryOfK$V = dart.constFn(core.Iterable$(MapEntryOfK$V())))(); + var KAndVToV = () => (KAndVToV = dart.constFn(dart.fnType(V, [K, V])))(); + var VoidToV = () => (VoidToV = dart.constFn(dart.fnType(V, [])))(); + var VToV = () => (VToV = dart.constFn(dart.fnType(V, [V])))(); + var VoidToNV = () => (VoidToNV = dart.constFn(dart.nullable(VoidToV())))(); + class MapView extends core.Object { + get [_map$5]() { + return this[_map$8]; + } + set [_map$5](value) { + super[_map$5] = value; + } + cast(RK, RV) { + return this[_map$5][$cast](RK, RV); + } + _get(key) { + return this[_map$5][$_get](key); + } + _set(key, value$) { + let value = value$; + K.as(key); + V.as(value); + this[_map$5][$_set](key, value); + return value$; + } + addAll(other) { + MapOfK$V().as(other); + if (other == null) dart.nullFailed(I[35], 330, 25, "other"); + this[_map$5][$addAll](other); + } + clear() { + this[_map$5][$clear](); + } + putIfAbsent(key, ifAbsent) { + K.as(key); + VoidToV().as(ifAbsent); + if (ifAbsent == null) dart.nullFailed(I[35], 338, 26, "ifAbsent"); + return this[_map$5][$putIfAbsent](key, ifAbsent); + } + containsKey(key) { + return this[_map$5][$containsKey](key); + } + containsValue(value) { + return this[_map$5][$containsValue](value); + } + forEach(action) { + if (action == null) dart.nullFailed(I[35], 341, 21, "action"); + this[_map$5][$forEach](action); + } + get isEmpty() { + return this[_map$5][$isEmpty]; + } + get isNotEmpty() { + return this[_map$5][$isNotEmpty]; + } + get length() { + return this[_map$5][$length]; + } + get keys() { + return this[_map$5][$keys]; + } + remove(key) { + return this[_map$5][$remove](key); + } + toString() { + return dart.toString(this[_map$5]); + } + get values() { + return this[_map$5][$values]; + } + get entries() { + return this[_map$5][$entries]; + } + addEntries(entries) { + IterableOfMapEntryOfK$V().as(entries); + if (entries == null) dart.nullFailed(I[35], 355, 44, "entries"); + this[_map$5][$addEntries](entries); + } + map(K2, V2, transform) { + if (transform == null) dart.nullFailed(I[35], 359, 44, "transform"); + return this[_map$5][$map](K2, V2, transform); + } + update(key, update, opts) { + K.as(key); + VToV().as(update); + if (update == null) dart.nullFailed(I[35], 362, 21, "update"); + let ifAbsent = opts && 'ifAbsent' in opts ? opts.ifAbsent : null; + VoidToNV().as(ifAbsent); + return this[_map$5][$update](key, update, {ifAbsent: ifAbsent}); + } + updateAll(update) { + KAndVToV().as(update); + if (update == null) dart.nullFailed(I[35], 365, 20, "update"); + this[_map$5][$updateAll](update); + } + removeWhere(test) { + if (test == null) dart.nullFailed(I[35], 369, 25, "test"); + this[_map$5][$removeWhere](test); + } + } + (MapView.new = function(map) { + if (map == null) dart.nullFailed(I[35], 322, 27, "map"); + this[_map$8] = map; + ; + }).prototype = MapView.prototype; + MapView.prototype[dart.isMap] = true; + dart.addTypeTests(MapView); + MapView.prototype[_is_MapView_default] = true; + dart.addTypeCaches(MapView); + MapView[dart.implements] = () => [core.Map$(K, V)]; + dart.setMethodSignature(MapView, () => ({ + __proto__: dart.getMethods(MapView.__proto__), + cast: dart.gFnType((RK, RV) => [core.Map$(RK, RV), []], (RK, RV) => [dart.nullable(core.Object), dart.nullable(core.Object)]), + [$cast]: dart.gFnType((RK, RV) => [core.Map$(RK, RV), []], (RK, RV) => [dart.nullable(core.Object), dart.nullable(core.Object)]), + _get: dart.fnType(dart.nullable(V), [dart.nullable(core.Object)]), + [$_get]: dart.fnType(dart.nullable(V), [dart.nullable(core.Object)]), + _set: dart.fnType(dart.void, [dart.nullable(core.Object), dart.nullable(core.Object)]), + [$_set]: dart.fnType(dart.void, [dart.nullable(core.Object), dart.nullable(core.Object)]), + addAll: dart.fnType(dart.void, [dart.nullable(core.Object)]), + [$addAll]: dart.fnType(dart.void, [dart.nullable(core.Object)]), + clear: dart.fnType(dart.void, []), + [$clear]: dart.fnType(dart.void, []), + putIfAbsent: dart.fnType(V, [dart.nullable(core.Object), dart.nullable(core.Object)]), + [$putIfAbsent]: dart.fnType(V, [dart.nullable(core.Object), dart.nullable(core.Object)]), + containsKey: dart.fnType(core.bool, [dart.nullable(core.Object)]), + [$containsKey]: dart.fnType(core.bool, [dart.nullable(core.Object)]), + containsValue: dart.fnType(core.bool, [dart.nullable(core.Object)]), + [$containsValue]: dart.fnType(core.bool, [dart.nullable(core.Object)]), + forEach: dart.fnType(dart.void, [dart.fnType(dart.void, [K, V])]), + [$forEach]: dart.fnType(dart.void, [dart.fnType(dart.void, [K, V])]), + remove: dart.fnType(dart.nullable(V), [dart.nullable(core.Object)]), + [$remove]: dart.fnType(dart.nullable(V), [dart.nullable(core.Object)]), + addEntries: dart.fnType(dart.void, [dart.nullable(core.Object)]), + [$addEntries]: dart.fnType(dart.void, [dart.nullable(core.Object)]), + map: dart.gFnType((K2, V2) => [core.Map$(K2, V2), [dart.fnType(core.MapEntry$(K2, V2), [K, V])]], (K2, V2) => [dart.nullable(core.Object), dart.nullable(core.Object)]), + [$map]: dart.gFnType((K2, V2) => [core.Map$(K2, V2), [dart.fnType(core.MapEntry$(K2, V2), [K, V])]], (K2, V2) => [dart.nullable(core.Object), dart.nullable(core.Object)]), + update: dart.fnType(V, [dart.nullable(core.Object), dart.nullable(core.Object)], {ifAbsent: dart.nullable(core.Object)}, {}), + [$update]: dart.fnType(V, [dart.nullable(core.Object), dart.nullable(core.Object)], {ifAbsent: dart.nullable(core.Object)}, {}), + updateAll: dart.fnType(dart.void, [dart.nullable(core.Object)]), + [$updateAll]: dart.fnType(dart.void, [dart.nullable(core.Object)]), + removeWhere: dart.fnType(dart.void, [dart.fnType(core.bool, [K, V])]), + [$removeWhere]: dart.fnType(dart.void, [dart.fnType(core.bool, [K, V])]) + })); + dart.setGetterSignature(MapView, () => ({ + __proto__: dart.getGetters(MapView.__proto__), + isEmpty: core.bool, + [$isEmpty]: core.bool, + isNotEmpty: core.bool, + [$isNotEmpty]: core.bool, + length: core.int, + [$length]: core.int, + keys: core.Iterable$(K), + [$keys]: core.Iterable$(K), + values: core.Iterable$(V), + [$values]: core.Iterable$(V), + entries: core.Iterable$(core.MapEntry$(K, V)), + [$entries]: core.Iterable$(core.MapEntry$(K, V)) + })); + dart.setLibraryUri(MapView, I[24]); + dart.setFieldSignature(MapView, () => ({ + __proto__: dart.getFields(MapView.__proto__), + [_map$5]: dart.finalFieldType(core.Map$(K, V)) + })); + dart.defineExtensionMethods(MapView, [ + 'cast', + '_get', + '_set', + 'addAll', + 'clear', + 'putIfAbsent', + 'containsKey', + 'containsValue', + 'forEach', + 'remove', + 'toString', + 'addEntries', + 'map', + 'update', + 'updateAll', + 'removeWhere' + ]); + dart.defineExtensionAccessors(MapView, [ + 'isEmpty', + 'isNotEmpty', + 'length', + 'keys', + 'values', + 'entries' + ]); + return MapView; +}); +collection.MapView = collection.MapView$(); +dart.addTypeTests(collection.MapView, _is_MapView_default); +const _is_UnmodifiableMapView_default = Symbol('_is_UnmodifiableMapView_default'); +collection.UnmodifiableMapView$ = dart.generic((K, V) => { + const MapView__UnmodifiableMapMixin$36 = class MapView__UnmodifiableMapMixin extends collection.MapView$(K, V) {}; + (MapView__UnmodifiableMapMixin$36.new = function(map) { + MapView__UnmodifiableMapMixin$36.__proto__.new.call(this, map); + }).prototype = MapView__UnmodifiableMapMixin$36.prototype; + dart.applyMixin(MapView__UnmodifiableMapMixin$36, collection._UnmodifiableMapMixin$(K, V)); + class UnmodifiableMapView extends MapView__UnmodifiableMapMixin$36 { + cast(RK, RV) { + return new (collection.UnmodifiableMapView$(RK, RV)).new(this[_map$5][$cast](RK, RV)); + } + } + (UnmodifiableMapView.new = function(map) { + if (map == null) dart.nullFailed(I[35], 381, 33, "map"); + UnmodifiableMapView.__proto__.new.call(this, map); + ; + }).prototype = UnmodifiableMapView.prototype; + dart.addTypeTests(UnmodifiableMapView); + UnmodifiableMapView.prototype[_is_UnmodifiableMapView_default] = true; + dart.addTypeCaches(UnmodifiableMapView); + dart.setMethodSignature(UnmodifiableMapView, () => ({ + __proto__: dart.getMethods(UnmodifiableMapView.__proto__), + cast: dart.gFnType((RK, RV) => [core.Map$(RK, RV), []], (RK, RV) => [dart.nullable(core.Object), dart.nullable(core.Object)]), + [$cast]: dart.gFnType((RK, RV) => [core.Map$(RK, RV), []], (RK, RV) => [dart.nullable(core.Object), dart.nullable(core.Object)]) + })); + dart.setLibraryUri(UnmodifiableMapView, I[24]); + dart.defineExtensionMethods(UnmodifiableMapView, ['cast']); + return UnmodifiableMapView; +}); +collection.UnmodifiableMapView = collection.UnmodifiableMapView$(); +dart.addTypeTests(collection.UnmodifiableMapView, _is_UnmodifiableMapView_default); +const _is_Queue_default = Symbol('_is_Queue_default'); +collection.Queue$ = dart.generic(E => { + class Queue extends core.Object { + static castFrom(S, T, source) { + if (source == null) dart.nullFailed(I[83], 55, 43, "source"); + return new (_internal.CastQueue$(S, T)).new(source); + } + [Symbol.iterator]() { + return new dart.JsIterator(this[$iterator]); + } + } + (Queue[dart.mixinNew] = function() { + }).prototype = Queue.prototype; + dart.addTypeTests(Queue); + Queue.prototype[_is_Queue_default] = true; + dart.addTypeCaches(Queue); + Queue[dart.implements] = () => [_internal.EfficientLengthIterable$(E)]; + dart.setLibraryUri(Queue, I[24]); + return Queue; +}); +collection.Queue = collection.Queue$(); +dart.addTypeTests(collection.Queue, _is_Queue_default); +var _previousLink = dart.privateName(collection, "_DoubleLink._previousLink"); +var _nextLink = dart.privateName(collection, "_DoubleLink._nextLink"); +var _previousLink$ = dart.privateName(collection, "_previousLink"); +var _nextLink$ = dart.privateName(collection, "_nextLink"); +var _link = dart.privateName(collection, "_link"); +const _is__DoubleLink_default = Symbol('_is__DoubleLink_default'); +collection._DoubleLink$ = dart.generic(Link => { + var LinkN = () => (LinkN = dart.constFn(dart.nullable(Link)))(); + class _DoubleLink extends core.Object { + get [_previousLink$]() { + return this[_previousLink]; + } + set [_previousLink$](value) { + this[_previousLink] = LinkN().as(value); + } + get [_nextLink$]() { + return this[_nextLink]; + } + set [_nextLink$](value) { + this[_nextLink] = LinkN().as(value); + } + [_link](previous, next) { + this[_nextLink$] = next; + this[_previousLink$] = previous; + if (previous != null) previous[_nextLink$] = Link.as(this); + if (next != null) next[_previousLink$] = Link.as(this); + } + [_unlink]() { + if (this[_previousLink$] != null) dart.nullCheck(this[_previousLink$])[_nextLink$] = this[_nextLink$]; + if (this[_nextLink$] != null) dart.nullCheck(this[_nextLink$])[_previousLink$] = this[_previousLink$]; + this[_nextLink$] = null; + this[_previousLink$] = null; + } + } + (_DoubleLink.new = function() { + this[_previousLink] = null; + this[_nextLink] = null; + ; + }).prototype = _DoubleLink.prototype; + dart.addTypeTests(_DoubleLink); + _DoubleLink.prototype[_is__DoubleLink_default] = true; + dart.addTypeCaches(_DoubleLink); + dart.setMethodSignature(_DoubleLink, () => ({ + __proto__: dart.getMethods(_DoubleLink.__proto__), + [_link]: dart.fnType(dart.void, [dart.nullable(Link), dart.nullable(Link)]), + [_unlink]: dart.fnType(dart.void, []) + })); + dart.setLibraryUri(_DoubleLink, I[24]); + dart.setFieldSignature(_DoubleLink, () => ({ + __proto__: dart.getFields(_DoubleLink.__proto__), + [_previousLink$]: dart.fieldType(dart.nullable(Link)), + [_nextLink$]: dart.fieldType(dart.nullable(Link)) + })); + return _DoubleLink; +}); +collection._DoubleLink = collection._DoubleLink$(); +dart.addTypeTests(collection._DoubleLink, _is__DoubleLink_default); +var _element$ = dart.privateName(collection, "DoubleLinkedQueueEntry._element"); +var _element = dart.privateName(collection, "_element"); +const _is_DoubleLinkedQueueEntry_default = Symbol('_is_DoubleLinkedQueueEntry_default'); +collection.DoubleLinkedQueueEntry$ = dart.generic(E => { + var DoubleLinkedQueueEntryOfE = () => (DoubleLinkedQueueEntryOfE = dart.constFn(collection.DoubleLinkedQueueEntry$(E)))(); + class DoubleLinkedQueueEntry extends collection._DoubleLink { + get [_element]() { + return this[_element$]; + } + set [_element](value) { + this[_element$] = value; + } + get element() { + return E.as(this[_element]); + } + set element(element) { + E.as(element); + this[_element] = element; + } + append(e) { + E.as(e); + new (DoubleLinkedQueueEntryOfE()).new(e)[_link](this, this[_nextLink$]); + } + prepend(e) { + E.as(e); + new (DoubleLinkedQueueEntryOfE()).new(e)[_link](this[_previousLink$], this); + } + remove() { + this[_unlink](); + return this.element; + } + previousEntry() { + return this[_previousLink$]; + } + nextEntry() { + return this[_nextLink$]; + } + } + (DoubleLinkedQueueEntry.new = function(_element) { + this[_element$] = _element; + DoubleLinkedQueueEntry.__proto__.new.call(this); + ; + }).prototype = DoubleLinkedQueueEntry.prototype; + dart.addTypeTests(DoubleLinkedQueueEntry); + DoubleLinkedQueueEntry.prototype[_is_DoubleLinkedQueueEntry_default] = true; + dart.addTypeCaches(DoubleLinkedQueueEntry); + dart.setMethodSignature(DoubleLinkedQueueEntry, () => ({ + __proto__: dart.getMethods(DoubleLinkedQueueEntry.__proto__), + append: dart.fnType(dart.void, [dart.nullable(core.Object)]), + prepend: dart.fnType(dart.void, [dart.nullable(core.Object)]), + remove: dart.fnType(E, []), + previousEntry: dart.fnType(dart.nullable(collection.DoubleLinkedQueueEntry$(E)), []), + nextEntry: dart.fnType(dart.nullable(collection.DoubleLinkedQueueEntry$(E)), []) + })); + dart.setGetterSignature(DoubleLinkedQueueEntry, () => ({ + __proto__: dart.getGetters(DoubleLinkedQueueEntry.__proto__), + element: E + })); + dart.setSetterSignature(DoubleLinkedQueueEntry, () => ({ + __proto__: dart.getSetters(DoubleLinkedQueueEntry.__proto__), + element: dart.nullable(core.Object) + })); + dart.setLibraryUri(DoubleLinkedQueueEntry, I[24]); + dart.setFieldSignature(DoubleLinkedQueueEntry, () => ({ + __proto__: dart.getFields(DoubleLinkedQueueEntry.__proto__), + [_element]: dart.fieldType(dart.nullable(E)) + })); + return DoubleLinkedQueueEntry; +}, E => { + dart.setBaseClass(collection.DoubleLinkedQueueEntry$(E), collection._DoubleLink$(collection.DoubleLinkedQueueEntry$(E))); +}); +collection.DoubleLinkedQueueEntry = collection.DoubleLinkedQueueEntry$(); +dart.addTypeTests(collection.DoubleLinkedQueueEntry, _is_DoubleLinkedQueueEntry_default); +var _queue$ = dart.privateName(collection, "_queue"); +var _append = dart.privateName(collection, "_append"); +var _prepend = dart.privateName(collection, "_prepend"); +var _asNonSentinelEntry = dart.privateName(collection, "_asNonSentinelEntry"); +const _is__DoubleLinkedQueueEntry_default = Symbol('_is__DoubleLinkedQueueEntry_default'); +collection._DoubleLinkedQueueEntry$ = dart.generic(E => { + var _DoubleLinkedQueueElementOfE = () => (_DoubleLinkedQueueElementOfE = dart.constFn(collection._DoubleLinkedQueueElement$(E)))(); + var _DoubleLinkedQueueEntryOfE = () => (_DoubleLinkedQueueEntryOfE = dart.constFn(collection._DoubleLinkedQueueEntry$(E)))(); + class _DoubleLinkedQueueEntry extends collection.DoubleLinkedQueueEntry$(E) { + [_append](e) { + E.as(e); + new (_DoubleLinkedQueueElementOfE()).new(e, this[_queue$])[_link](this, this[_nextLink$]); + } + [_prepend](e) { + E.as(e); + new (_DoubleLinkedQueueElementOfE()).new(e, this[_queue$])[_link](this[_previousLink$], this); + } + get [_element]() { + return E.as(super[_element]); + } + set [_element](value) { + super[_element] = value; + } + nextEntry() { + let entry = _DoubleLinkedQueueEntryOfE().as(this[_nextLink$]); + return entry[_asNonSentinelEntry](); + } + previousEntry() { + let entry = _DoubleLinkedQueueEntryOfE().as(this[_previousLink$]); + return entry[_asNonSentinelEntry](); + } + } + (_DoubleLinkedQueueEntry.new = function(element, _queue) { + this[_queue$] = _queue; + _DoubleLinkedQueueEntry.__proto__.new.call(this, element); + ; + }).prototype = _DoubleLinkedQueueEntry.prototype; + dart.addTypeTests(_DoubleLinkedQueueEntry); + _DoubleLinkedQueueEntry.prototype[_is__DoubleLinkedQueueEntry_default] = true; + dart.addTypeCaches(_DoubleLinkedQueueEntry); + dart.setMethodSignature(_DoubleLinkedQueueEntry, () => ({ + __proto__: dart.getMethods(_DoubleLinkedQueueEntry.__proto__), + [_append]: dart.fnType(dart.void, [dart.nullable(core.Object)]), + [_prepend]: dart.fnType(dart.void, [dart.nullable(core.Object)]) + })); + dart.setGetterSignature(_DoubleLinkedQueueEntry, () => ({ + __proto__: dart.getGetters(_DoubleLinkedQueueEntry.__proto__), + [_element]: E + })); + dart.setLibraryUri(_DoubleLinkedQueueEntry, I[24]); + dart.setFieldSignature(_DoubleLinkedQueueEntry, () => ({ + __proto__: dart.getFields(_DoubleLinkedQueueEntry.__proto__), + [_queue$]: dart.fieldType(dart.nullable(collection.DoubleLinkedQueue$(E))) + })); + return _DoubleLinkedQueueEntry; +}); +collection._DoubleLinkedQueueEntry = collection._DoubleLinkedQueueEntry$(); +dart.addTypeTests(collection._DoubleLinkedQueueEntry, _is__DoubleLinkedQueueEntry_default); +var _elementCount = dart.privateName(collection, "_elementCount"); +var _remove = dart.privateName(collection, "_remove"); +const _is__DoubleLinkedQueueElement_default = Symbol('_is__DoubleLinkedQueueElement_default'); +collection._DoubleLinkedQueueElement$ = dart.generic(E => { + class _DoubleLinkedQueueElement extends collection._DoubleLinkedQueueEntry$(E) { + append(e) { + let t171; + E.as(e); + this[_append](e); + if (this[_queue$] != null) { + t171 = dart.nullCheck(this[_queue$]); + t171[_elementCount] = dart.notNull(t171[_elementCount]) + 1; + } + } + prepend(e) { + let t171; + E.as(e); + this[_prepend](e); + if (this[_queue$] != null) { + t171 = dart.nullCheck(this[_queue$]); + t171[_elementCount] = dart.notNull(t171[_elementCount]) + 1; + } + } + [_remove]() { + this[_queue$] = null; + this[_unlink](); + return this.element; + } + remove() { + let t171; + if (this[_queue$] != null) { + t171 = dart.nullCheck(this[_queue$]); + t171[_elementCount] = dart.notNull(t171[_elementCount]) - 1; + } + return this[_remove](); + } + [_asNonSentinelEntry]() { + return this; + } + } + (_DoubleLinkedQueueElement.new = function(element, queue) { + _DoubleLinkedQueueElement.__proto__.new.call(this, element, queue); + ; + }).prototype = _DoubleLinkedQueueElement.prototype; + dart.addTypeTests(_DoubleLinkedQueueElement); + _DoubleLinkedQueueElement.prototype[_is__DoubleLinkedQueueElement_default] = true; + dart.addTypeCaches(_DoubleLinkedQueueElement); + dart.setMethodSignature(_DoubleLinkedQueueElement, () => ({ + __proto__: dart.getMethods(_DoubleLinkedQueueElement.__proto__), + [_remove]: dart.fnType(E, []), + [_asNonSentinelEntry]: dart.fnType(dart.nullable(collection._DoubleLinkedQueueElement$(E)), []) + })); + dart.setLibraryUri(_DoubleLinkedQueueElement, I[24]); + return _DoubleLinkedQueueElement; +}); +collection._DoubleLinkedQueueElement = collection._DoubleLinkedQueueElement$(); +dart.addTypeTests(collection._DoubleLinkedQueueElement, _is__DoubleLinkedQueueElement_default); +const _is__DoubleLinkedQueueSentinel_default = Symbol('_is__DoubleLinkedQueueSentinel_default'); +collection._DoubleLinkedQueueSentinel$ = dart.generic(E => { + class _DoubleLinkedQueueSentinel extends collection._DoubleLinkedQueueEntry$(E) { + [_asNonSentinelEntry]() { + return null; + } + [_remove]() { + dart.throw(_internal.IterableElementError.noElement()); + } + get [_element]() { + dart.throw(_internal.IterableElementError.noElement()); + } + set [_element](value) { + super[_element] = value; + } + } + (_DoubleLinkedQueueSentinel.new = function(queue) { + if (queue == null) dart.nullFailed(I[83], 247, 51, "queue"); + _DoubleLinkedQueueSentinel.__proto__.new.call(this, null, queue); + this[_previousLink$] = this; + this[_nextLink$] = this; + }).prototype = _DoubleLinkedQueueSentinel.prototype; + dart.addTypeTests(_DoubleLinkedQueueSentinel); + _DoubleLinkedQueueSentinel.prototype[_is__DoubleLinkedQueueSentinel_default] = true; + dart.addTypeCaches(_DoubleLinkedQueueSentinel); + dart.setMethodSignature(_DoubleLinkedQueueSentinel, () => ({ + __proto__: dart.getMethods(_DoubleLinkedQueueSentinel.__proto__), + [_asNonSentinelEntry]: dart.fnType(dart.nullable(collection.DoubleLinkedQueueEntry$(E)), []), + [_remove]: dart.fnType(E, []) + })); + dart.setLibraryUri(_DoubleLinkedQueueSentinel, I[24]); + return _DoubleLinkedQueueSentinel; +}); +collection._DoubleLinkedQueueSentinel = collection._DoubleLinkedQueueSentinel$(); +dart.addTypeTests(collection._DoubleLinkedQueueSentinel, _is__DoubleLinkedQueueSentinel_default); +var __DoubleLinkedQueue__sentinel = dart.privateName(collection, "_#DoubleLinkedQueue#_sentinel"); +var __DoubleLinkedQueue__sentinel_isSet = dart.privateName(collection, "_#DoubleLinkedQueue#_sentinel#isSet"); +var _sentinel = dart.privateName(collection, "_sentinel"); +const _is_DoubleLinkedQueue_default = Symbol('_is_DoubleLinkedQueue_default'); +collection.DoubleLinkedQueue$ = dart.generic(E => { + var _DoubleLinkedQueueSentinelOfE = () => (_DoubleLinkedQueueSentinelOfE = dart.constFn(collection._DoubleLinkedQueueSentinel$(E)))(); + var IterableOfE = () => (IterableOfE = dart.constFn(core.Iterable$(E)))(); + var _DoubleLinkedQueueEntryOfE = () => (_DoubleLinkedQueueEntryOfE = dart.constFn(collection._DoubleLinkedQueueEntry$(E)))(); + var _DoubleLinkedQueueElementOfE = () => (_DoubleLinkedQueueElementOfE = dart.constFn(collection._DoubleLinkedQueueElement$(E)))(); + var _DoubleLinkedQueueIteratorOfE = () => (_DoubleLinkedQueueIteratorOfE = dart.constFn(collection._DoubleLinkedQueueIterator$(E)))(); + class DoubleLinkedQueue extends core.Iterable$(E) { + get [_sentinel]() { + let t171; + if (!dart.test(this[__DoubleLinkedQueue__sentinel_isSet])) { + this[__DoubleLinkedQueue__sentinel] = new (_DoubleLinkedQueueSentinelOfE()).new(this); + this[__DoubleLinkedQueue__sentinel_isSet] = true; + } + t171 = this[__DoubleLinkedQueue__sentinel]; + return t171; + } + set [_sentinel](t171) { + if (t171 == null) dart.nullFailed(I[83], 271, 38, "null"); + this[__DoubleLinkedQueue__sentinel_isSet] = true; + this[__DoubleLinkedQueue__sentinel] = t171; + } + static from(elements) { + if (elements == null) dart.nullFailed(I[83], 291, 52, "elements"); + let list = new (collection.DoubleLinkedQueue$(E)).new(); + for (let e of elements) { + list.addLast(E.as(e)); + } + return list; + } + static of(elements) { + let t172; + if (elements == null) dart.nullFailed(I[83], 303, 44, "elements"); + t172 = new (collection.DoubleLinkedQueue$(E)).new(); + return (() => { + t172.addAll(elements); + return t172; + })(); + } + cast(R) { + return collection.Queue.castFrom(E, R, this); + } + get length() { + return this[_elementCount]; + } + addLast(value) { + E.as(value); + this[_sentinel][_prepend](value); + this[_elementCount] = dart.notNull(this[_elementCount]) + 1; + } + addFirst(value) { + E.as(value); + this[_sentinel][_append](value); + this[_elementCount] = dart.notNull(this[_elementCount]) + 1; + } + add(value) { + E.as(value); + this[_sentinel][_prepend](value); + this[_elementCount] = dart.notNull(this[_elementCount]) + 1; + } + addAll(iterable) { + IterableOfE().as(iterable); + if (iterable == null) dart.nullFailed(I[83], 324, 27, "iterable"); + for (let value of iterable) { + this[_sentinel][_prepend](value); + this[_elementCount] = dart.notNull(this[_elementCount]) + 1; + } + } + removeLast() { + let lastEntry = _DoubleLinkedQueueEntryOfE().as(this[_sentinel][_previousLink$]); + let result = lastEntry[_remove](); + this[_elementCount] = dart.notNull(this[_elementCount]) - 1; + return result; + } + removeFirst() { + let firstEntry = _DoubleLinkedQueueEntryOfE().as(this[_sentinel][_nextLink$]); + let result = firstEntry[_remove](); + this[_elementCount] = dart.notNull(this[_elementCount]) - 1; + return result; + } + remove(o) { + let entry = _DoubleLinkedQueueEntryOfE().as(this[_sentinel][_nextLink$]); + while (entry != this[_sentinel]) { + let equals = dart.equals(entry[_element], o); + if (this !== entry[_queue$]) { + dart.throw(new core.ConcurrentModificationError.new(this)); + } + if (equals) { + entry[_remove](); + this[_elementCount] = dart.notNull(this[_elementCount]) - 1; + return true; + } + entry = _DoubleLinkedQueueEntryOfE().as(entry[_nextLink$]); + } + return false; + } + [_filter](test, removeMatching) { + if (test == null) dart.nullFailed(I[83], 366, 21, "test"); + if (removeMatching == null) dart.nullFailed(I[83], 366, 43, "removeMatching"); + let entry = _DoubleLinkedQueueEntryOfE().as(this[_sentinel][_nextLink$]); + while (entry != this[_sentinel]) { + let matches = test(entry[_element]); + if (this !== entry[_queue$]) { + dart.throw(new core.ConcurrentModificationError.new(this)); + } + let next = dart.nullCheck(entry[_nextLink$]); + if (removeMatching == matches) { + entry[_remove](); + this[_elementCount] = dart.notNull(this[_elementCount]) - 1; + } + entry = _DoubleLinkedQueueEntryOfE().as(next); + } + } + removeWhere(test) { + if (test == null) dart.nullFailed(I[83], 384, 25, "test"); + this[_filter](test, true); + } + retainWhere(test) { + if (test == null) dart.nullFailed(I[83], 388, 25, "test"); + this[_filter](test, false); + } + get first() { + let firstEntry = dart.nullCheck(this[_sentinel][_nextLink$]); + return E.as(firstEntry[_element]); + } + get last() { + let lastEntry = dart.nullCheck(this[_sentinel][_previousLink$]); + return E.as(lastEntry[_element]); + } + get single() { + if (this[_sentinel][_nextLink$] == this[_sentinel][_previousLink$]) { + let entry = dart.nullCheck(this[_sentinel][_nextLink$]); + return E.as(entry[_element]); + } + dart.throw(_internal.IterableElementError.tooMany()); + } + firstEntry() { + return this[_sentinel].nextEntry(); + } + lastEntry() { + return this[_sentinel].previousEntry(); + } + get isEmpty() { + return this[_sentinel][_nextLink$] == this[_sentinel]; + } + clear() { + this[_sentinel][_nextLink$] = this[_sentinel]; + this[_sentinel][_previousLink$] = this[_sentinel]; + this[_elementCount] = 0; + } + forEachEntry(action) { + if (action == null) dart.nullFailed(I[83], 466, 26, "action"); + let entry = _DoubleLinkedQueueEntryOfE().as(this[_sentinel][_nextLink$]); + while (entry != this[_sentinel]) { + let element = _DoubleLinkedQueueElementOfE().as(entry); + let next = _DoubleLinkedQueueEntryOfE().as(element[_nextLink$]); + action(element); + if (this === entry[_queue$]) { + next = _DoubleLinkedQueueEntryOfE().as(entry[_nextLink$]); + } else if (this !== next[_queue$]) { + dart.throw(new core.ConcurrentModificationError.new(this)); + } + entry = next; + } + } + get iterator() { + return new (_DoubleLinkedQueueIteratorOfE()).new(this[_sentinel]); + } + toString() { + return collection.IterableBase.iterableToFullString(this, "{", "}"); + } + } + (DoubleLinkedQueue.new = function() { + this[__DoubleLinkedQueue__sentinel] = null; + this[__DoubleLinkedQueue__sentinel_isSet] = false; + this[_elementCount] = 0; + DoubleLinkedQueue.__proto__.new.call(this); + ; + }).prototype = DoubleLinkedQueue.prototype; + dart.addTypeTests(DoubleLinkedQueue); + DoubleLinkedQueue.prototype[_is_DoubleLinkedQueue_default] = true; + dart.addTypeCaches(DoubleLinkedQueue); + DoubleLinkedQueue[dart.implements] = () => [collection.Queue$(E)]; + dart.setMethodSignature(DoubleLinkedQueue, () => ({ + __proto__: dart.getMethods(DoubleLinkedQueue.__proto__), + cast: dart.gFnType(R => [collection.Queue$(R), []], R => [dart.nullable(core.Object)]), + [$cast]: dart.gFnType(R => [collection.Queue$(R), []], R => [dart.nullable(core.Object)]), + addLast: dart.fnType(dart.void, [dart.nullable(core.Object)]), + addFirst: dart.fnType(dart.void, [dart.nullable(core.Object)]), + add: dart.fnType(dart.void, [dart.nullable(core.Object)]), + addAll: dart.fnType(dart.void, [dart.nullable(core.Object)]), + removeLast: dart.fnType(E, []), + removeFirst: dart.fnType(E, []), + remove: dart.fnType(core.bool, [dart.nullable(core.Object)]), + [_filter]: dart.fnType(dart.void, [dart.fnType(core.bool, [E]), core.bool]), + removeWhere: dart.fnType(dart.void, [dart.fnType(core.bool, [E])]), + retainWhere: dart.fnType(dart.void, [dart.fnType(core.bool, [E])]), + firstEntry: dart.fnType(dart.nullable(collection.DoubleLinkedQueueEntry$(E)), []), + lastEntry: dart.fnType(dart.nullable(collection.DoubleLinkedQueueEntry$(E)), []), + clear: dart.fnType(dart.void, []), + forEachEntry: dart.fnType(dart.void, [dart.fnType(dart.void, [collection.DoubleLinkedQueueEntry$(E)])]) + })); + dart.setGetterSignature(DoubleLinkedQueue, () => ({ + __proto__: dart.getGetters(DoubleLinkedQueue.__proto__), + [_sentinel]: collection._DoubleLinkedQueueSentinel$(E), + iterator: collection._DoubleLinkedQueueIterator$(E), + [$iterator]: collection._DoubleLinkedQueueIterator$(E) + })); + dart.setSetterSignature(DoubleLinkedQueue, () => ({ + __proto__: dart.getSetters(DoubleLinkedQueue.__proto__), + [_sentinel]: collection._DoubleLinkedQueueSentinel$(E) + })); + dart.setLibraryUri(DoubleLinkedQueue, I[24]); + dart.setFieldSignature(DoubleLinkedQueue, () => ({ + __proto__: dart.getFields(DoubleLinkedQueue.__proto__), + [__DoubleLinkedQueue__sentinel]: dart.fieldType(dart.nullable(collection._DoubleLinkedQueueSentinel$(E))), + [__DoubleLinkedQueue__sentinel_isSet]: dart.fieldType(core.bool), + [_elementCount]: dart.fieldType(core.int) + })); + dart.defineExtensionMethods(DoubleLinkedQueue, ['cast', 'toString']); + dart.defineExtensionAccessors(DoubleLinkedQueue, [ + 'length', + 'first', + 'last', + 'single', + 'isEmpty', + 'iterator' + ]); + return DoubleLinkedQueue; +}); +collection.DoubleLinkedQueue = collection.DoubleLinkedQueue$(); +dart.addTypeTests(collection.DoubleLinkedQueue, _is_DoubleLinkedQueue_default); +var _nextEntry = dart.privateName(collection, "_nextEntry"); +const _is__DoubleLinkedQueueIterator_default = Symbol('_is__DoubleLinkedQueueIterator_default'); +collection._DoubleLinkedQueueIterator$ = dart.generic(E => { + var _DoubleLinkedQueueEntryOfE = () => (_DoubleLinkedQueueEntryOfE = dart.constFn(collection._DoubleLinkedQueueEntry$(E)))(); + class _DoubleLinkedQueueIterator extends core.Object { + moveNext() { + if (this[_nextEntry] == this[_sentinel]) { + this[_current$1] = null; + this[_nextEntry] = null; + this[_sentinel] = null; + return false; + } + let elementEntry = _DoubleLinkedQueueEntryOfE().as(this[_nextEntry]); + if (dart.nullCheck(this[_sentinel])[_queue$] != elementEntry[_queue$]) { + dart.throw(new core.ConcurrentModificationError.new(dart.nullCheck(this[_sentinel])[_queue$])); + } + this[_current$1] = elementEntry[_element]; + this[_nextEntry] = elementEntry[_nextLink$]; + return true; + } + get current() { + return E.as(this[_current$1]); + } + } + (_DoubleLinkedQueueIterator.new = function(sentinel) { + if (sentinel == null) dart.nullFailed(I[83], 500, 60, "sentinel"); + this[_current$1] = null; + this[_sentinel] = sentinel; + this[_nextEntry] = sentinel[_nextLink$]; + ; + }).prototype = _DoubleLinkedQueueIterator.prototype; + dart.addTypeTests(_DoubleLinkedQueueIterator); + _DoubleLinkedQueueIterator.prototype[_is__DoubleLinkedQueueIterator_default] = true; + dart.addTypeCaches(_DoubleLinkedQueueIterator); + _DoubleLinkedQueueIterator[dart.implements] = () => [core.Iterator$(E)]; + dart.setMethodSignature(_DoubleLinkedQueueIterator, () => ({ + __proto__: dart.getMethods(_DoubleLinkedQueueIterator.__proto__), + moveNext: dart.fnType(core.bool, []) + })); + dart.setGetterSignature(_DoubleLinkedQueueIterator, () => ({ + __proto__: dart.getGetters(_DoubleLinkedQueueIterator.__proto__), + current: E + })); + dart.setLibraryUri(_DoubleLinkedQueueIterator, I[24]); + dart.setFieldSignature(_DoubleLinkedQueueIterator, () => ({ + __proto__: dart.getFields(_DoubleLinkedQueueIterator.__proto__), + [_sentinel]: dart.fieldType(dart.nullable(collection._DoubleLinkedQueueSentinel$(E))), + [_nextEntry]: dart.fieldType(dart.nullable(collection.DoubleLinkedQueueEntry$(E))), + [_current$1]: dart.fieldType(dart.nullable(E)) + })); + return _DoubleLinkedQueueIterator; +}); +collection._DoubleLinkedQueueIterator = collection._DoubleLinkedQueueIterator$(); +dart.addTypeTests(collection._DoubleLinkedQueueIterator, _is__DoubleLinkedQueueIterator_default); +var _head = dart.privateName(collection, "_head"); +var _tail = dart.privateName(collection, "_tail"); +var _table = dart.privateName(collection, "_table"); +var _checkModification = dart.privateName(collection, "_checkModification"); +var _add$ = dart.privateName(collection, "_add"); +var _preGrow = dart.privateName(collection, "_preGrow"); +var _filterWhere = dart.privateName(collection, "_filterWhere"); +var _grow$ = dart.privateName(collection, "_grow"); +var _writeToList = dart.privateName(collection, "_writeToList"); +const _is_ListQueue_default = Symbol('_is_ListQueue_default'); +collection.ListQueue$ = dart.generic(E => { + var EN = () => (EN = dart.constFn(dart.nullable(E)))(); + var ListOfEN = () => (ListOfEN = dart.constFn(core.List$(EN())))(); + var _ListQueueIteratorOfE = () => (_ListQueueIteratorOfE = dart.constFn(collection._ListQueueIterator$(E)))(); + var ListOfE = () => (ListOfE = dart.constFn(core.List$(E)))(); + var IterableOfE = () => (IterableOfE = dart.constFn(core.Iterable$(E)))(); + class ListQueue extends _internal.ListIterable$(E) { + static _calculateCapacity(initialCapacity) { + if (initialCapacity == null || dart.notNull(initialCapacity) < 8) { + return 8; + } else if (!dart.test(collection.ListQueue._isPowerOf2(initialCapacity))) { + return collection.ListQueue._nextPowerOf2(initialCapacity); + } + if (!dart.test(collection.ListQueue._isPowerOf2(initialCapacity))) dart.assertFailed(null, I[83], 553, 12, "_isPowerOf2(initialCapacity)"); + return initialCapacity; + } + static from(elements) { + if (elements == null) dart.nullFailed(I[83], 570, 44, "elements"); + if (core.List.is(elements)) { + let length = elements[$length]; + let queue = new (collection.ListQueue$(E)).new(dart.notNull(length) + 1); + if (!(dart.notNull(queue[_table][$length]) > dart.notNull(length))) dart.assertFailed(null, I[83], 574, 14, "queue._table.length > length"); + for (let i = 0; i < dart.notNull(length); i = i + 1) { + queue[_table][$_set](i, E.as(elements[$_get](i))); + } + queue[_tail] = length; + return queue; + } else { + let capacity = 8; + if (_internal.EfficientLengthIterable.is(elements)) { + capacity = elements[$length]; + } + let result = new (collection.ListQueue$(E)).new(capacity); + for (let element of elements) { + result.addLast(E.as(element)); + } + return result; + } + } + static of(elements) { + let t172; + if (elements == null) dart.nullFailed(I[83], 597, 36, "elements"); + t172 = new (collection.ListQueue$(E)).new(); + return (() => { + t172.addAll(elements); + return t172; + })(); + } + cast(R) { + return collection.Queue.castFrom(E, R, this); + } + get iterator() { + return new (_ListQueueIteratorOfE()).new(this); + } + forEach(f) { + if (f == null) dart.nullFailed(I[83], 605, 21, "f"); + let modificationCount = this[_modificationCount]; + for (let i = this[_head]; i != this[_tail]; i = (dart.notNull(i) + 1 & dart.notNull(this[_table][$length]) - 1) >>> 0) { + f(E.as(this[_table][$_get](i))); + this[_checkModification](modificationCount); + } + } + get isEmpty() { + return this[_head] == this[_tail]; + } + get length() { + return (dart.notNull(this[_tail]) - dart.notNull(this[_head]) & dart.notNull(this[_table][$length]) - 1) >>> 0; + } + get first() { + if (this[_head] == this[_tail]) dart.throw(_internal.IterableElementError.noElement()); + return E.as(this[_table][$_get](this[_head])); + } + get last() { + if (this[_head] == this[_tail]) dart.throw(_internal.IterableElementError.noElement()); + return E.as(this[_table][$_get]((dart.notNull(this[_tail]) - 1 & dart.notNull(this[_table][$length]) - 1) >>> 0)); + } + get single() { + if (this[_head] == this[_tail]) dart.throw(_internal.IterableElementError.noElement()); + if (dart.notNull(this.length) > 1) dart.throw(_internal.IterableElementError.tooMany()); + return E.as(this[_table][$_get](this[_head])); + } + elementAt(index) { + if (index == null) dart.nullFailed(I[83], 633, 19, "index"); + core.RangeError.checkValidIndex(index, this); + return E.as(this[_table][$_get]((dart.notNull(this[_head]) + dart.notNull(index) & dart.notNull(this[_table][$length]) - 1) >>> 0)); + } + toList(opts) { + let growable = opts && 'growable' in opts ? opts.growable : true; + if (growable == null) dart.nullFailed(I[83], 638, 24, "growable"); + let mask = dart.notNull(this[_table][$length]) - 1; + let length = (dart.notNull(this[_tail]) - dart.notNull(this[_head]) & mask) >>> 0; + if (length === 0) return ListOfE().empty({growable: growable}); + let list = ListOfE().filled(length, this.first, {growable: growable}); + for (let i = 0; i < length; i = i + 1) { + list[$_set](i, E.as(this[_table][$_get]((dart.notNull(this[_head]) + i & mask) >>> 0))); + } + return list; + } + add(value) { + E.as(value); + this[_add$](value); + } + addAll(elements) { + IterableOfE().as(elements); + if (elements == null) dart.nullFailed(I[83], 656, 27, "elements"); + if (ListOfE().is(elements)) { + let list = elements; + let addCount = list[$length]; + let length = this.length; + if (dart.notNull(length) + dart.notNull(addCount) >= dart.notNull(this[_table][$length])) { + this[_preGrow](dart.notNull(length) + dart.notNull(addCount)); + this[_table][$setRange](length, dart.notNull(length) + dart.notNull(addCount), list, 0); + this[_tail] = dart.notNull(this[_tail]) + dart.notNull(addCount); + } else { + let endSpace = dart.notNull(this[_table][$length]) - dart.notNull(this[_tail]); + if (dart.notNull(addCount) < endSpace) { + this[_table][$setRange](this[_tail], dart.notNull(this[_tail]) + dart.notNull(addCount), list, 0); + this[_tail] = dart.notNull(this[_tail]) + dart.notNull(addCount); + } else { + let preSpace = dart.notNull(addCount) - endSpace; + this[_table][$setRange](this[_tail], dart.notNull(this[_tail]) + endSpace, list, 0); + this[_table][$setRange](0, preSpace, list, endSpace); + this[_tail] = preSpace; + } + } + this[_modificationCount] = dart.notNull(this[_modificationCount]) + 1; + } else { + for (let element of elements) + this[_add$](element); + } + } + remove(value) { + for (let i = this[_head]; i != this[_tail]; i = (dart.notNull(i) + 1 & dart.notNull(this[_table][$length]) - 1) >>> 0) { + let element = this[_table][$_get](i); + if (dart.equals(element, value)) { + this[_remove](i); + this[_modificationCount] = dart.notNull(this[_modificationCount]) + 1; + return true; + } + } + return false; + } + [_filterWhere](test, removeMatching) { + if (test == null) dart.nullFailed(I[83], 697, 26, "test"); + if (removeMatching == null) dart.nullFailed(I[83], 697, 48, "removeMatching"); + let modificationCount = this[_modificationCount]; + let i = this[_head]; + while (i != this[_tail]) { + let element = E.as(this[_table][$_get](i)); + let remove = removeMatching == test(element); + this[_checkModification](modificationCount); + if (remove) { + i = this[_remove](i); + modificationCount = this[_modificationCount] = dart.notNull(this[_modificationCount]) + 1; + } else { + i = (dart.notNull(i) + 1 & dart.notNull(this[_table][$length]) - 1) >>> 0; + } + } + } + removeWhere(test) { + if (test == null) dart.nullFailed(I[83], 717, 25, "test"); + this[_filterWhere](test, true); + } + retainWhere(test) { + if (test == null) dart.nullFailed(I[83], 725, 25, "test"); + this[_filterWhere](test, false); + } + clear() { + if (this[_head] != this[_tail]) { + for (let i = this[_head]; i != this[_tail]; i = (dart.notNull(i) + 1 & dart.notNull(this[_table][$length]) - 1) >>> 0) { + this[_table][$_set](i, null); + } + this[_head] = this[_tail] = 0; + this[_modificationCount] = dart.notNull(this[_modificationCount]) + 1; + } + } + toString() { + return collection.IterableBase.iterableToFullString(this, "{", "}"); + } + addLast(value) { + E.as(value); + this[_add$](value); + } + addFirst(value) { + E.as(value); + this[_head] = (dart.notNull(this[_head]) - 1 & dart.notNull(this[_table][$length]) - 1) >>> 0; + this[_table][$_set](this[_head], value); + if (this[_head] == this[_tail]) this[_grow$](); + this[_modificationCount] = dart.notNull(this[_modificationCount]) + 1; + } + removeFirst() { + if (this[_head] == this[_tail]) dart.throw(_internal.IterableElementError.noElement()); + this[_modificationCount] = dart.notNull(this[_modificationCount]) + 1; + let result = E.as(this[_table][$_get](this[_head])); + this[_table][$_set](this[_head], null); + this[_head] = (dart.notNull(this[_head]) + 1 & dart.notNull(this[_table][$length]) - 1) >>> 0; + return result; + } + removeLast() { + if (this[_head] == this[_tail]) dart.throw(_internal.IterableElementError.noElement()); + this[_modificationCount] = dart.notNull(this[_modificationCount]) + 1; + this[_tail] = (dart.notNull(this[_tail]) - 1 & dart.notNull(this[_table][$length]) - 1) >>> 0; + let result = E.as(this[_table][$_get](this[_tail])); + this[_table][$_set](this[_tail], null); + return result; + } + static _isPowerOf2(number) { + if (number == null) dart.nullFailed(I[83], 777, 31, "number"); + return (dart.notNull(number) & dart.notNull(number) - 1) === 0; + } + static _nextPowerOf2(number) { + if (number == null) dart.nullFailed(I[83], 784, 32, "number"); + if (!(dart.notNull(number) > 0)) dart.assertFailed(null, I[83], 785, 12, "number > 0"); + number = (dart.notNull(number) << 1 >>> 0) - 1; + for (;;) { + let nextNumber = (dart.notNull(number) & dart.notNull(number) - 1) >>> 0; + if (nextNumber === 0) return number; + number = nextNumber; + } + } + [_checkModification](expectedModificationCount) { + if (expectedModificationCount == null) dart.nullFailed(I[83], 795, 31, "expectedModificationCount"); + if (expectedModificationCount != this[_modificationCount]) { + dart.throw(new core.ConcurrentModificationError.new(this)); + } + } + [_add$](element) { + this[_table][$_set](this[_tail], element); + this[_tail] = (dart.notNull(this[_tail]) + 1 & dart.notNull(this[_table][$length]) - 1) >>> 0; + if (this[_head] == this[_tail]) this[_grow$](); + this[_modificationCount] = dart.notNull(this[_modificationCount]) + 1; + } + [_remove](offset) { + if (offset == null) dart.nullFailed(I[83], 817, 19, "offset"); + let mask = dart.notNull(this[_table][$length]) - 1; + let startDistance = (dart.notNull(offset) - dart.notNull(this[_head]) & mask) >>> 0; + let endDistance = (dart.notNull(this[_tail]) - dart.notNull(offset) & mask) >>> 0; + if (startDistance < endDistance) { + let i = offset; + while (i != this[_head]) { + let prevOffset = (dart.notNull(i) - 1 & mask) >>> 0; + this[_table][$_set](i, this[_table][$_get](prevOffset)); + i = prevOffset; + } + this[_table][$_set](this[_head], null); + this[_head] = (dart.notNull(this[_head]) + 1 & mask) >>> 0; + return (dart.notNull(offset) + 1 & mask) >>> 0; + } else { + this[_tail] = (dart.notNull(this[_tail]) - 1 & mask) >>> 0; + let i = offset; + while (i != this[_tail]) { + let nextOffset = (dart.notNull(i) + 1 & mask) >>> 0; + this[_table][$_set](i, this[_table][$_get](nextOffset)); + i = nextOffset; + } + this[_table][$_set](this[_tail], null); + return offset; + } + } + [_grow$]() { + let newTable = ListOfEN().filled(dart.notNull(this[_table][$length]) * 2, null); + let split = dart.notNull(this[_table][$length]) - dart.notNull(this[_head]); + newTable[$setRange](0, split, this[_table], this[_head]); + newTable[$setRange](split, split + dart.notNull(this[_head]), this[_table], 0); + this[_head] = 0; + this[_tail] = this[_table][$length]; + this[_table] = newTable; + } + [_writeToList](target) { + if (target == null) dart.nullFailed(I[83], 856, 29, "target"); + if (!(dart.notNull(target[$length]) >= dart.notNull(this.length))) dart.assertFailed(null, I[83], 857, 12, "target.length >= length"); + if (dart.notNull(this[_head]) <= dart.notNull(this[_tail])) { + let length = dart.notNull(this[_tail]) - dart.notNull(this[_head]); + target[$setRange](0, length, this[_table], this[_head]); + return length; + } else { + let firstPartSize = dart.notNull(this[_table][$length]) - dart.notNull(this[_head]); + target[$setRange](0, firstPartSize, this[_table], this[_head]); + target[$setRange](firstPartSize, firstPartSize + dart.notNull(this[_tail]), this[_table], 0); + return dart.notNull(this[_tail]) + firstPartSize; + } + } + [_preGrow](newElementCount) { + if (newElementCount == null) dart.nullFailed(I[83], 871, 21, "newElementCount"); + if (!(dart.notNull(newElementCount) >= dart.notNull(this.length))) dart.assertFailed(null, I[83], 872, 12, "newElementCount >= length"); + newElementCount = dart.notNull(newElementCount) + newElementCount[$rightShift](1); + let newCapacity = collection.ListQueue._nextPowerOf2(newElementCount); + let newTable = ListOfEN().filled(newCapacity, null); + this[_tail] = this[_writeToList](newTable); + this[_table] = newTable; + this[_head] = 0; + } + } + (ListQueue.new = function(initialCapacity = null) { + this[_modificationCount] = 0; + this[_head] = 0; + this[_tail] = 0; + this[_table] = ListOfEN().filled(collection.ListQueue._calculateCapacity(initialCapacity), null); + ListQueue.__proto__.new.call(this); + ; + }).prototype = ListQueue.prototype; + dart.addTypeTests(ListQueue); + ListQueue.prototype[_is_ListQueue_default] = true; + dart.addTypeCaches(ListQueue); + ListQueue[dart.implements] = () => [collection.Queue$(E)]; + dart.setMethodSignature(ListQueue, () => ({ + __proto__: dart.getMethods(ListQueue.__proto__), + cast: dart.gFnType(R => [collection.Queue$(R), []], R => [dart.nullable(core.Object)]), + [$cast]: dart.gFnType(R => [collection.Queue$(R), []], R => [dart.nullable(core.Object)]), + add: dart.fnType(dart.void, [dart.nullable(core.Object)]), + addAll: dart.fnType(dart.void, [dart.nullable(core.Object)]), + remove: dart.fnType(core.bool, [dart.nullable(core.Object)]), + [_filterWhere]: dart.fnType(dart.void, [dart.fnType(core.bool, [E]), core.bool]), + removeWhere: dart.fnType(dart.void, [dart.fnType(core.bool, [E])]), + retainWhere: dart.fnType(dart.void, [dart.fnType(core.bool, [E])]), + clear: dart.fnType(dart.void, []), + addLast: dart.fnType(dart.void, [dart.nullable(core.Object)]), + addFirst: dart.fnType(dart.void, [dart.nullable(core.Object)]), + removeFirst: dart.fnType(E, []), + removeLast: dart.fnType(E, []), + [_checkModification]: dart.fnType(dart.void, [core.int]), + [_add$]: dart.fnType(dart.void, [E]), + [_remove]: dart.fnType(core.int, [core.int]), + [_grow$]: dart.fnType(dart.void, []), + [_writeToList]: dart.fnType(core.int, [core.List$(dart.nullable(E))]), + [_preGrow]: dart.fnType(dart.void, [core.int]) + })); + dart.setLibraryUri(ListQueue, I[24]); + dart.setFieldSignature(ListQueue, () => ({ + __proto__: dart.getFields(ListQueue.__proto__), + [_table]: dart.fieldType(core.List$(dart.nullable(E))), + [_head]: dart.fieldType(core.int), + [_tail]: dart.fieldType(core.int), + [_modificationCount]: dart.fieldType(core.int) + })); + dart.defineExtensionMethods(ListQueue, [ + 'cast', + 'forEach', + 'elementAt', + 'toList', + 'toString' + ]); + dart.defineExtensionAccessors(ListQueue, [ + 'iterator', + 'isEmpty', + 'length', + 'first', + 'last', + 'single' + ]); + return ListQueue; +}); +collection.ListQueue = collection.ListQueue$(); +dart.defineLazy(collection.ListQueue, { + /*collection.ListQueue._INITIAL_CAPACITY*/get _INITIAL_CAPACITY() { + return 8; + } +}, false); +dart.addTypeTests(collection.ListQueue, _is_ListQueue_default); +var _end = dart.privateName(collection, "_end"); +var _position = dart.privateName(collection, "_position"); +const _is__ListQueueIterator_default = Symbol('_is__ListQueueIterator_default'); +collection._ListQueueIterator$ = dart.generic(E => { + class _ListQueueIterator extends core.Object { + get current() { + return E.as(this[_current$1]); + } + moveNext() { + this[_queue$][_checkModification](this[_modificationCount]); + if (this[_position] == this[_end]) { + this[_current$1] = null; + return false; + } + this[_current$1] = this[_queue$][_table][$_get](this[_position]); + this[_position] = (dart.notNull(this[_position]) + 1 & dart.notNull(this[_queue$][_table][$length]) - 1) >>> 0; + return true; + } + } + (_ListQueueIterator.new = function(queue) { + if (queue == null) dart.nullFailed(I[83], 895, 35, "queue"); + this[_current$1] = null; + this[_queue$] = queue; + this[_end] = queue[_tail]; + this[_modificationCount] = queue[_modificationCount]; + this[_position] = queue[_head]; + ; + }).prototype = _ListQueueIterator.prototype; + dart.addTypeTests(_ListQueueIterator); + _ListQueueIterator.prototype[_is__ListQueueIterator_default] = true; + dart.addTypeCaches(_ListQueueIterator); + _ListQueueIterator[dart.implements] = () => [core.Iterator$(E)]; + dart.setMethodSignature(_ListQueueIterator, () => ({ + __proto__: dart.getMethods(_ListQueueIterator.__proto__), + moveNext: dart.fnType(core.bool, []) + })); + dart.setGetterSignature(_ListQueueIterator, () => ({ + __proto__: dart.getGetters(_ListQueueIterator.__proto__), + current: E + })); + dart.setLibraryUri(_ListQueueIterator, I[24]); + dart.setFieldSignature(_ListQueueIterator, () => ({ + __proto__: dart.getFields(_ListQueueIterator.__proto__), + [_queue$]: dart.finalFieldType(collection.ListQueue$(E)), + [_end]: dart.finalFieldType(core.int), + [_modificationCount]: dart.finalFieldType(core.int), + [_position]: dart.fieldType(core.int), + [_current$1]: dart.fieldType(dart.nullable(E)) + })); + return _ListQueueIterator; +}); +collection._ListQueueIterator = collection._ListQueueIterator$(); +dart.addTypeTests(collection._ListQueueIterator, _is__ListQueueIterator_default); +const _is_SetBase_default = Symbol('_is_SetBase_default'); +collection.SetBase$ = dart.generic(E => { + const Object_SetMixin$36 = class Object_SetMixin extends core.Object {}; + (Object_SetMixin$36.new = function() { + }).prototype = Object_SetMixin$36.prototype; + dart.applyMixin(Object_SetMixin$36, collection.SetMixin$(E)); + class SetBase extends Object_SetMixin$36 { + static setToString(set) { + if (set == null) dart.nullFailed(I[75], 306, 33, "set"); + return collection.IterableBase.iterableToFullString(set, "{", "}"); + } + } + (SetBase.new = function() { + ; + }).prototype = SetBase.prototype; + dart.addTypeTests(SetBase); + SetBase.prototype[_is_SetBase_default] = true; + dart.addTypeCaches(SetBase); + dart.setLibraryUri(SetBase, I[24]); + return SetBase; +}); +collection.SetBase = collection.SetBase$(); +dart.addTypeTests(collection.SetBase, _is_SetBase_default); +const _is__UnmodifiableSetMixin_default = Symbol('_is__UnmodifiableSetMixin_default'); +collection._UnmodifiableSetMixin$ = dart.generic(E => { + var IterableOfE = () => (IterableOfE = dart.constFn(core.Iterable$(E)))(); + class _UnmodifiableSetMixin extends core.Object { + static _throwUnmodifiable() { + dart.throw(new core.UnsupportedError.new("Cannot change an unmodifiable set")); + } + add(value) { + E.as(value); + collection._UnmodifiableSetMixin._throwUnmodifiable(); + return dart.throw(new _internal.ReachabilityError.new("`null` encountered as the result from expression with type `Never`.")); + } + clear() { + collection._UnmodifiableSetMixin._throwUnmodifiable(); + return dart.throw(new _internal.ReachabilityError.new("`null` encountered as the result from expression with type `Never`.")); + } + addAll(elements) { + IterableOfE().as(elements); + if (elements == null) dart.nullFailed(I[75], 355, 27, "elements"); + collection._UnmodifiableSetMixin._throwUnmodifiable(); + return dart.throw(new _internal.ReachabilityError.new("`null` encountered as the result from expression with type `Never`.")); + } + removeAll(elements) { + if (elements == null) dart.nullFailed(I[75], 358, 36, "elements"); + collection._UnmodifiableSetMixin._throwUnmodifiable(); + return dart.throw(new _internal.ReachabilityError.new("`null` encountered as the result from expression with type `Never`.")); + } + retainAll(elements) { + if (elements == null) dart.nullFailed(I[75], 361, 36, "elements"); + collection._UnmodifiableSetMixin._throwUnmodifiable(); + return dart.throw(new _internal.ReachabilityError.new("`null` encountered as the result from expression with type `Never`.")); + } + removeWhere(test) { + if (test == null) dart.nullFailed(I[75], 364, 25, "test"); + collection._UnmodifiableSetMixin._throwUnmodifiable(); + return dart.throw(new _internal.ReachabilityError.new("`null` encountered as the result from expression with type `Never`.")); + } + retainWhere(test) { + if (test == null) dart.nullFailed(I[75], 367, 25, "test"); + collection._UnmodifiableSetMixin._throwUnmodifiable(); + return dart.throw(new _internal.ReachabilityError.new("`null` encountered as the result from expression with type `Never`.")); + } + remove(value) { + collection._UnmodifiableSetMixin._throwUnmodifiable(); + return dart.throw(new _internal.ReachabilityError.new("`null` encountered as the result from expression with type `Never`.")); + } + [Symbol.iterator]() { + return new dart.JsIterator(this[$iterator]); + } + } + (_UnmodifiableSetMixin.new = function() { + ; + }).prototype = _UnmodifiableSetMixin.prototype; + dart.addTypeTests(_UnmodifiableSetMixin); + _UnmodifiableSetMixin.prototype[_is__UnmodifiableSetMixin_default] = true; + dart.addTypeCaches(_UnmodifiableSetMixin); + _UnmodifiableSetMixin[dart.implements] = () => [core.Set$(E)]; + dart.setMethodSignature(_UnmodifiableSetMixin, () => ({ + __proto__: dart.getMethods(_UnmodifiableSetMixin.__proto__), + add: dart.fnType(core.bool, [dart.nullable(core.Object)]), + clear: dart.fnType(dart.void, []), + addAll: dart.fnType(dart.void, [dart.nullable(core.Object)]), + removeAll: dart.fnType(dart.void, [core.Iterable$(dart.nullable(core.Object))]), + retainAll: dart.fnType(dart.void, [core.Iterable$(dart.nullable(core.Object))]), + removeWhere: dart.fnType(dart.void, [dart.fnType(core.bool, [E])]), + retainWhere: dart.fnType(dart.void, [dart.fnType(core.bool, [E])]), + remove: dart.fnType(core.bool, [dart.nullable(core.Object)]) + })); + dart.setLibraryUri(_UnmodifiableSetMixin, I[24]); + return _UnmodifiableSetMixin; +}); +collection._UnmodifiableSetMixin = collection._UnmodifiableSetMixin$(); +dart.addTypeTests(collection._UnmodifiableSetMixin, _is__UnmodifiableSetMixin_default); +var _map$9 = dart.privateName(collection, "_UnmodifiableSet._map"); +const _is__UnmodifiableSet_default = Symbol('_is__UnmodifiableSet_default'); +collection._UnmodifiableSet$ = dart.generic(E => { + var _HashSetOfE = () => (_HashSetOfE = dart.constFn(collection._HashSet$(E)))(); + const _SetBase__UnmodifiableSetMixin$36 = class _SetBase__UnmodifiableSetMixin extends collection._SetBase$(E) {}; + (_SetBase__UnmodifiableSetMixin$36.new = function() { + _SetBase__UnmodifiableSetMixin$36.__proto__.new.call(this); + }).prototype = _SetBase__UnmodifiableSetMixin$36.prototype; + dart.applyMixin(_SetBase__UnmodifiableSetMixin$36, collection._UnmodifiableSetMixin$(E)); + class _UnmodifiableSet extends _SetBase__UnmodifiableSetMixin$36 { + get [_map$5]() { + return this[_map$9]; + } + set [_map$5](value) { + super[_map$5] = value; + } + [_newSet]() { + return new (_HashSetOfE()).new(); + } + [_newSimilarSet](R) { + return new (collection._HashSet$(R)).new(); + } + contains(element) { + return this[_map$5][$containsKey](element); + } + get iterator() { + return this[_map$5][$keys][$iterator]; + } + get length() { + return this[_map$5][$length]; + } + lookup(element) { + for (let key of this[_map$5][$keys]) { + if (dart.equals(key, element)) return key; + } + return null; + } + } + (_UnmodifiableSet.new = function(_map) { + if (_map == null) dart.nullFailed(I[75], 377, 31, "_map"); + this[_map$9] = _map; + _UnmodifiableSet.__proto__.new.call(this); + ; + }).prototype = _UnmodifiableSet.prototype; + dart.addTypeTests(_UnmodifiableSet); + _UnmodifiableSet.prototype[_is__UnmodifiableSet_default] = true; + dart.addTypeCaches(_UnmodifiableSet); + dart.setMethodSignature(_UnmodifiableSet, () => ({ + __proto__: dart.getMethods(_UnmodifiableSet.__proto__), + [_newSet]: dart.fnType(core.Set$(E), []), + [_newSimilarSet]: dart.gFnType(R => [core.Set$(R), []], R => [dart.nullable(core.Object)]), + contains: dart.fnType(core.bool, [dart.nullable(core.Object)]), + [$contains]: dart.fnType(core.bool, [dart.nullable(core.Object)]), + lookup: dart.fnType(dart.nullable(E), [dart.nullable(core.Object)]) + })); + dart.setGetterSignature(_UnmodifiableSet, () => ({ + __proto__: dart.getGetters(_UnmodifiableSet.__proto__), + iterator: core.Iterator$(E), + [$iterator]: core.Iterator$(E), + length: core.int, + [$length]: core.int + })); + dart.setLibraryUri(_UnmodifiableSet, I[24]); + dart.setFieldSignature(_UnmodifiableSet, () => ({ + __proto__: dart.getFields(_UnmodifiableSet.__proto__), + [_map$5]: dart.finalFieldType(core.Map$(E, core.Null)) + })); + dart.defineExtensionMethods(_UnmodifiableSet, ['contains']); + dart.defineExtensionAccessors(_UnmodifiableSet, ['iterator', 'length']); + return _UnmodifiableSet; +}); +collection._UnmodifiableSet = collection._UnmodifiableSet$(); +dart.addTypeTests(collection._UnmodifiableSet, _is__UnmodifiableSet_default); +const _is_UnmodifiableSetView_default = Symbol('_is_UnmodifiableSetView_default'); +collection.UnmodifiableSetView$ = dart.generic(E => { + const SetBase__UnmodifiableSetMixin$36 = class SetBase__UnmodifiableSetMixin extends collection.SetBase$(E) {}; + (SetBase__UnmodifiableSetMixin$36.new = function() { + }).prototype = SetBase__UnmodifiableSetMixin$36.prototype; + dart.applyMixin(SetBase__UnmodifiableSetMixin$36, collection._UnmodifiableSetMixin$(E)); + class UnmodifiableSetView extends SetBase__UnmodifiableSetMixin$36 { + contains(element) { + return this[_source].contains(element); + } + lookup(element) { + return this[_source].lookup(element); + } + get length() { + return this[_source][$length]; + } + get iterator() { + return this[_source].iterator; + } + toSet() { + return this[_source].toSet(); + } + } + (UnmodifiableSetView.new = function(source) { + if (source == null) dart.nullFailed(I[75], 408, 30, "source"); + this[_source] = source; + ; + }).prototype = UnmodifiableSetView.prototype; + dart.addTypeTests(UnmodifiableSetView); + UnmodifiableSetView.prototype[_is_UnmodifiableSetView_default] = true; + dart.addTypeCaches(UnmodifiableSetView); + dart.setMethodSignature(UnmodifiableSetView, () => ({ + __proto__: dart.getMethods(UnmodifiableSetView.__proto__), + contains: dart.fnType(core.bool, [dart.nullable(core.Object)]), + [$contains]: dart.fnType(core.bool, [dart.nullable(core.Object)]), + lookup: dart.fnType(dart.nullable(E), [dart.nullable(core.Object)]), + toSet: dart.fnType(core.Set$(E), []), + [$toSet]: dart.fnType(core.Set$(E), []) + })); + dart.setGetterSignature(UnmodifiableSetView, () => ({ + __proto__: dart.getGetters(UnmodifiableSetView.__proto__), + length: core.int, + [$length]: core.int, + iterator: core.Iterator$(E), + [$iterator]: core.Iterator$(E) + })); + dart.setLibraryUri(UnmodifiableSetView, I[24]); + dart.setFieldSignature(UnmodifiableSetView, () => ({ + __proto__: dart.getFields(UnmodifiableSetView.__proto__), + [_source]: dart.finalFieldType(core.Set$(E)) + })); + dart.defineExtensionMethods(UnmodifiableSetView, ['contains', 'toSet']); + dart.defineExtensionAccessors(UnmodifiableSetView, ['length', 'iterator']); + return UnmodifiableSetView; +}); +collection.UnmodifiableSetView = collection.UnmodifiableSetView$(); +dart.addTypeTests(collection.UnmodifiableSetView, _is_UnmodifiableSetView_default); +var _left = dart.privateName(collection, "_SplayTreeNode._left"); +var _right = dart.privateName(collection, "_SplayTreeNode._right"); +var _left$ = dart.privateName(collection, "_left"); +var _right$ = dart.privateName(collection, "_right"); +const _is__SplayTreeNode_default = Symbol('_is__SplayTreeNode_default'); +collection._SplayTreeNode$ = dart.generic((K, Node) => { + var NodeN = () => (NodeN = dart.constFn(dart.nullable(Node)))(); + class _SplayTreeNode extends core.Object { + get [_left$]() { + return this[_left]; + } + set [_left$](value) { + this[_left] = NodeN().as(value); + } + get [_right$]() { + return this[_right]; + } + set [_right$](value) { + this[_right] = NodeN().as(value); + } + } + (_SplayTreeNode.new = function(key) { + this[_left] = null; + this[_right] = null; + this.key = key; + ; + }).prototype = _SplayTreeNode.prototype; + dart.addTypeTests(_SplayTreeNode); + _SplayTreeNode.prototype[_is__SplayTreeNode_default] = true; + dart.addTypeCaches(_SplayTreeNode); + dart.setLibraryUri(_SplayTreeNode, I[24]); + dart.setFieldSignature(_SplayTreeNode, () => ({ + __proto__: dart.getFields(_SplayTreeNode.__proto__), + key: dart.finalFieldType(K), + [_left$]: dart.fieldType(dart.nullable(Node)), + [_right$]: dart.fieldType(dart.nullable(Node)) + })); + return _SplayTreeNode; +}); +collection._SplayTreeNode = collection._SplayTreeNode$(); +dart.addTypeTests(collection._SplayTreeNode, _is__SplayTreeNode_default); +const _is__SplayTreeSetNode_default = Symbol('_is__SplayTreeSetNode_default'); +collection._SplayTreeSetNode$ = dart.generic(K => { + class _SplayTreeSetNode extends collection._SplayTreeNode {} + (_SplayTreeSetNode.new = function(key) { + _SplayTreeSetNode.__proto__.new.call(this, key); + ; + }).prototype = _SplayTreeSetNode.prototype; + dart.addTypeTests(_SplayTreeSetNode); + _SplayTreeSetNode.prototype[_is__SplayTreeSetNode_default] = true; + dart.addTypeCaches(_SplayTreeSetNode); + dart.setLibraryUri(_SplayTreeSetNode, I[24]); + return _SplayTreeSetNode; +}, K => { + dart.setBaseClass(collection._SplayTreeSetNode$(K), collection._SplayTreeNode$(K, collection._SplayTreeSetNode$(K))); +}); +collection._SplayTreeSetNode = collection._SplayTreeSetNode$(); +dart.addTypeTests(collection._SplayTreeSetNode, _is__SplayTreeSetNode_default); +var _replaceValue = dart.privateName(collection, "_replaceValue"); +const _is__SplayTreeMapNode_default = Symbol('_is__SplayTreeMapNode_default'); +collection._SplayTreeMapNode$ = dart.generic((K, V) => { + var _SplayTreeMapNodeOfK$V = () => (_SplayTreeMapNodeOfK$V = dart.constFn(collection._SplayTreeMapNode$(K, V)))(); + class _SplayTreeMapNode extends collection._SplayTreeNode { + [_replaceValue](value) { + let t172; + V.as(value); + t172 = new (_SplayTreeMapNodeOfK$V()).new(this.key, value); + return (() => { + t172[_left$] = this[_left$]; + t172[_right$] = this[_right$]; + return t172; + })(); + } + toString() { + return "MapEntry(" + dart.str(this.key) + ": " + dart.str(this.value) + ")"; + } + } + (_SplayTreeMapNode.new = function(key, value) { + this.value = value; + _SplayTreeMapNode.__proto__.new.call(this, key); + ; + }).prototype = _SplayTreeMapNode.prototype; + dart.addTypeTests(_SplayTreeMapNode); + _SplayTreeMapNode.prototype[_is__SplayTreeMapNode_default] = true; + dart.addTypeCaches(_SplayTreeMapNode); + _SplayTreeMapNode[dart.implements] = () => [core.MapEntry$(K, V)]; + dart.setMethodSignature(_SplayTreeMapNode, () => ({ + __proto__: dart.getMethods(_SplayTreeMapNode.__proto__), + [_replaceValue]: dart.fnType(collection._SplayTreeMapNode$(K, V), [dart.nullable(core.Object)]) + })); + dart.setLibraryUri(_SplayTreeMapNode, I[24]); + dart.setFieldSignature(_SplayTreeMapNode, () => ({ + __proto__: dart.getFields(_SplayTreeMapNode.__proto__), + value: dart.finalFieldType(V) + })); + dart.defineExtensionMethods(_SplayTreeMapNode, ['toString']); + return _SplayTreeMapNode; +}, (K, V) => { + dart.setBaseClass(collection._SplayTreeMapNode$(K, V), collection._SplayTreeNode$(K, collection._SplayTreeMapNode$(K, V))); +}); +collection._SplayTreeMapNode = collection._SplayTreeMapNode$(); +dart.addTypeTests(collection._SplayTreeMapNode, _is__SplayTreeMapNode_default); +var _count$ = dart.privateName(collection, "_count"); +var _splayCount = dart.privateName(collection, "_splayCount"); +var _root = dart.privateName(collection, "_root"); +var _compare = dart.privateName(collection, "_compare"); +var _splay = dart.privateName(collection, "_splay"); +var _splayMin = dart.privateName(collection, "_splayMin"); +var _splayMax = dart.privateName(collection, "_splayMax"); +var _addNewRoot = dart.privateName(collection, "_addNewRoot"); +var _last$ = dart.privateName(collection, "_last"); +var _clear$ = dart.privateName(collection, "_clear"); +var _containsKey = dart.privateName(collection, "_containsKey"); +const _is__SplayTree_default = Symbol('_is__SplayTree_default'); +collection._SplayTree$ = dart.generic((K, Node) => { + class _SplayTree extends core.Object { + [_splay](key) { + let t173, t172; + K.as(key); + let root = this[_root]; + if (root == null) { + t172 = key; + t173 = key; + this[_compare](t172, t173); + return -1; + } + let right = null; + let newTreeRight = null; + let left = null; + let newTreeLeft = null; + let current = root; + let compare = this[_compare]; + let comp = null; + while (true) { + comp = compare(current.key, key); + if (dart.notNull(comp) > 0) { + let currentLeft = current[_left$]; + if (currentLeft == null) break; + comp = compare(currentLeft.key, key); + if (dart.notNull(comp) > 0) { + current[_left$] = currentLeft[_right$]; + currentLeft[_right$] = current; + current = currentLeft; + currentLeft = current[_left$]; + if (currentLeft == null) break; + } + if (right == null) { + newTreeRight = current; + } else { + right[_left$] = current; + } + right = current; + current = currentLeft; + } else if (dart.notNull(comp) < 0) { + let currentRight = current[_right$]; + if (currentRight == null) break; + comp = compare(currentRight.key, key); + if (dart.notNull(comp) < 0) { + current[_right$] = currentRight[_left$]; + currentRight[_left$] = current; + current = currentRight; + currentRight = current[_right$]; + if (currentRight == null) break; + } + if (left == null) { + newTreeLeft = current; + } else { + left[_right$] = current; + } + left = current; + current = currentRight; + } else { + break; + } + } + if (left != null) { + left[_right$] = current[_left$]; + current[_left$] = newTreeLeft; + } + if (right != null) { + right[_left$] = current[_right$]; + current[_right$] = newTreeRight; + } + if (this[_root] != current) { + this[_root] = current; + this[_splayCount] = dart.notNull(this[_splayCount]) + 1; + } + return comp; + } + [_splayMin](node) { + if (node == null) dart.nullFailed(I[84], 173, 23, "node"); + let current = node; + let nextLeft = current[_left$]; + while (nextLeft != null) { + let left = nextLeft; + current[_left$] = left[_right$]; + left[_right$] = current; + current = left; + nextLeft = current[_left$]; + } + return current; + } + [_splayMax](node) { + if (node == null) dart.nullFailed(I[84], 191, 23, "node"); + let current = node; + let nextRight = current[_right$]; + while (nextRight != null) { + let right = nextRight; + current[_right$] = right[_left$]; + right[_left$] = current; + current = right; + nextRight = current[_right$]; + } + return current; + } + [_remove](key) { + if (this[_root] == null) return null; + let comp = this[_splay](key); + if (comp !== 0) return null; + let root = dart.nullCheck(this[_root]); + let result = root; + let left = root[_left$]; + this[_count$] = dart.notNull(this[_count$]) - 1; + if (left == null) { + this[_root] = root[_right$]; + } else { + let right = root[_right$]; + root = this[_splayMax](left); + root[_right$] = right; + this[_root] = root; + } + this[_modificationCount] = dart.notNull(this[_modificationCount]) + 1; + return result; + } + [_addNewRoot](node, comp) { + if (node == null) dart.nullFailed(I[84], 233, 25, "node"); + if (comp == null) dart.nullFailed(I[84], 233, 35, "comp"); + this[_count$] = dart.notNull(this[_count$]) + 1; + this[_modificationCount] = dart.notNull(this[_modificationCount]) + 1; + let root = this[_root]; + if (root == null) { + this[_root] = node; + return; + } + if (dart.notNull(comp) < 0) { + node[_left$] = root; + node[_right$] = root[_right$]; + root[_right$] = null; + } else { + node[_right$] = root; + node[_left$] = root[_left$]; + root[_left$] = null; + } + this[_root] = node; + } + get [_first]() { + let root = this[_root]; + if (root == null) return null; + this[_root] = this[_splayMin](root); + return this[_root]; + } + get [_last$]() { + let root = this[_root]; + if (root == null) return null; + this[_root] = this[_splayMax](root); + return this[_root]; + } + [_clear$]() { + this[_root] = null; + this[_count$] = 0; + this[_modificationCount] = dart.notNull(this[_modificationCount]) + 1; + } + [_containsKey](key) { + let t172; + return dart.test((t172 = key, this[_validKey$0](t172))) && this[_splay](K.as(key)) === 0; + } + } + (_SplayTree.new = function() { + this[_count$] = 0; + this[_modificationCount] = 0; + this[_splayCount] = 0; + ; + }).prototype = _SplayTree.prototype; + dart.addTypeTests(_SplayTree); + _SplayTree.prototype[_is__SplayTree_default] = true; + dart.addTypeCaches(_SplayTree); + dart.setMethodSignature(_SplayTree, () => ({ + __proto__: dart.getMethods(_SplayTree.__proto__), + [_splay]: dart.fnType(core.int, [dart.nullable(core.Object)]), + [_splayMin]: dart.fnType(Node, [Node]), + [_splayMax]: dart.fnType(Node, [Node]), + [_remove]: dart.fnType(dart.nullable(Node), [K]), + [_addNewRoot]: dart.fnType(dart.void, [Node, core.int]), + [_clear$]: dart.fnType(dart.void, []), + [_containsKey]: dart.fnType(core.bool, [dart.nullable(core.Object)]) + })); + dart.setGetterSignature(_SplayTree, () => ({ + __proto__: dart.getGetters(_SplayTree.__proto__), + [_first]: dart.nullable(Node), + [_last$]: dart.nullable(Node) + })); + dart.setLibraryUri(_SplayTree, I[24]); + dart.setFieldSignature(_SplayTree, () => ({ + __proto__: dart.getFields(_SplayTree.__proto__), + [_count$]: dart.fieldType(core.int), + [_modificationCount]: dart.fieldType(core.int), + [_splayCount]: dart.fieldType(core.int) + })); + return _SplayTree; +}); +collection._SplayTree = collection._SplayTree$(); +dart.addTypeTests(collection._SplayTree, _is__SplayTree_default); +var _root$ = dart.privateName(collection, "SplayTreeMap._root"); +var _compare$ = dart.privateName(collection, "SplayTreeMap._compare"); +var _validKey = dart.privateName(collection, "SplayTreeMap._validKey"); +const _is_SplayTreeMap_default = Symbol('_is_SplayTreeMap_default'); +collection.SplayTreeMap$ = dart.generic((K, V) => { + var _SplayTreeMapNodeOfK$V = () => (_SplayTreeMapNodeOfK$V = dart.constFn(collection._SplayTreeMapNode$(K, V)))(); + var KAndVToV = () => (KAndVToV = dart.constFn(dart.fnType(V, [K, V])))(); + var _SplayTreeMapEntryIteratorOfK$V = () => (_SplayTreeMapEntryIteratorOfK$V = dart.constFn(collection._SplayTreeMapEntryIterator$(K, V)))(); + var MapOfK$V = () => (MapOfK$V = dart.constFn(core.Map$(K, V)))(); + var KAndVTovoid = () => (KAndVTovoid = dart.constFn(dart.fnType(dart.void, [K, V])))(); + var _SplayTreeMapNodeNOfK$V = () => (_SplayTreeMapNodeNOfK$V = dart.constFn(dart.nullable(_SplayTreeMapNodeOfK$V())))(); + var _SplayTreeMapNodeNOfK$VTobool = () => (_SplayTreeMapNodeNOfK$VTobool = dart.constFn(dart.fnType(core.bool, [_SplayTreeMapNodeNOfK$V()])))(); + var _SplayTreeKeyIterableOfK$_SplayTreeMapNodeOfK$V = () => (_SplayTreeKeyIterableOfK$_SplayTreeMapNodeOfK$V = dart.constFn(collection._SplayTreeKeyIterable$(K, _SplayTreeMapNodeOfK$V())))(); + var _SplayTreeValueIterableOfK$V = () => (_SplayTreeValueIterableOfK$V = dart.constFn(collection._SplayTreeValueIterable$(K, V)))(); + var _SplayTreeMapEntryIterableOfK$V = () => (_SplayTreeMapEntryIterableOfK$V = dart.constFn(collection._SplayTreeMapEntryIterable$(K, V)))(); + var VoidToV = () => (VoidToV = dart.constFn(dart.fnType(V, [])))(); + var VToV = () => (VToV = dart.constFn(dart.fnType(V, [V])))(); + var VoidToNV = () => (VoidToNV = dart.constFn(dart.nullable(VoidToV())))(); + const _SplayTree_MapMixin$36 = class _SplayTree_MapMixin extends collection._SplayTree$(K, collection._SplayTreeMapNode$(K, V)) {}; + (_SplayTree_MapMixin$36.new = function() { + _SplayTree_MapMixin$36.__proto__.new.call(this); + }).prototype = _SplayTree_MapMixin$36.prototype; + dart.applyMixin(_SplayTree_MapMixin$36, collection.MapMixin$(K, V)); + class SplayTreeMap extends _SplayTree_MapMixin$36 { + get [_root]() { + return this[_root$]; + } + set [_root](value) { + this[_root$] = value; + } + get [_compare]() { + return this[_compare$]; + } + set [_compare](value) { + this[_compare$] = value; + } + get [_validKey$0]() { + return this[_validKey]; + } + set [_validKey$0](value) { + this[_validKey] = value; + } + static from(other, compare = null, isValidKey = null) { + if (other == null) dart.nullFailed(I[84], 330, 51, "other"); + if (core.Map$(K, V).is(other)) { + return collection.SplayTreeMap$(K, V).of(other, compare, isValidKey); + } + let result = new (collection.SplayTreeMap$(K, V)).new(compare, isValidKey); + other[$forEach](dart.fn((k, v) => { + result._set(K.as(k), V.as(v)); + }, T$.dynamicAnddynamicTovoid())); + return result; + } + static of(other, compare = null, isValidKey = null) { + let t172; + if (other == null) dart.nullFailed(I[84], 344, 37, "other"); + t172 = new (collection.SplayTreeMap$(K, V)).new(compare, isValidKey); + return (() => { + t172.addAll(other); + return t172; + })(); + } + static fromIterable(iterable, opts) { + if (iterable == null) dart.nullFailed(I[84], 360, 46, "iterable"); + let key = opts && 'key' in opts ? opts.key : null; + let value = opts && 'value' in opts ? opts.value : null; + let compare = opts && 'compare' in opts ? opts.compare : null; + let isValidKey = opts && 'isValidKey' in opts ? opts.isValidKey : null; + let map = new (collection.SplayTreeMap$(K, V)).new(compare, isValidKey); + collection.MapBase._fillMapWithMappedIterable(map, iterable, key, value); + return map; + } + static fromIterables(keys, values, compare = null, isValidKey = null) { + if (keys == null) dart.nullFailed(I[84], 379, 50, "keys"); + if (values == null) dart.nullFailed(I[84], 379, 68, "values"); + let map = new (collection.SplayTreeMap$(K, V)).new(compare, isValidKey); + collection.MapBase._fillMapWithIterables(map, keys, values); + return map; + } + _get(key) { + let t172; + if (!dart.test((t172 = key, this[_validKey$0](t172)))) return null; + if (this[_root] != null) { + let comp = this[_splay](K.as(key)); + if (comp === 0) { + return dart.nullCheck(this[_root]).value; + } + } + return null; + } + remove(key) { + let t172; + if (!dart.test((t172 = key, this[_validKey$0](t172)))) return null; + let mapRoot = this[_remove](K.as(key)); + if (mapRoot != null) return mapRoot.value; + return null; + } + _set(key, value$) { + let value = value$; + K.as(key); + V.as(value); + let comp = this[_splay](key); + if (comp === 0) { + this[_root] = dart.nullCheck(this[_root])[_replaceValue](value); + this[_splayCount] = dart.notNull(this[_splayCount]) + 1; + return value$; + } + this[_addNewRoot](new (_SplayTreeMapNodeOfK$V()).new(key, value), comp); + return value$; + } + putIfAbsent(key, ifAbsent) { + K.as(key); + VoidToV().as(ifAbsent); + if (ifAbsent == null) dart.nullFailed(I[84], 418, 26, "ifAbsent"); + let comp = this[_splay](key); + if (comp === 0) { + return dart.nullCheck(this[_root]).value; + } + let modificationCount = this[_modificationCount]; + let splayCount = this[_splayCount]; + let value = ifAbsent(); + if (modificationCount != this[_modificationCount]) { + dart.throw(new core.ConcurrentModificationError.new(this)); + } + if (splayCount != this[_splayCount]) { + comp = this[_splay](key); + if (!(comp !== 0)) dart.assertFailed(null, I[84], 432, 14, "comp != 0"); + } + this[_addNewRoot](new (_SplayTreeMapNodeOfK$V()).new(key, value), comp); + return value; + } + update(key, update, opts) { + K.as(key); + VToV().as(update); + if (update == null) dart.nullFailed(I[84], 438, 21, "update"); + let ifAbsent = opts && 'ifAbsent' in opts ? opts.ifAbsent : null; + VoidToNV().as(ifAbsent); + let comp = this[_splay](key); + if (comp === 0) { + let modificationCount = this[_modificationCount]; + let splayCount = this[_splayCount]; + let newValue = update(dart.nullCheck(this[_root]).value); + if (modificationCount != this[_modificationCount]) { + dart.throw(new core.ConcurrentModificationError.new(this)); + } + if (splayCount != this[_splayCount]) { + this[_splay](key); + } + this[_root] = dart.nullCheck(this[_root])[_replaceValue](newValue); + this[_splayCount] = dart.notNull(this[_splayCount]) + 1; + return newValue; + } + if (ifAbsent != null) { + let modificationCount = this[_modificationCount]; + let splayCount = this[_splayCount]; + let newValue = ifAbsent(); + if (modificationCount != this[_modificationCount]) { + dart.throw(new core.ConcurrentModificationError.new(this)); + } + if (splayCount != this[_splayCount]) { + comp = this[_splay](key); + } + this[_addNewRoot](new (_SplayTreeMapNodeOfK$V()).new(key, newValue), comp); + return newValue; + } + dart.throw(new core.ArgumentError.value(key, "key", "Key not in map.")); + } + updateAll(update) { + KAndVToV().as(update); + if (update == null) dart.nullFailed(I[84], 470, 20, "update"); + let root = this[_root]; + if (root == null) return; + let iterator = new (_SplayTreeMapEntryIteratorOfK$V()).new(this); + while (dart.test(iterator.moveNext())) { + let node = iterator.current; + let newValue = update(node.key, node.value); + iterator[_replaceValue](newValue); + } + } + addAll(other) { + MapOfK$V().as(other); + if (other == null) dart.nullFailed(I[84], 481, 25, "other"); + other[$forEach](dart.fn((key, value) => { + this._set(key, value); + }, KAndVTovoid())); + } + get isEmpty() { + return this[_root] == null; + } + get isNotEmpty() { + return !dart.test(this.isEmpty); + } + forEach(f) { + if (f == null) dart.nullFailed(I[84], 493, 21, "f"); + let nodes = new (_SplayTreeMapEntryIteratorOfK$V()).new(this); + while (dart.test(nodes.moveNext())) { + let node = nodes.current; + f(node.key, node.value); + } + } + get length() { + return this[_count$]; + } + clear() { + this[_clear$](); + } + containsKey(key) { + return this[_containsKey](key); + } + containsValue(value) { + let initialSplayCount = this[_splayCount]; + const visit = node => { + while (node != null) { + if (dart.equals(node.value, value)) return true; + if (initialSplayCount != this[_splayCount]) { + dart.throw(new core.ConcurrentModificationError.new(this)); + } + if (node[_right$] != null && dart.test(visit(node[_right$]))) { + return true; + } + node = node[_left$]; + } + return false; + }; + dart.fn(visit, _SplayTreeMapNodeNOfK$VTobool()); + return visit(this[_root]); + } + get keys() { + return new (_SplayTreeKeyIterableOfK$_SplayTreeMapNodeOfK$V()).new(this); + } + get values() { + return new (_SplayTreeValueIterableOfK$V()).new(this); + } + get entries() { + return new (_SplayTreeMapEntryIterableOfK$V()).new(this); + } + firstKey() { + if (this[_root] == null) return null; + return dart.nullCheck(this[_first]).key; + } + lastKey() { + if (this[_root] == null) return null; + return dart.nullCheck(this[_last$]).key; + } + lastKeyBefore(key) { + K.as(key); + if (key == null) dart.throw(new core.ArgumentError.new(key)); + if (this[_root] == null) return null; + let comp = this[_splay](key); + if (dart.notNull(comp) < 0) return dart.nullCheck(this[_root]).key; + let node = dart.nullCheck(this[_root])[_left$]; + if (node == null) return null; + let nodeRight = node[_right$]; + while (nodeRight != null) { + node = nodeRight; + nodeRight = node[_right$]; + } + return dart.nullCheck(node).key; + } + firstKeyAfter(key) { + K.as(key); + if (key == null) dart.throw(new core.ArgumentError.new(key)); + if (this[_root] == null) return null; + let comp = this[_splay](key); + if (dart.notNull(comp) > 0) return dart.nullCheck(this[_root]).key; + let node = dart.nullCheck(this[_root])[_right$]; + if (node == null) return null; + let nodeLeft = node[_left$]; + while (nodeLeft != null) { + node = nodeLeft; + nodeLeft = node[_left$]; + } + return dart.nullCheck(node).key; + } + } + (SplayTreeMap.new = function(compare = null, isValidKey = null) { + let t172, t172$; + this[_root$] = null; + this[_compare$] = (t172 = compare, t172 == null ? collection._defaultCompare(K) : t172); + this[_validKey] = (t172$ = isValidKey, t172$ == null ? dart.fn(a => K.is(a), T$0.dynamicTobool()) : t172$); + SplayTreeMap.__proto__.new.call(this); + ; + }).prototype = SplayTreeMap.prototype; + dart.addTypeTests(SplayTreeMap); + SplayTreeMap.prototype[_is_SplayTreeMap_default] = true; + dart.addTypeCaches(SplayTreeMap); + dart.setMethodSignature(SplayTreeMap, () => ({ + __proto__: dart.getMethods(SplayTreeMap.__proto__), + _get: dart.fnType(dart.nullable(V), [dart.nullable(core.Object)]), + [$_get]: dart.fnType(dart.nullable(V), [dart.nullable(core.Object)]), + remove: dart.fnType(dart.nullable(V), [dart.nullable(core.Object)]), + [$remove]: dart.fnType(dart.nullable(V), [dart.nullable(core.Object)]), + _set: dart.fnType(dart.void, [dart.nullable(core.Object), dart.nullable(core.Object)]), + [$_set]: dart.fnType(dart.void, [dart.nullable(core.Object), dart.nullable(core.Object)]), + clear: dart.fnType(dart.void, []), + [$clear]: dart.fnType(dart.void, []), + firstKey: dart.fnType(dart.nullable(K), []), + lastKey: dart.fnType(dart.nullable(K), []), + lastKeyBefore: dart.fnType(dart.nullable(K), [dart.nullable(core.Object)]), + firstKeyAfter: dart.fnType(dart.nullable(K), [dart.nullable(core.Object)]) + })); + dart.setGetterSignature(SplayTreeMap, () => ({ + __proto__: dart.getGetters(SplayTreeMap.__proto__), + keys: core.Iterable$(K), + [$keys]: core.Iterable$(K) + })); + dart.setLibraryUri(SplayTreeMap, I[24]); + dart.setFieldSignature(SplayTreeMap, () => ({ + __proto__: dart.getFields(SplayTreeMap.__proto__), + [_root]: dart.fieldType(dart.nullable(collection._SplayTreeMapNode$(K, V))), + [_compare]: dart.fieldType(dart.fnType(core.int, [K, K])), + [_validKey$0]: dart.fieldType(dart.fnType(core.bool, [dart.dynamic])) + })); + dart.defineExtensionMethods(SplayTreeMap, [ + '_get', + 'remove', + '_set', + 'putIfAbsent', + 'update', + 'updateAll', + 'addAll', + 'forEach', + 'clear', + 'containsKey', + 'containsValue' + ]); + dart.defineExtensionAccessors(SplayTreeMap, [ + 'isEmpty', + 'isNotEmpty', + 'length', + 'keys', + 'values', + 'entries' + ]); + return SplayTreeMap; +}); +collection.SplayTreeMap = collection.SplayTreeMap$(); +dart.addTypeTests(collection.SplayTreeMap, _is_SplayTreeMap_default); +var _path = dart.privateName(collection, "_path"); +var _tree$ = dart.privateName(collection, "_tree"); +var _getValue = dart.privateName(collection, "_getValue"); +var _rebuildPath = dart.privateName(collection, "_rebuildPath"); +var _findLeftMostDescendent = dart.privateName(collection, "_findLeftMostDescendent"); +const _is__SplayTreeIterator_default = Symbol('_is__SplayTreeIterator_default'); +collection._SplayTreeIterator$ = dart.generic((K, Node, T) => { + var JSArrayOfNode = () => (JSArrayOfNode = dart.constFn(_interceptors.JSArray$(Node)))(); + class _SplayTreeIterator extends core.Object { + get current() { + if (dart.test(this[_path][$isEmpty])) return T.as(null); + let node = this[_path][$last]; + return this[_getValue](node); + } + [_rebuildPath](key) { + this[_path][$clear](); + this[_tree$][_splay](key); + this[_path][$add](dart.nullCheck(this[_tree$][_root])); + this[_splayCount] = this[_tree$][_splayCount]; + } + [_findLeftMostDescendent](node) { + while (node != null) { + this[_path][$add](node); + node = node[_left$]; + } + } + moveNext() { + if (this[_modificationCount] != this[_tree$][_modificationCount]) { + if (this[_modificationCount] == null) { + this[_modificationCount] = this[_tree$][_modificationCount]; + let node = this[_tree$][_root]; + while (node != null) { + this[_path][$add](node); + node = node[_left$]; + } + return this[_path][$isNotEmpty]; + } + dart.throw(new core.ConcurrentModificationError.new(this[_tree$])); + } + if (dart.test(this[_path][$isEmpty])) return false; + if (this[_splayCount] != this[_tree$][_splayCount]) { + this[_rebuildPath](this[_path][$last].key); + } + let node = this[_path][$last]; + let next = node[_right$]; + if (next != null) { + while (next != null) { + this[_path][$add](next); + next = next[_left$]; + } + return true; + } + this[_path][$removeLast](); + while (dart.test(this[_path][$isNotEmpty]) && this[_path][$last][_right$] == node) { + node = this[_path][$removeLast](); + } + return this[_path][$isNotEmpty]; + } + } + (_SplayTreeIterator.new = function(tree) { + if (tree == null) dart.nullFailed(I[84], 615, 42, "tree"); + this[_path] = JSArrayOfNode().of([]); + this[_modificationCount] = null; + this[_tree$] = tree; + this[_splayCount] = tree[_splayCount]; + ; + }).prototype = _SplayTreeIterator.prototype; + dart.addTypeTests(_SplayTreeIterator); + _SplayTreeIterator.prototype[_is__SplayTreeIterator_default] = true; + dart.addTypeCaches(_SplayTreeIterator); + _SplayTreeIterator[dart.implements] = () => [core.Iterator$(T)]; + dart.setMethodSignature(_SplayTreeIterator, () => ({ + __proto__: dart.getMethods(_SplayTreeIterator.__proto__), + [_rebuildPath]: dart.fnType(dart.void, [K]), + [_findLeftMostDescendent]: dart.fnType(dart.void, [dart.nullable(Node)]), + moveNext: dart.fnType(core.bool, []) + })); + dart.setGetterSignature(_SplayTreeIterator, () => ({ + __proto__: dart.getGetters(_SplayTreeIterator.__proto__), + current: T + })); + dart.setLibraryUri(_SplayTreeIterator, I[24]); + dart.setFieldSignature(_SplayTreeIterator, () => ({ + __proto__: dart.getFields(_SplayTreeIterator.__proto__), + [_tree$]: dart.finalFieldType(collection._SplayTree$(K, Node)), + [_path]: dart.finalFieldType(core.List$(Node)), + [_modificationCount]: dart.fieldType(dart.nullable(core.int)), + [_splayCount]: dart.fieldType(core.int) + })); + return _SplayTreeIterator; +}); +collection._SplayTreeIterator = collection._SplayTreeIterator$(); +dart.addTypeTests(collection._SplayTreeIterator, _is__SplayTreeIterator_default); +var _copyNode = dart.privateName(collection, "_copyNode"); +const _is__SplayTreeKeyIterable_default = Symbol('_is__SplayTreeKeyIterable_default'); +collection._SplayTreeKeyIterable$ = dart.generic((K, Node) => { + var _SplayTreeKeyIteratorOfK$Node = () => (_SplayTreeKeyIteratorOfK$Node = dart.constFn(collection._SplayTreeKeyIterator$(K, Node)))(); + var SplayTreeSetOfK = () => (SplayTreeSetOfK = dart.constFn(collection.SplayTreeSet$(K)))(); + var KAndKToint = () => (KAndKToint = dart.constFn(dart.fnType(core.int, [K, K])))(); + class _SplayTreeKeyIterable extends _internal.EfficientLengthIterable$(K) { + get length() { + return this[_tree$][_count$]; + } + get isEmpty() { + return this[_tree$][_count$] === 0; + } + get iterator() { + return new (_SplayTreeKeyIteratorOfK$Node()).new(this[_tree$]); + } + contains(o) { + return this[_tree$][_containsKey](o); + } + toSet() { + let set = new (SplayTreeSetOfK()).new(KAndKToint().as(this[_tree$][_compare]), this[_tree$][_validKey$0]); + set[_count$] = this[_tree$][_count$]; + set[_root] = set[_copyNode](Node, this[_tree$][_root]); + return set; + } + } + (_SplayTreeKeyIterable.new = function(_tree) { + if (_tree == null) dart.nullFailed(I[84], 684, 30, "_tree"); + this[_tree$] = _tree; + _SplayTreeKeyIterable.__proto__.new.call(this); + ; + }).prototype = _SplayTreeKeyIterable.prototype; + dart.addTypeTests(_SplayTreeKeyIterable); + _SplayTreeKeyIterable.prototype[_is__SplayTreeKeyIterable_default] = true; + dart.addTypeCaches(_SplayTreeKeyIterable); + dart.setGetterSignature(_SplayTreeKeyIterable, () => ({ + __proto__: dart.getGetters(_SplayTreeKeyIterable.__proto__), + iterator: core.Iterator$(K), + [$iterator]: core.Iterator$(K) + })); + dart.setLibraryUri(_SplayTreeKeyIterable, I[24]); + dart.setFieldSignature(_SplayTreeKeyIterable, () => ({ + __proto__: dart.getFields(_SplayTreeKeyIterable.__proto__), + [_tree$]: dart.fieldType(collection._SplayTree$(K, Node)) + })); + dart.defineExtensionMethods(_SplayTreeKeyIterable, ['contains', 'toSet']); + dart.defineExtensionAccessors(_SplayTreeKeyIterable, ['length', 'isEmpty', 'iterator']); + return _SplayTreeKeyIterable; +}); +collection._SplayTreeKeyIterable = collection._SplayTreeKeyIterable$(); +dart.addTypeTests(collection._SplayTreeKeyIterable, _is__SplayTreeKeyIterable_default); +const _is__SplayTreeValueIterable_default = Symbol('_is__SplayTreeValueIterable_default'); +collection._SplayTreeValueIterable$ = dart.generic((K, V) => { + var _SplayTreeValueIteratorOfK$V = () => (_SplayTreeValueIteratorOfK$V = dart.constFn(collection._SplayTreeValueIterator$(K, V)))(); + class _SplayTreeValueIterable extends _internal.EfficientLengthIterable$(V) { + get length() { + return this[_map$5][_count$]; + } + get isEmpty() { + return this[_map$5][_count$] === 0; + } + get iterator() { + return new (_SplayTreeValueIteratorOfK$V()).new(this[_map$5]); + } + } + (_SplayTreeValueIterable.new = function(_map) { + if (_map == null) dart.nullFailed(I[84], 701, 32, "_map"); + this[_map$5] = _map; + _SplayTreeValueIterable.__proto__.new.call(this); + ; + }).prototype = _SplayTreeValueIterable.prototype; + dart.addTypeTests(_SplayTreeValueIterable); + _SplayTreeValueIterable.prototype[_is__SplayTreeValueIterable_default] = true; + dart.addTypeCaches(_SplayTreeValueIterable); + dart.setGetterSignature(_SplayTreeValueIterable, () => ({ + __proto__: dart.getGetters(_SplayTreeValueIterable.__proto__), + iterator: core.Iterator$(V), + [$iterator]: core.Iterator$(V) + })); + dart.setLibraryUri(_SplayTreeValueIterable, I[24]); + dart.setFieldSignature(_SplayTreeValueIterable, () => ({ + __proto__: dart.getFields(_SplayTreeValueIterable.__proto__), + [_map$5]: dart.fieldType(collection.SplayTreeMap$(K, V)) + })); + dart.defineExtensionAccessors(_SplayTreeValueIterable, ['length', 'isEmpty', 'iterator']); + return _SplayTreeValueIterable; +}); +collection._SplayTreeValueIterable = collection._SplayTreeValueIterable$(); +dart.addTypeTests(collection._SplayTreeValueIterable, _is__SplayTreeValueIterable_default); +var key$0 = dart.privateName(core, "MapEntry.key"); +var value$2 = dart.privateName(core, "MapEntry.value"); +const _is_MapEntry_default = Symbol('_is_MapEntry_default'); +core.MapEntry$ = dart.generic((K, V) => { + class MapEntry extends core.Object { + get key() { + return this[key$0]; + } + set key(value) { + super.key = value; + } + get value() { + return this[value$2]; + } + set value(value) { + super.value = value; + } + toString() { + return "MapEntry(" + dart.str(this.key) + ": " + dart.str(this.value) + ")"; + } + } + (MapEntry.__ = function(key, value) { + this[key$0] = key; + this[value$2] = value; + ; + }).prototype = MapEntry.prototype; + dart.addTypeTests(MapEntry); + MapEntry.prototype[_is_MapEntry_default] = true; + dart.addTypeCaches(MapEntry); + dart.setLibraryUri(MapEntry, I[8]); + dart.setFieldSignature(MapEntry, () => ({ + __proto__: dart.getFields(MapEntry.__proto__), + key: dart.finalFieldType(K), + value: dart.finalFieldType(V) + })); + dart.defineExtensionMethods(MapEntry, ['toString']); + return MapEntry; +}); +core.MapEntry = core.MapEntry$(); +dart.addTypeTests(core.MapEntry, _is_MapEntry_default); +const _is__SplayTreeMapEntryIterable_default = Symbol('_is__SplayTreeMapEntryIterable_default'); +collection._SplayTreeMapEntryIterable$ = dart.generic((K, V) => { + var _SplayTreeMapEntryIteratorOfK$V = () => (_SplayTreeMapEntryIteratorOfK$V = dart.constFn(collection._SplayTreeMapEntryIterator$(K, V)))(); + class _SplayTreeMapEntryIterable extends _internal.EfficientLengthIterable$(core.MapEntry$(K, V)) { + get length() { + return this[_map$5][_count$]; + } + get isEmpty() { + return this[_map$5][_count$] === 0; + } + get iterator() { + return new (_SplayTreeMapEntryIteratorOfK$V()).new(this[_map$5]); + } + } + (_SplayTreeMapEntryIterable.new = function(_map) { + if (_map == null) dart.nullFailed(I[84], 710, 35, "_map"); + this[_map$5] = _map; + _SplayTreeMapEntryIterable.__proto__.new.call(this); + ; + }).prototype = _SplayTreeMapEntryIterable.prototype; + dart.addTypeTests(_SplayTreeMapEntryIterable); + _SplayTreeMapEntryIterable.prototype[_is__SplayTreeMapEntryIterable_default] = true; + dart.addTypeCaches(_SplayTreeMapEntryIterable); + dart.setGetterSignature(_SplayTreeMapEntryIterable, () => ({ + __proto__: dart.getGetters(_SplayTreeMapEntryIterable.__proto__), + iterator: core.Iterator$(core.MapEntry$(K, V)), + [$iterator]: core.Iterator$(core.MapEntry$(K, V)) + })); + dart.setLibraryUri(_SplayTreeMapEntryIterable, I[24]); + dart.setFieldSignature(_SplayTreeMapEntryIterable, () => ({ + __proto__: dart.getFields(_SplayTreeMapEntryIterable.__proto__), + [_map$5]: dart.fieldType(collection.SplayTreeMap$(K, V)) + })); + dart.defineExtensionAccessors(_SplayTreeMapEntryIterable, ['length', 'isEmpty', 'iterator']); + return _SplayTreeMapEntryIterable; +}); +collection._SplayTreeMapEntryIterable = collection._SplayTreeMapEntryIterable$(); +dart.addTypeTests(collection._SplayTreeMapEntryIterable, _is__SplayTreeMapEntryIterable_default); +const _is__SplayTreeKeyIterator_default = Symbol('_is__SplayTreeKeyIterator_default'); +collection._SplayTreeKeyIterator$ = dart.generic((K, Node) => { + class _SplayTreeKeyIterator extends collection._SplayTreeIterator$(K, Node, K) { + [_getValue](node) { + if (node == null) dart.nullFailed(I[84], 720, 20, "node"); + return node.key; + } + } + (_SplayTreeKeyIterator.new = function(map) { + if (map == null) dart.nullFailed(I[84], 719, 45, "map"); + _SplayTreeKeyIterator.__proto__.new.call(this, map); + ; + }).prototype = _SplayTreeKeyIterator.prototype; + dart.addTypeTests(_SplayTreeKeyIterator); + _SplayTreeKeyIterator.prototype[_is__SplayTreeKeyIterator_default] = true; + dart.addTypeCaches(_SplayTreeKeyIterator); + dart.setMethodSignature(_SplayTreeKeyIterator, () => ({ + __proto__: dart.getMethods(_SplayTreeKeyIterator.__proto__), + [_getValue]: dart.fnType(K, [Node]) + })); + dart.setLibraryUri(_SplayTreeKeyIterator, I[24]); + return _SplayTreeKeyIterator; +}); +collection._SplayTreeKeyIterator = collection._SplayTreeKeyIterator$(); +dart.addTypeTests(collection._SplayTreeKeyIterator, _is__SplayTreeKeyIterator_default); +const _is__SplayTreeValueIterator_default = Symbol('_is__SplayTreeValueIterator_default'); +collection._SplayTreeValueIterator$ = dart.generic((K, V) => { + class _SplayTreeValueIterator extends collection._SplayTreeIterator$(K, collection._SplayTreeMapNode$(K, V), V) { + [_getValue](node) { + if (node == null) dart.nullFailed(I[84], 726, 39, "node"); + return node.value; + } + } + (_SplayTreeValueIterator.new = function(map) { + if (map == null) dart.nullFailed(I[84], 725, 46, "map"); + _SplayTreeValueIterator.__proto__.new.call(this, map); + ; + }).prototype = _SplayTreeValueIterator.prototype; + dart.addTypeTests(_SplayTreeValueIterator); + _SplayTreeValueIterator.prototype[_is__SplayTreeValueIterator_default] = true; + dart.addTypeCaches(_SplayTreeValueIterator); + dart.setMethodSignature(_SplayTreeValueIterator, () => ({ + __proto__: dart.getMethods(_SplayTreeValueIterator.__proto__), + [_getValue]: dart.fnType(V, [collection._SplayTreeMapNode$(K, V)]) + })); + dart.setLibraryUri(_SplayTreeValueIterator, I[24]); + return _SplayTreeValueIterator; +}); +collection._SplayTreeValueIterator = collection._SplayTreeValueIterator$(); +dart.addTypeTests(collection._SplayTreeValueIterator, _is__SplayTreeValueIterator_default); +const _is__SplayTreeMapEntryIterator_default = Symbol('_is__SplayTreeMapEntryIterator_default'); +collection._SplayTreeMapEntryIterator$ = dart.generic((K, V) => { + class _SplayTreeMapEntryIterator extends collection._SplayTreeIterator$(K, collection._SplayTreeMapNode$(K, V), core.MapEntry$(K, V)) { + [_getValue](node) { + if (node == null) dart.nullFailed(I[84], 732, 52, "node"); + return node; + } + [_replaceValue](value) { + let t172; + V.as(value); + if (!dart.test(this[_path][$isNotEmpty])) dart.assertFailed(null, I[84], 736, 12, "_path.isNotEmpty"); + if (this[_modificationCount] != this[_tree$][_modificationCount]) { + dart.throw(new core.ConcurrentModificationError.new(this[_tree$])); + } + if (this[_splayCount] != this[_tree$][_splayCount]) { + this[_rebuildPath](this[_path][$last].key); + } + let last = this[_path][$removeLast](); + let newLast = last[_replaceValue](value); + if (dart.test(this[_path][$isEmpty])) { + this[_tree$][_root] = newLast; + } else { + let parent = this[_path][$last]; + if (last == parent[_left$]) { + parent[_left$] = newLast; + } else { + if (!(last == parent[_right$])) dart.assertFailed(null, I[84], 752, 16, "identical(last, parent._right)"); + parent[_right$] = newLast; + } + } + this[_path][$add](newLast); + this[_splayCount] = (t172 = this[_tree$], t172[_splayCount] = dart.notNull(t172[_splayCount]) + 1); + } + } + (_SplayTreeMapEntryIterator.new = function(tree) { + if (tree == null) dart.nullFailed(I[84], 731, 49, "tree"); + _SplayTreeMapEntryIterator.__proto__.new.call(this, tree); + ; + }).prototype = _SplayTreeMapEntryIterator.prototype; + dart.addTypeTests(_SplayTreeMapEntryIterator); + _SplayTreeMapEntryIterator.prototype[_is__SplayTreeMapEntryIterator_default] = true; + dart.addTypeCaches(_SplayTreeMapEntryIterator); + dart.setMethodSignature(_SplayTreeMapEntryIterator, () => ({ + __proto__: dart.getMethods(_SplayTreeMapEntryIterator.__proto__), + [_getValue]: dart.fnType(core.MapEntry$(K, V), [collection._SplayTreeMapNode$(K, V)]), + [_replaceValue]: dart.fnType(dart.void, [dart.nullable(core.Object)]) + })); + dart.setLibraryUri(_SplayTreeMapEntryIterator, I[24]); + return _SplayTreeMapEntryIterator; +}); +collection._SplayTreeMapEntryIterator = collection._SplayTreeMapEntryIterator$(); +dart.addTypeTests(collection._SplayTreeMapEntryIterator, _is__SplayTreeMapEntryIterator_default); +var _root$0 = dart.privateName(collection, "SplayTreeSet._root"); +var _compare$0 = dart.privateName(collection, "SplayTreeSet._compare"); +var _validKey$1 = dart.privateName(collection, "SplayTreeSet._validKey"); +var _clone$ = dart.privateName(collection, "_clone"); +const _is_SplayTreeSet_default = Symbol('_is_SplayTreeSet_default'); +collection.SplayTreeSet$ = dart.generic(E => { + var _SplayTreeSetNodeOfE = () => (_SplayTreeSetNodeOfE = dart.constFn(collection._SplayTreeSetNode$(E)))(); + var _SplayTreeSetNodeNOfE = () => (_SplayTreeSetNodeNOfE = dart.constFn(dart.nullable(_SplayTreeSetNodeOfE())))(); + var _SplayTreeKeyIteratorOfE$_SplayTreeSetNodeOfE = () => (_SplayTreeKeyIteratorOfE$_SplayTreeSetNodeOfE = dart.constFn(collection._SplayTreeKeyIterator$(E, _SplayTreeSetNodeOfE())))(); + var IterableOfE = () => (IterableOfE = dart.constFn(core.Iterable$(E)))(); + var SplayTreeSetOfE = () => (SplayTreeSetOfE = dart.constFn(collection.SplayTreeSet$(E)))(); + var SetOfE = () => (SetOfE = dart.constFn(core.Set$(E)))(); + const _SplayTree_IterableMixin$36 = class _SplayTree_IterableMixin extends collection._SplayTree$(E, collection._SplayTreeSetNode$(E)) {}; + (_SplayTree_IterableMixin$36.new = function() { + _SplayTree_IterableMixin$36.__proto__.new.call(this); + }).prototype = _SplayTree_IterableMixin$36.prototype; + dart.applyMixin(_SplayTree_IterableMixin$36, collection.IterableMixin$(E)); + const _SplayTree_SetMixin$36 = class _SplayTree_SetMixin extends _SplayTree_IterableMixin$36 {}; + (_SplayTree_SetMixin$36.new = function() { + _SplayTree_SetMixin$36.__proto__.new.call(this); + }).prototype = _SplayTree_SetMixin$36.prototype; + dart.applyMixin(_SplayTree_SetMixin$36, collection.SetMixin$(E)); + class SplayTreeSet extends _SplayTree_SetMixin$36 { + get [_root]() { + return this[_root$0]; + } + set [_root](value) { + this[_root$0] = _SplayTreeSetNodeNOfE().as(value); + } + get [_compare]() { + return this[_compare$0]; + } + set [_compare](value) { + this[_compare$0] = value; + } + get [_validKey$0]() { + return this[_validKey$1]; + } + set [_validKey$0](value) { + this[_validKey$1] = value; + } + static from(elements, compare = null, isValidKey = null) { + if (elements == null) dart.nullFailed(I[84], 823, 38, "elements"); + if (core.Iterable$(E).is(elements)) { + return collection.SplayTreeSet$(E).of(elements, compare, isValidKey); + } + let result = new (collection.SplayTreeSet$(E)).new(compare, isValidKey); + for (let element of elements) { + result.add(E.as(element)); + } + return result; + } + static of(elements, compare = null, isValidKey = null) { + let t172; + if (elements == null) dart.nullFailed(I[84], 841, 39, "elements"); + t172 = new (collection.SplayTreeSet$(E)).new(compare, isValidKey); + return (() => { + t172.addAll(elements); + return t172; + })(); + } + [_newSet](T) { + return new (collection.SplayTreeSet$(T)).new(dart.fn((a, b) => { + let t173, t172; + t172 = E.as(a); + t173 = E.as(b); + return this[_compare](t172, t173); + }, dart.fnType(core.int, [T, T])), this[_validKey$0]); + } + cast(R) { + return core.Set.castFrom(E, R, this, {newSet: dart.bind(this, _newSet)}); + } + get iterator() { + return new (_SplayTreeKeyIteratorOfE$_SplayTreeSetNodeOfE()).new(this); + } + get length() { + return this[_count$]; + } + get isEmpty() { + return this[_root] == null; + } + get isNotEmpty() { + return this[_root] != null; + } + get first() { + if (this[_count$] === 0) dart.throw(_internal.IterableElementError.noElement()); + return dart.nullCheck(this[_first]).key; + } + get last() { + if (this[_count$] === 0) dart.throw(_internal.IterableElementError.noElement()); + return dart.nullCheck(this[_last$]).key; + } + get single() { + if (this[_count$] === 0) dart.throw(_internal.IterableElementError.noElement()); + if (dart.notNull(this[_count$]) > 1) dart.throw(_internal.IterableElementError.tooMany()); + return dart.nullCheck(this[_root]).key; + } + contains(element) { + let t172; + return dart.test((t172 = element, this[_validKey$0](t172))) && this[_splay](E.as(element)) === 0; + } + add(element) { + E.as(element); + return this[_add$](element); + } + [_add$](element) { + let compare = this[_splay](element); + if (compare === 0) return false; + this[_addNewRoot](new (_SplayTreeSetNodeOfE()).new(element), compare); + return true; + } + remove(object) { + let t172; + if (!dart.test((t172 = object, this[_validKey$0](t172)))) return false; + return this[_remove](E.as(object)) != null; + } + addAll(elements) { + IterableOfE().as(elements); + if (elements == null) dart.nullFailed(I[84], 895, 27, "elements"); + for (let element of elements) { + this[_add$](element); + } + } + removeAll(elements) { + let t172; + if (elements == null) dart.nullFailed(I[84], 901, 36, "elements"); + for (let element of elements) { + if (dart.test((t172 = element, this[_validKey$0](t172)))) this[_remove](E.as(element)); + } + } + retainAll(elements) { + let t172; + if (elements == null) dart.nullFailed(I[84], 907, 36, "elements"); + let retainSet = new (SplayTreeSetOfE()).new(this[_compare], this[_validKey$0]); + let modificationCount = this[_modificationCount]; + for (let object of elements) { + if (modificationCount != this[_modificationCount]) { + dart.throw(new core.ConcurrentModificationError.new(this)); + } + if (dart.test((t172 = object, this[_validKey$0](t172))) && this[_splay](E.as(object)) === 0) { + retainSet.add(dart.nullCheck(this[_root]).key); + } + } + if (retainSet[_count$] != this[_count$]) { + this[_root] = retainSet[_root]; + this[_count$] = retainSet[_count$]; + this[_modificationCount] = dart.notNull(this[_modificationCount]) + 1; + } + } + lookup(object) { + let t172; + if (!dart.test((t172 = object, this[_validKey$0](t172)))) return null; + let comp = this[_splay](E.as(object)); + if (comp !== 0) return null; + return dart.nullCheck(this[_root]).key; + } + intersection(other) { + if (other == null) dart.nullFailed(I[84], 936, 36, "other"); + let result = new (SplayTreeSetOfE()).new(this[_compare], this[_validKey$0]); + for (let element of this) { + if (dart.test(other.contains(element))) result.add(element); + } + return result; + } + difference(other) { + if (other == null) dart.nullFailed(I[84], 944, 34, "other"); + let result = new (SplayTreeSetOfE()).new(this[_compare], this[_validKey$0]); + for (let element of this) { + if (!dart.test(other.contains(element))) result.add(element); + } + return result; + } + union(other) { + let t172; + SetOfE().as(other); + if (other == null) dart.nullFailed(I[84], 952, 23, "other"); + t172 = this[_clone$](); + return (() => { + t172.addAll(other); + return t172; + })(); + } + [_clone$]() { + let set = new (SplayTreeSetOfE()).new(this[_compare], this[_validKey$0]); + set[_count$] = this[_count$]; + set[_root] = this[_copyNode](_SplayTreeSetNodeOfE(), this[_root]); + return set; + } + [_copyNode](Node, node) { + dart.checkTypeBound(Node, collection._SplayTreeNode$(E, Node), 'Node'); + if (node == null) return null; + function copyChildren(node, dest) { + if (node == null) dart.nullFailed(I[84], 972, 28, "node"); + if (dest == null) dart.nullFailed(I[84], 972, 55, "dest"); + let left = null; + let right = null; + do { + left = node[_left$]; + right = node[_right$]; + if (left != null) { + let newLeft = new (_SplayTreeSetNodeOfE()).new(left.key); + dest[_left$] = newLeft; + copyChildren(left, newLeft); + } + if (right != null) { + let newRight = new (_SplayTreeSetNodeOfE()).new(right.key); + dest[_right$] = newRight; + node = right; + dest = newRight; + } + } while (right != null); + } + dart.fn(copyChildren, dart.fnType(dart.void, [Node, _SplayTreeSetNodeOfE()])); + let result = new (_SplayTreeSetNodeOfE()).new(node.key); + copyChildren(node, result); + return result; + } + clear() { + this[_clear$](); + } + toSet() { + return this[_clone$](); + } + toString() { + return collection.IterableBase.iterableToFullString(this, "{", "}"); + } + } + (SplayTreeSet.new = function(compare = null, isValidKey = null) { + let t172, t172$; + this[_root$0] = null; + this[_compare$0] = (t172 = compare, t172 == null ? collection._defaultCompare(E) : t172); + this[_validKey$1] = (t172$ = isValidKey, t172$ == null ? dart.fn(v => E.is(v), T$0.dynamicTobool()) : t172$); + SplayTreeSet.__proto__.new.call(this); + ; + }).prototype = SplayTreeSet.prototype; + dart.addTypeTests(SplayTreeSet); + SplayTreeSet.prototype[_is_SplayTreeSet_default] = true; + dart.addTypeCaches(SplayTreeSet); + dart.setMethodSignature(SplayTreeSet, () => ({ + __proto__: dart.getMethods(SplayTreeSet.__proto__), + [_newSet]: dart.gFnType(T => [core.Set$(T), []], T => [dart.nullable(core.Object)]), + cast: dart.gFnType(R => [core.Set$(R), []], R => [dart.nullable(core.Object)]), + [$cast]: dart.gFnType(R => [core.Set$(R), []], R => [dart.nullable(core.Object)]), + add: dart.fnType(core.bool, [dart.nullable(core.Object)]), + [_add$]: dart.fnType(core.bool, [E]), + remove: dart.fnType(core.bool, [dart.nullable(core.Object)]), + lookup: dart.fnType(dart.nullable(E), [dart.nullable(core.Object)]), + [_clone$]: dart.fnType(collection.SplayTreeSet$(E), []), + [_copyNode]: dart.gFnType(Node => [dart.nullable(collection._SplayTreeSetNode$(E)), [dart.nullable(Node)]], Node => [collection._SplayTreeNode$(E, Node)]) + })); + dart.setGetterSignature(SplayTreeSet, () => ({ + __proto__: dart.getGetters(SplayTreeSet.__proto__), + iterator: core.Iterator$(E), + [$iterator]: core.Iterator$(E) + })); + dart.setLibraryUri(SplayTreeSet, I[24]); + dart.setFieldSignature(SplayTreeSet, () => ({ + __proto__: dart.getFields(SplayTreeSet.__proto__), + [_root]: dart.fieldType(dart.nullable(collection._SplayTreeSetNode$(E))), + [_compare]: dart.fieldType(dart.fnType(core.int, [E, E])), + [_validKey$0]: dart.fieldType(dart.fnType(core.bool, [dart.dynamic])) + })); + dart.defineExtensionMethods(SplayTreeSet, ['cast', 'contains', 'toSet', 'toString']); + dart.defineExtensionAccessors(SplayTreeSet, [ + 'iterator', + 'length', + 'isEmpty', + 'isNotEmpty', + 'first', + 'last', + 'single' + ]); + return SplayTreeSet; +}); +collection.SplayTreeSet = collection.SplayTreeSet$(); +dart.addTypeTests(collection.SplayTreeSet, _is_SplayTreeSet_default); +collection._defaultEquals = function _defaultEquals(a, b) { + return dart.equals(a, b); +}; +collection._defaultHashCode = function _defaultHashCode(a) { + return dart.hashCode(a); +}; +collection._isToStringVisiting = function _isToStringVisiting(o) { + if (o == null) dart.nullFailed(I[39], 281, 33, "o"); + for (let i = 0; i < dart.notNull(collection._toStringVisiting[$length]); i = i + 1) { + if (core.identical(o, collection._toStringVisiting[$_get](i))) return true; + } + return false; +}; +collection._iterablePartsToStrings = function _iterablePartsToStrings(iterable, parts) { + if (iterable == null) dart.nullFailed(I[39], 289, 48, "iterable"); + if (parts == null) dart.nullFailed(I[39], 289, 71, "parts"); + let length = 0; + let count = 0; + let it = iterable[$iterator]; + while (length < 80 || count < 3) { + if (!dart.test(it.moveNext())) return; + let next = dart.str(it.current); + parts[$add](next); + length = length + (next.length + 2); + count = count + 1; + } + let penultimateString = null; + let ultimateString = null; + if (!dart.test(it.moveNext())) { + if (count <= 3 + 2) return; + ultimateString = parts[$removeLast](); + penultimateString = parts[$removeLast](); + } else { + let penultimate = it.current; + count = count + 1; + if (!dart.test(it.moveNext())) { + if (count <= 3 + 1) { + parts[$add](dart.str(penultimate)); + return; + } + ultimateString = dart.str(penultimate); + penultimateString = parts[$removeLast](); + length = length + (ultimateString.length + 2); + } else { + let ultimate = it.current; + count = count + 1; + if (!(count < 100)) dart.assertFailed(null, I[39], 349, 14, "count < maxCount"); + while (dart.test(it.moveNext())) { + penultimate = ultimate; + ultimate = it.current; + count = count + 1; + if (count > 100) { + while (length > 80 - 3 - 2 && count > 3) { + length = length - (parts[$removeLast]().length + 2); + count = count - 1; + } + parts[$add]("..."); + return; + } + } + penultimateString = dart.str(penultimate); + ultimateString = dart.str(ultimate); + length = length + (ultimateString.length + penultimateString.length + 2 * 2); + } + } + let elision = null; + if (count > dart.notNull(parts[$length]) + 2) { + elision = "..."; + length = length + (3 + 2); + } + while (length > 80 && dart.notNull(parts[$length]) > 3) { + length = length - (parts[$removeLast]().length + 2); + if (elision == null) { + elision = "..."; + length = length + (3 + 2); + } + } + if (elision != null) { + parts[$add](elision); + } + parts[$add](penultimateString); + parts[$add](ultimateString); +}; +collection._dynamicCompare = function _dynamicCompare(a, b) { + return core.Comparable.compare(core.Comparable.as(a), core.Comparable.as(b)); +}; +collection._defaultCompare = function _defaultCompare(K) { + let compare = C[78] || CT.C78; + if (dart.fnType(core.int, [K, K]).is(compare)) { + return compare; + } + return C[79] || CT.C79; +}; +dart.defineLazy(collection, { + /*collection._toStringVisiting*/get _toStringVisiting() { + return T$.JSArrayOfObject().of([]); + } +}, false); +var _processed = dart.privateName(convert, "_processed"); +var _data = dart.privateName(convert, "_data"); +var _original$ = dart.privateName(convert, "_original"); +var _isUpgraded = dart.privateName(convert, "_isUpgraded"); +var _upgradedMap = dart.privateName(convert, "_upgradedMap"); +var _process = dart.privateName(convert, "_process"); +var _computeKeys = dart.privateName(convert, "_computeKeys"); +var _upgrade = dart.privateName(convert, "_upgrade"); +core.String = class String extends core.Object { + static _stringFromJSArray(list, start, endOrNull) { + if (start == null) dart.nullFailed(I[7], 598, 11, "start"); + let len = core.int.as(dart.dload(list, 'length')); + let end = core.RangeError.checkValidRange(start, endOrNull, len); + if (dart.notNull(start) > 0 || dart.notNull(end) < dart.notNull(len)) { + list = dart.dsend(list, 'sublist', [start, end]); + } + return _js_helper.Primitives.stringFromCharCodes(T$.JSArrayOfint().as(list)); + } + static _stringFromUint8List(charCodes, start, endOrNull) { + if (charCodes == null) dart.nullFailed(I[7], 609, 23, "charCodes"); + if (start == null) dart.nullFailed(I[7], 609, 38, "start"); + let len = charCodes[$length]; + let end = core.RangeError.checkValidRange(start, endOrNull, len); + return _js_helper.Primitives.stringFromNativeUint8List(charCodes, start, end); + } + static _stringFromIterable(charCodes, start, end) { + if (charCodes == null) dart.nullFailed(I[7], 616, 21, "charCodes"); + if (start == null) dart.nullFailed(I[7], 616, 36, "start"); + if (dart.notNull(start) < 0) dart.throw(new core.RangeError.range(start, 0, charCodes[$length])); + if (end != null && dart.notNull(end) < dart.notNull(start)) { + dart.throw(new core.RangeError.range(end, start, charCodes[$length])); + } + let it = charCodes[$iterator]; + for (let i = 0; i < dart.notNull(start); i = i + 1) { + if (!dart.test(it.moveNext())) { + dart.throw(new core.RangeError.range(start, 0, i)); + } + } + let list = T$.JSArrayOfint().of(new Array()); + if (end == null) { + while (dart.test(it.moveNext())) + list[$add](it.current); + } else { + for (let i = start; dart.notNull(i) < dart.notNull(end); i = dart.notNull(i) + 1) { + if (!dart.test(it.moveNext())) { + dart.throw(new core.RangeError.range(end, start, i)); + } + list[$add](it.current); + } + } + return _js_helper.Primitives.stringFromCharCodes(list); + } + static is(o) { + return typeof o == "string"; + } + static as(o) { + if (typeof o == "string") return o; + return dart.as(o, core.String); + } + static fromCharCodes(charCodes, start = 0, end = null) { + if (charCodes == null) dart.nullFailed(I[7], 573, 46, "charCodes"); + if (start == null) dart.nullFailed(I[7], 574, 12, "start"); + if (_interceptors.JSArray.is(charCodes)) { + return core.String._stringFromJSArray(charCodes, start, end); + } + if (_native_typed_data.NativeUint8List.is(charCodes)) { + return core.String._stringFromUint8List(charCodes, start, end); + } + return core.String._stringFromIterable(charCodes, start, end); + } + static fromCharCode(charCode) { + if (charCode == null) dart.nullFailed(I[7], 585, 35, "charCode"); + return _js_helper.Primitives.stringFromCharCode(charCode); + } + static fromEnvironment(name, opts) { + if (name == null) dart.nullFailed(I[7], 590, 41, "name"); + let defaultValue = opts && 'defaultValue' in opts ? opts.defaultValue : ""; + if (defaultValue == null) dart.nullFailed(I[7], 590, 55, "defaultValue"); + dart.throw(new core.UnsupportedError.new("String.fromEnvironment can only be used as a const constructor")); + } +}; +(core.String[dart.mixinNew] = function() { +}).prototype = core.String.prototype; +dart.addTypeCaches(core.String); +core.String[dart.implements] = () => [core.Comparable$(core.String), core.Pattern]; +dart.setLibraryUri(core.String, I[8]); +convert._JsonMap = class _JsonMap extends collection.MapBase$(core.String, dart.dynamic) { + _get(key) { + if (dart.test(this[_isUpgraded])) { + return this[_upgradedMap][$_get](key); + } else if (!(typeof key == 'string')) { + return null; + } else { + let result = convert._JsonMap._getProperty(this[_processed], key); + if (dart.test(convert._JsonMap._isUnprocessed(result))) result = this[_process](key); + return result; + } + } + get length() { + return dart.test(this[_isUpgraded]) ? this[_upgradedMap][$length] : this[_computeKeys]()[$length]; + } + get isEmpty() { + return this.length === 0; + } + get isNotEmpty() { + return dart.notNull(this.length) > 0; + } + get keys() { + if (dart.test(this[_isUpgraded])) return this[_upgradedMap][$keys]; + return new convert._JsonMapKeyIterable.new(this); + } + get values() { + if (dart.test(this[_isUpgraded])) return this[_upgradedMap][$values]; + return T$0.MappedIterableOfString$dynamic().new(this[_computeKeys](), dart.fn(each => this._get(each), T$0.ObjectNTodynamic())); + } + _set(key, value$) { + let value = value$; + core.String.as(key); + if (key == null) dart.nullFailed(I[85], 170, 16, "key"); + if (dart.test(this[_isUpgraded])) { + this[_upgradedMap][$_set](key, value); + } else if (dart.test(this.containsKey(key))) { + let processed = this[_processed]; + convert._JsonMap._setProperty(processed, key, value); + let original = this[_original$]; + if (!core.identical(original, processed)) { + convert._JsonMap._setProperty(original, key, null); + } + } else { + this[_upgrade]()[$_set](key, value); + } + return value$; + } + addAll(other) { + T$0.MapOfString$dynamic().as(other); + if (other == null) dart.nullFailed(I[85], 185, 36, "other"); + other[$forEach](dart.fn((key, value) => { + if (key == null) dart.nullFailed(I[85], 186, 20, "key"); + this._set(key, value); + }, T$0.StringAnddynamicTovoid())); + } + containsValue(value) { + if (dart.test(this[_isUpgraded])) return this[_upgradedMap][$containsValue](value); + let keys = this[_computeKeys](); + for (let i = 0; i < dart.notNull(keys[$length]); i = i + 1) { + let key = keys[$_get](i); + if (dart.equals(this._get(key), value)) return true; + } + return false; + } + containsKey(key) { + if (dart.test(this[_isUpgraded])) return this[_upgradedMap][$containsKey](key); + if (!(typeof key == 'string')) return false; + return convert._JsonMap._hasProperty(this[_original$], key); + } + putIfAbsent(key, ifAbsent) { + core.String.as(key); + if (key == null) dart.nullFailed(I[85], 207, 15, "key"); + T$.VoidTodynamic().as(ifAbsent); + if (ifAbsent == null) dart.nullFailed(I[85], 207, 20, "ifAbsent"); + if (dart.test(this.containsKey(key))) return this._get(key); + let value = ifAbsent(); + this._set(key, value); + return value; + } + remove(key) { + if (!dart.test(this[_isUpgraded]) && !dart.test(this.containsKey(key))) return null; + return this[_upgrade]()[$remove](key); + } + clear() { + if (dart.test(this[_isUpgraded])) { + this[_upgradedMap][$clear](); + } else { + if (this[_data] != null) { + dart.dsend(this[_data], 'clear', []); + } + this[_original$] = this[_processed] = null; + this[_data] = new _js_helper.LinkedMap.new(); + } + } + forEach(f) { + if (f == null) dart.nullFailed(I[85], 234, 21, "f"); + if (dart.test(this[_isUpgraded])) return this[_upgradedMap][$forEach](f); + let keys = this[_computeKeys](); + for (let i = 0; i < dart.notNull(keys[$length]); i = i + 1) { + let key = keys[$_get](i); + let value = convert._JsonMap._getProperty(this[_processed], key); + if (dart.test(convert._JsonMap._isUnprocessed(value))) { + value = convert._convertJsonToDartLazy(convert._JsonMap._getProperty(this[_original$], key)); + convert._JsonMap._setProperty(this[_processed], key, value); + } + f(key, value); + if (!core.identical(keys, this[_data])) { + dart.throw(new core.ConcurrentModificationError.new(this)); + } + } + } + get [_isUpgraded]() { + return this[_processed] == null; + } + get [_upgradedMap]() { + if (!dart.test(this[_isUpgraded])) dart.assertFailed(null, I[85], 266, 12, "_isUpgraded"); + return this[_data]; + } + [_computeKeys]() { + if (!!dart.test(this[_isUpgraded])) dart.assertFailed(null, I[85], 274, 12, "!_isUpgraded"); + let keys = T$.ListN().as(this[_data]); + if (keys == null) { + keys = this[_data] = convert._JsonMap._getPropertyNames(this[_original$]); + } + return keys; + } + [_upgrade]() { + if (dart.test(this[_isUpgraded])) return this[_upgradedMap]; + let result = new (T$0.IdentityMapOfString$dynamic()).new(); + let keys = this[_computeKeys](); + for (let i = 0; i < dart.notNull(keys[$length]); i = i + 1) { + let key = keys[$_get](i); + result[$_set](key, this._get(key)); + } + if (dart.test(keys[$isEmpty])) { + keys[$add](""); + } else { + keys[$clear](); + } + this[_original$] = this[_processed] = null; + this[_data] = result; + if (!dart.test(this[_isUpgraded])) dart.assertFailed(null, I[85], 307, 12, "_isUpgraded"); + return result; + } + [_process](key) { + if (key == null) dart.nullFailed(I[85], 311, 19, "key"); + if (!dart.test(convert._JsonMap._hasProperty(this[_original$], key))) return null; + let result = convert._convertJsonToDartLazy(convert._JsonMap._getProperty(this[_original$], key)); + return convert._JsonMap._setProperty(this[_processed], key, result); + } + static _hasProperty(object, key) { + if (key == null) dart.nullFailed(I[85], 321, 43, "key"); + return Object.prototype.hasOwnProperty.call(object, key); + } + static _getProperty(object, key) { + if (key == null) dart.nullFailed(I[85], 323, 38, "key"); + return object[key]; + } + static _setProperty(object, key, value) { + if (key == null) dart.nullFailed(I[85], 324, 38, "key"); + return object[key] = value; + } + static _getPropertyNames(object) { + return Object.keys(object); + } + static _isUnprocessed(object) { + return typeof object == "undefined"; + } + static _newJavaScriptObject() { + return Object.create(null); + } +}; +(convert._JsonMap.new = function(_original) { + this[_processed] = convert._JsonMap._newJavaScriptObject(); + this[_data] = null; + this[_original$] = _original; + ; +}).prototype = convert._JsonMap.prototype; +dart.addTypeTests(convert._JsonMap); +dart.addTypeCaches(convert._JsonMap); +dart.setMethodSignature(convert._JsonMap, () => ({ + __proto__: dart.getMethods(convert._JsonMap.__proto__), + _get: dart.fnType(dart.dynamic, [dart.nullable(core.Object)]), + [$_get]: dart.fnType(dart.dynamic, [dart.nullable(core.Object)]), + _set: dart.fnType(dart.void, [dart.nullable(core.Object), dart.nullable(core.Object)]), + [$_set]: dart.fnType(dart.void, [dart.nullable(core.Object), dart.nullable(core.Object)]), + remove: dart.fnType(dart.dynamic, [dart.nullable(core.Object)]), + [$remove]: dart.fnType(dart.dynamic, [dart.nullable(core.Object)]), + clear: dart.fnType(dart.void, []), + [$clear]: dart.fnType(dart.void, []), + [_computeKeys]: dart.fnType(core.List$(core.String), []), + [_upgrade]: dart.fnType(core.Map$(core.String, dart.dynamic), []), + [_process]: dart.fnType(dart.dynamic, [core.String]) +})); +dart.setGetterSignature(convert._JsonMap, () => ({ + __proto__: dart.getGetters(convert._JsonMap.__proto__), + keys: core.Iterable$(core.String), + [$keys]: core.Iterable$(core.String), + [_isUpgraded]: core.bool, + [_upgradedMap]: core.Map$(core.String, dart.dynamic) +})); +dart.setLibraryUri(convert._JsonMap, I[31]); +dart.setFieldSignature(convert._JsonMap, () => ({ + __proto__: dart.getFields(convert._JsonMap.__proto__), + [_original$]: dart.fieldType(dart.dynamic), + [_processed]: dart.fieldType(dart.dynamic), + [_data]: dart.fieldType(dart.dynamic) +})); +dart.defineExtensionMethods(convert._JsonMap, [ + '_get', + '_set', + 'addAll', + 'containsValue', + 'containsKey', + 'putIfAbsent', + 'remove', + 'clear', + 'forEach' +]); +dart.defineExtensionAccessors(convert._JsonMap, [ + 'length', + 'isEmpty', + 'isNotEmpty', + 'keys', + 'values' +]); +var _parent$ = dart.privateName(convert, "_parent"); +convert._JsonMapKeyIterable = class _JsonMapKeyIterable extends _internal.ListIterable$(core.String) { + get length() { + return this[_parent$].length; + } + elementAt(index) { + if (index == null) dart.nullFailed(I[85], 340, 24, "index"); + return dart.test(this[_parent$][_isUpgraded]) ? this[_parent$].keys[$elementAt](index) : this[_parent$][_computeKeys]()[$_get](index); + } + get iterator() { + return dart.test(this[_parent$][_isUpgraded]) ? this[_parent$].keys[$iterator] : this[_parent$][_computeKeys]()[$iterator]; + } + contains(key) { + return this[_parent$].containsKey(key); + } +}; +(convert._JsonMapKeyIterable.new = function(_parent) { + if (_parent == null) dart.nullFailed(I[85], 336, 28, "_parent"); + this[_parent$] = _parent; + convert._JsonMapKeyIterable.__proto__.new.call(this); + ; +}).prototype = convert._JsonMapKeyIterable.prototype; +dart.addTypeTests(convert._JsonMapKeyIterable); +dart.addTypeCaches(convert._JsonMapKeyIterable); +dart.setLibraryUri(convert._JsonMapKeyIterable, I[31]); +dart.setFieldSignature(convert._JsonMapKeyIterable, () => ({ + __proto__: dart.getFields(convert._JsonMapKeyIterable.__proto__), + [_parent$]: dart.finalFieldType(convert._JsonMap) +})); +dart.defineExtensionMethods(convert._JsonMapKeyIterable, ['elementAt', 'contains']); +dart.defineExtensionAccessors(convert._JsonMapKeyIterable, ['length', 'iterator']); +var _reviver$ = dart.privateName(convert, "_reviver"); +var _sink$0 = dart.privateName(convert, "_sink"); +var _stringSink$ = dart.privateName(convert, "_stringSink"); +convert.StringConversionSinkMixin = class StringConversionSinkMixin extends core.Object { + add(str) { + core.String.as(str); + if (str == null) dart.nullFailed(I[86], 162, 19, "str"); + this.addSlice(str, 0, str.length, false); + } + asUtf8Sink(allowMalformed) { + if (allowMalformed == null) dart.nullFailed(I[86], 166, 38, "allowMalformed"); + return new convert._Utf8ConversionSink.new(this, allowMalformed); + } + asStringSink() { + return new convert._StringConversionSinkAsStringSinkAdapter.new(this); + } +}; +(convert.StringConversionSinkMixin.new = function() { + ; +}).prototype = convert.StringConversionSinkMixin.prototype; +dart.addTypeTests(convert.StringConversionSinkMixin); +dart.addTypeCaches(convert.StringConversionSinkMixin); +convert.StringConversionSinkMixin[dart.implements] = () => [convert.StringConversionSink]; +dart.setMethodSignature(convert.StringConversionSinkMixin, () => ({ + __proto__: dart.getMethods(convert.StringConversionSinkMixin.__proto__), + add: dart.fnType(dart.void, [dart.nullable(core.Object)]), + asUtf8Sink: dart.fnType(convert.ByteConversionSink, [core.bool]), + asStringSink: dart.fnType(convert.ClosableStringSink, []) +})); +dart.setLibraryUri(convert.StringConversionSinkMixin, I[31]); +convert.StringConversionSinkBase = class StringConversionSinkBase extends convert.StringConversionSinkMixin {}; +(convert.StringConversionSinkBase.new = function() { + ; +}).prototype = convert.StringConversionSinkBase.prototype; +dart.addTypeTests(convert.StringConversionSinkBase); +dart.addTypeCaches(convert.StringConversionSinkBase); +dart.setLibraryUri(convert.StringConversionSinkBase, I[31]); +const _is__StringSinkConversionSink_default = Symbol('_is__StringSinkConversionSink_default'); +convert._StringSinkConversionSink$ = dart.generic(TStringSink => { + class _StringSinkConversionSink extends convert.StringConversionSinkBase { + close() { + } + addSlice(str, start, end, isLast) { + if (str == null) dart.nullFailed(I[86], 183, 24, "str"); + if (start == null) dart.nullFailed(I[86], 183, 33, "start"); + if (end == null) dart.nullFailed(I[86], 183, 44, "end"); + if (isLast == null) dart.nullFailed(I[86], 183, 54, "isLast"); + if (start !== 0 || end !== str.length) { + for (let i = start; dart.notNull(i) < dart.notNull(end); i = dart.notNull(i) + 1) { + this[_stringSink$].writeCharCode(str[$codeUnitAt](i)); + } + } else { + this[_stringSink$].write(str); + } + if (dart.test(isLast)) this.close(); + } + add(str) { + core.String.as(str); + if (str == null) dart.nullFailed(I[86], 194, 19, "str"); + this[_stringSink$].write(str); + } + asUtf8Sink(allowMalformed) { + if (allowMalformed == null) dart.nullFailed(I[86], 198, 38, "allowMalformed"); + return new convert._Utf8StringSinkAdapter.new(this, this[_stringSink$], allowMalformed); + } + asStringSink() { + return new convert._ClosableStringSink.new(this[_stringSink$], dart.bind(this, 'close')); + } + } + (_StringSinkConversionSink.new = function(_stringSink) { + if (_stringSink == null) dart.nullFailed(I[86], 179, 34, "_stringSink"); + this[_stringSink$] = _stringSink; + ; + }).prototype = _StringSinkConversionSink.prototype; + dart.addTypeTests(_StringSinkConversionSink); + _StringSinkConversionSink.prototype[_is__StringSinkConversionSink_default] = true; + dart.addTypeCaches(_StringSinkConversionSink); + dart.setMethodSignature(_StringSinkConversionSink, () => ({ + __proto__: dart.getMethods(_StringSinkConversionSink.__proto__), + close: dart.fnType(dart.void, []), + addSlice: dart.fnType(dart.void, [core.String, core.int, core.int, core.bool]) + })); + dart.setLibraryUri(_StringSinkConversionSink, I[31]); + dart.setFieldSignature(_StringSinkConversionSink, () => ({ + __proto__: dart.getFields(_StringSinkConversionSink.__proto__), + [_stringSink$]: dart.finalFieldType(TStringSink) + })); + return _StringSinkConversionSink; +}); +convert._StringSinkConversionSink = convert._StringSinkConversionSink$(); +dart.addTypeTests(convert._StringSinkConversionSink, _is__StringSinkConversionSink_default); +var _contents = dart.privateName(core, "_contents"); +var _writeString = dart.privateName(core, "_writeString"); +core.StringBuffer = class StringBuffer extends core.Object { + [_writeString](str) { + this[_contents] = this[_contents] + str; + } + static _writeAll(string, objects, separator) { + if (string == null) dart.nullFailed(I[7], 751, 34, "string"); + if (objects == null) dart.nullFailed(I[7], 751, 51, "objects"); + if (separator == null) dart.nullFailed(I[7], 751, 67, "separator"); + let iterator = objects[$iterator]; + if (!dart.test(iterator.moveNext())) return string; + if (separator[$isEmpty]) { + do { + string = core.StringBuffer._writeOne(string, iterator.current); + } while (dart.test(iterator.moveNext())); + } else { + string = core.StringBuffer._writeOne(string, iterator.current); + while (dart.test(iterator.moveNext())) { + string = core.StringBuffer._writeOne(string, separator); + string = core.StringBuffer._writeOne(string, iterator.current); + } + } + return string; + } + static _writeOne(string, obj) { + return string + dart.str(obj); + } + get length() { + return this[_contents].length; + } + get isEmpty() { + return this.length === 0; + } + get isNotEmpty() { + return !dart.test(this.isEmpty); + } + write(obj) { + this[_writeString](dart.str(obj)); + } + writeCharCode(charCode) { + if (charCode == null) dart.nullFailed(I[7], 725, 26, "charCode"); + this[_writeString](core.String.fromCharCode(charCode)); + } + writeAll(objects, separator = "") { + if (objects == null) dart.nullFailed(I[7], 730, 35, "objects"); + if (separator == null) dart.nullFailed(I[7], 730, 52, "separator"); + this[_contents] = core.StringBuffer._writeAll(this[_contents], objects, separator); + } + writeln(obj = "") { + this[_writeString](dart.str(obj) + "\n"); + } + clear() { + this[_contents] = ""; + } + toString() { + return _js_helper.Primitives.flattenString(this[_contents]); + } +}; +(core.StringBuffer.new = function(content = "") { + if (content == null) dart.nullFailed(I[7], 714, 24, "content"); + this[_contents] = dart.str(content); + ; +}).prototype = core.StringBuffer.prototype; +dart.addTypeTests(core.StringBuffer); +dart.addTypeCaches(core.StringBuffer); +core.StringBuffer[dart.implements] = () => [core.StringSink]; +dart.setMethodSignature(core.StringBuffer, () => ({ + __proto__: dart.getMethods(core.StringBuffer.__proto__), + [_writeString]: dart.fnType(dart.void, [core.String]), + write: dart.fnType(dart.void, [dart.nullable(core.Object)]), + writeCharCode: dart.fnType(dart.void, [core.int]), + writeAll: dart.fnType(dart.void, [core.Iterable], [core.String]), + writeln: dart.fnType(dart.void, [], [dart.nullable(core.Object)]), + clear: dart.fnType(dart.void, []) +})); +dart.setGetterSignature(core.StringBuffer, () => ({ + __proto__: dart.getGetters(core.StringBuffer.__proto__), + length: core.int, + isEmpty: core.bool, + isNotEmpty: core.bool +})); +dart.setLibraryUri(core.StringBuffer, I[8]); +dart.setFieldSignature(core.StringBuffer, () => ({ + __proto__: dart.getFields(core.StringBuffer.__proto__), + [_contents]: dart.fieldType(core.String) +})); +dart.defineExtensionMethods(core.StringBuffer, ['toString']); +convert._JsonDecoderSink = class _JsonDecoderSink extends convert._StringSinkConversionSink$(core.StringBuffer) { + close() { + super.close(); + let accumulated = dart.toString(this[_stringSink$]); + this[_stringSink$].clear(); + let decoded = convert._parseJson(accumulated, this[_reviver$]); + this[_sink$0].add(decoded); + this[_sink$0].close(); + } +}; +(convert._JsonDecoderSink.new = function(_reviver, _sink) { + if (_sink == null) dart.nullFailed(I[85], 379, 40, "_sink"); + this[_reviver$] = _reviver; + this[_sink$0] = _sink; + convert._JsonDecoderSink.__proto__.new.call(this, new core.StringBuffer.new("")); + ; +}).prototype = convert._JsonDecoderSink.prototype; +dart.addTypeTests(convert._JsonDecoderSink); +dart.addTypeCaches(convert._JsonDecoderSink); +dart.setLibraryUri(convert._JsonDecoderSink, I[31]); +dart.setFieldSignature(convert._JsonDecoderSink, () => ({ + __proto__: dart.getFields(convert._JsonDecoderSink.__proto__), + [_reviver$]: dart.finalFieldType(dart.nullable(dart.fnType(dart.nullable(core.Object), [dart.nullable(core.Object), dart.nullable(core.Object)]))), + [_sink$0]: dart.finalFieldType(core.Sink$(dart.nullable(core.Object))) +})); +var _allowInvalid = dart.privateName(convert, "AsciiCodec._allowInvalid"); +var _allowInvalid$ = dart.privateName(convert, "_allowInvalid"); +var _UnicodeSubsetDecoder__subsetMask = dart.privateName(convert, "_UnicodeSubsetDecoder._subsetMask"); +var _UnicodeSubsetDecoder__allowInvalid = dart.privateName(convert, "_UnicodeSubsetDecoder._allowInvalid"); +var _UnicodeSubsetEncoder__subsetMask = dart.privateName(convert, "_UnicodeSubsetEncoder._subsetMask"); +const _is_Codec_default = Symbol('_is_Codec_default'); +convert.Codec$ = dart.generic((S, T) => { + var _InvertedCodecOfT$S = () => (_InvertedCodecOfT$S = dart.constFn(convert._InvertedCodec$(T, S)))(); + class Codec extends core.Object { + encode(input) { + S.as(input); + return this.encoder.convert(input); + } + decode(encoded) { + T.as(encoded); + return this.decoder.convert(encoded); + } + fuse(R, other) { + convert.Codec$(T, R).as(other); + if (other == null) dart.nullFailed(I[89], 64, 35, "other"); + return new (convert._FusedCodec$(S, T, R)).new(this, other); + } + get inverted() { + return new (_InvertedCodecOfT$S()).new(this); + } + } + (Codec.new = function() { + ; + }).prototype = Codec.prototype; + dart.addTypeTests(Codec); + Codec.prototype[_is_Codec_default] = true; + dart.addTypeCaches(Codec); + dart.setMethodSignature(Codec, () => ({ + __proto__: dart.getMethods(Codec.__proto__), + encode: dart.fnType(T, [dart.nullable(core.Object)]), + decode: dart.fnType(S, [dart.nullable(core.Object)]), + fuse: dart.gFnType(R => [convert.Codec$(S, R), [dart.nullable(core.Object)]], R => [dart.nullable(core.Object)]) + })); + dart.setGetterSignature(Codec, () => ({ + __proto__: dart.getGetters(Codec.__proto__), + inverted: convert.Codec$(T, S) + })); + dart.setLibraryUri(Codec, I[31]); + return Codec; +}); +convert.Codec = convert.Codec$(); +dart.addTypeTests(convert.Codec, _is_Codec_default); +core.List$ = dart.generic(E => { + class List extends core.Object { + static new(length = null) { + let list = null; + if (length === void 0) { + list = []; + } else { + let _length = length; + if (length == null || _length < 0) { + dart.throw(new core.ArgumentError.new("Length must be a non-negative integer: " + dart.str(_length))); + } + list = new Array(_length); + list.fill(null); + _interceptors.JSArray.markFixedList(list); + } + return _interceptors.JSArray$(E).of(list); + } + static filled(length, fill, opts) { + if (length == null) dart.argumentError(length); + let growable = opts && 'growable' in opts ? opts.growable : false; + if (growable == null) dart.nullFailed(I[7], 497, 60, "growable"); + let list = _interceptors.JSArray$(E).of(new Array(length)); + list.fill(fill); + if (!dart.test(growable)) _interceptors.JSArray.markFixedList(list); + return list; + } + static empty(opts) { + let growable = opts && 'growable' in opts ? opts.growable : false; + if (growable == null) dart.nullFailed(I[7], 490, 28, "growable"); + let list = _interceptors.JSArray$(E).of(new Array()); + if (!dart.test(growable)) _interceptors.JSArray.markFixedList(list); + return list; + } + static from(elements, opts) { + if (elements == null) dart.nullFailed(I[7], 505, 30, "elements"); + let growable = opts && 'growable' in opts ? opts.growable : true; + if (growable == null) dart.nullFailed(I[7], 505, 46, "growable"); + let list = _interceptors.JSArray$(E).of([]); + if (core.Iterable$(E).is(elements)) { + for (let e of elements) { + list.push(e); + } + } else { + for (let e of elements) { + list.push(E.as(e)); + } + } + if (!dart.test(growable)) _interceptors.JSArray.markFixedList(list); + return list; + } + static of(elements, opts) { + if (elements == null) dart.nullFailed(I[7], 527, 31, "elements"); + let growable = opts && 'growable' in opts ? opts.growable : true; + if (growable == null) dart.nullFailed(I[7], 527, 47, "growable"); + let list = _interceptors.JSArray$(E).of([]); + for (let e of elements) { + list.push(e); + } + if (!dart.test(growable)) _interceptors.JSArray.markFixedList(list); + return list; + } + static generate(length, generator, opts) { + if (length == null) dart.nullFailed(I[7], 539, 29, "length"); + if (generator == null) dart.nullFailed(I[7], 539, 39, "generator"); + let growable = opts && 'growable' in opts ? opts.growable : true; + if (growable == null) dart.nullFailed(I[7], 540, 13, "growable"); + let result = _interceptors.JSArray$(E).of(new Array(length)); + if (!dart.test(growable)) _interceptors.JSArray.markFixedList(result); + for (let i = 0; i < dart.notNull(length); i = i + 1) { + result[i] = generator(i); + } + return result; + } + static unmodifiable(elements) { + if (elements == null) dart.nullFailed(I[7], 552, 38, "elements"); + let list = core.List$(E).from(elements); + _interceptors.JSArray.markUnmodifiableList(list); + return list; + } + static castFrom(S, T, source) { + if (source == null) dart.nullFailed(I[90], 190, 41, "source"); + return new (_internal.CastList$(S, T)).new(source); + } + static copyRange(T, target, at, source, start = null, end = null) { + if (target == null) dart.nullFailed(I[90], 206, 36, "target"); + if (at == null) dart.nullFailed(I[90], 206, 48, "at"); + if (source == null) dart.nullFailed(I[90], 206, 60, "source"); + start == null ? start = 0 : null; + end = core.RangeError.checkValidRange(start, end, source[$length]); + if (end == null) { + dart.throw("unreachable"); + } + let length = dart.notNull(end) - dart.notNull(start); + if (dart.notNull(target[$length]) < dart.notNull(at) + length) { + dart.throw(new core.ArgumentError.value(target, "target", "Not big enough to hold " + dart.str(length) + " elements at position " + dart.str(at))); + } + if (source != target || dart.notNull(start) >= dart.notNull(at)) { + for (let i = 0; i < length; i = i + 1) { + target[$_set](dart.notNull(at) + i, source[$_get](dart.notNull(start) + i)); + } + } else { + for (let i = length; (i = i - 1) >= 0;) { + target[$_set](dart.notNull(at) + i, source[$_get](dart.notNull(start) + i)); + } + } + } + static writeIterable(T, target, at, source) { + if (target == null) dart.nullFailed(I[90], 241, 40, "target"); + if (at == null) dart.nullFailed(I[90], 241, 52, "at"); + if (source == null) dart.nullFailed(I[90], 241, 68, "source"); + core.RangeError.checkValueInInterval(at, 0, target[$length], "at"); + let index = at; + let targetLength = target[$length]; + for (let element of source) { + if (index == targetLength) { + dart.throw(new core.IndexError.new(targetLength, target)); + } + target[$_set](index, element); + index = dart.notNull(index) + 1; + } + } + [Symbol.iterator]() { + return new dart.JsIterator(this[$iterator]); + } + } + (List[dart.mixinNew] = function() { + }).prototype = List.prototype; + dart.addTypeTests(List); + List.prototype[dart.isList] = true; + dart.addTypeCaches(List); + List[dart.implements] = () => [_internal.EfficientLengthIterable$(E)]; + dart.setLibraryUri(List, I[8]); + return List; +}); +core.List = core.List$(); +dart.addTypeTests(core.List, dart.isList); +convert.Encoding = class Encoding extends convert.Codec$(core.String, core.List$(core.int)) { + decodeStream(byteStream) { + if (byteStream == null) dart.nullFailed(I[88], 21, 49, "byteStream"); + return this.decoder.bind(byteStream).fold(core.StringBuffer, new core.StringBuffer.new(), dart.fn((buffer, string) => { + let t172; + if (buffer == null) dart.nullFailed(I[88], 25, 27, "buffer"); + if (string == null) dart.nullFailed(I[88], 25, 42, "string"); + t172 = buffer; + return (() => { + t172.write(string); + return t172; + })(); + }, T$0.StringBufferAndStringToStringBuffer())).then(core.String, dart.fn(buffer => { + if (buffer == null) dart.nullFailed(I[88], 26, 29, "buffer"); + return dart.toString(buffer); + }, T$0.StringBufferToString())); + } + static getByName(name) { + if (name == null) return null; + return convert.Encoding._nameToEncoding[$_get](name[$toLowerCase]()); + } +}; +(convert.Encoding.new = function() { + convert.Encoding.__proto__.new.call(this); + ; +}).prototype = convert.Encoding.prototype; +dart.addTypeTests(convert.Encoding); +dart.addTypeCaches(convert.Encoding); +dart.setMethodSignature(convert.Encoding, () => ({ + __proto__: dart.getMethods(convert.Encoding.__proto__), + decodeStream: dart.fnType(async.Future$(core.String), [async.Stream$(core.List$(core.int))]) +})); +dart.setLibraryUri(convert.Encoding, I[31]); +dart.defineLazy(convert.Encoding, { + /*convert.Encoding._nameToEncoding*/get _nameToEncoding() { + return new (T$0.IdentityMapOfString$Encoding()).from(["iso_8859-1:1987", convert.latin1, "iso-ir-100", convert.latin1, "iso_8859-1", convert.latin1, "iso-8859-1", convert.latin1, "latin1", convert.latin1, "l1", convert.latin1, "ibm819", convert.latin1, "cp819", convert.latin1, "csisolatin1", convert.latin1, "iso-ir-6", convert.ascii, "ansi_x3.4-1968", convert.ascii, "ansi_x3.4-1986", convert.ascii, "iso_646.irv:1991", convert.ascii, "iso646-us", convert.ascii, "us-ascii", convert.ascii, "us", convert.ascii, "ibm367", convert.ascii, "cp367", convert.ascii, "csascii", convert.ascii, "ascii", convert.ascii, "csutf8", convert.utf8, "utf-8", convert.utf8]); + } +}, false); +convert.AsciiCodec = class AsciiCodec extends convert.Encoding { + get [_allowInvalid$]() { + return this[_allowInvalid]; + } + set [_allowInvalid$](value) { + super[_allowInvalid$] = value; + } + get name() { + return "us-ascii"; + } + encode(source) { + core.String.as(source); + if (source == null) dart.nullFailed(I[87], 41, 27, "source"); + return this.encoder.convert(source); + } + decode(bytes, opts) { + let t172; + T$0.ListOfint().as(bytes); + if (bytes == null) dart.nullFailed(I[87], 51, 27, "bytes"); + let allowInvalid = opts && 'allowInvalid' in opts ? opts.allowInvalid : null; + if (dart.test((t172 = allowInvalid, t172 == null ? this[_allowInvalid$] : t172))) { + return (C[80] || CT.C80).convert(bytes); + } else { + return (C[81] || CT.C81).convert(bytes); + } + } + get encoder() { + return C[82] || CT.C82; + } + get decoder() { + return dart.test(this[_allowInvalid$]) ? C[80] || CT.C80 : C[81] || CT.C81; + } +}; +(convert.AsciiCodec.new = function(opts) { + let allowInvalid = opts && 'allowInvalid' in opts ? opts.allowInvalid : false; + if (allowInvalid == null) dart.nullFailed(I[87], 36, 26, "allowInvalid"); + this[_allowInvalid] = allowInvalid; + convert.AsciiCodec.__proto__.new.call(this); + ; +}).prototype = convert.AsciiCodec.prototype; +dart.addTypeTests(convert.AsciiCodec); +dart.addTypeCaches(convert.AsciiCodec); +dart.setMethodSignature(convert.AsciiCodec, () => ({ + __proto__: dart.getMethods(convert.AsciiCodec.__proto__), + encode: dart.fnType(typed_data.Uint8List, [dart.nullable(core.Object)]), + decode: dart.fnType(core.String, [dart.nullable(core.Object)], {allowInvalid: dart.nullable(core.bool)}, {}) +})); +dart.setGetterSignature(convert.AsciiCodec, () => ({ + __proto__: dart.getGetters(convert.AsciiCodec.__proto__), + name: core.String, + encoder: convert.AsciiEncoder, + decoder: convert.AsciiDecoder +})); +dart.setLibraryUri(convert.AsciiCodec, I[31]); +dart.setFieldSignature(convert.AsciiCodec, () => ({ + __proto__: dart.getFields(convert.AsciiCodec.__proto__), + [_allowInvalid$]: dart.finalFieldType(core.bool) +})); +var _subsetMask$ = dart.privateName(convert, "_subsetMask"); +const _subsetMask$0 = _UnicodeSubsetEncoder__subsetMask; +convert._UnicodeSubsetEncoder = class _UnicodeSubsetEncoder extends convert.Converter$(core.String, core.List$(core.int)) { + get [_subsetMask$]() { + return this[_subsetMask$0]; + } + set [_subsetMask$](value) { + super[_subsetMask$] = value; + } + convert(string, start = 0, end = null) { + core.String.as(string); + if (string == null) dart.nullFailed(I[87], 77, 28, "string"); + if (start == null) dart.nullFailed(I[87], 77, 41, "start"); + let stringLength = string.length; + end = core.RangeError.checkValidRange(start, end, stringLength); + if (end == null) { + dart.throw(new core.RangeError.new("Invalid range")); + } + let length = dart.notNull(end) - dart.notNull(start); + let result = _native_typed_data.NativeUint8List.new(length); + for (let i = 0; i < length; i = i + 1) { + let codeUnit = string[$codeUnitAt](dart.notNull(start) + i); + if ((codeUnit & ~dart.notNull(this[_subsetMask$]) >>> 0) !== 0) { + dart.throw(new core.ArgumentError.value(string, "string", "Contains invalid characters.")); + } + result[$_set](i, codeUnit); + } + return result; + } + startChunkedConversion(sink) { + T$0.SinkOfListOfint().as(sink); + if (sink == null) dart.nullFailed(I[87], 101, 63, "sink"); + return new convert._UnicodeSubsetEncoderSink.new(this[_subsetMask$], convert.ByteConversionSink.is(sink) ? sink : new convert._ByteAdapterSink.new(sink)); + } + bind(stream) { + T$0.StreamOfString().as(stream); + if (stream == null) dart.nullFailed(I[87], 107, 41, "stream"); + return super.bind(stream); + } +}; +(convert._UnicodeSubsetEncoder.new = function(_subsetMask) { + if (_subsetMask == null) dart.nullFailed(I[87], 71, 36, "_subsetMask"); + this[_subsetMask$0] = _subsetMask; + convert._UnicodeSubsetEncoder.__proto__.new.call(this); + ; +}).prototype = convert._UnicodeSubsetEncoder.prototype; +dart.addTypeTests(convert._UnicodeSubsetEncoder); +dart.addTypeCaches(convert._UnicodeSubsetEncoder); +dart.setMethodSignature(convert._UnicodeSubsetEncoder, () => ({ + __proto__: dart.getMethods(convert._UnicodeSubsetEncoder.__proto__), + convert: dart.fnType(typed_data.Uint8List, [dart.nullable(core.Object)], [core.int, dart.nullable(core.int)]), + startChunkedConversion: dart.fnType(convert.StringConversionSink, [dart.nullable(core.Object)]) +})); +dart.setLibraryUri(convert._UnicodeSubsetEncoder, I[31]); +dart.setFieldSignature(convert._UnicodeSubsetEncoder, () => ({ + __proto__: dart.getFields(convert._UnicodeSubsetEncoder.__proto__), + [_subsetMask$]: dart.finalFieldType(core.int) +})); +convert.AsciiEncoder = class AsciiEncoder extends convert._UnicodeSubsetEncoder {}; +(convert.AsciiEncoder.new = function() { + convert.AsciiEncoder.__proto__.new.call(this, 127); + ; +}).prototype = convert.AsciiEncoder.prototype; +dart.addTypeTests(convert.AsciiEncoder); +dart.addTypeCaches(convert.AsciiEncoder); +dart.setLibraryUri(convert.AsciiEncoder, I[31]); +convert._UnicodeSubsetEncoderSink = class _UnicodeSubsetEncoderSink extends convert.StringConversionSinkBase { + close() { + this[_sink$0].close(); + } + addSlice(source, start, end, isLast) { + if (source == null) dart.nullFailed(I[87], 127, 24, "source"); + if (start == null) dart.nullFailed(I[87], 127, 36, "start"); + if (end == null) dart.nullFailed(I[87], 127, 47, "end"); + if (isLast == null) dart.nullFailed(I[87], 127, 57, "isLast"); + core.RangeError.checkValidRange(start, end, source.length); + for (let i = start; dart.notNull(i) < dart.notNull(end); i = dart.notNull(i) + 1) { + let codeUnit = source[$codeUnitAt](i); + if ((codeUnit & ~dart.notNull(this[_subsetMask$]) >>> 0) !== 0) { + dart.throw(new core.ArgumentError.new("Source contains invalid character with code point: " + dart.str(codeUnit) + ".")); + } + } + this[_sink$0].add(source[$codeUnits][$sublist](start, end)); + if (dart.test(isLast)) { + this.close(); + } + } +}; +(convert._UnicodeSubsetEncoderSink.new = function(_subsetMask, _sink) { + if (_subsetMask == null) dart.nullFailed(I[87], 121, 34, "_subsetMask"); + if (_sink == null) dart.nullFailed(I[87], 121, 52, "_sink"); + this[_subsetMask$] = _subsetMask; + this[_sink$0] = _sink; + ; +}).prototype = convert._UnicodeSubsetEncoderSink.prototype; +dart.addTypeTests(convert._UnicodeSubsetEncoderSink); +dart.addTypeCaches(convert._UnicodeSubsetEncoderSink); +dart.setMethodSignature(convert._UnicodeSubsetEncoderSink, () => ({ + __proto__: dart.getMethods(convert._UnicodeSubsetEncoderSink.__proto__), + close: dart.fnType(dart.void, []), + addSlice: dart.fnType(dart.void, [core.String, core.int, core.int, core.bool]) +})); +dart.setLibraryUri(convert._UnicodeSubsetEncoderSink, I[31]); +dart.setFieldSignature(convert._UnicodeSubsetEncoderSink, () => ({ + __proto__: dart.getFields(convert._UnicodeSubsetEncoderSink.__proto__), + [_sink$0]: dart.finalFieldType(convert.ByteConversionSink), + [_subsetMask$]: dart.finalFieldType(core.int) +})); +var _convertInvalid = dart.privateName(convert, "_convertInvalid"); +const _allowInvalid$0 = _UnicodeSubsetDecoder__allowInvalid; +const _subsetMask$1 = _UnicodeSubsetDecoder__subsetMask; +convert._UnicodeSubsetDecoder = class _UnicodeSubsetDecoder extends convert.Converter$(core.List$(core.int), core.String) { + get [_allowInvalid$]() { + return this[_allowInvalid$0]; + } + set [_allowInvalid$](value) { + super[_allowInvalid$] = value; + } + get [_subsetMask$]() { + return this[_subsetMask$1]; + } + set [_subsetMask$](value) { + super[_subsetMask$] = value; + } + convert(bytes, start = 0, end = null) { + T$0.ListOfint().as(bytes); + if (bytes == null) dart.nullFailed(I[87], 168, 28, "bytes"); + if (start == null) dart.nullFailed(I[87], 168, 40, "start"); + end = core.RangeError.checkValidRange(start, end, bytes[$length]); + if (end == null) { + dart.throw(new core.RangeError.new("Invalid range")); + } + for (let i = start; dart.notNull(i) < dart.notNull(end); i = dart.notNull(i) + 1) { + let byte = bytes[$_get](i); + if ((dart.notNull(byte) & ~dart.notNull(this[_subsetMask$]) >>> 0) !== 0) { + if (!dart.test(this[_allowInvalid$])) { + dart.throw(new core.FormatException.new("Invalid value in input: " + dart.str(byte))); + } + return this[_convertInvalid](bytes, start, end); + } + } + return core.String.fromCharCodes(bytes, start, end); + } + [_convertInvalid](bytes, start, end) { + if (bytes == null) dart.nullFailed(I[87], 186, 36, "bytes"); + if (start == null) dart.nullFailed(I[87], 186, 47, "start"); + if (end == null) dart.nullFailed(I[87], 186, 58, "end"); + let buffer = new core.StringBuffer.new(); + for (let i = start; dart.notNull(i) < dart.notNull(end); i = dart.notNull(i) + 1) { + let value = bytes[$_get](i); + if ((dart.notNull(value) & ~dart.notNull(this[_subsetMask$]) >>> 0) !== 0) value = 65533; + buffer.writeCharCode(value); + } + return buffer.toString(); + } + bind(stream) { + T$0.StreamOfListOfint().as(stream); + if (stream == null) dart.nullFailed(I[87], 203, 41, "stream"); + return super.bind(stream); + } +}; +(convert._UnicodeSubsetDecoder.new = function(_allowInvalid, _subsetMask) { + if (_allowInvalid == null) dart.nullFailed(I[87], 161, 36, "_allowInvalid"); + if (_subsetMask == null) dart.nullFailed(I[87], 161, 56, "_subsetMask"); + this[_allowInvalid$0] = _allowInvalid; + this[_subsetMask$1] = _subsetMask; + convert._UnicodeSubsetDecoder.__proto__.new.call(this); + ; +}).prototype = convert._UnicodeSubsetDecoder.prototype; +dart.addTypeTests(convert._UnicodeSubsetDecoder); +dart.addTypeCaches(convert._UnicodeSubsetDecoder); +dart.setMethodSignature(convert._UnicodeSubsetDecoder, () => ({ + __proto__: dart.getMethods(convert._UnicodeSubsetDecoder.__proto__), + convert: dart.fnType(core.String, [dart.nullable(core.Object)], [core.int, dart.nullable(core.int)]), + [_convertInvalid]: dart.fnType(core.String, [core.List$(core.int), core.int, core.int]) +})); +dart.setLibraryUri(convert._UnicodeSubsetDecoder, I[31]); +dart.setFieldSignature(convert._UnicodeSubsetDecoder, () => ({ + __proto__: dart.getFields(convert._UnicodeSubsetDecoder.__proto__), + [_allowInvalid$]: dart.finalFieldType(core.bool), + [_subsetMask$]: dart.finalFieldType(core.int) +})); +convert.AsciiDecoder = class AsciiDecoder extends convert._UnicodeSubsetDecoder { + startChunkedConversion(sink) { + T$0.SinkOfString().as(sink); + if (sink == null) dart.nullFailed(I[87], 214, 58, "sink"); + let stringSink = null; + if (convert.StringConversionSink.is(sink)) { + stringSink = sink; + } else { + stringSink = new convert._StringAdapterSink.new(sink); + } + if (dart.test(this[_allowInvalid$])) { + return new convert._ErrorHandlingAsciiDecoderSink.new(stringSink.asUtf8Sink(false)); + } else { + return new convert._SimpleAsciiDecoderSink.new(stringSink); + } + } +}; +(convert.AsciiDecoder.new = function(opts) { + let allowInvalid = opts && 'allowInvalid' in opts ? opts.allowInvalid : false; + if (allowInvalid == null) dart.nullFailed(I[87], 207, 28, "allowInvalid"); + convert.AsciiDecoder.__proto__.new.call(this, allowInvalid, 127); + ; +}).prototype = convert.AsciiDecoder.prototype; +dart.addTypeTests(convert.AsciiDecoder); +dart.addTypeCaches(convert.AsciiDecoder); +dart.setMethodSignature(convert.AsciiDecoder, () => ({ + __proto__: dart.getMethods(convert.AsciiDecoder.__proto__), + startChunkedConversion: dart.fnType(convert.ByteConversionSink, [dart.nullable(core.Object)]) +})); +dart.setLibraryUri(convert.AsciiDecoder, I[31]); +var _utf8Sink$ = dart.privateName(convert, "_utf8Sink"); +const _is_ChunkedConversionSink_default = Symbol('_is_ChunkedConversionSink_default'); +convert.ChunkedConversionSink$ = dart.generic(T => { + class ChunkedConversionSink extends core.Object {} + (ChunkedConversionSink.new = function() { + ; + }).prototype = ChunkedConversionSink.prototype; + dart.addTypeTests(ChunkedConversionSink); + ChunkedConversionSink.prototype[_is_ChunkedConversionSink_default] = true; + dart.addTypeCaches(ChunkedConversionSink); + ChunkedConversionSink[dart.implements] = () => [core.Sink$(T)]; + dart.setLibraryUri(ChunkedConversionSink, I[31]); + return ChunkedConversionSink; +}); +convert.ChunkedConversionSink = convert.ChunkedConversionSink$(); +dart.addTypeTests(convert.ChunkedConversionSink, _is_ChunkedConversionSink_default); +convert.ByteConversionSink = class ByteConversionSink extends convert.ChunkedConversionSink$(core.List$(core.int)) {}; +(convert.ByteConversionSink.new = function() { + convert.ByteConversionSink.__proto__.new.call(this); + ; +}).prototype = convert.ByteConversionSink.prototype; +dart.addTypeTests(convert.ByteConversionSink); +dart.addTypeCaches(convert.ByteConversionSink); +dart.setLibraryUri(convert.ByteConversionSink, I[31]); +convert.ByteConversionSinkBase = class ByteConversionSinkBase extends convert.ByteConversionSink { + addSlice(chunk, start, end, isLast) { + if (chunk == null) dart.nullFailed(I[91], 42, 27, "chunk"); + if (start == null) dart.nullFailed(I[91], 42, 38, "start"); + if (end == null) dart.nullFailed(I[91], 42, 49, "end"); + if (isLast == null) dart.nullFailed(I[91], 42, 59, "isLast"); + this.add(chunk[$sublist](start, end)); + if (dart.test(isLast)) this.close(); + } +}; +(convert.ByteConversionSinkBase.new = function() { + convert.ByteConversionSinkBase.__proto__.new.call(this); + ; +}).prototype = convert.ByteConversionSinkBase.prototype; +dart.addTypeTests(convert.ByteConversionSinkBase); +dart.addTypeCaches(convert.ByteConversionSinkBase); +dart.setMethodSignature(convert.ByteConversionSinkBase, () => ({ + __proto__: dart.getMethods(convert.ByteConversionSinkBase.__proto__), + addSlice: dart.fnType(dart.void, [core.List$(core.int), core.int, core.int, core.bool]) +})); +dart.setLibraryUri(convert.ByteConversionSinkBase, I[31]); +convert._ErrorHandlingAsciiDecoderSink = class _ErrorHandlingAsciiDecoderSink extends convert.ByteConversionSinkBase { + close() { + this[_utf8Sink$].close(); + } + add(source) { + T$0.ListOfint().as(source); + if (source == null) dart.nullFailed(I[87], 241, 22, "source"); + this.addSlice(source, 0, source[$length], false); + } + addSlice(source, start, end, isLast) { + if (source == null) dart.nullFailed(I[87], 245, 27, "source"); + if (start == null) dart.nullFailed(I[87], 245, 39, "start"); + if (end == null) dart.nullFailed(I[87], 245, 50, "end"); + if (isLast == null) dart.nullFailed(I[87], 245, 60, "isLast"); + core.RangeError.checkValidRange(start, end, source[$length]); + for (let i = start; dart.notNull(i) < dart.notNull(end); i = dart.notNull(i) + 1) { + if ((dart.notNull(source[$_get](i)) & ~127 >>> 0) !== 0) { + if (dart.notNull(i) > dart.notNull(start)) this[_utf8Sink$].addSlice(source, start, i, false); + this[_utf8Sink$].add(C[83] || CT.C83); + start = dart.notNull(i) + 1; + } + } + if (dart.notNull(start) < dart.notNull(end)) { + this[_utf8Sink$].addSlice(source, start, end, isLast); + } else if (dart.test(isLast)) { + this.close(); + } + } +}; +(convert._ErrorHandlingAsciiDecoderSink.new = function(_utf8Sink) { + if (_utf8Sink == null) dart.nullFailed(I[87], 235, 39, "_utf8Sink"); + this[_utf8Sink$] = _utf8Sink; + convert._ErrorHandlingAsciiDecoderSink.__proto__.new.call(this); + ; +}).prototype = convert._ErrorHandlingAsciiDecoderSink.prototype; +dart.addTypeTests(convert._ErrorHandlingAsciiDecoderSink); +dart.addTypeCaches(convert._ErrorHandlingAsciiDecoderSink); +dart.setMethodSignature(convert._ErrorHandlingAsciiDecoderSink, () => ({ + __proto__: dart.getMethods(convert._ErrorHandlingAsciiDecoderSink.__proto__), + close: dart.fnType(dart.void, []), + add: dart.fnType(dart.void, [dart.nullable(core.Object)]) +})); +dart.setLibraryUri(convert._ErrorHandlingAsciiDecoderSink, I[31]); +dart.setFieldSignature(convert._ErrorHandlingAsciiDecoderSink, () => ({ + __proto__: dart.getFields(convert._ErrorHandlingAsciiDecoderSink.__proto__), + [_utf8Sink$]: dart.fieldType(convert.ByteConversionSink) +})); +convert._SimpleAsciiDecoderSink = class _SimpleAsciiDecoderSink extends convert.ByteConversionSinkBase { + close() { + this[_sink$0].close(); + } + add(source) { + T$0.ListOfint().as(source); + if (source == null) dart.nullFailed(I[87], 271, 22, "source"); + for (let i = 0; i < dart.notNull(source[$length]); i = i + 1) { + if ((dart.notNull(source[$_get](i)) & ~127 >>> 0) !== 0) { + dart.throw(new core.FormatException.new("Source contains non-ASCII bytes.")); + } + } + this[_sink$0].add(core.String.fromCharCodes(source)); + } + addSlice(source, start, end, isLast) { + if (source == null) dart.nullFailed(I[87], 280, 27, "source"); + if (start == null) dart.nullFailed(I[87], 280, 39, "start"); + if (end == null) dart.nullFailed(I[87], 280, 50, "end"); + if (isLast == null) dart.nullFailed(I[87], 280, 60, "isLast"); + let length = source[$length]; + core.RangeError.checkValidRange(start, end, length); + if (dart.notNull(start) < dart.notNull(end)) { + if (start !== 0 || end != length) { + source = source[$sublist](start, end); + } + this.add(source); + } + if (dart.test(isLast)) this.close(); + } +}; +(convert._SimpleAsciiDecoderSink.new = function(_sink) { + if (_sink == null) dart.nullFailed(I[87], 265, 32, "_sink"); + this[_sink$0] = _sink; + convert._SimpleAsciiDecoderSink.__proto__.new.call(this); + ; +}).prototype = convert._SimpleAsciiDecoderSink.prototype; +dart.addTypeTests(convert._SimpleAsciiDecoderSink); +dart.addTypeCaches(convert._SimpleAsciiDecoderSink); +dart.setMethodSignature(convert._SimpleAsciiDecoderSink, () => ({ + __proto__: dart.getMethods(convert._SimpleAsciiDecoderSink.__proto__), + close: dart.fnType(dart.void, []), + add: dart.fnType(dart.void, [dart.nullable(core.Object)]) +})); +dart.setLibraryUri(convert._SimpleAsciiDecoderSink, I[31]); +dart.setFieldSignature(convert._SimpleAsciiDecoderSink, () => ({ + __proto__: dart.getFields(convert._SimpleAsciiDecoderSink.__proto__), + [_sink$0]: dart.fieldType(core.Sink) +})); +var _encoder = dart.privateName(convert, "Base64Codec._encoder"); +var Base64Encoder__urlSafe = dart.privateName(convert, "Base64Encoder._urlSafe"); +var _encoder$ = dart.privateName(convert, "_encoder"); +convert.Base64Codec = class Base64Codec extends convert.Codec$(core.List$(core.int), core.String) { + get [_encoder$]() { + return this[_encoder]; + } + set [_encoder$](value) { + super[_encoder$] = value; + } + get encoder() { + return this[_encoder$]; + } + get decoder() { + return C[86] || CT.C86; + } + decode(encoded) { + core.String.as(encoded); + if (encoded == null) dart.nullFailed(I[92], 83, 27, "encoded"); + return this.decoder.convert(encoded); + } + normalize(source, start = 0, end = null) { + let t172, t172$, t172$0, t172$1, t172$2; + if (source == null) dart.nullFailed(I[92], 97, 27, "source"); + if (start == null) dart.nullFailed(I[92], 97, 40, "start"); + end = core.RangeError.checkValidRange(start, end, source.length); + if (end == null) { + dart.throw(new core.RangeError.new("Invalid range")); + } + let buffer = null; + let sliceStart = start; + let alphabet = convert._Base64Encoder._base64Alphabet; + let inverseAlphabet = convert._Base64Decoder._inverseAlphabet; + let firstPadding = -1; + let firstPaddingSourceIndex = -1; + let paddingCount = 0; + for (let i = start; dart.notNull(i) < dart.notNull(end);) { + let sliceEnd = i; + let char = source[$codeUnitAt]((t172 = i, i = dart.notNull(t172) + 1, t172)); + let originalChar = char; + if (char === 37) { + if (dart.notNull(i) + 2 <= dart.notNull(end)) { + char = _internal.parseHexByte(source, i); + i = dart.notNull(i) + 2; + if (char === 37) char = -1; + } else { + char = -1; + } + } + if (0 <= dart.notNull(char) && dart.notNull(char) <= 127) { + let value = inverseAlphabet[$_get](char); + if (dart.notNull(value) >= 0) { + char = alphabet[$codeUnitAt](value); + if (char == originalChar) continue; + } else if (value === -1) { + if (firstPadding < 0) { + firstPadding = dart.notNull((t172$0 = (t172$ = buffer, t172$ == null ? null : t172$.length), t172$0 == null ? 0 : t172$0)) + (dart.notNull(sliceEnd) - dart.notNull(sliceStart)); + firstPaddingSourceIndex = sliceEnd; + } + paddingCount = paddingCount + 1; + if (originalChar === 61) continue; + } + if (value !== -2) { + t172$2 = (t172$1 = buffer, t172$1 == null ? buffer = new core.StringBuffer.new() : t172$1); + (() => { + t172$2.write(source[$substring](sliceStart, sliceEnd)); + t172$2.writeCharCode(char); + return t172$2; + })(); + sliceStart = i; + continue; + } + } + dart.throw(new core.FormatException.new("Invalid base64 data", source, sliceEnd)); + } + if (buffer != null) { + buffer.write(source[$substring](sliceStart, end)); + if (firstPadding >= 0) { + convert.Base64Codec._checkPadding(source, firstPaddingSourceIndex, end, firstPadding, paddingCount, buffer.length); + } else { + let endLength = (dart.notNull(buffer.length) - 1)[$modulo](4) + 1; + if (endLength === 1) { + dart.throw(new core.FormatException.new("Invalid base64 encoding length ", source, end)); + } + while (endLength < 4) { + buffer.write("="); + endLength = endLength + 1; + } + } + return source[$replaceRange](start, end, dart.toString(buffer)); + } + let length = dart.notNull(end) - dart.notNull(start); + if (firstPadding >= 0) { + convert.Base64Codec._checkPadding(source, firstPaddingSourceIndex, end, firstPadding, paddingCount, length); + } else { + let endLength = length[$modulo](4); + if (endLength === 1) { + dart.throw(new core.FormatException.new("Invalid base64 encoding length ", source, end)); + } + if (endLength > 1) { + source = source[$replaceRange](end, end, endLength === 2 ? "==" : "="); + } + } + return source; + } + static _checkPadding(source, sourceIndex, sourceEnd, firstPadding, paddingCount, length) { + if (source == null) dart.nullFailed(I[92], 199, 36, "source"); + if (sourceIndex == null) dart.nullFailed(I[92], 199, 48, "sourceIndex"); + if (sourceEnd == null) dart.nullFailed(I[92], 199, 65, "sourceEnd"); + if (firstPadding == null) dart.nullFailed(I[92], 200, 11, "firstPadding"); + if (paddingCount == null) dart.nullFailed(I[92], 200, 29, "paddingCount"); + if (length == null) dart.nullFailed(I[92], 200, 47, "length"); + if (length[$modulo](4) !== 0) { + dart.throw(new core.FormatException.new("Invalid base64 padding, padded length must be multiple of four, " + "is " + dart.str(length), source, sourceEnd)); + } + if (dart.notNull(firstPadding) + dart.notNull(paddingCount) !== length) { + dart.throw(new core.FormatException.new("Invalid base64 padding, '=' not at the end", source, sourceIndex)); + } + if (dart.notNull(paddingCount) > 2) { + dart.throw(new core.FormatException.new("Invalid base64 padding, more than two '=' characters", source, sourceIndex)); + } + } +}; +(convert.Base64Codec.new = function() { + this[_encoder] = C[84] || CT.C84; + convert.Base64Codec.__proto__.new.call(this); + ; +}).prototype = convert.Base64Codec.prototype; +(convert.Base64Codec.urlSafe = function() { + this[_encoder] = C[85] || CT.C85; + convert.Base64Codec.__proto__.new.call(this); + ; +}).prototype = convert.Base64Codec.prototype; +dart.addTypeTests(convert.Base64Codec); +dart.addTypeCaches(convert.Base64Codec); +dart.setMethodSignature(convert.Base64Codec, () => ({ + __proto__: dart.getMethods(convert.Base64Codec.__proto__), + decode: dart.fnType(typed_data.Uint8List, [dart.nullable(core.Object)]), + normalize: dart.fnType(core.String, [core.String], [core.int, dart.nullable(core.int)]) +})); +dart.setGetterSignature(convert.Base64Codec, () => ({ + __proto__: dart.getGetters(convert.Base64Codec.__proto__), + encoder: convert.Base64Encoder, + decoder: convert.Base64Decoder +})); +dart.setLibraryUri(convert.Base64Codec, I[31]); +dart.setFieldSignature(convert.Base64Codec, () => ({ + __proto__: dart.getFields(convert.Base64Codec.__proto__), + [_encoder$]: dart.finalFieldType(convert.Base64Encoder) +})); +var _urlSafe = dart.privateName(convert, "_urlSafe"); +const _urlSafe$ = Base64Encoder__urlSafe; +convert.Base64Encoder = class Base64Encoder extends convert.Converter$(core.List$(core.int), core.String) { + get [_urlSafe]() { + return this[_urlSafe$]; + } + set [_urlSafe](value) { + super[_urlSafe] = value; + } + convert(input) { + T$0.ListOfint().as(input); + if (input == null) dart.nullFailed(I[92], 236, 28, "input"); + if (dart.test(input[$isEmpty])) return ""; + let encoder = new convert._Base64Encoder.new(this[_urlSafe]); + let buffer = dart.nullCheck(encoder.encode(input, 0, input[$length], true)); + return core.String.fromCharCodes(buffer); + } + startChunkedConversion(sink) { + T$0.SinkOfString().as(sink); + if (sink == null) dart.nullFailed(I[92], 243, 58, "sink"); + if (convert.StringConversionSink.is(sink)) { + return new convert._Utf8Base64EncoderSink.new(sink.asUtf8Sink(false), this[_urlSafe]); + } + return new convert._AsciiBase64EncoderSink.new(sink, this[_urlSafe]); + } +}; +(convert.Base64Encoder.new = function() { + this[_urlSafe$] = false; + convert.Base64Encoder.__proto__.new.call(this); + ; +}).prototype = convert.Base64Encoder.prototype; +(convert.Base64Encoder.urlSafe = function() { + this[_urlSafe$] = true; + convert.Base64Encoder.__proto__.new.call(this); + ; +}).prototype = convert.Base64Encoder.prototype; +dart.addTypeTests(convert.Base64Encoder); +dart.addTypeCaches(convert.Base64Encoder); +dart.setMethodSignature(convert.Base64Encoder, () => ({ + __proto__: dart.getMethods(convert.Base64Encoder.__proto__), + convert: dart.fnType(core.String, [dart.nullable(core.Object)]), + startChunkedConversion: dart.fnType(convert.ByteConversionSink, [dart.nullable(core.Object)]) +})); +dart.setLibraryUri(convert.Base64Encoder, I[31]); +dart.setFieldSignature(convert.Base64Encoder, () => ({ + __proto__: dart.getFields(convert.Base64Encoder.__proto__), + [_urlSafe]: dart.finalFieldType(core.bool) +})); +var _state$0 = dart.privateName(convert, "_state"); +var _alphabet = dart.privateName(convert, "_alphabet"); +convert._Base64Encoder = class _Base64Encoder extends core.Object { + static _encodeState(count, bits) { + if (count == null) dart.nullFailed(I[92], 283, 31, "count"); + if (bits == null) dart.nullFailed(I[92], 283, 42, "bits"); + if (!(dart.notNull(count) <= 3)) dart.assertFailed(null, I[92], 284, 12, "count <= _countMask"); + return (bits[$leftShift](2) | dart.notNull(count)) >>> 0; + } + static _stateBits(state) { + if (state == null) dart.nullFailed(I[92], 289, 29, "state"); + return state[$rightShift](2); + } + static _stateCount(state) { + if (state == null) dart.nullFailed(I[92], 292, 30, "state"); + return (dart.notNull(state) & 3) >>> 0; + } + createBuffer(bufferLength) { + if (bufferLength == null) dart.nullFailed(I[92], 295, 30, "bufferLength"); + return _native_typed_data.NativeUint8List.new(bufferLength); + } + encode(bytes, start, end, isLast) { + if (bytes == null) dart.nullFailed(I[92], 308, 31, "bytes"); + if (start == null) dart.nullFailed(I[92], 308, 42, "start"); + if (end == null) dart.nullFailed(I[92], 308, 53, "end"); + if (isLast == null) dart.nullFailed(I[92], 308, 63, "isLast"); + if (!(0 <= dart.notNull(start))) dart.assertFailed(null, I[92], 309, 12, "0 <= start"); + if (!(dart.notNull(start) <= dart.notNull(end))) dart.assertFailed(null, I[92], 310, 12, "start <= end"); + if (!(dart.notNull(end) <= dart.notNull(bytes[$length]))) dart.assertFailed(null, I[92], 311, 12, "end <= bytes.length"); + let length = dart.notNull(end) - dart.notNull(start); + let count = convert._Base64Encoder._stateCount(this[_state$0]); + let byteCount = dart.notNull(count) + length; + let fullChunks = (byteCount / 3)[$truncate](); + let partialChunkLength = byteCount - fullChunks * 3; + let bufferLength = fullChunks * 4; + if (dart.test(isLast) && partialChunkLength > 0) { + bufferLength = bufferLength + 4; + } + let output = this.createBuffer(bufferLength); + this[_state$0] = convert._Base64Encoder.encodeChunk(this[_alphabet], bytes, start, end, isLast, output, 0, this[_state$0]); + if (bufferLength > 0) return output; + return null; + } + static encodeChunk(alphabet, bytes, start, end, isLast, output, outputIndex, state) { + let t172, t172$, t172$0, t172$1; + if (alphabet == null) dart.nullFailed(I[92], 331, 33, "alphabet"); + if (bytes == null) dart.nullFailed(I[92], 331, 53, "bytes"); + if (start == null) dart.nullFailed(I[92], 331, 64, "start"); + if (end == null) dart.nullFailed(I[92], 331, 75, "end"); + if (isLast == null) dart.nullFailed(I[92], 332, 12, "isLast"); + if (output == null) dart.nullFailed(I[92], 332, 30, "output"); + if (outputIndex == null) dart.nullFailed(I[92], 332, 42, "outputIndex"); + if (state == null) dart.nullFailed(I[92], 332, 59, "state"); + let bits = convert._Base64Encoder._stateBits(state); + let expectedChars = 3 - dart.notNull(convert._Base64Encoder._stateCount(state)); + let byteOr = 0; + for (let i = start; dart.notNull(i) < dart.notNull(end); i = dart.notNull(i) + 1) { + let byte = bytes[$_get](i); + byteOr = (byteOr | dart.notNull(byte)) >>> 0; + bits = (dart.notNull(bits) << 8 | dart.notNull(byte)) & 16777215; + expectedChars = expectedChars - 1; + if (expectedChars === 0) { + output[$_set]((t172 = outputIndex, outputIndex = dart.notNull(t172) + 1, t172), alphabet[$codeUnitAt]((bits[$rightShift](18) & 63) >>> 0)); + output[$_set]((t172$ = outputIndex, outputIndex = dart.notNull(t172$) + 1, t172$), alphabet[$codeUnitAt]((bits[$rightShift](12) & 63) >>> 0)); + output[$_set]((t172$0 = outputIndex, outputIndex = dart.notNull(t172$0) + 1, t172$0), alphabet[$codeUnitAt]((bits[$rightShift](6) & 63) >>> 0)); + output[$_set]((t172$1 = outputIndex, outputIndex = dart.notNull(t172$1) + 1, t172$1), alphabet[$codeUnitAt]((dart.notNull(bits) & 63) >>> 0)); + expectedChars = 3; + bits = 0; + } + } + if (byteOr >= 0 && byteOr <= 255) { + if (dart.test(isLast) && expectedChars < 3) { + convert._Base64Encoder.writeFinalChunk(alphabet, output, outputIndex, 3 - expectedChars, bits); + return 0; + } + return convert._Base64Encoder._encodeState(3 - expectedChars, bits); + } + let i = start; + while (dart.notNull(i) < dart.notNull(end)) { + let byte = bytes[$_get](i); + if (dart.notNull(byte) < 0 || dart.notNull(byte) > 255) break; + i = dart.notNull(i) + 1; + } + dart.throw(new core.ArgumentError.value(bytes, "Not a byte value at index " + dart.str(i) + ": 0x" + bytes[$_get](i)[$toRadixString](16))); + } + static writeFinalChunk(alphabet, output, outputIndex, count, bits) { + let t172, t172$, t172$0, t172$1, t172$2, t172$3, t172$4, t172$5; + if (alphabet == null) dart.nullFailed(I[92], 379, 14, "alphabet"); + if (output == null) dart.nullFailed(I[92], 379, 34, "output"); + if (outputIndex == null) dart.nullFailed(I[92], 379, 46, "outputIndex"); + if (count == null) dart.nullFailed(I[92], 379, 63, "count"); + if (bits == null) dart.nullFailed(I[92], 379, 74, "bits"); + if (!(dart.notNull(count) > 0)) dart.assertFailed(null, I[92], 380, 12, "count > 0"); + if (count === 1) { + output[$_set]((t172 = outputIndex, outputIndex = dart.notNull(t172) + 1, t172), alphabet[$codeUnitAt]((bits[$rightShift](2) & 63) >>> 0)); + output[$_set]((t172$ = outputIndex, outputIndex = dart.notNull(t172$) + 1, t172$), alphabet[$codeUnitAt]((dart.notNull(bits) << 4 & 63) >>> 0)); + output[$_set]((t172$0 = outputIndex, outputIndex = dart.notNull(t172$0) + 1, t172$0), 61); + output[$_set]((t172$1 = outputIndex, outputIndex = dart.notNull(t172$1) + 1, t172$1), 61); + } else { + if (!(count === 2)) dart.assertFailed(null, I[92], 387, 14, "count == 2"); + output[$_set]((t172$2 = outputIndex, outputIndex = dart.notNull(t172$2) + 1, t172$2), alphabet[$codeUnitAt]((bits[$rightShift](10) & 63) >>> 0)); + output[$_set]((t172$3 = outputIndex, outputIndex = dart.notNull(t172$3) + 1, t172$3), alphabet[$codeUnitAt]((bits[$rightShift](4) & 63) >>> 0)); + output[$_set]((t172$4 = outputIndex, outputIndex = dart.notNull(t172$4) + 1, t172$4), alphabet[$codeUnitAt]((dart.notNull(bits) << 2 & 63) >>> 0)); + output[$_set]((t172$5 = outputIndex, outputIndex = dart.notNull(t172$5) + 1, t172$5), 61); + } + } +}; +(convert._Base64Encoder.new = function(urlSafe) { + if (urlSafe == null) dart.nullFailed(I[92], 279, 23, "urlSafe"); + this[_state$0] = 0; + this[_alphabet] = dart.test(urlSafe) ? convert._Base64Encoder._base64UrlAlphabet : convert._Base64Encoder._base64Alphabet; + ; +}).prototype = convert._Base64Encoder.prototype; +dart.addTypeTests(convert._Base64Encoder); +dart.addTypeCaches(convert._Base64Encoder); +dart.setMethodSignature(convert._Base64Encoder, () => ({ + __proto__: dart.getMethods(convert._Base64Encoder.__proto__), + createBuffer: dart.fnType(typed_data.Uint8List, [core.int]), + encode: dart.fnType(dart.nullable(typed_data.Uint8List), [core.List$(core.int), core.int, core.int, core.bool]) +})); +dart.setLibraryUri(convert._Base64Encoder, I[31]); +dart.setFieldSignature(convert._Base64Encoder, () => ({ + __proto__: dart.getFields(convert._Base64Encoder.__proto__), + [_state$0]: dart.fieldType(core.int), + [_alphabet]: dart.finalFieldType(core.String) +})); +dart.defineLazy(convert._Base64Encoder, { + /*convert._Base64Encoder._base64Alphabet*/get _base64Alphabet() { + return "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"; + }, + /*convert._Base64Encoder._base64UrlAlphabet*/get _base64UrlAlphabet() { + return "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"; + }, + /*convert._Base64Encoder._valueShift*/get _valueShift() { + return 2; + }, + /*convert._Base64Encoder._countMask*/get _countMask() { + return 3; + }, + /*convert._Base64Encoder._sixBitMask*/get _sixBitMask() { + return 63; + } +}, false); +convert._BufferCachingBase64Encoder = class _BufferCachingBase64Encoder extends convert._Base64Encoder { + createBuffer(bufferLength) { + if (bufferLength == null) dart.nullFailed(I[92], 405, 30, "bufferLength"); + let buffer = this.bufferCache; + if (buffer == null || dart.notNull(buffer[$length]) < dart.notNull(bufferLength)) { + this.bufferCache = buffer = _native_typed_data.NativeUint8List.new(bufferLength); + } + if (buffer == null) { + dart.throw("unreachable"); + } + return typed_data.Uint8List.view(buffer[$buffer], buffer[$offsetInBytes], bufferLength); + } +}; +(convert._BufferCachingBase64Encoder.new = function(urlSafe) { + if (urlSafe == null) dart.nullFailed(I[92], 403, 36, "urlSafe"); + this.bufferCache = null; + convert._BufferCachingBase64Encoder.__proto__.new.call(this, urlSafe); + ; +}).prototype = convert._BufferCachingBase64Encoder.prototype; +dart.addTypeTests(convert._BufferCachingBase64Encoder); +dart.addTypeCaches(convert._BufferCachingBase64Encoder); +dart.setLibraryUri(convert._BufferCachingBase64Encoder, I[31]); +dart.setFieldSignature(convert._BufferCachingBase64Encoder, () => ({ + __proto__: dart.getFields(convert._BufferCachingBase64Encoder.__proto__), + bufferCache: dart.fieldType(dart.nullable(typed_data.Uint8List)) +})); +var _add$0 = dart.privateName(convert, "_add"); +convert._Base64EncoderSink = class _Base64EncoderSink extends convert.ByteConversionSinkBase { + add(source) { + T$0.ListOfint().as(source); + if (source == null) dart.nullFailed(I[92], 420, 22, "source"); + this[_add$0](source, 0, source[$length], false); + } + close() { + this[_add$0](C[87] || CT.C87, 0, 0, true); + } + addSlice(source, start, end, isLast) { + if (source == null) dart.nullFailed(I[92], 428, 27, "source"); + if (start == null) dart.nullFailed(I[92], 428, 39, "start"); + if (end == null) dart.nullFailed(I[92], 428, 50, "end"); + if (isLast == null) dart.nullFailed(I[92], 428, 60, "isLast"); + if (end == null) dart.throw(new core.ArgumentError.notNull("end")); + core.RangeError.checkValidRange(start, end, source[$length]); + this[_add$0](source, start, end, isLast); + } +}; +(convert._Base64EncoderSink.new = function() { + convert._Base64EncoderSink.__proto__.new.call(this); + ; +}).prototype = convert._Base64EncoderSink.prototype; +dart.addTypeTests(convert._Base64EncoderSink); +dart.addTypeCaches(convert._Base64EncoderSink); +dart.setMethodSignature(convert._Base64EncoderSink, () => ({ + __proto__: dart.getMethods(convert._Base64EncoderSink.__proto__), + add: dart.fnType(dart.void, [dart.nullable(core.Object)]), + close: dart.fnType(dart.void, []) +})); +dart.setLibraryUri(convert._Base64EncoderSink, I[31]); +convert._AsciiBase64EncoderSink = class _AsciiBase64EncoderSink extends convert._Base64EncoderSink { + [_add$0](source, start, end, isLast) { + if (source == null) dart.nullFailed(I[92], 444, 23, "source"); + if (start == null) dart.nullFailed(I[92], 444, 35, "start"); + if (end == null) dart.nullFailed(I[92], 444, 46, "end"); + if (isLast == null) dart.nullFailed(I[92], 444, 56, "isLast"); + let buffer = this[_encoder$].encode(source, start, end, isLast); + if (buffer != null) { + let string = core.String.fromCharCodes(buffer); + this[_sink$0].add(string); + } + if (dart.test(isLast)) { + this[_sink$0].close(); + } + } +}; +(convert._AsciiBase64EncoderSink.new = function(_sink, urlSafe) { + if (_sink == null) dart.nullFailed(I[92], 441, 32, "_sink"); + if (urlSafe == null) dart.nullFailed(I[92], 441, 44, "urlSafe"); + this[_sink$0] = _sink; + this[_encoder$] = new convert._BufferCachingBase64Encoder.new(urlSafe); + convert._AsciiBase64EncoderSink.__proto__.new.call(this); + ; +}).prototype = convert._AsciiBase64EncoderSink.prototype; +dart.addTypeTests(convert._AsciiBase64EncoderSink); +dart.addTypeCaches(convert._AsciiBase64EncoderSink); +dart.setMethodSignature(convert._AsciiBase64EncoderSink, () => ({ + __proto__: dart.getMethods(convert._AsciiBase64EncoderSink.__proto__), + [_add$0]: dart.fnType(dart.void, [core.List$(core.int), core.int, core.int, core.bool]) +})); +dart.setLibraryUri(convert._AsciiBase64EncoderSink, I[31]); +dart.setFieldSignature(convert._AsciiBase64EncoderSink, () => ({ + __proto__: dart.getFields(convert._AsciiBase64EncoderSink.__proto__), + [_sink$0]: dart.finalFieldType(core.Sink$(core.String)), + [_encoder$]: dart.finalFieldType(convert._Base64Encoder) +})); +convert._Utf8Base64EncoderSink = class _Utf8Base64EncoderSink extends convert._Base64EncoderSink { + [_add$0](source, start, end, isLast) { + if (source == null) dart.nullFailed(I[92], 463, 23, "source"); + if (start == null) dart.nullFailed(I[92], 463, 35, "start"); + if (end == null) dart.nullFailed(I[92], 463, 46, "end"); + if (isLast == null) dart.nullFailed(I[92], 463, 56, "isLast"); + let buffer = this[_encoder$].encode(source, start, end, isLast); + if (buffer != null) { + this[_sink$0].addSlice(buffer, 0, buffer[$length], isLast); + } + } +}; +(convert._Utf8Base64EncoderSink.new = function(_sink, urlSafe) { + if (_sink == null) dart.nullFailed(I[92], 460, 31, "_sink"); + if (urlSafe == null) dart.nullFailed(I[92], 460, 43, "urlSafe"); + this[_sink$0] = _sink; + this[_encoder$] = new convert._Base64Encoder.new(urlSafe); + convert._Utf8Base64EncoderSink.__proto__.new.call(this); + ; +}).prototype = convert._Utf8Base64EncoderSink.prototype; +dart.addTypeTests(convert._Utf8Base64EncoderSink); +dart.addTypeCaches(convert._Utf8Base64EncoderSink); +dart.setMethodSignature(convert._Utf8Base64EncoderSink, () => ({ + __proto__: dart.getMethods(convert._Utf8Base64EncoderSink.__proto__), + [_add$0]: dart.fnType(dart.void, [core.List$(core.int), core.int, core.int, core.bool]) +})); +dart.setLibraryUri(convert._Utf8Base64EncoderSink, I[31]); +dart.setFieldSignature(convert._Utf8Base64EncoderSink, () => ({ + __proto__: dart.getFields(convert._Utf8Base64EncoderSink.__proto__), + [_sink$0]: dart.finalFieldType(convert.ByteConversionSink), + [_encoder$]: dart.finalFieldType(convert._Base64Encoder) +})); +convert.Base64Decoder = class Base64Decoder extends convert.Converter$(core.String, core.List$(core.int)) { + convert(input, start = 0, end = null) { + core.String.as(input); + if (input == null) dart.nullFailed(I[92], 491, 28, "input"); + if (start == null) dart.nullFailed(I[92], 491, 40, "start"); + end = core.RangeError.checkValidRange(start, end, input.length); + if (end == null) { + dart.throw(new core.RangeError.new("Invalid range")); + } + if (start == end) return _native_typed_data.NativeUint8List.new(0); + let decoder = new convert._Base64Decoder.new(); + let buffer = dart.nullCheck(decoder.decode(input, start, end)); + decoder.close(input, end); + return buffer; + } + startChunkedConversion(sink) { + T$0.SinkOfListOfint().as(sink); + if (sink == null) dart.nullFailed(I[92], 504, 63, "sink"); + return new convert._Base64DecoderSink.new(sink); + } +}; +(convert.Base64Decoder.new = function() { + convert.Base64Decoder.__proto__.new.call(this); + ; +}).prototype = convert.Base64Decoder.prototype; +dart.addTypeTests(convert.Base64Decoder); +dart.addTypeCaches(convert.Base64Decoder); +dart.setMethodSignature(convert.Base64Decoder, () => ({ + __proto__: dart.getMethods(convert.Base64Decoder.__proto__), + convert: dart.fnType(typed_data.Uint8List, [dart.nullable(core.Object)], [core.int, dart.nullable(core.int)]), + startChunkedConversion: dart.fnType(convert.StringConversionSink, [dart.nullable(core.Object)]) +})); +dart.setLibraryUri(convert.Base64Decoder, I[31]); +convert._Base64Decoder = class _Base64Decoder extends core.Object { + static _encodeCharacterState(count, bits) { + if (count == null) dart.nullFailed(I[92], 572, 40, "count"); + if (bits == null) dart.nullFailed(I[92], 572, 51, "bits"); + if (!(count === (dart.notNull(count) & 3) >>> 0)) dart.assertFailed(null, I[92], 573, 12, "count == (count & _countMask)"); + return (bits[$leftShift](2) | dart.notNull(count)) >>> 0; + } + static _stateCount(state) { + if (state == null) dart.nullFailed(I[92], 578, 30, "state"); + if (!(dart.notNull(state) >= 0)) dart.assertFailed(null, I[92], 579, 12, "state >= 0"); + return (dart.notNull(state) & 3) >>> 0; + } + static _stateBits(state) { + if (state == null) dart.nullFailed(I[92], 584, 29, "state"); + if (!(dart.notNull(state) >= 0)) dart.assertFailed(null, I[92], 585, 12, "state >= 0"); + return state[$rightShift](2); + } + static _encodePaddingState(expectedPadding) { + if (expectedPadding == null) dart.nullFailed(I[92], 590, 38, "expectedPadding"); + if (!(dart.notNull(expectedPadding) >= 0)) dart.assertFailed(null, I[92], 591, 12, "expectedPadding >= 0"); + if (!(dart.notNull(expectedPadding) <= 5)) dart.assertFailed(null, I[92], 592, 12, "expectedPadding <= 5"); + return -dart.notNull(expectedPadding) - 1; + } + static _statePadding(state) { + if (state == null) dart.nullFailed(I[92], 597, 32, "state"); + if (!(dart.notNull(state) < 0)) dart.assertFailed(null, I[92], 598, 12, "state < 0"); + return -dart.notNull(state) - 1; + } + static _hasSeenPadding(state) { + if (state == null) dart.nullFailed(I[92], 602, 35, "state"); + return dart.notNull(state) < 0; + } + decode(input, start, end) { + if (input == null) dart.nullFailed(I[92], 609, 28, "input"); + if (start == null) dart.nullFailed(I[92], 609, 39, "start"); + if (end == null) dart.nullFailed(I[92], 609, 50, "end"); + if (!(0 <= dart.notNull(start))) dart.assertFailed(null, I[92], 610, 12, "0 <= start"); + if (!(dart.notNull(start) <= dart.notNull(end))) dart.assertFailed(null, I[92], 611, 12, "start <= end"); + if (!(dart.notNull(end) <= input.length)) dart.assertFailed(null, I[92], 612, 12, "end <= input.length"); + if (dart.test(convert._Base64Decoder._hasSeenPadding(this[_state$0]))) { + this[_state$0] = convert._Base64Decoder._checkPadding(input, start, end, this[_state$0]); + return null; + } + if (start == end) return _native_typed_data.NativeUint8List.new(0); + let buffer = convert._Base64Decoder._allocateBuffer(input, start, end, this[_state$0]); + this[_state$0] = convert._Base64Decoder.decodeChunk(input, start, end, buffer, 0, this[_state$0]); + return buffer; + } + close(input, end) { + if (dart.notNull(this[_state$0]) < dart.notNull(convert._Base64Decoder._encodePaddingState(0))) { + dart.throw(new core.FormatException.new("Missing padding character", input, end)); + } + if (dart.notNull(this[_state$0]) > 0) { + dart.throw(new core.FormatException.new("Invalid length, must be multiple of four", input, end)); + } + this[_state$0] = convert._Base64Decoder._encodePaddingState(0); + } + static decodeChunk(input, start, end, output, outIndex, state) { + let t172, t172$, t172$0, t172$1, t172$2, t172$3; + if (input == null) dart.nullFailed(I[92], 640, 33, "input"); + if (start == null) dart.nullFailed(I[92], 640, 44, "start"); + if (end == null) dart.nullFailed(I[92], 640, 55, "end"); + if (output == null) dart.nullFailed(I[92], 640, 70, "output"); + if (outIndex == null) dart.nullFailed(I[92], 641, 11, "outIndex"); + if (state == null) dart.nullFailed(I[92], 641, 25, "state"); + if (!!dart.test(convert._Base64Decoder._hasSeenPadding(state))) dart.assertFailed(null, I[92], 642, 12, "!_hasSeenPadding(state)"); + let bits = convert._Base64Decoder._stateBits(state); + let count = convert._Base64Decoder._stateCount(state); + let charOr = 0; + let inverseAlphabet = convert._Base64Decoder._inverseAlphabet; + for (let i = start; dart.notNull(i) < dart.notNull(end); i = dart.notNull(i) + 1) { + let char = input[$codeUnitAt](i); + charOr = (charOr | char) >>> 0; + let code = inverseAlphabet[$_get]((char & 127) >>> 0); + if (dart.notNull(code) >= 0) { + bits = (bits[$leftShift](6) | dart.notNull(code)) & 16777215; + count = dart.notNull(count) + 1 & 3; + if (count === 0) { + if (!(dart.notNull(outIndex) + 3 <= dart.notNull(output[$length]))) dart.assertFailed(null, I[92], 664, 18, "outIndex + 3 <= output.length"); + output[$_set]((t172 = outIndex, outIndex = dart.notNull(t172) + 1, t172), (bits[$rightShift](16) & 255) >>> 0); + output[$_set]((t172$ = outIndex, outIndex = dart.notNull(t172$) + 1, t172$), (bits[$rightShift](8) & 255) >>> 0); + output[$_set]((t172$0 = outIndex, outIndex = dart.notNull(t172$0) + 1, t172$0), (dart.notNull(bits) & 255) >>> 0); + bits = 0; + } + continue; + } else if (code === -1 && dart.notNull(count) > 1) { + if (charOr < 0 || charOr > 127) break; + if (count === 3) { + if ((dart.notNull(bits) & 3) !== 0) { + dart.throw(new core.FormatException.new("Invalid encoding before padding", input, i)); + } + output[$_set]((t172$1 = outIndex, outIndex = dart.notNull(t172$1) + 1, t172$1), bits[$rightShift](10)); + output[$_set]((t172$2 = outIndex, outIndex = dart.notNull(t172$2) + 1, t172$2), bits[$rightShift](2)); + } else { + if ((dart.notNull(bits) & 15) !== 0) { + dart.throw(new core.FormatException.new("Invalid encoding before padding", input, i)); + } + output[$_set]((t172$3 = outIndex, outIndex = dart.notNull(t172$3) + 1, t172$3), bits[$rightShift](4)); + } + let expectedPadding = (3 - dart.notNull(count)) * 3; + if (char === 37) expectedPadding = expectedPadding + 2; + state = convert._Base64Decoder._encodePaddingState(expectedPadding); + return convert._Base64Decoder._checkPadding(input, dart.notNull(i) + 1, end, state); + } + dart.throw(new core.FormatException.new("Invalid character", input, i)); + } + if (charOr >= 0 && charOr <= 127) { + return convert._Base64Decoder._encodeCharacterState(count, bits); + } + let i = null; + for (let t172$4 = i = start; dart.notNull(i) < dart.notNull(end); i = dart.notNull(i) + 1) { + let char = input[$codeUnitAt](i); + if (char < 0 || char > 127) break; + } + dart.throw(new core.FormatException.new("Invalid character", input, i)); + } + static _allocateBuffer(input, start, end, state) { + if (input == null) dart.nullFailed(I[92], 715, 14, "input"); + if (start == null) dart.nullFailed(I[92], 715, 25, "start"); + if (end == null) dart.nullFailed(I[92], 715, 36, "end"); + if (state == null) dart.nullFailed(I[92], 715, 45, "state"); + if (!(dart.notNull(state) >= 0)) dart.assertFailed(null, I[92], 716, 12, "state >= 0"); + let paddingStart = convert._Base64Decoder._trimPaddingChars(input, start, end); + let length = dart.notNull(convert._Base64Decoder._stateCount(state)) + (dart.notNull(paddingStart) - dart.notNull(start)); + let bufferLength = length[$rightShift](2) * 3; + let remainderLength = length & 3; + if (remainderLength !== 0 && dart.notNull(paddingStart) < dart.notNull(end)) { + bufferLength = bufferLength + (remainderLength - 1); + } + if (bufferLength > 0) return _native_typed_data.NativeUint8List.new(bufferLength); + return convert._Base64Decoder._emptyBuffer; + } + static _trimPaddingChars(input, start, end) { + if (input == null) dart.nullFailed(I[92], 744, 39, "input"); + if (start == null) dart.nullFailed(I[92], 744, 50, "start"); + if (end == null) dart.nullFailed(I[92], 744, 61, "end"); + let padding = 0; + let index = end; + let newEnd = end; + while (dart.notNull(index) > dart.notNull(start) && padding < 2) { + index = dart.notNull(index) - 1; + let char = input[$codeUnitAt](index); + if (char === 61) { + padding = padding + 1; + newEnd = index; + continue; + } + if ((char | 32) >>> 0 === 100) { + if (index == start) break; + index = dart.notNull(index) - 1; + char = input[$codeUnitAt](index); + } + if (char === 51) { + if (index == start) break; + index = dart.notNull(index) - 1; + char = input[$codeUnitAt](index); + } + if (char === 37) { + padding = padding + 1; + newEnd = index; + continue; + } + break; + } + return newEnd; + } + static _checkPadding(input, start, end, state) { + if (input == null) dart.nullFailed(I[92], 796, 35, "input"); + if (start == null) dart.nullFailed(I[92], 796, 46, "start"); + if (end == null) dart.nullFailed(I[92], 796, 57, "end"); + if (state == null) dart.nullFailed(I[92], 796, 66, "state"); + if (!dart.test(convert._Base64Decoder._hasSeenPadding(state))) dart.assertFailed(null, I[92], 797, 12, "_hasSeenPadding(state)"); + if (start == end) return state; + let expectedPadding = convert._Base64Decoder._statePadding(state); + if (!(dart.notNull(expectedPadding) >= 0)) dart.assertFailed(null, I[92], 800, 12, "expectedPadding >= 0"); + if (!(dart.notNull(expectedPadding) < 6)) dart.assertFailed(null, I[92], 801, 12, "expectedPadding < 6"); + while (dart.notNull(expectedPadding) > 0) { + let char = input[$codeUnitAt](start); + if (expectedPadding === 3) { + if (char === 61) { + expectedPadding = dart.notNull(expectedPadding) - 3; + start = dart.notNull(start) + 1; + break; + } + if (char === 37) { + expectedPadding = dart.notNull(expectedPadding) - 1; + start = dart.notNull(start) + 1; + if (start == end) break; + char = input[$codeUnitAt](start); + } else { + break; + } + } + let expectedPartialPadding = expectedPadding; + if (dart.notNull(expectedPartialPadding) > 3) expectedPartialPadding = dart.notNull(expectedPartialPadding) - 3; + if (expectedPartialPadding === 2) { + if (char !== 51) break; + start = dart.notNull(start) + 1; + expectedPadding = dart.notNull(expectedPadding) - 1; + if (start == end) break; + char = input[$codeUnitAt](start); + } + if ((char | 32) >>> 0 !== 100) break; + start = dart.notNull(start) + 1; + expectedPadding = dart.notNull(expectedPadding) - 1; + if (start == end) break; + } + if (start != end) { + dart.throw(new core.FormatException.new("Invalid padding character", input, start)); + } + return convert._Base64Decoder._encodePaddingState(expectedPadding); + } +}; +(convert._Base64Decoder.new = function() { + this[_state$0] = 0; + ; +}).prototype = convert._Base64Decoder.prototype; +dart.addTypeTests(convert._Base64Decoder); +dart.addTypeCaches(convert._Base64Decoder); +dart.setMethodSignature(convert._Base64Decoder, () => ({ + __proto__: dart.getMethods(convert._Base64Decoder.__proto__), + decode: dart.fnType(dart.nullable(typed_data.Uint8List), [core.String, core.int, core.int]), + close: dart.fnType(dart.void, [dart.nullable(core.String), dart.nullable(core.int)]) +})); +dart.setLibraryUri(convert._Base64Decoder, I[31]); +dart.setFieldSignature(convert._Base64Decoder, () => ({ + __proto__: dart.getFields(convert._Base64Decoder.__proto__), + [_state$0]: dart.fieldType(core.int) +})); +dart.defineLazy(convert._Base64Decoder, { + /*convert._Base64Decoder._valueShift*/get _valueShift() { + return 2; + }, + /*convert._Base64Decoder._countMask*/get _countMask() { + return 3; + }, + /*convert._Base64Decoder._invalid*/get _invalid() { + return -2; + }, + /*convert._Base64Decoder._padding*/get _padding() { + return -1; + }, + /*convert._Base64Decoder.___*/get ___() { + return -2; + }, + /*convert._Base64Decoder._p*/get _p() { + return -1; + }, + /*convert._Base64Decoder._inverseAlphabet*/get _inverseAlphabet() { + return _native_typed_data.NativeInt8List.fromList(T$.JSArrayOfint().of([-2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -1, -2, -2, -2, -2, -2, 62, -2, 62, -2, 63, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, -2, -2, -2, -1, -2, -2, -2, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, -2, -2, -2, -2, 63, -2, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, -2, -2, -2, -2, -2])); + }, + /*convert._Base64Decoder._char_percent*/get _char_percent() { + return 37; + }, + /*convert._Base64Decoder._char_3*/get _char_3() { + return 51; + }, + /*convert._Base64Decoder._char_d*/get _char_d() { + return 100; + }, + /*convert._Base64Decoder._emptyBuffer*/get _emptyBuffer() { + return _native_typed_data.NativeUint8List.new(0); + }, + set _emptyBuffer(_) {} +}, false); +var _decoder = dart.privateName(convert, "_decoder"); +convert._Base64DecoderSink = class _Base64DecoderSink extends convert.StringConversionSinkBase { + add(string) { + core.String.as(string); + if (string == null) dart.nullFailed(I[92], 850, 19, "string"); + if (string[$isEmpty]) return; + let buffer = this[_decoder].decode(string, 0, string.length); + if (buffer != null) this[_sink$0].add(buffer); + } + close() { + this[_decoder].close(null, null); + this[_sink$0].close(); + } + addSlice(string, start, end, isLast) { + if (string == null) dart.nullFailed(I[92], 861, 24, "string"); + if (start == null) dart.nullFailed(I[92], 861, 36, "start"); + if (end == null) dart.nullFailed(I[92], 861, 47, "end"); + if (isLast == null) dart.nullFailed(I[92], 861, 57, "isLast"); + core.RangeError.checkValidRange(start, end, string.length); + if (start == end) return; + let buffer = this[_decoder].decode(string, start, end); + if (buffer != null) this[_sink$0].add(buffer); + if (dart.test(isLast)) { + this[_decoder].close(string, end); + this[_sink$0].close(); + } + } +}; +(convert._Base64DecoderSink.new = function(_sink) { + if (_sink == null) dart.nullFailed(I[92], 848, 27, "_sink"); + this[_decoder] = new convert._Base64Decoder.new(); + this[_sink$0] = _sink; + ; +}).prototype = convert._Base64DecoderSink.prototype; +dart.addTypeTests(convert._Base64DecoderSink); +dart.addTypeCaches(convert._Base64DecoderSink); +dart.setMethodSignature(convert._Base64DecoderSink, () => ({ + __proto__: dart.getMethods(convert._Base64DecoderSink.__proto__), + close: dart.fnType(dart.void, []), + addSlice: dart.fnType(dart.void, [core.String, core.int, core.int, core.bool]) +})); +dart.setLibraryUri(convert._Base64DecoderSink, I[31]); +dart.setFieldSignature(convert._Base64DecoderSink, () => ({ + __proto__: dart.getFields(convert._Base64DecoderSink.__proto__), + [_sink$0]: dart.finalFieldType(core.Sink$(core.List$(core.int))), + [_decoder]: dart.finalFieldType(convert._Base64Decoder) +})); +convert._ByteAdapterSink = class _ByteAdapterSink extends convert.ByteConversionSinkBase { + add(chunk) { + T$0.ListOfint().as(chunk); + if (chunk == null) dart.nullFailed(I[91], 57, 22, "chunk"); + this[_sink$0].add(chunk); + } + close() { + this[_sink$0].close(); + } +}; +(convert._ByteAdapterSink.new = function(_sink) { + if (_sink == null) dart.nullFailed(I[91], 55, 25, "_sink"); + this[_sink$0] = _sink; + convert._ByteAdapterSink.__proto__.new.call(this); + ; +}).prototype = convert._ByteAdapterSink.prototype; +dart.addTypeTests(convert._ByteAdapterSink); +dart.addTypeCaches(convert._ByteAdapterSink); +dart.setMethodSignature(convert._ByteAdapterSink, () => ({ + __proto__: dart.getMethods(convert._ByteAdapterSink.__proto__), + add: dart.fnType(dart.void, [dart.nullable(core.Object)]), + close: dart.fnType(dart.void, []) +})); +dart.setLibraryUri(convert._ByteAdapterSink, I[31]); +dart.setFieldSignature(convert._ByteAdapterSink, () => ({ + __proto__: dart.getFields(convert._ByteAdapterSink.__proto__), + [_sink$0]: dart.finalFieldType(core.Sink$(core.List$(core.int))) +})); +var _buffer$ = dart.privateName(convert, "_buffer"); +var _bufferIndex = dart.privateName(convert, "_bufferIndex"); +var _callback$ = dart.privateName(convert, "_callback"); +convert._ByteCallbackSink = class _ByteCallbackSink extends convert.ByteConversionSinkBase { + add(chunk) { + T$.IterableOfint().as(chunk); + if (chunk == null) dart.nullFailed(I[91], 80, 26, "chunk"); + let freeCount = dart.notNull(this[_buffer$][$length]) - dart.notNull(this[_bufferIndex]); + if (dart.notNull(chunk[$length]) > freeCount) { + let oldLength = this[_buffer$][$length]; + let newLength = dart.notNull(convert._ByteCallbackSink._roundToPowerOf2(dart.notNull(chunk[$length]) + dart.notNull(oldLength))) * 2; + let grown = _native_typed_data.NativeUint8List.new(newLength); + grown[$setRange](0, this[_buffer$][$length], this[_buffer$]); + this[_buffer$] = grown; + } + this[_buffer$][$setRange](this[_bufferIndex], dart.notNull(this[_bufferIndex]) + dart.notNull(chunk[$length]), chunk); + this[_bufferIndex] = dart.notNull(this[_bufferIndex]) + dart.notNull(chunk[$length]); + } + static _roundToPowerOf2(v) { + if (v == null) dart.nullFailed(I[91], 94, 35, "v"); + if (!(dart.notNull(v) > 0)) dart.assertFailed(null, I[91], 95, 12, "v > 0"); + v = dart.notNull(v) - 1; + v = (dart.notNull(v) | v[$rightShift](1)) >>> 0; + v = (dart.notNull(v) | v[$rightShift](2)) >>> 0; + v = (dart.notNull(v) | v[$rightShift](4)) >>> 0; + v = (dart.notNull(v) | v[$rightShift](8)) >>> 0; + v = (dart.notNull(v) | v[$rightShift](16)) >>> 0; + v = dart.notNull(v) + 1; + return v; + } + close() { + let t173; + t173 = this[_buffer$][$sublist](0, this[_bufferIndex]); + this[_callback$](t173); + } +}; +(convert._ByteCallbackSink.new = function(callback) { + if (callback == null) dart.nullFailed(I[91], 77, 26, "callback"); + this[_buffer$] = _native_typed_data.NativeUint8List.new(1024); + this[_bufferIndex] = 0; + this[_callback$] = callback; + convert._ByteCallbackSink.__proto__.new.call(this); + ; +}).prototype = convert._ByteCallbackSink.prototype; +dart.addTypeTests(convert._ByteCallbackSink); +dart.addTypeCaches(convert._ByteCallbackSink); +dart.setMethodSignature(convert._ByteCallbackSink, () => ({ + __proto__: dart.getMethods(convert._ByteCallbackSink.__proto__), + add: dart.fnType(dart.void, [dart.nullable(core.Object)]), + close: dart.fnType(dart.void, []) +})); +dart.setLibraryUri(convert._ByteCallbackSink, I[31]); +dart.setFieldSignature(convert._ByteCallbackSink, () => ({ + __proto__: dart.getFields(convert._ByteCallbackSink.__proto__), + [_callback$]: dart.finalFieldType(dart.fnType(dart.void, [core.List$(core.int)])), + [_buffer$]: dart.fieldType(core.List$(core.int)), + [_bufferIndex]: dart.fieldType(core.int) +})); +dart.defineLazy(convert._ByteCallbackSink, { + /*convert._ByteCallbackSink._INITIAL_BUFFER_SIZE*/get _INITIAL_BUFFER_SIZE() { + return 1024; + } +}, false); +var _accumulated = dart.privateName(convert, "_accumulated"); +const _is__SimpleCallbackSink_default = Symbol('_is__SimpleCallbackSink_default'); +convert._SimpleCallbackSink$ = dart.generic(T => { + var JSArrayOfT = () => (JSArrayOfT = dart.constFn(_interceptors.JSArray$(T)))(); + class _SimpleCallbackSink extends convert.ChunkedConversionSink$(T) { + add(chunk) { + T.as(chunk); + this[_accumulated][$add](chunk); + } + close() { + let t173; + t173 = this[_accumulated]; + this[_callback$](t173); + } + } + (_SimpleCallbackSink.new = function(_callback) { + if (_callback == null) dart.nullFailed(I[93], 41, 28, "_callback"); + this[_accumulated] = JSArrayOfT().of([]); + this[_callback$] = _callback; + _SimpleCallbackSink.__proto__.new.call(this); + ; + }).prototype = _SimpleCallbackSink.prototype; + dart.addTypeTests(_SimpleCallbackSink); + _SimpleCallbackSink.prototype[_is__SimpleCallbackSink_default] = true; + dart.addTypeCaches(_SimpleCallbackSink); + dart.setMethodSignature(_SimpleCallbackSink, () => ({ + __proto__: dart.getMethods(_SimpleCallbackSink.__proto__), + add: dart.fnType(dart.void, [dart.nullable(core.Object)]), + close: dart.fnType(dart.void, []) + })); + dart.setLibraryUri(_SimpleCallbackSink, I[31]); + dart.setFieldSignature(_SimpleCallbackSink, () => ({ + __proto__: dart.getFields(_SimpleCallbackSink.__proto__), + [_callback$]: dart.finalFieldType(dart.fnType(dart.void, [core.List$(T)])), + [_accumulated]: dart.finalFieldType(core.List$(T)) + })); + return _SimpleCallbackSink; +}); +convert._SimpleCallbackSink = convert._SimpleCallbackSink$(); +dart.addTypeTests(convert._SimpleCallbackSink, _is__SimpleCallbackSink_default); +var _eventSink = dart.privateName(convert, "_eventSink"); +var _chunkedSink$ = dart.privateName(convert, "_chunkedSink"); +const _is__ConverterStreamEventSink_default = Symbol('_is__ConverterStreamEventSink_default'); +convert._ConverterStreamEventSink$ = dart.generic((S, T) => { + class _ConverterStreamEventSink extends core.Object { + add(o) { + S.as(o); + this[_chunkedSink$].add(o); + } + addError(error, stackTrace = null) { + if (error == null) dart.nullFailed(I[93], 75, 24, "error"); + _internal.checkNotNullable(core.Object, error, "error"); + this[_eventSink].addError(error, stackTrace); + } + close() { + this[_chunkedSink$].close(); + } + } + (_ConverterStreamEventSink.new = function(converter, sink) { + if (converter == null) dart.nullFailed(I[93], 67, 45, "converter"); + if (sink == null) dart.nullFailed(I[93], 67, 69, "sink"); + this[_eventSink] = sink; + this[_chunkedSink$] = converter.startChunkedConversion(sink); + ; + }).prototype = _ConverterStreamEventSink.prototype; + dart.addTypeTests(_ConverterStreamEventSink); + _ConverterStreamEventSink.prototype[_is__ConverterStreamEventSink_default] = true; + dart.addTypeCaches(_ConverterStreamEventSink); + _ConverterStreamEventSink[dart.implements] = () => [async.EventSink$(S)]; + dart.setMethodSignature(_ConverterStreamEventSink, () => ({ + __proto__: dart.getMethods(_ConverterStreamEventSink.__proto__), + add: dart.fnType(dart.void, [dart.nullable(core.Object)]), + addError: dart.fnType(dart.void, [core.Object], [dart.nullable(core.StackTrace)]), + close: dart.fnType(dart.void, []) + })); + dart.setLibraryUri(_ConverterStreamEventSink, I[31]); + dart.setFieldSignature(_ConverterStreamEventSink, () => ({ + __proto__: dart.getFields(_ConverterStreamEventSink.__proto__), + [_eventSink]: dart.finalFieldType(async.EventSink$(T)), + [_chunkedSink$]: dart.finalFieldType(core.Sink$(S)) + })); + return _ConverterStreamEventSink; +}); +convert._ConverterStreamEventSink = convert._ConverterStreamEventSink$(); +dart.addTypeTests(convert._ConverterStreamEventSink, _is__ConverterStreamEventSink_default); +var _first$0 = dart.privateName(convert, "_first"); +var _second$0 = dart.privateName(convert, "_second"); +const _is__FusedCodec_default = Symbol('_is__FusedCodec_default'); +convert._FusedCodec$ = dart.generic((S, M, T) => { + class _FusedCodec extends convert.Codec$(S, T) { + get encoder() { + return this[_first$0].encoder.fuse(T, this[_second$0].encoder); + } + get decoder() { + return this[_second$0].decoder.fuse(S, this[_first$0].decoder); + } + } + (_FusedCodec.new = function(_first, _second) { + if (_first == null) dart.nullFailed(I[89], 85, 20, "_first"); + if (_second == null) dart.nullFailed(I[89], 85, 33, "_second"); + this[_first$0] = _first; + this[_second$0] = _second; + _FusedCodec.__proto__.new.call(this); + ; + }).prototype = _FusedCodec.prototype; + dart.addTypeTests(_FusedCodec); + _FusedCodec.prototype[_is__FusedCodec_default] = true; + dart.addTypeCaches(_FusedCodec); + dart.setGetterSignature(_FusedCodec, () => ({ + __proto__: dart.getGetters(_FusedCodec.__proto__), + encoder: convert.Converter$(S, T), + decoder: convert.Converter$(T, S) + })); + dart.setLibraryUri(_FusedCodec, I[31]); + dart.setFieldSignature(_FusedCodec, () => ({ + __proto__: dart.getFields(_FusedCodec.__proto__), + [_first$0]: dart.finalFieldType(convert.Codec$(S, M)), + [_second$0]: dart.finalFieldType(convert.Codec$(M, T)) + })); + return _FusedCodec; +}); +convert._FusedCodec = convert._FusedCodec$(); +dart.addTypeTests(convert._FusedCodec, _is__FusedCodec_default); +var _codec = dart.privateName(convert, "_codec"); +const _is__InvertedCodec_default = Symbol('_is__InvertedCodec_default'); +convert._InvertedCodec$ = dart.generic((T, S) => { + class _InvertedCodec extends convert.Codec$(T, S) { + get encoder() { + return this[_codec].decoder; + } + get decoder() { + return this[_codec].encoder; + } + get inverted() { + return this[_codec]; + } + } + (_InvertedCodec.new = function(codec) { + if (codec == null) dart.nullFailed(I[89], 91, 30, "codec"); + this[_codec] = codec; + _InvertedCodec.__proto__.new.call(this); + ; + }).prototype = _InvertedCodec.prototype; + dart.addTypeTests(_InvertedCodec); + _InvertedCodec.prototype[_is__InvertedCodec_default] = true; + dart.addTypeCaches(_InvertedCodec); + dart.setGetterSignature(_InvertedCodec, () => ({ + __proto__: dart.getGetters(_InvertedCodec.__proto__), + encoder: convert.Converter$(T, S), + decoder: convert.Converter$(S, T) + })); + dart.setLibraryUri(_InvertedCodec, I[31]); + dart.setFieldSignature(_InvertedCodec, () => ({ + __proto__: dart.getFields(_InvertedCodec.__proto__), + [_codec]: dart.finalFieldType(convert.Codec$(S, T)) + })); + return _InvertedCodec; +}); +convert._InvertedCodec = convert._InvertedCodec$(); +dart.addTypeTests(convert._InvertedCodec, _is__InvertedCodec_default); +const _is__FusedConverter_default = Symbol('_is__FusedConverter_default'); +convert._FusedConverter$ = dart.generic((S, M, T) => { + var SinkOfT = () => (SinkOfT = dart.constFn(core.Sink$(T)))(); + class _FusedConverter extends convert.Converter$(S, T) { + convert(input) { + S.as(input); + return this[_second$0].convert(this[_first$0].convert(input)); + } + startChunkedConversion(sink) { + SinkOfT().as(sink); + if (sink == null) dart.nullFailed(I[30], 69, 42, "sink"); + return this[_first$0].startChunkedConversion(this[_second$0].startChunkedConversion(sink)); + } + } + (_FusedConverter.new = function(_first, _second) { + if (_first == null) dart.nullFailed(I[30], 65, 24, "_first"); + if (_second == null) dart.nullFailed(I[30], 65, 37, "_second"); + this[_first$0] = _first; + this[_second$0] = _second; + _FusedConverter.__proto__.new.call(this); + ; + }).prototype = _FusedConverter.prototype; + dart.addTypeTests(_FusedConverter); + _FusedConverter.prototype[_is__FusedConverter_default] = true; + dart.addTypeCaches(_FusedConverter); + dart.setMethodSignature(_FusedConverter, () => ({ + __proto__: dart.getMethods(_FusedConverter.__proto__), + convert: dart.fnType(T, [dart.nullable(core.Object)]) + })); + dart.setLibraryUri(_FusedConverter, I[31]); + dart.setFieldSignature(_FusedConverter, () => ({ + __proto__: dart.getFields(_FusedConverter.__proto__), + [_first$0]: dart.finalFieldType(convert.Converter$(S, M)), + [_second$0]: dart.finalFieldType(convert.Converter$(M, T)) + })); + return _FusedConverter; +}); +convert._FusedConverter = convert._FusedConverter$(); +dart.addTypeTests(convert._FusedConverter, _is__FusedConverter_default); +var _name$2 = dart.privateName(convert, "HtmlEscapeMode._name"); +var escapeLtGt$ = dart.privateName(convert, "HtmlEscapeMode.escapeLtGt"); +var escapeQuot$ = dart.privateName(convert, "HtmlEscapeMode.escapeQuot"); +var escapeApos$ = dart.privateName(convert, "HtmlEscapeMode.escapeApos"); +var escapeSlash$ = dart.privateName(convert, "HtmlEscapeMode.escapeSlash"); +var _name$3 = dart.privateName(convert, "_name"); +convert.HtmlEscapeMode = class HtmlEscapeMode extends core.Object { + get [_name$3]() { + return this[_name$2]; + } + set [_name$3](value) { + super[_name$3] = value; + } + get escapeLtGt() { + return this[escapeLtGt$]; + } + set escapeLtGt(value) { + super.escapeLtGt = value; + } + get escapeQuot() { + return this[escapeQuot$]; + } + set escapeQuot(value) { + super.escapeQuot = value; + } + get escapeApos() { + return this[escapeApos$]; + } + set escapeApos(value) { + super.escapeApos = value; + } + get escapeSlash() { + return this[escapeSlash$]; + } + set escapeSlash(value) { + super.escapeSlash = value; + } + toString() { + return this[_name$3]; + } +}; +(convert.HtmlEscapeMode.__ = function(_name, escapeLtGt, escapeQuot, escapeApos, escapeSlash) { + if (_name == null) dart.nullFailed(I[94], 102, 31, "_name"); + if (escapeLtGt == null) dart.nullFailed(I[94], 102, 43, "escapeLtGt"); + if (escapeQuot == null) dart.nullFailed(I[94], 102, 60, "escapeQuot"); + if (escapeApos == null) dart.nullFailed(I[94], 103, 12, "escapeApos"); + if (escapeSlash == null) dart.nullFailed(I[94], 103, 29, "escapeSlash"); + this[_name$2] = _name; + this[escapeLtGt$] = escapeLtGt; + this[escapeQuot$] = escapeQuot; + this[escapeApos$] = escapeApos; + this[escapeSlash$] = escapeSlash; + ; +}).prototype = convert.HtmlEscapeMode.prototype; +(convert.HtmlEscapeMode.new = function(opts) { + let name = opts && 'name' in opts ? opts.name : "custom"; + if (name == null) dart.nullFailed(I[94], 111, 15, "name"); + let escapeLtGt = opts && 'escapeLtGt' in opts ? opts.escapeLtGt : false; + if (escapeLtGt == null) dart.nullFailed(I[94], 112, 12, "escapeLtGt"); + let escapeQuot = opts && 'escapeQuot' in opts ? opts.escapeQuot : false; + if (escapeQuot == null) dart.nullFailed(I[94], 113, 12, "escapeQuot"); + let escapeApos = opts && 'escapeApos' in opts ? opts.escapeApos : false; + if (escapeApos == null) dart.nullFailed(I[94], 114, 12, "escapeApos"); + let escapeSlash = opts && 'escapeSlash' in opts ? opts.escapeSlash : false; + if (escapeSlash == null) dart.nullFailed(I[94], 115, 12, "escapeSlash"); + this[escapeLtGt$] = escapeLtGt; + this[escapeQuot$] = escapeQuot; + this[escapeApos$] = escapeApos; + this[escapeSlash$] = escapeSlash; + this[_name$2] = name; + ; +}).prototype = convert.HtmlEscapeMode.prototype; +dart.addTypeTests(convert.HtmlEscapeMode); +dart.addTypeCaches(convert.HtmlEscapeMode); +dart.setLibraryUri(convert.HtmlEscapeMode, I[31]); +dart.setFieldSignature(convert.HtmlEscapeMode, () => ({ + __proto__: dart.getFields(convert.HtmlEscapeMode.__proto__), + [_name$3]: dart.finalFieldType(core.String), + escapeLtGt: dart.finalFieldType(core.bool), + escapeQuot: dart.finalFieldType(core.bool), + escapeApos: dart.finalFieldType(core.bool), + escapeSlash: dart.finalFieldType(core.bool) +})); +dart.defineExtensionMethods(convert.HtmlEscapeMode, ['toString']); +dart.defineLazy(convert.HtmlEscapeMode, { + /*convert.HtmlEscapeMode.unknown*/get unknown() { + return C[88] || CT.C88; + }, + /*convert.HtmlEscapeMode.attribute*/get attribute() { + return C[89] || CT.C89; + }, + /*convert.HtmlEscapeMode.sqAttribute*/get sqAttribute() { + return C[90] || CT.C90; + }, + /*convert.HtmlEscapeMode.element*/get element() { + return C[91] || CT.C91; + } +}, false); +var mode$ = dart.privateName(convert, "HtmlEscape.mode"); +var _convert = dart.privateName(convert, "_convert"); +convert.HtmlEscape = class HtmlEscape extends convert.Converter$(core.String, core.String) { + get mode() { + return this[mode$]; + } + set mode(value) { + super.mode = value; + } + convert(text) { + core.String.as(text); + if (text == null) dart.nullFailed(I[94], 152, 25, "text"); + let val = this[_convert](text, 0, text.length); + return val == null ? text : val; + } + [_convert](text, start, end) { + if (text == null) dart.nullFailed(I[94], 161, 27, "text"); + if (start == null) dart.nullFailed(I[94], 161, 37, "start"); + if (end == null) dart.nullFailed(I[94], 161, 48, "end"); + let result = null; + for (let i = start; dart.notNull(i) < dart.notNull(end); i = dart.notNull(i) + 1) { + let ch = text[$_get](i); + let replacement = null; + switch (ch) { + case "&": + { + replacement = "&"; + break; + } + case "\"": + { + if (dart.test(this.mode.escapeQuot)) replacement = """; + break; + } + case "'": + { + if (dart.test(this.mode.escapeApos)) replacement = "'"; + break; + } + case "<": + { + if (dart.test(this.mode.escapeLtGt)) replacement = "<"; + break; + } + case ">": + { + if (dart.test(this.mode.escapeLtGt)) replacement = ">"; + break; + } + case "/": + { + if (dart.test(this.mode.escapeSlash)) replacement = "/"; + break; + } + } + if (replacement != null) { + result == null ? result = new core.StringBuffer.new() : null; + if (result == null) { + dart.throw("unreachable"); + } + if (dart.notNull(i) > dart.notNull(start)) result.write(text[$substring](start, i)); + result.write(replacement); + start = dart.notNull(i) + 1; + } + } + if (result == null) return null; + if (dart.notNull(end) > dart.notNull(start)) result.write(text[$substring](start, end)); + return dart.toString(result); + } + startChunkedConversion(sink) { + T$0.SinkOfString().as(sink); + if (sink == null) dart.nullFailed(I[94], 203, 60, "sink"); + return new convert._HtmlEscapeSink.new(this, convert.StringConversionSink.is(sink) ? sink : new convert._StringAdapterSink.new(sink)); + } +}; +(convert.HtmlEscape.new = function(mode = C[88] || CT.C88) { + if (mode == null) dart.nullFailed(I[94], 150, 26, "mode"); + this[mode$] = mode; + convert.HtmlEscape.__proto__.new.call(this); + ; +}).prototype = convert.HtmlEscape.prototype; +dart.addTypeTests(convert.HtmlEscape); +dart.addTypeCaches(convert.HtmlEscape); +dart.setMethodSignature(convert.HtmlEscape, () => ({ + __proto__: dart.getMethods(convert.HtmlEscape.__proto__), + convert: dart.fnType(core.String, [dart.nullable(core.Object)]), + [_convert]: dart.fnType(dart.nullable(core.String), [core.String, core.int, core.int]), + startChunkedConversion: dart.fnType(convert.StringConversionSink, [dart.nullable(core.Object)]) +})); +dart.setLibraryUri(convert.HtmlEscape, I[31]); +dart.setFieldSignature(convert.HtmlEscape, () => ({ + __proto__: dart.getFields(convert.HtmlEscape.__proto__), + mode: dart.finalFieldType(convert.HtmlEscapeMode) +})); +var _escape$ = dart.privateName(convert, "_escape"); +convert._HtmlEscapeSink = class _HtmlEscapeSink extends convert.StringConversionSinkBase { + addSlice(chunk, start, end, isLast) { + if (chunk == null) dart.nullFailed(I[94], 215, 24, "chunk"); + if (start == null) dart.nullFailed(I[94], 215, 35, "start"); + if (end == null) dart.nullFailed(I[94], 215, 46, "end"); + if (isLast == null) dart.nullFailed(I[94], 215, 56, "isLast"); + let val = this[_escape$][_convert](chunk, start, end); + if (val == null) { + this[_sink$0].addSlice(chunk, start, end, isLast); + } else { + this[_sink$0].add(val); + if (dart.test(isLast)) this[_sink$0].close(); + } + } + close() { + this[_sink$0].close(); + } +}; +(convert._HtmlEscapeSink.new = function(_escape, _sink) { + if (_escape == null) dart.nullFailed(I[94], 213, 24, "_escape"); + if (_sink == null) dart.nullFailed(I[94], 213, 38, "_sink"); + this[_escape$] = _escape; + this[_sink$0] = _sink; + ; +}).prototype = convert._HtmlEscapeSink.prototype; +dart.addTypeTests(convert._HtmlEscapeSink); +dart.addTypeCaches(convert._HtmlEscapeSink); +dart.setMethodSignature(convert._HtmlEscapeSink, () => ({ + __proto__: dart.getMethods(convert._HtmlEscapeSink.__proto__), + addSlice: dart.fnType(dart.void, [core.String, core.int, core.int, core.bool]), + close: dart.fnType(dart.void, []) +})); +dart.setLibraryUri(convert._HtmlEscapeSink, I[31]); +dart.setFieldSignature(convert._HtmlEscapeSink, () => ({ + __proto__: dart.getFields(convert._HtmlEscapeSink.__proto__), + [_escape$]: dart.finalFieldType(convert.HtmlEscape), + [_sink$0]: dart.finalFieldType(convert.StringConversionSink) +})); +var unsupportedObject$ = dart.privateName(convert, "JsonUnsupportedObjectError.unsupportedObject"); +var cause$ = dart.privateName(convert, "JsonUnsupportedObjectError.cause"); +var partialResult$ = dart.privateName(convert, "JsonUnsupportedObjectError.partialResult"); +convert.JsonUnsupportedObjectError = class JsonUnsupportedObjectError extends core.Error { + get unsupportedObject() { + return this[unsupportedObject$]; + } + set unsupportedObject(value) { + super.unsupportedObject = value; + } + get cause() { + return this[cause$]; + } + set cause(value) { + super.cause = value; + } + get partialResult() { + return this[partialResult$]; + } + set partialResult(value) { + super.partialResult = value; + } + toString() { + let safeString = core.Error.safeToString(this.unsupportedObject); + let prefix = null; + if (this.cause != null) { + prefix = "Converting object to an encodable object failed:"; + } else { + prefix = "Converting object did not return an encodable object:"; + } + return dart.str(prefix) + " " + dart.str(safeString); + } +}; +(convert.JsonUnsupportedObjectError.new = function(unsupportedObject, opts) { + let cause = opts && 'cause' in opts ? opts.cause : null; + let partialResult = opts && 'partialResult' in opts ? opts.partialResult : null; + this[unsupportedObject$] = unsupportedObject; + this[cause$] = cause; + this[partialResult$] = partialResult; + convert.JsonUnsupportedObjectError.__proto__.new.call(this); + ; +}).prototype = convert.JsonUnsupportedObjectError.prototype; +dart.addTypeTests(convert.JsonUnsupportedObjectError); +dart.addTypeCaches(convert.JsonUnsupportedObjectError); +dart.setLibraryUri(convert.JsonUnsupportedObjectError, I[31]); +dart.setFieldSignature(convert.JsonUnsupportedObjectError, () => ({ + __proto__: dart.getFields(convert.JsonUnsupportedObjectError.__proto__), + unsupportedObject: dart.finalFieldType(dart.nullable(core.Object)), + cause: dart.finalFieldType(dart.nullable(core.Object)), + partialResult: dart.finalFieldType(dart.nullable(core.String)) +})); +dart.defineExtensionMethods(convert.JsonUnsupportedObjectError, ['toString']); +convert.JsonCyclicError = class JsonCyclicError extends convert.JsonUnsupportedObjectError { + toString() { + return "Cyclic error in JSON stringify"; + } +}; +(convert.JsonCyclicError.new = function(object) { + convert.JsonCyclicError.__proto__.new.call(this, object); + ; +}).prototype = convert.JsonCyclicError.prototype; +dart.addTypeTests(convert.JsonCyclicError); +dart.addTypeCaches(convert.JsonCyclicError); +dart.setLibraryUri(convert.JsonCyclicError, I[31]); +dart.defineExtensionMethods(convert.JsonCyclicError, ['toString']); +var _reviver = dart.privateName(convert, "JsonCodec._reviver"); +var _toEncodable = dart.privateName(convert, "JsonCodec._toEncodable"); +var _toEncodable$ = dart.privateName(convert, "_toEncodable"); +var JsonEncoder__toEncodable = dart.privateName(convert, "JsonEncoder._toEncodable"); +var JsonEncoder_indent = dart.privateName(convert, "JsonEncoder.indent"); +var JsonDecoder__reviver = dart.privateName(convert, "JsonDecoder._reviver"); +convert.JsonCodec = class JsonCodec extends convert.Codec$(dart.nullable(core.Object), core.String) { + get [_reviver$]() { + return this[_reviver]; + } + set [_reviver$](value) { + super[_reviver$] = value; + } + get [_toEncodable$]() { + return this[_toEncodable]; + } + set [_toEncodable$](value) { + super[_toEncodable$] = value; + } + decode(source, opts) { + core.String.as(source); + if (source == null) dart.nullFailed(I[95], 154, 25, "source"); + let reviver = opts && 'reviver' in opts ? opts.reviver : null; + reviver == null ? reviver = this[_reviver$] : null; + if (reviver == null) return this.decoder.convert(source); + return new convert.JsonDecoder.new(reviver).convert(source); + } + encode(value, opts) { + let toEncodable = opts && 'toEncodable' in opts ? opts.toEncodable : null; + toEncodable == null ? toEncodable = this[_toEncodable$] : null; + if (toEncodable == null) return this.encoder.convert(value); + return new convert.JsonEncoder.new(toEncodable).convert(value); + } + get encoder() { + if (this[_toEncodable$] == null) return C[92] || CT.C92; + return new convert.JsonEncoder.new(this[_toEncodable$]); + } + get decoder() { + if (this[_reviver$] == null) return C[93] || CT.C93; + return new convert.JsonDecoder.new(this[_reviver$]); + } +}; +(convert.JsonCodec.new = function(opts) { + let reviver = opts && 'reviver' in opts ? opts.reviver : null; + let toEncodable = opts && 'toEncodable' in opts ? opts.toEncodable : null; + this[_reviver] = reviver; + this[_toEncodable] = toEncodable; + convert.JsonCodec.__proto__.new.call(this); + ; +}).prototype = convert.JsonCodec.prototype; +(convert.JsonCodec.withReviver = function(reviver) { + if (reviver == null) dart.nullFailed(I[95], 143, 33, "reviver"); + convert.JsonCodec.new.call(this, {reviver: reviver}); +}).prototype = convert.JsonCodec.prototype; +dart.addTypeTests(convert.JsonCodec); +dart.addTypeCaches(convert.JsonCodec); +dart.setMethodSignature(convert.JsonCodec, () => ({ + __proto__: dart.getMethods(convert.JsonCodec.__proto__), + decode: dart.fnType(dart.dynamic, [dart.nullable(core.Object)], {reviver: dart.nullable(dart.fnType(dart.nullable(core.Object), [dart.nullable(core.Object), dart.nullable(core.Object)]))}, {}), + encode: dart.fnType(core.String, [dart.nullable(core.Object)], {toEncodable: dart.nullable(dart.fnType(dart.nullable(core.Object), [dart.dynamic]))}, {}) +})); +dart.setGetterSignature(convert.JsonCodec, () => ({ + __proto__: dart.getGetters(convert.JsonCodec.__proto__), + encoder: convert.JsonEncoder, + decoder: convert.JsonDecoder +})); +dart.setLibraryUri(convert.JsonCodec, I[31]); +dart.setFieldSignature(convert.JsonCodec, () => ({ + __proto__: dart.getFields(convert.JsonCodec.__proto__), + [_reviver$]: dart.finalFieldType(dart.nullable(dart.fnType(dart.nullable(core.Object), [dart.nullable(core.Object), dart.nullable(core.Object)]))), + [_toEncodable$]: dart.finalFieldType(dart.nullable(dart.fnType(dart.nullable(core.Object), [dart.dynamic]))) +})); +const indent$ = JsonEncoder_indent; +const _toEncodable$0 = JsonEncoder__toEncodable; +convert.JsonEncoder = class JsonEncoder extends convert.Converter$(dart.nullable(core.Object), core.String) { + get indent() { + return this[indent$]; + } + set indent(value) { + super.indent = value; + } + get [_toEncodable$]() { + return this[_toEncodable$0]; + } + set [_toEncodable$](value) { + super[_toEncodable$] = value; + } + convert(object) { + return convert._JsonStringStringifier.stringify(object, this[_toEncodable$], this.indent); + } + startChunkedConversion(sink) { + T$0.SinkOfString().as(sink); + if (sink == null) dart.nullFailed(I[95], 271, 70, "sink"); + if (convert._Utf8EncoderSink.is(sink)) { + return new convert._JsonUtf8EncoderSink.new(sink[_sink$0], this[_toEncodable$], convert.JsonUtf8Encoder._utf8Encode(this.indent), 256); + } + return new convert._JsonEncoderSink.new(convert.StringConversionSink.is(sink) ? sink : new convert._StringAdapterSink.new(sink), this[_toEncodable$], this.indent); + } + bind(stream) { + T$0.StreamOfObjectN().as(stream); + if (stream == null) dart.nullFailed(I[95], 286, 39, "stream"); + return super.bind(stream); + } + fuse(T, other) { + convert.Converter$(core.String, T).as(other); + if (other == null) dart.nullFailed(I[95], 288, 54, "other"); + if (convert.Utf8Encoder.is(other)) { + return convert.Converter$(T$.ObjectN(), T).as(new convert.JsonUtf8Encoder.new(this.indent, this[_toEncodable$])); + } + return super.fuse(T, other); + } +}; +(convert.JsonEncoder.new = function(toEncodable = null) { + this[indent$] = null; + this[_toEncodable$0] = toEncodable; + convert.JsonEncoder.__proto__.new.call(this); + ; +}).prototype = convert.JsonEncoder.prototype; +(convert.JsonEncoder.withIndent = function(indent, toEncodable = null) { + this[indent$] = indent; + this[_toEncodable$0] = toEncodable; + convert.JsonEncoder.__proto__.new.call(this); + ; +}).prototype = convert.JsonEncoder.prototype; +dart.addTypeTests(convert.JsonEncoder); +dart.addTypeCaches(convert.JsonEncoder); +dart.setMethodSignature(convert.JsonEncoder, () => ({ + __proto__: dart.getMethods(convert.JsonEncoder.__proto__), + convert: dart.fnType(core.String, [dart.nullable(core.Object)]), + startChunkedConversion: dart.fnType(convert.ChunkedConversionSink$(dart.nullable(core.Object)), [dart.nullable(core.Object)]), + fuse: dart.gFnType(T => [convert.Converter$(dart.nullable(core.Object), T), [dart.nullable(core.Object)]], T => [dart.nullable(core.Object)]) +})); +dart.setLibraryUri(convert.JsonEncoder, I[31]); +dart.setFieldSignature(convert.JsonEncoder, () => ({ + __proto__: dart.getFields(convert.JsonEncoder.__proto__), + indent: dart.finalFieldType(dart.nullable(core.String)), + [_toEncodable$]: dart.finalFieldType(dart.nullable(dart.fnType(dart.nullable(core.Object), [dart.dynamic]))) +})); +var _indent$ = dart.privateName(convert, "_indent"); +var _bufferSize$ = dart.privateName(convert, "_bufferSize"); +convert.JsonUtf8Encoder = class JsonUtf8Encoder extends convert.Converter$(dart.nullable(core.Object), core.List$(core.int)) { + static _utf8Encode(string) { + if (string == null) return null; + if (string[$isEmpty]) return _native_typed_data.NativeUint8List.new(0); + L0: { + for (let i = 0; i < string.length; i = i + 1) { + if (string[$codeUnitAt](i) >= 128) break L0; + } + return string[$codeUnits]; + } + return convert.utf8.encode(string); + } + convert(object) { + let bytes = T$0.JSArrayOfListOfint().of([]); + function addChunk(chunk, start, end) { + if (chunk == null) dart.nullFailed(I[95], 365, 29, "chunk"); + if (start == null) dart.nullFailed(I[95], 365, 40, "start"); + if (end == null) dart.nullFailed(I[95], 365, 51, "end"); + if (dart.notNull(start) > 0 || dart.notNull(end) < dart.notNull(chunk[$length])) { + let length = dart.notNull(end) - dart.notNull(start); + chunk = typed_data.Uint8List.view(chunk[$buffer], dart.notNull(chunk[$offsetInBytes]) + dart.notNull(start), length); + } + bytes[$add](chunk); + } + dart.fn(addChunk, T$0.Uint8ListAndintAndintTovoid()); + convert._JsonUtf8Stringifier.stringify(object, this[_indent$], this[_toEncodable$], this[_bufferSize$], addChunk); + if (bytes[$length] === 1) return bytes[$_get](0); + let length = 0; + for (let i = 0; i < dart.notNull(bytes[$length]); i = i + 1) { + length = length + dart.notNull(bytes[$_get](i)[$length]); + } + let result = _native_typed_data.NativeUint8List.new(length); + for (let i = 0, offset = 0; i < dart.notNull(bytes[$length]); i = i + 1) { + let byteList = bytes[$_get](i); + let end = offset + dart.notNull(byteList[$length]); + result[$setRange](offset, end, byteList); + offset = end; + } + return result; + } + startChunkedConversion(sink) { + T$0.SinkOfListOfint().as(sink); + if (sink == null) dart.nullFailed(I[95], 397, 73, "sink"); + let byteSink = null; + if (convert.ByteConversionSink.is(sink)) { + byteSink = sink; + } else { + byteSink = new convert._ByteAdapterSink.new(sink); + } + return new convert._JsonUtf8EncoderSink.new(byteSink, this[_toEncodable$], this[_indent$], this[_bufferSize$]); + } + bind(stream) { + T$0.StreamOfObjectN().as(stream); + if (stream == null) dart.nullFailed(I[95], 408, 42, "stream"); + return super.bind(stream); + } +}; +(convert.JsonUtf8Encoder.new = function(indent = null, toEncodable = null, bufferSize = null) { + let t173; + this[_indent$] = convert.JsonUtf8Encoder._utf8Encode(indent); + this[_toEncodable$] = toEncodable; + this[_bufferSize$] = (t173 = bufferSize, t173 == null ? 256 : t173); + convert.JsonUtf8Encoder.__proto__.new.call(this); + ; +}).prototype = convert.JsonUtf8Encoder.prototype; +dart.addTypeTests(convert.JsonUtf8Encoder); +dart.addTypeCaches(convert.JsonUtf8Encoder); +dart.setMethodSignature(convert.JsonUtf8Encoder, () => ({ + __proto__: dart.getMethods(convert.JsonUtf8Encoder.__proto__), + convert: dart.fnType(core.List$(core.int), [dart.nullable(core.Object)]), + startChunkedConversion: dart.fnType(convert.ChunkedConversionSink$(dart.nullable(core.Object)), [dart.nullable(core.Object)]) +})); +dart.setLibraryUri(convert.JsonUtf8Encoder, I[31]); +dart.setFieldSignature(convert.JsonUtf8Encoder, () => ({ + __proto__: dart.getFields(convert.JsonUtf8Encoder.__proto__), + [_indent$]: dart.finalFieldType(dart.nullable(core.List$(core.int))), + [_toEncodable$]: dart.finalFieldType(dart.nullable(dart.fnType(dart.nullable(core.Object), [dart.dynamic]))), + [_bufferSize$]: dart.finalFieldType(core.int) +})); +dart.defineLazy(convert.JsonUtf8Encoder, { + /*convert.JsonUtf8Encoder._defaultBufferSize*/get _defaultBufferSize() { + return 256; + }, + /*convert.JsonUtf8Encoder.DEFAULT_BUFFER_SIZE*/get DEFAULT_BUFFER_SIZE() { + return 256; + } +}, false); +var _isDone = dart.privateName(convert, "_isDone"); +convert._JsonEncoderSink = class _JsonEncoderSink extends convert.ChunkedConversionSink$(dart.nullable(core.Object)) { + add(o) { + if (dart.test(this[_isDone])) { + dart.throw(new core.StateError.new("Only one call to add allowed")); + } + this[_isDone] = true; + let stringSink = this[_sink$0].asStringSink(); + convert._JsonStringStringifier.printOn(o, stringSink, this[_toEncodable$], this[_indent$]); + stringSink.close(); + } + close() { + } +}; +(convert._JsonEncoderSink.new = function(_sink, _toEncodable, _indent) { + if (_sink == null) dart.nullFailed(I[95], 422, 25, "_sink"); + this[_isDone] = false; + this[_sink$0] = _sink; + this[_toEncodable$] = _toEncodable; + this[_indent$] = _indent; + convert._JsonEncoderSink.__proto__.new.call(this); + ; +}).prototype = convert._JsonEncoderSink.prototype; +dart.addTypeTests(convert._JsonEncoderSink); +dart.addTypeCaches(convert._JsonEncoderSink); +dart.setMethodSignature(convert._JsonEncoderSink, () => ({ + __proto__: dart.getMethods(convert._JsonEncoderSink.__proto__), + add: dart.fnType(dart.void, [dart.nullable(core.Object)]), + close: dart.fnType(dart.void, []) +})); +dart.setLibraryUri(convert._JsonEncoderSink, I[31]); +dart.setFieldSignature(convert._JsonEncoderSink, () => ({ + __proto__: dart.getFields(convert._JsonEncoderSink.__proto__), + [_indent$]: dart.finalFieldType(dart.nullable(core.String)), + [_toEncodable$]: dart.finalFieldType(dart.nullable(dart.fnType(dart.nullable(core.Object), [dart.dynamic]))), + [_sink$0]: dart.finalFieldType(convert.StringConversionSink), + [_isDone]: dart.fieldType(core.bool) +})); +var _addChunk = dart.privateName(convert, "_addChunk"); +convert._JsonUtf8EncoderSink = class _JsonUtf8EncoderSink extends convert.ChunkedConversionSink$(dart.nullable(core.Object)) { + [_addChunk](chunk, start, end) { + if (chunk == null) dart.nullFailed(I[95], 454, 28, "chunk"); + if (start == null) dart.nullFailed(I[95], 454, 39, "start"); + if (end == null) dart.nullFailed(I[95], 454, 50, "end"); + this[_sink$0].addSlice(chunk, start, end, false); + } + add(object) { + if (dart.test(this[_isDone])) { + dart.throw(new core.StateError.new("Only one call to add allowed")); + } + this[_isDone] = true; + convert._JsonUtf8Stringifier.stringify(object, this[_indent$], this[_toEncodable$], this[_bufferSize$], dart.bind(this, _addChunk)); + this[_sink$0].close(); + } + close() { + if (!dart.test(this[_isDone])) { + this[_isDone] = true; + this[_sink$0].close(); + } + } +}; +(convert._JsonUtf8EncoderSink.new = function(_sink, _toEncodable, _indent, _bufferSize) { + if (_sink == null) dart.nullFailed(I[95], 451, 12, "_sink"); + if (_bufferSize == null) dart.nullFailed(I[95], 451, 57, "_bufferSize"); + this[_isDone] = false; + this[_sink$0] = _sink; + this[_toEncodable$] = _toEncodable; + this[_indent$] = _indent; + this[_bufferSize$] = _bufferSize; + convert._JsonUtf8EncoderSink.__proto__.new.call(this); + ; +}).prototype = convert._JsonUtf8EncoderSink.prototype; +dart.addTypeTests(convert._JsonUtf8EncoderSink); +dart.addTypeCaches(convert._JsonUtf8EncoderSink); +dart.setMethodSignature(convert._JsonUtf8EncoderSink, () => ({ + __proto__: dart.getMethods(convert._JsonUtf8EncoderSink.__proto__), + [_addChunk]: dart.fnType(dart.void, [typed_data.Uint8List, core.int, core.int]), + add: dart.fnType(dart.void, [dart.nullable(core.Object)]), + close: dart.fnType(dart.void, []) +})); +dart.setLibraryUri(convert._JsonUtf8EncoderSink, I[31]); +dart.setFieldSignature(convert._JsonUtf8EncoderSink, () => ({ + __proto__: dart.getFields(convert._JsonUtf8EncoderSink.__proto__), + [_sink$0]: dart.finalFieldType(convert.ByteConversionSink), + [_indent$]: dart.finalFieldType(dart.nullable(core.List$(core.int))), + [_toEncodable$]: dart.finalFieldType(dart.nullable(dart.fnType(dart.nullable(core.Object), [dart.dynamic]))), + [_bufferSize$]: dart.finalFieldType(core.int), + [_isDone]: dart.fieldType(core.bool) +})); +const _reviver$0 = JsonDecoder__reviver; +convert.JsonDecoder = class JsonDecoder extends convert.Converter$(core.String, dart.nullable(core.Object)) { + get [_reviver$]() { + return this[_reviver$0]; + } + set [_reviver$](value) { + super[_reviver$] = value; + } + convert(input) { + core.String.as(input); + if (input == null) dart.nullFailed(I[95], 506, 26, "input"); + return convert._parseJson(input, this[_reviver$]); + } + startChunkedConversion(sink) { + if (sink == null) dart.nullFailed(I[85], 363, 61, "sink"); + return new convert._JsonDecoderSink.new(this[_reviver$], sink); + } + bind(stream) { + T$0.StreamOfString().as(stream); + if (stream == null) dart.nullFailed(I[95], 514, 39, "stream"); + return super.bind(stream); + } +}; +(convert.JsonDecoder.new = function(reviver = null) { + this[_reviver$0] = reviver; + convert.JsonDecoder.__proto__.new.call(this); + ; +}).prototype = convert.JsonDecoder.prototype; +dart.addTypeTests(convert.JsonDecoder); +dart.addTypeCaches(convert.JsonDecoder); +dart.setMethodSignature(convert.JsonDecoder, () => ({ + __proto__: dart.getMethods(convert.JsonDecoder.__proto__), + convert: dart.fnType(dart.dynamic, [dart.nullable(core.Object)]), + startChunkedConversion: dart.fnType(convert.StringConversionSink, [core.Sink$(dart.nullable(core.Object))]) +})); +dart.setLibraryUri(convert.JsonDecoder, I[31]); +dart.setFieldSignature(convert.JsonDecoder, () => ({ + __proto__: dart.getFields(convert.JsonDecoder.__proto__), + [_reviver$]: dart.finalFieldType(dart.nullable(dart.fnType(dart.nullable(core.Object), [dart.nullable(core.Object), dart.nullable(core.Object)]))) +})); +var _seen = dart.privateName(convert, "_seen"); +var _checkCycle = dart.privateName(convert, "_checkCycle"); +var _removeSeen = dart.privateName(convert, "_removeSeen"); +var _partialResult = dart.privateName(convert, "_partialResult"); +convert._JsonStringifier = class _JsonStringifier extends core.Object { + static hexDigit(x) { + if (x == null) dart.nullFailed(I[95], 574, 27, "x"); + return dart.notNull(x) < 10 ? 48 + dart.notNull(x) : 87 + dart.notNull(x); + } + writeStringContent(s) { + if (s == null) dart.nullFailed(I[95], 577, 34, "s"); + let offset = 0; + let length = s.length; + for (let i = 0; i < length; i = i + 1) { + let charCode = s[$codeUnitAt](i); + if (charCode > 92) { + if (charCode >= 55296) { + if ((charCode & 64512) >>> 0 === 55296 && !(i + 1 < length && (s[$codeUnitAt](i + 1) & 64512) >>> 0 === 56320) || (charCode & 64512) >>> 0 === 56320 && !(i - 1 >= 0 && (s[$codeUnitAt](i - 1) & 64512) >>> 0 === 55296)) { + if (i > offset) this.writeStringSlice(s, offset, i); + offset = i + 1; + this.writeCharCode(92); + this.writeCharCode(117); + this.writeCharCode(100); + this.writeCharCode(convert._JsonStringifier.hexDigit(charCode >> 8 & 15)); + this.writeCharCode(convert._JsonStringifier.hexDigit(charCode >> 4 & 15)); + this.writeCharCode(convert._JsonStringifier.hexDigit(charCode & 15)); + } + } + continue; + } + if (charCode < 32) { + if (i > offset) this.writeStringSlice(s, offset, i); + offset = i + 1; + this.writeCharCode(92); + switch (charCode) { + case 8: + { + this.writeCharCode(98); + break; + } + case 9: + { + this.writeCharCode(116); + break; + } + case 10: + { + this.writeCharCode(110); + break; + } + case 12: + { + this.writeCharCode(102); + break; + } + case 13: + { + this.writeCharCode(114); + break; + } + default: + { + this.writeCharCode(117); + this.writeCharCode(48); + this.writeCharCode(48); + this.writeCharCode(convert._JsonStringifier.hexDigit(charCode >> 4 & 15)); + this.writeCharCode(convert._JsonStringifier.hexDigit(charCode & 15)); + break; + } + } + } else if (charCode === 34 || charCode === 92) { + if (i > offset) this.writeStringSlice(s, offset, i); + offset = i + 1; + this.writeCharCode(92); + this.writeCharCode(charCode); + } + } + if (offset === 0) { + this.writeString(s); + } else if (offset < length) { + this.writeStringSlice(s, offset, length); + } + } + [_checkCycle](object) { + for (let i = 0; i < dart.notNull(this[_seen][$length]); i = i + 1) { + if (core.identical(object, this[_seen][$_get](i))) { + dart.throw(new convert.JsonCyclicError.new(object)); + } + } + this[_seen][$add](object); + } + [_removeSeen](object) { + if (!dart.test(this[_seen][$isNotEmpty])) dart.assertFailed(null, I[95], 666, 12, "_seen.isNotEmpty"); + if (!core.identical(this[_seen][$last], object)) dart.assertFailed(null, I[95], 667, 12, "identical(_seen.last, object)"); + this[_seen][$removeLast](); + } + writeObject(object) { + let t173; + if (dart.test(this.writeJsonValue(object))) return; + this[_checkCycle](object); + try { + let customJson = (t173 = object, this[_toEncodable$](t173)); + if (!dart.test(this.writeJsonValue(customJson))) { + dart.throw(new convert.JsonUnsupportedObjectError.new(object, {partialResult: this[_partialResult]})); + } + this[_removeSeen](object); + } catch (e$) { + let e = dart.getThrown(e$); + if (core.Object.is(e)) { + dart.throw(new convert.JsonUnsupportedObjectError.new(object, {cause: e, partialResult: this[_partialResult]})); + } else + throw e$; + } + } + writeJsonValue(object) { + if (typeof object == 'number') { + if (!object[$isFinite]) return false; + this.writeNumber(object); + return true; + } else if (object === true) { + this.writeString("true"); + return true; + } else if (object === false) { + this.writeString("false"); + return true; + } else if (object == null) { + this.writeString("null"); + return true; + } else if (typeof object == 'string') { + this.writeString("\""); + this.writeStringContent(object); + this.writeString("\""); + return true; + } else if (core.List.is(object)) { + this[_checkCycle](object); + this.writeList(object); + this[_removeSeen](object); + return true; + } else if (core.Map.is(object)) { + this[_checkCycle](object); + let success = this.writeMap(object); + this[_removeSeen](object); + return success; + } else { + return false; + } + } + writeList(list) { + if (list == null) dart.nullFailed(I[95], 733, 32, "list"); + this.writeString("["); + if (dart.test(list[$isNotEmpty])) { + this.writeObject(list[$_get](0)); + for (let i = 1; i < dart.notNull(list[$length]); i = i + 1) { + this.writeString(","); + this.writeObject(list[$_get](i)); + } + } + this.writeString("]"); + } + writeMap(map) { + if (map == null) dart.nullFailed(I[95], 746, 39, "map"); + if (dart.test(map[$isEmpty])) { + this.writeString("{}"); + return true; + } + let keyValueList = T$.ListOfObjectN().filled(dart.notNull(map[$length]) * 2, null); + let i = 0; + let allStringKeys = true; + map[$forEach](dart.fn((key, value) => { + let t174, t174$; + if (!(typeof key == 'string')) { + allStringKeys = false; + } + keyValueList[$_set]((t174 = i, i = t174 + 1, t174), key); + keyValueList[$_set]((t174$ = i, i = t174$ + 1, t174$), value); + }, T$.ObjectNAndObjectNTovoid())); + if (!allStringKeys) return false; + this.writeString("{"); + let separator = "\""; + for (let i = 0; i < dart.notNull(keyValueList[$length]); i = i + 2) { + this.writeString(separator); + separator = ",\""; + this.writeStringContent(core.String.as(keyValueList[$_get](i))); + this.writeString("\":"); + this.writeObject(keyValueList[$_get](i + 1)); + } + this.writeString("}"); + return true; + } +}; +(convert._JsonStringifier.new = function(toEncodable) { + let t173; + this[_seen] = []; + this[_toEncodable$] = (t173 = toEncodable, t173 == null ? C[94] || CT.C94 : t173); + ; +}).prototype = convert._JsonStringifier.prototype; +dart.addTypeTests(convert._JsonStringifier); +dart.addTypeCaches(convert._JsonStringifier); +dart.setMethodSignature(convert._JsonStringifier, () => ({ + __proto__: dart.getMethods(convert._JsonStringifier.__proto__), + writeStringContent: dart.fnType(dart.void, [core.String]), + [_checkCycle]: dart.fnType(dart.void, [dart.nullable(core.Object)]), + [_removeSeen]: dart.fnType(dart.void, [dart.nullable(core.Object)]), + writeObject: dart.fnType(dart.void, [dart.nullable(core.Object)]), + writeJsonValue: dart.fnType(core.bool, [dart.nullable(core.Object)]), + writeList: dart.fnType(dart.void, [core.List$(dart.nullable(core.Object))]), + writeMap: dart.fnType(core.bool, [core.Map$(dart.nullable(core.Object), dart.nullable(core.Object))]) +})); +dart.setLibraryUri(convert._JsonStringifier, I[31]); +dart.setFieldSignature(convert._JsonStringifier, () => ({ + __proto__: dart.getFields(convert._JsonStringifier.__proto__), + [_seen]: dart.finalFieldType(core.List), + [_toEncodable$]: dart.finalFieldType(dart.fnType(dart.dynamic, [dart.dynamic])) +})); +dart.defineLazy(convert._JsonStringifier, { + /*convert._JsonStringifier.backspace*/get backspace() { + return 8; + }, + /*convert._JsonStringifier.tab*/get tab() { + return 9; + }, + /*convert._JsonStringifier.newline*/get newline() { + return 10; + }, + /*convert._JsonStringifier.carriageReturn*/get carriageReturn() { + return 13; + }, + /*convert._JsonStringifier.formFeed*/get formFeed() { + return 12; + }, + /*convert._JsonStringifier.quote*/get quote() { + return 34; + }, + /*convert._JsonStringifier.char_0*/get char_0() { + return 48; + }, + /*convert._JsonStringifier.backslash*/get backslash() { + return 92; + }, + /*convert._JsonStringifier.char_b*/get char_b() { + return 98; + }, + /*convert._JsonStringifier.char_d*/get char_d() { + return 100; + }, + /*convert._JsonStringifier.char_f*/get char_f() { + return 102; + }, + /*convert._JsonStringifier.char_n*/get char_n() { + return 110; + }, + /*convert._JsonStringifier.char_r*/get char_r() { + return 114; + }, + /*convert._JsonStringifier.char_t*/get char_t() { + return 116; + }, + /*convert._JsonStringifier.char_u*/get char_u() { + return 117; + }, + /*convert._JsonStringifier.surrogateMin*/get surrogateMin() { + return 55296; + }, + /*convert._JsonStringifier.surrogateMask*/get surrogateMask() { + return 64512; + }, + /*convert._JsonStringifier.surrogateLead*/get surrogateLead() { + return 55296; + }, + /*convert._JsonStringifier.surrogateTrail*/get surrogateTrail() { + return 56320; + } +}, false); +var _indentLevel = dart.privateName(convert, "_JsonPrettyPrintMixin._indentLevel"); +var _indentLevel$ = dart.privateName(convert, "_indentLevel"); +convert._JsonPrettyPrintMixin = class _JsonPrettyPrintMixin extends core.Object { + get [_indentLevel$]() { + return this[_indentLevel]; + } + set [_indentLevel$](value) { + this[_indentLevel] = value; + } + writeList(list) { + if (list == null) dart.nullFailed(I[95], 786, 32, "list"); + if (dart.test(list[$isEmpty])) { + this.writeString("[]"); + } else { + this.writeString("[\n"); + this[_indentLevel$] = dart.notNull(this[_indentLevel$]) + 1; + this.writeIndentation(this[_indentLevel$]); + this.writeObject(list[$_get](0)); + for (let i = 1; i < dart.notNull(list[$length]); i = i + 1) { + this.writeString(",\n"); + this.writeIndentation(this[_indentLevel$]); + this.writeObject(list[$_get](i)); + } + this.writeString("\n"); + this[_indentLevel$] = dart.notNull(this[_indentLevel$]) - 1; + this.writeIndentation(this[_indentLevel$]); + this.writeString("]"); + } + } + writeMap(map) { + if (map == null) dart.nullFailed(I[95], 806, 39, "map"); + if (dart.test(map[$isEmpty])) { + this.writeString("{}"); + return true; + } + let keyValueList = T$.ListOfObjectN().filled(dart.notNull(map[$length]) * 2, null); + let i = 0; + let allStringKeys = true; + map[$forEach](dart.fn((key, value) => { + let t174, t174$; + if (!(typeof key == 'string')) { + allStringKeys = false; + } + keyValueList[$_set]((t174 = i, i = t174 + 1, t174), key); + keyValueList[$_set]((t174$ = i, i = t174$ + 1, t174$), value); + }, T$.ObjectNAndObjectNTovoid())); + if (!allStringKeys) return false; + this.writeString("{\n"); + this[_indentLevel$] = dart.notNull(this[_indentLevel$]) + 1; + let separator = ""; + for (let i = 0; i < dart.notNull(keyValueList[$length]); i = i + 2) { + this.writeString(separator); + separator = ",\n"; + this.writeIndentation(this[_indentLevel$]); + this.writeString("\""); + this.writeStringContent(core.String.as(keyValueList[$_get](i))); + this.writeString("\": "); + this.writeObject(keyValueList[$_get](i + 1)); + } + this.writeString("\n"); + this[_indentLevel$] = dart.notNull(this[_indentLevel$]) - 1; + this.writeIndentation(this[_indentLevel$]); + this.writeString("}"); + return true; + } +}; +(convert._JsonPrettyPrintMixin.new = function() { + this[_indentLevel] = 0; + ; +}).prototype = convert._JsonPrettyPrintMixin.prototype; +dart.addTypeTests(convert._JsonPrettyPrintMixin); +dart.addTypeCaches(convert._JsonPrettyPrintMixin); +convert._JsonPrettyPrintMixin[dart.implements] = () => [convert._JsonStringifier]; +dart.setMethodSignature(convert._JsonPrettyPrintMixin, () => ({ + __proto__: dart.getMethods(convert._JsonPrettyPrintMixin.__proto__), + writeList: dart.fnType(dart.void, [core.List$(dart.nullable(core.Object))]), + writeMap: dart.fnType(core.bool, [core.Map$(dart.nullable(core.Object), dart.nullable(core.Object))]) +})); +dart.setLibraryUri(convert._JsonPrettyPrintMixin, I[31]); +dart.setFieldSignature(convert._JsonPrettyPrintMixin, () => ({ + __proto__: dart.getFields(convert._JsonPrettyPrintMixin.__proto__), + [_indentLevel$]: dart.fieldType(core.int) +})); +convert._JsonStringStringifier = class _JsonStringStringifier extends convert._JsonStringifier { + static stringify(object, toEncodable, indent) { + let output = new core.StringBuffer.new(); + convert._JsonStringStringifier.printOn(object, output, toEncodable, indent); + return output.toString(); + } + static printOn(object, output, toEncodable, indent) { + if (output == null) dart.nullFailed(I[95], 869, 50, "output"); + let stringifier = null; + if (indent == null) { + stringifier = new convert._JsonStringStringifier.new(output, toEncodable); + } else { + stringifier = new convert._JsonStringStringifierPretty.new(output, toEncodable, indent); + } + stringifier.writeObject(object); + } + get [_partialResult]() { + return core.StringBuffer.is(this[_sink$0]) ? dart.toString(this[_sink$0]) : null; + } + writeNumber(number) { + if (number == null) dart.nullFailed(I[95], 882, 24, "number"); + this[_sink$0].write(dart.toString(number)); + } + writeString(string) { + if (string == null) dart.nullFailed(I[95], 886, 27, "string"); + this[_sink$0].write(string); + } + writeStringSlice(string, start, end) { + if (string == null) dart.nullFailed(I[95], 890, 32, "string"); + if (start == null) dart.nullFailed(I[95], 890, 44, "start"); + if (end == null) dart.nullFailed(I[95], 890, 55, "end"); + this[_sink$0].write(string[$substring](start, end)); + } + writeCharCode(charCode) { + if (charCode == null) dart.nullFailed(I[95], 894, 26, "charCode"); + this[_sink$0].writeCharCode(charCode); + } +}; +(convert._JsonStringStringifier.new = function(_sink, _toEncodable) { + if (_sink == null) dart.nullFailed(I[95], 847, 12, "_sink"); + this[_sink$0] = _sink; + convert._JsonStringStringifier.__proto__.new.call(this, _toEncodable); + ; +}).prototype = convert._JsonStringStringifier.prototype; +dart.addTypeTests(convert._JsonStringStringifier); +dart.addTypeCaches(convert._JsonStringStringifier); +dart.setMethodSignature(convert._JsonStringStringifier, () => ({ + __proto__: dart.getMethods(convert._JsonStringStringifier.__proto__), + writeNumber: dart.fnType(dart.void, [core.num]), + writeString: dart.fnType(dart.void, [core.String]), + writeStringSlice: dart.fnType(dart.void, [core.String, core.int, core.int]), + writeCharCode: dart.fnType(dart.void, [core.int]) +})); +dart.setGetterSignature(convert._JsonStringStringifier, () => ({ + __proto__: dart.getGetters(convert._JsonStringStringifier.__proto__), + [_partialResult]: dart.nullable(core.String) +})); +dart.setLibraryUri(convert._JsonStringStringifier, I[31]); +dart.setFieldSignature(convert._JsonStringStringifier, () => ({ + __proto__: dart.getFields(convert._JsonStringStringifier.__proto__), + [_sink$0]: dart.finalFieldType(core.StringSink) +})); +const _JsonStringStringifier__JsonPrettyPrintMixin$36 = class _JsonStringStringifier__JsonPrettyPrintMixin extends convert._JsonStringStringifier {}; +(_JsonStringStringifier__JsonPrettyPrintMixin$36.new = function(_sink, _toEncodable) { + convert._JsonPrettyPrintMixin.new.call(this); + _JsonStringStringifier__JsonPrettyPrintMixin$36.__proto__.new.call(this, _sink, _toEncodable); +}).prototype = _JsonStringStringifier__JsonPrettyPrintMixin$36.prototype; +dart.applyMixin(_JsonStringStringifier__JsonPrettyPrintMixin$36, convert._JsonPrettyPrintMixin); +convert._JsonStringStringifierPretty = class _JsonStringStringifierPretty extends _JsonStringStringifier__JsonPrettyPrintMixin$36 { + writeIndentation(count) { + if (count == null) dart.nullFailed(I[95], 907, 29, "count"); + for (let i = 0; i < dart.notNull(count); i = i + 1) + this.writeString(this[_indent$]); + } +}; +(convert._JsonStringStringifierPretty.new = function(sink, toEncodable, _indent) { + if (sink == null) dart.nullFailed(I[95], 904, 18, "sink"); + if (_indent == null) dart.nullFailed(I[95], 904, 62, "_indent"); + this[_indent$] = _indent; + convert._JsonStringStringifierPretty.__proto__.new.call(this, sink, toEncodable); + ; +}).prototype = convert._JsonStringStringifierPretty.prototype; +dart.addTypeTests(convert._JsonStringStringifierPretty); +dart.addTypeCaches(convert._JsonStringStringifierPretty); +dart.setMethodSignature(convert._JsonStringStringifierPretty, () => ({ + __proto__: dart.getMethods(convert._JsonStringStringifierPretty.__proto__), + writeIndentation: dart.fnType(dart.void, [core.int]) +})); +dart.setLibraryUri(convert._JsonStringStringifierPretty, I[31]); +dart.setFieldSignature(convert._JsonStringStringifierPretty, () => ({ + __proto__: dart.getFields(convert._JsonStringStringifierPretty.__proto__), + [_indent$]: dart.finalFieldType(core.String) +})); +convert._JsonUtf8Stringifier = class _JsonUtf8Stringifier extends convert._JsonStringifier { + static stringify(object, indent, toEncodable, bufferSize, addChunk) { + if (bufferSize == null) dart.nullFailed(I[95], 940, 11, "bufferSize"); + if (addChunk == null) dart.nullFailed(I[95], 941, 12, "addChunk"); + let stringifier = null; + if (indent != null) { + stringifier = new convert._JsonUtf8StringifierPretty.new(toEncodable, indent, bufferSize, addChunk); + } else { + stringifier = new convert._JsonUtf8Stringifier.new(toEncodable, bufferSize, addChunk); + } + stringifier.writeObject(object); + stringifier.flush(); + } + flush() { + let t176, t175, t174; + if (dart.notNull(this.index) > 0) { + t174 = this.buffer; + t175 = 0; + t176 = this.index; + this.addChunk(t174, t175, t176); + } + this.buffer = _native_typed_data.NativeUint8List.new(0); + this.index = 0; + } + get [_partialResult]() { + return null; + } + writeNumber(number) { + if (number == null) dart.nullFailed(I[95], 965, 24, "number"); + this.writeAsciiString(dart.toString(number)); + } + writeAsciiString(string) { + if (string == null) dart.nullFailed(I[95], 970, 32, "string"); + for (let i = 0; i < string.length; i = i + 1) { + let char = string[$codeUnitAt](i); + if (!(char <= 127)) dart.assertFailed(null, I[95], 975, 14, "char <= 0x7f"); + this.writeByte(char); + } + } + writeString(string) { + if (string == null) dart.nullFailed(I[95], 980, 27, "string"); + this.writeStringSlice(string, 0, string.length); + } + writeStringSlice(string, start, end) { + if (string == null) dart.nullFailed(I[95], 984, 32, "string"); + if (start == null) dart.nullFailed(I[95], 984, 44, "start"); + if (end == null) dart.nullFailed(I[95], 984, 55, "end"); + for (let i = start; dart.notNull(i) < dart.notNull(end); i = dart.notNull(i) + 1) { + let char = string[$codeUnitAt](i); + if (char <= 127) { + this.writeByte(char); + } else { + if ((char & 63488) === 55296) { + if (char < 56320 && dart.notNull(i) + 1 < dart.notNull(end)) { + let nextChar = string[$codeUnitAt](dart.notNull(i) + 1); + if ((nextChar & 64512) === 56320) { + char = 65536 + ((char & 1023) << 10) + (nextChar & 1023); + this.writeFourByteCharCode(char); + i = dart.notNull(i) + 1; + continue; + } + } + this.writeMultiByteCharCode(65533); + continue; + } + this.writeMultiByteCharCode(char); + } + } + } + writeCharCode(charCode) { + if (charCode == null) dart.nullFailed(I[95], 1015, 26, "charCode"); + if (dart.notNull(charCode) <= 127) { + this.writeByte(charCode); + return; + } + this.writeMultiByteCharCode(charCode); + } + writeMultiByteCharCode(charCode) { + if (charCode == null) dart.nullFailed(I[95], 1023, 35, "charCode"); + if (dart.notNull(charCode) <= 2047) { + this.writeByte((192 | charCode[$rightShift](6)) >>> 0); + this.writeByte(128 | dart.notNull(charCode) & 63); + return; + } + if (dart.notNull(charCode) <= 65535) { + this.writeByte((224 | charCode[$rightShift](12)) >>> 0); + this.writeByte(128 | dart.notNull(charCode) >> 6 & 63); + this.writeByte(128 | dart.notNull(charCode) & 63); + return; + } + this.writeFourByteCharCode(charCode); + } + writeFourByteCharCode(charCode) { + if (charCode == null) dart.nullFailed(I[95], 1038, 34, "charCode"); + if (!(dart.notNull(charCode) <= 1114111)) dart.assertFailed(null, I[95], 1039, 12, "charCode <= 0x10ffff"); + this.writeByte((240 | charCode[$rightShift](18)) >>> 0); + this.writeByte(128 | dart.notNull(charCode) >> 12 & 63); + this.writeByte(128 | dart.notNull(charCode) >> 6 & 63); + this.writeByte(128 | dart.notNull(charCode) & 63); + } + writeByte(byte) { + let t176, t175, t174, t174$; + if (byte == null) dart.nullFailed(I[95], 1046, 22, "byte"); + if (!(dart.notNull(byte) <= 255)) dart.assertFailed(null, I[95], 1047, 12, "byte <= 0xff"); + if (this.index == this.buffer[$length]) { + t174 = this.buffer; + t175 = 0; + t176 = this.index; + this.addChunk(t174, t175, t176); + this.buffer = _native_typed_data.NativeUint8List.new(this.bufferSize); + this.index = 0; + } + this.buffer[$_set]((t174$ = this.index, this.index = dart.notNull(t174$) + 1, t174$), byte); + } +}; +(convert._JsonUtf8Stringifier.new = function(toEncodable, bufferSize, addChunk) { + if (bufferSize == null) dart.nullFailed(I[95], 923, 45, "bufferSize"); + if (addChunk == null) dart.nullFailed(I[95], 923, 62, "addChunk"); + this.index = 0; + this.bufferSize = bufferSize; + this.addChunk = addChunk; + this.buffer = _native_typed_data.NativeUint8List.new(bufferSize); + convert._JsonUtf8Stringifier.__proto__.new.call(this, toEncodable); + ; +}).prototype = convert._JsonUtf8Stringifier.prototype; +dart.addTypeTests(convert._JsonUtf8Stringifier); +dart.addTypeCaches(convert._JsonUtf8Stringifier); +dart.setMethodSignature(convert._JsonUtf8Stringifier, () => ({ + __proto__: dart.getMethods(convert._JsonUtf8Stringifier.__proto__), + flush: dart.fnType(dart.void, []), + writeNumber: dart.fnType(dart.void, [core.num]), + writeAsciiString: dart.fnType(dart.void, [core.String]), + writeString: dart.fnType(dart.void, [core.String]), + writeStringSlice: dart.fnType(dart.void, [core.String, core.int, core.int]), + writeCharCode: dart.fnType(dart.void, [core.int]), + writeMultiByteCharCode: dart.fnType(dart.void, [core.int]), + writeFourByteCharCode: dart.fnType(dart.void, [core.int]), + writeByte: dart.fnType(dart.void, [core.int]) +})); +dart.setGetterSignature(convert._JsonUtf8Stringifier, () => ({ + __proto__: dart.getGetters(convert._JsonUtf8Stringifier.__proto__), + [_partialResult]: dart.nullable(core.String) +})); +dart.setLibraryUri(convert._JsonUtf8Stringifier, I[31]); +dart.setFieldSignature(convert._JsonUtf8Stringifier, () => ({ + __proto__: dart.getFields(convert._JsonUtf8Stringifier.__proto__), + bufferSize: dart.finalFieldType(core.int), + addChunk: dart.finalFieldType(dart.fnType(dart.void, [typed_data.Uint8List, core.int, core.int])), + buffer: dart.fieldType(typed_data.Uint8List), + index: dart.fieldType(core.int) +})); +const _JsonUtf8Stringifier__JsonPrettyPrintMixin$36 = class _JsonUtf8Stringifier__JsonPrettyPrintMixin extends convert._JsonUtf8Stringifier {}; +(_JsonUtf8Stringifier__JsonPrettyPrintMixin$36.new = function(toEncodable, bufferSize, addChunk) { + convert._JsonPrettyPrintMixin.new.call(this); + _JsonUtf8Stringifier__JsonPrettyPrintMixin$36.__proto__.new.call(this, toEncodable, bufferSize, addChunk); +}).prototype = _JsonUtf8Stringifier__JsonPrettyPrintMixin$36.prototype; +dart.applyMixin(_JsonUtf8Stringifier__JsonPrettyPrintMixin$36, convert._JsonPrettyPrintMixin); +convert._JsonUtf8StringifierPretty = class _JsonUtf8StringifierPretty extends _JsonUtf8Stringifier__JsonPrettyPrintMixin$36 { + writeIndentation(count) { + if (count == null) dart.nullFailed(I[95], 1065, 29, "count"); + let indent = this.indent; + let indentLength = indent[$length]; + if (indentLength === 1) { + let char = indent[$_get](0); + while (dart.notNull(count) > 0) { + this.writeByte(char); + count = dart.notNull(count) - 1; + } + return; + } + while (dart.notNull(count) > 0) { + count = dart.notNull(count) - 1; + let end = dart.notNull(this.index) + dart.notNull(indentLength); + if (end <= dart.notNull(this.buffer[$length])) { + this.buffer[$setRange](this.index, end, indent); + this.index = end; + } else { + for (let i = 0; i < dart.notNull(indentLength); i = i + 1) { + this.writeByte(indent[$_get](i)); + } + } + } + } +}; +(convert._JsonUtf8StringifierPretty.new = function(toEncodable, indent, bufferSize, addChunk) { + if (indent == null) dart.nullFailed(I[95], 1061, 68, "indent"); + if (bufferSize == null) dart.nullFailed(I[95], 1062, 11, "bufferSize"); + if (addChunk == null) dart.nullFailed(I[95], 1062, 28, "addChunk"); + this.indent = indent; + convert._JsonUtf8StringifierPretty.__proto__.new.call(this, toEncodable, bufferSize, addChunk); + ; +}).prototype = convert._JsonUtf8StringifierPretty.prototype; +dart.addTypeTests(convert._JsonUtf8StringifierPretty); +dart.addTypeCaches(convert._JsonUtf8StringifierPretty); +dart.setMethodSignature(convert._JsonUtf8StringifierPretty, () => ({ + __proto__: dart.getMethods(convert._JsonUtf8StringifierPretty.__proto__), + writeIndentation: dart.fnType(dart.void, [core.int]) +})); +dart.setLibraryUri(convert._JsonUtf8StringifierPretty, I[31]); +dart.setFieldSignature(convert._JsonUtf8StringifierPretty, () => ({ + __proto__: dart.getFields(convert._JsonUtf8StringifierPretty.__proto__), + indent: dart.finalFieldType(core.List$(core.int)) +})); +var _allowInvalid$1 = dart.privateName(convert, "Latin1Codec._allowInvalid"); +convert.Latin1Codec = class Latin1Codec extends convert.Encoding { + get [_allowInvalid$]() { + return this[_allowInvalid$1]; + } + set [_allowInvalid$](value) { + super[_allowInvalid$] = value; + } + get name() { + return "iso-8859-1"; + } + encode(source) { + core.String.as(source); + if (source == null) dart.nullFailed(I[96], 40, 27, "source"); + return this.encoder.convert(source); + } + decode(bytes, opts) { + let t174; + T$0.ListOfint().as(bytes); + if (bytes == null) dart.nullFailed(I[96], 50, 27, "bytes"); + let allowInvalid = opts && 'allowInvalid' in opts ? opts.allowInvalid : null; + if (dart.test((t174 = allowInvalid, t174 == null ? this[_allowInvalid$] : t174))) { + return (C[95] || CT.C95).convert(bytes); + } else { + return (C[96] || CT.C96).convert(bytes); + } + } + get encoder() { + return C[97] || CT.C97; + } + get decoder() { + return dart.test(this[_allowInvalid$]) ? C[95] || CT.C95 : C[96] || CT.C96; + } +}; +(convert.Latin1Codec.new = function(opts) { + let allowInvalid = opts && 'allowInvalid' in opts ? opts.allowInvalid : false; + if (allowInvalid == null) dart.nullFailed(I[96], 35, 27, "allowInvalid"); + this[_allowInvalid$1] = allowInvalid; + convert.Latin1Codec.__proto__.new.call(this); + ; +}).prototype = convert.Latin1Codec.prototype; +dart.addTypeTests(convert.Latin1Codec); +dart.addTypeCaches(convert.Latin1Codec); +dart.setMethodSignature(convert.Latin1Codec, () => ({ + __proto__: dart.getMethods(convert.Latin1Codec.__proto__), + encode: dart.fnType(typed_data.Uint8List, [dart.nullable(core.Object)]), + decode: dart.fnType(core.String, [dart.nullable(core.Object)], {allowInvalid: dart.nullable(core.bool)}, {}) +})); +dart.setGetterSignature(convert.Latin1Codec, () => ({ + __proto__: dart.getGetters(convert.Latin1Codec.__proto__), + name: core.String, + encoder: convert.Latin1Encoder, + decoder: convert.Latin1Decoder +})); +dart.setLibraryUri(convert.Latin1Codec, I[31]); +dart.setFieldSignature(convert.Latin1Codec, () => ({ + __proto__: dart.getFields(convert.Latin1Codec.__proto__), + [_allowInvalid$]: dart.finalFieldType(core.bool) +})); +convert.Latin1Encoder = class Latin1Encoder extends convert._UnicodeSubsetEncoder {}; +(convert.Latin1Encoder.new = function() { + convert.Latin1Encoder.__proto__.new.call(this, 255); + ; +}).prototype = convert.Latin1Encoder.prototype; +dart.addTypeTests(convert.Latin1Encoder); +dart.addTypeCaches(convert.Latin1Encoder); +dart.setLibraryUri(convert.Latin1Encoder, I[31]); +convert.Latin1Decoder = class Latin1Decoder extends convert._UnicodeSubsetDecoder { + startChunkedConversion(sink) { + T$0.SinkOfString().as(sink); + if (sink == null) dart.nullFailed(I[96], 88, 58, "sink"); + let stringSink = null; + if (convert.StringConversionSink.is(sink)) { + stringSink = sink; + } else { + stringSink = new convert._StringAdapterSink.new(sink); + } + if (!dart.test(this[_allowInvalid$])) return new convert._Latin1DecoderSink.new(stringSink); + return new convert._Latin1AllowInvalidDecoderSink.new(stringSink); + } +}; +(convert.Latin1Decoder.new = function(opts) { + let allowInvalid = opts && 'allowInvalid' in opts ? opts.allowInvalid : false; + if (allowInvalid == null) dart.nullFailed(I[96], 81, 29, "allowInvalid"); + convert.Latin1Decoder.__proto__.new.call(this, allowInvalid, 255); + ; +}).prototype = convert.Latin1Decoder.prototype; +dart.addTypeTests(convert.Latin1Decoder); +dart.addTypeCaches(convert.Latin1Decoder); +dart.setMethodSignature(convert.Latin1Decoder, () => ({ + __proto__: dart.getMethods(convert.Latin1Decoder.__proto__), + startChunkedConversion: dart.fnType(convert.ByteConversionSink, [dart.nullable(core.Object)]) +})); +dart.setLibraryUri(convert.Latin1Decoder, I[31]); +var _addSliceToSink = dart.privateName(convert, "_addSliceToSink"); +convert._Latin1DecoderSink = class _Latin1DecoderSink extends convert.ByteConversionSinkBase { + close() { + dart.nullCheck(this[_sink$0]).close(); + this[_sink$0] = null; + } + add(source) { + T$0.ListOfint().as(source); + if (source == null) dart.nullFailed(I[96], 110, 22, "source"); + this.addSlice(source, 0, source[$length], false); + } + [_addSliceToSink](source, start, end, isLast) { + if (source == null) dart.nullFailed(I[96], 114, 34, "source"); + if (start == null) dart.nullFailed(I[96], 114, 46, "start"); + if (end == null) dart.nullFailed(I[96], 114, 57, "end"); + if (isLast == null) dart.nullFailed(I[96], 114, 67, "isLast"); + dart.nullCheck(this[_sink$0]).add(core.String.fromCharCodes(source, start, end)); + if (dart.test(isLast)) this.close(); + } + addSlice(source, start, end, isLast) { + if (source == null) dart.nullFailed(I[96], 123, 27, "source"); + if (start == null) dart.nullFailed(I[96], 123, 39, "start"); + if (end == null) dart.nullFailed(I[96], 123, 50, "end"); + if (isLast == null) dart.nullFailed(I[96], 123, 60, "isLast"); + core.RangeError.checkValidRange(start, end, source[$length]); + if (start == end) return; + if (!typed_data.Uint8List.is(source)) { + convert._Latin1DecoderSink._checkValidLatin1(source, start, end); + } + this[_addSliceToSink](source, start, end, isLast); + } + static _checkValidLatin1(source, start, end) { + if (source == null) dart.nullFailed(I[96], 135, 43, "source"); + if (start == null) dart.nullFailed(I[96], 135, 55, "start"); + if (end == null) dart.nullFailed(I[96], 135, 66, "end"); + let mask = 0; + for (let i = start; dart.notNull(i) < dart.notNull(end); i = dart.notNull(i) + 1) { + mask = (mask | dart.notNull(source[$_get](i))) >>> 0; + } + if (mask >= 0 && mask <= 255) { + return; + } + convert._Latin1DecoderSink._reportInvalidLatin1(source, start, end); + } + static _reportInvalidLatin1(source, start, end) { + if (source == null) dart.nullFailed(I[96], 146, 46, "source"); + if (start == null) dart.nullFailed(I[96], 146, 58, "start"); + if (end == null) dart.nullFailed(I[96], 146, 69, "end"); + for (let i = start; dart.notNull(i) < dart.notNull(end); i = dart.notNull(i) + 1) { + let char = source[$_get](i); + if (dart.notNull(char) < 0 || dart.notNull(char) > 255) { + dart.throw(new core.FormatException.new("Source contains non-Latin-1 characters.", source, i)); + } + } + if (!false) dart.assertFailed(null, I[96], 156, 12, "false"); + } +}; +(convert._Latin1DecoderSink.new = function(_sink) { + this[_sink$0] = _sink; + convert._Latin1DecoderSink.__proto__.new.call(this); + ; +}).prototype = convert._Latin1DecoderSink.prototype; +dart.addTypeTests(convert._Latin1DecoderSink); +dart.addTypeCaches(convert._Latin1DecoderSink); +dart.setMethodSignature(convert._Latin1DecoderSink, () => ({ + __proto__: dart.getMethods(convert._Latin1DecoderSink.__proto__), + close: dart.fnType(dart.void, []), + add: dart.fnType(dart.void, [dart.nullable(core.Object)]), + [_addSliceToSink]: dart.fnType(dart.void, [core.List$(core.int), core.int, core.int, core.bool]) +})); +dart.setLibraryUri(convert._Latin1DecoderSink, I[31]); +dart.setFieldSignature(convert._Latin1DecoderSink, () => ({ + __proto__: dart.getFields(convert._Latin1DecoderSink.__proto__), + [_sink$0]: dart.fieldType(dart.nullable(convert.StringConversionSink)) +})); +convert._Latin1AllowInvalidDecoderSink = class _Latin1AllowInvalidDecoderSink extends convert._Latin1DecoderSink { + addSlice(source, start, end, isLast) { + if (source == null) dart.nullFailed(I[96], 163, 27, "source"); + if (start == null) dart.nullFailed(I[96], 163, 39, "start"); + if (end == null) dart.nullFailed(I[96], 163, 50, "end"); + if (isLast == null) dart.nullFailed(I[96], 163, 60, "isLast"); + core.RangeError.checkValidRange(start, end, source[$length]); + for (let i = start; dart.notNull(i) < dart.notNull(end); i = dart.notNull(i) + 1) { + let char = source[$_get](i); + if (dart.notNull(char) > 255 || dart.notNull(char) < 0) { + if (dart.notNull(i) > dart.notNull(start)) this[_addSliceToSink](source, start, i, false); + this[_addSliceToSink](C[98] || CT.C98, 0, 1, false); + start = dart.notNull(i) + 1; + } + } + if (dart.notNull(start) < dart.notNull(end)) { + this[_addSliceToSink](source, start, end, isLast); + } + if (dart.test(isLast)) { + this.close(); + } + } +}; +(convert._Latin1AllowInvalidDecoderSink.new = function(sink) { + if (sink == null) dart.nullFailed(I[96], 161, 55, "sink"); + convert._Latin1AllowInvalidDecoderSink.__proto__.new.call(this, sink); + ; +}).prototype = convert._Latin1AllowInvalidDecoderSink.prototype; +dart.addTypeTests(convert._Latin1AllowInvalidDecoderSink); +dart.addTypeCaches(convert._Latin1AllowInvalidDecoderSink); +dart.setLibraryUri(convert._Latin1AllowInvalidDecoderSink, I[31]); +convert.LineSplitter = class LineSplitter extends async.StreamTransformerBase$(core.String, core.String) { + static split(lines, start = 0, end = null) { + if (lines == null) dart.nullFailed(I[97], 28, 40, "lines"); + if (start == null) dart.nullFailed(I[97], 28, 52, "start"); + return new (T$0.SyncIterableOfString()).new(() => (function* split(end) { + end = core.RangeError.checkValidRange(start, end, lines.length); + if (end == null) { + dart.throw(new core.RangeError.new("Invalid range")); + } + let sliceStart = start; + let char = 0; + for (let i = start; dart.notNull(i) < dart.notNull(end); i = dart.notNull(i) + 1) { + let previousChar = char; + char = lines[$codeUnitAt](i); + if (char !== 13) { + if (char !== 10) continue; + if (previousChar === 13) { + sliceStart = dart.notNull(i) + 1; + continue; + } + } + yield lines[$substring](sliceStart, i); + sliceStart = dart.notNull(i) + 1; + } + if (dart.notNull(sliceStart) < dart.notNull(end)) { + yield lines[$substring](sliceStart, end); + } + })(end)); + } + convert(data) { + if (data == null) dart.nullFailed(I[97], 54, 31, "data"); + let lines = T$.JSArrayOfString().of([]); + let end = data.length; + let sliceStart = 0; + let char = 0; + for (let i = 0; i < end; i = i + 1) { + let previousChar = char; + char = data[$codeUnitAt](i); + if (char !== 13) { + if (char !== 10) continue; + if (previousChar === 13) { + sliceStart = i + 1; + continue; + } + } + lines[$add](data[$substring](sliceStart, i)); + sliceStart = i + 1; + } + if (sliceStart < end) { + lines[$add](data[$substring](sliceStart, end)); + } + return lines; + } + startChunkedConversion(sink) { + if (sink == null) dart.nullFailed(I[97], 78, 60, "sink"); + return new convert._LineSplitterSink.new(convert.StringConversionSink.is(sink) ? sink : new convert._StringAdapterSink.new(sink)); + } + bind(stream) { + T$0.StreamOfString().as(stream); + if (stream == null) dart.nullFailed(I[97], 83, 38, "stream"); + return T$0.StreamOfString().eventTransformed(stream, dart.fn(sink => { + if (sink == null) dart.nullFailed(I[97], 85, 36, "sink"); + return new convert._LineSplitterEventSink.new(sink); + }, T$0.EventSinkOfStringTo_LineSplitterEventSink())); + } +}; +(convert.LineSplitter.new = function() { + convert.LineSplitter.__proto__.new.call(this); + ; +}).prototype = convert.LineSplitter.prototype; +dart.addTypeTests(convert.LineSplitter); +dart.addTypeCaches(convert.LineSplitter); +dart.setMethodSignature(convert.LineSplitter, () => ({ + __proto__: dart.getMethods(convert.LineSplitter.__proto__), + convert: dart.fnType(core.List$(core.String), [core.String]), + startChunkedConversion: dart.fnType(convert.StringConversionSink, [core.Sink$(core.String)]), + bind: dart.fnType(async.Stream$(core.String), [dart.nullable(core.Object)]) +})); +dart.setLibraryUri(convert.LineSplitter, I[31]); +var _carry = dart.privateName(convert, "_carry"); +var _skipLeadingLF = dart.privateName(convert, "_skipLeadingLF"); +var _addLines = dart.privateName(convert, "_addLines"); +convert._LineSplitterSink = class _LineSplitterSink extends convert.StringConversionSinkBase { + addSlice(chunk, start, end, isLast) { + if (chunk == null) dart.nullFailed(I[97], 109, 24, "chunk"); + if (start == null) dart.nullFailed(I[97], 109, 35, "start"); + if (end == null) dart.nullFailed(I[97], 109, 46, "end"); + if (isLast == null) dart.nullFailed(I[97], 109, 56, "isLast"); + end = core.RangeError.checkValidRange(start, end, chunk.length); + if (dart.notNull(start) >= dart.notNull(end)) { + if (dart.test(isLast)) this.close(); + return; + } + let carry = this[_carry]; + if (carry != null) { + if (!!dart.test(this[_skipLeadingLF])) dart.assertFailed(null, I[97], 119, 14, "!_skipLeadingLF"); + chunk = dart.notNull(carry) + chunk[$substring](start, end); + start = 0; + end = chunk.length; + this[_carry] = null; + } else if (dart.test(this[_skipLeadingLF])) { + if (chunk[$codeUnitAt](start) === 10) { + start = dart.notNull(start) + 1; + } + this[_skipLeadingLF] = false; + } + this[_addLines](chunk, start, end); + if (dart.test(isLast)) this.close(); + } + close() { + if (this[_carry] != null) { + this[_sink$0].add(dart.nullCheck(this[_carry])); + this[_carry] = null; + } + this[_sink$0].close(); + } + [_addLines](lines, start, end) { + if (lines == null) dart.nullFailed(I[97], 142, 25, "lines"); + if (start == null) dart.nullFailed(I[97], 142, 36, "start"); + if (end == null) dart.nullFailed(I[97], 142, 47, "end"); + let sliceStart = start; + let char = 0; + for (let i = start; dart.notNull(i) < dart.notNull(end); i = dart.notNull(i) + 1) { + let previousChar = char; + char = lines[$codeUnitAt](i); + if (char !== 13) { + if (char !== 10) continue; + if (previousChar === 13) { + sliceStart = dart.notNull(i) + 1; + continue; + } + } + this[_sink$0].add(lines[$substring](sliceStart, i)); + sliceStart = dart.notNull(i) + 1; + } + if (dart.notNull(sliceStart) < dart.notNull(end)) { + this[_carry] = lines[$substring](sliceStart, end); + } else { + this[_skipLeadingLF] = char === 13; + } + } +}; +(convert._LineSplitterSink.new = function(_sink) { + if (_sink == null) dart.nullFailed(I[97], 107, 26, "_sink"); + this[_carry] = null; + this[_skipLeadingLF] = false; + this[_sink$0] = _sink; + ; +}).prototype = convert._LineSplitterSink.prototype; +dart.addTypeTests(convert._LineSplitterSink); +dart.addTypeCaches(convert._LineSplitterSink); +dart.setMethodSignature(convert._LineSplitterSink, () => ({ + __proto__: dart.getMethods(convert._LineSplitterSink.__proto__), + addSlice: dart.fnType(dart.void, [core.String, core.int, core.int, core.bool]), + close: dart.fnType(dart.void, []), + [_addLines]: dart.fnType(dart.void, [core.String, core.int, core.int]) +})); +dart.setLibraryUri(convert._LineSplitterSink, I[31]); +dart.setFieldSignature(convert._LineSplitterSink, () => ({ + __proto__: dart.getFields(convert._LineSplitterSink.__proto__), + [_sink$0]: dart.finalFieldType(convert.StringConversionSink), + [_carry]: dart.fieldType(dart.nullable(core.String)), + [_skipLeadingLF]: dart.fieldType(core.bool) +})); +convert._LineSplitterEventSink = class _LineSplitterEventSink extends convert._LineSplitterSink { + addError(o, stackTrace = null) { + if (o == null) dart.nullFailed(I[97], 174, 24, "o"); + this[_eventSink].addError(o, stackTrace); + } +}; +(convert._LineSplitterEventSink.new = function(eventSink) { + if (eventSink == null) dart.nullFailed(I[97], 170, 44, "eventSink"); + this[_eventSink] = eventSink; + convert._LineSplitterEventSink.__proto__.new.call(this, new convert._StringAdapterSink.new(eventSink)); + ; +}).prototype = convert._LineSplitterEventSink.prototype; +dart.addTypeTests(convert._LineSplitterEventSink); +dart.addTypeCaches(convert._LineSplitterEventSink); +convert._LineSplitterEventSink[dart.implements] = () => [async.EventSink$(core.String)]; +dart.setMethodSignature(convert._LineSplitterEventSink, () => ({ + __proto__: dart.getMethods(convert._LineSplitterEventSink.__proto__), + addError: dart.fnType(dart.void, [core.Object], [dart.nullable(core.StackTrace)]) +})); +dart.setLibraryUri(convert._LineSplitterEventSink, I[31]); +dart.setFieldSignature(convert._LineSplitterEventSink, () => ({ + __proto__: dart.getFields(convert._LineSplitterEventSink.__proto__), + [_eventSink]: dart.finalFieldType(async.EventSink$(core.String)) +})); +convert.StringConversionSink = class StringConversionSink extends convert.ChunkedConversionSink$(core.String) {}; +(convert.StringConversionSink.new = function() { + convert.StringConversionSink.__proto__.new.call(this); + ; +}).prototype = convert.StringConversionSink.prototype; +dart.addTypeTests(convert.StringConversionSink); +dart.addTypeCaches(convert.StringConversionSink); +dart.setLibraryUri(convert.StringConversionSink, I[31]); +core.StringSink = class StringSink extends core.Object {}; +(core.StringSink.new = function() { + ; +}).prototype = core.StringSink.prototype; +dart.addTypeTests(core.StringSink); +dart.addTypeCaches(core.StringSink); +dart.setLibraryUri(core.StringSink, I[8]); +convert.ClosableStringSink = class ClosableStringSink extends core.StringSink {}; +dart.addTypeTests(convert.ClosableStringSink); +dart.addTypeCaches(convert.ClosableStringSink); +dart.setLibraryUri(convert.ClosableStringSink, I[31]); +convert._ClosableStringSink = class _ClosableStringSink extends core.Object { + close() { + this[_callback$](); + } + writeCharCode(charCode) { + if (charCode == null) dart.nullFailed(I[86], 78, 26, "charCode"); + this[_sink$0].writeCharCode(charCode); + } + write(o) { + this[_sink$0].write(o); + } + writeln(o = "") { + this[_sink$0].writeln(o); + } + writeAll(objects, separator = "") { + if (objects == null) dart.nullFailed(I[86], 90, 26, "objects"); + if (separator == null) dart.nullFailed(I[86], 90, 43, "separator"); + this[_sink$0].writeAll(objects, separator); + } +}; +(convert._ClosableStringSink.new = function(_sink, _callback) { + if (_sink == null) dart.nullFailed(I[86], 72, 28, "_sink"); + if (_callback == null) dart.nullFailed(I[86], 72, 40, "_callback"); + this[_sink$0] = _sink; + this[_callback$] = _callback; + ; +}).prototype = convert._ClosableStringSink.prototype; +dart.addTypeTests(convert._ClosableStringSink); +dart.addTypeCaches(convert._ClosableStringSink); +convert._ClosableStringSink[dart.implements] = () => [convert.ClosableStringSink]; +dart.setMethodSignature(convert._ClosableStringSink, () => ({ + __proto__: dart.getMethods(convert._ClosableStringSink.__proto__), + close: dart.fnType(dart.void, []), + writeCharCode: dart.fnType(dart.void, [core.int]), + write: dart.fnType(dart.void, [dart.nullable(core.Object)]), + writeln: dart.fnType(dart.void, [], [dart.nullable(core.Object)]), + writeAll: dart.fnType(dart.void, [core.Iterable], [core.String]) +})); +dart.setLibraryUri(convert._ClosableStringSink, I[31]); +dart.setFieldSignature(convert._ClosableStringSink, () => ({ + __proto__: dart.getFields(convert._ClosableStringSink.__proto__), + [_callback$]: dart.finalFieldType(dart.fnType(dart.void, [])), + [_sink$0]: dart.finalFieldType(core.StringSink) +})); +var _flush = dart.privateName(convert, "_flush"); +convert._StringConversionSinkAsStringSinkAdapter = class _StringConversionSinkAsStringSinkAdapter extends core.Object { + close() { + if (dart.test(this[_buffer$].isNotEmpty)) this[_flush](); + this[_chunkedSink$].close(); + } + writeCharCode(charCode) { + if (charCode == null) dart.nullFailed(I[86], 113, 26, "charCode"); + this[_buffer$].writeCharCode(charCode); + if (dart.notNull(this[_buffer$].length) > 16) this[_flush](); + } + write(o) { + if (dart.test(this[_buffer$].isNotEmpty)) this[_flush](); + this[_chunkedSink$].add(dart.toString(o)); + } + writeln(o = "") { + this[_buffer$].writeln(o); + if (dart.notNull(this[_buffer$].length) > 16) this[_flush](); + } + writeAll(objects, separator = "") { + if (objects == null) dart.nullFailed(I[86], 128, 26, "objects"); + if (separator == null) dart.nullFailed(I[86], 128, 43, "separator"); + if (dart.test(this[_buffer$].isNotEmpty)) this[_flush](); + let iterator = objects[$iterator]; + if (!dart.test(iterator.moveNext())) return; + if (separator[$isEmpty]) { + do { + this[_chunkedSink$].add(dart.toString(iterator.current)); + } while (dart.test(iterator.moveNext())); + } else { + this[_chunkedSink$].add(dart.toString(iterator.current)); + while (dart.test(iterator.moveNext())) { + this.write(separator); + this[_chunkedSink$].add(dart.toString(iterator.current)); + } + } + } + [_flush]() { + let accumulated = dart.toString(this[_buffer$]); + this[_buffer$].clear(); + this[_chunkedSink$].add(accumulated); + } +}; +(convert._StringConversionSinkAsStringSinkAdapter.new = function(_chunkedSink) { + if (_chunkedSink == null) dart.nullFailed(I[86], 105, 49, "_chunkedSink"); + this[_chunkedSink$] = _chunkedSink; + this[_buffer$] = new core.StringBuffer.new(); + ; +}).prototype = convert._StringConversionSinkAsStringSinkAdapter.prototype; +dart.addTypeTests(convert._StringConversionSinkAsStringSinkAdapter); +dart.addTypeCaches(convert._StringConversionSinkAsStringSinkAdapter); +convert._StringConversionSinkAsStringSinkAdapter[dart.implements] = () => [convert.ClosableStringSink]; +dart.setMethodSignature(convert._StringConversionSinkAsStringSinkAdapter, () => ({ + __proto__: dart.getMethods(convert._StringConversionSinkAsStringSinkAdapter.__proto__), + close: dart.fnType(dart.void, []), + writeCharCode: dart.fnType(dart.void, [core.int]), + write: dart.fnType(dart.void, [dart.nullable(core.Object)]), + writeln: dart.fnType(dart.void, [], [dart.nullable(core.Object)]), + writeAll: dart.fnType(dart.void, [core.Iterable], [core.String]), + [_flush]: dart.fnType(dart.void, []) +})); +dart.setLibraryUri(convert._StringConversionSinkAsStringSinkAdapter, I[31]); +dart.setFieldSignature(convert._StringConversionSinkAsStringSinkAdapter, () => ({ + __proto__: dart.getFields(convert._StringConversionSinkAsStringSinkAdapter.__proto__), + [_buffer$]: dart.finalFieldType(core.StringBuffer), + [_chunkedSink$]: dart.finalFieldType(convert.StringConversionSink) +})); +dart.defineLazy(convert._StringConversionSinkAsStringSinkAdapter, { + /*convert._StringConversionSinkAsStringSinkAdapter._MIN_STRING_SIZE*/get _MIN_STRING_SIZE() { + return 16; + } +}, false); +convert._StringCallbackSink = class _StringCallbackSink extends convert._StringSinkConversionSink$(core.StringBuffer) { + close() { + let t174; + let accumulated = dart.toString(this[_stringSink$]); + this[_stringSink$].clear(); + t174 = accumulated; + this[_callback$](t174); + } + asUtf8Sink(allowMalformed) { + if (allowMalformed == null) dart.nullFailed(I[86], 222, 38, "allowMalformed"); + return new convert._Utf8StringSinkAdapter.new(this, this[_stringSink$], allowMalformed); + } +}; +(convert._StringCallbackSink.new = function(_callback) { + if (_callback == null) dart.nullFailed(I[86], 214, 28, "_callback"); + this[_callback$] = _callback; + convert._StringCallbackSink.__proto__.new.call(this, new core.StringBuffer.new()); + ; +}).prototype = convert._StringCallbackSink.prototype; +dart.addTypeTests(convert._StringCallbackSink); +dart.addTypeCaches(convert._StringCallbackSink); +dart.setLibraryUri(convert._StringCallbackSink, I[31]); +dart.setFieldSignature(convert._StringCallbackSink, () => ({ + __proto__: dart.getFields(convert._StringCallbackSink.__proto__), + [_callback$]: dart.finalFieldType(dart.fnType(dart.void, [core.String])) +})); +convert._StringAdapterSink = class _StringAdapterSink extends convert.StringConversionSinkBase { + add(str) { + core.String.as(str); + if (str == null) dart.nullFailed(I[86], 237, 19, "str"); + this[_sink$0].add(str); + } + addSlice(str, start, end, isLast) { + if (str == null) dart.nullFailed(I[86], 241, 24, "str"); + if (start == null) dart.nullFailed(I[86], 241, 33, "start"); + if (end == null) dart.nullFailed(I[86], 241, 44, "end"); + if (isLast == null) dart.nullFailed(I[86], 241, 54, "isLast"); + if (start === 0 && end === str.length) { + this.add(str); + } else { + this.add(str[$substring](start, end)); + } + if (dart.test(isLast)) this.close(); + } + close() { + this[_sink$0].close(); + } +}; +(convert._StringAdapterSink.new = function(_sink) { + if (_sink == null) dart.nullFailed(I[86], 235, 27, "_sink"); + this[_sink$0] = _sink; + ; +}).prototype = convert._StringAdapterSink.prototype; +dart.addTypeTests(convert._StringAdapterSink); +dart.addTypeCaches(convert._StringAdapterSink); +dart.setMethodSignature(convert._StringAdapterSink, () => ({ + __proto__: dart.getMethods(convert._StringAdapterSink.__proto__), + addSlice: dart.fnType(dart.void, [core.String, core.int, core.int, core.bool]), + close: dart.fnType(dart.void, []) +})); +dart.setLibraryUri(convert._StringAdapterSink, I[31]); +dart.setFieldSignature(convert._StringAdapterSink, () => ({ + __proto__: dart.getFields(convert._StringAdapterSink.__proto__), + [_sink$0]: dart.finalFieldType(core.Sink$(core.String)) +})); +convert._Utf8StringSinkAdapter = class _Utf8StringSinkAdapter extends convert.ByteConversionSink { + close() { + this[_decoder].flush(this[_stringSink$]); + this[_sink$0].close(); + } + add(chunk) { + T$0.ListOfint().as(chunk); + if (chunk == null) dart.nullFailed(I[86], 271, 22, "chunk"); + this.addSlice(chunk, 0, chunk[$length], false); + } + addSlice(codeUnits, startIndex, endIndex, isLast) { + if (codeUnits == null) dart.nullFailed(I[86], 276, 17, "codeUnits"); + if (startIndex == null) dart.nullFailed(I[86], 276, 32, "startIndex"); + if (endIndex == null) dart.nullFailed(I[86], 276, 48, "endIndex"); + if (isLast == null) dart.nullFailed(I[86], 276, 63, "isLast"); + this[_stringSink$].write(this[_decoder].convertChunked(codeUnits, startIndex, endIndex)); + if (dart.test(isLast)) this.close(); + } +}; +(convert._Utf8StringSinkAdapter.new = function(_sink, _stringSink, allowMalformed) { + if (_sink == null) dart.nullFailed(I[86], 263, 31, "_sink"); + if (_stringSink == null) dart.nullFailed(I[86], 263, 43, "_stringSink"); + if (allowMalformed == null) dart.nullFailed(I[86], 263, 61, "allowMalformed"); + this[_sink$0] = _sink; + this[_stringSink$] = _stringSink; + this[_decoder] = new convert._Utf8Decoder.new(allowMalformed); + convert._Utf8StringSinkAdapter.__proto__.new.call(this); + ; +}).prototype = convert._Utf8StringSinkAdapter.prototype; +dart.addTypeTests(convert._Utf8StringSinkAdapter); +dart.addTypeCaches(convert._Utf8StringSinkAdapter); +dart.setMethodSignature(convert._Utf8StringSinkAdapter, () => ({ + __proto__: dart.getMethods(convert._Utf8StringSinkAdapter.__proto__), + close: dart.fnType(dart.void, []), + add: dart.fnType(dart.void, [dart.nullable(core.Object)]), + addSlice: dart.fnType(dart.void, [core.List$(core.int), core.int, core.int, core.bool]) +})); +dart.setLibraryUri(convert._Utf8StringSinkAdapter, I[31]); +dart.setFieldSignature(convert._Utf8StringSinkAdapter, () => ({ + __proto__: dart.getFields(convert._Utf8StringSinkAdapter.__proto__), + [_decoder]: dart.finalFieldType(convert._Utf8Decoder), + [_sink$0]: dart.finalFieldType(core.Sink$(dart.nullable(core.Object))), + [_stringSink$]: dart.finalFieldType(core.StringSink) +})); +convert._Utf8ConversionSink = class _Utf8ConversionSink extends convert.ByteConversionSink { + close() { + this[_decoder].flush(this[_buffer$]); + if (dart.test(this[_buffer$].isNotEmpty)) { + let accumulated = dart.toString(this[_buffer$]); + this[_buffer$].clear(); + this[_chunkedSink$].addSlice(accumulated, 0, accumulated.length, true); + } else { + this[_chunkedSink$].close(); + } + } + add(chunk) { + T$0.ListOfint().as(chunk); + if (chunk == null) dart.nullFailed(I[86], 309, 22, "chunk"); + this.addSlice(chunk, 0, chunk[$length], false); + } + addSlice(chunk, startIndex, endIndex, isLast) { + if (chunk == null) dart.nullFailed(I[86], 313, 27, "chunk"); + if (startIndex == null) dart.nullFailed(I[86], 313, 38, "startIndex"); + if (endIndex == null) dart.nullFailed(I[86], 313, 54, "endIndex"); + if (isLast == null) dart.nullFailed(I[86], 313, 69, "isLast"); + this[_buffer$].write(this[_decoder].convertChunked(chunk, startIndex, endIndex)); + if (dart.test(this[_buffer$].isNotEmpty)) { + let accumulated = dart.toString(this[_buffer$]); + this[_chunkedSink$].addSlice(accumulated, 0, accumulated.length, isLast); + this[_buffer$].clear(); + return; + } + if (dart.test(isLast)) this.close(); + } +}; +(convert._Utf8ConversionSink.new = function(sink, allowMalformed) { + if (sink == null) dart.nullFailed(I[86], 290, 44, "sink"); + if (allowMalformed == null) dart.nullFailed(I[86], 290, 55, "allowMalformed"); + convert._Utf8ConversionSink.__.call(this, sink, new core.StringBuffer.new(), allowMalformed); +}).prototype = convert._Utf8ConversionSink.prototype; +(convert._Utf8ConversionSink.__ = function(_chunkedSink, stringBuffer, allowMalformed) { + if (_chunkedSink == null) dart.nullFailed(I[86], 294, 12, "_chunkedSink"); + if (stringBuffer == null) dart.nullFailed(I[86], 294, 39, "stringBuffer"); + if (allowMalformed == null) dart.nullFailed(I[86], 294, 58, "allowMalformed"); + this[_chunkedSink$] = _chunkedSink; + this[_decoder] = new convert._Utf8Decoder.new(allowMalformed); + this[_buffer$] = stringBuffer; + convert._Utf8ConversionSink.__proto__.new.call(this); + ; +}).prototype = convert._Utf8ConversionSink.prototype; +dart.addTypeTests(convert._Utf8ConversionSink); +dart.addTypeCaches(convert._Utf8ConversionSink); +dart.setMethodSignature(convert._Utf8ConversionSink, () => ({ + __proto__: dart.getMethods(convert._Utf8ConversionSink.__proto__), + close: dart.fnType(dart.void, []), + add: dart.fnType(dart.void, [dart.nullable(core.Object)]), + addSlice: dart.fnType(dart.void, [core.List$(core.int), core.int, core.int, core.bool]) +})); +dart.setLibraryUri(convert._Utf8ConversionSink, I[31]); +dart.setFieldSignature(convert._Utf8ConversionSink, () => ({ + __proto__: dart.getFields(convert._Utf8ConversionSink.__proto__), + [_decoder]: dart.finalFieldType(convert._Utf8Decoder), + [_chunkedSink$]: dart.finalFieldType(convert.StringConversionSink), + [_buffer$]: dart.finalFieldType(core.StringBuffer) +})); +var _allowMalformed = dart.privateName(convert, "Utf8Codec._allowMalformed"); +var _allowMalformed$ = dart.privateName(convert, "_allowMalformed"); +var Utf8Decoder__allowMalformed = dart.privateName(convert, "Utf8Decoder._allowMalformed"); +convert.Utf8Codec = class Utf8Codec extends convert.Encoding { + get [_allowMalformed$]() { + return this[_allowMalformed]; + } + set [_allowMalformed$](value) { + super[_allowMalformed$] = value; + } + get name() { + return "utf-8"; + } + decode(codeUnits, opts) { + let t174; + T$0.ListOfint().as(codeUnits); + if (codeUnits == null) dart.nullFailed(I[98], 58, 27, "codeUnits"); + let allowMalformed = opts && 'allowMalformed' in opts ? opts.allowMalformed : null; + let decoder = dart.test((t174 = allowMalformed, t174 == null ? this[_allowMalformed$] : t174)) ? C[99] || CT.C99 : C[100] || CT.C100; + return decoder.convert(codeUnits); + } + get encoder() { + return C[101] || CT.C101; + } + get decoder() { + return dart.test(this[_allowMalformed$]) ? C[99] || CT.C99 : C[100] || CT.C100; + } +}; +(convert.Utf8Codec.new = function(opts) { + let allowMalformed = opts && 'allowMalformed' in opts ? opts.allowMalformed : false; + if (allowMalformed == null) dart.nullFailed(I[98], 40, 25, "allowMalformed"); + this[_allowMalformed] = allowMalformed; + convert.Utf8Codec.__proto__.new.call(this); + ; +}).prototype = convert.Utf8Codec.prototype; +dart.addTypeTests(convert.Utf8Codec); +dart.addTypeCaches(convert.Utf8Codec); +dart.setMethodSignature(convert.Utf8Codec, () => ({ + __proto__: dart.getMethods(convert.Utf8Codec.__proto__), + decode: dart.fnType(core.String, [dart.nullable(core.Object)], {allowMalformed: dart.nullable(core.bool)}, {}) +})); +dart.setGetterSignature(convert.Utf8Codec, () => ({ + __proto__: dart.getGetters(convert.Utf8Codec.__proto__), + name: core.String, + encoder: convert.Utf8Encoder, + decoder: convert.Utf8Decoder +})); +dart.setLibraryUri(convert.Utf8Codec, I[31]); +dart.setFieldSignature(convert.Utf8Codec, () => ({ + __proto__: dart.getFields(convert.Utf8Codec.__proto__), + [_allowMalformed$]: dart.finalFieldType(core.bool) +})); +var _fillBuffer = dart.privateName(convert, "_fillBuffer"); +var _writeReplacementCharacter = dart.privateName(convert, "_writeReplacementCharacter"); +convert.Utf8Encoder = class Utf8Encoder extends convert.Converter$(core.String, core.List$(core.int)) { + convert(string, start = 0, end = null) { + core.String.as(string); + if (string == null) dart.nullFailed(I[98], 88, 28, "string"); + if (start == null) dart.nullFailed(I[98], 88, 41, "start"); + let stringLength = string.length; + end = core.RangeError.checkValidRange(start, end, stringLength); + if (end == null) { + dart.throw(new core.RangeError.new("Invalid range")); + } + let length = dart.notNull(end) - dart.notNull(start); + if (length === 0) return _native_typed_data.NativeUint8List.new(0); + let encoder = new convert._Utf8Encoder.withBufferSize(length * 3); + let endPosition = encoder[_fillBuffer](string, start, end); + if (!(dart.notNull(endPosition) >= dart.notNull(end) - 1)) dart.assertFailed(null, I[98], 101, 12, "endPosition >= end - 1"); + if (endPosition != end) { + let lastCodeUnit = string[$codeUnitAt](dart.notNull(end) - 1); + if (!dart.test(convert._isLeadSurrogate(lastCodeUnit))) dart.assertFailed(null, I[98], 107, 14, "_isLeadSurrogate(lastCodeUnit)"); + encoder[_writeReplacementCharacter](); + } + return encoder[_buffer$][$sublist](0, encoder[_bufferIndex]); + } + startChunkedConversion(sink) { + T$0.SinkOfListOfint().as(sink); + if (sink == null) dart.nullFailed(I[98], 118, 63, "sink"); + return new convert._Utf8EncoderSink.new(convert.ByteConversionSink.is(sink) ? sink : new convert._ByteAdapterSink.new(sink)); + } + bind(stream) { + T$0.StreamOfString().as(stream); + if (stream == null) dart.nullFailed(I[98], 124, 41, "stream"); + return super.bind(stream); + } +}; +(convert.Utf8Encoder.new = function() { + convert.Utf8Encoder.__proto__.new.call(this); + ; +}).prototype = convert.Utf8Encoder.prototype; +dart.addTypeTests(convert.Utf8Encoder); +dart.addTypeCaches(convert.Utf8Encoder); +dart.setMethodSignature(convert.Utf8Encoder, () => ({ + __proto__: dart.getMethods(convert.Utf8Encoder.__proto__), + convert: dart.fnType(typed_data.Uint8List, [dart.nullable(core.Object)], [core.int, dart.nullable(core.int)]), + startChunkedConversion: dart.fnType(convert.StringConversionSink, [dart.nullable(core.Object)]) +})); +dart.setLibraryUri(convert.Utf8Encoder, I[31]); +var _writeSurrogate = dart.privateName(convert, "_writeSurrogate"); +convert._Utf8Encoder = class _Utf8Encoder extends core.Object { + static _createBuffer(size) { + if (size == null) dart.nullFailed(I[98], 142, 38, "size"); + return _native_typed_data.NativeUint8List.new(size); + } + [_writeReplacementCharacter]() { + let t174, t174$, t174$0; + this[_buffer$][$_set]((t174 = this[_bufferIndex], this[_bufferIndex] = dart.notNull(t174) + 1, t174), 239); + this[_buffer$][$_set]((t174$ = this[_bufferIndex], this[_bufferIndex] = dart.notNull(t174$) + 1, t174$), 191); + this[_buffer$][$_set]((t174$0 = this[_bufferIndex], this[_bufferIndex] = dart.notNull(t174$0) + 1, t174$0), 189); + } + [_writeSurrogate](leadingSurrogate, nextCodeUnit) { + let t174, t174$, t174$0, t174$1; + if (leadingSurrogate == null) dart.nullFailed(I[98], 160, 28, "leadingSurrogate"); + if (nextCodeUnit == null) dart.nullFailed(I[98], 160, 50, "nextCodeUnit"); + if (dart.test(convert._isTailSurrogate(nextCodeUnit))) { + let rune = convert._combineSurrogatePair(leadingSurrogate, nextCodeUnit); + if (!(dart.notNull(rune) > 65535)) dart.assertFailed(null, I[98], 165, 14, "rune > _THREE_BYTE_LIMIT"); + if (!(dart.notNull(rune) <= 1114111)) dart.assertFailed(null, I[98], 166, 14, "rune <= _FOUR_BYTE_LIMIT"); + this[_buffer$][$_set]((t174 = this[_bufferIndex], this[_bufferIndex] = dart.notNull(t174) + 1, t174), (240 | rune[$rightShift](18)) >>> 0); + this[_buffer$][$_set]((t174$ = this[_bufferIndex], this[_bufferIndex] = dart.notNull(t174$) + 1, t174$), 128 | dart.notNull(rune) >> 12 & 63); + this[_buffer$][$_set]((t174$0 = this[_bufferIndex], this[_bufferIndex] = dart.notNull(t174$0) + 1, t174$0), 128 | dart.notNull(rune) >> 6 & 63); + this[_buffer$][$_set]((t174$1 = this[_bufferIndex], this[_bufferIndex] = dart.notNull(t174$1) + 1, t174$1), 128 | dart.notNull(rune) & 63); + return true; + } else { + this[_writeReplacementCharacter](); + return false; + } + } + [_fillBuffer](str, start, end) { + let t175, t175$, t175$0, t175$1, t175$2, t175$3; + if (str == null) dart.nullFailed(I[98], 186, 26, "str"); + if (start == null) dart.nullFailed(I[98], 186, 35, "start"); + if (end == null) dart.nullFailed(I[98], 186, 46, "end"); + if (start != end && dart.test(convert._isLeadSurrogate(str[$codeUnitAt](dart.notNull(end) - 1)))) { + end = dart.notNull(end) - 1; + } + let stringIndex = null; + for (let t174 = stringIndex = start; dart.notNull(stringIndex) < dart.notNull(end); stringIndex = dart.notNull(stringIndex) + 1) { + let codeUnit = str[$codeUnitAt](stringIndex); + if (codeUnit <= 127) { + if (dart.notNull(this[_bufferIndex]) >= dart.notNull(this[_buffer$][$length])) break; + this[_buffer$][$_set]((t175 = this[_bufferIndex], this[_bufferIndex] = dart.notNull(t175) + 1, t175), codeUnit); + } else if (dart.test(convert._isLeadSurrogate(codeUnit))) { + if (dart.notNull(this[_bufferIndex]) + 4 > dart.notNull(this[_buffer$][$length])) break; + let nextCodeUnit = str[$codeUnitAt](dart.notNull(stringIndex) + 1); + let wasCombined = this[_writeSurrogate](codeUnit, nextCodeUnit); + if (dart.test(wasCombined)) stringIndex = dart.notNull(stringIndex) + 1; + } else if (dart.test(convert._isTailSurrogate(codeUnit))) { + if (dart.notNull(this[_bufferIndex]) + 3 > dart.notNull(this[_buffer$][$length])) break; + this[_writeReplacementCharacter](); + } else { + let rune = codeUnit; + if (rune <= 2047) { + if (dart.notNull(this[_bufferIndex]) + 1 >= dart.notNull(this[_buffer$][$length])) break; + this[_buffer$][$_set]((t175$ = this[_bufferIndex], this[_bufferIndex] = dart.notNull(t175$) + 1, t175$), (192 | rune[$rightShift](6)) >>> 0); + this[_buffer$][$_set]((t175$0 = this[_bufferIndex], this[_bufferIndex] = dart.notNull(t175$0) + 1, t175$0), 128 | rune & 63); + } else { + if (!(rune <= 65535)) dart.assertFailed(null, I[98], 217, 18, "rune <= _THREE_BYTE_LIMIT"); + if (dart.notNull(this[_bufferIndex]) + 2 >= dart.notNull(this[_buffer$][$length])) break; + this[_buffer$][$_set]((t175$1 = this[_bufferIndex], this[_bufferIndex] = dart.notNull(t175$1) + 1, t175$1), (224 | rune[$rightShift](12)) >>> 0); + this[_buffer$][$_set]((t175$2 = this[_bufferIndex], this[_bufferIndex] = dart.notNull(t175$2) + 1, t175$2), 128 | rune >> 6 & 63); + this[_buffer$][$_set]((t175$3 = this[_bufferIndex], this[_bufferIndex] = dart.notNull(t175$3) + 1, t175$3), 128 | rune & 63); + } + } + } + return stringIndex; + } +}; +(convert._Utf8Encoder.new = function() { + convert._Utf8Encoder.withBufferSize.call(this, 1024); +}).prototype = convert._Utf8Encoder.prototype; +(convert._Utf8Encoder.withBufferSize = function(bufferSize) { + if (bufferSize == null) dart.nullFailed(I[98], 138, 35, "bufferSize"); + this[_carry] = 0; + this[_bufferIndex] = 0; + this[_buffer$] = convert._Utf8Encoder._createBuffer(bufferSize); + ; +}).prototype = convert._Utf8Encoder.prototype; +dart.addTypeTests(convert._Utf8Encoder); +dart.addTypeCaches(convert._Utf8Encoder); +dart.setMethodSignature(convert._Utf8Encoder, () => ({ + __proto__: dart.getMethods(convert._Utf8Encoder.__proto__), + [_writeReplacementCharacter]: dart.fnType(dart.void, []), + [_writeSurrogate]: dart.fnType(core.bool, [core.int, core.int]), + [_fillBuffer]: dart.fnType(core.int, [core.String, core.int, core.int]) +})); +dart.setLibraryUri(convert._Utf8Encoder, I[31]); +dart.setFieldSignature(convert._Utf8Encoder, () => ({ + __proto__: dart.getFields(convert._Utf8Encoder.__proto__), + [_carry]: dart.fieldType(core.int), + [_bufferIndex]: dart.fieldType(core.int), + [_buffer$]: dart.finalFieldType(typed_data.Uint8List) +})); +dart.defineLazy(convert._Utf8Encoder, { + /*convert._Utf8Encoder._DEFAULT_BYTE_BUFFER_SIZE*/get _DEFAULT_BYTE_BUFFER_SIZE() { + return 1024; + } +}, false); +const _Utf8Encoder_StringConversionSinkMixin$36 = class _Utf8Encoder_StringConversionSinkMixin extends convert._Utf8Encoder {}; +(_Utf8Encoder_StringConversionSinkMixin$36.new = function() { + _Utf8Encoder_StringConversionSinkMixin$36.__proto__.new.call(this); +}).prototype = _Utf8Encoder_StringConversionSinkMixin$36.prototype; +(_Utf8Encoder_StringConversionSinkMixin$36.withBufferSize = function(bufferSize) { + _Utf8Encoder_StringConversionSinkMixin$36.__proto__.withBufferSize.call(this, bufferSize); +}).prototype = _Utf8Encoder_StringConversionSinkMixin$36.prototype; +dart.applyMixin(_Utf8Encoder_StringConversionSinkMixin$36, convert.StringConversionSinkMixin); +convert._Utf8EncoderSink = class _Utf8EncoderSink extends _Utf8Encoder_StringConversionSinkMixin$36 { + close() { + if (this[_carry] !== 0) { + this.addSlice("", 0, 0, true); + return; + } + this[_sink$0].close(); + } + addSlice(str, start, end, isLast) { + if (str == null) dart.nullFailed(I[98], 245, 24, "str"); + if (start == null) dart.nullFailed(I[98], 245, 33, "start"); + if (end == null) dart.nullFailed(I[98], 245, 44, "end"); + if (isLast == null) dart.nullFailed(I[98], 245, 54, "isLast"); + this[_bufferIndex] = 0; + if (start == end && !dart.test(isLast)) { + return; + } + if (this[_carry] !== 0) { + let nextCodeUnit = 0; + if (start != end) { + nextCodeUnit = str[$codeUnitAt](start); + } else { + if (!dart.test(isLast)) dart.assertFailed(null, I[98], 257, 16, "isLast"); + } + let wasCombined = this[_writeSurrogate](this[_carry], nextCodeUnit); + if (!(!dart.test(wasCombined) || start != end)) dart.assertFailed(null, I[98], 261, 14, "!wasCombined || start != end"); + if (dart.test(wasCombined)) start = dart.notNull(start) + 1; + this[_carry] = 0; + } + do { + start = this[_fillBuffer](str, start, end); + let isLastSlice = dart.test(isLast) && start == end; + if (start === dart.notNull(end) - 1 && dart.test(convert._isLeadSurrogate(str[$codeUnitAt](start)))) { + if (dart.test(isLast) && dart.notNull(this[_bufferIndex]) < dart.notNull(this[_buffer$][$length]) - 3) { + this[_writeReplacementCharacter](); + } else { + this[_carry] = str[$codeUnitAt](start); + } + start = dart.notNull(start) + 1; + } + this[_sink$0].addSlice(this[_buffer$], 0, this[_bufferIndex], isLastSlice); + this[_bufferIndex] = 0; + } while (dart.notNull(start) < dart.notNull(end)); + if (dart.test(isLast)) this.close(); + } +}; +(convert._Utf8EncoderSink.new = function(_sink) { + if (_sink == null) dart.nullFailed(I[98], 234, 25, "_sink"); + this[_sink$0] = _sink; + convert._Utf8EncoderSink.__proto__.new.call(this); + ; +}).prototype = convert._Utf8EncoderSink.prototype; +dart.addTypeTests(convert._Utf8EncoderSink); +dart.addTypeCaches(convert._Utf8EncoderSink); +dart.setMethodSignature(convert._Utf8EncoderSink, () => ({ + __proto__: dart.getMethods(convert._Utf8EncoderSink.__proto__), + close: dart.fnType(dart.void, []), + addSlice: dart.fnType(dart.void, [core.String, core.int, core.int, core.bool]) +})); +dart.setLibraryUri(convert._Utf8EncoderSink, I[31]); +dart.setFieldSignature(convert._Utf8EncoderSink, () => ({ + __proto__: dart.getFields(convert._Utf8EncoderSink.__proto__), + [_sink$0]: dart.finalFieldType(convert.ByteConversionSink) +})); +const _allowMalformed$0 = Utf8Decoder__allowMalformed; +convert.Utf8Decoder = class Utf8Decoder extends convert.Converter$(core.List$(core.int), core.String) { + get [_allowMalformed$]() { + return this[_allowMalformed$0]; + } + set [_allowMalformed$](value) { + super[_allowMalformed$] = value; + } + static _convertInterceptedUint8List(allowMalformed, codeUnits, start, end) { + if (allowMalformed == null) dart.nullFailed(I[85], 433, 12, "allowMalformed"); + if (codeUnits == null) dart.nullFailed(I[85], 433, 44, "codeUnits"); + if (start == null) dart.nullFailed(I[85], 433, 59, "start"); + if (end == null) dart.nullFailed(I[85], 433, 70, "end"); + let decoder = dart.test(allowMalformed) ? convert.Utf8Decoder._decoderNonfatal : convert.Utf8Decoder._decoder; + if (decoder == null) return null; + if (0 === start && end == codeUnits[$length]) { + return convert.Utf8Decoder._useTextDecoder(decoder, codeUnits); + } + let length = codeUnits[$length]; + end = core.RangeError.checkValidRange(start, end, length); + return convert.Utf8Decoder._useTextDecoder(decoder, codeUnits.subarray(start, end)); + } + static _useTextDecoder(decoder, codeUnits) { + if (codeUnits == null) dart.nullFailed(I[85], 447, 59, "codeUnits"); + try { + return decoder.decode(codeUnits); + } catch (e$) { + let e = dart.getThrown(e$); + if (core.Object.is(e)) { + } else + throw e$; + } + return null; + } + convert(codeUnits, start = 0, end = null) { + T$0.ListOfint().as(codeUnits); + if (codeUnits == null) dart.nullFailed(I[98], 314, 28, "codeUnits"); + if (start == null) dart.nullFailed(I[98], 314, 44, "start"); + let result = convert.Utf8Decoder._convertIntercepted(this[_allowMalformed$], codeUnits, start, end); + if (result != null) { + return result; + } + return new convert._Utf8Decoder.new(this[_allowMalformed$]).convertSingle(codeUnits, start, end); + } + startChunkedConversion(sink) { + T$0.SinkOfString().as(sink); + if (sink == null) dart.nullFailed(I[98], 329, 58, "sink"); + let stringSink = null; + if (convert.StringConversionSink.is(sink)) { + stringSink = sink; + } else { + stringSink = new convert._StringAdapterSink.new(sink); + } + return stringSink.asUtf8Sink(this[_allowMalformed$]); + } + bind(stream) { + T$0.StreamOfListOfint().as(stream); + if (stream == null) dart.nullFailed(I[98], 340, 41, "stream"); + return super.bind(stream); + } + fuse(T, next) { + if (next == null) dart.nullFailed(I[85], 398, 56, "next"); + return super.fuse(T, next); + } + static _convertIntercepted(allowMalformed, codeUnits, start, end) { + if (allowMalformed == null) dart.nullFailed(I[85], 405, 12, "allowMalformed"); + if (codeUnits == null) dart.nullFailed(I[85], 405, 38, "codeUnits"); + if (start == null) dart.nullFailed(I[85], 405, 53, "start"); + if (codeUnits instanceof Uint8Array) { + let casted = codeUnits; + end == null ? end = casted[$length] : null; + if (dart.notNull(end) - dart.notNull(start) < 15) { + return null; + } + let result = convert.Utf8Decoder._convertInterceptedUint8List(allowMalformed, casted, start, end); + if (result != null && dart.test(allowMalformed)) { + if (result.indexOf("�") >= 0) { + return null; + } + } + return result; + } + return null; + } +}; +(convert.Utf8Decoder.new = function(opts) { + let allowMalformed = opts && 'allowMalformed' in opts ? opts.allowMalformed : false; + if (allowMalformed == null) dart.nullFailed(I[98], 303, 27, "allowMalformed"); + this[_allowMalformed$0] = allowMalformed; + convert.Utf8Decoder.__proto__.new.call(this); + ; +}).prototype = convert.Utf8Decoder.prototype; +dart.addTypeTests(convert.Utf8Decoder); +dart.addTypeCaches(convert.Utf8Decoder); +dart.setMethodSignature(convert.Utf8Decoder, () => ({ + __proto__: dart.getMethods(convert.Utf8Decoder.__proto__), + convert: dart.fnType(core.String, [dart.nullable(core.Object)], [core.int, dart.nullable(core.int)]), + startChunkedConversion: dart.fnType(convert.ByteConversionSink, [dart.nullable(core.Object)]), + fuse: dart.gFnType(T => [convert.Converter$(core.List$(core.int), T), [convert.Converter$(core.String, T)]], T => [dart.nullable(core.Object)]) +})); +dart.setLibraryUri(convert.Utf8Decoder, I[31]); +dart.setFieldSignature(convert.Utf8Decoder, () => ({ + __proto__: dart.getFields(convert.Utf8Decoder.__proto__), + [_allowMalformed$]: dart.finalFieldType(core.bool) +})); +dart.defineLazy(convert.Utf8Decoder, { + /*convert.Utf8Decoder._shortInputThreshold*/get _shortInputThreshold() { + return 15; + }, + /*convert.Utf8Decoder._decoder*/get _decoder() { + return dart.fn(() => { + try { + return new TextDecoder("utf-8", {fatal: true}); + } catch (e$) { + let e = dart.getThrown(e$); + if (core.Object.is(e)) { + } else + throw e$; + } + return null; + }, T$0.VoidToObjectN())(); + }, + /*convert.Utf8Decoder._decoderNonfatal*/get _decoderNonfatal() { + return dart.fn(() => { + try { + return new TextDecoder("utf-8", {fatal: false}); + } catch (e$) { + let e = dart.getThrown(e$); + if (core.Object.is(e)) { + } else + throw e$; + } + return null; + }, T$0.VoidToObjectN())(); + } +}, false); +var _charOrIndex = dart.privateName(convert, "_charOrIndex"); +var _convertRecursive = dart.privateName(convert, "_convertRecursive"); +convert._Utf8Decoder = class _Utf8Decoder extends core.Object { + static isErrorState(state) { + if (state == null) dart.nullFailed(I[98], 499, 32, "state"); + return (dart.notNull(state) & 1) !== 0; + } + static errorDescription(state) { + if (state == null) dart.nullFailed(I[98], 501, 38, "state"); + switch (state) { + case 65: + { + return "Missing extension byte"; + } + case 67: + { + return "Unexpected extension byte"; + } + case 69: + { + return "Invalid UTF-8 byte"; + } + case 71: + { + return "Overlong encoding"; + } + case 73: + { + return "Out of unicode range"; + } + case 75: + { + return "Encoded surrogate"; + } + case 77: + { + return "Unfinished UTF-8 octet sequence"; + } + default: + { + return ""; + } + } + } + convertSingle(codeUnits, start, maybeEnd) { + if (codeUnits == null) dart.nullFailed(I[85], 479, 34, "codeUnits"); + if (start == null) dart.nullFailed(I[85], 479, 49, "start"); + return this.convertGeneral(codeUnits, start, maybeEnd, true); + } + convertChunked(codeUnits, start, maybeEnd) { + if (codeUnits == null) dart.nullFailed(I[85], 484, 35, "codeUnits"); + if (start == null) dart.nullFailed(I[85], 484, 50, "start"); + return this.convertGeneral(codeUnits, start, maybeEnd, false); + } + convertGeneral(codeUnits, start, maybeEnd, single) { + if (codeUnits == null) dart.nullFailed(I[98], 529, 17, "codeUnits"); + if (start == null) dart.nullFailed(I[98], 529, 32, "start"); + if (single == null) dart.nullFailed(I[98], 529, 59, "single"); + let end = core.RangeError.checkValidRange(start, maybeEnd, codeUnits[$length]); + if (start == end) return ""; + let bytes = null; + let errorOffset = null; + if (typed_data.Uint8List.is(codeUnits)) { + bytes = codeUnits; + errorOffset = 0; + } else { + bytes = convert._Utf8Decoder._makeUint8List(codeUnits, start, end); + errorOffset = start; + end = dart.notNull(end) - dart.notNull(start); + start = 0; + } + let result = this[_convertRecursive](bytes, start, end, single); + if (dart.test(convert._Utf8Decoder.isErrorState(this[_state$0]))) { + let message = convert._Utf8Decoder.errorDescription(this[_state$0]); + this[_state$0] = 0; + dart.throw(new core.FormatException.new(message, codeUnits, dart.notNull(errorOffset) + dart.notNull(this[_charOrIndex]))); + } + return result; + } + [_convertRecursive](bytes, start, end, single) { + if (bytes == null) dart.nullFailed(I[98], 556, 38, "bytes"); + if (start == null) dart.nullFailed(I[98], 556, 49, "start"); + if (end == null) dart.nullFailed(I[98], 556, 60, "end"); + if (single == null) dart.nullFailed(I[98], 556, 70, "single"); + if (dart.notNull(end) - dart.notNull(start) > 1000) { + let mid = ((dart.notNull(start) + dart.notNull(end)) / 2)[$truncate](); + let s1 = this[_convertRecursive](bytes, start, mid, false); + if (dart.test(convert._Utf8Decoder.isErrorState(this[_state$0]))) return s1; + let s2 = this[_convertRecursive](bytes, mid, end, single); + return dart.notNull(s1) + dart.notNull(s2); + } + return this.decodeGeneral(bytes, start, end, single); + } + flush(sink) { + if (sink == null) dart.nullFailed(I[98], 573, 25, "sink"); + let state = this[_state$0]; + this[_state$0] = 0; + if (dart.notNull(state) <= 32) { + return; + } + if (dart.test(this.allowMalformed)) { + sink.writeCharCode(65533); + } else { + dart.throw(new core.FormatException.new(convert._Utf8Decoder.errorDescription(77), null, null)); + } + } + decodeGeneral(bytes, start, end, single) { + let t178, t178$, t178$0, t178$1; + if (bytes == null) dart.nullFailed(I[98], 587, 34, "bytes"); + if (start == null) dart.nullFailed(I[98], 587, 45, "start"); + if (end == null) dart.nullFailed(I[98], 587, 56, "end"); + if (single == null) dart.nullFailed(I[98], 587, 66, "single"); + let typeTable = convert._Utf8Decoder.typeTable; + let transitionTable = convert._Utf8Decoder.transitionTable; + let state = this[_state$0]; + let char = this[_charOrIndex]; + let buffer = new core.StringBuffer.new(); + let i = start; + let byte = bytes[$_get]((t178 = i, i = dart.notNull(t178) + 1, t178)); + L1: + while (true) { + while (true) { + let type = (typeTable[$codeUnitAt](byte) & 31) >>> 0; + char = dart.notNull(state) <= 32 ? (dart.notNull(byte) & (61694)[$rightShift](type)) >>> 0 : (dart.notNull(byte) & 63 | dart.notNull(char) << 6 >>> 0) >>> 0; + state = transitionTable[$codeUnitAt](dart.notNull(state) + type); + if (state === 0) { + buffer.writeCharCode(char); + if (i == end) break L1; + break; + } else if (dart.test(convert._Utf8Decoder.isErrorState(state))) { + if (dart.test(this.allowMalformed)) { + switch (state) { + case 69: + case 67: + { + buffer.writeCharCode(65533); + break; + } + case 65: + { + buffer.writeCharCode(65533); + i = dart.notNull(i) - 1; + break; + } + default: + { + buffer.writeCharCode(65533); + buffer.writeCharCode(65533); + break; + } + } + state = 0; + } else { + this[_state$0] = state; + this[_charOrIndex] = dart.notNull(i) - 1; + return ""; + } + } + if (i == end) break L1; + byte = bytes[$_get]((t178$ = i, i = dart.notNull(t178$) + 1, t178$)); + } + let markStart = i; + byte = bytes[$_get]((t178$0 = i, i = dart.notNull(t178$0) + 1, t178$0)); + if (dart.notNull(byte) < 128) { + let markEnd = end; + while (dart.notNull(i) < dart.notNull(end)) { + byte = bytes[$_get]((t178$1 = i, i = dart.notNull(t178$1) + 1, t178$1)); + if (dart.notNull(byte) >= 128) { + markEnd = dart.notNull(i) - 1; + break; + } + } + if (!(dart.notNull(markStart) < dart.notNull(markEnd))) dart.assertFailed(null, I[98], 652, 16, "markStart < markEnd"); + if (dart.notNull(markEnd) - dart.notNull(markStart) < 20) { + for (let m = markStart; dart.notNull(m) < dart.notNull(markEnd); m = dart.notNull(m) + 1) { + buffer.writeCharCode(bytes[$_get](m)); + } + } else { + buffer.write(core.String.fromCharCodes(bytes, markStart, markEnd)); + } + if (markEnd == end) break; + } + } + if (dart.test(single) && dart.notNull(state) > 32) { + if (dart.test(this.allowMalformed)) { + buffer.writeCharCode(65533); + } else { + this[_state$0] = 77; + this[_charOrIndex] = end; + return ""; + } + } + this[_state$0] = state; + this[_charOrIndex] = char; + return buffer.toString(); + } + static _makeUint8List(codeUnits, start, end) { + if (codeUnits == null) dart.nullFailed(I[98], 679, 45, "codeUnits"); + if (start == null) dart.nullFailed(I[98], 679, 60, "start"); + if (end == null) dart.nullFailed(I[98], 679, 71, "end"); + let length = dart.notNull(end) - dart.notNull(start); + let bytes = _native_typed_data.NativeUint8List.new(length); + for (let i = 0; i < length; i = i + 1) { + let b = codeUnits[$_get](dart.notNull(start) + i); + if ((dart.notNull(b) & ~255 >>> 0) !== 0) { + b = 255; + } + bytes[$_set](i, b); + } + return bytes; + } +}; +(convert._Utf8Decoder.new = function(allowMalformed) { + if (allowMalformed == null) dart.nullFailed(I[85], 476, 21, "allowMalformed"); + this[_charOrIndex] = 0; + this.allowMalformed = allowMalformed; + this[_state$0] = 16; + ; +}).prototype = convert._Utf8Decoder.prototype; +dart.addTypeTests(convert._Utf8Decoder); +dart.addTypeCaches(convert._Utf8Decoder); +dart.setMethodSignature(convert._Utf8Decoder, () => ({ + __proto__: dart.getMethods(convert._Utf8Decoder.__proto__), + convertSingle: dart.fnType(core.String, [core.List$(core.int), core.int, dart.nullable(core.int)]), + convertChunked: dart.fnType(core.String, [core.List$(core.int), core.int, dart.nullable(core.int)]), + convertGeneral: dart.fnType(core.String, [core.List$(core.int), core.int, dart.nullable(core.int), core.bool]), + [_convertRecursive]: dart.fnType(core.String, [typed_data.Uint8List, core.int, core.int, core.bool]), + flush: dart.fnType(dart.void, [core.StringSink]), + decodeGeneral: dart.fnType(core.String, [typed_data.Uint8List, core.int, core.int, core.bool]) +})); +dart.setLibraryUri(convert._Utf8Decoder, I[31]); +dart.setFieldSignature(convert._Utf8Decoder, () => ({ + __proto__: dart.getFields(convert._Utf8Decoder.__proto__), + allowMalformed: dart.finalFieldType(core.bool), + [_state$0]: dart.fieldType(core.int), + [_charOrIndex]: dart.fieldType(core.int) +})); +dart.defineLazy(convert._Utf8Decoder, { + /*convert._Utf8Decoder.typeMask*/get typeMask() { + return 31; + }, + /*convert._Utf8Decoder.shiftedByteMask*/get shiftedByteMask() { + return 61694; + }, + /*convert._Utf8Decoder.typeTable*/get typeTable() { + return "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFFFFFFFFFFFFFFFFGGGGGGGGGGGGGGGGHHHHHHHHHHHHHHHHHHHHHHHHHHHIHHHJEEBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBKCCCCCCCCCCCCDCLONNNMEEEEEEEEEEE"; + }, + /*convert._Utf8Decoder.IA*/get IA() { + return 0; + }, + /*convert._Utf8Decoder.BB*/get BB() { + return 16; + }, + /*convert._Utf8Decoder.AB*/get AB() { + return 32; + }, + /*convert._Utf8Decoder.X1*/get X1() { + return 48; + }, + /*convert._Utf8Decoder.X2*/get X2() { + return 58; + }, + /*convert._Utf8Decoder.X3*/get X3() { + return 68; + }, + /*convert._Utf8Decoder.TO*/get TO() { + return 78; + }, + /*convert._Utf8Decoder.TS*/get TS() { + return 88; + }, + /*convert._Utf8Decoder.QO*/get QO() { + return 98; + }, + /*convert._Utf8Decoder.QR*/get QR() { + return 108; + }, + /*convert._Utf8Decoder.B1*/get B1() { + return 118; + }, + /*convert._Utf8Decoder.B2*/get B2() { + return 128; + }, + /*convert._Utf8Decoder.E1*/get E1() { + return 65; + }, + /*convert._Utf8Decoder.E2*/get E2() { + return 67; + }, + /*convert._Utf8Decoder.E3*/get E3() { + return 69; + }, + /*convert._Utf8Decoder.E4*/get E4() { + return 71; + }, + /*convert._Utf8Decoder.E5*/get E5() { + return 73; + }, + /*convert._Utf8Decoder.E6*/get E6() { + return 75; + }, + /*convert._Utf8Decoder.E7*/get E7() { + return 77; + }, + /*convert._Utf8Decoder._IA*/get _IA() { + return ""; + }, + /*convert._Utf8Decoder._BB*/get _BB() { + return ""; + }, + /*convert._Utf8Decoder._AB*/get _AB() { + return " "; + }, + /*convert._Utf8Decoder._X1*/get _X1() { + return "0"; + }, + /*convert._Utf8Decoder._X2*/get _X2() { + return ":"; + }, + /*convert._Utf8Decoder._X3*/get _X3() { + return "D"; + }, + /*convert._Utf8Decoder._TO*/get _TO() { + return "N"; + }, + /*convert._Utf8Decoder._TS*/get _TS() { + return "X"; + }, + /*convert._Utf8Decoder._QO*/get _QO() { + return "b"; + }, + /*convert._Utf8Decoder._QR*/get _QR() { + return "l"; + }, + /*convert._Utf8Decoder._B1*/get _B1() { + return "v"; + }, + /*convert._Utf8Decoder._B2*/get _B2() { + return "€"; + }, + /*convert._Utf8Decoder._E1*/get _E1() { + return "A"; + }, + /*convert._Utf8Decoder._E2*/get _E2() { + return "C"; + }, + /*convert._Utf8Decoder._E3*/get _E3() { + return "E"; + }, + /*convert._Utf8Decoder._E4*/get _E4() { + return "G"; + }, + /*convert._Utf8Decoder._E5*/get _E5() { + return "I"; + }, + /*convert._Utf8Decoder._E6*/get _E6() { + return "K"; + }, + /*convert._Utf8Decoder._E7*/get _E7() { + return "M"; + }, + /*convert._Utf8Decoder.transitionTable*/get transitionTable() { + return " 0:XECCCCCN:lDb 0:XECCCCCNvlDb 0:XECCCCCN:lDb AAAAAAAAAA00000AAAAA:::::AAAAAGG000AAAAA00KKKAAAAAG::::AAAAA:IIIIAAAAA000€0AAAAA AAAAA"; + }, + /*convert._Utf8Decoder.initial*/get initial() { + return 0; + }, + /*convert._Utf8Decoder.accept*/get accept() { + return 0; + }, + /*convert._Utf8Decoder.beforeBom*/get beforeBom() { + return 16; + }, + /*convert._Utf8Decoder.afterBom*/get afterBom() { + return 32; + }, + /*convert._Utf8Decoder.errorMissingExtension*/get errorMissingExtension() { + return 65; + }, + /*convert._Utf8Decoder.errorUnexpectedExtension*/get errorUnexpectedExtension() { + return 67; + }, + /*convert._Utf8Decoder.errorInvalid*/get errorInvalid() { + return 69; + }, + /*convert._Utf8Decoder.errorOverlong*/get errorOverlong() { + return 71; + }, + /*convert._Utf8Decoder.errorOutOfRange*/get errorOutOfRange() { + return 73; + }, + /*convert._Utf8Decoder.errorSurrogate*/get errorSurrogate() { + return 75; + }, + /*convert._Utf8Decoder.errorUnfinished*/get errorUnfinished() { + return 77; + } +}, false); +convert._convertJsonToDart = function _convertJsonToDart(json, reviver) { + if (reviver == null) dart.nullFailed(I[85], 54, 26, "reviver"); + function walk(e) { + if (e == null || typeof e != "object") { + return e; + } + if (Object.getPrototypeOf(e) === Array.prototype) { + for (let i = 0; i < e.length; i = i + 1) { + let item = e[i]; + e[i] = reviver(i, walk(item)); + } + return e; + } + let map = new convert._JsonMap.new(e); + let processed = map[_processed]; + let keys = map[_computeKeys](); + for (let i = 0; i < dart.notNull(keys[$length]); i = i + 1) { + let key = keys[$_get](i); + let revived = reviver(key, walk(e[key])); + processed[key] = revived; + } + map[_original$] = processed; + return map; + } + dart.fn(walk, T$.dynamicTodynamic()); + return reviver(null, walk(json)); +}; +convert._convertJsonToDartLazy = function _convertJsonToDartLazy(object) { + if (object == null) return null; + if (typeof object != "object") { + return object; + } + if (Object.getPrototypeOf(object) !== Array.prototype) { + return new convert._JsonMap.new(object); + } + for (let i = 0; i < object.length; i = i + 1) { + let item = object[i]; + object[i] = convert._convertJsonToDartLazy(item); + } + return object; +}; +convert.base64Encode = function base64Encode(bytes) { + if (bytes == null) dart.nullFailed(I[92], 41, 31, "bytes"); + return convert.base64.encode(bytes); +}; +convert.base64UrlEncode = function base64UrlEncode(bytes) { + if (bytes == null) dart.nullFailed(I[92], 46, 34, "bytes"); + return convert.base64Url.encode(bytes); +}; +convert.base64Decode = function base64Decode(source) { + if (source == null) dart.nullFailed(I[92], 52, 31, "source"); + return convert.base64.decode(source); +}; +convert.jsonEncode = function jsonEncode(object, opts) { + let toEncodable = opts && 'toEncodable' in opts ? opts.toEncodable : null; + return convert.json.encode(object, {toEncodable: toEncodable}); +}; +convert.jsonDecode = function jsonDecode(source, opts) { + if (source == null) dart.nullFailed(I[95], 94, 27, "source"); + let reviver = opts && 'reviver' in opts ? opts.reviver : null; + return convert.json.decode(source, {reviver: reviver}); +}; +convert._parseJson = function _parseJson(source, reviver) { + if (source == null) dart.nullFailed(I[85], 31, 19, "source"); + if (!(typeof source == 'string')) dart.throw(_js_helper.argumentErrorValue(source)); + let parsed = null; + try { + parsed = JSON.parse(source); + } catch (e$) { + let e = dart.getThrown(e$); + if (core.Object.is(e)) { + dart.throw(new core.FormatException.new(String(e))); + } else + throw e$; + } + if (reviver == null) { + return convert._convertJsonToDartLazy(parsed); + } else { + return convert._convertJsonToDart(parsed, reviver); + } +}; +convert._defaultToEncodable = function _defaultToEncodable(object) { + return dart.dsend(object, 'toJson', []); +}; +convert._isLeadSurrogate = function _isLeadSurrogate(codeUnit) { + if (codeUnit == null) dart.nullFailed(I[98], 360, 27, "codeUnit"); + return (dart.notNull(codeUnit) & 64512) >>> 0 === 55296; +}; +convert._isTailSurrogate = function _isTailSurrogate(codeUnit) { + if (codeUnit == null) dart.nullFailed(I[98], 362, 27, "codeUnit"); + return (dart.notNull(codeUnit) & 64512) >>> 0 === 56320; +}; +convert._combineSurrogatePair = function _combineSurrogatePair(lead, tail) { + if (lead == null) dart.nullFailed(I[98], 364, 31, "lead"); + if (tail == null) dart.nullFailed(I[98], 364, 41, "tail"); + return (65536 + ((dart.notNull(lead) & 1023) >>> 0 << 10 >>> 0) | (dart.notNull(tail) & 1023) >>> 0) >>> 0; +}; +dart.defineLazy(convert, { + /*convert.ascii*/get ascii() { + return C[102] || CT.C102; + }, + /*convert._asciiMask*/get _asciiMask() { + return 127; + }, + /*convert.base64*/get base64() { + return C[103] || CT.C103; + }, + /*convert.base64Url*/get base64Url() { + return C[104] || CT.C104; + }, + /*convert._paddingChar*/get _paddingChar() { + return 61; + }, + /*convert.htmlEscape*/get htmlEscape() { + return C[105] || CT.C105; + }, + /*convert.json*/get json() { + return C[106] || CT.C106; + }, + /*convert.latin1*/get latin1() { + return C[107] || CT.C107; + }, + /*convert._latin1Mask*/get _latin1Mask() { + return 255; + }, + /*convert._LF*/get _LF() { + return 10; + }, + /*convert._CR*/get _CR() { + return 13; + }, + /*convert.unicodeReplacementCharacterRune*/get unicodeReplacementCharacterRune() { + return 65533; + }, + /*convert.unicodeBomCharacterRune*/get unicodeBomCharacterRune() { + return 65279; + }, + /*convert.utf8*/get utf8() { + return C[108] || CT.C108; + }, + /*convert._ONE_BYTE_LIMIT*/get _ONE_BYTE_LIMIT() { + return 127; + }, + /*convert._TWO_BYTE_LIMIT*/get _TWO_BYTE_LIMIT() { + return 2047; + }, + /*convert._THREE_BYTE_LIMIT*/get _THREE_BYTE_LIMIT() { + return 65535; + }, + /*convert._FOUR_BYTE_LIMIT*/get _FOUR_BYTE_LIMIT() { + return 1114111; + }, + /*convert._SURROGATE_TAG_MASK*/get _SURROGATE_TAG_MASK() { + return 64512; + }, + /*convert._SURROGATE_VALUE_MASK*/get _SURROGATE_VALUE_MASK() { + return 1023; + }, + /*convert._LEAD_SURROGATE_MIN*/get _LEAD_SURROGATE_MIN() { + return 55296; + }, + /*convert._TAIL_SURROGATE_MIN*/get _TAIL_SURROGATE_MIN() { + return 56320; + } +}, false); +developer._FakeUserTag = class _FakeUserTag extends core.Object { + static new(label) { + let t181, t180, t179; + if (label == null) dart.nullFailed(I[99], 173, 31, "label"); + let existingTag = developer._FakeUserTag._instances[$_get](label); + if (existingTag != null) { + return existingTag; + } + if (developer._FakeUserTag._instances[$length] === 64) { + dart.throw(new core.UnsupportedError.new("UserTag instance limit (" + dart.str(64) + ") reached.")); + } + t179 = developer._FakeUserTag._instances; + t180 = label; + t181 = new developer._FakeUserTag.real(label); + t179[$_set](t180, t181); + return t181; + } + makeCurrent() { + let old = developer._currentTag; + developer._currentTag = this; + return old; + } +}; +(developer._FakeUserTag.real = function(label) { + if (label == null) dart.nullFailed(I[99], 171, 26, "label"); + this.label = label; + ; +}).prototype = developer._FakeUserTag.prototype; +dart.addTypeTests(developer._FakeUserTag); +dart.addTypeCaches(developer._FakeUserTag); +developer._FakeUserTag[dart.implements] = () => [developer.UserTag]; +dart.setMethodSignature(developer._FakeUserTag, () => ({ + __proto__: dart.getMethods(developer._FakeUserTag.__proto__), + makeCurrent: dart.fnType(developer.UserTag, []) +})); +dart.setLibraryUri(developer._FakeUserTag, I[100]); +dart.setFieldSignature(developer._FakeUserTag, () => ({ + __proto__: dart.getFields(developer._FakeUserTag.__proto__), + label: dart.finalFieldType(core.String) +})); +dart.defineLazy(developer._FakeUserTag, { + /*developer._FakeUserTag._instances*/get _instances() { + return new (T$0.IdentityMapOfString$_FakeUserTag()).new(); + }, + /*developer._FakeUserTag._defaultTag*/get _defaultTag() { + return developer._FakeUserTag.new("Default"); + } +}, false); +var result$ = dart.privateName(developer, "ServiceExtensionResponse.result"); +var errorCode$ = dart.privateName(developer, "ServiceExtensionResponse.errorCode"); +var errorDetail$ = dart.privateName(developer, "ServiceExtensionResponse.errorDetail"); +var _toString$ = dart.privateName(developer, "_toString"); +developer.ServiceExtensionResponse = class ServiceExtensionResponse extends core.Object { + get result() { + return this[result$]; + } + set result(value) { + super.result = value; + } + get errorCode() { + return this[errorCode$]; + } + set errorCode(value) { + super.errorCode = value; + } + get errorDetail() { + return this[errorDetail$]; + } + set errorDetail(value) { + super.errorDetail = value; + } + static _errorCodeMessage(errorCode) { + if (errorCode == null) dart.nullFailed(I[101], 76, 39, "errorCode"); + developer.ServiceExtensionResponse._validateErrorCode(errorCode); + if (errorCode === -32602) { + return "Invalid params"; + } + return "Server error"; + } + static _validateErrorCode(errorCode) { + if (errorCode == null) dart.nullFailed(I[101], 84, 33, "errorCode"); + core.ArgumentError.checkNotNull(core.int, errorCode, "errorCode"); + if (errorCode === -32602) return; + if (dart.notNull(errorCode) >= -32016 && dart.notNull(errorCode) <= -32000) { + return; + } + dart.throw(new core.ArgumentError.value(errorCode, "errorCode", "Out of range")); + } + isError() { + return this.errorCode != null && this.errorDetail != null; + } + [_toString$]() { + let t179; + t179 = this.result; + return t179 == null ? convert.json.encode(new (T$.IdentityMapOfString$Object()).from(["code", dart.nullCheck(this.errorCode), "message", developer.ServiceExtensionResponse._errorCodeMessage(dart.nullCheck(this.errorCode)), "data", new (T$.IdentityMapOfString$String()).from(["details", dart.nullCheck(this.errorDetail)])])) : t179; + } +}; +(developer.ServiceExtensionResponse.result = function(result) { + if (result == null) dart.nullFailed(I[101], 25, 42, "result"); + this[result$] = result; + this[errorCode$] = null; + this[errorDetail$] = null; + core.ArgumentError.checkNotNull(core.String, result, "result"); +}).prototype = developer.ServiceExtensionResponse.prototype; +(developer.ServiceExtensionResponse.error = function(errorCode, errorDetail) { + if (errorCode == null) dart.nullFailed(I[101], 39, 38, "errorCode"); + if (errorDetail == null) dart.nullFailed(I[101], 39, 56, "errorDetail"); + this[result$] = null; + this[errorCode$] = errorCode; + this[errorDetail$] = errorDetail; + developer.ServiceExtensionResponse._validateErrorCode(errorCode); + core.ArgumentError.checkNotNull(core.String, errorDetail, "errorDetail"); +}).prototype = developer.ServiceExtensionResponse.prototype; +dart.addTypeTests(developer.ServiceExtensionResponse); +dart.addTypeCaches(developer.ServiceExtensionResponse); +dart.setMethodSignature(developer.ServiceExtensionResponse, () => ({ + __proto__: dart.getMethods(developer.ServiceExtensionResponse.__proto__), + isError: dart.fnType(core.bool, []), + [_toString$]: dart.fnType(core.String, []) +})); +dart.setLibraryUri(developer.ServiceExtensionResponse, I[100]); +dart.setFieldSignature(developer.ServiceExtensionResponse, () => ({ + __proto__: dart.getFields(developer.ServiceExtensionResponse.__proto__), + result: dart.finalFieldType(dart.nullable(core.String)), + errorCode: dart.finalFieldType(dart.nullable(core.int)), + errorDetail: dart.finalFieldType(dart.nullable(core.String)) +})); +dart.defineLazy(developer.ServiceExtensionResponse, { + /*developer.ServiceExtensionResponse.kInvalidParams*/get kInvalidParams() { + return -32602; + }, + /*developer.ServiceExtensionResponse.kExtensionError*/get kExtensionError() { + return -32000; + }, + /*developer.ServiceExtensionResponse.kExtensionErrorMax*/get kExtensionErrorMax() { + return -32000; + }, + /*developer.ServiceExtensionResponse.kExtensionErrorMin*/get kExtensionErrorMin() { + return -32016; + }, + /*developer.ServiceExtensionResponse.invalidParams*/get invalidParams() { + return -32602; + }, + /*developer.ServiceExtensionResponse.extensionError*/get extensionError() { + return -32000; + }, + /*developer.ServiceExtensionResponse.extensionErrorMax*/get extensionErrorMax() { + return -32000; + }, + /*developer.ServiceExtensionResponse.extensionErrorMin*/get extensionErrorMin() { + return -32016; + } +}, false); +developer.UserTag = class UserTag extends core.Object { + static get defaultTag() { + return developer._FakeUserTag._defaultTag; + } +}; +(developer.UserTag[dart.mixinNew] = function() { +}).prototype = developer.UserTag.prototype; +dart.addTypeTests(developer.UserTag); +dart.addTypeCaches(developer.UserTag); +dart.setLibraryUri(developer.UserTag, I[100]); +dart.defineLazy(developer.UserTag, { + /*developer.UserTag.MAX_USER_TAGS*/get MAX_USER_TAGS() { + return 64; + } +}, false); +var name$10 = dart.privateName(developer, "Metric.name"); +var description$ = dart.privateName(developer, "Metric.description"); +developer.Metric = class Metric extends core.Object { + get name() { + return this[name$10]; + } + set name(value) { + super.name = value; + } + get description() { + return this[description$]; + } + set description(value) { + super.description = value; + } +}; +(developer.Metric.new = function(name, description) { + if (name == null) dart.nullFailed(I[102], 39, 15, "name"); + if (description == null) dart.nullFailed(I[102], 39, 26, "description"); + this[name$10] = name; + this[description$] = description; + if (this.name === "vm" || this.name[$contains]("/")) { + dart.throw(new core.ArgumentError.new("Invalid Metric name.")); + } +}).prototype = developer.Metric.prototype; +dart.addTypeTests(developer.Metric); +dart.addTypeCaches(developer.Metric); +dart.setLibraryUri(developer.Metric, I[100]); +dart.setFieldSignature(developer.Metric, () => ({ + __proto__: dart.getFields(developer.Metric.__proto__), + name: dart.finalFieldType(core.String), + description: dart.finalFieldType(core.String) +})); +var min$ = dart.privateName(developer, "Gauge.min"); +var max$ = dart.privateName(developer, "Gauge.max"); +var _value = dart.privateName(developer, "_value"); +var _toJSON = dart.privateName(developer, "_toJSON"); +developer.Gauge = class Gauge extends developer.Metric { + get min() { + return this[min$]; + } + set min(value) { + super.min = value; + } + get max() { + return this[max$]; + } + set max(value) { + super.max = value; + } + get value() { + return this[_value]; + } + set value(v) { + if (v == null) dart.nullFailed(I[102], 56, 20, "v"); + if (dart.notNull(v) < dart.notNull(this.min)) { + v = this.min; + } else if (dart.notNull(v) > dart.notNull(this.max)) { + v = this.max; + } + this[_value] = v; + } + [_toJSON]() { + let map = new (T$.IdentityMapOfString$Object()).from(["type", "Gauge", "id", "metrics/" + dart.str(this.name), "name", this.name, "description", this.description, "value", this.value, "min", this.min, "max", this.max]); + return map; + } +}; +(developer.Gauge.new = function(name, description, min, max) { + if (name == null) dart.nullFailed(I[102], 65, 16, "name"); + if (description == null) dart.nullFailed(I[102], 65, 29, "description"); + if (min == null) dart.nullFailed(I[102], 65, 47, "min"); + if (max == null) dart.nullFailed(I[102], 65, 57, "max"); + this[min$] = min; + this[max$] = max; + this[_value] = min; + developer.Gauge.__proto__.new.call(this, name, description); + core.ArgumentError.checkNotNull(core.double, this.min, "min"); + core.ArgumentError.checkNotNull(core.double, this.max, "max"); + if (!(dart.notNull(this.min) < dart.notNull(this.max))) dart.throw(new core.ArgumentError.new("min must be less than max")); +}).prototype = developer.Gauge.prototype; +dart.addTypeTests(developer.Gauge); +dart.addTypeCaches(developer.Gauge); +dart.setMethodSignature(developer.Gauge, () => ({ + __proto__: dart.getMethods(developer.Gauge.__proto__), + [_toJSON]: dart.fnType(core.Map, []) +})); +dart.setGetterSignature(developer.Gauge, () => ({ + __proto__: dart.getGetters(developer.Gauge.__proto__), + value: core.double +})); +dart.setSetterSignature(developer.Gauge, () => ({ + __proto__: dart.getSetters(developer.Gauge.__proto__), + value: core.double +})); +dart.setLibraryUri(developer.Gauge, I[100]); +dart.setFieldSignature(developer.Gauge, () => ({ + __proto__: dart.getFields(developer.Gauge.__proto__), + min: dart.finalFieldType(core.double), + max: dart.finalFieldType(core.double), + [_value]: dart.fieldType(core.double) +})); +developer.Counter = class Counter extends developer.Metric { + get value() { + return this[_value]; + } + set value(v) { + if (v == null) dart.nullFailed(I[102], 94, 20, "v"); + this[_value] = v; + } + [_toJSON]() { + let map = new (T$.IdentityMapOfString$Object()).from(["type", "Counter", "id", "metrics/" + dart.str(this.name), "name", this.name, "description", this.description, "value", this.value]); + return map; + } +}; +(developer.Counter.new = function(name, description) { + if (name == null) dart.nullFailed(I[102], 90, 18, "name"); + if (description == null) dart.nullFailed(I[102], 90, 31, "description"); + this[_value] = 0.0; + developer.Counter.__proto__.new.call(this, name, description); + ; +}).prototype = developer.Counter.prototype; +dart.addTypeTests(developer.Counter); +dart.addTypeCaches(developer.Counter); +dart.setMethodSignature(developer.Counter, () => ({ + __proto__: dart.getMethods(developer.Counter.__proto__), + [_toJSON]: dart.fnType(core.Map, []) +})); +dart.setGetterSignature(developer.Counter, () => ({ + __proto__: dart.getGetters(developer.Counter.__proto__), + value: core.double +})); +dart.setSetterSignature(developer.Counter, () => ({ + __proto__: dart.getSetters(developer.Counter.__proto__), + value: core.double +})); +dart.setLibraryUri(developer.Counter, I[100]); +dart.setFieldSignature(developer.Counter, () => ({ + __proto__: dart.getFields(developer.Counter.__proto__), + [_value]: dart.fieldType(core.double) +})); +developer.Metrics = class Metrics extends core.Object { + static register(metric) { + if (metric == null) dart.nullFailed(I[102], 114, 31, "metric"); + core.ArgumentError.checkNotNull(developer.Metric, metric, "metric"); + if (developer.Metrics._metrics[$_get](metric.name) != null) { + dart.throw(new core.ArgumentError.new("Registered metrics have unique names")); + } + developer.Metrics._metrics[$_set](metric.name, metric); + } + static deregister(metric) { + if (metric == null) dart.nullFailed(I[102], 124, 33, "metric"); + core.ArgumentError.checkNotNull(developer.Metric, metric, "metric"); + developer.Metrics._metrics[$remove](metric.name); + } + static _printMetric(id) { + if (id == null) dart.nullFailed(I[102], 132, 38, "id"); + let metric = developer.Metrics._metrics[$_get](id); + if (metric == null) { + return null; + } + return convert.json.encode(metric[_toJSON]()); + } + static _printMetrics() { + let metrics = []; + for (let metric of developer.Metrics._metrics[$values]) { + metrics[$add](metric[_toJSON]()); + } + let map = new (T$.IdentityMapOfString$Object()).from(["type", "MetricList", "metrics", metrics]); + return convert.json.encode(map); + } +}; +(developer.Metrics.new = function() { + ; +}).prototype = developer.Metrics.prototype; +dart.addTypeTests(developer.Metrics); +dart.addTypeCaches(developer.Metrics); +dart.setLibraryUri(developer.Metrics, I[100]); +dart.defineLazy(developer.Metrics, { + /*developer.Metrics._metrics*/get _metrics() { + return new (T$0.LinkedMapOfString$Metric()).new(); + } +}, false); +var majorVersion = dart.privateName(developer, "ServiceProtocolInfo.majorVersion"); +var minorVersion = dart.privateName(developer, "ServiceProtocolInfo.minorVersion"); +var serverUri$ = dart.privateName(developer, "ServiceProtocolInfo.serverUri"); +developer.ServiceProtocolInfo = class ServiceProtocolInfo extends core.Object { + get majorVersion() { + return this[majorVersion]; + } + set majorVersion(value) { + super.majorVersion = value; + } + get minorVersion() { + return this[minorVersion]; + } + set minorVersion(value) { + super.minorVersion = value; + } + get serverUri() { + return this[serverUri$]; + } + set serverUri(value) { + super.serverUri = value; + } + toString() { + if (this.serverUri != null) { + return "Dart VM Service Protocol v" + dart.str(this.majorVersion) + "." + dart.str(this.minorVersion) + " " + "listening on " + dart.str(this.serverUri); + } else { + return "Dart VM Service Protocol v" + dart.str(this.majorVersion) + "." + dart.str(this.minorVersion); + } + } +}; +(developer.ServiceProtocolInfo.new = function(serverUri) { + this[majorVersion] = developer._getServiceMajorVersion(); + this[minorVersion] = developer._getServiceMinorVersion(); + this[serverUri$] = serverUri; + ; +}).prototype = developer.ServiceProtocolInfo.prototype; +dart.addTypeTests(developer.ServiceProtocolInfo); +dart.addTypeCaches(developer.ServiceProtocolInfo); +dart.setLibraryUri(developer.ServiceProtocolInfo, I[100]); +dart.setFieldSignature(developer.ServiceProtocolInfo, () => ({ + __proto__: dart.getFields(developer.ServiceProtocolInfo.__proto__), + majorVersion: dart.finalFieldType(core.int), + minorVersion: dart.finalFieldType(core.int), + serverUri: dart.finalFieldType(dart.nullable(core.Uri)) +})); +dart.defineExtensionMethods(developer.ServiceProtocolInfo, ['toString']); +developer.Service = class Service extends core.Object { + static getInfo() { + return async.async(developer.ServiceProtocolInfo, function* getInfo() { + let receivePort = isolate$.RawReceivePort.new(null, "Service.getInfo"); + let uriCompleter = T$0.CompleterOfUriN().new(); + receivePort.handler = dart.fn(uri => uriCompleter.complete(uri), T$0.UriNTovoid()); + developer._getServerInfo(receivePort.sendPort); + let uri = (yield uriCompleter.future); + receivePort.close(); + return new developer.ServiceProtocolInfo.new(uri); + }); + } + static controlWebServer(opts) { + let enable = opts && 'enable' in opts ? opts.enable : false; + if (enable == null) dart.nullFailed(I[103], 62, 13, "enable"); + let silenceOutput = opts && 'silenceOutput' in opts ? opts.silenceOutput : null; + return async.async(developer.ServiceProtocolInfo, function* controlWebServer() { + core.ArgumentError.checkNotNull(core.bool, enable, "enable"); + let receivePort = isolate$.RawReceivePort.new(null, "Service.controlWebServer"); + let uriCompleter = T$0.CompleterOfUri().new(); + receivePort.handler = dart.fn(uri => { + if (uri == null) dart.nullFailed(I[103], 69, 32, "uri"); + return uriCompleter.complete(uri); + }, T$0.UriTovoid()); + developer._webServerControl(receivePort.sendPort, enable, silenceOutput); + let uri = (yield uriCompleter.future); + receivePort.close(); + return new developer.ServiceProtocolInfo.new(uri); + }); + } + static getIsolateID(isolate) { + if (isolate == null) dart.nullFailed(I[103], 83, 39, "isolate"); + core.ArgumentError.checkNotNull(isolate$.Isolate, isolate, "isolate"); + return developer._getIsolateIDFromSendPort(isolate.controlPort); + } +}; +(developer.Service.new = function() { + ; +}).prototype = developer.Service.prototype; +dart.addTypeTests(developer.Service); +dart.addTypeCaches(developer.Service); +dart.setLibraryUri(developer.Service, I[100]); +var id$ = dart.privateName(developer, "Flow.id"); +var _type$0 = dart.privateName(developer, "_type"); +developer.Flow = class Flow extends core.Object { + get id() { + return this[id$]; + } + set id(value) { + super.id = value; + } + static begin(opts) { + let t179; + let id = opts && 'id' in opts ? opts.id : null; + return new developer.Flow.__(9, (t179 = id, t179 == null ? developer._getNextAsyncId() : t179)); + } + static step(id) { + if (id == null) dart.nullFailed(I[104], 68, 24, "id"); + return new developer.Flow.__(10, id); + } + static end(id) { + if (id == null) dart.nullFailed(I[104], 75, 23, "id"); + return new developer.Flow.__(11, id); + } +}; +(developer.Flow.__ = function(_type, id) { + if (_type == null) dart.nullFailed(I[104], 52, 15, "_type"); + if (id == null) dart.nullFailed(I[104], 52, 27, "id"); + this[_type$0] = _type; + this[id$] = id; + ; +}).prototype = developer.Flow.prototype; +dart.addTypeTests(developer.Flow); +dart.addTypeCaches(developer.Flow); +dart.setLibraryUri(developer.Flow, I[100]); +dart.setFieldSignature(developer.Flow, () => ({ + __proto__: dart.getFields(developer.Flow.__proto__), + [_type$0]: dart.finalFieldType(core.int), + id: dart.finalFieldType(core.int) +})); +dart.defineLazy(developer.Flow, { + /*developer.Flow._begin*/get _begin() { + return 9; + }, + /*developer.Flow._step*/get _step() { + return 10; + }, + /*developer.Flow._end*/get _end() { + return 11; + } +}, false); +var _arguments$1 = dart.privateName(developer, "_arguments"); +var _startSync = dart.privateName(developer, "_startSync"); +developer.Timeline = class Timeline extends core.Object { + static startSync(name, opts) { + if (name == null) dart.nullFailed(I[104], 103, 32, "name"); + let $arguments = opts && 'arguments' in opts ? opts.arguments : null; + let flow = opts && 'flow' in opts ? opts.flow : null; + if (!true) return; + core.ArgumentError.checkNotNull(core.String, name, "name"); + if (!dart.test(developer._isDartStreamEnabled())) { + developer.Timeline._stack[$add](null); + return; + } + let block = new developer._SyncBlock.__(name); + if ($arguments != null) { + block[_arguments$1] = $arguments; + } + if (flow != null) { + block.flow = flow; + } + developer.Timeline._stack[$add](block); + block[_startSync](); + } + static finishSync() { + if (!true) { + return; + } + if (developer.Timeline._stack[$length] === 0) { + dart.throw(new core.StateError.new("Uneven calls to startSync and finishSync")); + } + let block = developer.Timeline._stack[$removeLast](); + if (block == null) { + return; + } + block.finish(); + } + static instantSync(name, opts) { + if (name == null) dart.nullFailed(I[104], 142, 34, "name"); + let $arguments = opts && 'arguments' in opts ? opts.arguments : null; + if (!true) return; + core.ArgumentError.checkNotNull(core.String, name, "name"); + if (!dart.test(developer._isDartStreamEnabled())) { + return; + } + let instantArguments = null; + if ($arguments != null) { + instantArguments = collection.LinkedHashMap.from($arguments); + } + developer._reportInstantEvent("Dart", name, developer._argumentsAsJson(instantArguments)); + } + static timeSync(T, name, $function, opts) { + if (name == null) dart.nullFailed(I[104], 159, 31, "name"); + if ($function == null) dart.nullFailed(I[104], 159, 61, "function"); + let $arguments = opts && 'arguments' in opts ? opts.arguments : null; + let flow = opts && 'flow' in opts ? opts.flow : null; + developer.Timeline.startSync(name, {arguments: $arguments, flow: flow}); + try { + return $function(); + } finally { + developer.Timeline.finishSync(); + } + } + static get now() { + return developer._getTraceClock(); + } +}; +(developer.Timeline.new = function() { + ; +}).prototype = developer.Timeline.prototype; +dart.addTypeTests(developer.Timeline); +dart.addTypeCaches(developer.Timeline); +dart.setLibraryUri(developer.Timeline, I[100]); +dart.defineLazy(developer.Timeline, { + /*developer.Timeline._stack*/get _stack() { + return T$0.JSArrayOf_SyncBlockN().of([]); + } +}, false); +var _stack = dart.privateName(developer, "_stack"); +var _parent = dart.privateName(developer, "_parent"); +var _filterKey = dart.privateName(developer, "_filterKey"); +var _taskId$ = dart.privateName(developer, "_taskId"); +var _start = dart.privateName(developer, "_start"); +var _finish = dart.privateName(developer, "_finish"); +developer.TimelineTask = class TimelineTask extends core.Object { + start(name, opts) { + if (name == null) dart.nullFailed(I[104], 218, 21, "name"); + let $arguments = opts && 'arguments' in opts ? opts.arguments : null; + if (!true) return; + core.ArgumentError.checkNotNull(core.String, name, "name"); + let block = new developer._AsyncBlock.__(name, this[_taskId$]); + this[_stack][$add](block); + let map = new (T$0.LinkedMapOfObjectN$ObjectN()).new(); + if ($arguments != null) { + for (let key of $arguments[$keys]) { + map[$_set](key, $arguments[$_get](key)); + } + } + if (this[_parent] != null) map[$_set]("parentId", dart.nullCheck(this[_parent])[_taskId$][$toRadixString](16)); + if (this[_filterKey] != null) map[$_set]("filterKey", this[_filterKey]); + block[_start](map); + } + instant(name, opts) { + if (name == null) dart.nullFailed(I[104], 241, 23, "name"); + let $arguments = opts && 'arguments' in opts ? opts.arguments : null; + if (!true) return; + core.ArgumentError.checkNotNull(core.String, name, "name"); + let instantArguments = null; + if ($arguments != null) { + instantArguments = collection.LinkedHashMap.from($arguments); + } + if (this[_filterKey] != null) { + instantArguments == null ? instantArguments = new _js_helper.LinkedMap.new() : null; + instantArguments[$_set]("filterKey", this[_filterKey]); + } + developer._reportTaskEvent(this[_taskId$], "n", "Dart", name, developer._argumentsAsJson(instantArguments)); + } + finish(opts) { + let $arguments = opts && 'arguments' in opts ? opts.arguments : null; + if (!true) { + return; + } + if (this[_stack][$length] === 0) { + dart.throw(new core.StateError.new("Uneven calls to start and finish")); + } + if (this[_filterKey] != null) { + $arguments == null ? $arguments = new _js_helper.LinkedMap.new() : null; + $arguments[$_set]("filterKey", this[_filterKey]); + } + let block = this[_stack][$removeLast](); + block[_finish]($arguments); + } + pass() { + if (dart.notNull(this[_stack][$length]) > 0) { + dart.throw(new core.StateError.new("You cannot pass a TimelineTask without finishing all started " + "operations")); + } + let r = this[_taskId$]; + return r; + } +}; +(developer.TimelineTask.new = function(opts) { + let parent = opts && 'parent' in opts ? opts.parent : null; + let filterKey = opts && 'filterKey' in opts ? opts.filterKey : null; + this[_stack] = T$0.JSArrayOf_AsyncBlock().of([]); + this[_parent] = parent; + this[_filterKey] = filterKey; + this[_taskId$] = developer._getNextAsyncId(); +}).prototype = developer.TimelineTask.prototype; +(developer.TimelineTask.withTaskId = function(taskId, opts) { + if (taskId == null) dart.nullFailed(I[104], 208, 31, "taskId"); + let filterKey = opts && 'filterKey' in opts ? opts.filterKey : null; + this[_stack] = T$0.JSArrayOf_AsyncBlock().of([]); + this[_parent] = null; + this[_filterKey] = filterKey; + this[_taskId$] = taskId; + core.ArgumentError.checkNotNull(core.int, taskId, "taskId"); +}).prototype = developer.TimelineTask.prototype; +dart.addTypeTests(developer.TimelineTask); +dart.addTypeCaches(developer.TimelineTask); +dart.setMethodSignature(developer.TimelineTask, () => ({ + __proto__: dart.getMethods(developer.TimelineTask.__proto__), + start: dart.fnType(dart.void, [core.String], {arguments: dart.nullable(core.Map)}, {}), + instant: dart.fnType(dart.void, [core.String], {arguments: dart.nullable(core.Map)}, {}), + finish: dart.fnType(dart.void, [], {arguments: dart.nullable(core.Map)}, {}), + pass: dart.fnType(core.int, []) +})); +dart.setLibraryUri(developer.TimelineTask, I[100]); +dart.setFieldSignature(developer.TimelineTask, () => ({ + __proto__: dart.getFields(developer.TimelineTask.__proto__), + [_parent]: dart.finalFieldType(dart.nullable(developer.TimelineTask)), + [_filterKey]: dart.finalFieldType(dart.nullable(core.String)), + [_taskId$]: dart.finalFieldType(core.int), + [_stack]: dart.finalFieldType(core.List$(developer._AsyncBlock)) +})); +dart.defineLazy(developer.TimelineTask, { + /*developer.TimelineTask._kFilterKey*/get _kFilterKey() { + return "filterKey"; + } +}, false); +developer._AsyncBlock = class _AsyncBlock extends core.Object { + [_start]($arguments) { + if ($arguments == null) dart.nullFailed(I[104], 309, 19, "arguments"); + developer._reportTaskEvent(this[_taskId$], "b", this.category, this.name, developer._argumentsAsJson($arguments)); + } + [_finish]($arguments) { + developer._reportTaskEvent(this[_taskId$], "e", this.category, this.name, developer._argumentsAsJson($arguments)); + } +}; +(developer._AsyncBlock.__ = function(name, _taskId) { + if (name == null) dart.nullFailed(I[104], 306, 22, "name"); + if (_taskId == null) dart.nullFailed(I[104], 306, 33, "_taskId"); + this.category = "Dart"; + this.name = name; + this[_taskId$] = _taskId; + ; +}).prototype = developer._AsyncBlock.prototype; +dart.addTypeTests(developer._AsyncBlock); +dart.addTypeCaches(developer._AsyncBlock); +dart.setMethodSignature(developer._AsyncBlock, () => ({ + __proto__: dart.getMethods(developer._AsyncBlock.__proto__), + [_start]: dart.fnType(dart.void, [core.Map]), + [_finish]: dart.fnType(dart.void, [dart.nullable(core.Map)]) +})); +dart.setLibraryUri(developer._AsyncBlock, I[100]); +dart.setFieldSignature(developer._AsyncBlock, () => ({ + __proto__: dart.getFields(developer._AsyncBlock.__proto__), + category: dart.finalFieldType(core.String), + name: dart.finalFieldType(core.String), + [_taskId$]: dart.finalFieldType(core.int) +})); +var _flow = dart.privateName(developer, "_flow"); +developer._SyncBlock = class _SyncBlock extends core.Object { + [_startSync]() { + developer._reportTaskEvent(0, "B", this.category, this.name, developer._argumentsAsJson(this[_arguments$1])); + } + finish() { + developer._reportTaskEvent(0, "E", this.category, this.name, developer._argumentsAsJson(this[_arguments$1])); + if (this[_flow] != null) { + developer._reportFlowEvent(this.category, dart.str(dart.nullCheck(this[_flow]).id), dart.nullCheck(this[_flow])[_type$0], dart.nullCheck(this[_flow]).id, developer._argumentsAsJson(null)); + } + } + set flow(f) { + if (f == null) dart.nullFailed(I[104], 353, 22, "f"); + this[_flow] = f; + } +}; +(developer._SyncBlock.__ = function(name) { + if (name == null) dart.nullFailed(I[104], 335, 21, "name"); + this.category = "Dart"; + this[_arguments$1] = null; + this[_flow] = null; + this.name = name; + ; +}).prototype = developer._SyncBlock.prototype; +dart.addTypeTests(developer._SyncBlock); +dart.addTypeCaches(developer._SyncBlock); +dart.setMethodSignature(developer._SyncBlock, () => ({ + __proto__: dart.getMethods(developer._SyncBlock.__proto__), + [_startSync]: dart.fnType(dart.void, []), + finish: dart.fnType(dart.void, []) +})); +dart.setSetterSignature(developer._SyncBlock, () => ({ + __proto__: dart.getSetters(developer._SyncBlock.__proto__), + flow: developer.Flow +})); +dart.setLibraryUri(developer._SyncBlock, I[100]); +dart.setFieldSignature(developer._SyncBlock, () => ({ + __proto__: dart.getFields(developer._SyncBlock.__proto__), + category: dart.finalFieldType(core.String), + name: dart.finalFieldType(core.String), + [_arguments$1]: dart.fieldType(dart.nullable(core.Map)), + [_flow]: dart.fieldType(dart.nullable(developer.Flow)) +})); +developer.invokeExtension = function _invokeExtension(methodName, encodedJson) { + if (methodName == null) dart.nullFailed(I[99], 77, 25, "methodName"); + if (encodedJson == null) dart.nullFailed(I[99], 77, 44, "encodedJson"); + return new dart.global.Promise((resolve, reject) => { + if (resolve == null) dart.nullFailed(I[99], 80, 25, "resolve"); + if (reject == null) dart.nullFailed(I[99], 80, 51, "reject"); + return async.async(core.Null, function*() { + try { + let method = dart.nullCheck(developer._lookupExtension(methodName)); + let parameters = core.Map.as(convert.json.decode(encodedJson))[$cast](core.String, core.String); + let result = (yield method(methodName, parameters)); + resolve(result[_toString$]()); + } catch (e$) { + let e = dart.getThrown(e$); + if (core.Object.is(e)) { + reject(dart.str(e)); + } else + throw e$; + } + }); + }); +}; +developer.debugger = function $debugger(opts) { + let when = opts && 'when' in opts ? opts.when : true; + if (when == null) dart.nullFailed(I[99], 16, 21, "when"); + let message = opts && 'message' in opts ? opts.message : null; + if (dart.test(when)) { + debugger; + } + return when; +}; +developer.inspect = function inspect(object) { + console.debug("dart.developer.inspect", object); + return object; +}; +developer.log = function log(message, opts) { + if (message == null) dart.nullFailed(I[99], 32, 17, "message"); + let time = opts && 'time' in opts ? opts.time : null; + let sequenceNumber = opts && 'sequenceNumber' in opts ? opts.sequenceNumber : null; + let level = opts && 'level' in opts ? opts.level : 0; + if (level == null) dart.nullFailed(I[99], 35, 9, "level"); + let name = opts && 'name' in opts ? opts.name : ""; + if (name == null) dart.nullFailed(I[99], 36, 12, "name"); + let zone = opts && 'zone' in opts ? opts.zone : null; + let error = opts && 'error' in opts ? opts.error : null; + let stackTrace = opts && 'stackTrace' in opts ? opts.stackTrace : null; + let items = {message: message, name: name, level: level}; + if (time != null) items.time = time; + if (sequenceNumber != null) { + items.sequenceNumber = sequenceNumber; + } + if (zone != null) items.zone = zone; + if (error != null) items.error = error; + if (stackTrace != null) items.stackTrace = stackTrace; + console.debug("dart.developer.log", items); +}; +developer.registerExtension = function registerExtension$(method, handler) { + if (method == null) dart.nullFailed(I[101], 130, 31, "method"); + if (handler == null) dart.nullFailed(I[101], 130, 63, "handler"); + core.ArgumentError.checkNotNull(core.String, method, "method"); + if (!method[$startsWith]("ext.")) { + dart.throw(new core.ArgumentError.value(method, "method", "Must begin with ext.")); + } + if (developer._lookupExtension(method) != null) { + dart.throw(new core.ArgumentError.new("Extension already registered: " + dart.str(method))); + } + core.ArgumentError.checkNotNull(T$0.StringAndMapOfString$StringToFutureOfServiceExtensionResponse(), handler, "handler"); + developer._registerExtension(method, handler); +}; +developer.postEvent = function postEvent(eventKind, eventData) { + if (eventKind == null) dart.nullFailed(I[101], 146, 23, "eventKind"); + if (eventData == null) dart.nullFailed(I[101], 146, 38, "eventData"); + core.ArgumentError.checkNotNull(core.String, eventKind, "eventKind"); + core.ArgumentError.checkNotNull(core.Map, eventData, "eventData"); + let eventDataAsString = convert.json.encode(eventData); + developer._postEvent(eventKind, eventDataAsString); +}; +developer._postEvent = function _postEvent(eventKind, eventData) { + if (eventKind == null) dart.nullFailed(I[99], 94, 24, "eventKind"); + if (eventData == null) dart.nullFailed(I[99], 94, 42, "eventData"); + console.debug("dart.developer.postEvent", eventKind, eventData); +}; +developer._lookupExtension = function _lookupExtension(method) { + if (method == null) dart.nullFailed(I[99], 56, 50, "method"); + return developer._extensions[$_get](method); +}; +developer._registerExtension = function _registerExtension(method, handler) { + if (method == null) dart.nullFailed(I[99], 61, 27, "method"); + if (handler == null) dart.nullFailed(I[99], 61, 59, "handler"); + developer._extensions[$_set](method, handler); + console.debug("dart.developer.registerExtension", method); +}; +developer.getCurrentTag = function getCurrentTag() { + return developer._currentTag; +}; +developer._getServerInfo = function _getServerInfo(sendPort) { + if (sendPort == null) dart.nullFailed(I[99], 145, 30, "sendPort"); + sendPort.send(null); +}; +developer._webServerControl = function _webServerControl(sendPort, enable, silenceOutput) { + if (sendPort == null) dart.nullFailed(I[99], 150, 33, "sendPort"); + if (enable == null) dart.nullFailed(I[99], 150, 48, "enable"); + sendPort.send(null); +}; +developer._getServiceMajorVersion = function _getServiceMajorVersion() { + return 0; +}; +developer._getServiceMinorVersion = function _getServiceMinorVersion() { + return 0; +}; +developer._getIsolateIDFromSendPort = function _getIsolateIDFromSendPort(sendPort) { + if (sendPort == null) dart.nullFailed(I[99], 155, 44, "sendPort"); + return null; +}; +developer._argumentsAsJson = function _argumentsAsJson($arguments) { + if ($arguments == null || $arguments[$length] === 0) { + return "{}"; + } + return convert.json.encode($arguments); +}; +developer._isDartStreamEnabled = function _isDartStreamEnabled() { + return false; +}; +developer._getNextAsyncId = function _getNextAsyncId() { + return 0; +}; +developer._getTraceClock = function _getTraceClock() { + let t180; + t180 = developer._clockValue; + developer._clockValue = dart.notNull(t180) + 1; + return t180; +}; +developer._reportTaskEvent = function _reportTaskEvent(taskId, phase, category, name, argumentsAsJson) { + if (taskId == null) dart.nullFailed(I[99], 129, 27, "taskId"); + if (phase == null) dart.nullFailed(I[99], 129, 42, "phase"); + if (category == null) dart.nullFailed(I[99], 129, 56, "category"); + if (name == null) dart.nullFailed(I[99], 129, 73, "name"); + if (argumentsAsJson == null) dart.nullFailed(I[99], 130, 12, "argumentsAsJson"); +}; +developer._reportFlowEvent = function _reportFlowEvent(category, name, type, id, argumentsAsJson) { + if (category == null) dart.nullFailed(I[99], 114, 12, "category"); + if (name == null) dart.nullFailed(I[99], 114, 29, "name"); + if (type == null) dart.nullFailed(I[99], 114, 39, "type"); + if (id == null) dart.nullFailed(I[99], 114, 49, "id"); + if (argumentsAsJson == null) dart.nullFailed(I[99], 114, 60, "argumentsAsJson"); +}; +developer._reportInstantEvent = function _reportInstantEvent(category, name, argumentsAsJson) { + if (category == null) dart.nullFailed(I[99], 119, 33, "category"); + if (name == null) dart.nullFailed(I[99], 119, 50, "name"); + if (argumentsAsJson == null) dart.nullFailed(I[99], 119, 63, "argumentsAsJson"); +}; +dart.defineLazy(developer, { + /*developer._extensions*/get _extensions() { + return new (T$0.IdentityMapOfString$StringAndMapOfString$StringToFutureOfServiceExtensionResponse()).new(); + }, + /*developer._clockValue*/get _clockValue() { + return 0; + }, + set _clockValue(_) {}, + /*developer._currentTag*/get _currentTag() { + return developer._FakeUserTag._defaultTag; + }, + set _currentTag(_) {}, + /*developer._hasTimeline*/get _hasTimeline() { + return true; + } +}, false); +io.IOException = class IOException extends core.Object { + toString() { + return "IOException"; + } +}; +(io.IOException.new = function() { + ; +}).prototype = io.IOException.prototype; +dart.addTypeTests(io.IOException); +dart.addTypeCaches(io.IOException); +io.IOException[dart.implements] = () => [core.Exception]; +dart.setLibraryUri(io.IOException, I[105]); +dart.defineExtensionMethods(io.IOException, ['toString']); +var message$2 = dart.privateName(io, "OSError.message"); +var errorCode$0 = dart.privateName(io, "OSError.errorCode"); +io.OSError = class OSError extends core.Object { + get message() { + return this[message$2]; + } + set message(value) { + super.message = value; + } + get errorCode() { + return this[errorCode$0]; + } + set errorCode(value) { + super.errorCode = value; + } + toString() { + let t180, t180$, t180$0; + let sb = new core.StringBuffer.new(); + sb.write("OS Error"); + if (this.message[$isNotEmpty]) { + t180 = sb; + (() => { + t180.write(": "); + t180.write(this.message); + return t180; + })(); + if (this.errorCode !== -1) { + t180$ = sb; + (() => { + t180$.write(", errno = "); + t180$.write(dart.toString(this.errorCode)); + return t180$; + })(); + } + } else if (this.errorCode !== -1) { + t180$0 = sb; + (() => { + t180$0.write(": errno = "); + t180$0.write(dart.toString(this.errorCode)); + return t180$0; + })(); + } + return sb.toString(); + } +}; +(io.OSError.new = function(message = "", errorCode = -1) { + if (message == null) dart.nullFailed(I[106], 63, 23, "message"); + if (errorCode == null) dart.nullFailed(I[106], 63, 42, "errorCode"); + this[message$2] = message; + this[errorCode$0] = errorCode; + ; +}).prototype = io.OSError.prototype; +dart.addTypeTests(io.OSError); +dart.addTypeCaches(io.OSError); +io.OSError[dart.implements] = () => [core.Exception]; +dart.setLibraryUri(io.OSError, I[105]); +dart.setFieldSignature(io.OSError, () => ({ + __proto__: dart.getFields(io.OSError.__proto__), + message: dart.finalFieldType(core.String), + errorCode: dart.finalFieldType(core.int) +})); +dart.defineExtensionMethods(io.OSError, ['toString']); +dart.defineLazy(io.OSError, { + /*io.OSError.noErrorCode*/get noErrorCode() { + return -1; + } +}, false); +io._BufferAndStart = class _BufferAndStart extends core.Object {}; +(io._BufferAndStart.new = function(buffer, start) { + if (buffer == null) dart.nullFailed(I[106], 85, 24, "buffer"); + if (start == null) dart.nullFailed(I[106], 85, 37, "start"); + this.buffer = buffer; + this.start = start; + ; +}).prototype = io._BufferAndStart.prototype; +dart.addTypeTests(io._BufferAndStart); +dart.addTypeCaches(io._BufferAndStart); +dart.setLibraryUri(io._BufferAndStart, I[105]); +dart.setFieldSignature(io._BufferAndStart, () => ({ + __proto__: dart.getFields(io._BufferAndStart.__proto__), + buffer: dart.fieldType(core.List$(core.int)), + start: dart.fieldType(core.int) +})); +io._IOCrypto = class _IOCrypto extends core.Object { + static getRandomBytes(count) { + if (count == null) dart.nullFailed(I[107], 225, 39, "count"); + dart.throw(new core.UnsupportedError.new("_IOCrypto.getRandomBytes")); + } +}; +(io._IOCrypto.new = function() { + ; +}).prototype = io._IOCrypto.prototype; +dart.addTypeTests(io._IOCrypto); +dart.addTypeCaches(io._IOCrypto); +dart.setLibraryUri(io._IOCrypto, I[105]); +io.ZLibOption = class ZLibOption extends core.Object {}; +(io.ZLibOption.new = function() { + ; +}).prototype = io.ZLibOption.prototype; +dart.addTypeTests(io.ZLibOption); +dart.addTypeCaches(io.ZLibOption); +dart.setLibraryUri(io.ZLibOption, I[105]); +dart.defineLazy(io.ZLibOption, { + /*io.ZLibOption.minWindowBits*/get minWindowBits() { + return 8; + }, + /*io.ZLibOption.MIN_WINDOW_BITS*/get MIN_WINDOW_BITS() { + return 8; + }, + /*io.ZLibOption.maxWindowBits*/get maxWindowBits() { + return 15; + }, + /*io.ZLibOption.MAX_WINDOW_BITS*/get MAX_WINDOW_BITS() { + return 15; + }, + /*io.ZLibOption.defaultWindowBits*/get defaultWindowBits() { + return 15; + }, + /*io.ZLibOption.DEFAULT_WINDOW_BITS*/get DEFAULT_WINDOW_BITS() { + return 15; + }, + /*io.ZLibOption.minLevel*/get minLevel() { + return -1; + }, + /*io.ZLibOption.MIN_LEVEL*/get MIN_LEVEL() { + return -1; + }, + /*io.ZLibOption.maxLevel*/get maxLevel() { + return 9; + }, + /*io.ZLibOption.MAX_LEVEL*/get MAX_LEVEL() { + return 9; + }, + /*io.ZLibOption.defaultLevel*/get defaultLevel() { + return 6; + }, + /*io.ZLibOption.DEFAULT_LEVEL*/get DEFAULT_LEVEL() { + return 6; + }, + /*io.ZLibOption.minMemLevel*/get minMemLevel() { + return 1; + }, + /*io.ZLibOption.MIN_MEM_LEVEL*/get MIN_MEM_LEVEL() { + return 1; + }, + /*io.ZLibOption.maxMemLevel*/get maxMemLevel() { + return 9; + }, + /*io.ZLibOption.MAX_MEM_LEVEL*/get MAX_MEM_LEVEL() { + return 9; + }, + /*io.ZLibOption.defaultMemLevel*/get defaultMemLevel() { + return 8; + }, + /*io.ZLibOption.DEFAULT_MEM_LEVEL*/get DEFAULT_MEM_LEVEL() { + return 8; + }, + /*io.ZLibOption.strategyFiltered*/get strategyFiltered() { + return 1; + }, + /*io.ZLibOption.STRATEGY_FILTERED*/get STRATEGY_FILTERED() { + return 1; + }, + /*io.ZLibOption.strategyHuffmanOnly*/get strategyHuffmanOnly() { + return 2; + }, + /*io.ZLibOption.STRATEGY_HUFFMAN_ONLY*/get STRATEGY_HUFFMAN_ONLY() { + return 2; + }, + /*io.ZLibOption.strategyRle*/get strategyRle() { + return 3; + }, + /*io.ZLibOption.STRATEGY_RLE*/get STRATEGY_RLE() { + return 3; + }, + /*io.ZLibOption.strategyFixed*/get strategyFixed() { + return 4; + }, + /*io.ZLibOption.STRATEGY_FIXED*/get STRATEGY_FIXED() { + return 4; + }, + /*io.ZLibOption.strategyDefault*/get strategyDefault() { + return 0; + }, + /*io.ZLibOption.STRATEGY_DEFAULT*/get STRATEGY_DEFAULT() { + return 0; + } +}, false); +var gzip$ = dart.privateName(io, "ZLibCodec.gzip"); +var level$ = dart.privateName(io, "ZLibCodec.level"); +var memLevel$ = dart.privateName(io, "ZLibCodec.memLevel"); +var strategy$ = dart.privateName(io, "ZLibCodec.strategy"); +var windowBits$ = dart.privateName(io, "ZLibCodec.windowBits"); +var raw$ = dart.privateName(io, "ZLibCodec.raw"); +var dictionary$ = dart.privateName(io, "ZLibCodec.dictionary"); +io.ZLibCodec = class ZLibCodec extends convert.Codec$(core.List$(core.int), core.List$(core.int)) { + get gzip() { + return this[gzip$]; + } + set gzip(value) { + super.gzip = value; + } + get level() { + return this[level$]; + } + set level(value) { + super.level = value; + } + get memLevel() { + return this[memLevel$]; + } + set memLevel(value) { + super.memLevel = value; + } + get strategy() { + return this[strategy$]; + } + set strategy(value) { + super.strategy = value; + } + get windowBits() { + return this[windowBits$]; + } + set windowBits(value) { + super.windowBits = value; + } + get raw() { + return this[raw$]; + } + set raw(value) { + super.raw = value; + } + get dictionary() { + return this[dictionary$]; + } + set dictionary(value) { + super.dictionary = value; + } + get encoder() { + return new io.ZLibEncoder.new({gzip: false, level: this.level, windowBits: this.windowBits, memLevel: this.memLevel, strategy: this.strategy, dictionary: this.dictionary, raw: this.raw}); + } + get decoder() { + return new io.ZLibDecoder.new({windowBits: this.windowBits, dictionary: this.dictionary, raw: this.raw}); + } +}; +(io.ZLibCodec.new = function(opts) { + let level = opts && 'level' in opts ? opts.level : 6; + if (level == null) dart.nullFailed(I[108], 140, 13, "level"); + let windowBits = opts && 'windowBits' in opts ? opts.windowBits : 15; + if (windowBits == null) dart.nullFailed(I[108], 141, 12, "windowBits"); + let memLevel = opts && 'memLevel' in opts ? opts.memLevel : 8; + if (memLevel == null) dart.nullFailed(I[108], 142, 12, "memLevel"); + let strategy = opts && 'strategy' in opts ? opts.strategy : 0; + if (strategy == null) dart.nullFailed(I[108], 143, 12, "strategy"); + let dictionary = opts && 'dictionary' in opts ? opts.dictionary : null; + let raw = opts && 'raw' in opts ? opts.raw : false; + if (raw == null) dart.nullFailed(I[108], 145, 12, "raw"); + let gzip = opts && 'gzip' in opts ? opts.gzip : false; + if (gzip == null) dart.nullFailed(I[108], 146, 12, "gzip"); + this[level$] = level; + this[windowBits$] = windowBits; + this[memLevel$] = memLevel; + this[strategy$] = strategy; + this[dictionary$] = dictionary; + this[raw$] = raw; + this[gzip$] = gzip; + io.ZLibCodec.__proto__.new.call(this); + io._validateZLibeLevel(this.level); + io._validateZLibMemLevel(this.memLevel); + io._validateZLibStrategy(this.strategy); + io._validateZLibWindowBits(this.windowBits); +}).prototype = io.ZLibCodec.prototype; +(io.ZLibCodec._default = function() { + this[level$] = 6; + this[windowBits$] = 15; + this[memLevel$] = 8; + this[strategy$] = 0; + this[raw$] = false; + this[gzip$] = false; + this[dictionary$] = null; + io.ZLibCodec.__proto__.new.call(this); + ; +}).prototype = io.ZLibCodec.prototype; +dart.addTypeTests(io.ZLibCodec); +dart.addTypeCaches(io.ZLibCodec); +dart.setGetterSignature(io.ZLibCodec, () => ({ + __proto__: dart.getGetters(io.ZLibCodec.__proto__), + encoder: io.ZLibEncoder, + decoder: io.ZLibDecoder +})); +dart.setLibraryUri(io.ZLibCodec, I[105]); +dart.setFieldSignature(io.ZLibCodec, () => ({ + __proto__: dart.getFields(io.ZLibCodec.__proto__), + gzip: dart.finalFieldType(core.bool), + level: dart.finalFieldType(core.int), + memLevel: dart.finalFieldType(core.int), + strategy: dart.finalFieldType(core.int), + windowBits: dart.finalFieldType(core.int), + raw: dart.finalFieldType(core.bool), + dictionary: dart.finalFieldType(dart.nullable(core.List$(core.int))) +})); +var gzip$0 = dart.privateName(io, "GZipCodec.gzip"); +var level$0 = dart.privateName(io, "GZipCodec.level"); +var memLevel$0 = dart.privateName(io, "GZipCodec.memLevel"); +var strategy$0 = dart.privateName(io, "GZipCodec.strategy"); +var windowBits$0 = dart.privateName(io, "GZipCodec.windowBits"); +var dictionary$0 = dart.privateName(io, "GZipCodec.dictionary"); +var raw$0 = dart.privateName(io, "GZipCodec.raw"); +io.GZipCodec = class GZipCodec extends convert.Codec$(core.List$(core.int), core.List$(core.int)) { + get gzip() { + return this[gzip$0]; + } + set gzip(value) { + super.gzip = value; + } + get level() { + return this[level$0]; + } + set level(value) { + super.level = value; + } + get memLevel() { + return this[memLevel$0]; + } + set memLevel(value) { + super.memLevel = value; + } + get strategy() { + return this[strategy$0]; + } + set strategy(value) { + super.strategy = value; + } + get windowBits() { + return this[windowBits$0]; + } + set windowBits(value) { + super.windowBits = value; + } + get dictionary() { + return this[dictionary$0]; + } + set dictionary(value) { + super.dictionary = value; + } + get raw() { + return this[raw$0]; + } + set raw(value) { + super.raw = value; + } + get encoder() { + return new io.ZLibEncoder.new({gzip: true, level: this.level, windowBits: this.windowBits, memLevel: this.memLevel, strategy: this.strategy, dictionary: this.dictionary, raw: this.raw}); + } + get decoder() { + return new io.ZLibDecoder.new({windowBits: this.windowBits, dictionary: this.dictionary, raw: this.raw}); + } +}; +(io.GZipCodec.new = function(opts) { + let level = opts && 'level' in opts ? opts.level : 6; + if (level == null) dart.nullFailed(I[108], 236, 13, "level"); + let windowBits = opts && 'windowBits' in opts ? opts.windowBits : 15; + if (windowBits == null) dart.nullFailed(I[108], 237, 12, "windowBits"); + let memLevel = opts && 'memLevel' in opts ? opts.memLevel : 8; + if (memLevel == null) dart.nullFailed(I[108], 238, 12, "memLevel"); + let strategy = opts && 'strategy' in opts ? opts.strategy : 0; + if (strategy == null) dart.nullFailed(I[108], 239, 12, "strategy"); + let dictionary = opts && 'dictionary' in opts ? opts.dictionary : null; + let raw = opts && 'raw' in opts ? opts.raw : false; + if (raw == null) dart.nullFailed(I[108], 241, 12, "raw"); + let gzip = opts && 'gzip' in opts ? opts.gzip : true; + if (gzip == null) dart.nullFailed(I[108], 242, 12, "gzip"); + this[level$0] = level; + this[windowBits$0] = windowBits; + this[memLevel$0] = memLevel; + this[strategy$0] = strategy; + this[dictionary$0] = dictionary; + this[raw$0] = raw; + this[gzip$0] = gzip; + io.GZipCodec.__proto__.new.call(this); + io._validateZLibeLevel(this.level); + io._validateZLibMemLevel(this.memLevel); + io._validateZLibStrategy(this.strategy); + io._validateZLibWindowBits(this.windowBits); +}).prototype = io.GZipCodec.prototype; +(io.GZipCodec._default = function() { + this[level$0] = 6; + this[windowBits$0] = 15; + this[memLevel$0] = 8; + this[strategy$0] = 0; + this[raw$0] = false; + this[gzip$0] = true; + this[dictionary$0] = null; + io.GZipCodec.__proto__.new.call(this); + ; +}).prototype = io.GZipCodec.prototype; +dart.addTypeTests(io.GZipCodec); +dart.addTypeCaches(io.GZipCodec); +dart.setGetterSignature(io.GZipCodec, () => ({ + __proto__: dart.getGetters(io.GZipCodec.__proto__), + encoder: io.ZLibEncoder, + decoder: io.ZLibDecoder +})); +dart.setLibraryUri(io.GZipCodec, I[105]); +dart.setFieldSignature(io.GZipCodec, () => ({ + __proto__: dart.getFields(io.GZipCodec.__proto__), + gzip: dart.finalFieldType(core.bool), + level: dart.finalFieldType(core.int), + memLevel: dart.finalFieldType(core.int), + strategy: dart.finalFieldType(core.int), + windowBits: dart.finalFieldType(core.int), + dictionary: dart.finalFieldType(dart.nullable(core.List$(core.int))), + raw: dart.finalFieldType(core.bool) +})); +var gzip$1 = dart.privateName(io, "ZLibEncoder.gzip"); +var level$1 = dart.privateName(io, "ZLibEncoder.level"); +var memLevel$1 = dart.privateName(io, "ZLibEncoder.memLevel"); +var strategy$1 = dart.privateName(io, "ZLibEncoder.strategy"); +var windowBits$1 = dart.privateName(io, "ZLibEncoder.windowBits"); +var dictionary$1 = dart.privateName(io, "ZLibEncoder.dictionary"); +var raw$1 = dart.privateName(io, "ZLibEncoder.raw"); +io.ZLibEncoder = class ZLibEncoder extends convert.Converter$(core.List$(core.int), core.List$(core.int)) { + get gzip() { + return this[gzip$1]; + } + set gzip(value) { + super.gzip = value; + } + get level() { + return this[level$1]; + } + set level(value) { + super.level = value; + } + get memLevel() { + return this[memLevel$1]; + } + set memLevel(value) { + super.memLevel = value; + } + get strategy() { + return this[strategy$1]; + } + set strategy(value) { + super.strategy = value; + } + get windowBits() { + return this[windowBits$1]; + } + set windowBits(value) { + super.windowBits = value; + } + get dictionary() { + return this[dictionary$1]; + } + set dictionary(value) { + super.dictionary = value; + } + get raw() { + return this[raw$1]; + } + set raw(value) { + super.raw = value; + } + convert(bytes) { + let t180; + T$0.ListOfint().as(bytes); + if (bytes == null) dart.nullFailed(I[108], 339, 31, "bytes"); + let sink = new io._BufferSink.new(); + t180 = this.startChunkedConversion(sink); + (() => { + t180.add(bytes); + t180.close(); + return t180; + })(); + return sink.builder.takeBytes(); + } + startChunkedConversion(sink) { + T$0.SinkOfListOfint().as(sink); + if (sink == null) dart.nullFailed(I[108], 353, 61, "sink"); + if (!convert.ByteConversionSink.is(sink)) { + sink = new convert._ByteAdapterSink.new(sink); + } + return new io._ZLibEncoderSink.__(sink, this.gzip, this.level, this.windowBits, this.memLevel, this.strategy, this.dictionary, this.raw); + } +}; +(io.ZLibEncoder.new = function(opts) { + let gzip = opts && 'gzip' in opts ? opts.gzip : false; + if (gzip == null) dart.nullFailed(I[108], 324, 13, "gzip"); + let level = opts && 'level' in opts ? opts.level : 6; + if (level == null) dart.nullFailed(I[108], 325, 12, "level"); + let windowBits = opts && 'windowBits' in opts ? opts.windowBits : 15; + if (windowBits == null) dart.nullFailed(I[108], 326, 12, "windowBits"); + let memLevel = opts && 'memLevel' in opts ? opts.memLevel : 8; + if (memLevel == null) dart.nullFailed(I[108], 327, 12, "memLevel"); + let strategy = opts && 'strategy' in opts ? opts.strategy : 0; + if (strategy == null) dart.nullFailed(I[108], 328, 12, "strategy"); + let dictionary = opts && 'dictionary' in opts ? opts.dictionary : null; + let raw = opts && 'raw' in opts ? opts.raw : false; + if (raw == null) dart.nullFailed(I[108], 330, 12, "raw"); + this[gzip$1] = gzip; + this[level$1] = level; + this[windowBits$1] = windowBits; + this[memLevel$1] = memLevel; + this[strategy$1] = strategy; + this[dictionary$1] = dictionary; + this[raw$1] = raw; + io.ZLibEncoder.__proto__.new.call(this); + io._validateZLibeLevel(this.level); + io._validateZLibMemLevel(this.memLevel); + io._validateZLibStrategy(this.strategy); + io._validateZLibWindowBits(this.windowBits); +}).prototype = io.ZLibEncoder.prototype; +dart.addTypeTests(io.ZLibEncoder); +dart.addTypeCaches(io.ZLibEncoder); +dart.setMethodSignature(io.ZLibEncoder, () => ({ + __proto__: dart.getMethods(io.ZLibEncoder.__proto__), + convert: dart.fnType(core.List$(core.int), [dart.nullable(core.Object)]), + startChunkedConversion: dart.fnType(convert.ByteConversionSink, [dart.nullable(core.Object)]) +})); +dart.setLibraryUri(io.ZLibEncoder, I[105]); +dart.setFieldSignature(io.ZLibEncoder, () => ({ + __proto__: dart.getFields(io.ZLibEncoder.__proto__), + gzip: dart.finalFieldType(core.bool), + level: dart.finalFieldType(core.int), + memLevel: dart.finalFieldType(core.int), + strategy: dart.finalFieldType(core.int), + windowBits: dart.finalFieldType(core.int), + dictionary: dart.finalFieldType(dart.nullable(core.List$(core.int))), + raw: dart.finalFieldType(core.bool) +})); +var windowBits$2 = dart.privateName(io, "ZLibDecoder.windowBits"); +var dictionary$2 = dart.privateName(io, "ZLibDecoder.dictionary"); +var raw$2 = dart.privateName(io, "ZLibDecoder.raw"); +io.ZLibDecoder = class ZLibDecoder extends convert.Converter$(core.List$(core.int), core.List$(core.int)) { + get windowBits() { + return this[windowBits$2]; + } + set windowBits(value) { + super.windowBits = value; + } + get dictionary() { + return this[dictionary$2]; + } + set dictionary(value) { + super.dictionary = value; + } + get raw() { + return this[raw$2]; + } + set raw(value) { + super.raw = value; + } + convert(bytes) { + let t180; + T$0.ListOfint().as(bytes); + if (bytes == null) dart.nullFailed(I[108], 392, 31, "bytes"); + let sink = new io._BufferSink.new(); + t180 = this.startChunkedConversion(sink); + (() => { + t180.add(bytes); + t180.close(); + return t180; + })(); + return sink.builder.takeBytes(); + } + startChunkedConversion(sink) { + T$0.SinkOfListOfint().as(sink); + if (sink == null) dart.nullFailed(I[108], 405, 61, "sink"); + if (!convert.ByteConversionSink.is(sink)) { + sink = new convert._ByteAdapterSink.new(sink); + } + return new io._ZLibDecoderSink.__(sink, this.windowBits, this.dictionary, this.raw); + } +}; +(io.ZLibDecoder.new = function(opts) { + let windowBits = opts && 'windowBits' in opts ? opts.windowBits : 15; + if (windowBits == null) dart.nullFailed(I[108], 384, 13, "windowBits"); + let dictionary = opts && 'dictionary' in opts ? opts.dictionary : null; + let raw = opts && 'raw' in opts ? opts.raw : false; + if (raw == null) dart.nullFailed(I[108], 386, 12, "raw"); + this[windowBits$2] = windowBits; + this[dictionary$2] = dictionary; + this[raw$2] = raw; + io.ZLibDecoder.__proto__.new.call(this); + io._validateZLibWindowBits(this.windowBits); +}).prototype = io.ZLibDecoder.prototype; +dart.addTypeTests(io.ZLibDecoder); +dart.addTypeCaches(io.ZLibDecoder); +dart.setMethodSignature(io.ZLibDecoder, () => ({ + __proto__: dart.getMethods(io.ZLibDecoder.__proto__), + convert: dart.fnType(core.List$(core.int), [dart.nullable(core.Object)]), + startChunkedConversion: dart.fnType(convert.ByteConversionSink, [dart.nullable(core.Object)]) +})); +dart.setLibraryUri(io.ZLibDecoder, I[105]); +dart.setFieldSignature(io.ZLibDecoder, () => ({ + __proto__: dart.getFields(io.ZLibDecoder.__proto__), + windowBits: dart.finalFieldType(core.int), + dictionary: dart.finalFieldType(dart.nullable(core.List$(core.int))), + raw: dart.finalFieldType(core.bool) +})); +io.RawZLibFilter = class RawZLibFilter extends core.Object { + static deflateFilter(opts) { + let gzip = opts && 'gzip' in opts ? opts.gzip : false; + if (gzip == null) dart.nullFailed(I[108], 418, 10, "gzip"); + let level = opts && 'level' in opts ? opts.level : 6; + if (level == null) dart.nullFailed(I[108], 419, 9, "level"); + let windowBits = opts && 'windowBits' in opts ? opts.windowBits : 15; + if (windowBits == null) dart.nullFailed(I[108], 420, 9, "windowBits"); + let memLevel = opts && 'memLevel' in opts ? opts.memLevel : 8; + if (memLevel == null) dart.nullFailed(I[108], 421, 9, "memLevel"); + let strategy = opts && 'strategy' in opts ? opts.strategy : 0; + if (strategy == null) dart.nullFailed(I[108], 422, 9, "strategy"); + let dictionary = opts && 'dictionary' in opts ? opts.dictionary : null; + let raw = opts && 'raw' in opts ? opts.raw : false; + if (raw == null) dart.nullFailed(I[108], 424, 10, "raw"); + return io.RawZLibFilter._makeZLibDeflateFilter(gzip, level, windowBits, memLevel, strategy, dictionary, raw); + } + static inflateFilter(opts) { + let windowBits = opts && 'windowBits' in opts ? opts.windowBits : 15; + if (windowBits == null) dart.nullFailed(I[108], 433, 9, "windowBits"); + let dictionary = opts && 'dictionary' in opts ? opts.dictionary : null; + let raw = opts && 'raw' in opts ? opts.raw : false; + if (raw == null) dart.nullFailed(I[108], 435, 10, "raw"); + return io.RawZLibFilter._makeZLibInflateFilter(windowBits, dictionary, raw); + } + static _makeZLibDeflateFilter(gzip, level, windowBits, memLevel, strategy, dictionary, raw) { + if (gzip == null) dart.nullFailed(I[107], 614, 12, "gzip"); + if (level == null) dart.nullFailed(I[107], 615, 11, "level"); + if (windowBits == null) dart.nullFailed(I[107], 616, 11, "windowBits"); + if (memLevel == null) dart.nullFailed(I[107], 617, 11, "memLevel"); + if (strategy == null) dart.nullFailed(I[107], 618, 11, "strategy"); + if (raw == null) dart.nullFailed(I[107], 620, 12, "raw"); + dart.throw(new core.UnsupportedError.new("_newZLibDeflateFilter")); + } + static _makeZLibInflateFilter(windowBits, dictionary, raw) { + if (windowBits == null) dart.nullFailed(I[107], 626, 11, "windowBits"); + if (raw == null) dart.nullFailed(I[107], 626, 51, "raw"); + dart.throw(new core.UnsupportedError.new("_newZLibInflateFilter")); + } +}; +(io.RawZLibFilter[dart.mixinNew] = function() { +}).prototype = io.RawZLibFilter.prototype; +dart.addTypeTests(io.RawZLibFilter); +dart.addTypeCaches(io.RawZLibFilter); +dart.setLibraryUri(io.RawZLibFilter, I[105]); +io._BufferSink = class _BufferSink extends convert.ByteConversionSink { + add(chunk) { + T$0.ListOfint().as(chunk); + if (chunk == null) dart.nullFailed(I[108], 472, 22, "chunk"); + this.builder.add(chunk); + } + addSlice(chunk, start, end, isLast) { + if (chunk == null) dart.nullFailed(I[108], 476, 27, "chunk"); + if (start == null) dart.nullFailed(I[108], 476, 38, "start"); + if (end == null) dart.nullFailed(I[108], 476, 49, "end"); + if (isLast == null) dart.nullFailed(I[108], 476, 59, "isLast"); + if (typed_data.Uint8List.is(chunk)) { + let list = chunk; + this.builder.add(typed_data.Uint8List.view(list[$buffer], dart.notNull(list[$offsetInBytes]) + dart.notNull(start), dart.notNull(end) - dart.notNull(start))); + } else { + this.builder.add(chunk[$sublist](start, end)); + } + } + close() { + } +}; +(io._BufferSink.new = function() { + this.builder = _internal.BytesBuilder.new({copy: false}); + io._BufferSink.__proto__.new.call(this); + ; +}).prototype = io._BufferSink.prototype; +dart.addTypeTests(io._BufferSink); +dart.addTypeCaches(io._BufferSink); +dart.setMethodSignature(io._BufferSink, () => ({ + __proto__: dart.getMethods(io._BufferSink.__proto__), + add: dart.fnType(dart.void, [dart.nullable(core.Object)]), + addSlice: dart.fnType(dart.void, [core.List$(core.int), core.int, core.int, core.bool]), + close: dart.fnType(dart.void, []) +})); +dart.setLibraryUri(io._BufferSink, I[105]); +dart.setFieldSignature(io._BufferSink, () => ({ + __proto__: dart.getFields(io._BufferSink.__proto__), + builder: dart.finalFieldType(_internal.BytesBuilder) +})); +var _closed = dart.privateName(io, "_closed"); +var _empty = dart.privateName(io, "_empty"); +var _sink$1 = dart.privateName(io, "_sink"); +var _filter$ = dart.privateName(io, "_filter"); +io._FilterSink = class _FilterSink extends convert.ByteConversionSink { + add(data) { + T$0.ListOfint().as(data); + if (data == null) dart.nullFailed(I[108], 520, 22, "data"); + this.addSlice(data, 0, data[$length], false); + } + addSlice(data, start, end, isLast) { + if (data == null) dart.nullFailed(I[108], 524, 27, "data"); + if (start == null) dart.nullFailed(I[108], 524, 37, "start"); + if (end == null) dart.nullFailed(I[108], 524, 48, "end"); + if (isLast == null) dart.nullFailed(I[108], 524, 58, "isLast"); + core.ArgumentError.checkNotNull(core.int, end, "end"); + if (dart.test(this[_closed])) return; + core.RangeError.checkValidRange(start, end, data[$length]); + try { + this[_empty] = false; + let bufferAndStart = io._ensureFastAndSerializableByteData(data, start, end); + this[_filter$].process(bufferAndStart.buffer, bufferAndStart.start, dart.notNull(end) - (dart.notNull(start) - dart.notNull(bufferAndStart.start))); + let out = null; + while (true) { + let out = this[_filter$].processed({flush: false}); + if (out == null) break; + this[_sink$1].add(out); + } + } catch (e$) { + let e = dart.getThrown(e$); + if (core.Object.is(e)) { + this[_closed] = true; + dart.rethrow(e$); + } else + throw e$; + } + if (dart.test(isLast)) this.close(); + } + close() { + if (dart.test(this[_closed])) return; + if (dart.test(this[_empty])) this[_filter$].process(C[87] || CT.C87, 0, 0); + try { + while (true) { + let out = this[_filter$].processed({end: true}); + if (out == null) break; + this[_sink$1].add(out); + } + } catch (e$) { + let e = dart.getThrown(e$); + if (core.Object.is(e)) { + this[_closed] = true; + dart.throw(e); + } else + throw e$; + } + this[_closed] = true; + this[_sink$1].close(); + } +}; +(io._FilterSink.new = function(_sink, _filter) { + if (_sink == null) dart.nullFailed(I[108], 518, 20, "_sink"); + if (_filter == null) dart.nullFailed(I[108], 518, 32, "_filter"); + this[_closed] = false; + this[_empty] = true; + this[_sink$1] = _sink; + this[_filter$] = _filter; + io._FilterSink.__proto__.new.call(this); + ; +}).prototype = io._FilterSink.prototype; +dart.addTypeTests(io._FilterSink); +dart.addTypeCaches(io._FilterSink); +dart.setMethodSignature(io._FilterSink, () => ({ + __proto__: dart.getMethods(io._FilterSink.__proto__), + add: dart.fnType(dart.void, [dart.nullable(core.Object)]), + addSlice: dart.fnType(dart.void, [core.List$(core.int), core.int, core.int, core.bool]), + close: dart.fnType(dart.void, []) +})); +dart.setLibraryUri(io._FilterSink, I[105]); +dart.setFieldSignature(io._FilterSink, () => ({ + __proto__: dart.getFields(io._FilterSink.__proto__), + [_filter$]: dart.finalFieldType(io.RawZLibFilter), + [_sink$1]: dart.finalFieldType(convert.ByteConversionSink), + [_closed]: dart.fieldType(core.bool), + [_empty]: dart.fieldType(core.bool) +})); +io._ZLibEncoderSink = class _ZLibEncoderSink extends io._FilterSink {}; +(io._ZLibEncoderSink.__ = function(sink, gzip, level, windowBits, memLevel, strategy, dictionary, raw) { + if (sink == null) dart.nullFailed(I[108], 491, 26, "sink"); + if (gzip == null) dart.nullFailed(I[108], 492, 12, "gzip"); + if (level == null) dart.nullFailed(I[108], 493, 11, "level"); + if (windowBits == null) dart.nullFailed(I[108], 494, 11, "windowBits"); + if (memLevel == null) dart.nullFailed(I[108], 495, 11, "memLevel"); + if (strategy == null) dart.nullFailed(I[108], 496, 11, "strategy"); + if (raw == null) dart.nullFailed(I[108], 498, 12, "raw"); + io._ZLibEncoderSink.__proto__.new.call(this, sink, io.RawZLibFilter._makeZLibDeflateFilter(gzip, level, windowBits, memLevel, strategy, dictionary, raw)); + ; +}).prototype = io._ZLibEncoderSink.prototype; +dart.addTypeTests(io._ZLibEncoderSink); +dart.addTypeCaches(io._ZLibEncoderSink); +dart.setLibraryUri(io._ZLibEncoderSink, I[105]); +io._ZLibDecoderSink = class _ZLibDecoderSink extends io._FilterSink {}; +(io._ZLibDecoderSink.__ = function(sink, windowBits, dictionary, raw) { + if (sink == null) dart.nullFailed(I[108], 507, 26, "sink"); + if (windowBits == null) dart.nullFailed(I[108], 507, 36, "windowBits"); + if (raw == null) dart.nullFailed(I[108], 507, 76, "raw"); + io._ZLibDecoderSink.__proto__.new.call(this, sink, io.RawZLibFilter._makeZLibInflateFilter(windowBits, dictionary, raw)); + ; +}).prototype = io._ZLibDecoderSink.prototype; +dart.addTypeTests(io._ZLibDecoderSink); +dart.addTypeCaches(io._ZLibDecoderSink); +dart.setLibraryUri(io._ZLibDecoderSink, I[105]); +io.Directory = class Directory extends core.Object { + static new(path) { + if (path == null) dart.nullFailed(I[109], 112, 28, "path"); + let overrides = io.IOOverrides.current; + if (overrides == null) { + return new io._Directory.new(path); + } + return overrides.createDirectory(path); + } + static fromRawPath(path) { + if (path == null) dart.nullFailed(I[109], 121, 43, "path"); + return new io._Directory.fromRawPath(path); + } + static fromUri(uri) { + if (uri == null) dart.nullFailed(I[109], 129, 33, "uri"); + return io.Directory.new(uri.toFilePath()); + } + static get current() { + let overrides = io.IOOverrides.current; + if (overrides == null) { + return io._Directory.current; + } + return overrides.getCurrentDirectory(); + } + static set current(path) { + let overrides = io.IOOverrides.current; + if (overrides == null) { + io._Directory.current = path; + return; + } + overrides.setCurrentDirectory(core.String.as(path)); + } + static get systemTemp() { + let overrides = io.IOOverrides.current; + if (overrides == null) { + return io._Directory.systemTemp; + } + return overrides.getSystemTempDirectory(); + } +}; +(io.Directory[dart.mixinNew] = function() { +}).prototype = io.Directory.prototype; +dart.addTypeTests(io.Directory); +dart.addTypeCaches(io.Directory); +io.Directory[dart.implements] = () => [io.FileSystemEntity]; +dart.setLibraryUri(io.Directory, I[105]); +var _path$ = dart.privateName(io, "_Directory._path"); +var _rawPath = dart.privateName(io, "_Directory._rawPath"); +var _path$0 = dart.privateName(io, "_path"); +var _rawPath$ = dart.privateName(io, "_rawPath"); +var _isErrorResponse = dart.privateName(io, "_isErrorResponse"); +var _exceptionOrErrorFromResponse = dart.privateName(io, "_exceptionOrErrorFromResponse"); +var _absolutePath = dart.privateName(io, "_absolutePath"); +var _delete = dart.privateName(io, "_delete"); +var _deleteSync = dart.privateName(io, "_deleteSync"); +io.FileSystemEntity = class FileSystemEntity extends core.Object { + get uri() { + return core._Uri.file(this.path); + } + resolveSymbolicLinks() { + return io._File._dispatchWithNamespace(6, [null, this[_rawPath$]]).then(core.String, dart.fn(response => { + if (dart.test(io._isErrorResponse(response))) { + dart.throw(io._exceptionFromResponse(response, "Cannot resolve symbolic links", this.path)); + } + return T$0.FutureOrOfString().as(response); + }, T$0.dynamicToFutureOrOfString())); + } + resolveSymbolicLinksSync() { + let result = io.FileSystemEntity._resolveSymbolicLinks(io._Namespace._namespace, this[_rawPath$]); + io.FileSystemEntity._throwIfError(core.Object.as(result), "Cannot resolve symbolic links", this.path); + return core.String.as(result); + } + stat() { + return io.FileStat.stat(this.path); + } + statSync() { + return io.FileStat.statSync(this.path); + } + delete(opts) { + let recursive = opts && 'recursive' in opts ? opts.recursive : false; + if (recursive == null) dart.nullFailed(I[111], 390, 41, "recursive"); + return this[_delete]({recursive: recursive}); + } + deleteSync(opts) { + let recursive = opts && 'recursive' in opts ? opts.recursive : false; + if (recursive == null) dart.nullFailed(I[111], 407, 25, "recursive"); + return this[_deleteSync]({recursive: recursive}); + } + watch(opts) { + let events = opts && 'events' in opts ? opts.events : 15; + if (events == null) dart.nullFailed(I[111], 442, 12, "events"); + let recursive = opts && 'recursive' in opts ? opts.recursive : false; + if (recursive == null) dart.nullFailed(I[111], 442, 47, "recursive"); + let trimmedPath = io.FileSystemEntity._trimTrailingPathSeparators(this.path); + let overrides = io.IOOverrides.current; + if (overrides == null) { + return io._FileSystemWatcher._watch(trimmedPath, events, recursive); + } + return overrides.fsWatch(trimmedPath, events, recursive); + } + static _identical(path1, path2) { + if (path1 == null) dart.nullFailed(I[111], 455, 41, "path1"); + if (path2 == null) dart.nullFailed(I[111], 455, 55, "path2"); + return io._File._dispatchWithNamespace(28, [null, path1, path2]).then(core.bool, dart.fn(response => { + if (dart.test(io._isErrorResponse(response))) { + dart.throw(io._exceptionFromResponse(response, "Error in FileSystemEntity.identical(" + dart.str(path1) + ", " + dart.str(path2) + ")", "")); + } + return T$.FutureOrOfbool().as(response); + }, T$0.dynamicToFutureOrOfbool())); + } + static identical(path1, path2) { + if (path1 == null) dart.nullFailed(I[111], 478, 40, "path1"); + if (path2 == null) dart.nullFailed(I[111], 478, 54, "path2"); + let overrides = io.IOOverrides.current; + if (overrides == null) { + return io.FileSystemEntity._identical(path1, path2); + } + return overrides.fseIdentical(path1, path2); + } + get isAbsolute() { + return io.FileSystemEntity._isAbsolute(this.path); + } + static _isAbsolute(path) { + if (path == null) dart.nullFailed(I[111], 509, 34, "path"); + if (dart.test(io.Platform.isWindows)) { + return path[$startsWith](io.FileSystemEntity._absoluteWindowsPathPattern); + } else { + return path[$startsWith]("/"); + } + } + get [_absolutePath]() { + if (dart.test(this.isAbsolute)) return this.path; + if (dart.test(io.Platform.isWindows)) return io.FileSystemEntity._absoluteWindowsPath(this.path); + let current = io.Directory.current.path; + if (current[$endsWith]("/")) { + return dart.str(current) + dart.str(this.path); + } else { + return dart.str(current) + dart.str(io.Platform.pathSeparator) + dart.str(this.path); + } + } + static _windowsDriveLetter(path) { + if (path == null) dart.nullFailed(I[111], 544, 41, "path"); + if (path[$isEmpty] || !path[$startsWith](":", 1)) return -1; + let first = (path[$codeUnitAt](0) & ~32 >>> 0) >>> 0; + if (first >= 65 && first <= 91) return first; + return -1; + } + static _absoluteWindowsPath(path) { + if (path == null) dart.nullFailed(I[111], 552, 45, "path"); + if (!dart.test(io.Platform.isWindows)) dart.assertFailed(null, I[111], 553, 12, "Platform.isWindows"); + if (!!dart.test(io.FileSystemEntity._isAbsolute(path))) dart.assertFailed(null, I[111], 554, 12, "!_isAbsolute(path)"); + let current = io.Directory.current.path; + if (path[$startsWith]("\\")) { + if (!!path[$startsWith]("\\", 1)) dart.assertFailed(null, I[111], 559, 14, "!path.startsWith(r'\\', 1)"); + let currentDrive = io.FileSystemEntity._windowsDriveLetter(current); + if (dart.notNull(currentDrive) >= 0) { + return current[$_get](0) + ":" + dart.str(path); + } + if (current[$startsWith]("\\\\")) { + let serverEnd = current[$indexOf]("\\", 2); + if (serverEnd >= 0) { + let shareEnd = current[$indexOf]("\\", serverEnd + 1); + if (shareEnd < 0) shareEnd = current.length; + return current[$substring](0, shareEnd) + dart.str(path); + } + } + return path; + } + let entityDrive = io.FileSystemEntity._windowsDriveLetter(path); + if (dart.notNull(entityDrive) >= 0) { + if (entityDrive != io.FileSystemEntity._windowsDriveLetter(current)) { + return path[$_get](0) + ":\\" + dart.str(path); + } + path = path[$substring](2); + if (!!path[$startsWith]("\\\\")) dart.assertFailed(null, I[111], 596, 14, "!path.startsWith(r'\\\\')"); + } + if (current[$endsWith]("\\") || current[$endsWith]("/")) { + return dart.str(current) + dart.str(path); + } + return dart.str(current) + "\\" + dart.str(path); + } + static _identicalSync(path1, path2) { + if (path1 == null) dart.nullFailed(I[111], 604, 37, "path1"); + if (path2 == null) dart.nullFailed(I[111], 604, 51, "path2"); + let result = io.FileSystemEntity._identicalNative(io._Namespace._namespace, path1, path2); + io.FileSystemEntity._throwIfError(core.Object.as(result), "Error in FileSystemEntity.identicalSync"); + return core.bool.as(result); + } + static identicalSync(path1, path2) { + if (path1 == null) dart.nullFailed(I[111], 620, 36, "path1"); + if (path2 == null) dart.nullFailed(I[111], 620, 50, "path2"); + let overrides = io.IOOverrides.current; + if (overrides == null) { + return io.FileSystemEntity._identicalSync(path1, path2); + } + return overrides.fseIdenticalSync(path1, path2); + } + static get isWatchSupported() { + let overrides = io.IOOverrides.current; + if (overrides == null) { + return io._FileSystemWatcher.isSupported; + } + return overrides.fsWatchIsSupported(); + } + static _toUtf8Array(s) { + if (s == null) dart.nullFailed(I[111], 641, 40, "s"); + return io.FileSystemEntity._toNullTerminatedUtf8Array(convert.utf8.encoder.convert(s)); + } + static _toNullTerminatedUtf8Array(l) { + if (l == null) dart.nullFailed(I[111], 644, 57, "l"); + if (dart.test(l[$isNotEmpty]) && l[$last] !== 0) { + let tmp = _native_typed_data.NativeUint8List.new(dart.notNull(l[$length]) + 1); + tmp[$setRange](0, l[$length], l); + return tmp; + } else { + return l; + } + } + static _toStringFromUtf8Array(l) { + if (l == null) dart.nullFailed(I[111], 654, 50, "l"); + let nonNullTerminated = l; + if (l[$last] === 0) { + nonNullTerminated = typed_data.Uint8List.view(l[$buffer], l[$offsetInBytes], dart.notNull(l[$length]) - 1); + } + return convert.utf8.decode(nonNullTerminated, {allowMalformed: true}); + } + static type(path, opts) { + if (path == null) dart.nullFailed(I[111], 667, 51, "path"); + let followLinks = opts && 'followLinks' in opts ? opts.followLinks : true; + if (followLinks == null) dart.nullFailed(I[111], 668, 13, "followLinks"); + return io.FileSystemEntity._getType(io.FileSystemEntity._toUtf8Array(path), followLinks); + } + static typeSync(path, opts) { + if (path == null) dart.nullFailed(I[111], 679, 47, "path"); + let followLinks = opts && 'followLinks' in opts ? opts.followLinks : true; + if (followLinks == null) dart.nullFailed(I[111], 679, 59, "followLinks"); + return io.FileSystemEntity._getTypeSync(io.FileSystemEntity._toUtf8Array(path), followLinks); + } + static isLink(path) { + if (path == null) dart.nullFailed(I[111], 687, 37, "path"); + return io.FileSystemEntity._isLinkRaw(io.FileSystemEntity._toUtf8Array(path)); + } + static _isLinkRaw(rawPath) { + if (rawPath == null) dart.nullFailed(I[111], 689, 44, "rawPath"); + return io.FileSystemEntity._getType(rawPath, false).then(core.bool, dart.fn(type => { + if (type == null) dart.nullFailed(I[111], 690, 14, "type"); + return dart.equals(type, io.FileSystemEntityType.link); + }, T$0.FileSystemEntityTypeTobool())); + } + static isFile(path) { + if (path == null) dart.nullFailed(I[111], 695, 37, "path"); + return io.FileSystemEntity._getType(io.FileSystemEntity._toUtf8Array(path), true).then(core.bool, dart.fn(type => { + if (type == null) dart.nullFailed(I[111], 696, 14, "type"); + return dart.equals(type, io.FileSystemEntityType.file); + }, T$0.FileSystemEntityTypeTobool())); + } + static isDirectory(path) { + if (path == null) dart.nullFailed(I[111], 701, 42, "path"); + return io.FileSystemEntity._getType(io.FileSystemEntity._toUtf8Array(path), true).then(core.bool, dart.fn(type => { + if (type == null) dart.nullFailed(I[111], 703, 18, "type"); + return dart.equals(type, io.FileSystemEntityType.directory); + }, T$0.FileSystemEntityTypeTobool())); + } + static isLinkSync(path) { + if (path == null) dart.nullFailed(I[111], 709, 33, "path"); + return io.FileSystemEntity._isLinkRawSync(io.FileSystemEntity._toUtf8Array(path)); + } + static _isLinkRawSync(rawPath) { + return dart.equals(io.FileSystemEntity._getTypeSync(typed_data.Uint8List.as(rawPath), false), io.FileSystemEntityType.link); + } + static isFileSync(path) { + if (path == null) dart.nullFailed(I[111], 718, 33, "path"); + return dart.equals(io.FileSystemEntity._getTypeSync(io.FileSystemEntity._toUtf8Array(path), true), io.FileSystemEntityType.file); + } + static isDirectorySync(path) { + if (path == null) dart.nullFailed(I[111], 725, 38, "path"); + return dart.equals(io.FileSystemEntity._getTypeSync(io.FileSystemEntity._toUtf8Array(path), true), io.FileSystemEntityType.directory); + } + static _getTypeNative(namespace, rawPath, followLinks) { + if (namespace == null) dart.nullFailed(I[107], 93, 18, "namespace"); + if (rawPath == null) dart.nullFailed(I[107], 93, 39, "rawPath"); + if (followLinks == null) dart.nullFailed(I[107], 93, 53, "followLinks"); + dart.throw(new core.UnsupportedError.new("FileSystemEntity._getType")); + } + static _identicalNative(namespace, path1, path2) { + if (namespace == null) dart.nullFailed(I[107], 98, 38, "namespace"); + if (path1 == null) dart.nullFailed(I[107], 98, 56, "path1"); + if (path2 == null) dart.nullFailed(I[107], 98, 70, "path2"); + dart.throw(new core.UnsupportedError.new("FileSystemEntity._identical")); + } + static _resolveSymbolicLinks(namespace, rawPath) { + if (namespace == null) dart.nullFailed(I[107], 103, 43, "namespace"); + if (rawPath == null) dart.nullFailed(I[107], 103, 64, "rawPath"); + dart.throw(new core.UnsupportedError.new("FileSystemEntity._resolveSymbolicLinks")); + } + static parentOf(path) { + if (path == null) dart.nullFailed(I[111], 749, 33, "path"); + let rootEnd = -1; + if (dart.test(io.Platform.isWindows)) { + if (path[$startsWith](io.FileSystemEntity._absoluteWindowsPathPattern)) { + rootEnd = path[$indexOf](core.RegExp.new("[/\\\\]"), 2); + if (rootEnd === -1) return path; + } else if (path[$startsWith]("\\") || path[$startsWith]("/")) { + rootEnd = 0; + } + } else if (path[$startsWith]("/")) { + rootEnd = 0; + } + let pos = path[$lastIndexOf](io.FileSystemEntity._parentRegExp); + if (pos > rootEnd) { + return path[$substring](0, pos + 1); + } else if (rootEnd > -1) { + return path[$substring](0, rootEnd + 1); + } else { + return "."; + } + } + get parent() { + return io.Directory.new(io.FileSystemEntity.parentOf(this.path)); + } + static _getTypeSyncHelper(rawPath, followLinks) { + if (rawPath == null) dart.nullFailed(I[111], 778, 17, "rawPath"); + if (followLinks == null) dart.nullFailed(I[111], 778, 31, "followLinks"); + let result = io.FileSystemEntity._getTypeNative(io._Namespace._namespace, rawPath, followLinks); + io.FileSystemEntity._throwIfError(core.Object.as(result), "Error getting type of FileSystemEntity"); + return io.FileSystemEntityType._lookup(core.int.as(result)); + } + static _getTypeSync(rawPath, followLinks) { + if (rawPath == null) dart.nullFailed(I[111], 785, 17, "rawPath"); + if (followLinks == null) dart.nullFailed(I[111], 785, 31, "followLinks"); + let overrides = io.IOOverrides.current; + if (overrides == null) { + return io.FileSystemEntity._getTypeSyncHelper(rawPath, followLinks); + } + return overrides.fseGetTypeSync(convert.utf8.decode(rawPath, {allowMalformed: true}), followLinks); + } + static _getTypeRequest(rawPath, followLinks) { + if (rawPath == null) dart.nullFailed(I[111], 795, 17, "rawPath"); + if (followLinks == null) dart.nullFailed(I[111], 795, 31, "followLinks"); + return io._File._dispatchWithNamespace(27, [null, rawPath, followLinks]).then(io.FileSystemEntityType, dart.fn(response => { + if (dart.test(io._isErrorResponse(response))) { + dart.throw(io._exceptionFromResponse(response, "Error getting type", convert.utf8.decode(rawPath, {allowMalformed: true}))); + } + return io.FileSystemEntityType._lookup(core.int.as(response)); + }, T$0.dynamicToFileSystemEntityType())); + } + static _getType(rawPath, followLinks) { + if (rawPath == null) dart.nullFailed(I[111], 807, 17, "rawPath"); + if (followLinks == null) dart.nullFailed(I[111], 807, 31, "followLinks"); + let overrides = io.IOOverrides.current; + if (overrides == null) { + return io.FileSystemEntity._getTypeRequest(rawPath, followLinks); + } + return overrides.fseGetType(convert.utf8.decode(rawPath, {allowMalformed: true}), followLinks); + } + static _throwIfError(result, msg, path = null) { + if (result == null) dart.nullFailed(I[111], 816, 31, "result"); + if (msg == null) dart.nullFailed(I[111], 816, 46, "msg"); + if (io.OSError.is(result)) { + dart.throw(new io.FileSystemException.new(msg, path, result)); + } else if (core.ArgumentError.is(result)) { + dart.throw(result); + } + } + static _trimTrailingPathSeparators(path) { + if (path == null) dart.nullFailed(I[111], 825, 52, "path"); + core.ArgumentError.checkNotNull(core.String, path, "path"); + if (dart.test(io.Platform.isWindows)) { + while (path.length > 1 && (path[$endsWith](io.Platform.pathSeparator) || path[$endsWith]("/"))) { + path = path[$substring](0, path.length - 1); + } + } else { + while (path.length > 1 && path[$endsWith](io.Platform.pathSeparator)) { + path = path[$substring](0, path.length - 1); + } + } + return path; + } + static _ensureTrailingPathSeparators(path) { + if (path == null) dart.nullFailed(I[111], 842, 54, "path"); + if (path[$isEmpty]) path = "."; + if (dart.test(io.Platform.isWindows)) { + while (!path[$endsWith](io.Platform.pathSeparator) && !path[$endsWith]("/")) { + path = dart.str(path) + dart.str(io.Platform.pathSeparator); + } + } else { + while (!path[$endsWith](io.Platform.pathSeparator)) { + path = dart.str(path) + dart.str(io.Platform.pathSeparator); + } + } + return path; + } +}; +(io.FileSystemEntity.new = function() { + ; +}).prototype = io.FileSystemEntity.prototype; +dart.addTypeTests(io.FileSystemEntity); +dart.addTypeCaches(io.FileSystemEntity); +dart.setMethodSignature(io.FileSystemEntity, () => ({ + __proto__: dart.getMethods(io.FileSystemEntity.__proto__), + resolveSymbolicLinks: dart.fnType(async.Future$(core.String), []), + resolveSymbolicLinksSync: dart.fnType(core.String, []), + stat: dart.fnType(async.Future$(io.FileStat), []), + statSync: dart.fnType(io.FileStat, []), + delete: dart.fnType(async.Future$(io.FileSystemEntity), [], {recursive: core.bool}, {}), + deleteSync: dart.fnType(dart.void, [], {recursive: core.bool}, {}), + watch: dart.fnType(async.Stream$(io.FileSystemEvent), [], {events: core.int, recursive: core.bool}, {}) +})); +dart.setGetterSignature(io.FileSystemEntity, () => ({ + __proto__: dart.getGetters(io.FileSystemEntity.__proto__), + uri: core.Uri, + isAbsolute: core.bool, + [_absolutePath]: core.String, + parent: io.Directory +})); +dart.setLibraryUri(io.FileSystemEntity, I[105]); +dart.defineLazy(io.FileSystemEntity, { + /*io.FileSystemEntity._backslashChar*/get _backslashChar() { + return 92; + }, + /*io.FileSystemEntity._slashChar*/get _slashChar() { + return 47; + }, + /*io.FileSystemEntity._colonChar*/get _colonChar() { + return 58; + }, + /*io.FileSystemEntity._absoluteWindowsPathPattern*/get _absoluteWindowsPathPattern() { + return core.RegExp.new("^(?:\\\\\\\\|[a-zA-Z]:[/\\\\])"); + }, + /*io.FileSystemEntity._parentRegExp*/get _parentRegExp() { + return dart.test(io.Platform.isWindows) ? core.RegExp.new("[^/\\\\][/\\\\]+[^/\\\\]") : core.RegExp.new("[^/]/+[^/]"); + } +}, false); +io._Directory = class _Directory extends io.FileSystemEntity { + get [_path$0]() { + return this[_path$]; + } + set [_path$0](value) { + super[_path$0] = value; + } + get [_rawPath$]() { + return this[_rawPath]; + } + set [_rawPath$](value) { + super[_rawPath$] = value; + } + get path() { + return this[_path$0]; + } + static _current(namespace) { + if (namespace == null) dart.nullFailed(I[107], 14, 30, "namespace"); + dart.throw(new core.UnsupportedError.new("Directory._current")); + } + static _setCurrent(namespace, rawPath) { + if (namespace == null) dart.nullFailed(I[107], 19, 33, "namespace"); + if (rawPath == null) dart.nullFailed(I[107], 19, 54, "rawPath"); + dart.throw(new core.UnsupportedError.new("Directory_SetCurrent")); + } + static _createTemp(namespace, rawPath) { + if (namespace == null) dart.nullFailed(I[107], 24, 33, "namespace"); + if (rawPath == null) dart.nullFailed(I[107], 24, 54, "rawPath"); + dart.throw(new core.UnsupportedError.new("Directory._createTemp")); + } + static _systemTemp(namespace) { + if (namespace == null) dart.nullFailed(I[107], 29, 40, "namespace"); + dart.throw(new core.UnsupportedError.new("Directory._systemTemp")); + } + static _exists(namespace, rawPath) { + if (namespace == null) dart.nullFailed(I[107], 34, 29, "namespace"); + if (rawPath == null) dart.nullFailed(I[107], 34, 50, "rawPath"); + dart.throw(new core.UnsupportedError.new("Directory._exists")); + } + static _create(namespace, rawPath) { + if (namespace == null) dart.nullFailed(I[107], 39, 29, "namespace"); + if (rawPath == null) dart.nullFailed(I[107], 39, 50, "rawPath"); + dart.throw(new core.UnsupportedError.new("Directory._create")); + } + static _deleteNative(namespace, rawPath, recursive) { + if (namespace == null) dart.nullFailed(I[107], 45, 18, "namespace"); + if (rawPath == null) dart.nullFailed(I[107], 45, 39, "rawPath"); + if (recursive == null) dart.nullFailed(I[107], 45, 53, "recursive"); + dart.throw(new core.UnsupportedError.new("Directory._deleteNative")); + } + static _rename(namespace, rawPath, newPath) { + if (namespace == null) dart.nullFailed(I[107], 50, 29, "namespace"); + if (rawPath == null) dart.nullFailed(I[107], 50, 50, "rawPath"); + if (newPath == null) dart.nullFailed(I[107], 50, 66, "newPath"); + dart.throw(new core.UnsupportedError.new("Directory._rename")); + } + static _fillWithDirectoryListing(namespace, list, rawPath, recursive, followLinks) { + if (namespace == null) dart.nullFailed(I[107], 56, 18, "namespace"); + if (list == null) dart.nullFailed(I[107], 57, 30, "list"); + if (rawPath == null) dart.nullFailed(I[107], 58, 17, "rawPath"); + if (recursive == null) dart.nullFailed(I[107], 59, 12, "recursive"); + if (followLinks == null) dart.nullFailed(I[107], 60, 12, "followLinks"); + dart.throw(new core.UnsupportedError.new("Directory._fillWithDirectoryListing")); + } + static get current() { + let result = io._Directory._current(io._Namespace._namespace); + if (io.OSError.is(result)) { + dart.throw(new io.FileSystemException.new("Getting current working directory failed", "", result)); + } + return new io._Directory.new(core.String.as(result)); + } + static set current(path) { + let _rawPath = null; + let _rawPath$35isSet = false; + function _rawPath$35get() { + return _rawPath$35isSet ? _rawPath : dart.throw(new _internal.LateError.localNI("_rawPath")); + } + dart.fn(_rawPath$35get, T$0.VoidToUint8List()); + function _rawPath$35set(t185) { + if (t185 == null) dart.nullFailed(I[110], 49, 20, "null"); + _rawPath$35isSet = true; + return _rawPath = t185; + } + dart.fn(_rawPath$35set, T$0.Uint8ListTodynamic()); + if (io._Directory.is(path)) { + _rawPath$35set(path[_rawPath$]); + } else if (io.Directory.is(path)) { + _rawPath$35set(io.FileSystemEntity._toUtf8Array(path.path)); + } else if (typeof path == 'string') { + _rawPath$35set(io.FileSystemEntity._toUtf8Array(path)); + } else { + dart.throw(new core.ArgumentError.new(dart.str(core.Error.safeToString(path)) + " is not a String or" + " Directory")); + } + if (!dart.test(io._EmbedderConfig._mayChdir)) { + dart.throw(new core.UnsupportedError.new("This embedder disallows setting Directory.current")); + } + let result = io._Directory._setCurrent(io._Namespace._namespace, _rawPath$35get()); + if (core.ArgumentError.is(result)) dart.throw(result); + if (io.OSError.is(result)) { + dart.throw(new io.FileSystemException.new("Setting current working directory failed", dart.toString(path), result)); + } + } + get uri() { + return core._Uri.directory(this.path); + } + exists() { + return io._File._dispatchWithNamespace(36, [null, this[_rawPath$]]).then(core.bool, dart.fn(response => { + if (dart.test(this[_isErrorResponse](response))) { + dart.throw(this[_exceptionOrErrorFromResponse](response, "Exists failed")); + } + return dart.equals(response, 1); + }, T$0.dynamicTobool())); + } + existsSync() { + let result = io._Directory._exists(io._Namespace._namespace, this[_rawPath$]); + if (io.OSError.is(result)) { + dart.throw(new io.FileSystemException.new("Exists failed", this.path, result)); + } + return dart.equals(result, 1); + } + get absolute() { + return io.Directory.new(this[_absolutePath]); + } + create(opts) { + let recursive = opts && 'recursive' in opts ? opts.recursive : false; + if (recursive == null) dart.nullFailed(I[110], 101, 34, "recursive"); + if (dart.test(recursive)) { + return this.exists().then(io.Directory, dart.fn(exists => { + if (exists == null) dart.nullFailed(I[110], 103, 29, "exists"); + if (dart.test(exists)) return this; + if (this.path != this.parent.path) { + return this.parent.create({recursive: true}).then(io.Directory, dart.fn(_ => { + if (_ == null) dart.nullFailed(I[110], 106, 55, "_"); + return this.create(); + }, T$0.DirectoryToFutureOfDirectory())); + } else { + return this.create(); + } + }, T$0.boolToFutureOrOfDirectory())); + } else { + return io._File._dispatchWithNamespace(34, [null, this[_rawPath$]]).then(io.Directory, dart.fn(response => { + if (dart.test(this[_isErrorResponse](response))) { + dart.throw(this[_exceptionOrErrorFromResponse](response, "Creation failed")); + } + return this; + }, T$0.dynamicTo_Directory())); + } + } + createSync(opts) { + let recursive = opts && 'recursive' in opts ? opts.recursive : false; + if (recursive == null) dart.nullFailed(I[110], 124, 25, "recursive"); + if (dart.test(recursive)) { + if (dart.test(this.existsSync())) return; + if (this.path != this.parent.path) { + this.parent.createSync({recursive: true}); + } + } + let result = io._Directory._create(io._Namespace._namespace, this[_rawPath$]); + if (io.OSError.is(result)) { + dart.throw(new io.FileSystemException.new("Creation failed", this.path, result)); + } + } + static get systemTemp() { + return io.Directory.new(io._Directory._systemTemp(io._Namespace._namespace)); + } + createTemp(prefix = null) { + prefix == null ? prefix = "" : null; + if (this.path === "") { + dart.throw(new core.ArgumentError.new("Directory.createTemp called with an empty path. " + "To use the system temp directory, use Directory.systemTemp")); + } + let fullPrefix = null; + if (this.path[$endsWith]("/") || dart.test(io.Platform.isWindows) && this.path[$endsWith]("\\")) { + fullPrefix = dart.str(this.path) + dart.str(prefix); + } else { + fullPrefix = dart.str(this.path) + dart.str(io.Platform.pathSeparator) + dart.str(prefix); + } + return io._File._dispatchWithNamespace(37, [null, io.FileSystemEntity._toUtf8Array(fullPrefix)]).then(io.Directory, dart.fn(response => { + if (dart.test(this[_isErrorResponse](response))) { + dart.throw(this[_exceptionOrErrorFromResponse](response, "Creation of temporary directory failed")); + } + return io.Directory.new(core.String.as(response)); + }, T$0.dynamicToDirectory())); + } + createTempSync(prefix = null) { + prefix == null ? prefix = "" : null; + if (this.path === "") { + dart.throw(new core.ArgumentError.new("Directory.createTemp called with an empty path. " + "To use the system temp directory, use Directory.systemTemp")); + } + let fullPrefix = null; + if (this.path[$endsWith]("/") || dart.test(io.Platform.isWindows) && this.path[$endsWith]("\\")) { + fullPrefix = dart.str(this.path) + dart.str(prefix); + } else { + fullPrefix = dart.str(this.path) + dart.str(io.Platform.pathSeparator) + dart.str(prefix); + } + let result = io._Directory._createTemp(io._Namespace._namespace, io.FileSystemEntity._toUtf8Array(fullPrefix)); + if (io.OSError.is(result)) { + dart.throw(new io.FileSystemException.new("Creation of temporary directory failed", fullPrefix, result)); + } + return io.Directory.new(core.String.as(result)); + } + [_delete](opts) { + let recursive = opts && 'recursive' in opts ? opts.recursive : false; + if (recursive == null) dart.nullFailed(I[110], 187, 35, "recursive"); + return io._File._dispatchWithNamespace(35, [null, this[_rawPath$], recursive]).then(io.Directory, dart.fn(response => { + if (dart.test(this[_isErrorResponse](response))) { + dart.throw(this[_exceptionOrErrorFromResponse](response, "Deletion failed")); + } + return this; + }, T$0.dynamicTo_Directory())); + } + [_deleteSync](opts) { + let recursive = opts && 'recursive' in opts ? opts.recursive : false; + if (recursive == null) dart.nullFailed(I[110], 198, 26, "recursive"); + let result = io._Directory._deleteNative(io._Namespace._namespace, this[_rawPath$], recursive); + if (io.OSError.is(result)) { + dart.throw(new io.FileSystemException.new("Deletion failed", this.path, result)); + } + } + rename(newPath) { + if (newPath == null) dart.nullFailed(I[110], 205, 35, "newPath"); + return io._File._dispatchWithNamespace(41, [null, this[_rawPath$], newPath]).then(io.Directory, dart.fn(response => { + if (dart.test(this[_isErrorResponse](response))) { + dart.throw(this[_exceptionOrErrorFromResponse](response, "Rename failed")); + } + return io.Directory.new(newPath); + }, T$0.dynamicToDirectory())); + } + renameSync(newPath) { + if (newPath == null) dart.nullFailed(I[110], 215, 31, "newPath"); + core.ArgumentError.checkNotNull(core.String, newPath, "newPath"); + let result = io._Directory._rename(io._Namespace._namespace, this[_rawPath$], newPath); + if (io.OSError.is(result)) { + dart.throw(new io.FileSystemException.new("Rename failed", this.path, result)); + } + return io.Directory.new(newPath); + } + list(opts) { + let recursive = opts && 'recursive' in opts ? opts.recursive : false; + if (recursive == null) dart.nullFailed(I[110], 226, 13, "recursive"); + let followLinks = opts && 'followLinks' in opts ? opts.followLinks : true; + if (followLinks == null) dart.nullFailed(I[110], 226, 37, "followLinks"); + return new io._AsyncDirectoryLister.new(io.FileSystemEntity._toUtf8Array(io.FileSystemEntity._ensureTrailingPathSeparators(this.path)), recursive, followLinks).stream; + } + listSync(opts) { + let recursive = opts && 'recursive' in opts ? opts.recursive : false; + if (recursive == null) dart.nullFailed(I[110], 238, 13, "recursive"); + let followLinks = opts && 'followLinks' in opts ? opts.followLinks : true; + if (followLinks == null) dart.nullFailed(I[110], 238, 37, "followLinks"); + core.ArgumentError.checkNotNull(core.bool, recursive, "recursive"); + core.ArgumentError.checkNotNull(core.bool, followLinks, "followLinks"); + let result = T$0.JSArrayOfFileSystemEntity().of([]); + io._Directory._fillWithDirectoryListing(io._Namespace._namespace, result, io.FileSystemEntity._toUtf8Array(io.FileSystemEntity._ensureTrailingPathSeparators(this.path)), recursive, followLinks); + return result; + } + toString() { + return "Directory: '" + dart.str(this.path) + "'"; + } + [_isErrorResponse](response) { + return core.List.is(response) && !dart.equals(response[$_get](0), 0); + } + [_exceptionOrErrorFromResponse](response, message) { + if (message == null) dart.nullFailed(I[110], 260, 50, "message"); + if (!dart.test(this[_isErrorResponse](response))) dart.assertFailed(null, I[110], 261, 12, "_isErrorResponse(response)"); + switch (dart.dsend(response, '_get', [0])) { + case 1: + { + return new core.ArgumentError.new(); + } + case 2: + { + let err = new io.OSError.new(core.String.as(dart.dsend(response, '_get', [2])), core.int.as(dart.dsend(response, '_get', [1]))); + return new io.FileSystemException.new(message, this.path, err); + } + default: + { + return core.Exception.new("Unknown error"); + } + } + } + static _checkNotNull(T, t, name) { + if (name == null) dart.nullFailed(I[110], 275, 41, "name"); + core.ArgumentError.checkNotNull(T, t, name); + return t; + } +}; +(io._Directory.new = function(path) { + if (path == null) dart.nullFailed(I[110], 11, 21, "path"); + this[_path$] = io._Directory._checkNotNull(core.String, path, "path"); + this[_rawPath] = io.FileSystemEntity._toUtf8Array(path); + ; +}).prototype = io._Directory.prototype; +(io._Directory.fromRawPath = function(rawPath) { + if (rawPath == null) dart.nullFailed(I[110], 15, 36, "rawPath"); + this[_rawPath] = io.FileSystemEntity._toNullTerminatedUtf8Array(io._Directory._checkNotNull(typed_data.Uint8List, rawPath, "rawPath")); + this[_path$] = io.FileSystemEntity._toStringFromUtf8Array(rawPath); + ; +}).prototype = io._Directory.prototype; +dart.addTypeTests(io._Directory); +dart.addTypeCaches(io._Directory); +io._Directory[dart.implements] = () => [io.Directory]; +dart.setMethodSignature(io._Directory, () => ({ + __proto__: dart.getMethods(io._Directory.__proto__), + exists: dart.fnType(async.Future$(core.bool), []), + existsSync: dart.fnType(core.bool, []), + create: dart.fnType(async.Future$(io.Directory), [], {recursive: core.bool}, {}), + createSync: dart.fnType(dart.void, [], {recursive: core.bool}, {}), + createTemp: dart.fnType(async.Future$(io.Directory), [], [dart.nullable(core.String)]), + createTempSync: dart.fnType(io.Directory, [], [dart.nullable(core.String)]), + [_delete]: dart.fnType(async.Future$(io.Directory), [], {recursive: core.bool}, {}), + [_deleteSync]: dart.fnType(dart.void, [], {recursive: core.bool}, {}), + rename: dart.fnType(async.Future$(io.Directory), [core.String]), + renameSync: dart.fnType(io.Directory, [core.String]), + list: dart.fnType(async.Stream$(io.FileSystemEntity), [], {followLinks: core.bool, recursive: core.bool}, {}), + listSync: dart.fnType(core.List$(io.FileSystemEntity), [], {followLinks: core.bool, recursive: core.bool}, {}), + [_isErrorResponse]: dart.fnType(core.bool, [dart.dynamic]), + [_exceptionOrErrorFromResponse]: dart.fnType(dart.dynamic, [dart.dynamic, core.String]) +})); +dart.setGetterSignature(io._Directory, () => ({ + __proto__: dart.getGetters(io._Directory.__proto__), + path: core.String, + absolute: io.Directory +})); +dart.setLibraryUri(io._Directory, I[105]); +dart.setFieldSignature(io._Directory, () => ({ + __proto__: dart.getFields(io._Directory.__proto__), + [_path$0]: dart.finalFieldType(core.String), + [_rawPath$]: dart.finalFieldType(typed_data.Uint8List) +})); +dart.defineExtensionMethods(io._Directory, ['toString']); +io._AsyncDirectoryListerOps = class _AsyncDirectoryListerOps extends core.Object { + static new(pointer) { + if (pointer == null) dart.nullFailed(I[107], 68, 40, "pointer"); + dart.throw(new core.UnsupportedError.new("Directory._list")); + } +}; +(io._AsyncDirectoryListerOps[dart.mixinNew] = function() { +}).prototype = io._AsyncDirectoryListerOps.prototype; +dart.addTypeTests(io._AsyncDirectoryListerOps); +dart.addTypeCaches(io._AsyncDirectoryListerOps); +dart.setLibraryUri(io._AsyncDirectoryListerOps, I[105]); +var _ops = dart.privateName(io, "_ops"); +var _pointer = dart.privateName(io, "_pointer"); +var _cleanup = dart.privateName(io, "_cleanup"); +io._AsyncDirectoryLister = class _AsyncDirectoryLister extends core.Object { + [_pointer]() { + let t187; + t187 = this[_ops]; + return t187 == null ? null : t187.getPointer(); + } + get stream() { + return this.controller.stream; + } + onListen() { + io._File._dispatchWithNamespace(38, [null, this.rawPath, this.recursive, this.followLinks]).then(core.Null, dart.fn(response => { + if (core.int.is(response)) { + this[_ops] = io._AsyncDirectoryListerOps.new(response); + this.next(); + } else if (core.Error.is(response)) { + this.controller.addError(response, response[$stackTrace]); + this.close(); + } else { + this.error(response); + this.close(); + } + }, T$.dynamicToNull())); + } + onResume() { + if (!dart.test(this.nextRunning)) { + this.next(); + } + } + onCancel() { + this.canceled = true; + if (!dart.test(this.nextRunning)) { + this.close(); + } + return this.closeCompleter.future; + } + next() { + if (dart.test(this.canceled)) { + this.close(); + return; + } + if (dart.test(this.controller.isPaused) || dart.test(this.nextRunning)) { + return; + } + let pointer = this[_pointer](); + if (pointer == null) { + return; + } + this.nextRunning = true; + io._IOService._dispatch(39, [pointer]).then(core.Null, dart.fn(result => { + let t187; + this.nextRunning = false; + if (core.List.is(result)) { + this.next(); + if (!(result[$length][$modulo](2) === 0)) dart.assertFailed(null, I[110], 378, 16, "result.length % 2 == 0"); + for (let i = 0; i < dart.notNull(result[$length]); i = i + 1) { + if (!(i[$modulo](2) === 0)) dart.assertFailed(null, I[110], 380, 18, "i % 2 == 0"); + switch (result[$_get]((t187 = i, i = t187 + 1, t187))) { + case 0: + { + this.controller.add(io.File.fromRawPath(typed_data.Uint8List.as(result[$_get](i)))); + break; + } + case 1: + { + this.controller.add(io.Directory.fromRawPath(typed_data.Uint8List.as(result[$_get](i)))); + break; + } + case 2: + { + this.controller.add(io.Link.fromRawPath(typed_data.Uint8List.as(result[$_get](i)))); + break; + } + case 3: + { + this.error(result[$_get](i)); + break; + } + case 4: + { + this.canceled = true; + return; + } + } + } + } else { + this.controller.addError(new io.FileSystemException.new("Internal error")); + } + }, T$.dynamicToNull())); + } + [_cleanup]() { + this.controller.close(); + this.closeCompleter.complete(); + this[_ops] = null; + } + close() { + if (dart.test(this.closed)) { + return; + } + if (dart.test(this.nextRunning)) { + return; + } + this.closed = true; + let pointer = this[_pointer](); + if (pointer == null) { + this[_cleanup](); + } else { + io._IOService._dispatch(40, [pointer]).whenComplete(dart.bind(this, _cleanup)); + } + } + error(message) { + let errorType = dart.dsend(dart.dsend(message, '_get', [2]), '_get', [0]); + if (dart.equals(errorType, 1)) { + this.controller.addError(new core.ArgumentError.new()); + } else if (dart.equals(errorType, 2)) { + let responseErrorInfo = dart.dsend(message, '_get', [2]); + let err = new io.OSError.new(core.String.as(dart.dsend(responseErrorInfo, '_get', [2])), core.int.as(dart.dsend(responseErrorInfo, '_get', [1]))); + let errorPath = dart.dsend(message, '_get', [1]); + if (errorPath == null) { + errorPath = convert.utf8.decode(this.rawPath, {allowMalformed: true}); + } else if (typed_data.Uint8List.is(errorPath)) { + errorPath = convert.utf8.decode(T$0.ListOfint().as(dart.dsend(message, '_get', [1])), {allowMalformed: true}); + } + this.controller.addError(new io.FileSystemException.new("Directory listing failed", T$.StringN().as(errorPath), err)); + } else { + this.controller.addError(new io.FileSystemException.new("Internal error")); + } + } +}; +(io._AsyncDirectoryLister.new = function(rawPath, recursive, followLinks) { + let t187; + if (rawPath == null) dart.nullFailed(I[110], 310, 30, "rawPath"); + if (recursive == null) dart.nullFailed(I[110], 310, 44, "recursive"); + if (followLinks == null) dart.nullFailed(I[110], 310, 60, "followLinks"); + this.controller = T$0.StreamControllerOfFileSystemEntity().new({sync: true}); + this.canceled = false; + this.nextRunning = false; + this.closed = false; + this[_ops] = null; + this.closeCompleter = async.Completer.new(); + this.rawPath = rawPath; + this.recursive = recursive; + this.followLinks = followLinks; + t187 = this.controller; + (() => { + t187.onListen = dart.bind(this, 'onListen'); + t187.onResume = dart.bind(this, 'onResume'); + t187.onCancel = dart.bind(this, 'onCancel'); + return t187; + })(); +}).prototype = io._AsyncDirectoryLister.prototype; +dart.addTypeTests(io._AsyncDirectoryLister); +dart.addTypeCaches(io._AsyncDirectoryLister); +dart.setMethodSignature(io._AsyncDirectoryLister, () => ({ + __proto__: dart.getMethods(io._AsyncDirectoryLister.__proto__), + [_pointer]: dart.fnType(dart.nullable(core.int), []), + onListen: dart.fnType(dart.void, []), + onResume: dart.fnType(dart.void, []), + onCancel: dart.fnType(async.Future, []), + next: dart.fnType(dart.void, []), + [_cleanup]: dart.fnType(dart.void, []), + close: dart.fnType(dart.void, []), + error: dart.fnType(dart.void, [dart.dynamic]) +})); +dart.setGetterSignature(io._AsyncDirectoryLister, () => ({ + __proto__: dart.getGetters(io._AsyncDirectoryLister.__proto__), + stream: async.Stream$(io.FileSystemEntity) +})); +dart.setLibraryUri(io._AsyncDirectoryLister, I[105]); +dart.setFieldSignature(io._AsyncDirectoryLister, () => ({ + __proto__: dart.getFields(io._AsyncDirectoryLister.__proto__), + rawPath: dart.finalFieldType(typed_data.Uint8List), + recursive: dart.finalFieldType(core.bool), + followLinks: dart.finalFieldType(core.bool), + controller: dart.finalFieldType(async.StreamController$(io.FileSystemEntity)), + canceled: dart.fieldType(core.bool), + nextRunning: dart.fieldType(core.bool), + closed: dart.fieldType(core.bool), + [_ops]: dart.fieldType(dart.nullable(io._AsyncDirectoryListerOps)), + closeCompleter: dart.fieldType(async.Completer) +})); +dart.defineLazy(io._AsyncDirectoryLister, { + /*io._AsyncDirectoryLister.listFile*/get listFile() { + return 0; + }, + /*io._AsyncDirectoryLister.listDirectory*/get listDirectory() { + return 1; + }, + /*io._AsyncDirectoryLister.listLink*/get listLink() { + return 2; + }, + /*io._AsyncDirectoryLister.listError*/get listError() { + return 3; + }, + /*io._AsyncDirectoryLister.listDone*/get listDone() { + return 4; + }, + /*io._AsyncDirectoryLister.responseType*/get responseType() { + return 0; + }, + /*io._AsyncDirectoryLister.responsePath*/get responsePath() { + return 1; + }, + /*io._AsyncDirectoryLister.responseComplete*/get responseComplete() { + return 1; + }, + /*io._AsyncDirectoryLister.responseError*/get responseError() { + return 2; + } +}, false); +io._EmbedderConfig = class _EmbedderConfig extends core.Object { + static _setDomainPolicies(domainNetworkPolicyJson) { + if (domainNetworkPolicyJson == null) dart.nullFailed(I[112], 44, 41, "domainNetworkPolicyJson"); + io._domainPolicies = io._constructDomainPolicies(domainNetworkPolicyJson); + } +}; +(io._EmbedderConfig.new = function() { + ; +}).prototype = io._EmbedderConfig.prototype; +dart.addTypeTests(io._EmbedderConfig); +dart.addTypeCaches(io._EmbedderConfig); +dart.setLibraryUri(io._EmbedderConfig, I[105]); +dart.defineLazy(io._EmbedderConfig, { + /*io._EmbedderConfig._mayChdir*/get _mayChdir() { + return true; + }, + set _mayChdir(_) {}, + /*io._EmbedderConfig._mayExit*/get _mayExit() { + return true; + }, + set _mayExit(_) {}, + /*io._EmbedderConfig._maySetEchoMode*/get _maySetEchoMode() { + return true; + }, + set _maySetEchoMode(_) {}, + /*io._EmbedderConfig._maySetLineMode*/get _maySetLineMode() { + return true; + }, + set _maySetLineMode(_) {}, + /*io._EmbedderConfig._maySleep*/get _maySleep() { + return true; + }, + set _maySleep(_) {}, + /*io._EmbedderConfig._mayInsecurelyConnectToAllDomains*/get _mayInsecurelyConnectToAllDomains() { + return true; + }, + set _mayInsecurelyConnectToAllDomains(_) {} +}, false); +io._EventHandler = class _EventHandler extends core.Object { + static _sendData(sender, sendPort, data) { + if (sendPort == null) dart.nullFailed(I[107], 76, 50, "sendPort"); + if (data == null) dart.nullFailed(I[107], 76, 64, "data"); + dart.throw(new core.UnsupportedError.new("EventHandler._sendData")); + } +}; +(io._EventHandler.new = function() { + ; +}).prototype = io._EventHandler.prototype; +dart.addTypeTests(io._EventHandler); +dart.addTypeCaches(io._EventHandler); +dart.setLibraryUri(io._EventHandler, I[105]); +var _mode$ = dart.privateName(io, "FileMode._mode"); +var _mode = dart.privateName(io, "_mode"); +io.FileMode = class FileMode extends core.Object { + get [_mode]() { + return this[_mode$]; + } + set [_mode](value) { + super[_mode] = value; + } +}; +(io.FileMode._internal = function(_mode) { + if (_mode == null) dart.nullFailed(I[113], 42, 33, "_mode"); + this[_mode$] = _mode; + ; +}).prototype = io.FileMode.prototype; +dart.addTypeTests(io.FileMode); +dart.addTypeCaches(io.FileMode); +dart.setLibraryUri(io.FileMode, I[105]); +dart.setFieldSignature(io.FileMode, () => ({ + __proto__: dart.getFields(io.FileMode.__proto__), + [_mode]: dart.finalFieldType(core.int) +})); +dart.defineLazy(io.FileMode, { + /*io.FileMode.read*/get read() { + return C[109] || CT.C109; + }, + /*io.FileMode.READ*/get READ() { + return C[109] || CT.C109; + }, + /*io.FileMode.write*/get write() { + return C[110] || CT.C110; + }, + /*io.FileMode.WRITE*/get WRITE() { + return C[110] || CT.C110; + }, + /*io.FileMode.append*/get append() { + return C[111] || CT.C111; + }, + /*io.FileMode.APPEND*/get APPEND() { + return C[111] || CT.C111; + }, + /*io.FileMode.writeOnly*/get writeOnly() { + return C[112] || CT.C112; + }, + /*io.FileMode.WRITE_ONLY*/get WRITE_ONLY() { + return C[112] || CT.C112; + }, + /*io.FileMode.writeOnlyAppend*/get writeOnlyAppend() { + return C[113] || CT.C113; + }, + /*io.FileMode.WRITE_ONLY_APPEND*/get WRITE_ONLY_APPEND() { + return C[113] || CT.C113; + } +}, false); +var _type$1 = dart.privateName(io, "FileLock._type"); +var _type = dart.privateName(io, "_type"); +io.FileLock = class FileLock extends core.Object { + get [_type]() { + return this[_type$1]; + } + set [_type](value) { + super[_type] = value; + } +}; +(io.FileLock._internal = function(_type) { + if (_type == null) dart.nullFailed(I[113], 95, 33, "_type"); + this[_type$1] = _type; + ; +}).prototype = io.FileLock.prototype; +dart.addTypeTests(io.FileLock); +dart.addTypeCaches(io.FileLock); +dart.setLibraryUri(io.FileLock, I[105]); +dart.setFieldSignature(io.FileLock, () => ({ + __proto__: dart.getFields(io.FileLock.__proto__), + [_type]: dart.finalFieldType(core.int) +})); +dart.defineLazy(io.FileLock, { + /*io.FileLock.shared*/get shared() { + return C[114] || CT.C114; + }, + /*io.FileLock.SHARED*/get SHARED() { + return C[114] || CT.C114; + }, + /*io.FileLock.exclusive*/get exclusive() { + return C[115] || CT.C115; + }, + /*io.FileLock.EXCLUSIVE*/get EXCLUSIVE() { + return C[115] || CT.C115; + }, + /*io.FileLock.blockingShared*/get blockingShared() { + return C[116] || CT.C116; + }, + /*io.FileLock.BLOCKING_SHARED*/get BLOCKING_SHARED() { + return C[116] || CT.C116; + }, + /*io.FileLock.blockingExclusive*/get blockingExclusive() { + return C[117] || CT.C117; + }, + /*io.FileLock.BLOCKING_EXCLUSIVE*/get BLOCKING_EXCLUSIVE() { + return C[117] || CT.C117; + } +}, false); +io.File = class File extends core.Object { + static new(path) { + if (path == null) dart.nullFailed(I[113], 237, 23, "path"); + let overrides = io.IOOverrides.current; + if (overrides == null) { + return new io._File.new(path); + } + return overrides.createFile(path); + } + static fromUri(uri) { + if (uri == null) dart.nullFailed(I[113], 248, 28, "uri"); + return io.File.new(uri.toFilePath()); + } + static fromRawPath(rawPath) { + if (rawPath == null) dart.nullFailed(I[113], 254, 38, "rawPath"); + return new io._File.fromRawPath(rawPath); + } +}; +(io.File[dart.mixinNew] = function() { +}).prototype = io.File.prototype; +dart.addTypeTests(io.File); +dart.addTypeCaches(io.File); +io.File[dart.implements] = () => [io.FileSystemEntity]; +dart.setLibraryUri(io.File, I[105]); +io.RandomAccessFile = class RandomAccessFile extends core.Object {}; +(io.RandomAccessFile.new = function() { + ; +}).prototype = io.RandomAccessFile.prototype; +dart.addTypeTests(io.RandomAccessFile); +dart.addTypeCaches(io.RandomAccessFile); +dart.setLibraryUri(io.RandomAccessFile, I[105]); +var message$3 = dart.privateName(io, "FileSystemException.message"); +var path$ = dart.privateName(io, "FileSystemException.path"); +var osError$ = dart.privateName(io, "FileSystemException.osError"); +io.FileSystemException = class FileSystemException extends core.Object { + get message() { + return this[message$3]; + } + set message(value) { + super.message = value; + } + get path() { + return this[path$]; + } + set path(value) { + super.path = value; + } + get osError() { + return this[osError$]; + } + set osError(value) { + super.osError = value; + } + toString() { + let sb = new core.StringBuffer.new(); + sb.write("FileSystemException"); + if (this.message[$isNotEmpty]) { + sb.write(": " + dart.str(this.message)); + if (this.path != null) { + sb.write(", path = '" + dart.str(this.path) + "'"); + } + if (this.osError != null) { + sb.write(" (" + dart.str(this.osError) + ")"); + } + } else if (this.osError != null) { + sb.write(": " + dart.str(this.osError)); + if (this.path != null) { + sb.write(", path = '" + dart.str(this.path) + "'"); + } + } else if (this.path != null) { + sb.write(": " + dart.str(this.path)); + } + return sb.toString(); + } +}; +(io.FileSystemException.new = function(message = "", path = "", osError = null) { + if (message == null) dart.nullFailed(I[113], 926, 35, "message"); + this[message$3] = message; + this[path$] = path; + this[osError$] = osError; + ; +}).prototype = io.FileSystemException.prototype; +dart.addTypeTests(io.FileSystemException); +dart.addTypeCaches(io.FileSystemException); +io.FileSystemException[dart.implements] = () => [io.IOException]; +dart.setLibraryUri(io.FileSystemException, I[105]); +dart.setFieldSignature(io.FileSystemException, () => ({ + __proto__: dart.getFields(io.FileSystemException.__proto__), + message: dart.finalFieldType(core.String), + path: dart.finalFieldType(dart.nullable(core.String)), + osError: dart.finalFieldType(dart.nullable(io.OSError)) +})); +dart.defineExtensionMethods(io.FileSystemException, ['toString']); +var ___FileStream__controller = dart.privateName(io, "_#_FileStream#_controller"); +var ___FileStream__controller_isSet = dart.privateName(io, "_#_FileStream#_controller#isSet"); +var ___FileStream__openedFile = dart.privateName(io, "_#_FileStream#_openedFile"); +var ___FileStream__openedFile_isSet = dart.privateName(io, "_#_FileStream#_openedFile#isSet"); +var _closeCompleter = dart.privateName(io, "_closeCompleter"); +var _unsubscribed = dart.privateName(io, "_unsubscribed"); +var _readInProgress = dart.privateName(io, "_readInProgress"); +var _atEnd = dart.privateName(io, "_atEnd"); +var _end$ = dart.privateName(io, "_end"); +var _position$ = dart.privateName(io, "_position"); +var _controller = dart.privateName(io, "_controller"); +var _openedFile = dart.privateName(io, "_openedFile"); +var _start$1 = dart.privateName(io, "_start"); +var _readBlock = dart.privateName(io, "_readBlock"); +var _closeFile = dart.privateName(io, "_closeFile"); +io._FileStream = class _FileStream extends async.Stream$(core.List$(core.int)) { + get [_controller]() { + let t187; + return dart.test(this[___FileStream__controller_isSet]) ? (t187 = this[___FileStream__controller], t187) : dart.throw(new _internal.LateError.fieldNI("_controller")); + } + set [_controller](t187) { + if (t187 == null) dart.nullFailed(I[114], 12, 36, "null"); + this[___FileStream__controller_isSet] = true; + this[___FileStream__controller] = t187; + } + get [_openedFile]() { + let t188; + return dart.test(this[___FileStream__openedFile_isSet]) ? (t188 = this[___FileStream__openedFile], t188) : dart.throw(new _internal.LateError.fieldNI("_openedFile")); + } + set [_openedFile](t188) { + if (t188 == null) dart.nullFailed(I[114], 16, 25, "null"); + this[___FileStream__openedFile_isSet] = true; + this[___FileStream__openedFile] = t188; + } + listen(onData, opts) { + let onError = opts && 'onError' in opts ? opts.onError : null; + let onDone = opts && 'onDone' in opts ? opts.onDone : null; + let cancelOnError = opts && 'cancelOnError' in opts ? opts.cancelOnError : null; + this[_controller] = T$0.StreamControllerOfUint8List().new({sync: true, onListen: dart.bind(this, _start$1), onResume: dart.bind(this, _readBlock), onCancel: dart.fn(() => { + this[_unsubscribed] = true; + return this[_closeFile](); + }, T$0.VoidToFuture())}); + return this[_controller].stream.listen(onData, {onError: onError, onDone: onDone, cancelOnError: cancelOnError}); + } + [_closeFile]() { + if (dart.test(this[_readInProgress]) || dart.test(this[_closed])) { + return this[_closeCompleter].future; + } + this[_closed] = true; + const done = () => { + this[_closeCompleter].complete(); + this[_controller].close(); + }; + dart.fn(done, T$.VoidTovoid()); + this[_openedFile].close().catchError(dart.bind(this[_controller], 'addError')).whenComplete(done); + return this[_closeCompleter].future; + } + [_readBlock]() { + if (dart.test(this[_readInProgress])) return; + if (dart.test(this[_atEnd])) { + this[_closeFile](); + return; + } + this[_readInProgress] = true; + let readBytes = 65536; + let end = this[_end$]; + if (end != null) { + readBytes = math.min(core.int, readBytes, dart.notNull(end) - dart.notNull(this[_position$])); + if (readBytes < 0) { + this[_readInProgress] = false; + if (!dart.test(this[_unsubscribed])) { + this[_controller].addError(new core.RangeError.new("Bad end position: " + dart.str(end))); + this[_closeFile](); + this[_unsubscribed] = true; + } + return; + } + } + this[_openedFile].read(readBytes).then(core.Null, dart.fn(block => { + if (block == null) dart.nullFailed(I[114], 85, 39, "block"); + this[_readInProgress] = false; + if (dart.test(this[_unsubscribed])) { + this[_closeFile](); + return; + } + this[_position$] = dart.notNull(this[_position$]) + dart.notNull(block[$length]); + if (dart.notNull(block[$length]) < readBytes || this[_end$] != null && this[_position$] == this[_end$]) { + this[_atEnd] = true; + } + if (!dart.test(this[_atEnd]) && !dart.test(this[_controller].isPaused)) { + this[_readBlock](); + } + this[_controller].add(block); + if (dart.test(this[_atEnd])) { + this[_closeFile](); + } + }, T$0.Uint8ListToNull())).catchError(dart.fn((e, s) => { + if (!dart.test(this[_unsubscribed])) { + this[_controller].addError(core.Object.as(e), T$.StackTraceN().as(s)); + this[_closeFile](); + this[_unsubscribed] = true; + } + }, T$.dynamicAnddynamicToNull())); + } + [_start$1]() { + if (dart.notNull(this[_position$]) < 0) { + this[_controller].addError(new core.RangeError.new("Bad start position: " + dart.str(this[_position$]))); + this[_controller].close(); + this[_closeCompleter].complete(); + return; + } + const onReady = file => { + if (file == null) dart.nullFailed(I[114], 119, 35, "file"); + this[_openedFile] = file; + this[_readInProgress] = false; + this[_readBlock](); + }; + dart.fn(onReady, T$0.RandomAccessFileTovoid()); + const onOpenFile = file => { + if (file == null) dart.nullFailed(I[114], 125, 38, "file"); + if (dart.notNull(this[_position$]) > 0) { + file.setPosition(this[_position$]).then(dart.void, onReady, {onError: dart.fn((e, s) => { + this[_controller].addError(core.Object.as(e), T$.StackTraceN().as(s)); + this[_readInProgress] = false; + this[_closeFile](); + }, T$.dynamicAnddynamicToNull())}); + } else { + onReady(file); + } + }; + dart.fn(onOpenFile, T$0.RandomAccessFileTovoid()); + const openFailed = (error, stackTrace) => { + this[_controller].addError(core.Object.as(error), T$.StackTraceN().as(stackTrace)); + this[_controller].close(); + this[_closeCompleter].complete(); + }; + dart.fn(openFailed, T$.dynamicAnddynamicTovoid()); + let path = this[_path$0]; + if (path != null) { + io.File.new(path).open({mode: io.FileMode.read}).then(dart.void, onOpenFile, {onError: openFailed}); + } else { + try { + onOpenFile(io._File._openStdioSync(0)); + } catch (e$) { + let e = dart.getThrown(e$); + let s = dart.stackTrace(e$); + if (core.Object.is(e)) { + openFailed(e, s); + } else + throw e$; + } + } + } +}; +(io._FileStream.new = function(_path, position, _end) { + let t187; + this[___FileStream__controller] = null; + this[___FileStream__controller_isSet] = false; + this[___FileStream__openedFile] = null; + this[___FileStream__openedFile_isSet] = false; + this[_closeCompleter] = async.Completer.new(); + this[_unsubscribed] = false; + this[_readInProgress] = true; + this[_closed] = false; + this[_atEnd] = false; + this[_path$0] = _path; + this[_end$] = _end; + this[_position$] = (t187 = position, t187 == null ? 0 : t187); + io._FileStream.__proto__.new.call(this); + ; +}).prototype = io._FileStream.prototype; +(io._FileStream.forStdin = function() { + this[___FileStream__controller] = null; + this[___FileStream__controller_isSet] = false; + this[___FileStream__openedFile] = null; + this[___FileStream__openedFile_isSet] = false; + this[_closeCompleter] = async.Completer.new(); + this[_unsubscribed] = false; + this[_readInProgress] = true; + this[_closed] = false; + this[_atEnd] = false; + this[_end$] = null; + this[_path$0] = null; + this[_position$] = 0; + io._FileStream.__proto__.new.call(this); + ; +}).prototype = io._FileStream.prototype; +dart.addTypeTests(io._FileStream); +dart.addTypeCaches(io._FileStream); +dart.setMethodSignature(io._FileStream, () => ({ + __proto__: dart.getMethods(io._FileStream.__proto__), + listen: dart.fnType(async.StreamSubscription$(typed_data.Uint8List), [dart.nullable(dart.fnType(dart.void, [typed_data.Uint8List]))], {cancelOnError: dart.nullable(core.bool), onDone: dart.nullable(dart.fnType(dart.void, [])), onError: dart.nullable(core.Function)}, {}), + [_closeFile]: dart.fnType(async.Future, []), + [_readBlock]: dart.fnType(dart.void, []), + [_start$1]: dart.fnType(dart.void, []) +})); +dart.setGetterSignature(io._FileStream, () => ({ + __proto__: dart.getGetters(io._FileStream.__proto__), + [_controller]: async.StreamController$(typed_data.Uint8List), + [_openedFile]: io.RandomAccessFile +})); +dart.setSetterSignature(io._FileStream, () => ({ + __proto__: dart.getSetters(io._FileStream.__proto__), + [_controller]: async.StreamController$(typed_data.Uint8List), + [_openedFile]: io.RandomAccessFile +})); +dart.setLibraryUri(io._FileStream, I[105]); +dart.setFieldSignature(io._FileStream, () => ({ + __proto__: dart.getFields(io._FileStream.__proto__), + [___FileStream__controller]: dart.fieldType(dart.nullable(async.StreamController$(typed_data.Uint8List))), + [___FileStream__controller_isSet]: dart.fieldType(core.bool), + [_path$0]: dart.fieldType(dart.nullable(core.String)), + [___FileStream__openedFile]: dart.fieldType(dart.nullable(io.RandomAccessFile)), + [___FileStream__openedFile_isSet]: dart.fieldType(core.bool), + [_position$]: dart.fieldType(core.int), + [_end$]: dart.fieldType(dart.nullable(core.int)), + [_closeCompleter]: dart.finalFieldType(async.Completer), + [_unsubscribed]: dart.fieldType(core.bool), + [_readInProgress]: dart.fieldType(core.bool), + [_closed]: dart.fieldType(core.bool), + [_atEnd]: dart.fieldType(core.bool) +})); +var _file = dart.privateName(io, "_file"); +var _openFuture = dart.privateName(io, "_openFuture"); +io._FileStreamConsumer = class _FileStreamConsumer extends async.StreamConsumer$(core.List$(core.int)) { + addStream(stream) { + T$0.StreamOfListOfint().as(stream); + if (stream == null) dart.nullFailed(I[114], 169, 45, "stream"); + let completer = T$0.CompleterOfFileN().sync(); + this[_openFuture].then(core.Null, dart.fn(openedFile => { + if (openedFile == null) dart.nullFailed(I[114], 171, 23, "openedFile"); + let _subscription = null; + let _subscription$35isSet = false; + function _subscription$35get() { + return _subscription$35isSet ? _subscription : dart.throw(new _internal.LateError.localNI("_subscription")); + } + dart.fn(_subscription$35get, T$0.VoidToStreamSubscriptionOfListOfint()); + function _subscription$35set(t193) { + if (t193 == null) dart.nullFailed(I[114], 172, 42, "null"); + _subscription$35isSet = true; + return _subscription = t193; + } + dart.fn(_subscription$35set, T$0.StreamSubscriptionOfListOfintTodynamic()); + function error(e, stackTrace) { + if (stackTrace == null) dart.nullFailed(I[114], 173, 32, "stackTrace"); + _subscription$35get().cancel(); + openedFile.close(); + completer.completeError(core.Object.as(e), stackTrace); + } + dart.fn(error, T$0.dynamicAndStackTraceTovoid()); + _subscription$35set(stream.listen(dart.fn(d => { + if (d == null) dart.nullFailed(I[114], 179, 38, "d"); + _subscription$35get().pause(); + try { + openedFile.writeFrom(d, 0, d[$length]).then(dart.void, dart.fn(_ => { + if (_ == null) dart.nullFailed(I[114], 184, 22, "_"); + return _subscription$35get().resume(); + }, T$0.RandomAccessFileTovoid()), {onError: error}); + } catch (e$) { + let e = dart.getThrown(e$); + let stackTrace = dart.stackTrace(e$); + if (core.Object.is(e)) { + error(e, stackTrace); + } else + throw e$; + } + }, T$0.ListOfintTovoid()), {onDone: dart.fn(() => { + completer.complete(this[_file]); + }, T$.VoidTovoid()), onError: error, cancelOnError: true})); + }, T$0.RandomAccessFileToNull())).catchError(dart.bind(completer, 'completeError')); + return completer.future; + } + close() { + return this[_openFuture].then(dart.void, dart.fn(openedFile => { + if (openedFile == null) dart.nullFailed(I[114], 196, 25, "openedFile"); + return openedFile.close(); + }, T$0.RandomAccessFileToFutureOfvoid())).then(T$0.FileN(), dart.fn(_ => this[_file], T$0.voidToFileN())); + } +}; +(io._FileStreamConsumer.new = function(file, mode) { + if (file == null) dart.nullFailed(I[114], 162, 28, "file"); + if (mode == null) dart.nullFailed(I[114], 162, 43, "mode"); + this[_file] = file; + this[_openFuture] = file.open({mode: mode}); + ; +}).prototype = io._FileStreamConsumer.prototype; +(io._FileStreamConsumer.fromStdio = function(fd) { + if (fd == null) dart.nullFailed(I[114], 166, 37, "fd"); + this[_file] = null; + this[_openFuture] = T$0.FutureOfRandomAccessFile().value(io._File._openStdioSync(fd)); + ; +}).prototype = io._FileStreamConsumer.prototype; +dart.addTypeTests(io._FileStreamConsumer); +dart.addTypeCaches(io._FileStreamConsumer); +dart.setMethodSignature(io._FileStreamConsumer, () => ({ + __proto__: dart.getMethods(io._FileStreamConsumer.__proto__), + addStream: dart.fnType(async.Future$(dart.nullable(io.File)), [dart.nullable(core.Object)]), + close: dart.fnType(async.Future$(dart.nullable(io.File)), []) +})); +dart.setLibraryUri(io._FileStreamConsumer, I[105]); +dart.setFieldSignature(io._FileStreamConsumer, () => ({ + __proto__: dart.getFields(io._FileStreamConsumer.__proto__), + [_file]: dart.fieldType(dart.nullable(io.File)), + [_openFuture]: dart.fieldType(async.Future$(io.RandomAccessFile)) +})); +var _path$1 = dart.privateName(io, "_File._path"); +var _rawPath$0 = dart.privateName(io, "_File._rawPath"); +var _tryDecode = dart.privateName(io, "_tryDecode"); +io._File = class _File extends io.FileSystemEntity { + get [_path$0]() { + return this[_path$1]; + } + set [_path$0](value) { + super[_path$0] = value; + } + get [_rawPath$]() { + return this[_rawPath$0]; + } + set [_rawPath$](value) { + super[_rawPath$] = value; + } + get path() { + return this[_path$0]; + } + static _namespacePointer() { + return io._Namespace._namespacePointer; + } + static _dispatchWithNamespace(request, data) { + if (request == null) dart.nullFailed(I[114], 222, 44, "request"); + if (data == null) dart.nullFailed(I[114], 222, 58, "data"); + data[$_set](0, io._File._namespacePointer()); + return io._IOService._dispatch(request, data); + } + exists() { + return io._File._dispatchWithNamespace(0, [null, this[_rawPath$]]).then(core.bool, dart.fn(response => { + if (dart.test(io._isErrorResponse(response))) { + dart.throw(io._exceptionFromResponse(response, "Cannot check existence", this.path)); + } + return T$.FutureOrOfbool().as(response); + }, T$0.dynamicToFutureOrOfbool())); + } + static _exists(namespace, rawPath) { + if (namespace == null) dart.nullFailed(I[107], 111, 29, "namespace"); + if (rawPath == null) dart.nullFailed(I[107], 111, 50, "rawPath"); + dart.throw(new core.UnsupportedError.new("File._exists")); + } + existsSync() { + let result = io._File._exists(io._Namespace._namespace, this[_rawPath$]); + io._File.throwIfError(core.Object.as(result), "Cannot check existence of file", this.path); + return core.bool.as(result); + } + get absolute() { + return io.File.new(this[_absolutePath]); + } + create(opts) { + let recursive = opts && 'recursive' in opts ? opts.recursive : false; + if (recursive == null) dart.nullFailed(I[114], 247, 29, "recursive"); + let result = dart.test(recursive) ? this.parent.create({recursive: true}) : T$.FutureOfNull().value(null); + return result.then(dart.dynamic, dart.fn(_ => io._File._dispatchWithNamespace(1, [null, this[_rawPath$]]), T$0.DirectoryNToFuture())).then(io.File, dart.fn(response => { + if (dart.test(io._isErrorResponse(response))) { + dart.throw(io._exceptionFromResponse(response, "Cannot create file", this.path)); + } + return this; + }, T$0.dynamicTo_File())); + } + static _create(namespace, rawPath) { + if (namespace == null) dart.nullFailed(I[107], 116, 29, "namespace"); + if (rawPath == null) dart.nullFailed(I[107], 116, 50, "rawPath"); + dart.throw(new core.UnsupportedError.new("File._create")); + } + static _createLink(namespace, rawPath, target) { + if (namespace == null) dart.nullFailed(I[107], 121, 33, "namespace"); + if (rawPath == null) dart.nullFailed(I[107], 121, 54, "rawPath"); + if (target == null) dart.nullFailed(I[107], 121, 70, "target"); + dart.throw(new core.UnsupportedError.new("File._createLink")); + } + static _linkTarget(namespace, rawPath) { + if (namespace == null) dart.nullFailed(I[107], 126, 33, "namespace"); + if (rawPath == null) dart.nullFailed(I[107], 126, 54, "rawPath"); + dart.throw(new core.UnsupportedError.new("File._linkTarget")); + } + createSync(opts) { + let recursive = opts && 'recursive' in opts ? opts.recursive : false; + if (recursive == null) dart.nullFailed(I[114], 268, 25, "recursive"); + if (dart.test(recursive)) { + this.parent.createSync({recursive: true}); + } + let result = io._File._create(io._Namespace._namespace, this[_rawPath$]); + io._File.throwIfError(core.Object.as(result), "Cannot create file", this.path); + } + [_delete](opts) { + let recursive = opts && 'recursive' in opts ? opts.recursive : false; + if (recursive == null) dart.nullFailed(I[114], 276, 30, "recursive"); + if (dart.test(recursive)) { + return io.Directory.new(this.path).delete({recursive: true}).then(io.File, dart.fn(_ => { + if (_ == null) dart.nullFailed(I[114], 278, 64, "_"); + return this; + }, T$0.FileSystemEntityTo_File())); + } + return io._File._dispatchWithNamespace(2, [null, this[_rawPath$]]).then(io.File, dart.fn(response => { + if (dart.test(io._isErrorResponse(response))) { + dart.throw(io._exceptionFromResponse(response, "Cannot delete file", this.path)); + } + return this; + }, T$0.dynamicTo_File())); + } + static _deleteNative(namespace, rawPath) { + if (namespace == null) dart.nullFailed(I[107], 131, 35, "namespace"); + if (rawPath == null) dart.nullFailed(I[107], 131, 56, "rawPath"); + dart.throw(new core.UnsupportedError.new("File._deleteNative")); + } + static _deleteLinkNative(namespace, rawPath) { + if (namespace == null) dart.nullFailed(I[107], 136, 39, "namespace"); + if (rawPath == null) dart.nullFailed(I[107], 136, 60, "rawPath"); + dart.throw(new core.UnsupportedError.new("File._deleteLinkNative")); + } + [_deleteSync](opts) { + let recursive = opts && 'recursive' in opts ? opts.recursive : false; + if (recursive == null) dart.nullFailed(I[114], 293, 26, "recursive"); + if (dart.test(recursive)) { + return io.Directory.fromRawPath(this[_rawPath$]).deleteSync({recursive: true}); + } + let result = io._File._deleteNative(io._Namespace._namespace, this[_rawPath$]); + io._File.throwIfError(core.Object.as(result), "Cannot delete file", this.path); + } + rename(newPath) { + if (newPath == null) dart.nullFailed(I[114], 301, 30, "newPath"); + return io._File._dispatchWithNamespace(3, [null, this[_rawPath$], newPath]).then(io.File, dart.fn(response => { + if (dart.test(io._isErrorResponse(response))) { + dart.throw(io._exceptionFromResponse(response, "Cannot rename file to '" + dart.str(newPath) + "'", this.path)); + } + return io.File.new(newPath); + }, T$0.dynamicToFile())); + } + static _rename(namespace, oldPath, newPath) { + if (namespace == null) dart.nullFailed(I[107], 141, 29, "namespace"); + if (oldPath == null) dart.nullFailed(I[107], 141, 50, "oldPath"); + if (newPath == null) dart.nullFailed(I[107], 141, 66, "newPath"); + dart.throw(new core.UnsupportedError.new("File._rename")); + } + static _renameLink(namespace, oldPath, newPath) { + if (namespace == null) dart.nullFailed(I[107], 146, 33, "namespace"); + if (oldPath == null) dart.nullFailed(I[107], 146, 54, "oldPath"); + if (newPath == null) dart.nullFailed(I[107], 146, 70, "newPath"); + dart.throw(new core.UnsupportedError.new("File._renameLink")); + } + renameSync(newPath) { + if (newPath == null) dart.nullFailed(I[114], 318, 26, "newPath"); + let result = io._File._rename(io._Namespace._namespace, this[_rawPath$], newPath); + io._File.throwIfError(core.Object.as(result), "Cannot rename file to '" + dart.str(newPath) + "'", this.path); + return io.File.new(newPath); + } + copy(newPath) { + if (newPath == null) dart.nullFailed(I[114], 324, 28, "newPath"); + return io._File._dispatchWithNamespace(4, [null, this[_rawPath$], newPath]).then(io.File, dart.fn(response => { + if (dart.test(io._isErrorResponse(response))) { + dart.throw(io._exceptionFromResponse(response, "Cannot copy file to '" + dart.str(newPath) + "'", this.path)); + } + return io.File.new(newPath); + }, T$0.dynamicToFile())); + } + static _copy(namespace, oldPath, newPath) { + if (namespace == null) dart.nullFailed(I[107], 151, 27, "namespace"); + if (oldPath == null) dart.nullFailed(I[107], 151, 48, "oldPath"); + if (newPath == null) dart.nullFailed(I[107], 151, 64, "newPath"); + dart.throw(new core.UnsupportedError.new("File._copy")); + } + copySync(newPath) { + if (newPath == null) dart.nullFailed(I[114], 338, 24, "newPath"); + let result = io._File._copy(io._Namespace._namespace, this[_rawPath$], newPath); + io._File.throwIfError(core.Object.as(result), "Cannot copy file to '" + dart.str(newPath) + "'", this.path); + return io.File.new(newPath); + } + open(opts) { + let mode = opts && 'mode' in opts ? opts.mode : C[109] || CT.C109; + if (mode == null) dart.nullFailed(I[114], 344, 43, "mode"); + if (!dart.equals(mode, io.FileMode.read) && !dart.equals(mode, io.FileMode.write) && !dart.equals(mode, io.FileMode.append) && !dart.equals(mode, io.FileMode.writeOnly) && !dart.equals(mode, io.FileMode.writeOnlyAppend)) { + return T$0.FutureOfRandomAccessFile().error(new core.ArgumentError.new("Invalid file mode for this operation")); + } + return io._File._dispatchWithNamespace(5, [null, this[_rawPath$], mode[_mode]]).then(io.RandomAccessFile, dart.fn(response => { + if (dart.test(io._isErrorResponse(response))) { + dart.throw(io._exceptionFromResponse(response, "Cannot open file", this.path)); + } + return new io._RandomAccessFile.new(core.int.as(response), this.path); + }, T$0.dynamicTo_RandomAccessFile())); + } + length() { + return io._File._dispatchWithNamespace(12, [null, this[_rawPath$]]).then(core.int, dart.fn(response => { + if (dart.test(io._isErrorResponse(response))) { + dart.throw(io._exceptionFromResponse(response, "Cannot retrieve length of file", this.path)); + } + return T$0.FutureOrOfint().as(response); + }, T$0.dynamicToFutureOrOfint())); + } + static _lengthFromPath(namespace, rawPath) { + if (namespace == null) dart.nullFailed(I[107], 156, 37, "namespace"); + if (rawPath == null) dart.nullFailed(I[107], 156, 58, "rawPath"); + dart.throw(new core.UnsupportedError.new("File._lengthFromPath")); + } + lengthSync() { + let result = io._File._lengthFromPath(io._Namespace._namespace, this[_rawPath$]); + io._File.throwIfError(core.Object.as(result), "Cannot retrieve length of file", this.path); + return core.int.as(result); + } + lastAccessed() { + return io._File._dispatchWithNamespace(13, [null, this[_rawPath$]]).then(core.DateTime, dart.fn(response => { + if (dart.test(io._isErrorResponse(response))) { + dart.throw(io._exceptionFromResponse(response, "Cannot retrieve access time", this.path)); + } + return new core.DateTime.fromMillisecondsSinceEpoch(core.int.as(response)); + }, T$0.dynamicToDateTime())); + } + static _lastAccessed(namespace, rawPath) { + if (namespace == null) dart.nullFailed(I[107], 166, 35, "namespace"); + if (rawPath == null) dart.nullFailed(I[107], 166, 56, "rawPath"); + dart.throw(new core.UnsupportedError.new("File._lastAccessed")); + } + lastAccessedSync() { + let ms = io._File._lastAccessed(io._Namespace._namespace, this[_rawPath$]); + io._File.throwIfError(core.Object.as(ms), "Cannot retrieve access time", this.path); + return new core.DateTime.fromMillisecondsSinceEpoch(core.int.as(ms)); + } + setLastAccessed(time) { + if (time == null) dart.nullFailed(I[114], 400, 35, "time"); + let millis = time.millisecondsSinceEpoch; + return io._File._dispatchWithNamespace(14, [null, this[_rawPath$], millis]).then(dart.dynamic, dart.fn(response => { + if (dart.test(io._isErrorResponse(response))) { + dart.throw(io._exceptionFromResponse(response, "Cannot set access time", this.path)); + } + return null; + }, T$.dynamicToNull())); + } + static _setLastAccessed(namespace, rawPath, millis) { + if (namespace == null) dart.nullFailed(I[107], 176, 38, "namespace"); + if (rawPath == null) dart.nullFailed(I[107], 176, 59, "rawPath"); + if (millis == null) dart.nullFailed(I[107], 176, 72, "millis"); + dart.throw(new core.UnsupportedError.new("File._setLastAccessed")); + } + setLastAccessedSync(time) { + if (time == null) dart.nullFailed(I[114], 415, 37, "time"); + let millis = time.millisecondsSinceEpoch; + let result = io._File._setLastAccessed(io._Namespace._namespace, this[_rawPath$], millis); + if (io.OSError.is(result)) { + dart.throw(new io.FileSystemException.new("Failed to set file access time", this.path, result)); + } + } + lastModified() { + return io._File._dispatchWithNamespace(15, [null, this[_rawPath$]]).then(core.DateTime, dart.fn(response => { + if (dart.test(io._isErrorResponse(response))) { + dart.throw(io._exceptionFromResponse(response, "Cannot retrieve modification time", this.path)); + } + return new core.DateTime.fromMillisecondsSinceEpoch(core.int.as(response)); + }, T$0.dynamicToDateTime())); + } + static _lastModified(namespace, rawPath) { + if (namespace == null) dart.nullFailed(I[107], 161, 35, "namespace"); + if (rawPath == null) dart.nullFailed(I[107], 161, 56, "rawPath"); + dart.throw(new core.UnsupportedError.new("File._lastModified")); + } + lastModifiedSync() { + let ms = io._File._lastModified(io._Namespace._namespace, this[_rawPath$]); + io._File.throwIfError(core.Object.as(ms), "Cannot retrieve modification time", this.path); + return new core.DateTime.fromMillisecondsSinceEpoch(core.int.as(ms)); + } + setLastModified(time) { + if (time == null) dart.nullFailed(I[114], 443, 35, "time"); + let millis = time.millisecondsSinceEpoch; + return io._File._dispatchWithNamespace(16, [null, this[_rawPath$], millis]).then(dart.dynamic, dart.fn(response => { + if (dart.test(io._isErrorResponse(response))) { + dart.throw(io._exceptionFromResponse(response, "Cannot set modification time", this.path)); + } + return null; + }, T$.dynamicToNull())); + } + static _setLastModified(namespace, rawPath, millis) { + if (namespace == null) dart.nullFailed(I[107], 171, 38, "namespace"); + if (rawPath == null) dart.nullFailed(I[107], 171, 59, "rawPath"); + if (millis == null) dart.nullFailed(I[107], 171, 72, "millis"); + dart.throw(new core.UnsupportedError.new("File._setLastModified")); + } + setLastModifiedSync(time) { + if (time == null) dart.nullFailed(I[114], 459, 37, "time"); + let millis = time.millisecondsSinceEpoch; + let result = io._File._setLastModified(io._Namespace._namespace, this[_rawPath$], millis); + if (io.OSError.is(result)) { + dart.throw(new io.FileSystemException.new("Failed to set file modification time", this.path, result)); + } + } + static _open(namespace, rawPath, mode) { + if (namespace == null) dart.nullFailed(I[107], 181, 27, "namespace"); + if (rawPath == null) dart.nullFailed(I[107], 181, 48, "rawPath"); + if (mode == null) dart.nullFailed(I[107], 181, 61, "mode"); + dart.throw(new core.UnsupportedError.new("File._open")); + } + openSync(opts) { + let mode = opts && 'mode' in opts ? opts.mode : C[109] || CT.C109; + if (mode == null) dart.nullFailed(I[114], 470, 39, "mode"); + if (!dart.equals(mode, io.FileMode.read) && !dart.equals(mode, io.FileMode.write) && !dart.equals(mode, io.FileMode.append) && !dart.equals(mode, io.FileMode.writeOnly) && !dart.equals(mode, io.FileMode.writeOnlyAppend)) { + dart.throw(new core.ArgumentError.new("Invalid file mode for this operation")); + } + let id = io._File._open(io._Namespace._namespace, this[_rawPath$], mode[_mode]); + io._File.throwIfError(core.Object.as(id), "Cannot open file", this.path); + return new io._RandomAccessFile.new(core.int.as(id), this[_path$0]); + } + static _openStdio(fd) { + if (fd == null) dart.nullFailed(I[107], 186, 29, "fd"); + dart.throw(new core.UnsupportedError.new("File._openStdio")); + } + static _openStdioSync(fd) { + if (fd == null) dart.nullFailed(I[114], 485, 46, "fd"); + let id = io._File._openStdio(fd); + if (id === 0) { + dart.throw(new io.FileSystemException.new("Cannot open stdio file for: " + dart.str(fd))); + } + return new io._RandomAccessFile.new(id, ""); + } + openRead(start = null, end = null) { + return new io._FileStream.new(this.path, start, end); + } + openWrite(opts) { + let mode = opts && 'mode' in opts ? opts.mode : C[110] || CT.C110; + if (mode == null) dart.nullFailed(I[114], 497, 30, "mode"); + let encoding = opts && 'encoding' in opts ? opts.encoding : C[108] || CT.C108; + if (encoding == null) dart.nullFailed(I[114], 497, 62, "encoding"); + if (!dart.equals(mode, io.FileMode.write) && !dart.equals(mode, io.FileMode.append) && !dart.equals(mode, io.FileMode.writeOnly) && !dart.equals(mode, io.FileMode.writeOnlyAppend)) { + dart.throw(new core.ArgumentError.new("Invalid file mode for this operation")); + } + let consumer = new io._FileStreamConsumer.new(this, mode); + return io.IOSink.new(consumer, {encoding: encoding}); + } + readAsBytes() { + function readDataChunked(file) { + if (file == null) dart.nullFailed(I[114], 509, 56, "file"); + let builder = _internal.BytesBuilder.new({copy: false}); + let completer = T$0.CompleterOfUint8List().new(); + function read() { + file.read(65536).then(core.Null, dart.fn(data => { + if (data == null) dart.nullFailed(I[114], 513, 37, "data"); + if (dart.notNull(data[$length]) > 0) { + builder.add(data); + read(); + } else { + completer.complete(builder.takeBytes()); + } + }, T$0.Uint8ListToNull()), {onError: dart.bind(completer, 'completeError')}); + } + dart.fn(read, T$.VoidTovoid()); + read(); + return completer.future; + } + dart.fn(readDataChunked, T$0.RandomAccessFileToFutureOfUint8List()); + return this.open().then(typed_data.Uint8List, dart.fn(file => { + if (file == null) dart.nullFailed(I[114], 527, 25, "file"); + return file.length().then(typed_data.Uint8List, dart.fn(length => { + if (length == null) dart.nullFailed(I[114], 528, 34, "length"); + if (length === 0) { + return readDataChunked(file); + } + return file.read(length); + }, T$0.intToFutureOfUint8List())).whenComplete(dart.bind(file, 'close')); + }, T$0.RandomAccessFileToFutureOfUint8List())); + } + readAsBytesSync() { + let opened = this.openSync(); + try { + let data = null; + let length = opened.lengthSync(); + if (length === 0) { + let builder = _internal.BytesBuilder.new({copy: false}); + do { + data = opened.readSync(65536); + if (dart.notNull(data[$length]) > 0) builder.add(data); + } while (dart.notNull(data[$length]) > 0); + data = builder.takeBytes(); + } else { + data = opened.readSync(length); + } + return data; + } finally { + opened.closeSync(); + } + } + [_tryDecode](bytes, encoding) { + if (bytes == null) dart.nullFailed(I[114], 560, 31, "bytes"); + if (encoding == null) dart.nullFailed(I[114], 560, 47, "encoding"); + try { + return encoding.decode(bytes); + } catch (e) { + let _ = dart.getThrown(e); + if (core.Object.is(_)) { + dart.throw(new io.FileSystemException.new("Failed to decode data using encoding '" + dart.str(encoding.name) + "'", this.path)); + } else + throw e; + } + } + readAsString(opts) { + let encoding = opts && 'encoding' in opts ? opts.encoding : C[108] || CT.C108; + if (encoding == null) dart.nullFailed(I[114], 569, 41, "encoding"); + let stack = core.StackTrace.current; + return this.readAsBytes().then(core.String, dart.fn(bytes => { + if (bytes == null) dart.nullFailed(I[114], 574, 32, "bytes"); + try { + return this[_tryDecode](bytes, encoding); + } catch (e$) { + let e = dart.getThrown(e$); + if (core.Object.is(e)) { + return T$0.FutureOfString().error(e, stack); + } else + throw e$; + } + }, T$0.Uint8ListToFutureOrOfString())); + } + readAsStringSync(opts) { + let encoding = opts && 'encoding' in opts ? opts.encoding : C[108] || CT.C108; + if (encoding == null) dart.nullFailed(I[114], 583, 37, "encoding"); + return this[_tryDecode](this.readAsBytesSync(), encoding); + } + readAsLines(opts) { + let encoding = opts && 'encoding' in opts ? opts.encoding : C[108] || CT.C108; + if (encoding == null) dart.nullFailed(I[114], 586, 46, "encoding"); + return this.readAsString({encoding: encoding}).then(T$.ListOfString(), dart.bind(C[118] || CT.C118, 'convert')); + } + readAsLinesSync(opts) { + let encoding = opts && 'encoding' in opts ? opts.encoding : C[108] || CT.C108; + if (encoding == null) dart.nullFailed(I[114], 589, 42, "encoding"); + return (C[118] || CT.C118).convert(this.readAsStringSync({encoding: encoding})); + } + writeAsBytes(bytes, opts) { + if (bytes == null) dart.nullFailed(I[114], 592, 39, "bytes"); + let mode = opts && 'mode' in opts ? opts.mode : C[110] || CT.C110; + if (mode == null) dart.nullFailed(I[114], 593, 17, "mode"); + let flush = opts && 'flush' in opts ? opts.flush : false; + if (flush == null) dart.nullFailed(I[114], 593, 45, "flush"); + return this.open({mode: mode}).then(io.File, dart.fn(file => { + if (file == null) dart.nullFailed(I[114], 594, 35, "file"); + return file.writeFrom(bytes, 0, bytes[$length]).then(io.File, dart.fn(_ => { + if (_ == null) dart.nullFailed(I[114], 595, 65, "_"); + if (dart.test(flush)) return file.flush().then(io.File, dart.fn(_ => { + if (_ == null) dart.nullFailed(I[114], 596, 46, "_"); + return this; + }, T$0.RandomAccessFileTo_File())); + return this; + }, T$0.RandomAccessFileToFutureOrOfFile())).whenComplete(dart.bind(file, 'close')); + }, T$0.RandomAccessFileToFutureOfFile())); + } + writeAsBytesSync(bytes, opts) { + if (bytes == null) dart.nullFailed(I[114], 602, 35, "bytes"); + let mode = opts && 'mode' in opts ? opts.mode : C[110] || CT.C110; + if (mode == null) dart.nullFailed(I[114], 603, 17, "mode"); + let flush = opts && 'flush' in opts ? opts.flush : false; + if (flush == null) dart.nullFailed(I[114], 603, 45, "flush"); + let opened = this.openSync({mode: mode}); + try { + opened.writeFromSync(bytes, 0, bytes[$length]); + if (dart.test(flush)) opened.flushSync(); + } finally { + opened.closeSync(); + } + } + writeAsString(contents, opts) { + if (contents == null) dart.nullFailed(I[114], 613, 37, "contents"); + let mode = opts && 'mode' in opts ? opts.mode : C[110] || CT.C110; + if (mode == null) dart.nullFailed(I[114], 614, 17, "mode"); + let encoding = opts && 'encoding' in opts ? opts.encoding : C[108] || CT.C108; + if (encoding == null) dart.nullFailed(I[114], 615, 16, "encoding"); + let flush = opts && 'flush' in opts ? opts.flush : false; + if (flush == null) dart.nullFailed(I[114], 616, 12, "flush"); + try { + return this.writeAsBytes(encoding.encode(contents), {mode: mode, flush: flush}); + } catch (e$) { + let e = dart.getThrown(e$); + if (core.Object.is(e)) { + return T$0.FutureOfFile().error(e); + } else + throw e$; + } + } + writeAsStringSync(contents, opts) { + if (contents == null) dart.nullFailed(I[114], 624, 33, "contents"); + let mode = opts && 'mode' in opts ? opts.mode : C[110] || CT.C110; + if (mode == null) dart.nullFailed(I[114], 625, 17, "mode"); + let encoding = opts && 'encoding' in opts ? opts.encoding : C[108] || CT.C108; + if (encoding == null) dart.nullFailed(I[114], 626, 16, "encoding"); + let flush = opts && 'flush' in opts ? opts.flush : false; + if (flush == null) dart.nullFailed(I[114], 627, 12, "flush"); + this.writeAsBytesSync(encoding.encode(contents), {mode: mode, flush: flush}); + } + toString() { + return "File: '" + dart.str(this.path) + "'"; + } + static throwIfError(result, msg, path) { + if (result == null) dart.nullFailed(I[114], 633, 30, "result"); + if (msg == null) dart.nullFailed(I[114], 633, 45, "msg"); + if (path == null) dart.nullFailed(I[114], 633, 57, "path"); + if (io.OSError.is(result)) { + dart.throw(new io.FileSystemException.new(msg, path, result)); + } + } + static _checkNotNull(T, t, name) { + if (name == null) dart.nullFailed(I[114], 640, 41, "name"); + core.ArgumentError.checkNotNull(T, t, name); + return t; + } +}; +(io._File.new = function(path) { + if (path == null) dart.nullFailed(I[114], 204, 16, "path"); + this[_path$1] = io._File._checkNotNull(core.String, path, "path"); + this[_rawPath$0] = io.FileSystemEntity._toUtf8Array(path); + ; +}).prototype = io._File.prototype; +(io._File.fromRawPath = function(rawPath) { + if (rawPath == null) dart.nullFailed(I[114], 208, 31, "rawPath"); + this[_rawPath$0] = io.FileSystemEntity._toNullTerminatedUtf8Array(io._File._checkNotNull(typed_data.Uint8List, rawPath, "rawPath")); + this[_path$1] = io.FileSystemEntity._toStringFromUtf8Array(rawPath); + ; +}).prototype = io._File.prototype; +dart.addTypeTests(io._File); +dart.addTypeCaches(io._File); +io._File[dart.implements] = () => [io.File]; +dart.setMethodSignature(io._File, () => ({ + __proto__: dart.getMethods(io._File.__proto__), + exists: dart.fnType(async.Future$(core.bool), []), + existsSync: dart.fnType(core.bool, []), + create: dart.fnType(async.Future$(io.File), [], {recursive: core.bool}, {}), + createSync: dart.fnType(dart.void, [], {recursive: core.bool}, {}), + [_delete]: dart.fnType(async.Future$(io.File), [], {recursive: core.bool}, {}), + [_deleteSync]: dart.fnType(dart.void, [], {recursive: core.bool}, {}), + rename: dart.fnType(async.Future$(io.File), [core.String]), + renameSync: dart.fnType(io.File, [core.String]), + copy: dart.fnType(async.Future$(io.File), [core.String]), + copySync: dart.fnType(io.File, [core.String]), + open: dart.fnType(async.Future$(io.RandomAccessFile), [], {mode: io.FileMode}, {}), + length: dart.fnType(async.Future$(core.int), []), + lengthSync: dart.fnType(core.int, []), + lastAccessed: dart.fnType(async.Future$(core.DateTime), []), + lastAccessedSync: dart.fnType(core.DateTime, []), + setLastAccessed: dart.fnType(async.Future, [core.DateTime]), + setLastAccessedSync: dart.fnType(dart.void, [core.DateTime]), + lastModified: dart.fnType(async.Future$(core.DateTime), []), + lastModifiedSync: dart.fnType(core.DateTime, []), + setLastModified: dart.fnType(async.Future, [core.DateTime]), + setLastModifiedSync: dart.fnType(dart.void, [core.DateTime]), + openSync: dart.fnType(io.RandomAccessFile, [], {mode: io.FileMode}, {}), + openRead: dart.fnType(async.Stream$(core.List$(core.int)), [], [dart.nullable(core.int), dart.nullable(core.int)]), + openWrite: dart.fnType(io.IOSink, [], {encoding: convert.Encoding, mode: io.FileMode}, {}), + readAsBytes: dart.fnType(async.Future$(typed_data.Uint8List), []), + readAsBytesSync: dart.fnType(typed_data.Uint8List, []), + [_tryDecode]: dart.fnType(core.String, [core.List$(core.int), convert.Encoding]), + readAsString: dart.fnType(async.Future$(core.String), [], {encoding: convert.Encoding}, {}), + readAsStringSync: dart.fnType(core.String, [], {encoding: convert.Encoding}, {}), + readAsLines: dart.fnType(async.Future$(core.List$(core.String)), [], {encoding: convert.Encoding}, {}), + readAsLinesSync: dart.fnType(core.List$(core.String), [], {encoding: convert.Encoding}, {}), + writeAsBytes: dart.fnType(async.Future$(io.File), [core.List$(core.int)], {flush: core.bool, mode: io.FileMode}, {}), + writeAsBytesSync: dart.fnType(dart.void, [core.List$(core.int)], {flush: core.bool, mode: io.FileMode}, {}), + writeAsString: dart.fnType(async.Future$(io.File), [core.String], {encoding: convert.Encoding, flush: core.bool, mode: io.FileMode}, {}), + writeAsStringSync: dart.fnType(dart.void, [core.String], {encoding: convert.Encoding, flush: core.bool, mode: io.FileMode}, {}) +})); +dart.setGetterSignature(io._File, () => ({ + __proto__: dart.getGetters(io._File.__proto__), + path: core.String, + absolute: io.File +})); +dart.setLibraryUri(io._File, I[105]); +dart.setFieldSignature(io._File, () => ({ + __proto__: dart.getFields(io._File.__proto__), + [_path$0]: dart.finalFieldType(core.String), + [_rawPath$]: dart.finalFieldType(typed_data.Uint8List) +})); +dart.defineExtensionMethods(io._File, ['toString']); +io._RandomAccessFileOps = class _RandomAccessFileOps extends core.Object { + static new(pointer) { + if (pointer == null) dart.nullFailed(I[107], 212, 36, "pointer"); + dart.throw(new core.UnsupportedError.new("RandomAccessFile")); + } +}; +(io._RandomAccessFileOps[dart.mixinNew] = function() { +}).prototype = io._RandomAccessFileOps.prototype; +dart.addTypeTests(io._RandomAccessFileOps); +dart.addTypeCaches(io._RandomAccessFileOps); +dart.setLibraryUri(io._RandomAccessFileOps, I[105]); +var _asyncDispatched = dart.privateName(io, "_asyncDispatched"); +var ___RandomAccessFile__resourceInfo = dart.privateName(io, "_#_RandomAccessFile#_resourceInfo"); +var ___RandomAccessFile__resourceInfo_isSet = dart.privateName(io, "_#_RandomAccessFile#_resourceInfo#isSet"); +var _resourceInfo = dart.privateName(io, "_resourceInfo"); +var _maybeConnectHandler = dart.privateName(io, "_maybeConnectHandler"); +var _maybePerformCleanup = dart.privateName(io, "_maybePerformCleanup"); +var _dispatch = dart.privateName(io, "_dispatch"); +var _checkAvailable = dart.privateName(io, "_checkAvailable"); +var _fileLockValue = dart.privateName(io, "_fileLockValue"); +io._RandomAccessFile = class _RandomAccessFile extends core.Object { + get [_resourceInfo]() { + let t199; + return dart.test(this[___RandomAccessFile__resourceInfo_isSet]) ? (t199 = this[___RandomAccessFile__resourceInfo], t199) : dart.throw(new _internal.LateError.fieldNI("_resourceInfo")); + } + set [_resourceInfo](t199) { + if (t199 == null) dart.nullFailed(I[114], 671, 26, "null"); + this[___RandomAccessFile__resourceInfo_isSet] = true; + this[___RandomAccessFile__resourceInfo] = t199; + } + [_maybePerformCleanup]() { + if (dart.test(this.closed)) { + io._FileResourceInfo.fileClosed(this[_resourceInfo]); + } + } + [_maybeConnectHandler]() { + if (!dart.test(io._RandomAccessFile._connectedResourceHandler)) { + developer.registerExtension("ext.dart.io.getOpenFiles", C[119] || CT.C119); + developer.registerExtension("ext.dart.io.getOpenFileById", C[120] || CT.C120); + io._RandomAccessFile._connectedResourceHandler = true; + } + } + close() { + return this[_dispatch](7, [null], {markClosed: true}).then(dart.void, dart.fn(result => { + if (dart.equals(result, -1)) { + dart.throw(new io.FileSystemException.new("Cannot close file", this.path)); + } + this.closed = dart.test(this.closed) || dart.equals(result, 0); + this[_maybePerformCleanup](); + }, T$.dynamicToNull())); + } + closeSync() { + this[_checkAvailable](); + let id = this[_ops].close(); + if (id === -1) { + dart.throw(new io.FileSystemException.new("Cannot close file", this.path)); + } + this.closed = dart.test(this.closed) || id === 0; + this[_maybePerformCleanup](); + } + readByte() { + return this[_dispatch](18, [null]).then(core.int, dart.fn(response => { + if (dart.test(io._isErrorResponse(response))) { + dart.throw(io._exceptionFromResponse(response, "readByte failed", this.path)); + } + this[_resourceInfo].addRead(1); + return T$0.FutureOrOfint().as(response); + }, T$0.dynamicToFutureOrOfint())); + } + readByteSync() { + this[_checkAvailable](); + let result = this[_ops].readByte(); + if (io.OSError.is(result)) { + dart.throw(new io.FileSystemException.new("readByte failed", this.path, result)); + } + this[_resourceInfo].addRead(1); + return core.int.as(result); + } + read(bytes) { + if (bytes == null) dart.nullFailed(I[114], 741, 30, "bytes"); + core.ArgumentError.checkNotNull(core.int, bytes, "bytes"); + return this[_dispatch](20, [null, bytes]).then(typed_data.Uint8List, dart.fn(response => { + if (dart.test(io._isErrorResponse(response))) { + dart.throw(io._exceptionFromResponse(response, "read failed", this.path)); + } + this[_resourceInfo].addRead(core.int.as(dart.dload(dart.dsend(response, '_get', [1]), 'length'))); + let result = typed_data.Uint8List.as(dart.dsend(response, '_get', [1])); + return result; + }, T$0.dynamicToUint8List())); + } + readSync(bytes) { + if (bytes == null) dart.nullFailed(I[114], 754, 26, "bytes"); + core.ArgumentError.checkNotNull(core.int, bytes, "bytes"); + this[_checkAvailable](); + let result = this[_ops].read(bytes); + if (io.OSError.is(result)) { + dart.throw(new io.FileSystemException.new("readSync failed", this.path, result)); + } + this[_resourceInfo].addRead(core.int.as(dart.dload(result, 'length'))); + return typed_data.Uint8List.as(result); + } + readInto(buffer, start = 0, end = null) { + if (buffer == null) dart.nullFailed(I[114], 766, 34, "buffer"); + if (start == null) dart.nullFailed(I[114], 766, 47, "start"); + core.ArgumentError.checkNotNull(T$0.ListOfint(), buffer, "buffer"); + end = core.RangeError.checkValidRange(start, end, buffer[$length]); + if (end == start) { + return T$0.FutureOfint().value(0); + } + let length = dart.notNull(end) - dart.notNull(start); + return this[_dispatch](21, [null, length]).then(core.int, dart.fn(response => { + if (dart.test(io._isErrorResponse(response))) { + dart.throw(io._exceptionFromResponse(response, "readInto failed", this.path)); + } + let read = core.int.as(dart.dsend(response, '_get', [1])); + let data = T$0.ListOfint().as(dart.dsend(response, '_get', [2])); + buffer[$setRange](start, dart.notNull(start) + dart.notNull(read), data); + this[_resourceInfo].addRead(read); + return read; + }, T$0.dynamicToint())); + } + readIntoSync(buffer, start = 0, end = null) { + if (buffer == null) dart.nullFailed(I[114], 786, 30, "buffer"); + if (start == null) dart.nullFailed(I[114], 786, 43, "start"); + core.ArgumentError.checkNotNull(T$0.ListOfint(), buffer, "buffer"); + this[_checkAvailable](); + end = core.RangeError.checkValidRange(start, end, buffer[$length]); + if (end == start) { + return 0; + } + let result = this[_ops].readInto(buffer, start, end); + if (io.OSError.is(result)) { + dart.throw(new io.FileSystemException.new("readInto failed", this.path, result)); + } + this[_resourceInfo].addRead(core.int.as(result)); + return core.int.as(result); + } + writeByte(value) { + if (value == null) dart.nullFailed(I[114], 802, 42, "value"); + core.ArgumentError.checkNotNull(core.int, value, "value"); + return this[_dispatch](19, [null, value]).then(io.RandomAccessFile, dart.fn(response => { + if (dart.test(io._isErrorResponse(response))) { + dart.throw(io._exceptionFromResponse(response, "writeByte failed", this.path)); + } + this[_resourceInfo].addWrite(1); + return this; + }, T$0.dynamicTo_RandomAccessFile())); + } + writeByteSync(value) { + if (value == null) dart.nullFailed(I[114], 814, 25, "value"); + this[_checkAvailable](); + core.ArgumentError.checkNotNull(core.int, value, "value"); + let result = this[_ops].writeByte(value); + if (io.OSError.is(result)) { + dart.throw(new io.FileSystemException.new("writeByte failed", this.path, result)); + } + this[_resourceInfo].addWrite(1); + return core.int.as(result); + } + writeFrom(buffer, start = 0, end = null) { + if (buffer == null) dart.nullFailed(I[114], 826, 48, "buffer"); + if (start == null) dart.nullFailed(I[114], 827, 12, "start"); + core.ArgumentError.checkNotNull(T$0.ListOfint(), buffer, "buffer"); + core.ArgumentError.checkNotNull(core.int, start, "start"); + end = core.RangeError.checkValidRange(start, end, buffer[$length]); + if (end == start) { + return T$0.FutureOfRandomAccessFile().value(this); + } + let result = null; + try { + result = io._ensureFastAndSerializableByteData(buffer, start, end); + } catch (e$) { + let e = dart.getThrown(e$); + if (core.Object.is(e)) { + return T$0.FutureOfRandomAccessFile().error(e); + } else + throw e$; + } + let request = core.List.filled(4, null); + request[$_set](0, null); + request[$_set](1, result.buffer); + request[$_set](2, result.start); + request[$_set](3, dart.notNull(end) - (dart.notNull(start) - dart.notNull(result.start))); + return this[_dispatch](22, request).then(io.RandomAccessFile, dart.fn(response => { + if (dart.test(io._isErrorResponse(response))) { + dart.throw(io._exceptionFromResponse(response, "writeFrom failed", this.path)); + } + this[_resourceInfo].addWrite(dart.nullCheck(end) - (dart.notNull(start) - dart.notNull(result.start))); + return this; + }, T$0.dynamicTo_RandomAccessFile())); + } + writeFromSync(buffer, start = 0, end = null) { + if (buffer == null) dart.nullFailed(I[114], 856, 32, "buffer"); + if (start == null) dart.nullFailed(I[114], 856, 45, "start"); + this[_checkAvailable](); + core.ArgumentError.checkNotNull(T$0.ListOfint(), buffer, "buffer"); + core.ArgumentError.checkNotNull(core.int, start, "start"); + end = core.RangeError.checkValidRange(start, end, buffer[$length]); + if (end == start) { + return; + } + let bufferAndStart = io._ensureFastAndSerializableByteData(buffer, start, end); + let result = this[_ops].writeFrom(bufferAndStart.buffer, bufferAndStart.start, dart.notNull(end) - (dart.notNull(start) - dart.notNull(bufferAndStart.start))); + if (io.OSError.is(result)) { + dart.throw(new io.FileSystemException.new("writeFrom failed", this.path, result)); + } + this[_resourceInfo].addWrite(dart.notNull(end) - (dart.notNull(start) - dart.notNull(bufferAndStart.start))); + } + writeString(string, opts) { + if (string == null) dart.nullFailed(I[114], 875, 47, "string"); + let encoding = opts && 'encoding' in opts ? opts.encoding : C[108] || CT.C108; + if (encoding == null) dart.nullFailed(I[114], 876, 17, "encoding"); + core.ArgumentError.checkNotNull(convert.Encoding, encoding, "encoding"); + let data = encoding.encode(string); + return this.writeFrom(data, 0, data[$length]); + } + writeStringSync(string, opts) { + if (string == null) dart.nullFailed(I[114], 883, 31, "string"); + let encoding = opts && 'encoding' in opts ? opts.encoding : C[108] || CT.C108; + if (encoding == null) dart.nullFailed(I[114], 883, 49, "encoding"); + core.ArgumentError.checkNotNull(convert.Encoding, encoding, "encoding"); + let data = encoding.encode(string); + this.writeFromSync(data, 0, data[$length]); + } + position() { + return this[_dispatch](8, [null]).then(core.int, dart.fn(response => { + if (dart.test(io._isErrorResponse(response))) { + dart.throw(io._exceptionFromResponse(response, "position failed", this.path)); + } + return T$0.FutureOrOfint().as(response); + }, T$0.dynamicToFutureOrOfint())); + } + positionSync() { + this[_checkAvailable](); + let result = this[_ops].position(); + if (io.OSError.is(result)) { + dart.throw(new io.FileSystemException.new("position failed", this.path, result)); + } + return core.int.as(result); + } + setPosition(position) { + if (position == null) dart.nullFailed(I[114], 908, 44, "position"); + return this[_dispatch](9, [null, position]).then(io.RandomAccessFile, dart.fn(response => { + if (dart.test(io._isErrorResponse(response))) { + dart.throw(io._exceptionFromResponse(response, "setPosition failed", this.path)); + } + return this; + }, T$0.dynamicTo_RandomAccessFile())); + } + setPositionSync(position) { + if (position == null) dart.nullFailed(I[114], 918, 28, "position"); + this[_checkAvailable](); + let result = this[_ops].setPosition(position); + if (io.OSError.is(result)) { + dart.throw(new io.FileSystemException.new("setPosition failed", this.path, result)); + } + } + truncate(length) { + if (length == null) dart.nullFailed(I[114], 926, 41, "length"); + return this[_dispatch](10, [null, length]).then(io.RandomAccessFile, dart.fn(response => { + if (dart.test(io._isErrorResponse(response))) { + dart.throw(io._exceptionFromResponse(response, "truncate failed", this.path)); + } + return this; + }, T$0.dynamicTo_RandomAccessFile())); + } + truncateSync(length) { + if (length == null) dart.nullFailed(I[114], 935, 25, "length"); + this[_checkAvailable](); + let result = this[_ops].truncate(length); + if (io.OSError.is(result)) { + dart.throw(new io.FileSystemException.new("truncate failed", this.path, result)); + } + } + length() { + return this[_dispatch](11, [null]).then(core.int, dart.fn(response => { + if (dart.test(io._isErrorResponse(response))) { + dart.throw(io._exceptionFromResponse(response, "length failed", this.path)); + } + return T$0.FutureOrOfint().as(response); + }, T$0.dynamicToFutureOrOfint())); + } + lengthSync() { + this[_checkAvailable](); + let result = this[_ops].length(); + if (io.OSError.is(result)) { + dart.throw(new io.FileSystemException.new("length failed", this.path, result)); + } + return core.int.as(result); + } + flush() { + return this[_dispatch](17, [null]).then(io.RandomAccessFile, dart.fn(response => { + if (dart.test(io._isErrorResponse(response))) { + dart.throw(io._exceptionFromResponse(response, "flush failed", this.path)); + } + return this; + }, T$0.dynamicTo_RandomAccessFile())); + } + flushSync() { + this[_checkAvailable](); + let result = this[_ops].flush(); + if (io.OSError.is(result)) { + dart.throw(new io.FileSystemException.new("flush failed", this.path, result)); + } + } + [_fileLockValue](fl) { + if (fl == null) dart.nullFailed(I[114], 984, 31, "fl"); + return fl[_type]; + } + lock(mode = C[115] || CT.C115, start = 0, end = -1) { + if (mode == null) dart.nullFailed(I[114], 987, 17, "mode"); + if (start == null) dart.nullFailed(I[114], 987, 48, "start"); + if (end == null) dart.nullFailed(I[114], 987, 63, "end"); + core.ArgumentError.checkNotNull(io.FileLock, mode, "mode"); + core.ArgumentError.checkNotNull(core.int, start, "start"); + core.ArgumentError.checkNotNull(core.int, end, "end"); + if (dart.notNull(start) < 0 || dart.notNull(end) < -1 || end !== -1 && dart.notNull(start) >= dart.notNull(end)) { + dart.throw(new core.ArgumentError.new()); + } + let lock = this[_fileLockValue](mode); + return this[_dispatch](30, [null, lock, start, end]).then(io.RandomAccessFile, dart.fn(response => { + if (dart.test(io._isErrorResponse(response))) { + dart.throw(io._exceptionFromResponse(response, "lock failed", this.path)); + } + return this; + }, T$0.dynamicTo_RandomAccessFile())); + } + unlock(start = 0, end = -1) { + if (start == null) dart.nullFailed(I[114], 1005, 40, "start"); + if (end == null) dart.nullFailed(I[114], 1005, 55, "end"); + core.ArgumentError.checkNotNull(core.int, start, "start"); + core.ArgumentError.checkNotNull(core.int, end, "end"); + if (start == end) { + dart.throw(new core.ArgumentError.new()); + } + return this[_dispatch](30, [null, 0, start, end]).then(io.RandomAccessFile, dart.fn(response => { + if (dart.test(io._isErrorResponse(response))) { + dart.throw(io._exceptionFromResponse(response, "unlock failed", this.path)); + } + return this; + }, T$0.dynamicTo_RandomAccessFile())); + } + lockSync(mode = C[115] || CT.C115, start = 0, end = -1) { + if (mode == null) dart.nullFailed(I[114], 1022, 17, "mode"); + if (start == null) dart.nullFailed(I[114], 1022, 48, "start"); + if (end == null) dart.nullFailed(I[114], 1022, 63, "end"); + this[_checkAvailable](); + core.ArgumentError.checkNotNull(io.FileLock, mode, "mode"); + core.ArgumentError.checkNotNull(core.int, start, "start"); + core.ArgumentError.checkNotNull(core.int, end, "end"); + if (dart.notNull(start) < 0 || dart.notNull(end) < -1 || end !== -1 && dart.notNull(start) >= dart.notNull(end)) { + dart.throw(new core.ArgumentError.new()); + } + let lock = this[_fileLockValue](mode); + let result = this[_ops].lock(lock, start, end); + if (io.OSError.is(result)) { + dart.throw(new io.FileSystemException.new("lock failed", this.path, result)); + } + } + unlockSync(start = 0, end = -1) { + if (start == null) dart.nullFailed(I[114], 1038, 24, "start"); + if (end == null) dart.nullFailed(I[114], 1038, 39, "end"); + this[_checkAvailable](); + core.ArgumentError.checkNotNull(core.int, start, "start"); + core.ArgumentError.checkNotNull(core.int, end, "end"); + if (start == end) { + dart.throw(new core.ArgumentError.new()); + } + let result = this[_ops].lock(0, start, end); + if (io.OSError.is(result)) { + dart.throw(new io.FileSystemException.new("unlock failed", this.path, result)); + } + } + [_pointer]() { + return this[_ops].getPointer(); + } + [_dispatch](request, data, opts) { + if (request == null) dart.nullFailed(I[114], 1061, 24, "request"); + if (data == null) dart.nullFailed(I[114], 1061, 38, "data"); + let markClosed = opts && 'markClosed' in opts ? opts.markClosed : false; + if (markClosed == null) dart.nullFailed(I[114], 1061, 50, "markClosed"); + if (dart.test(this.closed)) { + return async.Future.error(new io.FileSystemException.new("File closed", this.path)); + } + if (dart.test(this[_asyncDispatched])) { + let msg = "An async operation is currently pending"; + return async.Future.error(new io.FileSystemException.new(msg, this.path)); + } + if (dart.test(markClosed)) { + this.closed = true; + } + this[_asyncDispatched] = true; + data[$_set](0, this[_pointer]()); + return io._IOService._dispatch(request, data).whenComplete(dart.fn(() => { + this[_asyncDispatched] = false; + }, T$.VoidToNull())); + } + [_checkAvailable]() { + if (dart.test(this[_asyncDispatched])) { + dart.throw(new io.FileSystemException.new("An async operation is currently pending", this.path)); + } + if (dart.test(this.closed)) { + dart.throw(new io.FileSystemException.new("File closed", this.path)); + } + } +}; +(io._RandomAccessFile.new = function(pointer, path) { + if (pointer == null) dart.nullFailed(I[114], 674, 25, "pointer"); + if (path == null) dart.nullFailed(I[114], 674, 39, "path"); + this[_asyncDispatched] = false; + this[___RandomAccessFile__resourceInfo] = null; + this[___RandomAccessFile__resourceInfo_isSet] = false; + this.closed = false; + this.path = path; + this[_ops] = io._RandomAccessFileOps.new(pointer); + this[_resourceInfo] = new io._FileResourceInfo.new(this); + this[_maybeConnectHandler](); +}).prototype = io._RandomAccessFile.prototype; +dart.addTypeTests(io._RandomAccessFile); +dart.addTypeCaches(io._RandomAccessFile); +io._RandomAccessFile[dart.implements] = () => [io.RandomAccessFile]; +dart.setMethodSignature(io._RandomAccessFile, () => ({ + __proto__: dart.getMethods(io._RandomAccessFile.__proto__), + [_maybePerformCleanup]: dart.fnType(dart.void, []), + [_maybeConnectHandler]: dart.fnType(dart.dynamic, []), + close: dart.fnType(async.Future$(dart.void), []), + closeSync: dart.fnType(dart.void, []), + readByte: dart.fnType(async.Future$(core.int), []), + readByteSync: dart.fnType(core.int, []), + read: dart.fnType(async.Future$(typed_data.Uint8List), [core.int]), + readSync: dart.fnType(typed_data.Uint8List, [core.int]), + readInto: dart.fnType(async.Future$(core.int), [core.List$(core.int)], [core.int, dart.nullable(core.int)]), + readIntoSync: dart.fnType(core.int, [core.List$(core.int)], [core.int, dart.nullable(core.int)]), + writeByte: dart.fnType(async.Future$(io.RandomAccessFile), [core.int]), + writeByteSync: dart.fnType(core.int, [core.int]), + writeFrom: dart.fnType(async.Future$(io.RandomAccessFile), [core.List$(core.int)], [core.int, dart.nullable(core.int)]), + writeFromSync: dart.fnType(dart.void, [core.List$(core.int)], [core.int, dart.nullable(core.int)]), + writeString: dart.fnType(async.Future$(io.RandomAccessFile), [core.String], {encoding: convert.Encoding}, {}), + writeStringSync: dart.fnType(dart.void, [core.String], {encoding: convert.Encoding}, {}), + position: dart.fnType(async.Future$(core.int), []), + positionSync: dart.fnType(core.int, []), + setPosition: dart.fnType(async.Future$(io.RandomAccessFile), [core.int]), + setPositionSync: dart.fnType(dart.void, [core.int]), + truncate: dart.fnType(async.Future$(io.RandomAccessFile), [core.int]), + truncateSync: dart.fnType(dart.void, [core.int]), + length: dart.fnType(async.Future$(core.int), []), + lengthSync: dart.fnType(core.int, []), + flush: dart.fnType(async.Future$(io.RandomAccessFile), []), + flushSync: dart.fnType(dart.void, []), + [_fileLockValue]: dart.fnType(core.int, [io.FileLock]), + lock: dart.fnType(async.Future$(io.RandomAccessFile), [], [io.FileLock, core.int, core.int]), + unlock: dart.fnType(async.Future$(io.RandomAccessFile), [], [core.int, core.int]), + lockSync: dart.fnType(dart.void, [], [io.FileLock, core.int, core.int]), + unlockSync: dart.fnType(dart.void, [], [core.int, core.int]), + [_pointer]: dart.fnType(core.int, []), + [_dispatch]: dart.fnType(async.Future, [core.int, core.List], {markClosed: core.bool}, {}), + [_checkAvailable]: dart.fnType(dart.void, []) +})); +dart.setGetterSignature(io._RandomAccessFile, () => ({ + __proto__: dart.getGetters(io._RandomAccessFile.__proto__), + [_resourceInfo]: io._FileResourceInfo +})); +dart.setSetterSignature(io._RandomAccessFile, () => ({ + __proto__: dart.getSetters(io._RandomAccessFile.__proto__), + [_resourceInfo]: io._FileResourceInfo +})); +dart.setLibraryUri(io._RandomAccessFile, I[105]); +dart.setFieldSignature(io._RandomAccessFile, () => ({ + __proto__: dart.getFields(io._RandomAccessFile.__proto__), + path: dart.finalFieldType(core.String), + [_asyncDispatched]: dart.fieldType(core.bool), + [___RandomAccessFile__resourceInfo]: dart.fieldType(dart.nullable(io._FileResourceInfo)), + [___RandomAccessFile__resourceInfo_isSet]: dart.fieldType(core.bool), + [_ops]: dart.fieldType(io._RandomAccessFileOps), + closed: dart.fieldType(core.bool) +})); +dart.defineLazy(io._RandomAccessFile, { + /*io._RandomAccessFile._connectedResourceHandler*/get _connectedResourceHandler() { + return false; + }, + set _connectedResourceHandler(_) {}, + /*io._RandomAccessFile.lockUnlock*/get lockUnlock() { + return 0; + } +}, false); +var _type$2 = dart.privateName(io, "FileSystemEntityType._type"); +io.FileSystemEntityType = class FileSystemEntityType extends core.Object { + get [_type]() { + return this[_type$2]; + } + set [_type](value) { + super[_type] = value; + } + static _lookup(type) { + if (type == null) dart.nullFailed(I[111], 39, 43, "type"); + return io.FileSystemEntityType._typeList[$_get](type); + } + toString() { + return (C[121] || CT.C121)[$_get](this[_type]); + } +}; +(io.FileSystemEntityType._internal = function(_type) { + if (_type == null) dart.nullFailed(I[111], 37, 45, "_type"); + this[_type$2] = _type; + ; +}).prototype = io.FileSystemEntityType.prototype; +dart.addTypeTests(io.FileSystemEntityType); +dart.addTypeCaches(io.FileSystemEntityType); +dart.setLibraryUri(io.FileSystemEntityType, I[105]); +dart.setFieldSignature(io.FileSystemEntityType, () => ({ + __proto__: dart.getFields(io.FileSystemEntityType.__proto__), + [_type]: dart.finalFieldType(core.int) +})); +dart.defineExtensionMethods(io.FileSystemEntityType, ['toString']); +dart.defineLazy(io.FileSystemEntityType, { + /*io.FileSystemEntityType.file*/get file() { + return C[122] || CT.C122; + }, + /*io.FileSystemEntityType.FILE*/get FILE() { + return C[122] || CT.C122; + }, + /*io.FileSystemEntityType.directory*/get directory() { + return C[123] || CT.C123; + }, + /*io.FileSystemEntityType.DIRECTORY*/get DIRECTORY() { + return C[123] || CT.C123; + }, + /*io.FileSystemEntityType.link*/get link() { + return C[124] || CT.C124; + }, + /*io.FileSystemEntityType.LINK*/get LINK() { + return C[124] || CT.C124; + }, + /*io.FileSystemEntityType.notFound*/get notFound() { + return C[125] || CT.C125; + }, + /*io.FileSystemEntityType.NOT_FOUND*/get NOT_FOUND() { + return C[125] || CT.C125; + }, + /*io.FileSystemEntityType._typeList*/get _typeList() { + return C[126] || CT.C126; + } +}, false); +var changed$ = dart.privateName(io, "FileStat.changed"); +var modified$ = dart.privateName(io, "FileStat.modified"); +var accessed$ = dart.privateName(io, "FileStat.accessed"); +var type$1 = dart.privateName(io, "FileStat.type"); +var mode$0 = dart.privateName(io, "FileStat.mode"); +var size$ = dart.privateName(io, "FileStat.size"); +io.FileStat = class FileStat extends core.Object { + get changed() { + return this[changed$]; + } + set changed(value) { + super.changed = value; + } + get modified() { + return this[modified$]; + } + set modified(value) { + super.modified = value; + } + get accessed() { + return this[accessed$]; + } + set accessed(value) { + super.accessed = value; + } + get type() { + return this[type$1]; + } + set type(value) { + super.type = value; + } + get mode() { + return this[mode$0]; + } + set mode(value) { + super.mode = value; + } + get size() { + return this[size$]; + } + set size(value) { + super.size = value; + } + static _statSync(namespace, path) { + if (namespace == null) dart.nullFailed(I[107], 84, 31, "namespace"); + if (path == null) dart.nullFailed(I[107], 84, 49, "path"); + dart.throw(new core.UnsupportedError.new("FileStat.stat")); + } + static statSync(path) { + if (path == null) dart.nullFailed(I[111], 99, 35, "path"); + let overrides = io.IOOverrides.current; + if (overrides == null) { + return io.FileStat._statSyncInternal(path); + } + return overrides.statSync(path); + } + static _statSyncInternal(path) { + if (path == null) dart.nullFailed(I[111], 107, 44, "path"); + if (dart.test(io.Platform.isWindows)) { + path = io.FileSystemEntity._trimTrailingPathSeparators(path); + } + let data = io.FileStat._statSync(io._Namespace._namespace, path); + if (io.OSError.is(data)) return io.FileStat._notFound; + return new io.FileStat._internal(new core.DateTime.fromMillisecondsSinceEpoch(core.int.as(dart.dsend(data, '_get', [1]))), new core.DateTime.fromMillisecondsSinceEpoch(core.int.as(dart.dsend(data, '_get', [2]))), new core.DateTime.fromMillisecondsSinceEpoch(core.int.as(dart.dsend(data, '_get', [3]))), io.FileSystemEntityType._lookup(core.int.as(dart.dsend(data, '_get', [0]))), core.int.as(dart.dsend(data, '_get', [4])), core.int.as(dart.dsend(data, '_get', [5]))); + } + static stat(path) { + if (path == null) dart.nullFailed(I[111], 127, 39, "path"); + let overrides = io.IOOverrides.current; + if (overrides == null) { + return io.FileStat._stat(path); + } + return overrides.stat(path); + } + static _stat(path) { + if (path == null) dart.nullFailed(I[111], 135, 40, "path"); + if (dart.test(io.Platform.isWindows)) { + path = io.FileSystemEntity._trimTrailingPathSeparators(path); + } + return io._File._dispatchWithNamespace(29, [null, path]).then(io.FileStat, dart.fn(response => { + if (dart.test(io._isErrorResponse(response))) { + return io.FileStat._notFound; + } + let data = core.List.as(dart.dsend(response, '_get', [1])); + return new io.FileStat._internal(new core.DateTime.fromMillisecondsSinceEpoch(core.int.as(data[$_get](1))), new core.DateTime.fromMillisecondsSinceEpoch(core.int.as(data[$_get](2))), new core.DateTime.fromMillisecondsSinceEpoch(core.int.as(data[$_get](3))), io.FileSystemEntityType._lookup(core.int.as(data[$_get](0))), core.int.as(data[$_get](4)), core.int.as(data[$_get](5))); + }, T$0.dynamicToFileStat())); + } + toString() { + return "FileStat: type " + dart.str(this.type) + "\n changed " + dart.str(this.changed) + "\n modified " + dart.str(this.modified) + "\n accessed " + dart.str(this.accessed) + "\n mode " + dart.str(this.modeString()) + "\n size " + dart.str(this.size); + } + modeString() { + let t201; + let permissions = dart.notNull(this.mode) & 4095; + let codes = C[127] || CT.C127; + let result = []; + if ((permissions & 2048) !== 0) result[$add]("(suid) "); + if ((permissions & 1024) !== 0) result[$add]("(guid) "); + if ((permissions & 512) !== 0) result[$add]("(sticky) "); + t201 = result; + (() => { + t201[$add](codes[$_get](permissions >> 6 & 7)); + t201[$add](codes[$_get](permissions >> 3 & 7)); + t201[$add](codes[$_get](permissions & 7)); + return t201; + })(); + return result[$join](); + } +}; +(io.FileStat._internal = function(changed, modified, accessed, type, mode, size) { + if (changed == null) dart.nullFailed(I[111], 89, 27, "changed"); + if (modified == null) dart.nullFailed(I[111], 89, 41, "modified"); + if (accessed == null) dart.nullFailed(I[111], 89, 56, "accessed"); + if (type == null) dart.nullFailed(I[111], 89, 71, "type"); + if (mode == null) dart.nullFailed(I[111], 90, 12, "mode"); + if (size == null) dart.nullFailed(I[111], 90, 23, "size"); + this[changed$] = changed; + this[modified$] = modified; + this[accessed$] = accessed; + this[type$1] = type; + this[mode$0] = mode; + this[size$] = size; + ; +}).prototype = io.FileStat.prototype; +dart.addTypeTests(io.FileStat); +dart.addTypeCaches(io.FileStat); +dart.setMethodSignature(io.FileStat, () => ({ + __proto__: dart.getMethods(io.FileStat.__proto__), + modeString: dart.fnType(core.String, []) +})); +dart.setLibraryUri(io.FileStat, I[105]); +dart.setFieldSignature(io.FileStat, () => ({ + __proto__: dart.getFields(io.FileStat.__proto__), + changed: dart.finalFieldType(core.DateTime), + modified: dart.finalFieldType(core.DateTime), + accessed: dart.finalFieldType(core.DateTime), + type: dart.finalFieldType(io.FileSystemEntityType), + mode: dart.finalFieldType(core.int), + size: dart.finalFieldType(core.int) +})); +dart.defineExtensionMethods(io.FileStat, ['toString']); +dart.defineLazy(io.FileStat, { + /*io.FileStat._type*/get _type() { + return 0; + }, + /*io.FileStat._changedTime*/get _changedTime() { + return 1; + }, + /*io.FileStat._modifiedTime*/get _modifiedTime() { + return 2; + }, + /*io.FileStat._accessedTime*/get _accessedTime() { + return 3; + }, + /*io.FileStat._mode*/get _mode() { + return 4; + }, + /*io.FileStat._size*/get _size() { + return 5; + }, + /*io.FileStat._epoch*/get _epoch() { + return new core.DateTime.fromMillisecondsSinceEpoch(0, {isUtc: true}); + }, + /*io.FileStat._notFound*/get _notFound() { + return new io.FileStat._internal(io.FileStat._epoch, io.FileStat._epoch, io.FileStat._epoch, io.FileSystemEntityType.notFound, 0, -1); + } +}, false); +var type$2 = dart.privateName(io, "FileSystemEvent.type"); +var path$0 = dart.privateName(io, "FileSystemEvent.path"); +var isDirectory$ = dart.privateName(io, "FileSystemEvent.isDirectory"); +io.FileSystemEvent = class FileSystemEvent extends core.Object { + get type() { + return this[type$2]; + } + set type(value) { + super.type = value; + } + get path() { + return this[path$0]; + } + set path(value) { + super.path = value; + } + get isDirectory() { + return this[isDirectory$]; + } + set isDirectory(value) { + super.isDirectory = value; + } +}; +(io.FileSystemEvent.__ = function(type, path, isDirectory) { + if (type == null) dart.nullFailed(I[111], 905, 26, "type"); + if (path == null) dart.nullFailed(I[111], 905, 37, "path"); + if (isDirectory == null) dart.nullFailed(I[111], 905, 48, "isDirectory"); + this[type$2] = type; + this[path$0] = path; + this[isDirectory$] = isDirectory; + ; +}).prototype = io.FileSystemEvent.prototype; +dart.addTypeTests(io.FileSystemEvent); +dart.addTypeCaches(io.FileSystemEvent); +dart.setLibraryUri(io.FileSystemEvent, I[105]); +dart.setFieldSignature(io.FileSystemEvent, () => ({ + __proto__: dart.getFields(io.FileSystemEvent.__proto__), + type: dart.finalFieldType(core.int), + path: dart.finalFieldType(core.String), + isDirectory: dart.finalFieldType(core.bool) +})); +dart.defineLazy(io.FileSystemEvent, { + /*io.FileSystemEvent.create*/get create() { + return 1; + }, + /*io.FileSystemEvent.CREATE*/get CREATE() { + return 1; + }, + /*io.FileSystemEvent.modify*/get modify() { + return 2; + }, + /*io.FileSystemEvent.MODIFY*/get MODIFY() { + return 2; + }, + /*io.FileSystemEvent.delete*/get delete() { + return 4; + }, + /*io.FileSystemEvent.DELETE*/get DELETE() { + return 4; + }, + /*io.FileSystemEvent.move*/get move() { + return 8; + }, + /*io.FileSystemEvent.MOVE*/get MOVE() { + return 8; + }, + /*io.FileSystemEvent.all*/get all() { + return 15; + }, + /*io.FileSystemEvent.ALL*/get ALL() { + return 15; + }, + /*io.FileSystemEvent._modifyAttributes*/get _modifyAttributes() { + return 16; + }, + /*io.FileSystemEvent._deleteSelf*/get _deleteSelf() { + return 32; + }, + /*io.FileSystemEvent._isDir*/get _isDir() { + return 64; + } +}, false); +io.FileSystemCreateEvent = class FileSystemCreateEvent extends io.FileSystemEvent { + toString() { + return "FileSystemCreateEvent('" + dart.str(this.path) + "')"; + } +}; +(io.FileSystemCreateEvent.__ = function(path, isDirectory) { + io.FileSystemCreateEvent.__proto__.__.call(this, 1, core.String.as(path), core.bool.as(isDirectory)); + ; +}).prototype = io.FileSystemCreateEvent.prototype; +dart.addTypeTests(io.FileSystemCreateEvent); +dart.addTypeCaches(io.FileSystemCreateEvent); +dart.setLibraryUri(io.FileSystemCreateEvent, I[105]); +dart.defineExtensionMethods(io.FileSystemCreateEvent, ['toString']); +var contentChanged$ = dart.privateName(io, "FileSystemModifyEvent.contentChanged"); +io.FileSystemModifyEvent = class FileSystemModifyEvent extends io.FileSystemEvent { + get contentChanged() { + return this[contentChanged$]; + } + set contentChanged(value) { + super.contentChanged = value; + } + toString() { + return "FileSystemModifyEvent('" + dart.str(this.path) + "', contentChanged=" + dart.str(this.contentChanged) + ")"; + } +}; +(io.FileSystemModifyEvent.__ = function(path, isDirectory, contentChanged) { + if (contentChanged == null) dart.nullFailed(I[111], 922, 51, "contentChanged"); + this[contentChanged$] = contentChanged; + io.FileSystemModifyEvent.__proto__.__.call(this, 2, core.String.as(path), core.bool.as(isDirectory)); + ; +}).prototype = io.FileSystemModifyEvent.prototype; +dart.addTypeTests(io.FileSystemModifyEvent); +dart.addTypeCaches(io.FileSystemModifyEvent); +dart.setLibraryUri(io.FileSystemModifyEvent, I[105]); +dart.setFieldSignature(io.FileSystemModifyEvent, () => ({ + __proto__: dart.getFields(io.FileSystemModifyEvent.__proto__), + contentChanged: dart.finalFieldType(core.bool) +})); +dart.defineExtensionMethods(io.FileSystemModifyEvent, ['toString']); +io.FileSystemDeleteEvent = class FileSystemDeleteEvent extends io.FileSystemEvent { + toString() { + return "FileSystemDeleteEvent('" + dart.str(this.path) + "')"; + } +}; +(io.FileSystemDeleteEvent.__ = function(path, isDirectory) { + io.FileSystemDeleteEvent.__proto__.__.call(this, 4, core.String.as(path), core.bool.as(isDirectory)); + ; +}).prototype = io.FileSystemDeleteEvent.prototype; +dart.addTypeTests(io.FileSystemDeleteEvent); +dart.addTypeCaches(io.FileSystemDeleteEvent); +dart.setLibraryUri(io.FileSystemDeleteEvent, I[105]); +dart.defineExtensionMethods(io.FileSystemDeleteEvent, ['toString']); +var destination$ = dart.privateName(io, "FileSystemMoveEvent.destination"); +io.FileSystemMoveEvent = class FileSystemMoveEvent extends io.FileSystemEvent { + get destination() { + return this[destination$]; + } + set destination(value) { + super.destination = value; + } + toString() { + let buffer = new core.StringBuffer.new(); + buffer.write("FileSystemMoveEvent('" + dart.str(this.path) + "'"); + if (this.destination != null) buffer.write(", '" + dart.str(this.destination) + "'"); + buffer.write(")"); + return buffer.toString(); + } +}; +(io.FileSystemMoveEvent.__ = function(path, isDirectory, destination) { + this[destination$] = destination; + io.FileSystemMoveEvent.__proto__.__.call(this, 8, core.String.as(path), core.bool.as(isDirectory)); + ; +}).prototype = io.FileSystemMoveEvent.prototype; +dart.addTypeTests(io.FileSystemMoveEvent); +dart.addTypeCaches(io.FileSystemMoveEvent); +dart.setLibraryUri(io.FileSystemMoveEvent, I[105]); +dart.setFieldSignature(io.FileSystemMoveEvent, () => ({ + __proto__: dart.getFields(io.FileSystemMoveEvent.__proto__), + destination: dart.finalFieldType(dart.nullable(core.String)) +})); +dart.defineExtensionMethods(io.FileSystemMoveEvent, ['toString']); +io._FileSystemWatcher = class _FileSystemWatcher extends core.Object { + static _watch(path, events, recursive) { + if (path == null) dart.nullFailed(I[107], 691, 14, "path"); + if (events == null) dart.nullFailed(I[107], 691, 24, "events"); + if (recursive == null) dart.nullFailed(I[107], 691, 37, "recursive"); + dart.throw(new core.UnsupportedError.new("_FileSystemWatcher.watch")); + } + static get isSupported() { + dart.throw(new core.UnsupportedError.new("_FileSystemWatcher.isSupported")); + } +}; +(io._FileSystemWatcher.new = function() { + ; +}).prototype = io._FileSystemWatcher.prototype; +dart.addTypeTests(io._FileSystemWatcher); +dart.addTypeCaches(io._FileSystemWatcher); +dart.setLibraryUri(io._FileSystemWatcher, I[105]); +io._IOResourceInfo = class _IOResourceInfo extends core.Object { + static get timestamp() { + return dart.notNull(io._IOResourceInfo._startTime) + (dart.notNull(io._IOResourceInfo._sw.elapsedMicroseconds) / 1000)[$truncate](); + } + get referenceValueMap() { + return new (T$0.IdentityMapOfString$dynamic()).from(["type", "@" + dart.str(this.type), "id", this.id, "name", this.name]); + } + static getNextID() { + let t201; + t201 = io._IOResourceInfo._count; + io._IOResourceInfo._count = dart.notNull(t201) + 1; + return t201; + } +}; +(io._IOResourceInfo.new = function(type) { + if (type == null) dart.nullFailed(I[115], 18, 24, "type"); + this.type = type; + this.id = io._IOResourceInfo.getNextID(); + ; +}).prototype = io._IOResourceInfo.prototype; +dart.addTypeTests(io._IOResourceInfo); +dart.addTypeCaches(io._IOResourceInfo); +dart.setGetterSignature(io._IOResourceInfo, () => ({ + __proto__: dart.getGetters(io._IOResourceInfo.__proto__), + referenceValueMap: core.Map$(core.String, dart.dynamic) +})); +dart.setLibraryUri(io._IOResourceInfo, I[105]); +dart.setFieldSignature(io._IOResourceInfo, () => ({ + __proto__: dart.getFields(io._IOResourceInfo.__proto__), + type: dart.finalFieldType(core.String), + id: dart.finalFieldType(core.int) +})); +dart.defineLazy(io._IOResourceInfo, { + /*io._IOResourceInfo._count*/get _count() { + return 0; + }, + set _count(_) {}, + /*io._IOResourceInfo._sw*/get _sw() { + let t201; + return t201 = new core.Stopwatch.new(), (() => { + t201.start(); + return t201; + })(); + }, + /*io._IOResourceInfo._startTime*/get _startTime() { + return new core.DateTime.now().millisecondsSinceEpoch; + } +}, false); +io._ReadWriteResourceInfo = class _ReadWriteResourceInfo extends io._IOResourceInfo { + addRead(bytes) { + if (bytes == null) dart.nullFailed(I[115], 47, 20, "bytes"); + this.readBytes = dart.notNull(this.readBytes) + dart.notNull(bytes); + this.readCount = dart.notNull(this.readCount) + 1; + this.lastReadTime = io._IOResourceInfo.timestamp; + } + didRead() { + this.addRead(0); + } + addWrite(bytes) { + if (bytes == null) dart.nullFailed(I[115], 60, 21, "bytes"); + this.writeBytes = dart.notNull(this.writeBytes) + dart.notNull(bytes); + this.writeCount = dart.notNull(this.writeCount) + 1; + this.lastWriteTime = io._IOResourceInfo.timestamp; + } + get fullValueMap() { + return new (T$0.IdentityMapOfString$dynamic()).from(["type", this.type, "id", this.id, "name", this.name, "readBytes", this.readBytes, "writeBytes", this.writeBytes, "readCount", this.readCount, "writeCount", this.writeCount, "lastReadTime", this.lastReadTime, "lastWriteTime", this.lastWriteTime]); + } +}; +(io._ReadWriteResourceInfo.new = function(type) { + if (type == null) dart.nullFailed(I[115], 66, 33, "type"); + this.readBytes = 0; + this.writeBytes = 0; + this.readCount = 0; + this.writeCount = 0; + this.lastReadTime = 0; + this.lastWriteTime = 0; + io._ReadWriteResourceInfo.__proto__.new.call(this, type); + ; +}).prototype = io._ReadWriteResourceInfo.prototype; +dart.addTypeTests(io._ReadWriteResourceInfo); +dart.addTypeCaches(io._ReadWriteResourceInfo); +dart.setMethodSignature(io._ReadWriteResourceInfo, () => ({ + __proto__: dart.getMethods(io._ReadWriteResourceInfo.__proto__), + addRead: dart.fnType(dart.void, [core.int]), + didRead: dart.fnType(dart.void, []), + addWrite: dart.fnType(dart.void, [core.int]) +})); +dart.setGetterSignature(io._ReadWriteResourceInfo, () => ({ + __proto__: dart.getGetters(io._ReadWriteResourceInfo.__proto__), + fullValueMap: core.Map$(core.String, dart.dynamic) +})); +dart.setLibraryUri(io._ReadWriteResourceInfo, I[105]); +dart.setFieldSignature(io._ReadWriteResourceInfo, () => ({ + __proto__: dart.getFields(io._ReadWriteResourceInfo.__proto__), + readBytes: dart.fieldType(core.int), + writeBytes: dart.fieldType(core.int), + readCount: dart.fieldType(core.int), + writeCount: dart.fieldType(core.int), + lastReadTime: dart.fieldType(core.int), + lastWriteTime: dart.fieldType(core.int) +})); +io._FileResourceInfo = class _FileResourceInfo extends io._ReadWriteResourceInfo { + static fileOpened(info) { + if (info == null) dart.nullFailed(I[115], 99, 39, "info"); + if (!!dart.test(io._FileResourceInfo.openFiles[$containsKey](info.id))) dart.assertFailed(null, I[115], 100, 12, "!openFiles.containsKey(info.id)"); + io._FileResourceInfo.openFiles[$_set](info.id, info); + } + static fileClosed(info) { + if (info == null) dart.nullFailed(I[115], 104, 39, "info"); + if (!dart.test(io._FileResourceInfo.openFiles[$containsKey](info.id))) dart.assertFailed(null, I[115], 105, 12, "openFiles.containsKey(info.id)"); + io._FileResourceInfo.openFiles[$remove](info.id); + } + static getOpenFilesList() { + return T$0.ListOfMapOfString$dynamic().from(io._FileResourceInfo.openFiles[$values][$map](dart.dynamic, dart.fn(e => { + if (e == null) dart.nullFailed(I[115], 111, 8, "e"); + return e.referenceValueMap; + }, T$0._FileResourceInfoToMapOfString$dynamic()))); + } + static getOpenFiles($function, params) { + if (!dart.equals($function, "ext.dart.io.getOpenFiles")) dart.assertFailed(null, I[115], 116, 12, "function == 'ext.dart.io.getOpenFiles'"); + let data = new (T$.IdentityMapOfString$Object()).from(["type", "OpenFileList", "files", io._FileResourceInfo.getOpenFilesList()]); + let jsonValue = convert.json.encode(data); + return T$0.FutureOfServiceExtensionResponse().value(new developer.ServiceExtensionResponse.result(jsonValue)); + } + get fileInfoMap() { + return this.fullValueMap; + } + static getOpenFileInfoMapByID($function, params) { + let id = core.int.parse(core.String.as(dart.nullCheck(dart.dsend(params, '_get', ["id"])))); + let result = dart.test(io._FileResourceInfo.openFiles[$containsKey](id)) ? dart.nullCheck(io._FileResourceInfo.openFiles[$_get](id)).fileInfoMap : new _js_helper.LinkedMap.new(); + let jsonValue = convert.json.encode(result); + return T$0.FutureOfServiceExtensionResponse().value(new developer.ServiceExtensionResponse.result(jsonValue)); + } + get name() { + return core.String.as(dart.dload(this.file, 'path')); + } +}; +(io._FileResourceInfo.new = function(file) { + this.file = file; + io._FileResourceInfo.__proto__.new.call(this, "OpenFile"); + io._FileResourceInfo.fileOpened(this); +}).prototype = io._FileResourceInfo.prototype; +dart.addTypeTests(io._FileResourceInfo); +dart.addTypeCaches(io._FileResourceInfo); +dart.setGetterSignature(io._FileResourceInfo, () => ({ + __proto__: dart.getGetters(io._FileResourceInfo.__proto__), + fileInfoMap: core.Map$(core.String, dart.dynamic), + name: core.String +})); +dart.setLibraryUri(io._FileResourceInfo, I[105]); +dart.setFieldSignature(io._FileResourceInfo, () => ({ + __proto__: dart.getFields(io._FileResourceInfo.__proto__), + file: dart.finalFieldType(dart.dynamic) +})); +dart.defineLazy(io._FileResourceInfo, { + /*io._FileResourceInfo._type*/get _type() { + return "OpenFile"; + }, + /*io._FileResourceInfo.openFiles*/get openFiles() { + return new (T$0.IdentityMapOfint$_FileResourceInfo()).new(); + }, + set openFiles(_) {} +}, false); +var _arguments$2 = dart.privateName(io, "_arguments"); +var _workingDirectory = dart.privateName(io, "_workingDirectory"); +io._SpawnedProcessResourceInfo = class _SpawnedProcessResourceInfo extends io._IOResourceInfo { + get name() { + return core.String.as(dart.dload(this.process, _path$0)); + } + stopped() { + return io._SpawnedProcessResourceInfo.processStopped(this); + } + get fullValueMap() { + return new (T$0.IdentityMapOfString$dynamic()).from(["type", this.type, "id", this.id, "name", this.name, "pid", dart.dload(this.process, 'pid'), "startedAt", this.startedAt, "arguments", dart.dload(this.process, _arguments$2), "workingDirectory", dart.dload(this.process, _workingDirectory) == null ? "." : dart.dload(this.process, _workingDirectory)]); + } + static processStarted(info) { + if (info == null) dart.nullFailed(I[115], 167, 53, "info"); + if (!!dart.test(io._SpawnedProcessResourceInfo.startedProcesses[$containsKey](info.id))) dart.assertFailed(null, I[115], 168, 12, "!startedProcesses.containsKey(info.id)"); + io._SpawnedProcessResourceInfo.startedProcesses[$_set](info.id, info); + } + static processStopped(info) { + if (info == null) dart.nullFailed(I[115], 172, 53, "info"); + if (!dart.test(io._SpawnedProcessResourceInfo.startedProcesses[$containsKey](info.id))) dart.assertFailed(null, I[115], 173, 12, "startedProcesses.containsKey(info.id)"); + io._SpawnedProcessResourceInfo.startedProcesses[$remove](info.id); + } + static getStartedProcessesList() { + return T$0.ListOfMapOfString$dynamic().from(io._SpawnedProcessResourceInfo.startedProcesses[$values][$map](dart.dynamic, dart.fn(e => { + if (e == null) dart.nullFailed(I[115], 179, 10, "e"); + return e.referenceValueMap; + }, T$0._SpawnedProcessResourceInfoToMapOfString$dynamic()))); + } + static getStartedProcesses($function, params) { + if ($function == null) dart.nullFailed(I[115], 183, 14, "function"); + if (params == null) dart.nullFailed(I[115], 183, 44, "params"); + if (!($function === "ext.dart.io.getSpawnedProcesses")) dart.assertFailed(null, I[115], 184, 12, "function == 'ext.dart.io.getSpawnedProcesses'"); + let data = new (T$.IdentityMapOfString$Object()).from(["type", "SpawnedProcessList", "processes", io._SpawnedProcessResourceInfo.getStartedProcessesList()]); + let jsonValue = convert.json.encode(data); + return T$0.FutureOfServiceExtensionResponse().value(new developer.ServiceExtensionResponse.result(jsonValue)); + } + static getProcessInfoMapById($function, params) { + if ($function == null) dart.nullFailed(I[115], 194, 14, "function"); + if (params == null) dart.nullFailed(I[115], 194, 44, "params"); + let id = core.int.parse(dart.nullCheck(params[$_get]("id"))); + let result = dart.test(io._SpawnedProcessResourceInfo.startedProcesses[$containsKey](id)) ? dart.nullCheck(io._SpawnedProcessResourceInfo.startedProcesses[$_get](id)).fullValueMap : new _js_helper.LinkedMap.new(); + let jsonValue = convert.json.encode(result); + return T$0.FutureOfServiceExtensionResponse().value(new developer.ServiceExtensionResponse.result(jsonValue)); + } +}; +(io._SpawnedProcessResourceInfo.new = function(process) { + this.process = process; + this.startedAt = io._IOResourceInfo.timestamp; + io._SpawnedProcessResourceInfo.__proto__.new.call(this, "SpawnedProcess"); + io._SpawnedProcessResourceInfo.processStarted(this); +}).prototype = io._SpawnedProcessResourceInfo.prototype; +dart.addTypeTests(io._SpawnedProcessResourceInfo); +dart.addTypeCaches(io._SpawnedProcessResourceInfo); +dart.setMethodSignature(io._SpawnedProcessResourceInfo, () => ({ + __proto__: dart.getMethods(io._SpawnedProcessResourceInfo.__proto__), + stopped: dart.fnType(dart.void, []) +})); +dart.setGetterSignature(io._SpawnedProcessResourceInfo, () => ({ + __proto__: dart.getGetters(io._SpawnedProcessResourceInfo.__proto__), + name: core.String, + fullValueMap: core.Map$(core.String, dart.dynamic) +})); +dart.setLibraryUri(io._SpawnedProcessResourceInfo, I[105]); +dart.setFieldSignature(io._SpawnedProcessResourceInfo, () => ({ + __proto__: dart.getFields(io._SpawnedProcessResourceInfo.__proto__), + process: dart.finalFieldType(dart.dynamic), + startedAt: dart.finalFieldType(core.int) +})); +dart.defineLazy(io._SpawnedProcessResourceInfo, { + /*io._SpawnedProcessResourceInfo._type*/get _type() { + return "SpawnedProcess"; + }, + /*io._SpawnedProcessResourceInfo.startedProcesses*/get startedProcesses() { + return new (T$0.LinkedMapOfint$_SpawnedProcessResourceInfo()).new(); + }, + set startedProcesses(_) {} +}, false); +var __IOSink_encoding = dart.privateName(io, "_#IOSink#encoding"); +var __IOSink_encoding_isSet = dart.privateName(io, "_#IOSink#encoding#isSet"); +io.IOSink = class IOSink extends core.Object { + static new(target, opts) { + if (target == null) dart.nullFailed(I[116], 23, 44, "target"); + let encoding = opts && 'encoding' in opts ? opts.encoding : C[108] || CT.C108; + if (encoding == null) dart.nullFailed(I[116], 24, 21, "encoding"); + return new io._IOSinkImpl.new(target, encoding); + } + get encoding() { + let t201; + return dart.test(this[__IOSink_encoding_isSet]) ? (t201 = this[__IOSink_encoding], t201) : dart.throw(new _internal.LateError.fieldNI("encoding")); + } + set encoding(t201) { + if (t201 == null) dart.nullFailed(I[116], 30, 17, "null"); + this[__IOSink_encoding_isSet] = true; + this[__IOSink_encoding] = t201; + } +}; +(io.IOSink[dart.mixinNew] = function() { + this[__IOSink_encoding] = null; + this[__IOSink_encoding_isSet] = false; +}).prototype = io.IOSink.prototype; +dart.addTypeTests(io.IOSink); +dart.addTypeCaches(io.IOSink); +io.IOSink[dart.implements] = () => [async.StreamSink$(core.List$(core.int)), core.StringSink]; +dart.setGetterSignature(io.IOSink, () => ({ + __proto__: dart.getGetters(io.IOSink.__proto__), + encoding: convert.Encoding +})); +dart.setSetterSignature(io.IOSink, () => ({ + __proto__: dart.getSetters(io.IOSink.__proto__), + encoding: convert.Encoding +})); +dart.setLibraryUri(io.IOSink, I[105]); +dart.setFieldSignature(io.IOSink, () => ({ + __proto__: dart.getFields(io.IOSink.__proto__), + [__IOSink_encoding]: dart.fieldType(dart.nullable(convert.Encoding)), + [__IOSink_encoding_isSet]: dart.fieldType(core.bool) +})); +var _doneCompleter = dart.privateName(io, "_doneCompleter"); +var _controllerInstance = dart.privateName(io, "_controllerInstance"); +var _controllerCompleter = dart.privateName(io, "_controllerCompleter"); +var _isClosed$ = dart.privateName(io, "_isClosed"); +var _isBound = dart.privateName(io, "_isBound"); +var _hasError$ = dart.privateName(io, "_hasError"); +var _target$0 = dart.privateName(io, "_target"); +var _closeTarget = dart.privateName(io, "_closeTarget"); +var _completeDoneValue = dart.privateName(io, "_completeDoneValue"); +var _completeDoneError = dart.privateName(io, "_completeDoneError"); +const _is__StreamSinkImpl_default = Symbol('_is__StreamSinkImpl_default'); +io._StreamSinkImpl$ = dart.generic(T => { + var StreamOfT = () => (StreamOfT = dart.constFn(async.Stream$(T)))(); + var StreamControllerOfT = () => (StreamControllerOfT = dart.constFn(async.StreamController$(T)))(); + class _StreamSinkImpl extends core.Object { + add(data) { + T.as(data); + if (dart.test(this[_isClosed$])) { + dart.throw(new core.StateError.new("StreamSink is closed")); + } + this[_controller].add(data); + } + addError(error, stackTrace = null) { + if (error == null) dart.nullFailed(I[116], 139, 17, "error"); + if (dart.test(this[_isClosed$])) { + dart.throw(new core.StateError.new("StreamSink is closed")); + } + this[_controller].addError(error, stackTrace); + } + addStream(stream) { + let t202; + StreamOfT().as(stream); + if (stream == null) dart.nullFailed(I[116], 146, 30, "stream"); + if (dart.test(this[_isBound])) { + dart.throw(new core.StateError.new("StreamSink is already bound to a stream")); + } + if (dart.test(this[_hasError$])) return this.done; + this[_isBound] = true; + let future = this[_controllerCompleter] == null ? this[_target$0].addStream(stream) : dart.nullCheck(this[_controllerCompleter]).future.then(dart.dynamic, dart.fn(_ => this[_target$0].addStream(stream), T$.dynamicToFuture())); + t202 = this[_controllerInstance]; + t202 == null ? null : t202.close(); + return future.whenComplete(dart.fn(() => { + this[_isBound] = false; + }, T$.VoidToNull())); + } + flush() { + if (dart.test(this[_isBound])) { + dart.throw(new core.StateError.new("StreamSink is bound to a stream")); + } + if (this[_controllerInstance] == null) return async.Future.value(this); + this[_isBound] = true; + let future = dart.nullCheck(this[_controllerCompleter]).future; + dart.nullCheck(this[_controllerInstance]).close(); + return future.whenComplete(dart.fn(() => { + this[_isBound] = false; + }, T$.VoidToNull())); + } + close() { + if (dart.test(this[_isBound])) { + dart.throw(new core.StateError.new("StreamSink is bound to a stream")); + } + if (!dart.test(this[_isClosed$])) { + this[_isClosed$] = true; + if (this[_controllerInstance] != null) { + dart.nullCheck(this[_controllerInstance]).close(); + } else { + this[_closeTarget](); + } + } + return this.done; + } + [_closeTarget]() { + this[_target$0].close().then(dart.void, dart.bind(this, _completeDoneValue), {onError: dart.bind(this, _completeDoneError)}); + } + get done() { + return this[_doneCompleter].future; + } + [_completeDoneValue](value) { + if (!dart.test(this[_doneCompleter].isCompleted)) { + this[_doneCompleter].complete(value); + } + } + [_completeDoneError](error, stackTrace) { + if (!dart.test(this[_doneCompleter].isCompleted)) { + this[_hasError$] = true; + this[_doneCompleter].completeError(core.Object.as(error), stackTrace); + } + } + get [_controller]() { + if (dart.test(this[_isBound])) { + dart.throw(new core.StateError.new("StreamSink is bound to a stream")); + } + if (dart.test(this[_isClosed$])) { + dart.throw(new core.StateError.new("StreamSink is closed")); + } + if (this[_controllerInstance] == null) { + this[_controllerInstance] = StreamControllerOfT().new({sync: true}); + this[_controllerCompleter] = async.Completer.new(); + this[_target$0].addStream(this[_controller].stream).then(core.Null, dart.fn(_ => { + if (dart.test(this[_isBound])) { + dart.nullCheck(this[_controllerCompleter]).complete(this); + this[_controllerCompleter] = null; + this[_controllerInstance] = null; + } else { + this[_closeTarget](); + } + }, T$.dynamicToNull()), {onError: dart.fn((error, stackTrace) => { + if (dart.test(this[_isBound])) { + dart.nullCheck(this[_controllerCompleter]).completeError(core.Object.as(error), T$.StackTraceN().as(stackTrace)); + this[_controllerCompleter] = null; + this[_controllerInstance] = null; + } else { + this[_completeDoneError](error, T$.StackTraceN().as(stackTrace)); + } + }, T$.dynamicAnddynamicToNull())}); + } + return dart.nullCheck(this[_controllerInstance]); + } + } + (_StreamSinkImpl.new = function(_target) { + if (_target == null) dart.nullFailed(I[116], 130, 24, "_target"); + this[_doneCompleter] = async.Completer.new(); + this[_controllerInstance] = null; + this[_controllerCompleter] = null; + this[_isClosed$] = false; + this[_isBound] = false; + this[_hasError$] = false; + this[_target$0] = _target; + ; + }).prototype = _StreamSinkImpl.prototype; + dart.addTypeTests(_StreamSinkImpl); + _StreamSinkImpl.prototype[_is__StreamSinkImpl_default] = true; + dart.addTypeCaches(_StreamSinkImpl); + _StreamSinkImpl[dart.implements] = () => [async.StreamSink$(T)]; + dart.setMethodSignature(_StreamSinkImpl, () => ({ + __proto__: dart.getMethods(_StreamSinkImpl.__proto__), + add: dart.fnType(dart.void, [dart.nullable(core.Object)]), + addError: dart.fnType(dart.void, [core.Object], [dart.nullable(core.StackTrace)]), + addStream: dart.fnType(async.Future, [dart.nullable(core.Object)]), + flush: dart.fnType(async.Future, []), + close: dart.fnType(async.Future, []), + [_closeTarget]: dart.fnType(dart.void, []), + [_completeDoneValue]: dart.fnType(dart.void, [dart.dynamic]), + [_completeDoneError]: dart.fnType(dart.void, [dart.dynamic, dart.nullable(core.StackTrace)]) + })); + dart.setGetterSignature(_StreamSinkImpl, () => ({ + __proto__: dart.getGetters(_StreamSinkImpl.__proto__), + done: async.Future, + [_controller]: async.StreamController$(T) + })); + dart.setLibraryUri(_StreamSinkImpl, I[105]); + dart.setFieldSignature(_StreamSinkImpl, () => ({ + __proto__: dart.getFields(_StreamSinkImpl.__proto__), + [_target$0]: dart.finalFieldType(async.StreamConsumer$(T)), + [_doneCompleter]: dart.finalFieldType(async.Completer), + [_controllerInstance]: dart.fieldType(dart.nullable(async.StreamController$(T))), + [_controllerCompleter]: dart.fieldType(dart.nullable(async.Completer)), + [_isClosed$]: dart.fieldType(core.bool), + [_isBound]: dart.fieldType(core.bool), + [_hasError$]: dart.fieldType(core.bool) + })); + return _StreamSinkImpl; +}); +io._StreamSinkImpl = io._StreamSinkImpl$(); +dart.addTypeTests(io._StreamSinkImpl, _is__StreamSinkImpl_default); +var _encodingMutable = dart.privateName(io, "_encodingMutable"); +var _encoding$ = dart.privateName(io, "_encoding"); +io._IOSinkImpl = class _IOSinkImpl extends io._StreamSinkImpl$(core.List$(core.int)) { + get encoding() { + return this[_encoding$]; + } + set encoding(value) { + if (value == null) dart.nullFailed(I[116], 259, 30, "value"); + if (!dart.test(this[_encodingMutable])) { + dart.throw(new core.StateError.new("IOSink encoding is not mutable")); + } + this[_encoding$] = value; + } + write(obj) { + let string = dart.str(obj); + if (string[$isEmpty]) return; + this.add(this[_encoding$].encode(string)); + } + writeAll(objects, separator = "") { + if (objects == null) dart.nullFailed(I[116], 272, 26, "objects"); + if (separator == null) dart.nullFailed(I[116], 272, 43, "separator"); + let iterator = objects[$iterator]; + if (!dart.test(iterator.moveNext())) return; + if (separator[$isEmpty]) { + do { + this.write(iterator.current); + } while (dart.test(iterator.moveNext())); + } else { + this.write(iterator.current); + while (dart.test(iterator.moveNext())) { + this.write(separator); + this.write(iterator.current); + } + } + } + writeln(object = "") { + this.write(object); + this.write("\n"); + } + writeCharCode(charCode) { + if (charCode == null) dart.nullFailed(I[116], 293, 26, "charCode"); + this.write(core.String.fromCharCode(charCode)); + } +}; +(io._IOSinkImpl.new = function(target, _encoding) { + if (target == null) dart.nullFailed(I[116], 255, 41, "target"); + if (_encoding == null) dart.nullFailed(I[116], 255, 54, "_encoding"); + this[_encodingMutable] = true; + this[_encoding$] = _encoding; + io._IOSinkImpl.__proto__.new.call(this, target); + ; +}).prototype = io._IOSinkImpl.prototype; +dart.addTypeTests(io._IOSinkImpl); +dart.addTypeCaches(io._IOSinkImpl); +io._IOSinkImpl[dart.implements] = () => [io.IOSink]; +dart.setMethodSignature(io._IOSinkImpl, () => ({ + __proto__: dart.getMethods(io._IOSinkImpl.__proto__), + write: dart.fnType(dart.void, [dart.nullable(core.Object)]), + writeAll: dart.fnType(dart.void, [core.Iterable], [core.String]), + writeln: dart.fnType(dart.void, [], [dart.nullable(core.Object)]), + writeCharCode: dart.fnType(dart.void, [core.int]) +})); +dart.setGetterSignature(io._IOSinkImpl, () => ({ + __proto__: dart.getGetters(io._IOSinkImpl.__proto__), + encoding: convert.Encoding +})); +dart.setSetterSignature(io._IOSinkImpl, () => ({ + __proto__: dart.getSetters(io._IOSinkImpl.__proto__), + encoding: convert.Encoding +})); +dart.setLibraryUri(io._IOSinkImpl, I[105]); +dart.setFieldSignature(io._IOSinkImpl, () => ({ + __proto__: dart.getFields(io._IOSinkImpl.__proto__), + [_encoding$]: dart.fieldType(convert.Encoding), + [_encodingMutable]: dart.fieldType(core.bool) +})); +io._IOService = class _IOService extends core.Object { + static _dispatch(request, data) { + if (request == null) dart.nullFailed(I[107], 704, 31, "request"); + if (data == null) dart.nullFailed(I[107], 704, 45, "data"); + dart.throw(new core.UnsupportedError.new("_IOService._dispatch")); + } +}; +(io._IOService.new = function() { + ; +}).prototype = io._IOService.prototype; +dart.addTypeTests(io._IOService); +dart.addTypeCaches(io._IOService); +dart.setLibraryUri(io._IOService, I[105]); +dart.defineLazy(io._IOService, { + /*io._IOService.fileExists*/get fileExists() { + return 0; + }, + /*io._IOService.fileCreate*/get fileCreate() { + return 1; + }, + /*io._IOService.fileDelete*/get fileDelete() { + return 2; + }, + /*io._IOService.fileRename*/get fileRename() { + return 3; + }, + /*io._IOService.fileCopy*/get fileCopy() { + return 4; + }, + /*io._IOService.fileOpen*/get fileOpen() { + return 5; + }, + /*io._IOService.fileResolveSymbolicLinks*/get fileResolveSymbolicLinks() { + return 6; + }, + /*io._IOService.fileClose*/get fileClose() { + return 7; + }, + /*io._IOService.filePosition*/get filePosition() { + return 8; + }, + /*io._IOService.fileSetPosition*/get fileSetPosition() { + return 9; + }, + /*io._IOService.fileTruncate*/get fileTruncate() { + return 10; + }, + /*io._IOService.fileLength*/get fileLength() { + return 11; + }, + /*io._IOService.fileLengthFromPath*/get fileLengthFromPath() { + return 12; + }, + /*io._IOService.fileLastAccessed*/get fileLastAccessed() { + return 13; + }, + /*io._IOService.fileSetLastAccessed*/get fileSetLastAccessed() { + return 14; + }, + /*io._IOService.fileLastModified*/get fileLastModified() { + return 15; + }, + /*io._IOService.fileSetLastModified*/get fileSetLastModified() { + return 16; + }, + /*io._IOService.fileFlush*/get fileFlush() { + return 17; + }, + /*io._IOService.fileReadByte*/get fileReadByte() { + return 18; + }, + /*io._IOService.fileWriteByte*/get fileWriteByte() { + return 19; + }, + /*io._IOService.fileRead*/get fileRead() { + return 20; + }, + /*io._IOService.fileReadInto*/get fileReadInto() { + return 21; + }, + /*io._IOService.fileWriteFrom*/get fileWriteFrom() { + return 22; + }, + /*io._IOService.fileCreateLink*/get fileCreateLink() { + return 23; + }, + /*io._IOService.fileDeleteLink*/get fileDeleteLink() { + return 24; + }, + /*io._IOService.fileRenameLink*/get fileRenameLink() { + return 25; + }, + /*io._IOService.fileLinkTarget*/get fileLinkTarget() { + return 26; + }, + /*io._IOService.fileType*/get fileType() { + return 27; + }, + /*io._IOService.fileIdentical*/get fileIdentical() { + return 28; + }, + /*io._IOService.fileStat*/get fileStat() { + return 29; + }, + /*io._IOService.fileLock*/get fileLock() { + return 30; + }, + /*io._IOService.socketLookup*/get socketLookup() { + return 31; + }, + /*io._IOService.socketListInterfaces*/get socketListInterfaces() { + return 32; + }, + /*io._IOService.socketReverseLookup*/get socketReverseLookup() { + return 33; + }, + /*io._IOService.directoryCreate*/get directoryCreate() { + return 34; + }, + /*io._IOService.directoryDelete*/get directoryDelete() { + return 35; + }, + /*io._IOService.directoryExists*/get directoryExists() { + return 36; + }, + /*io._IOService.directoryCreateTemp*/get directoryCreateTemp() { + return 37; + }, + /*io._IOService.directoryListStart*/get directoryListStart() { + return 38; + }, + /*io._IOService.directoryListNext*/get directoryListNext() { + return 39; + }, + /*io._IOService.directoryListStop*/get directoryListStop() { + return 40; + }, + /*io._IOService.directoryRename*/get directoryRename() { + return 41; + }, + /*io._IOService.sslProcessFilter*/get sslProcessFilter() { + return 42; + } +}, false); +io.Link = class Link extends core.Object { + static new(path) { + if (path == null) dart.nullFailed(I[117], 12, 23, "path"); + let overrides = io.IOOverrides.current; + if (overrides == null) { + return new io._Link.new(path); + } + return overrides.createLink(path); + } + static fromRawPath(rawPath) { + if (rawPath == null) dart.nullFailed(I[117], 21, 38, "rawPath"); + return new io._Link.fromRawPath(rawPath); + } + static fromUri(uri) { + if (uri == null) dart.nullFailed(I[117], 33, 28, "uri"); + return io.Link.new(uri.toFilePath()); + } +}; +(io.Link[dart.mixinNew] = function() { +}).prototype = io.Link.prototype; +dart.addTypeTests(io.Link); +dart.addTypeCaches(io.Link); +io.Link[dart.implements] = () => [io.FileSystemEntity]; +dart.setLibraryUri(io.Link, I[105]); +var _path$2 = dart.privateName(io, "_Link._path"); +var _rawPath$1 = dart.privateName(io, "_Link._rawPath"); +var _exceptionFromResponse = dart.privateName(io, "_exceptionFromResponse"); +io._Link = class _Link extends io.FileSystemEntity { + get [_path$0]() { + return this[_path$2]; + } + set [_path$0](value) { + super[_path$0] = value; + } + get [_rawPath$]() { + return this[_rawPath$1]; + } + set [_rawPath$](value) { + super[_rawPath$] = value; + } + get path() { + return this[_path$0]; + } + toString() { + return "Link: '" + dart.str(this.path) + "'"; + } + exists() { + return io.FileSystemEntity._isLinkRaw(this[_rawPath$]); + } + existsSync() { + return io.FileSystemEntity._isLinkRawSync(this[_rawPath$]); + } + get absolute() { + return dart.test(this.isAbsolute) ? this : new io._Link.new(this[_absolutePath]); + } + create(target, opts) { + if (target == null) dart.nullFailed(I[117], 164, 30, "target"); + let recursive = opts && 'recursive' in opts ? opts.recursive : false; + if (recursive == null) dart.nullFailed(I[117], 164, 44, "recursive"); + let result = dart.test(recursive) ? this.parent.create({recursive: true}) : T$.FutureOfNull().value(null); + return result.then(dart.dynamic, dart.fn(_ => io._File._dispatchWithNamespace(23, [null, this[_rawPath$], target]), T$0.DirectoryNToFuture())).then(io.Link, dart.fn(response => { + if (dart.test(this[_isErrorResponse](response))) { + dart.throw(this[_exceptionFromResponse](response, "Cannot create link to target '" + dart.str(target) + "'", this.path)); + } + return this; + }, T$0.dynamicTo_Link())); + } + createSync(target, opts) { + if (target == null) dart.nullFailed(I[117], 179, 26, "target"); + let recursive = opts && 'recursive' in opts ? opts.recursive : false; + if (recursive == null) dart.nullFailed(I[117], 179, 40, "recursive"); + if (dart.test(recursive)) { + this.parent.createSync({recursive: true}); + } + let result = io._File._createLink(io._Namespace._namespace, this[_rawPath$], target); + io._Link.throwIfError(result, "Cannot create link", this.path); + } + updateSync(target) { + if (target == null) dart.nullFailed(I[117], 187, 26, "target"); + this.deleteSync(); + this.createSync(target); + } + update(target) { + if (target == null) dart.nullFailed(I[117], 196, 30, "target"); + return this.delete().then(io.Link, dart.fn(_ => { + if (_ == null) dart.nullFailed(I[117], 201, 33, "_"); + return this.create(target); + }, T$0.FileSystemEntityToFutureOfLink())); + } + [_delete](opts) { + let recursive = opts && 'recursive' in opts ? opts.recursive : false; + if (recursive == null) dart.nullFailed(I[117], 204, 30, "recursive"); + if (dart.test(recursive)) { + return io.Directory.fromRawPath(this[_rawPath$]).delete({recursive: true}).then(io.Link, dart.fn(_ => { + if (_ == null) dart.nullFailed(I[117], 208, 18, "_"); + return this; + }, T$0.FileSystemEntityTo_Link())); + } + return io._File._dispatchWithNamespace(24, [null, this[_rawPath$]]).then(io.Link, dart.fn(response => { + if (dart.test(this[_isErrorResponse](response))) { + dart.throw(this[_exceptionFromResponse](response, "Cannot delete link", this.path)); + } + return this; + }, T$0.dynamicTo_Link())); + } + [_deleteSync](opts) { + let recursive = opts && 'recursive' in opts ? opts.recursive : false; + if (recursive == null) dart.nullFailed(I[117], 219, 26, "recursive"); + if (dart.test(recursive)) { + return io.Directory.fromRawPath(this[_rawPath$]).deleteSync({recursive: true}); + } + let result = io._File._deleteLinkNative(io._Namespace._namespace, this[_rawPath$]); + io._Link.throwIfError(result, "Cannot delete link", this.path); + } + rename(newPath) { + if (newPath == null) dart.nullFailed(I[117], 227, 30, "newPath"); + return io._File._dispatchWithNamespace(25, [null, this[_rawPath$], newPath]).then(io.Link, dart.fn(response => { + if (dart.test(this[_isErrorResponse](response))) { + dart.throw(this[_exceptionFromResponse](response, "Cannot rename link to '" + dart.str(newPath) + "'", this.path)); + } + return io.Link.new(newPath); + }, T$0.dynamicToLink())); + } + renameSync(newPath) { + if (newPath == null) dart.nullFailed(I[117], 238, 26, "newPath"); + let result = io._File._renameLink(io._Namespace._namespace, this[_rawPath$], newPath); + io._Link.throwIfError(result, "Cannot rename link '" + dart.str(this.path) + "' to '" + dart.str(newPath) + "'"); + return io.Link.new(newPath); + } + target() { + return io._File._dispatchWithNamespace(26, [null, this[_rawPath$]]).then(core.String, dart.fn(response => { + if (dart.test(this[_isErrorResponse](response))) { + dart.throw(this[_exceptionFromResponse](response, "Cannot get target of link", this.path)); + } + return T$0.FutureOrOfString().as(response); + }, T$0.dynamicToFutureOrOfString())); + } + targetSync() { + let result = io._File._linkTarget(io._Namespace._namespace, this[_rawPath$]); + io._Link.throwIfError(result, "Cannot read link", this.path); + return core.String.as(result); + } + static throwIfError(result, msg, path = "") { + if (msg == null) dart.nullFailed(I[117], 261, 46, "msg"); + if (path == null) dart.nullFailed(I[117], 261, 59, "path"); + if (io.OSError.is(result)) { + dart.throw(new io.FileSystemException.new(msg, path, result)); + } + } + [_isErrorResponse](response) { + return core.List.is(response) && !dart.equals(response[$_get](0), 0); + } + [_exceptionFromResponse](response, message, path) { + if (message == null) dart.nullFailed(I[117], 271, 43, "message"); + if (path == null) dart.nullFailed(I[117], 271, 59, "path"); + if (!dart.test(this[_isErrorResponse](response))) dart.assertFailed(null, I[117], 272, 12, "_isErrorResponse(response)"); + switch (dart.dsend(response, '_get', [0])) { + case 1: + { + return new core.ArgumentError.new(); + } + case 2: + { + let err = new io.OSError.new(core.String.as(dart.dsend(response, '_get', [2])), core.int.as(dart.dsend(response, '_get', [1]))); + return new io.FileSystemException.new(message, path, err); + } + default: + { + return core.Exception.new("Unknown error"); + } + } + } +}; +(io._Link.new = function(path) { + if (path == null) dart.nullFailed(I[117], 146, 16, "path"); + this[_path$2] = path; + this[_rawPath$1] = io.FileSystemEntity._toUtf8Array(path); + ; +}).prototype = io._Link.prototype; +(io._Link.fromRawPath = function(rawPath) { + if (rawPath == null) dart.nullFailed(I[117], 150, 31, "rawPath"); + this[_rawPath$1] = io.FileSystemEntity._toNullTerminatedUtf8Array(rawPath); + this[_path$2] = io.FileSystemEntity._toStringFromUtf8Array(rawPath); + ; +}).prototype = io._Link.prototype; +dart.addTypeTests(io._Link); +dart.addTypeCaches(io._Link); +io._Link[dart.implements] = () => [io.Link]; +dart.setMethodSignature(io._Link, () => ({ + __proto__: dart.getMethods(io._Link.__proto__), + exists: dart.fnType(async.Future$(core.bool), []), + existsSync: dart.fnType(core.bool, []), + create: dart.fnType(async.Future$(io.Link), [core.String], {recursive: core.bool}, {}), + createSync: dart.fnType(dart.void, [core.String], {recursive: core.bool}, {}), + updateSync: dart.fnType(dart.void, [core.String]), + update: dart.fnType(async.Future$(io.Link), [core.String]), + [_delete]: dart.fnType(async.Future$(io.Link), [], {recursive: core.bool}, {}), + [_deleteSync]: dart.fnType(dart.void, [], {recursive: core.bool}, {}), + rename: dart.fnType(async.Future$(io.Link), [core.String]), + renameSync: dart.fnType(io.Link, [core.String]), + target: dart.fnType(async.Future$(core.String), []), + targetSync: dart.fnType(core.String, []), + [_isErrorResponse]: dart.fnType(core.bool, [dart.dynamic]), + [_exceptionFromResponse]: dart.fnType(dart.dynamic, [dart.dynamic, core.String, core.String]) +})); +dart.setGetterSignature(io._Link, () => ({ + __proto__: dart.getGetters(io._Link.__proto__), + path: core.String, + absolute: io.Link +})); +dart.setLibraryUri(io._Link, I[105]); +dart.setFieldSignature(io._Link, () => ({ + __proto__: dart.getFields(io._Link.__proto__), + [_path$0]: dart.finalFieldType(core.String), + [_rawPath$]: dart.finalFieldType(typed_data.Uint8List) +})); +dart.defineExtensionMethods(io._Link, ['toString']); +io._Namespace = class _Namespace extends core.Object { + static get _namespace() { + dart.throw(new core.UnsupportedError.new("_Namespace")); + } + static get _namespacePointer() { + dart.throw(new core.UnsupportedError.new("_Namespace")); + } + static _setupNamespace(namespace) { + dart.throw(new core.UnsupportedError.new("_Namespace")); + } +}; +(io._Namespace.new = function() { + ; +}).prototype = io._Namespace.prototype; +dart.addTypeTests(io._Namespace); +dart.addTypeCaches(io._Namespace); +dart.setLibraryUri(io._Namespace, I[105]); +io._DomainNetworkPolicy = class _DomainNetworkPolicy extends core.Object { + matchScore(host) { + if (host == null) dart.nullFailed(I[118], 100, 25, "host"); + let domainLength = this.domain.length; + let hostLength = host.length; + let lengthDelta = hostLength - domainLength; + if (host[$endsWith](this.domain) && (lengthDelta === 0 || dart.test(this.includesSubDomains) && host[$codeUnitAt](lengthDelta - 1) === 46)) { + return domainLength * 2 + (dart.test(this.includesSubDomains) ? 0 : 1); + } + return -1; + } + checkConflict(existingPolicies) { + if (existingPolicies == null) dart.nullFailed(I[118], 118, 49, "existingPolicies"); + for (let existingPolicy of existingPolicies) { + if (this.includesSubDomains == existingPolicy.includesSubDomains && this.domain == existingPolicy.domain) { + if (this.allowInsecureConnections == existingPolicy.allowInsecureConnections) { + return false; + } + dart.throw(new core.StateError.new("Contradiction in the domain security policies: " + "'" + dart.str(this) + "' contradicts '" + dart.str(existingPolicy) + "'")); + } + } + return true; + } + toString() { + let subDomainPrefix = dart.test(this.includesSubDomains) ? "*." : ""; + let insecureConnectionPermission = dart.test(this.allowInsecureConnections) ? "Allows" : "Disallows"; + return subDomainPrefix + dart.str(this.domain) + ": " + insecureConnectionPermission + " insecure connections"; + } +}; +(io._DomainNetworkPolicy.new = function(domain, opts) { + if (domain == null) dart.nullFailed(I[118], 81, 29, "domain"); + let includesSubDomains = opts && 'includesSubDomains' in opts ? opts.includesSubDomains : false; + if (includesSubDomains == null) dart.nullFailed(I[118], 82, 13, "includesSubDomains"); + let allowInsecureConnections = opts && 'allowInsecureConnections' in opts ? opts.allowInsecureConnections : false; + if (allowInsecureConnections == null) dart.nullFailed(I[118], 83, 12, "allowInsecureConnections"); + this.domain = domain; + this.includesSubDomains = includesSubDomains; + this.allowInsecureConnections = allowInsecureConnections; + if (this.domain.length > 255 || !dart.test(io._DomainNetworkPolicy._domainMatcher.hasMatch(this.domain))) { + dart.throw(new core.ArgumentError.value(this.domain, "domain", "Invalid domain name")); + } +}).prototype = io._DomainNetworkPolicy.prototype; +dart.addTypeTests(io._DomainNetworkPolicy); +dart.addTypeCaches(io._DomainNetworkPolicy); +dart.setMethodSignature(io._DomainNetworkPolicy, () => ({ + __proto__: dart.getMethods(io._DomainNetworkPolicy.__proto__), + matchScore: dart.fnType(core.int, [core.String]), + checkConflict: dart.fnType(core.bool, [core.List$(io._DomainNetworkPolicy)]) +})); +dart.setLibraryUri(io._DomainNetworkPolicy, I[105]); +dart.setFieldSignature(io._DomainNetworkPolicy, () => ({ + __proto__: dart.getFields(io._DomainNetworkPolicy.__proto__), + domain: dart.finalFieldType(core.String), + allowInsecureConnections: dart.finalFieldType(core.bool), + includesSubDomains: dart.finalFieldType(core.bool) +})); +dart.defineExtensionMethods(io._DomainNetworkPolicy, ['toString']); +dart.defineLazy(io._DomainNetworkPolicy, { + /*io._DomainNetworkPolicy._domainMatcher*/get _domainMatcher() { + return core.RegExp.new("^(?:[a-z\\d-]{1,63}\\.)+[a-z][a-z\\d-]{0,62}$", {caseSensitive: false}); + } +}, false); +io._NetworkProfiling = class _NetworkProfiling extends core.Object { + static _registerServiceExtension() { + developer.registerExtension(io._NetworkProfiling._kGetHttpEnableTimelineLogging, C[128] || CT.C128); + developer.registerExtension(io._NetworkProfiling._kSetHttpEnableTimelineLogging, C[128] || CT.C128); + developer.registerExtension(io._NetworkProfiling._kHttpEnableTimelineLogging, C[128] || CT.C128); + developer.registerExtension("ext.dart.io.getSocketProfile", C[128] || CT.C128); + developer.registerExtension(io._NetworkProfiling._kStartSocketProfilingRPC, C[128] || CT.C128); + developer.registerExtension(io._NetworkProfiling._kPauseSocketProfilingRPC, C[128] || CT.C128); + developer.registerExtension(io._NetworkProfiling._kSocketProfilingEnabledRPC, C[128] || CT.C128); + developer.registerExtension("ext.dart.io.clearSocketProfile", C[128] || CT.C128); + developer.registerExtension("ext.dart.io.getVersion", C[128] || CT.C128); + developer.registerExtension("ext.dart.io.getHttpProfile", C[128] || CT.C128); + developer.registerExtension(io._NetworkProfiling._kGetHttpProfileRequestRPC, C[128] || CT.C128); + developer.registerExtension("ext.dart.io.clearHttpProfile", C[128] || CT.C128); + } + static _serviceExtensionHandler(method, parameters) { + if (method == null) dart.nullFailed(I[119], 60, 14, "method"); + if (parameters == null) dart.nullFailed(I[119], 60, 42, "parameters"); + try { + let responseJson = null; + switch (method) { + case "ext.dart.io.getHttpEnableTimelineLogging": + { + responseJson = io._getHttpEnableTimelineLogging(); + break; + } + case "ext.dart.io.setHttpEnableTimelineLogging": + { + responseJson = io._setHttpEnableTimelineLogging(parameters); + break; + } + case "ext.dart.io.httpEnableTimelineLogging": + { + if (dart.test(parameters[$containsKey]("enabled")) || dart.test(parameters[$containsKey]("enable"))) { + if (!(1 === 1)) dart.assertFailed("'enable' is deprecated and should be removed (See #43638)", I[119], 75, 20, "_versionMajor == 1"); + if (dart.test(parameters[$containsKey]("enabled"))) { + parameters[$_set]("enable", dart.nullCheck(parameters[$_get]("enabled"))); + } + io._setHttpEnableTimelineLogging(parameters); + } + responseJson = io._getHttpEnableTimelineLogging(); + break; + } + case "ext.dart.io.getHttpProfile": + { + responseJson = _http.HttpProfiler.toJson(dart.test(parameters[$containsKey]("updatedSince")) ? core.int.tryParse(dart.nullCheck(parameters[$_get]("updatedSince"))) : null); + break; + } + case "ext.dart.io.getHttpProfileRequest": + { + responseJson = io._getHttpProfileRequest(parameters); + break; + } + case "ext.dart.io.clearHttpProfile": + { + _http.HttpProfiler.clear(); + responseJson = io._success(); + break; + } + case "ext.dart.io.getSocketProfile": + { + responseJson = io._SocketProfile.toJson(); + break; + } + case "ext.dart.io.socketProfilingEnabled": + { + responseJson = io._socketProfilingEnabled(parameters); + break; + } + case "ext.dart.io.startSocketProfiling": + { + responseJson = io._SocketProfile.start(); + break; + } + case "ext.dart.io.pauseSocketProfiling": + { + responseJson = io._SocketProfile.pause(); + break; + } + case "ext.dart.io.clearSocketProfile": + { + responseJson = io._SocketProfile.clear(); + break; + } + case "ext.dart.io.getVersion": + { + responseJson = io._NetworkProfiling.getVersion(); + break; + } + default: + { + return T$0.FutureOfServiceExtensionResponse().value(new developer.ServiceExtensionResponse.error(-32000, "Method " + dart.str(method) + " does not exist")); + } + } + return T$0.FutureOfServiceExtensionResponse().value(new developer.ServiceExtensionResponse.result(responseJson)); + } catch (e) { + let errorMessage = dart.getThrown(e); + if (core.Object.is(errorMessage)) { + return T$0.FutureOfServiceExtensionResponse().value(new developer.ServiceExtensionResponse.error(-32602, dart.toString(errorMessage))); + } else + throw e; + } + } + static getVersion() { + return convert.json.encode(new (T$.IdentityMapOfString$Object()).from(["type", "Version", "major", 1, "minor", 6])); + } +}; +(io._NetworkProfiling.new = function() { + ; +}).prototype = io._NetworkProfiling.prototype; +dart.addTypeTests(io._NetworkProfiling); +dart.addTypeCaches(io._NetworkProfiling); +dart.setLibraryUri(io._NetworkProfiling, I[105]); +dart.defineLazy(io._NetworkProfiling, { + /*io._NetworkProfiling._kGetHttpEnableTimelineLogging*/get _kGetHttpEnableTimelineLogging() { + return "ext.dart.io.getHttpEnableTimelineLogging"; + }, + /*io._NetworkProfiling._kSetHttpEnableTimelineLogging*/get _kSetHttpEnableTimelineLogging() { + return "ext.dart.io.setHttpEnableTimelineLogging"; + }, + /*io._NetworkProfiling._kHttpEnableTimelineLogging*/get _kHttpEnableTimelineLogging() { + return "ext.dart.io.httpEnableTimelineLogging"; + }, + /*io._NetworkProfiling._kGetHttpProfileRPC*/get _kGetHttpProfileRPC() { + return "ext.dart.io.getHttpProfile"; + }, + /*io._NetworkProfiling._kGetHttpProfileRequestRPC*/get _kGetHttpProfileRequestRPC() { + return "ext.dart.io.getHttpProfileRequest"; + }, + /*io._NetworkProfiling._kClearHttpProfileRPC*/get _kClearHttpProfileRPC() { + return "ext.dart.io.clearHttpProfile"; + }, + /*io._NetworkProfiling._kClearSocketProfileRPC*/get _kClearSocketProfileRPC() { + return "ext.dart.io.clearSocketProfile"; + }, + /*io._NetworkProfiling._kGetSocketProfileRPC*/get _kGetSocketProfileRPC() { + return "ext.dart.io.getSocketProfile"; + }, + /*io._NetworkProfiling._kSocketProfilingEnabledRPC*/get _kSocketProfilingEnabledRPC() { + return "ext.dart.io.socketProfilingEnabled"; + }, + /*io._NetworkProfiling._kPauseSocketProfilingRPC*/get _kPauseSocketProfilingRPC() { + return "ext.dart.io.pauseSocketProfiling"; + }, + /*io._NetworkProfiling._kStartSocketProfilingRPC*/get _kStartSocketProfilingRPC() { + return "ext.dart.io.startSocketProfiling"; + }, + /*io._NetworkProfiling._kGetVersionRPC*/get _kGetVersionRPC() { + return "ext.dart.io.getVersion"; + } +}, false); +var _name$4 = dart.privateName(io, "_name"); +io._SocketProfile = class _SocketProfile extends core.Object { + static set enableSocketProfiling(enabled) { + if (enabled == null) dart.nullFailed(I[119], 205, 41, "enabled"); + if (enabled != io._SocketProfile._enableSocketProfiling) { + developer.postEvent("SocketProfilingStateChange", new _js_helper.LinkedMap.from(["isolateId", developer.Service.getIsolateID(isolate$.Isolate.current), "enabled", enabled])); + io._SocketProfile._enableSocketProfiling = enabled; + } + } + static get enableSocketProfiling() { + return io._SocketProfile._enableSocketProfiling; + } + static toJson() { + return convert.json.encode(new (T$.IdentityMapOfString$Object()).from(["type", "SocketProfile", "sockets", io._SocketProfile._idToSocketStatistic[$values][$map](T$0.MapOfString$dynamic(), dart.fn(f => { + if (f == null) dart.nullFailed(I[119], 222, 53, "f"); + return f.toMap(); + }, T$0._SocketStatisticToMapOfString$dynamic()))[$toList]()])); + } + static collectNewSocket(id, type, addr, port) { + if (id == null) dart.nullFailed(I[119], 226, 11, "id"); + if (type == null) dart.nullFailed(I[119], 226, 22, "type"); + if (addr == null) dart.nullFailed(I[119], 226, 44, "addr"); + if (port == null) dart.nullFailed(I[119], 226, 54, "port"); + io._SocketProfile.collectStatistic(id, io._SocketProfileType.startTime); + io._SocketProfile.collectStatistic(id, io._SocketProfileType.socketType, type); + io._SocketProfile.collectStatistic(id, io._SocketProfileType.address, addr); + io._SocketProfile.collectStatistic(id, io._SocketProfileType.port, port); + } + static collectStatistic(id, type, object = null) { + let t206, t205, t204, t203, t203$, t203$0; + if (id == null) dart.nullFailed(I[119], 233, 36, "id"); + if (type == null) dart.nullFailed(I[119], 233, 59, "type"); + if (!dart.test(io._SocketProfile._enableSocketProfiling)) { + return; + } + if (!dart.test(io._SocketProfile._idToSocketStatistic[$containsKey](id)) && type != io._SocketProfileType.startTime) return; + let stats = (t203 = io._SocketProfile._idToSocketStatistic, t204 = id, t205 = t203[$_get](t204), t205 == null ? (t206 = new io._SocketStatistic.new(id), t203[$_set](t204, t206), t206) : t205); + switch (type) { + case C[129] || CT.C129: + { + stats.startTime = developer.Timeline.now; + break; + } + case C[130] || CT.C130: + { + stats.endTime = developer.Timeline.now; + break; + } + case C[131] || CT.C131: + { + if (!io.InternetAddress.is(object)) dart.assertFailed(null, I[119], 250, 16, "object is InternetAddress"); + stats.address = dart.toString(io.InternetAddress.as(object)); + break; + } + case C[132] || CT.C132: + { + if (!core.int.is(object)) dart.assertFailed(null, I[119], 254, 16, "object is int"); + stats.port = T$.intN().as(object); + break; + } + case C[133] || CT.C133: + { + if (!(typeof object == 'string')) dart.assertFailed(null, I[119], 258, 16, "object is String"); + stats.socketType = T$.StringN().as(object); + break; + } + case C[134] || CT.C134: + { + if (object == null) return; + t203$ = stats; + t203$.readBytes = dart.notNull(t203$.readBytes) + dart.notNull(core.int.as(object)); + stats.lastReadTime = developer.Timeline.now; + break; + } + case C[135] || CT.C135: + { + if (object == null) return; + t203$0 = stats; + t203$0.writeBytes = dart.notNull(t203$0.writeBytes) + dart.notNull(core.int.as(object)); + stats.lastWriteTime = developer.Timeline.now; + break; + } + default: + { + dart.throw(new core.ArgumentError.new("type " + dart.str(type) + " does not exist")); + } + } + } + static start() { + io._SocketProfile.enableSocketProfiling = true; + return io._success(); + } + static pause() { + io._SocketProfile.enableSocketProfiling = false; + return io._success(); + } + static clear() { + io._SocketProfile._idToSocketStatistic[$clear](); + return io._success(); + } +}; +(io._SocketProfile.new = function() { + ; +}).prototype = io._SocketProfile.prototype; +dart.addTypeTests(io._SocketProfile); +dart.addTypeCaches(io._SocketProfile); +dart.setLibraryUri(io._SocketProfile, I[105]); +dart.defineLazy(io._SocketProfile, { + /*io._SocketProfile._kType*/get _kType() { + return "SocketProfile"; + }, + /*io._SocketProfile._enableSocketProfiling*/get _enableSocketProfiling() { + return false; + }, + set _enableSocketProfiling(_) {}, + /*io._SocketProfile._idToSocketStatistic*/get _idToSocketStatistic() { + return new (T$0.IdentityMapOfint$_SocketStatistic()).new(); + }, + set _idToSocketStatistic(_) {} +}, false); +io._SocketProfileType = class _SocketProfileType extends core.Object { + toString() { + return this[_name$4]; + } +}; +(io._SocketProfileType.new = function(index, _name) { + if (index == null) dart.nullFailed(I[119], 295, 6, "index"); + if (_name == null) dart.nullFailed(I[119], 295, 6, "_name"); + this.index = index; + this[_name$4] = _name; + ; +}).prototype = io._SocketProfileType.prototype; +dart.addTypeTests(io._SocketProfileType); +dart.addTypeCaches(io._SocketProfileType); +dart.setLibraryUri(io._SocketProfileType, I[105]); +dart.setFieldSignature(io._SocketProfileType, () => ({ + __proto__: dart.getFields(io._SocketProfileType.__proto__), + index: dart.finalFieldType(core.int), + [_name$4]: dart.finalFieldType(core.String) +})); +dart.defineExtensionMethods(io._SocketProfileType, ['toString']); +io._SocketProfileType.startTime = C[129] || CT.C129; +io._SocketProfileType.endTime = C[130] || CT.C130; +io._SocketProfileType.address = C[131] || CT.C131; +io._SocketProfileType.port = C[132] || CT.C132; +io._SocketProfileType.socketType = C[133] || CT.C133; +io._SocketProfileType.readBytes = C[134] || CT.C134; +io._SocketProfileType.writeBytes = C[135] || CT.C135; +io._SocketProfileType.values = C[136] || CT.C136; +var _setIfNotNull = dart.privateName(io, "_setIfNotNull"); +io._SocketStatistic = class _SocketStatistic extends core.Object { + toMap() { + let map = new (T$0.IdentityMapOfString$dynamic()).from(["id", this.id]); + this[_setIfNotNull](map, "startTime", this.startTime); + this[_setIfNotNull](map, "endTime", this.endTime); + this[_setIfNotNull](map, "address", this.address); + this[_setIfNotNull](map, "port", this.port); + this[_setIfNotNull](map, "socketType", this.socketType); + this[_setIfNotNull](map, "readBytes", this.readBytes); + this[_setIfNotNull](map, "writeBytes", this.writeBytes); + this[_setIfNotNull](map, "lastWriteTime", this.lastWriteTime); + this[_setIfNotNull](map, "lastReadTime", this.lastReadTime); + return map; + } + [_setIfNotNull](json, key, value) { + if (json == null) dart.nullFailed(I[119], 336, 43, "json"); + if (key == null) dart.nullFailed(I[119], 336, 56, "key"); + if (value == null) return; + json[$_set](key, value); + } +}; +(io._SocketStatistic.new = function(id) { + if (id == null) dart.nullFailed(I[119], 318, 25, "id"); + this.startTime = null; + this.endTime = null; + this.address = null; + this.port = null; + this.socketType = null; + this.readBytes = 0; + this.writeBytes = 0; + this.lastWriteTime = null; + this.lastReadTime = null; + this.id = id; + ; +}).prototype = io._SocketStatistic.prototype; +dart.addTypeTests(io._SocketStatistic); +dart.addTypeCaches(io._SocketStatistic); +dart.setMethodSignature(io._SocketStatistic, () => ({ + __proto__: dart.getMethods(io._SocketStatistic.__proto__), + toMap: dart.fnType(core.Map$(core.String, dart.dynamic), []), + [_setIfNotNull]: dart.fnType(dart.void, [core.Map$(core.String, dart.dynamic), core.String, dart.nullable(core.Object)]) +})); +dart.setLibraryUri(io._SocketStatistic, I[105]); +dart.setFieldSignature(io._SocketStatistic, () => ({ + __proto__: dart.getFields(io._SocketStatistic.__proto__), + id: dart.finalFieldType(core.int), + startTime: dart.fieldType(dart.nullable(core.int)), + endTime: dart.fieldType(dart.nullable(core.int)), + address: dart.fieldType(dart.nullable(core.String)), + port: dart.fieldType(dart.nullable(core.int)), + socketType: dart.fieldType(dart.nullable(core.String)), + readBytes: dart.fieldType(core.int), + writeBytes: dart.fieldType(core.int), + lastWriteTime: dart.fieldType(dart.nullable(core.int)), + lastReadTime: dart.fieldType(dart.nullable(core.int)) +})); +io.IOOverrides = class IOOverrides extends core.Object { + static get current() { + let t203; + return T$0.IOOverridesN().as((t203 = async.Zone.current._get(io._ioOverridesToken), t203 == null ? io.IOOverrides._global : t203)); + } + static set global(overrides) { + io.IOOverrides._global = overrides; + } + static runZoned(R, body, opts) { + if (body == null) dart.nullFailed(I[120], 54, 26, "body"); + let createDirectory = opts && 'createDirectory' in opts ? opts.createDirectory : null; + let getCurrentDirectory = opts && 'getCurrentDirectory' in opts ? opts.getCurrentDirectory : null; + let setCurrentDirectory = opts && 'setCurrentDirectory' in opts ? opts.setCurrentDirectory : null; + let getSystemTempDirectory = opts && 'getSystemTempDirectory' in opts ? opts.getSystemTempDirectory : null; + let createFile = opts && 'createFile' in opts ? opts.createFile : null; + let stat = opts && 'stat' in opts ? opts.stat : null; + let statSync = opts && 'statSync' in opts ? opts.statSync : null; + let fseIdentical = opts && 'fseIdentical' in opts ? opts.fseIdentical : null; + let fseIdenticalSync = opts && 'fseIdenticalSync' in opts ? opts.fseIdenticalSync : null; + let fseGetType = opts && 'fseGetType' in opts ? opts.fseGetType : null; + let fseGetTypeSync = opts && 'fseGetTypeSync' in opts ? opts.fseGetTypeSync : null; + let fsWatch = opts && 'fsWatch' in opts ? opts.fsWatch : null; + let fsWatchIsSupported = opts && 'fsWatchIsSupported' in opts ? opts.fsWatchIsSupported : null; + let createLink = opts && 'createLink' in opts ? opts.createLink : null; + let socketConnect = opts && 'socketConnect' in opts ? opts.socketConnect : null; + let socketStartConnect = opts && 'socketStartConnect' in opts ? opts.socketStartConnect : null; + let serverSocketBind = opts && 'serverSocketBind' in opts ? opts.serverSocketBind : null; + let overrides = new io._IOOverridesScope.new(createDirectory, getCurrentDirectory, setCurrentDirectory, getSystemTempDirectory, createFile, stat, statSync, fseIdentical, fseIdenticalSync, fseGetType, fseGetTypeSync, fsWatch, fsWatchIsSupported, createLink, socketConnect, socketStartConnect, serverSocketBind); + return io._asyncRunZoned(R, body, {zoneValues: new (T$0.LinkedMapOfObjectN$ObjectN()).from([io._ioOverridesToken, overrides])}); + } + static runWithIOOverrides(R, body, overrides) { + if (body == null) dart.nullFailed(I[120], 135, 36, "body"); + if (overrides == null) dart.nullFailed(I[120], 135, 56, "overrides"); + return io._asyncRunZoned(R, body, {zoneValues: new (T$0.LinkedMapOfObjectN$ObjectN()).from([io._ioOverridesToken, overrides])}); + } + createDirectory(path) { + if (path == null) dart.nullFailed(I[120], 145, 36, "path"); + return new io._Directory.new(path); + } + getCurrentDirectory() { + return io._Directory.current; + } + setCurrentDirectory(path) { + if (path == null) dart.nullFailed(I[120], 157, 35, "path"); + io._Directory.current = path; + } + getSystemTempDirectory() { + return io._Directory.systemTemp; + } + createFile(path) { + if (path == null) dart.nullFailed(I[120], 173, 26, "path"); + return new io._File.new(path); + } + stat(path) { + if (path == null) dart.nullFailed(I[120], 181, 32, "path"); + return io.FileStat._stat(path); + } + statSync(path) { + if (path == null) dart.nullFailed(I[120], 189, 28, "path"); + return io.FileStat._statSyncInternal(path); + } + fseIdentical(path1, path2) { + if (path1 == null) dart.nullFailed(I[120], 200, 36, "path1"); + if (path2 == null) dart.nullFailed(I[120], 200, 50, "path2"); + return io.FileSystemEntity._identical(path1, path2); + } + fseIdenticalSync(path1, path2) { + if (path1 == null) dart.nullFailed(I[120], 209, 32, "path1"); + if (path2 == null) dart.nullFailed(I[120], 209, 46, "path2"); + return io.FileSystemEntity._identicalSync(path1, path2); + } + fseGetType(path, followLinks) { + if (path == null) dart.nullFailed(I[120], 217, 50, "path"); + if (followLinks == null) dart.nullFailed(I[120], 217, 61, "followLinks"); + return io.FileSystemEntity._getTypeRequest(convert.utf8.encoder.convert(path), followLinks); + } + fseGetTypeSync(path, followLinks) { + if (path == null) dart.nullFailed(I[120], 226, 46, "path"); + if (followLinks == null) dart.nullFailed(I[120], 226, 57, "followLinks"); + return io.FileSystemEntity._getTypeSyncHelper(convert.utf8.encoder.convert(path), followLinks); + } + fsWatch(path, events, recursive) { + if (path == null) dart.nullFailed(I[120], 237, 42, "path"); + if (events == null) dart.nullFailed(I[120], 237, 52, "events"); + if (recursive == null) dart.nullFailed(I[120], 237, 65, "recursive"); + return io._FileSystemWatcher._watch(path, events, recursive); + } + fsWatchIsSupported() { + return io._FileSystemWatcher.isSupported; + } + createLink(path) { + if (path == null) dart.nullFailed(I[120], 253, 26, "path"); + return new io._Link.new(path); + } + socketConnect(host, port, opts) { + if (port == null) dart.nullFailed(I[120], 261, 42, "port"); + let sourceAddress = opts && 'sourceAddress' in opts ? opts.sourceAddress : null; + let timeout = opts && 'timeout' in opts ? opts.timeout : null; + return io.Socket._connect(host, port, {sourceAddress: sourceAddress, timeout: timeout}); + } + socketStartConnect(host, port, opts) { + if (port == null) dart.nullFailed(I[120], 272, 63, "port"); + let sourceAddress = opts && 'sourceAddress' in opts ? opts.sourceAddress : null; + return io.Socket._startConnect(host, port, {sourceAddress: sourceAddress}); + } + serverSocketBind(address, port, opts) { + if (port == null) dart.nullFailed(I[120], 284, 54, "port"); + let backlog = opts && 'backlog' in opts ? opts.backlog : 0; + if (backlog == null) dart.nullFailed(I[120], 285, 12, "backlog"); + let v6Only = opts && 'v6Only' in opts ? opts.v6Only : false; + if (v6Only == null) dart.nullFailed(I[120], 285, 30, "v6Only"); + let shared = opts && 'shared' in opts ? opts.shared : false; + if (shared == null) dart.nullFailed(I[120], 285, 51, "shared"); + return io.ServerSocket._bind(address, port, {backlog: backlog, v6Only: v6Only, shared: shared}); + } +}; +(io.IOOverrides.new = function() { + ; +}).prototype = io.IOOverrides.prototype; +dart.addTypeTests(io.IOOverrides); +dart.addTypeCaches(io.IOOverrides); +dart.setMethodSignature(io.IOOverrides, () => ({ + __proto__: dart.getMethods(io.IOOverrides.__proto__), + createDirectory: dart.fnType(io.Directory, [core.String]), + getCurrentDirectory: dart.fnType(io.Directory, []), + setCurrentDirectory: dart.fnType(dart.void, [core.String]), + getSystemTempDirectory: dart.fnType(io.Directory, []), + createFile: dart.fnType(io.File, [core.String]), + stat: dart.fnType(async.Future$(io.FileStat), [core.String]), + statSync: dart.fnType(io.FileStat, [core.String]), + fseIdentical: dart.fnType(async.Future$(core.bool), [core.String, core.String]), + fseIdenticalSync: dart.fnType(core.bool, [core.String, core.String]), + fseGetType: dart.fnType(async.Future$(io.FileSystemEntityType), [core.String, core.bool]), + fseGetTypeSync: dart.fnType(io.FileSystemEntityType, [core.String, core.bool]), + fsWatch: dart.fnType(async.Stream$(io.FileSystemEvent), [core.String, core.int, core.bool]), + fsWatchIsSupported: dart.fnType(core.bool, []), + createLink: dart.fnType(io.Link, [core.String]), + socketConnect: dart.fnType(async.Future$(io.Socket), [dart.dynamic, core.int], {sourceAddress: dart.dynamic, timeout: dart.nullable(core.Duration)}, {}), + socketStartConnect: dart.fnType(async.Future$(io.ConnectionTask$(io.Socket)), [dart.dynamic, core.int], {sourceAddress: dart.dynamic}, {}), + serverSocketBind: dart.fnType(async.Future$(io.ServerSocket), [dart.dynamic, core.int], {backlog: core.int, shared: core.bool, v6Only: core.bool}, {}) +})); +dart.setLibraryUri(io.IOOverrides, I[105]); +dart.defineLazy(io.IOOverrides, { + /*io.IOOverrides._global*/get _global() { + return null; + }, + set _global(_) {} +}, false); +var _previous$4 = dart.privateName(io, "_previous"); +var _createDirectory$ = dart.privateName(io, "_createDirectory"); +var _getCurrentDirectory$ = dart.privateName(io, "_getCurrentDirectory"); +var _setCurrentDirectory$ = dart.privateName(io, "_setCurrentDirectory"); +var _getSystemTempDirectory$ = dart.privateName(io, "_getSystemTempDirectory"); +var _createFile$ = dart.privateName(io, "_createFile"); +var _stat$ = dart.privateName(io, "_stat"); +var _statSync$ = dart.privateName(io, "_statSync"); +var _fseIdentical$ = dart.privateName(io, "_fseIdentical"); +var _fseIdenticalSync$ = dart.privateName(io, "_fseIdenticalSync"); +var _fseGetType$ = dart.privateName(io, "_fseGetType"); +var _fseGetTypeSync$ = dart.privateName(io, "_fseGetTypeSync"); +var _fsWatch$ = dart.privateName(io, "_fsWatch"); +var _fsWatchIsSupported$ = dart.privateName(io, "_fsWatchIsSupported"); +var _createLink$ = dart.privateName(io, "_createLink"); +var _socketConnect$ = dart.privateName(io, "_socketConnect"); +var _socketStartConnect$ = dart.privateName(io, "_socketStartConnect"); +var _serverSocketBind$ = dart.privateName(io, "_serverSocketBind"); +io._IOOverridesScope = class _IOOverridesScope extends io.IOOverrides { + createDirectory(path) { + if (path == null) dart.nullFailed(I[120], 367, 36, "path"); + if (this[_createDirectory$] != null) return dart.nullCheck(this[_createDirectory$])(path); + if (this[_previous$4] != null) return dart.nullCheck(this[_previous$4]).createDirectory(path); + return super.createDirectory(path); + } + getCurrentDirectory() { + if (this[_getCurrentDirectory$] != null) return dart.nullCheck(this[_getCurrentDirectory$])(); + if (this[_previous$4] != null) return dart.nullCheck(this[_previous$4]).getCurrentDirectory(); + return super.getCurrentDirectory(); + } + setCurrentDirectory(path) { + if (path == null) dart.nullFailed(I[120], 381, 35, "path"); + if (this[_setCurrentDirectory$] != null) + dart.nullCheck(this[_setCurrentDirectory$])(path); + else if (this[_previous$4] != null) + dart.nullCheck(this[_previous$4]).setCurrentDirectory(path); + else + super.setCurrentDirectory(path); + } + getSystemTempDirectory() { + if (this[_getSystemTempDirectory$] != null) return dart.nullCheck(this[_getSystemTempDirectory$])(); + if (this[_previous$4] != null) return dart.nullCheck(this[_previous$4]).getSystemTempDirectory(); + return super.getSystemTempDirectory(); + } + createFile(path) { + if (path == null) dart.nullFailed(I[120], 399, 26, "path"); + if (this[_createFile$] != null) return dart.nullCheck(this[_createFile$])(path); + if (this[_previous$4] != null) return dart.nullCheck(this[_previous$4]).createFile(path); + return super.createFile(path); + } + stat(path) { + if (path == null) dart.nullFailed(I[120], 407, 32, "path"); + if (this[_stat$] != null) return dart.nullCheck(this[_stat$])(path); + if (this[_previous$4] != null) return dart.nullCheck(this[_previous$4]).stat(path); + return super.stat(path); + } + statSync(path) { + if (path == null) dart.nullFailed(I[120], 414, 28, "path"); + if (this[_stat$] != null) return dart.nullCheck(this[_statSync$])(path); + if (this[_previous$4] != null) return dart.nullCheck(this[_previous$4]).statSync(path); + return super.statSync(path); + } + fseIdentical(path1, path2) { + if (path1 == null) dart.nullFailed(I[120], 422, 36, "path1"); + if (path2 == null) dart.nullFailed(I[120], 422, 50, "path2"); + if (this[_fseIdentical$] != null) return dart.nullCheck(this[_fseIdentical$])(path1, path2); + if (this[_previous$4] != null) return dart.nullCheck(this[_previous$4]).fseIdentical(path1, path2); + return super.fseIdentical(path1, path2); + } + fseIdenticalSync(path1, path2) { + if (path1 == null) dart.nullFailed(I[120], 429, 32, "path1"); + if (path2 == null) dart.nullFailed(I[120], 429, 46, "path2"); + if (this[_fseIdenticalSync$] != null) return dart.nullCheck(this[_fseIdenticalSync$])(path1, path2); + if (this[_previous$4] != null) return dart.nullCheck(this[_previous$4]).fseIdenticalSync(path1, path2); + return super.fseIdenticalSync(path1, path2); + } + fseGetType(path, followLinks) { + if (path == null) dart.nullFailed(I[120], 436, 50, "path"); + if (followLinks == null) dart.nullFailed(I[120], 436, 61, "followLinks"); + if (this[_fseGetType$] != null) return dart.nullCheck(this[_fseGetType$])(path, followLinks); + if (this[_previous$4] != null) return dart.nullCheck(this[_previous$4]).fseGetType(path, followLinks); + return super.fseGetType(path, followLinks); + } + fseGetTypeSync(path, followLinks) { + if (path == null) dart.nullFailed(I[120], 443, 46, "path"); + if (followLinks == null) dart.nullFailed(I[120], 443, 57, "followLinks"); + if (this[_fseGetTypeSync$] != null) return dart.nullCheck(this[_fseGetTypeSync$])(path, followLinks); + if (this[_previous$4] != null) return dart.nullCheck(this[_previous$4]).fseGetTypeSync(path, followLinks); + return super.fseGetTypeSync(path, followLinks); + } + fsWatch(path, events, recursive) { + if (path == null) dart.nullFailed(I[120], 451, 42, "path"); + if (events == null) dart.nullFailed(I[120], 451, 52, "events"); + if (recursive == null) dart.nullFailed(I[120], 451, 65, "recursive"); + if (this[_fsWatch$] != null) return dart.nullCheck(this[_fsWatch$])(path, events, recursive); + if (this[_previous$4] != null) return dart.nullCheck(this[_previous$4]).fsWatch(path, events, recursive); + return super.fsWatch(path, events, recursive); + } + fsWatchIsSupported() { + if (this[_fsWatchIsSupported$] != null) return dart.nullCheck(this[_fsWatchIsSupported$])(); + if (this[_previous$4] != null) return dart.nullCheck(this[_previous$4]).fsWatchIsSupported(); + return super.fsWatchIsSupported(); + } + createLink(path) { + if (path == null) dart.nullFailed(I[120], 466, 26, "path"); + if (this[_createLink$] != null) return dart.nullCheck(this[_createLink$])(path); + if (this[_previous$4] != null) return dart.nullCheck(this[_previous$4]).createLink(path); + return super.createLink(path); + } + socketConnect(host, port, opts) { + if (port == null) dart.nullFailed(I[120], 474, 42, "port"); + let sourceAddress = opts && 'sourceAddress' in opts ? opts.sourceAddress : null; + let timeout = opts && 'timeout' in opts ? opts.timeout : null; + if (this[_socketConnect$] != null) { + return dart.nullCheck(this[_socketConnect$])(host, port, {sourceAddress: sourceAddress, timeout: timeout}); + } + if (this[_previous$4] != null) { + return dart.nullCheck(this[_previous$4]).socketConnect(host, port, {sourceAddress: sourceAddress, timeout: timeout}); + } + return super.socketConnect(host, port, {sourceAddress: sourceAddress, timeout: timeout}); + } + socketStartConnect(host, port, opts) { + if (port == null) dart.nullFailed(I[120], 489, 63, "port"); + let sourceAddress = opts && 'sourceAddress' in opts ? opts.sourceAddress : null; + if (this[_socketStartConnect$] != null) { + return dart.nullCheck(this[_socketStartConnect$])(host, port, {sourceAddress: sourceAddress}); + } + if (this[_previous$4] != null) { + return dart.nullCheck(this[_previous$4]).socketStartConnect(host, port, {sourceAddress: sourceAddress}); + } + return super.socketStartConnect(host, port, {sourceAddress: sourceAddress}); + } + serverSocketBind(address, port, opts) { + if (port == null) dart.nullFailed(I[120], 504, 54, "port"); + let backlog = opts && 'backlog' in opts ? opts.backlog : 0; + if (backlog == null) dart.nullFailed(I[120], 505, 12, "backlog"); + let v6Only = opts && 'v6Only' in opts ? opts.v6Only : false; + if (v6Only == null) dart.nullFailed(I[120], 505, 30, "v6Only"); + let shared = opts && 'shared' in opts ? opts.shared : false; + if (shared == null) dart.nullFailed(I[120], 505, 51, "shared"); + if (this[_serverSocketBind$] != null) { + return dart.nullCheck(this[_serverSocketBind$])(address, port, {backlog: backlog, v6Only: v6Only, shared: shared}); + } + if (this[_previous$4] != null) { + return dart.nullCheck(this[_previous$4]).serverSocketBind(address, port, {backlog: backlog, v6Only: v6Only, shared: shared}); + } + return super.serverSocketBind(address, port, {backlog: backlog, v6Only: v6Only, shared: shared}); + } +}; +(io._IOOverridesScope.new = function(_createDirectory, _getCurrentDirectory, _setCurrentDirectory, _getSystemTempDirectory, _createFile, _stat, _statSync, _fseIdentical, _fseIdenticalSync, _fseGetType, _fseGetTypeSync, _fsWatch, _fsWatchIsSupported, _createLink, _socketConnect, _socketStartConnect, _serverSocketBind) { + this[_previous$4] = io.IOOverrides.current; + this[_createDirectory$] = _createDirectory; + this[_getCurrentDirectory$] = _getCurrentDirectory; + this[_setCurrentDirectory$] = _setCurrentDirectory; + this[_getSystemTempDirectory$] = _getSystemTempDirectory; + this[_createFile$] = _createFile; + this[_stat$] = _stat; + this[_statSync$] = _statSync; + this[_fseIdentical$] = _fseIdentical; + this[_fseIdenticalSync$] = _fseIdenticalSync; + this[_fseGetType$] = _fseGetType; + this[_fseGetTypeSync$] = _fseGetTypeSync; + this[_fsWatch$] = _fsWatch; + this[_fsWatchIsSupported$] = _fsWatchIsSupported; + this[_createLink$] = _createLink; + this[_socketConnect$] = _socketConnect; + this[_socketStartConnect$] = _socketStartConnect; + this[_serverSocketBind$] = _serverSocketBind; + ; +}).prototype = io._IOOverridesScope.prototype; +dart.addTypeTests(io._IOOverridesScope); +dart.addTypeCaches(io._IOOverridesScope); +dart.setLibraryUri(io._IOOverridesScope, I[105]); +dart.setFieldSignature(io._IOOverridesScope, () => ({ + __proto__: dart.getFields(io._IOOverridesScope.__proto__), + [_previous$4]: dart.finalFieldType(dart.nullable(io.IOOverrides)), + [_createDirectory$]: dart.fieldType(dart.nullable(dart.fnType(io.Directory, [core.String]))), + [_getCurrentDirectory$]: dart.fieldType(dart.nullable(dart.fnType(io.Directory, []))), + [_setCurrentDirectory$]: dart.fieldType(dart.nullable(dart.fnType(dart.void, [core.String]))), + [_getSystemTempDirectory$]: dart.fieldType(dart.nullable(dart.fnType(io.Directory, []))), + [_createFile$]: dart.fieldType(dart.nullable(dart.fnType(io.File, [core.String]))), + [_stat$]: dart.fieldType(dart.nullable(dart.fnType(async.Future$(io.FileStat), [core.String]))), + [_statSync$]: dart.fieldType(dart.nullable(dart.fnType(io.FileStat, [core.String]))), + [_fseIdentical$]: dart.fieldType(dart.nullable(dart.fnType(async.Future$(core.bool), [core.String, core.String]))), + [_fseIdenticalSync$]: dart.fieldType(dart.nullable(dart.fnType(core.bool, [core.String, core.String]))), + [_fseGetType$]: dart.fieldType(dart.nullable(dart.fnType(async.Future$(io.FileSystemEntityType), [core.String, core.bool]))), + [_fseGetTypeSync$]: dart.fieldType(dart.nullable(dart.fnType(io.FileSystemEntityType, [core.String, core.bool]))), + [_fsWatch$]: dart.fieldType(dart.nullable(dart.fnType(async.Stream$(io.FileSystemEvent), [core.String, core.int, core.bool]))), + [_fsWatchIsSupported$]: dart.fieldType(dart.nullable(dart.fnType(core.bool, []))), + [_createLink$]: dart.fieldType(dart.nullable(dart.fnType(io.Link, [core.String]))), + [_socketConnect$]: dart.fieldType(dart.nullable(dart.fnType(async.Future$(io.Socket), [dart.dynamic, core.int], {sourceAddress: dart.dynamic, timeout: dart.nullable(core.Duration)}, {}))), + [_socketStartConnect$]: dart.fieldType(dart.nullable(dart.fnType(async.Future$(io.ConnectionTask$(io.Socket)), [dart.dynamic, core.int], {sourceAddress: dart.dynamic}, {}))), + [_serverSocketBind$]: dart.fieldType(dart.nullable(dart.fnType(async.Future$(io.ServerSocket), [dart.dynamic, core.int], {backlog: core.int, shared: core.bool, v6Only: core.bool}, {}))) +})); +io.Platform = class Platform extends core.Object { + static get numberOfProcessors() { + return io.Platform._numberOfProcessors; + } + static get pathSeparator() { + return io.Platform._pathSeparator; + } + static get localeName() { + return io._Platform.localeName(); + } + static get operatingSystem() { + return io.Platform._operatingSystem; + } + static get operatingSystemVersion() { + return io.Platform._operatingSystemVersion; + } + static get localHostname() { + return io.Platform._localHostname; + } + static get environment() { + return io._Platform.environment; + } + static get executable() { + return io._Platform.executable; + } + static get resolvedExecutable() { + return io._Platform.resolvedExecutable; + } + static get script() { + return io._Platform.script; + } + static get executableArguments() { + return io._Platform.executableArguments; + } + static get packageRoot() { + return null; + } + static get packageConfig() { + return io._Platform.packageConfig; + } + static get version() { + return io.Platform._version; + } +}; +(io.Platform.new = function() { + ; +}).prototype = io.Platform.prototype; +dart.addTypeTests(io.Platform); +dart.addTypeCaches(io.Platform); +dart.setLibraryUri(io.Platform, I[105]); +dart.defineLazy(io.Platform, { + /*io.Platform._numberOfProcessors*/get _numberOfProcessors() { + return io._Platform.numberOfProcessors; + }, + /*io.Platform._pathSeparator*/get _pathSeparator() { + return io._Platform.pathSeparator; + }, + /*io.Platform._operatingSystem*/get _operatingSystem() { + return io._Platform.operatingSystem; + }, + /*io.Platform._operatingSystemVersion*/get _operatingSystemVersion() { + return io._Platform.operatingSystemVersion; + }, + /*io.Platform._localHostname*/get _localHostname() { + return io._Platform.localHostname; + }, + /*io.Platform._version*/get _version() { + return io._Platform.version; + }, + /*io.Platform.isLinux*/get isLinux() { + return io.Platform._operatingSystem === "linux"; + }, + /*io.Platform.isMacOS*/get isMacOS() { + return io.Platform._operatingSystem === "macos"; + }, + /*io.Platform.isWindows*/get isWindows() { + return io.Platform._operatingSystem === "windows"; + }, + /*io.Platform.isAndroid*/get isAndroid() { + return io.Platform._operatingSystem === "android"; + }, + /*io.Platform.isIOS*/get isIOS() { + return io.Platform._operatingSystem === "ios"; + }, + /*io.Platform.isFuchsia*/get isFuchsia() { + return io.Platform._operatingSystem === "fuchsia"; + } +}, false); +io._Platform = class _Platform extends core.Object { + static _packageRoot() { + dart.throw(new core.UnsupportedError.new("Platform._packageRoot")); + } + static _numberOfProcessors() { + dart.throw(new core.UnsupportedError.new("Platform._numberOfProcessors")); + } + static _pathSeparator() { + dart.throw(new core.UnsupportedError.new("Platform._pathSeparator")); + } + static _operatingSystem() { + dart.throw(new core.UnsupportedError.new("Platform._operatingSystem")); + } + static _operatingSystemVersion() { + dart.throw(new core.UnsupportedError.new("Platform._operatingSystemVersion")); + } + static _localHostname() { + dart.throw(new core.UnsupportedError.new("Platform._localHostname")); + } + static _executable() { + dart.throw(new core.UnsupportedError.new("Platform._executable")); + } + static _resolvedExecutable() { + dart.throw(new core.UnsupportedError.new("Platform._resolvedExecutable")); + } + static _environment() { + dart.throw(new core.UnsupportedError.new("Platform._environment")); + } + static _executableArguments() { + dart.throw(new core.UnsupportedError.new("Platform._executableArguments")); + } + static _packageConfig() { + dart.throw(new core.UnsupportedError.new("Platform._packageConfig")); + } + static _version() { + dart.throw(new core.UnsupportedError.new("Platform._version")); + } + static _localeName() { + dart.throw(new core.UnsupportedError.new("Platform._localeName")); + } + static _script() { + dart.throw(new core.UnsupportedError.new("Platform._script")); + } + static localeName() { + let result = io._Platform._localeClosure == null ? io._Platform._localeName() : dart.nullCheck(io._Platform._localeClosure)(); + if (io.OSError.is(result)) { + dart.throw(result); + } + return result; + } + static get numberOfProcessors() { + return io._Platform._numberOfProcessors(); + } + static get pathSeparator() { + return io._Platform._pathSeparator(); + } + static get operatingSystem() { + return io._Platform._operatingSystem(); + } + static get script() { + return io._Platform._script(); + } + static get operatingSystemVersion() { + if (io._Platform._cachedOSVersion == null) { + let result = io._Platform._operatingSystemVersion(); + if (io.OSError.is(result)) { + dart.throw(result); + } + io._Platform._cachedOSVersion = T$.StringN().as(result); + } + return dart.nullCheck(io._Platform._cachedOSVersion); + } + static get localHostname() { + let result = io._Platform._localHostname(); + if (io.OSError.is(result)) { + dart.throw(result); + } + return core.String.as(result); + } + static get executableArguments() { + return io._Platform._executableArguments(); + } + static get environment() { + if (io._Platform._environmentCache == null) { + let env = io._Platform._environment(); + if (!io.OSError.is(env)) { + let isWindows = io._Platform.operatingSystem === "windows"; + let result = isWindows ? new (T$0._CaseInsensitiveStringMapOfString()).new() : new (T$0.LinkedMapOfString$String()).new(); + for (let str of core.Iterable.as(env)) { + if (str == null) { + continue; + } + let equalsIndex = dart.dsend(str, 'indexOf', ["="]); + if (dart.dtest(dart.dsend(equalsIndex, '>', [0]))) { + result[$_set](core.String.as(dart.dsend(str, 'substring', [0, equalsIndex])), core.String.as(dart.dsend(str, 'substring', [dart.dsend(equalsIndex, '+', [1])]))); + } + } + io._Platform._environmentCache = new (T$0.UnmodifiableMapViewOfString$String()).new(result); + } else { + io._Platform._environmentCache = env; + } + } + if (io.OSError.is(io._Platform._environmentCache)) { + dart.throw(io._Platform._environmentCache); + } else { + return T$0.MapOfString$String().as(dart.nullCheck(io._Platform._environmentCache)); + } + } + static get version() { + return io._Platform._version(); + } +}; +(io._Platform.new = function() { + ; +}).prototype = io._Platform.prototype; +dart.addTypeTests(io._Platform); +dart.addTypeCaches(io._Platform); +dart.setLibraryUri(io._Platform, I[105]); +dart.defineLazy(io._Platform, { + /*io._Platform.executable*/get executable() { + return core.String.as(io._Platform._executable()); + }, + set executable(_) {}, + /*io._Platform.resolvedExecutable*/get resolvedExecutable() { + return core.String.as(io._Platform._resolvedExecutable()); + }, + set resolvedExecutable(_) {}, + /*io._Platform.packageConfig*/get packageConfig() { + return io._Platform._packageConfig(); + }, + set packageConfig(_) {}, + /*io._Platform._localeClosure*/get _localeClosure() { + return null; + }, + set _localeClosure(_) {}, + /*io._Platform._environmentCache*/get _environmentCache() { + return null; + }, + set _environmentCache(_) {}, + /*io._Platform._cachedOSVersion*/get _cachedOSVersion() { + return null; + }, + set _cachedOSVersion(_) {} +}, false); +var _map$10 = dart.privateName(io, "_map"); +const _is__CaseInsensitiveStringMap_default = Symbol('_is__CaseInsensitiveStringMap_default'); +io._CaseInsensitiveStringMap$ = dart.generic(V => { + var LinkedMapOfString$V = () => (LinkedMapOfString$V = dart.constFn(_js_helper.LinkedMap$(core.String, V)))(); + var VoidToV = () => (VoidToV = dart.constFn(dart.fnType(V, [])))(); + var MapOfString$V = () => (MapOfString$V = dart.constFn(core.Map$(core.String, V)))(); + var StringAndVTovoid = () => (StringAndVTovoid = dart.constFn(dart.fnType(dart.void, [core.String, V])))(); + var VToV = () => (VToV = dart.constFn(dart.fnType(V, [V])))(); + var VoidToNV = () => (VoidToNV = dart.constFn(dart.nullable(VoidToV())))(); + var StringAndVToV = () => (StringAndVToV = dart.constFn(dart.fnType(V, [core.String, V])))(); + class _CaseInsensitiveStringMap extends collection.MapBase$(core.String, V) { + containsKey(key) { + return typeof key == 'string' && dart.test(this[_map$10][$containsKey](key[$toUpperCase]())); + } + containsValue(value) { + return this[_map$10][$containsValue](value); + } + _get(key) { + return typeof key == 'string' ? this[_map$10][$_get](key[$toUpperCase]()) : null; + } + _set(key, value$) { + let value = value$; + core.String.as(key); + if (key == null) dart.nullFailed(I[121], 129, 28, "key"); + V.as(value); + this[_map$10][$_set](key[$toUpperCase](), value); + return value$; + } + putIfAbsent(key, ifAbsent) { + core.String.as(key); + if (key == null) dart.nullFailed(I[121], 133, 24, "key"); + VoidToV().as(ifAbsent); + if (ifAbsent == null) dart.nullFailed(I[121], 133, 31, "ifAbsent"); + return this[_map$10][$putIfAbsent](key[$toUpperCase](), ifAbsent); + } + addAll(other) { + MapOfString$V().as(other); + if (other == null) dart.nullFailed(I[121], 137, 30, "other"); + other[$forEach](dart.fn((key, value) => { + let t204, t203; + if (key == null) dart.nullFailed(I[121], 138, 20, "key"); + t203 = key[$toUpperCase](); + t204 = value; + this._set(t203, t204); + return t204; + }, StringAndVTovoid())); + } + remove(key) { + return typeof key == 'string' ? this[_map$10][$remove](key[$toUpperCase]()) : null; + } + clear() { + this[_map$10][$clear](); + } + forEach(f) { + if (f == null) dart.nullFailed(I[121], 148, 21, "f"); + this[_map$10][$forEach](f); + } + get keys() { + return this[_map$10][$keys]; + } + get values() { + return this[_map$10][$values]; + } + get length() { + return this[_map$10][$length]; + } + get isEmpty() { + return this[_map$10][$isEmpty]; + } + get isNotEmpty() { + return this[_map$10][$isNotEmpty]; + } + get entries() { + return this[_map$10][$entries]; + } + map(K2, V2, transform) { + if (transform == null) dart.nullFailed(I[121], 160, 44, "transform"); + return this[_map$10][$map](K2, V2, transform); + } + update(key, update, opts) { + core.String.as(key); + if (key == null) dart.nullFailed(I[121], 163, 19, "key"); + VToV().as(update); + if (update == null) dart.nullFailed(I[121], 163, 26, "update"); + let ifAbsent = opts && 'ifAbsent' in opts ? opts.ifAbsent : null; + VoidToNV().as(ifAbsent); + return this[_map$10][$update](key[$toUpperCase](), update, {ifAbsent: ifAbsent}); + } + updateAll(update) { + StringAndVToV().as(update); + if (update == null) dart.nullFailed(I[121], 166, 20, "update"); + this[_map$10][$updateAll](update); + } + removeWhere(test) { + if (test == null) dart.nullFailed(I[121], 170, 25, "test"); + this[_map$10][$removeWhere](test); + } + toString() { + return dart.toString(this[_map$10]); + } + } + (_CaseInsensitiveStringMap.new = function() { + this[_map$10] = new (LinkedMapOfString$V()).new(); + ; + }).prototype = _CaseInsensitiveStringMap.prototype; + dart.addTypeTests(_CaseInsensitiveStringMap); + _CaseInsensitiveStringMap.prototype[_is__CaseInsensitiveStringMap_default] = true; + dart.addTypeCaches(_CaseInsensitiveStringMap); + dart.setMethodSignature(_CaseInsensitiveStringMap, () => ({ + __proto__: dart.getMethods(_CaseInsensitiveStringMap.__proto__), + _get: dart.fnType(dart.nullable(V), [dart.nullable(core.Object)]), + [$_get]: dart.fnType(dart.nullable(V), [dart.nullable(core.Object)]), + _set: dart.fnType(dart.void, [dart.nullable(core.Object), dart.nullable(core.Object)]), + [$_set]: dart.fnType(dart.void, [dart.nullable(core.Object), dart.nullable(core.Object)]), + remove: dart.fnType(dart.nullable(V), [dart.nullable(core.Object)]), + [$remove]: dart.fnType(dart.nullable(V), [dart.nullable(core.Object)]), + clear: dart.fnType(dart.void, []), + [$clear]: dart.fnType(dart.void, []), + map: dart.gFnType((K2, V2) => [core.Map$(K2, V2), [dart.fnType(core.MapEntry$(K2, V2), [core.String, V])]], (K2, V2) => [dart.nullable(core.Object), dart.nullable(core.Object)]), + [$map]: dart.gFnType((K2, V2) => [core.Map$(K2, V2), [dart.fnType(core.MapEntry$(K2, V2), [core.String, V])]], (K2, V2) => [dart.nullable(core.Object), dart.nullable(core.Object)]) + })); + dart.setGetterSignature(_CaseInsensitiveStringMap, () => ({ + __proto__: dart.getGetters(_CaseInsensitiveStringMap.__proto__), + keys: core.Iterable$(core.String), + [$keys]: core.Iterable$(core.String) + })); + dart.setLibraryUri(_CaseInsensitiveStringMap, I[105]); + dart.setFieldSignature(_CaseInsensitiveStringMap, () => ({ + __proto__: dart.getFields(_CaseInsensitiveStringMap.__proto__), + [_map$10]: dart.finalFieldType(core.Map$(core.String, V)) + })); + dart.defineExtensionMethods(_CaseInsensitiveStringMap, [ + 'containsKey', + 'containsValue', + '_get', + '_set', + 'putIfAbsent', + 'addAll', + 'remove', + 'clear', + 'forEach', + 'map', + 'update', + 'updateAll', + 'removeWhere', + 'toString' + ]); + dart.defineExtensionAccessors(_CaseInsensitiveStringMap, [ + 'keys', + 'values', + 'length', + 'isEmpty', + 'isNotEmpty', + 'entries' + ]); + return _CaseInsensitiveStringMap; +}); +io._CaseInsensitiveStringMap = io._CaseInsensitiveStringMap$(); +dart.addTypeTests(io._CaseInsensitiveStringMap, _is__CaseInsensitiveStringMap_default); +io._ProcessUtils = class _ProcessUtils extends core.Object { + static _exit(status) { + if (status == null) dart.nullFailed(I[107], 306, 26, "status"); + dart.throw(new core.UnsupportedError.new("ProcessUtils._exit")); + } + static _setExitCode(status) { + if (status == null) dart.nullFailed(I[107], 311, 32, "status"); + dart.throw(new core.UnsupportedError.new("ProcessUtils._setExitCode")); + } + static _getExitCode() { + dart.throw(new core.UnsupportedError.new("ProcessUtils._getExitCode")); + } + static _sleep(millis) { + if (millis == null) dart.nullFailed(I[107], 321, 26, "millis"); + dart.throw(new core.UnsupportedError.new("ProcessUtils._sleep")); + } + static _pid(process) { + dart.throw(new core.UnsupportedError.new("ProcessUtils._pid")); + } + static _watchSignal(signal) { + if (signal == null) dart.nullFailed(I[107], 331, 59, "signal"); + dart.throw(new core.UnsupportedError.new("ProcessUtils._watchSignal")); + } +}; +(io._ProcessUtils.new = function() { + ; +}).prototype = io._ProcessUtils.prototype; +dart.addTypeTests(io._ProcessUtils); +dart.addTypeCaches(io._ProcessUtils); +dart.setLibraryUri(io._ProcessUtils, I[105]); +io.ProcessInfo = class ProcessInfo extends core.Object { + static get currentRss() { + dart.throw(new core.UnsupportedError.new("ProcessInfo.currentRss")); + } + static get maxRss() { + dart.throw(new core.UnsupportedError.new("ProcessInfo.maxRss")); + } +}; +(io.ProcessInfo.new = function() { + ; +}).prototype = io.ProcessInfo.prototype; +dart.addTypeTests(io.ProcessInfo); +dart.addTypeCaches(io.ProcessInfo); +dart.setLibraryUri(io.ProcessInfo, I[105]); +var _mode$0 = dart.privateName(io, "ProcessStartMode._mode"); +io.ProcessStartMode = class ProcessStartMode extends core.Object { + get [_mode]() { + return this[_mode$0]; + } + set [_mode](value) { + super[_mode] = value; + } + static get values() { + return C[137] || CT.C137; + } + toString() { + return (C[142] || CT.C142)[$_get](this[_mode]); + } +}; +(io.ProcessStartMode._internal = function(_mode) { + if (_mode == null) dart.nullFailed(I[122], 156, 41, "_mode"); + this[_mode$0] = _mode; + ; +}).prototype = io.ProcessStartMode.prototype; +dart.addTypeTests(io.ProcessStartMode); +dart.addTypeCaches(io.ProcessStartMode); +dart.setLibraryUri(io.ProcessStartMode, I[105]); +dart.setFieldSignature(io.ProcessStartMode, () => ({ + __proto__: dart.getFields(io.ProcessStartMode.__proto__), + [_mode]: dart.finalFieldType(core.int) +})); +dart.defineExtensionMethods(io.ProcessStartMode, ['toString']); +dart.defineLazy(io.ProcessStartMode, { + /*io.ProcessStartMode.normal*/get normal() { + return C[138] || CT.C138; + }, + /*io.ProcessStartMode.NORMAL*/get NORMAL() { + return C[138] || CT.C138; + }, + /*io.ProcessStartMode.inheritStdio*/get inheritStdio() { + return C[139] || CT.C139; + }, + /*io.ProcessStartMode.INHERIT_STDIO*/get INHERIT_STDIO() { + return C[139] || CT.C139; + }, + /*io.ProcessStartMode.detached*/get detached() { + return C[140] || CT.C140; + }, + /*io.ProcessStartMode.DETACHED*/get DETACHED() { + return C[140] || CT.C140; + }, + /*io.ProcessStartMode.detachedWithStdio*/get detachedWithStdio() { + return C[141] || CT.C141; + }, + /*io.ProcessStartMode.DETACHED_WITH_STDIO*/get DETACHED_WITH_STDIO() { + return C[141] || CT.C141; + } +}, false); +var ProcessSignal__name = dart.privateName(io, "ProcessSignal._name"); +var ProcessSignal__signalNumber = dart.privateName(io, "ProcessSignal._signalNumber"); +io.Process = class Process extends core.Object { + static start(executable, $arguments, opts) { + if (executable == null) dart.nullFailed(I[107], 352, 39, "executable"); + if ($arguments == null) dart.nullFailed(I[107], 352, 64, "arguments"); + let workingDirectory = opts && 'workingDirectory' in opts ? opts.workingDirectory : null; + let environment = opts && 'environment' in opts ? opts.environment : null; + let includeParentEnvironment = opts && 'includeParentEnvironment' in opts ? opts.includeParentEnvironment : true; + if (includeParentEnvironment == null) dart.nullFailed(I[107], 355, 12, "includeParentEnvironment"); + let runInShell = opts && 'runInShell' in opts ? opts.runInShell : false; + if (runInShell == null) dart.nullFailed(I[107], 356, 12, "runInShell"); + let mode = opts && 'mode' in opts ? opts.mode : C[138] || CT.C138; + if (mode == null) dart.nullFailed(I[107], 357, 24, "mode"); + dart.throw(new core.UnsupportedError.new("Process.start")); + } + static run(executable, $arguments, opts) { + if (executable == null) dart.nullFailed(I[107], 362, 43, "executable"); + if ($arguments == null) dart.nullFailed(I[107], 362, 68, "arguments"); + let workingDirectory = opts && 'workingDirectory' in opts ? opts.workingDirectory : null; + let environment = opts && 'environment' in opts ? opts.environment : null; + let includeParentEnvironment = opts && 'includeParentEnvironment' in opts ? opts.includeParentEnvironment : true; + if (includeParentEnvironment == null) dart.nullFailed(I[107], 365, 12, "includeParentEnvironment"); + let runInShell = opts && 'runInShell' in opts ? opts.runInShell : false; + if (runInShell == null) dart.nullFailed(I[107], 366, 12, "runInShell"); + let stdoutEncoding = opts && 'stdoutEncoding' in opts ? opts.stdoutEncoding : C[143] || CT.C143; + if (stdoutEncoding == null) dart.nullFailed(I[107], 367, 16, "stdoutEncoding"); + let stderrEncoding = opts && 'stderrEncoding' in opts ? opts.stderrEncoding : C[143] || CT.C143; + if (stderrEncoding == null) dart.nullFailed(I[107], 368, 16, "stderrEncoding"); + dart.throw(new core.UnsupportedError.new("Process.run")); + } + static runSync(executable, $arguments, opts) { + if (executable == null) dart.nullFailed(I[107], 373, 39, "executable"); + if ($arguments == null) dart.nullFailed(I[107], 373, 64, "arguments"); + let workingDirectory = opts && 'workingDirectory' in opts ? opts.workingDirectory : null; + let environment = opts && 'environment' in opts ? opts.environment : null; + let includeParentEnvironment = opts && 'includeParentEnvironment' in opts ? opts.includeParentEnvironment : true; + if (includeParentEnvironment == null) dart.nullFailed(I[107], 376, 12, "includeParentEnvironment"); + let runInShell = opts && 'runInShell' in opts ? opts.runInShell : false; + if (runInShell == null) dart.nullFailed(I[107], 377, 12, "runInShell"); + let stdoutEncoding = opts && 'stdoutEncoding' in opts ? opts.stdoutEncoding : C[143] || CT.C143; + if (stdoutEncoding == null) dart.nullFailed(I[107], 378, 16, "stdoutEncoding"); + let stderrEncoding = opts && 'stderrEncoding' in opts ? opts.stderrEncoding : C[143] || CT.C143; + if (stderrEncoding == null) dart.nullFailed(I[107], 379, 16, "stderrEncoding"); + dart.throw(new core.UnsupportedError.new("Process.runSync")); + } + static killPid(pid, signal = C[144] || CT.C144) { + if (pid == null) dart.nullFailed(I[107], 384, 27, "pid"); + if (signal == null) dart.nullFailed(I[107], 384, 47, "signal"); + dart.throw(new core.UnsupportedError.new("Process.killPid")); + } +}; +(io.Process.new = function() { + ; +}).prototype = io.Process.prototype; +dart.addTypeTests(io.Process); +dart.addTypeCaches(io.Process); +dart.setLibraryUri(io.Process, I[105]); +var exitCode$ = dart.privateName(io, "ProcessResult.exitCode"); +var stdout$ = dart.privateName(io, "ProcessResult.stdout"); +var stderr$ = dart.privateName(io, "ProcessResult.stderr"); +var pid$ = dart.privateName(io, "ProcessResult.pid"); +io.ProcessResult = class ProcessResult extends core.Object { + get exitCode() { + return this[exitCode$]; + } + set exitCode(value) { + super.exitCode = value; + } + get stdout() { + return this[stdout$]; + } + set stdout(value) { + super.stdout = value; + } + get stderr() { + return this[stderr$]; + } + set stderr(value) { + super.stderr = value; + } + get pid() { + return this[pid$]; + } + set pid(value) { + super.pid = value; + } +}; +(io.ProcessResult.new = function(pid, exitCode, stdout, stderr) { + if (pid == null) dart.nullFailed(I[122], 469, 22, "pid"); + if (exitCode == null) dart.nullFailed(I[122], 469, 32, "exitCode"); + this[pid$] = pid; + this[exitCode$] = exitCode; + this[stdout$] = stdout; + this[stderr$] = stderr; + ; +}).prototype = io.ProcessResult.prototype; +dart.addTypeTests(io.ProcessResult); +dart.addTypeCaches(io.ProcessResult); +dart.setLibraryUri(io.ProcessResult, I[105]); +dart.setFieldSignature(io.ProcessResult, () => ({ + __proto__: dart.getFields(io.ProcessResult.__proto__), + exitCode: dart.finalFieldType(core.int), + stdout: dart.finalFieldType(dart.dynamic), + stderr: dart.finalFieldType(dart.dynamic), + pid: dart.finalFieldType(core.int) +})); +var _signalNumber = dart.privateName(io, "_signalNumber"); +const _signalNumber$ = ProcessSignal__signalNumber; +const _name$5 = ProcessSignal__name; +io.ProcessSignal = class ProcessSignal extends core.Object { + get [_signalNumber]() { + return this[_signalNumber$]; + } + set [_signalNumber](value) { + super[_signalNumber] = value; + } + get [_name$4]() { + return this[_name$5]; + } + set [_name$4](value) { + super[_name$4] = value; + } + toString() { + return this[_name$4]; + } + watch() { + return io._ProcessUtils._watchSignal(this); + } +}; +(io.ProcessSignal.__ = function(_signalNumber, _name) { + if (_signalNumber == null) dart.nullFailed(I[122], 571, 30, "_signalNumber"); + if (_name == null) dart.nullFailed(I[122], 571, 50, "_name"); + this[_signalNumber$] = _signalNumber; + this[_name$5] = _name; + ; +}).prototype = io.ProcessSignal.prototype; +dart.addTypeTests(io.ProcessSignal); +dart.addTypeCaches(io.ProcessSignal); +dart.setMethodSignature(io.ProcessSignal, () => ({ + __proto__: dart.getMethods(io.ProcessSignal.__proto__), + watch: dart.fnType(async.Stream$(io.ProcessSignal), []) +})); +dart.setLibraryUri(io.ProcessSignal, I[105]); +dart.setFieldSignature(io.ProcessSignal, () => ({ + __proto__: dart.getFields(io.ProcessSignal.__proto__), + [_signalNumber]: dart.finalFieldType(core.int), + [_name$4]: dart.finalFieldType(core.String) +})); +dart.defineExtensionMethods(io.ProcessSignal, ['toString']); +dart.defineLazy(io.ProcessSignal, { + /*io.ProcessSignal.sighup*/get sighup() { + return C[145] || CT.C145; + }, + /*io.ProcessSignal.sigint*/get sigint() { + return C[146] || CT.C146; + }, + /*io.ProcessSignal.sigquit*/get sigquit() { + return C[147] || CT.C147; + }, + /*io.ProcessSignal.sigill*/get sigill() { + return C[148] || CT.C148; + }, + /*io.ProcessSignal.sigtrap*/get sigtrap() { + return C[149] || CT.C149; + }, + /*io.ProcessSignal.sigabrt*/get sigabrt() { + return C[150] || CT.C150; + }, + /*io.ProcessSignal.sigbus*/get sigbus() { + return C[151] || CT.C151; + }, + /*io.ProcessSignal.sigfpe*/get sigfpe() { + return C[152] || CT.C152; + }, + /*io.ProcessSignal.sigkill*/get sigkill() { + return C[153] || CT.C153; + }, + /*io.ProcessSignal.sigusr1*/get sigusr1() { + return C[154] || CT.C154; + }, + /*io.ProcessSignal.sigsegv*/get sigsegv() { + return C[155] || CT.C155; + }, + /*io.ProcessSignal.sigusr2*/get sigusr2() { + return C[156] || CT.C156; + }, + /*io.ProcessSignal.sigpipe*/get sigpipe() { + return C[157] || CT.C157; + }, + /*io.ProcessSignal.sigalrm*/get sigalrm() { + return C[158] || CT.C158; + }, + /*io.ProcessSignal.sigterm*/get sigterm() { + return C[144] || CT.C144; + }, + /*io.ProcessSignal.sigchld*/get sigchld() { + return C[159] || CT.C159; + }, + /*io.ProcessSignal.sigcont*/get sigcont() { + return C[160] || CT.C160; + }, + /*io.ProcessSignal.sigstop*/get sigstop() { + return C[161] || CT.C161; + }, + /*io.ProcessSignal.sigtstp*/get sigtstp() { + return C[162] || CT.C162; + }, + /*io.ProcessSignal.sigttin*/get sigttin() { + return C[163] || CT.C163; + }, + /*io.ProcessSignal.sigttou*/get sigttou() { + return C[164] || CT.C164; + }, + /*io.ProcessSignal.sigurg*/get sigurg() { + return C[165] || CT.C165; + }, + /*io.ProcessSignal.sigxcpu*/get sigxcpu() { + return C[166] || CT.C166; + }, + /*io.ProcessSignal.sigxfsz*/get sigxfsz() { + return C[167] || CT.C167; + }, + /*io.ProcessSignal.sigvtalrm*/get sigvtalrm() { + return C[168] || CT.C168; + }, + /*io.ProcessSignal.sigprof*/get sigprof() { + return C[169] || CT.C169; + }, + /*io.ProcessSignal.sigwinch*/get sigwinch() { + return C[170] || CT.C170; + }, + /*io.ProcessSignal.sigpoll*/get sigpoll() { + return C[171] || CT.C171; + }, + /*io.ProcessSignal.sigsys*/get sigsys() { + return C[172] || CT.C172; + }, + /*io.ProcessSignal.SIGHUP*/get SIGHUP() { + return C[145] || CT.C145; + }, + /*io.ProcessSignal.SIGINT*/get SIGINT() { + return C[146] || CT.C146; + }, + /*io.ProcessSignal.SIGQUIT*/get SIGQUIT() { + return C[147] || CT.C147; + }, + /*io.ProcessSignal.SIGILL*/get SIGILL() { + return C[148] || CT.C148; + }, + /*io.ProcessSignal.SIGTRAP*/get SIGTRAP() { + return C[149] || CT.C149; + }, + /*io.ProcessSignal.SIGABRT*/get SIGABRT() { + return C[150] || CT.C150; + }, + /*io.ProcessSignal.SIGBUS*/get SIGBUS() { + return C[151] || CT.C151; + }, + /*io.ProcessSignal.SIGFPE*/get SIGFPE() { + return C[152] || CT.C152; + }, + /*io.ProcessSignal.SIGKILL*/get SIGKILL() { + return C[153] || CT.C153; + }, + /*io.ProcessSignal.SIGUSR1*/get SIGUSR1() { + return C[154] || CT.C154; + }, + /*io.ProcessSignal.SIGSEGV*/get SIGSEGV() { + return C[155] || CT.C155; + }, + /*io.ProcessSignal.SIGUSR2*/get SIGUSR2() { + return C[156] || CT.C156; + }, + /*io.ProcessSignal.SIGPIPE*/get SIGPIPE() { + return C[157] || CT.C157; + }, + /*io.ProcessSignal.SIGALRM*/get SIGALRM() { + return C[158] || CT.C158; + }, + /*io.ProcessSignal.SIGTERM*/get SIGTERM() { + return C[144] || CT.C144; + }, + /*io.ProcessSignal.SIGCHLD*/get SIGCHLD() { + return C[159] || CT.C159; + }, + /*io.ProcessSignal.SIGCONT*/get SIGCONT() { + return C[160] || CT.C160; + }, + /*io.ProcessSignal.SIGSTOP*/get SIGSTOP() { + return C[161] || CT.C161; + }, + /*io.ProcessSignal.SIGTSTP*/get SIGTSTP() { + return C[162] || CT.C162; + }, + /*io.ProcessSignal.SIGTTIN*/get SIGTTIN() { + return C[163] || CT.C163; + }, + /*io.ProcessSignal.SIGTTOU*/get SIGTTOU() { + return C[164] || CT.C164; + }, + /*io.ProcessSignal.SIGURG*/get SIGURG() { + return C[165] || CT.C165; + }, + /*io.ProcessSignal.SIGXCPU*/get SIGXCPU() { + return C[166] || CT.C166; + }, + /*io.ProcessSignal.SIGXFSZ*/get SIGXFSZ() { + return C[167] || CT.C167; + }, + /*io.ProcessSignal.SIGVTALRM*/get SIGVTALRM() { + return C[168] || CT.C168; + }, + /*io.ProcessSignal.SIGPROF*/get SIGPROF() { + return C[169] || CT.C169; + }, + /*io.ProcessSignal.SIGWINCH*/get SIGWINCH() { + return C[170] || CT.C170; + }, + /*io.ProcessSignal.SIGPOLL*/get SIGPOLL() { + return C[171] || CT.C171; + }, + /*io.ProcessSignal.SIGSYS*/get SIGSYS() { + return C[172] || CT.C172; + } +}, false); +var message$4 = dart.privateName(io, "SignalException.message"); +var osError$0 = dart.privateName(io, "SignalException.osError"); +io.SignalException = class SignalException extends core.Object { + get message() { + return this[message$4]; + } + set message(value) { + super.message = value; + } + get osError() { + return this[osError$0]; + } + set osError(value) { + super.osError = value; + } + toString() { + let msg = ""; + if (this.osError != null) { + msg = ", osError: " + dart.str(this.osError); + } + return "SignalException: " + dart.str(this.message) + msg; + } +}; +(io.SignalException.new = function(message, osError = null) { + if (message == null) dart.nullFailed(I[122], 597, 30, "message"); + this[message$4] = message; + this[osError$0] = osError; + ; +}).prototype = io.SignalException.prototype; +dart.addTypeTests(io.SignalException); +dart.addTypeCaches(io.SignalException); +io.SignalException[dart.implements] = () => [io.IOException]; +dart.setLibraryUri(io.SignalException, I[105]); +dart.setFieldSignature(io.SignalException, () => ({ + __proto__: dart.getFields(io.SignalException.__proto__), + message: dart.finalFieldType(core.String), + osError: dart.finalFieldType(dart.dynamic) +})); +dart.defineExtensionMethods(io.SignalException, ['toString']); +var executable$ = dart.privateName(io, "ProcessException.executable"); +var $arguments$ = dart.privateName(io, "ProcessException.arguments"); +var message$5 = dart.privateName(io, "ProcessException.message"); +var errorCode$1 = dart.privateName(io, "ProcessException.errorCode"); +io.ProcessException = class ProcessException extends core.Object { + get executable() { + return this[executable$]; + } + set executable(value) { + super.executable = value; + } + get arguments() { + return this[$arguments$]; + } + set arguments(value) { + super.arguments = value; + } + get message() { + return this[message$5]; + } + set message(value) { + super.message = value; + } + get errorCode() { + return this[errorCode$1]; + } + set errorCode(value) { + super.errorCode = value; + } + toString() { + let args = this.arguments[$join](" "); + return "ProcessException: " + dart.str(this.message) + "\n Command: " + dart.str(this.executable) + " " + dart.str(args); + } +}; +(io.ProcessException.new = function(executable, $arguments, message = "", errorCode = 0) { + if (executable == null) dart.nullFailed(I[122], 625, 31, "executable"); + if ($arguments == null) dart.nullFailed(I[122], 625, 48, "arguments"); + if (message == null) dart.nullFailed(I[122], 626, 13, "message"); + if (errorCode == null) dart.nullFailed(I[122], 626, 32, "errorCode"); + this[executable$] = executable; + this[$arguments$] = $arguments; + this[message$5] = message; + this[errorCode$1] = errorCode; + ; +}).prototype = io.ProcessException.prototype; +dart.addTypeTests(io.ProcessException); +dart.addTypeCaches(io.ProcessException); +io.ProcessException[dart.implements] = () => [io.IOException]; +dart.setLibraryUri(io.ProcessException, I[105]); +dart.setFieldSignature(io.ProcessException, () => ({ + __proto__: dart.getFields(io.ProcessException.__proto__), + executable: dart.finalFieldType(core.String), + arguments: dart.finalFieldType(core.List$(core.String)), + message: dart.finalFieldType(core.String), + errorCode: dart.finalFieldType(core.int) +})); +dart.defineExtensionMethods(io.ProcessException, ['toString']); +var _socket$ = dart.privateName(io, "_socket"); +var _owner = dart.privateName(io, "_owner"); +var _onCancel$ = dart.privateName(io, "_onCancel"); +var _detachRaw = dart.privateName(io, "_detachRaw"); +io.SecureSocket = class SecureSocket extends core.Object { + static connect(host, port, opts) { + if (port == null) dart.nullFailed(I[124], 40, 49, "port"); + let context = opts && 'context' in opts ? opts.context : null; + let onBadCertificate = opts && 'onBadCertificate' in opts ? opts.onBadCertificate : null; + let supportedProtocols = opts && 'supportedProtocols' in opts ? opts.supportedProtocols : null; + let timeout = opts && 'timeout' in opts ? opts.timeout : null; + return io.RawSecureSocket.connect(host, port, {context: context, onBadCertificate: onBadCertificate, supportedProtocols: supportedProtocols, timeout: timeout}).then(io.SecureSocket, dart.fn(rawSocket => { + if (rawSocket == null) dart.nullFailed(I[124], 50, 16, "rawSocket"); + return io.SecureSocket.__(rawSocket); + }, T$0.RawSecureSocketToSecureSocket())); + } + static startConnect(host, port, opts) { + if (port == null) dart.nullFailed(I[124], 56, 70, "port"); + let context = opts && 'context' in opts ? opts.context : null; + let onBadCertificate = opts && 'onBadCertificate' in opts ? opts.onBadCertificate : null; + let supportedProtocols = opts && 'supportedProtocols' in opts ? opts.supportedProtocols : null; + return io.RawSecureSocket.startConnect(host, port, {context: context, onBadCertificate: onBadCertificate, supportedProtocols: supportedProtocols}).then(T$0.ConnectionTaskOfSecureSocket(), dart.fn(rawState => { + if (rawState == null) dart.nullFailed(I[124], 64, 16, "rawState"); + let socket = rawState.socket.then(io.SecureSocket, dart.fn(rawSocket => { + if (rawSocket == null) dart.nullFailed(I[124], 66, 33, "rawSocket"); + return io.SecureSocket.__(rawSocket); + }, T$0.RawSecureSocketToSecureSocket())); + return new (T$0.ConnectionTaskOfSecureSocket()).__(socket, rawState[_onCancel$]); + }, T$0.ConnectionTaskOfRawSecureSocketToConnectionTaskOfSecureSocket())); + } + static secure(socket, opts) { + if (socket == null) dart.nullFailed(I[124], 103, 45, "socket"); + let host = opts && 'host' in opts ? opts.host : null; + let context = opts && 'context' in opts ? opts.context : null; + let onBadCertificate = opts && 'onBadCertificate' in opts ? opts.onBadCertificate : null; + let supportedProtocols = opts && 'supportedProtocols' in opts ? opts.supportedProtocols : null; + return async.Future.as(dart.dsend(socket, _detachRaw, [])).then(io.RawSecureSocket, dart.fn(detachedRaw => io.RawSecureSocket.secure(io.RawSocket.as(dart.dsend(detachedRaw, '_get', [0])), {subscription: T$0.StreamSubscriptionNOfRawSocketEvent().as(dart.dsend(detachedRaw, '_get', [1])), host: host, context: context, onBadCertificate: onBadCertificate, supportedProtocols: supportedProtocols}), T$0.dynamicToFutureOfRawSecureSocket())).then(io.SecureSocket, dart.fn(raw => { + if (raw == null) dart.nullFailed(I[124], 116, 28, "raw"); + return io.SecureSocket.__(raw); + }, T$0.RawSecureSocketToSecureSocket())); + } + static secureServer(socket, context, opts) { + if (socket == null) dart.nullFailed(I[124], 140, 14, "socket"); + let bufferedData = opts && 'bufferedData' in opts ? opts.bufferedData : null; + let requestClientCertificate = opts && 'requestClientCertificate' in opts ? opts.requestClientCertificate : false; + if (requestClientCertificate == null) dart.nullFailed(I[124], 142, 12, "requestClientCertificate"); + let requireClientCertificate = opts && 'requireClientCertificate' in opts ? opts.requireClientCertificate : false; + if (requireClientCertificate == null) dart.nullFailed(I[124], 143, 12, "requireClientCertificate"); + let supportedProtocols = opts && 'supportedProtocols' in opts ? opts.supportedProtocols : null; + return async.Future.as(dart.dsend(socket, _detachRaw, [])).then(io.RawSecureSocket, dart.fn(detachedRaw => io.RawSecureSocket.secureServer(io.RawSocket.as(dart.dsend(detachedRaw, '_get', [0])), context, {subscription: T$0.StreamSubscriptionNOfRawSocketEvent().as(dart.dsend(detachedRaw, '_get', [1])), bufferedData: bufferedData, requestClientCertificate: requestClientCertificate, requireClientCertificate: requireClientCertificate, supportedProtocols: supportedProtocols}), T$0.dynamicToFutureOfRawSecureSocket())).then(io.SecureSocket, dart.fn(raw => { + if (raw == null) dart.nullFailed(I[124], 153, 28, "raw"); + return io.SecureSocket.__(raw); + }, T$0.RawSecureSocketToSecureSocket())); + } +}; +(io.SecureSocket[dart.mixinNew] = function() { +}).prototype = io.SecureSocket.prototype; +dart.addTypeTests(io.SecureSocket); +dart.addTypeCaches(io.SecureSocket); +io.SecureSocket[dart.implements] = () => [io.Socket]; +dart.setLibraryUri(io.SecureSocket, I[105]); +io.SecureServerSocket = class SecureServerSocket extends async.Stream$(io.SecureSocket) { + static bind(address, port, context, opts) { + if (port == null) dart.nullFailed(I[123], 66, 20, "port"); + let backlog = opts && 'backlog' in opts ? opts.backlog : 0; + if (backlog == null) dart.nullFailed(I[123], 67, 12, "backlog"); + let v6Only = opts && 'v6Only' in opts ? opts.v6Only : false; + if (v6Only == null) dart.nullFailed(I[123], 68, 12, "v6Only"); + let requestClientCertificate = opts && 'requestClientCertificate' in opts ? opts.requestClientCertificate : false; + if (requestClientCertificate == null) dart.nullFailed(I[123], 69, 12, "requestClientCertificate"); + let requireClientCertificate = opts && 'requireClientCertificate' in opts ? opts.requireClientCertificate : false; + if (requireClientCertificate == null) dart.nullFailed(I[123], 70, 12, "requireClientCertificate"); + let supportedProtocols = opts && 'supportedProtocols' in opts ? opts.supportedProtocols : null; + let shared = opts && 'shared' in opts ? opts.shared : false; + if (shared == null) dart.nullFailed(I[123], 72, 12, "shared"); + return io.RawSecureServerSocket.bind(address, port, context, {backlog: backlog, v6Only: v6Only, requestClientCertificate: requestClientCertificate, requireClientCertificate: requireClientCertificate, supportedProtocols: supportedProtocols, shared: shared}).then(io.SecureServerSocket, dart.fn(serverSocket => { + if (serverSocket == null) dart.nullFailed(I[123], 80, 16, "serverSocket"); + return new io.SecureServerSocket.__(serverSocket); + }, T$0.RawSecureServerSocketToSecureServerSocket())); + } + listen(onData, opts) { + let onError = opts && 'onError' in opts ? opts.onError : null; + let onDone = opts && 'onDone' in opts ? opts.onDone : null; + let cancelOnError = opts && 'cancelOnError' in opts ? opts.cancelOnError : null; + return this[_socket$].map(io.SecureSocket, dart.fn(rawSocket => { + if (rawSocket == null) dart.nullFailed(I[123], 85, 25, "rawSocket"); + return io.SecureSocket.__(rawSocket); + }, T$0.RawSecureSocketToSecureSocket())).listen(onData, {onError: onError, onDone: onDone, cancelOnError: cancelOnError}); + } + get port() { + return this[_socket$].port; + } + get address() { + return this[_socket$].address; + } + close() { + return this[_socket$].close().then(io.SecureServerSocket, dart.fn(_ => { + if (_ == null) dart.nullFailed(I[123], 102, 63, "_"); + return this; + }, T$0.RawSecureServerSocketToSecureServerSocket())); + } + set [_owner](owner) { + this[_socket$][_owner] = owner; + } +}; +(io.SecureServerSocket.__ = function(_socket) { + if (_socket == null) dart.nullFailed(I[123], 13, 29, "_socket"); + this[_socket$] = _socket; + io.SecureServerSocket.__proto__.new.call(this); + ; +}).prototype = io.SecureServerSocket.prototype; +dart.addTypeTests(io.SecureServerSocket); +dart.addTypeCaches(io.SecureServerSocket); +dart.setMethodSignature(io.SecureServerSocket, () => ({ + __proto__: dart.getMethods(io.SecureServerSocket.__proto__), + listen: dart.fnType(async.StreamSubscription$(io.SecureSocket), [dart.nullable(dart.fnType(dart.void, [io.SecureSocket]))], {cancelOnError: dart.nullable(core.bool), onDone: dart.nullable(dart.fnType(dart.void, [])), onError: dart.nullable(core.Function)}, {}), + close: dart.fnType(async.Future$(io.SecureServerSocket), []) +})); +dart.setGetterSignature(io.SecureServerSocket, () => ({ + __proto__: dart.getGetters(io.SecureServerSocket.__proto__), + port: core.int, + address: io.InternetAddress +})); +dart.setSetterSignature(io.SecureServerSocket, () => ({ + __proto__: dart.getSetters(io.SecureServerSocket.__proto__), + [_owner]: dart.dynamic +})); +dart.setLibraryUri(io.SecureServerSocket, I[105]); +dart.setFieldSignature(io.SecureServerSocket, () => ({ + __proto__: dart.getFields(io.SecureServerSocket.__proto__), + [_socket$]: dart.finalFieldType(io.RawSecureServerSocket) +})); +var requestClientCertificate$ = dart.privateName(io, "RawSecureServerSocket.requestClientCertificate"); +var requireClientCertificate$ = dart.privateName(io, "RawSecureServerSocket.requireClientCertificate"); +var supportedProtocols$ = dart.privateName(io, "RawSecureServerSocket.supportedProtocols"); +var __RawSecureServerSocket__controller = dart.privateName(io, "_#RawSecureServerSocket#_controller"); +var __RawSecureServerSocket__controller_isSet = dart.privateName(io, "_#RawSecureServerSocket#_controller#isSet"); +var _subscription$ = dart.privateName(io, "_subscription"); +var _context$ = dart.privateName(io, "_context"); +var _onSubscriptionStateChange = dart.privateName(io, "_onSubscriptionStateChange"); +var _onPauseStateChange = dart.privateName(io, "_onPauseStateChange"); +var _onData$0 = dart.privateName(io, "_onData"); +io.RawSecureSocket = class RawSecureSocket extends core.Object { + static connect(host, port, opts) { + if (port == null) dart.nullFailed(I[124], 216, 52, "port"); + let context = opts && 'context' in opts ? opts.context : null; + let onBadCertificate = opts && 'onBadCertificate' in opts ? opts.onBadCertificate : null; + let supportedProtocols = opts && 'supportedProtocols' in opts ? opts.supportedProtocols : null; + let timeout = opts && 'timeout' in opts ? opts.timeout : null; + io._RawSecureSocket._verifyFields(host, port, false, false); + return io.RawSocket.connect(host, port, {timeout: timeout}).then(io.RawSecureSocket, dart.fn(socket => { + if (socket == null) dart.nullFailed(I[124], 222, 66, "socket"); + return io.RawSecureSocket.secure(socket, {context: context, onBadCertificate: onBadCertificate, supportedProtocols: supportedProtocols}); + }, T$0.RawSocketToFutureOfRawSecureSocket())); + } + static startConnect(host, port, opts) { + if (port == null) dart.nullFailed(I[124], 233, 73, "port"); + let context = opts && 'context' in opts ? opts.context : null; + let onBadCertificate = opts && 'onBadCertificate' in opts ? opts.onBadCertificate : null; + let supportedProtocols = opts && 'supportedProtocols' in opts ? opts.supportedProtocols : null; + return io.RawSocket.startConnect(host, port).then(T$0.ConnectionTaskOfRawSecureSocket(), dart.fn(rawState => { + if (rawState == null) dart.nullFailed(I[124], 238, 42, "rawState"); + let socket = rawState.socket.then(io.RawSecureSocket, dart.fn(rawSocket => { + if (rawSocket == null) dart.nullFailed(I[124], 239, 62, "rawSocket"); + return io.RawSecureSocket.secure(rawSocket, {context: context, onBadCertificate: onBadCertificate, supportedProtocols: supportedProtocols}); + }, T$0.RawSocketToFutureOfRawSecureSocket())); + return new (T$0.ConnectionTaskOfRawSecureSocket()).__(socket, rawState[_onCancel$]); + }, T$0.ConnectionTaskOfRawSocketToConnectionTaskOfRawSecureSocket())); + } + static secure(socket, opts) { + if (socket == null) dart.nullFailed(I[124], 281, 51, "socket"); + let subscription = opts && 'subscription' in opts ? opts.subscription : null; + let host = opts && 'host' in opts ? opts.host : null; + let context = opts && 'context' in opts ? opts.context : null; + let onBadCertificate = opts && 'onBadCertificate' in opts ? opts.onBadCertificate : null; + let supportedProtocols = opts && 'supportedProtocols' in opts ? opts.supportedProtocols : null; + socket.readEventsEnabled = false; + socket.writeEventsEnabled = false; + return io._RawSecureSocket.connect(host != null ? host : socket.address.host, socket.port, false, socket, {subscription: subscription, context: context, onBadCertificate: onBadCertificate, supportedProtocols: supportedProtocols}); + } + static secureServer(socket, context, opts) { + if (socket == null) dart.nullFailed(I[124], 320, 17, "socket"); + let subscription = opts && 'subscription' in opts ? opts.subscription : null; + let bufferedData = opts && 'bufferedData' in opts ? opts.bufferedData : null; + let requestClientCertificate = opts && 'requestClientCertificate' in opts ? opts.requestClientCertificate : false; + if (requestClientCertificate == null) dart.nullFailed(I[124], 323, 12, "requestClientCertificate"); + let requireClientCertificate = opts && 'requireClientCertificate' in opts ? opts.requireClientCertificate : false; + if (requireClientCertificate == null) dart.nullFailed(I[124], 324, 12, "requireClientCertificate"); + let supportedProtocols = opts && 'supportedProtocols' in opts ? opts.supportedProtocols : null; + socket.readEventsEnabled = false; + socket.writeEventsEnabled = false; + return io._RawSecureSocket.connect(socket.address, socket.remotePort, true, socket, {context: context, subscription: subscription, bufferedData: bufferedData, requestClientCertificate: requestClientCertificate, requireClientCertificate: requireClientCertificate, supportedProtocols: supportedProtocols}); + } +}; +(io.RawSecureSocket.new = function() { + ; +}).prototype = io.RawSecureSocket.prototype; +dart.addTypeTests(io.RawSecureSocket); +dart.addTypeCaches(io.RawSecureSocket); +io.RawSecureSocket[dart.implements] = () => [io.RawSocket]; +dart.setLibraryUri(io.RawSecureSocket, I[105]); +io.RawSecureServerSocket = class RawSecureServerSocket extends async.Stream$(io.RawSecureSocket) { + get requestClientCertificate() { + return this[requestClientCertificate$]; + } + set requestClientCertificate(value) { + super.requestClientCertificate = value; + } + get requireClientCertificate() { + return this[requireClientCertificate$]; + } + set requireClientCertificate(value) { + super.requireClientCertificate = value; + } + get supportedProtocols() { + return this[supportedProtocols$]; + } + set supportedProtocols(value) { + super.supportedProtocols = value; + } + get [_controller]() { + let t203; + return dart.test(this[__RawSecureServerSocket__controller_isSet]) ? (t203 = this[__RawSecureServerSocket__controller], t203) : dart.throw(new _internal.LateError.fieldNI("_controller")); + } + set [_controller](t203) { + if (t203 == null) dart.nullFailed(I[123], 114, 42, "null"); + this[__RawSecureServerSocket__controller_isSet] = true; + this[__RawSecureServerSocket__controller] = t203; + } + static bind(address, port, context, opts) { + if (port == null) dart.nullFailed(I[123], 186, 20, "port"); + let backlog = opts && 'backlog' in opts ? opts.backlog : 0; + if (backlog == null) dart.nullFailed(I[123], 187, 12, "backlog"); + let v6Only = opts && 'v6Only' in opts ? opts.v6Only : false; + if (v6Only == null) dart.nullFailed(I[123], 188, 12, "v6Only"); + let requestClientCertificate = opts && 'requestClientCertificate' in opts ? opts.requestClientCertificate : false; + if (requestClientCertificate == null) dart.nullFailed(I[123], 189, 12, "requestClientCertificate"); + let requireClientCertificate = opts && 'requireClientCertificate' in opts ? opts.requireClientCertificate : false; + if (requireClientCertificate == null) dart.nullFailed(I[123], 190, 12, "requireClientCertificate"); + let supportedProtocols = opts && 'supportedProtocols' in opts ? opts.supportedProtocols : null; + let shared = opts && 'shared' in opts ? opts.shared : false; + if (shared == null) dart.nullFailed(I[123], 192, 12, "shared"); + return io.RawServerSocket.bind(address, port, {backlog: backlog, v6Only: v6Only, shared: shared}).then(io.RawSecureServerSocket, dart.fn(serverSocket => { + if (serverSocket == null) dart.nullFailed(I[123], 195, 16, "serverSocket"); + return new io.RawSecureServerSocket.__(serverSocket, context, requestClientCertificate, requireClientCertificate, supportedProtocols); + }, T$0.RawServerSocketToRawSecureServerSocket())); + } + listen(onData, opts) { + let onError = opts && 'onError' in opts ? opts.onError : null; + let onDone = opts && 'onDone' in opts ? opts.onDone : null; + let cancelOnError = opts && 'cancelOnError' in opts ? opts.cancelOnError : null; + return this[_controller].stream.listen(onData, {onError: onError, onDone: onDone, cancelOnError: cancelOnError}); + } + get port() { + return this[_socket$].port; + } + get address() { + return this[_socket$].address; + } + close() { + this[_closed] = true; + return this[_socket$].close().then(io.RawSecureServerSocket, dart.fn(_ => { + if (_ == null) dart.nullFailed(I[123], 221, 34, "_"); + return this; + }, T$0.RawServerSocketToRawSecureServerSocket())); + } + [_onData$0](connection) { + if (connection == null) dart.nullFailed(I[123], 224, 26, "connection"); + let remotePort = null; + try { + remotePort = connection.remotePort; + } catch (e$) { + let e = dart.getThrown(e$); + if (core.Object.is(e)) { + return; + } else + throw e$; + } + io._RawSecureSocket.connect(connection.address, core.int.as(remotePort), true, connection, {context: this[_context$], requestClientCertificate: this.requestClientCertificate, requireClientCertificate: this.requireClientCertificate, supportedProtocols: this.supportedProtocols}).then(core.Null, dart.fn(secureConnection => { + if (secureConnection == null) dart.nullFailed(I[123], 238, 32, "secureConnection"); + if (dart.test(this[_closed])) { + secureConnection.close(); + } else { + this[_controller].add(secureConnection); + } + }, T$0.RawSecureSocketToNull())).catchError(dart.fn((e, s) => { + if (!dart.test(this[_closed])) { + this[_controller].addError(core.Object.as(e), T$.StackTraceN().as(s)); + } + }, T$.dynamicAnddynamicToNull())); + } + [_onPauseStateChange]() { + if (dart.test(this[_controller].isPaused)) { + dart.nullCheck(this[_subscription$]).pause(); + } else { + dart.nullCheck(this[_subscription$]).resume(); + } + } + [_onSubscriptionStateChange]() { + if (dart.test(this[_controller].hasListener)) { + this[_subscription$] = this[_socket$].listen(dart.bind(this, _onData$0), {onError: dart.bind(this[_controller], 'addError'), onDone: dart.bind(this[_controller], 'close')}); + } else { + this.close(); + } + } + set [_owner](owner) { + dart.dput(this[_socket$], _owner, owner); + } +}; +(io.RawSecureServerSocket.__ = function(_socket, _context, requestClientCertificate, requireClientCertificate, supportedProtocols) { + if (_socket == null) dart.nullFailed(I[123], 123, 12, "_socket"); + if (requestClientCertificate == null) dart.nullFailed(I[123], 125, 12, "requestClientCertificate"); + if (requireClientCertificate == null) dart.nullFailed(I[123], 126, 12, "requireClientCertificate"); + this[__RawSecureServerSocket__controller] = null; + this[__RawSecureServerSocket__controller_isSet] = false; + this[_subscription$] = null; + this[_closed] = false; + this[_socket$] = _socket; + this[_context$] = _context; + this[requestClientCertificate$] = requestClientCertificate; + this[requireClientCertificate$] = requireClientCertificate; + this[supportedProtocols$] = supportedProtocols; + io.RawSecureServerSocket.__proto__.new.call(this); + this[_controller] = T$0.StreamControllerOfRawSecureSocket().new({sync: true, onListen: dart.bind(this, _onSubscriptionStateChange), onPause: dart.bind(this, _onPauseStateChange), onResume: dart.bind(this, _onPauseStateChange), onCancel: dart.bind(this, _onSubscriptionStateChange)}); +}).prototype = io.RawSecureServerSocket.prototype; +dart.addTypeTests(io.RawSecureServerSocket); +dart.addTypeCaches(io.RawSecureServerSocket); +dart.setMethodSignature(io.RawSecureServerSocket, () => ({ + __proto__: dart.getMethods(io.RawSecureServerSocket.__proto__), + listen: dart.fnType(async.StreamSubscription$(io.RawSecureSocket), [dart.nullable(dart.fnType(dart.void, [io.RawSecureSocket]))], {cancelOnError: dart.nullable(core.bool), onDone: dart.nullable(dart.fnType(dart.void, [])), onError: dart.nullable(core.Function)}, {}), + close: dart.fnType(async.Future$(io.RawSecureServerSocket), []), + [_onData$0]: dart.fnType(dart.void, [io.RawSocket]), + [_onPauseStateChange]: dart.fnType(dart.void, []), + [_onSubscriptionStateChange]: dart.fnType(dart.void, []) +})); +dart.setGetterSignature(io.RawSecureServerSocket, () => ({ + __proto__: dart.getGetters(io.RawSecureServerSocket.__proto__), + [_controller]: async.StreamController$(io.RawSecureSocket), + port: core.int, + address: io.InternetAddress +})); +dart.setSetterSignature(io.RawSecureServerSocket, () => ({ + __proto__: dart.getSetters(io.RawSecureServerSocket.__proto__), + [_controller]: async.StreamController$(io.RawSecureSocket), + [_owner]: dart.dynamic +})); +dart.setLibraryUri(io.RawSecureServerSocket, I[105]); +dart.setFieldSignature(io.RawSecureServerSocket, () => ({ + __proto__: dart.getFields(io.RawSecureServerSocket.__proto__), + [_socket$]: dart.finalFieldType(io.RawServerSocket), + [__RawSecureServerSocket__controller]: dart.fieldType(dart.nullable(async.StreamController$(io.RawSecureSocket))), + [__RawSecureServerSocket__controller_isSet]: dart.fieldType(core.bool), + [_subscription$]: dart.fieldType(dart.nullable(async.StreamSubscription$(io.RawSocket))), + [_context$]: dart.finalFieldType(dart.nullable(io.SecurityContext)), + requestClientCertificate: dart.finalFieldType(core.bool), + requireClientCertificate: dart.finalFieldType(core.bool), + supportedProtocols: dart.finalFieldType(dart.nullable(core.List$(core.String))), + [_closed]: dart.fieldType(core.bool) +})); +io.X509Certificate = class X509Certificate extends core.Object {}; +(io.X509Certificate[dart.mixinNew] = function() { +}).prototype = io.X509Certificate.prototype; +dart.addTypeTests(io.X509Certificate); +dart.addTypeCaches(io.X509Certificate); +dart.setLibraryUri(io.X509Certificate, I[105]); +io._FilterStatus = class _FilterStatus extends core.Object {}; +(io._FilterStatus.new = function() { + this.progress = false; + this.readEmpty = true; + this.writeEmpty = true; + this.readPlaintextNoLongerEmpty = false; + this.writePlaintextNoLongerFull = false; + this.readEncryptedNoLongerFull = false; + this.writeEncryptedNoLongerEmpty = false; + ; +}).prototype = io._FilterStatus.prototype; +dart.addTypeTests(io._FilterStatus); +dart.addTypeCaches(io._FilterStatus); +dart.setLibraryUri(io._FilterStatus, I[105]); +dart.setFieldSignature(io._FilterStatus, () => ({ + __proto__: dart.getFields(io._FilterStatus.__proto__), + progress: dart.fieldType(core.bool), + readEmpty: dart.fieldType(core.bool), + writeEmpty: dart.fieldType(core.bool), + readPlaintextNoLongerEmpty: dart.fieldType(core.bool), + writePlaintextNoLongerFull: dart.fieldType(core.bool), + readEncryptedNoLongerFull: dart.fieldType(core.bool), + writeEncryptedNoLongerEmpty: dart.fieldType(core.bool) +})); +var _handshakeComplete = dart.privateName(io, "_handshakeComplete"); +var ___RawSecureSocket__socketSubscription = dart.privateName(io, "_#_RawSecureSocket#_socketSubscription"); +var ___RawSecureSocket__socketSubscription_isSet = dart.privateName(io, "_#_RawSecureSocket#_socketSubscription#isSet"); +var _bufferedDataIndex = dart.privateName(io, "_bufferedDataIndex"); +var _status = dart.privateName(io, "_status"); +var _writeEventsEnabled = dart.privateName(io, "_writeEventsEnabled"); +var _readEventsEnabled = dart.privateName(io, "_readEventsEnabled"); +var _pauseCount = dart.privateName(io, "_pauseCount"); +var _pendingReadEvent = dart.privateName(io, "_pendingReadEvent"); +var _socketClosedRead = dart.privateName(io, "_socketClosedRead"); +var _socketClosedWrite = dart.privateName(io, "_socketClosedWrite"); +var _closedRead = dart.privateName(io, "_closedRead"); +var _closedWrite = dart.privateName(io, "_closedWrite"); +var _filterStatus = dart.privateName(io, "_filterStatus"); +var _connectPending = dart.privateName(io, "_connectPending"); +var _filterPending = dart.privateName(io, "_filterPending"); +var _filterActive = dart.privateName(io, "_filterActive"); +var _secureFilter = dart.privateName(io, "_secureFilter"); +var _selectedProtocol = dart.privateName(io, "_selectedProtocol"); +var _bufferedData$ = dart.privateName(io, "_bufferedData"); +var _secureHandshakeCompleteHandler = dart.privateName(io, "_secureHandshakeCompleteHandler"); +var _onBadCertificateWrapper = dart.privateName(io, "_onBadCertificateWrapper"); +var _socketSubscription = dart.privateName(io, "_socketSubscription"); +var _eventDispatcher = dart.privateName(io, "_eventDispatcher"); +var _reportError = dart.privateName(io, "_reportError"); +var _doneHandler = dart.privateName(io, "_doneHandler"); +var _secureHandshake = dart.privateName(io, "_secureHandshake"); +var _sendWriteEvent = dart.privateName(io, "_sendWriteEvent"); +var _completeCloseCompleter = dart.privateName(io, "_completeCloseCompleter"); +var _close$ = dart.privateName(io, "_close"); +var _scheduleReadEvent = dart.privateName(io, "_scheduleReadEvent"); +var _scheduleFilter = dart.privateName(io, "_scheduleFilter"); +var _readHandler = dart.privateName(io, "_readHandler"); +var _writeHandler = dart.privateName(io, "_writeHandler"); +var _closeHandler = dart.privateName(io, "_closeHandler"); +var _readSocket = dart.privateName(io, "_readSocket"); +var _writeSocket = dart.privateName(io, "_writeSocket"); +var _tryFilter = dart.privateName(io, "_tryFilter"); +var _pushAllFilterStages = dart.privateName(io, "_pushAllFilterStages"); +var _readSocketOrBufferedData = dart.privateName(io, "_readSocketOrBufferedData"); +var _sendReadEvent = dart.privateName(io, "_sendReadEvent"); +var _value$ = dart.privateName(io, "RawSocketEvent._value"); +var _value$0 = dart.privateName(io, "_value"); +io.RawSocketEvent = class RawSocketEvent extends core.Object { + get [_value$0]() { + return this[_value$]; + } + set [_value$0](value) { + super[_value$0] = value; + } + toString() { + return (C[173] || CT.C173)[$_get](this[_value$0]); + } +}; +(io.RawSocketEvent.__ = function(_value) { + if (_value == null) dart.nullFailed(I[125], 518, 31, "_value"); + this[_value$] = _value; + ; +}).prototype = io.RawSocketEvent.prototype; +dart.addTypeTests(io.RawSocketEvent); +dart.addTypeCaches(io.RawSocketEvent); +dart.setLibraryUri(io.RawSocketEvent, I[105]); +dart.setFieldSignature(io.RawSocketEvent, () => ({ + __proto__: dart.getFields(io.RawSocketEvent.__proto__), + [_value$0]: dart.finalFieldType(core.int) +})); +dart.defineExtensionMethods(io.RawSocketEvent, ['toString']); +dart.defineLazy(io.RawSocketEvent, { + /*io.RawSocketEvent.read*/get read() { + return C[174] || CT.C174; + }, + /*io.RawSocketEvent.write*/get write() { + return C[175] || CT.C175; + }, + /*io.RawSocketEvent.readClosed*/get readClosed() { + return C[176] || CT.C176; + }, + /*io.RawSocketEvent.closed*/get closed() { + return C[177] || CT.C177; + }, + /*io.RawSocketEvent.READ*/get READ() { + return C[174] || CT.C174; + }, + /*io.RawSocketEvent.WRITE*/get WRITE() { + return C[175] || CT.C175; + }, + /*io.RawSocketEvent.READ_CLOSED*/get READ_CLOSED() { + return C[176] || CT.C176; + }, + /*io.RawSocketEvent.CLOSED*/get CLOSED() { + return C[177] || CT.C177; + } +}, false); +io._RawSecureSocket = class _RawSecureSocket extends async.Stream$(io.RawSocketEvent) { + static _isBufferEncrypted(identifier) { + if (identifier == null) dart.nullFailed(I[124], 414, 38, "identifier"); + return dart.notNull(identifier) >= 2; + } + get [_socketSubscription]() { + let t206; + return dart.test(this[___RawSecureSocket__socketSubscription_isSet]) ? (t206 = this[___RawSecureSocket__socketSubscription], t206) : dart.throw(new _internal.LateError.fieldNI("_socketSubscription")); + } + set [_socketSubscription](t206) { + if (t206 == null) dart.nullFailed(I[124], 421, 49, "null"); + if (dart.test(this[___RawSecureSocket__socketSubscription_isSet])) + dart.throw(new _internal.LateError.fieldAI("_socketSubscription")); + else { + this[___RawSecureSocket__socketSubscription_isSet] = true; + this[___RawSecureSocket__socketSubscription] = t206; + } + } + static connect(host, requestedPort, isServer, socket, opts) { + let t207; + if (requestedPort == null) dart.nullFailed(I[124], 452, 11, "requestedPort"); + if (isServer == null) dart.nullFailed(I[124], 453, 12, "isServer"); + if (socket == null) dart.nullFailed(I[124], 454, 17, "socket"); + let context = opts && 'context' in opts ? opts.context : null; + let subscription = opts && 'subscription' in opts ? opts.subscription : null; + let bufferedData = opts && 'bufferedData' in opts ? opts.bufferedData : null; + let requestClientCertificate = opts && 'requestClientCertificate' in opts ? opts.requestClientCertificate : false; + if (requestClientCertificate == null) dart.nullFailed(I[124], 458, 12, "requestClientCertificate"); + let requireClientCertificate = opts && 'requireClientCertificate' in opts ? opts.requireClientCertificate : false; + if (requireClientCertificate == null) dart.nullFailed(I[124], 459, 12, "requireClientCertificate"); + let onBadCertificate = opts && 'onBadCertificate' in opts ? opts.onBadCertificate : null; + let supportedProtocols = opts && 'supportedProtocols' in opts ? opts.supportedProtocols : null; + io._RawSecureSocket._verifyFields(host, requestedPort, requestClientCertificate, requireClientCertificate); + if (io.InternetAddress.is(host)) host = host.host; + let address = socket.address; + if (host != null) { + address = io.InternetAddress._cloneWithNewHost(address, core.String.as(host)); + } + return new io._RawSecureSocket.new(address, requestedPort, isServer, (t207 = context, t207 == null ? io.SecurityContext.defaultContext : t207), socket, subscription, bufferedData, requestClientCertificate, requireClientCertificate, onBadCertificate, supportedProtocols)[_handshakeComplete].future; + } + listen(onData, opts) { + let onError = opts && 'onError' in opts ? opts.onError : null; + let onDone = opts && 'onDone' in opts ? opts.onDone : null; + let cancelOnError = opts && 'cancelOnError' in opts ? opts.cancelOnError : null; + this[_sendWriteEvent](); + return this[_controller].stream.listen(onData, {onError: onError, onDone: onDone, cancelOnError: cancelOnError}); + } + static _verifyFields(host, requestedPort, requestClientCertificate, requireClientCertificate) { + if (requestedPort == null) dart.nullFailed(I[124], 558, 39, "requestedPort"); + if (requestClientCertificate == null) dart.nullFailed(I[124], 559, 12, "requestClientCertificate"); + if (requireClientCertificate == null) dart.nullFailed(I[124], 559, 43, "requireClientCertificate"); + if (!(typeof host == 'string') && !io.InternetAddress.is(host)) { + dart.throw(new core.ArgumentError.new("host is not a String or an InternetAddress")); + } + core.ArgumentError.checkNotNull(core.int, requestedPort, "requestedPort"); + if (dart.notNull(requestedPort) < 0 || dart.notNull(requestedPort) > 65535) { + dart.throw(new core.ArgumentError.new("requestedPort is not in the range 0..65535")); + } + core.ArgumentError.checkNotNull(core.bool, requestClientCertificate, "requestClientCertificate"); + core.ArgumentError.checkNotNull(core.bool, requireClientCertificate, "requireClientCertificate"); + } + get port() { + return this[_socket$].port; + } + get remoteAddress() { + return this[_socket$].remoteAddress; + } + get remotePort() { + return this[_socket$].remotePort; + } + set [_owner](owner) { + dart.dput(this[_socket$], _owner, owner); + } + available() { + return this[_status] !== 202 ? 0 : dart.nullCheck(dart.nullCheck(this[_secureFilter]).buffers)[$_get](0).length; + } + close() { + this.shutdown(io.SocketDirection.both); + return this[_closeCompleter].future; + } + [_completeCloseCompleter](dummy = null) { + if (!dart.test(this[_closeCompleter].isCompleted)) this[_closeCompleter].complete(this); + } + [_close$]() { + this[_closedWrite] = true; + this[_closedRead] = true; + this[_socket$].close().then(dart.void, dart.bind(this, _completeCloseCompleter)); + this[_socketClosedWrite] = true; + this[_socketClosedRead] = true; + if (!dart.test(this[_filterActive]) && this[_secureFilter] != null) { + dart.nullCheck(this[_secureFilter]).destroy(); + this[_secureFilter] = null; + } + if (this[_socketSubscription] != null) { + this[_socketSubscription].cancel(); + } + this[_controller].close(); + this[_status] = 203; + } + shutdown(direction) { + if (direction == null) dart.nullFailed(I[124], 617, 33, "direction"); + if (dart.equals(direction, io.SocketDirection.send) || dart.equals(direction, io.SocketDirection.both)) { + this[_closedWrite] = true; + if (dart.test(this[_filterStatus].writeEmpty)) { + this[_socket$].shutdown(io.SocketDirection.send); + this[_socketClosedWrite] = true; + if (dart.test(this[_closedRead])) { + this[_close$](); + } + } + } + if (dart.equals(direction, io.SocketDirection.receive) || dart.equals(direction, io.SocketDirection.both)) { + this[_closedRead] = true; + this[_socketClosedRead] = true; + this[_socket$].shutdown(io.SocketDirection.receive); + if (dart.test(this[_socketClosedWrite])) { + this[_close$](); + } + } + } + get writeEventsEnabled() { + return this[_writeEventsEnabled]; + } + set writeEventsEnabled(value) { + if (value == null) dart.nullFailed(I[124], 642, 36, "value"); + this[_writeEventsEnabled] = value; + if (dart.test(value)) { + async.Timer.run(dart.fn(() => this[_sendWriteEvent](), T$.VoidTovoid())); + } + } + get readEventsEnabled() { + return this[_readEventsEnabled]; + } + set readEventsEnabled(value) { + if (value == null) dart.nullFailed(I[124], 651, 35, "value"); + this[_readEventsEnabled] = value; + this[_scheduleReadEvent](); + } + read(length = null) { + if (length != null && dart.notNull(length) < 0) { + dart.throw(new core.ArgumentError.new("Invalid length parameter in SecureSocket.read (length: " + dart.str(length) + ")")); + } + if (dart.test(this[_closedRead])) { + dart.throw(new io.SocketException.new("Reading from a closed socket")); + } + if (this[_status] !== 202) { + return null; + } + let result = dart.nullCheck(dart.nullCheck(this[_secureFilter]).buffers)[$_get](0).read(length); + this[_scheduleFilter](); + return result; + } + static _fixOffset(offset) { + let t207; + t207 = offset; + return t207 == null ? 0 : t207; + } + write(data, offset = 0, bytes = null) { + if (data == null) dart.nullFailed(I[124], 675, 23, "data"); + if (offset == null) dart.nullFailed(I[124], 675, 34, "offset"); + if (bytes != null && dart.notNull(bytes) < 0) { + dart.throw(new core.ArgumentError.new("Invalid bytes parameter in SecureSocket.read (bytes: " + dart.str(bytes) + ")")); + } + offset = io._RawSecureSocket._fixOffset(offset); + if (dart.notNull(offset) < 0) { + dart.throw(new core.ArgumentError.new("Invalid offset parameter in SecureSocket.read (offset: " + dart.str(offset) + ")")); + } + if (dart.test(this[_closedWrite])) { + this[_controller].addError(new io.SocketException.new("Writing to a closed socket")); + return 0; + } + if (this[_status] !== 202) return 0; + bytes == null ? bytes = dart.notNull(data[$length]) - dart.notNull(offset) : null; + let written = dart.nullCheck(dart.nullCheck(this[_secureFilter]).buffers)[$_get](1).write(data, offset, bytes); + if (dart.notNull(written) > 0) { + this[_filterStatus].writeEmpty = false; + } + this[_scheduleFilter](); + return written; + } + get peerCertificate() { + return dart.nullCheck(this[_secureFilter]).peerCertificate; + } + get selectedProtocol() { + return this[_selectedProtocol]; + } + [_onBadCertificateWrapper](certificate) { + if (certificate == null) dart.nullFailed(I[124], 706, 49, "certificate"); + if (this.onBadCertificate == null) return false; + return dart.nullCheck(this.onBadCertificate)(certificate); + } + setOption(option, enabled) { + if (option == null) dart.nullFailed(I[124], 711, 31, "option"); + if (enabled == null) dart.nullFailed(I[124], 711, 44, "enabled"); + return this[_socket$].setOption(option, enabled); + } + getRawOption(option) { + if (option == null) dart.nullFailed(I[124], 715, 42, "option"); + return this[_socket$].getRawOption(option); + } + setRawOption(option) { + if (option == null) dart.nullFailed(I[124], 719, 37, "option"); + this[_socket$].setRawOption(option); + } + [_eventDispatcher](event) { + if (event == null) dart.nullFailed(I[124], 723, 40, "event"); + try { + if (dart.equals(event, io.RawSocketEvent.read)) { + this[_readHandler](); + } else if (dart.equals(event, io.RawSocketEvent.write)) { + this[_writeHandler](); + } else if (dart.equals(event, io.RawSocketEvent.readClosed)) { + this[_closeHandler](); + } + } catch (e$) { + let e = dart.getThrown(e$); + let stackTrace = dart.stackTrace(e$); + if (core.Object.is(e)) { + this[_reportError](e, stackTrace); + } else + throw e$; + } + } + [_readHandler]() { + this[_readSocket](); + this[_scheduleFilter](); + } + [_writeHandler]() { + this[_writeSocket](); + this[_scheduleFilter](); + } + [_doneHandler]() { + if (dart.test(this[_filterStatus].readEmpty)) { + this[_close$](); + } + } + [_reportError](e, stackTrace = null) { + if (this[_status] === 203) { + return; + } else if (dart.test(this[_connectPending])) { + this[_handshakeComplete].completeError(core.Object.as(e), stackTrace); + } else { + this[_controller].addError(core.Object.as(e), stackTrace); + } + this[_close$](); + } + [_closeHandler]() { + return async.async(dart.void, (function* _closeHandler() { + if (this[_status] === 202) { + if (dart.test(this[_closedRead])) return; + this[_socketClosedRead] = true; + if (dart.test(this[_filterStatus].readEmpty)) { + this[_closedRead] = true; + this[_controller].add(io.RawSocketEvent.readClosed); + if (dart.test(this[_socketClosedWrite])) { + this[_close$](); + } + } else { + yield this[_scheduleFilter](); + } + } else if (this[_status] === 201) { + this[_socketClosedRead] = true; + if (dart.test(this[_filterStatus].readEmpty)) { + this[_reportError](new io.HandshakeException.new("Connection terminated during handshake"), null); + } else { + yield this[_secureHandshake](); + } + } + }).bind(this)); + } + [_secureHandshake]() { + return async.async(dart.void, (function* _secureHandshake$() { + try { + let needRetryHandshake = (yield dart.nullCheck(this[_secureFilter]).handshake()); + if (dart.test(needRetryHandshake)) { + yield this[_secureHandshake](); + } else { + this[_filterStatus].writeEmpty = false; + this[_readSocket](); + this[_writeSocket](); + yield this[_scheduleFilter](); + } + } catch (e$) { + let e = dart.getThrown(e$); + let stackTrace = dart.stackTrace(e$); + if (core.Object.is(e)) { + this[_reportError](e, stackTrace); + } else + throw e$; + } + }).bind(this)); + } + renegotiate(opts) { + let useSessionCache = opts && 'useSessionCache' in opts ? opts.useSessionCache : true; + if (useSessionCache == null) dart.nullFailed(I[124], 810, 13, "useSessionCache"); + let requestClientCertificate = opts && 'requestClientCertificate' in opts ? opts.requestClientCertificate : false; + if (requestClientCertificate == null) dart.nullFailed(I[124], 811, 12, "requestClientCertificate"); + let requireClientCertificate = opts && 'requireClientCertificate' in opts ? opts.requireClientCertificate : false; + if (requireClientCertificate == null) dart.nullFailed(I[124], 812, 12, "requireClientCertificate"); + if (this[_status] !== 202) { + dart.throw(new io.HandshakeException.new("Called renegotiate on a non-connected socket")); + } + dart.nullCheck(this[_secureFilter]).renegotiate(useSessionCache, requestClientCertificate, requireClientCertificate); + this[_status] = 201; + this[_filterStatus].writeEmpty = false; + this[_scheduleFilter](); + } + [_secureHandshakeCompleteHandler]() { + this[_status] = 202; + if (dart.test(this[_connectPending])) { + this[_connectPending] = false; + try { + this[_selectedProtocol] = dart.nullCheck(this[_secureFilter]).selectedProtocol(); + async.Timer.run(dart.fn(() => this[_handshakeComplete].complete(this), T$.VoidTovoid())); + } catch (e) { + let error = dart.getThrown(e); + let stack = dart.stackTrace(e); + if (core.Object.is(error)) { + this[_handshakeComplete].completeError(error, stack); + } else + throw e; + } + } + } + [_onPauseStateChange]() { + if (dart.test(this[_controller].isPaused)) { + this[_pauseCount] = dart.notNull(this[_pauseCount]) + 1; + } else { + this[_pauseCount] = dart.notNull(this[_pauseCount]) - 1; + if (this[_pauseCount] === 0) { + this[_scheduleReadEvent](); + this[_sendWriteEvent](); + } + } + if (!dart.test(this[_socketClosedRead]) || !dart.test(this[_socketClosedWrite])) { + if (dart.test(this[_controller].isPaused)) { + this[_socketSubscription].pause(); + } else { + this[_socketSubscription].resume(); + } + } + } + [_onSubscriptionStateChange]() { + if (dart.test(this[_controller].hasListener)) { + } + } + [_scheduleFilter]() { + this[_filterPending] = true; + return this[_tryFilter](); + } + [_tryFilter]() { + return async.async(dart.void, (function* _tryFilter() { + try { + while (true) { + if (this[_status] === 203) { + return; + } + if (!dart.test(this[_filterPending]) || dart.test(this[_filterActive])) { + return; + } + this[_filterActive] = true; + this[_filterPending] = false; + this[_filterStatus] = (yield this[_pushAllFilterStages]()); + this[_filterActive] = false; + if (this[_status] === 203) { + dart.nullCheck(this[_secureFilter]).destroy(); + this[_secureFilter] = null; + return; + } + this[_socket$].readEventsEnabled = true; + if (dart.test(this[_filterStatus].writeEmpty) && dart.test(this[_closedWrite]) && !dart.test(this[_socketClosedWrite])) { + this.shutdown(io.SocketDirection.send); + if (this[_status] === 203) { + return; + } + } + if (dart.test(this[_filterStatus].readEmpty) && dart.test(this[_socketClosedRead]) && !dart.test(this[_closedRead])) { + if (this[_status] === 201) { + dart.nullCheck(this[_secureFilter]).handshake(); + if (this[_status] === 201) { + dart.throw(new io.HandshakeException.new("Connection terminated during handshake")); + } + } + this[_closeHandler](); + } + if (this[_status] === 203) { + return; + } + if (dart.test(this[_filterStatus].progress)) { + this[_filterPending] = true; + if (dart.test(this[_filterStatus].writeEncryptedNoLongerEmpty)) { + this[_writeSocket](); + } + if (dart.test(this[_filterStatus].writePlaintextNoLongerFull)) { + this[_sendWriteEvent](); + } + if (dart.test(this[_filterStatus].readEncryptedNoLongerFull)) { + this[_readSocket](); + } + if (dart.test(this[_filterStatus].readPlaintextNoLongerEmpty)) { + this[_scheduleReadEvent](); + } + if (this[_status] === 201) { + yield this[_secureHandshake](); + } + } + } + } catch (e$) { + let e = dart.getThrown(e$); + let st = dart.stackTrace(e$); + if (core.Object.is(e)) { + this[_reportError](e, st); + } else + throw e$; + } + }).bind(this)); + } + [_readSocketOrBufferedData](bytes) { + if (bytes == null) dart.nullFailed(I[124], 933, 44, "bytes"); + let bufferedData = this[_bufferedData$]; + if (bufferedData != null) { + if (dart.notNull(bytes) > dart.notNull(bufferedData[$length]) - dart.notNull(this[_bufferedDataIndex])) { + bytes = dart.notNull(bufferedData[$length]) - dart.notNull(this[_bufferedDataIndex]); + } + let result = bufferedData[$sublist](this[_bufferedDataIndex], dart.notNull(this[_bufferedDataIndex]) + dart.notNull(bytes)); + this[_bufferedDataIndex] = dart.notNull(this[_bufferedDataIndex]) + dart.notNull(bytes); + if (bufferedData[$length] == this[_bufferedDataIndex]) { + this[_bufferedData$] = null; + } + return result; + } else if (!dart.test(this[_socketClosedRead])) { + return this[_socket$].read(bytes); + } else { + return null; + } + } + [_readSocket]() { + if (this[_status] === 203) return; + let buffer = dart.nullCheck(dart.nullCheck(this[_secureFilter]).buffers)[$_get](2); + if (dart.notNull(buffer.writeFromSource(dart.bind(this, _readSocketOrBufferedData))) > 0) { + this[_filterStatus].readEmpty = false; + } else { + this[_socket$].readEventsEnabled = false; + } + } + [_writeSocket]() { + if (dart.test(this[_socketClosedWrite])) return; + let buffer = dart.nullCheck(dart.nullCheck(this[_secureFilter]).buffers)[$_get](3); + if (dart.test(buffer.readToSocket(this[_socket$]))) { + this[_socket$].writeEventsEnabled = true; + } + } + [_scheduleReadEvent]() { + if (!dart.test(this[_pendingReadEvent]) && dart.test(this[_readEventsEnabled]) && this[_pauseCount] === 0 && this[_secureFilter] != null && !dart.test(dart.nullCheck(dart.nullCheck(this[_secureFilter]).buffers)[$_get](0).isEmpty)) { + this[_pendingReadEvent] = true; + async.Timer.run(dart.bind(this, _sendReadEvent)); + } + } + [_sendReadEvent]() { + this[_pendingReadEvent] = false; + if (this[_status] !== 203 && dart.test(this[_readEventsEnabled]) && this[_pauseCount] === 0 && this[_secureFilter] != null && !dart.test(dart.nullCheck(dart.nullCheck(this[_secureFilter]).buffers)[$_get](0).isEmpty)) { + this[_controller].add(io.RawSocketEvent.read); + this[_scheduleReadEvent](); + } + } + [_sendWriteEvent]() { + if (!dart.test(this[_closedWrite]) && dart.test(this[_writeEventsEnabled]) && this[_pauseCount] === 0 && this[_secureFilter] != null && dart.notNull(dart.nullCheck(dart.nullCheck(this[_secureFilter]).buffers)[$_get](1).free) > 0) { + this[_writeEventsEnabled] = false; + this[_controller].add(io.RawSocketEvent.write); + } + } + [_pushAllFilterStages]() { + return async.async(io._FilterStatus, (function* _pushAllFilterStages() { + let wasInHandshake = this[_status] !== 202; + let args = core.List.filled(2 + 4 * 2, null); + args[$_set](0, dart.nullCheck(this[_secureFilter])[_pointer]()); + args[$_set](1, wasInHandshake); + let bufs = dart.nullCheck(dart.nullCheck(this[_secureFilter]).buffers); + for (let i = 0; i < 4; i = i + 1) { + args[$_set](2 * i + 2, bufs[$_get](i).start); + args[$_set](2 * i + 3, bufs[$_get](i).end); + } + let response = (yield io._IOService._dispatch(42, args)); + if (dart.equals(dart.dload(response, 'length'), 2)) { + if (wasInHandshake) { + this[_reportError](new io.HandshakeException.new(dart.str(dart.dsend(response, '_get', [1])) + " error " + dart.str(dart.dsend(response, '_get', [0]))), null); + } else { + this[_reportError](new io.TlsException.new(dart.str(dart.dsend(response, '_get', [1])) + " error " + dart.str(dart.dsend(response, '_get', [0]))), null); + } + } + function start(index) { + if (index == null) dart.nullFailed(I[124], 1033, 19, "index"); + return core.int.as(dart.dsend(response, '_get', [2 * dart.notNull(index)])); + } + dart.fn(start, T$0.intToint()); + function end(index) { + if (index == null) dart.nullFailed(I[124], 1034, 17, "index"); + return core.int.as(dart.dsend(response, '_get', [2 * dart.notNull(index) + 1])); + } + dart.fn(end, T$0.intToint()); + let status = new io._FilterStatus.new(); + status.writeEmpty = dart.test(bufs[$_get](1).isEmpty) && start(3) == end(3); + if (wasInHandshake) status.writeEmpty = false; + status.readEmpty = dart.test(bufs[$_get](2).isEmpty) && start(0) == end(0); + let buffer = bufs[$_get](1); + let new_start = start(1); + if (new_start != buffer.start) { + status.progress = true; + if (buffer.free === 0) { + status.writePlaintextNoLongerFull = true; + } + buffer.start = new_start; + } + buffer = bufs[$_get](2); + new_start = start(2); + if (new_start != buffer.start) { + status.progress = true; + if (buffer.free === 0) { + status.readEncryptedNoLongerFull = true; + } + buffer.start = new_start; + } + buffer = bufs[$_get](3); + let new_end = end(3); + if (new_end != buffer.end) { + status.progress = true; + if (buffer.length === 0) { + status.writeEncryptedNoLongerEmpty = true; + } + buffer.end = new_end; + } + buffer = bufs[$_get](0); + new_end = end(0); + if (new_end != buffer.end) { + status.progress = true; + if (buffer.length === 0) { + status.readPlaintextNoLongerEmpty = true; + } + buffer.end = new_end; + } + return status; + }).bind(this)); + } +}; +(io._RawSecureSocket.new = function(address, requestedPort, isServer, context, _socket, subscription, _bufferedData, requestClientCertificate, requireClientCertificate, onBadCertificate, supportedProtocols) { + let t205, t205$; + if (address == null) dart.nullFailed(I[124], 486, 12, "address"); + if (requestedPort == null) dart.nullFailed(I[124], 487, 11, "requestedPort"); + if (isServer == null) dart.nullFailed(I[124], 488, 12, "isServer"); + if (context == null) dart.nullFailed(I[124], 489, 12, "context"); + if (_socket == null) dart.nullFailed(I[124], 490, 12, "_socket"); + if (requestClientCertificate == null) dart.nullFailed(I[124], 493, 12, "requestClientCertificate"); + if (requireClientCertificate == null) dart.nullFailed(I[124], 494, 12, "requireClientCertificate"); + this[_handshakeComplete] = T$0.CompleterOf_RawSecureSocket().new(); + this[_controller] = T$0.StreamControllerOfRawSocketEvent().new({sync: true}); + this[___RawSecureSocket__socketSubscription] = null; + this[___RawSecureSocket__socketSubscription_isSet] = false; + this[_bufferedDataIndex] = 0; + this[_status] = 201; + this[_writeEventsEnabled] = true; + this[_readEventsEnabled] = true; + this[_pauseCount] = 0; + this[_pendingReadEvent] = false; + this[_socketClosedRead] = false; + this[_socketClosedWrite] = false; + this[_closedRead] = false; + this[_closedWrite] = false; + this[_closeCompleter] = T$0.CompleterOfRawSecureSocket().new(); + this[_filterStatus] = new io._FilterStatus.new(); + this[_connectPending] = true; + this[_filterPending] = false; + this[_filterActive] = false; + this[_secureFilter] = io._SecureFilter.__(); + this[_selectedProtocol] = null; + this.address = address; + this.isServer = isServer; + this.context = context; + this[_socket$] = _socket; + this[_bufferedData$] = _bufferedData; + this.requestClientCertificate = requestClientCertificate; + this.requireClientCertificate = requireClientCertificate; + this.onBadCertificate = onBadCertificate; + io._RawSecureSocket.__proto__.new.call(this); + t205 = this[_controller]; + (() => { + t205.onListen = dart.bind(this, _onSubscriptionStateChange); + t205.onPause = dart.bind(this, _onPauseStateChange); + t205.onResume = dart.bind(this, _onPauseStateChange); + t205.onCancel = dart.bind(this, _onSubscriptionStateChange); + return t205; + })(); + let secureFilter = dart.nullCheck(this[_secureFilter]); + secureFilter.init(); + secureFilter.registerHandshakeCompleteCallback(dart.bind(this, _secureHandshakeCompleteHandler)); + if (this.onBadCertificate != null) { + secureFilter.registerBadCertificateCallback(dart.bind(this, _onBadCertificateWrapper)); + } + this[_socket$].readEventsEnabled = true; + this[_socket$].writeEventsEnabled = false; + if (subscription == null) { + this[_socketSubscription] = this[_socket$].listen(dart.bind(this, _eventDispatcher), {onError: dart.bind(this, _reportError), onDone: dart.bind(this, _doneHandler)}); + } else { + this[_socketSubscription] = subscription; + if (dart.test(this[_socketSubscription].isPaused)) { + this[_socket$].close(); + dart.throw(new core.ArgumentError.new("Subscription passed to TLS upgrade is paused")); + } + let s = this[_socket$]; + if (dart.dtest(dart.dload(dart.dload(s, _socket$), 'closedReadEventSent'))) { + this[_eventDispatcher](io.RawSocketEvent.readClosed); + } + t205$ = this[_socketSubscription]; + (() => { + t205$.onData(dart.bind(this, _eventDispatcher)); + t205$.onError(dart.bind(this, _reportError)); + t205$.onDone(dart.bind(this, _doneHandler)); + return t205$; + })(); + } + try { + let encodedProtocols = io.SecurityContext._protocolsToLengthEncoding(supportedProtocols); + secureFilter.connect(this.address.host, this.context, this.isServer, dart.test(this.requestClientCertificate) || dart.test(this.requireClientCertificate), this.requireClientCertificate, encodedProtocols); + this[_secureHandshake](); + } catch (e$) { + let e = dart.getThrown(e$); + let s = dart.stackTrace(e$); + if (core.Object.is(e)) { + this[_reportError](e, s); + } else + throw e$; + } +}).prototype = io._RawSecureSocket.prototype; +dart.addTypeTests(io._RawSecureSocket); +dart.addTypeCaches(io._RawSecureSocket); +io._RawSecureSocket[dart.implements] = () => [io.RawSecureSocket]; +dart.setMethodSignature(io._RawSecureSocket, () => ({ + __proto__: dart.getMethods(io._RawSecureSocket.__proto__), + listen: dart.fnType(async.StreamSubscription$(io.RawSocketEvent), [dart.nullable(dart.fnType(dart.void, [io.RawSocketEvent]))], {cancelOnError: dart.nullable(core.bool), onDone: dart.nullable(dart.fnType(dart.void, [])), onError: dart.nullable(core.Function)}, {}), + available: dart.fnType(core.int, []), + close: dart.fnType(async.Future$(io.RawSecureSocket), []), + [_completeCloseCompleter]: dart.fnType(dart.void, [], [dart.nullable(io.RawSocket)]), + [_close$]: dart.fnType(dart.void, []), + shutdown: dart.fnType(dart.void, [io.SocketDirection]), + read: dart.fnType(dart.nullable(typed_data.Uint8List), [], [dart.nullable(core.int)]), + write: dart.fnType(core.int, [core.List$(core.int)], [core.int, dart.nullable(core.int)]), + [_onBadCertificateWrapper]: dart.fnType(core.bool, [io.X509Certificate]), + setOption: dart.fnType(core.bool, [io.SocketOption, core.bool]), + getRawOption: dart.fnType(typed_data.Uint8List, [io.RawSocketOption]), + setRawOption: dart.fnType(dart.void, [io.RawSocketOption]), + [_eventDispatcher]: dart.fnType(dart.void, [io.RawSocketEvent]), + [_readHandler]: dart.fnType(dart.void, []), + [_writeHandler]: dart.fnType(dart.void, []), + [_doneHandler]: dart.fnType(dart.void, []), + [_reportError]: dart.fnType(dart.void, [dart.dynamic], [dart.nullable(core.StackTrace)]), + [_closeHandler]: dart.fnType(dart.void, []), + [_secureHandshake]: dart.fnType(async.Future$(dart.void), []), + renegotiate: dart.fnType(dart.void, [], {requestClientCertificate: core.bool, requireClientCertificate: core.bool, useSessionCache: core.bool}, {}), + [_secureHandshakeCompleteHandler]: dart.fnType(dart.void, []), + [_onPauseStateChange]: dart.fnType(dart.void, []), + [_onSubscriptionStateChange]: dart.fnType(dart.void, []), + [_scheduleFilter]: dart.fnType(async.Future$(dart.void), []), + [_tryFilter]: dart.fnType(async.Future$(dart.void), []), + [_readSocketOrBufferedData]: dart.fnType(dart.nullable(core.List$(core.int)), [core.int]), + [_readSocket]: dart.fnType(dart.void, []), + [_writeSocket]: dart.fnType(dart.void, []), + [_scheduleReadEvent]: dart.fnType(dart.dynamic, []), + [_sendReadEvent]: dart.fnType(dart.dynamic, []), + [_sendWriteEvent]: dart.fnType(dart.dynamic, []), + [_pushAllFilterStages]: dart.fnType(async.Future$(io._FilterStatus), []) +})); +dart.setGetterSignature(io._RawSecureSocket, () => ({ + __proto__: dart.getGetters(io._RawSecureSocket.__proto__), + [_socketSubscription]: async.StreamSubscription$(io.RawSocketEvent), + port: core.int, + remoteAddress: io.InternetAddress, + remotePort: core.int, + writeEventsEnabled: core.bool, + readEventsEnabled: core.bool, + peerCertificate: dart.nullable(io.X509Certificate), + selectedProtocol: dart.nullable(core.String) +})); +dart.setSetterSignature(io._RawSecureSocket, () => ({ + __proto__: dart.getSetters(io._RawSecureSocket.__proto__), + [_socketSubscription]: async.StreamSubscription$(io.RawSocketEvent), + [_owner]: dart.dynamic, + writeEventsEnabled: core.bool, + readEventsEnabled: core.bool +})); +dart.setLibraryUri(io._RawSecureSocket, I[105]); +dart.setFieldSignature(io._RawSecureSocket, () => ({ + __proto__: dart.getFields(io._RawSecureSocket.__proto__), + [_socket$]: dart.finalFieldType(io.RawSocket), + [_handshakeComplete]: dart.finalFieldType(async.Completer$(io._RawSecureSocket)), + [_controller]: dart.finalFieldType(async.StreamController$(io.RawSocketEvent)), + [___RawSecureSocket__socketSubscription]: dart.fieldType(dart.nullable(async.StreamSubscription$(io.RawSocketEvent))), + [___RawSecureSocket__socketSubscription_isSet]: dart.fieldType(core.bool), + [_bufferedData$]: dart.fieldType(dart.nullable(core.List$(core.int))), + [_bufferedDataIndex]: dart.fieldType(core.int), + address: dart.finalFieldType(io.InternetAddress), + isServer: dart.finalFieldType(core.bool), + context: dart.finalFieldType(io.SecurityContext), + requestClientCertificate: dart.finalFieldType(core.bool), + requireClientCertificate: dart.finalFieldType(core.bool), + onBadCertificate: dart.finalFieldType(dart.nullable(dart.fnType(core.bool, [io.X509Certificate]))), + [_status]: dart.fieldType(core.int), + [_writeEventsEnabled]: dart.fieldType(core.bool), + [_readEventsEnabled]: dart.fieldType(core.bool), + [_pauseCount]: dart.fieldType(core.int), + [_pendingReadEvent]: dart.fieldType(core.bool), + [_socketClosedRead]: dart.fieldType(core.bool), + [_socketClosedWrite]: dart.fieldType(core.bool), + [_closedRead]: dart.fieldType(core.bool), + [_closedWrite]: dart.fieldType(core.bool), + [_closeCompleter]: dart.fieldType(async.Completer$(io.RawSecureSocket)), + [_filterStatus]: dart.fieldType(io._FilterStatus), + [_connectPending]: dart.fieldType(core.bool), + [_filterPending]: dart.fieldType(core.bool), + [_filterActive]: dart.fieldType(core.bool), + [_secureFilter]: dart.fieldType(dart.nullable(io._SecureFilter)), + [_selectedProtocol]: dart.fieldType(dart.nullable(core.String)) +})); +dart.defineLazy(io._RawSecureSocket, { + /*io._RawSecureSocket.handshakeStatus*/get handshakeStatus() { + return 201; + }, + /*io._RawSecureSocket.connectedStatus*/get connectedStatus() { + return 202; + }, + /*io._RawSecureSocket.closedStatus*/get closedStatus() { + return 203; + }, + /*io._RawSecureSocket.readPlaintextId*/get readPlaintextId() { + return 0; + }, + /*io._RawSecureSocket.writePlaintextId*/get writePlaintextId() { + return 1; + }, + /*io._RawSecureSocket.readEncryptedId*/get readEncryptedId() { + return 2; + }, + /*io._RawSecureSocket.writeEncryptedId*/get writeEncryptedId() { + return 3; + }, + /*io._RawSecureSocket.bufferCount*/get bufferCount() { + return 4; + } +}, false); +io._ExternalBuffer = class _ExternalBuffer extends core.Object { + advanceStart(bytes) { + if (bytes == null) dart.nullFailed(I[124], 1111, 25, "bytes"); + if (!(dart.notNull(this.start) > dart.notNull(this.end) || dart.notNull(this.start) + dart.notNull(bytes) <= dart.notNull(this.end))) dart.assertFailed(null, I[124], 1112, 12, "start > end || start + bytes <= end"); + this.start = dart.notNull(this.start) + dart.notNull(bytes); + if (dart.notNull(this.start) >= dart.notNull(this.size)) { + this.start = dart.notNull(this.start) - dart.notNull(this.size); + if (!(dart.notNull(this.start) <= dart.notNull(this.end))) dart.assertFailed(null, I[124], 1116, 14, "start <= end"); + if (!(dart.notNull(this.start) < dart.notNull(this.size))) dart.assertFailed(null, I[124], 1117, 14, "start < size"); + } + } + advanceEnd(bytes) { + if (bytes == null) dart.nullFailed(I[124], 1121, 23, "bytes"); + if (!(dart.notNull(this.start) <= dart.notNull(this.end) || dart.notNull(this.start) > dart.notNull(this.end) + dart.notNull(bytes))) dart.assertFailed(null, I[124], 1122, 12, "start <= end || start > end + bytes"); + this.end = dart.notNull(this.end) + dart.notNull(bytes); + if (dart.notNull(this.end) >= dart.notNull(this.size)) { + this.end = dart.notNull(this.end) - dart.notNull(this.size); + if (!(dart.notNull(this.end) < dart.notNull(this.start))) dart.assertFailed(null, I[124], 1126, 14, "end < start"); + if (!(dart.notNull(this.end) < dart.notNull(this.size))) dart.assertFailed(null, I[124], 1127, 14, "end < size"); + } + } + get isEmpty() { + return this.end == this.start; + } + get length() { + return dart.notNull(this.start) > dart.notNull(this.end) ? dart.notNull(this.size) + dart.notNull(this.end) - dart.notNull(this.start) : dart.notNull(this.end) - dart.notNull(this.start); + } + get linearLength() { + return dart.notNull(this.start) > dart.notNull(this.end) ? dart.notNull(this.size) - dart.notNull(this.start) : dart.notNull(this.end) - dart.notNull(this.start); + } + get free() { + return dart.notNull(this.start) > dart.notNull(this.end) ? dart.notNull(this.start) - dart.notNull(this.end) - 1 : dart.notNull(this.size) + dart.notNull(this.start) - dart.notNull(this.end) - 1; + } + get linearFree() { + if (dart.notNull(this.start) > dart.notNull(this.end)) return dart.notNull(this.start) - dart.notNull(this.end) - 1; + if (this.start === 0) return dart.notNull(this.size) - dart.notNull(this.end) - 1; + return dart.notNull(this.size) - dart.notNull(this.end); + } + read(bytes) { + if (bytes == null) { + bytes = this.length; + } else { + bytes = math.min(core.int, bytes, this.length); + } + if (bytes === 0) return null; + let result = _native_typed_data.NativeUint8List.new(bytes); + let bytesRead = 0; + while (bytesRead < dart.notNull(bytes)) { + let toRead = math.min(core.int, dart.notNull(bytes) - bytesRead, this.linearLength); + result[$setRange](bytesRead, bytesRead + toRead, dart.nullCheck(this.data), this.start); + this.advanceStart(toRead); + bytesRead = bytesRead + toRead; + } + return result; + } + write(inputData, offset, bytes) { + if (inputData == null) dart.nullFailed(I[124], 1164, 23, "inputData"); + if (offset == null) dart.nullFailed(I[124], 1164, 38, "offset"); + if (bytes == null) dart.nullFailed(I[124], 1164, 50, "bytes"); + if (dart.notNull(bytes) > dart.notNull(this.free)) { + bytes = this.free; + } + let written = 0; + let toWrite = math.min(core.int, bytes, this.linearFree); + while (toWrite > 0) { + dart.nullCheck(this.data)[$setRange](this.end, dart.notNull(this.end) + toWrite, inputData, offset); + this.advanceEnd(toWrite); + offset = dart.notNull(offset) + toWrite; + written = written + toWrite; + toWrite = math.min(core.int, dart.notNull(bytes) - written, this.linearFree); + } + return written; + } + writeFromSource(getData) { + if (getData == null) dart.nullFailed(I[124], 1181, 34, "getData"); + let written = 0; + let toWrite = this.linearFree; + while (dart.notNull(toWrite) > 0) { + let inputData = getData(toWrite); + if (inputData == null || inputData[$length] === 0) break; + let len = inputData[$length]; + dart.nullCheck(this.data)[$setRange](this.end, dart.notNull(this.end) + dart.notNull(len), inputData); + this.advanceEnd(len); + written = written + dart.notNull(len); + toWrite = this.linearFree; + } + return written; + } + readToSocket(socket) { + if (socket == null) dart.nullFailed(I[124], 1198, 31, "socket"); + while (true) { + let toWrite = this.linearLength; + if (toWrite === 0) return false; + let bytes = socket.write(dart.nullCheck(this.data), this.start, toWrite); + this.advanceStart(bytes); + if (dart.notNull(bytes) < dart.notNull(toWrite)) { + return true; + } + } + } +}; +(io._ExternalBuffer.new = function(size) { + if (size == null) dart.nullFailed(I[124], 1106, 23, "size"); + this.data = null; + this.size = size; + this.start = (dart.notNull(size) / 2)[$truncate](); + this.end = (dart.notNull(size) / 2)[$truncate](); + ; +}).prototype = io._ExternalBuffer.prototype; +dart.addTypeTests(io._ExternalBuffer); +dart.addTypeCaches(io._ExternalBuffer); +dart.setMethodSignature(io._ExternalBuffer, () => ({ + __proto__: dart.getMethods(io._ExternalBuffer.__proto__), + advanceStart: dart.fnType(dart.void, [core.int]), + advanceEnd: dart.fnType(dart.void, [core.int]), + read: dart.fnType(dart.nullable(typed_data.Uint8List), [dart.nullable(core.int)]), + write: dart.fnType(core.int, [core.List$(core.int), core.int, core.int]), + writeFromSource: dart.fnType(core.int, [dart.fnType(dart.nullable(core.List$(core.int)), [core.int])]), + readToSocket: dart.fnType(core.bool, [io.RawSocket]) +})); +dart.setGetterSignature(io._ExternalBuffer, () => ({ + __proto__: dart.getGetters(io._ExternalBuffer.__proto__), + isEmpty: core.bool, + length: core.int, + linearLength: core.int, + free: core.int, + linearFree: core.int +})); +dart.setLibraryUri(io._ExternalBuffer, I[105]); +dart.setFieldSignature(io._ExternalBuffer, () => ({ + __proto__: dart.getFields(io._ExternalBuffer.__proto__), + data: dart.fieldType(dart.nullable(core.List$(core.int))), + start: dart.fieldType(core.int), + end: dart.fieldType(core.int), + size: dart.finalFieldType(core.int) +})); +io._SecureFilter = class _SecureFilter extends core.Object {}; +(io._SecureFilter[dart.mixinNew] = function() { +}).prototype = io._SecureFilter.prototype; +dart.addTypeTests(io._SecureFilter); +dart.addTypeCaches(io._SecureFilter); +dart.setLibraryUri(io._SecureFilter, I[105]); +var type$3 = dart.privateName(io, "TlsException.type"); +var message$6 = dart.privateName(io, "TlsException.message"); +var osError$1 = dart.privateName(io, "TlsException.osError"); +io.TlsException = class TlsException extends core.Object { + get type() { + return this[type$3]; + } + set type(value) { + super.type = value; + } + get message() { + return this[message$6]; + } + set message(value) { + super.message = value; + } + get osError() { + return this[osError$1]; + } + set osError(value) { + super.osError = value; + } + toString() { + let sb = new core.StringBuffer.new(); + sb.write(this.type); + if (this.message[$isNotEmpty]) { + sb.write(": " + dart.str(this.message)); + if (this.osError != null) { + sb.write(" (" + dart.str(this.osError) + ")"); + } + } else if (this.osError != null) { + sb.write(": " + dart.str(this.osError)); + } + return sb.toString(); + } +}; +(io.TlsException.new = function(message = "", osError = null) { + if (message == null) dart.nullFailed(I[124], 1251, 30, "message"); + io.TlsException.__.call(this, "TlsException", message, osError); +}).prototype = io.TlsException.prototype; +(io.TlsException.__ = function(type, message, osError) { + if (type == null) dart.nullFailed(I[124], 1254, 29, "type"); + if (message == null) dart.nullFailed(I[124], 1254, 40, "message"); + this[type$3] = type; + this[message$6] = message; + this[osError$1] = osError; + ; +}).prototype = io.TlsException.prototype; +dart.addTypeTests(io.TlsException); +dart.addTypeCaches(io.TlsException); +io.TlsException[dart.implements] = () => [io.IOException]; +dart.setLibraryUri(io.TlsException, I[105]); +dart.setFieldSignature(io.TlsException, () => ({ + __proto__: dart.getFields(io.TlsException.__proto__), + type: dart.finalFieldType(core.String), + message: dart.finalFieldType(core.String), + osError: dart.finalFieldType(dart.nullable(io.OSError)) +})); +dart.defineExtensionMethods(io.TlsException, ['toString']); +io.HandshakeException = class HandshakeException extends io.TlsException {}; +(io.HandshakeException.new = function(message = "", osError = null) { + if (message == null) dart.nullFailed(I[124], 1276, 36, "message"); + io.HandshakeException.__proto__.__.call(this, "HandshakeException", message, osError); + ; +}).prototype = io.HandshakeException.prototype; +dart.addTypeTests(io.HandshakeException); +dart.addTypeCaches(io.HandshakeException); +dart.setLibraryUri(io.HandshakeException, I[105]); +io.CertificateException = class CertificateException extends io.TlsException {}; +(io.CertificateException.new = function(message = "", osError = null) { + if (message == null) dart.nullFailed(I[124], 1285, 38, "message"); + io.CertificateException.__proto__.__.call(this, "CertificateException", message, osError); + ; +}).prototype = io.CertificateException.prototype; +dart.addTypeTests(io.CertificateException); +dart.addTypeCaches(io.CertificateException); +dart.setLibraryUri(io.CertificateException, I[105]); +io.SecurityContext = class SecurityContext extends core.Object { + static new(opts) { + let withTrustedRoots = opts && 'withTrustedRoots' in opts ? opts.withTrustedRoots : false; + if (withTrustedRoots == null) dart.nullFailed(I[107], 531, 33, "withTrustedRoots"); + dart.throw(new core.UnsupportedError.new("SecurityContext constructor")); + } + static get defaultContext() { + dart.throw(new core.UnsupportedError.new("default SecurityContext getter")); + } + static get alpnSupported() { + dart.throw(new core.UnsupportedError.new("SecurityContext alpnSupported getter")); + } + static _protocolsToLengthEncoding(protocols) { + let t211, t211$; + if (protocols == null || protocols[$length] === 0) { + return _native_typed_data.NativeUint8List.new(0); + } + let protocolsLength = protocols[$length]; + let expectedLength = protocolsLength; + for (let i = 0; i < dart.notNull(protocolsLength); i = i + 1) { + let length = protocols[$_get](i).length; + if (length > 0 && length <= 255) { + expectedLength = dart.notNull(expectedLength) + length; + } else { + dart.throw(new core.ArgumentError.new("Length of protocol must be between 1 and 255 (was: " + dart.str(length) + ").")); + } + } + if (dart.notNull(expectedLength) >= 1 << 13) { + dart.throw(new core.ArgumentError.new("The maximum message length supported is 2^13-1.")); + } + let bytes = _native_typed_data.NativeUint8List.new(expectedLength); + let bytesOffset = 0; + for (let i = 0; i < dart.notNull(protocolsLength); i = i + 1) { + let proto = protocols[$_get](i); + bytes[$_set]((t211 = bytesOffset, bytesOffset = t211 + 1, t211), proto.length); + let bits = 0; + for (let j = 0; j < proto.length; j = j + 1) { + let char = proto[$codeUnitAt](j); + bits = (bits | char) >>> 0; + bytes[$_set]((t211$ = bytesOffset, bytesOffset = t211$ + 1, t211$), char & 255); + } + if (bits > 127) { + return io.SecurityContext._protocolsToLengthEncodingNonAsciiBailout(protocols); + } + } + return bytes; + } + static _protocolsToLengthEncodingNonAsciiBailout(protocols) { + if (protocols == null) dart.nullFailed(I[126], 233, 20, "protocols"); + function addProtocol(outBytes, protocol) { + if (outBytes == null) dart.nullFailed(I[126], 234, 32, "outBytes"); + if (protocol == null) dart.nullFailed(I[126], 234, 49, "protocol"); + let protocolBytes = convert.utf8.encode(protocol); + let len = protocolBytes[$length]; + if (dart.notNull(len) > 255) { + dart.throw(new core.ArgumentError.new("Length of protocol must be between 1 and 255 (was: " + dart.str(len) + ")")); + } + outBytes[$add](len); + outBytes[$addAll](protocolBytes); + } + dart.fn(addProtocol, T$0.ListOfintAndStringTovoid()); + let bytes = T$.JSArrayOfint().of([]); + for (let i = 0; i < dart.notNull(protocols[$length]); i = i + 1) { + addProtocol(bytes, protocols[$_get](i)); + } + if (dart.notNull(bytes[$length]) >= 1 << 13) { + dart.throw(new core.ArgumentError.new("The maximum message length supported is 2^13-1.")); + } + return _native_typed_data.NativeUint8List.fromList(bytes); + } +}; +(io.SecurityContext[dart.mixinNew] = function() { +}).prototype = io.SecurityContext.prototype; +dart.addTypeTests(io.SecurityContext); +dart.addTypeCaches(io.SecurityContext); +dart.setLibraryUri(io.SecurityContext, I[105]); +var __serviceId = dart.privateName(io, "__serviceId"); +var _serviceId = dart.privateName(io, "_serviceId"); +var _serviceTypePath = dart.privateName(io, "_serviceTypePath"); +var _servicePath = dart.privateName(io, "_servicePath"); +var _serviceTypeName = dart.privateName(io, "_serviceTypeName"); +var _serviceType = dart.privateName(io, "_serviceType"); +io._ServiceObject = class _ServiceObject extends core.Object { + get [_serviceId]() { + let t211; + if (this[__serviceId] === 0) this[__serviceId] = (t211 = io._nextServiceId, io._nextServiceId = dart.notNull(t211) + 1, t211); + return this[__serviceId]; + } + get [_servicePath]() { + return dart.str(this[_serviceTypePath]) + "/" + dart.str(this[_serviceId]); + } + [_serviceType](ref) { + if (ref == null) dart.nullFailed(I[127], 25, 28, "ref"); + if (dart.test(ref)) return "@" + dart.str(this[_serviceTypeName]); + return this[_serviceTypeName]; + } +}; +(io._ServiceObject.new = function() { + this[__serviceId] = 0; + ; +}).prototype = io._ServiceObject.prototype; +dart.addTypeTests(io._ServiceObject); +dart.addTypeCaches(io._ServiceObject); +dart.setMethodSignature(io._ServiceObject, () => ({ + __proto__: dart.getMethods(io._ServiceObject.__proto__), + [_serviceType]: dart.fnType(core.String, [core.bool]) +})); +dart.setGetterSignature(io._ServiceObject, () => ({ + __proto__: dart.getGetters(io._ServiceObject.__proto__), + [_serviceId]: core.int, + [_servicePath]: core.String +})); +dart.setLibraryUri(io._ServiceObject, I[105]); +dart.setFieldSignature(io._ServiceObject, () => ({ + __proto__: dart.getFields(io._ServiceObject.__proto__), + [__serviceId]: dart.fieldType(core.int) +})); +var _value$1 = dart.privateName(io, "InternetAddressType._value"); +io.InternetAddressType = class InternetAddressType extends core.Object { + get [_value$0]() { + return this[_value$1]; + } + set [_value$0](value) { + super[_value$0] = value; + } + static _from(value) { + if (value == null) dart.nullFailed(I[125], 30, 41, "value"); + if (value == io.InternetAddressType.IPv4[_value$0]) return io.InternetAddressType.IPv4; + if (value == io.InternetAddressType.IPv6[_value$0]) return io.InternetAddressType.IPv6; + if (value == io.InternetAddressType.unix[_value$0]) return io.InternetAddressType.unix; + dart.throw(new core.ArgumentError.new("Invalid type: " + dart.str(value))); + } + get name() { + return (C[178] || CT.C178)[$_get](dart.notNull(this[_value$0]) + 1); + } + toString() { + return "InternetAddressType: " + dart.str(this.name); + } +}; +(io.InternetAddressType.__ = function(_value) { + if (_value == null) dart.nullFailed(I[125], 28, 36, "_value"); + this[_value$1] = _value; + ; +}).prototype = io.InternetAddressType.prototype; +dart.addTypeTests(io.InternetAddressType); +dart.addTypeCaches(io.InternetAddressType); +dart.setGetterSignature(io.InternetAddressType, () => ({ + __proto__: dart.getGetters(io.InternetAddressType.__proto__), + name: core.String +})); +dart.setLibraryUri(io.InternetAddressType, I[105]); +dart.setFieldSignature(io.InternetAddressType, () => ({ + __proto__: dart.getFields(io.InternetAddressType.__proto__), + [_value$0]: dart.finalFieldType(core.int) +})); +dart.defineExtensionMethods(io.InternetAddressType, ['toString']); +dart.defineLazy(io.InternetAddressType, { + /*io.InternetAddressType.IPv4*/get IPv4() { + return C[179] || CT.C179; + }, + /*io.InternetAddressType.IPv6*/get IPv6() { + return C[180] || CT.C180; + }, + /*io.InternetAddressType.unix*/get unix() { + return C[181] || CT.C181; + }, + /*io.InternetAddressType.any*/get any() { + return C[182] || CT.C182; + }, + /*io.InternetAddressType.IP_V4*/get IP_V4() { + return C[179] || CT.C179; + }, + /*io.InternetAddressType.IP_V6*/get IP_V6() { + return C[180] || CT.C180; + }, + /*io.InternetAddressType.ANY*/get ANY() { + return C[182] || CT.C182; + } +}, false); +io.InternetAddress = class InternetAddress extends core.Object { + static get loopbackIPv4() { + return io.InternetAddress.LOOPBACK_IP_V4; + } + static get LOOPBACK_IP_V4() { + dart.throw(new core.UnsupportedError.new("InternetAddress.LOOPBACK_IP_V4")); + } + static get loopbackIPv6() { + return io.InternetAddress.LOOPBACK_IP_V6; + } + static get LOOPBACK_IP_V6() { + dart.throw(new core.UnsupportedError.new("InternetAddress.LOOPBACK_IP_V6")); + } + static get anyIPv4() { + return io.InternetAddress.ANY_IP_V4; + } + static get ANY_IP_V4() { + dart.throw(new core.UnsupportedError.new("InternetAddress.ANY_IP_V4")); + } + static get anyIPv6() { + return io.InternetAddress.ANY_IP_V6; + } + static get ANY_IP_V6() { + dart.throw(new core.UnsupportedError.new("InternetAddress.ANY_IP_V6")); + } + static new(address, opts) { + if (address == null) dart.nullFailed(I[107], 412, 34, "address"); + let type = opts && 'type' in opts ? opts.type : null; + dart.throw(new core.UnsupportedError.new("InternetAddress")); + } + static fromRawAddress(rawAddress, opts) { + if (rawAddress == null) dart.nullFailed(I[107], 417, 52, "rawAddress"); + let type = opts && 'type' in opts ? opts.type : null; + dart.throw(new core.UnsupportedError.new("InternetAddress.fromRawAddress")); + } + static lookup(host, opts) { + if (host == null) dart.nullFailed(I[107], 423, 54, "host"); + let type = opts && 'type' in opts ? opts.type : C[182] || CT.C182; + if (type == null) dart.nullFailed(I[107], 424, 28, "type"); + dart.throw(new core.UnsupportedError.new("InternetAddress.lookup")); + } + static _cloneWithNewHost(address, host) { + if (address == null) dart.nullFailed(I[107], 430, 23, "address"); + if (host == null) dart.nullFailed(I[107], 430, 39, "host"); + dart.throw(new core.UnsupportedError.new("InternetAddress._cloneWithNewHost")); + } + static tryParse(address) { + if (address == null) dart.nullFailed(I[107], 435, 43, "address"); + dart.throw(new core.UnsupportedError.new("InternetAddress.tryParse")); + } +}; +(io.InternetAddress[dart.mixinNew] = function() { +}).prototype = io.InternetAddress.prototype; +dart.addTypeTests(io.InternetAddress); +dart.addTypeCaches(io.InternetAddress); +dart.setLibraryUri(io.InternetAddress, I[105]); +io.NetworkInterface = class NetworkInterface extends core.Object { + static get listSupported() { + dart.throw(new core.UnsupportedError.new("NetworkInterface.listSupported")); + } + static list(opts) { + let includeLoopback = opts && 'includeLoopback' in opts ? opts.includeLoopback : false; + if (includeLoopback == null) dart.nullFailed(I[107], 449, 13, "includeLoopback"); + let includeLinkLocal = opts && 'includeLinkLocal' in opts ? opts.includeLinkLocal : false; + if (includeLinkLocal == null) dart.nullFailed(I[107], 450, 12, "includeLinkLocal"); + let type = opts && 'type' in opts ? opts.type : C[182] || CT.C182; + if (type == null) dart.nullFailed(I[107], 451, 27, "type"); + dart.throw(new core.UnsupportedError.new("NetworkInterface.list")); + } +}; +(io.NetworkInterface.new = function() { + ; +}).prototype = io.NetworkInterface.prototype; +dart.addTypeTests(io.NetworkInterface); +dart.addTypeCaches(io.NetworkInterface); +dart.setLibraryUri(io.NetworkInterface, I[105]); +io.RawServerSocket = class RawServerSocket extends core.Object { + static bind(address, port, opts) { + if (port == null) dart.nullFailed(I[107], 459, 52, "port"); + let backlog = opts && 'backlog' in opts ? opts.backlog : 0; + if (backlog == null) dart.nullFailed(I[107], 460, 12, "backlog"); + let v6Only = opts && 'v6Only' in opts ? opts.v6Only : false; + if (v6Only == null) dart.nullFailed(I[107], 460, 30, "v6Only"); + let shared = opts && 'shared' in opts ? opts.shared : false; + if (shared == null) dart.nullFailed(I[107], 460, 51, "shared"); + dart.throw(new core.UnsupportedError.new("RawServerSocket.bind")); + } +}; +(io.RawServerSocket.new = function() { + ; +}).prototype = io.RawServerSocket.prototype; +io.RawServerSocket.prototype[dart.isStream] = true; +dart.addTypeTests(io.RawServerSocket); +dart.addTypeCaches(io.RawServerSocket); +io.RawServerSocket[dart.implements] = () => [async.Stream$(io.RawSocket)]; +dart.setLibraryUri(io.RawServerSocket, I[105]); +io.ServerSocket = class ServerSocket extends core.Object { + static bind(address, port, opts) { + if (port == null) dart.nullFailed(I[125], 318, 49, "port"); + let backlog = opts && 'backlog' in opts ? opts.backlog : 0; + if (backlog == null) dart.nullFailed(I[125], 319, 12, "backlog"); + let v6Only = opts && 'v6Only' in opts ? opts.v6Only : false; + if (v6Only == null) dart.nullFailed(I[125], 319, 30, "v6Only"); + let shared = opts && 'shared' in opts ? opts.shared : false; + if (shared == null) dart.nullFailed(I[125], 319, 51, "shared"); + let overrides = io.IOOverrides.current; + if (overrides == null) { + return io.ServerSocket._bind(address, port, {backlog: backlog, v6Only: v6Only, shared: shared}); + } + return overrides.serverSocketBind(address, port, {backlog: backlog, v6Only: v6Only, shared: shared}); + } + static _bind(address, port, opts) { + if (port == null) dart.nullFailed(I[107], 468, 50, "port"); + let backlog = opts && 'backlog' in opts ? opts.backlog : 0; + if (backlog == null) dart.nullFailed(I[107], 469, 12, "backlog"); + let v6Only = opts && 'v6Only' in opts ? opts.v6Only : false; + if (v6Only == null) dart.nullFailed(I[107], 469, 30, "v6Only"); + let shared = opts && 'shared' in opts ? opts.shared : false; + if (shared == null) dart.nullFailed(I[107], 469, 51, "shared"); + dart.throw(new core.UnsupportedError.new("ServerSocket.bind")); + } +}; +(io.ServerSocket.new = function() { + ; +}).prototype = io.ServerSocket.prototype; +io.ServerSocket.prototype[dart.isStream] = true; +dart.addTypeTests(io.ServerSocket); +dart.addTypeCaches(io.ServerSocket); +io.ServerSocket[dart.implements] = () => [async.Stream$(io.Socket)]; +dart.setLibraryUri(io.ServerSocket, I[105]); +var _value$2 = dart.privateName(io, "SocketDirection._value"); +io.SocketDirection = class SocketDirection extends core.Object { + get [_value$0]() { + return this[_value$2]; + } + set [_value$0](value) { + super[_value$0] = value; + } +}; +(io.SocketDirection.__ = function(_value) { + this[_value$2] = _value; + ; +}).prototype = io.SocketDirection.prototype; +dart.addTypeTests(io.SocketDirection); +dart.addTypeCaches(io.SocketDirection); +dart.setLibraryUri(io.SocketDirection, I[105]); +dart.setFieldSignature(io.SocketDirection, () => ({ + __proto__: dart.getFields(io.SocketDirection.__proto__), + [_value$0]: dart.finalFieldType(dart.dynamic) +})); +dart.defineLazy(io.SocketDirection, { + /*io.SocketDirection.receive*/get receive() { + return C[183] || CT.C183; + }, + /*io.SocketDirection.send*/get send() { + return C[184] || CT.C184; + }, + /*io.SocketDirection.both*/get both() { + return C[185] || CT.C185; + }, + /*io.SocketDirection.RECEIVE*/get RECEIVE() { + return C[183] || CT.C183; + }, + /*io.SocketDirection.SEND*/get SEND() { + return C[184] || CT.C184; + }, + /*io.SocketDirection.BOTH*/get BOTH() { + return C[185] || CT.C185; + } +}, false); +var _value$3 = dart.privateName(io, "SocketOption._value"); +io.SocketOption = class SocketOption extends core.Object { + get [_value$0]() { + return this[_value$3]; + } + set [_value$0](value) { + super[_value$0] = value; + } +}; +(io.SocketOption.__ = function(_value) { + this[_value$3] = _value; + ; +}).prototype = io.SocketOption.prototype; +dart.addTypeTests(io.SocketOption); +dart.addTypeCaches(io.SocketOption); +dart.setLibraryUri(io.SocketOption, I[105]); +dart.setFieldSignature(io.SocketOption, () => ({ + __proto__: dart.getFields(io.SocketOption.__proto__), + [_value$0]: dart.finalFieldType(dart.dynamic) +})); +dart.defineLazy(io.SocketOption, { + /*io.SocketOption.tcpNoDelay*/get tcpNoDelay() { + return C[186] || CT.C186; + }, + /*io.SocketOption.TCP_NODELAY*/get TCP_NODELAY() { + return C[186] || CT.C186; + }, + /*io.SocketOption._ipMulticastLoop*/get _ipMulticastLoop() { + return C[187] || CT.C187; + }, + /*io.SocketOption._ipMulticastHops*/get _ipMulticastHops() { + return C[188] || CT.C188; + }, + /*io.SocketOption._ipMulticastIf*/get _ipMulticastIf() { + return C[189] || CT.C189; + }, + /*io.SocketOption._ipBroadcast*/get _ipBroadcast() { + return C[190] || CT.C190; + } +}, false); +io._RawSocketOptions = class _RawSocketOptions extends core.Object { + toString() { + return this[_name$4]; + } +}; +(io._RawSocketOptions.new = function(index, _name) { + if (index == null) dart.nullFailed(I[125], 390, 6, "index"); + if (_name == null) dart.nullFailed(I[125], 390, 6, "_name"); + this.index = index; + this[_name$4] = _name; + ; +}).prototype = io._RawSocketOptions.prototype; +dart.addTypeTests(io._RawSocketOptions); +dart.addTypeCaches(io._RawSocketOptions); +dart.setLibraryUri(io._RawSocketOptions, I[105]); +dart.setFieldSignature(io._RawSocketOptions, () => ({ + __proto__: dart.getFields(io._RawSocketOptions.__proto__), + index: dart.finalFieldType(core.int), + [_name$4]: dart.finalFieldType(core.String) +})); +dart.defineExtensionMethods(io._RawSocketOptions, ['toString']); +io._RawSocketOptions.SOL_SOCKET = C[191] || CT.C191; +io._RawSocketOptions.IPPROTO_IP = C[192] || CT.C192; +io._RawSocketOptions.IP_MULTICAST_IF = C[193] || CT.C193; +io._RawSocketOptions.IPPROTO_IPV6 = C[194] || CT.C194; +io._RawSocketOptions.IPV6_MULTICAST_IF = C[195] || CT.C195; +io._RawSocketOptions.IPPROTO_TCP = C[196] || CT.C196; +io._RawSocketOptions.IPPROTO_UDP = C[197] || CT.C197; +io._RawSocketOptions.values = C[198] || CT.C198; +var level$2 = dart.privateName(io, "RawSocketOption.level"); +var option$ = dart.privateName(io, "RawSocketOption.option"); +var value$3 = dart.privateName(io, "RawSocketOption.value"); +io.RawSocketOption = class RawSocketOption extends core.Object { + get level() { + return this[level$2]; + } + set level(value) { + super.level = value; + } + get option() { + return this[option$]; + } + set option(value) { + super.option = value; + } + get value() { + return this[value$3]; + } + set value(value) { + super.value = value; + } + static fromInt(level, option, value) { + if (level == null) dart.nullFailed(I[125], 426, 39, "level"); + if (option == null) dart.nullFailed(I[125], 426, 50, "option"); + if (value == null) dart.nullFailed(I[125], 426, 62, "value"); + let list = _native_typed_data.NativeUint8List.new(4); + let buffer = typed_data.ByteData.view(list[$buffer], list[$offsetInBytes]); + buffer[$setInt32](0, value, typed_data.Endian.host); + return new io.RawSocketOption.new(level, option, list); + } + static fromBool(level, option, value) { + if (level == null) dart.nullFailed(I[125], 434, 40, "level"); + if (option == null) dart.nullFailed(I[125], 434, 51, "option"); + if (value == null) dart.nullFailed(I[125], 434, 64, "value"); + return io.RawSocketOption.fromInt(level, option, dart.test(value) ? 1 : 0); + } + static get levelSocket() { + return io.RawSocketOption._getOptionValue(io._RawSocketOptions.SOL_SOCKET.index); + } + static get levelIPv4() { + return io.RawSocketOption._getOptionValue(io._RawSocketOptions.IPPROTO_IP.index); + } + static get IPv4MulticastInterface() { + return io.RawSocketOption._getOptionValue(io._RawSocketOptions.IP_MULTICAST_IF.index); + } + static get levelIPv6() { + return io.RawSocketOption._getOptionValue(io._RawSocketOptions.IPPROTO_IPV6.index); + } + static get IPv6MulticastInterface() { + return io.RawSocketOption._getOptionValue(io._RawSocketOptions.IPV6_MULTICAST_IF.index); + } + static get levelTcp() { + return io.RawSocketOption._getOptionValue(io._RawSocketOptions.IPPROTO_TCP.index); + } + static get levelUdp() { + return io.RawSocketOption._getOptionValue(io._RawSocketOptions.IPPROTO_UDP.index); + } + static _getOptionValue(key) { + if (key == null) dart.nullFailed(I[107], 523, 34, "key"); + dart.throw(new core.UnsupportedError.new("RawSocketOption._getOptionValue")); + } +}; +(io.RawSocketOption.new = function(level, option, value) { + if (level == null) dart.nullFailed(I[125], 423, 30, "level"); + if (option == null) dart.nullFailed(I[125], 423, 42, "option"); + if (value == null) dart.nullFailed(I[125], 423, 55, "value"); + this[level$2] = level; + this[option$] = option; + this[value$3] = value; + ; +}).prototype = io.RawSocketOption.prototype; +dart.addTypeTests(io.RawSocketOption); +dart.addTypeCaches(io.RawSocketOption); +dart.setLibraryUri(io.RawSocketOption, I[105]); +dart.setFieldSignature(io.RawSocketOption, () => ({ + __proto__: dart.getFields(io.RawSocketOption.__proto__), + level: dart.finalFieldType(core.int), + option: dart.finalFieldType(core.int), + value: dart.finalFieldType(typed_data.Uint8List) +})); +var socket$ = dart.privateName(io, "ConnectionTask.socket"); +const _is_ConnectionTask_default = Symbol('_is_ConnectionTask_default'); +io.ConnectionTask$ = dart.generic(S => { + class ConnectionTask extends core.Object { + get socket() { + return this[socket$]; + } + set socket(value) { + super.socket = value; + } + cancel() { + this[_onCancel$](); + } + } + (ConnectionTask.__ = function(socket, onCancel) { + if (socket == null) dart.nullFailed(I[125], 542, 35, "socket"); + if (onCancel == null) dart.nullFailed(I[125], 542, 59, "onCancel"); + this[socket$] = socket; + this[_onCancel$] = onCancel; + ; + }).prototype = ConnectionTask.prototype; + dart.addTypeTests(ConnectionTask); + ConnectionTask.prototype[_is_ConnectionTask_default] = true; + dart.addTypeCaches(ConnectionTask); + dart.setMethodSignature(ConnectionTask, () => ({ + __proto__: dart.getMethods(ConnectionTask.__proto__), + cancel: dart.fnType(dart.void, []) + })); + dart.setLibraryUri(ConnectionTask, I[105]); + dart.setFieldSignature(ConnectionTask, () => ({ + __proto__: dart.getFields(ConnectionTask.__proto__), + socket: dart.finalFieldType(async.Future$(S)), + [_onCancel$]: dart.finalFieldType(dart.fnType(dart.void, [])) + })); + return ConnectionTask; +}); +io.ConnectionTask = io.ConnectionTask$(); +dart.addTypeTests(io.ConnectionTask, _is_ConnectionTask_default); +io.RawSocket = class RawSocket extends core.Object { + static connect(host, port, opts) { + if (port == null) dart.nullFailed(I[107], 477, 54, "port"); + let sourceAddress = opts && 'sourceAddress' in opts ? opts.sourceAddress : null; + let timeout = opts && 'timeout' in opts ? opts.timeout : null; + dart.throw(new core.UnsupportedError.new("RawSocket constructor")); + } + static startConnect(host, port, opts) { + if (port == null) dart.nullFailed(I[107], 483, 75, "port"); + let sourceAddress = opts && 'sourceAddress' in opts ? opts.sourceAddress : null; + dart.throw(new core.UnsupportedError.new("RawSocket constructor")); + } +}; +(io.RawSocket.new = function() { + ; +}).prototype = io.RawSocket.prototype; +io.RawSocket.prototype[dart.isStream] = true; +dart.addTypeTests(io.RawSocket); +dart.addTypeCaches(io.RawSocket); +io.RawSocket[dart.implements] = () => [async.Stream$(io.RawSocketEvent)]; +dart.setLibraryUri(io.RawSocket, I[105]); +io.Socket = class Socket extends core.Object { + static connect(host, port, opts) { + if (port == null) dart.nullFailed(I[125], 720, 43, "port"); + let sourceAddress = opts && 'sourceAddress' in opts ? opts.sourceAddress : null; + let timeout = opts && 'timeout' in opts ? opts.timeout : null; + let overrides = io.IOOverrides.current; + if (overrides == null) { + return io.Socket._connect(host, port, {sourceAddress: sourceAddress, timeout: timeout}); + } + return overrides.socketConnect(host, port, {sourceAddress: sourceAddress, timeout: timeout}); + } + static startConnect(host, port, opts) { + if (port == null) dart.nullFailed(I[125], 734, 64, "port"); + let sourceAddress = opts && 'sourceAddress' in opts ? opts.sourceAddress : null; + let overrides = io.IOOverrides.current; + if (overrides == null) { + return io.Socket._startConnect(host, port, {sourceAddress: sourceAddress}); + } + return overrides.socketStartConnect(host, port, {sourceAddress: sourceAddress}); + } + static _connect(host, port, opts) { + if (port == null) dart.nullFailed(I[107], 492, 52, "port"); + let sourceAddress = opts && 'sourceAddress' in opts ? opts.sourceAddress : null; + let timeout = opts && 'timeout' in opts ? opts.timeout : null; + dart.throw(new core.UnsupportedError.new("Socket constructor")); + } + static _startConnect(host, port, opts) { + if (port == null) dart.nullFailed(I[107], 498, 73, "port"); + let sourceAddress = opts && 'sourceAddress' in opts ? opts.sourceAddress : null; + dart.throw(new core.UnsupportedError.new("Socket constructor")); + } +}; +(io.Socket.new = function() { + ; +}).prototype = io.Socket.prototype; +io.Socket.prototype[dart.isStream] = true; +dart.addTypeTests(io.Socket); +dart.addTypeCaches(io.Socket); +io.Socket[dart.implements] = () => [async.Stream$(typed_data.Uint8List), io.IOSink]; +dart.setLibraryUri(io.Socket, I[105]); +var data$ = dart.privateName(io, "Datagram.data"); +var address$ = dart.privateName(io, "Datagram.address"); +var port$ = dart.privateName(io, "Datagram.port"); +io.Datagram = class Datagram extends core.Object { + get data() { + return this[data$]; + } + set data(value) { + this[data$] = value; + } + get address() { + return this[address$]; + } + set address(value) { + this[address$] = value; + } + get port() { + return this[port$]; + } + set port(value) { + this[port$] = value; + } +}; +(io.Datagram.new = function(data, address, port) { + if (data == null) dart.nullFailed(I[125], 825, 17, "data"); + if (address == null) dart.nullFailed(I[125], 825, 28, "address"); + if (port == null) dart.nullFailed(I[125], 825, 42, "port"); + this[data$] = data; + this[address$] = address; + this[port$] = port; + ; +}).prototype = io.Datagram.prototype; +dart.addTypeTests(io.Datagram); +dart.addTypeCaches(io.Datagram); +dart.setLibraryUri(io.Datagram, I[105]); +dart.setFieldSignature(io.Datagram, () => ({ + __proto__: dart.getFields(io.Datagram.__proto__), + data: dart.fieldType(typed_data.Uint8List), + address: dart.fieldType(io.InternetAddress), + port: dart.fieldType(core.int) +})); +var multicastInterface = dart.privateName(io, "RawDatagramSocket.multicastInterface"); +io.RawDatagramSocket = class RawDatagramSocket extends async.Stream$(io.RawSocketEvent) { + get multicastInterface() { + return this[multicastInterface]; + } + set multicastInterface(value) { + this[multicastInterface] = value; + } + static bind(host, port, opts) { + if (port == null) dart.nullFailed(I[107], 557, 59, "port"); + let reuseAddress = opts && 'reuseAddress' in opts ? opts.reuseAddress : true; + if (reuseAddress == null) dart.nullFailed(I[107], 558, 13, "reuseAddress"); + let reusePort = opts && 'reusePort' in opts ? opts.reusePort : false; + if (reusePort == null) dart.nullFailed(I[107], 558, 39, "reusePort"); + let ttl = opts && 'ttl' in opts ? opts.ttl : 1; + if (ttl == null) dart.nullFailed(I[107], 558, 62, "ttl"); + dart.throw(new core.UnsupportedError.new("RawDatagramSocket.bind")); + } +}; +(io.RawDatagramSocket.new = function() { + this[multicastInterface] = null; + io.RawDatagramSocket.__proto__.new.call(this); + ; +}).prototype = io.RawDatagramSocket.prototype; +dart.addTypeTests(io.RawDatagramSocket); +dart.addTypeCaches(io.RawDatagramSocket); +dart.setLibraryUri(io.RawDatagramSocket, I[105]); +dart.setFieldSignature(io.RawDatagramSocket, () => ({ + __proto__: dart.getFields(io.RawDatagramSocket.__proto__), + multicastInterface: dart.fieldType(dart.nullable(io.NetworkInterface)) +})); +var message$7 = dart.privateName(io, "SocketException.message"); +var osError$2 = dart.privateName(io, "SocketException.osError"); +var address$0 = dart.privateName(io, "SocketException.address"); +var port$0 = dart.privateName(io, "SocketException.port"); +io.SocketException = class SocketException extends core.Object { + get message() { + return this[message$7]; + } + set message(value) { + super.message = value; + } + get osError() { + return this[osError$2]; + } + set osError(value) { + super.osError = value; + } + get address() { + return this[address$0]; + } + set address(value) { + super.address = value; + } + get port() { + return this[port$0]; + } + set port(value) { + super.port = value; + } + toString() { + let sb = new core.StringBuffer.new(); + sb.write("SocketException"); + if (this.message[$isNotEmpty]) { + sb.write(": " + dart.str(this.message)); + if (this.osError != null) { + sb.write(" (" + dart.str(this.osError) + ")"); + } + } else if (this.osError != null) { + sb.write(": " + dart.str(this.osError)); + } + if (this.address != null) { + sb.write(", address = " + dart.str(dart.nullCheck(this.address).host)); + } + if (this.port != null) { + sb.write(", port = " + dart.str(this.port)); + } + return sb.toString(); + } +}; +(io.SocketException.new = function(message, opts) { + if (message == null) dart.nullFailed(I[125], 985, 30, "message"); + let osError = opts && 'osError' in opts ? opts.osError : null; + let address = opts && 'address' in opts ? opts.address : null; + let port = opts && 'port' in opts ? opts.port : null; + this[message$7] = message; + this[osError$2] = osError; + this[address$0] = address; + this[port$0] = port; + ; +}).prototype = io.SocketException.prototype; +(io.SocketException.closed = function() { + this[message$7] = "Socket has been closed"; + this[osError$2] = null; + this[address$0] = null; + this[port$0] = null; + ; +}).prototype = io.SocketException.prototype; +dart.addTypeTests(io.SocketException); +dart.addTypeCaches(io.SocketException); +io.SocketException[dart.implements] = () => [io.IOException]; +dart.setLibraryUri(io.SocketException, I[105]); +dart.setFieldSignature(io.SocketException, () => ({ + __proto__: dart.getFields(io.SocketException.__proto__), + message: dart.finalFieldType(core.String), + osError: dart.finalFieldType(dart.nullable(io.OSError)), + address: dart.finalFieldType(dart.nullable(io.InternetAddress)), + port: dart.finalFieldType(dart.nullable(core.int)) +})); +dart.defineExtensionMethods(io.SocketException, ['toString']); +var _stream$0 = dart.privateName(io, "_stream"); +io._StdStream = class _StdStream extends async.Stream$(core.List$(core.int)) { + listen(onData, opts) { + let onError = opts && 'onError' in opts ? opts.onError : null; + let onDone = opts && 'onDone' in opts ? opts.onDone : null; + let cancelOnError = opts && 'cancelOnError' in opts ? opts.cancelOnError : null; + return this[_stream$0].listen(onData, {onError: onError, onDone: onDone, cancelOnError: cancelOnError}); + } +}; +(io._StdStream.new = function(_stream) { + if (_stream == null) dart.nullFailed(I[128], 18, 19, "_stream"); + this[_stream$0] = _stream; + io._StdStream.__proto__.new.call(this); + ; +}).prototype = io._StdStream.prototype; +dart.addTypeTests(io._StdStream); +dart.addTypeCaches(io._StdStream); +dart.setMethodSignature(io._StdStream, () => ({ + __proto__: dart.getMethods(io._StdStream.__proto__), + listen: dart.fnType(async.StreamSubscription$(core.List$(core.int)), [dart.nullable(dart.fnType(dart.void, [core.List$(core.int)]))], {cancelOnError: dart.nullable(core.bool), onDone: dart.nullable(dart.fnType(dart.void, [])), onError: dart.nullable(core.Function)}, {}) +})); +dart.setLibraryUri(io._StdStream, I[105]); +dart.setFieldSignature(io._StdStream, () => ({ + __proto__: dart.getFields(io._StdStream.__proto__), + [_stream$0]: dart.finalFieldType(async.Stream$(core.List$(core.int))) +})); +var _fd$ = dart.privateName(io, "_fd"); +io.Stdin = class Stdin extends io._StdStream { + readLineSync(opts) { + let encoding = opts && 'encoding' in opts ? opts.encoding : C[143] || CT.C143; + if (encoding == null) dart.nullFailed(I[128], 57, 17, "encoding"); + let retainNewlines = opts && 'retainNewlines' in opts ? opts.retainNewlines : false; + if (retainNewlines == null) dart.nullFailed(I[128], 57, 49, "retainNewlines"); + let line = T$.JSArrayOfint().of([]); + let crIsNewline = dart.test(io.Platform.isWindows) && dart.equals(io.stdioType(io.stdin), io.StdioType.terminal) && !dart.test(this.lineMode); + if (dart.test(retainNewlines)) { + let byte = null; + do { + byte = this.readByteSync(); + if (dart.notNull(byte) < 0) { + break; + } + line[$add](byte); + } while (byte !== 10 && !(byte === 13 && crIsNewline)); + if (dart.test(line[$isEmpty])) { + return null; + } + } else if (crIsNewline) { + while (true) { + let byte = this.readByteSync(); + if (dart.notNull(byte) < 0) { + if (dart.test(line[$isEmpty])) return null; + break; + } + if (byte === 10 || byte === 13) break; + line[$add](byte); + } + } else { + L2: + while (true) { + let byte = this.readByteSync(); + if (byte === 10) break; + if (byte === 13) { + do { + byte = this.readByteSync(); + if (byte === 10) break L2; + line[$add](13); + } while (byte === 13); + } + if (dart.notNull(byte) < 0) { + if (dart.test(line[$isEmpty])) return null; + break; + } + line[$add](byte); + } + } + return encoding.decode(line); + } + get echoMode() { + dart.throw(new core.UnsupportedError.new("Stdin.echoMode")); + } + set echoMode(enabled) { + if (enabled == null) dart.nullFailed(I[107], 644, 26, "enabled"); + dart.throw(new core.UnsupportedError.new("Stdin.echoMode")); + } + get lineMode() { + dart.throw(new core.UnsupportedError.new("Stdin.lineMode")); + } + set lineMode(enabled) { + if (enabled == null) dart.nullFailed(I[107], 654, 26, "enabled"); + dart.throw(new core.UnsupportedError.new("Stdin.lineMode")); + } + get supportsAnsiEscapes() { + dart.throw(new core.UnsupportedError.new("Stdin.supportsAnsiEscapes")); + } + readByteSync() { + dart.throw(new core.UnsupportedError.new("Stdin.readByteSync")); + } + get hasTerminal() { + try { + return dart.equals(io.stdioType(this), io.StdioType.terminal); + } catch (e) { + let _ = dart.getThrown(e); + if (io.FileSystemException.is(_)) { + return false; + } else + throw e; + } + } +}; +(io.Stdin.__ = function(stream, _fd) { + if (stream == null) dart.nullFailed(I[128], 36, 29, "stream"); + if (_fd == null) dart.nullFailed(I[128], 36, 42, "_fd"); + this[_fd$] = _fd; + io.Stdin.__proto__.new.call(this, stream); + ; +}).prototype = io.Stdin.prototype; +io.Stdin.prototype[dart.isStream] = true; +dart.addTypeTests(io.Stdin); +dart.addTypeCaches(io.Stdin); +io.Stdin[dart.implements] = () => [async.Stream$(core.List$(core.int))]; +dart.setMethodSignature(io.Stdin, () => ({ + __proto__: dart.getMethods(io.Stdin.__proto__), + readLineSync: dart.fnType(dart.nullable(core.String), [], {encoding: convert.Encoding, retainNewlines: core.bool}, {}), + readByteSync: dart.fnType(core.int, []) +})); +dart.setGetterSignature(io.Stdin, () => ({ + __proto__: dart.getGetters(io.Stdin.__proto__), + echoMode: core.bool, + lineMode: core.bool, + supportsAnsiEscapes: core.bool, + hasTerminal: core.bool +})); +dart.setSetterSignature(io.Stdin, () => ({ + __proto__: dart.getSetters(io.Stdin.__proto__), + echoMode: core.bool, + lineMode: core.bool +})); +dart.setLibraryUri(io.Stdin, I[105]); +dart.setFieldSignature(io.Stdin, () => ({ + __proto__: dart.getFields(io.Stdin.__proto__), + [_fd$]: dart.fieldType(core.int) +})); +var _nonBlocking = dart.privateName(io, "_nonBlocking"); +var _hasTerminal = dart.privateName(io, "_hasTerminal"); +var _terminalColumns = dart.privateName(io, "_terminalColumns"); +var _terminalLines = dart.privateName(io, "_terminalLines"); +io._StdSink = class _StdSink extends core.Object { + get encoding() { + return this[_sink$1].encoding; + } + set encoding(encoding) { + if (encoding == null) dart.nullFailed(I[128], 310, 30, "encoding"); + this[_sink$1].encoding = encoding; + } + write(object) { + this[_sink$1].write(object); + } + writeln(object = "") { + this[_sink$1].writeln(object); + } + writeAll(objects, sep = "") { + if (objects == null) dart.nullFailed(I[128], 322, 26, "objects"); + if (sep == null) dart.nullFailed(I[128], 322, 43, "sep"); + this[_sink$1].writeAll(objects, sep); + } + add(data) { + T$0.ListOfint().as(data); + if (data == null) dart.nullFailed(I[128], 326, 22, "data"); + this[_sink$1].add(data); + } + addError(error, stackTrace = null) { + if (error == null) dart.nullFailed(I[128], 330, 17, "error"); + this[_sink$1].addError(error, stackTrace); + } + writeCharCode(charCode) { + if (charCode == null) dart.nullFailed(I[128], 334, 26, "charCode"); + this[_sink$1].writeCharCode(charCode); + } + addStream(stream) { + T$0.StreamOfListOfint().as(stream); + if (stream == null) dart.nullFailed(I[128], 338, 38, "stream"); + return this[_sink$1].addStream(stream); + } + flush() { + return this[_sink$1].flush(); + } + close() { + return this[_sink$1].close(); + } + get done() { + return this[_sink$1].done; + } +}; +(io._StdSink.new = function(_sink) { + if (_sink == null) dart.nullFailed(I[128], 307, 17, "_sink"); + this[_sink$1] = _sink; + ; +}).prototype = io._StdSink.prototype; +dart.addTypeTests(io._StdSink); +dart.addTypeCaches(io._StdSink); +io._StdSink[dart.implements] = () => [io.IOSink]; +dart.setMethodSignature(io._StdSink, () => ({ + __proto__: dart.getMethods(io._StdSink.__proto__), + write: dart.fnType(dart.void, [dart.nullable(core.Object)]), + writeln: dart.fnType(dart.void, [], [dart.nullable(core.Object)]), + writeAll: dart.fnType(dart.void, [core.Iterable], [core.String]), + add: dart.fnType(dart.void, [dart.nullable(core.Object)]), + addError: dart.fnType(dart.void, [core.Object], [dart.nullable(core.StackTrace)]), + writeCharCode: dart.fnType(dart.void, [core.int]), + addStream: dart.fnType(async.Future, [dart.nullable(core.Object)]), + flush: dart.fnType(async.Future, []), + close: dart.fnType(async.Future, []) +})); +dart.setGetterSignature(io._StdSink, () => ({ + __proto__: dart.getGetters(io._StdSink.__proto__), + encoding: convert.Encoding, + done: async.Future +})); +dart.setSetterSignature(io._StdSink, () => ({ + __proto__: dart.getSetters(io._StdSink.__proto__), + encoding: convert.Encoding +})); +dart.setLibraryUri(io._StdSink, I[105]); +dart.setFieldSignature(io._StdSink, () => ({ + __proto__: dart.getFields(io._StdSink.__proto__), + [_sink$1]: dart.finalFieldType(io.IOSink) +})); +io.Stdout = class Stdout extends io._StdSink { + get hasTerminal() { + return this[_hasTerminal](this[_fd$]); + } + get terminalColumns() { + return this[_terminalColumns](this[_fd$]); + } + get terminalLines() { + return this[_terminalLines](this[_fd$]); + } + get supportsAnsiEscapes() { + return io.Stdout._supportsAnsiEscapes(this[_fd$]); + } + [_hasTerminal](fd) { + if (fd == null) dart.nullFailed(I[107], 667, 25, "fd"); + dart.throw(new core.UnsupportedError.new("Stdout.hasTerminal")); + } + [_terminalColumns](fd) { + if (fd == null) dart.nullFailed(I[107], 672, 28, "fd"); + dart.throw(new core.UnsupportedError.new("Stdout.terminalColumns")); + } + [_terminalLines](fd) { + if (fd == null) dart.nullFailed(I[107], 677, 26, "fd"); + dart.throw(new core.UnsupportedError.new("Stdout.terminalLines")); + } + static _supportsAnsiEscapes(fd) { + if (fd == null) dart.nullFailed(I[107], 682, 40, "fd"); + dart.throw(new core.UnsupportedError.new("Stdout.supportsAnsiEscapes")); + } + get nonBlocking() { + let t212; + t212 = this[_nonBlocking]; + return t212 == null ? this[_nonBlocking] = io.IOSink.new(new io._FileStreamConsumer.fromStdio(this[_fd$])) : t212; + } +}; +(io.Stdout.__ = function(sink, _fd) { + if (sink == null) dart.nullFailed(I[128], 196, 19, "sink"); + if (_fd == null) dart.nullFailed(I[128], 196, 30, "_fd"); + this[_nonBlocking] = null; + this[_fd$] = _fd; + io.Stdout.__proto__.new.call(this, sink); + ; +}).prototype = io.Stdout.prototype; +dart.addTypeTests(io.Stdout); +dart.addTypeCaches(io.Stdout); +io.Stdout[dart.implements] = () => [io.IOSink]; +dart.setMethodSignature(io.Stdout, () => ({ + __proto__: dart.getMethods(io.Stdout.__proto__), + [_hasTerminal]: dart.fnType(core.bool, [core.int]), + [_terminalColumns]: dart.fnType(core.int, [core.int]), + [_terminalLines]: dart.fnType(core.int, [core.int]) +})); +dart.setGetterSignature(io.Stdout, () => ({ + __proto__: dart.getGetters(io.Stdout.__proto__), + hasTerminal: core.bool, + terminalColumns: core.int, + terminalLines: core.int, + supportsAnsiEscapes: core.bool, + nonBlocking: io.IOSink +})); +dart.setLibraryUri(io.Stdout, I[105]); +dart.setFieldSignature(io.Stdout, () => ({ + __proto__: dart.getFields(io.Stdout.__proto__), + [_fd$]: dart.finalFieldType(core.int), + [_nonBlocking]: dart.fieldType(dart.nullable(io.IOSink)) +})); +var message$8 = dart.privateName(io, "StdoutException.message"); +var osError$3 = dart.privateName(io, "StdoutException.osError"); +io.StdoutException = class StdoutException extends core.Object { + get message() { + return this[message$8]; + } + set message(value) { + super.message = value; + } + get osError() { + return this[osError$3]; + } + set osError(value) { + super.osError = value; + } + toString() { + return "StdoutException: " + dart.str(this.message) + (this.osError == null ? "" : ", " + dart.str(this.osError)); + } +}; +(io.StdoutException.new = function(message, osError = null) { + if (message == null) dart.nullFailed(I[128], 254, 30, "message"); + this[message$8] = message; + this[osError$3] = osError; + ; +}).prototype = io.StdoutException.prototype; +dart.addTypeTests(io.StdoutException); +dart.addTypeCaches(io.StdoutException); +io.StdoutException[dart.implements] = () => [io.IOException]; +dart.setLibraryUri(io.StdoutException, I[105]); +dart.setFieldSignature(io.StdoutException, () => ({ + __proto__: dart.getFields(io.StdoutException.__proto__), + message: dart.finalFieldType(core.String), + osError: dart.finalFieldType(dart.nullable(io.OSError)) +})); +dart.defineExtensionMethods(io.StdoutException, ['toString']); +var message$9 = dart.privateName(io, "StdinException.message"); +var osError$4 = dart.privateName(io, "StdinException.osError"); +io.StdinException = class StdinException extends core.Object { + get message() { + return this[message$9]; + } + set message(value) { + super.message = value; + } + get osError() { + return this[osError$4]; + } + set osError(value) { + super.osError = value; + } + toString() { + return "StdinException: " + dart.str(this.message) + (this.osError == null ? "" : ", " + dart.str(this.osError)); + } +}; +(io.StdinException.new = function(message, osError = null) { + if (message == null) dart.nullFailed(I[128], 269, 29, "message"); + this[message$9] = message; + this[osError$4] = osError; + ; +}).prototype = io.StdinException.prototype; +dart.addTypeTests(io.StdinException); +dart.addTypeCaches(io.StdinException); +io.StdinException[dart.implements] = () => [io.IOException]; +dart.setLibraryUri(io.StdinException, I[105]); +dart.setFieldSignature(io.StdinException, () => ({ + __proto__: dart.getFields(io.StdinException.__proto__), + message: dart.finalFieldType(core.String), + osError: dart.finalFieldType(dart.nullable(io.OSError)) +})); +dart.defineExtensionMethods(io.StdinException, ['toString']); +io._StdConsumer = class _StdConsumer extends core.Object { + addStream(stream) { + T$0.StreamOfListOfint().as(stream); + if (stream == null) dart.nullFailed(I[128], 281, 38, "stream"); + let completer = async.Completer.new(); + let sub = null; + sub = stream.listen(dart.fn(data => { + if (data == null) dart.nullFailed(I[128], 284, 26, "data"); + try { + dart.dsend(this[_file], 'writeFromSync', [data]); + } catch (e$) { + let e = dart.getThrown(e$); + let s = dart.stackTrace(e$); + if (core.Object.is(e)) { + dart.dsend(sub, 'cancel', []); + completer.completeError(e, s); + } else + throw e$; + } + }, T$0.ListOfintTovoid()), {onError: dart.bind(completer, 'completeError'), onDone: dart.bind(completer, 'complete'), cancelOnError: true}); + return completer.future; + } + close() { + dart.dsend(this[_file], 'closeSync', []); + return async.Future.value(); + } +}; +(io._StdConsumer.new = function(fd) { + if (fd == null) dart.nullFailed(I[128], 279, 20, "fd"); + this[_file] = io._File._openStdioSync(fd); + ; +}).prototype = io._StdConsumer.prototype; +dart.addTypeTests(io._StdConsumer); +dart.addTypeCaches(io._StdConsumer); +io._StdConsumer[dart.implements] = () => [async.StreamConsumer$(core.List$(core.int))]; +dart.setMethodSignature(io._StdConsumer, () => ({ + __proto__: dart.getMethods(io._StdConsumer.__proto__), + addStream: dart.fnType(async.Future, [dart.nullable(core.Object)]), + close: dart.fnType(async.Future, []) +})); +dart.setLibraryUri(io._StdConsumer, I[105]); +dart.setFieldSignature(io._StdConsumer, () => ({ + __proto__: dart.getFields(io._StdConsumer.__proto__), + [_file]: dart.finalFieldType(dart.dynamic) +})); +var name$11 = dart.privateName(io, "StdioType.name"); +io.StdioType = class StdioType extends core.Object { + get name() { + return this[name$11]; + } + set name(value) { + super.name = value; + } + toString() { + return "StdioType: " + dart.str(this.name); + } +}; +(io.StdioType.__ = function(name) { + if (name == null) dart.nullFailed(I[128], 361, 26, "name"); + this[name$11] = name; + ; +}).prototype = io.StdioType.prototype; +dart.addTypeTests(io.StdioType); +dart.addTypeCaches(io.StdioType); +dart.setLibraryUri(io.StdioType, I[105]); +dart.setFieldSignature(io.StdioType, () => ({ + __proto__: dart.getFields(io.StdioType.__proto__), + name: dart.finalFieldType(core.String) +})); +dart.defineExtensionMethods(io.StdioType, ['toString']); +dart.defineLazy(io.StdioType, { + /*io.StdioType.terminal*/get terminal() { + return C[199] || CT.C199; + }, + /*io.StdioType.pipe*/get pipe() { + return C[200] || CT.C200; + }, + /*io.StdioType.file*/get file() { + return C[201] || CT.C201; + }, + /*io.StdioType.other*/get other() { + return C[202] || CT.C202; + }, + /*io.StdioType.TERMINAL*/get TERMINAL() { + return C[199] || CT.C199; + }, + /*io.StdioType.PIPE*/get PIPE() { + return C[200] || CT.C200; + }, + /*io.StdioType.FILE*/get FILE() { + return C[201] || CT.C201; + }, + /*io.StdioType.OTHER*/get OTHER() { + return C[202] || CT.C202; + } +}, false); +io._StdIOUtils = class _StdIOUtils extends core.Object { + static _getStdioOutputStream(fd) { + if (fd == null) dart.nullFailed(I[107], 579, 36, "fd"); + dart.throw(new core.UnsupportedError.new("StdIOUtils._getStdioOutputStream")); + } + static _getStdioInputStream(fd) { + if (fd == null) dart.nullFailed(I[107], 574, 41, "fd"); + dart.throw(new core.UnsupportedError.new("StdIOUtils._getStdioInputStream")); + } + static _socketType(socket) { + if (socket == null) dart.nullFailed(I[107], 584, 33, "socket"); + dart.throw(new core.UnsupportedError.new("StdIOUtils._socketType")); + } + static _getStdioHandleType(fd) { + if (fd == null) dart.nullFailed(I[107], 589, 34, "fd"); + dart.throw(new core.UnsupportedError.new("StdIOUtils._getStdioHandleType")); + } +}; +(io._StdIOUtils.new = function() { + ; +}).prototype = io._StdIOUtils.prototype; +dart.addTypeTests(io._StdIOUtils); +dart.addTypeCaches(io._StdIOUtils); +dart.setLibraryUri(io._StdIOUtils, I[105]); +io.SystemEncoding = class SystemEncoding extends convert.Encoding { + get name() { + return "system"; + } + encode(input) { + core.String.as(input); + if (input == null) dart.nullFailed(I[129], 28, 27, "input"); + return this.encoder.convert(input); + } + decode(encoded) { + T$0.ListOfint().as(encoded); + if (encoded == null) dart.nullFailed(I[129], 29, 27, "encoded"); + return this.decoder.convert(encoded); + } + get encoder() { + if (io.Platform.operatingSystem === "windows") { + return C[203] || CT.C203; + } else { + return C[101] || CT.C101; + } + } + get decoder() { + if (io.Platform.operatingSystem === "windows") { + return C[204] || CT.C204; + } else { + return C[100] || CT.C100; + } + } +}; +(io.SystemEncoding.new = function() { + io.SystemEncoding.__proto__.new.call(this); + ; +}).prototype = io.SystemEncoding.prototype; +dart.addTypeTests(io.SystemEncoding); +dart.addTypeCaches(io.SystemEncoding); +dart.setGetterSignature(io.SystemEncoding, () => ({ + __proto__: dart.getGetters(io.SystemEncoding.__proto__), + name: core.String, + encoder: convert.Converter$(core.String, core.List$(core.int)), + decoder: convert.Converter$(core.List$(core.int), core.String) +})); +dart.setLibraryUri(io.SystemEncoding, I[105]); +io._WindowsCodePageEncoder = class _WindowsCodePageEncoder extends convert.Converter$(core.String, core.List$(core.int)) { + convert(input) { + core.String.as(input); + if (input == null) dart.nullFailed(I[129], 51, 28, "input"); + let encoded = io._WindowsCodePageEncoder._encodeString(input); + if (encoded == null) { + dart.throw(new core.FormatException.new("Invalid character for encoding")); + } + return encoded; + } + startChunkedConversion(sink) { + T$0.SinkOfListOfint().as(sink); + if (sink == null) dart.nullFailed(I[129], 60, 63, "sink"); + return new io._WindowsCodePageEncoderSink.new(sink); + } + static _encodeString(string) { + if (string == null) dart.nullFailed(I[107], 605, 41, "string"); + dart.throw(new core.UnsupportedError.new("_WindowsCodePageEncoder._encodeString")); + } +}; +(io._WindowsCodePageEncoder.new = function() { + io._WindowsCodePageEncoder.__proto__.new.call(this); + ; +}).prototype = io._WindowsCodePageEncoder.prototype; +dart.addTypeTests(io._WindowsCodePageEncoder); +dart.addTypeCaches(io._WindowsCodePageEncoder); +dart.setMethodSignature(io._WindowsCodePageEncoder, () => ({ + __proto__: dart.getMethods(io._WindowsCodePageEncoder.__proto__), + convert: dart.fnType(core.List$(core.int), [dart.nullable(core.Object)]), + startChunkedConversion: dart.fnType(convert.StringConversionSink, [dart.nullable(core.Object)]) +})); +dart.setLibraryUri(io._WindowsCodePageEncoder, I[105]); +io._WindowsCodePageEncoderSink = class _WindowsCodePageEncoderSink extends convert.StringConversionSinkBase { + close() { + this[_sink$1].close(); + } + add(string) { + core.String.as(string); + if (string == null) dart.nullFailed(I[129], 79, 19, "string"); + let encoded = io._WindowsCodePageEncoder._encodeString(string); + if (encoded == null) { + dart.throw(new core.FormatException.new("Invalid character for encoding")); + } + this[_sink$1].add(encoded); + } + addSlice(source, start, end, isLast) { + if (source == null) dart.nullFailed(I[129], 87, 24, "source"); + if (start == null) dart.nullFailed(I[129], 87, 36, "start"); + if (end == null) dart.nullFailed(I[129], 87, 47, "end"); + if (isLast == null) dart.nullFailed(I[129], 87, 57, "isLast"); + if (start !== 0 || end !== source.length) { + source = source[$substring](start, end); + } + this.add(source); + if (dart.test(isLast)) this.close(); + } +}; +(io._WindowsCodePageEncoderSink.new = function(_sink) { + if (_sink == null) dart.nullFailed(I[129], 73, 36, "_sink"); + this[_sink$1] = _sink; + ; +}).prototype = io._WindowsCodePageEncoderSink.prototype; +dart.addTypeTests(io._WindowsCodePageEncoderSink); +dart.addTypeCaches(io._WindowsCodePageEncoderSink); +dart.setMethodSignature(io._WindowsCodePageEncoderSink, () => ({ + __proto__: dart.getMethods(io._WindowsCodePageEncoderSink.__proto__), + close: dart.fnType(dart.void, []), + addSlice: dart.fnType(dart.void, [core.String, core.int, core.int, core.bool]) +})); +dart.setLibraryUri(io._WindowsCodePageEncoderSink, I[105]); +dart.setFieldSignature(io._WindowsCodePageEncoderSink, () => ({ + __proto__: dart.getFields(io._WindowsCodePageEncoderSink.__proto__), + [_sink$1]: dart.finalFieldType(core.Sink$(core.List$(core.int))) +})); +io._WindowsCodePageDecoder = class _WindowsCodePageDecoder extends convert.Converter$(core.List$(core.int), core.String) { + convert(input) { + T$0.ListOfint().as(input); + if (input == null) dart.nullFailed(I[129], 99, 28, "input"); + return io._WindowsCodePageDecoder._decodeBytes(input); + } + startChunkedConversion(sink) { + T$0.SinkOfString().as(sink); + if (sink == null) dart.nullFailed(I[129], 104, 58, "sink"); + return new io._WindowsCodePageDecoderSink.new(sink); + } + static _decodeBytes(bytes) { + if (bytes == null) dart.nullFailed(I[107], 597, 40, "bytes"); + dart.throw(new core.UnsupportedError.new("_WindowsCodePageDecoder._decodeBytes")); + } +}; +(io._WindowsCodePageDecoder.new = function() { + io._WindowsCodePageDecoder.__proto__.new.call(this); + ; +}).prototype = io._WindowsCodePageDecoder.prototype; +dart.addTypeTests(io._WindowsCodePageDecoder); +dart.addTypeCaches(io._WindowsCodePageDecoder); +dart.setMethodSignature(io._WindowsCodePageDecoder, () => ({ + __proto__: dart.getMethods(io._WindowsCodePageDecoder.__proto__), + convert: dart.fnType(core.String, [dart.nullable(core.Object)]), + startChunkedConversion: dart.fnType(convert.ByteConversionSink, [dart.nullable(core.Object)]) +})); +dart.setLibraryUri(io._WindowsCodePageDecoder, I[105]); +io._WindowsCodePageDecoderSink = class _WindowsCodePageDecoderSink extends convert.ByteConversionSinkBase { + close() { + this[_sink$1].close(); + } + add(bytes) { + T$0.ListOfint().as(bytes); + if (bytes == null) dart.nullFailed(I[129], 123, 22, "bytes"); + this[_sink$1].add(io._WindowsCodePageDecoder._decodeBytes(bytes)); + } +}; +(io._WindowsCodePageDecoderSink.new = function(_sink) { + if (_sink == null) dart.nullFailed(I[129], 117, 36, "_sink"); + this[_sink$1] = _sink; + io._WindowsCodePageDecoderSink.__proto__.new.call(this); + ; +}).prototype = io._WindowsCodePageDecoderSink.prototype; +dart.addTypeTests(io._WindowsCodePageDecoderSink); +dart.addTypeCaches(io._WindowsCodePageDecoderSink); +dart.setMethodSignature(io._WindowsCodePageDecoderSink, () => ({ + __proto__: dart.getMethods(io._WindowsCodePageDecoderSink.__proto__), + close: dart.fnType(dart.void, []), + add: dart.fnType(dart.void, [dart.nullable(core.Object)]) +})); +dart.setLibraryUri(io._WindowsCodePageDecoderSink, I[105]); +dart.setFieldSignature(io._WindowsCodePageDecoderSink, () => ({ + __proto__: dart.getFields(io._WindowsCodePageDecoderSink.__proto__), + [_sink$1]: dart.finalFieldType(core.Sink$(core.String)) +})); +io.RawSynchronousSocket = class RawSynchronousSocket extends core.Object { + static connectSync(host, port) { + if (port == null) dart.nullFailed(I[107], 515, 61, "port"); + dart.throw(new core.UnsupportedError.new("RawSynchronousSocket.connectSync")); + } +}; +(io.RawSynchronousSocket.new = function() { + ; +}).prototype = io.RawSynchronousSocket.prototype; +dart.addTypeTests(io.RawSynchronousSocket); +dart.addTypeCaches(io.RawSynchronousSocket); +dart.setLibraryUri(io.RawSynchronousSocket, I[105]); +io._isErrorResponse = function _isErrorResponse$(response) { + return core.List.is(response) && !dart.equals(response[$_get](0), 0); +}; +io._exceptionFromResponse = function _exceptionFromResponse$(response, message, path) { + if (message == null) dart.nullFailed(I[106], 23, 41, "message"); + if (path == null) dart.nullFailed(I[106], 23, 57, "path"); + if (!dart.test(io._isErrorResponse(response))) dart.assertFailed(null, I[106], 24, 10, "_isErrorResponse(response)"); + switch (dart.dsend(response, '_get', [0])) { + case 1: + { + return new core.ArgumentError.new(dart.str(message) + ": " + dart.str(path)); + } + case 2: + { + let err = new io.OSError.new(core.String.as(dart.dsend(response, '_get', [2])), core.int.as(dart.dsend(response, '_get', [1]))); + return new io.FileSystemException.new(message, path, err); + } + case 3: + { + return new io.FileSystemException.new("File closed", path); + } + default: + { + return core.Exception.new("Unknown error"); + } + } +}; +io._ensureFastAndSerializableByteData = function _ensureFastAndSerializableByteData(buffer, start, end) { + if (buffer == null) dart.nullFailed(I[106], 93, 15, "buffer"); + if (start == null) dart.nullFailed(I[106], 93, 27, "start"); + if (end == null) dart.nullFailed(I[106], 93, 38, "end"); + if (dart.test(io._isDirectIOCapableTypedList(buffer))) { + return new io._BufferAndStart.new(buffer, start); + } + let length = dart.notNull(end) - dart.notNull(start); + let newBuffer = _native_typed_data.NativeUint8List.new(length); + newBuffer[$setRange](0, length, buffer, start); + return new io._BufferAndStart.new(newBuffer, 0); +}; +io._isDirectIOCapableTypedList = function _isDirectIOCapableTypedList(buffer) { + if (buffer == null) dart.nullFailed(I[107], 218, 44, "buffer"); + dart.throw(new core.UnsupportedError.new("_isDirectIOCapableTypedList")); +}; +io._validateZLibWindowBits = function _validateZLibWindowBits(windowBits) { + if (windowBits == null) dart.nullFailed(I[108], 570, 34, "windowBits"); + if (8 > dart.notNull(windowBits) || 15 < dart.notNull(windowBits)) { + dart.throw(new core.RangeError.range(windowBits, 8, 15)); + } +}; +io._validateZLibeLevel = function _validateZLibeLevel(level) { + if (level == null) dart.nullFailed(I[108], 578, 30, "level"); + if (-1 > dart.notNull(level) || 9 < dart.notNull(level)) { + dart.throw(new core.RangeError.range(level, -1, 9)); + } +}; +io._validateZLibMemLevel = function _validateZLibMemLevel(memLevel) { + if (memLevel == null) dart.nullFailed(I[108], 584, 32, "memLevel"); + if (1 > dart.notNull(memLevel) || 9 < dart.notNull(memLevel)) { + dart.throw(new core.RangeError.range(memLevel, 1, 9)); + } +}; +io._validateZLibStrategy = function _validateZLibStrategy(strategy) { + if (strategy == null) dart.nullFailed(I[108], 591, 32, "strategy"); + let strategies = C[205] || CT.C205; + if (strategies[$indexOf](strategy) === -1) { + dart.throw(new core.ArgumentError.new("Unsupported 'strategy'")); + } +}; +io.isInsecureConnectionAllowed = function isInsecureConnectionAllowed(host) { + let t215, t215$; + let hostString = null; + if (typeof host == 'string') { + try { + if ("localhost" === host || dart.test(io.InternetAddress.new(host).isLoopback)) return true; + } catch (e) { + let ex = dart.getThrown(e); + if (core.ArgumentError.is(ex)) { + } else + throw e; + } + hostString = host; + } else if (io.InternetAddress.is(host)) { + if (dart.test(host.isLoopback)) return true; + hostString = host.host; + } else { + dart.throw(new core.ArgumentError.value(host, "host", "Must be a String or InternetAddress")); + } + let topMatchedPolicy = io._findBestDomainNetworkPolicy(hostString); + let envOverride = core.bool.fromEnvironment("dart.library.io.may_insecurely_connect_to_all_domains", {defaultValue: true}); + t215$ = (t215 = topMatchedPolicy, t215 == null ? null : t215.allowInsecureConnections); + return t215$ == null ? dart.test(envOverride) && dart.test(io._EmbedderConfig._mayInsecurelyConnectToAllDomains) : t215$; +}; +io._findBestDomainNetworkPolicy = function _findBestDomainNetworkPolicy(domain) { + if (domain == null) dart.nullFailed(I[118], 154, 59, "domain"); + let topScore = 0; + let topPolicy = null; + for (let policy of io._domainPolicies) { + let score = policy.matchScore(domain); + if (dart.notNull(score) > dart.notNull(topScore)) { + topScore = score; + topPolicy = policy; + } + } + return topPolicy; +}; +io._constructDomainPolicies = function _constructDomainPolicies(domainPoliciesString) { + let domainPolicies = T$0.JSArrayOf_DomainNetworkPolicy().of([]); + domainPoliciesString == null ? domainPoliciesString = core.String.fromEnvironment("dart.library.io.domain_network_policies", {defaultValue: ""}) : null; + if (domainPoliciesString[$isNotEmpty]) { + let policiesJson = core.List.as(convert.json.decode(domainPoliciesString)); + for (let t215 of policiesJson) { + let policyJson = core.List.as(t215); + if (!(policyJson[$length] === 3)) dart.assertFailed(null, I[118], 180, 14, "policyJson.length == 3"); + let policy = new io._DomainNetworkPolicy.new(core.String.as(policyJson[$_get](0)), {includesSubDomains: core.bool.as(policyJson[$_get](1)), allowInsecureConnections: core.bool.as(policyJson[$_get](2))}); + if (dart.test(policy.checkConflict(domainPolicies))) { + domainPolicies[$add](policy); + } + } + } + return domainPolicies; +}; +io._success = function _success() { + return convert.json.encode(new (T$.IdentityMapOfString$String()).from(["type", "Success"])); +}; +io._invalidArgument = function _invalidArgument(argument, value) { + if (argument == null) dart.nullFailed(I[119], 148, 32, "argument"); + return "Value for parameter '" + dart.str(argument) + "' is not valid: " + dart.str(value); +}; +io._missingArgument = function _missingArgument(argument) { + if (argument == null) dart.nullFailed(I[119], 151, 32, "argument"); + return "Parameter '" + dart.str(argument) + "' is required"; +}; +io._getHttpEnableTimelineLogging = function _getHttpEnableTimelineLogging() { + return convert.json.encode(new (T$.IdentityMapOfString$Object()).from(["type", "HttpTimelineLoggingState", "enabled", _http.HttpClient.enableTimelineLogging])); +}; +io._setHttpEnableTimelineLogging = function _setHttpEnableTimelineLogging(parameters) { + if (parameters == null) dart.nullFailed(I[119], 158, 58, "parameters"); + if (!dart.test(parameters[$containsKey]("enable"))) { + dart.throw(io._missingArgument("enable")); + } + let enable = dart.nullCheck(parameters[$_get]("enable"))[$toLowerCase](); + if (enable !== "true" && enable !== "false") { + dart.throw(io._invalidArgument("enable", enable)); + } + _http.HttpClient.enableTimelineLogging = enable === "true"; + return io._success(); +}; +io._getHttpProfileRequest = function _getHttpProfileRequest(parameters) { + if (parameters == null) dart.nullFailed(I[119], 171, 51, "parameters"); + if (!dart.test(parameters[$containsKey]("id"))) { + dart.throw(io._missingArgument("id")); + } + let id = core.int.tryParse(dart.nullCheck(parameters[$_get]("id"))); + if (id == null) { + dart.throw(io._invalidArgument("id", dart.nullCheck(parameters[$_get]("id")))); + } + let request = _http.HttpProfiler.getHttpProfileRequest(id); + if (request == null) { + dart.throw("Unable to find request with id: '" + dart.str(id) + "'"); + } + return convert.json.encode(request.toJson({ref: false})); +}; +io._socketProfilingEnabled = function _socketProfilingEnabled(parameters) { + if (parameters == null) dart.nullFailed(I[119], 188, 52, "parameters"); + if (dart.test(parameters[$containsKey]("enabled"))) { + let enable = dart.nullCheck(parameters[$_get]("enabled"))[$toLowerCase](); + if (enable !== "true" && enable !== "false") { + dart.throw(io._invalidArgument("enabled", enable)); + } + enable === "true" ? io._SocketProfile.start() : io._SocketProfile.pause(); + } + return convert.json.encode(new (T$.IdentityMapOfString$Object()).from(["type", "SocketProfilingState", "enabled", io._SocketProfile.enableSocketProfiling])); +}; +io.exit = function exit(code) { + if (code == null) dart.nullFailed(I[122], 50, 16, "code"); + core.ArgumentError.checkNotNull(core.int, code, "code"); + if (!dart.test(io._EmbedderConfig._mayExit)) { + dart.throw(new core.UnsupportedError.new("This embedder disallows calling dart:io's exit()")); + } + io._ProcessUtils._exit(code); + dart.throw(new _internal.ReachabilityError.new("`null` encountered as the result from expression with type `Never`.")); +}; +io.sleep = function sleep(duration) { + if (duration == null) dart.nullFailed(I[122], 88, 21, "duration"); + let milliseconds = duration.inMilliseconds; + if (dart.notNull(milliseconds) < 0) { + dart.throw(new core.ArgumentError.new("sleep: duration cannot be negative")); + } + if (!dart.test(io._EmbedderConfig._maySleep)) { + dart.throw(new core.UnsupportedError.new("This embedder disallows calling dart:io's sleep()")); + } + io._ProcessUtils._sleep(milliseconds); +}; +io._setStdioFDs = function _setStdioFDs(stdin, stdout, stderr) { + if (stdin == null) dart.nullFailed(I[128], 376, 23, "stdin"); + if (stdout == null) dart.nullFailed(I[128], 376, 34, "stdout"); + if (stderr == null) dart.nullFailed(I[128], 376, 46, "stderr"); + io._stdinFD = stdin; + io._stdoutFD = stdout; + io._stderrFD = stderr; +}; +io.stdioType = function stdioType(object) { + if (io._StdStream.is(object)) { + object = object[_stream$0]; + } else if (dart.equals(object, io.stdout) || dart.equals(object, io.stderr)) { + let stdiofd = dart.equals(object, io.stdout) ? io._stdoutFD : io._stderrFD; + let type = io._StdIOUtils._getStdioHandleType(stdiofd); + if (io.OSError.is(type)) { + dart.throw(new io.FileSystemException.new("Failed to get type of stdio handle (fd " + dart.str(stdiofd) + ")", "", type)); + } + switch (type) { + case 0: + { + return io.StdioType.terminal; + } + case 1: + { + return io.StdioType.pipe; + } + case 2: + { + return io.StdioType.file; + } + } + } + if (io._FileStream.is(object)) { + return io.StdioType.file; + } + if (io.Socket.is(object)) { + let socketType = io._StdIOUtils._socketType(object); + if (socketType == null) return io.StdioType.other; + switch (socketType) { + case 0: + { + return io.StdioType.terminal; + } + case 1: + { + return io.StdioType.pipe; + } + case 2: + { + return io.StdioType.file; + } + } + } + if (io._IOSinkImpl.is(object)) { + try { + if (io._FileStreamConsumer.is(object[_target$0])) { + return io.StdioType.file; + } + } catch (e$) { + let e = dart.getThrown(e$); + if (core.Object.is(e)) { + } else + throw e$; + } + } + return io.StdioType.other; +}; +dart.copyProperties(io, { + get _domainPolicies() { + let t217; + if (!dart.test(io['_#_domainPolicies#isSet'])) { + io['_#_domainPolicies'] = io._constructDomainPolicies(null); + io['_#_domainPolicies#isSet'] = true; + } + t217 = io['_#_domainPolicies']; + return t217; + }, + set _domainPolicies(t217) { + if (t217 == null) dart.nullFailed(I[118], 168, 33, "null"); + io['_#_domainPolicies#isSet'] = true; + io['_#_domainPolicies'] = t217; + }, + set exitCode(code) { + if (code == null) dart.nullFailed(I[122], 69, 23, "code"); + core.ArgumentError.checkNotNull(core.int, code, "code"); + io._ProcessUtils._setExitCode(code); + }, + get exitCode() { + return io._ProcessUtils._getExitCode(); + }, + get pid() { + return io._ProcessUtils._pid(null); + }, + get stdin() { + let t218; + t218 = io._stdin; + return t218 == null ? io._stdin = io._StdIOUtils._getStdioInputStream(io._stdinFD) : t218; + }, + get stdout() { + let t218; + return io.Stdout.as((t218 = io._stdout, t218 == null ? io._stdout = T$0.StdoutN().as(io._StdIOUtils._getStdioOutputStream(io._stdoutFD)) : t218)); + }, + get stderr() { + let t218; + return io.Stdout.as((t218 = io._stderr, t218 == null ? io._stderr = T$0.StdoutN().as(io._StdIOUtils._getStdioOutputStream(io._stderrFD)) : t218)); + } +}); +dart.defineLazy(io, { + /*io._successResponse*/get _successResponse() { + return 0; + }, + /*io._illegalArgumentResponse*/get _illegalArgumentResponse() { + return 1; + }, + /*io._osErrorResponse*/get _osErrorResponse() { + return 2; + }, + /*io._fileClosedResponse*/get _fileClosedResponse() { + return 3; + }, + /*io._errorResponseErrorType*/get _errorResponseErrorType() { + return 0; + }, + /*io._osErrorResponseErrorCode*/get _osErrorResponseErrorCode() { + return 1; + }, + /*io._osErrorResponseMessage*/get _osErrorResponseMessage() { + return 2; + }, + /*io.zlib*/get zlib() { + return C[206] || CT.C206; + }, + /*io.ZLIB*/get ZLIB() { + return C[206] || CT.C206; + }, + /*io.gzip*/get gzip() { + return C[207] || CT.C207; + }, + /*io.GZIP*/get GZIP() { + return C[207] || CT.C207; + }, + /*io.READ*/get READ() { + return C[109] || CT.C109; + }, + /*io.WRITE*/get WRITE() { + return C[110] || CT.C110; + }, + /*io.APPEND*/get APPEND() { + return C[111] || CT.C111; + }, + /*io.WRITE_ONLY*/get WRITE_ONLY() { + return C[112] || CT.C112; + }, + /*io.WRITE_ONLY_APPEND*/get WRITE_ONLY_APPEND() { + return C[113] || CT.C113; + }, + /*io._blockSize*/get _blockSize() { + return 65536; + }, + /*io['_#_domainPolicies']*/get ['_#_domainPolicies']() { + return null; + }, + set ['_#_domainPolicies'](_) {}, + /*io['_#_domainPolicies#isSet']*/get ['_#_domainPolicies#isSet']() { + return false; + }, + set ['_#_domainPolicies#isSet'](_) {}, + /*io._versionMajor*/get _versionMajor() { + return 1; + }, + /*io._versionMinor*/get _versionMinor() { + return 6; + }, + /*io._tcpSocket*/get _tcpSocket() { + return "tcp"; + }, + /*io._udpSocket*/get _udpSocket() { + return "udp"; + }, + /*io._ioOverridesToken*/get _ioOverridesToken() { + return new core.Object.new(); + }, + /*io._asyncRunZoned*/get _asyncRunZoned() { + return C[208] || CT.C208; + }, + /*io._nextServiceId*/get _nextServiceId() { + return 1; + }, + set _nextServiceId(_) {}, + /*io._stdioHandleTypeTerminal*/get _stdioHandleTypeTerminal() { + return 0; + }, + /*io._stdioHandleTypePipe*/get _stdioHandleTypePipe() { + return 1; + }, + /*io._stdioHandleTypeFile*/get _stdioHandleTypeFile() { + return 2; + }, + /*io._stdioHandleTypeSocket*/get _stdioHandleTypeSocket() { + return 3; + }, + /*io._stdioHandleTypeOther*/get _stdioHandleTypeOther() { + return 4; + }, + /*io._stdioHandleTypeError*/get _stdioHandleTypeError() { + return 5; + }, + /*io._stdin*/get _stdin() { + return null; + }, + set _stdin(_) {}, + /*io._stdout*/get _stdout() { + return null; + }, + set _stdout(_) {}, + /*io._stderr*/get _stderr() { + return null; + }, + set _stderr(_) {}, + /*io._stdinFD*/get _stdinFD() { + return 0; + }, + set _stdinFD(_) {}, + /*io._stdoutFD*/get _stdoutFD() { + return 1; + }, + set _stdoutFD(_) {}, + /*io._stderrFD*/get _stderrFD() { + return 2; + }, + set _stderrFD(_) {}, + /*io.systemEncoding*/get systemEncoding() { + return C[143] || CT.C143; + }, + /*io.SYSTEM_ENCODING*/get SYSTEM_ENCODING() { + return C[143] || CT.C143; + } +}, false); +isolate$._ReceivePort = class _ReceivePort extends async.Stream { + close() { + } + get sendPort() { + return isolate$._unsupported(); + } + listen(onData, opts) { + let onError = opts && 'onError' in opts ? opts.onError : null; + let onDone = opts && 'onDone' in opts ? opts.onDone : null; + let cancelOnError = opts && 'cancelOnError' in opts ? opts.cancelOnError : true; + return isolate$._unsupported(); + } +}; +(isolate$._ReceivePort.new = function(debugName = "") { + if (debugName == null) dart.nullFailed(I[130], 97, 24, "debugName"); + isolate$._ReceivePort.__proto__.new.call(this); + ; +}).prototype = isolate$._ReceivePort.prototype; +dart.addTypeTests(isolate$._ReceivePort); +dart.addTypeCaches(isolate$._ReceivePort); +isolate$._ReceivePort[dart.implements] = () => [isolate$.ReceivePort]; +dart.setMethodSignature(isolate$._ReceivePort, () => ({ + __proto__: dart.getMethods(isolate$._ReceivePort.__proto__), + close: dart.fnType(dart.void, []), + listen: dart.fnType(async.StreamSubscription, [dart.nullable(dart.fnType(dart.void, [dart.dynamic]))], {cancelOnError: dart.nullable(core.bool), onDone: dart.nullable(dart.fnType(dart.void, [])), onError: dart.nullable(core.Function)}, {}) +})); +dart.setGetterSignature(isolate$._ReceivePort, () => ({ + __proto__: dart.getGetters(isolate$._ReceivePort.__proto__), + sendPort: isolate$.SendPort +})); +dart.setLibraryUri(isolate$._ReceivePort, I[131]); +var message$10 = dart.privateName(isolate$, "IsolateSpawnException.message"); +isolate$.IsolateSpawnException = class IsolateSpawnException extends core.Object { + get message() { + return this[message$10]; + } + set message(value) { + super.message = value; + } + toString() { + return "IsolateSpawnException: " + dart.str(this.message); + } +}; +(isolate$.IsolateSpawnException.new = function(message) { + if (message == null) dart.nullFailed(I[132], 28, 30, "message"); + this[message$10] = message; + ; +}).prototype = isolate$.IsolateSpawnException.prototype; +dart.addTypeTests(isolate$.IsolateSpawnException); +dart.addTypeCaches(isolate$.IsolateSpawnException); +isolate$.IsolateSpawnException[dart.implements] = () => [core.Exception]; +dart.setLibraryUri(isolate$.IsolateSpawnException, I[131]); +dart.setFieldSignature(isolate$.IsolateSpawnException, () => ({ + __proto__: dart.getFields(isolate$.IsolateSpawnException.__proto__), + message: dart.finalFieldType(core.String) +})); +dart.defineExtensionMethods(isolate$.IsolateSpawnException, ['toString']); +var controlPort$ = dart.privateName(isolate$, "Isolate.controlPort"); +var pauseCapability$ = dart.privateName(isolate$, "Isolate.pauseCapability"); +var terminateCapability$ = dart.privateName(isolate$, "Isolate.terminateCapability"); +var _pause = dart.privateName(isolate$, "_pause"); +isolate$.Isolate = class Isolate extends core.Object { + get controlPort() { + return this[controlPort$]; + } + set controlPort(value) { + super.controlPort = value; + } + get pauseCapability() { + return this[pauseCapability$]; + } + set pauseCapability(value) { + super.pauseCapability = value; + } + get terminateCapability() { + return this[terminateCapability$]; + } + set terminateCapability(value) { + super.terminateCapability = value; + } + get debugName() { + return isolate$._unsupported(); + } + static get current() { + return isolate$._unsupported(); + } + static get packageRoot() { + return isolate$._unsupported(); + } + static get packageConfig() { + return isolate$._unsupported(); + } + static resolvePackageUri(packageUri) { + if (packageUri == null) dart.nullFailed(I[130], 28, 45, "packageUri"); + return isolate$._unsupported(); + } + static spawn(T, entryPoint, message, opts) { + if (entryPoint == null) dart.nullFailed(I[130], 31, 40, "entryPoint"); + let paused = opts && 'paused' in opts ? opts.paused : false; + if (paused == null) dart.nullFailed(I[130], 32, 17, "paused"); + let errorsAreFatal = opts && 'errorsAreFatal' in opts ? opts.errorsAreFatal : true; + if (errorsAreFatal == null) dart.nullFailed(I[130], 33, 16, "errorsAreFatal"); + let onExit = opts && 'onExit' in opts ? opts.onExit : null; + let onError = opts && 'onError' in opts ? opts.onError : null; + return isolate$._unsupported(); + } + static spawnUri(uri, args, message, opts) { + if (uri == null) dart.nullFailed(I[130], 39, 39, "uri"); + if (args == null) dart.nullFailed(I[130], 39, 57, "args"); + let paused = opts && 'paused' in opts ? opts.paused : false; + if (paused == null) dart.nullFailed(I[130], 40, 17, "paused"); + let onExit = opts && 'onExit' in opts ? opts.onExit : null; + let onError = opts && 'onError' in opts ? opts.onError : null; + let errorsAreFatal = opts && 'errorsAreFatal' in opts ? opts.errorsAreFatal : true; + if (errorsAreFatal == null) dart.nullFailed(I[130], 43, 16, "errorsAreFatal"); + let checked = opts && 'checked' in opts ? opts.checked : null; + let environment = opts && 'environment' in opts ? opts.environment : null; + let packageRoot = opts && 'packageRoot' in opts ? opts.packageRoot : null; + let packageConfig = opts && 'packageConfig' in opts ? opts.packageConfig : null; + let automaticPackageResolution = opts && 'automaticPackageResolution' in opts ? opts.automaticPackageResolution : false; + if (automaticPackageResolution == null) dart.nullFailed(I[130], 48, 16, "automaticPackageResolution"); + let debugName = opts && 'debugName' in opts ? opts.debugName : null; + return isolate$._unsupported(); + } + pause(resumeCapability = null) { + resumeCapability == null ? resumeCapability = isolate$.Capability.new() : null; + this[_pause](resumeCapability); + return resumeCapability; + } + [_pause](resumeCapability) { + if (resumeCapability == null) dart.nullFailed(I[130], 53, 26, "resumeCapability"); + return isolate$._unsupported(); + } + resume(resumeCapability) { + if (resumeCapability == null) dart.nullFailed(I[130], 56, 26, "resumeCapability"); + return isolate$._unsupported(); + } + addOnExitListener(responsePort, opts) { + if (responsePort == null) dart.nullFailed(I[130], 59, 35, "responsePort"); + let response = opts && 'response' in opts ? opts.response : null; + return isolate$._unsupported(); + } + removeOnExitListener(responsePort) { + if (responsePort == null) dart.nullFailed(I[130], 63, 38, "responsePort"); + return isolate$._unsupported(); + } + setErrorsFatal(errorsAreFatal) { + if (errorsAreFatal == null) dart.nullFailed(I[130], 66, 28, "errorsAreFatal"); + return isolate$._unsupported(); + } + kill(opts) { + let priority = opts && 'priority' in opts ? opts.priority : 1; + if (priority == null) dart.nullFailed(I[130], 69, 18, "priority"); + return isolate$._unsupported(); + } + ping(responsePort, opts) { + if (responsePort == null) dart.nullFailed(I[130], 71, 22, "responsePort"); + let response = opts && 'response' in opts ? opts.response : null; + let priority = opts && 'priority' in opts ? opts.priority : 0; + if (priority == null) dart.nullFailed(I[130], 72, 34, "priority"); + return isolate$._unsupported(); + } + addErrorListener(port) { + if (port == null) dart.nullFailed(I[130], 76, 34, "port"); + return isolate$._unsupported(); + } + removeErrorListener(port) { + if (port == null) dart.nullFailed(I[130], 79, 37, "port"); + return isolate$._unsupported(); + } + get errors() { + let controller = async.StreamController.broadcast({sync: true}); + let port = null; + function handleError(message) { + let listMessage = T$.ListOfObjectN().as(message); + let errorDescription = core.String.as(listMessage[$_get](0)); + let stackDescription = core.String.as(listMessage[$_get](1)); + let error = new isolate$.RemoteError.new(errorDescription, stackDescription); + controller.addError(error, error.stackTrace); + } + dart.fn(handleError, T$.ObjectNTovoid()); + controller.onListen = dart.fn(() => { + let receivePort = isolate$.RawReceivePort.new(handleError); + port = receivePort; + this.addErrorListener(receivePort.sendPort); + }, T$.VoidTovoid()); + controller.onCancel = dart.fn(() => { + let listenPort = dart.nullCheck(port); + port = null; + this.removeErrorListener(listenPort.sendPort); + listenPort.close(); + }, T$.VoidToNull()); + return controller.stream; + } +}; +(isolate$.Isolate.new = function(controlPort, opts) { + if (controlPort == null) dart.nullFailed(I[132], 141, 16, "controlPort"); + let pauseCapability = opts && 'pauseCapability' in opts ? opts.pauseCapability : null; + let terminateCapability = opts && 'terminateCapability' in opts ? opts.terminateCapability : null; + this[controlPort$] = controlPort; + this[pauseCapability$] = pauseCapability; + this[terminateCapability$] = terminateCapability; + ; +}).prototype = isolate$.Isolate.prototype; +dart.addTypeTests(isolate$.Isolate); +dart.addTypeCaches(isolate$.Isolate); +dart.setMethodSignature(isolate$.Isolate, () => ({ + __proto__: dart.getMethods(isolate$.Isolate.__proto__), + pause: dart.fnType(isolate$.Capability, [], [dart.nullable(isolate$.Capability)]), + [_pause]: dart.fnType(dart.void, [isolate$.Capability]), + resume: dart.fnType(dart.void, [isolate$.Capability]), + addOnExitListener: dart.fnType(dart.void, [isolate$.SendPort], {response: dart.nullable(core.Object)}, {}), + removeOnExitListener: dart.fnType(dart.void, [isolate$.SendPort]), + setErrorsFatal: dart.fnType(dart.void, [core.bool]), + kill: dart.fnType(dart.void, [], {priority: core.int}, {}), + ping: dart.fnType(dart.void, [isolate$.SendPort], {priority: core.int, response: dart.nullable(core.Object)}, {}), + addErrorListener: dart.fnType(dart.void, [isolate$.SendPort]), + removeErrorListener: dart.fnType(dart.void, [isolate$.SendPort]) +})); +dart.setGetterSignature(isolate$.Isolate, () => ({ + __proto__: dart.getGetters(isolate$.Isolate.__proto__), + debugName: dart.nullable(core.String), + errors: async.Stream +})); +dart.setLibraryUri(isolate$.Isolate, I[131]); +dart.setFieldSignature(isolate$.Isolate, () => ({ + __proto__: dart.getFields(isolate$.Isolate.__proto__), + controlPort: dart.finalFieldType(isolate$.SendPort), + pauseCapability: dart.finalFieldType(dart.nullable(isolate$.Capability)), + terminateCapability: dart.finalFieldType(dart.nullable(isolate$.Capability)) +})); +dart.defineLazy(isolate$.Isolate, { + /*isolate$.Isolate.immediate*/get immediate() { + return 0; + }, + /*isolate$.Isolate.beforeNextEvent*/get beforeNextEvent() { + return 1; + } +}, false); +isolate$.SendPort = class SendPort extends core.Object {}; +(isolate$.SendPort.new = function() { + ; +}).prototype = isolate$.SendPort.prototype; +dart.addTypeTests(isolate$.SendPort); +dart.addTypeCaches(isolate$.SendPort); +isolate$.SendPort[dart.implements] = () => [isolate$.Capability]; +dart.setLibraryUri(isolate$.SendPort, I[131]); +isolate$.ReceivePort = class ReceivePort extends core.Object { + static fromRawReceivePort(rawPort) { + if (rawPort == null) dart.nullFailed(I[130], 89, 57, "rawPort"); + return isolate$._unsupported(); + } +}; +(isolate$.ReceivePort[dart.mixinNew] = function() { +}).prototype = isolate$.ReceivePort.prototype; +isolate$.ReceivePort.prototype[dart.isStream] = true; +dart.addTypeTests(isolate$.ReceivePort); +dart.addTypeCaches(isolate$.ReceivePort); +isolate$.ReceivePort[dart.implements] = () => [async.Stream]; +dart.setLibraryUri(isolate$.ReceivePort, I[131]); +isolate$.RawReceivePort = class RawReceivePort extends core.Object { + static new(handler = null, debugName = "") { + if (debugName == null) dart.nullFailed(I[130], 113, 53, "debugName"); + return isolate$._unsupported(); + } +}; +(isolate$.RawReceivePort[dart.mixinNew] = function() { +}).prototype = isolate$.RawReceivePort.prototype; +dart.addTypeTests(isolate$.RawReceivePort); +dart.addTypeCaches(isolate$.RawReceivePort); +dart.setLibraryUri(isolate$.RawReceivePort, I[131]); +var stackTrace$0 = dart.privateName(isolate$, "RemoteError.stackTrace"); +var _description = dart.privateName(isolate$, "_description"); +isolate$.RemoteError = class RemoteError extends core.Object { + get stackTrace() { + return this[stackTrace$0]; + } + set stackTrace(value) { + super.stackTrace = value; + } + toString() { + return this[_description]; + } +}; +(isolate$.RemoteError.new = function(description, stackDescription) { + if (description == null) dart.nullFailed(I[132], 714, 22, "description"); + if (stackDescription == null) dart.nullFailed(I[132], 714, 42, "stackDescription"); + this[_description] = description; + this[stackTrace$0] = new core._StringStackTrace.new(stackDescription); + ; +}).prototype = isolate$.RemoteError.prototype; +dart.addTypeTests(isolate$.RemoteError); +dart.addTypeCaches(isolate$.RemoteError); +isolate$.RemoteError[dart.implements] = () => [core.Error]; +dart.setLibraryUri(isolate$.RemoteError, I[131]); +dart.setFieldSignature(isolate$.RemoteError, () => ({ + __proto__: dart.getFields(isolate$.RemoteError.__proto__), + [_description]: dart.finalFieldType(core.String), + stackTrace: dart.finalFieldType(core.StackTrace) +})); +dart.defineExtensionMethods(isolate$.RemoteError, ['toString']); +dart.defineExtensionAccessors(isolate$.RemoteError, ['stackTrace']); +isolate$.TransferableTypedData = class TransferableTypedData extends core.Object { + static fromList(list) { + if (list == null) dart.nullFailed(I[130], 126, 58, "list"); + return isolate$._unsupported(); + } +}; +(isolate$.TransferableTypedData[dart.mixinNew] = function() { +}).prototype = isolate$.TransferableTypedData.prototype; +dart.addTypeTests(isolate$.TransferableTypedData); +dart.addTypeCaches(isolate$.TransferableTypedData); +dart.setLibraryUri(isolate$.TransferableTypedData, I[131]); +isolate$.Capability = class Capability extends core.Object { + static new() { + return isolate$._unsupported(); + } +}; +(isolate$.Capability[dart.mixinNew] = function() { +}).prototype = isolate$.Capability.prototype; +dart.addTypeTests(isolate$.Capability); +dart.addTypeCaches(isolate$.Capability); +dart.setLibraryUri(isolate$.Capability, I[131]); +isolate$._unsupported = function _unsupported() { + dart.throw(new core.UnsupportedError.new("dart:isolate is not supported on dart4web")); +}; +var _dartObj$ = dart.privateName(js, "_dartObj"); +js._DartObject = class _DartObject extends core.Object {}; +(js._DartObject.new = function(_dartObj) { + if (_dartObj == null) dart.nullFailed(I[133], 327, 20, "_dartObj"); + this[_dartObj$] = _dartObj; + ; +}).prototype = js._DartObject.prototype; +dart.addTypeTests(js._DartObject); +dart.addTypeCaches(js._DartObject); +dart.setLibraryUri(js._DartObject, I[134]); +dart.setFieldSignature(js._DartObject, () => ({ + __proto__: dart.getFields(js._DartObject.__proto__), + [_dartObj$]: dart.finalFieldType(core.Object) +})); +var _jsObject$ = dart.privateName(js, "_jsObject"); +js.JsObject = class JsObject extends core.Object { + static _convertDataTree(data) { + if (data == null) dart.nullFailed(I[133], 55, 34, "data"); + let _convertedObjects = new _js_helper.IdentityMap.new(); + function _convert(o) { + if (dart.test(_convertedObjects[$containsKey](o))) { + return _convertedObjects[$_get](o); + } + if (core.Map.is(o)) { + let convertedMap = {}; + _convertedObjects[$_set](o, convertedMap); + for (let key of o[$keys]) { + convertedMap[key] = _convert(o[$_get](key)); + } + return convertedMap; + } else if (core.Iterable.is(o)) { + let convertedList = []; + _convertedObjects[$_set](o, convertedList); + convertedList[$addAll](o[$map](dart.dynamic, _convert)); + return convertedList; + } else { + return js._convertToJS(o); + } + } + dart.fn(_convert, T$0.ObjectNTodynamic()); + return _convert(data); + } + static new(constructor, $arguments = null) { + if (constructor == null) dart.nullFailed(I[133], 30, 31, "constructor"); + let ctor = constructor[_jsObject$]; + if ($arguments == null) { + return js._wrapToDart(new ctor()); + } + let unwrapped = core.List.from($arguments[$map](dart.dynamic, C[209] || CT.C209)); + return js._wrapToDart(new ctor(...unwrapped)); + } + static fromBrowserObject(object) { + if (object == null) dart.nullFailed(I[133], 40, 45, "object"); + if (typeof object == 'number' || typeof object == 'string' || typeof object == 'boolean' || object == null) { + dart.throw(new core.ArgumentError.new("object cannot be a num, string, bool, or null")); + } + return js._wrapToDart(dart.nullCheck(js._convertToJS(object))); + } + static jsify(object) { + if (object == null) dart.nullFailed(I[133], 48, 33, "object"); + if (!core.Map.is(object) && !core.Iterable.is(object)) { + dart.throw(new core.ArgumentError.new("object must be a Map or Iterable")); + } + return js._wrapToDart(core.Object.as(js.JsObject._convertDataTree(object))); + } + _get(property) { + if (property == null) dart.nullFailed(I[133], 83, 30, "property"); + if (!(typeof property == 'string') && !(typeof property == 'number')) { + dart.throw(new core.ArgumentError.new("property is not a String or num")); + } + return js._convertToDart(this[_jsObject$][property]); + } + _set(property, value$) { + let value = value$; + if (property == null) dart.nullFailed(I[133], 91, 28, "property"); + if (!(typeof property == 'string') && !(typeof property == 'number')) { + dart.throw(new core.ArgumentError.new("property is not a String or num")); + } + this[_jsObject$][property] = js._convertToJS(value); + return value$; + } + get hashCode() { + return 0; + } + _equals(other) { + if (other == null) return false; + return js.JsObject.is(other) && this[_jsObject$] === other[_jsObject$]; + } + hasProperty(property) { + if (property == null) dart.nullFailed(I[133], 103, 27, "property"); + if (!(typeof property == 'string') && !(typeof property == 'number')) { + dart.throw(new core.ArgumentError.new("property is not a String or num")); + } + return property in this[_jsObject$]; + } + deleteProperty(property) { + if (property == null) dart.nullFailed(I[133], 111, 30, "property"); + if (!(typeof property == 'string') && !(typeof property == 'number')) { + dart.throw(new core.ArgumentError.new("property is not a String or num")); + } + delete this[_jsObject$][property]; + } + instanceof(type) { + if (type == null) dart.nullFailed(I[133], 119, 30, "type"); + return this[_jsObject$] instanceof js._convertToJS(type); + } + toString() { + try { + return String(this[_jsObject$]); + } catch (e$) { + let e = dart.getThrown(e$); + if (core.Object.is(e)) { + return super[$toString](); + } else + throw e$; + } + } + callMethod(method, args = null) { + if (method == null) dart.nullFailed(I[133], 133, 29, "method"); + if (!(typeof method == 'string') && !(typeof method == 'number')) { + dart.throw(new core.ArgumentError.new("method is not a String or num")); + } + if (args != null) args = core.List.from(args[$map](dart.dynamic, C[209] || CT.C209)); + let fn = this[_jsObject$][method]; + if (typeof fn !== "function") { + dart.throw(new core.NoSuchMethodError.new(this[_jsObject$], new _internal.Symbol.new(dart.str(method)), args, new (T$0.LinkedMapOfSymbol$dynamic()).new())); + } + return js._convertToDart(fn.apply(this[_jsObject$], args)); + } +}; +(js.JsObject._fromJs = function(_jsObject) { + if (_jsObject == null) dart.nullFailed(I[133], 25, 25, "_jsObject"); + this[_jsObject$] = _jsObject; + if (!(this[_jsObject$] != null)) dart.assertFailed(null, I[133], 26, 12, "_jsObject != null"); +}).prototype = js.JsObject.prototype; +dart.addTypeTests(js.JsObject); +dart.addTypeCaches(js.JsObject); +dart.setMethodSignature(js.JsObject, () => ({ + __proto__: dart.getMethods(js.JsObject.__proto__), + _get: dart.fnType(dart.dynamic, [core.Object]), + _set: dart.fnType(dart.void, [core.Object, dart.nullable(core.Object)]), + hasProperty: dart.fnType(core.bool, [core.Object]), + deleteProperty: dart.fnType(dart.void, [core.Object]), + instanceof: dart.fnType(core.bool, [js.JsFunction]), + callMethod: dart.fnType(dart.dynamic, [core.Object], [dart.nullable(core.List)]) +})); +dart.setLibraryUri(js.JsObject, I[134]); +dart.setFieldSignature(js.JsObject, () => ({ + __proto__: dart.getFields(js.JsObject.__proto__), + [_jsObject$]: dart.finalFieldType(core.Object) +})); +dart.defineExtensionMethods(js.JsObject, ['_equals', 'toString']); +dart.defineExtensionAccessors(js.JsObject, ['hashCode']); +js.JsFunction = class JsFunction extends js.JsObject { + static withThis(f) { + if (f == null) dart.nullFailed(I[133], 149, 40, "f"); + return new js.JsFunction._fromJs(function() { + let args = [js._convertToDart(this)]; + for (let arg of arguments) { + args.push(js._convertToDart(arg)); + } + return js._convertToJS(f(...args)); + }); + } + apply(args, opts) { + if (args == null) dart.nullFailed(I[133], 168, 22, "args"); + let thisArg = opts && 'thisArg' in opts ? opts.thisArg : null; + return js._convertToDart(this[_jsObject$].apply(js._convertToJS(thisArg), args == null ? null : core.List.from(args[$map](dart.dynamic, js._convertToJS)))); + } +}; +(js.JsFunction._fromJs = function(jsObject) { + if (jsObject == null) dart.nullFailed(I[133], 165, 29, "jsObject"); + js.JsFunction.__proto__._fromJs.call(this, jsObject); + ; +}).prototype = js.JsFunction.prototype; +dart.addTypeTests(js.JsFunction); +dart.addTypeCaches(js.JsFunction); +dart.setMethodSignature(js.JsFunction, () => ({ + __proto__: dart.getMethods(js.JsFunction.__proto__), + apply: dart.fnType(dart.dynamic, [core.List], {thisArg: dart.dynamic}, {}) +})); +dart.setLibraryUri(js.JsFunction, I[134]); +var _checkIndex = dart.privateName(js, "_checkIndex"); +var _checkInsertIndex = dart.privateName(js, "_checkInsertIndex"); +const _is_JsArray_default = Symbol('_is_JsArray_default'); +js.JsArray$ = dart.generic(E => { + var IterableOfE = () => (IterableOfE = dart.constFn(core.Iterable$(E)))(); + const JsObject_ListMixin$36 = class JsObject_ListMixin extends js.JsObject { + _set(property, value$) { + let value = value$; + if (property == null) dart.nullFailed(I[135], 175, 7, "property"); + super._set(property, value); + return value$; + } + }; + (JsObject_ListMixin$36._fromJs = function(_jsObject) { + JsObject_ListMixin$36.__proto__._fromJs.call(this, _jsObject); + }).prototype = JsObject_ListMixin$36.prototype; + dart.applyMixin(JsObject_ListMixin$36, collection.ListMixin$(E)); + class JsArray extends JsObject_ListMixin$36 { + [_checkIndex](index) { + if (index == null) dart.nullFailed(I[133], 188, 19, "index"); + if (dart.notNull(index) < 0 || dart.notNull(index) >= dart.notNull(this.length)) { + dart.throw(new core.RangeError.range(index, 0, this.length)); + } + } + [_checkInsertIndex](index) { + if (index == null) dart.nullFailed(I[133], 194, 25, "index"); + if (dart.notNull(index) < 0 || dart.notNull(index) >= dart.notNull(this.length) + 1) { + dart.throw(new core.RangeError.range(index, 0, this.length)); + } + } + static _checkRange(start, end, length) { + if (start == null) dart.nullFailed(I[133], 200, 26, "start"); + if (end == null) dart.nullFailed(I[133], 200, 37, "end"); + if (length == null) dart.nullFailed(I[133], 200, 46, "length"); + if (dart.notNull(start) < 0 || dart.notNull(start) > dart.notNull(length)) { + dart.throw(new core.RangeError.range(start, 0, length)); + } + if (dart.notNull(end) < dart.notNull(start) || dart.notNull(end) > dart.notNull(length)) { + dart.throw(new core.RangeError.range(end, start, length)); + } + } + static new() { + return new (js.JsArray$(E))._fromJs([]); + } + static from(other) { + let t219; + if (other == null) dart.nullFailed(I[133], 183, 36, "other"); + return new (js.JsArray$(E))._fromJs((t219 = [], (() => { + t219[$addAll](other[$map](dart.dynamic, C[209] || CT.C209)); + return t219; + })())); + } + _get(index) { + if (index == null) dart.nullFailed(I[133], 210, 24, "index"); + if (core.int.is(index)) { + this[_checkIndex](index); + } + return E.as(super._get(index)); + } + _set(index, value$) { + let value = value$; + if (index == null) dart.nullFailed(I[133], 218, 28, "index"); + if (core.int.is(index)) { + this[_checkIndex](index); + } + super._set(index, value); + return value$; + } + get length() { + let len = this[_jsObject$].length; + if (typeof len === "number" && len >>> 0 === len) { + return len; + } + dart.throw(new core.StateError.new("Bad JsArray length")); + } + set length(length) { + if (length == null) dart.nullFailed(I[133], 238, 23, "length"); + super._set("length", length); + } + add(value) { + E.as(value); + this.callMethod("push", [value]); + } + addAll(iterable) { + IterableOfE().as(iterable); + if (iterable == null) dart.nullFailed(I[133], 248, 27, "iterable"); + let list = iterable instanceof Array ? iterable : core.List.from(iterable); + this.callMethod("push", list); + } + insert(index, element) { + if (index == null) dart.nullFailed(I[133], 256, 19, "index"); + E.as(element); + this[_checkInsertIndex](index); + this.callMethod("splice", [index, 0, element]); + } + removeAt(index) { + if (index == null) dart.nullFailed(I[133], 262, 18, "index"); + this[_checkIndex](index); + return E.as(dart.dsend(this.callMethod("splice", [index, 1]), '_get', [0])); + } + removeLast() { + if (this.length === 0) dart.throw(new core.RangeError.new(-1)); + return E.as(this.callMethod("pop")); + } + removeRange(start, end) { + if (start == null) dart.nullFailed(I[133], 274, 24, "start"); + if (end == null) dart.nullFailed(I[133], 274, 35, "end"); + js.JsArray._checkRange(start, end, this.length); + this.callMethod("splice", [start, dart.notNull(end) - dart.notNull(start)]); + } + setRange(start, end, iterable, skipCount = 0) { + let t219; + if (start == null) dart.nullFailed(I[133], 280, 21, "start"); + if (end == null) dart.nullFailed(I[133], 280, 32, "end"); + IterableOfE().as(iterable); + if (iterable == null) dart.nullFailed(I[133], 280, 49, "iterable"); + if (skipCount == null) dart.nullFailed(I[133], 280, 64, "skipCount"); + js.JsArray._checkRange(start, end, this.length); + let length = dart.notNull(end) - dart.notNull(start); + if (length === 0) return; + if (dart.notNull(skipCount) < 0) dart.throw(new core.ArgumentError.new(skipCount)); + let args = (t219 = T$.JSArrayOfObjectN().of([start, length]), (() => { + t219[$addAll](iterable[$skip](skipCount)[$take](length)); + return t219; + })()); + this.callMethod("splice", args); + } + sort(compare = null) { + this.callMethod("sort", compare == null ? [] : [compare]); + } + } + (JsArray._fromJs = function(jsObject) { + if (jsObject == null) dart.nullFailed(I[133], 186, 26, "jsObject"); + JsArray.__proto__._fromJs.call(this, jsObject); + ; + }).prototype = JsArray.prototype; + dart.addTypeTests(JsArray); + JsArray.prototype[_is_JsArray_default] = true; + dart.addTypeCaches(JsArray); + dart.setMethodSignature(JsArray, () => ({ + __proto__: dart.getMethods(JsArray.__proto__), + [_checkIndex]: dart.fnType(dart.dynamic, [core.int]), + [_checkInsertIndex]: dart.fnType(dart.dynamic, [core.int]), + _get: dart.fnType(E, [core.Object]), + [$_get]: dart.fnType(E, [core.Object]), + _set: dart.fnType(dart.void, [core.Object, dart.dynamic]), + [$_set]: dart.fnType(dart.void, [core.Object, dart.dynamic]) + })); + dart.setGetterSignature(JsArray, () => ({ + __proto__: dart.getGetters(JsArray.__proto__), + length: core.int, + [$length]: core.int + })); + dart.setSetterSignature(JsArray, () => ({ + __proto__: dart.getSetters(JsArray.__proto__), + length: core.int, + [$length]: core.int + })); + dart.setLibraryUri(JsArray, I[134]); + dart.defineExtensionMethods(JsArray, [ + '_get', + '_set', + 'add', + 'addAll', + 'insert', + 'removeAt', + 'removeLast', + 'removeRange', + 'setRange', + 'sort' + ]); + dart.defineExtensionAccessors(JsArray, ['length']); + return JsArray; +}); +js.JsArray = js.JsArray$(); +dart.addTypeTests(js.JsArray, _is_JsArray_default); +js._isBrowserType = function _isBrowserType(o) { + if (o == null) dart.nullFailed(I[133], 301, 28, "o"); + return o instanceof Object && (o instanceof Blob || o instanceof Event || window.KeyRange && o instanceof KeyRange || window.IDBKeyRange && o instanceof IDBKeyRange || o instanceof ImageData || o instanceof Node || window.DataView && o instanceof DataView || window.Int8Array && o instanceof Int8Array.__proto__ || o instanceof Window); +}; +js._convertToJS = function _convertToJS(o) { + if (o == null || typeof o == 'string' || typeof o == 'number' || typeof o == 'boolean' || dart.test(js._isBrowserType(o))) { + return o; + } else if (core.DateTime.is(o)) { + return _js_helper.Primitives.lazyAsJsDate(o); + } else if (js.JsObject.is(o)) { + return o[_jsObject$]; + } else if (core.Function.is(o)) { + return js._putIfAbsent(js._jsProxies, o, C[210] || CT.C210); + } else { + return js._putIfAbsent(js._jsProxies, o, dart.fn(o => { + if (o == null) dart.nullFailed(I[133], 342, 41, "o"); + return new js._DartObject.new(o); + }, T$0.ObjectTo_DartObject())); + } +}; +js._wrapDartFunction = function _wrapDartFunction(f) { + if (f == null) dart.nullFailed(I[133], 346, 33, "f"); + let wrapper = function() { + let args = Array.prototype.map.call(arguments, js._convertToDart); + return js._convertToJS(f(...args)); + }; + js._dartProxies.set(wrapper, f); + return wrapper; +}; +js._convertToDart = function _convertToDart(o) { + if (o == null || typeof o == 'string' || typeof o == 'number' || typeof o == 'boolean' || dart.test(js._isBrowserType(o))) { + return o; + } else if (o instanceof Date) { + let ms = o.getTime(); + return new core.DateTime.fromMillisecondsSinceEpoch(ms); + } else if (js._DartObject.is(o) && !core.identical(dart.getReifiedType(o), dart.jsobject)) { + return o[_dartObj$]; + } else { + return js._wrapToDart(o); + } +}; +js._wrapToDart = function _wrapToDart(o) { + if (o == null) dart.nullFailed(I[133], 377, 29, "o"); + return js._putIfAbsent(js._dartProxies, o, C[211] || CT.C211); +}; +js._wrapToDartHelper = function _wrapToDartHelper(o) { + if (o == null) dart.nullFailed(I[133], 380, 35, "o"); + if (typeof o == "function") { + return new js.JsFunction._fromJs(o); + } + if (o instanceof Array) { + return new js.JsArray._fromJs(o); + } + return new js.JsObject._fromJs(o); +}; +js._putIfAbsent = function _putIfAbsent(weakMap, o, getValue) { + if (weakMap == null) dart.nullFailed(I[133], 394, 26, "weakMap"); + if (o == null) dart.nullFailed(I[133], 394, 42, "o"); + if (getValue == null) dart.nullFailed(I[133], 394, 47, "getValue"); + let value = weakMap.get(o); + if (value == null) { + value = getValue(o); + weakMap.set(o, value); + } + return value; +}; +js.allowInterop = function allowInterop(F, f) { + if (f == null) dart.nullFailed(I[133], 407, 38, "f"); + if (!dart.test(dart.isDartFunction(f))) return f; + let ret = dart.nullable(F).as(js._interopExpando._get(f)); + if (ret == null) { + ret = function(...args) { + return dart.dcall(f, args); + }; + js._interopExpando._set(f, ret); + } + return ret; +}; +js.allowInteropCaptureThis = function allowInteropCaptureThis(f) { + if (f == null) dart.nullFailed(I[133], 426, 43, "f"); + if (!dart.test(dart.isDartFunction(f))) return f; + let ret = js._interopCaptureThisExpando._get(f); + if (ret == null) { + ret = function(...arguments$) { + let args = [this]; + args.push.apply(args, arguments$); + return dart.dcall(f, args); + }; + js._interopCaptureThisExpando._set(f, ret); + } + return ret; +}; +dart.copyProperties(js, { + get context() { + return js._context; + } +}); +dart.defineLazy(js, { + /*js._context*/get _context() { + return js._wrapToDart(dart.global); + }, + /*js._dartProxies*/get _dartProxies() { + return new WeakMap(); + }, + /*js._jsProxies*/get _jsProxies() { + return new WeakMap(); + }, + /*js._interopExpando*/get _interopExpando() { + return new (T$.ExpandoOfFunction()).new(); + }, + set _interopExpando(_) {}, + /*js._interopCaptureThisExpando*/get _interopCaptureThisExpando() { + return new (T$.ExpandoOfFunction()).new(); + }, + set _interopCaptureThisExpando(_) {} +}, false); +var isUndefined$ = dart.privateName(js_util, "NullRejectionException.isUndefined"); +js_util.NullRejectionException = class NullRejectionException extends core.Object { + get isUndefined() { + return this[isUndefined$]; + } + set isUndefined(value) { + super.isUndefined = value; + } + toString() { + let value = dart.test(this.isUndefined) ? "undefined" : "null"; + return "Promise was rejected with a value of `" + value + "`."; + } +}; +(js_util.NullRejectionException.__ = function(isUndefined) { + if (isUndefined == null) dart.nullFailed(I[136], 161, 33, "isUndefined"); + this[isUndefined$] = isUndefined; + ; +}).prototype = js_util.NullRejectionException.prototype; +dart.addTypeTests(js_util.NullRejectionException); +dart.addTypeCaches(js_util.NullRejectionException); +js_util.NullRejectionException[dart.implements] = () => [core.Exception]; +dart.setLibraryUri(js_util.NullRejectionException, I[137]); +dart.setFieldSignature(js_util.NullRejectionException, () => ({ + __proto__: dart.getFields(js_util.NullRejectionException.__proto__), + isUndefined: dart.finalFieldType(core.bool) +})); +dart.defineExtensionMethods(js_util.NullRejectionException, ['toString']); +js_util.jsify = function jsify(object) { + if (object == null) dart.nullFailed(I[136], 33, 22, "object"); + if (!core.Map.is(object) && !core.Iterable.is(object)) { + dart.throw(new core.ArgumentError.new("object must be a Map or Iterable")); + } + return js_util._convertDataTree(object); +}; +js_util._convertDataTree = function _convertDataTree(data) { + if (data == null) dart.nullFailed(I[136], 40, 32, "data"); + let _convertedObjects = new _js_helper.IdentityMap.new(); + function _convert(o) { + if (dart.test(_convertedObjects[$containsKey](o))) { + return _convertedObjects[$_get](o); + } + if (core.Map.is(o)) { + let convertedMap = {}; + _convertedObjects[$_set](o, convertedMap); + for (let key of o[$keys]) { + convertedMap[key] = _convert(o[$_get](key)); + } + return convertedMap; + } else if (core.Iterable.is(o)) { + let convertedList = []; + _convertedObjects[$_set](o, convertedList); + convertedList[$addAll](o[$map](dart.dynamic, _convert)); + return convertedList; + } else { + return o; + } + } + dart.fn(_convert, T$.ObjectNToObjectN()); + return dart.nullCheck(_convert(data)); +}; +js_util.newObject = function newObject() { + return {}; +}; +js_util.hasProperty = function hasProperty(o, name) { + if (o == null) dart.nullFailed(I[136], 69, 25, "o"); + if (name == null) dart.nullFailed(I[136], 69, 35, "name"); + return name in o; +}; +js_util.getProperty = function getProperty(o, name) { + if (o == null) dart.nullFailed(I[136], 71, 28, "o"); + if (name == null) dart.nullFailed(I[136], 71, 38, "name"); + return o[name]; +}; +js_util.setProperty = function setProperty(o, name, value) { + if (o == null) dart.nullFailed(I[136], 74, 28, "o"); + if (name == null) dart.nullFailed(I[136], 74, 38, "name"); + _js_helper.assertInterop(value); + return o[name] = value; +}; +js_util.callMethod = function callMethod$(o, method, args) { + if (o == null) dart.nullFailed(I[136], 79, 27, "o"); + if (method == null) dart.nullFailed(I[136], 79, 37, "method"); + if (args == null) dart.nullFailed(I[136], 79, 59, "args"); + _js_helper.assertInteropArgs(args); + return o[method].apply(o, args); +}; +js_util.instanceof = function $instanceof(o, type) { + if (type == null) dart.nullFailed(I[136], 88, 35, "type"); + return o instanceof type; +}; +js_util.callConstructor = function callConstructor(constr, $arguments) { + let t219; + if (constr == null) dart.nullFailed(I[136], 91, 32, "constr"); + if ($arguments == null) { + return new constr(); + } else { + _js_helper.assertInteropArgs($arguments); + } + if ($arguments instanceof Array) { + let argumentCount = $arguments.length; + switch (argumentCount) { + case 0: + { + return new constr(); + } + case 1: + { + let arg0 = $arguments[0]; + return new constr(arg0); + } + case 2: + { + let arg0 = $arguments[0]; + let arg1 = $arguments[1]; + return new constr(arg0, arg1); + } + case 3: + { + let arg0 = $arguments[0]; + let arg1 = $arguments[1]; + let arg2 = $arguments[2]; + return new constr(arg0, arg1, arg2); + } + case 4: + { + let arg0 = $arguments[0]; + let arg1 = $arguments[1]; + let arg2 = $arguments[2]; + let arg3 = $arguments[3]; + return new constr(arg0, arg1, arg2, arg3); + } + } + } + let args = (t219 = [null], (() => { + t219[$addAll]($arguments); + return t219; + })()); + let factoryFunction = constr.bind.apply(constr, args); + String(factoryFunction); + return new factoryFunction(); +}; +js_util.promiseToFuture = function promiseToFuture(T, jsPromise) { + if (jsPromise == null) dart.nullFailed(I[136], 180, 37, "jsPromise"); + let completer = async.Completer$(T).new(); + let success = _js_helper.convertDartClosureToJS(T$.dynamicTovoid(), dart.fn(r => completer.complete(dart.nullable(async.FutureOr$(T)).as(r)), T$.dynamicTovoid()), 1); + let error = _js_helper.convertDartClosureToJS(T$.dynamicTovoid(), dart.fn(e => { + if (e == null) { + return completer.completeError(new js_util.NullRejectionException.__(e === undefined)); + } + return completer.completeError(core.Object.as(e)); + }, T$.dynamicTovoid()), 1); + jsPromise.then(success, error); + return completer.future; +}; +math._JSRandom = class _JSRandom extends core.Object { + nextInt(max) { + if (max == null) dart.nullFailed(I[138], 85, 19, "max"); + if (dart.notNull(max) <= 0 || dart.notNull(max) > 4294967296.0) { + dart.throw(new core.RangeError.new("max must be in range 0 < max ≤ 2^32, was " + dart.str(max))); + } + return Math.random() * max >>> 0; + } + nextDouble() { + return Math.random(); + } + nextBool() { + return Math.random() < 0.5; + } +}; +(math._JSRandom.new = function() { + ; +}).prototype = math._JSRandom.prototype; +dart.addTypeTests(math._JSRandom); +dart.addTypeCaches(math._JSRandom); +math._JSRandom[dart.implements] = () => [math.Random]; +dart.setMethodSignature(math._JSRandom, () => ({ + __proto__: dart.getMethods(math._JSRandom.__proto__), + nextInt: dart.fnType(core.int, [core.int]), + nextDouble: dart.fnType(core.double, []), + nextBool: dart.fnType(core.bool, []) +})); +dart.setLibraryUri(math._JSRandom, I[139]); +var _lo = dart.privateName(math, "_lo"); +var _hi = dart.privateName(math, "_hi"); +var _nextState = dart.privateName(math, "_nextState"); +math._Random = class _Random extends core.Object { + [_nextState]() { + let tmpHi = 4294901760 * this[_lo]; + let tmpHiLo = (tmpHi & 4294967295.0) >>> 0; + let tmpHiHi = tmpHi - tmpHiLo; + let tmpLo = 55905 * this[_lo]; + let tmpLoLo = (tmpLo & 4294967295.0) >>> 0; + let tmpLoHi = tmpLo - tmpLoLo; + let newLo = tmpLoLo + tmpHiLo + this[_hi]; + this[_lo] = (newLo & 4294967295.0) >>> 0; + let newLoHi = newLo - this[_lo]; + this[_hi] = (((tmpLoHi + tmpHiHi + newLoHi) / 4294967296.0)[$truncate]() & 4294967295.0) >>> 0; + if (!(this[_lo] < 4294967296.0)) dart.assertFailed(null, I[138], 221, 12, "_lo < _POW2_32"); + if (!(this[_hi] < 4294967296.0)) dart.assertFailed(null, I[138], 222, 12, "_hi < _POW2_32"); + } + nextInt(max) { + if (max == null) dart.argumentError(max); + if (max <= 0 || max > 4294967296.0) { + dart.throw(new core.RangeError.new("max must be in range 0 < max ≤ 2^32, was " + dart.str(max))); + } + if ((max & max - 1) === 0) { + this[_nextState](); + return (this[_lo] & max - 1) >>> 0; + } + let rnd32 = null; + let result = null; + do { + this[_nextState](); + rnd32 = this[_lo]; + result = rnd32[$remainder](max)[$toInt](); + } while (dart.notNull(rnd32) - dart.notNull(result) + max >= 4294967296.0); + return result; + } + nextDouble() { + this[_nextState](); + let bits26 = (this[_lo] & (1 << 26) - 1) >>> 0; + this[_nextState](); + let bits27 = (this[_lo] & (1 << 27) - 1) >>> 0; + return (bits26 * 134217728 + bits27) / 9007199254740992.0; + } + nextBool() { + this[_nextState](); + return (this[_lo] & 1) === 0; + } +}; +(math._Random.new = function(seed) { + if (seed == null) dart.nullFailed(I[138], 130, 15, "seed"); + this[_lo] = 0; + this[_hi] = 0; + let empty_seed = 0; + if (dart.notNull(seed) < 0) { + empty_seed = -1; + } + do { + let low = (dart.notNull(seed) & 4294967295.0) >>> 0; + seed = ((dart.notNull(seed) - low) / 4294967296.0)[$truncate](); + let high = (dart.notNull(seed) & 4294967295.0) >>> 0; + seed = ((dart.notNull(seed) - high) / 4294967296.0)[$truncate](); + let tmplow = low << 21 >>> 0; + let tmphigh = (high << 21 | low[$rightShift](11)) >>> 0; + tmplow = ((~low & 4294967295.0) >>> 0) + tmplow; + low = (tmplow & 4294967295.0) >>> 0; + high = ((~high >>> 0) + tmphigh + ((tmplow - low) / 4294967296)[$truncate]() & 4294967295.0) >>> 0; + tmphigh = high[$rightShift](24); + tmplow = (low[$rightShift](24) | high << 8 >>> 0) >>> 0; + low = (low ^ tmplow) >>> 0; + high = (high ^ tmphigh) >>> 0; + tmplow = low * 265; + low = (tmplow & 4294967295.0) >>> 0; + high = (high * 265 + ((tmplow - low) / 4294967296)[$truncate]() & 4294967295.0) >>> 0; + tmphigh = high[$rightShift](14); + tmplow = (low[$rightShift](14) | high << 18 >>> 0) >>> 0; + low = (low ^ tmplow) >>> 0; + high = (high ^ tmphigh) >>> 0; + tmplow = low * 21; + low = (tmplow & 4294967295.0) >>> 0; + high = (high * 21 + ((tmplow - low) / 4294967296)[$truncate]() & 4294967295.0) >>> 0; + tmphigh = high[$rightShift](28); + tmplow = (low[$rightShift](28) | high << 4 >>> 0) >>> 0; + low = (low ^ tmplow) >>> 0; + high = (high ^ tmphigh) >>> 0; + tmplow = low << 31 >>> 0; + tmphigh = (high << 31 | low[$rightShift](1)) >>> 0; + tmplow = tmplow + low; + low = (tmplow & 4294967295.0) >>> 0; + high = (high + tmphigh + ((tmplow - low) / 4294967296)[$truncate]() & 4294967295.0) >>> 0; + tmplow = this[_lo] * 1037; + this[_lo] = (tmplow & 4294967295.0) >>> 0; + this[_hi] = (this[_hi] * 1037 + ((tmplow - this[_lo]) / 4294967296)[$truncate]() & 4294967295.0) >>> 0; + this[_lo] = (this[_lo] ^ low) >>> 0; + this[_hi] = (this[_hi] ^ high) >>> 0; + } while (seed !== empty_seed); + if (this[_hi] === 0 && this[_lo] === 0) { + this[_lo] = 23063; + } + this[_nextState](); + this[_nextState](); + this[_nextState](); + this[_nextState](); +}).prototype = math._Random.prototype; +dart.addTypeTests(math._Random); +dart.addTypeCaches(math._Random); +math._Random[dart.implements] = () => [math.Random]; +dart.setMethodSignature(math._Random, () => ({ + __proto__: dart.getMethods(math._Random.__proto__), + [_nextState]: dart.fnType(dart.void, []), + nextInt: dart.fnType(core.int, [core.int]), + nextDouble: dart.fnType(core.double, []), + nextBool: dart.fnType(core.bool, []) +})); +dart.setLibraryUri(math._Random, I[139]); +dart.setFieldSignature(math._Random, () => ({ + __proto__: dart.getFields(math._Random.__proto__), + [_lo]: dart.fieldType(core.int), + [_hi]: dart.fieldType(core.int) +})); +dart.defineLazy(math._Random, { + /*math._Random._POW2_53_D*/get _POW2_53_D() { + return 9007199254740992.0; + }, + /*math._Random._POW2_27_D*/get _POW2_27_D() { + return 134217728; + }, + /*math._Random._MASK32*/get _MASK32() { + return 4294967295.0; + } +}, false); +var _buffer$0 = dart.privateName(math, "_buffer"); +var _getRandomBytes = dart.privateName(math, "_getRandomBytes"); +math._JSSecureRandom = class _JSSecureRandom extends core.Object { + [_getRandomBytes](start, length) { + if (start == null) dart.nullFailed(I[138], 279, 28, "start"); + if (length == null) dart.nullFailed(I[138], 279, 39, "length"); + crypto.getRandomValues(this[_buffer$0][$buffer][$asUint8List](start, length)); + } + nextBool() { + this[_getRandomBytes](0, 1); + return this[_buffer$0][$getUint8](0)[$isOdd]; + } + nextDouble() { + this[_getRandomBytes](1, 7); + this[_buffer$0][$setUint8](0, 63); + let highByte = this[_buffer$0][$getUint8](1); + this[_buffer$0][$setUint8](1, (dart.notNull(highByte) | 240) >>> 0); + let result = dart.notNull(this[_buffer$0][$getFloat64](0)) - 1.0; + if ((dart.notNull(highByte) & 16) !== 0) { + result = result + 1.1102230246251565e-16; + } + return result; + } + nextInt(max) { + if (max == null) dart.argumentError(max); + if (max <= 0 || max > 4294967296.0) { + dart.throw(new core.RangeError.new("max must be in range 0 < max ≤ 2^32, was " + dart.str(max))); + } + let byteCount = 1; + if (max > 255) { + byteCount = byteCount + 1; + if (max > 65535) { + byteCount = byteCount + 1; + if (max > 16777215) { + byteCount = byteCount + 1; + } + } + } + this[_buffer$0][$setUint32](0, 0); + let start = 4 - byteCount; + let randomLimit = math.pow(256, byteCount)[$toInt](); + while (true) { + this[_getRandomBytes](start, byteCount); + let random = this[_buffer$0][$getUint32](0); + if ((max & max - 1) === 0) { + return (dart.notNull(random) & max - 1) >>> 0; + } + let result = random[$remainder](max)[$toInt](); + if (dart.notNull(random) - result + max < randomLimit) { + return result; + } + } + } +}; +(math._JSSecureRandom.new = function() { + this[_buffer$0] = _native_typed_data.NativeByteData.new(8); + let crypto = self.crypto; + if (crypto != null) { + let getRandomValues = crypto.getRandomValues; + if (getRandomValues != null) { + return; + } + } + dart.throw(new core.UnsupportedError.new("No source of cryptographically secure random numbers available.")); +}).prototype = math._JSSecureRandom.prototype; +dart.addTypeTests(math._JSSecureRandom); +dart.addTypeCaches(math._JSSecureRandom); +math._JSSecureRandom[dart.implements] = () => [math.Random]; +dart.setMethodSignature(math._JSSecureRandom, () => ({ + __proto__: dart.getMethods(math._JSSecureRandom.__proto__), + [_getRandomBytes]: dart.fnType(dart.void, [core.int, core.int]), + nextBool: dart.fnType(core.bool, []), + nextDouble: dart.fnType(core.double, []), + nextInt: dart.fnType(core.int, [core.int]) +})); +dart.setLibraryUri(math._JSSecureRandom, I[139]); +dart.setFieldSignature(math._JSSecureRandom, () => ({ + __proto__: dart.getFields(math._JSSecureRandom.__proto__), + [_buffer$0]: dart.finalFieldType(typed_data.ByteData) +})); +var x$2 = dart.privateName(math, "Point.x"); +var y$2 = dart.privateName(math, "Point.y"); +const _is_Point_default = Symbol('_is_Point_default'); +math.Point$ = dart.generic(T => { + var PointOfT = () => (PointOfT = dart.constFn(math.Point$(T)))(); + class Point extends core.Object { + get x() { + return this[x$2]; + } + set x(value) { + super.x = value; + } + get y() { + return this[y$2]; + } + set y(value) { + super.y = value; + } + toString() { + return "Point(" + dart.str(this.x) + ", " + dart.str(this.y) + ")"; + } + _equals(other) { + if (other == null) return false; + return T$0.PointOfnum().is(other) && this.x == other.x && this.y == other.y; + } + get hashCode() { + return _internal.SystemHash.hash2(dart.hashCode(this.x), dart.hashCode(this.y)); + } + ['+'](other) { + PointOfT().as(other); + if (other == null) dart.nullFailed(I[140], 32, 32, "other"); + return new (PointOfT()).new(T.as(dart.notNull(this.x) + dart.notNull(other.x)), T.as(dart.notNull(this.y) + dart.notNull(other.y))); + } + ['-'](other) { + PointOfT().as(other); + if (other == null) dart.nullFailed(I[140], 39, 32, "other"); + return new (PointOfT()).new(T.as(dart.notNull(this.x) - dart.notNull(other.x)), T.as(dart.notNull(this.y) - dart.notNull(other.y))); + } + ['*'](factor) { + if (factor == null) dart.nullFailed(I[140], 50, 37, "factor"); + return new (PointOfT()).new(T.as(dart.notNull(this.x) * dart.notNull(factor)), T.as(dart.notNull(this.y) * dart.notNull(factor))); + } + get magnitude() { + return math.sqrt(dart.notNull(this.x) * dart.notNull(this.x) + dart.notNull(this.y) * dart.notNull(this.y)); + } + distanceTo(other) { + PointOfT().as(other); + if (other == null) dart.nullFailed(I[140], 59, 30, "other"); + let dx = dart.notNull(this.x) - dart.notNull(other.x); + let dy = dart.notNull(this.y) - dart.notNull(other.y); + return math.sqrt(dx * dx + dy * dy); + } + squaredDistanceTo(other) { + PointOfT().as(other); + if (other == null) dart.nullFailed(I[140], 69, 32, "other"); + let dx = dart.notNull(this.x) - dart.notNull(other.x); + let dy = dart.notNull(this.y) - dart.notNull(other.y); + return T.as(dx * dx + dy * dy); + } + } + (Point.new = function(x, y) { + if (x == null) dart.nullFailed(I[140], 13, 17, "x"); + if (y == null) dart.nullFailed(I[140], 13, 22, "y"); + this[x$2] = x; + this[y$2] = y; + ; + }).prototype = Point.prototype; + dart.addTypeTests(Point); + Point.prototype[_is_Point_default] = true; + dart.addTypeCaches(Point); + dart.setMethodSignature(Point, () => ({ + __proto__: dart.getMethods(Point.__proto__), + '+': dart.fnType(math.Point$(T), [dart.nullable(core.Object)]), + '-': dart.fnType(math.Point$(T), [dart.nullable(core.Object)]), + '*': dart.fnType(math.Point$(T), [core.num]), + distanceTo: dart.fnType(core.double, [dart.nullable(core.Object)]), + squaredDistanceTo: dart.fnType(T, [dart.nullable(core.Object)]) + })); + dart.setGetterSignature(Point, () => ({ + __proto__: dart.getGetters(Point.__proto__), + magnitude: core.double + })); + dart.setLibraryUri(Point, I[139]); + dart.setFieldSignature(Point, () => ({ + __proto__: dart.getFields(Point.__proto__), + x: dart.finalFieldType(T), + y: dart.finalFieldType(T) + })); + dart.defineExtensionMethods(Point, ['toString', '_equals']); + dart.defineExtensionAccessors(Point, ['hashCode']); + return Point; +}); +math.Point = math.Point$(); +dart.addTypeTests(math.Point, _is_Point_default); +math.Random = class Random extends core.Object { + static new(seed = null) { + return seed == null ? C[212] || CT.C212 : new math._Random.new(seed); + } + static secure() { + let t219; + t219 = math.Random._secureRandom; + return t219 == null ? math.Random._secureRandom = new math._JSSecureRandom.new() : t219; + } +}; +(math.Random[dart.mixinNew] = function() { +}).prototype = math.Random.prototype; +dart.addTypeTests(math.Random); +dart.addTypeCaches(math.Random); +dart.setLibraryUri(math.Random, I[139]); +dart.defineLazy(math.Random, { + /*math.Random._secureRandom*/get _secureRandom() { + return null; + }, + set _secureRandom(_) {} +}, false); +const _is__RectangleBase_default = Symbol('_is__RectangleBase_default'); +math._RectangleBase$ = dart.generic(T => { + var RectangleOfT = () => (RectangleOfT = dart.constFn(math.Rectangle$(T)))(); + var PointOfT = () => (PointOfT = dart.constFn(math.Point$(T)))(); + class _RectangleBase extends core.Object { + get right() { + return T.as(dart.notNull(this[$left]) + dart.notNull(this[$width])); + } + get bottom() { + return T.as(dart.notNull(this[$top]) + dart.notNull(this[$height])); + } + toString() { + return "Rectangle (" + dart.str(this[$left]) + ", " + dart.str(this[$top]) + ") " + dart.str(this[$width]) + " x " + dart.str(this[$height]); + } + _equals(other) { + if (other == null) return false; + return T$0.RectangleOfnum().is(other) && this[$left] == other[$left] && this[$top] == other[$top] && this[$right] == other[$right] && this[$bottom] == other[$bottom]; + } + get hashCode() { + return _internal.SystemHash.hash4(dart.hashCode(this[$left]), dart.hashCode(this[$top]), dart.hashCode(this[$right]), dart.hashCode(this[$bottom])); + } + intersection(other) { + RectangleOfT().as(other); + if (other == null) dart.nullFailed(I[141], 61, 43, "other"); + let x0 = math.max(T, this[$left], other[$left]); + let x1 = math.min(core.num, dart.notNull(this[$left]) + dart.notNull(this[$width]), dart.notNull(other[$left]) + dart.notNull(other[$width])); + if (x0 <= x1) { + let y0 = math.max(T, this[$top], other[$top]); + let y1 = math.min(core.num, dart.notNull(this[$top]) + dart.notNull(this[$height]), dart.notNull(other[$top]) + dart.notNull(other[$height])); + if (y0 <= y1) { + return new (RectangleOfT()).new(x0, y0, T.as(x1 - x0), T.as(y1 - y0)); + } + } + return null; + } + intersects(other) { + if (other == null) dart.nullFailed(I[141], 77, 34, "other"); + return dart.notNull(this[$left]) <= dart.notNull(other[$left]) + dart.notNull(other[$width]) && dart.notNull(other[$left]) <= dart.notNull(this[$left]) + dart.notNull(this[$width]) && dart.notNull(this[$top]) <= dart.notNull(other[$top]) + dart.notNull(other[$height]) && dart.notNull(other[$top]) <= dart.notNull(this[$top]) + dart.notNull(this[$height]); + } + boundingBox(other) { + RectangleOfT().as(other); + if (other == null) dart.nullFailed(I[141], 85, 41, "other"); + let right = math.max(core.num, dart.notNull(this[$left]) + dart.notNull(this[$width]), dart.notNull(other[$left]) + dart.notNull(other[$width])); + let bottom = math.max(core.num, dart.notNull(this[$top]) + dart.notNull(this[$height]), dart.notNull(other[$top]) + dart.notNull(other[$height])); + let left = math.min(T, this[$left], other[$left]); + let top = math.min(T, this[$top], other[$top]); + return new (RectangleOfT()).new(left, top, T.as(right - left), T.as(bottom - top)); + } + containsRectangle(another) { + if (another == null) dart.nullFailed(I[141], 96, 41, "another"); + return dart.notNull(this[$left]) <= dart.notNull(another[$left]) && dart.notNull(this[$left]) + dart.notNull(this[$width]) >= dart.notNull(another[$left]) + dart.notNull(another[$width]) && dart.notNull(this[$top]) <= dart.notNull(another[$top]) && dart.notNull(this[$top]) + dart.notNull(this[$height]) >= dart.notNull(another[$top]) + dart.notNull(another[$height]); + } + containsPoint(another) { + if (another == null) dart.nullFailed(I[141], 104, 33, "another"); + return dart.notNull(another.x) >= dart.notNull(this[$left]) && dart.notNull(another.x) <= dart.notNull(this[$left]) + dart.notNull(this[$width]) && dart.notNull(another.y) >= dart.notNull(this[$top]) && dart.notNull(another.y) <= dart.notNull(this[$top]) + dart.notNull(this[$height]); + } + get topLeft() { + return new (PointOfT()).new(this[$left], this[$top]); + } + get topRight() { + return new (PointOfT()).new(T.as(dart.notNull(this[$left]) + dart.notNull(this[$width])), this[$top]); + } + get bottomRight() { + return new (PointOfT()).new(T.as(dart.notNull(this[$left]) + dart.notNull(this[$width])), T.as(dart.notNull(this[$top]) + dart.notNull(this[$height]))); + } + get bottomLeft() { + return new (PointOfT()).new(this[$left], T.as(dart.notNull(this[$top]) + dart.notNull(this[$height]))); + } + } + (_RectangleBase.new = function() { + ; + }).prototype = _RectangleBase.prototype; + dart.addTypeTests(_RectangleBase); + _RectangleBase.prototype[_is__RectangleBase_default] = true; + dart.addTypeCaches(_RectangleBase); + dart.setMethodSignature(_RectangleBase, () => ({ + __proto__: dart.getMethods(_RectangleBase.__proto__), + intersection: dart.fnType(dart.nullable(math.Rectangle$(T)), [dart.nullable(core.Object)]), + [$intersection]: dart.fnType(dart.nullable(math.Rectangle$(T)), [dart.nullable(core.Object)]), + intersects: dart.fnType(core.bool, [math.Rectangle$(core.num)]), + [$intersects]: dart.fnType(core.bool, [math.Rectangle$(core.num)]), + boundingBox: dart.fnType(math.Rectangle$(T), [dart.nullable(core.Object)]), + [$boundingBox]: dart.fnType(math.Rectangle$(T), [dart.nullable(core.Object)]), + containsRectangle: dart.fnType(core.bool, [math.Rectangle$(core.num)]), + [$containsRectangle]: dart.fnType(core.bool, [math.Rectangle$(core.num)]), + containsPoint: dart.fnType(core.bool, [math.Point$(core.num)]), + [$containsPoint]: dart.fnType(core.bool, [math.Point$(core.num)]) + })); + dart.setGetterSignature(_RectangleBase, () => ({ + __proto__: dart.getGetters(_RectangleBase.__proto__), + right: T, + [$right]: T, + bottom: T, + [$bottom]: T, + topLeft: math.Point$(T), + [$topLeft]: math.Point$(T), + topRight: math.Point$(T), + [$topRight]: math.Point$(T), + bottomRight: math.Point$(T), + [$bottomRight]: math.Point$(T), + bottomLeft: math.Point$(T), + [$bottomLeft]: math.Point$(T) + })); + dart.setLibraryUri(_RectangleBase, I[139]); + dart.defineExtensionMethods(_RectangleBase, [ + 'toString', + '_equals', + 'intersection', + 'intersects', + 'boundingBox', + 'containsRectangle', + 'containsPoint' + ]); + dart.defineExtensionAccessors(_RectangleBase, [ + 'right', + 'bottom', + 'hashCode', + 'topLeft', + 'topRight', + 'bottomRight', + 'bottomLeft' + ]); + return _RectangleBase; +}); +math._RectangleBase = math._RectangleBase$(); +dart.addTypeTests(math._RectangleBase, _is__RectangleBase_default); +var left$ = dart.privateName(math, "Rectangle.left"); +var top$ = dart.privateName(math, "Rectangle.top"); +var width$ = dart.privateName(math, "Rectangle.width"); +var height$ = dart.privateName(math, "Rectangle.height"); +const _is_Rectangle_default = Symbol('_is_Rectangle_default'); +math.Rectangle$ = dart.generic(T => { + class Rectangle extends math._RectangleBase$(T) { + get left() { + return this[left$]; + } + set left(value) { + super.left = value; + } + get top() { + return this[top$]; + } + set top(value) { + super.top = value; + } + get width() { + return this[width$]; + } + set width(value) { + super.width = value; + } + get height() { + return this[height$]; + } + set height(value) { + super.height = value; + } + static fromPoints(a, b) { + if (a == null) dart.nullFailed(I[141], 154, 41, "a"); + if (b == null) dart.nullFailed(I[141], 154, 53, "b"); + let left = math.min(T, a.x, b.x); + let width = T.as(math.max(T, a.x, b.x) - left); + let top = math.min(T, a.y, b.y); + let height = T.as(math.max(T, a.y, b.y) - top); + return new (math.Rectangle$(T)).new(left, top, width, height); + } + } + (Rectangle.new = function(left, top, width, height) { + if (left == null) dart.nullFailed(I[141], 138, 24, "left"); + if (top == null) dart.nullFailed(I[141], 138, 35, "top"); + if (width == null) dart.nullFailed(I[141], 138, 42, "width"); + if (height == null) dart.nullFailed(I[141], 138, 51, "height"); + this[left$] = left; + this[top$] = top; + this[width$] = T.as(dart.notNull(width) < 0 ? -dart.notNull(width) * 0 : width); + this[height$] = T.as(dart.notNull(height) < 0 ? -dart.notNull(height) * 0 : height); + Rectangle.__proto__.new.call(this); + ; + }).prototype = Rectangle.prototype; + dart.addTypeTests(Rectangle); + Rectangle.prototype[_is_Rectangle_default] = true; + dart.addTypeCaches(Rectangle); + dart.setLibraryUri(Rectangle, I[139]); + dart.setFieldSignature(Rectangle, () => ({ + __proto__: dart.getFields(Rectangle.__proto__), + left: dart.finalFieldType(T), + top: dart.finalFieldType(T), + width: dart.finalFieldType(T), + height: dart.finalFieldType(T) + })); + dart.defineExtensionAccessors(Rectangle, ['left', 'top', 'width', 'height']); + return Rectangle; +}); +math.Rectangle = math.Rectangle$(); +dart.addTypeTests(math.Rectangle, _is_Rectangle_default); +var left$0 = dart.privateName(math, "MutableRectangle.left"); +var top$0 = dart.privateName(math, "MutableRectangle.top"); +var _width = dart.privateName(math, "_width"); +var _height = dart.privateName(math, "_height"); +const _is_MutableRectangle_default = Symbol('_is_MutableRectangle_default'); +math.MutableRectangle$ = dart.generic(T => { + class MutableRectangle extends math._RectangleBase$(T) { + get left() { + return this[left$0]; + } + set left(value) { + this[left$0] = T.as(value); + } + get top() { + return this[top$0]; + } + set top(value) { + this[top$0] = T.as(value); + } + static fromPoints(a, b) { + if (a == null) dart.nullFailed(I[141], 205, 48, "a"); + if (b == null) dart.nullFailed(I[141], 205, 60, "b"); + let left = math.min(T, a.x, b.x); + let width = T.as(math.max(T, a.x, b.x) - left); + let top = math.min(T, a.y, b.y); + let height = T.as(math.max(T, a.y, b.y) - top); + return new (math.MutableRectangle$(T)).new(left, top, width, height); + } + get width() { + return this[_width]; + } + set width(width) { + T.as(width); + if (width == null) dart.nullFailed(I[141], 222, 15, "width"); + if (dart.notNull(width) < 0) width = math._clampToZero(T, width); + this[_width] = width; + } + get height() { + return this[_height]; + } + set height(height) { + T.as(height); + if (height == null) dart.nullFailed(I[141], 236, 16, "height"); + if (dart.notNull(height) < 0) height = math._clampToZero(T, height); + this[_height] = height; + } + } + (MutableRectangle.new = function(left, top, width, height) { + if (left == null) dart.nullFailed(I[141], 191, 25, "left"); + if (top == null) dart.nullFailed(I[141], 191, 36, "top"); + if (width == null) dart.nullFailed(I[141], 191, 43, "width"); + if (height == null) dart.nullFailed(I[141], 191, 52, "height"); + this[left$0] = left; + this[top$0] = top; + this[_width] = dart.notNull(width) < 0 ? math._clampToZero(T, width) : width; + this[_height] = dart.notNull(height) < 0 ? math._clampToZero(T, height) : height; + MutableRectangle.__proto__.new.call(this); + ; + }).prototype = MutableRectangle.prototype; + dart.addTypeTests(MutableRectangle); + MutableRectangle.prototype[_is_MutableRectangle_default] = true; + dart.addTypeCaches(MutableRectangle); + MutableRectangle[dart.implements] = () => [math.Rectangle$(T)]; + dart.setGetterSignature(MutableRectangle, () => ({ + __proto__: dart.getGetters(MutableRectangle.__proto__), + width: T, + [$width]: T, + height: T, + [$height]: T + })); + dart.setSetterSignature(MutableRectangle, () => ({ + __proto__: dart.getSetters(MutableRectangle.__proto__), + width: dart.nullable(core.Object), + [$width]: dart.nullable(core.Object), + height: dart.nullable(core.Object), + [$height]: dart.nullable(core.Object) + })); + dart.setLibraryUri(MutableRectangle, I[139]); + dart.setFieldSignature(MutableRectangle, () => ({ + __proto__: dart.getFields(MutableRectangle.__proto__), + left: dart.fieldType(T), + top: dart.fieldType(T), + [_width]: dart.fieldType(T), + [_height]: dart.fieldType(T) + })); + dart.defineExtensionAccessors(MutableRectangle, ['left', 'top', 'width', 'height']); + return MutableRectangle; +}); +math.MutableRectangle = math.MutableRectangle$(); +dart.addTypeTests(math.MutableRectangle, _is_MutableRectangle_default); +math.min = function min(T, a, b) { + if (a == null) dart.argumentError(a); + if (b == null) dart.argumentError(b); + return Math.min(a, b); +}; +math.max = function max(T, a, b) { + if (a == null) dart.argumentError(a); + if (b == null) dart.argumentError(b); + return Math.max(a, b); +}; +math.atan2 = function atan2(a, b) { + if (a == null) dart.argumentError(a); + if (b == null) dart.argumentError(b); + return Math.atan2(a, b); +}; +math.pow = function pow(x, exponent) { + if (x == null) dart.argumentError(x); + if (exponent == null) dart.argumentError(exponent); + return Math.pow(x, exponent); +}; +math.sin = function sin(radians) { + if (radians == null) dart.argumentError(radians); + return Math.sin(radians); +}; +math.cos = function cos(radians) { + if (radians == null) dart.argumentError(radians); + return Math.cos(radians); +}; +math.tan = function tan(radians) { + if (radians == null) dart.argumentError(radians); + return Math.tan(radians); +}; +math.acos = function acos(x) { + if (x == null) dart.argumentError(x); + return Math.acos(x); +}; +math.asin = function asin(x) { + if (x == null) dart.argumentError(x); + return Math.asin(x); +}; +math.atan = function atan(x) { + if (x == null) dart.argumentError(x); + return Math.atan(x); +}; +math.sqrt = function sqrt(x) { + if (x == null) dart.argumentError(x); + return Math.sqrt(x); +}; +math.exp = function exp(x) { + if (x == null) dart.argumentError(x); + return Math.exp(x); +}; +math.log = function log$(x) { + if (x == null) dart.argumentError(x); + return Math.log(x); +}; +math._clampToZero = function _clampToZero(T, value) { + if (value == null) dart.nullFailed(I[141], 245, 33, "value"); + if (!(dart.notNull(value) < 0)) dart.assertFailed(null, I[141], 246, 10, "value < 0"); + return T.as(-dart.notNull(value) * 0); +}; +dart.defineLazy(math, { + /*math._POW2_32*/get _POW2_32() { + return 4294967296.0; + }, + /*math.e*/get e() { + return 2.718281828459045; + }, + /*math.ln10*/get ln10() { + return 2.302585092994046; + }, + /*math.ln2*/get ln2() { + return 0.6931471805599453; + }, + /*math.log2e*/get log2e() { + return 1.4426950408889634; + }, + /*math.log10e*/get log10e() { + return 0.4342944819032518; + }, + /*math.pi*/get pi() { + return 3.141592653589793; + }, + /*math.sqrt1_2*/get sqrt1_2() { + return 0.7071067811865476; + }, + /*math.sqrt2*/get sqrt2() { + return 1.4142135623730951; + } +}, false); +typed_data.ByteBuffer = class ByteBuffer extends core.Object {}; +(typed_data.ByteBuffer.new = function() { + ; +}).prototype = typed_data.ByteBuffer.prototype; +dart.addTypeTests(typed_data.ByteBuffer); +dart.addTypeCaches(typed_data.ByteBuffer); +dart.setLibraryUri(typed_data.ByteBuffer, I[60]); +typed_data.TypedData = class TypedData extends core.Object {}; +(typed_data.TypedData.new = function() { + ; +}).prototype = typed_data.TypedData.prototype; +dart.addTypeTests(typed_data.TypedData); +dart.addTypeCaches(typed_data.TypedData); +dart.setLibraryUri(typed_data.TypedData, I[60]); +typed_data._TypedIntList = class _TypedIntList extends typed_data.TypedData {}; +(typed_data._TypedIntList.new = function() { + ; +}).prototype = typed_data._TypedIntList.prototype; +dart.addTypeTests(typed_data._TypedIntList); +dart.addTypeCaches(typed_data._TypedIntList); +dart.setLibraryUri(typed_data._TypedIntList, I[60]); +typed_data._TypedFloatList = class _TypedFloatList extends typed_data.TypedData {}; +(typed_data._TypedFloatList.new = function() { + ; +}).prototype = typed_data._TypedFloatList.prototype; +dart.addTypeTests(typed_data._TypedFloatList); +dart.addTypeCaches(typed_data._TypedFloatList); +dart.setLibraryUri(typed_data._TypedFloatList, I[60]); +var _littleEndian = dart.privateName(typed_data, "_littleEndian"); +const _littleEndian$ = Endian__littleEndian; +typed_data.Endian = class Endian extends core.Object { + get [_littleEndian]() { + return this[_littleEndian$]; + } + set [_littleEndian](value) { + super[_littleEndian] = value; + } +}; +(typed_data.Endian.__ = function(_littleEndian) { + if (_littleEndian == null) dart.nullFailed(I[142], 375, 23, "_littleEndian"); + this[_littleEndian$] = _littleEndian; + ; +}).prototype = typed_data.Endian.prototype; +dart.addTypeTests(typed_data.Endian); +dart.addTypeCaches(typed_data.Endian); +dart.setLibraryUri(typed_data.Endian, I[60]); +dart.setFieldSignature(typed_data.Endian, () => ({ + __proto__: dart.getFields(typed_data.Endian.__proto__), + [_littleEndian]: dart.finalFieldType(core.bool) +})); +dart.defineLazy(typed_data.Endian, { + /*typed_data.Endian.big*/get big() { + return C[36] || CT.C36; + }, + /*typed_data.Endian.little*/get little() { + return C[213] || CT.C213; + }, + /*typed_data.Endian.host*/get host() { + return typed_data.ByteData.view(_native_typed_data.NativeUint16List.fromList(T$.JSArrayOfint().of([1]))[$buffer])[$getInt8](0) === 1 ? typed_data.Endian.little : typed_data.Endian.big; + } +}, false); +typed_data.ByteData = class ByteData extends core.Object { + static view(buffer, offsetInBytes = 0, length = null) { + if (buffer == null) dart.nullFailed(I[142], 452, 36, "buffer"); + if (offsetInBytes == null) dart.nullFailed(I[142], 453, 12, "offsetInBytes"); + return buffer[$asByteData](offsetInBytes, length); + } + static sublistView(data, start = 0, end = null) { + if (data == null) dart.nullFailed(I[142], 474, 42, "data"); + if (start == null) dart.nullFailed(I[142], 474, 53, "start"); + let elementSize = data[$elementSizeInBytes]; + end = core.RangeError.checkValidRange(start, end, (dart.notNull(data[$lengthInBytes]) / dart.notNull(elementSize))[$truncate]()); + if (end == null) dart.throw("unreachable"); + return data[$buffer][$asByteData](dart.notNull(data[$offsetInBytes]) + dart.notNull(start) * dart.notNull(elementSize), (dart.notNull(end) - dart.notNull(start)) * dart.notNull(elementSize)); + } +}; +(typed_data.ByteData[dart.mixinNew] = function() { +}).prototype = typed_data.ByteData.prototype; +dart.addTypeTests(typed_data.ByteData); +dart.addTypeCaches(typed_data.ByteData); +typed_data.ByteData[dart.implements] = () => [typed_data.TypedData]; +dart.setLibraryUri(typed_data.ByteData, I[60]); +typed_data.Int8List = class Int8List extends core.Object { + static view(buffer, offsetInBytes = 0, length = null) { + if (buffer == null) dart.nullFailed(I[142], 748, 36, "buffer"); + if (offsetInBytes == null) dart.nullFailed(I[142], 749, 12, "offsetInBytes"); + return buffer[$asInt8List](offsetInBytes, length); + } + static sublistView(data, start = 0, end = null) { + if (data == null) dart.nullFailed(I[142], 770, 42, "data"); + if (start == null) dart.nullFailed(I[142], 770, 53, "start"); + let elementSize = data[$elementSizeInBytes]; + end = core.RangeError.checkValidRange(start, end, (dart.notNull(data[$lengthInBytes]) / dart.notNull(elementSize))[$truncate]()); + if (end == null) dart.throw("unreachable"); + return data[$buffer][$asInt8List](dart.notNull(data[$offsetInBytes]) + dart.notNull(start) * dart.notNull(elementSize), (dart.notNull(end) - dart.notNull(start)) * dart.notNull(elementSize)); + } + [Symbol.iterator]() { + return new dart.JsIterator(this[$iterator]); + } +}; +(typed_data.Int8List[dart.mixinNew] = function() { +}).prototype = typed_data.Int8List.prototype; +typed_data.Int8List.prototype[dart.isList] = true; +dart.addTypeTests(typed_data.Int8List); +dart.addTypeCaches(typed_data.Int8List); +typed_data.Int8List[dart.implements] = () => [core.List$(core.int), typed_data._TypedIntList]; +dart.setLibraryUri(typed_data.Int8List, I[60]); +dart.defineLazy(typed_data.Int8List, { + /*typed_data.Int8List.bytesPerElement*/get bytesPerElement() { + return 1; + } +}, false); +typed_data.Uint8List = class Uint8List extends core.Object { + static view(buffer, offsetInBytes = 0, length = null) { + if (buffer == null) dart.nullFailed(I[142], 859, 37, "buffer"); + if (offsetInBytes == null) dart.nullFailed(I[142], 860, 12, "offsetInBytes"); + return buffer[$asUint8List](offsetInBytes, length); + } + static sublistView(data, start = 0, end = null) { + if (data == null) dart.nullFailed(I[142], 881, 43, "data"); + if (start == null) dart.nullFailed(I[142], 881, 54, "start"); + let elementSize = data[$elementSizeInBytes]; + end = core.RangeError.checkValidRange(start, end, (dart.notNull(data[$lengthInBytes]) / dart.notNull(elementSize))[$truncate]()); + if (end == null) dart.throw("unreachable"); + return data[$buffer][$asUint8List](dart.notNull(data[$offsetInBytes]) + dart.notNull(start) * dart.notNull(elementSize), (dart.notNull(end) - dart.notNull(start)) * dart.notNull(elementSize)); + } + [Symbol.iterator]() { + return new dart.JsIterator(this[$iterator]); + } +}; +(typed_data.Uint8List[dart.mixinNew] = function() { +}).prototype = typed_data.Uint8List.prototype; +typed_data.Uint8List.prototype[dart.isList] = true; +dart.addTypeTests(typed_data.Uint8List); +dart.addTypeCaches(typed_data.Uint8List); +typed_data.Uint8List[dart.implements] = () => [core.List$(core.int), typed_data._TypedIntList]; +dart.setLibraryUri(typed_data.Uint8List, I[60]); +dart.defineLazy(typed_data.Uint8List, { + /*typed_data.Uint8List.bytesPerElement*/get bytesPerElement() { + return 1; + } +}, false); +typed_data.Uint8ClampedList = class Uint8ClampedList extends core.Object { + static view(buffer, offsetInBytes = 0, length = null) { + if (buffer == null) dart.nullFailed(I[142], 978, 44, "buffer"); + if (offsetInBytes == null) dart.nullFailed(I[142], 979, 12, "offsetInBytes"); + return buffer[$asUint8ClampedList](offsetInBytes, length); + } + static sublistView(data, start = 0, end = null) { + if (data == null) dart.nullFailed(I[142], 1000, 50, "data"); + if (start == null) dart.nullFailed(I[142], 1001, 12, "start"); + let elementSize = data[$elementSizeInBytes]; + end = core.RangeError.checkValidRange(start, end, (dart.notNull(data[$lengthInBytes]) / dart.notNull(elementSize))[$truncate]()); + if (end == null) dart.throw("unreachable"); + return data[$buffer][$asUint8ClampedList](dart.notNull(data[$offsetInBytes]) + dart.notNull(start) * dart.notNull(elementSize), (dart.notNull(end) - dart.notNull(start)) * dart.notNull(elementSize)); + } + [Symbol.iterator]() { + return new dart.JsIterator(this[$iterator]); + } +}; +(typed_data.Uint8ClampedList[dart.mixinNew] = function() { +}).prototype = typed_data.Uint8ClampedList.prototype; +typed_data.Uint8ClampedList.prototype[dart.isList] = true; +dart.addTypeTests(typed_data.Uint8ClampedList); +dart.addTypeCaches(typed_data.Uint8ClampedList); +typed_data.Uint8ClampedList[dart.implements] = () => [core.List$(core.int), typed_data._TypedIntList]; +dart.setLibraryUri(typed_data.Uint8ClampedList, I[60]); +dart.defineLazy(typed_data.Uint8ClampedList, { + /*typed_data.Uint8ClampedList.bytesPerElement*/get bytesPerElement() { + return 1; + } +}, false); +typed_data.Int16List = class Int16List extends core.Object { + static view(buffer, offsetInBytes = 0, length = null) { + if (buffer == null) dart.nullFailed(I[142], 1094, 37, "buffer"); + if (offsetInBytes == null) dart.nullFailed(I[142], 1095, 12, "offsetInBytes"); + return buffer[$asInt16List](offsetInBytes, length); + } + static sublistView(data, start = 0, end = null) { + if (data == null) dart.nullFailed(I[142], 1119, 43, "data"); + if (start == null) dart.nullFailed(I[142], 1119, 54, "start"); + let elementSize = data[$elementSizeInBytes]; + end = core.RangeError.checkValidRange(start, end, (dart.notNull(data[$lengthInBytes]) / dart.notNull(elementSize))[$truncate]()); + if (end == null) dart.throw("unreachable"); + let byteLength = (dart.notNull(end) - dart.notNull(start)) * dart.notNull(elementSize); + if (byteLength[$modulo](2) !== 0) { + dart.throw(new core.ArgumentError.new("The number of bytes to view must be a multiple of " + dart.str(2))); + } + return data[$buffer][$asInt16List](dart.notNull(data[$offsetInBytes]) + dart.notNull(start) * dart.notNull(elementSize), (byteLength / 2)[$truncate]()); + } + [Symbol.iterator]() { + return new dart.JsIterator(this[$iterator]); + } +}; +(typed_data.Int16List[dart.mixinNew] = function() { +}).prototype = typed_data.Int16List.prototype; +typed_data.Int16List.prototype[dart.isList] = true; +dart.addTypeTests(typed_data.Int16List); +dart.addTypeCaches(typed_data.Int16List); +typed_data.Int16List[dart.implements] = () => [core.List$(core.int), typed_data._TypedIntList]; +dart.setLibraryUri(typed_data.Int16List, I[60]); +dart.defineLazy(typed_data.Int16List, { + /*typed_data.Int16List.bytesPerElement*/get bytesPerElement() { + return 2; + } +}, false); +typed_data.Uint16List = class Uint16List extends core.Object { + static view(buffer, offsetInBytes = 0, length = null) { + if (buffer == null) dart.nullFailed(I[142], 1218, 38, "buffer"); + if (offsetInBytes == null) dart.nullFailed(I[142], 1219, 12, "offsetInBytes"); + return buffer[$asUint16List](offsetInBytes, length); + } + static sublistView(data, start = 0, end = null) { + if (data == null) dart.nullFailed(I[142], 1243, 44, "data"); + if (start == null) dart.nullFailed(I[142], 1243, 55, "start"); + let elementSize = data[$elementSizeInBytes]; + end = core.RangeError.checkValidRange(start, end, (dart.notNull(data[$lengthInBytes]) / dart.notNull(elementSize))[$truncate]()); + if (end == null) dart.throw("unreachable"); + let byteLength = (dart.notNull(end) - dart.notNull(start)) * dart.notNull(elementSize); + if (byteLength[$modulo](2) !== 0) { + dart.throw(new core.ArgumentError.new("The number of bytes to view must be a multiple of " + dart.str(2))); + } + return data[$buffer][$asUint16List](dart.notNull(data[$offsetInBytes]) + dart.notNull(start) * dart.notNull(elementSize), (byteLength / 2)[$truncate]()); + } + [Symbol.iterator]() { + return new dart.JsIterator(this[$iterator]); + } +}; +(typed_data.Uint16List[dart.mixinNew] = function() { +}).prototype = typed_data.Uint16List.prototype; +typed_data.Uint16List.prototype[dart.isList] = true; +dart.addTypeTests(typed_data.Uint16List); +dart.addTypeCaches(typed_data.Uint16List); +typed_data.Uint16List[dart.implements] = () => [core.List$(core.int), typed_data._TypedIntList]; +dart.setLibraryUri(typed_data.Uint16List, I[60]); +dart.defineLazy(typed_data.Uint16List, { + /*typed_data.Uint16List.bytesPerElement*/get bytesPerElement() { + return 2; + } +}, false); +typed_data.Int32List = class Int32List extends core.Object { + static view(buffer, offsetInBytes = 0, length = null) { + if (buffer == null) dart.nullFailed(I[142], 1341, 37, "buffer"); + if (offsetInBytes == null) dart.nullFailed(I[142], 1342, 12, "offsetInBytes"); + return buffer[$asInt32List](offsetInBytes, length); + } + static sublistView(data, start = 0, end = null) { + if (data == null) dart.nullFailed(I[142], 1366, 43, "data"); + if (start == null) dart.nullFailed(I[142], 1366, 54, "start"); + let elementSize = data[$elementSizeInBytes]; + end = core.RangeError.checkValidRange(start, end, (dart.notNull(data[$lengthInBytes]) / dart.notNull(elementSize))[$truncate]()); + if (end == null) dart.throw("unreachable"); + let byteLength = (dart.notNull(end) - dart.notNull(start)) * dart.notNull(elementSize); + if (byteLength[$modulo](4) !== 0) { + dart.throw(new core.ArgumentError.new("The number of bytes to view must be a multiple of " + dart.str(4))); + } + return data[$buffer][$asInt32List](dart.notNull(data[$offsetInBytes]) + dart.notNull(start) * dart.notNull(elementSize), (byteLength / 4)[$truncate]()); + } + [Symbol.iterator]() { + return new dart.JsIterator(this[$iterator]); + } +}; +(typed_data.Int32List[dart.mixinNew] = function() { +}).prototype = typed_data.Int32List.prototype; +typed_data.Int32List.prototype[dart.isList] = true; +dart.addTypeTests(typed_data.Int32List); +dart.addTypeCaches(typed_data.Int32List); +typed_data.Int32List[dart.implements] = () => [core.List$(core.int), typed_data._TypedIntList]; +dart.setLibraryUri(typed_data.Int32List, I[60]); +dart.defineLazy(typed_data.Int32List, { + /*typed_data.Int32List.bytesPerElement*/get bytesPerElement() { + return 4; + } +}, false); +typed_data.Uint32List = class Uint32List extends core.Object { + static view(buffer, offsetInBytes = 0, length = null) { + if (buffer == null) dart.nullFailed(I[142], 1465, 38, "buffer"); + if (offsetInBytes == null) dart.nullFailed(I[142], 1466, 12, "offsetInBytes"); + return buffer[$asUint32List](offsetInBytes, length); + } + static sublistView(data, start = 0, end = null) { + if (data == null) dart.nullFailed(I[142], 1490, 44, "data"); + if (start == null) dart.nullFailed(I[142], 1490, 55, "start"); + let elementSize = data[$elementSizeInBytes]; + end = core.RangeError.checkValidRange(start, end, (dart.notNull(data[$lengthInBytes]) / dart.notNull(elementSize))[$truncate]()); + if (end == null) dart.throw("unreachable"); + let byteLength = (dart.notNull(end) - dart.notNull(start)) * dart.notNull(elementSize); + if (byteLength[$modulo](4) !== 0) { + dart.throw(new core.ArgumentError.new("The number of bytes to view must be a multiple of " + dart.str(4))); + } + return data[$buffer][$asUint32List](dart.notNull(data[$offsetInBytes]) + dart.notNull(start) * dart.notNull(elementSize), (byteLength / 4)[$truncate]()); + } + [Symbol.iterator]() { + return new dart.JsIterator(this[$iterator]); + } +}; +(typed_data.Uint32List[dart.mixinNew] = function() { +}).prototype = typed_data.Uint32List.prototype; +typed_data.Uint32List.prototype[dart.isList] = true; +dart.addTypeTests(typed_data.Uint32List); +dart.addTypeCaches(typed_data.Uint32List); +typed_data.Uint32List[dart.implements] = () => [core.List$(core.int), typed_data._TypedIntList]; +dart.setLibraryUri(typed_data.Uint32List, I[60]); +dart.defineLazy(typed_data.Uint32List, { + /*typed_data.Uint32List.bytesPerElement*/get bytesPerElement() { + return 4; + } +}, false); +typed_data.Int64List = class Int64List extends core.Object { + static new(length) { + if (length == null) dart.nullFailed(I[143], 101, 25, "length"); + dart.throw(new core.UnsupportedError.new("Int64List not supported on the web.")); + } + static fromList(elements) { + if (elements == null) dart.nullFailed(I[143], 106, 40, "elements"); + dart.throw(new core.UnsupportedError.new("Int64List not supported on the web.")); + } + static view(buffer, offsetInBytes = 0, length = null) { + if (buffer == null) dart.nullFailed(I[142], 1588, 37, "buffer"); + if (offsetInBytes == null) dart.nullFailed(I[142], 1589, 12, "offsetInBytes"); + return buffer[$asInt64List](offsetInBytes, length); + } + static sublistView(data, start = 0, end = null) { + if (data == null) dart.nullFailed(I[142], 1613, 43, "data"); + if (start == null) dart.nullFailed(I[142], 1613, 54, "start"); + let elementSize = data[$elementSizeInBytes]; + end = core.RangeError.checkValidRange(start, end, (dart.notNull(data[$lengthInBytes]) / dart.notNull(elementSize))[$truncate]()); + if (end == null) dart.throw("unreachable"); + let byteLength = (dart.notNull(end) - dart.notNull(start)) * dart.notNull(elementSize); + if (byteLength[$modulo](8) !== 0) { + dart.throw(new core.ArgumentError.new("The number of bytes to view must be a multiple of " + dart.str(8))); + } + return data[$buffer][$asInt64List](dart.notNull(data[$offsetInBytes]) + dart.notNull(start) * dart.notNull(elementSize), (byteLength / 8)[$truncate]()); + } + [Symbol.iterator]() { + return new dart.JsIterator(this[$iterator]); + } +}; +(typed_data.Int64List[dart.mixinNew] = function() { +}).prototype = typed_data.Int64List.prototype; +typed_data.Int64List.prototype[dart.isList] = true; +dart.addTypeTests(typed_data.Int64List); +dart.addTypeCaches(typed_data.Int64List); +typed_data.Int64List[dart.implements] = () => [core.List$(core.int), typed_data._TypedIntList]; +dart.setLibraryUri(typed_data.Int64List, I[60]); +dart.defineLazy(typed_data.Int64List, { + /*typed_data.Int64List.bytesPerElement*/get bytesPerElement() { + return 8; + } +}, false); +typed_data.Uint64List = class Uint64List extends core.Object { + static new(length) { + if (length == null) dart.nullFailed(I[143], 114, 26, "length"); + dart.throw(new core.UnsupportedError.new("Uint64List not supported on the web.")); + } + static fromList(elements) { + if (elements == null) dart.nullFailed(I[143], 119, 41, "elements"); + dart.throw(new core.UnsupportedError.new("Uint64List not supported on the web.")); + } + static view(buffer, offsetInBytes = 0, length = null) { + if (buffer == null) dart.nullFailed(I[142], 1712, 38, "buffer"); + if (offsetInBytes == null) dart.nullFailed(I[142], 1713, 12, "offsetInBytes"); + return buffer[$asUint64List](offsetInBytes, length); + } + static sublistView(data, start = 0, end = null) { + if (data == null) dart.nullFailed(I[142], 1737, 44, "data"); + if (start == null) dart.nullFailed(I[142], 1737, 55, "start"); + let elementSize = data[$elementSizeInBytes]; + end = core.RangeError.checkValidRange(start, end, (dart.notNull(data[$lengthInBytes]) / dart.notNull(elementSize))[$truncate]()); + if (end == null) dart.throw("unreachable"); + let byteLength = (dart.notNull(end) - dart.notNull(start)) * dart.notNull(elementSize); + if (byteLength[$modulo](8) !== 0) { + dart.throw(new core.ArgumentError.new("The number of bytes to view must be a multiple of " + dart.str(8))); + } + return data[$buffer][$asUint64List](dart.notNull(data[$offsetInBytes]) + dart.notNull(start) * dart.notNull(elementSize), (byteLength / 8)[$truncate]()); + } + [Symbol.iterator]() { + return new dart.JsIterator(this[$iterator]); + } +}; +(typed_data.Uint64List[dart.mixinNew] = function() { +}).prototype = typed_data.Uint64List.prototype; +typed_data.Uint64List.prototype[dart.isList] = true; +dart.addTypeTests(typed_data.Uint64List); +dart.addTypeCaches(typed_data.Uint64List); +typed_data.Uint64List[dart.implements] = () => [core.List$(core.int), typed_data._TypedIntList]; +dart.setLibraryUri(typed_data.Uint64List, I[60]); +dart.defineLazy(typed_data.Uint64List, { + /*typed_data.Uint64List.bytesPerElement*/get bytesPerElement() { + return 8; + } +}, false); +typed_data.Float32List = class Float32List extends core.Object { + static view(buffer, offsetInBytes = 0, length = null) { + if (buffer == null) dart.nullFailed(I[142], 1836, 39, "buffer"); + if (offsetInBytes == null) dart.nullFailed(I[142], 1837, 12, "offsetInBytes"); + return buffer[$asFloat32List](offsetInBytes, length); + } + static sublistView(data, start = 0, end = null) { + if (data == null) dart.nullFailed(I[142], 1861, 45, "data"); + if (start == null) dart.nullFailed(I[142], 1861, 56, "start"); + let elementSize = data[$elementSizeInBytes]; + end = core.RangeError.checkValidRange(start, end, (dart.notNull(data[$lengthInBytes]) / dart.notNull(elementSize))[$truncate]()); + if (end == null) dart.throw("unreachable"); + let byteLength = (dart.notNull(end) - dart.notNull(start)) * dart.notNull(elementSize); + if (byteLength[$modulo](4) !== 0) { + dart.throw(new core.ArgumentError.new("The number of bytes to view must be a multiple of " + dart.str(4))); + } + return data[$buffer][$asFloat32List](dart.notNull(data[$offsetInBytes]) + dart.notNull(start) * dart.notNull(elementSize), (byteLength / 4)[$truncate]()); + } + [Symbol.iterator]() { + return new dart.JsIterator(this[$iterator]); + } +}; +(typed_data.Float32List[dart.mixinNew] = function() { +}).prototype = typed_data.Float32List.prototype; +typed_data.Float32List.prototype[dart.isList] = true; +dart.addTypeTests(typed_data.Float32List); +dart.addTypeCaches(typed_data.Float32List); +typed_data.Float32List[dart.implements] = () => [core.List$(core.double), typed_data._TypedFloatList]; +dart.setLibraryUri(typed_data.Float32List, I[60]); +dart.defineLazy(typed_data.Float32List, { + /*typed_data.Float32List.bytesPerElement*/get bytesPerElement() { + return 4; + } +}, false); +typed_data.Float64List = class Float64List extends core.Object { + static view(buffer, offsetInBytes = 0, length = null) { + if (buffer == null) dart.nullFailed(I[142], 1953, 39, "buffer"); + if (offsetInBytes == null) dart.nullFailed(I[142], 1954, 12, "offsetInBytes"); + return buffer[$asFloat64List](offsetInBytes, length); + } + static sublistView(data, start = 0, end = null) { + if (data == null) dart.nullFailed(I[142], 1978, 45, "data"); + if (start == null) dart.nullFailed(I[142], 1978, 56, "start"); + let elementSize = data[$elementSizeInBytes]; + end = core.RangeError.checkValidRange(start, end, (dart.notNull(data[$lengthInBytes]) / dart.notNull(elementSize))[$truncate]()); + if (end == null) dart.throw("unreachable"); + let byteLength = (dart.notNull(end) - dart.notNull(start)) * dart.notNull(elementSize); + if (byteLength[$modulo](8) !== 0) { + dart.throw(new core.ArgumentError.new("The number of bytes to view must be a multiple of " + dart.str(8))); + } + return data[$buffer][$asFloat64List](dart.notNull(data[$offsetInBytes]) + dart.notNull(start) * dart.notNull(elementSize), (byteLength / 8)[$truncate]()); + } + [Symbol.iterator]() { + return new dart.JsIterator(this[$iterator]); + } +}; +(typed_data.Float64List[dart.mixinNew] = function() { +}).prototype = typed_data.Float64List.prototype; +typed_data.Float64List.prototype[dart.isList] = true; +dart.addTypeTests(typed_data.Float64List); +dart.addTypeCaches(typed_data.Float64List); +typed_data.Float64List[dart.implements] = () => [core.List$(core.double), typed_data._TypedFloatList]; +dart.setLibraryUri(typed_data.Float64List, I[60]); +dart.defineLazy(typed_data.Float64List, { + /*typed_data.Float64List.bytesPerElement*/get bytesPerElement() { + return 8; + } +}, false); +typed_data.Float32x4List = class Float32x4List extends core.Object { + static view(buffer, offsetInBytes = 0, length = null) { + if (buffer == null) dart.nullFailed(I[142], 2069, 41, "buffer"); + if (offsetInBytes == null) dart.nullFailed(I[142], 2070, 12, "offsetInBytes"); + return buffer[$asFloat32x4List](offsetInBytes, length); + } + static sublistView(data, start = 0, end = null) { + if (data == null) dart.nullFailed(I[142], 2094, 47, "data"); + if (start == null) dart.nullFailed(I[142], 2094, 58, "start"); + let elementSize = data[$elementSizeInBytes]; + end = core.RangeError.checkValidRange(start, end, (dart.notNull(data[$lengthInBytes]) / dart.notNull(elementSize))[$truncate]()); + if (end == null) dart.throw("unreachable"); + let byteLength = (dart.notNull(end) - dart.notNull(start)) * dart.notNull(elementSize); + if (byteLength[$modulo](16) !== 0) { + dart.throw(new core.ArgumentError.new("The number of bytes to view must be a multiple of " + dart.str(16))); + } + return data[$buffer][$asFloat32x4List](dart.notNull(data[$offsetInBytes]) + dart.notNull(start) * dart.notNull(elementSize), (byteLength / 16)[$truncate]()); + } + [Symbol.iterator]() { + return new dart.JsIterator(this[$iterator]); + } +}; +(typed_data.Float32x4List[dart.mixinNew] = function() { +}).prototype = typed_data.Float32x4List.prototype; +typed_data.Float32x4List.prototype[dart.isList] = true; +dart.addTypeTests(typed_data.Float32x4List); +dart.addTypeCaches(typed_data.Float32x4List); +typed_data.Float32x4List[dart.implements] = () => [core.List$(typed_data.Float32x4), typed_data.TypedData]; +dart.setLibraryUri(typed_data.Float32x4List, I[60]); +dart.defineLazy(typed_data.Float32x4List, { + /*typed_data.Float32x4List.bytesPerElement*/get bytesPerElement() { + return 16; + } +}, false); +typed_data.Int32x4List = class Int32x4List extends core.Object { + static view(buffer, offsetInBytes = 0, length = null) { + if (buffer == null) dart.nullFailed(I[142], 2191, 39, "buffer"); + if (offsetInBytes == null) dart.nullFailed(I[142], 2192, 12, "offsetInBytes"); + return buffer[$asInt32x4List](offsetInBytes, length); + } + static sublistView(data, start = 0, end = null) { + if (data == null) dart.nullFailed(I[142], 2216, 45, "data"); + if (start == null) dart.nullFailed(I[142], 2216, 56, "start"); + let elementSize = data[$elementSizeInBytes]; + end = core.RangeError.checkValidRange(start, end, (dart.notNull(data[$lengthInBytes]) / dart.notNull(elementSize))[$truncate]()); + if (end == null) dart.throw("unreachable"); + let byteLength = (dart.notNull(end) - dart.notNull(start)) * dart.notNull(elementSize); + if (byteLength[$modulo](16) !== 0) { + dart.throw(new core.ArgumentError.new("The number of bytes to view must be a multiple of " + dart.str(16))); + } + return data[$buffer][$asInt32x4List](dart.notNull(data[$offsetInBytes]) + dart.notNull(start) * dart.notNull(elementSize), (byteLength / 16)[$truncate]()); + } + [Symbol.iterator]() { + return new dart.JsIterator(this[$iterator]); + } +}; +(typed_data.Int32x4List[dart.mixinNew] = function() { +}).prototype = typed_data.Int32x4List.prototype; +typed_data.Int32x4List.prototype[dart.isList] = true; +dart.addTypeTests(typed_data.Int32x4List); +dart.addTypeCaches(typed_data.Int32x4List); +typed_data.Int32x4List[dart.implements] = () => [core.List$(typed_data.Int32x4), typed_data.TypedData]; +dart.setLibraryUri(typed_data.Int32x4List, I[60]); +dart.defineLazy(typed_data.Int32x4List, { + /*typed_data.Int32x4List.bytesPerElement*/get bytesPerElement() { + return 16; + } +}, false); +typed_data.Float64x2List = class Float64x2List extends core.Object { + static view(buffer, offsetInBytes = 0, length = null) { + if (buffer == null) dart.nullFailed(I[142], 2319, 41, "buffer"); + if (offsetInBytes == null) dart.nullFailed(I[142], 2320, 12, "offsetInBytes"); + return buffer[$asFloat64x2List](offsetInBytes, length); + } + static sublistView(data, start = 0, end = null) { + if (data == null) dart.nullFailed(I[142], 2344, 47, "data"); + if (start == null) dart.nullFailed(I[142], 2344, 58, "start"); + let elementSize = data[$elementSizeInBytes]; + end = core.RangeError.checkValidRange(start, end, (dart.notNull(data[$lengthInBytes]) / dart.notNull(elementSize))[$truncate]()); + if (end == null) dart.throw("unreachable"); + let byteLength = (dart.notNull(end) - dart.notNull(start)) * dart.notNull(elementSize); + if (byteLength[$modulo](16) !== 0) { + dart.throw(new core.ArgumentError.new("The number of bytes to view must be a multiple of " + dart.str(16))); + } + return data[$buffer][$asFloat64x2List](dart.notNull(data[$offsetInBytes]) + dart.notNull(start) * dart.notNull(elementSize), (byteLength / 16)[$truncate]()); + } + [Symbol.iterator]() { + return new dart.JsIterator(this[$iterator]); + } +}; +(typed_data.Float64x2List[dart.mixinNew] = function() { +}).prototype = typed_data.Float64x2List.prototype; +typed_data.Float64x2List.prototype[dart.isList] = true; +dart.addTypeTests(typed_data.Float64x2List); +dart.addTypeCaches(typed_data.Float64x2List); +typed_data.Float64x2List[dart.implements] = () => [core.List$(typed_data.Float64x2), typed_data.TypedData]; +dart.setLibraryUri(typed_data.Float64x2List, I[60]); +dart.defineLazy(typed_data.Float64x2List, { + /*typed_data.Float64x2List.bytesPerElement*/get bytesPerElement() { + return 16; + } +}, false); +var _data$ = dart.privateName(typed_data, "_data"); +typed_data.UnmodifiableByteBufferView = class UnmodifiableByteBufferView extends core.Object { + get lengthInBytes() { + return this[_data$][$lengthInBytes]; + } + asUint8List(offsetInBytes = 0, length = null) { + if (offsetInBytes == null) dart.nullFailed(I[144], 15, 30, "offsetInBytes"); + return new typed_data.UnmodifiableUint8ListView.new(this[_data$][$asUint8List](offsetInBytes, length)); + } + asInt8List(offsetInBytes = 0, length = null) { + if (offsetInBytes == null) dart.nullFailed(I[144], 18, 28, "offsetInBytes"); + return new typed_data.UnmodifiableInt8ListView.new(this[_data$][$asInt8List](offsetInBytes, length)); + } + asUint8ClampedList(offsetInBytes = 0, length = null) { + if (offsetInBytes == null) dart.nullFailed(I[144], 21, 44, "offsetInBytes"); + return new typed_data.UnmodifiableUint8ClampedListView.new(this[_data$][$asUint8ClampedList](offsetInBytes, length)); + } + asUint16List(offsetInBytes = 0, length = null) { + if (offsetInBytes == null) dart.nullFailed(I[144], 25, 32, "offsetInBytes"); + return new typed_data.UnmodifiableUint16ListView.new(this[_data$][$asUint16List](offsetInBytes, length)); + } + asInt16List(offsetInBytes = 0, length = null) { + if (offsetInBytes == null) dart.nullFailed(I[144], 28, 30, "offsetInBytes"); + return new typed_data.UnmodifiableInt16ListView.new(this[_data$][$asInt16List](offsetInBytes, length)); + } + asUint32List(offsetInBytes = 0, length = null) { + if (offsetInBytes == null) dart.nullFailed(I[144], 31, 32, "offsetInBytes"); + return new typed_data.UnmodifiableUint32ListView.new(this[_data$][$asUint32List](offsetInBytes, length)); + } + asInt32List(offsetInBytes = 0, length = null) { + if (offsetInBytes == null) dart.nullFailed(I[144], 34, 30, "offsetInBytes"); + return new typed_data.UnmodifiableInt32ListView.new(this[_data$][$asInt32List](offsetInBytes, length)); + } + asUint64List(offsetInBytes = 0, length = null) { + if (offsetInBytes == null) dart.nullFailed(I[144], 37, 32, "offsetInBytes"); + return new typed_data.UnmodifiableUint64ListView.new(this[_data$][$asUint64List](offsetInBytes, length)); + } + asInt64List(offsetInBytes = 0, length = null) { + if (offsetInBytes == null) dart.nullFailed(I[144], 40, 30, "offsetInBytes"); + return new typed_data.UnmodifiableInt64ListView.new(this[_data$][$asInt64List](offsetInBytes, length)); + } + asInt32x4List(offsetInBytes = 0, length = null) { + if (offsetInBytes == null) dart.nullFailed(I[144], 43, 34, "offsetInBytes"); + return new typed_data.UnmodifiableInt32x4ListView.new(this[_data$][$asInt32x4List](offsetInBytes, length)); + } + asFloat32List(offsetInBytes = 0, length = null) { + if (offsetInBytes == null) dart.nullFailed(I[144], 47, 34, "offsetInBytes"); + return new typed_data.UnmodifiableFloat32ListView.new(this[_data$][$asFloat32List](offsetInBytes, length)); + } + asFloat64List(offsetInBytes = 0, length = null) { + if (offsetInBytes == null) dart.nullFailed(I[144], 51, 34, "offsetInBytes"); + return new typed_data.UnmodifiableFloat64ListView.new(this[_data$][$asFloat64List](offsetInBytes, length)); + } + asFloat32x4List(offsetInBytes = 0, length = null) { + if (offsetInBytes == null) dart.nullFailed(I[144], 55, 38, "offsetInBytes"); + return new typed_data.UnmodifiableFloat32x4ListView.new(this[_data$][$asFloat32x4List](offsetInBytes, length)); + } + asFloat64x2List(offsetInBytes = 0, length = null) { + if (offsetInBytes == null) dart.nullFailed(I[144], 59, 38, "offsetInBytes"); + return new typed_data.UnmodifiableFloat64x2ListView.new(this[_data$][$asFloat64x2List](offsetInBytes, length)); + } + asByteData(offsetInBytes = 0, length = null) { + if (offsetInBytes == null) dart.nullFailed(I[144], 63, 28, "offsetInBytes"); + return new typed_data.UnmodifiableByteDataView.new(this[_data$][$asByteData](offsetInBytes, length)); + } +}; +(typed_data.UnmodifiableByteBufferView.new = function(data) { + if (data == null) dart.nullFailed(I[144], 11, 41, "data"); + this[_data$] = data; + ; +}).prototype = typed_data.UnmodifiableByteBufferView.prototype; +dart.addTypeTests(typed_data.UnmodifiableByteBufferView); +dart.addTypeCaches(typed_data.UnmodifiableByteBufferView); +typed_data.UnmodifiableByteBufferView[dart.implements] = () => [typed_data.ByteBuffer]; +dart.setMethodSignature(typed_data.UnmodifiableByteBufferView, () => ({ + __proto__: dart.getMethods(typed_data.UnmodifiableByteBufferView.__proto__), + asUint8List: dart.fnType(typed_data.Uint8List, [], [core.int, dart.nullable(core.int)]), + [$asUint8List]: dart.fnType(typed_data.Uint8List, [], [core.int, dart.nullable(core.int)]), + asInt8List: dart.fnType(typed_data.Int8List, [], [core.int, dart.nullable(core.int)]), + [$asInt8List]: dart.fnType(typed_data.Int8List, [], [core.int, dart.nullable(core.int)]), + asUint8ClampedList: dart.fnType(typed_data.Uint8ClampedList, [], [core.int, dart.nullable(core.int)]), + [$asUint8ClampedList]: dart.fnType(typed_data.Uint8ClampedList, [], [core.int, dart.nullable(core.int)]), + asUint16List: dart.fnType(typed_data.Uint16List, [], [core.int, dart.nullable(core.int)]), + [$asUint16List]: dart.fnType(typed_data.Uint16List, [], [core.int, dart.nullable(core.int)]), + asInt16List: dart.fnType(typed_data.Int16List, [], [core.int, dart.nullable(core.int)]), + [$asInt16List]: dart.fnType(typed_data.Int16List, [], [core.int, dart.nullable(core.int)]), + asUint32List: dart.fnType(typed_data.Uint32List, [], [core.int, dart.nullable(core.int)]), + [$asUint32List]: dart.fnType(typed_data.Uint32List, [], [core.int, dart.nullable(core.int)]), + asInt32List: dart.fnType(typed_data.Int32List, [], [core.int, dart.nullable(core.int)]), + [$asInt32List]: dart.fnType(typed_data.Int32List, [], [core.int, dart.nullable(core.int)]), + asUint64List: dart.fnType(typed_data.Uint64List, [], [core.int, dart.nullable(core.int)]), + [$asUint64List]: dart.fnType(typed_data.Uint64List, [], [core.int, dart.nullable(core.int)]), + asInt64List: dart.fnType(typed_data.Int64List, [], [core.int, dart.nullable(core.int)]), + [$asInt64List]: dart.fnType(typed_data.Int64List, [], [core.int, dart.nullable(core.int)]), + asInt32x4List: dart.fnType(typed_data.Int32x4List, [], [core.int, dart.nullable(core.int)]), + [$asInt32x4List]: dart.fnType(typed_data.Int32x4List, [], [core.int, dart.nullable(core.int)]), + asFloat32List: dart.fnType(typed_data.Float32List, [], [core.int, dart.nullable(core.int)]), + [$asFloat32List]: dart.fnType(typed_data.Float32List, [], [core.int, dart.nullable(core.int)]), + asFloat64List: dart.fnType(typed_data.Float64List, [], [core.int, dart.nullable(core.int)]), + [$asFloat64List]: dart.fnType(typed_data.Float64List, [], [core.int, dart.nullable(core.int)]), + asFloat32x4List: dart.fnType(typed_data.Float32x4List, [], [core.int, dart.nullable(core.int)]), + [$asFloat32x4List]: dart.fnType(typed_data.Float32x4List, [], [core.int, dart.nullable(core.int)]), + asFloat64x2List: dart.fnType(typed_data.Float64x2List, [], [core.int, dart.nullable(core.int)]), + [$asFloat64x2List]: dart.fnType(typed_data.Float64x2List, [], [core.int, dart.nullable(core.int)]), + asByteData: dart.fnType(typed_data.ByteData, [], [core.int, dart.nullable(core.int)]), + [$asByteData]: dart.fnType(typed_data.ByteData, [], [core.int, dart.nullable(core.int)]) +})); +dart.setGetterSignature(typed_data.UnmodifiableByteBufferView, () => ({ + __proto__: dart.getGetters(typed_data.UnmodifiableByteBufferView.__proto__), + lengthInBytes: core.int, + [$lengthInBytes]: core.int +})); +dart.setLibraryUri(typed_data.UnmodifiableByteBufferView, I[60]); +dart.setFieldSignature(typed_data.UnmodifiableByteBufferView, () => ({ + __proto__: dart.getFields(typed_data.UnmodifiableByteBufferView.__proto__), + [_data$]: dart.finalFieldType(typed_data.ByteBuffer) +})); +dart.defineExtensionMethods(typed_data.UnmodifiableByteBufferView, [ + 'asUint8List', + 'asInt8List', + 'asUint8ClampedList', + 'asUint16List', + 'asInt16List', + 'asUint32List', + 'asInt32List', + 'asUint64List', + 'asInt64List', + 'asInt32x4List', + 'asFloat32List', + 'asFloat64List', + 'asFloat32x4List', + 'asFloat64x2List', + 'asByteData' +]); +dart.defineExtensionAccessors(typed_data.UnmodifiableByteBufferView, ['lengthInBytes']); +var _unsupported$ = dart.privateName(typed_data, "_unsupported"); +typed_data.UnmodifiableByteDataView = class UnmodifiableByteDataView extends core.Object { + getInt8(byteOffset) { + if (byteOffset == null) dart.nullFailed(I[144], 73, 19, "byteOffset"); + return this[_data$][$getInt8](byteOffset); + } + setInt8(byteOffset, value) { + if (byteOffset == null) dart.nullFailed(I[144], 75, 20, "byteOffset"); + if (value == null) dart.nullFailed(I[144], 75, 36, "value"); + return this[_unsupported$](); + } + getUint8(byteOffset) { + if (byteOffset == null) dart.nullFailed(I[144], 77, 20, "byteOffset"); + return this[_data$][$getUint8](byteOffset); + } + setUint8(byteOffset, value) { + if (byteOffset == null) dart.nullFailed(I[144], 79, 21, "byteOffset"); + if (value == null) dart.nullFailed(I[144], 79, 37, "value"); + return this[_unsupported$](); + } + getInt16(byteOffset, endian = C[36] || CT.C36) { + if (byteOffset == null) dart.nullFailed(I[144], 81, 20, "byteOffset"); + if (endian == null) dart.nullFailed(I[144], 81, 40, "endian"); + return this[_data$][$getInt16](byteOffset, endian); + } + setInt16(byteOffset, value, endian = C[36] || CT.C36) { + if (byteOffset == null) dart.nullFailed(I[144], 84, 21, "byteOffset"); + if (value == null) dart.nullFailed(I[144], 84, 37, "value"); + if (endian == null) dart.nullFailed(I[144], 84, 52, "endian"); + return this[_unsupported$](); + } + getUint16(byteOffset, endian = C[36] || CT.C36) { + if (byteOffset == null) dart.nullFailed(I[144], 87, 21, "byteOffset"); + if (endian == null) dart.nullFailed(I[144], 87, 41, "endian"); + return this[_data$][$getUint16](byteOffset, endian); + } + setUint16(byteOffset, value, endian = C[36] || CT.C36) { + if (byteOffset == null) dart.nullFailed(I[144], 90, 22, "byteOffset"); + if (value == null) dart.nullFailed(I[144], 90, 38, "value"); + if (endian == null) dart.nullFailed(I[144], 90, 53, "endian"); + return this[_unsupported$](); + } + getInt32(byteOffset, endian = C[36] || CT.C36) { + if (byteOffset == null) dart.nullFailed(I[144], 93, 20, "byteOffset"); + if (endian == null) dart.nullFailed(I[144], 93, 40, "endian"); + return this[_data$][$getInt32](byteOffset, endian); + } + setInt32(byteOffset, value, endian = C[36] || CT.C36) { + if (byteOffset == null) dart.nullFailed(I[144], 96, 21, "byteOffset"); + if (value == null) dart.nullFailed(I[144], 96, 37, "value"); + if (endian == null) dart.nullFailed(I[144], 96, 52, "endian"); + return this[_unsupported$](); + } + getUint32(byteOffset, endian = C[36] || CT.C36) { + if (byteOffset == null) dart.nullFailed(I[144], 99, 21, "byteOffset"); + if (endian == null) dart.nullFailed(I[144], 99, 41, "endian"); + return this[_data$][$getUint32](byteOffset, endian); + } + setUint32(byteOffset, value, endian = C[36] || CT.C36) { + if (byteOffset == null) dart.nullFailed(I[144], 102, 22, "byteOffset"); + if (value == null) dart.nullFailed(I[144], 102, 38, "value"); + if (endian == null) dart.nullFailed(I[144], 102, 53, "endian"); + return this[_unsupported$](); + } + getInt64(byteOffset, endian = C[36] || CT.C36) { + if (byteOffset == null) dart.nullFailed(I[144], 105, 20, "byteOffset"); + if (endian == null) dart.nullFailed(I[144], 105, 40, "endian"); + return this[_data$][$getInt64](byteOffset, endian); + } + setInt64(byteOffset, value, endian = C[36] || CT.C36) { + if (byteOffset == null) dart.nullFailed(I[144], 108, 21, "byteOffset"); + if (value == null) dart.nullFailed(I[144], 108, 37, "value"); + if (endian == null) dart.nullFailed(I[144], 108, 52, "endian"); + return this[_unsupported$](); + } + getUint64(byteOffset, endian = C[36] || CT.C36) { + if (byteOffset == null) dart.nullFailed(I[144], 111, 21, "byteOffset"); + if (endian == null) dart.nullFailed(I[144], 111, 41, "endian"); + return this[_data$][$getUint64](byteOffset, endian); + } + setUint64(byteOffset, value, endian = C[36] || CT.C36) { + if (byteOffset == null) dart.nullFailed(I[144], 114, 22, "byteOffset"); + if (value == null) dart.nullFailed(I[144], 114, 38, "value"); + if (endian == null) dart.nullFailed(I[144], 114, 53, "endian"); + return this[_unsupported$](); + } + getFloat32(byteOffset, endian = C[36] || CT.C36) { + if (byteOffset == null) dart.nullFailed(I[144], 117, 25, "byteOffset"); + if (endian == null) dart.nullFailed(I[144], 117, 45, "endian"); + return this[_data$][$getFloat32](byteOffset, endian); + } + setFloat32(byteOffset, value, endian = C[36] || CT.C36) { + if (byteOffset == null) dart.nullFailed(I[144], 120, 23, "byteOffset"); + if (value == null) dart.nullFailed(I[144], 120, 42, "value"); + if (endian == null) dart.nullFailed(I[144], 120, 57, "endian"); + return this[_unsupported$](); + } + getFloat64(byteOffset, endian = C[36] || CT.C36) { + if (byteOffset == null) dart.nullFailed(I[144], 123, 25, "byteOffset"); + if (endian == null) dart.nullFailed(I[144], 123, 45, "endian"); + return this[_data$][$getFloat64](byteOffset, endian); + } + setFloat64(byteOffset, value, endian = C[36] || CT.C36) { + if (byteOffset == null) dart.nullFailed(I[144], 126, 23, "byteOffset"); + if (value == null) dart.nullFailed(I[144], 126, 42, "value"); + if (endian == null) dart.nullFailed(I[144], 126, 57, "endian"); + return this[_unsupported$](); + } + get elementSizeInBytes() { + return this[_data$][$elementSizeInBytes]; + } + get offsetInBytes() { + return this[_data$][$offsetInBytes]; + } + get lengthInBytes() { + return this[_data$][$lengthInBytes]; + } + get buffer() { + return new typed_data.UnmodifiableByteBufferView.new(this[_data$][$buffer]); + } + [_unsupported$]() { + dart.throw(new core.UnsupportedError.new("An UnmodifiableByteDataView may not be modified")); + } +}; +(typed_data.UnmodifiableByteDataView.new = function(data) { + if (data == null) dart.nullFailed(I[144], 71, 37, "data"); + this[_data$] = data; + ; +}).prototype = typed_data.UnmodifiableByteDataView.prototype; +dart.addTypeTests(typed_data.UnmodifiableByteDataView); +dart.addTypeCaches(typed_data.UnmodifiableByteDataView); +typed_data.UnmodifiableByteDataView[dart.implements] = () => [typed_data.ByteData]; +dart.setMethodSignature(typed_data.UnmodifiableByteDataView, () => ({ + __proto__: dart.getMethods(typed_data.UnmodifiableByteDataView.__proto__), + getInt8: dart.fnType(core.int, [core.int]), + [$getInt8]: dart.fnType(core.int, [core.int]), + setInt8: dart.fnType(dart.void, [core.int, core.int]), + [$setInt8]: dart.fnType(dart.void, [core.int, core.int]), + getUint8: dart.fnType(core.int, [core.int]), + [$getUint8]: dart.fnType(core.int, [core.int]), + setUint8: dart.fnType(dart.void, [core.int, core.int]), + [$setUint8]: dart.fnType(dart.void, [core.int, core.int]), + getInt16: dart.fnType(core.int, [core.int], [typed_data.Endian]), + [$getInt16]: dart.fnType(core.int, [core.int], [typed_data.Endian]), + setInt16: dart.fnType(dart.void, [core.int, core.int], [typed_data.Endian]), + [$setInt16]: dart.fnType(dart.void, [core.int, core.int], [typed_data.Endian]), + getUint16: dart.fnType(core.int, [core.int], [typed_data.Endian]), + [$getUint16]: dart.fnType(core.int, [core.int], [typed_data.Endian]), + setUint16: dart.fnType(dart.void, [core.int, core.int], [typed_data.Endian]), + [$setUint16]: dart.fnType(dart.void, [core.int, core.int], [typed_data.Endian]), + getInt32: dart.fnType(core.int, [core.int], [typed_data.Endian]), + [$getInt32]: dart.fnType(core.int, [core.int], [typed_data.Endian]), + setInt32: dart.fnType(dart.void, [core.int, core.int], [typed_data.Endian]), + [$setInt32]: dart.fnType(dart.void, [core.int, core.int], [typed_data.Endian]), + getUint32: dart.fnType(core.int, [core.int], [typed_data.Endian]), + [$getUint32]: dart.fnType(core.int, [core.int], [typed_data.Endian]), + setUint32: dart.fnType(dart.void, [core.int, core.int], [typed_data.Endian]), + [$setUint32]: dart.fnType(dart.void, [core.int, core.int], [typed_data.Endian]), + getInt64: dart.fnType(core.int, [core.int], [typed_data.Endian]), + [$getInt64]: dart.fnType(core.int, [core.int], [typed_data.Endian]), + setInt64: dart.fnType(dart.void, [core.int, core.int], [typed_data.Endian]), + [$setInt64]: dart.fnType(dart.void, [core.int, core.int], [typed_data.Endian]), + getUint64: dart.fnType(core.int, [core.int], [typed_data.Endian]), + [$getUint64]: dart.fnType(core.int, [core.int], [typed_data.Endian]), + setUint64: dart.fnType(dart.void, [core.int, core.int], [typed_data.Endian]), + [$setUint64]: dart.fnType(dart.void, [core.int, core.int], [typed_data.Endian]), + getFloat32: dart.fnType(core.double, [core.int], [typed_data.Endian]), + [$getFloat32]: dart.fnType(core.double, [core.int], [typed_data.Endian]), + setFloat32: dart.fnType(dart.void, [core.int, core.double], [typed_data.Endian]), + [$setFloat32]: dart.fnType(dart.void, [core.int, core.double], [typed_data.Endian]), + getFloat64: dart.fnType(core.double, [core.int], [typed_data.Endian]), + [$getFloat64]: dart.fnType(core.double, [core.int], [typed_data.Endian]), + setFloat64: dart.fnType(dart.void, [core.int, core.double], [typed_data.Endian]), + [$setFloat64]: dart.fnType(dart.void, [core.int, core.double], [typed_data.Endian]), + [_unsupported$]: dart.fnType(dart.void, []) +})); +dart.setGetterSignature(typed_data.UnmodifiableByteDataView, () => ({ + __proto__: dart.getGetters(typed_data.UnmodifiableByteDataView.__proto__), + elementSizeInBytes: core.int, + [$elementSizeInBytes]: core.int, + offsetInBytes: core.int, + [$offsetInBytes]: core.int, + lengthInBytes: core.int, + [$lengthInBytes]: core.int, + buffer: typed_data.ByteBuffer, + [$buffer]: typed_data.ByteBuffer +})); +dart.setLibraryUri(typed_data.UnmodifiableByteDataView, I[60]); +dart.setFieldSignature(typed_data.UnmodifiableByteDataView, () => ({ + __proto__: dart.getFields(typed_data.UnmodifiableByteDataView.__proto__), + [_data$]: dart.finalFieldType(typed_data.ByteData) +})); +dart.defineExtensionMethods(typed_data.UnmodifiableByteDataView, [ + 'getInt8', + 'setInt8', + 'getUint8', + 'setUint8', + 'getInt16', + 'setInt16', + 'getUint16', + 'setUint16', + 'getInt32', + 'setInt32', + 'getUint32', + 'setUint32', + 'getInt64', + 'setInt64', + 'getUint64', + 'setUint64', + 'getFloat32', + 'setFloat32', + 'getFloat64', + 'setFloat64' +]); +dart.defineExtensionAccessors(typed_data.UnmodifiableByteDataView, ['elementSizeInBytes', 'offsetInBytes', 'lengthInBytes', 'buffer']); +var _list$2 = dart.privateName(typed_data, "_list"); +var _createList = dart.privateName(typed_data, "_createList"); +const _is__UnmodifiableListMixin_default = Symbol('_is__UnmodifiableListMixin_default'); +typed_data._UnmodifiableListMixin$ = dart.generic((N, L, TD) => { + class _UnmodifiableListMixin extends core.Object { + get [_data$]() { + return TD.as(this[_list$2]); + } + get length() { + return this[_list$2][$length]; + } + _get(index) { + if (index == null) dart.nullFailed(I[144], 150, 21, "index"); + return this[_list$2][$_get](index); + } + get elementSizeInBytes() { + return this[_data$][$elementSizeInBytes]; + } + get offsetInBytes() { + return this[_data$][$offsetInBytes]; + } + get lengthInBytes() { + return this[_data$][$lengthInBytes]; + } + get buffer() { + return new typed_data.UnmodifiableByteBufferView.new(this[_data$][$buffer]); + } + sublist(start, end = null) { + if (start == null) dart.nullFailed(I[144], 162, 17, "start"); + let endIndex = core.RangeError.checkValidRange(start, dart.nullCheck(end), this.length); + let sublistLength = dart.notNull(endIndex) - dart.notNull(start); + let result = this[_createList](sublistLength); + result[$setRange](0, sublistLength, this[_list$2], start); + return result; + } + } + (_UnmodifiableListMixin.new = function() { + ; + }).prototype = _UnmodifiableListMixin.prototype; + dart.addTypeTests(_UnmodifiableListMixin); + _UnmodifiableListMixin.prototype[_is__UnmodifiableListMixin_default] = true; + dart.addTypeCaches(_UnmodifiableListMixin); + dart.setMethodSignature(_UnmodifiableListMixin, () => ({ + __proto__: dart.getMethods(_UnmodifiableListMixin.__proto__), + _get: dart.fnType(N, [core.int]), + sublist: dart.fnType(L, [core.int], [dart.nullable(core.int)]) + })); + dart.setGetterSignature(_UnmodifiableListMixin, () => ({ + __proto__: dart.getGetters(_UnmodifiableListMixin.__proto__), + [_data$]: TD, + length: core.int, + elementSizeInBytes: core.int, + offsetInBytes: core.int, + lengthInBytes: core.int, + buffer: typed_data.ByteBuffer + })); + dart.setLibraryUri(_UnmodifiableListMixin, I[60]); + return _UnmodifiableListMixin; +}); +typed_data._UnmodifiableListMixin = typed_data._UnmodifiableListMixin$(); +dart.addTypeTests(typed_data._UnmodifiableListMixin, _is__UnmodifiableListMixin_default); +var _list$3 = dart.privateName(typed_data, "UnmodifiableUint8ListView._list"); +const UnmodifiableListBase__UnmodifiableListMixin$36 = class UnmodifiableListBase__UnmodifiableListMixin extends _internal.UnmodifiableListBase$(core.int) {}; +(UnmodifiableListBase__UnmodifiableListMixin$36.new = function() { +}).prototype = UnmodifiableListBase__UnmodifiableListMixin$36.prototype; +dart.applyMixin(UnmodifiableListBase__UnmodifiableListMixin$36, typed_data._UnmodifiableListMixin$(core.int, typed_data.Uint8List, typed_data.Uint8List)); +typed_data.UnmodifiableUint8ListView = class UnmodifiableUint8ListView extends UnmodifiableListBase__UnmodifiableListMixin$36 { + get [_list$2]() { + return this[_list$3]; + } + set [_list$2](value) { + super[_list$2] = value; + } + [_createList](length) { + if (length == null) dart.nullFailed(I[144], 179, 29, "length"); + return _native_typed_data.NativeUint8List.new(length); + } +}; +(typed_data.UnmodifiableUint8ListView.new = function(list) { + if (list == null) dart.nullFailed(I[144], 177, 39, "list"); + this[_list$3] = list; + ; +}).prototype = typed_data.UnmodifiableUint8ListView.prototype; +dart.addTypeTests(typed_data.UnmodifiableUint8ListView); +dart.addTypeCaches(typed_data.UnmodifiableUint8ListView); +typed_data.UnmodifiableUint8ListView[dart.implements] = () => [typed_data.Uint8List]; +dart.setMethodSignature(typed_data.UnmodifiableUint8ListView, () => ({ + __proto__: dart.getMethods(typed_data.UnmodifiableUint8ListView.__proto__), + [_createList]: dart.fnType(typed_data.Uint8List, [core.int]) +})); +dart.setLibraryUri(typed_data.UnmodifiableUint8ListView, I[60]); +dart.setFieldSignature(typed_data.UnmodifiableUint8ListView, () => ({ + __proto__: dart.getFields(typed_data.UnmodifiableUint8ListView.__proto__), + [_list$2]: dart.finalFieldType(typed_data.Uint8List) +})); +dart.defineExtensionMethods(typed_data.UnmodifiableUint8ListView, ['_get', 'sublist']); +dart.defineExtensionAccessors(typed_data.UnmodifiableUint8ListView, [ + 'length', + 'elementSizeInBytes', + 'offsetInBytes', + 'lengthInBytes', + 'buffer' +]); +var _list$4 = dart.privateName(typed_data, "UnmodifiableInt8ListView._list"); +const UnmodifiableListBase__UnmodifiableListMixin$36$ = class UnmodifiableListBase__UnmodifiableListMixin extends _internal.UnmodifiableListBase$(core.int) {}; +(UnmodifiableListBase__UnmodifiableListMixin$36$.new = function() { +}).prototype = UnmodifiableListBase__UnmodifiableListMixin$36$.prototype; +dart.applyMixin(UnmodifiableListBase__UnmodifiableListMixin$36$, typed_data._UnmodifiableListMixin$(core.int, typed_data.Int8List, typed_data.Int8List)); +typed_data.UnmodifiableInt8ListView = class UnmodifiableInt8ListView extends UnmodifiableListBase__UnmodifiableListMixin$36$ { + get [_list$2]() { + return this[_list$4]; + } + set [_list$2](value) { + super[_list$2] = value; + } + [_createList](length) { + if (length == null) dart.nullFailed(I[144], 189, 28, "length"); + return _native_typed_data.NativeInt8List.new(length); + } +}; +(typed_data.UnmodifiableInt8ListView.new = function(list) { + if (list == null) dart.nullFailed(I[144], 187, 37, "list"); + this[_list$4] = list; + ; +}).prototype = typed_data.UnmodifiableInt8ListView.prototype; +dart.addTypeTests(typed_data.UnmodifiableInt8ListView); +dart.addTypeCaches(typed_data.UnmodifiableInt8ListView); +typed_data.UnmodifiableInt8ListView[dart.implements] = () => [typed_data.Int8List]; +dart.setMethodSignature(typed_data.UnmodifiableInt8ListView, () => ({ + __proto__: dart.getMethods(typed_data.UnmodifiableInt8ListView.__proto__), + [_createList]: dart.fnType(typed_data.Int8List, [core.int]) +})); +dart.setLibraryUri(typed_data.UnmodifiableInt8ListView, I[60]); +dart.setFieldSignature(typed_data.UnmodifiableInt8ListView, () => ({ + __proto__: dart.getFields(typed_data.UnmodifiableInt8ListView.__proto__), + [_list$2]: dart.finalFieldType(typed_data.Int8List) +})); +dart.defineExtensionMethods(typed_data.UnmodifiableInt8ListView, ['_get', 'sublist']); +dart.defineExtensionAccessors(typed_data.UnmodifiableInt8ListView, [ + 'length', + 'elementSizeInBytes', + 'offsetInBytes', + 'lengthInBytes', + 'buffer' +]); +var _list$5 = dart.privateName(typed_data, "UnmodifiableUint8ClampedListView._list"); +const UnmodifiableListBase__UnmodifiableListMixin$36$0 = class UnmodifiableListBase__UnmodifiableListMixin extends _internal.UnmodifiableListBase$(core.int) {}; +(UnmodifiableListBase__UnmodifiableListMixin$36$0.new = function() { +}).prototype = UnmodifiableListBase__UnmodifiableListMixin$36$0.prototype; +dart.applyMixin(UnmodifiableListBase__UnmodifiableListMixin$36$0, typed_data._UnmodifiableListMixin$(core.int, typed_data.Uint8ClampedList, typed_data.Uint8ClampedList)); +typed_data.UnmodifiableUint8ClampedListView = class UnmodifiableUint8ClampedListView extends UnmodifiableListBase__UnmodifiableListMixin$36$0 { + get [_list$2]() { + return this[_list$5]; + } + set [_list$2](value) { + super[_list$2] = value; + } + [_createList](length) { + if (length == null) dart.nullFailed(I[144], 199, 36, "length"); + return _native_typed_data.NativeUint8ClampedList.new(length); + } +}; +(typed_data.UnmodifiableUint8ClampedListView.new = function(list) { + if (list == null) dart.nullFailed(I[144], 197, 53, "list"); + this[_list$5] = list; + ; +}).prototype = typed_data.UnmodifiableUint8ClampedListView.prototype; +dart.addTypeTests(typed_data.UnmodifiableUint8ClampedListView); +dart.addTypeCaches(typed_data.UnmodifiableUint8ClampedListView); +typed_data.UnmodifiableUint8ClampedListView[dart.implements] = () => [typed_data.Uint8ClampedList]; +dart.setMethodSignature(typed_data.UnmodifiableUint8ClampedListView, () => ({ + __proto__: dart.getMethods(typed_data.UnmodifiableUint8ClampedListView.__proto__), + [_createList]: dart.fnType(typed_data.Uint8ClampedList, [core.int]) +})); +dart.setLibraryUri(typed_data.UnmodifiableUint8ClampedListView, I[60]); +dart.setFieldSignature(typed_data.UnmodifiableUint8ClampedListView, () => ({ + __proto__: dart.getFields(typed_data.UnmodifiableUint8ClampedListView.__proto__), + [_list$2]: dart.finalFieldType(typed_data.Uint8ClampedList) +})); +dart.defineExtensionMethods(typed_data.UnmodifiableUint8ClampedListView, ['_get', 'sublist']); +dart.defineExtensionAccessors(typed_data.UnmodifiableUint8ClampedListView, [ + 'length', + 'elementSizeInBytes', + 'offsetInBytes', + 'lengthInBytes', + 'buffer' +]); +var _list$6 = dart.privateName(typed_data, "UnmodifiableUint16ListView._list"); +const UnmodifiableListBase__UnmodifiableListMixin$36$1 = class UnmodifiableListBase__UnmodifiableListMixin extends _internal.UnmodifiableListBase$(core.int) {}; +(UnmodifiableListBase__UnmodifiableListMixin$36$1.new = function() { +}).prototype = UnmodifiableListBase__UnmodifiableListMixin$36$1.prototype; +dart.applyMixin(UnmodifiableListBase__UnmodifiableListMixin$36$1, typed_data._UnmodifiableListMixin$(core.int, typed_data.Uint16List, typed_data.Uint16List)); +typed_data.UnmodifiableUint16ListView = class UnmodifiableUint16ListView extends UnmodifiableListBase__UnmodifiableListMixin$36$1 { + get [_list$2]() { + return this[_list$6]; + } + set [_list$2](value) { + super[_list$2] = value; + } + [_createList](length) { + if (length == null) dart.nullFailed(I[144], 209, 30, "length"); + return _native_typed_data.NativeUint16List.new(length); + } +}; +(typed_data.UnmodifiableUint16ListView.new = function(list) { + if (list == null) dart.nullFailed(I[144], 207, 41, "list"); + this[_list$6] = list; + ; +}).prototype = typed_data.UnmodifiableUint16ListView.prototype; +dart.addTypeTests(typed_data.UnmodifiableUint16ListView); +dart.addTypeCaches(typed_data.UnmodifiableUint16ListView); +typed_data.UnmodifiableUint16ListView[dart.implements] = () => [typed_data.Uint16List]; +dart.setMethodSignature(typed_data.UnmodifiableUint16ListView, () => ({ + __proto__: dart.getMethods(typed_data.UnmodifiableUint16ListView.__proto__), + [_createList]: dart.fnType(typed_data.Uint16List, [core.int]) +})); +dart.setLibraryUri(typed_data.UnmodifiableUint16ListView, I[60]); +dart.setFieldSignature(typed_data.UnmodifiableUint16ListView, () => ({ + __proto__: dart.getFields(typed_data.UnmodifiableUint16ListView.__proto__), + [_list$2]: dart.finalFieldType(typed_data.Uint16List) +})); +dart.defineExtensionMethods(typed_data.UnmodifiableUint16ListView, ['_get', 'sublist']); +dart.defineExtensionAccessors(typed_data.UnmodifiableUint16ListView, [ + 'length', + 'elementSizeInBytes', + 'offsetInBytes', + 'lengthInBytes', + 'buffer' +]); +var _list$7 = dart.privateName(typed_data, "UnmodifiableInt16ListView._list"); +const UnmodifiableListBase__UnmodifiableListMixin$36$2 = class UnmodifiableListBase__UnmodifiableListMixin extends _internal.UnmodifiableListBase$(core.int) {}; +(UnmodifiableListBase__UnmodifiableListMixin$36$2.new = function() { +}).prototype = UnmodifiableListBase__UnmodifiableListMixin$36$2.prototype; +dart.applyMixin(UnmodifiableListBase__UnmodifiableListMixin$36$2, typed_data._UnmodifiableListMixin$(core.int, typed_data.Int16List, typed_data.Int16List)); +typed_data.UnmodifiableInt16ListView = class UnmodifiableInt16ListView extends UnmodifiableListBase__UnmodifiableListMixin$36$2 { + get [_list$2]() { + return this[_list$7]; + } + set [_list$2](value) { + super[_list$2] = value; + } + [_createList](length) { + if (length == null) dart.nullFailed(I[144], 219, 29, "length"); + return _native_typed_data.NativeInt16List.new(length); + } +}; +(typed_data.UnmodifiableInt16ListView.new = function(list) { + if (list == null) dart.nullFailed(I[144], 217, 39, "list"); + this[_list$7] = list; + ; +}).prototype = typed_data.UnmodifiableInt16ListView.prototype; +dart.addTypeTests(typed_data.UnmodifiableInt16ListView); +dart.addTypeCaches(typed_data.UnmodifiableInt16ListView); +typed_data.UnmodifiableInt16ListView[dart.implements] = () => [typed_data.Int16List]; +dart.setMethodSignature(typed_data.UnmodifiableInt16ListView, () => ({ + __proto__: dart.getMethods(typed_data.UnmodifiableInt16ListView.__proto__), + [_createList]: dart.fnType(typed_data.Int16List, [core.int]) +})); +dart.setLibraryUri(typed_data.UnmodifiableInt16ListView, I[60]); +dart.setFieldSignature(typed_data.UnmodifiableInt16ListView, () => ({ + __proto__: dart.getFields(typed_data.UnmodifiableInt16ListView.__proto__), + [_list$2]: dart.finalFieldType(typed_data.Int16List) +})); +dart.defineExtensionMethods(typed_data.UnmodifiableInt16ListView, ['_get', 'sublist']); +dart.defineExtensionAccessors(typed_data.UnmodifiableInt16ListView, [ + 'length', + 'elementSizeInBytes', + 'offsetInBytes', + 'lengthInBytes', + 'buffer' +]); +var _list$8 = dart.privateName(typed_data, "UnmodifiableUint32ListView._list"); +const UnmodifiableListBase__UnmodifiableListMixin$36$3 = class UnmodifiableListBase__UnmodifiableListMixin extends _internal.UnmodifiableListBase$(core.int) {}; +(UnmodifiableListBase__UnmodifiableListMixin$36$3.new = function() { +}).prototype = UnmodifiableListBase__UnmodifiableListMixin$36$3.prototype; +dart.applyMixin(UnmodifiableListBase__UnmodifiableListMixin$36$3, typed_data._UnmodifiableListMixin$(core.int, typed_data.Uint32List, typed_data.Uint32List)); +typed_data.UnmodifiableUint32ListView = class UnmodifiableUint32ListView extends UnmodifiableListBase__UnmodifiableListMixin$36$3 { + get [_list$2]() { + return this[_list$8]; + } + set [_list$2](value) { + super[_list$2] = value; + } + [_createList](length) { + if (length == null) dart.nullFailed(I[144], 229, 30, "length"); + return _native_typed_data.NativeUint32List.new(length); + } +}; +(typed_data.UnmodifiableUint32ListView.new = function(list) { + if (list == null) dart.nullFailed(I[144], 227, 41, "list"); + this[_list$8] = list; + ; +}).prototype = typed_data.UnmodifiableUint32ListView.prototype; +dart.addTypeTests(typed_data.UnmodifiableUint32ListView); +dart.addTypeCaches(typed_data.UnmodifiableUint32ListView); +typed_data.UnmodifiableUint32ListView[dart.implements] = () => [typed_data.Uint32List]; +dart.setMethodSignature(typed_data.UnmodifiableUint32ListView, () => ({ + __proto__: dart.getMethods(typed_data.UnmodifiableUint32ListView.__proto__), + [_createList]: dart.fnType(typed_data.Uint32List, [core.int]) +})); +dart.setLibraryUri(typed_data.UnmodifiableUint32ListView, I[60]); +dart.setFieldSignature(typed_data.UnmodifiableUint32ListView, () => ({ + __proto__: dart.getFields(typed_data.UnmodifiableUint32ListView.__proto__), + [_list$2]: dart.finalFieldType(typed_data.Uint32List) +})); +dart.defineExtensionMethods(typed_data.UnmodifiableUint32ListView, ['_get', 'sublist']); +dart.defineExtensionAccessors(typed_data.UnmodifiableUint32ListView, [ + 'length', + 'elementSizeInBytes', + 'offsetInBytes', + 'lengthInBytes', + 'buffer' +]); +var _list$9 = dart.privateName(typed_data, "UnmodifiableInt32ListView._list"); +const UnmodifiableListBase__UnmodifiableListMixin$36$4 = class UnmodifiableListBase__UnmodifiableListMixin extends _internal.UnmodifiableListBase$(core.int) {}; +(UnmodifiableListBase__UnmodifiableListMixin$36$4.new = function() { +}).prototype = UnmodifiableListBase__UnmodifiableListMixin$36$4.prototype; +dart.applyMixin(UnmodifiableListBase__UnmodifiableListMixin$36$4, typed_data._UnmodifiableListMixin$(core.int, typed_data.Int32List, typed_data.Int32List)); +typed_data.UnmodifiableInt32ListView = class UnmodifiableInt32ListView extends UnmodifiableListBase__UnmodifiableListMixin$36$4 { + get [_list$2]() { + return this[_list$9]; + } + set [_list$2](value) { + super[_list$2] = value; + } + [_createList](length) { + if (length == null) dart.nullFailed(I[144], 239, 29, "length"); + return _native_typed_data.NativeInt32List.new(length); + } +}; +(typed_data.UnmodifiableInt32ListView.new = function(list) { + if (list == null) dart.nullFailed(I[144], 237, 39, "list"); + this[_list$9] = list; + ; +}).prototype = typed_data.UnmodifiableInt32ListView.prototype; +dart.addTypeTests(typed_data.UnmodifiableInt32ListView); +dart.addTypeCaches(typed_data.UnmodifiableInt32ListView); +typed_data.UnmodifiableInt32ListView[dart.implements] = () => [typed_data.Int32List]; +dart.setMethodSignature(typed_data.UnmodifiableInt32ListView, () => ({ + __proto__: dart.getMethods(typed_data.UnmodifiableInt32ListView.__proto__), + [_createList]: dart.fnType(typed_data.Int32List, [core.int]) +})); +dart.setLibraryUri(typed_data.UnmodifiableInt32ListView, I[60]); +dart.setFieldSignature(typed_data.UnmodifiableInt32ListView, () => ({ + __proto__: dart.getFields(typed_data.UnmodifiableInt32ListView.__proto__), + [_list$2]: dart.finalFieldType(typed_data.Int32List) +})); +dart.defineExtensionMethods(typed_data.UnmodifiableInt32ListView, ['_get', 'sublist']); +dart.defineExtensionAccessors(typed_data.UnmodifiableInt32ListView, [ + 'length', + 'elementSizeInBytes', + 'offsetInBytes', + 'lengthInBytes', + 'buffer' +]); +var _list$10 = dart.privateName(typed_data, "UnmodifiableUint64ListView._list"); +const UnmodifiableListBase__UnmodifiableListMixin$36$5 = class UnmodifiableListBase__UnmodifiableListMixin extends _internal.UnmodifiableListBase$(core.int) {}; +(UnmodifiableListBase__UnmodifiableListMixin$36$5.new = function() { +}).prototype = UnmodifiableListBase__UnmodifiableListMixin$36$5.prototype; +dart.applyMixin(UnmodifiableListBase__UnmodifiableListMixin$36$5, typed_data._UnmodifiableListMixin$(core.int, typed_data.Uint64List, typed_data.Uint64List)); +typed_data.UnmodifiableUint64ListView = class UnmodifiableUint64ListView extends UnmodifiableListBase__UnmodifiableListMixin$36$5 { + get [_list$2]() { + return this[_list$10]; + } + set [_list$2](value) { + super[_list$2] = value; + } + [_createList](length) { + if (length == null) dart.nullFailed(I[144], 249, 30, "length"); + return typed_data.Uint64List.new(length); + } +}; +(typed_data.UnmodifiableUint64ListView.new = function(list) { + if (list == null) dart.nullFailed(I[144], 247, 41, "list"); + this[_list$10] = list; + ; +}).prototype = typed_data.UnmodifiableUint64ListView.prototype; +dart.addTypeTests(typed_data.UnmodifiableUint64ListView); +dart.addTypeCaches(typed_data.UnmodifiableUint64ListView); +typed_data.UnmodifiableUint64ListView[dart.implements] = () => [typed_data.Uint64List]; +dart.setMethodSignature(typed_data.UnmodifiableUint64ListView, () => ({ + __proto__: dart.getMethods(typed_data.UnmodifiableUint64ListView.__proto__), + [_createList]: dart.fnType(typed_data.Uint64List, [core.int]) +})); +dart.setLibraryUri(typed_data.UnmodifiableUint64ListView, I[60]); +dart.setFieldSignature(typed_data.UnmodifiableUint64ListView, () => ({ + __proto__: dart.getFields(typed_data.UnmodifiableUint64ListView.__proto__), + [_list$2]: dart.finalFieldType(typed_data.Uint64List) +})); +dart.defineExtensionMethods(typed_data.UnmodifiableUint64ListView, ['_get', 'sublist']); +dart.defineExtensionAccessors(typed_data.UnmodifiableUint64ListView, [ + 'length', + 'elementSizeInBytes', + 'offsetInBytes', + 'lengthInBytes', + 'buffer' +]); +var _list$11 = dart.privateName(typed_data, "UnmodifiableInt64ListView._list"); +const UnmodifiableListBase__UnmodifiableListMixin$36$6 = class UnmodifiableListBase__UnmodifiableListMixin extends _internal.UnmodifiableListBase$(core.int) {}; +(UnmodifiableListBase__UnmodifiableListMixin$36$6.new = function() { +}).prototype = UnmodifiableListBase__UnmodifiableListMixin$36$6.prototype; +dart.applyMixin(UnmodifiableListBase__UnmodifiableListMixin$36$6, typed_data._UnmodifiableListMixin$(core.int, typed_data.Int64List, typed_data.Int64List)); +typed_data.UnmodifiableInt64ListView = class UnmodifiableInt64ListView extends UnmodifiableListBase__UnmodifiableListMixin$36$6 { + get [_list$2]() { + return this[_list$11]; + } + set [_list$2](value) { + super[_list$2] = value; + } + [_createList](length) { + if (length == null) dart.nullFailed(I[144], 259, 29, "length"); + return typed_data.Int64List.new(length); + } +}; +(typed_data.UnmodifiableInt64ListView.new = function(list) { + if (list == null) dart.nullFailed(I[144], 257, 39, "list"); + this[_list$11] = list; + ; +}).prototype = typed_data.UnmodifiableInt64ListView.prototype; +dart.addTypeTests(typed_data.UnmodifiableInt64ListView); +dart.addTypeCaches(typed_data.UnmodifiableInt64ListView); +typed_data.UnmodifiableInt64ListView[dart.implements] = () => [typed_data.Int64List]; +dart.setMethodSignature(typed_data.UnmodifiableInt64ListView, () => ({ + __proto__: dart.getMethods(typed_data.UnmodifiableInt64ListView.__proto__), + [_createList]: dart.fnType(typed_data.Int64List, [core.int]) +})); +dart.setLibraryUri(typed_data.UnmodifiableInt64ListView, I[60]); +dart.setFieldSignature(typed_data.UnmodifiableInt64ListView, () => ({ + __proto__: dart.getFields(typed_data.UnmodifiableInt64ListView.__proto__), + [_list$2]: dart.finalFieldType(typed_data.Int64List) +})); +dart.defineExtensionMethods(typed_data.UnmodifiableInt64ListView, ['_get', 'sublist']); +dart.defineExtensionAccessors(typed_data.UnmodifiableInt64ListView, [ + 'length', + 'elementSizeInBytes', + 'offsetInBytes', + 'lengthInBytes', + 'buffer' +]); +var _list$12 = dart.privateName(typed_data, "UnmodifiableInt32x4ListView._list"); +const UnmodifiableListBase__UnmodifiableListMixin$36$7 = class UnmodifiableListBase__UnmodifiableListMixin extends _internal.UnmodifiableListBase$(typed_data.Int32x4) {}; +(UnmodifiableListBase__UnmodifiableListMixin$36$7.new = function() { +}).prototype = UnmodifiableListBase__UnmodifiableListMixin$36$7.prototype; +dart.applyMixin(UnmodifiableListBase__UnmodifiableListMixin$36$7, typed_data._UnmodifiableListMixin$(typed_data.Int32x4, typed_data.Int32x4List, typed_data.Int32x4List)); +typed_data.UnmodifiableInt32x4ListView = class UnmodifiableInt32x4ListView extends UnmodifiableListBase__UnmodifiableListMixin$36$7 { + get [_list$2]() { + return this[_list$12]; + } + set [_list$2](value) { + super[_list$2] = value; + } + [_createList](length) { + if (length == null) dart.nullFailed(I[144], 269, 31, "length"); + return new _native_typed_data.NativeInt32x4List.new(length); + } +}; +(typed_data.UnmodifiableInt32x4ListView.new = function(list) { + if (list == null) dart.nullFailed(I[144], 267, 43, "list"); + this[_list$12] = list; + ; +}).prototype = typed_data.UnmodifiableInt32x4ListView.prototype; +dart.addTypeTests(typed_data.UnmodifiableInt32x4ListView); +dart.addTypeCaches(typed_data.UnmodifiableInt32x4ListView); +typed_data.UnmodifiableInt32x4ListView[dart.implements] = () => [typed_data.Int32x4List]; +dart.setMethodSignature(typed_data.UnmodifiableInt32x4ListView, () => ({ + __proto__: dart.getMethods(typed_data.UnmodifiableInt32x4ListView.__proto__), + [_createList]: dart.fnType(typed_data.Int32x4List, [core.int]) +})); +dart.setLibraryUri(typed_data.UnmodifiableInt32x4ListView, I[60]); +dart.setFieldSignature(typed_data.UnmodifiableInt32x4ListView, () => ({ + __proto__: dart.getFields(typed_data.UnmodifiableInt32x4ListView.__proto__), + [_list$2]: dart.finalFieldType(typed_data.Int32x4List) +})); +dart.defineExtensionMethods(typed_data.UnmodifiableInt32x4ListView, ['_get', 'sublist']); +dart.defineExtensionAccessors(typed_data.UnmodifiableInt32x4ListView, [ + 'length', + 'elementSizeInBytes', + 'offsetInBytes', + 'lengthInBytes', + 'buffer' +]); +var _list$13 = dart.privateName(typed_data, "UnmodifiableFloat32x4ListView._list"); +const UnmodifiableListBase__UnmodifiableListMixin$36$8 = class UnmodifiableListBase__UnmodifiableListMixin extends _internal.UnmodifiableListBase$(typed_data.Float32x4) {}; +(UnmodifiableListBase__UnmodifiableListMixin$36$8.new = function() { +}).prototype = UnmodifiableListBase__UnmodifiableListMixin$36$8.prototype; +dart.applyMixin(UnmodifiableListBase__UnmodifiableListMixin$36$8, typed_data._UnmodifiableListMixin$(typed_data.Float32x4, typed_data.Float32x4List, typed_data.Float32x4List)); +typed_data.UnmodifiableFloat32x4ListView = class UnmodifiableFloat32x4ListView extends UnmodifiableListBase__UnmodifiableListMixin$36$8 { + get [_list$2]() { + return this[_list$13]; + } + set [_list$2](value) { + super[_list$2] = value; + } + [_createList](length) { + if (length == null) dart.nullFailed(I[144], 279, 33, "length"); + return new _native_typed_data.NativeFloat32x4List.new(length); + } +}; +(typed_data.UnmodifiableFloat32x4ListView.new = function(list) { + if (list == null) dart.nullFailed(I[144], 277, 47, "list"); + this[_list$13] = list; + ; +}).prototype = typed_data.UnmodifiableFloat32x4ListView.prototype; +dart.addTypeTests(typed_data.UnmodifiableFloat32x4ListView); +dart.addTypeCaches(typed_data.UnmodifiableFloat32x4ListView); +typed_data.UnmodifiableFloat32x4ListView[dart.implements] = () => [typed_data.Float32x4List]; +dart.setMethodSignature(typed_data.UnmodifiableFloat32x4ListView, () => ({ + __proto__: dart.getMethods(typed_data.UnmodifiableFloat32x4ListView.__proto__), + [_createList]: dart.fnType(typed_data.Float32x4List, [core.int]) +})); +dart.setLibraryUri(typed_data.UnmodifiableFloat32x4ListView, I[60]); +dart.setFieldSignature(typed_data.UnmodifiableFloat32x4ListView, () => ({ + __proto__: dart.getFields(typed_data.UnmodifiableFloat32x4ListView.__proto__), + [_list$2]: dart.finalFieldType(typed_data.Float32x4List) +})); +dart.defineExtensionMethods(typed_data.UnmodifiableFloat32x4ListView, ['_get', 'sublist']); +dart.defineExtensionAccessors(typed_data.UnmodifiableFloat32x4ListView, [ + 'length', + 'elementSizeInBytes', + 'offsetInBytes', + 'lengthInBytes', + 'buffer' +]); +var _list$14 = dart.privateName(typed_data, "UnmodifiableFloat64x2ListView._list"); +const UnmodifiableListBase__UnmodifiableListMixin$36$9 = class UnmodifiableListBase__UnmodifiableListMixin extends _internal.UnmodifiableListBase$(typed_data.Float64x2) {}; +(UnmodifiableListBase__UnmodifiableListMixin$36$9.new = function() { +}).prototype = UnmodifiableListBase__UnmodifiableListMixin$36$9.prototype; +dart.applyMixin(UnmodifiableListBase__UnmodifiableListMixin$36$9, typed_data._UnmodifiableListMixin$(typed_data.Float64x2, typed_data.Float64x2List, typed_data.Float64x2List)); +typed_data.UnmodifiableFloat64x2ListView = class UnmodifiableFloat64x2ListView extends UnmodifiableListBase__UnmodifiableListMixin$36$9 { + get [_list$2]() { + return this[_list$14]; + } + set [_list$2](value) { + super[_list$2] = value; + } + [_createList](length) { + if (length == null) dart.nullFailed(I[144], 289, 33, "length"); + return new _native_typed_data.NativeFloat64x2List.new(length); + } +}; +(typed_data.UnmodifiableFloat64x2ListView.new = function(list) { + if (list == null) dart.nullFailed(I[144], 287, 47, "list"); + this[_list$14] = list; + ; +}).prototype = typed_data.UnmodifiableFloat64x2ListView.prototype; +dart.addTypeTests(typed_data.UnmodifiableFloat64x2ListView); +dart.addTypeCaches(typed_data.UnmodifiableFloat64x2ListView); +typed_data.UnmodifiableFloat64x2ListView[dart.implements] = () => [typed_data.Float64x2List]; +dart.setMethodSignature(typed_data.UnmodifiableFloat64x2ListView, () => ({ + __proto__: dart.getMethods(typed_data.UnmodifiableFloat64x2ListView.__proto__), + [_createList]: dart.fnType(typed_data.Float64x2List, [core.int]) +})); +dart.setLibraryUri(typed_data.UnmodifiableFloat64x2ListView, I[60]); +dart.setFieldSignature(typed_data.UnmodifiableFloat64x2ListView, () => ({ + __proto__: dart.getFields(typed_data.UnmodifiableFloat64x2ListView.__proto__), + [_list$2]: dart.finalFieldType(typed_data.Float64x2List) +})); +dart.defineExtensionMethods(typed_data.UnmodifiableFloat64x2ListView, ['_get', 'sublist']); +dart.defineExtensionAccessors(typed_data.UnmodifiableFloat64x2ListView, [ + 'length', + 'elementSizeInBytes', + 'offsetInBytes', + 'lengthInBytes', + 'buffer' +]); +var _list$15 = dart.privateName(typed_data, "UnmodifiableFloat32ListView._list"); +const UnmodifiableListBase__UnmodifiableListMixin$36$10 = class UnmodifiableListBase__UnmodifiableListMixin extends _internal.UnmodifiableListBase$(core.double) {}; +(UnmodifiableListBase__UnmodifiableListMixin$36$10.new = function() { +}).prototype = UnmodifiableListBase__UnmodifiableListMixin$36$10.prototype; +dart.applyMixin(UnmodifiableListBase__UnmodifiableListMixin$36$10, typed_data._UnmodifiableListMixin$(core.double, typed_data.Float32List, typed_data.Float32List)); +typed_data.UnmodifiableFloat32ListView = class UnmodifiableFloat32ListView extends UnmodifiableListBase__UnmodifiableListMixin$36$10 { + get [_list$2]() { + return this[_list$15]; + } + set [_list$2](value) { + super[_list$2] = value; + } + [_createList](length) { + if (length == null) dart.nullFailed(I[144], 299, 31, "length"); + return _native_typed_data.NativeFloat32List.new(length); + } +}; +(typed_data.UnmodifiableFloat32ListView.new = function(list) { + if (list == null) dart.nullFailed(I[144], 297, 43, "list"); + this[_list$15] = list; + ; +}).prototype = typed_data.UnmodifiableFloat32ListView.prototype; +dart.addTypeTests(typed_data.UnmodifiableFloat32ListView); +dart.addTypeCaches(typed_data.UnmodifiableFloat32ListView); +typed_data.UnmodifiableFloat32ListView[dart.implements] = () => [typed_data.Float32List]; +dart.setMethodSignature(typed_data.UnmodifiableFloat32ListView, () => ({ + __proto__: dart.getMethods(typed_data.UnmodifiableFloat32ListView.__proto__), + [_createList]: dart.fnType(typed_data.Float32List, [core.int]) +})); +dart.setLibraryUri(typed_data.UnmodifiableFloat32ListView, I[60]); +dart.setFieldSignature(typed_data.UnmodifiableFloat32ListView, () => ({ + __proto__: dart.getFields(typed_data.UnmodifiableFloat32ListView.__proto__), + [_list$2]: dart.finalFieldType(typed_data.Float32List) +})); +dart.defineExtensionMethods(typed_data.UnmodifiableFloat32ListView, ['_get', 'sublist']); +dart.defineExtensionAccessors(typed_data.UnmodifiableFloat32ListView, [ + 'length', + 'elementSizeInBytes', + 'offsetInBytes', + 'lengthInBytes', + 'buffer' +]); +var _list$16 = dart.privateName(typed_data, "UnmodifiableFloat64ListView._list"); +const UnmodifiableListBase__UnmodifiableListMixin$36$11 = class UnmodifiableListBase__UnmodifiableListMixin extends _internal.UnmodifiableListBase$(core.double) {}; +(UnmodifiableListBase__UnmodifiableListMixin$36$11.new = function() { +}).prototype = UnmodifiableListBase__UnmodifiableListMixin$36$11.prototype; +dart.applyMixin(UnmodifiableListBase__UnmodifiableListMixin$36$11, typed_data._UnmodifiableListMixin$(core.double, typed_data.Float64List, typed_data.Float64List)); +typed_data.UnmodifiableFloat64ListView = class UnmodifiableFloat64ListView extends UnmodifiableListBase__UnmodifiableListMixin$36$11 { + get [_list$2]() { + return this[_list$16]; + } + set [_list$2](value) { + super[_list$2] = value; + } + [_createList](length) { + if (length == null) dart.nullFailed(I[144], 309, 31, "length"); + return _native_typed_data.NativeFloat64List.new(length); + } +}; +(typed_data.UnmodifiableFloat64ListView.new = function(list) { + if (list == null) dart.nullFailed(I[144], 307, 43, "list"); + this[_list$16] = list; + ; +}).prototype = typed_data.UnmodifiableFloat64ListView.prototype; +dart.addTypeTests(typed_data.UnmodifiableFloat64ListView); +dart.addTypeCaches(typed_data.UnmodifiableFloat64ListView); +typed_data.UnmodifiableFloat64ListView[dart.implements] = () => [typed_data.Float64List]; +dart.setMethodSignature(typed_data.UnmodifiableFloat64ListView, () => ({ + __proto__: dart.getMethods(typed_data.UnmodifiableFloat64ListView.__proto__), + [_createList]: dart.fnType(typed_data.Float64List, [core.int]) +})); +dart.setLibraryUri(typed_data.UnmodifiableFloat64ListView, I[60]); +dart.setFieldSignature(typed_data.UnmodifiableFloat64ListView, () => ({ + __proto__: dart.getFields(typed_data.UnmodifiableFloat64ListView.__proto__), + [_list$2]: dart.finalFieldType(typed_data.Float64List) +})); +dart.defineExtensionMethods(typed_data.UnmodifiableFloat64ListView, ['_get', 'sublist']); +dart.defineExtensionAccessors(typed_data.UnmodifiableFloat64ListView, [ + 'length', + 'elementSizeInBytes', + 'offsetInBytes', + 'lengthInBytes', + 'buffer' +]); +indexed_db._KeyRangeFactoryProvider = class _KeyRangeFactoryProvider extends core.Object { + static createKeyRange_only(value) { + return indexed_db._KeyRangeFactoryProvider._only(indexed_db._KeyRangeFactoryProvider._class(), indexed_db._KeyRangeFactoryProvider._translateKey(value)); + } + static createKeyRange_lowerBound(bound, open = false) { + if (open == null) dart.nullFailed(I[145], 96, 17, "open"); + return indexed_db._KeyRangeFactoryProvider._lowerBound(indexed_db._KeyRangeFactoryProvider._class(), indexed_db._KeyRangeFactoryProvider._translateKey(bound), open); + } + static createKeyRange_upperBound(bound, open = false) { + if (open == null) dart.nullFailed(I[145], 101, 17, "open"); + return indexed_db._KeyRangeFactoryProvider._upperBound(indexed_db._KeyRangeFactoryProvider._class(), indexed_db._KeyRangeFactoryProvider._translateKey(bound), open); + } + static createKeyRange_bound(lower, upper, lowerOpen = false, upperOpen = false) { + if (lowerOpen == null) dart.nullFailed(I[145], 105, 17, "lowerOpen"); + if (upperOpen == null) dart.nullFailed(I[145], 105, 41, "upperOpen"); + return indexed_db._KeyRangeFactoryProvider._bound(indexed_db._KeyRangeFactoryProvider._class(), indexed_db._KeyRangeFactoryProvider._translateKey(lower), indexed_db._KeyRangeFactoryProvider._translateKey(upper), lowerOpen, upperOpen); + } + static _class() { + if (indexed_db._KeyRangeFactoryProvider._cachedClass != null) return indexed_db._KeyRangeFactoryProvider._cachedClass; + return indexed_db._KeyRangeFactoryProvider._cachedClass = indexed_db._KeyRangeFactoryProvider._uncachedClass(); + } + static _uncachedClass() { + return window.webkitIDBKeyRange || window.mozIDBKeyRange || window.msIDBKeyRange || window.IDBKeyRange; + } + static _translateKey(idbkey) { + return idbkey; + } + static _only(cls, value) { + return cls.only(value); + } + static _lowerBound(cls, bound, open) { + return cls.lowerBound(bound, open); + } + static _upperBound(cls, bound, open) { + return cls.upperBound(bound, open); + } + static _bound(cls, lower, upper, lowerOpen, upperOpen) { + return cls.bound(lower, upper, lowerOpen, upperOpen); + } +}; +(indexed_db._KeyRangeFactoryProvider.new = function() { + ; +}).prototype = indexed_db._KeyRangeFactoryProvider.prototype; +dart.addTypeTests(indexed_db._KeyRangeFactoryProvider); +dart.addTypeCaches(indexed_db._KeyRangeFactoryProvider); +dart.setLibraryUri(indexed_db._KeyRangeFactoryProvider, I[146]); +dart.defineLazy(indexed_db._KeyRangeFactoryProvider, { + /*indexed_db._KeyRangeFactoryProvider._cachedClass*/get _cachedClass() { + return null; + }, + set _cachedClass(_) {} +}, false); +indexed_db.Cursor = class Cursor extends _interceptors.Interceptor { + [S.$delete]() { + try { + return indexed_db._completeRequest(dart.dynamic, this[S._delete$1]()); + } catch (e$) { + let e = dart.getThrown(e$); + let stacktrace = dart.stackTrace(e$); + if (core.Object.is(e)) { + return async.Future.error(e, stacktrace); + } else + throw e$; + } + } + [$update](value) { + try { + return indexed_db._completeRequest(dart.dynamic, this[S._update](value)); + } catch (e$) { + let e = dart.getThrown(e$); + let stacktrace = dart.stackTrace(e$); + if (core.Object.is(e)) { + return async.Future.error(e, stacktrace); + } else + throw e$; + } + } + [S.$next](key = null) { + if (key == null) { + this.continue(); + } else { + this.continue(key); + } + } + get [S.$direction]() { + return this.direction; + } + get [S.$key]() { + return this.key; + } + get [S.$primaryKey]() { + return this.primaryKey; + } + get [S.$source]() { + return this.source; + } + [S.$advance](...args) { + return this.advance.apply(this, args); + } + [S.$continuePrimaryKey](...args) { + return this.continuePrimaryKey.apply(this, args); + } + [S._delete$1](...args) { + return this.delete.apply(this, args); + } + [S._update](value) { + let value_1 = html_common.convertDartToNative_SerializedScriptValue(value); + return this[S._update_1](value_1); + } + [S._update_1](...args) { + return this.update.apply(this, args); + } +}; +dart.addTypeTests(indexed_db.Cursor); +dart.addTypeCaches(indexed_db.Cursor); +dart.setMethodSignature(indexed_db.Cursor, () => ({ + __proto__: dart.getMethods(indexed_db.Cursor.__proto__), + [S.$delete]: dart.fnType(async.Future, []), + [$update]: dart.fnType(async.Future, [dart.dynamic]), + [S.$next]: dart.fnType(dart.void, [], [dart.nullable(core.Object)]), + [S.$advance]: dart.fnType(dart.void, [core.int]), + [S.$continuePrimaryKey]: dart.fnType(dart.void, [core.Object, core.Object]), + [S._delete$1]: dart.fnType(indexed_db.Request, []), + [S._update]: dart.fnType(indexed_db.Request, [dart.dynamic]), + [S._update_1]: dart.fnType(indexed_db.Request, [dart.dynamic]) +})); +dart.setGetterSignature(indexed_db.Cursor, () => ({ + __proto__: dart.getGetters(indexed_db.Cursor.__proto__), + [S.$direction]: dart.nullable(core.String), + [S.$key]: dart.nullable(core.Object), + [S.$primaryKey]: dart.nullable(core.Object), + [S.$source]: dart.nullable(core.Object) +})); +dart.setLibraryUri(indexed_db.Cursor, I[146]); +dart.registerExtension("IDBCursor", indexed_db.Cursor); +indexed_db.CursorWithValue = class CursorWithValue extends indexed_db.Cursor { + get [S.$value]() { + return indexed_db._convertNativeToDart_IDBAny(this[S._get_value]); + } + get [S._get_value]() { + return this.value; + } +}; +dart.addTypeTests(indexed_db.CursorWithValue); +dart.addTypeCaches(indexed_db.CursorWithValue); +dart.setGetterSignature(indexed_db.CursorWithValue, () => ({ + __proto__: dart.getGetters(indexed_db.CursorWithValue.__proto__), + [S.$value]: dart.dynamic, + [S._get_value]: dart.dynamic +})); +dart.setLibraryUri(indexed_db.CursorWithValue, I[146]); +dart.registerExtension("IDBCursorWithValue", indexed_db.CursorWithValue); +html$.EventTarget = class EventTarget extends _interceptors.Interceptor { + get [S.$on]() { + return new html$.Events.new(this); + } + [S.$addEventListener](type, listener, useCapture = null) { + if (type == null) dart.nullFailed(I[147], 15797, 32, "type"); + if (listener != null) { + this[S._addEventListener](type, listener, useCapture); + } + } + [S.$removeEventListener](type, listener, useCapture = null) { + if (type == null) dart.nullFailed(I[147], 15807, 35, "type"); + if (listener != null) { + this[S._removeEventListener](type, listener, useCapture); + } + } + [S._addEventListener](...args) { + return this.addEventListener.apply(this, args); + } + [S.$dispatchEvent](...args) { + return this.dispatchEvent.apply(this, args); + } + [S._removeEventListener](...args) { + return this.removeEventListener.apply(this, args); + } +}; +(html$.EventTarget._created = function() { + html$.EventTarget.__proto__.new.call(this); + ; +}).prototype = html$.EventTarget.prototype; +dart.addTypeTests(html$.EventTarget); +dart.addTypeCaches(html$.EventTarget); +dart.setMethodSignature(html$.EventTarget, () => ({ + __proto__: dart.getMethods(html$.EventTarget.__proto__), + [S.$addEventListener]: dart.fnType(dart.void, [core.String, dart.nullable(dart.fnType(dart.dynamic, [html$.Event]))], [dart.nullable(core.bool)]), + [S.$removeEventListener]: dart.fnType(dart.void, [core.String, dart.nullable(dart.fnType(dart.dynamic, [html$.Event]))], [dart.nullable(core.bool)]), + [S._addEventListener]: dart.fnType(dart.void, [core.String, dart.nullable(dart.fnType(dart.dynamic, [html$.Event]))], [dart.nullable(core.bool)]), + [S.$dispatchEvent]: dart.fnType(core.bool, [html$.Event]), + [S._removeEventListener]: dart.fnType(dart.void, [core.String, dart.nullable(dart.fnType(dart.dynamic, [html$.Event]))], [dart.nullable(core.bool)]) +})); +dart.setGetterSignature(html$.EventTarget, () => ({ + __proto__: dart.getGetters(html$.EventTarget.__proto__), + [S.$on]: html$.Events +})); +dart.setLibraryUri(html$.EventTarget, I[148]); +dart.registerExtension("EventTarget", html$.EventTarget); +indexed_db.Database = class Database extends html$.EventTarget { + [S.$createObjectStore](name, opts) { + if (name == null) dart.nullFailed(I[145], 304, 40, "name"); + let keyPath = opts && 'keyPath' in opts ? opts.keyPath : null; + let autoIncrement = opts && 'autoIncrement' in opts ? opts.autoIncrement : null; + let options = new _js_helper.LinkedMap.new(); + if (keyPath != null) { + options[$_set]("keyPath", keyPath); + } + if (autoIncrement != null) { + options[$_set]("autoIncrement", autoIncrement); + } + return this[S._createObjectStore](name, options); + } + [S.$transaction](storeName_OR_storeNames, mode) { + if (mode == null) dart.nullFailed(I[145], 316, 59, "mode"); + if (mode !== "readonly" && mode !== "readwrite") { + dart.throw(new core.ArgumentError.new(mode)); + } + return this[S._transaction](storeName_OR_storeNames, mode); + } + [S.$transactionStore](storeName, mode) { + if (storeName == null) dart.nullFailed(I[145], 330, 39, "storeName"); + if (mode == null) dart.nullFailed(I[145], 330, 57, "mode"); + if (mode !== "readonly" && mode !== "readwrite") { + dart.throw(new core.ArgumentError.new(mode)); + } + return this[S._transaction](storeName, mode); + } + [S.$transactionList](storeNames, mode) { + if (storeNames == null) dart.nullFailed(I[145], 340, 44, "storeNames"); + if (mode == null) dart.nullFailed(I[145], 340, 63, "mode"); + if (mode !== "readonly" && mode !== "readwrite") { + dart.throw(new core.ArgumentError.new(mode)); + } + let storeNames_1 = html_common.convertDartToNative_StringArray(storeNames); + return this[S._transaction](storeNames_1, mode); + } + [S.$transactionStores](storeNames, mode) { + if (storeNames == null) dart.nullFailed(I[145], 348, 47, "storeNames"); + if (mode == null) dart.nullFailed(I[145], 348, 66, "mode"); + if (mode !== "readonly" && mode !== "readwrite") { + dart.throw(new core.ArgumentError.new(mode)); + } + return this[S._transaction](storeNames, mode); + } + [S._transaction](...args) { + return this.transaction.apply(this, args); + } + get [$name]() { + return this.name; + } + get [S.$objectStoreNames]() { + return this.objectStoreNames; + } + get [S.$version]() { + return this.version; + } + [S.$close](...args) { + return this.close.apply(this, args); + } + [S._createObjectStore](name, options = null) { + if (name == null) dart.nullFailed(I[145], 411, 41, "name"); + if (options != null) { + let options_1 = html_common.convertDartToNative_Dictionary(options); + return this[S._createObjectStore_1](name, options_1); + } + return this[S._createObjectStore_2](name); + } + [S._createObjectStore_1](...args) { + return this.createObjectStore.apply(this, args); + } + [S._createObjectStore_2](...args) { + return this.createObjectStore.apply(this, args); + } + [S.$deleteObjectStore](...args) { + return this.deleteObjectStore.apply(this, args); + } + get [S.$onAbort]() { + return indexed_db.Database.abortEvent.forTarget(this); + } + get [S.$onClose]() { + return indexed_db.Database.closeEvent.forTarget(this); + } + get [S.$onError]() { + return indexed_db.Database.errorEvent.forTarget(this); + } + get [S.$onVersionChange]() { + return indexed_db.Database.versionChangeEvent.forTarget(this); + } +}; +dart.addTypeTests(indexed_db.Database); +dart.addTypeCaches(indexed_db.Database); +dart.setMethodSignature(indexed_db.Database, () => ({ + __proto__: dart.getMethods(indexed_db.Database.__proto__), + [S.$createObjectStore]: dart.fnType(indexed_db.ObjectStore, [core.String], {autoIncrement: dart.nullable(core.bool), keyPath: dart.dynamic}, {}), + [S.$transaction]: dart.fnType(indexed_db.Transaction, [dart.dynamic, core.String]), + [S.$transactionStore]: dart.fnType(indexed_db.Transaction, [core.String, core.String]), + [S.$transactionList]: dart.fnType(indexed_db.Transaction, [core.List$(core.String), core.String]), + [S.$transactionStores]: dart.fnType(indexed_db.Transaction, [html$.DomStringList, core.String]), + [S._transaction]: dart.fnType(indexed_db.Transaction, [dart.dynamic, dart.dynamic]), + [S.$close]: dart.fnType(dart.void, []), + [S._createObjectStore]: dart.fnType(indexed_db.ObjectStore, [core.String], [dart.nullable(core.Map)]), + [S._createObjectStore_1]: dart.fnType(indexed_db.ObjectStore, [dart.dynamic, dart.dynamic]), + [S._createObjectStore_2]: dart.fnType(indexed_db.ObjectStore, [dart.dynamic]), + [S.$deleteObjectStore]: dart.fnType(dart.void, [core.String]) +})); +dart.setGetterSignature(indexed_db.Database, () => ({ + __proto__: dart.getGetters(indexed_db.Database.__proto__), + [$name]: dart.nullable(core.String), + [S.$objectStoreNames]: dart.nullable(core.List$(core.String)), + [S.$version]: dart.nullable(core.int), + [S.$onAbort]: async.Stream$(html$.Event), + [S.$onClose]: async.Stream$(html$.Event), + [S.$onError]: async.Stream$(html$.Event), + [S.$onVersionChange]: async.Stream$(indexed_db.VersionChangeEvent) +})); +dart.setLibraryUri(indexed_db.Database, I[146]); +dart.defineLazy(indexed_db.Database, { + /*indexed_db.Database.abortEvent*/get abortEvent() { + return C[214] || CT.C214; + }, + /*indexed_db.Database.closeEvent*/get closeEvent() { + return C[215] || CT.C215; + }, + /*indexed_db.Database.errorEvent*/get errorEvent() { + return C[216] || CT.C216; + }, + /*indexed_db.Database.versionChangeEvent*/get versionChangeEvent() { + return C[217] || CT.C217; + } +}, false); +dart.registerExtension("IDBDatabase", indexed_db.Database); +indexed_db.IdbFactory = class IdbFactory extends _interceptors.Interceptor { + static get supported() { + return !!(window.indexedDB || window.webkitIndexedDB || window.mozIndexedDB); + } + [S.$open](name, opts) { + if (name == null) dart.nullFailed(I[145], 467, 32, "name"); + let version = opts && 'version' in opts ? opts.version : null; + let onUpgradeNeeded = opts && 'onUpgradeNeeded' in opts ? opts.onUpgradeNeeded : null; + let onBlocked = opts && 'onBlocked' in opts ? opts.onBlocked : null; + if (version == null !== (onUpgradeNeeded == null)) { + return T$0.FutureOfDatabase().error(new core.ArgumentError.new("version and onUpgradeNeeded must be specified together")); + } + try { + let request = null; + if (version != null) { + request = this[S._open](name, version); + } else { + request = this[S._open](name); + } + if (onUpgradeNeeded != null) { + request[S.$onUpgradeNeeded].listen(onUpgradeNeeded); + } + if (onBlocked != null) { + request[S.$onBlocked].listen(onBlocked); + } + return indexed_db._completeRequest(indexed_db.Database, request); + } catch (e$) { + let e = dart.getThrown(e$); + let stacktrace = dart.stackTrace(e$); + if (core.Object.is(e)) { + return T$0.FutureOfDatabase().error(e, stacktrace); + } else + throw e$; + } + } + [S.$deleteDatabase](name, opts) { + if (name == null) dart.nullFailed(I[145], 495, 44, "name"); + let onBlocked = opts && 'onBlocked' in opts ? opts.onBlocked : null; + try { + let request = this[S._deleteDatabase](name); + if (onBlocked != null) { + request[S.$onBlocked].listen(onBlocked); + } + let completer = T$0.CompleterOfIdbFactory().sync(); + request[S.$onSuccess].listen(dart.fn(e => { + if (e == null) dart.nullFailed(I[145], 503, 33, "e"); + completer.complete(this); + }, T$0.EventTovoid())); + request[S.$onError].listen(dart.bind(completer, 'completeError')); + return completer.future; + } catch (e$) { + let e = dart.getThrown(e$); + let stacktrace = dart.stackTrace(e$); + if (core.Object.is(e)) { + return T$0.FutureOfIdbFactory().error(e, stacktrace); + } else + throw e$; + } + } + get [S.$supportsDatabaseNames]() { + return dart.test(indexed_db.IdbFactory.supported) && !!(this.getDatabaseNames || this.webkitGetDatabaseNames); + } + [S.$cmp](...args) { + return this.cmp.apply(this, args); + } + [S._deleteDatabase](...args) { + return this.deleteDatabase.apply(this, args); + } + [S._open](...args) { + return this.open.apply(this, args); + } +}; +dart.addTypeTests(indexed_db.IdbFactory); +dart.addTypeCaches(indexed_db.IdbFactory); +dart.setMethodSignature(indexed_db.IdbFactory, () => ({ + __proto__: dart.getMethods(indexed_db.IdbFactory.__proto__), + [S.$open]: dart.fnType(async.Future$(indexed_db.Database), [core.String], {onBlocked: dart.nullable(dart.fnType(dart.void, [html$.Event])), onUpgradeNeeded: dart.nullable(dart.fnType(dart.void, [indexed_db.VersionChangeEvent])), version: dart.nullable(core.int)}, {}), + [S.$deleteDatabase]: dart.fnType(async.Future$(indexed_db.IdbFactory), [core.String], {onBlocked: dart.nullable(dart.fnType(dart.void, [html$.Event]))}, {}), + [S.$cmp]: dart.fnType(core.int, [core.Object, core.Object]), + [S._deleteDatabase]: dart.fnType(indexed_db.OpenDBRequest, [core.String]), + [S._open]: dart.fnType(indexed_db.OpenDBRequest, [core.String], [dart.nullable(core.int)]) +})); +dart.setGetterSignature(indexed_db.IdbFactory, () => ({ + __proto__: dart.getGetters(indexed_db.IdbFactory.__proto__), + [S.$supportsDatabaseNames]: core.bool +})); +dart.setLibraryUri(indexed_db.IdbFactory, I[146]); +dart.registerExtension("IDBFactory", indexed_db.IdbFactory); +indexed_db.Index = class Index extends _interceptors.Interceptor { + [S.$count](key_OR_range = null) { + try { + let request = this[S._count$2](key_OR_range); + return indexed_db._completeRequest(core.int, request); + } catch (e$) { + let e = dart.getThrown(e$); + let stacktrace = dart.stackTrace(e$); + if (core.Object.is(e)) { + return T$0.FutureOfint().error(e, stacktrace); + } else + throw e$; + } + } + [S.$get](key) { + try { + let request = this[S._get](core.Object.as(key)); + return indexed_db._completeRequest(dart.dynamic, request); + } catch (e$) { + let e = dart.getThrown(e$); + let stacktrace = dart.stackTrace(e$); + if (core.Object.is(e)) { + return async.Future.error(e, stacktrace); + } else + throw e$; + } + } + [S.$getKey](key) { + try { + let request = this[S._getKey](core.Object.as(key)); + return indexed_db._completeRequest(dart.dynamic, request); + } catch (e$) { + let e = dart.getThrown(e$); + let stacktrace = dart.stackTrace(e$); + if (core.Object.is(e)) { + return async.Future.error(e, stacktrace); + } else + throw e$; + } + } + [S.$openCursor](opts) { + let key = opts && 'key' in opts ? opts.key : null; + let range = opts && 'range' in opts ? opts.range : null; + let direction = opts && 'direction' in opts ? opts.direction : null; + let autoAdvance = opts && 'autoAdvance' in opts ? opts.autoAdvance : null; + let key_OR_range = null; + if (key != null) { + if (range != null) { + dart.throw(new core.ArgumentError.new("Cannot specify both key and range.")); + } + key_OR_range = key; + } else { + key_OR_range = range; + } + let request = null; + if (direction == null) { + request = this[S._openCursor](key_OR_range, "next"); + } else { + request = this[S._openCursor](key_OR_range, direction); + } + return indexed_db.ObjectStore._cursorStreamFromResult(indexed_db.CursorWithValue, indexed_db.Request.as(request), autoAdvance); + } + [S.$openKeyCursor](opts) { + let key = opts && 'key' in opts ? opts.key : null; + let range = opts && 'range' in opts ? opts.range : null; + let direction = opts && 'direction' in opts ? opts.direction : null; + let autoAdvance = opts && 'autoAdvance' in opts ? opts.autoAdvance : null; + let key_OR_range = null; + if (key != null) { + if (range != null) { + dart.throw(new core.ArgumentError.new("Cannot specify both key and range.")); + } + key_OR_range = key; + } else { + key_OR_range = range; + } + let request = null; + if (direction == null) { + request = this[S._openKeyCursor](key_OR_range, "next"); + } else { + request = this[S._openKeyCursor](key_OR_range, direction); + } + return indexed_db.ObjectStore._cursorStreamFromResult(indexed_db.Cursor, indexed_db.Request.as(request), autoAdvance); + } + get [S.$keyPath]() { + return this.keyPath; + } + get [S.$multiEntry]() { + return this.multiEntry; + } + get [$name]() { + return this.name; + } + set [$name](value) { + this.name = value; + } + get [S.$objectStore]() { + return this.objectStore; + } + get [S.$unique]() { + return this.unique; + } + [S._count$2](...args) { + return this.count.apply(this, args); + } + [S._get](...args) { + return this.get.apply(this, args); + } + [S.$getAll](...args) { + return this.getAll.apply(this, args); + } + [S.$getAllKeys](...args) { + return this.getAllKeys.apply(this, args); + } + [S._getKey](...args) { + return this.getKey.apply(this, args); + } + [S._openCursor](...args) { + return this.openCursor.apply(this, args); + } + [S._openKeyCursor](...args) { + return this.openKeyCursor.apply(this, args); + } +}; +dart.addTypeTests(indexed_db.Index); +dart.addTypeCaches(indexed_db.Index); +dart.setMethodSignature(indexed_db.Index, () => ({ + __proto__: dart.getMethods(indexed_db.Index.__proto__), + [S.$count]: dart.fnType(async.Future$(core.int), [], [dart.dynamic]), + [S.$get]: dart.fnType(async.Future, [dart.dynamic]), + [S.$getKey]: dart.fnType(async.Future, [dart.dynamic]), + [S.$openCursor]: dart.fnType(async.Stream$(indexed_db.CursorWithValue), [], {autoAdvance: dart.nullable(core.bool), direction: dart.nullable(core.String), key: dart.dynamic, range: dart.nullable(indexed_db.KeyRange)}, {}), + [S.$openKeyCursor]: dart.fnType(async.Stream$(indexed_db.Cursor), [], {autoAdvance: dart.nullable(core.bool), direction: dart.nullable(core.String), key: dart.dynamic, range: dart.nullable(indexed_db.KeyRange)}, {}), + [S._count$2]: dart.fnType(indexed_db.Request, [dart.nullable(core.Object)]), + [S._get]: dart.fnType(indexed_db.Request, [core.Object]), + [S.$getAll]: dart.fnType(indexed_db.Request, [dart.nullable(core.Object)], [dart.nullable(core.int)]), + [S.$getAllKeys]: dart.fnType(indexed_db.Request, [dart.nullable(core.Object)], [dart.nullable(core.int)]), + [S._getKey]: dart.fnType(indexed_db.Request, [core.Object]), + [S._openCursor]: dart.fnType(indexed_db.Request, [dart.nullable(core.Object)], [dart.nullable(core.String)]), + [S._openKeyCursor]: dart.fnType(indexed_db.Request, [dart.nullable(core.Object)], [dart.nullable(core.String)]) +})); +dart.setGetterSignature(indexed_db.Index, () => ({ + __proto__: dart.getGetters(indexed_db.Index.__proto__), + [S.$keyPath]: dart.nullable(core.Object), + [S.$multiEntry]: dart.nullable(core.bool), + [$name]: dart.nullable(core.String), + [S.$objectStore]: dart.nullable(indexed_db.ObjectStore), + [S.$unique]: dart.nullable(core.bool) +})); +dart.setSetterSignature(indexed_db.Index, () => ({ + __proto__: dart.getSetters(indexed_db.Index.__proto__), + [$name]: dart.nullable(core.String) +})); +dart.setLibraryUri(indexed_db.Index, I[146]); +dart.registerExtension("IDBIndex", indexed_db.Index); +indexed_db.KeyRange = class KeyRange extends _interceptors.Interceptor { + static only(value) { + return indexed_db._KeyRangeFactoryProvider.createKeyRange_only(value); + } + static lowerBound(bound, open = false) { + if (open == null) dart.nullFailed(I[145], 707, 52, "open"); + return indexed_db._KeyRangeFactoryProvider.createKeyRange_lowerBound(bound, open); + } + static upperBound(bound, open = false) { + if (open == null) dart.nullFailed(I[145], 710, 52, "open"); + return indexed_db._KeyRangeFactoryProvider.createKeyRange_upperBound(bound, open); + } + static bound(lower, upper, lowerOpen = false, upperOpen = false) { + if (lowerOpen == null) dart.nullFailed(I[145], 714, 17, "lowerOpen"); + if (upperOpen == null) dart.nullFailed(I[145], 714, 41, "upperOpen"); + return indexed_db._KeyRangeFactoryProvider.createKeyRange_bound(lower, upper, lowerOpen, upperOpen); + } + get [S.$lower]() { + return this.lower; + } + get [S.$lowerOpen]() { + return this.lowerOpen; + } + get [S.$upper]() { + return this.upper; + } + get [S.$upperOpen]() { + return this.upperOpen; + } + [S.$includes](...args) { + return this.includes.apply(this, args); + } +}; +dart.addTypeTests(indexed_db.KeyRange); +dart.addTypeCaches(indexed_db.KeyRange); +dart.setMethodSignature(indexed_db.KeyRange, () => ({ + __proto__: dart.getMethods(indexed_db.KeyRange.__proto__), + [S.$includes]: dart.fnType(core.bool, [core.Object]) +})); +dart.setGetterSignature(indexed_db.KeyRange, () => ({ + __proto__: dart.getGetters(indexed_db.KeyRange.__proto__), + [S.$lower]: dart.nullable(core.Object), + [S.$lowerOpen]: dart.nullable(core.bool), + [S.$upper]: dart.nullable(core.Object), + [S.$upperOpen]: dart.nullable(core.bool) +})); +dart.setLibraryUri(indexed_db.KeyRange, I[146]); +dart.registerExtension("IDBKeyRange", indexed_db.KeyRange); +indexed_db.ObjectStore = class ObjectStore extends _interceptors.Interceptor { + [$add](value, key = null) { + try { + let request = null; + if (key != null) { + request = this[S._add$3](value, key); + } else { + request = this[S._add$3](value); + } + return indexed_db._completeRequest(dart.dynamic, indexed_db.Request.as(request)); + } catch (e$) { + let e = dart.getThrown(e$); + let stacktrace = dart.stackTrace(e$); + if (core.Object.is(e)) { + return async.Future.error(e, stacktrace); + } else + throw e$; + } + } + [$clear]() { + try { + return indexed_db._completeRequest(dart.dynamic, this[S._clear$2]()); + } catch (e$) { + let e = dart.getThrown(e$); + let stacktrace = dart.stackTrace(e$); + if (core.Object.is(e)) { + return async.Future.error(e, stacktrace); + } else + throw e$; + } + } + [S.$delete](key_OR_keyRange) { + try { + return indexed_db._completeRequest(dart.dynamic, this[S._delete$1](core.Object.as(key_OR_keyRange))); + } catch (e$) { + let e = dart.getThrown(e$); + let stacktrace = dart.stackTrace(e$); + if (core.Object.is(e)) { + return async.Future.error(e, stacktrace); + } else + throw e$; + } + } + [S.$count](key_OR_range = null) { + try { + let request = this[S._count$2](key_OR_range); + return indexed_db._completeRequest(core.int, request); + } catch (e$) { + let e = dart.getThrown(e$); + let stacktrace = dart.stackTrace(e$); + if (core.Object.is(e)) { + return T$0.FutureOfint().error(e, stacktrace); + } else + throw e$; + } + } + [S.$put](value, key = null) { + try { + let request = null; + if (key != null) { + request = this[S._put](value, key); + } else { + request = this[S._put](value); + } + return indexed_db._completeRequest(dart.dynamic, indexed_db.Request.as(request)); + } catch (e$) { + let e = dart.getThrown(e$); + let stacktrace = dart.stackTrace(e$); + if (core.Object.is(e)) { + return async.Future.error(e, stacktrace); + } else + throw e$; + } + } + [S.$getObject](key) { + try { + let request = this[S._get](core.Object.as(key)); + return indexed_db._completeRequest(dart.dynamic, request); + } catch (e$) { + let e = dart.getThrown(e$); + let stacktrace = dart.stackTrace(e$); + if (core.Object.is(e)) { + return async.Future.error(e, stacktrace); + } else + throw e$; + } + } + [S.$openCursor](opts) { + let key = opts && 'key' in opts ? opts.key : null; + let range = opts && 'range' in opts ? opts.range : null; + let direction = opts && 'direction' in opts ? opts.direction : null; + let autoAdvance = opts && 'autoAdvance' in opts ? opts.autoAdvance : null; + let key_OR_range = null; + if (key != null) { + if (range != null) { + dart.throw(new core.ArgumentError.new("Cannot specify both key and range.")); + } + key_OR_range = key; + } else { + key_OR_range = range; + } + let request = null; + if (direction == null) { + request = this[S._openCursor](key_OR_range); + } else { + request = this[S._openCursor](key_OR_range, direction); + } + return indexed_db.ObjectStore._cursorStreamFromResult(indexed_db.CursorWithValue, indexed_db.Request.as(request), autoAdvance); + } + [S.$createIndex](name, keyPath, opts) { + if (name == null) dart.nullFailed(I[145], 861, 28, "name"); + let unique = opts && 'unique' in opts ? opts.unique : null; + let multiEntry = opts && 'multiEntry' in opts ? opts.multiEntry : null; + let options = new _js_helper.LinkedMap.new(); + if (unique != null) { + options[$_set]("unique", unique); + } + if (multiEntry != null) { + options[$_set]("multiEntry", multiEntry); + } + return this[S._createIndex](name, core.Object.as(keyPath), options); + } + get [S.$autoIncrement]() { + return this.autoIncrement; + } + get [S.$indexNames]() { + return this.indexNames; + } + get [S.$keyPath]() { + return this.keyPath; + } + get [$name]() { + return this.name; + } + set [$name](value) { + this.name = value; + } + get [S.$transaction]() { + return this.transaction; + } + [S._add$3](value, key = null) { + if (key != null) { + let value_1 = html_common.convertDartToNative_SerializedScriptValue(value); + let key_2 = html_common.convertDartToNative_SerializedScriptValue(key); + return this[S._add_1](value_1, key_2); + } + let value_1 = html_common.convertDartToNative_SerializedScriptValue(value); + return this[S._add_2](value_1); + } + [S._add_1](...args) { + return this.add.apply(this, args); + } + [S._add_2](...args) { + return this.add.apply(this, args); + } + [S._clear$2](...args) { + return this.clear.apply(this, args); + } + [S._count$2](...args) { + return this.count.apply(this, args); + } + [S._createIndex](name, keyPath, options = null) { + if (name == null) dart.nullFailed(I[145], 923, 29, "name"); + if (keyPath == null) dart.nullFailed(I[145], 923, 42, "keyPath"); + if (options != null) { + let options_1 = html_common.convertDartToNative_Dictionary(options); + return this[S._createIndex_1](name, keyPath, options_1); + } + return this[S._createIndex_2](name, keyPath); + } + [S._createIndex_1](...args) { + return this.createIndex.apply(this, args); + } + [S._createIndex_2](...args) { + return this.createIndex.apply(this, args); + } + [S._delete$1](...args) { + return this.delete.apply(this, args); + } + [S.$deleteIndex](...args) { + return this.deleteIndex.apply(this, args); + } + [S._get](...args) { + return this.get.apply(this, args); + } + [S.$getAll](...args) { + return this.getAll.apply(this, args); + } + [S.$getAllKeys](...args) { + return this.getAllKeys.apply(this, args); + } + [S.$getKey](...args) { + return this.getKey.apply(this, args); + } + [S.$index](...args) { + return this.index.apply(this, args); + } + [S._openCursor](...args) { + return this.openCursor.apply(this, args); + } + [S.$openKeyCursor](...args) { + return this.openKeyCursor.apply(this, args); + } + [S._put](value, key = null) { + if (key != null) { + let value_1 = html_common.convertDartToNative_SerializedScriptValue(value); + let key_2 = html_common.convertDartToNative_SerializedScriptValue(key); + return this[S._put_1](value_1, key_2); + } + let value_1 = html_common.convertDartToNative_SerializedScriptValue(value); + return this[S._put_2](value_1); + } + [S._put_1](...args) { + return this.put.apply(this, args); + } + [S._put_2](...args) { + return this.put.apply(this, args); + } + static _cursorStreamFromResult(T, request, autoAdvance) { + if (request == null) dart.nullFailed(I[145], 991, 15, "request"); + let controller = async.StreamController$(T).new({sync: true}); + request[S.$onError].listen(dart.bind(controller, 'addError')); + request[S.$onSuccess].listen(dart.fn(e => { + if (e == null) dart.nullFailed(I[145], 1000, 31, "e"); + let cursor = dart.nullable(T).as(request[S.$result]); + if (cursor == null) { + controller.close(); + } else { + controller.add(cursor); + if (autoAdvance === true && dart.test(controller.hasListener)) { + cursor[S.$next](); + } + } + }, T$0.EventTovoid())); + return controller.stream; + } +}; +dart.addTypeTests(indexed_db.ObjectStore); +dart.addTypeCaches(indexed_db.ObjectStore); +dart.setMethodSignature(indexed_db.ObjectStore, () => ({ + __proto__: dart.getMethods(indexed_db.ObjectStore.__proto__), + [$add]: dart.fnType(async.Future, [dart.dynamic], [dart.dynamic]), + [$clear]: dart.fnType(async.Future, []), + [S.$delete]: dart.fnType(async.Future, [dart.dynamic]), + [S.$count]: dart.fnType(async.Future$(core.int), [], [dart.dynamic]), + [S.$put]: dart.fnType(async.Future, [dart.dynamic], [dart.dynamic]), + [S.$getObject]: dart.fnType(async.Future, [dart.dynamic]), + [S.$openCursor]: dart.fnType(async.Stream$(indexed_db.CursorWithValue), [], {autoAdvance: dart.nullable(core.bool), direction: dart.nullable(core.String), key: dart.dynamic, range: dart.nullable(indexed_db.KeyRange)}, {}), + [S.$createIndex]: dart.fnType(indexed_db.Index, [core.String, dart.dynamic], {multiEntry: dart.nullable(core.bool), unique: dart.nullable(core.bool)}, {}), + [S._add$3]: dart.fnType(indexed_db.Request, [dart.dynamic], [dart.dynamic]), + [S._add_1]: dart.fnType(indexed_db.Request, [dart.dynamic, dart.dynamic]), + [S._add_2]: dart.fnType(indexed_db.Request, [dart.dynamic]), + [S._clear$2]: dart.fnType(indexed_db.Request, []), + [S._count$2]: dart.fnType(indexed_db.Request, [dart.nullable(core.Object)]), + [S._createIndex]: dart.fnType(indexed_db.Index, [core.String, core.Object], [dart.nullable(core.Map)]), + [S._createIndex_1]: dart.fnType(indexed_db.Index, [dart.dynamic, dart.dynamic, dart.dynamic]), + [S._createIndex_2]: dart.fnType(indexed_db.Index, [dart.dynamic, dart.dynamic]), + [S._delete$1]: dart.fnType(indexed_db.Request, [core.Object]), + [S.$deleteIndex]: dart.fnType(dart.void, [core.String]), + [S._get]: dart.fnType(indexed_db.Request, [core.Object]), + [S.$getAll]: dart.fnType(indexed_db.Request, [dart.nullable(core.Object)], [dart.nullable(core.int)]), + [S.$getAllKeys]: dart.fnType(indexed_db.Request, [dart.nullable(core.Object)], [dart.nullable(core.int)]), + [S.$getKey]: dart.fnType(indexed_db.Request, [core.Object]), + [S.$index]: dart.fnType(indexed_db.Index, [core.String]), + [S._openCursor]: dart.fnType(indexed_db.Request, [dart.nullable(core.Object)], [dart.nullable(core.String)]), + [S.$openKeyCursor]: dart.fnType(indexed_db.Request, [dart.nullable(core.Object)], [dart.nullable(core.String)]), + [S._put]: dart.fnType(indexed_db.Request, [dart.dynamic], [dart.dynamic]), + [S._put_1]: dart.fnType(indexed_db.Request, [dart.dynamic, dart.dynamic]), + [S._put_2]: dart.fnType(indexed_db.Request, [dart.dynamic]) +})); +dart.setGetterSignature(indexed_db.ObjectStore, () => ({ + __proto__: dart.getGetters(indexed_db.ObjectStore.__proto__), + [S.$autoIncrement]: dart.nullable(core.bool), + [S.$indexNames]: dart.nullable(core.List$(core.String)), + [S.$keyPath]: dart.nullable(core.Object), + [$name]: dart.nullable(core.String), + [S.$transaction]: dart.nullable(indexed_db.Transaction) +})); +dart.setSetterSignature(indexed_db.ObjectStore, () => ({ + __proto__: dart.getSetters(indexed_db.ObjectStore.__proto__), + [$name]: dart.nullable(core.String) +})); +dart.setLibraryUri(indexed_db.ObjectStore, I[146]); +dart.registerExtension("IDBObjectStore", indexed_db.ObjectStore); +indexed_db.Observation = class Observation extends _interceptors.Interceptor { + get [S.$key]() { + return this.key; + } + get [S.$type]() { + return this.type; + } + get [S.$value]() { + return this.value; + } +}; +dart.addTypeTests(indexed_db.Observation); +dart.addTypeCaches(indexed_db.Observation); +dart.setGetterSignature(indexed_db.Observation, () => ({ + __proto__: dart.getGetters(indexed_db.Observation.__proto__), + [S.$key]: dart.nullable(core.Object), + [S.$type]: dart.nullable(core.String), + [S.$value]: dart.nullable(core.Object) +})); +dart.setLibraryUri(indexed_db.Observation, I[146]); +dart.registerExtension("IDBObservation", indexed_db.Observation); +indexed_db.Observer = class Observer extends _interceptors.Interceptor { + static new(callback) { + if (callback == null) dart.nullFailed(I[145], 1042, 37, "callback"); + let callback_1 = _js_helper.convertDartClosureToJS(T$0.ObserverChangesTovoid(), callback, 1); + return indexed_db.Observer._create_1(callback_1); + } + static _create_1(callback) { + return new IDBObserver(callback); + } + [S.$observe](db, tx, options) { + if (db == null) dart.nullFailed(I[145], 1049, 25, "db"); + if (tx == null) dart.nullFailed(I[145], 1049, 41, "tx"); + if (options == null) dart.nullFailed(I[145], 1049, 49, "options"); + let options_1 = html_common.convertDartToNative_Dictionary(options); + this[S._observe_1](db, tx, options_1); + return; + } + [S._observe_1](...args) { + return this.observe.apply(this, args); + } + [S.$unobserve](...args) { + return this.unobserve.apply(this, args); + } +}; +dart.addTypeTests(indexed_db.Observer); +dart.addTypeCaches(indexed_db.Observer); +dart.setMethodSignature(indexed_db.Observer, () => ({ + __proto__: dart.getMethods(indexed_db.Observer.__proto__), + [S.$observe]: dart.fnType(dart.void, [indexed_db.Database, indexed_db.Transaction, core.Map]), + [S._observe_1]: dart.fnType(dart.void, [indexed_db.Database, indexed_db.Transaction, dart.dynamic]), + [S.$unobserve]: dart.fnType(dart.void, [indexed_db.Database]) +})); +dart.setLibraryUri(indexed_db.Observer, I[146]); +dart.registerExtension("IDBObserver", indexed_db.Observer); +indexed_db.ObserverChanges = class ObserverChanges extends _interceptors.Interceptor { + get [S.$database]() { + return this.database; + } + get [S.$records]() { + return this.records; + } + get [S.$transaction]() { + return this.transaction; + } +}; +dart.addTypeTests(indexed_db.ObserverChanges); +dart.addTypeCaches(indexed_db.ObserverChanges); +dart.setGetterSignature(indexed_db.ObserverChanges, () => ({ + __proto__: dart.getGetters(indexed_db.ObserverChanges.__proto__), + [S.$database]: dart.nullable(indexed_db.Database), + [S.$records]: dart.nullable(core.Object), + [S.$transaction]: dart.nullable(indexed_db.Transaction) +})); +dart.setLibraryUri(indexed_db.ObserverChanges, I[146]); +dart.registerExtension("IDBObserverChanges", indexed_db.ObserverChanges); +indexed_db.Request = class Request extends html$.EventTarget { + get [S.$error]() { + return this.error; + } + get [S.$readyState]() { + return this.readyState; + } + get [S.$result]() { + return indexed_db._convertNativeToDart_IDBAny(this[S._get_result]); + } + get [S._get_result]() { + return this.result; + } + get [S.$source]() { + return this.source; + } + get [S.$transaction]() { + return this.transaction; + } + get [S.$onError]() { + return indexed_db.Request.errorEvent.forTarget(this); + } + get [S.$onSuccess]() { + return indexed_db.Request.successEvent.forTarget(this); + } +}; +dart.addTypeTests(indexed_db.Request); +dart.addTypeCaches(indexed_db.Request); +dart.setGetterSignature(indexed_db.Request, () => ({ + __proto__: dart.getGetters(indexed_db.Request.__proto__), + [S.$error]: dart.nullable(html$.DomException), + [S.$readyState]: dart.nullable(core.String), + [S.$result]: dart.dynamic, + [S._get_result]: dart.dynamic, + [S.$source]: dart.nullable(core.Object), + [S.$transaction]: dart.nullable(indexed_db.Transaction), + [S.$onError]: async.Stream$(html$.Event), + [S.$onSuccess]: async.Stream$(html$.Event) +})); +dart.setLibraryUri(indexed_db.Request, I[146]); +dart.defineLazy(indexed_db.Request, { + /*indexed_db.Request.errorEvent*/get errorEvent() { + return C[216] || CT.C216; + }, + /*indexed_db.Request.successEvent*/get successEvent() { + return C[218] || CT.C218; + } +}, false); +dart.registerExtension("IDBRequest", indexed_db.Request); +indexed_db.OpenDBRequest = class OpenDBRequest extends indexed_db.Request { + get [S.$onBlocked]() { + return indexed_db.OpenDBRequest.blockedEvent.forTarget(this); + } + get [S.$onUpgradeNeeded]() { + return indexed_db.OpenDBRequest.upgradeNeededEvent.forTarget(this); + } +}; +dart.addTypeTests(indexed_db.OpenDBRequest); +dart.addTypeCaches(indexed_db.OpenDBRequest); +dart.setGetterSignature(indexed_db.OpenDBRequest, () => ({ + __proto__: dart.getGetters(indexed_db.OpenDBRequest.__proto__), + [S.$onBlocked]: async.Stream$(html$.Event), + [S.$onUpgradeNeeded]: async.Stream$(indexed_db.VersionChangeEvent) +})); +dart.setLibraryUri(indexed_db.OpenDBRequest, I[146]); +dart.defineLazy(indexed_db.OpenDBRequest, { + /*indexed_db.OpenDBRequest.blockedEvent*/get blockedEvent() { + return C[219] || CT.C219; + }, + /*indexed_db.OpenDBRequest.upgradeNeededEvent*/get upgradeNeededEvent() { + return C[220] || CT.C220; + } +}, false); +dart.registerExtension("IDBOpenDBRequest", indexed_db.OpenDBRequest); +dart.registerExtension("IDBVersionChangeRequest", indexed_db.OpenDBRequest); +indexed_db.Transaction = class Transaction extends html$.EventTarget { + get [S.$completed]() { + let completer = T$0.CompleterOfDatabase().new(); + this[S.$onComplete].first.then(core.Null, dart.fn(_ => { + if (_ == null) dart.nullFailed(I[145], 1181, 33, "_"); + completer.complete(this.db); + }, T$0.EventToNull())); + this[S.$onError].first.then(core.Null, dart.fn(e => { + if (e == null) dart.nullFailed(I[145], 1185, 30, "e"); + completer.completeError(e); + }, T$0.EventToNull())); + this[S.$onAbort].first.then(core.Null, dart.fn(e => { + if (e == null) dart.nullFailed(I[145], 1189, 30, "e"); + if (!dart.test(completer.isCompleted)) { + completer.completeError(e); + } + }, T$0.EventToNull())); + return completer.future; + } + get [S.$db]() { + return this.db; + } + get [S.$error]() { + return this.error; + } + get [S.$mode]() { + return this.mode; + } + get [S.$objectStoreNames]() { + return this.objectStoreNames; + } + [S.$abort](...args) { + return this.abort.apply(this, args); + } + [S.$objectStore](...args) { + return this.objectStore.apply(this, args); + } + get [S.$onAbort]() { + return indexed_db.Transaction.abortEvent.forTarget(this); + } + get [S.$onComplete]() { + return indexed_db.Transaction.completeEvent.forTarget(this); + } + get [S.$onError]() { + return indexed_db.Transaction.errorEvent.forTarget(this); + } +}; +dart.addTypeTests(indexed_db.Transaction); +dart.addTypeCaches(indexed_db.Transaction); +dart.setMethodSignature(indexed_db.Transaction, () => ({ + __proto__: dart.getMethods(indexed_db.Transaction.__proto__), + [S.$abort]: dart.fnType(dart.void, []), + [S.$objectStore]: dart.fnType(indexed_db.ObjectStore, [core.String]) +})); +dart.setGetterSignature(indexed_db.Transaction, () => ({ + __proto__: dart.getGetters(indexed_db.Transaction.__proto__), + [S.$completed]: async.Future$(indexed_db.Database), + [S.$db]: dart.nullable(indexed_db.Database), + [S.$error]: dart.nullable(html$.DomException), + [S.$mode]: dart.nullable(core.String), + [S.$objectStoreNames]: dart.nullable(core.List$(core.String)), + [S.$onAbort]: async.Stream$(html$.Event), + [S.$onComplete]: async.Stream$(html$.Event), + [S.$onError]: async.Stream$(html$.Event) +})); +dart.setLibraryUri(indexed_db.Transaction, I[146]); +dart.defineLazy(indexed_db.Transaction, { + /*indexed_db.Transaction.abortEvent*/get abortEvent() { + return C[214] || CT.C214; + }, + /*indexed_db.Transaction.completeEvent*/get completeEvent() { + return C[221] || CT.C221; + }, + /*indexed_db.Transaction.errorEvent*/get errorEvent() { + return C[216] || CT.C216; + } +}, false); +dart.registerExtension("IDBTransaction", indexed_db.Transaction); +html$.Event = class Event$ extends _interceptors.Interceptor { + static new(type, opts) { + if (type == null) dart.nullFailed(I[147], 15487, 24, "type"); + let canBubble = opts && 'canBubble' in opts ? opts.canBubble : true; + if (canBubble == null) dart.nullFailed(I[147], 15487, 36, "canBubble"); + let cancelable = opts && 'cancelable' in opts ? opts.cancelable : true; + if (cancelable == null) dart.nullFailed(I[147], 15487, 58, "cancelable"); + return html$.Event.eventType("Event", type, {canBubble: canBubble, cancelable: cancelable}); + } + static eventType(type, name, opts) { + if (type == null) dart.nullFailed(I[147], 15500, 34, "type"); + if (name == null) dart.nullFailed(I[147], 15500, 47, "name"); + let canBubble = opts && 'canBubble' in opts ? opts.canBubble : true; + if (canBubble == null) dart.nullFailed(I[147], 15501, 13, "canBubble"); + let cancelable = opts && 'cancelable' in opts ? opts.cancelable : true; + if (cancelable == null) dart.nullFailed(I[147], 15501, 35, "cancelable"); + let e = html$.document[S._createEvent](type); + e[S._initEvent](name, canBubble, cancelable); + return e; + } + get [S._selector]() { + return this._selector; + } + set [S._selector](value) { + this._selector = value; + } + get [S.$matchingTarget]() { + if (this[S._selector] == null) { + dart.throw(new core.UnsupportedError.new("Cannot call matchingTarget if this Event did" + " not arise as a result of event delegation.")); + } + let currentTarget = T$0.ElementN().as(this[S.$currentTarget]); + let target = T$0.ElementN().as(this[S.$target]); + let matchedTarget = null; + do { + if (dart.test(dart.nullCheck(target)[S.$matches](dart.nullCheck(this[S._selector])))) return target; + target = target[S.$parent]; + } while (target != null && !dart.equals(target, dart.nullCheck(currentTarget)[S.$parent])); + dart.throw(new core.StateError.new("No selector matched for populating matchedTarget.")); + } + get [S.$path]() { + return !!this.composedPath ? this.composedPath() : T$0.JSArrayOfEventTarget().of([]); + } + static __(type, eventInitDict = null) { + if (type == null) dart.nullFailed(I[147], 15534, 26, "type"); + if (eventInitDict != null) { + let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); + return html$.Event._create_1(type, eventInitDict_1); + } + return html$.Event._create_2(type); + } + static _create_1(type, eventInitDict) { + return new Event(type, eventInitDict); + } + static _create_2(type) { + return new Event(type); + } + get [S.$bubbles]() { + return this.bubbles; + } + get [S.$cancelable]() { + return this.cancelable; + } + get [S.$composed]() { + return this.composed; + } + get [S.$currentTarget]() { + return html$._convertNativeToDart_EventTarget(this[S._get_currentTarget]); + } + get [S._get_currentTarget]() { + return this.currentTarget; + } + get [S.$defaultPrevented]() { + return this.defaultPrevented; + } + get [S.$eventPhase]() { + return this.eventPhase; + } + get [S.$isTrusted]() { + return this.isTrusted; + } + get [S.$target]() { + return html$._convertNativeToDart_EventTarget(this[S._get_target]); + } + get [S._get_target]() { + return this.target; + } + get [S.$timeStamp]() { + return this.timeStamp; + } + get [S.$type]() { + return this.type; + } + [S.$composedPath](...args) { + return this.composedPath.apply(this, args); + } + [S._initEvent](...args) { + return this.initEvent.apply(this, args); + } + [S.$preventDefault](...args) { + return this.preventDefault.apply(this, args); + } + [S.$stopImmediatePropagation](...args) { + return this.stopImmediatePropagation.apply(this, args); + } + [S.$stopPropagation](...args) { + return this.stopPropagation.apply(this, args); + } +}; +dart.addTypeTests(html$.Event); +dart.addTypeCaches(html$.Event); +dart.setMethodSignature(html$.Event, () => ({ + __proto__: dart.getMethods(html$.Event.__proto__), + [S.$composedPath]: dart.fnType(core.List$(html$.EventTarget), []), + [S._initEvent]: dart.fnType(dart.void, [core.String], [dart.nullable(core.bool), dart.nullable(core.bool)]), + [S.$preventDefault]: dart.fnType(dart.void, []), + [S.$stopImmediatePropagation]: dart.fnType(dart.void, []), + [S.$stopPropagation]: dart.fnType(dart.void, []) +})); +dart.setGetterSignature(html$.Event, () => ({ + __proto__: dart.getGetters(html$.Event.__proto__), + [S._selector]: dart.nullable(core.String), + [S.$matchingTarget]: html$.Element, + [S.$path]: core.List$(html$.EventTarget), + [S.$bubbles]: dart.nullable(core.bool), + [S.$cancelable]: dart.nullable(core.bool), + [S.$composed]: dart.nullable(core.bool), + [S.$currentTarget]: dart.nullable(html$.EventTarget), + [S._get_currentTarget]: dart.dynamic, + [S.$defaultPrevented]: core.bool, + [S.$eventPhase]: core.int, + [S.$isTrusted]: dart.nullable(core.bool), + [S.$target]: dart.nullable(html$.EventTarget), + [S._get_target]: dart.dynamic, + [S.$timeStamp]: dart.nullable(core.num), + [S.$type]: core.String +})); +dart.setSetterSignature(html$.Event, () => ({ + __proto__: dart.getSetters(html$.Event.__proto__), + [S._selector]: dart.nullable(core.String) +})); +dart.setLibraryUri(html$.Event, I[148]); +dart.defineLazy(html$.Event, { + /*html$.Event.AT_TARGET*/get AT_TARGET() { + return 2; + }, + /*html$.Event.BUBBLING_PHASE*/get BUBBLING_PHASE() { + return 3; + }, + /*html$.Event.CAPTURING_PHASE*/get CAPTURING_PHASE() { + return 1; + } +}, false); +dart.registerExtension("Event", html$.Event); +dart.registerExtension("InputEvent", html$.Event); +dart.registerExtension("SubmitEvent", html$.Event); +indexed_db.VersionChangeEvent = class VersionChangeEvent extends html$.Event { + static new(type, eventInitDict = null) { + if (type == null) dart.nullFailed(I[145], 1266, 37, "type"); + if (eventInitDict != null) { + let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); + return indexed_db.VersionChangeEvent._create_1(type, eventInitDict_1); + } + return indexed_db.VersionChangeEvent._create_2(type); + } + static _create_1(type, eventInitDict) { + return new IDBVersionChangeEvent(type, eventInitDict); + } + static _create_2(type) { + return new IDBVersionChangeEvent(type); + } + get [S.$dataLoss]() { + return this.dataLoss; + } + get [S.$dataLossMessage]() { + return this.dataLossMessage; + } + get [S.$newVersion]() { + return this.newVersion; + } + get [S.$oldVersion]() { + return this.oldVersion; + } + get [S.$target]() { + return this.target; + } +}; +dart.addTypeTests(indexed_db.VersionChangeEvent); +dart.addTypeCaches(indexed_db.VersionChangeEvent); +dart.setGetterSignature(indexed_db.VersionChangeEvent, () => ({ + __proto__: dart.getGetters(indexed_db.VersionChangeEvent.__proto__), + [S.$dataLoss]: dart.nullable(core.String), + [S.$dataLossMessage]: dart.nullable(core.String), + [S.$newVersion]: dart.nullable(core.int), + [S.$oldVersion]: dart.nullable(core.int), + [S.$target]: indexed_db.OpenDBRequest +})); +dart.setLibraryUri(indexed_db.VersionChangeEvent, I[146]); +dart.registerExtension("IDBVersionChangeEvent", indexed_db.VersionChangeEvent); +indexed_db._convertNativeToDart_IDBKey = function _convertNativeToDart_IDBKey(nativeKey) { + function containsDate(object) { + if (dart.test(html_common.isJavaScriptDate(object))) return true; + if (core.List.is(object)) { + for (let i = 0; i < dart.notNull(object[$length]); i = i + 1) { + if (dart.dtest(containsDate(object[$_get](i)))) return true; + } + } + return false; + } + dart.fn(containsDate, T$0.dynamicTobool()); + if (dart.test(containsDate(nativeKey))) { + dart.throw(new core.UnimplementedError.new("Key containing DateTime")); + } + return nativeKey; +}; +indexed_db._convertDartToNative_IDBKey = function _convertDartToNative_IDBKey(dartKey) { + return dartKey; +}; +indexed_db._convertNativeToDart_IDBAny = function _convertNativeToDart_IDBAny(object) { + return html_common.convertNativeToDart_AcceptStructuredClone(object, {mustCopy: false}); +}; +indexed_db._completeRequest = function _completeRequest(T, request) { + if (request == null) dart.nullFailed(I[145], 544, 39, "request"); + let completer = async.Completer$(T).sync(); + request[S.$onSuccess].listen(dart.fn(e => { + if (e == null) dart.nullFailed(I[145], 548, 29, "e"); + let result = T.as(request[S.$result]); + completer.complete(result); + }, T$0.EventTovoid())); + request[S.$onError].listen(dart.bind(completer, 'completeError')); + return completer.future; +}; +dart.defineLazy(indexed_db, { + /*indexed_db._idbKey*/get _idbKey() { + return "JSExtendableArray|=Object|num|String"; + }, + /*indexed_db._annotation_Creates_IDBKey*/get _annotation_Creates_IDBKey() { + return C[222] || CT.C222; + }, + /*indexed_db._annotation_Returns_IDBKey*/get _annotation_Returns_IDBKey() { + return C[223] || CT.C223; + } +}, false); +html$.Node = class Node extends html$.EventTarget { + get [S.$nodes]() { + return new html$._ChildNodeListLazy.new(this); + } + set [S.$nodes](value) { + if (value == null) dart.nullFailed(I[147], 23177, 28, "value"); + let copy = value[$toList](); + this[S.$text] = ""; + for (let node of copy) { + this[S.$append](node); + } + } + [$remove]() { + if (this.parentNode != null) { + let parent = dart.nullCheck(this.parentNode); + parent[S$._removeChild](this); + } + } + [S$.$replaceWith](otherNode) { + if (otherNode == null) dart.nullFailed(I[147], 23202, 25, "otherNode"); + try { + let parent = dart.nullCheck(this.parentNode); + parent[S$._replaceChild](otherNode, this); + } catch (e$) { + let e = dart.getThrown(e$); + if (core.Object.is(e)) { + } else + throw e$; + } + return this; + } + [S$.$insertAllBefore](newNodes, refChild) { + if (newNodes == null) dart.nullFailed(I[147], 23217, 39, "newNodes"); + if (refChild == null) dart.nullFailed(I[147], 23217, 54, "refChild"); + if (html$._ChildNodeListLazy.is(newNodes)) { + let otherList = newNodes; + if (otherList[S$._this] === this) { + dart.throw(new core.ArgumentError.new(newNodes)); + } + for (let i = 0, len = otherList.length; i < dart.notNull(len); i = i + 1) { + this.insertBefore(dart.nullCheck(otherList[S$._this].firstChild), refChild); + } + } else { + for (let node of newNodes) { + this.insertBefore(node, refChild); + } + } + } + [S$._clearChildren]() { + while (this.firstChild != null) { + this[S$._removeChild](dart.nullCheck(this.firstChild)); + } + } + [$toString]() { + let value = this.nodeValue; + return value == null ? super[$toString]() : value; + } + get [S$.$childNodes]() { + return this.childNodes; + } + get [S.$baseUri]() { + return this.baseURI; + } + get [S$.$firstChild]() { + return this.firstChild; + } + get [S$.$isConnected]() { + return this.isConnected; + } + get [S$.$lastChild]() { + return this.lastChild; + } + get [S.$nextNode]() { + return this.nextSibling; + } + get [S$.$nodeName]() { + return this.nodeName; + } + get [S$.$nodeType]() { + return this.nodeType; + } + get [S$.$nodeValue]() { + return this.nodeValue; + } + get [S$.$ownerDocument]() { + return this.ownerDocument; + } + get [S.$parent]() { + return this.parentElement; + } + get [S$.$parentNode]() { + return this.parentNode; + } + get [S$.$previousNode]() { + return this.previousSibling; + } + get [S.$text]() { + return this.textContent; + } + set [S.$text](value) { + this.textContent = value; + } + [S.$append](...args) { + return this.appendChild.apply(this, args); + } + [S$.$clone](...args) { + return this.cloneNode.apply(this, args); + } + [$contains](...args) { + return this.contains.apply(this, args); + } + [S$.$getRootNode](options = null) { + if (options != null) { + let options_1 = html_common.convertDartToNative_Dictionary(options); + return this[S$._getRootNode_1](options_1); + } + return this[S$._getRootNode_2](); + } + [S$._getRootNode_1](...args) { + return this.getRootNode.apply(this, args); + } + [S$._getRootNode_2](...args) { + return this.getRootNode.apply(this, args); + } + [S$.$hasChildNodes](...args) { + return this.hasChildNodes.apply(this, args); + } + [S$.$insertBefore](...args) { + return this.insertBefore.apply(this, args); + } + [S$._removeChild](...args) { + return this.removeChild.apply(this, args); + } + [S$._replaceChild](...args) { + return this.replaceChild.apply(this, args); + } +}; +(html$.Node._created = function() { + html$.Node.__proto__._created.call(this); + ; +}).prototype = html$.Node.prototype; +dart.addTypeTests(html$.Node); +dart.addTypeCaches(html$.Node); +dart.setMethodSignature(html$.Node, () => ({ + __proto__: dart.getMethods(html$.Node.__proto__), + [$remove]: dart.fnType(dart.void, []), + [S$.$replaceWith]: dart.fnType(html$.Node, [html$.Node]), + [S$.$insertAllBefore]: dart.fnType(dart.void, [core.Iterable$(html$.Node), html$.Node]), + [S$._clearChildren]: dart.fnType(dart.void, []), + [S.$append]: dart.fnType(html$.Node, [html$.Node]), + [S$.$clone]: dart.fnType(html$.Node, [dart.nullable(core.bool)]), + [$contains]: dart.fnType(core.bool, [dart.nullable(html$.Node)]), + [S$.$getRootNode]: dart.fnType(html$.Node, [], [dart.nullable(core.Map)]), + [S$._getRootNode_1]: dart.fnType(html$.Node, [dart.dynamic]), + [S$._getRootNode_2]: dart.fnType(html$.Node, []), + [S$.$hasChildNodes]: dart.fnType(core.bool, []), + [S$.$insertBefore]: dart.fnType(html$.Node, [html$.Node, dart.nullable(html$.Node)]), + [S$._removeChild]: dart.fnType(html$.Node, [html$.Node]), + [S$._replaceChild]: dart.fnType(html$.Node, [html$.Node, html$.Node]) +})); +dart.setGetterSignature(html$.Node, () => ({ + __proto__: dart.getGetters(html$.Node.__proto__), + [S.$nodes]: core.List$(html$.Node), + [S$.$childNodes]: core.List$(html$.Node), + [S.$baseUri]: dart.nullable(core.String), + [S$.$firstChild]: dart.nullable(html$.Node), + [S$.$isConnected]: dart.nullable(core.bool), + [S$.$lastChild]: dart.nullable(html$.Node), + [S.$nextNode]: dart.nullable(html$.Node), + [S$.$nodeName]: dart.nullable(core.String), + [S$.$nodeType]: core.int, + [S$.$nodeValue]: dart.nullable(core.String), + [S$.$ownerDocument]: dart.nullable(html$.Document), + [S.$parent]: dart.nullable(html$.Element), + [S$.$parentNode]: dart.nullable(html$.Node), + [S$.$previousNode]: dart.nullable(html$.Node), + [S.$text]: dart.nullable(core.String) +})); +dart.setSetterSignature(html$.Node, () => ({ + __proto__: dart.getSetters(html$.Node.__proto__), + [S.$nodes]: core.Iterable$(html$.Node), + [S.$text]: dart.nullable(core.String) +})); +dart.setLibraryUri(html$.Node, I[148]); +dart.defineLazy(html$.Node, { + /*html$.Node.ATTRIBUTE_NODE*/get ATTRIBUTE_NODE() { + return 2; + }, + /*html$.Node.CDATA_SECTION_NODE*/get CDATA_SECTION_NODE() { + return 4; + }, + /*html$.Node.COMMENT_NODE*/get COMMENT_NODE() { + return 8; + }, + /*html$.Node.DOCUMENT_FRAGMENT_NODE*/get DOCUMENT_FRAGMENT_NODE() { + return 11; + }, + /*html$.Node.DOCUMENT_NODE*/get DOCUMENT_NODE() { + return 9; + }, + /*html$.Node.DOCUMENT_TYPE_NODE*/get DOCUMENT_TYPE_NODE() { + return 10; + }, + /*html$.Node.ELEMENT_NODE*/get ELEMENT_NODE() { + return 1; + }, + /*html$.Node.ENTITY_NODE*/get ENTITY_NODE() { + return 6; + }, + /*html$.Node.ENTITY_REFERENCE_NODE*/get ENTITY_REFERENCE_NODE() { + return 5; + }, + /*html$.Node.NOTATION_NODE*/get NOTATION_NODE() { + return 12; + }, + /*html$.Node.PROCESSING_INSTRUCTION_NODE*/get PROCESSING_INSTRUCTION_NODE() { + return 7; + }, + /*html$.Node.TEXT_NODE*/get TEXT_NODE() { + return 3; + } +}, false); +dart.registerExtension("Node", html$.Node); +html$.Element = class Element extends html$.Node { + static html(html, opts) { + let validator = opts && 'validator' in opts ? opts.validator : null; + let treeSanitizer = opts && 'treeSanitizer' in opts ? opts.treeSanitizer : null; + let fragment = dart.nullCheck(html$.document.body)[S.$createFragment](html, {validator: validator, treeSanitizer: treeSanitizer}); + return html$.Element.as(fragment[S.$nodes][$where](dart.fn(e => { + if (e == null) dart.nullFailed(I[147], 12731, 34, "e"); + return html$.Element.is(e); + }, T$0.NodeTobool()))[$single]); + } + static tag(tag, typeExtension = null) { + if (tag == null) dart.nullFailed(I[147], 12776, 30, "tag"); + return html$.Element.as(html$._ElementFactoryProvider.createElement_tag(tag, typeExtension)); + } + static a() { + return html$.AnchorElement.new(); + } + static article() { + return html$.Element.tag("article"); + } + static aside() { + return html$.Element.tag("aside"); + } + static audio() { + return html$.Element.tag("audio"); + } + static br() { + return html$.BRElement.new(); + } + static canvas() { + return html$.CanvasElement.new(); + } + static div() { + return html$.DivElement.new(); + } + static footer() { + return html$.Element.tag("footer"); + } + static header() { + return html$.Element.tag("header"); + } + static hr() { + return html$.Element.tag("hr"); + } + static iframe() { + return html$.Element.tag("iframe"); + } + static img() { + return html$.Element.tag("img"); + } + static li() { + return html$.Element.tag("li"); + } + static nav() { + return html$.Element.tag("nav"); + } + static ol() { + return html$.Element.tag("ol"); + } + static option() { + return html$.Element.tag("option"); + } + static p() { + return html$.Element.tag("p"); + } + static pre() { + return html$.Element.tag("pre"); + } + static section() { + return html$.Element.tag("section"); + } + static select() { + return html$.Element.tag("select"); + } + static span() { + return html$.Element.tag("span"); + } + static svg() { + return html$.Element.tag("svg"); + } + static table() { + return html$.Element.tag("table"); + } + static td() { + return html$.Element.tag("td"); + } + static textarea() { + return html$.Element.tag("textarea"); + } + static th() { + return html$.Element.tag("th"); + } + static tr() { + return html$.Element.tag("tr"); + } + static ul() { + return html$.Element.tag("ul"); + } + static video() { + return html$.Element.tag("video"); + } + get [S.$attributes]() { + return new html$._ElementAttributeMap.new(this); + } + set [S.$attributes](value) { + if (value == null) dart.nullFailed(I[147], 12936, 38, "value"); + let attributes = this[S.$attributes]; + attributes[$clear](); + for (let key of value[$keys]) { + attributes[$_set](key, dart.nullCheck(value[$_get](key))); + } + } + [S.$getAttribute](name) { + if (name == null) dart.nullFailed(I[147], 12945, 31, "name"); + if (!(name != null)) dart.assertFailed("Attribute name cannot be null", I[147], 12948, 12, "name != null"); + return this[S._getAttribute](name); + } + [S.$getAttributeNS](namespaceURI, name) { + if (name == null) dart.nullFailed(I[147], 12953, 55, "name"); + if (!(name != null)) dart.assertFailed("Attribute name cannot be null", I[147], 12957, 12, "name != null"); + return this[S._getAttributeNS](namespaceURI, name); + } + [S.$hasAttribute](name) { + if (name == null) dart.nullFailed(I[147], 12962, 28, "name"); + if (!(name != null)) dart.assertFailed("Attribute name cannot be null", I[147], 12965, 12, "name != null"); + return this[S._hasAttribute](name); + } + [S.$hasAttributeNS](namespaceURI, name) { + if (name == null) dart.nullFailed(I[147], 12970, 52, "name"); + if (!(name != null)) dart.assertFailed("Attribute name cannot be null", I[147], 12974, 12, "name != null"); + return this[S._hasAttributeNS](namespaceURI, name); + } + [S.$removeAttribute](name) { + if (name == null) dart.nullFailed(I[147], 12979, 31, "name"); + if (!(name != null)) dart.assertFailed("Attribute name cannot be null", I[147], 12982, 12, "name != null"); + this[S._removeAttribute](name); + } + [S.$removeAttributeNS](namespaceURI, name) { + if (name == null) dart.nullFailed(I[147], 12987, 55, "name"); + if (!(name != null)) dart.assertFailed("Attribute name cannot be null", I[147], 12990, 12, "name != null"); + this[S._removeAttributeNS](namespaceURI, name); + } + [S.$setAttribute](name, value) { + if (name == null) dart.nullFailed(I[147], 12995, 28, "name"); + if (value == null) dart.nullFailed(I[147], 12995, 41, "value"); + if (!(name != null)) dart.assertFailed("Attribute name cannot be null", I[147], 12998, 12, "name != null"); + this[S._setAttribute](name, value); + } + [S.$setAttributeNS](namespaceURI, name, value) { + if (name == null) dart.nullFailed(I[147], 13004, 52, "name"); + if (value == null) dart.nullFailed(I[147], 13004, 65, "value"); + if (!(name != null)) dart.assertFailed("Attribute name cannot be null", I[147], 13007, 12, "name != null"); + this[S._setAttributeNS](namespaceURI, name, value); + } + get [S.$children]() { + return new html$._ChildrenElementList._wrap(this); + } + get [S._children]() { + return this.children; + } + set [S.$children](value) { + if (value == null) dart.nullFailed(I[147], 13036, 30, "value"); + let copy = value[$toList](); + let children = this[S.$children]; + children[$clear](); + children[$addAll](copy); + } + [S.$querySelectorAll](T, selectors) { + if (selectors == null) dart.nullFailed(I[147], 13055, 61, "selectors"); + return new (html$._FrozenElementList$(T))._wrap(this[S._querySelectorAll](selectors)); + } + [S._setApplyScroll](...args) { + return this.setApplyScroll.apply(this, args); + } + [S.$setApplyScroll](nativeScrollBehavior) { + if (nativeScrollBehavior == null) dart.nullFailed(I[147], 13062, 45, "nativeScrollBehavior"); + let completer = T$0.CompleterOfScrollState().new(); + this[S._setApplyScroll](dart.fn(value => { + if (value == null) dart.nullFailed(I[147], 13064, 22, "value"); + completer.complete(value); + }, T$0.ScrollStateTovoid()), nativeScrollBehavior); + return completer.future; + } + [S._setDistributeScroll](...args) { + return this.setDistributeScroll.apply(this, args); + } + [S.$setDistributeScroll](nativeScrollBehavior) { + if (nativeScrollBehavior == null) dart.nullFailed(I[147], 13074, 50, "nativeScrollBehavior"); + let completer = T$0.CompleterOfScrollState().new(); + this[S._setDistributeScroll](dart.fn(value => { + if (value == null) dart.nullFailed(I[147], 13076, 27, "value"); + completer.complete(value); + }, T$0.ScrollStateTovoid()), nativeScrollBehavior); + return completer.future; + } + get [S.$classes]() { + return new html$._ElementCssClassSet.new(this); + } + set [S.$classes](value) { + if (value == null) dart.nullFailed(I[147], 13094, 32, "value"); + let classSet = this[S.$classes]; + classSet.clear(); + classSet.addAll(value); + } + get [S.$dataset]() { + return new html$._DataAttributeMap.new(this[S.$attributes]); + } + set [S.$dataset](value) { + if (value == null) dart.nullFailed(I[147], 13128, 35, "value"); + let data = this[S.$dataset]; + data[$clear](); + for (let key of value[$keys]) { + data[$_set](key, dart.nullCheck(value[$_get](key))); + } + } + [S.$getNamespacedAttributes](namespace) { + if (namespace == null) dart.nullFailed(I[147], 13141, 54, "namespace"); + return new html$._NamespacedAttributeMap.new(this, namespace); + } + [S.$getComputedStyle](pseudoElement = null) { + if (pseudoElement == null) { + pseudoElement = ""; + } + return html$.window[S._getComputedStyle](this, pseudoElement); + } + get [S.$client]() { + return new (T$0.RectangleOfnum()).new(dart.nullCheck(this.clientLeft), dart.nullCheck(this.clientTop), this.clientWidth, this.clientHeight); + } + get [S.$offset]() { + return new (T$0.RectangleOfnum()).new(this[S.$offsetLeft], this[S.$offsetTop], this[S.$offsetWidth], this[S.$offsetHeight]); + } + [S.$appendText](text) { + if (text == null) dart.nullFailed(I[147], 13187, 26, "text"); + this[S.$append](html$.Text.new(text)); + } + [S.$appendHtml](text, opts) { + if (text == null) dart.nullFailed(I[147], 13195, 26, "text"); + let validator = opts && 'validator' in opts ? opts.validator : null; + let treeSanitizer = opts && 'treeSanitizer' in opts ? opts.treeSanitizer : null; + this[S.$insertAdjacentHtml]("beforeend", text, {validator: validator, treeSanitizer: treeSanitizer}); + } + static isTagSupported(tag) { + if (tag == null) dart.nullFailed(I[147], 13206, 37, "tag"); + let e = html$._ElementFactoryProvider.createElement_tag(tag, null); + return html$.Element.is(e) && !html$.UnknownElement.is(e); + } + [S.$attached]() { + this[S.$enteredView](); + } + [S.$detached]() { + this[S.$leftView](); + } + [S.$enteredView]() { + } + [S.$getClientRects]() { + let value = this[S._getClientRects](); + let jsProto = value.prototype; + if (jsProto == null) { + value.prototype = Object.create(null); + } + _js_helper.applyExtension("DOMRectList", value); + return value; + } + [S.$leftView]() { + } + [S.$animate](frames, timing = null) { + if (frames == null) dart.nullFailed(I[147], 13282, 52, "frames"); + if (!core.Iterable.is(frames) || !dart.test(frames[$every](dart.fn(x => { + if (x == null) dart.nullFailed(I[147], 13283, 48, "x"); + return core.Map.is(x); + }, T$0.MapOfString$dynamicTobool())))) { + dart.throw(new core.ArgumentError.new("The frames parameter should be a List of Maps " + "with frame information")); + } + let convertedFrames = null; + if (core.Iterable.is(frames)) { + convertedFrames = frames[$map](dart.dynamic, C[224] || CT.C224)[$toList](); + } else { + convertedFrames = frames; + } + let convertedTiming = core.Map.is(timing) ? html_common.convertDartToNative_Dictionary(timing) : timing; + return convertedTiming == null ? this[S._animate](core.Object.as(convertedFrames)) : this[S._animate](core.Object.as(convertedFrames), convertedTiming); + } + [S._animate](...args) { + return this.animate.apply(this, args); + } + [S.$attributeChanged](name, oldValue, newValue) { + if (name == null) dart.nullFailed(I[147], 13305, 32, "name"); + if (oldValue == null) dart.nullFailed(I[147], 13305, 45, "oldValue"); + if (newValue == null) dart.nullFailed(I[147], 13305, 62, "newValue"); + } + get [S.$localName]() { + return this[S._localName]; + } + get [S.$namespaceUri]() { + return this[S._namespaceUri]; + } + [$toString]() { + return this[S.$localName]; + } + [S.$scrollIntoView](alignment = null) { + let hasScrollIntoViewIfNeeded = true; + hasScrollIntoViewIfNeeded = !!this.scrollIntoViewIfNeeded; + if (dart.equals(alignment, html$.ScrollAlignment.TOP)) { + this[S._scrollIntoView](true); + } else if (dart.equals(alignment, html$.ScrollAlignment.BOTTOM)) { + this[S._scrollIntoView](false); + } else if (hasScrollIntoViewIfNeeded) { + if (dart.equals(alignment, html$.ScrollAlignment.CENTER)) { + this[S._scrollIntoViewIfNeeded](true); + } else { + this[S._scrollIntoViewIfNeeded](); + } + } else { + this[S._scrollIntoView](); + } + } + static _determineMouseWheelEventType(e) { + if (e == null) dart.nullFailed(I[147], 13378, 59, "e"); + return "wheel"; + } + static _determineTransitionEventType(e) { + if (e == null) dart.nullFailed(I[147], 13390, 59, "e"); + if (dart.test(html_common.Device.isWebKit)) { + return "webkitTransitionEnd"; + } else if (dart.test(html_common.Device.isOpera)) { + return "oTransitionEnd"; + } + return "transitionend"; + } + [S.$insertAdjacentText](where, text) { + if (where == null) dart.nullFailed(I[147], 13410, 34, "where"); + if (text == null) dart.nullFailed(I[147], 13410, 48, "text"); + if (!!this.insertAdjacentText) { + this[S._insertAdjacentText](where, text); + } else { + this[S._insertAdjacentNode](where, html$.Text.new(text)); + } + } + [S._insertAdjacentText](...args) { + return this.insertAdjacentText.apply(this, args); + } + [S.$insertAdjacentHtml](where, html, opts) { + if (where == null) dart.nullFailed(I[147], 13443, 34, "where"); + if (html == null) dart.nullFailed(I[147], 13443, 48, "html"); + let validator = opts && 'validator' in opts ? opts.validator : null; + let treeSanitizer = opts && 'treeSanitizer' in opts ? opts.treeSanitizer : null; + if (html$._TrustedHtmlTreeSanitizer.is(treeSanitizer)) { + this[S._insertAdjacentHtml](where, html); + } else { + this[S._insertAdjacentNode](where, this[S.$createFragment](html, {validator: validator, treeSanitizer: treeSanitizer})); + } + } + [S._insertAdjacentHtml](...args) { + return this.insertAdjacentHTML.apply(this, args); + } + [S.$insertAdjacentElement](where, element) { + if (where == null) dart.nullFailed(I[147], 13468, 40, "where"); + if (element == null) dart.nullFailed(I[147], 13468, 55, "element"); + if (!!this.insertAdjacentElement) { + this[S._insertAdjacentElement](where, element); + } else { + this[S._insertAdjacentNode](where, element); + } + return element; + } + [S._insertAdjacentElement](...args) { + return this.insertAdjacentElement.apply(this, args); + } + [S._insertAdjacentNode](where, node) { + if (where == null) dart.nullFailed(I[147], 13480, 35, "where"); + if (node == null) dart.nullFailed(I[147], 13480, 47, "node"); + switch (where[$toLowerCase]()) { + case "beforebegin": + { + dart.nullCheck(this.parentNode).insertBefore(node, this); + break; + } + case "afterbegin": + { + let first = dart.notNull(this[S.$nodes][$length]) > 0 ? this[S.$nodes][$_get](0) : null; + this.insertBefore(node, first); + break; + } + case "beforeend": + { + this[S.$append](node); + break; + } + case "afterend": + { + dart.nullCheck(this.parentNode).insertBefore(node, this[S.$nextNode]); + break; + } + default: + { + dart.throw(new core.ArgumentError.new("Invalid position " + dart.str(where))); + } + } + } + [S.$matches](selectors) { + if (selectors == null) dart.nullFailed(I[147], 13503, 23, "selectors"); + if (!!this.matches) { + return this.matches(selectors); + } else if (!!this.webkitMatchesSelector) { + return this.webkitMatchesSelector(selectors); + } else if (!!this.mozMatchesSelector) { + return this.mozMatchesSelector(selectors); + } else if (!!this.msMatchesSelector) { + return this.msMatchesSelector(selectors); + } else if (!!this.oMatchesSelector) { + return this.oMatchesSelector(selectors); + } else { + dart.throw(new core.UnsupportedError.new("Not supported on this platform")); + } + } + [S.$matchesWithAncestors](selectors) { + if (selectors == null) dart.nullFailed(I[147], 13520, 36, "selectors"); + let elem = this; + do { + if (dart.test(dart.nullCheck(elem)[S.$matches](selectors))) return true; + elem = elem[S.$parent]; + } while (elem != null); + return false; + } + [S.$createShadowRoot]() { + return (this.createShadowRoot || this.webkitCreateShadowRoot).call(this); + } + get [S.$shadowRoot]() { + return this.shadowRoot || this.webkitShadowRoot; + } + get [S.$contentEdge]() { + return new html$._ContentCssRect.new(this); + } + get [S.$paddingEdge]() { + return new html$._PaddingCssRect.new(this); + } + get [S.$borderEdge]() { + return new html$._BorderCssRect.new(this); + } + get [S.$marginEdge]() { + return new html$._MarginCssRect.new(this); + } + get [S.$documentOffset]() { + return this[S.$offsetTo](dart.nullCheck(html$.document.documentElement)); + } + [S.$offsetTo](parent) { + if (parent == null) dart.nullFailed(I[147], 13652, 26, "parent"); + return html$.Element._offsetToHelper(this, parent); + } + static _offsetToHelper(current, parent) { + if (parent == null) dart.nullFailed(I[147], 13656, 58, "parent"); + let sameAsParent = current == parent; + let foundAsParent = sameAsParent || parent.tagName === "HTML"; + if (current == null || sameAsParent) { + if (foundAsParent) return new (T$0.PointOfnum()).new(0, 0); + dart.throw(new core.ArgumentError.new("Specified element is not a transitive offset " + "parent of this element.")); + } + let parentOffset = current.offsetParent; + let p = html$.Element._offsetToHelper(parentOffset, parent); + return new (T$0.PointOfnum()).new(dart.notNull(p.x) + dart.notNull(current[S.$offsetLeft]), dart.notNull(p.y) + dart.notNull(current[S.$offsetTop])); + } + [S.$createFragment](html, opts) { + let t232; + let validator = opts && 'validator' in opts ? opts.validator : null; + let treeSanitizer = opts && 'treeSanitizer' in opts ? opts.treeSanitizer : null; + if (treeSanitizer == null) { + if (validator == null) { + if (html$.Element._defaultValidator == null) { + html$.Element._defaultValidator = new html$.NodeValidatorBuilder.common(); + } + validator = html$.Element._defaultValidator; + } + if (html$.Element._defaultSanitizer == null) { + html$.Element._defaultSanitizer = new html$._ValidatingTreeSanitizer.new(dart.nullCheck(validator)); + } else { + dart.nullCheck(html$.Element._defaultSanitizer).validator = dart.nullCheck(validator); + } + treeSanitizer = html$.Element._defaultSanitizer; + } else if (validator != null) { + dart.throw(new core.ArgumentError.new("validator can only be passed if treeSanitizer is null")); + } + if (html$.Element._parseDocument == null) { + html$.Element._parseDocument = dart.nullCheck(html$.document.implementation)[S.$createHtmlDocument](""); + html$.Element._parseRange = dart.nullCheck(html$.Element._parseDocument).createRange(); + let base = html$.BaseElement.as(dart.nullCheck(html$.Element._parseDocument)[S.$createElement]("base")); + base.href = dart.nullCheck(html$.document[S.$baseUri]); + dart.nullCheck(dart.nullCheck(html$.Element._parseDocument)[S.$head])[S.$append](base); + } + if (dart.nullCheck(html$.Element._parseDocument).body == null) { + dart.nullCheck(html$.Element._parseDocument).body = html$.BodyElement.as(dart.nullCheck(html$.Element._parseDocument)[S.$createElement]("body")); + } + let contextElement = null; + if (html$.BodyElement.is(this)) { + contextElement = dart.nullCheck(dart.nullCheck(html$.Element._parseDocument).body); + } else { + contextElement = dart.nullCheck(html$.Element._parseDocument)[S.$createElement](this.tagName); + dart.nullCheck(dart.nullCheck(html$.Element._parseDocument).body)[S.$append](html$.Node.as(contextElement)); + } + let fragment = null; + if (dart.test(html$.Range.supportsCreateContextualFragment) && dart.test(this[S._canBeUsedToCreateContextualFragment])) { + dart.nullCheck(html$.Element._parseRange).selectNodeContents(html$.Node.as(contextElement)); + fragment = dart.nullCheck(html$.Element._parseRange).createContextualFragment((t232 = html, t232 == null ? "null" : t232)); + } else { + dart.dput(contextElement, S._innerHtml, html); + fragment = dart.nullCheck(html$.Element._parseDocument).createDocumentFragment(); + while (dart.dload(contextElement, 'firstChild') != null) { + fragment[S.$append](html$.Node.as(dart.dload(contextElement, 'firstChild'))); + } + } + if (!dart.equals(contextElement, dart.nullCheck(html$.Element._parseDocument).body)) { + dart.dsend(contextElement, 'remove', []); + } + dart.nullCheck(treeSanitizer).sanitizeTree(fragment); + html$.document.adoptNode(fragment); + return fragment; + } + get [S._canBeUsedToCreateContextualFragment]() { + return !dart.test(this[S._cannotBeUsedToCreateContextualFragment]); + } + get [S._cannotBeUsedToCreateContextualFragment]() { + return html$.Element._tagsForWhichCreateContextualFragmentIsNotSupported[$contains](this.tagName); + } + set [S.$innerHtml](html) { + this[S.$setInnerHtml](html); + } + [S.$setInnerHtml](html, opts) { + let validator = opts && 'validator' in opts ? opts.validator : null; + let treeSanitizer = opts && 'treeSanitizer' in opts ? opts.treeSanitizer : null; + this[S.$text] = null; + if (html$._TrustedHtmlTreeSanitizer.is(treeSanitizer)) { + this[S._innerHtml] = html; + } else { + this[S.$append](this[S.$createFragment](html, {validator: validator, treeSanitizer: treeSanitizer})); + } + } + get [S.$innerHtml]() { + return this[S._innerHtml]; + } + get [S.$innerText]() { + return this.innerText; + } + set [S.$innerText](value) { + this.innerText = value; + } + get [S.$on]() { + return new html$.ElementEvents.new(this); + } + static _hasCorruptedAttributes(element) { + if (element == null) dart.nullFailed(I[147], 13865, 47, "element"); + return (function(element) { + if (!(element.attributes instanceof NamedNodeMap)) { + return true; + } + if (element.id == 'lastChild' || element.name == 'lastChild' || element.id == 'previousSibling' || element.name == 'previousSibling' || element.id == 'children' || element.name == 'children') { + return true; + } + var childNodes = element.childNodes; + if (element.lastChild && element.lastChild !== childNodes[childNodes.length - 1]) { + return true; + } + if (element.children) { + if (!(element.children instanceof HTMLCollection || element.children instanceof NodeList)) { + return true; + } + } + var length = 0; + if (element.children) { + length = element.children.length; + } + for (var i = 0; i < length; i++) { + var child = element.children[i]; + if (child.id == 'attributes' || child.name == 'attributes' || child.id == 'lastChild' || child.name == 'lastChild' || child.id == 'previousSibling' || child.name == 'previousSibling' || child.id == 'children' || child.name == 'children') { + return true; + } + } + return false; + })(element); + } + static _hasCorruptedAttributesAdditionalCheck(element) { + if (element == null) dart.nullFailed(I[147], 13917, 62, "element"); + return !(element.attributes instanceof NamedNodeMap); + } + static _safeTagName(element) { + let result = "element tag unavailable"; + try { + if (typeof dart.dload(element, 'tagName') == 'string') { + result = core.String.as(dart.dload(element, 'tagName')); + } + } catch (e$) { + let e = dart.getThrown(e$); + if (core.Object.is(e)) { + } else + throw e$; + } + return result; + } + get [S.$offsetParent]() { + return this.offsetParent; + } + get [S.$offsetHeight]() { + return this.offsetHeight[$round](); + } + get [S.$offsetLeft]() { + return this.offsetLeft[$round](); + } + get [S.$offsetTop]() { + return this.offsetTop[$round](); + } + get [S.$offsetWidth]() { + return this.offsetWidth[$round](); + } + get [S.$scrollHeight]() { + return this.scrollHeight[$round](); + } + get [S.$scrollLeft]() { + return this.scrollLeft[$round](); + } + set [S.$scrollLeft](value) { + if (value == null) dart.nullFailed(I[147], 13944, 22, "value"); + this.scrollLeft = value[$round](); + } + get [S.$scrollTop]() { + return this.scrollTop[$round](); + } + set [S.$scrollTop](value) { + if (value == null) dart.nullFailed(I[147], 13950, 21, "value"); + this.scrollTop = value[$round](); + } + get [S.$scrollWidth]() { + return this.scrollWidth[$round](); + } + get [S.$contentEditable]() { + return this.contentEditable; + } + set [S.$contentEditable](value) { + this.contentEditable = value; + } + get [S.$dir]() { + return this.dir; + } + set [S.$dir](value) { + this.dir = value; + } + get [S.$draggable]() { + return this.draggable; + } + set [S.$draggable](value) { + this.draggable = value; + } + get [S.$hidden]() { + return this.hidden; + } + set [S.$hidden](value) { + this.hidden = value; + } + get [S.$inert]() { + return this.inert; + } + set [S.$inert](value) { + this.inert = value; + } + get [S.$inputMode]() { + return this.inputMode; + } + set [S.$inputMode](value) { + this.inputMode = value; + } + get [S.$isContentEditable]() { + return this.isContentEditable; + } + get [S.$lang]() { + return this.lang; + } + set [S.$lang](value) { + this.lang = value; + } + get [S.$spellcheck]() { + return this.spellcheck; + } + set [S.$spellcheck](value) { + this.spellcheck = value; + } + get [S.$style]() { + return this.style; + } + get [S.$tabIndex]() { + return this.tabIndex; + } + set [S.$tabIndex](value) { + this.tabIndex = value; + } + get [S.$title]() { + return this.title; + } + set [S.$title](value) { + this.title = value; + } + get [S.$translate]() { + return this.translate; + } + set [S.$translate](value) { + this.translate = value; + } + [S.$blur](...args) { + return this.blur.apply(this, args); + } + [S.$click](...args) { + return this.click.apply(this, args); + } + [S.$focus](...args) { + return this.focus.apply(this, args); + } + get [S.$accessibleNode]() { + return this.accessibleNode; + } + get [S.$assignedSlot]() { + return this.assignedSlot; + } + get [S._attributes$1]() { + return this.attributes; + } + get [S.$className]() { + return this.className; + } + set [S.$className](value) { + this.className = value; + } + get [S.$clientHeight]() { + return this.clientHeight; + } + get [S.$clientLeft]() { + return this.clientLeft; + } + get [S.$clientTop]() { + return this.clientTop; + } + get [S.$clientWidth]() { + return this.clientWidth; + } + get [S.$computedName]() { + return this.computedName; + } + get [S.$computedRole]() { + return this.computedRole; + } + get [S.$id]() { + return this.id; + } + set [S.$id](value) { + this.id = value; + } + get [S._innerHtml]() { + return this.innerHTML; + } + set [S._innerHtml](value) { + this.innerHTML = value; + } + get [S._localName]() { + return this.localName; + } + get [S._namespaceUri]() { + return this.namespaceURI; + } + get [S.$outerHtml]() { + return this.outerHTML; + } + get [S._scrollHeight]() { + return this.scrollHeight; + } + get [S._scrollLeft]() { + return this.scrollLeft; + } + set [S._scrollLeft](value) { + this.scrollLeft = value; + } + get [S._scrollTop]() { + return this.scrollTop; + } + set [S._scrollTop](value) { + this.scrollTop = value; + } + get [S._scrollWidth]() { + return this.scrollWidth; + } + get [S.$slot]() { + return this.slot; + } + set [S.$slot](value) { + this.slot = value; + } + get [S.$styleMap]() { + return this.styleMap; + } + get [S.$tagName]() { + return this.tagName; + } + [S.$attachShadow](shadowRootInitDict) { + if (shadowRootInitDict == null) dart.nullFailed(I[147], 14673, 31, "shadowRootInitDict"); + let shadowRootInitDict_1 = html_common.convertDartToNative_Dictionary(shadowRootInitDict); + return this[S._attachShadow_1](shadowRootInitDict_1); + } + [S._attachShadow_1](...args) { + return this.attachShadow.apply(this, args); + } + [S.$closest](...args) { + return this.closest.apply(this, args); + } + [S.$getAnimations](...args) { + return this.getAnimations.apply(this, args); + } + [S._getAttribute](...args) { + return this.getAttribute.apply(this, args); + } + [S._getAttributeNS](...args) { + return this.getAttributeNS.apply(this, args); + } + [S.$getAttributeNames](...args) { + return this.getAttributeNames.apply(this, args); + } + [S.$getBoundingClientRect](...args) { + return this.getBoundingClientRect.apply(this, args); + } + [S._getClientRects](...args) { + return this.getClientRects.apply(this, args); + } + [S.$getDestinationInsertionPoints](...args) { + return this.getDestinationInsertionPoints.apply(this, args); + } + [S.$getElementsByClassName](...args) { + return this.getElementsByClassName.apply(this, args); + } + [S._getElementsByTagName](...args) { + return this.getElementsByTagName.apply(this, args); + } + [S._hasAttribute](...args) { + return this.hasAttribute.apply(this, args); + } + [S._hasAttributeNS](...args) { + return this.hasAttributeNS.apply(this, args); + } + [S.$hasPointerCapture](...args) { + return this.hasPointerCapture.apply(this, args); + } + [S.$releasePointerCapture](...args) { + return this.releasePointerCapture.apply(this, args); + } + [S._removeAttribute](...args) { + return this.removeAttribute.apply(this, args); + } + [S._removeAttributeNS](...args) { + return this.removeAttributeNS.apply(this, args); + } + [S.$requestPointerLock](...args) { + return this.requestPointerLock.apply(this, args); + } + [S.$scroll](options_OR_x = null, y = null) { + if (options_OR_x == null && y == null) { + this[S._scroll_1](); + return; + } + if (core.Map.is(options_OR_x) && y == null) { + let options_1 = html_common.convertDartToNative_Dictionary(options_OR_x); + this[S._scroll_2](options_1); + return; + } + if (y != null && typeof options_OR_x == 'number') { + this[S._scroll_3](options_OR_x, y); + return; + } + dart.throw(new core.ArgumentError.new("Incorrect number or type of arguments")); + } + [S._scroll_1](...args) { + return this.scroll.apply(this, args); + } + [S._scroll_2](...args) { + return this.scroll.apply(this, args); + } + [S._scroll_3](...args) { + return this.scroll.apply(this, args); + } + [S.$scrollBy](options_OR_x = null, y = null) { + if (options_OR_x == null && y == null) { + this[S._scrollBy_1](); + return; + } + if (core.Map.is(options_OR_x) && y == null) { + let options_1 = html_common.convertDartToNative_Dictionary(options_OR_x); + this[S._scrollBy_2](options_1); + return; + } + if (y != null && typeof options_OR_x == 'number') { + this[S._scrollBy_3](options_OR_x, y); + return; + } + dart.throw(new core.ArgumentError.new("Incorrect number or type of arguments")); + } + [S._scrollBy_1](...args) { + return this.scrollBy.apply(this, args); + } + [S._scrollBy_2](...args) { + return this.scrollBy.apply(this, args); + } + [S._scrollBy_3](...args) { + return this.scrollBy.apply(this, args); + } + [S._scrollIntoView](...args) { + return this.scrollIntoView.apply(this, args); + } + [S._scrollIntoViewIfNeeded](...args) { + return this.scrollIntoViewIfNeeded.apply(this, args); + } + [S.$scrollTo](options_OR_x = null, y = null) { + if (options_OR_x == null && y == null) { + this[S._scrollTo_1](); + return; + } + if (core.Map.is(options_OR_x) && y == null) { + let options_1 = html_common.convertDartToNative_Dictionary(options_OR_x); + this[S._scrollTo_2](options_1); + return; + } + if (y != null && typeof options_OR_x == 'number') { + this[S._scrollTo_3](options_OR_x, y); + return; + } + dart.throw(new core.ArgumentError.new("Incorrect number or type of arguments")); + } + [S._scrollTo_1](...args) { + return this.scrollTo.apply(this, args); + } + [S._scrollTo_2](...args) { + return this.scrollTo.apply(this, args); + } + [S._scrollTo_3](...args) { + return this.scrollTo.apply(this, args); + } + [S._setAttribute](...args) { + return this.setAttribute.apply(this, args); + } + [S._setAttributeNS](...args) { + return this.setAttributeNS.apply(this, args); + } + [S.$setPointerCapture](...args) { + return this.setPointerCapture.apply(this, args); + } + [S.$requestFullscreen](...args) { + return this.webkitRequestFullscreen.apply(this, args); + } + [S.$after](...args) { + return this.after.apply(this, args); + } + [S.$before](...args) { + return this.before.apply(this, args); + } + get [S.$nextElementSibling]() { + return this.nextElementSibling; + } + get [S.$previousElementSibling]() { + return this.previousElementSibling; + } + get [S._childElementCount]() { + return this.childElementCount; + } + get [S._firstElementChild]() { + return this.firstElementChild; + } + get [S._lastElementChild]() { + return this.lastElementChild; + } + [S.$querySelector](...args) { + return this.querySelector.apply(this, args); + } + [S._querySelectorAll](...args) { + return this.querySelectorAll.apply(this, args); + } + get [S.$onAbort]() { + return html$.Element.abortEvent.forElement(this); + } + get [S.$onBeforeCopy]() { + return html$.Element.beforeCopyEvent.forElement(this); + } + get [S.$onBeforeCut]() { + return html$.Element.beforeCutEvent.forElement(this); + } + get [S.$onBeforePaste]() { + return html$.Element.beforePasteEvent.forElement(this); + } + get [S.$onBlur]() { + return html$.Element.blurEvent.forElement(this); + } + get [S.$onCanPlay]() { + return html$.Element.canPlayEvent.forElement(this); + } + get [S.$onCanPlayThrough]() { + return html$.Element.canPlayThroughEvent.forElement(this); + } + get [S.$onChange]() { + return html$.Element.changeEvent.forElement(this); + } + get [S.$onClick]() { + return html$.Element.clickEvent.forElement(this); + } + get [S.$onContextMenu]() { + return html$.Element.contextMenuEvent.forElement(this); + } + get [S.$onCopy]() { + return html$.Element.copyEvent.forElement(this); + } + get [S.$onCut]() { + return html$.Element.cutEvent.forElement(this); + } + get [S.$onDoubleClick]() { + return html$.Element.doubleClickEvent.forElement(this); + } + get [S.$onDrag]() { + return html$.Element.dragEvent.forElement(this); + } + get [S.$onDragEnd]() { + return html$.Element.dragEndEvent.forElement(this); + } + get [S.$onDragEnter]() { + return html$.Element.dragEnterEvent.forElement(this); + } + get [S.$onDragLeave]() { + return html$.Element.dragLeaveEvent.forElement(this); + } + get [S.$onDragOver]() { + return html$.Element.dragOverEvent.forElement(this); + } + get [S.$onDragStart]() { + return html$.Element.dragStartEvent.forElement(this); + } + get [S.$onDrop]() { + return html$.Element.dropEvent.forElement(this); + } + get [S.$onDurationChange]() { + return html$.Element.durationChangeEvent.forElement(this); + } + get [S.$onEmptied]() { + return html$.Element.emptiedEvent.forElement(this); + } + get [S.$onEnded]() { + return html$.Element.endedEvent.forElement(this); + } + get [S.$onError]() { + return html$.Element.errorEvent.forElement(this); + } + get [S.$onFocus]() { + return html$.Element.focusEvent.forElement(this); + } + get [S.$onInput]() { + return html$.Element.inputEvent.forElement(this); + } + get [S.$onInvalid]() { + return html$.Element.invalidEvent.forElement(this); + } + get [S.$onKeyDown]() { + return html$.Element.keyDownEvent.forElement(this); + } + get [S.$onKeyPress]() { + return html$.Element.keyPressEvent.forElement(this); + } + get [S.$onKeyUp]() { + return html$.Element.keyUpEvent.forElement(this); + } + get [S.$onLoad]() { + return html$.Element.loadEvent.forElement(this); + } + get [S.$onLoadedData]() { + return html$.Element.loadedDataEvent.forElement(this); + } + get [S.$onLoadedMetadata]() { + return html$.Element.loadedMetadataEvent.forElement(this); + } + get [S.$onMouseDown]() { + return html$.Element.mouseDownEvent.forElement(this); + } + get [S.$onMouseEnter]() { + return html$.Element.mouseEnterEvent.forElement(this); + } + get [S.$onMouseLeave]() { + return html$.Element.mouseLeaveEvent.forElement(this); + } + get [S.$onMouseMove]() { + return html$.Element.mouseMoveEvent.forElement(this); + } + get [S.$onMouseOut]() { + return html$.Element.mouseOutEvent.forElement(this); + } + get [S.$onMouseOver]() { + return html$.Element.mouseOverEvent.forElement(this); + } + get [S.$onMouseUp]() { + return html$.Element.mouseUpEvent.forElement(this); + } + get [S.$onMouseWheel]() { + return html$.Element.mouseWheelEvent.forElement(this); + } + get [S.$onPaste]() { + return html$.Element.pasteEvent.forElement(this); + } + get [S.$onPause]() { + return html$.Element.pauseEvent.forElement(this); + } + get [S.$onPlay]() { + return html$.Element.playEvent.forElement(this); + } + get [S.$onPlaying]() { + return html$.Element.playingEvent.forElement(this); + } + get [S.$onRateChange]() { + return html$.Element.rateChangeEvent.forElement(this); + } + get [S.$onReset]() { + return html$.Element.resetEvent.forElement(this); + } + get [S.$onResize]() { + return html$.Element.resizeEvent.forElement(this); + } + get [S.$onScroll]() { + return html$.Element.scrollEvent.forElement(this); + } + get [S.$onSearch]() { + return html$.Element.searchEvent.forElement(this); + } + get [S.$onSeeked]() { + return html$.Element.seekedEvent.forElement(this); + } + get [S.$onSeeking]() { + return html$.Element.seekingEvent.forElement(this); + } + get [S.$onSelect]() { + return html$.Element.selectEvent.forElement(this); + } + get [S.$onSelectStart]() { + return html$.Element.selectStartEvent.forElement(this); + } + get [S.$onStalled]() { + return html$.Element.stalledEvent.forElement(this); + } + get [S.$onSubmit]() { + return html$.Element.submitEvent.forElement(this); + } + get [S$.$onSuspend]() { + return html$.Element.suspendEvent.forElement(this); + } + get [S$.$onTimeUpdate]() { + return html$.Element.timeUpdateEvent.forElement(this); + } + get [S$.$onTouchCancel]() { + return html$.Element.touchCancelEvent.forElement(this); + } + get [S$.$onTouchEnd]() { + return html$.Element.touchEndEvent.forElement(this); + } + get [S$.$onTouchEnter]() { + return html$.Element.touchEnterEvent.forElement(this); + } + get [S$.$onTouchLeave]() { + return html$.Element.touchLeaveEvent.forElement(this); + } + get [S$.$onTouchMove]() { + return html$.Element.touchMoveEvent.forElement(this); + } + get [S$.$onTouchStart]() { + return html$.Element.touchStartEvent.forElement(this); + } + get [S$.$onTransitionEnd]() { + return html$.Element.transitionEndEvent.forElement(this); + } + get [S$.$onVolumeChange]() { + return html$.Element.volumeChangeEvent.forElement(this); + } + get [S$.$onWaiting]() { + return html$.Element.waitingEvent.forElement(this); + } + get [S$.$onFullscreenChange]() { + return html$.Element.fullscreenChangeEvent.forElement(this); + } + get [S$.$onFullscreenError]() { + return html$.Element.fullscreenErrorEvent.forElement(this); + } + get [S$.$onWheel]() { + return html$.Element.wheelEvent.forElement(this); + } +}; +(html$.Element.created = function() { + html$.Element.__proto__._created.call(this); + ; +}).prototype = html$.Element.prototype; +dart.addTypeTests(html$.Element); +dart.addTypeCaches(html$.Element); +html$.Element[dart.implements] = () => [html$.NonDocumentTypeChildNode, html$.GlobalEventHandlers, html$.ParentNode, html$.ChildNode]; +dart.setMethodSignature(html$.Element, () => ({ + __proto__: dart.getMethods(html$.Element.__proto__), + [S.$getAttribute]: dart.fnType(dart.nullable(core.String), [core.String]), + [S.$getAttributeNS]: dart.fnType(dart.nullable(core.String), [dart.nullable(core.String), core.String]), + [S.$hasAttribute]: dart.fnType(core.bool, [core.String]), + [S.$hasAttributeNS]: dart.fnType(core.bool, [dart.nullable(core.String), core.String]), + [S.$removeAttribute]: dart.fnType(dart.void, [core.String]), + [S.$removeAttributeNS]: dart.fnType(dart.void, [dart.nullable(core.String), core.String]), + [S.$setAttribute]: dart.fnType(dart.void, [core.String, core.String]), + [S.$setAttributeNS]: dart.fnType(dart.void, [dart.nullable(core.String), core.String, core.String]), + [S.$querySelectorAll]: dart.gFnType(T => [html$.ElementList$(T), [core.String]], T => [html$.Element]), + [S._setApplyScroll]: dart.fnType(dart.void, [dart.fnType(dart.void, [html$.ScrollState]), core.String]), + [S.$setApplyScroll]: dart.fnType(async.Future$(html$.ScrollState), [core.String]), + [S._setDistributeScroll]: dart.fnType(dart.void, [dart.fnType(dart.void, [html$.ScrollState]), core.String]), + [S.$setDistributeScroll]: dart.fnType(async.Future$(html$.ScrollState), [core.String]), + [S.$getNamespacedAttributes]: dart.fnType(core.Map$(core.String, core.String), [core.String]), + [S.$getComputedStyle]: dart.fnType(html$.CssStyleDeclaration, [], [dart.nullable(core.String)]), + [S.$appendText]: dart.fnType(dart.void, [core.String]), + [S.$appendHtml]: dart.fnType(dart.void, [core.String], {treeSanitizer: dart.nullable(html$.NodeTreeSanitizer), validator: dart.nullable(html$.NodeValidator)}, {}), + [S.$attached]: dart.fnType(dart.void, []), + [S.$detached]: dart.fnType(dart.void, []), + [S.$enteredView]: dart.fnType(dart.void, []), + [S.$getClientRects]: dart.fnType(core.List$(math.Rectangle$(core.num)), []), + [S.$leftView]: dart.fnType(dart.void, []), + [S.$animate]: dart.fnType(html$.Animation, [core.Iterable$(core.Map$(core.String, dart.dynamic))], [dart.dynamic]), + [S._animate]: dart.fnType(html$.Animation, [core.Object], [dart.dynamic]), + [S.$attributeChanged]: dart.fnType(dart.void, [core.String, core.String, core.String]), + [S.$scrollIntoView]: dart.fnType(dart.void, [], [dart.nullable(html$.ScrollAlignment)]), + [S.$insertAdjacentText]: dart.fnType(dart.void, [core.String, core.String]), + [S._insertAdjacentText]: dart.fnType(dart.void, [core.String, core.String]), + [S.$insertAdjacentHtml]: dart.fnType(dart.void, [core.String, core.String], {treeSanitizer: dart.nullable(html$.NodeTreeSanitizer), validator: dart.nullable(html$.NodeValidator)}, {}), + [S._insertAdjacentHtml]: dart.fnType(dart.void, [core.String, core.String]), + [S.$insertAdjacentElement]: dart.fnType(html$.Element, [core.String, html$.Element]), + [S._insertAdjacentElement]: dart.fnType(dart.void, [core.String, html$.Element]), + [S._insertAdjacentNode]: dart.fnType(dart.void, [core.String, html$.Node]), + [S.$matches]: dart.fnType(core.bool, [core.String]), + [S.$matchesWithAncestors]: dart.fnType(core.bool, [core.String]), + [S.$createShadowRoot]: dart.fnType(html$.ShadowRoot, []), + [S.$offsetTo]: dart.fnType(math.Point$(core.num), [html$.Element]), + [S.$createFragment]: dart.fnType(html$.DocumentFragment, [dart.nullable(core.String)], {treeSanitizer: dart.nullable(html$.NodeTreeSanitizer), validator: dart.nullable(html$.NodeValidator)}, {}), + [S.$setInnerHtml]: dart.fnType(dart.void, [dart.nullable(core.String)], {treeSanitizer: dart.nullable(html$.NodeTreeSanitizer), validator: dart.nullable(html$.NodeValidator)}, {}), + [S.$blur]: dart.fnType(dart.void, []), + [S.$click]: dart.fnType(dart.void, []), + [S.$focus]: dart.fnType(dart.void, []), + [S.$attachShadow]: dart.fnType(html$.ShadowRoot, [core.Map]), + [S._attachShadow_1]: dart.fnType(html$.ShadowRoot, [dart.dynamic]), + [S.$closest]: dart.fnType(dart.nullable(html$.Element), [core.String]), + [S.$getAnimations]: dart.fnType(core.List$(html$.Animation), []), + [S._getAttribute]: dart.fnType(dart.nullable(core.String), [core.String]), + [S._getAttributeNS]: dart.fnType(dart.nullable(core.String), [dart.nullable(core.String), core.String]), + [S.$getAttributeNames]: dart.fnType(core.List$(core.String), []), + [S.$getBoundingClientRect]: dart.fnType(math.Rectangle$(core.num), []), + [S._getClientRects]: dart.fnType(core.List$(math.Rectangle$(core.num)), []), + [S.$getDestinationInsertionPoints]: dart.fnType(core.List$(html$.Node), []), + [S.$getElementsByClassName]: dart.fnType(core.List$(html$.Node), [core.String]), + [S._getElementsByTagName]: dart.fnType(core.List$(html$.Node), [core.String]), + [S._hasAttribute]: dart.fnType(core.bool, [core.String]), + [S._hasAttributeNS]: dart.fnType(core.bool, [dart.nullable(core.String), core.String]), + [S.$hasPointerCapture]: dart.fnType(core.bool, [core.int]), + [S.$releasePointerCapture]: dart.fnType(dart.void, [core.int]), + [S._removeAttribute]: dart.fnType(dart.void, [core.String]), + [S._removeAttributeNS]: dart.fnType(dart.void, [dart.nullable(core.String), core.String]), + [S.$requestPointerLock]: dart.fnType(dart.void, []), + [S.$scroll]: dart.fnType(dart.void, [], [dart.dynamic, dart.nullable(core.num)]), + [S._scroll_1]: dart.fnType(dart.void, []), + [S._scroll_2]: dart.fnType(dart.void, [dart.dynamic]), + [S._scroll_3]: dart.fnType(dart.void, [dart.nullable(core.num), dart.dynamic]), + [S.$scrollBy]: dart.fnType(dart.void, [], [dart.dynamic, dart.nullable(core.num)]), + [S._scrollBy_1]: dart.fnType(dart.void, []), + [S._scrollBy_2]: dart.fnType(dart.void, [dart.dynamic]), + [S._scrollBy_3]: dart.fnType(dart.void, [dart.nullable(core.num), dart.dynamic]), + [S._scrollIntoView]: dart.fnType(dart.void, [], [dart.nullable(core.Object)]), + [S._scrollIntoViewIfNeeded]: dart.fnType(dart.void, [], [dart.nullable(core.bool)]), + [S.$scrollTo]: dart.fnType(dart.void, [], [dart.dynamic, dart.nullable(core.num)]), + [S._scrollTo_1]: dart.fnType(dart.void, []), + [S._scrollTo_2]: dart.fnType(dart.void, [dart.dynamic]), + [S._scrollTo_3]: dart.fnType(dart.void, [dart.nullable(core.num), dart.dynamic]), + [S._setAttribute]: dart.fnType(dart.void, [core.String, core.String]), + [S._setAttributeNS]: dart.fnType(dart.void, [dart.nullable(core.String), core.String, core.String]), + [S.$setPointerCapture]: dart.fnType(dart.void, [core.int]), + [S.$requestFullscreen]: dart.fnType(dart.void, []), + [S.$after]: dart.fnType(dart.void, [core.Object]), + [S.$before]: dart.fnType(dart.void, [core.Object]), + [S.$querySelector]: dart.fnType(dart.nullable(html$.Element), [core.String]), + [S._querySelectorAll]: dart.fnType(core.List$(html$.Node), [core.String]) +})); +dart.setGetterSignature(html$.Element, () => ({ + __proto__: dart.getGetters(html$.Element.__proto__), + [S.$attributes]: core.Map$(core.String, core.String), + [S.$children]: core.List$(html$.Element), + [S._children]: core.List$(html$.Node), + [S.$classes]: html$.CssClassSet, + [S.$dataset]: core.Map$(core.String, core.String), + [S.$client]: math.Rectangle$(core.num), + [S.$offset]: math.Rectangle$(core.num), + [S.$localName]: core.String, + [S.$namespaceUri]: dart.nullable(core.String), + [S.$shadowRoot]: dart.nullable(html$.ShadowRoot), + [S.$contentEdge]: html$.CssRect, + [S.$paddingEdge]: html$.CssRect, + [S.$borderEdge]: html$.CssRect, + [S.$marginEdge]: html$.CssRect, + [S.$documentOffset]: math.Point$(core.num), + [S._canBeUsedToCreateContextualFragment]: core.bool, + [S._cannotBeUsedToCreateContextualFragment]: core.bool, + [S.$innerHtml]: dart.nullable(core.String), + [S.$innerText]: core.String, + [S.$on]: html$.ElementEvents, + [S.$offsetParent]: dart.nullable(html$.Element), + [S.$offsetHeight]: core.int, + [S.$offsetLeft]: core.int, + [S.$offsetTop]: core.int, + [S.$offsetWidth]: core.int, + [S.$scrollHeight]: core.int, + [S.$scrollLeft]: core.int, + [S.$scrollTop]: core.int, + [S.$scrollWidth]: core.int, + [S.$contentEditable]: core.String, + [S.$dir]: dart.nullable(core.String), + [S.$draggable]: core.bool, + [S.$hidden]: core.bool, + [S.$inert]: dart.nullable(core.bool), + [S.$inputMode]: dart.nullable(core.String), + [S.$isContentEditable]: dart.nullable(core.bool), + [S.$lang]: dart.nullable(core.String), + [S.$spellcheck]: dart.nullable(core.bool), + [S.$style]: html$.CssStyleDeclaration, + [S.$tabIndex]: dart.nullable(core.int), + [S.$title]: dart.nullable(core.String), + [S.$translate]: dart.nullable(core.bool), + [S.$accessibleNode]: dart.nullable(html$.AccessibleNode), + [S.$assignedSlot]: dart.nullable(html$.SlotElement), + [S._attributes$1]: dart.nullable(html$._NamedNodeMap), + [S.$className]: core.String, + [S.$clientHeight]: core.int, + [S.$clientLeft]: dart.nullable(core.int), + [S.$clientTop]: dart.nullable(core.int), + [S.$clientWidth]: core.int, + [S.$computedName]: dart.nullable(core.String), + [S.$computedRole]: dart.nullable(core.String), + [S.$id]: core.String, + [S._innerHtml]: dart.nullable(core.String), + [S._localName]: dart.nullable(core.String), + [S._namespaceUri]: dart.nullable(core.String), + [S.$outerHtml]: dart.nullable(core.String), + [S._scrollHeight]: dart.nullable(core.int), + [S._scrollLeft]: core.num, + [S._scrollTop]: core.num, + [S._scrollWidth]: dart.nullable(core.int), + [S.$slot]: dart.nullable(core.String), + [S.$styleMap]: dart.nullable(html$.StylePropertyMap), + [S.$tagName]: core.String, + [S.$nextElementSibling]: dart.nullable(html$.Element), + [S.$previousElementSibling]: dart.nullable(html$.Element), + [S._childElementCount]: core.int, + [S._firstElementChild]: dart.nullable(html$.Element), + [S._lastElementChild]: dart.nullable(html$.Element), + [S.$onAbort]: html$.ElementStream$(html$.Event), + [S.$onBeforeCopy]: html$.ElementStream$(html$.Event), + [S.$onBeforeCut]: html$.ElementStream$(html$.Event), + [S.$onBeforePaste]: html$.ElementStream$(html$.Event), + [S.$onBlur]: html$.ElementStream$(html$.Event), + [S.$onCanPlay]: html$.ElementStream$(html$.Event), + [S.$onCanPlayThrough]: html$.ElementStream$(html$.Event), + [S.$onChange]: html$.ElementStream$(html$.Event), + [S.$onClick]: html$.ElementStream$(html$.MouseEvent), + [S.$onContextMenu]: html$.ElementStream$(html$.MouseEvent), + [S.$onCopy]: html$.ElementStream$(html$.ClipboardEvent), + [S.$onCut]: html$.ElementStream$(html$.ClipboardEvent), + [S.$onDoubleClick]: html$.ElementStream$(html$.Event), + [S.$onDrag]: html$.ElementStream$(html$.MouseEvent), + [S.$onDragEnd]: html$.ElementStream$(html$.MouseEvent), + [S.$onDragEnter]: html$.ElementStream$(html$.MouseEvent), + [S.$onDragLeave]: html$.ElementStream$(html$.MouseEvent), + [S.$onDragOver]: html$.ElementStream$(html$.MouseEvent), + [S.$onDragStart]: html$.ElementStream$(html$.MouseEvent), + [S.$onDrop]: html$.ElementStream$(html$.MouseEvent), + [S.$onDurationChange]: html$.ElementStream$(html$.Event), + [S.$onEmptied]: html$.ElementStream$(html$.Event), + [S.$onEnded]: html$.ElementStream$(html$.Event), + [S.$onError]: html$.ElementStream$(html$.Event), + [S.$onFocus]: html$.ElementStream$(html$.Event), + [S.$onInput]: html$.ElementStream$(html$.Event), + [S.$onInvalid]: html$.ElementStream$(html$.Event), + [S.$onKeyDown]: html$.ElementStream$(html$.KeyboardEvent), + [S.$onKeyPress]: html$.ElementStream$(html$.KeyboardEvent), + [S.$onKeyUp]: html$.ElementStream$(html$.KeyboardEvent), + [S.$onLoad]: html$.ElementStream$(html$.Event), + [S.$onLoadedData]: html$.ElementStream$(html$.Event), + [S.$onLoadedMetadata]: html$.ElementStream$(html$.Event), + [S.$onMouseDown]: html$.ElementStream$(html$.MouseEvent), + [S.$onMouseEnter]: html$.ElementStream$(html$.MouseEvent), + [S.$onMouseLeave]: html$.ElementStream$(html$.MouseEvent), + [S.$onMouseMove]: html$.ElementStream$(html$.MouseEvent), + [S.$onMouseOut]: html$.ElementStream$(html$.MouseEvent), + [S.$onMouseOver]: html$.ElementStream$(html$.MouseEvent), + [S.$onMouseUp]: html$.ElementStream$(html$.MouseEvent), + [S.$onMouseWheel]: html$.ElementStream$(html$.WheelEvent), + [S.$onPaste]: html$.ElementStream$(html$.ClipboardEvent), + [S.$onPause]: html$.ElementStream$(html$.Event), + [S.$onPlay]: html$.ElementStream$(html$.Event), + [S.$onPlaying]: html$.ElementStream$(html$.Event), + [S.$onRateChange]: html$.ElementStream$(html$.Event), + [S.$onReset]: html$.ElementStream$(html$.Event), + [S.$onResize]: html$.ElementStream$(html$.Event), + [S.$onScroll]: html$.ElementStream$(html$.Event), + [S.$onSearch]: html$.ElementStream$(html$.Event), + [S.$onSeeked]: html$.ElementStream$(html$.Event), + [S.$onSeeking]: html$.ElementStream$(html$.Event), + [S.$onSelect]: html$.ElementStream$(html$.Event), + [S.$onSelectStart]: html$.ElementStream$(html$.Event), + [S.$onStalled]: html$.ElementStream$(html$.Event), + [S.$onSubmit]: html$.ElementStream$(html$.Event), + [S$.$onSuspend]: html$.ElementStream$(html$.Event), + [S$.$onTimeUpdate]: html$.ElementStream$(html$.Event), + [S$.$onTouchCancel]: html$.ElementStream$(html$.TouchEvent), + [S$.$onTouchEnd]: html$.ElementStream$(html$.TouchEvent), + [S$.$onTouchEnter]: html$.ElementStream$(html$.TouchEvent), + [S$.$onTouchLeave]: html$.ElementStream$(html$.TouchEvent), + [S$.$onTouchMove]: html$.ElementStream$(html$.TouchEvent), + [S$.$onTouchStart]: html$.ElementStream$(html$.TouchEvent), + [S$.$onTransitionEnd]: html$.ElementStream$(html$.TransitionEvent), + [S$.$onVolumeChange]: html$.ElementStream$(html$.Event), + [S$.$onWaiting]: html$.ElementStream$(html$.Event), + [S$.$onFullscreenChange]: html$.ElementStream$(html$.Event), + [S$.$onFullscreenError]: html$.ElementStream$(html$.Event), + [S$.$onWheel]: html$.ElementStream$(html$.WheelEvent) +})); +dart.setSetterSignature(html$.Element, () => ({ + __proto__: dart.getSetters(html$.Element.__proto__), + [S.$attributes]: core.Map$(core.String, core.String), + [S.$children]: core.List$(html$.Element), + [S.$classes]: core.Iterable$(core.String), + [S.$dataset]: core.Map$(core.String, core.String), + [S.$innerHtml]: dart.nullable(core.String), + [S.$innerText]: core.String, + [S.$scrollLeft]: core.int, + [S.$scrollTop]: core.int, + [S.$contentEditable]: core.String, + [S.$dir]: dart.nullable(core.String), + [S.$draggable]: core.bool, + [S.$hidden]: core.bool, + [S.$inert]: dart.nullable(core.bool), + [S.$inputMode]: dart.nullable(core.String), + [S.$lang]: dart.nullable(core.String), + [S.$spellcheck]: dart.nullable(core.bool), + [S.$tabIndex]: dart.nullable(core.int), + [S.$title]: dart.nullable(core.String), + [S.$translate]: dart.nullable(core.bool), + [S.$className]: core.String, + [S.$id]: core.String, + [S._innerHtml]: dart.nullable(core.String), + [S._scrollLeft]: core.num, + [S._scrollTop]: core.num, + [S.$slot]: dart.nullable(core.String) +})); +dart.setLibraryUri(html$.Element, I[148]); +dart.defineLazy(html$.Element, { + /*html$.Element.mouseWheelEvent*/get mouseWheelEvent() { + return C[225] || CT.C225; + }, + /*html$.Element.transitionEndEvent*/get transitionEndEvent() { + return C[227] || CT.C227; + }, + /*html$.Element._parseDocument*/get _parseDocument() { + return null; + }, + set _parseDocument(_) {}, + /*html$.Element._parseRange*/get _parseRange() { + return null; + }, + set _parseRange(_) {}, + /*html$.Element._defaultValidator*/get _defaultValidator() { + return null; + }, + set _defaultValidator(_) {}, + /*html$.Element._defaultSanitizer*/get _defaultSanitizer() { + return null; + }, + set _defaultSanitizer(_) {}, + /*html$.Element._tagsForWhichCreateContextualFragmentIsNotSupported*/get _tagsForWhichCreateContextualFragmentIsNotSupported() { + return C[229] || CT.C229; + }, + /*html$.Element.abortEvent*/get abortEvent() { + return C[214] || CT.C214; + }, + /*html$.Element.beforeCopyEvent*/get beforeCopyEvent() { + return C[230] || CT.C230; + }, + /*html$.Element.beforeCutEvent*/get beforeCutEvent() { + return C[231] || CT.C231; + }, + /*html$.Element.beforePasteEvent*/get beforePasteEvent() { + return C[232] || CT.C232; + }, + /*html$.Element.blurEvent*/get blurEvent() { + return C[233] || CT.C233; + }, + /*html$.Element.canPlayEvent*/get canPlayEvent() { + return C[234] || CT.C234; + }, + /*html$.Element.canPlayThroughEvent*/get canPlayThroughEvent() { + return C[235] || CT.C235; + }, + /*html$.Element.changeEvent*/get changeEvent() { + return C[236] || CT.C236; + }, + /*html$.Element.clickEvent*/get clickEvent() { + return C[237] || CT.C237; + }, + /*html$.Element.contextMenuEvent*/get contextMenuEvent() { + return C[238] || CT.C238; + }, + /*html$.Element.copyEvent*/get copyEvent() { + return C[239] || CT.C239; + }, + /*html$.Element.cutEvent*/get cutEvent() { + return C[240] || CT.C240; + }, + /*html$.Element.doubleClickEvent*/get doubleClickEvent() { + return C[241] || CT.C241; + }, + /*html$.Element.dragEvent*/get dragEvent() { + return C[242] || CT.C242; + }, + /*html$.Element.dragEndEvent*/get dragEndEvent() { + return C[243] || CT.C243; + }, + /*html$.Element.dragEnterEvent*/get dragEnterEvent() { + return C[244] || CT.C244; + }, + /*html$.Element.dragLeaveEvent*/get dragLeaveEvent() { + return C[245] || CT.C245; + }, + /*html$.Element.dragOverEvent*/get dragOverEvent() { + return C[246] || CT.C246; + }, + /*html$.Element.dragStartEvent*/get dragStartEvent() { + return C[247] || CT.C247; + }, + /*html$.Element.dropEvent*/get dropEvent() { + return C[248] || CT.C248; + }, + /*html$.Element.durationChangeEvent*/get durationChangeEvent() { + return C[249] || CT.C249; + }, + /*html$.Element.emptiedEvent*/get emptiedEvent() { + return C[250] || CT.C250; + }, + /*html$.Element.endedEvent*/get endedEvent() { + return C[251] || CT.C251; + }, + /*html$.Element.errorEvent*/get errorEvent() { + return C[216] || CT.C216; + }, + /*html$.Element.focusEvent*/get focusEvent() { + return C[252] || CT.C252; + }, + /*html$.Element.inputEvent*/get inputEvent() { + return C[253] || CT.C253; + }, + /*html$.Element.invalidEvent*/get invalidEvent() { + return C[254] || CT.C254; + }, + /*html$.Element.keyDownEvent*/get keyDownEvent() { + return C[255] || CT.C255; + }, + /*html$.Element.keyPressEvent*/get keyPressEvent() { + return C[256] || CT.C256; + }, + /*html$.Element.keyUpEvent*/get keyUpEvent() { + return C[257] || CT.C257; + }, + /*html$.Element.loadEvent*/get loadEvent() { + return C[258] || CT.C258; + }, + /*html$.Element.loadedDataEvent*/get loadedDataEvent() { + return C[259] || CT.C259; + }, + /*html$.Element.loadedMetadataEvent*/get loadedMetadataEvent() { + return C[260] || CT.C260; + }, + /*html$.Element.mouseDownEvent*/get mouseDownEvent() { + return C[261] || CT.C261; + }, + /*html$.Element.mouseEnterEvent*/get mouseEnterEvent() { + return C[262] || CT.C262; + }, + /*html$.Element.mouseLeaveEvent*/get mouseLeaveEvent() { + return C[263] || CT.C263; + }, + /*html$.Element.mouseMoveEvent*/get mouseMoveEvent() { + return C[264] || CT.C264; + }, + /*html$.Element.mouseOutEvent*/get mouseOutEvent() { + return C[265] || CT.C265; + }, + /*html$.Element.mouseOverEvent*/get mouseOverEvent() { + return C[266] || CT.C266; + }, + /*html$.Element.mouseUpEvent*/get mouseUpEvent() { + return C[267] || CT.C267; + }, + /*html$.Element.pasteEvent*/get pasteEvent() { + return C[268] || CT.C268; + }, + /*html$.Element.pauseEvent*/get pauseEvent() { + return C[269] || CT.C269; + }, + /*html$.Element.playEvent*/get playEvent() { + return C[270] || CT.C270; + }, + /*html$.Element.playingEvent*/get playingEvent() { + return C[271] || CT.C271; + }, + /*html$.Element.rateChangeEvent*/get rateChangeEvent() { + return C[272] || CT.C272; + }, + /*html$.Element.resetEvent*/get resetEvent() { + return C[273] || CT.C273; + }, + /*html$.Element.resizeEvent*/get resizeEvent() { + return C[274] || CT.C274; + }, + /*html$.Element.scrollEvent*/get scrollEvent() { + return C[275] || CT.C275; + }, + /*html$.Element.searchEvent*/get searchEvent() { + return C[276] || CT.C276; + }, + /*html$.Element.seekedEvent*/get seekedEvent() { + return C[277] || CT.C277; + }, + /*html$.Element.seekingEvent*/get seekingEvent() { + return C[278] || CT.C278; + }, + /*html$.Element.selectEvent*/get selectEvent() { + return C[279] || CT.C279; + }, + /*html$.Element.selectStartEvent*/get selectStartEvent() { + return C[280] || CT.C280; + }, + /*html$.Element.stalledEvent*/get stalledEvent() { + return C[281] || CT.C281; + }, + /*html$.Element.submitEvent*/get submitEvent() { + return C[282] || CT.C282; + }, + /*html$.Element.suspendEvent*/get suspendEvent() { + return C[283] || CT.C283; + }, + /*html$.Element.timeUpdateEvent*/get timeUpdateEvent() { + return C[284] || CT.C284; + }, + /*html$.Element.touchCancelEvent*/get touchCancelEvent() { + return C[285] || CT.C285; + }, + /*html$.Element.touchEndEvent*/get touchEndEvent() { + return C[286] || CT.C286; + }, + /*html$.Element.touchEnterEvent*/get touchEnterEvent() { + return C[287] || CT.C287; + }, + /*html$.Element.touchLeaveEvent*/get touchLeaveEvent() { + return C[288] || CT.C288; + }, + /*html$.Element.touchMoveEvent*/get touchMoveEvent() { + return C[289] || CT.C289; + }, + /*html$.Element.touchStartEvent*/get touchStartEvent() { + return C[290] || CT.C290; + }, + /*html$.Element.volumeChangeEvent*/get volumeChangeEvent() { + return C[291] || CT.C291; + }, + /*html$.Element.waitingEvent*/get waitingEvent() { + return C[292] || CT.C292; + }, + /*html$.Element.fullscreenChangeEvent*/get fullscreenChangeEvent() { + return C[293] || CT.C293; + }, + /*html$.Element.fullscreenErrorEvent*/get fullscreenErrorEvent() { + return C[294] || CT.C294; + }, + /*html$.Element.wheelEvent*/get wheelEvent() { + return C[295] || CT.C295; + } +}, false); +dart.registerExtension("Element", html$.Element); +html$.HtmlElement = class HtmlElement extends html$.Element { + static new() { + dart.throw(new core.UnsupportedError.new("Not supported")); + } + get [S.$nonce]() { + return this.nonce; + } + set [S.$nonce](value) { + this.nonce = value; + } +}; +(html$.HtmlElement.created = function() { + html$.HtmlElement.__proto__.created.call(this); + ; +}).prototype = html$.HtmlElement.prototype; +dart.addTypeTests(html$.HtmlElement); +dart.addTypeCaches(html$.HtmlElement); +html$.HtmlElement[dart.implements] = () => [html$.NoncedElement]; +dart.setGetterSignature(html$.HtmlElement, () => ({ + __proto__: dart.getGetters(html$.HtmlElement.__proto__), + [S.$nonce]: dart.nullable(core.String) +})); +dart.setSetterSignature(html$.HtmlElement, () => ({ + __proto__: dart.getSetters(html$.HtmlElement.__proto__), + [S.$nonce]: dart.nullable(core.String) +})); +dart.setLibraryUri(html$.HtmlElement, I[148]); +dart.registerExtension("HTMLElement", html$.HtmlElement); +html$.ExtendableEvent = class ExtendableEvent$ extends html$.Event { + static new(type, eventInitDict = null) { + if (type == null) dart.nullFailed(I[147], 15843, 34, "type"); + if (eventInitDict != null) { + let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); + return html$.ExtendableEvent._create_1(type, eventInitDict_1); + } + return html$.ExtendableEvent._create_2(type); + } + static _create_1(type, eventInitDict) { + return new ExtendableEvent(type, eventInitDict); + } + static _create_2(type) { + return new ExtendableEvent(type); + } + [S$.$waitUntil](...args) { + return this.waitUntil.apply(this, args); + } +}; +dart.addTypeTests(html$.ExtendableEvent); +dart.addTypeCaches(html$.ExtendableEvent); +dart.setMethodSignature(html$.ExtendableEvent, () => ({ + __proto__: dart.getMethods(html$.ExtendableEvent.__proto__), + [S$.$waitUntil]: dart.fnType(dart.void, [async.Future]) +})); +dart.setLibraryUri(html$.ExtendableEvent, I[148]); +dart.registerExtension("ExtendableEvent", html$.ExtendableEvent); +html$.AbortPaymentEvent = class AbortPaymentEvent$ extends html$.ExtendableEvent { + static new(type, eventInitDict) { + if (type == null) dart.nullFailed(I[147], 141, 36, "type"); + if (eventInitDict == null) dart.nullFailed(I[147], 141, 46, "eventInitDict"); + let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); + return html$.AbortPaymentEvent._create_1(type, eventInitDict_1); + } + static _create_1(type, eventInitDict) { + return new AbortPaymentEvent(type, eventInitDict); + } + [S$.$respondWith](...args) { + return this.respondWith.apply(this, args); + } +}; +dart.addTypeTests(html$.AbortPaymentEvent); +dart.addTypeCaches(html$.AbortPaymentEvent); +dart.setMethodSignature(html$.AbortPaymentEvent, () => ({ + __proto__: dart.getMethods(html$.AbortPaymentEvent.__proto__), + [S$.$respondWith]: dart.fnType(dart.void, [async.Future]) +})); +dart.setLibraryUri(html$.AbortPaymentEvent, I[148]); +dart.registerExtension("AbortPaymentEvent", html$.AbortPaymentEvent); +html$.Sensor = class Sensor extends html$.EventTarget { + get [S$.$activated]() { + return this.activated; + } + get [S$.$hasReading]() { + return this.hasReading; + } + get [S$.$timestamp]() { + return this.timestamp; + } + [S$.$start](...args) { + return this.start.apply(this, args); + } + [S$.$stop](...args) { + return this.stop.apply(this, args); + } + get [S.$onError]() { + return html$.Sensor.errorEvent.forTarget(this); + } +}; +dart.addTypeTests(html$.Sensor); +dart.addTypeCaches(html$.Sensor); +dart.setMethodSignature(html$.Sensor, () => ({ + __proto__: dart.getMethods(html$.Sensor.__proto__), + [S$.$start]: dart.fnType(dart.void, []), + [S$.$stop]: dart.fnType(dart.void, []) +})); +dart.setGetterSignature(html$.Sensor, () => ({ + __proto__: dart.getGetters(html$.Sensor.__proto__), + [S$.$activated]: dart.nullable(core.bool), + [S$.$hasReading]: dart.nullable(core.bool), + [S$.$timestamp]: dart.nullable(core.num), + [S.$onError]: async.Stream$(html$.Event) +})); +dart.setLibraryUri(html$.Sensor, I[148]); +dart.defineLazy(html$.Sensor, { + /*html$.Sensor.errorEvent*/get errorEvent() { + return C[216] || CT.C216; + } +}, false); +dart.registerExtension("Sensor", html$.Sensor); +html$.OrientationSensor = class OrientationSensor extends html$.Sensor { + get [S$.$quaternion]() { + return this.quaternion; + } + [S$.$populateMatrix](...args) { + return this.populateMatrix.apply(this, args); + } +}; +dart.addTypeTests(html$.OrientationSensor); +dart.addTypeCaches(html$.OrientationSensor); +dart.setMethodSignature(html$.OrientationSensor, () => ({ + __proto__: dart.getMethods(html$.OrientationSensor.__proto__), + [S$.$populateMatrix]: dart.fnType(dart.void, [core.Object]) +})); +dart.setGetterSignature(html$.OrientationSensor, () => ({ + __proto__: dart.getGetters(html$.OrientationSensor.__proto__), + [S$.$quaternion]: dart.nullable(core.List$(core.num)) +})); +dart.setLibraryUri(html$.OrientationSensor, I[148]); +dart.registerExtension("OrientationSensor", html$.OrientationSensor); +html$.AbsoluteOrientationSensor = class AbsoluteOrientationSensor$ extends html$.OrientationSensor { + static new(sensorOptions = null) { + if (sensorOptions != null) { + let sensorOptions_1 = html_common.convertDartToNative_Dictionary(sensorOptions); + return html$.AbsoluteOrientationSensor._create_1(sensorOptions_1); + } + return html$.AbsoluteOrientationSensor._create_2(); + } + static _create_1(sensorOptions) { + return new AbsoluteOrientationSensor(sensorOptions); + } + static _create_2() { + return new AbsoluteOrientationSensor(); + } +}; +dart.addTypeTests(html$.AbsoluteOrientationSensor); +dart.addTypeCaches(html$.AbsoluteOrientationSensor); +dart.setLibraryUri(html$.AbsoluteOrientationSensor, I[148]); +dart.registerExtension("AbsoluteOrientationSensor", html$.AbsoluteOrientationSensor); +html$.AbstractWorker = class AbstractWorker extends _interceptors.Interceptor { + get onError() { + return html$.AbstractWorker.errorEvent.forTarget(this); + } +}; +dart.addTypeTests(html$.AbstractWorker); +dart.addTypeCaches(html$.AbstractWorker); +html$.AbstractWorker[dart.implements] = () => [html$.EventTarget]; +dart.setGetterSignature(html$.AbstractWorker, () => ({ + __proto__: dart.getGetters(html$.AbstractWorker.__proto__), + onError: async.Stream$(html$.Event), + [S.$onError]: async.Stream$(html$.Event) +})); +dart.setLibraryUri(html$.AbstractWorker, I[148]); +dart.defineExtensionAccessors(html$.AbstractWorker, ['onError']); +dart.defineLazy(html$.AbstractWorker, { + /*html$.AbstractWorker.errorEvent*/get errorEvent() { + return C[216] || CT.C216; + } +}, false); +html$.Accelerometer = class Accelerometer$ extends html$.Sensor { + static new(sensorOptions = null) { + if (sensorOptions != null) { + let sensorOptions_1 = html_common.convertDartToNative_Dictionary(sensorOptions); + return html$.Accelerometer._create_1(sensorOptions_1); + } + return html$.Accelerometer._create_2(); + } + static _create_1(sensorOptions) { + return new Accelerometer(sensorOptions); + } + static _create_2() { + return new Accelerometer(); + } + get [S$.$x]() { + return this.x; + } + get [S$.$y]() { + return this.y; + } + get [S$.$z]() { + return this.z; + } +}; +dart.addTypeTests(html$.Accelerometer); +dart.addTypeCaches(html$.Accelerometer); +dart.setGetterSignature(html$.Accelerometer, () => ({ + __proto__: dart.getGetters(html$.Accelerometer.__proto__), + [S$.$x]: dart.nullable(core.num), + [S$.$y]: dart.nullable(core.num), + [S$.$z]: dart.nullable(core.num) +})); +dart.setLibraryUri(html$.Accelerometer, I[148]); +dart.registerExtension("Accelerometer", html$.Accelerometer); +html$.AccessibleNode = class AccessibleNode$ extends html$.EventTarget { + static new() { + return html$.AccessibleNode._create_1(); + } + static _create_1() { + return new AccessibleNode(); + } + get [S$.$activeDescendant]() { + return this.activeDescendant; + } + set [S$.$activeDescendant](value) { + this.activeDescendant = value; + } + get [S$.$atomic]() { + return this.atomic; + } + set [S$.$atomic](value) { + this.atomic = value; + } + get [S$.$autocomplete]() { + return this.autocomplete; + } + set [S$.$autocomplete](value) { + this.autocomplete = value; + } + get [S$.$busy]() { + return this.busy; + } + set [S$.$busy](value) { + this.busy = value; + } + get [S$.$checked]() { + return this.checked; + } + set [S$.$checked](value) { + this.checked = value; + } + get [S$.$colCount]() { + return this.colCount; + } + set [S$.$colCount](value) { + this.colCount = value; + } + get [S$.$colIndex]() { + return this.colIndex; + } + set [S$.$colIndex](value) { + this.colIndex = value; + } + get [S$.$colSpan]() { + return this.colSpan; + } + set [S$.$colSpan](value) { + this.colSpan = value; + } + get [S$.$controls]() { + return this.controls; + } + set [S$.$controls](value) { + this.controls = value; + } + get [S$.$current]() { + return this.current; + } + set [S$.$current](value) { + this.current = value; + } + get [S$.$describedBy]() { + return this.describedBy; + } + set [S$.$describedBy](value) { + this.describedBy = value; + } + get [S$.$details]() { + return this.details; + } + set [S$.$details](value) { + this.details = value; + } + get [S$.$disabled]() { + return this.disabled; + } + set [S$.$disabled](value) { + this.disabled = value; + } + get [S$.$errorMessage]() { + return this.errorMessage; + } + set [S$.$errorMessage](value) { + this.errorMessage = value; + } + get [S$.$expanded]() { + return this.expanded; + } + set [S$.$expanded](value) { + this.expanded = value; + } + get [S$.$flowTo]() { + return this.flowTo; + } + set [S$.$flowTo](value) { + this.flowTo = value; + } + get [S$.$hasPopUp]() { + return this.hasPopUp; + } + set [S$.$hasPopUp](value) { + this.hasPopUp = value; + } + get [S.$hidden]() { + return this.hidden; + } + set [S.$hidden](value) { + this.hidden = value; + } + get [S$.$invalid]() { + return this.invalid; + } + set [S$.$invalid](value) { + this.invalid = value; + } + get [S$.$keyShortcuts]() { + return this.keyShortcuts; + } + set [S$.$keyShortcuts](value) { + this.keyShortcuts = value; + } + get [S$.$label]() { + return this.label; + } + set [S$.$label](value) { + this.label = value; + } + get [S$.$labeledBy]() { + return this.labeledBy; + } + set [S$.$labeledBy](value) { + this.labeledBy = value; + } + get [S$.$level]() { + return this.level; + } + set [S$.$level](value) { + this.level = value; + } + get [S$.$live]() { + return this.live; + } + set [S$.$live](value) { + this.live = value; + } + get [S$.$modal]() { + return this.modal; + } + set [S$.$modal](value) { + this.modal = value; + } + get [S$.$multiline]() { + return this.multiline; + } + set [S$.$multiline](value) { + this.multiline = value; + } + get [S$.$multiselectable]() { + return this.multiselectable; + } + set [S$.$multiselectable](value) { + this.multiselectable = value; + } + get [S$.$orientation]() { + return this.orientation; + } + set [S$.$orientation](value) { + this.orientation = value; + } + get [S$.$owns]() { + return this.owns; + } + set [S$.$owns](value) { + this.owns = value; + } + get [S$.$placeholder]() { + return this.placeholder; + } + set [S$.$placeholder](value) { + this.placeholder = value; + } + get [S$.$posInSet]() { + return this.posInSet; + } + set [S$.$posInSet](value) { + this.posInSet = value; + } + get [S$.$pressed]() { + return this.pressed; + } + set [S$.$pressed](value) { + this.pressed = value; + } + get [S$.$readOnly]() { + return this.readOnly; + } + set [S$.$readOnly](value) { + this.readOnly = value; + } + get [S$.$relevant]() { + return this.relevant; + } + set [S$.$relevant](value) { + this.relevant = value; + } + get [S$.$required]() { + return this.required; + } + set [S$.$required](value) { + this.required = value; + } + get [S$.$role]() { + return this.role; + } + set [S$.$role](value) { + this.role = value; + } + get [S$.$roleDescription]() { + return this.roleDescription; + } + set [S$.$roleDescription](value) { + this.roleDescription = value; + } + get [S$.$rowCount]() { + return this.rowCount; + } + set [S$.$rowCount](value) { + this.rowCount = value; + } + get [S$.$rowIndex]() { + return this.rowIndex; + } + set [S$.$rowIndex](value) { + this.rowIndex = value; + } + get [S$.$rowSpan]() { + return this.rowSpan; + } + set [S$.$rowSpan](value) { + this.rowSpan = value; + } + get [S$.$selected]() { + return this.selected; + } + set [S$.$selected](value) { + this.selected = value; + } + get [S$.$setSize]() { + return this.setSize; + } + set [S$.$setSize](value) { + this.setSize = value; + } + get [$sort]() { + return this.sort; + } + set [$sort](value) { + this.sort = value; + } + get [S$.$valueMax]() { + return this.valueMax; + } + set [S$.$valueMax](value) { + this.valueMax = value; + } + get [S$.$valueMin]() { + return this.valueMin; + } + set [S$.$valueMin](value) { + this.valueMin = value; + } + get [S$.$valueNow]() { + return this.valueNow; + } + set [S$.$valueNow](value) { + this.valueNow = value; + } + get [S$.$valueText]() { + return this.valueText; + } + set [S$.$valueText](value) { + this.valueText = value; + } + [S$.$appendChild](...args) { + return this.appendChild.apply(this, args); + } + get [S$.$onAccessibleClick]() { + return html$.AccessibleNode.accessibleClickEvent.forTarget(this); + } + get [S$.$onAccessibleContextMenu]() { + return html$.AccessibleNode.accessibleContextMenuEvent.forTarget(this); + } + get [S$.$onAccessibleDecrement]() { + return html$.AccessibleNode.accessibleDecrementEvent.forTarget(this); + } + get [S$.$onAccessibleFocus]() { + return html$.AccessibleNode.accessibleFocusEvent.forTarget(this); + } + get [S$.$onAccessibleIncrement]() { + return html$.AccessibleNode.accessibleIncrementEvent.forTarget(this); + } + get [S$.$onAccessibleScrollIntoView]() { + return html$.AccessibleNode.accessibleScrollIntoViewEvent.forTarget(this); + } +}; +dart.addTypeTests(html$.AccessibleNode); +dart.addTypeCaches(html$.AccessibleNode); +dart.setMethodSignature(html$.AccessibleNode, () => ({ + __proto__: dart.getMethods(html$.AccessibleNode.__proto__), + [S$.$appendChild]: dart.fnType(dart.void, [html$.AccessibleNode]) +})); +dart.setGetterSignature(html$.AccessibleNode, () => ({ + __proto__: dart.getGetters(html$.AccessibleNode.__proto__), + [S$.$activeDescendant]: dart.nullable(html$.AccessibleNode), + [S$.$atomic]: dart.nullable(core.bool), + [S$.$autocomplete]: dart.nullable(core.String), + [S$.$busy]: dart.nullable(core.bool), + [S$.$checked]: dart.nullable(core.String), + [S$.$colCount]: dart.nullable(core.int), + [S$.$colIndex]: dart.nullable(core.int), + [S$.$colSpan]: dart.nullable(core.int), + [S$.$controls]: dart.nullable(html$.AccessibleNodeList), + [S$.$current]: dart.nullable(core.String), + [S$.$describedBy]: dart.nullable(html$.AccessibleNodeList), + [S$.$details]: dart.nullable(html$.AccessibleNode), + [S$.$disabled]: dart.nullable(core.bool), + [S$.$errorMessage]: dart.nullable(html$.AccessibleNode), + [S$.$expanded]: dart.nullable(core.bool), + [S$.$flowTo]: dart.nullable(html$.AccessibleNodeList), + [S$.$hasPopUp]: dart.nullable(core.String), + [S.$hidden]: dart.nullable(core.bool), + [S$.$invalid]: dart.nullable(core.String), + [S$.$keyShortcuts]: dart.nullable(core.String), + [S$.$label]: dart.nullable(core.String), + [S$.$labeledBy]: dart.nullable(html$.AccessibleNodeList), + [S$.$level]: dart.nullable(core.int), + [S$.$live]: dart.nullable(core.String), + [S$.$modal]: dart.nullable(core.bool), + [S$.$multiline]: dart.nullable(core.bool), + [S$.$multiselectable]: dart.nullable(core.bool), + [S$.$orientation]: dart.nullable(core.String), + [S$.$owns]: dart.nullable(html$.AccessibleNodeList), + [S$.$placeholder]: dart.nullable(core.String), + [S$.$posInSet]: dart.nullable(core.int), + [S$.$pressed]: dart.nullable(core.String), + [S$.$readOnly]: dart.nullable(core.bool), + [S$.$relevant]: dart.nullable(core.String), + [S$.$required]: dart.nullable(core.bool), + [S$.$role]: dart.nullable(core.String), + [S$.$roleDescription]: dart.nullable(core.String), + [S$.$rowCount]: dart.nullable(core.int), + [S$.$rowIndex]: dart.nullable(core.int), + [S$.$rowSpan]: dart.nullable(core.int), + [S$.$selected]: dart.nullable(core.bool), + [S$.$setSize]: dart.nullable(core.int), + [$sort]: dart.nullable(core.String), + [S$.$valueMax]: dart.nullable(core.num), + [S$.$valueMin]: dart.nullable(core.num), + [S$.$valueNow]: dart.nullable(core.num), + [S$.$valueText]: dart.nullable(core.String), + [S$.$onAccessibleClick]: async.Stream$(html$.Event), + [S$.$onAccessibleContextMenu]: async.Stream$(html$.Event), + [S$.$onAccessibleDecrement]: async.Stream$(html$.Event), + [S$.$onAccessibleFocus]: async.Stream$(html$.Event), + [S$.$onAccessibleIncrement]: async.Stream$(html$.Event), + [S$.$onAccessibleScrollIntoView]: async.Stream$(html$.Event) +})); +dart.setSetterSignature(html$.AccessibleNode, () => ({ + __proto__: dart.getSetters(html$.AccessibleNode.__proto__), + [S$.$activeDescendant]: dart.nullable(html$.AccessibleNode), + [S$.$atomic]: dart.nullable(core.bool), + [S$.$autocomplete]: dart.nullable(core.String), + [S$.$busy]: dart.nullable(core.bool), + [S$.$checked]: dart.nullable(core.String), + [S$.$colCount]: dart.nullable(core.int), + [S$.$colIndex]: dart.nullable(core.int), + [S$.$colSpan]: dart.nullable(core.int), + [S$.$controls]: dart.nullable(html$.AccessibleNodeList), + [S$.$current]: dart.nullable(core.String), + [S$.$describedBy]: dart.nullable(html$.AccessibleNodeList), + [S$.$details]: dart.nullable(html$.AccessibleNode), + [S$.$disabled]: dart.nullable(core.bool), + [S$.$errorMessage]: dart.nullable(html$.AccessibleNode), + [S$.$expanded]: dart.nullable(core.bool), + [S$.$flowTo]: dart.nullable(html$.AccessibleNodeList), + [S$.$hasPopUp]: dart.nullable(core.String), + [S.$hidden]: dart.nullable(core.bool), + [S$.$invalid]: dart.nullable(core.String), + [S$.$keyShortcuts]: dart.nullable(core.String), + [S$.$label]: dart.nullable(core.String), + [S$.$labeledBy]: dart.nullable(html$.AccessibleNodeList), + [S$.$level]: dart.nullable(core.int), + [S$.$live]: dart.nullable(core.String), + [S$.$modal]: dart.nullable(core.bool), + [S$.$multiline]: dart.nullable(core.bool), + [S$.$multiselectable]: dart.nullable(core.bool), + [S$.$orientation]: dart.nullable(core.String), + [S$.$owns]: dart.nullable(html$.AccessibleNodeList), + [S$.$placeholder]: dart.nullable(core.String), + [S$.$posInSet]: dart.nullable(core.int), + [S$.$pressed]: dart.nullable(core.String), + [S$.$readOnly]: dart.nullable(core.bool), + [S$.$relevant]: dart.nullable(core.String), + [S$.$required]: dart.nullable(core.bool), + [S$.$role]: dart.nullable(core.String), + [S$.$roleDescription]: dart.nullable(core.String), + [S$.$rowCount]: dart.nullable(core.int), + [S$.$rowIndex]: dart.nullable(core.int), + [S$.$rowSpan]: dart.nullable(core.int), + [S$.$selected]: dart.nullable(core.bool), + [S$.$setSize]: dart.nullable(core.int), + [$sort]: dart.nullable(core.String), + [S$.$valueMax]: dart.nullable(core.num), + [S$.$valueMin]: dart.nullable(core.num), + [S$.$valueNow]: dart.nullable(core.num), + [S$.$valueText]: dart.nullable(core.String) +})); +dart.setLibraryUri(html$.AccessibleNode, I[148]); +dart.defineLazy(html$.AccessibleNode, { + /*html$.AccessibleNode.accessibleClickEvent*/get accessibleClickEvent() { + return C[296] || CT.C296; + }, + /*html$.AccessibleNode.accessibleContextMenuEvent*/get accessibleContextMenuEvent() { + return C[297] || CT.C297; + }, + /*html$.AccessibleNode.accessibleDecrementEvent*/get accessibleDecrementEvent() { + return C[298] || CT.C298; + }, + /*html$.AccessibleNode.accessibleFocusEvent*/get accessibleFocusEvent() { + return C[299] || CT.C299; + }, + /*html$.AccessibleNode.accessibleIncrementEvent*/get accessibleIncrementEvent() { + return C[300] || CT.C300; + }, + /*html$.AccessibleNode.accessibleScrollIntoViewEvent*/get accessibleScrollIntoViewEvent() { + return C[301] || CT.C301; + } +}, false); +dart.registerExtension("AccessibleNode", html$.AccessibleNode); +html$.AccessibleNodeList = class AccessibleNodeList$ extends _interceptors.Interceptor { + static new(nodes = null) { + if (nodes != null) { + return html$.AccessibleNodeList._create_1(nodes); + } + return html$.AccessibleNodeList._create_2(); + } + static _create_1(nodes) { + return new AccessibleNodeList(nodes); + } + static _create_2() { + return new AccessibleNodeList(); + } + get [$length]() { + return this.length; + } + set [$length](value) { + this.length = value; + } + [S$.__setter__](...args) { + return this.__setter__.apply(this, args); + } + [$add](...args) { + return this.add.apply(this, args); + } + [S$.$item](...args) { + return this.item.apply(this, args); + } + [$remove](...args) { + return this.remove.apply(this, args); + } +}; +dart.addTypeTests(html$.AccessibleNodeList); +dart.addTypeCaches(html$.AccessibleNodeList); +dart.setMethodSignature(html$.AccessibleNodeList, () => ({ + __proto__: dart.getMethods(html$.AccessibleNodeList.__proto__), + [S$.__setter__]: dart.fnType(dart.void, [core.int, html$.AccessibleNode]), + [$add]: dart.fnType(dart.void, [html$.AccessibleNode, dart.nullable(html$.AccessibleNode)]), + [S$.$item]: dart.fnType(dart.nullable(html$.AccessibleNode), [core.int]), + [$remove]: dart.fnType(dart.void, [core.int]) +})); +dart.setGetterSignature(html$.AccessibleNodeList, () => ({ + __proto__: dart.getGetters(html$.AccessibleNodeList.__proto__), + [$length]: dart.nullable(core.int) +})); +dart.setSetterSignature(html$.AccessibleNodeList, () => ({ + __proto__: dart.getSetters(html$.AccessibleNodeList.__proto__), + [$length]: dart.nullable(core.int) +})); +dart.setLibraryUri(html$.AccessibleNodeList, I[148]); +dart.registerExtension("AccessibleNodeList", html$.AccessibleNodeList); +html$.AmbientLightSensor = class AmbientLightSensor$ extends html$.Sensor { + static new(sensorOptions = null) { + if (sensorOptions != null) { + let sensorOptions_1 = html_common.convertDartToNative_Dictionary(sensorOptions); + return html$.AmbientLightSensor._create_1(sensorOptions_1); + } + return html$.AmbientLightSensor._create_2(); + } + static _create_1(sensorOptions) { + return new AmbientLightSensor(sensorOptions); + } + static _create_2() { + return new AmbientLightSensor(); + } + get [S$.$illuminance]() { + return this.illuminance; + } +}; +dart.addTypeTests(html$.AmbientLightSensor); +dart.addTypeCaches(html$.AmbientLightSensor); +dart.setGetterSignature(html$.AmbientLightSensor, () => ({ + __proto__: dart.getGetters(html$.AmbientLightSensor.__proto__), + [S$.$illuminance]: dart.nullable(core.num) +})); +dart.setLibraryUri(html$.AmbientLightSensor, I[148]); +dart.registerExtension("AmbientLightSensor", html$.AmbientLightSensor); +html$.AnchorElement = class AnchorElement extends html$.HtmlElement { + static new(opts) { + let href = opts && 'href' in opts ? opts.href : null; + let e = html$.document.createElement("a"); + if (href != null) e.href = href; + return e; + } + get [S$.$download]() { + return this.download; + } + set [S$.$download](value) { + this.download = value; + } + get [S$.$hreflang]() { + return this.hreflang; + } + set [S$.$hreflang](value) { + this.hreflang = value; + } + get [S$.$referrerPolicy]() { + return this.referrerPolicy; + } + set [S$.$referrerPolicy](value) { + this.referrerPolicy = value; + } + get [S$.$rel]() { + return this.rel; + } + set [S$.$rel](value) { + this.rel = value; + } + get [S.$target]() { + return this.target; + } + set [S.$target](value) { + this.target = value; + } + get [S.$type]() { + return this.type; + } + set [S.$type](value) { + this.type = value; + } + get [S$.$hash]() { + return this.hash; + } + set [S$.$hash](value) { + this.hash = value; + } + get [S$.$host]() { + return this.host; + } + set [S$.$host](value) { + this.host = value; + } + get [S$.$hostname]() { + return this.hostname; + } + set [S$.$hostname](value) { + this.hostname = value; + } + get [S$.$href]() { + return this.href; + } + set [S$.$href](value) { + this.href = value; + } + get [S$.$origin]() { + return this.origin; + } + get [S$.$password]() { + return this.password; + } + set [S$.$password](value) { + this.password = value; + } + get [S$.$pathname]() { + return this.pathname; + } + set [S$.$pathname](value) { + this.pathname = value; + } + get [S$.$port]() { + return this.port; + } + set [S$.$port](value) { + this.port = value; + } + get [S$.$protocol]() { + return this.protocol; + } + set [S$.$protocol](value) { + this.protocol = value; + } + get [S$.$search]() { + return this.search; + } + set [S$.$search](value) { + this.search = value; + } + get [S$.$username]() { + return this.username; + } + set [S$.$username](value) { + this.username = value; + } + [$toString]() { + return String(this); + } +}; +(html$.AnchorElement.created = function() { + html$.AnchorElement.__proto__.created.call(this); + ; +}).prototype = html$.AnchorElement.prototype; +dart.addTypeTests(html$.AnchorElement); +dart.addTypeCaches(html$.AnchorElement); +html$.AnchorElement[dart.implements] = () => [html$.HtmlHyperlinkElementUtils]; +dart.setGetterSignature(html$.AnchorElement, () => ({ + __proto__: dart.getGetters(html$.AnchorElement.__proto__), + [S$.$download]: dart.nullable(core.String), + [S$.$hreflang]: core.String, + [S$.$referrerPolicy]: dart.nullable(core.String), + [S$.$rel]: core.String, + [S.$target]: core.String, + [S.$type]: core.String, + [S$.$hash]: dart.nullable(core.String), + [S$.$host]: dart.nullable(core.String), + [S$.$hostname]: dart.nullable(core.String), + [S$.$href]: dart.nullable(core.String), + [S$.$origin]: dart.nullable(core.String), + [S$.$password]: dart.nullable(core.String), + [S$.$pathname]: dart.nullable(core.String), + [S$.$port]: dart.nullable(core.String), + [S$.$protocol]: dart.nullable(core.String), + [S$.$search]: dart.nullable(core.String), + [S$.$username]: dart.nullable(core.String) +})); +dart.setSetterSignature(html$.AnchorElement, () => ({ + __proto__: dart.getSetters(html$.AnchorElement.__proto__), + [S$.$download]: dart.nullable(core.String), + [S$.$hreflang]: core.String, + [S$.$referrerPolicy]: dart.nullable(core.String), + [S$.$rel]: core.String, + [S.$target]: core.String, + [S.$type]: core.String, + [S$.$hash]: dart.nullable(core.String), + [S$.$host]: dart.nullable(core.String), + [S$.$hostname]: dart.nullable(core.String), + [S$.$href]: dart.nullable(core.String), + [S$.$password]: dart.nullable(core.String), + [S$.$pathname]: dart.nullable(core.String), + [S$.$port]: dart.nullable(core.String), + [S$.$protocol]: dart.nullable(core.String), + [S$.$search]: dart.nullable(core.String), + [S$.$username]: dart.nullable(core.String) +})); +dart.setLibraryUri(html$.AnchorElement, I[148]); +dart.registerExtension("HTMLAnchorElement", html$.AnchorElement); +html$.Animation = class Animation$ extends html$.EventTarget { + static new(effect = null, timeline = null) { + if (timeline != null) { + return html$.Animation._create_1(effect, timeline); + } + if (effect != null) { + return html$.Animation._create_2(effect); + } + return html$.Animation._create_3(); + } + static _create_1(effect, timeline) { + return new Animation(effect, timeline); + } + static _create_2(effect) { + return new Animation(effect); + } + static _create_3() { + return new Animation(); + } + static get supported() { + return !!document.body.animate; + } + get [S$.$currentTime]() { + return this.currentTime; + } + set [S$.$currentTime](value) { + this.currentTime = value; + } + get [S$.$effect]() { + return this.effect; + } + set [S$.$effect](value) { + this.effect = value; + } + get [S$.$finished]() { + return js_util.promiseToFuture(html$.Animation, this.finished); + } + get [S.$id]() { + return this.id; + } + set [S.$id](value) { + this.id = value; + } + get [S$.$playState]() { + return this.playState; + } + get [S$.$playbackRate]() { + return this.playbackRate; + } + set [S$.$playbackRate](value) { + this.playbackRate = value; + } + get [S$.$ready]() { + return js_util.promiseToFuture(html$.Animation, this.ready); + } + get [S$.$startTime]() { + return this.startTime; + } + set [S$.$startTime](value) { + this.startTime = value; + } + get [S$.$timeline]() { + return this.timeline; + } + [S$.$cancel](...args) { + return this.cancel.apply(this, args); + } + [S$.$finish](...args) { + return this.finish.apply(this, args); + } + [S$.$pause](...args) { + return this.pause.apply(this, args); + } + [S$.$play](...args) { + return this.play.apply(this, args); + } + [S$.$reverse](...args) { + return this.reverse.apply(this, args); + } + get [S$.$onCancel]() { + return html$.Animation.cancelEvent.forTarget(this); + } + get [S$.$onFinish]() { + return html$.Animation.finishEvent.forTarget(this); + } +}; +dart.addTypeTests(html$.Animation); +dart.addTypeCaches(html$.Animation); +dart.setMethodSignature(html$.Animation, () => ({ + __proto__: dart.getMethods(html$.Animation.__proto__), + [S$.$cancel]: dart.fnType(dart.void, []), + [S$.$finish]: dart.fnType(dart.void, []), + [S$.$pause]: dart.fnType(dart.void, []), + [S$.$play]: dart.fnType(dart.void, []), + [S$.$reverse]: dart.fnType(dart.void, []) +})); +dart.setGetterSignature(html$.Animation, () => ({ + __proto__: dart.getGetters(html$.Animation.__proto__), + [S$.$currentTime]: dart.nullable(core.num), + [S$.$effect]: dart.nullable(html$.AnimationEffectReadOnly), + [S$.$finished]: async.Future$(html$.Animation), + [S.$id]: dart.nullable(core.String), + [S$.$playState]: dart.nullable(core.String), + [S$.$playbackRate]: dart.nullable(core.num), + [S$.$ready]: async.Future$(html$.Animation), + [S$.$startTime]: dart.nullable(core.num), + [S$.$timeline]: dart.nullable(html$.AnimationTimeline), + [S$.$onCancel]: async.Stream$(html$.Event), + [S$.$onFinish]: async.Stream$(html$.Event) +})); +dart.setSetterSignature(html$.Animation, () => ({ + __proto__: dart.getSetters(html$.Animation.__proto__), + [S$.$currentTime]: dart.nullable(core.num), + [S$.$effect]: dart.nullable(html$.AnimationEffectReadOnly), + [S.$id]: dart.nullable(core.String), + [S$.$playbackRate]: dart.nullable(core.num), + [S$.$startTime]: dart.nullable(core.num) +})); +dart.setLibraryUri(html$.Animation, I[148]); +dart.defineLazy(html$.Animation, { + /*html$.Animation.cancelEvent*/get cancelEvent() { + return C[302] || CT.C302; + }, + /*html$.Animation.finishEvent*/get finishEvent() { + return C[303] || CT.C303; + } +}, false); +dart.registerExtension("Animation", html$.Animation); +html$.AnimationEffectReadOnly = class AnimationEffectReadOnly extends _interceptors.Interceptor { + get [S$.$timing]() { + return this.timing; + } + [S$.$getComputedTiming]() { + return dart.nullCheck(html_common.convertNativeToDart_Dictionary(this[S$._getComputedTiming_1]())); + } + [S$._getComputedTiming_1](...args) { + return this.getComputedTiming.apply(this, args); + } +}; +dart.addTypeTests(html$.AnimationEffectReadOnly); +dart.addTypeCaches(html$.AnimationEffectReadOnly); +dart.setMethodSignature(html$.AnimationEffectReadOnly, () => ({ + __proto__: dart.getMethods(html$.AnimationEffectReadOnly.__proto__), + [S$.$getComputedTiming]: dart.fnType(core.Map, []), + [S$._getComputedTiming_1]: dart.fnType(dart.dynamic, []) +})); +dart.setGetterSignature(html$.AnimationEffectReadOnly, () => ({ + __proto__: dart.getGetters(html$.AnimationEffectReadOnly.__proto__), + [S$.$timing]: dart.nullable(html$.AnimationEffectTimingReadOnly) +})); +dart.setLibraryUri(html$.AnimationEffectReadOnly, I[148]); +dart.registerExtension("AnimationEffectReadOnly", html$.AnimationEffectReadOnly); +html$.AnimationEffectTimingReadOnly = class AnimationEffectTimingReadOnly extends _interceptors.Interceptor { + get [S$.$delay]() { + return this.delay; + } + get [S.$direction]() { + return this.direction; + } + get [S$.$duration]() { + return this.duration; + } + get [S$.$easing]() { + return this.easing; + } + get [S$.$endDelay]() { + return this.endDelay; + } + get [S$.$fill]() { + return this.fill; + } + get [S$.$iterationStart]() { + return this.iterationStart; + } + get [S$.$iterations]() { + return this.iterations; + } +}; +dart.addTypeTests(html$.AnimationEffectTimingReadOnly); +dart.addTypeCaches(html$.AnimationEffectTimingReadOnly); +dart.setGetterSignature(html$.AnimationEffectTimingReadOnly, () => ({ + __proto__: dart.getGetters(html$.AnimationEffectTimingReadOnly.__proto__), + [S$.$delay]: dart.nullable(core.num), + [S.$direction]: dart.nullable(core.String), + [S$.$duration]: dart.nullable(core.Object), + [S$.$easing]: dart.nullable(core.String), + [S$.$endDelay]: dart.nullable(core.num), + [S$.$fill]: dart.nullable(core.String), + [S$.$iterationStart]: dart.nullable(core.num), + [S$.$iterations]: dart.nullable(core.num) +})); +dart.setLibraryUri(html$.AnimationEffectTimingReadOnly, I[148]); +dart.registerExtension("AnimationEffectTimingReadOnly", html$.AnimationEffectTimingReadOnly); +html$.AnimationEffectTiming = class AnimationEffectTiming extends html$.AnimationEffectTimingReadOnly { + get [S$.$delay]() { + return this.delay; + } + set [S$.$delay](value) { + this.delay = value; + } + get [S.$direction]() { + return this.direction; + } + set [S.$direction](value) { + this.direction = value; + } + get [S$.$duration]() { + return this.duration; + } + set [S$.$duration](value) { + this.duration = value; + } + get [S$.$easing]() { + return this.easing; + } + set [S$.$easing](value) { + this.easing = value; + } + get [S$.$endDelay]() { + return this.endDelay; + } + set [S$.$endDelay](value) { + this.endDelay = value; + } + get [S$.$fill]() { + return this.fill; + } + set [S$.$fill](value) { + this.fill = value; + } + get [S$.$iterationStart]() { + return this.iterationStart; + } + set [S$.$iterationStart](value) { + this.iterationStart = value; + } + get [S$.$iterations]() { + return this.iterations; + } + set [S$.$iterations](value) { + this.iterations = value; + } +}; +dart.addTypeTests(html$.AnimationEffectTiming); +dart.addTypeCaches(html$.AnimationEffectTiming); +dart.setSetterSignature(html$.AnimationEffectTiming, () => ({ + __proto__: dart.getSetters(html$.AnimationEffectTiming.__proto__), + [S$.$delay]: dart.nullable(core.num), + [S.$direction]: dart.nullable(core.String), + [S$.$duration]: dart.nullable(core.Object), + [S$.$easing]: dart.nullable(core.String), + [S$.$endDelay]: dart.nullable(core.num), + [S$.$fill]: dart.nullable(core.String), + [S$.$iterationStart]: dart.nullable(core.num), + [S$.$iterations]: dart.nullable(core.num) +})); +dart.setLibraryUri(html$.AnimationEffectTiming, I[148]); +dart.registerExtension("AnimationEffectTiming", html$.AnimationEffectTiming); +html$.AnimationEvent = class AnimationEvent$ extends html$.Event { + static new(type, eventInitDict = null) { + if (type == null) dart.nullFailed(I[147], 821, 33, "type"); + if (eventInitDict != null) { + let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); + return html$.AnimationEvent._create_1(type, eventInitDict_1); + } + return html$.AnimationEvent._create_2(type); + } + static _create_1(type, eventInitDict) { + return new AnimationEvent(type, eventInitDict); + } + static _create_2(type) { + return new AnimationEvent(type); + } + get [S$.$animationName]() { + return this.animationName; + } + get [S$.$elapsedTime]() { + return this.elapsedTime; + } +}; +dart.addTypeTests(html$.AnimationEvent); +dart.addTypeCaches(html$.AnimationEvent); +dart.setGetterSignature(html$.AnimationEvent, () => ({ + __proto__: dart.getGetters(html$.AnimationEvent.__proto__), + [S$.$animationName]: dart.nullable(core.String), + [S$.$elapsedTime]: dart.nullable(core.num) +})); +dart.setLibraryUri(html$.AnimationEvent, I[148]); +dart.registerExtension("AnimationEvent", html$.AnimationEvent); +html$.AnimationPlaybackEvent = class AnimationPlaybackEvent$ extends html$.Event { + static new(type, eventInitDict = null) { + if (type == null) dart.nullFailed(I[147], 848, 41, "type"); + if (eventInitDict != null) { + let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); + return html$.AnimationPlaybackEvent._create_1(type, eventInitDict_1); + } + return html$.AnimationPlaybackEvent._create_2(type); + } + static _create_1(type, eventInitDict) { + return new AnimationPlaybackEvent(type, eventInitDict); + } + static _create_2(type) { + return new AnimationPlaybackEvent(type); + } + get [S$.$currentTime]() { + return this.currentTime; + } + get [S$.$timelineTime]() { + return this.timelineTime; + } +}; +dart.addTypeTests(html$.AnimationPlaybackEvent); +dart.addTypeCaches(html$.AnimationPlaybackEvent); +dart.setGetterSignature(html$.AnimationPlaybackEvent, () => ({ + __proto__: dart.getGetters(html$.AnimationPlaybackEvent.__proto__), + [S$.$currentTime]: dart.nullable(core.num), + [S$.$timelineTime]: dart.nullable(core.num) +})); +dart.setLibraryUri(html$.AnimationPlaybackEvent, I[148]); +dart.registerExtension("AnimationPlaybackEvent", html$.AnimationPlaybackEvent); +html$.AnimationTimeline = class AnimationTimeline extends _interceptors.Interceptor { + get [S$.$currentTime]() { + return this.currentTime; + } +}; +dart.addTypeTests(html$.AnimationTimeline); +dart.addTypeCaches(html$.AnimationTimeline); +dart.setGetterSignature(html$.AnimationTimeline, () => ({ + __proto__: dart.getGetters(html$.AnimationTimeline.__proto__), + [S$.$currentTime]: dart.nullable(core.num) +})); +dart.setLibraryUri(html$.AnimationTimeline, I[148]); +dart.registerExtension("AnimationTimeline", html$.AnimationTimeline); +html$.WorkletGlobalScope = class WorkletGlobalScope extends _interceptors.Interceptor {}; +dart.addTypeTests(html$.WorkletGlobalScope); +dart.addTypeCaches(html$.WorkletGlobalScope); +dart.setLibraryUri(html$.WorkletGlobalScope, I[148]); +dart.registerExtension("WorkletGlobalScope", html$.WorkletGlobalScope); +html$.AnimationWorkletGlobalScope = class AnimationWorkletGlobalScope extends html$.WorkletGlobalScope { + [S$.$registerAnimator](...args) { + return this.registerAnimator.apply(this, args); + } +}; +dart.addTypeTests(html$.AnimationWorkletGlobalScope); +dart.addTypeCaches(html$.AnimationWorkletGlobalScope); +dart.setMethodSignature(html$.AnimationWorkletGlobalScope, () => ({ + __proto__: dart.getMethods(html$.AnimationWorkletGlobalScope.__proto__), + [S$.$registerAnimator]: dart.fnType(dart.void, [core.String, core.Object]) +})); +dart.setLibraryUri(html$.AnimationWorkletGlobalScope, I[148]); +dart.registerExtension("AnimationWorkletGlobalScope", html$.AnimationWorkletGlobalScope); +html$.ApplicationCache = class ApplicationCache extends html$.EventTarget { + static get supported() { + return !!window.applicationCache; + } + get [S$.$status]() { + return this.status; + } + [S.$abort](...args) { + return this.abort.apply(this, args); + } + [S$.$swapCache](...args) { + return this.swapCache.apply(this, args); + } + [$update](...args) { + return this.update.apply(this, args); + } + get [S$.$onCached]() { + return html$.ApplicationCache.cachedEvent.forTarget(this); + } + get [S$.$onChecking]() { + return html$.ApplicationCache.checkingEvent.forTarget(this); + } + get [S$.$onDownloading]() { + return html$.ApplicationCache.downloadingEvent.forTarget(this); + } + get [S.$onError]() { + return html$.ApplicationCache.errorEvent.forTarget(this); + } + get [S$.$onNoUpdate]() { + return html$.ApplicationCache.noUpdateEvent.forTarget(this); + } + get [S$.$onObsolete]() { + return html$.ApplicationCache.obsoleteEvent.forTarget(this); + } + get [S$.$onProgress]() { + return html$.ApplicationCache.progressEvent.forTarget(this); + } + get [S$.$onUpdateReady]() { + return html$.ApplicationCache.updateReadyEvent.forTarget(this); + } +}; +dart.addTypeTests(html$.ApplicationCache); +dart.addTypeCaches(html$.ApplicationCache); +dart.setMethodSignature(html$.ApplicationCache, () => ({ + __proto__: dart.getMethods(html$.ApplicationCache.__proto__), + [S.$abort]: dart.fnType(dart.void, []), + [S$.$swapCache]: dart.fnType(dart.void, []), + [$update]: dart.fnType(dart.void, []) +})); +dart.setGetterSignature(html$.ApplicationCache, () => ({ + __proto__: dart.getGetters(html$.ApplicationCache.__proto__), + [S$.$status]: dart.nullable(core.int), + [S$.$onCached]: async.Stream$(html$.Event), + [S$.$onChecking]: async.Stream$(html$.Event), + [S$.$onDownloading]: async.Stream$(html$.Event), + [S.$onError]: async.Stream$(html$.Event), + [S$.$onNoUpdate]: async.Stream$(html$.Event), + [S$.$onObsolete]: async.Stream$(html$.Event), + [S$.$onProgress]: async.Stream$(html$.ProgressEvent), + [S$.$onUpdateReady]: async.Stream$(html$.Event) +})); +dart.setLibraryUri(html$.ApplicationCache, I[148]); +dart.defineLazy(html$.ApplicationCache, { + /*html$.ApplicationCache.cachedEvent*/get cachedEvent() { + return C[304] || CT.C304; + }, + /*html$.ApplicationCache.checkingEvent*/get checkingEvent() { + return C[305] || CT.C305; + }, + /*html$.ApplicationCache.downloadingEvent*/get downloadingEvent() { + return C[306] || CT.C306; + }, + /*html$.ApplicationCache.errorEvent*/get errorEvent() { + return C[216] || CT.C216; + }, + /*html$.ApplicationCache.noUpdateEvent*/get noUpdateEvent() { + return C[307] || CT.C307; + }, + /*html$.ApplicationCache.obsoleteEvent*/get obsoleteEvent() { + return C[308] || CT.C308; + }, + /*html$.ApplicationCache.progressEvent*/get progressEvent() { + return C[309] || CT.C309; + }, + /*html$.ApplicationCache.updateReadyEvent*/get updateReadyEvent() { + return C[310] || CT.C310; + }, + /*html$.ApplicationCache.CHECKING*/get CHECKING() { + return 2; + }, + /*html$.ApplicationCache.DOWNLOADING*/get DOWNLOADING() { + return 3; + }, + /*html$.ApplicationCache.IDLE*/get IDLE() { + return 1; + }, + /*html$.ApplicationCache.OBSOLETE*/get OBSOLETE() { + return 5; + }, + /*html$.ApplicationCache.UNCACHED*/get UNCACHED() { + return 0; + }, + /*html$.ApplicationCache.UPDATEREADY*/get UPDATEREADY() { + return 4; + } +}, false); +dart.registerExtension("ApplicationCache", html$.ApplicationCache); +dart.registerExtension("DOMApplicationCache", html$.ApplicationCache); +dart.registerExtension("OfflineResourceList", html$.ApplicationCache); +html$.ApplicationCacheErrorEvent = class ApplicationCacheErrorEvent$ extends html$.Event { + static new(type, eventInitDict = null) { + if (type == null) dart.nullFailed(I[147], 1043, 45, "type"); + if (eventInitDict != null) { + let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); + return html$.ApplicationCacheErrorEvent._create_1(type, eventInitDict_1); + } + return html$.ApplicationCacheErrorEvent._create_2(type); + } + static _create_1(type, eventInitDict) { + return new ApplicationCacheErrorEvent(type, eventInitDict); + } + static _create_2(type) { + return new ApplicationCacheErrorEvent(type); + } + get [$message]() { + return this.message; + } + get [S$.$reason]() { + return this.reason; + } + get [S$.$status]() { + return this.status; + } + get [S$.$url]() { + return this.url; + } +}; +dart.addTypeTests(html$.ApplicationCacheErrorEvent); +dart.addTypeCaches(html$.ApplicationCacheErrorEvent); +dart.setGetterSignature(html$.ApplicationCacheErrorEvent, () => ({ + __proto__: dart.getGetters(html$.ApplicationCacheErrorEvent.__proto__), + [$message]: dart.nullable(core.String), + [S$.$reason]: dart.nullable(core.String), + [S$.$status]: dart.nullable(core.int), + [S$.$url]: dart.nullable(core.String) +})); +dart.setLibraryUri(html$.ApplicationCacheErrorEvent, I[148]); +dart.registerExtension("ApplicationCacheErrorEvent", html$.ApplicationCacheErrorEvent); +html$.AreaElement = class AreaElement extends html$.HtmlElement { + static new() { + return html$.document.createElement("area"); + } + get [S$.$alt]() { + return this.alt; + } + set [S$.$alt](value) { + this.alt = value; + } + get [S$.$coords]() { + return this.coords; + } + set [S$.$coords](value) { + this.coords = value; + } + get [S$.$download]() { + return this.download; + } + set [S$.$download](value) { + this.download = value; + } + get [S$.$referrerPolicy]() { + return this.referrerPolicy; + } + set [S$.$referrerPolicy](value) { + this.referrerPolicy = value; + } + get [S$.$rel]() { + return this.rel; + } + set [S$.$rel](value) { + this.rel = value; + } + get [S$.$shape]() { + return this.shape; + } + set [S$.$shape](value) { + this.shape = value; + } + get [S.$target]() { + return this.target; + } + set [S.$target](value) { + this.target = value; + } + get [S$.$hash]() { + return this.hash; + } + set [S$.$hash](value) { + this.hash = value; + } + get [S$.$host]() { + return this.host; + } + set [S$.$host](value) { + this.host = value; + } + get [S$.$hostname]() { + return this.hostname; + } + set [S$.$hostname](value) { + this.hostname = value; + } + get [S$.$href]() { + return this.href; + } + set [S$.$href](value) { + this.href = value; + } + get [S$.$origin]() { + return this.origin; + } + get [S$.$password]() { + return this.password; + } + set [S$.$password](value) { + this.password = value; + } + get [S$.$pathname]() { + return this.pathname; + } + set [S$.$pathname](value) { + this.pathname = value; + } + get [S$.$port]() { + return this.port; + } + set [S$.$port](value) { + this.port = value; + } + get [S$.$protocol]() { + return this.protocol; + } + set [S$.$protocol](value) { + this.protocol = value; + } + get [S$.$search]() { + return this.search; + } + set [S$.$search](value) { + this.search = value; + } + get [S$.$username]() { + return this.username; + } + set [S$.$username](value) { + this.username = value; + } + [$toString]() { + return String(this); + } +}; +(html$.AreaElement.created = function() { + html$.AreaElement.__proto__.created.call(this); + ; +}).prototype = html$.AreaElement.prototype; +dart.addTypeTests(html$.AreaElement); +dart.addTypeCaches(html$.AreaElement); +html$.AreaElement[dart.implements] = () => [html$.HtmlHyperlinkElementUtils]; +dart.setGetterSignature(html$.AreaElement, () => ({ + __proto__: dart.getGetters(html$.AreaElement.__proto__), + [S$.$alt]: core.String, + [S$.$coords]: core.String, + [S$.$download]: dart.nullable(core.String), + [S$.$referrerPolicy]: dart.nullable(core.String), + [S$.$rel]: core.String, + [S$.$shape]: core.String, + [S.$target]: core.String, + [S$.$hash]: dart.nullable(core.String), + [S$.$host]: dart.nullable(core.String), + [S$.$hostname]: dart.nullable(core.String), + [S$.$href]: dart.nullable(core.String), + [S$.$origin]: dart.nullable(core.String), + [S$.$password]: dart.nullable(core.String), + [S$.$pathname]: dart.nullable(core.String), + [S$.$port]: dart.nullable(core.String), + [S$.$protocol]: dart.nullable(core.String), + [S$.$search]: dart.nullable(core.String), + [S$.$username]: dart.nullable(core.String) +})); +dart.setSetterSignature(html$.AreaElement, () => ({ + __proto__: dart.getSetters(html$.AreaElement.__proto__), + [S$.$alt]: core.String, + [S$.$coords]: core.String, + [S$.$download]: dart.nullable(core.String), + [S$.$referrerPolicy]: dart.nullable(core.String), + [S$.$rel]: core.String, + [S$.$shape]: core.String, + [S.$target]: core.String, + [S$.$hash]: dart.nullable(core.String), + [S$.$host]: dart.nullable(core.String), + [S$.$hostname]: dart.nullable(core.String), + [S$.$href]: dart.nullable(core.String), + [S$.$password]: dart.nullable(core.String), + [S$.$pathname]: dart.nullable(core.String), + [S$.$port]: dart.nullable(core.String), + [S$.$protocol]: dart.nullable(core.String), + [S$.$search]: dart.nullable(core.String), + [S$.$username]: dart.nullable(core.String) +})); +dart.setLibraryUri(html$.AreaElement, I[148]); +dart.registerExtension("HTMLAreaElement", html$.AreaElement); +html$.MediaElement = class MediaElement extends html$.HtmlElement { + get [S$.$audioTracks]() { + return this.audioTracks; + } + get [S$.$autoplay]() { + return this.autoplay; + } + set [S$.$autoplay](value) { + this.autoplay = value; + } + get [S$.$buffered]() { + return this.buffered; + } + get [S$.$controls]() { + return this.controls; + } + set [S$.$controls](value) { + this.controls = value; + } + get [S$.$controlsList]() { + return this.controlsList; + } + get [S$.$crossOrigin]() { + return this.crossOrigin; + } + set [S$.$crossOrigin](value) { + this.crossOrigin = value; + } + get [S$.$currentSrc]() { + return this.currentSrc; + } + get [S$.$currentTime]() { + return this.currentTime; + } + set [S$.$currentTime](value) { + this.currentTime = value; + } + get [S$.$defaultMuted]() { + return this.defaultMuted; + } + set [S$.$defaultMuted](value) { + this.defaultMuted = value; + } + get [S$.$defaultPlaybackRate]() { + return this.defaultPlaybackRate; + } + set [S$.$defaultPlaybackRate](value) { + this.defaultPlaybackRate = value; + } + get [S$.$disableRemotePlayback]() { + return this.disableRemotePlayback; + } + set [S$.$disableRemotePlayback](value) { + this.disableRemotePlayback = value; + } + get [S$.$duration]() { + return this.duration; + } + get [S$.$ended]() { + return this.ended; + } + get [S.$error]() { + return this.error; + } + get [S$.$loop]() { + return this.loop; + } + set [S$.$loop](value) { + this.loop = value; + } + get [S$.$mediaKeys]() { + return this.mediaKeys; + } + get [S$.$muted]() { + return this.muted; + } + set [S$.$muted](value) { + this.muted = value; + } + get [S$.$networkState]() { + return this.networkState; + } + get [S$.$paused]() { + return this.paused; + } + get [S$.$playbackRate]() { + return this.playbackRate; + } + set [S$.$playbackRate](value) { + this.playbackRate = value; + } + get [S$.$played]() { + return this.played; + } + get [S$.$preload]() { + return this.preload; + } + set [S$.$preload](value) { + this.preload = value; + } + get [S.$readyState]() { + return this.readyState; + } + get [S$.$remote]() { + return this.remote; + } + get [S$.$seekable]() { + return this.seekable; + } + get [S$.$seeking]() { + return this.seeking; + } + get [S$.$sinkId]() { + return this.sinkId; + } + get [S$.$src]() { + return this.src; + } + set [S$.$src](value) { + this.src = value; + } + get [S$.$srcObject]() { + return this.srcObject; + } + set [S$.$srcObject](value) { + this.srcObject = value; + } + get [S$.$textTracks]() { + return this.textTracks; + } + get [S$.$videoTracks]() { + return this.videoTracks; + } + get [S$.$volume]() { + return this.volume; + } + set [S$.$volume](value) { + this.volume = value; + } + get [S$.$audioDecodedByteCount]() { + return this.webkitAudioDecodedByteCount; + } + get [S$.$videoDecodedByteCount]() { + return this.webkitVideoDecodedByteCount; + } + [S$.$addTextTrack](...args) { + return this.addTextTrack.apply(this, args); + } + [S$.$canPlayType](...args) { + return this.canPlayType.apply(this, args); + } + [S$.$captureStream](...args) { + return this.captureStream.apply(this, args); + } + [S$.$load](...args) { + return this.load.apply(this, args); + } + [S$.$pause](...args) { + return this.pause.apply(this, args); + } + [S$.$play]() { + return js_util.promiseToFuture(dart.dynamic, this.play()); + } + [S$.$setMediaKeys](mediaKeys) { + return js_util.promiseToFuture(dart.dynamic, this.setMediaKeys(mediaKeys)); + } + [S$.$setSinkId](sinkId) { + if (sinkId == null) dart.nullFailed(I[147], 20715, 27, "sinkId"); + return js_util.promiseToFuture(dart.dynamic, this.setSinkId(sinkId)); + } +}; +(html$.MediaElement.created = function() { + html$.MediaElement.__proto__.created.call(this); + ; +}).prototype = html$.MediaElement.prototype; +dart.addTypeTests(html$.MediaElement); +dart.addTypeCaches(html$.MediaElement); +dart.setMethodSignature(html$.MediaElement, () => ({ + __proto__: dart.getMethods(html$.MediaElement.__proto__), + [S$.$addTextTrack]: dart.fnType(html$.TextTrack, [core.String], [dart.nullable(core.String), dart.nullable(core.String)]), + [S$.$canPlayType]: dart.fnType(core.String, [dart.nullable(core.String)], [dart.nullable(core.String)]), + [S$.$captureStream]: dart.fnType(html$.MediaStream, []), + [S$.$load]: dart.fnType(dart.void, []), + [S$.$pause]: dart.fnType(dart.void, []), + [S$.$play]: dart.fnType(async.Future, []), + [S$.$setMediaKeys]: dart.fnType(async.Future, [dart.nullable(html$.MediaKeys)]), + [S$.$setSinkId]: dart.fnType(async.Future, [core.String]) +})); +dart.setGetterSignature(html$.MediaElement, () => ({ + __proto__: dart.getGetters(html$.MediaElement.__proto__), + [S$.$audioTracks]: dart.nullable(web_audio.AudioTrackList), + [S$.$autoplay]: core.bool, + [S$.$buffered]: html$.TimeRanges, + [S$.$controls]: core.bool, + [S$.$controlsList]: dart.nullable(html$.DomTokenList), + [S$.$crossOrigin]: dart.nullable(core.String), + [S$.$currentSrc]: core.String, + [S$.$currentTime]: core.num, + [S$.$defaultMuted]: dart.nullable(core.bool), + [S$.$defaultPlaybackRate]: core.num, + [S$.$disableRemotePlayback]: core.bool, + [S$.$duration]: core.num, + [S$.$ended]: core.bool, + [S.$error]: dart.nullable(html$.MediaError), + [S$.$loop]: core.bool, + [S$.$mediaKeys]: dart.nullable(html$.MediaKeys), + [S$.$muted]: core.bool, + [S$.$networkState]: dart.nullable(core.int), + [S$.$paused]: core.bool, + [S$.$playbackRate]: core.num, + [S$.$played]: html$.TimeRanges, + [S$.$preload]: core.String, + [S.$readyState]: core.int, + [S$.$remote]: dart.nullable(html$.RemotePlayback), + [S$.$seekable]: html$.TimeRanges, + [S$.$seeking]: core.bool, + [S$.$sinkId]: dart.nullable(core.String), + [S$.$src]: core.String, + [S$.$srcObject]: dart.nullable(html$.MediaStream), + [S$.$textTracks]: dart.nullable(html$.TextTrackList), + [S$.$videoTracks]: dart.nullable(html$.VideoTrackList), + [S$.$volume]: core.num, + [S$.$audioDecodedByteCount]: dart.nullable(core.int), + [S$.$videoDecodedByteCount]: dart.nullable(core.int) +})); +dart.setSetterSignature(html$.MediaElement, () => ({ + __proto__: dart.getSetters(html$.MediaElement.__proto__), + [S$.$autoplay]: core.bool, + [S$.$controls]: core.bool, + [S$.$crossOrigin]: dart.nullable(core.String), + [S$.$currentTime]: core.num, + [S$.$defaultMuted]: dart.nullable(core.bool), + [S$.$defaultPlaybackRate]: core.num, + [S$.$disableRemotePlayback]: core.bool, + [S$.$loop]: core.bool, + [S$.$muted]: core.bool, + [S$.$playbackRate]: core.num, + [S$.$preload]: core.String, + [S$.$src]: core.String, + [S$.$srcObject]: dart.nullable(html$.MediaStream), + [S$.$volume]: core.num +})); +dart.setLibraryUri(html$.MediaElement, I[148]); +dart.defineLazy(html$.MediaElement, { + /*html$.MediaElement.HAVE_CURRENT_DATA*/get HAVE_CURRENT_DATA() { + return 2; + }, + /*html$.MediaElement.HAVE_ENOUGH_DATA*/get HAVE_ENOUGH_DATA() { + return 4; + }, + /*html$.MediaElement.HAVE_FUTURE_DATA*/get HAVE_FUTURE_DATA() { + return 3; + }, + /*html$.MediaElement.HAVE_METADATA*/get HAVE_METADATA() { + return 1; + }, + /*html$.MediaElement.HAVE_NOTHING*/get HAVE_NOTHING() { + return 0; + }, + /*html$.MediaElement.NETWORK_EMPTY*/get NETWORK_EMPTY() { + return 0; + }, + /*html$.MediaElement.NETWORK_IDLE*/get NETWORK_IDLE() { + return 1; + }, + /*html$.MediaElement.NETWORK_LOADING*/get NETWORK_LOADING() { + return 2; + }, + /*html$.MediaElement.NETWORK_NO_SOURCE*/get NETWORK_NO_SOURCE() { + return 3; + } +}, false); +dart.registerExtension("HTMLMediaElement", html$.MediaElement); +html$.AudioElement = class AudioElement extends html$.MediaElement { + static __(src = null) { + if (src != null) { + return html$.AudioElement._create_1(src); + } + return html$.AudioElement._create_2(); + } + static _create_1(src) { + return new Audio(src); + } + static _create_2() { + return new Audio(); + } + static new(src = null) { + return html$.AudioElement.__(src); + } +}; +(html$.AudioElement.created = function() { + html$.AudioElement.__proto__.created.call(this); + ; +}).prototype = html$.AudioElement.prototype; +dart.addTypeTests(html$.AudioElement); +dart.addTypeCaches(html$.AudioElement); +dart.setLibraryUri(html$.AudioElement, I[148]); +dart.registerExtension("HTMLAudioElement", html$.AudioElement); +html$.AuthenticatorResponse = class AuthenticatorResponse extends _interceptors.Interceptor { + get [S$.$clientDataJson]() { + return this.clientDataJSON; + } +}; +dart.addTypeTests(html$.AuthenticatorResponse); +dart.addTypeCaches(html$.AuthenticatorResponse); +dart.setGetterSignature(html$.AuthenticatorResponse, () => ({ + __proto__: dart.getGetters(html$.AuthenticatorResponse.__proto__), + [S$.$clientDataJson]: dart.nullable(typed_data.ByteBuffer) +})); +dart.setLibraryUri(html$.AuthenticatorResponse, I[148]); +dart.registerExtension("AuthenticatorResponse", html$.AuthenticatorResponse); +html$.AuthenticatorAssertionResponse = class AuthenticatorAssertionResponse extends html$.AuthenticatorResponse { + get [S$.$authenticatorData]() { + return this.authenticatorData; + } + get [S$.$signature]() { + return this.signature; + } +}; +dart.addTypeTests(html$.AuthenticatorAssertionResponse); +dart.addTypeCaches(html$.AuthenticatorAssertionResponse); +dart.setGetterSignature(html$.AuthenticatorAssertionResponse, () => ({ + __proto__: dart.getGetters(html$.AuthenticatorAssertionResponse.__proto__), + [S$.$authenticatorData]: dart.nullable(typed_data.ByteBuffer), + [S$.$signature]: dart.nullable(typed_data.ByteBuffer) +})); +dart.setLibraryUri(html$.AuthenticatorAssertionResponse, I[148]); +dart.registerExtension("AuthenticatorAssertionResponse", html$.AuthenticatorAssertionResponse); +html$.AuthenticatorAttestationResponse = class AuthenticatorAttestationResponse extends html$.AuthenticatorResponse { + get [S$.$attestationObject]() { + return this.attestationObject; + } +}; +dart.addTypeTests(html$.AuthenticatorAttestationResponse); +dart.addTypeCaches(html$.AuthenticatorAttestationResponse); +dart.setGetterSignature(html$.AuthenticatorAttestationResponse, () => ({ + __proto__: dart.getGetters(html$.AuthenticatorAttestationResponse.__proto__), + [S$.$attestationObject]: dart.nullable(typed_data.ByteBuffer) +})); +dart.setLibraryUri(html$.AuthenticatorAttestationResponse, I[148]); +dart.registerExtension("AuthenticatorAttestationResponse", html$.AuthenticatorAttestationResponse); +html$.BRElement = class BRElement extends html$.HtmlElement { + static new() { + return html$.document.createElement("br"); + } +}; +(html$.BRElement.created = function() { + html$.BRElement.__proto__.created.call(this); + ; +}).prototype = html$.BRElement.prototype; +dart.addTypeTests(html$.BRElement); +dart.addTypeCaches(html$.BRElement); +dart.setLibraryUri(html$.BRElement, I[148]); +dart.registerExtension("HTMLBRElement", html$.BRElement); +html$.BackgroundFetchEvent = class BackgroundFetchEvent$ extends html$.ExtendableEvent { + static new(type, init) { + if (type == null) dart.nullFailed(I[147], 1295, 39, "type"); + if (init == null) dart.nullFailed(I[147], 1295, 49, "init"); + let init_1 = html_common.convertDartToNative_Dictionary(init); + return html$.BackgroundFetchEvent._create_1(type, init_1); + } + static _create_1(type, init) { + return new BackgroundFetchEvent(type, init); + } + get [S.$id]() { + return this.id; + } +}; +dart.addTypeTests(html$.BackgroundFetchEvent); +dart.addTypeCaches(html$.BackgroundFetchEvent); +dart.setGetterSignature(html$.BackgroundFetchEvent, () => ({ + __proto__: dart.getGetters(html$.BackgroundFetchEvent.__proto__), + [S.$id]: dart.nullable(core.String) +})); +dart.setLibraryUri(html$.BackgroundFetchEvent, I[148]); +dart.registerExtension("BackgroundFetchEvent", html$.BackgroundFetchEvent); +html$.BackgroundFetchClickEvent = class BackgroundFetchClickEvent$ extends html$.BackgroundFetchEvent { + static new(type, init) { + if (type == null) dart.nullFailed(I[147], 1272, 44, "type"); + if (init == null) dart.nullFailed(I[147], 1272, 54, "init"); + let init_1 = html_common.convertDartToNative_Dictionary(init); + return html$.BackgroundFetchClickEvent._create_1(type, init_1); + } + static _create_1(type, init) { + return new BackgroundFetchClickEvent(type, init); + } + get [S$.$state]() { + return this.state; + } +}; +dart.addTypeTests(html$.BackgroundFetchClickEvent); +dart.addTypeCaches(html$.BackgroundFetchClickEvent); +dart.setGetterSignature(html$.BackgroundFetchClickEvent, () => ({ + __proto__: dart.getGetters(html$.BackgroundFetchClickEvent.__proto__), + [S$.$state]: dart.nullable(core.String) +})); +dart.setLibraryUri(html$.BackgroundFetchClickEvent, I[148]); +dart.registerExtension("BackgroundFetchClickEvent", html$.BackgroundFetchClickEvent); +html$.BackgroundFetchFailEvent = class BackgroundFetchFailEvent$ extends html$.BackgroundFetchEvent { + static new(type, init) { + if (type == null) dart.nullFailed(I[147], 1315, 43, "type"); + if (init == null) dart.nullFailed(I[147], 1315, 53, "init"); + let init_1 = html_common.convertDartToNative_Dictionary(init); + return html$.BackgroundFetchFailEvent._create_1(type, init_1); + } + static _create_1(type, init) { + return new BackgroundFetchFailEvent(type, init); + } + get [S$.$fetches]() { + return this.fetches; + } +}; +dart.addTypeTests(html$.BackgroundFetchFailEvent); +dart.addTypeCaches(html$.BackgroundFetchFailEvent); +dart.setGetterSignature(html$.BackgroundFetchFailEvent, () => ({ + __proto__: dart.getGetters(html$.BackgroundFetchFailEvent.__proto__), + [S$.$fetches]: dart.nullable(core.List$(html$.BackgroundFetchSettledFetch)) +})); +dart.setLibraryUri(html$.BackgroundFetchFailEvent, I[148]); +dart.registerExtension("BackgroundFetchFailEvent", html$.BackgroundFetchFailEvent); +html$.BackgroundFetchFetch = class BackgroundFetchFetch extends _interceptors.Interceptor { + get [S$.$request]() { + return this.request; + } +}; +dart.addTypeTests(html$.BackgroundFetchFetch); +dart.addTypeCaches(html$.BackgroundFetchFetch); +dart.setGetterSignature(html$.BackgroundFetchFetch, () => ({ + __proto__: dart.getGetters(html$.BackgroundFetchFetch.__proto__), + [S$.$request]: dart.nullable(html$._Request) +})); +dart.setLibraryUri(html$.BackgroundFetchFetch, I[148]); +dart.registerExtension("BackgroundFetchFetch", html$.BackgroundFetchFetch); +html$.BackgroundFetchManager = class BackgroundFetchManager extends _interceptors.Interceptor { + [S$.$fetch](id, requests, options = null) { + if (id == null) dart.nullFailed(I[147], 1351, 52, "id"); + if (requests == null) dart.nullFailed(I[147], 1351, 63, "requests"); + let options_dict = null; + if (options != null) { + options_dict = html_common.convertDartToNative_Dictionary(options); + } + return js_util.promiseToFuture(html$.BackgroundFetchRegistration, this.fetch(id, requests, options_dict)); + } + [S.$get](id) { + if (id == null) dart.nullFailed(I[147], 1366, 50, "id"); + return js_util.promiseToFuture(html$.BackgroundFetchRegistration, this.get(id)); + } + [S$.$getIds]() { + return js_util.promiseToFuture(core.List, this.getIds()); + } +}; +dart.addTypeTests(html$.BackgroundFetchManager); +dart.addTypeCaches(html$.BackgroundFetchManager); +dart.setMethodSignature(html$.BackgroundFetchManager, () => ({ + __proto__: dart.getMethods(html$.BackgroundFetchManager.__proto__), + [S$.$fetch]: dart.fnType(async.Future$(html$.BackgroundFetchRegistration), [core.String, core.Object], [dart.nullable(core.Map)]), + [S.$get]: dart.fnType(async.Future$(html$.BackgroundFetchRegistration), [core.String]), + [S$.$getIds]: dart.fnType(async.Future$(core.List), []) +})); +dart.setLibraryUri(html$.BackgroundFetchManager, I[148]); +dart.registerExtension("BackgroundFetchManager", html$.BackgroundFetchManager); +html$.BackgroundFetchRegistration = class BackgroundFetchRegistration extends html$.EventTarget { + get [S$.$downloadTotal]() { + return this.downloadTotal; + } + get [S$.$downloaded]() { + return this.downloaded; + } + get [S.$id]() { + return this.id; + } + get [S.$title]() { + return this.title; + } + get [S$.$totalDownloadSize]() { + return this.totalDownloadSize; + } + get [S$.$uploadTotal]() { + return this.uploadTotal; + } + get [S$.$uploaded]() { + return this.uploaded; + } + [S.$abort]() { + return js_util.promiseToFuture(core.bool, this.abort()); + } +}; +dart.addTypeTests(html$.BackgroundFetchRegistration); +dart.addTypeCaches(html$.BackgroundFetchRegistration); +dart.setMethodSignature(html$.BackgroundFetchRegistration, () => ({ + __proto__: dart.getMethods(html$.BackgroundFetchRegistration.__proto__), + [S.$abort]: dart.fnType(async.Future$(core.bool), []) +})); +dart.setGetterSignature(html$.BackgroundFetchRegistration, () => ({ + __proto__: dart.getGetters(html$.BackgroundFetchRegistration.__proto__), + [S$.$downloadTotal]: dart.nullable(core.int), + [S$.$downloaded]: dart.nullable(core.int), + [S.$id]: dart.nullable(core.String), + [S.$title]: dart.nullable(core.String), + [S$.$totalDownloadSize]: dart.nullable(core.int), + [S$.$uploadTotal]: dart.nullable(core.int), + [S$.$uploaded]: dart.nullable(core.int) +})); +dart.setLibraryUri(html$.BackgroundFetchRegistration, I[148]); +dart.registerExtension("BackgroundFetchRegistration", html$.BackgroundFetchRegistration); +html$.BackgroundFetchSettledFetch = class BackgroundFetchSettledFetch$ extends html$.BackgroundFetchFetch { + static new(request, response) { + if (request == null) dart.nullFailed(I[147], 1411, 48, "request"); + if (response == null) dart.nullFailed(I[147], 1411, 67, "response"); + return html$.BackgroundFetchSettledFetch._create_1(request, response); + } + static _create_1(request, response) { + return new BackgroundFetchSettledFetch(request, response); + } + get [S$.$response]() { + return this.response; + } +}; +dart.addTypeTests(html$.BackgroundFetchSettledFetch); +dart.addTypeCaches(html$.BackgroundFetchSettledFetch); +dart.setGetterSignature(html$.BackgroundFetchSettledFetch, () => ({ + __proto__: dart.getGetters(html$.BackgroundFetchSettledFetch.__proto__), + [S$.$response]: dart.nullable(html$._Response) +})); +dart.setLibraryUri(html$.BackgroundFetchSettledFetch, I[148]); +dart.registerExtension("BackgroundFetchSettledFetch", html$.BackgroundFetchSettledFetch); +html$.BackgroundFetchedEvent = class BackgroundFetchedEvent$ extends html$.BackgroundFetchEvent { + static new(type, init) { + if (type == null) dart.nullFailed(I[147], 1433, 41, "type"); + if (init == null) dart.nullFailed(I[147], 1433, 51, "init"); + let init_1 = html_common.convertDartToNative_Dictionary(init); + return html$.BackgroundFetchedEvent._create_1(type, init_1); + } + static _create_1(type, init) { + return new BackgroundFetchedEvent(type, init); + } + get [S$.$fetches]() { + return this.fetches; + } + [S$.$updateUI](title) { + if (title == null) dart.nullFailed(I[147], 1442, 26, "title"); + return js_util.promiseToFuture(dart.dynamic, this.updateUI(title)); + } +}; +dart.addTypeTests(html$.BackgroundFetchedEvent); +dart.addTypeCaches(html$.BackgroundFetchedEvent); +dart.setMethodSignature(html$.BackgroundFetchedEvent, () => ({ + __proto__: dart.getMethods(html$.BackgroundFetchedEvent.__proto__), + [S$.$updateUI]: dart.fnType(async.Future, [core.String]) +})); +dart.setGetterSignature(html$.BackgroundFetchedEvent, () => ({ + __proto__: dart.getGetters(html$.BackgroundFetchedEvent.__proto__), + [S$.$fetches]: dart.nullable(core.List$(html$.BackgroundFetchSettledFetch)) +})); +dart.setLibraryUri(html$.BackgroundFetchedEvent, I[148]); +dart.registerExtension("BackgroundFetchedEvent", html$.BackgroundFetchedEvent); +html$.BarProp = class BarProp extends _interceptors.Interceptor { + get [S$.$visible]() { + return this.visible; + } +}; +dart.addTypeTests(html$.BarProp); +dart.addTypeCaches(html$.BarProp); +dart.setGetterSignature(html$.BarProp, () => ({ + __proto__: dart.getGetters(html$.BarProp.__proto__), + [S$.$visible]: dart.nullable(core.bool) +})); +dart.setLibraryUri(html$.BarProp, I[148]); +dart.registerExtension("BarProp", html$.BarProp); +html$.BarcodeDetector = class BarcodeDetector$ extends _interceptors.Interceptor { + static new() { + return html$.BarcodeDetector._create_1(); + } + static _create_1() { + return new BarcodeDetector(); + } + [S$.$detect](image) { + return js_util.promiseToFuture(core.List, this.detect(image)); + } +}; +dart.addTypeTests(html$.BarcodeDetector); +dart.addTypeCaches(html$.BarcodeDetector); +dart.setMethodSignature(html$.BarcodeDetector, () => ({ + __proto__: dart.getMethods(html$.BarcodeDetector.__proto__), + [S$.$detect]: dart.fnType(async.Future$(core.List), [dart.dynamic]) +})); +dart.setLibraryUri(html$.BarcodeDetector, I[148]); +dart.registerExtension("BarcodeDetector", html$.BarcodeDetector); +html$.BaseElement = class BaseElement extends html$.HtmlElement { + static new() { + return html$.document.createElement("base"); + } + get [S$.$href]() { + return this.href; + } + set [S$.$href](value) { + this.href = value; + } + get [S.$target]() { + return this.target; + } + set [S.$target](value) { + this.target = value; + } +}; +(html$.BaseElement.created = function() { + html$.BaseElement.__proto__.created.call(this); + ; +}).prototype = html$.BaseElement.prototype; +dart.addTypeTests(html$.BaseElement); +dart.addTypeCaches(html$.BaseElement); +dart.setGetterSignature(html$.BaseElement, () => ({ + __proto__: dart.getGetters(html$.BaseElement.__proto__), + [S$.$href]: core.String, + [S.$target]: core.String +})); +dart.setSetterSignature(html$.BaseElement, () => ({ + __proto__: dart.getSetters(html$.BaseElement.__proto__), + [S$.$href]: core.String, + [S.$target]: core.String +})); +dart.setLibraryUri(html$.BaseElement, I[148]); +dart.registerExtension("HTMLBaseElement", html$.BaseElement); +html$.BatteryManager = class BatteryManager extends html$.EventTarget { + get [S$.$charging]() { + return this.charging; + } + get [S$.$chargingTime]() { + return this.chargingTime; + } + get [S$.$dischargingTime]() { + return this.dischargingTime; + } + get [S$.$level]() { + return this.level; + } +}; +dart.addTypeTests(html$.BatteryManager); +dart.addTypeCaches(html$.BatteryManager); +dart.setGetterSignature(html$.BatteryManager, () => ({ + __proto__: dart.getGetters(html$.BatteryManager.__proto__), + [S$.$charging]: dart.nullable(core.bool), + [S$.$chargingTime]: dart.nullable(core.num), + [S$.$dischargingTime]: dart.nullable(core.num), + [S$.$level]: dart.nullable(core.num) +})); +dart.setLibraryUri(html$.BatteryManager, I[148]); +dart.registerExtension("BatteryManager", html$.BatteryManager); +html$.BeforeInstallPromptEvent = class BeforeInstallPromptEvent$ extends html$.Event { + static new(type, eventInitDict = null) { + if (type == null) dart.nullFailed(I[147], 1541, 43, "type"); + if (eventInitDict != null) { + let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); + return html$.BeforeInstallPromptEvent._create_1(type, eventInitDict_1); + } + return html$.BeforeInstallPromptEvent._create_2(type); + } + static _create_1(type, eventInitDict) { + return new BeforeInstallPromptEvent(type, eventInitDict); + } + static _create_2(type) { + return new BeforeInstallPromptEvent(type); + } + get [S$.$platforms]() { + return this.platforms; + } + get [S$.$userChoice]() { + return html$.promiseToFutureAsMap(this.userChoice); + } + [S$.$prompt]() { + return js_util.promiseToFuture(dart.dynamic, this.prompt()); + } +}; +dart.addTypeTests(html$.BeforeInstallPromptEvent); +dart.addTypeCaches(html$.BeforeInstallPromptEvent); +dart.setMethodSignature(html$.BeforeInstallPromptEvent, () => ({ + __proto__: dart.getMethods(html$.BeforeInstallPromptEvent.__proto__), + [S$.$prompt]: dart.fnType(async.Future, []) +})); +dart.setGetterSignature(html$.BeforeInstallPromptEvent, () => ({ + __proto__: dart.getGetters(html$.BeforeInstallPromptEvent.__proto__), + [S$.$platforms]: dart.nullable(core.List$(core.String)), + [S$.$userChoice]: async.Future$(dart.nullable(core.Map$(core.String, dart.dynamic))) +})); +dart.setLibraryUri(html$.BeforeInstallPromptEvent, I[148]); +dart.registerExtension("BeforeInstallPromptEvent", html$.BeforeInstallPromptEvent); +html$.BeforeUnloadEvent = class BeforeUnloadEvent extends html$.Event { + get [S$.$returnValue]() { + return this.returnValue; + } + set [S$.$returnValue](value) { + this.returnValue = value; + } +}; +dart.addTypeTests(html$.BeforeUnloadEvent); +dart.addTypeCaches(html$.BeforeUnloadEvent); +dart.setGetterSignature(html$.BeforeUnloadEvent, () => ({ + __proto__: dart.getGetters(html$.BeforeUnloadEvent.__proto__), + [S$.$returnValue]: dart.nullable(core.String) +})); +dart.setSetterSignature(html$.BeforeUnloadEvent, () => ({ + __proto__: dart.getSetters(html$.BeforeUnloadEvent.__proto__), + [S$.$returnValue]: dart.nullable(core.String) +})); +dart.setLibraryUri(html$.BeforeUnloadEvent, I[148]); +dart.registerExtension("BeforeUnloadEvent", html$.BeforeUnloadEvent); +html$.Blob = class Blob extends _interceptors.Interceptor { + get [S$.$size]() { + return this.size; + } + get [S.$type]() { + return this.type; + } + [S$.$slice](...args) { + return this.slice.apply(this, args); + } + static new(blobParts, type = null, endings = null) { + if (blobParts == null) dart.nullFailed(I[147], 1597, 21, "blobParts"); + if (type == null && endings == null) { + return html$.Blob.as(html$.Blob._create_1(blobParts)); + } + let bag = html$.Blob._create_bag(); + if (type != null) html$.Blob._bag_set(bag, "type", type); + if (endings != null) html$.Blob._bag_set(bag, "endings", endings); + return html$.Blob.as(html$.Blob._create_2(blobParts, bag)); + } + static _create_1(parts) { + return new self.Blob(parts); + } + static _create_2(parts, bag) { + return new self.Blob(parts, bag); + } + static _create_bag() { + return {}; + } + static _bag_set(bag, key, value) { + bag[key] = value; + } +}; +dart.addTypeTests(html$.Blob); +dart.addTypeCaches(html$.Blob); +dart.setMethodSignature(html$.Blob, () => ({ + __proto__: dart.getMethods(html$.Blob.__proto__), + [S$.$slice]: dart.fnType(html$.Blob, [], [dart.nullable(core.int), dart.nullable(core.int), dart.nullable(core.String)]) +})); +dart.setGetterSignature(html$.Blob, () => ({ + __proto__: dart.getGetters(html$.Blob.__proto__), + [S$.$size]: core.int, + [S.$type]: core.String +})); +dart.setLibraryUri(html$.Blob, I[148]); +dart.registerExtension("Blob", html$.Blob); +html$.BlobEvent = class BlobEvent$ extends html$.Event { + static new(type, eventInitDict) { + if (type == null) dart.nullFailed(I[147], 1636, 28, "type"); + if (eventInitDict == null) dart.nullFailed(I[147], 1636, 38, "eventInitDict"); + let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); + return html$.BlobEvent._create_1(type, eventInitDict_1); + } + static _create_1(type, eventInitDict) { + return new BlobEvent(type, eventInitDict); + } + get [S$.$data]() { + return this.data; + } + get [S$.$timecode]() { + return this.timecode; + } +}; +dart.addTypeTests(html$.BlobEvent); +dart.addTypeCaches(html$.BlobEvent); +dart.setGetterSignature(html$.BlobEvent, () => ({ + __proto__: dart.getGetters(html$.BlobEvent.__proto__), + [S$.$data]: dart.nullable(html$.Blob), + [S$.$timecode]: dart.nullable(core.num) +})); +dart.setLibraryUri(html$.BlobEvent, I[148]); +dart.registerExtension("BlobEvent", html$.BlobEvent); +html$.BluetoothRemoteGattDescriptor = class BluetoothRemoteGattDescriptor extends _interceptors.Interceptor { + get [S$.$characteristic]() { + return this.characteristic; + } + get [S$.$uuid]() { + return this.uuid; + } + get [S.$value]() { + return this.value; + } + [S$.$readValue]() { + return js_util.promiseToFuture(dart.dynamic, this.readValue()); + } + [S$.$writeValue](value) { + return js_util.promiseToFuture(dart.dynamic, this.writeValue(value)); + } +}; +dart.addTypeTests(html$.BluetoothRemoteGattDescriptor); +dart.addTypeCaches(html$.BluetoothRemoteGattDescriptor); +dart.setMethodSignature(html$.BluetoothRemoteGattDescriptor, () => ({ + __proto__: dart.getMethods(html$.BluetoothRemoteGattDescriptor.__proto__), + [S$.$readValue]: dart.fnType(async.Future, []), + [S$.$writeValue]: dart.fnType(async.Future, [dart.dynamic]) +})); +dart.setGetterSignature(html$.BluetoothRemoteGattDescriptor, () => ({ + __proto__: dart.getGetters(html$.BluetoothRemoteGattDescriptor.__proto__), + [S$.$characteristic]: dart.nullable(html$._BluetoothRemoteGATTCharacteristic), + [S$.$uuid]: dart.nullable(core.String), + [S.$value]: dart.nullable(typed_data.ByteData) +})); +dart.setLibraryUri(html$.BluetoothRemoteGattDescriptor, I[148]); +dart.registerExtension("BluetoothRemoteGATTDescriptor", html$.BluetoothRemoteGattDescriptor); +html$.Body = class Body extends _interceptors.Interceptor { + get [S$.$bodyUsed]() { + return this.bodyUsed; + } + [S$.$arrayBuffer]() { + return js_util.promiseToFuture(dart.dynamic, this.arrayBuffer()); + } + [S$.$blob]() { + return js_util.promiseToFuture(html$.Blob, this.blob()); + } + [S$.$formData]() { + return js_util.promiseToFuture(html$.FormData, this.formData()); + } + [S$.$json]() { + return js_util.promiseToFuture(dart.dynamic, this.json()); + } + [S.$text]() { + return js_util.promiseToFuture(core.String, this.text()); + } +}; +dart.addTypeTests(html$.Body); +dart.addTypeCaches(html$.Body); +dart.setMethodSignature(html$.Body, () => ({ + __proto__: dart.getMethods(html$.Body.__proto__), + [S$.$arrayBuffer]: dart.fnType(async.Future, []), + [S$.$blob]: dart.fnType(async.Future$(html$.Blob), []), + [S$.$formData]: dart.fnType(async.Future$(html$.FormData), []), + [S$.$json]: dart.fnType(async.Future, []), + [S.$text]: dart.fnType(async.Future$(core.String), []) +})); +dart.setGetterSignature(html$.Body, () => ({ + __proto__: dart.getGetters(html$.Body.__proto__), + [S$.$bodyUsed]: dart.nullable(core.bool) +})); +dart.setLibraryUri(html$.Body, I[148]); +dart.registerExtension("Body", html$.Body); +html$.BodyElement = class BodyElement extends html$.HtmlElement { + static new() { + return html$.document.createElement("body"); + } + get [S.$onBlur]() { + return html$.BodyElement.blurEvent.forElement(this); + } + get [S.$onError]() { + return html$.BodyElement.errorEvent.forElement(this); + } + get [S.$onFocus]() { + return html$.BodyElement.focusEvent.forElement(this); + } + get [S$.$onHashChange]() { + return html$.BodyElement.hashChangeEvent.forElement(this); + } + get [S.$onLoad]() { + return html$.BodyElement.loadEvent.forElement(this); + } + get [S$.$onMessage]() { + return html$.BodyElement.messageEvent.forElement(this); + } + get [S$.$onOffline]() { + return html$.BodyElement.offlineEvent.forElement(this); + } + get [S$.$onOnline]() { + return html$.BodyElement.onlineEvent.forElement(this); + } + get [S$.$onPopState]() { + return html$.BodyElement.popStateEvent.forElement(this); + } + get [S.$onResize]() { + return html$.BodyElement.resizeEvent.forElement(this); + } + get [S.$onScroll]() { + return html$.BodyElement.scrollEvent.forElement(this); + } + get [S$.$onStorage]() { + return html$.BodyElement.storageEvent.forElement(this); + } + get [S$.$onUnload]() { + return html$.BodyElement.unloadEvent.forElement(this); + } +}; +(html$.BodyElement.created = function() { + html$.BodyElement.__proto__.created.call(this); + ; +}).prototype = html$.BodyElement.prototype; +dart.addTypeTests(html$.BodyElement); +dart.addTypeCaches(html$.BodyElement); +html$.BodyElement[dart.implements] = () => [html$.WindowEventHandlers]; +dart.setGetterSignature(html$.BodyElement, () => ({ + __proto__: dart.getGetters(html$.BodyElement.__proto__), + [S$.$onHashChange]: html$.ElementStream$(html$.Event), + [S$.$onMessage]: html$.ElementStream$(html$.MessageEvent), + [S$.$onOffline]: html$.ElementStream$(html$.Event), + [S$.$onOnline]: html$.ElementStream$(html$.Event), + [S$.$onPopState]: html$.ElementStream$(html$.PopStateEvent), + [S$.$onStorage]: html$.ElementStream$(html$.StorageEvent), + [S$.$onUnload]: html$.ElementStream$(html$.Event) +})); +dart.setLibraryUri(html$.BodyElement, I[148]); +dart.defineLazy(html$.BodyElement, { + /*html$.BodyElement.blurEvent*/get blurEvent() { + return C[233] || CT.C233; + }, + /*html$.BodyElement.errorEvent*/get errorEvent() { + return C[216] || CT.C216; + }, + /*html$.BodyElement.focusEvent*/get focusEvent() { + return C[252] || CT.C252; + }, + /*html$.BodyElement.hashChangeEvent*/get hashChangeEvent() { + return C[311] || CT.C311; + }, + /*html$.BodyElement.loadEvent*/get loadEvent() { + return C[258] || CT.C258; + }, + /*html$.BodyElement.messageEvent*/get messageEvent() { + return C[312] || CT.C312; + }, + /*html$.BodyElement.offlineEvent*/get offlineEvent() { + return C[313] || CT.C313; + }, + /*html$.BodyElement.onlineEvent*/get onlineEvent() { + return C[314] || CT.C314; + }, + /*html$.BodyElement.popStateEvent*/get popStateEvent() { + return C[315] || CT.C315; + }, + /*html$.BodyElement.resizeEvent*/get resizeEvent() { + return C[274] || CT.C274; + }, + /*html$.BodyElement.scrollEvent*/get scrollEvent() { + return C[275] || CT.C275; + }, + /*html$.BodyElement.storageEvent*/get storageEvent() { + return C[316] || CT.C316; + }, + /*html$.BodyElement.unloadEvent*/get unloadEvent() { + return C[317] || CT.C317; + } +}, false); +dart.registerExtension("HTMLBodyElement", html$.BodyElement); +html$.BroadcastChannel = class BroadcastChannel$ extends html$.EventTarget { + static new(name) { + if (name == null) dart.nullFailed(I[147], 1880, 35, "name"); + return html$.BroadcastChannel._create_1(name); + } + static _create_1(name) { + return new BroadcastChannel(name); + } + get [$name]() { + return this.name; + } + [S.$close](...args) { + return this.close.apply(this, args); + } + [S$.$postMessage](...args) { + return this.postMessage.apply(this, args); + } + get [S$.$onMessage]() { + return html$.BroadcastChannel.messageEvent.forTarget(this); + } +}; +dart.addTypeTests(html$.BroadcastChannel); +dart.addTypeCaches(html$.BroadcastChannel); +dart.setMethodSignature(html$.BroadcastChannel, () => ({ + __proto__: dart.getMethods(html$.BroadcastChannel.__proto__), + [S.$close]: dart.fnType(dart.void, []), + [S$.$postMessage]: dart.fnType(dart.void, [core.Object]) +})); +dart.setGetterSignature(html$.BroadcastChannel, () => ({ + __proto__: dart.getGetters(html$.BroadcastChannel.__proto__), + [$name]: dart.nullable(core.String), + [S$.$onMessage]: async.Stream$(html$.MessageEvent) +})); +dart.setLibraryUri(html$.BroadcastChannel, I[148]); +dart.defineLazy(html$.BroadcastChannel, { + /*html$.BroadcastChannel.messageEvent*/get messageEvent() { + return C[312] || CT.C312; + } +}, false); +dart.registerExtension("BroadcastChannel", html$.BroadcastChannel); +html$.BudgetState = class BudgetState extends _interceptors.Interceptor { + get [S$.$budgetAt]() { + return this.budgetAt; + } + get [S$.$time]() { + return this.time; + } +}; +dart.addTypeTests(html$.BudgetState); +dart.addTypeCaches(html$.BudgetState); +dart.setGetterSignature(html$.BudgetState, () => ({ + __proto__: dart.getGetters(html$.BudgetState.__proto__), + [S$.$budgetAt]: dart.nullable(core.num), + [S$.$time]: dart.nullable(core.int) +})); +dart.setLibraryUri(html$.BudgetState, I[148]); +dart.registerExtension("BudgetState", html$.BudgetState); +html$.ButtonElement = class ButtonElement extends html$.HtmlElement { + static new() { + return html$.document.createElement("button"); + } + get [S$.$autofocus]() { + return this.autofocus; + } + set [S$.$autofocus](value) { + this.autofocus = value; + } + get [S$.$disabled]() { + return this.disabled; + } + set [S$.$disabled](value) { + this.disabled = value; + } + get [S$.$form]() { + return this.form; + } + get [S$.$formAction]() { + return this.formAction; + } + set [S$.$formAction](value) { + this.formAction = value; + } + get [S$.$formEnctype]() { + return this.formEnctype; + } + set [S$.$formEnctype](value) { + this.formEnctype = value; + } + get [S$.$formMethod]() { + return this.formMethod; + } + set [S$.$formMethod](value) { + this.formMethod = value; + } + get [S$.$formNoValidate]() { + return this.formNoValidate; + } + set [S$.$formNoValidate](value) { + this.formNoValidate = value; + } + get [S$.$formTarget]() { + return this.formTarget; + } + set [S$.$formTarget](value) { + this.formTarget = value; + } + get [S$.$labels]() { + return this.labels; + } + get [$name]() { + return this.name; + } + set [$name](value) { + this.name = value; + } + get [S.$type]() { + return this.type; + } + set [S.$type](value) { + this.type = value; + } + get [S$.$validationMessage]() { + return this.validationMessage; + } + get [S$.$validity]() { + return this.validity; + } + get [S.$value]() { + return this.value; + } + set [S.$value](value) { + this.value = value; + } + get [S$.$willValidate]() { + return this.willValidate; + } + [S$.$checkValidity](...args) { + return this.checkValidity.apply(this, args); + } + [S$.$reportValidity](...args) { + return this.reportValidity.apply(this, args); + } + [S$.$setCustomValidity](...args) { + return this.setCustomValidity.apply(this, args); + } +}; +(html$.ButtonElement.created = function() { + html$.ButtonElement.__proto__.created.call(this); + ; +}).prototype = html$.ButtonElement.prototype; +dart.addTypeTests(html$.ButtonElement); +dart.addTypeCaches(html$.ButtonElement); +dart.setMethodSignature(html$.ButtonElement, () => ({ + __proto__: dart.getMethods(html$.ButtonElement.__proto__), + [S$.$checkValidity]: dart.fnType(core.bool, []), + [S$.$reportValidity]: dart.fnType(core.bool, []), + [S$.$setCustomValidity]: dart.fnType(dart.void, [core.String]) +})); +dart.setGetterSignature(html$.ButtonElement, () => ({ + __proto__: dart.getGetters(html$.ButtonElement.__proto__), + [S$.$autofocus]: core.bool, + [S$.$disabled]: core.bool, + [S$.$form]: dart.nullable(html$.FormElement), + [S$.$formAction]: dart.nullable(core.String), + [S$.$formEnctype]: dart.nullable(core.String), + [S$.$formMethod]: dart.nullable(core.String), + [S$.$formNoValidate]: core.bool, + [S$.$formTarget]: core.String, + [S$.$labels]: dart.nullable(core.List$(html$.Node)), + [$name]: core.String, + [S.$type]: core.String, + [S$.$validationMessage]: core.String, + [S$.$validity]: html$.ValidityState, + [S.$value]: core.String, + [S$.$willValidate]: core.bool +})); +dart.setSetterSignature(html$.ButtonElement, () => ({ + __proto__: dart.getSetters(html$.ButtonElement.__proto__), + [S$.$autofocus]: core.bool, + [S$.$disabled]: core.bool, + [S$.$formAction]: dart.nullable(core.String), + [S$.$formEnctype]: dart.nullable(core.String), + [S$.$formMethod]: dart.nullable(core.String), + [S$.$formNoValidate]: core.bool, + [S$.$formTarget]: core.String, + [$name]: core.String, + [S.$type]: core.String, + [S.$value]: core.String +})); +dart.setLibraryUri(html$.ButtonElement, I[148]); +dart.registerExtension("HTMLButtonElement", html$.ButtonElement); +html$.CharacterData = class CharacterData extends html$.Node { + get [S$.$data]() { + return this.data; + } + set [S$.$data](value) { + this.data = value; + } + get [$length]() { + return this.length; + } + [S$.$appendData](...args) { + return this.appendData.apply(this, args); + } + [S$.$deleteData](...args) { + return this.deleteData.apply(this, args); + } + [S$.$insertData](...args) { + return this.insertData.apply(this, args); + } + [S$.$replaceData](...args) { + return this.replaceData.apply(this, args); + } + [S$.$substringData](...args) { + return this.substringData.apply(this, args); + } + [S.$after](...args) { + return this.after.apply(this, args); + } + [S.$before](...args) { + return this.before.apply(this, args); + } + get [S.$nextElementSibling]() { + return this.nextElementSibling; + } + get [S.$previousElementSibling]() { + return this.previousElementSibling; + } +}; +dart.addTypeTests(html$.CharacterData); +dart.addTypeCaches(html$.CharacterData); +html$.CharacterData[dart.implements] = () => [html$.NonDocumentTypeChildNode, html$.ChildNode]; +dart.setMethodSignature(html$.CharacterData, () => ({ + __proto__: dart.getMethods(html$.CharacterData.__proto__), + [S$.$appendData]: dart.fnType(dart.void, [core.String]), + [S$.$deleteData]: dart.fnType(dart.void, [core.int, core.int]), + [S$.$insertData]: dart.fnType(dart.void, [core.int, core.String]), + [S$.$replaceData]: dart.fnType(dart.void, [core.int, core.int, core.String]), + [S$.$substringData]: dart.fnType(core.String, [core.int, core.int]), + [S.$after]: dart.fnType(dart.void, [core.Object]), + [S.$before]: dart.fnType(dart.void, [core.Object]) +})); +dart.setGetterSignature(html$.CharacterData, () => ({ + __proto__: dart.getGetters(html$.CharacterData.__proto__), + [S$.$data]: dart.nullable(core.String), + [$length]: dart.nullable(core.int), + [S.$nextElementSibling]: dart.nullable(html$.Element), + [S.$previousElementSibling]: dart.nullable(html$.Element) +})); +dart.setSetterSignature(html$.CharacterData, () => ({ + __proto__: dart.getSetters(html$.CharacterData.__proto__), + [S$.$data]: dart.nullable(core.String) +})); +dart.setLibraryUri(html$.CharacterData, I[148]); +dart.registerExtension("CharacterData", html$.CharacterData); +html$.Text = class Text extends html$.CharacterData { + static new(data) { + if (data == null) dart.nullFailed(I[147], 29705, 23, "data"); + return html$.document.createTextNode(data); + } + get [S.$assignedSlot]() { + return this.assignedSlot; + } + get [S$.$wholeText]() { + return this.wholeText; + } + [S.$getDestinationInsertionPoints](...args) { + return this.getDestinationInsertionPoints.apply(this, args); + } + [S$.$splitText](...args) { + return this.splitText.apply(this, args); + } +}; +dart.addTypeTests(html$.Text); +dart.addTypeCaches(html$.Text); +dart.setMethodSignature(html$.Text, () => ({ + __proto__: dart.getMethods(html$.Text.__proto__), + [S.$getDestinationInsertionPoints]: dart.fnType(core.List$(html$.Node), []), + [S$.$splitText]: dart.fnType(html$.Text, [core.int]) +})); +dart.setGetterSignature(html$.Text, () => ({ + __proto__: dart.getGetters(html$.Text.__proto__), + [S.$assignedSlot]: dart.nullable(html$.SlotElement), + [S$.$wholeText]: core.String +})); +dart.setLibraryUri(html$.Text, I[148]); +dart.registerExtension("Text", html$.Text); +html$.CDataSection = class CDataSection extends html$.Text {}; +dart.addTypeTests(html$.CDataSection); +dart.addTypeCaches(html$.CDataSection); +dart.setLibraryUri(html$.CDataSection, I[148]); +dart.registerExtension("CDATASection", html$.CDataSection); +html$.CacheStorage = class CacheStorage extends _interceptors.Interceptor { + [S.$delete](cacheName) { + if (cacheName == null) dart.nullFailed(I[147], 2015, 24, "cacheName"); + return js_util.promiseToFuture(dart.dynamic, this.delete(cacheName)); + } + [S$.$has](cacheName) { + if (cacheName == null) dart.nullFailed(I[147], 2018, 21, "cacheName"); + return js_util.promiseToFuture(dart.dynamic, this.has(cacheName)); + } + [$keys]() { + return js_util.promiseToFuture(dart.dynamic, this.keys()); + } + [S$.$match](request, options = null) { + let options_dict = null; + if (options != null) { + options_dict = html_common.convertDartToNative_Dictionary(options); + } + return js_util.promiseToFuture(dart.dynamic, this.match(request, options_dict)); + } + [S.$open](cacheName) { + if (cacheName == null) dart.nullFailed(I[147], 2032, 22, "cacheName"); + return js_util.promiseToFuture(dart.dynamic, this.open(cacheName)); + } +}; +dart.addTypeTests(html$.CacheStorage); +dart.addTypeCaches(html$.CacheStorage); +dart.setMethodSignature(html$.CacheStorage, () => ({ + __proto__: dart.getMethods(html$.CacheStorage.__proto__), + [S.$delete]: dart.fnType(async.Future, [core.String]), + [S$.$has]: dart.fnType(async.Future, [core.String]), + [$keys]: dart.fnType(async.Future, []), + [S$.$match]: dart.fnType(async.Future, [dart.dynamic], [dart.nullable(core.Map)]), + [S.$open]: dart.fnType(async.Future, [core.String]) +})); +dart.setLibraryUri(html$.CacheStorage, I[148]); +dart.registerExtension("CacheStorage", html$.CacheStorage); +html$.CanMakePaymentEvent = class CanMakePaymentEvent$ extends html$.ExtendableEvent { + static new(type, eventInitDict) { + if (type == null) dart.nullFailed(I[147], 2046, 38, "type"); + if (eventInitDict == null) dart.nullFailed(I[147], 2046, 48, "eventInitDict"); + let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); + return html$.CanMakePaymentEvent._create_1(type, eventInitDict_1); + } + static _create_1(type, eventInitDict) { + return new CanMakePaymentEvent(type, eventInitDict); + } + get [S$.$methodData]() { + return this.methodData; + } + get [S$.$modifiers]() { + return this.modifiers; + } + get [S$.$paymentRequestOrigin]() { + return this.paymentRequestOrigin; + } + get [S$.$topLevelOrigin]() { + return this.topLevelOrigin; + } + [S$.$respondWith](...args) { + return this.respondWith.apply(this, args); + } +}; +dart.addTypeTests(html$.CanMakePaymentEvent); +dart.addTypeCaches(html$.CanMakePaymentEvent); +dart.setMethodSignature(html$.CanMakePaymentEvent, () => ({ + __proto__: dart.getMethods(html$.CanMakePaymentEvent.__proto__), + [S$.$respondWith]: dart.fnType(dart.void, [async.Future]) +})); +dart.setGetterSignature(html$.CanMakePaymentEvent, () => ({ + __proto__: dart.getGetters(html$.CanMakePaymentEvent.__proto__), + [S$.$methodData]: dart.nullable(core.List), + [S$.$modifiers]: dart.nullable(core.List), + [S$.$paymentRequestOrigin]: dart.nullable(core.String), + [S$.$topLevelOrigin]: dart.nullable(core.String) +})); +dart.setLibraryUri(html$.CanMakePaymentEvent, I[148]); +dart.registerExtension("CanMakePaymentEvent", html$.CanMakePaymentEvent); +html$.MediaStreamTrack = class MediaStreamTrack extends html$.EventTarget { + get [S$.$contentHint]() { + return this.contentHint; + } + set [S$.$contentHint](value) { + this.contentHint = value; + } + get [S$.$enabled]() { + return this.enabled; + } + set [S$.$enabled](value) { + this.enabled = value; + } + get [S.$id]() { + return this.id; + } + get [S$.$kind]() { + return this.kind; + } + get [S$.$label]() { + return this.label; + } + get [S$.$muted]() { + return this.muted; + } + get [S.$readyState]() { + return this.readyState; + } + [S$.$applyConstraints](constraints = null) { + let constraints_dict = null; + if (constraints != null) { + constraints_dict = html_common.convertDartToNative_Dictionary(constraints); + } + return js_util.promiseToFuture(dart.dynamic, this.applyConstraints(constraints_dict)); + } + [S$.$clone](...args) { + return this.clone.apply(this, args); + } + [S$.$getCapabilities]() { + return dart.nullCheck(html_common.convertNativeToDart_Dictionary(this[S$._getCapabilities_1]())); + } + [S$._getCapabilities_1](...args) { + return this.getCapabilities.apply(this, args); + } + [S$.$getConstraints]() { + return dart.nullCheck(html_common.convertNativeToDart_Dictionary(this[S$._getConstraints_1]())); + } + [S$._getConstraints_1](...args) { + return this.getConstraints.apply(this, args); + } + [S$.$getSettings]() { + return dart.nullCheck(html_common.convertNativeToDart_Dictionary(this[S$._getSettings_1]())); + } + [S$._getSettings_1](...args) { + return this.getSettings.apply(this, args); + } + [S$.$stop](...args) { + return this.stop.apply(this, args); + } + get [S.$onEnded]() { + return html$.MediaStreamTrack.endedEvent.forTarget(this); + } + get [S$.$onMute]() { + return html$.MediaStreamTrack.muteEvent.forTarget(this); + } + get [S$.$onUnmute]() { + return html$.MediaStreamTrack.unmuteEvent.forTarget(this); + } +}; +dart.addTypeTests(html$.MediaStreamTrack); +dart.addTypeCaches(html$.MediaStreamTrack); +dart.setMethodSignature(html$.MediaStreamTrack, () => ({ + __proto__: dart.getMethods(html$.MediaStreamTrack.__proto__), + [S$.$applyConstraints]: dart.fnType(async.Future, [], [dart.nullable(core.Map)]), + [S$.$clone]: dart.fnType(html$.MediaStreamTrack, []), + [S$.$getCapabilities]: dart.fnType(core.Map, []), + [S$._getCapabilities_1]: dart.fnType(dart.dynamic, []), + [S$.$getConstraints]: dart.fnType(core.Map, []), + [S$._getConstraints_1]: dart.fnType(dart.dynamic, []), + [S$.$getSettings]: dart.fnType(core.Map, []), + [S$._getSettings_1]: dart.fnType(dart.dynamic, []), + [S$.$stop]: dart.fnType(dart.void, []) +})); +dart.setGetterSignature(html$.MediaStreamTrack, () => ({ + __proto__: dart.getGetters(html$.MediaStreamTrack.__proto__), + [S$.$contentHint]: dart.nullable(core.String), + [S$.$enabled]: dart.nullable(core.bool), + [S.$id]: dart.nullable(core.String), + [S$.$kind]: dart.nullable(core.String), + [S$.$label]: dart.nullable(core.String), + [S$.$muted]: dart.nullable(core.bool), + [S.$readyState]: dart.nullable(core.String), + [S.$onEnded]: async.Stream$(html$.Event), + [S$.$onMute]: async.Stream$(html$.Event), + [S$.$onUnmute]: async.Stream$(html$.Event) +})); +dart.setSetterSignature(html$.MediaStreamTrack, () => ({ + __proto__: dart.getSetters(html$.MediaStreamTrack.__proto__), + [S$.$contentHint]: dart.nullable(core.String), + [S$.$enabled]: dart.nullable(core.bool) +})); +dart.setLibraryUri(html$.MediaStreamTrack, I[148]); +dart.defineLazy(html$.MediaStreamTrack, { + /*html$.MediaStreamTrack.endedEvent*/get endedEvent() { + return C[251] || CT.C251; + }, + /*html$.MediaStreamTrack.muteEvent*/get muteEvent() { + return C[318] || CT.C318; + }, + /*html$.MediaStreamTrack.unmuteEvent*/get unmuteEvent() { + return C[319] || CT.C319; + } +}, false); +dart.registerExtension("MediaStreamTrack", html$.MediaStreamTrack); +html$.CanvasCaptureMediaStreamTrack = class CanvasCaptureMediaStreamTrack extends html$.MediaStreamTrack { + get [S$.$canvas]() { + return this.canvas; + } + [S$.$requestFrame](...args) { + return this.requestFrame.apply(this, args); + } +}; +dart.addTypeTests(html$.CanvasCaptureMediaStreamTrack); +dart.addTypeCaches(html$.CanvasCaptureMediaStreamTrack); +dart.setMethodSignature(html$.CanvasCaptureMediaStreamTrack, () => ({ + __proto__: dart.getMethods(html$.CanvasCaptureMediaStreamTrack.__proto__), + [S$.$requestFrame]: dart.fnType(dart.void, []) +})); +dart.setGetterSignature(html$.CanvasCaptureMediaStreamTrack, () => ({ + __proto__: dart.getGetters(html$.CanvasCaptureMediaStreamTrack.__proto__), + [S$.$canvas]: dart.nullable(html$.CanvasElement) +})); +dart.setLibraryUri(html$.CanvasCaptureMediaStreamTrack, I[148]); +dart.registerExtension("CanvasCaptureMediaStreamTrack", html$.CanvasCaptureMediaStreamTrack); +html$.CanvasElement = class CanvasElement extends html$.HtmlElement { + static new(opts) { + let width = opts && 'width' in opts ? opts.width : null; + let height = opts && 'height' in opts ? opts.height : null; + let e = html$.document.createElement("canvas"); + if (width != null) e.width = width; + if (height != null) e.height = height; + return e; + } + get [$height]() { + return this.height; + } + set [$height](value) { + this.height = value; + } + get [$width]() { + return this.width; + } + set [$width](value) { + this.width = value; + } + [S$.$captureStream](...args) { + return this.captureStream.apply(this, args); + } + [S$.$getContext](contextId, attributes = null) { + if (contextId == null) dart.nullFailed(I[147], 2143, 29, "contextId"); + if (attributes != null) { + let attributes_1 = html_common.convertDartToNative_Dictionary(attributes); + return this[S$._getContext_1](contextId, attributes_1); + } + return this[S$._getContext_2](contextId); + } + [S$._getContext_1](...args) { + return this.getContext.apply(this, args); + } + [S$._getContext_2](...args) { + return this.getContext.apply(this, args); + } + [S$._toDataUrl](...args) { + return this.toDataURL.apply(this, args); + } + [S$.$transferControlToOffscreen](...args) { + return this.transferControlToOffscreen.apply(this, args); + } + get [S$.$onWebGlContextLost]() { + return html$.CanvasElement.webGlContextLostEvent.forElement(this); + } + get [S$.$onWebGlContextRestored]() { + return html$.CanvasElement.webGlContextRestoredEvent.forElement(this); + } + get [S$.$context2D]() { + return this.getContext("2d"); + } + [S$.$getContext3d](opts) { + let alpha = opts && 'alpha' in opts ? opts.alpha : true; + let depth = opts && 'depth' in opts ? opts.depth : true; + let stencil = opts && 'stencil' in opts ? opts.stencil : false; + let antialias = opts && 'antialias' in opts ? opts.antialias : true; + let premultipliedAlpha = opts && 'premultipliedAlpha' in opts ? opts.premultipliedAlpha : true; + let preserveDrawingBuffer = opts && 'preserveDrawingBuffer' in opts ? opts.preserveDrawingBuffer : false; + let options = new (T$0.IdentityMapOfString$dynamic()).from(["alpha", alpha, "depth", depth, "stencil", stencil, "antialias", antialias, "premultipliedAlpha", premultipliedAlpha, "preserveDrawingBuffer", preserveDrawingBuffer]); + let context = this[S$.$getContext]("webgl", options); + if (context == null) { + context = this[S$.$getContext]("experimental-webgl", options); + } + return web_gl.RenderingContext.as(context); + } + [S$.$toDataUrl](type = "image/png", quality = null) { + if (type == null) dart.nullFailed(I[147], 2251, 28, "type"); + return this[S$._toDataUrl](type, quality); + } + [S$._toBlob](...args) { + return this.toBlob.apply(this, args); + } + [S$.$toBlob](type = null, $arguments = null) { + let completer = T$0.CompleterOfBlob().new(); + this[S$._toBlob](dart.fn(value => { + completer.complete(value); + }, T$0.BlobNTovoid()), type, $arguments); + return completer.future; + } +}; +(html$.CanvasElement.created = function() { + html$.CanvasElement.__proto__.created.call(this); + ; +}).prototype = html$.CanvasElement.prototype; +dart.addTypeTests(html$.CanvasElement); +dart.addTypeCaches(html$.CanvasElement); +html$.CanvasElement[dart.implements] = () => [html$.CanvasImageSource]; +dart.setMethodSignature(html$.CanvasElement, () => ({ + __proto__: dart.getMethods(html$.CanvasElement.__proto__), + [S$.$captureStream]: dart.fnType(html$.MediaStream, [], [dart.nullable(core.num)]), + [S$.$getContext]: dart.fnType(dart.nullable(core.Object), [core.String], [dart.nullable(core.Map)]), + [S$._getContext_1]: dart.fnType(dart.nullable(core.Object), [dart.dynamic, dart.dynamic]), + [S$._getContext_2]: dart.fnType(dart.nullable(core.Object), [dart.dynamic]), + [S$._toDataUrl]: dart.fnType(core.String, [dart.nullable(core.String)], [dart.dynamic]), + [S$.$transferControlToOffscreen]: dart.fnType(html$.OffscreenCanvas, []), + [S$.$getContext3d]: dart.fnType(web_gl.RenderingContext, [], {alpha: dart.dynamic, antialias: dart.dynamic, depth: dart.dynamic, premultipliedAlpha: dart.dynamic, preserveDrawingBuffer: dart.dynamic, stencil: dart.dynamic}, {}), + [S$.$toDataUrl]: dart.fnType(core.String, [], [core.String, dart.nullable(core.num)]), + [S$._toBlob]: dart.fnType(dart.void, [dart.fnType(dart.void, [dart.nullable(html$.Blob)])], [dart.nullable(core.String), dart.nullable(core.Object)]), + [S$.$toBlob]: dart.fnType(async.Future$(html$.Blob), [], [dart.nullable(core.String), dart.nullable(core.Object)]) +})); +dart.setGetterSignature(html$.CanvasElement, () => ({ + __proto__: dart.getGetters(html$.CanvasElement.__proto__), + [$height]: dart.nullable(core.int), + [$width]: dart.nullable(core.int), + [S$.$onWebGlContextLost]: html$.ElementStream$(web_gl.ContextEvent), + [S$.$onWebGlContextRestored]: html$.ElementStream$(web_gl.ContextEvent), + [S$.$context2D]: html$.CanvasRenderingContext2D +})); +dart.setSetterSignature(html$.CanvasElement, () => ({ + __proto__: dart.getSetters(html$.CanvasElement.__proto__), + [$height]: dart.nullable(core.int), + [$width]: dart.nullable(core.int) +})); +dart.setLibraryUri(html$.CanvasElement, I[148]); +dart.defineLazy(html$.CanvasElement, { + /*html$.CanvasElement.webGlContextLostEvent*/get webGlContextLostEvent() { + return C[320] || CT.C320; + }, + /*html$.CanvasElement.webGlContextRestoredEvent*/get webGlContextRestoredEvent() { + return C[321] || CT.C321; + } +}, false); +dart.registerExtension("HTMLCanvasElement", html$.CanvasElement); +html$.CanvasGradient = class CanvasGradient extends _interceptors.Interceptor { + [S$.$addColorStop](...args) { + return this.addColorStop.apply(this, args); + } +}; +dart.addTypeTests(html$.CanvasGradient); +dart.addTypeCaches(html$.CanvasGradient); +dart.setMethodSignature(html$.CanvasGradient, () => ({ + __proto__: dart.getMethods(html$.CanvasGradient.__proto__), + [S$.$addColorStop]: dart.fnType(dart.void, [core.num, core.String]) +})); +dart.setLibraryUri(html$.CanvasGradient, I[148]); +dart.registerExtension("CanvasGradient", html$.CanvasGradient); +html$.CanvasPattern = class CanvasPattern extends _interceptors.Interceptor { + [S$.$setTransform](...args) { + return this.setTransform.apply(this, args); + } +}; +dart.addTypeTests(html$.CanvasPattern); +dart.addTypeCaches(html$.CanvasPattern); +dart.setMethodSignature(html$.CanvasPattern, () => ({ + __proto__: dart.getMethods(html$.CanvasPattern.__proto__), + [S$.$setTransform]: dart.fnType(dart.void, [svg$.Matrix]) +})); +dart.setLibraryUri(html$.CanvasPattern, I[148]); +dart.registerExtension("CanvasPattern", html$.CanvasPattern); +html$.CanvasRenderingContext = class CanvasRenderingContext extends core.Object {}; +(html$.CanvasRenderingContext.new = function() { + ; +}).prototype = html$.CanvasRenderingContext.prototype; +dart.addTypeTests(html$.CanvasRenderingContext); +dart.addTypeCaches(html$.CanvasRenderingContext); +dart.setLibraryUri(html$.CanvasRenderingContext, I[148]); +html$.CanvasRenderingContext2D = class CanvasRenderingContext2D extends _interceptors.Interceptor { + get [S$.$canvas]() { + return this.canvas; + } + get [S$.$currentTransform]() { + return this.currentTransform; + } + set [S$.$currentTransform](value) { + this.currentTransform = value; + } + get [S.$direction]() { + return this.direction; + } + set [S.$direction](value) { + this.direction = value; + } + get [S$.$fillStyle]() { + return this.fillStyle; + } + set [S$.$fillStyle](value) { + this.fillStyle = value; + } + get [S$.$filter]() { + return this.filter; + } + set [S$.$filter](value) { + this.filter = value; + } + get [S$.$font]() { + return this.font; + } + set [S$.$font](value) { + this.font = value; + } + get [S$.$globalAlpha]() { + return this.globalAlpha; + } + set [S$.$globalAlpha](value) { + this.globalAlpha = value; + } + get [S$.$globalCompositeOperation]() { + return this.globalCompositeOperation; + } + set [S$.$globalCompositeOperation](value) { + this.globalCompositeOperation = value; + } + get [S$.$imageSmoothingEnabled]() { + return this.imageSmoothingEnabled; + } + set [S$.$imageSmoothingEnabled](value) { + this.imageSmoothingEnabled = value; + } + get [S$.$imageSmoothingQuality]() { + return this.imageSmoothingQuality; + } + set [S$.$imageSmoothingQuality](value) { + this.imageSmoothingQuality = value; + } + get [S$.$lineCap]() { + return this.lineCap; + } + set [S$.$lineCap](value) { + this.lineCap = value; + } + get [S$.$lineJoin]() { + return this.lineJoin; + } + set [S$.$lineJoin](value) { + this.lineJoin = value; + } + get [S$.$lineWidth]() { + return this.lineWidth; + } + set [S$.$lineWidth](value) { + this.lineWidth = value; + } + get [S$.$miterLimit]() { + return this.miterLimit; + } + set [S$.$miterLimit](value) { + this.miterLimit = value; + } + get [S$.$shadowBlur]() { + return this.shadowBlur; + } + set [S$.$shadowBlur](value) { + this.shadowBlur = value; + } + get [S$.$shadowColor]() { + return this.shadowColor; + } + set [S$.$shadowColor](value) { + this.shadowColor = value; + } + get [S$.$shadowOffsetX]() { + return this.shadowOffsetX; + } + set [S$.$shadowOffsetX](value) { + this.shadowOffsetX = value; + } + get [S$.$shadowOffsetY]() { + return this.shadowOffsetY; + } + set [S$.$shadowOffsetY](value) { + this.shadowOffsetY = value; + } + get [S$.$strokeStyle]() { + return this.strokeStyle; + } + set [S$.$strokeStyle](value) { + this.strokeStyle = value; + } + get [S$.$textAlign]() { + return this.textAlign; + } + set [S$.$textAlign](value) { + this.textAlign = value; + } + get [S$.$textBaseline]() { + return this.textBaseline; + } + set [S$.$textBaseline](value) { + this.textBaseline = value; + } + [S$.$addHitRegion](options = null) { + if (options != null) { + let options_1 = html_common.convertDartToNative_Dictionary(options); + this[S$._addHitRegion_1](options_1); + return; + } + this[S$._addHitRegion_2](); + return; + } + [S$._addHitRegion_1](...args) { + return this.addHitRegion.apply(this, args); + } + [S$._addHitRegion_2](...args) { + return this.addHitRegion.apply(this, args); + } + [S$.$beginPath](...args) { + return this.beginPath.apply(this, args); + } + [S$.$clearHitRegions](...args) { + return this.clearHitRegions.apply(this, args); + } + [S$.$clearRect](...args) { + return this.clearRect.apply(this, args); + } + [S$.$clip](...args) { + return this.clip.apply(this, args); + } + [S$.$createImageData](data_OR_imagedata_OR_sw, sh_OR_sw = null, imageDataColorSettings_OR_sh = null, imageDataColorSettings = null) { + if (html$.ImageData.is(data_OR_imagedata_OR_sw) && sh_OR_sw == null && imageDataColorSettings_OR_sh == null && imageDataColorSettings == null) { + let imagedata_1 = html_common.convertDartToNative_ImageData(data_OR_imagedata_OR_sw); + return html_common.convertNativeToDart_ImageData(this[S$._createImageData_1](imagedata_1)); + } + if (sh_OR_sw != null && core.int.is(data_OR_imagedata_OR_sw) && imageDataColorSettings_OR_sh == null && imageDataColorSettings == null) { + return html_common.convertNativeToDart_ImageData(this[S$._createImageData_2](data_OR_imagedata_OR_sw, sh_OR_sw)); + } + if (core.Map.is(imageDataColorSettings_OR_sh) && sh_OR_sw != null && core.int.is(data_OR_imagedata_OR_sw) && imageDataColorSettings == null) { + let imageDataColorSettings_1 = html_common.convertDartToNative_Dictionary(imageDataColorSettings_OR_sh); + return html_common.convertNativeToDart_ImageData(this[S$._createImageData_3](data_OR_imagedata_OR_sw, sh_OR_sw, imageDataColorSettings_1)); + } + if (core.int.is(imageDataColorSettings_OR_sh) && sh_OR_sw != null && data_OR_imagedata_OR_sw != null && imageDataColorSettings == null) { + return html_common.convertNativeToDart_ImageData(this[S$._createImageData_4](data_OR_imagedata_OR_sw, sh_OR_sw, imageDataColorSettings_OR_sh)); + } + if (imageDataColorSettings != null && core.int.is(imageDataColorSettings_OR_sh) && sh_OR_sw != null && data_OR_imagedata_OR_sw != null) { + let imageDataColorSettings_1 = html_common.convertDartToNative_Dictionary(imageDataColorSettings); + return html_common.convertNativeToDart_ImageData(this[S$._createImageData_5](data_OR_imagedata_OR_sw, sh_OR_sw, imageDataColorSettings_OR_sh, imageDataColorSettings_1)); + } + dart.throw(new core.ArgumentError.new("Incorrect number or type of arguments")); + } + [S$._createImageData_1](...args) { + return this.createImageData.apply(this, args); + } + [S$._createImageData_2](...args) { + return this.createImageData.apply(this, args); + } + [S$._createImageData_3](...args) { + return this.createImageData.apply(this, args); + } + [S$._createImageData_4](...args) { + return this.createImageData.apply(this, args); + } + [S$._createImageData_5](...args) { + return this.createImageData.apply(this, args); + } + [S$.$createLinearGradient](...args) { + return this.createLinearGradient.apply(this, args); + } + [S$.$createPattern](...args) { + return this.createPattern.apply(this, args); + } + [S$.$createRadialGradient](...args) { + return this.createRadialGradient.apply(this, args); + } + [S$.$drawFocusIfNeeded](...args) { + return this.drawFocusIfNeeded.apply(this, args); + } + [S$.$fill](...args) { + return this.fill.apply(this, args); + } + [S$.$fillRect](...args) { + return this.fillRect.apply(this, args); + } + [S$.$getContextAttributes]() { + return dart.nullCheck(html_common.convertNativeToDart_Dictionary(this[S$._getContextAttributes_1]())); + } + [S$._getContextAttributes_1](...args) { + return this.getContextAttributes.apply(this, args); + } + [S$.$getImageData](sx, sy, sw, sh) { + if (sx == null) dart.nullFailed(I[147], 2581, 30, "sx"); + if (sy == null) dart.nullFailed(I[147], 2581, 38, "sy"); + if (sw == null) dart.nullFailed(I[147], 2581, 46, "sw"); + if (sh == null) dart.nullFailed(I[147], 2581, 54, "sh"); + return html_common.convertNativeToDart_ImageData(this[S$._getImageData_1](sx, sy, sw, sh)); + } + [S$._getImageData_1](...args) { + return this.getImageData.apply(this, args); + } + [S$._getLineDash](...args) { + return this.getLineDash.apply(this, args); + } + [S$.$isContextLost](...args) { + return this.isContextLost.apply(this, args); + } + [S$.$isPointInPath](...args) { + return this.isPointInPath.apply(this, args); + } + [S$.$isPointInStroke](...args) { + return this.isPointInStroke.apply(this, args); + } + [S$.$measureText](...args) { + return this.measureText.apply(this, args); + } + [S$.$putImageData](imagedata, dx, dy, dirtyX = null, dirtyY = null, dirtyWidth = null, dirtyHeight = null) { + if (imagedata == null) dart.nullFailed(I[147], 2601, 31, "imagedata"); + if (dx == null) dart.nullFailed(I[147], 2601, 46, "dx"); + if (dy == null) dart.nullFailed(I[147], 2601, 54, "dy"); + if (dirtyX == null && dirtyY == null && dirtyWidth == null && dirtyHeight == null) { + let imagedata_1 = html_common.convertDartToNative_ImageData(imagedata); + this[S$._putImageData_1](imagedata_1, dx, dy); + return; + } + if (dirtyHeight != null && dirtyWidth != null && dirtyY != null && dirtyX != null) { + let imagedata_1 = html_common.convertDartToNative_ImageData(imagedata); + this[S$._putImageData_2](imagedata_1, dx, dy, dirtyX, dirtyY, dirtyWidth, dirtyHeight); + return; + } + dart.throw(new core.ArgumentError.new("Incorrect number or type of arguments")); + } + [S$._putImageData_1](...args) { + return this.putImageData.apply(this, args); + } + [S$._putImageData_2](...args) { + return this.putImageData.apply(this, args); + } + [S$.$removeHitRegion](...args) { + return this.removeHitRegion.apply(this, args); + } + [S$.$resetTransform](...args) { + return this.resetTransform.apply(this, args); + } + [S$.$restore](...args) { + return this.restore.apply(this, args); + } + [S$.$rotate](...args) { + return this.rotate.apply(this, args); + } + [S$.$save](...args) { + return this.save.apply(this, args); + } + [S$.$scale](...args) { + return this.scale.apply(this, args); + } + [S$.$scrollPathIntoView](...args) { + return this.scrollPathIntoView.apply(this, args); + } + [S$.$setTransform](...args) { + return this.setTransform.apply(this, args); + } + [S$.$stroke](...args) { + return this.stroke.apply(this, args); + } + [S$.$strokeRect](...args) { + return this.strokeRect.apply(this, args); + } + [S$.$strokeText](...args) { + return this.strokeText.apply(this, args); + } + [S$.$transform](...args) { + return this.transform.apply(this, args); + } + [S.$translate](...args) { + return this.translate.apply(this, args); + } + [S$._arc](...args) { + return this.arc.apply(this, args); + } + [S$.$arcTo](...args) { + return this.arcTo.apply(this, args); + } + [S$.$bezierCurveTo](...args) { + return this.bezierCurveTo.apply(this, args); + } + [S$.$closePath](...args) { + return this.closePath.apply(this, args); + } + [S$.$ellipse](...args) { + return this.ellipse.apply(this, args); + } + [S$.$lineTo](...args) { + return this.lineTo.apply(this, args); + } + [S$.$moveTo](...args) { + return this.moveTo.apply(this, args); + } + [S$.$quadraticCurveTo](...args) { + return this.quadraticCurveTo.apply(this, args); + } + [S$.$rect](...args) { + return this.rect.apply(this, args); + } + [S$.$createImageDataFromImageData](imagedata) { + if (imagedata == null) dart.nullFailed(I[147], 2679, 52, "imagedata"); + return this.createImageData(imagedata); + } + [S$.$setFillColorRgb](r, g, b, a = 1) { + if (r == null) dart.nullFailed(I[147], 2686, 28, "r"); + if (g == null) dart.nullFailed(I[147], 2686, 35, "g"); + if (b == null) dart.nullFailed(I[147], 2686, 42, "b"); + if (a == null) dart.nullFailed(I[147], 2686, 50, "a"); + this.fillStyle = "rgba(" + dart.str(r) + ", " + dart.str(g) + ", " + dart.str(b) + ", " + dart.str(a) + ")"; + } + [S$.$setFillColorHsl](h, s, l, a = 1) { + if (h == null) dart.nullFailed(I[147], 2696, 28, "h"); + if (s == null) dart.nullFailed(I[147], 2696, 35, "s"); + if (l == null) dart.nullFailed(I[147], 2696, 42, "l"); + if (a == null) dart.nullFailed(I[147], 2696, 50, "a"); + this.fillStyle = "hsla(" + dart.str(h) + ", " + dart.str(s) + "%, " + dart.str(l) + "%, " + dart.str(a) + ")"; + } + [S$.$setStrokeColorRgb](r, g, b, a = 1) { + if (r == null) dart.nullFailed(I[147], 2704, 30, "r"); + if (g == null) dart.nullFailed(I[147], 2704, 37, "g"); + if (b == null) dart.nullFailed(I[147], 2704, 44, "b"); + if (a == null) dart.nullFailed(I[147], 2704, 52, "a"); + this.strokeStyle = "rgba(" + dart.str(r) + ", " + dart.str(g) + ", " + dart.str(b) + ", " + dart.str(a) + ")"; + } + [S$.$setStrokeColorHsl](h, s, l, a = 1) { + if (h == null) dart.nullFailed(I[147], 2714, 30, "h"); + if (s == null) dart.nullFailed(I[147], 2714, 37, "s"); + if (l == null) dart.nullFailed(I[147], 2714, 44, "l"); + if (a == null) dart.nullFailed(I[147], 2714, 52, "a"); + this.strokeStyle = "hsla(" + dart.str(h) + ", " + dart.str(s) + "%, " + dart.str(l) + "%, " + dart.str(a) + ")"; + } + [S$.$arc](x, y, radius, startAngle, endAngle, anticlockwise = false) { + if (x == null) dart.nullFailed(I[147], 2718, 16, "x"); + if (y == null) dart.nullFailed(I[147], 2718, 23, "y"); + if (radius == null) dart.nullFailed(I[147], 2718, 30, "radius"); + if (startAngle == null) dart.nullFailed(I[147], 2718, 42, "startAngle"); + if (endAngle == null) dart.nullFailed(I[147], 2718, 58, "endAngle"); + if (anticlockwise == null) dart.nullFailed(I[147], 2719, 13, "anticlockwise"); + this.arc(x, y, radius, startAngle, endAngle, anticlockwise); + } + [S$.$createPatternFromImage](image, repetitionType) { + if (image == null) dart.nullFailed(I[147], 2726, 24, "image"); + if (repetitionType == null) dart.nullFailed(I[147], 2726, 38, "repetitionType"); + return this.createPattern(image, repetitionType); + } + [S$.$drawImageToRect](source, destRect, opts) { + if (source == null) dart.nullFailed(I[147], 2769, 42, "source"); + if (destRect == null) dart.nullFailed(I[147], 2769, 60, "destRect"); + let sourceRect = opts && 'sourceRect' in opts ? opts.sourceRect : null; + if (sourceRect == null) { + this[S$.$drawImageScaled](source, destRect[$left], destRect[$top], destRect[$width], destRect[$height]); + } else { + this[S$.$drawImageScaledFromSource](source, sourceRect[$left], sourceRect[$top], sourceRect[$width], sourceRect[$height], destRect[$left], destRect[$top], destRect[$width], destRect[$height]); + } + } + [S$.$drawImage](...args) { + return this.drawImage.apply(this, args); + } + [S$.$drawImageScaled](...args) { + return this.drawImage.apply(this, args); + } + [S$.$drawImageScaledFromSource](...args) { + return this.drawImage.apply(this, args); + } + get [S$.$lineDashOffset]() { + return this.lineDashOffset || this.webkitLineDashOffset; + } + set [S$.$lineDashOffset](value) { + if (value == null) dart.nullFailed(I[147], 2906, 26, "value"); + typeof this.lineDashOffset != "undefined" ? this.lineDashOffset = value : this.webkitLineDashOffset = value; + } + [S$.$getLineDash]() { + if (!!this.getLineDash) { + return this.getLineDash(); + } else if (!!this.webkitLineDash) { + return this.webkitLineDash; + } + return T$0.JSArrayOfnum().of([]); + } + [S$.$setLineDash](dash) { + if (dash == null) dart.nullFailed(I[147], 2937, 30, "dash"); + if (!!this.setLineDash) { + this.setLineDash(dash); + } else if (!!this.webkitLineDash) { + this.webkitLineDash = dash; + } + } + [S$.$fillText](text, x, y, maxWidth = null) { + if (text == null) dart.nullFailed(I[147], 2961, 24, "text"); + if (x == null) dart.nullFailed(I[147], 2961, 34, "x"); + if (y == null) dart.nullFailed(I[147], 2961, 41, "y"); + if (maxWidth != null) { + this.fillText(text, x, y, maxWidth); + } else { + this.fillText(text, x, y); + } + } + get [S$.$backingStorePixelRatio]() { + return 1.0; + } +}; +dart.addTypeTests(html$.CanvasRenderingContext2D); +dart.addTypeCaches(html$.CanvasRenderingContext2D); +html$.CanvasRenderingContext2D[dart.implements] = () => [html$.CanvasRenderingContext]; +dart.setMethodSignature(html$.CanvasRenderingContext2D, () => ({ + __proto__: dart.getMethods(html$.CanvasRenderingContext2D.__proto__), + [S$.$addHitRegion]: dart.fnType(dart.void, [], [dart.nullable(core.Map)]), + [S$._addHitRegion_1]: dart.fnType(dart.void, [dart.dynamic]), + [S$._addHitRegion_2]: dart.fnType(dart.void, []), + [S$.$beginPath]: dart.fnType(dart.void, []), + [S$.$clearHitRegions]: dart.fnType(dart.void, []), + [S$.$clearRect]: dart.fnType(dart.void, [core.num, core.num, core.num, core.num]), + [S$.$clip]: dart.fnType(dart.void, [], [dart.dynamic, dart.nullable(core.String)]), + [S$.$createImageData]: dart.fnType(html$.ImageData, [dart.dynamic], [dart.nullable(core.int), dart.dynamic, dart.nullable(core.Map)]), + [S$._createImageData_1]: dart.fnType(dart.dynamic, [dart.dynamic]), + [S$._createImageData_2]: dart.fnType(dart.dynamic, [core.int, dart.dynamic]), + [S$._createImageData_3]: dart.fnType(dart.dynamic, [core.int, dart.dynamic, dart.dynamic]), + [S$._createImageData_4]: dart.fnType(dart.dynamic, [dart.dynamic, dart.dynamic, dart.nullable(core.int)]), + [S$._createImageData_5]: dart.fnType(dart.dynamic, [dart.dynamic, dart.dynamic, dart.nullable(core.int), dart.dynamic]), + [S$.$createLinearGradient]: dart.fnType(html$.CanvasGradient, [core.num, core.num, core.num, core.num]), + [S$.$createPattern]: dart.fnType(dart.nullable(html$.CanvasPattern), [core.Object, core.String]), + [S$.$createRadialGradient]: dart.fnType(html$.CanvasGradient, [core.num, core.num, core.num, core.num, core.num, core.num]), + [S$.$drawFocusIfNeeded]: dart.fnType(dart.void, [dart.dynamic], [dart.nullable(html$.Element)]), + [S$.$fill]: dart.fnType(dart.void, [], [dart.dynamic, dart.nullable(core.String)]), + [S$.$fillRect]: dart.fnType(dart.void, [core.num, core.num, core.num, core.num]), + [S$.$getContextAttributes]: dart.fnType(core.Map, []), + [S$._getContextAttributes_1]: dart.fnType(dart.dynamic, []), + [S$.$getImageData]: dart.fnType(html$.ImageData, [core.int, core.int, core.int, core.int]), + [S$._getImageData_1]: dart.fnType(dart.dynamic, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic]), + [S$._getLineDash]: dart.fnType(core.List$(core.num), []), + [S$.$isContextLost]: dart.fnType(core.bool, []), + [S$.$isPointInPath]: dart.fnType(core.bool, [dart.dynamic, core.num], [dart.dynamic, dart.nullable(core.String)]), + [S$.$isPointInStroke]: dart.fnType(core.bool, [dart.dynamic, core.num], [dart.nullable(core.num)]), + [S$.$measureText]: dart.fnType(html$.TextMetrics, [core.String]), + [S$.$putImageData]: dart.fnType(dart.void, [html$.ImageData, core.int, core.int], [dart.nullable(core.int), dart.nullable(core.int), dart.nullable(core.int), dart.nullable(core.int)]), + [S$._putImageData_1]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic]), + [S$._putImageData_2]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic]), + [S$.$removeHitRegion]: dart.fnType(dart.void, [core.String]), + [S$.$resetTransform]: dart.fnType(dart.void, []), + [S$.$restore]: dart.fnType(dart.void, []), + [S$.$rotate]: dart.fnType(dart.void, [core.num]), + [S$.$save]: dart.fnType(dart.void, []), + [S$.$scale]: dart.fnType(dart.void, [core.num, core.num]), + [S$.$scrollPathIntoView]: dart.fnType(dart.void, [], [dart.nullable(html$.Path2D)]), + [S$.$setTransform]: dart.fnType(dart.void, [core.num, core.num, core.num, core.num, core.num, core.num]), + [S$.$stroke]: dart.fnType(dart.void, [], [dart.nullable(html$.Path2D)]), + [S$.$strokeRect]: dart.fnType(dart.void, [core.num, core.num, core.num, core.num]), + [S$.$strokeText]: dart.fnType(dart.void, [core.String, core.num, core.num], [dart.nullable(core.num)]), + [S$.$transform]: dart.fnType(dart.void, [core.num, core.num, core.num, core.num, core.num, core.num]), + [S.$translate]: dart.fnType(dart.void, [core.num, core.num]), + [S$._arc]: dart.fnType(dart.void, [core.num, core.num, core.num, core.num, core.num, dart.nullable(core.bool)]), + [S$.$arcTo]: dart.fnType(dart.void, [core.num, core.num, core.num, core.num, core.num]), + [S$.$bezierCurveTo]: dart.fnType(dart.void, [core.num, core.num, core.num, core.num, core.num, core.num]), + [S$.$closePath]: dart.fnType(dart.void, []), + [S$.$ellipse]: dart.fnType(dart.void, [core.num, core.num, core.num, core.num, core.num, core.num, core.num, dart.nullable(core.bool)]), + [S$.$lineTo]: dart.fnType(dart.void, [core.num, core.num]), + [S$.$moveTo]: dart.fnType(dart.void, [core.num, core.num]), + [S$.$quadraticCurveTo]: dart.fnType(dart.void, [core.num, core.num, core.num, core.num]), + [S$.$rect]: dart.fnType(dart.void, [core.num, core.num, core.num, core.num]), + [S$.$createImageDataFromImageData]: dart.fnType(html$.ImageData, [html$.ImageData]), + [S$.$setFillColorRgb]: dart.fnType(dart.void, [core.int, core.int, core.int], [core.num]), + [S$.$setFillColorHsl]: dart.fnType(dart.void, [core.int, core.num, core.num], [core.num]), + [S$.$setStrokeColorRgb]: dart.fnType(dart.void, [core.int, core.int, core.int], [core.num]), + [S$.$setStrokeColorHsl]: dart.fnType(dart.void, [core.int, core.num, core.num], [core.num]), + [S$.$arc]: dart.fnType(dart.void, [core.num, core.num, core.num, core.num, core.num], [core.bool]), + [S$.$createPatternFromImage]: dart.fnType(html$.CanvasPattern, [html$.ImageElement, core.String]), + [S$.$drawImageToRect]: dart.fnType(dart.void, [html$.CanvasImageSource, math.Rectangle$(core.num)], {sourceRect: dart.nullable(math.Rectangle$(core.num))}, {}), + [S$.$drawImage]: dart.fnType(dart.void, [html$.CanvasImageSource, core.num, core.num]), + [S$.$drawImageScaled]: dart.fnType(dart.void, [html$.CanvasImageSource, core.num, core.num, core.num, core.num]), + [S$.$drawImageScaledFromSource]: dart.fnType(dart.void, [html$.CanvasImageSource, core.num, core.num, core.num, core.num, core.num, core.num, core.num, core.num]), + [S$.$getLineDash]: dart.fnType(core.List$(core.num), []), + [S$.$setLineDash]: dart.fnType(dart.void, [core.List$(core.num)]), + [S$.$fillText]: dart.fnType(dart.void, [core.String, core.num, core.num], [dart.nullable(core.num)]) +})); +dart.setGetterSignature(html$.CanvasRenderingContext2D, () => ({ + __proto__: dart.getGetters(html$.CanvasRenderingContext2D.__proto__), + [S$.$canvas]: html$.CanvasElement, + [S$.$currentTransform]: dart.nullable(svg$.Matrix), + [S.$direction]: dart.nullable(core.String), + [S$.$fillStyle]: dart.nullable(core.Object), + [S$.$filter]: dart.nullable(core.String), + [S$.$font]: core.String, + [S$.$globalAlpha]: core.num, + [S$.$globalCompositeOperation]: core.String, + [S$.$imageSmoothingEnabled]: dart.nullable(core.bool), + [S$.$imageSmoothingQuality]: dart.nullable(core.String), + [S$.$lineCap]: core.String, + [S$.$lineJoin]: core.String, + [S$.$lineWidth]: core.num, + [S$.$miterLimit]: core.num, + [S$.$shadowBlur]: core.num, + [S$.$shadowColor]: core.String, + [S$.$shadowOffsetX]: core.num, + [S$.$shadowOffsetY]: core.num, + [S$.$strokeStyle]: dart.nullable(core.Object), + [S$.$textAlign]: core.String, + [S$.$textBaseline]: core.String, + [S$.$lineDashOffset]: core.num, + [S$.$backingStorePixelRatio]: core.double +})); +dart.setSetterSignature(html$.CanvasRenderingContext2D, () => ({ + __proto__: dart.getSetters(html$.CanvasRenderingContext2D.__proto__), + [S$.$currentTransform]: dart.nullable(svg$.Matrix), + [S.$direction]: dart.nullable(core.String), + [S$.$fillStyle]: dart.nullable(core.Object), + [S$.$filter]: dart.nullable(core.String), + [S$.$font]: core.String, + [S$.$globalAlpha]: core.num, + [S$.$globalCompositeOperation]: core.String, + [S$.$imageSmoothingEnabled]: dart.nullable(core.bool), + [S$.$imageSmoothingQuality]: dart.nullable(core.String), + [S$.$lineCap]: core.String, + [S$.$lineJoin]: core.String, + [S$.$lineWidth]: core.num, + [S$.$miterLimit]: core.num, + [S$.$shadowBlur]: core.num, + [S$.$shadowColor]: core.String, + [S$.$shadowOffsetX]: core.num, + [S$.$shadowOffsetY]: core.num, + [S$.$strokeStyle]: dart.nullable(core.Object), + [S$.$textAlign]: core.String, + [S$.$textBaseline]: core.String, + [S$.$lineDashOffset]: core.num +})); +dart.setLibraryUri(html$.CanvasRenderingContext2D, I[148]); +dart.registerExtension("CanvasRenderingContext2D", html$.CanvasRenderingContext2D); +html$.ChildNode = class ChildNode extends _interceptors.Interceptor {}; +dart.addTypeTests(html$.ChildNode); +dart.addTypeCaches(html$.ChildNode); +dart.setLibraryUri(html$.ChildNode, I[148]); +html$.Client = class Client extends _interceptors.Interceptor { + get [S$.$frameType]() { + return this.frameType; + } + get [S.$id]() { + return this.id; + } + get [S.$type]() { + return this.type; + } + get [S$.$url]() { + return this.url; + } + [S$.$postMessage](...args) { + return this.postMessage.apply(this, args); + } +}; +dart.addTypeTests(html$.Client); +dart.addTypeCaches(html$.Client); +dart.setMethodSignature(html$.Client, () => ({ + __proto__: dart.getMethods(html$.Client.__proto__), + [S$.$postMessage]: dart.fnType(dart.void, [core.Object], [dart.nullable(core.List$(core.Object))]) +})); +dart.setGetterSignature(html$.Client, () => ({ + __proto__: dart.getGetters(html$.Client.__proto__), + [S$.$frameType]: dart.nullable(core.String), + [S.$id]: dart.nullable(core.String), + [S.$type]: dart.nullable(core.String), + [S$.$url]: dart.nullable(core.String) +})); +dart.setLibraryUri(html$.Client, I[148]); +dart.registerExtension("Client", html$.Client); +html$.Clients = class Clients extends _interceptors.Interceptor { + [S$.$claim]() { + return js_util.promiseToFuture(dart.dynamic, this.claim()); + } + [S.$get](id) { + if (id == null) dart.nullFailed(I[147], 3063, 21, "id"); + return js_util.promiseToFuture(dart.dynamic, this.get(id)); + } + [S$.$matchAll](options = null) { + let options_dict = null; + if (options != null) { + options_dict = html_common.convertDartToNative_Dictionary(options); + } + return js_util.promiseToFuture(core.List, this.matchAll(options_dict)); + } + [S$.$openWindow](url) { + if (url == null) dart.nullFailed(I[147], 3074, 42, "url"); + return js_util.promiseToFuture(html$.WindowClient, this.openWindow(url)); + } +}; +dart.addTypeTests(html$.Clients); +dart.addTypeCaches(html$.Clients); +dart.setMethodSignature(html$.Clients, () => ({ + __proto__: dart.getMethods(html$.Clients.__proto__), + [S$.$claim]: dart.fnType(async.Future, []), + [S.$get]: dart.fnType(async.Future, [core.String]), + [S$.$matchAll]: dart.fnType(async.Future$(core.List), [], [dart.nullable(core.Map)]), + [S$.$openWindow]: dart.fnType(async.Future$(html$.WindowClient), [core.String]) +})); +dart.setLibraryUri(html$.Clients, I[148]); +dart.registerExtension("Clients", html$.Clients); +html$.ClipboardEvent = class ClipboardEvent$ extends html$.Event { + static new(type, eventInitDict = null) { + if (type == null) dart.nullFailed(I[147], 3088, 33, "type"); + if (eventInitDict != null) { + let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); + return html$.ClipboardEvent._create_1(type, eventInitDict_1); + } + return html$.ClipboardEvent._create_2(type); + } + static _create_1(type, eventInitDict) { + return new ClipboardEvent(type, eventInitDict); + } + static _create_2(type) { + return new ClipboardEvent(type); + } + get [S$.$clipboardData]() { + return this.clipboardData; + } +}; +dart.addTypeTests(html$.ClipboardEvent); +dart.addTypeCaches(html$.ClipboardEvent); +dart.setGetterSignature(html$.ClipboardEvent, () => ({ + __proto__: dart.getGetters(html$.ClipboardEvent.__proto__), + [S$.$clipboardData]: dart.nullable(html$.DataTransfer) +})); +dart.setLibraryUri(html$.ClipboardEvent, I[148]); +dart.registerExtension("ClipboardEvent", html$.ClipboardEvent); +html$.CloseEvent = class CloseEvent$ extends html$.Event { + static new(type, eventInitDict = null) { + if (type == null) dart.nullFailed(I[147], 3113, 29, "type"); + if (eventInitDict != null) { + let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); + return html$.CloseEvent._create_1(type, eventInitDict_1); + } + return html$.CloseEvent._create_2(type); + } + static _create_1(type, eventInitDict) { + return new CloseEvent(type, eventInitDict); + } + static _create_2(type) { + return new CloseEvent(type); + } + get [S$.$code]() { + return this.code; + } + get [S$.$reason]() { + return this.reason; + } + get [S$.$wasClean]() { + return this.wasClean; + } +}; +dart.addTypeTests(html$.CloseEvent); +dart.addTypeCaches(html$.CloseEvent); +dart.setGetterSignature(html$.CloseEvent, () => ({ + __proto__: dart.getGetters(html$.CloseEvent.__proto__), + [S$.$code]: dart.nullable(core.int), + [S$.$reason]: dart.nullable(core.String), + [S$.$wasClean]: dart.nullable(core.bool) +})); +dart.setLibraryUri(html$.CloseEvent, I[148]); +dart.registerExtension("CloseEvent", html$.CloseEvent); +html$.Comment = class Comment extends html$.CharacterData { + static new(data = null) { + return html$.document.createComment(data == null ? "" : data); + } +}; +dart.addTypeTests(html$.Comment); +dart.addTypeCaches(html$.Comment); +dart.setLibraryUri(html$.Comment, I[148]); +dart.registerExtension("Comment", html$.Comment); +html$.UIEvent = class UIEvent$ extends html$.Event { + static new(type, opts) { + if (type == null) dart.nullFailed(I[147], 30716, 26, "type"); + let view = opts && 'view' in opts ? opts.view : null; + let detail = opts && 'detail' in opts ? opts.detail : 0; + if (detail == null) dart.nullFailed(I[147], 30718, 11, "detail"); + let canBubble = opts && 'canBubble' in opts ? opts.canBubble : true; + if (canBubble == null) dart.nullFailed(I[147], 30719, 12, "canBubble"); + let cancelable = opts && 'cancelable' in opts ? opts.cancelable : true; + if (cancelable == null) dart.nullFailed(I[147], 30720, 12, "cancelable"); + if (view == null) { + view = html$.window; + } + let e = html$.UIEvent.as(html$.document[S._createEvent]("UIEvent")); + e[S$._initUIEvent](type, canBubble, cancelable, view, detail); + return e; + } + static __(type, eventInitDict = null) { + if (type == null) dart.nullFailed(I[147], 30729, 28, "type"); + if (eventInitDict != null) { + let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); + return html$.UIEvent._create_1(type, eventInitDict_1); + } + return html$.UIEvent._create_2(type); + } + static _create_1(type, eventInitDict) { + return new UIEvent(type, eventInitDict); + } + static _create_2(type) { + return new UIEvent(type); + } + get [S$.$detail]() { + return this.detail; + } + get [S$.$sourceCapabilities]() { + return this.sourceCapabilities; + } + get [S$.$view]() { + return html$._convertNativeToDart_Window(this[S$._get_view]); + } + get [S$._get_view]() { + return this.view; + } + get [S$._which]() { + return this.which; + } + [S$._initUIEvent](...args) { + return this.initUIEvent.apply(this, args); + } +}; +dart.addTypeTests(html$.UIEvent); +dart.addTypeCaches(html$.UIEvent); +dart.setMethodSignature(html$.UIEvent, () => ({ + __proto__: dart.getMethods(html$.UIEvent.__proto__), + [S$._initUIEvent]: dart.fnType(dart.void, [core.String, core.bool, core.bool, dart.nullable(html$.Window), core.int]) +})); +dart.setGetterSignature(html$.UIEvent, () => ({ + __proto__: dart.getGetters(html$.UIEvent.__proto__), + [S$.$detail]: dart.nullable(core.int), + [S$.$sourceCapabilities]: dart.nullable(html$.InputDeviceCapabilities), + [S$.$view]: dart.nullable(html$.WindowBase), + [S$._get_view]: dart.dynamic, + [S$._which]: dart.nullable(core.int) +})); +dart.setLibraryUri(html$.UIEvent, I[148]); +dart.registerExtension("UIEvent", html$.UIEvent); +html$.CompositionEvent = class CompositionEvent$ extends html$.UIEvent { + static new(type, opts) { + if (type == null) dart.nullFailed(I[147], 3154, 35, "type"); + let canBubble = opts && 'canBubble' in opts ? opts.canBubble : false; + if (canBubble == null) dart.nullFailed(I[147], 3155, 13, "canBubble"); + let cancelable = opts && 'cancelable' in opts ? opts.cancelable : false; + if (cancelable == null) dart.nullFailed(I[147], 3156, 12, "cancelable"); + let view = opts && 'view' in opts ? opts.view : null; + let data = opts && 'data' in opts ? opts.data : null; + let locale = opts && 'locale' in opts ? opts.locale : null; + if (view == null) { + view = html$.window; + } + let e = html$.CompositionEvent.as(html$.document[S._createEvent]("CompositionEvent")); + if (dart.test(html_common.Device.isFirefox)) { + e.initCompositionEvent(type, canBubble, cancelable, view, data, locale); + } else { + e[S$._initCompositionEvent](type, canBubble, cancelable, view, data); + } + return e; + } + static __(type, eventInitDict = null) { + if (type == null) dart.nullFailed(I[147], 3177, 37, "type"); + if (eventInitDict != null) { + let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); + return html$.CompositionEvent._create_1(type, eventInitDict_1); + } + return html$.CompositionEvent._create_2(type); + } + static _create_1(type, eventInitDict) { + return new CompositionEvent(type, eventInitDict); + } + static _create_2(type) { + return new CompositionEvent(type); + } + get [S$.$data]() { + return this.data; + } + [S$._initCompositionEvent](...args) { + return this.initCompositionEvent.apply(this, args); + } +}; +dart.addTypeTests(html$.CompositionEvent); +dart.addTypeCaches(html$.CompositionEvent); +dart.setMethodSignature(html$.CompositionEvent, () => ({ + __proto__: dart.getMethods(html$.CompositionEvent.__proto__), + [S$._initCompositionEvent]: dart.fnType(dart.void, [dart.nullable(core.String), dart.nullable(core.bool), dart.nullable(core.bool), dart.nullable(html$.Window), dart.nullable(core.String)]) +})); +dart.setGetterSignature(html$.CompositionEvent, () => ({ + __proto__: dart.getGetters(html$.CompositionEvent.__proto__), + [S$.$data]: dart.nullable(core.String) +})); +dart.setLibraryUri(html$.CompositionEvent, I[148]); +dart.registerExtension("CompositionEvent", html$.CompositionEvent); +html$.ContentElement = class ContentElement extends html$.HtmlElement { + static new() { + return html$.ContentElement.as(html$.document[S.$createElement]("content")); + } + static get supported() { + return html$.Element.isTagSupported("content"); + } + get [S$.$select]() { + return this.select; + } + set [S$.$select](value) { + this.select = value; + } + [S$.$getDistributedNodes](...args) { + return this.getDistributedNodes.apply(this, args); + } +}; +(html$.ContentElement.created = function() { + html$.ContentElement.__proto__.created.call(this); + ; +}).prototype = html$.ContentElement.prototype; +dart.addTypeTests(html$.ContentElement); +dart.addTypeCaches(html$.ContentElement); +dart.setMethodSignature(html$.ContentElement, () => ({ + __proto__: dart.getMethods(html$.ContentElement.__proto__), + [S$.$getDistributedNodes]: dart.fnType(core.List$(html$.Node), []) +})); +dart.setGetterSignature(html$.ContentElement, () => ({ + __proto__: dart.getGetters(html$.ContentElement.__proto__), + [S$.$select]: dart.nullable(core.String) +})); +dart.setSetterSignature(html$.ContentElement, () => ({ + __proto__: dart.getSetters(html$.ContentElement.__proto__), + [S$.$select]: dart.nullable(core.String) +})); +dart.setLibraryUri(html$.ContentElement, I[148]); +dart.registerExtension("HTMLContentElement", html$.ContentElement); +html$.CookieStore = class CookieStore extends _interceptors.Interceptor { + [S.$getAll](options = null) { + let options_dict = null; + if (options != null) { + options_dict = html_common.convertDartToNative_Dictionary(options); + } + return js_util.promiseToFuture(dart.dynamic, this.getAll(options_dict)); + } + [S$.$set](name, value, options = null) { + if (name == null) dart.nullFailed(I[147], 3246, 21, "name"); + if (value == null) dart.nullFailed(I[147], 3246, 34, "value"); + let options_dict = null; + if (options != null) { + options_dict = html_common.convertDartToNative_Dictionary(options); + } + return js_util.promiseToFuture(dart.dynamic, this.set(name, value, options_dict)); + } +}; +dart.addTypeTests(html$.CookieStore); +dart.addTypeCaches(html$.CookieStore); +dart.setMethodSignature(html$.CookieStore, () => ({ + __proto__: dart.getMethods(html$.CookieStore.__proto__), + [S.$getAll]: dart.fnType(async.Future, [], [dart.nullable(core.Map)]), + [S$.$set]: dart.fnType(async.Future, [core.String, core.String], [dart.nullable(core.Map)]) +})); +dart.setLibraryUri(html$.CookieStore, I[148]); +dart.registerExtension("CookieStore", html$.CookieStore); +html$.Coordinates = class Coordinates extends _interceptors.Interceptor { + get [S$.$accuracy]() { + return this.accuracy; + } + get [S$.$altitude]() { + return this.altitude; + } + get [S$.$altitudeAccuracy]() { + return this.altitudeAccuracy; + } + get [S$.$heading]() { + return this.heading; + } + get [S$.$latitude]() { + return this.latitude; + } + get [S$.$longitude]() { + return this.longitude; + } + get [S$.$speed]() { + return this.speed; + } +}; +dart.addTypeTests(html$.Coordinates); +dart.addTypeCaches(html$.Coordinates); +dart.setGetterSignature(html$.Coordinates, () => ({ + __proto__: dart.getGetters(html$.Coordinates.__proto__), + [S$.$accuracy]: dart.nullable(core.num), + [S$.$altitude]: dart.nullable(core.num), + [S$.$altitudeAccuracy]: dart.nullable(core.num), + [S$.$heading]: dart.nullable(core.num), + [S$.$latitude]: dart.nullable(core.num), + [S$.$longitude]: dart.nullable(core.num), + [S$.$speed]: dart.nullable(core.num) +})); +dart.setLibraryUri(html$.Coordinates, I[148]); +dart.registerExtension("Coordinates", html$.Coordinates); +html$.Credential = class Credential extends _interceptors.Interceptor { + get [S.$id]() { + return this.id; + } + get [S.$type]() { + return this.type; + } +}; +dart.addTypeTests(html$.Credential); +dart.addTypeCaches(html$.Credential); +dart.setGetterSignature(html$.Credential, () => ({ + __proto__: dart.getGetters(html$.Credential.__proto__), + [S.$id]: dart.nullable(core.String), + [S.$type]: dart.nullable(core.String) +})); +dart.setLibraryUri(html$.Credential, I[148]); +dart.registerExtension("Credential", html$.Credential); +html$.CredentialUserData = class CredentialUserData extends _interceptors.Interceptor { + get [S$.$iconUrl]() { + return this.iconURL; + } + get [$name]() { + return this.name; + } +}; +dart.addTypeTests(html$.CredentialUserData); +dart.addTypeCaches(html$.CredentialUserData); +dart.setGetterSignature(html$.CredentialUserData, () => ({ + __proto__: dart.getGetters(html$.CredentialUserData.__proto__), + [S$.$iconUrl]: dart.nullable(core.String), + [$name]: dart.nullable(core.String) +})); +dart.setLibraryUri(html$.CredentialUserData, I[148]); +dart.registerExtension("CredentialUserData", html$.CredentialUserData); +html$.CredentialsContainer = class CredentialsContainer extends _interceptors.Interceptor { + [S$.$create](options = null) { + let options_dict = null; + if (options != null) { + options_dict = html_common.convertDartToNative_Dictionary(options); + } + return js_util.promiseToFuture(dart.dynamic, this.create(options_dict)); + } + [S.$get](options = null) { + let options_dict = null; + if (options != null) { + options_dict = html_common.convertDartToNative_Dictionary(options); + } + return js_util.promiseToFuture(dart.dynamic, this.get(options_dict)); + } + [S$.$preventSilentAccess]() { + return js_util.promiseToFuture(dart.dynamic, this.preventSilentAccess()); + } + [S$.$requireUserMediation]() { + return js_util.promiseToFuture(dart.dynamic, this.requireUserMediation()); + } + [S$.$store](credential) { + if (credential == null) dart.nullFailed(I[147], 3346, 27, "credential"); + return js_util.promiseToFuture(dart.dynamic, this.store(credential)); + } +}; +dart.addTypeTests(html$.CredentialsContainer); +dart.addTypeCaches(html$.CredentialsContainer); +dart.setMethodSignature(html$.CredentialsContainer, () => ({ + __proto__: dart.getMethods(html$.CredentialsContainer.__proto__), + [S$.$create]: dart.fnType(async.Future, [], [dart.nullable(core.Map)]), + [S.$get]: dart.fnType(async.Future, [], [dart.nullable(core.Map)]), + [S$.$preventSilentAccess]: dart.fnType(async.Future, []), + [S$.$requireUserMediation]: dart.fnType(async.Future, []), + [S$.$store]: dart.fnType(async.Future, [html$.Credential]) +})); +dart.setLibraryUri(html$.CredentialsContainer, I[148]); +dart.registerExtension("CredentialsContainer", html$.CredentialsContainer); +html$.Crypto = class Crypto extends _interceptors.Interceptor { + [S$.$getRandomValues](array) { + if (array == null) dart.nullFailed(I[147], 3357, 39, "array"); + return this[S$._getRandomValues](array); + } + static get supported() { + return !!(window.crypto && window.crypto.getRandomValues); + } + get [S$.$subtle]() { + return this.subtle; + } + [S$._getRandomValues](...args) { + return this.getRandomValues.apply(this, args); + } +}; +dart.addTypeTests(html$.Crypto); +dart.addTypeCaches(html$.Crypto); +dart.setMethodSignature(html$.Crypto, () => ({ + __proto__: dart.getMethods(html$.Crypto.__proto__), + [S$.$getRandomValues]: dart.fnType(typed_data.TypedData, [typed_data.TypedData]), + [S$._getRandomValues]: dart.fnType(typed_data.TypedData, [typed_data.TypedData]) +})); +dart.setGetterSignature(html$.Crypto, () => ({ + __proto__: dart.getGetters(html$.Crypto.__proto__), + [S$.$subtle]: dart.nullable(html$._SubtleCrypto) +})); +dart.setLibraryUri(html$.Crypto, I[148]); +dart.registerExtension("Crypto", html$.Crypto); +html$.CryptoKey = class CryptoKey extends _interceptors.Interceptor { + get [S$.$algorithm]() { + return this.algorithm; + } + get [S$.$extractable]() { + return this.extractable; + } + get [S.$type]() { + return this.type; + } + get [S$.$usages]() { + return this.usages; + } +}; +dart.addTypeTests(html$.CryptoKey); +dart.addTypeCaches(html$.CryptoKey); +dart.setGetterSignature(html$.CryptoKey, () => ({ + __proto__: dart.getGetters(html$.CryptoKey.__proto__), + [S$.$algorithm]: dart.nullable(core.Object), + [S$.$extractable]: dart.nullable(core.bool), + [S.$type]: dart.nullable(core.String), + [S$.$usages]: dart.nullable(core.Object) +})); +dart.setLibraryUri(html$.CryptoKey, I[148]); +dart.registerExtension("CryptoKey", html$.CryptoKey); +html$.Css = class Css extends _interceptors.Interceptor { + static registerProperty(descriptor) { + if (descriptor == null) dart.nullFailed(I[147], 3455, 36, "descriptor"); + let descriptor_1 = html_common.convertDartToNative_Dictionary(descriptor); + dart.global.CSS.registerProperty(descriptor_1); + return; + } +}; +dart.addTypeTests(html$.Css); +dart.addTypeCaches(html$.Css); +dart.setLibraryUri(html$.Css, I[148]); +dart.registerExtension("CSS", html$.Css); +html$.CssRule = class CssRule extends _interceptors.Interceptor { + get [S$.$cssText]() { + return this.cssText; + } + set [S$.$cssText](value) { + this.cssText = value; + } + get [S$.$parentRule]() { + return this.parentRule; + } + get [S$.$parentStyleSheet]() { + return this.parentStyleSheet; + } + get [S.$type]() { + return this.type; + } +}; +dart.addTypeTests(html$.CssRule); +dart.addTypeCaches(html$.CssRule); +dart.setGetterSignature(html$.CssRule, () => ({ + __proto__: dart.getGetters(html$.CssRule.__proto__), + [S$.$cssText]: dart.nullable(core.String), + [S$.$parentRule]: dart.nullable(html$.CssRule), + [S$.$parentStyleSheet]: dart.nullable(html$.CssStyleSheet), + [S.$type]: dart.nullable(core.int) +})); +dart.setSetterSignature(html$.CssRule, () => ({ + __proto__: dart.getSetters(html$.CssRule.__proto__), + [S$.$cssText]: dart.nullable(core.String) +})); +dart.setLibraryUri(html$.CssRule, I[148]); +dart.defineLazy(html$.CssRule, { + /*html$.CssRule.CHARSET_RULE*/get CHARSET_RULE() { + return 2; + }, + /*html$.CssRule.FONT_FACE_RULE*/get FONT_FACE_RULE() { + return 5; + }, + /*html$.CssRule.IMPORT_RULE*/get IMPORT_RULE() { + return 3; + }, + /*html$.CssRule.KEYFRAMES_RULE*/get KEYFRAMES_RULE() { + return 7; + }, + /*html$.CssRule.KEYFRAME_RULE*/get KEYFRAME_RULE() { + return 8; + }, + /*html$.CssRule.MEDIA_RULE*/get MEDIA_RULE() { + return 4; + }, + /*html$.CssRule.NAMESPACE_RULE*/get NAMESPACE_RULE() { + return 10; + }, + /*html$.CssRule.PAGE_RULE*/get PAGE_RULE() { + return 6; + }, + /*html$.CssRule.STYLE_RULE*/get STYLE_RULE() { + return 1; + }, + /*html$.CssRule.SUPPORTS_RULE*/get SUPPORTS_RULE() { + return 12; + }, + /*html$.CssRule.VIEWPORT_RULE*/get VIEWPORT_RULE() { + return 15; + } +}, false); +dart.registerExtension("CSSRule", html$.CssRule); +html$.CssCharsetRule = class CssCharsetRule extends html$.CssRule { + get [S$.$encoding]() { + return this.encoding; + } + set [S$.$encoding](value) { + this.encoding = value; + } +}; +dart.addTypeTests(html$.CssCharsetRule); +dart.addTypeCaches(html$.CssCharsetRule); +dart.setGetterSignature(html$.CssCharsetRule, () => ({ + __proto__: dart.getGetters(html$.CssCharsetRule.__proto__), + [S$.$encoding]: dart.nullable(core.String) +})); +dart.setSetterSignature(html$.CssCharsetRule, () => ({ + __proto__: dart.getSetters(html$.CssCharsetRule.__proto__), + [S$.$encoding]: dart.nullable(core.String) +})); +dart.setLibraryUri(html$.CssCharsetRule, I[148]); +dart.registerExtension("CSSCharsetRule", html$.CssCharsetRule); +html$.CssGroupingRule = class CssGroupingRule extends html$.CssRule { + get [S$.$cssRules]() { + return this.cssRules; + } + [S$.$deleteRule](...args) { + return this.deleteRule.apply(this, args); + } + [S$.$insertRule](...args) { + return this.insertRule.apply(this, args); + } +}; +dart.addTypeTests(html$.CssGroupingRule); +dart.addTypeCaches(html$.CssGroupingRule); +dart.setMethodSignature(html$.CssGroupingRule, () => ({ + __proto__: dart.getMethods(html$.CssGroupingRule.__proto__), + [S$.$deleteRule]: dart.fnType(dart.void, [core.int]), + [S$.$insertRule]: dart.fnType(core.int, [core.String, core.int]) +})); +dart.setGetterSignature(html$.CssGroupingRule, () => ({ + __proto__: dart.getGetters(html$.CssGroupingRule.__proto__), + [S$.$cssRules]: dart.nullable(core.List$(html$.CssRule)) +})); +dart.setLibraryUri(html$.CssGroupingRule, I[148]); +dart.registerExtension("CSSGroupingRule", html$.CssGroupingRule); +html$.CssConditionRule = class CssConditionRule extends html$.CssGroupingRule { + get [S$.$conditionText]() { + return this.conditionText; + } +}; +dart.addTypeTests(html$.CssConditionRule); +dart.addTypeCaches(html$.CssConditionRule); +dart.setGetterSignature(html$.CssConditionRule, () => ({ + __proto__: dart.getGetters(html$.CssConditionRule.__proto__), + [S$.$conditionText]: dart.nullable(core.String) +})); +dart.setLibraryUri(html$.CssConditionRule, I[148]); +dart.registerExtension("CSSConditionRule", html$.CssConditionRule); +html$.CssFontFaceRule = class CssFontFaceRule extends html$.CssRule { + get [S.$style]() { + return this.style; + } +}; +dart.addTypeTests(html$.CssFontFaceRule); +dart.addTypeCaches(html$.CssFontFaceRule); +dart.setGetterSignature(html$.CssFontFaceRule, () => ({ + __proto__: dart.getGetters(html$.CssFontFaceRule.__proto__), + [S.$style]: dart.nullable(html$.CssStyleDeclaration) +})); +dart.setLibraryUri(html$.CssFontFaceRule, I[148]); +dart.registerExtension("CSSFontFaceRule", html$.CssFontFaceRule); +html$.CssStyleValue = class CssStyleValue extends _interceptors.Interceptor {}; +dart.addTypeTests(html$.CssStyleValue); +dart.addTypeCaches(html$.CssStyleValue); +dart.setLibraryUri(html$.CssStyleValue, I[148]); +dart.registerExtension("CSSStyleValue", html$.CssStyleValue); +html$.CssResourceValue = class CssResourceValue extends html$.CssStyleValue { + get [S$.$state]() { + return this.state; + } +}; +dart.addTypeTests(html$.CssResourceValue); +dart.addTypeCaches(html$.CssResourceValue); +dart.setGetterSignature(html$.CssResourceValue, () => ({ + __proto__: dart.getGetters(html$.CssResourceValue.__proto__), + [S$.$state]: dart.nullable(core.String) +})); +dart.setLibraryUri(html$.CssResourceValue, I[148]); +dart.registerExtension("CSSResourceValue", html$.CssResourceValue); +html$.CssImageValue = class CssImageValue extends html$.CssResourceValue { + get [S$.$intrinsicHeight]() { + return this.intrinsicHeight; + } + get [S$.$intrinsicRatio]() { + return this.intrinsicRatio; + } + get [S$.$intrinsicWidth]() { + return this.intrinsicWidth; + } +}; +dart.addTypeTests(html$.CssImageValue); +dart.addTypeCaches(html$.CssImageValue); +dart.setGetterSignature(html$.CssImageValue, () => ({ + __proto__: dart.getGetters(html$.CssImageValue.__proto__), + [S$.$intrinsicHeight]: dart.nullable(core.num), + [S$.$intrinsicRatio]: dart.nullable(core.num), + [S$.$intrinsicWidth]: dart.nullable(core.num) +})); +dart.setLibraryUri(html$.CssImageValue, I[148]); +dart.registerExtension("CSSImageValue", html$.CssImageValue); +html$.CssImportRule = class CssImportRule extends html$.CssRule { + get [S$.$href]() { + return this.href; + } + get [S$.$media]() { + return this.media; + } + get [S$.$styleSheet]() { + return this.styleSheet; + } +}; +dart.addTypeTests(html$.CssImportRule); +dart.addTypeCaches(html$.CssImportRule); +dart.setGetterSignature(html$.CssImportRule, () => ({ + __proto__: dart.getGetters(html$.CssImportRule.__proto__), + [S$.$href]: dart.nullable(core.String), + [S$.$media]: dart.nullable(html$.MediaList), + [S$.$styleSheet]: dart.nullable(html$.CssStyleSheet) +})); +dart.setLibraryUri(html$.CssImportRule, I[148]); +dart.registerExtension("CSSImportRule", html$.CssImportRule); +html$.CssKeyframeRule = class CssKeyframeRule extends html$.CssRule { + get [S$.$keyText]() { + return this.keyText; + } + set [S$.$keyText](value) { + this.keyText = value; + } + get [S.$style]() { + return this.style; + } +}; +dart.addTypeTests(html$.CssKeyframeRule); +dart.addTypeCaches(html$.CssKeyframeRule); +dart.setGetterSignature(html$.CssKeyframeRule, () => ({ + __proto__: dart.getGetters(html$.CssKeyframeRule.__proto__), + [S$.$keyText]: dart.nullable(core.String), + [S.$style]: dart.nullable(html$.CssStyleDeclaration) +})); +dart.setSetterSignature(html$.CssKeyframeRule, () => ({ + __proto__: dart.getSetters(html$.CssKeyframeRule.__proto__), + [S$.$keyText]: dart.nullable(core.String) +})); +dart.setLibraryUri(html$.CssKeyframeRule, I[148]); +dart.registerExtension("CSSKeyframeRule", html$.CssKeyframeRule); +dart.registerExtension("MozCSSKeyframeRule", html$.CssKeyframeRule); +dart.registerExtension("WebKitCSSKeyframeRule", html$.CssKeyframeRule); +html$.CssKeyframesRule = class CssKeyframesRule extends html$.CssRule { + get [S$.$cssRules]() { + return this.cssRules; + } + get [$name]() { + return this.name; + } + set [$name](value) { + this.name = value; + } + [S$.__getter__](...args) { + return this.__getter__.apply(this, args); + } + [S$.$appendRule](...args) { + return this.appendRule.apply(this, args); + } + [S$.$deleteRule](...args) { + return this.deleteRule.apply(this, args); + } + [S$.$findRule](...args) { + return this.findRule.apply(this, args); + } +}; +dart.addTypeTests(html$.CssKeyframesRule); +dart.addTypeCaches(html$.CssKeyframesRule); +dart.setMethodSignature(html$.CssKeyframesRule, () => ({ + __proto__: dart.getMethods(html$.CssKeyframesRule.__proto__), + [S$.__getter__]: dart.fnType(html$.CssKeyframeRule, [core.int]), + [S$.$appendRule]: dart.fnType(dart.void, [core.String]), + [S$.$deleteRule]: dart.fnType(dart.void, [core.String]), + [S$.$findRule]: dart.fnType(dart.nullable(html$.CssKeyframeRule), [core.String]) +})); +dart.setGetterSignature(html$.CssKeyframesRule, () => ({ + __proto__: dart.getGetters(html$.CssKeyframesRule.__proto__), + [S$.$cssRules]: dart.nullable(core.List$(html$.CssRule)), + [$name]: dart.nullable(core.String) +})); +dart.setSetterSignature(html$.CssKeyframesRule, () => ({ + __proto__: dart.getSetters(html$.CssKeyframesRule.__proto__), + [$name]: dart.nullable(core.String) +})); +dart.setLibraryUri(html$.CssKeyframesRule, I[148]); +dart.registerExtension("CSSKeyframesRule", html$.CssKeyframesRule); +dart.registerExtension("MozCSSKeyframesRule", html$.CssKeyframesRule); +dart.registerExtension("WebKitCSSKeyframesRule", html$.CssKeyframesRule); +html$.CssKeywordValue = class CssKeywordValue extends html$.CssStyleValue { + static new(keyword) { + if (keyword == null) dart.nullFailed(I[147], 3632, 34, "keyword"); + return html$.CssKeywordValue._create_1(keyword); + } + static _create_1(keyword) { + return new CSSKeywordValue(keyword); + } + get [S.$value]() { + return this.value; + } + set [S.$value](value) { + this.value = value; + } +}; +dart.addTypeTests(html$.CssKeywordValue); +dart.addTypeCaches(html$.CssKeywordValue); +dart.setGetterSignature(html$.CssKeywordValue, () => ({ + __proto__: dart.getGetters(html$.CssKeywordValue.__proto__), + [S.$value]: dart.nullable(core.String) +})); +dart.setSetterSignature(html$.CssKeywordValue, () => ({ + __proto__: dart.getSetters(html$.CssKeywordValue.__proto__), + [S.$value]: dart.nullable(core.String) +})); +dart.setLibraryUri(html$.CssKeywordValue, I[148]); +dart.registerExtension("CSSKeywordValue", html$.CssKeywordValue); +html$.CssTransformComponent = class CssTransformComponent extends _interceptors.Interceptor { + get [S$.$is2D]() { + return this.is2D; + } + set [S$.$is2D](value) { + this.is2D = value; + } +}; +dart.addTypeTests(html$.CssTransformComponent); +dart.addTypeCaches(html$.CssTransformComponent); +dart.setGetterSignature(html$.CssTransformComponent, () => ({ + __proto__: dart.getGetters(html$.CssTransformComponent.__proto__), + [S$.$is2D]: dart.nullable(core.bool) +})); +dart.setSetterSignature(html$.CssTransformComponent, () => ({ + __proto__: dart.getSetters(html$.CssTransformComponent.__proto__), + [S$.$is2D]: dart.nullable(core.bool) +})); +dart.setLibraryUri(html$.CssTransformComponent, I[148]); +dart.registerExtension("CSSTransformComponent", html$.CssTransformComponent); +html$.CssMatrixComponent = class CssMatrixComponent extends html$.CssTransformComponent { + static new(matrix, options = null) { + if (matrix == null) dart.nullFailed(I[147], 3653, 48, "matrix"); + if (options != null) { + let options_1 = html_common.convertDartToNative_Dictionary(options); + return html$.CssMatrixComponent._create_1(matrix, options_1); + } + return html$.CssMatrixComponent._create_2(matrix); + } + static _create_1(matrix, options) { + return new CSSMatrixComponent(matrix, options); + } + static _create_2(matrix) { + return new CSSMatrixComponent(matrix); + } + get [S$.$matrix]() { + return this.matrix; + } + set [S$.$matrix](value) { + this.matrix = value; + } +}; +dart.addTypeTests(html$.CssMatrixComponent); +dart.addTypeCaches(html$.CssMatrixComponent); +dart.setGetterSignature(html$.CssMatrixComponent, () => ({ + __proto__: dart.getGetters(html$.CssMatrixComponent.__proto__), + [S$.$matrix]: dart.nullable(html$.DomMatrix) +})); +dart.setSetterSignature(html$.CssMatrixComponent, () => ({ + __proto__: dart.getSetters(html$.CssMatrixComponent.__proto__), + [S$.$matrix]: dart.nullable(html$.DomMatrix) +})); +dart.setLibraryUri(html$.CssMatrixComponent, I[148]); +dart.registerExtension("CSSMatrixComponent", html$.CssMatrixComponent); +html$.CssMediaRule = class CssMediaRule extends html$.CssConditionRule { + get [S$.$media]() { + return this.media; + } +}; +dart.addTypeTests(html$.CssMediaRule); +dart.addTypeCaches(html$.CssMediaRule); +dart.setGetterSignature(html$.CssMediaRule, () => ({ + __proto__: dart.getGetters(html$.CssMediaRule.__proto__), + [S$.$media]: dart.nullable(html$.MediaList) +})); +dart.setLibraryUri(html$.CssMediaRule, I[148]); +dart.registerExtension("CSSMediaRule", html$.CssMediaRule); +html$.CssNamespaceRule = class CssNamespaceRule extends html$.CssRule { + get [S.$namespaceUri]() { + return this.namespaceURI; + } + get [S$.$prefix]() { + return this.prefix; + } +}; +dart.addTypeTests(html$.CssNamespaceRule); +dart.addTypeCaches(html$.CssNamespaceRule); +dart.setGetterSignature(html$.CssNamespaceRule, () => ({ + __proto__: dart.getGetters(html$.CssNamespaceRule.__proto__), + [S.$namespaceUri]: dart.nullable(core.String), + [S$.$prefix]: dart.nullable(core.String) +})); +dart.setLibraryUri(html$.CssNamespaceRule, I[148]); +dart.registerExtension("CSSNamespaceRule", html$.CssNamespaceRule); +html$.CssNumericValue = class CssNumericValue extends html$.CssStyleValue { + [$add](...args) { + return this.add.apply(this, args); + } + [S$.$div](...args) { + return this.div.apply(this, args); + } + [S$.$mul](...args) { + return this.mul.apply(this, args); + } + [S$.$sub](...args) { + return this.sub.apply(this, args); + } + [S$.$to](...args) { + return this.to.apply(this, args); + } +}; +dart.addTypeTests(html$.CssNumericValue); +dart.addTypeCaches(html$.CssNumericValue); +dart.setMethodSignature(html$.CssNumericValue, () => ({ + __proto__: dart.getMethods(html$.CssNumericValue.__proto__), + [$add]: dart.fnType(html$.CssNumericValue, [html$.CssNumericValue]), + [S$.$div]: dart.fnType(html$.CssNumericValue, [core.num]), + [S$.$mul]: dart.fnType(html$.CssNumericValue, [core.num]), + [S$.$sub]: dart.fnType(html$.CssNumericValue, [html$.CssNumericValue]), + [S$.$to]: dart.fnType(html$.CssNumericValue, [core.String]) +})); +dart.setLibraryUri(html$.CssNumericValue, I[148]); +dart.registerExtension("CSSNumericValue", html$.CssNumericValue); +html$.CssPageRule = class CssPageRule extends html$.CssRule { + get [S$.$selectorText]() { + return this.selectorText; + } + set [S$.$selectorText](value) { + this.selectorText = value; + } + get [S.$style]() { + return this.style; + } +}; +dart.addTypeTests(html$.CssPageRule); +dart.addTypeCaches(html$.CssPageRule); +dart.setGetterSignature(html$.CssPageRule, () => ({ + __proto__: dart.getGetters(html$.CssPageRule.__proto__), + [S$.$selectorText]: dart.nullable(core.String), + [S.$style]: dart.nullable(html$.CssStyleDeclaration) +})); +dart.setSetterSignature(html$.CssPageRule, () => ({ + __proto__: dart.getSetters(html$.CssPageRule.__proto__), + [S$.$selectorText]: dart.nullable(core.String) +})); +dart.setLibraryUri(html$.CssPageRule, I[148]); +dart.registerExtension("CSSPageRule", html$.CssPageRule); +html$.CssPerspective = class CssPerspective extends html$.CssTransformComponent { + static new(length) { + if (length == null) dart.nullFailed(I[147], 3749, 42, "length"); + return html$.CssPerspective._create_1(length); + } + static _create_1(length) { + return new CSSPerspective(length); + } + get [$length]() { + return this.length; + } + set [$length](value) { + this.length = value; + } +}; +dart.addTypeTests(html$.CssPerspective); +dart.addTypeCaches(html$.CssPerspective); +dart.setGetterSignature(html$.CssPerspective, () => ({ + __proto__: dart.getGetters(html$.CssPerspective.__proto__), + [$length]: dart.nullable(html$.CssNumericValue) +})); +dart.setSetterSignature(html$.CssPerspective, () => ({ + __proto__: dart.getSetters(html$.CssPerspective.__proto__), + [$length]: dart.nullable(html$.CssNumericValue) +})); +dart.setLibraryUri(html$.CssPerspective, I[148]); +dart.registerExtension("CSSPerspective", html$.CssPerspective); +html$.CssPositionValue = class CssPositionValue extends html$.CssStyleValue { + static new(x, y) { + if (x == null) dart.nullFailed(I[147], 3770, 44, "x"); + if (y == null) dart.nullFailed(I[147], 3770, 63, "y"); + return html$.CssPositionValue._create_1(x, y); + } + static _create_1(x, y) { + return new CSSPositionValue(x, y); + } + get [S$.$x]() { + return this.x; + } + set [S$.$x](value) { + this.x = value; + } + get [S$.$y]() { + return this.y; + } + set [S$.$y](value) { + this.y = value; + } +}; +dart.addTypeTests(html$.CssPositionValue); +dart.addTypeCaches(html$.CssPositionValue); +dart.setGetterSignature(html$.CssPositionValue, () => ({ + __proto__: dart.getGetters(html$.CssPositionValue.__proto__), + [S$.$x]: dart.nullable(html$.CssNumericValue), + [S$.$y]: dart.nullable(html$.CssNumericValue) +})); +dart.setSetterSignature(html$.CssPositionValue, () => ({ + __proto__: dart.getSetters(html$.CssPositionValue.__proto__), + [S$.$x]: dart.nullable(html$.CssNumericValue), + [S$.$y]: dart.nullable(html$.CssNumericValue) +})); +dart.setLibraryUri(html$.CssPositionValue, I[148]); +dart.registerExtension("CSSPositionValue", html$.CssPositionValue); +html$.CssRotation = class CssRotation extends html$.CssTransformComponent { + static new(angleValue_OR_x, y = null, z = null, angle = null) { + if (html$.CssNumericValue.is(angleValue_OR_x) && y == null && z == null && angle == null) { + return html$.CssRotation._create_1(angleValue_OR_x); + } + if (html$.CssNumericValue.is(angle) && typeof z == 'number' && typeof y == 'number' && typeof angleValue_OR_x == 'number') { + return html$.CssRotation._create_2(angleValue_OR_x, y, z, angle); + } + dart.throw(new core.ArgumentError.new("Incorrect number or type of arguments")); + } + static _create_1(angleValue_OR_x) { + return new CSSRotation(angleValue_OR_x); + } + static _create_2(angleValue_OR_x, y, z, angle) { + return new CSSRotation(angleValue_OR_x, y, z, angle); + } + get [S$.$angle]() { + return this.angle; + } + set [S$.$angle](value) { + this.angle = value; + } + get [S$.$x]() { + return this.x; + } + set [S$.$x](value) { + this.x = value; + } + get [S$.$y]() { + return this.y; + } + set [S$.$y](value) { + this.y = value; + } + get [S$.$z]() { + return this.z; + } + set [S$.$z](value) { + this.z = value; + } +}; +dart.addTypeTests(html$.CssRotation); +dart.addTypeCaches(html$.CssRotation); +dart.setGetterSignature(html$.CssRotation, () => ({ + __proto__: dart.getGetters(html$.CssRotation.__proto__), + [S$.$angle]: dart.nullable(html$.CssNumericValue), + [S$.$x]: dart.nullable(core.num), + [S$.$y]: dart.nullable(core.num), + [S$.$z]: dart.nullable(core.num) +})); +dart.setSetterSignature(html$.CssRotation, () => ({ + __proto__: dart.getSetters(html$.CssRotation.__proto__), + [S$.$angle]: dart.nullable(html$.CssNumericValue), + [S$.$x]: dart.nullable(core.num), + [S$.$y]: dart.nullable(core.num), + [S$.$z]: dart.nullable(core.num) +})); +dart.setLibraryUri(html$.CssRotation, I[148]); +dart.registerExtension("CSSRotation", html$.CssRotation); +html$.CssScale = class CssScale extends html$.CssTransformComponent { + static new(x, y, z = null) { + if (x == null) dart.nullFailed(I[147], 3899, 24, "x"); + if (y == null) dart.nullFailed(I[147], 3899, 31, "y"); + if (typeof y == 'number' && typeof x == 'number' && z == null) { + return html$.CssScale._create_1(x, y); + } + if (typeof z == 'number' && typeof y == 'number' && typeof x == 'number') { + return html$.CssScale._create_2(x, y, z); + } + dart.throw(new core.ArgumentError.new("Incorrect number or type of arguments")); + } + static _create_1(x, y) { + return new CSSScale(x, y); + } + static _create_2(x, y, z) { + return new CSSScale(x, y, z); + } + get [S$.$x]() { + return this.x; + } + set [S$.$x](value) { + this.x = value; + } + get [S$.$y]() { + return this.y; + } + set [S$.$y](value) { + this.y = value; + } + get [S$.$z]() { + return this.z; + } + set [S$.$z](value) { + this.z = value; + } +}; +dart.addTypeTests(html$.CssScale); +dart.addTypeCaches(html$.CssScale); +dart.setGetterSignature(html$.CssScale, () => ({ + __proto__: dart.getGetters(html$.CssScale.__proto__), + [S$.$x]: dart.nullable(core.num), + [S$.$y]: dart.nullable(core.num), + [S$.$z]: dart.nullable(core.num) +})); +dart.setSetterSignature(html$.CssScale, () => ({ + __proto__: dart.getSetters(html$.CssScale.__proto__), + [S$.$x]: dart.nullable(core.num), + [S$.$y]: dart.nullable(core.num), + [S$.$z]: dart.nullable(core.num) +})); +dart.setLibraryUri(html$.CssScale, I[148]); +dart.registerExtension("CSSScale", html$.CssScale); +html$.CssSkew = class CssSkew extends html$.CssTransformComponent { + static new(ax, ay) { + if (ax == null) dart.nullFailed(I[147], 3935, 35, "ax"); + if (ay == null) dart.nullFailed(I[147], 3935, 55, "ay"); + return html$.CssSkew._create_1(ax, ay); + } + static _create_1(ax, ay) { + return new CSSSkew(ax, ay); + } + get [S$.$ax]() { + return this.ax; + } + set [S$.$ax](value) { + this.ax = value; + } + get [S$.$ay]() { + return this.ay; + } + set [S$.$ay](value) { + this.ay = value; + } +}; +dart.addTypeTests(html$.CssSkew); +dart.addTypeCaches(html$.CssSkew); +dart.setGetterSignature(html$.CssSkew, () => ({ + __proto__: dart.getGetters(html$.CssSkew.__proto__), + [S$.$ax]: dart.nullable(html$.CssNumericValue), + [S$.$ay]: dart.nullable(html$.CssNumericValue) +})); +dart.setSetterSignature(html$.CssSkew, () => ({ + __proto__: dart.getSetters(html$.CssSkew.__proto__), + [S$.$ax]: dart.nullable(html$.CssNumericValue), + [S$.$ay]: dart.nullable(html$.CssNumericValue) +})); +dart.setLibraryUri(html$.CssSkew, I[148]); +dart.registerExtension("CSSSkew", html$.CssSkew); +html$.CssStyleDeclarationBase = class CssStyleDeclarationBase extends core.Object { + get alignContent() { + return this[S$.$getPropertyValue]("align-content"); + } + set alignContent(value) { + if (value == null) dart.nullFailed(I[147], 5921, 27, "value"); + this[S$.$setProperty]("align-content", value, ""); + } + get alignItems() { + return this[S$.$getPropertyValue]("align-items"); + } + set alignItems(value) { + if (value == null) dart.nullFailed(I[147], 5929, 25, "value"); + this[S$.$setProperty]("align-items", value, ""); + } + get alignSelf() { + return this[S$.$getPropertyValue]("align-self"); + } + set alignSelf(value) { + if (value == null) dart.nullFailed(I[147], 5937, 24, "value"); + this[S$.$setProperty]("align-self", value, ""); + } + get animation() { + return this[S$.$getPropertyValue]("animation"); + } + set animation(value) { + if (value == null) dart.nullFailed(I[147], 5945, 24, "value"); + this[S$.$setProperty]("animation", value, ""); + } + get animationDelay() { + return this[S$.$getPropertyValue]("animation-delay"); + } + set animationDelay(value) { + if (value == null) dart.nullFailed(I[147], 5953, 29, "value"); + this[S$.$setProperty]("animation-delay", value, ""); + } + get animationDirection() { + return this[S$.$getPropertyValue]("animation-direction"); + } + set animationDirection(value) { + if (value == null) dart.nullFailed(I[147], 5961, 33, "value"); + this[S$.$setProperty]("animation-direction", value, ""); + } + get animationDuration() { + return this[S$.$getPropertyValue]("animation-duration"); + } + set animationDuration(value) { + if (value == null) dart.nullFailed(I[147], 5969, 32, "value"); + this[S$.$setProperty]("animation-duration", value, ""); + } + get animationFillMode() { + return this[S$.$getPropertyValue]("animation-fill-mode"); + } + set animationFillMode(value) { + if (value == null) dart.nullFailed(I[147], 5977, 32, "value"); + this[S$.$setProperty]("animation-fill-mode", value, ""); + } + get animationIterationCount() { + return this[S$.$getPropertyValue]("animation-iteration-count"); + } + set animationIterationCount(value) { + if (value == null) dart.nullFailed(I[147], 5986, 38, "value"); + this[S$.$setProperty]("animation-iteration-count", value, ""); + } + get animationName() { + return this[S$.$getPropertyValue]("animation-name"); + } + set animationName(value) { + if (value == null) dart.nullFailed(I[147], 5994, 28, "value"); + this[S$.$setProperty]("animation-name", value, ""); + } + get animationPlayState() { + return this[S$.$getPropertyValue]("animation-play-state"); + } + set animationPlayState(value) { + if (value == null) dart.nullFailed(I[147], 6002, 33, "value"); + this[S$.$setProperty]("animation-play-state", value, ""); + } + get animationTimingFunction() { + return this[S$.$getPropertyValue]("animation-timing-function"); + } + set animationTimingFunction(value) { + if (value == null) dart.nullFailed(I[147], 6011, 38, "value"); + this[S$.$setProperty]("animation-timing-function", value, ""); + } + get appRegion() { + return this[S$.$getPropertyValue]("app-region"); + } + set appRegion(value) { + if (value == null) dart.nullFailed(I[147], 6019, 24, "value"); + this[S$.$setProperty]("app-region", value, ""); + } + get appearance() { + return this[S$.$getPropertyValue]("appearance"); + } + set appearance(value) { + if (value == null) dart.nullFailed(I[147], 6027, 25, "value"); + this[S$.$setProperty]("appearance", value, ""); + } + get aspectRatio() { + return this[S$.$getPropertyValue]("aspect-ratio"); + } + set aspectRatio(value) { + if (value == null) dart.nullFailed(I[147], 6035, 26, "value"); + this[S$.$setProperty]("aspect-ratio", value, ""); + } + get backfaceVisibility() { + return this[S$.$getPropertyValue]("backface-visibility"); + } + set backfaceVisibility(value) { + if (value == null) dart.nullFailed(I[147], 6043, 33, "value"); + this[S$.$setProperty]("backface-visibility", value, ""); + } + get background() { + return this[S$.$getPropertyValue]("background"); + } + set background(value) { + if (value == null) dart.nullFailed(I[147], 6051, 25, "value"); + this[S$.$setProperty]("background", value, ""); + } + get backgroundAttachment() { + return this[S$.$getPropertyValue]("background-attachment"); + } + set backgroundAttachment(value) { + if (value == null) dart.nullFailed(I[147], 6059, 35, "value"); + this[S$.$setProperty]("background-attachment", value, ""); + } + get backgroundBlendMode() { + return this[S$.$getPropertyValue]("background-blend-mode"); + } + set backgroundBlendMode(value) { + if (value == null) dart.nullFailed(I[147], 6067, 34, "value"); + this[S$.$setProperty]("background-blend-mode", value, ""); + } + get backgroundClip() { + return this[S$.$getPropertyValue]("background-clip"); + } + set backgroundClip(value) { + if (value == null) dart.nullFailed(I[147], 6075, 29, "value"); + this[S$.$setProperty]("background-clip", value, ""); + } + get backgroundColor() { + return this[S$.$getPropertyValue]("background-color"); + } + set backgroundColor(value) { + if (value == null) dart.nullFailed(I[147], 6083, 30, "value"); + this[S$.$setProperty]("background-color", value, ""); + } + get backgroundComposite() { + return this[S$.$getPropertyValue]("background-composite"); + } + set backgroundComposite(value) { + if (value == null) dart.nullFailed(I[147], 6091, 34, "value"); + this[S$.$setProperty]("background-composite", value, ""); + } + get backgroundImage() { + return this[S$.$getPropertyValue]("background-image"); + } + set backgroundImage(value) { + if (value == null) dart.nullFailed(I[147], 6099, 30, "value"); + this[S$.$setProperty]("background-image", value, ""); + } + get backgroundOrigin() { + return this[S$.$getPropertyValue]("background-origin"); + } + set backgroundOrigin(value) { + if (value == null) dart.nullFailed(I[147], 6107, 31, "value"); + this[S$.$setProperty]("background-origin", value, ""); + } + get backgroundPosition() { + return this[S$.$getPropertyValue]("background-position"); + } + set backgroundPosition(value) { + if (value == null) dart.nullFailed(I[147], 6115, 33, "value"); + this[S$.$setProperty]("background-position", value, ""); + } + get backgroundPositionX() { + return this[S$.$getPropertyValue]("background-position-x"); + } + set backgroundPositionX(value) { + if (value == null) dart.nullFailed(I[147], 6123, 34, "value"); + this[S$.$setProperty]("background-position-x", value, ""); + } + get backgroundPositionY() { + return this[S$.$getPropertyValue]("background-position-y"); + } + set backgroundPositionY(value) { + if (value == null) dart.nullFailed(I[147], 6131, 34, "value"); + this[S$.$setProperty]("background-position-y", value, ""); + } + get backgroundRepeat() { + return this[S$.$getPropertyValue]("background-repeat"); + } + set backgroundRepeat(value) { + if (value == null) dart.nullFailed(I[147], 6139, 31, "value"); + this[S$.$setProperty]("background-repeat", value, ""); + } + get backgroundRepeatX() { + return this[S$.$getPropertyValue]("background-repeat-x"); + } + set backgroundRepeatX(value) { + if (value == null) dart.nullFailed(I[147], 6147, 32, "value"); + this[S$.$setProperty]("background-repeat-x", value, ""); + } + get backgroundRepeatY() { + return this[S$.$getPropertyValue]("background-repeat-y"); + } + set backgroundRepeatY(value) { + if (value == null) dart.nullFailed(I[147], 6155, 32, "value"); + this[S$.$setProperty]("background-repeat-y", value, ""); + } + get backgroundSize() { + return this[S$.$getPropertyValue]("background-size"); + } + set backgroundSize(value) { + if (value == null) dart.nullFailed(I[147], 6163, 29, "value"); + this[S$.$setProperty]("background-size", value, ""); + } + get border() { + return this[S$.$getPropertyValue]("border"); + } + set border(value) { + if (value == null) dart.nullFailed(I[147], 6171, 21, "value"); + this[S$.$setProperty]("border", value, ""); + } + get borderAfter() { + return this[S$.$getPropertyValue]("border-after"); + } + set borderAfter(value) { + if (value == null) dart.nullFailed(I[147], 6179, 26, "value"); + this[S$.$setProperty]("border-after", value, ""); + } + get borderAfterColor() { + return this[S$.$getPropertyValue]("border-after-color"); + } + set borderAfterColor(value) { + if (value == null) dart.nullFailed(I[147], 6187, 31, "value"); + this[S$.$setProperty]("border-after-color", value, ""); + } + get borderAfterStyle() { + return this[S$.$getPropertyValue]("border-after-style"); + } + set borderAfterStyle(value) { + if (value == null) dart.nullFailed(I[147], 6195, 31, "value"); + this[S$.$setProperty]("border-after-style", value, ""); + } + get borderAfterWidth() { + return this[S$.$getPropertyValue]("border-after-width"); + } + set borderAfterWidth(value) { + if (value == null) dart.nullFailed(I[147], 6203, 31, "value"); + this[S$.$setProperty]("border-after-width", value, ""); + } + get borderBefore() { + return this[S$.$getPropertyValue]("border-before"); + } + set borderBefore(value) { + if (value == null) dart.nullFailed(I[147], 6211, 27, "value"); + this[S$.$setProperty]("border-before", value, ""); + } + get borderBeforeColor() { + return this[S$.$getPropertyValue]("border-before-color"); + } + set borderBeforeColor(value) { + if (value == null) dart.nullFailed(I[147], 6219, 32, "value"); + this[S$.$setProperty]("border-before-color", value, ""); + } + get borderBeforeStyle() { + return this[S$.$getPropertyValue]("border-before-style"); + } + set borderBeforeStyle(value) { + if (value == null) dart.nullFailed(I[147], 6227, 32, "value"); + this[S$.$setProperty]("border-before-style", value, ""); + } + get borderBeforeWidth() { + return this[S$.$getPropertyValue]("border-before-width"); + } + set borderBeforeWidth(value) { + if (value == null) dart.nullFailed(I[147], 6235, 32, "value"); + this[S$.$setProperty]("border-before-width", value, ""); + } + get borderBottom() { + return this[S$.$getPropertyValue]("border-bottom"); + } + set borderBottom(value) { + if (value == null) dart.nullFailed(I[147], 6243, 27, "value"); + this[S$.$setProperty]("border-bottom", value, ""); + } + get borderBottomColor() { + return this[S$.$getPropertyValue]("border-bottom-color"); + } + set borderBottomColor(value) { + if (value == null) dart.nullFailed(I[147], 6251, 32, "value"); + this[S$.$setProperty]("border-bottom-color", value, ""); + } + get borderBottomLeftRadius() { + return this[S$.$getPropertyValue]("border-bottom-left-radius"); + } + set borderBottomLeftRadius(value) { + if (value == null) dart.nullFailed(I[147], 6260, 37, "value"); + this[S$.$setProperty]("border-bottom-left-radius", value, ""); + } + get borderBottomRightRadius() { + return this[S$.$getPropertyValue]("border-bottom-right-radius"); + } + set borderBottomRightRadius(value) { + if (value == null) dart.nullFailed(I[147], 6269, 38, "value"); + this[S$.$setProperty]("border-bottom-right-radius", value, ""); + } + get borderBottomStyle() { + return this[S$.$getPropertyValue]("border-bottom-style"); + } + set borderBottomStyle(value) { + if (value == null) dart.nullFailed(I[147], 6277, 32, "value"); + this[S$.$setProperty]("border-bottom-style", value, ""); + } + get borderBottomWidth() { + return this[S$.$getPropertyValue]("border-bottom-width"); + } + set borderBottomWidth(value) { + if (value == null) dart.nullFailed(I[147], 6285, 32, "value"); + this[S$.$setProperty]("border-bottom-width", value, ""); + } + get borderCollapse() { + return this[S$.$getPropertyValue]("border-collapse"); + } + set borderCollapse(value) { + if (value == null) dart.nullFailed(I[147], 6293, 29, "value"); + this[S$.$setProperty]("border-collapse", value, ""); + } + get borderColor() { + return this[S$.$getPropertyValue]("border-color"); + } + set borderColor(value) { + if (value == null) dart.nullFailed(I[147], 6301, 26, "value"); + this[S$.$setProperty]("border-color", value, ""); + } + get borderEnd() { + return this[S$.$getPropertyValue]("border-end"); + } + set borderEnd(value) { + if (value == null) dart.nullFailed(I[147], 6309, 24, "value"); + this[S$.$setProperty]("border-end", value, ""); + } + get borderEndColor() { + return this[S$.$getPropertyValue]("border-end-color"); + } + set borderEndColor(value) { + if (value == null) dart.nullFailed(I[147], 6317, 29, "value"); + this[S$.$setProperty]("border-end-color", value, ""); + } + get borderEndStyle() { + return this[S$.$getPropertyValue]("border-end-style"); + } + set borderEndStyle(value) { + if (value == null) dart.nullFailed(I[147], 6325, 29, "value"); + this[S$.$setProperty]("border-end-style", value, ""); + } + get borderEndWidth() { + return this[S$.$getPropertyValue]("border-end-width"); + } + set borderEndWidth(value) { + if (value == null) dart.nullFailed(I[147], 6333, 29, "value"); + this[S$.$setProperty]("border-end-width", value, ""); + } + get borderFit() { + return this[S$.$getPropertyValue]("border-fit"); + } + set borderFit(value) { + if (value == null) dart.nullFailed(I[147], 6341, 24, "value"); + this[S$.$setProperty]("border-fit", value, ""); + } + get borderHorizontalSpacing() { + return this[S$.$getPropertyValue]("border-horizontal-spacing"); + } + set borderHorizontalSpacing(value) { + if (value == null) dart.nullFailed(I[147], 6350, 38, "value"); + this[S$.$setProperty]("border-horizontal-spacing", value, ""); + } + get borderImage() { + return this[S$.$getPropertyValue]("border-image"); + } + set borderImage(value) { + if (value == null) dart.nullFailed(I[147], 6358, 26, "value"); + this[S$.$setProperty]("border-image", value, ""); + } + get borderImageOutset() { + return this[S$.$getPropertyValue]("border-image-outset"); + } + set borderImageOutset(value) { + if (value == null) dart.nullFailed(I[147], 6366, 32, "value"); + this[S$.$setProperty]("border-image-outset", value, ""); + } + get borderImageRepeat() { + return this[S$.$getPropertyValue]("border-image-repeat"); + } + set borderImageRepeat(value) { + if (value == null) dart.nullFailed(I[147], 6374, 32, "value"); + this[S$.$setProperty]("border-image-repeat", value, ""); + } + get borderImageSlice() { + return this[S$.$getPropertyValue]("border-image-slice"); + } + set borderImageSlice(value) { + if (value == null) dart.nullFailed(I[147], 6382, 31, "value"); + this[S$.$setProperty]("border-image-slice", value, ""); + } + get borderImageSource() { + return this[S$.$getPropertyValue]("border-image-source"); + } + set borderImageSource(value) { + if (value == null) dart.nullFailed(I[147], 6390, 32, "value"); + this[S$.$setProperty]("border-image-source", value, ""); + } + get borderImageWidth() { + return this[S$.$getPropertyValue]("border-image-width"); + } + set borderImageWidth(value) { + if (value == null) dart.nullFailed(I[147], 6398, 31, "value"); + this[S$.$setProperty]("border-image-width", value, ""); + } + get borderLeft() { + return this[S$.$getPropertyValue]("border-left"); + } + set borderLeft(value) { + if (value == null) dart.nullFailed(I[147], 6406, 25, "value"); + this[S$.$setProperty]("border-left", value, ""); + } + get borderLeftColor() { + return this[S$.$getPropertyValue]("border-left-color"); + } + set borderLeftColor(value) { + if (value == null) dart.nullFailed(I[147], 6414, 30, "value"); + this[S$.$setProperty]("border-left-color", value, ""); + } + get borderLeftStyle() { + return this[S$.$getPropertyValue]("border-left-style"); + } + set borderLeftStyle(value) { + if (value == null) dart.nullFailed(I[147], 6422, 30, "value"); + this[S$.$setProperty]("border-left-style", value, ""); + } + get borderLeftWidth() { + return this[S$.$getPropertyValue]("border-left-width"); + } + set borderLeftWidth(value) { + if (value == null) dart.nullFailed(I[147], 6430, 30, "value"); + this[S$.$setProperty]("border-left-width", value, ""); + } + get borderRadius() { + return this[S$.$getPropertyValue]("border-radius"); + } + set borderRadius(value) { + if (value == null) dart.nullFailed(I[147], 6438, 27, "value"); + this[S$.$setProperty]("border-radius", value, ""); + } + get borderRight() { + return this[S$.$getPropertyValue]("border-right"); + } + set borderRight(value) { + if (value == null) dart.nullFailed(I[147], 6446, 26, "value"); + this[S$.$setProperty]("border-right", value, ""); + } + get borderRightColor() { + return this[S$.$getPropertyValue]("border-right-color"); + } + set borderRightColor(value) { + if (value == null) dart.nullFailed(I[147], 6454, 31, "value"); + this[S$.$setProperty]("border-right-color", value, ""); + } + get borderRightStyle() { + return this[S$.$getPropertyValue]("border-right-style"); + } + set borderRightStyle(value) { + if (value == null) dart.nullFailed(I[147], 6462, 31, "value"); + this[S$.$setProperty]("border-right-style", value, ""); + } + get borderRightWidth() { + return this[S$.$getPropertyValue]("border-right-width"); + } + set borderRightWidth(value) { + if (value == null) dart.nullFailed(I[147], 6470, 31, "value"); + this[S$.$setProperty]("border-right-width", value, ""); + } + get borderSpacing() { + return this[S$.$getPropertyValue]("border-spacing"); + } + set borderSpacing(value) { + if (value == null) dart.nullFailed(I[147], 6478, 28, "value"); + this[S$.$setProperty]("border-spacing", value, ""); + } + get borderStart() { + return this[S$.$getPropertyValue]("border-start"); + } + set borderStart(value) { + if (value == null) dart.nullFailed(I[147], 6486, 26, "value"); + this[S$.$setProperty]("border-start", value, ""); + } + get borderStartColor() { + return this[S$.$getPropertyValue]("border-start-color"); + } + set borderStartColor(value) { + if (value == null) dart.nullFailed(I[147], 6494, 31, "value"); + this[S$.$setProperty]("border-start-color", value, ""); + } + get borderStartStyle() { + return this[S$.$getPropertyValue]("border-start-style"); + } + set borderStartStyle(value) { + if (value == null) dart.nullFailed(I[147], 6502, 31, "value"); + this[S$.$setProperty]("border-start-style", value, ""); + } + get borderStartWidth() { + return this[S$.$getPropertyValue]("border-start-width"); + } + set borderStartWidth(value) { + if (value == null) dart.nullFailed(I[147], 6510, 31, "value"); + this[S$.$setProperty]("border-start-width", value, ""); + } + get borderStyle() { + return this[S$.$getPropertyValue]("border-style"); + } + set borderStyle(value) { + if (value == null) dart.nullFailed(I[147], 6518, 26, "value"); + this[S$.$setProperty]("border-style", value, ""); + } + get borderTop() { + return this[S$.$getPropertyValue]("border-top"); + } + set borderTop(value) { + if (value == null) dart.nullFailed(I[147], 6526, 24, "value"); + this[S$.$setProperty]("border-top", value, ""); + } + get borderTopColor() { + return this[S$.$getPropertyValue]("border-top-color"); + } + set borderTopColor(value) { + if (value == null) dart.nullFailed(I[147], 6534, 29, "value"); + this[S$.$setProperty]("border-top-color", value, ""); + } + get borderTopLeftRadius() { + return this[S$.$getPropertyValue]("border-top-left-radius"); + } + set borderTopLeftRadius(value) { + if (value == null) dart.nullFailed(I[147], 6542, 34, "value"); + this[S$.$setProperty]("border-top-left-radius", value, ""); + } + get borderTopRightRadius() { + return this[S$.$getPropertyValue]("border-top-right-radius"); + } + set borderTopRightRadius(value) { + if (value == null) dart.nullFailed(I[147], 6551, 35, "value"); + this[S$.$setProperty]("border-top-right-radius", value, ""); + } + get borderTopStyle() { + return this[S$.$getPropertyValue]("border-top-style"); + } + set borderTopStyle(value) { + if (value == null) dart.nullFailed(I[147], 6559, 29, "value"); + this[S$.$setProperty]("border-top-style", value, ""); + } + get borderTopWidth() { + return this[S$.$getPropertyValue]("border-top-width"); + } + set borderTopWidth(value) { + if (value == null) dart.nullFailed(I[147], 6567, 29, "value"); + this[S$.$setProperty]("border-top-width", value, ""); + } + get borderVerticalSpacing() { + return this[S$.$getPropertyValue]("border-vertical-spacing"); + } + set borderVerticalSpacing(value) { + if (value == null) dart.nullFailed(I[147], 6576, 36, "value"); + this[S$.$setProperty]("border-vertical-spacing", value, ""); + } + get borderWidth() { + return this[S$.$getPropertyValue]("border-width"); + } + set borderWidth(value) { + if (value == null) dart.nullFailed(I[147], 6584, 26, "value"); + this[S$.$setProperty]("border-width", value, ""); + } + get bottom() { + return this[S$.$getPropertyValue]("bottom"); + } + set bottom(value) { + if (value == null) dart.nullFailed(I[147], 6592, 21, "value"); + this[S$.$setProperty]("bottom", value, ""); + } + get boxAlign() { + return this[S$.$getPropertyValue]("box-align"); + } + set boxAlign(value) { + if (value == null) dart.nullFailed(I[147], 6600, 23, "value"); + this[S$.$setProperty]("box-align", value, ""); + } + get boxDecorationBreak() { + return this[S$.$getPropertyValue]("box-decoration-break"); + } + set boxDecorationBreak(value) { + if (value == null) dart.nullFailed(I[147], 6608, 33, "value"); + this[S$.$setProperty]("box-decoration-break", value, ""); + } + get boxDirection() { + return this[S$.$getPropertyValue]("box-direction"); + } + set boxDirection(value) { + if (value == null) dart.nullFailed(I[147], 6616, 27, "value"); + this[S$.$setProperty]("box-direction", value, ""); + } + get boxFlex() { + return this[S$.$getPropertyValue]("box-flex"); + } + set boxFlex(value) { + if (value == null) dart.nullFailed(I[147], 6624, 22, "value"); + this[S$.$setProperty]("box-flex", value, ""); + } + get boxFlexGroup() { + return this[S$.$getPropertyValue]("box-flex-group"); + } + set boxFlexGroup(value) { + if (value == null) dart.nullFailed(I[147], 6632, 27, "value"); + this[S$.$setProperty]("box-flex-group", value, ""); + } + get boxLines() { + return this[S$.$getPropertyValue]("box-lines"); + } + set boxLines(value) { + if (value == null) dart.nullFailed(I[147], 6640, 23, "value"); + this[S$.$setProperty]("box-lines", value, ""); + } + get boxOrdinalGroup() { + return this[S$.$getPropertyValue]("box-ordinal-group"); + } + set boxOrdinalGroup(value) { + if (value == null) dart.nullFailed(I[147], 6648, 30, "value"); + this[S$.$setProperty]("box-ordinal-group", value, ""); + } + get boxOrient() { + return this[S$.$getPropertyValue]("box-orient"); + } + set boxOrient(value) { + if (value == null) dart.nullFailed(I[147], 6656, 24, "value"); + this[S$.$setProperty]("box-orient", value, ""); + } + get boxPack() { + return this[S$.$getPropertyValue]("box-pack"); + } + set boxPack(value) { + if (value == null) dart.nullFailed(I[147], 6664, 22, "value"); + this[S$.$setProperty]("box-pack", value, ""); + } + get boxReflect() { + return this[S$.$getPropertyValue]("box-reflect"); + } + set boxReflect(value) { + if (value == null) dart.nullFailed(I[147], 6672, 25, "value"); + this[S$.$setProperty]("box-reflect", value, ""); + } + get boxShadow() { + return this[S$.$getPropertyValue]("box-shadow"); + } + set boxShadow(value) { + if (value == null) dart.nullFailed(I[147], 6680, 24, "value"); + this[S$.$setProperty]("box-shadow", value, ""); + } + get boxSizing() { + return this[S$.$getPropertyValue]("box-sizing"); + } + set boxSizing(value) { + if (value == null) dart.nullFailed(I[147], 6688, 24, "value"); + this[S$.$setProperty]("box-sizing", value, ""); + } + get captionSide() { + return this[S$.$getPropertyValue]("caption-side"); + } + set captionSide(value) { + if (value == null) dart.nullFailed(I[147], 6696, 26, "value"); + this[S$.$setProperty]("caption-side", value, ""); + } + get clear() { + return this[S$.$getPropertyValue]("clear"); + } + set clear(value) { + if (value == null) dart.nullFailed(I[147], 6704, 20, "value"); + this[S$.$setProperty]("clear", value, ""); + } + get clip() { + return this[S$.$getPropertyValue]("clip"); + } + set clip(value) { + if (value == null) dart.nullFailed(I[147], 6712, 19, "value"); + this[S$.$setProperty]("clip", value, ""); + } + get clipPath() { + return this[S$.$getPropertyValue]("clip-path"); + } + set clipPath(value) { + if (value == null) dart.nullFailed(I[147], 6720, 23, "value"); + this[S$.$setProperty]("clip-path", value, ""); + } + get color() { + return this[S$.$getPropertyValue]("color"); + } + set color(value) { + if (value == null) dart.nullFailed(I[147], 6728, 20, "value"); + this[S$.$setProperty]("color", value, ""); + } + get columnBreakAfter() { + return this[S$.$getPropertyValue]("column-break-after"); + } + set columnBreakAfter(value) { + if (value == null) dart.nullFailed(I[147], 6736, 31, "value"); + this[S$.$setProperty]("column-break-after", value, ""); + } + get columnBreakBefore() { + return this[S$.$getPropertyValue]("column-break-before"); + } + set columnBreakBefore(value) { + if (value == null) dart.nullFailed(I[147], 6744, 32, "value"); + this[S$.$setProperty]("column-break-before", value, ""); + } + get columnBreakInside() { + return this[S$.$getPropertyValue]("column-break-inside"); + } + set columnBreakInside(value) { + if (value == null) dart.nullFailed(I[147], 6752, 32, "value"); + this[S$.$setProperty]("column-break-inside", value, ""); + } + get columnCount() { + return this[S$.$getPropertyValue]("column-count"); + } + set columnCount(value) { + if (value == null) dart.nullFailed(I[147], 6760, 26, "value"); + this[S$.$setProperty]("column-count", value, ""); + } + get columnFill() { + return this[S$.$getPropertyValue]("column-fill"); + } + set columnFill(value) { + if (value == null) dart.nullFailed(I[147], 6768, 25, "value"); + this[S$.$setProperty]("column-fill", value, ""); + } + get columnGap() { + return this[S$.$getPropertyValue]("column-gap"); + } + set columnGap(value) { + if (value == null) dart.nullFailed(I[147], 6776, 24, "value"); + this[S$.$setProperty]("column-gap", value, ""); + } + get columnRule() { + return this[S$.$getPropertyValue]("column-rule"); + } + set columnRule(value) { + if (value == null) dart.nullFailed(I[147], 6784, 25, "value"); + this[S$.$setProperty]("column-rule", value, ""); + } + get columnRuleColor() { + return this[S$.$getPropertyValue]("column-rule-color"); + } + set columnRuleColor(value) { + if (value == null) dart.nullFailed(I[147], 6792, 30, "value"); + this[S$.$setProperty]("column-rule-color", value, ""); + } + get columnRuleStyle() { + return this[S$.$getPropertyValue]("column-rule-style"); + } + set columnRuleStyle(value) { + if (value == null) dart.nullFailed(I[147], 6800, 30, "value"); + this[S$.$setProperty]("column-rule-style", value, ""); + } + get columnRuleWidth() { + return this[S$.$getPropertyValue]("column-rule-width"); + } + set columnRuleWidth(value) { + if (value == null) dart.nullFailed(I[147], 6808, 30, "value"); + this[S$.$setProperty]("column-rule-width", value, ""); + } + get columnSpan() { + return this[S$.$getPropertyValue]("column-span"); + } + set columnSpan(value) { + if (value == null) dart.nullFailed(I[147], 6816, 25, "value"); + this[S$.$setProperty]("column-span", value, ""); + } + get columnWidth() { + return this[S$.$getPropertyValue]("column-width"); + } + set columnWidth(value) { + if (value == null) dart.nullFailed(I[147], 6824, 26, "value"); + this[S$.$setProperty]("column-width", value, ""); + } + get columns() { + return this[S$.$getPropertyValue]("columns"); + } + set columns(value) { + if (value == null) dart.nullFailed(I[147], 6832, 22, "value"); + this[S$.$setProperty]("columns", value, ""); + } + get content() { + return this[S$.$getPropertyValue]("content"); + } + set content(value) { + if (value == null) dart.nullFailed(I[147], 6840, 22, "value"); + this[S$.$setProperty]("content", value, ""); + } + get counterIncrement() { + return this[S$.$getPropertyValue]("counter-increment"); + } + set counterIncrement(value) { + if (value == null) dart.nullFailed(I[147], 6848, 31, "value"); + this[S$.$setProperty]("counter-increment", value, ""); + } + get counterReset() { + return this[S$.$getPropertyValue]("counter-reset"); + } + set counterReset(value) { + if (value == null) dart.nullFailed(I[147], 6856, 27, "value"); + this[S$.$setProperty]("counter-reset", value, ""); + } + get cursor() { + return this[S$.$getPropertyValue]("cursor"); + } + set cursor(value) { + if (value == null) dart.nullFailed(I[147], 6864, 21, "value"); + this[S$.$setProperty]("cursor", value, ""); + } + get direction() { + return this[S$.$getPropertyValue]("direction"); + } + set direction(value) { + if (value == null) dart.nullFailed(I[147], 6872, 24, "value"); + this[S$.$setProperty]("direction", value, ""); + } + get display() { + return this[S$.$getPropertyValue]("display"); + } + set display(value) { + if (value == null) dart.nullFailed(I[147], 6880, 22, "value"); + this[S$.$setProperty]("display", value, ""); + } + get emptyCells() { + return this[S$.$getPropertyValue]("empty-cells"); + } + set emptyCells(value) { + if (value == null) dart.nullFailed(I[147], 6888, 25, "value"); + this[S$.$setProperty]("empty-cells", value, ""); + } + get filter() { + return this[S$.$getPropertyValue]("filter"); + } + set filter(value) { + if (value == null) dart.nullFailed(I[147], 6896, 21, "value"); + this[S$.$setProperty]("filter", value, ""); + } + get flex() { + return this[S$.$getPropertyValue]("flex"); + } + set flex(value) { + if (value == null) dart.nullFailed(I[147], 6904, 19, "value"); + this[S$.$setProperty]("flex", value, ""); + } + get flexBasis() { + return this[S$.$getPropertyValue]("flex-basis"); + } + set flexBasis(value) { + if (value == null) dart.nullFailed(I[147], 6912, 24, "value"); + this[S$.$setProperty]("flex-basis", value, ""); + } + get flexDirection() { + return this[S$.$getPropertyValue]("flex-direction"); + } + set flexDirection(value) { + if (value == null) dart.nullFailed(I[147], 6920, 28, "value"); + this[S$.$setProperty]("flex-direction", value, ""); + } + get flexFlow() { + return this[S$.$getPropertyValue]("flex-flow"); + } + set flexFlow(value) { + if (value == null) dart.nullFailed(I[147], 6928, 23, "value"); + this[S$.$setProperty]("flex-flow", value, ""); + } + get flexGrow() { + return this[S$.$getPropertyValue]("flex-grow"); + } + set flexGrow(value) { + if (value == null) dart.nullFailed(I[147], 6936, 23, "value"); + this[S$.$setProperty]("flex-grow", value, ""); + } + get flexShrink() { + return this[S$.$getPropertyValue]("flex-shrink"); + } + set flexShrink(value) { + if (value == null) dart.nullFailed(I[147], 6944, 25, "value"); + this[S$.$setProperty]("flex-shrink", value, ""); + } + get flexWrap() { + return this[S$.$getPropertyValue]("flex-wrap"); + } + set flexWrap(value) { + if (value == null) dart.nullFailed(I[147], 6952, 23, "value"); + this[S$.$setProperty]("flex-wrap", value, ""); + } + get float() { + return this[S$.$getPropertyValue]("float"); + } + set float(value) { + if (value == null) dart.nullFailed(I[147], 6960, 20, "value"); + this[S$.$setProperty]("float", value, ""); + } + get font() { + return this[S$.$getPropertyValue]("font"); + } + set font(value) { + if (value == null) dart.nullFailed(I[147], 6968, 19, "value"); + this[S$.$setProperty]("font", value, ""); + } + get fontFamily() { + return this[S$.$getPropertyValue]("font-family"); + } + set fontFamily(value) { + if (value == null) dart.nullFailed(I[147], 6976, 25, "value"); + this[S$.$setProperty]("font-family", value, ""); + } + get fontFeatureSettings() { + return this[S$.$getPropertyValue]("font-feature-settings"); + } + set fontFeatureSettings(value) { + if (value == null) dart.nullFailed(I[147], 6984, 34, "value"); + this[S$.$setProperty]("font-feature-settings", value, ""); + } + get fontKerning() { + return this[S$.$getPropertyValue]("font-kerning"); + } + set fontKerning(value) { + if (value == null) dart.nullFailed(I[147], 6992, 26, "value"); + this[S$.$setProperty]("font-kerning", value, ""); + } + get fontSize() { + return this[S$.$getPropertyValue]("font-size"); + } + set fontSize(value) { + if (value == null) dart.nullFailed(I[147], 7000, 23, "value"); + this[S$.$setProperty]("font-size", value, ""); + } + get fontSizeDelta() { + return this[S$.$getPropertyValue]("font-size-delta"); + } + set fontSizeDelta(value) { + if (value == null) dart.nullFailed(I[147], 7008, 28, "value"); + this[S$.$setProperty]("font-size-delta", value, ""); + } + get fontSmoothing() { + return this[S$.$getPropertyValue]("font-smoothing"); + } + set fontSmoothing(value) { + if (value == null) dart.nullFailed(I[147], 7016, 28, "value"); + this[S$.$setProperty]("font-smoothing", value, ""); + } + get fontStretch() { + return this[S$.$getPropertyValue]("font-stretch"); + } + set fontStretch(value) { + if (value == null) dart.nullFailed(I[147], 7024, 26, "value"); + this[S$.$setProperty]("font-stretch", value, ""); + } + get fontStyle() { + return this[S$.$getPropertyValue]("font-style"); + } + set fontStyle(value) { + if (value == null) dart.nullFailed(I[147], 7032, 24, "value"); + this[S$.$setProperty]("font-style", value, ""); + } + get fontVariant() { + return this[S$.$getPropertyValue]("font-variant"); + } + set fontVariant(value) { + if (value == null) dart.nullFailed(I[147], 7040, 26, "value"); + this[S$.$setProperty]("font-variant", value, ""); + } + get fontVariantLigatures() { + return this[S$.$getPropertyValue]("font-variant-ligatures"); + } + set fontVariantLigatures(value) { + if (value == null) dart.nullFailed(I[147], 7048, 35, "value"); + this[S$.$setProperty]("font-variant-ligatures", value, ""); + } + get fontWeight() { + return this[S$.$getPropertyValue]("font-weight"); + } + set fontWeight(value) { + if (value == null) dart.nullFailed(I[147], 7056, 25, "value"); + this[S$.$setProperty]("font-weight", value, ""); + } + get grid() { + return this[S$.$getPropertyValue]("grid"); + } + set grid(value) { + if (value == null) dart.nullFailed(I[147], 7064, 19, "value"); + this[S$.$setProperty]("grid", value, ""); + } + get gridArea() { + return this[S$.$getPropertyValue]("grid-area"); + } + set gridArea(value) { + if (value == null) dart.nullFailed(I[147], 7072, 23, "value"); + this[S$.$setProperty]("grid-area", value, ""); + } + get gridAutoColumns() { + return this[S$.$getPropertyValue]("grid-auto-columns"); + } + set gridAutoColumns(value) { + if (value == null) dart.nullFailed(I[147], 7080, 30, "value"); + this[S$.$setProperty]("grid-auto-columns", value, ""); + } + get gridAutoFlow() { + return this[S$.$getPropertyValue]("grid-auto-flow"); + } + set gridAutoFlow(value) { + if (value == null) dart.nullFailed(I[147], 7088, 27, "value"); + this[S$.$setProperty]("grid-auto-flow", value, ""); + } + get gridAutoRows() { + return this[S$.$getPropertyValue]("grid-auto-rows"); + } + set gridAutoRows(value) { + if (value == null) dart.nullFailed(I[147], 7096, 27, "value"); + this[S$.$setProperty]("grid-auto-rows", value, ""); + } + get gridColumn() { + return this[S$.$getPropertyValue]("grid-column"); + } + set gridColumn(value) { + if (value == null) dart.nullFailed(I[147], 7104, 25, "value"); + this[S$.$setProperty]("grid-column", value, ""); + } + get gridColumnEnd() { + return this[S$.$getPropertyValue]("grid-column-end"); + } + set gridColumnEnd(value) { + if (value == null) dart.nullFailed(I[147], 7112, 28, "value"); + this[S$.$setProperty]("grid-column-end", value, ""); + } + get gridColumnStart() { + return this[S$.$getPropertyValue]("grid-column-start"); + } + set gridColumnStart(value) { + if (value == null) dart.nullFailed(I[147], 7120, 30, "value"); + this[S$.$setProperty]("grid-column-start", value, ""); + } + get gridRow() { + return this[S$.$getPropertyValue]("grid-row"); + } + set gridRow(value) { + if (value == null) dart.nullFailed(I[147], 7128, 22, "value"); + this[S$.$setProperty]("grid-row", value, ""); + } + get gridRowEnd() { + return this[S$.$getPropertyValue]("grid-row-end"); + } + set gridRowEnd(value) { + if (value == null) dart.nullFailed(I[147], 7136, 25, "value"); + this[S$.$setProperty]("grid-row-end", value, ""); + } + get gridRowStart() { + return this[S$.$getPropertyValue]("grid-row-start"); + } + set gridRowStart(value) { + if (value == null) dart.nullFailed(I[147], 7144, 27, "value"); + this[S$.$setProperty]("grid-row-start", value, ""); + } + get gridTemplate() { + return this[S$.$getPropertyValue]("grid-template"); + } + set gridTemplate(value) { + if (value == null) dart.nullFailed(I[147], 7152, 27, "value"); + this[S$.$setProperty]("grid-template", value, ""); + } + get gridTemplateAreas() { + return this[S$.$getPropertyValue]("grid-template-areas"); + } + set gridTemplateAreas(value) { + if (value == null) dart.nullFailed(I[147], 7160, 32, "value"); + this[S$.$setProperty]("grid-template-areas", value, ""); + } + get gridTemplateColumns() { + return this[S$.$getPropertyValue]("grid-template-columns"); + } + set gridTemplateColumns(value) { + if (value == null) dart.nullFailed(I[147], 7168, 34, "value"); + this[S$.$setProperty]("grid-template-columns", value, ""); + } + get gridTemplateRows() { + return this[S$.$getPropertyValue]("grid-template-rows"); + } + set gridTemplateRows(value) { + if (value == null) dart.nullFailed(I[147], 7176, 31, "value"); + this[S$.$setProperty]("grid-template-rows", value, ""); + } + get height() { + return this[S$.$getPropertyValue]("height"); + } + set height(value) { + if (value == null) dart.nullFailed(I[147], 7184, 21, "value"); + this[S$.$setProperty]("height", value, ""); + } + get highlight() { + return this[S$.$getPropertyValue]("highlight"); + } + set highlight(value) { + if (value == null) dart.nullFailed(I[147], 7192, 24, "value"); + this[S$.$setProperty]("highlight", value, ""); + } + get hyphenateCharacter() { + return this[S$.$getPropertyValue]("hyphenate-character"); + } + set hyphenateCharacter(value) { + if (value == null) dart.nullFailed(I[147], 7200, 33, "value"); + this[S$.$setProperty]("hyphenate-character", value, ""); + } + get imageRendering() { + return this[S$.$getPropertyValue]("image-rendering"); + } + set imageRendering(value) { + if (value == null) dart.nullFailed(I[147], 7208, 29, "value"); + this[S$.$setProperty]("image-rendering", value, ""); + } + get isolation() { + return this[S$.$getPropertyValue]("isolation"); + } + set isolation(value) { + if (value == null) dart.nullFailed(I[147], 7216, 24, "value"); + this[S$.$setProperty]("isolation", value, ""); + } + get justifyContent() { + return this[S$.$getPropertyValue]("justify-content"); + } + set justifyContent(value) { + if (value == null) dart.nullFailed(I[147], 7224, 29, "value"); + this[S$.$setProperty]("justify-content", value, ""); + } + get justifySelf() { + return this[S$.$getPropertyValue]("justify-self"); + } + set justifySelf(value) { + if (value == null) dart.nullFailed(I[147], 7232, 26, "value"); + this[S$.$setProperty]("justify-self", value, ""); + } + get left() { + return this[S$.$getPropertyValue]("left"); + } + set left(value) { + if (value == null) dart.nullFailed(I[147], 7240, 19, "value"); + this[S$.$setProperty]("left", value, ""); + } + get letterSpacing() { + return this[S$.$getPropertyValue]("letter-spacing"); + } + set letterSpacing(value) { + if (value == null) dart.nullFailed(I[147], 7248, 28, "value"); + this[S$.$setProperty]("letter-spacing", value, ""); + } + get lineBoxContain() { + return this[S$.$getPropertyValue]("line-box-contain"); + } + set lineBoxContain(value) { + if (value == null) dart.nullFailed(I[147], 7256, 29, "value"); + this[S$.$setProperty]("line-box-contain", value, ""); + } + get lineBreak() { + return this[S$.$getPropertyValue]("line-break"); + } + set lineBreak(value) { + if (value == null) dart.nullFailed(I[147], 7264, 24, "value"); + this[S$.$setProperty]("line-break", value, ""); + } + get lineClamp() { + return this[S$.$getPropertyValue]("line-clamp"); + } + set lineClamp(value) { + if (value == null) dart.nullFailed(I[147], 7272, 24, "value"); + this[S$.$setProperty]("line-clamp", value, ""); + } + get lineHeight() { + return this[S$.$getPropertyValue]("line-height"); + } + set lineHeight(value) { + if (value == null) dart.nullFailed(I[147], 7280, 25, "value"); + this[S$.$setProperty]("line-height", value, ""); + } + get listStyle() { + return this[S$.$getPropertyValue]("list-style"); + } + set listStyle(value) { + if (value == null) dart.nullFailed(I[147], 7288, 24, "value"); + this[S$.$setProperty]("list-style", value, ""); + } + get listStyleImage() { + return this[S$.$getPropertyValue]("list-style-image"); + } + set listStyleImage(value) { + if (value == null) dart.nullFailed(I[147], 7296, 29, "value"); + this[S$.$setProperty]("list-style-image", value, ""); + } + get listStylePosition() { + return this[S$.$getPropertyValue]("list-style-position"); + } + set listStylePosition(value) { + if (value == null) dart.nullFailed(I[147], 7304, 32, "value"); + this[S$.$setProperty]("list-style-position", value, ""); + } + get listStyleType() { + return this[S$.$getPropertyValue]("list-style-type"); + } + set listStyleType(value) { + if (value == null) dart.nullFailed(I[147], 7312, 28, "value"); + this[S$.$setProperty]("list-style-type", value, ""); + } + get locale() { + return this[S$.$getPropertyValue]("locale"); + } + set locale(value) { + if (value == null) dart.nullFailed(I[147], 7320, 21, "value"); + this[S$.$setProperty]("locale", value, ""); + } + get logicalHeight() { + return this[S$.$getPropertyValue]("logical-height"); + } + set logicalHeight(value) { + if (value == null) dart.nullFailed(I[147], 7328, 28, "value"); + this[S$.$setProperty]("logical-height", value, ""); + } + get logicalWidth() { + return this[S$.$getPropertyValue]("logical-width"); + } + set logicalWidth(value) { + if (value == null) dart.nullFailed(I[147], 7336, 27, "value"); + this[S$.$setProperty]("logical-width", value, ""); + } + get margin() { + return this[S$.$getPropertyValue]("margin"); + } + set margin(value) { + if (value == null) dart.nullFailed(I[147], 7344, 21, "value"); + this[S$.$setProperty]("margin", value, ""); + } + get marginAfter() { + return this[S$.$getPropertyValue]("margin-after"); + } + set marginAfter(value) { + if (value == null) dart.nullFailed(I[147], 7352, 26, "value"); + this[S$.$setProperty]("margin-after", value, ""); + } + get marginAfterCollapse() { + return this[S$.$getPropertyValue]("margin-after-collapse"); + } + set marginAfterCollapse(value) { + if (value == null) dart.nullFailed(I[147], 7360, 34, "value"); + this[S$.$setProperty]("margin-after-collapse", value, ""); + } + get marginBefore() { + return this[S$.$getPropertyValue]("margin-before"); + } + set marginBefore(value) { + if (value == null) dart.nullFailed(I[147], 7368, 27, "value"); + this[S$.$setProperty]("margin-before", value, ""); + } + get marginBeforeCollapse() { + return this[S$.$getPropertyValue]("margin-before-collapse"); + } + set marginBeforeCollapse(value) { + if (value == null) dart.nullFailed(I[147], 7376, 35, "value"); + this[S$.$setProperty]("margin-before-collapse", value, ""); + } + get marginBottom() { + return this[S$.$getPropertyValue]("margin-bottom"); + } + set marginBottom(value) { + if (value == null) dart.nullFailed(I[147], 7384, 27, "value"); + this[S$.$setProperty]("margin-bottom", value, ""); + } + get marginBottomCollapse() { + return this[S$.$getPropertyValue]("margin-bottom-collapse"); + } + set marginBottomCollapse(value) { + if (value == null) dart.nullFailed(I[147], 7392, 35, "value"); + this[S$.$setProperty]("margin-bottom-collapse", value, ""); + } + get marginCollapse() { + return this[S$.$getPropertyValue]("margin-collapse"); + } + set marginCollapse(value) { + if (value == null) dart.nullFailed(I[147], 7400, 29, "value"); + this[S$.$setProperty]("margin-collapse", value, ""); + } + get marginEnd() { + return this[S$.$getPropertyValue]("margin-end"); + } + set marginEnd(value) { + if (value == null) dart.nullFailed(I[147], 7408, 24, "value"); + this[S$.$setProperty]("margin-end", value, ""); + } + get marginLeft() { + return this[S$.$getPropertyValue]("margin-left"); + } + set marginLeft(value) { + if (value == null) dart.nullFailed(I[147], 7416, 25, "value"); + this[S$.$setProperty]("margin-left", value, ""); + } + get marginRight() { + return this[S$.$getPropertyValue]("margin-right"); + } + set marginRight(value) { + if (value == null) dart.nullFailed(I[147], 7424, 26, "value"); + this[S$.$setProperty]("margin-right", value, ""); + } + get marginStart() { + return this[S$.$getPropertyValue]("margin-start"); + } + set marginStart(value) { + if (value == null) dart.nullFailed(I[147], 7432, 26, "value"); + this[S$.$setProperty]("margin-start", value, ""); + } + get marginTop() { + return this[S$.$getPropertyValue]("margin-top"); + } + set marginTop(value) { + if (value == null) dart.nullFailed(I[147], 7440, 24, "value"); + this[S$.$setProperty]("margin-top", value, ""); + } + get marginTopCollapse() { + return this[S$.$getPropertyValue]("margin-top-collapse"); + } + set marginTopCollapse(value) { + if (value == null) dart.nullFailed(I[147], 7448, 32, "value"); + this[S$.$setProperty]("margin-top-collapse", value, ""); + } + get mask() { + return this[S$.$getPropertyValue]("mask"); + } + set mask(value) { + if (value == null) dart.nullFailed(I[147], 7456, 19, "value"); + this[S$.$setProperty]("mask", value, ""); + } + get maskBoxImage() { + return this[S$.$getPropertyValue]("mask-box-image"); + } + set maskBoxImage(value) { + if (value == null) dart.nullFailed(I[147], 7464, 27, "value"); + this[S$.$setProperty]("mask-box-image", value, ""); + } + get maskBoxImageOutset() { + return this[S$.$getPropertyValue]("mask-box-image-outset"); + } + set maskBoxImageOutset(value) { + if (value == null) dart.nullFailed(I[147], 7472, 33, "value"); + this[S$.$setProperty]("mask-box-image-outset", value, ""); + } + get maskBoxImageRepeat() { + return this[S$.$getPropertyValue]("mask-box-image-repeat"); + } + set maskBoxImageRepeat(value) { + if (value == null) dart.nullFailed(I[147], 7480, 33, "value"); + this[S$.$setProperty]("mask-box-image-repeat", value, ""); + } + get maskBoxImageSlice() { + return this[S$.$getPropertyValue]("mask-box-image-slice"); + } + set maskBoxImageSlice(value) { + if (value == null) dart.nullFailed(I[147], 7488, 32, "value"); + this[S$.$setProperty]("mask-box-image-slice", value, ""); + } + get maskBoxImageSource() { + return this[S$.$getPropertyValue]("mask-box-image-source"); + } + set maskBoxImageSource(value) { + if (value == null) dart.nullFailed(I[147], 7496, 33, "value"); + this[S$.$setProperty]("mask-box-image-source", value, ""); + } + get maskBoxImageWidth() { + return this[S$.$getPropertyValue]("mask-box-image-width"); + } + set maskBoxImageWidth(value) { + if (value == null) dart.nullFailed(I[147], 7504, 32, "value"); + this[S$.$setProperty]("mask-box-image-width", value, ""); + } + get maskClip() { + return this[S$.$getPropertyValue]("mask-clip"); + } + set maskClip(value) { + if (value == null) dart.nullFailed(I[147], 7512, 23, "value"); + this[S$.$setProperty]("mask-clip", value, ""); + } + get maskComposite() { + return this[S$.$getPropertyValue]("mask-composite"); + } + set maskComposite(value) { + if (value == null) dart.nullFailed(I[147], 7520, 28, "value"); + this[S$.$setProperty]("mask-composite", value, ""); + } + get maskImage() { + return this[S$.$getPropertyValue]("mask-image"); + } + set maskImage(value) { + if (value == null) dart.nullFailed(I[147], 7528, 24, "value"); + this[S$.$setProperty]("mask-image", value, ""); + } + get maskOrigin() { + return this[S$.$getPropertyValue]("mask-origin"); + } + set maskOrigin(value) { + if (value == null) dart.nullFailed(I[147], 7536, 25, "value"); + this[S$.$setProperty]("mask-origin", value, ""); + } + get maskPosition() { + return this[S$.$getPropertyValue]("mask-position"); + } + set maskPosition(value) { + if (value == null) dart.nullFailed(I[147], 7544, 27, "value"); + this[S$.$setProperty]("mask-position", value, ""); + } + get maskPositionX() { + return this[S$.$getPropertyValue]("mask-position-x"); + } + set maskPositionX(value) { + if (value == null) dart.nullFailed(I[147], 7552, 28, "value"); + this[S$.$setProperty]("mask-position-x", value, ""); + } + get maskPositionY() { + return this[S$.$getPropertyValue]("mask-position-y"); + } + set maskPositionY(value) { + if (value == null) dart.nullFailed(I[147], 7560, 28, "value"); + this[S$.$setProperty]("mask-position-y", value, ""); + } + get maskRepeat() { + return this[S$.$getPropertyValue]("mask-repeat"); + } + set maskRepeat(value) { + if (value == null) dart.nullFailed(I[147], 7568, 25, "value"); + this[S$.$setProperty]("mask-repeat", value, ""); + } + get maskRepeatX() { + return this[S$.$getPropertyValue]("mask-repeat-x"); + } + set maskRepeatX(value) { + if (value == null) dart.nullFailed(I[147], 7576, 26, "value"); + this[S$.$setProperty]("mask-repeat-x", value, ""); + } + get maskRepeatY() { + return this[S$.$getPropertyValue]("mask-repeat-y"); + } + set maskRepeatY(value) { + if (value == null) dart.nullFailed(I[147], 7584, 26, "value"); + this[S$.$setProperty]("mask-repeat-y", value, ""); + } + get maskSize() { + return this[S$.$getPropertyValue]("mask-size"); + } + set maskSize(value) { + if (value == null) dart.nullFailed(I[147], 7592, 23, "value"); + this[S$.$setProperty]("mask-size", value, ""); + } + get maskSourceType() { + return this[S$.$getPropertyValue]("mask-source-type"); + } + set maskSourceType(value) { + if (value == null) dart.nullFailed(I[147], 7600, 29, "value"); + this[S$.$setProperty]("mask-source-type", value, ""); + } + get maxHeight() { + return this[S$.$getPropertyValue]("max-height"); + } + set maxHeight(value) { + if (value == null) dart.nullFailed(I[147], 7608, 24, "value"); + this[S$.$setProperty]("max-height", value, ""); + } + get maxLogicalHeight() { + return this[S$.$getPropertyValue]("max-logical-height"); + } + set maxLogicalHeight(value) { + if (value == null) dart.nullFailed(I[147], 7616, 31, "value"); + this[S$.$setProperty]("max-logical-height", value, ""); + } + get maxLogicalWidth() { + return this[S$.$getPropertyValue]("max-logical-width"); + } + set maxLogicalWidth(value) { + if (value == null) dart.nullFailed(I[147], 7624, 30, "value"); + this[S$.$setProperty]("max-logical-width", value, ""); + } + get maxWidth() { + return this[S$.$getPropertyValue]("max-width"); + } + set maxWidth(value) { + if (value == null) dart.nullFailed(I[147], 7632, 23, "value"); + this[S$.$setProperty]("max-width", value, ""); + } + get maxZoom() { + return this[S$.$getPropertyValue]("max-zoom"); + } + set maxZoom(value) { + if (value == null) dart.nullFailed(I[147], 7640, 22, "value"); + this[S$.$setProperty]("max-zoom", value, ""); + } + get minHeight() { + return this[S$.$getPropertyValue]("min-height"); + } + set minHeight(value) { + if (value == null) dart.nullFailed(I[147], 7648, 24, "value"); + this[S$.$setProperty]("min-height", value, ""); + } + get minLogicalHeight() { + return this[S$.$getPropertyValue]("min-logical-height"); + } + set minLogicalHeight(value) { + if (value == null) dart.nullFailed(I[147], 7656, 31, "value"); + this[S$.$setProperty]("min-logical-height", value, ""); + } + get minLogicalWidth() { + return this[S$.$getPropertyValue]("min-logical-width"); + } + set minLogicalWidth(value) { + if (value == null) dart.nullFailed(I[147], 7664, 30, "value"); + this[S$.$setProperty]("min-logical-width", value, ""); + } + get minWidth() { + return this[S$.$getPropertyValue]("min-width"); + } + set minWidth(value) { + if (value == null) dart.nullFailed(I[147], 7672, 23, "value"); + this[S$.$setProperty]("min-width", value, ""); + } + get minZoom() { + return this[S$.$getPropertyValue]("min-zoom"); + } + set minZoom(value) { + if (value == null) dart.nullFailed(I[147], 7680, 22, "value"); + this[S$.$setProperty]("min-zoom", value, ""); + } + get mixBlendMode() { + return this[S$.$getPropertyValue]("mix-blend-mode"); + } + set mixBlendMode(value) { + if (value == null) dart.nullFailed(I[147], 7688, 27, "value"); + this[S$.$setProperty]("mix-blend-mode", value, ""); + } + get objectFit() { + return this[S$.$getPropertyValue]("object-fit"); + } + set objectFit(value) { + if (value == null) dart.nullFailed(I[147], 7696, 24, "value"); + this[S$.$setProperty]("object-fit", value, ""); + } + get objectPosition() { + return this[S$.$getPropertyValue]("object-position"); + } + set objectPosition(value) { + if (value == null) dart.nullFailed(I[147], 7704, 29, "value"); + this[S$.$setProperty]("object-position", value, ""); + } + get opacity() { + return this[S$.$getPropertyValue]("opacity"); + } + set opacity(value) { + if (value == null) dart.nullFailed(I[147], 7712, 22, "value"); + this[S$.$setProperty]("opacity", value, ""); + } + get order() { + return this[S$.$getPropertyValue]("order"); + } + set order(value) { + if (value == null) dart.nullFailed(I[147], 7720, 20, "value"); + this[S$.$setProperty]("order", value, ""); + } + get orientation() { + return this[S$.$getPropertyValue]("orientation"); + } + set orientation(value) { + if (value == null) dart.nullFailed(I[147], 7728, 26, "value"); + this[S$.$setProperty]("orientation", value, ""); + } + get orphans() { + return this[S$.$getPropertyValue]("orphans"); + } + set orphans(value) { + if (value == null) dart.nullFailed(I[147], 7736, 22, "value"); + this[S$.$setProperty]("orphans", value, ""); + } + get outline() { + return this[S$.$getPropertyValue]("outline"); + } + set outline(value) { + if (value == null) dart.nullFailed(I[147], 7744, 22, "value"); + this[S$.$setProperty]("outline", value, ""); + } + get outlineColor() { + return this[S$.$getPropertyValue]("outline-color"); + } + set outlineColor(value) { + if (value == null) dart.nullFailed(I[147], 7752, 27, "value"); + this[S$.$setProperty]("outline-color", value, ""); + } + get outlineOffset() { + return this[S$.$getPropertyValue]("outline-offset"); + } + set outlineOffset(value) { + if (value == null) dart.nullFailed(I[147], 7760, 28, "value"); + this[S$.$setProperty]("outline-offset", value, ""); + } + get outlineStyle() { + return this[S$.$getPropertyValue]("outline-style"); + } + set outlineStyle(value) { + if (value == null) dart.nullFailed(I[147], 7768, 27, "value"); + this[S$.$setProperty]("outline-style", value, ""); + } + get outlineWidth() { + return this[S$.$getPropertyValue]("outline-width"); + } + set outlineWidth(value) { + if (value == null) dart.nullFailed(I[147], 7776, 27, "value"); + this[S$.$setProperty]("outline-width", value, ""); + } + get overflow() { + return this[S$.$getPropertyValue]("overflow"); + } + set overflow(value) { + if (value == null) dart.nullFailed(I[147], 7784, 23, "value"); + this[S$.$setProperty]("overflow", value, ""); + } + get overflowWrap() { + return this[S$.$getPropertyValue]("overflow-wrap"); + } + set overflowWrap(value) { + if (value == null) dart.nullFailed(I[147], 7792, 27, "value"); + this[S$.$setProperty]("overflow-wrap", value, ""); + } + get overflowX() { + return this[S$.$getPropertyValue]("overflow-x"); + } + set overflowX(value) { + if (value == null) dart.nullFailed(I[147], 7800, 24, "value"); + this[S$.$setProperty]("overflow-x", value, ""); + } + get overflowY() { + return this[S$.$getPropertyValue]("overflow-y"); + } + set overflowY(value) { + if (value == null) dart.nullFailed(I[147], 7808, 24, "value"); + this[S$.$setProperty]("overflow-y", value, ""); + } + get padding() { + return this[S$.$getPropertyValue]("padding"); + } + set padding(value) { + if (value == null) dart.nullFailed(I[147], 7816, 22, "value"); + this[S$.$setProperty]("padding", value, ""); + } + get paddingAfter() { + return this[S$.$getPropertyValue]("padding-after"); + } + set paddingAfter(value) { + if (value == null) dart.nullFailed(I[147], 7824, 27, "value"); + this[S$.$setProperty]("padding-after", value, ""); + } + get paddingBefore() { + return this[S$.$getPropertyValue]("padding-before"); + } + set paddingBefore(value) { + if (value == null) dart.nullFailed(I[147], 7832, 28, "value"); + this[S$.$setProperty]("padding-before", value, ""); + } + get paddingBottom() { + return this[S$.$getPropertyValue]("padding-bottom"); + } + set paddingBottom(value) { + if (value == null) dart.nullFailed(I[147], 7840, 28, "value"); + this[S$.$setProperty]("padding-bottom", value, ""); + } + get paddingEnd() { + return this[S$.$getPropertyValue]("padding-end"); + } + set paddingEnd(value) { + if (value == null) dart.nullFailed(I[147], 7848, 25, "value"); + this[S$.$setProperty]("padding-end", value, ""); + } + get paddingLeft() { + return this[S$.$getPropertyValue]("padding-left"); + } + set paddingLeft(value) { + if (value == null) dart.nullFailed(I[147], 7856, 26, "value"); + this[S$.$setProperty]("padding-left", value, ""); + } + get paddingRight() { + return this[S$.$getPropertyValue]("padding-right"); + } + set paddingRight(value) { + if (value == null) dart.nullFailed(I[147], 7864, 27, "value"); + this[S$.$setProperty]("padding-right", value, ""); + } + get paddingStart() { + return this[S$.$getPropertyValue]("padding-start"); + } + set paddingStart(value) { + if (value == null) dart.nullFailed(I[147], 7872, 27, "value"); + this[S$.$setProperty]("padding-start", value, ""); + } + get paddingTop() { + return this[S$.$getPropertyValue]("padding-top"); + } + set paddingTop(value) { + if (value == null) dart.nullFailed(I[147], 7880, 25, "value"); + this[S$.$setProperty]("padding-top", value, ""); + } + get page() { + return this[S$.$getPropertyValue]("page"); + } + set page(value) { + if (value == null) dart.nullFailed(I[147], 7888, 19, "value"); + this[S$.$setProperty]("page", value, ""); + } + get pageBreakAfter() { + return this[S$.$getPropertyValue]("page-break-after"); + } + set pageBreakAfter(value) { + if (value == null) dart.nullFailed(I[147], 7896, 29, "value"); + this[S$.$setProperty]("page-break-after", value, ""); + } + get pageBreakBefore() { + return this[S$.$getPropertyValue]("page-break-before"); + } + set pageBreakBefore(value) { + if (value == null) dart.nullFailed(I[147], 7904, 30, "value"); + this[S$.$setProperty]("page-break-before", value, ""); + } + get pageBreakInside() { + return this[S$.$getPropertyValue]("page-break-inside"); + } + set pageBreakInside(value) { + if (value == null) dart.nullFailed(I[147], 7912, 30, "value"); + this[S$.$setProperty]("page-break-inside", value, ""); + } + get perspective() { + return this[S$.$getPropertyValue]("perspective"); + } + set perspective(value) { + if (value == null) dart.nullFailed(I[147], 7920, 26, "value"); + this[S$.$setProperty]("perspective", value, ""); + } + get perspectiveOrigin() { + return this[S$.$getPropertyValue]("perspective-origin"); + } + set perspectiveOrigin(value) { + if (value == null) dart.nullFailed(I[147], 7928, 32, "value"); + this[S$.$setProperty]("perspective-origin", value, ""); + } + get perspectiveOriginX() { + return this[S$.$getPropertyValue]("perspective-origin-x"); + } + set perspectiveOriginX(value) { + if (value == null) dart.nullFailed(I[147], 7936, 33, "value"); + this[S$.$setProperty]("perspective-origin-x", value, ""); + } + get perspectiveOriginY() { + return this[S$.$getPropertyValue]("perspective-origin-y"); + } + set perspectiveOriginY(value) { + if (value == null) dart.nullFailed(I[147], 7944, 33, "value"); + this[S$.$setProperty]("perspective-origin-y", value, ""); + } + get pointerEvents() { + return this[S$.$getPropertyValue]("pointer-events"); + } + set pointerEvents(value) { + if (value == null) dart.nullFailed(I[147], 7952, 28, "value"); + this[S$.$setProperty]("pointer-events", value, ""); + } + get position() { + return this[S$.$getPropertyValue]("position"); + } + set position(value) { + if (value == null) dart.nullFailed(I[147], 7960, 23, "value"); + this[S$.$setProperty]("position", value, ""); + } + get printColorAdjust() { + return this[S$.$getPropertyValue]("print-color-adjust"); + } + set printColorAdjust(value) { + if (value == null) dart.nullFailed(I[147], 7968, 31, "value"); + this[S$.$setProperty]("print-color-adjust", value, ""); + } + get quotes() { + return this[S$.$getPropertyValue]("quotes"); + } + set quotes(value) { + if (value == null) dart.nullFailed(I[147], 7976, 21, "value"); + this[S$.$setProperty]("quotes", value, ""); + } + get resize() { + return this[S$.$getPropertyValue]("resize"); + } + set resize(value) { + if (value == null) dart.nullFailed(I[147], 7984, 21, "value"); + this[S$.$setProperty]("resize", value, ""); + } + get right() { + return this[S$.$getPropertyValue]("right"); + } + set right(value) { + if (value == null) dart.nullFailed(I[147], 7992, 20, "value"); + this[S$.$setProperty]("right", value, ""); + } + get rtlOrdering() { + return this[S$.$getPropertyValue]("rtl-ordering"); + } + set rtlOrdering(value) { + if (value == null) dart.nullFailed(I[147], 8000, 26, "value"); + this[S$.$setProperty]("rtl-ordering", value, ""); + } + get rubyPosition() { + return this[S$.$getPropertyValue]("ruby-position"); + } + set rubyPosition(value) { + if (value == null) dart.nullFailed(I[147], 8008, 27, "value"); + this[S$.$setProperty]("ruby-position", value, ""); + } + get scrollBehavior() { + return this[S$.$getPropertyValue]("scroll-behavior"); + } + set scrollBehavior(value) { + if (value == null) dart.nullFailed(I[147], 8016, 29, "value"); + this[S$.$setProperty]("scroll-behavior", value, ""); + } + get shapeImageThreshold() { + return this[S$.$getPropertyValue]("shape-image-threshold"); + } + set shapeImageThreshold(value) { + if (value == null) dart.nullFailed(I[147], 8024, 34, "value"); + this[S$.$setProperty]("shape-image-threshold", value, ""); + } + get shapeMargin() { + return this[S$.$getPropertyValue]("shape-margin"); + } + set shapeMargin(value) { + if (value == null) dart.nullFailed(I[147], 8032, 26, "value"); + this[S$.$setProperty]("shape-margin", value, ""); + } + get shapeOutside() { + return this[S$.$getPropertyValue]("shape-outside"); + } + set shapeOutside(value) { + if (value == null) dart.nullFailed(I[147], 8040, 27, "value"); + this[S$.$setProperty]("shape-outside", value, ""); + } + get size() { + return this[S$.$getPropertyValue]("size"); + } + set size(value) { + if (value == null) dart.nullFailed(I[147], 8048, 19, "value"); + this[S$.$setProperty]("size", value, ""); + } + get speak() { + return this[S$.$getPropertyValue]("speak"); + } + set speak(value) { + if (value == null) dart.nullFailed(I[147], 8056, 20, "value"); + this[S$.$setProperty]("speak", value, ""); + } + get src() { + return this[S$.$getPropertyValue]("src"); + } + set src(value) { + if (value == null) dart.nullFailed(I[147], 8064, 18, "value"); + this[S$.$setProperty]("src", value, ""); + } + get tabSize() { + return this[S$.$getPropertyValue]("tab-size"); + } + set tabSize(value) { + if (value == null) dart.nullFailed(I[147], 8072, 22, "value"); + this[S$.$setProperty]("tab-size", value, ""); + } + get tableLayout() { + return this[S$.$getPropertyValue]("table-layout"); + } + set tableLayout(value) { + if (value == null) dart.nullFailed(I[147], 8080, 26, "value"); + this[S$.$setProperty]("table-layout", value, ""); + } + get tapHighlightColor() { + return this[S$.$getPropertyValue]("tap-highlight-color"); + } + set tapHighlightColor(value) { + if (value == null) dart.nullFailed(I[147], 8088, 32, "value"); + this[S$.$setProperty]("tap-highlight-color", value, ""); + } + get textAlign() { + return this[S$.$getPropertyValue]("text-align"); + } + set textAlign(value) { + if (value == null) dart.nullFailed(I[147], 8096, 24, "value"); + this[S$.$setProperty]("text-align", value, ""); + } + get textAlignLast() { + return this[S$.$getPropertyValue]("text-align-last"); + } + set textAlignLast(value) { + if (value == null) dart.nullFailed(I[147], 8104, 28, "value"); + this[S$.$setProperty]("text-align-last", value, ""); + } + get textCombine() { + return this[S$.$getPropertyValue]("text-combine"); + } + set textCombine(value) { + if (value == null) dart.nullFailed(I[147], 8112, 26, "value"); + this[S$.$setProperty]("text-combine", value, ""); + } + get textDecoration() { + return this[S$.$getPropertyValue]("text-decoration"); + } + set textDecoration(value) { + if (value == null) dart.nullFailed(I[147], 8120, 29, "value"); + this[S$.$setProperty]("text-decoration", value, ""); + } + get textDecorationColor() { + return this[S$.$getPropertyValue]("text-decoration-color"); + } + set textDecorationColor(value) { + if (value == null) dart.nullFailed(I[147], 8128, 34, "value"); + this[S$.$setProperty]("text-decoration-color", value, ""); + } + get textDecorationLine() { + return this[S$.$getPropertyValue]("text-decoration-line"); + } + set textDecorationLine(value) { + if (value == null) dart.nullFailed(I[147], 8136, 33, "value"); + this[S$.$setProperty]("text-decoration-line", value, ""); + } + get textDecorationStyle() { + return this[S$.$getPropertyValue]("text-decoration-style"); + } + set textDecorationStyle(value) { + if (value == null) dart.nullFailed(I[147], 8144, 34, "value"); + this[S$.$setProperty]("text-decoration-style", value, ""); + } + get textDecorationsInEffect() { + return this[S$.$getPropertyValue]("text-decorations-in-effect"); + } + set textDecorationsInEffect(value) { + if (value == null) dart.nullFailed(I[147], 8153, 38, "value"); + this[S$.$setProperty]("text-decorations-in-effect", value, ""); + } + get textEmphasis() { + return this[S$.$getPropertyValue]("text-emphasis"); + } + set textEmphasis(value) { + if (value == null) dart.nullFailed(I[147], 8161, 27, "value"); + this[S$.$setProperty]("text-emphasis", value, ""); + } + get textEmphasisColor() { + return this[S$.$getPropertyValue]("text-emphasis-color"); + } + set textEmphasisColor(value) { + if (value == null) dart.nullFailed(I[147], 8169, 32, "value"); + this[S$.$setProperty]("text-emphasis-color", value, ""); + } + get textEmphasisPosition() { + return this[S$.$getPropertyValue]("text-emphasis-position"); + } + set textEmphasisPosition(value) { + if (value == null) dart.nullFailed(I[147], 8177, 35, "value"); + this[S$.$setProperty]("text-emphasis-position", value, ""); + } + get textEmphasisStyle() { + return this[S$.$getPropertyValue]("text-emphasis-style"); + } + set textEmphasisStyle(value) { + if (value == null) dart.nullFailed(I[147], 8185, 32, "value"); + this[S$.$setProperty]("text-emphasis-style", value, ""); + } + get textFillColor() { + return this[S$.$getPropertyValue]("text-fill-color"); + } + set textFillColor(value) { + if (value == null) dart.nullFailed(I[147], 8193, 28, "value"); + this[S$.$setProperty]("text-fill-color", value, ""); + } + get textIndent() { + return this[S$.$getPropertyValue]("text-indent"); + } + set textIndent(value) { + if (value == null) dart.nullFailed(I[147], 8201, 25, "value"); + this[S$.$setProperty]("text-indent", value, ""); + } + get textJustify() { + return this[S$.$getPropertyValue]("text-justify"); + } + set textJustify(value) { + if (value == null) dart.nullFailed(I[147], 8209, 26, "value"); + this[S$.$setProperty]("text-justify", value, ""); + } + get textLineThroughColor() { + return this[S$.$getPropertyValue]("text-line-through-color"); + } + set textLineThroughColor(value) { + if (value == null) dart.nullFailed(I[147], 8218, 35, "value"); + this[S$.$setProperty]("text-line-through-color", value, ""); + } + get textLineThroughMode() { + return this[S$.$getPropertyValue]("text-line-through-mode"); + } + set textLineThroughMode(value) { + if (value == null) dart.nullFailed(I[147], 8226, 34, "value"); + this[S$.$setProperty]("text-line-through-mode", value, ""); + } + get textLineThroughStyle() { + return this[S$.$getPropertyValue]("text-line-through-style"); + } + set textLineThroughStyle(value) { + if (value == null) dart.nullFailed(I[147], 8235, 35, "value"); + this[S$.$setProperty]("text-line-through-style", value, ""); + } + get textLineThroughWidth() { + return this[S$.$getPropertyValue]("text-line-through-width"); + } + set textLineThroughWidth(value) { + if (value == null) dart.nullFailed(I[147], 8244, 35, "value"); + this[S$.$setProperty]("text-line-through-width", value, ""); + } + get textOrientation() { + return this[S$.$getPropertyValue]("text-orientation"); + } + set textOrientation(value) { + if (value == null) dart.nullFailed(I[147], 8252, 30, "value"); + this[S$.$setProperty]("text-orientation", value, ""); + } + get textOverflow() { + return this[S$.$getPropertyValue]("text-overflow"); + } + set textOverflow(value) { + if (value == null) dart.nullFailed(I[147], 8260, 27, "value"); + this[S$.$setProperty]("text-overflow", value, ""); + } + get textOverlineColor() { + return this[S$.$getPropertyValue]("text-overline-color"); + } + set textOverlineColor(value) { + if (value == null) dart.nullFailed(I[147], 8268, 32, "value"); + this[S$.$setProperty]("text-overline-color", value, ""); + } + get textOverlineMode() { + return this[S$.$getPropertyValue]("text-overline-mode"); + } + set textOverlineMode(value) { + if (value == null) dart.nullFailed(I[147], 8276, 31, "value"); + this[S$.$setProperty]("text-overline-mode", value, ""); + } + get textOverlineStyle() { + return this[S$.$getPropertyValue]("text-overline-style"); + } + set textOverlineStyle(value) { + if (value == null) dart.nullFailed(I[147], 8284, 32, "value"); + this[S$.$setProperty]("text-overline-style", value, ""); + } + get textOverlineWidth() { + return this[S$.$getPropertyValue]("text-overline-width"); + } + set textOverlineWidth(value) { + if (value == null) dart.nullFailed(I[147], 8292, 32, "value"); + this[S$.$setProperty]("text-overline-width", value, ""); + } + get textRendering() { + return this[S$.$getPropertyValue]("text-rendering"); + } + set textRendering(value) { + if (value == null) dart.nullFailed(I[147], 8300, 28, "value"); + this[S$.$setProperty]("text-rendering", value, ""); + } + get textSecurity() { + return this[S$.$getPropertyValue]("text-security"); + } + set textSecurity(value) { + if (value == null) dart.nullFailed(I[147], 8308, 27, "value"); + this[S$.$setProperty]("text-security", value, ""); + } + get textShadow() { + return this[S$.$getPropertyValue]("text-shadow"); + } + set textShadow(value) { + if (value == null) dart.nullFailed(I[147], 8316, 25, "value"); + this[S$.$setProperty]("text-shadow", value, ""); + } + get textStroke() { + return this[S$.$getPropertyValue]("text-stroke"); + } + set textStroke(value) { + if (value == null) dart.nullFailed(I[147], 8324, 25, "value"); + this[S$.$setProperty]("text-stroke", value, ""); + } + get textStrokeColor() { + return this[S$.$getPropertyValue]("text-stroke-color"); + } + set textStrokeColor(value) { + if (value == null) dart.nullFailed(I[147], 8332, 30, "value"); + this[S$.$setProperty]("text-stroke-color", value, ""); + } + get textStrokeWidth() { + return this[S$.$getPropertyValue]("text-stroke-width"); + } + set textStrokeWidth(value) { + if (value == null) dart.nullFailed(I[147], 8340, 30, "value"); + this[S$.$setProperty]("text-stroke-width", value, ""); + } + get textTransform() { + return this[S$.$getPropertyValue]("text-transform"); + } + set textTransform(value) { + if (value == null) dart.nullFailed(I[147], 8348, 28, "value"); + this[S$.$setProperty]("text-transform", value, ""); + } + get textUnderlineColor() { + return this[S$.$getPropertyValue]("text-underline-color"); + } + set textUnderlineColor(value) { + if (value == null) dart.nullFailed(I[147], 8356, 33, "value"); + this[S$.$setProperty]("text-underline-color", value, ""); + } + get textUnderlineMode() { + return this[S$.$getPropertyValue]("text-underline-mode"); + } + set textUnderlineMode(value) { + if (value == null) dart.nullFailed(I[147], 8364, 32, "value"); + this[S$.$setProperty]("text-underline-mode", value, ""); + } + get textUnderlinePosition() { + return this[S$.$getPropertyValue]("text-underline-position"); + } + set textUnderlinePosition(value) { + if (value == null) dart.nullFailed(I[147], 8373, 36, "value"); + this[S$.$setProperty]("text-underline-position", value, ""); + } + get textUnderlineStyle() { + return this[S$.$getPropertyValue]("text-underline-style"); + } + set textUnderlineStyle(value) { + if (value == null) dart.nullFailed(I[147], 8381, 33, "value"); + this[S$.$setProperty]("text-underline-style", value, ""); + } + get textUnderlineWidth() { + return this[S$.$getPropertyValue]("text-underline-width"); + } + set textUnderlineWidth(value) { + if (value == null) dart.nullFailed(I[147], 8389, 33, "value"); + this[S$.$setProperty]("text-underline-width", value, ""); + } + get top() { + return this[S$.$getPropertyValue]("top"); + } + set top(value) { + if (value == null) dart.nullFailed(I[147], 8397, 18, "value"); + this[S$.$setProperty]("top", value, ""); + } + get touchAction() { + return this[S$.$getPropertyValue]("touch-action"); + } + set touchAction(value) { + if (value == null) dart.nullFailed(I[147], 8405, 26, "value"); + this[S$.$setProperty]("touch-action", value, ""); + } + get touchActionDelay() { + return this[S$.$getPropertyValue]("touch-action-delay"); + } + set touchActionDelay(value) { + if (value == null) dart.nullFailed(I[147], 8413, 31, "value"); + this[S$.$setProperty]("touch-action-delay", value, ""); + } + get transform() { + return this[S$.$getPropertyValue]("transform"); + } + set transform(value) { + if (value == null) dart.nullFailed(I[147], 8421, 24, "value"); + this[S$.$setProperty]("transform", value, ""); + } + get transformOrigin() { + return this[S$.$getPropertyValue]("transform-origin"); + } + set transformOrigin(value) { + if (value == null) dart.nullFailed(I[147], 8429, 30, "value"); + this[S$.$setProperty]("transform-origin", value, ""); + } + get transformOriginX() { + return this[S$.$getPropertyValue]("transform-origin-x"); + } + set transformOriginX(value) { + if (value == null) dart.nullFailed(I[147], 8437, 31, "value"); + this[S$.$setProperty]("transform-origin-x", value, ""); + } + get transformOriginY() { + return this[S$.$getPropertyValue]("transform-origin-y"); + } + set transformOriginY(value) { + if (value == null) dart.nullFailed(I[147], 8445, 31, "value"); + this[S$.$setProperty]("transform-origin-y", value, ""); + } + get transformOriginZ() { + return this[S$.$getPropertyValue]("transform-origin-z"); + } + set transformOriginZ(value) { + if (value == null) dart.nullFailed(I[147], 8453, 31, "value"); + this[S$.$setProperty]("transform-origin-z", value, ""); + } + get transformStyle() { + return this[S$.$getPropertyValue]("transform-style"); + } + set transformStyle(value) { + if (value == null) dart.nullFailed(I[147], 8461, 29, "value"); + this[S$.$setProperty]("transform-style", value, ""); + } + get transition() { + return this[S$.$getPropertyValue]("transition"); + } + set transition(value) { + if (value == null) dart.nullFailed(I[147], 8477, 25, "value"); + this[S$.$setProperty]("transition", value, ""); + } + get transitionDelay() { + return this[S$.$getPropertyValue]("transition-delay"); + } + set transitionDelay(value) { + if (value == null) dart.nullFailed(I[147], 8485, 30, "value"); + this[S$.$setProperty]("transition-delay", value, ""); + } + get transitionDuration() { + return this[S$.$getPropertyValue]("transition-duration"); + } + set transitionDuration(value) { + if (value == null) dart.nullFailed(I[147], 8493, 33, "value"); + this[S$.$setProperty]("transition-duration", value, ""); + } + get transitionProperty() { + return this[S$.$getPropertyValue]("transition-property"); + } + set transitionProperty(value) { + if (value == null) dart.nullFailed(I[147], 8501, 33, "value"); + this[S$.$setProperty]("transition-property", value, ""); + } + get transitionTimingFunction() { + return this[S$.$getPropertyValue]("transition-timing-function"); + } + set transitionTimingFunction(value) { + if (value == null) dart.nullFailed(I[147], 8510, 39, "value"); + this[S$.$setProperty]("transition-timing-function", value, ""); + } + get unicodeBidi() { + return this[S$.$getPropertyValue]("unicode-bidi"); + } + set unicodeBidi(value) { + if (value == null) dart.nullFailed(I[147], 8518, 26, "value"); + this[S$.$setProperty]("unicode-bidi", value, ""); + } + get unicodeRange() { + return this[S$.$getPropertyValue]("unicode-range"); + } + set unicodeRange(value) { + if (value == null) dart.nullFailed(I[147], 8526, 27, "value"); + this[S$.$setProperty]("unicode-range", value, ""); + } + get userDrag() { + return this[S$.$getPropertyValue]("user-drag"); + } + set userDrag(value) { + if (value == null) dart.nullFailed(I[147], 8534, 23, "value"); + this[S$.$setProperty]("user-drag", value, ""); + } + get userModify() { + return this[S$.$getPropertyValue]("user-modify"); + } + set userModify(value) { + if (value == null) dart.nullFailed(I[147], 8542, 25, "value"); + this[S$.$setProperty]("user-modify", value, ""); + } + get userSelect() { + return this[S$.$getPropertyValue]("user-select"); + } + set userSelect(value) { + if (value == null) dart.nullFailed(I[147], 8550, 25, "value"); + this[S$.$setProperty]("user-select", value, ""); + } + get userZoom() { + return this[S$.$getPropertyValue]("user-zoom"); + } + set userZoom(value) { + if (value == null) dart.nullFailed(I[147], 8558, 23, "value"); + this[S$.$setProperty]("user-zoom", value, ""); + } + get verticalAlign() { + return this[S$.$getPropertyValue]("vertical-align"); + } + set verticalAlign(value) { + if (value == null) dart.nullFailed(I[147], 8566, 28, "value"); + this[S$.$setProperty]("vertical-align", value, ""); + } + get visibility() { + return this[S$.$getPropertyValue]("visibility"); + } + set visibility(value) { + if (value == null) dart.nullFailed(I[147], 8574, 25, "value"); + this[S$.$setProperty]("visibility", value, ""); + } + get whiteSpace() { + return this[S$.$getPropertyValue]("white-space"); + } + set whiteSpace(value) { + if (value == null) dart.nullFailed(I[147], 8582, 25, "value"); + this[S$.$setProperty]("white-space", value, ""); + } + get widows() { + return this[S$.$getPropertyValue]("widows"); + } + set widows(value) { + if (value == null) dart.nullFailed(I[147], 8590, 21, "value"); + this[S$.$setProperty]("widows", value, ""); + } + get width() { + return this[S$.$getPropertyValue]("width"); + } + set width(value) { + if (value == null) dart.nullFailed(I[147], 8598, 20, "value"); + this[S$.$setProperty]("width", value, ""); + } + get willChange() { + return this[S$.$getPropertyValue]("will-change"); + } + set willChange(value) { + if (value == null) dart.nullFailed(I[147], 8606, 25, "value"); + this[S$.$setProperty]("will-change", value, ""); + } + get wordBreak() { + return this[S$.$getPropertyValue]("word-break"); + } + set wordBreak(value) { + if (value == null) dart.nullFailed(I[147], 8614, 24, "value"); + this[S$.$setProperty]("word-break", value, ""); + } + get wordSpacing() { + return this[S$.$getPropertyValue]("word-spacing"); + } + set wordSpacing(value) { + if (value == null) dart.nullFailed(I[147], 8622, 26, "value"); + this[S$.$setProperty]("word-spacing", value, ""); + } + get wordWrap() { + return this[S$.$getPropertyValue]("word-wrap"); + } + set wordWrap(value) { + if (value == null) dart.nullFailed(I[147], 8630, 23, "value"); + this[S$.$setProperty]("word-wrap", value, ""); + } + get wrapFlow() { + return this[S$.$getPropertyValue]("wrap-flow"); + } + set wrapFlow(value) { + if (value == null) dart.nullFailed(I[147], 8638, 23, "value"); + this[S$.$setProperty]("wrap-flow", value, ""); + } + get wrapThrough() { + return this[S$.$getPropertyValue]("wrap-through"); + } + set wrapThrough(value) { + if (value == null) dart.nullFailed(I[147], 8646, 26, "value"); + this[S$.$setProperty]("wrap-through", value, ""); + } + get writingMode() { + return this[S$.$getPropertyValue]("writing-mode"); + } + set writingMode(value) { + if (value == null) dart.nullFailed(I[147], 8654, 26, "value"); + this[S$.$setProperty]("writing-mode", value, ""); + } + get zIndex() { + return this[S$.$getPropertyValue]("z-index"); + } + set zIndex(value) { + if (value == null) dart.nullFailed(I[147], 8662, 21, "value"); + this[S$.$setProperty]("z-index", value, ""); + } + get zoom() { + return this[S$.$getPropertyValue]("zoom"); + } + set zoom(value) { + if (value == null) dart.nullFailed(I[147], 8670, 19, "value"); + this[S$.$setProperty]("zoom", value, ""); + } +}; +(html$.CssStyleDeclarationBase.new = function() { + ; +}).prototype = html$.CssStyleDeclarationBase.prototype; +dart.addTypeTests(html$.CssStyleDeclarationBase); +dart.addTypeCaches(html$.CssStyleDeclarationBase); +dart.setGetterSignature(html$.CssStyleDeclarationBase, () => ({ + __proto__: dart.getGetters(html$.CssStyleDeclarationBase.__proto__), + alignContent: core.String, + [S$0.$alignContent]: core.String, + alignItems: core.String, + [S$0.$alignItems]: core.String, + alignSelf: core.String, + [S$0.$alignSelf]: core.String, + animation: core.String, + [S$0.$animation]: core.String, + animationDelay: core.String, + [S$0.$animationDelay]: core.String, + animationDirection: core.String, + [S$0.$animationDirection]: core.String, + animationDuration: core.String, + [S$0.$animationDuration]: core.String, + animationFillMode: core.String, + [S$0.$animationFillMode]: core.String, + animationIterationCount: core.String, + [S$0.$animationIterationCount]: core.String, + animationName: core.String, + [S$.$animationName]: core.String, + animationPlayState: core.String, + [S$0.$animationPlayState]: core.String, + animationTimingFunction: core.String, + [S$0.$animationTimingFunction]: core.String, + appRegion: core.String, + [S$0.$appRegion]: core.String, + appearance: core.String, + [S$0.$appearance]: core.String, + aspectRatio: core.String, + [S$0.$aspectRatio]: core.String, + backfaceVisibility: core.String, + [S$0.$backfaceVisibility]: core.String, + background: core.String, + [S$.$background]: core.String, + backgroundAttachment: core.String, + [S$.$backgroundAttachment]: core.String, + backgroundBlendMode: core.String, + [S$0.$backgroundBlendMode]: core.String, + backgroundClip: core.String, + [S$0.$backgroundClip]: core.String, + backgroundColor: core.String, + [S$.$backgroundColor]: core.String, + backgroundComposite: core.String, + [S$0.$backgroundComposite]: core.String, + backgroundImage: core.String, + [S$.$backgroundImage]: core.String, + backgroundOrigin: core.String, + [S$0.$backgroundOrigin]: core.String, + backgroundPosition: core.String, + [S$.$backgroundPosition]: core.String, + backgroundPositionX: core.String, + [S$0.$backgroundPositionX]: core.String, + backgroundPositionY: core.String, + [S$0.$backgroundPositionY]: core.String, + backgroundRepeat: core.String, + [S$.$backgroundRepeat]: core.String, + backgroundRepeatX: core.String, + [S$0.$backgroundRepeatX]: core.String, + backgroundRepeatY: core.String, + [S$0.$backgroundRepeatY]: core.String, + backgroundSize: core.String, + [S$0.$backgroundSize]: core.String, + border: core.String, + [S$.$border]: core.String, + borderAfter: core.String, + [S$0.$borderAfter]: core.String, + borderAfterColor: core.String, + [S$0.$borderAfterColor]: core.String, + borderAfterStyle: core.String, + [S$0.$borderAfterStyle]: core.String, + borderAfterWidth: core.String, + [S$0.$borderAfterWidth]: core.String, + borderBefore: core.String, + [S$0.$borderBefore]: core.String, + borderBeforeColor: core.String, + [S$0.$borderBeforeColor]: core.String, + borderBeforeStyle: core.String, + [S$0.$borderBeforeStyle]: core.String, + borderBeforeWidth: core.String, + [S$0.$borderBeforeWidth]: core.String, + borderBottom: core.String, + [S$.$borderBottom]: core.String, + borderBottomColor: core.String, + [S$.$borderBottomColor]: core.String, + borderBottomLeftRadius: core.String, + [S$0.$borderBottomLeftRadius]: core.String, + borderBottomRightRadius: core.String, + [S$0.$borderBottomRightRadius]: core.String, + borderBottomStyle: core.String, + [S$.$borderBottomStyle]: core.String, + borderBottomWidth: core.String, + [S$.$borderBottomWidth]: core.String, + borderCollapse: core.String, + [S$.$borderCollapse]: core.String, + borderColor: core.String, + [S$.$borderColor]: core.String, + borderEnd: core.String, + [S$0.$borderEnd]: core.String, + borderEndColor: core.String, + [S$0.$borderEndColor]: core.String, + borderEndStyle: core.String, + [S$0.$borderEndStyle]: core.String, + borderEndWidth: core.String, + [S$0.$borderEndWidth]: core.String, + borderFit: core.String, + [S$0.$borderFit]: core.String, + borderHorizontalSpacing: core.String, + [S$0.$borderHorizontalSpacing]: core.String, + borderImage: core.String, + [S$0.$borderImage]: core.String, + borderImageOutset: core.String, + [S$0.$borderImageOutset]: core.String, + borderImageRepeat: core.String, + [S$0.$borderImageRepeat]: core.String, + borderImageSlice: core.String, + [S$0.$borderImageSlice]: core.String, + borderImageSource: core.String, + [S$0.$borderImageSource]: core.String, + borderImageWidth: core.String, + [S$0.$borderImageWidth]: core.String, + borderLeft: core.String, + [S$.$borderLeft]: core.String, + borderLeftColor: core.String, + [S$.$borderLeftColor]: core.String, + borderLeftStyle: core.String, + [S$.$borderLeftStyle]: core.String, + borderLeftWidth: core.String, + [S$.$borderLeftWidth]: core.String, + borderRadius: core.String, + [S$0.$borderRadius]: core.String, + borderRight: core.String, + [S$.$borderRight]: core.String, + borderRightColor: core.String, + [S$.$borderRightColor]: core.String, + borderRightStyle: core.String, + [S$.$borderRightStyle]: core.String, + borderRightWidth: core.String, + [S$0.$borderRightWidth]: core.String, + borderSpacing: core.String, + [S$0.$borderSpacing]: core.String, + borderStart: core.String, + [S$0.$borderStart]: core.String, + borderStartColor: core.String, + [S$0.$borderStartColor]: core.String, + borderStartStyle: core.String, + [S$0.$borderStartStyle]: core.String, + borderStartWidth: core.String, + [S$0.$borderStartWidth]: core.String, + borderStyle: core.String, + [S$0.$borderStyle]: core.String, + borderTop: core.String, + [S$0.$borderTop]: core.String, + borderTopColor: core.String, + [S$0.$borderTopColor]: core.String, + borderTopLeftRadius: core.String, + [S$0.$borderTopLeftRadius]: core.String, + borderTopRightRadius: core.String, + [S$0.$borderTopRightRadius]: core.String, + borderTopStyle: core.String, + [S$0.$borderTopStyle]: core.String, + borderTopWidth: core.String, + [S$0.$borderTopWidth]: core.String, + borderVerticalSpacing: core.String, + [S$0.$borderVerticalSpacing]: core.String, + borderWidth: core.String, + [S$0.$borderWidth]: core.String, + bottom: core.String, + [$bottom]: core.String, + boxAlign: core.String, + [S$0.$boxAlign]: core.String, + boxDecorationBreak: core.String, + [S$0.$boxDecorationBreak]: core.String, + boxDirection: core.String, + [S$0.$boxDirection]: core.String, + boxFlex: core.String, + [S$0.$boxFlex]: core.String, + boxFlexGroup: core.String, + [S$0.$boxFlexGroup]: core.String, + boxLines: core.String, + [S$0.$boxLines]: core.String, + boxOrdinalGroup: core.String, + [S$0.$boxOrdinalGroup]: core.String, + boxOrient: core.String, + [S$0.$boxOrient]: core.String, + boxPack: core.String, + [S$0.$boxPack]: core.String, + boxReflect: core.String, + [S$0.$boxReflect]: core.String, + boxShadow: core.String, + [S$0.$boxShadow]: core.String, + boxSizing: core.String, + [S$0.$boxSizing]: core.String, + captionSide: core.String, + [S$0.$captionSide]: core.String, + clear: core.String, + [$clear]: core.String, + clip: core.String, + [S$.$clip]: core.String, + clipPath: core.String, + [S$0.$clipPath]: core.String, + color: core.String, + [S$0.$color]: core.String, + columnBreakAfter: core.String, + [S$0.$columnBreakAfter]: core.String, + columnBreakBefore: core.String, + [S$0.$columnBreakBefore]: core.String, + columnBreakInside: core.String, + [S$0.$columnBreakInside]: core.String, + columnCount: core.String, + [S$0.$columnCount]: core.String, + columnFill: core.String, + [S$0.$columnFill]: core.String, + columnGap: core.String, + [S$0.$columnGap]: core.String, + columnRule: core.String, + [S$0.$columnRule]: core.String, + columnRuleColor: core.String, + [S$0.$columnRuleColor]: core.String, + columnRuleStyle: core.String, + [S$0.$columnRuleStyle]: core.String, + columnRuleWidth: core.String, + [S$0.$columnRuleWidth]: core.String, + columnSpan: core.String, + [S$0.$columnSpan]: core.String, + columnWidth: core.String, + [S$0.$columnWidth]: core.String, + columns: core.String, + [S$0.$columns]: core.String, + content: core.String, + [S$0.$content]: core.String, + counterIncrement: core.String, + [S$0.$counterIncrement]: core.String, + counterReset: core.String, + [S$0.$counterReset]: core.String, + cursor: core.String, + [S$0.$cursor]: core.String, + direction: core.String, + [S.$direction]: core.String, + display: core.String, + [S$0.$display]: core.String, + emptyCells: core.String, + [S$0.$emptyCells]: core.String, + filter: core.String, + [S$.$filter]: core.String, + flex: core.String, + [S$0.$flex]: core.String, + flexBasis: core.String, + [S$0.$flexBasis]: core.String, + flexDirection: core.String, + [S$0.$flexDirection]: core.String, + flexFlow: core.String, + [S$0.$flexFlow]: core.String, + flexGrow: core.String, + [S$0.$flexGrow]: core.String, + flexShrink: core.String, + [S$0.$flexShrink]: core.String, + flexWrap: core.String, + [S$0.$flexWrap]: core.String, + float: core.String, + [S$0.$float]: core.String, + font: core.String, + [S$.$font]: core.String, + fontFamily: core.String, + [S$0.$fontFamily]: core.String, + fontFeatureSettings: core.String, + [S$0.$fontFeatureSettings]: core.String, + fontKerning: core.String, + [S$0.$fontKerning]: core.String, + fontSize: core.String, + [S$0.$fontSize]: core.String, + fontSizeDelta: core.String, + [S$0.$fontSizeDelta]: core.String, + fontSmoothing: core.String, + [S$0.$fontSmoothing]: core.String, + fontStretch: core.String, + [S$0.$fontStretch]: core.String, + fontStyle: core.String, + [S$0.$fontStyle]: core.String, + fontVariant: core.String, + [S$0.$fontVariant]: core.String, + fontVariantLigatures: core.String, + [S$0.$fontVariantLigatures]: core.String, + fontWeight: core.String, + [S$0.$fontWeight]: core.String, + grid: core.String, + [S$0.$grid]: core.String, + gridArea: core.String, + [S$0.$gridArea]: core.String, + gridAutoColumns: core.String, + [S$0.$gridAutoColumns]: core.String, + gridAutoFlow: core.String, + [S$0.$gridAutoFlow]: core.String, + gridAutoRows: core.String, + [S$0.$gridAutoRows]: core.String, + gridColumn: core.String, + [S$0.$gridColumn]: core.String, + gridColumnEnd: core.String, + [S$0.$gridColumnEnd]: core.String, + gridColumnStart: core.String, + [S$0.$gridColumnStart]: core.String, + gridRow: core.String, + [S$0.$gridRow]: core.String, + gridRowEnd: core.String, + [S$0.$gridRowEnd]: core.String, + gridRowStart: core.String, + [S$0.$gridRowStart]: core.String, + gridTemplate: core.String, + [S$0.$gridTemplate]: core.String, + gridTemplateAreas: core.String, + [S$0.$gridTemplateAreas]: core.String, + gridTemplateColumns: core.String, + [S$0.$gridTemplateColumns]: core.String, + gridTemplateRows: core.String, + [S$0.$gridTemplateRows]: core.String, + height: core.String, + [$height]: core.String, + highlight: core.String, + [S$0.$highlight]: core.String, + hyphenateCharacter: core.String, + [S$0.$hyphenateCharacter]: core.String, + imageRendering: core.String, + [S$0.$imageRendering]: core.String, + isolation: core.String, + [S$0.$isolation]: core.String, + justifyContent: core.String, + [S$0.$justifyContent]: core.String, + justifySelf: core.String, + [S$0.$justifySelf]: core.String, + left: core.String, + [$left]: core.String, + letterSpacing: core.String, + [S$0.$letterSpacing]: core.String, + lineBoxContain: core.String, + [S$0.$lineBoxContain]: core.String, + lineBreak: core.String, + [S$0.$lineBreak]: core.String, + lineClamp: core.String, + [S$0.$lineClamp]: core.String, + lineHeight: core.String, + [S$0.$lineHeight]: core.String, + listStyle: core.String, + [S$0.$listStyle]: core.String, + listStyleImage: core.String, + [S$0.$listStyleImage]: core.String, + listStylePosition: core.String, + [S$0.$listStylePosition]: core.String, + listStyleType: core.String, + [S$0.$listStyleType]: core.String, + locale: core.String, + [S$0.$locale]: core.String, + logicalHeight: core.String, + [S$0.$logicalHeight]: core.String, + logicalWidth: core.String, + [S$0.$logicalWidth]: core.String, + margin: core.String, + [S$0.$margin]: core.String, + marginAfter: core.String, + [S$0.$marginAfter]: core.String, + marginAfterCollapse: core.String, + [S$0.$marginAfterCollapse]: core.String, + marginBefore: core.String, + [S$0.$marginBefore]: core.String, + marginBeforeCollapse: core.String, + [S$0.$marginBeforeCollapse]: core.String, + marginBottom: core.String, + [S$0.$marginBottom]: core.String, + marginBottomCollapse: core.String, + [S$0.$marginBottomCollapse]: core.String, + marginCollapse: core.String, + [S$0.$marginCollapse]: core.String, + marginEnd: core.String, + [S$0.$marginEnd]: core.String, + marginLeft: core.String, + [S$0.$marginLeft]: core.String, + marginRight: core.String, + [S$0.$marginRight]: core.String, + marginStart: core.String, + [S$0.$marginStart]: core.String, + marginTop: core.String, + [S$0.$marginTop]: core.String, + marginTopCollapse: core.String, + [S$0.$marginTopCollapse]: core.String, + mask: core.String, + [S$0.$mask]: core.String, + maskBoxImage: core.String, + [S$0.$maskBoxImage]: core.String, + maskBoxImageOutset: core.String, + [S$0.$maskBoxImageOutset]: core.String, + maskBoxImageRepeat: core.String, + [S$0.$maskBoxImageRepeat]: core.String, + maskBoxImageSlice: core.String, + [S$0.$maskBoxImageSlice]: core.String, + maskBoxImageSource: core.String, + [S$0.$maskBoxImageSource]: core.String, + maskBoxImageWidth: core.String, + [S$0.$maskBoxImageWidth]: core.String, + maskClip: core.String, + [S$0.$maskClip]: core.String, + maskComposite: core.String, + [S$0.$maskComposite]: core.String, + maskImage: core.String, + [S$0.$maskImage]: core.String, + maskOrigin: core.String, + [S$0.$maskOrigin]: core.String, + maskPosition: core.String, + [S$0.$maskPosition]: core.String, + maskPositionX: core.String, + [S$0.$maskPositionX]: core.String, + maskPositionY: core.String, + [S$0.$maskPositionY]: core.String, + maskRepeat: core.String, + [S$0.$maskRepeat]: core.String, + maskRepeatX: core.String, + [S$0.$maskRepeatX]: core.String, + maskRepeatY: core.String, + [S$0.$maskRepeatY]: core.String, + maskSize: core.String, + [S$0.$maskSize]: core.String, + maskSourceType: core.String, + [S$0.$maskSourceType]: core.String, + maxHeight: core.String, + [S$0.$maxHeight]: core.String, + maxLogicalHeight: core.String, + [S$0.$maxLogicalHeight]: core.String, + maxLogicalWidth: core.String, + [S$0.$maxLogicalWidth]: core.String, + maxWidth: core.String, + [S$0.$maxWidth]: core.String, + maxZoom: core.String, + [S$0.$maxZoom]: core.String, + minHeight: core.String, + [S$0.$minHeight]: core.String, + minLogicalHeight: core.String, + [S$0.$minLogicalHeight]: core.String, + minLogicalWidth: core.String, + [S$0.$minLogicalWidth]: core.String, + minWidth: core.String, + [S$0.$minWidth]: core.String, + minZoom: core.String, + [S$0.$minZoom]: core.String, + mixBlendMode: core.String, + [S$0.$mixBlendMode]: core.String, + objectFit: core.String, + [S$0.$objectFit]: core.String, + objectPosition: core.String, + [S$0.$objectPosition]: core.String, + opacity: core.String, + [S$0.$opacity]: core.String, + order: core.String, + [S$0.$order]: core.String, + orientation: core.String, + [S$.$orientation]: core.String, + orphans: core.String, + [S$0.$orphans]: core.String, + outline: core.String, + [S$0.$outline]: core.String, + outlineColor: core.String, + [S$0.$outlineColor]: core.String, + outlineOffset: core.String, + [S$0.$outlineOffset]: core.String, + outlineStyle: core.String, + [S$0.$outlineStyle]: core.String, + outlineWidth: core.String, + [S$0.$outlineWidth]: core.String, + overflow: core.String, + [S$0.$overflow]: core.String, + overflowWrap: core.String, + [S$0.$overflowWrap]: core.String, + overflowX: core.String, + [S$0.$overflowX]: core.String, + overflowY: core.String, + [S$0.$overflowY]: core.String, + padding: core.String, + [S$0.$padding]: core.String, + paddingAfter: core.String, + [S$0.$paddingAfter]: core.String, + paddingBefore: core.String, + [S$0.$paddingBefore]: core.String, + paddingBottom: core.String, + [S$0.$paddingBottom]: core.String, + paddingEnd: core.String, + [S$0.$paddingEnd]: core.String, + paddingLeft: core.String, + [S$0.$paddingLeft]: core.String, + paddingRight: core.String, + [S$0.$paddingRight]: core.String, + paddingStart: core.String, + [S$0.$paddingStart]: core.String, + paddingTop: core.String, + [S$0.$paddingTop]: core.String, + page: core.String, + [S$0.$page]: core.String, + pageBreakAfter: core.String, + [S$0.$pageBreakAfter]: core.String, + pageBreakBefore: core.String, + [S$0.$pageBreakBefore]: core.String, + pageBreakInside: core.String, + [S$0.$pageBreakInside]: core.String, + perspective: core.String, + [S$0.$perspective]: core.String, + perspectiveOrigin: core.String, + [S$0.$perspectiveOrigin]: core.String, + perspectiveOriginX: core.String, + [S$0.$perspectiveOriginX]: core.String, + perspectiveOriginY: core.String, + [S$0.$perspectiveOriginY]: core.String, + pointerEvents: core.String, + [S$0.$pointerEvents]: core.String, + position: core.String, + [S$0.$position]: core.String, + printColorAdjust: core.String, + [S$0.$printColorAdjust]: core.String, + quotes: core.String, + [S$0.$quotes]: core.String, + resize: core.String, + [S$0.$resize]: core.String, + right: core.String, + [$right]: core.String, + rtlOrdering: core.String, + [S$0.$rtlOrdering]: core.String, + rubyPosition: core.String, + [S$0.$rubyPosition]: core.String, + scrollBehavior: core.String, + [S$0.$scrollBehavior]: core.String, + shapeImageThreshold: core.String, + [S$0.$shapeImageThreshold]: core.String, + shapeMargin: core.String, + [S$0.$shapeMargin]: core.String, + shapeOutside: core.String, + [S$0.$shapeOutside]: core.String, + size: core.String, + [S$.$size]: core.String, + speak: core.String, + [S$0.$speak]: core.String, + src: core.String, + [S$.$src]: core.String, + tabSize: core.String, + [S$0.$tabSize]: core.String, + tableLayout: core.String, + [S$0.$tableLayout]: core.String, + tapHighlightColor: core.String, + [S$0.$tapHighlightColor]: core.String, + textAlign: core.String, + [S$.$textAlign]: core.String, + textAlignLast: core.String, + [S$0.$textAlignLast]: core.String, + textCombine: core.String, + [S$0.$textCombine]: core.String, + textDecoration: core.String, + [S$0.$textDecoration]: core.String, + textDecorationColor: core.String, + [S$0.$textDecorationColor]: core.String, + textDecorationLine: core.String, + [S$0.$textDecorationLine]: core.String, + textDecorationStyle: core.String, + [S$0.$textDecorationStyle]: core.String, + textDecorationsInEffect: core.String, + [S$0.$textDecorationsInEffect]: core.String, + textEmphasis: core.String, + [S$0.$textEmphasis]: core.String, + textEmphasisColor: core.String, + [S$0.$textEmphasisColor]: core.String, + textEmphasisPosition: core.String, + [S$0.$textEmphasisPosition]: core.String, + textEmphasisStyle: core.String, + [S$0.$textEmphasisStyle]: core.String, + textFillColor: core.String, + [S$0.$textFillColor]: core.String, + textIndent: core.String, + [S$0.$textIndent]: core.String, + textJustify: core.String, + [S$0.$textJustify]: core.String, + textLineThroughColor: core.String, + [S$0.$textLineThroughColor]: core.String, + textLineThroughMode: core.String, + [S$0.$textLineThroughMode]: core.String, + textLineThroughStyle: core.String, + [S$0.$textLineThroughStyle]: core.String, + textLineThroughWidth: core.String, + [S$0.$textLineThroughWidth]: core.String, + textOrientation: core.String, + [S$0.$textOrientation]: core.String, + textOverflow: core.String, + [S$0.$textOverflow]: core.String, + textOverlineColor: core.String, + [S$0.$textOverlineColor]: core.String, + textOverlineMode: core.String, + [S$0.$textOverlineMode]: core.String, + textOverlineStyle: core.String, + [S$0.$textOverlineStyle]: core.String, + textOverlineWidth: core.String, + [S$0.$textOverlineWidth]: core.String, + textRendering: core.String, + [S$0.$textRendering]: core.String, + textSecurity: core.String, + [S$0.$textSecurity]: core.String, + textShadow: core.String, + [S$0.$textShadow]: core.String, + textStroke: core.String, + [S$0.$textStroke]: core.String, + textStrokeColor: core.String, + [S$0.$textStrokeColor]: core.String, + textStrokeWidth: core.String, + [S$0.$textStrokeWidth]: core.String, + textTransform: core.String, + [S$0.$textTransform]: core.String, + textUnderlineColor: core.String, + [S$0.$textUnderlineColor]: core.String, + textUnderlineMode: core.String, + [S$0.$textUnderlineMode]: core.String, + textUnderlinePosition: core.String, + [S$0.$textUnderlinePosition]: core.String, + textUnderlineStyle: core.String, + [S$0.$textUnderlineStyle]: core.String, + textUnderlineWidth: core.String, + [S$0.$textUnderlineWidth]: core.String, + top: core.String, + [$top]: core.String, + touchAction: core.String, + [S$0.$touchAction]: core.String, + touchActionDelay: core.String, + [S$0.$touchActionDelay]: core.String, + transform: core.String, + [S$.$transform]: core.String, + transformOrigin: core.String, + [S$0.$transformOrigin]: core.String, + transformOriginX: core.String, + [S$0.$transformOriginX]: core.String, + transformOriginY: core.String, + [S$0.$transformOriginY]: core.String, + transformOriginZ: core.String, + [S$0.$transformOriginZ]: core.String, + transformStyle: core.String, + [S$0.$transformStyle]: core.String, + transition: core.String, + [S$0.$transition]: core.String, + transitionDelay: core.String, + [S$0.$transitionDelay]: core.String, + transitionDuration: core.String, + [S$0.$transitionDuration]: core.String, + transitionProperty: core.String, + [S$0.$transitionProperty]: core.String, + transitionTimingFunction: core.String, + [S$0.$transitionTimingFunction]: core.String, + unicodeBidi: core.String, + [S$0.$unicodeBidi]: core.String, + unicodeRange: core.String, + [S$0.$unicodeRange]: core.String, + userDrag: core.String, + [S$0.$userDrag]: core.String, + userModify: core.String, + [S$0.$userModify]: core.String, + userSelect: core.String, + [S$0.$userSelect]: core.String, + userZoom: core.String, + [S$0.$userZoom]: core.String, + verticalAlign: core.String, + [S$0.$verticalAlign]: core.String, + visibility: core.String, + [S$0.$visibility]: core.String, + whiteSpace: core.String, + [S$0.$whiteSpace]: core.String, + widows: core.String, + [S$0.$widows]: core.String, + width: core.String, + [$width]: core.String, + willChange: core.String, + [S$0.$willChange]: core.String, + wordBreak: core.String, + [S$0.$wordBreak]: core.String, + wordSpacing: core.String, + [S$0.$wordSpacing]: core.String, + wordWrap: core.String, + [S$0.$wordWrap]: core.String, + wrapFlow: core.String, + [S$0.$wrapFlow]: core.String, + wrapThrough: core.String, + [S$0.$wrapThrough]: core.String, + writingMode: core.String, + [S$0.$writingMode]: core.String, + zIndex: core.String, + [S$0.$zIndex]: core.String, + zoom: core.String, + [S$0.$zoom]: core.String +})); +dart.setSetterSignature(html$.CssStyleDeclarationBase, () => ({ + __proto__: dart.getSetters(html$.CssStyleDeclarationBase.__proto__), + alignContent: core.String, + [S$0.$alignContent]: core.String, + alignItems: core.String, + [S$0.$alignItems]: core.String, + alignSelf: core.String, + [S$0.$alignSelf]: core.String, + animation: core.String, + [S$0.$animation]: core.String, + animationDelay: core.String, + [S$0.$animationDelay]: core.String, + animationDirection: core.String, + [S$0.$animationDirection]: core.String, + animationDuration: core.String, + [S$0.$animationDuration]: core.String, + animationFillMode: core.String, + [S$0.$animationFillMode]: core.String, + animationIterationCount: core.String, + [S$0.$animationIterationCount]: core.String, + animationName: core.String, + [S$.$animationName]: core.String, + animationPlayState: core.String, + [S$0.$animationPlayState]: core.String, + animationTimingFunction: core.String, + [S$0.$animationTimingFunction]: core.String, + appRegion: core.String, + [S$0.$appRegion]: core.String, + appearance: core.String, + [S$0.$appearance]: core.String, + aspectRatio: core.String, + [S$0.$aspectRatio]: core.String, + backfaceVisibility: core.String, + [S$0.$backfaceVisibility]: core.String, + background: core.String, + [S$.$background]: core.String, + backgroundAttachment: core.String, + [S$.$backgroundAttachment]: core.String, + backgroundBlendMode: core.String, + [S$0.$backgroundBlendMode]: core.String, + backgroundClip: core.String, + [S$0.$backgroundClip]: core.String, + backgroundColor: core.String, + [S$.$backgroundColor]: core.String, + backgroundComposite: core.String, + [S$0.$backgroundComposite]: core.String, + backgroundImage: core.String, + [S$.$backgroundImage]: core.String, + backgroundOrigin: core.String, + [S$0.$backgroundOrigin]: core.String, + backgroundPosition: core.String, + [S$.$backgroundPosition]: core.String, + backgroundPositionX: core.String, + [S$0.$backgroundPositionX]: core.String, + backgroundPositionY: core.String, + [S$0.$backgroundPositionY]: core.String, + backgroundRepeat: core.String, + [S$.$backgroundRepeat]: core.String, + backgroundRepeatX: core.String, + [S$0.$backgroundRepeatX]: core.String, + backgroundRepeatY: core.String, + [S$0.$backgroundRepeatY]: core.String, + backgroundSize: core.String, + [S$0.$backgroundSize]: core.String, + border: core.String, + [S$.$border]: core.String, + borderAfter: core.String, + [S$0.$borderAfter]: core.String, + borderAfterColor: core.String, + [S$0.$borderAfterColor]: core.String, + borderAfterStyle: core.String, + [S$0.$borderAfterStyle]: core.String, + borderAfterWidth: core.String, + [S$0.$borderAfterWidth]: core.String, + borderBefore: core.String, + [S$0.$borderBefore]: core.String, + borderBeforeColor: core.String, + [S$0.$borderBeforeColor]: core.String, + borderBeforeStyle: core.String, + [S$0.$borderBeforeStyle]: core.String, + borderBeforeWidth: core.String, + [S$0.$borderBeforeWidth]: core.String, + borderBottom: core.String, + [S$.$borderBottom]: core.String, + borderBottomColor: core.String, + [S$.$borderBottomColor]: core.String, + borderBottomLeftRadius: core.String, + [S$0.$borderBottomLeftRadius]: core.String, + borderBottomRightRadius: core.String, + [S$0.$borderBottomRightRadius]: core.String, + borderBottomStyle: core.String, + [S$.$borderBottomStyle]: core.String, + borderBottomWidth: core.String, + [S$.$borderBottomWidth]: core.String, + borderCollapse: core.String, + [S$.$borderCollapse]: core.String, + borderColor: core.String, + [S$.$borderColor]: core.String, + borderEnd: core.String, + [S$0.$borderEnd]: core.String, + borderEndColor: core.String, + [S$0.$borderEndColor]: core.String, + borderEndStyle: core.String, + [S$0.$borderEndStyle]: core.String, + borderEndWidth: core.String, + [S$0.$borderEndWidth]: core.String, + borderFit: core.String, + [S$0.$borderFit]: core.String, + borderHorizontalSpacing: core.String, + [S$0.$borderHorizontalSpacing]: core.String, + borderImage: core.String, + [S$0.$borderImage]: core.String, + borderImageOutset: core.String, + [S$0.$borderImageOutset]: core.String, + borderImageRepeat: core.String, + [S$0.$borderImageRepeat]: core.String, + borderImageSlice: core.String, + [S$0.$borderImageSlice]: core.String, + borderImageSource: core.String, + [S$0.$borderImageSource]: core.String, + borderImageWidth: core.String, + [S$0.$borderImageWidth]: core.String, + borderLeft: core.String, + [S$.$borderLeft]: core.String, + borderLeftColor: core.String, + [S$.$borderLeftColor]: core.String, + borderLeftStyle: core.String, + [S$.$borderLeftStyle]: core.String, + borderLeftWidth: core.String, + [S$.$borderLeftWidth]: core.String, + borderRadius: core.String, + [S$0.$borderRadius]: core.String, + borderRight: core.String, + [S$.$borderRight]: core.String, + borderRightColor: core.String, + [S$.$borderRightColor]: core.String, + borderRightStyle: core.String, + [S$.$borderRightStyle]: core.String, + borderRightWidth: core.String, + [S$0.$borderRightWidth]: core.String, + borderSpacing: core.String, + [S$0.$borderSpacing]: core.String, + borderStart: core.String, + [S$0.$borderStart]: core.String, + borderStartColor: core.String, + [S$0.$borderStartColor]: core.String, + borderStartStyle: core.String, + [S$0.$borderStartStyle]: core.String, + borderStartWidth: core.String, + [S$0.$borderStartWidth]: core.String, + borderStyle: core.String, + [S$0.$borderStyle]: core.String, + borderTop: core.String, + [S$0.$borderTop]: core.String, + borderTopColor: core.String, + [S$0.$borderTopColor]: core.String, + borderTopLeftRadius: core.String, + [S$0.$borderTopLeftRadius]: core.String, + borderTopRightRadius: core.String, + [S$0.$borderTopRightRadius]: core.String, + borderTopStyle: core.String, + [S$0.$borderTopStyle]: core.String, + borderTopWidth: core.String, + [S$0.$borderTopWidth]: core.String, + borderVerticalSpacing: core.String, + [S$0.$borderVerticalSpacing]: core.String, + borderWidth: core.String, + [S$0.$borderWidth]: core.String, + bottom: core.String, + [$bottom]: core.String, + boxAlign: core.String, + [S$0.$boxAlign]: core.String, + boxDecorationBreak: core.String, + [S$0.$boxDecorationBreak]: core.String, + boxDirection: core.String, + [S$0.$boxDirection]: core.String, + boxFlex: core.String, + [S$0.$boxFlex]: core.String, + boxFlexGroup: core.String, + [S$0.$boxFlexGroup]: core.String, + boxLines: core.String, + [S$0.$boxLines]: core.String, + boxOrdinalGroup: core.String, + [S$0.$boxOrdinalGroup]: core.String, + boxOrient: core.String, + [S$0.$boxOrient]: core.String, + boxPack: core.String, + [S$0.$boxPack]: core.String, + boxReflect: core.String, + [S$0.$boxReflect]: core.String, + boxShadow: core.String, + [S$0.$boxShadow]: core.String, + boxSizing: core.String, + [S$0.$boxSizing]: core.String, + captionSide: core.String, + [S$0.$captionSide]: core.String, + clear: core.String, + [$clear]: core.String, + clip: core.String, + [S$.$clip]: core.String, + clipPath: core.String, + [S$0.$clipPath]: core.String, + color: core.String, + [S$0.$color]: core.String, + columnBreakAfter: core.String, + [S$0.$columnBreakAfter]: core.String, + columnBreakBefore: core.String, + [S$0.$columnBreakBefore]: core.String, + columnBreakInside: core.String, + [S$0.$columnBreakInside]: core.String, + columnCount: core.String, + [S$0.$columnCount]: core.String, + columnFill: core.String, + [S$0.$columnFill]: core.String, + columnGap: core.String, + [S$0.$columnGap]: core.String, + columnRule: core.String, + [S$0.$columnRule]: core.String, + columnRuleColor: core.String, + [S$0.$columnRuleColor]: core.String, + columnRuleStyle: core.String, + [S$0.$columnRuleStyle]: core.String, + columnRuleWidth: core.String, + [S$0.$columnRuleWidth]: core.String, + columnSpan: core.String, + [S$0.$columnSpan]: core.String, + columnWidth: core.String, + [S$0.$columnWidth]: core.String, + columns: core.String, + [S$0.$columns]: core.String, + content: core.String, + [S$0.$content]: core.String, + counterIncrement: core.String, + [S$0.$counterIncrement]: core.String, + counterReset: core.String, + [S$0.$counterReset]: core.String, + cursor: core.String, + [S$0.$cursor]: core.String, + direction: core.String, + [S.$direction]: core.String, + display: core.String, + [S$0.$display]: core.String, + emptyCells: core.String, + [S$0.$emptyCells]: core.String, + filter: core.String, + [S$.$filter]: core.String, + flex: core.String, + [S$0.$flex]: core.String, + flexBasis: core.String, + [S$0.$flexBasis]: core.String, + flexDirection: core.String, + [S$0.$flexDirection]: core.String, + flexFlow: core.String, + [S$0.$flexFlow]: core.String, + flexGrow: core.String, + [S$0.$flexGrow]: core.String, + flexShrink: core.String, + [S$0.$flexShrink]: core.String, + flexWrap: core.String, + [S$0.$flexWrap]: core.String, + float: core.String, + [S$0.$float]: core.String, + font: core.String, + [S$.$font]: core.String, + fontFamily: core.String, + [S$0.$fontFamily]: core.String, + fontFeatureSettings: core.String, + [S$0.$fontFeatureSettings]: core.String, + fontKerning: core.String, + [S$0.$fontKerning]: core.String, + fontSize: core.String, + [S$0.$fontSize]: core.String, + fontSizeDelta: core.String, + [S$0.$fontSizeDelta]: core.String, + fontSmoothing: core.String, + [S$0.$fontSmoothing]: core.String, + fontStretch: core.String, + [S$0.$fontStretch]: core.String, + fontStyle: core.String, + [S$0.$fontStyle]: core.String, + fontVariant: core.String, + [S$0.$fontVariant]: core.String, + fontVariantLigatures: core.String, + [S$0.$fontVariantLigatures]: core.String, + fontWeight: core.String, + [S$0.$fontWeight]: core.String, + grid: core.String, + [S$0.$grid]: core.String, + gridArea: core.String, + [S$0.$gridArea]: core.String, + gridAutoColumns: core.String, + [S$0.$gridAutoColumns]: core.String, + gridAutoFlow: core.String, + [S$0.$gridAutoFlow]: core.String, + gridAutoRows: core.String, + [S$0.$gridAutoRows]: core.String, + gridColumn: core.String, + [S$0.$gridColumn]: core.String, + gridColumnEnd: core.String, + [S$0.$gridColumnEnd]: core.String, + gridColumnStart: core.String, + [S$0.$gridColumnStart]: core.String, + gridRow: core.String, + [S$0.$gridRow]: core.String, + gridRowEnd: core.String, + [S$0.$gridRowEnd]: core.String, + gridRowStart: core.String, + [S$0.$gridRowStart]: core.String, + gridTemplate: core.String, + [S$0.$gridTemplate]: core.String, + gridTemplateAreas: core.String, + [S$0.$gridTemplateAreas]: core.String, + gridTemplateColumns: core.String, + [S$0.$gridTemplateColumns]: core.String, + gridTemplateRows: core.String, + [S$0.$gridTemplateRows]: core.String, + height: core.String, + [$height]: core.String, + highlight: core.String, + [S$0.$highlight]: core.String, + hyphenateCharacter: core.String, + [S$0.$hyphenateCharacter]: core.String, + imageRendering: core.String, + [S$0.$imageRendering]: core.String, + isolation: core.String, + [S$0.$isolation]: core.String, + justifyContent: core.String, + [S$0.$justifyContent]: core.String, + justifySelf: core.String, + [S$0.$justifySelf]: core.String, + left: core.String, + [$left]: core.String, + letterSpacing: core.String, + [S$0.$letterSpacing]: core.String, + lineBoxContain: core.String, + [S$0.$lineBoxContain]: core.String, + lineBreak: core.String, + [S$0.$lineBreak]: core.String, + lineClamp: core.String, + [S$0.$lineClamp]: core.String, + lineHeight: core.String, + [S$0.$lineHeight]: core.String, + listStyle: core.String, + [S$0.$listStyle]: core.String, + listStyleImage: core.String, + [S$0.$listStyleImage]: core.String, + listStylePosition: core.String, + [S$0.$listStylePosition]: core.String, + listStyleType: core.String, + [S$0.$listStyleType]: core.String, + locale: core.String, + [S$0.$locale]: core.String, + logicalHeight: core.String, + [S$0.$logicalHeight]: core.String, + logicalWidth: core.String, + [S$0.$logicalWidth]: core.String, + margin: core.String, + [S$0.$margin]: core.String, + marginAfter: core.String, + [S$0.$marginAfter]: core.String, + marginAfterCollapse: core.String, + [S$0.$marginAfterCollapse]: core.String, + marginBefore: core.String, + [S$0.$marginBefore]: core.String, + marginBeforeCollapse: core.String, + [S$0.$marginBeforeCollapse]: core.String, + marginBottom: core.String, + [S$0.$marginBottom]: core.String, + marginBottomCollapse: core.String, + [S$0.$marginBottomCollapse]: core.String, + marginCollapse: core.String, + [S$0.$marginCollapse]: core.String, + marginEnd: core.String, + [S$0.$marginEnd]: core.String, + marginLeft: core.String, + [S$0.$marginLeft]: core.String, + marginRight: core.String, + [S$0.$marginRight]: core.String, + marginStart: core.String, + [S$0.$marginStart]: core.String, + marginTop: core.String, + [S$0.$marginTop]: core.String, + marginTopCollapse: core.String, + [S$0.$marginTopCollapse]: core.String, + mask: core.String, + [S$0.$mask]: core.String, + maskBoxImage: core.String, + [S$0.$maskBoxImage]: core.String, + maskBoxImageOutset: core.String, + [S$0.$maskBoxImageOutset]: core.String, + maskBoxImageRepeat: core.String, + [S$0.$maskBoxImageRepeat]: core.String, + maskBoxImageSlice: core.String, + [S$0.$maskBoxImageSlice]: core.String, + maskBoxImageSource: core.String, + [S$0.$maskBoxImageSource]: core.String, + maskBoxImageWidth: core.String, + [S$0.$maskBoxImageWidth]: core.String, + maskClip: core.String, + [S$0.$maskClip]: core.String, + maskComposite: core.String, + [S$0.$maskComposite]: core.String, + maskImage: core.String, + [S$0.$maskImage]: core.String, + maskOrigin: core.String, + [S$0.$maskOrigin]: core.String, + maskPosition: core.String, + [S$0.$maskPosition]: core.String, + maskPositionX: core.String, + [S$0.$maskPositionX]: core.String, + maskPositionY: core.String, + [S$0.$maskPositionY]: core.String, + maskRepeat: core.String, + [S$0.$maskRepeat]: core.String, + maskRepeatX: core.String, + [S$0.$maskRepeatX]: core.String, + maskRepeatY: core.String, + [S$0.$maskRepeatY]: core.String, + maskSize: core.String, + [S$0.$maskSize]: core.String, + maskSourceType: core.String, + [S$0.$maskSourceType]: core.String, + maxHeight: core.String, + [S$0.$maxHeight]: core.String, + maxLogicalHeight: core.String, + [S$0.$maxLogicalHeight]: core.String, + maxLogicalWidth: core.String, + [S$0.$maxLogicalWidth]: core.String, + maxWidth: core.String, + [S$0.$maxWidth]: core.String, + maxZoom: core.String, + [S$0.$maxZoom]: core.String, + minHeight: core.String, + [S$0.$minHeight]: core.String, + minLogicalHeight: core.String, + [S$0.$minLogicalHeight]: core.String, + minLogicalWidth: core.String, + [S$0.$minLogicalWidth]: core.String, + minWidth: core.String, + [S$0.$minWidth]: core.String, + minZoom: core.String, + [S$0.$minZoom]: core.String, + mixBlendMode: core.String, + [S$0.$mixBlendMode]: core.String, + objectFit: core.String, + [S$0.$objectFit]: core.String, + objectPosition: core.String, + [S$0.$objectPosition]: core.String, + opacity: core.String, + [S$0.$opacity]: core.String, + order: core.String, + [S$0.$order]: core.String, + orientation: core.String, + [S$.$orientation]: core.String, + orphans: core.String, + [S$0.$orphans]: core.String, + outline: core.String, + [S$0.$outline]: core.String, + outlineColor: core.String, + [S$0.$outlineColor]: core.String, + outlineOffset: core.String, + [S$0.$outlineOffset]: core.String, + outlineStyle: core.String, + [S$0.$outlineStyle]: core.String, + outlineWidth: core.String, + [S$0.$outlineWidth]: core.String, + overflow: core.String, + [S$0.$overflow]: core.String, + overflowWrap: core.String, + [S$0.$overflowWrap]: core.String, + overflowX: core.String, + [S$0.$overflowX]: core.String, + overflowY: core.String, + [S$0.$overflowY]: core.String, + padding: core.String, + [S$0.$padding]: core.String, + paddingAfter: core.String, + [S$0.$paddingAfter]: core.String, + paddingBefore: core.String, + [S$0.$paddingBefore]: core.String, + paddingBottom: core.String, + [S$0.$paddingBottom]: core.String, + paddingEnd: core.String, + [S$0.$paddingEnd]: core.String, + paddingLeft: core.String, + [S$0.$paddingLeft]: core.String, + paddingRight: core.String, + [S$0.$paddingRight]: core.String, + paddingStart: core.String, + [S$0.$paddingStart]: core.String, + paddingTop: core.String, + [S$0.$paddingTop]: core.String, + page: core.String, + [S$0.$page]: core.String, + pageBreakAfter: core.String, + [S$0.$pageBreakAfter]: core.String, + pageBreakBefore: core.String, + [S$0.$pageBreakBefore]: core.String, + pageBreakInside: core.String, + [S$0.$pageBreakInside]: core.String, + perspective: core.String, + [S$0.$perspective]: core.String, + perspectiveOrigin: core.String, + [S$0.$perspectiveOrigin]: core.String, + perspectiveOriginX: core.String, + [S$0.$perspectiveOriginX]: core.String, + perspectiveOriginY: core.String, + [S$0.$perspectiveOriginY]: core.String, + pointerEvents: core.String, + [S$0.$pointerEvents]: core.String, + position: core.String, + [S$0.$position]: core.String, + printColorAdjust: core.String, + [S$0.$printColorAdjust]: core.String, + quotes: core.String, + [S$0.$quotes]: core.String, + resize: core.String, + [S$0.$resize]: core.String, + right: core.String, + [$right]: core.String, + rtlOrdering: core.String, + [S$0.$rtlOrdering]: core.String, + rubyPosition: core.String, + [S$0.$rubyPosition]: core.String, + scrollBehavior: core.String, + [S$0.$scrollBehavior]: core.String, + shapeImageThreshold: core.String, + [S$0.$shapeImageThreshold]: core.String, + shapeMargin: core.String, + [S$0.$shapeMargin]: core.String, + shapeOutside: core.String, + [S$0.$shapeOutside]: core.String, + size: core.String, + [S$.$size]: core.String, + speak: core.String, + [S$0.$speak]: core.String, + src: core.String, + [S$.$src]: core.String, + tabSize: core.String, + [S$0.$tabSize]: core.String, + tableLayout: core.String, + [S$0.$tableLayout]: core.String, + tapHighlightColor: core.String, + [S$0.$tapHighlightColor]: core.String, + textAlign: core.String, + [S$.$textAlign]: core.String, + textAlignLast: core.String, + [S$0.$textAlignLast]: core.String, + textCombine: core.String, + [S$0.$textCombine]: core.String, + textDecoration: core.String, + [S$0.$textDecoration]: core.String, + textDecorationColor: core.String, + [S$0.$textDecorationColor]: core.String, + textDecorationLine: core.String, + [S$0.$textDecorationLine]: core.String, + textDecorationStyle: core.String, + [S$0.$textDecorationStyle]: core.String, + textDecorationsInEffect: core.String, + [S$0.$textDecorationsInEffect]: core.String, + textEmphasis: core.String, + [S$0.$textEmphasis]: core.String, + textEmphasisColor: core.String, + [S$0.$textEmphasisColor]: core.String, + textEmphasisPosition: core.String, + [S$0.$textEmphasisPosition]: core.String, + textEmphasisStyle: core.String, + [S$0.$textEmphasisStyle]: core.String, + textFillColor: core.String, + [S$0.$textFillColor]: core.String, + textIndent: core.String, + [S$0.$textIndent]: core.String, + textJustify: core.String, + [S$0.$textJustify]: core.String, + textLineThroughColor: core.String, + [S$0.$textLineThroughColor]: core.String, + textLineThroughMode: core.String, + [S$0.$textLineThroughMode]: core.String, + textLineThroughStyle: core.String, + [S$0.$textLineThroughStyle]: core.String, + textLineThroughWidth: core.String, + [S$0.$textLineThroughWidth]: core.String, + textOrientation: core.String, + [S$0.$textOrientation]: core.String, + textOverflow: core.String, + [S$0.$textOverflow]: core.String, + textOverlineColor: core.String, + [S$0.$textOverlineColor]: core.String, + textOverlineMode: core.String, + [S$0.$textOverlineMode]: core.String, + textOverlineStyle: core.String, + [S$0.$textOverlineStyle]: core.String, + textOverlineWidth: core.String, + [S$0.$textOverlineWidth]: core.String, + textRendering: core.String, + [S$0.$textRendering]: core.String, + textSecurity: core.String, + [S$0.$textSecurity]: core.String, + textShadow: core.String, + [S$0.$textShadow]: core.String, + textStroke: core.String, + [S$0.$textStroke]: core.String, + textStrokeColor: core.String, + [S$0.$textStrokeColor]: core.String, + textStrokeWidth: core.String, + [S$0.$textStrokeWidth]: core.String, + textTransform: core.String, + [S$0.$textTransform]: core.String, + textUnderlineColor: core.String, + [S$0.$textUnderlineColor]: core.String, + textUnderlineMode: core.String, + [S$0.$textUnderlineMode]: core.String, + textUnderlinePosition: core.String, + [S$0.$textUnderlinePosition]: core.String, + textUnderlineStyle: core.String, + [S$0.$textUnderlineStyle]: core.String, + textUnderlineWidth: core.String, + [S$0.$textUnderlineWidth]: core.String, + top: core.String, + [$top]: core.String, + touchAction: core.String, + [S$0.$touchAction]: core.String, + touchActionDelay: core.String, + [S$0.$touchActionDelay]: core.String, + transform: core.String, + [S$.$transform]: core.String, + transformOrigin: core.String, + [S$0.$transformOrigin]: core.String, + transformOriginX: core.String, + [S$0.$transformOriginX]: core.String, + transformOriginY: core.String, + [S$0.$transformOriginY]: core.String, + transformOriginZ: core.String, + [S$0.$transformOriginZ]: core.String, + transformStyle: core.String, + [S$0.$transformStyle]: core.String, + transition: core.String, + [S$0.$transition]: core.String, + transitionDelay: core.String, + [S$0.$transitionDelay]: core.String, + transitionDuration: core.String, + [S$0.$transitionDuration]: core.String, + transitionProperty: core.String, + [S$0.$transitionProperty]: core.String, + transitionTimingFunction: core.String, + [S$0.$transitionTimingFunction]: core.String, + unicodeBidi: core.String, + [S$0.$unicodeBidi]: core.String, + unicodeRange: core.String, + [S$0.$unicodeRange]: core.String, + userDrag: core.String, + [S$0.$userDrag]: core.String, + userModify: core.String, + [S$0.$userModify]: core.String, + userSelect: core.String, + [S$0.$userSelect]: core.String, + userZoom: core.String, + [S$0.$userZoom]: core.String, + verticalAlign: core.String, + [S$0.$verticalAlign]: core.String, + visibility: core.String, + [S$0.$visibility]: core.String, + whiteSpace: core.String, + [S$0.$whiteSpace]: core.String, + widows: core.String, + [S$0.$widows]: core.String, + width: core.String, + [$width]: core.String, + willChange: core.String, + [S$0.$willChange]: core.String, + wordBreak: core.String, + [S$0.$wordBreak]: core.String, + wordSpacing: core.String, + [S$0.$wordSpacing]: core.String, + wordWrap: core.String, + [S$0.$wordWrap]: core.String, + wrapFlow: core.String, + [S$0.$wrapFlow]: core.String, + wrapThrough: core.String, + [S$0.$wrapThrough]: core.String, + writingMode: core.String, + [S$0.$writingMode]: core.String, + zIndex: core.String, + [S$0.$zIndex]: core.String, + zoom: core.String, + [S$0.$zoom]: core.String +})); +dart.setLibraryUri(html$.CssStyleDeclarationBase, I[148]); +dart.defineExtensionAccessors(html$.CssStyleDeclarationBase, [ + 'alignContent', + 'alignItems', + 'alignSelf', + 'animation', + 'animationDelay', + 'animationDirection', + 'animationDuration', + 'animationFillMode', + 'animationIterationCount', + 'animationName', + 'animationPlayState', + 'animationTimingFunction', + 'appRegion', + 'appearance', + 'aspectRatio', + 'backfaceVisibility', + 'background', + 'backgroundAttachment', + 'backgroundBlendMode', + 'backgroundClip', + 'backgroundColor', + 'backgroundComposite', + 'backgroundImage', + 'backgroundOrigin', + 'backgroundPosition', + 'backgroundPositionX', + 'backgroundPositionY', + 'backgroundRepeat', + 'backgroundRepeatX', + 'backgroundRepeatY', + 'backgroundSize', + 'border', + 'borderAfter', + 'borderAfterColor', + 'borderAfterStyle', + 'borderAfterWidth', + 'borderBefore', + 'borderBeforeColor', + 'borderBeforeStyle', + 'borderBeforeWidth', + 'borderBottom', + 'borderBottomColor', + 'borderBottomLeftRadius', + 'borderBottomRightRadius', + 'borderBottomStyle', + 'borderBottomWidth', + 'borderCollapse', + 'borderColor', + 'borderEnd', + 'borderEndColor', + 'borderEndStyle', + 'borderEndWidth', + 'borderFit', + 'borderHorizontalSpacing', + 'borderImage', + 'borderImageOutset', + 'borderImageRepeat', + 'borderImageSlice', + 'borderImageSource', + 'borderImageWidth', + 'borderLeft', + 'borderLeftColor', + 'borderLeftStyle', + 'borderLeftWidth', + 'borderRadius', + 'borderRight', + 'borderRightColor', + 'borderRightStyle', + 'borderRightWidth', + 'borderSpacing', + 'borderStart', + 'borderStartColor', + 'borderStartStyle', + 'borderStartWidth', + 'borderStyle', + 'borderTop', + 'borderTopColor', + 'borderTopLeftRadius', + 'borderTopRightRadius', + 'borderTopStyle', + 'borderTopWidth', + 'borderVerticalSpacing', + 'borderWidth', + 'bottom', + 'boxAlign', + 'boxDecorationBreak', + 'boxDirection', + 'boxFlex', + 'boxFlexGroup', + 'boxLines', + 'boxOrdinalGroup', + 'boxOrient', + 'boxPack', + 'boxReflect', + 'boxShadow', + 'boxSizing', + 'captionSide', + 'clear', + 'clip', + 'clipPath', + 'color', + 'columnBreakAfter', + 'columnBreakBefore', + 'columnBreakInside', + 'columnCount', + 'columnFill', + 'columnGap', + 'columnRule', + 'columnRuleColor', + 'columnRuleStyle', + 'columnRuleWidth', + 'columnSpan', + 'columnWidth', + 'columns', + 'content', + 'counterIncrement', + 'counterReset', + 'cursor', + 'direction', + 'display', + 'emptyCells', + 'filter', + 'flex', + 'flexBasis', + 'flexDirection', + 'flexFlow', + 'flexGrow', + 'flexShrink', + 'flexWrap', + 'float', + 'font', + 'fontFamily', + 'fontFeatureSettings', + 'fontKerning', + 'fontSize', + 'fontSizeDelta', + 'fontSmoothing', + 'fontStretch', + 'fontStyle', + 'fontVariant', + 'fontVariantLigatures', + 'fontWeight', + 'grid', + 'gridArea', + 'gridAutoColumns', + 'gridAutoFlow', + 'gridAutoRows', + 'gridColumn', + 'gridColumnEnd', + 'gridColumnStart', + 'gridRow', + 'gridRowEnd', + 'gridRowStart', + 'gridTemplate', + 'gridTemplateAreas', + 'gridTemplateColumns', + 'gridTemplateRows', + 'height', + 'highlight', + 'hyphenateCharacter', + 'imageRendering', + 'isolation', + 'justifyContent', + 'justifySelf', + 'left', + 'letterSpacing', + 'lineBoxContain', + 'lineBreak', + 'lineClamp', + 'lineHeight', + 'listStyle', + 'listStyleImage', + 'listStylePosition', + 'listStyleType', + 'locale', + 'logicalHeight', + 'logicalWidth', + 'margin', + 'marginAfter', + 'marginAfterCollapse', + 'marginBefore', + 'marginBeforeCollapse', + 'marginBottom', + 'marginBottomCollapse', + 'marginCollapse', + 'marginEnd', + 'marginLeft', + 'marginRight', + 'marginStart', + 'marginTop', + 'marginTopCollapse', + 'mask', + 'maskBoxImage', + 'maskBoxImageOutset', + 'maskBoxImageRepeat', + 'maskBoxImageSlice', + 'maskBoxImageSource', + 'maskBoxImageWidth', + 'maskClip', + 'maskComposite', + 'maskImage', + 'maskOrigin', + 'maskPosition', + 'maskPositionX', + 'maskPositionY', + 'maskRepeat', + 'maskRepeatX', + 'maskRepeatY', + 'maskSize', + 'maskSourceType', + 'maxHeight', + 'maxLogicalHeight', + 'maxLogicalWidth', + 'maxWidth', + 'maxZoom', + 'minHeight', + 'minLogicalHeight', + 'minLogicalWidth', + 'minWidth', + 'minZoom', + 'mixBlendMode', + 'objectFit', + 'objectPosition', + 'opacity', + 'order', + 'orientation', + 'orphans', + 'outline', + 'outlineColor', + 'outlineOffset', + 'outlineStyle', + 'outlineWidth', + 'overflow', + 'overflowWrap', + 'overflowX', + 'overflowY', + 'padding', + 'paddingAfter', + 'paddingBefore', + 'paddingBottom', + 'paddingEnd', + 'paddingLeft', + 'paddingRight', + 'paddingStart', + 'paddingTop', + 'page', + 'pageBreakAfter', + 'pageBreakBefore', + 'pageBreakInside', + 'perspective', + 'perspectiveOrigin', + 'perspectiveOriginX', + 'perspectiveOriginY', + 'pointerEvents', + 'position', + 'printColorAdjust', + 'quotes', + 'resize', + 'right', + 'rtlOrdering', + 'rubyPosition', + 'scrollBehavior', + 'shapeImageThreshold', + 'shapeMargin', + 'shapeOutside', + 'size', + 'speak', + 'src', + 'tabSize', + 'tableLayout', + 'tapHighlightColor', + 'textAlign', + 'textAlignLast', + 'textCombine', + 'textDecoration', + 'textDecorationColor', + 'textDecorationLine', + 'textDecorationStyle', + 'textDecorationsInEffect', + 'textEmphasis', + 'textEmphasisColor', + 'textEmphasisPosition', + 'textEmphasisStyle', + 'textFillColor', + 'textIndent', + 'textJustify', + 'textLineThroughColor', + 'textLineThroughMode', + 'textLineThroughStyle', + 'textLineThroughWidth', + 'textOrientation', + 'textOverflow', + 'textOverlineColor', + 'textOverlineMode', + 'textOverlineStyle', + 'textOverlineWidth', + 'textRendering', + 'textSecurity', + 'textShadow', + 'textStroke', + 'textStrokeColor', + 'textStrokeWidth', + 'textTransform', + 'textUnderlineColor', + 'textUnderlineMode', + 'textUnderlinePosition', + 'textUnderlineStyle', + 'textUnderlineWidth', + 'top', + 'touchAction', + 'touchActionDelay', + 'transform', + 'transformOrigin', + 'transformOriginX', + 'transformOriginY', + 'transformOriginZ', + 'transformStyle', + 'transition', + 'transitionDelay', + 'transitionDuration', + 'transitionProperty', + 'transitionTimingFunction', + 'unicodeBidi', + 'unicodeRange', + 'userDrag', + 'userModify', + 'userSelect', + 'userZoom', + 'verticalAlign', + 'visibility', + 'whiteSpace', + 'widows', + 'width', + 'willChange', + 'wordBreak', + 'wordSpacing', + 'wordWrap', + 'wrapFlow', + 'wrapThrough', + 'writingMode', + 'zIndex', + 'zoom' +]); +const Interceptor_CssStyleDeclarationBase$36 = class Interceptor_CssStyleDeclarationBase extends _interceptors.Interceptor {}; +(Interceptor_CssStyleDeclarationBase$36.new = function() { + Interceptor_CssStyleDeclarationBase$36.__proto__.new.call(this); +}).prototype = Interceptor_CssStyleDeclarationBase$36.prototype; +dart.applyMixin(Interceptor_CssStyleDeclarationBase$36, html$.CssStyleDeclarationBase); +html$.CssStyleDeclaration = class CssStyleDeclaration extends Interceptor_CssStyleDeclarationBase$36 { + static new() { + return html$.CssStyleDeclaration.css(""); + } + static css(css) { + if (css == null) dart.nullFailed(I[147], 3963, 42, "css"); + let style = html$.DivElement.new().style; + style.cssText = css; + return style; + } + [S$.$getPropertyValue](propertyName) { + if (propertyName == null) dart.nullFailed(I[147], 3974, 34, "propertyName"); + return this[S$._getPropertyValueHelper](propertyName); + } + [S$._getPropertyValueHelper](propertyName) { + if (propertyName == null) dart.nullFailed(I[147], 3978, 41, "propertyName"); + return this[S$._getPropertyValue](this[S$._browserPropertyName](propertyName)); + } + [S$.$supportsProperty](propertyName) { + if (propertyName == null) dart.nullFailed(I[147], 3990, 32, "propertyName"); + return dart.test(this[S$._supportsProperty](propertyName)) || dart.test(this[S$._supportsProperty](html$.CssStyleDeclaration._camelCase(dart.str(html_common.Device.cssPrefix) + dart.str(propertyName)))); + } + [S$._supportsProperty](propertyName) { + if (propertyName == null) dart.nullFailed(I[147], 3995, 33, "propertyName"); + return propertyName in this; + } + [S$.$setProperty](propertyName, value, priority = null) { + if (propertyName == null) dart.nullFailed(I[147], 3999, 27, "propertyName"); + return this[S$._setPropertyHelper](this[S$._browserPropertyName](propertyName), value, priority); + } + [S$._browserPropertyName](propertyName) { + if (propertyName == null) dart.nullFailed(I[147], 4004, 38, "propertyName"); + let name = html$.CssStyleDeclaration._readCache(propertyName); + if (typeof name == 'string') return name; + name = this[S$._supportedBrowserPropertyName](propertyName); + html$.CssStyleDeclaration._writeCache(propertyName, name); + return name; + } + [S$._supportedBrowserPropertyName](propertyName) { + if (propertyName == null) dart.nullFailed(I[147], 4012, 47, "propertyName"); + if (dart.test(this[S$._supportsProperty](html$.CssStyleDeclaration._camelCase(propertyName)))) { + return propertyName; + } + let prefixed = dart.str(html_common.Device.cssPrefix) + dart.str(propertyName); + if (dart.test(this[S$._supportsProperty](prefixed))) { + return prefixed; + } + return propertyName; + } + static _readCache(key) { + if (key == null) dart.nullFailed(I[147], 4025, 36, "key"); + return html$.CssStyleDeclaration._propertyCache[key]; + } + static _writeCache(key, value) { + if (key == null) dart.nullFailed(I[147], 4027, 34, "key"); + if (value == null) dart.nullFailed(I[147], 4027, 46, "value"); + html$.CssStyleDeclaration._propertyCache[key] = value; + } + static _camelCase(hyphenated) { + if (hyphenated == null) dart.nullFailed(I[147], 4031, 35, "hyphenated"); + let replacedMs = hyphenated.replace(/^-ms-/, "ms-"); + return replacedMs.replace(/-([\da-z])/ig, function(_, letter) { + return letter.toUpperCase(); + }); + } + [S$._setPropertyHelper](propertyName, value, priority = null) { + if (propertyName == null) dart.nullFailed(I[147], 4040, 34, "propertyName"); + if (value == null) value = ""; + if (priority == null) priority = ""; + this.setProperty(propertyName, value, priority); + } + static get supportsTransitions() { + return dart.nullCheck(html$.document.body).style[S$.$supportsProperty]("transition"); + } + get [S$.$cssFloat]() { + return this.cssFloat; + } + set [S$.$cssFloat](value) { + this.cssFloat = value; + } + get [S$.$cssText]() { + return this.cssText; + } + set [S$.$cssText](value) { + this.cssText = value; + } + get [$length]() { + return this.length; + } + get [S$.$parentRule]() { + return this.parentRule; + } + [S$.$getPropertyPriority](...args) { + return this.getPropertyPriority.apply(this, args); + } + [S$._getPropertyValue](...args) { + return this.getPropertyValue.apply(this, args); + } + [S$.$item](...args) { + return this.item.apply(this, args); + } + [S$.$removeProperty](...args) { + return this.removeProperty.apply(this, args); + } + get [S$.$background]() { + return this[S$._background]; + } + set [S$.$background](value) { + this[S$._background] = value == null ? "" : value; + } + get [S$._background]() { + return this.background; + } + set [S$._background](value) { + this.background = value; + } + get [S$.$backgroundAttachment]() { + return this[S$._backgroundAttachment]; + } + set [S$.$backgroundAttachment](value) { + this[S$._backgroundAttachment] = value == null ? "" : value; + } + get [S$._backgroundAttachment]() { + return this.backgroundAttachment; + } + set [S$._backgroundAttachment](value) { + this.backgroundAttachment = value; + } + get [S$.$backgroundColor]() { + return this[S$._backgroundColor]; + } + set [S$.$backgroundColor](value) { + this[S$._backgroundColor] = value == null ? "" : value; + } + get [S$._backgroundColor]() { + return this.backgroundColor; + } + set [S$._backgroundColor](value) { + this.backgroundColor = value; + } + get [S$.$backgroundImage]() { + return this[S$._backgroundImage]; + } + set [S$.$backgroundImage](value) { + this[S$._backgroundImage] = value == null ? "" : value; + } + get [S$._backgroundImage]() { + return this.backgroundImage; + } + set [S$._backgroundImage](value) { + this.backgroundImage = value; + } + get [S$.$backgroundPosition]() { + return this[S$._backgroundPosition]; + } + set [S$.$backgroundPosition](value) { + this[S$._backgroundPosition] = value == null ? "" : value; + } + get [S$._backgroundPosition]() { + return this.backgroundPosition; + } + set [S$._backgroundPosition](value) { + this.backgroundPosition = value; + } + get [S$.$backgroundRepeat]() { + return this[S$._backgroundRepeat]; + } + set [S$.$backgroundRepeat](value) { + this[S$._backgroundRepeat] = value == null ? "" : value; + } + get [S$._backgroundRepeat]() { + return this.backgroundRepeat; + } + set [S$._backgroundRepeat](value) { + this.backgroundRepeat = value; + } + get [S$.$border]() { + return this[S$._border]; + } + set [S$.$border](value) { + this[S$._border] = value == null ? "" : value; + } + get [S$._border]() { + return this.border; + } + set [S$._border](value) { + this.border = value; + } + get [S$.$borderBottom]() { + return this[S$._borderBottom]; + } + set [S$.$borderBottom](value) { + this[S$._borderBottom] = value == null ? "" : value; + } + get [S$._borderBottom]() { + return this.borderBottom; + } + set [S$._borderBottom](value) { + this.borderBottom = value; + } + get [S$.$borderBottomColor]() { + return this[S$._borderBottomColor]; + } + set [S$.$borderBottomColor](value) { + this[S$._borderBottomColor] = value == null ? "" : value; + } + get [S$._borderBottomColor]() { + return this.borderBottomColor; + } + set [S$._borderBottomColor](value) { + this.borderBottomColor = value; + } + get [S$.$borderBottomStyle]() { + return this[S$._borderBottomStyle]; + } + set [S$.$borderBottomStyle](value) { + this[S$._borderBottomStyle] = value == null ? "" : value; + } + get [S$._borderBottomStyle]() { + return this.borderBottomStyle; + } + set [S$._borderBottomStyle](value) { + this.borderBottomStyle = value; + } + get [S$.$borderBottomWidth]() { + return this[S$._borderBottomWidth]; + } + set [S$.$borderBottomWidth](value) { + this[S$._borderBottomWidth] = value == null ? "" : value; + } + get [S$._borderBottomWidth]() { + return this.borderBottomWidth; + } + set [S$._borderBottomWidth](value) { + this.borderBottomWidth = value; + } + get [S$.$borderCollapse]() { + return this[S$._borderCollapse]; + } + set [S$.$borderCollapse](value) { + this[S$._borderCollapse] = value == null ? "" : value; + } + get [S$._borderCollapse]() { + return this.borderCollapse; + } + set [S$._borderCollapse](value) { + this.borderCollapse = value; + } + get [S$.$borderColor]() { + return this[S$._borderColor]; + } + set [S$.$borderColor](value) { + this[S$._borderColor] = value == null ? "" : value; + } + get [S$._borderColor]() { + return this.borderColor; + } + set [S$._borderColor](value) { + this.borderColor = value; + } + get [S$.$borderLeft]() { + return this[S$._borderLeft]; + } + set [S$.$borderLeft](value) { + this[S$._borderLeft] = value == null ? "" : value; + } + get [S$._borderLeft]() { + return this.borderLeft; + } + set [S$._borderLeft](value) { + this.borderLeft = value; + } + get [S$.$borderLeftColor]() { + return this[S$._borderLeftColor]; + } + set [S$.$borderLeftColor](value) { + this[S$._borderLeftColor] = value == null ? "" : value; + } + get [S$._borderLeftColor]() { + return this.borderLeftColor; + } + set [S$._borderLeftColor](value) { + this.borderLeftColor = value; + } + get [S$.$borderLeftStyle]() { + return this[S$._borderLeftStyle]; + } + set [S$.$borderLeftStyle](value) { + this[S$._borderLeftStyle] = value == null ? "" : value; + } + get [S$._borderLeftStyle]() { + return this.borderLeftStyle; + } + set [S$._borderLeftStyle](value) { + this.borderLeftStyle = value; + } + get [S$.$borderLeftWidth]() { + return this[S$._borderLeftWidth]; + } + set [S$.$borderLeftWidth](value) { + this[S$._borderLeftWidth] = value == null ? "" : value; + } + get [S$._borderLeftWidth]() { + return this.borderLeftWidth; + } + set [S$._borderLeftWidth](value) { + this.borderLeftWidth = value; + } + get [S$.$borderRight]() { + return this[S$._borderRight]; + } + set [S$.$borderRight](value) { + this[S$._borderRight] = value == null ? "" : value; + } + get [S$._borderRight]() { + return this.borderRight; + } + set [S$._borderRight](value) { + this.borderRight = value; + } + get [S$.$borderRightColor]() { + return this[S$._borderRightColor]; + } + set [S$.$borderRightColor](value) { + this[S$._borderRightColor] = value == null ? "" : value; + } + get [S$._borderRightColor]() { + return this.borderRightColor; + } + set [S$._borderRightColor](value) { + this.borderRightColor = value; + } + get [S$.$borderRightStyle]() { + return this[S$._borderRightStyle]; + } + set [S$.$borderRightStyle](value) { + this[S$._borderRightStyle] = value == null ? "" : value; + } + get [S$._borderRightStyle]() { + return this.borderRightStyle; + } + set [S$._borderRightStyle](value) { + this.borderRightStyle = value; + } + get [S$0.$borderRightWidth]() { + return this[S$._borderRightWidth]; + } + set [S$0.$borderRightWidth](value) { + this[S$._borderRightWidth] = value == null ? "" : value; + } + get [S$._borderRightWidth]() { + return this.borderRightWidth; + } + set [S$._borderRightWidth](value) { + this.borderRightWidth = value; + } + get [S$0.$borderSpacing]() { + return this[S$0._borderSpacing]; + } + set [S$0.$borderSpacing](value) { + this[S$0._borderSpacing] = value == null ? "" : value; + } + get [S$0._borderSpacing]() { + return this.borderSpacing; + } + set [S$0._borderSpacing](value) { + this.borderSpacing = value; + } + get [S$0.$borderStyle]() { + return this[S$0._borderStyle]; + } + set [S$0.$borderStyle](value) { + this[S$0._borderStyle] = value == null ? "" : value; + } + get [S$0._borderStyle]() { + return this.borderStyle; + } + set [S$0._borderStyle](value) { + this.borderStyle = value; + } + get [S$0.$borderTop]() { + return this[S$0._borderTop]; + } + set [S$0.$borderTop](value) { + this[S$0._borderTop] = value == null ? "" : value; + } + get [S$0._borderTop]() { + return this.borderTop; + } + set [S$0._borderTop](value) { + this.borderTop = value; + } + get [S$0.$borderTopColor]() { + return this[S$0._borderTopColor]; + } + set [S$0.$borderTopColor](value) { + this[S$0._borderTopColor] = value == null ? "" : value; + } + get [S$0._borderTopColor]() { + return this.borderTopColor; + } + set [S$0._borderTopColor](value) { + this.borderTopColor = value; + } + get [S$0.$borderTopStyle]() { + return this[S$0._borderTopStyle]; + } + set [S$0.$borderTopStyle](value) { + this[S$0._borderTopStyle] = value == null ? "" : value; + } + get [S$0._borderTopStyle]() { + return this.borderTopStyle; + } + set [S$0._borderTopStyle](value) { + this.borderTopStyle = value; + } + get [S$0.$borderTopWidth]() { + return this[S$0._borderTopWidth]; + } + set [S$0.$borderTopWidth](value) { + this[S$0._borderTopWidth] = value == null ? "" : value; + } + get [S$0._borderTopWidth]() { + return this.borderTopWidth; + } + set [S$0._borderTopWidth](value) { + this.borderTopWidth = value; + } + get [S$0.$borderWidth]() { + return this[S$0._borderWidth]; + } + set [S$0.$borderWidth](value) { + this[S$0._borderWidth] = value == null ? "" : value; + } + get [S$0._borderWidth]() { + return this.borderWidth; + } + set [S$0._borderWidth](value) { + this.borderWidth = value; + } + get [$bottom]() { + return this[S$0._bottom]; + } + set [$bottom](value) { + this[S$0._bottom] = value == null ? "" : value; + } + get [S$0._bottom]() { + return this.bottom; + } + set [S$0._bottom](value) { + this.bottom = value; + } + get [S$0.$captionSide]() { + return this[S$0._captionSide]; + } + set [S$0.$captionSide](value) { + this[S$0._captionSide] = value == null ? "" : value; + } + get [S$0._captionSide]() { + return this.captionSide; + } + set [S$0._captionSide](value) { + this.captionSide = value; + } + get [$clear]() { + return this[S$0._clear$3]; + } + set [$clear](value) { + this[S$0._clear$3] = value == null ? "" : value; + } + get [S$0._clear$3]() { + return this.clear; + } + set [S$0._clear$3](value) { + this.clear = value; + } + get [S$.$clip]() { + return this[S$0._clip]; + } + set [S$.$clip](value) { + this[S$0._clip] = value == null ? "" : value; + } + get [S$0._clip]() { + return this.clip; + } + set [S$0._clip](value) { + this.clip = value; + } + get [S$0.$color]() { + return this[S$0._color]; + } + set [S$0.$color](value) { + this[S$0._color] = value == null ? "" : value; + } + get [S$0._color]() { + return this.color; + } + set [S$0._color](value) { + this.color = value; + } + get [S$0.$content]() { + return this[S$0._content]; + } + set [S$0.$content](value) { + this[S$0._content] = value == null ? "" : value; + } + get [S$0._content]() { + return this.content; + } + set [S$0._content](value) { + this.content = value; + } + get [S$0.$cursor]() { + return this[S$0._cursor]; + } + set [S$0.$cursor](value) { + this[S$0._cursor] = value == null ? "" : value; + } + get [S$0._cursor]() { + return this.cursor; + } + set [S$0._cursor](value) { + this.cursor = value; + } + get [S.$direction]() { + return this[S$0._direction]; + } + set [S.$direction](value) { + this[S$0._direction] = value == null ? "" : value; + } + get [S$0._direction]() { + return this.direction; + } + set [S$0._direction](value) { + this.direction = value; + } + get [S$0.$display]() { + return this[S$0._display]; + } + set [S$0.$display](value) { + this[S$0._display] = value == null ? "" : value; + } + get [S$0._display]() { + return this.display; + } + set [S$0._display](value) { + this.display = value; + } + get [S$0.$emptyCells]() { + return this[S$0._emptyCells]; + } + set [S$0.$emptyCells](value) { + this[S$0._emptyCells] = value == null ? "" : value; + } + get [S$0._emptyCells]() { + return this.emptyCells; + } + set [S$0._emptyCells](value) { + this.emptyCells = value; + } + get [S$.$font]() { + return this[S$0._font]; + } + set [S$.$font](value) { + this[S$0._font] = value == null ? "" : value; + } + get [S$0._font]() { + return this.font; + } + set [S$0._font](value) { + this.font = value; + } + get [S$0.$fontFamily]() { + return this[S$0._fontFamily]; + } + set [S$0.$fontFamily](value) { + this[S$0._fontFamily] = value == null ? "" : value; + } + get [S$0._fontFamily]() { + return this.fontFamily; + } + set [S$0._fontFamily](value) { + this.fontFamily = value; + } + get [S$0.$fontSize]() { + return this[S$0._fontSize]; + } + set [S$0.$fontSize](value) { + this[S$0._fontSize] = value == null ? "" : value; + } + get [S$0._fontSize]() { + return this.fontSize; + } + set [S$0._fontSize](value) { + this.fontSize = value; + } + get [S$0.$fontStyle]() { + return this[S$0._fontStyle]; + } + set [S$0.$fontStyle](value) { + this[S$0._fontStyle] = value == null ? "" : value; + } + get [S$0._fontStyle]() { + return this.fontStyle; + } + set [S$0._fontStyle](value) { + this.fontStyle = value; + } + get [S$0.$fontVariant]() { + return this[S$0._fontVariant]; + } + set [S$0.$fontVariant](value) { + this[S$0._fontVariant] = value == null ? "" : value; + } + get [S$0._fontVariant]() { + return this.fontVariant; + } + set [S$0._fontVariant](value) { + this.fontVariant = value; + } + get [S$0.$fontWeight]() { + return this[S$0._fontWeight]; + } + set [S$0.$fontWeight](value) { + this[S$0._fontWeight] = value == null ? "" : value; + } + get [S$0._fontWeight]() { + return this.fontWeight; + } + set [S$0._fontWeight](value) { + this.fontWeight = value; + } + get [$height]() { + return this[S$0._height$1]; + } + set [$height](value) { + this[S$0._height$1] = value == null ? "" : value; + } + get [S$0._height$1]() { + return this.height; + } + set [S$0._height$1](value) { + this.height = value; + } + get [$left]() { + return this[S$0._left$2]; + } + set [$left](value) { + this[S$0._left$2] = value == null ? "" : value; + } + get [S$0._left$2]() { + return this.left; + } + set [S$0._left$2](value) { + this.left = value; + } + get [S$0.$letterSpacing]() { + return this[S$0._letterSpacing]; + } + set [S$0.$letterSpacing](value) { + this[S$0._letterSpacing] = value == null ? "" : value; + } + get [S$0._letterSpacing]() { + return this.letterSpacing; + } + set [S$0._letterSpacing](value) { + this.letterSpacing = value; + } + get [S$0.$lineHeight]() { + return this[S$0._lineHeight]; + } + set [S$0.$lineHeight](value) { + this[S$0._lineHeight] = value == null ? "" : value; + } + get [S$0._lineHeight]() { + return this.lineHeight; + } + set [S$0._lineHeight](value) { + this.lineHeight = value; + } + get [S$0.$listStyle]() { + return this[S$0._listStyle]; + } + set [S$0.$listStyle](value) { + this[S$0._listStyle] = value == null ? "" : value; + } + get [S$0._listStyle]() { + return this.listStyle; + } + set [S$0._listStyle](value) { + this.listStyle = value; + } + get [S$0.$listStyleImage]() { + return this[S$0._listStyleImage]; + } + set [S$0.$listStyleImage](value) { + this[S$0._listStyleImage] = value == null ? "" : value; + } + get [S$0._listStyleImage]() { + return this.listStyleImage; + } + set [S$0._listStyleImage](value) { + this.listStyleImage = value; + } + get [S$0.$listStylePosition]() { + return this[S$0._listStylePosition]; + } + set [S$0.$listStylePosition](value) { + this[S$0._listStylePosition] = value == null ? "" : value; + } + get [S$0._listStylePosition]() { + return this.listStylePosition; + } + set [S$0._listStylePosition](value) { + this.listStylePosition = value; + } + get [S$0.$listStyleType]() { + return this[S$0._listStyleType]; + } + set [S$0.$listStyleType](value) { + this[S$0._listStyleType] = value == null ? "" : value; + } + get [S$0._listStyleType]() { + return this.listStyleType; + } + set [S$0._listStyleType](value) { + this.listStyleType = value; + } + get [S$0.$margin]() { + return this[S$0._margin]; + } + set [S$0.$margin](value) { + this[S$0._margin] = value == null ? "" : value; + } + get [S$0._margin]() { + return this.margin; + } + set [S$0._margin](value) { + this.margin = value; + } + get [S$0.$marginBottom]() { + return this[S$0._marginBottom]; + } + set [S$0.$marginBottom](value) { + this[S$0._marginBottom] = value == null ? "" : value; + } + get [S$0._marginBottom]() { + return this.marginBottom; + } + set [S$0._marginBottom](value) { + this.marginBottom = value; + } + get [S$0.$marginLeft]() { + return this[S$0._marginLeft]; + } + set [S$0.$marginLeft](value) { + this[S$0._marginLeft] = value == null ? "" : value; + } + get [S$0._marginLeft]() { + return this.marginLeft; + } + set [S$0._marginLeft](value) { + this.marginLeft = value; + } + get [S$0.$marginRight]() { + return this[S$0._marginRight]; + } + set [S$0.$marginRight](value) { + this[S$0._marginRight] = value == null ? "" : value; + } + get [S$0._marginRight]() { + return this.marginRight; + } + set [S$0._marginRight](value) { + this.marginRight = value; + } + get [S$0.$marginTop]() { + return this[S$0._marginTop]; + } + set [S$0.$marginTop](value) { + this[S$0._marginTop] = value == null ? "" : value; + } + get [S$0._marginTop]() { + return this.marginTop; + } + set [S$0._marginTop](value) { + this.marginTop = value; + } + get [S$0.$maxHeight]() { + return this[S$0._maxHeight]; + } + set [S$0.$maxHeight](value) { + this[S$0._maxHeight] = value == null ? "" : value; + } + get [S$0._maxHeight]() { + return this.maxHeight; + } + set [S$0._maxHeight](value) { + this.maxHeight = value; + } + get [S$0.$maxWidth]() { + return this[S$0._maxWidth]; + } + set [S$0.$maxWidth](value) { + this[S$0._maxWidth] = value == null ? "" : value; + } + get [S$0._maxWidth]() { + return this.maxWidth; + } + set [S$0._maxWidth](value) { + this.maxWidth = value; + } + get [S$0.$minHeight]() { + return this[S$0._minHeight]; + } + set [S$0.$minHeight](value) { + this[S$0._minHeight] = value == null ? "" : value; + } + get [S$0._minHeight]() { + return this.minHeight; + } + set [S$0._minHeight](value) { + this.minHeight = value; + } + get [S$0.$minWidth]() { + return this[S$0._minWidth]; + } + set [S$0.$minWidth](value) { + this[S$0._minWidth] = value == null ? "" : value; + } + get [S$0._minWidth]() { + return this.minWidth; + } + set [S$0._minWidth](value) { + this.minWidth = value; + } + get [S$0.$outline]() { + return this[S$0._outline]; + } + set [S$0.$outline](value) { + this[S$0._outline] = value == null ? "" : value; + } + get [S$0._outline]() { + return this.outline; + } + set [S$0._outline](value) { + this.outline = value; + } + get [S$0.$outlineColor]() { + return this[S$0._outlineColor]; + } + set [S$0.$outlineColor](value) { + this[S$0._outlineColor] = value == null ? "" : value; + } + get [S$0._outlineColor]() { + return this.outlineColor; + } + set [S$0._outlineColor](value) { + this.outlineColor = value; + } + get [S$0.$outlineStyle]() { + return this[S$0._outlineStyle]; + } + set [S$0.$outlineStyle](value) { + this[S$0._outlineStyle] = value == null ? "" : value; + } + get [S$0._outlineStyle]() { + return this.outlineStyle; + } + set [S$0._outlineStyle](value) { + this.outlineStyle = value; + } + get [S$0.$outlineWidth]() { + return this[S$0._outlineWidth]; + } + set [S$0.$outlineWidth](value) { + this[S$0._outlineWidth] = value == null ? "" : value; + } + get [S$0._outlineWidth]() { + return this.outlineWidth; + } + set [S$0._outlineWidth](value) { + this.outlineWidth = value; + } + get [S$0.$overflow]() { + return this[S$0._overflow]; + } + set [S$0.$overflow](value) { + this[S$0._overflow] = value == null ? "" : value; + } + get [S$0._overflow]() { + return this.overflow; + } + set [S$0._overflow](value) { + this.overflow = value; + } + get [S$0.$padding]() { + return this[S$0._padding]; + } + set [S$0.$padding](value) { + this[S$0._padding] = value == null ? "" : value; + } + get [S$0._padding]() { + return this.padding; + } + set [S$0._padding](value) { + this.padding = value; + } + get [S$0.$paddingBottom]() { + return this[S$0._paddingBottom]; + } + set [S$0.$paddingBottom](value) { + this[S$0._paddingBottom] = value == null ? "" : value; + } + get [S$0._paddingBottom]() { + return this.paddingBottom; + } + set [S$0._paddingBottom](value) { + this.paddingBottom = value; + } + get [S$0.$paddingLeft]() { + return this[S$0._paddingLeft]; + } + set [S$0.$paddingLeft](value) { + this[S$0._paddingLeft] = value == null ? "" : value; + } + get [S$0._paddingLeft]() { + return this.paddingLeft; + } + set [S$0._paddingLeft](value) { + this.paddingLeft = value; + } + get [S$0.$paddingRight]() { + return this[S$0._paddingRight]; + } + set [S$0.$paddingRight](value) { + this[S$0._paddingRight] = value == null ? "" : value; + } + get [S$0._paddingRight]() { + return this.paddingRight; + } + set [S$0._paddingRight](value) { + this.paddingRight = value; + } + get [S$0.$paddingTop]() { + return this[S$0._paddingTop]; + } + set [S$0.$paddingTop](value) { + this[S$0._paddingTop] = value == null ? "" : value; + } + get [S$0._paddingTop]() { + return this.paddingTop; + } + set [S$0._paddingTop](value) { + this.paddingTop = value; + } + get [S$0.$pageBreakAfter]() { + return this[S$0._pageBreakAfter]; + } + set [S$0.$pageBreakAfter](value) { + this[S$0._pageBreakAfter] = value == null ? "" : value; + } + get [S$0._pageBreakAfter]() { + return this.pageBreakAfter; + } + set [S$0._pageBreakAfter](value) { + this.pageBreakAfter = value; + } + get [S$0.$pageBreakBefore]() { + return this[S$0._pageBreakBefore]; + } + set [S$0.$pageBreakBefore](value) { + this[S$0._pageBreakBefore] = value == null ? "" : value; + } + get [S$0._pageBreakBefore]() { + return this.pageBreakBefore; + } + set [S$0._pageBreakBefore](value) { + this.pageBreakBefore = value; + } + get [S$0.$pageBreakInside]() { + return this[S$0._pageBreakInside]; + } + set [S$0.$pageBreakInside](value) { + this[S$0._pageBreakInside] = value == null ? "" : value; + } + get [S$0._pageBreakInside]() { + return this.pageBreakInside; + } + set [S$0._pageBreakInside](value) { + this.pageBreakInside = value; + } + get [S$0.$position]() { + return this[S$0._position$2]; + } + set [S$0.$position](value) { + this[S$0._position$2] = value == null ? "" : value; + } + get [S$0._position$2]() { + return this.position; + } + set [S$0._position$2](value) { + this.position = value; + } + get [S$0.$quotes]() { + return this[S$0._quotes]; + } + set [S$0.$quotes](value) { + this[S$0._quotes] = value == null ? "" : value; + } + get [S$0._quotes]() { + return this.quotes; + } + set [S$0._quotes](value) { + this.quotes = value; + } + get [$right]() { + return this[S$0._right$2]; + } + set [$right](value) { + this[S$0._right$2] = value == null ? "" : value; + } + get [S$0._right$2]() { + return this.right; + } + set [S$0._right$2](value) { + this.right = value; + } + get [S$0.$tableLayout]() { + return this[S$0._tableLayout]; + } + set [S$0.$tableLayout](value) { + this[S$0._tableLayout] = value == null ? "" : value; + } + get [S$0._tableLayout]() { + return this.tableLayout; + } + set [S$0._tableLayout](value) { + this.tableLayout = value; + } + get [S$.$textAlign]() { + return this[S$0._textAlign]; + } + set [S$.$textAlign](value) { + this[S$0._textAlign] = value == null ? "" : value; + } + get [S$0._textAlign]() { + return this.textAlign; + } + set [S$0._textAlign](value) { + this.textAlign = value; + } + get [S$0.$textDecoration]() { + return this[S$0._textDecoration]; + } + set [S$0.$textDecoration](value) { + this[S$0._textDecoration] = value == null ? "" : value; + } + get [S$0._textDecoration]() { + return this.textDecoration; + } + set [S$0._textDecoration](value) { + this.textDecoration = value; + } + get [S$0.$textIndent]() { + return this[S$0._textIndent]; + } + set [S$0.$textIndent](value) { + this[S$0._textIndent] = value == null ? "" : value; + } + get [S$0._textIndent]() { + return this.textIndent; + } + set [S$0._textIndent](value) { + this.textIndent = value; + } + get [S$0.$textTransform]() { + return this[S$0._textTransform]; + } + set [S$0.$textTransform](value) { + this[S$0._textTransform] = value == null ? "" : value; + } + get [S$0._textTransform]() { + return this.textTransform; + } + set [S$0._textTransform](value) { + this.textTransform = value; + } + get [$top]() { + return this[S$0._top]; + } + set [$top](value) { + this[S$0._top] = value == null ? "" : value; + } + get [S$0._top]() { + return this.top; + } + set [S$0._top](value) { + this.top = value; + } + get [S$0.$unicodeBidi]() { + return this[S$0._unicodeBidi]; + } + set [S$0.$unicodeBidi](value) { + this[S$0._unicodeBidi] = value == null ? "" : value; + } + get [S$0._unicodeBidi]() { + return this.unicodeBidi; + } + set [S$0._unicodeBidi](value) { + this.unicodeBidi = value; + } + get [S$0.$verticalAlign]() { + return this[S$0._verticalAlign]; + } + set [S$0.$verticalAlign](value) { + this[S$0._verticalAlign] = value == null ? "" : value; + } + get [S$0._verticalAlign]() { + return this.verticalAlign; + } + set [S$0._verticalAlign](value) { + this.verticalAlign = value; + } + get [S$0.$visibility]() { + return this[S$0._visibility]; + } + set [S$0.$visibility](value) { + this[S$0._visibility] = value == null ? "" : value; + } + get [S$0._visibility]() { + return this.visibility; + } + set [S$0._visibility](value) { + this.visibility = value; + } + get [S$0.$whiteSpace]() { + return this[S$0._whiteSpace]; + } + set [S$0.$whiteSpace](value) { + this[S$0._whiteSpace] = value == null ? "" : value; + } + get [S$0._whiteSpace]() { + return this.whiteSpace; + } + set [S$0._whiteSpace](value) { + this.whiteSpace = value; + } + get [$width]() { + return this[S$0._width$1]; + } + set [$width](value) { + this[S$0._width$1] = value == null ? "" : value; + } + get [S$0._width$1]() { + return this.width; + } + set [S$0._width$1](value) { + this.width = value; + } + get [S$0.$wordSpacing]() { + return this[S$0._wordSpacing]; + } + set [S$0.$wordSpacing](value) { + this[S$0._wordSpacing] = value == null ? "" : value; + } + get [S$0._wordSpacing]() { + return this.wordSpacing; + } + set [S$0._wordSpacing](value) { + this.wordSpacing = value; + } + get [S$0.$zIndex]() { + return this[S$0._zIndex]; + } + set [S$0.$zIndex](value) { + this[S$0._zIndex] = value == null ? "" : value; + } + get [S$0._zIndex]() { + return this.zIndex; + } + set [S$0._zIndex](value) { + this.zIndex = value; + } +}; +dart.addTypeTests(html$.CssStyleDeclaration); +dart.addTypeCaches(html$.CssStyleDeclaration); +dart.setMethodSignature(html$.CssStyleDeclaration, () => ({ + __proto__: dart.getMethods(html$.CssStyleDeclaration.__proto__), + [S$.$getPropertyValue]: dart.fnType(core.String, [core.String]), + [S$._getPropertyValueHelper]: dart.fnType(core.String, [core.String]), + [S$.$supportsProperty]: dart.fnType(core.bool, [core.String]), + [S$._supportsProperty]: dart.fnType(core.bool, [core.String]), + [S$.$setProperty]: dart.fnType(dart.void, [core.String, dart.nullable(core.String)], [dart.nullable(core.String)]), + [S$._browserPropertyName]: dart.fnType(core.String, [core.String]), + [S$._supportedBrowserPropertyName]: dart.fnType(core.String, [core.String]), + [S$._setPropertyHelper]: dart.fnType(dart.void, [core.String, dart.nullable(core.String)], [dart.nullable(core.String)]), + [S$.$getPropertyPriority]: dart.fnType(core.String, [core.String]), + [S$._getPropertyValue]: dart.fnType(core.String, [core.String]), + [S$.$item]: dart.fnType(core.String, [core.int]), + [S$.$removeProperty]: dart.fnType(core.String, [core.String]) +})); +dart.setGetterSignature(html$.CssStyleDeclaration, () => ({ + __proto__: dart.getGetters(html$.CssStyleDeclaration.__proto__), + [S$.$cssFloat]: dart.nullable(core.String), + [S$.$cssText]: dart.nullable(core.String), + [$length]: core.int, + [S$.$parentRule]: dart.nullable(html$.CssRule), + [S$._background]: core.String, + [S$._backgroundAttachment]: core.String, + [S$._backgroundColor]: core.String, + [S$._backgroundImage]: core.String, + [S$._backgroundPosition]: core.String, + [S$._backgroundRepeat]: core.String, + [S$._border]: core.String, + [S$._borderBottom]: core.String, + [S$._borderBottomColor]: core.String, + [S$._borderBottomStyle]: core.String, + [S$._borderBottomWidth]: core.String, + [S$._borderCollapse]: core.String, + [S$._borderColor]: core.String, + [S$._borderLeft]: core.String, + [S$._borderLeftColor]: core.String, + [S$._borderLeftStyle]: core.String, + [S$._borderLeftWidth]: core.String, + [S$._borderRight]: core.String, + [S$._borderRightColor]: core.String, + [S$._borderRightStyle]: core.String, + [S$._borderRightWidth]: core.String, + [S$0._borderSpacing]: core.String, + [S$0._borderStyle]: core.String, + [S$0._borderTop]: core.String, + [S$0._borderTopColor]: core.String, + [S$0._borderTopStyle]: core.String, + [S$0._borderTopWidth]: core.String, + [S$0._borderWidth]: core.String, + [S$0._bottom]: core.String, + [S$0._captionSide]: core.String, + [S$0._clear$3]: core.String, + [S$0._clip]: core.String, + [S$0._color]: core.String, + [S$0._content]: core.String, + [S$0._cursor]: core.String, + [S$0._direction]: core.String, + [S$0._display]: core.String, + [S$0._emptyCells]: core.String, + [S$0._font]: core.String, + [S$0._fontFamily]: core.String, + [S$0._fontSize]: core.String, + [S$0._fontStyle]: core.String, + [S$0._fontVariant]: core.String, + [S$0._fontWeight]: core.String, + [S$0._height$1]: core.String, + [S$0._left$2]: core.String, + [S$0._letterSpacing]: core.String, + [S$0._lineHeight]: core.String, + [S$0._listStyle]: core.String, + [S$0._listStyleImage]: core.String, + [S$0._listStylePosition]: core.String, + [S$0._listStyleType]: core.String, + [S$0._margin]: core.String, + [S$0._marginBottom]: core.String, + [S$0._marginLeft]: core.String, + [S$0._marginRight]: core.String, + [S$0._marginTop]: core.String, + [S$0._maxHeight]: core.String, + [S$0._maxWidth]: core.String, + [S$0._minHeight]: core.String, + [S$0._minWidth]: core.String, + [S$0._outline]: core.String, + [S$0._outlineColor]: core.String, + [S$0._outlineStyle]: core.String, + [S$0._outlineWidth]: core.String, + [S$0._overflow]: core.String, + [S$0._padding]: core.String, + [S$0._paddingBottom]: core.String, + [S$0._paddingLeft]: core.String, + [S$0._paddingRight]: core.String, + [S$0._paddingTop]: core.String, + [S$0._pageBreakAfter]: core.String, + [S$0._pageBreakBefore]: core.String, + [S$0._pageBreakInside]: core.String, + [S$0._position$2]: core.String, + [S$0._quotes]: core.String, + [S$0._right$2]: core.String, + [S$0._tableLayout]: core.String, + [S$0._textAlign]: core.String, + [S$0._textDecoration]: core.String, + [S$0._textIndent]: core.String, + [S$0._textTransform]: core.String, + [S$0._top]: core.String, + [S$0._unicodeBidi]: core.String, + [S$0._verticalAlign]: core.String, + [S$0._visibility]: core.String, + [S$0._whiteSpace]: core.String, + [S$0._width$1]: core.String, + [S$0._wordSpacing]: core.String, + [S$0._zIndex]: core.String +})); +dart.setSetterSignature(html$.CssStyleDeclaration, () => ({ + __proto__: dart.getSetters(html$.CssStyleDeclaration.__proto__), + [S$.$cssFloat]: dart.nullable(core.String), + [S$.$cssText]: dart.nullable(core.String), + [S$.$background]: dart.nullable(core.String), + [S$._background]: core.String, + [S$.$backgroundAttachment]: dart.nullable(core.String), + [S$._backgroundAttachment]: core.String, + [S$.$backgroundColor]: dart.nullable(core.String), + [S$._backgroundColor]: core.String, + [S$.$backgroundImage]: dart.nullable(core.String), + [S$._backgroundImage]: core.String, + [S$.$backgroundPosition]: dart.nullable(core.String), + [S$._backgroundPosition]: core.String, + [S$.$backgroundRepeat]: dart.nullable(core.String), + [S$._backgroundRepeat]: core.String, + [S$.$border]: dart.nullable(core.String), + [S$._border]: core.String, + [S$.$borderBottom]: dart.nullable(core.String), + [S$._borderBottom]: core.String, + [S$.$borderBottomColor]: dart.nullable(core.String), + [S$._borderBottomColor]: core.String, + [S$.$borderBottomStyle]: dart.nullable(core.String), + [S$._borderBottomStyle]: core.String, + [S$.$borderBottomWidth]: dart.nullable(core.String), + [S$._borderBottomWidth]: core.String, + [S$.$borderCollapse]: dart.nullable(core.String), + [S$._borderCollapse]: core.String, + [S$.$borderColor]: dart.nullable(core.String), + [S$._borderColor]: core.String, + [S$.$borderLeft]: dart.nullable(core.String), + [S$._borderLeft]: core.String, + [S$.$borderLeftColor]: dart.nullable(core.String), + [S$._borderLeftColor]: core.String, + [S$.$borderLeftStyle]: dart.nullable(core.String), + [S$._borderLeftStyle]: core.String, + [S$.$borderLeftWidth]: dart.nullable(core.String), + [S$._borderLeftWidth]: core.String, + [S$.$borderRight]: dart.nullable(core.String), + [S$._borderRight]: core.String, + [S$.$borderRightColor]: dart.nullable(core.String), + [S$._borderRightColor]: core.String, + [S$.$borderRightStyle]: dart.nullable(core.String), + [S$._borderRightStyle]: core.String, + [S$0.$borderRightWidth]: dart.nullable(core.String), + [S$._borderRightWidth]: core.String, + [S$0.$borderSpacing]: dart.nullable(core.String), + [S$0._borderSpacing]: core.String, + [S$0.$borderStyle]: dart.nullable(core.String), + [S$0._borderStyle]: core.String, + [S$0.$borderTop]: dart.nullable(core.String), + [S$0._borderTop]: core.String, + [S$0.$borderTopColor]: dart.nullable(core.String), + [S$0._borderTopColor]: core.String, + [S$0.$borderTopStyle]: dart.nullable(core.String), + [S$0._borderTopStyle]: core.String, + [S$0.$borderTopWidth]: dart.nullable(core.String), + [S$0._borderTopWidth]: core.String, + [S$0.$borderWidth]: dart.nullable(core.String), + [S$0._borderWidth]: core.String, + [$bottom]: dart.nullable(core.String), + [S$0._bottom]: core.String, + [S$0.$captionSide]: dart.nullable(core.String), + [S$0._captionSide]: core.String, + [$clear]: dart.nullable(core.String), + [S$0._clear$3]: core.String, + [S$.$clip]: dart.nullable(core.String), + [S$0._clip]: core.String, + [S$0.$color]: dart.nullable(core.String), + [S$0._color]: core.String, + [S$0.$content]: dart.nullable(core.String), + [S$0._content]: core.String, + [S$0.$cursor]: dart.nullable(core.String), + [S$0._cursor]: core.String, + [S.$direction]: dart.nullable(core.String), + [S$0._direction]: core.String, + [S$0.$display]: dart.nullable(core.String), + [S$0._display]: core.String, + [S$0.$emptyCells]: dart.nullable(core.String), + [S$0._emptyCells]: core.String, + [S$.$font]: dart.nullable(core.String), + [S$0._font]: core.String, + [S$0.$fontFamily]: dart.nullable(core.String), + [S$0._fontFamily]: core.String, + [S$0.$fontSize]: dart.nullable(core.String), + [S$0._fontSize]: core.String, + [S$0.$fontStyle]: dart.nullable(core.String), + [S$0._fontStyle]: core.String, + [S$0.$fontVariant]: dart.nullable(core.String), + [S$0._fontVariant]: core.String, + [S$0.$fontWeight]: dart.nullable(core.String), + [S$0._fontWeight]: core.String, + [$height]: dart.nullable(core.String), + [S$0._height$1]: core.String, + [$left]: dart.nullable(core.String), + [S$0._left$2]: core.String, + [S$0.$letterSpacing]: dart.nullable(core.String), + [S$0._letterSpacing]: core.String, + [S$0.$lineHeight]: dart.nullable(core.String), + [S$0._lineHeight]: core.String, + [S$0.$listStyle]: dart.nullable(core.String), + [S$0._listStyle]: core.String, + [S$0.$listStyleImage]: dart.nullable(core.String), + [S$0._listStyleImage]: core.String, + [S$0.$listStylePosition]: dart.nullable(core.String), + [S$0._listStylePosition]: core.String, + [S$0.$listStyleType]: dart.nullable(core.String), + [S$0._listStyleType]: core.String, + [S$0.$margin]: dart.nullable(core.String), + [S$0._margin]: core.String, + [S$0.$marginBottom]: dart.nullable(core.String), + [S$0._marginBottom]: core.String, + [S$0.$marginLeft]: dart.nullable(core.String), + [S$0._marginLeft]: core.String, + [S$0.$marginRight]: dart.nullable(core.String), + [S$0._marginRight]: core.String, + [S$0.$marginTop]: dart.nullable(core.String), + [S$0._marginTop]: core.String, + [S$0.$maxHeight]: dart.nullable(core.String), + [S$0._maxHeight]: core.String, + [S$0.$maxWidth]: dart.nullable(core.String), + [S$0._maxWidth]: core.String, + [S$0.$minHeight]: dart.nullable(core.String), + [S$0._minHeight]: core.String, + [S$0.$minWidth]: dart.nullable(core.String), + [S$0._minWidth]: core.String, + [S$0.$outline]: dart.nullable(core.String), + [S$0._outline]: core.String, + [S$0.$outlineColor]: dart.nullable(core.String), + [S$0._outlineColor]: core.String, + [S$0.$outlineStyle]: dart.nullable(core.String), + [S$0._outlineStyle]: core.String, + [S$0.$outlineWidth]: dart.nullable(core.String), + [S$0._outlineWidth]: core.String, + [S$0.$overflow]: dart.nullable(core.String), + [S$0._overflow]: core.String, + [S$0.$padding]: dart.nullable(core.String), + [S$0._padding]: core.String, + [S$0.$paddingBottom]: dart.nullable(core.String), + [S$0._paddingBottom]: core.String, + [S$0.$paddingLeft]: dart.nullable(core.String), + [S$0._paddingLeft]: core.String, + [S$0.$paddingRight]: dart.nullable(core.String), + [S$0._paddingRight]: core.String, + [S$0.$paddingTop]: dart.nullable(core.String), + [S$0._paddingTop]: core.String, + [S$0.$pageBreakAfter]: dart.nullable(core.String), + [S$0._pageBreakAfter]: core.String, + [S$0.$pageBreakBefore]: dart.nullable(core.String), + [S$0._pageBreakBefore]: core.String, + [S$0.$pageBreakInside]: dart.nullable(core.String), + [S$0._pageBreakInside]: core.String, + [S$0.$position]: dart.nullable(core.String), + [S$0._position$2]: core.String, + [S$0.$quotes]: dart.nullable(core.String), + [S$0._quotes]: core.String, + [$right]: dart.nullable(core.String), + [S$0._right$2]: core.String, + [S$0.$tableLayout]: dart.nullable(core.String), + [S$0._tableLayout]: core.String, + [S$.$textAlign]: dart.nullable(core.String), + [S$0._textAlign]: core.String, + [S$0.$textDecoration]: dart.nullable(core.String), + [S$0._textDecoration]: core.String, + [S$0.$textIndent]: dart.nullable(core.String), + [S$0._textIndent]: core.String, + [S$0.$textTransform]: dart.nullable(core.String), + [S$0._textTransform]: core.String, + [$top]: dart.nullable(core.String), + [S$0._top]: core.String, + [S$0.$unicodeBidi]: dart.nullable(core.String), + [S$0._unicodeBidi]: core.String, + [S$0.$verticalAlign]: dart.nullable(core.String), + [S$0._verticalAlign]: core.String, + [S$0.$visibility]: dart.nullable(core.String), + [S$0._visibility]: core.String, + [S$0.$whiteSpace]: dart.nullable(core.String), + [S$0._whiteSpace]: core.String, + [$width]: dart.nullable(core.String), + [S$0._width$1]: core.String, + [S$0.$wordSpacing]: dart.nullable(core.String), + [S$0._wordSpacing]: core.String, + [S$0.$zIndex]: dart.nullable(core.String), + [S$0._zIndex]: core.String +})); +dart.setLibraryUri(html$.CssStyleDeclaration, I[148]); +dart.defineLazy(html$.CssStyleDeclaration, { + /*html$.CssStyleDeclaration._propertyCache*/get _propertyCache() { + return {}; + } +}, false); +dart.registerExtension("CSSStyleDeclaration", html$.CssStyleDeclaration); +dart.registerExtension("MSStyleCSSProperties", html$.CssStyleDeclaration); +dart.registerExtension("CSS2Properties", html$.CssStyleDeclaration); +const Object_CssStyleDeclarationBase$36 = class Object_CssStyleDeclarationBase extends core.Object {}; +(Object_CssStyleDeclarationBase$36.new = function() { +}).prototype = Object_CssStyleDeclarationBase$36.prototype; +dart.applyMixin(Object_CssStyleDeclarationBase$36, html$.CssStyleDeclarationBase); +html$._CssStyleDeclarationSet = class _CssStyleDeclarationSet extends Object_CssStyleDeclarationBase$36 { + getPropertyValue(propertyName) { + if (propertyName == null) dart.nullFailed(I[147], 5440, 34, "propertyName"); + return dart.nullCheck(this[S$0._elementCssStyleDeclarationSetIterable])[$first][S$.$getPropertyValue](propertyName); + } + setProperty(propertyName, value, priority = null) { + if (propertyName == null) dart.nullFailed(I[147], 5444, 27, "propertyName"); + dart.nullCheck(this[S$0._elementCssStyleDeclarationSetIterable])[$forEach](dart.fn(e => { + if (e == null) dart.nullFailed(I[147], 5446, 19, "e"); + return e[S$.$setProperty](propertyName, value, priority); + }, T$0.CssStyleDeclarationTovoid())); + } + [S$0._setAll](propertyName, value) { + if (propertyName == null) dart.nullFailed(I[147], 5449, 23, "propertyName"); + value = value == null ? "" : value; + for (let element of this[S$0._elementIterable]) { + element.style[propertyName] = value; + } + } + set background(value) { + if (value == null) dart.nullFailed(I[147], 5457, 25, "value"); + this[S$0._setAll]("background", value); + } + get background() { + return super.background; + } + set backgroundAttachment(value) { + if (value == null) dart.nullFailed(I[147], 5462, 35, "value"); + this[S$0._setAll]("backgroundAttachment", value); + } + get backgroundAttachment() { + return super.backgroundAttachment; + } + set backgroundColor(value) { + if (value == null) dart.nullFailed(I[147], 5467, 30, "value"); + this[S$0._setAll]("backgroundColor", value); + } + get backgroundColor() { + return super.backgroundColor; + } + set backgroundImage(value) { + if (value == null) dart.nullFailed(I[147], 5472, 30, "value"); + this[S$0._setAll]("backgroundImage", value); + } + get backgroundImage() { + return super.backgroundImage; + } + set backgroundPosition(value) { + if (value == null) dart.nullFailed(I[147], 5477, 33, "value"); + this[S$0._setAll]("backgroundPosition", value); + } + get backgroundPosition() { + return super.backgroundPosition; + } + set backgroundRepeat(value) { + if (value == null) dart.nullFailed(I[147], 5482, 31, "value"); + this[S$0._setAll]("backgroundRepeat", value); + } + get backgroundRepeat() { + return super.backgroundRepeat; + } + set border(value) { + if (value == null) dart.nullFailed(I[147], 5487, 21, "value"); + this[S$0._setAll]("border", value); + } + get border() { + return super.border; + } + set borderBottom(value) { + if (value == null) dart.nullFailed(I[147], 5492, 27, "value"); + this[S$0._setAll]("borderBottom", value); + } + get borderBottom() { + return super.borderBottom; + } + set borderBottomColor(value) { + if (value == null) dart.nullFailed(I[147], 5497, 32, "value"); + this[S$0._setAll]("borderBottomColor", value); + } + get borderBottomColor() { + return super.borderBottomColor; + } + set borderBottomStyle(value) { + if (value == null) dart.nullFailed(I[147], 5502, 32, "value"); + this[S$0._setAll]("borderBottomStyle", value); + } + get borderBottomStyle() { + return super.borderBottomStyle; + } + set borderBottomWidth(value) { + if (value == null) dart.nullFailed(I[147], 5507, 32, "value"); + this[S$0._setAll]("borderBottomWidth", value); + } + get borderBottomWidth() { + return super.borderBottomWidth; + } + set borderCollapse(value) { + if (value == null) dart.nullFailed(I[147], 5512, 29, "value"); + this[S$0._setAll]("borderCollapse", value); + } + get borderCollapse() { + return super.borderCollapse; + } + set borderColor(value) { + if (value == null) dart.nullFailed(I[147], 5517, 26, "value"); + this[S$0._setAll]("borderColor", value); + } + get borderColor() { + return super.borderColor; + } + set borderLeft(value) { + if (value == null) dart.nullFailed(I[147], 5522, 25, "value"); + this[S$0._setAll]("borderLeft", value); + } + get borderLeft() { + return super.borderLeft; + } + set borderLeftColor(value) { + if (value == null) dart.nullFailed(I[147], 5527, 30, "value"); + this[S$0._setAll]("borderLeftColor", value); + } + get borderLeftColor() { + return super.borderLeftColor; + } + set borderLeftStyle(value) { + if (value == null) dart.nullFailed(I[147], 5532, 30, "value"); + this[S$0._setAll]("borderLeftStyle", value); + } + get borderLeftStyle() { + return super.borderLeftStyle; + } + set borderLeftWidth(value) { + if (value == null) dart.nullFailed(I[147], 5537, 30, "value"); + this[S$0._setAll]("borderLeftWidth", value); + } + get borderLeftWidth() { + return super.borderLeftWidth; + } + set borderRight(value) { + if (value == null) dart.nullFailed(I[147], 5542, 26, "value"); + this[S$0._setAll]("borderRight", value); + } + get borderRight() { + return super.borderRight; + } + set borderRightColor(value) { + if (value == null) dart.nullFailed(I[147], 5547, 31, "value"); + this[S$0._setAll]("borderRightColor", value); + } + get borderRightColor() { + return super.borderRightColor; + } + set borderRightStyle(value) { + if (value == null) dart.nullFailed(I[147], 5552, 31, "value"); + this[S$0._setAll]("borderRightStyle", value); + } + get borderRightStyle() { + return super.borderRightStyle; + } + set borderRightWidth(value) { + if (value == null) dart.nullFailed(I[147], 5557, 31, "value"); + this[S$0._setAll]("borderRightWidth", value); + } + get borderRightWidth() { + return super.borderRightWidth; + } + set borderSpacing(value) { + if (value == null) dart.nullFailed(I[147], 5562, 28, "value"); + this[S$0._setAll]("borderSpacing", value); + } + get borderSpacing() { + return super.borderSpacing; + } + set borderStyle(value) { + if (value == null) dart.nullFailed(I[147], 5567, 26, "value"); + this[S$0._setAll]("borderStyle", value); + } + get borderStyle() { + return super.borderStyle; + } + set borderTop(value) { + if (value == null) dart.nullFailed(I[147], 5572, 24, "value"); + this[S$0._setAll]("borderTop", value); + } + get borderTop() { + return super.borderTop; + } + set borderTopColor(value) { + if (value == null) dart.nullFailed(I[147], 5577, 29, "value"); + this[S$0._setAll]("borderTopColor", value); + } + get borderTopColor() { + return super.borderTopColor; + } + set borderTopStyle(value) { + if (value == null) dart.nullFailed(I[147], 5582, 29, "value"); + this[S$0._setAll]("borderTopStyle", value); + } + get borderTopStyle() { + return super.borderTopStyle; + } + set borderTopWidth(value) { + if (value == null) dart.nullFailed(I[147], 5587, 29, "value"); + this[S$0._setAll]("borderTopWidth", value); + } + get borderTopWidth() { + return super.borderTopWidth; + } + set borderWidth(value) { + if (value == null) dart.nullFailed(I[147], 5592, 26, "value"); + this[S$0._setAll]("borderWidth", value); + } + get borderWidth() { + return super.borderWidth; + } + set bottom(value) { + if (value == null) dart.nullFailed(I[147], 5597, 21, "value"); + this[S$0._setAll]("bottom", value); + } + get bottom() { + return super.bottom; + } + set captionSide(value) { + if (value == null) dart.nullFailed(I[147], 5602, 26, "value"); + this[S$0._setAll]("captionSide", value); + } + get captionSide() { + return super.captionSide; + } + set clear(value) { + if (value == null) dart.nullFailed(I[147], 5607, 20, "value"); + this[S$0._setAll]("clear", value); + } + get clear() { + return super.clear; + } + set clip(value) { + if (value == null) dart.nullFailed(I[147], 5612, 19, "value"); + this[S$0._setAll]("clip", value); + } + get clip() { + return super.clip; + } + set color(value) { + if (value == null) dart.nullFailed(I[147], 5617, 20, "value"); + this[S$0._setAll]("color", value); + } + get color() { + return super.color; + } + set content(value) { + if (value == null) dart.nullFailed(I[147], 5622, 22, "value"); + this[S$0._setAll]("content", value); + } + get content() { + return super.content; + } + set cursor(value) { + if (value == null) dart.nullFailed(I[147], 5627, 21, "value"); + this[S$0._setAll]("cursor", value); + } + get cursor() { + return super.cursor; + } + set direction(value) { + if (value == null) dart.nullFailed(I[147], 5632, 24, "value"); + this[S$0._setAll]("direction", value); + } + get direction() { + return super.direction; + } + set display(value) { + if (value == null) dart.nullFailed(I[147], 5637, 22, "value"); + this[S$0._setAll]("display", value); + } + get display() { + return super.display; + } + set emptyCells(value) { + if (value == null) dart.nullFailed(I[147], 5642, 25, "value"); + this[S$0._setAll]("emptyCells", value); + } + get emptyCells() { + return super.emptyCells; + } + set font(value) { + if (value == null) dart.nullFailed(I[147], 5647, 19, "value"); + this[S$0._setAll]("font", value); + } + get font() { + return super.font; + } + set fontFamily(value) { + if (value == null) dart.nullFailed(I[147], 5652, 25, "value"); + this[S$0._setAll]("fontFamily", value); + } + get fontFamily() { + return super.fontFamily; + } + set fontSize(value) { + if (value == null) dart.nullFailed(I[147], 5657, 23, "value"); + this[S$0._setAll]("fontSize", value); + } + get fontSize() { + return super.fontSize; + } + set fontStyle(value) { + if (value == null) dart.nullFailed(I[147], 5662, 24, "value"); + this[S$0._setAll]("fontStyle", value); + } + get fontStyle() { + return super.fontStyle; + } + set fontVariant(value) { + if (value == null) dart.nullFailed(I[147], 5667, 26, "value"); + this[S$0._setAll]("fontVariant", value); + } + get fontVariant() { + return super.fontVariant; + } + set fontWeight(value) { + if (value == null) dart.nullFailed(I[147], 5672, 25, "value"); + this[S$0._setAll]("fontWeight", value); + } + get fontWeight() { + return super.fontWeight; + } + set height(value) { + if (value == null) dart.nullFailed(I[147], 5677, 21, "value"); + this[S$0._setAll]("height", value); + } + get height() { + return super.height; + } + set left(value) { + if (value == null) dart.nullFailed(I[147], 5682, 19, "value"); + this[S$0._setAll]("left", value); + } + get left() { + return super.left; + } + set letterSpacing(value) { + if (value == null) dart.nullFailed(I[147], 5687, 28, "value"); + this[S$0._setAll]("letterSpacing", value); + } + get letterSpacing() { + return super.letterSpacing; + } + set lineHeight(value) { + if (value == null) dart.nullFailed(I[147], 5692, 25, "value"); + this[S$0._setAll]("lineHeight", value); + } + get lineHeight() { + return super.lineHeight; + } + set listStyle(value) { + if (value == null) dart.nullFailed(I[147], 5697, 24, "value"); + this[S$0._setAll]("listStyle", value); + } + get listStyle() { + return super.listStyle; + } + set listStyleImage(value) { + if (value == null) dart.nullFailed(I[147], 5702, 29, "value"); + this[S$0._setAll]("listStyleImage", value); + } + get listStyleImage() { + return super.listStyleImage; + } + set listStylePosition(value) { + if (value == null) dart.nullFailed(I[147], 5707, 32, "value"); + this[S$0._setAll]("listStylePosition", value); + } + get listStylePosition() { + return super.listStylePosition; + } + set listStyleType(value) { + if (value == null) dart.nullFailed(I[147], 5712, 28, "value"); + this[S$0._setAll]("listStyleType", value); + } + get listStyleType() { + return super.listStyleType; + } + set margin(value) { + if (value == null) dart.nullFailed(I[147], 5717, 21, "value"); + this[S$0._setAll]("margin", value); + } + get margin() { + return super.margin; + } + set marginBottom(value) { + if (value == null) dart.nullFailed(I[147], 5722, 27, "value"); + this[S$0._setAll]("marginBottom", value); + } + get marginBottom() { + return super.marginBottom; + } + set marginLeft(value) { + if (value == null) dart.nullFailed(I[147], 5727, 25, "value"); + this[S$0._setAll]("marginLeft", value); + } + get marginLeft() { + return super.marginLeft; + } + set marginRight(value) { + if (value == null) dart.nullFailed(I[147], 5732, 26, "value"); + this[S$0._setAll]("marginRight", value); + } + get marginRight() { + return super.marginRight; + } + set marginTop(value) { + if (value == null) dart.nullFailed(I[147], 5737, 24, "value"); + this[S$0._setAll]("marginTop", value); + } + get marginTop() { + return super.marginTop; + } + set maxHeight(value) { + if (value == null) dart.nullFailed(I[147], 5742, 24, "value"); + this[S$0._setAll]("maxHeight", value); + } + get maxHeight() { + return super.maxHeight; + } + set maxWidth(value) { + if (value == null) dart.nullFailed(I[147], 5747, 23, "value"); + this[S$0._setAll]("maxWidth", value); + } + get maxWidth() { + return super.maxWidth; + } + set minHeight(value) { + if (value == null) dart.nullFailed(I[147], 5752, 24, "value"); + this[S$0._setAll]("minHeight", value); + } + get minHeight() { + return super.minHeight; + } + set minWidth(value) { + if (value == null) dart.nullFailed(I[147], 5757, 23, "value"); + this[S$0._setAll]("minWidth", value); + } + get minWidth() { + return super.minWidth; + } + set outline(value) { + if (value == null) dart.nullFailed(I[147], 5762, 22, "value"); + this[S$0._setAll]("outline", value); + } + get outline() { + return super.outline; + } + set outlineColor(value) { + if (value == null) dart.nullFailed(I[147], 5767, 27, "value"); + this[S$0._setAll]("outlineColor", value); + } + get outlineColor() { + return super.outlineColor; + } + set outlineStyle(value) { + if (value == null) dart.nullFailed(I[147], 5772, 27, "value"); + this[S$0._setAll]("outlineStyle", value); + } + get outlineStyle() { + return super.outlineStyle; + } + set outlineWidth(value) { + if (value == null) dart.nullFailed(I[147], 5777, 27, "value"); + this[S$0._setAll]("outlineWidth", value); + } + get outlineWidth() { + return super.outlineWidth; + } + set overflow(value) { + if (value == null) dart.nullFailed(I[147], 5782, 23, "value"); + this[S$0._setAll]("overflow", value); + } + get overflow() { + return super.overflow; + } + set padding(value) { + if (value == null) dart.nullFailed(I[147], 5787, 22, "value"); + this[S$0._setAll]("padding", value); + } + get padding() { + return super.padding; + } + set paddingBottom(value) { + if (value == null) dart.nullFailed(I[147], 5792, 28, "value"); + this[S$0._setAll]("paddingBottom", value); + } + get paddingBottom() { + return super.paddingBottom; + } + set paddingLeft(value) { + if (value == null) dart.nullFailed(I[147], 5797, 26, "value"); + this[S$0._setAll]("paddingLeft", value); + } + get paddingLeft() { + return super.paddingLeft; + } + set paddingRight(value) { + if (value == null) dart.nullFailed(I[147], 5802, 27, "value"); + this[S$0._setAll]("paddingRight", value); + } + get paddingRight() { + return super.paddingRight; + } + set paddingTop(value) { + if (value == null) dart.nullFailed(I[147], 5807, 25, "value"); + this[S$0._setAll]("paddingTop", value); + } + get paddingTop() { + return super.paddingTop; + } + set pageBreakAfter(value) { + if (value == null) dart.nullFailed(I[147], 5812, 29, "value"); + this[S$0._setAll]("pageBreakAfter", value); + } + get pageBreakAfter() { + return super.pageBreakAfter; + } + set pageBreakBefore(value) { + if (value == null) dart.nullFailed(I[147], 5817, 30, "value"); + this[S$0._setAll]("pageBreakBefore", value); + } + get pageBreakBefore() { + return super.pageBreakBefore; + } + set pageBreakInside(value) { + if (value == null) dart.nullFailed(I[147], 5822, 30, "value"); + this[S$0._setAll]("pageBreakInside", value); + } + get pageBreakInside() { + return super.pageBreakInside; + } + set position(value) { + if (value == null) dart.nullFailed(I[147], 5827, 23, "value"); + this[S$0._setAll]("position", value); + } + get position() { + return super.position; + } + set quotes(value) { + if (value == null) dart.nullFailed(I[147], 5832, 21, "value"); + this[S$0._setAll]("quotes", value); + } + get quotes() { + return super.quotes; + } + set right(value) { + if (value == null) dart.nullFailed(I[147], 5837, 20, "value"); + this[S$0._setAll]("right", value); + } + get right() { + return super.right; + } + set tableLayout(value) { + if (value == null) dart.nullFailed(I[147], 5842, 26, "value"); + this[S$0._setAll]("tableLayout", value); + } + get tableLayout() { + return super.tableLayout; + } + set textAlign(value) { + if (value == null) dart.nullFailed(I[147], 5847, 24, "value"); + this[S$0._setAll]("textAlign", value); + } + get textAlign() { + return super.textAlign; + } + set textDecoration(value) { + if (value == null) dart.nullFailed(I[147], 5852, 29, "value"); + this[S$0._setAll]("textDecoration", value); + } + get textDecoration() { + return super.textDecoration; + } + set textIndent(value) { + if (value == null) dart.nullFailed(I[147], 5857, 25, "value"); + this[S$0._setAll]("textIndent", value); + } + get textIndent() { + return super.textIndent; + } + set textTransform(value) { + if (value == null) dart.nullFailed(I[147], 5862, 28, "value"); + this[S$0._setAll]("textTransform", value); + } + get textTransform() { + return super.textTransform; + } + set top(value) { + if (value == null) dart.nullFailed(I[147], 5867, 18, "value"); + this[S$0._setAll]("top", value); + } + get top() { + return super.top; + } + set unicodeBidi(value) { + if (value == null) dart.nullFailed(I[147], 5872, 26, "value"); + this[S$0._setAll]("unicodeBidi", value); + } + get unicodeBidi() { + return super.unicodeBidi; + } + set verticalAlign(value) { + if (value == null) dart.nullFailed(I[147], 5877, 28, "value"); + this[S$0._setAll]("verticalAlign", value); + } + get verticalAlign() { + return super.verticalAlign; + } + set visibility(value) { + if (value == null) dart.nullFailed(I[147], 5882, 25, "value"); + this[S$0._setAll]("visibility", value); + } + get visibility() { + return super.visibility; + } + set whiteSpace(value) { + if (value == null) dart.nullFailed(I[147], 5887, 25, "value"); + this[S$0._setAll]("whiteSpace", value); + } + get whiteSpace() { + return super.whiteSpace; + } + set width(value) { + if (value == null) dart.nullFailed(I[147], 5892, 20, "value"); + this[S$0._setAll]("width", value); + } + get width() { + return super.width; + } + set wordSpacing(value) { + if (value == null) dart.nullFailed(I[147], 5897, 26, "value"); + this[S$0._setAll]("wordSpacing", value); + } + get wordSpacing() { + return super.wordSpacing; + } + set zIndex(value) { + if (value == null) dart.nullFailed(I[147], 5902, 21, "value"); + this[S$0._setAll]("zIndex", value); + } + get zIndex() { + return super.zIndex; + } +}; +(html$._CssStyleDeclarationSet.new = function(_elementIterable) { + if (_elementIterable == null) dart.nullFailed(I[147], 5435, 32, "_elementIterable"); + this[S$0._elementCssStyleDeclarationSetIterable] = null; + this[S$0._elementIterable] = _elementIterable; + this[S$0._elementCssStyleDeclarationSetIterable] = core.List.from(this[S$0._elementIterable])[$map](html$.CssStyleDeclaration, dart.fn(e => html$.CssStyleDeclaration.as(dart.dload(e, 'style')), T$0.dynamicToCssStyleDeclaration())); +}).prototype = html$._CssStyleDeclarationSet.prototype; +dart.addTypeTests(html$._CssStyleDeclarationSet); +dart.addTypeCaches(html$._CssStyleDeclarationSet); +dart.setMethodSignature(html$._CssStyleDeclarationSet, () => ({ + __proto__: dart.getMethods(html$._CssStyleDeclarationSet.__proto__), + getPropertyValue: dart.fnType(core.String, [core.String]), + [S$.$getPropertyValue]: dart.fnType(core.String, [core.String]), + setProperty: dart.fnType(dart.void, [core.String, dart.nullable(core.String)], [dart.nullable(core.String)]), + [S$.$setProperty]: dart.fnType(dart.void, [core.String, dart.nullable(core.String)], [dart.nullable(core.String)]), + [S$0._setAll]: dart.fnType(dart.void, [core.String, dart.nullable(core.String)]) +})); +dart.setLibraryUri(html$._CssStyleDeclarationSet, I[148]); +dart.setFieldSignature(html$._CssStyleDeclarationSet, () => ({ + __proto__: dart.getFields(html$._CssStyleDeclarationSet.__proto__), + [S$0._elementIterable]: dart.finalFieldType(core.Iterable$(html$.Element)), + [S$0._elementCssStyleDeclarationSetIterable]: dart.fieldType(dart.nullable(core.Iterable$(html$.CssStyleDeclaration))) +})); +dart.defineExtensionMethods(html$._CssStyleDeclarationSet, ['getPropertyValue', 'setProperty']); +dart.defineExtensionAccessors(html$._CssStyleDeclarationSet, [ + 'background', + 'backgroundAttachment', + 'backgroundColor', + 'backgroundImage', + 'backgroundPosition', + 'backgroundRepeat', + 'border', + 'borderBottom', + 'borderBottomColor', + 'borderBottomStyle', + 'borderBottomWidth', + 'borderCollapse', + 'borderColor', + 'borderLeft', + 'borderLeftColor', + 'borderLeftStyle', + 'borderLeftWidth', + 'borderRight', + 'borderRightColor', + 'borderRightStyle', + 'borderRightWidth', + 'borderSpacing', + 'borderStyle', + 'borderTop', + 'borderTopColor', + 'borderTopStyle', + 'borderTopWidth', + 'borderWidth', + 'bottom', + 'captionSide', + 'clear', + 'clip', + 'color', + 'content', + 'cursor', + 'direction', + 'display', + 'emptyCells', + 'font', + 'fontFamily', + 'fontSize', + 'fontStyle', + 'fontVariant', + 'fontWeight', + 'height', + 'left', + 'letterSpacing', + 'lineHeight', + 'listStyle', + 'listStyleImage', + 'listStylePosition', + 'listStyleType', + 'margin', + 'marginBottom', + 'marginLeft', + 'marginRight', + 'marginTop', + 'maxHeight', + 'maxWidth', + 'minHeight', + 'minWidth', + 'outline', + 'outlineColor', + 'outlineStyle', + 'outlineWidth', + 'overflow', + 'padding', + 'paddingBottom', + 'paddingLeft', + 'paddingRight', + 'paddingTop', + 'pageBreakAfter', + 'pageBreakBefore', + 'pageBreakInside', + 'position', + 'quotes', + 'right', + 'tableLayout', + 'textAlign', + 'textDecoration', + 'textIndent', + 'textTransform', + 'top', + 'unicodeBidi', + 'verticalAlign', + 'visibility', + 'whiteSpace', + 'width', + 'wordSpacing', + 'zIndex' +]); +html$.CssStyleRule = class CssStyleRule extends html$.CssRule { + get [S$.$selectorText]() { + return this.selectorText; + } + set [S$.$selectorText](value) { + this.selectorText = value; + } + get [S.$style]() { + return this.style; + } +}; +dart.addTypeTests(html$.CssStyleRule); +dart.addTypeCaches(html$.CssStyleRule); +dart.setGetterSignature(html$.CssStyleRule, () => ({ + __proto__: dart.getGetters(html$.CssStyleRule.__proto__), + [S$.$selectorText]: core.String, + [S.$style]: html$.CssStyleDeclaration +})); +dart.setSetterSignature(html$.CssStyleRule, () => ({ + __proto__: dart.getSetters(html$.CssStyleRule.__proto__), + [S$.$selectorText]: core.String +})); +dart.setLibraryUri(html$.CssStyleRule, I[148]); +dart.registerExtension("CSSStyleRule", html$.CssStyleRule); +html$.StyleSheet = class StyleSheet extends _interceptors.Interceptor { + get [S$.$disabled]() { + return this.disabled; + } + set [S$.$disabled](value) { + this.disabled = value; + } + get [S$.$href]() { + return this.href; + } + get [S$.$media]() { + return this.media; + } + get [S$0.$ownerNode]() { + return this.ownerNode; + } + get [S$.$parentStyleSheet]() { + return this.parentStyleSheet; + } + get [S.$title]() { + return this.title; + } + get [S.$type]() { + return this.type; + } +}; +dart.addTypeTests(html$.StyleSheet); +dart.addTypeCaches(html$.StyleSheet); +dart.setGetterSignature(html$.StyleSheet, () => ({ + __proto__: dart.getGetters(html$.StyleSheet.__proto__), + [S$.$disabled]: dart.nullable(core.bool), + [S$.$href]: dart.nullable(core.String), + [S$.$media]: dart.nullable(html$.MediaList), + [S$0.$ownerNode]: dart.nullable(html$.Node), + [S$.$parentStyleSheet]: dart.nullable(html$.StyleSheet), + [S.$title]: dart.nullable(core.String), + [S.$type]: dart.nullable(core.String) +})); +dart.setSetterSignature(html$.StyleSheet, () => ({ + __proto__: dart.getSetters(html$.StyleSheet.__proto__), + [S$.$disabled]: dart.nullable(core.bool) +})); +dart.setLibraryUri(html$.StyleSheet, I[148]); +dart.registerExtension("StyleSheet", html$.StyleSheet); +html$.CssStyleSheet = class CssStyleSheet extends html$.StyleSheet { + get [S$.$cssRules]() { + return this.cssRules; + } + get [S$0.$ownerRule]() { + return this.ownerRule; + } + get [S$0.$rules]() { + return this.rules; + } + [S$0.$addRule](...args) { + return this.addRule.apply(this, args); + } + [S$.$deleteRule](...args) { + return this.deleteRule.apply(this, args); + } + [S$.$insertRule](...args) { + return this.insertRule.apply(this, args); + } + [S$0.$removeRule](...args) { + return this.removeRule.apply(this, args); + } +}; +dart.addTypeTests(html$.CssStyleSheet); +dart.addTypeCaches(html$.CssStyleSheet); +dart.setMethodSignature(html$.CssStyleSheet, () => ({ + __proto__: dart.getMethods(html$.CssStyleSheet.__proto__), + [S$0.$addRule]: dart.fnType(core.int, [dart.nullable(core.String), dart.nullable(core.String)], [dart.nullable(core.int)]), + [S$.$deleteRule]: dart.fnType(dart.void, [core.int]), + [S$.$insertRule]: dart.fnType(core.int, [core.String], [dart.nullable(core.int)]), + [S$0.$removeRule]: dart.fnType(dart.void, [dart.nullable(core.int)]) +})); +dart.setGetterSignature(html$.CssStyleSheet, () => ({ + __proto__: dart.getGetters(html$.CssStyleSheet.__proto__), + [S$.$cssRules]: core.List$(html$.CssRule), + [S$0.$ownerRule]: dart.nullable(html$.CssRule), + [S$0.$rules]: dart.nullable(core.List$(html$.CssRule)) +})); +dart.setLibraryUri(html$.CssStyleSheet, I[148]); +dart.registerExtension("CSSStyleSheet", html$.CssStyleSheet); +html$.CssSupportsRule = class CssSupportsRule extends html$.CssConditionRule {}; +dart.addTypeTests(html$.CssSupportsRule); +dart.addTypeCaches(html$.CssSupportsRule); +dart.setLibraryUri(html$.CssSupportsRule, I[148]); +dart.registerExtension("CSSSupportsRule", html$.CssSupportsRule); +html$.CssTransformValue = class CssTransformValue extends html$.CssStyleValue { + static new(transformComponents = null) { + if (transformComponents == null) { + return html$.CssTransformValue._create_1(); + } + if (T$0.ListOfCssTransformComponent().is(transformComponents)) { + return html$.CssTransformValue._create_2(transformComponents); + } + dart.throw(new core.ArgumentError.new("Incorrect number or type of arguments")); + } + static _create_1() { + return new CSSTransformValue(); + } + static _create_2(transformComponents) { + return new CSSTransformValue(transformComponents); + } + get [S$.$is2D]() { + return this.is2D; + } + get [$length]() { + return this.length; + } + [S$0.$componentAtIndex](...args) { + return this.componentAtIndex.apply(this, args); + } + [S$0.$toMatrix](...args) { + return this.toMatrix.apply(this, args); + } +}; +dart.addTypeTests(html$.CssTransformValue); +dart.addTypeCaches(html$.CssTransformValue); +dart.setMethodSignature(html$.CssTransformValue, () => ({ + __proto__: dart.getMethods(html$.CssTransformValue.__proto__), + [S$0.$componentAtIndex]: dart.fnType(html$.CssTransformComponent, [core.int]), + [S$0.$toMatrix]: dart.fnType(html$.DomMatrix, []) +})); +dart.setGetterSignature(html$.CssTransformValue, () => ({ + __proto__: dart.getGetters(html$.CssTransformValue.__proto__), + [S$.$is2D]: dart.nullable(core.bool), + [$length]: dart.nullable(core.int) +})); +dart.setLibraryUri(html$.CssTransformValue, I[148]); +dart.registerExtension("CSSTransformValue", html$.CssTransformValue); +html$.CssTranslation = class CssTranslation extends html$.CssTransformComponent { + static new(x, y, z = null) { + if (x == null) dart.nullFailed(I[147], 8804, 42, "x"); + if (y == null) dart.nullFailed(I[147], 8804, 61, "y"); + if (html$.CssNumericValue.is(y) && html$.CssNumericValue.is(x) && z == null) { + return html$.CssTranslation._create_1(x, y); + } + if (html$.CssNumericValue.is(z) && html$.CssNumericValue.is(y) && html$.CssNumericValue.is(x)) { + return html$.CssTranslation._create_2(x, y, z); + } + dart.throw(new core.ArgumentError.new("Incorrect number or type of arguments")); + } + static _create_1(x, y) { + return new CSSTranslation(x, y); + } + static _create_2(x, y, z) { + return new CSSTranslation(x, y, z); + } + get [S$.$x]() { + return this.x; + } + set [S$.$x](value) { + this.x = value; + } + get [S$.$y]() { + return this.y; + } + set [S$.$y](value) { + this.y = value; + } + get [S$.$z]() { + return this.z; + } + set [S$.$z](value) { + this.z = value; + } +}; +dart.addTypeTests(html$.CssTranslation); +dart.addTypeCaches(html$.CssTranslation); +dart.setGetterSignature(html$.CssTranslation, () => ({ + __proto__: dart.getGetters(html$.CssTranslation.__proto__), + [S$.$x]: dart.nullable(html$.CssNumericValue), + [S$.$y]: dart.nullable(html$.CssNumericValue), + [S$.$z]: dart.nullable(html$.CssNumericValue) +})); +dart.setSetterSignature(html$.CssTranslation, () => ({ + __proto__: dart.getSetters(html$.CssTranslation.__proto__), + [S$.$x]: dart.nullable(html$.CssNumericValue), + [S$.$y]: dart.nullable(html$.CssNumericValue), + [S$.$z]: dart.nullable(html$.CssNumericValue) +})); +dart.setLibraryUri(html$.CssTranslation, I[148]); +dart.registerExtension("CSSTranslation", html$.CssTranslation); +html$.CssUnitValue = class CssUnitValue extends html$.CssNumericValue { + static new(value, unit) { + if (value == null) dart.nullFailed(I[147], 8844, 28, "value"); + if (unit == null) dart.nullFailed(I[147], 8844, 42, "unit"); + return html$.CssUnitValue._create_1(value, unit); + } + static _create_1(value, unit) { + return new CSSUnitValue(value, unit); + } + get [S.$type]() { + return this.type; + } + get [S$0.$unit]() { + return this.unit; + } + set [S$0.$unit](value) { + this.unit = value; + } + get [S.$value]() { + return this.value; + } + set [S.$value](value) { + this.value = value; + } +}; +dart.addTypeTests(html$.CssUnitValue); +dart.addTypeCaches(html$.CssUnitValue); +dart.setGetterSignature(html$.CssUnitValue, () => ({ + __proto__: dart.getGetters(html$.CssUnitValue.__proto__), + [S.$type]: dart.nullable(core.String), + [S$0.$unit]: dart.nullable(core.String), + [S.$value]: dart.nullable(core.num) +})); +dart.setSetterSignature(html$.CssUnitValue, () => ({ + __proto__: dart.getSetters(html$.CssUnitValue.__proto__), + [S$0.$unit]: dart.nullable(core.String), + [S.$value]: dart.nullable(core.num) +})); +dart.setLibraryUri(html$.CssUnitValue, I[148]); +dart.registerExtension("CSSUnitValue", html$.CssUnitValue); +html$.CssUnparsedValue = class CssUnparsedValue extends html$.CssStyleValue { + get [$length]() { + return this.length; + } + [S$0.$fragmentAtIndex](...args) { + return this.fragmentAtIndex.apply(this, args); + } +}; +dart.addTypeTests(html$.CssUnparsedValue); +dart.addTypeCaches(html$.CssUnparsedValue); +dart.setMethodSignature(html$.CssUnparsedValue, () => ({ + __proto__: dart.getMethods(html$.CssUnparsedValue.__proto__), + [S$0.$fragmentAtIndex]: dart.fnType(dart.nullable(core.Object), [core.int]) +})); +dart.setGetterSignature(html$.CssUnparsedValue, () => ({ + __proto__: dart.getGetters(html$.CssUnparsedValue.__proto__), + [$length]: dart.nullable(core.int) +})); +dart.setLibraryUri(html$.CssUnparsedValue, I[148]); +dart.registerExtension("CSSUnparsedValue", html$.CssUnparsedValue); +html$.CssVariableReferenceValue = class CssVariableReferenceValue extends _interceptors.Interceptor { + get [S$0.$fallback]() { + return this.fallback; + } + get [S$0.$variable]() { + return this.variable; + } +}; +dart.addTypeTests(html$.CssVariableReferenceValue); +dart.addTypeCaches(html$.CssVariableReferenceValue); +dart.setGetterSignature(html$.CssVariableReferenceValue, () => ({ + __proto__: dart.getGetters(html$.CssVariableReferenceValue.__proto__), + [S$0.$fallback]: dart.nullable(html$.CssUnparsedValue), + [S$0.$variable]: dart.nullable(core.String) +})); +dart.setLibraryUri(html$.CssVariableReferenceValue, I[148]); +dart.registerExtension("CSSVariableReferenceValue", html$.CssVariableReferenceValue); +html$.CssViewportRule = class CssViewportRule extends html$.CssRule { + get [S.$style]() { + return this.style; + } +}; +dart.addTypeTests(html$.CssViewportRule); +dart.addTypeCaches(html$.CssViewportRule); +dart.setGetterSignature(html$.CssViewportRule, () => ({ + __proto__: dart.getGetters(html$.CssViewportRule.__proto__), + [S.$style]: dart.nullable(html$.CssStyleDeclaration) +})); +dart.setLibraryUri(html$.CssViewportRule, I[148]); +dart.registerExtension("CSSViewportRule", html$.CssViewportRule); +html$.CssurlImageValue = class CssurlImageValue extends html$.CssImageValue { + static new(url) { + if (url == null) dart.nullFailed(I[147], 8914, 35, "url"); + return html$.CssurlImageValue._create_1(url); + } + static _create_1(url) { + return new CSSURLImageValue(url); + } + get [S$.$url]() { + return this.url; + } +}; +dart.addTypeTests(html$.CssurlImageValue); +dart.addTypeCaches(html$.CssurlImageValue); +dart.setGetterSignature(html$.CssurlImageValue, () => ({ + __proto__: dart.getGetters(html$.CssurlImageValue.__proto__), + [S$.$url]: dart.nullable(core.String) +})); +dart.setLibraryUri(html$.CssurlImageValue, I[148]); +dart.registerExtension("CSSURLImageValue", html$.CssurlImageValue); +html$.CustomElementRegistry = class CustomElementRegistry extends _interceptors.Interceptor { + [S$0.$define](name, constructor, options = null) { + if (name == null) dart.nullFailed(I[147], 8942, 22, "name"); + if (constructor == null) dart.nullFailed(I[147], 8942, 35, "constructor"); + if (options != null) { + let options_1 = html_common.convertDartToNative_Dictionary(options); + this[S$0._define_1](name, constructor, options_1); + return; + } + this[S$0._define_2](name, constructor); + return; + } + [S$0._define_1](...args) { + return this.define.apply(this, args); + } + [S$0._define_2](...args) { + return this.define.apply(this, args); + } + [S.$get](...args) { + return this.get.apply(this, args); + } + [S$0.$whenDefined](name) { + if (name == null) dart.nullFailed(I[147], 8959, 29, "name"); + return js_util.promiseToFuture(dart.dynamic, this.whenDefined(name)); + } +}; +dart.addTypeTests(html$.CustomElementRegistry); +dart.addTypeCaches(html$.CustomElementRegistry); +dart.setMethodSignature(html$.CustomElementRegistry, () => ({ + __proto__: dart.getMethods(html$.CustomElementRegistry.__proto__), + [S$0.$define]: dart.fnType(dart.void, [core.String, core.Object], [dart.nullable(core.Map)]), + [S$0._define_1]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic]), + [S$0._define_2]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic]), + [S.$get]: dart.fnType(dart.nullable(core.Object), [core.String]), + [S$0.$whenDefined]: dart.fnType(async.Future, [core.String]) +})); +dart.setLibraryUri(html$.CustomElementRegistry, I[148]); +dart.registerExtension("CustomElementRegistry", html$.CustomElementRegistry); +html$.CustomEvent = class CustomEvent$ extends html$.Event { + get [S$0._dartDetail]() { + return this._dartDetail; + } + set [S$0._dartDetail](value) { + this._dartDetail = value; + } + static new(type, opts) { + if (type == null) dart.nullFailed(I[147], 8973, 30, "type"); + let canBubble = opts && 'canBubble' in opts ? opts.canBubble : true; + if (canBubble == null) dart.nullFailed(I[147], 8974, 13, "canBubble"); + let cancelable = opts && 'cancelable' in opts ? opts.cancelable : true; + if (cancelable == null) dart.nullFailed(I[147], 8974, 35, "cancelable"); + let detail = opts && 'detail' in opts ? opts.detail : null; + let e = html$.CustomEvent.as(html$.document[S._createEvent]("CustomEvent")); + e[S$0._dartDetail] = detail; + if (core.List.is(detail) || core.Map.is(detail) || typeof detail == 'string' || typeof detail == 'number') { + try { + detail = html_common.convertDartToNative_SerializedScriptValue(detail); + e[S$0._initCustomEvent](type, canBubble, cancelable, detail); + } catch (e$) { + let _ = dart.getThrown(e$); + if (core.Object.is(_)) { + e[S$0._initCustomEvent](type, canBubble, cancelable, null); + } else + throw e$; + } + } else { + e[S$0._initCustomEvent](type, canBubble, cancelable, null); + } + return e; + } + get [S$.$detail]() { + if (this[S$0._dartDetail] != null) { + return this[S$0._dartDetail]; + } + return this[S$0._detail]; + } + static __(type, eventInitDict = null) { + if (type == null) dart.nullFailed(I[147], 9002, 32, "type"); + if (eventInitDict != null) { + let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); + return html$.CustomEvent._create_1(type, eventInitDict_1); + } + return html$.CustomEvent._create_2(type); + } + static _create_1(type, eventInitDict) { + return new CustomEvent(type, eventInitDict); + } + static _create_2(type) { + return new CustomEvent(type); + } + get [S$0._detail]() { + return html_common.convertNativeToDart_SerializedScriptValue(this[S$0._get__detail]); + } + get [S$0._get__detail]() { + return this.detail; + } + [S$0._initCustomEvent](...args) { + return this.initCustomEvent.apply(this, args); + } +}; +dart.addTypeTests(html$.CustomEvent); +dart.addTypeCaches(html$.CustomEvent); +dart.setMethodSignature(html$.CustomEvent, () => ({ + __proto__: dart.getMethods(html$.CustomEvent.__proto__), + [S$0._initCustomEvent]: dart.fnType(dart.void, [core.String], [dart.nullable(core.bool), dart.nullable(core.bool), dart.nullable(core.Object)]) +})); +dart.setGetterSignature(html$.CustomEvent, () => ({ + __proto__: dart.getGetters(html$.CustomEvent.__proto__), + [S$.$detail]: dart.dynamic, + [S$0._detail]: dart.dynamic, + [S$0._get__detail]: dart.dynamic +})); +dart.setLibraryUri(html$.CustomEvent, I[148]); +dart.setFieldSignature(html$.CustomEvent, () => ({ + __proto__: dart.getFields(html$.CustomEvent.__proto__), + [S$0._dartDetail]: dart.fieldType(dart.dynamic) +})); +dart.registerExtension("CustomEvent", html$.CustomEvent); +html$.DListElement = class DListElement extends html$.HtmlElement { + static new() { + return html$.document.createElement("dl"); + } +}; +(html$.DListElement.created = function() { + html$.DListElement.__proto__.created.call(this); + ; +}).prototype = html$.DListElement.prototype; +dart.addTypeTests(html$.DListElement); +dart.addTypeCaches(html$.DListElement); +dart.setLibraryUri(html$.DListElement, I[148]); +dart.registerExtension("HTMLDListElement", html$.DListElement); +html$.DataElement = class DataElement extends html$.HtmlElement { + get [S.$value]() { + return this.value; + } + set [S.$value](value) { + this.value = value; + } +}; +(html$.DataElement.created = function() { + html$.DataElement.__proto__.created.call(this); + ; +}).prototype = html$.DataElement.prototype; +dart.addTypeTests(html$.DataElement); +dart.addTypeCaches(html$.DataElement); +dart.setGetterSignature(html$.DataElement, () => ({ + __proto__: dart.getGetters(html$.DataElement.__proto__), + [S.$value]: dart.nullable(core.String) +})); +dart.setSetterSignature(html$.DataElement, () => ({ + __proto__: dart.getSetters(html$.DataElement.__proto__), + [S.$value]: dart.nullable(core.String) +})); +dart.setLibraryUri(html$.DataElement, I[148]); +dart.registerExtension("HTMLDataElement", html$.DataElement); +html$.DataListElement = class DataListElement extends html$.HtmlElement { + static new() { + return html$.DataListElement.as(html$.document[S.$createElement]("datalist")); + } + static get supported() { + return html$.Element.isTagSupported("datalist"); + } + get [S$0.$options]() { + return this.options; + } +}; +(html$.DataListElement.created = function() { + html$.DataListElement.__proto__.created.call(this); + ; +}).prototype = html$.DataListElement.prototype; +dart.addTypeTests(html$.DataListElement); +dart.addTypeCaches(html$.DataListElement); +dart.setGetterSignature(html$.DataListElement, () => ({ + __proto__: dart.getGetters(html$.DataListElement.__proto__), + [S$0.$options]: dart.nullable(core.List$(html$.Node)) +})); +dart.setLibraryUri(html$.DataListElement, I[148]); +dart.registerExtension("HTMLDataListElement", html$.DataListElement); +html$.DataTransfer = class DataTransfer$ extends _interceptors.Interceptor { + static new() { + return html$.DataTransfer._create_1(); + } + static _create_1() { + return new DataTransfer(); + } + get [S$0.$dropEffect]() { + return this.dropEffect; + } + set [S$0.$dropEffect](value) { + this.dropEffect = value; + } + get [S$0.$effectAllowed]() { + return this.effectAllowed; + } + set [S$0.$effectAllowed](value) { + this.effectAllowed = value; + } + get [S$0.$files]() { + return this.files; + } + get [S$0.$items]() { + return this.items; + } + get [S$0.$types]() { + return this.types; + } + [S$0.$clearData](...args) { + return this.clearData.apply(this, args); + } + [S$0.$getData](...args) { + return this.getData.apply(this, args); + } + [S$0.$setData](...args) { + return this.setData.apply(this, args); + } + [S$0.$setDragImage](...args) { + return this.setDragImage.apply(this, args); + } +}; +dart.addTypeTests(html$.DataTransfer); +dart.addTypeCaches(html$.DataTransfer); +dart.setMethodSignature(html$.DataTransfer, () => ({ + __proto__: dart.getMethods(html$.DataTransfer.__proto__), + [S$0.$clearData]: dart.fnType(dart.void, [], [dart.nullable(core.String)]), + [S$0.$getData]: dart.fnType(core.String, [core.String]), + [S$0.$setData]: dart.fnType(dart.void, [core.String, core.String]), + [S$0.$setDragImage]: dart.fnType(dart.void, [html$.Element, core.int, core.int]) +})); +dart.setGetterSignature(html$.DataTransfer, () => ({ + __proto__: dart.getGetters(html$.DataTransfer.__proto__), + [S$0.$dropEffect]: dart.nullable(core.String), + [S$0.$effectAllowed]: dart.nullable(core.String), + [S$0.$files]: dart.nullable(core.List$(html$.File)), + [S$0.$items]: dart.nullable(html$.DataTransferItemList), + [S$0.$types]: dart.nullable(core.List$(core.String)) +})); +dart.setSetterSignature(html$.DataTransfer, () => ({ + __proto__: dart.getSetters(html$.DataTransfer.__proto__), + [S$0.$dropEffect]: dart.nullable(core.String), + [S$0.$effectAllowed]: dart.nullable(core.String) +})); +dart.setLibraryUri(html$.DataTransfer, I[148]); +dart.registerExtension("DataTransfer", html$.DataTransfer); +html$.DataTransferItem = class DataTransferItem extends _interceptors.Interceptor { + [S$0.$getAsEntry]() { + let entry = dart.nullCast(this[S$0._webkitGetAsEntry](), html$.Entry); + if (dart.nullCheck(entry.isFile)) + _js_helper.applyExtension("FileEntry", entry); + else if (dart.nullCheck(entry.isDirectory)) + _js_helper.applyExtension("DirectoryEntry", entry); + else + _js_helper.applyExtension("Entry", entry); + return entry; + } + get [S$.$kind]() { + return this.kind; + } + get [S.$type]() { + return this.type; + } + [S$0.$getAsFile](...args) { + return this.getAsFile.apply(this, args); + } + [S$0._webkitGetAsEntry](...args) { + return this.webkitGetAsEntry.apply(this, args); + } +}; +dart.addTypeTests(html$.DataTransferItem); +dart.addTypeCaches(html$.DataTransferItem); +dart.setMethodSignature(html$.DataTransferItem, () => ({ + __proto__: dart.getMethods(html$.DataTransferItem.__proto__), + [S$0.$getAsEntry]: dart.fnType(html$.Entry, []), + [S$0.$getAsFile]: dart.fnType(dart.nullable(html$.File), []), + [S$0._webkitGetAsEntry]: dart.fnType(dart.nullable(html$.Entry), []) +})); +dart.setGetterSignature(html$.DataTransferItem, () => ({ + __proto__: dart.getGetters(html$.DataTransferItem.__proto__), + [S$.$kind]: dart.nullable(core.String), + [S.$type]: dart.nullable(core.String) +})); +dart.setLibraryUri(html$.DataTransferItem, I[148]); +dart.registerExtension("DataTransferItem", html$.DataTransferItem); +html$.DataTransferItemList = class DataTransferItemList extends _interceptors.Interceptor { + get [$length]() { + return this.length; + } + [$add](...args) { + return this.add.apply(this, args); + } + [S$0.$addData](...args) { + return this.add.apply(this, args); + } + [S$0.$addFile](...args) { + return this.add.apply(this, args); + } + [$clear](...args) { + return this.clear.apply(this, args); + } + [S$.$item](...args) { + return this.item.apply(this, args); + } + [$remove](...args) { + return this.remove.apply(this, args); + } + [$_get](index) { + if (index == null) dart.nullFailed(I[147], 9201, 36, "index"); + return this[index]; + } +}; +dart.addTypeTests(html$.DataTransferItemList); +dart.addTypeCaches(html$.DataTransferItemList); +dart.setMethodSignature(html$.DataTransferItemList, () => ({ + __proto__: dart.getMethods(html$.DataTransferItemList.__proto__), + [$add]: dart.fnType(dart.nullable(html$.DataTransferItem), [dart.dynamic], [dart.nullable(core.String)]), + [S$0.$addData]: dart.fnType(dart.nullable(html$.DataTransferItem), [core.String, core.String]), + [S$0.$addFile]: dart.fnType(dart.nullable(html$.DataTransferItem), [html$.File]), + [$clear]: dart.fnType(dart.void, []), + [S$.$item]: dart.fnType(html$.DataTransferItem, [core.int]), + [$remove]: dart.fnType(dart.void, [core.int]), + [$_get]: dart.fnType(html$.DataTransferItem, [core.int]) +})); +dart.setGetterSignature(html$.DataTransferItemList, () => ({ + __proto__: dart.getGetters(html$.DataTransferItemList.__proto__), + [$length]: dart.nullable(core.int) +})); +dart.setLibraryUri(html$.DataTransferItemList, I[148]); +dart.registerExtension("DataTransferItemList", html$.DataTransferItemList); +html$.WorkerGlobalScope = class WorkerGlobalScope extends html$.EventTarget { + get [S$0.$addressSpace]() { + return this.addressSpace; + } + get [S$0.$caches]() { + return this.caches; + } + get [S$0.$crypto]() { + return this.crypto; + } + get [S$0.$indexedDB]() { + return this.indexedDB; + } + get [S$0.$isSecureContext]() { + return this.isSecureContext; + } + get [S$0.$location]() { + return this.location; + } + get [S$0.$navigator]() { + return this.navigator; + } + get [S$.$origin]() { + return this.origin; + } + get [S$0.$performance]() { + return this.performance; + } + get [S$0.$self]() { + return this.self; + } + [S$.$fetch](input, init = null) { + let init_dict = null; + if (init != null) { + init_dict = html_common.convertDartToNative_Dictionary(init); + } + return js_util.promiseToFuture(dart.dynamic, this.fetch(input, init_dict)); + } + [S$0.$importScripts](...args) { + return this.importScripts.apply(this, args); + } + [S$0.$atob](...args) { + return this.atob.apply(this, args); + } + [S$0.$btoa](...args) { + return this.btoa.apply(this, args); + } + [S$0._setInterval_String](...args) { + return this.setInterval.apply(this, args); + } + [S$0._setTimeout_String](...args) { + return this.setTimeout.apply(this, args); + } + [S$0._clearInterval](...args) { + return this.clearInterval.apply(this, args); + } + [S$0._clearTimeout](...args) { + return this.clearTimeout.apply(this, args); + } + [S$0._setInterval](...args) { + return this.setInterval.apply(this, args); + } + [S$0._setTimeout](...args) { + return this.setTimeout.apply(this, args); + } + get [S.$onError]() { + return html$.WorkerGlobalScope.errorEvent.forTarget(this); + } + static get instance() { + return html$._workerSelf; + } +}; +dart.addTypeTests(html$.WorkerGlobalScope); +dart.addTypeCaches(html$.WorkerGlobalScope); +html$.WorkerGlobalScope[dart.implements] = () => [html$._WindowTimers, html$.WindowBase64]; +dart.setMethodSignature(html$.WorkerGlobalScope, () => ({ + __proto__: dart.getMethods(html$.WorkerGlobalScope.__proto__), + [S$.$fetch]: dart.fnType(async.Future, [dart.dynamic], [dart.nullable(core.Map)]), + [S$0.$importScripts]: dart.fnType(dart.void, [core.String]), + [S$0.$atob]: dart.fnType(core.String, [core.String]), + [S$0.$btoa]: dart.fnType(core.String, [core.String]), + [S$0._setInterval_String]: dart.fnType(core.int, [core.String], [dart.nullable(core.int), dart.nullable(core.Object)]), + [S$0._setTimeout_String]: dart.fnType(core.int, [core.String], [dart.nullable(core.int), dart.nullable(core.Object)]), + [S$0._clearInterval]: dart.fnType(dart.void, [], [dart.nullable(core.int)]), + [S$0._clearTimeout]: dart.fnType(dart.void, [], [dart.nullable(core.int)]), + [S$0._setInterval]: dart.fnType(core.int, [core.Object], [dart.nullable(core.int)]), + [S$0._setTimeout]: dart.fnType(core.int, [core.Object], [dart.nullable(core.int)]) +})); +dart.setGetterSignature(html$.WorkerGlobalScope, () => ({ + __proto__: dart.getGetters(html$.WorkerGlobalScope.__proto__), + [S$0.$addressSpace]: dart.nullable(core.String), + [S$0.$caches]: dart.nullable(html$.CacheStorage), + [S$0.$crypto]: dart.nullable(html$.Crypto), + [S$0.$indexedDB]: dart.nullable(indexed_db.IdbFactory), + [S$0.$isSecureContext]: dart.nullable(core.bool), + [S$0.$location]: html$._WorkerLocation, + [S$0.$navigator]: html$._WorkerNavigator, + [S$.$origin]: dart.nullable(core.String), + [S$0.$performance]: dart.nullable(html$.WorkerPerformance), + [S$0.$self]: html$.WorkerGlobalScope, + [S.$onError]: async.Stream$(html$.Event) +})); +dart.setLibraryUri(html$.WorkerGlobalScope, I[148]); +dart.defineLazy(html$.WorkerGlobalScope, { + /*html$.WorkerGlobalScope.errorEvent*/get errorEvent() { + return C[216] || CT.C216; + } +}, false); +dart.registerExtension("WorkerGlobalScope", html$.WorkerGlobalScope); +html$.DedicatedWorkerGlobalScope = class DedicatedWorkerGlobalScope extends html$.WorkerGlobalScope { + [S.$close](...args) { + return this.close.apply(this, args); + } + [S$.$postMessage](message, transfer = null) { + if (transfer != null) { + let message_1 = html_common.convertDartToNative_SerializedScriptValue(message); + this[S$0._postMessage_1](message_1, transfer); + return; + } + let message_1 = html_common.convertDartToNative_SerializedScriptValue(message); + this[S$0._postMessage_2](message_1); + return; + } + [S$0._postMessage_1](...args) { + return this.postMessage.apply(this, args); + } + [S$0._postMessage_2](...args) { + return this.postMessage.apply(this, args); + } + [S$0._webkitRequestFileSystem](...args) { + return this.webkitRequestFileSystem.apply(this, args); + } + [S$0.$requestFileSystemSync](...args) { + return this.webkitRequestFileSystemSync.apply(this, args); + } + [S$0.$resolveLocalFileSystemSyncUrl](...args) { + return this.webkitResolveLocalFileSystemSyncURL.apply(this, args); + } + [S$0._webkitResolveLocalFileSystemUrl](...args) { + return this.webkitResolveLocalFileSystemURL.apply(this, args); + } + get [S$.$onMessage]() { + return html$.DedicatedWorkerGlobalScope.messageEvent.forTarget(this); + } + static get instance() { + return html$.DedicatedWorkerGlobalScope.as(html$._workerSelf); + } +}; +dart.addTypeTests(html$.DedicatedWorkerGlobalScope); +dart.addTypeCaches(html$.DedicatedWorkerGlobalScope); +dart.setMethodSignature(html$.DedicatedWorkerGlobalScope, () => ({ + __proto__: dart.getMethods(html$.DedicatedWorkerGlobalScope.__proto__), + [S.$close]: dart.fnType(dart.void, []), + [S$.$postMessage]: dart.fnType(dart.void, [dart.dynamic], [dart.nullable(core.List$(core.Object))]), + [S$0._postMessage_1]: dart.fnType(dart.void, [dart.dynamic, core.List$(core.Object)]), + [S$0._postMessage_2]: dart.fnType(dart.void, [dart.dynamic]), + [S$0._webkitRequestFileSystem]: dart.fnType(dart.void, [core.int, core.int], [dart.nullable(dart.fnType(dart.void, [html$.FileSystem])), dart.nullable(dart.fnType(dart.void, [html$.DomException]))]), + [S$0.$requestFileSystemSync]: dart.fnType(html$._DOMFileSystemSync, [core.int, core.int]), + [S$0.$resolveLocalFileSystemSyncUrl]: dart.fnType(html$._EntrySync, [core.String]), + [S$0._webkitResolveLocalFileSystemUrl]: dart.fnType(dart.void, [core.String, dart.fnType(dart.void, [html$.Entry])], [dart.nullable(dart.fnType(dart.void, [html$.DomException]))]) +})); +dart.setGetterSignature(html$.DedicatedWorkerGlobalScope, () => ({ + __proto__: dart.getGetters(html$.DedicatedWorkerGlobalScope.__proto__), + [S$.$onMessage]: async.Stream$(html$.MessageEvent) +})); +dart.setLibraryUri(html$.DedicatedWorkerGlobalScope, I[148]); +dart.defineLazy(html$.DedicatedWorkerGlobalScope, { + /*html$.DedicatedWorkerGlobalScope.messageEvent*/get messageEvent() { + return C[312] || CT.C312; + }, + /*html$.DedicatedWorkerGlobalScope.PERSISTENT*/get PERSISTENT() { + return 1; + }, + /*html$.DedicatedWorkerGlobalScope.TEMPORARY*/get TEMPORARY() { + return 0; + } +}, false); +dart.registerExtension("DedicatedWorkerGlobalScope", html$.DedicatedWorkerGlobalScope); +html$.DeprecatedStorageInfo = class DeprecatedStorageInfo extends _interceptors.Interceptor { + [S$0.$queryUsageAndQuota](...args) { + return this.queryUsageAndQuota.apply(this, args); + } + [S$0.$requestQuota](...args) { + return this.requestQuota.apply(this, args); + } +}; +dart.addTypeTests(html$.DeprecatedStorageInfo); +dart.addTypeCaches(html$.DeprecatedStorageInfo); +dart.setMethodSignature(html$.DeprecatedStorageInfo, () => ({ + __proto__: dart.getMethods(html$.DeprecatedStorageInfo.__proto__), + [S$0.$queryUsageAndQuota]: dart.fnType(dart.void, [core.int], [dart.nullable(dart.fnType(dart.void, [core.int, core.int])), dart.nullable(dart.fnType(dart.void, [html$.DomError]))]), + [S$0.$requestQuota]: dart.fnType(dart.void, [core.int, core.int], [dart.nullable(dart.fnType(dart.void, [core.int])), dart.nullable(dart.fnType(dart.void, [html$.DomError]))]) +})); +dart.setLibraryUri(html$.DeprecatedStorageInfo, I[148]); +dart.defineLazy(html$.DeprecatedStorageInfo, { + /*html$.DeprecatedStorageInfo.PERSISTENT*/get PERSISTENT() { + return 1; + }, + /*html$.DeprecatedStorageInfo.TEMPORARY*/get TEMPORARY() { + return 0; + } +}, false); +dart.registerExtension("DeprecatedStorageInfo", html$.DeprecatedStorageInfo); +html$.DeprecatedStorageQuota = class DeprecatedStorageQuota extends _interceptors.Interceptor { + [S$0.$queryUsageAndQuota](...args) { + return this.queryUsageAndQuota.apply(this, args); + } + [S$0.$requestQuota](...args) { + return this.requestQuota.apply(this, args); + } +}; +dart.addTypeTests(html$.DeprecatedStorageQuota); +dart.addTypeCaches(html$.DeprecatedStorageQuota); +dart.setMethodSignature(html$.DeprecatedStorageQuota, () => ({ + __proto__: dart.getMethods(html$.DeprecatedStorageQuota.__proto__), + [S$0.$queryUsageAndQuota]: dart.fnType(dart.void, [dart.fnType(dart.void, [core.int, core.int])], [dart.nullable(dart.fnType(dart.void, [html$.DomError]))]), + [S$0.$requestQuota]: dart.fnType(dart.void, [core.int], [dart.nullable(dart.fnType(dart.void, [core.int])), dart.nullable(dart.fnType(dart.void, [html$.DomError]))]) +})); +dart.setLibraryUri(html$.DeprecatedStorageQuota, I[148]); +dart.registerExtension("DeprecatedStorageQuota", html$.DeprecatedStorageQuota); +html$.ReportBody = class ReportBody extends _interceptors.Interceptor {}; +dart.addTypeTests(html$.ReportBody); +dart.addTypeCaches(html$.ReportBody); +dart.setLibraryUri(html$.ReportBody, I[148]); +dart.registerExtension("ReportBody", html$.ReportBody); +html$.DeprecationReport = class DeprecationReport extends html$.ReportBody { + get [S$0.$lineNumber]() { + return this.lineNumber; + } + get [$message]() { + return this.message; + } + get [S$0.$sourceFile]() { + return this.sourceFile; + } +}; +dart.addTypeTests(html$.DeprecationReport); +dart.addTypeCaches(html$.DeprecationReport); +dart.setGetterSignature(html$.DeprecationReport, () => ({ + __proto__: dart.getGetters(html$.DeprecationReport.__proto__), + [S$0.$lineNumber]: dart.nullable(core.int), + [$message]: dart.nullable(core.String), + [S$0.$sourceFile]: dart.nullable(core.String) +})); +dart.setLibraryUri(html$.DeprecationReport, I[148]); +dart.registerExtension("DeprecationReport", html$.DeprecationReport); +html$.DetailsElement = class DetailsElement extends html$.HtmlElement { + static new() { + return html$.DetailsElement.as(html$.document[S.$createElement]("details")); + } + static get supported() { + return html$.Element.isTagSupported("details"); + } + get [S.$open]() { + return this.open; + } + set [S.$open](value) { + this.open = value; + } +}; +(html$.DetailsElement.created = function() { + html$.DetailsElement.__proto__.created.call(this); + ; +}).prototype = html$.DetailsElement.prototype; +dart.addTypeTests(html$.DetailsElement); +dart.addTypeCaches(html$.DetailsElement); +dart.setGetterSignature(html$.DetailsElement, () => ({ + __proto__: dart.getGetters(html$.DetailsElement.__proto__), + [S.$open]: dart.nullable(core.bool) +})); +dart.setSetterSignature(html$.DetailsElement, () => ({ + __proto__: dart.getSetters(html$.DetailsElement.__proto__), + [S.$open]: dart.nullable(core.bool) +})); +dart.setLibraryUri(html$.DetailsElement, I[148]); +dart.registerExtension("HTMLDetailsElement", html$.DetailsElement); +html$.DetectedBarcode = class DetectedBarcode$ extends _interceptors.Interceptor { + static new() { + return html$.DetectedBarcode._create_1(); + } + static _create_1() { + return new DetectedBarcode(); + } + get [$boundingBox]() { + return this.boundingBox; + } + get [S$0.$cornerPoints]() { + return this.cornerPoints; + } + get [S$0.$rawValue]() { + return this.rawValue; + } +}; +dart.addTypeTests(html$.DetectedBarcode); +dart.addTypeCaches(html$.DetectedBarcode); +dart.setGetterSignature(html$.DetectedBarcode, () => ({ + __proto__: dart.getGetters(html$.DetectedBarcode.__proto__), + [$boundingBox]: dart.nullable(math.Rectangle$(core.num)), + [S$0.$cornerPoints]: dart.nullable(core.List), + [S$0.$rawValue]: dart.nullable(core.String) +})); +dart.setLibraryUri(html$.DetectedBarcode, I[148]); +dart.registerExtension("DetectedBarcode", html$.DetectedBarcode); +html$.DetectedFace = class DetectedFace$ extends _interceptors.Interceptor { + static new() { + return html$.DetectedFace._create_1(); + } + static _create_1() { + return new DetectedFace(); + } + get [$boundingBox]() { + return this.boundingBox; + } + get [S$0.$landmarks]() { + return this.landmarks; + } +}; +dart.addTypeTests(html$.DetectedFace); +dart.addTypeCaches(html$.DetectedFace); +dart.setGetterSignature(html$.DetectedFace, () => ({ + __proto__: dart.getGetters(html$.DetectedFace.__proto__), + [$boundingBox]: dart.nullable(math.Rectangle$(core.num)), + [S$0.$landmarks]: dart.nullable(core.List) +})); +dart.setLibraryUri(html$.DetectedFace, I[148]); +dart.registerExtension("DetectedFace", html$.DetectedFace); +html$.DetectedText = class DetectedText$ extends _interceptors.Interceptor { + static new() { + return html$.DetectedText._create_1(); + } + static _create_1() { + return new DetectedText(); + } + get [$boundingBox]() { + return this.boundingBox; + } + get [S$0.$cornerPoints]() { + return this.cornerPoints; + } + get [S$0.$rawValue]() { + return this.rawValue; + } +}; +dart.addTypeTests(html$.DetectedText); +dart.addTypeCaches(html$.DetectedText); +dart.setGetterSignature(html$.DetectedText, () => ({ + __proto__: dart.getGetters(html$.DetectedText.__proto__), + [$boundingBox]: dart.nullable(math.Rectangle$(core.num)), + [S$0.$cornerPoints]: dart.nullable(core.List), + [S$0.$rawValue]: dart.nullable(core.String) +})); +dart.setLibraryUri(html$.DetectedText, I[148]); +dart.registerExtension("DetectedText", html$.DetectedText); +html$.DeviceAcceleration = class DeviceAcceleration extends _interceptors.Interceptor { + get [S$.$x]() { + return this.x; + } + get [S$.$y]() { + return this.y; + } + get [S$.$z]() { + return this.z; + } +}; +dart.addTypeTests(html$.DeviceAcceleration); +dart.addTypeCaches(html$.DeviceAcceleration); +dart.setGetterSignature(html$.DeviceAcceleration, () => ({ + __proto__: dart.getGetters(html$.DeviceAcceleration.__proto__), + [S$.$x]: dart.nullable(core.num), + [S$.$y]: dart.nullable(core.num), + [S$.$z]: dart.nullable(core.num) +})); +dart.setLibraryUri(html$.DeviceAcceleration, I[148]); +dart.registerExtension("DeviceAcceleration", html$.DeviceAcceleration); +html$.DeviceMotionEvent = class DeviceMotionEvent$ extends html$.Event { + static new(type, eventInitDict = null) { + if (type == null) dart.nullFailed(I[147], 9480, 36, "type"); + if (eventInitDict != null) { + let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); + return html$.DeviceMotionEvent._create_1(type, eventInitDict_1); + } + return html$.DeviceMotionEvent._create_2(type); + } + static _create_1(type, eventInitDict) { + return new DeviceMotionEvent(type, eventInitDict); + } + static _create_2(type) { + return new DeviceMotionEvent(type); + } + get [S$0.$acceleration]() { + return this.acceleration; + } + get [S$0.$accelerationIncludingGravity]() { + return this.accelerationIncludingGravity; + } + get [S$0.$interval]() { + return this.interval; + } + get [S$0.$rotationRate]() { + return this.rotationRate; + } +}; +dart.addTypeTests(html$.DeviceMotionEvent); +dart.addTypeCaches(html$.DeviceMotionEvent); +dart.setGetterSignature(html$.DeviceMotionEvent, () => ({ + __proto__: dart.getGetters(html$.DeviceMotionEvent.__proto__), + [S$0.$acceleration]: dart.nullable(html$.DeviceAcceleration), + [S$0.$accelerationIncludingGravity]: dart.nullable(html$.DeviceAcceleration), + [S$0.$interval]: dart.nullable(core.num), + [S$0.$rotationRate]: dart.nullable(html$.DeviceRotationRate) +})); +dart.setLibraryUri(html$.DeviceMotionEvent, I[148]); +dart.registerExtension("DeviceMotionEvent", html$.DeviceMotionEvent); +html$.DeviceOrientationEvent = class DeviceOrientationEvent$ extends html$.Event { + static new(type, eventInitDict = null) { + if (type == null) dart.nullFailed(I[147], 9511, 41, "type"); + if (eventInitDict != null) { + let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); + return html$.DeviceOrientationEvent._create_1(type, eventInitDict_1); + } + return html$.DeviceOrientationEvent._create_2(type); + } + static _create_1(type, eventInitDict) { + return new DeviceOrientationEvent(type, eventInitDict); + } + static _create_2(type) { + return new DeviceOrientationEvent(type); + } + get [S$0.$absolute]() { + return this.absolute; + } + get [S$0.$alpha]() { + return this.alpha; + } + get [S$0.$beta]() { + return this.beta; + } + get [S$0.$gamma]() { + return this.gamma; + } +}; +dart.addTypeTests(html$.DeviceOrientationEvent); +dart.addTypeCaches(html$.DeviceOrientationEvent); +dart.setGetterSignature(html$.DeviceOrientationEvent, () => ({ + __proto__: dart.getGetters(html$.DeviceOrientationEvent.__proto__), + [S$0.$absolute]: dart.nullable(core.bool), + [S$0.$alpha]: dart.nullable(core.num), + [S$0.$beta]: dart.nullable(core.num), + [S$0.$gamma]: dart.nullable(core.num) +})); +dart.setLibraryUri(html$.DeviceOrientationEvent, I[148]); +dart.registerExtension("DeviceOrientationEvent", html$.DeviceOrientationEvent); +html$.DeviceRotationRate = class DeviceRotationRate extends _interceptors.Interceptor { + get [S$0.$alpha]() { + return this.alpha; + } + get [S$0.$beta]() { + return this.beta; + } + get [S$0.$gamma]() { + return this.gamma; + } +}; +dart.addTypeTests(html$.DeviceRotationRate); +dart.addTypeCaches(html$.DeviceRotationRate); +dart.setGetterSignature(html$.DeviceRotationRate, () => ({ + __proto__: dart.getGetters(html$.DeviceRotationRate.__proto__), + [S$0.$alpha]: dart.nullable(core.num), + [S$0.$beta]: dart.nullable(core.num), + [S$0.$gamma]: dart.nullable(core.num) +})); +dart.setLibraryUri(html$.DeviceRotationRate, I[148]); +dart.registerExtension("DeviceRotationRate", html$.DeviceRotationRate); +html$.DialogElement = class DialogElement extends html$.HtmlElement { + get [S.$open]() { + return this.open; + } + set [S.$open](value) { + this.open = value; + } + get [S$.$returnValue]() { + return this.returnValue; + } + set [S$.$returnValue](value) { + this.returnValue = value; + } + [S.$close](...args) { + return this.close.apply(this, args); + } + [S$0.$show](...args) { + return this.show.apply(this, args); + } + [S$0.$showModal](...args) { + return this.showModal.apply(this, args); + } +}; +(html$.DialogElement.created = function() { + html$.DialogElement.__proto__.created.call(this); + ; +}).prototype = html$.DialogElement.prototype; +dart.addTypeTests(html$.DialogElement); +dart.addTypeCaches(html$.DialogElement); +dart.setMethodSignature(html$.DialogElement, () => ({ + __proto__: dart.getMethods(html$.DialogElement.__proto__), + [S.$close]: dart.fnType(dart.void, [], [dart.nullable(core.String)]), + [S$0.$show]: dart.fnType(dart.void, []), + [S$0.$showModal]: dart.fnType(dart.void, []) +})); +dart.setGetterSignature(html$.DialogElement, () => ({ + __proto__: dart.getGetters(html$.DialogElement.__proto__), + [S.$open]: dart.nullable(core.bool), + [S$.$returnValue]: dart.nullable(core.String) +})); +dart.setSetterSignature(html$.DialogElement, () => ({ + __proto__: dart.getSetters(html$.DialogElement.__proto__), + [S.$open]: dart.nullable(core.bool), + [S$.$returnValue]: dart.nullable(core.String) +})); +dart.setLibraryUri(html$.DialogElement, I[148]); +dart.registerExtension("HTMLDialogElement", html$.DialogElement); +html$.Entry = class Entry extends _interceptors.Interceptor { + get [S$0.$filesystem]() { + return this.filesystem; + } + get [S$0.$fullPath]() { + return this.fullPath; + } + get [S$0.$isDirectory]() { + return this.isDirectory; + } + get [S$0.$isFile]() { + return this.isFile; + } + get [$name]() { + return this.name; + } + [S$0._copyTo](...args) { + return this.copyTo.apply(this, args); + } + [S$0.$copyTo](parent, opts) { + if (parent == null) dart.nullFailed(I[147], 15347, 39, "parent"); + let name = opts && 'name' in opts ? opts.name : null; + let completer = T$0.CompleterOfEntry().new(); + this[S$0._copyTo](parent, name, dart.fn(value => { + if (value == null) dart.nullFailed(I[147], 15349, 28, "value"); + completer.complete(value); + }, T$0.EntryTovoid()), dart.fn(error => { + if (error == null) dart.nullFailed(I[147], 15351, 9, "error"); + completer.completeError(error); + }, T$0.DomExceptionTovoid())); + return completer.future; + } + [S$0._getMetadata](...args) { + return this.getMetadata.apply(this, args); + } + [S$0.$getMetadata]() { + let completer = T$0.CompleterOfMetadata().new(); + this[S$0._getMetadata](dart.fn(value => { + if (value == null) dart.nullFailed(I[147], 15364, 19, "value"); + _js_helper.applyExtension("Metadata", value); + completer.complete(value); + }, T$0.MetadataTovoid()), dart.fn(error => { + if (error == null) dart.nullFailed(I[147], 15367, 9, "error"); + completer.completeError(error); + }, T$0.DomExceptionTovoid())); + return completer.future; + } + [S$0._getParent](...args) { + return this.getParent.apply(this, args); + } + [S$0.$getParent]() { + let completer = T$0.CompleterOfEntry().new(); + this[S$0._getParent](dart.fn(value => { + if (value == null) dart.nullFailed(I[147], 15380, 17, "value"); + _js_helper.applyExtension("Entry", value); + completer.complete(value); + }, T$0.EntryTovoid()), dart.fn(error => { + if (error == null) dart.nullFailed(I[147], 15383, 9, "error"); + completer.completeError(error); + }, T$0.DomExceptionTovoid())); + return completer.future; + } + [S$0._moveTo](...args) { + return this.moveTo.apply(this, args); + } + [S$.$moveTo](parent, opts) { + if (parent == null) dart.nullFailed(I[147], 15396, 39, "parent"); + let name = opts && 'name' in opts ? opts.name : null; + let completer = T$0.CompleterOfEntry().new(); + this[S$0._moveTo](parent, name, dart.fn(value => { + if (value == null) dart.nullFailed(I[147], 15398, 28, "value"); + completer.complete(value); + }, T$0.EntryTovoid()), dart.fn(error => { + if (error == null) dart.nullFailed(I[147], 15400, 9, "error"); + completer.completeError(error); + }, T$0.DomExceptionTovoid())); + return completer.future; + } + [S$0._remove$1](...args) { + return this.remove.apply(this, args); + } + [$remove]() { + let completer = async.Completer.new(); + this[S$0._remove$1](dart.fn(() => { + completer.complete(); + }, T$.VoidTovoid()), dart.fn(error => { + if (error == null) dart.nullFailed(I[147], 15415, 9, "error"); + completer.completeError(error); + }, T$0.DomExceptionTovoid())); + return completer.future; + } + [S$0.$toUrl](...args) { + return this.toURL.apply(this, args); + } +}; +dart.addTypeTests(html$.Entry); +dart.addTypeCaches(html$.Entry); +dart.setMethodSignature(html$.Entry, () => ({ + __proto__: dart.getMethods(html$.Entry.__proto__), + [S$0._copyTo]: dart.fnType(dart.void, [html$.DirectoryEntry], [dart.nullable(core.String), dart.nullable(dart.fnType(dart.void, [html$.Entry])), dart.nullable(dart.fnType(dart.void, [html$.DomException]))]), + [S$0.$copyTo]: dart.fnType(async.Future$(html$.Entry), [html$.DirectoryEntry], {name: dart.nullable(core.String)}, {}), + [S$0._getMetadata]: dart.fnType(dart.void, [dart.fnType(dart.void, [html$.Metadata])], [dart.nullable(dart.fnType(dart.void, [html$.DomException]))]), + [S$0.$getMetadata]: dart.fnType(async.Future$(html$.Metadata), []), + [S$0._getParent]: dart.fnType(dart.void, [], [dart.nullable(dart.fnType(dart.void, [html$.Entry])), dart.nullable(dart.fnType(dart.void, [html$.DomException]))]), + [S$0.$getParent]: dart.fnType(async.Future$(html$.Entry), []), + [S$0._moveTo]: dart.fnType(dart.void, [html$.DirectoryEntry], [dart.nullable(core.String), dart.nullable(dart.fnType(dart.void, [html$.Entry])), dart.nullable(dart.fnType(dart.void, [html$.DomException]))]), + [S$.$moveTo]: dart.fnType(async.Future$(html$.Entry), [html$.DirectoryEntry], {name: dart.nullable(core.String)}, {}), + [S$0._remove$1]: dart.fnType(dart.void, [dart.fnType(dart.void, [])], [dart.nullable(dart.fnType(dart.void, [html$.DomException]))]), + [$remove]: dart.fnType(async.Future, []), + [S$0.$toUrl]: dart.fnType(core.String, []) +})); +dart.setGetterSignature(html$.Entry, () => ({ + __proto__: dart.getGetters(html$.Entry.__proto__), + [S$0.$filesystem]: dart.nullable(html$.FileSystem), + [S$0.$fullPath]: dart.nullable(core.String), + [S$0.$isDirectory]: dart.nullable(core.bool), + [S$0.$isFile]: dart.nullable(core.bool), + [$name]: dart.nullable(core.String) +})); +dart.setLibraryUri(html$.Entry, I[148]); +dart.registerExtension("Entry", html$.Entry); +html$.DirectoryEntry = class DirectoryEntry extends html$.Entry { + [S$0.$createDirectory](path, opts) { + if (path == null) dart.nullFailed(I[147], 9594, 40, "path"); + let exclusive = opts && 'exclusive' in opts ? opts.exclusive : false; + if (exclusive == null) dart.nullFailed(I[147], 9594, 52, "exclusive"); + return this[S$0._getDirectory](path, {options: new _js_helper.LinkedMap.from(["create", true, "exclusive", exclusive])}); + } + [S$0.$createReader]() { + let reader = this[S$0._createReader](); + _js_helper.applyExtension("DirectoryReader", reader); + return reader; + } + [S$0.$getDirectory](path) { + if (path == null) dart.nullFailed(I[147], 9610, 37, "path"); + return this[S$0._getDirectory](path); + } + [S$0.$createFile](path, opts) { + if (path == null) dart.nullFailed(I[147], 9619, 35, "path"); + let exclusive = opts && 'exclusive' in opts ? opts.exclusive : false; + if (exclusive == null) dart.nullFailed(I[147], 9619, 47, "exclusive"); + return this[S$0._getFile](path, {options: new _js_helper.LinkedMap.from(["create", true, "exclusive", exclusive])}); + } + [S$0.$getFile](path) { + if (path == null) dart.nullFailed(I[147], 9628, 32, "path"); + return this[S$0._getFile](path); + } + [S$0._createReader](...args) { + return this.createReader.apply(this, args); + } + [S$0.__getDirectory](path, options = null, successCallback = null, errorCallback = null) { + if (errorCallback != null) { + let options_1 = html_common.convertDartToNative_Dictionary(options); + this[S$0.__getDirectory_1](path, options_1, successCallback, errorCallback); + return; + } + if (successCallback != null) { + let options_1 = html_common.convertDartToNative_Dictionary(options); + this[S$0.__getDirectory_2](path, options_1, successCallback); + return; + } + if (options != null) { + let options_1 = html_common.convertDartToNative_Dictionary(options); + this[S$0.__getDirectory_3](path, options_1); + return; + } + this[S$0.__getDirectory_4](path); + return; + } + [S$0.__getDirectory_1](...args) { + return this.getDirectory.apply(this, args); + } + [S$0.__getDirectory_2](...args) { + return this.getDirectory.apply(this, args); + } + [S$0.__getDirectory_3](...args) { + return this.getDirectory.apply(this, args); + } + [S$0.__getDirectory_4](...args) { + return this.getDirectory.apply(this, args); + } + [S$0._getDirectory](path, opts) { + let options = opts && 'options' in opts ? opts.options : null; + let completer = T$0.CompleterOfEntry().new(); + this[S$0.__getDirectory](path, options, dart.fn(value => { + if (value == null) dart.nullFailed(I[147], 9676, 36, "value"); + completer.complete(value); + }, T$0.EntryTovoid()), dart.fn(error => { + if (error == null) dart.nullFailed(I[147], 9678, 9, "error"); + completer.completeError(error); + }, T$0.DomExceptionTovoid())); + return completer.future; + } + [S$0.__getFile](path, options = null, successCallback = null, errorCallback = null) { + if (errorCallback != null) { + let options_1 = html_common.convertDartToNative_Dictionary(options); + this[S$0.__getFile_1](path, options_1, successCallback, errorCallback); + return; + } + if (successCallback != null) { + let options_1 = html_common.convertDartToNative_Dictionary(options); + this[S$0.__getFile_2](path, options_1, successCallback); + return; + } + if (options != null) { + let options_1 = html_common.convertDartToNative_Dictionary(options); + this[S$0.__getFile_3](path, options_1); + return; + } + this[S$0.__getFile_4](path); + return; + } + [S$0.__getFile_1](...args) { + return this.getFile.apply(this, args); + } + [S$0.__getFile_2](...args) { + return this.getFile.apply(this, args); + } + [S$0.__getFile_3](...args) { + return this.getFile.apply(this, args); + } + [S$0.__getFile_4](...args) { + return this.getFile.apply(this, args); + } + [S$0._getFile](path, opts) { + let options = opts && 'options' in opts ? opts.options : null; + let completer = T$0.CompleterOfEntry().new(); + this[S$0.__getFile](path, options, dart.fn(value => { + if (value == null) dart.nullFailed(I[147], 9720, 31, "value"); + _js_helper.applyExtension("FileEntry", value); + completer.complete(value); + }, T$0.EntryTovoid()), dart.fn(error => { + if (error == null) dart.nullFailed(I[147], 9723, 9, "error"); + completer.completeError(error); + }, T$0.DomExceptionTovoid())); + return completer.future; + } + [S$0._removeRecursively](...args) { + return this.removeRecursively.apply(this, args); + } + [S$0.$removeRecursively]() { + let completer = async.Completer.new(); + this[S$0._removeRecursively](dart.fn(() => { + completer.complete(); + }, T$.VoidTovoid()), dart.fn(error => { + if (error == null) dart.nullFailed(I[147], 9738, 9, "error"); + completer.completeError(error); + }, T$0.DomExceptionTovoid())); + return completer.future; + } +}; +dart.addTypeTests(html$.DirectoryEntry); +dart.addTypeCaches(html$.DirectoryEntry); +dart.setMethodSignature(html$.DirectoryEntry, () => ({ + __proto__: dart.getMethods(html$.DirectoryEntry.__proto__), + [S$0.$createDirectory]: dart.fnType(async.Future$(html$.Entry), [core.String], {exclusive: core.bool}, {}), + [S$0.$createReader]: dart.fnType(html$.DirectoryReader, []), + [S$0.$getDirectory]: dart.fnType(async.Future$(html$.Entry), [core.String]), + [S$0.$createFile]: dart.fnType(async.Future$(html$.Entry), [core.String], {exclusive: core.bool}, {}), + [S$0.$getFile]: dart.fnType(async.Future$(html$.Entry), [core.String]), + [S$0._createReader]: dart.fnType(html$.DirectoryReader, []), + [S$0.__getDirectory]: dart.fnType(dart.void, [dart.nullable(core.String)], [dart.nullable(core.Map), dart.nullable(dart.fnType(dart.void, [html$.Entry])), dart.nullable(dart.fnType(dart.void, [html$.DomException]))]), + [S$0.__getDirectory_1]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.nullable(dart.fnType(dart.void, [html$.Entry])), dart.nullable(dart.fnType(dart.void, [html$.DomException]))]), + [S$0.__getDirectory_2]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.nullable(dart.fnType(dart.void, [html$.Entry]))]), + [S$0.__getDirectory_3]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic]), + [S$0.__getDirectory_4]: dart.fnType(dart.void, [dart.dynamic]), + [S$0._getDirectory]: dart.fnType(async.Future$(html$.Entry), [dart.nullable(core.String)], {options: dart.nullable(core.Map)}, {}), + [S$0.__getFile]: dart.fnType(dart.void, [dart.nullable(core.String)], [dart.nullable(core.Map), dart.nullable(dart.fnType(dart.void, [html$.Entry])), dart.nullable(dart.fnType(dart.void, [html$.DomException]))]), + [S$0.__getFile_1]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.nullable(dart.fnType(dart.void, [html$.Entry])), dart.nullable(dart.fnType(dart.void, [html$.DomException]))]), + [S$0.__getFile_2]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.nullable(dart.fnType(dart.void, [html$.Entry]))]), + [S$0.__getFile_3]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic]), + [S$0.__getFile_4]: dart.fnType(dart.void, [dart.dynamic]), + [S$0._getFile]: dart.fnType(async.Future$(html$.Entry), [dart.nullable(core.String)], {options: dart.nullable(core.Map)}, {}), + [S$0._removeRecursively]: dart.fnType(dart.void, [dart.fnType(dart.void, [])], [dart.nullable(dart.fnType(dart.void, [html$.DomException]))]), + [S$0.$removeRecursively]: dart.fnType(async.Future, []) +})); +dart.setLibraryUri(html$.DirectoryEntry, I[148]); +dart.registerExtension("DirectoryEntry", html$.DirectoryEntry); +html$.DirectoryReader = class DirectoryReader extends _interceptors.Interceptor { + [S$0._readEntries](...args) { + return this.readEntries.apply(this, args); + } + [S$0.$readEntries]() { + let completer = T$0.CompleterOfListOfEntry().new(); + this[S$0._readEntries](dart.fn(values => { + if (values == null) dart.nullFailed(I[147], 9761, 19, "values"); + values[$forEach](dart.fn(value => { + _js_helper.applyExtension("Entry", value); + let entry = html$.Entry.as(value); + if (dart.nullCheck(entry.isFile)) + _js_helper.applyExtension("FileEntry", entry); + else if (dart.nullCheck(entry.isDirectory)) _js_helper.applyExtension("DirectoryEntry", entry); + }, T$.dynamicTovoid())); + completer.complete(T$0.ListOfEntry().from(values)); + }, T$0.ListTovoid()), dart.fn(error => { + if (error == null) dart.nullFailed(I[147], 9770, 9, "error"); + completer.completeError(error); + }, T$0.DomExceptionTovoid())); + return completer.future; + } +}; +dart.addTypeTests(html$.DirectoryReader); +dart.addTypeCaches(html$.DirectoryReader); +dart.setMethodSignature(html$.DirectoryReader, () => ({ + __proto__: dart.getMethods(html$.DirectoryReader.__proto__), + [S$0._readEntries]: dart.fnType(dart.void, [dart.fnType(dart.void, [core.List])], [dart.nullable(dart.fnType(dart.void, [html$.DomException]))]), + [S$0.$readEntries]: dart.fnType(async.Future$(core.List$(html$.Entry)), []) +})); +dart.setLibraryUri(html$.DirectoryReader, I[148]); +dart.registerExtension("DirectoryReader", html$.DirectoryReader); +html$.DivElement = class DivElement extends html$.HtmlElement { + static new() { + return html$.document.createElement("div"); + } +}; +(html$.DivElement.created = function() { + html$.DivElement.__proto__.created.call(this); + ; +}).prototype = html$.DivElement.prototype; +dart.addTypeTests(html$.DivElement); +dart.addTypeCaches(html$.DivElement); +dart.setLibraryUri(html$.DivElement, I[148]); +dart.registerExtension("HTMLDivElement", html$.DivElement); +html$.Document = class Document$ extends html$.Node { + static new() { + return html$.Document._create_1(); + } + static _create_1() { + return new Document(); + } + get [S$0.$addressSpace]() { + return this.addressSpace; + } + get [S$0._body]() { + return this.body; + } + set [S$0._body](value) { + this.body = value; + } + get [S$0.$contentType]() { + return this.contentType; + } + get [S$0.$cookie]() { + return this.cookie; + } + set [S$0.$cookie](value) { + this.cookie = value; + } + get [S$0.$currentScript]() { + return this.currentScript; + } + get [S$0.$window]() { + return html$._convertNativeToDart_Window(this[S$0._get_window]); + } + get [S$0._get_window]() { + return this.defaultView; + } + get [S$0.$documentElement]() { + return this.documentElement; + } + get [S$0.$domain]() { + return this.domain; + } + get [S$0.$fullscreenEnabled]() { + return this.fullscreenEnabled; + } + get [S$0._head$1]() { + return this.head; + } + get [S.$hidden]() { + return this.hidden; + } + get [S$0.$implementation]() { + return this.implementation; + } + get [S$0._lastModified]() { + return this.lastModified; + } + get [S$.$origin]() { + return this.origin; + } + get [S$0._preferredStylesheetSet]() { + return this.preferredStylesheetSet; + } + get [S.$readyState]() { + return this.readyState; + } + get [S$1._referrer]() { + return this.referrer; + } + get [S$1.$rootElement]() { + return this.rootElement; + } + get [S$1.$rootScroller]() { + return this.rootScroller; + } + set [S$1.$rootScroller](value) { + this.rootScroller = value; + } + get [S$1.$scrollingElement]() { + return this.scrollingElement; + } + get [S$1._selectedStylesheetSet]() { + return this.selectedStylesheetSet; + } + set [S$1._selectedStylesheetSet](value) { + this.selectedStylesheetSet = value; + } + get [S$1.$suborigin]() { + return this.suborigin; + } + get [S$.$timeline]() { + return this.timeline; + } + get [S$1._title]() { + return this.title; + } + set [S$1._title](value) { + this.title = value; + } + get [S$1._visibilityState]() { + return this.visibilityState; + } + get [S$1._webkitFullscreenElement]() { + return this.webkitFullscreenElement; + } + get [S$1._webkitFullscreenEnabled]() { + return this.webkitFullscreenEnabled; + } + get [S$1._webkitHidden]() { + return this.webkitHidden; + } + get [S$1._webkitVisibilityState]() { + return this.webkitVisibilityState; + } + [S$1.$adoptNode](...args) { + return this.adoptNode.apply(this, args); + } + [S$1._caretRangeFromPoint](...args) { + return this.caretRangeFromPoint.apply(this, args); + } + [S$1.$createDocumentFragment](...args) { + return this.createDocumentFragment.apply(this, args); + } + [S$1._createElement](...args) { + return this.createElement.apply(this, args); + } + [S$1._createElementNS](...args) { + return this.createElementNS.apply(this, args); + } + [S._createEvent](...args) { + return this.createEvent.apply(this, args); + } + [S$1.$createRange](...args) { + return this.createRange.apply(this, args); + } + [S$1._createTextNode](...args) { + return this.createTextNode.apply(this, args); + } + [S$1._createTouch](view, target, identifier, pageX, pageY, screenX, screenY, radiusX = null, radiusY = null, rotationAngle = null, force = null) { + if (view == null) dart.nullFailed(I[147], 10002, 29, "view"); + if (target == null) dart.nullFailed(I[147], 10002, 47, "target"); + if (identifier == null) dart.nullFailed(I[147], 10002, 59, "identifier"); + if (pageX == null) dart.nullFailed(I[147], 10002, 75, "pageX"); + if (pageY == null) dart.nullFailed(I[147], 10003, 11, "pageY"); + if (screenX == null) dart.nullFailed(I[147], 10003, 22, "screenX"); + if (screenY == null) dart.nullFailed(I[147], 10003, 35, "screenY"); + if (force != null) { + let target_1 = html$._convertDartToNative_EventTarget(target); + return this[S$1._createTouch_1](view, target_1, identifier, pageX, pageY, screenX, screenY, radiusX, radiusY, rotationAngle, force); + } + if (rotationAngle != null) { + let target_1 = html$._convertDartToNative_EventTarget(target); + return this[S$1._createTouch_2](view, target_1, identifier, pageX, pageY, screenX, screenY, radiusX, radiusY, rotationAngle); + } + if (radiusY != null) { + let target_1 = html$._convertDartToNative_EventTarget(target); + return this[S$1._createTouch_3](view, target_1, identifier, pageX, pageY, screenX, screenY, radiusX, radiusY); + } + if (radiusX != null) { + let target_1 = html$._convertDartToNative_EventTarget(target); + return this[S$1._createTouch_4](view, target_1, identifier, pageX, pageY, screenX, screenY, radiusX); + } + let target_1 = html$._convertDartToNative_EventTarget(target); + return this[S$1._createTouch_5](view, target_1, identifier, pageX, pageY, screenX, screenY); + } + [S$1._createTouch_1](...args) { + return this.createTouch.apply(this, args); + } + [S$1._createTouch_2](...args) { + return this.createTouch.apply(this, args); + } + [S$1._createTouch_3](...args) { + return this.createTouch.apply(this, args); + } + [S$1._createTouch_4](...args) { + return this.createTouch.apply(this, args); + } + [S$1._createTouch_5](...args) { + return this.createTouch.apply(this, args); + } + [S$1._createTouchList](...args) { + return this.createTouchList.apply(this, args); + } + [S$1.$execCommand](...args) { + return this.execCommand.apply(this, args); + } + [S$1.$exitFullscreen](...args) { + return this.exitFullscreen.apply(this, args); + } + [S$1.$exitPointerLock](...args) { + return this.exitPointerLock.apply(this, args); + } + [S.$getAnimations](...args) { + return this.getAnimations.apply(this, args); + } + [S.$getElementsByClassName](...args) { + return this.getElementsByClassName.apply(this, args); + } + [S$1.$getElementsByName](...args) { + return this.getElementsByName.apply(this, args); + } + [S$1.$getElementsByTagName](...args) { + return this.getElementsByTagName.apply(this, args); + } + [S$1.$importNode](...args) { + return this.importNode.apply(this, args); + } + [S$1.$queryCommandEnabled](...args) { + return this.queryCommandEnabled.apply(this, args); + } + [S$1.$queryCommandIndeterm](...args) { + return this.queryCommandIndeterm.apply(this, args); + } + [S$1.$queryCommandState](...args) { + return this.queryCommandState.apply(this, args); + } + [S$1.$queryCommandSupported](...args) { + return this.queryCommandSupported.apply(this, args); + } + [S$1.$queryCommandValue](...args) { + return this.queryCommandValue.apply(this, args); + } + [S$1.$registerElement2](type, options = null) { + if (type == null) dart.nullFailed(I[147], 10081, 36, "type"); + if (options != null) { + let options_1 = html_common.convertDartToNative_Dictionary(options); + return this[S$1._registerElement2_1](type, options_1); + } + return this[S$1._registerElement2_2](type); + } + [S$1._registerElement2_1](...args) { + return this.registerElement.apply(this, args); + } + [S$1._registerElement2_2](...args) { + return this.registerElement.apply(this, args); + } + [S$1._webkitExitFullscreen](...args) { + return this.webkitExitFullscreen.apply(this, args); + } + [S$1.$getElementById](...args) { + return this.getElementById.apply(this, args); + } + get [S$1.$activeElement]() { + return this.activeElement; + } + get [S$1.$fullscreenElement]() { + return this.fullscreenElement; + } + get [S$1.$pointerLockElement]() { + return this.pointerLockElement; + } + get [S$1._styleSheets]() { + return this.styleSheets; + } + [S$1._elementFromPoint](...args) { + return this.elementFromPoint.apply(this, args); + } + [S$1.$elementsFromPoint](...args) { + return this.elementsFromPoint.apply(this, args); + } + get [S$1.$fonts]() { + return this.fonts; + } + get [S._childElementCount]() { + return this.childElementCount; + } + get [S._children]() { + return this.children; + } + get [S._firstElementChild]() { + return this.firstElementChild; + } + get [S._lastElementChild]() { + return this.lastElementChild; + } + [S.$querySelector](...args) { + return this.querySelector.apply(this, args); + } + [S._querySelectorAll](...args) { + return this.querySelectorAll.apply(this, args); + } + get [S.$onAbort]() { + return html$.Element.abortEvent.forTarget(this); + } + get [S.$onBeforeCopy]() { + return html$.Element.beforeCopyEvent.forTarget(this); + } + get [S.$onBeforeCut]() { + return html$.Element.beforeCutEvent.forTarget(this); + } + get [S.$onBeforePaste]() { + return html$.Element.beforePasteEvent.forTarget(this); + } + get [S.$onBlur]() { + return html$.Element.blurEvent.forTarget(this); + } + get [S.$onCanPlay]() { + return html$.Element.canPlayEvent.forTarget(this); + } + get [S.$onCanPlayThrough]() { + return html$.Element.canPlayThroughEvent.forTarget(this); + } + get [S.$onChange]() { + return html$.Element.changeEvent.forTarget(this); + } + get [S.$onClick]() { + return html$.Element.clickEvent.forTarget(this); + } + get [S.$onContextMenu]() { + return html$.Element.contextMenuEvent.forTarget(this); + } + get [S.$onCopy]() { + return html$.Element.copyEvent.forTarget(this); + } + get [S.$onCut]() { + return html$.Element.cutEvent.forTarget(this); + } + get [S.$onDoubleClick]() { + return html$.Element.doubleClickEvent.forTarget(this); + } + get [S.$onDrag]() { + return html$.Element.dragEvent.forTarget(this); + } + get [S.$onDragEnd]() { + return html$.Element.dragEndEvent.forTarget(this); + } + get [S.$onDragEnter]() { + return html$.Element.dragEnterEvent.forTarget(this); + } + get [S.$onDragLeave]() { + return html$.Element.dragLeaveEvent.forTarget(this); + } + get [S.$onDragOver]() { + return html$.Element.dragOverEvent.forTarget(this); + } + get [S.$onDragStart]() { + return html$.Element.dragStartEvent.forTarget(this); + } + get [S.$onDrop]() { + return html$.Element.dropEvent.forTarget(this); + } + get [S.$onDurationChange]() { + return html$.Element.durationChangeEvent.forTarget(this); + } + get [S.$onEmptied]() { + return html$.Element.emptiedEvent.forTarget(this); + } + get [S.$onEnded]() { + return html$.Element.endedEvent.forTarget(this); + } + get [S.$onError]() { + return html$.Element.errorEvent.forTarget(this); + } + get [S.$onFocus]() { + return html$.Element.focusEvent.forTarget(this); + } + get [S.$onInput]() { + return html$.Element.inputEvent.forTarget(this); + } + get [S.$onInvalid]() { + return html$.Element.invalidEvent.forTarget(this); + } + get [S.$onKeyDown]() { + return html$.Element.keyDownEvent.forTarget(this); + } + get [S.$onKeyPress]() { + return html$.Element.keyPressEvent.forTarget(this); + } + get [S.$onKeyUp]() { + return html$.Element.keyUpEvent.forTarget(this); + } + get [S.$onLoad]() { + return html$.Element.loadEvent.forTarget(this); + } + get [S.$onLoadedData]() { + return html$.Element.loadedDataEvent.forTarget(this); + } + get [S.$onLoadedMetadata]() { + return html$.Element.loadedMetadataEvent.forTarget(this); + } + get [S.$onMouseDown]() { + return html$.Element.mouseDownEvent.forTarget(this); + } + get [S.$onMouseEnter]() { + return html$.Element.mouseEnterEvent.forTarget(this); + } + get [S.$onMouseLeave]() { + return html$.Element.mouseLeaveEvent.forTarget(this); + } + get [S.$onMouseMove]() { + return html$.Element.mouseMoveEvent.forTarget(this); + } + get [S.$onMouseOut]() { + return html$.Element.mouseOutEvent.forTarget(this); + } + get [S.$onMouseOver]() { + return html$.Element.mouseOverEvent.forTarget(this); + } + get [S.$onMouseUp]() { + return html$.Element.mouseUpEvent.forTarget(this); + } + get [S.$onMouseWheel]() { + return html$.Element.mouseWheelEvent.forTarget(this); + } + get [S.$onPaste]() { + return html$.Element.pasteEvent.forTarget(this); + } + get [S.$onPause]() { + return html$.Element.pauseEvent.forTarget(this); + } + get [S.$onPlay]() { + return html$.Element.playEvent.forTarget(this); + } + get [S.$onPlaying]() { + return html$.Element.playingEvent.forTarget(this); + } + get [S$1.$onPointerLockChange]() { + return html$.Document.pointerLockChangeEvent.forTarget(this); + } + get [S$1.$onPointerLockError]() { + return html$.Document.pointerLockErrorEvent.forTarget(this); + } + get [S.$onRateChange]() { + return html$.Element.rateChangeEvent.forTarget(this); + } + get [S$1.$onReadyStateChange]() { + return html$.Document.readyStateChangeEvent.forTarget(this); + } + get [S.$onReset]() { + return html$.Element.resetEvent.forTarget(this); + } + get [S.$onResize]() { + return html$.Element.resizeEvent.forTarget(this); + } + get [S.$onScroll]() { + return html$.Element.scrollEvent.forTarget(this); + } + get [S.$onSearch]() { + return html$.Element.searchEvent.forTarget(this); + } + get [S$1.$onSecurityPolicyViolation]() { + return html$.Document.securityPolicyViolationEvent.forTarget(this); + } + get [S.$onSeeked]() { + return html$.Element.seekedEvent.forTarget(this); + } + get [S.$onSeeking]() { + return html$.Element.seekingEvent.forTarget(this); + } + get [S.$onSelect]() { + return html$.Element.selectEvent.forTarget(this); + } + get [S$1.$onSelectionChange]() { + return html$.Document.selectionChangeEvent.forTarget(this); + } + get [S.$onSelectStart]() { + return html$.Element.selectStartEvent.forTarget(this); + } + get [S.$onStalled]() { + return html$.Element.stalledEvent.forTarget(this); + } + get [S.$onSubmit]() { + return html$.Element.submitEvent.forTarget(this); + } + get [S$.$onSuspend]() { + return html$.Element.suspendEvent.forTarget(this); + } + get [S$.$onTimeUpdate]() { + return html$.Element.timeUpdateEvent.forTarget(this); + } + get [S$.$onTouchCancel]() { + return html$.Element.touchCancelEvent.forTarget(this); + } + get [S$.$onTouchEnd]() { + return html$.Element.touchEndEvent.forTarget(this); + } + get [S$.$onTouchMove]() { + return html$.Element.touchMoveEvent.forTarget(this); + } + get [S$.$onTouchStart]() { + return html$.Element.touchStartEvent.forTarget(this); + } + get [S$.$onVolumeChange]() { + return html$.Element.volumeChangeEvent.forTarget(this); + } + get [S$.$onWaiting]() { + return html$.Element.waitingEvent.forTarget(this); + } + get [S$.$onFullscreenChange]() { + return html$.Element.fullscreenChangeEvent.forTarget(this); + } + get [S$.$onFullscreenError]() { + return html$.Element.fullscreenErrorEvent.forTarget(this); + } + [S.$querySelectorAll](T, selectors) { + if (selectors == null) dart.nullFailed(I[147], 10387, 61, "selectors"); + return new (html$._FrozenElementList$(T))._wrap(this[S._querySelectorAll](selectors)); + } + get [S$1.$supportsRegisterElement]() { + return "registerElement" in this; + } + get [S$1.$supportsRegister]() { + return this[S$1.$supportsRegisterElement]; + } + [S$1.$registerElement](tag, customElementClass, opts) { + if (tag == null) dart.nullFailed(I[147], 10399, 31, "tag"); + if (customElementClass == null) dart.nullFailed(I[147], 10399, 41, "customElementClass"); + let extendsTag = opts && 'extendsTag' in opts ? opts.extendsTag : null; + this[S$1.$registerElement2](tag, new _js_helper.LinkedMap.from(["prototype", customElementClass, "extends", extendsTag])); + } + [S.$createElement](tagName, typeExtension = null) { + if (tagName == null) dart.nullFailed(I[147], 10406, 32, "tagName"); + return html$.Element.as(typeExtension == null ? this[S$1._createElement_2](tagName) : this[S$1._createElement](tagName, typeExtension)); + } + [S$1._createElement_2](tagName) { + if (tagName == null) dart.nullFailed(I[147], 10414, 27, "tagName"); + return this.createElement(tagName); + } + [S$1._createElementNS_2](namespaceURI, qualifiedName) { + if (namespaceURI == null) dart.nullFailed(I[147], 10419, 29, "namespaceURI"); + if (qualifiedName == null) dart.nullFailed(I[147], 10419, 50, "qualifiedName"); + return this.createElementNS(namespaceURI, qualifiedName); + } + [S$1.$createElementNS](namespaceURI, qualifiedName, typeExtension = null) { + if (namespaceURI == null) dart.nullFailed(I[147], 10422, 34, "namespaceURI"); + if (qualifiedName == null) dart.nullFailed(I[147], 10422, 55, "qualifiedName"); + return html$.Element.as(typeExtension == null ? this[S$1._createElementNS_2](namespaceURI, qualifiedName) : this[S$1._createElementNS](namespaceURI, qualifiedName, typeExtension)); + } + [S$1._createNodeIterator](root, whatToShow = null, filter = null) { + if (root == null) dart.nullFailed(I[147], 10429, 41, "root"); + return this.createNodeIterator(root, whatToShow, filter, false); + } + [S$1._createTreeWalker](root, whatToShow = null, filter = null) { + if (root == null) dart.nullFailed(I[147], 10434, 37, "root"); + return this.createTreeWalker(root, whatToShow, filter, false); + } + get [S$1.$visibilityState]() { + return this.visibilityState || this.mozVisibilityState || this.msVisibilityState || this.webkitVisibilityState; + } +}; +dart.addTypeTests(html$.Document); +dart.addTypeCaches(html$.Document); +dart.setMethodSignature(html$.Document, () => ({ + __proto__: dart.getMethods(html$.Document.__proto__), + [S$1.$adoptNode]: dart.fnType(html$.Node, [html$.Node]), + [S$1._caretRangeFromPoint]: dart.fnType(html$.Range, [dart.nullable(core.int), dart.nullable(core.int)]), + [S$1.$createDocumentFragment]: dart.fnType(html$.DocumentFragment, []), + [S$1._createElement]: dart.fnType(html$.Element, [core.String], [dart.dynamic]), + [S$1._createElementNS]: dart.fnType(html$.Element, [dart.nullable(core.String), core.String], [dart.dynamic]), + [S._createEvent]: dart.fnType(html$.Event, [core.String]), + [S$1.$createRange]: dart.fnType(html$.Range, []), + [S$1._createTextNode]: dart.fnType(html$.Text, [core.String]), + [S$1._createTouch]: dart.fnType(html$.Touch, [html$.Window, html$.EventTarget, core.int, core.num, core.num, core.num, core.num], [dart.nullable(core.num), dart.nullable(core.num), dart.nullable(core.num), dart.nullable(core.num)]), + [S$1._createTouch_1]: dart.fnType(html$.Touch, [html$.Window, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic]), + [S$1._createTouch_2]: dart.fnType(html$.Touch, [html$.Window, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic]), + [S$1._createTouch_3]: dart.fnType(html$.Touch, [html$.Window, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic]), + [S$1._createTouch_4]: dart.fnType(html$.Touch, [html$.Window, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic]), + [S$1._createTouch_5]: dart.fnType(html$.Touch, [html$.Window, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic]), + [S$1._createTouchList]: dart.fnType(html$.TouchList, [html$.Touch]), + [S$1.$execCommand]: dart.fnType(core.bool, [core.String], [dart.nullable(core.bool), dart.nullable(core.String)]), + [S$1.$exitFullscreen]: dart.fnType(dart.void, []), + [S$1.$exitPointerLock]: dart.fnType(dart.void, []), + [S.$getAnimations]: dart.fnType(core.List$(html$.Animation), []), + [S.$getElementsByClassName]: dart.fnType(core.List$(html$.Node), [core.String]), + [S$1.$getElementsByName]: dart.fnType(core.List$(html$.Node), [core.String]), + [S$1.$getElementsByTagName]: dart.fnType(core.List$(html$.Node), [core.String]), + [S$1.$importNode]: dart.fnType(html$.Node, [html$.Node], [dart.nullable(core.bool)]), + [S$1.$queryCommandEnabled]: dart.fnType(core.bool, [core.String]), + [S$1.$queryCommandIndeterm]: dart.fnType(core.bool, [core.String]), + [S$1.$queryCommandState]: dart.fnType(core.bool, [core.String]), + [S$1.$queryCommandSupported]: dart.fnType(core.bool, [core.String]), + [S$1.$queryCommandValue]: dart.fnType(core.String, [core.String]), + [S$1.$registerElement2]: dart.fnType(core.Function, [core.String], [dart.nullable(core.Map)]), + [S$1._registerElement2_1]: dart.fnType(core.Function, [dart.dynamic, dart.dynamic]), + [S$1._registerElement2_2]: dart.fnType(core.Function, [dart.dynamic]), + [S$1._webkitExitFullscreen]: dart.fnType(dart.void, []), + [S$1.$getElementById]: dart.fnType(dart.nullable(html$.Element), [core.String]), + [S$1._elementFromPoint]: dart.fnType(dart.nullable(html$.Element), [core.int, core.int]), + [S$1.$elementsFromPoint]: dart.fnType(core.List$(html$.Element), [core.int, core.int]), + [S.$querySelector]: dart.fnType(dart.nullable(html$.Element), [core.String]), + [S._querySelectorAll]: dart.fnType(core.List$(html$.Node), [core.String]), + [S.$querySelectorAll]: dart.gFnType(T => [html$.ElementList$(T), [core.String]], T => [html$.Element]), + [S$1.$registerElement]: dart.fnType(dart.void, [core.String, core.Type], {extendsTag: dart.nullable(core.String)}, {}), + [S.$createElement]: dart.fnType(html$.Element, [core.String], [dart.nullable(core.String)]), + [S$1._createElement_2]: dart.fnType(dart.dynamic, [core.String]), + [S$1._createElementNS_2]: dart.fnType(dart.dynamic, [core.String, core.String]), + [S$1.$createElementNS]: dart.fnType(html$.Element, [core.String, core.String], [dart.nullable(core.String)]), + [S$1._createNodeIterator]: dart.fnType(html$.NodeIterator, [html$.Node], [dart.nullable(core.int), dart.nullable(html$.NodeFilter)]), + [S$1._createTreeWalker]: dart.fnType(html$.TreeWalker, [html$.Node], [dart.nullable(core.int), dart.nullable(html$.NodeFilter)]) +})); +dart.setGetterSignature(html$.Document, () => ({ + __proto__: dart.getGetters(html$.Document.__proto__), + [S$0.$addressSpace]: dart.nullable(core.String), + [S$0._body]: dart.nullable(html$.HtmlElement), + [S$0.$contentType]: dart.nullable(core.String), + [S$0.$cookie]: dart.nullable(core.String), + [S$0.$currentScript]: dart.nullable(html$.ScriptElement), + [S$0.$window]: dart.nullable(html$.WindowBase), + [S$0._get_window]: dart.dynamic, + [S$0.$documentElement]: dart.nullable(html$.Element), + [S$0.$domain]: dart.nullable(core.String), + [S$0.$fullscreenEnabled]: dart.nullable(core.bool), + [S$0._head$1]: dart.nullable(html$.HeadElement), + [S.$hidden]: dart.nullable(core.bool), + [S$0.$implementation]: dart.nullable(html$.DomImplementation), + [S$0._lastModified]: dart.nullable(core.String), + [S$.$origin]: dart.nullable(core.String), + [S$0._preferredStylesheetSet]: dart.nullable(core.String), + [S.$readyState]: dart.nullable(core.String), + [S$1._referrer]: core.String, + [S$1.$rootElement]: dart.nullable(svg$.SvgSvgElement), + [S$1.$rootScroller]: dart.nullable(html$.Element), + [S$1.$scrollingElement]: dart.nullable(html$.Element), + [S$1._selectedStylesheetSet]: dart.nullable(core.String), + [S$1.$suborigin]: dart.nullable(core.String), + [S$.$timeline]: dart.nullable(html$.DocumentTimeline), + [S$1._title]: core.String, + [S$1._visibilityState]: dart.nullable(core.String), + [S$1._webkitFullscreenElement]: dart.nullable(html$.Element), + [S$1._webkitFullscreenEnabled]: dart.nullable(core.bool), + [S$1._webkitHidden]: dart.nullable(core.bool), + [S$1._webkitVisibilityState]: dart.nullable(core.String), + [S$1.$activeElement]: dart.nullable(html$.Element), + [S$1.$fullscreenElement]: dart.nullable(html$.Element), + [S$1.$pointerLockElement]: dart.nullable(html$.Element), + [S$1._styleSheets]: dart.nullable(core.List$(html$.StyleSheet)), + [S$1.$fonts]: dart.nullable(html$.FontFaceSet), + [S._childElementCount]: core.int, + [S._children]: dart.nullable(core.List$(html$.Node)), + [S._firstElementChild]: dart.nullable(html$.Element), + [S._lastElementChild]: dart.nullable(html$.Element), + [S.$onAbort]: async.Stream$(html$.Event), + [S.$onBeforeCopy]: async.Stream$(html$.Event), + [S.$onBeforeCut]: async.Stream$(html$.Event), + [S.$onBeforePaste]: async.Stream$(html$.Event), + [S.$onBlur]: async.Stream$(html$.Event), + [S.$onCanPlay]: async.Stream$(html$.Event), + [S.$onCanPlayThrough]: async.Stream$(html$.Event), + [S.$onChange]: async.Stream$(html$.Event), + [S.$onClick]: async.Stream$(html$.MouseEvent), + [S.$onContextMenu]: async.Stream$(html$.MouseEvent), + [S.$onCopy]: async.Stream$(html$.ClipboardEvent), + [S.$onCut]: async.Stream$(html$.ClipboardEvent), + [S.$onDoubleClick]: async.Stream$(html$.Event), + [S.$onDrag]: async.Stream$(html$.MouseEvent), + [S.$onDragEnd]: async.Stream$(html$.MouseEvent), + [S.$onDragEnter]: async.Stream$(html$.MouseEvent), + [S.$onDragLeave]: async.Stream$(html$.MouseEvent), + [S.$onDragOver]: async.Stream$(html$.MouseEvent), + [S.$onDragStart]: async.Stream$(html$.MouseEvent), + [S.$onDrop]: async.Stream$(html$.MouseEvent), + [S.$onDurationChange]: async.Stream$(html$.Event), + [S.$onEmptied]: async.Stream$(html$.Event), + [S.$onEnded]: async.Stream$(html$.Event), + [S.$onError]: async.Stream$(html$.Event), + [S.$onFocus]: async.Stream$(html$.Event), + [S.$onInput]: async.Stream$(html$.Event), + [S.$onInvalid]: async.Stream$(html$.Event), + [S.$onKeyDown]: async.Stream$(html$.KeyboardEvent), + [S.$onKeyPress]: async.Stream$(html$.KeyboardEvent), + [S.$onKeyUp]: async.Stream$(html$.KeyboardEvent), + [S.$onLoad]: async.Stream$(html$.Event), + [S.$onLoadedData]: async.Stream$(html$.Event), + [S.$onLoadedMetadata]: async.Stream$(html$.Event), + [S.$onMouseDown]: async.Stream$(html$.MouseEvent), + [S.$onMouseEnter]: async.Stream$(html$.MouseEvent), + [S.$onMouseLeave]: async.Stream$(html$.MouseEvent), + [S.$onMouseMove]: async.Stream$(html$.MouseEvent), + [S.$onMouseOut]: async.Stream$(html$.MouseEvent), + [S.$onMouseOver]: async.Stream$(html$.MouseEvent), + [S.$onMouseUp]: async.Stream$(html$.MouseEvent), + [S.$onMouseWheel]: async.Stream$(html$.WheelEvent), + [S.$onPaste]: async.Stream$(html$.ClipboardEvent), + [S.$onPause]: async.Stream$(html$.Event), + [S.$onPlay]: async.Stream$(html$.Event), + [S.$onPlaying]: async.Stream$(html$.Event), + [S$1.$onPointerLockChange]: async.Stream$(html$.Event), + [S$1.$onPointerLockError]: async.Stream$(html$.Event), + [S.$onRateChange]: async.Stream$(html$.Event), + [S$1.$onReadyStateChange]: async.Stream$(html$.Event), + [S.$onReset]: async.Stream$(html$.Event), + [S.$onResize]: async.Stream$(html$.Event), + [S.$onScroll]: async.Stream$(html$.Event), + [S.$onSearch]: async.Stream$(html$.Event), + [S$1.$onSecurityPolicyViolation]: async.Stream$(html$.SecurityPolicyViolationEvent), + [S.$onSeeked]: async.Stream$(html$.Event), + [S.$onSeeking]: async.Stream$(html$.Event), + [S.$onSelect]: async.Stream$(html$.Event), + [S$1.$onSelectionChange]: async.Stream$(html$.Event), + [S.$onSelectStart]: async.Stream$(html$.Event), + [S.$onStalled]: async.Stream$(html$.Event), + [S.$onSubmit]: async.Stream$(html$.Event), + [S$.$onSuspend]: async.Stream$(html$.Event), + [S$.$onTimeUpdate]: async.Stream$(html$.Event), + [S$.$onTouchCancel]: async.Stream$(html$.TouchEvent), + [S$.$onTouchEnd]: async.Stream$(html$.TouchEvent), + [S$.$onTouchMove]: async.Stream$(html$.TouchEvent), + [S$.$onTouchStart]: async.Stream$(html$.TouchEvent), + [S$.$onVolumeChange]: async.Stream$(html$.Event), + [S$.$onWaiting]: async.Stream$(html$.Event), + [S$.$onFullscreenChange]: async.Stream$(html$.Event), + [S$.$onFullscreenError]: async.Stream$(html$.Event), + [S$1.$supportsRegisterElement]: core.bool, + [S$1.$supportsRegister]: core.bool, + [S$1.$visibilityState]: core.String +})); +dart.setSetterSignature(html$.Document, () => ({ + __proto__: dart.getSetters(html$.Document.__proto__), + [S$0._body]: dart.nullable(html$.HtmlElement), + [S$0.$cookie]: dart.nullable(core.String), + [S$1.$rootScroller]: dart.nullable(html$.Element), + [S$1._selectedStylesheetSet]: dart.nullable(core.String), + [S$1._title]: core.String +})); +dart.setLibraryUri(html$.Document, I[148]); +dart.defineLazy(html$.Document, { + /*html$.Document.pointerLockChangeEvent*/get pointerLockChangeEvent() { + return C[322] || CT.C322; + }, + /*html$.Document.pointerLockErrorEvent*/get pointerLockErrorEvent() { + return C[323] || CT.C323; + }, + /*html$.Document.readyStateChangeEvent*/get readyStateChangeEvent() { + return C[324] || CT.C324; + }, + /*html$.Document.securityPolicyViolationEvent*/get securityPolicyViolationEvent() { + return C[325] || CT.C325; + }, + /*html$.Document.selectionChangeEvent*/get selectionChangeEvent() { + return C[326] || CT.C326; + } +}, false); +dart.registerExtension("Document", html$.Document); +html$.DocumentFragment = class DocumentFragment extends html$.Node { + get [S$1._docChildren]() { + return this._docChildren; + } + set [S$1._docChildren](value) { + this._docChildren = value; + } + static new() { + return html$.document.createDocumentFragment(); + } + static html(html, opts) { + let validator = opts && 'validator' in opts ? opts.validator : null; + let treeSanitizer = opts && 'treeSanitizer' in opts ? opts.treeSanitizer : null; + return dart.nullCheck(html$.document.body)[S.$createFragment](html, {validator: validator, treeSanitizer: treeSanitizer}); + } + static svg(svgContent, opts) { + let validator = opts && 'validator' in opts ? opts.validator : null; + let treeSanitizer = opts && 'treeSanitizer' in opts ? opts.treeSanitizer : null; + return svg$.SvgSvgElement.new()[S.$createFragment](svgContent, {validator: validator, treeSanitizer: treeSanitizer}); + } + get [S._children]() { + return dart.throw(new core.UnimplementedError.new("Use _docChildren instead")); + } + get [S.$children]() { + if (this[S$1._docChildren] == null) { + this[S$1._docChildren] = new html_common.FilteredElementList.new(this); + } + return dart.nullCheck(this[S$1._docChildren]); + } + set [S.$children](value) { + if (value == null) dart.nullFailed(I[147], 10487, 30, "value"); + let copy = value[$toList](); + let children = this[S.$children]; + children[$clear](); + children[$addAll](copy); + } + [S.$querySelectorAll](T, selectors) { + if (selectors == null) dart.nullFailed(I[147], 10506, 61, "selectors"); + return new (html$._FrozenElementList$(T))._wrap(this[S._querySelectorAll](selectors)); + } + get [S.$innerHtml]() { + let e = html$.DivElement.new(); + e[S.$append](this[S$.$clone](true)); + return e[S.$innerHtml]; + } + set [S.$innerHtml](value) { + this[S.$setInnerHtml](value); + } + [S.$setInnerHtml](html, opts) { + let validator = opts && 'validator' in opts ? opts.validator : null; + let treeSanitizer = opts && 'treeSanitizer' in opts ? opts.treeSanitizer : null; + this[S.$nodes][$clear](); + this[S.$append](dart.nullCheck(html$.document.body)[S.$createFragment](html, {validator: validator, treeSanitizer: treeSanitizer})); + } + [S.$appendText](text) { + if (text == null) dart.nullFailed(I[147], 10533, 26, "text"); + this[S.$append](html$.Text.new(text)); + } + [S.$appendHtml](text, opts) { + if (text == null) dart.nullFailed(I[147], 10541, 26, "text"); + let validator = opts && 'validator' in opts ? opts.validator : null; + let treeSanitizer = opts && 'treeSanitizer' in opts ? opts.treeSanitizer : null; + this[S.$append](html$.DocumentFragment.html(text, {validator: validator, treeSanitizer: treeSanitizer})); + } + [S$1.$getElementById](...args) { + return this.getElementById.apply(this, args); + } + get [S._childElementCount]() { + return this.childElementCount; + } + get [S._firstElementChild]() { + return this.firstElementChild; + } + get [S._lastElementChild]() { + return this.lastElementChild; + } + [S.$querySelector](...args) { + return this.querySelector.apply(this, args); + } + [S._querySelectorAll](...args) { + return this.querySelectorAll.apply(this, args); + } +}; +dart.addTypeTests(html$.DocumentFragment); +dart.addTypeCaches(html$.DocumentFragment); +html$.DocumentFragment[dart.implements] = () => [html$.NonElementParentNode, html$.ParentNode]; +dart.setMethodSignature(html$.DocumentFragment, () => ({ + __proto__: dart.getMethods(html$.DocumentFragment.__proto__), + [S.$querySelectorAll]: dart.gFnType(T => [html$.ElementList$(T), [core.String]], T => [html$.Element]), + [S.$setInnerHtml]: dart.fnType(dart.void, [dart.nullable(core.String)], {treeSanitizer: dart.nullable(html$.NodeTreeSanitizer), validator: dart.nullable(html$.NodeValidator)}, {}), + [S.$appendText]: dart.fnType(dart.void, [core.String]), + [S.$appendHtml]: dart.fnType(dart.void, [core.String], {treeSanitizer: dart.nullable(html$.NodeTreeSanitizer), validator: dart.nullable(html$.NodeValidator)}, {}), + [S$1.$getElementById]: dart.fnType(dart.nullable(html$.Element), [core.String]), + [S.$querySelector]: dart.fnType(dart.nullable(html$.Element), [core.String]), + [S._querySelectorAll]: dart.fnType(core.List$(html$.Node), [core.String]) +})); +dart.setGetterSignature(html$.DocumentFragment, () => ({ + __proto__: dart.getGetters(html$.DocumentFragment.__proto__), + [S._children]: html$.HtmlCollection, + [S.$children]: core.List$(html$.Element), + [S.$innerHtml]: dart.nullable(core.String), + [S._childElementCount]: core.int, + [S._firstElementChild]: dart.nullable(html$.Element), + [S._lastElementChild]: dart.nullable(html$.Element) +})); +dart.setSetterSignature(html$.DocumentFragment, () => ({ + __proto__: dart.getSetters(html$.DocumentFragment.__proto__), + [S.$children]: core.List$(html$.Element), + [S.$innerHtml]: dart.nullable(core.String) +})); +dart.setLibraryUri(html$.DocumentFragment, I[148]); +dart.setFieldSignature(html$.DocumentFragment, () => ({ + __proto__: dart.getFields(html$.DocumentFragment.__proto__), + [S$1._docChildren]: dart.fieldType(dart.nullable(core.List$(html$.Element))) +})); +dart.registerExtension("DocumentFragment", html$.DocumentFragment); +html$.DocumentOrShadowRoot = class DocumentOrShadowRoot extends _interceptors.Interceptor { + get [S$1.$activeElement]() { + return this.activeElement; + } + get [S$1.$fullscreenElement]() { + return this.fullscreenElement; + } + get [S$1.$pointerLockElement]() { + return this.pointerLockElement; + } + get [S$1.$styleSheets]() { + return this.styleSheets; + } + [S$1.$elementFromPoint](...args) { + return this.elementFromPoint.apply(this, args); + } + [S$1.$elementsFromPoint](...args) { + return this.elementsFromPoint.apply(this, args); + } + [S$1.$getSelection](...args) { + return this.getSelection.apply(this, args); + } +}; +dart.addTypeTests(html$.DocumentOrShadowRoot); +dart.addTypeCaches(html$.DocumentOrShadowRoot); +dart.setMethodSignature(html$.DocumentOrShadowRoot, () => ({ + __proto__: dart.getMethods(html$.DocumentOrShadowRoot.__proto__), + [S$1.$elementFromPoint]: dart.fnType(dart.nullable(html$.Element), [core.int, core.int]), + [S$1.$elementsFromPoint]: dart.fnType(core.List$(html$.Element), [core.int, core.int]), + [S$1.$getSelection]: dart.fnType(dart.nullable(html$.Selection), []) +})); +dart.setGetterSignature(html$.DocumentOrShadowRoot, () => ({ + __proto__: dart.getGetters(html$.DocumentOrShadowRoot.__proto__), + [S$1.$activeElement]: dart.nullable(html$.Element), + [S$1.$fullscreenElement]: dart.nullable(html$.Element), + [S$1.$pointerLockElement]: dart.nullable(html$.Element), + [S$1.$styleSheets]: dart.nullable(core.List$(html$.StyleSheet)) +})); +dart.setLibraryUri(html$.DocumentOrShadowRoot, I[148]); +dart.registerExtension("DocumentOrShadowRoot", html$.DocumentOrShadowRoot); +html$.DocumentTimeline = class DocumentTimeline$ extends html$.AnimationTimeline { + static new(options = null) { + if (options != null) { + let options_1 = html_common.convertDartToNative_Dictionary(options); + return html$.DocumentTimeline._create_1(options_1); + } + return html$.DocumentTimeline._create_2(); + } + static _create_1(options) { + return new DocumentTimeline(options); + } + static _create_2() { + return new DocumentTimeline(); + } +}; +dart.addTypeTests(html$.DocumentTimeline); +dart.addTypeCaches(html$.DocumentTimeline); +dart.setLibraryUri(html$.DocumentTimeline, I[148]); +dart.registerExtension("DocumentTimeline", html$.DocumentTimeline); +html$.DomError = class DomError extends _interceptors.Interceptor { + static new(name, message = null) { + if (name == null) dart.nullFailed(I[147], 10647, 27, "name"); + if (message != null) { + return html$.DomError._create_1(name, message); + } + return html$.DomError._create_2(name); + } + static _create_1(name, message) { + return new DOMError(name, message); + } + static _create_2(name) { + return new DOMError(name); + } + get [$message]() { + return this.message; + } + get [$name]() { + return this.name; + } +}; +dart.addTypeTests(html$.DomError); +dart.addTypeCaches(html$.DomError); +dart.setGetterSignature(html$.DomError, () => ({ + __proto__: dart.getGetters(html$.DomError.__proto__), + [$message]: dart.nullable(core.String), + [$name]: dart.nullable(core.String) +})); +dart.setLibraryUri(html$.DomError, I[148]); +dart.registerExtension("DOMError", html$.DomError); +html$.DomException = class DomException extends _interceptors.Interceptor { + get [$name]() { + let errorName = this.name; + if (dart.test(html_common.Device.isWebKit) && errorName[$_equals]("SECURITY_ERR")) return "SecurityError"; + if (dart.test(html_common.Device.isWebKit) && errorName[$_equals]("SYNTAX_ERR")) return "SyntaxError"; + return core.String.as(errorName); + } + get [$message]() { + return this.message; + } + [$toString]() { + return String(this); + } +}; +dart.addTypeTests(html$.DomException); +dart.addTypeCaches(html$.DomException); +dart.setGetterSignature(html$.DomException, () => ({ + __proto__: dart.getGetters(html$.DomException.__proto__), + [$name]: core.String, + [$message]: dart.nullable(core.String) +})); +dart.setLibraryUri(html$.DomException, I[148]); +dart.defineLazy(html$.DomException, { + /*html$.DomException.INDEX_SIZE*/get INDEX_SIZE() { + return "IndexSizeError"; + }, + /*html$.DomException.HIERARCHY_REQUEST*/get HIERARCHY_REQUEST() { + return "HierarchyRequestError"; + }, + /*html$.DomException.WRONG_DOCUMENT*/get WRONG_DOCUMENT() { + return "WrongDocumentError"; + }, + /*html$.DomException.INVALID_CHARACTER*/get INVALID_CHARACTER() { + return "InvalidCharacterError"; + }, + /*html$.DomException.NO_MODIFICATION_ALLOWED*/get NO_MODIFICATION_ALLOWED() { + return "NoModificationAllowedError"; + }, + /*html$.DomException.NOT_FOUND*/get NOT_FOUND() { + return "NotFoundError"; + }, + /*html$.DomException.NOT_SUPPORTED*/get NOT_SUPPORTED() { + return "NotSupportedError"; + }, + /*html$.DomException.INVALID_STATE*/get INVALID_STATE() { + return "InvalidStateError"; + }, + /*html$.DomException.SYNTAX*/get SYNTAX() { + return "SyntaxError"; + }, + /*html$.DomException.INVALID_MODIFICATION*/get INVALID_MODIFICATION() { + return "InvalidModificationError"; + }, + /*html$.DomException.NAMESPACE*/get NAMESPACE() { + return "NamespaceError"; + }, + /*html$.DomException.INVALID_ACCESS*/get INVALID_ACCESS() { + return "InvalidAccessError"; + }, + /*html$.DomException.TYPE_MISMATCH*/get TYPE_MISMATCH() { + return "TypeMismatchError"; + }, + /*html$.DomException.SECURITY*/get SECURITY() { + return "SecurityError"; + }, + /*html$.DomException.NETWORK*/get NETWORK() { + return "NetworkError"; + }, + /*html$.DomException.ABORT*/get ABORT() { + return "AbortError"; + }, + /*html$.DomException.URL_MISMATCH*/get URL_MISMATCH() { + return "URLMismatchError"; + }, + /*html$.DomException.QUOTA_EXCEEDED*/get QUOTA_EXCEEDED() { + return "QuotaExceededError"; + }, + /*html$.DomException.TIMEOUT*/get TIMEOUT() { + return "TimeoutError"; + }, + /*html$.DomException.INVALID_NODE_TYPE*/get INVALID_NODE_TYPE() { + return "InvalidNodeTypeError"; + }, + /*html$.DomException.DATA_CLONE*/get DATA_CLONE() { + return "DataCloneError"; + }, + /*html$.DomException.ENCODING*/get ENCODING() { + return "EncodingError"; + }, + /*html$.DomException.NOT_READABLE*/get NOT_READABLE() { + return "NotReadableError"; + }, + /*html$.DomException.UNKNOWN*/get UNKNOWN() { + return "UnknownError"; + }, + /*html$.DomException.CONSTRAINT*/get CONSTRAINT() { + return "ConstraintError"; + }, + /*html$.DomException.TRANSACTION_INACTIVE*/get TRANSACTION_INACTIVE() { + return "TransactionInactiveError"; + }, + /*html$.DomException.READ_ONLY*/get READ_ONLY() { + return "ReadOnlyError"; + }, + /*html$.DomException.VERSION*/get VERSION() { + return "VersionError"; + }, + /*html$.DomException.OPERATION*/get OPERATION() { + return "OperationError"; + }, + /*html$.DomException.NOT_ALLOWED*/get NOT_ALLOWED() { + return "NotAllowedError"; + }, + /*html$.DomException.TYPE_ERROR*/get TYPE_ERROR() { + return "TypeError"; + } +}, false); +dart.registerExtension("DOMException", html$.DomException); +html$.DomImplementation = class DomImplementation extends _interceptors.Interceptor { + [S$1.$createDocument](...args) { + return this.createDocument.apply(this, args); + } + [S$1.$createDocumentType](...args) { + return this.createDocumentType.apply(this, args); + } + [S.$createHtmlDocument](...args) { + return this.createHTMLDocument.apply(this, args); + } + [S$1.$hasFeature](...args) { + return this.hasFeature.apply(this, args); + } +}; +dart.addTypeTests(html$.DomImplementation); +dart.addTypeCaches(html$.DomImplementation); +dart.setMethodSignature(html$.DomImplementation, () => ({ + __proto__: dart.getMethods(html$.DomImplementation.__proto__), + [S$1.$createDocument]: dart.fnType(html$.XmlDocument, [dart.nullable(core.String), core.String, dart.nullable(html$._DocumentType)]), + [S$1.$createDocumentType]: dart.fnType(html$._DocumentType, [core.String, core.String, core.String]), + [S.$createHtmlDocument]: dart.fnType(html$.HtmlDocument, [], [dart.nullable(core.String)]), + [S$1.$hasFeature]: dart.fnType(core.bool, []) +})); +dart.setLibraryUri(html$.DomImplementation, I[148]); +dart.registerExtension("DOMImplementation", html$.DomImplementation); +html$.DomIterator = class DomIterator extends _interceptors.Interceptor { + [S.$next](...args) { + return this.next.apply(this, args); + } +}; +dart.addTypeTests(html$.DomIterator); +dart.addTypeCaches(html$.DomIterator); +dart.setMethodSignature(html$.DomIterator, () => ({ + __proto__: dart.getMethods(html$.DomIterator.__proto__), + [S.$next]: dart.fnType(dart.nullable(core.Object), [], [dart.nullable(core.Object)]) +})); +dart.setLibraryUri(html$.DomIterator, I[148]); +dart.registerExtension("Iterator", html$.DomIterator); +html$.DomMatrixReadOnly = class DomMatrixReadOnly extends _interceptors.Interceptor { + static new(init = null) { + if (init != null) { + return html$.DomMatrixReadOnly._create_1(init); + } + return html$.DomMatrixReadOnly._create_2(); + } + static _create_1(init) { + return new DOMMatrixReadOnly(init); + } + static _create_2() { + return new DOMMatrixReadOnly(); + } + get [S$1.$a]() { + return this.a; + } + get [S$1.$b]() { + return this.b; + } + get [S$1.$c]() { + return this.c; + } + get [S$1.$d]() { + return this.d; + } + get [S$1.$e]() { + return this.e; + } + get [S$1.$f]() { + return this.f; + } + get [S$.$is2D]() { + return this.is2D; + } + get [S$1.$isIdentity]() { + return this.isIdentity; + } + get [S$1.$m11]() { + return this.m11; + } + get [S$1.$m12]() { + return this.m12; + } + get [S$1.$m13]() { + return this.m13; + } + get [S$1.$m14]() { + return this.m14; + } + get [S$1.$m21]() { + return this.m21; + } + get [S$1.$m22]() { + return this.m22; + } + get [S$1.$m23]() { + return this.m23; + } + get [S$1.$m24]() { + return this.m24; + } + get [S$1.$m31]() { + return this.m31; + } + get [S$1.$m32]() { + return this.m32; + } + get [S$1.$m33]() { + return this.m33; + } + get [S$1.$m34]() { + return this.m34; + } + get [S$1.$m41]() { + return this.m41; + } + get [S$1.$m42]() { + return this.m42; + } + get [S$1.$m43]() { + return this.m43; + } + get [S$1.$m44]() { + return this.m44; + } + [S$1.$flipX](...args) { + return this.flipX.apply(this, args); + } + [S$1.$flipY](...args) { + return this.flipY.apply(this, args); + } + static fromMatrix(other = null) { + if (other != null) { + let other_1 = html_common.convertDartToNative_Dictionary(other); + return dart.global.DOMMatrixReadOnly.fromMatrix(other_1); + } + return dart.global.DOMMatrixReadOnly.fromMatrix(); + } + [S$1.$inverse](...args) { + return this.inverse.apply(this, args); + } + [S$1.$multiply](other = null) { + if (other != null) { + let other_1 = html_common.convertDartToNative_Dictionary(other); + return this[S$1._multiply_1](other_1); + } + return this[S$1._multiply_2](); + } + [S$1._multiply_1](...args) { + return this.multiply.apply(this, args); + } + [S$1._multiply_2](...args) { + return this.multiply.apply(this, args); + } + [S$.$rotate](...args) { + return this.rotate.apply(this, args); + } + [S$1.$rotateAxisAngle](...args) { + return this.rotateAxisAngle.apply(this, args); + } + [S$1.$rotateFromVector](...args) { + return this.rotateFromVector.apply(this, args); + } + [S$.$scale](...args) { + return this.scale.apply(this, args); + } + [S$1.$scale3d](...args) { + return this.scale3d.apply(this, args); + } + [S$1.$skewX](...args) { + return this.skewX.apply(this, args); + } + [S$1.$skewY](...args) { + return this.skewY.apply(this, args); + } + [S$1.$toFloat32Array](...args) { + return this.toFloat32Array.apply(this, args); + } + [S$1.$toFloat64Array](...args) { + return this.toFloat64Array.apply(this, args); + } + [S$1.$transformPoint](point = null) { + if (point != null) { + let point_1 = html_common.convertDartToNative_Dictionary(point); + return this[S$1._transformPoint_1](point_1); + } + return this[S$1._transformPoint_2](); + } + [S$1._transformPoint_1](...args) { + return this.transformPoint.apply(this, args); + } + [S$1._transformPoint_2](...args) { + return this.transformPoint.apply(this, args); + } + [S.$translate](...args) { + return this.translate.apply(this, args); + } +}; +dart.addTypeTests(html$.DomMatrixReadOnly); +dart.addTypeCaches(html$.DomMatrixReadOnly); +dart.setMethodSignature(html$.DomMatrixReadOnly, () => ({ + __proto__: dart.getMethods(html$.DomMatrixReadOnly.__proto__), + [S$1.$flipX]: dart.fnType(html$.DomMatrix, []), + [S$1.$flipY]: dart.fnType(html$.DomMatrix, []), + [S$1.$inverse]: dart.fnType(html$.DomMatrix, []), + [S$1.$multiply]: dart.fnType(html$.DomMatrix, [], [dart.nullable(core.Map)]), + [S$1._multiply_1]: dart.fnType(html$.DomMatrix, [dart.dynamic]), + [S$1._multiply_2]: dart.fnType(html$.DomMatrix, []), + [S$.$rotate]: dart.fnType(html$.DomMatrix, [], [dart.nullable(core.num), dart.nullable(core.num), dart.nullable(core.num)]), + [S$1.$rotateAxisAngle]: dart.fnType(html$.DomMatrix, [], [dart.nullable(core.num), dart.nullable(core.num), dart.nullable(core.num), dart.nullable(core.num)]), + [S$1.$rotateFromVector]: dart.fnType(html$.DomMatrix, [], [dart.nullable(core.num), dart.nullable(core.num)]), + [S$.$scale]: dart.fnType(html$.DomMatrix, [], [dart.nullable(core.num), dart.nullable(core.num), dart.nullable(core.num), dart.nullable(core.num), dart.nullable(core.num), dart.nullable(core.num)]), + [S$1.$scale3d]: dart.fnType(html$.DomMatrix, [], [dart.nullable(core.num), dart.nullable(core.num), dart.nullable(core.num), dart.nullable(core.num)]), + [S$1.$skewX]: dart.fnType(html$.DomMatrix, [], [dart.nullable(core.num)]), + [S$1.$skewY]: dart.fnType(html$.DomMatrix, [], [dart.nullable(core.num)]), + [S$1.$toFloat32Array]: dart.fnType(typed_data.Float32List, []), + [S$1.$toFloat64Array]: dart.fnType(typed_data.Float64List, []), + [S$1.$transformPoint]: dart.fnType(html$.DomPoint, [], [dart.nullable(core.Map)]), + [S$1._transformPoint_1]: dart.fnType(html$.DomPoint, [dart.dynamic]), + [S$1._transformPoint_2]: dart.fnType(html$.DomPoint, []), + [S.$translate]: dart.fnType(html$.DomMatrix, [], [dart.nullable(core.num), dart.nullable(core.num), dart.nullable(core.num)]) +})); +dart.setGetterSignature(html$.DomMatrixReadOnly, () => ({ + __proto__: dart.getGetters(html$.DomMatrixReadOnly.__proto__), + [S$1.$a]: dart.nullable(core.num), + [S$1.$b]: dart.nullable(core.num), + [S$1.$c]: dart.nullable(core.num), + [S$1.$d]: dart.nullable(core.num), + [S$1.$e]: dart.nullable(core.num), + [S$1.$f]: dart.nullable(core.num), + [S$.$is2D]: dart.nullable(core.bool), + [S$1.$isIdentity]: dart.nullable(core.bool), + [S$1.$m11]: dart.nullable(core.num), + [S$1.$m12]: dart.nullable(core.num), + [S$1.$m13]: dart.nullable(core.num), + [S$1.$m14]: dart.nullable(core.num), + [S$1.$m21]: dart.nullable(core.num), + [S$1.$m22]: dart.nullable(core.num), + [S$1.$m23]: dart.nullable(core.num), + [S$1.$m24]: dart.nullable(core.num), + [S$1.$m31]: dart.nullable(core.num), + [S$1.$m32]: dart.nullable(core.num), + [S$1.$m33]: dart.nullable(core.num), + [S$1.$m34]: dart.nullable(core.num), + [S$1.$m41]: dart.nullable(core.num), + [S$1.$m42]: dart.nullable(core.num), + [S$1.$m43]: dart.nullable(core.num), + [S$1.$m44]: dart.nullable(core.num) +})); +dart.setLibraryUri(html$.DomMatrixReadOnly, I[148]); +dart.registerExtension("DOMMatrixReadOnly", html$.DomMatrixReadOnly); +html$.DomMatrix = class DomMatrix extends html$.DomMatrixReadOnly { + static new(init = null) { + if (init != null) { + return html$.DomMatrix._create_1(init); + } + return html$.DomMatrix._create_2(); + } + static _create_1(init) { + return new DOMMatrix(init); + } + static _create_2() { + return new DOMMatrix(); + } + get [S$1.$a]() { + return this.a; + } + set [S$1.$a](value) { + this.a = value; + } + get [S$1.$b]() { + return this.b; + } + set [S$1.$b](value) { + this.b = value; + } + get [S$1.$c]() { + return this.c; + } + set [S$1.$c](value) { + this.c = value; + } + get [S$1.$d]() { + return this.d; + } + set [S$1.$d](value) { + this.d = value; + } + get [S$1.$e]() { + return this.e; + } + set [S$1.$e](value) { + this.e = value; + } + get [S$1.$f]() { + return this.f; + } + set [S$1.$f](value) { + this.f = value; + } + get [S$1.$m11]() { + return this.m11; + } + set [S$1.$m11](value) { + this.m11 = value; + } + get [S$1.$m12]() { + return this.m12; + } + set [S$1.$m12](value) { + this.m12 = value; + } + get [S$1.$m13]() { + return this.m13; + } + set [S$1.$m13](value) { + this.m13 = value; + } + get [S$1.$m14]() { + return this.m14; + } + set [S$1.$m14](value) { + this.m14 = value; + } + get [S$1.$m21]() { + return this.m21; + } + set [S$1.$m21](value) { + this.m21 = value; + } + get [S$1.$m22]() { + return this.m22; + } + set [S$1.$m22](value) { + this.m22 = value; + } + get [S$1.$m23]() { + return this.m23; + } + set [S$1.$m23](value) { + this.m23 = value; + } + get [S$1.$m24]() { + return this.m24; + } + set [S$1.$m24](value) { + this.m24 = value; + } + get [S$1.$m31]() { + return this.m31; + } + set [S$1.$m31](value) { + this.m31 = value; + } + get [S$1.$m32]() { + return this.m32; + } + set [S$1.$m32](value) { + this.m32 = value; + } + get [S$1.$m33]() { + return this.m33; + } + set [S$1.$m33](value) { + this.m33 = value; + } + get [S$1.$m34]() { + return this.m34; + } + set [S$1.$m34](value) { + this.m34 = value; + } + get [S$1.$m41]() { + return this.m41; + } + set [S$1.$m41](value) { + this.m41 = value; + } + get [S$1.$m42]() { + return this.m42; + } + set [S$1.$m42](value) { + this.m42 = value; + } + get [S$1.$m43]() { + return this.m43; + } + set [S$1.$m43](value) { + this.m43 = value; + } + get [S$1.$m44]() { + return this.m44; + } + set [S$1.$m44](value) { + this.m44 = value; + } + static fromMatrix(other = null) { + if (other != null) { + let other_1 = html_common.convertDartToNative_Dictionary(other); + return dart.global.DOMMatrix.fromMatrix(other_1); + } + return dart.global.DOMMatrix.fromMatrix(); + } + [S$1.$invertSelf](...args) { + return this.invertSelf.apply(this, args); + } + [S$1.$multiplySelf](other = null) { + if (other != null) { + let other_1 = html_common.convertDartToNative_Dictionary(other); + return this[S$1._multiplySelf_1](other_1); + } + return this[S$1._multiplySelf_2](); + } + [S$1._multiplySelf_1](...args) { + return this.multiplySelf.apply(this, args); + } + [S$1._multiplySelf_2](...args) { + return this.multiplySelf.apply(this, args); + } + [S$1.$preMultiplySelf](other = null) { + if (other != null) { + let other_1 = html_common.convertDartToNative_Dictionary(other); + return this[S$1._preMultiplySelf_1](other_1); + } + return this[S$1._preMultiplySelf_2](); + } + [S$1._preMultiplySelf_1](...args) { + return this.preMultiplySelf.apply(this, args); + } + [S$1._preMultiplySelf_2](...args) { + return this.preMultiplySelf.apply(this, args); + } + [S$1.$rotateAxisAngleSelf](...args) { + return this.rotateAxisAngleSelf.apply(this, args); + } + [S$1.$rotateFromVectorSelf](...args) { + return this.rotateFromVectorSelf.apply(this, args); + } + [S$1.$rotateSelf](...args) { + return this.rotateSelf.apply(this, args); + } + [S$1.$scale3dSelf](...args) { + return this.scale3dSelf.apply(this, args); + } + [S$1.$scaleSelf](...args) { + return this.scaleSelf.apply(this, args); + } + [S$1.$setMatrixValue](...args) { + return this.setMatrixValue.apply(this, args); + } + [S$1.$skewXSelf](...args) { + return this.skewXSelf.apply(this, args); + } + [S$1.$skewYSelf](...args) { + return this.skewYSelf.apply(this, args); + } + [S$1.$translateSelf](...args) { + return this.translateSelf.apply(this, args); + } +}; +dart.addTypeTests(html$.DomMatrix); +dart.addTypeCaches(html$.DomMatrix); +dart.setMethodSignature(html$.DomMatrix, () => ({ + __proto__: dart.getMethods(html$.DomMatrix.__proto__), + [S$1.$invertSelf]: dart.fnType(html$.DomMatrix, []), + [S$1.$multiplySelf]: dart.fnType(html$.DomMatrix, [], [dart.nullable(core.Map)]), + [S$1._multiplySelf_1]: dart.fnType(html$.DomMatrix, [dart.dynamic]), + [S$1._multiplySelf_2]: dart.fnType(html$.DomMatrix, []), + [S$1.$preMultiplySelf]: dart.fnType(html$.DomMatrix, [], [dart.nullable(core.Map)]), + [S$1._preMultiplySelf_1]: dart.fnType(html$.DomMatrix, [dart.dynamic]), + [S$1._preMultiplySelf_2]: dart.fnType(html$.DomMatrix, []), + [S$1.$rotateAxisAngleSelf]: dart.fnType(html$.DomMatrix, [], [dart.nullable(core.num), dart.nullable(core.num), dart.nullable(core.num), dart.nullable(core.num)]), + [S$1.$rotateFromVectorSelf]: dart.fnType(html$.DomMatrix, [], [dart.nullable(core.num), dart.nullable(core.num)]), + [S$1.$rotateSelf]: dart.fnType(html$.DomMatrix, [], [dart.nullable(core.num), dart.nullable(core.num), dart.nullable(core.num)]), + [S$1.$scale3dSelf]: dart.fnType(html$.DomMatrix, [], [dart.nullable(core.num), dart.nullable(core.num), dart.nullable(core.num), dart.nullable(core.num)]), + [S$1.$scaleSelf]: dart.fnType(html$.DomMatrix, [], [dart.nullable(core.num), dart.nullable(core.num), dart.nullable(core.num), dart.nullable(core.num), dart.nullable(core.num), dart.nullable(core.num)]), + [S$1.$setMatrixValue]: dart.fnType(html$.DomMatrix, [core.String]), + [S$1.$skewXSelf]: dart.fnType(html$.DomMatrix, [], [dart.nullable(core.num)]), + [S$1.$skewYSelf]: dart.fnType(html$.DomMatrix, [], [dart.nullable(core.num)]), + [S$1.$translateSelf]: dart.fnType(html$.DomMatrix, [], [dart.nullable(core.num), dart.nullable(core.num), dart.nullable(core.num)]) +})); +dart.setSetterSignature(html$.DomMatrix, () => ({ + __proto__: dart.getSetters(html$.DomMatrix.__proto__), + [S$1.$a]: dart.nullable(core.num), + [S$1.$b]: dart.nullable(core.num), + [S$1.$c]: dart.nullable(core.num), + [S$1.$d]: dart.nullable(core.num), + [S$1.$e]: dart.nullable(core.num), + [S$1.$f]: dart.nullable(core.num), + [S$1.$m11]: dart.nullable(core.num), + [S$1.$m12]: dart.nullable(core.num), + [S$1.$m13]: dart.nullable(core.num), + [S$1.$m14]: dart.nullable(core.num), + [S$1.$m21]: dart.nullable(core.num), + [S$1.$m22]: dart.nullable(core.num), + [S$1.$m23]: dart.nullable(core.num), + [S$1.$m24]: dart.nullable(core.num), + [S$1.$m31]: dart.nullable(core.num), + [S$1.$m32]: dart.nullable(core.num), + [S$1.$m33]: dart.nullable(core.num), + [S$1.$m34]: dart.nullable(core.num), + [S$1.$m41]: dart.nullable(core.num), + [S$1.$m42]: dart.nullable(core.num), + [S$1.$m43]: dart.nullable(core.num), + [S$1.$m44]: dart.nullable(core.num) +})); +dart.setLibraryUri(html$.DomMatrix, I[148]); +dart.registerExtension("DOMMatrix", html$.DomMatrix); +html$.DomParser = class DomParser extends _interceptors.Interceptor { + static new() { + return html$.DomParser._create_1(); + } + static _create_1() { + return new DOMParser(); + } + [S$1.$parseFromString](...args) { + return this.parseFromString.apply(this, args); + } +}; +dart.addTypeTests(html$.DomParser); +dart.addTypeCaches(html$.DomParser); +dart.setMethodSignature(html$.DomParser, () => ({ + __proto__: dart.getMethods(html$.DomParser.__proto__), + [S$1.$parseFromString]: dart.fnType(html$.Document, [core.String, core.String]) +})); +dart.setLibraryUri(html$.DomParser, I[148]); +dart.registerExtension("DOMParser", html$.DomParser); +html$.DomPointReadOnly = class DomPointReadOnly extends _interceptors.Interceptor { + static new(x = null, y = null, z = null, w = null) { + if (w != null) { + return html$.DomPointReadOnly._create_1(x, y, z, w); + } + if (z != null) { + return html$.DomPointReadOnly._create_2(x, y, z); + } + if (y != null) { + return html$.DomPointReadOnly._create_3(x, y); + } + if (x != null) { + return html$.DomPointReadOnly._create_4(x); + } + return html$.DomPointReadOnly._create_5(); + } + static _create_1(x, y, z, w) { + return new DOMPointReadOnly(x, y, z, w); + } + static _create_2(x, y, z) { + return new DOMPointReadOnly(x, y, z); + } + static _create_3(x, y) { + return new DOMPointReadOnly(x, y); + } + static _create_4(x) { + return new DOMPointReadOnly(x); + } + static _create_5() { + return new DOMPointReadOnly(); + } + get [S$1.$w]() { + return this.w; + } + get [S$.$x]() { + return this.x; + } + get [S$.$y]() { + return this.y; + } + get [S$.$z]() { + return this.z; + } + static fromPoint(other = null) { + if (other != null) { + let other_1 = html_common.convertDartToNative_Dictionary(other); + return dart.global.DOMPointReadOnly.fromPoint(other_1); + } + return dart.global.DOMPointReadOnly.fromPoint(); + } + [S$1.$matrixTransform](matrix = null) { + if (matrix != null) { + let matrix_1 = html_common.convertDartToNative_Dictionary(matrix); + return this[S$1._matrixTransform_1](matrix_1); + } + return this[S$1._matrixTransform_2](); + } + [S$1._matrixTransform_1](...args) { + return this.matrixTransform.apply(this, args); + } + [S$1._matrixTransform_2](...args) { + return this.matrixTransform.apply(this, args); + } +}; +dart.addTypeTests(html$.DomPointReadOnly); +dart.addTypeCaches(html$.DomPointReadOnly); +dart.setMethodSignature(html$.DomPointReadOnly, () => ({ + __proto__: dart.getMethods(html$.DomPointReadOnly.__proto__), + [S$1.$matrixTransform]: dart.fnType(html$.DomPoint, [], [dart.nullable(core.Map)]), + [S$1._matrixTransform_1]: dart.fnType(html$.DomPoint, [dart.dynamic]), + [S$1._matrixTransform_2]: dart.fnType(html$.DomPoint, []) +})); +dart.setGetterSignature(html$.DomPointReadOnly, () => ({ + __proto__: dart.getGetters(html$.DomPointReadOnly.__proto__), + [S$1.$w]: dart.nullable(core.num), + [S$.$x]: dart.nullable(core.num), + [S$.$y]: dart.nullable(core.num), + [S$.$z]: dart.nullable(core.num) +})); +dart.setLibraryUri(html$.DomPointReadOnly, I[148]); +dart.registerExtension("DOMPointReadOnly", html$.DomPointReadOnly); +html$.DomPoint = class DomPoint extends html$.DomPointReadOnly { + static new(x = null, y = null, z = null, w = null) { + if (w != null) { + return html$.DomPoint._create_1(x, y, z, w); + } + if (z != null) { + return html$.DomPoint._create_2(x, y, z); + } + if (y != null) { + return html$.DomPoint._create_3(x, y); + } + if (x != null) { + return html$.DomPoint._create_4(x); + } + return html$.DomPoint._create_5(); + } + static _create_1(x, y, z, w) { + return new DOMPoint(x, y, z, w); + } + static _create_2(x, y, z) { + return new DOMPoint(x, y, z); + } + static _create_3(x, y) { + return new DOMPoint(x, y); + } + static _create_4(x) { + return new DOMPoint(x); + } + static _create_5() { + return new DOMPoint(); + } + static get supported() { + return !!window.DOMPoint || !!window.WebKitPoint; + } + get [S$1.$w]() { + return this.w; + } + set [S$1.$w](value) { + this.w = value; + } + get [S$.$x]() { + return this.x; + } + set [S$.$x](value) { + this.x = value; + } + get [S$.$y]() { + return this.y; + } + set [S$.$y](value) { + this.y = value; + } + get [S$.$z]() { + return this.z; + } + set [S$.$z](value) { + this.z = value; + } + static fromPoint(other = null) { + if (other != null) { + let other_1 = html_common.convertDartToNative_Dictionary(other); + return dart.global.DOMPoint.fromPoint(other_1); + } + return dart.global.DOMPoint.fromPoint(); + } +}; +dart.addTypeTests(html$.DomPoint); +dart.addTypeCaches(html$.DomPoint); +dart.setSetterSignature(html$.DomPoint, () => ({ + __proto__: dart.getSetters(html$.DomPoint.__proto__), + [S$1.$w]: dart.nullable(core.num), + [S$.$x]: dart.nullable(core.num), + [S$.$y]: dart.nullable(core.num), + [S$.$z]: dart.nullable(core.num) +})); +dart.setLibraryUri(html$.DomPoint, I[148]); +dart.registerExtension("DOMPoint", html$.DomPoint); +html$.DomQuad = class DomQuad extends _interceptors.Interceptor { + static new(p1 = null, p2 = null, p3 = null, p4 = null) { + if (p4 != null) { + let p1_1 = html_common.convertDartToNative_Dictionary(p1); + let p2_2 = html_common.convertDartToNative_Dictionary(p2); + let p3_3 = html_common.convertDartToNative_Dictionary(p3); + let p4_4 = html_common.convertDartToNative_Dictionary(p4); + return html$.DomQuad._create_1(p1_1, p2_2, p3_3, p4_4); + } + if (p3 != null) { + let p1_1 = html_common.convertDartToNative_Dictionary(p1); + let p2_2 = html_common.convertDartToNative_Dictionary(p2); + let p3_3 = html_common.convertDartToNative_Dictionary(p3); + return html$.DomQuad._create_2(p1_1, p2_2, p3_3); + } + if (p2 != null) { + let p1_1 = html_common.convertDartToNative_Dictionary(p1); + let p2_2 = html_common.convertDartToNative_Dictionary(p2); + return html$.DomQuad._create_3(p1_1, p2_2); + } + if (p1 != null) { + let p1_1 = html_common.convertDartToNative_Dictionary(p1); + return html$.DomQuad._create_4(p1_1); + } + return html$.DomQuad._create_5(); + } + static _create_1(p1, p2, p3, p4) { + return new DOMQuad(p1, p2, p3, p4); + } + static _create_2(p1, p2, p3) { + return new DOMQuad(p1, p2, p3); + } + static _create_3(p1, p2) { + return new DOMQuad(p1, p2); + } + static _create_4(p1) { + return new DOMQuad(p1); + } + static _create_5() { + return new DOMQuad(); + } + get [S$1.$p1]() { + return this.p1; + } + get [S$1.$p2]() { + return this.p2; + } + get [S$1.$p3]() { + return this.p3; + } + get [S$1.$p4]() { + return this.p4; + } + static fromQuad(other = null) { + if (other != null) { + let other_1 = html_common.convertDartToNative_Dictionary(other); + return dart.global.DOMQuad.fromQuad(other_1); + } + return dart.global.DOMQuad.fromQuad(); + } + static fromRect(other = null) { + if (other != null) { + let other_1 = html_common.convertDartToNative_Dictionary(other); + return dart.global.DOMQuad.fromRect(other_1); + } + return dart.global.DOMQuad.fromRect(); + } + [S$1.$getBounds](...args) { + return this.getBounds.apply(this, args); + } +}; +dart.addTypeTests(html$.DomQuad); +dart.addTypeCaches(html$.DomQuad); +dart.setMethodSignature(html$.DomQuad, () => ({ + __proto__: dart.getMethods(html$.DomQuad.__proto__), + [S$1.$getBounds]: dart.fnType(math.Rectangle$(core.num), []) +})); +dart.setGetterSignature(html$.DomQuad, () => ({ + __proto__: dart.getGetters(html$.DomQuad.__proto__), + [S$1.$p1]: dart.nullable(html$.DomPoint), + [S$1.$p2]: dart.nullable(html$.DomPoint), + [S$1.$p3]: dart.nullable(html$.DomPoint), + [S$1.$p4]: dart.nullable(html$.DomPoint) +})); +dart.setLibraryUri(html$.DomQuad, I[148]); +dart.registerExtension("DOMQuad", html$.DomQuad); +const _is_ImmutableListMixin_default = Symbol('_is_ImmutableListMixin_default'); +html$.ImmutableListMixin$ = dart.generic(E => { + var FixedSizeListIteratorOfE = () => (FixedSizeListIteratorOfE = dart.constFn(html$.FixedSizeListIterator$(E)))(); + var IterableOfE = () => (IterableOfE = dart.constFn(core.Iterable$(E)))(); + var EN = () => (EN = dart.constFn(dart.nullable(E)))(); + class ImmutableListMixin extends core.Object { + get iterator() { + return new (FixedSizeListIteratorOfE()).new(this); + } + [Symbol.iterator]() { + return new dart.JsIterator(this[$iterator]); + } + add(value) { + E.as(value); + dart.throw(new core.UnsupportedError.new("Cannot add to immutable List.")); + } + addAll(iterable) { + IterableOfE().as(iterable); + if (iterable == null) dart.nullFailed(I[147], 37959, 27, "iterable"); + dart.throw(new core.UnsupportedError.new("Cannot add to immutable List.")); + } + sort(compare = null) { + dart.throw(new core.UnsupportedError.new("Cannot sort immutable List.")); + } + shuffle(random = null) { + dart.throw(new core.UnsupportedError.new("Cannot shuffle immutable List.")); + } + insert(index, element) { + if (index == null) dart.nullFailed(I[147], 37971, 19, "index"); + E.as(element); + dart.throw(new core.UnsupportedError.new("Cannot add to immutable List.")); + } + insertAll(index, iterable) { + if (index == null) dart.nullFailed(I[147], 37975, 22, "index"); + IterableOfE().as(iterable); + if (iterable == null) dart.nullFailed(I[147], 37975, 41, "iterable"); + dart.throw(new core.UnsupportedError.new("Cannot add to immutable List.")); + } + setAll(index, iterable) { + if (index == null) dart.nullFailed(I[147], 37979, 19, "index"); + IterableOfE().as(iterable); + if (iterable == null) dart.nullFailed(I[147], 37979, 38, "iterable"); + dart.throw(new core.UnsupportedError.new("Cannot modify an immutable List.")); + } + removeAt(pos) { + if (pos == null) dart.nullFailed(I[147], 37983, 18, "pos"); + dart.throw(new core.UnsupportedError.new("Cannot remove from immutable List.")); + } + removeLast() { + dart.throw(new core.UnsupportedError.new("Cannot remove from immutable List.")); + } + remove(object) { + dart.throw(new core.UnsupportedError.new("Cannot remove from immutable List.")); + } + removeWhere(test) { + if (test == null) dart.nullFailed(I[147], 37995, 25, "test"); + dart.throw(new core.UnsupportedError.new("Cannot remove from immutable List.")); + } + retainWhere(test) { + if (test == null) dart.nullFailed(I[147], 37999, 25, "test"); + dart.throw(new core.UnsupportedError.new("Cannot remove from immutable List.")); + } + setRange(start, end, iterable, skipCount = 0) { + if (start == null) dart.nullFailed(I[147], 38003, 21, "start"); + if (end == null) dart.nullFailed(I[147], 38003, 32, "end"); + IterableOfE().as(iterable); + if (iterable == null) dart.nullFailed(I[147], 38003, 49, "iterable"); + if (skipCount == null) dart.nullFailed(I[147], 38003, 64, "skipCount"); + dart.throw(new core.UnsupportedError.new("Cannot setRange on immutable List.")); + } + removeRange(start, end) { + if (start == null) dart.nullFailed(I[147], 38007, 24, "start"); + if (end == null) dart.nullFailed(I[147], 38007, 35, "end"); + dart.throw(new core.UnsupportedError.new("Cannot removeRange on immutable List.")); + } + replaceRange(start, end, iterable) { + if (start == null) dart.nullFailed(I[147], 38011, 25, "start"); + if (end == null) dart.nullFailed(I[147], 38011, 36, "end"); + IterableOfE().as(iterable); + if (iterable == null) dart.nullFailed(I[147], 38011, 53, "iterable"); + dart.throw(new core.UnsupportedError.new("Cannot modify an immutable List.")); + } + fillRange(start, end, fillValue = null) { + if (start == null) dart.nullFailed(I[147], 38015, 22, "start"); + if (end == null) dart.nullFailed(I[147], 38015, 33, "end"); + EN().as(fillValue); + dart.throw(new core.UnsupportedError.new("Cannot modify an immutable List.")); + } + } + (ImmutableListMixin.new = function() { + ; + }).prototype = ImmutableListMixin.prototype; + ImmutableListMixin.prototype[dart.isList] = true; + dart.addTypeTests(ImmutableListMixin); + ImmutableListMixin.prototype[_is_ImmutableListMixin_default] = true; + dart.addTypeCaches(ImmutableListMixin); + ImmutableListMixin[dart.implements] = () => [core.List$(E)]; + dart.setMethodSignature(ImmutableListMixin, () => ({ + __proto__: dart.getMethods(ImmutableListMixin.__proto__), + add: dart.fnType(dart.void, [dart.nullable(core.Object)]), + [$add]: dart.fnType(dart.void, [dart.nullable(core.Object)]), + addAll: dart.fnType(dart.void, [dart.nullable(core.Object)]), + [$addAll]: dart.fnType(dart.void, [dart.nullable(core.Object)]), + sort: dart.fnType(dart.void, [], [dart.nullable(dart.fnType(core.int, [E, E]))]), + [$sort]: dart.fnType(dart.void, [], [dart.nullable(dart.fnType(core.int, [E, E]))]), + shuffle: dart.fnType(dart.void, [], [dart.nullable(math.Random)]), + [$shuffle]: dart.fnType(dart.void, [], [dart.nullable(math.Random)]), + insert: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), + [$insert]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), + insertAll: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), + [$insertAll]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), + setAll: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), + [$setAll]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), + removeAt: dart.fnType(E, [core.int]), + [$removeAt]: dart.fnType(E, [core.int]), + removeLast: dart.fnType(E, []), + [$removeLast]: dart.fnType(E, []), + remove: dart.fnType(core.bool, [dart.nullable(core.Object)]), + [$remove]: dart.fnType(core.bool, [dart.nullable(core.Object)]), + removeWhere: dart.fnType(dart.void, [dart.fnType(core.bool, [E])]), + [$removeWhere]: dart.fnType(dart.void, [dart.fnType(core.bool, [E])]), + retainWhere: dart.fnType(dart.void, [dart.fnType(core.bool, [E])]), + [$retainWhere]: dart.fnType(dart.void, [dart.fnType(core.bool, [E])]), + setRange: dart.fnType(dart.void, [core.int, core.int, dart.nullable(core.Object)], [core.int]), + [$setRange]: dart.fnType(dart.void, [core.int, core.int, dart.nullable(core.Object)], [core.int]), + removeRange: dart.fnType(dart.void, [core.int, core.int]), + [$removeRange]: dart.fnType(dart.void, [core.int, core.int]), + replaceRange: dart.fnType(dart.void, [core.int, core.int, dart.nullable(core.Object)]), + [$replaceRange]: dart.fnType(dart.void, [core.int, core.int, dart.nullable(core.Object)]), + fillRange: dart.fnType(dart.void, [core.int, core.int], [dart.nullable(core.Object)]), + [$fillRange]: dart.fnType(dart.void, [core.int, core.int], [dart.nullable(core.Object)]) + })); + dart.setGetterSignature(ImmutableListMixin, () => ({ + __proto__: dart.getGetters(ImmutableListMixin.__proto__), + iterator: core.Iterator$(E), + [$iterator]: core.Iterator$(E) + })); + dart.setLibraryUri(ImmutableListMixin, I[148]); + dart.defineExtensionMethods(ImmutableListMixin, [ + 'add', + 'addAll', + 'sort', + 'shuffle', + 'insert', + 'insertAll', + 'setAll', + 'removeAt', + 'removeLast', + 'remove', + 'removeWhere', + 'retainWhere', + 'setRange', + 'removeRange', + 'replaceRange', + 'fillRange' + ]); + dart.defineExtensionAccessors(ImmutableListMixin, ['iterator']); + return ImmutableListMixin; +}); +html$.ImmutableListMixin = html$.ImmutableListMixin$(); +dart.addTypeTests(html$.ImmutableListMixin, _is_ImmutableListMixin_default); +const Interceptor_ListMixin$36 = class Interceptor_ListMixin extends _interceptors.Interceptor {}; +(Interceptor_ListMixin$36.new = function() { + Interceptor_ListMixin$36.__proto__.new.call(this); +}).prototype = Interceptor_ListMixin$36.prototype; +dart.applyMixin(Interceptor_ListMixin$36, collection.ListMixin$(math.Rectangle$(core.num))); +const Interceptor_ImmutableListMixin$36 = class Interceptor_ImmutableListMixin extends Interceptor_ListMixin$36 {}; +(Interceptor_ImmutableListMixin$36.new = function() { + Interceptor_ImmutableListMixin$36.__proto__.new.call(this); +}).prototype = Interceptor_ImmutableListMixin$36.prototype; +dart.applyMixin(Interceptor_ImmutableListMixin$36, html$.ImmutableListMixin$(math.Rectangle$(core.num))); +html$.DomRectList = class DomRectList extends Interceptor_ImmutableListMixin$36 { + get [$length]() { + return this.length; + } + [$_get](index) { + if (index == null) dart.nullFailed(I[147], 11383, 29, "index"); + if (index >>> 0 !== index || index >= this[$length]) dart.throw(new core.IndexError.new(index, this)); + return this[index]; + } + [$_set](index, value$) { + let value = value$; + if (index == null) dart.nullFailed(I[147], 11389, 25, "index"); + T$0.RectangleOfnum().as(value); + if (value == null) dart.nullFailed(I[147], 11389, 42, "value"); + dart.throw(new core.UnsupportedError.new("Cannot assign element of immutable List.")); + return value$; + } + set [$length](value) { + if (value == null) dart.nullFailed(I[147], 11395, 18, "value"); + dart.throw(new core.UnsupportedError.new("Cannot resize immutable List.")); + } + get [$first]() { + if (dart.notNull(this[$length]) > 0) { + return this[0]; + } + dart.throw(new core.StateError.new("No elements")); + } + set [$first](value) { + super[$first] = value; + } + get [$last]() { + let len = this[$length]; + if (dart.notNull(len) > 0) { + return this[dart.notNull(len) - 1]; + } + dart.throw(new core.StateError.new("No elements")); + } + set [$last](value) { + super[$last] = value; + } + get [$single]() { + let len = this[$length]; + if (len === 1) { + return this[0]; + } + if (len === 0) dart.throw(new core.StateError.new("No elements")); + dart.throw(new core.StateError.new("More than one element")); + } + [$elementAt](index) { + if (index == null) dart.nullFailed(I[147], 11423, 27, "index"); + return this[$_get](index); + } + [S$.$item](...args) { + return this.item.apply(this, args); + } +}; +html$.DomRectList.prototype[dart.isList] = true; +dart.addTypeTests(html$.DomRectList); +dart.addTypeCaches(html$.DomRectList); +html$.DomRectList[dart.implements] = () => [core.List$(math.Rectangle$(core.num)), _js_helper.JavaScriptIndexingBehavior$(math.Rectangle$(core.num))]; +dart.setMethodSignature(html$.DomRectList, () => ({ + __proto__: dart.getMethods(html$.DomRectList.__proto__), + [$_get]: dart.fnType(math.Rectangle$(core.num), [core.int]), + [$_set]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), + [S$.$item]: dart.fnType(dart.nullable(math.Rectangle$(core.num)), [core.int]) +})); +dart.setGetterSignature(html$.DomRectList, () => ({ + __proto__: dart.getGetters(html$.DomRectList.__proto__), + [$length]: core.int +})); +dart.setSetterSignature(html$.DomRectList, () => ({ + __proto__: dart.getSetters(html$.DomRectList.__proto__), + [$length]: core.int +})); +dart.setLibraryUri(html$.DomRectList, I[148]); +dart.registerExtension("ClientRectList", html$.DomRectList); +dart.registerExtension("DOMRectList", html$.DomRectList); +html$.DomRectReadOnly = class DomRectReadOnly extends _interceptors.Interceptor { + [$toString]() { + return "Rectangle (" + dart.str(this[$left]) + ", " + dart.str(this[$top]) + ") " + dart.str(this[$width]) + " x " + dart.str(this[$height]); + } + [$_equals](other) { + if (other == null) return false; + return T$0.RectangleOfnum().is(other) && this[$left] == other[$left] && this[$top] == other[$top] && this[$width] == other[$width] && this[$height] == other[$height]; + } + get [$hashCode]() { + return html$._JenkinsSmiHash.hash4(dart.hashCode(this[$left]), dart.hashCode(this[$top]), dart.hashCode(this[$width]), dart.hashCode(this[$height])); + } + [$intersection](other) { + T$0.RectangleOfnum().as(other); + if (other == null) dart.nullFailed(I[147], 11458, 37, "other"); + let x0 = math.max(core.num, this[$left], other[$left]); + let x1 = math.min(core.num, dart.notNull(this[$left]) + dart.notNull(this[$width]), dart.notNull(other[$left]) + dart.notNull(other[$width])); + if (x0 <= x1) { + let y0 = math.max(core.num, this[$top], other[$top]); + let y1 = math.min(core.num, dart.notNull(this[$top]) + dart.notNull(this[$height]), dart.notNull(other[$top]) + dart.notNull(other[$height])); + if (y0 <= y1) { + return new (T$0.RectangleOfnum()).new(x0, y0, x1 - x0, y1 - y0); + } + } + return null; + } + [$intersects](other) { + if (other == null) dart.nullFailed(I[147], 11476, 34, "other"); + return dart.notNull(this[$left]) <= dart.notNull(other[$left]) + dart.notNull(other[$width]) && dart.notNull(other[$left]) <= dart.notNull(this[$left]) + dart.notNull(this[$width]) && dart.notNull(this[$top]) <= dart.notNull(other[$top]) + dart.notNull(other[$height]) && dart.notNull(other[$top]) <= dart.notNull(this[$top]) + dart.notNull(this[$height]); + } + [$boundingBox](other) { + T$0.RectangleOfnum().as(other); + if (other == null) dart.nullFailed(I[147], 11486, 35, "other"); + let right = math.max(core.num, dart.notNull(this[$left]) + dart.notNull(this[$width]), dart.notNull(other[$left]) + dart.notNull(other[$width])); + let bottom = math.max(core.num, dart.notNull(this[$top]) + dart.notNull(this[$height]), dart.notNull(other[$top]) + dart.notNull(other[$height])); + let left = math.min(core.num, this[$left], other[$left]); + let top = math.min(core.num, this[$top], other[$top]); + return new (T$0.RectangleOfnum()).new(left, top, right - left, bottom - top); + } + [$containsRectangle](another) { + if (another == null) dart.nullFailed(I[147], 11499, 41, "another"); + return dart.notNull(this[$left]) <= dart.notNull(another[$left]) && dart.notNull(this[$left]) + dart.notNull(this[$width]) >= dart.notNull(another[$left]) + dart.notNull(another[$width]) && dart.notNull(this[$top]) <= dart.notNull(another[$top]) && dart.notNull(this[$top]) + dart.notNull(this[$height]) >= dart.notNull(another[$top]) + dart.notNull(another[$height]); + } + [$containsPoint](another) { + if (another == null) dart.nullFailed(I[147], 11509, 33, "another"); + return dart.notNull(another.x) >= dart.notNull(this[$left]) && dart.notNull(another.x) <= dart.notNull(this[$left]) + dart.notNull(this[$width]) && dart.notNull(another.y) >= dart.notNull(this[$top]) && dart.notNull(another.y) <= dart.notNull(this[$top]) + dart.notNull(this[$height]); + } + get [$topLeft]() { + return new (T$0.PointOfnum()).new(this[$left], this[$top]); + } + get [$topRight]() { + return new (T$0.PointOfnum()).new(dart.notNull(this[$left]) + dart.notNull(this[$width]), this[$top]); + } + get [$bottomRight]() { + return new (T$0.PointOfnum()).new(dart.notNull(this[$left]) + dart.notNull(this[$width]), dart.notNull(this[$top]) + dart.notNull(this[$height])); + } + get [$bottomLeft]() { + return new (T$0.PointOfnum()).new(this[$left], dart.notNull(this[$top]) + dart.notNull(this[$height])); + } + static new(x = null, y = null, width = null, height = null) { + if (height != null) { + return html$.DomRectReadOnly._create_1(x, y, width, height); + } + if (width != null) { + return html$.DomRectReadOnly._create_2(x, y, width); + } + if (y != null) { + return html$.DomRectReadOnly._create_3(x, y); + } + if (x != null) { + return html$.DomRectReadOnly._create_4(x); + } + return html$.DomRectReadOnly._create_5(); + } + static _create_1(x, y, width, height) { + return new DOMRectReadOnly(x, y, width, height); + } + static _create_2(x, y, width) { + return new DOMRectReadOnly(x, y, width); + } + static _create_3(x, y) { + return new DOMRectReadOnly(x, y); + } + static _create_4(x) { + return new DOMRectReadOnly(x); + } + static _create_5() { + return new DOMRectReadOnly(); + } + get [S$0._bottom]() { + return this.bottom; + } + get [$bottom]() { + return dart.nullCheck(this[S$0._bottom]); + } + get [S$0._height$1]() { + return this.height; + } + get [$height]() { + return dart.nullCheck(this[S$0._height$1]); + } + get [S$0._left$2]() { + return this.left; + } + get [$left]() { + return dart.nullCheck(this[S$0._left$2]); + } + get [S$0._right$2]() { + return this.right; + } + get [$right]() { + return dart.nullCheck(this[S$0._right$2]); + } + get [S$0._top]() { + return this.top; + } + get [$top]() { + return dart.nullCheck(this[S$0._top]); + } + get [S$0._width$1]() { + return this.width; + } + get [$width]() { + return dart.nullCheck(this[S$0._width$1]); + } + get [S$.$x]() { + return this.x; + } + get [S$.$y]() { + return this.y; + } + static fromRect(other = null) { + if (other != null) { + let other_1 = html_common.convertDartToNative_Dictionary(other); + return dart.global.DOMRectReadOnly.fromRect(other_1); + } + return dart.global.DOMRectReadOnly.fromRect(); + } +}; +dart.addTypeTests(html$.DomRectReadOnly); +dart.addTypeCaches(html$.DomRectReadOnly); +html$.DomRectReadOnly[dart.implements] = () => [math.Rectangle$(core.num)]; +dart.setMethodSignature(html$.DomRectReadOnly, () => ({ + __proto__: dart.getMethods(html$.DomRectReadOnly.__proto__), + [$intersection]: dart.fnType(dart.nullable(math.Rectangle$(core.num)), [dart.nullable(core.Object)]), + [$intersects]: dart.fnType(core.bool, [math.Rectangle$(core.num)]), + [$boundingBox]: dart.fnType(math.Rectangle$(core.num), [dart.nullable(core.Object)]), + [$containsRectangle]: dart.fnType(core.bool, [math.Rectangle$(core.num)]), + [$containsPoint]: dart.fnType(core.bool, [math.Point$(core.num)]) +})); +dart.setGetterSignature(html$.DomRectReadOnly, () => ({ + __proto__: dart.getGetters(html$.DomRectReadOnly.__proto__), + [$topLeft]: math.Point$(core.num), + [$topRight]: math.Point$(core.num), + [$bottomRight]: math.Point$(core.num), + [$bottomLeft]: math.Point$(core.num), + [S$0._bottom]: dart.nullable(core.num), + [$bottom]: core.num, + [S$0._height$1]: dart.nullable(core.num), + [$height]: core.num, + [S$0._left$2]: dart.nullable(core.num), + [$left]: core.num, + [S$0._right$2]: dart.nullable(core.num), + [$right]: core.num, + [S$0._top]: dart.nullable(core.num), + [$top]: core.num, + [S$0._width$1]: dart.nullable(core.num), + [$width]: core.num, + [S$.$x]: dart.nullable(core.num), + [S$.$y]: dart.nullable(core.num) +})); +dart.setLibraryUri(html$.DomRectReadOnly, I[148]); +dart.registerExtension("DOMRectReadOnly", html$.DomRectReadOnly); +const Interceptor_ListMixin$36$ = class Interceptor_ListMixin extends _interceptors.Interceptor {}; +(Interceptor_ListMixin$36$.new = function() { + Interceptor_ListMixin$36$.__proto__.new.call(this); +}).prototype = Interceptor_ListMixin$36$.prototype; +dart.applyMixin(Interceptor_ListMixin$36$, collection.ListMixin$(core.String)); +const Interceptor_ImmutableListMixin$36$ = class Interceptor_ImmutableListMixin extends Interceptor_ListMixin$36$ {}; +(Interceptor_ImmutableListMixin$36$.new = function() { + Interceptor_ImmutableListMixin$36$.__proto__.new.call(this); +}).prototype = Interceptor_ImmutableListMixin$36$.prototype; +dart.applyMixin(Interceptor_ImmutableListMixin$36$, html$.ImmutableListMixin$(core.String)); +html$.DomStringList = class DomStringList extends Interceptor_ImmutableListMixin$36$ { + get [$length]() { + return this.length; + } + [$_get](index) { + if (index == null) dart.nullFailed(I[147], 11634, 26, "index"); + if (index >>> 0 !== index || index >= this[$length]) dart.throw(new core.IndexError.new(index, this)); + return this[index]; + } + [$_set](index, value$) { + let value = value$; + if (index == null) dart.nullFailed(I[147], 11640, 25, "index"); + core.String.as(value); + if (value == null) dart.nullFailed(I[147], 11640, 39, "value"); + dart.throw(new core.UnsupportedError.new("Cannot assign element of immutable List.")); + return value$; + } + set [$length](value) { + if (value == null) dart.nullFailed(I[147], 11646, 18, "value"); + dart.throw(new core.UnsupportedError.new("Cannot resize immutable List.")); + } + get [$first]() { + if (dart.notNull(this[$length]) > 0) { + return this[0]; + } + dart.throw(new core.StateError.new("No elements")); + } + set [$first](value) { + super[$first] = value; + } + get [$last]() { + let len = this[$length]; + if (dart.notNull(len) > 0) { + return this[dart.notNull(len) - 1]; + } + dart.throw(new core.StateError.new("No elements")); + } + set [$last](value) { + super[$last] = value; + } + get [$single]() { + let len = this[$length]; + if (len === 1) { + return this[0]; + } + if (len === 0) dart.throw(new core.StateError.new("No elements")); + dart.throw(new core.StateError.new("More than one element")); + } + [$elementAt](index) { + if (index == null) dart.nullFailed(I[147], 11674, 24, "index"); + return this[$_get](index); + } + [S$.$item](...args) { + return this.item.apply(this, args); + } +}; +html$.DomStringList.prototype[dart.isList] = true; +dart.addTypeTests(html$.DomStringList); +dart.addTypeCaches(html$.DomStringList); +html$.DomStringList[dart.implements] = () => [_js_helper.JavaScriptIndexingBehavior$(core.String), core.List$(core.String)]; +dart.setMethodSignature(html$.DomStringList, () => ({ + __proto__: dart.getMethods(html$.DomStringList.__proto__), + [$_get]: dart.fnType(core.String, [core.int]), + [$_set]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), + [S$.$item]: dart.fnType(dart.nullable(core.String), [core.int]) +})); +dart.setGetterSignature(html$.DomStringList, () => ({ + __proto__: dart.getGetters(html$.DomStringList.__proto__), + [$length]: core.int +})); +dart.setSetterSignature(html$.DomStringList, () => ({ + __proto__: dart.getSetters(html$.DomStringList.__proto__), + [$length]: core.int +})); +dart.setLibraryUri(html$.DomStringList, I[148]); +dart.registerExtension("DOMStringList", html$.DomStringList); +html$.DomStringMap = class DomStringMap extends _interceptors.Interceptor { + [S$1.__delete__](...args) { + return this.__delete__.apply(this, args); + } + [S$.__setter__](...args) { + return this.__setter__.apply(this, args); + } + [S$.$item](...args) { + return this.item.apply(this, args); + } +}; +dart.addTypeTests(html$.DomStringMap); +dart.addTypeCaches(html$.DomStringMap); +dart.setMethodSignature(html$.DomStringMap, () => ({ + __proto__: dart.getMethods(html$.DomStringMap.__proto__), + [S$1.__delete__]: dart.fnType(dart.void, [core.String]), + [S$.__setter__]: dart.fnType(dart.void, [core.String, core.String]), + [S$.$item]: dart.fnType(core.String, [core.String]) +})); +dart.setLibraryUri(html$.DomStringMap, I[148]); +dart.registerExtension("DOMStringMap", html$.DomStringMap); +html$.DomTokenList = class DomTokenList extends _interceptors.Interceptor { + get [$length]() { + return this.length; + } + get [S.$value]() { + return this.value; + } + set [S.$value](value) { + this.value = value; + } + [$add](...args) { + return this.add.apply(this, args); + } + [$contains](...args) { + return this.contains.apply(this, args); + } + [S$.$item](...args) { + return this.item.apply(this, args); + } + [$remove](...args) { + return this.remove.apply(this, args); + } + [S$1.$replace](...args) { + return this.replace.apply(this, args); + } + [S$1.$supports](...args) { + return this.supports.apply(this, args); + } + [S$1.$toggle](...args) { + return this.toggle.apply(this, args); + } +}; +dart.addTypeTests(html$.DomTokenList); +dart.addTypeCaches(html$.DomTokenList); +dart.setMethodSignature(html$.DomTokenList, () => ({ + __proto__: dart.getMethods(html$.DomTokenList.__proto__), + [$add]: dart.fnType(dart.void, [core.String]), + [$contains]: dart.fnType(core.bool, [core.String]), + [S$.$item]: dart.fnType(dart.nullable(core.String), [core.int]), + [$remove]: dart.fnType(dart.void, [core.String]), + [S$1.$replace]: dart.fnType(dart.void, [core.String, core.String]), + [S$1.$supports]: dart.fnType(core.bool, [core.String]), + [S$1.$toggle]: dart.fnType(core.bool, [core.String], [dart.nullable(core.bool)]) +})); +dart.setGetterSignature(html$.DomTokenList, () => ({ + __proto__: dart.getGetters(html$.DomTokenList.__proto__), + [$length]: core.int, + [S.$value]: dart.nullable(core.String) +})); +dart.setSetterSignature(html$.DomTokenList, () => ({ + __proto__: dart.getSetters(html$.DomTokenList.__proto__), + [S.$value]: dart.nullable(core.String) +})); +dart.setLibraryUri(html$.DomTokenList, I[148]); +dart.registerExtension("DOMTokenList", html$.DomTokenList); +html$._ChildrenElementList = class _ChildrenElementList extends collection.ListBase$(html$.Element) { + contains(element) { + return this[S$1._childElements][$contains](element); + } + get isEmpty() { + return this[S$1._element$2][S._firstElementChild] == null; + } + get length() { + return this[S$1._childElements][$length]; + } + _get(index) { + if (index == null) dart.nullFailed(I[147], 11751, 27, "index"); + return html$.Element.as(this[S$1._childElements][$_get](index)); + } + _set(index, value$) { + let value = value$; + if (index == null) dart.nullFailed(I[147], 11755, 25, "index"); + html$.Element.as(value); + if (value == null) dart.nullFailed(I[147], 11755, 40, "value"); + this[S$1._element$2][S$._replaceChild](value, this[S$1._childElements][$_get](index)); + return value$; + } + set length(newLength) { + if (newLength == null) dart.nullFailed(I[147], 11759, 18, "newLength"); + dart.throw(new core.UnsupportedError.new("Cannot resize element lists")); + } + add(value) { + html$.Element.as(value); + if (value == null) dart.nullFailed(I[147], 11764, 23, "value"); + this[S$1._element$2][S.$append](value); + return value; + } + get iterator() { + return this.toList()[$iterator]; + } + addAll(iterable) { + T$0.IterableOfElement().as(iterable); + if (iterable == null) dart.nullFailed(I[147], 11771, 33, "iterable"); + html$._ChildrenElementList._addAll(this[S$1._element$2], iterable); + } + static _addAll(_element, iterable) { + if (_element == null) dart.nullFailed(I[147], 11775, 31, "_element"); + if (iterable == null) dart.nullFailed(I[147], 11775, 59, "iterable"); + if (html$._ChildNodeListLazy.is(iterable)) { + iterable = T$0.ListOfElement().from(iterable); + } + for (let element of iterable) { + _element[S.$append](element); + } + } + sort(compare = null) { + dart.throw(new core.UnsupportedError.new("Cannot sort element lists")); + } + shuffle(random = null) { + dart.throw(new core.UnsupportedError.new("Cannot shuffle element lists")); + } + removeWhere(test) { + if (test == null) dart.nullFailed(I[147], 11793, 25, "test"); + this[S$1._filter$2](test, false); + } + retainWhere(test) { + if (test == null) dart.nullFailed(I[147], 11797, 25, "test"); + this[S$1._filter$2](test, true); + } + [S$1._filter$2](test, retainMatching) { + if (test == null) dart.nullFailed(I[147], 11801, 21, "test"); + if (retainMatching == null) dart.nullFailed(I[147], 11801, 49, "retainMatching"); + let removed = null; + if (dart.test(retainMatching)) { + removed = this[S$1._element$2][S.$children][$where](dart.fn(e => { + if (e == null) dart.nullFailed(I[147], 11804, 42, "e"); + return !dart.test(test(e)); + }, T$0.ElementTobool())); + } else { + removed = this[S$1._element$2][S.$children][$where](test); + } + for (let e of core.Iterable.as(removed)) + dart.dsend(e, 'remove', []); + } + fillRange(start, end, fillValue = null) { + if (start == null) dart.nullFailed(I[147], 11811, 22, "start"); + if (end == null) dart.nullFailed(I[147], 11811, 33, "end"); + T$0.ElementN().as(fillValue); + dart.throw(new core.UnimplementedError.new()); + } + replaceRange(start, end, iterable) { + if (start == null) dart.nullFailed(I[147], 11815, 25, "start"); + if (end == null) dart.nullFailed(I[147], 11815, 36, "end"); + T$0.IterableOfElement().as(iterable); + if (iterable == null) dart.nullFailed(I[147], 11815, 59, "iterable"); + dart.throw(new core.UnimplementedError.new()); + } + removeRange(start, end) { + if (start == null) dart.nullFailed(I[147], 11819, 24, "start"); + if (end == null) dart.nullFailed(I[147], 11819, 35, "end"); + dart.throw(new core.UnimplementedError.new()); + } + setRange(start, end, iterable, skipCount = 0) { + if (start == null) dart.nullFailed(I[147], 11823, 21, "start"); + if (end == null) dart.nullFailed(I[147], 11823, 32, "end"); + T$0.IterableOfElement().as(iterable); + if (iterable == null) dart.nullFailed(I[147], 11823, 55, "iterable"); + if (skipCount == null) dart.nullFailed(I[147], 11824, 12, "skipCount"); + dart.throw(new core.UnimplementedError.new()); + } + remove(object) { + return html$._ChildrenElementList._remove(this[S$1._element$2], object); + } + static _remove(_element, object) { + if (_element == null) dart.nullFailed(I[147], 11832, 31, "_element"); + if (html$.Element.is(object)) { + let element = object; + if (element.parentNode == _element) { + _element[S$._removeChild](element); + return true; + } + } + return false; + } + insert(index, element) { + if (index == null) dart.nullFailed(I[147], 11843, 19, "index"); + html$.Element.as(element); + if (element == null) dart.nullFailed(I[147], 11843, 34, "element"); + if (dart.notNull(index) < 0 || dart.notNull(index) > dart.notNull(this.length)) { + dart.throw(new core.RangeError.range(index, 0, this.length)); + } + if (index == this.length) { + this[S$1._element$2][S.$append](element); + } else { + this[S$1._element$2].insertBefore(element, this._get(index)); + } + } + insertAll(index, iterable) { + if (index == null) dart.nullFailed(I[147], 11854, 22, "index"); + T$0.IterableOfElement().as(iterable); + if (iterable == null) dart.nullFailed(I[147], 11854, 47, "iterable"); + dart.throw(new core.UnimplementedError.new()); + } + setAll(index, iterable) { + if (index == null) dart.nullFailed(I[147], 11858, 19, "index"); + T$0.IterableOfElement().as(iterable); + if (iterable == null) dart.nullFailed(I[147], 11858, 44, "iterable"); + dart.throw(new core.UnimplementedError.new()); + } + clear() { + this[S$1._element$2][S$._clearChildren](); + } + removeAt(index) { + if (index == null) dart.nullFailed(I[147], 11866, 24, "index"); + let result = this._get(index); + if (result != null) { + this[S$1._element$2][S$._removeChild](result); + } + return result; + } + removeLast() { + let result = this.last; + this[S$1._element$2][S$._removeChild](result); + return result; + } + get first() { + return html$._ChildrenElementList._first(this[S$1._element$2]); + } + set first(value) { + super.first = value; + } + static _first(_element) { + if (_element == null) dart.nullFailed(I[147], 11884, 33, "_element"); + let result = _element[S._firstElementChild]; + if (result == null) dart.throw(new core.StateError.new("No elements")); + return result; + } + get last() { + let result = this[S$1._element$2][S._lastElementChild]; + if (result == null) dart.throw(new core.StateError.new("No elements")); + return result; + } + set last(value) { + super.last = value; + } + get single() { + if (dart.notNull(this.length) > 1) dart.throw(new core.StateError.new("More than one element")); + return this.first; + } + get rawList() { + return this[S$1._childElements]; + } +}; +(html$._ChildrenElementList._wrap = function(element) { + if (element == null) dart.nullFailed(I[147], 11737, 38, "element"); + this[S$1._childElements] = html$.HtmlCollection.as(element[S._children]); + this[S$1._element$2] = element; + ; +}).prototype = html$._ChildrenElementList.prototype; +dart.addTypeTests(html$._ChildrenElementList); +dart.addTypeCaches(html$._ChildrenElementList); +html$._ChildrenElementList[dart.implements] = () => [html_common.NodeListWrapper]; +dart.setMethodSignature(html$._ChildrenElementList, () => ({ + __proto__: dart.getMethods(html$._ChildrenElementList.__proto__), + _get: dart.fnType(html$.Element, [core.int]), + [$_get]: dart.fnType(html$.Element, [core.int]), + _set: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), + [$_set]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), + add: dart.fnType(html$.Element, [dart.nullable(core.Object)]), + [$add]: dart.fnType(html$.Element, [dart.nullable(core.Object)]), + [S$1._filter$2]: dart.fnType(dart.void, [dart.fnType(core.bool, [html$.Element]), core.bool]) +})); +dart.setGetterSignature(html$._ChildrenElementList, () => ({ + __proto__: dart.getGetters(html$._ChildrenElementList.__proto__), + length: core.int, + [$length]: core.int, + rawList: core.List$(html$.Node) +})); +dart.setSetterSignature(html$._ChildrenElementList, () => ({ + __proto__: dart.getSetters(html$._ChildrenElementList.__proto__), + length: core.int, + [$length]: core.int +})); +dart.setLibraryUri(html$._ChildrenElementList, I[148]); +dart.setFieldSignature(html$._ChildrenElementList, () => ({ + __proto__: dart.getFields(html$._ChildrenElementList.__proto__), + [S$1._element$2]: dart.finalFieldType(html$.Element), + [S$1._childElements]: dart.finalFieldType(html$.HtmlCollection) +})); +dart.defineExtensionMethods(html$._ChildrenElementList, [ + 'contains', + '_get', + '_set', + 'add', + 'addAll', + 'sort', + 'shuffle', + 'removeWhere', + 'retainWhere', + 'fillRange', + 'replaceRange', + 'removeRange', + 'setRange', + 'remove', + 'insert', + 'insertAll', + 'setAll', + 'clear', + 'removeAt', + 'removeLast' +]); +dart.defineExtensionAccessors(html$._ChildrenElementList, [ + 'isEmpty', + 'length', + 'iterator', + 'first', + 'last', + 'single' +]); +const _is_ElementList_default = Symbol('_is_ElementList_default'); +html$.ElementList$ = dart.generic(T => { + class ElementList extends collection.ListBase$(T) {} + (ElementList.new = function() { + ; + }).prototype = ElementList.prototype; + dart.addTypeTests(ElementList); + ElementList.prototype[_is_ElementList_default] = true; + dart.addTypeCaches(ElementList); + dart.setLibraryUri(ElementList, I[148]); + return ElementList; +}); +html$.ElementList = html$.ElementList$(); +dart.addTypeTests(html$.ElementList, _is_ElementList_default); +const _is__FrozenElementList_default = Symbol('_is__FrozenElementList_default'); +html$._FrozenElementList$ = dart.generic(E => { + var ETovoid = () => (ETovoid = dart.constFn(dart.fnType(dart.void, [E])))(); + class _FrozenElementList extends collection.ListBase$(E) { + get length() { + return this[S$1._nodeList][$length]; + } + _get(index) { + if (index == null) dart.nullFailed(I[147], 12297, 21, "index"); + return E.as(this[S$1._nodeList][$_get](index)); + } + _set(index, value$) { + let value = value$; + if (index == null) dart.nullFailed(I[147], 12299, 25, "index"); + E.as(value); + if (value == null) dart.nullFailed(I[147], 12299, 34, "value"); + dart.throw(new core.UnsupportedError.new("Cannot modify list")); + return value$; + } + set length(newLength) { + if (newLength == null) dart.nullFailed(I[147], 12303, 18, "newLength"); + dart.throw(new core.UnsupportedError.new("Cannot modify list")); + } + sort(compare = null) { + dart.throw(new core.UnsupportedError.new("Cannot sort list")); + } + shuffle(random = null) { + dart.throw(new core.UnsupportedError.new("Cannot shuffle list")); + } + get first() { + return E.as(this[S$1._nodeList][$first]); + } + set first(value) { + super.first = value; + } + get last() { + return E.as(this[S$1._nodeList][$last]); + } + set last(value) { + super.last = value; + } + get single() { + return E.as(this[S$1._nodeList][$single]); + } + get classes() { + return html$._MultiElementCssClassSet.new(this); + } + get style() { + return new html$._CssStyleDeclarationSet.new(this); + } + set classes(value) { + if (value == null) dart.nullFailed(I[147], 12325, 32, "value"); + this.forEach(dart.fn(e => { + if (e == null) dart.nullFailed(I[147], 12332, 14, "e"); + return e[S.$classes] = value; + }, ETovoid())); + } + get contentEdge() { + return new html$._ContentCssListRect.new(this); + } + get paddingEdge() { + return this.first[S.$paddingEdge]; + } + get borderEdge() { + return this.first[S.$borderEdge]; + } + get marginEdge() { + return this.first[S.$marginEdge]; + } + get rawList() { + return this[S$1._nodeList]; + } + get onAbort() { + return html$.Element.abortEvent[S$1._forElementList](this); + } + get onBeforeCopy() { + return html$.Element.beforeCopyEvent[S$1._forElementList](this); + } + get onBeforeCut() { + return html$.Element.beforeCutEvent[S$1._forElementList](this); + } + get onBeforePaste() { + return html$.Element.beforePasteEvent[S$1._forElementList](this); + } + get onBlur() { + return html$.Element.blurEvent[S$1._forElementList](this); + } + get onCanPlay() { + return html$.Element.canPlayEvent[S$1._forElementList](this); + } + get onCanPlayThrough() { + return html$.Element.canPlayThroughEvent[S$1._forElementList](this); + } + get onChange() { + return html$.Element.changeEvent[S$1._forElementList](this); + } + get onClick() { + return html$.Element.clickEvent[S$1._forElementList](this); + } + get onContextMenu() { + return html$.Element.contextMenuEvent[S$1._forElementList](this); + } + get onCopy() { + return html$.Element.copyEvent[S$1._forElementList](this); + } + get onCut() { + return html$.Element.cutEvent[S$1._forElementList](this); + } + get onDoubleClick() { + return html$.Element.doubleClickEvent[S$1._forElementList](this); + } + get onDrag() { + return html$.Element.dragEvent[S$1._forElementList](this); + } + get onDragEnd() { + return html$.Element.dragEndEvent[S$1._forElementList](this); + } + get onDragEnter() { + return html$.Element.dragEnterEvent[S$1._forElementList](this); + } + get onDragLeave() { + return html$.Element.dragLeaveEvent[S$1._forElementList](this); + } + get onDragOver() { + return html$.Element.dragOverEvent[S$1._forElementList](this); + } + get onDragStart() { + return html$.Element.dragStartEvent[S$1._forElementList](this); + } + get onDrop() { + return html$.Element.dropEvent[S$1._forElementList](this); + } + get onDurationChange() { + return html$.Element.durationChangeEvent[S$1._forElementList](this); + } + get onEmptied() { + return html$.Element.emptiedEvent[S$1._forElementList](this); + } + get onEnded() { + return html$.Element.endedEvent[S$1._forElementList](this); + } + get onError() { + return html$.Element.errorEvent[S$1._forElementList](this); + } + get onFocus() { + return html$.Element.focusEvent[S$1._forElementList](this); + } + get onInput() { + return html$.Element.inputEvent[S$1._forElementList](this); + } + get onInvalid() { + return html$.Element.invalidEvent[S$1._forElementList](this); + } + get onKeyDown() { + return html$.Element.keyDownEvent[S$1._forElementList](this); + } + get onKeyPress() { + return html$.Element.keyPressEvent[S$1._forElementList](this); + } + get onKeyUp() { + return html$.Element.keyUpEvent[S$1._forElementList](this); + } + get onLoad() { + return html$.Element.loadEvent[S$1._forElementList](this); + } + get onLoadedData() { + return html$.Element.loadedDataEvent[S$1._forElementList](this); + } + get onLoadedMetadata() { + return html$.Element.loadedMetadataEvent[S$1._forElementList](this); + } + get onMouseDown() { + return html$.Element.mouseDownEvent[S$1._forElementList](this); + } + get onMouseEnter() { + return html$.Element.mouseEnterEvent[S$1._forElementList](this); + } + get onMouseLeave() { + return html$.Element.mouseLeaveEvent[S$1._forElementList](this); + } + get onMouseMove() { + return html$.Element.mouseMoveEvent[S$1._forElementList](this); + } + get onMouseOut() { + return html$.Element.mouseOutEvent[S$1._forElementList](this); + } + get onMouseOver() { + return html$.Element.mouseOverEvent[S$1._forElementList](this); + } + get onMouseUp() { + return html$.Element.mouseUpEvent[S$1._forElementList](this); + } + get onMouseWheel() { + return html$.Element.mouseWheelEvent[S$1._forElementList](this); + } + get onPaste() { + return html$.Element.pasteEvent[S$1._forElementList](this); + } + get onPause() { + return html$.Element.pauseEvent[S$1._forElementList](this); + } + get onPlay() { + return html$.Element.playEvent[S$1._forElementList](this); + } + get onPlaying() { + return html$.Element.playingEvent[S$1._forElementList](this); + } + get onRateChange() { + return html$.Element.rateChangeEvent[S$1._forElementList](this); + } + get onReset() { + return html$.Element.resetEvent[S$1._forElementList](this); + } + get onResize() { + return html$.Element.resizeEvent[S$1._forElementList](this); + } + get onScroll() { + return html$.Element.scrollEvent[S$1._forElementList](this); + } + get onSearch() { + return html$.Element.searchEvent[S$1._forElementList](this); + } + get onSeeked() { + return html$.Element.seekedEvent[S$1._forElementList](this); + } + get onSeeking() { + return html$.Element.seekingEvent[S$1._forElementList](this); + } + get onSelect() { + return html$.Element.selectEvent[S$1._forElementList](this); + } + get onSelectStart() { + return html$.Element.selectStartEvent[S$1._forElementList](this); + } + get onStalled() { + return html$.Element.stalledEvent[S$1._forElementList](this); + } + get onSubmit() { + return html$.Element.submitEvent[S$1._forElementList](this); + } + get onSuspend() { + return html$.Element.suspendEvent[S$1._forElementList](this); + } + get onTimeUpdate() { + return html$.Element.timeUpdateEvent[S$1._forElementList](this); + } + get onTouchCancel() { + return html$.Element.touchCancelEvent[S$1._forElementList](this); + } + get onTouchEnd() { + return html$.Element.touchEndEvent[S$1._forElementList](this); + } + get onTouchEnter() { + return html$.Element.touchEnterEvent[S$1._forElementList](this); + } + get onTouchLeave() { + return html$.Element.touchLeaveEvent[S$1._forElementList](this); + } + get onTouchMove() { + return html$.Element.touchMoveEvent[S$1._forElementList](this); + } + get onTouchStart() { + return html$.Element.touchStartEvent[S$1._forElementList](this); + } + get onTransitionEnd() { + return html$.Element.transitionEndEvent[S$1._forElementList](this); + } + get onVolumeChange() { + return html$.Element.volumeChangeEvent[S$1._forElementList](this); + } + get onWaiting() { + return html$.Element.waitingEvent[S$1._forElementList](this); + } + get onFullscreenChange() { + return html$.Element.fullscreenChangeEvent[S$1._forElementList](this); + } + get onFullscreenError() { + return html$.Element.fullscreenErrorEvent[S$1._forElementList](this); + } + get onWheel() { + return html$.Element.wheelEvent[S$1._forElementList](this); + } + } + (_FrozenElementList._wrap = function(_nodeList) { + if (_nodeList == null) dart.nullFailed(I[147], 12290, 33, "_nodeList"); + this[S$1._nodeList] = _nodeList; + if (!dart.test(this[S$1._nodeList][$every](dart.fn(element => { + if (element == null) dart.nullFailed(I[147], 12291, 34, "element"); + return E.is(element); + }, T$0.NodeTobool())))) dart.assertFailed("Query expects only HTML elements of type " + dart.str(dart.wrapType(E)) + " but found " + dart.str(this[S$1._nodeList][$firstWhere](dart.fn(e => { + if (e == null) dart.nullFailed(I[147], 12292, 93, "e"); + return !E.is(e); + }, T$0.NodeTobool()))), I[147], 12291, 12, "this._nodeList.every((element) => element is E)"); + }).prototype = _FrozenElementList.prototype; + dart.addTypeTests(_FrozenElementList); + _FrozenElementList.prototype[_is__FrozenElementList_default] = true; + dart.addTypeCaches(_FrozenElementList); + _FrozenElementList[dart.implements] = () => [html$.ElementList$(E), html_common.NodeListWrapper]; + dart.setMethodSignature(_FrozenElementList, () => ({ + __proto__: dart.getMethods(_FrozenElementList.__proto__), + _get: dart.fnType(E, [core.int]), + [$_get]: dart.fnType(E, [core.int]), + _set: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), + [$_set]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]) + })); + dart.setGetterSignature(_FrozenElementList, () => ({ + __proto__: dart.getGetters(_FrozenElementList.__proto__), + length: core.int, + [$length]: core.int, + classes: html$.CssClassSet, + style: html$.CssStyleDeclarationBase, + contentEdge: html$.CssRect, + paddingEdge: html$.CssRect, + borderEdge: html$.CssRect, + marginEdge: html$.CssRect, + rawList: core.List$(html$.Node), + onAbort: html$.ElementStream$(html$.Event), + onBeforeCopy: html$.ElementStream$(html$.Event), + onBeforeCut: html$.ElementStream$(html$.Event), + onBeforePaste: html$.ElementStream$(html$.Event), + onBlur: html$.ElementStream$(html$.Event), + onCanPlay: html$.ElementStream$(html$.Event), + onCanPlayThrough: html$.ElementStream$(html$.Event), + onChange: html$.ElementStream$(html$.Event), + onClick: html$.ElementStream$(html$.MouseEvent), + onContextMenu: html$.ElementStream$(html$.MouseEvent), + onCopy: html$.ElementStream$(html$.ClipboardEvent), + onCut: html$.ElementStream$(html$.ClipboardEvent), + onDoubleClick: html$.ElementStream$(html$.Event), + onDrag: html$.ElementStream$(html$.MouseEvent), + onDragEnd: html$.ElementStream$(html$.MouseEvent), + onDragEnter: html$.ElementStream$(html$.MouseEvent), + onDragLeave: html$.ElementStream$(html$.MouseEvent), + onDragOver: html$.ElementStream$(html$.MouseEvent), + onDragStart: html$.ElementStream$(html$.MouseEvent), + onDrop: html$.ElementStream$(html$.MouseEvent), + onDurationChange: html$.ElementStream$(html$.Event), + onEmptied: html$.ElementStream$(html$.Event), + onEnded: html$.ElementStream$(html$.Event), + onError: html$.ElementStream$(html$.Event), + onFocus: html$.ElementStream$(html$.Event), + onInput: html$.ElementStream$(html$.Event), + onInvalid: html$.ElementStream$(html$.Event), + onKeyDown: html$.ElementStream$(html$.KeyboardEvent), + onKeyPress: html$.ElementStream$(html$.KeyboardEvent), + onKeyUp: html$.ElementStream$(html$.KeyboardEvent), + onLoad: html$.ElementStream$(html$.Event), + onLoadedData: html$.ElementStream$(html$.Event), + onLoadedMetadata: html$.ElementStream$(html$.Event), + onMouseDown: html$.ElementStream$(html$.MouseEvent), + onMouseEnter: html$.ElementStream$(html$.MouseEvent), + onMouseLeave: html$.ElementStream$(html$.MouseEvent), + onMouseMove: html$.ElementStream$(html$.MouseEvent), + onMouseOut: html$.ElementStream$(html$.MouseEvent), + onMouseOver: html$.ElementStream$(html$.MouseEvent), + onMouseUp: html$.ElementStream$(html$.MouseEvent), + onMouseWheel: html$.ElementStream$(html$.WheelEvent), + onPaste: html$.ElementStream$(html$.ClipboardEvent), + onPause: html$.ElementStream$(html$.Event), + onPlay: html$.ElementStream$(html$.Event), + onPlaying: html$.ElementStream$(html$.Event), + onRateChange: html$.ElementStream$(html$.Event), + onReset: html$.ElementStream$(html$.Event), + onResize: html$.ElementStream$(html$.Event), + onScroll: html$.ElementStream$(html$.Event), + onSearch: html$.ElementStream$(html$.Event), + onSeeked: html$.ElementStream$(html$.Event), + onSeeking: html$.ElementStream$(html$.Event), + onSelect: html$.ElementStream$(html$.Event), + onSelectStart: html$.ElementStream$(html$.Event), + onStalled: html$.ElementStream$(html$.Event), + onSubmit: html$.ElementStream$(html$.Event), + onSuspend: html$.ElementStream$(html$.Event), + onTimeUpdate: html$.ElementStream$(html$.Event), + onTouchCancel: html$.ElementStream$(html$.TouchEvent), + onTouchEnd: html$.ElementStream$(html$.TouchEvent), + onTouchEnter: html$.ElementStream$(html$.TouchEvent), + onTouchLeave: html$.ElementStream$(html$.TouchEvent), + onTouchMove: html$.ElementStream$(html$.TouchEvent), + onTouchStart: html$.ElementStream$(html$.TouchEvent), + onTransitionEnd: html$.ElementStream$(html$.TransitionEvent), + onVolumeChange: html$.ElementStream$(html$.Event), + onWaiting: html$.ElementStream$(html$.Event), + onFullscreenChange: html$.ElementStream$(html$.Event), + onFullscreenError: html$.ElementStream$(html$.Event), + onWheel: html$.ElementStream$(html$.WheelEvent) + })); + dart.setSetterSignature(_FrozenElementList, () => ({ + __proto__: dart.getSetters(_FrozenElementList.__proto__), + length: core.int, + [$length]: core.int, + classes: core.Iterable$(core.String) + })); + dart.setLibraryUri(_FrozenElementList, I[148]); + dart.setFieldSignature(_FrozenElementList, () => ({ + __proto__: dart.getFields(_FrozenElementList.__proto__), + [S$1._nodeList]: dart.finalFieldType(core.List$(html$.Node)) + })); + dart.defineExtensionMethods(_FrozenElementList, ['_get', '_set', 'sort', 'shuffle']); + dart.defineExtensionAccessors(_FrozenElementList, ['length', 'first', 'last', 'single']); + return _FrozenElementList; +}); +html$._FrozenElementList = html$._FrozenElementList$(); +dart.addTypeTests(html$._FrozenElementList, _is__FrozenElementList_default); +html$._ElementFactoryProvider = class _ElementFactoryProvider extends core.Object { + static createElement_tag(tag, typeExtension) { + if (tag == null) dart.nullFailed(I[147], 15231, 43, "tag"); + if (typeExtension != null) { + return document.createElement(tag, typeExtension); + } + return document.createElement(tag); + } +}; +(html$._ElementFactoryProvider.new = function() { + ; +}).prototype = html$._ElementFactoryProvider.prototype; +dart.addTypeTests(html$._ElementFactoryProvider); +dart.addTypeCaches(html$._ElementFactoryProvider); +dart.setLibraryUri(html$._ElementFactoryProvider, I[148]); +html$.ScrollAlignment = class ScrollAlignment extends core.Object { + get [S$1._value$7]() { + return this[S$1._value$6]; + } + set [S$1._value$7](value) { + super[S$1._value$7] = value; + } + toString() { + return "ScrollAlignment." + dart.str(this[S$1._value$7]); + } +}; +(html$.ScrollAlignment._internal = function(_value) { + this[S$1._value$6] = _value; + ; +}).prototype = html$.ScrollAlignment.prototype; +dart.addTypeTests(html$.ScrollAlignment); +dart.addTypeCaches(html$.ScrollAlignment); +dart.setLibraryUri(html$.ScrollAlignment, I[148]); +dart.setFieldSignature(html$.ScrollAlignment, () => ({ + __proto__: dart.getFields(html$.ScrollAlignment.__proto__), + [S$1._value$7]: dart.finalFieldType(dart.dynamic) +})); +dart.defineExtensionMethods(html$.ScrollAlignment, ['toString']); +dart.defineLazy(html$.ScrollAlignment, { + /*html$.ScrollAlignment.TOP*/get TOP() { + return C[327] || CT.C327; + }, + /*html$.ScrollAlignment.CENTER*/get CENTER() { + return C[328] || CT.C328; + }, + /*html$.ScrollAlignment.BOTTOM*/get BOTTOM() { + return C[329] || CT.C329; + } +}, false); +html$.EmbedElement = class EmbedElement extends html$.HtmlElement { + static new() { + return html$.EmbedElement.as(html$.document[S.$createElement]("embed")); + } + static get supported() { + return html$.Element.isTagSupported("embed"); + } + get [$height]() { + return this.height; + } + set [$height](value) { + this.height = value; + } + get [$name]() { + return this.name; + } + set [$name](value) { + this.name = value; + } + get [S$.$src]() { + return this.src; + } + set [S$.$src](value) { + this.src = value; + } + get [S.$type]() { + return this.type; + } + set [S.$type](value) { + this.type = value; + } + get [$width]() { + return this.width; + } + set [$width](value) { + this.width = value; + } + [S$.__getter__](...args) { + return this.__getter__.apply(this, args); + } + [S$.__setter__](...args) { + return this.__setter__.apply(this, args); + } +}; +(html$.EmbedElement.created = function() { + html$.EmbedElement.__proto__.created.call(this); + ; +}).prototype = html$.EmbedElement.prototype; +dart.addTypeTests(html$.EmbedElement); +dart.addTypeCaches(html$.EmbedElement); +dart.setMethodSignature(html$.EmbedElement, () => ({ + __proto__: dart.getMethods(html$.EmbedElement.__proto__), + [S$.__getter__]: dart.fnType(html$.Node, [core.String]), + [S$.__setter__]: dart.fnType(dart.void, [core.String, html$.Node]) +})); +dart.setGetterSignature(html$.EmbedElement, () => ({ + __proto__: dart.getGetters(html$.EmbedElement.__proto__), + [$height]: core.String, + [$name]: dart.nullable(core.String), + [S$.$src]: core.String, + [S.$type]: core.String, + [$width]: core.String +})); +dart.setSetterSignature(html$.EmbedElement, () => ({ + __proto__: dart.getSetters(html$.EmbedElement.__proto__), + [$height]: core.String, + [$name]: dart.nullable(core.String), + [S$.$src]: core.String, + [S.$type]: core.String, + [$width]: core.String +})); +dart.setLibraryUri(html$.EmbedElement, I[148]); +dart.registerExtension("HTMLEmbedElement", html$.EmbedElement); +html$.ErrorEvent = class ErrorEvent$ extends html$.Event { + static new(type, eventInitDict = null) { + if (type == null) dart.nullFailed(I[147], 15450, 29, "type"); + if (eventInitDict != null) { + let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); + return html$.ErrorEvent._create_1(type, eventInitDict_1); + } + return html$.ErrorEvent._create_2(type); + } + static _create_1(type, eventInitDict) { + return new ErrorEvent(type, eventInitDict); + } + static _create_2(type) { + return new ErrorEvent(type); + } + get [S$1.$colno]() { + return this.colno; + } + get [S.$error]() { + return this.error; + } + get [S$1.$filename]() { + return this.filename; + } + get [S$1.$lineno]() { + return this.lineno; + } + get [$message]() { + return this.message; + } +}; +dart.addTypeTests(html$.ErrorEvent); +dart.addTypeCaches(html$.ErrorEvent); +dart.setGetterSignature(html$.ErrorEvent, () => ({ + __proto__: dart.getGetters(html$.ErrorEvent.__proto__), + [S$1.$colno]: dart.nullable(core.int), + [S.$error]: dart.nullable(core.Object), + [S$1.$filename]: dart.nullable(core.String), + [S$1.$lineno]: dart.nullable(core.int), + [$message]: dart.nullable(core.String) +})); +dart.setLibraryUri(html$.ErrorEvent, I[148]); +dart.registerExtension("ErrorEvent", html$.ErrorEvent); +html$.EventSource = class EventSource$ extends html$.EventTarget { + static new(url, opts) { + if (url == null) dart.nullFailed(I[147], 15622, 30, "url"); + let withCredentials = opts && 'withCredentials' in opts ? opts.withCredentials : false; + let parsedOptions = new (T$0.IdentityMapOfString$dynamic()).from(["withCredentials", withCredentials]); + return html$.EventSource._factoryEventSource(url, parsedOptions); + } + static _factoryEventSource(url, eventSourceInitDict = null) { + if (url == null) dart.nullFailed(I[147], 15660, 49, "url"); + if (eventSourceInitDict != null) { + let eventSourceInitDict_1 = html_common.convertDartToNative_Dictionary(eventSourceInitDict); + return html$.EventSource._create_1(url, eventSourceInitDict_1); + } + return html$.EventSource._create_2(url); + } + static _create_1(url, eventSourceInitDict) { + return new EventSource(url, eventSourceInitDict); + } + static _create_2(url) { + return new EventSource(url); + } + get [S.$readyState]() { + return this.readyState; + } + get [S$.$url]() { + return this.url; + } + get [S$1.$withCredentials]() { + return this.withCredentials; + } + [S.$close](...args) { + return this.close.apply(this, args); + } + get [S.$onError]() { + return html$.EventSource.errorEvent.forTarget(this); + } + get [S$.$onMessage]() { + return html$.EventSource.messageEvent.forTarget(this); + } + get [S$1.$onOpen]() { + return html$.EventSource.openEvent.forTarget(this); + } +}; +dart.addTypeTests(html$.EventSource); +dart.addTypeCaches(html$.EventSource); +dart.setMethodSignature(html$.EventSource, () => ({ + __proto__: dart.getMethods(html$.EventSource.__proto__), + [S.$close]: dart.fnType(dart.void, []) +})); +dart.setGetterSignature(html$.EventSource, () => ({ + __proto__: dart.getGetters(html$.EventSource.__proto__), + [S.$readyState]: dart.nullable(core.int), + [S$.$url]: dart.nullable(core.String), + [S$1.$withCredentials]: dart.nullable(core.bool), + [S.$onError]: async.Stream$(html$.Event), + [S$.$onMessage]: async.Stream$(html$.MessageEvent), + [S$1.$onOpen]: async.Stream$(html$.Event) +})); +dart.setLibraryUri(html$.EventSource, I[148]); +dart.defineLazy(html$.EventSource, { + /*html$.EventSource.errorEvent*/get errorEvent() { + return C[216] || CT.C216; + }, + /*html$.EventSource.messageEvent*/get messageEvent() { + return C[312] || CT.C312; + }, + /*html$.EventSource.openEvent*/get openEvent() { + return C[330] || CT.C330; + }, + /*html$.EventSource.CLOSED*/get CLOSED() { + return 2; + }, + /*html$.EventSource.CONNECTING*/get CONNECTING() { + return 0; + }, + /*html$.EventSource.OPEN*/get OPEN() { + return 1; + } +}, false); +dart.registerExtension("EventSource", html$.EventSource); +html$.Events = class Events extends core.Object { + _get(type) { + if (type == null) dart.nullFailed(I[147], 15744, 36, "type"); + return new (T$0._EventStreamOfEvent()).new(this[S$1._ptr], type, false); + } +}; +(html$.Events.new = function(_ptr) { + if (_ptr == null) dart.nullFailed(I[147], 15742, 15, "_ptr"); + this[S$1._ptr] = _ptr; + ; +}).prototype = html$.Events.prototype; +dart.addTypeTests(html$.Events); +dart.addTypeCaches(html$.Events); +dart.setMethodSignature(html$.Events, () => ({ + __proto__: dart.getMethods(html$.Events.__proto__), + _get: dart.fnType(async.Stream$(html$.Event), [core.String]) +})); +dart.setLibraryUri(html$.Events, I[148]); +dart.setFieldSignature(html$.Events, () => ({ + __proto__: dart.getFields(html$.Events.__proto__), + [S$1._ptr]: dart.finalFieldType(html$.EventTarget) +})); +html$.ElementEvents = class ElementEvents extends html$.Events { + _get(type) { + if (type == null) dart.nullFailed(I[147], 15769, 36, "type"); + if (dart.test(html$.ElementEvents.webkitEvents[$keys][$contains](type[$toLowerCase]()))) { + if (dart.test(html_common.Device.isWebKit)) { + return new (T$0._ElementEventStreamImplOfEvent()).new(this[S$1._ptr], html$.ElementEvents.webkitEvents[$_get](type[$toLowerCase]()), false); + } + } + return new (T$0._ElementEventStreamImplOfEvent()).new(this[S$1._ptr], type, false); + } +}; +(html$.ElementEvents.new = function(ptr) { + if (ptr == null) dart.nullFailed(I[147], 15767, 25, "ptr"); + html$.ElementEvents.__proto__.new.call(this, ptr); + ; +}).prototype = html$.ElementEvents.prototype; +dart.addTypeTests(html$.ElementEvents); +dart.addTypeCaches(html$.ElementEvents); +dart.setLibraryUri(html$.ElementEvents, I[148]); +dart.defineLazy(html$.ElementEvents, { + /*html$.ElementEvents.webkitEvents*/get webkitEvents() { + return new (T$.IdentityMapOfString$String()).from(["animationend", "webkitAnimationEnd", "animationiteration", "webkitAnimationIteration", "animationstart", "webkitAnimationStart", "fullscreenchange", "webkitfullscreenchange", "fullscreenerror", "webkitfullscreenerror", "keyadded", "webkitkeyadded", "keyerror", "webkitkeyerror", "keymessage", "webkitkeymessage", "needkey", "webkitneedkey", "pointerlockchange", "webkitpointerlockchange", "pointerlockerror", "webkitpointerlockerror", "resourcetimingbufferfull", "webkitresourcetimingbufferfull", "transitionend", "webkitTransitionEnd", "speechchange", "webkitSpeechChange"]); + } +}, false); +html$.ExtendableMessageEvent = class ExtendableMessageEvent extends html$.ExtendableEvent { + get [S$.$data]() { + return this.data; + } + get [S$1.$lastEventId]() { + return this.lastEventId; + } + get [S$.$origin]() { + return this.origin; + } + get [S$1.$ports]() { + return this.ports; + } + get [S.$source]() { + return this.source; + } +}; +dart.addTypeTests(html$.ExtendableMessageEvent); +dart.addTypeCaches(html$.ExtendableMessageEvent); +dart.setGetterSignature(html$.ExtendableMessageEvent, () => ({ + __proto__: dart.getGetters(html$.ExtendableMessageEvent.__proto__), + [S$.$data]: dart.nullable(core.Object), + [S$1.$lastEventId]: dart.nullable(core.String), + [S$.$origin]: dart.nullable(core.String), + [S$1.$ports]: dart.nullable(core.List$(html$.MessagePort)), + [S.$source]: dart.nullable(core.Object) +})); +dart.setLibraryUri(html$.ExtendableMessageEvent, I[148]); +dart.registerExtension("ExtendableMessageEvent", html$.ExtendableMessageEvent); +html$.External = class External extends _interceptors.Interceptor { + [S$1.$AddSearchProvider](...args) { + return this.AddSearchProvider.apply(this, args); + } + [S$1.$IsSearchProviderInstalled](...args) { + return this.IsSearchProviderInstalled.apply(this, args); + } +}; +dart.addTypeTests(html$.External); +dart.addTypeCaches(html$.External); +dart.setMethodSignature(html$.External, () => ({ + __proto__: dart.getMethods(html$.External.__proto__), + [S$1.$AddSearchProvider]: dart.fnType(dart.void, []), + [S$1.$IsSearchProviderInstalled]: dart.fnType(dart.void, []) +})); +dart.setLibraryUri(html$.External, I[148]); +dart.registerExtension("External", html$.External); +html$.FaceDetector = class FaceDetector$ extends _interceptors.Interceptor { + static new(faceDetectorOptions = null) { + if (faceDetectorOptions != null) { + let faceDetectorOptions_1 = html_common.convertDartToNative_Dictionary(faceDetectorOptions); + return html$.FaceDetector._create_1(faceDetectorOptions_1); + } + return html$.FaceDetector._create_2(); + } + static _create_1(faceDetectorOptions) { + return new FaceDetector(faceDetectorOptions); + } + static _create_2() { + return new FaceDetector(); + } + [S$.$detect](image) { + return js_util.promiseToFuture(core.List, this.detect(image)); + } +}; +dart.addTypeTests(html$.FaceDetector); +dart.addTypeCaches(html$.FaceDetector); +dart.setMethodSignature(html$.FaceDetector, () => ({ + __proto__: dart.getMethods(html$.FaceDetector.__proto__), + [S$.$detect]: dart.fnType(async.Future$(core.List), [dart.dynamic]) +})); +dart.setLibraryUri(html$.FaceDetector, I[148]); +dart.registerExtension("FaceDetector", html$.FaceDetector); +html$.FederatedCredential = class FederatedCredential$ extends html$.Credential { + static new(data) { + if (data == null) dart.nullFailed(I[147], 15934, 35, "data"); + let data_1 = html_common.convertDartToNative_Dictionary(data); + return html$.FederatedCredential._create_1(data_1); + } + static _create_1(data) { + return new FederatedCredential(data); + } + get [S$.$protocol]() { + return this.protocol; + } + get [S$1.$provider]() { + return this.provider; + } + get [S$.$iconUrl]() { + return this.iconURL; + } + get [$name]() { + return this.name; + } +}; +dart.addTypeTests(html$.FederatedCredential); +dart.addTypeCaches(html$.FederatedCredential); +html$.FederatedCredential[dart.implements] = () => [html$.CredentialUserData]; +dart.setGetterSignature(html$.FederatedCredential, () => ({ + __proto__: dart.getGetters(html$.FederatedCredential.__proto__), + [S$.$protocol]: dart.nullable(core.String), + [S$1.$provider]: dart.nullable(core.String), + [S$.$iconUrl]: dart.nullable(core.String), + [$name]: dart.nullable(core.String) +})); +dart.setLibraryUri(html$.FederatedCredential, I[148]); +dart.registerExtension("FederatedCredential", html$.FederatedCredential); +html$.FetchEvent = class FetchEvent$ extends html$.ExtendableEvent { + static new(type, eventInitDict) { + if (type == null) dart.nullFailed(I[147], 15963, 29, "type"); + if (eventInitDict == null) dart.nullFailed(I[147], 15963, 39, "eventInitDict"); + let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); + return html$.FetchEvent._create_1(type, eventInitDict_1); + } + static _create_1(type, eventInitDict) { + return new FetchEvent(type, eventInitDict); + } + get [S$1.$clientId]() { + return this.clientId; + } + get [S$1.$isReload]() { + return this.isReload; + } + get [S$1.$preloadResponse]() { + return js_util.promiseToFuture(dart.dynamic, this.preloadResponse); + } + get [S$.$request]() { + return this.request; + } + [S$.$respondWith](...args) { + return this.respondWith.apply(this, args); + } +}; +dart.addTypeTests(html$.FetchEvent); +dart.addTypeCaches(html$.FetchEvent); +dart.setMethodSignature(html$.FetchEvent, () => ({ + __proto__: dart.getMethods(html$.FetchEvent.__proto__), + [S$.$respondWith]: dart.fnType(dart.void, [async.Future]) +})); +dart.setGetterSignature(html$.FetchEvent, () => ({ + __proto__: dart.getGetters(html$.FetchEvent.__proto__), + [S$1.$clientId]: dart.nullable(core.String), + [S$1.$isReload]: dart.nullable(core.bool), + [S$1.$preloadResponse]: async.Future, + [S$.$request]: dart.nullable(html$._Request) +})); +dart.setLibraryUri(html$.FetchEvent, I[148]); +dart.registerExtension("FetchEvent", html$.FetchEvent); +html$.FieldSetElement = class FieldSetElement extends html$.HtmlElement { + static new() { + return html$.document.createElement("fieldset"); + } + get [S$.$disabled]() { + return this.disabled; + } + set [S$.$disabled](value) { + this.disabled = value; + } + get [S$1.$elements]() { + return this.elements; + } + get [S$.$form]() { + return this.form; + } + get [$name]() { + return this.name; + } + set [$name](value) { + this.name = value; + } + get [S.$type]() { + return this.type; + } + get [S$.$validationMessage]() { + return this.validationMessage; + } + get [S$.$validity]() { + return this.validity; + } + get [S$.$willValidate]() { + return this.willValidate; + } + [S$.$checkValidity](...args) { + return this.checkValidity.apply(this, args); + } + [S$.$reportValidity](...args) { + return this.reportValidity.apply(this, args); + } + [S$.$setCustomValidity](...args) { + return this.setCustomValidity.apply(this, args); + } +}; +(html$.FieldSetElement.created = function() { + html$.FieldSetElement.__proto__.created.call(this); + ; +}).prototype = html$.FieldSetElement.prototype; +dart.addTypeTests(html$.FieldSetElement); +dart.addTypeCaches(html$.FieldSetElement); +dart.setMethodSignature(html$.FieldSetElement, () => ({ + __proto__: dart.getMethods(html$.FieldSetElement.__proto__), + [S$.$checkValidity]: dart.fnType(core.bool, []), + [S$.$reportValidity]: dart.fnType(core.bool, []), + [S$.$setCustomValidity]: dart.fnType(dart.void, [core.String]) +})); +dart.setGetterSignature(html$.FieldSetElement, () => ({ + __proto__: dart.getGetters(html$.FieldSetElement.__proto__), + [S$.$disabled]: dart.nullable(core.bool), + [S$1.$elements]: dart.nullable(core.List$(html$.Node)), + [S$.$form]: dart.nullable(html$.FormElement), + [$name]: core.String, + [S.$type]: core.String, + [S$.$validationMessage]: core.String, + [S$.$validity]: html$.ValidityState, + [S$.$willValidate]: core.bool +})); +dart.setSetterSignature(html$.FieldSetElement, () => ({ + __proto__: dart.getSetters(html$.FieldSetElement.__proto__), + [S$.$disabled]: dart.nullable(core.bool), + [$name]: core.String +})); +dart.setLibraryUri(html$.FieldSetElement, I[148]); +dart.registerExtension("HTMLFieldSetElement", html$.FieldSetElement); +html$.File = class File$ extends html$.Blob { + static new(fileBits, fileName, options = null) { + if (fileBits == null) dart.nullFailed(I[147], 16044, 29, "fileBits"); + if (fileName == null) dart.nullFailed(I[147], 16044, 46, "fileName"); + if (options != null) { + let options_1 = html_common.convertDartToNative_Dictionary(options); + return html$.File._create_1(fileBits, fileName, options_1); + } + return html$.File._create_2(fileBits, fileName); + } + static _create_1(fileBits, fileName, options) { + return new File(fileBits, fileName, options); + } + static _create_2(fileBits, fileName) { + return new File(fileBits, fileName); + } + get [S$1.$lastModified]() { + return this.lastModified; + } + get [S$1.$lastModifiedDate]() { + return html_common.convertNativeToDart_DateTime(this[S$1._get_lastModifiedDate]); + } + get [S$1._get_lastModifiedDate]() { + return this.lastModifiedDate; + } + get [$name]() { + return this.name; + } + get [S$1.$relativePath]() { + return this.webkitRelativePath; + } +}; +dart.addTypeTests(html$.File); +dart.addTypeCaches(html$.File); +dart.setGetterSignature(html$.File, () => ({ + __proto__: dart.getGetters(html$.File.__proto__), + [S$1.$lastModified]: dart.nullable(core.int), + [S$1.$lastModifiedDate]: core.DateTime, + [S$1._get_lastModifiedDate]: dart.dynamic, + [$name]: core.String, + [S$1.$relativePath]: dart.nullable(core.String) +})); +dart.setLibraryUri(html$.File, I[148]); +dart.registerExtension("File", html$.File); +html$.FileEntry = class FileEntry extends html$.Entry { + [S$1._createWriter](...args) { + return this.createWriter.apply(this, args); + } + [S$1.$createWriter]() { + let completer = T$0.CompleterOfFileWriter().new(); + this[S$1._createWriter](dart.fn(value => { + if (value == null) dart.nullFailed(I[147], 16096, 20, "value"); + _js_helper.applyExtension("FileWriter", value); + completer.complete(value); + }, T$0.FileWriterTovoid()), dart.fn(error => { + if (error == null) dart.nullFailed(I[147], 16099, 9, "error"); + completer.completeError(error); + }, T$0.DomExceptionTovoid())); + return completer.future; + } + [S$1._file$1](...args) { + return this.file.apply(this, args); + } + [S$1.$file]() { + let completer = T$0.CompleterOfFile().new(); + this[S$1._file$1](dart.fn(value => { + _js_helper.applyExtension("File", value); + completer.complete(value); + }, T$0.FileNTovoid()), dart.fn(error => { + if (error == null) dart.nullFailed(I[147], 16115, 9, "error"); + completer.completeError(error); + }, T$0.DomExceptionTovoid())); + return completer.future; + } +}; +dart.addTypeTests(html$.FileEntry); +dart.addTypeCaches(html$.FileEntry); +dart.setMethodSignature(html$.FileEntry, () => ({ + __proto__: dart.getMethods(html$.FileEntry.__proto__), + [S$1._createWriter]: dart.fnType(dart.void, [dart.fnType(dart.void, [html$.FileWriter])], [dart.nullable(dart.fnType(dart.void, [html$.DomException]))]), + [S$1.$createWriter]: dart.fnType(async.Future$(html$.FileWriter), []), + [S$1._file$1]: dart.fnType(dart.void, [dart.fnType(dart.void, [dart.nullable(html$.File)])], [dart.nullable(dart.fnType(dart.void, [html$.DomException]))]), + [S$1.$file]: dart.fnType(async.Future$(html$.File), []) +})); +dart.setLibraryUri(html$.FileEntry, I[148]); +dart.registerExtension("FileEntry", html$.FileEntry); +const Interceptor_ListMixin$36$0 = class Interceptor_ListMixin extends _interceptors.Interceptor {}; +(Interceptor_ListMixin$36$0.new = function() { + Interceptor_ListMixin$36$0.__proto__.new.call(this); +}).prototype = Interceptor_ListMixin$36$0.prototype; +dart.applyMixin(Interceptor_ListMixin$36$0, collection.ListMixin$(html$.File)); +const Interceptor_ImmutableListMixin$36$0 = class Interceptor_ImmutableListMixin extends Interceptor_ListMixin$36$0 {}; +(Interceptor_ImmutableListMixin$36$0.new = function() { + Interceptor_ImmutableListMixin$36$0.__proto__.new.call(this); +}).prototype = Interceptor_ImmutableListMixin$36$0.prototype; +dart.applyMixin(Interceptor_ImmutableListMixin$36$0, html$.ImmutableListMixin$(html$.File)); +html$.FileList = class FileList extends Interceptor_ImmutableListMixin$36$0 { + get [$length]() { + return this.length; + } + [$_get](index) { + if (index == null) dart.nullFailed(I[147], 16136, 24, "index"); + if (index >>> 0 !== index || index >= this[$length]) dart.throw(new core.IndexError.new(index, this)); + return this[index]; + } + [$_set](index, value$) { + let value = value$; + if (index == null) dart.nullFailed(I[147], 16142, 25, "index"); + html$.File.as(value); + if (value == null) dart.nullFailed(I[147], 16142, 37, "value"); + dart.throw(new core.UnsupportedError.new("Cannot assign element of immutable List.")); + return value$; + } + set [$length](value) { + if (value == null) dart.nullFailed(I[147], 16148, 18, "value"); + dart.throw(new core.UnsupportedError.new("Cannot resize immutable List.")); + } + get [$first]() { + if (dart.notNull(this[$length]) > 0) { + return this[0]; + } + dart.throw(new core.StateError.new("No elements")); + } + set [$first](value) { + super[$first] = value; + } + get [$last]() { + let len = this[$length]; + if (dart.notNull(len) > 0) { + return this[dart.notNull(len) - 1]; + } + dart.throw(new core.StateError.new("No elements")); + } + set [$last](value) { + super[$last] = value; + } + get [$single]() { + let len = this[$length]; + if (len === 1) { + return this[0]; + } + if (len === 0) dart.throw(new core.StateError.new("No elements")); + dart.throw(new core.StateError.new("More than one element")); + } + [$elementAt](index) { + if (index == null) dart.nullFailed(I[147], 16176, 22, "index"); + return this[$_get](index); + } + [S$.$item](...args) { + return this.item.apply(this, args); + } +}; +html$.FileList.prototype[dart.isList] = true; +dart.addTypeTests(html$.FileList); +dart.addTypeCaches(html$.FileList); +html$.FileList[dart.implements] = () => [core.List$(html$.File), _js_helper.JavaScriptIndexingBehavior$(html$.File)]; +dart.setMethodSignature(html$.FileList, () => ({ + __proto__: dart.getMethods(html$.FileList.__proto__), + [$_get]: dart.fnType(html$.File, [core.int]), + [$_set]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), + [S$.$item]: dart.fnType(dart.nullable(html$.File), [core.int]) +})); +dart.setGetterSignature(html$.FileList, () => ({ + __proto__: dart.getGetters(html$.FileList.__proto__), + [$length]: core.int +})); +dart.setSetterSignature(html$.FileList, () => ({ + __proto__: dart.getSetters(html$.FileList.__proto__), + [$length]: core.int +})); +dart.setLibraryUri(html$.FileList, I[148]); +dart.registerExtension("FileList", html$.FileList); +html$.FileReader = class FileReader$ extends html$.EventTarget { + get [S.$result]() { + let res = this.result; + if (typed_data.ByteBuffer.is(res)) { + return typed_data.Uint8List.view(res); + } + return res; + } + static new() { + return html$.FileReader._create_1(); + } + static _create_1() { + return new FileReader(); + } + get [S.$error]() { + return this.error; + } + get [S.$readyState]() { + return this.readyState; + } + [S.$abort](...args) { + return this.abort.apply(this, args); + } + [S$1.$readAsArrayBuffer](...args) { + return this.readAsArrayBuffer.apply(this, args); + } + [S$1.$readAsDataUrl](...args) { + return this.readAsDataURL.apply(this, args); + } + [S$1.$readAsText](...args) { + return this.readAsText.apply(this, args); + } + get [S.$onAbort]() { + return html$.FileReader.abortEvent.forTarget(this); + } + get [S.$onError]() { + return html$.FileReader.errorEvent.forTarget(this); + } + get [S.$onLoad]() { + return html$.FileReader.loadEvent.forTarget(this); + } + get [S$1.$onLoadEnd]() { + return html$.FileReader.loadEndEvent.forTarget(this); + } + get [S$1.$onLoadStart]() { + return html$.FileReader.loadStartEvent.forTarget(this); + } + get [S$.$onProgress]() { + return html$.FileReader.progressEvent.forTarget(this); + } +}; +dart.addTypeTests(html$.FileReader); +dart.addTypeCaches(html$.FileReader); +dart.setMethodSignature(html$.FileReader, () => ({ + __proto__: dart.getMethods(html$.FileReader.__proto__), + [S.$abort]: dart.fnType(dart.void, []), + [S$1.$readAsArrayBuffer]: dart.fnType(dart.void, [html$.Blob]), + [S$1.$readAsDataUrl]: dart.fnType(dart.void, [html$.Blob]), + [S$1.$readAsText]: dart.fnType(dart.void, [html$.Blob], [dart.nullable(core.String)]) +})); +dart.setGetterSignature(html$.FileReader, () => ({ + __proto__: dart.getGetters(html$.FileReader.__proto__), + [S.$result]: dart.nullable(core.Object), + [S.$error]: dart.nullable(html$.DomException), + [S.$readyState]: core.int, + [S.$onAbort]: async.Stream$(html$.ProgressEvent), + [S.$onError]: async.Stream$(html$.ProgressEvent), + [S.$onLoad]: async.Stream$(html$.ProgressEvent), + [S$1.$onLoadEnd]: async.Stream$(html$.ProgressEvent), + [S$1.$onLoadStart]: async.Stream$(html$.ProgressEvent), + [S$.$onProgress]: async.Stream$(html$.ProgressEvent) +})); +dart.setLibraryUri(html$.FileReader, I[148]); +dart.defineLazy(html$.FileReader, { + /*html$.FileReader.abortEvent*/get abortEvent() { + return C[331] || CT.C331; + }, + /*html$.FileReader.errorEvent*/get errorEvent() { + return C[332] || CT.C332; + }, + /*html$.FileReader.loadEvent*/get loadEvent() { + return C[333] || CT.C333; + }, + /*html$.FileReader.loadEndEvent*/get loadEndEvent() { + return C[334] || CT.C334; + }, + /*html$.FileReader.loadStartEvent*/get loadStartEvent() { + return C[335] || CT.C335; + }, + /*html$.FileReader.progressEvent*/get progressEvent() { + return C[309] || CT.C309; + }, + /*html$.FileReader.DONE*/get DONE() { + return 2; + }, + /*html$.FileReader.EMPTY*/get EMPTY() { + return 0; + }, + /*html$.FileReader.LOADING*/get LOADING() { + return 1; + } +}, false); +dart.registerExtension("FileReader", html$.FileReader); +html$.FileSystem = class FileSystem extends _interceptors.Interceptor { + static get supported() { + return !!window.webkitRequestFileSystem; + } + get [$name]() { + return this.name; + } + get [S$1.$root]() { + return this.root; + } +}; +dart.addTypeTests(html$.FileSystem); +dart.addTypeCaches(html$.FileSystem); +dart.setGetterSignature(html$.FileSystem, () => ({ + __proto__: dart.getGetters(html$.FileSystem.__proto__), + [$name]: dart.nullable(core.String), + [S$1.$root]: dart.nullable(html$.DirectoryEntry) +})); +dart.setLibraryUri(html$.FileSystem, I[148]); +dart.registerExtension("DOMFileSystem", html$.FileSystem); +html$.FileWriter = class FileWriter extends html$.EventTarget { + get [S.$error]() { + return this.error; + } + get [$length]() { + return this.length; + } + get [S$0.$position]() { + return this.position; + } + get [S.$readyState]() { + return this.readyState; + } + [S.$abort](...args) { + return this.abort.apply(this, args); + } + [S$1.$seek](...args) { + return this.seek.apply(this, args); + } + [$truncate](...args) { + return this.truncate.apply(this, args); + } + [S$1.$write](...args) { + return this.write.apply(this, args); + } + get [S.$onAbort]() { + return html$.FileWriter.abortEvent.forTarget(this); + } + get [S.$onError]() { + return html$.FileWriter.errorEvent.forTarget(this); + } + get [S$.$onProgress]() { + return html$.FileWriter.progressEvent.forTarget(this); + } + get [S$1.$onWrite]() { + return html$.FileWriter.writeEvent.forTarget(this); + } + get [S$1.$onWriteEnd]() { + return html$.FileWriter.writeEndEvent.forTarget(this); + } + get [S$1.$onWriteStart]() { + return html$.FileWriter.writeStartEvent.forTarget(this); + } +}; +dart.addTypeTests(html$.FileWriter); +dart.addTypeCaches(html$.FileWriter); +dart.setMethodSignature(html$.FileWriter, () => ({ + __proto__: dart.getMethods(html$.FileWriter.__proto__), + [S.$abort]: dart.fnType(dart.void, []), + [S$1.$seek]: dart.fnType(dart.void, [core.int]), + [$truncate]: dart.fnType(dart.void, [core.int]), + [S$1.$write]: dart.fnType(dart.void, [html$.Blob]) +})); +dart.setGetterSignature(html$.FileWriter, () => ({ + __proto__: dart.getGetters(html$.FileWriter.__proto__), + [S.$error]: dart.nullable(html$.DomException), + [$length]: dart.nullable(core.int), + [S$0.$position]: dart.nullable(core.int), + [S.$readyState]: dart.nullable(core.int), + [S.$onAbort]: async.Stream$(html$.ProgressEvent), + [S.$onError]: async.Stream$(html$.Event), + [S$.$onProgress]: async.Stream$(html$.ProgressEvent), + [S$1.$onWrite]: async.Stream$(html$.ProgressEvent), + [S$1.$onWriteEnd]: async.Stream$(html$.ProgressEvent), + [S$1.$onWriteStart]: async.Stream$(html$.ProgressEvent) +})); +dart.setLibraryUri(html$.FileWriter, I[148]); +dart.defineLazy(html$.FileWriter, { + /*html$.FileWriter.abortEvent*/get abortEvent() { + return C[331] || CT.C331; + }, + /*html$.FileWriter.errorEvent*/get errorEvent() { + return C[216] || CT.C216; + }, + /*html$.FileWriter.progressEvent*/get progressEvent() { + return C[309] || CT.C309; + }, + /*html$.FileWriter.writeEvent*/get writeEvent() { + return C[336] || CT.C336; + }, + /*html$.FileWriter.writeEndEvent*/get writeEndEvent() { + return C[337] || CT.C337; + }, + /*html$.FileWriter.writeStartEvent*/get writeStartEvent() { + return C[338] || CT.C338; + }, + /*html$.FileWriter.DONE*/get DONE() { + return 2; + }, + /*html$.FileWriter.INIT*/get INIT() { + return 0; + }, + /*html$.FileWriter.WRITING*/get WRITING() { + return 1; + } +}, false); +dart.registerExtension("FileWriter", html$.FileWriter); +html$.FocusEvent = class FocusEvent$ extends html$.UIEvent { + static new(type, eventInitDict = null) { + if (type == null) dart.nullFailed(I[147], 16445, 29, "type"); + if (eventInitDict != null) { + let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); + return html$.FocusEvent._create_1(type, eventInitDict_1); + } + return html$.FocusEvent._create_2(type); + } + static _create_1(type, eventInitDict) { + return new FocusEvent(type, eventInitDict); + } + static _create_2(type) { + return new FocusEvent(type); + } + get [S$1.$relatedTarget]() { + return html$._convertNativeToDart_EventTarget(this[S$1._get_relatedTarget]); + } + get [S$1._get_relatedTarget]() { + return this.relatedTarget; + } +}; +dart.addTypeTests(html$.FocusEvent); +dart.addTypeCaches(html$.FocusEvent); +dart.setGetterSignature(html$.FocusEvent, () => ({ + __proto__: dart.getGetters(html$.FocusEvent.__proto__), + [S$1.$relatedTarget]: dart.nullable(html$.EventTarget), + [S$1._get_relatedTarget]: dart.dynamic +})); +dart.setLibraryUri(html$.FocusEvent, I[148]); +dart.registerExtension("FocusEvent", html$.FocusEvent); +html$.FontFace = class FontFace$ extends _interceptors.Interceptor { + static new(family, source, descriptors = null) { + if (family == null) dart.nullFailed(I[147], 16474, 27, "family"); + if (source == null) dart.nullFailed(I[147], 16474, 42, "source"); + if (descriptors != null) { + let descriptors_1 = html_common.convertDartToNative_Dictionary(descriptors); + return html$.FontFace._create_1(family, source, descriptors_1); + } + return html$.FontFace._create_2(family, source); + } + static _create_1(family, source, descriptors) { + return new FontFace(family, source, descriptors); + } + static _create_2(family, source) { + return new FontFace(family, source); + } + get [S$0.$display]() { + return this.display; + } + set [S$0.$display](value) { + this.display = value; + } + get [S$1.$family]() { + return this.family; + } + set [S$1.$family](value) { + this.family = value; + } + get [S$1.$featureSettings]() { + return this.featureSettings; + } + set [S$1.$featureSettings](value) { + this.featureSettings = value; + } + get [S$1.$loaded]() { + return js_util.promiseToFuture(html$.FontFace, this.loaded); + } + get [S$.$status]() { + return this.status; + } + get [S$1.$stretch]() { + return this.stretch; + } + set [S$1.$stretch](value) { + this.stretch = value; + } + get [S.$style]() { + return this.style; + } + set [S.$style](value) { + this.style = value; + } + get [S$0.$unicodeRange]() { + return this.unicodeRange; + } + set [S$0.$unicodeRange](value) { + this.unicodeRange = value; + } + get [S$1.$variant]() { + return this.variant; + } + set [S$1.$variant](value) { + this.variant = value; + } + get [S$1.$weight]() { + return this.weight; + } + set [S$1.$weight](value) { + this.weight = value; + } + [S$.$load]() { + return js_util.promiseToFuture(html$.FontFace, this.load()); + } +}; +dart.addTypeTests(html$.FontFace); +dart.addTypeCaches(html$.FontFace); +dart.setMethodSignature(html$.FontFace, () => ({ + __proto__: dart.getMethods(html$.FontFace.__proto__), + [S$.$load]: dart.fnType(async.Future$(html$.FontFace), []) +})); +dart.setGetterSignature(html$.FontFace, () => ({ + __proto__: dart.getGetters(html$.FontFace.__proto__), + [S$0.$display]: dart.nullable(core.String), + [S$1.$family]: dart.nullable(core.String), + [S$1.$featureSettings]: dart.nullable(core.String), + [S$1.$loaded]: async.Future$(html$.FontFace), + [S$.$status]: dart.nullable(core.String), + [S$1.$stretch]: dart.nullable(core.String), + [S.$style]: dart.nullable(core.String), + [S$0.$unicodeRange]: dart.nullable(core.String), + [S$1.$variant]: dart.nullable(core.String), + [S$1.$weight]: dart.nullable(core.String) +})); +dart.setSetterSignature(html$.FontFace, () => ({ + __proto__: dart.getSetters(html$.FontFace.__proto__), + [S$0.$display]: dart.nullable(core.String), + [S$1.$family]: dart.nullable(core.String), + [S$1.$featureSettings]: dart.nullable(core.String), + [S$1.$stretch]: dart.nullable(core.String), + [S.$style]: dart.nullable(core.String), + [S$0.$unicodeRange]: dart.nullable(core.String), + [S$1.$variant]: dart.nullable(core.String), + [S$1.$weight]: dart.nullable(core.String) +})); +dart.setLibraryUri(html$.FontFace, I[148]); +dart.registerExtension("FontFace", html$.FontFace); +html$.FontFaceSet = class FontFaceSet extends html$.EventTarget { + get [S$.$status]() { + return this.status; + } + [$add](...args) { + return this.add.apply(this, args); + } + [S$1.$check](...args) { + return this.check.apply(this, args); + } + [$clear](...args) { + return this.clear.apply(this, args); + } + [S.$delete](...args) { + return this.delete.apply(this, args); + } + [$forEach](...args) { + return this.forEach.apply(this, args); + } + [S$.$has](...args) { + return this.has.apply(this, args); + } + get [S$1.$onLoading]() { + return html$.FontFaceSet.loadingEvent.forTarget(this); + } + get [S$1.$onLoadingDone]() { + return html$.FontFaceSet.loadingDoneEvent.forTarget(this); + } + get [S$1.$onLoadingError]() { + return html$.FontFaceSet.loadingErrorEvent.forTarget(this); + } +}; +dart.addTypeTests(html$.FontFaceSet); +dart.addTypeCaches(html$.FontFaceSet); +dart.setMethodSignature(html$.FontFaceSet, () => ({ + __proto__: dart.getMethods(html$.FontFaceSet.__proto__), + [$add]: dart.fnType(html$.FontFaceSet, [html$.FontFace]), + [S$1.$check]: dart.fnType(core.bool, [core.String], [dart.nullable(core.String)]), + [$clear]: dart.fnType(dart.void, []), + [S.$delete]: dart.fnType(core.bool, [html$.FontFace]), + [$forEach]: dart.fnType(dart.void, [dart.fnType(dart.void, [html$.FontFace, html$.FontFace, html$.FontFaceSet])], [dart.nullable(core.Object)]), + [S$.$has]: dart.fnType(core.bool, [html$.FontFace]) +})); +dart.setGetterSignature(html$.FontFaceSet, () => ({ + __proto__: dart.getGetters(html$.FontFaceSet.__proto__), + [S$.$status]: dart.nullable(core.String), + [S$1.$onLoading]: async.Stream$(html$.FontFaceSetLoadEvent), + [S$1.$onLoadingDone]: async.Stream$(html$.FontFaceSetLoadEvent), + [S$1.$onLoadingError]: async.Stream$(html$.FontFaceSetLoadEvent) +})); +dart.setLibraryUri(html$.FontFaceSet, I[148]); +dart.defineLazy(html$.FontFaceSet, { + /*html$.FontFaceSet.loadingEvent*/get loadingEvent() { + return C[339] || CT.C339; + }, + /*html$.FontFaceSet.loadingDoneEvent*/get loadingDoneEvent() { + return C[340] || CT.C340; + }, + /*html$.FontFaceSet.loadingErrorEvent*/get loadingErrorEvent() { + return C[341] || CT.C341; + } +}, false); +dart.registerExtension("FontFaceSet", html$.FontFaceSet); +html$.FontFaceSetLoadEvent = class FontFaceSetLoadEvent$ extends html$.Event { + static new(type, eventInitDict = null) { + if (type == null) dart.nullFailed(I[147], 16579, 39, "type"); + if (eventInitDict != null) { + let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); + return html$.FontFaceSetLoadEvent._create_1(type, eventInitDict_1); + } + return html$.FontFaceSetLoadEvent._create_2(type); + } + static _create_1(type, eventInitDict) { + return new FontFaceSetLoadEvent(type, eventInitDict); + } + static _create_2(type) { + return new FontFaceSetLoadEvent(type); + } + get [S$1.$fontfaces]() { + return this.fontfaces; + } +}; +dart.addTypeTests(html$.FontFaceSetLoadEvent); +dart.addTypeCaches(html$.FontFaceSetLoadEvent); +dart.setGetterSignature(html$.FontFaceSetLoadEvent, () => ({ + __proto__: dart.getGetters(html$.FontFaceSetLoadEvent.__proto__), + [S$1.$fontfaces]: dart.nullable(core.List$(html$.FontFace)) +})); +dart.setLibraryUri(html$.FontFaceSetLoadEvent, I[148]); +dart.registerExtension("FontFaceSetLoadEvent", html$.FontFaceSetLoadEvent); +html$.FontFaceSource = class FontFaceSource extends _interceptors.Interceptor { + get [S$1.$fonts]() { + return this.fonts; + } +}; +dart.addTypeTests(html$.FontFaceSource); +dart.addTypeCaches(html$.FontFaceSource); +dart.setGetterSignature(html$.FontFaceSource, () => ({ + __proto__: dart.getGetters(html$.FontFaceSource.__proto__), + [S$1.$fonts]: dart.nullable(html$.FontFaceSet) +})); +dart.setLibraryUri(html$.FontFaceSource, I[148]); +dart.registerExtension("FontFaceSource", html$.FontFaceSource); +html$.ForeignFetchEvent = class ForeignFetchEvent$ extends html$.ExtendableEvent { + static new(type, eventInitDict) { + if (type == null) dart.nullFailed(I[147], 16620, 36, "type"); + if (eventInitDict == null) dart.nullFailed(I[147], 16620, 46, "eventInitDict"); + let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); + return html$.ForeignFetchEvent._create_1(type, eventInitDict_1); + } + static _create_1(type, eventInitDict) { + return new ForeignFetchEvent(type, eventInitDict); + } + get [S$.$origin]() { + return this.origin; + } + get [S$.$request]() { + return this.request; + } + [S$.$respondWith](...args) { + return this.respondWith.apply(this, args); + } +}; +dart.addTypeTests(html$.ForeignFetchEvent); +dart.addTypeCaches(html$.ForeignFetchEvent); +dart.setMethodSignature(html$.ForeignFetchEvent, () => ({ + __proto__: dart.getMethods(html$.ForeignFetchEvent.__proto__), + [S$.$respondWith]: dart.fnType(dart.void, [async.Future]) +})); +dart.setGetterSignature(html$.ForeignFetchEvent, () => ({ + __proto__: dart.getGetters(html$.ForeignFetchEvent.__proto__), + [S$.$origin]: dart.nullable(core.String), + [S$.$request]: dart.nullable(html$._Request) +})); +dart.setLibraryUri(html$.ForeignFetchEvent, I[148]); +dart.registerExtension("ForeignFetchEvent", html$.ForeignFetchEvent); +html$.FormData = class FormData$ extends _interceptors.Interceptor { + static new(form = null) { + if (form != null) { + return html$.FormData._create_1(form); + } + return html$.FormData._create_2(); + } + static _create_1(form) { + return new FormData(form); + } + static _create_2() { + return new FormData(); + } + static get supported() { + return !!window.FormData; + } + [S.$append](...args) { + return this.append.apply(this, args); + } + [S$1.$appendBlob](...args) { + return this.append.apply(this, args); + } + [S.$delete](...args) { + return this.delete.apply(this, args); + } + [S.$get](...args) { + return this.get.apply(this, args); + } + [S.$getAll](...args) { + return this.getAll.apply(this, args); + } + [S$.$has](...args) { + return this.has.apply(this, args); + } + [S$.$set](...args) { + return this.set.apply(this, args); + } +}; +dart.addTypeTests(html$.FormData); +dart.addTypeCaches(html$.FormData); +dart.setMethodSignature(html$.FormData, () => ({ + __proto__: dart.getMethods(html$.FormData.__proto__), + [S.$append]: dart.fnType(dart.void, [core.String, core.String]), + [S$1.$appendBlob]: dart.fnType(dart.void, [core.String, html$.Blob], [dart.nullable(core.String)]), + [S.$delete]: dart.fnType(dart.void, [core.String]), + [S.$get]: dart.fnType(dart.nullable(core.Object), [core.String]), + [S.$getAll]: dart.fnType(core.List$(core.Object), [core.String]), + [S$.$has]: dart.fnType(core.bool, [core.String]), + [S$.$set]: dart.fnType(dart.void, [core.String, dart.dynamic], [dart.nullable(core.String)]) +})); +dart.setLibraryUri(html$.FormData, I[148]); +dart.registerExtension("FormData", html$.FormData); +html$.FormElement = class FormElement extends html$.HtmlElement { + static new() { + return html$.document.createElement("form"); + } + get [S$1.$acceptCharset]() { + return this.acceptCharset; + } + set [S$1.$acceptCharset](value) { + this.acceptCharset = value; + } + get [S$1.$action]() { + return this.action; + } + set [S$1.$action](value) { + this.action = value; + } + get [S$.$autocomplete]() { + return this.autocomplete; + } + set [S$.$autocomplete](value) { + this.autocomplete = value; + } + get [S$.$encoding]() { + return this.encoding; + } + set [S$.$encoding](value) { + this.encoding = value; + } + get [S$1.$enctype]() { + return this.enctype; + } + set [S$1.$enctype](value) { + this.enctype = value; + } + get [$length]() { + return this.length; + } + get [S$1.$method]() { + return this.method; + } + set [S$1.$method](value) { + this.method = value; + } + get [$name]() { + return this.name; + } + set [$name](value) { + this.name = value; + } + get [S$1.$noValidate]() { + return this.noValidate; + } + set [S$1.$noValidate](value) { + this.noValidate = value; + } + get [S.$target]() { + return this.target; + } + set [S.$target](value) { + this.target = value; + } + [S$.__getter__](...args) { + return this.__getter__.apply(this, args); + } + [S$.$checkValidity](...args) { + return this.checkValidity.apply(this, args); + } + [S$.$item](...args) { + return this.item.apply(this, args); + } + [S$.$reportValidity](...args) { + return this.reportValidity.apply(this, args); + } + [S$1.$requestAutocomplete](details) { + let details_1 = html_common.convertDartToNative_Dictionary(details); + this[S$1._requestAutocomplete_1](details_1); + return; + } + [S$1._requestAutocomplete_1](...args) { + return this.requestAutocomplete.apply(this, args); + } + [S$1.$reset](...args) { + return this.reset.apply(this, args); + } + [S$1.$submit](...args) { + return this.submit.apply(this, args); + } +}; +(html$.FormElement.created = function() { + html$.FormElement.__proto__.created.call(this); + ; +}).prototype = html$.FormElement.prototype; +dart.addTypeTests(html$.FormElement); +dart.addTypeCaches(html$.FormElement); +dart.setMethodSignature(html$.FormElement, () => ({ + __proto__: dart.getMethods(html$.FormElement.__proto__), + [S$.__getter__]: dart.fnType(dart.nullable(core.Object), [core.String]), + [S$.$checkValidity]: dart.fnType(core.bool, []), + [S$.$item]: dart.fnType(html$.Element, [core.int]), + [S$.$reportValidity]: dart.fnType(core.bool, []), + [S$1.$requestAutocomplete]: dart.fnType(dart.void, [dart.nullable(core.Map)]), + [S$1._requestAutocomplete_1]: dart.fnType(dart.void, [dart.dynamic]), + [S$1.$reset]: dart.fnType(dart.void, []), + [S$1.$submit]: dart.fnType(dart.void, []) +})); +dart.setGetterSignature(html$.FormElement, () => ({ + __proto__: dart.getGetters(html$.FormElement.__proto__), + [S$1.$acceptCharset]: dart.nullable(core.String), + [S$1.$action]: dart.nullable(core.String), + [S$.$autocomplete]: dart.nullable(core.String), + [S$.$encoding]: dart.nullable(core.String), + [S$1.$enctype]: dart.nullable(core.String), + [$length]: dart.nullable(core.int), + [S$1.$method]: dart.nullable(core.String), + [$name]: dart.nullable(core.String), + [S$1.$noValidate]: dart.nullable(core.bool), + [S.$target]: dart.nullable(core.String) +})); +dart.setSetterSignature(html$.FormElement, () => ({ + __proto__: dart.getSetters(html$.FormElement.__proto__), + [S$1.$acceptCharset]: dart.nullable(core.String), + [S$1.$action]: dart.nullable(core.String), + [S$.$autocomplete]: dart.nullable(core.String), + [S$.$encoding]: dart.nullable(core.String), + [S$1.$enctype]: dart.nullable(core.String), + [S$1.$method]: dart.nullable(core.String), + [$name]: dart.nullable(core.String), + [S$1.$noValidate]: dart.nullable(core.bool), + [S.$target]: dart.nullable(core.String) +})); +dart.setLibraryUri(html$.FormElement, I[148]); +dart.registerExtension("HTMLFormElement", html$.FormElement); +html$.Gamepad = class Gamepad extends _interceptors.Interceptor { + get [S$1.$axes]() { + return this.axes; + } + get [S$1.$buttons]() { + return this.buttons; + } + get [S$1.$connected]() { + return this.connected; + } + get [S$1.$displayId]() { + return this.displayId; + } + get [S$1.$hand]() { + return this.hand; + } + get [S.$id]() { + return this.id; + } + get [S.$index]() { + return this.index; + } + get [S$1.$mapping]() { + return this.mapping; + } + get [S$1.$pose]() { + return this.pose; + } + get [S$.$timestamp]() { + return this.timestamp; + } +}; +dart.addTypeTests(html$.Gamepad); +dart.addTypeCaches(html$.Gamepad); +dart.setGetterSignature(html$.Gamepad, () => ({ + __proto__: dart.getGetters(html$.Gamepad.__proto__), + [S$1.$axes]: dart.nullable(core.List$(core.num)), + [S$1.$buttons]: dart.nullable(core.List$(html$.GamepadButton)), + [S$1.$connected]: dart.nullable(core.bool), + [S$1.$displayId]: dart.nullable(core.int), + [S$1.$hand]: dart.nullable(core.String), + [S.$id]: dart.nullable(core.String), + [S.$index]: dart.nullable(core.int), + [S$1.$mapping]: dart.nullable(core.String), + [S$1.$pose]: dart.nullable(html$.GamepadPose), + [S$.$timestamp]: dart.nullable(core.int) +})); +dart.setLibraryUri(html$.Gamepad, I[148]); +dart.registerExtension("Gamepad", html$.Gamepad); +html$.GamepadButton = class GamepadButton extends _interceptors.Interceptor { + get [S$.$pressed]() { + return this.pressed; + } + get [S$1.$touched]() { + return this.touched; + } + get [S.$value]() { + return this.value; + } +}; +dart.addTypeTests(html$.GamepadButton); +dart.addTypeCaches(html$.GamepadButton); +dart.setGetterSignature(html$.GamepadButton, () => ({ + __proto__: dart.getGetters(html$.GamepadButton.__proto__), + [S$.$pressed]: dart.nullable(core.bool), + [S$1.$touched]: dart.nullable(core.bool), + [S.$value]: dart.nullable(core.num) +})); +dart.setLibraryUri(html$.GamepadButton, I[148]); +dart.registerExtension("GamepadButton", html$.GamepadButton); +html$.GamepadEvent = class GamepadEvent$ extends html$.Event { + static new(type, eventInitDict = null) { + if (type == null) dart.nullFailed(I[147], 16832, 31, "type"); + if (eventInitDict != null) { + let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); + return html$.GamepadEvent._create_1(type, eventInitDict_1); + } + return html$.GamepadEvent._create_2(type); + } + static _create_1(type, eventInitDict) { + return new GamepadEvent(type, eventInitDict); + } + static _create_2(type) { + return new GamepadEvent(type); + } + get [S$1.$gamepad]() { + return this.gamepad; + } +}; +dart.addTypeTests(html$.GamepadEvent); +dart.addTypeCaches(html$.GamepadEvent); +dart.setGetterSignature(html$.GamepadEvent, () => ({ + __proto__: dart.getGetters(html$.GamepadEvent.__proto__), + [S$1.$gamepad]: dart.nullable(html$.Gamepad) +})); +dart.setLibraryUri(html$.GamepadEvent, I[148]); +dart.registerExtension("GamepadEvent", html$.GamepadEvent); +html$.GamepadPose = class GamepadPose extends _interceptors.Interceptor { + get [S$1.$angularAcceleration]() { + return this.angularAcceleration; + } + get [S$1.$angularVelocity]() { + return this.angularVelocity; + } + get [S$1.$hasOrientation]() { + return this.hasOrientation; + } + get [S$1.$hasPosition]() { + return this.hasPosition; + } + get [S$1.$linearAcceleration]() { + return this.linearAcceleration; + } + get [S$1.$linearVelocity]() { + return this.linearVelocity; + } + get [S$.$orientation]() { + return this.orientation; + } + get [S$0.$position]() { + return this.position; + } +}; +dart.addTypeTests(html$.GamepadPose); +dart.addTypeCaches(html$.GamepadPose); +dart.setGetterSignature(html$.GamepadPose, () => ({ + __proto__: dart.getGetters(html$.GamepadPose.__proto__), + [S$1.$angularAcceleration]: dart.nullable(typed_data.Float32List), + [S$1.$angularVelocity]: dart.nullable(typed_data.Float32List), + [S$1.$hasOrientation]: dart.nullable(core.bool), + [S$1.$hasPosition]: dart.nullable(core.bool), + [S$1.$linearAcceleration]: dart.nullable(typed_data.Float32List), + [S$1.$linearVelocity]: dart.nullable(typed_data.Float32List), + [S$.$orientation]: dart.nullable(typed_data.Float32List), + [S$0.$position]: dart.nullable(typed_data.Float32List) +})); +dart.setLibraryUri(html$.GamepadPose, I[148]); +dart.registerExtension("GamepadPose", html$.GamepadPose); +html$.Geolocation = class Geolocation extends _interceptors.Interceptor { + [S$1.$getCurrentPosition](opts) { + let enableHighAccuracy = opts && 'enableHighAccuracy' in opts ? opts.enableHighAccuracy : null; + let timeout = opts && 'timeout' in opts ? opts.timeout : null; + let maximumAge = opts && 'maximumAge' in opts ? opts.maximumAge : null; + let options = new _js_helper.LinkedMap.new(); + if (enableHighAccuracy != null) { + options[$_set]("enableHighAccuracy", enableHighAccuracy); + } + if (timeout != null) { + options[$_set]("timeout", timeout.inMilliseconds); + } + if (maximumAge != null) { + options[$_set]("maximumAge", maximumAge.inMilliseconds); + } + let completer = T$0.CompleterOfGeoposition().new(); + try { + this[S$1._getCurrentPosition](dart.fn(position => { + if (position == null) dart.nullFailed(I[147], 16894, 28, "position"); + completer.complete(this[S$1._ensurePosition](position)); + }, T$0.GeopositionTovoid()), dart.fn(error => { + if (error == null) dart.nullFailed(I[147], 16896, 11, "error"); + completer.completeError(error); + }, T$0.PositionErrorTovoid()), options); + } catch (e$) { + let e = dart.getThrown(e$); + let stacktrace = dart.stackTrace(e$); + if (core.Object.is(e)) { + completer.completeError(e, stacktrace); + } else + throw e$; + } + return completer.future; + } + [S$1.$watchPosition](opts) { + let enableHighAccuracy = opts && 'enableHighAccuracy' in opts ? opts.enableHighAccuracy : null; + let timeout = opts && 'timeout' in opts ? opts.timeout : null; + let maximumAge = opts && 'maximumAge' in opts ? opts.maximumAge : null; + let options = new _js_helper.LinkedMap.new(); + if (enableHighAccuracy != null) { + options[$_set]("enableHighAccuracy", enableHighAccuracy); + } + if (timeout != null) { + options[$_set]("timeout", timeout.inMilliseconds); + } + if (maximumAge != null) { + options[$_set]("maximumAge", maximumAge.inMilliseconds); + } + let watchId = null; + let controller = T$0.StreamControllerOfGeoposition().new({sync: true, onCancel: dart.fn(() => { + if (!(watchId != null)) dart.assertFailed(null, I[147], 16923, 22, "watchId != null"); + this[S$1._clearWatch](dart.nullCheck(watchId)); + }, T$.VoidToNull())}); + controller.onListen = dart.fn(() => { + if (!(watchId == null)) dart.assertFailed(null, I[147], 16927, 14, "watchId == null"); + watchId = this[S$1._watchPosition](dart.fn(position => { + if (position == null) dart.nullFailed(I[147], 16928, 33, "position"); + controller.add(this[S$1._ensurePosition](position)); + }, T$0.GeopositionTovoid()), dart.fn(error => { + if (error == null) dart.nullFailed(I[147], 16930, 11, "error"); + controller.addError(error); + }, T$0.PositionErrorTovoid()), options); + }, T$.VoidTovoid()); + return controller.stream; + } + [S$1._ensurePosition](domPosition) { + try { + if (html$.Geoposition.is(domPosition)) { + return domPosition; + } + } catch (e$) { + let e = dart.getThrown(e$); + if (core.Object.is(e)) { + } else + throw e$; + } + return new html$._GeopositionWrapper.new(domPosition); + } + [S$1._clearWatch](...args) { + return this.clearWatch.apply(this, args); + } + [S$1._getCurrentPosition](successCallback, errorCallback = null, options = null) { + if (successCallback == null) dart.nullFailed(I[147], 16956, 46, "successCallback"); + if (options != null) { + let successCallback_1 = _js_helper.convertDartClosureToJS(T$0.GeopositionTovoid(), successCallback, 1); + let options_2 = html_common.convertDartToNative_Dictionary(options); + this[S$1._getCurrentPosition_1](successCallback_1, errorCallback, options_2); + return; + } + if (errorCallback != null) { + let successCallback_1 = _js_helper.convertDartClosureToJS(T$0.GeopositionTovoid(), successCallback, 1); + this[S$1._getCurrentPosition_2](successCallback_1, errorCallback); + return; + } + let successCallback_1 = _js_helper.convertDartClosureToJS(T$0.GeopositionTovoid(), successCallback, 1); + this[S$1._getCurrentPosition_3](successCallback_1); + return; + } + [S$1._getCurrentPosition_1](...args) { + return this.getCurrentPosition.apply(this, args); + } + [S$1._getCurrentPosition_2](...args) { + return this.getCurrentPosition.apply(this, args); + } + [S$1._getCurrentPosition_3](...args) { + return this.getCurrentPosition.apply(this, args); + } + [S$1._watchPosition](successCallback, errorCallback = null, options = null) { + if (successCallback == null) dart.nullFailed(I[147], 16983, 40, "successCallback"); + if (options != null) { + let successCallback_1 = _js_helper.convertDartClosureToJS(T$0.GeopositionTovoid(), successCallback, 1); + let options_2 = html_common.convertDartToNative_Dictionary(options); + return this[S$1._watchPosition_1](successCallback_1, errorCallback, options_2); + } + if (errorCallback != null) { + let successCallback_1 = _js_helper.convertDartClosureToJS(T$0.GeopositionTovoid(), successCallback, 1); + return this[S$1._watchPosition_2](successCallback_1, errorCallback); + } + let successCallback_1 = _js_helper.convertDartClosureToJS(T$0.GeopositionTovoid(), successCallback, 1); + return this[S$1._watchPosition_3](successCallback_1); + } + [S$1._watchPosition_1](...args) { + return this.watchPosition.apply(this, args); + } + [S$1._watchPosition_2](...args) { + return this.watchPosition.apply(this, args); + } + [S$1._watchPosition_3](...args) { + return this.watchPosition.apply(this, args); + } +}; +dart.addTypeTests(html$.Geolocation); +dart.addTypeCaches(html$.Geolocation); +dart.setMethodSignature(html$.Geolocation, () => ({ + __proto__: dart.getMethods(html$.Geolocation.__proto__), + [S$1.$getCurrentPosition]: dart.fnType(async.Future$(html$.Geoposition), [], {enableHighAccuracy: dart.nullable(core.bool), maximumAge: dart.nullable(core.Duration), timeout: dart.nullable(core.Duration)}, {}), + [S$1.$watchPosition]: dart.fnType(async.Stream$(html$.Geoposition), [], {enableHighAccuracy: dart.nullable(core.bool), maximumAge: dart.nullable(core.Duration), timeout: dart.nullable(core.Duration)}, {}), + [S$1._ensurePosition]: dart.fnType(html$.Geoposition, [dart.dynamic]), + [S$1._clearWatch]: dart.fnType(dart.void, [core.int]), + [S$1._getCurrentPosition]: dart.fnType(dart.void, [dart.fnType(dart.void, [html$.Geoposition])], [dart.nullable(dart.fnType(dart.void, [html$.PositionError])), dart.nullable(core.Map)]), + [S$1._getCurrentPosition_1]: dart.fnType(dart.void, [dart.dynamic, dart.nullable(dart.fnType(dart.void, [html$.PositionError])), dart.dynamic]), + [S$1._getCurrentPosition_2]: dart.fnType(dart.void, [dart.dynamic, dart.nullable(dart.fnType(dart.void, [html$.PositionError]))]), + [S$1._getCurrentPosition_3]: dart.fnType(dart.void, [dart.dynamic]), + [S$1._watchPosition]: dart.fnType(core.int, [dart.fnType(dart.void, [html$.Geoposition])], [dart.nullable(dart.fnType(dart.void, [html$.PositionError])), dart.nullable(core.Map)]), + [S$1._watchPosition_1]: dart.fnType(core.int, [dart.dynamic, dart.nullable(dart.fnType(dart.void, [html$.PositionError])), dart.dynamic]), + [S$1._watchPosition_2]: dart.fnType(core.int, [dart.dynamic, dart.nullable(dart.fnType(dart.void, [html$.PositionError]))]), + [S$1._watchPosition_3]: dart.fnType(core.int, [dart.dynamic]) +})); +dart.setLibraryUri(html$.Geolocation, I[148]); +dart.registerExtension("Geolocation", html$.Geolocation); +html$._GeopositionWrapper = class _GeopositionWrapper extends core.Object { + get coords() { + return this[S$1._ptr].coords; + } + get timestamp() { + return this[S$1._ptr].timestamp; + } +}; +(html$._GeopositionWrapper.new = function(_ptr) { + this[S$1._ptr] = _ptr; + ; +}).prototype = html$._GeopositionWrapper.prototype; +dart.addTypeTests(html$._GeopositionWrapper); +dart.addTypeCaches(html$._GeopositionWrapper); +html$._GeopositionWrapper[dart.implements] = () => [html$.Geoposition]; +dart.setGetterSignature(html$._GeopositionWrapper, () => ({ + __proto__: dart.getGetters(html$._GeopositionWrapper.__proto__), + coords: html$.Coordinates, + [S$.$coords]: html$.Coordinates, + timestamp: core.int, + [S$.$timestamp]: core.int +})); +dart.setLibraryUri(html$._GeopositionWrapper, I[148]); +dart.setFieldSignature(html$._GeopositionWrapper, () => ({ + __proto__: dart.getFields(html$._GeopositionWrapper.__proto__), + [S$1._ptr]: dart.fieldType(dart.dynamic) +})); +dart.defineExtensionAccessors(html$._GeopositionWrapper, ['coords', 'timestamp']); +html$.Geoposition = class Geoposition extends _interceptors.Interceptor { + get [S$.$coords]() { + return this.coords; + } + get [S$.$timestamp]() { + return this.timestamp; + } +}; +dart.addTypeTests(html$.Geoposition); +dart.addTypeCaches(html$.Geoposition); +dart.setGetterSignature(html$.Geoposition, () => ({ + __proto__: dart.getGetters(html$.Geoposition.__proto__), + [S$.$coords]: dart.nullable(html$.Coordinates), + [S$.$timestamp]: dart.nullable(core.int) +})); +dart.setLibraryUri(html$.Geoposition, I[148]); +dart.registerExtension("Position", html$.Geoposition); +html$.GlobalEventHandlers = class GlobalEventHandlers extends core.Object { + get onAbort() { + return html$.GlobalEventHandlers.abortEvent.forTarget(this); + } + get onBlur() { + return html$.GlobalEventHandlers.blurEvent.forTarget(this); + } + get onCanPlay() { + return html$.GlobalEventHandlers.canPlayEvent.forTarget(this); + } + get onCanPlayThrough() { + return html$.GlobalEventHandlers.canPlayThroughEvent.forTarget(this); + } + get onChange() { + return html$.GlobalEventHandlers.changeEvent.forTarget(this); + } + get onClick() { + return html$.GlobalEventHandlers.clickEvent.forTarget(this); + } + get onContextMenu() { + return html$.GlobalEventHandlers.contextMenuEvent.forTarget(this); + } + get onDoubleClick() { + return html$.GlobalEventHandlers.doubleClickEvent.forTarget(this); + } + get onDrag() { + return html$.GlobalEventHandlers.dragEvent.forTarget(this); + } + get onDragEnd() { + return html$.GlobalEventHandlers.dragEndEvent.forTarget(this); + } + get onDragEnter() { + return html$.GlobalEventHandlers.dragEnterEvent.forTarget(this); + } + get onDragLeave() { + return html$.GlobalEventHandlers.dragLeaveEvent.forTarget(this); + } + get onDragOver() { + return html$.GlobalEventHandlers.dragOverEvent.forTarget(this); + } + get onDragStart() { + return html$.GlobalEventHandlers.dragStartEvent.forTarget(this); + } + get onDrop() { + return html$.GlobalEventHandlers.dropEvent.forTarget(this); + } + get onDurationChange() { + return html$.GlobalEventHandlers.durationChangeEvent.forTarget(this); + } + get onEmptied() { + return html$.GlobalEventHandlers.emptiedEvent.forTarget(this); + } + get onEnded() { + return html$.GlobalEventHandlers.endedEvent.forTarget(this); + } + get onError() { + return html$.GlobalEventHandlers.errorEvent.forTarget(this); + } + get onFocus() { + return html$.GlobalEventHandlers.focusEvent.forTarget(this); + } + get onInput() { + return html$.GlobalEventHandlers.inputEvent.forTarget(this); + } + get onInvalid() { + return html$.GlobalEventHandlers.invalidEvent.forTarget(this); + } + get onKeyDown() { + return html$.GlobalEventHandlers.keyDownEvent.forTarget(this); + } + get onKeyPress() { + return html$.GlobalEventHandlers.keyPressEvent.forTarget(this); + } + get onKeyUp() { + return html$.GlobalEventHandlers.keyUpEvent.forTarget(this); + } + get onLoad() { + return html$.GlobalEventHandlers.loadEvent.forTarget(this); + } + get onLoadedData() { + return html$.GlobalEventHandlers.loadedDataEvent.forTarget(this); + } + get onLoadedMetadata() { + return html$.GlobalEventHandlers.loadedMetadataEvent.forTarget(this); + } + get onMouseDown() { + return html$.GlobalEventHandlers.mouseDownEvent.forTarget(this); + } + get onMouseEnter() { + return html$.GlobalEventHandlers.mouseEnterEvent.forTarget(this); + } + get onMouseLeave() { + return html$.GlobalEventHandlers.mouseLeaveEvent.forTarget(this); + } + get onMouseMove() { + return html$.GlobalEventHandlers.mouseMoveEvent.forTarget(this); + } + get onMouseOut() { + return html$.GlobalEventHandlers.mouseOutEvent.forTarget(this); + } + get onMouseOver() { + return html$.GlobalEventHandlers.mouseOverEvent.forTarget(this); + } + get onMouseUp() { + return html$.GlobalEventHandlers.mouseUpEvent.forTarget(this); + } + get onMouseWheel() { + return html$.GlobalEventHandlers.mouseWheelEvent.forTarget(this); + } + get onPause() { + return html$.GlobalEventHandlers.pauseEvent.forTarget(this); + } + get onPlay() { + return html$.GlobalEventHandlers.playEvent.forTarget(this); + } + get onPlaying() { + return html$.GlobalEventHandlers.playingEvent.forTarget(this); + } + get onRateChange() { + return html$.GlobalEventHandlers.rateChangeEvent.forTarget(this); + } + get onReset() { + return html$.GlobalEventHandlers.resetEvent.forTarget(this); + } + get onResize() { + return html$.GlobalEventHandlers.resizeEvent.forTarget(this); + } + get onScroll() { + return html$.GlobalEventHandlers.scrollEvent.forTarget(this); + } + get onSeeked() { + return html$.GlobalEventHandlers.seekedEvent.forTarget(this); + } + get onSeeking() { + return html$.GlobalEventHandlers.seekingEvent.forTarget(this); + } + get onSelect() { + return html$.GlobalEventHandlers.selectEvent.forTarget(this); + } + get onStalled() { + return html$.GlobalEventHandlers.stalledEvent.forTarget(this); + } + get onSubmit() { + return html$.GlobalEventHandlers.submitEvent.forTarget(this); + } + get onSuspend() { + return html$.GlobalEventHandlers.suspendEvent.forTarget(this); + } + get onTimeUpdate() { + return html$.GlobalEventHandlers.timeUpdateEvent.forTarget(this); + } + get onTouchCancel() { + return html$.GlobalEventHandlers.touchCancelEvent.forTarget(this); + } + get onTouchEnd() { + return html$.GlobalEventHandlers.touchEndEvent.forTarget(this); + } + get onTouchMove() { + return html$.GlobalEventHandlers.touchMoveEvent.forTarget(this); + } + get onTouchStart() { + return html$.GlobalEventHandlers.touchStartEvent.forTarget(this); + } + get onVolumeChange() { + return html$.GlobalEventHandlers.volumeChangeEvent.forTarget(this); + } + get onWaiting() { + return html$.GlobalEventHandlers.waitingEvent.forTarget(this); + } + get onWheel() { + return html$.GlobalEventHandlers.wheelEvent.forTarget(this); + } +}; +(html$.GlobalEventHandlers[dart.mixinNew] = function() { +}).prototype = html$.GlobalEventHandlers.prototype; +dart.addTypeTests(html$.GlobalEventHandlers); +dart.addTypeCaches(html$.GlobalEventHandlers); +html$.GlobalEventHandlers[dart.implements] = () => [html$.EventTarget]; +dart.setGetterSignature(html$.GlobalEventHandlers, () => ({ + __proto__: dart.getGetters(html$.GlobalEventHandlers.__proto__), + onAbort: async.Stream$(html$.Event), + [S.$onAbort]: async.Stream$(html$.Event), + onBlur: async.Stream$(html$.Event), + [S.$onBlur]: async.Stream$(html$.Event), + onCanPlay: async.Stream$(html$.Event), + [S.$onCanPlay]: async.Stream$(html$.Event), + onCanPlayThrough: async.Stream$(html$.Event), + [S.$onCanPlayThrough]: async.Stream$(html$.Event), + onChange: async.Stream$(html$.Event), + [S.$onChange]: async.Stream$(html$.Event), + onClick: async.Stream$(html$.MouseEvent), + [S.$onClick]: async.Stream$(html$.MouseEvent), + onContextMenu: async.Stream$(html$.MouseEvent), + [S.$onContextMenu]: async.Stream$(html$.MouseEvent), + onDoubleClick: async.Stream$(html$.Event), + [S.$onDoubleClick]: async.Stream$(html$.Event), + onDrag: async.Stream$(html$.MouseEvent), + [S.$onDrag]: async.Stream$(html$.MouseEvent), + onDragEnd: async.Stream$(html$.MouseEvent), + [S.$onDragEnd]: async.Stream$(html$.MouseEvent), + onDragEnter: async.Stream$(html$.MouseEvent), + [S.$onDragEnter]: async.Stream$(html$.MouseEvent), + onDragLeave: async.Stream$(html$.MouseEvent), + [S.$onDragLeave]: async.Stream$(html$.MouseEvent), + onDragOver: async.Stream$(html$.MouseEvent), + [S.$onDragOver]: async.Stream$(html$.MouseEvent), + onDragStart: async.Stream$(html$.MouseEvent), + [S.$onDragStart]: async.Stream$(html$.MouseEvent), + onDrop: async.Stream$(html$.MouseEvent), + [S.$onDrop]: async.Stream$(html$.MouseEvent), + onDurationChange: async.Stream$(html$.Event), + [S.$onDurationChange]: async.Stream$(html$.Event), + onEmptied: async.Stream$(html$.Event), + [S.$onEmptied]: async.Stream$(html$.Event), + onEnded: async.Stream$(html$.Event), + [S.$onEnded]: async.Stream$(html$.Event), + onError: async.Stream$(html$.Event), + [S.$onError]: async.Stream$(html$.Event), + onFocus: async.Stream$(html$.Event), + [S.$onFocus]: async.Stream$(html$.Event), + onInput: async.Stream$(html$.Event), + [S.$onInput]: async.Stream$(html$.Event), + onInvalid: async.Stream$(html$.Event), + [S.$onInvalid]: async.Stream$(html$.Event), + onKeyDown: async.Stream$(html$.KeyboardEvent), + [S.$onKeyDown]: async.Stream$(html$.KeyboardEvent), + onKeyPress: async.Stream$(html$.KeyboardEvent), + [S.$onKeyPress]: async.Stream$(html$.KeyboardEvent), + onKeyUp: async.Stream$(html$.KeyboardEvent), + [S.$onKeyUp]: async.Stream$(html$.KeyboardEvent), + onLoad: async.Stream$(html$.Event), + [S.$onLoad]: async.Stream$(html$.Event), + onLoadedData: async.Stream$(html$.Event), + [S.$onLoadedData]: async.Stream$(html$.Event), + onLoadedMetadata: async.Stream$(html$.Event), + [S.$onLoadedMetadata]: async.Stream$(html$.Event), + onMouseDown: async.Stream$(html$.MouseEvent), + [S.$onMouseDown]: async.Stream$(html$.MouseEvent), + onMouseEnter: async.Stream$(html$.MouseEvent), + [S.$onMouseEnter]: async.Stream$(html$.MouseEvent), + onMouseLeave: async.Stream$(html$.MouseEvent), + [S.$onMouseLeave]: async.Stream$(html$.MouseEvent), + onMouseMove: async.Stream$(html$.MouseEvent), + [S.$onMouseMove]: async.Stream$(html$.MouseEvent), + onMouseOut: async.Stream$(html$.MouseEvent), + [S.$onMouseOut]: async.Stream$(html$.MouseEvent), + onMouseOver: async.Stream$(html$.MouseEvent), + [S.$onMouseOver]: async.Stream$(html$.MouseEvent), + onMouseUp: async.Stream$(html$.MouseEvent), + [S.$onMouseUp]: async.Stream$(html$.MouseEvent), + onMouseWheel: async.Stream$(html$.WheelEvent), + [S.$onMouseWheel]: async.Stream$(html$.WheelEvent), + onPause: async.Stream$(html$.Event), + [S.$onPause]: async.Stream$(html$.Event), + onPlay: async.Stream$(html$.Event), + [S.$onPlay]: async.Stream$(html$.Event), + onPlaying: async.Stream$(html$.Event), + [S.$onPlaying]: async.Stream$(html$.Event), + onRateChange: async.Stream$(html$.Event), + [S.$onRateChange]: async.Stream$(html$.Event), + onReset: async.Stream$(html$.Event), + [S.$onReset]: async.Stream$(html$.Event), + onResize: async.Stream$(html$.Event), + [S.$onResize]: async.Stream$(html$.Event), + onScroll: async.Stream$(html$.Event), + [S.$onScroll]: async.Stream$(html$.Event), + onSeeked: async.Stream$(html$.Event), + [S.$onSeeked]: async.Stream$(html$.Event), + onSeeking: async.Stream$(html$.Event), + [S.$onSeeking]: async.Stream$(html$.Event), + onSelect: async.Stream$(html$.Event), + [S.$onSelect]: async.Stream$(html$.Event), + onStalled: async.Stream$(html$.Event), + [S.$onStalled]: async.Stream$(html$.Event), + onSubmit: async.Stream$(html$.Event), + [S.$onSubmit]: async.Stream$(html$.Event), + onSuspend: async.Stream$(html$.Event), + [S$.$onSuspend]: async.Stream$(html$.Event), + onTimeUpdate: async.Stream$(html$.Event), + [S$.$onTimeUpdate]: async.Stream$(html$.Event), + onTouchCancel: async.Stream$(html$.TouchEvent), + [S$.$onTouchCancel]: async.Stream$(html$.TouchEvent), + onTouchEnd: async.Stream$(html$.TouchEvent), + [S$.$onTouchEnd]: async.Stream$(html$.TouchEvent), + onTouchMove: async.Stream$(html$.TouchEvent), + [S$.$onTouchMove]: async.Stream$(html$.TouchEvent), + onTouchStart: async.Stream$(html$.TouchEvent), + [S$.$onTouchStart]: async.Stream$(html$.TouchEvent), + onVolumeChange: async.Stream$(html$.Event), + [S$.$onVolumeChange]: async.Stream$(html$.Event), + onWaiting: async.Stream$(html$.Event), + [S$.$onWaiting]: async.Stream$(html$.Event), + onWheel: async.Stream$(html$.WheelEvent), + [S$.$onWheel]: async.Stream$(html$.WheelEvent) +})); +dart.setLibraryUri(html$.GlobalEventHandlers, I[148]); +dart.defineExtensionAccessors(html$.GlobalEventHandlers, [ + 'onAbort', + 'onBlur', + 'onCanPlay', + 'onCanPlayThrough', + 'onChange', + 'onClick', + 'onContextMenu', + 'onDoubleClick', + 'onDrag', + 'onDragEnd', + 'onDragEnter', + 'onDragLeave', + 'onDragOver', + 'onDragStart', + 'onDrop', + 'onDurationChange', + 'onEmptied', + 'onEnded', + 'onError', + 'onFocus', + 'onInput', + 'onInvalid', + 'onKeyDown', + 'onKeyPress', + 'onKeyUp', + 'onLoad', + 'onLoadedData', + 'onLoadedMetadata', + 'onMouseDown', + 'onMouseEnter', + 'onMouseLeave', + 'onMouseMove', + 'onMouseOut', + 'onMouseOver', + 'onMouseUp', + 'onMouseWheel', + 'onPause', + 'onPlay', + 'onPlaying', + 'onRateChange', + 'onReset', + 'onResize', + 'onScroll', + 'onSeeked', + 'onSeeking', + 'onSelect', + 'onStalled', + 'onSubmit', + 'onSuspend', + 'onTimeUpdate', + 'onTouchCancel', + 'onTouchEnd', + 'onTouchMove', + 'onTouchStart', + 'onVolumeChange', + 'onWaiting', + 'onWheel' +]); +dart.defineLazy(html$.GlobalEventHandlers, { + /*html$.GlobalEventHandlers.abortEvent*/get abortEvent() { + return C[214] || CT.C214; + }, + /*html$.GlobalEventHandlers.blurEvent*/get blurEvent() { + return C[233] || CT.C233; + }, + /*html$.GlobalEventHandlers.canPlayEvent*/get canPlayEvent() { + return C[234] || CT.C234; + }, + /*html$.GlobalEventHandlers.canPlayThroughEvent*/get canPlayThroughEvent() { + return C[235] || CT.C235; + }, + /*html$.GlobalEventHandlers.changeEvent*/get changeEvent() { + return C[236] || CT.C236; + }, + /*html$.GlobalEventHandlers.clickEvent*/get clickEvent() { + return C[237] || CT.C237; + }, + /*html$.GlobalEventHandlers.contextMenuEvent*/get contextMenuEvent() { + return C[238] || CT.C238; + }, + /*html$.GlobalEventHandlers.doubleClickEvent*/get doubleClickEvent() { + return C[241] || CT.C241; + }, + /*html$.GlobalEventHandlers.dragEvent*/get dragEvent() { + return C[242] || CT.C242; + }, + /*html$.GlobalEventHandlers.dragEndEvent*/get dragEndEvent() { + return C[243] || CT.C243; + }, + /*html$.GlobalEventHandlers.dragEnterEvent*/get dragEnterEvent() { + return C[244] || CT.C244; + }, + /*html$.GlobalEventHandlers.dragLeaveEvent*/get dragLeaveEvent() { + return C[245] || CT.C245; + }, + /*html$.GlobalEventHandlers.dragOverEvent*/get dragOverEvent() { + return C[246] || CT.C246; + }, + /*html$.GlobalEventHandlers.dragStartEvent*/get dragStartEvent() { + return C[247] || CT.C247; + }, + /*html$.GlobalEventHandlers.dropEvent*/get dropEvent() { + return C[248] || CT.C248; + }, + /*html$.GlobalEventHandlers.durationChangeEvent*/get durationChangeEvent() { + return C[249] || CT.C249; + }, + /*html$.GlobalEventHandlers.emptiedEvent*/get emptiedEvent() { + return C[250] || CT.C250; + }, + /*html$.GlobalEventHandlers.endedEvent*/get endedEvent() { + return C[251] || CT.C251; + }, + /*html$.GlobalEventHandlers.errorEvent*/get errorEvent() { + return C[216] || CT.C216; + }, + /*html$.GlobalEventHandlers.focusEvent*/get focusEvent() { + return C[252] || CT.C252; + }, + /*html$.GlobalEventHandlers.inputEvent*/get inputEvent() { + return C[253] || CT.C253; + }, + /*html$.GlobalEventHandlers.invalidEvent*/get invalidEvent() { + return C[254] || CT.C254; + }, + /*html$.GlobalEventHandlers.keyDownEvent*/get keyDownEvent() { + return C[255] || CT.C255; + }, + /*html$.GlobalEventHandlers.keyPressEvent*/get keyPressEvent() { + return C[256] || CT.C256; + }, + /*html$.GlobalEventHandlers.keyUpEvent*/get keyUpEvent() { + return C[257] || CT.C257; + }, + /*html$.GlobalEventHandlers.loadEvent*/get loadEvent() { + return C[258] || CT.C258; + }, + /*html$.GlobalEventHandlers.loadedDataEvent*/get loadedDataEvent() { + return C[259] || CT.C259; + }, + /*html$.GlobalEventHandlers.loadedMetadataEvent*/get loadedMetadataEvent() { + return C[260] || CT.C260; + }, + /*html$.GlobalEventHandlers.mouseDownEvent*/get mouseDownEvent() { + return C[261] || CT.C261; + }, + /*html$.GlobalEventHandlers.mouseEnterEvent*/get mouseEnterEvent() { + return C[262] || CT.C262; + }, + /*html$.GlobalEventHandlers.mouseLeaveEvent*/get mouseLeaveEvent() { + return C[263] || CT.C263; + }, + /*html$.GlobalEventHandlers.mouseMoveEvent*/get mouseMoveEvent() { + return C[264] || CT.C264; + }, + /*html$.GlobalEventHandlers.mouseOutEvent*/get mouseOutEvent() { + return C[265] || CT.C265; + }, + /*html$.GlobalEventHandlers.mouseOverEvent*/get mouseOverEvent() { + return C[266] || CT.C266; + }, + /*html$.GlobalEventHandlers.mouseUpEvent*/get mouseUpEvent() { + return C[267] || CT.C267; + }, + /*html$.GlobalEventHandlers.mouseWheelEvent*/get mouseWheelEvent() { + return C[342] || CT.C342; + }, + /*html$.GlobalEventHandlers.pauseEvent*/get pauseEvent() { + return C[269] || CT.C269; + }, + /*html$.GlobalEventHandlers.playEvent*/get playEvent() { + return C[270] || CT.C270; + }, + /*html$.GlobalEventHandlers.playingEvent*/get playingEvent() { + return C[271] || CT.C271; + }, + /*html$.GlobalEventHandlers.rateChangeEvent*/get rateChangeEvent() { + return C[272] || CT.C272; + }, + /*html$.GlobalEventHandlers.resetEvent*/get resetEvent() { + return C[273] || CT.C273; + }, + /*html$.GlobalEventHandlers.resizeEvent*/get resizeEvent() { + return C[274] || CT.C274; + }, + /*html$.GlobalEventHandlers.scrollEvent*/get scrollEvent() { + return C[275] || CT.C275; + }, + /*html$.GlobalEventHandlers.seekedEvent*/get seekedEvent() { + return C[277] || CT.C277; + }, + /*html$.GlobalEventHandlers.seekingEvent*/get seekingEvent() { + return C[278] || CT.C278; + }, + /*html$.GlobalEventHandlers.selectEvent*/get selectEvent() { + return C[279] || CT.C279; + }, + /*html$.GlobalEventHandlers.stalledEvent*/get stalledEvent() { + return C[281] || CT.C281; + }, + /*html$.GlobalEventHandlers.submitEvent*/get submitEvent() { + return C[282] || CT.C282; + }, + /*html$.GlobalEventHandlers.suspendEvent*/get suspendEvent() { + return C[283] || CT.C283; + }, + /*html$.GlobalEventHandlers.timeUpdateEvent*/get timeUpdateEvent() { + return C[284] || CT.C284; + }, + /*html$.GlobalEventHandlers.touchCancelEvent*/get touchCancelEvent() { + return C[285] || CT.C285; + }, + /*html$.GlobalEventHandlers.touchEndEvent*/get touchEndEvent() { + return C[286] || CT.C286; + }, + /*html$.GlobalEventHandlers.touchMoveEvent*/get touchMoveEvent() { + return C[289] || CT.C289; + }, + /*html$.GlobalEventHandlers.touchStartEvent*/get touchStartEvent() { + return C[290] || CT.C290; + }, + /*html$.GlobalEventHandlers.volumeChangeEvent*/get volumeChangeEvent() { + return C[291] || CT.C291; + }, + /*html$.GlobalEventHandlers.waitingEvent*/get waitingEvent() { + return C[292] || CT.C292; + }, + /*html$.GlobalEventHandlers.wheelEvent*/get wheelEvent() { + return C[295] || CT.C295; + } +}, false); +html$.Gyroscope = class Gyroscope$ extends html$.Sensor { + static new(sensorOptions = null) { + if (sensorOptions != null) { + let sensorOptions_1 = html_common.convertDartToNative_Dictionary(sensorOptions); + return html$.Gyroscope._create_1(sensorOptions_1); + } + return html$.Gyroscope._create_2(); + } + static _create_1(sensorOptions) { + return new Gyroscope(sensorOptions); + } + static _create_2() { + return new Gyroscope(); + } + get [S$.$x]() { + return this.x; + } + get [S$.$y]() { + return this.y; + } + get [S$.$z]() { + return this.z; + } +}; +dart.addTypeTests(html$.Gyroscope); +dart.addTypeCaches(html$.Gyroscope); +dart.setGetterSignature(html$.Gyroscope, () => ({ + __proto__: dart.getGetters(html$.Gyroscope.__proto__), + [S$.$x]: dart.nullable(core.num), + [S$.$y]: dart.nullable(core.num), + [S$.$z]: dart.nullable(core.num) +})); +dart.setLibraryUri(html$.Gyroscope, I[148]); +dart.registerExtension("Gyroscope", html$.Gyroscope); +html$.HRElement = class HRElement extends html$.HtmlElement { + static new() { + return html$.document.createElement("hr"); + } + get [S$0.$color]() { + return this.color; + } + set [S$0.$color](value) { + this.color = value; + } +}; +(html$.HRElement.created = function() { + html$.HRElement.__proto__.created.call(this); + ; +}).prototype = html$.HRElement.prototype; +dart.addTypeTests(html$.HRElement); +dart.addTypeCaches(html$.HRElement); +dart.setGetterSignature(html$.HRElement, () => ({ + __proto__: dart.getGetters(html$.HRElement.__proto__), + [S$0.$color]: core.String +})); +dart.setSetterSignature(html$.HRElement, () => ({ + __proto__: dart.getSetters(html$.HRElement.__proto__), + [S$0.$color]: core.String +})); +dart.setLibraryUri(html$.HRElement, I[148]); +dart.registerExtension("HTMLHRElement", html$.HRElement); +html$.HashChangeEvent = class HashChangeEvent$ extends html$.Event { + static new(type, opts) { + if (type == null) dart.nullFailed(I[147], 17412, 34, "type"); + let canBubble = opts && 'canBubble' in opts ? opts.canBubble : true; + if (canBubble == null) dart.nullFailed(I[147], 17413, 13, "canBubble"); + let cancelable = opts && 'cancelable' in opts ? opts.cancelable : true; + if (cancelable == null) dart.nullFailed(I[147], 17414, 12, "cancelable"); + let oldUrl = opts && 'oldUrl' in opts ? opts.oldUrl : null; + let newUrl = opts && 'newUrl' in opts ? opts.newUrl : null; + let options = new (T$.IdentityMapOfString$ObjectN()).from(["canBubble", canBubble, "cancelable", cancelable, "oldURL", oldUrl, "newURL", newUrl]); + return new HashChangeEvent(type, html_common.convertDartToNative_Dictionary(options)); + } + static __(type, eventInitDict = null) { + if (type == null) dart.nullFailed(I[147], 17427, 36, "type"); + if (eventInitDict != null) { + let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); + return html$.HashChangeEvent._create_1(type, eventInitDict_1); + } + return html$.HashChangeEvent._create_2(type); + } + static _create_1(type, eventInitDict) { + return new HashChangeEvent(type, eventInitDict); + } + static _create_2(type) { + return new HashChangeEvent(type); + } + static get supported() { + return html_common.Device.isEventTypeSupported("HashChangeEvent"); + } + get [S$1.$newUrl]() { + return this.newURL; + } + get [S$1.$oldUrl]() { + return this.oldURL; + } +}; +dart.addTypeTests(html$.HashChangeEvent); +dart.addTypeCaches(html$.HashChangeEvent); +dart.setGetterSignature(html$.HashChangeEvent, () => ({ + __proto__: dart.getGetters(html$.HashChangeEvent.__proto__), + [S$1.$newUrl]: dart.nullable(core.String), + [S$1.$oldUrl]: dart.nullable(core.String) +})); +dart.setLibraryUri(html$.HashChangeEvent, I[148]); +dart.registerExtension("HashChangeEvent", html$.HashChangeEvent); +html$.HeadElement = class HeadElement extends html$.HtmlElement { + static new() { + return html$.document.createElement("head"); + } +}; +(html$.HeadElement.created = function() { + html$.HeadElement.__proto__.created.call(this); + ; +}).prototype = html$.HeadElement.prototype; +dart.addTypeTests(html$.HeadElement); +dart.addTypeCaches(html$.HeadElement); +dart.setLibraryUri(html$.HeadElement, I[148]); +dart.registerExtension("HTMLHeadElement", html$.HeadElement); +html$.Headers = class Headers$ extends _interceptors.Interceptor { + static new(init = null) { + if (init != null) { + return html$.Headers._create_1(init); + } + return html$.Headers._create_2(); + } + static _create_1(init) { + return new Headers(init); + } + static _create_2() { + return new Headers(); + } +}; +dart.addTypeTests(html$.Headers); +dart.addTypeCaches(html$.Headers); +dart.setLibraryUri(html$.Headers, I[148]); +dart.registerExtension("Headers", html$.Headers); +html$.HeadingElement = class HeadingElement extends html$.HtmlElement { + static h1() { + return html$.document.createElement("h1"); + } + static h2() { + return html$.document.createElement("h2"); + } + static h3() { + return html$.document.createElement("h3"); + } + static h4() { + return html$.document.createElement("h4"); + } + static h5() { + return html$.document.createElement("h5"); + } + static h6() { + return html$.document.createElement("h6"); + } +}; +(html$.HeadingElement.created = function() { + html$.HeadingElement.__proto__.created.call(this); + ; +}).prototype = html$.HeadingElement.prototype; +dart.addTypeTests(html$.HeadingElement); +dart.addTypeCaches(html$.HeadingElement); +dart.setLibraryUri(html$.HeadingElement, I[148]); +dart.registerExtension("HTMLHeadingElement", html$.HeadingElement); +html$.History = class History extends _interceptors.Interceptor { + static get supportsState() { + return !!window.history.pushState; + } + get [$length]() { + return this.length; + } + get [S$1.$scrollRestoration]() { + return this.scrollRestoration; + } + set [S$1.$scrollRestoration](value) { + this.scrollRestoration = value; + } + get [S$.$state]() { + return html_common.convertNativeToDart_SerializedScriptValue(this[S$1._get_state]); + } + get [S$1._get_state]() { + return this.state; + } + [S$1.$back](...args) { + return this.back.apply(this, args); + } + [S$1.$forward](...args) { + return this.forward.apply(this, args); + } + [S$1.$go](...args) { + return this.go.apply(this, args); + } + [S$1.$pushState](data, title, url) { + if (title == null) dart.nullFailed(I[147], 17588, 57, "title"); + let data_1 = html_common.convertDartToNative_SerializedScriptValue(data); + this[S$1._pushState_1](data_1, title, url); + return; + } + [S$1._pushState_1](...args) { + return this.pushState.apply(this, args); + } + [S$1.$replaceState](data, title, url) { + if (title == null) dart.nullFailed(I[147], 17605, 60, "title"); + let data_1 = html_common.convertDartToNative_SerializedScriptValue(data); + this[S$1._replaceState_1](data_1, title, url); + return; + } + [S$1._replaceState_1](...args) { + return this.replaceState.apply(this, args); + } +}; +dart.addTypeTests(html$.History); +dart.addTypeCaches(html$.History); +html$.History[dart.implements] = () => [html$.HistoryBase]; +dart.setMethodSignature(html$.History, () => ({ + __proto__: dart.getMethods(html$.History.__proto__), + [S$1.$back]: dart.fnType(dart.void, []), + [S$1.$forward]: dart.fnType(dart.void, []), + [S$1.$go]: dart.fnType(dart.void, [], [dart.nullable(core.int)]), + [S$1.$pushState]: dart.fnType(dart.void, [dart.dynamic, core.String, dart.nullable(core.String)]), + [S$1._pushState_1]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic]), + [S$1.$replaceState]: dart.fnType(dart.void, [dart.dynamic, core.String, dart.nullable(core.String)]), + [S$1._replaceState_1]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic]) +})); +dart.setGetterSignature(html$.History, () => ({ + __proto__: dart.getGetters(html$.History.__proto__), + [$length]: core.int, + [S$1.$scrollRestoration]: dart.nullable(core.String), + [S$.$state]: dart.dynamic, + [S$1._get_state]: dart.dynamic +})); +dart.setSetterSignature(html$.History, () => ({ + __proto__: dart.getSetters(html$.History.__proto__), + [S$1.$scrollRestoration]: dart.nullable(core.String) +})); +dart.setLibraryUri(html$.History, I[148]); +dart.registerExtension("History", html$.History); +const Interceptor_ListMixin$36$1 = class Interceptor_ListMixin extends _interceptors.Interceptor {}; +(Interceptor_ListMixin$36$1.new = function() { + Interceptor_ListMixin$36$1.__proto__.new.call(this); +}).prototype = Interceptor_ListMixin$36$1.prototype; +dart.applyMixin(Interceptor_ListMixin$36$1, collection.ListMixin$(html$.Node)); +const Interceptor_ImmutableListMixin$36$1 = class Interceptor_ImmutableListMixin extends Interceptor_ListMixin$36$1 {}; +(Interceptor_ImmutableListMixin$36$1.new = function() { + Interceptor_ImmutableListMixin$36$1.__proto__.new.call(this); +}).prototype = Interceptor_ImmutableListMixin$36$1.prototype; +dart.applyMixin(Interceptor_ImmutableListMixin$36$1, html$.ImmutableListMixin$(html$.Node)); +html$.HtmlCollection = class HtmlCollection extends Interceptor_ImmutableListMixin$36$1 { + get [$length]() { + return this.length; + } + [$_get](index) { + if (index == null) dart.nullFailed(I[147], 17633, 24, "index"); + if (index >>> 0 !== index || index >= this[$length]) dart.throw(new core.IndexError.new(index, this)); + return this[index]; + } + [$_set](index, value$) { + let value = value$; + if (index == null) dart.nullFailed(I[147], 17639, 25, "index"); + html$.Node.as(value); + if (value == null) dart.nullFailed(I[147], 17639, 37, "value"); + dart.throw(new core.UnsupportedError.new("Cannot assign element of immutable List.")); + return value$; + } + set [$length](value) { + if (value == null) dart.nullFailed(I[147], 17645, 18, "value"); + dart.throw(new core.UnsupportedError.new("Cannot resize immutable List.")); + } + get [$first]() { + if (dart.notNull(this[$length]) > 0) { + return this[0]; + } + dart.throw(new core.StateError.new("No elements")); + } + set [$first](value) { + super[$first] = value; + } + get [$last]() { + let len = this[$length]; + if (dart.notNull(len) > 0) { + return this[dart.notNull(len) - 1]; + } + dart.throw(new core.StateError.new("No elements")); + } + set [$last](value) { + super[$last] = value; + } + get [$single]() { + let len = this[$length]; + if (len === 1) { + return this[0]; + } + if (len === 0) dart.throw(new core.StateError.new("No elements")); + dart.throw(new core.StateError.new("More than one element")); + } + [$elementAt](index) { + if (index == null) dart.nullFailed(I[147], 17673, 22, "index"); + return this[$_get](index); + } + [S$.$item](...args) { + return this.item.apply(this, args); + } + [S$1.$namedItem](...args) { + return this.namedItem.apply(this, args); + } +}; +html$.HtmlCollection.prototype[dart.isList] = true; +dart.addTypeTests(html$.HtmlCollection); +dart.addTypeCaches(html$.HtmlCollection); +html$.HtmlCollection[dart.implements] = () => [_js_helper.JavaScriptIndexingBehavior$(html$.Node), core.List$(html$.Node)]; +dart.setMethodSignature(html$.HtmlCollection, () => ({ + __proto__: dart.getMethods(html$.HtmlCollection.__proto__), + [$_get]: dart.fnType(html$.Node, [core.int]), + [$_set]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), + [S$.$item]: dart.fnType(dart.nullable(html$.Node), [dart.nullable(core.int)]), + [S$1.$namedItem]: dart.fnType(dart.nullable(core.Object), [core.String]) +})); +dart.setGetterSignature(html$.HtmlCollection, () => ({ + __proto__: dart.getGetters(html$.HtmlCollection.__proto__), + [$length]: core.int +})); +dart.setSetterSignature(html$.HtmlCollection, () => ({ + __proto__: dart.getSetters(html$.HtmlCollection.__proto__), + [$length]: core.int +})); +dart.setLibraryUri(html$.HtmlCollection, I[148]); +dart.registerExtension("HTMLCollection", html$.HtmlCollection); +html$.HtmlDocument = class HtmlDocument extends html$.Document { + get [S$1.$body]() { + return this.body; + } + set [S$1.$body](value) { + this.body = value; + } + [S$1.$caretRangeFromPoint](x, y) { + return this[S$1._caretRangeFromPoint](x, y); + } + [S$1.$elementFromPoint](x, y) { + if (x == null) dart.nullFailed(I[147], 17702, 33, "x"); + if (y == null) dart.nullFailed(I[147], 17702, 40, "y"); + return this[S$1._elementFromPoint](x, y); + } + get [S.$head]() { + return this[S$0._head$1]; + } + get [S$1.$lastModified]() { + return this[S$0._lastModified]; + } + get [S$1.$preferredStylesheetSet]() { + return this[S$0._preferredStylesheetSet]; + } + get [S$1.$referrer]() { + return this[S$1._referrer]; + } + get [S$1.$selectedStylesheetSet]() { + return this[S$1._selectedStylesheetSet]; + } + set [S$1.$selectedStylesheetSet](value) { + this[S$1._selectedStylesheetSet] = value; + } + get [S$1.$styleSheets]() { + return this[S$1._styleSheets]; + } + get [S.$title]() { + return this[S$1._title]; + } + set [S.$title](value) { + if (value == null) dart.nullFailed(I[147], 17723, 20, "value"); + this[S$1._title] = value; + } + [S$1.$exitFullscreen]() { + this[S$1._webkitExitFullscreen](); + } + [S$1.$registerElement2](tag, options = null) { + if (tag == null) dart.nullFailed(I[147], 17786, 36, "tag"); + return html$._registerCustomElement(window, this, tag, options); + } + [S$1.$register](tag, customElementClass, opts) { + if (tag == null) dart.nullFailed(I[147], 17792, 24, "tag"); + if (customElementClass == null) dart.nullFailed(I[147], 17792, 34, "customElementClass"); + let extendsTag = opts && 'extendsTag' in opts ? opts.extendsTag : null; + return this[S$1.$registerElement](tag, customElementClass, {extendsTag: extendsTag}); + } + static _determineVisibilityChangeEventType(e) { + if (e == null) dart.nullFailed(I[147], 17809, 65, "e"); + if (typeof e.hidden !== "undefined") { + return "visibilitychange"; + } else if (typeof e.mozHidden !== "undefined") { + return "mozvisibilitychange"; + } else if (typeof e.msHidden !== "undefined") { + return "msvisibilitychange"; + } else if (typeof e.webkitHidden !== "undefined") { + return "webkitvisibilitychange"; + } + return "visibilitychange"; + } + get [S$1.$onVisibilityChange]() { + return html$.HtmlDocument.visibilityChangeEvent.forTarget(this); + } + [S$1.$createElementUpgrader](type, opts) { + if (type == null) dart.nullFailed(I[147], 17836, 46, "type"); + let extendsTag = opts && 'extendsTag' in opts ? opts.extendsTag : null; + return new html$._JSElementUpgrader.new(this, type, extendsTag); + } +}; +dart.addTypeTests(html$.HtmlDocument); +dart.addTypeCaches(html$.HtmlDocument); +dart.setMethodSignature(html$.HtmlDocument, () => ({ + __proto__: dart.getMethods(html$.HtmlDocument.__proto__), + [S$1.$caretRangeFromPoint]: dart.fnType(html$.Range, [dart.nullable(core.int), dart.nullable(core.int)]), + [S$1.$elementFromPoint]: dart.fnType(dart.nullable(html$.Element), [core.int, core.int]), + [S$1.$register]: dart.fnType(dart.void, [core.String, core.Type], {extendsTag: dart.nullable(core.String)}, {}), + [S$1.$createElementUpgrader]: dart.fnType(html$.ElementUpgrader, [core.Type], {extendsTag: dart.nullable(core.String)}, {}) +})); +dart.setGetterSignature(html$.HtmlDocument, () => ({ + __proto__: dart.getGetters(html$.HtmlDocument.__proto__), + [S$1.$body]: dart.nullable(html$.BodyElement), + [S.$head]: dart.nullable(html$.HeadElement), + [S$1.$lastModified]: dart.nullable(core.String), + [S$1.$preferredStylesheetSet]: dart.nullable(core.String), + [S$1.$referrer]: core.String, + [S$1.$selectedStylesheetSet]: dart.nullable(core.String), + [S$1.$styleSheets]: dart.nullable(core.List$(html$.StyleSheet)), + [S.$title]: core.String, + [S$1.$onVisibilityChange]: async.Stream$(html$.Event) +})); +dart.setSetterSignature(html$.HtmlDocument, () => ({ + __proto__: dart.getSetters(html$.HtmlDocument.__proto__), + [S$1.$body]: dart.nullable(html$.BodyElement), + [S$1.$selectedStylesheetSet]: dart.nullable(core.String), + [S.$title]: core.String +})); +dart.setLibraryUri(html$.HtmlDocument, I[148]); +dart.defineLazy(html$.HtmlDocument, { + /*html$.HtmlDocument.visibilityChangeEvent*/get visibilityChangeEvent() { + return C[343] || CT.C343; + } +}, false); +dart.registerExtension("HTMLDocument", html$.HtmlDocument); +html$.HtmlFormControlsCollection = class HtmlFormControlsCollection extends html$.HtmlCollection { + [S$1.$namedItem](...args) { + return this.namedItem.apply(this, args); + } +}; +dart.addTypeTests(html$.HtmlFormControlsCollection); +dart.addTypeCaches(html$.HtmlFormControlsCollection); +dart.setLibraryUri(html$.HtmlFormControlsCollection, I[148]); +dart.registerExtension("HTMLFormControlsCollection", html$.HtmlFormControlsCollection); +html$.HtmlHtmlElement = class HtmlHtmlElement extends html$.HtmlElement { + static new() { + return html$.document.createElement("html"); + } +}; +(html$.HtmlHtmlElement.created = function() { + html$.HtmlHtmlElement.__proto__.created.call(this); + ; +}).prototype = html$.HtmlHtmlElement.prototype; +dart.addTypeTests(html$.HtmlHtmlElement); +dart.addTypeCaches(html$.HtmlHtmlElement); +dart.setLibraryUri(html$.HtmlHtmlElement, I[148]); +dart.registerExtension("HTMLHtmlElement", html$.HtmlHtmlElement); +html$.HtmlHyperlinkElementUtils = class HtmlHyperlinkElementUtils extends _interceptors.Interceptor { + get [S$.$hash]() { + return this.hash; + } + set [S$.$hash](value) { + this.hash = value; + } + get [S$.$host]() { + return this.host; + } + set [S$.$host](value) { + this.host = value; + } + get [S$.$hostname]() { + return this.hostname; + } + set [S$.$hostname](value) { + this.hostname = value; + } + get [S$.$href]() { + return this.href; + } + set [S$.$href](value) { + this.href = value; + } + get [S$.$origin]() { + return this.origin; + } + get [S$.$password]() { + return this.password; + } + set [S$.$password](value) { + this.password = value; + } + get [S$.$pathname]() { + return this.pathname; + } + set [S$.$pathname](value) { + this.pathname = value; + } + get [S$.$port]() { + return this.port; + } + set [S$.$port](value) { + this.port = value; + } + get [S$.$protocol]() { + return this.protocol; + } + set [S$.$protocol](value) { + this.protocol = value; + } + get [S$.$search]() { + return this.search; + } + set [S$.$search](value) { + this.search = value; + } + get [S$.$username]() { + return this.username; + } + set [S$.$username](value) { + this.username = value; + } +}; +dart.addTypeTests(html$.HtmlHyperlinkElementUtils); +dart.addTypeCaches(html$.HtmlHyperlinkElementUtils); +dart.setGetterSignature(html$.HtmlHyperlinkElementUtils, () => ({ + __proto__: dart.getGetters(html$.HtmlHyperlinkElementUtils.__proto__), + [S$.$hash]: dart.nullable(core.String), + [S$.$host]: dart.nullable(core.String), + [S$.$hostname]: dart.nullable(core.String), + [S$.$href]: dart.nullable(core.String), + [S$.$origin]: dart.nullable(core.String), + [S$.$password]: dart.nullable(core.String), + [S$.$pathname]: dart.nullable(core.String), + [S$.$port]: dart.nullable(core.String), + [S$.$protocol]: dart.nullable(core.String), + [S$.$search]: dart.nullable(core.String), + [S$.$username]: dart.nullable(core.String) +})); +dart.setSetterSignature(html$.HtmlHyperlinkElementUtils, () => ({ + __proto__: dart.getSetters(html$.HtmlHyperlinkElementUtils.__proto__), + [S$.$hash]: dart.nullable(core.String), + [S$.$host]: dart.nullable(core.String), + [S$.$hostname]: dart.nullable(core.String), + [S$.$href]: dart.nullable(core.String), + [S$.$password]: dart.nullable(core.String), + [S$.$pathname]: dart.nullable(core.String), + [S$.$port]: dart.nullable(core.String), + [S$.$protocol]: dart.nullable(core.String), + [S$.$search]: dart.nullable(core.String), + [S$.$username]: dart.nullable(core.String) +})); +dart.setLibraryUri(html$.HtmlHyperlinkElementUtils, I[148]); +dart.registerExtension("HTMLHyperlinkElementUtils", html$.HtmlHyperlinkElementUtils); +html$.HtmlOptionsCollection = class HtmlOptionsCollection extends html$.HtmlCollection { + [S$1._item](...args) { + return this.item.apply(this, args); + } +}; +dart.addTypeTests(html$.HtmlOptionsCollection); +dart.addTypeCaches(html$.HtmlOptionsCollection); +dart.setMethodSignature(html$.HtmlOptionsCollection, () => ({ + __proto__: dart.getMethods(html$.HtmlOptionsCollection.__proto__), + [S$1._item]: dart.fnType(dart.nullable(html$.Element), [core.int]) +})); +dart.setLibraryUri(html$.HtmlOptionsCollection, I[148]); +dart.registerExtension("HTMLOptionsCollection", html$.HtmlOptionsCollection); +html$.HttpRequestEventTarget = class HttpRequestEventTarget extends html$.EventTarget { + get [S.$onAbort]() { + return html$.HttpRequestEventTarget.abortEvent.forTarget(this); + } + get [S.$onError]() { + return html$.HttpRequestEventTarget.errorEvent.forTarget(this); + } + get [S.$onLoad]() { + return html$.HttpRequestEventTarget.loadEvent.forTarget(this); + } + get [S$1.$onLoadEnd]() { + return html$.HttpRequestEventTarget.loadEndEvent.forTarget(this); + } + get [S$1.$onLoadStart]() { + return html$.HttpRequestEventTarget.loadStartEvent.forTarget(this); + } + get [S$.$onProgress]() { + return html$.HttpRequestEventTarget.progressEvent.forTarget(this); + } + get [S$1.$onTimeout]() { + return html$.HttpRequestEventTarget.timeoutEvent.forTarget(this); + } +}; +dart.addTypeTests(html$.HttpRequestEventTarget); +dart.addTypeCaches(html$.HttpRequestEventTarget); +dart.setGetterSignature(html$.HttpRequestEventTarget, () => ({ + __proto__: dart.getGetters(html$.HttpRequestEventTarget.__proto__), + [S.$onAbort]: async.Stream$(html$.ProgressEvent), + [S.$onError]: async.Stream$(html$.ProgressEvent), + [S.$onLoad]: async.Stream$(html$.ProgressEvent), + [S$1.$onLoadEnd]: async.Stream$(html$.ProgressEvent), + [S$1.$onLoadStart]: async.Stream$(html$.ProgressEvent), + [S$.$onProgress]: async.Stream$(html$.ProgressEvent), + [S$1.$onTimeout]: async.Stream$(html$.ProgressEvent) +})); +dart.setLibraryUri(html$.HttpRequestEventTarget, I[148]); +dart.defineLazy(html$.HttpRequestEventTarget, { + /*html$.HttpRequestEventTarget.abortEvent*/get abortEvent() { + return C[331] || CT.C331; + }, + /*html$.HttpRequestEventTarget.errorEvent*/get errorEvent() { + return C[332] || CT.C332; + }, + /*html$.HttpRequestEventTarget.loadEvent*/get loadEvent() { + return C[333] || CT.C333; + }, + /*html$.HttpRequestEventTarget.loadEndEvent*/get loadEndEvent() { + return C[334] || CT.C334; + }, + /*html$.HttpRequestEventTarget.loadStartEvent*/get loadStartEvent() { + return C[335] || CT.C335; + }, + /*html$.HttpRequestEventTarget.progressEvent*/get progressEvent() { + return C[309] || CT.C309; + }, + /*html$.HttpRequestEventTarget.timeoutEvent*/get timeoutEvent() { + return C[345] || CT.C345; + } +}, false); +dart.registerExtension("XMLHttpRequestEventTarget", html$.HttpRequestEventTarget); +html$.HttpRequest = class HttpRequest extends html$.HttpRequestEventTarget { + static getString(url, opts) { + if (url == null) dart.nullFailed(I[147], 18008, 42, "url"); + let withCredentials = opts && 'withCredentials' in opts ? opts.withCredentials : null; + let onProgress = opts && 'onProgress' in opts ? opts.onProgress : null; + return html$.HttpRequest.request(url, {withCredentials: withCredentials, onProgress: onProgress}).then(core.String, dart.fn(xhr => { + if (xhr == null) dart.nullFailed(I[147], 18012, 28, "xhr"); + return dart.nullCheck(xhr.responseText); + }, T$0.HttpRequestToString())); + } + static postFormData(url, data, opts) { + if (url == null) dart.nullFailed(I[147], 18040, 50, "url"); + if (data == null) dart.nullFailed(I[147], 18040, 75, "data"); + let withCredentials = opts && 'withCredentials' in opts ? opts.withCredentials : null; + let responseType = opts && 'responseType' in opts ? opts.responseType : null; + let requestHeaders = opts && 'requestHeaders' in opts ? opts.requestHeaders : null; + let onProgress = opts && 'onProgress' in opts ? opts.onProgress : null; + let parts = []; + data[$forEach](dart.fn((key, value) => { + if (key == null) dart.nullFailed(I[147], 18046, 19, "key"); + if (value == null) dart.nullFailed(I[147], 18046, 24, "value"); + parts[$add](dart.str(core.Uri.encodeQueryComponent(key)) + "=" + dart.str(core.Uri.encodeQueryComponent(value))); + }, T$0.StringAndStringTovoid())); + let formData = parts[$join]("&"); + if (requestHeaders == null) { + requestHeaders = new (T$.IdentityMapOfString$String()).new(); + } + requestHeaders[$putIfAbsent]("Content-Type", dart.fn(() => "application/x-www-form-urlencoded; charset=UTF-8", T$.VoidToString())); + return html$.HttpRequest.request(url, {method: "POST", withCredentials: withCredentials, responseType: responseType, requestHeaders: requestHeaders, sendData: formData, onProgress: onProgress}); + } + static request(url, opts) { + if (url == null) dart.nullFailed(I[147], 18121, 45, "url"); + let method = opts && 'method' in opts ? opts.method : null; + let withCredentials = opts && 'withCredentials' in opts ? opts.withCredentials : null; + let responseType = opts && 'responseType' in opts ? opts.responseType : null; + let mimeType = opts && 'mimeType' in opts ? opts.mimeType : null; + let requestHeaders = opts && 'requestHeaders' in opts ? opts.requestHeaders : null; + let sendData = opts && 'sendData' in opts ? opts.sendData : null; + let onProgress = opts && 'onProgress' in opts ? opts.onProgress : null; + let completer = T$0.CompleterOfHttpRequest().new(); + let xhr = html$.HttpRequest.new(); + if (method == null) { + method = "GET"; + } + xhr.open(method, url, {async: true}); + if (withCredentials != null) { + xhr.withCredentials = withCredentials; + } + if (responseType != null) { + xhr.responseType = responseType; + } + if (mimeType != null) { + xhr.overrideMimeType(mimeType); + } + if (requestHeaders != null) { + requestHeaders[$forEach](dart.fn((header, value) => { + if (header == null) dart.nullFailed(I[147], 18150, 31, "header"); + if (value == null) dart.nullFailed(I[147], 18150, 39, "value"); + xhr.setRequestHeader(header, value); + }, T$0.StringAndStringTovoid())); + } + if (onProgress != null) { + xhr[S$.$onProgress].listen(onProgress); + } + xhr[S.$onLoad].listen(dart.fn(e => { + if (e == null) dart.nullFailed(I[147], 18159, 24, "e"); + let status = dart.nullCheck(xhr.status); + let accepted = status >= 200 && status < 300; + let fileUri = status === 0; + let notModified = status === 304; + let unknownRedirect = status > 307 && status < 400; + if (accepted || fileUri || notModified || unknownRedirect) { + completer.complete(xhr); + } else { + completer.completeError(e); + } + }, T$0.ProgressEventTovoid())); + xhr[S.$onError].listen(dart.bind(completer, 'completeError')); + if (sendData != null) { + xhr.send(sendData); + } else { + xhr.send(); + } + return completer.future; + } + static get supportsProgressEvent() { + let xhr = html$.HttpRequest.new(); + return "onprogress" in xhr; + } + static get supportsCrossOrigin() { + let xhr = html$.HttpRequest.new(); + return "withCredentials" in xhr; + } + static get supportsLoadEndEvent() { + let xhr = html$.HttpRequest.new(); + return "onloadend" in xhr; + } + static get supportsOverrideMimeType() { + let xhr = html$.HttpRequest.new(); + return "overrideMimeType" in xhr; + } + static requestCrossOrigin(url, opts) { + if (url == null) dart.nullFailed(I[147], 18232, 51, "url"); + let method = opts && 'method' in opts ? opts.method : null; + let sendData = opts && 'sendData' in opts ? opts.sendData : null; + if (dart.test(html$.HttpRequest.supportsCrossOrigin)) { + return html$.HttpRequest.request(url, {method: method, sendData: sendData}).then(core.String, dart.fn(xhr => { + if (xhr == null) dart.nullFailed(I[147], 18235, 69, "xhr"); + return dart.nullCheck(xhr.responseText); + }, T$0.HttpRequestToString())); + } + let completer = T$0.CompleterOfString().new(); + if (method == null) { + method = "GET"; + } + let xhr = new XDomainRequest(); + xhr.open(method, url); + xhr.onload = _js_helper.convertDartClosureToJS(T$.dynamicToNull(), dart.fn(e => { + let response = xhr.responseText; + completer.complete(T$0.FutureOrNOfString().as(response)); + }, T$.dynamicToNull()), 1); + xhr.onerror = _js_helper.convertDartClosureToJS(T$.dynamicToNull(), dart.fn(e => { + completer.completeError(core.Object.as(e)); + }, T$.dynamicToNull()), 1); + xhr.onprogress = {}; + xhr.ontimeout = {}; + xhr.timeout = Number.MAX_VALUE; + if (sendData != null) { + xhr.send(sendData); + } else { + xhr.send(); + } + return completer.future; + } + get [S$1.$responseHeaders]() { + let headers = new (T$.IdentityMapOfString$String()).new(); + let headersString = this.getAllResponseHeaders(); + if (headersString == null) { + return headers; + } + let headersList = headersString[$split]("\r\n"); + for (let header of headersList) { + if (header[$isEmpty]) { + continue; + } + let splitIdx = header[$indexOf](": "); + if (splitIdx === -1) { + continue; + } + let key = header[$substring](0, splitIdx)[$toLowerCase](); + let value = header[$substring](splitIdx + 2); + if (dart.test(headers[$containsKey](key))) { + headers[$_set](key, dart.str(headers[$_get](key)) + ", " + value); + } else { + headers[$_set](key, value); + } + } + return headers; + } + [S.$open](...args) { + return this.open.apply(this, args); + } + static new() { + return html$.HttpRequest._create_1(); + } + static _create_1() { + return new XMLHttpRequest(); + } + get [S.$readyState]() { + return this.readyState; + } + get [S$.$response]() { + return html$._convertNativeToDart_XHR_Response(this[S$1._get_response]); + } + get [S$1._get_response]() { + return this.response; + } + get [S$1.$responseText]() { + return this.responseText; + } + get [S$1.$responseType]() { + return this.responseType; + } + set [S$1.$responseType](value) { + this.responseType = value; + } + get [S$1.$responseUrl]() { + return this.responseURL; + } + get [S$1.$responseXml]() { + return this.responseXML; + } + get [S$.$status]() { + return this.status; + } + get [S$1.$statusText]() { + return this.statusText; + } + get [S$1.$timeout]() { + return this.timeout; + } + set [S$1.$timeout](value) { + this.timeout = value; + } + get [S$1.$upload]() { + return this.upload; + } + get [S$1.$withCredentials]() { + return this.withCredentials; + } + set [S$1.$withCredentials](value) { + this.withCredentials = value; + } + [S.$abort](...args) { + return this.abort.apply(this, args); + } + [S$1.$getAllResponseHeaders](...args) { + return this.getAllResponseHeaders.apply(this, args); + } + [S$1.$getResponseHeader](...args) { + return this.getResponseHeader.apply(this, args); + } + [S$1.$overrideMimeType](...args) { + return this.overrideMimeType.apply(this, args); + } + [S$1.$send](...args) { + return this.send.apply(this, args); + } + [S$1.$setRequestHeader](...args) { + return this.setRequestHeader.apply(this, args); + } + get [S$1.$onReadyStateChange]() { + return html$.HttpRequest.readyStateChangeEvent.forTarget(this); + } +}; +dart.addTypeTests(html$.HttpRequest); +dart.addTypeCaches(html$.HttpRequest); +dart.setMethodSignature(html$.HttpRequest, () => ({ + __proto__: dart.getMethods(html$.HttpRequest.__proto__), + [S.$open]: dart.fnType(dart.void, [core.String, core.String], {async: dart.nullable(core.bool), password: dart.nullable(core.String), user: dart.nullable(core.String)}, {}), + [S.$abort]: dart.fnType(dart.void, []), + [S$1.$getAllResponseHeaders]: dart.fnType(core.String, []), + [S$1.$getResponseHeader]: dart.fnType(dart.nullable(core.String), [core.String]), + [S$1.$overrideMimeType]: dart.fnType(dart.void, [core.String]), + [S$1.$send]: dart.fnType(dart.void, [], [dart.dynamic]), + [S$1.$setRequestHeader]: dart.fnType(dart.void, [core.String, core.String]) +})); +dart.setGetterSignature(html$.HttpRequest, () => ({ + __proto__: dart.getGetters(html$.HttpRequest.__proto__), + [S$1.$responseHeaders]: core.Map$(core.String, core.String), + [S.$readyState]: core.int, + [S$.$response]: dart.dynamic, + [S$1._get_response]: dart.dynamic, + [S$1.$responseText]: dart.nullable(core.String), + [S$1.$responseType]: core.String, + [S$1.$responseUrl]: dart.nullable(core.String), + [S$1.$responseXml]: dart.nullable(html$.Document), + [S$.$status]: dart.nullable(core.int), + [S$1.$statusText]: dart.nullable(core.String), + [S$1.$timeout]: dart.nullable(core.int), + [S$1.$upload]: html$.HttpRequestUpload, + [S$1.$withCredentials]: dart.nullable(core.bool), + [S$1.$onReadyStateChange]: async.Stream$(html$.Event) +})); +dart.setSetterSignature(html$.HttpRequest, () => ({ + __proto__: dart.getSetters(html$.HttpRequest.__proto__), + [S$1.$responseType]: core.String, + [S$1.$timeout]: dart.nullable(core.int), + [S$1.$withCredentials]: dart.nullable(core.bool) +})); +dart.setLibraryUri(html$.HttpRequest, I[148]); +dart.defineLazy(html$.HttpRequest, { + /*html$.HttpRequest.readyStateChangeEvent*/get readyStateChangeEvent() { + return C[324] || CT.C324; + }, + /*html$.HttpRequest.DONE*/get DONE() { + return 4; + }, + /*html$.HttpRequest.HEADERS_RECEIVED*/get HEADERS_RECEIVED() { + return 2; + }, + /*html$.HttpRequest.LOADING*/get LOADING() { + return 3; + }, + /*html$.HttpRequest.OPENED*/get OPENED() { + return 1; + }, + /*html$.HttpRequest.UNSENT*/get UNSENT() { + return 0; + } +}, false); +dart.registerExtension("XMLHttpRequest", html$.HttpRequest); +html$.HttpRequestUpload = class HttpRequestUpload extends html$.HttpRequestEventTarget {}; +dart.addTypeTests(html$.HttpRequestUpload); +dart.addTypeCaches(html$.HttpRequestUpload); +dart.setLibraryUri(html$.HttpRequestUpload, I[148]); +dart.registerExtension("XMLHttpRequestUpload", html$.HttpRequestUpload); +html$.IFrameElement = class IFrameElement extends html$.HtmlElement { + static new() { + return html$.document.createElement("iframe"); + } + get [S$1.$allow]() { + return this.allow; + } + set [S$1.$allow](value) { + this.allow = value; + } + get [S$1.$allowFullscreen]() { + return this.allowFullscreen; + } + set [S$1.$allowFullscreen](value) { + this.allowFullscreen = value; + } + get [S$1.$allowPaymentRequest]() { + return this.allowPaymentRequest; + } + set [S$1.$allowPaymentRequest](value) { + this.allowPaymentRequest = value; + } + get [S$1.$contentWindow]() { + return html$._convertNativeToDart_Window(this[S$1._get_contentWindow]); + } + get [S$1._get_contentWindow]() { + return this.contentWindow; + } + get [S$1.$csp]() { + return this.csp; + } + set [S$1.$csp](value) { + this.csp = value; + } + get [$height]() { + return this.height; + } + set [$height](value) { + this.height = value; + } + get [$name]() { + return this.name; + } + set [$name](value) { + this.name = value; + } + get [S$.$referrerPolicy]() { + return this.referrerPolicy; + } + set [S$.$referrerPolicy](value) { + this.referrerPolicy = value; + } + get [S$1.$sandbox]() { + return this.sandbox; + } + get [S$.$src]() { + return this.src; + } + set [S$.$src](value) { + this.src = value; + } + get [S$1.$srcdoc]() { + return this.srcdoc; + } + set [S$1.$srcdoc](value) { + this.srcdoc = value; + } + get [$width]() { + return this.width; + } + set [$width](value) { + this.width = value; + } +}; +(html$.IFrameElement.created = function() { + html$.IFrameElement.__proto__.created.call(this); + ; +}).prototype = html$.IFrameElement.prototype; +dart.addTypeTests(html$.IFrameElement); +dart.addTypeCaches(html$.IFrameElement); +dart.setGetterSignature(html$.IFrameElement, () => ({ + __proto__: dart.getGetters(html$.IFrameElement.__proto__), + [S$1.$allow]: dart.nullable(core.String), + [S$1.$allowFullscreen]: dart.nullable(core.bool), + [S$1.$allowPaymentRequest]: dart.nullable(core.bool), + [S$1.$contentWindow]: dart.nullable(html$.WindowBase), + [S$1._get_contentWindow]: dart.dynamic, + [S$1.$csp]: dart.nullable(core.String), + [$height]: dart.nullable(core.String), + [$name]: dart.nullable(core.String), + [S$.$referrerPolicy]: dart.nullable(core.String), + [S$1.$sandbox]: dart.nullable(html$.DomTokenList), + [S$.$src]: dart.nullable(core.String), + [S$1.$srcdoc]: dart.nullable(core.String), + [$width]: dart.nullable(core.String) +})); +dart.setSetterSignature(html$.IFrameElement, () => ({ + __proto__: dart.getSetters(html$.IFrameElement.__proto__), + [S$1.$allow]: dart.nullable(core.String), + [S$1.$allowFullscreen]: dart.nullable(core.bool), + [S$1.$allowPaymentRequest]: dart.nullable(core.bool), + [S$1.$csp]: dart.nullable(core.String), + [$height]: dart.nullable(core.String), + [$name]: dart.nullable(core.String), + [S$.$referrerPolicy]: dart.nullable(core.String), + [S$.$src]: dart.nullable(core.String), + [S$1.$srcdoc]: dart.nullable(core.String), + [$width]: dart.nullable(core.String) +})); +dart.setLibraryUri(html$.IFrameElement, I[148]); +dart.registerExtension("HTMLIFrameElement", html$.IFrameElement); +html$.IdleDeadline = class IdleDeadline extends _interceptors.Interceptor { + get [S$1.$didTimeout]() { + return this.didTimeout; + } + [S$1.$timeRemaining](...args) { + return this.timeRemaining.apply(this, args); + } +}; +dart.addTypeTests(html$.IdleDeadline); +dart.addTypeCaches(html$.IdleDeadline); +dart.setMethodSignature(html$.IdleDeadline, () => ({ + __proto__: dart.getMethods(html$.IdleDeadline.__proto__), + [S$1.$timeRemaining]: dart.fnType(core.double, []) +})); +dart.setGetterSignature(html$.IdleDeadline, () => ({ + __proto__: dart.getGetters(html$.IdleDeadline.__proto__), + [S$1.$didTimeout]: dart.nullable(core.bool) +})); +dart.setLibraryUri(html$.IdleDeadline, I[148]); +dart.registerExtension("IdleDeadline", html$.IdleDeadline); +html$.ImageBitmap = class ImageBitmap extends _interceptors.Interceptor { + get [$height]() { + return this.height; + } + get [$width]() { + return this.width; + } + [S.$close](...args) { + return this.close.apply(this, args); + } +}; +dart.addTypeTests(html$.ImageBitmap); +dart.addTypeCaches(html$.ImageBitmap); +dart.setMethodSignature(html$.ImageBitmap, () => ({ + __proto__: dart.getMethods(html$.ImageBitmap.__proto__), + [S.$close]: dart.fnType(dart.void, []) +})); +dart.setGetterSignature(html$.ImageBitmap, () => ({ + __proto__: dart.getGetters(html$.ImageBitmap.__proto__), + [$height]: dart.nullable(core.int), + [$width]: dart.nullable(core.int) +})); +dart.setLibraryUri(html$.ImageBitmap, I[148]); +dart.registerExtension("ImageBitmap", html$.ImageBitmap); +html$.ImageBitmapRenderingContext = class ImageBitmapRenderingContext extends _interceptors.Interceptor { + get [S$.$canvas]() { + return this.canvas; + } + [S$1.$transferFromImageBitmap](...args) { + return this.transferFromImageBitmap.apply(this, args); + } +}; +dart.addTypeTests(html$.ImageBitmapRenderingContext); +dart.addTypeCaches(html$.ImageBitmapRenderingContext); +dart.setMethodSignature(html$.ImageBitmapRenderingContext, () => ({ + __proto__: dart.getMethods(html$.ImageBitmapRenderingContext.__proto__), + [S$1.$transferFromImageBitmap]: dart.fnType(dart.void, [dart.nullable(html$.ImageBitmap)]) +})); +dart.setGetterSignature(html$.ImageBitmapRenderingContext, () => ({ + __proto__: dart.getGetters(html$.ImageBitmapRenderingContext.__proto__), + [S$.$canvas]: dart.nullable(html$.CanvasElement) +})); +dart.setLibraryUri(html$.ImageBitmapRenderingContext, I[148]); +dart.registerExtension("ImageBitmapRenderingContext", html$.ImageBitmapRenderingContext); +html$.ImageCapture = class ImageCapture$ extends _interceptors.Interceptor { + static new(track) { + if (track == null) dart.nullFailed(I[147], 18865, 41, "track"); + return html$.ImageCapture._create_1(track); + } + static _create_1(track) { + return new ImageCapture(track); + } + get [S$1.$track]() { + return this.track; + } + [S$1.$getPhotoCapabilities]() { + return js_util.promiseToFuture(html$.PhotoCapabilities, this.getPhotoCapabilities()); + } + [S$1.$getPhotoSettings]() { + return html$.promiseToFutureAsMap(this.getPhotoSettings()); + } + [S$1.$grabFrame]() { + return js_util.promiseToFuture(html$.ImageBitmap, this.grabFrame()); + } + [S$1.$setOptions](photoSettings) { + if (photoSettings == null) dart.nullFailed(I[147], 18883, 25, "photoSettings"); + let photoSettings_dict = html_common.convertDartToNative_Dictionary(photoSettings); + return js_util.promiseToFuture(dart.dynamic, this.setOptions(photoSettings_dict)); + } + [S$1.$takePhoto](photoSettings = null) { + let photoSettings_dict = null; + if (photoSettings != null) { + photoSettings_dict = html_common.convertDartToNative_Dictionary(photoSettings); + } + return js_util.promiseToFuture(html$.Blob, this.takePhoto(photoSettings_dict)); + } +}; +dart.addTypeTests(html$.ImageCapture); +dart.addTypeCaches(html$.ImageCapture); +dart.setMethodSignature(html$.ImageCapture, () => ({ + __proto__: dart.getMethods(html$.ImageCapture.__proto__), + [S$1.$getPhotoCapabilities]: dart.fnType(async.Future$(html$.PhotoCapabilities), []), + [S$1.$getPhotoSettings]: dart.fnType(async.Future$(dart.nullable(core.Map$(core.String, dart.dynamic))), []), + [S$1.$grabFrame]: dart.fnType(async.Future$(html$.ImageBitmap), []), + [S$1.$setOptions]: dart.fnType(async.Future, [core.Map]), + [S$1.$takePhoto]: dart.fnType(async.Future$(html$.Blob), [], [dart.nullable(core.Map)]) +})); +dart.setGetterSignature(html$.ImageCapture, () => ({ + __proto__: dart.getGetters(html$.ImageCapture.__proto__), + [S$1.$track]: dart.nullable(html$.MediaStreamTrack) +})); +dart.setLibraryUri(html$.ImageCapture, I[148]); +dart.registerExtension("ImageCapture", html$.ImageCapture); +html$.ImageData = class ImageData$ extends _interceptors.Interceptor { + static new(data_OR_sw, sh_OR_sw, sh = null) { + if (sh_OR_sw == null) dart.nullFailed(I[147], 18908, 37, "sh_OR_sw"); + if (core.int.is(sh_OR_sw) && core.int.is(data_OR_sw) && sh == null) { + return html$.ImageData._create_1(data_OR_sw, sh_OR_sw); + } + if (core.int.is(sh_OR_sw) && typed_data.Uint8ClampedList.is(data_OR_sw) && sh == null) { + return html$.ImageData._create_2(data_OR_sw, sh_OR_sw); + } + if (core.int.is(sh) && core.int.is(sh_OR_sw) && typed_data.Uint8ClampedList.is(data_OR_sw)) { + return html$.ImageData._create_3(data_OR_sw, sh_OR_sw, sh); + } + dart.throw(new core.ArgumentError.new("Incorrect number or type of arguments")); + } + static _create_1(data_OR_sw, sh_OR_sw) { + return new ImageData(data_OR_sw, sh_OR_sw); + } + static _create_2(data_OR_sw, sh_OR_sw) { + return new ImageData(data_OR_sw, sh_OR_sw); + } + static _create_3(data_OR_sw, sh_OR_sw, sh) { + return new ImageData(data_OR_sw, sh_OR_sw, sh); + } + get [S$.$data]() { + return this.data; + } + get [$height]() { + return this.height; + } + get [$width]() { + return this.width; + } +}; +dart.addTypeTests(html$.ImageData); +dart.addTypeCaches(html$.ImageData); +dart.setGetterSignature(html$.ImageData, () => ({ + __proto__: dart.getGetters(html$.ImageData.__proto__), + [S$.$data]: typed_data.Uint8ClampedList, + [$height]: core.int, + [$width]: core.int +})); +dart.setLibraryUri(html$.ImageData, I[148]); +dart.registerExtension("ImageData", html$.ImageData); +html$.ImageElement = class ImageElement extends html$.HtmlElement { + static new(opts) { + let src = opts && 'src' in opts ? opts.src : null; + let width = opts && 'width' in opts ? opts.width : null; + let height = opts && 'height' in opts ? opts.height : null; + let e = html$.document.createElement("img"); + if (src != null) e.src = src; + if (width != null) e.width = width; + if (height != null) e.height = height; + return e; + } + get [S$.$alt]() { + return this.alt; + } + set [S$.$alt](value) { + this.alt = value; + } + get [S$1.$async]() { + return this.async; + } + set [S$1.$async](value) { + this.async = value; + } + get [S$1.$complete]() { + return this.complete; + } + get [S$.$crossOrigin]() { + return this.crossOrigin; + } + set [S$.$crossOrigin](value) { + this.crossOrigin = value; + } + get [S$.$currentSrc]() { + return this.currentSrc; + } + get [$height]() { + return this.height; + } + set [$height](value) { + this.height = value; + } + get [S$1.$isMap]() { + return this.isMap; + } + set [S$1.$isMap](value) { + this.isMap = value; + } + get [S$1.$naturalHeight]() { + return this.naturalHeight; + } + get [S$1.$naturalWidth]() { + return this.naturalWidth; + } + get [S$.$referrerPolicy]() { + return this.referrerPolicy; + } + set [S$.$referrerPolicy](value) { + this.referrerPolicy = value; + } + get [S$1.$sizes]() { + return this.sizes; + } + set [S$1.$sizes](value) { + this.sizes = value; + } + get [S$.$src]() { + return this.src; + } + set [S$.$src](value) { + this.src = value; + } + get [S$1.$srcset]() { + return this.srcset; + } + set [S$1.$srcset](value) { + this.srcset = value; + } + get [S$1.$useMap]() { + return this.useMap; + } + set [S$1.$useMap](value) { + this.useMap = value; + } + get [$width]() { + return this.width; + } + set [$width](value) { + this.width = value; + } + [S$1.$decode]() { + return js_util.promiseToFuture(dart.dynamic, this.decode()); + } +}; +(html$.ImageElement.created = function() { + html$.ImageElement.__proto__.created.call(this); + ; +}).prototype = html$.ImageElement.prototype; +dart.addTypeTests(html$.ImageElement); +dart.addTypeCaches(html$.ImageElement); +html$.ImageElement[dart.implements] = () => [html$.CanvasImageSource]; +dart.setMethodSignature(html$.ImageElement, () => ({ + __proto__: dart.getMethods(html$.ImageElement.__proto__), + [S$1.$decode]: dart.fnType(async.Future, []) +})); +dart.setGetterSignature(html$.ImageElement, () => ({ + __proto__: dart.getGetters(html$.ImageElement.__proto__), + [S$.$alt]: dart.nullable(core.String), + [S$1.$async]: dart.nullable(core.String), + [S$1.$complete]: dart.nullable(core.bool), + [S$.$crossOrigin]: dart.nullable(core.String), + [S$.$currentSrc]: dart.nullable(core.String), + [$height]: dart.nullable(core.int), + [S$1.$isMap]: dart.nullable(core.bool), + [S$1.$naturalHeight]: core.int, + [S$1.$naturalWidth]: core.int, + [S$.$referrerPolicy]: dart.nullable(core.String), + [S$1.$sizes]: dart.nullable(core.String), + [S$.$src]: dart.nullable(core.String), + [S$1.$srcset]: dart.nullable(core.String), + [S$1.$useMap]: dart.nullable(core.String), + [$width]: dart.nullable(core.int) +})); +dart.setSetterSignature(html$.ImageElement, () => ({ + __proto__: dart.getSetters(html$.ImageElement.__proto__), + [S$.$alt]: dart.nullable(core.String), + [S$1.$async]: dart.nullable(core.String), + [S$.$crossOrigin]: dart.nullable(core.String), + [$height]: dart.nullable(core.int), + [S$1.$isMap]: dart.nullable(core.bool), + [S$.$referrerPolicy]: dart.nullable(core.String), + [S$1.$sizes]: dart.nullable(core.String), + [S$.$src]: dart.nullable(core.String), + [S$1.$srcset]: dart.nullable(core.String), + [S$1.$useMap]: dart.nullable(core.String), + [$width]: dart.nullable(core.int) +})); +dart.setLibraryUri(html$.ImageElement, I[148]); +dart.registerExtension("HTMLImageElement", html$.ImageElement); +html$.InputDeviceCapabilities = class InputDeviceCapabilities$ extends _interceptors.Interceptor { + static new(deviceInitDict = null) { + if (deviceInitDict != null) { + let deviceInitDict_1 = html_common.convertDartToNative_Dictionary(deviceInitDict); + return html$.InputDeviceCapabilities._create_1(deviceInitDict_1); + } + return html$.InputDeviceCapabilities._create_2(); + } + static _create_1(deviceInitDict) { + return new InputDeviceCapabilities(deviceInitDict); + } + static _create_2() { + return new InputDeviceCapabilities(); + } + get [S$1.$firesTouchEvents]() { + return this.firesTouchEvents; + } +}; +dart.addTypeTests(html$.InputDeviceCapabilities); +dart.addTypeCaches(html$.InputDeviceCapabilities); +dart.setGetterSignature(html$.InputDeviceCapabilities, () => ({ + __proto__: dart.getGetters(html$.InputDeviceCapabilities.__proto__), + [S$1.$firesTouchEvents]: dart.nullable(core.bool) +})); +dart.setLibraryUri(html$.InputDeviceCapabilities, I[148]); +dart.registerExtension("InputDeviceCapabilities", html$.InputDeviceCapabilities); +html$.InputElement = class InputElement extends html$.HtmlElement { + static new(opts) { + let type = opts && 'type' in opts ? opts.type : null; + let e = html$.InputElement.as(html$.document[S.$createElement]("input")); + if (type != null) { + try { + e.type = type; + } catch (e$) { + let _ = dart.getThrown(e$); + if (core.Object.is(_)) { + } else + throw e$; + } + } + return e; + } + get [S$1.$accept]() { + return this.accept; + } + set [S$1.$accept](value) { + this.accept = value; + } + get [S$.$alt]() { + return this.alt; + } + set [S$.$alt](value) { + this.alt = value; + } + get [S$1.$autocapitalize]() { + return this.autocapitalize; + } + set [S$1.$autocapitalize](value) { + this.autocapitalize = value; + } + get [S$.$autocomplete]() { + return this.autocomplete; + } + set [S$.$autocomplete](value) { + this.autocomplete = value; + } + get [S$.$autofocus]() { + return this.autofocus; + } + set [S$.$autofocus](value) { + this.autofocus = value; + } + get [S$1.$capture]() { + return this.capture; + } + set [S$1.$capture](value) { + this.capture = value; + } + get [S$.$checked]() { + return this.checked; + } + set [S$.$checked](value) { + this.checked = value; + } + get [S$1.$defaultChecked]() { + return this.defaultChecked; + } + set [S$1.$defaultChecked](value) { + this.defaultChecked = value; + } + get [S$1.$defaultValue]() { + return this.defaultValue; + } + set [S$1.$defaultValue](value) { + this.defaultValue = value; + } + get [S$1.$dirName]() { + return this.dirName; + } + set [S$1.$dirName](value) { + this.dirName = value; + } + get [S$.$disabled]() { + return this.disabled; + } + set [S$.$disabled](value) { + this.disabled = value; + } + get [S$0.$files]() { + return this.files; + } + set [S$0.$files](value) { + this.files = value; + } + get [S$.$form]() { + return this.form; + } + get [S$.$formAction]() { + return this.formAction; + } + set [S$.$formAction](value) { + this.formAction = value; + } + get [S$.$formEnctype]() { + return this.formEnctype; + } + set [S$.$formEnctype](value) { + this.formEnctype = value; + } + get [S$.$formMethod]() { + return this.formMethod; + } + set [S$.$formMethod](value) { + this.formMethod = value; + } + get [S$.$formNoValidate]() { + return this.formNoValidate; + } + set [S$.$formNoValidate](value) { + this.formNoValidate = value; + } + get [S$.$formTarget]() { + return this.formTarget; + } + set [S$.$formTarget](value) { + this.formTarget = value; + } + get [$height]() { + return this.height; + } + set [$height](value) { + this.height = value; + } + get [S$1.$incremental]() { + return this.incremental; + } + set [S$1.$incremental](value) { + this.incremental = value; + } + get [S$1.$indeterminate]() { + return this.indeterminate; + } + set [S$1.$indeterminate](value) { + this.indeterminate = value; + } + get [S$.$labels]() { + return this.labels; + } + get [S$1.$list]() { + return this.list; + } + get [S$1.$max]() { + return this.max; + } + set [S$1.$max](value) { + this.max = value; + } + get [S$1.$maxLength]() { + return this.maxLength; + } + set [S$1.$maxLength](value) { + this.maxLength = value; + } + get [S$1.$min]() { + return this.min; + } + set [S$1.$min](value) { + this.min = value; + } + get [S$1.$minLength]() { + return this.minLength; + } + set [S$1.$minLength](value) { + this.minLength = value; + } + get [S$1.$multiple]() { + return this.multiple; + } + set [S$1.$multiple](value) { + this.multiple = value; + } + get [$name]() { + return this.name; + } + set [$name](value) { + this.name = value; + } + get [S$1.$pattern]() { + return this.pattern; + } + set [S$1.$pattern](value) { + this.pattern = value; + } + get [S$.$placeholder]() { + return this.placeholder; + } + set [S$.$placeholder](value) { + this.placeholder = value; + } + get [S$.$readOnly]() { + return this.readOnly; + } + set [S$.$readOnly](value) { + this.readOnly = value; + } + get [S$.$required]() { + return this.required; + } + set [S$.$required](value) { + this.required = value; + } + get [S$1.$selectionDirection]() { + return this.selectionDirection; + } + set [S$1.$selectionDirection](value) { + this.selectionDirection = value; + } + get [S$1.$selectionEnd]() { + return this.selectionEnd; + } + set [S$1.$selectionEnd](value) { + this.selectionEnd = value; + } + get [S$1.$selectionStart]() { + return this.selectionStart; + } + set [S$1.$selectionStart](value) { + this.selectionStart = value; + } + get [S$.$size]() { + return this.size; + } + set [S$.$size](value) { + this.size = value; + } + get [S$.$src]() { + return this.src; + } + set [S$.$src](value) { + this.src = value; + } + get [S$1.$step]() { + return this.step; + } + set [S$1.$step](value) { + this.step = value; + } + get [S.$type]() { + return this.type; + } + set [S.$type](value) { + this.type = value; + } + get [S$.$validationMessage]() { + return this.validationMessage; + } + get [S$.$validity]() { + return this.validity; + } + get [S.$value]() { + return this.value; + } + set [S.$value](value) { + this.value = value; + } + get [S$1.$valueAsDate]() { + return html_common.convertNativeToDart_DateTime(this[S$1._get_valueAsDate]); + } + get [S$1._get_valueAsDate]() { + return this.valueAsDate; + } + set [S$1.$valueAsDate](value) { + this[S$1._set_valueAsDate] = html_common.convertDartToNative_DateTime(dart.nullCheck(value)); + } + set [S$1._set_valueAsDate](value) { + this.valueAsDate = value; + } + get [S$1.$valueAsNumber]() { + return this.valueAsNumber; + } + set [S$1.$valueAsNumber](value) { + this.valueAsNumber = value; + } + get [$entries]() { + return this.webkitEntries; + } + get [S$1.$directory]() { + return this.webkitdirectory; + } + set [S$1.$directory](value) { + this.webkitdirectory = value; + } + get [$width]() { + return this.width; + } + set [$width](value) { + this.width = value; + } + get [S$.$willValidate]() { + return this.willValidate; + } + [S$.$checkValidity](...args) { + return this.checkValidity.apply(this, args); + } + [S$.$reportValidity](...args) { + return this.reportValidity.apply(this, args); + } + [S$.$select](...args) { + return this.select.apply(this, args); + } + [S$.$setCustomValidity](...args) { + return this.setCustomValidity.apply(this, args); + } + [S$1.$setRangeText](...args) { + return this.setRangeText.apply(this, args); + } + [S$1.$setSelectionRange](...args) { + return this.setSelectionRange.apply(this, args); + } + [S$1.$stepDown](...args) { + return this.stepDown.apply(this, args); + } + [S$1.$stepUp](...args) { + return this.stepUp.apply(this, args); + } +}; +(html$.InputElement.created = function() { + html$.InputElement.__proto__.created.call(this); + ; +}).prototype = html$.InputElement.prototype; +dart.addTypeTests(html$.InputElement); +dart.addTypeCaches(html$.InputElement); +html$.InputElement[dart.implements] = () => [html$.HiddenInputElement, html$.SearchInputElement, html$.TextInputElement, html$.UrlInputElement, html$.TelephoneInputElement, html$.EmailInputElement, html$.PasswordInputElement, html$.DateInputElement, html$.MonthInputElement, html$.WeekInputElement, html$.TimeInputElement, html$.LocalDateTimeInputElement, html$.NumberInputElement, html$.RangeInputElement, html$.CheckboxInputElement, html$.RadioButtonInputElement, html$.FileUploadInputElement, html$.SubmitButtonInputElement, html$.ImageButtonInputElement, html$.ResetButtonInputElement, html$.ButtonInputElement]; +dart.setMethodSignature(html$.InputElement, () => ({ + __proto__: dart.getMethods(html$.InputElement.__proto__), + [S$.$checkValidity]: dart.fnType(core.bool, []), + [S$.$reportValidity]: dart.fnType(core.bool, []), + [S$.$select]: dart.fnType(dart.void, []), + [S$.$setCustomValidity]: dart.fnType(dart.void, [core.String]), + [S$1.$setRangeText]: dart.fnType(dart.void, [core.String], {end: dart.nullable(core.int), selectionMode: dart.nullable(core.String), start: dart.nullable(core.int)}, {}), + [S$1.$setSelectionRange]: dart.fnType(dart.void, [core.int, core.int], [dart.nullable(core.String)]), + [S$1.$stepDown]: dart.fnType(dart.void, [], [dart.nullable(core.int)]), + [S$1.$stepUp]: dart.fnType(dart.void, [], [dart.nullable(core.int)]) +})); +dart.setGetterSignature(html$.InputElement, () => ({ + __proto__: dart.getGetters(html$.InputElement.__proto__), + [S$1.$accept]: dart.nullable(core.String), + [S$.$alt]: dart.nullable(core.String), + [S$1.$autocapitalize]: dart.nullable(core.String), + [S$.$autocomplete]: core.String, + [S$.$autofocus]: core.bool, + [S$1.$capture]: dart.nullable(core.String), + [S$.$checked]: dart.nullable(core.bool), + [S$1.$defaultChecked]: dart.nullable(core.bool), + [S$1.$defaultValue]: dart.nullable(core.String), + [S$1.$dirName]: dart.nullable(core.String), + [S$.$disabled]: dart.nullable(core.bool), + [S$0.$files]: dart.nullable(core.List$(html$.File)), + [S$.$form]: dart.nullable(html$.FormElement), + [S$.$formAction]: core.String, + [S$.$formEnctype]: core.String, + [S$.$formMethod]: core.String, + [S$.$formNoValidate]: core.bool, + [S$.$formTarget]: core.String, + [$height]: dart.nullable(core.int), + [S$1.$incremental]: dart.nullable(core.bool), + [S$1.$indeterminate]: dart.nullable(core.bool), + [S$.$labels]: dart.nullable(core.List$(html$.Node)), + [S$1.$list]: dart.nullable(html$.HtmlElement), + [S$1.$max]: dart.nullable(core.String), + [S$1.$maxLength]: dart.nullable(core.int), + [S$1.$min]: dart.nullable(core.String), + [S$1.$minLength]: dart.nullable(core.int), + [S$1.$multiple]: dart.nullable(core.bool), + [$name]: dart.nullable(core.String), + [S$1.$pattern]: core.String, + [S$.$placeholder]: core.String, + [S$.$readOnly]: dart.nullable(core.bool), + [S$.$required]: core.bool, + [S$1.$selectionDirection]: dart.nullable(core.String), + [S$1.$selectionEnd]: dart.nullable(core.int), + [S$1.$selectionStart]: dart.nullable(core.int), + [S$.$size]: dart.nullable(core.int), + [S$.$src]: dart.nullable(core.String), + [S$1.$step]: dart.nullable(core.String), + [S.$type]: dart.nullable(core.String), + [S$.$validationMessage]: core.String, + [S$.$validity]: html$.ValidityState, + [S.$value]: dart.nullable(core.String), + [S$1.$valueAsDate]: core.DateTime, + [S$1._get_valueAsDate]: dart.dynamic, + [S$1.$valueAsNumber]: dart.nullable(core.num), + [$entries]: dart.nullable(core.List$(html$.Entry)), + [S$1.$directory]: dart.nullable(core.bool), + [$width]: dart.nullable(core.int), + [S$.$willValidate]: core.bool +})); +dart.setSetterSignature(html$.InputElement, () => ({ + __proto__: dart.getSetters(html$.InputElement.__proto__), + [S$1.$accept]: dart.nullable(core.String), + [S$.$alt]: dart.nullable(core.String), + [S$1.$autocapitalize]: dart.nullable(core.String), + [S$.$autocomplete]: core.String, + [S$.$autofocus]: core.bool, + [S$1.$capture]: dart.nullable(core.String), + [S$.$checked]: dart.nullable(core.bool), + [S$1.$defaultChecked]: dart.nullable(core.bool), + [S$1.$defaultValue]: dart.nullable(core.String), + [S$1.$dirName]: dart.nullable(core.String), + [S$.$disabled]: dart.nullable(core.bool), + [S$0.$files]: dart.nullable(core.List$(html$.File)), + [S$.$formAction]: core.String, + [S$.$formEnctype]: core.String, + [S$.$formMethod]: core.String, + [S$.$formNoValidate]: core.bool, + [S$.$formTarget]: core.String, + [$height]: dart.nullable(core.int), + [S$1.$incremental]: dart.nullable(core.bool), + [S$1.$indeterminate]: dart.nullable(core.bool), + [S$1.$max]: dart.nullable(core.String), + [S$1.$maxLength]: dart.nullable(core.int), + [S$1.$min]: dart.nullable(core.String), + [S$1.$minLength]: dart.nullable(core.int), + [S$1.$multiple]: dart.nullable(core.bool), + [$name]: dart.nullable(core.String), + [S$1.$pattern]: core.String, + [S$.$placeholder]: core.String, + [S$.$readOnly]: dart.nullable(core.bool), + [S$.$required]: core.bool, + [S$1.$selectionDirection]: dart.nullable(core.String), + [S$1.$selectionEnd]: dart.nullable(core.int), + [S$1.$selectionStart]: dart.nullable(core.int), + [S$.$size]: dart.nullable(core.int), + [S$.$src]: dart.nullable(core.String), + [S$1.$step]: dart.nullable(core.String), + [S.$type]: dart.nullable(core.String), + [S.$value]: dart.nullable(core.String), + [S$1.$valueAsDate]: dart.nullable(core.DateTime), + [S$1._set_valueAsDate]: dart.dynamic, + [S$1.$valueAsNumber]: dart.nullable(core.num), + [S$1.$directory]: dart.nullable(core.bool), + [$width]: dart.nullable(core.int) +})); +dart.setLibraryUri(html$.InputElement, I[148]); +dart.registerExtension("HTMLInputElement", html$.InputElement); +html$.InputElementBase = class InputElementBase extends core.Object {}; +(html$.InputElementBase.new = function() { + ; +}).prototype = html$.InputElementBase.prototype; +dart.addTypeTests(html$.InputElementBase); +dart.addTypeCaches(html$.InputElementBase); +html$.InputElementBase[dart.implements] = () => [html$.Element]; +dart.setLibraryUri(html$.InputElementBase, I[148]); +html$.HiddenInputElement = class HiddenInputElement extends core.Object { + static new() { + return html$.InputElement.new({type: "hidden"}); + } +}; +(html$.HiddenInputElement[dart.mixinNew] = function() { +}).prototype = html$.HiddenInputElement.prototype; +dart.addTypeTests(html$.HiddenInputElement); +dart.addTypeCaches(html$.HiddenInputElement); +html$.HiddenInputElement[dart.implements] = () => [html$.InputElementBase]; +dart.setLibraryUri(html$.HiddenInputElement, I[148]); +html$.TextInputElementBase = class TextInputElementBase extends core.Object {}; +(html$.TextInputElementBase.new = function() { + ; +}).prototype = html$.TextInputElementBase.prototype; +dart.addTypeTests(html$.TextInputElementBase); +dart.addTypeCaches(html$.TextInputElementBase); +html$.TextInputElementBase[dart.implements] = () => [html$.InputElementBase]; +dart.setLibraryUri(html$.TextInputElementBase, I[148]); +html$.SearchInputElement = class SearchInputElement extends core.Object { + static new() { + return html$.InputElement.new({type: "search"}); + } + static get supported() { + return html$.InputElement.new({type: "search"}).type === "search"; + } +}; +(html$.SearchInputElement[dart.mixinNew] = function() { +}).prototype = html$.SearchInputElement.prototype; +dart.addTypeTests(html$.SearchInputElement); +dart.addTypeCaches(html$.SearchInputElement); +html$.SearchInputElement[dart.implements] = () => [html$.TextInputElementBase]; +dart.setLibraryUri(html$.SearchInputElement, I[148]); +html$.TextInputElement = class TextInputElement extends core.Object { + static new() { + return html$.InputElement.new({type: "text"}); + } +}; +(html$.TextInputElement[dart.mixinNew] = function() { +}).prototype = html$.TextInputElement.prototype; +dart.addTypeTests(html$.TextInputElement); +dart.addTypeCaches(html$.TextInputElement); +html$.TextInputElement[dart.implements] = () => [html$.TextInputElementBase]; +dart.setLibraryUri(html$.TextInputElement, I[148]); +html$.UrlInputElement = class UrlInputElement extends core.Object { + static new() { + return html$.InputElement.new({type: "url"}); + } + static get supported() { + return html$.InputElement.new({type: "url"}).type === "url"; + } +}; +(html$.UrlInputElement[dart.mixinNew] = function() { +}).prototype = html$.UrlInputElement.prototype; +dart.addTypeTests(html$.UrlInputElement); +dart.addTypeCaches(html$.UrlInputElement); +html$.UrlInputElement[dart.implements] = () => [html$.TextInputElementBase]; +dart.setLibraryUri(html$.UrlInputElement, I[148]); +html$.TelephoneInputElement = class TelephoneInputElement extends core.Object { + static new() { + return html$.InputElement.new({type: "tel"}); + } + static get supported() { + return html$.InputElement.new({type: "tel"}).type === "tel"; + } +}; +(html$.TelephoneInputElement[dart.mixinNew] = function() { +}).prototype = html$.TelephoneInputElement.prototype; +dart.addTypeTests(html$.TelephoneInputElement); +dart.addTypeCaches(html$.TelephoneInputElement); +html$.TelephoneInputElement[dart.implements] = () => [html$.TextInputElementBase]; +dart.setLibraryUri(html$.TelephoneInputElement, I[148]); +html$.EmailInputElement = class EmailInputElement extends core.Object { + static new() { + return html$.InputElement.new({type: "email"}); + } + static get supported() { + return html$.InputElement.new({type: "email"}).type === "email"; + } +}; +(html$.EmailInputElement[dart.mixinNew] = function() { +}).prototype = html$.EmailInputElement.prototype; +dart.addTypeTests(html$.EmailInputElement); +dart.addTypeCaches(html$.EmailInputElement); +html$.EmailInputElement[dart.implements] = () => [html$.TextInputElementBase]; +dart.setLibraryUri(html$.EmailInputElement, I[148]); +html$.PasswordInputElement = class PasswordInputElement extends core.Object { + static new() { + return html$.InputElement.new({type: "password"}); + } +}; +(html$.PasswordInputElement[dart.mixinNew] = function() { +}).prototype = html$.PasswordInputElement.prototype; +dart.addTypeTests(html$.PasswordInputElement); +dart.addTypeCaches(html$.PasswordInputElement); +html$.PasswordInputElement[dart.implements] = () => [html$.TextInputElementBase]; +dart.setLibraryUri(html$.PasswordInputElement, I[148]); +html$.RangeInputElementBase = class RangeInputElementBase extends core.Object {}; +(html$.RangeInputElementBase.new = function() { + ; +}).prototype = html$.RangeInputElementBase.prototype; +dart.addTypeTests(html$.RangeInputElementBase); +dart.addTypeCaches(html$.RangeInputElementBase); +html$.RangeInputElementBase[dart.implements] = () => [html$.InputElementBase]; +dart.setLibraryUri(html$.RangeInputElementBase, I[148]); +html$.DateInputElement = class DateInputElement extends core.Object { + static new() { + return html$.InputElement.new({type: "date"}); + } + static get supported() { + return html$.InputElement.new({type: "date"}).type === "date"; + } +}; +(html$.DateInputElement[dart.mixinNew] = function() { +}).prototype = html$.DateInputElement.prototype; +dart.addTypeTests(html$.DateInputElement); +dart.addTypeCaches(html$.DateInputElement); +html$.DateInputElement[dart.implements] = () => [html$.RangeInputElementBase]; +dart.setLibraryUri(html$.DateInputElement, I[148]); +html$.MonthInputElement = class MonthInputElement extends core.Object { + static new() { + return html$.InputElement.new({type: "month"}); + } + static get supported() { + return html$.InputElement.new({type: "month"}).type === "month"; + } +}; +(html$.MonthInputElement[dart.mixinNew] = function() { +}).prototype = html$.MonthInputElement.prototype; +dart.addTypeTests(html$.MonthInputElement); +dart.addTypeCaches(html$.MonthInputElement); +html$.MonthInputElement[dart.implements] = () => [html$.RangeInputElementBase]; +dart.setLibraryUri(html$.MonthInputElement, I[148]); +html$.WeekInputElement = class WeekInputElement extends core.Object { + static new() { + return html$.InputElement.new({type: "week"}); + } + static get supported() { + return html$.InputElement.new({type: "week"}).type === "week"; + } +}; +(html$.WeekInputElement[dart.mixinNew] = function() { +}).prototype = html$.WeekInputElement.prototype; +dart.addTypeTests(html$.WeekInputElement); +dart.addTypeCaches(html$.WeekInputElement); +html$.WeekInputElement[dart.implements] = () => [html$.RangeInputElementBase]; +dart.setLibraryUri(html$.WeekInputElement, I[148]); +html$.TimeInputElement = class TimeInputElement extends core.Object { + static new() { + return html$.InputElement.new({type: "time"}); + } + static get supported() { + return html$.InputElement.new({type: "time"}).type === "time"; + } +}; +(html$.TimeInputElement[dart.mixinNew] = function() { +}).prototype = html$.TimeInputElement.prototype; +dart.addTypeTests(html$.TimeInputElement); +dart.addTypeCaches(html$.TimeInputElement); +html$.TimeInputElement[dart.implements] = () => [html$.RangeInputElementBase]; +dart.setLibraryUri(html$.TimeInputElement, I[148]); +html$.LocalDateTimeInputElement = class LocalDateTimeInputElement extends core.Object { + static new() { + return html$.InputElement.new({type: "datetime-local"}); + } + static get supported() { + return html$.InputElement.new({type: "datetime-local"}).type === "datetime-local"; + } +}; +(html$.LocalDateTimeInputElement[dart.mixinNew] = function() { +}).prototype = html$.LocalDateTimeInputElement.prototype; +dart.addTypeTests(html$.LocalDateTimeInputElement); +dart.addTypeCaches(html$.LocalDateTimeInputElement); +html$.LocalDateTimeInputElement[dart.implements] = () => [html$.RangeInputElementBase]; +dart.setLibraryUri(html$.LocalDateTimeInputElement, I[148]); +html$.NumberInputElement = class NumberInputElement extends core.Object { + static new() { + return html$.InputElement.new({type: "number"}); + } + static get supported() { + return html$.InputElement.new({type: "number"}).type === "number"; + } +}; +(html$.NumberInputElement[dart.mixinNew] = function() { +}).prototype = html$.NumberInputElement.prototype; +dart.addTypeTests(html$.NumberInputElement); +dart.addTypeCaches(html$.NumberInputElement); +html$.NumberInputElement[dart.implements] = () => [html$.RangeInputElementBase]; +dart.setLibraryUri(html$.NumberInputElement, I[148]); +html$.RangeInputElement = class RangeInputElement extends core.Object { + static new() { + return html$.InputElement.new({type: "range"}); + } + static get supported() { + return html$.InputElement.new({type: "range"}).type === "range"; + } +}; +(html$.RangeInputElement[dart.mixinNew] = function() { +}).prototype = html$.RangeInputElement.prototype; +dart.addTypeTests(html$.RangeInputElement); +dart.addTypeCaches(html$.RangeInputElement); +html$.RangeInputElement[dart.implements] = () => [html$.RangeInputElementBase]; +dart.setLibraryUri(html$.RangeInputElement, I[148]); +html$.CheckboxInputElement = class CheckboxInputElement extends core.Object { + static new() { + return html$.InputElement.new({type: "checkbox"}); + } +}; +(html$.CheckboxInputElement[dart.mixinNew] = function() { +}).prototype = html$.CheckboxInputElement.prototype; +dart.addTypeTests(html$.CheckboxInputElement); +dart.addTypeCaches(html$.CheckboxInputElement); +html$.CheckboxInputElement[dart.implements] = () => [html$.InputElementBase]; +dart.setLibraryUri(html$.CheckboxInputElement, I[148]); +html$.RadioButtonInputElement = class RadioButtonInputElement extends core.Object { + static new() { + return html$.InputElement.new({type: "radio"}); + } +}; +(html$.RadioButtonInputElement[dart.mixinNew] = function() { +}).prototype = html$.RadioButtonInputElement.prototype; +dart.addTypeTests(html$.RadioButtonInputElement); +dart.addTypeCaches(html$.RadioButtonInputElement); +html$.RadioButtonInputElement[dart.implements] = () => [html$.InputElementBase]; +dart.setLibraryUri(html$.RadioButtonInputElement, I[148]); +html$.FileUploadInputElement = class FileUploadInputElement extends core.Object { + get files() { + return this[S$1.files]; + } + set files(value) { + this[S$1.files] = value; + } + static new() { + return html$.InputElement.new({type: "file"}); + } +}; +(html$.FileUploadInputElement[dart.mixinNew] = function() { + this[S$1.files] = null; +}).prototype = html$.FileUploadInputElement.prototype; +dart.addTypeTests(html$.FileUploadInputElement); +dart.addTypeCaches(html$.FileUploadInputElement); +html$.FileUploadInputElement[dart.implements] = () => [html$.InputElementBase]; +dart.setLibraryUri(html$.FileUploadInputElement, I[148]); +dart.setFieldSignature(html$.FileUploadInputElement, () => ({ + __proto__: dart.getFields(html$.FileUploadInputElement.__proto__), + files: dart.fieldType(dart.nullable(core.List$(html$.File))) +})); +dart.defineExtensionAccessors(html$.FileUploadInputElement, ['files']); +html$.SubmitButtonInputElement = class SubmitButtonInputElement extends core.Object { + static new() { + return html$.InputElement.new({type: "submit"}); + } +}; +(html$.SubmitButtonInputElement[dart.mixinNew] = function() { +}).prototype = html$.SubmitButtonInputElement.prototype; +dart.addTypeTests(html$.SubmitButtonInputElement); +dart.addTypeCaches(html$.SubmitButtonInputElement); +html$.SubmitButtonInputElement[dart.implements] = () => [html$.InputElementBase]; +dart.setLibraryUri(html$.SubmitButtonInputElement, I[148]); +html$.ImageButtonInputElement = class ImageButtonInputElement extends core.Object { + static new() { + return html$.InputElement.new({type: "image"}); + } +}; +(html$.ImageButtonInputElement[dart.mixinNew] = function() { +}).prototype = html$.ImageButtonInputElement.prototype; +dart.addTypeTests(html$.ImageButtonInputElement); +dart.addTypeCaches(html$.ImageButtonInputElement); +html$.ImageButtonInputElement[dart.implements] = () => [html$.InputElementBase]; +dart.setLibraryUri(html$.ImageButtonInputElement, I[148]); +html$.ResetButtonInputElement = class ResetButtonInputElement extends core.Object { + static new() { + return html$.InputElement.new({type: "reset"}); + } +}; +(html$.ResetButtonInputElement[dart.mixinNew] = function() { +}).prototype = html$.ResetButtonInputElement.prototype; +dart.addTypeTests(html$.ResetButtonInputElement); +dart.addTypeCaches(html$.ResetButtonInputElement); +html$.ResetButtonInputElement[dart.implements] = () => [html$.InputElementBase]; +dart.setLibraryUri(html$.ResetButtonInputElement, I[148]); +html$.ButtonInputElement = class ButtonInputElement extends core.Object { + static new() { + return html$.InputElement.new({type: "button"}); + } +}; +(html$.ButtonInputElement[dart.mixinNew] = function() { +}).prototype = html$.ButtonInputElement.prototype; +dart.addTypeTests(html$.ButtonInputElement); +dart.addTypeCaches(html$.ButtonInputElement); +html$.ButtonInputElement[dart.implements] = () => [html$.InputElementBase]; +dart.setLibraryUri(html$.ButtonInputElement, I[148]); +html$.InstallEvent = class InstallEvent$ extends html$.ExtendableEvent { + static new(type, eventInitDict = null) { + if (type == null) dart.nullFailed(I[147], 19853, 31, "type"); + if (eventInitDict != null) { + let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); + return html$.InstallEvent._create_1(type, eventInitDict_1); + } + return html$.InstallEvent._create_2(type); + } + static _create_1(type, eventInitDict) { + return new InstallEvent(type, eventInitDict); + } + static _create_2(type) { + return new InstallEvent(type); + } + [S$1.$registerForeignFetch](options) { + if (options == null) dart.nullFailed(I[147], 19865, 33, "options"); + let options_1 = html_common.convertDartToNative_Dictionary(options); + this[S$1._registerForeignFetch_1](options_1); + return; + } + [S$1._registerForeignFetch_1](...args) { + return this.registerForeignFetch.apply(this, args); + } +}; +dart.addTypeTests(html$.InstallEvent); +dart.addTypeCaches(html$.InstallEvent); +dart.setMethodSignature(html$.InstallEvent, () => ({ + __proto__: dart.getMethods(html$.InstallEvent.__proto__), + [S$1.$registerForeignFetch]: dart.fnType(dart.void, [core.Map]), + [S$1._registerForeignFetch_1]: dart.fnType(dart.void, [dart.dynamic]) +})); +dart.setLibraryUri(html$.InstallEvent, I[148]); +dart.registerExtension("InstallEvent", html$.InstallEvent); +html$.IntersectionObserver = class IntersectionObserver$ extends _interceptors.Interceptor { + static new(callback, options = null) { + if (callback == null) dart.nullFailed(I[147], 19885, 61, "callback"); + if (options != null) { + let callback_1 = _js_helper.convertDartClosureToJS(T$0.ListAndIntersectionObserverTovoid(), callback, 2); + let options_2 = html_common.convertDartToNative_Dictionary(options); + return html$.IntersectionObserver._create_1(callback_1, options_2); + } + let callback_1 = _js_helper.convertDartClosureToJS(T$0.ListAndIntersectionObserverTovoid(), callback, 2); + return html$.IntersectionObserver._create_2(callback_1); + } + static _create_1(callback, options) { + return new IntersectionObserver(callback, options); + } + static _create_2(callback) { + return new IntersectionObserver(callback); + } + get [S$1.$root]() { + return this.root; + } + get [S$1.$rootMargin]() { + return this.rootMargin; + } + get [S$1.$thresholds]() { + return this.thresholds; + } + [S$1.$disconnect](...args) { + return this.disconnect.apply(this, args); + } + [S.$observe](...args) { + return this.observe.apply(this, args); + } + [S$1.$takeRecords](...args) { + return this.takeRecords.apply(this, args); + } + [S.$unobserve](...args) { + return this.unobserve.apply(this, args); + } +}; +dart.addTypeTests(html$.IntersectionObserver); +dart.addTypeCaches(html$.IntersectionObserver); +dart.setMethodSignature(html$.IntersectionObserver, () => ({ + __proto__: dart.getMethods(html$.IntersectionObserver.__proto__), + [S$1.$disconnect]: dart.fnType(dart.void, []), + [S.$observe]: dart.fnType(dart.void, [html$.Element]), + [S$1.$takeRecords]: dart.fnType(core.List$(html$.IntersectionObserverEntry), []), + [S.$unobserve]: dart.fnType(dart.void, [html$.Element]) +})); +dart.setGetterSignature(html$.IntersectionObserver, () => ({ + __proto__: dart.getGetters(html$.IntersectionObserver.__proto__), + [S$1.$root]: dart.nullable(html$.Element), + [S$1.$rootMargin]: dart.nullable(core.String), + [S$1.$thresholds]: dart.nullable(core.List$(core.num)) +})); +dart.setLibraryUri(html$.IntersectionObserver, I[148]); +dart.registerExtension("IntersectionObserver", html$.IntersectionObserver); +html$.IntersectionObserverEntry = class IntersectionObserverEntry extends _interceptors.Interceptor { + get [S$1.$boundingClientRect]() { + return this.boundingClientRect; + } + get [S$1.$intersectionRatio]() { + return this.intersectionRatio; + } + get [S$1.$intersectionRect]() { + return this.intersectionRect; + } + get [S$1.$isIntersecting]() { + return this.isIntersecting; + } + get [S$1.$rootBounds]() { + return this.rootBounds; + } + get [S.$target]() { + return this.target; + } + get [S$.$time]() { + return this.time; + } +}; +dart.addTypeTests(html$.IntersectionObserverEntry); +dart.addTypeCaches(html$.IntersectionObserverEntry); +dart.setGetterSignature(html$.IntersectionObserverEntry, () => ({ + __proto__: dart.getGetters(html$.IntersectionObserverEntry.__proto__), + [S$1.$boundingClientRect]: dart.nullable(html$.DomRectReadOnly), + [S$1.$intersectionRatio]: dart.nullable(core.num), + [S$1.$intersectionRect]: dart.nullable(html$.DomRectReadOnly), + [S$1.$isIntersecting]: dart.nullable(core.bool), + [S$1.$rootBounds]: dart.nullable(html$.DomRectReadOnly), + [S.$target]: dart.nullable(html$.Element), + [S$.$time]: dart.nullable(core.num) +})); +dart.setLibraryUri(html$.IntersectionObserverEntry, I[148]); +dart.registerExtension("IntersectionObserverEntry", html$.IntersectionObserverEntry); +html$.InterventionReport = class InterventionReport extends html$.ReportBody { + get [S$0.$lineNumber]() { + return this.lineNumber; + } + get [$message]() { + return this.message; + } + get [S$0.$sourceFile]() { + return this.sourceFile; + } +}; +dart.addTypeTests(html$.InterventionReport); +dart.addTypeCaches(html$.InterventionReport); +dart.setGetterSignature(html$.InterventionReport, () => ({ + __proto__: dart.getGetters(html$.InterventionReport.__proto__), + [S$0.$lineNumber]: dart.nullable(core.int), + [$message]: dart.nullable(core.String), + [S$0.$sourceFile]: dart.nullable(core.String) +})); +dart.setLibraryUri(html$.InterventionReport, I[148]); +dart.registerExtension("InterventionReport", html$.InterventionReport); +html$.KeyboardEvent = class KeyboardEvent$ extends html$.UIEvent { + static new(type, opts) { + let t238; + if (type == null) dart.nullFailed(I[147], 19992, 32, "type"); + let view = opts && 'view' in opts ? opts.view : null; + let canBubble = opts && 'canBubble' in opts ? opts.canBubble : true; + if (canBubble == null) dart.nullFailed(I[147], 19994, 12, "canBubble"); + let cancelable = opts && 'cancelable' in opts ? opts.cancelable : true; + if (cancelable == null) dart.nullFailed(I[147], 19995, 12, "cancelable"); + let location = opts && 'location' in opts ? opts.location : null; + let keyLocation = opts && 'keyLocation' in opts ? opts.keyLocation : null; + let ctrlKey = opts && 'ctrlKey' in opts ? opts.ctrlKey : false; + if (ctrlKey == null) dart.nullFailed(I[147], 19998, 12, "ctrlKey"); + let altKey = opts && 'altKey' in opts ? opts.altKey : false; + if (altKey == null) dart.nullFailed(I[147], 19999, 12, "altKey"); + let shiftKey = opts && 'shiftKey' in opts ? opts.shiftKey : false; + if (shiftKey == null) dart.nullFailed(I[147], 20000, 12, "shiftKey"); + let metaKey = opts && 'metaKey' in opts ? opts.metaKey : false; + if (metaKey == null) dart.nullFailed(I[147], 20001, 12, "metaKey"); + if (view == null) { + view = html$.window; + } + location == null ? location = (t238 = keyLocation, t238 == null ? 1 : t238) : null; + let e = html$.KeyboardEvent.as(html$.document[S._createEvent]("KeyboardEvent")); + e[S$1._initKeyboardEvent](type, canBubble, cancelable, view, "", location, ctrlKey, altKey, shiftKey, metaKey); + return e; + } + [S$1._initKeyboardEvent](type, canBubble, cancelable, view, keyIdentifier, location, ctrlKey, altKey, shiftKey, metaKey) { + if (type == null) dart.nullFailed(I[147], 20013, 14, "type"); + if (canBubble == null) dart.nullFailed(I[147], 20014, 12, "canBubble"); + if (cancelable == null) dart.nullFailed(I[147], 20015, 12, "cancelable"); + if (keyIdentifier == null) dart.nullFailed(I[147], 20017, 14, "keyIdentifier"); + if (ctrlKey == null) dart.nullFailed(I[147], 20019, 12, "ctrlKey"); + if (altKey == null) dart.nullFailed(I[147], 20020, 12, "altKey"); + if (shiftKey == null) dart.nullFailed(I[147], 20021, 12, "shiftKey"); + if (metaKey == null) dart.nullFailed(I[147], 20022, 12, "metaKey"); + if (typeof this.initKeyEvent == "function") { + this.initKeyEvent(type, canBubble, cancelable, view, ctrlKey, altKey, shiftKey, metaKey, 0, 0); + } else { + this.initKeyboardEvent(type, canBubble, cancelable, view, keyIdentifier, location, ctrlKey, altKey, shiftKey, metaKey); + } + } + get [S$1.$keyCode]() { + return this.keyCode; + } + get [S$1.$charCode]() { + return this.charCode; + } + get [S$1.$which]() { + return this[S$._which]; + } + static __(type, eventInitDict = null) { + if (type == null) dart.nullFailed(I[147], 20055, 34, "type"); + if (eventInitDict != null) { + let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); + return html$.KeyboardEvent._create_1(type, eventInitDict_1); + } + return html$.KeyboardEvent._create_2(type); + } + static _create_1(type, eventInitDict) { + return new KeyboardEvent(type, eventInitDict); + } + static _create_2(type) { + return new KeyboardEvent(type); + } + get [S$1.$altKey]() { + return this.altKey; + } + get [S$1._charCode]() { + return this.charCode; + } + get [S$.$code]() { + return this.code; + } + get [S$1.$ctrlKey]() { + return this.ctrlKey; + } + get [S$1.$isComposing]() { + return this.isComposing; + } + get [S.$key]() { + return this.key; + } + get [S$1._keyCode]() { + return this.keyCode; + } + get [S$0.$location]() { + return this.location; + } + get [S$1.$metaKey]() { + return this.metaKey; + } + get [S$1.$repeat]() { + return this.repeat; + } + get [S$1.$shiftKey]() { + return this.shiftKey; + } + [S$1.$getModifierState](...args) { + return this.getModifierState.apply(this, args); + } +}; +dart.addTypeTests(html$.KeyboardEvent); +dart.addTypeCaches(html$.KeyboardEvent); +dart.setMethodSignature(html$.KeyboardEvent, () => ({ + __proto__: dart.getMethods(html$.KeyboardEvent.__proto__), + [S$1._initKeyboardEvent]: dart.fnType(dart.void, [core.String, core.bool, core.bool, dart.nullable(html$.Window), core.String, dart.nullable(core.int), core.bool, core.bool, core.bool, core.bool]), + [S$1.$getModifierState]: dart.fnType(core.bool, [core.String]) +})); +dart.setGetterSignature(html$.KeyboardEvent, () => ({ + __proto__: dart.getGetters(html$.KeyboardEvent.__proto__), + [S$1.$keyCode]: core.int, + [S$1.$charCode]: core.int, + [S$1.$which]: dart.nullable(core.int), + [S$1.$altKey]: core.bool, + [S$1._charCode]: core.int, + [S$.$code]: dart.nullable(core.String), + [S$1.$ctrlKey]: core.bool, + [S$1.$isComposing]: dart.nullable(core.bool), + [S.$key]: dart.nullable(core.String), + [S$1._keyCode]: core.int, + [S$0.$location]: core.int, + [S$1.$metaKey]: core.bool, + [S$1.$repeat]: dart.nullable(core.bool), + [S$1.$shiftKey]: core.bool +})); +dart.setLibraryUri(html$.KeyboardEvent, I[148]); +dart.defineLazy(html$.KeyboardEvent, { + /*html$.KeyboardEvent.DOM_KEY_LOCATION_LEFT*/get DOM_KEY_LOCATION_LEFT() { + return 1; + }, + /*html$.KeyboardEvent.DOM_KEY_LOCATION_NUMPAD*/get DOM_KEY_LOCATION_NUMPAD() { + return 3; + }, + /*html$.KeyboardEvent.DOM_KEY_LOCATION_RIGHT*/get DOM_KEY_LOCATION_RIGHT() { + return 2; + }, + /*html$.KeyboardEvent.DOM_KEY_LOCATION_STANDARD*/get DOM_KEY_LOCATION_STANDARD() { + return 0; + } +}, false); +dart.registerExtension("KeyboardEvent", html$.KeyboardEvent); +html$.KeyframeEffectReadOnly = class KeyframeEffectReadOnly$ extends html$.AnimationEffectReadOnly { + static new(target, effect, options = null) { + if (options != null) { + return html$.KeyframeEffectReadOnly._create_1(target, effect, options); + } + return html$.KeyframeEffectReadOnly._create_2(target, effect); + } + static _create_1(target, effect, options) { + return new KeyframeEffectReadOnly(target, effect, options); + } + static _create_2(target, effect) { + return new KeyframeEffectReadOnly(target, effect); + } +}; +dart.addTypeTests(html$.KeyframeEffectReadOnly); +dart.addTypeCaches(html$.KeyframeEffectReadOnly); +dart.setLibraryUri(html$.KeyframeEffectReadOnly, I[148]); +dart.registerExtension("KeyframeEffectReadOnly", html$.KeyframeEffectReadOnly); +html$.KeyframeEffect = class KeyframeEffect$ extends html$.KeyframeEffectReadOnly { + static new(target, effect, options = null) { + if (options != null) { + return html$.KeyframeEffect._create_1(target, effect, options); + } + return html$.KeyframeEffect._create_2(target, effect); + } + static _create_1(target, effect, options) { + return new KeyframeEffect(target, effect, options); + } + static _create_2(target, effect) { + return new KeyframeEffect(target, effect); + } +}; +dart.addTypeTests(html$.KeyframeEffect); +dart.addTypeCaches(html$.KeyframeEffect); +dart.setLibraryUri(html$.KeyframeEffect, I[148]); +dart.registerExtension("KeyframeEffect", html$.KeyframeEffect); +html$.LIElement = class LIElement extends html$.HtmlElement { + static new() { + return html$.document.createElement("li"); + } + get [S.$value]() { + return this.value; + } + set [S.$value](value) { + this.value = value; + } +}; +(html$.LIElement.created = function() { + html$.LIElement.__proto__.created.call(this); + ; +}).prototype = html$.LIElement.prototype; +dart.addTypeTests(html$.LIElement); +dart.addTypeCaches(html$.LIElement); +dart.setGetterSignature(html$.LIElement, () => ({ + __proto__: dart.getGetters(html$.LIElement.__proto__), + [S.$value]: core.int +})); +dart.setSetterSignature(html$.LIElement, () => ({ + __proto__: dart.getSetters(html$.LIElement.__proto__), + [S.$value]: core.int +})); +dart.setLibraryUri(html$.LIElement, I[148]); +dart.registerExtension("HTMLLIElement", html$.LIElement); +html$.LabelElement = class LabelElement extends html$.HtmlElement { + static new() { + return html$.document.createElement("label"); + } + get [S$1.$control]() { + return this.control; + } + get [S$.$form]() { + return this.form; + } + get [S$1.$htmlFor]() { + return this.htmlFor; + } + set [S$1.$htmlFor](value) { + this.htmlFor = value; + } +}; +(html$.LabelElement.created = function() { + html$.LabelElement.__proto__.created.call(this); + ; +}).prototype = html$.LabelElement.prototype; +dart.addTypeTests(html$.LabelElement); +dart.addTypeCaches(html$.LabelElement); +dart.setGetterSignature(html$.LabelElement, () => ({ + __proto__: dart.getGetters(html$.LabelElement.__proto__), + [S$1.$control]: dart.nullable(html$.HtmlElement), + [S$.$form]: dart.nullable(html$.FormElement), + [S$1.$htmlFor]: core.String +})); +dart.setSetterSignature(html$.LabelElement, () => ({ + __proto__: dart.getSetters(html$.LabelElement.__proto__), + [S$1.$htmlFor]: core.String +})); +dart.setLibraryUri(html$.LabelElement, I[148]); +dart.registerExtension("HTMLLabelElement", html$.LabelElement); +html$.LegendElement = class LegendElement extends html$.HtmlElement { + static new() { + return html$.document.createElement("legend"); + } + get [S$.$form]() { + return this.form; + } +}; +(html$.LegendElement.created = function() { + html$.LegendElement.__proto__.created.call(this); + ; +}).prototype = html$.LegendElement.prototype; +dart.addTypeTests(html$.LegendElement); +dart.addTypeCaches(html$.LegendElement); +dart.setGetterSignature(html$.LegendElement, () => ({ + __proto__: dart.getGetters(html$.LegendElement.__proto__), + [S$.$form]: dart.nullable(html$.FormElement) +})); +dart.setLibraryUri(html$.LegendElement, I[148]); +dart.registerExtension("HTMLLegendElement", html$.LegendElement); +html$.LinearAccelerationSensor = class LinearAccelerationSensor$ extends html$.Accelerometer { + static new(sensorOptions = null) { + if (sensorOptions != null) { + let sensorOptions_1 = html_common.convertDartToNative_Dictionary(sensorOptions); + return html$.LinearAccelerationSensor._create_1(sensorOptions_1); + } + return html$.LinearAccelerationSensor._create_2(); + } + static _create_1(sensorOptions) { + return new LinearAccelerationSensor(sensorOptions); + } + static _create_2() { + return new LinearAccelerationSensor(); + } +}; +dart.addTypeTests(html$.LinearAccelerationSensor); +dart.addTypeCaches(html$.LinearAccelerationSensor); +dart.setLibraryUri(html$.LinearAccelerationSensor, I[148]); +dart.registerExtension("LinearAccelerationSensor", html$.LinearAccelerationSensor); +html$.LinkElement = class LinkElement extends html$.HtmlElement { + static new() { + return html$.document.createElement("link"); + } + get [S$1.$as]() { + return this.as; + } + set [S$1.$as](value) { + this.as = value; + } + get [S$.$crossOrigin]() { + return this.crossOrigin; + } + set [S$.$crossOrigin](value) { + this.crossOrigin = value; + } + get [S$.$disabled]() { + return this.disabled; + } + set [S$.$disabled](value) { + this.disabled = value; + } + get [S$.$href]() { + return this.href; + } + set [S$.$href](value) { + this.href = value; + } + get [S$.$hreflang]() { + return this.hreflang; + } + set [S$.$hreflang](value) { + this.hreflang = value; + } + get [S$1.$import]() { + return this.import; + } + get [S$1.$integrity]() { + return this.integrity; + } + set [S$1.$integrity](value) { + this.integrity = value; + } + get [S$.$media]() { + return this.media; + } + set [S$.$media](value) { + this.media = value; + } + get [S$.$referrerPolicy]() { + return this.referrerPolicy; + } + set [S$.$referrerPolicy](value) { + this.referrerPolicy = value; + } + get [S$.$rel]() { + return this.rel; + } + set [S$.$rel](value) { + this.rel = value; + } + get [S$1.$relList]() { + return this.relList; + } + get [S$1.$scope]() { + return this.scope; + } + set [S$1.$scope](value) { + this.scope = value; + } + get [S$1.$sheet]() { + return this.sheet; + } + get [S$1.$sizes]() { + return this.sizes; + } + get [S.$type]() { + return this.type; + } + set [S.$type](value) { + this.type = value; + } + get [S$1.$supportsImport]() { + return "import" in this; + } +}; +(html$.LinkElement.created = function() { + html$.LinkElement.__proto__.created.call(this); + ; +}).prototype = html$.LinkElement.prototype; +dart.addTypeTests(html$.LinkElement); +dart.addTypeCaches(html$.LinkElement); +dart.setGetterSignature(html$.LinkElement, () => ({ + __proto__: dart.getGetters(html$.LinkElement.__proto__), + [S$1.$as]: dart.nullable(core.String), + [S$.$crossOrigin]: dart.nullable(core.String), + [S$.$disabled]: dart.nullable(core.bool), + [S$.$href]: core.String, + [S$.$hreflang]: core.String, + [S$1.$import]: dart.nullable(html$.Document), + [S$1.$integrity]: dart.nullable(core.String), + [S$.$media]: core.String, + [S$.$referrerPolicy]: dart.nullable(core.String), + [S$.$rel]: core.String, + [S$1.$relList]: dart.nullable(html$.DomTokenList), + [S$1.$scope]: dart.nullable(core.String), + [S$1.$sheet]: dart.nullable(html$.StyleSheet), + [S$1.$sizes]: dart.nullable(html$.DomTokenList), + [S.$type]: core.String, + [S$1.$supportsImport]: core.bool +})); +dart.setSetterSignature(html$.LinkElement, () => ({ + __proto__: dart.getSetters(html$.LinkElement.__proto__), + [S$1.$as]: dart.nullable(core.String), + [S$.$crossOrigin]: dart.nullable(core.String), + [S$.$disabled]: dart.nullable(core.bool), + [S$.$href]: core.String, + [S$.$hreflang]: core.String, + [S$1.$integrity]: dart.nullable(core.String), + [S$.$media]: core.String, + [S$.$referrerPolicy]: dart.nullable(core.String), + [S$.$rel]: core.String, + [S$1.$scope]: dart.nullable(core.String), + [S.$type]: core.String +})); +dart.setLibraryUri(html$.LinkElement, I[148]); +dart.registerExtension("HTMLLinkElement", html$.LinkElement); +html$.Location = class Location extends _interceptors.Interceptor { + get [S$1.$ancestorOrigins]() { + return this.ancestorOrigins; + } + get [S$.$hash]() { + return this.hash; + } + set [S$.$hash](value) { + this.hash = value; + } + get [S$.$host]() { + return this.host; + } + set [S$.$host](value) { + this.host = value; + } + get [S$.$hostname]() { + return this.hostname; + } + set [S$.$hostname](value) { + this.hostname = value; + } + get [S$.$href]() { + return this.href; + } + set [S$.$href](value) { + this.href = value; + } + get [S$.$pathname]() { + return this.pathname; + } + set [S$.$pathname](value) { + this.pathname = value; + } + get [S$.$port]() { + return this.port; + } + set [S$.$port](value) { + this.port = value; + } + get [S$.$protocol]() { + return this.protocol; + } + set [S$.$protocol](value) { + this.protocol = value; + } + get [S$.$search]() { + return this.search; + } + set [S$.$search](value) { + this.search = value; + } + get [S$1.$trustedHref]() { + return this.trustedHref; + } + set [S$1.$trustedHref](value) { + this.trustedHref = value; + } + [S$1.$assign](...args) { + return this.assign.apply(this, args); + } + [S$1.$reload](...args) { + return this.reload.apply(this, args); + } + [S$1.$replace](...args) { + return this.replace.apply(this, args); + } + get [S$.$origin]() { + if ("origin" in this) { + return this.origin; + } + return dart.str(this.protocol) + "//" + dart.str(this.host); + } + [$toString]() { + return String(this); + } +}; +dart.addTypeTests(html$.Location); +dart.addTypeCaches(html$.Location); +html$.Location[dart.implements] = () => [html$.LocationBase]; +dart.setMethodSignature(html$.Location, () => ({ + __proto__: dart.getMethods(html$.Location.__proto__), + [S$1.$assign]: dart.fnType(dart.void, [], [dart.nullable(core.String)]), + [S$1.$reload]: dart.fnType(dart.void, []), + [S$1.$replace]: dart.fnType(dart.void, [dart.nullable(core.String)]) +})); +dart.setGetterSignature(html$.Location, () => ({ + __proto__: dart.getGetters(html$.Location.__proto__), + [S$1.$ancestorOrigins]: dart.nullable(core.List$(core.String)), + [S$.$hash]: core.String, + [S$.$host]: core.String, + [S$.$hostname]: dart.nullable(core.String), + [S$.$href]: core.String, + [S$.$pathname]: dart.nullable(core.String), + [S$.$port]: core.String, + [S$.$protocol]: core.String, + [S$.$search]: dart.nullable(core.String), + [S$1.$trustedHref]: dart.nullable(html$.TrustedUrl), + [S$.$origin]: core.String +})); +dart.setSetterSignature(html$.Location, () => ({ + __proto__: dart.getSetters(html$.Location.__proto__), + [S$.$hash]: core.String, + [S$.$host]: core.String, + [S$.$hostname]: dart.nullable(core.String), + [S$.$href]: core.String, + [S$.$pathname]: dart.nullable(core.String), + [S$.$port]: core.String, + [S$.$protocol]: core.String, + [S$.$search]: dart.nullable(core.String), + [S$1.$trustedHref]: dart.nullable(html$.TrustedUrl) +})); +dart.setLibraryUri(html$.Location, I[148]); +dart.registerExtension("Location", html$.Location); +html$.Magnetometer = class Magnetometer$ extends html$.Sensor { + static new(sensorOptions = null) { + if (sensorOptions != null) { + let sensorOptions_1 = html_common.convertDartToNative_Dictionary(sensorOptions); + return html$.Magnetometer._create_1(sensorOptions_1); + } + return html$.Magnetometer._create_2(); + } + static _create_1(sensorOptions) { + return new Magnetometer(sensorOptions); + } + static _create_2() { + return new Magnetometer(); + } + get [S$.$x]() { + return this.x; + } + get [S$.$y]() { + return this.y; + } + get [S$.$z]() { + return this.z; + } +}; +dart.addTypeTests(html$.Magnetometer); +dart.addTypeCaches(html$.Magnetometer); +dart.setGetterSignature(html$.Magnetometer, () => ({ + __proto__: dart.getGetters(html$.Magnetometer.__proto__), + [S$.$x]: dart.nullable(core.num), + [S$.$y]: dart.nullable(core.num), + [S$.$z]: dart.nullable(core.num) +})); +dart.setLibraryUri(html$.Magnetometer, I[148]); +dart.registerExtension("Magnetometer", html$.Magnetometer); +html$.MapElement = class MapElement extends html$.HtmlElement { + static new() { + return html$.document.createElement("map"); + } + get [S$1.$areas]() { + return this.areas; + } + get [$name]() { + return this.name; + } + set [$name](value) { + this.name = value; + } +}; +(html$.MapElement.created = function() { + html$.MapElement.__proto__.created.call(this); + ; +}).prototype = html$.MapElement.prototype; +dart.addTypeTests(html$.MapElement); +dart.addTypeCaches(html$.MapElement); +dart.setGetterSignature(html$.MapElement, () => ({ + __proto__: dart.getGetters(html$.MapElement.__proto__), + [S$1.$areas]: core.List$(html$.Node), + [$name]: core.String +})); +dart.setSetterSignature(html$.MapElement, () => ({ + __proto__: dart.getSetters(html$.MapElement.__proto__), + [$name]: core.String +})); +dart.setLibraryUri(html$.MapElement, I[148]); +dart.registerExtension("HTMLMapElement", html$.MapElement); +html$.MediaCapabilities = class MediaCapabilities extends _interceptors.Interceptor { + [S$1.$decodingInfo](configuration) { + if (configuration == null) dart.nullFailed(I[147], 20477, 50, "configuration"); + let configuration_dict = html_common.convertDartToNative_Dictionary(configuration); + return js_util.promiseToFuture(html$.MediaCapabilitiesInfo, this.decodingInfo(configuration_dict)); + } + [S$1.$encodingInfo](configuration) { + if (configuration == null) dart.nullFailed(I[147], 20486, 50, "configuration"); + let configuration_dict = html_common.convertDartToNative_Dictionary(configuration); + return js_util.promiseToFuture(html$.MediaCapabilitiesInfo, this.encodingInfo(configuration_dict)); + } +}; +dart.addTypeTests(html$.MediaCapabilities); +dart.addTypeCaches(html$.MediaCapabilities); +dart.setMethodSignature(html$.MediaCapabilities, () => ({ + __proto__: dart.getMethods(html$.MediaCapabilities.__proto__), + [S$1.$decodingInfo]: dart.fnType(async.Future$(html$.MediaCapabilitiesInfo), [core.Map]), + [S$1.$encodingInfo]: dart.fnType(async.Future$(html$.MediaCapabilitiesInfo), [core.Map]) +})); +dart.setLibraryUri(html$.MediaCapabilities, I[148]); +dart.registerExtension("MediaCapabilities", html$.MediaCapabilities); +html$.MediaCapabilitiesInfo = class MediaCapabilitiesInfo extends _interceptors.Interceptor { + get [S$1.$powerEfficient]() { + return this.powerEfficient; + } + get [S$1.$smooth]() { + return this.smooth; + } + get [S$1.$supported]() { + return this.supported; + } +}; +dart.addTypeTests(html$.MediaCapabilitiesInfo); +dart.addTypeCaches(html$.MediaCapabilitiesInfo); +dart.setGetterSignature(html$.MediaCapabilitiesInfo, () => ({ + __proto__: dart.getGetters(html$.MediaCapabilitiesInfo.__proto__), + [S$1.$powerEfficient]: dart.nullable(core.bool), + [S$1.$smooth]: dart.nullable(core.bool), + [S$1.$supported]: dart.nullable(core.bool) +})); +dart.setLibraryUri(html$.MediaCapabilitiesInfo, I[148]); +dart.registerExtension("MediaCapabilitiesInfo", html$.MediaCapabilitiesInfo); +html$.MediaDeviceInfo = class MediaDeviceInfo extends _interceptors.Interceptor { + get [S$1.$deviceId]() { + return this.deviceId; + } + get [S$1.$groupId]() { + return this.groupId; + } + get [S$.$kind]() { + return this.kind; + } + get [S$.$label]() { + return this.label; + } +}; +dart.addTypeTests(html$.MediaDeviceInfo); +dart.addTypeCaches(html$.MediaDeviceInfo); +dart.setGetterSignature(html$.MediaDeviceInfo, () => ({ + __proto__: dart.getGetters(html$.MediaDeviceInfo.__proto__), + [S$1.$deviceId]: dart.nullable(core.String), + [S$1.$groupId]: dart.nullable(core.String), + [S$.$kind]: dart.nullable(core.String), + [S$.$label]: dart.nullable(core.String) +})); +dart.setLibraryUri(html$.MediaDeviceInfo, I[148]); +dart.registerExtension("MediaDeviceInfo", html$.MediaDeviceInfo); +html$.MediaDevices = class MediaDevices extends html$.EventTarget { + [S$1.$enumerateDevices]() { + return js_util.promiseToFuture(core.List, this.enumerateDevices()); + } + [S$1.$getSupportedConstraints]() { + return dart.nullCheck(html_common.convertNativeToDart_Dictionary(this[S$1._getSupportedConstraints_1]())); + } + [S$1._getSupportedConstraints_1](...args) { + return this.getSupportedConstraints.apply(this, args); + } + [S$1.$getUserMedia](constraints = null) { + let constraints_dict = null; + if (constraints != null) { + constraints_dict = html_common.convertDartToNative_Dictionary(constraints); + } + return js_util.promiseToFuture(html$.MediaStream, this.getUserMedia(constraints_dict)); + } +}; +dart.addTypeTests(html$.MediaDevices); +dart.addTypeCaches(html$.MediaDevices); +dart.setMethodSignature(html$.MediaDevices, () => ({ + __proto__: dart.getMethods(html$.MediaDevices.__proto__), + [S$1.$enumerateDevices]: dart.fnType(async.Future$(core.List), []), + [S$1.$getSupportedConstraints]: dart.fnType(core.Map, []), + [S$1._getSupportedConstraints_1]: dart.fnType(dart.dynamic, []), + [S$1.$getUserMedia]: dart.fnType(async.Future$(html$.MediaStream), [], [dart.nullable(core.Map)]) +})); +dart.setLibraryUri(html$.MediaDevices, I[148]); +dart.registerExtension("MediaDevices", html$.MediaDevices); +html$.MediaEncryptedEvent = class MediaEncryptedEvent$ extends html$.Event { + static new(type, eventInitDict = null) { + if (type == null) dart.nullFailed(I[147], 20729, 38, "type"); + if (eventInitDict != null) { + let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); + return html$.MediaEncryptedEvent._create_1(type, eventInitDict_1); + } + return html$.MediaEncryptedEvent._create_2(type); + } + static _create_1(type, eventInitDict) { + return new MediaEncryptedEvent(type, eventInitDict); + } + static _create_2(type) { + return new MediaEncryptedEvent(type); + } + get [S$1.$initData]() { + return this.initData; + } + get [S$1.$initDataType]() { + return this.initDataType; + } +}; +dart.addTypeTests(html$.MediaEncryptedEvent); +dart.addTypeCaches(html$.MediaEncryptedEvent); +dart.setGetterSignature(html$.MediaEncryptedEvent, () => ({ + __proto__: dart.getGetters(html$.MediaEncryptedEvent.__proto__), + [S$1.$initData]: dart.nullable(typed_data.ByteBuffer), + [S$1.$initDataType]: dart.nullable(core.String) +})); +dart.setLibraryUri(html$.MediaEncryptedEvent, I[148]); +dart.registerExtension("MediaEncryptedEvent", html$.MediaEncryptedEvent); +html$.MediaError = class MediaError extends _interceptors.Interceptor { + get [S$.$code]() { + return this.code; + } + get [$message]() { + return this.message; + } +}; +dart.addTypeTests(html$.MediaError); +dart.addTypeCaches(html$.MediaError); +dart.setGetterSignature(html$.MediaError, () => ({ + __proto__: dart.getGetters(html$.MediaError.__proto__), + [S$.$code]: core.int, + [$message]: dart.nullable(core.String) +})); +dart.setLibraryUri(html$.MediaError, I[148]); +dart.defineLazy(html$.MediaError, { + /*html$.MediaError.MEDIA_ERR_ABORTED*/get MEDIA_ERR_ABORTED() { + return 1; + }, + /*html$.MediaError.MEDIA_ERR_DECODE*/get MEDIA_ERR_DECODE() { + return 3; + }, + /*html$.MediaError.MEDIA_ERR_NETWORK*/get MEDIA_ERR_NETWORK() { + return 2; + }, + /*html$.MediaError.MEDIA_ERR_SRC_NOT_SUPPORTED*/get MEDIA_ERR_SRC_NOT_SUPPORTED() { + return 4; + } +}, false); +dart.registerExtension("MediaError", html$.MediaError); +html$.MediaKeyMessageEvent = class MediaKeyMessageEvent$ extends html$.Event { + static new(type, eventInitDict) { + if (type == null) dart.nullFailed(I[147], 20783, 39, "type"); + if (eventInitDict == null) dart.nullFailed(I[147], 20783, 49, "eventInitDict"); + let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); + return html$.MediaKeyMessageEvent._create_1(type, eventInitDict_1); + } + static _create_1(type, eventInitDict) { + return new MediaKeyMessageEvent(type, eventInitDict); + } + get [$message]() { + return this.message; + } + get [S$1.$messageType]() { + return this.messageType; + } +}; +dart.addTypeTests(html$.MediaKeyMessageEvent); +dart.addTypeCaches(html$.MediaKeyMessageEvent); +dart.setGetterSignature(html$.MediaKeyMessageEvent, () => ({ + __proto__: dart.getGetters(html$.MediaKeyMessageEvent.__proto__), + [$message]: dart.nullable(typed_data.ByteBuffer), + [S$1.$messageType]: dart.nullable(core.String) +})); +dart.setLibraryUri(html$.MediaKeyMessageEvent, I[148]); +dart.registerExtension("MediaKeyMessageEvent", html$.MediaKeyMessageEvent); +html$.MediaKeySession = class MediaKeySession extends html$.EventTarget { + get [S$1.$closed]() { + return js_util.promiseToFuture(dart.void, this.closed); + } + get [S$1.$expiration]() { + return this.expiration; + } + get [S$1.$keyStatuses]() { + return this.keyStatuses; + } + get [S$1.$sessionId]() { + return this.sessionId; + } + [S.$close]() { + return js_util.promiseToFuture(dart.dynamic, this.close()); + } + [S$1.$generateRequest](initDataType, initData) { + if (initDataType == null) dart.nullFailed(I[147], 20821, 33, "initDataType"); + return js_util.promiseToFuture(dart.dynamic, this.generateRequest(initDataType, initData)); + } + [S$.$load](sessionId) { + if (sessionId == null) dart.nullFailed(I[147], 20825, 22, "sessionId"); + return js_util.promiseToFuture(dart.dynamic, this.load(sessionId)); + } + [$remove]() { + return js_util.promiseToFuture(dart.dynamic, this.remove()); + } + [S$1._update$1](...args) { + return this.update.apply(this, args); + } + get [S$.$onMessage]() { + return html$.MediaKeySession.messageEvent.forTarget(this); + } +}; +dart.addTypeTests(html$.MediaKeySession); +dart.addTypeCaches(html$.MediaKeySession); +dart.setMethodSignature(html$.MediaKeySession, () => ({ + __proto__: dart.getMethods(html$.MediaKeySession.__proto__), + [S.$close]: dart.fnType(async.Future, []), + [S$1.$generateRequest]: dart.fnType(async.Future, [core.String, dart.dynamic]), + [S$.$load]: dart.fnType(async.Future, [core.String]), + [$remove]: dart.fnType(async.Future, []), + [S$1._update$1]: dart.fnType(async.Future, [dart.dynamic]) +})); +dart.setGetterSignature(html$.MediaKeySession, () => ({ + __proto__: dart.getGetters(html$.MediaKeySession.__proto__), + [S$1.$closed]: async.Future$(dart.void), + [S$1.$expiration]: dart.nullable(core.num), + [S$1.$keyStatuses]: dart.nullable(html$.MediaKeyStatusMap), + [S$1.$sessionId]: dart.nullable(core.String), + [S$.$onMessage]: async.Stream$(html$.MessageEvent) +})); +dart.setLibraryUri(html$.MediaKeySession, I[148]); +dart.defineLazy(html$.MediaKeySession, { + /*html$.MediaKeySession.messageEvent*/get messageEvent() { + return C[312] || CT.C312; + } +}, false); +dart.registerExtension("MediaKeySession", html$.MediaKeySession); +html$.MediaKeyStatusMap = class MediaKeyStatusMap extends _interceptors.Interceptor { + get [S$.$size]() { + return this.size; + } + [S.$get](...args) { + return this.get.apply(this, args); + } + [S$.$has](...args) { + return this.has.apply(this, args); + } +}; +dart.addTypeTests(html$.MediaKeyStatusMap); +dart.addTypeCaches(html$.MediaKeyStatusMap); +dart.setMethodSignature(html$.MediaKeyStatusMap, () => ({ + __proto__: dart.getMethods(html$.MediaKeyStatusMap.__proto__), + [S.$get]: dart.fnType(dart.nullable(core.Object), [dart.dynamic]), + [S$.$has]: dart.fnType(core.bool, [dart.dynamic]) +})); +dart.setGetterSignature(html$.MediaKeyStatusMap, () => ({ + __proto__: dart.getGetters(html$.MediaKeyStatusMap.__proto__), + [S$.$size]: dart.nullable(core.int) +})); +dart.setLibraryUri(html$.MediaKeyStatusMap, I[148]); +dart.registerExtension("MediaKeyStatusMap", html$.MediaKeyStatusMap); +html$.MediaKeySystemAccess = class MediaKeySystemAccess extends _interceptors.Interceptor { + get [S$1.$keySystem]() { + return this.keySystem; + } + [S$1.$createMediaKeys]() { + return js_util.promiseToFuture(dart.dynamic, this.createMediaKeys()); + } + [S$1.$getConfiguration]() { + return dart.nullCheck(html_common.convertNativeToDart_Dictionary(this[S$1._getConfiguration_1]())); + } + [S$1._getConfiguration_1](...args) { + return this.getConfiguration.apply(this, args); + } +}; +dart.addTypeTests(html$.MediaKeySystemAccess); +dart.addTypeCaches(html$.MediaKeySystemAccess); +dart.setMethodSignature(html$.MediaKeySystemAccess, () => ({ + __proto__: dart.getMethods(html$.MediaKeySystemAccess.__proto__), + [S$1.$createMediaKeys]: dart.fnType(async.Future, []), + [S$1.$getConfiguration]: dart.fnType(core.Map, []), + [S$1._getConfiguration_1]: dart.fnType(dart.dynamic, []) +})); +dart.setGetterSignature(html$.MediaKeySystemAccess, () => ({ + __proto__: dart.getGetters(html$.MediaKeySystemAccess.__proto__), + [S$1.$keySystem]: dart.nullable(core.String) +})); +dart.setLibraryUri(html$.MediaKeySystemAccess, I[148]); +dart.registerExtension("MediaKeySystemAccess", html$.MediaKeySystemAccess); +html$.MediaKeys = class MediaKeys extends _interceptors.Interceptor { + [S$1._createSession](...args) { + return this.createSession.apply(this, args); + } + [S$1.$getStatusForPolicy](policy) { + if (policy == null) dart.nullFailed(I[147], 20889, 45, "policy"); + return js_util.promiseToFuture(dart.dynamic, this.getStatusForPolicy(policy)); + } + [S$1.$setServerCertificate](serverCertificate) { + return js_util.promiseToFuture(dart.dynamic, this.setServerCertificate(serverCertificate)); + } +}; +dart.addTypeTests(html$.MediaKeys); +dart.addTypeCaches(html$.MediaKeys); +dart.setMethodSignature(html$.MediaKeys, () => ({ + __proto__: dart.getMethods(html$.MediaKeys.__proto__), + [S$1._createSession]: dart.fnType(html$.MediaKeySession, [], [dart.nullable(core.String)]), + [S$1.$getStatusForPolicy]: dart.fnType(async.Future, [html$.MediaKeysPolicy]), + [S$1.$setServerCertificate]: dart.fnType(async.Future, [dart.dynamic]) +})); +dart.setLibraryUri(html$.MediaKeys, I[148]); +dart.registerExtension("MediaKeys", html$.MediaKeys); +html$.MediaKeysPolicy = class MediaKeysPolicy$ extends _interceptors.Interceptor { + static new(init) { + if (init == null) dart.nullFailed(I[147], 20907, 31, "init"); + let init_1 = html_common.convertDartToNative_Dictionary(init); + return html$.MediaKeysPolicy._create_1(init_1); + } + static _create_1(init) { + return new MediaKeysPolicy(init); + } + get [S$1.$minHdcpVersion]() { + return this.minHdcpVersion; + } +}; +dart.addTypeTests(html$.MediaKeysPolicy); +dart.addTypeCaches(html$.MediaKeysPolicy); +dart.setGetterSignature(html$.MediaKeysPolicy, () => ({ + __proto__: dart.getGetters(html$.MediaKeysPolicy.__proto__), + [S$1.$minHdcpVersion]: dart.nullable(core.String) +})); +dart.setLibraryUri(html$.MediaKeysPolicy, I[148]); +dart.registerExtension("MediaKeysPolicy", html$.MediaKeysPolicy); +html$.MediaList = class MediaList extends _interceptors.Interceptor { + get [$length]() { + return this.length; + } + get [S$1.$mediaText]() { + return this.mediaText; + } + set [S$1.$mediaText](value) { + this.mediaText = value; + } + [S$1.$appendMedium](...args) { + return this.appendMedium.apply(this, args); + } + [S$1.$deleteMedium](...args) { + return this.deleteMedium.apply(this, args); + } + [S$.$item](...args) { + return this.item.apply(this, args); + } +}; +dart.addTypeTests(html$.MediaList); +dart.addTypeCaches(html$.MediaList); +dart.setMethodSignature(html$.MediaList, () => ({ + __proto__: dart.getMethods(html$.MediaList.__proto__), + [S$1.$appendMedium]: dart.fnType(dart.void, [core.String]), + [S$1.$deleteMedium]: dart.fnType(dart.void, [core.String]), + [S$.$item]: dart.fnType(dart.nullable(core.String), [core.int]) +})); +dart.setGetterSignature(html$.MediaList, () => ({ + __proto__: dart.getGetters(html$.MediaList.__proto__), + [$length]: dart.nullable(core.int), + [S$1.$mediaText]: dart.nullable(core.String) +})); +dart.setSetterSignature(html$.MediaList, () => ({ + __proto__: dart.getSetters(html$.MediaList.__proto__), + [S$1.$mediaText]: dart.nullable(core.String) +})); +dart.setLibraryUri(html$.MediaList, I[148]); +dart.registerExtension("MediaList", html$.MediaList); +html$.MediaMetadata = class MediaMetadata$ extends _interceptors.Interceptor { + static new(metadata = null) { + if (metadata != null) { + let metadata_1 = html_common.convertDartToNative_Dictionary(metadata); + return html$.MediaMetadata._create_1(metadata_1); + } + return html$.MediaMetadata._create_2(); + } + static _create_1(metadata) { + return new MediaMetadata(metadata); + } + static _create_2() { + return new MediaMetadata(); + } + get [S$1.$album]() { + return this.album; + } + set [S$1.$album](value) { + this.album = value; + } + get [S$1.$artist]() { + return this.artist; + } + set [S$1.$artist](value) { + this.artist = value; + } + get [S$1.$artwork]() { + return this.artwork; + } + set [S$1.$artwork](value) { + this.artwork = value; + } + get [S.$title]() { + return this.title; + } + set [S.$title](value) { + this.title = value; + } +}; +dart.addTypeTests(html$.MediaMetadata); +dart.addTypeCaches(html$.MediaMetadata); +dart.setGetterSignature(html$.MediaMetadata, () => ({ + __proto__: dart.getGetters(html$.MediaMetadata.__proto__), + [S$1.$album]: dart.nullable(core.String), + [S$1.$artist]: dart.nullable(core.String), + [S$1.$artwork]: dart.nullable(core.List), + [S.$title]: dart.nullable(core.String) +})); +dart.setSetterSignature(html$.MediaMetadata, () => ({ + __proto__: dart.getSetters(html$.MediaMetadata.__proto__), + [S$1.$album]: dart.nullable(core.String), + [S$1.$artist]: dart.nullable(core.String), + [S$1.$artwork]: dart.nullable(core.List), + [S.$title]: dart.nullable(core.String) +})); +dart.setLibraryUri(html$.MediaMetadata, I[148]); +dart.registerExtension("MediaMetadata", html$.MediaMetadata); +html$.MediaQueryList = class MediaQueryList extends html$.EventTarget { + get [S.$matches]() { + return this.matches; + } + get [S$.$media]() { + return this.media; + } + [S$1.$addListener](...args) { + return this.addListener.apply(this, args); + } + [S$1.$removeListener](...args) { + return this.removeListener.apply(this, args); + } + get [S.$onChange]() { + return html$.MediaQueryList.changeEvent.forTarget(this); + } +}; +dart.addTypeTests(html$.MediaQueryList); +dart.addTypeCaches(html$.MediaQueryList); +dart.setMethodSignature(html$.MediaQueryList, () => ({ + __proto__: dart.getMethods(html$.MediaQueryList.__proto__), + [S$1.$addListener]: dart.fnType(dart.void, [dart.nullable(dart.fnType(dart.dynamic, [html$.Event]))]), + [S$1.$removeListener]: dart.fnType(dart.void, [dart.nullable(dart.fnType(dart.dynamic, [html$.Event]))]) +})); +dart.setGetterSignature(html$.MediaQueryList, () => ({ + __proto__: dart.getGetters(html$.MediaQueryList.__proto__), + [S.$matches]: core.bool, + [S$.$media]: core.String, + [S.$onChange]: async.Stream$(html$.Event) +})); +dart.setLibraryUri(html$.MediaQueryList, I[148]); +dart.defineLazy(html$.MediaQueryList, { + /*html$.MediaQueryList.changeEvent*/get changeEvent() { + return C[236] || CT.C236; + } +}, false); +dart.registerExtension("MediaQueryList", html$.MediaQueryList); +html$.MediaQueryListEvent = class MediaQueryListEvent$ extends html$.Event { + static new(type, eventInitDict = null) { + if (type == null) dart.nullFailed(I[147], 21015, 38, "type"); + if (eventInitDict != null) { + let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); + return html$.MediaQueryListEvent._create_1(type, eventInitDict_1); + } + return html$.MediaQueryListEvent._create_2(type); + } + static _create_1(type, eventInitDict) { + return new MediaQueryListEvent(type, eventInitDict); + } + static _create_2(type) { + return new MediaQueryListEvent(type); + } + get [S.$matches]() { + return this.matches; + } + get [S$.$media]() { + return this.media; + } +}; +dart.addTypeTests(html$.MediaQueryListEvent); +dart.addTypeCaches(html$.MediaQueryListEvent); +dart.setGetterSignature(html$.MediaQueryListEvent, () => ({ + __proto__: dart.getGetters(html$.MediaQueryListEvent.__proto__), + [S.$matches]: dart.nullable(core.bool), + [S$.$media]: dart.nullable(core.String) +})); +dart.setLibraryUri(html$.MediaQueryListEvent, I[148]); +dart.registerExtension("MediaQueryListEvent", html$.MediaQueryListEvent); +html$.MediaRecorder = class MediaRecorder$ extends html$.EventTarget { + static new(stream, options = null) { + if (stream == null) dart.nullFailed(I[147], 21051, 37, "stream"); + if (options != null) { + let options_1 = html_common.convertDartToNative_Dictionary(options); + return html$.MediaRecorder._create_1(stream, options_1); + } + return html$.MediaRecorder._create_2(stream); + } + static _create_1(stream, options) { + return new MediaRecorder(stream, options); + } + static _create_2(stream) { + return new MediaRecorder(stream); + } + get [S$1.$audioBitsPerSecond]() { + return this.audioBitsPerSecond; + } + get [S$1.$mimeType]() { + return this.mimeType; + } + get [S$.$state]() { + return this.state; + } + get [S$1.$stream]() { + return this.stream; + } + get [S$1.$videoBitsPerSecond]() { + return this.videoBitsPerSecond; + } + [S$.$pause](...args) { + return this.pause.apply(this, args); + } + [S$1.$requestData](...args) { + return this.requestData.apply(this, args); + } + [S$1.$resume](...args) { + return this.resume.apply(this, args); + } + [S$.$start](...args) { + return this.start.apply(this, args); + } + [S$.$stop](...args) { + return this.stop.apply(this, args); + } + get [S.$onError]() { + return html$.MediaRecorder.errorEvent.forTarget(this); + } + get [S.$onPause]() { + return html$.MediaRecorder.pauseEvent.forTarget(this); + } +}; +dart.addTypeTests(html$.MediaRecorder); +dart.addTypeCaches(html$.MediaRecorder); +dart.setMethodSignature(html$.MediaRecorder, () => ({ + __proto__: dart.getMethods(html$.MediaRecorder.__proto__), + [S$.$pause]: dart.fnType(dart.void, []), + [S$1.$requestData]: dart.fnType(dart.void, []), + [S$1.$resume]: dart.fnType(dart.void, []), + [S$.$start]: dart.fnType(dart.void, [], [dart.nullable(core.int)]), + [S$.$stop]: dart.fnType(dart.void, []) +})); +dart.setGetterSignature(html$.MediaRecorder, () => ({ + __proto__: dart.getGetters(html$.MediaRecorder.__proto__), + [S$1.$audioBitsPerSecond]: dart.nullable(core.int), + [S$1.$mimeType]: dart.nullable(core.String), + [S$.$state]: dart.nullable(core.String), + [S$1.$stream]: dart.nullable(html$.MediaStream), + [S$1.$videoBitsPerSecond]: dart.nullable(core.int), + [S.$onError]: async.Stream$(html$.Event), + [S.$onPause]: async.Stream$(html$.Event) +})); +dart.setLibraryUri(html$.MediaRecorder, I[148]); +dart.defineLazy(html$.MediaRecorder, { + /*html$.MediaRecorder.errorEvent*/get errorEvent() { + return C[216] || CT.C216; + }, + /*html$.MediaRecorder.pauseEvent*/get pauseEvent() { + return C[269] || CT.C269; + } +}, false); +dart.registerExtension("MediaRecorder", html$.MediaRecorder); +html$.MediaSession = class MediaSession extends _interceptors.Interceptor { + get [S$1.$metadata]() { + return this.metadata; + } + set [S$1.$metadata](value) { + this.metadata = value; + } + get [S$1.$playbackState]() { + return this.playbackState; + } + set [S$1.$playbackState](value) { + this.playbackState = value; + } + [S$1.$setActionHandler](...args) { + return this.setActionHandler.apply(this, args); + } +}; +dart.addTypeTests(html$.MediaSession); +dart.addTypeCaches(html$.MediaSession); +dart.setMethodSignature(html$.MediaSession, () => ({ + __proto__: dart.getMethods(html$.MediaSession.__proto__), + [S$1.$setActionHandler]: dart.fnType(dart.void, [core.String, dart.nullable(dart.fnType(dart.void, []))]) +})); +dart.setGetterSignature(html$.MediaSession, () => ({ + __proto__: dart.getGetters(html$.MediaSession.__proto__), + [S$1.$metadata]: dart.nullable(html$.MediaMetadata), + [S$1.$playbackState]: dart.nullable(core.String) +})); +dart.setSetterSignature(html$.MediaSession, () => ({ + __proto__: dart.getSetters(html$.MediaSession.__proto__), + [S$1.$metadata]: dart.nullable(html$.MediaMetadata), + [S$1.$playbackState]: dart.nullable(core.String) +})); +dart.setLibraryUri(html$.MediaSession, I[148]); +dart.registerExtension("MediaSession", html$.MediaSession); +html$.MediaSettingsRange = class MediaSettingsRange extends _interceptors.Interceptor { + get [S$1.$max]() { + return this.max; + } + get [S$1.$min]() { + return this.min; + } + get [S$1.$step]() { + return this.step; + } +}; +dart.addTypeTests(html$.MediaSettingsRange); +dart.addTypeCaches(html$.MediaSettingsRange); +dart.setGetterSignature(html$.MediaSettingsRange, () => ({ + __proto__: dart.getGetters(html$.MediaSettingsRange.__proto__), + [S$1.$max]: dart.nullable(core.num), + [S$1.$min]: dart.nullable(core.num), + [S$1.$step]: dart.nullable(core.num) +})); +dart.setLibraryUri(html$.MediaSettingsRange, I[148]); +dart.registerExtension("MediaSettingsRange", html$.MediaSettingsRange); +html$.MediaSource = class MediaSource$ extends html$.EventTarget { + static new() { + return html$.MediaSource._create_1(); + } + static _create_1() { + return new MediaSource(); + } + static get supported() { + return !!window.MediaSource; + } + get [S$1.$activeSourceBuffers]() { + return this.activeSourceBuffers; + } + get [S$.$duration]() { + return this.duration; + } + set [S$.$duration](value) { + this.duration = value; + } + get [S.$readyState]() { + return this.readyState; + } + get [S$1.$sourceBuffers]() { + return this.sourceBuffers; + } + [S$1.$addSourceBuffer](...args) { + return this.addSourceBuffer.apply(this, args); + } + [S$1.$clearLiveSeekableRange](...args) { + return this.clearLiveSeekableRange.apply(this, args); + } + [S$1.$endOfStream](...args) { + return this.endOfStream.apply(this, args); + } + [S$1.$removeSourceBuffer](...args) { + return this.removeSourceBuffer.apply(this, args); + } + [S$1.$setLiveSeekableRange](...args) { + return this.setLiveSeekableRange.apply(this, args); + } +}; +dart.addTypeTests(html$.MediaSource); +dart.addTypeCaches(html$.MediaSource); +dart.setMethodSignature(html$.MediaSource, () => ({ + __proto__: dart.getMethods(html$.MediaSource.__proto__), + [S$1.$addSourceBuffer]: dart.fnType(html$.SourceBuffer, [core.String]), + [S$1.$clearLiveSeekableRange]: dart.fnType(dart.void, []), + [S$1.$endOfStream]: dart.fnType(dart.void, [], [dart.nullable(core.String)]), + [S$1.$removeSourceBuffer]: dart.fnType(dart.void, [html$.SourceBuffer]), + [S$1.$setLiveSeekableRange]: dart.fnType(dart.void, [core.num, core.num]) +})); +dart.setGetterSignature(html$.MediaSource, () => ({ + __proto__: dart.getGetters(html$.MediaSource.__proto__), + [S$1.$activeSourceBuffers]: dart.nullable(html$.SourceBufferList), + [S$.$duration]: dart.nullable(core.num), + [S.$readyState]: dart.nullable(core.String), + [S$1.$sourceBuffers]: dart.nullable(html$.SourceBufferList) +})); +dart.setSetterSignature(html$.MediaSource, () => ({ + __proto__: dart.getSetters(html$.MediaSource.__proto__), + [S$.$duration]: dart.nullable(core.num) +})); +dart.setLibraryUri(html$.MediaSource, I[148]); +dart.registerExtension("MediaSource", html$.MediaSource); +html$.MediaStream = class MediaStream$ extends html$.EventTarget { + static new(stream_OR_tracks = null) { + if (stream_OR_tracks == null) { + return html$.MediaStream._create_1(); + } + if (html$.MediaStream.is(stream_OR_tracks)) { + return html$.MediaStream._create_2(stream_OR_tracks); + } + if (T$0.ListOfMediaStreamTrack().is(stream_OR_tracks)) { + return html$.MediaStream._create_3(stream_OR_tracks); + } + dart.throw(new core.ArgumentError.new("Incorrect number or type of arguments")); + } + static _create_1() { + return new MediaStream(); + } + static _create_2(stream_OR_tracks) { + return new MediaStream(stream_OR_tracks); + } + static _create_3(stream_OR_tracks) { + return new MediaStream(stream_OR_tracks); + } + get [S$1.$active]() { + return this.active; + } + get [S.$id]() { + return this.id; + } + [S$1.$addTrack](...args) { + return this.addTrack.apply(this, args); + } + [S$.$clone](...args) { + return this.clone.apply(this, args); + } + [S$1.$getAudioTracks](...args) { + return this.getAudioTracks.apply(this, args); + } + [S$1.$getTrackById](...args) { + return this.getTrackById.apply(this, args); + } + [S$1.$getTracks](...args) { + return this.getTracks.apply(this, args); + } + [S$1.$getVideoTracks](...args) { + return this.getVideoTracks.apply(this, args); + } + [S$1.$removeTrack](...args) { + return this.removeTrack.apply(this, args); + } + get [S$1.$onAddTrack]() { + return html$.MediaStream.addTrackEvent.forTarget(this); + } + get [S$1.$onRemoveTrack]() { + return html$.MediaStream.removeTrackEvent.forTarget(this); + } + static get supported() { + return !!(html$.window.navigator.getUserMedia || html$.window.navigator.webkitGetUserMedia || html$.window.navigator.mozGetUserMedia || html$.window.navigator.msGetUserMedia); + } +}; +dart.addTypeTests(html$.MediaStream); +dart.addTypeCaches(html$.MediaStream); +dart.setMethodSignature(html$.MediaStream, () => ({ + __proto__: dart.getMethods(html$.MediaStream.__proto__), + [S$1.$addTrack]: dart.fnType(dart.void, [html$.MediaStreamTrack]), + [S$.$clone]: dart.fnType(html$.MediaStream, []), + [S$1.$getAudioTracks]: dart.fnType(core.List$(html$.MediaStreamTrack), []), + [S$1.$getTrackById]: dart.fnType(dart.nullable(html$.MediaStreamTrack), [core.String]), + [S$1.$getTracks]: dart.fnType(core.List$(html$.MediaStreamTrack), []), + [S$1.$getVideoTracks]: dart.fnType(core.List$(html$.MediaStreamTrack), []), + [S$1.$removeTrack]: dart.fnType(dart.void, [html$.MediaStreamTrack]) +})); +dart.setGetterSignature(html$.MediaStream, () => ({ + __proto__: dart.getGetters(html$.MediaStream.__proto__), + [S$1.$active]: dart.nullable(core.bool), + [S.$id]: dart.nullable(core.String), + [S$1.$onAddTrack]: async.Stream$(html$.Event), + [S$1.$onRemoveTrack]: async.Stream$(html$.Event) +})); +dart.setLibraryUri(html$.MediaStream, I[148]); +dart.defineLazy(html$.MediaStream, { + /*html$.MediaStream.addTrackEvent*/get addTrackEvent() { + return C[346] || CT.C346; + }, + /*html$.MediaStream.removeTrackEvent*/get removeTrackEvent() { + return C[347] || CT.C347; + } +}, false); +dart.registerExtension("MediaStream", html$.MediaStream); +html$.MediaStreamEvent = class MediaStreamEvent$ extends html$.Event { + static new(type, eventInitDict = null) { + if (type == null) dart.nullFailed(I[147], 21282, 35, "type"); + if (eventInitDict != null) { + let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); + return html$.MediaStreamEvent._create_1(type, eventInitDict_1); + } + return html$.MediaStreamEvent._create_2(type); + } + static _create_1(type, eventInitDict) { + return new MediaStreamEvent(type, eventInitDict); + } + static _create_2(type) { + return new MediaStreamEvent(type); + } + static get supported() { + return html_common.Device.isEventTypeSupported("MediaStreamEvent"); + } + get [S$1.$stream]() { + return this.stream; + } +}; +dart.addTypeTests(html$.MediaStreamEvent); +dart.addTypeCaches(html$.MediaStreamEvent); +dart.setGetterSignature(html$.MediaStreamEvent, () => ({ + __proto__: dart.getGetters(html$.MediaStreamEvent.__proto__), + [S$1.$stream]: dart.nullable(html$.MediaStream) +})); +dart.setLibraryUri(html$.MediaStreamEvent, I[148]); +dart.registerExtension("MediaStreamEvent", html$.MediaStreamEvent); +html$.MediaStreamTrackEvent = class MediaStreamTrackEvent$ extends html$.Event { + static new(type, eventInitDict) { + if (type == null) dart.nullFailed(I[147], 21411, 40, "type"); + if (eventInitDict == null) dart.nullFailed(I[147], 21411, 50, "eventInitDict"); + let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); + return html$.MediaStreamTrackEvent._create_1(type, eventInitDict_1); + } + static _create_1(type, eventInitDict) { + return new MediaStreamTrackEvent(type, eventInitDict); + } + static get supported() { + return html_common.Device.isEventTypeSupported("MediaStreamTrackEvent"); + } + get [S$1.$track]() { + return this.track; + } +}; +dart.addTypeTests(html$.MediaStreamTrackEvent); +dart.addTypeCaches(html$.MediaStreamTrackEvent); +dart.setGetterSignature(html$.MediaStreamTrackEvent, () => ({ + __proto__: dart.getGetters(html$.MediaStreamTrackEvent.__proto__), + [S$1.$track]: dart.nullable(html$.MediaStreamTrack) +})); +dart.setLibraryUri(html$.MediaStreamTrackEvent, I[148]); +dart.registerExtension("MediaStreamTrackEvent", html$.MediaStreamTrackEvent); +html$.MemoryInfo = class MemoryInfo extends _interceptors.Interceptor { + get [S$1.$jsHeapSizeLimit]() { + return this.jsHeapSizeLimit; + } + get [S$1.$totalJSHeapSize]() { + return this.totalJSHeapSize; + } + get [S$1.$usedJSHeapSize]() { + return this.usedJSHeapSize; + } +}; +dart.addTypeTests(html$.MemoryInfo); +dart.addTypeCaches(html$.MemoryInfo); +dart.setGetterSignature(html$.MemoryInfo, () => ({ + __proto__: dart.getGetters(html$.MemoryInfo.__proto__), + [S$1.$jsHeapSizeLimit]: dart.nullable(core.int), + [S$1.$totalJSHeapSize]: dart.nullable(core.int), + [S$1.$usedJSHeapSize]: dart.nullable(core.int) +})); +dart.setLibraryUri(html$.MemoryInfo, I[148]); +dart.registerExtension("MemoryInfo", html$.MemoryInfo); +html$.MenuElement = class MenuElement extends html$.HtmlElement { + static new() { + return html$.document.createElement("menu"); + } +}; +(html$.MenuElement.created = function() { + html$.MenuElement.__proto__.created.call(this); + ; +}).prototype = html$.MenuElement.prototype; +dart.addTypeTests(html$.MenuElement); +dart.addTypeCaches(html$.MenuElement); +dart.setLibraryUri(html$.MenuElement, I[148]); +dart.registerExtension("HTMLMenuElement", html$.MenuElement); +html$.MessageChannel = class MessageChannel$ extends _interceptors.Interceptor { + static new() { + return html$.MessageChannel._create_1(); + } + static _create_1() { + return new MessageChannel(); + } + get [S$1.$port1]() { + return this.port1; + } + get [S$1.$port2]() { + return this.port2; + } +}; +dart.addTypeTests(html$.MessageChannel); +dart.addTypeCaches(html$.MessageChannel); +dart.setGetterSignature(html$.MessageChannel, () => ({ + __proto__: dart.getGetters(html$.MessageChannel.__proto__), + [S$1.$port1]: html$.MessagePort, + [S$1.$port2]: html$.MessagePort +})); +dart.setLibraryUri(html$.MessageChannel, I[148]); +dart.registerExtension("MessageChannel", html$.MessageChannel); +html$.MessageEvent = class MessageEvent$ extends html$.Event { + static new(type, opts) { + if (type == null) dart.nullFailed(I[147], 21514, 31, "type"); + let canBubble = opts && 'canBubble' in opts ? opts.canBubble : false; + if (canBubble == null) dart.nullFailed(I[147], 21515, 13, "canBubble"); + let cancelable = opts && 'cancelable' in opts ? opts.cancelable : false; + if (cancelable == null) dart.nullFailed(I[147], 21516, 12, "cancelable"); + let data = opts && 'data' in opts ? opts.data : null; + let origin = opts && 'origin' in opts ? opts.origin : null; + let lastEventId = opts && 'lastEventId' in opts ? opts.lastEventId : null; + let source = opts && 'source' in opts ? opts.source : null; + let messagePorts = opts && 'messagePorts' in opts ? opts.messagePorts : C[348] || CT.C348; + if (messagePorts == null) dart.nullFailed(I[147], 21521, 25, "messagePorts"); + if (source == null) { + source = html$.window; + } + if (!dart.test(html_common.Device.isIE)) { + return new MessageEvent(type, {bubbles: canBubble, cancelable: cancelable, data: data, origin: origin, lastEventId: lastEventId, source: source, ports: messagePorts}); + } + let event = html$.MessageEvent.as(html$.document[S._createEvent]("MessageEvent")); + event[S$1._initMessageEvent](type, canBubble, cancelable, data, origin, lastEventId, source, messagePorts); + return event; + } + get [S$.$data]() { + return html_common.convertNativeToDart_SerializedScriptValue(this[S$1._get_data]); + } + get [S$1._get_data]() { + return this.data; + } + static __(type, eventInitDict = null) { + if (type == null) dart.nullFailed(I[147], 21556, 33, "type"); + if (eventInitDict != null) { + let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); + return html$.MessageEvent._create_1(type, eventInitDict_1); + } + return html$.MessageEvent._create_2(type); + } + static _create_1(type, eventInitDict) { + return new MessageEvent(type, eventInitDict); + } + static _create_2(type) { + return new MessageEvent(type); + } + get [S$1.$lastEventId]() { + return this.lastEventId; + } + get [S$.$origin]() { + return this.origin; + } + get [S$1.$ports]() { + return this.ports; + } + get [S.$source]() { + return html$._convertNativeToDart_EventTarget(this[S$1._get_source]); + } + get [S$1._get_source]() { + return this.source; + } + get [S$1.$suborigin]() { + return this.suborigin; + } + [S$1._initMessageEvent](typeArg, canBubbleArg, cancelableArg, dataArg, originArg, lastEventIdArg, sourceArg, portsArg) { + let sourceArg_1 = html$._convertDartToNative_EventTarget(sourceArg); + this[S$1._initMessageEvent_1](typeArg, canBubbleArg, cancelableArg, dataArg, originArg, lastEventIdArg, sourceArg_1, portsArg); + return; + } + [S$1._initMessageEvent_1](...args) { + return this.initMessageEvent.apply(this, args); + } +}; +dart.addTypeTests(html$.MessageEvent); +dart.addTypeCaches(html$.MessageEvent); +dart.setMethodSignature(html$.MessageEvent, () => ({ + __proto__: dart.getMethods(html$.MessageEvent.__proto__), + [S$1._initMessageEvent]: dart.fnType(dart.void, [dart.nullable(core.String), dart.nullable(core.bool), dart.nullable(core.bool), dart.nullable(core.Object), dart.nullable(core.String), dart.nullable(core.String), dart.nullable(html$.EventTarget), dart.nullable(core.List$(html$.MessagePort))]), + [S$1._initMessageEvent_1]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.nullable(core.List$(html$.MessagePort))]) +})); +dart.setGetterSignature(html$.MessageEvent, () => ({ + __proto__: dart.getGetters(html$.MessageEvent.__proto__), + [S$.$data]: dart.dynamic, + [S$1._get_data]: dart.dynamic, + [S$1.$lastEventId]: core.String, + [S$.$origin]: core.String, + [S$1.$ports]: core.List$(html$.MessagePort), + [S.$source]: dart.nullable(html$.EventTarget), + [S$1._get_source]: dart.dynamic, + [S$1.$suborigin]: dart.nullable(core.String) +})); +dart.setLibraryUri(html$.MessageEvent, I[148]); +dart.registerExtension("MessageEvent", html$.MessageEvent); +html$.MessagePort = class MessagePort extends html$.EventTarget { + [S.$addEventListener](type, listener, useCapture = null) { + if (type == null) dart.nullFailed(I[147], 21613, 32, "type"); + if (type === "message") { + this[S$1._start$4](); + } + super[S.$addEventListener](type, listener, useCapture); + } + [S.$close](...args) { + return this.close.apply(this, args); + } + [S$.$postMessage](message, transfer = null) { + if (transfer != null) { + let message_1 = html_common.convertDartToNative_SerializedScriptValue(message); + this[S$0._postMessage_1](message_1, transfer); + return; + } + let message_1 = html_common.convertDartToNative_SerializedScriptValue(message); + this[S$0._postMessage_2](message_1); + return; + } + [S$0._postMessage_1](...args) { + return this.postMessage.apply(this, args); + } + [S$0._postMessage_2](...args) { + return this.postMessage.apply(this, args); + } + [S$1._start$4](...args) { + return this.start.apply(this, args); + } + get [S$.$onMessage]() { + return html$.MessagePort.messageEvent.forTarget(this); + } +}; +dart.addTypeTests(html$.MessagePort); +dart.addTypeCaches(html$.MessagePort); +dart.setMethodSignature(html$.MessagePort, () => ({ + __proto__: dart.getMethods(html$.MessagePort.__proto__), + [S.$close]: dart.fnType(dart.void, []), + [S$.$postMessage]: dart.fnType(dart.void, [dart.dynamic], [dart.nullable(core.List$(core.Object))]), + [S$0._postMessage_1]: dart.fnType(dart.void, [dart.dynamic, core.List$(core.Object)]), + [S$0._postMessage_2]: dart.fnType(dart.void, [dart.dynamic]), + [S$1._start$4]: dart.fnType(dart.void, []) +})); +dart.setGetterSignature(html$.MessagePort, () => ({ + __proto__: dart.getGetters(html$.MessagePort.__proto__), + [S$.$onMessage]: async.Stream$(html$.MessageEvent) +})); +dart.setLibraryUri(html$.MessagePort, I[148]); +dart.defineLazy(html$.MessagePort, { + /*html$.MessagePort.messageEvent*/get messageEvent() { + return C[312] || CT.C312; + } +}, false); +dart.registerExtension("MessagePort", html$.MessagePort); +html$.MetaElement = class MetaElement extends html$.HtmlElement { + static new() { + return html$.document.createElement("meta"); + } + get [S$0.$content]() { + return this.content; + } + set [S$0.$content](value) { + this.content = value; + } + get [S$1.$httpEquiv]() { + return this.httpEquiv; + } + set [S$1.$httpEquiv](value) { + this.httpEquiv = value; + } + get [$name]() { + return this.name; + } + set [$name](value) { + this.name = value; + } +}; +(html$.MetaElement.created = function() { + html$.MetaElement.__proto__.created.call(this); + ; +}).prototype = html$.MetaElement.prototype; +dart.addTypeTests(html$.MetaElement); +dart.addTypeCaches(html$.MetaElement); +dart.setGetterSignature(html$.MetaElement, () => ({ + __proto__: dart.getGetters(html$.MetaElement.__proto__), + [S$0.$content]: core.String, + [S$1.$httpEquiv]: dart.nullable(core.String), + [$name]: core.String +})); +dart.setSetterSignature(html$.MetaElement, () => ({ + __proto__: dart.getSetters(html$.MetaElement.__proto__), + [S$0.$content]: core.String, + [S$1.$httpEquiv]: dart.nullable(core.String), + [$name]: core.String +})); +dart.setLibraryUri(html$.MetaElement, I[148]); +dart.registerExtension("HTMLMetaElement", html$.MetaElement); +html$.Metadata = class Metadata extends _interceptors.Interceptor { + get [S$1.$modificationTime]() { + return html_common.convertNativeToDart_DateTime(this[S$1._get_modificationTime]); + } + get [S$1._get_modificationTime]() { + return this.modificationTime; + } + get [S$.$size]() { + return this.size; + } +}; +dart.addTypeTests(html$.Metadata); +dart.addTypeCaches(html$.Metadata); +dart.setGetterSignature(html$.Metadata, () => ({ + __proto__: dart.getGetters(html$.Metadata.__proto__), + [S$1.$modificationTime]: core.DateTime, + [S$1._get_modificationTime]: dart.dynamic, + [S$.$size]: dart.nullable(core.int) +})); +dart.setLibraryUri(html$.Metadata, I[148]); +dart.registerExtension("Metadata", html$.Metadata); +html$.MeterElement = class MeterElement extends html$.HtmlElement { + static new() { + return html$.MeterElement.as(html$.document[S.$createElement]("meter")); + } + static get supported() { + return html$.Element.isTagSupported("meter"); + } + get [S$1.$high]() { + return this.high; + } + set [S$1.$high](value) { + this.high = value; + } + get [S$.$labels]() { + return this.labels; + } + get [S$1.$low]() { + return this.low; + } + set [S$1.$low](value) { + this.low = value; + } + get [S$1.$max]() { + return this.max; + } + set [S$1.$max](value) { + this.max = value; + } + get [S$1.$min]() { + return this.min; + } + set [S$1.$min](value) { + this.min = value; + } + get [S$1.$optimum]() { + return this.optimum; + } + set [S$1.$optimum](value) { + this.optimum = value; + } + get [S.$value]() { + return this.value; + } + set [S.$value](value) { + this.value = value; + } +}; +(html$.MeterElement.created = function() { + html$.MeterElement.__proto__.created.call(this); + ; +}).prototype = html$.MeterElement.prototype; +dart.addTypeTests(html$.MeterElement); +dart.addTypeCaches(html$.MeterElement); +dart.setGetterSignature(html$.MeterElement, () => ({ + __proto__: dart.getGetters(html$.MeterElement.__proto__), + [S$1.$high]: dart.nullable(core.num), + [S$.$labels]: dart.nullable(core.List$(html$.Node)), + [S$1.$low]: dart.nullable(core.num), + [S$1.$max]: dart.nullable(core.num), + [S$1.$min]: dart.nullable(core.num), + [S$1.$optimum]: dart.nullable(core.num), + [S.$value]: dart.nullable(core.num) +})); +dart.setSetterSignature(html$.MeterElement, () => ({ + __proto__: dart.getSetters(html$.MeterElement.__proto__), + [S$1.$high]: dart.nullable(core.num), + [S$1.$low]: dart.nullable(core.num), + [S$1.$max]: dart.nullable(core.num), + [S$1.$min]: dart.nullable(core.num), + [S$1.$optimum]: dart.nullable(core.num), + [S.$value]: dart.nullable(core.num) +})); +dart.setLibraryUri(html$.MeterElement, I[148]); +dart.registerExtension("HTMLMeterElement", html$.MeterElement); +html$.MidiAccess = class MidiAccess extends html$.EventTarget { + get [S$1.$inputs]() { + return this.inputs; + } + get [S$1.$outputs]() { + return this.outputs; + } + get [S$1.$sysexEnabled]() { + return this.sysexEnabled; + } +}; +dart.addTypeTests(html$.MidiAccess); +dart.addTypeCaches(html$.MidiAccess); +dart.setGetterSignature(html$.MidiAccess, () => ({ + __proto__: dart.getGetters(html$.MidiAccess.__proto__), + [S$1.$inputs]: dart.nullable(html$.MidiInputMap), + [S$1.$outputs]: dart.nullable(html$.MidiOutputMap), + [S$1.$sysexEnabled]: dart.nullable(core.bool) +})); +dart.setLibraryUri(html$.MidiAccess, I[148]); +dart.registerExtension("MIDIAccess", html$.MidiAccess); +html$.MidiConnectionEvent = class MidiConnectionEvent extends html$.Event { + static new(type, eventInitDict = null) { + if (type == null) dart.nullFailed(I[147], 21807, 38, "type"); + if (eventInitDict != null) { + let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); + return html$.MidiConnectionEvent._create_1(type, eventInitDict_1); + } + return html$.MidiConnectionEvent._create_2(type); + } + static _create_1(type, eventInitDict) { + return new MIDIConnectionEvent(type, eventInitDict); + } + static _create_2(type) { + return new MIDIConnectionEvent(type); + } + get [S$.$port]() { + return this.port; + } +}; +dart.addTypeTests(html$.MidiConnectionEvent); +dart.addTypeCaches(html$.MidiConnectionEvent); +dart.setGetterSignature(html$.MidiConnectionEvent, () => ({ + __proto__: dart.getGetters(html$.MidiConnectionEvent.__proto__), + [S$.$port]: dart.nullable(html$.MidiPort) +})); +dart.setLibraryUri(html$.MidiConnectionEvent, I[148]); +dart.registerExtension("MIDIConnectionEvent", html$.MidiConnectionEvent); +html$.MidiPort = class MidiPort extends html$.EventTarget { + get [S$1.$connection]() { + return this.connection; + } + get [S.$id]() { + return this.id; + } + get [S$1.$manufacturer]() { + return this.manufacturer; + } + get [$name]() { + return this.name; + } + get [S$.$state]() { + return this.state; + } + get [S.$type]() { + return this.type; + } + get [S.$version]() { + return this.version; + } + [S.$close]() { + return js_util.promiseToFuture(dart.dynamic, this.close()); + } + [S.$open]() { + return js_util.promiseToFuture(dart.dynamic, this.open()); + } +}; +dart.addTypeTests(html$.MidiPort); +dart.addTypeCaches(html$.MidiPort); +dart.setMethodSignature(html$.MidiPort, () => ({ + __proto__: dart.getMethods(html$.MidiPort.__proto__), + [S.$close]: dart.fnType(async.Future, []), + [S.$open]: dart.fnType(async.Future, []) +})); +dart.setGetterSignature(html$.MidiPort, () => ({ + __proto__: dart.getGetters(html$.MidiPort.__proto__), + [S$1.$connection]: dart.nullable(core.String), + [S.$id]: dart.nullable(core.String), + [S$1.$manufacturer]: dart.nullable(core.String), + [$name]: dart.nullable(core.String), + [S$.$state]: dart.nullable(core.String), + [S.$type]: dart.nullable(core.String), + [S.$version]: dart.nullable(core.String) +})); +dart.setLibraryUri(html$.MidiPort, I[148]); +dart.registerExtension("MIDIPort", html$.MidiPort); +html$.MidiInput = class MidiInput extends html$.MidiPort { + get [S$1.$onMidiMessage]() { + return html$.MidiInput.midiMessageEvent.forTarget(this); + } +}; +dart.addTypeTests(html$.MidiInput); +dart.addTypeCaches(html$.MidiInput); +dart.setGetterSignature(html$.MidiInput, () => ({ + __proto__: dart.getGetters(html$.MidiInput.__proto__), + [S$1.$onMidiMessage]: async.Stream$(html$.MidiMessageEvent) +})); +dart.setLibraryUri(html$.MidiInput, I[148]); +dart.defineLazy(html$.MidiInput, { + /*html$.MidiInput.midiMessageEvent*/get midiMessageEvent() { + return C[349] || CT.C349; + } +}, false); +dart.registerExtension("MIDIInput", html$.MidiInput); +const Interceptor_MapMixin$36 = class Interceptor_MapMixin extends _interceptors.Interceptor {}; +(Interceptor_MapMixin$36.new = function() { + Interceptor_MapMixin$36.__proto__.new.call(this); +}).prototype = Interceptor_MapMixin$36.prototype; +dart.applyMixin(Interceptor_MapMixin$36, collection.MapMixin$(core.String, dart.dynamic)); +html$.MidiInputMap = class MidiInputMap extends Interceptor_MapMixin$36 { + [S$1._getItem](key) { + if (key == null) dart.nullFailed(I[147], 21859, 24, "key"); + return html_common.convertNativeToDart_Dictionary(this.get(key)); + } + [$addAll](other) { + T$0.MapOfString$dynamic().as(other); + if (other == null) dart.nullFailed(I[147], 21862, 36, "other"); + dart.throw(new core.UnsupportedError.new("Not supported")); + } + [$containsValue](value) { + return this[$values][$any](dart.fn(e => { + if (e == null) dart.nullFailed(I[147], 21866, 52, "e"); + return dart.equals(e, value); + }, T$0.MapTobool())); + } + [$containsKey](key) { + return this[S$1._getItem](core.String.as(key)) != null; + } + [$_get](key) { + return this[S$1._getItem](core.String.as(key)); + } + [$forEach](f) { + if (f == null) dart.nullFailed(I[147], 21872, 21, "f"); + let entries = this.entries(); + while (true) { + let entry = entries.next(); + if (entry.done) return; + f(entry.value[0], html_common.convertNativeToDart_Dictionary(entry.value[1])); + } + } + get [$keys]() { + let keys = T$.JSArrayOfString().of([]); + this[$forEach](dart.fn((k, v) => { + if (k == null) dart.nullFailed(I[147], 21884, 14, "k"); + return keys[$add](k); + }, T$0.StringAnddynamicTovoid())); + return keys; + } + get [$values]() { + let values = T$0.JSArrayOfMap().of([]); + this[$forEach](dart.fn((k, v) => { + if (k == null) dart.nullFailed(I[147], 21890, 14, "k"); + return values[$add](core.Map.as(v)); + }, T$0.StringAnddynamicTovoid())); + return values; + } + get [$length]() { + return this.size; + } + get [$isEmpty]() { + return this[$length] === 0; + } + get [$isNotEmpty]() { + return !dart.test(this[$isEmpty]); + } + [$_set](key, value$) { + let value = value$; + core.String.as(key); + if (key == null) dart.nullFailed(I[147], 21900, 28, "key"); + dart.throw(new core.UnsupportedError.new("Not supported")); + return value$; + } + [$putIfAbsent](key, ifAbsent) { + core.String.as(key); + if (key == null) dart.nullFailed(I[147], 21904, 30, "key"); + T$.VoidTodynamic().as(ifAbsent); + if (ifAbsent == null) dart.nullFailed(I[147], 21904, 43, "ifAbsent"); + dart.throw(new core.UnsupportedError.new("Not supported")); + } + [$remove](key) { + dart.throw(new core.UnsupportedError.new("Not supported")); + } + [$clear]() { + dart.throw(new core.UnsupportedError.new("Not supported")); + } +}; +dart.addTypeTests(html$.MidiInputMap); +dart.addTypeCaches(html$.MidiInputMap); +dart.setMethodSignature(html$.MidiInputMap, () => ({ + __proto__: dart.getMethods(html$.MidiInputMap.__proto__), + [S$1._getItem]: dart.fnType(dart.nullable(core.Map), [core.String]), + [$containsValue]: dart.fnType(core.bool, [dart.dynamic]), + [$containsKey]: dart.fnType(core.bool, [dart.dynamic]), + [$_get]: dart.fnType(dart.nullable(core.Map), [dart.dynamic]), + [$_set]: dart.fnType(dart.void, [dart.nullable(core.Object), dart.nullable(core.Object)]), + [$remove]: dart.fnType(core.String, [dart.dynamic]), + [$clear]: dart.fnType(dart.void, []) +})); +dart.setGetterSignature(html$.MidiInputMap, () => ({ + __proto__: dart.getGetters(html$.MidiInputMap.__proto__), + [$keys]: core.Iterable$(core.String), + [$values]: core.Iterable$(core.Map) +})); +dart.setLibraryUri(html$.MidiInputMap, I[148]); +dart.registerExtension("MIDIInputMap", html$.MidiInputMap); +html$.MidiMessageEvent = class MidiMessageEvent extends html$.Event { + static new(type, eventInitDict = null) { + if (type == null) dart.nullFailed(I[147], 21927, 35, "type"); + if (eventInitDict != null) { + let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); + return html$.MidiMessageEvent._create_1(type, eventInitDict_1); + } + return html$.MidiMessageEvent._create_2(type); + } + static _create_1(type, eventInitDict) { + return new MIDIMessageEvent(type, eventInitDict); + } + static _create_2(type) { + return new MIDIMessageEvent(type); + } + get [S$.$data]() { + return this.data; + } +}; +dart.addTypeTests(html$.MidiMessageEvent); +dart.addTypeCaches(html$.MidiMessageEvent); +dart.setGetterSignature(html$.MidiMessageEvent, () => ({ + __proto__: dart.getGetters(html$.MidiMessageEvent.__proto__), + [S$.$data]: dart.nullable(typed_data.Uint8List) +})); +dart.setLibraryUri(html$.MidiMessageEvent, I[148]); +dart.registerExtension("MIDIMessageEvent", html$.MidiMessageEvent); +html$.MidiOutput = class MidiOutput extends html$.MidiPort { + [S$1.$send](...args) { + return this.send.apply(this, args); + } +}; +dart.addTypeTests(html$.MidiOutput); +dart.addTypeCaches(html$.MidiOutput); +dart.setMethodSignature(html$.MidiOutput, () => ({ + __proto__: dart.getMethods(html$.MidiOutput.__proto__), + [S$1.$send]: dart.fnType(dart.void, [typed_data.Uint8List], [dart.nullable(core.num)]) +})); +dart.setLibraryUri(html$.MidiOutput, I[148]); +dart.registerExtension("MIDIOutput", html$.MidiOutput); +const Interceptor_MapMixin$36$ = class Interceptor_MapMixin extends _interceptors.Interceptor {}; +(Interceptor_MapMixin$36$.new = function() { + Interceptor_MapMixin$36$.__proto__.new.call(this); +}).prototype = Interceptor_MapMixin$36$.prototype; +dart.applyMixin(Interceptor_MapMixin$36$, collection.MapMixin$(core.String, dart.dynamic)); +html$.MidiOutputMap = class MidiOutputMap extends Interceptor_MapMixin$36$ { + [S$1._getItem](key) { + if (key == null) dart.nullFailed(I[147], 21965, 24, "key"); + return html_common.convertNativeToDart_Dictionary(this.get(key)); + } + [$addAll](other) { + T$0.MapOfString$dynamic().as(other); + if (other == null) dart.nullFailed(I[147], 21968, 36, "other"); + dart.throw(new core.UnsupportedError.new("Not supported")); + } + [$containsValue](value) { + return this[$values][$any](dart.fn(e => { + if (e == null) dart.nullFailed(I[147], 21972, 52, "e"); + return dart.equals(e, value); + }, T$0.MapTobool())); + } + [$containsKey](key) { + return this[S$1._getItem](core.String.as(key)) != null; + } + [$_get](key) { + return this[S$1._getItem](core.String.as(key)); + } + [$forEach](f) { + if (f == null) dart.nullFailed(I[147], 21978, 21, "f"); + let entries = this.entries(); + while (true) { + let entry = entries.next(); + if (entry.done) return; + f(entry.value[0], html_common.convertNativeToDart_Dictionary(entry.value[1])); + } + } + get [$keys]() { + let keys = T$.JSArrayOfString().of([]); + this[$forEach](dart.fn((k, v) => { + if (k == null) dart.nullFailed(I[147], 21990, 14, "k"); + return keys[$add](k); + }, T$0.StringAnddynamicTovoid())); + return keys; + } + get [$values]() { + let values = T$0.JSArrayOfMap().of([]); + this[$forEach](dart.fn((k, v) => { + if (k == null) dart.nullFailed(I[147], 21996, 14, "k"); + return values[$add](core.Map.as(v)); + }, T$0.StringAnddynamicTovoid())); + return values; + } + get [$length]() { + return this.size; + } + get [$isEmpty]() { + return this[$length] === 0; + } + get [$isNotEmpty]() { + return !dart.test(this[$isEmpty]); + } + [$_set](key, value$) { + let value = value$; + core.String.as(key); + if (key == null) dart.nullFailed(I[147], 22006, 28, "key"); + dart.throw(new core.UnsupportedError.new("Not supported")); + return value$; + } + [$putIfAbsent](key, ifAbsent) { + core.String.as(key); + if (key == null) dart.nullFailed(I[147], 22010, 30, "key"); + T$.VoidTodynamic().as(ifAbsent); + if (ifAbsent == null) dart.nullFailed(I[147], 22010, 43, "ifAbsent"); + dart.throw(new core.UnsupportedError.new("Not supported")); + } + [$remove](key) { + dart.throw(new core.UnsupportedError.new("Not supported")); + } + [$clear]() { + dart.throw(new core.UnsupportedError.new("Not supported")); + } +}; +dart.addTypeTests(html$.MidiOutputMap); +dart.addTypeCaches(html$.MidiOutputMap); +dart.setMethodSignature(html$.MidiOutputMap, () => ({ + __proto__: dart.getMethods(html$.MidiOutputMap.__proto__), + [S$1._getItem]: dart.fnType(dart.nullable(core.Map), [core.String]), + [$containsValue]: dart.fnType(core.bool, [dart.dynamic]), + [$containsKey]: dart.fnType(core.bool, [dart.dynamic]), + [$_get]: dart.fnType(dart.nullable(core.Map), [dart.dynamic]), + [$_set]: dart.fnType(dart.void, [dart.nullable(core.Object), dart.nullable(core.Object)]), + [$remove]: dart.fnType(core.String, [dart.dynamic]), + [$clear]: dart.fnType(dart.void, []) +})); +dart.setGetterSignature(html$.MidiOutputMap, () => ({ + __proto__: dart.getGetters(html$.MidiOutputMap.__proto__), + [$keys]: core.Iterable$(core.String), + [$values]: core.Iterable$(core.Map) +})); +dart.setLibraryUri(html$.MidiOutputMap, I[148]); +dart.registerExtension("MIDIOutputMap", html$.MidiOutputMap); +html$.MimeType = class MimeType extends _interceptors.Interceptor { + get [S$1.$description]() { + return this.description; + } + get [S$1.$enabledPlugin]() { + return this.enabledPlugin; + } + get [S$1.$suffixes]() { + return this.suffixes; + } + get [S.$type]() { + return this.type; + } +}; +dart.addTypeTests(html$.MimeType); +dart.addTypeCaches(html$.MimeType); +dart.setGetterSignature(html$.MimeType, () => ({ + __proto__: dart.getGetters(html$.MimeType.__proto__), + [S$1.$description]: dart.nullable(core.String), + [S$1.$enabledPlugin]: dart.nullable(html$.Plugin), + [S$1.$suffixes]: dart.nullable(core.String), + [S.$type]: dart.nullable(core.String) +})); +dart.setLibraryUri(html$.MimeType, I[148]); +dart.registerExtension("MimeType", html$.MimeType); +const Interceptor_ListMixin$36$2 = class Interceptor_ListMixin extends _interceptors.Interceptor {}; +(Interceptor_ListMixin$36$2.new = function() { + Interceptor_ListMixin$36$2.__proto__.new.call(this); +}).prototype = Interceptor_ListMixin$36$2.prototype; +dart.applyMixin(Interceptor_ListMixin$36$2, collection.ListMixin$(html$.MimeType)); +const Interceptor_ImmutableListMixin$36$2 = class Interceptor_ImmutableListMixin extends Interceptor_ListMixin$36$2 {}; +(Interceptor_ImmutableListMixin$36$2.new = function() { + Interceptor_ImmutableListMixin$36$2.__proto__.new.call(this); +}).prototype = Interceptor_ImmutableListMixin$36$2.prototype; +dart.applyMixin(Interceptor_ImmutableListMixin$36$2, html$.ImmutableListMixin$(html$.MimeType)); +html$.MimeTypeArray = class MimeTypeArray extends Interceptor_ImmutableListMixin$36$2 { + get [$length]() { + return this.length; + } + [$_get](index) { + if (index == null) dart.nullFailed(I[147], 22085, 28, "index"); + if (index >>> 0 !== index || index >= this[$length]) dart.throw(new core.IndexError.new(index, this)); + return this[index]; + } + [$_set](index, value$) { + let value = value$; + if (index == null) dart.nullFailed(I[147], 22091, 25, "index"); + html$.MimeType.as(value); + if (value == null) dart.nullFailed(I[147], 22091, 41, "value"); + dart.throw(new core.UnsupportedError.new("Cannot assign element of immutable List.")); + return value$; + } + set [$length](value) { + if (value == null) dart.nullFailed(I[147], 22097, 18, "value"); + dart.throw(new core.UnsupportedError.new("Cannot resize immutable List.")); + } + get [$first]() { + if (dart.notNull(this[$length]) > 0) { + return this[0]; + } + dart.throw(new core.StateError.new("No elements")); + } + set [$first](value) { + super[$first] = value; + } + get [$last]() { + let len = this[$length]; + if (dart.notNull(len) > 0) { + return this[dart.notNull(len) - 1]; + } + dart.throw(new core.StateError.new("No elements")); + } + set [$last](value) { + super[$last] = value; + } + get [$single]() { + let len = this[$length]; + if (len === 1) { + return this[0]; + } + if (len === 0) dart.throw(new core.StateError.new("No elements")); + dart.throw(new core.StateError.new("More than one element")); + } + [$elementAt](index) { + if (index == null) dart.nullFailed(I[147], 22125, 26, "index"); + return this[$_get](index); + } + [S$.$item](...args) { + return this.item.apply(this, args); + } + [S$1.$namedItem](...args) { + return this.namedItem.apply(this, args); + } +}; +html$.MimeTypeArray.prototype[dart.isList] = true; +dart.addTypeTests(html$.MimeTypeArray); +dart.addTypeCaches(html$.MimeTypeArray); +html$.MimeTypeArray[dart.implements] = () => [core.List$(html$.MimeType), _js_helper.JavaScriptIndexingBehavior$(html$.MimeType)]; +dart.setMethodSignature(html$.MimeTypeArray, () => ({ + __proto__: dart.getMethods(html$.MimeTypeArray.__proto__), + [$_get]: dart.fnType(html$.MimeType, [core.int]), + [$_set]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), + [S$.$item]: dart.fnType(dart.nullable(html$.MimeType), [core.int]), + [S$1.$namedItem]: dart.fnType(dart.nullable(html$.MimeType), [core.String]) +})); +dart.setGetterSignature(html$.MimeTypeArray, () => ({ + __proto__: dart.getGetters(html$.MimeTypeArray.__proto__), + [$length]: core.int +})); +dart.setSetterSignature(html$.MimeTypeArray, () => ({ + __proto__: dart.getSetters(html$.MimeTypeArray.__proto__), + [$length]: core.int +})); +dart.setLibraryUri(html$.MimeTypeArray, I[148]); +dart.registerExtension("MimeTypeArray", html$.MimeTypeArray); +html$.ModElement = class ModElement extends html$.HtmlElement { + get [S$1.$cite]() { + return this.cite; + } + set [S$1.$cite](value) { + this.cite = value; + } + get [S$1.$dateTime]() { + return this.dateTime; + } + set [S$1.$dateTime](value) { + this.dateTime = value; + } +}; +(html$.ModElement.created = function() { + html$.ModElement.__proto__.created.call(this); + ; +}).prototype = html$.ModElement.prototype; +dart.addTypeTests(html$.ModElement); +dart.addTypeCaches(html$.ModElement); +dart.setGetterSignature(html$.ModElement, () => ({ + __proto__: dart.getGetters(html$.ModElement.__proto__), + [S$1.$cite]: core.String, + [S$1.$dateTime]: core.String +})); +dart.setSetterSignature(html$.ModElement, () => ({ + __proto__: dart.getSetters(html$.ModElement.__proto__), + [S$1.$cite]: core.String, + [S$1.$dateTime]: core.String +})); +dart.setLibraryUri(html$.ModElement, I[148]); +dart.registerExtension("HTMLModElement", html$.ModElement); +html$.MouseEvent = class MouseEvent$ extends html$.UIEvent { + static new(type, opts) { + if (type == null) dart.nullFailed(I[147], 22171, 29, "type"); + let view = opts && 'view' in opts ? opts.view : null; + let detail = opts && 'detail' in opts ? opts.detail : 0; + if (detail == null) dart.nullFailed(I[147], 22173, 11, "detail"); + let screenX = opts && 'screenX' in opts ? opts.screenX : 0; + if (screenX == null) dart.nullFailed(I[147], 22174, 11, "screenX"); + let screenY = opts && 'screenY' in opts ? opts.screenY : 0; + if (screenY == null) dart.nullFailed(I[147], 22175, 11, "screenY"); + let clientX = opts && 'clientX' in opts ? opts.clientX : 0; + if (clientX == null) dart.nullFailed(I[147], 22176, 11, "clientX"); + let clientY = opts && 'clientY' in opts ? opts.clientY : 0; + if (clientY == null) dart.nullFailed(I[147], 22177, 11, "clientY"); + let button = opts && 'button' in opts ? opts.button : 0; + if (button == null) dart.nullFailed(I[147], 22178, 11, "button"); + let canBubble = opts && 'canBubble' in opts ? opts.canBubble : true; + if (canBubble == null) dart.nullFailed(I[147], 22179, 12, "canBubble"); + let cancelable = opts && 'cancelable' in opts ? opts.cancelable : true; + if (cancelable == null) dart.nullFailed(I[147], 22180, 12, "cancelable"); + let ctrlKey = opts && 'ctrlKey' in opts ? opts.ctrlKey : false; + if (ctrlKey == null) dart.nullFailed(I[147], 22181, 12, "ctrlKey"); + let altKey = opts && 'altKey' in opts ? opts.altKey : false; + if (altKey == null) dart.nullFailed(I[147], 22182, 12, "altKey"); + let shiftKey = opts && 'shiftKey' in opts ? opts.shiftKey : false; + if (shiftKey == null) dart.nullFailed(I[147], 22183, 12, "shiftKey"); + let metaKey = opts && 'metaKey' in opts ? opts.metaKey : false; + if (metaKey == null) dart.nullFailed(I[147], 22184, 12, "metaKey"); + let relatedTarget = opts && 'relatedTarget' in opts ? opts.relatedTarget : null; + if (view == null) { + view = html$.window; + } + let event = html$.MouseEvent.as(html$.document[S._createEvent]("MouseEvent")); + event[S$1._initMouseEvent](type, canBubble, cancelable, view, detail, screenX, screenY, clientX, clientY, ctrlKey, altKey, shiftKey, metaKey, button, relatedTarget); + return event; + } + static __(type, eventInitDict = null) { + if (type == null) dart.nullFailed(I[147], 22209, 31, "type"); + if (eventInitDict != null) { + let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); + return html$.MouseEvent._create_1(type, eventInitDict_1); + } + return html$.MouseEvent._create_2(type); + } + static _create_1(type, eventInitDict) { + return new MouseEvent(type, eventInitDict); + } + static _create_2(type) { + return new MouseEvent(type); + } + get [S$1.$altKey]() { + return this.altKey; + } + get [S$1.$button]() { + return this.button; + } + get [S$1.$buttons]() { + return this.buttons; + } + get [S$1._clientX]() { + return this.clientX; + } + get [S$1._clientY]() { + return this.clientY; + } + get [S$1.$ctrlKey]() { + return this.ctrlKey; + } + get [S$1.$fromElement]() { + return this.fromElement; + } + get [S$1._layerX]() { + return this.layerX; + } + get [S$1._layerY]() { + return this.layerY; + } + get [S$1.$metaKey]() { + return this.metaKey; + } + get [S$1._movementX]() { + return this.movementX; + } + get [S$1._movementY]() { + return this.movementY; + } + get [S$1._pageX]() { + return this.pageX; + } + get [S$1._pageY]() { + return this.pageY; + } + get [S$1.$region]() { + return this.region; + } + get [S$1.$relatedTarget]() { + return html$._convertNativeToDart_EventTarget(this[S$1._get_relatedTarget]); + } + get [S$1._get_relatedTarget]() { + return this.relatedTarget; + } + get [S$1._screenX]() { + return this.screenX; + } + get [S$1._screenY]() { + return this.screenY; + } + get [S$1.$shiftKey]() { + return this.shiftKey; + } + get [S$1.$toElement]() { + return this.toElement; + } + [S$1.$getModifierState](...args) { + return this.getModifierState.apply(this, args); + } + [S$1._initMouseEvent](type, bubbles, cancelable, view, detail, screenX, screenY, clientX, clientY, ctrlKey, altKey, shiftKey, metaKey, button, relatedTarget) { + let relatedTarget_1 = html$._convertDartToNative_EventTarget(relatedTarget); + this[S$1._initMouseEvent_1](type, bubbles, cancelable, view, detail, screenX, screenY, clientX, clientY, ctrlKey, altKey, shiftKey, metaKey, button, relatedTarget_1); + return; + } + [S$1._initMouseEvent_1](...args) { + return this.initMouseEvent.apply(this, args); + } + get [S.$client]() { + return new (T$0.PointOfnum()).new(this[S$1._clientX], this[S$1._clientY]); + } + get [S$1.$movement]() { + return new (T$0.PointOfnum()).new(dart.nullCheck(this[S$1._movementX]), dart.nullCheck(this[S$1._movementY])); + } + get [S.$offset]() { + if (!!this.offsetX) { + let x = this.offsetX; + let y = this.offsetY; + return new (T$0.PointOfnum()).new(core.num.as(x), core.num.as(y)); + } else { + if (!html$.Element.is(this[S.$target])) { + dart.throw(new core.UnsupportedError.new("offsetX is only supported on elements")); + } + let target = html$.Element.as(this[S.$target]); + let point = this[S.$client]['-'](target.getBoundingClientRect()[$topLeft]); + return new (T$0.PointOfnum()).new(point.x[$toInt](), point.y[$toInt]()); + } + } + get [S$1.$screen]() { + return new (T$0.PointOfnum()).new(this[S$1._screenX], this[S$1._screenY]); + } + get [S$1.$layer]() { + return new (T$0.PointOfnum()).new(dart.nullCheck(this[S$1._layerX]), dart.nullCheck(this[S$1._layerY])); + } + get [S$0.$page]() { + return new (T$0.PointOfnum()).new(dart.nullCheck(this[S$1._pageX]), dart.nullCheck(this[S$1._pageY])); + } + get [S$1.$dataTransfer]() { + return this.dataTransfer; + } +}; +dart.addTypeTests(html$.MouseEvent); +dart.addTypeCaches(html$.MouseEvent); +dart.setMethodSignature(html$.MouseEvent, () => ({ + __proto__: dart.getMethods(html$.MouseEvent.__proto__), + [S$1.$getModifierState]: dart.fnType(core.bool, [core.String]), + [S$1._initMouseEvent]: dart.fnType(dart.void, [dart.nullable(core.String), dart.nullable(core.bool), dart.nullable(core.bool), dart.nullable(html$.Window), dart.nullable(core.int), dart.nullable(core.int), dart.nullable(core.int), dart.nullable(core.int), dart.nullable(core.int), dart.nullable(core.bool), dart.nullable(core.bool), dart.nullable(core.bool), dart.nullable(core.bool), dart.nullable(core.int), dart.nullable(html$.EventTarget)]), + [S$1._initMouseEvent_1]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.nullable(html$.Window), dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic]) +})); +dart.setGetterSignature(html$.MouseEvent, () => ({ + __proto__: dart.getGetters(html$.MouseEvent.__proto__), + [S$1.$altKey]: core.bool, + [S$1.$button]: core.int, + [S$1.$buttons]: dart.nullable(core.int), + [S$1._clientX]: core.num, + [S$1._clientY]: core.num, + [S$1.$ctrlKey]: core.bool, + [S$1.$fromElement]: dart.nullable(html$.Node), + [S$1._layerX]: dart.nullable(core.int), + [S$1._layerY]: dart.nullable(core.int), + [S$1.$metaKey]: core.bool, + [S$1._movementX]: dart.nullable(core.int), + [S$1._movementY]: dart.nullable(core.int), + [S$1._pageX]: dart.nullable(core.num), + [S$1._pageY]: dart.nullable(core.num), + [S$1.$region]: dart.nullable(core.String), + [S$1.$relatedTarget]: dart.nullable(html$.EventTarget), + [S$1._get_relatedTarget]: dart.dynamic, + [S$1._screenX]: core.num, + [S$1._screenY]: core.num, + [S$1.$shiftKey]: core.bool, + [S$1.$toElement]: dart.nullable(html$.Node), + [S.$client]: math.Point$(core.num), + [S$1.$movement]: math.Point$(core.num), + [S.$offset]: math.Point$(core.num), + [S$1.$screen]: math.Point$(core.num), + [S$1.$layer]: math.Point$(core.num), + [S$0.$page]: math.Point$(core.num), + [S$1.$dataTransfer]: html$.DataTransfer +})); +dart.setLibraryUri(html$.MouseEvent, I[148]); +dart.registerExtension("MouseEvent", html$.MouseEvent); +dart.registerExtension("DragEvent", html$.MouseEvent); +html$.MutationEvent = class MutationEvent extends html$.Event { + get [S$1.$attrChange]() { + return this.attrChange; + } + get [S$1.$attrName]() { + return this.attrName; + } + get [S$1.$newValue]() { + return this.newValue; + } + get [S$1.$prevValue]() { + return this.prevValue; + } + get [S$1.$relatedNode]() { + return this.relatedNode; + } + [S$1.$initMutationEvent](...args) { + return this.initMutationEvent.apply(this, args); + } +}; +dart.addTypeTests(html$.MutationEvent); +dart.addTypeCaches(html$.MutationEvent); +dart.setMethodSignature(html$.MutationEvent, () => ({ + __proto__: dart.getMethods(html$.MutationEvent.__proto__), + [S$1.$initMutationEvent]: dart.fnType(dart.void, [dart.nullable(core.String), dart.nullable(core.bool), dart.nullable(core.bool), dart.nullable(html$.Node), dart.nullable(core.String), dart.nullable(core.String), dart.nullable(core.String), dart.nullable(core.int)]) +})); +dart.setGetterSignature(html$.MutationEvent, () => ({ + __proto__: dart.getGetters(html$.MutationEvent.__proto__), + [S$1.$attrChange]: dart.nullable(core.int), + [S$1.$attrName]: dart.nullable(core.String), + [S$1.$newValue]: dart.nullable(core.String), + [S$1.$prevValue]: dart.nullable(core.String), + [S$1.$relatedNode]: dart.nullable(html$.Node) +})); +dart.setLibraryUri(html$.MutationEvent, I[148]); +dart.defineLazy(html$.MutationEvent, { + /*html$.MutationEvent.ADDITION*/get ADDITION() { + return 2; + }, + /*html$.MutationEvent.MODIFICATION*/get MODIFICATION() { + return 1; + }, + /*html$.MutationEvent.REMOVAL*/get REMOVAL() { + return 3; + } +}, false); +dart.registerExtension("MutationEvent", html$.MutationEvent); +html$.MutationObserver = class MutationObserver extends _interceptors.Interceptor { + [S$1.$disconnect](...args) { + return this.disconnect.apply(this, args); + } + [S$1._observe](target, options = null) { + if (target == null) dart.nullFailed(I[147], 22443, 22, "target"); + if (options != null) { + let options_1 = html_common.convertDartToNative_Dictionary(options); + this[S$1._observe_1$1](target, options_1); + return; + } + this[S$1._observe_2](target); + return; + } + [S$1._observe_1$1](...args) { + return this.observe.apply(this, args); + } + [S$1._observe_2](...args) { + return this.observe.apply(this, args); + } + [S$1.$takeRecords](...args) { + return this.takeRecords.apply(this, args); + } + static get supported() { + return !!(window.MutationObserver || window.WebKitMutationObserver); + } + [S.$observe](target, opts) { + if (target == null) dart.nullFailed(I[147], 22479, 21, "target"); + let childList = opts && 'childList' in opts ? opts.childList : null; + let attributes = opts && 'attributes' in opts ? opts.attributes : null; + let characterData = opts && 'characterData' in opts ? opts.characterData : null; + let subtree = opts && 'subtree' in opts ? opts.subtree : null; + let attributeOldValue = opts && 'attributeOldValue' in opts ? opts.attributeOldValue : null; + let characterDataOldValue = opts && 'characterDataOldValue' in opts ? opts.characterDataOldValue : null; + let attributeFilter = opts && 'attributeFilter' in opts ? opts.attributeFilter : null; + let parsedOptions = html$.MutationObserver._createDict(); + function override(key, value) { + if (value != null) html$.MutationObserver._add(parsedOptions, core.String.as(key), value); + } + dart.fn(override, T$.dynamicAnddynamicToNull()); + override("childList", childList); + override("attributes", attributes); + override("characterData", characterData); + override("subtree", subtree); + override("attributeOldValue", attributeOldValue); + override("characterDataOldValue", characterDataOldValue); + if (attributeFilter != null) { + override("attributeFilter", html$.MutationObserver._fixupList(attributeFilter)); + } + this[S$1._call](target, parsedOptions); + } + static _createDict() { + return {}; + } + static _add(m, key, value) { + if (key == null) dart.nullFailed(I[147], 22519, 25, "key"); + m[key] = value; + } + static _fixupList(list) { + return list; + } + [S$1._call](...args) { + return this.observe.apply(this, args); + } + static new(callback) { + if (callback == null) dart.nullFailed(I[147], 22529, 45, "callback"); + 0; + return new (window.MutationObserver || window.WebKitMutationObserver || window.MozMutationObserver)(_js_helper.convertDartClosureToJS(T$0.ListAndMutationObserverToNvoid(), html$._wrapBinaryZone(core.List, html$.MutationObserver, callback), 2)); + } +}; +dart.addTypeTests(html$.MutationObserver); +dart.addTypeCaches(html$.MutationObserver); +dart.setMethodSignature(html$.MutationObserver, () => ({ + __proto__: dart.getMethods(html$.MutationObserver.__proto__), + [S$1.$disconnect]: dart.fnType(dart.void, []), + [S$1._observe]: dart.fnType(dart.void, [html$.Node], [dart.nullable(core.Map)]), + [S$1._observe_1$1]: dart.fnType(dart.void, [html$.Node, dart.dynamic]), + [S$1._observe_2]: dart.fnType(dart.void, [html$.Node]), + [S$1.$takeRecords]: dart.fnType(core.List$(html$.MutationRecord), []), + [S.$observe]: dart.fnType(dart.void, [html$.Node], {attributeFilter: dart.nullable(core.List$(core.String)), attributeOldValue: dart.nullable(core.bool), attributes: dart.nullable(core.bool), characterData: dart.nullable(core.bool), characterDataOldValue: dart.nullable(core.bool), childList: dart.nullable(core.bool), subtree: dart.nullable(core.bool)}, {}), + [S$1._call]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic]) +})); +dart.setLibraryUri(html$.MutationObserver, I[148]); +dart.defineLazy(html$.MutationObserver, { + /*html$.MutationObserver._boolKeys*/get _boolKeys() { + return C[350] || CT.C350; + } +}, false); +dart.registerExtension("MutationObserver", html$.MutationObserver); +dart.registerExtension("WebKitMutationObserver", html$.MutationObserver); +html$.MutationRecord = class MutationRecord extends _interceptors.Interceptor { + get [S$1.$addedNodes]() { + return this.addedNodes; + } + get [S$1.$attributeName]() { + return this.attributeName; + } + get [S$1.$attributeNamespace]() { + return this.attributeNamespace; + } + get [S$1.$nextSibling]() { + return this.nextSibling; + } + get [S$1.$oldValue]() { + return this.oldValue; + } + get [S$1.$previousSibling]() { + return this.previousSibling; + } + get [S$1.$removedNodes]() { + return this.removedNodes; + } + get [S.$target]() { + return this.target; + } + get [S.$type]() { + return this.type; + } +}; +dart.addTypeTests(html$.MutationRecord); +dart.addTypeCaches(html$.MutationRecord); +dart.setGetterSignature(html$.MutationRecord, () => ({ + __proto__: dart.getGetters(html$.MutationRecord.__proto__), + [S$1.$addedNodes]: dart.nullable(core.List$(html$.Node)), + [S$1.$attributeName]: dart.nullable(core.String), + [S$1.$attributeNamespace]: dart.nullable(core.String), + [S$1.$nextSibling]: dart.nullable(html$.Node), + [S$1.$oldValue]: dart.nullable(core.String), + [S$1.$previousSibling]: dart.nullable(html$.Node), + [S$1.$removedNodes]: dart.nullable(core.List$(html$.Node)), + [S.$target]: dart.nullable(html$.Node), + [S.$type]: dart.nullable(core.String) +})); +dart.setLibraryUri(html$.MutationRecord, I[148]); +dart.registerExtension("MutationRecord", html$.MutationRecord); +html$.NavigationPreloadManager = class NavigationPreloadManager extends _interceptors.Interceptor { + [S$1.$disable]() { + return js_util.promiseToFuture(dart.dynamic, this.disable()); + } + [S$1.$enable]() { + return js_util.promiseToFuture(dart.dynamic, this.enable()); + } + [S$1.$getState]() { + return html$.promiseToFutureAsMap(this.getState()); + } +}; +dart.addTypeTests(html$.NavigationPreloadManager); +dart.addTypeCaches(html$.NavigationPreloadManager); +dart.setMethodSignature(html$.NavigationPreloadManager, () => ({ + __proto__: dart.getMethods(html$.NavigationPreloadManager.__proto__), + [S$1.$disable]: dart.fnType(async.Future, []), + [S$1.$enable]: dart.fnType(async.Future, []), + [S$1.$getState]: dart.fnType(async.Future$(dart.nullable(core.Map$(core.String, dart.dynamic))), []) +})); +dart.setLibraryUri(html$.NavigationPreloadManager, I[148]); +dart.registerExtension("NavigationPreloadManager", html$.NavigationPreloadManager); +html$.NavigatorConcurrentHardware = class NavigatorConcurrentHardware extends _interceptors.Interceptor { + get [S$2.$hardwareConcurrency]() { + return this.hardwareConcurrency; + } +}; +dart.addTypeTests(html$.NavigatorConcurrentHardware); +dart.addTypeCaches(html$.NavigatorConcurrentHardware); +dart.setGetterSignature(html$.NavigatorConcurrentHardware, () => ({ + __proto__: dart.getGetters(html$.NavigatorConcurrentHardware.__proto__), + [S$2.$hardwareConcurrency]: dart.nullable(core.int) +})); +dart.setLibraryUri(html$.NavigatorConcurrentHardware, I[148]); +dart.registerExtension("NavigatorConcurrentHardware", html$.NavigatorConcurrentHardware); +html$.Navigator = class Navigator extends html$.NavigatorConcurrentHardware { + [S$1.$getGamepads]() { + let gamepadList = this[S$1._getGamepads](); + let jsProto = gamepadList.prototype; + if (jsProto == null) { + gamepadList.prototype = Object.create(null); + } + _js_helper.applyExtension("GamepadList", gamepadList); + return gamepadList; + } + get [S$1.$language]() { + return this.language || this.userLanguage; + } + [S$1.$getUserMedia](opts) { + let audio = opts && 'audio' in opts ? opts.audio : false; + let video = opts && 'video' in opts ? opts.video : false; + let completer = T$0.CompleterOfMediaStream().new(); + let options = new (T$0.IdentityMapOfString$dynamic()).from(["audio", audio, "video", video]); + this[S$1._ensureGetUserMedia](); + this[S$1._getUserMedia](html_common.convertDartToNative_SerializedScriptValue(options), dart.fn(stream => { + if (stream == null) dart.nullFailed(I[147], 22660, 10, "stream"); + completer.complete(stream); + }, T$0.MediaStreamTovoid()), dart.fn(error => { + if (error == null) dart.nullFailed(I[147], 22662, 9, "error"); + completer.completeError(error); + }, T$0.NavigatorUserMediaErrorTovoid())); + return completer.future; + } + [S$1._ensureGetUserMedia]() { + if (!this.getUserMedia) { + this.getUserMedia = this.getUserMedia || this.webkitGetUserMedia || this.mozGetUserMedia || this.msGetUserMedia; + } + } + [S$1._getUserMedia](...args) { + return this.getUserMedia.apply(this, args); + } + get [S$1.$budget]() { + return this.budget; + } + get [S$1.$clipboard]() { + return this.clipboard; + } + get [S$1.$connection]() { + return this.connection; + } + get [S$1.$credentials]() { + return this.credentials; + } + get [S$1.$deviceMemory]() { + return this.deviceMemory; + } + get [S$1.$doNotTrack]() { + return this.doNotTrack; + } + get [S$1.$geolocation]() { + return this.geolocation; + } + get [S$2.$maxTouchPoints]() { + return this.maxTouchPoints; + } + get [S$2.$mediaCapabilities]() { + return this.mediaCapabilities; + } + get [S$2.$mediaDevices]() { + return this.mediaDevices; + } + get [S$2.$mediaSession]() { + return this.mediaSession; + } + get [S$2.$mimeTypes]() { + return this.mimeTypes; + } + get [S$2.$nfc]() { + return this.nfc; + } + get [S$2.$permissions]() { + return this.permissions; + } + get [S$2.$presentation]() { + return this.presentation; + } + get [S$2.$productSub]() { + return this.productSub; + } + get [S$2.$serviceWorker]() { + return this.serviceWorker; + } + get [S$2.$storage]() { + return this.storage; + } + get [S$2.$vendor]() { + return this.vendor; + } + get [S$2.$vendorSub]() { + return this.vendorSub; + } + get [S$2.$vr]() { + return this.vr; + } + get [S$2.$persistentStorage]() { + return this.webkitPersistentStorage; + } + get [S$2.$temporaryStorage]() { + return this.webkitTemporaryStorage; + } + [S$2.$cancelKeyboardLock](...args) { + return this.cancelKeyboardLock.apply(this, args); + } + [S$2.$getBattery]() { + return js_util.promiseToFuture(dart.dynamic, this.getBattery()); + } + [S$1._getGamepads](...args) { + return this.getGamepads.apply(this, args); + } + [S$2.$getInstalledRelatedApps]() { + return js_util.promiseToFuture(html$.RelatedApplication, this.getInstalledRelatedApps()); + } + [S$2.$getVRDisplays]() { + return js_util.promiseToFuture(dart.dynamic, this.getVRDisplays()); + } + [S$2.$registerProtocolHandler](...args) { + return this.registerProtocolHandler.apply(this, args); + } + [S$2.$requestKeyboardLock](keyCodes = null) { + if (keyCodes != null) { + let keyCodes_1 = html_common.convertDartToNative_StringArray(keyCodes); + return this[S$2._requestKeyboardLock_1](keyCodes_1); + } + return this[S$2._requestKeyboardLock_2](); + } + [S$2._requestKeyboardLock_1](keyCodes) { + if (keyCodes == null) dart.nullFailed(I[147], 22776, 38, "keyCodes"); + return js_util.promiseToFuture(dart.dynamic, this.requestKeyboardLock(keyCodes)); + } + [S$2._requestKeyboardLock_2]() { + return js_util.promiseToFuture(dart.dynamic, this.requestKeyboardLock()); + } + [S$2.$requestMidiAccess](options = null) { + let options_dict = null; + if (options != null) { + options_dict = html_common.convertDartToNative_Dictionary(options); + } + return js_util.promiseToFuture(dart.dynamic, this.requestMIDIAccess(options_dict)); + } + [S$2.$requestMediaKeySystemAccess](keySystem, supportedConfigurations) { + if (keySystem == null) dart.nullFailed(I[147], 22793, 18, "keySystem"); + if (supportedConfigurations == null) dart.nullFailed(I[147], 22793, 39, "supportedConfigurations"); + return js_util.promiseToFuture(dart.dynamic, this.requestMediaKeySystemAccess(keySystem, supportedConfigurations)); + } + [S$2.$sendBeacon](...args) { + return this.sendBeacon.apply(this, args); + } + [S$2.$share](data = null) { + let data_dict = null; + if (data != null) { + data_dict = html_common.convertDartToNative_Dictionary(data); + } + return js_util.promiseToFuture(dart.dynamic, this.share(data_dict)); + } + get [S$2.$webdriver]() { + return this.webdriver; + } + get [S$2.$cookieEnabled]() { + return this.cookieEnabled; + } + get [S$2.$appCodeName]() { + return this.appCodeName; + } + get [S$2.$appName]() { + return this.appName; + } + get [S$2.$appVersion]() { + return this.appVersion; + } + get [S$2.$dartEnabled]() { + return this.dartEnabled; + } + get [S$2.$platform]() { + return this.platform; + } + get [S$2.$product]() { + return this.product; + } + get [S$2.$userAgent]() { + return this.userAgent; + } + get [S$2.$languages]() { + return this.languages; + } + get [S$2.$onLine]() { + return this.onLine; + } +}; +dart.addTypeTests(html$.Navigator); +dart.addTypeCaches(html$.Navigator); +html$.Navigator[dart.implements] = () => [html$.NavigatorCookies, html$.NavigatorLanguage, html$.NavigatorOnLine, html$.NavigatorAutomationInformation, html$.NavigatorID]; +dart.setMethodSignature(html$.Navigator, () => ({ + __proto__: dart.getMethods(html$.Navigator.__proto__), + [S$1.$getGamepads]: dart.fnType(core.List$(dart.nullable(html$.Gamepad)), []), + [S$1.$getUserMedia]: dart.fnType(async.Future$(html$.MediaStream), [], {audio: dart.dynamic, video: dart.dynamic}, {}), + [S$1._ensureGetUserMedia]: dart.fnType(dart.dynamic, []), + [S$1._getUserMedia]: dart.fnType(dart.void, [dart.dynamic, dart.fnType(dart.void, [html$.MediaStream]), dart.fnType(dart.void, [html$.NavigatorUserMediaError])]), + [S$2.$cancelKeyboardLock]: dart.fnType(dart.void, []), + [S$2.$getBattery]: dart.fnType(async.Future, []), + [S$1._getGamepads]: dart.fnType(core.List$(dart.nullable(html$.Gamepad)), []), + [S$2.$getInstalledRelatedApps]: dart.fnType(async.Future$(html$.RelatedApplication), []), + [S$2.$getVRDisplays]: dart.fnType(async.Future, []), + [S$2.$registerProtocolHandler]: dart.fnType(dart.void, [core.String, core.String, core.String]), + [S$2.$requestKeyboardLock]: dart.fnType(async.Future, [], [dart.nullable(core.List$(core.String))]), + [S$2._requestKeyboardLock_1]: dart.fnType(async.Future, [core.List]), + [S$2._requestKeyboardLock_2]: dart.fnType(async.Future, []), + [S$2.$requestMidiAccess]: dart.fnType(async.Future, [], [dart.nullable(core.Map)]), + [S$2.$requestMediaKeySystemAccess]: dart.fnType(async.Future, [core.String, core.List$(core.Map)]), + [S$2.$sendBeacon]: dart.fnType(core.bool, [core.String, dart.nullable(core.Object)]), + [S$2.$share]: dart.fnType(async.Future, [], [dart.nullable(core.Map)]) +})); +dart.setGetterSignature(html$.Navigator, () => ({ + __proto__: dart.getGetters(html$.Navigator.__proto__), + [S$1.$language]: core.String, + [S$1.$budget]: dart.nullable(html$._BudgetService), + [S$1.$clipboard]: dart.nullable(html$._Clipboard), + [S$1.$connection]: dart.nullable(html$.NetworkInformation), + [S$1.$credentials]: dart.nullable(html$.CredentialsContainer), + [S$1.$deviceMemory]: dart.nullable(core.num), + [S$1.$doNotTrack]: dart.nullable(core.String), + [S$1.$geolocation]: html$.Geolocation, + [S$2.$maxTouchPoints]: dart.nullable(core.int), + [S$2.$mediaCapabilities]: dart.nullable(html$.MediaCapabilities), + [S$2.$mediaDevices]: dart.nullable(html$.MediaDevices), + [S$2.$mediaSession]: dart.nullable(html$.MediaSession), + [S$2.$mimeTypes]: dart.nullable(html$.MimeTypeArray), + [S$2.$nfc]: dart.nullable(html$._NFC), + [S$2.$permissions]: dart.nullable(html$.Permissions), + [S$2.$presentation]: dart.nullable(html$.Presentation), + [S$2.$productSub]: dart.nullable(core.String), + [S$2.$serviceWorker]: dart.nullable(html$.ServiceWorkerContainer), + [S$2.$storage]: dart.nullable(html$.StorageManager), + [S$2.$vendor]: core.String, + [S$2.$vendorSub]: core.String, + [S$2.$vr]: dart.nullable(html$.VR), + [S$2.$persistentStorage]: dart.nullable(html$.DeprecatedStorageQuota), + [S$2.$temporaryStorage]: dart.nullable(html$.DeprecatedStorageQuota), + [S$2.$webdriver]: dart.nullable(core.bool), + [S$2.$cookieEnabled]: dart.nullable(core.bool), + [S$2.$appCodeName]: core.String, + [S$2.$appName]: core.String, + [S$2.$appVersion]: core.String, + [S$2.$dartEnabled]: dart.nullable(core.bool), + [S$2.$platform]: dart.nullable(core.String), + [S$2.$product]: core.String, + [S$2.$userAgent]: core.String, + [S$2.$languages]: dart.nullable(core.List$(core.String)), + [S$2.$onLine]: dart.nullable(core.bool) +})); +dart.setLibraryUri(html$.Navigator, I[148]); +dart.registerExtension("Navigator", html$.Navigator); +html$.NavigatorAutomationInformation = class NavigatorAutomationInformation extends _interceptors.Interceptor { + get [S$2.$webdriver]() { + return this.webdriver; + } +}; +dart.addTypeTests(html$.NavigatorAutomationInformation); +dart.addTypeCaches(html$.NavigatorAutomationInformation); +dart.setGetterSignature(html$.NavigatorAutomationInformation, () => ({ + __proto__: dart.getGetters(html$.NavigatorAutomationInformation.__proto__), + [S$2.$webdriver]: dart.nullable(core.bool) +})); +dart.setLibraryUri(html$.NavigatorAutomationInformation, I[148]); +dart.registerExtension("NavigatorAutomationInformation", html$.NavigatorAutomationInformation); +html$.NavigatorCookies = class NavigatorCookies extends _interceptors.Interceptor { + get [S$2.$cookieEnabled]() { + return this.cookieEnabled; + } +}; +dart.addTypeTests(html$.NavigatorCookies); +dart.addTypeCaches(html$.NavigatorCookies); +dart.setGetterSignature(html$.NavigatorCookies, () => ({ + __proto__: dart.getGetters(html$.NavigatorCookies.__proto__), + [S$2.$cookieEnabled]: dart.nullable(core.bool) +})); +dart.setLibraryUri(html$.NavigatorCookies, I[148]); +dart.registerExtension("NavigatorCookies", html$.NavigatorCookies); +html$.NavigatorID = class NavigatorID extends _interceptors.Interceptor { + get appCodeName() { + return this.appCodeName; + } + get appName() { + return this.appName; + } + get appVersion() { + return this.appVersion; + } + get dartEnabled() { + return this.dartEnabled; + } + get platform() { + return this.platform; + } + get product() { + return this.product; + } + get userAgent() { + return this.userAgent; + } +}; +dart.addTypeTests(html$.NavigatorID); +dart.addTypeCaches(html$.NavigatorID); +dart.setGetterSignature(html$.NavigatorID, () => ({ + __proto__: dart.getGetters(html$.NavigatorID.__proto__), + appCodeName: core.String, + [S$2.$appCodeName]: core.String, + appName: core.String, + [S$2.$appName]: core.String, + appVersion: core.String, + [S$2.$appVersion]: core.String, + dartEnabled: dart.nullable(core.bool), + [S$2.$dartEnabled]: dart.nullable(core.bool), + platform: dart.nullable(core.String), + [S$2.$platform]: dart.nullable(core.String), + product: core.String, + [S$2.$product]: core.String, + userAgent: core.String, + [S$2.$userAgent]: core.String +})); +dart.setLibraryUri(html$.NavigatorID, I[148]); +dart.defineExtensionAccessors(html$.NavigatorID, [ + 'appCodeName', + 'appName', + 'appVersion', + 'dartEnabled', + 'platform', + 'product', + 'userAgent' +]); +html$.NavigatorLanguage = class NavigatorLanguage extends _interceptors.Interceptor { + get language() { + return this.language; + } + get languages() { + return this.languages; + } +}; +dart.addTypeTests(html$.NavigatorLanguage); +dart.addTypeCaches(html$.NavigatorLanguage); +dart.setGetterSignature(html$.NavigatorLanguage, () => ({ + __proto__: dart.getGetters(html$.NavigatorLanguage.__proto__), + language: dart.nullable(core.String), + [S$1.$language]: dart.nullable(core.String), + languages: dart.nullable(core.List$(core.String)), + [S$2.$languages]: dart.nullable(core.List$(core.String)) +})); +dart.setLibraryUri(html$.NavigatorLanguage, I[148]); +dart.defineExtensionAccessors(html$.NavigatorLanguage, ['language', 'languages']); +html$.NavigatorOnLine = class NavigatorOnLine extends _interceptors.Interceptor { + get onLine() { + return this.onLine; + } +}; +dart.addTypeTests(html$.NavigatorOnLine); +dart.addTypeCaches(html$.NavigatorOnLine); +dart.setGetterSignature(html$.NavigatorOnLine, () => ({ + __proto__: dart.getGetters(html$.NavigatorOnLine.__proto__), + onLine: dart.nullable(core.bool), + [S$2.$onLine]: dart.nullable(core.bool) +})); +dart.setLibraryUri(html$.NavigatorOnLine, I[148]); +dart.defineExtensionAccessors(html$.NavigatorOnLine, ['onLine']); +html$.NavigatorUserMediaError = class NavigatorUserMediaError extends _interceptors.Interceptor { + get [S$2.$constraintName]() { + return this.constraintName; + } + get [$message]() { + return this.message; + } + get [$name]() { + return this.name; + } +}; +dart.addTypeTests(html$.NavigatorUserMediaError); +dart.addTypeCaches(html$.NavigatorUserMediaError); +dart.setGetterSignature(html$.NavigatorUserMediaError, () => ({ + __proto__: dart.getGetters(html$.NavigatorUserMediaError.__proto__), + [S$2.$constraintName]: dart.nullable(core.String), + [$message]: dart.nullable(core.String), + [$name]: dart.nullable(core.String) +})); +dart.setLibraryUri(html$.NavigatorUserMediaError, I[148]); +dart.registerExtension("NavigatorUserMediaError", html$.NavigatorUserMediaError); +html$.NetworkInformation = class NetworkInformation extends html$.EventTarget { + get [S$2.$downlink]() { + return this.downlink; + } + get [S$2.$downlinkMax]() { + return this.downlinkMax; + } + get [S$2.$effectiveType]() { + return this.effectiveType; + } + get [S$2.$rtt]() { + return this.rtt; + } + get [S.$type]() { + return this.type; + } + get [S.$onChange]() { + return html$.NetworkInformation.changeEvent.forTarget(this); + } +}; +dart.addTypeTests(html$.NetworkInformation); +dart.addTypeCaches(html$.NetworkInformation); +dart.setGetterSignature(html$.NetworkInformation, () => ({ + __proto__: dart.getGetters(html$.NetworkInformation.__proto__), + [S$2.$downlink]: dart.nullable(core.num), + [S$2.$downlinkMax]: dart.nullable(core.num), + [S$2.$effectiveType]: dart.nullable(core.String), + [S$2.$rtt]: dart.nullable(core.int), + [S.$type]: dart.nullable(core.String), + [S.$onChange]: async.Stream$(html$.Event) +})); +dart.setLibraryUri(html$.NetworkInformation, I[148]); +dart.defineLazy(html$.NetworkInformation, { + /*html$.NetworkInformation.changeEvent*/get changeEvent() { + return C[236] || CT.C236; + } +}, false); +dart.registerExtension("NetworkInformation", html$.NetworkInformation); +html$._ChildNodeListLazy = class _ChildNodeListLazy extends collection.ListBase$(html$.Node) { + get first() { + let result = this[S$._this].firstChild; + if (result == null) dart.throw(new core.StateError.new("No elements")); + return result; + } + set first(value) { + super.first = value; + } + get last() { + let result = this[S$._this].lastChild; + if (result == null) dart.throw(new core.StateError.new("No elements")); + return result; + } + set last(value) { + super.last = value; + } + get single() { + let l = this.length; + if (l === 0) dart.throw(new core.StateError.new("No elements")); + if (dart.notNull(l) > 1) dart.throw(new core.StateError.new("More than one element")); + return dart.nullCheck(this[S$._this].firstChild); + } + add(value) { + html$.Node.as(value); + if (value == null) dart.nullFailed(I[147], 23025, 17, "value"); + this[S$._this][S.$append](value); + } + addAll(iterable) { + T$0.IterableOfNode().as(iterable); + if (iterable == null) dart.nullFailed(I[147], 23029, 30, "iterable"); + if (html$._ChildNodeListLazy.is(iterable)) { + let otherList = iterable; + if (otherList[S$._this] != this[S$._this]) { + for (let i = 0, len = otherList.length; i < dart.notNull(len); i = i + 1) { + this[S$._this][S.$append](dart.nullCheck(otherList[S$._this].firstChild)); + } + } + return; + } + for (let node of iterable) { + this[S$._this][S.$append](node); + } + } + insert(index, node) { + if (index == null) dart.nullFailed(I[147], 23045, 19, "index"); + html$.Node.as(node); + if (node == null) dart.nullFailed(I[147], 23045, 31, "node"); + if (dart.notNull(index) < 0 || dart.notNull(index) > dart.notNull(this.length)) { + dart.throw(new core.RangeError.range(index, 0, this.length)); + } + if (index == this.length) { + this[S$._this][S.$append](node); + } else { + this[S$._this].insertBefore(node, this._get(index)); + } + } + insertAll(index, iterable) { + if (index == null) dart.nullFailed(I[147], 23056, 22, "index"); + T$0.IterableOfNode().as(iterable); + if (iterable == null) dart.nullFailed(I[147], 23056, 44, "iterable"); + if (index == this.length) { + this.addAll(iterable); + } else { + let item = this._get(index); + this[S$._this][S$.$insertAllBefore](iterable, item); + } + } + setAll(index, iterable) { + if (index == null) dart.nullFailed(I[147], 23065, 19, "index"); + T$0.IterableOfNode().as(iterable); + if (iterable == null) dart.nullFailed(I[147], 23065, 41, "iterable"); + dart.throw(new core.UnsupportedError.new("Cannot setAll on Node list")); + } + removeLast() { + let result = this.last; + if (result != null) { + this[S$._this][S$._removeChild](result); + } + return result; + } + removeAt(index) { + if (index == null) dart.nullFailed(I[147], 23077, 21, "index"); + let result = this._get(index); + if (result != null) { + this[S$._this][S$._removeChild](result); + } + return result; + } + remove(object) { + if (!html$.Node.is(object)) return false; + let node = object; + if (this[S$._this] != node.parentNode) return false; + this[S$._this][S$._removeChild](node); + return true; + } + [S$1._filter$2](test, removeMatching) { + if (test == null) dart.nullFailed(I[147], 23093, 21, "test"); + if (removeMatching == null) dart.nullFailed(I[147], 23093, 43, "removeMatching"); + let child = this[S$._this].firstChild; + while (child != null) { + let nextChild = child[S.$nextNode]; + if (test(child) == removeMatching) { + this[S$._this][S$._removeChild](child); + } + child = nextChild; + } + } + removeWhere(test) { + if (test == null) dart.nullFailed(I[147], 23107, 25, "test"); + this[S$1._filter$2](test, true); + } + retainWhere(test) { + if (test == null) dart.nullFailed(I[147], 23111, 25, "test"); + this[S$1._filter$2](test, false); + } + clear() { + this[S$._this][S$._clearChildren](); + } + _set(index, value$) { + let value = value$; + if (index == null) dart.nullFailed(I[147], 23119, 25, "index"); + html$.Node.as(value); + if (value == null) dart.nullFailed(I[147], 23119, 37, "value"); + this[S$._this][S$._replaceChild](value, this._get(index)); + return value$; + } + get iterator() { + return this[S$._this].childNodes[$iterator]; + } + sort(compare = null) { + dart.throw(new core.UnsupportedError.new("Cannot sort Node list")); + } + shuffle(random = null) { + dart.throw(new core.UnsupportedError.new("Cannot shuffle Node list")); + } + setRange(start, end, iterable, skipCount = 0) { + if (start == null) dart.nullFailed(I[147], 23138, 21, "start"); + if (end == null) dart.nullFailed(I[147], 23138, 32, "end"); + T$0.IterableOfNode().as(iterable); + if (iterable == null) dart.nullFailed(I[147], 23138, 52, "iterable"); + if (skipCount == null) dart.nullFailed(I[147], 23139, 12, "skipCount"); + dart.throw(new core.UnsupportedError.new("Cannot setRange on Node list")); + } + fillRange(start, end, fill = null) { + if (start == null) dart.nullFailed(I[147], 23143, 22, "start"); + if (end == null) dart.nullFailed(I[147], 23143, 33, "end"); + T$0.NodeN$1().as(fill); + dart.throw(new core.UnsupportedError.new("Cannot fillRange on Node list")); + } + removeRange(start, end) { + if (start == null) dart.nullFailed(I[147], 23147, 24, "start"); + if (end == null) dart.nullFailed(I[147], 23147, 35, "end"); + dart.throw(new core.UnsupportedError.new("Cannot removeRange on Node list")); + } + get length() { + return this[S$._this].childNodes[$length]; + } + set length(value) { + if (value == null) dart.nullFailed(I[147], 23156, 18, "value"); + dart.throw(new core.UnsupportedError.new("Cannot set length on immutable List.")); + } + _get(index) { + if (index == null) dart.nullFailed(I[147], 23160, 24, "index"); + return this[S$._this].childNodes[$_get](index); + } + get rawList() { + return this[S$._this].childNodes; + } +}; +(html$._ChildNodeListLazy.new = function(_this) { + if (_this == null) dart.nullFailed(I[147], 23004, 27, "_this"); + this[S$._this] = _this; + ; +}).prototype = html$._ChildNodeListLazy.prototype; +dart.addTypeTests(html$._ChildNodeListLazy); +dart.addTypeCaches(html$._ChildNodeListLazy); +html$._ChildNodeListLazy[dart.implements] = () => [html_common.NodeListWrapper]; +dart.setMethodSignature(html$._ChildNodeListLazy, () => ({ + __proto__: dart.getMethods(html$._ChildNodeListLazy.__proto__), + [S$1._filter$2]: dart.fnType(dart.void, [dart.fnType(core.bool, [html$.Node]), core.bool]), + _set: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), + [$_set]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), + _get: dart.fnType(html$.Node, [core.int]), + [$_get]: dart.fnType(html$.Node, [core.int]) +})); +dart.setGetterSignature(html$._ChildNodeListLazy, () => ({ + __proto__: dart.getGetters(html$._ChildNodeListLazy.__proto__), + length: core.int, + [$length]: core.int, + rawList: core.List$(html$.Node) +})); +dart.setSetterSignature(html$._ChildNodeListLazy, () => ({ + __proto__: dart.getSetters(html$._ChildNodeListLazy.__proto__), + length: core.int, + [$length]: core.int +})); +dart.setLibraryUri(html$._ChildNodeListLazy, I[148]); +dart.setFieldSignature(html$._ChildNodeListLazy, () => ({ + __proto__: dart.getFields(html$._ChildNodeListLazy.__proto__), + [S$._this]: dart.finalFieldType(html$.Node) +})); +dart.defineExtensionMethods(html$._ChildNodeListLazy, [ + 'add', + 'addAll', + 'insert', + 'insertAll', + 'setAll', + 'removeLast', + 'removeAt', + 'remove', + 'removeWhere', + 'retainWhere', + 'clear', + '_set', + 'sort', + 'shuffle', + 'setRange', + 'fillRange', + 'removeRange', + '_get' +]); +dart.defineExtensionAccessors(html$._ChildNodeListLazy, [ + 'first', + 'last', + 'single', + 'iterator', + 'length' +]); +html$.NodeFilter = class NodeFilter extends _interceptors.Interceptor {}; +dart.addTypeTests(html$.NodeFilter); +dart.addTypeCaches(html$.NodeFilter); +dart.setLibraryUri(html$.NodeFilter, I[148]); +dart.defineLazy(html$.NodeFilter, { + /*html$.NodeFilter.FILTER_ACCEPT*/get FILTER_ACCEPT() { + return 1; + }, + /*html$.NodeFilter.FILTER_REJECT*/get FILTER_REJECT() { + return 2; + }, + /*html$.NodeFilter.FILTER_SKIP*/get FILTER_SKIP() { + return 3; + }, + /*html$.NodeFilter.SHOW_ALL*/get SHOW_ALL() { + return 4294967295.0; + }, + /*html$.NodeFilter.SHOW_COMMENT*/get SHOW_COMMENT() { + return 128; + }, + /*html$.NodeFilter.SHOW_DOCUMENT*/get SHOW_DOCUMENT() { + return 256; + }, + /*html$.NodeFilter.SHOW_DOCUMENT_FRAGMENT*/get SHOW_DOCUMENT_FRAGMENT() { + return 1024; + }, + /*html$.NodeFilter.SHOW_DOCUMENT_TYPE*/get SHOW_DOCUMENT_TYPE() { + return 512; + }, + /*html$.NodeFilter.SHOW_ELEMENT*/get SHOW_ELEMENT() { + return 1; + }, + /*html$.NodeFilter.SHOW_PROCESSING_INSTRUCTION*/get SHOW_PROCESSING_INSTRUCTION() { + return 64; + }, + /*html$.NodeFilter.SHOW_TEXT*/get SHOW_TEXT() { + return 4; + } +}, false); +dart.registerExtension("NodeFilter", html$.NodeFilter); +html$.NodeIterator = class NodeIterator extends _interceptors.Interceptor { + static new(root, whatToShow) { + if (root == null) dart.nullFailed(I[147], 23569, 29, "root"); + if (whatToShow == null) dart.nullFailed(I[147], 23569, 39, "whatToShow"); + return html$.document[S$1._createNodeIterator](root, whatToShow, null); + } + get [S$2.$pointerBeforeReferenceNode]() { + return this.pointerBeforeReferenceNode; + } + get [S$2.$referenceNode]() { + return this.referenceNode; + } + get [S$1.$root]() { + return this.root; + } + get [S$2.$whatToShow]() { + return this.whatToShow; + } + [S$2.$detach](...args) { + return this.detach.apply(this, args); + } + [S.$nextNode](...args) { + return this.nextNode.apply(this, args); + } + [S$.$previousNode](...args) { + return this.previousNode.apply(this, args); + } +}; +dart.addTypeTests(html$.NodeIterator); +dart.addTypeCaches(html$.NodeIterator); +dart.setMethodSignature(html$.NodeIterator, () => ({ + __proto__: dart.getMethods(html$.NodeIterator.__proto__), + [S$2.$detach]: dart.fnType(dart.void, []), + [S.$nextNode]: dart.fnType(dart.nullable(html$.Node), []), + [S$.$previousNode]: dart.fnType(dart.nullable(html$.Node), []) +})); +dart.setGetterSignature(html$.NodeIterator, () => ({ + __proto__: dart.getGetters(html$.NodeIterator.__proto__), + [S$2.$pointerBeforeReferenceNode]: dart.nullable(core.bool), + [S$2.$referenceNode]: dart.nullable(html$.Node), + [S$1.$root]: html$.Node, + [S$2.$whatToShow]: core.int +})); +dart.setLibraryUri(html$.NodeIterator, I[148]); +dart.registerExtension("NodeIterator", html$.NodeIterator); +const Interceptor_ListMixin$36$3 = class Interceptor_ListMixin extends _interceptors.Interceptor {}; +(Interceptor_ListMixin$36$3.new = function() { + Interceptor_ListMixin$36$3.__proto__.new.call(this); +}).prototype = Interceptor_ListMixin$36$3.prototype; +dart.applyMixin(Interceptor_ListMixin$36$3, collection.ListMixin$(html$.Node)); +const Interceptor_ImmutableListMixin$36$3 = class Interceptor_ImmutableListMixin extends Interceptor_ListMixin$36$3 {}; +(Interceptor_ImmutableListMixin$36$3.new = function() { + Interceptor_ImmutableListMixin$36$3.__proto__.new.call(this); +}).prototype = Interceptor_ImmutableListMixin$36$3.prototype; +dart.applyMixin(Interceptor_ImmutableListMixin$36$3, html$.ImmutableListMixin$(html$.Node)); +html$.NodeList = class NodeList extends Interceptor_ImmutableListMixin$36$3 { + get [$length]() { + return this.length; + } + [$_get](index) { + if (index == null) dart.nullFailed(I[147], 23606, 24, "index"); + if (index >>> 0 !== index || index >= this[$length]) dart.throw(new core.IndexError.new(index, this)); + return this[index]; + } + [$_set](index, value$) { + let value = value$; + if (index == null) dart.nullFailed(I[147], 23612, 25, "index"); + html$.Node.as(value); + if (value == null) dart.nullFailed(I[147], 23612, 37, "value"); + dart.throw(new core.UnsupportedError.new("Cannot assign element of immutable List.")); + return value$; + } + set [$length](value) { + if (value == null) dart.nullFailed(I[147], 23618, 18, "value"); + dart.throw(new core.UnsupportedError.new("Cannot resize immutable List.")); + } + get [$first]() { + if (dart.notNull(this[$length]) > 0) { + return this[0]; + } + dart.throw(new core.StateError.new("No elements")); + } + set [$first](value) { + super[$first] = value; + } + get [$last]() { + let len = this[$length]; + if (dart.notNull(len) > 0) { + return this[dart.notNull(len) - 1]; + } + dart.throw(new core.StateError.new("No elements")); + } + set [$last](value) { + super[$last] = value; + } + get [$single]() { + let len = this[$length]; + if (len === 1) { + return this[0]; + } + if (len === 0) dart.throw(new core.StateError.new("No elements")); + dart.throw(new core.StateError.new("More than one element")); + } + [$elementAt](index) { + if (index == null) dart.nullFailed(I[147], 23646, 22, "index"); + return this[$_get](index); + } + [S$1._item](...args) { + return this.item.apply(this, args); + } +}; +html$.NodeList.prototype[dart.isList] = true; +dart.addTypeTests(html$.NodeList); +dart.addTypeCaches(html$.NodeList); +html$.NodeList[dart.implements] = () => [_js_helper.JavaScriptIndexingBehavior$(html$.Node), core.List$(html$.Node)]; +dart.setMethodSignature(html$.NodeList, () => ({ + __proto__: dart.getMethods(html$.NodeList.__proto__), + [$_get]: dart.fnType(html$.Node, [core.int]), + [$_set]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), + [S$1._item]: dart.fnType(dart.nullable(html$.Node), [core.int]) +})); +dart.setGetterSignature(html$.NodeList, () => ({ + __proto__: dart.getGetters(html$.NodeList.__proto__), + [$length]: core.int +})); +dart.setSetterSignature(html$.NodeList, () => ({ + __proto__: dart.getSetters(html$.NodeList.__proto__), + [$length]: core.int +})); +dart.setLibraryUri(html$.NodeList, I[148]); +dart.registerExtension("NodeList", html$.NodeList); +dart.registerExtension("RadioNodeList", html$.NodeList); +html$.NonDocumentTypeChildNode = class NonDocumentTypeChildNode extends _interceptors.Interceptor { + get [S.$nextElementSibling]() { + return this.nextElementSibling; + } + get [S.$previousElementSibling]() { + return this.previousElementSibling; + } +}; +dart.addTypeTests(html$.NonDocumentTypeChildNode); +dart.addTypeCaches(html$.NonDocumentTypeChildNode); +dart.setGetterSignature(html$.NonDocumentTypeChildNode, () => ({ + __proto__: dart.getGetters(html$.NonDocumentTypeChildNode.__proto__), + [S.$nextElementSibling]: dart.nullable(html$.Element), + [S.$previousElementSibling]: dart.nullable(html$.Element) +})); +dart.setLibraryUri(html$.NonDocumentTypeChildNode, I[148]); +dart.registerExtension("NonDocumentTypeChildNode", html$.NonDocumentTypeChildNode); +html$.NonElementParentNode = class NonElementParentNode extends _interceptors.Interceptor { + [S$1.$getElementById](...args) { + return this.getElementById.apply(this, args); + } +}; +dart.addTypeTests(html$.NonElementParentNode); +dart.addTypeCaches(html$.NonElementParentNode); +dart.setMethodSignature(html$.NonElementParentNode, () => ({ + __proto__: dart.getMethods(html$.NonElementParentNode.__proto__), + [S$1.$getElementById]: dart.fnType(dart.nullable(html$.Element), [core.String]) +})); +dart.setLibraryUri(html$.NonElementParentNode, I[148]); +dart.registerExtension("NonElementParentNode", html$.NonElementParentNode); +html$.NoncedElement = class NoncedElement extends _interceptors.Interceptor { + get [S.$nonce]() { + return this.nonce; + } + set [S.$nonce](value) { + this.nonce = value; + } +}; +dart.addTypeTests(html$.NoncedElement); +dart.addTypeCaches(html$.NoncedElement); +dart.setGetterSignature(html$.NoncedElement, () => ({ + __proto__: dart.getGetters(html$.NoncedElement.__proto__), + [S.$nonce]: dart.nullable(core.String) +})); +dart.setSetterSignature(html$.NoncedElement, () => ({ + __proto__: dart.getSetters(html$.NoncedElement.__proto__), + [S.$nonce]: dart.nullable(core.String) +})); +dart.setLibraryUri(html$.NoncedElement, I[148]); +dart.registerExtension("NoncedElement", html$.NoncedElement); +html$.Notification = class Notification$ extends html$.EventTarget { + static new(title, opts) { + if (title == null) dart.nullFailed(I[147], 23701, 31, "title"); + let dir = opts && 'dir' in opts ? opts.dir : null; + let body = opts && 'body' in opts ? opts.body : null; + let lang = opts && 'lang' in opts ? opts.lang : null; + let tag = opts && 'tag' in opts ? opts.tag : null; + let icon = opts && 'icon' in opts ? opts.icon : null; + let parsedOptions = new _js_helper.LinkedMap.new(); + if (dir != null) parsedOptions[$_set]("dir", dir); + if (body != null) parsedOptions[$_set]("body", body); + if (lang != null) parsedOptions[$_set]("lang", lang); + if (tag != null) parsedOptions[$_set]("tag", tag); + if (icon != null) parsedOptions[$_set]("icon", icon); + return html$.Notification._factoryNotification(title, parsedOptions); + } + static _factoryNotification(title, options = null) { + if (title == null) dart.nullFailed(I[147], 23752, 51, "title"); + if (options != null) { + let options_1 = html_common.convertDartToNative_Dictionary(options); + return html$.Notification._create_1(title, options_1); + } + return html$.Notification._create_2(title); + } + static _create_1(title, options) { + return new Notification(title, options); + } + static _create_2(title) { + return new Notification(title); + } + static get supported() { + return !!window.Notification; + } + get [S$2.$actions]() { + return this.actions; + } + get [S$2.$badge]() { + return this.badge; + } + get [S$1.$body]() { + return this.body; + } + get [S$.$data]() { + return this.data; + } + get [S.$dir]() { + return this.dir; + } + get [S$2.$icon]() { + return this.icon; + } + get [S$2.$image]() { + return this.image; + } + get [S.$lang]() { + return this.lang; + } + get [S$2.$renotify]() { + return this.renotify; + } + get [S$2.$requireInteraction]() { + return this.requireInteraction; + } + get [S$2.$silent]() { + return this.silent; + } + get [S$2.$tag]() { + return this.tag; + } + get [S$.$timestamp]() { + return this.timestamp; + } + get [S.$title]() { + return this.title; + } + get [S$2.$vibrate]() { + return this.vibrate; + } + [S.$close](...args) { + return this.close.apply(this, args); + } + static requestPermission() { + let completer = T$0.CompleterOfString().new(); + dart.global.Notification.requestPermission(dart.fn(value => { + if (value == null) dart.nullFailed(I[147], 23813, 25, "value"); + completer.complete(value); + }, T$.StringTovoid())); + return completer.future; + } + get [S.$onClick]() { + return html$.Notification.clickEvent.forTarget(this); + } + get [S.$onClose]() { + return html$.Notification.closeEvent.forTarget(this); + } + get [S.$onError]() { + return html$.Notification.errorEvent.forTarget(this); + } + get [S$2.$onShow]() { + return html$.Notification.showEvent.forTarget(this); + } +}; +dart.addTypeTests(html$.Notification); +dart.addTypeCaches(html$.Notification); +dart.setMethodSignature(html$.Notification, () => ({ + __proto__: dart.getMethods(html$.Notification.__proto__), + [S.$close]: dart.fnType(dart.void, []) +})); +dart.setGetterSignature(html$.Notification, () => ({ + __proto__: dart.getGetters(html$.Notification.__proto__), + [S$2.$actions]: dart.nullable(core.List), + [S$2.$badge]: dart.nullable(core.String), + [S$1.$body]: dart.nullable(core.String), + [S$.$data]: dart.nullable(core.Object), + [S.$dir]: dart.nullable(core.String), + [S$2.$icon]: dart.nullable(core.String), + [S$2.$image]: dart.nullable(core.String), + [S.$lang]: dart.nullable(core.String), + [S$2.$renotify]: dart.nullable(core.bool), + [S$2.$requireInteraction]: dart.nullable(core.bool), + [S$2.$silent]: dart.nullable(core.bool), + [S$2.$tag]: dart.nullable(core.String), + [S$.$timestamp]: dart.nullable(core.int), + [S.$title]: dart.nullable(core.String), + [S$2.$vibrate]: dart.nullable(core.List$(core.int)), + [S.$onClick]: async.Stream$(html$.Event), + [S.$onClose]: async.Stream$(html$.Event), + [S.$onError]: async.Stream$(html$.Event), + [S$2.$onShow]: async.Stream$(html$.Event) +})); +dart.setLibraryUri(html$.Notification, I[148]); +dart.defineLazy(html$.Notification, { + /*html$.Notification.clickEvent*/get clickEvent() { + return C[351] || CT.C351; + }, + /*html$.Notification.closeEvent*/get closeEvent() { + return C[215] || CT.C215; + }, + /*html$.Notification.errorEvent*/get errorEvent() { + return C[216] || CT.C216; + }, + /*html$.Notification.showEvent*/get showEvent() { + return C[352] || CT.C352; + } +}, false); +dart.registerExtension("Notification", html$.Notification); +html$.NotificationEvent = class NotificationEvent$ extends html$.ExtendableEvent { + static new(type, eventInitDict) { + if (type == null) dart.nullFailed(I[147], 23842, 36, "type"); + if (eventInitDict == null) dart.nullFailed(I[147], 23842, 46, "eventInitDict"); + let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); + return html$.NotificationEvent._create_1(type, eventInitDict_1); + } + static _create_1(type, eventInitDict) { + return new NotificationEvent(type, eventInitDict); + } + get [S$1.$action]() { + return this.action; + } + get [S$2.$notification]() { + return this.notification; + } + get [S$2.$reply]() { + return this.reply; + } +}; +dart.addTypeTests(html$.NotificationEvent); +dart.addTypeCaches(html$.NotificationEvent); +dart.setGetterSignature(html$.NotificationEvent, () => ({ + __proto__: dart.getGetters(html$.NotificationEvent.__proto__), + [S$1.$action]: dart.nullable(core.String), + [S$2.$notification]: dart.nullable(html$.Notification), + [S$2.$reply]: dart.nullable(core.String) +})); +dart.setLibraryUri(html$.NotificationEvent, I[148]); +dart.registerExtension("NotificationEvent", html$.NotificationEvent); +html$.OListElement = class OListElement extends html$.HtmlElement { + static new() { + return html$.document.createElement("ol"); + } + get [$reversed]() { + return this.reversed; + } + set [$reversed](value) { + this.reversed = value; + } + get [S$.$start]() { + return this.start; + } + set [S$.$start](value) { + this.start = value; + } + get [S.$type]() { + return this.type; + } + set [S.$type](value) { + this.type = value; + } +}; +(html$.OListElement.created = function() { + html$.OListElement.__proto__.created.call(this); + ; +}).prototype = html$.OListElement.prototype; +dart.addTypeTests(html$.OListElement); +dart.addTypeCaches(html$.OListElement); +dart.setGetterSignature(html$.OListElement, () => ({ + __proto__: dart.getGetters(html$.OListElement.__proto__), + [$reversed]: dart.nullable(core.bool), + [S$.$start]: core.int, + [S.$type]: core.String +})); +dart.setSetterSignature(html$.OListElement, () => ({ + __proto__: dart.getSetters(html$.OListElement.__proto__), + [$reversed]: dart.nullable(core.bool), + [S$.$start]: core.int, + [S.$type]: core.String +})); +dart.setLibraryUri(html$.OListElement, I[148]); +dart.registerExtension("HTMLOListElement", html$.OListElement); +html$.ObjectElement = class ObjectElement extends html$.HtmlElement { + static new() { + return html$.ObjectElement.as(html$.document[S.$createElement]("object")); + } + static get supported() { + return html$.Element.isTagSupported("object"); + } + get [S$1.$contentWindow]() { + return html$._convertNativeToDart_Window(this[S$1._get_contentWindow]); + } + get [S$1._get_contentWindow]() { + return this.contentWindow; + } + get [S$.$data]() { + return this.data; + } + set [S$.$data](value) { + this.data = value; + } + get [S$.$form]() { + return this.form; + } + get [$height]() { + return this.height; + } + set [$height](value) { + this.height = value; + } + get [$name]() { + return this.name; + } + set [$name](value) { + this.name = value; + } + get [S.$type]() { + return this.type; + } + set [S.$type](value) { + this.type = value; + } + get [S$1.$useMap]() { + return this.useMap; + } + set [S$1.$useMap](value) { + this.useMap = value; + } + get [S$.$validationMessage]() { + return this.validationMessage; + } + get [S$.$validity]() { + return this.validity; + } + get [$width]() { + return this.width; + } + set [$width](value) { + this.width = value; + } + get [S$.$willValidate]() { + return this.willValidate; + } + [S$.__getter__](...args) { + return this.__getter__.apply(this, args); + } + [S$.__setter__](...args) { + return this.__setter__.apply(this, args); + } + [S$.$checkValidity](...args) { + return this.checkValidity.apply(this, args); + } + [S$.$reportValidity](...args) { + return this.reportValidity.apply(this, args); + } + [S$.$setCustomValidity](...args) { + return this.setCustomValidity.apply(this, args); + } +}; +(html$.ObjectElement.created = function() { + html$.ObjectElement.__proto__.created.call(this); + ; +}).prototype = html$.ObjectElement.prototype; +dart.addTypeTests(html$.ObjectElement); +dart.addTypeCaches(html$.ObjectElement); +dart.setMethodSignature(html$.ObjectElement, () => ({ + __proto__: dart.getMethods(html$.ObjectElement.__proto__), + [S$.__getter__]: dart.fnType(html$.Node, [core.String]), + [S$.__setter__]: dart.fnType(dart.void, [core.String, html$.Node]), + [S$.$checkValidity]: dart.fnType(core.bool, []), + [S$.$reportValidity]: dart.fnType(core.bool, []), + [S$.$setCustomValidity]: dart.fnType(dart.void, [core.String]) +})); +dart.setGetterSignature(html$.ObjectElement, () => ({ + __proto__: dart.getGetters(html$.ObjectElement.__proto__), + [S$1.$contentWindow]: dart.nullable(html$.WindowBase), + [S$1._get_contentWindow]: dart.dynamic, + [S$.$data]: core.String, + [S$.$form]: dart.nullable(html$.FormElement), + [$height]: core.String, + [$name]: core.String, + [S.$type]: core.String, + [S$1.$useMap]: core.String, + [S$.$validationMessage]: core.String, + [S$.$validity]: html$.ValidityState, + [$width]: core.String, + [S$.$willValidate]: core.bool +})); +dart.setSetterSignature(html$.ObjectElement, () => ({ + __proto__: dart.getSetters(html$.ObjectElement.__proto__), + [S$.$data]: core.String, + [$height]: core.String, + [$name]: core.String, + [S.$type]: core.String, + [S$1.$useMap]: core.String, + [$width]: core.String +})); +dart.setLibraryUri(html$.ObjectElement, I[148]); +dart.registerExtension("HTMLObjectElement", html$.ObjectElement); +html$.OffscreenCanvas = class OffscreenCanvas$ extends html$.EventTarget { + static new(width, height) { + if (width == null) dart.nullFailed(I[147], 23983, 31, "width"); + if (height == null) dart.nullFailed(I[147], 23983, 42, "height"); + return html$.OffscreenCanvas._create_1(width, height); + } + static _create_1(width, height) { + return new OffscreenCanvas(width, height); + } + get [$height]() { + return this.height; + } + set [$height](value) { + this.height = value; + } + get [$width]() { + return this.width; + } + set [$width](value) { + this.width = value; + } + [S$2.$convertToBlob](options = null) { + let options_dict = null; + if (options != null) { + options_dict = html_common.convertDartToNative_Dictionary(options); + } + return js_util.promiseToFuture(html$.Blob, this.convertToBlob(options_dict)); + } + [S$.$getContext](contextType, attributes = null) { + if (contextType == null) dart.nullFailed(I[147], 24006, 29, "contextType"); + if (attributes != null) { + let attributes_1 = html_common.convertDartToNative_Dictionary(attributes); + return this[S$._getContext_1](contextType, attributes_1); + } + return this[S$._getContext_2](contextType); + } + [S$._getContext_1](...args) { + return this.getContext.apply(this, args); + } + [S$._getContext_2](...args) { + return this.getContext.apply(this, args); + } + [S$2.$transferToImageBitmap](...args) { + return this.transferToImageBitmap.apply(this, args); + } +}; +dart.addTypeTests(html$.OffscreenCanvas); +dart.addTypeCaches(html$.OffscreenCanvas); +dart.setMethodSignature(html$.OffscreenCanvas, () => ({ + __proto__: dart.getMethods(html$.OffscreenCanvas.__proto__), + [S$2.$convertToBlob]: dart.fnType(async.Future$(html$.Blob), [], [dart.nullable(core.Map)]), + [S$.$getContext]: dart.fnType(dart.nullable(core.Object), [core.String], [dart.nullable(core.Map)]), + [S$._getContext_1]: dart.fnType(dart.nullable(core.Object), [dart.dynamic, dart.dynamic]), + [S$._getContext_2]: dart.fnType(dart.nullable(core.Object), [dart.dynamic]), + [S$2.$transferToImageBitmap]: dart.fnType(html$.ImageBitmap, []) +})); +dart.setGetterSignature(html$.OffscreenCanvas, () => ({ + __proto__: dart.getGetters(html$.OffscreenCanvas.__proto__), + [$height]: dart.nullable(core.int), + [$width]: dart.nullable(core.int) +})); +dart.setSetterSignature(html$.OffscreenCanvas, () => ({ + __proto__: dart.getSetters(html$.OffscreenCanvas.__proto__), + [$height]: dart.nullable(core.int), + [$width]: dart.nullable(core.int) +})); +dart.setLibraryUri(html$.OffscreenCanvas, I[148]); +dart.registerExtension("OffscreenCanvas", html$.OffscreenCanvas); +html$.OffscreenCanvasRenderingContext2D = class OffscreenCanvasRenderingContext2D extends _interceptors.Interceptor { + get [S$.$canvas]() { + return this.canvas; + } + get [S.$direction]() { + return this.direction; + } + set [S.$direction](value) { + this.direction = value; + } + get [S$.$fillStyle]() { + return this.fillStyle; + } + set [S$.$fillStyle](value) { + this.fillStyle = value; + } + get [S$.$filter]() { + return this.filter; + } + set [S$.$filter](value) { + this.filter = value; + } + get [S$.$font]() { + return this.font; + } + set [S$.$font](value) { + this.font = value; + } + get [S$.$globalAlpha]() { + return this.globalAlpha; + } + set [S$.$globalAlpha](value) { + this.globalAlpha = value; + } + get [S$.$globalCompositeOperation]() { + return this.globalCompositeOperation; + } + set [S$.$globalCompositeOperation](value) { + this.globalCompositeOperation = value; + } + get [S$.$imageSmoothingEnabled]() { + return this.imageSmoothingEnabled; + } + set [S$.$imageSmoothingEnabled](value) { + this.imageSmoothingEnabled = value; + } + get [S$.$imageSmoothingQuality]() { + return this.imageSmoothingQuality; + } + set [S$.$imageSmoothingQuality](value) { + this.imageSmoothingQuality = value; + } + get [S$.$lineCap]() { + return this.lineCap; + } + set [S$.$lineCap](value) { + this.lineCap = value; + } + get [S$.$lineDashOffset]() { + return this.lineDashOffset; + } + set [S$.$lineDashOffset](value) { + this.lineDashOffset = value; + } + get [S$.$lineJoin]() { + return this.lineJoin; + } + set [S$.$lineJoin](value) { + this.lineJoin = value; + } + get [S$.$lineWidth]() { + return this.lineWidth; + } + set [S$.$lineWidth](value) { + this.lineWidth = value; + } + get [S$.$miterLimit]() { + return this.miterLimit; + } + set [S$.$miterLimit](value) { + this.miterLimit = value; + } + get [S$.$shadowBlur]() { + return this.shadowBlur; + } + set [S$.$shadowBlur](value) { + this.shadowBlur = value; + } + get [S$.$shadowColor]() { + return this.shadowColor; + } + set [S$.$shadowColor](value) { + this.shadowColor = value; + } + get [S$.$shadowOffsetX]() { + return this.shadowOffsetX; + } + set [S$.$shadowOffsetX](value) { + this.shadowOffsetX = value; + } + get [S$.$shadowOffsetY]() { + return this.shadowOffsetY; + } + set [S$.$shadowOffsetY](value) { + this.shadowOffsetY = value; + } + get [S$.$strokeStyle]() { + return this.strokeStyle; + } + set [S$.$strokeStyle](value) { + this.strokeStyle = value; + } + get [S$.$textAlign]() { + return this.textAlign; + } + set [S$.$textAlign](value) { + this.textAlign = value; + } + get [S$.$textBaseline]() { + return this.textBaseline; + } + set [S$.$textBaseline](value) { + this.textBaseline = value; + } + [S$.$beginPath](...args) { + return this.beginPath.apply(this, args); + } + [S$.$clearRect](...args) { + return this.clearRect.apply(this, args); + } + [S$.$clip](...args) { + return this.clip.apply(this, args); + } + [S$2.$commit]() { + return js_util.promiseToFuture(dart.dynamic, this.commit()); + } + [S$.$createImageData](data_OR_imagedata_OR_sw, sh_OR_sw = null, imageDataColorSettings_OR_sh = null, imageDataColorSettings = null) { + if (html$.ImageData.is(data_OR_imagedata_OR_sw) && sh_OR_sw == null && imageDataColorSettings_OR_sh == null && imageDataColorSettings == null) { + let imagedata_1 = html_common.convertDartToNative_ImageData(data_OR_imagedata_OR_sw); + return html_common.convertNativeToDart_ImageData(this[S$._createImageData_1](imagedata_1)); + } + if (sh_OR_sw != null && core.int.is(data_OR_imagedata_OR_sw) && imageDataColorSettings_OR_sh == null && imageDataColorSettings == null) { + return html_common.convertNativeToDart_ImageData(this[S$._createImageData_2](data_OR_imagedata_OR_sw, sh_OR_sw)); + } + if (core.Map.is(imageDataColorSettings_OR_sh) && sh_OR_sw != null && core.int.is(data_OR_imagedata_OR_sw) && imageDataColorSettings == null) { + let imageDataColorSettings_1 = html_common.convertDartToNative_Dictionary(imageDataColorSettings_OR_sh); + return html_common.convertNativeToDart_ImageData(this[S$._createImageData_3](data_OR_imagedata_OR_sw, sh_OR_sw, imageDataColorSettings_1)); + } + if (imageDataColorSettings != null && core.int.is(imageDataColorSettings_OR_sh) && sh_OR_sw != null && data_OR_imagedata_OR_sw != null) { + let imageDataColorSettings_1 = html_common.convertDartToNative_Dictionary(imageDataColorSettings); + return html_common.convertNativeToDart_ImageData(this[S$._createImageData_4](data_OR_imagedata_OR_sw, sh_OR_sw, imageDataColorSettings_OR_sh, imageDataColorSettings_1)); + } + dart.throw(new core.ArgumentError.new("Incorrect number or type of arguments")); + } + [S$._createImageData_1](...args) { + return this.createImageData.apply(this, args); + } + [S$._createImageData_2](...args) { + return this.createImageData.apply(this, args); + } + [S$._createImageData_3](...args) { + return this.createImageData.apply(this, args); + } + [S$._createImageData_4](...args) { + return this.createImageData.apply(this, args); + } + [S$.$createLinearGradient](...args) { + return this.createLinearGradient.apply(this, args); + } + [S$.$createPattern](...args) { + return this.createPattern.apply(this, args); + } + [S$.$createRadialGradient](...args) { + return this.createRadialGradient.apply(this, args); + } + [S$.$drawImage](...args) { + return this.drawImage.apply(this, args); + } + [S$.$fill](...args) { + return this.fill.apply(this, args); + } + [S$.$fillRect](...args) { + return this.fillRect.apply(this, args); + } + [S$.$fillText](...args) { + return this.fillText.apply(this, args); + } + [S$.$getImageData](sx, sy, sw, sh) { + if (sx == null) dart.nullFailed(I[147], 24196, 30, "sx"); + if (sy == null) dart.nullFailed(I[147], 24196, 38, "sy"); + if (sw == null) dart.nullFailed(I[147], 24196, 46, "sw"); + if (sh == null) dart.nullFailed(I[147], 24196, 54, "sh"); + return html_common.convertNativeToDart_ImageData(this[S$._getImageData_1](sx, sy, sw, sh)); + } + [S$._getImageData_1](...args) { + return this.getImageData.apply(this, args); + } + [S$.$getLineDash](...args) { + return this.getLineDash.apply(this, args); + } + [S$.$isPointInPath](...args) { + return this.isPointInPath.apply(this, args); + } + [S$.$isPointInStroke](...args) { + return this.isPointInStroke.apply(this, args); + } + [S$.$measureText](...args) { + return this.measureText.apply(this, args); + } + [S$.$putImageData](imagedata, dx, dy, dirtyX = null, dirtyY = null, dirtyWidth = null, dirtyHeight = null) { + if (imagedata == null) dart.nullFailed(I[147], 24212, 31, "imagedata"); + if (dx == null) dart.nullFailed(I[147], 24212, 46, "dx"); + if (dy == null) dart.nullFailed(I[147], 24212, 54, "dy"); + if (dirtyX == null && dirtyY == null && dirtyWidth == null && dirtyHeight == null) { + let imagedata_1 = html_common.convertDartToNative_ImageData(imagedata); + this[S$._putImageData_1](imagedata_1, dx, dy); + return; + } + if (dirtyHeight != null && dirtyWidth != null && dirtyY != null && dirtyX != null) { + let imagedata_1 = html_common.convertDartToNative_ImageData(imagedata); + this[S$._putImageData_2](imagedata_1, dx, dy, dirtyX, dirtyY, dirtyWidth, dirtyHeight); + return; + } + dart.throw(new core.ArgumentError.new("Incorrect number or type of arguments")); + } + [S$._putImageData_1](...args) { + return this.putImageData.apply(this, args); + } + [S$._putImageData_2](...args) { + return this.putImageData.apply(this, args); + } + [S$.$resetTransform](...args) { + return this.resetTransform.apply(this, args); + } + [S$.$restore](...args) { + return this.restore.apply(this, args); + } + [S$.$rotate](...args) { + return this.rotate.apply(this, args); + } + [S$.$save](...args) { + return this.save.apply(this, args); + } + [S$.$scale](...args) { + return this.scale.apply(this, args); + } + [S$.$setLineDash](...args) { + return this.setLineDash.apply(this, args); + } + [S$.$setTransform](...args) { + return this.setTransform.apply(this, args); + } + [S$.$stroke](...args) { + return this.stroke.apply(this, args); + } + [S$.$strokeRect](...args) { + return this.strokeRect.apply(this, args); + } + [S$.$strokeText](...args) { + return this.strokeText.apply(this, args); + } + [S$.$transform](...args) { + return this.transform.apply(this, args); + } + [S.$translate](...args) { + return this.translate.apply(this, args); + } + [S$.$arc](...args) { + return this.arc.apply(this, args); + } + [S$.$arcTo](...args) { + return this.arcTo.apply(this, args); + } + [S$.$bezierCurveTo](...args) { + return this.bezierCurveTo.apply(this, args); + } + [S$.$closePath](...args) { + return this.closePath.apply(this, args); + } + [S$.$ellipse](...args) { + return this.ellipse.apply(this, args); + } + [S$.$lineTo](...args) { + return this.lineTo.apply(this, args); + } + [S$.$moveTo](...args) { + return this.moveTo.apply(this, args); + } + [S$.$quadraticCurveTo](...args) { + return this.quadraticCurveTo.apply(this, args); + } + [S$.$rect](...args) { + return this.rect.apply(this, args); + } +}; +dart.addTypeTests(html$.OffscreenCanvasRenderingContext2D); +dart.addTypeCaches(html$.OffscreenCanvasRenderingContext2D); +html$.OffscreenCanvasRenderingContext2D[dart.implements] = () => [html$._CanvasPath]; +dart.setMethodSignature(html$.OffscreenCanvasRenderingContext2D, () => ({ + __proto__: dart.getMethods(html$.OffscreenCanvasRenderingContext2D.__proto__), + [S$.$beginPath]: dart.fnType(dart.void, []), + [S$.$clearRect]: dart.fnType(dart.void, [core.num, core.num, core.num, core.num]), + [S$.$clip]: dart.fnType(dart.void, [], [dart.nullable(html$.Path2D)]), + [S$2.$commit]: dart.fnType(async.Future, []), + [S$.$createImageData]: dart.fnType(html$.ImageData, [dart.dynamic], [dart.nullable(core.int), dart.dynamic, dart.nullable(core.Map)]), + [S$._createImageData_1]: dart.fnType(dart.dynamic, [dart.dynamic]), + [S$._createImageData_2]: dart.fnType(dart.dynamic, [core.int, dart.dynamic]), + [S$._createImageData_3]: dart.fnType(dart.dynamic, [core.int, dart.dynamic, dart.dynamic]), + [S$._createImageData_4]: dart.fnType(dart.dynamic, [dart.dynamic, dart.dynamic, dart.nullable(core.int), dart.dynamic]), + [S$.$createLinearGradient]: dart.fnType(html$.CanvasGradient, [core.num, core.num, core.num, core.num]), + [S$.$createPattern]: dart.fnType(dart.nullable(html$.CanvasPattern), [dart.dynamic, core.String]), + [S$.$createRadialGradient]: dart.fnType(html$.CanvasGradient, [core.num, core.num, core.num, core.num, core.num, core.num]), + [S$.$drawImage]: dart.fnType(dart.void, [dart.dynamic, core.num, core.num], [dart.nullable(core.num), dart.nullable(core.num), dart.nullable(core.num), dart.nullable(core.num), dart.nullable(core.num), dart.nullable(core.num)]), + [S$.$fill]: dart.fnType(dart.void, [], [dart.dynamic, dart.nullable(core.String)]), + [S$.$fillRect]: dart.fnType(dart.void, [core.num, core.num, core.num, core.num]), + [S$.$fillText]: dart.fnType(dart.void, [core.String, core.num, core.num], [dart.nullable(core.num)]), + [S$.$getImageData]: dart.fnType(html$.ImageData, [core.int, core.int, core.int, core.int]), + [S$._getImageData_1]: dart.fnType(dart.dynamic, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic]), + [S$.$getLineDash]: dart.fnType(core.List$(core.num), []), + [S$.$isPointInPath]: dart.fnType(core.bool, [dart.dynamic, core.num], [dart.dynamic, dart.nullable(core.String)]), + [S$.$isPointInStroke]: dart.fnType(core.bool, [dart.dynamic, core.num], [dart.nullable(core.num)]), + [S$.$measureText]: dart.fnType(html$.TextMetrics, [core.String]), + [S$.$putImageData]: dart.fnType(dart.void, [html$.ImageData, core.int, core.int], [dart.nullable(core.int), dart.nullable(core.int), dart.nullable(core.int), dart.nullable(core.int)]), + [S$._putImageData_1]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic]), + [S$._putImageData_2]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic]), + [S$.$resetTransform]: dart.fnType(dart.void, []), + [S$.$restore]: dart.fnType(dart.void, []), + [S$.$rotate]: dart.fnType(dart.void, [core.num]), + [S$.$save]: dart.fnType(dart.void, []), + [S$.$scale]: dart.fnType(dart.void, [core.num, core.num]), + [S$.$setLineDash]: dart.fnType(dart.void, [core.List$(core.num)]), + [S$.$setTransform]: dart.fnType(dart.void, [core.num, core.num, core.num, core.num, core.num, core.num]), + [S$.$stroke]: dart.fnType(dart.void, [], [dart.nullable(html$.Path2D)]), + [S$.$strokeRect]: dart.fnType(dart.void, [core.num, core.num, core.num, core.num]), + [S$.$strokeText]: dart.fnType(dart.void, [core.String, core.num, core.num], [dart.nullable(core.num)]), + [S$.$transform]: dart.fnType(dart.void, [core.num, core.num, core.num, core.num, core.num, core.num]), + [S.$translate]: dart.fnType(dart.void, [core.num, core.num]), + [S$.$arc]: dart.fnType(dart.void, [core.num, core.num, core.num, core.num, core.num, dart.nullable(core.bool)]), + [S$.$arcTo]: dart.fnType(dart.void, [core.num, core.num, core.num, core.num, core.num]), + [S$.$bezierCurveTo]: dart.fnType(dart.void, [core.num, core.num, core.num, core.num, core.num, core.num]), + [S$.$closePath]: dart.fnType(dart.void, []), + [S$.$ellipse]: dart.fnType(dart.void, [core.num, core.num, core.num, core.num, core.num, core.num, core.num, dart.nullable(core.bool)]), + [S$.$lineTo]: dart.fnType(dart.void, [core.num, core.num]), + [S$.$moveTo]: dart.fnType(dart.void, [core.num, core.num]), + [S$.$quadraticCurveTo]: dart.fnType(dart.void, [core.num, core.num, core.num, core.num]), + [S$.$rect]: dart.fnType(dart.void, [core.num, core.num, core.num, core.num]) +})); +dart.setGetterSignature(html$.OffscreenCanvasRenderingContext2D, () => ({ + __proto__: dart.getGetters(html$.OffscreenCanvasRenderingContext2D.__proto__), + [S$.$canvas]: dart.nullable(html$.OffscreenCanvas), + [S.$direction]: dart.nullable(core.String), + [S$.$fillStyle]: dart.nullable(core.Object), + [S$.$filter]: dart.nullable(core.String), + [S$.$font]: dart.nullable(core.String), + [S$.$globalAlpha]: dart.nullable(core.num), + [S$.$globalCompositeOperation]: dart.nullable(core.String), + [S$.$imageSmoothingEnabled]: dart.nullable(core.bool), + [S$.$imageSmoothingQuality]: dart.nullable(core.String), + [S$.$lineCap]: dart.nullable(core.String), + [S$.$lineDashOffset]: dart.nullable(core.num), + [S$.$lineJoin]: dart.nullable(core.String), + [S$.$lineWidth]: dart.nullable(core.num), + [S$.$miterLimit]: dart.nullable(core.num), + [S$.$shadowBlur]: dart.nullable(core.num), + [S$.$shadowColor]: dart.nullable(core.String), + [S$.$shadowOffsetX]: dart.nullable(core.num), + [S$.$shadowOffsetY]: dart.nullable(core.num), + [S$.$strokeStyle]: dart.nullable(core.Object), + [S$.$textAlign]: dart.nullable(core.String), + [S$.$textBaseline]: dart.nullable(core.String) +})); +dart.setSetterSignature(html$.OffscreenCanvasRenderingContext2D, () => ({ + __proto__: dart.getSetters(html$.OffscreenCanvasRenderingContext2D.__proto__), + [S.$direction]: dart.nullable(core.String), + [S$.$fillStyle]: dart.nullable(core.Object), + [S$.$filter]: dart.nullable(core.String), + [S$.$font]: dart.nullable(core.String), + [S$.$globalAlpha]: dart.nullable(core.num), + [S$.$globalCompositeOperation]: dart.nullable(core.String), + [S$.$imageSmoothingEnabled]: dart.nullable(core.bool), + [S$.$imageSmoothingQuality]: dart.nullable(core.String), + [S$.$lineCap]: dart.nullable(core.String), + [S$.$lineDashOffset]: dart.nullable(core.num), + [S$.$lineJoin]: dart.nullable(core.String), + [S$.$lineWidth]: dart.nullable(core.num), + [S$.$miterLimit]: dart.nullable(core.num), + [S$.$shadowBlur]: dart.nullable(core.num), + [S$.$shadowColor]: dart.nullable(core.String), + [S$.$shadowOffsetX]: dart.nullable(core.num), + [S$.$shadowOffsetY]: dart.nullable(core.num), + [S$.$strokeStyle]: dart.nullable(core.Object), + [S$.$textAlign]: dart.nullable(core.String), + [S$.$textBaseline]: dart.nullable(core.String) +})); +dart.setLibraryUri(html$.OffscreenCanvasRenderingContext2D, I[148]); +dart.registerExtension("OffscreenCanvasRenderingContext2D", html$.OffscreenCanvasRenderingContext2D); +html$.OptGroupElement = class OptGroupElement extends html$.HtmlElement { + static new() { + return html$.document.createElement("optgroup"); + } + get [S$.$disabled]() { + return this.disabled; + } + set [S$.$disabled](value) { + this.disabled = value; + } + get [S$.$label]() { + return this.label; + } + set [S$.$label](value) { + this.label = value; + } +}; +(html$.OptGroupElement.created = function() { + html$.OptGroupElement.__proto__.created.call(this); + ; +}).prototype = html$.OptGroupElement.prototype; +dart.addTypeTests(html$.OptGroupElement); +dart.addTypeCaches(html$.OptGroupElement); +dart.setGetterSignature(html$.OptGroupElement, () => ({ + __proto__: dart.getGetters(html$.OptGroupElement.__proto__), + [S$.$disabled]: core.bool, + [S$.$label]: core.String +})); +dart.setSetterSignature(html$.OptGroupElement, () => ({ + __proto__: dart.getSetters(html$.OptGroupElement.__proto__), + [S$.$disabled]: core.bool, + [S$.$label]: core.String +})); +dart.setLibraryUri(html$.OptGroupElement, I[148]); +dart.registerExtension("HTMLOptGroupElement", html$.OptGroupElement); +html$.OptionElement = class OptionElement extends html$.HtmlElement { + static new(opts) { + let data = opts && 'data' in opts ? opts.data : ""; + if (data == null) dart.nullFailed(I[147], 24325, 15, "data"); + let value = opts && 'value' in opts ? opts.value : ""; + if (value == null) dart.nullFailed(I[147], 24325, 32, "value"); + let selected = opts && 'selected' in opts ? opts.selected : false; + if (selected == null) dart.nullFailed(I[147], 24325, 48, "selected"); + return html$.OptionElement.__(data, value, null, selected); + } + static __(data = null, value = null, defaultSelected = null, selected = null) { + if (selected != null) { + return html$.OptionElement._create_1(data, value, defaultSelected, selected); + } + if (defaultSelected != null) { + return html$.OptionElement._create_2(data, value, defaultSelected); + } + if (value != null) { + return html$.OptionElement._create_3(data, value); + } + if (data != null) { + return html$.OptionElement._create_4(data); + } + return html$.OptionElement._create_5(); + } + static _create_1(data, value, defaultSelected, selected) { + return new Option(data, value, defaultSelected, selected); + } + static _create_2(data, value, defaultSelected) { + return new Option(data, value, defaultSelected); + } + static _create_3(data, value) { + return new Option(data, value); + } + static _create_4(data) { + return new Option(data); + } + static _create_5() { + return new Option(); + } + get [S$2.$defaultSelected]() { + return this.defaultSelected; + } + set [S$2.$defaultSelected](value) { + this.defaultSelected = value; + } + get [S$.$disabled]() { + return this.disabled; + } + set [S$.$disabled](value) { + this.disabled = value; + } + get [S$.$form]() { + return this.form; + } + get [S.$index]() { + return this.index; + } + get [S$.$label]() { + return this.label; + } + set [S$.$label](value) { + this.label = value; + } + get [S$.$selected]() { + return this.selected; + } + set [S$.$selected](value) { + this.selected = value; + } + get [S.$value]() { + return this.value; + } + set [S.$value](value) { + this.value = value; + } +}; +(html$.OptionElement.created = function() { + html$.OptionElement.__proto__.created.call(this); + ; +}).prototype = html$.OptionElement.prototype; +dart.addTypeTests(html$.OptionElement); +dart.addTypeCaches(html$.OptionElement); +dart.setGetterSignature(html$.OptionElement, () => ({ + __proto__: dart.getGetters(html$.OptionElement.__proto__), + [S$2.$defaultSelected]: core.bool, + [S$.$disabled]: core.bool, + [S$.$form]: dart.nullable(html$.FormElement), + [S.$index]: core.int, + [S$.$label]: dart.nullable(core.String), + [S$.$selected]: core.bool, + [S.$value]: core.String +})); +dart.setSetterSignature(html$.OptionElement, () => ({ + __proto__: dart.getSetters(html$.OptionElement.__proto__), + [S$2.$defaultSelected]: core.bool, + [S$.$disabled]: core.bool, + [S$.$label]: dart.nullable(core.String), + [S$.$selected]: core.bool, + [S.$value]: core.String +})); +dart.setLibraryUri(html$.OptionElement, I[148]); +dart.registerExtension("HTMLOptionElement", html$.OptionElement); +html$.OutputElement = class OutputElement extends html$.HtmlElement { + static new() { + return html$.OutputElement.as(html$.document[S.$createElement]("output")); + } + static get supported() { + return html$.Element.isTagSupported("output"); + } + get [S$1.$defaultValue]() { + return this.defaultValue; + } + set [S$1.$defaultValue](value) { + this.defaultValue = value; + } + get [S$.$form]() { + return this.form; + } + get [S$1.$htmlFor]() { + return this.htmlFor; + } + get [S$.$labels]() { + return this.labels; + } + get [$name]() { + return this.name; + } + set [$name](value) { + this.name = value; + } + get [S.$type]() { + return this.type; + } + get [S$.$validationMessage]() { + return this.validationMessage; + } + get [S$.$validity]() { + return this.validity; + } + get [S.$value]() { + return this.value; + } + set [S.$value](value) { + this.value = value; + } + get [S$.$willValidate]() { + return this.willValidate; + } + [S$.$checkValidity](...args) { + return this.checkValidity.apply(this, args); + } + [S$.$reportValidity](...args) { + return this.reportValidity.apply(this, args); + } + [S$.$setCustomValidity](...args) { + return this.setCustomValidity.apply(this, args); + } +}; +(html$.OutputElement.created = function() { + html$.OutputElement.__proto__.created.call(this); + ; +}).prototype = html$.OutputElement.prototype; +dart.addTypeTests(html$.OutputElement); +dart.addTypeCaches(html$.OutputElement); +dart.setMethodSignature(html$.OutputElement, () => ({ + __proto__: dart.getMethods(html$.OutputElement.__proto__), + [S$.$checkValidity]: dart.fnType(core.bool, []), + [S$.$reportValidity]: dart.fnType(core.bool, []), + [S$.$setCustomValidity]: dart.fnType(dart.void, [core.String]) +})); +dart.setGetterSignature(html$.OutputElement, () => ({ + __proto__: dart.getGetters(html$.OutputElement.__proto__), + [S$1.$defaultValue]: dart.nullable(core.String), + [S$.$form]: dart.nullable(html$.FormElement), + [S$1.$htmlFor]: dart.nullable(html$.DomTokenList), + [S$.$labels]: dart.nullable(core.List$(html$.Node)), + [$name]: dart.nullable(core.String), + [S.$type]: dart.nullable(core.String), + [S$.$validationMessage]: dart.nullable(core.String), + [S$.$validity]: dart.nullable(html$.ValidityState), + [S.$value]: dart.nullable(core.String), + [S$.$willValidate]: dart.nullable(core.bool) +})); +dart.setSetterSignature(html$.OutputElement, () => ({ + __proto__: dart.getSetters(html$.OutputElement.__proto__), + [S$1.$defaultValue]: dart.nullable(core.String), + [$name]: dart.nullable(core.String), + [S.$value]: dart.nullable(core.String) +})); +dart.setLibraryUri(html$.OutputElement, I[148]); +dart.registerExtension("HTMLOutputElement", html$.OutputElement); +html$.OverconstrainedError = class OverconstrainedError$ extends _interceptors.Interceptor { + static new(constraint, message) { + if (constraint == null) dart.nullFailed(I[147], 24476, 39, "constraint"); + if (message == null) dart.nullFailed(I[147], 24476, 58, "message"); + return html$.OverconstrainedError._create_1(constraint, message); + } + static _create_1(constraint, message) { + return new OverconstrainedError(constraint, message); + } + get [S$2.$constraint]() { + return this.constraint; + } + get [$message]() { + return this.message; + } + get [$name]() { + return this.name; + } +}; +dart.addTypeTests(html$.OverconstrainedError); +dart.addTypeCaches(html$.OverconstrainedError); +dart.setGetterSignature(html$.OverconstrainedError, () => ({ + __proto__: dart.getGetters(html$.OverconstrainedError.__proto__), + [S$2.$constraint]: dart.nullable(core.String), + [$message]: dart.nullable(core.String), + [$name]: dart.nullable(core.String) +})); +dart.setLibraryUri(html$.OverconstrainedError, I[148]); +dart.registerExtension("OverconstrainedError", html$.OverconstrainedError); +html$.PageTransitionEvent = class PageTransitionEvent$ extends html$.Event { + static new(type, eventInitDict = null) { + if (type == null) dart.nullFailed(I[147], 24502, 38, "type"); + if (eventInitDict != null) { + let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); + return html$.PageTransitionEvent._create_1(type, eventInitDict_1); + } + return html$.PageTransitionEvent._create_2(type); + } + static _create_1(type, eventInitDict) { + return new PageTransitionEvent(type, eventInitDict); + } + static _create_2(type) { + return new PageTransitionEvent(type); + } + get [S$2.$persisted]() { + return this.persisted; + } +}; +dart.addTypeTests(html$.PageTransitionEvent); +dart.addTypeCaches(html$.PageTransitionEvent); +dart.setGetterSignature(html$.PageTransitionEvent, () => ({ + __proto__: dart.getGetters(html$.PageTransitionEvent.__proto__), + [S$2.$persisted]: dart.nullable(core.bool) +})); +dart.setLibraryUri(html$.PageTransitionEvent, I[148]); +dart.registerExtension("PageTransitionEvent", html$.PageTransitionEvent); +html$.PaintRenderingContext2D = class PaintRenderingContext2D extends _interceptors.Interceptor { + get [S$.$currentTransform]() { + return this.currentTransform; + } + set [S$.$currentTransform](value) { + this.currentTransform = value; + } + get [S$.$fillStyle]() { + return this.fillStyle; + } + set [S$.$fillStyle](value) { + this.fillStyle = value; + } + get [S$.$filter]() { + return this.filter; + } + set [S$.$filter](value) { + this.filter = value; + } + get [S$.$globalAlpha]() { + return this.globalAlpha; + } + set [S$.$globalAlpha](value) { + this.globalAlpha = value; + } + get [S$.$globalCompositeOperation]() { + return this.globalCompositeOperation; + } + set [S$.$globalCompositeOperation](value) { + this.globalCompositeOperation = value; + } + get [S$.$imageSmoothingEnabled]() { + return this.imageSmoothingEnabled; + } + set [S$.$imageSmoothingEnabled](value) { + this.imageSmoothingEnabled = value; + } + get [S$.$imageSmoothingQuality]() { + return this.imageSmoothingQuality; + } + set [S$.$imageSmoothingQuality](value) { + this.imageSmoothingQuality = value; + } + get [S$.$lineCap]() { + return this.lineCap; + } + set [S$.$lineCap](value) { + this.lineCap = value; + } + get [S$.$lineDashOffset]() { + return this.lineDashOffset; + } + set [S$.$lineDashOffset](value) { + this.lineDashOffset = value; + } + get [S$.$lineJoin]() { + return this.lineJoin; + } + set [S$.$lineJoin](value) { + this.lineJoin = value; + } + get [S$.$lineWidth]() { + return this.lineWidth; + } + set [S$.$lineWidth](value) { + this.lineWidth = value; + } + get [S$.$miterLimit]() { + return this.miterLimit; + } + set [S$.$miterLimit](value) { + this.miterLimit = value; + } + get [S$.$shadowBlur]() { + return this.shadowBlur; + } + set [S$.$shadowBlur](value) { + this.shadowBlur = value; + } + get [S$.$shadowColor]() { + return this.shadowColor; + } + set [S$.$shadowColor](value) { + this.shadowColor = value; + } + get [S$.$shadowOffsetX]() { + return this.shadowOffsetX; + } + set [S$.$shadowOffsetX](value) { + this.shadowOffsetX = value; + } + get [S$.$shadowOffsetY]() { + return this.shadowOffsetY; + } + set [S$.$shadowOffsetY](value) { + this.shadowOffsetY = value; + } + get [S$.$strokeStyle]() { + return this.strokeStyle; + } + set [S$.$strokeStyle](value) { + this.strokeStyle = value; + } + [S$.$beginPath](...args) { + return this.beginPath.apply(this, args); + } + [S$.$clearRect](...args) { + return this.clearRect.apply(this, args); + } + [S$.$clip](...args) { + return this.clip.apply(this, args); + } + [S$.$createLinearGradient](...args) { + return this.createLinearGradient.apply(this, args); + } + [S$.$createPattern](...args) { + return this.createPattern.apply(this, args); + } + [S$.$createRadialGradient](...args) { + return this.createRadialGradient.apply(this, args); + } + [S$.$drawImage](...args) { + return this.drawImage.apply(this, args); + } + [S$.$fill](...args) { + return this.fill.apply(this, args); + } + [S$.$fillRect](...args) { + return this.fillRect.apply(this, args); + } + [S$.$getLineDash](...args) { + return this.getLineDash.apply(this, args); + } + [S$.$isPointInPath](...args) { + return this.isPointInPath.apply(this, args); + } + [S$.$isPointInStroke](...args) { + return this.isPointInStroke.apply(this, args); + } + [S$.$resetTransform](...args) { + return this.resetTransform.apply(this, args); + } + [S$.$restore](...args) { + return this.restore.apply(this, args); + } + [S$.$rotate](...args) { + return this.rotate.apply(this, args); + } + [S$.$save](...args) { + return this.save.apply(this, args); + } + [S$.$scale](...args) { + return this.scale.apply(this, args); + } + [S$.$setLineDash](...args) { + return this.setLineDash.apply(this, args); + } + [S$.$setTransform](...args) { + return this.setTransform.apply(this, args); + } + [S$.$stroke](...args) { + return this.stroke.apply(this, args); + } + [S$.$strokeRect](...args) { + return this.strokeRect.apply(this, args); + } + [S$.$transform](...args) { + return this.transform.apply(this, args); + } + [S.$translate](...args) { + return this.translate.apply(this, args); + } + [S$.$arc](...args) { + return this.arc.apply(this, args); + } + [S$.$arcTo](...args) { + return this.arcTo.apply(this, args); + } + [S$.$bezierCurveTo](...args) { + return this.bezierCurveTo.apply(this, args); + } + [S$.$closePath](...args) { + return this.closePath.apply(this, args); + } + [S$.$ellipse](...args) { + return this.ellipse.apply(this, args); + } + [S$.$lineTo](...args) { + return this.lineTo.apply(this, args); + } + [S$.$moveTo](...args) { + return this.moveTo.apply(this, args); + } + [S$.$quadraticCurveTo](...args) { + return this.quadraticCurveTo.apply(this, args); + } + [S$.$rect](...args) { + return this.rect.apply(this, args); + } +}; +dart.addTypeTests(html$.PaintRenderingContext2D); +dart.addTypeCaches(html$.PaintRenderingContext2D); +html$.PaintRenderingContext2D[dart.implements] = () => [html$._CanvasPath]; +dart.setMethodSignature(html$.PaintRenderingContext2D, () => ({ + __proto__: dart.getMethods(html$.PaintRenderingContext2D.__proto__), + [S$.$beginPath]: dart.fnType(dart.void, []), + [S$.$clearRect]: dart.fnType(dart.void, [core.num, core.num, core.num, core.num]), + [S$.$clip]: dart.fnType(dart.void, [], [dart.dynamic, dart.nullable(core.String)]), + [S$.$createLinearGradient]: dart.fnType(html$.CanvasGradient, [core.num, core.num, core.num, core.num]), + [S$.$createPattern]: dart.fnType(dart.nullable(html$.CanvasPattern), [dart.dynamic, core.String]), + [S$.$createRadialGradient]: dart.fnType(html$.CanvasGradient, [core.num, core.num, core.num, core.num, core.num, core.num]), + [S$.$drawImage]: dart.fnType(dart.void, [dart.dynamic, core.num, core.num], [dart.nullable(core.num), dart.nullable(core.num), dart.nullable(core.num), dart.nullable(core.num), dart.nullable(core.num), dart.nullable(core.num)]), + [S$.$fill]: dart.fnType(dart.void, [], [dart.dynamic, dart.nullable(core.String)]), + [S$.$fillRect]: dart.fnType(dart.void, [core.num, core.num, core.num, core.num]), + [S$.$getLineDash]: dart.fnType(core.List$(core.num), []), + [S$.$isPointInPath]: dart.fnType(core.bool, [dart.dynamic, core.num], [dart.dynamic, dart.nullable(core.String)]), + [S$.$isPointInStroke]: dart.fnType(core.bool, [dart.dynamic, core.num], [dart.nullable(core.num)]), + [S$.$resetTransform]: dart.fnType(dart.void, []), + [S$.$restore]: dart.fnType(dart.void, []), + [S$.$rotate]: dart.fnType(dart.void, [core.num]), + [S$.$save]: dart.fnType(dart.void, []), + [S$.$scale]: dart.fnType(dart.void, [core.num, core.num]), + [S$.$setLineDash]: dart.fnType(dart.void, [core.List$(core.num)]), + [S$.$setTransform]: dart.fnType(dart.void, [core.num, core.num, core.num, core.num, core.num, core.num]), + [S$.$stroke]: dart.fnType(dart.void, [], [dart.nullable(html$.Path2D)]), + [S$.$strokeRect]: dart.fnType(dart.void, [core.num, core.num, core.num, core.num]), + [S$.$transform]: dart.fnType(dart.void, [core.num, core.num, core.num, core.num, core.num, core.num]), + [S.$translate]: dart.fnType(dart.void, [core.num, core.num]), + [S$.$arc]: dart.fnType(dart.void, [core.num, core.num, core.num, core.num, core.num, dart.nullable(core.bool)]), + [S$.$arcTo]: dart.fnType(dart.void, [core.num, core.num, core.num, core.num, core.num]), + [S$.$bezierCurveTo]: dart.fnType(dart.void, [core.num, core.num, core.num, core.num, core.num, core.num]), + [S$.$closePath]: dart.fnType(dart.void, []), + [S$.$ellipse]: dart.fnType(dart.void, [core.num, core.num, core.num, core.num, core.num, core.num, core.num, dart.nullable(core.bool)]), + [S$.$lineTo]: dart.fnType(dart.void, [core.num, core.num]), + [S$.$moveTo]: dart.fnType(dart.void, [core.num, core.num]), + [S$.$quadraticCurveTo]: dart.fnType(dart.void, [core.num, core.num, core.num, core.num]), + [S$.$rect]: dart.fnType(dart.void, [core.num, core.num, core.num, core.num]) +})); +dart.setGetterSignature(html$.PaintRenderingContext2D, () => ({ + __proto__: dart.getGetters(html$.PaintRenderingContext2D.__proto__), + [S$.$currentTransform]: dart.nullable(svg$.Matrix), + [S$.$fillStyle]: dart.nullable(core.Object), + [S$.$filter]: dart.nullable(core.String), + [S$.$globalAlpha]: dart.nullable(core.num), + [S$.$globalCompositeOperation]: dart.nullable(core.String), + [S$.$imageSmoothingEnabled]: dart.nullable(core.bool), + [S$.$imageSmoothingQuality]: dart.nullable(core.String), + [S$.$lineCap]: dart.nullable(core.String), + [S$.$lineDashOffset]: dart.nullable(core.num), + [S$.$lineJoin]: dart.nullable(core.String), + [S$.$lineWidth]: dart.nullable(core.num), + [S$.$miterLimit]: dart.nullable(core.num), + [S$.$shadowBlur]: dart.nullable(core.num), + [S$.$shadowColor]: dart.nullable(core.String), + [S$.$shadowOffsetX]: dart.nullable(core.num), + [S$.$shadowOffsetY]: dart.nullable(core.num), + [S$.$strokeStyle]: dart.nullable(core.Object) +})); +dart.setSetterSignature(html$.PaintRenderingContext2D, () => ({ + __proto__: dart.getSetters(html$.PaintRenderingContext2D.__proto__), + [S$.$currentTransform]: dart.nullable(svg$.Matrix), + [S$.$fillStyle]: dart.nullable(core.Object), + [S$.$filter]: dart.nullable(core.String), + [S$.$globalAlpha]: dart.nullable(core.num), + [S$.$globalCompositeOperation]: dart.nullable(core.String), + [S$.$imageSmoothingEnabled]: dart.nullable(core.bool), + [S$.$imageSmoothingQuality]: dart.nullable(core.String), + [S$.$lineCap]: dart.nullable(core.String), + [S$.$lineDashOffset]: dart.nullable(core.num), + [S$.$lineJoin]: dart.nullable(core.String), + [S$.$lineWidth]: dart.nullable(core.num), + [S$.$miterLimit]: dart.nullable(core.num), + [S$.$shadowBlur]: dart.nullable(core.num), + [S$.$shadowColor]: dart.nullable(core.String), + [S$.$shadowOffsetX]: dart.nullable(core.num), + [S$.$shadowOffsetY]: dart.nullable(core.num), + [S$.$strokeStyle]: dart.nullable(core.Object) +})); +dart.setLibraryUri(html$.PaintRenderingContext2D, I[148]); +dart.registerExtension("PaintRenderingContext2D", html$.PaintRenderingContext2D); +html$.PaintSize = class PaintSize extends _interceptors.Interceptor { + get [$height]() { + return this.height; + } + get [$width]() { + return this.width; + } +}; +dart.addTypeTests(html$.PaintSize); +dart.addTypeCaches(html$.PaintSize); +dart.setGetterSignature(html$.PaintSize, () => ({ + __proto__: dart.getGetters(html$.PaintSize.__proto__), + [$height]: dart.nullable(core.num), + [$width]: dart.nullable(core.num) +})); +dart.setLibraryUri(html$.PaintSize, I[148]); +dart.registerExtension("PaintSize", html$.PaintSize); +html$.PaintWorkletGlobalScope = class PaintWorkletGlobalScope extends html$.WorkletGlobalScope { + get [S$2.$devicePixelRatio]() { + return this.devicePixelRatio; + } + [S$2.$registerPaint](...args) { + return this.registerPaint.apply(this, args); + } +}; +dart.addTypeTests(html$.PaintWorkletGlobalScope); +dart.addTypeCaches(html$.PaintWorkletGlobalScope); +dart.setMethodSignature(html$.PaintWorkletGlobalScope, () => ({ + __proto__: dart.getMethods(html$.PaintWorkletGlobalScope.__proto__), + [S$2.$registerPaint]: dart.fnType(dart.void, [core.String, core.Object]) +})); +dart.setGetterSignature(html$.PaintWorkletGlobalScope, () => ({ + __proto__: dart.getGetters(html$.PaintWorkletGlobalScope.__proto__), + [S$2.$devicePixelRatio]: dart.nullable(core.num) +})); +dart.setLibraryUri(html$.PaintWorkletGlobalScope, I[148]); +dart.registerExtension("PaintWorkletGlobalScope", html$.PaintWorkletGlobalScope); +html$.ParagraphElement = class ParagraphElement extends html$.HtmlElement { + static new() { + return html$.document.createElement("p"); + } +}; +(html$.ParagraphElement.created = function() { + html$.ParagraphElement.__proto__.created.call(this); + ; +}).prototype = html$.ParagraphElement.prototype; +dart.addTypeTests(html$.ParagraphElement); +dart.addTypeCaches(html$.ParagraphElement); +dart.setLibraryUri(html$.ParagraphElement, I[148]); +dart.registerExtension("HTMLParagraphElement", html$.ParagraphElement); +html$.ParamElement = class ParamElement extends html$.HtmlElement { + static new() { + return html$.document.createElement("param"); + } + get [$name]() { + return this.name; + } + set [$name](value) { + this.name = value; + } + get [S.$value]() { + return this.value; + } + set [S.$value](value) { + this.value = value; + } +}; +(html$.ParamElement.created = function() { + html$.ParamElement.__proto__.created.call(this); + ; +}).prototype = html$.ParamElement.prototype; +dart.addTypeTests(html$.ParamElement); +dart.addTypeCaches(html$.ParamElement); +dart.setGetterSignature(html$.ParamElement, () => ({ + __proto__: dart.getGetters(html$.ParamElement.__proto__), + [$name]: core.String, + [S.$value]: core.String +})); +dart.setSetterSignature(html$.ParamElement, () => ({ + __proto__: dart.getSetters(html$.ParamElement.__proto__), + [$name]: core.String, + [S.$value]: core.String +})); +dart.setLibraryUri(html$.ParamElement, I[148]); +dart.registerExtension("HTMLParamElement", html$.ParamElement); +html$.ParentNode = class ParentNode extends _interceptors.Interceptor { + get [S._childElementCount]() { + return this._childElementCount; + } + get [S._children]() { + return this._children; + } + get [S._firstElementChild]() { + return this._firstElementChild; + } + get [S._lastElementChild]() { + return this._lastElementChild; + } +}; +dart.addTypeTests(html$.ParentNode); +dart.addTypeCaches(html$.ParentNode); +dart.setGetterSignature(html$.ParentNode, () => ({ + __proto__: dart.getGetters(html$.ParentNode.__proto__), + [S._childElementCount]: core.int, + [S._children]: dart.nullable(core.List$(html$.Node)), + [S._firstElementChild]: dart.nullable(html$.Element), + [S._lastElementChild]: dart.nullable(html$.Element) +})); +dart.setLibraryUri(html$.ParentNode, I[148]); +html$.PasswordCredential = class PasswordCredential$ extends html$.Credential { + static new(data_OR_form) { + if (core.Map.is(data_OR_form)) { + let data_1 = html_common.convertDartToNative_Dictionary(data_OR_form); + return html$.PasswordCredential._create_1(data_1); + } + if (html$.FormElement.is(data_OR_form)) { + return html$.PasswordCredential._create_2(data_OR_form); + } + dart.throw(new core.ArgumentError.new("Incorrect number or type of arguments")); + } + static _create_1(data_OR_form) { + return new PasswordCredential(data_OR_form); + } + static _create_2(data_OR_form) { + return new PasswordCredential(data_OR_form); + } + get [S$2.$additionalData]() { + return this.additionalData; + } + set [S$2.$additionalData](value) { + this.additionalData = value; + } + get [S$2.$idName]() { + return this.idName; + } + set [S$2.$idName](value) { + this.idName = value; + } + get [S$.$password]() { + return this.password; + } + get [S$2.$passwordName]() { + return this.passwordName; + } + set [S$2.$passwordName](value) { + this.passwordName = value; + } + get [S$.$iconUrl]() { + return this.iconURL; + } + get [$name]() { + return this.name; + } +}; +dart.addTypeTests(html$.PasswordCredential); +dart.addTypeCaches(html$.PasswordCredential); +html$.PasswordCredential[dart.implements] = () => [html$.CredentialUserData]; +dart.setGetterSignature(html$.PasswordCredential, () => ({ + __proto__: dart.getGetters(html$.PasswordCredential.__proto__), + [S$2.$additionalData]: dart.nullable(core.Object), + [S$2.$idName]: dart.nullable(core.String), + [S$.$password]: dart.nullable(core.String), + [S$2.$passwordName]: dart.nullable(core.String), + [S$.$iconUrl]: dart.nullable(core.String), + [$name]: dart.nullable(core.String) +})); +dart.setSetterSignature(html$.PasswordCredential, () => ({ + __proto__: dart.getSetters(html$.PasswordCredential.__proto__), + [S$2.$additionalData]: dart.nullable(core.Object), + [S$2.$idName]: dart.nullable(core.String), + [S$2.$passwordName]: dart.nullable(core.String) +})); +dart.setLibraryUri(html$.PasswordCredential, I[148]); +dart.registerExtension("PasswordCredential", html$.PasswordCredential); +html$.Path2D = class Path2D$ extends _interceptors.Interceptor { + static new(path_OR_text = null) { + if (path_OR_text == null) { + return html$.Path2D._create_1(); + } + if (html$.Path2D.is(path_OR_text)) { + return html$.Path2D._create_2(path_OR_text); + } + if (typeof path_OR_text == 'string') { + return html$.Path2D._create_3(path_OR_text); + } + dart.throw(new core.ArgumentError.new("Incorrect number or type of arguments")); + } + static _create_1() { + return new Path2D(); + } + static _create_2(path_OR_text) { + return new Path2D(path_OR_text); + } + static _create_3(path_OR_text) { + return new Path2D(path_OR_text); + } + [S$2.$addPath](...args) { + return this.addPath.apply(this, args); + } + [S$.$arc](...args) { + return this.arc.apply(this, args); + } + [S$.$arcTo](...args) { + return this.arcTo.apply(this, args); + } + [S$.$bezierCurveTo](...args) { + return this.bezierCurveTo.apply(this, args); + } + [S$.$closePath](...args) { + return this.closePath.apply(this, args); + } + [S$.$ellipse](...args) { + return this.ellipse.apply(this, args); + } + [S$.$lineTo](...args) { + return this.lineTo.apply(this, args); + } + [S$.$moveTo](...args) { + return this.moveTo.apply(this, args); + } + [S$.$quadraticCurveTo](...args) { + return this.quadraticCurveTo.apply(this, args); + } + [S$.$rect](...args) { + return this.rect.apply(this, args); + } +}; +dart.addTypeTests(html$.Path2D); +dart.addTypeCaches(html$.Path2D); +html$.Path2D[dart.implements] = () => [html$._CanvasPath]; +dart.setMethodSignature(html$.Path2D, () => ({ + __proto__: dart.getMethods(html$.Path2D.__proto__), + [S$2.$addPath]: dart.fnType(dart.void, [html$.Path2D], [dart.nullable(svg$.Matrix)]), + [S$.$arc]: dart.fnType(dart.void, [core.num, core.num, core.num, core.num, core.num, dart.nullable(core.bool)]), + [S$.$arcTo]: dart.fnType(dart.void, [core.num, core.num, core.num, core.num, core.num]), + [S$.$bezierCurveTo]: dart.fnType(dart.void, [core.num, core.num, core.num, core.num, core.num, core.num]), + [S$.$closePath]: dart.fnType(dart.void, []), + [S$.$ellipse]: dart.fnType(dart.void, [core.num, core.num, core.num, core.num, core.num, core.num, core.num, dart.nullable(core.bool)]), + [S$.$lineTo]: dart.fnType(dart.void, [core.num, core.num]), + [S$.$moveTo]: dart.fnType(dart.void, [core.num, core.num]), + [S$.$quadraticCurveTo]: dart.fnType(dart.void, [core.num, core.num, core.num, core.num]), + [S$.$rect]: dart.fnType(dart.void, [core.num, core.num, core.num, core.num]) +})); +dart.setLibraryUri(html$.Path2D, I[148]); +dart.registerExtension("Path2D", html$.Path2D); +html$.PaymentAddress = class PaymentAddress extends _interceptors.Interceptor { + get [S$2.$addressLine]() { + return this.addressLine; + } + get [S$2.$city]() { + return this.city; + } + get [S$2.$country]() { + return this.country; + } + get [S$2.$dependentLocality]() { + return this.dependentLocality; + } + get [S$2.$languageCode]() { + return this.languageCode; + } + get [S$2.$organization]() { + return this.organization; + } + get [S$2.$phone]() { + return this.phone; + } + get [S$2.$postalCode]() { + return this.postalCode; + } + get [S$2.$recipient]() { + return this.recipient; + } + get [S$1.$region]() { + return this.region; + } + get [S$2.$sortingCode]() { + return this.sortingCode; + } +}; +dart.addTypeTests(html$.PaymentAddress); +dart.addTypeCaches(html$.PaymentAddress); +dart.setGetterSignature(html$.PaymentAddress, () => ({ + __proto__: dart.getGetters(html$.PaymentAddress.__proto__), + [S$2.$addressLine]: dart.nullable(core.List$(core.String)), + [S$2.$city]: dart.nullable(core.String), + [S$2.$country]: dart.nullable(core.String), + [S$2.$dependentLocality]: dart.nullable(core.String), + [S$2.$languageCode]: dart.nullable(core.String), + [S$2.$organization]: dart.nullable(core.String), + [S$2.$phone]: dart.nullable(core.String), + [S$2.$postalCode]: dart.nullable(core.String), + [S$2.$recipient]: dart.nullable(core.String), + [S$1.$region]: dart.nullable(core.String), + [S$2.$sortingCode]: dart.nullable(core.String) +})); +dart.setLibraryUri(html$.PaymentAddress, I[148]); +dart.registerExtension("PaymentAddress", html$.PaymentAddress); +html$.PaymentInstruments = class PaymentInstruments extends _interceptors.Interceptor { + [$clear]() { + return js_util.promiseToFuture(dart.dynamic, this.clear()); + } + [S.$delete](instrumentKey) { + if (instrumentKey == null) dart.nullFailed(I[147], 24930, 30, "instrumentKey"); + return js_util.promiseToFuture(core.bool, this.delete(instrumentKey)); + } + [S.$get](instrumentKey) { + if (instrumentKey == null) dart.nullFailed(I[147], 24933, 44, "instrumentKey"); + return html$.promiseToFutureAsMap(this.get(instrumentKey)); + } + [S$.$has](instrumentKey) { + if (instrumentKey == null) dart.nullFailed(I[147], 24936, 21, "instrumentKey"); + return js_util.promiseToFuture(dart.dynamic, this.has(instrumentKey)); + } + [$keys]() { + return js_util.promiseToFuture(core.List, this.keys()); + } + [S$.$set](instrumentKey, details) { + if (instrumentKey == null) dart.nullFailed(I[147], 24942, 21, "instrumentKey"); + if (details == null) dart.nullFailed(I[147], 24942, 40, "details"); + let details_dict = html_common.convertDartToNative_Dictionary(details); + return js_util.promiseToFuture(dart.dynamic, this.set(instrumentKey, details_dict)); + } +}; +dart.addTypeTests(html$.PaymentInstruments); +dart.addTypeCaches(html$.PaymentInstruments); +dart.setMethodSignature(html$.PaymentInstruments, () => ({ + __proto__: dart.getMethods(html$.PaymentInstruments.__proto__), + [$clear]: dart.fnType(async.Future, []), + [S.$delete]: dart.fnType(async.Future$(core.bool), [core.String]), + [S.$get]: dart.fnType(async.Future$(dart.nullable(core.Map$(core.String, dart.dynamic))), [core.String]), + [S$.$has]: dart.fnType(async.Future, [core.String]), + [$keys]: dart.fnType(async.Future$(core.List), []), + [S$.$set]: dart.fnType(async.Future, [core.String, core.Map]) +})); +dart.setLibraryUri(html$.PaymentInstruments, I[148]); +dart.registerExtension("PaymentInstruments", html$.PaymentInstruments); +html$.PaymentManager = class PaymentManager extends _interceptors.Interceptor { + get [S$2.$instruments]() { + return this.instruments; + } + get [S$2.$userHint]() { + return this.userHint; + } + set [S$2.$userHint](value) { + this.userHint = value; + } +}; +dart.addTypeTests(html$.PaymentManager); +dart.addTypeCaches(html$.PaymentManager); +dart.setGetterSignature(html$.PaymentManager, () => ({ + __proto__: dart.getGetters(html$.PaymentManager.__proto__), + [S$2.$instruments]: dart.nullable(html$.PaymentInstruments), + [S$2.$userHint]: dart.nullable(core.String) +})); +dart.setSetterSignature(html$.PaymentManager, () => ({ + __proto__: dart.getSetters(html$.PaymentManager.__proto__), + [S$2.$userHint]: dart.nullable(core.String) +})); +dart.setLibraryUri(html$.PaymentManager, I[148]); +dart.registerExtension("PaymentManager", html$.PaymentManager); +html$.PaymentRequest = class PaymentRequest$ extends html$.EventTarget { + static new(methodData, details, options = null) { + if (methodData == null) dart.nullFailed(I[147], 24971, 36, "methodData"); + if (details == null) dart.nullFailed(I[147], 24971, 52, "details"); + let methodData_1 = []; + for (let i of methodData) { + methodData_1[$add](html_common.convertDartToNative_Dictionary(i)); + } + if (options != null) { + let details_1 = html_common.convertDartToNative_Dictionary(details); + let options_2 = html_common.convertDartToNative_Dictionary(options); + return html$.PaymentRequest._create_1(methodData_1, details_1, options_2); + } + let details_1 = html_common.convertDartToNative_Dictionary(details); + return html$.PaymentRequest._create_2(methodData_1, details_1); + } + static _create_1(methodData, details, options) { + return new PaymentRequest(methodData, details, options); + } + static _create_2(methodData, details) { + return new PaymentRequest(methodData, details); + } + get [S.$id]() { + return this.id; + } + get [S$2.$shippingAddress]() { + return this.shippingAddress; + } + get [S$2.$shippingOption]() { + return this.shippingOption; + } + get [S$2.$shippingType]() { + return this.shippingType; + } + [S.$abort]() { + return js_util.promiseToFuture(dart.dynamic, this.abort()); + } + [S$2.$canMakePayment]() { + return js_util.promiseToFuture(core.bool, this.canMakePayment()); + } + [S$0.$show]() { + return js_util.promiseToFuture(html$.PaymentResponse, this.show()); + } +}; +dart.addTypeTests(html$.PaymentRequest); +dart.addTypeCaches(html$.PaymentRequest); +dart.setMethodSignature(html$.PaymentRequest, () => ({ + __proto__: dart.getMethods(html$.PaymentRequest.__proto__), + [S.$abort]: dart.fnType(async.Future, []), + [S$2.$canMakePayment]: dart.fnType(async.Future$(core.bool), []), + [S$0.$show]: dart.fnType(async.Future$(html$.PaymentResponse), []) +})); +dart.setGetterSignature(html$.PaymentRequest, () => ({ + __proto__: dart.getGetters(html$.PaymentRequest.__proto__), + [S.$id]: dart.nullable(core.String), + [S$2.$shippingAddress]: dart.nullable(html$.PaymentAddress), + [S$2.$shippingOption]: dart.nullable(core.String), + [S$2.$shippingType]: dart.nullable(core.String) +})); +dart.setLibraryUri(html$.PaymentRequest, I[148]); +dart.registerExtension("PaymentRequest", html$.PaymentRequest); +html$.PaymentRequestEvent = class PaymentRequestEvent$ extends html$.ExtendableEvent { + static new(type, eventInitDict) { + if (type == null) dart.nullFailed(I[147], 25027, 38, "type"); + if (eventInitDict == null) dart.nullFailed(I[147], 25027, 48, "eventInitDict"); + let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); + return html$.PaymentRequestEvent._create_1(type, eventInitDict_1); + } + static _create_1(type, eventInitDict) { + return new PaymentRequestEvent(type, eventInitDict); + } + get [S$2.$instrumentKey]() { + return this.instrumentKey; + } + get [S$.$methodData]() { + return this.methodData; + } + get [S$.$modifiers]() { + return this.modifiers; + } + get [S$2.$paymentRequestId]() { + return this.paymentRequestId; + } + get [S$.$paymentRequestOrigin]() { + return this.paymentRequestOrigin; + } + get [S$.$topLevelOrigin]() { + return this.topLevelOrigin; + } + get [S$2.$total]() { + return this.total; + } + [S$.$openWindow](url) { + if (url == null) dart.nullFailed(I[147], 25051, 42, "url"); + return js_util.promiseToFuture(html$.WindowClient, this.openWindow(url)); + } + [S$.$respondWith](...args) { + return this.respondWith.apply(this, args); + } +}; +dart.addTypeTests(html$.PaymentRequestEvent); +dart.addTypeCaches(html$.PaymentRequestEvent); +dart.setMethodSignature(html$.PaymentRequestEvent, () => ({ + __proto__: dart.getMethods(html$.PaymentRequestEvent.__proto__), + [S$.$openWindow]: dart.fnType(async.Future$(html$.WindowClient), [core.String]), + [S$.$respondWith]: dart.fnType(dart.void, [async.Future]) +})); +dart.setGetterSignature(html$.PaymentRequestEvent, () => ({ + __proto__: dart.getGetters(html$.PaymentRequestEvent.__proto__), + [S$2.$instrumentKey]: dart.nullable(core.String), + [S$.$methodData]: dart.nullable(core.List), + [S$.$modifiers]: dart.nullable(core.List), + [S$2.$paymentRequestId]: dart.nullable(core.String), + [S$.$paymentRequestOrigin]: dart.nullable(core.String), + [S$.$topLevelOrigin]: dart.nullable(core.String), + [S$2.$total]: dart.nullable(core.Object) +})); +dart.setLibraryUri(html$.PaymentRequestEvent, I[148]); +dart.registerExtension("PaymentRequestEvent", html$.PaymentRequestEvent); +html$.PaymentRequestUpdateEvent = class PaymentRequestUpdateEvent$ extends html$.Event { + static new(type, eventInitDict = null) { + if (type == null) dart.nullFailed(I[147], 25067, 44, "type"); + if (eventInitDict != null) { + let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); + return html$.PaymentRequestUpdateEvent._create_1(type, eventInitDict_1); + } + return html$.PaymentRequestUpdateEvent._create_2(type); + } + static _create_1(type, eventInitDict) { + return new PaymentRequestUpdateEvent(type, eventInitDict); + } + static _create_2(type) { + return new PaymentRequestUpdateEvent(type); + } + [S$2.$updateWith](...args) { + return this.updateWith.apply(this, args); + } +}; +dart.addTypeTests(html$.PaymentRequestUpdateEvent); +dart.addTypeCaches(html$.PaymentRequestUpdateEvent); +dart.setMethodSignature(html$.PaymentRequestUpdateEvent, () => ({ + __proto__: dart.getMethods(html$.PaymentRequestUpdateEvent.__proto__), + [S$2.$updateWith]: dart.fnType(dart.void, [async.Future]) +})); +dart.setLibraryUri(html$.PaymentRequestUpdateEvent, I[148]); +dart.registerExtension("PaymentRequestUpdateEvent", html$.PaymentRequestUpdateEvent); +html$.PaymentResponse = class PaymentResponse extends _interceptors.Interceptor { + get [S$.$details]() { + return this.details; + } + get [S$2.$methodName]() { + return this.methodName; + } + get [S$2.$payerEmail]() { + return this.payerEmail; + } + get [S$2.$payerName]() { + return this.payerName; + } + get [S$2.$payerPhone]() { + return this.payerPhone; + } + get [S$2.$requestId]() { + return this.requestId; + } + get [S$2.$shippingAddress]() { + return this.shippingAddress; + } + get [S$2.$shippingOption]() { + return this.shippingOption; + } + [S$1.$complete](paymentResult = null) { + return js_util.promiseToFuture(dart.dynamic, this.complete(paymentResult)); + } +}; +dart.addTypeTests(html$.PaymentResponse); +dart.addTypeCaches(html$.PaymentResponse); +dart.setMethodSignature(html$.PaymentResponse, () => ({ + __proto__: dart.getMethods(html$.PaymentResponse.__proto__), + [S$1.$complete]: dart.fnType(async.Future, [], [dart.nullable(core.String)]) +})); +dart.setGetterSignature(html$.PaymentResponse, () => ({ + __proto__: dart.getGetters(html$.PaymentResponse.__proto__), + [S$.$details]: dart.nullable(core.Object), + [S$2.$methodName]: dart.nullable(core.String), + [S$2.$payerEmail]: dart.nullable(core.String), + [S$2.$payerName]: dart.nullable(core.String), + [S$2.$payerPhone]: dart.nullable(core.String), + [S$2.$requestId]: dart.nullable(core.String), + [S$2.$shippingAddress]: dart.nullable(html$.PaymentAddress), + [S$2.$shippingOption]: dart.nullable(core.String) +})); +dart.setLibraryUri(html$.PaymentResponse, I[148]); +dart.registerExtension("PaymentResponse", html$.PaymentResponse); +html$.Performance = class Performance extends html$.EventTarget { + static get supported() { + return !!window.performance; + } + get [S$2.$memory]() { + return this.memory; + } + get [S$2.$navigation]() { + return this.navigation; + } + get [S$2.$timeOrigin]() { + return this.timeOrigin; + } + get [S$.$timing]() { + return this.timing; + } + [S$2.$clearMarks](...args) { + return this.clearMarks.apply(this, args); + } + [S$2.$clearMeasures](...args) { + return this.clearMeasures.apply(this, args); + } + [S$2.$clearResourceTimings](...args) { + return this.clearResourceTimings.apply(this, args); + } + [S$2.$getEntries](...args) { + return this.getEntries.apply(this, args); + } + [S$2.$getEntriesByName](...args) { + return this.getEntriesByName.apply(this, args); + } + [S$2.$getEntriesByType](...args) { + return this.getEntriesByType.apply(this, args); + } + [S$2.$mark](...args) { + return this.mark.apply(this, args); + } + [S$2.$measure](...args) { + return this.measure.apply(this, args); + } + [S$2.$now](...args) { + return this.now.apply(this, args); + } + [S$2.$setResourceTimingBufferSize](...args) { + return this.setResourceTimingBufferSize.apply(this, args); + } +}; +dart.addTypeTests(html$.Performance); +dart.addTypeCaches(html$.Performance); +dart.setMethodSignature(html$.Performance, () => ({ + __proto__: dart.getMethods(html$.Performance.__proto__), + [S$2.$clearMarks]: dart.fnType(dart.void, [dart.nullable(core.String)]), + [S$2.$clearMeasures]: dart.fnType(dart.void, [dart.nullable(core.String)]), + [S$2.$clearResourceTimings]: dart.fnType(dart.void, []), + [S$2.$getEntries]: dart.fnType(core.List$(html$.PerformanceEntry), []), + [S$2.$getEntriesByName]: dart.fnType(core.List$(html$.PerformanceEntry), [core.String, dart.nullable(core.String)]), + [S$2.$getEntriesByType]: dart.fnType(core.List$(html$.PerformanceEntry), [core.String]), + [S$2.$mark]: dart.fnType(dart.void, [core.String]), + [S$2.$measure]: dart.fnType(dart.void, [core.String, dart.nullable(core.String), dart.nullable(core.String)]), + [S$2.$now]: dart.fnType(core.double, []), + [S$2.$setResourceTimingBufferSize]: dart.fnType(dart.void, [core.int]) +})); +dart.setGetterSignature(html$.Performance, () => ({ + __proto__: dart.getGetters(html$.Performance.__proto__), + [S$2.$memory]: dart.nullable(html$.MemoryInfo), + [S$2.$navigation]: html$.PerformanceNavigation, + [S$2.$timeOrigin]: dart.nullable(core.num), + [S$.$timing]: html$.PerformanceTiming +})); +dart.setLibraryUri(html$.Performance, I[148]); +dart.registerExtension("Performance", html$.Performance); +html$.PerformanceEntry = class PerformanceEntry extends _interceptors.Interceptor { + get [S$.$duration]() { + return this.duration; + } + get [S$2.$entryType]() { + return this.entryType; + } + get [$name]() { + return this.name; + } + get [S$.$startTime]() { + return this.startTime; + } +}; +dart.addTypeTests(html$.PerformanceEntry); +dart.addTypeCaches(html$.PerformanceEntry); +dart.setGetterSignature(html$.PerformanceEntry, () => ({ + __proto__: dart.getGetters(html$.PerformanceEntry.__proto__), + [S$.$duration]: core.num, + [S$2.$entryType]: core.String, + [$name]: core.String, + [S$.$startTime]: core.num +})); +dart.setLibraryUri(html$.PerformanceEntry, I[148]); +dart.registerExtension("PerformanceEntry", html$.PerformanceEntry); +html$.PerformanceLongTaskTiming = class PerformanceLongTaskTiming extends html$.PerformanceEntry { + get [S$2.$attribution]() { + return this.attribution; + } +}; +dart.addTypeTests(html$.PerformanceLongTaskTiming); +dart.addTypeCaches(html$.PerformanceLongTaskTiming); +dart.setGetterSignature(html$.PerformanceLongTaskTiming, () => ({ + __proto__: dart.getGetters(html$.PerformanceLongTaskTiming.__proto__), + [S$2.$attribution]: dart.nullable(core.List$(html$.TaskAttributionTiming)) +})); +dart.setLibraryUri(html$.PerformanceLongTaskTiming, I[148]); +dart.registerExtension("PerformanceLongTaskTiming", html$.PerformanceLongTaskTiming); +html$.PerformanceMark = class PerformanceMark extends html$.PerformanceEntry {}; +dart.addTypeTests(html$.PerformanceMark); +dart.addTypeCaches(html$.PerformanceMark); +dart.setLibraryUri(html$.PerformanceMark, I[148]); +dart.registerExtension("PerformanceMark", html$.PerformanceMark); +html$.PerformanceMeasure = class PerformanceMeasure extends html$.PerformanceEntry {}; +dart.addTypeTests(html$.PerformanceMeasure); +dart.addTypeCaches(html$.PerformanceMeasure); +dart.setLibraryUri(html$.PerformanceMeasure, I[148]); +dart.registerExtension("PerformanceMeasure", html$.PerformanceMeasure); +html$.PerformanceNavigation = class PerformanceNavigation extends _interceptors.Interceptor { + get [S$2.$redirectCount]() { + return this.redirectCount; + } + get [S.$type]() { + return this.type; + } +}; +dart.addTypeTests(html$.PerformanceNavigation); +dart.addTypeCaches(html$.PerformanceNavigation); +dart.setGetterSignature(html$.PerformanceNavigation, () => ({ + __proto__: dart.getGetters(html$.PerformanceNavigation.__proto__), + [S$2.$redirectCount]: dart.nullable(core.int), + [S.$type]: dart.nullable(core.int) +})); +dart.setLibraryUri(html$.PerformanceNavigation, I[148]); +dart.defineLazy(html$.PerformanceNavigation, { + /*html$.PerformanceNavigation.TYPE_BACK_FORWARD*/get TYPE_BACK_FORWARD() { + return 2; + }, + /*html$.PerformanceNavigation.TYPE_NAVIGATE*/get TYPE_NAVIGATE() { + return 0; + }, + /*html$.PerformanceNavigation.TYPE_RELOAD*/get TYPE_RELOAD() { + return 1; + }, + /*html$.PerformanceNavigation.TYPE_RESERVED*/get TYPE_RESERVED() { + return 255; + } +}, false); +dart.registerExtension("PerformanceNavigation", html$.PerformanceNavigation); +html$.PerformanceResourceTiming = class PerformanceResourceTiming extends html$.PerformanceEntry { + get [S$2.$connectEnd]() { + return this.connectEnd; + } + get [S$2.$connectStart]() { + return this.connectStart; + } + get [S$2.$decodedBodySize]() { + return this.decodedBodySize; + } + get [S$2.$domainLookupEnd]() { + return this.domainLookupEnd; + } + get [S$2.$domainLookupStart]() { + return this.domainLookupStart; + } + get [S$2.$encodedBodySize]() { + return this.encodedBodySize; + } + get [S$2.$fetchStart]() { + return this.fetchStart; + } + get [S$2.$initiatorType]() { + return this.initiatorType; + } + get [S$2.$nextHopProtocol]() { + return this.nextHopProtocol; + } + get [S$2.$redirectEnd]() { + return this.redirectEnd; + } + get [S$2.$redirectStart]() { + return this.redirectStart; + } + get [S$2.$requestStart]() { + return this.requestStart; + } + get [S$2.$responseEnd]() { + return this.responseEnd; + } + get [S$2.$responseStart]() { + return this.responseStart; + } + get [S$2.$secureConnectionStart]() { + return this.secureConnectionStart; + } + get [S$2.$serverTiming]() { + return this.serverTiming; + } + get [S$2.$transferSize]() { + return this.transferSize; + } + get [S$2.$workerStart]() { + return this.workerStart; + } +}; +dart.addTypeTests(html$.PerformanceResourceTiming); +dart.addTypeCaches(html$.PerformanceResourceTiming); +dart.setGetterSignature(html$.PerformanceResourceTiming, () => ({ + __proto__: dart.getGetters(html$.PerformanceResourceTiming.__proto__), + [S$2.$connectEnd]: core.num, + [S$2.$connectStart]: core.num, + [S$2.$decodedBodySize]: dart.nullable(core.int), + [S$2.$domainLookupEnd]: dart.nullable(core.num), + [S$2.$domainLookupStart]: dart.nullable(core.num), + [S$2.$encodedBodySize]: dart.nullable(core.int), + [S$2.$fetchStart]: dart.nullable(core.num), + [S$2.$initiatorType]: dart.nullable(core.String), + [S$2.$nextHopProtocol]: dart.nullable(core.String), + [S$2.$redirectEnd]: dart.nullable(core.num), + [S$2.$redirectStart]: dart.nullable(core.num), + [S$2.$requestStart]: dart.nullable(core.num), + [S$2.$responseEnd]: dart.nullable(core.num), + [S$2.$responseStart]: dart.nullable(core.num), + [S$2.$secureConnectionStart]: dart.nullable(core.num), + [S$2.$serverTiming]: dart.nullable(core.List$(html$.PerformanceServerTiming)), + [S$2.$transferSize]: dart.nullable(core.int), + [S$2.$workerStart]: dart.nullable(core.num) +})); +dart.setLibraryUri(html$.PerformanceResourceTiming, I[148]); +dart.registerExtension("PerformanceResourceTiming", html$.PerformanceResourceTiming); +html$.PerformanceNavigationTiming = class PerformanceNavigationTiming extends html$.PerformanceResourceTiming { + get [S$2.$domComplete]() { + return this.domComplete; + } + get [S$2.$domContentLoadedEventEnd]() { + return this.domContentLoadedEventEnd; + } + get [S$2.$domContentLoadedEventStart]() { + return this.domContentLoadedEventStart; + } + get [S$2.$domInteractive]() { + return this.domInteractive; + } + get [S$2.$loadEventEnd]() { + return this.loadEventEnd; + } + get [S$2.$loadEventStart]() { + return this.loadEventStart; + } + get [S$2.$redirectCount]() { + return this.redirectCount; + } + get [S.$type]() { + return this.type; + } + get [S$2.$unloadEventEnd]() { + return this.unloadEventEnd; + } + get [S$2.$unloadEventStart]() { + return this.unloadEventStart; + } +}; +dart.addTypeTests(html$.PerformanceNavigationTiming); +dart.addTypeCaches(html$.PerformanceNavigationTiming); +dart.setGetterSignature(html$.PerformanceNavigationTiming, () => ({ + __proto__: dart.getGetters(html$.PerformanceNavigationTiming.__proto__), + [S$2.$domComplete]: dart.nullable(core.num), + [S$2.$domContentLoadedEventEnd]: dart.nullable(core.num), + [S$2.$domContentLoadedEventStart]: dart.nullable(core.num), + [S$2.$domInteractive]: dart.nullable(core.num), + [S$2.$loadEventEnd]: dart.nullable(core.num), + [S$2.$loadEventStart]: dart.nullable(core.num), + [S$2.$redirectCount]: dart.nullable(core.int), + [S.$type]: dart.nullable(core.String), + [S$2.$unloadEventEnd]: dart.nullable(core.num), + [S$2.$unloadEventStart]: dart.nullable(core.num) +})); +dart.setLibraryUri(html$.PerformanceNavigationTiming, I[148]); +dart.registerExtension("PerformanceNavigationTiming", html$.PerformanceNavigationTiming); +html$.PerformanceObserver = class PerformanceObserver$ extends _interceptors.Interceptor { + static new(callback) { + if (callback == null) dart.nullFailed(I[147], 25280, 59, "callback"); + let callback_1 = _js_helper.convertDartClosureToJS(T$0.PerformanceObserverEntryListAndPerformanceObserverTovoid(), callback, 2); + return html$.PerformanceObserver._create_1(callback_1); + } + static _create_1(callback) { + return new PerformanceObserver(callback); + } + [S$1.$disconnect](...args) { + return this.disconnect.apply(this, args); + } + [S.$observe](options) { + if (options == null) dart.nullFailed(I[147], 25289, 20, "options"); + let options_1 = html_common.convertDartToNative_Dictionary(options); + this[S$1._observe_1$1](options_1); + return; + } + [S$1._observe_1$1](...args) { + return this.observe.apply(this, args); + } +}; +dart.addTypeTests(html$.PerformanceObserver); +dart.addTypeCaches(html$.PerformanceObserver); +dart.setMethodSignature(html$.PerformanceObserver, () => ({ + __proto__: dart.getMethods(html$.PerformanceObserver.__proto__), + [S$1.$disconnect]: dart.fnType(dart.void, []), + [S.$observe]: dart.fnType(dart.void, [core.Map]), + [S$1._observe_1$1]: dart.fnType(dart.void, [dart.dynamic]) +})); +dart.setLibraryUri(html$.PerformanceObserver, I[148]); +dart.registerExtension("PerformanceObserver", html$.PerformanceObserver); +html$.PerformanceObserverEntryList = class PerformanceObserverEntryList extends _interceptors.Interceptor { + [S$2.$getEntries](...args) { + return this.getEntries.apply(this, args); + } + [S$2.$getEntriesByName](...args) { + return this.getEntriesByName.apply(this, args); + } + [S$2.$getEntriesByType](...args) { + return this.getEntriesByType.apply(this, args); + } +}; +dart.addTypeTests(html$.PerformanceObserverEntryList); +dart.addTypeCaches(html$.PerformanceObserverEntryList); +dart.setMethodSignature(html$.PerformanceObserverEntryList, () => ({ + __proto__: dart.getMethods(html$.PerformanceObserverEntryList.__proto__), + [S$2.$getEntries]: dart.fnType(core.List$(html$.PerformanceEntry), []), + [S$2.$getEntriesByName]: dart.fnType(core.List$(html$.PerformanceEntry), [core.String, dart.nullable(core.String)]), + [S$2.$getEntriesByType]: dart.fnType(core.List$(html$.PerformanceEntry), [core.String]) +})); +dart.setLibraryUri(html$.PerformanceObserverEntryList, I[148]); +dart.registerExtension("PerformanceObserverEntryList", html$.PerformanceObserverEntryList); +html$.PerformancePaintTiming = class PerformancePaintTiming extends html$.PerformanceEntry {}; +dart.addTypeTests(html$.PerformancePaintTiming); +dart.addTypeCaches(html$.PerformancePaintTiming); +dart.setLibraryUri(html$.PerformancePaintTiming, I[148]); +dart.registerExtension("PerformancePaintTiming", html$.PerformancePaintTiming); +html$.PerformanceServerTiming = class PerformanceServerTiming extends _interceptors.Interceptor { + get [S$1.$description]() { + return this.description; + } + get [S$.$duration]() { + return this.duration; + } + get [$name]() { + return this.name; + } +}; +dart.addTypeTests(html$.PerformanceServerTiming); +dart.addTypeCaches(html$.PerformanceServerTiming); +dart.setGetterSignature(html$.PerformanceServerTiming, () => ({ + __proto__: dart.getGetters(html$.PerformanceServerTiming.__proto__), + [S$1.$description]: dart.nullable(core.String), + [S$.$duration]: dart.nullable(core.num), + [$name]: dart.nullable(core.String) +})); +dart.setLibraryUri(html$.PerformanceServerTiming, I[148]); +dart.registerExtension("PerformanceServerTiming", html$.PerformanceServerTiming); +html$.PerformanceTiming = class PerformanceTiming extends _interceptors.Interceptor { + get [S$2.$connectEnd]() { + return this.connectEnd; + } + get [S$2.$connectStart]() { + return this.connectStart; + } + get [S$2.$domComplete]() { + return this.domComplete; + } + get [S$2.$domContentLoadedEventEnd]() { + return this.domContentLoadedEventEnd; + } + get [S$2.$domContentLoadedEventStart]() { + return this.domContentLoadedEventStart; + } + get [S$2.$domInteractive]() { + return this.domInteractive; + } + get [S$2.$domLoading]() { + return this.domLoading; + } + get [S$2.$domainLookupEnd]() { + return this.domainLookupEnd; + } + get [S$2.$domainLookupStart]() { + return this.domainLookupStart; + } + get [S$2.$fetchStart]() { + return this.fetchStart; + } + get [S$2.$loadEventEnd]() { + return this.loadEventEnd; + } + get [S$2.$loadEventStart]() { + return this.loadEventStart; + } + get [S$2.$navigationStart]() { + return this.navigationStart; + } + get [S$2.$redirectEnd]() { + return this.redirectEnd; + } + get [S$2.$redirectStart]() { + return this.redirectStart; + } + get [S$2.$requestStart]() { + return this.requestStart; + } + get [S$2.$responseEnd]() { + return this.responseEnd; + } + get [S$2.$responseStart]() { + return this.responseStart; + } + get [S$2.$secureConnectionStart]() { + return this.secureConnectionStart; + } + get [S$2.$unloadEventEnd]() { + return this.unloadEventEnd; + } + get [S$2.$unloadEventStart]() { + return this.unloadEventStart; + } +}; +dart.addTypeTests(html$.PerformanceTiming); +dart.addTypeCaches(html$.PerformanceTiming); +dart.setGetterSignature(html$.PerformanceTiming, () => ({ + __proto__: dart.getGetters(html$.PerformanceTiming.__proto__), + [S$2.$connectEnd]: core.int, + [S$2.$connectStart]: core.int, + [S$2.$domComplete]: core.int, + [S$2.$domContentLoadedEventEnd]: core.int, + [S$2.$domContentLoadedEventStart]: core.int, + [S$2.$domInteractive]: core.int, + [S$2.$domLoading]: core.int, + [S$2.$domainLookupEnd]: core.int, + [S$2.$domainLookupStart]: core.int, + [S$2.$fetchStart]: core.int, + [S$2.$loadEventEnd]: core.int, + [S$2.$loadEventStart]: core.int, + [S$2.$navigationStart]: core.int, + [S$2.$redirectEnd]: core.int, + [S$2.$redirectStart]: core.int, + [S$2.$requestStart]: core.int, + [S$2.$responseEnd]: core.int, + [S$2.$responseStart]: core.int, + [S$2.$secureConnectionStart]: core.int, + [S$2.$unloadEventEnd]: core.int, + [S$2.$unloadEventStart]: core.int +})); +dart.setLibraryUri(html$.PerformanceTiming, I[148]); +dart.registerExtension("PerformanceTiming", html$.PerformanceTiming); +html$.PermissionStatus = class PermissionStatus extends html$.EventTarget { + get [S$.$state]() { + return this.state; + } + get [S.$onChange]() { + return html$.PermissionStatus.changeEvent.forTarget(this); + } +}; +dart.addTypeTests(html$.PermissionStatus); +dart.addTypeCaches(html$.PermissionStatus); +dart.setGetterSignature(html$.PermissionStatus, () => ({ + __proto__: dart.getGetters(html$.PermissionStatus.__proto__), + [S$.$state]: dart.nullable(core.String), + [S.$onChange]: async.Stream$(html$.Event) +})); +dart.setLibraryUri(html$.PermissionStatus, I[148]); +dart.defineLazy(html$.PermissionStatus, { + /*html$.PermissionStatus.changeEvent*/get changeEvent() { + return C[236] || CT.C236; + } +}, false); +dart.registerExtension("PermissionStatus", html$.PermissionStatus); +html$.Permissions = class Permissions extends _interceptors.Interceptor { + [S$2.$query](permission) { + if (permission == null) dart.nullFailed(I[147], 25482, 38, "permission"); + let permission_dict = html_common.convertDartToNative_Dictionary(permission); + return js_util.promiseToFuture(html$.PermissionStatus, this.query(permission_dict)); + } + [S$.$request](permissions) { + if (permissions == null) dart.nullFailed(I[147], 25488, 40, "permissions"); + let permissions_dict = html_common.convertDartToNative_Dictionary(permissions); + return js_util.promiseToFuture(html$.PermissionStatus, this.request(permissions_dict)); + } + [S$2.$requestAll](permissions) { + if (permissions == null) dart.nullFailed(I[147], 25494, 49, "permissions"); + return js_util.promiseToFuture(html$.PermissionStatus, this.requestAll(permissions)); + } + [S$2.$revoke](permission) { + if (permission == null) dart.nullFailed(I[147], 25498, 39, "permission"); + let permission_dict = html_common.convertDartToNative_Dictionary(permission); + return js_util.promiseToFuture(html$.PermissionStatus, this.revoke(permission_dict)); + } +}; +dart.addTypeTests(html$.Permissions); +dart.addTypeCaches(html$.Permissions); +dart.setMethodSignature(html$.Permissions, () => ({ + __proto__: dart.getMethods(html$.Permissions.__proto__), + [S$2.$query]: dart.fnType(async.Future$(html$.PermissionStatus), [core.Map]), + [S$.$request]: dart.fnType(async.Future$(html$.PermissionStatus), [core.Map]), + [S$2.$requestAll]: dart.fnType(async.Future$(html$.PermissionStatus), [core.List$(core.Map)]), + [S$2.$revoke]: dart.fnType(async.Future$(html$.PermissionStatus), [core.Map]) +})); +dart.setLibraryUri(html$.Permissions, I[148]); +dart.registerExtension("Permissions", html$.Permissions); +html$.PhotoCapabilities = class PhotoCapabilities extends _interceptors.Interceptor { + get [S$2.$fillLightMode]() { + return this.fillLightMode; + } + get [S$2.$imageHeight]() { + return this.imageHeight; + } + get [S$2.$imageWidth]() { + return this.imageWidth; + } + get [S$2.$redEyeReduction]() { + return this.redEyeReduction; + } +}; +dart.addTypeTests(html$.PhotoCapabilities); +dart.addTypeCaches(html$.PhotoCapabilities); +dart.setGetterSignature(html$.PhotoCapabilities, () => ({ + __proto__: dart.getGetters(html$.PhotoCapabilities.__proto__), + [S$2.$fillLightMode]: dart.nullable(core.List), + [S$2.$imageHeight]: dart.nullable(html$.MediaSettingsRange), + [S$2.$imageWidth]: dart.nullable(html$.MediaSettingsRange), + [S$2.$redEyeReduction]: dart.nullable(core.String) +})); +dart.setLibraryUri(html$.PhotoCapabilities, I[148]); +dart.registerExtension("PhotoCapabilities", html$.PhotoCapabilities); +html$.PictureElement = class PictureElement extends html$.HtmlElement {}; +(html$.PictureElement.created = function() { + html$.PictureElement.__proto__.created.call(this); + ; +}).prototype = html$.PictureElement.prototype; +dart.addTypeTests(html$.PictureElement); +dart.addTypeCaches(html$.PictureElement); +dart.setLibraryUri(html$.PictureElement, I[148]); +dart.registerExtension("HTMLPictureElement", html$.PictureElement); +html$.Plugin = class Plugin extends _interceptors.Interceptor { + get [S$1.$description]() { + return this.description; + } + get [S$1.$filename]() { + return this.filename; + } + get [$length]() { + return this.length; + } + get [$name]() { + return this.name; + } + [S$.$item](...args) { + return this.item.apply(this, args); + } + [S$1.$namedItem](...args) { + return this.namedItem.apply(this, args); + } +}; +dart.addTypeTests(html$.Plugin); +dart.addTypeCaches(html$.Plugin); +dart.setMethodSignature(html$.Plugin, () => ({ + __proto__: dart.getMethods(html$.Plugin.__proto__), + [S$.$item]: dart.fnType(dart.nullable(html$.MimeType), [core.int]), + [S$1.$namedItem]: dart.fnType(dart.nullable(html$.MimeType), [core.String]) +})); +dart.setGetterSignature(html$.Plugin, () => ({ + __proto__: dart.getGetters(html$.Plugin.__proto__), + [S$1.$description]: dart.nullable(core.String), + [S$1.$filename]: dart.nullable(core.String), + [$length]: dart.nullable(core.int), + [$name]: dart.nullable(core.String) +})); +dart.setLibraryUri(html$.Plugin, I[148]); +dart.registerExtension("Plugin", html$.Plugin); +const Interceptor_ListMixin$36$4 = class Interceptor_ListMixin extends _interceptors.Interceptor {}; +(Interceptor_ListMixin$36$4.new = function() { + Interceptor_ListMixin$36$4.__proto__.new.call(this); +}).prototype = Interceptor_ListMixin$36$4.prototype; +dart.applyMixin(Interceptor_ListMixin$36$4, collection.ListMixin$(html$.Plugin)); +const Interceptor_ImmutableListMixin$36$4 = class Interceptor_ImmutableListMixin extends Interceptor_ListMixin$36$4 {}; +(Interceptor_ImmutableListMixin$36$4.new = function() { + Interceptor_ImmutableListMixin$36$4.__proto__.new.call(this); +}).prototype = Interceptor_ImmutableListMixin$36$4.prototype; +dart.applyMixin(Interceptor_ImmutableListMixin$36$4, html$.ImmutableListMixin$(html$.Plugin)); +html$.PluginArray = class PluginArray extends Interceptor_ImmutableListMixin$36$4 { + get [$length]() { + return this.length; + } + [$_get](index) { + if (index == null) dart.nullFailed(I[147], 25578, 26, "index"); + if (index >>> 0 !== index || index >= this[$length]) dart.throw(new core.IndexError.new(index, this)); + return this[index]; + } + [$_set](index, value$) { + let value = value$; + if (index == null) dart.nullFailed(I[147], 25584, 25, "index"); + html$.Plugin.as(value); + if (value == null) dart.nullFailed(I[147], 25584, 39, "value"); + dart.throw(new core.UnsupportedError.new("Cannot assign element of immutable List.")); + return value$; + } + set [$length](value) { + if (value == null) dart.nullFailed(I[147], 25590, 18, "value"); + dart.throw(new core.UnsupportedError.new("Cannot resize immutable List.")); + } + get [$first]() { + if (dart.notNull(this[$length]) > 0) { + return this[0]; + } + dart.throw(new core.StateError.new("No elements")); + } + set [$first](value) { + super[$first] = value; + } + get [$last]() { + let len = this[$length]; + if (dart.notNull(len) > 0) { + return this[dart.notNull(len) - 1]; + } + dart.throw(new core.StateError.new("No elements")); + } + set [$last](value) { + super[$last] = value; + } + get [$single]() { + let len = this[$length]; + if (len === 1) { + return this[0]; + } + if (len === 0) dart.throw(new core.StateError.new("No elements")); + dart.throw(new core.StateError.new("More than one element")); + } + [$elementAt](index) { + if (index == null) dart.nullFailed(I[147], 25618, 24, "index"); + return this[$_get](index); + } + [S$.$item](...args) { + return this.item.apply(this, args); + } + [S$1.$namedItem](...args) { + return this.namedItem.apply(this, args); + } + [S$2.$refresh](...args) { + return this.refresh.apply(this, args); + } +}; +html$.PluginArray.prototype[dart.isList] = true; +dart.addTypeTests(html$.PluginArray); +dart.addTypeCaches(html$.PluginArray); +html$.PluginArray[dart.implements] = () => [_js_helper.JavaScriptIndexingBehavior$(html$.Plugin), core.List$(html$.Plugin)]; +dart.setMethodSignature(html$.PluginArray, () => ({ + __proto__: dart.getMethods(html$.PluginArray.__proto__), + [$_get]: dart.fnType(html$.Plugin, [core.int]), + [$_set]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), + [S$.$item]: dart.fnType(dart.nullable(html$.Plugin), [core.int]), + [S$1.$namedItem]: dart.fnType(dart.nullable(html$.Plugin), [core.String]), + [S$2.$refresh]: dart.fnType(dart.void, [dart.nullable(core.bool)]) +})); +dart.setGetterSignature(html$.PluginArray, () => ({ + __proto__: dart.getGetters(html$.PluginArray.__proto__), + [$length]: core.int +})); +dart.setSetterSignature(html$.PluginArray, () => ({ + __proto__: dart.getSetters(html$.PluginArray.__proto__), + [$length]: core.int +})); +dart.setLibraryUri(html$.PluginArray, I[148]); +dart.registerExtension("PluginArray", html$.PluginArray); +html$.PointerEvent = class PointerEvent$ extends html$.MouseEvent { + static new(type, eventInitDict = null) { + if (type == null) dart.nullFailed(I[147], 25640, 31, "type"); + if (eventInitDict != null) { + let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); + return html$.PointerEvent._create_1(type, eventInitDict_1); + } + return html$.PointerEvent._create_2(type); + } + static _create_1(type, eventInitDict) { + return new PointerEvent(type, eventInitDict); + } + static _create_2(type) { + return new PointerEvent(type); + } + get [$height]() { + return this.height; + } + get [S$2.$isPrimary]() { + return this.isPrimary; + } + get [S$2.$pointerId]() { + return this.pointerId; + } + get [S$2.$pointerType]() { + return this.pointerType; + } + get [S$2.$pressure]() { + return this.pressure; + } + get [S$2.$tangentialPressure]() { + return this.tangentialPressure; + } + get [S$2.$tiltX]() { + return this.tiltX; + } + get [S$2.$tiltY]() { + return this.tiltY; + } + get [S$2.$twist]() { + return this.twist; + } + get [$width]() { + return this.width; + } + [S$2.$getCoalescedEvents](...args) { + return this.getCoalescedEvents.apply(this, args); + } + static get supported() { + try { + return html$.PointerEvent.is(html$.PointerEvent.new("pointerover")); + } catch (e) { + let _ = dart.getThrown(e); + if (core.Object.is(_)) { + } else + throw e; + } + return false; + } +}; +dart.addTypeTests(html$.PointerEvent); +dart.addTypeCaches(html$.PointerEvent); +dart.setMethodSignature(html$.PointerEvent, () => ({ + __proto__: dart.getMethods(html$.PointerEvent.__proto__), + [S$2.$getCoalescedEvents]: dart.fnType(core.List$(html$.PointerEvent), []) +})); +dart.setGetterSignature(html$.PointerEvent, () => ({ + __proto__: dart.getGetters(html$.PointerEvent.__proto__), + [$height]: dart.nullable(core.num), + [S$2.$isPrimary]: dart.nullable(core.bool), + [S$2.$pointerId]: dart.nullable(core.int), + [S$2.$pointerType]: dart.nullable(core.String), + [S$2.$pressure]: dart.nullable(core.num), + [S$2.$tangentialPressure]: dart.nullable(core.num), + [S$2.$tiltX]: dart.nullable(core.int), + [S$2.$tiltY]: dart.nullable(core.int), + [S$2.$twist]: dart.nullable(core.int), + [$width]: dart.nullable(core.num) +})); +dart.setLibraryUri(html$.PointerEvent, I[148]); +dart.registerExtension("PointerEvent", html$.PointerEvent); +html$.PopStateEvent = class PopStateEvent$ extends html$.Event { + static new(type, eventInitDict = null) { + if (type == null) dart.nullFailed(I[147], 25700, 32, "type"); + if (eventInitDict != null) { + let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); + return html$.PopStateEvent._create_1(type, eventInitDict_1); + } + return html$.PopStateEvent._create_2(type); + } + static _create_1(type, eventInitDict) { + return new PopStateEvent(type, eventInitDict); + } + static _create_2(type) { + return new PopStateEvent(type); + } + get [S$.$state]() { + return html_common.convertNativeToDart_SerializedScriptValue(this[S$1._get_state]); + } + get [S$1._get_state]() { + return this.state; + } +}; +dart.addTypeTests(html$.PopStateEvent); +dart.addTypeCaches(html$.PopStateEvent); +dart.setGetterSignature(html$.PopStateEvent, () => ({ + __proto__: dart.getGetters(html$.PopStateEvent.__proto__), + [S$.$state]: dart.dynamic, + [S$1._get_state]: dart.dynamic +})); +dart.setLibraryUri(html$.PopStateEvent, I[148]); +dart.registerExtension("PopStateEvent", html$.PopStateEvent); +html$.PositionError = class PositionError extends _interceptors.Interceptor { + get [S$.$code]() { + return this.code; + } + get [$message]() { + return this.message; + } +}; +dart.addTypeTests(html$.PositionError); +dart.addTypeCaches(html$.PositionError); +dart.setGetterSignature(html$.PositionError, () => ({ + __proto__: dart.getGetters(html$.PositionError.__proto__), + [S$.$code]: dart.nullable(core.int), + [$message]: dart.nullable(core.String) +})); +dart.setLibraryUri(html$.PositionError, I[148]); +dart.defineLazy(html$.PositionError, { + /*html$.PositionError.PERMISSION_DENIED*/get PERMISSION_DENIED() { + return 1; + }, + /*html$.PositionError.POSITION_UNAVAILABLE*/get POSITION_UNAVAILABLE() { + return 2; + }, + /*html$.PositionError.TIMEOUT*/get TIMEOUT() { + return 3; + } +}, false); +dart.registerExtension("PositionError", html$.PositionError); +html$.PreElement = class PreElement extends html$.HtmlElement { + static new() { + return html$.document.createElement("pre"); + } +}; +(html$.PreElement.created = function() { + html$.PreElement.__proto__.created.call(this); + ; +}).prototype = html$.PreElement.prototype; +dart.addTypeTests(html$.PreElement); +dart.addTypeCaches(html$.PreElement); +dart.setLibraryUri(html$.PreElement, I[148]); +dart.registerExtension("HTMLPreElement", html$.PreElement); +html$.Presentation = class Presentation extends _interceptors.Interceptor { + get [S$2.$defaultRequest]() { + return this.defaultRequest; + } + set [S$2.$defaultRequest](value) { + this.defaultRequest = value; + } + get [S$2.$receiver]() { + return this.receiver; + } +}; +dart.addTypeTests(html$.Presentation); +dart.addTypeCaches(html$.Presentation); +dart.setGetterSignature(html$.Presentation, () => ({ + __proto__: dart.getGetters(html$.Presentation.__proto__), + [S$2.$defaultRequest]: dart.nullable(html$.PresentationRequest), + [S$2.$receiver]: dart.nullable(html$.PresentationReceiver) +})); +dart.setSetterSignature(html$.Presentation, () => ({ + __proto__: dart.getSetters(html$.Presentation.__proto__), + [S$2.$defaultRequest]: dart.nullable(html$.PresentationRequest) +})); +dart.setLibraryUri(html$.Presentation, I[148]); +dart.registerExtension("Presentation", html$.Presentation); +html$.PresentationAvailability = class PresentationAvailability extends html$.EventTarget { + get [S.$value]() { + return this.value; + } + get [S.$onChange]() { + return html$.PresentationAvailability.changeEvent.forTarget(this); + } +}; +dart.addTypeTests(html$.PresentationAvailability); +dart.addTypeCaches(html$.PresentationAvailability); +dart.setGetterSignature(html$.PresentationAvailability, () => ({ + __proto__: dart.getGetters(html$.PresentationAvailability.__proto__), + [S.$value]: dart.nullable(core.bool), + [S.$onChange]: async.Stream$(html$.Event) +})); +dart.setLibraryUri(html$.PresentationAvailability, I[148]); +dart.defineLazy(html$.PresentationAvailability, { + /*html$.PresentationAvailability.changeEvent*/get changeEvent() { + return C[236] || CT.C236; + } +}, false); +dart.registerExtension("PresentationAvailability", html$.PresentationAvailability); +html$.PresentationConnection = class PresentationConnection extends html$.EventTarget { + get [S$2.$binaryType]() { + return this.binaryType; + } + set [S$2.$binaryType](value) { + this.binaryType = value; + } + get [S.$id]() { + return this.id; + } + get [S$.$state]() { + return this.state; + } + get [S$.$url]() { + return this.url; + } + [S.$close](...args) { + return this.close.apply(this, args); + } + [S$1.$send](...args) { + return this.send.apply(this, args); + } + [S$2.$terminate](...args) { + return this.terminate.apply(this, args); + } + get [S$.$onMessage]() { + return html$.PresentationConnection.messageEvent.forTarget(this); + } +}; +dart.addTypeTests(html$.PresentationConnection); +dart.addTypeCaches(html$.PresentationConnection); +dart.setMethodSignature(html$.PresentationConnection, () => ({ + __proto__: dart.getMethods(html$.PresentationConnection.__proto__), + [S.$close]: dart.fnType(dart.void, []), + [S$1.$send]: dart.fnType(dart.void, [dart.dynamic]), + [S$2.$terminate]: dart.fnType(dart.void, []) +})); +dart.setGetterSignature(html$.PresentationConnection, () => ({ + __proto__: dart.getGetters(html$.PresentationConnection.__proto__), + [S$2.$binaryType]: dart.nullable(core.String), + [S.$id]: dart.nullable(core.String), + [S$.$state]: dart.nullable(core.String), + [S$.$url]: dart.nullable(core.String), + [S$.$onMessage]: async.Stream$(html$.MessageEvent) +})); +dart.setSetterSignature(html$.PresentationConnection, () => ({ + __proto__: dart.getSetters(html$.PresentationConnection.__proto__), + [S$2.$binaryType]: dart.nullable(core.String) +})); +dart.setLibraryUri(html$.PresentationConnection, I[148]); +dart.defineLazy(html$.PresentationConnection, { + /*html$.PresentationConnection.messageEvent*/get messageEvent() { + return C[312] || CT.C312; + } +}, false); +dart.registerExtension("PresentationConnection", html$.PresentationConnection); +html$.PresentationConnectionAvailableEvent = class PresentationConnectionAvailableEvent$ extends html$.Event { + static new(type, eventInitDict) { + if (type == null) dart.nullFailed(I[147], 25858, 55, "type"); + if (eventInitDict == null) dart.nullFailed(I[147], 25858, 65, "eventInitDict"); + let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); + return html$.PresentationConnectionAvailableEvent._create_1(type, eventInitDict_1); + } + static _create_1(type, eventInitDict) { + return new PresentationConnectionAvailableEvent(type, eventInitDict); + } + get [S$1.$connection]() { + return this.connection; + } +}; +dart.addTypeTests(html$.PresentationConnectionAvailableEvent); +dart.addTypeCaches(html$.PresentationConnectionAvailableEvent); +dart.setGetterSignature(html$.PresentationConnectionAvailableEvent, () => ({ + __proto__: dart.getGetters(html$.PresentationConnectionAvailableEvent.__proto__), + [S$1.$connection]: dart.nullable(html$.PresentationConnection) +})); +dart.setLibraryUri(html$.PresentationConnectionAvailableEvent, I[148]); +dart.registerExtension("PresentationConnectionAvailableEvent", html$.PresentationConnectionAvailableEvent); +html$.PresentationConnectionCloseEvent = class PresentationConnectionCloseEvent$ extends html$.Event { + static new(type, eventInitDict) { + if (type == null) dart.nullFailed(I[147], 25880, 51, "type"); + if (eventInitDict == null) dart.nullFailed(I[147], 25880, 61, "eventInitDict"); + let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); + return html$.PresentationConnectionCloseEvent._create_1(type, eventInitDict_1); + } + static _create_1(type, eventInitDict) { + return new PresentationConnectionCloseEvent(type, eventInitDict); + } + get [$message]() { + return this.message; + } + get [S$.$reason]() { + return this.reason; + } +}; +dart.addTypeTests(html$.PresentationConnectionCloseEvent); +dart.addTypeCaches(html$.PresentationConnectionCloseEvent); +dart.setGetterSignature(html$.PresentationConnectionCloseEvent, () => ({ + __proto__: dart.getGetters(html$.PresentationConnectionCloseEvent.__proto__), + [$message]: dart.nullable(core.String), + [S$.$reason]: dart.nullable(core.String) +})); +dart.setLibraryUri(html$.PresentationConnectionCloseEvent, I[148]); +dart.registerExtension("PresentationConnectionCloseEvent", html$.PresentationConnectionCloseEvent); +html$.PresentationConnectionList = class PresentationConnectionList extends html$.EventTarget { + get [S$2.$connections]() { + return this.connections; + } +}; +dart.addTypeTests(html$.PresentationConnectionList); +dart.addTypeCaches(html$.PresentationConnectionList); +dart.setGetterSignature(html$.PresentationConnectionList, () => ({ + __proto__: dart.getGetters(html$.PresentationConnectionList.__proto__), + [S$2.$connections]: dart.nullable(core.List$(html$.PresentationConnection)) +})); +dart.setLibraryUri(html$.PresentationConnectionList, I[148]); +dart.registerExtension("PresentationConnectionList", html$.PresentationConnectionList); +html$.PresentationReceiver = class PresentationReceiver extends _interceptors.Interceptor { + get [S$2.$connectionList]() { + return js_util.promiseToFuture(html$.PresentationConnectionList, this.connectionList); + } +}; +dart.addTypeTests(html$.PresentationReceiver); +dart.addTypeCaches(html$.PresentationReceiver); +dart.setGetterSignature(html$.PresentationReceiver, () => ({ + __proto__: dart.getGetters(html$.PresentationReceiver.__proto__), + [S$2.$connectionList]: async.Future$(html$.PresentationConnectionList) +})); +dart.setLibraryUri(html$.PresentationReceiver, I[148]); +dart.registerExtension("PresentationReceiver", html$.PresentationReceiver); +html$.PresentationRequest = class PresentationRequest$ extends html$.EventTarget { + static new(url_OR_urls) { + if (typeof url_OR_urls == 'string') { + return html$.PresentationRequest._create_1(url_OR_urls); + } + if (T$.ListOfString().is(url_OR_urls)) { + let urls_1 = html_common.convertDartToNative_StringArray(url_OR_urls); + return html$.PresentationRequest._create_2(urls_1); + } + dart.throw(new core.ArgumentError.new("Incorrect number or type of arguments")); + } + static _create_1(url_OR_urls) { + return new PresentationRequest(url_OR_urls); + } + static _create_2(url_OR_urls) { + return new PresentationRequest(url_OR_urls); + } + [S$2.$getAvailability]() { + return js_util.promiseToFuture(html$.PresentationAvailability, this.getAvailability()); + } + [S$2.$reconnect](id) { + if (id == null) dart.nullFailed(I[147], 25952, 51, "id"); + return js_util.promiseToFuture(html$.PresentationConnection, this.reconnect(id)); + } + [S$.$start]() { + return js_util.promiseToFuture(html$.PresentationConnection, this.start()); + } +}; +dart.addTypeTests(html$.PresentationRequest); +dart.addTypeCaches(html$.PresentationRequest); +dart.setMethodSignature(html$.PresentationRequest, () => ({ + __proto__: dart.getMethods(html$.PresentationRequest.__proto__), + [S$2.$getAvailability]: dart.fnType(async.Future$(html$.PresentationAvailability), []), + [S$2.$reconnect]: dart.fnType(async.Future$(html$.PresentationConnection), [core.String]), + [S$.$start]: dart.fnType(async.Future$(html$.PresentationConnection), []) +})); +dart.setLibraryUri(html$.PresentationRequest, I[148]); +dart.registerExtension("PresentationRequest", html$.PresentationRequest); +html$.ProcessingInstruction = class ProcessingInstruction extends html$.CharacterData { + get [S$1.$sheet]() { + return this.sheet; + } + get [S.$target]() { + return this.target; + } +}; +dart.addTypeTests(html$.ProcessingInstruction); +dart.addTypeCaches(html$.ProcessingInstruction); +dart.setGetterSignature(html$.ProcessingInstruction, () => ({ + __proto__: dart.getGetters(html$.ProcessingInstruction.__proto__), + [S$1.$sheet]: dart.nullable(html$.StyleSheet), + [S.$target]: dart.nullable(core.String) +})); +dart.setLibraryUri(html$.ProcessingInstruction, I[148]); +dart.registerExtension("ProcessingInstruction", html$.ProcessingInstruction); +html$.ProgressElement = class ProgressElement extends html$.HtmlElement { + static new() { + return html$.ProgressElement.as(html$.document[S.$createElement]("progress")); + } + static get supported() { + return html$.Element.isTagSupported("progress"); + } + get [S$.$labels]() { + return this.labels; + } + get [S$1.$max]() { + return this.max; + } + set [S$1.$max](value) { + this.max = value; + } + get [S$0.$position]() { + return this.position; + } + get [S.$value]() { + return this.value; + } + set [S.$value](value) { + this.value = value; + } +}; +(html$.ProgressElement.created = function() { + html$.ProgressElement.__proto__.created.call(this); + ; +}).prototype = html$.ProgressElement.prototype; +dart.addTypeTests(html$.ProgressElement); +dart.addTypeCaches(html$.ProgressElement); +dart.setGetterSignature(html$.ProgressElement, () => ({ + __proto__: dart.getGetters(html$.ProgressElement.__proto__), + [S$.$labels]: dart.nullable(core.List$(html$.Node)), + [S$1.$max]: core.num, + [S$0.$position]: core.num, + [S.$value]: core.num +})); +dart.setSetterSignature(html$.ProgressElement, () => ({ + __proto__: dart.getSetters(html$.ProgressElement.__proto__), + [S$1.$max]: core.num, + [S.$value]: core.num +})); +dart.setLibraryUri(html$.ProgressElement, I[148]); +dart.registerExtension("HTMLProgressElement", html$.ProgressElement); +html$.ProgressEvent = class ProgressEvent$ extends html$.Event { + static new(type, eventInitDict = null) { + if (type == null) dart.nullFailed(I[147], 26029, 32, "type"); + if (eventInitDict != null) { + let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); + return html$.ProgressEvent._create_1(type, eventInitDict_1); + } + return html$.ProgressEvent._create_2(type); + } + static _create_1(type, eventInitDict) { + return new ProgressEvent(type, eventInitDict); + } + static _create_2(type) { + return new ProgressEvent(type); + } + get [S$2.$lengthComputable]() { + return this.lengthComputable; + } + get [S$1.$loaded]() { + return this.loaded; + } + get [S$2.$total]() { + return this.total; + } +}; +dart.addTypeTests(html$.ProgressEvent); +dart.addTypeCaches(html$.ProgressEvent); +dart.setGetterSignature(html$.ProgressEvent, () => ({ + __proto__: dart.getGetters(html$.ProgressEvent.__proto__), + [S$2.$lengthComputable]: core.bool, + [S$1.$loaded]: dart.nullable(core.int), + [S$2.$total]: dart.nullable(core.int) +})); +dart.setLibraryUri(html$.ProgressEvent, I[148]); +dart.registerExtension("ProgressEvent", html$.ProgressEvent); +html$.PromiseRejectionEvent = class PromiseRejectionEvent$ extends html$.Event { + static new(type, eventInitDict) { + if (type == null) dart.nullFailed(I[147], 26058, 40, "type"); + if (eventInitDict == null) dart.nullFailed(I[147], 26058, 50, "eventInitDict"); + let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); + return html$.PromiseRejectionEvent._create_1(type, eventInitDict_1); + } + static _create_1(type, eventInitDict) { + return new PromiseRejectionEvent(type, eventInitDict); + } + get [S$2.$promise]() { + return js_util.promiseToFuture(dart.dynamic, this.promise); + } + get [S$.$reason]() { + return this.reason; + } +}; +dart.addTypeTests(html$.PromiseRejectionEvent); +dart.addTypeCaches(html$.PromiseRejectionEvent); +dart.setGetterSignature(html$.PromiseRejectionEvent, () => ({ + __proto__: dart.getGetters(html$.PromiseRejectionEvent.__proto__), + [S$2.$promise]: async.Future, + [S$.$reason]: dart.nullable(core.Object) +})); +dart.setLibraryUri(html$.PromiseRejectionEvent, I[148]); +dart.registerExtension("PromiseRejectionEvent", html$.PromiseRejectionEvent); +html$.PublicKeyCredential = class PublicKeyCredential extends html$.Credential { + get [S$2.$rawId]() { + return this.rawId; + } + get [S$.$response]() { + return this.response; + } +}; +dart.addTypeTests(html$.PublicKeyCredential); +dart.addTypeCaches(html$.PublicKeyCredential); +dart.setGetterSignature(html$.PublicKeyCredential, () => ({ + __proto__: dart.getGetters(html$.PublicKeyCredential.__proto__), + [S$2.$rawId]: dart.nullable(typed_data.ByteBuffer), + [S$.$response]: dart.nullable(html$.AuthenticatorResponse) +})); +dart.setLibraryUri(html$.PublicKeyCredential, I[148]); +dart.registerExtension("PublicKeyCredential", html$.PublicKeyCredential); +html$.PushEvent = class PushEvent$ extends html$.ExtendableEvent { + static new(type, eventInitDict = null) { + if (type == null) dart.nullFailed(I[147], 26098, 28, "type"); + if (eventInitDict != null) { + let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); + return html$.PushEvent._create_1(type, eventInitDict_1); + } + return html$.PushEvent._create_2(type); + } + static _create_1(type, eventInitDict) { + return new PushEvent(type, eventInitDict); + } + static _create_2(type) { + return new PushEvent(type); + } + get [S$.$data]() { + return this.data; + } +}; +dart.addTypeTests(html$.PushEvent); +dart.addTypeCaches(html$.PushEvent); +dart.setGetterSignature(html$.PushEvent, () => ({ + __proto__: dart.getGetters(html$.PushEvent.__proto__), + [S$.$data]: dart.nullable(html$.PushMessageData) +})); +dart.setLibraryUri(html$.PushEvent, I[148]); +dart.registerExtension("PushEvent", html$.PushEvent); +html$.PushManager = class PushManager extends _interceptors.Interceptor { + [S$2.$getSubscription]() { + return js_util.promiseToFuture(html$.PushSubscription, this.getSubscription()); + } + [S$2.$permissionState](options = null) { + let options_dict = null; + if (options != null) { + options_dict = html_common.convertDartToNative_Dictionary(options); + } + return js_util.promiseToFuture(dart.dynamic, this.permissionState(options_dict)); + } + [S$2.$subscribe](options = null) { + let options_dict = null; + if (options != null) { + options_dict = html_common.convertDartToNative_Dictionary(options); + } + return js_util.promiseToFuture(html$.PushSubscription, this.subscribe(options_dict)); + } +}; +dart.addTypeTests(html$.PushManager); +dart.addTypeCaches(html$.PushManager); +dart.setMethodSignature(html$.PushManager, () => ({ + __proto__: dart.getMethods(html$.PushManager.__proto__), + [S$2.$getSubscription]: dart.fnType(async.Future$(html$.PushSubscription), []), + [S$2.$permissionState]: dart.fnType(async.Future, [], [dart.nullable(core.Map)]), + [S$2.$subscribe]: dart.fnType(async.Future$(html$.PushSubscription), [], [dart.nullable(core.Map)]) +})); +dart.setLibraryUri(html$.PushManager, I[148]); +dart.registerExtension("PushManager", html$.PushManager); +html$.PushMessageData = class PushMessageData extends _interceptors.Interceptor { + [S$.$arrayBuffer](...args) { + return this.arrayBuffer.apply(this, args); + } + [S$.$blob](...args) { + return this.blob.apply(this, args); + } + [S$.$json](...args) { + return this.json.apply(this, args); + } + [S.$text](...args) { + return this.text.apply(this, args); + } +}; +dart.addTypeTests(html$.PushMessageData); +dart.addTypeCaches(html$.PushMessageData); +dart.setMethodSignature(html$.PushMessageData, () => ({ + __proto__: dart.getMethods(html$.PushMessageData.__proto__), + [S$.$arrayBuffer]: dart.fnType(typed_data.ByteBuffer, []), + [S$.$blob]: dart.fnType(html$.Blob, []), + [S$.$json]: dart.fnType(core.Object, []), + [S.$text]: dart.fnType(core.String, []) +})); +dart.setLibraryUri(html$.PushMessageData, I[148]); +dart.registerExtension("PushMessageData", html$.PushMessageData); +html$.PushSubscription = class PushSubscription extends _interceptors.Interceptor { + get [S$2.$endpoint]() { + return this.endpoint; + } + get [S$2.$expirationTime]() { + return this.expirationTime; + } + get [S$0.$options]() { + return this.options; + } + [S.$getKey](...args) { + return this.getKey.apply(this, args); + } + [S$2.$unsubscribe]() { + return js_util.promiseToFuture(core.bool, this.unsubscribe()); + } +}; +dart.addTypeTests(html$.PushSubscription); +dart.addTypeCaches(html$.PushSubscription); +dart.setMethodSignature(html$.PushSubscription, () => ({ + __proto__: dart.getMethods(html$.PushSubscription.__proto__), + [S.$getKey]: dart.fnType(dart.nullable(typed_data.ByteBuffer), [core.String]), + [S$2.$unsubscribe]: dart.fnType(async.Future$(core.bool), []) +})); +dart.setGetterSignature(html$.PushSubscription, () => ({ + __proto__: dart.getGetters(html$.PushSubscription.__proto__), + [S$2.$endpoint]: dart.nullable(core.String), + [S$2.$expirationTime]: dart.nullable(core.int), + [S$0.$options]: dart.nullable(html$.PushSubscriptionOptions) +})); +dart.setLibraryUri(html$.PushSubscription, I[148]); +dart.registerExtension("PushSubscription", html$.PushSubscription); +html$.PushSubscriptionOptions = class PushSubscriptionOptions extends _interceptors.Interceptor { + get [S$2.$applicationServerKey]() { + return this.applicationServerKey; + } + get [S$2.$userVisibleOnly]() { + return this.userVisibleOnly; + } +}; +dart.addTypeTests(html$.PushSubscriptionOptions); +dart.addTypeCaches(html$.PushSubscriptionOptions); +dart.setGetterSignature(html$.PushSubscriptionOptions, () => ({ + __proto__: dart.getGetters(html$.PushSubscriptionOptions.__proto__), + [S$2.$applicationServerKey]: dart.nullable(typed_data.ByteBuffer), + [S$2.$userVisibleOnly]: dart.nullable(core.bool) +})); +dart.setLibraryUri(html$.PushSubscriptionOptions, I[148]); +dart.registerExtension("PushSubscriptionOptions", html$.PushSubscriptionOptions); +html$.QuoteElement = class QuoteElement extends html$.HtmlElement { + static new() { + return html$.document.createElement("q"); + } + get [S$1.$cite]() { + return this.cite; + } + set [S$1.$cite](value) { + this.cite = value; + } +}; +(html$.QuoteElement.created = function() { + html$.QuoteElement.__proto__.created.call(this); + ; +}).prototype = html$.QuoteElement.prototype; +dart.addTypeTests(html$.QuoteElement); +dart.addTypeCaches(html$.QuoteElement); +dart.setGetterSignature(html$.QuoteElement, () => ({ + __proto__: dart.getGetters(html$.QuoteElement.__proto__), + [S$1.$cite]: core.String +})); +dart.setSetterSignature(html$.QuoteElement, () => ({ + __proto__: dart.getSetters(html$.QuoteElement.__proto__), + [S$1.$cite]: core.String +})); +dart.setLibraryUri(html$.QuoteElement, I[148]); +dart.registerExtension("HTMLQuoteElement", html$.QuoteElement); +html$.Range = class Range extends _interceptors.Interceptor { + static new() { + return html$.document.createRange(); + } + static fromPoint(point) { + if (point == null) dart.nullFailed(I[147], 26260, 33, "point"); + return html$.document[S$1._caretRangeFromPoint](point.x[$toInt](), point.y[$toInt]()); + } + get [S$2.$collapsed]() { + return this.collapsed; + } + get [S$2.$commonAncestorContainer]() { + return this.commonAncestorContainer; + } + get [S$2.$endContainer]() { + return this.endContainer; + } + get [S$2.$endOffset]() { + return this.endOffset; + } + get [S$2.$startContainer]() { + return this.startContainer; + } + get [S$2.$startOffset]() { + return this.startOffset; + } + [S$2.$cloneContents](...args) { + return this.cloneContents.apply(this, args); + } + [S$2.$cloneRange](...args) { + return this.cloneRange.apply(this, args); + } + [S$2.$collapse](...args) { + return this.collapse.apply(this, args); + } + [S$2.$compareBoundaryPoints](...args) { + return this.compareBoundaryPoints.apply(this, args); + } + [S$2.$comparePoint](...args) { + return this.comparePoint.apply(this, args); + } + [S$2.$createContextualFragment](...args) { + return this.createContextualFragment.apply(this, args); + } + [S$2.$deleteContents](...args) { + return this.deleteContents.apply(this, args); + } + [S$2.$detach](...args) { + return this.detach.apply(this, args); + } + [$expand](...args) { + return this.expand.apply(this, args); + } + [S$2.$extractContents](...args) { + return this.extractContents.apply(this, args); + } + [S.$getBoundingClientRect](...args) { + return this.getBoundingClientRect.apply(this, args); + } + [S._getClientRects](...args) { + return this.getClientRects.apply(this, args); + } + [S$2.$insertNode](...args) { + return this.insertNode.apply(this, args); + } + [S$2.$isPointInRange](...args) { + return this.isPointInRange.apply(this, args); + } + [S$2.$selectNode](...args) { + return this.selectNode.apply(this, args); + } + [S$2.$selectNodeContents](...args) { + return this.selectNodeContents.apply(this, args); + } + [S$2.$setEnd](...args) { + return this.setEnd.apply(this, args); + } + [S$2.$setEndAfter](...args) { + return this.setEndAfter.apply(this, args); + } + [S$2.$setEndBefore](...args) { + return this.setEndBefore.apply(this, args); + } + [S$2.$setStart](...args) { + return this.setStart.apply(this, args); + } + [S$2.$setStartAfter](...args) { + return this.setStartAfter.apply(this, args); + } + [S$2.$setStartBefore](...args) { + return this.setStartBefore.apply(this, args); + } + [S$2.$surroundContents](...args) { + return this.surroundContents.apply(this, args); + } + [S.$getClientRects]() { + let value = this[S._getClientRects](); + let jsProto = value.prototype; + if (jsProto == null) { + value.prototype = Object.create(null); + } + _js_helper.applyExtension("DOMRectList", value); + return value; + } + static get supportsCreateContextualFragment() { + return "createContextualFragment" in window.Range.prototype; + } +}; +dart.addTypeTests(html$.Range); +dart.addTypeCaches(html$.Range); +dart.setMethodSignature(html$.Range, () => ({ + __proto__: dart.getMethods(html$.Range.__proto__), + [S$2.$cloneContents]: dart.fnType(html$.DocumentFragment, []), + [S$2.$cloneRange]: dart.fnType(html$.Range, []), + [S$2.$collapse]: dart.fnType(dart.void, [], [dart.nullable(core.bool)]), + [S$2.$compareBoundaryPoints]: dart.fnType(core.int, [core.int, html$.Range]), + [S$2.$comparePoint]: dart.fnType(core.int, [html$.Node, core.int]), + [S$2.$createContextualFragment]: dart.fnType(html$.DocumentFragment, [core.String]), + [S$2.$deleteContents]: dart.fnType(dart.void, []), + [S$2.$detach]: dart.fnType(dart.void, []), + [$expand]: dart.fnType(dart.void, [dart.nullable(core.String)]), + [S$2.$extractContents]: dart.fnType(html$.DocumentFragment, []), + [S.$getBoundingClientRect]: dart.fnType(math.Rectangle$(core.num), []), + [S._getClientRects]: dart.fnType(core.List$(math.Rectangle$(core.num)), []), + [S$2.$insertNode]: dart.fnType(dart.void, [html$.Node]), + [S$2.$isPointInRange]: dart.fnType(core.bool, [html$.Node, core.int]), + [S$2.$selectNode]: dart.fnType(dart.void, [html$.Node]), + [S$2.$selectNodeContents]: dart.fnType(dart.void, [html$.Node]), + [S$2.$setEnd]: dart.fnType(dart.void, [html$.Node, core.int]), + [S$2.$setEndAfter]: dart.fnType(dart.void, [html$.Node]), + [S$2.$setEndBefore]: dart.fnType(dart.void, [html$.Node]), + [S$2.$setStart]: dart.fnType(dart.void, [html$.Node, core.int]), + [S$2.$setStartAfter]: dart.fnType(dart.void, [html$.Node]), + [S$2.$setStartBefore]: dart.fnType(dart.void, [html$.Node]), + [S$2.$surroundContents]: dart.fnType(dart.void, [html$.Node]), + [S.$getClientRects]: dart.fnType(core.List$(math.Rectangle$(core.num)), []) +})); +dart.setGetterSignature(html$.Range, () => ({ + __proto__: dart.getGetters(html$.Range.__proto__), + [S$2.$collapsed]: core.bool, + [S$2.$commonAncestorContainer]: html$.Node, + [S$2.$endContainer]: html$.Node, + [S$2.$endOffset]: core.int, + [S$2.$startContainer]: html$.Node, + [S$2.$startOffset]: core.int +})); +dart.setLibraryUri(html$.Range, I[148]); +dart.defineLazy(html$.Range, { + /*html$.Range.END_TO_END*/get END_TO_END() { + return 2; + }, + /*html$.Range.END_TO_START*/get END_TO_START() { + return 3; + }, + /*html$.Range.START_TO_END*/get START_TO_END() { + return 1; + }, + /*html$.Range.START_TO_START*/get START_TO_START() { + return 0; + } +}, false); +dart.registerExtension("Range", html$.Range); +html$.RelatedApplication = class RelatedApplication extends _interceptors.Interceptor { + get [S.$id]() { + return this.id; + } + get [S$2.$platform]() { + return this.platform; + } + get [S$.$url]() { + return this.url; + } +}; +dart.addTypeTests(html$.RelatedApplication); +dart.addTypeCaches(html$.RelatedApplication); +dart.setGetterSignature(html$.RelatedApplication, () => ({ + __proto__: dart.getGetters(html$.RelatedApplication.__proto__), + [S.$id]: dart.nullable(core.String), + [S$2.$platform]: dart.nullable(core.String), + [S$.$url]: dart.nullable(core.String) +})); +dart.setLibraryUri(html$.RelatedApplication, I[148]); +dart.registerExtension("RelatedApplication", html$.RelatedApplication); +html$.RelativeOrientationSensor = class RelativeOrientationSensor$ extends html$.OrientationSensor { + static new(sensorOptions = null) { + if (sensorOptions != null) { + let sensorOptions_1 = html_common.convertDartToNative_Dictionary(sensorOptions); + return html$.RelativeOrientationSensor._create_1(sensorOptions_1); + } + return html$.RelativeOrientationSensor._create_2(); + } + static _create_1(sensorOptions) { + return new RelativeOrientationSensor(sensorOptions); + } + static _create_2() { + return new RelativeOrientationSensor(); + } +}; +dart.addTypeTests(html$.RelativeOrientationSensor); +dart.addTypeCaches(html$.RelativeOrientationSensor); +dart.setLibraryUri(html$.RelativeOrientationSensor, I[148]); +dart.registerExtension("RelativeOrientationSensor", html$.RelativeOrientationSensor); +html$.RemotePlayback = class RemotePlayback extends html$.EventTarget { + get [S$.$state]() { + return this.state; + } + [S$2.$cancelWatchAvailability](id = null) { + return js_util.promiseToFuture(dart.dynamic, this.cancelWatchAvailability(id)); + } + [S$.$prompt]() { + return js_util.promiseToFuture(dart.dynamic, this.prompt()); + } + [S$2.$watchAvailability](callback) { + if (callback == null) dart.nullFailed(I[147], 26420, 68, "callback"); + return js_util.promiseToFuture(core.int, this.watchAvailability(callback)); + } +}; +dart.addTypeTests(html$.RemotePlayback); +dart.addTypeCaches(html$.RemotePlayback); +dart.setMethodSignature(html$.RemotePlayback, () => ({ + __proto__: dart.getMethods(html$.RemotePlayback.__proto__), + [S$2.$cancelWatchAvailability]: dart.fnType(async.Future, [], [dart.nullable(core.int)]), + [S$.$prompt]: dart.fnType(async.Future, []), + [S$2.$watchAvailability]: dart.fnType(async.Future$(core.int), [dart.fnType(dart.void, [core.bool])]) +})); +dart.setGetterSignature(html$.RemotePlayback, () => ({ + __proto__: dart.getGetters(html$.RemotePlayback.__proto__), + [S$.$state]: dart.nullable(core.String) +})); +dart.setLibraryUri(html$.RemotePlayback, I[148]); +dart.registerExtension("RemotePlayback", html$.RemotePlayback); +html$.ReportingObserver = class ReportingObserver$ extends _interceptors.Interceptor { + static new(callback) { + if (callback == null) dart.nullFailed(I[147], 26452, 55, "callback"); + let callback_1 = _js_helper.convertDartClosureToJS(T$0.ListAndReportingObserverTovoid(), callback, 2); + return html$.ReportingObserver._create_1(callback_1); + } + static _create_1(callback) { + return new ReportingObserver(callback); + } + [S$1.$disconnect](...args) { + return this.disconnect.apply(this, args); + } + [S.$observe](...args) { + return this.observe.apply(this, args); + } +}; +dart.addTypeTests(html$.ReportingObserver); +dart.addTypeCaches(html$.ReportingObserver); +dart.setMethodSignature(html$.ReportingObserver, () => ({ + __proto__: dart.getMethods(html$.ReportingObserver.__proto__), + [S$1.$disconnect]: dart.fnType(dart.void, []), + [S.$observe]: dart.fnType(dart.void, []) +})); +dart.setLibraryUri(html$.ReportingObserver, I[148]); +dart.registerExtension("ReportingObserver", html$.ReportingObserver); +html$.ResizeObserver = class ResizeObserver$ extends _interceptors.Interceptor { + static new(callback) { + if (callback == null) dart.nullFailed(I[147], 26489, 49, "callback"); + let callback_1 = _js_helper.convertDartClosureToJS(T$0.ListAndResizeObserverTovoid(), callback, 2); + return html$.ResizeObserver._create_1(callback_1); + } + static _create_1(callback) { + return new ResizeObserver(callback); + } + [S$1.$disconnect](...args) { + return this.disconnect.apply(this, args); + } + [S.$observe](...args) { + return this.observe.apply(this, args); + } + [S.$unobserve](...args) { + return this.unobserve.apply(this, args); + } +}; +dart.addTypeTests(html$.ResizeObserver); +dart.addTypeCaches(html$.ResizeObserver); +dart.setMethodSignature(html$.ResizeObserver, () => ({ + __proto__: dart.getMethods(html$.ResizeObserver.__proto__), + [S$1.$disconnect]: dart.fnType(dart.void, []), + [S.$observe]: dart.fnType(dart.void, [html$.Element]), + [S.$unobserve]: dart.fnType(dart.void, [html$.Element]) +})); +dart.setLibraryUri(html$.ResizeObserver, I[148]); +dart.registerExtension("ResizeObserver", html$.ResizeObserver); +html$.ResizeObserverEntry = class ResizeObserverEntry extends _interceptors.Interceptor { + get [S$2.$contentRect]() { + return this.contentRect; + } + get [S.$target]() { + return this.target; + } +}; +dart.addTypeTests(html$.ResizeObserverEntry); +dart.addTypeCaches(html$.ResizeObserverEntry); +dart.setGetterSignature(html$.ResizeObserverEntry, () => ({ + __proto__: dart.getGetters(html$.ResizeObserverEntry.__proto__), + [S$2.$contentRect]: dart.nullable(html$.DomRectReadOnly), + [S.$target]: dart.nullable(html$.Element) +})); +dart.setLibraryUri(html$.ResizeObserverEntry, I[148]); +dart.registerExtension("ResizeObserverEntry", html$.ResizeObserverEntry); +html$.RtcCertificate = class RtcCertificate extends _interceptors.Interceptor { + get [S$2.$expires]() { + return this.expires; + } + [S$2.$getFingerprints](...args) { + return this.getFingerprints.apply(this, args); + } +}; +dart.addTypeTests(html$.RtcCertificate); +dart.addTypeCaches(html$.RtcCertificate); +dart.setMethodSignature(html$.RtcCertificate, () => ({ + __proto__: dart.getMethods(html$.RtcCertificate.__proto__), + [S$2.$getFingerprints]: dart.fnType(core.List$(core.Map), []) +})); +dart.setGetterSignature(html$.RtcCertificate, () => ({ + __proto__: dart.getGetters(html$.RtcCertificate.__proto__), + [S$2.$expires]: dart.nullable(core.int) +})); +dart.setLibraryUri(html$.RtcCertificate, I[148]); +dart.registerExtension("RTCCertificate", html$.RtcCertificate); +html$.RtcDataChannel = class RtcDataChannel extends html$.EventTarget { + get [S$2.$binaryType]() { + return this.binaryType; + } + set [S$2.$binaryType](value) { + this.binaryType = value; + } + get [S$2.$bufferedAmount]() { + return this.bufferedAmount; + } + get [S$2.$bufferedAmountLowThreshold]() { + return this.bufferedAmountLowThreshold; + } + set [S$2.$bufferedAmountLowThreshold](value) { + this.bufferedAmountLowThreshold = value; + } + get [S.$id]() { + return this.id; + } + get [S$.$label]() { + return this.label; + } + get [S$2.$maxRetransmitTime]() { + return this.maxRetransmitTime; + } + get [S$2.$maxRetransmits]() { + return this.maxRetransmits; + } + get [S$2.$negotiated]() { + return this.negotiated; + } + get [S$2.$ordered]() { + return this.ordered; + } + get [S$.$protocol]() { + return this.protocol; + } + get [S.$readyState]() { + return this.readyState; + } + get [S$2.$reliable]() { + return this.reliable; + } + [S.$close](...args) { + return this.close.apply(this, args); + } + [S$1.$send](...args) { + return this.send.apply(this, args); + } + [S$2.$sendBlob](...args) { + return this.send.apply(this, args); + } + [S$2.$sendByteBuffer](...args) { + return this.send.apply(this, args); + } + [S$2.$sendString](...args) { + return this.send.apply(this, args); + } + [S$2.$sendTypedData](...args) { + return this.send.apply(this, args); + } + get [S.$onClose]() { + return html$.RtcDataChannel.closeEvent.forTarget(this); + } + get [S.$onError]() { + return html$.RtcDataChannel.errorEvent.forTarget(this); + } + get [S$.$onMessage]() { + return html$.RtcDataChannel.messageEvent.forTarget(this); + } + get [S$1.$onOpen]() { + return html$.RtcDataChannel.openEvent.forTarget(this); + } +}; +dart.addTypeTests(html$.RtcDataChannel); +dart.addTypeCaches(html$.RtcDataChannel); +dart.setMethodSignature(html$.RtcDataChannel, () => ({ + __proto__: dart.getMethods(html$.RtcDataChannel.__proto__), + [S.$close]: dart.fnType(dart.void, []), + [S$1.$send]: dart.fnType(dart.void, [dart.dynamic]), + [S$2.$sendBlob]: dart.fnType(dart.void, [html$.Blob]), + [S$2.$sendByteBuffer]: dart.fnType(dart.void, [typed_data.ByteBuffer]), + [S$2.$sendString]: dart.fnType(dart.void, [core.String]), + [S$2.$sendTypedData]: dart.fnType(dart.void, [typed_data.TypedData]) +})); +dart.setGetterSignature(html$.RtcDataChannel, () => ({ + __proto__: dart.getGetters(html$.RtcDataChannel.__proto__), + [S$2.$binaryType]: dart.nullable(core.String), + [S$2.$bufferedAmount]: dart.nullable(core.int), + [S$2.$bufferedAmountLowThreshold]: dart.nullable(core.int), + [S.$id]: dart.nullable(core.int), + [S$.$label]: dart.nullable(core.String), + [S$2.$maxRetransmitTime]: dart.nullable(core.int), + [S$2.$maxRetransmits]: dart.nullable(core.int), + [S$2.$negotiated]: dart.nullable(core.bool), + [S$2.$ordered]: dart.nullable(core.bool), + [S$.$protocol]: dart.nullable(core.String), + [S.$readyState]: dart.nullable(core.String), + [S$2.$reliable]: dart.nullable(core.bool), + [S.$onClose]: async.Stream$(html$.Event), + [S.$onError]: async.Stream$(html$.Event), + [S$.$onMessage]: async.Stream$(html$.MessageEvent), + [S$1.$onOpen]: async.Stream$(html$.Event) +})); +dart.setSetterSignature(html$.RtcDataChannel, () => ({ + __proto__: dart.getSetters(html$.RtcDataChannel.__proto__), + [S$2.$binaryType]: dart.nullable(core.String), + [S$2.$bufferedAmountLowThreshold]: dart.nullable(core.int) +})); +dart.setLibraryUri(html$.RtcDataChannel, I[148]); +dart.defineLazy(html$.RtcDataChannel, { + /*html$.RtcDataChannel.closeEvent*/get closeEvent() { + return C[215] || CT.C215; + }, + /*html$.RtcDataChannel.errorEvent*/get errorEvent() { + return C[216] || CT.C216; + }, + /*html$.RtcDataChannel.messageEvent*/get messageEvent() { + return C[312] || CT.C312; + }, + /*html$.RtcDataChannel.openEvent*/get openEvent() { + return C[330] || CT.C330; + } +}, false); +dart.registerExtension("RTCDataChannel", html$.RtcDataChannel); +dart.registerExtension("DataChannel", html$.RtcDataChannel); +html$.RtcDataChannelEvent = class RtcDataChannelEvent extends html$.Event { + static new(type, eventInitDict) { + if (type == null) dart.nullFailed(I[147], 26653, 38, "type"); + if (eventInitDict == null) dart.nullFailed(I[147], 26653, 48, "eventInitDict"); + let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); + return html$.RtcDataChannelEvent._create_1(type, eventInitDict_1); + } + static _create_1(type, eventInitDict) { + return new RTCDataChannelEvent(type, eventInitDict); + } + get [S$2.$channel]() { + return this.channel; + } +}; +dart.addTypeTests(html$.RtcDataChannelEvent); +dart.addTypeCaches(html$.RtcDataChannelEvent); +dart.setGetterSignature(html$.RtcDataChannelEvent, () => ({ + __proto__: dart.getGetters(html$.RtcDataChannelEvent.__proto__), + [S$2.$channel]: dart.nullable(html$.RtcDataChannel) +})); +dart.setLibraryUri(html$.RtcDataChannelEvent, I[148]); +dart.registerExtension("RTCDataChannelEvent", html$.RtcDataChannelEvent); +html$.RtcDtmfSender = class RtcDtmfSender extends html$.EventTarget { + get [S$2.$canInsertDtmf]() { + return this.canInsertDTMF; + } + get [S$.$duration]() { + return this.duration; + } + get [S$2.$interToneGap]() { + return this.interToneGap; + } + get [S$2.$toneBuffer]() { + return this.toneBuffer; + } + get [S$1.$track]() { + return this.track; + } + [S$2.$insertDtmf](...args) { + return this.insertDTMF.apply(this, args); + } + get [S$2.$onToneChange]() { + return html$.RtcDtmfSender.toneChangeEvent.forTarget(this); + } +}; +dart.addTypeTests(html$.RtcDtmfSender); +dart.addTypeCaches(html$.RtcDtmfSender); +dart.setMethodSignature(html$.RtcDtmfSender, () => ({ + __proto__: dart.getMethods(html$.RtcDtmfSender.__proto__), + [S$2.$insertDtmf]: dart.fnType(dart.void, [core.String], [dart.nullable(core.int), dart.nullable(core.int)]) +})); +dart.setGetterSignature(html$.RtcDtmfSender, () => ({ + __proto__: dart.getGetters(html$.RtcDtmfSender.__proto__), + [S$2.$canInsertDtmf]: dart.nullable(core.bool), + [S$.$duration]: dart.nullable(core.int), + [S$2.$interToneGap]: dart.nullable(core.int), + [S$2.$toneBuffer]: dart.nullable(core.String), + [S$1.$track]: dart.nullable(html$.MediaStreamTrack), + [S$2.$onToneChange]: async.Stream$(html$.RtcDtmfToneChangeEvent) +})); +dart.setLibraryUri(html$.RtcDtmfSender, I[148]); +dart.defineLazy(html$.RtcDtmfSender, { + /*html$.RtcDtmfSender.toneChangeEvent*/get toneChangeEvent() { + return C[353] || CT.C353; + } +}, false); +dart.registerExtension("RTCDTMFSender", html$.RtcDtmfSender); +html$.RtcDtmfToneChangeEvent = class RtcDtmfToneChangeEvent extends html$.Event { + static new(type, eventInitDict) { + if (type == null) dart.nullFailed(I[147], 26714, 41, "type"); + if (eventInitDict == null) dart.nullFailed(I[147], 26714, 51, "eventInitDict"); + let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); + return html$.RtcDtmfToneChangeEvent._create_1(type, eventInitDict_1); + } + static _create_1(type, eventInitDict) { + return new RTCDTMFToneChangeEvent(type, eventInitDict); + } + get [S$2.$tone]() { + return this.tone; + } +}; +dart.addTypeTests(html$.RtcDtmfToneChangeEvent); +dart.addTypeCaches(html$.RtcDtmfToneChangeEvent); +dart.setGetterSignature(html$.RtcDtmfToneChangeEvent, () => ({ + __proto__: dart.getGetters(html$.RtcDtmfToneChangeEvent.__proto__), + [S$2.$tone]: dart.nullable(core.String) +})); +dart.setLibraryUri(html$.RtcDtmfToneChangeEvent, I[148]); +dart.registerExtension("RTCDTMFToneChangeEvent", html$.RtcDtmfToneChangeEvent); +html$.RtcIceCandidate = class RtcIceCandidate extends _interceptors.Interceptor { + static new(dictionary) { + if (dictionary == null) dart.nullFailed(I[147], 26733, 31, "dictionary"); + let constructorName = window.RTCIceCandidate; + return new constructorName(html_common.convertDartToNative_SerializedScriptValue(dictionary)); + } + get [S$2.$candidate]() { + return this.candidate; + } + set [S$2.$candidate](value) { + this.candidate = value; + } + get [S$2.$sdpMLineIndex]() { + return this.sdpMLineIndex; + } + set [S$2.$sdpMLineIndex](value) { + this.sdpMLineIndex = value; + } + get [S$2.$sdpMid]() { + return this.sdpMid; + } + set [S$2.$sdpMid](value) { + this.sdpMid = value; + } +}; +dart.addTypeTests(html$.RtcIceCandidate); +dart.addTypeCaches(html$.RtcIceCandidate); +dart.setGetterSignature(html$.RtcIceCandidate, () => ({ + __proto__: dart.getGetters(html$.RtcIceCandidate.__proto__), + [S$2.$candidate]: dart.nullable(core.String), + [S$2.$sdpMLineIndex]: dart.nullable(core.int), + [S$2.$sdpMid]: dart.nullable(core.String) +})); +dart.setSetterSignature(html$.RtcIceCandidate, () => ({ + __proto__: dart.getSetters(html$.RtcIceCandidate.__proto__), + [S$2.$candidate]: dart.nullable(core.String), + [S$2.$sdpMLineIndex]: dart.nullable(core.int), + [S$2.$sdpMid]: dart.nullable(core.String) +})); +dart.setLibraryUri(html$.RtcIceCandidate, I[148]); +dart.registerExtension("RTCIceCandidate", html$.RtcIceCandidate); +dart.registerExtension("mozRTCIceCandidate", html$.RtcIceCandidate); +html$.RtcLegacyStatsReport = class RtcLegacyStatsReport extends _interceptors.Interceptor { + get [S.$id]() { + return this.id; + } + get [S$.$timestamp]() { + return html_common.convertNativeToDart_DateTime(this[S$2._get_timestamp]); + } + get [S$2._get_timestamp]() { + return this.timestamp; + } + get [S.$type]() { + return this.type; + } + [S$2.$names](...args) { + return this.names.apply(this, args); + } + [S$2.$stat](...args) { + return this.stat.apply(this, args); + } +}; +dart.addTypeTests(html$.RtcLegacyStatsReport); +dart.addTypeCaches(html$.RtcLegacyStatsReport); +dart.setMethodSignature(html$.RtcLegacyStatsReport, () => ({ + __proto__: dart.getMethods(html$.RtcLegacyStatsReport.__proto__), + [S$2.$names]: dart.fnType(core.List$(core.String), []), + [S$2.$stat]: dart.fnType(core.String, [core.String]) +})); +dart.setGetterSignature(html$.RtcLegacyStatsReport, () => ({ + __proto__: dart.getGetters(html$.RtcLegacyStatsReport.__proto__), + [S.$id]: dart.nullable(core.String), + [S$.$timestamp]: core.DateTime, + [S$2._get_timestamp]: dart.dynamic, + [S.$type]: dart.nullable(core.String) +})); +dart.setLibraryUri(html$.RtcLegacyStatsReport, I[148]); +dart.registerExtension("RTCLegacyStatsReport", html$.RtcLegacyStatsReport); +html$.RtcPeerConnection = class RtcPeerConnection extends html$.EventTarget { + static new(rtcIceServers, mediaConstraints = null) { + if (rtcIceServers == null) dart.nullFailed(I[147], 26785, 33, "rtcIceServers"); + let constructorName = window.RTCPeerConnection; + if (mediaConstraints != null) { + return new constructorName(html_common.convertDartToNative_SerializedScriptValue(rtcIceServers), html_common.convertDartToNative_SerializedScriptValue(mediaConstraints)); + } else { + return new constructorName(html_common.convertDartToNative_SerializedScriptValue(rtcIceServers)); + } + } + static get supported() { + try { + html$.RtcPeerConnection.new(new _js_helper.LinkedMap.from(["iceServers", T$0.JSArrayOfMapOfString$String().of([new (T$.IdentityMapOfString$String()).from(["url", "stun:localhost"])])])); + return true; + } catch (e) { + let _ = dart.getThrown(e); + if (core.Object.is(_)) { + return false; + } else + throw e; + } + return false; + } + [S$2.$getLegacyStats](selector = null) { + let completer = T$0.CompleterOfRtcStatsResponse().new(); + this[S$2._getStats](dart.fn(value => { + if (value == null) dart.nullFailed(I[147], 26829, 16, "value"); + completer.complete(value); + }, T$0.RtcStatsResponseTovoid()), selector); + return completer.future; + } + [S$2._getStats](...args) { + return this.getStats.apply(this, args); + } + static generateCertificate(keygenAlgorithm) { + return generateCertificate(keygenAlgorithm); + } + get [S$2.$iceConnectionState]() { + return this.iceConnectionState; + } + get [S$2.$iceGatheringState]() { + return this.iceGatheringState; + } + get [S$2.$localDescription]() { + return this.localDescription; + } + get [S$2.$remoteDescription]() { + return this.remoteDescription; + } + get [S$2.$signalingState]() { + return this.signalingState; + } + [S$2.$addIceCandidate](candidate, successCallback = null, failureCallback = null) { + if (candidate == null) dart.nullFailed(I[147], 26930, 33, "candidate"); + return js_util.promiseToFuture(dart.dynamic, this.addIceCandidate(candidate, successCallback, failureCallback)); + } + [S$2.$addStream](stream, mediaConstraints = null) { + if (mediaConstraints != null) { + let mediaConstraints_1 = html_common.convertDartToNative_Dictionary(mediaConstraints); + this[S$2._addStream_1](stream, mediaConstraints_1); + return; + } + this[S$2._addStream_2](stream); + return; + } + [S$2._addStream_1](...args) { + return this.addStream.apply(this, args); + } + [S$2._addStream_2](...args) { + return this.addStream.apply(this, args); + } + [S$1.$addTrack](...args) { + return this.addTrack.apply(this, args); + } + [S.$close](...args) { + return this.close.apply(this, args); + } + [S$2.$createAnswer](options = null) { + let options_dict = null; + if (options != null) { + options_dict = html_common.convertDartToNative_Dictionary(options); + } + return js_util.promiseToFuture(html$.RtcSessionDescription, this.createAnswer(options_dict)); + } + [S$2.$createDtmfSender](...args) { + return this.createDTMFSender.apply(this, args); + } + [S$2.$createDataChannel](label, dataChannelDict = null) { + if (label == null) dart.nullFailed(I[147], 26970, 43, "label"); + if (dataChannelDict != null) { + let dataChannelDict_1 = html_common.convertDartToNative_Dictionary(dataChannelDict); + return this[S$2._createDataChannel_1](label, dataChannelDict_1); + } + return this[S$2._createDataChannel_2](label); + } + [S$2._createDataChannel_1](...args) { + return this.createDataChannel.apply(this, args); + } + [S$2._createDataChannel_2](...args) { + return this.createDataChannel.apply(this, args); + } + [S$2.$createOffer](options = null) { + let options_dict = null; + if (options != null) { + options_dict = html_common.convertDartToNative_Dictionary(options); + } + return js_util.promiseToFuture(html$.RtcSessionDescription, this.createOffer(options_dict)); + } + [S$2.$getLocalStreams](...args) { + return this.getLocalStreams.apply(this, args); + } + [S$2.$getReceivers](...args) { + return this.getReceivers.apply(this, args); + } + [S$2.$getRemoteStreams](...args) { + return this.getRemoteStreams.apply(this, args); + } + [S$2.$getSenders](...args) { + return this.getSenders.apply(this, args); + } + [S$2.$getStats]() { + return js_util.promiseToFuture(html$.RtcStatsReport, this.getStats()); + } + [S$2.$removeStream](...args) { + return this.removeStream.apply(this, args); + } + [S$1.$removeTrack](...args) { + return this.removeTrack.apply(this, args); + } + [S$2.$setConfiguration](configuration) { + if (configuration == null) dart.nullFailed(I[147], 27010, 29, "configuration"); + let configuration_1 = html_common.convertDartToNative_Dictionary(configuration); + this[S$2._setConfiguration_1](configuration_1); + return; + } + [S$2._setConfiguration_1](...args) { + return this.setConfiguration.apply(this, args); + } + [S$2.$setLocalDescription](description) { + if (description == null) dart.nullFailed(I[147], 27019, 34, "description"); + let description_dict = html_common.convertDartToNative_Dictionary(description); + return js_util.promiseToFuture(dart.dynamic, this.setLocalDescription(description_dict)); + } + [S$2.$setRemoteDescription](description) { + if (description == null) dart.nullFailed(I[147], 27025, 35, "description"); + let description_dict = html_common.convertDartToNative_Dictionary(description); + return js_util.promiseToFuture(dart.dynamic, this.setRemoteDescription(description_dict)); + } + get [S$2.$onAddStream]() { + return html$.RtcPeerConnection.addStreamEvent.forTarget(this); + } + get [S$2.$onDataChannel]() { + return html$.RtcPeerConnection.dataChannelEvent.forTarget(this); + } + get [S$2.$onIceCandidate]() { + return html$.RtcPeerConnection.iceCandidateEvent.forTarget(this); + } + get [S$2.$onIceConnectionStateChange]() { + return html$.RtcPeerConnection.iceConnectionStateChangeEvent.forTarget(this); + } + get [S$2.$onNegotiationNeeded]() { + return html$.RtcPeerConnection.negotiationNeededEvent.forTarget(this); + } + get [S$2.$onRemoveStream]() { + return html$.RtcPeerConnection.removeStreamEvent.forTarget(this); + } + get [S$2.$onSignalingStateChange]() { + return html$.RtcPeerConnection.signalingStateChangeEvent.forTarget(this); + } + get [S$2.$onTrack]() { + return html$.RtcPeerConnection.trackEvent.forTarget(this); + } +}; +dart.addTypeTests(html$.RtcPeerConnection); +dart.addTypeCaches(html$.RtcPeerConnection); +dart.setMethodSignature(html$.RtcPeerConnection, () => ({ + __proto__: dart.getMethods(html$.RtcPeerConnection.__proto__), + [S$2.$getLegacyStats]: dart.fnType(async.Future$(html$.RtcStatsResponse), [], [dart.nullable(html$.MediaStreamTrack)]), + [S$2._getStats]: dart.fnType(async.Future, [], [dart.nullable(dart.fnType(dart.void, [html$.RtcStatsResponse])), dart.nullable(html$.MediaStreamTrack)]), + [S$2.$addIceCandidate]: dart.fnType(async.Future, [core.Object], [dart.nullable(dart.fnType(dart.void, [])), dart.nullable(dart.fnType(dart.void, [html$.DomException]))]), + [S$2.$addStream]: dart.fnType(dart.void, [dart.nullable(html$.MediaStream)], [dart.nullable(core.Map)]), + [S$2._addStream_1]: dart.fnType(dart.void, [dart.nullable(html$.MediaStream), dart.dynamic]), + [S$2._addStream_2]: dart.fnType(dart.void, [dart.nullable(html$.MediaStream)]), + [S$1.$addTrack]: dart.fnType(html$.RtcRtpSender, [html$.MediaStreamTrack, html$.MediaStream]), + [S.$close]: dart.fnType(dart.void, []), + [S$2.$createAnswer]: dart.fnType(async.Future$(html$.RtcSessionDescription), [], [dart.nullable(core.Map)]), + [S$2.$createDtmfSender]: dart.fnType(html$.RtcDtmfSender, [html$.MediaStreamTrack]), + [S$2.$createDataChannel]: dart.fnType(html$.RtcDataChannel, [core.String], [dart.nullable(core.Map)]), + [S$2._createDataChannel_1]: dart.fnType(html$.RtcDataChannel, [dart.dynamic, dart.dynamic]), + [S$2._createDataChannel_2]: dart.fnType(html$.RtcDataChannel, [dart.dynamic]), + [S$2.$createOffer]: dart.fnType(async.Future$(html$.RtcSessionDescription), [], [dart.nullable(core.Map)]), + [S$2.$getLocalStreams]: dart.fnType(core.List$(html$.MediaStream), []), + [S$2.$getReceivers]: dart.fnType(core.List$(html$.RtcRtpReceiver), []), + [S$2.$getRemoteStreams]: dart.fnType(core.List$(html$.MediaStream), []), + [S$2.$getSenders]: dart.fnType(core.List$(html$.RtcRtpSender), []), + [S$2.$getStats]: dart.fnType(async.Future$(html$.RtcStatsReport), []), + [S$2.$removeStream]: dart.fnType(dart.void, [dart.nullable(html$.MediaStream)]), + [S$1.$removeTrack]: dart.fnType(dart.void, [html$.RtcRtpSender]), + [S$2.$setConfiguration]: dart.fnType(dart.void, [core.Map]), + [S$2._setConfiguration_1]: dart.fnType(dart.void, [dart.dynamic]), + [S$2.$setLocalDescription]: dart.fnType(async.Future, [core.Map]), + [S$2.$setRemoteDescription]: dart.fnType(async.Future, [core.Map]) +})); +dart.setGetterSignature(html$.RtcPeerConnection, () => ({ + __proto__: dart.getGetters(html$.RtcPeerConnection.__proto__), + [S$2.$iceConnectionState]: dart.nullable(core.String), + [S$2.$iceGatheringState]: dart.nullable(core.String), + [S$2.$localDescription]: dart.nullable(html$.RtcSessionDescription), + [S$2.$remoteDescription]: dart.nullable(html$.RtcSessionDescription), + [S$2.$signalingState]: dart.nullable(core.String), + [S$2.$onAddStream]: async.Stream$(html$.MediaStreamEvent), + [S$2.$onDataChannel]: async.Stream$(html$.RtcDataChannelEvent), + [S$2.$onIceCandidate]: async.Stream$(html$.RtcPeerConnectionIceEvent), + [S$2.$onIceConnectionStateChange]: async.Stream$(html$.Event), + [S$2.$onNegotiationNeeded]: async.Stream$(html$.Event), + [S$2.$onRemoveStream]: async.Stream$(html$.MediaStreamEvent), + [S$2.$onSignalingStateChange]: async.Stream$(html$.Event), + [S$2.$onTrack]: async.Stream$(html$.RtcTrackEvent) +})); +dart.setLibraryUri(html$.RtcPeerConnection, I[148]); +dart.defineLazy(html$.RtcPeerConnection, { + /*html$.RtcPeerConnection.addStreamEvent*/get addStreamEvent() { + return C[354] || CT.C354; + }, + /*html$.RtcPeerConnection.dataChannelEvent*/get dataChannelEvent() { + return C[355] || CT.C355; + }, + /*html$.RtcPeerConnection.iceCandidateEvent*/get iceCandidateEvent() { + return C[356] || CT.C356; + }, + /*html$.RtcPeerConnection.iceConnectionStateChangeEvent*/get iceConnectionStateChangeEvent() { + return C[357] || CT.C357; + }, + /*html$.RtcPeerConnection.negotiationNeededEvent*/get negotiationNeededEvent() { + return C[358] || CT.C358; + }, + /*html$.RtcPeerConnection.removeStreamEvent*/get removeStreamEvent() { + return C[359] || CT.C359; + }, + /*html$.RtcPeerConnection.signalingStateChangeEvent*/get signalingStateChangeEvent() { + return C[360] || CT.C360; + }, + /*html$.RtcPeerConnection.trackEvent*/get trackEvent() { + return C[361] || CT.C361; + } +}, false); +dart.registerExtension("RTCPeerConnection", html$.RtcPeerConnection); +dart.registerExtension("webkitRTCPeerConnection", html$.RtcPeerConnection); +dart.registerExtension("mozRTCPeerConnection", html$.RtcPeerConnection); +html$.RtcPeerConnectionIceEvent = class RtcPeerConnectionIceEvent extends html$.Event { + static new(type, eventInitDict = null) { + if (type == null) dart.nullFailed(I[147], 27072, 44, "type"); + if (eventInitDict != null) { + let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); + return html$.RtcPeerConnectionIceEvent._create_1(type, eventInitDict_1); + } + return html$.RtcPeerConnectionIceEvent._create_2(type); + } + static _create_1(type, eventInitDict) { + return new RTCPeerConnectionIceEvent(type, eventInitDict); + } + static _create_2(type) { + return new RTCPeerConnectionIceEvent(type); + } + get [S$2.$candidate]() { + return this.candidate; + } +}; +dart.addTypeTests(html$.RtcPeerConnectionIceEvent); +dart.addTypeCaches(html$.RtcPeerConnectionIceEvent); +dart.setGetterSignature(html$.RtcPeerConnectionIceEvent, () => ({ + __proto__: dart.getGetters(html$.RtcPeerConnectionIceEvent.__proto__), + [S$2.$candidate]: dart.nullable(html$.RtcIceCandidate) +})); +dart.setLibraryUri(html$.RtcPeerConnectionIceEvent, I[148]); +dart.registerExtension("RTCPeerConnectionIceEvent", html$.RtcPeerConnectionIceEvent); +html$.RtcRtpContributingSource = class RtcRtpContributingSource extends _interceptors.Interceptor { + get [S.$source]() { + return this.source; + } + get [S$.$timestamp]() { + return this.timestamp; + } +}; +dart.addTypeTests(html$.RtcRtpContributingSource); +dart.addTypeCaches(html$.RtcRtpContributingSource); +dart.setGetterSignature(html$.RtcRtpContributingSource, () => ({ + __proto__: dart.getGetters(html$.RtcRtpContributingSource.__proto__), + [S.$source]: dart.nullable(core.int), + [S$.$timestamp]: dart.nullable(core.num) +})); +dart.setLibraryUri(html$.RtcRtpContributingSource, I[148]); +dart.registerExtension("RTCRtpContributingSource", html$.RtcRtpContributingSource); +html$.RtcRtpReceiver = class RtcRtpReceiver extends _interceptors.Interceptor { + get [S$1.$track]() { + return this.track; + } + [S$2.$getContributingSources](...args) { + return this.getContributingSources.apply(this, args); + } +}; +dart.addTypeTests(html$.RtcRtpReceiver); +dart.addTypeCaches(html$.RtcRtpReceiver); +dart.setMethodSignature(html$.RtcRtpReceiver, () => ({ + __proto__: dart.getMethods(html$.RtcRtpReceiver.__proto__), + [S$2.$getContributingSources]: dart.fnType(core.List$(html$.RtcRtpContributingSource), []) +})); +dart.setGetterSignature(html$.RtcRtpReceiver, () => ({ + __proto__: dart.getGetters(html$.RtcRtpReceiver.__proto__), + [S$1.$track]: dart.nullable(html$.MediaStreamTrack) +})); +dart.setLibraryUri(html$.RtcRtpReceiver, I[148]); +dart.registerExtension("RTCRtpReceiver", html$.RtcRtpReceiver); +html$.RtcRtpSender = class RtcRtpSender extends _interceptors.Interceptor { + get [S$1.$track]() { + return this.track; + } +}; +dart.addTypeTests(html$.RtcRtpSender); +dart.addTypeCaches(html$.RtcRtpSender); +dart.setGetterSignature(html$.RtcRtpSender, () => ({ + __proto__: dart.getGetters(html$.RtcRtpSender.__proto__), + [S$1.$track]: dart.nullable(html$.MediaStreamTrack) +})); +dart.setLibraryUri(html$.RtcRtpSender, I[148]); +dart.registerExtension("RTCRtpSender", html$.RtcRtpSender); +html$.RtcSessionDescription = class RtcSessionDescription extends _interceptors.Interceptor { + static new(dictionary) { + if (dictionary == null) dart.nullFailed(I[147], 27139, 37, "dictionary"); + let constructorName = window.RTCSessionDescription; + return new constructorName(html_common.convertDartToNative_SerializedScriptValue(dictionary)); + } + get [S$2.$sdp]() { + return this.sdp; + } + set [S$2.$sdp](value) { + this.sdp = value; + } + get [S.$type]() { + return this.type; + } + set [S.$type](value) { + this.type = value; + } +}; +dart.addTypeTests(html$.RtcSessionDescription); +dart.addTypeCaches(html$.RtcSessionDescription); +dart.setGetterSignature(html$.RtcSessionDescription, () => ({ + __proto__: dart.getGetters(html$.RtcSessionDescription.__proto__), + [S$2.$sdp]: dart.nullable(core.String), + [S.$type]: dart.nullable(core.String) +})); +dart.setSetterSignature(html$.RtcSessionDescription, () => ({ + __proto__: dart.getSetters(html$.RtcSessionDescription.__proto__), + [S$2.$sdp]: dart.nullable(core.String), + [S.$type]: dart.nullable(core.String) +})); +dart.setLibraryUri(html$.RtcSessionDescription, I[148]); +dart.registerExtension("RTCSessionDescription", html$.RtcSessionDescription); +dart.registerExtension("mozRTCSessionDescription", html$.RtcSessionDescription); +const Interceptor_MapMixin$36$0 = class Interceptor_MapMixin extends _interceptors.Interceptor {}; +(Interceptor_MapMixin$36$0.new = function() { + Interceptor_MapMixin$36$0.__proto__.new.call(this); +}).prototype = Interceptor_MapMixin$36$0.prototype; +dart.applyMixin(Interceptor_MapMixin$36$0, collection.MapMixin$(core.String, dart.dynamic)); +html$.RtcStatsReport = class RtcStatsReport extends Interceptor_MapMixin$36$0 { + [S$1._getItem](key) { + if (key == null) dart.nullFailed(I[147], 27168, 24, "key"); + return html_common.convertNativeToDart_Dictionary(this.get(key)); + } + [$addAll](other) { + T$0.MapOfString$dynamic().as(other); + if (other == null) dart.nullFailed(I[147], 27171, 36, "other"); + dart.throw(new core.UnsupportedError.new("Not supported")); + } + [$containsValue](value) { + return this[$values][$any](dart.fn(e => { + if (e == null) dart.nullFailed(I[147], 27175, 52, "e"); + return dart.equals(e, value); + }, T$0.MapTobool())); + } + [$containsKey](key) { + return this[S$1._getItem](core.String.as(key)) != null; + } + [$_get](key) { + return this[S$1._getItem](core.String.as(key)); + } + [$forEach](f) { + if (f == null) dart.nullFailed(I[147], 27181, 21, "f"); + let entries = this.entries(); + while (true) { + let entry = entries.next(); + if (entry.done) return; + f(entry.value[0], html_common.convertNativeToDart_Dictionary(entry.value[1])); + } + } + get [$keys]() { + let keys = T$.JSArrayOfString().of([]); + this[$forEach](dart.fn((k, v) => { + if (k == null) dart.nullFailed(I[147], 27193, 14, "k"); + return keys[$add](k); + }, T$0.StringAnddynamicTovoid())); + return keys; + } + get [$values]() { + let values = T$0.JSArrayOfMap().of([]); + this[$forEach](dart.fn((k, v) => { + if (k == null) dart.nullFailed(I[147], 27199, 14, "k"); + return values[$add](core.Map.as(v)); + }, T$0.StringAnddynamicTovoid())); + return values; + } + get [$length]() { + return this.size; + } + get [$isEmpty]() { + return this[$length] === 0; + } + get [$isNotEmpty]() { + return !dart.test(this[$isEmpty]); + } + [$_set](key, value$) { + let value = value$; + core.String.as(key); + if (key == null) dart.nullFailed(I[147], 27209, 28, "key"); + dart.throw(new core.UnsupportedError.new("Not supported")); + return value$; + } + [$putIfAbsent](key, ifAbsent) { + core.String.as(key); + if (key == null) dart.nullFailed(I[147], 27213, 30, "key"); + T$.VoidTodynamic().as(ifAbsent); + if (ifAbsent == null) dart.nullFailed(I[147], 27213, 43, "ifAbsent"); + dart.throw(new core.UnsupportedError.new("Not supported")); + } + [$remove](key) { + dart.throw(new core.UnsupportedError.new("Not supported")); + } + [$clear]() { + dart.throw(new core.UnsupportedError.new("Not supported")); + } +}; +dart.addTypeTests(html$.RtcStatsReport); +dart.addTypeCaches(html$.RtcStatsReport); +dart.setMethodSignature(html$.RtcStatsReport, () => ({ + __proto__: dart.getMethods(html$.RtcStatsReport.__proto__), + [S$1._getItem]: dart.fnType(dart.nullable(core.Map), [core.String]), + [$containsValue]: dart.fnType(core.bool, [dart.dynamic]), + [$containsKey]: dart.fnType(core.bool, [dart.dynamic]), + [$_get]: dart.fnType(dart.nullable(core.Map), [dart.dynamic]), + [$_set]: dart.fnType(dart.void, [dart.nullable(core.Object), dart.nullable(core.Object)]), + [$remove]: dart.fnType(core.String, [dart.dynamic]), + [$clear]: dart.fnType(dart.void, []) +})); +dart.setGetterSignature(html$.RtcStatsReport, () => ({ + __proto__: dart.getGetters(html$.RtcStatsReport.__proto__), + [$keys]: core.Iterable$(core.String), + [$values]: core.Iterable$(core.Map) +})); +dart.setLibraryUri(html$.RtcStatsReport, I[148]); +dart.registerExtension("RTCStatsReport", html$.RtcStatsReport); +html$.RtcStatsResponse = class RtcStatsResponse extends _interceptors.Interceptor { + [S$1.$namedItem](...args) { + return this.namedItem.apply(this, args); + } + [S.$result](...args) { + return this.result.apply(this, args); + } +}; +dart.addTypeTests(html$.RtcStatsResponse); +dart.addTypeCaches(html$.RtcStatsResponse); +dart.setMethodSignature(html$.RtcStatsResponse, () => ({ + __proto__: dart.getMethods(html$.RtcStatsResponse.__proto__), + [S$1.$namedItem]: dart.fnType(html$.RtcLegacyStatsReport, [dart.nullable(core.String)]), + [S.$result]: dart.fnType(core.List$(html$.RtcLegacyStatsReport), []) +})); +dart.setLibraryUri(html$.RtcStatsResponse, I[148]); +dart.registerExtension("RTCStatsResponse", html$.RtcStatsResponse); +html$.RtcTrackEvent = class RtcTrackEvent extends html$.Event { + static new(type, eventInitDict) { + if (type == null) dart.nullFailed(I[147], 27251, 32, "type"); + if (eventInitDict == null) dart.nullFailed(I[147], 27251, 42, "eventInitDict"); + let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); + return html$.RtcTrackEvent._create_1(type, eventInitDict_1); + } + static _create_1(type, eventInitDict) { + return new RTCTrackEvent(type, eventInitDict); + } + get [S$2.$receiver]() { + return this.receiver; + } + get [S$2.$streams]() { + return this.streams; + } + get [S$1.$track]() { + return this.track; + } +}; +dart.addTypeTests(html$.RtcTrackEvent); +dart.addTypeCaches(html$.RtcTrackEvent); +dart.setGetterSignature(html$.RtcTrackEvent, () => ({ + __proto__: dart.getGetters(html$.RtcTrackEvent.__proto__), + [S$2.$receiver]: dart.nullable(html$.RtcRtpReceiver), + [S$2.$streams]: dart.nullable(core.List$(html$.MediaStream)), + [S$1.$track]: dart.nullable(html$.MediaStreamTrack) +})); +dart.setLibraryUri(html$.RtcTrackEvent, I[148]); +dart.registerExtension("RTCTrackEvent", html$.RtcTrackEvent); +html$.Screen = class Screen extends _interceptors.Interceptor { + get [S$2.$available]() { + return new (T$0.RectangleOfnum()).new(dart.nullCheck(this[S$2._availLeft]), dart.nullCheck(this[S$2._availTop]), dart.nullCheck(this[S$2._availWidth]), dart.nullCheck(this[S$2._availHeight])); + } + get [S$2._availHeight]() { + return this.availHeight; + } + get [S$2._availLeft]() { + return this.availLeft; + } + get [S$2._availTop]() { + return this.availTop; + } + get [S$2._availWidth]() { + return this.availWidth; + } + get [S$2.$colorDepth]() { + return this.colorDepth; + } + get [$height]() { + return this.height; + } + get [S$2.$keepAwake]() { + return this.keepAwake; + } + set [S$2.$keepAwake](value) { + this.keepAwake = value; + } + get [S$.$orientation]() { + return this.orientation; + } + get [S$2.$pixelDepth]() { + return this.pixelDepth; + } + get [$width]() { + return this.width; + } +}; +dart.addTypeTests(html$.Screen); +dart.addTypeCaches(html$.Screen); +dart.setGetterSignature(html$.Screen, () => ({ + __proto__: dart.getGetters(html$.Screen.__proto__), + [S$2.$available]: math.Rectangle$(core.num), + [S$2._availHeight]: dart.nullable(core.int), + [S$2._availLeft]: dart.nullable(core.int), + [S$2._availTop]: dart.nullable(core.int), + [S$2._availWidth]: dart.nullable(core.int), + [S$2.$colorDepth]: dart.nullable(core.int), + [$height]: dart.nullable(core.int), + [S$2.$keepAwake]: dart.nullable(core.bool), + [S$.$orientation]: dart.nullable(html$.ScreenOrientation), + [S$2.$pixelDepth]: dart.nullable(core.int), + [$width]: dart.nullable(core.int) +})); +dart.setSetterSignature(html$.Screen, () => ({ + __proto__: dart.getSetters(html$.Screen.__proto__), + [S$2.$keepAwake]: dart.nullable(core.bool) +})); +dart.setLibraryUri(html$.Screen, I[148]); +dart.registerExtension("Screen", html$.Screen); +html$.ScreenOrientation = class ScreenOrientation extends html$.EventTarget { + get [S$.$angle]() { + return this.angle; + } + get [S.$type]() { + return this.type; + } + [S$2.$lock](orientation) { + if (orientation == null) dart.nullFailed(I[147], 27321, 22, "orientation"); + return js_util.promiseToFuture(dart.dynamic, this.lock(orientation)); + } + [S$2.$unlock](...args) { + return this.unlock.apply(this, args); + } + get [S.$onChange]() { + return html$.ScreenOrientation.changeEvent.forTarget(this); + } +}; +dart.addTypeTests(html$.ScreenOrientation); +dart.addTypeCaches(html$.ScreenOrientation); +dart.setMethodSignature(html$.ScreenOrientation, () => ({ + __proto__: dart.getMethods(html$.ScreenOrientation.__proto__), + [S$2.$lock]: dart.fnType(async.Future, [core.String]), + [S$2.$unlock]: dart.fnType(dart.void, []) +})); +dart.setGetterSignature(html$.ScreenOrientation, () => ({ + __proto__: dart.getGetters(html$.ScreenOrientation.__proto__), + [S$.$angle]: dart.nullable(core.int), + [S.$type]: dart.nullable(core.String), + [S.$onChange]: async.Stream$(html$.Event) +})); +dart.setLibraryUri(html$.ScreenOrientation, I[148]); +dart.defineLazy(html$.ScreenOrientation, { + /*html$.ScreenOrientation.changeEvent*/get changeEvent() { + return C[236] || CT.C236; + } +}, false); +dart.registerExtension("ScreenOrientation", html$.ScreenOrientation); +html$.ScriptElement = class ScriptElement extends html$.HtmlElement { + static new() { + return html$.document.createElement("script"); + } + get [S$1.$async]() { + return this.async; + } + set [S$1.$async](value) { + this.async = value; + } + get [S$2.$charset]() { + return this.charset; + } + set [S$2.$charset](value) { + this.charset = value; + } + get [S$.$crossOrigin]() { + return this.crossOrigin; + } + set [S$.$crossOrigin](value) { + this.crossOrigin = value; + } + get [S$2.$defer]() { + return this.defer; + } + set [S$2.$defer](value) { + this.defer = value; + } + get [S$1.$integrity]() { + return this.integrity; + } + set [S$1.$integrity](value) { + this.integrity = value; + } + get [S$2.$noModule]() { + return this.noModule; + } + set [S$2.$noModule](value) { + this.noModule = value; + } + get [S$.$src]() { + return this.src; + } + set [S$.$src](value) { + this.src = value; + } + get [S.$type]() { + return this.type; + } + set [S.$type](value) { + this.type = value; + } +}; +(html$.ScriptElement.created = function() { + html$.ScriptElement.__proto__.created.call(this); + ; +}).prototype = html$.ScriptElement.prototype; +dart.addTypeTests(html$.ScriptElement); +dart.addTypeCaches(html$.ScriptElement); +dart.setGetterSignature(html$.ScriptElement, () => ({ + __proto__: dart.getGetters(html$.ScriptElement.__proto__), + [S$1.$async]: dart.nullable(core.bool), + [S$2.$charset]: core.String, + [S$.$crossOrigin]: dart.nullable(core.String), + [S$2.$defer]: dart.nullable(core.bool), + [S$1.$integrity]: dart.nullable(core.String), + [S$2.$noModule]: dart.nullable(core.bool), + [S$.$src]: core.String, + [S.$type]: core.String +})); +dart.setSetterSignature(html$.ScriptElement, () => ({ + __proto__: dart.getSetters(html$.ScriptElement.__proto__), + [S$1.$async]: dart.nullable(core.bool), + [S$2.$charset]: core.String, + [S$.$crossOrigin]: dart.nullable(core.String), + [S$2.$defer]: dart.nullable(core.bool), + [S$1.$integrity]: dart.nullable(core.String), + [S$2.$noModule]: dart.nullable(core.bool), + [S$.$src]: core.String, + [S.$type]: core.String +})); +dart.setLibraryUri(html$.ScriptElement, I[148]); +dart.registerExtension("HTMLScriptElement", html$.ScriptElement); +html$.ScrollState = class ScrollState$ extends _interceptors.Interceptor { + static new(scrollStateInit = null) { + if (scrollStateInit != null) { + let scrollStateInit_1 = html_common.convertDartToNative_Dictionary(scrollStateInit); + return html$.ScrollState._create_1(scrollStateInit_1); + } + return html$.ScrollState._create_2(); + } + static _create_1(scrollStateInit) { + return new ScrollState(scrollStateInit); + } + static _create_2() { + return new ScrollState(); + } + get [S$2.$deltaGranularity]() { + return this.deltaGranularity; + } + get [S$2.$deltaX]() { + return this.deltaX; + } + get [S$2.$deltaY]() { + return this.deltaY; + } + get [S$2.$fromUserInput]() { + return this.fromUserInput; + } + get [S$2.$inInertialPhase]() { + return this.inInertialPhase; + } + get [S$2.$isBeginning]() { + return this.isBeginning; + } + get [S$2.$isDirectManipulation]() { + return this.isDirectManipulation; + } + get [S$2.$isEnding]() { + return this.isEnding; + } + get [S$2.$positionX]() { + return this.positionX; + } + get [S$2.$positionY]() { + return this.positionY; + } + get [S$2.$velocityX]() { + return this.velocityX; + } + get [S$2.$velocityY]() { + return this.velocityY; + } + [S$2.$consumeDelta](...args) { + return this.consumeDelta.apply(this, args); + } + [S$2.$distributeToScrollChainDescendant](...args) { + return this.distributeToScrollChainDescendant.apply(this, args); + } +}; +dart.addTypeTests(html$.ScrollState); +dart.addTypeCaches(html$.ScrollState); +dart.setMethodSignature(html$.ScrollState, () => ({ + __proto__: dart.getMethods(html$.ScrollState.__proto__), + [S$2.$consumeDelta]: dart.fnType(dart.void, [core.num, core.num]), + [S$2.$distributeToScrollChainDescendant]: dart.fnType(dart.void, []) +})); +dart.setGetterSignature(html$.ScrollState, () => ({ + __proto__: dart.getGetters(html$.ScrollState.__proto__), + [S$2.$deltaGranularity]: dart.nullable(core.num), + [S$2.$deltaX]: dart.nullable(core.num), + [S$2.$deltaY]: dart.nullable(core.num), + [S$2.$fromUserInput]: dart.nullable(core.bool), + [S$2.$inInertialPhase]: dart.nullable(core.bool), + [S$2.$isBeginning]: dart.nullable(core.bool), + [S$2.$isDirectManipulation]: dart.nullable(core.bool), + [S$2.$isEnding]: dart.nullable(core.bool), + [S$2.$positionX]: dart.nullable(core.int), + [S$2.$positionY]: dart.nullable(core.int), + [S$2.$velocityX]: dart.nullable(core.num), + [S$2.$velocityY]: dart.nullable(core.num) +})); +dart.setLibraryUri(html$.ScrollState, I[148]); +dart.registerExtension("ScrollState", html$.ScrollState); +html$.ScrollTimeline = class ScrollTimeline$ extends html$.AnimationTimeline { + static new(options = null) { + if (options != null) { + let options_1 = html_common.convertDartToNative_Dictionary(options); + return html$.ScrollTimeline._create_1(options_1); + } + return html$.ScrollTimeline._create_2(); + } + static _create_1(options) { + return new ScrollTimeline(options); + } + static _create_2() { + return new ScrollTimeline(); + } + get [S$.$orientation]() { + return this.orientation; + } + get [S$2.$scrollSource]() { + return this.scrollSource; + } + get [S$2.$timeRange]() { + return this.timeRange; + } +}; +dart.addTypeTests(html$.ScrollTimeline); +dart.addTypeCaches(html$.ScrollTimeline); +dart.setGetterSignature(html$.ScrollTimeline, () => ({ + __proto__: dart.getGetters(html$.ScrollTimeline.__proto__), + [S$.$orientation]: dart.nullable(core.String), + [S$2.$scrollSource]: dart.nullable(html$.Element), + [S$2.$timeRange]: dart.nullable(core.Object) +})); +dart.setLibraryUri(html$.ScrollTimeline, I[148]); +dart.registerExtension("ScrollTimeline", html$.ScrollTimeline); +html$.SecurityPolicyViolationEvent = class SecurityPolicyViolationEvent$ extends html$.Event { + static new(type, eventInitDict = null) { + if (type == null) dart.nullFailed(I[147], 27480, 47, "type"); + if (eventInitDict != null) { + let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); + return html$.SecurityPolicyViolationEvent._create_1(type, eventInitDict_1); + } + return html$.SecurityPolicyViolationEvent._create_2(type); + } + static _create_1(type, eventInitDict) { + return new SecurityPolicyViolationEvent(type, eventInitDict); + } + static _create_2(type) { + return new SecurityPolicyViolationEvent(type); + } + get [S$2.$blockedUri]() { + return this.blockedURI; + } + get [S$2.$columnNumber]() { + return this.columnNumber; + } + get [S$2.$disposition]() { + return this.disposition; + } + get [S$2.$documentUri]() { + return this.documentURI; + } + get [S$2.$effectiveDirective]() { + return this.effectiveDirective; + } + get [S$0.$lineNumber]() { + return this.lineNumber; + } + get [S$2.$originalPolicy]() { + return this.originalPolicy; + } + get [S$1.$referrer]() { + return this.referrer; + } + get [S$2.$sample]() { + return this.sample; + } + get [S$0.$sourceFile]() { + return this.sourceFile; + } + get [S$2.$statusCode]() { + return this.statusCode; + } + get [S$2.$violatedDirective]() { + return this.violatedDirective; + } +}; +dart.addTypeTests(html$.SecurityPolicyViolationEvent); +dart.addTypeCaches(html$.SecurityPolicyViolationEvent); +dart.setGetterSignature(html$.SecurityPolicyViolationEvent, () => ({ + __proto__: dart.getGetters(html$.SecurityPolicyViolationEvent.__proto__), + [S$2.$blockedUri]: dart.nullable(core.String), + [S$2.$columnNumber]: dart.nullable(core.int), + [S$2.$disposition]: dart.nullable(core.String), + [S$2.$documentUri]: dart.nullable(core.String), + [S$2.$effectiveDirective]: dart.nullable(core.String), + [S$0.$lineNumber]: dart.nullable(core.int), + [S$2.$originalPolicy]: dart.nullable(core.String), + [S$1.$referrer]: dart.nullable(core.String), + [S$2.$sample]: dart.nullable(core.String), + [S$0.$sourceFile]: dart.nullable(core.String), + [S$2.$statusCode]: dart.nullable(core.int), + [S$2.$violatedDirective]: dart.nullable(core.String) +})); +dart.setLibraryUri(html$.SecurityPolicyViolationEvent, I[148]); +dart.registerExtension("SecurityPolicyViolationEvent", html$.SecurityPolicyViolationEvent); +html$.SelectElement = class SelectElement extends html$.HtmlElement { + static new() { + return html$.document.createElement("select"); + } + get [S$.$autofocus]() { + return this.autofocus; + } + set [S$.$autofocus](value) { + this.autofocus = value; + } + get [S$.$disabled]() { + return this.disabled; + } + set [S$.$disabled](value) { + this.disabled = value; + } + get [S$.$form]() { + return this.form; + } + get [S$.$labels]() { + return this.labels; + } + get [$length]() { + return this.length; + } + set [$length](value) { + this.length = value; + } + get [S$1.$multiple]() { + return this.multiple; + } + set [S$1.$multiple](value) { + this.multiple = value; + } + get [$name]() { + return this.name; + } + set [$name](value) { + this.name = value; + } + get [S$.$required]() { + return this.required; + } + set [S$.$required](value) { + this.required = value; + } + get [S$2.$selectedIndex]() { + return this.selectedIndex; + } + set [S$2.$selectedIndex](value) { + this.selectedIndex = value; + } + get [S$.$size]() { + return this.size; + } + set [S$.$size](value) { + this.size = value; + } + get [S.$type]() { + return this.type; + } + get [S$.$validationMessage]() { + return this.validationMessage; + } + get [S$.$validity]() { + return this.validity; + } + get [S.$value]() { + return this.value; + } + set [S.$value](value) { + this.value = value; + } + get [S$.$willValidate]() { + return this.willValidate; + } + [S$.__setter__](...args) { + return this.__setter__.apply(this, args); + } + [$add](...args) { + return this.add.apply(this, args); + } + [S$.$checkValidity](...args) { + return this.checkValidity.apply(this, args); + } + [S$.$item](...args) { + return this.item.apply(this, args); + } + [S$1.$namedItem](...args) { + return this.namedItem.apply(this, args); + } + [S$.$reportValidity](...args) { + return this.reportValidity.apply(this, args); + } + [S$.$setCustomValidity](...args) { + return this.setCustomValidity.apply(this, args); + } + get [S$0.$options]() { + let options = this[S.$querySelectorAll](html$.OptionElement, "option"); + return new (T$0.UnmodifiableListViewOfOptionElement()).new(T$0.IterableOfOptionElement().as(dart.dsend(options, 'toList', []))); + } + get [S$2.$selectedOptions]() { + if (dart.nullCheck(this.multiple)) { + let options = this[S$0.$options][$where](dart.fn(o => { + if (o == null) dart.nullFailed(I[147], 27621, 41, "o"); + return o.selected; + }, T$0.OptionElementTobool()))[$toList](); + return new (T$0.UnmodifiableListViewOfOptionElement()).new(options); + } else { + return T$0.JSArrayOfOptionElement().of([this[S$0.$options][$_get](dart.nullCheck(this.selectedIndex))]); + } + } +}; +(html$.SelectElement.created = function() { + html$.SelectElement.__proto__.created.call(this); + ; +}).prototype = html$.SelectElement.prototype; +dart.addTypeTests(html$.SelectElement); +dart.addTypeCaches(html$.SelectElement); +dart.setMethodSignature(html$.SelectElement, () => ({ + __proto__: dart.getMethods(html$.SelectElement.__proto__), + [S$.__setter__]: dart.fnType(dart.void, [core.int, dart.nullable(html$.OptionElement)]), + [$add]: dart.fnType(dart.void, [core.Object, dart.nullable(core.Object)]), + [S$.$checkValidity]: dart.fnType(core.bool, []), + [S$.$item]: dart.fnType(dart.nullable(html$.Element), [core.int]), + [S$1.$namedItem]: dart.fnType(dart.nullable(html$.OptionElement), [core.String]), + [S$.$reportValidity]: dart.fnType(core.bool, []), + [S$.$setCustomValidity]: dart.fnType(dart.void, [core.String]) +})); +dart.setGetterSignature(html$.SelectElement, () => ({ + __proto__: dart.getGetters(html$.SelectElement.__proto__), + [S$.$autofocus]: core.bool, + [S$.$disabled]: core.bool, + [S$.$form]: dart.nullable(html$.FormElement), + [S$.$labels]: dart.nullable(core.List$(html$.Node)), + [$length]: dart.nullable(core.int), + [S$1.$multiple]: dart.nullable(core.bool), + [$name]: dart.nullable(core.String), + [S$.$required]: dart.nullable(core.bool), + [S$2.$selectedIndex]: dart.nullable(core.int), + [S$.$size]: dart.nullable(core.int), + [S.$type]: core.String, + [S$.$validationMessage]: core.String, + [S$.$validity]: html$.ValidityState, + [S.$value]: dart.nullable(core.String), + [S$.$willValidate]: core.bool, + [S$0.$options]: core.List$(html$.OptionElement), + [S$2.$selectedOptions]: core.List$(html$.OptionElement) +})); +dart.setSetterSignature(html$.SelectElement, () => ({ + __proto__: dart.getSetters(html$.SelectElement.__proto__), + [S$.$autofocus]: core.bool, + [S$.$disabled]: core.bool, + [$length]: dart.nullable(core.int), + [S$1.$multiple]: dart.nullable(core.bool), + [$name]: dart.nullable(core.String), + [S$.$required]: dart.nullable(core.bool), + [S$2.$selectedIndex]: dart.nullable(core.int), + [S$.$size]: dart.nullable(core.int), + [S.$value]: dart.nullable(core.String) +})); +dart.setLibraryUri(html$.SelectElement, I[148]); +dart.registerExtension("HTMLSelectElement", html$.SelectElement); +html$.Selection = class Selection extends _interceptors.Interceptor { + get [S$2.$anchorNode]() { + return this.anchorNode; + } + get [S$2.$anchorOffset]() { + return this.anchorOffset; + } + get [S$2.$baseNode]() { + return this.baseNode; + } + get [S$2.$baseOffset]() { + return this.baseOffset; + } + get [S$2.$extentNode]() { + return this.extentNode; + } + get [S$2.$extentOffset]() { + return this.extentOffset; + } + get [S$2.$focusNode]() { + return this.focusNode; + } + get [S$2.$focusOffset]() { + return this.focusOffset; + } + get [S$2.$isCollapsed]() { + return this.isCollapsed; + } + get [S$2.$rangeCount]() { + return this.rangeCount; + } + get [S.$type]() { + return this.type; + } + [S$2.$addRange](...args) { + return this.addRange.apply(this, args); + } + [S$2.$collapse](...args) { + return this.collapse.apply(this, args); + } + [S$2.$collapseToEnd](...args) { + return this.collapseToEnd.apply(this, args); + } + [S$2.$collapseToStart](...args) { + return this.collapseToStart.apply(this, args); + } + [S$2.$containsNode](...args) { + return this.containsNode.apply(this, args); + } + [S$2.$deleteFromDocument](...args) { + return this.deleteFromDocument.apply(this, args); + } + [S$2.$empty](...args) { + return this.empty.apply(this, args); + } + [S$2.$extend](...args) { + return this.extend.apply(this, args); + } + [S$2.$getRangeAt](...args) { + return this.getRangeAt.apply(this, args); + } + [S$2.$modify](...args) { + return this.modify.apply(this, args); + } + [S$2.$removeAllRanges](...args) { + return this.removeAllRanges.apply(this, args); + } + [$removeRange](...args) { + return this.removeRange.apply(this, args); + } + [S$2.$selectAllChildren](...args) { + return this.selectAllChildren.apply(this, args); + } + [S$2.$setBaseAndExtent](...args) { + return this.setBaseAndExtent.apply(this, args); + } + [S$2.$setPosition](...args) { + return this.setPosition.apply(this, args); + } +}; +dart.addTypeTests(html$.Selection); +dart.addTypeCaches(html$.Selection); +dart.setMethodSignature(html$.Selection, () => ({ + __proto__: dart.getMethods(html$.Selection.__proto__), + [S$2.$addRange]: dart.fnType(dart.void, [html$.Range]), + [S$2.$collapse]: dart.fnType(dart.void, [dart.nullable(html$.Node)], [dart.nullable(core.int)]), + [S$2.$collapseToEnd]: dart.fnType(dart.void, []), + [S$2.$collapseToStart]: dart.fnType(dart.void, []), + [S$2.$containsNode]: dart.fnType(core.bool, [html$.Node], [dart.nullable(core.bool)]), + [S$2.$deleteFromDocument]: dart.fnType(dart.void, []), + [S$2.$empty]: dart.fnType(dart.void, []), + [S$2.$extend]: dart.fnType(dart.void, [html$.Node], [dart.nullable(core.int)]), + [S$2.$getRangeAt]: dart.fnType(html$.Range, [core.int]), + [S$2.$modify]: dart.fnType(dart.void, [dart.nullable(core.String), dart.nullable(core.String), dart.nullable(core.String)]), + [S$2.$removeAllRanges]: dart.fnType(dart.void, []), + [$removeRange]: dart.fnType(dart.void, [html$.Range]), + [S$2.$selectAllChildren]: dart.fnType(dart.void, [html$.Node]), + [S$2.$setBaseAndExtent]: dart.fnType(dart.void, [dart.nullable(html$.Node), core.int, dart.nullable(html$.Node), core.int]), + [S$2.$setPosition]: dart.fnType(dart.void, [dart.nullable(html$.Node)], [dart.nullable(core.int)]) +})); +dart.setGetterSignature(html$.Selection, () => ({ + __proto__: dart.getGetters(html$.Selection.__proto__), + [S$2.$anchorNode]: dart.nullable(html$.Node), + [S$2.$anchorOffset]: dart.nullable(core.int), + [S$2.$baseNode]: dart.nullable(html$.Node), + [S$2.$baseOffset]: dart.nullable(core.int), + [S$2.$extentNode]: dart.nullable(html$.Node), + [S$2.$extentOffset]: dart.nullable(core.int), + [S$2.$focusNode]: dart.nullable(html$.Node), + [S$2.$focusOffset]: dart.nullable(core.int), + [S$2.$isCollapsed]: dart.nullable(core.bool), + [S$2.$rangeCount]: dart.nullable(core.int), + [S.$type]: dart.nullable(core.String) +})); +dart.setLibraryUri(html$.Selection, I[148]); +dart.registerExtension("Selection", html$.Selection); +html$.SensorErrorEvent = class SensorErrorEvent$ extends html$.Event { + static new(type, eventInitDict) { + if (type == null) dart.nullFailed(I[147], 27729, 35, "type"); + if (eventInitDict == null) dart.nullFailed(I[147], 27729, 45, "eventInitDict"); + let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); + return html$.SensorErrorEvent._create_1(type, eventInitDict_1); + } + static _create_1(type, eventInitDict) { + return new SensorErrorEvent(type, eventInitDict); + } + get [S.$error]() { + return this.error; + } +}; +dart.addTypeTests(html$.SensorErrorEvent); +dart.addTypeCaches(html$.SensorErrorEvent); +dart.setGetterSignature(html$.SensorErrorEvent, () => ({ + __proto__: dart.getGetters(html$.SensorErrorEvent.__proto__), + [S.$error]: dart.nullable(html$.DomException) +})); +dart.setLibraryUri(html$.SensorErrorEvent, I[148]); +dart.registerExtension("SensorErrorEvent", html$.SensorErrorEvent); +html$.ServiceWorker = class ServiceWorker extends html$.EventTarget { + get [S$2.$scriptUrl]() { + return this.scriptURL; + } + get [S$.$state]() { + return this.state; + } + [S$.$postMessage](message, transfer = null) { + if (transfer != null) { + let message_1 = html_common.convertDartToNative_SerializedScriptValue(message); + this[S$0._postMessage_1](message_1, transfer); + return; + } + let message_1 = html_common.convertDartToNative_SerializedScriptValue(message); + this[S$0._postMessage_2](message_1); + return; + } + [S$0._postMessage_1](...args) { + return this.postMessage.apply(this, args); + } + [S$0._postMessage_2](...args) { + return this.postMessage.apply(this, args); + } + get [S.$onError]() { + return html$.ServiceWorker.errorEvent.forTarget(this); + } +}; +dart.addTypeTests(html$.ServiceWorker); +dart.addTypeCaches(html$.ServiceWorker); +html$.ServiceWorker[dart.implements] = () => [html$.AbstractWorker]; +dart.setMethodSignature(html$.ServiceWorker, () => ({ + __proto__: dart.getMethods(html$.ServiceWorker.__proto__), + [S$.$postMessage]: dart.fnType(dart.void, [dart.dynamic], [dart.nullable(core.List$(core.Object))]), + [S$0._postMessage_1]: dart.fnType(dart.void, [dart.dynamic, dart.nullable(core.List$(core.Object))]), + [S$0._postMessage_2]: dart.fnType(dart.void, [dart.dynamic]) +})); +dart.setGetterSignature(html$.ServiceWorker, () => ({ + __proto__: dart.getGetters(html$.ServiceWorker.__proto__), + [S$2.$scriptUrl]: dart.nullable(core.String), + [S$.$state]: dart.nullable(core.String), + [S.$onError]: async.Stream$(html$.Event) +})); +dart.setLibraryUri(html$.ServiceWorker, I[148]); +dart.defineLazy(html$.ServiceWorker, { + /*html$.ServiceWorker.errorEvent*/get errorEvent() { + return C[216] || CT.C216; + } +}, false); +dart.registerExtension("ServiceWorker", html$.ServiceWorker); +html$.ServiceWorkerContainer = class ServiceWorkerContainer extends html$.EventTarget { + get [S$2.$controller]() { + return this.controller; + } + get [S$.$ready]() { + return js_util.promiseToFuture(html$.ServiceWorkerRegistration, this.ready); + } + [S$2.$getRegistration](documentURL = null) { + return js_util.promiseToFuture(html$.ServiceWorkerRegistration, this.getRegistration(documentURL)); + } + [S$2.$getRegistrations]() { + return js_util.promiseToFuture(core.List, this.getRegistrations()); + } + [S$1.$register](url, options = null) { + if (url == null) dart.nullFailed(I[147], 27805, 53, "url"); + let options_dict = null; + if (options != null) { + options_dict = html_common.convertDartToNative_Dictionary(options); + } + return js_util.promiseToFuture(html$.ServiceWorkerRegistration, this.register(url, options_dict)); + } + get [S$.$onMessage]() { + return html$.ServiceWorkerContainer.messageEvent.forTarget(this); + } +}; +dart.addTypeTests(html$.ServiceWorkerContainer); +dart.addTypeCaches(html$.ServiceWorkerContainer); +dart.setMethodSignature(html$.ServiceWorkerContainer, () => ({ + __proto__: dart.getMethods(html$.ServiceWorkerContainer.__proto__), + [S$2.$getRegistration]: dart.fnType(async.Future$(html$.ServiceWorkerRegistration), [], [dart.nullable(core.String)]), + [S$2.$getRegistrations]: dart.fnType(async.Future$(core.List), []), + [S$1.$register]: dart.fnType(async.Future$(html$.ServiceWorkerRegistration), [core.String], [dart.nullable(core.Map)]) +})); +dart.setGetterSignature(html$.ServiceWorkerContainer, () => ({ + __proto__: dart.getGetters(html$.ServiceWorkerContainer.__proto__), + [S$2.$controller]: dart.nullable(html$.ServiceWorker), + [S$.$ready]: async.Future$(html$.ServiceWorkerRegistration), + [S$.$onMessage]: async.Stream$(html$.MessageEvent) +})); +dart.setLibraryUri(html$.ServiceWorkerContainer, I[148]); +dart.defineLazy(html$.ServiceWorkerContainer, { + /*html$.ServiceWorkerContainer.messageEvent*/get messageEvent() { + return C[312] || CT.C312; + } +}, false); +dart.registerExtension("ServiceWorkerContainer", html$.ServiceWorkerContainer); +html$.ServiceWorkerGlobalScope = class ServiceWorkerGlobalScope extends html$.WorkerGlobalScope { + get [S$2.$clients]() { + return this.clients; + } + get [S$2.$registration]() { + return this.registration; + } + [S$2.$skipWaiting]() { + return js_util.promiseToFuture(dart.dynamic, this.skipWaiting()); + } + get [S$2.$onActivate]() { + return html$.ServiceWorkerGlobalScope.activateEvent.forTarget(this); + } + get [S$2.$onFetch]() { + return html$.ServiceWorkerGlobalScope.fetchEvent.forTarget(this); + } + get [S$2.$onForeignfetch]() { + return html$.ServiceWorkerGlobalScope.foreignfetchEvent.forTarget(this); + } + get [S$2.$onInstall]() { + return html$.ServiceWorkerGlobalScope.installEvent.forTarget(this); + } + get [S$.$onMessage]() { + return html$.ServiceWorkerGlobalScope.messageEvent.forTarget(this); + } + static get instance() { + return html$.ServiceWorkerGlobalScope.as(html$._workerSelf); + } +}; +dart.addTypeTests(html$.ServiceWorkerGlobalScope); +dart.addTypeCaches(html$.ServiceWorkerGlobalScope); +dart.setMethodSignature(html$.ServiceWorkerGlobalScope, () => ({ + __proto__: dart.getMethods(html$.ServiceWorkerGlobalScope.__proto__), + [S$2.$skipWaiting]: dart.fnType(async.Future, []) +})); +dart.setGetterSignature(html$.ServiceWorkerGlobalScope, () => ({ + __proto__: dart.getGetters(html$.ServiceWorkerGlobalScope.__proto__), + [S$2.$clients]: dart.nullable(html$.Clients), + [S$2.$registration]: dart.nullable(html$.ServiceWorkerRegistration), + [S$2.$onActivate]: async.Stream$(html$.Event), + [S$2.$onFetch]: async.Stream$(html$.Event), + [S$2.$onForeignfetch]: async.Stream$(html$.ForeignFetchEvent), + [S$2.$onInstall]: async.Stream$(html$.Event), + [S$.$onMessage]: async.Stream$(html$.MessageEvent) +})); +dart.setLibraryUri(html$.ServiceWorkerGlobalScope, I[148]); +dart.defineLazy(html$.ServiceWorkerGlobalScope, { + /*html$.ServiceWorkerGlobalScope.activateEvent*/get activateEvent() { + return C[362] || CT.C362; + }, + /*html$.ServiceWorkerGlobalScope.fetchEvent*/get fetchEvent() { + return C[363] || CT.C363; + }, + /*html$.ServiceWorkerGlobalScope.foreignfetchEvent*/get foreignfetchEvent() { + return C[364] || CT.C364; + }, + /*html$.ServiceWorkerGlobalScope.installEvent*/get installEvent() { + return C[365] || CT.C365; + }, + /*html$.ServiceWorkerGlobalScope.messageEvent*/get messageEvent() { + return C[312] || CT.C312; + } +}, false); +dart.registerExtension("ServiceWorkerGlobalScope", html$.ServiceWorkerGlobalScope); +html$.ServiceWorkerRegistration = class ServiceWorkerRegistration extends html$.EventTarget { + get [S$1.$active]() { + return this.active; + } + get [S$2.$backgroundFetch]() { + return this.backgroundFetch; + } + get [S$2.$installing]() { + return this.installing; + } + get [S$2.$navigationPreload]() { + return this.navigationPreload; + } + get [S$2.$paymentManager]() { + return this.paymentManager; + } + get [S$2.$pushManager]() { + return this.pushManager; + } + get [S$1.$scope]() { + return this.scope; + } + get [S$2.$sync]() { + return this.sync; + } + get [S$2.$waiting]() { + return this.waiting; + } + [S$2.$getNotifications](filter = null) { + let filter_dict = null; + if (filter != null) { + filter_dict = html_common.convertDartToNative_Dictionary(filter); + } + return js_util.promiseToFuture(core.List, this.getNotifications(filter_dict)); + } + [S$2.$showNotification](title, options = null) { + if (title == null) dart.nullFailed(I[147], 27906, 34, "title"); + let options_dict = null; + if (options != null) { + options_dict = html_common.convertDartToNative_Dictionary(options); + } + return js_util.promiseToFuture(dart.dynamic, this.showNotification(title, options_dict)); + } + [S$2.$unregister]() { + return js_util.promiseToFuture(core.bool, this.unregister()); + } + [$update]() { + return js_util.promiseToFuture(dart.dynamic, this.update()); + } +}; +dart.addTypeTests(html$.ServiceWorkerRegistration); +dart.addTypeCaches(html$.ServiceWorkerRegistration); +dart.setMethodSignature(html$.ServiceWorkerRegistration, () => ({ + __proto__: dart.getMethods(html$.ServiceWorkerRegistration.__proto__), + [S$2.$getNotifications]: dart.fnType(async.Future$(core.List), [], [dart.nullable(core.Map)]), + [S$2.$showNotification]: dart.fnType(async.Future, [core.String], [dart.nullable(core.Map)]), + [S$2.$unregister]: dart.fnType(async.Future$(core.bool), []), + [$update]: dart.fnType(async.Future, []) +})); +dart.setGetterSignature(html$.ServiceWorkerRegistration, () => ({ + __proto__: dart.getGetters(html$.ServiceWorkerRegistration.__proto__), + [S$1.$active]: dart.nullable(html$.ServiceWorker), + [S$2.$backgroundFetch]: dart.nullable(html$.BackgroundFetchManager), + [S$2.$installing]: dart.nullable(html$.ServiceWorker), + [S$2.$navigationPreload]: dart.nullable(html$.NavigationPreloadManager), + [S$2.$paymentManager]: dart.nullable(html$.PaymentManager), + [S$2.$pushManager]: dart.nullable(html$.PushManager), + [S$1.$scope]: dart.nullable(core.String), + [S$2.$sync]: dart.nullable(html$.SyncManager), + [S$2.$waiting]: dart.nullable(html$.ServiceWorker) +})); +dart.setLibraryUri(html$.ServiceWorkerRegistration, I[148]); +dart.registerExtension("ServiceWorkerRegistration", html$.ServiceWorkerRegistration); +html$.ShadowElement = class ShadowElement extends html$.HtmlElement { + static new() { + return html$.ShadowElement.as(html$.document[S.$createElement]("shadow")); + } + static get supported() { + return html$.Element.isTagSupported("shadow"); + } + [S$.$getDistributedNodes](...args) { + return this.getDistributedNodes.apply(this, args); + } +}; +(html$.ShadowElement.created = function() { + html$.ShadowElement.__proto__.created.call(this); + ; +}).prototype = html$.ShadowElement.prototype; +dart.addTypeTests(html$.ShadowElement); +dart.addTypeCaches(html$.ShadowElement); +dart.setMethodSignature(html$.ShadowElement, () => ({ + __proto__: dart.getMethods(html$.ShadowElement.__proto__), + [S$.$getDistributedNodes]: dart.fnType(core.List$(html$.Node), []) +})); +dart.setLibraryUri(html$.ShadowElement, I[148]); +dart.registerExtension("HTMLShadowElement", html$.ShadowElement); +html$.ShadowRoot = class ShadowRoot extends html$.DocumentFragment { + get [S$2.$delegatesFocus]() { + return this.delegatesFocus; + } + get [S$.$host]() { + return this.host; + } + get [S.$innerHtml]() { + return this.innerHTML; + } + set [S.$innerHtml](value) { + this.innerHTML = value; + } + get [S.$mode]() { + return this.mode; + } + get [S$2.$olderShadowRoot]() { + return this.olderShadowRoot; + } + get [S$1.$activeElement]() { + return this.activeElement; + } + get [S$1.$fullscreenElement]() { + return this.fullscreenElement; + } + get [S$1.$pointerLockElement]() { + return this.pointerLockElement; + } + get [S$1.$styleSheets]() { + return this.styleSheets; + } + [S$1.$elementFromPoint](...args) { + return this.elementFromPoint.apply(this, args); + } + [S$1.$elementsFromPoint](...args) { + return this.elementsFromPoint.apply(this, args); + } + [S$1.$getSelection](...args) { + return this.getSelection.apply(this, args); + } + static get supported() { + return !!(Element.prototype.createShadowRoot || Element.prototype.webkitCreateShadowRoot); + } + static _shadowRootDeprecationReport() { + if (!dart.test(html$.ShadowRoot._shadowRootDeprecationReported)) { + html$.window[S$2.$console].warn("ShadowRoot.resetStyleInheritance and ShadowRoot.applyAuthorStyles now deprecated in dart:html.\nPlease remove them from your code.\n"); + html$.ShadowRoot._shadowRootDeprecationReported = true; + } + } + get [S$2.$resetStyleInheritance]() { + html$.ShadowRoot._shadowRootDeprecationReport(); + return false; + } + set [S$2.$resetStyleInheritance](value) { + if (value == null) dart.nullFailed(I[147], 28017, 34, "value"); + html$.ShadowRoot._shadowRootDeprecationReport(); + } + get [S$2.$applyAuthorStyles]() { + html$.ShadowRoot._shadowRootDeprecationReport(); + return false; + } + set [S$2.$applyAuthorStyles](value) { + if (value == null) dart.nullFailed(I[147], 28029, 30, "value"); + html$.ShadowRoot._shadowRootDeprecationReport(); + } +}; +dart.addTypeTests(html$.ShadowRoot); +dart.addTypeCaches(html$.ShadowRoot); +html$.ShadowRoot[dart.implements] = () => [html$.DocumentOrShadowRoot]; +dart.setMethodSignature(html$.ShadowRoot, () => ({ + __proto__: dart.getMethods(html$.ShadowRoot.__proto__), + [S$1.$elementFromPoint]: dart.fnType(dart.nullable(html$.Element), [core.int, core.int]), + [S$1.$elementsFromPoint]: dart.fnType(core.List$(html$.Element), [core.int, core.int]), + [S$1.$getSelection]: dart.fnType(dart.nullable(html$.Selection), []) +})); +dart.setGetterSignature(html$.ShadowRoot, () => ({ + __proto__: dart.getGetters(html$.ShadowRoot.__proto__), + [S$2.$delegatesFocus]: dart.nullable(core.bool), + [S$.$host]: dart.nullable(html$.Element), + [S.$mode]: dart.nullable(core.String), + [S$2.$olderShadowRoot]: dart.nullable(html$.ShadowRoot), + [S$1.$activeElement]: dart.nullable(html$.Element), + [S$1.$fullscreenElement]: dart.nullable(html$.Element), + [S$1.$pointerLockElement]: dart.nullable(html$.Element), + [S$1.$styleSheets]: dart.nullable(core.List$(html$.StyleSheet)), + [S$2.$resetStyleInheritance]: core.bool, + [S$2.$applyAuthorStyles]: core.bool +})); +dart.setSetterSignature(html$.ShadowRoot, () => ({ + __proto__: dart.getSetters(html$.ShadowRoot.__proto__), + [S$2.$resetStyleInheritance]: core.bool, + [S$2.$applyAuthorStyles]: core.bool +})); +dart.setLibraryUri(html$.ShadowRoot, I[148]); +dart.defineLazy(html$.ShadowRoot, { + /*html$.ShadowRoot._shadowRootDeprecationReported*/get _shadowRootDeprecationReported() { + return false; + }, + set _shadowRootDeprecationReported(_) {} +}, false); +dart.registerExtension("ShadowRoot", html$.ShadowRoot); +html$.SharedArrayBuffer = class SharedArrayBuffer extends _interceptors.Interceptor { + get [S$2.$byteLength]() { + return this.byteLength; + } +}; +dart.addTypeTests(html$.SharedArrayBuffer); +dart.addTypeCaches(html$.SharedArrayBuffer); +dart.setGetterSignature(html$.SharedArrayBuffer, () => ({ + __proto__: dart.getGetters(html$.SharedArrayBuffer.__proto__), + [S$2.$byteLength]: dart.nullable(core.int) +})); +dart.setLibraryUri(html$.SharedArrayBuffer, I[148]); +dart.registerExtension("SharedArrayBuffer", html$.SharedArrayBuffer); +html$.SharedWorker = class SharedWorker$ extends html$.EventTarget { + static new(scriptURL, name = null) { + if (scriptURL == null) dart.nullFailed(I[147], 28060, 31, "scriptURL"); + if (name != null) { + return html$.SharedWorker._create_1(scriptURL, name); + } + return html$.SharedWorker._create_2(scriptURL); + } + static _create_1(scriptURL, name) { + return new SharedWorker(scriptURL, name); + } + static _create_2(scriptURL) { + return new SharedWorker(scriptURL); + } + get [S$.$port]() { + return this.port; + } + get [S.$onError]() { + return html$.SharedWorker.errorEvent.forTarget(this); + } +}; +dart.addTypeTests(html$.SharedWorker); +dart.addTypeCaches(html$.SharedWorker); +html$.SharedWorker[dart.implements] = () => [html$.AbstractWorker]; +dart.setGetterSignature(html$.SharedWorker, () => ({ + __proto__: dart.getGetters(html$.SharedWorker.__proto__), + [S$.$port]: dart.nullable(html$.MessagePort), + [S.$onError]: async.Stream$(html$.Event) +})); +dart.setLibraryUri(html$.SharedWorker, I[148]); +dart.defineLazy(html$.SharedWorker, { + /*html$.SharedWorker.errorEvent*/get errorEvent() { + return C[216] || CT.C216; + } +}, false); +dart.registerExtension("SharedWorker", html$.SharedWorker); +html$.SharedWorkerGlobalScope = class SharedWorkerGlobalScope extends html$.WorkerGlobalScope { + get [$name]() { + return this.name; + } + [S.$close](...args) { + return this.close.apply(this, args); + } + [S$0._webkitRequestFileSystem](...args) { + return this.webkitRequestFileSystem.apply(this, args); + } + [S$0.$requestFileSystemSync](...args) { + return this.webkitRequestFileSystemSync.apply(this, args); + } + [S$0.$resolveLocalFileSystemSyncUrl](...args) { + return this.webkitResolveLocalFileSystemSyncURL.apply(this, args); + } + [S$0._webkitResolveLocalFileSystemUrl](...args) { + return this.webkitResolveLocalFileSystemURL.apply(this, args); + } + get [S$2.$onConnect]() { + return html$.SharedWorkerGlobalScope.connectEvent.forTarget(this); + } + static get instance() { + return html$.SharedWorkerGlobalScope.as(html$._workerSelf); + } +}; +dart.addTypeTests(html$.SharedWorkerGlobalScope); +dart.addTypeCaches(html$.SharedWorkerGlobalScope); +dart.setMethodSignature(html$.SharedWorkerGlobalScope, () => ({ + __proto__: dart.getMethods(html$.SharedWorkerGlobalScope.__proto__), + [S.$close]: dart.fnType(dart.void, []), + [S$0._webkitRequestFileSystem]: dart.fnType(dart.void, [core.int, core.int], [dart.nullable(dart.fnType(dart.void, [html$.FileSystem])), dart.nullable(dart.fnType(dart.void, [html$.DomException]))]), + [S$0.$requestFileSystemSync]: dart.fnType(html$._DOMFileSystemSync, [core.int, core.int]), + [S$0.$resolveLocalFileSystemSyncUrl]: dart.fnType(html$._EntrySync, [core.String]), + [S$0._webkitResolveLocalFileSystemUrl]: dart.fnType(dart.void, [core.String, dart.fnType(dart.void, [html$.Entry])], [dart.nullable(dart.fnType(dart.void, [html$.DomException]))]) +})); +dart.setGetterSignature(html$.SharedWorkerGlobalScope, () => ({ + __proto__: dart.getGetters(html$.SharedWorkerGlobalScope.__proto__), + [$name]: dart.nullable(core.String), + [S$2.$onConnect]: async.Stream$(html$.Event) +})); +dart.setLibraryUri(html$.SharedWorkerGlobalScope, I[148]); +dart.defineLazy(html$.SharedWorkerGlobalScope, { + /*html$.SharedWorkerGlobalScope.connectEvent*/get connectEvent() { + return C[366] || CT.C366; + }, + /*html$.SharedWorkerGlobalScope.PERSISTENT*/get PERSISTENT() { + return 1; + }, + /*html$.SharedWorkerGlobalScope.TEMPORARY*/get TEMPORARY() { + return 0; + } +}, false); +dart.registerExtension("SharedWorkerGlobalScope", html$.SharedWorkerGlobalScope); +html$.SlotElement = class SlotElement extends html$.HtmlElement { + get [$name]() { + return this.name; + } + set [$name](value) { + this.name = value; + } + [S$2.$assignedNodes](options = null) { + if (options != null) { + let options_1 = html_common.convertDartToNative_Dictionary(options); + return this[S$2._assignedNodes_1](options_1); + } + return this[S$2._assignedNodes_2](); + } + [S$2._assignedNodes_1](...args) { + return this.assignedNodes.apply(this, args); + } + [S$2._assignedNodes_2](...args) { + return this.assignedNodes.apply(this, args); + } +}; +(html$.SlotElement.created = function() { + html$.SlotElement.__proto__.created.call(this); + ; +}).prototype = html$.SlotElement.prototype; +dart.addTypeTests(html$.SlotElement); +dart.addTypeCaches(html$.SlotElement); +dart.setMethodSignature(html$.SlotElement, () => ({ + __proto__: dart.getMethods(html$.SlotElement.__proto__), + [S$2.$assignedNodes]: dart.fnType(core.List$(html$.Node), [], [dart.nullable(core.Map)]), + [S$2._assignedNodes_1]: dart.fnType(core.List$(html$.Node), [dart.dynamic]), + [S$2._assignedNodes_2]: dart.fnType(core.List$(html$.Node), []) +})); +dart.setGetterSignature(html$.SlotElement, () => ({ + __proto__: dart.getGetters(html$.SlotElement.__proto__), + [$name]: dart.nullable(core.String) +})); +dart.setSetterSignature(html$.SlotElement, () => ({ + __proto__: dart.getSetters(html$.SlotElement.__proto__), + [$name]: dart.nullable(core.String) +})); +dart.setLibraryUri(html$.SlotElement, I[148]); +dart.registerExtension("HTMLSlotElement", html$.SlotElement); +html$.SourceBuffer = class SourceBuffer extends html$.EventTarget { + get [S$2.$appendWindowEnd]() { + return this.appendWindowEnd; + } + set [S$2.$appendWindowEnd](value) { + this.appendWindowEnd = value; + } + get [S$2.$appendWindowStart]() { + return this.appendWindowStart; + } + set [S$2.$appendWindowStart](value) { + this.appendWindowStart = value; + } + get [S$.$audioTracks]() { + return this.audioTracks; + } + get [S$.$buffered]() { + return this.buffered; + } + get [S.$mode]() { + return this.mode; + } + set [S.$mode](value) { + this.mode = value; + } + get [S$2.$timestampOffset]() { + return this.timestampOffset; + } + set [S$2.$timestampOffset](value) { + this.timestampOffset = value; + } + get [S$2.$trackDefaults]() { + return this.trackDefaults; + } + set [S$2.$trackDefaults](value) { + this.trackDefaults = value; + } + get [S$2.$updating]() { + return this.updating; + } + get [S$.$videoTracks]() { + return this.videoTracks; + } + [S.$abort](...args) { + return this.abort.apply(this, args); + } + [S$2.$appendBuffer](...args) { + return this.appendBuffer.apply(this, args); + } + [S$2.$appendTypedData](...args) { + return this.appendBuffer.apply(this, args); + } + [$remove](...args) { + return this.remove.apply(this, args); + } + get [S.$onAbort]() { + return html$.SourceBuffer.abortEvent.forTarget(this); + } + get [S.$onError]() { + return html$.SourceBuffer.errorEvent.forTarget(this); + } +}; +dart.addTypeTests(html$.SourceBuffer); +dart.addTypeCaches(html$.SourceBuffer); +dart.setMethodSignature(html$.SourceBuffer, () => ({ + __proto__: dart.getMethods(html$.SourceBuffer.__proto__), + [S.$abort]: dart.fnType(dart.void, []), + [S$2.$appendBuffer]: dart.fnType(dart.void, [typed_data.ByteBuffer]), + [S$2.$appendTypedData]: dart.fnType(dart.void, [typed_data.TypedData]), + [$remove]: dart.fnType(dart.void, [core.num, core.num]) +})); +dart.setGetterSignature(html$.SourceBuffer, () => ({ + __proto__: dart.getGetters(html$.SourceBuffer.__proto__), + [S$2.$appendWindowEnd]: dart.nullable(core.num), + [S$2.$appendWindowStart]: dart.nullable(core.num), + [S$.$audioTracks]: dart.nullable(web_audio.AudioTrackList), + [S$.$buffered]: dart.nullable(html$.TimeRanges), + [S.$mode]: dart.nullable(core.String), + [S$2.$timestampOffset]: dart.nullable(core.num), + [S$2.$trackDefaults]: dart.nullable(html$.TrackDefaultList), + [S$2.$updating]: dart.nullable(core.bool), + [S$.$videoTracks]: dart.nullable(html$.VideoTrackList), + [S.$onAbort]: async.Stream$(html$.Event), + [S.$onError]: async.Stream$(html$.Event) +})); +dart.setSetterSignature(html$.SourceBuffer, () => ({ + __proto__: dart.getSetters(html$.SourceBuffer.__proto__), + [S$2.$appendWindowEnd]: dart.nullable(core.num), + [S$2.$appendWindowStart]: dart.nullable(core.num), + [S.$mode]: dart.nullable(core.String), + [S$2.$timestampOffset]: dart.nullable(core.num), + [S$2.$trackDefaults]: dart.nullable(html$.TrackDefaultList) +})); +dart.setLibraryUri(html$.SourceBuffer, I[148]); +dart.defineLazy(html$.SourceBuffer, { + /*html$.SourceBuffer.abortEvent*/get abortEvent() { + return C[214] || CT.C214; + }, + /*html$.SourceBuffer.errorEvent*/get errorEvent() { + return C[216] || CT.C216; + } +}, false); +dart.registerExtension("SourceBuffer", html$.SourceBuffer); +const EventTarget_ListMixin$36 = class EventTarget_ListMixin extends html$.EventTarget {}; +(EventTarget_ListMixin$36._created = function() { + EventTarget_ListMixin$36.__proto__._created.call(this); +}).prototype = EventTarget_ListMixin$36.prototype; +dart.applyMixin(EventTarget_ListMixin$36, collection.ListMixin$(html$.SourceBuffer)); +const EventTarget_ImmutableListMixin$36 = class EventTarget_ImmutableListMixin extends EventTarget_ListMixin$36 {}; +(EventTarget_ImmutableListMixin$36._created = function() { + EventTarget_ImmutableListMixin$36.__proto__._created.call(this); +}).prototype = EventTarget_ImmutableListMixin$36.prototype; +dart.applyMixin(EventTarget_ImmutableListMixin$36, html$.ImmutableListMixin$(html$.SourceBuffer)); +html$.SourceBufferList = class SourceBufferList extends EventTarget_ImmutableListMixin$36 { + get [$length]() { + return this.length; + } + [$_get](index) { + if (index == null) dart.nullFailed(I[147], 28242, 32, "index"); + if (index >>> 0 !== index || index >= this[$length]) dart.throw(new core.IndexError.new(index, this)); + return this[index]; + } + [$_set](index, value$) { + let value = value$; + if (index == null) dart.nullFailed(I[147], 28248, 25, "index"); + html$.SourceBuffer.as(value); + if (value == null) dart.nullFailed(I[147], 28248, 45, "value"); + dart.throw(new core.UnsupportedError.new("Cannot assign element of immutable List.")); + return value$; + } + set [$length](value) { + if (value == null) dart.nullFailed(I[147], 28254, 18, "value"); + dart.throw(new core.UnsupportedError.new("Cannot resize immutable List.")); + } + get [$first]() { + if (dart.notNull(this[$length]) > 0) { + return this[0]; + } + dart.throw(new core.StateError.new("No elements")); + } + set [$first](value) { + super[$first] = value; + } + get [$last]() { + let len = this[$length]; + if (dart.notNull(len) > 0) { + return this[dart.notNull(len) - 1]; + } + dart.throw(new core.StateError.new("No elements")); + } + set [$last](value) { + super[$last] = value; + } + get [$single]() { + let len = this[$length]; + if (len === 1) { + return this[0]; + } + if (len === 0) dart.throw(new core.StateError.new("No elements")); + dart.throw(new core.StateError.new("More than one element")); + } + [$elementAt](index) { + if (index == null) dart.nullFailed(I[147], 28282, 30, "index"); + return this[$_get](index); + } + [S$.$item](...args) { + return this.item.apply(this, args); + } +}; +html$.SourceBufferList.prototype[dart.isList] = true; +dart.addTypeTests(html$.SourceBufferList); +dart.addTypeCaches(html$.SourceBufferList); +html$.SourceBufferList[dart.implements] = () => [_js_helper.JavaScriptIndexingBehavior$(html$.SourceBuffer), core.List$(html$.SourceBuffer)]; +dart.setMethodSignature(html$.SourceBufferList, () => ({ + __proto__: dart.getMethods(html$.SourceBufferList.__proto__), + [$_get]: dart.fnType(html$.SourceBuffer, [core.int]), + [$_set]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), + [S$.$item]: dart.fnType(html$.SourceBuffer, [core.int]) +})); +dart.setGetterSignature(html$.SourceBufferList, () => ({ + __proto__: dart.getGetters(html$.SourceBufferList.__proto__), + [$length]: core.int +})); +dart.setSetterSignature(html$.SourceBufferList, () => ({ + __proto__: dart.getSetters(html$.SourceBufferList.__proto__), + [$length]: core.int +})); +dart.setLibraryUri(html$.SourceBufferList, I[148]); +dart.registerExtension("SourceBufferList", html$.SourceBufferList); +html$.SourceElement = class SourceElement extends html$.HtmlElement { + static new() { + return html$.document.createElement("source"); + } + get [S$.$media]() { + return this.media; + } + set [S$.$media](value) { + this.media = value; + } + get [S$1.$sizes]() { + return this.sizes; + } + set [S$1.$sizes](value) { + this.sizes = value; + } + get [S$.$src]() { + return this.src; + } + set [S$.$src](value) { + this.src = value; + } + get [S$1.$srcset]() { + return this.srcset; + } + set [S$1.$srcset](value) { + this.srcset = value; + } + get [S.$type]() { + return this.type; + } + set [S.$type](value) { + this.type = value; + } +}; +(html$.SourceElement.created = function() { + html$.SourceElement.__proto__.created.call(this); + ; +}).prototype = html$.SourceElement.prototype; +dart.addTypeTests(html$.SourceElement); +dart.addTypeCaches(html$.SourceElement); +dart.setGetterSignature(html$.SourceElement, () => ({ + __proto__: dart.getGetters(html$.SourceElement.__proto__), + [S$.$media]: core.String, + [S$1.$sizes]: dart.nullable(core.String), + [S$.$src]: core.String, + [S$1.$srcset]: dart.nullable(core.String), + [S.$type]: core.String +})); +dart.setSetterSignature(html$.SourceElement, () => ({ + __proto__: dart.getSetters(html$.SourceElement.__proto__), + [S$.$media]: core.String, + [S$1.$sizes]: dart.nullable(core.String), + [S$.$src]: core.String, + [S$1.$srcset]: dart.nullable(core.String), + [S.$type]: core.String +})); +dart.setLibraryUri(html$.SourceElement, I[148]); +dart.registerExtension("HTMLSourceElement", html$.SourceElement); +html$.SpanElement = class SpanElement extends html$.HtmlElement { + static new() { + return html$.document.createElement("span"); + } +}; +(html$.SpanElement.created = function() { + html$.SpanElement.__proto__.created.call(this); + ; +}).prototype = html$.SpanElement.prototype; +dart.addTypeTests(html$.SpanElement); +dart.addTypeCaches(html$.SpanElement); +dart.setLibraryUri(html$.SpanElement, I[148]); +dart.registerExtension("HTMLSpanElement", html$.SpanElement); +html$.SpeechGrammar = class SpeechGrammar$ extends _interceptors.Interceptor { + static new() { + return html$.SpeechGrammar._create_1(); + } + static _create_1() { + return new SpeechGrammar(); + } + get [S$.$src]() { + return this.src; + } + set [S$.$src](value) { + this.src = value; + } + get [S$1.$weight]() { + return this.weight; + } + set [S$1.$weight](value) { + this.weight = value; + } +}; +dart.addTypeTests(html$.SpeechGrammar); +dart.addTypeCaches(html$.SpeechGrammar); +dart.setGetterSignature(html$.SpeechGrammar, () => ({ + __proto__: dart.getGetters(html$.SpeechGrammar.__proto__), + [S$.$src]: dart.nullable(core.String), + [S$1.$weight]: dart.nullable(core.num) +})); +dart.setSetterSignature(html$.SpeechGrammar, () => ({ + __proto__: dart.getSetters(html$.SpeechGrammar.__proto__), + [S$.$src]: dart.nullable(core.String), + [S$1.$weight]: dart.nullable(core.num) +})); +dart.setLibraryUri(html$.SpeechGrammar, I[148]); +dart.registerExtension("SpeechGrammar", html$.SpeechGrammar); +const Interceptor_ListMixin$36$5 = class Interceptor_ListMixin extends _interceptors.Interceptor {}; +(Interceptor_ListMixin$36$5.new = function() { + Interceptor_ListMixin$36$5.__proto__.new.call(this); +}).prototype = Interceptor_ListMixin$36$5.prototype; +dart.applyMixin(Interceptor_ListMixin$36$5, collection.ListMixin$(html$.SpeechGrammar)); +const Interceptor_ImmutableListMixin$36$5 = class Interceptor_ImmutableListMixin extends Interceptor_ListMixin$36$5 {}; +(Interceptor_ImmutableListMixin$36$5.new = function() { + Interceptor_ImmutableListMixin$36$5.__proto__.new.call(this); +}).prototype = Interceptor_ImmutableListMixin$36$5.prototype; +dart.applyMixin(Interceptor_ImmutableListMixin$36$5, html$.ImmutableListMixin$(html$.SpeechGrammar)); +html$.SpeechGrammarList = class SpeechGrammarList$ extends Interceptor_ImmutableListMixin$36$5 { + static new() { + return html$.SpeechGrammarList._create_1(); + } + static _create_1() { + return new SpeechGrammarList(); + } + get [$length]() { + return this.length; + } + [$_get](index) { + if (index == null) dart.nullFailed(I[147], 28399, 33, "index"); + if (index >>> 0 !== index || index >= this[$length]) dart.throw(new core.IndexError.new(index, this)); + return this[index]; + } + [$_set](index, value$) { + let value = value$; + if (index == null) dart.nullFailed(I[147], 28405, 25, "index"); + html$.SpeechGrammar.as(value); + if (value == null) dart.nullFailed(I[147], 28405, 46, "value"); + dart.throw(new core.UnsupportedError.new("Cannot assign element of immutable List.")); + return value$; + } + set [$length](value) { + if (value == null) dart.nullFailed(I[147], 28411, 18, "value"); + dart.throw(new core.UnsupportedError.new("Cannot resize immutable List.")); + } + get [$first]() { + if (dart.notNull(this[$length]) > 0) { + return this[0]; + } + dart.throw(new core.StateError.new("No elements")); + } + set [$first](value) { + super[$first] = value; + } + get [$last]() { + let len = this[$length]; + if (dart.notNull(len) > 0) { + return this[dart.notNull(len) - 1]; + } + dart.throw(new core.StateError.new("No elements")); + } + set [$last](value) { + super[$last] = value; + } + get [$single]() { + let len = this[$length]; + if (len === 1) { + return this[0]; + } + if (len === 0) dart.throw(new core.StateError.new("No elements")); + dart.throw(new core.StateError.new("More than one element")); + } + [$elementAt](index) { + if (index == null) dart.nullFailed(I[147], 28439, 31, "index"); + return this[$_get](index); + } + [S$2.$addFromString](...args) { + return this.addFromString.apply(this, args); + } + [S$2.$addFromUri](...args) { + return this.addFromUri.apply(this, args); + } + [S$.$item](...args) { + return this.item.apply(this, args); + } +}; +html$.SpeechGrammarList.prototype[dart.isList] = true; +dart.addTypeTests(html$.SpeechGrammarList); +dart.addTypeCaches(html$.SpeechGrammarList); +html$.SpeechGrammarList[dart.implements] = () => [_js_helper.JavaScriptIndexingBehavior$(html$.SpeechGrammar), core.List$(html$.SpeechGrammar)]; +dart.setMethodSignature(html$.SpeechGrammarList, () => ({ + __proto__: dart.getMethods(html$.SpeechGrammarList.__proto__), + [$_get]: dart.fnType(html$.SpeechGrammar, [core.int]), + [$_set]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), + [S$2.$addFromString]: dart.fnType(dart.void, [core.String], [dart.nullable(core.num)]), + [S$2.$addFromUri]: dart.fnType(dart.void, [core.String], [dart.nullable(core.num)]), + [S$.$item]: dart.fnType(html$.SpeechGrammar, [core.int]) +})); +dart.setGetterSignature(html$.SpeechGrammarList, () => ({ + __proto__: dart.getGetters(html$.SpeechGrammarList.__proto__), + [$length]: core.int +})); +dart.setSetterSignature(html$.SpeechGrammarList, () => ({ + __proto__: dart.getSetters(html$.SpeechGrammarList.__proto__), + [$length]: core.int +})); +dart.setLibraryUri(html$.SpeechGrammarList, I[148]); +dart.registerExtension("SpeechGrammarList", html$.SpeechGrammarList); +html$.SpeechRecognition = class SpeechRecognition extends html$.EventTarget { + static get supported() { + return !!(window.SpeechRecognition || window.webkitSpeechRecognition); + } + get [S$2.$audioTrack]() { + return this.audioTrack; + } + set [S$2.$audioTrack](value) { + this.audioTrack = value; + } + get [S$2.$continuous]() { + return this.continuous; + } + set [S$2.$continuous](value) { + this.continuous = value; + } + get [S$2.$grammars]() { + return this.grammars; + } + set [S$2.$grammars](value) { + this.grammars = value; + } + get [S$2.$interimResults]() { + return this.interimResults; + } + set [S$2.$interimResults](value) { + this.interimResults = value; + } + get [S.$lang]() { + return this.lang; + } + set [S.$lang](value) { + this.lang = value; + } + get [S$2.$maxAlternatives]() { + return this.maxAlternatives; + } + set [S$2.$maxAlternatives](value) { + this.maxAlternatives = value; + } + [S.$abort](...args) { + return this.abort.apply(this, args); + } + [S$.$start](...args) { + return this.start.apply(this, args); + } + [S$.$stop](...args) { + return this.stop.apply(this, args); + } + get [S$2.$onAudioEnd]() { + return html$.SpeechRecognition.audioEndEvent.forTarget(this); + } + get [S$2.$onAudioStart]() { + return html$.SpeechRecognition.audioStartEvent.forTarget(this); + } + get [S$2.$onEnd]() { + return html$.SpeechRecognition.endEvent.forTarget(this); + } + get [S.$onError]() { + return html$.SpeechRecognition.errorEvent.forTarget(this); + } + get [S$2.$onNoMatch]() { + return html$.SpeechRecognition.noMatchEvent.forTarget(this); + } + get [S$2.$onResult]() { + return html$.SpeechRecognition.resultEvent.forTarget(this); + } + get [S$2.$onSoundEnd]() { + return html$.SpeechRecognition.soundEndEvent.forTarget(this); + } + get [S$2.$onSoundStart]() { + return html$.SpeechRecognition.soundStartEvent.forTarget(this); + } + get [S$2.$onSpeechEnd]() { + return html$.SpeechRecognition.speechEndEvent.forTarget(this); + } + get [S$2.$onSpeechStart]() { + return html$.SpeechRecognition.speechStartEvent.forTarget(this); + } + get [S$2.$onStart]() { + return html$.SpeechRecognition.startEvent.forTarget(this); + } + static new() { + return new (window.SpeechRecognition || window.webkitSpeechRecognition)(); + } +}; +dart.addTypeTests(html$.SpeechRecognition); +dart.addTypeCaches(html$.SpeechRecognition); +dart.setMethodSignature(html$.SpeechRecognition, () => ({ + __proto__: dart.getMethods(html$.SpeechRecognition.__proto__), + [S.$abort]: dart.fnType(dart.void, []), + [S$.$start]: dart.fnType(dart.void, []), + [S$.$stop]: dart.fnType(dart.void, []) +})); +dart.setGetterSignature(html$.SpeechRecognition, () => ({ + __proto__: dart.getGetters(html$.SpeechRecognition.__proto__), + [S$2.$audioTrack]: dart.nullable(html$.MediaStreamTrack), + [S$2.$continuous]: dart.nullable(core.bool), + [S$2.$grammars]: dart.nullable(html$.SpeechGrammarList), + [S$2.$interimResults]: dart.nullable(core.bool), + [S.$lang]: dart.nullable(core.String), + [S$2.$maxAlternatives]: dart.nullable(core.int), + [S$2.$onAudioEnd]: async.Stream$(html$.Event), + [S$2.$onAudioStart]: async.Stream$(html$.Event), + [S$2.$onEnd]: async.Stream$(html$.Event), + [S.$onError]: async.Stream$(html$.SpeechRecognitionError), + [S$2.$onNoMatch]: async.Stream$(html$.SpeechRecognitionEvent), + [S$2.$onResult]: async.Stream$(html$.SpeechRecognitionEvent), + [S$2.$onSoundEnd]: async.Stream$(html$.Event), + [S$2.$onSoundStart]: async.Stream$(html$.Event), + [S$2.$onSpeechEnd]: async.Stream$(html$.Event), + [S$2.$onSpeechStart]: async.Stream$(html$.Event), + [S$2.$onStart]: async.Stream$(html$.Event) +})); +dart.setSetterSignature(html$.SpeechRecognition, () => ({ + __proto__: dart.getSetters(html$.SpeechRecognition.__proto__), + [S$2.$audioTrack]: dart.nullable(html$.MediaStreamTrack), + [S$2.$continuous]: dart.nullable(core.bool), + [S$2.$grammars]: dart.nullable(html$.SpeechGrammarList), + [S$2.$interimResults]: dart.nullable(core.bool), + [S.$lang]: dart.nullable(core.String), + [S$2.$maxAlternatives]: dart.nullable(core.int) +})); +dart.setLibraryUri(html$.SpeechRecognition, I[148]); +dart.defineLazy(html$.SpeechRecognition, { + /*html$.SpeechRecognition.audioEndEvent*/get audioEndEvent() { + return C[367] || CT.C367; + }, + /*html$.SpeechRecognition.audioStartEvent*/get audioStartEvent() { + return C[368] || CT.C368; + }, + /*html$.SpeechRecognition.endEvent*/get endEvent() { + return C[369] || CT.C369; + }, + /*html$.SpeechRecognition.errorEvent*/get errorEvent() { + return C[370] || CT.C370; + }, + /*html$.SpeechRecognition.noMatchEvent*/get noMatchEvent() { + return C[371] || CT.C371; + }, + /*html$.SpeechRecognition.resultEvent*/get resultEvent() { + return C[372] || CT.C372; + }, + /*html$.SpeechRecognition.soundEndEvent*/get soundEndEvent() { + return C[373] || CT.C373; + }, + /*html$.SpeechRecognition.soundStartEvent*/get soundStartEvent() { + return C[374] || CT.C374; + }, + /*html$.SpeechRecognition.speechEndEvent*/get speechEndEvent() { + return C[375] || CT.C375; + }, + /*html$.SpeechRecognition.speechStartEvent*/get speechStartEvent() { + return C[376] || CT.C376; + }, + /*html$.SpeechRecognition.startEvent*/get startEvent() { + return C[377] || CT.C377; + } +}, false); +dart.registerExtension("SpeechRecognition", html$.SpeechRecognition); +html$.SpeechRecognitionAlternative = class SpeechRecognitionAlternative extends _interceptors.Interceptor { + get [S$2.$confidence]() { + return this.confidence; + } + get [S$2.$transcript]() { + return this.transcript; + } +}; +dart.addTypeTests(html$.SpeechRecognitionAlternative); +dart.addTypeCaches(html$.SpeechRecognitionAlternative); +dart.setGetterSignature(html$.SpeechRecognitionAlternative, () => ({ + __proto__: dart.getGetters(html$.SpeechRecognitionAlternative.__proto__), + [S$2.$confidence]: dart.nullable(core.num), + [S$2.$transcript]: dart.nullable(core.String) +})); +dart.setLibraryUri(html$.SpeechRecognitionAlternative, I[148]); +dart.registerExtension("SpeechRecognitionAlternative", html$.SpeechRecognitionAlternative); +html$.SpeechRecognitionError = class SpeechRecognitionError$ extends html$.Event { + static new(type, initDict = null) { + if (type == null) dart.nullFailed(I[147], 28659, 41, "type"); + if (initDict != null) { + let initDict_1 = html_common.convertDartToNative_Dictionary(initDict); + return html$.SpeechRecognitionError._create_1(type, initDict_1); + } + return html$.SpeechRecognitionError._create_2(type); + } + static _create_1(type, initDict) { + return new SpeechRecognitionError(type, initDict); + } + static _create_2(type) { + return new SpeechRecognitionError(type); + } + get [S.$error]() { + return this.error; + } + get [$message]() { + return this.message; + } +}; +dart.addTypeTests(html$.SpeechRecognitionError); +dart.addTypeCaches(html$.SpeechRecognitionError); +dart.setGetterSignature(html$.SpeechRecognitionError, () => ({ + __proto__: dart.getGetters(html$.SpeechRecognitionError.__proto__), + [S.$error]: dart.nullable(core.String), + [$message]: dart.nullable(core.String) +})); +dart.setLibraryUri(html$.SpeechRecognitionError, I[148]); +dart.registerExtension("SpeechRecognitionError", html$.SpeechRecognitionError); +html$.SpeechRecognitionEvent = class SpeechRecognitionEvent$ extends html$.Event { + static new(type, initDict = null) { + if (type == null) dart.nullFailed(I[147], 28690, 41, "type"); + if (initDict != null) { + let initDict_1 = html_common.convertDartToNative_Dictionary(initDict); + return html$.SpeechRecognitionEvent._create_1(type, initDict_1); + } + return html$.SpeechRecognitionEvent._create_2(type); + } + static _create_1(type, initDict) { + return new SpeechRecognitionEvent(type, initDict); + } + static _create_2(type) { + return new SpeechRecognitionEvent(type); + } + get [S$2.$emma]() { + return this.emma; + } + get [S$2.$interpretation]() { + return this.interpretation; + } + get [S$2.$resultIndex]() { + return this.resultIndex; + } + get [S$2.$results]() { + return this.results; + } +}; +dart.addTypeTests(html$.SpeechRecognitionEvent); +dart.addTypeCaches(html$.SpeechRecognitionEvent); +dart.setGetterSignature(html$.SpeechRecognitionEvent, () => ({ + __proto__: dart.getGetters(html$.SpeechRecognitionEvent.__proto__), + [S$2.$emma]: dart.nullable(html$.Document), + [S$2.$interpretation]: dart.nullable(html$.Document), + [S$2.$resultIndex]: dart.nullable(core.int), + [S$2.$results]: dart.nullable(core.List$(html$.SpeechRecognitionResult)) +})); +dart.setLibraryUri(html$.SpeechRecognitionEvent, I[148]); +dart.registerExtension("SpeechRecognitionEvent", html$.SpeechRecognitionEvent); +html$.SpeechRecognitionResult = class SpeechRecognitionResult extends _interceptors.Interceptor { + get [S$2.$isFinal]() { + return this.isFinal; + } + get [$length]() { + return this.length; + } + [S$.$item](...args) { + return this.item.apply(this, args); + } +}; +dart.addTypeTests(html$.SpeechRecognitionResult); +dart.addTypeCaches(html$.SpeechRecognitionResult); +dart.setMethodSignature(html$.SpeechRecognitionResult, () => ({ + __proto__: dart.getMethods(html$.SpeechRecognitionResult.__proto__), + [S$.$item]: dart.fnType(html$.SpeechRecognitionAlternative, [core.int]) +})); +dart.setGetterSignature(html$.SpeechRecognitionResult, () => ({ + __proto__: dart.getGetters(html$.SpeechRecognitionResult.__proto__), + [S$2.$isFinal]: dart.nullable(core.bool), + [$length]: dart.nullable(core.int) +})); +dart.setLibraryUri(html$.SpeechRecognitionResult, I[148]); +dart.registerExtension("SpeechRecognitionResult", html$.SpeechRecognitionResult); +html$.SpeechSynthesis = class SpeechSynthesis extends html$.EventTarget { + [S$2.$getVoices]() { + let voices = this[S$2._getVoices](); + if (dart.notNull(voices[$length]) > 0) _js_helper.applyExtension("SpeechSynthesisVoice", voices[$_get](0)); + return voices; + } + get [S$.$paused]() { + return this.paused; + } + get [S$2.$pending]() { + return this.pending; + } + get [S$2.$speaking]() { + return this.speaking; + } + [S$.$cancel](...args) { + return this.cancel.apply(this, args); + } + [S$2._getVoices](...args) { + return this.getVoices.apply(this, args); + } + [S$.$pause](...args) { + return this.pause.apply(this, args); + } + [S$1.$resume](...args) { + return this.resume.apply(this, args); + } + [S$0.$speak](...args) { + return this.speak.apply(this, args); + } +}; +dart.addTypeTests(html$.SpeechSynthesis); +dart.addTypeCaches(html$.SpeechSynthesis); +dart.setMethodSignature(html$.SpeechSynthesis, () => ({ + __proto__: dart.getMethods(html$.SpeechSynthesis.__proto__), + [S$2.$getVoices]: dart.fnType(core.List$(html$.SpeechSynthesisVoice), []), + [S$.$cancel]: dart.fnType(dart.void, []), + [S$2._getVoices]: dart.fnType(core.List$(html$.SpeechSynthesisVoice), []), + [S$.$pause]: dart.fnType(dart.void, []), + [S$1.$resume]: dart.fnType(dart.void, []), + [S$0.$speak]: dart.fnType(dart.void, [html$.SpeechSynthesisUtterance]) +})); +dart.setGetterSignature(html$.SpeechSynthesis, () => ({ + __proto__: dart.getGetters(html$.SpeechSynthesis.__proto__), + [S$.$paused]: dart.nullable(core.bool), + [S$2.$pending]: dart.nullable(core.bool), + [S$2.$speaking]: dart.nullable(core.bool) +})); +dart.setLibraryUri(html$.SpeechSynthesis, I[148]); +dart.registerExtension("SpeechSynthesis", html$.SpeechSynthesis); +html$.SpeechSynthesisEvent = class SpeechSynthesisEvent extends html$.Event { + get [S$2.$charIndex]() { + return this.charIndex; + } + get [S$.$elapsedTime]() { + return this.elapsedTime; + } + get [$name]() { + return this.name; + } + get [S$2.$utterance]() { + return this.utterance; + } +}; +dart.addTypeTests(html$.SpeechSynthesisEvent); +dart.addTypeCaches(html$.SpeechSynthesisEvent); +dart.setGetterSignature(html$.SpeechSynthesisEvent, () => ({ + __proto__: dart.getGetters(html$.SpeechSynthesisEvent.__proto__), + [S$2.$charIndex]: dart.nullable(core.int), + [S$.$elapsedTime]: dart.nullable(core.num), + [$name]: dart.nullable(core.String), + [S$2.$utterance]: dart.nullable(html$.SpeechSynthesisUtterance) +})); +dart.setLibraryUri(html$.SpeechSynthesisEvent, I[148]); +dart.registerExtension("SpeechSynthesisEvent", html$.SpeechSynthesisEvent); +html$.SpeechSynthesisUtterance = class SpeechSynthesisUtterance$ extends html$.EventTarget { + static new(text = null) { + if (text != null) { + return html$.SpeechSynthesisUtterance._create_1(text); + } + return html$.SpeechSynthesisUtterance._create_2(); + } + static _create_1(text) { + return new SpeechSynthesisUtterance(text); + } + static _create_2() { + return new SpeechSynthesisUtterance(); + } + get [S.$lang]() { + return this.lang; + } + set [S.$lang](value) { + this.lang = value; + } + get [S$2.$pitch]() { + return this.pitch; + } + set [S$2.$pitch](value) { + this.pitch = value; + } + get [S$2.$rate]() { + return this.rate; + } + set [S$2.$rate](value) { + this.rate = value; + } + get [S.$text]() { + return this.text; + } + set [S.$text](value) { + this.text = value; + } + get [S$2.$voice]() { + return this.voice; + } + set [S$2.$voice](value) { + this.voice = value; + } + get [S$.$volume]() { + return this.volume; + } + set [S$.$volume](value) { + this.volume = value; + } + get [S$2.$onBoundary]() { + return html$.SpeechSynthesisUtterance.boundaryEvent.forTarget(this); + } + get [S$2.$onEnd]() { + return html$.SpeechSynthesisUtterance.endEvent.forTarget(this); + } + get [S.$onError]() { + return html$.SpeechSynthesisUtterance.errorEvent.forTarget(this); + } + get [S$2.$onMark]() { + return html$.SpeechSynthesisUtterance.markEvent.forTarget(this); + } + get [S.$onPause]() { + return html$.SpeechSynthesisUtterance.pauseEvent.forTarget(this); + } + get [S$2.$onResume]() { + return html$.SpeechSynthesisUtterance.resumeEvent.forTarget(this); + } + get [S$2.$onStart]() { + return html$.SpeechSynthesisUtterance.startEvent.forTarget(this); + } +}; +dart.addTypeTests(html$.SpeechSynthesisUtterance); +dart.addTypeCaches(html$.SpeechSynthesisUtterance); +dart.setGetterSignature(html$.SpeechSynthesisUtterance, () => ({ + __proto__: dart.getGetters(html$.SpeechSynthesisUtterance.__proto__), + [S.$lang]: dart.nullable(core.String), + [S$2.$pitch]: dart.nullable(core.num), + [S$2.$rate]: dart.nullable(core.num), + [S.$text]: dart.nullable(core.String), + [S$2.$voice]: dart.nullable(html$.SpeechSynthesisVoice), + [S$.$volume]: dart.nullable(core.num), + [S$2.$onBoundary]: async.Stream$(html$.SpeechSynthesisEvent), + [S$2.$onEnd]: async.Stream$(html$.SpeechSynthesisEvent), + [S.$onError]: async.Stream$(html$.Event), + [S$2.$onMark]: async.Stream$(html$.SpeechSynthesisEvent), + [S.$onPause]: async.Stream$(html$.Event), + [S$2.$onResume]: async.Stream$(html$.SpeechSynthesisEvent), + [S$2.$onStart]: async.Stream$(html$.SpeechSynthesisEvent) +})); +dart.setSetterSignature(html$.SpeechSynthesisUtterance, () => ({ + __proto__: dart.getSetters(html$.SpeechSynthesisUtterance.__proto__), + [S.$lang]: dart.nullable(core.String), + [S$2.$pitch]: dart.nullable(core.num), + [S$2.$rate]: dart.nullable(core.num), + [S.$text]: dart.nullable(core.String), + [S$2.$voice]: dart.nullable(html$.SpeechSynthesisVoice), + [S$.$volume]: dart.nullable(core.num) +})); +dart.setLibraryUri(html$.SpeechSynthesisUtterance, I[148]); +dart.defineLazy(html$.SpeechSynthesisUtterance, { + /*html$.SpeechSynthesisUtterance.boundaryEvent*/get boundaryEvent() { + return C[378] || CT.C378; + }, + /*html$.SpeechSynthesisUtterance.endEvent*/get endEvent() { + return C[379] || CT.C379; + }, + /*html$.SpeechSynthesisUtterance.errorEvent*/get errorEvent() { + return C[216] || CT.C216; + }, + /*html$.SpeechSynthesisUtterance.markEvent*/get markEvent() { + return C[380] || CT.C380; + }, + /*html$.SpeechSynthesisUtterance.pauseEvent*/get pauseEvent() { + return C[269] || CT.C269; + }, + /*html$.SpeechSynthesisUtterance.resumeEvent*/get resumeEvent() { + return C[381] || CT.C381; + }, + /*html$.SpeechSynthesisUtterance.startEvent*/get startEvent() { + return C[382] || CT.C382; + } +}, false); +dart.registerExtension("SpeechSynthesisUtterance", html$.SpeechSynthesisUtterance); +html$.SpeechSynthesisVoice = class SpeechSynthesisVoice extends _interceptors.Interceptor { + get [S$1.$defaultValue]() { + return this.default; + } + get [S.$lang]() { + return this.lang; + } + get [S$2.$localService]() { + return this.localService; + } + get [$name]() { + return this.name; + } + get [S$2.$voiceUri]() { + return this.voiceURI; + } +}; +dart.addTypeTests(html$.SpeechSynthesisVoice); +dart.addTypeCaches(html$.SpeechSynthesisVoice); +dart.setGetterSignature(html$.SpeechSynthesisVoice, () => ({ + __proto__: dart.getGetters(html$.SpeechSynthesisVoice.__proto__), + [S$1.$defaultValue]: dart.nullable(core.bool), + [S.$lang]: dart.nullable(core.String), + [S$2.$localService]: dart.nullable(core.bool), + [$name]: dart.nullable(core.String), + [S$2.$voiceUri]: dart.nullable(core.String) +})); +dart.setLibraryUri(html$.SpeechSynthesisVoice, I[148]); +dart.registerExtension("SpeechSynthesisVoice", html$.SpeechSynthesisVoice); +html$.StaticRange = class StaticRange extends _interceptors.Interceptor { + get [S$2.$collapsed]() { + return this.collapsed; + } + get [S$2.$endContainer]() { + return this.endContainer; + } + get [S$2.$endOffset]() { + return this.endOffset; + } + get [S$2.$startContainer]() { + return this.startContainer; + } + get [S$2.$startOffset]() { + return this.startOffset; + } +}; +dart.addTypeTests(html$.StaticRange); +dart.addTypeCaches(html$.StaticRange); +dart.setGetterSignature(html$.StaticRange, () => ({ + __proto__: dart.getGetters(html$.StaticRange.__proto__), + [S$2.$collapsed]: dart.nullable(core.bool), + [S$2.$endContainer]: dart.nullable(html$.Node), + [S$2.$endOffset]: dart.nullable(core.int), + [S$2.$startContainer]: dart.nullable(html$.Node), + [S$2.$startOffset]: dart.nullable(core.int) +})); +dart.setLibraryUri(html$.StaticRange, I[148]); +dart.registerExtension("StaticRange", html$.StaticRange); +const Interceptor_MapMixin$36$1 = class Interceptor_MapMixin extends _interceptors.Interceptor {}; +(Interceptor_MapMixin$36$1.new = function() { + Interceptor_MapMixin$36$1.__proto__.new.call(this); +}).prototype = Interceptor_MapMixin$36$1.prototype; +dart.applyMixin(Interceptor_MapMixin$36$1, collection.MapMixin$(core.String, core.String)); +html$.Storage = class Storage extends Interceptor_MapMixin$36$1 { + [$addAll](other) { + T$0.MapOfString$String().as(other); + if (other == null) dart.nullFailed(I[147], 28987, 35, "other"); + other[$forEach](dart.fn((k, v) => { + if (k == null) dart.nullFailed(I[147], 28988, 20, "k"); + if (v == null) dart.nullFailed(I[147], 28988, 23, "v"); + this[$_set](k, v); + }, T$0.StringAndStringTovoid())); + } + [$containsValue](value) { + return this[$values][$any](dart.fn(e => { + if (e == null) dart.nullFailed(I[147], 28994, 52, "e"); + return core.identical(e, value); + }, T$.StringTobool())); + } + [$containsKey](key) { + return this[S$1._getItem](core.String.as(key)) != null; + } + [$_get](key) { + return this[S$1._getItem](core.String.as(key)); + } + [$_set](key, value$) { + let value = value$; + core.String.as(key); + if (key == null) dart.nullFailed(I[147], 29000, 28, "key"); + core.String.as(value); + if (value == null) dart.nullFailed(I[147], 29000, 40, "value"); + this[S$2._setItem](key, value); + return value$; + } + [$putIfAbsent](key, ifAbsent) { + core.String.as(key); + if (key == null) dart.nullFailed(I[147], 29004, 29, "key"); + T$.VoidToString().as(ifAbsent); + if (ifAbsent == null) dart.nullFailed(I[147], 29004, 41, "ifAbsent"); + if (!dart.test(this[$containsKey](key))) this[$_set](key, ifAbsent()); + return dart.nullCast(this[$_get](key), core.String); + } + [$remove](key) { + let value = this[$_get](key); + this[S$2._removeItem](core.String.as(key)); + return value; + } + [$clear]() { + return this[S$0._clear$3](); + } + [$forEach](f) { + if (f == null) dart.nullFailed(I[147], 29017, 21, "f"); + for (let i = 0; true; i = i + 1) { + let key = this[S$2._key](i); + if (key == null) return; + f(key, dart.nullCheck(this[$_get](key))); + } + } + get [$keys]() { + let keys = T$.JSArrayOfString().of([]); + this[$forEach](dart.fn((k, v) => { + if (k == null) dart.nullFailed(I[147], 29028, 14, "k"); + if (v == null) dart.nullFailed(I[147], 29028, 17, "v"); + return keys[$add](k); + }, T$0.StringAndStringTovoid())); + return keys; + } + get [$values]() { + let values = T$.JSArrayOfString().of([]); + this[$forEach](dart.fn((k, v) => { + if (k == null) dart.nullFailed(I[147], 29034, 14, "k"); + if (v == null) dart.nullFailed(I[147], 29034, 17, "v"); + return values[$add](v); + }, T$0.StringAndStringTovoid())); + return values; + } + get [$length]() { + return this[S$2._length$3]; + } + get [$isEmpty]() { + return this[S$2._key](0) == null; + } + get [$isNotEmpty]() { + return !dart.test(this[$isEmpty]); + } + get [S$2._length$3]() { + return this.length; + } + [S$0._clear$3](...args) { + return this.clear.apply(this, args); + } + [S$1._getItem](...args) { + return this.getItem.apply(this, args); + } + [S$2._key](...args) { + return this.key.apply(this, args); + } + [S$2._removeItem](...args) { + return this.removeItem.apply(this, args); + } + [S$2._setItem](...args) { + return this.setItem.apply(this, args); + } +}; +dart.addTypeTests(html$.Storage); +dart.addTypeCaches(html$.Storage); +dart.setMethodSignature(html$.Storage, () => ({ + __proto__: dart.getMethods(html$.Storage.__proto__), + [$_get]: dart.fnType(dart.nullable(core.String), [dart.nullable(core.Object)]), + [$_set]: dart.fnType(dart.void, [dart.nullable(core.Object), dart.nullable(core.Object)]), + [$remove]: dart.fnType(dart.nullable(core.String), [dart.nullable(core.Object)]), + [$clear]: dart.fnType(dart.void, []), + [S$0._clear$3]: dart.fnType(dart.void, []), + [S$1._getItem]: dart.fnType(dart.nullable(core.String), [core.String]), + [S$2._key]: dart.fnType(dart.nullable(core.String), [core.int]), + [S$2._removeItem]: dart.fnType(dart.void, [core.String]), + [S$2._setItem]: dart.fnType(dart.void, [core.String, core.String]) +})); +dart.setGetterSignature(html$.Storage, () => ({ + __proto__: dart.getGetters(html$.Storage.__proto__), + [$keys]: core.Iterable$(core.String), + [S$2._length$3]: core.int +})); +dart.setLibraryUri(html$.Storage, I[148]); +dart.registerExtension("Storage", html$.Storage); +html$.StorageEvent = class StorageEvent$ extends html$.Event { + static new(type, opts) { + if (type == null) dart.nullFailed(I[147], 29082, 31, "type"); + let canBubble = opts && 'canBubble' in opts ? opts.canBubble : false; + if (canBubble == null) dart.nullFailed(I[147], 29083, 13, "canBubble"); + let cancelable = opts && 'cancelable' in opts ? opts.cancelable : false; + if (cancelable == null) dart.nullFailed(I[147], 29084, 12, "cancelable"); + let key = opts && 'key' in opts ? opts.key : null; + let oldValue = opts && 'oldValue' in opts ? opts.oldValue : null; + let newValue = opts && 'newValue' in opts ? opts.newValue : null; + let url = opts && 'url' in opts ? opts.url : null; + let storageArea = opts && 'storageArea' in opts ? opts.storageArea : null; + let e = html$.StorageEvent.as(html$.document[S._createEvent]("StorageEvent")); + e[S$2._initStorageEvent](type, canBubble, cancelable, key, oldValue, newValue, url, storageArea); + return e; + } + static __(type, eventInitDict = null) { + if (type == null) dart.nullFailed(I[147], 29096, 33, "type"); + if (eventInitDict != null) { + let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); + return html$.StorageEvent._create_1(type, eventInitDict_1); + } + return html$.StorageEvent._create_2(type); + } + static _create_1(type, eventInitDict) { + return new StorageEvent(type, eventInitDict); + } + static _create_2(type) { + return new StorageEvent(type); + } + get [S.$key]() { + return this.key; + } + get [S$1.$newValue]() { + return this.newValue; + } + get [S$1.$oldValue]() { + return this.oldValue; + } + get [S$2.$storageArea]() { + return this.storageArea; + } + get [S$.$url]() { + return this.url; + } + [S$2._initStorageEvent](...args) { + return this.initStorageEvent.apply(this, args); + } +}; +dart.addTypeTests(html$.StorageEvent); +dart.addTypeCaches(html$.StorageEvent); +dart.setMethodSignature(html$.StorageEvent, () => ({ + __proto__: dart.getMethods(html$.StorageEvent.__proto__), + [S$2._initStorageEvent]: dart.fnType(dart.void, [dart.nullable(core.String), dart.nullable(core.bool), dart.nullable(core.bool), dart.nullable(core.String), dart.nullable(core.String), dart.nullable(core.String), dart.nullable(core.String), dart.nullable(html$.Storage)]) +})); +dart.setGetterSignature(html$.StorageEvent, () => ({ + __proto__: dart.getGetters(html$.StorageEvent.__proto__), + [S.$key]: dart.nullable(core.String), + [S$1.$newValue]: dart.nullable(core.String), + [S$1.$oldValue]: dart.nullable(core.String), + [S$2.$storageArea]: dart.nullable(html$.Storage), + [S$.$url]: dart.nullable(core.String) +})); +dart.setLibraryUri(html$.StorageEvent, I[148]); +dart.registerExtension("StorageEvent", html$.StorageEvent); +html$.StorageManager = class StorageManager extends _interceptors.Interceptor { + [S$2.$estimate]() { + return html$.promiseToFutureAsMap(this.estimate()); + } + [S$2.$persist]() { + return js_util.promiseToFuture(core.bool, this.persist()); + } + [S$2.$persisted]() { + return js_util.promiseToFuture(core.bool, this.persisted()); + } +}; +dart.addTypeTests(html$.StorageManager); +dart.addTypeCaches(html$.StorageManager); +dart.setMethodSignature(html$.StorageManager, () => ({ + __proto__: dart.getMethods(html$.StorageManager.__proto__), + [S$2.$estimate]: dart.fnType(async.Future$(dart.nullable(core.Map$(core.String, dart.dynamic))), []), + [S$2.$persist]: dart.fnType(async.Future$(core.bool), []), + [S$2.$persisted]: dart.fnType(async.Future$(core.bool), []) +})); +dart.setLibraryUri(html$.StorageManager, I[148]); +dart.registerExtension("StorageManager", html$.StorageManager); +html$.StyleElement = class StyleElement extends html$.HtmlElement { + static new() { + return html$.document.createElement("style"); + } + get [S$.$disabled]() { + return this.disabled; + } + set [S$.$disabled](value) { + this.disabled = value; + } + get [S$.$media]() { + return this.media; + } + set [S$.$media](value) { + this.media = value; + } + get [S$1.$sheet]() { + return this.sheet; + } + get [S.$type]() { + return this.type; + } + set [S.$type](value) { + this.type = value; + } +}; +(html$.StyleElement.created = function() { + html$.StyleElement.__proto__.created.call(this); + ; +}).prototype = html$.StyleElement.prototype; +dart.addTypeTests(html$.StyleElement); +dart.addTypeCaches(html$.StyleElement); +dart.setGetterSignature(html$.StyleElement, () => ({ + __proto__: dart.getGetters(html$.StyleElement.__proto__), + [S$.$disabled]: core.bool, + [S$.$media]: core.String, + [S$1.$sheet]: dart.nullable(html$.StyleSheet), + [S.$type]: dart.nullable(core.String) +})); +dart.setSetterSignature(html$.StyleElement, () => ({ + __proto__: dart.getSetters(html$.StyleElement.__proto__), + [S$.$disabled]: core.bool, + [S$.$media]: core.String, + [S.$type]: dart.nullable(core.String) +})); +dart.setLibraryUri(html$.StyleElement, I[148]); +dart.registerExtension("HTMLStyleElement", html$.StyleElement); +html$.StyleMedia = class StyleMedia extends _interceptors.Interceptor { + get [S.$type]() { + return this.type; + } + [S$2.$matchMedium](...args) { + return this.matchMedium.apply(this, args); + } +}; +dart.addTypeTests(html$.StyleMedia); +dart.addTypeCaches(html$.StyleMedia); +dart.setMethodSignature(html$.StyleMedia, () => ({ + __proto__: dart.getMethods(html$.StyleMedia.__proto__), + [S$2.$matchMedium]: dart.fnType(core.bool, [dart.nullable(core.String)]) +})); +dart.setGetterSignature(html$.StyleMedia, () => ({ + __proto__: dart.getGetters(html$.StyleMedia.__proto__), + [S.$type]: dart.nullable(core.String) +})); +dart.setLibraryUri(html$.StyleMedia, I[148]); +dart.registerExtension("StyleMedia", html$.StyleMedia); +html$.StylePropertyMapReadonly = class StylePropertyMapReadonly extends _interceptors.Interceptor { + [S.$get](...args) { + return this.get.apply(this, args); + } + [S.$getAll](...args) { + return this.getAll.apply(this, args); + } + [S$2.$getProperties](...args) { + return this.getProperties.apply(this, args); + } + [S$.$has](...args) { + return this.has.apply(this, args); + } +}; +dart.addTypeTests(html$.StylePropertyMapReadonly); +dart.addTypeCaches(html$.StylePropertyMapReadonly); +dart.setMethodSignature(html$.StylePropertyMapReadonly, () => ({ + __proto__: dart.getMethods(html$.StylePropertyMapReadonly.__proto__), + [S.$get]: dart.fnType(dart.nullable(html$.CssStyleValue), [core.String]), + [S.$getAll]: dart.fnType(core.List$(html$.CssStyleValue), [core.String]), + [S$2.$getProperties]: dart.fnType(core.List$(core.String), []), + [S$.$has]: dart.fnType(core.bool, [core.String]) +})); +dart.setLibraryUri(html$.StylePropertyMapReadonly, I[148]); +dart.registerExtension("StylePropertyMapReadonly", html$.StylePropertyMapReadonly); +html$.StylePropertyMap = class StylePropertyMap extends html$.StylePropertyMapReadonly { + [S.$append](...args) { + return this.append.apply(this, args); + } + [S.$delete](...args) { + return this.delete.apply(this, args); + } + [S$.$set](...args) { + return this.set.apply(this, args); + } +}; +dart.addTypeTests(html$.StylePropertyMap); +dart.addTypeCaches(html$.StylePropertyMap); +dart.setMethodSignature(html$.StylePropertyMap, () => ({ + __proto__: dart.getMethods(html$.StylePropertyMap.__proto__), + [S.$append]: dart.fnType(dart.void, [core.String, core.Object]), + [S.$delete]: dart.fnType(dart.void, [core.String]), + [S$.$set]: dart.fnType(dart.void, [core.String, core.Object]) +})); +dart.setLibraryUri(html$.StylePropertyMap, I[148]); +dart.registerExtension("StylePropertyMap", html$.StylePropertyMap); +html$.SyncEvent = class SyncEvent$ extends html$.ExtendableEvent { + static new(type, init) { + if (type == null) dart.nullFailed(I[147], 29289, 28, "type"); + if (init == null) dart.nullFailed(I[147], 29289, 38, "init"); + let init_1 = html_common.convertDartToNative_Dictionary(init); + return html$.SyncEvent._create_1(type, init_1); + } + static _create_1(type, init) { + return new SyncEvent(type, init); + } + get [S$2.$lastChance]() { + return this.lastChance; + } + get [S$2.$tag]() { + return this.tag; + } +}; +dart.addTypeTests(html$.SyncEvent); +dart.addTypeCaches(html$.SyncEvent); +dart.setGetterSignature(html$.SyncEvent, () => ({ + __proto__: dart.getGetters(html$.SyncEvent.__proto__), + [S$2.$lastChance]: dart.nullable(core.bool), + [S$2.$tag]: dart.nullable(core.String) +})); +dart.setLibraryUri(html$.SyncEvent, I[148]); +dart.registerExtension("SyncEvent", html$.SyncEvent); +html$.SyncManager = class SyncManager extends _interceptors.Interceptor { + [S$2.$getTags]() { + return js_util.promiseToFuture(core.List, this.getTags()); + } + [S$1.$register](tag) { + if (tag == null) dart.nullFailed(I[147], 29314, 26, "tag"); + return js_util.promiseToFuture(dart.dynamic, this.register(tag)); + } +}; +dart.addTypeTests(html$.SyncManager); +dart.addTypeCaches(html$.SyncManager); +dart.setMethodSignature(html$.SyncManager, () => ({ + __proto__: dart.getMethods(html$.SyncManager.__proto__), + [S$2.$getTags]: dart.fnType(async.Future$(core.List), []), + [S$1.$register]: dart.fnType(async.Future, [core.String]) +})); +dart.setLibraryUri(html$.SyncManager, I[148]); +dart.registerExtension("SyncManager", html$.SyncManager); +html$.TableCaptionElement = class TableCaptionElement extends html$.HtmlElement { + static new() { + return html$.document.createElement("caption"); + } +}; +(html$.TableCaptionElement.created = function() { + html$.TableCaptionElement.__proto__.created.call(this); + ; +}).prototype = html$.TableCaptionElement.prototype; +dart.addTypeTests(html$.TableCaptionElement); +dart.addTypeCaches(html$.TableCaptionElement); +dart.setLibraryUri(html$.TableCaptionElement, I[148]); +dart.registerExtension("HTMLTableCaptionElement", html$.TableCaptionElement); +html$.TableCellElement = class TableCellElement extends html$.HtmlElement { + static new() { + return html$.document.createElement("td"); + } + get [S$2.$cellIndex]() { + return this.cellIndex; + } + get [S$.$colSpan]() { + return this.colSpan; + } + set [S$.$colSpan](value) { + this.colSpan = value; + } + get [S$2.$headers]() { + return this.headers; + } + set [S$2.$headers](value) { + this.headers = value; + } + get [S$.$rowSpan]() { + return this.rowSpan; + } + set [S$.$rowSpan](value) { + this.rowSpan = value; + } +}; +(html$.TableCellElement.created = function() { + html$.TableCellElement.__proto__.created.call(this); + ; +}).prototype = html$.TableCellElement.prototype; +dart.addTypeTests(html$.TableCellElement); +dart.addTypeCaches(html$.TableCellElement); +dart.setGetterSignature(html$.TableCellElement, () => ({ + __proto__: dart.getGetters(html$.TableCellElement.__proto__), + [S$2.$cellIndex]: core.int, + [S$.$colSpan]: core.int, + [S$2.$headers]: core.String, + [S$.$rowSpan]: core.int +})); +dart.setSetterSignature(html$.TableCellElement, () => ({ + __proto__: dart.getSetters(html$.TableCellElement.__proto__), + [S$.$colSpan]: core.int, + [S$2.$headers]: dart.nullable(core.String), + [S$.$rowSpan]: core.int +})); +dart.setLibraryUri(html$.TableCellElement, I[148]); +dart.registerExtension("HTMLTableCellElement", html$.TableCellElement); +dart.registerExtension("HTMLTableDataCellElement", html$.TableCellElement); +dart.registerExtension("HTMLTableHeaderCellElement", html$.TableCellElement); +html$.TableColElement = class TableColElement extends html$.HtmlElement { + static new() { + return html$.document.createElement("col"); + } + get [S$2.$span]() { + return this.span; + } + set [S$2.$span](value) { + this.span = value; + } +}; +(html$.TableColElement.created = function() { + html$.TableColElement.__proto__.created.call(this); + ; +}).prototype = html$.TableColElement.prototype; +dart.addTypeTests(html$.TableColElement); +dart.addTypeCaches(html$.TableColElement); +dart.setGetterSignature(html$.TableColElement, () => ({ + __proto__: dart.getGetters(html$.TableColElement.__proto__), + [S$2.$span]: core.int +})); +dart.setSetterSignature(html$.TableColElement, () => ({ + __proto__: dart.getSetters(html$.TableColElement.__proto__), + [S$2.$span]: core.int +})); +dart.setLibraryUri(html$.TableColElement, I[148]); +dart.registerExtension("HTMLTableColElement", html$.TableColElement); +html$.TableElement = class TableElement extends html$.HtmlElement { + get [S$2.$tBodies]() { + return new (T$0._WrappedListOfTableSectionElement()).new(this[S$2._tBodies]); + } + get [S$2.$rows]() { + return new (T$0._WrappedListOfTableRowElement()).new(this[S$2._rows]); + } + [S$2.$addRow]() { + return this[S$2.$insertRow](-1); + } + [S$2.$createCaption]() { + return this[S$2._createCaption](); + } + [S$2.$createTBody]() { + return this[S$2._createTBody](); + } + [S$2.$createTFoot]() { + return this[S$2._createTFoot](); + } + [S$2.$createTHead]() { + return this[S$2._createTHead](); + } + [S$2.$insertRow](index) { + if (index == null) dart.nullFailed(I[147], 29424, 33, "index"); + return this[S$2._insertRow](index); + } + [S$2._createTBody]() { + if (!!this.createTBody) { + return this[S$2._nativeCreateTBody](); + } + let tbody = html$.Element.tag("tbody"); + this[S.$children][$add](tbody); + return html$.TableSectionElement.as(tbody); + } + [S$2._nativeCreateTBody](...args) { + return this.createTBody.apply(this, args); + } + [S.$createFragment](html, opts) { + let validator = opts && 'validator' in opts ? opts.validator : null; + let treeSanitizer = opts && 'treeSanitizer' in opts ? opts.treeSanitizer : null; + if (dart.test(html$.Range.supportsCreateContextualFragment)) { + return super[S.$createFragment](html, {validator: validator, treeSanitizer: treeSanitizer}); + } + let contextualHtml = "" + dart.str(html) + "
"; + let table = html$.Element.html(contextualHtml, {validator: validator, treeSanitizer: treeSanitizer}); + let fragment = html$.DocumentFragment.new(); + fragment[S.$nodes][$addAll](table[S.$nodes]); + return fragment; + } + static new() { + return html$.document.createElement("table"); + } + get [S$2.$caption]() { + return this.caption; + } + set [S$2.$caption](value) { + this.caption = value; + } + get [S$2._rows]() { + return this.rows; + } + get [S$2._tBodies]() { + return this.tBodies; + } + get [S$2.$tFoot]() { + return this.tFoot; + } + set [S$2.$tFoot](value) { + this.tFoot = value; + } + get [S$2.$tHead]() { + return this.tHead; + } + set [S$2.$tHead](value) { + this.tHead = value; + } + [S$2._createCaption](...args) { + return this.createCaption.apply(this, args); + } + [S$2._createTFoot](...args) { + return this.createTFoot.apply(this, args); + } + [S$2._createTHead](...args) { + return this.createTHead.apply(this, args); + } + [S$2.$deleteCaption](...args) { + return this.deleteCaption.apply(this, args); + } + [S$2.$deleteRow](...args) { + return this.deleteRow.apply(this, args); + } + [S$2.$deleteTFoot](...args) { + return this.deleteTFoot.apply(this, args); + } + [S$2.$deleteTHead](...args) { + return this.deleteTHead.apply(this, args); + } + [S$2._insertRow](...args) { + return this.insertRow.apply(this, args); + } +}; +(html$.TableElement.created = function() { + html$.TableElement.__proto__.created.call(this); + ; +}).prototype = html$.TableElement.prototype; +dart.addTypeTests(html$.TableElement); +dart.addTypeCaches(html$.TableElement); +dart.setMethodSignature(html$.TableElement, () => ({ + __proto__: dart.getMethods(html$.TableElement.__proto__), + [S$2.$addRow]: dart.fnType(html$.TableRowElement, []), + [S$2.$createCaption]: dart.fnType(html$.TableCaptionElement, []), + [S$2.$createTBody]: dart.fnType(html$.TableSectionElement, []), + [S$2.$createTFoot]: dart.fnType(html$.TableSectionElement, []), + [S$2.$createTHead]: dart.fnType(html$.TableSectionElement, []), + [S$2.$insertRow]: dart.fnType(html$.TableRowElement, [core.int]), + [S$2._createTBody]: dart.fnType(html$.TableSectionElement, []), + [S$2._nativeCreateTBody]: dart.fnType(html$.TableSectionElement, []), + [S$2._createCaption]: dart.fnType(html$.TableCaptionElement, []), + [S$2._createTFoot]: dart.fnType(html$.TableSectionElement, []), + [S$2._createTHead]: dart.fnType(html$.TableSectionElement, []), + [S$2.$deleteCaption]: dart.fnType(dart.void, []), + [S$2.$deleteRow]: dart.fnType(dart.void, [core.int]), + [S$2.$deleteTFoot]: dart.fnType(dart.void, []), + [S$2.$deleteTHead]: dart.fnType(dart.void, []), + [S$2._insertRow]: dart.fnType(html$.TableRowElement, [], [dart.nullable(core.int)]) +})); +dart.setGetterSignature(html$.TableElement, () => ({ + __proto__: dart.getGetters(html$.TableElement.__proto__), + [S$2.$tBodies]: core.List$(html$.TableSectionElement), + [S$2.$rows]: core.List$(html$.TableRowElement), + [S$2.$caption]: dart.nullable(html$.TableCaptionElement), + [S$2._rows]: core.List$(html$.Node), + [S$2._tBodies]: core.List$(html$.Node), + [S$2.$tFoot]: dart.nullable(html$.TableSectionElement), + [S$2.$tHead]: dart.nullable(html$.TableSectionElement) +})); +dart.setSetterSignature(html$.TableElement, () => ({ + __proto__: dart.getSetters(html$.TableElement.__proto__), + [S$2.$caption]: dart.nullable(html$.TableCaptionElement), + [S$2.$tFoot]: dart.nullable(html$.TableSectionElement), + [S$2.$tHead]: dart.nullable(html$.TableSectionElement) +})); +dart.setLibraryUri(html$.TableElement, I[148]); +dart.registerExtension("HTMLTableElement", html$.TableElement); +html$.TableRowElement = class TableRowElement extends html$.HtmlElement { + get [S$2.$cells]() { + return new (T$0._WrappedListOfTableCellElement()).new(this[S$2._cells]); + } + [S$2.$addCell]() { + return this[S$2.$insertCell](-1); + } + [S$2.$insertCell](index) { + if (index == null) dart.nullFailed(I[147], 29526, 35, "index"); + return html$.TableCellElement.as(this[S$2._insertCell](index)); + } + [S.$createFragment](html, opts) { + let validator = opts && 'validator' in opts ? opts.validator : null; + let treeSanitizer = opts && 'treeSanitizer' in opts ? opts.treeSanitizer : null; + if (dart.test(html$.Range.supportsCreateContextualFragment)) { + return super[S.$createFragment](html, {validator: validator, treeSanitizer: treeSanitizer}); + } + let fragment = html$.DocumentFragment.new(); + let section = html$.TableElement.new()[S.$createFragment](html, {validator: validator, treeSanitizer: treeSanitizer})[S.$nodes][$single]; + let row = section[S.$nodes][$single]; + fragment[S.$nodes][$addAll](row[S.$nodes]); + return fragment; + } + static new() { + return html$.document.createElement("tr"); + } + get [S$2._cells]() { + return this.cells; + } + get [S$.$rowIndex]() { + return this.rowIndex; + } + get [S$2.$sectionRowIndex]() { + return this.sectionRowIndex; + } + [S$2.$deleteCell](...args) { + return this.deleteCell.apply(this, args); + } + [S$2._insertCell](...args) { + return this.insertCell.apply(this, args); + } +}; +(html$.TableRowElement.created = function() { + html$.TableRowElement.__proto__.created.call(this); + ; +}).prototype = html$.TableRowElement.prototype; +dart.addTypeTests(html$.TableRowElement); +dart.addTypeCaches(html$.TableRowElement); +dart.setMethodSignature(html$.TableRowElement, () => ({ + __proto__: dart.getMethods(html$.TableRowElement.__proto__), + [S$2.$addCell]: dart.fnType(html$.TableCellElement, []), + [S$2.$insertCell]: dart.fnType(html$.TableCellElement, [core.int]), + [S$2.$deleteCell]: dart.fnType(dart.void, [core.int]), + [S$2._insertCell]: dart.fnType(html$.HtmlElement, [], [dart.nullable(core.int)]) +})); +dart.setGetterSignature(html$.TableRowElement, () => ({ + __proto__: dart.getGetters(html$.TableRowElement.__proto__), + [S$2.$cells]: core.List$(html$.TableCellElement), + [S$2._cells]: core.List$(html$.Node), + [S$.$rowIndex]: core.int, + [S$2.$sectionRowIndex]: core.int +})); +dart.setLibraryUri(html$.TableRowElement, I[148]); +dart.registerExtension("HTMLTableRowElement", html$.TableRowElement); +html$.TableSectionElement = class TableSectionElement extends html$.HtmlElement { + get [S$2.$rows]() { + return new (T$0._WrappedListOfTableRowElement()).new(this[S$2._rows]); + } + [S$2.$addRow]() { + return this[S$2.$insertRow](-1); + } + [S$2.$insertRow](index) { + if (index == null) dart.nullFailed(I[147], 29590, 33, "index"); + return html$.TableRowElement.as(this[S$2._insertRow](index)); + } + [S.$createFragment](html, opts) { + let validator = opts && 'validator' in opts ? opts.validator : null; + let treeSanitizer = opts && 'treeSanitizer' in opts ? opts.treeSanitizer : null; + if (dart.test(html$.Range.supportsCreateContextualFragment)) { + return super[S.$createFragment](html, {validator: validator, treeSanitizer: treeSanitizer}); + } + let fragment = html$.DocumentFragment.new(); + let section = html$.TableElement.new()[S.$createFragment](html, {validator: validator, treeSanitizer: treeSanitizer})[S.$nodes][$single]; + fragment[S.$nodes][$addAll](section[S.$nodes]); + return fragment; + } + get [S$2._rows]() { + return this.rows; + } + [S$2.$deleteRow](...args) { + return this.deleteRow.apply(this, args); + } + [S$2._insertRow](...args) { + return this.insertRow.apply(this, args); + } +}; +(html$.TableSectionElement.created = function() { + html$.TableSectionElement.__proto__.created.call(this); + ; +}).prototype = html$.TableSectionElement.prototype; +dart.addTypeTests(html$.TableSectionElement); +dart.addTypeCaches(html$.TableSectionElement); +dart.setMethodSignature(html$.TableSectionElement, () => ({ + __proto__: dart.getMethods(html$.TableSectionElement.__proto__), + [S$2.$addRow]: dart.fnType(html$.TableRowElement, []), + [S$2.$insertRow]: dart.fnType(html$.TableRowElement, [core.int]), + [S$2.$deleteRow]: dart.fnType(dart.void, [core.int]), + [S$2._insertRow]: dart.fnType(html$.HtmlElement, [], [dart.nullable(core.int)]) +})); +dart.setGetterSignature(html$.TableSectionElement, () => ({ + __proto__: dart.getGetters(html$.TableSectionElement.__proto__), + [S$2.$rows]: core.List$(html$.TableRowElement), + [S$2._rows]: core.List$(html$.Node) +})); +dart.setLibraryUri(html$.TableSectionElement, I[148]); +dart.registerExtension("HTMLTableSectionElement", html$.TableSectionElement); +html$.TaskAttributionTiming = class TaskAttributionTiming extends html$.PerformanceEntry { + get [S$2.$containerId]() { + return this.containerId; + } + get [S$2.$containerName]() { + return this.containerName; + } + get [S$2.$containerSrc]() { + return this.containerSrc; + } + get [S$2.$containerType]() { + return this.containerType; + } + get [S$2.$scriptUrl]() { + return this.scriptURL; + } +}; +dart.addTypeTests(html$.TaskAttributionTiming); +dart.addTypeCaches(html$.TaskAttributionTiming); +dart.setGetterSignature(html$.TaskAttributionTiming, () => ({ + __proto__: dart.getGetters(html$.TaskAttributionTiming.__proto__), + [S$2.$containerId]: dart.nullable(core.String), + [S$2.$containerName]: dart.nullable(core.String), + [S$2.$containerSrc]: dart.nullable(core.String), + [S$2.$containerType]: dart.nullable(core.String), + [S$2.$scriptUrl]: dart.nullable(core.String) +})); +dart.setLibraryUri(html$.TaskAttributionTiming, I[148]); +dart.registerExtension("TaskAttributionTiming", html$.TaskAttributionTiming); +html$.TemplateElement = class TemplateElement extends html$.HtmlElement { + static new() { + return html$.TemplateElement.as(html$.document[S.$createElement]("template")); + } + static get supported() { + return html$.Element.isTagSupported("template"); + } + get [S$0.$content]() { + return this.content; + } + [S.$setInnerHtml](html, opts) { + let validator = opts && 'validator' in opts ? opts.validator : null; + let treeSanitizer = opts && 'treeSanitizer' in opts ? opts.treeSanitizer : null; + this[S.$text] = null; + dart.nullCheck(this.content)[S.$nodes][$clear](); + let fragment = this[S.$createFragment](html, {validator: validator, treeSanitizer: treeSanitizer}); + dart.nullCheck(this.content)[S.$append](fragment); + } +}; +(html$.TemplateElement.created = function() { + html$.TemplateElement.__proto__.created.call(this); + ; +}).prototype = html$.TemplateElement.prototype; +dart.addTypeTests(html$.TemplateElement); +dart.addTypeCaches(html$.TemplateElement); +dart.setGetterSignature(html$.TemplateElement, () => ({ + __proto__: dart.getGetters(html$.TemplateElement.__proto__), + [S$0.$content]: dart.nullable(html$.DocumentFragment) +})); +dart.setLibraryUri(html$.TemplateElement, I[148]); +dart.registerExtension("HTMLTemplateElement", html$.TemplateElement); +html$.TextAreaElement = class TextAreaElement extends html$.HtmlElement { + static new() { + return html$.document.createElement("textarea"); + } + get [S$1.$autocapitalize]() { + return this.autocapitalize; + } + set [S$1.$autocapitalize](value) { + this.autocapitalize = value; + } + get [S$.$autofocus]() { + return this.autofocus; + } + set [S$.$autofocus](value) { + this.autofocus = value; + } + get [S$2.$cols]() { + return this.cols; + } + set [S$2.$cols](value) { + this.cols = value; + } + get [S$1.$defaultValue]() { + return this.defaultValue; + } + set [S$1.$defaultValue](value) { + this.defaultValue = value; + } + get [S$1.$dirName]() { + return this.dirName; + } + set [S$1.$dirName](value) { + this.dirName = value; + } + get [S$.$disabled]() { + return this.disabled; + } + set [S$.$disabled](value) { + this.disabled = value; + } + get [S$.$form]() { + return this.form; + } + get [S$.$labels]() { + return this.labels; + } + get [S$1.$maxLength]() { + return this.maxLength; + } + set [S$1.$maxLength](value) { + this.maxLength = value; + } + get [S$1.$minLength]() { + return this.minLength; + } + set [S$1.$minLength](value) { + this.minLength = value; + } + get [$name]() { + return this.name; + } + set [$name](value) { + this.name = value; + } + get [S$.$placeholder]() { + return this.placeholder; + } + set [S$.$placeholder](value) { + this.placeholder = value; + } + get [S$.$readOnly]() { + return this.readOnly; + } + set [S$.$readOnly](value) { + this.readOnly = value; + } + get [S$.$required]() { + return this.required; + } + set [S$.$required](value) { + this.required = value; + } + get [S$2.$rows]() { + return this.rows; + } + set [S$2.$rows](value) { + this.rows = value; + } + get [S$1.$selectionDirection]() { + return this.selectionDirection; + } + set [S$1.$selectionDirection](value) { + this.selectionDirection = value; + } + get [S$1.$selectionEnd]() { + return this.selectionEnd; + } + set [S$1.$selectionEnd](value) { + this.selectionEnd = value; + } + get [S$1.$selectionStart]() { + return this.selectionStart; + } + set [S$1.$selectionStart](value) { + this.selectionStart = value; + } + get [S$2.$textLength]() { + return this.textLength; + } + get [S.$type]() { + return this.type; + } + get [S$.$validationMessage]() { + return this.validationMessage; + } + get [S$.$validity]() { + return this.validity; + } + get [S.$value]() { + return this.value; + } + set [S.$value](value) { + this.value = value; + } + get [S$.$willValidate]() { + return this.willValidate; + } + get [S$2.$wrap]() { + return this.wrap; + } + set [S$2.$wrap](value) { + this.wrap = value; + } + [S$.$checkValidity](...args) { + return this.checkValidity.apply(this, args); + } + [S$.$reportValidity](...args) { + return this.reportValidity.apply(this, args); + } + [S$.$select](...args) { + return this.select.apply(this, args); + } + [S$.$setCustomValidity](...args) { + return this.setCustomValidity.apply(this, args); + } + [S$1.$setRangeText](...args) { + return this.setRangeText.apply(this, args); + } + [S$1.$setSelectionRange](...args) { + return this.setSelectionRange.apply(this, args); + } +}; +(html$.TextAreaElement.created = function() { + html$.TextAreaElement.__proto__.created.call(this); + ; +}).prototype = html$.TextAreaElement.prototype; +dart.addTypeTests(html$.TextAreaElement); +dart.addTypeCaches(html$.TextAreaElement); +dart.setMethodSignature(html$.TextAreaElement, () => ({ + __proto__: dart.getMethods(html$.TextAreaElement.__proto__), + [S$.$checkValidity]: dart.fnType(core.bool, []), + [S$.$reportValidity]: dart.fnType(core.bool, []), + [S$.$select]: dart.fnType(dart.void, []), + [S$.$setCustomValidity]: dart.fnType(dart.void, [core.String]), + [S$1.$setRangeText]: dart.fnType(dart.void, [core.String], {end: dart.nullable(core.int), selectionMode: dart.nullable(core.String), start: dart.nullable(core.int)}, {}), + [S$1.$setSelectionRange]: dart.fnType(dart.void, [core.int, core.int], [dart.nullable(core.String)]) +})); +dart.setGetterSignature(html$.TextAreaElement, () => ({ + __proto__: dart.getGetters(html$.TextAreaElement.__proto__), + [S$1.$autocapitalize]: dart.nullable(core.String), + [S$.$autofocus]: core.bool, + [S$2.$cols]: core.int, + [S$1.$defaultValue]: dart.nullable(core.String), + [S$1.$dirName]: dart.nullable(core.String), + [S$.$disabled]: core.bool, + [S$.$form]: dart.nullable(html$.FormElement), + [S$.$labels]: dart.nullable(core.List$(html$.Node)), + [S$1.$maxLength]: core.int, + [S$1.$minLength]: core.int, + [$name]: core.String, + [S$.$placeholder]: core.String, + [S$.$readOnly]: core.bool, + [S$.$required]: core.bool, + [S$2.$rows]: core.int, + [S$1.$selectionDirection]: dart.nullable(core.String), + [S$1.$selectionEnd]: dart.nullable(core.int), + [S$1.$selectionStart]: dart.nullable(core.int), + [S$2.$textLength]: dart.nullable(core.int), + [S.$type]: dart.nullable(core.String), + [S$.$validationMessage]: dart.nullable(core.String), + [S$.$validity]: dart.nullable(html$.ValidityState), + [S.$value]: dart.nullable(core.String), + [S$.$willValidate]: dart.nullable(core.bool), + [S$2.$wrap]: core.String +})); +dart.setSetterSignature(html$.TextAreaElement, () => ({ + __proto__: dart.getSetters(html$.TextAreaElement.__proto__), + [S$1.$autocapitalize]: dart.nullable(core.String), + [S$.$autofocus]: core.bool, + [S$2.$cols]: core.int, + [S$1.$defaultValue]: dart.nullable(core.String), + [S$1.$dirName]: dart.nullable(core.String), + [S$.$disabled]: core.bool, + [S$1.$maxLength]: core.int, + [S$1.$minLength]: core.int, + [$name]: core.String, + [S$.$placeholder]: core.String, + [S$.$readOnly]: core.bool, + [S$.$required]: core.bool, + [S$2.$rows]: core.int, + [S$1.$selectionDirection]: dart.nullable(core.String), + [S$1.$selectionEnd]: dart.nullable(core.int), + [S$1.$selectionStart]: dart.nullable(core.int), + [S.$value]: dart.nullable(core.String), + [S$2.$wrap]: core.String +})); +dart.setLibraryUri(html$.TextAreaElement, I[148]); +dart.registerExtension("HTMLTextAreaElement", html$.TextAreaElement); +html$.TextDetector = class TextDetector$ extends _interceptors.Interceptor { + static new() { + return html$.TextDetector._create_1(); + } + static _create_1() { + return new TextDetector(); + } + [S$.$detect](image) { + return js_util.promiseToFuture(core.List, this.detect(image)); + } +}; +dart.addTypeTests(html$.TextDetector); +dart.addTypeCaches(html$.TextDetector); +dart.setMethodSignature(html$.TextDetector, () => ({ + __proto__: dart.getMethods(html$.TextDetector.__proto__), + [S$.$detect]: dart.fnType(async.Future$(core.List), [dart.dynamic]) +})); +dart.setLibraryUri(html$.TextDetector, I[148]); +dart.registerExtension("TextDetector", html$.TextDetector); +html$.TextEvent = class TextEvent extends html$.UIEvent { + static new(type, opts) { + if (type == null) dart.nullFailed(I[147], 29878, 28, "type"); + let canBubble = opts && 'canBubble' in opts ? opts.canBubble : false; + if (canBubble == null) dart.nullFailed(I[147], 29879, 13, "canBubble"); + let cancelable = opts && 'cancelable' in opts ? opts.cancelable : false; + if (cancelable == null) dart.nullFailed(I[147], 29880, 12, "cancelable"); + let view = opts && 'view' in opts ? opts.view : null; + let data = opts && 'data' in opts ? opts.data : null; + if (view == null) { + view = html$.window; + } + let e = html$.TextEvent.as(html$.document[S._createEvent]("TextEvent")); + e[S$2._initTextEvent](type, canBubble, cancelable, view, data); + return e; + } + get [S$.$data]() { + return this.data; + } + [S$2._initTextEvent](...args) { + return this.initTextEvent.apply(this, args); + } +}; +dart.addTypeTests(html$.TextEvent); +dart.addTypeCaches(html$.TextEvent); +dart.setMethodSignature(html$.TextEvent, () => ({ + __proto__: dart.getMethods(html$.TextEvent.__proto__), + [S$2._initTextEvent]: dart.fnType(dart.void, [dart.nullable(core.String), dart.nullable(core.bool), dart.nullable(core.bool), dart.nullable(html$.Window), dart.nullable(core.String)]) +})); +dart.setGetterSignature(html$.TextEvent, () => ({ + __proto__: dart.getGetters(html$.TextEvent.__proto__), + [S$.$data]: dart.nullable(core.String) +})); +dart.setLibraryUri(html$.TextEvent, I[148]); +dart.registerExtension("TextEvent", html$.TextEvent); +html$.TextMetrics = class TextMetrics extends _interceptors.Interceptor { + get [S$2.$actualBoundingBoxAscent]() { + return this.actualBoundingBoxAscent; + } + get [S$2.$actualBoundingBoxDescent]() { + return this.actualBoundingBoxDescent; + } + get [S$2.$actualBoundingBoxLeft]() { + return this.actualBoundingBoxLeft; + } + get [S$2.$actualBoundingBoxRight]() { + return this.actualBoundingBoxRight; + } + get [S$2.$alphabeticBaseline]() { + return this.alphabeticBaseline; + } + get [S$2.$emHeightAscent]() { + return this.emHeightAscent; + } + get [S$2.$emHeightDescent]() { + return this.emHeightDescent; + } + get [S$2.$fontBoundingBoxAscent]() { + return this.fontBoundingBoxAscent; + } + get [S$2.$fontBoundingBoxDescent]() { + return this.fontBoundingBoxDescent; + } + get [S$2.$hangingBaseline]() { + return this.hangingBaseline; + } + get [S$2.$ideographicBaseline]() { + return this.ideographicBaseline; + } + get [$width]() { + return this.width; + } +}; +dart.addTypeTests(html$.TextMetrics); +dart.addTypeCaches(html$.TextMetrics); +dart.setGetterSignature(html$.TextMetrics, () => ({ + __proto__: dart.getGetters(html$.TextMetrics.__proto__), + [S$2.$actualBoundingBoxAscent]: dart.nullable(core.num), + [S$2.$actualBoundingBoxDescent]: dart.nullable(core.num), + [S$2.$actualBoundingBoxLeft]: dart.nullable(core.num), + [S$2.$actualBoundingBoxRight]: dart.nullable(core.num), + [S$2.$alphabeticBaseline]: dart.nullable(core.num), + [S$2.$emHeightAscent]: dart.nullable(core.num), + [S$2.$emHeightDescent]: dart.nullable(core.num), + [S$2.$fontBoundingBoxAscent]: dart.nullable(core.num), + [S$2.$fontBoundingBoxDescent]: dart.nullable(core.num), + [S$2.$hangingBaseline]: dart.nullable(core.num), + [S$2.$ideographicBaseline]: dart.nullable(core.num), + [$width]: dart.nullable(core.num) +})); +dart.setLibraryUri(html$.TextMetrics, I[148]); +dart.registerExtension("TextMetrics", html$.TextMetrics); +html$.TextTrack = class TextTrack extends html$.EventTarget { + get [S$2.$activeCues]() { + return this.activeCues; + } + get [S$2.$cues]() { + return this.cues; + } + get [S.$id]() { + return this.id; + } + get [S$.$kind]() { + return this.kind; + } + get [S$.$label]() { + return this.label; + } + get [S$1.$language]() { + return this.language; + } + get [S.$mode]() { + return this.mode; + } + set [S.$mode](value) { + this.mode = value; + } + [S$2.$addCue](...args) { + return this.addCue.apply(this, args); + } + [S$2.$removeCue](...args) { + return this.removeCue.apply(this, args); + } + get [S$2.$onCueChange]() { + return html$.TextTrack.cueChangeEvent.forTarget(this); + } +}; +dart.addTypeTests(html$.TextTrack); +dart.addTypeCaches(html$.TextTrack); +dart.setMethodSignature(html$.TextTrack, () => ({ + __proto__: dart.getMethods(html$.TextTrack.__proto__), + [S$2.$addCue]: dart.fnType(dart.void, [html$.TextTrackCue]), + [S$2.$removeCue]: dart.fnType(dart.void, [html$.TextTrackCue]) +})); +dart.setGetterSignature(html$.TextTrack, () => ({ + __proto__: dart.getGetters(html$.TextTrack.__proto__), + [S$2.$activeCues]: dart.nullable(html$.TextTrackCueList), + [S$2.$cues]: dart.nullable(html$.TextTrackCueList), + [S.$id]: core.String, + [S$.$kind]: core.String, + [S$.$label]: core.String, + [S$1.$language]: core.String, + [S.$mode]: dart.nullable(core.String), + [S$2.$onCueChange]: async.Stream$(html$.Event) +})); +dart.setSetterSignature(html$.TextTrack, () => ({ + __proto__: dart.getSetters(html$.TextTrack.__proto__), + [S.$mode]: dart.nullable(core.String) +})); +dart.setLibraryUri(html$.TextTrack, I[148]); +dart.defineLazy(html$.TextTrack, { + /*html$.TextTrack.cueChangeEvent*/get cueChangeEvent() { + return C[383] || CT.C383; + } +}, false); +dart.registerExtension("TextTrack", html$.TextTrack); +html$.TextTrackCue = class TextTrackCue extends html$.EventTarget { + get [S$2.$endTime]() { + return this.endTime; + } + set [S$2.$endTime](value) { + this.endTime = value; + } + get [S.$id]() { + return this.id; + } + set [S.$id](value) { + this.id = value; + } + get [S$2.$pauseOnExit]() { + return this.pauseOnExit; + } + set [S$2.$pauseOnExit](value) { + this.pauseOnExit = value; + } + get [S$.$startTime]() { + return this.startTime; + } + set [S$.$startTime](value) { + this.startTime = value; + } + get [S$1.$track]() { + return this.track; + } + get [S$2.$onEnter]() { + return html$.TextTrackCue.enterEvent.forTarget(this); + } + get [S$2.$onExit]() { + return html$.TextTrackCue.exitEvent.forTarget(this); + } +}; +dart.addTypeTests(html$.TextTrackCue); +dart.addTypeCaches(html$.TextTrackCue); +dart.setGetterSignature(html$.TextTrackCue, () => ({ + __proto__: dart.getGetters(html$.TextTrackCue.__proto__), + [S$2.$endTime]: dart.nullable(core.num), + [S.$id]: dart.nullable(core.String), + [S$2.$pauseOnExit]: dart.nullable(core.bool), + [S$.$startTime]: dart.nullable(core.num), + [S$1.$track]: dart.nullable(html$.TextTrack), + [S$2.$onEnter]: async.Stream$(html$.Event), + [S$2.$onExit]: async.Stream$(html$.Event) +})); +dart.setSetterSignature(html$.TextTrackCue, () => ({ + __proto__: dart.getSetters(html$.TextTrackCue.__proto__), + [S$2.$endTime]: dart.nullable(core.num), + [S.$id]: dart.nullable(core.String), + [S$2.$pauseOnExit]: dart.nullable(core.bool), + [S$.$startTime]: dart.nullable(core.num) +})); +dart.setLibraryUri(html$.TextTrackCue, I[148]); +dart.defineLazy(html$.TextTrackCue, { + /*html$.TextTrackCue.enterEvent*/get enterEvent() { + return C[384] || CT.C384; + }, + /*html$.TextTrackCue.exitEvent*/get exitEvent() { + return C[385] || CT.C385; + } +}, false); +dart.registerExtension("TextTrackCue", html$.TextTrackCue); +const Interceptor_ListMixin$36$6 = class Interceptor_ListMixin extends _interceptors.Interceptor {}; +(Interceptor_ListMixin$36$6.new = function() { + Interceptor_ListMixin$36$6.__proto__.new.call(this); +}).prototype = Interceptor_ListMixin$36$6.prototype; +dart.applyMixin(Interceptor_ListMixin$36$6, collection.ListMixin$(html$.TextTrackCue)); +const Interceptor_ImmutableListMixin$36$6 = class Interceptor_ImmutableListMixin extends Interceptor_ListMixin$36$6 {}; +(Interceptor_ImmutableListMixin$36$6.new = function() { + Interceptor_ImmutableListMixin$36$6.__proto__.new.call(this); +}).prototype = Interceptor_ImmutableListMixin$36$6.prototype; +dart.applyMixin(Interceptor_ImmutableListMixin$36$6, html$.ImmutableListMixin$(html$.TextTrackCue)); +html$.TextTrackCueList = class TextTrackCueList extends Interceptor_ImmutableListMixin$36$6 { + get [$length]() { + return this.length; + } + [$_get](index) { + if (index == null) dart.nullFailed(I[147], 30047, 32, "index"); + if (index >>> 0 !== index || index >= this[$length]) dart.throw(new core.IndexError.new(index, this)); + return this[index]; + } + [$_set](index, value$) { + let value = value$; + if (index == null) dart.nullFailed(I[147], 30053, 25, "index"); + html$.TextTrackCue.as(value); + if (value == null) dart.nullFailed(I[147], 30053, 45, "value"); + dart.throw(new core.UnsupportedError.new("Cannot assign element of immutable List.")); + return value$; + } + set [$length](value) { + if (value == null) dart.nullFailed(I[147], 30059, 18, "value"); + dart.throw(new core.UnsupportedError.new("Cannot resize immutable List.")); + } + get [$first]() { + if (dart.notNull(this[$length]) > 0) { + return this[0]; + } + dart.throw(new core.StateError.new("No elements")); + } + set [$first](value) { + super[$first] = value; + } + get [$last]() { + let len = this[$length]; + if (dart.notNull(len) > 0) { + return this[dart.notNull(len) - 1]; + } + dart.throw(new core.StateError.new("No elements")); + } + set [$last](value) { + super[$last] = value; + } + get [$single]() { + let len = this[$length]; + if (len === 1) { + return this[0]; + } + if (len === 0) dart.throw(new core.StateError.new("No elements")); + dart.throw(new core.StateError.new("More than one element")); + } + [$elementAt](index) { + if (index == null) dart.nullFailed(I[147], 30087, 30, "index"); + return this[$_get](index); + } + [S$.__getter__](...args) { + return this.__getter__.apply(this, args); + } + [S$2.$getCueById](...args) { + return this.getCueById.apply(this, args); + } +}; +html$.TextTrackCueList.prototype[dart.isList] = true; +dart.addTypeTests(html$.TextTrackCueList); +dart.addTypeCaches(html$.TextTrackCueList); +html$.TextTrackCueList[dart.implements] = () => [core.List$(html$.TextTrackCue), _js_helper.JavaScriptIndexingBehavior$(html$.TextTrackCue)]; +dart.setMethodSignature(html$.TextTrackCueList, () => ({ + __proto__: dart.getMethods(html$.TextTrackCueList.__proto__), + [$_get]: dart.fnType(html$.TextTrackCue, [core.int]), + [$_set]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), + [S$.__getter__]: dart.fnType(html$.TextTrackCue, [core.int]), + [S$2.$getCueById]: dart.fnType(dart.nullable(html$.TextTrackCue), [core.String]) +})); +dart.setGetterSignature(html$.TextTrackCueList, () => ({ + __proto__: dart.getGetters(html$.TextTrackCueList.__proto__), + [$length]: core.int +})); +dart.setSetterSignature(html$.TextTrackCueList, () => ({ + __proto__: dart.getSetters(html$.TextTrackCueList.__proto__), + [$length]: core.int +})); +dart.setLibraryUri(html$.TextTrackCueList, I[148]); +dart.registerExtension("TextTrackCueList", html$.TextTrackCueList); +const EventTarget_ListMixin$36$ = class EventTarget_ListMixin extends html$.EventTarget {}; +(EventTarget_ListMixin$36$._created = function() { + EventTarget_ListMixin$36$.__proto__._created.call(this); +}).prototype = EventTarget_ListMixin$36$.prototype; +dart.applyMixin(EventTarget_ListMixin$36$, collection.ListMixin$(html$.TextTrack)); +const EventTarget_ImmutableListMixin$36$ = class EventTarget_ImmutableListMixin extends EventTarget_ListMixin$36$ {}; +(EventTarget_ImmutableListMixin$36$._created = function() { + EventTarget_ImmutableListMixin$36$.__proto__._created.call(this); +}).prototype = EventTarget_ImmutableListMixin$36$.prototype; +dart.applyMixin(EventTarget_ImmutableListMixin$36$, html$.ImmutableListMixin$(html$.TextTrack)); +html$.TextTrackList = class TextTrackList extends EventTarget_ImmutableListMixin$36$ { + get [$length]() { + return this.length; + } + [$_get](index) { + if (index == null) dart.nullFailed(I[147], 30121, 29, "index"); + if (index >>> 0 !== index || index >= this[$length]) dart.throw(new core.IndexError.new(index, this)); + return this[index]; + } + [$_set](index, value$) { + let value = value$; + if (index == null) dart.nullFailed(I[147], 30127, 25, "index"); + html$.TextTrack.as(value); + if (value == null) dart.nullFailed(I[147], 30127, 42, "value"); + dart.throw(new core.UnsupportedError.new("Cannot assign element of immutable List.")); + return value$; + } + set [$length](value) { + if (value == null) dart.nullFailed(I[147], 30133, 18, "value"); + dart.throw(new core.UnsupportedError.new("Cannot resize immutable List.")); + } + get [$first]() { + if (dart.notNull(this[$length]) > 0) { + return this[0]; + } + dart.throw(new core.StateError.new("No elements")); + } + set [$first](value) { + super[$first] = value; + } + get [$last]() { + let len = this[$length]; + if (dart.notNull(len) > 0) { + return this[dart.notNull(len) - 1]; + } + dart.throw(new core.StateError.new("No elements")); + } + set [$last](value) { + super[$last] = value; + } + get [$single]() { + let len = this[$length]; + if (len === 1) { + return this[0]; + } + if (len === 0) dart.throw(new core.StateError.new("No elements")); + dart.throw(new core.StateError.new("More than one element")); + } + [$elementAt](index) { + if (index == null) dart.nullFailed(I[147], 30161, 27, "index"); + return this[$_get](index); + } + [S$.__getter__](...args) { + return this.__getter__.apply(this, args); + } + [S$1.$getTrackById](...args) { + return this.getTrackById.apply(this, args); + } + get [S$1.$onAddTrack]() { + return html$.TextTrackList.addTrackEvent.forTarget(this); + } + get [S.$onChange]() { + return html$.TextTrackList.changeEvent.forTarget(this); + } +}; +html$.TextTrackList.prototype[dart.isList] = true; +dart.addTypeTests(html$.TextTrackList); +dart.addTypeCaches(html$.TextTrackList); +html$.TextTrackList[dart.implements] = () => [core.List$(html$.TextTrack), _js_helper.JavaScriptIndexingBehavior$(html$.TextTrack)]; +dart.setMethodSignature(html$.TextTrackList, () => ({ + __proto__: dart.getMethods(html$.TextTrackList.__proto__), + [$_get]: dart.fnType(html$.TextTrack, [core.int]), + [$_set]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), + [S$.__getter__]: dart.fnType(html$.TextTrack, [core.int]), + [S$1.$getTrackById]: dart.fnType(dart.nullable(html$.TextTrack), [core.String]) +})); +dart.setGetterSignature(html$.TextTrackList, () => ({ + __proto__: dart.getGetters(html$.TextTrackList.__proto__), + [$length]: core.int, + [S$1.$onAddTrack]: async.Stream$(html$.TrackEvent), + [S.$onChange]: async.Stream$(html$.Event) +})); +dart.setSetterSignature(html$.TextTrackList, () => ({ + __proto__: dart.getSetters(html$.TextTrackList.__proto__), + [$length]: core.int +})); +dart.setLibraryUri(html$.TextTrackList, I[148]); +dart.defineLazy(html$.TextTrackList, { + /*html$.TextTrackList.addTrackEvent*/get addTrackEvent() { + return C[386] || CT.C386; + }, + /*html$.TextTrackList.changeEvent*/get changeEvent() { + return C[236] || CT.C236; + } +}, false); +dart.registerExtension("TextTrackList", html$.TextTrackList); +html$.TimeElement = class TimeElement extends html$.HtmlElement { + get [S$1.$dateTime]() { + return this.dateTime; + } + set [S$1.$dateTime](value) { + this.dateTime = value; + } +}; +(html$.TimeElement.created = function() { + html$.TimeElement.__proto__.created.call(this); + ; +}).prototype = html$.TimeElement.prototype; +dart.addTypeTests(html$.TimeElement); +dart.addTypeCaches(html$.TimeElement); +dart.setGetterSignature(html$.TimeElement, () => ({ + __proto__: dart.getGetters(html$.TimeElement.__proto__), + [S$1.$dateTime]: dart.nullable(core.String) +})); +dart.setSetterSignature(html$.TimeElement, () => ({ + __proto__: dart.getSetters(html$.TimeElement.__proto__), + [S$1.$dateTime]: dart.nullable(core.String) +})); +dart.setLibraryUri(html$.TimeElement, I[148]); +dart.registerExtension("HTMLTimeElement", html$.TimeElement); +html$.TimeRanges = class TimeRanges extends _interceptors.Interceptor { + get [$length]() { + return this.length; + } + [S$2.$end](...args) { + return this.end.apply(this, args); + } + [S$.$start](...args) { + return this.start.apply(this, args); + } +}; +dart.addTypeTests(html$.TimeRanges); +dart.addTypeCaches(html$.TimeRanges); +dart.setMethodSignature(html$.TimeRanges, () => ({ + __proto__: dart.getMethods(html$.TimeRanges.__proto__), + [S$2.$end]: dart.fnType(core.double, [core.int]), + [S$.$start]: dart.fnType(core.double, [core.int]) +})); +dart.setGetterSignature(html$.TimeRanges, () => ({ + __proto__: dart.getGetters(html$.TimeRanges.__proto__), + [$length]: core.int +})); +dart.setLibraryUri(html$.TimeRanges, I[148]); +dart.registerExtension("TimeRanges", html$.TimeRanges); +html$.TitleElement = class TitleElement extends html$.HtmlElement { + static new() { + return html$.document.createElement("title"); + } +}; +(html$.TitleElement.created = function() { + html$.TitleElement.__proto__.created.call(this); + ; +}).prototype = html$.TitleElement.prototype; +dart.addTypeTests(html$.TitleElement); +dart.addTypeCaches(html$.TitleElement); +dart.setLibraryUri(html$.TitleElement, I[148]); +dart.registerExtension("HTMLTitleElement", html$.TitleElement); +html$.Touch = class Touch$ extends _interceptors.Interceptor { + static new(initDict) { + if (initDict == null) dart.nullFailed(I[147], 30253, 21, "initDict"); + let initDict_1 = html_common.convertDartToNative_Dictionary(initDict); + return html$.Touch._create_1(initDict_1); + } + static _create_1(initDict) { + return new Touch(initDict); + } + get [S$1._clientX]() { + return this.clientX; + } + get [S$1._clientY]() { + return this.clientY; + } + get [S$2.$force]() { + return this.force; + } + get [S$2.$identifier]() { + return this.identifier; + } + get [S$1._pageX]() { + return this.pageX; + } + get [S$1._pageY]() { + return this.pageY; + } + get [S$2._radiusX]() { + return this.radiusX; + } + get [S$2._radiusY]() { + return this.radiusY; + } + get [S$1.$region]() { + return this.region; + } + get [S$2.$rotationAngle]() { + return this.rotationAngle; + } + get [S$1._screenX]() { + return this.screenX; + } + get [S$1._screenY]() { + return this.screenY; + } + get [S.$target]() { + return html$._convertNativeToDart_EventTarget(this[S._get_target]); + } + get [S._get_target]() { + return this.target; + } + get [S$2.__clientX]() { + return this.clientX[$round](); + } + get [S$2.__clientY]() { + return this.clientY[$round](); + } + get [S$2.__screenX]() { + return this.screenX[$round](); + } + get [S$2.__screenY]() { + return this.screenY[$round](); + } + get [S$2.__pageX]() { + return this.pageX[$round](); + } + get [S$2.__pageY]() { + return this.pageY[$round](); + } + get [S$2.__radiusX]() { + return this.radiusX[$round](); + } + get [S$2.__radiusY]() { + return this.radiusY[$round](); + } + get [S.$client]() { + return new (T$0.PointOfnum()).new(this[S$2.__clientX], this[S$2.__clientY]); + } + get [S$0.$page]() { + return new (T$0.PointOfnum()).new(this[S$2.__pageX], this[S$2.__pageY]); + } + get [S$1.$screen]() { + return new (T$0.PointOfnum()).new(this[S$2.__screenX], this[S$2.__screenY]); + } + get [S$2.$radiusX]() { + return this[S$2.__radiusX]; + } + get [S$2.$radiusY]() { + return this[S$2.__radiusY]; + } +}; +dart.addTypeTests(html$.Touch); +dart.addTypeCaches(html$.Touch); +dart.setGetterSignature(html$.Touch, () => ({ + __proto__: dart.getGetters(html$.Touch.__proto__), + [S$1._clientX]: dart.nullable(core.num), + [S$1._clientY]: dart.nullable(core.num), + [S$2.$force]: dart.nullable(core.num), + [S$2.$identifier]: dart.nullable(core.int), + [S$1._pageX]: dart.nullable(core.num), + [S$1._pageY]: dart.nullable(core.num), + [S$2._radiusX]: dart.nullable(core.num), + [S$2._radiusY]: dart.nullable(core.num), + [S$1.$region]: dart.nullable(core.String), + [S$2.$rotationAngle]: dart.nullable(core.num), + [S$1._screenX]: dart.nullable(core.num), + [S$1._screenY]: dart.nullable(core.num), + [S.$target]: dart.nullable(html$.EventTarget), + [S._get_target]: dart.dynamic, + [S$2.__clientX]: core.int, + [S$2.__clientY]: core.int, + [S$2.__screenX]: core.int, + [S$2.__screenY]: core.int, + [S$2.__pageX]: core.int, + [S$2.__pageY]: core.int, + [S$2.__radiusX]: core.int, + [S$2.__radiusY]: core.int, + [S.$client]: math.Point$(core.num), + [S$0.$page]: math.Point$(core.num), + [S$1.$screen]: math.Point$(core.num), + [S$2.$radiusX]: core.int, + [S$2.$radiusY]: core.int +})); +dart.setLibraryUri(html$.Touch, I[148]); +dart.registerExtension("Touch", html$.Touch); +html$.TouchEvent = class TouchEvent$ extends html$.UIEvent { + static new(type, eventInitDict = null) { + if (type == null) dart.nullFailed(I[147], 30335, 29, "type"); + if (eventInitDict != null) { + let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); + return html$.TouchEvent._create_1(type, eventInitDict_1); + } + return html$.TouchEvent._create_2(type); + } + static _create_1(type, eventInitDict) { + return new TouchEvent(type, eventInitDict); + } + static _create_2(type) { + return new TouchEvent(type); + } + get [S$1.$altKey]() { + return this.altKey; + } + get [S$2.$changedTouches]() { + return this.changedTouches; + } + get [S$1.$ctrlKey]() { + return this.ctrlKey; + } + get [S$1.$metaKey]() { + return this.metaKey; + } + get [S$1.$shiftKey]() { + return this.shiftKey; + } + get [S$3.$targetTouches]() { + return this.targetTouches; + } + get [S$3.$touches]() { + return this.touches; + } + static get supported() { + try { + return html$.TouchEvent.is(html$.TouchEvent.new("touches")); + } catch (e) { + let _ = dart.getThrown(e); + if (core.Object.is(_)) { + } else + throw e; + } + return false; + } +}; +dart.addTypeTests(html$.TouchEvent); +dart.addTypeCaches(html$.TouchEvent); +dart.setGetterSignature(html$.TouchEvent, () => ({ + __proto__: dart.getGetters(html$.TouchEvent.__proto__), + [S$1.$altKey]: dart.nullable(core.bool), + [S$2.$changedTouches]: dart.nullable(html$.TouchList), + [S$1.$ctrlKey]: dart.nullable(core.bool), + [S$1.$metaKey]: dart.nullable(core.bool), + [S$1.$shiftKey]: dart.nullable(core.bool), + [S$3.$targetTouches]: dart.nullable(html$.TouchList), + [S$3.$touches]: dart.nullable(html$.TouchList) +})); +dart.setLibraryUri(html$.TouchEvent, I[148]); +dart.registerExtension("TouchEvent", html$.TouchEvent); +const Interceptor_ListMixin$36$7 = class Interceptor_ListMixin extends _interceptors.Interceptor {}; +(Interceptor_ListMixin$36$7.new = function() { + Interceptor_ListMixin$36$7.__proto__.new.call(this); +}).prototype = Interceptor_ListMixin$36$7.prototype; +dart.applyMixin(Interceptor_ListMixin$36$7, collection.ListMixin$(html$.Touch)); +const Interceptor_ImmutableListMixin$36$7 = class Interceptor_ImmutableListMixin extends Interceptor_ListMixin$36$7 {}; +(Interceptor_ImmutableListMixin$36$7.new = function() { + Interceptor_ImmutableListMixin$36$7.__proto__.new.call(this); +}).prototype = Interceptor_ImmutableListMixin$36$7.prototype; +dart.applyMixin(Interceptor_ImmutableListMixin$36$7, html$.ImmutableListMixin$(html$.Touch)); +html$.TouchList = class TouchList extends Interceptor_ImmutableListMixin$36$7 { + static get supported() { + return !!document.createTouchList; + } + get [$length]() { + return this.length; + } + [$_get](index) { + if (index == null) dart.nullFailed(I[147], 30390, 25, "index"); + if (index >>> 0 !== index || index >= this[$length]) dart.throw(new core.IndexError.new(index, this)); + return this[index]; + } + [$_set](index, value$) { + let value = value$; + if (index == null) dart.nullFailed(I[147], 30396, 25, "index"); + html$.Touch.as(value); + if (value == null) dart.nullFailed(I[147], 30396, 38, "value"); + dart.throw(new core.UnsupportedError.new("Cannot assign element of immutable List.")); + return value$; + } + set [$length](value) { + if (value == null) dart.nullFailed(I[147], 30402, 18, "value"); + dart.throw(new core.UnsupportedError.new("Cannot resize immutable List.")); + } + get [$first]() { + if (dart.notNull(this[$length]) > 0) { + return this[0]; + } + dart.throw(new core.StateError.new("No elements")); + } + set [$first](value) { + super[$first] = value; + } + get [$last]() { + let len = this[$length]; + if (dart.notNull(len) > 0) { + return this[dart.notNull(len) - 1]; + } + dart.throw(new core.StateError.new("No elements")); + } + set [$last](value) { + super[$last] = value; + } + get [$single]() { + let len = this[$length]; + if (len === 1) { + return this[0]; + } + if (len === 0) dart.throw(new core.StateError.new("No elements")); + dart.throw(new core.StateError.new("More than one element")); + } + [$elementAt](index) { + if (index == null) dart.nullFailed(I[147], 30430, 23, "index"); + return this[$_get](index); + } + [S$.$item](...args) { + return this.item.apply(this, args); + } +}; +html$.TouchList.prototype[dart.isList] = true; +dart.addTypeTests(html$.TouchList); +dart.addTypeCaches(html$.TouchList); +html$.TouchList[dart.implements] = () => [_js_helper.JavaScriptIndexingBehavior$(html$.Touch), core.List$(html$.Touch)]; +dart.setMethodSignature(html$.TouchList, () => ({ + __proto__: dart.getMethods(html$.TouchList.__proto__), + [$_get]: dart.fnType(html$.Touch, [core.int]), + [$_set]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), + [S$.$item]: dart.fnType(dart.nullable(html$.Touch), [core.int]) +})); +dart.setGetterSignature(html$.TouchList, () => ({ + __proto__: dart.getGetters(html$.TouchList.__proto__), + [$length]: core.int +})); +dart.setSetterSignature(html$.TouchList, () => ({ + __proto__: dart.getSetters(html$.TouchList.__proto__), + [$length]: core.int +})); +dart.setLibraryUri(html$.TouchList, I[148]); +dart.registerExtension("TouchList", html$.TouchList); +html$.TrackDefault = class TrackDefault$ extends _interceptors.Interceptor { + static new(type, language, label, kinds, byteStreamTrackID = null) { + if (type == null) dart.nullFailed(I[147], 30447, 14, "type"); + if (language == null) dart.nullFailed(I[147], 30447, 27, "language"); + if (label == null) dart.nullFailed(I[147], 30447, 44, "label"); + if (kinds == null) dart.nullFailed(I[147], 30447, 64, "kinds"); + if (byteStreamTrackID != null) { + let kinds_1 = html_common.convertDartToNative_StringArray(kinds); + return html$.TrackDefault._create_1(type, language, label, kinds_1, byteStreamTrackID); + } + let kinds_1 = html_common.convertDartToNative_StringArray(kinds); + return html$.TrackDefault._create_2(type, language, label, kinds_1); + } + static _create_1(type, language, label, kinds, byteStreamTrackID) { + return new TrackDefault(type, language, label, kinds, byteStreamTrackID); + } + static _create_2(type, language, label, kinds) { + return new TrackDefault(type, language, label, kinds); + } + get [S$3.$byteStreamTrackID]() { + return this.byteStreamTrackID; + } + get [S$3.$kinds]() { + return this.kinds; + } + get [S$.$label]() { + return this.label; + } + get [S$1.$language]() { + return this.language; + } + get [S.$type]() { + return this.type; + } +}; +dart.addTypeTests(html$.TrackDefault); +dart.addTypeCaches(html$.TrackDefault); +dart.setGetterSignature(html$.TrackDefault, () => ({ + __proto__: dart.getGetters(html$.TrackDefault.__proto__), + [S$3.$byteStreamTrackID]: dart.nullable(core.String), + [S$3.$kinds]: dart.nullable(core.Object), + [S$.$label]: dart.nullable(core.String), + [S$1.$language]: dart.nullable(core.String), + [S.$type]: dart.nullable(core.String) +})); +dart.setLibraryUri(html$.TrackDefault, I[148]); +dart.registerExtension("TrackDefault", html$.TrackDefault); +html$.TrackDefaultList = class TrackDefaultList$ extends _interceptors.Interceptor { + static new(trackDefaults = null) { + if (trackDefaults != null) { + return html$.TrackDefaultList._create_1(trackDefaults); + } + return html$.TrackDefaultList._create_2(); + } + static _create_1(trackDefaults) { + return new TrackDefaultList(trackDefaults); + } + static _create_2() { + return new TrackDefaultList(); + } + get [$length]() { + return this.length; + } + [S$.$item](...args) { + return this.item.apply(this, args); + } +}; +dart.addTypeTests(html$.TrackDefaultList); +dart.addTypeCaches(html$.TrackDefaultList); +dart.setMethodSignature(html$.TrackDefaultList, () => ({ + __proto__: dart.getMethods(html$.TrackDefaultList.__proto__), + [S$.$item]: dart.fnType(html$.TrackDefault, [core.int]) +})); +dart.setGetterSignature(html$.TrackDefaultList, () => ({ + __proto__: dart.getGetters(html$.TrackDefaultList.__proto__), + [$length]: dart.nullable(core.int) +})); +dart.setLibraryUri(html$.TrackDefaultList, I[148]); +dart.registerExtension("TrackDefaultList", html$.TrackDefaultList); +html$.TrackElement = class TrackElement extends html$.HtmlElement { + static new() { + return html$.TrackElement.as(html$.document[S.$createElement]("track")); + } + static get supported() { + return html$.Element.isTagSupported("track"); + } + get [S$1.$defaultValue]() { + return this.default; + } + set [S$1.$defaultValue](value) { + this.default = value; + } + get [S$.$kind]() { + return this.kind; + } + set [S$.$kind](value) { + this.kind = value; + } + get [S$.$label]() { + return this.label; + } + set [S$.$label](value) { + this.label = value; + } + get [S.$readyState]() { + return this.readyState; + } + get [S$.$src]() { + return this.src; + } + set [S$.$src](value) { + this.src = value; + } + get [S$3.$srclang]() { + return this.srclang; + } + set [S$3.$srclang](value) { + this.srclang = value; + } + get [S$1.$track]() { + return this.track; + } +}; +(html$.TrackElement.created = function() { + html$.TrackElement.__proto__.created.call(this); + ; +}).prototype = html$.TrackElement.prototype; +dart.addTypeTests(html$.TrackElement); +dart.addTypeCaches(html$.TrackElement); +dart.setGetterSignature(html$.TrackElement, () => ({ + __proto__: dart.getGetters(html$.TrackElement.__proto__), + [S$1.$defaultValue]: dart.nullable(core.bool), + [S$.$kind]: dart.nullable(core.String), + [S$.$label]: dart.nullable(core.String), + [S.$readyState]: dart.nullable(core.int), + [S$.$src]: dart.nullable(core.String), + [S$3.$srclang]: dart.nullable(core.String), + [S$1.$track]: dart.nullable(html$.TextTrack) +})); +dart.setSetterSignature(html$.TrackElement, () => ({ + __proto__: dart.getSetters(html$.TrackElement.__proto__), + [S$1.$defaultValue]: dart.nullable(core.bool), + [S$.$kind]: dart.nullable(core.String), + [S$.$label]: dart.nullable(core.String), + [S$.$src]: dart.nullable(core.String), + [S$3.$srclang]: dart.nullable(core.String) +})); +dart.setLibraryUri(html$.TrackElement, I[148]); +dart.defineLazy(html$.TrackElement, { + /*html$.TrackElement.ERROR*/get ERROR() { + return 3; + }, + /*html$.TrackElement.LOADED*/get LOADED() { + return 2; + }, + /*html$.TrackElement.LOADING*/get LOADING() { + return 1; + }, + /*html$.TrackElement.NONE*/get NONE() { + return 0; + } +}, false); +dart.registerExtension("HTMLTrackElement", html$.TrackElement); +html$.TrackEvent = class TrackEvent$ extends html$.Event { + static new(type, eventInitDict = null) { + if (type == null) dart.nullFailed(I[147], 30576, 29, "type"); + if (eventInitDict != null) { + let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); + return html$.TrackEvent._create_1(type, eventInitDict_1); + } + return html$.TrackEvent._create_2(type); + } + static _create_1(type, eventInitDict) { + return new TrackEvent(type, eventInitDict); + } + static _create_2(type) { + return new TrackEvent(type); + } + get [S$1.$track]() { + return this.track; + } +}; +dart.addTypeTests(html$.TrackEvent); +dart.addTypeCaches(html$.TrackEvent); +dart.setGetterSignature(html$.TrackEvent, () => ({ + __proto__: dart.getGetters(html$.TrackEvent.__proto__), + [S$1.$track]: dart.nullable(core.Object) +})); +dart.setLibraryUri(html$.TrackEvent, I[148]); +dart.registerExtension("TrackEvent", html$.TrackEvent); +html$.TransitionEvent = class TransitionEvent$ extends html$.Event { + static new(type, eventInitDict = null) { + if (type == null) dart.nullFailed(I[147], 30602, 34, "type"); + if (eventInitDict != null) { + let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); + return html$.TransitionEvent._create_1(type, eventInitDict_1); + } + return html$.TransitionEvent._create_2(type); + } + static _create_1(type, eventInitDict) { + return new TransitionEvent(type, eventInitDict); + } + static _create_2(type) { + return new TransitionEvent(type); + } + get [S$.$elapsedTime]() { + return this.elapsedTime; + } + get [S$3.$propertyName]() { + return this.propertyName; + } + get [S$3.$pseudoElement]() { + return this.pseudoElement; + } +}; +dart.addTypeTests(html$.TransitionEvent); +dart.addTypeCaches(html$.TransitionEvent); +dart.setGetterSignature(html$.TransitionEvent, () => ({ + __proto__: dart.getGetters(html$.TransitionEvent.__proto__), + [S$.$elapsedTime]: dart.nullable(core.num), + [S$3.$propertyName]: dart.nullable(core.String), + [S$3.$pseudoElement]: dart.nullable(core.String) +})); +dart.setLibraryUri(html$.TransitionEvent, I[148]); +dart.registerExtension("TransitionEvent", html$.TransitionEvent); +dart.registerExtension("WebKitTransitionEvent", html$.TransitionEvent); +html$.TreeWalker = class TreeWalker extends _interceptors.Interceptor { + static new(root, whatToShow) { + if (root == null) dart.nullFailed(I[147], 30627, 27, "root"); + if (whatToShow == null) dart.nullFailed(I[147], 30627, 37, "whatToShow"); + return html$.document[S$1._createTreeWalker](root, whatToShow, null); + } + get [S$3.$currentNode]() { + return this.currentNode; + } + set [S$3.$currentNode](value) { + this.currentNode = value; + } + get [S$.$filter]() { + return this.filter; + } + get [S$1.$root]() { + return this.root; + } + get [S$2.$whatToShow]() { + return this.whatToShow; + } + [S$.$firstChild](...args) { + return this.firstChild.apply(this, args); + } + [S$.$lastChild](...args) { + return this.lastChild.apply(this, args); + } + [S.$nextNode](...args) { + return this.nextNode.apply(this, args); + } + [S$1.$nextSibling](...args) { + return this.nextSibling.apply(this, args); + } + [S$.$parentNode](...args) { + return this.parentNode.apply(this, args); + } + [S$.$previousNode](...args) { + return this.previousNode.apply(this, args); + } + [S$1.$previousSibling](...args) { + return this.previousSibling.apply(this, args); + } +}; +dart.addTypeTests(html$.TreeWalker); +dart.addTypeCaches(html$.TreeWalker); +dart.setMethodSignature(html$.TreeWalker, () => ({ + __proto__: dart.getMethods(html$.TreeWalker.__proto__), + [S$.$firstChild]: dart.fnType(dart.nullable(html$.Node), []), + [S$.$lastChild]: dart.fnType(dart.nullable(html$.Node), []), + [S.$nextNode]: dart.fnType(dart.nullable(html$.Node), []), + [S$1.$nextSibling]: dart.fnType(dart.nullable(html$.Node), []), + [S$.$parentNode]: dart.fnType(dart.nullable(html$.Node), []), + [S$.$previousNode]: dart.fnType(dart.nullable(html$.Node), []), + [S$1.$previousSibling]: dart.fnType(dart.nullable(html$.Node), []) +})); +dart.setGetterSignature(html$.TreeWalker, () => ({ + __proto__: dart.getGetters(html$.TreeWalker.__proto__), + [S$3.$currentNode]: html$.Node, + [S$.$filter]: dart.nullable(html$.NodeFilter), + [S$1.$root]: html$.Node, + [S$2.$whatToShow]: core.int +})); +dart.setSetterSignature(html$.TreeWalker, () => ({ + __proto__: dart.getSetters(html$.TreeWalker.__proto__), + [S$3.$currentNode]: html$.Node +})); +dart.setLibraryUri(html$.TreeWalker, I[148]); +dart.registerExtension("TreeWalker", html$.TreeWalker); +html$.TrustedHtml = class TrustedHtml extends _interceptors.Interceptor {}; +dart.addTypeTests(html$.TrustedHtml); +dart.addTypeCaches(html$.TrustedHtml); +dart.setLibraryUri(html$.TrustedHtml, I[148]); +dart.registerExtension("TrustedHTML", html$.TrustedHtml); +html$.TrustedScriptUrl = class TrustedScriptUrl extends _interceptors.Interceptor {}; +dart.addTypeTests(html$.TrustedScriptUrl); +dart.addTypeCaches(html$.TrustedScriptUrl); +dart.setLibraryUri(html$.TrustedScriptUrl, I[148]); +dart.registerExtension("TrustedScriptURL", html$.TrustedScriptUrl); +html$.TrustedUrl = class TrustedUrl extends _interceptors.Interceptor {}; +dart.addTypeTests(html$.TrustedUrl); +dart.addTypeCaches(html$.TrustedUrl); +dart.setLibraryUri(html$.TrustedUrl, I[148]); +dart.registerExtension("TrustedURL", html$.TrustedUrl); +html$.UListElement = class UListElement extends html$.HtmlElement { + static new() { + return html$.document.createElement("ul"); + } +}; +(html$.UListElement.created = function() { + html$.UListElement.__proto__.created.call(this); + ; +}).prototype = html$.UListElement.prototype; +dart.addTypeTests(html$.UListElement); +dart.addTypeCaches(html$.UListElement); +dart.setLibraryUri(html$.UListElement, I[148]); +dart.registerExtension("HTMLUListElement", html$.UListElement); +html$.UnderlyingSourceBase = class UnderlyingSourceBase extends _interceptors.Interceptor { + [S$.$cancel](reason) { + return js_util.promiseToFuture(dart.dynamic, this.cancel(reason)); + } + [S$3.$notifyLockAcquired](...args) { + return this.notifyLockAcquired.apply(this, args); + } + [S$3.$notifyLockReleased](...args) { + return this.notifyLockReleased.apply(this, args); + } + [S$3.$pull]() { + return js_util.promiseToFuture(dart.dynamic, this.pull()); + } + [S$.$start](stream) { + if (stream == null) dart.nullFailed(I[147], 30801, 23, "stream"); + return js_util.promiseToFuture(dart.dynamic, this.start(stream)); + } +}; +dart.addTypeTests(html$.UnderlyingSourceBase); +dart.addTypeCaches(html$.UnderlyingSourceBase); +dart.setMethodSignature(html$.UnderlyingSourceBase, () => ({ + __proto__: dart.getMethods(html$.UnderlyingSourceBase.__proto__), + [S$.$cancel]: dart.fnType(async.Future, [dart.nullable(core.Object)]), + [S$3.$notifyLockAcquired]: dart.fnType(dart.void, []), + [S$3.$notifyLockReleased]: dart.fnType(dart.void, []), + [S$3.$pull]: dart.fnType(async.Future, []), + [S$.$start]: dart.fnType(async.Future, [core.Object]) +})); +dart.setLibraryUri(html$.UnderlyingSourceBase, I[148]); +dart.registerExtension("UnderlyingSourceBase", html$.UnderlyingSourceBase); +html$.UnknownElement = class UnknownElement extends html$.HtmlElement {}; +(html$.UnknownElement.created = function() { + html$.UnknownElement.__proto__.created.call(this); + ; +}).prototype = html$.UnknownElement.prototype; +dart.addTypeTests(html$.UnknownElement); +dart.addTypeCaches(html$.UnknownElement); +dart.setLibraryUri(html$.UnknownElement, I[148]); +dart.registerExtension("HTMLUnknownElement", html$.UnknownElement); +html$.Url = class Url extends _interceptors.Interceptor { + static createObjectUrl(blob_OR_source_OR_stream) { + return (self.URL || self.webkitURL).createObjectURL(blob_OR_source_OR_stream); + } + static createObjectUrlFromSource(source) { + if (source == null) dart.nullFailed(I[147], 30832, 55, "source"); + return (self.URL || self.webkitURL).createObjectURL(source); + } + static createObjectUrlFromStream(stream) { + if (stream == null) dart.nullFailed(I[147], 30835, 55, "stream"); + return (self.URL || self.webkitURL).createObjectURL(stream); + } + static createObjectUrlFromBlob(blob) { + if (blob == null) dart.nullFailed(I[147], 30838, 46, "blob"); + return (self.URL || self.webkitURL).createObjectURL(blob); + } + static revokeObjectUrl(url) { + if (url == null) dart.nullFailed(I[147], 30841, 38, "url"); + return (self.URL || self.webkitURL).revokeObjectURL(url); + } + [$toString]() { + return String(this); + } + get [S$.$hash]() { + return this.hash; + } + set [S$.$hash](value) { + this.hash = value; + } + get [S$.$host]() { + return this.host; + } + set [S$.$host](value) { + this.host = value; + } + get [S$.$hostname]() { + return this.hostname; + } + set [S$.$hostname](value) { + this.hostname = value; + } + get [S$.$href]() { + return this.href; + } + set [S$.$href](value) { + this.href = value; + } + get [S$.$origin]() { + return this.origin; + } + get [S$.$password]() { + return this.password; + } + set [S$.$password](value) { + this.password = value; + } + get [S$.$pathname]() { + return this.pathname; + } + set [S$.$pathname](value) { + this.pathname = value; + } + get [S$.$port]() { + return this.port; + } + set [S$.$port](value) { + this.port = value; + } + get [S$.$protocol]() { + return this.protocol; + } + set [S$.$protocol](value) { + this.protocol = value; + } + get [S$.$search]() { + return this.search; + } + set [S$.$search](value) { + this.search = value; + } + get [S$3.$searchParams]() { + return this.searchParams; + } + get [S$.$username]() { + return this.username; + } + set [S$.$username](value) { + this.username = value; + } +}; +dart.addTypeTests(html$.Url); +dart.addTypeCaches(html$.Url); +dart.setGetterSignature(html$.Url, () => ({ + __proto__: dart.getGetters(html$.Url.__proto__), + [S$.$hash]: dart.nullable(core.String), + [S$.$host]: dart.nullable(core.String), + [S$.$hostname]: dart.nullable(core.String), + [S$.$href]: dart.nullable(core.String), + [S$.$origin]: dart.nullable(core.String), + [S$.$password]: dart.nullable(core.String), + [S$.$pathname]: dart.nullable(core.String), + [S$.$port]: dart.nullable(core.String), + [S$.$protocol]: dart.nullable(core.String), + [S$.$search]: dart.nullable(core.String), + [S$3.$searchParams]: dart.nullable(html$.UrlSearchParams), + [S$.$username]: dart.nullable(core.String) +})); +dart.setSetterSignature(html$.Url, () => ({ + __proto__: dart.getSetters(html$.Url.__proto__), + [S$.$hash]: dart.nullable(core.String), + [S$.$host]: dart.nullable(core.String), + [S$.$hostname]: dart.nullable(core.String), + [S$.$href]: dart.nullable(core.String), + [S$.$password]: dart.nullable(core.String), + [S$.$pathname]: dart.nullable(core.String), + [S$.$port]: dart.nullable(core.String), + [S$.$protocol]: dart.nullable(core.String), + [S$.$search]: dart.nullable(core.String), + [S$.$username]: dart.nullable(core.String) +})); +dart.setLibraryUri(html$.Url, I[148]); +dart.registerExtension("URL", html$.Url); +html$.UrlSearchParams = class UrlSearchParams extends _interceptors.Interceptor { + static new(init = null) { + if (init != null) { + return html$.UrlSearchParams._create_1(init); + } + return html$.UrlSearchParams._create_2(); + } + static _create_1(init) { + return new URLSearchParams(init); + } + static _create_2() { + return new URLSearchParams(); + } + [S.$append](...args) { + return this.append.apply(this, args); + } + [S.$delete](...args) { + return this.delete.apply(this, args); + } + [S.$get](...args) { + return this.get.apply(this, args); + } + [S.$getAll](...args) { + return this.getAll.apply(this, args); + } + [S$.$has](...args) { + return this.has.apply(this, args); + } + [S$.$set](...args) { + return this.set.apply(this, args); + } + [$sort](...args) { + return this.sort.apply(this, args); + } +}; +dart.addTypeTests(html$.UrlSearchParams); +dart.addTypeCaches(html$.UrlSearchParams); +dart.setMethodSignature(html$.UrlSearchParams, () => ({ + __proto__: dart.getMethods(html$.UrlSearchParams.__proto__), + [S.$append]: dart.fnType(dart.void, [core.String, core.String]), + [S.$delete]: dart.fnType(dart.void, [core.String]), + [S.$get]: dart.fnType(dart.nullable(core.String), [core.String]), + [S.$getAll]: dart.fnType(core.List$(core.String), [core.String]), + [S$.$has]: dart.fnType(core.bool, [core.String]), + [S$.$set]: dart.fnType(dart.void, [core.String, core.String]), + [$sort]: dart.fnType(dart.void, []) +})); +dart.setLibraryUri(html$.UrlSearchParams, I[148]); +dart.registerExtension("URLSearchParams", html$.UrlSearchParams); +html$.UrlUtilsReadOnly = class UrlUtilsReadOnly extends _interceptors.Interceptor { + get hash() { + return this.hash; + } + get host() { + return this.host; + } + get hostname() { + return this.hostname; + } + get href() { + return this.href; + } + get origin() { + return this.origin; + } + get pathname() { + return this.pathname; + } + get port() { + return this.port; + } + get protocol() { + return this.protocol; + } + get search() { + return this.search; + } +}; +dart.addTypeTests(html$.UrlUtilsReadOnly); +dart.addTypeCaches(html$.UrlUtilsReadOnly); +dart.setGetterSignature(html$.UrlUtilsReadOnly, () => ({ + __proto__: dart.getGetters(html$.UrlUtilsReadOnly.__proto__), + hash: dart.nullable(core.String), + [S$.$hash]: dart.nullable(core.String), + host: dart.nullable(core.String), + [S$.$host]: dart.nullable(core.String), + hostname: dart.nullable(core.String), + [S$.$hostname]: dart.nullable(core.String), + href: dart.nullable(core.String), + [S$.$href]: dart.nullable(core.String), + origin: dart.nullable(core.String), + [S$.$origin]: dart.nullable(core.String), + pathname: dart.nullable(core.String), + [S$.$pathname]: dart.nullable(core.String), + port: dart.nullable(core.String), + [S$.$port]: dart.nullable(core.String), + protocol: dart.nullable(core.String), + [S$.$protocol]: dart.nullable(core.String), + search: dart.nullable(core.String), + [S$.$search]: dart.nullable(core.String) +})); +dart.setLibraryUri(html$.UrlUtilsReadOnly, I[148]); +dart.defineExtensionAccessors(html$.UrlUtilsReadOnly, [ + 'hash', + 'host', + 'hostname', + 'href', + 'origin', + 'pathname', + 'port', + 'protocol', + 'search' +]); +html$.VR = class VR extends html$.EventTarget { + [S$3.$getDevices]() { + return js_util.promiseToFuture(dart.dynamic, this.getDevices()); + } +}; +dart.addTypeTests(html$.VR); +dart.addTypeCaches(html$.VR); +dart.setMethodSignature(html$.VR, () => ({ + __proto__: dart.getMethods(html$.VR.__proto__), + [S$3.$getDevices]: dart.fnType(async.Future, []) +})); +dart.setLibraryUri(html$.VR, I[148]); +dart.registerExtension("VR", html$.VR); +html$.VRCoordinateSystem = class VRCoordinateSystem extends _interceptors.Interceptor { + [S$3.$getTransformTo](...args) { + return this.getTransformTo.apply(this, args); + } +}; +dart.addTypeTests(html$.VRCoordinateSystem); +dart.addTypeCaches(html$.VRCoordinateSystem); +dart.setMethodSignature(html$.VRCoordinateSystem, () => ({ + __proto__: dart.getMethods(html$.VRCoordinateSystem.__proto__), + [S$3.$getTransformTo]: dart.fnType(dart.nullable(typed_data.Float32List), [html$.VRCoordinateSystem]) +})); +dart.setLibraryUri(html$.VRCoordinateSystem, I[148]); +dart.registerExtension("VRCoordinateSystem", html$.VRCoordinateSystem); +html$.VRDevice = class VRDevice extends html$.EventTarget { + get [S$3.$deviceName]() { + return this.deviceName; + } + get [S$3.$isExternal]() { + return this.isExternal; + } + [S$3.$requestSession](options = null) { + let options_dict = null; + if (options != null) { + options_dict = html_common.convertDartToNative_Dictionary(options); + } + return js_util.promiseToFuture(dart.dynamic, this.requestSession(options_dict)); + } + [S$3.$supportsSession](options = null) { + let options_dict = null; + if (options != null) { + options_dict = html_common.convertDartToNative_Dictionary(options); + } + return js_util.promiseToFuture(dart.dynamic, this.supportsSession(options_dict)); + } +}; +dart.addTypeTests(html$.VRDevice); +dart.addTypeCaches(html$.VRDevice); +dart.setMethodSignature(html$.VRDevice, () => ({ + __proto__: dart.getMethods(html$.VRDevice.__proto__), + [S$3.$requestSession]: dart.fnType(async.Future, [], [dart.nullable(core.Map)]), + [S$3.$supportsSession]: dart.fnType(async.Future, [], [dart.nullable(core.Map)]) +})); +dart.setGetterSignature(html$.VRDevice, () => ({ + __proto__: dart.getGetters(html$.VRDevice.__proto__), + [S$3.$deviceName]: dart.nullable(core.String), + [S$3.$isExternal]: dart.nullable(core.bool) +})); +dart.setLibraryUri(html$.VRDevice, I[148]); +dart.registerExtension("VRDevice", html$.VRDevice); +html$.VRDeviceEvent = class VRDeviceEvent$ extends html$.Event { + static new(type, eventInitDict) { + if (type == null) dart.nullFailed(I[147], 31027, 32, "type"); + if (eventInitDict == null) dart.nullFailed(I[147], 31027, 42, "eventInitDict"); + let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); + return html$.VRDeviceEvent._create_1(type, eventInitDict_1); + } + static _create_1(type, eventInitDict) { + return new VRDeviceEvent(type, eventInitDict); + } + get [S$3.$device]() { + return this.device; + } +}; +dart.addTypeTests(html$.VRDeviceEvent); +dart.addTypeCaches(html$.VRDeviceEvent); +dart.setGetterSignature(html$.VRDeviceEvent, () => ({ + __proto__: dart.getGetters(html$.VRDeviceEvent.__proto__), + [S$3.$device]: dart.nullable(html$.VRDevice) +})); +dart.setLibraryUri(html$.VRDeviceEvent, I[148]); +dart.registerExtension("VRDeviceEvent", html$.VRDeviceEvent); +html$.VRDisplay = class VRDisplay extends html$.EventTarget { + get [S$3.$capabilities]() { + return this.capabilities; + } + get [S$3.$depthFar]() { + return this.depthFar; + } + set [S$3.$depthFar](value) { + this.depthFar = value; + } + get [S$3.$depthNear]() { + return this.depthNear; + } + set [S$3.$depthNear](value) { + this.depthNear = value; + } + get [S$1.$displayId]() { + return this.displayId; + } + get [S$3.$displayName]() { + return this.displayName; + } + get [S$3.$isPresenting]() { + return this.isPresenting; + } + get [S$3.$stageParameters]() { + return this.stageParameters; + } + [S$3.$cancelAnimationFrame](...args) { + return this.cancelAnimationFrame.apply(this, args); + } + [S$3.$exitPresent]() { + return js_util.promiseToFuture(dart.dynamic, this.exitPresent()); + } + [S$3.$getEyeParameters](...args) { + return this.getEyeParameters.apply(this, args); + } + [S$3.$getFrameData](...args) { + return this.getFrameData.apply(this, args); + } + [S$3.$getLayers](...args) { + return this.getLayers.apply(this, args); + } + [S$3.$requestAnimationFrame](...args) { + return this.requestAnimationFrame.apply(this, args); + } + [S$3.$requestPresent](layers) { + if (layers == null) dart.nullFailed(I[147], 31077, 35, "layers"); + return js_util.promiseToFuture(dart.dynamic, this.requestPresent(layers)); + } + [S$3.$submitFrame](...args) { + return this.submitFrame.apply(this, args); + } +}; +dart.addTypeTests(html$.VRDisplay); +dart.addTypeCaches(html$.VRDisplay); +dart.setMethodSignature(html$.VRDisplay, () => ({ + __proto__: dart.getMethods(html$.VRDisplay.__proto__), + [S$3.$cancelAnimationFrame]: dart.fnType(dart.void, [core.int]), + [S$3.$exitPresent]: dart.fnType(async.Future, []), + [S$3.$getEyeParameters]: dart.fnType(html$.VREyeParameters, [core.String]), + [S$3.$getFrameData]: dart.fnType(core.bool, [html$.VRFrameData]), + [S$3.$getLayers]: dart.fnType(core.List$(core.Map), []), + [S$3.$requestAnimationFrame]: dart.fnType(core.int, [dart.fnType(dart.void, [core.num])]), + [S$3.$requestPresent]: dart.fnType(async.Future, [core.List$(core.Map)]), + [S$3.$submitFrame]: dart.fnType(dart.void, []) +})); +dart.setGetterSignature(html$.VRDisplay, () => ({ + __proto__: dart.getGetters(html$.VRDisplay.__proto__), + [S$3.$capabilities]: dart.nullable(html$.VRDisplayCapabilities), + [S$3.$depthFar]: dart.nullable(core.num), + [S$3.$depthNear]: dart.nullable(core.num), + [S$1.$displayId]: dart.nullable(core.int), + [S$3.$displayName]: dart.nullable(core.String), + [S$3.$isPresenting]: dart.nullable(core.bool), + [S$3.$stageParameters]: dart.nullable(html$.VRStageParameters) +})); +dart.setSetterSignature(html$.VRDisplay, () => ({ + __proto__: dart.getSetters(html$.VRDisplay.__proto__), + [S$3.$depthFar]: dart.nullable(core.num), + [S$3.$depthNear]: dart.nullable(core.num) +})); +dart.setLibraryUri(html$.VRDisplay, I[148]); +dart.registerExtension("VRDisplay", html$.VRDisplay); +html$.VRDisplayCapabilities = class VRDisplayCapabilities extends _interceptors.Interceptor { + get [S$3.$canPresent]() { + return this.canPresent; + } + get [S$3.$hasExternalDisplay]() { + return this.hasExternalDisplay; + } + get [S$1.$hasPosition]() { + return this.hasPosition; + } + get [S$3.$maxLayers]() { + return this.maxLayers; + } +}; +dart.addTypeTests(html$.VRDisplayCapabilities); +dart.addTypeCaches(html$.VRDisplayCapabilities); +dart.setGetterSignature(html$.VRDisplayCapabilities, () => ({ + __proto__: dart.getGetters(html$.VRDisplayCapabilities.__proto__), + [S$3.$canPresent]: dart.nullable(core.bool), + [S$3.$hasExternalDisplay]: dart.nullable(core.bool), + [S$1.$hasPosition]: dart.nullable(core.bool), + [S$3.$maxLayers]: dart.nullable(core.int) +})); +dart.setLibraryUri(html$.VRDisplayCapabilities, I[148]); +dart.registerExtension("VRDisplayCapabilities", html$.VRDisplayCapabilities); +html$.VRDisplayEvent = class VRDisplayEvent$ extends html$.Event { + static new(type, eventInitDict = null) { + if (type == null) dart.nullFailed(I[147], 31112, 33, "type"); + if (eventInitDict != null) { + let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); + return html$.VRDisplayEvent._create_1(type, eventInitDict_1); + } + return html$.VRDisplayEvent._create_2(type); + } + static _create_1(type, eventInitDict) { + return new VRDisplayEvent(type, eventInitDict); + } + static _create_2(type) { + return new VRDisplayEvent(type); + } + get [S$0.$display]() { + return this.display; + } + get [S$.$reason]() { + return this.reason; + } +}; +dart.addTypeTests(html$.VRDisplayEvent); +dart.addTypeCaches(html$.VRDisplayEvent); +dart.setGetterSignature(html$.VRDisplayEvent, () => ({ + __proto__: dart.getGetters(html$.VRDisplayEvent.__proto__), + [S$0.$display]: dart.nullable(html$.VRDisplay), + [S$.$reason]: dart.nullable(core.String) +})); +dart.setLibraryUri(html$.VRDisplayEvent, I[148]); +dart.registerExtension("VRDisplayEvent", html$.VRDisplayEvent); +html$.VREyeParameters = class VREyeParameters extends _interceptors.Interceptor { + get [S.$offset]() { + return this.offset; + } + get [S$3.$renderHeight]() { + return this.renderHeight; + } + get [S$3.$renderWidth]() { + return this.renderWidth; + } +}; +dart.addTypeTests(html$.VREyeParameters); +dart.addTypeCaches(html$.VREyeParameters); +dart.setGetterSignature(html$.VREyeParameters, () => ({ + __proto__: dart.getGetters(html$.VREyeParameters.__proto__), + [S.$offset]: dart.nullable(typed_data.Float32List), + [S$3.$renderHeight]: dart.nullable(core.int), + [S$3.$renderWidth]: dart.nullable(core.int) +})); +dart.setLibraryUri(html$.VREyeParameters, I[148]); +dart.registerExtension("VREyeParameters", html$.VREyeParameters); +html$.VRFrameData = class VRFrameData$ extends _interceptors.Interceptor { + static new() { + return html$.VRFrameData._create_1(); + } + static _create_1() { + return new VRFrameData(); + } + get [S$3.$leftProjectionMatrix]() { + return this.leftProjectionMatrix; + } + get [S$3.$leftViewMatrix]() { + return this.leftViewMatrix; + } + get [S$1.$pose]() { + return this.pose; + } + get [S$3.$rightProjectionMatrix]() { + return this.rightProjectionMatrix; + } + get [S$3.$rightViewMatrix]() { + return this.rightViewMatrix; + } +}; +dart.addTypeTests(html$.VRFrameData); +dart.addTypeCaches(html$.VRFrameData); +dart.setGetterSignature(html$.VRFrameData, () => ({ + __proto__: dart.getGetters(html$.VRFrameData.__proto__), + [S$3.$leftProjectionMatrix]: dart.nullable(typed_data.Float32List), + [S$3.$leftViewMatrix]: dart.nullable(typed_data.Float32List), + [S$1.$pose]: dart.nullable(html$.VRPose), + [S$3.$rightProjectionMatrix]: dart.nullable(typed_data.Float32List), + [S$3.$rightViewMatrix]: dart.nullable(typed_data.Float32List) +})); +dart.setLibraryUri(html$.VRFrameData, I[148]); +dart.registerExtension("VRFrameData", html$.VRFrameData); +html$.VRFrameOfReference = class VRFrameOfReference extends html$.VRCoordinateSystem { + get [S$3.$bounds]() { + return this.bounds; + } + get [S$3.$emulatedHeight]() { + return this.emulatedHeight; + } +}; +dart.addTypeTests(html$.VRFrameOfReference); +dart.addTypeCaches(html$.VRFrameOfReference); +dart.setGetterSignature(html$.VRFrameOfReference, () => ({ + __proto__: dart.getGetters(html$.VRFrameOfReference.__proto__), + [S$3.$bounds]: dart.nullable(html$.VRStageBounds), + [S$3.$emulatedHeight]: dart.nullable(core.num) +})); +dart.setLibraryUri(html$.VRFrameOfReference, I[148]); +dart.registerExtension("VRFrameOfReference", html$.VRFrameOfReference); +html$.VRPose = class VRPose extends _interceptors.Interceptor { + get [S$1.$angularAcceleration]() { + return this.angularAcceleration; + } + get [S$1.$angularVelocity]() { + return this.angularVelocity; + } + get [S$1.$linearAcceleration]() { + return this.linearAcceleration; + } + get [S$1.$linearVelocity]() { + return this.linearVelocity; + } + get [S$.$orientation]() { + return this.orientation; + } + get [S$0.$position]() { + return this.position; + } +}; +dart.addTypeTests(html$.VRPose); +dart.addTypeCaches(html$.VRPose); +dart.setGetterSignature(html$.VRPose, () => ({ + __proto__: dart.getGetters(html$.VRPose.__proto__), + [S$1.$angularAcceleration]: dart.nullable(typed_data.Float32List), + [S$1.$angularVelocity]: dart.nullable(typed_data.Float32List), + [S$1.$linearAcceleration]: dart.nullable(typed_data.Float32List), + [S$1.$linearVelocity]: dart.nullable(typed_data.Float32List), + [S$.$orientation]: dart.nullable(typed_data.Float32List), + [S$0.$position]: dart.nullable(typed_data.Float32List) +})); +dart.setLibraryUri(html$.VRPose, I[148]); +dart.registerExtension("VRPose", html$.VRPose); +html$.VRSession = class VRSession extends html$.EventTarget { + get [S$3.$depthFar]() { + return this.depthFar; + } + set [S$3.$depthFar](value) { + this.depthFar = value; + } + get [S$3.$depthNear]() { + return this.depthNear; + } + set [S$3.$depthNear](value) { + this.depthNear = value; + } + get [S$3.$device]() { + return this.device; + } + get [S$3.$exclusive]() { + return this.exclusive; + } + [S$2.$end]() { + return js_util.promiseToFuture(dart.dynamic, this.end()); + } + [S$3.$requestFrameOfReference](type, options = null) { + if (type == null) dart.nullFailed(I[147], 31240, 41, "type"); + let options_dict = null; + if (options != null) { + options_dict = html_common.convertDartToNative_Dictionary(options); + } + return js_util.promiseToFuture(dart.dynamic, this.requestFrameOfReference(type, options_dict)); + } + get [S.$onBlur]() { + return html$.VRSession.blurEvent.forTarget(this); + } + get [S.$onFocus]() { + return html$.VRSession.focusEvent.forTarget(this); + } +}; +dart.addTypeTests(html$.VRSession); +dart.addTypeCaches(html$.VRSession); +dart.setMethodSignature(html$.VRSession, () => ({ + __proto__: dart.getMethods(html$.VRSession.__proto__), + [S$2.$end]: dart.fnType(async.Future, []), + [S$3.$requestFrameOfReference]: dart.fnType(async.Future, [core.String], [dart.nullable(core.Map)]) +})); +dart.setGetterSignature(html$.VRSession, () => ({ + __proto__: dart.getGetters(html$.VRSession.__proto__), + [S$3.$depthFar]: dart.nullable(core.num), + [S$3.$depthNear]: dart.nullable(core.num), + [S$3.$device]: dart.nullable(html$.VRDevice), + [S$3.$exclusive]: dart.nullable(core.bool), + [S.$onBlur]: async.Stream$(html$.Event), + [S.$onFocus]: async.Stream$(html$.Event) +})); +dart.setSetterSignature(html$.VRSession, () => ({ + __proto__: dart.getSetters(html$.VRSession.__proto__), + [S$3.$depthFar]: dart.nullable(core.num), + [S$3.$depthNear]: dart.nullable(core.num) +})); +dart.setLibraryUri(html$.VRSession, I[148]); +dart.defineLazy(html$.VRSession, { + /*html$.VRSession.blurEvent*/get blurEvent() { + return C[233] || CT.C233; + }, + /*html$.VRSession.focusEvent*/get focusEvent() { + return C[252] || CT.C252; + } +}, false); +dart.registerExtension("VRSession", html$.VRSession); +html$.VRSessionEvent = class VRSessionEvent$ extends html$.Event { + static new(type, eventInitDict) { + if (type == null) dart.nullFailed(I[147], 31264, 33, "type"); + if (eventInitDict == null) dart.nullFailed(I[147], 31264, 43, "eventInitDict"); + let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); + return html$.VRSessionEvent._create_1(type, eventInitDict_1); + } + static _create_1(type, eventInitDict) { + return new VRSessionEvent(type, eventInitDict); + } + get [S$3.$session]() { + return this.session; + } +}; +dart.addTypeTests(html$.VRSessionEvent); +dart.addTypeCaches(html$.VRSessionEvent); +dart.setGetterSignature(html$.VRSessionEvent, () => ({ + __proto__: dart.getGetters(html$.VRSessionEvent.__proto__), + [S$3.$session]: dart.nullable(html$.VRSession) +})); +dart.setLibraryUri(html$.VRSessionEvent, I[148]); +dart.registerExtension("VRSessionEvent", html$.VRSessionEvent); +html$.VRStageBounds = class VRStageBounds extends _interceptors.Interceptor { + get [S$3.$geometry]() { + return this.geometry; + } +}; +dart.addTypeTests(html$.VRStageBounds); +dart.addTypeCaches(html$.VRStageBounds); +dart.setGetterSignature(html$.VRStageBounds, () => ({ + __proto__: dart.getGetters(html$.VRStageBounds.__proto__), + [S$3.$geometry]: dart.nullable(core.List$(html$.VRStageBoundsPoint)) +})); +dart.setLibraryUri(html$.VRStageBounds, I[148]); +dart.registerExtension("VRStageBounds", html$.VRStageBounds); +html$.VRStageBoundsPoint = class VRStageBoundsPoint extends _interceptors.Interceptor { + get [S$.$x]() { + return this.x; + } + get [S$.$z]() { + return this.z; + } +}; +dart.addTypeTests(html$.VRStageBoundsPoint); +dart.addTypeCaches(html$.VRStageBoundsPoint); +dart.setGetterSignature(html$.VRStageBoundsPoint, () => ({ + __proto__: dart.getGetters(html$.VRStageBoundsPoint.__proto__), + [S$.$x]: dart.nullable(core.num), + [S$.$z]: dart.nullable(core.num) +})); +dart.setLibraryUri(html$.VRStageBoundsPoint, I[148]); +dart.registerExtension("VRStageBoundsPoint", html$.VRStageBoundsPoint); +html$.VRStageParameters = class VRStageParameters extends _interceptors.Interceptor { + get [S$3.$sittingToStandingTransform]() { + return this.sittingToStandingTransform; + } + get [S$3.$sizeX]() { + return this.sizeX; + } + get [S$3.$sizeZ]() { + return this.sizeZ; + } +}; +dart.addTypeTests(html$.VRStageParameters); +dart.addTypeCaches(html$.VRStageParameters); +dart.setGetterSignature(html$.VRStageParameters, () => ({ + __proto__: dart.getGetters(html$.VRStageParameters.__proto__), + [S$3.$sittingToStandingTransform]: dart.nullable(typed_data.Float32List), + [S$3.$sizeX]: dart.nullable(core.num), + [S$3.$sizeZ]: dart.nullable(core.num) +})); +dart.setLibraryUri(html$.VRStageParameters, I[148]); +dart.registerExtension("VRStageParameters", html$.VRStageParameters); +html$.ValidityState = class ValidityState extends _interceptors.Interceptor { + get [S$3.$badInput]() { + return this.badInput; + } + get [S$3.$customError]() { + return this.customError; + } + get [S$3.$patternMismatch]() { + return this.patternMismatch; + } + get [S$3.$rangeOverflow]() { + return this.rangeOverflow; + } + get [S$3.$rangeUnderflow]() { + return this.rangeUnderflow; + } + get [S$3.$stepMismatch]() { + return this.stepMismatch; + } + get [S$3.$tooLong]() { + return this.tooLong; + } + get [S$3.$tooShort]() { + return this.tooShort; + } + get [S$3.$typeMismatch]() { + return this.typeMismatch; + } + get [S$3.$valid]() { + return this.valid; + } + get [S$3.$valueMissing]() { + return this.valueMissing; + } +}; +dart.addTypeTests(html$.ValidityState); +dart.addTypeCaches(html$.ValidityState); +dart.setGetterSignature(html$.ValidityState, () => ({ + __proto__: dart.getGetters(html$.ValidityState.__proto__), + [S$3.$badInput]: dart.nullable(core.bool), + [S$3.$customError]: dart.nullable(core.bool), + [S$3.$patternMismatch]: dart.nullable(core.bool), + [S$3.$rangeOverflow]: dart.nullable(core.bool), + [S$3.$rangeUnderflow]: dart.nullable(core.bool), + [S$3.$stepMismatch]: dart.nullable(core.bool), + [S$3.$tooLong]: dart.nullable(core.bool), + [S$3.$tooShort]: dart.nullable(core.bool), + [S$3.$typeMismatch]: dart.nullable(core.bool), + [S$3.$valid]: dart.nullable(core.bool), + [S$3.$valueMissing]: dart.nullable(core.bool) +})); +dart.setLibraryUri(html$.ValidityState, I[148]); +dart.registerExtension("ValidityState", html$.ValidityState); +html$.VideoElement = class VideoElement extends html$.MediaElement { + static new() { + return html$.document.createElement("video"); + } + get [$height]() { + return this.height; + } + set [$height](value) { + this.height = value; + } + get [S$3.$poster]() { + return this.poster; + } + set [S$3.$poster](value) { + this.poster = value; + } + get [S$3.$videoHeight]() { + return this.videoHeight; + } + get [S$3.$videoWidth]() { + return this.videoWidth; + } + get [S$3.$decodedFrameCount]() { + return this.webkitDecodedFrameCount; + } + get [S$3.$droppedFrameCount]() { + return this.webkitDroppedFrameCount; + } + get [$width]() { + return this.width; + } + set [$width](value) { + this.width = value; + } + [S$3.$getVideoPlaybackQuality](...args) { + return this.getVideoPlaybackQuality.apply(this, args); + } + [S$3.$enterFullscreen](...args) { + return this.webkitEnterFullscreen.apply(this, args); + } + [S$1.$exitFullscreen](...args) { + return this.webkitExitFullscreen.apply(this, args); + } +}; +(html$.VideoElement.created = function() { + html$.VideoElement.__proto__.created.call(this); + ; +}).prototype = html$.VideoElement.prototype; +dart.addTypeTests(html$.VideoElement); +dart.addTypeCaches(html$.VideoElement); +html$.VideoElement[dart.implements] = () => [html$.CanvasImageSource]; +dart.setMethodSignature(html$.VideoElement, () => ({ + __proto__: dart.getMethods(html$.VideoElement.__proto__), + [S$3.$getVideoPlaybackQuality]: dart.fnType(html$.VideoPlaybackQuality, []), + [S$3.$enterFullscreen]: dart.fnType(dart.void, []), + [S$1.$exitFullscreen]: dart.fnType(dart.void, []) +})); +dart.setGetterSignature(html$.VideoElement, () => ({ + __proto__: dart.getGetters(html$.VideoElement.__proto__), + [$height]: core.int, + [S$3.$poster]: core.String, + [S$3.$videoHeight]: core.int, + [S$3.$videoWidth]: core.int, + [S$3.$decodedFrameCount]: dart.nullable(core.int), + [S$3.$droppedFrameCount]: dart.nullable(core.int), + [$width]: core.int +})); +dart.setSetterSignature(html$.VideoElement, () => ({ + __proto__: dart.getSetters(html$.VideoElement.__proto__), + [$height]: core.int, + [S$3.$poster]: core.String, + [$width]: core.int +})); +dart.setLibraryUri(html$.VideoElement, I[148]); +dart.registerExtension("HTMLVideoElement", html$.VideoElement); +html$.VideoPlaybackQuality = class VideoPlaybackQuality extends _interceptors.Interceptor { + get [S$3.$corruptedVideoFrames]() { + return this.corruptedVideoFrames; + } + get [S$3.$creationTime]() { + return this.creationTime; + } + get [S$3.$droppedVideoFrames]() { + return this.droppedVideoFrames; + } + get [S$3.$totalVideoFrames]() { + return this.totalVideoFrames; + } +}; +dart.addTypeTests(html$.VideoPlaybackQuality); +dart.addTypeCaches(html$.VideoPlaybackQuality); +dart.setGetterSignature(html$.VideoPlaybackQuality, () => ({ + __proto__: dart.getGetters(html$.VideoPlaybackQuality.__proto__), + [S$3.$corruptedVideoFrames]: dart.nullable(core.int), + [S$3.$creationTime]: dart.nullable(core.num), + [S$3.$droppedVideoFrames]: dart.nullable(core.int), + [S$3.$totalVideoFrames]: dart.nullable(core.int) +})); +dart.setLibraryUri(html$.VideoPlaybackQuality, I[148]); +dart.registerExtension("VideoPlaybackQuality", html$.VideoPlaybackQuality); +html$.VideoTrack = class VideoTrack extends _interceptors.Interceptor { + get [S.$id]() { + return this.id; + } + get [S$.$kind]() { + return this.kind; + } + get [S$.$label]() { + return this.label; + } + get [S$1.$language]() { + return this.language; + } + get [S$.$selected]() { + return this.selected; + } + set [S$.$selected](value) { + this.selected = value; + } + get [S$3.$sourceBuffer]() { + return this.sourceBuffer; + } +}; +dart.addTypeTests(html$.VideoTrack); +dart.addTypeCaches(html$.VideoTrack); +dart.setGetterSignature(html$.VideoTrack, () => ({ + __proto__: dart.getGetters(html$.VideoTrack.__proto__), + [S.$id]: dart.nullable(core.String), + [S$.$kind]: dart.nullable(core.String), + [S$.$label]: dart.nullable(core.String), + [S$1.$language]: dart.nullable(core.String), + [S$.$selected]: dart.nullable(core.bool), + [S$3.$sourceBuffer]: dart.nullable(html$.SourceBuffer) +})); +dart.setSetterSignature(html$.VideoTrack, () => ({ + __proto__: dart.getSetters(html$.VideoTrack.__proto__), + [S$.$selected]: dart.nullable(core.bool) +})); +dart.setLibraryUri(html$.VideoTrack, I[148]); +dart.registerExtension("VideoTrack", html$.VideoTrack); +html$.VideoTrackList = class VideoTrackList extends html$.EventTarget { + get [$length]() { + return this.length; + } + get [S$2.$selectedIndex]() { + return this.selectedIndex; + } + [S$.__getter__](...args) { + return this.__getter__.apply(this, args); + } + [S$1.$getTrackById](...args) { + return this.getTrackById.apply(this, args); + } + get [S.$onChange]() { + return html$.VideoTrackList.changeEvent.forTarget(this); + } +}; +dart.addTypeTests(html$.VideoTrackList); +dart.addTypeCaches(html$.VideoTrackList); +dart.setMethodSignature(html$.VideoTrackList, () => ({ + __proto__: dart.getMethods(html$.VideoTrackList.__proto__), + [S$.__getter__]: dart.fnType(html$.VideoTrack, [core.int]), + [S$1.$getTrackById]: dart.fnType(dart.nullable(html$.VideoTrack), [core.String]) +})); +dart.setGetterSignature(html$.VideoTrackList, () => ({ + __proto__: dart.getGetters(html$.VideoTrackList.__proto__), + [$length]: dart.nullable(core.int), + [S$2.$selectedIndex]: dart.nullable(core.int), + [S.$onChange]: async.Stream$(html$.Event) +})); +dart.setLibraryUri(html$.VideoTrackList, I[148]); +dart.defineLazy(html$.VideoTrackList, { + /*html$.VideoTrackList.changeEvent*/get changeEvent() { + return C[236] || CT.C236; + } +}, false); +dart.registerExtension("VideoTrackList", html$.VideoTrackList); +html$.VisualViewport = class VisualViewport extends html$.EventTarget { + get [$height]() { + return this.height; + } + get [S.$offsetLeft]() { + return this.offsetLeft; + } + get [S.$offsetTop]() { + return this.offsetTop; + } + get [S$3.$pageLeft]() { + return this.pageLeft; + } + get [S$3.$pageTop]() { + return this.pageTop; + } + get [S$.$scale]() { + return this.scale; + } + get [$width]() { + return this.width; + } + get [S.$onResize]() { + return html$.VisualViewport.resizeEvent.forTarget(this); + } + get [S.$onScroll]() { + return html$.VisualViewport.scrollEvent.forTarget(this); + } +}; +dart.addTypeTests(html$.VisualViewport); +dart.addTypeCaches(html$.VisualViewport); +dart.setGetterSignature(html$.VisualViewport, () => ({ + __proto__: dart.getGetters(html$.VisualViewport.__proto__), + [$height]: dart.nullable(core.num), + [S.$offsetLeft]: dart.nullable(core.num), + [S.$offsetTop]: dart.nullable(core.num), + [S$3.$pageLeft]: dart.nullable(core.num), + [S$3.$pageTop]: dart.nullable(core.num), + [S$.$scale]: dart.nullable(core.num), + [$width]: dart.nullable(core.num), + [S.$onResize]: async.Stream$(html$.Event), + [S.$onScroll]: async.Stream$(html$.Event) +})); +dart.setLibraryUri(html$.VisualViewport, I[148]); +dart.defineLazy(html$.VisualViewport, { + /*html$.VisualViewport.resizeEvent*/get resizeEvent() { + return C[274] || CT.C274; + }, + /*html$.VisualViewport.scrollEvent*/get scrollEvent() { + return C[275] || CT.C275; + } +}, false); +dart.registerExtension("VisualViewport", html$.VisualViewport); +html$.VttCue = class VttCue extends html$.TextTrackCue { + static new(startTime, endTime, text) { + if (startTime == null) dart.nullFailed(I[147], 31533, 22, "startTime"); + if (endTime == null) dart.nullFailed(I[147], 31533, 37, "endTime"); + if (text == null) dart.nullFailed(I[147], 31533, 53, "text"); + return html$.VttCue._create_1(startTime, endTime, text); + } + static _create_1(startTime, endTime, text) { + return new VTTCue(startTime, endTime, text); + } + get [S$3.$align]() { + return this.align; + } + set [S$3.$align](value) { + this.align = value; + } + get [S$3.$line]() { + return this.line; + } + set [S$3.$line](value) { + this.line = value; + } + get [S$0.$position]() { + return this.position; + } + set [S$0.$position](value) { + this.position = value; + } + get [S$1.$region]() { + return this.region; + } + set [S$1.$region](value) { + this.region = value; + } + get [S$.$size]() { + return this.size; + } + set [S$.$size](value) { + this.size = value; + } + get [S$3.$snapToLines]() { + return this.snapToLines; + } + set [S$3.$snapToLines](value) { + this.snapToLines = value; + } + get [S.$text]() { + return this.text; + } + set [S.$text](value) { + this.text = value; + } + get [S$3.$vertical]() { + return this.vertical; + } + set [S$3.$vertical](value) { + this.vertical = value; + } + [S$3.$getCueAsHtml](...args) { + return this.getCueAsHTML.apply(this, args); + } +}; +dart.addTypeTests(html$.VttCue); +dart.addTypeCaches(html$.VttCue); +dart.setMethodSignature(html$.VttCue, () => ({ + __proto__: dart.getMethods(html$.VttCue.__proto__), + [S$3.$getCueAsHtml]: dart.fnType(html$.DocumentFragment, []) +})); +dart.setGetterSignature(html$.VttCue, () => ({ + __proto__: dart.getGetters(html$.VttCue.__proto__), + [S$3.$align]: dart.nullable(core.String), + [S$3.$line]: dart.nullable(core.Object), + [S$0.$position]: dart.nullable(core.Object), + [S$1.$region]: dart.nullable(html$.VttRegion), + [S$.$size]: dart.nullable(core.num), + [S$3.$snapToLines]: dart.nullable(core.bool), + [S.$text]: dart.nullable(core.String), + [S$3.$vertical]: dart.nullable(core.String) +})); +dart.setSetterSignature(html$.VttCue, () => ({ + __proto__: dart.getSetters(html$.VttCue.__proto__), + [S$3.$align]: dart.nullable(core.String), + [S$3.$line]: dart.nullable(core.Object), + [S$0.$position]: dart.nullable(core.Object), + [S$1.$region]: dart.nullable(html$.VttRegion), + [S$.$size]: dart.nullable(core.num), + [S$3.$snapToLines]: dart.nullable(core.bool), + [S.$text]: dart.nullable(core.String), + [S$3.$vertical]: dart.nullable(core.String) +})); +dart.setLibraryUri(html$.VttCue, I[148]); +dart.registerExtension("VTTCue", html$.VttCue); +html$.VttRegion = class VttRegion extends _interceptors.Interceptor { + static new() { + return html$.VttRegion._create_1(); + } + static _create_1() { + return new VTTRegion(); + } + get [S.$id]() { + return this.id; + } + set [S.$id](value) { + this.id = value; + } + get [S$3.$lines]() { + return this.lines; + } + set [S$3.$lines](value) { + this.lines = value; + } + get [S$3.$regionAnchorX]() { + return this.regionAnchorX; + } + set [S$3.$regionAnchorX](value) { + this.regionAnchorX = value; + } + get [S$3.$regionAnchorY]() { + return this.regionAnchorY; + } + set [S$3.$regionAnchorY](value) { + this.regionAnchorY = value; + } + get [S.$scroll]() { + return this.scroll; + } + set [S.$scroll](value) { + this.scroll = value; + } + get [S$3.$viewportAnchorX]() { + return this.viewportAnchorX; + } + set [S$3.$viewportAnchorX](value) { + this.viewportAnchorX = value; + } + get [S$3.$viewportAnchorY]() { + return this.viewportAnchorY; + } + set [S$3.$viewportAnchorY](value) { + this.viewportAnchorY = value; + } + get [$width]() { + return this.width; + } + set [$width](value) { + this.width = value; + } +}; +dart.addTypeTests(html$.VttRegion); +dart.addTypeCaches(html$.VttRegion); +dart.setGetterSignature(html$.VttRegion, () => ({ + __proto__: dart.getGetters(html$.VttRegion.__proto__), + [S.$id]: dart.nullable(core.String), + [S$3.$lines]: dart.nullable(core.int), + [S$3.$regionAnchorX]: dart.nullable(core.num), + [S$3.$regionAnchorY]: dart.nullable(core.num), + [S.$scroll]: dart.nullable(core.String), + [S$3.$viewportAnchorX]: dart.nullable(core.num), + [S$3.$viewportAnchorY]: dart.nullable(core.num), + [$width]: dart.nullable(core.num) +})); +dart.setSetterSignature(html$.VttRegion, () => ({ + __proto__: dart.getSetters(html$.VttRegion.__proto__), + [S.$id]: dart.nullable(core.String), + [S$3.$lines]: dart.nullable(core.int), + [S$3.$regionAnchorX]: dart.nullable(core.num), + [S$3.$regionAnchorY]: dart.nullable(core.num), + [S.$scroll]: dart.nullable(core.String), + [S$3.$viewportAnchorX]: dart.nullable(core.num), + [S$3.$viewportAnchorY]: dart.nullable(core.num), + [$width]: dart.nullable(core.num) +})); +dart.setLibraryUri(html$.VttRegion, I[148]); +dart.registerExtension("VTTRegion", html$.VttRegion); +html$.WebSocket = class WebSocket$ extends html$.EventTarget { + static new(url, protocols = null) { + if (url == null) dart.nullFailed(I[147], 31712, 28, "url"); + if (protocols != null) { + return html$.WebSocket._create_1(url, protocols); + } + return html$.WebSocket._create_2(url); + } + static _create_1(url, protocols) { + return new WebSocket(url, protocols); + } + static _create_2(url) { + return new WebSocket(url); + } + static get supported() { + return typeof window.WebSocket != "undefined"; + } + get [S$2.$binaryType]() { + return this.binaryType; + } + set [S$2.$binaryType](value) { + this.binaryType = value; + } + get [S$2.$bufferedAmount]() { + return this.bufferedAmount; + } + get [S$3.$extensions]() { + return this.extensions; + } + get [S$.$protocol]() { + return this.protocol; + } + get [S.$readyState]() { + return this.readyState; + } + get [S$.$url]() { + return this.url; + } + [S.$close](...args) { + return this.close.apply(this, args); + } + [S$1.$send](...args) { + return this.send.apply(this, args); + } + [S$2.$sendBlob](...args) { + return this.send.apply(this, args); + } + [S$2.$sendByteBuffer](...args) { + return this.send.apply(this, args); + } + [S$2.$sendString](...args) { + return this.send.apply(this, args); + } + [S$2.$sendTypedData](...args) { + return this.send.apply(this, args); + } + get [S.$onClose]() { + return html$.WebSocket.closeEvent.forTarget(this); + } + get [S.$onError]() { + return html$.WebSocket.errorEvent.forTarget(this); + } + get [S$.$onMessage]() { + return html$.WebSocket.messageEvent.forTarget(this); + } + get [S$1.$onOpen]() { + return html$.WebSocket.openEvent.forTarget(this); + } +}; +dart.addTypeTests(html$.WebSocket); +dart.addTypeCaches(html$.WebSocket); +dart.setMethodSignature(html$.WebSocket, () => ({ + __proto__: dart.getMethods(html$.WebSocket.__proto__), + [S.$close]: dart.fnType(dart.void, [], [dart.nullable(core.int), dart.nullable(core.String)]), + [S$1.$send]: dart.fnType(dart.void, [dart.dynamic]), + [S$2.$sendBlob]: dart.fnType(dart.void, [html$.Blob]), + [S$2.$sendByteBuffer]: dart.fnType(dart.void, [typed_data.ByteBuffer]), + [S$2.$sendString]: dart.fnType(dart.void, [core.String]), + [S$2.$sendTypedData]: dart.fnType(dart.void, [typed_data.TypedData]) +})); +dart.setGetterSignature(html$.WebSocket, () => ({ + __proto__: dart.getGetters(html$.WebSocket.__proto__), + [S$2.$binaryType]: dart.nullable(core.String), + [S$2.$bufferedAmount]: dart.nullable(core.int), + [S$3.$extensions]: dart.nullable(core.String), + [S$.$protocol]: dart.nullable(core.String), + [S.$readyState]: core.int, + [S$.$url]: dart.nullable(core.String), + [S.$onClose]: async.Stream$(html$.CloseEvent), + [S.$onError]: async.Stream$(html$.Event), + [S$.$onMessage]: async.Stream$(html$.MessageEvent), + [S$1.$onOpen]: async.Stream$(html$.Event) +})); +dart.setSetterSignature(html$.WebSocket, () => ({ + __proto__: dart.getSetters(html$.WebSocket.__proto__), + [S$2.$binaryType]: dart.nullable(core.String) +})); +dart.setLibraryUri(html$.WebSocket, I[148]); +dart.defineLazy(html$.WebSocket, { + /*html$.WebSocket.closeEvent*/get closeEvent() { + return C[387] || CT.C387; + }, + /*html$.WebSocket.errorEvent*/get errorEvent() { + return C[216] || CT.C216; + }, + /*html$.WebSocket.messageEvent*/get messageEvent() { + return C[312] || CT.C312; + }, + /*html$.WebSocket.openEvent*/get openEvent() { + return C[330] || CT.C330; + }, + /*html$.WebSocket.CLOSED*/get CLOSED() { + return 3; + }, + /*html$.WebSocket.CLOSING*/get CLOSING() { + return 2; + }, + /*html$.WebSocket.CONNECTING*/get CONNECTING() { + return 0; + }, + /*html$.WebSocket.OPEN*/get OPEN() { + return 1; + } +}, false); +dart.registerExtension("WebSocket", html$.WebSocket); +html$.WheelEvent = class WheelEvent$ extends html$.MouseEvent { + static new(type, opts) { + if (type == null) dart.nullFailed(I[147], 31817, 29, "type"); + let view = opts && 'view' in opts ? opts.view : null; + let deltaX = opts && 'deltaX' in opts ? opts.deltaX : 0; + if (deltaX == null) dart.nullFailed(I[147], 31819, 11, "deltaX"); + let deltaY = opts && 'deltaY' in opts ? opts.deltaY : 0; + if (deltaY == null) dart.nullFailed(I[147], 31820, 11, "deltaY"); + let deltaZ = opts && 'deltaZ' in opts ? opts.deltaZ : 0; + if (deltaZ == null) dart.nullFailed(I[147], 31821, 11, "deltaZ"); + let deltaMode = opts && 'deltaMode' in opts ? opts.deltaMode : 0; + if (deltaMode == null) dart.nullFailed(I[147], 31822, 11, "deltaMode"); + let detail = opts && 'detail' in opts ? opts.detail : 0; + if (detail == null) dart.nullFailed(I[147], 31823, 11, "detail"); + let screenX = opts && 'screenX' in opts ? opts.screenX : 0; + if (screenX == null) dart.nullFailed(I[147], 31824, 11, "screenX"); + let screenY = opts && 'screenY' in opts ? opts.screenY : 0; + if (screenY == null) dart.nullFailed(I[147], 31825, 11, "screenY"); + let clientX = opts && 'clientX' in opts ? opts.clientX : 0; + if (clientX == null) dart.nullFailed(I[147], 31826, 11, "clientX"); + let clientY = opts && 'clientY' in opts ? opts.clientY : 0; + if (clientY == null) dart.nullFailed(I[147], 31827, 11, "clientY"); + let button = opts && 'button' in opts ? opts.button : 0; + if (button == null) dart.nullFailed(I[147], 31828, 11, "button"); + let canBubble = opts && 'canBubble' in opts ? opts.canBubble : true; + if (canBubble == null) dart.nullFailed(I[147], 31829, 12, "canBubble"); + let cancelable = opts && 'cancelable' in opts ? opts.cancelable : true; + if (cancelable == null) dart.nullFailed(I[147], 31830, 12, "cancelable"); + let ctrlKey = opts && 'ctrlKey' in opts ? opts.ctrlKey : false; + if (ctrlKey == null) dart.nullFailed(I[147], 31831, 12, "ctrlKey"); + let altKey = opts && 'altKey' in opts ? opts.altKey : false; + if (altKey == null) dart.nullFailed(I[147], 31832, 12, "altKey"); + let shiftKey = opts && 'shiftKey' in opts ? opts.shiftKey : false; + if (shiftKey == null) dart.nullFailed(I[147], 31833, 12, "shiftKey"); + let metaKey = opts && 'metaKey' in opts ? opts.metaKey : false; + if (metaKey == null) dart.nullFailed(I[147], 31834, 12, "metaKey"); + let relatedTarget = opts && 'relatedTarget' in opts ? opts.relatedTarget : null; + let options = new (T$.IdentityMapOfString$ObjectN()).from(["view", view, "deltaMode", deltaMode, "deltaX", deltaX, "deltaY", deltaY, "deltaZ", deltaZ, "detail", detail, "screenX", screenX, "screenY", screenY, "clientX", clientX, "clientY", clientY, "button", button, "bubbles", canBubble, "cancelable", cancelable, "ctrlKey", ctrlKey, "altKey", altKey, "shiftKey", shiftKey, "metaKey", metaKey, "relatedTarget", relatedTarget]); + if (view == null) { + view = html$.window; + } + return new WheelEvent(type, html_common.convertDartToNative_Dictionary(options)); + } + static __(type, eventInitDict = null) { + if (type == null) dart.nullFailed(I[147], 31865, 31, "type"); + if (eventInitDict != null) { + let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); + return html$.WheelEvent._create_1(type, eventInitDict_1); + } + return html$.WheelEvent._create_2(type); + } + static _create_1(type, eventInitDict) { + return new WheelEvent(type, eventInitDict); + } + static _create_2(type) { + return new WheelEvent(type); + } + get [S$3._deltaX]() { + return this.deltaX; + } + get [S$3._deltaY]() { + return this.deltaY; + } + get [S$3.$deltaZ]() { + return this.deltaZ; + } + get [S$2.$deltaY]() { + let value = this.deltaY; + if (value != null) return value; + dart.throw(new core.UnsupportedError.new("deltaY is not supported")); + } + get [S$2.$deltaX]() { + let value = this.deltaX; + if (value != null) return value; + dart.throw(new core.UnsupportedError.new("deltaX is not supported")); + } + get [S$3.$deltaMode]() { + if (!!this.deltaMode) { + return this.deltaMode; + } + return 0; + } + get [S$3._wheelDelta]() { + return this.wheelDelta; + } + get [S$3._wheelDeltaX]() { + return this.wheelDeltaX; + } + get [S$0._detail]() { + return this.detail; + } + get [S$3._hasInitMouseScrollEvent]() { + return !!this.initMouseScrollEvent; + } + [S$3._initMouseScrollEvent](...args) { + return this.initMouseScrollEvent.apply(this, args); + } + get [S$3._hasInitWheelEvent]() { + return !!this.initWheelEvent; + } + [S$3._initWheelEvent](...args) { + return this.initWheelEvent.apply(this, args); + } +}; +dart.addTypeTests(html$.WheelEvent); +dart.addTypeCaches(html$.WheelEvent); +dart.setMethodSignature(html$.WheelEvent, () => ({ + __proto__: dart.getMethods(html$.WheelEvent.__proto__), + [S$3._initMouseScrollEvent]: dart.fnType(dart.void, [core.String, core.bool, core.bool, html$.Window, core.int, core.int, core.int, core.int, core.int, core.bool, core.bool, core.bool, core.bool, core.int, html$.EventTarget, core.int]), + [S$3._initWheelEvent]: dart.fnType(dart.void, [core.String, core.bool, core.bool, html$.Window, core.int, core.int, core.int, core.int, core.int, core.int, html$.EventTarget, core.String, core.int, core.int, core.int, core.int]) +})); +dart.setGetterSignature(html$.WheelEvent, () => ({ + __proto__: dart.getGetters(html$.WheelEvent.__proto__), + [S$3._deltaX]: dart.nullable(core.num), + [S$3._deltaY]: dart.nullable(core.num), + [S$3.$deltaZ]: dart.nullable(core.num), + [S$2.$deltaY]: core.num, + [S$2.$deltaX]: core.num, + [S$3.$deltaMode]: core.int, + [S$3._wheelDelta]: core.num, + [S$3._wheelDeltaX]: core.num, + [S$0._detail]: core.num, + [S$3._hasInitMouseScrollEvent]: core.bool, + [S$3._hasInitWheelEvent]: core.bool +})); +dart.setLibraryUri(html$.WheelEvent, I[148]); +dart.defineLazy(html$.WheelEvent, { + /*html$.WheelEvent.DOM_DELTA_LINE*/get DOM_DELTA_LINE() { + return 1; + }, + /*html$.WheelEvent.DOM_DELTA_PAGE*/get DOM_DELTA_PAGE() { + return 2; + }, + /*html$.WheelEvent.DOM_DELTA_PIXEL*/get DOM_DELTA_PIXEL() { + return 0; + } +}, false); +dart.registerExtension("WheelEvent", html$.WheelEvent); +html$.Window = class Window extends html$.EventTarget { + get [S$3.$animationFrame]() { + let completer = T$0.CompleterOfnum().sync(); + this[S$3.$requestAnimationFrame](dart.fn(time => { + if (time == null) dart.nullFailed(I[147], 32037, 28, "time"); + completer.complete(time); + }, T$0.numTovoid())); + return completer.future; + } + get [S$3.$document]() { + return this.document; + } + [S$3._open2](url, name) { + return this.open(url, name); + } + [S$3._open3](url, name, options) { + return this.open(url, name, options); + } + [S.$open](url, name, options = null) { + if (url == null) dart.nullFailed(I[147], 32068, 26, "url"); + if (name == null) dart.nullFailed(I[147], 32068, 38, "name"); + if (options == null) { + return html$._DOMWindowCrossFrame._createSafe(this[S$3._open2](url, name)); + } else { + return html$._DOMWindowCrossFrame._createSafe(this[S$3._open3](url, name, options)); + } + } + get [S$0.$location]() { + return html$.Location.as(this[S$3._location]); + } + set [S$0.$location](value) { + if (value == null) dart.nullFailed(I[147], 32091, 16, "value"); + this[S$3._location] = value; + } + get [S$3._location]() { + return this.location; + } + set [S$3._location](value) { + this.location = value; + } + [S$3.$requestAnimationFrame](callback) { + if (callback == null) dart.nullFailed(I[147], 32117, 50, "callback"); + this[S$3._ensureRequestAnimationFrame](); + return this[S$3._requestAnimationFrame](dart.nullCheck(html$._wrapZone(core.num, callback))); + } + [S$3.$cancelAnimationFrame](id) { + if (id == null) dart.nullFailed(I[147], 32130, 33, "id"); + this[S$3._ensureRequestAnimationFrame](); + this[S$3._cancelAnimationFrame](id); + } + [S$3._requestAnimationFrame](...args) { + return this.requestAnimationFrame.apply(this, args); + } + [S$3._cancelAnimationFrame](...args) { + return this.cancelAnimationFrame.apply(this, args); + } + [S$3._ensureRequestAnimationFrame]() { + if (!!(this.requestAnimationFrame && this.cancelAnimationFrame)) return; + (function($this) { + var vendors = ['ms', 'moz', 'webkit', 'o']; + for (var i = 0; i < vendors.length && !$this.requestAnimationFrame; ++i) { + $this.requestAnimationFrame = $this[vendors[i] + 'RequestAnimationFrame']; + $this.cancelAnimationFrame = $this[vendors[i] + 'CancelAnimationFrame'] || $this[vendors[i] + 'CancelRequestAnimationFrame']; + } + if ($this.requestAnimationFrame && $this.cancelAnimationFrame) return; + $this.requestAnimationFrame = function(callback) { + return window.setTimeout(function() { + callback(Date.now()); + }, 16); + }; + $this.cancelAnimationFrame = function(id) { + clearTimeout(id); + }; + })(this); + } + get [S$0.$indexedDB]() { + return this.indexedDB || this.webkitIndexedDB || this.mozIndexedDB; + } + get [S$2.$console]() { + return html$.Console._safeConsole; + } + [S$3.$requestFileSystem](size, opts) { + if (size == null) dart.nullFailed(I[147], 32198, 44, "size"); + let persistent = opts && 'persistent' in opts ? opts.persistent : false; + if (persistent == null) dart.nullFailed(I[147], 32198, 56, "persistent"); + return this[S$3._requestFileSystem](dart.test(persistent) ? 1 : 0, size); + } + static get supportsPointConversions() { + return html$.DomPoint.supported; + } + get [S$3.$animationWorklet]() { + return this.animationWorklet; + } + get [S$3.$applicationCache]() { + return this.applicationCache; + } + get [S$3.$audioWorklet]() { + return this.audioWorklet; + } + get [S$0.$caches]() { + return this.caches; + } + get [S$1.$closed]() { + return this.closed; + } + get [S$3.$cookieStore]() { + return this.cookieStore; + } + get [S$0.$crypto]() { + return this.crypto; + } + get [S$3.$customElements]() { + return this.customElements; + } + get [S$3.$defaultStatus]() { + return this.defaultStatus; + } + set [S$3.$defaultStatus](value) { + this.defaultStatus = value; + } + get [S$3.$defaultstatus]() { + return this.defaultstatus; + } + set [S$3.$defaultstatus](value) { + this.defaultstatus = value; + } + get [S$2.$devicePixelRatio]() { + return this.devicePixelRatio; + } + get [S$3.$external]() { + return this.external; + } + get [S$3.$history]() { + return this.history; + } + get [S$3.$innerHeight]() { + return this.innerHeight; + } + get [S$3.$innerWidth]() { + return this.innerWidth; + } + get [S$0.$isSecureContext]() { + return this.isSecureContext; + } + get [S$3.$localStorage]() { + return this.localStorage; + } + get [S$3.$locationbar]() { + return this.locationbar; + } + get [S$3.$menubar]() { + return this.menubar; + } + get [$name]() { + return this.name; + } + set [$name](value) { + this.name = value; + } + get [S$0.$navigator]() { + return this.navigator; + } + get [S$3.$offscreenBuffering]() { + return this.offscreenBuffering; + } + get [S$3.$opener]() { + return html$._convertNativeToDart_Window(this[S$3._get_opener]); + } + get [S$3._get_opener]() { + return this.opener; + } + set [S$3.$opener](value) { + this.opener = value; + } + get [S$.$orientation]() { + return this.orientation; + } + get [S$.$origin]() { + return this.origin; + } + get [S$3.$outerHeight]() { + return this.outerHeight; + } + get [S$3.$outerWidth]() { + return this.outerWidth; + } + get [S$3._pageXOffset]() { + return this.pageXOffset; + } + get [S$3._pageYOffset]() { + return this.pageYOffset; + } + get [S.$parent]() { + return html$._convertNativeToDart_Window(this[S$3._get_parent]); + } + get [S$3._get_parent]() { + return this.parent; + } + get [S$0.$performance]() { + return this.performance; + } + get [S$1.$screen]() { + return this.screen; + } + get [S$3.$screenLeft]() { + return this.screenLeft; + } + get [S$3.$screenTop]() { + return this.screenTop; + } + get [S$3.$screenX]() { + return this.screenX; + } + get [S$3.$screenY]() { + return this.screenY; + } + get [S$3.$scrollbars]() { + return this.scrollbars; + } + get [S$0.$self]() { + return html$._convertNativeToDart_Window(this[S$3._get_self]); + } + get [S$3._get_self]() { + return this.self; + } + get [S$3.$sessionStorage]() { + return this.sessionStorage; + } + get [S$3.$speechSynthesis]() { + return this.speechSynthesis; + } + get [S$.$status]() { + return this.status; + } + set [S$.$status](value) { + this.status = value; + } + get [S$3.$statusbar]() { + return this.statusbar; + } + get [S$3.$styleMedia]() { + return this.styleMedia; + } + get [S$3.$toolbar]() { + return this.toolbar; + } + get [$top]() { + return html$._convertNativeToDart_Window(this[S$3._get_top]); + } + get [S$3._get_top]() { + return this.top; + } + get [S$3.$visualViewport]() { + return this.visualViewport; + } + get [S$0.$window]() { + return html$._convertNativeToDart_Window(this[S$0._get_window]); + } + get [S$0._get_window]() { + return this.window; + } + [S$.__getter__](index_OR_name) { + if (core.int.is(index_OR_name)) { + return dart.nullCheck(html$._convertNativeToDart_Window(this[S$3.__getter___1](index_OR_name))); + } + if (typeof index_OR_name == 'string') { + return dart.nullCheck(html$._convertNativeToDart_Window(this[S$3.__getter___2](index_OR_name))); + } + dart.throw(new core.ArgumentError.new("Incorrect number or type of arguments")); + } + [S$3.__getter___1](...args) { + return this.__getter__.apply(this, args); + } + [S$3.__getter___2](...args) { + return this.__getter__.apply(this, args); + } + [S$3.$alert](...args) { + return this.alert.apply(this, args); + } + [S$3.$cancelIdleCallback](...args) { + return this.cancelIdleCallback.apply(this, args); + } + [S.$close](...args) { + return this.close.apply(this, args); + } + [S$3.$confirm](...args) { + return this.confirm.apply(this, args); + } + [S$.$fetch](input, init = null) { + let init_dict = null; + if (init != null) { + init_dict = html_common.convertDartToNative_Dictionary(init); + } + return js_util.promiseToFuture(dart.dynamic, this.fetch(input, init_dict)); + } + [S$3.$find](...args) { + return this.find.apply(this, args); + } + [S._getComputedStyle](...args) { + return this.getComputedStyle.apply(this, args); + } + [S$3.$getComputedStyleMap](...args) { + return this.getComputedStyleMap.apply(this, args); + } + [S$3.$getMatchedCssRules](...args) { + return this.getMatchedCSSRules.apply(this, args); + } + [S$1.$getSelection](...args) { + return this.getSelection.apply(this, args); + } + [S$3.$matchMedia](...args) { + return this.matchMedia.apply(this, args); + } + [S$3.$moveBy](...args) { + return this.moveBy.apply(this, args); + } + [S$0._moveTo](...args) { + return this.moveTo.apply(this, args); + } + [S$3._openDatabase](...args) { + return this.openDatabase.apply(this, args); + } + [S$.$postMessage](message, targetOrigin, transfer = null) { + if (targetOrigin == null) dart.nullFailed(I[147], 32972, 44, "targetOrigin"); + if (transfer != null) { + let message_1 = html_common.convertDartToNative_SerializedScriptValue(message); + this[S$0._postMessage_1](message_1, targetOrigin, transfer); + return; + } + let message_1 = html_common.convertDartToNative_SerializedScriptValue(message); + this[S$0._postMessage_2](message_1, targetOrigin); + return; + } + [S$0._postMessage_1](...args) { + return this.postMessage.apply(this, args); + } + [S$0._postMessage_2](...args) { + return this.postMessage.apply(this, args); + } + [S$3.$print](...args) { + return this.print.apply(this, args); + } + [S$3.$requestIdleCallback](callback, options = null) { + if (callback == null) dart.nullFailed(I[147], 32999, 47, "callback"); + if (options != null) { + let callback_1 = _js_helper.convertDartClosureToJS(T$0.IdleDeadlineTovoid(), callback, 1); + let options_2 = html_common.convertDartToNative_Dictionary(options); + return this[S$3._requestIdleCallback_1](callback_1, options_2); + } + let callback_1 = _js_helper.convertDartClosureToJS(T$0.IdleDeadlineTovoid(), callback, 1); + return this[S$3._requestIdleCallback_2](callback_1); + } + [S$3._requestIdleCallback_1](...args) { + return this.requestIdleCallback.apply(this, args); + } + [S$3._requestIdleCallback_2](...args) { + return this.requestIdleCallback.apply(this, args); + } + [S$3.$resizeBy](...args) { + return this.resizeBy.apply(this, args); + } + [S$3.$resizeTo](...args) { + return this.resizeTo.apply(this, args); + } + [S.$scroll](options_OR_x = null, y = null, scrollOptions = null) { + if (options_OR_x == null && y == null && scrollOptions == null) { + this[S._scroll_1](); + return; + } + if (core.Map.is(options_OR_x) && y == null && scrollOptions == null) { + let options_1 = html_common.convertDartToNative_Dictionary(options_OR_x); + this[S._scroll_2](options_1); + return; + } + if (typeof y == 'number' && typeof options_OR_x == 'number' && scrollOptions == null) { + this[S._scroll_3](options_OR_x, y); + return; + } + if (core.int.is(y) && core.int.is(options_OR_x) && scrollOptions == null) { + this[S$3._scroll_4](options_OR_x, y); + return; + } + if (scrollOptions != null && core.int.is(y) && core.int.is(options_OR_x)) { + let scrollOptions_1 = html_common.convertDartToNative_Dictionary(scrollOptions); + this[S$3._scroll_5](options_OR_x, y, scrollOptions_1); + return; + } + dart.throw(new core.ArgumentError.new("Incorrect number or type of arguments")); + } + [S._scroll_1](...args) { + return this.scroll.apply(this, args); + } + [S._scroll_2](...args) { + return this.scroll.apply(this, args); + } + [S._scroll_3](...args) { + return this.scroll.apply(this, args); + } + [S$3._scroll_4](...args) { + return this.scroll.apply(this, args); + } + [S$3._scroll_5](...args) { + return this.scroll.apply(this, args); + } + [S.$scrollBy](options_OR_x = null, y = null, scrollOptions = null) { + if (options_OR_x == null && y == null && scrollOptions == null) { + this[S._scrollBy_1](); + return; + } + if (core.Map.is(options_OR_x) && y == null && scrollOptions == null) { + let options_1 = html_common.convertDartToNative_Dictionary(options_OR_x); + this[S._scrollBy_2](options_1); + return; + } + if (typeof y == 'number' && typeof options_OR_x == 'number' && scrollOptions == null) { + this[S._scrollBy_3](options_OR_x, y); + return; + } + if (core.int.is(y) && core.int.is(options_OR_x) && scrollOptions == null) { + this[S$3._scrollBy_4](options_OR_x, y); + return; + } + if (scrollOptions != null && core.int.is(y) && core.int.is(options_OR_x)) { + let scrollOptions_1 = html_common.convertDartToNative_Dictionary(scrollOptions); + this[S$3._scrollBy_5](options_OR_x, y, scrollOptions_1); + return; + } + dart.throw(new core.ArgumentError.new("Incorrect number or type of arguments")); + } + [S._scrollBy_1](...args) { + return this.scrollBy.apply(this, args); + } + [S._scrollBy_2](...args) { + return this.scrollBy.apply(this, args); + } + [S._scrollBy_3](...args) { + return this.scrollBy.apply(this, args); + } + [S$3._scrollBy_4](...args) { + return this.scrollBy.apply(this, args); + } + [S$3._scrollBy_5](...args) { + return this.scrollBy.apply(this, args); + } + [S.$scrollTo](options_OR_x = null, y = null, scrollOptions = null) { + if (options_OR_x == null && y == null && scrollOptions == null) { + this[S._scrollTo_1](); + return; + } + if (core.Map.is(options_OR_x) && y == null && scrollOptions == null) { + let options_1 = html_common.convertDartToNative_Dictionary(options_OR_x); + this[S._scrollTo_2](options_1); + return; + } + if (typeof y == 'number' && typeof options_OR_x == 'number' && scrollOptions == null) { + this[S._scrollTo_3](options_OR_x, y); + return; + } + if (core.int.is(y) && core.int.is(options_OR_x) && scrollOptions == null) { + this[S$3._scrollTo_4](options_OR_x, y); + return; + } + if (scrollOptions != null && core.int.is(y) && core.int.is(options_OR_x)) { + let scrollOptions_1 = html_common.convertDartToNative_Dictionary(scrollOptions); + this[S$3._scrollTo_5](options_OR_x, y, scrollOptions_1); + return; + } + dart.throw(new core.ArgumentError.new("Incorrect number or type of arguments")); + } + [S._scrollTo_1](...args) { + return this.scrollTo.apply(this, args); + } + [S._scrollTo_2](...args) { + return this.scrollTo.apply(this, args); + } + [S._scrollTo_3](...args) { + return this.scrollTo.apply(this, args); + } + [S$3._scrollTo_4](...args) { + return this.scrollTo.apply(this, args); + } + [S$3._scrollTo_5](...args) { + return this.scrollTo.apply(this, args); + } + [S$.$stop](...args) { + return this.stop.apply(this, args); + } + [S$3.__requestFileSystem](...args) { + return this.webkitRequestFileSystem.apply(this, args); + } + [S$3._requestFileSystem](type, size) { + if (type == null) dart.nullFailed(I[147], 33332, 45, "type"); + if (size == null) dart.nullFailed(I[147], 33332, 55, "size"); + let completer = T$0.CompleterOfFileSystem().new(); + this[S$3.__requestFileSystem](type, size, dart.fn(value => { + if (value == null) dart.nullFailed(I[147], 33334, 38, "value"); + _js_helper.applyExtension("DOMFileSystem", value); + _js_helper.applyExtension("DirectoryEntry", value.root); + completer.complete(value); + }, T$0.FileSystemTovoid()), dart.fn(error => { + if (error == null) dart.nullFailed(I[147], 33338, 9, "error"); + completer.completeError(error); + }, T$0.DomExceptionTovoid())); + return completer.future; + } + [S$3._resolveLocalFileSystemUrl](...args) { + return this.webkitResolveLocalFileSystemURL.apply(this, args); + } + [S$3.$resolveLocalFileSystemUrl](url) { + if (url == null) dart.nullFailed(I[147], 33369, 50, "url"); + let completer = T$0.CompleterOfEntry().new(); + this[S$3._resolveLocalFileSystemUrl](url, dart.fn(value => { + if (value == null) dart.nullFailed(I[147], 33371, 38, "value"); + completer.complete(value); + }, T$0.EntryTovoid()), dart.fn(error => { + if (error == null) dart.nullFailed(I[147], 33373, 9, "error"); + completer.completeError(error); + }, T$0.DomExceptionTovoid())); + return completer.future; + } + [S$0.$atob](...args) { + return this.atob.apply(this, args); + } + [S$0.$btoa](...args) { + return this.btoa.apply(this, args); + } + [S$0._setInterval_String](...args) { + return this.setInterval.apply(this, args); + } + [S$0._setTimeout_String](...args) { + return this.setTimeout.apply(this, args); + } + [S$0._clearInterval](...args) { + return this.clearInterval.apply(this, args); + } + [S$0._clearTimeout](...args) { + return this.clearTimeout.apply(this, args); + } + [S$0._setInterval](...args) { + return this.setInterval.apply(this, args); + } + [S$0._setTimeout](...args) { + return this.setTimeout.apply(this, args); + } + get [S$3.$onContentLoaded]() { + return html$.Window.contentLoadedEvent.forTarget(this); + } + get [S.$onAbort]() { + return html$.Element.abortEvent.forTarget(this); + } + get [S.$onBlur]() { + return html$.Element.blurEvent.forTarget(this); + } + get [S.$onCanPlay]() { + return html$.Element.canPlayEvent.forTarget(this); + } + get [S.$onCanPlayThrough]() { + return html$.Element.canPlayThroughEvent.forTarget(this); + } + get [S.$onChange]() { + return html$.Element.changeEvent.forTarget(this); + } + get [S.$onClick]() { + return html$.Element.clickEvent.forTarget(this); + } + get [S.$onContextMenu]() { + return html$.Element.contextMenuEvent.forTarget(this); + } + get [S.$onDoubleClick]() { + return html$.Element.doubleClickEvent.forTarget(this); + } + get [S$3.$onDeviceMotion]() { + return html$.Window.deviceMotionEvent.forTarget(this); + } + get [S$3.$onDeviceOrientation]() { + return html$.Window.deviceOrientationEvent.forTarget(this); + } + get [S.$onDrag]() { + return html$.Element.dragEvent.forTarget(this); + } + get [S.$onDragEnd]() { + return html$.Element.dragEndEvent.forTarget(this); + } + get [S.$onDragEnter]() { + return html$.Element.dragEnterEvent.forTarget(this); + } + get [S.$onDragLeave]() { + return html$.Element.dragLeaveEvent.forTarget(this); + } + get [S.$onDragOver]() { + return html$.Element.dragOverEvent.forTarget(this); + } + get [S.$onDragStart]() { + return html$.Element.dragStartEvent.forTarget(this); + } + get [S.$onDrop]() { + return html$.Element.dropEvent.forTarget(this); + } + get [S.$onDurationChange]() { + return html$.Element.durationChangeEvent.forTarget(this); + } + get [S.$onEmptied]() { + return html$.Element.emptiedEvent.forTarget(this); + } + get [S.$onEnded]() { + return html$.Element.endedEvent.forTarget(this); + } + get [S.$onError]() { + return html$.Element.errorEvent.forTarget(this); + } + get [S.$onFocus]() { + return html$.Element.focusEvent.forTarget(this); + } + get [S$.$onHashChange]() { + return html$.Window.hashChangeEvent.forTarget(this); + } + get [S.$onInput]() { + return html$.Element.inputEvent.forTarget(this); + } + get [S.$onInvalid]() { + return html$.Element.invalidEvent.forTarget(this); + } + get [S.$onKeyDown]() { + return html$.Element.keyDownEvent.forTarget(this); + } + get [S.$onKeyPress]() { + return html$.Element.keyPressEvent.forTarget(this); + } + get [S.$onKeyUp]() { + return html$.Element.keyUpEvent.forTarget(this); + } + get [S.$onLoad]() { + return html$.Element.loadEvent.forTarget(this); + } + get [S.$onLoadedData]() { + return html$.Element.loadedDataEvent.forTarget(this); + } + get [S.$onLoadedMetadata]() { + return html$.Element.loadedMetadataEvent.forTarget(this); + } + get [S$1.$onLoadStart]() { + return html$.Window.loadStartEvent.forTarget(this); + } + get [S$.$onMessage]() { + return html$.Window.messageEvent.forTarget(this); + } + get [S.$onMouseDown]() { + return html$.Element.mouseDownEvent.forTarget(this); + } + get [S.$onMouseEnter]() { + return html$.Element.mouseEnterEvent.forTarget(this); + } + get [S.$onMouseLeave]() { + return html$.Element.mouseLeaveEvent.forTarget(this); + } + get [S.$onMouseMove]() { + return html$.Element.mouseMoveEvent.forTarget(this); + } + get [S.$onMouseOut]() { + return html$.Element.mouseOutEvent.forTarget(this); + } + get [S.$onMouseOver]() { + return html$.Element.mouseOverEvent.forTarget(this); + } + get [S.$onMouseUp]() { + return html$.Element.mouseUpEvent.forTarget(this); + } + get [S.$onMouseWheel]() { + return html$.Element.mouseWheelEvent.forTarget(this); + } + get [S$.$onOffline]() { + return html$.Window.offlineEvent.forTarget(this); + } + get [S$.$onOnline]() { + return html$.Window.onlineEvent.forTarget(this); + } + get [S$3.$onPageHide]() { + return html$.Window.pageHideEvent.forTarget(this); + } + get [S$3.$onPageShow]() { + return html$.Window.pageShowEvent.forTarget(this); + } + get [S.$onPause]() { + return html$.Element.pauseEvent.forTarget(this); + } + get [S.$onPlay]() { + return html$.Element.playEvent.forTarget(this); + } + get [S.$onPlaying]() { + return html$.Element.playingEvent.forTarget(this); + } + get [S$.$onPopState]() { + return html$.Window.popStateEvent.forTarget(this); + } + get [S$.$onProgress]() { + return html$.Window.progressEvent.forTarget(this); + } + get [S.$onRateChange]() { + return html$.Element.rateChangeEvent.forTarget(this); + } + get [S.$onReset]() { + return html$.Element.resetEvent.forTarget(this); + } + get [S.$onResize]() { + return html$.Element.resizeEvent.forTarget(this); + } + get [S.$onScroll]() { + return html$.Element.scrollEvent.forTarget(this); + } + get [S.$onSearch]() { + return html$.Element.searchEvent.forTarget(this); + } + get [S.$onSeeked]() { + return html$.Element.seekedEvent.forTarget(this); + } + get [S.$onSeeking]() { + return html$.Element.seekingEvent.forTarget(this); + } + get [S.$onSelect]() { + return html$.Element.selectEvent.forTarget(this); + } + get [S.$onStalled]() { + return html$.Element.stalledEvent.forTarget(this); + } + get [S$.$onStorage]() { + return html$.Window.storageEvent.forTarget(this); + } + get [S.$onSubmit]() { + return html$.Element.submitEvent.forTarget(this); + } + get [S$.$onSuspend]() { + return html$.Element.suspendEvent.forTarget(this); + } + get [S$.$onTimeUpdate]() { + return html$.Element.timeUpdateEvent.forTarget(this); + } + get [S$.$onTouchCancel]() { + return html$.Element.touchCancelEvent.forTarget(this); + } + get [S$.$onTouchEnd]() { + return html$.Element.touchEndEvent.forTarget(this); + } + get [S$.$onTouchMove]() { + return html$.Element.touchMoveEvent.forTarget(this); + } + get [S$.$onTouchStart]() { + return html$.Element.touchStartEvent.forTarget(this); + } + get [S$.$onTransitionEnd]() { + return html$.Element.transitionEndEvent.forTarget(this); + } + get [S$.$onUnload]() { + return html$.Window.unloadEvent.forTarget(this); + } + get [S$.$onVolumeChange]() { + return html$.Element.volumeChangeEvent.forTarget(this); + } + get [S$.$onWaiting]() { + return html$.Element.waitingEvent.forTarget(this); + } + get [S$3.$onAnimationEnd]() { + return html$.Window.animationEndEvent.forTarget(this); + } + get [S$3.$onAnimationIteration]() { + return html$.Window.animationIterationEvent.forTarget(this); + } + get [S$3.$onAnimationStart]() { + return html$.Window.animationStartEvent.forTarget(this); + } + get [S$3.$onBeforeUnload]() { + return html$.Window.beforeUnloadEvent.forTarget(this); + } + get [S$.$onWheel]() { + return html$.Element.wheelEvent.forTarget(this); + } + [S$.$moveTo](p) { + if (p == null) dart.nullFailed(I[147], 33655, 21, "p"); + this[S$0._moveTo](p.x[$toInt](), p.y[$toInt]()); + } + [S$3.$openDatabase](name, version, displayName, estimatedSize, creationCallback = null) { + if (name == null) dart.nullFailed(I[147], 33664, 14, "name"); + if (version == null) dart.nullFailed(I[147], 33664, 27, "version"); + if (displayName == null) dart.nullFailed(I[147], 33664, 43, "displayName"); + if (estimatedSize == null) dart.nullFailed(I[147], 33664, 60, "estimatedSize"); + let db = null; + if (creationCallback == null) + db = this[S$3._openDatabase](name, version, displayName, estimatedSize); + else + db = this[S$3._openDatabase](name, version, displayName, estimatedSize, creationCallback); + _js_helper.applyExtension("Database", db); + return web_sql.SqlDatabase.as(db); + } + get [S$3.$pageXOffset]() { + return this.pageXOffset[$round](); + } + get [S$3.$pageYOffset]() { + return this.pageYOffset[$round](); + } + get [S$3.$scrollX]() { + return "scrollX" in this ? this.scrollX[$round]() : dart.nullCheck(this[S$3.$document].documentElement)[S.$scrollLeft]; + } + get [S$3.$scrollY]() { + return "scrollY" in this ? this.scrollY[$round]() : dart.nullCheck(this[S$3.$document].documentElement)[S.$scrollTop]; + } +}; +dart.addTypeTests(html$.Window); +dart.addTypeCaches(html$.Window); +html$.Window[dart.implements] = () => [html$.WindowEventHandlers, html$.WindowBase, html$.GlobalEventHandlers, html$._WindowTimers, html$.WindowBase64]; +dart.setMethodSignature(html$.Window, () => ({ + __proto__: dart.getMethods(html$.Window.__proto__), + [S$3._open2]: dart.fnType(dart.nullable(html$.WindowBase), [dart.dynamic, dart.dynamic]), + [S$3._open3]: dart.fnType(dart.nullable(html$.WindowBase), [dart.dynamic, dart.dynamic, dart.dynamic]), + [S.$open]: dart.fnType(html$.WindowBase, [core.String, core.String], [dart.nullable(core.String)]), + [S$3.$requestAnimationFrame]: dart.fnType(core.int, [dart.fnType(dart.void, [core.num])]), + [S$3.$cancelAnimationFrame]: dart.fnType(dart.void, [core.int]), + [S$3._requestAnimationFrame]: dart.fnType(core.int, [dart.fnType(dart.void, [core.num])]), + [S$3._cancelAnimationFrame]: dart.fnType(dart.void, [core.int]), + [S$3._ensureRequestAnimationFrame]: dart.fnType(dart.dynamic, []), + [S$3.$requestFileSystem]: dart.fnType(async.Future$(html$.FileSystem), [core.int], {persistent: core.bool}, {}), + [S$.__getter__]: dart.fnType(html$.WindowBase, [dart.dynamic]), + [S$3.__getter___1]: dart.fnType(dart.dynamic, [core.int]), + [S$3.__getter___2]: dart.fnType(dart.dynamic, [core.String]), + [S$3.$alert]: dart.fnType(dart.void, [], [dart.nullable(core.String)]), + [S$3.$cancelIdleCallback]: dart.fnType(dart.void, [core.int]), + [S.$close]: dart.fnType(dart.void, []), + [S$3.$confirm]: dart.fnType(core.bool, [], [dart.nullable(core.String)]), + [S$.$fetch]: dart.fnType(async.Future, [dart.dynamic], [dart.nullable(core.Map)]), + [S$3.$find]: dart.fnType(core.bool, [dart.nullable(core.String), dart.nullable(core.bool), dart.nullable(core.bool), dart.nullable(core.bool), dart.nullable(core.bool), dart.nullable(core.bool), dart.nullable(core.bool)]), + [S._getComputedStyle]: dart.fnType(html$.CssStyleDeclaration, [html$.Element], [dart.nullable(core.String)]), + [S$3.$getComputedStyleMap]: dart.fnType(html$.StylePropertyMapReadonly, [html$.Element, dart.nullable(core.String)]), + [S$3.$getMatchedCssRules]: dart.fnType(core.List$(html$.CssRule), [dart.nullable(html$.Element), dart.nullable(core.String)]), + [S$1.$getSelection]: dart.fnType(dart.nullable(html$.Selection), []), + [S$3.$matchMedia]: dart.fnType(html$.MediaQueryList, [core.String]), + [S$3.$moveBy]: dart.fnType(dart.void, [core.int, core.int]), + [S$0._moveTo]: dart.fnType(dart.void, [core.int, core.int]), + [S$3._openDatabase]: dart.fnType(web_sql.SqlDatabase, [core.String, core.String, core.String, core.int], [dart.nullable(dart.fnType(dart.void, [web_sql.SqlDatabase]))]), + [S$.$postMessage]: dart.fnType(dart.void, [dart.dynamic, core.String], [dart.nullable(core.List$(core.Object))]), + [S$0._postMessage_1]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, core.List$(core.Object)]), + [S$0._postMessage_2]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic]), + [S$3.$print]: dart.fnType(dart.void, []), + [S$3.$requestIdleCallback]: dart.fnType(core.int, [dart.fnType(dart.void, [html$.IdleDeadline])], [dart.nullable(core.Map)]), + [S$3._requestIdleCallback_1]: dart.fnType(core.int, [dart.dynamic, dart.dynamic]), + [S$3._requestIdleCallback_2]: dart.fnType(core.int, [dart.dynamic]), + [S$3.$resizeBy]: dart.fnType(dart.void, [core.int, core.int]), + [S$3.$resizeTo]: dart.fnType(dart.void, [core.int, core.int]), + [S.$scroll]: dart.fnType(dart.void, [], [dart.dynamic, dart.dynamic, dart.nullable(core.Map)]), + [S._scroll_1]: dart.fnType(dart.void, []), + [S._scroll_2]: dart.fnType(dart.void, [dart.dynamic]), + [S._scroll_3]: dart.fnType(dart.void, [dart.nullable(core.num), dart.nullable(core.num)]), + [S$3._scroll_4]: dart.fnType(dart.void, [dart.nullable(core.int), dart.nullable(core.int)]), + [S$3._scroll_5]: dart.fnType(dart.void, [dart.nullable(core.int), dart.nullable(core.int), dart.dynamic]), + [S.$scrollBy]: dart.fnType(dart.void, [], [dart.dynamic, dart.dynamic, dart.nullable(core.Map)]), + [S._scrollBy_1]: dart.fnType(dart.void, []), + [S._scrollBy_2]: dart.fnType(dart.void, [dart.dynamic]), + [S._scrollBy_3]: dart.fnType(dart.void, [dart.nullable(core.num), dart.nullable(core.num)]), + [S$3._scrollBy_4]: dart.fnType(dart.void, [dart.nullable(core.int), dart.nullable(core.int)]), + [S$3._scrollBy_5]: dart.fnType(dart.void, [dart.nullable(core.int), dart.nullable(core.int), dart.dynamic]), + [S.$scrollTo]: dart.fnType(dart.void, [], [dart.dynamic, dart.dynamic, dart.nullable(core.Map)]), + [S._scrollTo_1]: dart.fnType(dart.void, []), + [S._scrollTo_2]: dart.fnType(dart.void, [dart.dynamic]), + [S._scrollTo_3]: dart.fnType(dart.void, [dart.nullable(core.num), dart.nullable(core.num)]), + [S$3._scrollTo_4]: dart.fnType(dart.void, [dart.nullable(core.int), dart.nullable(core.int)]), + [S$3._scrollTo_5]: dart.fnType(dart.void, [dart.nullable(core.int), dart.nullable(core.int), dart.dynamic]), + [S$.$stop]: dart.fnType(dart.void, []), + [S$3.__requestFileSystem]: dart.fnType(dart.void, [core.int, core.int, dart.fnType(dart.void, [html$.FileSystem])], [dart.nullable(dart.fnType(dart.void, [html$.DomException]))]), + [S$3._requestFileSystem]: dart.fnType(async.Future$(html$.FileSystem), [core.int, core.int]), + [S$3._resolveLocalFileSystemUrl]: dart.fnType(dart.void, [core.String, dart.fnType(dart.void, [html$.Entry])], [dart.nullable(dart.fnType(dart.void, [html$.DomException]))]), + [S$3.$resolveLocalFileSystemUrl]: dart.fnType(async.Future$(html$.Entry), [core.String]), + [S$0.$atob]: dart.fnType(core.String, [core.String]), + [S$0.$btoa]: dart.fnType(core.String, [core.String]), + [S$0._setInterval_String]: dart.fnType(core.int, [core.String], [dart.nullable(core.int), dart.nullable(core.Object)]), + [S$0._setTimeout_String]: dart.fnType(core.int, [core.String], [dart.nullable(core.int), dart.nullable(core.Object)]), + [S$0._clearInterval]: dart.fnType(dart.void, [], [dart.nullable(core.int)]), + [S$0._clearTimeout]: dart.fnType(dart.void, [], [dart.nullable(core.int)]), + [S$0._setInterval]: dart.fnType(core.int, [core.Object], [dart.nullable(core.int)]), + [S$0._setTimeout]: dart.fnType(core.int, [core.Object], [dart.nullable(core.int)]), + [S$.$moveTo]: dart.fnType(dart.void, [math.Point$(core.num)]), + [S$3.$openDatabase]: dart.fnType(web_sql.SqlDatabase, [core.String, core.String, core.String, core.int], [dart.nullable(dart.fnType(dart.void, [web_sql.SqlDatabase]))]) +})); +dart.setGetterSignature(html$.Window, () => ({ + __proto__: dart.getGetters(html$.Window.__proto__), + [S$3.$animationFrame]: async.Future$(core.num), + [S$3.$document]: html$.Document, + [S$0.$location]: html$.Location, + [S$3._location]: dart.dynamic, + [S$0.$indexedDB]: dart.nullable(indexed_db.IdbFactory), + [S$2.$console]: html$.Console, + [S$3.$animationWorklet]: dart.nullable(html$._Worklet), + [S$3.$applicationCache]: dart.nullable(html$.ApplicationCache), + [S$3.$audioWorklet]: dart.nullable(html$._Worklet), + [S$0.$caches]: dart.nullable(html$.CacheStorage), + [S$1.$closed]: dart.nullable(core.bool), + [S$3.$cookieStore]: dart.nullable(html$.CookieStore), + [S$0.$crypto]: dart.nullable(html$.Crypto), + [S$3.$customElements]: dart.nullable(html$.CustomElementRegistry), + [S$3.$defaultStatus]: dart.nullable(core.String), + [S$3.$defaultstatus]: dart.nullable(core.String), + [S$2.$devicePixelRatio]: core.num, + [S$3.$external]: dart.nullable(html$.External), + [S$3.$history]: html$.History, + [S$3.$innerHeight]: dart.nullable(core.int), + [S$3.$innerWidth]: dart.nullable(core.int), + [S$0.$isSecureContext]: dart.nullable(core.bool), + [S$3.$localStorage]: html$.Storage, + [S$3.$locationbar]: dart.nullable(html$.BarProp), + [S$3.$menubar]: dart.nullable(html$.BarProp), + [$name]: dart.nullable(core.String), + [S$0.$navigator]: html$.Navigator, + [S$3.$offscreenBuffering]: dart.nullable(core.bool), + [S$3.$opener]: dart.nullable(html$.WindowBase), + [S$3._get_opener]: dart.dynamic, + [S$.$orientation]: dart.nullable(core.int), + [S$.$origin]: dart.nullable(core.String), + [S$3.$outerHeight]: core.int, + [S$3.$outerWidth]: core.int, + [S$3._pageXOffset]: core.num, + [S$3._pageYOffset]: core.num, + [S.$parent]: dart.nullable(html$.WindowBase), + [S$3._get_parent]: dart.dynamic, + [S$0.$performance]: html$.Performance, + [S$1.$screen]: dart.nullable(html$.Screen), + [S$3.$screenLeft]: dart.nullable(core.int), + [S$3.$screenTop]: dart.nullable(core.int), + [S$3.$screenX]: dart.nullable(core.int), + [S$3.$screenY]: dart.nullable(core.int), + [S$3.$scrollbars]: dart.nullable(html$.BarProp), + [S$0.$self]: dart.nullable(html$.WindowBase), + [S$3._get_self]: dart.dynamic, + [S$3.$sessionStorage]: html$.Storage, + [S$3.$speechSynthesis]: dart.nullable(html$.SpeechSynthesis), + [S$.$status]: dart.nullable(core.String), + [S$3.$statusbar]: dart.nullable(html$.BarProp), + [S$3.$styleMedia]: dart.nullable(html$.StyleMedia), + [S$3.$toolbar]: dart.nullable(html$.BarProp), + [$top]: dart.nullable(html$.WindowBase), + [S$3._get_top]: dart.dynamic, + [S$3.$visualViewport]: dart.nullable(html$.VisualViewport), + [S$0.$window]: dart.nullable(html$.WindowBase), + [S$0._get_window]: dart.dynamic, + [S$3.$onContentLoaded]: async.Stream$(html$.Event), + [S.$onAbort]: async.Stream$(html$.Event), + [S.$onBlur]: async.Stream$(html$.Event), + [S.$onCanPlay]: async.Stream$(html$.Event), + [S.$onCanPlayThrough]: async.Stream$(html$.Event), + [S.$onChange]: async.Stream$(html$.Event), + [S.$onClick]: async.Stream$(html$.MouseEvent), + [S.$onContextMenu]: async.Stream$(html$.MouseEvent), + [S.$onDoubleClick]: async.Stream$(html$.Event), + [S$3.$onDeviceMotion]: async.Stream$(html$.DeviceMotionEvent), + [S$3.$onDeviceOrientation]: async.Stream$(html$.DeviceOrientationEvent), + [S.$onDrag]: async.Stream$(html$.MouseEvent), + [S.$onDragEnd]: async.Stream$(html$.MouseEvent), + [S.$onDragEnter]: async.Stream$(html$.MouseEvent), + [S.$onDragLeave]: async.Stream$(html$.MouseEvent), + [S.$onDragOver]: async.Stream$(html$.MouseEvent), + [S.$onDragStart]: async.Stream$(html$.MouseEvent), + [S.$onDrop]: async.Stream$(html$.MouseEvent), + [S.$onDurationChange]: async.Stream$(html$.Event), + [S.$onEmptied]: async.Stream$(html$.Event), + [S.$onEnded]: async.Stream$(html$.Event), + [S.$onError]: async.Stream$(html$.Event), + [S.$onFocus]: async.Stream$(html$.Event), + [S$.$onHashChange]: async.Stream$(html$.Event), + [S.$onInput]: async.Stream$(html$.Event), + [S.$onInvalid]: async.Stream$(html$.Event), + [S.$onKeyDown]: async.Stream$(html$.KeyboardEvent), + [S.$onKeyPress]: async.Stream$(html$.KeyboardEvent), + [S.$onKeyUp]: async.Stream$(html$.KeyboardEvent), + [S.$onLoad]: async.Stream$(html$.Event), + [S.$onLoadedData]: async.Stream$(html$.Event), + [S.$onLoadedMetadata]: async.Stream$(html$.Event), + [S$1.$onLoadStart]: async.Stream$(html$.Event), + [S$.$onMessage]: async.Stream$(html$.MessageEvent), + [S.$onMouseDown]: async.Stream$(html$.MouseEvent), + [S.$onMouseEnter]: async.Stream$(html$.MouseEvent), + [S.$onMouseLeave]: async.Stream$(html$.MouseEvent), + [S.$onMouseMove]: async.Stream$(html$.MouseEvent), + [S.$onMouseOut]: async.Stream$(html$.MouseEvent), + [S.$onMouseOver]: async.Stream$(html$.MouseEvent), + [S.$onMouseUp]: async.Stream$(html$.MouseEvent), + [S.$onMouseWheel]: async.Stream$(html$.WheelEvent), + [S$.$onOffline]: async.Stream$(html$.Event), + [S$.$onOnline]: async.Stream$(html$.Event), + [S$3.$onPageHide]: async.Stream$(html$.Event), + [S$3.$onPageShow]: async.Stream$(html$.Event), + [S.$onPause]: async.Stream$(html$.Event), + [S.$onPlay]: async.Stream$(html$.Event), + [S.$onPlaying]: async.Stream$(html$.Event), + [S$.$onPopState]: async.Stream$(html$.PopStateEvent), + [S$.$onProgress]: async.Stream$(html$.Event), + [S.$onRateChange]: async.Stream$(html$.Event), + [S.$onReset]: async.Stream$(html$.Event), + [S.$onResize]: async.Stream$(html$.Event), + [S.$onScroll]: async.Stream$(html$.Event), + [S.$onSearch]: async.Stream$(html$.Event), + [S.$onSeeked]: async.Stream$(html$.Event), + [S.$onSeeking]: async.Stream$(html$.Event), + [S.$onSelect]: async.Stream$(html$.Event), + [S.$onStalled]: async.Stream$(html$.Event), + [S$.$onStorage]: async.Stream$(html$.StorageEvent), + [S.$onSubmit]: async.Stream$(html$.Event), + [S$.$onSuspend]: async.Stream$(html$.Event), + [S$.$onTimeUpdate]: async.Stream$(html$.Event), + [S$.$onTouchCancel]: async.Stream$(html$.TouchEvent), + [S$.$onTouchEnd]: async.Stream$(html$.TouchEvent), + [S$.$onTouchMove]: async.Stream$(html$.TouchEvent), + [S$.$onTouchStart]: async.Stream$(html$.TouchEvent), + [S$.$onTransitionEnd]: async.Stream$(html$.TransitionEvent), + [S$.$onUnload]: async.Stream$(html$.Event), + [S$.$onVolumeChange]: async.Stream$(html$.Event), + [S$.$onWaiting]: async.Stream$(html$.Event), + [S$3.$onAnimationEnd]: async.Stream$(html$.AnimationEvent), + [S$3.$onAnimationIteration]: async.Stream$(html$.AnimationEvent), + [S$3.$onAnimationStart]: async.Stream$(html$.AnimationEvent), + [S$3.$onBeforeUnload]: async.Stream$(html$.Event), + [S$.$onWheel]: async.Stream$(html$.WheelEvent), + [S$3.$pageXOffset]: core.int, + [S$3.$pageYOffset]: core.int, + [S$3.$scrollX]: core.int, + [S$3.$scrollY]: core.int +})); +dart.setSetterSignature(html$.Window, () => ({ + __proto__: dart.getSetters(html$.Window.__proto__), + [S$0.$location]: html$.LocationBase, + [S$3._location]: dart.dynamic, + [S$3.$defaultStatus]: dart.nullable(core.String), + [S$3.$defaultstatus]: dart.nullable(core.String), + [$name]: dart.nullable(core.String), + [S$3.$opener]: dart.nullable(html$.WindowBase), + [S$.$status]: dart.nullable(core.String) +})); +dart.setLibraryUri(html$.Window, I[148]); +dart.defineLazy(html$.Window, { + /*html$.Window.contentLoadedEvent*/get contentLoadedEvent() { + return C[388] || CT.C388; + }, + /*html$.Window.deviceMotionEvent*/get deviceMotionEvent() { + return C[389] || CT.C389; + }, + /*html$.Window.deviceOrientationEvent*/get deviceOrientationEvent() { + return C[390] || CT.C390; + }, + /*html$.Window.hashChangeEvent*/get hashChangeEvent() { + return C[311] || CT.C311; + }, + /*html$.Window.loadStartEvent*/get loadStartEvent() { + return C[391] || CT.C391; + }, + /*html$.Window.messageEvent*/get messageEvent() { + return C[312] || CT.C312; + }, + /*html$.Window.offlineEvent*/get offlineEvent() { + return C[313] || CT.C313; + }, + /*html$.Window.onlineEvent*/get onlineEvent() { + return C[314] || CT.C314; + }, + /*html$.Window.pageHideEvent*/get pageHideEvent() { + return C[392] || CT.C392; + }, + /*html$.Window.pageShowEvent*/get pageShowEvent() { + return C[393] || CT.C393; + }, + /*html$.Window.popStateEvent*/get popStateEvent() { + return C[315] || CT.C315; + }, + /*html$.Window.progressEvent*/get progressEvent() { + return C[394] || CT.C394; + }, + /*html$.Window.storageEvent*/get storageEvent() { + return C[316] || CT.C316; + }, + /*html$.Window.unloadEvent*/get unloadEvent() { + return C[317] || CT.C317; + }, + /*html$.Window.animationEndEvent*/get animationEndEvent() { + return C[395] || CT.C395; + }, + /*html$.Window.animationIterationEvent*/get animationIterationEvent() { + return C[396] || CT.C396; + }, + /*html$.Window.animationStartEvent*/get animationStartEvent() { + return C[397] || CT.C397; + }, + /*html$.Window.PERSISTENT*/get PERSISTENT() { + return 1; + }, + /*html$.Window.TEMPORARY*/get TEMPORARY() { + return 0; + }, + /*html$.Window.beforeUnloadEvent*/get beforeUnloadEvent() { + return C[398] || CT.C398; + } +}, false); +dart.registerExtension("Window", html$.Window); +dart.registerExtension("DOMWindow", html$.Window); +html$._WrappedEvent = class _WrappedEvent extends core.Object { + get wrapped() { + return this[S$3.wrapped]; + } + set wrapped(value) { + super.wrapped = value; + } + get bubbles() { + return dart.nullCheck(this.wrapped.bubbles); + } + get cancelable() { + return dart.nullCheck(this.wrapped.cancelable); + } + get composed() { + return dart.nullCheck(this.wrapped.composed); + } + get currentTarget() { + return this.wrapped[S.$currentTarget]; + } + get defaultPrevented() { + return this.wrapped.defaultPrevented; + } + get eventPhase() { + return this.wrapped.eventPhase; + } + get isTrusted() { + return dart.nullCheck(this.wrapped.isTrusted); + } + get target() { + return this.wrapped[S.$target]; + } + get timeStamp() { + return dart.nullCast(this.wrapped.timeStamp, core.double); + } + get type() { + return this.wrapped.type; + } + [S._initEvent](type, bubbles = null, cancelable = null) { + if (type == null) dart.nullFailed(I[147], 40721, 26, "type"); + dart.throw(new core.UnsupportedError.new("Cannot initialize this Event.")); + } + preventDefault() { + this.wrapped.preventDefault(); + } + stopImmediatePropagation() { + this.wrapped.stopImmediatePropagation(); + } + stopPropagation() { + this.wrapped.stopPropagation(); + } + composedPath() { + return this.wrapped.composedPath(); + } + get matchingTarget() { + if (this[S._selector] == null) { + dart.throw(new core.UnsupportedError.new("Cannot call matchingTarget if this Event did" + " not arise as a result of event delegation.")); + } + let currentTarget = T$0.ElementN().as(this.currentTarget); + let target = T$0.ElementN().as(this.target); + do { + if (dart.test(dart.nullCheck(target)[S.$matches](dart.nullCheck(this[S._selector])))) return target; + target = target[S.$parent]; + } while (target != null && !dart.equals(target, dart.nullCheck(currentTarget)[S.$parent])); + dart.throw(new core.StateError.new("No selector matched for populating matchedTarget.")); + } + get path() { + return T$0.ListOfNode().as(this.wrapped[S.$path]); + } + get [S._get_currentTarget]() { + return this.wrapped[S._get_currentTarget]; + } + get [S._get_target]() { + return this.wrapped[S._get_target]; + } +}; +(html$._WrappedEvent.new = function(wrapped) { + if (wrapped == null) dart.nullFailed(I[147], 40699, 22, "wrapped"); + this[S._selector] = null; + this[S$3.wrapped] = wrapped; + ; +}).prototype = html$._WrappedEvent.prototype; +dart.addTypeTests(html$._WrappedEvent); +dart.addTypeCaches(html$._WrappedEvent); +html$._WrappedEvent[dart.implements] = () => [html$.Event]; +dart.setMethodSignature(html$._WrappedEvent, () => ({ + __proto__: dart.getMethods(html$._WrappedEvent.__proto__), + [S._initEvent]: dart.fnType(dart.void, [core.String], [dart.nullable(core.bool), dart.nullable(core.bool)]), + preventDefault: dart.fnType(dart.void, []), + [S.$preventDefault]: dart.fnType(dart.void, []), + stopImmediatePropagation: dart.fnType(dart.void, []), + [S.$stopImmediatePropagation]: dart.fnType(dart.void, []), + stopPropagation: dart.fnType(dart.void, []), + [S.$stopPropagation]: dart.fnType(dart.void, []), + composedPath: dart.fnType(core.List$(html$.EventTarget), []), + [S.$composedPath]: dart.fnType(core.List$(html$.EventTarget), []) +})); +dart.setGetterSignature(html$._WrappedEvent, () => ({ + __proto__: dart.getGetters(html$._WrappedEvent.__proto__), + bubbles: core.bool, + [S.$bubbles]: core.bool, + cancelable: core.bool, + [S.$cancelable]: core.bool, + composed: core.bool, + [S.$composed]: core.bool, + currentTarget: dart.nullable(html$.EventTarget), + [S.$currentTarget]: dart.nullable(html$.EventTarget), + defaultPrevented: core.bool, + [S.$defaultPrevented]: core.bool, + eventPhase: core.int, + [S.$eventPhase]: core.int, + isTrusted: core.bool, + [S.$isTrusted]: core.bool, + target: dart.nullable(html$.EventTarget), + [S.$target]: dart.nullable(html$.EventTarget), + timeStamp: core.double, + [S.$timeStamp]: core.double, + type: core.String, + [S.$type]: core.String, + matchingTarget: html$.Element, + [S.$matchingTarget]: html$.Element, + path: core.List$(html$.Node), + [S.$path]: core.List$(html$.Node), + [S._get_currentTarget]: dart.dynamic, + [S._get_target]: dart.dynamic +})); +dart.setLibraryUri(html$._WrappedEvent, I[148]); +dart.setFieldSignature(html$._WrappedEvent, () => ({ + __proto__: dart.getFields(html$._WrappedEvent.__proto__), + wrapped: dart.finalFieldType(html$.Event), + [S._selector]: dart.fieldType(dart.nullable(core.String)) +})); +dart.defineExtensionMethods(html$._WrappedEvent, ['preventDefault', 'stopImmediatePropagation', 'stopPropagation', 'composedPath']); +dart.defineExtensionAccessors(html$._WrappedEvent, [ + 'bubbles', + 'cancelable', + 'composed', + 'currentTarget', + 'defaultPrevented', + 'eventPhase', + 'isTrusted', + 'target', + 'timeStamp', + 'type', + 'matchingTarget', + 'path' +]); +html$._BeforeUnloadEvent = class _BeforeUnloadEvent extends html$._WrappedEvent { + get returnValue() { + return this[S$3._returnValue]; + } + set returnValue(value) { + this[S$3._returnValue] = dart.nullCheck(value); + if ("returnValue" in this.wrapped) { + this.wrapped.returnValue = value; + } + } +}; +(html$._BeforeUnloadEvent.new = function(base) { + if (base == null) dart.nullFailed(I[147], 33714, 28, "base"); + this[S$3._returnValue] = ""; + html$._BeforeUnloadEvent.__proto__.new.call(this, base); + ; +}).prototype = html$._BeforeUnloadEvent.prototype; +dart.addTypeTests(html$._BeforeUnloadEvent); +dart.addTypeCaches(html$._BeforeUnloadEvent); +html$._BeforeUnloadEvent[dart.implements] = () => [html$.BeforeUnloadEvent]; +dart.setGetterSignature(html$._BeforeUnloadEvent, () => ({ + __proto__: dart.getGetters(html$._BeforeUnloadEvent.__proto__), + returnValue: core.String, + [S$.$returnValue]: core.String +})); +dart.setSetterSignature(html$._BeforeUnloadEvent, () => ({ + __proto__: dart.getSetters(html$._BeforeUnloadEvent.__proto__), + returnValue: dart.nullable(core.String), + [S$.$returnValue]: dart.nullable(core.String) +})); +dart.setLibraryUri(html$._BeforeUnloadEvent, I[148]); +dart.setFieldSignature(html$._BeforeUnloadEvent, () => ({ + __proto__: dart.getFields(html$._BeforeUnloadEvent.__proto__), + [S$3._returnValue]: dart.fieldType(core.String) +})); +dart.defineExtensionAccessors(html$._BeforeUnloadEvent, ['returnValue']); +html$._BeforeUnloadEventStreamProvider = class _BeforeUnloadEventStreamProvider extends core.Object { + get [S$3._eventType$1]() { + return this[S$3._eventType]; + } + set [S$3._eventType$1](value) { + super[S$3._eventType$1] = value; + } + forTarget(e, opts) { + let useCapture = opts && 'useCapture' in opts ? opts.useCapture : false; + if (useCapture == null) dart.nullFailed(I[147], 33738, 13, "useCapture"); + let stream = new (T$0._EventStreamOfBeforeUnloadEvent()).new(e, this[S$3._eventType$1], useCapture); + let controller = T$0.StreamControllerOfBeforeUnloadEvent().new({sync: true}); + stream.listen(dart.fn(event => { + if (event == null) dart.nullFailed(I[147], 33743, 20, "event"); + let wrapped = new html$._BeforeUnloadEvent.new(event); + controller.add(wrapped); + }, T$0.BeforeUnloadEventTovoid())); + return controller.stream; + } + getEventType(target) { + if (target == null) dart.nullFailed(I[147], 33751, 35, "target"); + return this[S$3._eventType$1]; + } + forElement(e, opts) { + if (e == null) dart.nullFailed(I[147], 33755, 55, "e"); + let useCapture = opts && 'useCapture' in opts ? opts.useCapture : false; + if (useCapture == null) dart.nullFailed(I[147], 33756, 13, "useCapture"); + return new (T$0._ElementEventStreamImplOfBeforeUnloadEvent()).new(e, this[S$3._eventType$1], useCapture); + } + [S$1._forElementList](e, opts) { + if (e == null) dart.nullFailed(I[147], 33762, 73, "e"); + let useCapture = opts && 'useCapture' in opts ? opts.useCapture : false; + if (useCapture == null) dart.nullFailed(I[147], 33763, 13, "useCapture"); + return new (T$0._ElementListEventStreamImplOfBeforeUnloadEvent()).new(e, this[S$3._eventType$1], useCapture); + } +}; +(html$._BeforeUnloadEventStreamProvider.new = function(_eventType) { + if (_eventType == null) dart.nullFailed(I[147], 33735, 47, "_eventType"); + this[S$3._eventType] = _eventType; + ; +}).prototype = html$._BeforeUnloadEventStreamProvider.prototype; +dart.addTypeTests(html$._BeforeUnloadEventStreamProvider); +dart.addTypeCaches(html$._BeforeUnloadEventStreamProvider); +html$._BeforeUnloadEventStreamProvider[dart.implements] = () => [html$.EventStreamProvider$(html$.BeforeUnloadEvent)]; +dart.setMethodSignature(html$._BeforeUnloadEventStreamProvider, () => ({ + __proto__: dart.getMethods(html$._BeforeUnloadEventStreamProvider.__proto__), + forTarget: dart.fnType(async.Stream$(html$.BeforeUnloadEvent), [dart.nullable(html$.EventTarget)], {useCapture: core.bool}, {}), + getEventType: dart.fnType(core.String, [html$.EventTarget]), + forElement: dart.fnType(html$.ElementStream$(html$.BeforeUnloadEvent), [html$.Element], {useCapture: core.bool}, {}), + [S$1._forElementList]: dart.fnType(html$.ElementStream$(html$.BeforeUnloadEvent), [html$.ElementList$(html$.Element)], {useCapture: core.bool}, {}) +})); +dart.setLibraryUri(html$._BeforeUnloadEventStreamProvider, I[148]); +dart.setFieldSignature(html$._BeforeUnloadEventStreamProvider, () => ({ + __proto__: dart.getFields(html$._BeforeUnloadEventStreamProvider.__proto__), + [S$3._eventType$1]: dart.finalFieldType(core.String) +})); +html$.WindowBase64 = class WindowBase64 extends _interceptors.Interceptor {}; +dart.addTypeTests(html$.WindowBase64); +dart.addTypeCaches(html$.WindowBase64); +dart.setLibraryUri(html$.WindowBase64, I[148]); +html$.WindowClient = class WindowClient extends html$.Client { + get [S$3.$focused]() { + return this.focused; + } + get [S$1.$visibilityState]() { + return this.visibilityState; + } + [S.$focus]() { + return js_util.promiseToFuture(html$.WindowClient, this.focus()); + } + [S$3.$navigate](url) { + if (url == null) dart.nullFailed(I[147], 33801, 40, "url"); + return js_util.promiseToFuture(html$.WindowClient, this.navigate(url)); + } +}; +dart.addTypeTests(html$.WindowClient); +dart.addTypeCaches(html$.WindowClient); +dart.setMethodSignature(html$.WindowClient, () => ({ + __proto__: dart.getMethods(html$.WindowClient.__proto__), + [S.$focus]: dart.fnType(async.Future$(html$.WindowClient), []), + [S$3.$navigate]: dart.fnType(async.Future$(html$.WindowClient), [core.String]) +})); +dart.setGetterSignature(html$.WindowClient, () => ({ + __proto__: dart.getGetters(html$.WindowClient.__proto__), + [S$3.$focused]: dart.nullable(core.bool), + [S$1.$visibilityState]: dart.nullable(core.String) +})); +dart.setLibraryUri(html$.WindowClient, I[148]); +dart.registerExtension("WindowClient", html$.WindowClient); +html$.WindowEventHandlers = class WindowEventHandlers extends html$.EventTarget { + get onHashChange() { + return html$.WindowEventHandlers.hashChangeEvent.forTarget(this); + } + get onMessage() { + return html$.WindowEventHandlers.messageEvent.forTarget(this); + } + get onOffline() { + return html$.WindowEventHandlers.offlineEvent.forTarget(this); + } + get onOnline() { + return html$.WindowEventHandlers.onlineEvent.forTarget(this); + } + get onPopState() { + return html$.WindowEventHandlers.popStateEvent.forTarget(this); + } + get onStorage() { + return html$.WindowEventHandlers.storageEvent.forTarget(this); + } + get onUnload() { + return html$.WindowEventHandlers.unloadEvent.forTarget(this); + } +}; +dart.addTypeTests(html$.WindowEventHandlers); +dart.addTypeCaches(html$.WindowEventHandlers); +dart.setGetterSignature(html$.WindowEventHandlers, () => ({ + __proto__: dart.getGetters(html$.WindowEventHandlers.__proto__), + onHashChange: async.Stream$(html$.Event), + [S$.$onHashChange]: async.Stream$(html$.Event), + onMessage: async.Stream$(html$.MessageEvent), + [S$.$onMessage]: async.Stream$(html$.MessageEvent), + onOffline: async.Stream$(html$.Event), + [S$.$onOffline]: async.Stream$(html$.Event), + onOnline: async.Stream$(html$.Event), + [S$.$onOnline]: async.Stream$(html$.Event), + onPopState: async.Stream$(html$.PopStateEvent), + [S$.$onPopState]: async.Stream$(html$.PopStateEvent), + onStorage: async.Stream$(html$.StorageEvent), + [S$.$onStorage]: async.Stream$(html$.StorageEvent), + onUnload: async.Stream$(html$.Event), + [S$.$onUnload]: async.Stream$(html$.Event) +})); +dart.setLibraryUri(html$.WindowEventHandlers, I[148]); +dart.defineExtensionAccessors(html$.WindowEventHandlers, [ + 'onHashChange', + 'onMessage', + 'onOffline', + 'onOnline', + 'onPopState', + 'onStorage', + 'onUnload' +]); +dart.defineLazy(html$.WindowEventHandlers, { + /*html$.WindowEventHandlers.hashChangeEvent*/get hashChangeEvent() { + return C[311] || CT.C311; + }, + /*html$.WindowEventHandlers.messageEvent*/get messageEvent() { + return C[312] || CT.C312; + }, + /*html$.WindowEventHandlers.offlineEvent*/get offlineEvent() { + return C[313] || CT.C313; + }, + /*html$.WindowEventHandlers.onlineEvent*/get onlineEvent() { + return C[314] || CT.C314; + }, + /*html$.WindowEventHandlers.popStateEvent*/get popStateEvent() { + return C[315] || CT.C315; + }, + /*html$.WindowEventHandlers.storageEvent*/get storageEvent() { + return C[316] || CT.C316; + }, + /*html$.WindowEventHandlers.unloadEvent*/get unloadEvent() { + return C[317] || CT.C317; + } +}, false); +html$.Worker = class Worker$ extends html$.EventTarget { + static new(scriptUrl) { + if (scriptUrl == null) dart.nullFailed(I[147], 33882, 25, "scriptUrl"); + return html$.Worker._create_1(scriptUrl); + } + static _create_1(scriptUrl) { + return new Worker(scriptUrl); + } + static get supported() { + return typeof window.Worker != "undefined"; + } + [S$.$postMessage](message, transfer = null) { + if (transfer != null) { + let message_1 = html_common.convertDartToNative_SerializedScriptValue(message); + this[S$0._postMessage_1](message_1, transfer); + return; + } + let message_1 = html_common.convertDartToNative_SerializedScriptValue(message); + this[S$0._postMessage_2](message_1); + return; + } + [S$0._postMessage_1](...args) { + return this.postMessage.apply(this, args); + } + [S$0._postMessage_2](...args) { + return this.postMessage.apply(this, args); + } + [S$2.$terminate](...args) { + return this.terminate.apply(this, args); + } + get [S.$onError]() { + return html$.Worker.errorEvent.forTarget(this); + } + get [S$.$onMessage]() { + return html$.Worker.messageEvent.forTarget(this); + } +}; +dart.addTypeTests(html$.Worker); +dart.addTypeCaches(html$.Worker); +html$.Worker[dart.implements] = () => [html$.AbstractWorker]; +dart.setMethodSignature(html$.Worker, () => ({ + __proto__: dart.getMethods(html$.Worker.__proto__), + [S$.$postMessage]: dart.fnType(dart.void, [dart.dynamic], [dart.nullable(core.List$(core.Object))]), + [S$0._postMessage_1]: dart.fnType(dart.void, [dart.dynamic, dart.nullable(core.List$(core.Object))]), + [S$0._postMessage_2]: dart.fnType(dart.void, [dart.dynamic]), + [S$2.$terminate]: dart.fnType(dart.void, []) +})); +dart.setGetterSignature(html$.Worker, () => ({ + __proto__: dart.getGetters(html$.Worker.__proto__), + [S.$onError]: async.Stream$(html$.Event), + [S$.$onMessage]: async.Stream$(html$.MessageEvent) +})); +dart.setLibraryUri(html$.Worker, I[148]); +dart.defineLazy(html$.Worker, { + /*html$.Worker.errorEvent*/get errorEvent() { + return C[216] || CT.C216; + }, + /*html$.Worker.messageEvent*/get messageEvent() { + return C[312] || CT.C312; + } +}, false); +dart.registerExtension("Worker", html$.Worker); +html$.WorkerPerformance = class WorkerPerformance extends html$.EventTarget { + get [S$2.$memory]() { + return this.memory; + } + get [S$2.$timeOrigin]() { + return this.timeOrigin; + } + [S$2.$clearMarks](...args) { + return this.clearMarks.apply(this, args); + } + [S$2.$clearMeasures](...args) { + return this.clearMeasures.apply(this, args); + } + [S$2.$clearResourceTimings](...args) { + return this.clearResourceTimings.apply(this, args); + } + [S$2.$getEntries](...args) { + return this.getEntries.apply(this, args); + } + [S$2.$getEntriesByName](...args) { + return this.getEntriesByName.apply(this, args); + } + [S$2.$getEntriesByType](...args) { + return this.getEntriesByType.apply(this, args); + } + [S$2.$mark](...args) { + return this.mark.apply(this, args); + } + [S$2.$measure](...args) { + return this.measure.apply(this, args); + } + [S$2.$now](...args) { + return this.now.apply(this, args); + } + [S$2.$setResourceTimingBufferSize](...args) { + return this.setResourceTimingBufferSize.apply(this, args); + } +}; +dart.addTypeTests(html$.WorkerPerformance); +dart.addTypeCaches(html$.WorkerPerformance); +dart.setMethodSignature(html$.WorkerPerformance, () => ({ + __proto__: dart.getMethods(html$.WorkerPerformance.__proto__), + [S$2.$clearMarks]: dart.fnType(dart.void, [dart.nullable(core.String)]), + [S$2.$clearMeasures]: dart.fnType(dart.void, [dart.nullable(core.String)]), + [S$2.$clearResourceTimings]: dart.fnType(dart.void, []), + [S$2.$getEntries]: dart.fnType(core.List$(html$.PerformanceEntry), []), + [S$2.$getEntriesByName]: dart.fnType(core.List$(html$.PerformanceEntry), [core.String, dart.nullable(core.String)]), + [S$2.$getEntriesByType]: dart.fnType(core.List$(html$.PerformanceEntry), [core.String]), + [S$2.$mark]: dart.fnType(dart.void, [core.String]), + [S$2.$measure]: dart.fnType(dart.void, [core.String, dart.nullable(core.String), dart.nullable(core.String)]), + [S$2.$now]: dart.fnType(core.double, []), + [S$2.$setResourceTimingBufferSize]: dart.fnType(dart.void, [core.int]) +})); +dart.setGetterSignature(html$.WorkerPerformance, () => ({ + __proto__: dart.getGetters(html$.WorkerPerformance.__proto__), + [S$2.$memory]: dart.nullable(html$.MemoryInfo), + [S$2.$timeOrigin]: dart.nullable(core.num) +})); +dart.setLibraryUri(html$.WorkerPerformance, I[148]); +dart.registerExtension("WorkerPerformance", html$.WorkerPerformance); +html$.WorkletAnimation = class WorkletAnimation$ extends _interceptors.Interceptor { + static new(animatorName, effects, timelines, options) { + if (animatorName == null) dart.nullFailed(I[147], 34050, 14, "animatorName"); + if (effects == null) dart.nullFailed(I[147], 34051, 36, "effects"); + if (timelines == null) dart.nullFailed(I[147], 34052, 20, "timelines"); + let options_1 = html_common.convertDartToNative_SerializedScriptValue(options); + return html$.WorkletAnimation._create_1(animatorName, effects, timelines, options_1); + } + static _create_1(animatorName, effects, timelines, options) { + return new WorkletAnimation(animatorName, effects, timelines, options); + } + get [S$.$playState]() { + return this.playState; + } + [S$.$cancel](...args) { + return this.cancel.apply(this, args); + } + [S$.$play](...args) { + return this.play.apply(this, args); + } +}; +dart.addTypeTests(html$.WorkletAnimation); +dart.addTypeCaches(html$.WorkletAnimation); +dart.setMethodSignature(html$.WorkletAnimation, () => ({ + __proto__: dart.getMethods(html$.WorkletAnimation.__proto__), + [S$.$cancel]: dart.fnType(dart.void, []), + [S$.$play]: dart.fnType(dart.void, []) +})); +dart.setGetterSignature(html$.WorkletAnimation, () => ({ + __proto__: dart.getGetters(html$.WorkletAnimation.__proto__), + [S$.$playState]: dart.nullable(core.String) +})); +dart.setLibraryUri(html$.WorkletAnimation, I[148]); +dart.registerExtension("WorkletAnimation", html$.WorkletAnimation); +html$.XPathEvaluator = class XPathEvaluator$ extends _interceptors.Interceptor { + static new() { + return html$.XPathEvaluator._create_1(); + } + static _create_1() { + return new XPathEvaluator(); + } + [S$3.$createExpression](...args) { + return this.createExpression.apply(this, args); + } + [S$3.$createNSResolver](...args) { + return this.createNSResolver.apply(this, args); + } + [S$3.$evaluate](...args) { + return this.evaluate.apply(this, args); + } +}; +dart.addTypeTests(html$.XPathEvaluator); +dart.addTypeCaches(html$.XPathEvaluator); +dart.setMethodSignature(html$.XPathEvaluator, () => ({ + __proto__: dart.getMethods(html$.XPathEvaluator.__proto__), + [S$3.$createExpression]: dart.fnType(html$.XPathExpression, [core.String, dart.nullable(html$.XPathNSResolver)]), + [S$3.$createNSResolver]: dart.fnType(html$.XPathNSResolver, [html$.Node]), + [S$3.$evaluate]: dart.fnType(html$.XPathResult, [core.String, html$.Node, dart.nullable(html$.XPathNSResolver)], [dart.nullable(core.int), dart.nullable(core.Object)]) +})); +dart.setLibraryUri(html$.XPathEvaluator, I[148]); +dart.registerExtension("XPathEvaluator", html$.XPathEvaluator); +html$.XPathExpression = class XPathExpression extends _interceptors.Interceptor { + [S$3.$evaluate](...args) { + return this.evaluate.apply(this, args); + } +}; +dart.addTypeTests(html$.XPathExpression); +dart.addTypeCaches(html$.XPathExpression); +dart.setMethodSignature(html$.XPathExpression, () => ({ + __proto__: dart.getMethods(html$.XPathExpression.__proto__), + [S$3.$evaluate]: dart.fnType(html$.XPathResult, [html$.Node], [dart.nullable(core.int), dart.nullable(core.Object)]) +})); +dart.setLibraryUri(html$.XPathExpression, I[148]); +dart.registerExtension("XPathExpression", html$.XPathExpression); +html$.XPathNSResolver = class XPathNSResolver extends _interceptors.Interceptor { + [S$3.$lookupNamespaceUri](...args) { + return this.lookupNamespaceURI.apply(this, args); + } +}; +dart.addTypeTests(html$.XPathNSResolver); +dart.addTypeCaches(html$.XPathNSResolver); +dart.setMethodSignature(html$.XPathNSResolver, () => ({ + __proto__: dart.getMethods(html$.XPathNSResolver.__proto__), + [S$3.$lookupNamespaceUri]: dart.fnType(dart.nullable(core.String), [dart.nullable(core.String)]) +})); +dart.setLibraryUri(html$.XPathNSResolver, I[148]); +dart.registerExtension("XPathNSResolver", html$.XPathNSResolver); +html$.XPathResult = class XPathResult extends _interceptors.Interceptor { + get [S$3.$booleanValue]() { + return this.booleanValue; + } + get [S$3.$invalidIteratorState]() { + return this.invalidIteratorState; + } + get [S$3.$numberValue]() { + return this.numberValue; + } + get [S$3.$resultType]() { + return this.resultType; + } + get [S$3.$singleNodeValue]() { + return this.singleNodeValue; + } + get [S$3.$snapshotLength]() { + return this.snapshotLength; + } + get [S$3.$stringValue]() { + return this.stringValue; + } + [S$3.$iterateNext](...args) { + return this.iterateNext.apply(this, args); + } + [S$3.$snapshotItem](...args) { + return this.snapshotItem.apply(this, args); + } +}; +dart.addTypeTests(html$.XPathResult); +dart.addTypeCaches(html$.XPathResult); +dart.setMethodSignature(html$.XPathResult, () => ({ + __proto__: dart.getMethods(html$.XPathResult.__proto__), + [S$3.$iterateNext]: dart.fnType(dart.nullable(html$.Node), []), + [S$3.$snapshotItem]: dart.fnType(dart.nullable(html$.Node), [core.int]) +})); +dart.setGetterSignature(html$.XPathResult, () => ({ + __proto__: dart.getGetters(html$.XPathResult.__proto__), + [S$3.$booleanValue]: dart.nullable(core.bool), + [S$3.$invalidIteratorState]: dart.nullable(core.bool), + [S$3.$numberValue]: dart.nullable(core.num), + [S$3.$resultType]: dart.nullable(core.int), + [S$3.$singleNodeValue]: dart.nullable(html$.Node), + [S$3.$snapshotLength]: dart.nullable(core.int), + [S$3.$stringValue]: dart.nullable(core.String) +})); +dart.setLibraryUri(html$.XPathResult, I[148]); +dart.defineLazy(html$.XPathResult, { + /*html$.XPathResult.ANY_TYPE*/get ANY_TYPE() { + return 0; + }, + /*html$.XPathResult.ANY_UNORDERED_NODE_TYPE*/get ANY_UNORDERED_NODE_TYPE() { + return 8; + }, + /*html$.XPathResult.BOOLEAN_TYPE*/get BOOLEAN_TYPE() { + return 3; + }, + /*html$.XPathResult.FIRST_ORDERED_NODE_TYPE*/get FIRST_ORDERED_NODE_TYPE() { + return 9; + }, + /*html$.XPathResult.NUMBER_TYPE*/get NUMBER_TYPE() { + return 1; + }, + /*html$.XPathResult.ORDERED_NODE_ITERATOR_TYPE*/get ORDERED_NODE_ITERATOR_TYPE() { + return 5; + }, + /*html$.XPathResult.ORDERED_NODE_SNAPSHOT_TYPE*/get ORDERED_NODE_SNAPSHOT_TYPE() { + return 7; + }, + /*html$.XPathResult.STRING_TYPE*/get STRING_TYPE() { + return 2; + }, + /*html$.XPathResult.UNORDERED_NODE_ITERATOR_TYPE*/get UNORDERED_NODE_ITERATOR_TYPE() { + return 4; + }, + /*html$.XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE*/get UNORDERED_NODE_SNAPSHOT_TYPE() { + return 6; + } +}, false); +dart.registerExtension("XPathResult", html$.XPathResult); +html$.XmlDocument = class XmlDocument extends html$.Document {}; +dart.addTypeTests(html$.XmlDocument); +dart.addTypeCaches(html$.XmlDocument); +dart.setLibraryUri(html$.XmlDocument, I[148]); +dart.registerExtension("XMLDocument", html$.XmlDocument); +html$.XmlSerializer = class XmlSerializer extends _interceptors.Interceptor { + static new() { + return html$.XmlSerializer._create_1(); + } + static _create_1() { + return new XMLSerializer(); + } + [S$3.$serializeToString](...args) { + return this.serializeToString.apply(this, args); + } +}; +dart.addTypeTests(html$.XmlSerializer); +dart.addTypeCaches(html$.XmlSerializer); +dart.setMethodSignature(html$.XmlSerializer, () => ({ + __proto__: dart.getMethods(html$.XmlSerializer.__proto__), + [S$3.$serializeToString]: dart.fnType(core.String, [html$.Node]) +})); +dart.setLibraryUri(html$.XmlSerializer, I[148]); +dart.registerExtension("XMLSerializer", html$.XmlSerializer); +html$.XsltProcessor = class XsltProcessor extends _interceptors.Interceptor { + static new() { + return html$.XsltProcessor._create_1(); + } + static _create_1() { + return new XSLTProcessor(); + } + static get supported() { + return !!window.XSLTProcessor; + } + [S$3.$clearParameters](...args) { + return this.clearParameters.apply(this, args); + } + [S$3.$getParameter](...args) { + return this.getParameter.apply(this, args); + } + [S$3.$importStylesheet](...args) { + return this.importStylesheet.apply(this, args); + } + [S$3.$removeParameter](...args) { + return this.removeParameter.apply(this, args); + } + [S$1.$reset](...args) { + return this.reset.apply(this, args); + } + [S$3.$setParameter](...args) { + return this.setParameter.apply(this, args); + } + [S$3.$transformToDocument](...args) { + return this.transformToDocument.apply(this, args); + } + [S$3.$transformToFragment](...args) { + return this.transformToFragment.apply(this, args); + } +}; +dart.addTypeTests(html$.XsltProcessor); +dart.addTypeCaches(html$.XsltProcessor); +dart.setMethodSignature(html$.XsltProcessor, () => ({ + __proto__: dart.getMethods(html$.XsltProcessor.__proto__), + [S$3.$clearParameters]: dart.fnType(dart.void, []), + [S$3.$getParameter]: dart.fnType(dart.nullable(core.String), [dart.nullable(core.String), core.String]), + [S$3.$importStylesheet]: dart.fnType(dart.void, [html$.Node]), + [S$3.$removeParameter]: dart.fnType(dart.void, [dart.nullable(core.String), core.String]), + [S$1.$reset]: dart.fnType(dart.void, []), + [S$3.$setParameter]: dart.fnType(dart.void, [dart.nullable(core.String), core.String, core.String]), + [S$3.$transformToDocument]: dart.fnType(dart.nullable(html$.Document), [html$.Node]), + [S$3.$transformToFragment]: dart.fnType(dart.nullable(html$.DocumentFragment), [html$.Node, html$.Document]) +})); +dart.setLibraryUri(html$.XsltProcessor, I[148]); +dart.registerExtension("XSLTProcessor", html$.XsltProcessor); +html$._Attr = class _Attr extends html$.Node { + get [S._localName]() { + return this.localName; + } + get [$name]() { + return this.name; + } + get [S._namespaceUri]() { + return this.namespaceURI; + } + get [S.$value]() { + return this.value; + } + set [S.$value](value) { + this.value = value; + } +}; +dart.addTypeTests(html$._Attr); +dart.addTypeCaches(html$._Attr); +dart.setGetterSignature(html$._Attr, () => ({ + __proto__: dart.getGetters(html$._Attr.__proto__), + [S._localName]: dart.nullable(core.String), + [$name]: dart.nullable(core.String), + [S._namespaceUri]: dart.nullable(core.String), + [S.$value]: dart.nullable(core.String) +})); +dart.setSetterSignature(html$._Attr, () => ({ + __proto__: dart.getSetters(html$._Attr.__proto__), + [S.$value]: dart.nullable(core.String) +})); +dart.setLibraryUri(html$._Attr, I[148]); +dart.registerExtension("Attr", html$._Attr); +html$._Bluetooth = class _Bluetooth extends _interceptors.Interceptor {}; +dart.addTypeTests(html$._Bluetooth); +dart.addTypeCaches(html$._Bluetooth); +dart.setLibraryUri(html$._Bluetooth, I[148]); +dart.registerExtension("Bluetooth", html$._Bluetooth); +html$._BluetoothCharacteristicProperties = class _BluetoothCharacteristicProperties extends _interceptors.Interceptor {}; +dart.addTypeTests(html$._BluetoothCharacteristicProperties); +dart.addTypeCaches(html$._BluetoothCharacteristicProperties); +dart.setLibraryUri(html$._BluetoothCharacteristicProperties, I[148]); +dart.registerExtension("BluetoothCharacteristicProperties", html$._BluetoothCharacteristicProperties); +html$._BluetoothDevice = class _BluetoothDevice extends html$.EventTarget {}; +dart.addTypeTests(html$._BluetoothDevice); +dart.addTypeCaches(html$._BluetoothDevice); +dart.setLibraryUri(html$._BluetoothDevice, I[148]); +dart.registerExtension("BluetoothDevice", html$._BluetoothDevice); +html$._BluetoothRemoteGATTCharacteristic = class _BluetoothRemoteGATTCharacteristic extends html$.EventTarget {}; +dart.addTypeTests(html$._BluetoothRemoteGATTCharacteristic); +dart.addTypeCaches(html$._BluetoothRemoteGATTCharacteristic); +dart.setLibraryUri(html$._BluetoothRemoteGATTCharacteristic, I[148]); +dart.registerExtension("BluetoothRemoteGATTCharacteristic", html$._BluetoothRemoteGATTCharacteristic); +html$._BluetoothRemoteGATTServer = class _BluetoothRemoteGATTServer extends _interceptors.Interceptor {}; +dart.addTypeTests(html$._BluetoothRemoteGATTServer); +dart.addTypeCaches(html$._BluetoothRemoteGATTServer); +dart.setLibraryUri(html$._BluetoothRemoteGATTServer, I[148]); +dart.registerExtension("BluetoothRemoteGATTServer", html$._BluetoothRemoteGATTServer); +html$._BluetoothRemoteGATTService = class _BluetoothRemoteGATTService extends _interceptors.Interceptor {}; +dart.addTypeTests(html$._BluetoothRemoteGATTService); +dart.addTypeCaches(html$._BluetoothRemoteGATTService); +dart.setLibraryUri(html$._BluetoothRemoteGATTService, I[148]); +dart.registerExtension("BluetoothRemoteGATTService", html$._BluetoothRemoteGATTService); +html$._BluetoothUUID = class _BluetoothUUID extends _interceptors.Interceptor {}; +dart.addTypeTests(html$._BluetoothUUID); +dart.addTypeCaches(html$._BluetoothUUID); +dart.setLibraryUri(html$._BluetoothUUID, I[148]); +dart.registerExtension("BluetoothUUID", html$._BluetoothUUID); +html$._BudgetService = class _BudgetService extends _interceptors.Interceptor { + [S$3.$getBudget]() { + return js_util.promiseToFuture(html$.BudgetState, this.getBudget()); + } + [S$3.$getCost](operation) { + if (operation == null) dart.nullFailed(I[147], 34377, 33, "operation"); + return js_util.promiseToFuture(core.double, this.getCost(operation)); + } + [S$3.$reserve](operation) { + if (operation == null) dart.nullFailed(I[147], 34380, 31, "operation"); + return js_util.promiseToFuture(core.bool, this.reserve(operation)); + } +}; +dart.addTypeTests(html$._BudgetService); +dart.addTypeCaches(html$._BudgetService); +dart.setMethodSignature(html$._BudgetService, () => ({ + __proto__: dart.getMethods(html$._BudgetService.__proto__), + [S$3.$getBudget]: dart.fnType(async.Future$(html$.BudgetState), []), + [S$3.$getCost]: dart.fnType(async.Future$(core.double), [core.String]), + [S$3.$reserve]: dart.fnType(async.Future$(core.bool), [core.String]) +})); +dart.setLibraryUri(html$._BudgetService, I[148]); +dart.registerExtension("BudgetService", html$._BudgetService); +html$._Cache = class _Cache extends _interceptors.Interceptor {}; +dart.addTypeTests(html$._Cache); +dart.addTypeCaches(html$._Cache); +dart.setLibraryUri(html$._Cache, I[148]); +dart.registerExtension("Cache", html$._Cache); +html$._CanvasPath = class _CanvasPath extends _interceptors.Interceptor {}; +dart.addTypeTests(html$._CanvasPath); +dart.addTypeCaches(html$._CanvasPath); +dart.setLibraryUri(html$._CanvasPath, I[148]); +html$._Clipboard = class _Clipboard extends html$.EventTarget { + [S$3.$read]() { + return js_util.promiseToFuture(html$.DataTransfer, this.read()); + } + [S$3.$readText]() { + return js_util.promiseToFuture(core.String, this.readText()); + } + [S$1.$write](data) { + if (data == null) dart.nullFailed(I[147], 34421, 29, "data"); + return js_util.promiseToFuture(dart.dynamic, this.write(data)); + } + [S$3.$writeText](data) { + if (data == null) dart.nullFailed(I[147], 34424, 27, "data"); + return js_util.promiseToFuture(dart.dynamic, this.writeText(data)); + } +}; +dart.addTypeTests(html$._Clipboard); +dart.addTypeCaches(html$._Clipboard); +dart.setMethodSignature(html$._Clipboard, () => ({ + __proto__: dart.getMethods(html$._Clipboard.__proto__), + [S$3.$read]: dart.fnType(async.Future$(html$.DataTransfer), []), + [S$3.$readText]: dart.fnType(async.Future$(core.String), []), + [S$1.$write]: dart.fnType(async.Future, [html$.DataTransfer]), + [S$3.$writeText]: dart.fnType(async.Future, [core.String]) +})); +dart.setLibraryUri(html$._Clipboard, I[148]); +dart.registerExtension("Clipboard", html$._Clipboard); +const Interceptor_ListMixin$36$8 = class Interceptor_ListMixin extends _interceptors.Interceptor {}; +(Interceptor_ListMixin$36$8.new = function() { + Interceptor_ListMixin$36$8.__proto__.new.call(this); +}).prototype = Interceptor_ListMixin$36$8.prototype; +dart.applyMixin(Interceptor_ListMixin$36$8, collection.ListMixin$(html$.CssRule)); +const Interceptor_ImmutableListMixin$36$8 = class Interceptor_ImmutableListMixin extends Interceptor_ListMixin$36$8 {}; +(Interceptor_ImmutableListMixin$36$8.new = function() { + Interceptor_ImmutableListMixin$36$8.__proto__.new.call(this); +}).prototype = Interceptor_ImmutableListMixin$36$8.prototype; +dart.applyMixin(Interceptor_ImmutableListMixin$36$8, html$.ImmutableListMixin$(html$.CssRule)); +html$._CssRuleList = class _CssRuleList extends Interceptor_ImmutableListMixin$36$8 { + get [$length]() { + return this.length; + } + [$_get](index) { + if (index == null) dart.nullFailed(I[147], 34442, 27, "index"); + if (index >>> 0 !== index || index >= this[$length]) dart.throw(new core.IndexError.new(index, this)); + return this[index]; + } + [$_set](index, value$) { + let value = value$; + if (index == null) dart.nullFailed(I[147], 34448, 25, "index"); + html$.CssRule.as(value); + if (value == null) dart.nullFailed(I[147], 34448, 40, "value"); + dart.throw(new core.UnsupportedError.new("Cannot assign element of immutable List.")); + return value$; + } + set [$length](value) { + if (value == null) dart.nullFailed(I[147], 34454, 18, "value"); + dart.throw(new core.UnsupportedError.new("Cannot resize immutable List.")); + } + get [$first]() { + if (dart.notNull(this[$length]) > 0) { + return this[0]; + } + dart.throw(new core.StateError.new("No elements")); + } + set [$first](value) { + super[$first] = value; + } + get [$last]() { + let len = this[$length]; + if (dart.notNull(len) > 0) { + return this[dart.notNull(len) - 1]; + } + dart.throw(new core.StateError.new("No elements")); + } + set [$last](value) { + super[$last] = value; + } + get [$single]() { + let len = this[$length]; + if (len === 1) { + return this[0]; + } + if (len === 0) dart.throw(new core.StateError.new("No elements")); + dart.throw(new core.StateError.new("More than one element")); + } + [$elementAt](index) { + if (index == null) dart.nullFailed(I[147], 34482, 25, "index"); + return this[$_get](index); + } + [S$.$item](...args) { + return this.item.apply(this, args); + } +}; +html$._CssRuleList.prototype[dart.isList] = true; +dart.addTypeTests(html$._CssRuleList); +dart.addTypeCaches(html$._CssRuleList); +html$._CssRuleList[dart.implements] = () => [_js_helper.JavaScriptIndexingBehavior$(html$.CssRule), core.List$(html$.CssRule)]; +dart.setMethodSignature(html$._CssRuleList, () => ({ + __proto__: dart.getMethods(html$._CssRuleList.__proto__), + [$_get]: dart.fnType(html$.CssRule, [core.int]), + [$_set]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), + [S$.$item]: dart.fnType(dart.nullable(html$.CssRule), [core.int]) +})); +dart.setGetterSignature(html$._CssRuleList, () => ({ + __proto__: dart.getGetters(html$._CssRuleList.__proto__), + [$length]: core.int +})); +dart.setSetterSignature(html$._CssRuleList, () => ({ + __proto__: dart.getSetters(html$._CssRuleList.__proto__), + [$length]: core.int +})); +dart.setLibraryUri(html$._CssRuleList, I[148]); +dart.registerExtension("CSSRuleList", html$._CssRuleList); +html$._DOMFileSystemSync = class _DOMFileSystemSync extends _interceptors.Interceptor {}; +dart.addTypeTests(html$._DOMFileSystemSync); +dart.addTypeCaches(html$._DOMFileSystemSync); +dart.setLibraryUri(html$._DOMFileSystemSync, I[148]); +dart.registerExtension("DOMFileSystemSync", html$._DOMFileSystemSync); +html$._EntrySync = class _EntrySync extends _interceptors.Interceptor {}; +dart.addTypeTests(html$._EntrySync); +dart.addTypeCaches(html$._EntrySync); +dart.setLibraryUri(html$._EntrySync, I[148]); +dart.registerExtension("EntrySync", html$._EntrySync); +html$._DirectoryEntrySync = class _DirectoryEntrySync extends html$._EntrySync {}; +dart.addTypeTests(html$._DirectoryEntrySync); +dart.addTypeCaches(html$._DirectoryEntrySync); +dart.setLibraryUri(html$._DirectoryEntrySync, I[148]); +dart.registerExtension("DirectoryEntrySync", html$._DirectoryEntrySync); +html$._DirectoryReaderSync = class _DirectoryReaderSync extends _interceptors.Interceptor {}; +dart.addTypeTests(html$._DirectoryReaderSync); +dart.addTypeCaches(html$._DirectoryReaderSync); +dart.setLibraryUri(html$._DirectoryReaderSync, I[148]); +dart.registerExtension("DirectoryReaderSync", html$._DirectoryReaderSync); +html$._DocumentType = class _DocumentType extends html$.Node {}; +dart.addTypeTests(html$._DocumentType); +dart.addTypeCaches(html$._DocumentType); +html$._DocumentType[dart.implements] = () => [html$.ChildNode]; +dart.setLibraryUri(html$._DocumentType, I[148]); +dart.registerExtension("DocumentType", html$._DocumentType); +html$._DomRect = class _DomRect extends html$.DomRectReadOnly { + [$toString]() { + return "Rectangle (" + dart.str(this[$left]) + ", " + dart.str(this[$top]) + ") " + dart.str(this[$width]) + " x " + dart.str(this[$height]); + } + [$_equals](other) { + if (other == null) return false; + return T$0.RectangleOfnum().is(other) && this[$left] == other[$left] && this[$top] == other[$top] && this[$width] == other[$width] && this[$height] == other[$height]; + } + get [$hashCode]() { + return html$._JenkinsSmiHash.hash4(dart.hashCode(this[$left]), dart.hashCode(this[$top]), dart.hashCode(this[$width]), dart.hashCode(this[$height])); + } + [$intersection](other) { + T$0.RectangleOfnum().as(other); + if (other == null) dart.nullFailed(I[147], 34568, 37, "other"); + let x0 = math.max(core.num, this[$left], other[$left]); + let x1 = math.min(core.num, dart.notNull(this[$left]) + dart.notNull(this[$width]), dart.notNull(other[$left]) + dart.notNull(other[$width])); + if (x0 <= x1) { + let y0 = math.max(core.num, this[$top], other[$top]); + let y1 = math.min(core.num, dart.notNull(this[$top]) + dart.notNull(this[$height]), dart.notNull(other[$top]) + dart.notNull(other[$height])); + if (y0 <= y1) { + return new (T$0.RectangleOfnum()).new(x0, y0, x1 - x0, y1 - y0); + } + } + return null; + } + [$intersects](other) { + if (other == null) dart.nullFailed(I[147], 34586, 34, "other"); + return dart.notNull(this[$left]) <= dart.notNull(other[$left]) + dart.notNull(other[$width]) && dart.notNull(other[$left]) <= dart.notNull(this[$left]) + dart.notNull(this[$width]) && dart.notNull(this[$top]) <= dart.notNull(other[$top]) + dart.notNull(other[$height]) && dart.notNull(other[$top]) <= dart.notNull(this[$top]) + dart.notNull(this[$height]); + } + [$boundingBox](other) { + T$0.RectangleOfnum().as(other); + if (other == null) dart.nullFailed(I[147], 34596, 35, "other"); + let right = math.max(core.num, dart.notNull(this[$left]) + dart.notNull(this[$width]), dart.notNull(other[$left]) + dart.notNull(other[$width])); + let bottom = math.max(core.num, dart.notNull(this[$top]) + dart.notNull(this[$height]), dart.notNull(other[$top]) + dart.notNull(other[$height])); + let left = math.min(core.num, this[$left], other[$left]); + let top = math.min(core.num, this[$top], other[$top]); + return new (T$0.RectangleOfnum()).new(left, top, right - left, bottom - top); + } + [$containsRectangle](another) { + if (another == null) dart.nullFailed(I[147], 34609, 41, "another"); + return dart.notNull(this[$left]) <= dart.notNull(another[$left]) && dart.notNull(this[$left]) + dart.notNull(this[$width]) >= dart.notNull(another[$left]) + dart.notNull(another[$width]) && dart.notNull(this[$top]) <= dart.notNull(another[$top]) && dart.notNull(this[$top]) + dart.notNull(this[$height]) >= dart.notNull(another[$top]) + dart.notNull(another[$height]); + } + [$containsPoint](another) { + if (another == null) dart.nullFailed(I[147], 34619, 33, "another"); + return dart.notNull(another.x) >= dart.notNull(this[$left]) && dart.notNull(another.x) <= dart.notNull(this[$left]) + dart.notNull(this[$width]) && dart.notNull(another.y) >= dart.notNull(this[$top]) && dart.notNull(another.y) <= dart.notNull(this[$top]) + dart.notNull(this[$height]); + } + get [$topLeft]() { + return new (T$0.PointOfnum()).new(this[$left], this[$top]); + } + get [$topRight]() { + return new (T$0.PointOfnum()).new(dart.notNull(this[$left]) + dart.notNull(this[$width]), this[$top]); + } + get [$bottomRight]() { + return new (T$0.PointOfnum()).new(dart.notNull(this[$left]) + dart.notNull(this[$width]), dart.notNull(this[$top]) + dart.notNull(this[$height])); + } + get [$bottomLeft]() { + return new (T$0.PointOfnum()).new(this[$left], dart.notNull(this[$top]) + dart.notNull(this[$height])); + } + static new(x = null, y = null, width = null, height = null) { + if (height != null) { + return html$._DomRect._create_1(x, y, width, height); + } + if (width != null) { + return html$._DomRect._create_2(x, y, width); + } + if (y != null) { + return html$._DomRect._create_3(x, y); + } + if (x != null) { + return html$._DomRect._create_4(x); + } + return html$._DomRect._create_5(); + } + static _create_1(x, y, width, height) { + return new DOMRect(x, y, width, height); + } + static _create_2(x, y, width) { + return new DOMRect(x, y, width); + } + static _create_3(x, y) { + return new DOMRect(x, y); + } + static _create_4(x) { + return new DOMRect(x); + } + static _create_5() { + return new DOMRect(); + } + get [S$0._height$1]() { + return this.height; + } + get [$height]() { + return dart.nullCheck(this[S$0._height$1]); + } + set [$height](value) { + this.height = value; + } + get [S$0._width$1]() { + return this.width; + } + get [$width]() { + return dart.nullCheck(this[S$0._width$1]); + } + set [$width](value) { + this.width = value; + } + get [S$.$x]() { + return this.x; + } + set [S$.$x](value) { + this.x = value; + } + get [S$.$y]() { + return this.y; + } + set [S$.$y](value) { + this.y = value; + } +}; +dart.addTypeTests(html$._DomRect); +dart.addTypeCaches(html$._DomRect); +html$._DomRect[dart.implements] = () => [math.Rectangle$(core.num)]; +dart.setSetterSignature(html$._DomRect, () => ({ + __proto__: dart.getSetters(html$._DomRect.__proto__), + [$height]: core.num, + [$width]: core.num, + [S$.$x]: dart.nullable(core.num), + [S$.$y]: dart.nullable(core.num) +})); +dart.setLibraryUri(html$._DomRect, I[148]); +dart.registerExtension("ClientRect", html$._DomRect); +dart.registerExtension("DOMRect", html$._DomRect); +html$._JenkinsSmiHash = class _JenkinsSmiHash extends core.Object { + static combine(hash, value) { + if (hash == null) dart.nullFailed(I[147], 34716, 26, "hash"); + if (value == null) dart.nullFailed(I[147], 34716, 36, "value"); + hash = 536870911 & dart.notNull(hash) + dart.notNull(value); + hash = 536870911 & dart.notNull(hash) + ((524287 & dart.notNull(hash)) << 10); + return (dart.notNull(hash) ^ hash[$rightShift](6)) >>> 0; + } + static finish(hash) { + if (hash == null) dart.nullFailed(I[147], 34722, 25, "hash"); + hash = 536870911 & dart.notNull(hash) + ((67108863 & dart.notNull(hash)) << 3); + hash = (dart.notNull(hash) ^ hash[$rightShift](11)) >>> 0; + return 536870911 & dart.notNull(hash) + ((16383 & dart.notNull(hash)) << 15); + } + static hash2(a, b) { + return html$._JenkinsSmiHash.finish(html$._JenkinsSmiHash.combine(html$._JenkinsSmiHash.combine(0, core.int.as(a)), core.int.as(b))); + } + static hash4(a, b, c, d) { + return html$._JenkinsSmiHash.finish(html$._JenkinsSmiHash.combine(html$._JenkinsSmiHash.combine(html$._JenkinsSmiHash.combine(html$._JenkinsSmiHash.combine(0, core.int.as(a)), core.int.as(b)), core.int.as(c)), core.int.as(d))); + } +}; +(html$._JenkinsSmiHash.new = function() { + ; +}).prototype = html$._JenkinsSmiHash.prototype; +dart.addTypeTests(html$._JenkinsSmiHash); +dart.addTypeCaches(html$._JenkinsSmiHash); +dart.setLibraryUri(html$._JenkinsSmiHash, I[148]); +html$._FileEntrySync = class _FileEntrySync extends html$._EntrySync {}; +dart.addTypeTests(html$._FileEntrySync); +dart.addTypeCaches(html$._FileEntrySync); +dart.setLibraryUri(html$._FileEntrySync, I[148]); +dart.registerExtension("FileEntrySync", html$._FileEntrySync); +html$._FileReaderSync = class _FileReaderSync extends _interceptors.Interceptor { + static new() { + return html$._FileReaderSync._create_1(); + } + static _create_1() { + return new FileReaderSync(); + } +}; +dart.addTypeTests(html$._FileReaderSync); +dart.addTypeCaches(html$._FileReaderSync); +dart.setLibraryUri(html$._FileReaderSync, I[148]); +dart.registerExtension("FileReaderSync", html$._FileReaderSync); +html$._FileWriterSync = class _FileWriterSync extends _interceptors.Interceptor {}; +dart.addTypeTests(html$._FileWriterSync); +dart.addTypeCaches(html$._FileWriterSync); +dart.setLibraryUri(html$._FileWriterSync, I[148]); +dart.registerExtension("FileWriterSync", html$._FileWriterSync); +const Interceptor_ListMixin$36$9 = class Interceptor_ListMixin extends _interceptors.Interceptor {}; +(Interceptor_ListMixin$36$9.new = function() { + Interceptor_ListMixin$36$9.__proto__.new.call(this); +}).prototype = Interceptor_ListMixin$36$9.prototype; +dart.applyMixin(Interceptor_ListMixin$36$9, collection.ListMixin$(dart.nullable(html$.Gamepad))); +const Interceptor_ImmutableListMixin$36$9 = class Interceptor_ImmutableListMixin extends Interceptor_ListMixin$36$9 {}; +(Interceptor_ImmutableListMixin$36$9.new = function() { + Interceptor_ImmutableListMixin$36$9.__proto__.new.call(this); +}).prototype = Interceptor_ImmutableListMixin$36$9.prototype; +dart.applyMixin(Interceptor_ImmutableListMixin$36$9, html$.ImmutableListMixin$(dart.nullable(html$.Gamepad))); +html$._GamepadList = class _GamepadList extends Interceptor_ImmutableListMixin$36$9 { + get [$length]() { + return this.length; + } + [$_get](index) { + if (index == null) dart.nullFailed(I[147], 34798, 28, "index"); + if (index >>> 0 !== index || index >= this[$length]) dart.throw(new core.IndexError.new(index, this)); + return this[index]; + } + [$_set](index, value$) { + let value = value$; + if (index == null) dart.nullFailed(I[147], 34804, 25, "index"); + T$0.GamepadN().as(value); + dart.throw(new core.UnsupportedError.new("Cannot assign element of immutable List.")); + return value$; + } + set [$length](value) { + if (value == null) dart.nullFailed(I[147], 34810, 18, "value"); + dart.throw(new core.UnsupportedError.new("Cannot resize immutable List.")); + } + get [$first]() { + if (dart.notNull(this[$length]) > 0) { + return this[0]; + } + dart.throw(new core.StateError.new("No elements")); + } + set [$first](value) { + super[$first] = value; + } + get [$last]() { + let len = this[$length]; + if (dart.notNull(len) > 0) { + return this[dart.notNull(len) - 1]; + } + dart.throw(new core.StateError.new("No elements")); + } + set [$last](value) { + super[$last] = value; + } + get [$single]() { + let len = this[$length]; + if (len === 1) { + return this[0]; + } + if (len === 0) dart.throw(new core.StateError.new("No elements")); + dart.throw(new core.StateError.new("More than one element")); + } + [$elementAt](index) { + if (index == null) dart.nullFailed(I[147], 34838, 26, "index"); + return this[$_get](index); + } + [S$.$item](...args) { + return this.item.apply(this, args); + } +}; +html$._GamepadList.prototype[dart.isList] = true; +dart.addTypeTests(html$._GamepadList); +dart.addTypeCaches(html$._GamepadList); +html$._GamepadList[dart.implements] = () => [core.List$(dart.nullable(html$.Gamepad)), _js_helper.JavaScriptIndexingBehavior$(dart.nullable(html$.Gamepad))]; +dart.setMethodSignature(html$._GamepadList, () => ({ + __proto__: dart.getMethods(html$._GamepadList.__proto__), + [$_get]: dart.fnType(dart.nullable(html$.Gamepad), [core.int]), + [$_set]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), + [S$.$item]: dart.fnType(html$.Gamepad, [dart.nullable(core.int)]) +})); +dart.setGetterSignature(html$._GamepadList, () => ({ + __proto__: dart.getGetters(html$._GamepadList.__proto__), + [$length]: core.int +})); +dart.setSetterSignature(html$._GamepadList, () => ({ + __proto__: dart.getSetters(html$._GamepadList.__proto__), + [$length]: core.int +})); +dart.setLibraryUri(html$._GamepadList, I[148]); +dart.registerExtension("GamepadList", html$._GamepadList); +html$._HTMLAllCollection = class _HTMLAllCollection extends _interceptors.Interceptor { + [S$1._item](...args) { + return this.item.apply(this, args); + } +}; +dart.addTypeTests(html$._HTMLAllCollection); +dart.addTypeCaches(html$._HTMLAllCollection); +dart.setMethodSignature(html$._HTMLAllCollection, () => ({ + __proto__: dart.getMethods(html$._HTMLAllCollection.__proto__), + [S$1._item]: dart.fnType(html$.Element, [dart.nullable(core.int)]) +})); +dart.setLibraryUri(html$._HTMLAllCollection, I[148]); +dart.registerExtension("HTMLAllCollection", html$._HTMLAllCollection); +html$._HTMLDirectoryElement = class _HTMLDirectoryElement extends html$.HtmlElement {}; +(html$._HTMLDirectoryElement.created = function() { + html$._HTMLDirectoryElement.__proto__.created.call(this); + ; +}).prototype = html$._HTMLDirectoryElement.prototype; +dart.addTypeTests(html$._HTMLDirectoryElement); +dart.addTypeCaches(html$._HTMLDirectoryElement); +dart.setLibraryUri(html$._HTMLDirectoryElement, I[148]); +dart.registerExtension("HTMLDirectoryElement", html$._HTMLDirectoryElement); +html$._HTMLFontElement = class _HTMLFontElement extends html$.HtmlElement {}; +(html$._HTMLFontElement.created = function() { + html$._HTMLFontElement.__proto__.created.call(this); + ; +}).prototype = html$._HTMLFontElement.prototype; +dart.addTypeTests(html$._HTMLFontElement); +dart.addTypeCaches(html$._HTMLFontElement); +dart.setLibraryUri(html$._HTMLFontElement, I[148]); +dart.registerExtension("HTMLFontElement", html$._HTMLFontElement); +html$._HTMLFrameElement = class _HTMLFrameElement extends html$.HtmlElement {}; +(html$._HTMLFrameElement.created = function() { + html$._HTMLFrameElement.__proto__.created.call(this); + ; +}).prototype = html$._HTMLFrameElement.prototype; +dart.addTypeTests(html$._HTMLFrameElement); +dart.addTypeCaches(html$._HTMLFrameElement); +dart.setLibraryUri(html$._HTMLFrameElement, I[148]); +dart.registerExtension("HTMLFrameElement", html$._HTMLFrameElement); +html$._HTMLFrameSetElement = class _HTMLFrameSetElement extends html$.HtmlElement {}; +(html$._HTMLFrameSetElement.created = function() { + html$._HTMLFrameSetElement.__proto__.created.call(this); + ; +}).prototype = html$._HTMLFrameSetElement.prototype; +dart.addTypeTests(html$._HTMLFrameSetElement); +dart.addTypeCaches(html$._HTMLFrameSetElement); +html$._HTMLFrameSetElement[dart.implements] = () => [html$.WindowEventHandlers]; +dart.setLibraryUri(html$._HTMLFrameSetElement, I[148]); +dart.registerExtension("HTMLFrameSetElement", html$._HTMLFrameSetElement); +html$._HTMLMarqueeElement = class _HTMLMarqueeElement extends html$.HtmlElement {}; +(html$._HTMLMarqueeElement.created = function() { + html$._HTMLMarqueeElement.__proto__.created.call(this); + ; +}).prototype = html$._HTMLMarqueeElement.prototype; +dart.addTypeTests(html$._HTMLMarqueeElement); +dart.addTypeCaches(html$._HTMLMarqueeElement); +dart.setLibraryUri(html$._HTMLMarqueeElement, I[148]); +dart.registerExtension("HTMLMarqueeElement", html$._HTMLMarqueeElement); +html$._Mojo = class _Mojo extends _interceptors.Interceptor {}; +dart.addTypeTests(html$._Mojo); +dart.addTypeCaches(html$._Mojo); +dart.setLibraryUri(html$._Mojo, I[148]); +dart.registerExtension("Mojo", html$._Mojo); +html$._MojoHandle = class _MojoHandle extends _interceptors.Interceptor {}; +dart.addTypeTests(html$._MojoHandle); +dart.addTypeCaches(html$._MojoHandle); +dart.setLibraryUri(html$._MojoHandle, I[148]); +dart.registerExtension("MojoHandle", html$._MojoHandle); +html$._MojoInterfaceInterceptor = class _MojoInterfaceInterceptor extends html$.EventTarget { + static new(interfaceName, scope = null) { + if (interfaceName == null) dart.nullFailed(I[147], 34989, 44, "interfaceName"); + if (scope != null) { + return html$._MojoInterfaceInterceptor._create_1(interfaceName, scope); + } + return html$._MojoInterfaceInterceptor._create_2(interfaceName); + } + static _create_1(interfaceName, scope) { + return new MojoInterfaceInterceptor(interfaceName, scope); + } + static _create_2(interfaceName) { + return new MojoInterfaceInterceptor(interfaceName); + } +}; +dart.addTypeTests(html$._MojoInterfaceInterceptor); +dart.addTypeCaches(html$._MojoInterfaceInterceptor); +dart.setLibraryUri(html$._MojoInterfaceInterceptor, I[148]); +dart.registerExtension("MojoInterfaceInterceptor", html$._MojoInterfaceInterceptor); +html$._MojoInterfaceRequestEvent = class _MojoInterfaceRequestEvent extends html$.Event { + static new(type, eventInitDict = null) { + if (type == null) dart.nullFailed(I[147], 35016, 45, "type"); + if (eventInitDict != null) { + let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); + return html$._MojoInterfaceRequestEvent._create_1(type, eventInitDict_1); + } + return html$._MojoInterfaceRequestEvent._create_2(type); + } + static _create_1(type, eventInitDict) { + return new MojoInterfaceRequestEvent(type, eventInitDict); + } + static _create_2(type) { + return new MojoInterfaceRequestEvent(type); + } +}; +dart.addTypeTests(html$._MojoInterfaceRequestEvent); +dart.addTypeCaches(html$._MojoInterfaceRequestEvent); +dart.setLibraryUri(html$._MojoInterfaceRequestEvent, I[148]); +dart.registerExtension("MojoInterfaceRequestEvent", html$._MojoInterfaceRequestEvent); +html$._MojoWatcher = class _MojoWatcher extends _interceptors.Interceptor {}; +dart.addTypeTests(html$._MojoWatcher); +dart.addTypeCaches(html$._MojoWatcher); +dart.setLibraryUri(html$._MojoWatcher, I[148]); +dart.registerExtension("MojoWatcher", html$._MojoWatcher); +html$._NFC = class _NFC extends _interceptors.Interceptor {}; +dart.addTypeTests(html$._NFC); +dart.addTypeCaches(html$._NFC); +dart.setLibraryUri(html$._NFC, I[148]); +dart.registerExtension("NFC", html$._NFC); +const Interceptor_ListMixin$36$10 = class Interceptor_ListMixin extends _interceptors.Interceptor {}; +(Interceptor_ListMixin$36$10.new = function() { + Interceptor_ListMixin$36$10.__proto__.new.call(this); +}).prototype = Interceptor_ListMixin$36$10.prototype; +dart.applyMixin(Interceptor_ListMixin$36$10, collection.ListMixin$(html$.Node)); +const Interceptor_ImmutableListMixin$36$10 = class Interceptor_ImmutableListMixin extends Interceptor_ListMixin$36$10 {}; +(Interceptor_ImmutableListMixin$36$10.new = function() { + Interceptor_ImmutableListMixin$36$10.__proto__.new.call(this); +}).prototype = Interceptor_ImmutableListMixin$36$10.prototype; +dart.applyMixin(Interceptor_ImmutableListMixin$36$10, html$.ImmutableListMixin$(html$.Node)); +html$._NamedNodeMap = class _NamedNodeMap extends Interceptor_ImmutableListMixin$36$10 { + get [$length]() { + return this.length; + } + [$_get](index) { + if (index == null) dart.nullFailed(I[147], 35070, 24, "index"); + if (index >>> 0 !== index || index >= this[$length]) dart.throw(new core.IndexError.new(index, this)); + return this[index]; + } + [$_set](index, value$) { + let value = value$; + if (index == null) dart.nullFailed(I[147], 35076, 25, "index"); + html$.Node.as(value); + if (value == null) dart.nullFailed(I[147], 35076, 37, "value"); + dart.throw(new core.UnsupportedError.new("Cannot assign element of immutable List.")); + return value$; + } + set [$length](value) { + if (value == null) dart.nullFailed(I[147], 35082, 18, "value"); + dart.throw(new core.UnsupportedError.new("Cannot resize immutable List.")); + } + get [$first]() { + if (dart.notNull(this[$length]) > 0) { + return this[0]; + } + dart.throw(new core.StateError.new("No elements")); + } + set [$first](value) { + super[$first] = value; + } + get [$last]() { + let len = this[$length]; + if (dart.notNull(len) > 0) { + return this[dart.notNull(len) - 1]; + } + dart.throw(new core.StateError.new("No elements")); + } + set [$last](value) { + super[$last] = value; + } + get [$single]() { + let len = this[$length]; + if (len === 1) { + return this[0]; + } + if (len === 0) dart.throw(new core.StateError.new("No elements")); + dart.throw(new core.StateError.new("More than one element")); + } + [$elementAt](index) { + if (index == null) dart.nullFailed(I[147], 35110, 22, "index"); + return this[$_get](index); + } + [S$3.$getNamedItem](...args) { + return this.getNamedItem.apply(this, args); + } + [S$3.$getNamedItemNS](...args) { + return this.getNamedItemNS.apply(this, args); + } + [S$.$item](...args) { + return this.item.apply(this, args); + } + [S$3.$removeNamedItem](...args) { + return this.removeNamedItem.apply(this, args); + } + [S$3.$removeNamedItemNS](...args) { + return this.removeNamedItemNS.apply(this, args); + } + [S$3.$setNamedItem](...args) { + return this.setNamedItem.apply(this, args); + } + [S$3.$setNamedItemNS](...args) { + return this.setNamedItemNS.apply(this, args); + } +}; +html$._NamedNodeMap.prototype[dart.isList] = true; +dart.addTypeTests(html$._NamedNodeMap); +dart.addTypeCaches(html$._NamedNodeMap); +html$._NamedNodeMap[dart.implements] = () => [_js_helper.JavaScriptIndexingBehavior$(html$.Node), core.List$(html$.Node)]; +dart.setMethodSignature(html$._NamedNodeMap, () => ({ + __proto__: dart.getMethods(html$._NamedNodeMap.__proto__), + [$_get]: dart.fnType(html$.Node, [core.int]), + [$_set]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), + [S$3.$getNamedItem]: dart.fnType(dart.nullable(html$._Attr), [core.String]), + [S$3.$getNamedItemNS]: dart.fnType(dart.nullable(html$._Attr), [dart.nullable(core.String), core.String]), + [S$.$item]: dart.fnType(dart.nullable(html$._Attr), [core.int]), + [S$3.$removeNamedItem]: dart.fnType(html$._Attr, [core.String]), + [S$3.$removeNamedItemNS]: dart.fnType(html$._Attr, [dart.nullable(core.String), core.String]), + [S$3.$setNamedItem]: dart.fnType(dart.nullable(html$._Attr), [html$._Attr]), + [S$3.$setNamedItemNS]: dart.fnType(dart.nullable(html$._Attr), [html$._Attr]) +})); +dart.setGetterSignature(html$._NamedNodeMap, () => ({ + __proto__: dart.getGetters(html$._NamedNodeMap.__proto__), + [$length]: core.int +})); +dart.setSetterSignature(html$._NamedNodeMap, () => ({ + __proto__: dart.getSetters(html$._NamedNodeMap.__proto__), + [$length]: core.int +})); +dart.setLibraryUri(html$._NamedNodeMap, I[148]); +dart.registerExtension("NamedNodeMap", html$._NamedNodeMap); +dart.registerExtension("MozNamedAttrMap", html$._NamedNodeMap); +html$._PagePopupController = class _PagePopupController extends _interceptors.Interceptor {}; +dart.addTypeTests(html$._PagePopupController); +dart.addTypeCaches(html$._PagePopupController); +dart.setLibraryUri(html$._PagePopupController, I[148]); +dart.registerExtension("PagePopupController", html$._PagePopupController); +html$._Report = class _Report extends _interceptors.Interceptor { + get [S$1.$body]() { + return this.body; + } + get [S.$type]() { + return this.type; + } + get [S$.$url]() { + return this.url; + } +}; +dart.addTypeTests(html$._Report); +dart.addTypeCaches(html$._Report); +dart.setGetterSignature(html$._Report, () => ({ + __proto__: dart.getGetters(html$._Report.__proto__), + [S$1.$body]: dart.nullable(html$.ReportBody), + [S.$type]: dart.nullable(core.String), + [S$.$url]: dart.nullable(core.String) +})); +dart.setLibraryUri(html$._Report, I[148]); +dart.registerExtension("Report", html$._Report); +html$._Request = class _Request extends html$.Body { + static new(input, requestInitDict = null) { + if (input == null) dart.nullFailed(I[147], 35175, 27, "input"); + if (requestInitDict != null) { + let requestInitDict_1 = html_common.convertDartToNative_Dictionary(requestInitDict); + return html$._Request._create_1(input, requestInitDict_1); + } + return html$._Request._create_2(input); + } + static _create_1(input, requestInitDict) { + return new Request(input, requestInitDict); + } + static _create_2(input) { + return new Request(input); + } + get [S$3.$cache]() { + return this.cache; + } + get [S$1.$credentials]() { + return this.credentials; + } + get [S$2.$headers]() { + return this.headers; + } + get [S$1.$integrity]() { + return this.integrity; + } + get [S.$mode]() { + return this.mode; + } + get [S$3.$redirect]() { + return this.redirect; + } + get [S$1.$referrer]() { + return this.referrer; + } + get [S$.$referrerPolicy]() { + return this.referrerPolicy; + } + get [S$.$url]() { + return this.url; + } + [S$.$clone](...args) { + return this.clone.apply(this, args); + } +}; +dart.addTypeTests(html$._Request); +dart.addTypeCaches(html$._Request); +dart.setMethodSignature(html$._Request, () => ({ + __proto__: dart.getMethods(html$._Request.__proto__), + [S$.$clone]: dart.fnType(html$._Request, []) +})); +dart.setGetterSignature(html$._Request, () => ({ + __proto__: dart.getGetters(html$._Request.__proto__), + [S$3.$cache]: dart.nullable(core.String), + [S$1.$credentials]: dart.nullable(core.String), + [S$2.$headers]: dart.nullable(html$.Headers), + [S$1.$integrity]: dart.nullable(core.String), + [S.$mode]: dart.nullable(core.String), + [S$3.$redirect]: dart.nullable(core.String), + [S$1.$referrer]: dart.nullable(core.String), + [S$.$referrerPolicy]: dart.nullable(core.String), + [S$.$url]: dart.nullable(core.String) +})); +dart.setLibraryUri(html$._Request, I[148]); +dart.registerExtension("Request", html$._Request); +html$._ResourceProgressEvent = class _ResourceProgressEvent extends html$.ProgressEvent {}; +dart.addTypeTests(html$._ResourceProgressEvent); +dart.addTypeCaches(html$._ResourceProgressEvent); +dart.setLibraryUri(html$._ResourceProgressEvent, I[148]); +dart.registerExtension("ResourceProgressEvent", html$._ResourceProgressEvent); +html$._Response = class _Response extends html$.Body { + static new(body = null, init = null) { + if (init != null) { + let init_1 = html_common.convertDartToNative_Dictionary(init); + return html$._Response._create_1(body, init_1); + } + if (body != null) { + return html$._Response._create_2(body); + } + return html$._Response._create_3(); + } + static _create_1(body, init) { + return new Response(body, init); + } + static _create_2(body) { + return new Response(body); + } + static _create_3() { + return new Response(); + } +}; +dart.addTypeTests(html$._Response); +dart.addTypeCaches(html$._Response); +dart.setLibraryUri(html$._Response, I[148]); +dart.registerExtension("Response", html$._Response); +const Interceptor_ListMixin$36$11 = class Interceptor_ListMixin extends _interceptors.Interceptor {}; +(Interceptor_ListMixin$36$11.new = function() { + Interceptor_ListMixin$36$11.__proto__.new.call(this); +}).prototype = Interceptor_ListMixin$36$11.prototype; +dart.applyMixin(Interceptor_ListMixin$36$11, collection.ListMixin$(html$.SpeechRecognitionResult)); +const Interceptor_ImmutableListMixin$36$11 = class Interceptor_ImmutableListMixin extends Interceptor_ListMixin$36$11 {}; +(Interceptor_ImmutableListMixin$36$11.new = function() { + Interceptor_ImmutableListMixin$36$11.__proto__.new.call(this); +}).prototype = Interceptor_ImmutableListMixin$36$11.prototype; +dart.applyMixin(Interceptor_ImmutableListMixin$36$11, html$.ImmutableListMixin$(html$.SpeechRecognitionResult)); +html$._SpeechRecognitionResultList = class _SpeechRecognitionResultList extends Interceptor_ImmutableListMixin$36$11 { + get [$length]() { + return this.length; + } + [$_get](index) { + if (index == null) dart.nullFailed(I[147], 35264, 43, "index"); + if (index >>> 0 !== index || index >= this[$length]) dart.throw(new core.IndexError.new(index, this)); + return this[index]; + } + [$_set](index, value$) { + let value = value$; + if (index == null) dart.nullFailed(I[147], 35270, 25, "index"); + html$.SpeechRecognitionResult.as(value); + if (value == null) dart.nullFailed(I[147], 35270, 56, "value"); + dart.throw(new core.UnsupportedError.new("Cannot assign element of immutable List.")); + return value$; + } + set [$length](value) { + if (value == null) dart.nullFailed(I[147], 35276, 18, "value"); + dart.throw(new core.UnsupportedError.new("Cannot resize immutable List.")); + } + get [$first]() { + if (dart.notNull(this[$length]) > 0) { + return this[0]; + } + dart.throw(new core.StateError.new("No elements")); + } + set [$first](value) { + super[$first] = value; + } + get [$last]() { + let len = this[$length]; + if (dart.notNull(len) > 0) { + return this[dart.notNull(len) - 1]; + } + dart.throw(new core.StateError.new("No elements")); + } + set [$last](value) { + super[$last] = value; + } + get [$single]() { + let len = this[$length]; + if (len === 1) { + return this[0]; + } + if (len === 0) dart.throw(new core.StateError.new("No elements")); + dart.throw(new core.StateError.new("More than one element")); + } + [$elementAt](index) { + if (index == null) dart.nullFailed(I[147], 35304, 41, "index"); + return this[$_get](index); + } + [S$.$item](...args) { + return this.item.apply(this, args); + } +}; +html$._SpeechRecognitionResultList.prototype[dart.isList] = true; +dart.addTypeTests(html$._SpeechRecognitionResultList); +dart.addTypeCaches(html$._SpeechRecognitionResultList); +html$._SpeechRecognitionResultList[dart.implements] = () => [_js_helper.JavaScriptIndexingBehavior$(html$.SpeechRecognitionResult), core.List$(html$.SpeechRecognitionResult)]; +dart.setMethodSignature(html$._SpeechRecognitionResultList, () => ({ + __proto__: dart.getMethods(html$._SpeechRecognitionResultList.__proto__), + [$_get]: dart.fnType(html$.SpeechRecognitionResult, [core.int]), + [$_set]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), + [S$.$item]: dart.fnType(html$.SpeechRecognitionResult, [core.int]) +})); +dart.setGetterSignature(html$._SpeechRecognitionResultList, () => ({ + __proto__: dart.getGetters(html$._SpeechRecognitionResultList.__proto__), + [$length]: core.int +})); +dart.setSetterSignature(html$._SpeechRecognitionResultList, () => ({ + __proto__: dart.getSetters(html$._SpeechRecognitionResultList.__proto__), + [$length]: core.int +})); +dart.setLibraryUri(html$._SpeechRecognitionResultList, I[148]); +dart.registerExtension("SpeechRecognitionResultList", html$._SpeechRecognitionResultList); +const Interceptor_ListMixin$36$12 = class Interceptor_ListMixin extends _interceptors.Interceptor {}; +(Interceptor_ListMixin$36$12.new = function() { + Interceptor_ListMixin$36$12.__proto__.new.call(this); +}).prototype = Interceptor_ListMixin$36$12.prototype; +dart.applyMixin(Interceptor_ListMixin$36$12, collection.ListMixin$(html$.StyleSheet)); +const Interceptor_ImmutableListMixin$36$12 = class Interceptor_ImmutableListMixin extends Interceptor_ListMixin$36$12 {}; +(Interceptor_ImmutableListMixin$36$12.new = function() { + Interceptor_ImmutableListMixin$36$12.__proto__.new.call(this); +}).prototype = Interceptor_ImmutableListMixin$36$12.prototype; +dart.applyMixin(Interceptor_ImmutableListMixin$36$12, html$.ImmutableListMixin$(html$.StyleSheet)); +html$._StyleSheetList = class _StyleSheetList extends Interceptor_ImmutableListMixin$36$12 { + get [$length]() { + return this.length; + } + [$_get](index) { + if (index == null) dart.nullFailed(I[147], 35324, 30, "index"); + if (index >>> 0 !== index || index >= this[$length]) dart.throw(new core.IndexError.new(index, this)); + return this[index]; + } + [$_set](index, value$) { + let value = value$; + if (index == null) dart.nullFailed(I[147], 35330, 25, "index"); + html$.StyleSheet.as(value); + if (value == null) dart.nullFailed(I[147], 35330, 43, "value"); + dart.throw(new core.UnsupportedError.new("Cannot assign element of immutable List.")); + return value$; + } + set [$length](value) { + if (value == null) dart.nullFailed(I[147], 35336, 18, "value"); + dart.throw(new core.UnsupportedError.new("Cannot resize immutable List.")); + } + get [$first]() { + if (dart.notNull(this[$length]) > 0) { + return this[0]; + } + dart.throw(new core.StateError.new("No elements")); + } + set [$first](value) { + super[$first] = value; + } + get [$last]() { + let len = this[$length]; + if (dart.notNull(len) > 0) { + return this[dart.notNull(len) - 1]; + } + dart.throw(new core.StateError.new("No elements")); + } + set [$last](value) { + super[$last] = value; + } + get [$single]() { + let len = this[$length]; + if (len === 1) { + return this[0]; + } + if (len === 0) dart.throw(new core.StateError.new("No elements")); + dart.throw(new core.StateError.new("More than one element")); + } + [$elementAt](index) { + if (index == null) dart.nullFailed(I[147], 35364, 28, "index"); + return this[$_get](index); + } + [S$.__getter__](...args) { + return this.__getter__.apply(this, args); + } + [S$.$item](...args) { + return this.item.apply(this, args); + } +}; +html$._StyleSheetList.prototype[dart.isList] = true; +dart.addTypeTests(html$._StyleSheetList); +dart.addTypeCaches(html$._StyleSheetList); +html$._StyleSheetList[dart.implements] = () => [core.List$(html$.StyleSheet), _js_helper.JavaScriptIndexingBehavior$(html$.StyleSheet)]; +dart.setMethodSignature(html$._StyleSheetList, () => ({ + __proto__: dart.getMethods(html$._StyleSheetList.__proto__), + [$_get]: dart.fnType(html$.StyleSheet, [core.int]), + [$_set]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), + [S$.__getter__]: dart.fnType(html$.CssStyleSheet, [core.String]), + [S$.$item]: dart.fnType(dart.nullable(html$.StyleSheet), [core.int]) +})); +dart.setGetterSignature(html$._StyleSheetList, () => ({ + __proto__: dart.getGetters(html$._StyleSheetList.__proto__), + [$length]: core.int +})); +dart.setSetterSignature(html$._StyleSheetList, () => ({ + __proto__: dart.getSetters(html$._StyleSheetList.__proto__), + [$length]: core.int +})); +dart.setLibraryUri(html$._StyleSheetList, I[148]); +dart.registerExtension("StyleSheetList", html$._StyleSheetList); +html$._SubtleCrypto = class _SubtleCrypto extends _interceptors.Interceptor {}; +dart.addTypeTests(html$._SubtleCrypto); +dart.addTypeCaches(html$._SubtleCrypto); +dart.setLibraryUri(html$._SubtleCrypto, I[148]); +dart.registerExtension("SubtleCrypto", html$._SubtleCrypto); +html$._USB = class _USB extends html$.EventTarget {}; +dart.addTypeTests(html$._USB); +dart.addTypeCaches(html$._USB); +dart.setLibraryUri(html$._USB, I[148]); +dart.registerExtension("USB", html$._USB); +html$._USBAlternateInterface = class _USBAlternateInterface extends _interceptors.Interceptor { + static new(deviceInterface, alternateSetting) { + if (deviceInterface == null) dart.nullFailed(I[147], 35405, 21, "deviceInterface"); + if (alternateSetting == null) dart.nullFailed(I[147], 35405, 42, "alternateSetting"); + return html$._USBAlternateInterface._create_1(deviceInterface, alternateSetting); + } + static _create_1(deviceInterface, alternateSetting) { + return new USBAlternateInterface(deviceInterface, alternateSetting); + } +}; +dart.addTypeTests(html$._USBAlternateInterface); +dart.addTypeCaches(html$._USBAlternateInterface); +dart.setLibraryUri(html$._USBAlternateInterface, I[148]); +dart.registerExtension("USBAlternateInterface", html$._USBAlternateInterface); +html$._USBConfiguration = class _USBConfiguration extends _interceptors.Interceptor { + static new(device, configurationValue) { + if (device == null) dart.nullFailed(I[147], 35423, 40, "device"); + if (configurationValue == null) dart.nullFailed(I[147], 35423, 52, "configurationValue"); + return html$._USBConfiguration._create_1(device, configurationValue); + } + static _create_1(device, configurationValue) { + return new USBConfiguration(device, configurationValue); + } +}; +dart.addTypeTests(html$._USBConfiguration); +dart.addTypeCaches(html$._USBConfiguration); +dart.setLibraryUri(html$._USBConfiguration, I[148]); +dart.registerExtension("USBConfiguration", html$._USBConfiguration); +html$._USBConnectionEvent = class _USBConnectionEvent extends html$.Event { + static new(type, eventInitDict) { + if (type == null) dart.nullFailed(I[147], 35443, 38, "type"); + if (eventInitDict == null) dart.nullFailed(I[147], 35443, 48, "eventInitDict"); + let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); + return html$._USBConnectionEvent._create_1(type, eventInitDict_1); + } + static _create_1(type, eventInitDict) { + return new USBConnectionEvent(type, eventInitDict); + } +}; +dart.addTypeTests(html$._USBConnectionEvent); +dart.addTypeCaches(html$._USBConnectionEvent); +dart.setLibraryUri(html$._USBConnectionEvent, I[148]); +dart.registerExtension("USBConnectionEvent", html$._USBConnectionEvent); +html$._USBDevice = class _USBDevice extends _interceptors.Interceptor {}; +dart.addTypeTests(html$._USBDevice); +dart.addTypeCaches(html$._USBDevice); +dart.setLibraryUri(html$._USBDevice, I[148]); +dart.registerExtension("USBDevice", html$._USBDevice); +html$._USBEndpoint = class _USBEndpoint extends _interceptors.Interceptor { + static new(alternate, endpointNumber, direction) { + if (alternate == null) dart.nullFailed(I[147], 35476, 30, "alternate"); + if (endpointNumber == null) dart.nullFailed(I[147], 35476, 45, "endpointNumber"); + if (direction == null) dart.nullFailed(I[147], 35476, 68, "direction"); + return html$._USBEndpoint._create_1(alternate, endpointNumber, direction); + } + static _create_1(alternate, endpointNumber, direction) { + return new USBEndpoint(alternate, endpointNumber, direction); + } +}; +dart.addTypeTests(html$._USBEndpoint); +dart.addTypeCaches(html$._USBEndpoint); +dart.setLibraryUri(html$._USBEndpoint, I[148]); +dart.registerExtension("USBEndpoint", html$._USBEndpoint); +html$._USBInTransferResult = class _USBInTransferResult extends _interceptors.Interceptor { + static new(status, data = null) { + if (status == null) dart.nullFailed(I[147], 35497, 39, "status"); + if (data != null) { + return html$._USBInTransferResult._create_1(status, data); + } + return html$._USBInTransferResult._create_2(status); + } + static _create_1(status, data) { + return new USBInTransferResult(status, data); + } + static _create_2(status) { + return new USBInTransferResult(status); + } +}; +dart.addTypeTests(html$._USBInTransferResult); +dart.addTypeCaches(html$._USBInTransferResult); +dart.setLibraryUri(html$._USBInTransferResult, I[148]); +dart.registerExtension("USBInTransferResult", html$._USBInTransferResult); +html$._USBInterface = class _USBInterface extends _interceptors.Interceptor { + static new(configuration, interfaceNumber) { + if (configuration == null) dart.nullFailed(I[147], 35519, 43, "configuration"); + if (interfaceNumber == null) dart.nullFailed(I[147], 35519, 62, "interfaceNumber"); + return html$._USBInterface._create_1(configuration, interfaceNumber); + } + static _create_1(configuration, interfaceNumber) { + return new USBInterface(configuration, interfaceNumber); + } +}; +dart.addTypeTests(html$._USBInterface); +dart.addTypeCaches(html$._USBInterface); +dart.setLibraryUri(html$._USBInterface, I[148]); +dart.registerExtension("USBInterface", html$._USBInterface); +html$._USBIsochronousInTransferPacket = class _USBIsochronousInTransferPacket extends _interceptors.Interceptor { + static new(status, data = null) { + if (status == null) dart.nullFailed(I[147], 35536, 50, "status"); + if (data != null) { + return html$._USBIsochronousInTransferPacket._create_1(status, data); + } + return html$._USBIsochronousInTransferPacket._create_2(status); + } + static _create_1(status, data) { + return new USBIsochronousInTransferPacket(status, data); + } + static _create_2(status) { + return new USBIsochronousInTransferPacket(status); + } +}; +dart.addTypeTests(html$._USBIsochronousInTransferPacket); +dart.addTypeCaches(html$._USBIsochronousInTransferPacket); +dart.setLibraryUri(html$._USBIsochronousInTransferPacket, I[148]); +dart.registerExtension("USBIsochronousInTransferPacket", html$._USBIsochronousInTransferPacket); +html$._USBIsochronousInTransferResult = class _USBIsochronousInTransferResult extends _interceptors.Interceptor { + static new(packets, data = null) { + if (packets == null) dart.nullFailed(I[147], 35564, 45, "packets"); + if (data != null) { + return html$._USBIsochronousInTransferResult._create_1(packets, data); + } + return html$._USBIsochronousInTransferResult._create_2(packets); + } + static _create_1(packets, data) { + return new USBIsochronousInTransferResult(packets, data); + } + static _create_2(packets) { + return new USBIsochronousInTransferResult(packets); + } +}; +dart.addTypeTests(html$._USBIsochronousInTransferResult); +dart.addTypeCaches(html$._USBIsochronousInTransferResult); +dart.setLibraryUri(html$._USBIsochronousInTransferResult, I[148]); +dart.registerExtension("USBIsochronousInTransferResult", html$._USBIsochronousInTransferResult); +html$._USBIsochronousOutTransferPacket = class _USBIsochronousOutTransferPacket extends _interceptors.Interceptor { + static new(status, bytesWritten = null) { + if (status == null) dart.nullFailed(I[147], 35592, 51, "status"); + if (bytesWritten != null) { + return html$._USBIsochronousOutTransferPacket._create_1(status, bytesWritten); + } + return html$._USBIsochronousOutTransferPacket._create_2(status); + } + static _create_1(status, bytesWritten) { + return new USBIsochronousOutTransferPacket(status, bytesWritten); + } + static _create_2(status) { + return new USBIsochronousOutTransferPacket(status); + } +}; +dart.addTypeTests(html$._USBIsochronousOutTransferPacket); +dart.addTypeCaches(html$._USBIsochronousOutTransferPacket); +dart.setLibraryUri(html$._USBIsochronousOutTransferPacket, I[148]); +dart.registerExtension("USBIsochronousOutTransferPacket", html$._USBIsochronousOutTransferPacket); +html$._USBIsochronousOutTransferResult = class _USBIsochronousOutTransferResult extends _interceptors.Interceptor { + static new(packets) { + if (packets == null) dart.nullFailed(I[147], 35620, 46, "packets"); + return html$._USBIsochronousOutTransferResult._create_1(packets); + } + static _create_1(packets) { + return new USBIsochronousOutTransferResult(packets); + } +}; +dart.addTypeTests(html$._USBIsochronousOutTransferResult); +dart.addTypeCaches(html$._USBIsochronousOutTransferResult); +dart.setLibraryUri(html$._USBIsochronousOutTransferResult, I[148]); +dart.registerExtension("USBIsochronousOutTransferResult", html$._USBIsochronousOutTransferResult); +html$._USBOutTransferResult = class _USBOutTransferResult extends _interceptors.Interceptor { + static new(status, bytesWritten = null) { + if (status == null) dart.nullFailed(I[147], 35639, 40, "status"); + if (bytesWritten != null) { + return html$._USBOutTransferResult._create_1(status, bytesWritten); + } + return html$._USBOutTransferResult._create_2(status); + } + static _create_1(status, bytesWritten) { + return new USBOutTransferResult(status, bytesWritten); + } + static _create_2(status) { + return new USBOutTransferResult(status); + } +}; +dart.addTypeTests(html$._USBOutTransferResult); +dart.addTypeCaches(html$._USBOutTransferResult); +dart.setLibraryUri(html$._USBOutTransferResult, I[148]); +dart.registerExtension("USBOutTransferResult", html$._USBOutTransferResult); +html$._WindowTimers = class _WindowTimers extends _interceptors.Interceptor {}; +dart.addTypeTests(html$._WindowTimers); +dart.addTypeCaches(html$._WindowTimers); +dart.setLibraryUri(html$._WindowTimers, I[148]); +html$._WorkerLocation = class _WorkerLocation extends _interceptors.Interceptor {}; +dart.addTypeTests(html$._WorkerLocation); +dart.addTypeCaches(html$._WorkerLocation); +html$._WorkerLocation[dart.implements] = () => [html$.UrlUtilsReadOnly]; +dart.setLibraryUri(html$._WorkerLocation, I[148]); +dart.registerExtension("WorkerLocation", html$._WorkerLocation); +html$._WorkerNavigator = class _WorkerNavigator extends html$.NavigatorConcurrentHardware {}; +dart.addTypeTests(html$._WorkerNavigator); +dart.addTypeCaches(html$._WorkerNavigator); +html$._WorkerNavigator[dart.implements] = () => [html$.NavigatorOnLine, html$.NavigatorID]; +dart.setLibraryUri(html$._WorkerNavigator, I[148]); +dart.registerExtension("WorkerNavigator", html$._WorkerNavigator); +html$._Worklet = class _Worklet extends _interceptors.Interceptor {}; +dart.addTypeTests(html$._Worklet); +dart.addTypeCaches(html$._Worklet); +dart.setLibraryUri(html$._Worklet, I[148]); +dart.registerExtension("Worklet", html$._Worklet); +html$._AttributeMap = class _AttributeMap extends collection.MapBase$(core.String, core.String) { + addAll(other) { + T$0.MapOfString$String().as(other); + if (other == null) dart.nullFailed(I[147], 35728, 35, "other"); + other[$forEach](dart.fn((k, v) => { + if (k == null) dart.nullFailed(I[147], 35729, 20, "k"); + if (v == null) dart.nullFailed(I[147], 35729, 23, "v"); + this[$_set](k, v); + }, T$0.StringAndStringTovoid())); + } + cast(K, V) { + return core.Map.castFrom(core.String, core.String, K, V, this); + } + containsValue(value) { + for (let v of this.values) { + if (dart.equals(value, v)) { + return true; + } + } + return false; + } + putIfAbsent(key, ifAbsent) { + core.String.as(key); + if (key == null) dart.nullFailed(I[147], 35744, 29, "key"); + T$.VoidToString().as(ifAbsent); + if (ifAbsent == null) dart.nullFailed(I[147], 35744, 41, "ifAbsent"); + if (!dart.test(this[$containsKey](key))) { + this[$_set](key, ifAbsent()); + } + return dart.nullCast(this[$_get](key), core.String); + } + clear() { + for (let key of this.keys) { + this[$remove](key); + } + } + forEach(f) { + if (f == null) dart.nullFailed(I[147], 35757, 21, "f"); + for (let key of this.keys) { + let value = this[$_get](key); + f(key, dart.nullCast(value, core.String)); + } + } + get keys() { + let attributes = dart.nullCheck(this[S$1._element$2][S._attributes$1]); + let keys = T$.JSArrayOfString().of([]); + for (let i = 0, len = attributes[$length]; i < dart.notNull(len); i = i + 1) { + let attr = html$._Attr.as(attributes[$_get](i)); + if (dart.test(this[S$3._matches](attr))) { + keys[$add](dart.nullCheck(attr.name)); + } + } + return keys; + } + get values() { + let attributes = dart.nullCheck(this[S$1._element$2][S._attributes$1]); + let values = T$.JSArrayOfString().of([]); + for (let i = 0, len = attributes[$length]; i < dart.notNull(len); i = i + 1) { + let attr = html$._Attr.as(attributes[$_get](i)); + if (dart.test(this[S$3._matches](attr))) { + values[$add](dart.nullCheck(attr.value)); + } + } + return values; + } + get isEmpty() { + return this[$length] === 0; + } + get isNotEmpty() { + return !dart.test(this.isEmpty); + } +}; +(html$._AttributeMap.new = function(_element) { + if (_element == null) dart.nullFailed(I[147], 35726, 22, "_element"); + this[S$1._element$2] = _element; + ; +}).prototype = html$._AttributeMap.prototype; +dart.addTypeTests(html$._AttributeMap); +dart.addTypeCaches(html$._AttributeMap); +dart.setMethodSignature(html$._AttributeMap, () => ({ + __proto__: dart.getMethods(html$._AttributeMap.__proto__), + cast: dart.gFnType((K, V) => [core.Map$(K, V), []], (K, V) => [dart.nullable(core.Object), dart.nullable(core.Object)]), + [$cast]: dart.gFnType((K, V) => [core.Map$(K, V), []], (K, V) => [dart.nullable(core.Object), dart.nullable(core.Object)]), + clear: dart.fnType(dart.void, []), + [$clear]: dart.fnType(dart.void, []) +})); +dart.setGetterSignature(html$._AttributeMap, () => ({ + __proto__: dart.getGetters(html$._AttributeMap.__proto__), + keys: core.Iterable$(core.String), + [$keys]: core.Iterable$(core.String) +})); +dart.setLibraryUri(html$._AttributeMap, I[148]); +dart.setFieldSignature(html$._AttributeMap, () => ({ + __proto__: dart.getFields(html$._AttributeMap.__proto__), + [S$1._element$2]: dart.finalFieldType(html$.Element) +})); +dart.defineExtensionMethods(html$._AttributeMap, [ + 'addAll', + 'cast', + 'containsValue', + 'putIfAbsent', + 'clear', + 'forEach' +]); +dart.defineExtensionAccessors(html$._AttributeMap, ['keys', 'values', 'isEmpty', 'isNotEmpty']); +html$._ElementAttributeMap = class _ElementAttributeMap extends html$._AttributeMap { + containsKey(key) { + return typeof key == 'string' && dart.test(this[S$1._element$2][S._hasAttribute](key)); + } + _get(key) { + return this[S$1._element$2][S.$getAttribute](core.String.as(key)); + } + _set(key, value$) { + let value = value$; + core.String.as(key); + if (key == null) dart.nullFailed(I[147], 35822, 28, "key"); + core.String.as(value); + if (value == null) dart.nullFailed(I[147], 35822, 40, "value"); + this[S$1._element$2][S.$setAttribute](key, value); + return value$; + } + remove(key) { + return typeof key == 'string' ? html$._ElementAttributeMap._remove(this[S$1._element$2], key) : null; + } + get length() { + return this.keys[$length]; + } + [S$3._matches](node) { + if (node == null) dart.nullFailed(I[147], 35836, 23, "node"); + return node[S._namespaceUri] == null; + } + static _remove(element, key) { + if (element == null) dart.nullFailed(I[147], 35841, 34, "element"); + if (key == null) dart.nullFailed(I[147], 35841, 50, "key"); + let value = element.getAttribute(key); + element.removeAttribute(key); + return value; + } +}; +(html$._ElementAttributeMap.new = function(element) { + if (element == null) dart.nullFailed(I[147], 35812, 32, "element"); + html$._ElementAttributeMap.__proto__.new.call(this, element); + ; +}).prototype = html$._ElementAttributeMap.prototype; +dart.addTypeTests(html$._ElementAttributeMap); +dart.addTypeCaches(html$._ElementAttributeMap); +dart.setMethodSignature(html$._ElementAttributeMap, () => ({ + __proto__: dart.getMethods(html$._ElementAttributeMap.__proto__), + _get: dart.fnType(dart.nullable(core.String), [dart.nullable(core.Object)]), + [$_get]: dart.fnType(dart.nullable(core.String), [dart.nullable(core.Object)]), + _set: dart.fnType(dart.void, [dart.nullable(core.Object), dart.nullable(core.Object)]), + [$_set]: dart.fnType(dart.void, [dart.nullable(core.Object), dart.nullable(core.Object)]), + remove: dart.fnType(dart.nullable(core.String), [dart.nullable(core.Object)]), + [$remove]: dart.fnType(dart.nullable(core.String), [dart.nullable(core.Object)]), + [S$3._matches]: dart.fnType(core.bool, [html$._Attr]) +})); +dart.setLibraryUri(html$._ElementAttributeMap, I[148]); +dart.defineExtensionMethods(html$._ElementAttributeMap, ['containsKey', '_get', '_set', 'remove']); +dart.defineExtensionAccessors(html$._ElementAttributeMap, ['length']); +html$._NamespacedAttributeMap = class _NamespacedAttributeMap extends html$._AttributeMap { + containsKey(key) { + return typeof key == 'string' && dart.test(this[S$1._element$2][S._hasAttributeNS](this[S$3._namespace], key)); + } + _get(key) { + return this[S$1._element$2][S.$getAttributeNS](this[S$3._namespace], core.String.as(key)); + } + _set(key, value$) { + let value = value$; + core.String.as(key); + if (key == null) dart.nullFailed(I[147], 35870, 28, "key"); + core.String.as(value); + if (value == null) dart.nullFailed(I[147], 35870, 40, "value"); + this[S$1._element$2][S.$setAttributeNS](this[S$3._namespace], key, value); + return value$; + } + remove(key) { + return typeof key == 'string' ? html$._NamespacedAttributeMap._remove(this[S$3._namespace], this[S$1._element$2], key) : null; + } + get length() { + return this.keys[$length]; + } + [S$3._matches](node) { + if (node == null) dart.nullFailed(I[147], 35885, 23, "node"); + return node[S._namespaceUri] == this[S$3._namespace]; + } + static _remove(namespace, element, key) { + if (element == null) dart.nullFailed(I[147], 35891, 53, "element"); + if (key == null) dart.nullFailed(I[147], 35891, 69, "key"); + let value = element.getAttributeNS(namespace, key); + element.removeAttributeNS(namespace, key); + return value; + } +}; +(html$._NamespacedAttributeMap.new = function(element, _namespace) { + if (element == null) dart.nullFailed(I[147], 35860, 35, "element"); + this[S$3._namespace] = _namespace; + html$._NamespacedAttributeMap.__proto__.new.call(this, element); + ; +}).prototype = html$._NamespacedAttributeMap.prototype; +dart.addTypeTests(html$._NamespacedAttributeMap); +dart.addTypeCaches(html$._NamespacedAttributeMap); +dart.setMethodSignature(html$._NamespacedAttributeMap, () => ({ + __proto__: dart.getMethods(html$._NamespacedAttributeMap.__proto__), + _get: dart.fnType(dart.nullable(core.String), [dart.nullable(core.Object)]), + [$_get]: dart.fnType(dart.nullable(core.String), [dart.nullable(core.Object)]), + _set: dart.fnType(dart.void, [dart.nullable(core.Object), dart.nullable(core.Object)]), + [$_set]: dart.fnType(dart.void, [dart.nullable(core.Object), dart.nullable(core.Object)]), + remove: dart.fnType(dart.nullable(core.String), [dart.nullable(core.Object)]), + [$remove]: dart.fnType(dart.nullable(core.String), [dart.nullable(core.Object)]), + [S$3._matches]: dart.fnType(core.bool, [html$._Attr]) +})); +dart.setLibraryUri(html$._NamespacedAttributeMap, I[148]); +dart.setFieldSignature(html$._NamespacedAttributeMap, () => ({ + __proto__: dart.getFields(html$._NamespacedAttributeMap.__proto__), + [S$3._namespace]: dart.finalFieldType(dart.nullable(core.String)) +})); +dart.defineExtensionMethods(html$._NamespacedAttributeMap, ['containsKey', '_get', '_set', 'remove']); +dart.defineExtensionAccessors(html$._NamespacedAttributeMap, ['length']); +html$._DataAttributeMap = class _DataAttributeMap extends collection.MapBase$(core.String, core.String) { + addAll(other) { + T$0.MapOfString$String().as(other); + if (other == null) dart.nullFailed(I[147], 35916, 35, "other"); + other[$forEach](dart.fn((k, v) => { + if (k == null) dart.nullFailed(I[147], 35917, 20, "k"); + if (v == null) dart.nullFailed(I[147], 35917, 23, "v"); + this._set(k, v); + }, T$0.StringAndStringTovoid())); + } + cast(K, V) { + return core.Map.castFrom(core.String, core.String, K, V, this); + } + containsValue(value) { + return this.values[$any](dart.fn(v => { + if (v == null) dart.nullFailed(I[147], 35924, 52, "v"); + return core.identical(v, value); + }, T$.StringTobool())); + } + containsKey(key) { + return this[S._attributes$1][$containsKey](this[S$3._attr](core.String.as(key))); + } + _get(key) { + return this[S._attributes$1][$_get](this[S$3._attr](core.String.as(key))); + } + _set(key, value$) { + let value = value$; + core.String.as(key); + if (key == null) dart.nullFailed(I[147], 35931, 28, "key"); + core.String.as(value); + if (value == null) dart.nullFailed(I[147], 35931, 40, "value"); + this[S._attributes$1][$_set](this[S$3._attr](key), value); + return value$; + } + putIfAbsent(key, ifAbsent) { + core.String.as(key); + if (key == null) dart.nullFailed(I[147], 35935, 29, "key"); + T$.VoidToString().as(ifAbsent); + if (ifAbsent == null) dart.nullFailed(I[147], 35935, 41, "ifAbsent"); + return this[S._attributes$1][$putIfAbsent](this[S$3._attr](key), ifAbsent); + } + remove(key) { + return this[S._attributes$1][$remove](this[S$3._attr](core.String.as(key))); + } + clear() { + for (let key of this.keys) { + this.remove(key); + } + } + forEach(f) { + if (f == null) dart.nullFailed(I[147], 35947, 21, "f"); + this[S._attributes$1][$forEach](dart.fn((key, value) => { + if (key == null) dart.nullFailed(I[147], 35948, 33, "key"); + if (value == null) dart.nullFailed(I[147], 35948, 45, "value"); + if (dart.test(this[S$3._matches](key))) { + f(this[S$3._strip](key), value); + } + }, T$0.StringAndStringTovoid())); + } + get keys() { + let keys = T$.JSArrayOfString().of([]); + this[S._attributes$1][$forEach](dart.fn((key, value) => { + if (key == null) dart.nullFailed(I[147], 35957, 33, "key"); + if (value == null) dart.nullFailed(I[147], 35957, 45, "value"); + if (dart.test(this[S$3._matches](key))) { + keys[$add](this[S$3._strip](key)); + } + }, T$0.StringAndStringTovoid())); + return keys; + } + get values() { + let values = T$.JSArrayOfString().of([]); + this[S._attributes$1][$forEach](dart.fn((key, value) => { + if (key == null) dart.nullFailed(I[147], 35967, 33, "key"); + if (value == null) dart.nullFailed(I[147], 35967, 45, "value"); + if (dart.test(this[S$3._matches](key))) { + values[$add](value); + } + }, T$0.StringAndStringTovoid())); + return values; + } + get length() { + return this.keys[$length]; + } + get isEmpty() { + return this.length === 0; + } + get isNotEmpty() { + return !dart.test(this.isEmpty); + } + [S$3._attr](key) { + if (key == null) dart.nullFailed(I[147], 35983, 23, "key"); + return "data-" + dart.str(this[S$3._toHyphenedName](key)); + } + [S$3._matches](key) { + if (key == null) dart.nullFailed(I[147], 35984, 24, "key"); + return key[$startsWith]("data-"); + } + [S$3._strip](key) { + if (key == null) dart.nullFailed(I[147], 35985, 24, "key"); + return this[S$3._toCamelCase](key[$substring](5)); + } + [S$3._toCamelCase](hyphenedName, opts) { + if (hyphenedName == null) dart.nullFailed(I[147], 35992, 30, "hyphenedName"); + let startUppercase = opts && 'startUppercase' in opts ? opts.startUppercase : false; + if (startUppercase == null) dart.nullFailed(I[147], 35992, 50, "startUppercase"); + let segments = hyphenedName[$split]("-"); + let start = dart.test(startUppercase) ? 0 : 1; + for (let i = start; i < dart.notNull(segments[$length]); i = i + 1) { + let segment = segments[$_get](i); + if (segment.length > 0) { + segments[$_set](i, segment[$_get](0)[$toUpperCase]() + segment[$substring](1)); + } + } + return segments[$join](""); + } + [S$3._toHyphenedName](word) { + if (word == null) dart.nullFailed(I[147], 36006, 33, "word"); + let sb = new core.StringBuffer.new(); + for (let i = 0; i < word.length; i = i + 1) { + let lower = word[$_get](i)[$toLowerCase](); + if (word[$_get](i) !== lower && i > 0) sb.write("-"); + sb.write(lower); + } + return sb.toString(); + } +}; +(html$._DataAttributeMap.new = function(_attributes) { + if (_attributes == null) dart.nullFailed(I[147], 35912, 26, "_attributes"); + this[S._attributes$1] = _attributes; + ; +}).prototype = html$._DataAttributeMap.prototype; +dart.addTypeTests(html$._DataAttributeMap); +dart.addTypeCaches(html$._DataAttributeMap); +dart.setMethodSignature(html$._DataAttributeMap, () => ({ + __proto__: dart.getMethods(html$._DataAttributeMap.__proto__), + cast: dart.gFnType((K, V) => [core.Map$(K, V), []], (K, V) => [dart.nullable(core.Object), dart.nullable(core.Object)]), + [$cast]: dart.gFnType((K, V) => [core.Map$(K, V), []], (K, V) => [dart.nullable(core.Object), dart.nullable(core.Object)]), + _get: dart.fnType(dart.nullable(core.String), [dart.nullable(core.Object)]), + [$_get]: dart.fnType(dart.nullable(core.String), [dart.nullable(core.Object)]), + _set: dart.fnType(dart.void, [dart.nullable(core.Object), dart.nullable(core.Object)]), + [$_set]: dart.fnType(dart.void, [dart.nullable(core.Object), dart.nullable(core.Object)]), + remove: dart.fnType(dart.nullable(core.String), [dart.nullable(core.Object)]), + [$remove]: dart.fnType(dart.nullable(core.String), [dart.nullable(core.Object)]), + clear: dart.fnType(dart.void, []), + [$clear]: dart.fnType(dart.void, []), + [S$3._attr]: dart.fnType(core.String, [core.String]), + [S$3._matches]: dart.fnType(core.bool, [core.String]), + [S$3._strip]: dart.fnType(core.String, [core.String]), + [S$3._toCamelCase]: dart.fnType(core.String, [core.String], {startUppercase: core.bool}, {}), + [S$3._toHyphenedName]: dart.fnType(core.String, [core.String]) +})); +dart.setGetterSignature(html$._DataAttributeMap, () => ({ + __proto__: dart.getGetters(html$._DataAttributeMap.__proto__), + keys: core.Iterable$(core.String), + [$keys]: core.Iterable$(core.String) +})); +dart.setLibraryUri(html$._DataAttributeMap, I[148]); +dart.setFieldSignature(html$._DataAttributeMap, () => ({ + __proto__: dart.getFields(html$._DataAttributeMap.__proto__), + [S._attributes$1]: dart.finalFieldType(core.Map$(core.String, core.String)) +})); +dart.defineExtensionMethods(html$._DataAttributeMap, [ + 'addAll', + 'cast', + 'containsValue', + 'containsKey', + '_get', + '_set', + 'putIfAbsent', + 'remove', + 'clear', + 'forEach' +]); +dart.defineExtensionAccessors(html$._DataAttributeMap, [ + 'keys', + 'values', + 'length', + 'isEmpty', + 'isNotEmpty' +]); +html$.CanvasImageSource = class CanvasImageSource extends core.Object {}; +(html$.CanvasImageSource.new = function() { + ; +}).prototype = html$.CanvasImageSource.prototype; +dart.addTypeTests(html$.CanvasImageSource); +dart.addTypeCaches(html$.CanvasImageSource); +dart.setLibraryUri(html$.CanvasImageSource, I[148]); +html$.WindowBase = class WindowBase extends core.Object {}; +(html$.WindowBase.new = function() { + ; +}).prototype = html$.WindowBase.prototype; +dart.addTypeTests(html$.WindowBase); +dart.addTypeCaches(html$.WindowBase); +html$.WindowBase[dart.implements] = () => [html$.EventTarget]; +dart.setLibraryUri(html$.WindowBase, I[148]); +html$.LocationBase = class LocationBase extends core.Object {}; +(html$.LocationBase.new = function() { + ; +}).prototype = html$.LocationBase.prototype; +dart.addTypeTests(html$.LocationBase); +dart.addTypeCaches(html$.LocationBase); +dart.setLibraryUri(html$.LocationBase, I[148]); +html$.HistoryBase = class HistoryBase extends core.Object {}; +(html$.HistoryBase.new = function() { + ; +}).prototype = html$.HistoryBase.prototype; +dart.addTypeTests(html$.HistoryBase); +dart.addTypeCaches(html$.HistoryBase); +dart.setLibraryUri(html$.HistoryBase, I[148]); +html$.CssClassSet = class CssClassSet extends core.Object { + [Symbol.iterator]() { + return new dart.JsIterator(this[$iterator]); + } +}; +(html$.CssClassSet.new = function() { + ; +}).prototype = html$.CssClassSet.prototype; +dart.addTypeTests(html$.CssClassSet); +dart.addTypeCaches(html$.CssClassSet); +html$.CssClassSet[dart.implements] = () => [core.Set$(core.String)]; +dart.setLibraryUri(html$.CssClassSet, I[148]); +html$.CssRect = class CssRect extends core.Object { + set height(newHeight) { + dart.throw(new core.UnsupportedError.new("Can only set height for content rect.")); + } + set width(newWidth) { + dart.throw(new core.UnsupportedError.new("Can only set width for content rect.")); + } + [S$3._addOrSubtractToBoxModel](dimensions, augmentingMeasurement) { + if (dimensions == null) dart.nullFailed(I[147], 36557, 20, "dimensions"); + if (augmentingMeasurement == null) dart.nullFailed(I[147], 36557, 39, "augmentingMeasurement"); + let styles = this[S$1._element$2][S.$getComputedStyle](); + let val = 0; + for (let measurement of dimensions) { + if (augmentingMeasurement == html$._MARGIN) { + val = val + dart.notNull(new html$.Dimension.css(styles[S$.$getPropertyValue](dart.str(augmentingMeasurement) + "-" + dart.str(measurement))).value); + } + if (augmentingMeasurement == html$._CONTENT) { + val = val - dart.notNull(new html$.Dimension.css(styles[S$.$getPropertyValue](dart.str(html$._PADDING) + "-" + dart.str(measurement))).value); + } + if (augmentingMeasurement != html$._MARGIN) { + val = val - dart.notNull(new html$.Dimension.css(styles[S$.$getPropertyValue]("border-" + dart.str(measurement) + "-width")).value); + } + } + return val; + } + get right() { + return dart.notNull(this.left) + dart.notNull(this.width); + } + get bottom() { + return dart.notNull(this.top) + dart.notNull(this.height); + } + toString() { + return "Rectangle (" + dart.str(this.left) + ", " + dart.str(this.top) + ") " + dart.str(this.width) + " x " + dart.str(this.height); + } + _equals(other) { + if (other == null) return false; + return T$0.RectangleOfnum().is(other) && this.left == other[$left] && this.top == other[$top] && this.right == other[$right] && this.bottom == other[$bottom]; + } + get hashCode() { + return html$._JenkinsSmiHash.hash4(dart.hashCode(this.left), dart.hashCode(this.top), dart.hashCode(this.right), dart.hashCode(this.bottom)); + } + intersection(other) { + T$0.RectangleOfnum().as(other); + if (other == null) dart.nullFailed(I[147], 36623, 47, "other"); + let x0 = math.max(core.num, this.left, other[$left]); + let x1 = math.min(core.num, dart.notNull(this.left) + dart.notNull(this.width), dart.notNull(other[$left]) + dart.notNull(other[$width])); + if (x0 <= x1) { + let y0 = math.max(core.num, this.top, other[$top]); + let y1 = math.min(core.num, dart.notNull(this.top) + dart.notNull(this.height), dart.notNull(other[$top]) + dart.notNull(other[$height])); + if (y0 <= y1) { + return new (T$0.RectangleOfnum()).new(x0, y0, x1 - x0, y1 - y0); + } + } + return null; + } + intersects(other) { + if (other == null) dart.nullFailed(I[147], 36641, 34, "other"); + return dart.notNull(this.left) <= dart.notNull(other[$left]) + dart.notNull(other[$width]) && dart.notNull(other[$left]) <= dart.notNull(this.left) + dart.notNull(this.width) && dart.notNull(this.top) <= dart.notNull(other[$top]) + dart.notNull(other[$height]) && dart.notNull(other[$top]) <= dart.notNull(this.top) + dart.notNull(this.height); + } + boundingBox(other) { + T$0.RectangleOfnum().as(other); + if (other == null) dart.nullFailed(I[147], 36651, 45, "other"); + let right = math.max(core.num, dart.notNull(this.left) + dart.notNull(this.width), dart.notNull(other[$left]) + dart.notNull(other[$width])); + let bottom = math.max(core.num, dart.notNull(this.top) + dart.notNull(this.height), dart.notNull(other[$top]) + dart.notNull(other[$height])); + let left = math.min(core.num, this.left, other[$left]); + let top = math.min(core.num, this.top, other[$top]); + return new (T$0.RectangleOfnum()).new(left, top, right - left, bottom - top); + } + containsRectangle(another) { + if (another == null) dart.nullFailed(I[147], 36664, 41, "another"); + return dart.notNull(this.left) <= dart.notNull(another[$left]) && dart.notNull(this.left) + dart.notNull(this.width) >= dart.notNull(another[$left]) + dart.notNull(another[$width]) && dart.notNull(this.top) <= dart.notNull(another[$top]) && dart.notNull(this.top) + dart.notNull(this.height) >= dart.notNull(another[$top]) + dart.notNull(another[$height]); + } + containsPoint(another) { + if (another == null) dart.nullFailed(I[147], 36674, 33, "another"); + return dart.notNull(another.x) >= dart.notNull(this.left) && dart.notNull(another.x) <= dart.notNull(this.left) + dart.notNull(this.width) && dart.notNull(another.y) >= dart.notNull(this.top) && dart.notNull(another.y) <= dart.notNull(this.top) + dart.notNull(this.height); + } + get topLeft() { + return new (T$0.PointOfnum()).new(this.left, this.top); + } + get topRight() { + return new (T$0.PointOfnum()).new(dart.notNull(this.left) + dart.notNull(this.width), this.top); + } + get bottomRight() { + return new (T$0.PointOfnum()).new(dart.notNull(this.left) + dart.notNull(this.width), dart.notNull(this.top) + dart.notNull(this.height)); + } + get bottomLeft() { + return new (T$0.PointOfnum()).new(this.left, dart.notNull(this.top) + dart.notNull(this.height)); + } +}; +(html$.CssRect.new = function(_element) { + if (_element == null) dart.nullFailed(I[147], 36495, 16, "_element"); + this[S$1._element$2] = _element; + ; +}).prototype = html$.CssRect.prototype; +dart.addTypeTests(html$.CssRect); +dart.addTypeCaches(html$.CssRect); +html$.CssRect[dart.implements] = () => [math.Rectangle$(core.num)]; +dart.setMethodSignature(html$.CssRect, () => ({ + __proto__: dart.getMethods(html$.CssRect.__proto__), + [S$3._addOrSubtractToBoxModel]: dart.fnType(core.num, [core.List$(core.String), core.String]), + intersection: dart.fnType(dart.nullable(math.Rectangle$(core.num)), [dart.nullable(core.Object)]), + [$intersection]: dart.fnType(dart.nullable(math.Rectangle$(core.num)), [dart.nullable(core.Object)]), + intersects: dart.fnType(core.bool, [math.Rectangle$(core.num)]), + [$intersects]: dart.fnType(core.bool, [math.Rectangle$(core.num)]), + boundingBox: dart.fnType(math.Rectangle$(core.num), [dart.nullable(core.Object)]), + [$boundingBox]: dart.fnType(math.Rectangle$(core.num), [dart.nullable(core.Object)]), + containsRectangle: dart.fnType(core.bool, [math.Rectangle$(core.num)]), + [$containsRectangle]: dart.fnType(core.bool, [math.Rectangle$(core.num)]), + containsPoint: dart.fnType(core.bool, [math.Point$(core.num)]), + [$containsPoint]: dart.fnType(core.bool, [math.Point$(core.num)]) +})); +dart.setGetterSignature(html$.CssRect, () => ({ + __proto__: dart.getGetters(html$.CssRect.__proto__), + right: core.num, + [$right]: core.num, + bottom: core.num, + [$bottom]: core.num, + topLeft: math.Point$(core.num), + [$topLeft]: math.Point$(core.num), + topRight: math.Point$(core.num), + [$topRight]: math.Point$(core.num), + bottomRight: math.Point$(core.num), + [$bottomRight]: math.Point$(core.num), + bottomLeft: math.Point$(core.num), + [$bottomLeft]: math.Point$(core.num) +})); +dart.setSetterSignature(html$.CssRect, () => ({ + __proto__: dart.getSetters(html$.CssRect.__proto__), + height: dart.dynamic, + [$height]: dart.dynamic, + width: dart.dynamic, + [$width]: dart.dynamic +})); +dart.setLibraryUri(html$.CssRect, I[148]); +dart.setFieldSignature(html$.CssRect, () => ({ + __proto__: dart.getFields(html$.CssRect.__proto__), + [S$1._element$2]: dart.fieldType(html$.Element) +})); +dart.defineExtensionMethods(html$.CssRect, [ + 'toString', + '_equals', + 'intersection', + 'intersects', + 'boundingBox', + 'containsRectangle', + 'containsPoint' +]); +dart.defineExtensionAccessors(html$.CssRect, [ + 'height', + 'width', + 'right', + 'bottom', + 'hashCode', + 'topLeft', + 'topRight', + 'bottomRight', + 'bottomLeft' +]); +html$._ContentCssRect = class _ContentCssRect extends html$.CssRect { + get height() { + return dart.notNull(this[S$1._element$2][S.$offsetHeight]) + dart.notNull(this[S$3._addOrSubtractToBoxModel](html$._HEIGHT, html$._CONTENT)); + } + get width() { + return dart.notNull(this[S$1._element$2][S.$offsetWidth]) + dart.notNull(this[S$3._addOrSubtractToBoxModel](html$._WIDTH, html$._CONTENT)); + } + set height(newHeight) { + if (html$.Dimension.is(newHeight)) { + let newHeightAsDimension = newHeight; + if (dart.notNull(newHeightAsDimension.value) < 0) newHeight = new html$.Dimension.px(0); + this[S$1._element$2].style[$height] = dart.toString(newHeight); + } else if (typeof newHeight == 'number') { + if (dart.notNull(newHeight) < 0) newHeight = 0; + this[S$1._element$2].style[$height] = dart.str(newHeight) + "px"; + } else { + dart.throw(new core.ArgumentError.new("newHeight is not a Dimension or num")); + } + } + set width(newWidth) { + if (html$.Dimension.is(newWidth)) { + let newWidthAsDimension = newWidth; + if (dart.notNull(newWidthAsDimension.value) < 0) newWidth = new html$.Dimension.px(0); + this[S$1._element$2].style[$width] = dart.toString(newWidth); + } else if (typeof newWidth == 'number') { + if (dart.notNull(newWidth) < 0) newWidth = 0; + this[S$1._element$2].style[$width] = dart.str(newWidth) + "px"; + } else { + dart.throw(new core.ArgumentError.new("newWidth is not a Dimension or num")); + } + } + get left() { + return dart.notNull(this[S$1._element$2].getBoundingClientRect()[$left]) - dart.notNull(this[S$3._addOrSubtractToBoxModel](T$.JSArrayOfString().of(["left"]), html$._CONTENT)); + } + get top() { + return dart.notNull(this[S$1._element$2].getBoundingClientRect()[$top]) - dart.notNull(this[S$3._addOrSubtractToBoxModel](T$.JSArrayOfString().of(["top"]), html$._CONTENT)); + } +}; +(html$._ContentCssRect.new = function(element) { + if (element == null) dart.nullFailed(I[147], 36333, 27, "element"); + html$._ContentCssRect.__proto__.new.call(this, element); + ; +}).prototype = html$._ContentCssRect.prototype; +dart.addTypeTests(html$._ContentCssRect); +dart.addTypeCaches(html$._ContentCssRect); +dart.setGetterSignature(html$._ContentCssRect, () => ({ + __proto__: dart.getGetters(html$._ContentCssRect.__proto__), + height: core.num, + [$height]: core.num, + width: core.num, + [$width]: core.num, + left: core.num, + [$left]: core.num, + top: core.num, + [$top]: core.num +})); +dart.setLibraryUri(html$._ContentCssRect, I[148]); +dart.defineExtensionAccessors(html$._ContentCssRect, ['height', 'width', 'left', 'top']); +html$._ContentCssListRect = class _ContentCssListRect extends html$._ContentCssRect { + set height(newHeight) { + this[S$3._elementList][$forEach](dart.fn(e => { + if (e == null) dart.nullFailed(I[147], 36412, 27, "e"); + return e[S.$contentEdge].height = newHeight; + }, T$0.ElementTovoid())); + } + get height() { + return super.height; + } + set width(newWidth) { + this[S$3._elementList][$forEach](dart.fn(e => { + if (e == null) dart.nullFailed(I[147], 36422, 27, "e"); + return e[S.$contentEdge].width = newWidth; + }, T$0.ElementTovoid())); + } + get width() { + return super.width; + } +}; +(html$._ContentCssListRect.new = function(elementList) { + if (elementList == null) dart.nullFailed(I[147], 36399, 37, "elementList"); + this[S$3._elementList] = elementList; + html$._ContentCssListRect.__proto__.new.call(this, elementList[$first]); + ; +}).prototype = html$._ContentCssListRect.prototype; +dart.addTypeTests(html$._ContentCssListRect); +dart.addTypeCaches(html$._ContentCssListRect); +dart.setLibraryUri(html$._ContentCssListRect, I[148]); +dart.setFieldSignature(html$._ContentCssListRect, () => ({ + __proto__: dart.getFields(html$._ContentCssListRect.__proto__), + [S$3._elementList]: dart.fieldType(core.List$(html$.Element)) +})); +dart.defineExtensionAccessors(html$._ContentCssListRect, ['height', 'width']); +html$._PaddingCssRect = class _PaddingCssRect extends html$.CssRect { + get height() { + return dart.notNull(this[S$1._element$2][S.$offsetHeight]) + dart.notNull(this[S$3._addOrSubtractToBoxModel](html$._HEIGHT, html$._PADDING)); + } + set height(value) { + super.height = value; + } + get width() { + return dart.notNull(this[S$1._element$2][S.$offsetWidth]) + dart.notNull(this[S$3._addOrSubtractToBoxModel](html$._WIDTH, html$._PADDING)); + } + set width(value) { + super.width = value; + } + get left() { + return dart.notNull(this[S$1._element$2].getBoundingClientRect()[$left]) - dart.notNull(this[S$3._addOrSubtractToBoxModel](T$.JSArrayOfString().of(["left"]), html$._PADDING)); + } + get top() { + return dart.notNull(this[S$1._element$2].getBoundingClientRect()[$top]) - dart.notNull(this[S$3._addOrSubtractToBoxModel](T$.JSArrayOfString().of(["top"]), html$._PADDING)); + } +}; +(html$._PaddingCssRect.new = function(element) { + html$._PaddingCssRect.__proto__.new.call(this, html$.Element.as(element)); + ; +}).prototype = html$._PaddingCssRect.prototype; +dart.addTypeTests(html$._PaddingCssRect); +dart.addTypeCaches(html$._PaddingCssRect); +dart.setGetterSignature(html$._PaddingCssRect, () => ({ + __proto__: dart.getGetters(html$._PaddingCssRect.__proto__), + height: core.num, + [$height]: core.num, + width: core.num, + [$width]: core.num, + left: core.num, + [$left]: core.num, + top: core.num, + [$top]: core.num +})); +dart.setLibraryUri(html$._PaddingCssRect, I[148]); +dart.defineExtensionAccessors(html$._PaddingCssRect, ['height', 'width', 'left', 'top']); +html$._BorderCssRect = class _BorderCssRect extends html$.CssRect { + get height() { + return this[S$1._element$2][S.$offsetHeight]; + } + set height(value) { + super.height = value; + } + get width() { + return this[S$1._element$2][S.$offsetWidth]; + } + set width(value) { + super.width = value; + } + get left() { + return this[S$1._element$2].getBoundingClientRect()[$left]; + } + get top() { + return this[S$1._element$2].getBoundingClientRect()[$top]; + } +}; +(html$._BorderCssRect.new = function(element) { + html$._BorderCssRect.__proto__.new.call(this, html$.Element.as(element)); + ; +}).prototype = html$._BorderCssRect.prototype; +dart.addTypeTests(html$._BorderCssRect); +dart.addTypeCaches(html$._BorderCssRect); +dart.setGetterSignature(html$._BorderCssRect, () => ({ + __proto__: dart.getGetters(html$._BorderCssRect.__proto__), + height: core.num, + [$height]: core.num, + width: core.num, + [$width]: core.num, + left: core.num, + [$left]: core.num, + top: core.num, + [$top]: core.num +})); +dart.setLibraryUri(html$._BorderCssRect, I[148]); +dart.defineExtensionAccessors(html$._BorderCssRect, ['height', 'width', 'left', 'top']); +html$._MarginCssRect = class _MarginCssRect extends html$.CssRect { + get height() { + return dart.notNull(this[S$1._element$2][S.$offsetHeight]) + dart.notNull(this[S$3._addOrSubtractToBoxModel](html$._HEIGHT, html$._MARGIN)); + } + set height(value) { + super.height = value; + } + get width() { + return dart.notNull(this[S$1._element$2][S.$offsetWidth]) + dart.notNull(this[S$3._addOrSubtractToBoxModel](html$._WIDTH, html$._MARGIN)); + } + set width(value) { + super.width = value; + } + get left() { + return dart.notNull(this[S$1._element$2].getBoundingClientRect()[$left]) - dart.notNull(this[S$3._addOrSubtractToBoxModel](T$.JSArrayOfString().of(["left"]), html$._MARGIN)); + } + get top() { + return dart.notNull(this[S$1._element$2].getBoundingClientRect()[$top]) - dart.notNull(this[S$3._addOrSubtractToBoxModel](T$.JSArrayOfString().of(["top"]), html$._MARGIN)); + } +}; +(html$._MarginCssRect.new = function(element) { + html$._MarginCssRect.__proto__.new.call(this, html$.Element.as(element)); + ; +}).prototype = html$._MarginCssRect.prototype; +dart.addTypeTests(html$._MarginCssRect); +dart.addTypeCaches(html$._MarginCssRect); +dart.setGetterSignature(html$._MarginCssRect, () => ({ + __proto__: dart.getGetters(html$._MarginCssRect.__proto__), + height: core.num, + [$height]: core.num, + width: core.num, + [$width]: core.num, + left: core.num, + [$left]: core.num, + top: core.num, + [$top]: core.num +})); +dart.setLibraryUri(html$._MarginCssRect, I[148]); +dart.defineExtensionAccessors(html$._MarginCssRect, ['height', 'width', 'left', 'top']); +html_common.CssClassSetImpl = class CssClassSetImpl extends collection.SetBase$(core.String) { + [S$3._validateToken](value) { + if (value == null) dart.nullFailed(I[149], 10, 32, "value"); + if (dart.test(html_common.CssClassSetImpl._validTokenRE.hasMatch(value))) return value; + dart.throw(new core.ArgumentError.value(value, "value", "Not a valid class token")); + } + toString() { + return this.readClasses()[$join](" "); + } + toggle(value, shouldAdd = null) { + if (value == null) dart.nullFailed(I[149], 26, 22, "value"); + this[S$3._validateToken](value); + let s = this.readClasses(); + let result = false; + if (shouldAdd == null) shouldAdd = !dart.test(s.contains(value)); + if (dart.test(shouldAdd)) { + s.add(value); + result = true; + } else { + s.remove(value); + } + this.writeClasses(s); + return result; + } + get frozen() { + return false; + } + get iterator() { + return this.readClasses().iterator; + } + forEach(f) { + if (f == null) dart.nullFailed(I[149], 52, 21, "f"); + this.readClasses()[$forEach](f); + } + join(separator = "") { + if (separator == null) dart.nullFailed(I[149], 56, 23, "separator"); + return this.readClasses()[$join](separator); + } + map(T, f) { + if (f == null) dart.nullFailed(I[149], 58, 24, "f"); + return this.readClasses()[$map](T, f); + } + where(f) { + if (f == null) dart.nullFailed(I[149], 60, 31, "f"); + return this.readClasses()[$where](f); + } + expand(T, f) { + if (f == null) dart.nullFailed(I[149], 62, 37, "f"); + return this.readClasses()[$expand](T, f); + } + every(f) { + if (f == null) dart.nullFailed(I[149], 65, 19, "f"); + return this.readClasses()[$every](f); + } + any(f) { + if (f == null) dart.nullFailed(I[149], 67, 17, "f"); + return this.readClasses()[$any](f); + } + get isEmpty() { + return this.readClasses()[$isEmpty]; + } + get isNotEmpty() { + return this.readClasses()[$isNotEmpty]; + } + get length() { + return this.readClasses()[$length]; + } + reduce(combine) { + T$0.StringAndStringToString().as(combine); + if (combine == null) dart.nullFailed(I[149], 75, 24, "combine"); + return this.readClasses()[$reduce](combine); + } + fold(T, initialValue, combine) { + if (combine == null) dart.nullFailed(I[149], 79, 31, "combine"); + return this.readClasses()[$fold](T, initialValue, combine); + } + contains(value) { + if (!(typeof value == 'string')) return false; + this[S$3._validateToken](value); + return this.readClasses().contains(value); + } + lookup(value) { + return dart.test(this.contains(value)) ? core.String.as(value) : null; + } + add(value) { + let t241; + core.String.as(value); + if (value == null) dart.nullFailed(I[149], 107, 19, "value"); + this[S$3._validateToken](value); + return core.bool.as((t241 = this.modify(dart.fn(s => { + if (s == null) dart.nullFailed(I[149], 111, 20, "s"); + return s.add(value); + }, T$0.SetOfStringTobool())), t241 == null ? false : t241)); + } + remove(value) { + if (!(typeof value == 'string')) return false; + this[S$3._validateToken](value); + let s = this.readClasses(); + let result = s.remove(value); + this.writeClasses(s); + return result; + } + addAll(iterable) { + T$0.IterableOfString().as(iterable); + if (iterable == null) dart.nullFailed(I[149], 136, 32, "iterable"); + this.modify(dart.fn(s => { + if (s == null) dart.nullFailed(I[149], 138, 13, "s"); + return s.addAll(iterable[$map](core.String, dart.bind(this, S$3._validateToken))); + }, T$0.SetOfStringTovoid())); + } + removeAll(iterable) { + if (iterable == null) dart.nullFailed(I[149], 147, 36, "iterable"); + this.modify(dart.fn(s => { + if (s == null) dart.nullFailed(I[149], 148, 13, "s"); + return s.removeAll(iterable); + }, T$0.SetOfStringTovoid())); + } + toggleAll(iterable, shouldAdd = null) { + if (iterable == null) dart.nullFailed(I[149], 161, 35, "iterable"); + iterable[$forEach](dart.fn(e => { + if (e == null) dart.nullFailed(I[149], 162, 23, "e"); + return this.toggle(e, shouldAdd); + }, T$.StringTovoid())); + } + retainAll(iterable) { + if (iterable == null) dart.nullFailed(I[149], 165, 36, "iterable"); + this.modify(dart.fn(s => { + if (s == null) dart.nullFailed(I[149], 166, 13, "s"); + return s.retainAll(iterable); + }, T$0.SetOfStringTovoid())); + } + removeWhere(test) { + if (test == null) dart.nullFailed(I[149], 169, 25, "test"); + this.modify(dart.fn(s => { + if (s == null) dart.nullFailed(I[149], 170, 13, "s"); + return s.removeWhere(test); + }, T$0.SetOfStringTovoid())); + } + retainWhere(test) { + if (test == null) dart.nullFailed(I[149], 173, 25, "test"); + this.modify(dart.fn(s => { + if (s == null) dart.nullFailed(I[149], 174, 13, "s"); + return s.retainWhere(test); + }, T$0.SetOfStringTovoid())); + } + containsAll(collection) { + if (collection == null) dart.nullFailed(I[149], 177, 38, "collection"); + return this.readClasses().containsAll(collection); + } + intersection(other) { + if (other == null) dart.nullFailed(I[149], 180, 41, "other"); + return this.readClasses().intersection(other); + } + union(other) { + T$0.SetOfString().as(other); + if (other == null) dart.nullFailed(I[149], 183, 33, "other"); + return this.readClasses().union(other); + } + difference(other) { + if (other == null) dart.nullFailed(I[149], 185, 39, "other"); + return this.readClasses().difference(other); + } + get first() { + return this.readClasses()[$first]; + } + get last() { + return this.readClasses()[$last]; + } + get single() { + return this.readClasses()[$single]; + } + toList(opts) { + let growable = opts && 'growable' in opts ? opts.growable : true; + if (growable == null) dart.nullFailed(I[149], 190, 29, "growable"); + return this.readClasses()[$toList]({growable: growable}); + } + toSet() { + return this.readClasses().toSet(); + } + take(n) { + if (n == null) dart.nullFailed(I[149], 193, 29, "n"); + return this.readClasses()[$take](n); + } + takeWhile(test) { + if (test == null) dart.nullFailed(I[149], 194, 35, "test"); + return this.readClasses()[$takeWhile](test); + } + skip(n) { + if (n == null) dart.nullFailed(I[149], 196, 29, "n"); + return this.readClasses()[$skip](n); + } + skipWhile(test) { + if (test == null) dart.nullFailed(I[149], 197, 35, "test"); + return this.readClasses()[$skipWhile](test); + } + firstWhere(test, opts) { + if (test == null) dart.nullFailed(I[149], 199, 26, "test"); + let orElse = opts && 'orElse' in opts ? opts.orElse : null; + T$0.VoidToNString().as(orElse); + return this.readClasses()[$firstWhere](test, {orElse: orElse}); + } + lastWhere(test, opts) { + if (test == null) dart.nullFailed(I[149], 201, 25, "test"); + let orElse = opts && 'orElse' in opts ? opts.orElse : null; + T$0.VoidToNString().as(orElse); + return this.readClasses()[$lastWhere](test, {orElse: orElse}); + } + singleWhere(test, opts) { + if (test == null) dart.nullFailed(I[149], 203, 27, "test"); + let orElse = opts && 'orElse' in opts ? opts.orElse : null; + T$0.VoidToNString().as(orElse); + return this.readClasses()[$singleWhere](test, {orElse: orElse}); + } + elementAt(index) { + if (index == null) dart.nullFailed(I[149], 205, 24, "index"); + return this.readClasses()[$elementAt](index); + } + clear() { + this.modify(dart.fn(s => { + if (s == null) dart.nullFailed(I[149], 209, 13, "s"); + return s.clear(); + }, T$0.SetOfStringTovoid())); + } + modify(f) { + if (f == null) dart.nullFailed(I[149], 222, 10, "f"); + let s = this.readClasses(); + let ret = f(s); + this.writeClasses(s); + return ret; + } +}; +(html_common.CssClassSetImpl.new = function() { + ; +}).prototype = html_common.CssClassSetImpl.prototype; +dart.addTypeTests(html_common.CssClassSetImpl); +dart.addTypeCaches(html_common.CssClassSetImpl); +html_common.CssClassSetImpl[dart.implements] = () => [html$.CssClassSet]; +dart.setMethodSignature(html_common.CssClassSetImpl, () => ({ + __proto__: dart.getMethods(html_common.CssClassSetImpl.__proto__), + [S$3._validateToken]: dart.fnType(core.String, [core.String]), + toggle: dart.fnType(core.bool, [core.String], [dart.nullable(core.bool)]), + map: dart.gFnType(T => [core.Iterable$(T), [dart.fnType(T, [core.String])]], T => [dart.nullable(core.Object)]), + [$map]: dart.gFnType(T => [core.Iterable$(T), [dart.fnType(T, [core.String])]], T => [dart.nullable(core.Object)]), + expand: dart.gFnType(T => [core.Iterable$(T), [dart.fnType(core.Iterable$(T), [core.String])]], T => [dart.nullable(core.Object)]), + [$expand]: dart.gFnType(T => [core.Iterable$(T), [dart.fnType(core.Iterable$(T), [core.String])]], T => [dart.nullable(core.Object)]), + fold: dart.gFnType(T => [T, [T, dart.fnType(T, [T, core.String])]], T => [dart.nullable(core.Object)]), + [$fold]: dart.gFnType(T => [T, [T, dart.fnType(T, [T, core.String])]], T => [dart.nullable(core.Object)]), + contains: dart.fnType(core.bool, [dart.nullable(core.Object)]), + [$contains]: dart.fnType(core.bool, [dart.nullable(core.Object)]), + lookup: dart.fnType(dart.nullable(core.String), [dart.nullable(core.Object)]), + add: dart.fnType(core.bool, [dart.nullable(core.Object)]), + remove: dart.fnType(core.bool, [dart.nullable(core.Object)]), + toggleAll: dart.fnType(dart.void, [core.Iterable$(core.String)], [dart.nullable(core.bool)]), + toSet: dart.fnType(core.Set$(core.String), []), + [$toSet]: dart.fnType(core.Set$(core.String), []), + modify: dart.fnType(dart.dynamic, [dart.fnType(dart.dynamic, [core.Set$(core.String)])]) +})); +dart.setGetterSignature(html_common.CssClassSetImpl, () => ({ + __proto__: dart.getGetters(html_common.CssClassSetImpl.__proto__), + frozen: core.bool, + iterator: core.Iterator$(core.String), + [$iterator]: core.Iterator$(core.String), + length: core.int, + [$length]: core.int +})); +dart.setLibraryUri(html_common.CssClassSetImpl, I[150]); +dart.defineExtensionMethods(html_common.CssClassSetImpl, [ + 'toString', + 'forEach', + 'join', + 'map', + 'where', + 'expand', + 'every', + 'any', + 'reduce', + 'fold', + 'contains', + 'toList', + 'toSet', + 'take', + 'takeWhile', + 'skip', + 'skipWhile', + 'firstWhere', + 'lastWhere', + 'singleWhere', + 'elementAt' +]); +dart.defineExtensionAccessors(html_common.CssClassSetImpl, [ + 'iterator', + 'isEmpty', + 'isNotEmpty', + 'length', + 'first', + 'last', + 'single' +]); +dart.defineLazy(html_common.CssClassSetImpl, { + /*html_common.CssClassSetImpl._validTokenRE*/get _validTokenRE() { + return core.RegExp.new("^\\S+$"); + } +}, false); +html$._MultiElementCssClassSet = class _MultiElementCssClassSet extends html_common.CssClassSetImpl { + static new(elements) { + if (elements == null) dart.nullFailed(I[147], 36708, 54, "elements"); + return new html$._MultiElementCssClassSet.__(elements, T$0.ListOfCssClassSetImpl().from(elements[$map](dart.dynamic, dart.fn(e => { + if (e == null) dart.nullFailed(I[147], 36710, 62, "e"); + return e[S.$classes]; + }, T$0.ElementToCssClassSet())))); + } + readClasses() { + let s = new (T$0._IdentityHashSetOfString()).new(); + this[S$3._sets][$forEach](dart.fn(e => { + if (e == null) dart.nullFailed(I[147], 36717, 36, "e"); + return s.addAll(e.readClasses()); + }, T$0.CssClassSetImplTovoid())); + return s; + } + writeClasses(s) { + if (s == null) dart.nullFailed(I[147], 36721, 33, "s"); + let classes = s[$join](" "); + for (let e of this[S$0._elementIterable]) { + e.className = classes; + } + } + modify(f) { + if (f == null) dart.nullFailed(I[147], 36737, 10, "f"); + this[S$3._sets][$forEach](dart.fn(e => { + if (e == null) dart.nullFailed(I[147], 36738, 36, "e"); + return e.modify(f); + }, T$0.CssClassSetImplTovoid())); + } + toggle(value, shouldAdd = null) { + if (value == null) dart.nullFailed(I[147], 36748, 22, "value"); + return this[S$3._sets][$fold](core.bool, false, dart.fn((changed, e) => { + if (changed == null) dart.nullFailed(I[147], 36750, 13, "changed"); + if (e == null) dart.nullFailed(I[147], 36750, 38, "e"); + return dart.test(e.toggle(value, shouldAdd)) || dart.test(changed); + }, T$0.boolAndCssClassSetImplTobool())); + } + remove(value) { + return this[S$3._sets][$fold](core.bool, false, dart.fn((changed, e) => { + if (changed == null) dart.nullFailed(I[147], 36761, 20, "changed"); + if (e == null) dart.nullFailed(I[147], 36761, 45, "e"); + return dart.test(e.remove(value)) || dart.test(changed); + }, T$0.boolAndCssClassSetImplTobool())); + } +}; +(html$._MultiElementCssClassSet.__ = function(_elementIterable, _sets) { + if (_elementIterable == null) dart.nullFailed(I[147], 36713, 35, "_elementIterable"); + if (_sets == null) dart.nullFailed(I[147], 36713, 58, "_sets"); + this[S$0._elementIterable] = _elementIterable; + this[S$3._sets] = _sets; + ; +}).prototype = html$._MultiElementCssClassSet.prototype; +dart.addTypeTests(html$._MultiElementCssClassSet); +dart.addTypeCaches(html$._MultiElementCssClassSet); +dart.setMethodSignature(html$._MultiElementCssClassSet, () => ({ + __proto__: dart.getMethods(html$._MultiElementCssClassSet.__proto__), + readClasses: dart.fnType(core.Set$(core.String), []), + writeClasses: dart.fnType(dart.void, [core.Set$(core.String)]) +})); +dart.setLibraryUri(html$._MultiElementCssClassSet, I[148]); +dart.setFieldSignature(html$._MultiElementCssClassSet, () => ({ + __proto__: dart.getFields(html$._MultiElementCssClassSet.__proto__), + [S$0._elementIterable]: dart.finalFieldType(core.Iterable$(html$.Element)), + [S$3._sets]: dart.finalFieldType(core.List$(html_common.CssClassSetImpl)) +})); +html$._ElementCssClassSet = class _ElementCssClassSet extends html_common.CssClassSetImpl { + readClasses() { + let s = new (T$0._IdentityHashSetOfString()).new(); + let classname = this[S$1._element$2].className; + for (let name of classname[$split](" ")) { + let trimmed = name[$trim](); + if (!trimmed[$isEmpty]) { + s.add(trimmed); + } + } + return s; + } + writeClasses(s) { + if (s == null) dart.nullFailed(I[147], 36782, 33, "s"); + this[S$1._element$2].className = s[$join](" "); + } + get length() { + return html$._ElementCssClassSet._classListLength(html$._ElementCssClassSet._classListOf(this[S$1._element$2])); + } + get isEmpty() { + return this.length === 0; + } + get isNotEmpty() { + return this.length !== 0; + } + clear() { + this[S$1._element$2].className = ""; + } + contains(value) { + return html$._ElementCssClassSet._contains(this[S$1._element$2], value); + } + add(value) { + core.String.as(value); + if (value == null) dart.nullFailed(I[147], 36798, 19, "value"); + return html$._ElementCssClassSet._add(this[S$1._element$2], value); + } + remove(value) { + return typeof value == 'string' && dart.test(html$._ElementCssClassSet._remove(this[S$1._element$2], value)); + } + toggle(value, shouldAdd = null) { + if (value == null) dart.nullFailed(I[147], 36806, 22, "value"); + return html$._ElementCssClassSet._toggle(this[S$1._element$2], value, shouldAdd); + } + addAll(iterable) { + T$0.IterableOfString().as(iterable); + if (iterable == null) dart.nullFailed(I[147], 36810, 32, "iterable"); + html$._ElementCssClassSet._addAll(this[S$1._element$2], iterable); + } + removeAll(iterable) { + if (iterable == null) dart.nullFailed(I[147], 36814, 36, "iterable"); + html$._ElementCssClassSet._removeAll(this[S$1._element$2], iterable); + } + retainAll(iterable) { + if (iterable == null) dart.nullFailed(I[147], 36818, 36, "iterable"); + html$._ElementCssClassSet._removeWhere(this[S$1._element$2], dart.bind(iterable[$toSet](), 'contains'), false); + } + removeWhere(test) { + if (test == null) dart.nullFailed(I[147], 36822, 25, "test"); + html$._ElementCssClassSet._removeWhere(this[S$1._element$2], test, true); + } + retainWhere(test) { + if (test == null) dart.nullFailed(I[147], 36826, 25, "test"); + html$._ElementCssClassSet._removeWhere(this[S$1._element$2], test, false); + } + static _contains(_element, value) { + if (_element == null) dart.nullFailed(I[147], 36830, 33, "_element"); + return typeof value == 'string' && dart.test(html$._ElementCssClassSet._classListContains(html$._ElementCssClassSet._classListOf(_element), value)); + } + static _add(_element, value) { + if (_element == null) dart.nullFailed(I[147], 36835, 28, "_element"); + if (value == null) dart.nullFailed(I[147], 36835, 45, "value"); + let list = html$._ElementCssClassSet._classListOf(_element); + let added = !dart.test(html$._ElementCssClassSet._classListContainsBeforeAddOrRemove(list, value)); + html$._ElementCssClassSet._classListAdd(list, value); + return added; + } + static _remove(_element, value) { + if (_element == null) dart.nullFailed(I[147], 36844, 31, "_element"); + if (value == null) dart.nullFailed(I[147], 36844, 48, "value"); + let list = html$._ElementCssClassSet._classListOf(_element); + let removed = html$._ElementCssClassSet._classListContainsBeforeAddOrRemove(list, value); + html$._ElementCssClassSet._classListRemove(list, value); + return removed; + } + static _toggle(_element, value, shouldAdd) { + if (_element == null) dart.nullFailed(I[147], 36851, 31, "_element"); + if (value == null) dart.nullFailed(I[147], 36851, 48, "value"); + return shouldAdd == null ? html$._ElementCssClassSet._toggleDefault(_element, value) : html$._ElementCssClassSet._toggleOnOff(_element, value, shouldAdd); + } + static _toggleDefault(_element, value) { + if (_element == null) dart.nullFailed(I[147], 36860, 38, "_element"); + if (value == null) dart.nullFailed(I[147], 36860, 55, "value"); + let list = html$._ElementCssClassSet._classListOf(_element); + return html$._ElementCssClassSet._classListToggle1(list, value); + } + static _toggleOnOff(_element, value, shouldAdd) { + let t241; + if (_element == null) dart.nullFailed(I[147], 36865, 36, "_element"); + if (value == null) dart.nullFailed(I[147], 36865, 53, "value"); + let list = html$._ElementCssClassSet._classListOf(_element); + if (dart.test((t241 = shouldAdd, t241 == null ? false : t241))) { + html$._ElementCssClassSet._classListAdd(list, value); + return true; + } else { + html$._ElementCssClassSet._classListRemove(list, value); + return false; + } + } + static _addAll(_element, iterable) { + if (_element == null) dart.nullFailed(I[147], 36880, 31, "_element"); + if (iterable == null) dart.nullFailed(I[147], 36880, 58, "iterable"); + let list = html$._ElementCssClassSet._classListOf(_element); + for (let value of iterable) { + html$._ElementCssClassSet._classListAdd(list, value); + } + } + static _removeAll(_element, iterable) { + if (_element == null) dart.nullFailed(I[147], 36887, 34, "_element"); + if (iterable == null) dart.nullFailed(I[147], 36887, 62, "iterable"); + let list = html$._ElementCssClassSet._classListOf(_element); + for (let value of iterable) { + html$._ElementCssClassSet._classListRemove(list, core.String.as(value)); + } + } + static _removeWhere(_element, test, doRemove) { + if (_element == null) dart.nullFailed(I[147], 36895, 15, "_element"); + if (test == null) dart.nullFailed(I[147], 36895, 30, "test"); + if (doRemove == null) dart.nullFailed(I[147], 36895, 54, "doRemove"); + let list = html$._ElementCssClassSet._classListOf(_element); + let i = 0; + while (i < dart.notNull(html$._ElementCssClassSet._classListLength(list))) { + let item = dart.nullCheck(list.item(i)); + if (doRemove == test(item)) { + html$._ElementCssClassSet._classListRemove(list, item); + } else { + i = i + 1; + } + } + } + static _classListOf(e) { + if (e == null) dart.nullFailed(I[147], 36912, 44, "e"); + return e.classList; + } + static _classListLength(list) { + if (list == null) dart.nullFailed(I[147], 36917, 44, "list"); + return list.length; + } + static _classListContains(list, value) { + if (list == null) dart.nullFailed(I[147], 36920, 47, "list"); + if (value == null) dart.nullFailed(I[147], 36920, 60, "value"); + return list.contains(value); + } + static _classListContainsBeforeAddOrRemove(list, value) { + if (list == null) dart.nullFailed(I[147], 36924, 24, "list"); + if (value == null) dart.nullFailed(I[147], 36924, 37, "value"); + return list.contains(value); + } + static _classListAdd(list, value) { + if (list == null) dart.nullFailed(I[147], 36933, 42, "list"); + if (value == null) dart.nullFailed(I[147], 36933, 55, "value"); + list.add(value); + } + static _classListRemove(list, value) { + if (list == null) dart.nullFailed(I[147], 36938, 45, "list"); + if (value == null) dart.nullFailed(I[147], 36938, 58, "value"); + list.remove(value); + } + static _classListToggle1(list, value) { + if (list == null) dart.nullFailed(I[147], 36943, 46, "list"); + if (value == null) dart.nullFailed(I[147], 36943, 59, "value"); + return list.toggle(value); + } + static _classListToggle2(list, value, shouldAdd) { + if (list == null) dart.nullFailed(I[147], 36948, 20, "list"); + if (value == null) dart.nullFailed(I[147], 36948, 33, "value"); + return list.toggle(value, shouldAdd); + } +}; +(html$._ElementCssClassSet.new = function(_element) { + if (_element == null) dart.nullFailed(I[147], 36767, 28, "_element"); + this[S$1._element$2] = _element; + ; +}).prototype = html$._ElementCssClassSet.prototype; +dart.addTypeTests(html$._ElementCssClassSet); +dart.addTypeCaches(html$._ElementCssClassSet); +dart.setMethodSignature(html$._ElementCssClassSet, () => ({ + __proto__: dart.getMethods(html$._ElementCssClassSet.__proto__), + readClasses: dart.fnType(core.Set$(core.String), []), + writeClasses: dart.fnType(dart.void, [core.Set$(core.String)]) +})); +dart.setLibraryUri(html$._ElementCssClassSet, I[148]); +dart.setFieldSignature(html$._ElementCssClassSet, () => ({ + __proto__: dart.getFields(html$._ElementCssClassSet.__proto__), + [S$1._element$2]: dart.finalFieldType(html$.Element) +})); +dart.defineExtensionMethods(html$._ElementCssClassSet, ['contains']); +dart.defineExtensionAccessors(html$._ElementCssClassSet, ['length', 'isEmpty', 'isNotEmpty']); +html$.Dimension = class Dimension extends core.Object { + toString() { + return dart.str(this[S$1._value$7]) + dart.str(this[S$3._unit]); + } + get value() { + return this[S$1._value$7]; + } +}; +(html$.Dimension.percent = function(_value) { + if (_value == null) dart.nullFailed(I[147], 36963, 26, "_value"); + this[S$1._value$7] = _value; + this[S$3._unit] = "%"; + ; +}).prototype = html$.Dimension.prototype; +(html$.Dimension.px = function(_value) { + if (_value == null) dart.nullFailed(I[147], 36966, 21, "_value"); + this[S$1._value$7] = _value; + this[S$3._unit] = "px"; + ; +}).prototype = html$.Dimension.prototype; +(html$.Dimension.pc = function(_value) { + if (_value == null) dart.nullFailed(I[147], 36969, 21, "_value"); + this[S$1._value$7] = _value; + this[S$3._unit] = "pc"; + ; +}).prototype = html$.Dimension.prototype; +(html$.Dimension.pt = function(_value) { + if (_value == null) dart.nullFailed(I[147], 36972, 21, "_value"); + this[S$1._value$7] = _value; + this[S$3._unit] = "pt"; + ; +}).prototype = html$.Dimension.prototype; +(html$.Dimension.inch = function(_value) { + if (_value == null) dart.nullFailed(I[147], 36975, 23, "_value"); + this[S$1._value$7] = _value; + this[S$3._unit] = "in"; + ; +}).prototype = html$.Dimension.prototype; +(html$.Dimension.cm = function(_value) { + if (_value == null) dart.nullFailed(I[147], 36978, 21, "_value"); + this[S$1._value$7] = _value; + this[S$3._unit] = "cm"; + ; +}).prototype = html$.Dimension.prototype; +(html$.Dimension.mm = function(_value) { + if (_value == null) dart.nullFailed(I[147], 36981, 21, "_value"); + this[S$1._value$7] = _value; + this[S$3._unit] = "mm"; + ; +}).prototype = html$.Dimension.prototype; +(html$.Dimension.em = function(_value) { + if (_value == null) dart.nullFailed(I[147], 36990, 21, "_value"); + this[S$1._value$7] = _value; + this[S$3._unit] = "em"; + ; +}).prototype = html$.Dimension.prototype; +(html$.Dimension.ex = function(_value) { + if (_value == null) dart.nullFailed(I[147], 36999, 21, "_value"); + this[S$1._value$7] = _value; + this[S$3._unit] = "ex"; + ; +}).prototype = html$.Dimension.prototype; +(html$.Dimension.css = function(cssValue) { + if (cssValue == null) dart.nullFailed(I[147], 37010, 24, "cssValue"); + this[S$3._unit] = ""; + this[S$1._value$7] = 0; + if (cssValue === "") cssValue = "0px"; + if (cssValue[$endsWith]("%")) { + this[S$3._unit] = "%"; + } else { + this[S$3._unit] = cssValue[$substring](cssValue.length - 2); + } + if (cssValue[$contains](".")) { + this[S$1._value$7] = core.double.parse(cssValue[$substring](0, cssValue.length - this[S$3._unit].length)); + } else { + this[S$1._value$7] = core.int.parse(cssValue[$substring](0, cssValue.length - this[S$3._unit].length)); + } +}).prototype = html$.Dimension.prototype; +dart.addTypeTests(html$.Dimension); +dart.addTypeCaches(html$.Dimension); +dart.setGetterSignature(html$.Dimension, () => ({ + __proto__: dart.getGetters(html$.Dimension.__proto__), + value: core.num +})); +dart.setLibraryUri(html$.Dimension, I[148]); +dart.setFieldSignature(html$.Dimension, () => ({ + __proto__: dart.getFields(html$.Dimension.__proto__), + [S$1._value$7]: dart.fieldType(core.num), + [S$3._unit]: dart.fieldType(core.String) +})); +dart.defineExtensionMethods(html$.Dimension, ['toString']); +const _is_EventStreamProvider_default = Symbol('_is_EventStreamProvider_default'); +html$.EventStreamProvider$ = dart.generic(T => { + var _EventStreamOfT = () => (_EventStreamOfT = dart.constFn(html$._EventStream$(T)))(); + var _ElementEventStreamImplOfT = () => (_ElementEventStreamImplOfT = dart.constFn(html$._ElementEventStreamImpl$(T)))(); + var _ElementListEventStreamImplOfT = () => (_ElementListEventStreamImplOfT = dart.constFn(html$._ElementListEventStreamImpl$(T)))(); + class EventStreamProvider extends core.Object { + get [S$3._eventType$1]() { + return this[S$3._eventType$2]; + } + set [S$3._eventType$1](value) { + super[S$3._eventType$1] = value; + } + forTarget(e, opts) { + let useCapture = opts && 'useCapture' in opts ? opts.useCapture : false; + if (useCapture == null) dart.nullFailed(I[147], 37074, 45, "useCapture"); + return new (_EventStreamOfT()).new(e, this[S$3._eventType$1], useCapture); + } + forElement(e, opts) { + if (e == null) dart.nullFailed(I[147], 37099, 39, "e"); + let useCapture = opts && 'useCapture' in opts ? opts.useCapture : false; + if (useCapture == null) dart.nullFailed(I[147], 37099, 48, "useCapture"); + return new (_ElementEventStreamImplOfT()).new(e, this[S$3._eventType$1], useCapture); + } + [S$1._forElementList](e, opts) { + if (e == null) dart.nullFailed(I[147], 37118, 57, "e"); + let useCapture = opts && 'useCapture' in opts ? opts.useCapture : false; + if (useCapture == null) dart.nullFailed(I[147], 37119, 13, "useCapture"); + return new (_ElementListEventStreamImplOfT()).new(e, this[S$3._eventType$1], useCapture); + } + getEventType(target) { + if (target == null) dart.nullFailed(I[147], 37130, 35, "target"); + return this[S$3._eventType$1]; + } + } + (EventStreamProvider.new = function(_eventType) { + if (_eventType == null) dart.nullFailed(I[147], 37050, 34, "_eventType"); + this[S$3._eventType$2] = _eventType; + ; + }).prototype = EventStreamProvider.prototype; + dart.addTypeTests(EventStreamProvider); + EventStreamProvider.prototype[_is_EventStreamProvider_default] = true; + dart.addTypeCaches(EventStreamProvider); + dart.setMethodSignature(EventStreamProvider, () => ({ + __proto__: dart.getMethods(EventStreamProvider.__proto__), + forTarget: dart.fnType(async.Stream$(T), [dart.nullable(html$.EventTarget)], {useCapture: core.bool}, {}), + forElement: dart.fnType(html$.ElementStream$(T), [html$.Element], {useCapture: core.bool}, {}), + [S$1._forElementList]: dart.fnType(html$.ElementStream$(T), [html$.ElementList$(html$.Element)], {useCapture: core.bool}, {}), + getEventType: dart.fnType(core.String, [html$.EventTarget]) + })); + dart.setLibraryUri(EventStreamProvider, I[148]); + dart.setFieldSignature(EventStreamProvider, () => ({ + __proto__: dart.getFields(EventStreamProvider.__proto__), + [S$3._eventType$1]: dart.finalFieldType(core.String) + })); + return EventStreamProvider; +}); +html$.EventStreamProvider = html$.EventStreamProvider$(); +dart.addTypeTests(html$.EventStreamProvider, _is_EventStreamProvider_default); +const _is_ElementStream_default = Symbol('_is_ElementStream_default'); +html$.ElementStream$ = dart.generic(T => { + class ElementStream extends core.Object {} + (ElementStream.new = function() { + ; + }).prototype = ElementStream.prototype; + ElementStream.prototype[dart.isStream] = true; + dart.addTypeTests(ElementStream); + ElementStream.prototype[_is_ElementStream_default] = true; + dart.addTypeCaches(ElementStream); + ElementStream[dart.implements] = () => [async.Stream$(T)]; + dart.setLibraryUri(ElementStream, I[148]); + return ElementStream; +}); +html$.ElementStream = html$.ElementStream$(); +dart.addTypeTests(html$.ElementStream, _is_ElementStream_default); +const _is__EventStream_default = Symbol('_is__EventStream_default'); +html$._EventStream$ = dart.generic(T => { + var _EventStreamSubscriptionOfT = () => (_EventStreamSubscriptionOfT = dart.constFn(html$._EventStreamSubscription$(T)))(); + class _EventStream extends async.Stream$(T) { + asBroadcastStream(opts) { + let onListen = opts && 'onListen' in opts ? opts.onListen : null; + let onCancel = opts && 'onCancel' in opts ? opts.onCancel : null; + return this; + } + get isBroadcast() { + return true; + } + listen(onData, opts) { + let onError = opts && 'onError' in opts ? opts.onError : null; + let onDone = opts && 'onDone' in opts ? opts.onDone : null; + let cancelOnError = opts && 'cancelOnError' in opts ? opts.cancelOnError : null; + return new (_EventStreamSubscriptionOfT()).new(this[S$3._target$2], this[S$3._eventType$1], onData, this[S$3._useCapture]); + } + } + (_EventStream.new = function(_target, _eventType, _useCapture) { + if (_eventType == null) dart.nullFailed(I[147], 37170, 35, "_eventType"); + if (_useCapture == null) dart.nullFailed(I[147], 37170, 52, "_useCapture"); + this[S$3._target$2] = _target; + this[S$3._eventType$1] = _eventType; + this[S$3._useCapture] = _useCapture; + _EventStream.__proto__.new.call(this); + ; + }).prototype = _EventStream.prototype; + dart.addTypeTests(_EventStream); + _EventStream.prototype[_is__EventStream_default] = true; + dart.addTypeCaches(_EventStream); + dart.setMethodSignature(_EventStream, () => ({ + __proto__: dart.getMethods(_EventStream.__proto__), + listen: dart.fnType(async.StreamSubscription$(T), [dart.nullable(dart.fnType(dart.void, [T]))], {cancelOnError: dart.nullable(core.bool), onDone: dart.nullable(dart.fnType(dart.void, [])), onError: dart.nullable(core.Function)}, {}) + })); + dart.setLibraryUri(_EventStream, I[148]); + dart.setFieldSignature(_EventStream, () => ({ + __proto__: dart.getFields(_EventStream.__proto__), + [S$3._target$2]: dart.finalFieldType(dart.nullable(html$.EventTarget)), + [S$3._eventType$1]: dart.finalFieldType(core.String), + [S$3._useCapture]: dart.finalFieldType(core.bool) + })); + return _EventStream; +}); +html$._EventStream = html$._EventStream$(); +dart.addTypeTests(html$._EventStream, _is__EventStream_default); +const _is__ElementEventStreamImpl_default = Symbol('_is__ElementEventStreamImpl_default'); +html$._ElementEventStreamImpl$ = dart.generic(T => { + var TTobool = () => (TTobool = dart.constFn(dart.fnType(core.bool, [T])))(); + var TToT = () => (TToT = dart.constFn(dart.fnType(T, [T])))(); + var _EventStreamSubscriptionOfT = () => (_EventStreamSubscriptionOfT = dart.constFn(html$._EventStreamSubscription$(T)))(); + class _ElementEventStreamImpl extends html$._EventStream$(T) { + matches(selector) { + if (selector == null) dart.nullFailed(I[147], 37203, 28, "selector"); + return this.where(dart.fn(event => { + if (event == null) dart.nullFailed(I[147], 37204, 19, "event"); + return html$._matchesWithAncestors(event, selector); + }, TTobool())).map(T, dart.fn(e => { + if (e == null) dart.nullFailed(I[147], 37204, 74, "e"); + e[S._selector] = selector; + return e; + }, TToT())); + } + capture(onData) { + if (onData == null) dart.nullFailed(I[147], 37209, 38, "onData"); + return new (_EventStreamSubscriptionOfT()).new(this[S$3._target$2], this[S$3._eventType$1], onData, true); + } + } + (_ElementEventStreamImpl.new = function(target, eventType, useCapture) { + _ElementEventStreamImpl.__proto__.new.call(this, T$0.EventTargetN().as(target), core.String.as(eventType), core.bool.as(useCapture)); + ; + }).prototype = _ElementEventStreamImpl.prototype; + dart.addTypeTests(_ElementEventStreamImpl); + _ElementEventStreamImpl.prototype[_is__ElementEventStreamImpl_default] = true; + dart.addTypeCaches(_ElementEventStreamImpl); + _ElementEventStreamImpl[dart.implements] = () => [html$.ElementStream$(T)]; + dart.setMethodSignature(_ElementEventStreamImpl, () => ({ + __proto__: dart.getMethods(_ElementEventStreamImpl.__proto__), + matches: dart.fnType(async.Stream$(T), [core.String]), + capture: dart.fnType(async.StreamSubscription$(T), [dart.fnType(dart.void, [T])]) + })); + dart.setLibraryUri(_ElementEventStreamImpl, I[148]); + return _ElementEventStreamImpl; +}); +html$._ElementEventStreamImpl = html$._ElementEventStreamImpl$(); +dart.addTypeTests(html$._ElementEventStreamImpl, _is__ElementEventStreamImpl_default); +const _is__ElementListEventStreamImpl_default = Symbol('_is__ElementListEventStreamImpl_default'); +html$._ElementListEventStreamImpl$ = dart.generic(T => { + var TTobool = () => (TTobool = dart.constFn(dart.fnType(core.bool, [T])))(); + var TToT = () => (TToT = dart.constFn(dart.fnType(T, [T])))(); + var _StreamPoolOfT = () => (_StreamPoolOfT = dart.constFn(html$._StreamPool$(T)))(); + var _EventStreamOfT = () => (_EventStreamOfT = dart.constFn(html$._EventStream$(T)))(); + class _ElementListEventStreamImpl extends async.Stream$(T) { + matches(selector) { + if (selector == null) dart.nullFailed(I[147], 37227, 28, "selector"); + return this.where(dart.fn(event => { + if (event == null) dart.nullFailed(I[147], 37228, 19, "event"); + return html$._matchesWithAncestors(event, selector); + }, TTobool())).map(T, dart.fn(e => { + if (e == null) dart.nullFailed(I[147], 37228, 74, "e"); + e[S._selector] = selector; + return e; + }, TToT())); + } + listen(onData, opts) { + let onError = opts && 'onError' in opts ? opts.onError : null; + let onDone = opts && 'onDone' in opts ? opts.onDone : null; + let cancelOnError = opts && 'cancelOnError' in opts ? opts.cancelOnError : null; + let pool = new (_StreamPoolOfT()).broadcast(); + for (let target of this[S$3._targetList]) { + pool.add(new (_EventStreamOfT()).new(target, this[S$3._eventType$1], this[S$3._useCapture])); + } + return pool.stream.listen(onData, {onError: onError, onDone: onDone, cancelOnError: cancelOnError}); + } + capture(onData) { + if (onData == null) dart.nullFailed(I[147], 37244, 38, "onData"); + let pool = new (_StreamPoolOfT()).broadcast(); + for (let target of this[S$3._targetList]) { + pool.add(new (_EventStreamOfT()).new(target, this[S$3._eventType$1], true)); + } + return pool.stream.listen(onData); + } + asBroadcastStream(opts) { + let onListen = opts && 'onListen' in opts ? opts.onListen : null; + let onCancel = opts && 'onCancel' in opts ? opts.onCancel : null; + return this; + } + get isBroadcast() { + return true; + } + } + (_ElementListEventStreamImpl.new = function(_targetList, _eventType, _useCapture) { + if (_targetList == null) dart.nullFailed(I[147], 37225, 12, "_targetList"); + if (_eventType == null) dart.nullFailed(I[147], 37225, 30, "_eventType"); + if (_useCapture == null) dart.nullFailed(I[147], 37225, 47, "_useCapture"); + this[S$3._targetList] = _targetList; + this[S$3._eventType$1] = _eventType; + this[S$3._useCapture] = _useCapture; + _ElementListEventStreamImpl.__proto__.new.call(this); + ; + }).prototype = _ElementListEventStreamImpl.prototype; + dart.addTypeTests(_ElementListEventStreamImpl); + _ElementListEventStreamImpl.prototype[_is__ElementListEventStreamImpl_default] = true; + dart.addTypeCaches(_ElementListEventStreamImpl); + _ElementListEventStreamImpl[dart.implements] = () => [html$.ElementStream$(T)]; + dart.setMethodSignature(_ElementListEventStreamImpl, () => ({ + __proto__: dart.getMethods(_ElementListEventStreamImpl.__proto__), + matches: dart.fnType(async.Stream$(T), [core.String]), + listen: dart.fnType(async.StreamSubscription$(T), [dart.nullable(dart.fnType(dart.void, [T]))], {cancelOnError: dart.nullable(core.bool), onDone: dart.nullable(dart.fnType(dart.void, [])), onError: dart.nullable(core.Function)}, {}), + capture: dart.fnType(async.StreamSubscription$(T), [dart.fnType(dart.void, [T])]) + })); + dart.setLibraryUri(_ElementListEventStreamImpl, I[148]); + dart.setFieldSignature(_ElementListEventStreamImpl, () => ({ + __proto__: dart.getFields(_ElementListEventStreamImpl.__proto__), + [S$3._targetList]: dart.finalFieldType(core.Iterable$(html$.Element)), + [S$3._useCapture]: dart.finalFieldType(core.bool), + [S$3._eventType$1]: dart.finalFieldType(core.String) + })); + return _ElementListEventStreamImpl; +}); +html$._ElementListEventStreamImpl = html$._ElementListEventStreamImpl$(); +dart.addTypeTests(html$._ElementListEventStreamImpl, _is__ElementListEventStreamImpl_default); +const _is__EventStreamSubscription_default = Symbol('_is__EventStreamSubscription_default'); +html$._EventStreamSubscription$ = dart.generic(T => { + class _EventStreamSubscription extends async.StreamSubscription$(T) { + cancel() { + if (dart.test(this[S$3._canceled])) return _internal.nullFuture; + this[S$3._unlisten](); + this[S$3._target$2] = null; + this[S$3._onData$3] = null; + return _internal.nullFuture; + } + get [S$3._canceled]() { + return this[S$3._target$2] == null; + } + onData(handleData) { + if (dart.test(this[S$3._canceled])) { + dart.throw(new core.StateError.new("Subscription has been canceled.")); + } + this[S$3._unlisten](); + this[S$3._onData$3] = handleData == null ? null : html$._wrapZone(html$.Event, dart.fn(e => { + if (e == null) dart.nullFailed(I[147], 37307, 29, "e"); + return dart.dcall(handleData, [e]); + }, T$0.EventTovoid())); + this[S$3._tryResume](); + } + onError(handleError) { + } + onDone(handleDone) { + } + pause(resumeSignal = null) { + if (dart.test(this[S$3._canceled])) return; + this[S$3._pauseCount$1] = dart.notNull(this[S$3._pauseCount$1]) + 1; + this[S$3._unlisten](); + if (resumeSignal != null) { + resumeSignal.whenComplete(dart.bind(this, 'resume')); + } + } + get isPaused() { + return dart.notNull(this[S$3._pauseCount$1]) > 0; + } + resume() { + if (dart.test(this[S$3._canceled]) || !dart.test(this.isPaused)) return; + this[S$3._pauseCount$1] = dart.notNull(this[S$3._pauseCount$1]) - 1; + this[S$3._tryResume](); + } + [S$3._tryResume]() { + if (this[S$3._onData$3] != null && !dart.test(this.isPaused)) { + dart.nullCheck(this[S$3._target$2])[S.$addEventListener](this[S$3._eventType$1], this[S$3._onData$3], this[S$3._useCapture]); + } + } + [S$3._unlisten]() { + if (this[S$3._onData$3] != null) { + dart.nullCheck(this[S$3._target$2])[S.$removeEventListener](this[S$3._eventType$1], this[S$3._onData$3], this[S$3._useCapture]); + } + } + asFuture(E, futureValue = null) { + let completer = async.Completer$(E).new(); + return completer.future; + } + } + (_EventStreamSubscription.new = function(_target, _eventType, onData, _useCapture) { + if (_eventType == null) dart.nullFailed(I[147], 37280, 26, "_eventType"); + if (_useCapture == null) dart.nullFailed(I[147], 37280, 66, "_useCapture"); + this[S$3._pauseCount$1] = 0; + this[S$3._target$2] = _target; + this[S$3._eventType$1] = _eventType; + this[S$3._useCapture] = _useCapture; + this[S$3._onData$3] = onData == null ? null : html$._wrapZone(html$.Event, dart.fn(e => { + if (e == null) dart.nullFailed(I[147], 37283, 33, "e"); + return dart.dcall(onData, [e]); + }, T$0.EventTovoid())); + this[S$3._tryResume](); + }).prototype = _EventStreamSubscription.prototype; + dart.addTypeTests(_EventStreamSubscription); + _EventStreamSubscription.prototype[_is__EventStreamSubscription_default] = true; + dart.addTypeCaches(_EventStreamSubscription); + dart.setMethodSignature(_EventStreamSubscription, () => ({ + __proto__: dart.getMethods(_EventStreamSubscription.__proto__), + cancel: dart.fnType(async.Future, []), + onData: dart.fnType(dart.void, [dart.nullable(dart.fnType(dart.void, [T]))]), + onError: dart.fnType(dart.void, [dart.nullable(core.Function)]), + onDone: dart.fnType(dart.void, [dart.nullable(dart.fnType(dart.void, []))]), + pause: dart.fnType(dart.void, [], [dart.nullable(async.Future)]), + resume: dart.fnType(dart.void, []), + [S$3._tryResume]: dart.fnType(dart.void, []), + [S$3._unlisten]: dart.fnType(dart.void, []), + asFuture: dart.gFnType(E => [async.Future$(E), [], [dart.nullable(E)]], E => [dart.nullable(core.Object)]) + })); + dart.setGetterSignature(_EventStreamSubscription, () => ({ + __proto__: dart.getGetters(_EventStreamSubscription.__proto__), + [S$3._canceled]: core.bool, + isPaused: core.bool + })); + dart.setLibraryUri(_EventStreamSubscription, I[148]); + dart.setFieldSignature(_EventStreamSubscription, () => ({ + __proto__: dart.getFields(_EventStreamSubscription.__proto__), + [S$3._pauseCount$1]: dart.fieldType(core.int), + [S$3._target$2]: dart.fieldType(dart.nullable(html$.EventTarget)), + [S$3._eventType$1]: dart.finalFieldType(core.String), + [S$3._onData$3]: dart.fieldType(dart.nullable(dart.fnType(dart.dynamic, [html$.Event]))), + [S$3._useCapture]: dart.finalFieldType(core.bool) + })); + return _EventStreamSubscription; +}); +html$._EventStreamSubscription = html$._EventStreamSubscription$(); +dart.addTypeTests(html$._EventStreamSubscription, _is__EventStreamSubscription_default); +const _is_CustomStream_default = Symbol('_is_CustomStream_default'); +html$.CustomStream$ = dart.generic(T => { + class CustomStream extends core.Object {} + (CustomStream.new = function() { + ; + }).prototype = CustomStream.prototype; + CustomStream.prototype[dart.isStream] = true; + dart.addTypeTests(CustomStream); + CustomStream.prototype[_is_CustomStream_default] = true; + dart.addTypeCaches(CustomStream); + CustomStream[dart.implements] = () => [async.Stream$(T)]; + dart.setLibraryUri(CustomStream, I[148]); + return CustomStream; +}); +html$.CustomStream = html$.CustomStream$(); +dart.addTypeTests(html$.CustomStream, _is_CustomStream_default); +const _is__CustomEventStreamImpl_default = Symbol('_is__CustomEventStreamImpl_default'); +html$._CustomEventStreamImpl$ = dart.generic(T => { + var StreamControllerOfT = () => (StreamControllerOfT = dart.constFn(async.StreamController$(T)))(); + class _CustomEventStreamImpl extends async.Stream$(T) { + listen(onData, opts) { + let onError = opts && 'onError' in opts ? opts.onError : null; + let onDone = opts && 'onDone' in opts ? opts.onDone : null; + let cancelOnError = opts && 'cancelOnError' in opts ? opts.cancelOnError : null; + return this[S$3._streamController].stream.listen(onData, {onError: onError, onDone: onDone, cancelOnError: cancelOnError}); + } + asBroadcastStream(opts) { + let onListen = opts && 'onListen' in opts ? opts.onListen : null; + let onCancel = opts && 'onCancel' in opts ? opts.onCancel : null; + return this[S$3._streamController].stream; + } + get isBroadcast() { + return true; + } + add(event) { + T.as(event); + if (event == null) dart.nullFailed(I[147], 37390, 14, "event"); + if (event.type == this[S$3._type$5]) this[S$3._streamController].add(event); + } + } + (_CustomEventStreamImpl.new = function(type) { + if (type == null) dart.nullFailed(I[147], 37372, 33, "type"); + this[S$3._type$5] = type; + this[S$3._streamController] = StreamControllerOfT().broadcast({sync: true}); + _CustomEventStreamImpl.__proto__.new.call(this); + ; + }).prototype = _CustomEventStreamImpl.prototype; + dart.addTypeTests(_CustomEventStreamImpl); + _CustomEventStreamImpl.prototype[_is__CustomEventStreamImpl_default] = true; + dart.addTypeCaches(_CustomEventStreamImpl); + _CustomEventStreamImpl[dart.implements] = () => [html$.CustomStream$(T)]; + dart.setMethodSignature(_CustomEventStreamImpl, () => ({ + __proto__: dart.getMethods(_CustomEventStreamImpl.__proto__), + listen: dart.fnType(async.StreamSubscription$(T), [dart.nullable(dart.fnType(dart.void, [T]))], {cancelOnError: dart.nullable(core.bool), onDone: dart.nullable(dart.fnType(dart.void, [])), onError: dart.nullable(core.Function)}, {}), + add: dart.fnType(dart.void, [dart.nullable(core.Object)]) + })); + dart.setLibraryUri(_CustomEventStreamImpl, I[148]); + dart.setFieldSignature(_CustomEventStreamImpl, () => ({ + __proto__: dart.getFields(_CustomEventStreamImpl.__proto__), + [S$3._streamController]: dart.fieldType(async.StreamController$(T)), + [S$3._type$5]: dart.fieldType(core.String) + })); + return _CustomEventStreamImpl; +}); +html$._CustomEventStreamImpl = html$._CustomEventStreamImpl$(); +dart.addTypeTests(html$._CustomEventStreamImpl, _is__CustomEventStreamImpl_default); +html$.KeyEvent = class KeyEvent extends html$._WrappedEvent { + get keyCode() { + return this[S$3._shadowKeyCode]; + } + get charCode() { + return this.type === "keypress" ? this[S$3._shadowCharCode] : 0; + } + get altKey() { + return this[S$3._shadowAltKey]; + } + get which() { + return this.keyCode; + } + get [S$3._realKeyCode]() { + return this[S$3._parent$2].keyCode; + } + get [S$3._realCharCode]() { + return this[S$3._parent$2].charCode; + } + get [S$3._realAltKey]() { + return this[S$3._parent$2].altKey; + } + get sourceCapabilities() { + return this.sourceCapabilities; + } + static _makeRecord() { + let interceptor = _foreign_helper.JS_INTERCEPTOR_CONSTANT(dart.wrapType(html$.KeyboardEvent)); + return _js_helper.makeLeafDispatchRecord(interceptor); + } + static new(type, opts) { + if (type == null) dart.nullFailed(I[147], 40518, 27, "type"); + let view = opts && 'view' in opts ? opts.view : null; + let canBubble = opts && 'canBubble' in opts ? opts.canBubble : true; + if (canBubble == null) dart.nullFailed(I[147], 40520, 12, "canBubble"); + let cancelable = opts && 'cancelable' in opts ? opts.cancelable : true; + if (cancelable == null) dart.nullFailed(I[147], 40521, 12, "cancelable"); + let keyCode = opts && 'keyCode' in opts ? opts.keyCode : 0; + if (keyCode == null) dart.nullFailed(I[147], 40522, 11, "keyCode"); + let charCode = opts && 'charCode' in opts ? opts.charCode : 0; + if (charCode == null) dart.nullFailed(I[147], 40523, 11, "charCode"); + let location = opts && 'location' in opts ? opts.location : 1; + if (location == null) dart.nullFailed(I[147], 40524, 11, "location"); + let ctrlKey = opts && 'ctrlKey' in opts ? opts.ctrlKey : false; + if (ctrlKey == null) dart.nullFailed(I[147], 40525, 12, "ctrlKey"); + let altKey = opts && 'altKey' in opts ? opts.altKey : false; + if (altKey == null) dart.nullFailed(I[147], 40526, 12, "altKey"); + let shiftKey = opts && 'shiftKey' in opts ? opts.shiftKey : false; + if (shiftKey == null) dart.nullFailed(I[147], 40527, 12, "shiftKey"); + let metaKey = opts && 'metaKey' in opts ? opts.metaKey : false; + if (metaKey == null) dart.nullFailed(I[147], 40528, 12, "metaKey"); + let currentTarget = opts && 'currentTarget' in opts ? opts.currentTarget : null; + if (view == null) { + view = html$.window; + } + let eventObj = null; + eventObj = html$.Event.eventType("KeyboardEvent", type, {canBubble: canBubble, cancelable: cancelable}); + Object.defineProperty(eventObj, 'keyCode', { + get: function() { + return this.keyCodeVal; + } + }); + Object.defineProperty(eventObj, 'which', { + get: function() { + return this.keyCodeVal; + } + }); + Object.defineProperty(eventObj, 'charCode', { + get: function() { + return this.charCodeVal; + } + }); + let keyIdentifier = html$.KeyEvent._convertToHexString(charCode, keyCode); + dart.dsend(eventObj, S$1._initKeyboardEvent, [type, canBubble, cancelable, view, keyIdentifier, location, ctrlKey, altKey, shiftKey, metaKey]); + eventObj.keyCodeVal = keyCode; + eventObj.charCodeVal = charCode; + _interceptors.setDispatchProperty(eventObj, html$.KeyEvent._keyboardEventDispatchRecord); + let keyEvent = new html$.KeyEvent.wrap(html$.KeyboardEvent.as(eventObj)); + if (keyEvent[S$3._currentTarget] == null) { + keyEvent[S$3._currentTarget] = currentTarget == null ? html$.window : currentTarget; + } + return keyEvent; + } + static get canUseDispatchEvent() { + return typeof document.body.dispatchEvent == "function" && document.body.dispatchEvent.length > 0; + } + get currentTarget() { + return this[S$3._currentTarget]; + } + static _convertToHexString(charCode, keyCode) { + if (charCode == null) dart.nullFailed(I[147], 40590, 41, "charCode"); + if (keyCode == null) dart.nullFailed(I[147], 40590, 55, "keyCode"); + if (charCode !== -1) { + let hex = charCode[$toRadixString](16); + let sb = new core.StringBuffer.new("U+"); + for (let i = 0; i < 4 - hex.length; i = i + 1) + sb.write("0"); + sb.write(hex); + return sb.toString(); + } else { + return html$.KeyCode._convertKeyCodeToKeyName(keyCode); + } + } + get code() { + return dart.nullCheck(this[S$3._parent$2].code); + } + get ctrlKey() { + return this[S$3._parent$2].ctrlKey; + } + get detail() { + return dart.nullCheck(this[S$3._parent$2].detail); + } + get isComposing() { + return dart.nullCheck(this[S$3._parent$2].isComposing); + } + get key() { + return dart.nullCheck(this[S$3._parent$2].key); + } + get location() { + return this[S$3._parent$2].location; + } + get metaKey() { + return this[S$3._parent$2].metaKey; + } + get shiftKey() { + return this[S$3._parent$2].shiftKey; + } + get view() { + return this[S$3._parent$2][S$.$view]; + } + [S$._initUIEvent](type, canBubble, cancelable, view, detail) { + if (type == null) dart.nullFailed(I[147], 40632, 14, "type"); + if (canBubble == null) dart.nullFailed(I[147], 40632, 25, "canBubble"); + if (cancelable == null) dart.nullFailed(I[147], 40632, 41, "cancelable"); + if (detail == null) dart.nullFailed(I[147], 40632, 71, "detail"); + dart.throw(new core.UnsupportedError.new("Cannot initialize a UI Event from a KeyEvent.")); + } + get [S$3._shadowKeyIdentifier]() { + return this[S$3._parent$2].keyIdentifier; + } + get [S$1._charCode]() { + return this.charCode; + } + get [S$1._keyCode]() { + return this.keyCode; + } + get [S$._which]() { + return this.which; + } + get [S$3._keyIdentifier]() { + dart.throw(new core.UnsupportedError.new("keyIdentifier is unsupported.")); + } + [S$1._initKeyboardEvent](type, canBubble, cancelable, view, keyIdentifier, location, ctrlKey, altKey, shiftKey, metaKey) { + if (type == null) dart.nullFailed(I[147], 40647, 14, "type"); + if (canBubble == null) dart.nullFailed(I[147], 40648, 12, "canBubble"); + if (cancelable == null) dart.nullFailed(I[147], 40649, 12, "cancelable"); + if (keyIdentifier == null) dart.nullFailed(I[147], 40651, 14, "keyIdentifier"); + if (ctrlKey == null) dart.nullFailed(I[147], 40653, 12, "ctrlKey"); + if (altKey == null) dart.nullFailed(I[147], 40654, 12, "altKey"); + if (shiftKey == null) dart.nullFailed(I[147], 40655, 12, "shiftKey"); + if (metaKey == null) dart.nullFailed(I[147], 40656, 12, "metaKey"); + dart.throw(new core.UnsupportedError.new("Cannot initialize a KeyboardEvent from a KeyEvent.")); + } + getModifierState(keyArgument) { + if (keyArgument == null) dart.nullFailed(I[147], 40661, 32, "keyArgument"); + return dart.throw(new core.UnimplementedError.new()); + } + get repeat() { + return dart.throw(new core.UnimplementedError.new()); + } + get isComposed() { + return dart.throw(new core.UnimplementedError.new()); + } + get [S$._get_view]() { + return dart.throw(new core.UnimplementedError.new()); + } +}; +(html$.KeyEvent.wrap = function(parent) { + if (parent == null) dart.nullFailed(I[147], 40504, 31, "parent"); + this[S$3._currentTarget] = null; + this[S$3._parent$2] = parent; + this[S$3._shadowAltKey] = false; + this[S$3._shadowCharCode] = 0; + this[S$3._shadowKeyCode] = 0; + html$.KeyEvent.__proto__.new.call(this, parent); + this[S$3._parent$2] = parent; + this[S$3._shadowAltKey] = this[S$3._realAltKey]; + this[S$3._shadowCharCode] = this[S$3._realCharCode]; + this[S$3._shadowKeyCode] = this[S$3._realKeyCode]; + this[S$3._currentTarget] = this[S$3._parent$2][S.$currentTarget]; +}).prototype = html$.KeyEvent.prototype; +dart.addTypeTests(html$.KeyEvent); +dart.addTypeCaches(html$.KeyEvent); +html$.KeyEvent[dart.implements] = () => [html$.KeyboardEvent]; +dart.setMethodSignature(html$.KeyEvent, () => ({ + __proto__: dart.getMethods(html$.KeyEvent.__proto__), + [S$._initUIEvent]: dart.fnType(dart.void, [core.String, core.bool, core.bool, dart.nullable(html$.Window), core.int]), + [S$1._initKeyboardEvent]: dart.fnType(dart.void, [core.String, core.bool, core.bool, dart.nullable(html$.Window), core.String, dart.nullable(core.int), core.bool, core.bool, core.bool, core.bool]), + getModifierState: dart.fnType(core.bool, [core.String]), + [S$1.$getModifierState]: dart.fnType(core.bool, [core.String]) +})); +dart.setGetterSignature(html$.KeyEvent, () => ({ + __proto__: dart.getGetters(html$.KeyEvent.__proto__), + keyCode: core.int, + [S$1.$keyCode]: core.int, + charCode: core.int, + [S$1.$charCode]: core.int, + altKey: core.bool, + [S$1.$altKey]: core.bool, + which: core.int, + [S$1.$which]: core.int, + [S$3._realKeyCode]: core.int, + [S$3._realCharCode]: core.int, + [S$3._realAltKey]: core.bool, + sourceCapabilities: dart.nullable(html$.InputDeviceCapabilities), + [S$.$sourceCapabilities]: dart.nullable(html$.InputDeviceCapabilities), + code: core.String, + [S$.$code]: core.String, + ctrlKey: core.bool, + [S$1.$ctrlKey]: core.bool, + detail: core.int, + [S$.$detail]: core.int, + isComposing: core.bool, + [S$1.$isComposing]: core.bool, + key: core.String, + [S.$key]: core.String, + location: core.int, + [S$0.$location]: core.int, + metaKey: core.bool, + [S$1.$metaKey]: core.bool, + shiftKey: core.bool, + [S$1.$shiftKey]: core.bool, + view: dart.nullable(html$.WindowBase), + [S$.$view]: dart.nullable(html$.WindowBase), + [S$3._shadowKeyIdentifier]: core.String, + [S$1._charCode]: core.int, + [S$1._keyCode]: core.int, + [S$._which]: core.int, + [S$3._keyIdentifier]: core.String, + repeat: core.bool, + [S$1.$repeat]: core.bool, + isComposed: core.bool, + [S$._get_view]: dart.dynamic +})); +dart.setLibraryUri(html$.KeyEvent, I[148]); +dart.setFieldSignature(html$.KeyEvent, () => ({ + __proto__: dart.getFields(html$.KeyEvent.__proto__), + [S$3._parent$2]: dart.fieldType(html$.KeyboardEvent), + [S$3._shadowAltKey]: dart.fieldType(core.bool), + [S$3._shadowCharCode]: dart.fieldType(core.int), + [S$3._shadowKeyCode]: dart.fieldType(core.int), + [S$3._currentTarget]: dart.fieldType(dart.nullable(html$.EventTarget)) +})); +dart.defineExtensionMethods(html$.KeyEvent, ['getModifierState']); +dart.defineExtensionAccessors(html$.KeyEvent, [ + 'keyCode', + 'charCode', + 'altKey', + 'which', + 'sourceCapabilities', + 'currentTarget', + 'code', + 'ctrlKey', + 'detail', + 'isComposing', + 'key', + 'location', + 'metaKey', + 'shiftKey', + 'view', + 'repeat' +]); +dart.defineLazy(html$.KeyEvent, { + /*html$.KeyEvent._keyboardEventDispatchRecord*/get _keyboardEventDispatchRecord() { + return html$.KeyEvent._makeRecord(); + }, + /*html$.KeyEvent.keyDownEvent*/get keyDownEvent() { + return new html$._KeyboardEventHandler.new("keydown"); + }, + set keyDownEvent(_) {}, + /*html$.KeyEvent.keyUpEvent*/get keyUpEvent() { + return new html$._KeyboardEventHandler.new("keyup"); + }, + set keyUpEvent(_) {}, + /*html$.KeyEvent.keyPressEvent*/get keyPressEvent() { + return new html$._KeyboardEventHandler.new("keypress"); + }, + set keyPressEvent(_) {} +}, false); +html$._CustomKeyEventStreamImpl = class _CustomKeyEventStreamImpl extends html$._CustomEventStreamImpl$(html$.KeyEvent) { + add(event) { + html$.KeyEvent.as(event); + if (event == null) dart.nullFailed(I[147], 37399, 21, "event"); + if (event.type == this[S$3._type$5]) { + dart.nullCheck(event.currentTarget).dispatchEvent(event[S$3._parent$2]); + this[S$3._streamController].add(event); + } + } +}; +(html$._CustomKeyEventStreamImpl.new = function(type) { + if (type == null) dart.nullFailed(I[147], 37397, 36, "type"); + html$._CustomKeyEventStreamImpl.__proto__.new.call(this, type); + ; +}).prototype = html$._CustomKeyEventStreamImpl.prototype; +dart.addTypeTests(html$._CustomKeyEventStreamImpl); +dart.addTypeCaches(html$._CustomKeyEventStreamImpl); +html$._CustomKeyEventStreamImpl[dart.implements] = () => [html$.CustomStream$(html$.KeyEvent)]; +dart.setLibraryUri(html$._CustomKeyEventStreamImpl, I[148]); +const _is__StreamPool_default = Symbol('_is__StreamPool_default'); +html$._StreamPool$ = dart.generic(T => { + var StreamOfT = () => (StreamOfT = dart.constFn(async.Stream$(T)))(); + var StreamSubscriptionOfT = () => (StreamSubscriptionOfT = dart.constFn(async.StreamSubscription$(T)))(); + var LinkedMapOfStreamOfT$StreamSubscriptionOfT = () => (LinkedMapOfStreamOfT$StreamSubscriptionOfT = dart.constFn(_js_helper.LinkedMap$(StreamOfT(), StreamSubscriptionOfT())))(); + var StreamControllerOfT = () => (StreamControllerOfT = dart.constFn(async.StreamController$(T)))(); + class _StreamPool extends core.Object { + get stream() { + return dart.nullCheck(this[S$3._controller$2]).stream; + } + add(stream) { + StreamOfT().as(stream); + if (stream == null) dart.nullFailed(I[147], 37442, 22, "stream"); + if (dart.test(this[S$3._subscriptions][$containsKey](stream))) return; + this[S$3._subscriptions][$_set](stream, stream.listen(dart.bind(dart.nullCheck(this[S$3._controller$2]), 'add'), {onError: dart.bind(dart.nullCheck(this[S$3._controller$2]), 'addError'), onDone: dart.fn(() => this.remove(stream), T$.VoidTovoid())})); + } + remove(stream) { + StreamOfT().as(stream); + if (stream == null) dart.nullFailed(I[147], 37449, 25, "stream"); + let subscription = this[S$3._subscriptions][$remove](stream); + if (subscription != null) subscription.cancel(); + } + close() { + for (let subscription of this[S$3._subscriptions][$values]) { + subscription.cancel(); + } + this[S$3._subscriptions][$clear](); + dart.nullCheck(this[S$3._controller$2]).close(); + } + } + (_StreamPool.broadcast = function() { + this[S$3._controller$2] = null; + this[S$3._subscriptions] = new (LinkedMapOfStreamOfT$StreamSubscriptionOfT()).new(); + this[S$3._controller$2] = StreamControllerOfT().broadcast({sync: true, onCancel: dart.bind(this, 'close')}); + }).prototype = _StreamPool.prototype; + dart.addTypeTests(_StreamPool); + _StreamPool.prototype[_is__StreamPool_default] = true; + dart.addTypeCaches(_StreamPool); + dart.setMethodSignature(_StreamPool, () => ({ + __proto__: dart.getMethods(_StreamPool.__proto__), + add: dart.fnType(dart.void, [dart.nullable(core.Object)]), + remove: dart.fnType(dart.void, [dart.nullable(core.Object)]), + close: dart.fnType(dart.void, []) + })); + dart.setGetterSignature(_StreamPool, () => ({ + __proto__: dart.getGetters(_StreamPool.__proto__), + stream: async.Stream$(T) + })); + dart.setLibraryUri(_StreamPool, I[148]); + dart.setFieldSignature(_StreamPool, () => ({ + __proto__: dart.getFields(_StreamPool.__proto__), + [S$3._controller$2]: dart.fieldType(dart.nullable(async.StreamController$(T))), + [S$3._subscriptions]: dart.fieldType(core.Map$(async.Stream$(T), async.StreamSubscription$(T))) + })); + return _StreamPool; +}); +html$._StreamPool = html$._StreamPool$(); +dart.addTypeTests(html$._StreamPool, _is__StreamPool_default); +const _is__CustomEventStreamProvider_default = Symbol('_is__CustomEventStreamProvider_default'); +html$._CustomEventStreamProvider$ = dart.generic(T => { + var _EventStreamOfT = () => (_EventStreamOfT = dart.constFn(html$._EventStream$(T)))(); + var _ElementEventStreamImplOfT = () => (_ElementEventStreamImplOfT = dart.constFn(html$._ElementEventStreamImpl$(T)))(); + var _ElementListEventStreamImplOfT = () => (_ElementListEventStreamImplOfT = dart.constFn(html$._ElementListEventStreamImpl$(T)))(); + class _CustomEventStreamProvider extends core.Object { + get [S$3._eventTypeGetter$1]() { + return this[S$3._eventTypeGetter]; + } + set [S$3._eventTypeGetter$1](value) { + super[S$3._eventTypeGetter$1] = value; + } + forTarget(e, opts) { + let t241; + let useCapture = opts && 'useCapture' in opts ? opts.useCapture : false; + if (useCapture == null) dart.nullFailed(I[147], 37473, 45, "useCapture"); + return new (_EventStreamOfT()).new(e, core.String.as((t241 = e, dart.dsend(this, S$3._eventTypeGetter$1, [t241]))), useCapture); + } + forElement(e, opts) { + let t241; + if (e == null) dart.nullFailed(I[147], 37477, 39, "e"); + let useCapture = opts && 'useCapture' in opts ? opts.useCapture : false; + if (useCapture == null) dart.nullFailed(I[147], 37477, 48, "useCapture"); + return new (_ElementEventStreamImplOfT()).new(e, (t241 = e, dart.dsend(this, S$3._eventTypeGetter$1, [t241])), useCapture); + } + [S$1._forElementList](e, opts) { + let t241; + if (e == null) dart.nullFailed(I[147], 37481, 57, "e"); + let useCapture = opts && 'useCapture' in opts ? opts.useCapture : false; + if (useCapture == null) dart.nullFailed(I[147], 37482, 13, "useCapture"); + return new (_ElementListEventStreamImplOfT()).new(e, core.String.as((t241 = e, dart.dsend(this, S$3._eventTypeGetter$1, [t241]))), useCapture); + } + getEventType(target) { + let t241; + if (target == null) dart.nullFailed(I[147], 37487, 35, "target"); + return core.String.as((t241 = target, dart.dsend(this, S$3._eventTypeGetter$1, [t241]))); + } + get [S$3._eventType$1]() { + return dart.throw(new core.UnsupportedError.new("Access type through getEventType method.")); + } + } + (_CustomEventStreamProvider.new = function(_eventTypeGetter) { + this[S$3._eventTypeGetter] = _eventTypeGetter; + ; + }).prototype = _CustomEventStreamProvider.prototype; + dart.addTypeTests(_CustomEventStreamProvider); + _CustomEventStreamProvider.prototype[_is__CustomEventStreamProvider_default] = true; + dart.addTypeCaches(_CustomEventStreamProvider); + _CustomEventStreamProvider[dart.implements] = () => [html$.EventStreamProvider$(T)]; + dart.setMethodSignature(_CustomEventStreamProvider, () => ({ + __proto__: dart.getMethods(_CustomEventStreamProvider.__proto__), + forTarget: dart.fnType(async.Stream$(T), [dart.nullable(html$.EventTarget)], {useCapture: core.bool}, {}), + forElement: dart.fnType(html$.ElementStream$(T), [html$.Element], {useCapture: core.bool}, {}), + [S$1._forElementList]: dart.fnType(html$.ElementStream$(T), [html$.ElementList$(html$.Element)], {useCapture: core.bool}, {}), + getEventType: dart.fnType(core.String, [html$.EventTarget]) + })); + dart.setGetterSignature(_CustomEventStreamProvider, () => ({ + __proto__: dart.getGetters(_CustomEventStreamProvider.__proto__), + [S$3._eventType$1]: core.String + })); + dart.setLibraryUri(_CustomEventStreamProvider, I[148]); + dart.setFieldSignature(_CustomEventStreamProvider, () => ({ + __proto__: dart.getFields(_CustomEventStreamProvider.__proto__), + [S$3._eventTypeGetter$1]: dart.finalFieldType(dart.dynamic) + })); + return _CustomEventStreamProvider; +}); +html$._CustomEventStreamProvider = html$._CustomEventStreamProvider$(); +dart.addTypeTests(html$._CustomEventStreamProvider, _is__CustomEventStreamProvider_default); +html$._Html5NodeValidator = class _Html5NodeValidator extends core.Object { + allowsElement(element) { + if (element == null) dart.nullFailed(I[147], 37915, 30, "element"); + return html$._Html5NodeValidator._allowedElements.contains(html$.Element._safeTagName(element)); + } + allowsAttribute(element, attributeName, value) { + if (element == null) dart.nullFailed(I[147], 37919, 32, "element"); + if (attributeName == null) dart.nullFailed(I[147], 37919, 48, "attributeName"); + if (value == null) dart.nullFailed(I[147], 37919, 70, "value"); + let tagName = html$.Element._safeTagName(element); + let validator = html$._Html5NodeValidator._attributeValidators[$_get](dart.str(tagName) + "::" + dart.str(attributeName)); + if (validator == null) { + validator = html$._Html5NodeValidator._attributeValidators[$_get]("*::" + dart.str(attributeName)); + } + if (validator == null) { + return false; + } + return core.bool.as(dart.dcall(validator, [element, attributeName, value, this])); + } + static _standardAttributeValidator(element, attributeName, value, context) { + if (element == null) dart.nullFailed(I[147], 37931, 51, "element"); + if (attributeName == null) dart.nullFailed(I[147], 37931, 67, "attributeName"); + if (value == null) dart.nullFailed(I[147], 37932, 14, "value"); + if (context == null) dart.nullFailed(I[147], 37932, 41, "context"); + return true; + } + static _uriAttributeValidator(element, attributeName, value, context) { + if (element == null) dart.nullFailed(I[147], 37936, 46, "element"); + if (attributeName == null) dart.nullFailed(I[147], 37936, 62, "attributeName"); + if (value == null) dart.nullFailed(I[147], 37937, 14, "value"); + if (context == null) dart.nullFailed(I[147], 37937, 41, "context"); + return context.uriPolicy.allowsUri(value); + } +}; +(html$._Html5NodeValidator.new = function(opts) { + let t241; + let uriPolicy = opts && 'uriPolicy' in opts ? opts.uriPolicy : null; + this.uriPolicy = (t241 = uriPolicy, t241 == null ? html$.UriPolicy.new() : t241); + if (dart.test(html$._Html5NodeValidator._attributeValidators[$isEmpty])) { + for (let attr of html$._Html5NodeValidator._standardAttributes) { + html$._Html5NodeValidator._attributeValidators[$_set](attr, C[399] || CT.C399); + } + for (let attr of html$._Html5NodeValidator._uriAttributes) { + html$._Html5NodeValidator._attributeValidators[$_set](attr, C[400] || CT.C400); + } + } +}).prototype = html$._Html5NodeValidator.prototype; +dart.addTypeTests(html$._Html5NodeValidator); +dart.addTypeCaches(html$._Html5NodeValidator); +html$._Html5NodeValidator[dart.implements] = () => [html$.NodeValidator]; +dart.setMethodSignature(html$._Html5NodeValidator, () => ({ + __proto__: dart.getMethods(html$._Html5NodeValidator.__proto__), + allowsElement: dart.fnType(core.bool, [html$.Element]), + allowsAttribute: dart.fnType(core.bool, [html$.Element, core.String, core.String]) +})); +dart.setLibraryUri(html$._Html5NodeValidator, I[148]); +dart.setFieldSignature(html$._Html5NodeValidator, () => ({ + __proto__: dart.getFields(html$._Html5NodeValidator.__proto__), + uriPolicy: dart.finalFieldType(html$.UriPolicy) +})); +dart.defineLazy(html$._Html5NodeValidator, { + /*html$._Html5NodeValidator._allowedElements*/get _allowedElements() { + return T$0.LinkedHashSetOfString().from(["A", "ABBR", "ACRONYM", "ADDRESS", "AREA", "ARTICLE", "ASIDE", "AUDIO", "B", "BDI", "BDO", "BIG", "BLOCKQUOTE", "BR", "BUTTON", "CANVAS", "CAPTION", "CENTER", "CITE", "CODE", "COL", "COLGROUP", "COMMAND", "DATA", "DATALIST", "DD", "DEL", "DETAILS", "DFN", "DIR", "DIV", "DL", "DT", "EM", "FIELDSET", "FIGCAPTION", "FIGURE", "FONT", "FOOTER", "FORM", "H1", "H2", "H3", "H4", "H5", "H6", "HEADER", "HGROUP", "HR", "I", "IFRAME", "IMG", "INPUT", "INS", "KBD", "LABEL", "LEGEND", "LI", "MAP", "MARK", "MENU", "METER", "NAV", "NOBR", "OL", "OPTGROUP", "OPTION", "OUTPUT", "P", "PRE", "PROGRESS", "Q", "S", "SAMP", "SECTION", "SELECT", "SMALL", "SOURCE", "SPAN", "STRIKE", "STRONG", "SUB", "SUMMARY", "SUP", "TABLE", "TBODY", "TD", "TEXTAREA", "TFOOT", "TH", "THEAD", "TIME", "TR", "TRACK", "TT", "U", "UL", "VAR", "VIDEO", "WBR"]); + }, + /*html$._Html5NodeValidator._standardAttributes*/get _standardAttributes() { + return C[401] || CT.C401; + }, + /*html$._Html5NodeValidator._uriAttributes*/get _uriAttributes() { + return C[402] || CT.C402; + }, + /*html$._Html5NodeValidator._attributeValidators*/get _attributeValidators() { + return new (T$0.IdentityMapOfString$Function()).new(); + } +}, false); +html$.KeyCode = class KeyCode extends core.Object { + static isCharacterKey(keyCode) { + if (keyCode == null) dart.nullFailed(I[147], 38223, 34, "keyCode"); + if (dart.notNull(keyCode) >= 48 && dart.notNull(keyCode) <= 57 || dart.notNull(keyCode) >= 96 && dart.notNull(keyCode) <= 106 || dart.notNull(keyCode) >= 65 && dart.notNull(keyCode) <= 90) { + return true; + } + if (dart.test(html_common.Device.isWebKit) && keyCode === 0) { + return true; + } + return keyCode === 32 || keyCode === 63 || keyCode === 107 || keyCode === 109 || keyCode === 110 || keyCode === 111 || keyCode === 186 || keyCode === 59 || keyCode === 189 || keyCode === 187 || keyCode === 61 || keyCode === 188 || keyCode === 190 || keyCode === 191 || keyCode === 192 || keyCode === 222 || keyCode === 219 || keyCode === 220 || keyCode === 221; + } + static _convertKeyCodeToKeyName(keyCode) { + if (keyCode == null) dart.nullFailed(I[147], 38263, 46, "keyCode"); + switch (keyCode) { + case 18: + { + return "Alt"; + } + case 8: + { + return "Backspace"; + } + case 20: + { + return "CapsLock"; + } + case 17: + { + return "Control"; + } + case 46: + { + return "Del"; + } + case 40: + { + return "Down"; + } + case 35: + { + return "End"; + } + case 13: + { + return "Enter"; + } + case 27: + { + return "Esc"; + } + case 112: + { + return "F1"; + } + case 113: + { + return "F2"; + } + case 114: + { + return "F3"; + } + case 115: + { + return "F4"; + } + case 116: + { + return "F5"; + } + case 117: + { + return "F6"; + } + case 118: + { + return "F7"; + } + case 119: + { + return "F8"; + } + case 120: + { + return "F9"; + } + case 121: + { + return "F10"; + } + case 122: + { + return "F11"; + } + case 123: + { + return "F12"; + } + case 36: + { + return "Home"; + } + case 45: + { + return "Insert"; + } + case 37: + { + return "Left"; + } + case 91: + { + return "Meta"; + } + case 144: + { + return "NumLock"; + } + case 34: + { + return "PageDown"; + } + case 33: + { + return "PageUp"; + } + case 19: + { + return "Pause"; + } + case 44: + { + return "PrintScreen"; + } + case 39: + { + return "Right"; + } + case 145: + { + return "Scroll"; + } + case 16: + { + return "Shift"; + } + case 32: + { + return "Spacebar"; + } + case 9: + { + return "Tab"; + } + case 38: + { + return "Up"; + } + case 229: + case 224: + case 91: + case 92: + { + return "Win"; + } + default: + { + return "Unidentified"; + } + } + return "Unidentified"; + } +}; +(html$.KeyCode.new = function() { + ; +}).prototype = html$.KeyCode.prototype; +dart.addTypeTests(html$.KeyCode); +dart.addTypeCaches(html$.KeyCode); +dart.setLibraryUri(html$.KeyCode, I[148]); +dart.defineLazy(html$.KeyCode, { + /*html$.KeyCode.WIN_KEY_FF_LINUX*/get WIN_KEY_FF_LINUX() { + return 0; + }, + /*html$.KeyCode.MAC_ENTER*/get MAC_ENTER() { + return 3; + }, + /*html$.KeyCode.BACKSPACE*/get BACKSPACE() { + return 8; + }, + /*html$.KeyCode.TAB*/get TAB() { + return 9; + }, + /*html$.KeyCode.NUM_CENTER*/get NUM_CENTER() { + return 12; + }, + /*html$.KeyCode.ENTER*/get ENTER() { + return 13; + }, + /*html$.KeyCode.SHIFT*/get SHIFT() { + return 16; + }, + /*html$.KeyCode.CTRL*/get CTRL() { + return 17; + }, + /*html$.KeyCode.ALT*/get ALT() { + return 18; + }, + /*html$.KeyCode.PAUSE*/get PAUSE() { + return 19; + }, + /*html$.KeyCode.CAPS_LOCK*/get CAPS_LOCK() { + return 20; + }, + /*html$.KeyCode.ESC*/get ESC() { + return 27; + }, + /*html$.KeyCode.SPACE*/get SPACE() { + return 32; + }, + /*html$.KeyCode.PAGE_UP*/get PAGE_UP() { + return 33; + }, + /*html$.KeyCode.PAGE_DOWN*/get PAGE_DOWN() { + return 34; + }, + /*html$.KeyCode.END*/get END() { + return 35; + }, + /*html$.KeyCode.HOME*/get HOME() { + return 36; + }, + /*html$.KeyCode.LEFT*/get LEFT() { + return 37; + }, + /*html$.KeyCode.UP*/get UP() { + return 38; + }, + /*html$.KeyCode.RIGHT*/get RIGHT() { + return 39; + }, + /*html$.KeyCode.DOWN*/get DOWN() { + return 40; + }, + /*html$.KeyCode.NUM_NORTH_EAST*/get NUM_NORTH_EAST() { + return 33; + }, + /*html$.KeyCode.NUM_SOUTH_EAST*/get NUM_SOUTH_EAST() { + return 34; + }, + /*html$.KeyCode.NUM_SOUTH_WEST*/get NUM_SOUTH_WEST() { + return 35; + }, + /*html$.KeyCode.NUM_NORTH_WEST*/get NUM_NORTH_WEST() { + return 36; + }, + /*html$.KeyCode.NUM_WEST*/get NUM_WEST() { + return 37; + }, + /*html$.KeyCode.NUM_NORTH*/get NUM_NORTH() { + return 38; + }, + /*html$.KeyCode.NUM_EAST*/get NUM_EAST() { + return 39; + }, + /*html$.KeyCode.NUM_SOUTH*/get NUM_SOUTH() { + return 40; + }, + /*html$.KeyCode.PRINT_SCREEN*/get PRINT_SCREEN() { + return 44; + }, + /*html$.KeyCode.INSERT*/get INSERT() { + return 45; + }, + /*html$.KeyCode.NUM_INSERT*/get NUM_INSERT() { + return 45; + }, + /*html$.KeyCode.DELETE*/get DELETE() { + return 46; + }, + /*html$.KeyCode.NUM_DELETE*/get NUM_DELETE() { + return 46; + }, + /*html$.KeyCode.ZERO*/get ZERO() { + return 48; + }, + /*html$.KeyCode.ONE*/get ONE() { + return 49; + }, + /*html$.KeyCode.TWO*/get TWO() { + return 50; + }, + /*html$.KeyCode.THREE*/get THREE() { + return 51; + }, + /*html$.KeyCode.FOUR*/get FOUR() { + return 52; + }, + /*html$.KeyCode.FIVE*/get FIVE() { + return 53; + }, + /*html$.KeyCode.SIX*/get SIX() { + return 54; + }, + /*html$.KeyCode.SEVEN*/get SEVEN() { + return 55; + }, + /*html$.KeyCode.EIGHT*/get EIGHT() { + return 56; + }, + /*html$.KeyCode.NINE*/get NINE() { + return 57; + }, + /*html$.KeyCode.FF_SEMICOLON*/get FF_SEMICOLON() { + return 59; + }, + /*html$.KeyCode.FF_EQUALS*/get FF_EQUALS() { + return 61; + }, + /*html$.KeyCode.QUESTION_MARK*/get QUESTION_MARK() { + return 63; + }, + /*html$.KeyCode.A*/get A() { + return 65; + }, + /*html$.KeyCode.B*/get B() { + return 66; + }, + /*html$.KeyCode.C*/get C() { + return 67; + }, + /*html$.KeyCode.D*/get D() { + return 68; + }, + /*html$.KeyCode.E*/get E() { + return 69; + }, + /*html$.KeyCode.F*/get F() { + return 70; + }, + /*html$.KeyCode.G*/get G() { + return 71; + }, + /*html$.KeyCode.H*/get H() { + return 72; + }, + /*html$.KeyCode.I*/get I() { + return 73; + }, + /*html$.KeyCode.J*/get J() { + return 74; + }, + /*html$.KeyCode.K*/get K() { + return 75; + }, + /*html$.KeyCode.L*/get L() { + return 76; + }, + /*html$.KeyCode.M*/get M() { + return 77; + }, + /*html$.KeyCode.N*/get N() { + return 78; + }, + /*html$.KeyCode.O*/get O() { + return 79; + }, + /*html$.KeyCode.P*/get P() { + return 80; + }, + /*html$.KeyCode.Q*/get Q() { + return 81; + }, + /*html$.KeyCode.R*/get R() { + return 82; + }, + /*html$.KeyCode.S*/get S() { + return 83; + }, + /*html$.KeyCode.T*/get T() { + return 84; + }, + /*html$.KeyCode.U*/get U() { + return 85; + }, + /*html$.KeyCode.V*/get V() { + return 86; + }, + /*html$.KeyCode.W*/get W() { + return 87; + }, + /*html$.KeyCode.X*/get X() { + return 88; + }, + /*html$.KeyCode.Y*/get Y() { + return 89; + }, + /*html$.KeyCode.Z*/get Z() { + return 90; + }, + /*html$.KeyCode.META*/get META() { + return 91; + }, + /*html$.KeyCode.WIN_KEY_LEFT*/get WIN_KEY_LEFT() { + return 91; + }, + /*html$.KeyCode.WIN_KEY_RIGHT*/get WIN_KEY_RIGHT() { + return 92; + }, + /*html$.KeyCode.CONTEXT_MENU*/get CONTEXT_MENU() { + return 93; + }, + /*html$.KeyCode.NUM_ZERO*/get NUM_ZERO() { + return 96; + }, + /*html$.KeyCode.NUM_ONE*/get NUM_ONE() { + return 97; + }, + /*html$.KeyCode.NUM_TWO*/get NUM_TWO() { + return 98; + }, + /*html$.KeyCode.NUM_THREE*/get NUM_THREE() { + return 99; + }, + /*html$.KeyCode.NUM_FOUR*/get NUM_FOUR() { + return 100; + }, + /*html$.KeyCode.NUM_FIVE*/get NUM_FIVE() { + return 101; + }, + /*html$.KeyCode.NUM_SIX*/get NUM_SIX() { + return 102; + }, + /*html$.KeyCode.NUM_SEVEN*/get NUM_SEVEN() { + return 103; + }, + /*html$.KeyCode.NUM_EIGHT*/get NUM_EIGHT() { + return 104; + }, + /*html$.KeyCode.NUM_NINE*/get NUM_NINE() { + return 105; + }, + /*html$.KeyCode.NUM_MULTIPLY*/get NUM_MULTIPLY() { + return 106; + }, + /*html$.KeyCode.NUM_PLUS*/get NUM_PLUS() { + return 107; + }, + /*html$.KeyCode.NUM_MINUS*/get NUM_MINUS() { + return 109; + }, + /*html$.KeyCode.NUM_PERIOD*/get NUM_PERIOD() { + return 110; + }, + /*html$.KeyCode.NUM_DIVISION*/get NUM_DIVISION() { + return 111; + }, + /*html$.KeyCode.F1*/get F1() { + return 112; + }, + /*html$.KeyCode.F2*/get F2() { + return 113; + }, + /*html$.KeyCode.F3*/get F3() { + return 114; + }, + /*html$.KeyCode.F4*/get F4() { + return 115; + }, + /*html$.KeyCode.F5*/get F5() { + return 116; + }, + /*html$.KeyCode.F6*/get F6() { + return 117; + }, + /*html$.KeyCode.F7*/get F7() { + return 118; + }, + /*html$.KeyCode.F8*/get F8() { + return 119; + }, + /*html$.KeyCode.F9*/get F9() { + return 120; + }, + /*html$.KeyCode.F10*/get F10() { + return 121; + }, + /*html$.KeyCode.F11*/get F11() { + return 122; + }, + /*html$.KeyCode.F12*/get F12() { + return 123; + }, + /*html$.KeyCode.NUMLOCK*/get NUMLOCK() { + return 144; + }, + /*html$.KeyCode.SCROLL_LOCK*/get SCROLL_LOCK() { + return 145; + }, + /*html$.KeyCode.FIRST_MEDIA_KEY*/get FIRST_MEDIA_KEY() { + return 166; + }, + /*html$.KeyCode.LAST_MEDIA_KEY*/get LAST_MEDIA_KEY() { + return 183; + }, + /*html$.KeyCode.SEMICOLON*/get SEMICOLON() { + return 186; + }, + /*html$.KeyCode.DASH*/get DASH() { + return 189; + }, + /*html$.KeyCode.EQUALS*/get EQUALS() { + return 187; + }, + /*html$.KeyCode.COMMA*/get COMMA() { + return 188; + }, + /*html$.KeyCode.PERIOD*/get PERIOD() { + return 190; + }, + /*html$.KeyCode.SLASH*/get SLASH() { + return 191; + }, + /*html$.KeyCode.APOSTROPHE*/get APOSTROPHE() { + return 192; + }, + /*html$.KeyCode.TILDE*/get TILDE() { + return 192; + }, + /*html$.KeyCode.SINGLE_QUOTE*/get SINGLE_QUOTE() { + return 222; + }, + /*html$.KeyCode.OPEN_SQUARE_BRACKET*/get OPEN_SQUARE_BRACKET() { + return 219; + }, + /*html$.KeyCode.BACKSLASH*/get BACKSLASH() { + return 220; + }, + /*html$.KeyCode.CLOSE_SQUARE_BRACKET*/get CLOSE_SQUARE_BRACKET() { + return 221; + }, + /*html$.KeyCode.WIN_KEY*/get WIN_KEY() { + return 224; + }, + /*html$.KeyCode.MAC_FF_META*/get MAC_FF_META() { + return 224; + }, + /*html$.KeyCode.WIN_IME*/get WIN_IME() { + return 229; + }, + /*html$.KeyCode.UNKNOWN*/get UNKNOWN() { + return -1; + } +}, false); +html$.KeyLocation = class KeyLocation extends core.Object {}; +(html$.KeyLocation.new = function() { + ; +}).prototype = html$.KeyLocation.prototype; +dart.addTypeTests(html$.KeyLocation); +dart.addTypeCaches(html$.KeyLocation); +dart.setLibraryUri(html$.KeyLocation, I[148]); +dart.defineLazy(html$.KeyLocation, { + /*html$.KeyLocation.STANDARD*/get STANDARD() { + return 0; + }, + /*html$.KeyLocation.LEFT*/get LEFT() { + return 1; + }, + /*html$.KeyLocation.RIGHT*/get RIGHT() { + return 2; + }, + /*html$.KeyLocation.NUMPAD*/get NUMPAD() { + return 3; + }, + /*html$.KeyLocation.MOBILE*/get MOBILE() { + return 4; + }, + /*html$.KeyLocation.JOYSTICK*/get JOYSTICK() { + return 5; + } +}, false); +html$._KeyName = class _KeyName extends core.Object {}; +(html$._KeyName.new = function() { + ; +}).prototype = html$._KeyName.prototype; +dart.addTypeTests(html$._KeyName); +dart.addTypeCaches(html$._KeyName); +dart.setLibraryUri(html$._KeyName, I[148]); +dart.defineLazy(html$._KeyName, { + /*html$._KeyName.ACCEPT*/get ACCEPT() { + return "Accept"; + }, + /*html$._KeyName.ADD*/get ADD() { + return "Add"; + }, + /*html$._KeyName.AGAIN*/get AGAIN() { + return "Again"; + }, + /*html$._KeyName.ALL_CANDIDATES*/get ALL_CANDIDATES() { + return "AllCandidates"; + }, + /*html$._KeyName.ALPHANUMERIC*/get ALPHANUMERIC() { + return "Alphanumeric"; + }, + /*html$._KeyName.ALT*/get ALT() { + return "Alt"; + }, + /*html$._KeyName.ALT_GRAPH*/get ALT_GRAPH() { + return "AltGraph"; + }, + /*html$._KeyName.APPS*/get APPS() { + return "Apps"; + }, + /*html$._KeyName.ATTN*/get ATTN() { + return "Attn"; + }, + /*html$._KeyName.BROWSER_BACK*/get BROWSER_BACK() { + return "BrowserBack"; + }, + /*html$._KeyName.BROWSER_FAVORTIES*/get BROWSER_FAVORTIES() { + return "BrowserFavorites"; + }, + /*html$._KeyName.BROWSER_FORWARD*/get BROWSER_FORWARD() { + return "BrowserForward"; + }, + /*html$._KeyName.BROWSER_NAME*/get BROWSER_NAME() { + return "BrowserHome"; + }, + /*html$._KeyName.BROWSER_REFRESH*/get BROWSER_REFRESH() { + return "BrowserRefresh"; + }, + /*html$._KeyName.BROWSER_SEARCH*/get BROWSER_SEARCH() { + return "BrowserSearch"; + }, + /*html$._KeyName.BROWSER_STOP*/get BROWSER_STOP() { + return "BrowserStop"; + }, + /*html$._KeyName.CAMERA*/get CAMERA() { + return "Camera"; + }, + /*html$._KeyName.CAPS_LOCK*/get CAPS_LOCK() { + return "CapsLock"; + }, + /*html$._KeyName.CLEAR*/get CLEAR() { + return "Clear"; + }, + /*html$._KeyName.CODE_INPUT*/get CODE_INPUT() { + return "CodeInput"; + }, + /*html$._KeyName.COMPOSE*/get COMPOSE() { + return "Compose"; + }, + /*html$._KeyName.CONTROL*/get CONTROL() { + return "Control"; + }, + /*html$._KeyName.CRSEL*/get CRSEL() { + return "Crsel"; + }, + /*html$._KeyName.CONVERT*/get CONVERT() { + return "Convert"; + }, + /*html$._KeyName.COPY*/get COPY() { + return "Copy"; + }, + /*html$._KeyName.CUT*/get CUT() { + return "Cut"; + }, + /*html$._KeyName.DECIMAL*/get DECIMAL() { + return "Decimal"; + }, + /*html$._KeyName.DIVIDE*/get DIVIDE() { + return "Divide"; + }, + /*html$._KeyName.DOWN*/get DOWN() { + return "Down"; + }, + /*html$._KeyName.DOWN_LEFT*/get DOWN_LEFT() { + return "DownLeft"; + }, + /*html$._KeyName.DOWN_RIGHT*/get DOWN_RIGHT() { + return "DownRight"; + }, + /*html$._KeyName.EJECT*/get EJECT() { + return "Eject"; + }, + /*html$._KeyName.END*/get END() { + return "End"; + }, + /*html$._KeyName.ENTER*/get ENTER() { + return "Enter"; + }, + /*html$._KeyName.ERASE_EOF*/get ERASE_EOF() { + return "EraseEof"; + }, + /*html$._KeyName.EXECUTE*/get EXECUTE() { + return "Execute"; + }, + /*html$._KeyName.EXSEL*/get EXSEL() { + return "Exsel"; + }, + /*html$._KeyName.FN*/get FN() { + return "Fn"; + }, + /*html$._KeyName.F1*/get F1() { + return "F1"; + }, + /*html$._KeyName.F2*/get F2() { + return "F2"; + }, + /*html$._KeyName.F3*/get F3() { + return "F3"; + }, + /*html$._KeyName.F4*/get F4() { + return "F4"; + }, + /*html$._KeyName.F5*/get F5() { + return "F5"; + }, + /*html$._KeyName.F6*/get F6() { + return "F6"; + }, + /*html$._KeyName.F7*/get F7() { + return "F7"; + }, + /*html$._KeyName.F8*/get F8() { + return "F8"; + }, + /*html$._KeyName.F9*/get F9() { + return "F9"; + }, + /*html$._KeyName.F10*/get F10() { + return "F10"; + }, + /*html$._KeyName.F11*/get F11() { + return "F11"; + }, + /*html$._KeyName.F12*/get F12() { + return "F12"; + }, + /*html$._KeyName.F13*/get F13() { + return "F13"; + }, + /*html$._KeyName.F14*/get F14() { + return "F14"; + }, + /*html$._KeyName.F15*/get F15() { + return "F15"; + }, + /*html$._KeyName.F16*/get F16() { + return "F16"; + }, + /*html$._KeyName.F17*/get F17() { + return "F17"; + }, + /*html$._KeyName.F18*/get F18() { + return "F18"; + }, + /*html$._KeyName.F19*/get F19() { + return "F19"; + }, + /*html$._KeyName.F20*/get F20() { + return "F20"; + }, + /*html$._KeyName.F21*/get F21() { + return "F21"; + }, + /*html$._KeyName.F22*/get F22() { + return "F22"; + }, + /*html$._KeyName.F23*/get F23() { + return "F23"; + }, + /*html$._KeyName.F24*/get F24() { + return "F24"; + }, + /*html$._KeyName.FINAL_MODE*/get FINAL_MODE() { + return "FinalMode"; + }, + /*html$._KeyName.FIND*/get FIND() { + return "Find"; + }, + /*html$._KeyName.FULL_WIDTH*/get FULL_WIDTH() { + return "FullWidth"; + }, + /*html$._KeyName.HALF_WIDTH*/get HALF_WIDTH() { + return "HalfWidth"; + }, + /*html$._KeyName.HANGUL_MODE*/get HANGUL_MODE() { + return "HangulMode"; + }, + /*html$._KeyName.HANJA_MODE*/get HANJA_MODE() { + return "HanjaMode"; + }, + /*html$._KeyName.HELP*/get HELP() { + return "Help"; + }, + /*html$._KeyName.HIRAGANA*/get HIRAGANA() { + return "Hiragana"; + }, + /*html$._KeyName.HOME*/get HOME() { + return "Home"; + }, + /*html$._KeyName.INSERT*/get INSERT() { + return "Insert"; + }, + /*html$._KeyName.JAPANESE_HIRAGANA*/get JAPANESE_HIRAGANA() { + return "JapaneseHiragana"; + }, + /*html$._KeyName.JAPANESE_KATAKANA*/get JAPANESE_KATAKANA() { + return "JapaneseKatakana"; + }, + /*html$._KeyName.JAPANESE_ROMAJI*/get JAPANESE_ROMAJI() { + return "JapaneseRomaji"; + }, + /*html$._KeyName.JUNJA_MODE*/get JUNJA_MODE() { + return "JunjaMode"; + }, + /*html$._KeyName.KANA_MODE*/get KANA_MODE() { + return "KanaMode"; + }, + /*html$._KeyName.KANJI_MODE*/get KANJI_MODE() { + return "KanjiMode"; + }, + /*html$._KeyName.KATAKANA*/get KATAKANA() { + return "Katakana"; + }, + /*html$._KeyName.LAUNCH_APPLICATION_1*/get LAUNCH_APPLICATION_1() { + return "LaunchApplication1"; + }, + /*html$._KeyName.LAUNCH_APPLICATION_2*/get LAUNCH_APPLICATION_2() { + return "LaunchApplication2"; + }, + /*html$._KeyName.LAUNCH_MAIL*/get LAUNCH_MAIL() { + return "LaunchMail"; + }, + /*html$._KeyName.LEFT*/get LEFT() { + return "Left"; + }, + /*html$._KeyName.MENU*/get MENU() { + return "Menu"; + }, + /*html$._KeyName.META*/get META() { + return "Meta"; + }, + /*html$._KeyName.MEDIA_NEXT_TRACK*/get MEDIA_NEXT_TRACK() { + return "MediaNextTrack"; + }, + /*html$._KeyName.MEDIA_PAUSE_PLAY*/get MEDIA_PAUSE_PLAY() { + return "MediaPlayPause"; + }, + /*html$._KeyName.MEDIA_PREVIOUS_TRACK*/get MEDIA_PREVIOUS_TRACK() { + return "MediaPreviousTrack"; + }, + /*html$._KeyName.MEDIA_STOP*/get MEDIA_STOP() { + return "MediaStop"; + }, + /*html$._KeyName.MODE_CHANGE*/get MODE_CHANGE() { + return "ModeChange"; + }, + /*html$._KeyName.NEXT_CANDIDATE*/get NEXT_CANDIDATE() { + return "NextCandidate"; + }, + /*html$._KeyName.NON_CONVERT*/get NON_CONVERT() { + return "Nonconvert"; + }, + /*html$._KeyName.NUM_LOCK*/get NUM_LOCK() { + return "NumLock"; + }, + /*html$._KeyName.PAGE_DOWN*/get PAGE_DOWN() { + return "PageDown"; + }, + /*html$._KeyName.PAGE_UP*/get PAGE_UP() { + return "PageUp"; + }, + /*html$._KeyName.PASTE*/get PASTE() { + return "Paste"; + }, + /*html$._KeyName.PAUSE*/get PAUSE() { + return "Pause"; + }, + /*html$._KeyName.PLAY*/get PLAY() { + return "Play"; + }, + /*html$._KeyName.POWER*/get POWER() { + return "Power"; + }, + /*html$._KeyName.PREVIOUS_CANDIDATE*/get PREVIOUS_CANDIDATE() { + return "PreviousCandidate"; + }, + /*html$._KeyName.PRINT_SCREEN*/get PRINT_SCREEN() { + return "PrintScreen"; + }, + /*html$._KeyName.PROCESS*/get PROCESS() { + return "Process"; + }, + /*html$._KeyName.PROPS*/get PROPS() { + return "Props"; + }, + /*html$._KeyName.RIGHT*/get RIGHT() { + return "Right"; + }, + /*html$._KeyName.ROMAN_CHARACTERS*/get ROMAN_CHARACTERS() { + return "RomanCharacters"; + }, + /*html$._KeyName.SCROLL*/get SCROLL() { + return "Scroll"; + }, + /*html$._KeyName.SELECT*/get SELECT() { + return "Select"; + }, + /*html$._KeyName.SELECT_MEDIA*/get SELECT_MEDIA() { + return "SelectMedia"; + }, + /*html$._KeyName.SEPARATOR*/get SEPARATOR() { + return "Separator"; + }, + /*html$._KeyName.SHIFT*/get SHIFT() { + return "Shift"; + }, + /*html$._KeyName.SOFT_1*/get SOFT_1() { + return "Soft1"; + }, + /*html$._KeyName.SOFT_2*/get SOFT_2() { + return "Soft2"; + }, + /*html$._KeyName.SOFT_3*/get SOFT_3() { + return "Soft3"; + }, + /*html$._KeyName.SOFT_4*/get SOFT_4() { + return "Soft4"; + }, + /*html$._KeyName.STOP*/get STOP() { + return "Stop"; + }, + /*html$._KeyName.SUBTRACT*/get SUBTRACT() { + return "Subtract"; + }, + /*html$._KeyName.SYMBOL_LOCK*/get SYMBOL_LOCK() { + return "SymbolLock"; + }, + /*html$._KeyName.UP*/get UP() { + return "Up"; + }, + /*html$._KeyName.UP_LEFT*/get UP_LEFT() { + return "UpLeft"; + }, + /*html$._KeyName.UP_RIGHT*/get UP_RIGHT() { + return "UpRight"; + }, + /*html$._KeyName.UNDO*/get UNDO() { + return "Undo"; + }, + /*html$._KeyName.VOLUME_DOWN*/get VOLUME_DOWN() { + return "VolumeDown"; + }, + /*html$._KeyName.VOLUMN_MUTE*/get VOLUMN_MUTE() { + return "VolumeMute"; + }, + /*html$._KeyName.VOLUMN_UP*/get VOLUMN_UP() { + return "VolumeUp"; + }, + /*html$._KeyName.WIN*/get WIN() { + return "Win"; + }, + /*html$._KeyName.ZOOM*/get ZOOM() { + return "Zoom"; + }, + /*html$._KeyName.BACKSPACE*/get BACKSPACE() { + return "Backspace"; + }, + /*html$._KeyName.TAB*/get TAB() { + return "Tab"; + }, + /*html$._KeyName.CANCEL*/get CANCEL() { + return "Cancel"; + }, + /*html$._KeyName.ESC*/get ESC() { + return "Esc"; + }, + /*html$._KeyName.SPACEBAR*/get SPACEBAR() { + return "Spacebar"; + }, + /*html$._KeyName.DEL*/get DEL() { + return "Del"; + }, + /*html$._KeyName.DEAD_GRAVE*/get DEAD_GRAVE() { + return "DeadGrave"; + }, + /*html$._KeyName.DEAD_EACUTE*/get DEAD_EACUTE() { + return "DeadEacute"; + }, + /*html$._KeyName.DEAD_CIRCUMFLEX*/get DEAD_CIRCUMFLEX() { + return "DeadCircumflex"; + }, + /*html$._KeyName.DEAD_TILDE*/get DEAD_TILDE() { + return "DeadTilde"; + }, + /*html$._KeyName.DEAD_MACRON*/get DEAD_MACRON() { + return "DeadMacron"; + }, + /*html$._KeyName.DEAD_BREVE*/get DEAD_BREVE() { + return "DeadBreve"; + }, + /*html$._KeyName.DEAD_ABOVE_DOT*/get DEAD_ABOVE_DOT() { + return "DeadAboveDot"; + }, + /*html$._KeyName.DEAD_UMLAUT*/get DEAD_UMLAUT() { + return "DeadUmlaut"; + }, + /*html$._KeyName.DEAD_ABOVE_RING*/get DEAD_ABOVE_RING() { + return "DeadAboveRing"; + }, + /*html$._KeyName.DEAD_DOUBLEACUTE*/get DEAD_DOUBLEACUTE() { + return "DeadDoubleacute"; + }, + /*html$._KeyName.DEAD_CARON*/get DEAD_CARON() { + return "DeadCaron"; + }, + /*html$._KeyName.DEAD_CEDILLA*/get DEAD_CEDILLA() { + return "DeadCedilla"; + }, + /*html$._KeyName.DEAD_OGONEK*/get DEAD_OGONEK() { + return "DeadOgonek"; + }, + /*html$._KeyName.DEAD_IOTA*/get DEAD_IOTA() { + return "DeadIota"; + }, + /*html$._KeyName.DEAD_VOICED_SOUND*/get DEAD_VOICED_SOUND() { + return "DeadVoicedSound"; + }, + /*html$._KeyName.DEC_SEMIVOICED_SOUND*/get DEC_SEMIVOICED_SOUND() { + return "DeadSemivoicedSound"; + }, + /*html$._KeyName.UNIDENTIFIED*/get UNIDENTIFIED() { + return "Unidentified"; + } +}, false); +html$._KeyboardEventHandler = class _KeyboardEventHandler extends html$.EventStreamProvider$(html$.KeyEvent) { + forTarget(e, opts) { + let useCapture = opts && 'useCapture' in opts ? opts.useCapture : false; + if (useCapture == null) dart.nullFailed(I[147], 38949, 58, "useCapture"); + let handler = new html$._KeyboardEventHandler.initializeAllEventListeners(this[S$3._type$5], e); + return handler[S$3._stream$3]; + } + get [S$3._capsLockOn]() { + return this[S$3._keyDownList][$any](dart.fn(element => { + if (element == null) dart.nullFailed(I[147], 38984, 29, "element"); + return element.keyCode === 20; + }, T$0.KeyEventTobool())); + } + [S$3._determineKeyCodeForKeypress](event) { + if (event == null) dart.nullFailed(I[147], 38993, 50, "event"); + for (let prevEvent of this[S$3._keyDownList]) { + if (prevEvent[S$3._shadowCharCode] == event.charCode) { + return prevEvent.keyCode; + } + if ((dart.test(event.shiftKey) || dart.test(this[S$3._capsLockOn])) && dart.notNull(event.charCode) >= dart.notNull("A"[$codeUnits][$_get](0)) && dart.notNull(event.charCode) <= dart.notNull("Z"[$codeUnits][$_get](0)) && dart.notNull(event.charCode) + dart.notNull(html$._KeyboardEventHandler._ROMAN_ALPHABET_OFFSET) === prevEvent[S$3._shadowCharCode]) { + return prevEvent.keyCode; + } + } + return -1; + } + [S$3._findCharCodeKeyDown](event) { + if (event == null) dart.nullFailed(I[147], 39017, 42, "event"); + if (event.location === 3) { + switch (event.keyCode) { + case 96: + { + return 48; + } + case 97: + { + return 49; + } + case 98: + { + return 50; + } + case 99: + { + return 51; + } + case 100: + { + return 52; + } + case 101: + { + return 53; + } + case 102: + { + return 54; + } + case 103: + { + return 55; + } + case 104: + { + return 56; + } + case 105: + { + return 57; + } + case 106: + { + return 42; + } + case 107: + { + return 43; + } + case 109: + { + return 45; + } + case 110: + { + return 46; + } + case 111: + { + return 47; + } + } + } else if (dart.notNull(event.keyCode) >= 65 && dart.notNull(event.keyCode) <= 90) { + return dart.notNull(event.keyCode) + dart.notNull(html$._KeyboardEventHandler._ROMAN_ALPHABET_OFFSET); + } + switch (event.keyCode) { + case 186: + { + return 59; + } + case 187: + { + return 61; + } + case 188: + { + return 44; + } + case 189: + { + return 45; + } + case 190: + { + return 46; + } + case 191: + { + return 47; + } + case 192: + { + return 96; + } + case 219: + { + return 91; + } + case 220: + { + return 92; + } + case 221: + { + return 93; + } + case 222: + { + return 39; + } + } + return event.keyCode; + } + [S$3._firesKeyPressEvent](event) { + if (event == null) dart.nullFailed(I[147], 39091, 37, "event"); + if (!dart.test(html_common.Device.isIE) && !dart.test(html_common.Device.isWebKit)) { + return true; + } + if (html_common.Device.userAgent[$contains]("Mac") && dart.test(event.altKey)) { + return html$.KeyCode.isCharacterKey(event.keyCode); + } + if (dart.test(event.altKey) && !dart.test(event.ctrlKey)) { + return false; + } + if (!dart.test(event.shiftKey) && (this[S$3._keyDownList][$last].keyCode === 17 || this[S$3._keyDownList][$last].keyCode === 18 || html_common.Device.userAgent[$contains]("Mac") && this[S$3._keyDownList][$last].keyCode === 91)) { + return false; + } + if (dart.test(html_common.Device.isWebKit) && dart.test(event.ctrlKey) && dart.test(event.shiftKey) && (event.keyCode === 220 || event.keyCode === 219 || event.keyCode === 221 || event.keyCode === 192 || event.keyCode === 186 || event.keyCode === 189 || event.keyCode === 187 || event.keyCode === 188 || event.keyCode === 190 || event.keyCode === 191 || event.keyCode === 192 || event.keyCode === 222)) { + return false; + } + switch (event.keyCode) { + case 13: + { + return !dart.test(html_common.Device.isIE); + } + case 27: + { + return !dart.test(html_common.Device.isWebKit); + } + } + return html$.KeyCode.isCharacterKey(event.keyCode); + } + [S$3._normalizeKeyCodes](event) { + if (event == null) dart.nullFailed(I[147], 39148, 40, "event"); + if (dart.test(html_common.Device.isFirefox)) { + switch (event.keyCode) { + case 61: + { + return 187; + } + case 59: + { + return 186; + } + case 224: + { + return 91; + } + case 0: + { + return 224; + } + } + } + return event.keyCode; + } + processKeyDown(e) { + if (e == null) dart.nullFailed(I[147], 39166, 37, "e"); + if (dart.notNull(this[S$3._keyDownList][$length]) > 0 && (this[S$3._keyDownList][$last].keyCode === 17 && !dart.test(e.ctrlKey) || this[S$3._keyDownList][$last].keyCode === 18 && !dart.test(e.altKey) || html_common.Device.userAgent[$contains]("Mac") && this[S$3._keyDownList][$last].keyCode === 91 && !dart.test(e.metaKey))) { + this[S$3._keyDownList][$clear](); + } + let event = new html$.KeyEvent.wrap(e); + event[S$3._shadowKeyCode] = this[S$3._normalizeKeyCodes](event); + event[S$3._shadowCharCode] = this[S$3._findCharCodeKeyDown](event); + if (dart.notNull(this[S$3._keyDownList][$length]) > 0 && event.keyCode != this[S$3._keyDownList][$last].keyCode && !dart.test(this[S$3._firesKeyPressEvent](event))) { + this.processKeyPress(e); + } + this[S$3._keyDownList][$add](event); + this[S$3._stream$3].add(event); + } + processKeyPress(event) { + if (event == null) dart.nullFailed(I[147], 39198, 38, "event"); + let e = new html$.KeyEvent.wrap(event); + if (dart.test(html_common.Device.isIE)) { + if (e.keyCode === 13 || e.keyCode === 27) { + e[S$3._shadowCharCode] = 0; + } else { + e[S$3._shadowCharCode] = e.keyCode; + } + } else if (dart.test(html_common.Device.isOpera)) { + e[S$3._shadowCharCode] = dart.test(html$.KeyCode.isCharacterKey(e.keyCode)) ? e.keyCode : 0; + } + e[S$3._shadowKeyCode] = this[S$3._determineKeyCodeForKeypress](e); + if (e[S$3._shadowKeyIdentifier] != null && dart.test(html$._KeyboardEventHandler._keyIdentifier[$containsKey](e[S$3._shadowKeyIdentifier]))) { + e[S$3._shadowKeyCode] = dart.nullCheck(html$._KeyboardEventHandler._keyIdentifier[$_get](e[S$3._shadowKeyIdentifier])); + } + e[S$3._shadowAltKey] = this[S$3._keyDownList][$any](dart.fn(element => { + if (element == null) dart.nullFailed(I[147], 39223, 45, "element"); + return element.altKey; + }, T$0.KeyEventTobool())); + this[S$3._stream$3].add(e); + } + processKeyUp(event) { + if (event == null) dart.nullFailed(I[147], 39228, 35, "event"); + let e = new html$.KeyEvent.wrap(event); + let toRemove = null; + for (let key of this[S$3._keyDownList]) { + if (key.keyCode == e.keyCode) { + toRemove = key; + } + } + if (toRemove != null) { + this[S$3._keyDownList][$removeWhere](dart.fn(element => { + if (element == null) dart.nullFailed(I[147], 39237, 33, "element"); + return dart.equals(element, toRemove); + }, T$0.KeyEventTobool())); + } else if (dart.notNull(this[S$3._keyDownList][$length]) > 0) { + this[S$3._keyDownList][$removeLast](); + } + this[S$3._stream$3].add(e); + } +}; +(html$._KeyboardEventHandler.new = function(_type) { + if (_type == null) dart.nullFailed(I[147], 38959, 30, "_type"); + this[S$3._keyDownList] = T$0.JSArrayOfKeyEvent().of([]); + this[S$3._type$5] = _type; + this[S$3._stream$3] = new html$._CustomKeyEventStreamImpl.new("event"); + this[S$3._target$2] = null; + html$._KeyboardEventHandler.__proto__.new.call(this, "KeyEvent"); + ; +}).prototype = html$._KeyboardEventHandler.prototype; +(html$._KeyboardEventHandler.initializeAllEventListeners = function(_type, _target) { + if (_type == null) dart.nullFailed(I[147], 38968, 58, "_type"); + this[S$3._keyDownList] = T$0.JSArrayOfKeyEvent().of([]); + this[S$3._type$5] = _type; + this[S$3._target$2] = _target; + this[S$3._stream$3] = new html$._CustomKeyEventStreamImpl.new(_type); + html$._KeyboardEventHandler.__proto__.new.call(this, "KeyEvent"); + html$.Element.keyDownEvent.forTarget(this[S$3._target$2], {useCapture: true}).listen(dart.bind(this, 'processKeyDown')); + html$.Element.keyPressEvent.forTarget(this[S$3._target$2], {useCapture: true}).listen(dart.bind(this, 'processKeyPress')); + html$.Element.keyUpEvent.forTarget(this[S$3._target$2], {useCapture: true}).listen(dart.bind(this, 'processKeyUp')); +}).prototype = html$._KeyboardEventHandler.prototype; +dart.addTypeTests(html$._KeyboardEventHandler); +dart.addTypeCaches(html$._KeyboardEventHandler); +dart.setMethodSignature(html$._KeyboardEventHandler, () => ({ + __proto__: dart.getMethods(html$._KeyboardEventHandler.__proto__), + forTarget: dart.fnType(html$.CustomStream$(html$.KeyEvent), [dart.nullable(html$.EventTarget)], {useCapture: core.bool}, {}), + [S$3._determineKeyCodeForKeypress]: dart.fnType(core.int, [html$.KeyboardEvent]), + [S$3._findCharCodeKeyDown]: dart.fnType(core.int, [html$.KeyboardEvent]), + [S$3._firesKeyPressEvent]: dart.fnType(core.bool, [html$.KeyEvent]), + [S$3._normalizeKeyCodes]: dart.fnType(core.int, [html$.KeyboardEvent]), + processKeyDown: dart.fnType(dart.void, [html$.KeyboardEvent]), + processKeyPress: dart.fnType(dart.void, [html$.KeyboardEvent]), + processKeyUp: dart.fnType(dart.void, [html$.KeyboardEvent]) +})); +dart.setGetterSignature(html$._KeyboardEventHandler, () => ({ + __proto__: dart.getGetters(html$._KeyboardEventHandler.__proto__), + [S$3._capsLockOn]: core.bool +})); +dart.setLibraryUri(html$._KeyboardEventHandler, I[148]); +dart.setFieldSignature(html$._KeyboardEventHandler, () => ({ + __proto__: dart.getFields(html$._KeyboardEventHandler.__proto__), + [S$3._keyDownList]: dart.finalFieldType(core.List$(html$.KeyEvent)), + [S$3._type$5]: dart.finalFieldType(core.String), + [S$3._target$2]: dart.finalFieldType(dart.nullable(html$.EventTarget)), + [S$3._stream$3]: dart.fieldType(html$._CustomKeyEventStreamImpl) +})); +dart.defineLazy(html$._KeyboardEventHandler, { + /*html$._KeyboardEventHandler._ROMAN_ALPHABET_OFFSET*/get _ROMAN_ALPHABET_OFFSET() { + return dart.notNull("a"[$codeUnits][$_get](0)) - dart.notNull("A"[$codeUnits][$_get](0)); + }, + /*html$._KeyboardEventHandler._EVENT_TYPE*/get _EVENT_TYPE() { + return "KeyEvent"; + }, + /*html$._KeyboardEventHandler._keyIdentifier*/get _keyIdentifier() { + return C[403] || CT.C403; + } +}, false); +html$.KeyboardEventStream = class KeyboardEventStream extends core.Object { + static onKeyPress(target) { + if (target == null) dart.nullFailed(I[147], 39265, 56, "target"); + return new html$._KeyboardEventHandler.new("keypress").forTarget(target); + } + static onKeyUp(target) { + if (target == null) dart.nullFailed(I[147], 39269, 53, "target"); + return new html$._KeyboardEventHandler.new("keyup").forTarget(target); + } + static onKeyDown(target) { + if (target == null) dart.nullFailed(I[147], 39273, 55, "target"); + return new html$._KeyboardEventHandler.new("keydown").forTarget(target); + } +}; +(html$.KeyboardEventStream.new = function() { + ; +}).prototype = html$.KeyboardEventStream.prototype; +dart.addTypeTests(html$.KeyboardEventStream); +dart.addTypeCaches(html$.KeyboardEventStream); +dart.setLibraryUri(html$.KeyboardEventStream, I[148]); +html$.NodeValidatorBuilder = class NodeValidatorBuilder extends core.Object { + allowNavigation(uriPolicy = null) { + if (uriPolicy == null) { + uriPolicy = html$.UriPolicy.new(); + } + this.add(html$._SimpleNodeValidator.allowNavigation(uriPolicy)); + } + allowImages(uriPolicy = null) { + if (uriPolicy == null) { + uriPolicy = html$.UriPolicy.new(); + } + this.add(html$._SimpleNodeValidator.allowImages(uriPolicy)); + } + allowTextElements() { + this.add(html$._SimpleNodeValidator.allowTextElements()); + } + allowInlineStyles(opts) { + let tagName = opts && 'tagName' in opts ? opts.tagName : null; + if (tagName == null) { + tagName = "*"; + } else { + tagName = tagName[$toUpperCase](); + } + this.add(new html$._SimpleNodeValidator.new(null, {allowedAttributes: T$.JSArrayOfString().of([dart.str(tagName) + "::style"])})); + } + allowHtml5(opts) { + let uriPolicy = opts && 'uriPolicy' in opts ? opts.uriPolicy : null; + this.add(new html$._Html5NodeValidator.new({uriPolicy: uriPolicy})); + } + allowSvg() { + this.add(new html$._SvgNodeValidator.new()); + } + allowCustomElement(tagName, opts) { + let t241, t241$; + if (tagName == null) dart.nullFailed(I[147], 39424, 34, "tagName"); + let uriPolicy = opts && 'uriPolicy' in opts ? opts.uriPolicy : null; + let attributes = opts && 'attributes' in opts ? opts.attributes : null; + let uriAttributes = opts && 'uriAttributes' in opts ? opts.uriAttributes : null; + let tagNameUpper = tagName[$toUpperCase](); + let attrs = (t241 = attributes, t241 == null ? null : t241[$map](core.String, dart.fn(name => { + if (name == null) dart.nullFailed(I[147], 39430, 24, "name"); + return tagNameUpper + "::" + name[$toLowerCase](); + }, T$.StringToString()))); + let uriAttrs = (t241$ = uriAttributes, t241$ == null ? null : t241$[$map](core.String, dart.fn(name => { + if (name == null) dart.nullFailed(I[147], 39432, 24, "name"); + return tagNameUpper + "::" + name[$toLowerCase](); + }, T$.StringToString()))); + if (uriPolicy == null) { + uriPolicy = html$.UriPolicy.new(); + } + this.add(new html$._CustomElementNodeValidator.new(uriPolicy, T$.JSArrayOfString().of([tagNameUpper]), attrs, uriAttrs, false, true)); + } + allowTagExtension(tagName, baseName, opts) { + let t241, t241$; + if (tagName == null) dart.nullFailed(I[147], 39449, 33, "tagName"); + if (baseName == null) dart.nullFailed(I[147], 39449, 49, "baseName"); + let uriPolicy = opts && 'uriPolicy' in opts ? opts.uriPolicy : null; + let attributes = opts && 'attributes' in opts ? opts.attributes : null; + let uriAttributes = opts && 'uriAttributes' in opts ? opts.uriAttributes : null; + let baseNameUpper = baseName[$toUpperCase](); + let tagNameUpper = tagName[$toUpperCase](); + let attrs = (t241 = attributes, t241 == null ? null : t241[$map](core.String, dart.fn(name => { + if (name == null) dart.nullFailed(I[147], 39456, 24, "name"); + return baseNameUpper + "::" + name[$toLowerCase](); + }, T$.StringToString()))); + let uriAttrs = (t241$ = uriAttributes, t241$ == null ? null : t241$[$map](core.String, dart.fn(name => { + if (name == null) dart.nullFailed(I[147], 39458, 24, "name"); + return baseNameUpper + "::" + name[$toLowerCase](); + }, T$.StringToString()))); + if (uriPolicy == null) { + uriPolicy = html$.UriPolicy.new(); + } + this.add(new html$._CustomElementNodeValidator.new(uriPolicy, T$.JSArrayOfString().of([tagNameUpper, baseNameUpper]), attrs, uriAttrs, true, false)); + } + allowElement(tagName, opts) { + if (tagName == null) dart.nullFailed(I[147], 39467, 28, "tagName"); + let uriPolicy = opts && 'uriPolicy' in opts ? opts.uriPolicy : null; + let attributes = opts && 'attributes' in opts ? opts.attributes : null; + let uriAttributes = opts && 'uriAttributes' in opts ? opts.uriAttributes : null; + this.allowCustomElement(tagName, {uriPolicy: uriPolicy, attributes: attributes, uriAttributes: uriAttributes}); + } + allowTemplating() { + this.add(new html$._TemplatingNodeValidator.new()); + } + add(validator) { + if (validator == null) dart.nullFailed(I[147], 39494, 26, "validator"); + this[S$3._validators][$add](validator); + } + allowsElement(element) { + if (element == null) dart.nullFailed(I[147], 39498, 30, "element"); + return this[S$3._validators][$any](dart.fn(v => { + if (v == null) dart.nullFailed(I[147], 39499, 29, "v"); + return v.allowsElement(element); + }, T$0.NodeValidatorTobool())); + } + allowsAttribute(element, attributeName, value) { + if (element == null) dart.nullFailed(I[147], 39502, 32, "element"); + if (attributeName == null) dart.nullFailed(I[147], 39502, 48, "attributeName"); + if (value == null) dart.nullFailed(I[147], 39502, 70, "value"); + return this[S$3._validators][$any](dart.fn(v => { + if (v == null) dart.nullFailed(I[147], 39504, 15, "v"); + return v.allowsAttribute(element, attributeName, value); + }, T$0.NodeValidatorTobool())); + } +}; +(html$.NodeValidatorBuilder.new = function() { + this[S$3._validators] = T$0.JSArrayOfNodeValidator().of([]); +}).prototype = html$.NodeValidatorBuilder.prototype; +(html$.NodeValidatorBuilder.common = function() { + this[S$3._validators] = T$0.JSArrayOfNodeValidator().of([]); + this.allowHtml5(); + this.allowTemplating(); +}).prototype = html$.NodeValidatorBuilder.prototype; +dart.addTypeTests(html$.NodeValidatorBuilder); +dart.addTypeCaches(html$.NodeValidatorBuilder); +html$.NodeValidatorBuilder[dart.implements] = () => [html$.NodeValidator]; +dart.setMethodSignature(html$.NodeValidatorBuilder, () => ({ + __proto__: dart.getMethods(html$.NodeValidatorBuilder.__proto__), + allowNavigation: dart.fnType(dart.void, [], [dart.nullable(html$.UriPolicy)]), + allowImages: dart.fnType(dart.void, [], [dart.nullable(html$.UriPolicy)]), + allowTextElements: dart.fnType(dart.void, []), + allowInlineStyles: dart.fnType(dart.void, [], {tagName: dart.nullable(core.String)}, {}), + allowHtml5: dart.fnType(dart.void, [], {uriPolicy: dart.nullable(html$.UriPolicy)}, {}), + allowSvg: dart.fnType(dart.void, []), + allowCustomElement: dart.fnType(dart.void, [core.String], {attributes: dart.nullable(core.Iterable$(core.String)), uriAttributes: dart.nullable(core.Iterable$(core.String)), uriPolicy: dart.nullable(html$.UriPolicy)}, {}), + allowTagExtension: dart.fnType(dart.void, [core.String, core.String], {attributes: dart.nullable(core.Iterable$(core.String)), uriAttributes: dart.nullable(core.Iterable$(core.String)), uriPolicy: dart.nullable(html$.UriPolicy)}, {}), + allowElement: dart.fnType(dart.void, [core.String], {attributes: dart.nullable(core.Iterable$(core.String)), uriAttributes: dart.nullable(core.Iterable$(core.String)), uriPolicy: dart.nullable(html$.UriPolicy)}, {}), + allowTemplating: dart.fnType(dart.void, []), + add: dart.fnType(dart.void, [html$.NodeValidator]), + allowsElement: dart.fnType(core.bool, [html$.Element]), + allowsAttribute: dart.fnType(core.bool, [html$.Element, core.String, core.String]) +})); +dart.setLibraryUri(html$.NodeValidatorBuilder, I[148]); +dart.setFieldSignature(html$.NodeValidatorBuilder, () => ({ + __proto__: dart.getFields(html$.NodeValidatorBuilder.__proto__), + [S$3._validators]: dart.finalFieldType(core.List$(html$.NodeValidator)) +})); +html$._SimpleNodeValidator = class _SimpleNodeValidator extends core.Object { + static allowNavigation(uriPolicy) { + if (uriPolicy == null) dart.nullFailed(I[147], 39514, 58, "uriPolicy"); + return new html$._SimpleNodeValidator.new(uriPolicy, {allowedElements: C[405] || CT.C405, allowedAttributes: C[406] || CT.C406, allowedUriAttributes: C[407] || CT.C407}); + } + static allowImages(uriPolicy) { + if (uriPolicy == null) dart.nullFailed(I[147], 39540, 54, "uriPolicy"); + return new html$._SimpleNodeValidator.new(uriPolicy, {allowedElements: C[408] || CT.C408, allowedAttributes: C[409] || CT.C409, allowedUriAttributes: C[410] || CT.C410}); + } + static allowTextElements() { + return new html$._SimpleNodeValidator.new(null, {allowedElements: C[411] || CT.C411}); + } + allowsElement(element) { + if (element == null) dart.nullFailed(I[147], 39602, 30, "element"); + return this.allowedElements.contains(html$.Element._safeTagName(element)); + } + allowsAttribute(element, attributeName, value) { + if (element == null) dart.nullFailed(I[147], 39606, 32, "element"); + if (attributeName == null) dart.nullFailed(I[147], 39606, 48, "attributeName"); + if (value == null) dart.nullFailed(I[147], 39606, 70, "value"); + let tagName = html$.Element._safeTagName(element); + if (dart.test(this.allowedUriAttributes.contains(dart.str(tagName) + "::" + dart.str(attributeName)))) { + return dart.nullCheck(this.uriPolicy).allowsUri(value); + } else if (dart.test(this.allowedUriAttributes.contains("*::" + dart.str(attributeName)))) { + return dart.nullCheck(this.uriPolicy).allowsUri(value); + } else if (dart.test(this.allowedAttributes.contains(dart.str(tagName) + "::" + dart.str(attributeName)))) { + return true; + } else if (dart.test(this.allowedAttributes.contains("*::" + dart.str(attributeName)))) { + return true; + } else if (dart.test(this.allowedAttributes.contains(dart.str(tagName) + "::*"))) { + return true; + } else if (dart.test(this.allowedAttributes.contains("*::*"))) { + return true; + } + return false; + } +}; +(html$._SimpleNodeValidator.new = function(uriPolicy, opts) { + let t241, t241$, t241$0; + let allowedElements = opts && 'allowedElements' in opts ? opts.allowedElements : null; + let allowedAttributes = opts && 'allowedAttributes' in opts ? opts.allowedAttributes : null; + let allowedUriAttributes = opts && 'allowedUriAttributes' in opts ? opts.allowedUriAttributes : null; + this.allowedElements = new (T$0._IdentityHashSetOfString()).new(); + this.allowedAttributes = new (T$0._IdentityHashSetOfString()).new(); + this.allowedUriAttributes = new (T$0._IdentityHashSetOfString()).new(); + this.uriPolicy = uriPolicy; + this.allowedElements.addAll((t241 = allowedElements, t241 == null ? C[404] || CT.C404 : t241)); + allowedAttributes = (t241$ = allowedAttributes, t241$ == null ? C[404] || CT.C404 : t241$); + allowedUriAttributes = (t241$0 = allowedUriAttributes, t241$0 == null ? C[404] || CT.C404 : t241$0); + let legalAttributes = allowedAttributes[$where](dart.fn(x => { + if (x == null) dart.nullFailed(I[147], 39594, 17, "x"); + return !dart.test(html$._Html5NodeValidator._uriAttributes[$contains](x)); + }, T$.StringTobool())); + let extraUriAttributes = allowedAttributes[$where](dart.fn(x => { + if (x == null) dart.nullFailed(I[147], 39596, 17, "x"); + return html$._Html5NodeValidator._uriAttributes[$contains](x); + }, T$.StringTobool())); + this.allowedAttributes.addAll(legalAttributes); + this.allowedUriAttributes.addAll(allowedUriAttributes); + this.allowedUriAttributes.addAll(extraUriAttributes); +}).prototype = html$._SimpleNodeValidator.prototype; +dart.addTypeTests(html$._SimpleNodeValidator); +dart.addTypeCaches(html$._SimpleNodeValidator); +html$._SimpleNodeValidator[dart.implements] = () => [html$.NodeValidator]; +dart.setMethodSignature(html$._SimpleNodeValidator, () => ({ + __proto__: dart.getMethods(html$._SimpleNodeValidator.__proto__), + allowsElement: dart.fnType(core.bool, [html$.Element]), + allowsAttribute: dart.fnType(core.bool, [html$.Element, core.String, core.String]) +})); +dart.setLibraryUri(html$._SimpleNodeValidator, I[148]); +dart.setFieldSignature(html$._SimpleNodeValidator, () => ({ + __proto__: dart.getFields(html$._SimpleNodeValidator.__proto__), + allowedElements: dart.finalFieldType(core.Set$(core.String)), + allowedAttributes: dart.finalFieldType(core.Set$(core.String)), + allowedUriAttributes: dart.finalFieldType(core.Set$(core.String)), + uriPolicy: dart.finalFieldType(dart.nullable(html$.UriPolicy)) +})); +html$._CustomElementNodeValidator = class _CustomElementNodeValidator extends html$._SimpleNodeValidator { + allowsElement(element) { + if (element == null) dart.nullFailed(I[147], 39643, 30, "element"); + if (dart.test(this.allowTypeExtension)) { + let isAttr = element[S.$attributes][$_get]("is"); + if (isAttr != null) { + return dart.test(this.allowedElements.contains(isAttr[$toUpperCase]())) && dart.test(this.allowedElements.contains(html$.Element._safeTagName(element))); + } + } + return dart.test(this.allowCustomTag) && dart.test(this.allowedElements.contains(html$.Element._safeTagName(element))); + } + allowsAttribute(element, attributeName, value) { + if (element == null) dart.nullFailed(I[147], 39655, 32, "element"); + if (attributeName == null) dart.nullFailed(I[147], 39655, 48, "attributeName"); + if (value == null) dart.nullFailed(I[147], 39655, 70, "value"); + if (dart.test(this.allowsElement(element))) { + if (dart.test(this.allowTypeExtension) && attributeName === "is" && dart.test(this.allowedElements.contains(value[$toUpperCase]()))) { + return true; + } + return super.allowsAttribute(element, attributeName, value); + } + return false; + } +}; +(html$._CustomElementNodeValidator.new = function(uriPolicy, allowedElements, allowedAttributes, allowedUriAttributes, allowTypeExtension, allowCustomTag) { + if (uriPolicy == null) dart.nullFailed(I[147], 39630, 17, "uriPolicy"); + if (allowedElements == null) dart.nullFailed(I[147], 39631, 24, "allowedElements"); + if (allowTypeExtension == null) dart.nullFailed(I[147], 39634, 12, "allowTypeExtension"); + if (allowCustomTag == null) dart.nullFailed(I[147], 39635, 12, "allowCustomTag"); + this.allowTypeExtension = allowTypeExtension === true; + this.allowCustomTag = allowCustomTag === true; + html$._CustomElementNodeValidator.__proto__.new.call(this, uriPolicy, {allowedElements: allowedElements, allowedAttributes: allowedAttributes, allowedUriAttributes: allowedUriAttributes}); + ; +}).prototype = html$._CustomElementNodeValidator.prototype; +dart.addTypeTests(html$._CustomElementNodeValidator); +dart.addTypeCaches(html$._CustomElementNodeValidator); +dart.setLibraryUri(html$._CustomElementNodeValidator, I[148]); +dart.setFieldSignature(html$._CustomElementNodeValidator, () => ({ + __proto__: dart.getFields(html$._CustomElementNodeValidator.__proto__), + allowTypeExtension: dart.finalFieldType(core.bool), + allowCustomTag: dart.finalFieldType(core.bool) +})); +html$._TemplatingNodeValidator = class _TemplatingNodeValidator extends html$._SimpleNodeValidator { + allowsAttribute(element, attributeName, value) { + if (element == null) dart.nullFailed(I[147], 39686, 32, "element"); + if (attributeName == null) dart.nullFailed(I[147], 39686, 48, "attributeName"); + if (value == null) dart.nullFailed(I[147], 39686, 70, "value"); + if (dart.test(super.allowsAttribute(element, attributeName, value))) { + return true; + } + if (attributeName === "template" && value === "") { + return true; + } + if (element[S.$attributes][$_get]("template") === "") { + return this[S$3._templateAttrs].contains(attributeName); + } + return false; + } +}; +(html$._TemplatingNodeValidator.new = function() { + this[S$3._templateAttrs] = T$0.LinkedHashSetOfString().from(html$._TemplatingNodeValidator._TEMPLATE_ATTRS); + html$._TemplatingNodeValidator.__proto__.new.call(this, null, {allowedElements: T$.JSArrayOfString().of(["TEMPLATE"]), allowedAttributes: html$._TemplatingNodeValidator._TEMPLATE_ATTRS[$map](core.String, dart.fn(attr => { + if (attr == null) dart.nullFailed(I[147], 39684, 38, "attr"); + return "TEMPLATE::" + dart.str(attr); + }, T$.StringToString()))}); +}).prototype = html$._TemplatingNodeValidator.prototype; +dart.addTypeTests(html$._TemplatingNodeValidator); +dart.addTypeCaches(html$._TemplatingNodeValidator); +dart.setLibraryUri(html$._TemplatingNodeValidator, I[148]); +dart.setFieldSignature(html$._TemplatingNodeValidator, () => ({ + __proto__: dart.getFields(html$._TemplatingNodeValidator.__proto__), + [S$3._templateAttrs]: dart.finalFieldType(core.Set$(core.String)) +})); +dart.defineLazy(html$._TemplatingNodeValidator, { + /*html$._TemplatingNodeValidator._TEMPLATE_ATTRS*/get _TEMPLATE_ATTRS() { + return C[412] || CT.C412; + } +}, false); +html$._SvgNodeValidator = class _SvgNodeValidator extends core.Object { + allowsElement(element) { + if (element == null) dart.nullFailed(I[147], 39703, 30, "element"); + if (svg$.ScriptElement.is(element)) { + return false; + } + if (svg$.SvgElement.is(element) && html$.Element._safeTagName(element) === "foreignObject") { + return false; + } + if (svg$.SvgElement.is(element)) { + return true; + } + return false; + } + allowsAttribute(element, attributeName, value) { + if (element == null) dart.nullFailed(I[147], 39721, 32, "element"); + if (attributeName == null) dart.nullFailed(I[147], 39721, 48, "attributeName"); + if (value == null) dart.nullFailed(I[147], 39721, 70, "value"); + if (attributeName === "is" || attributeName[$startsWith]("on")) { + return false; + } + return this.allowsElement(element); + } +}; +(html$._SvgNodeValidator.new = function() { + ; +}).prototype = html$._SvgNodeValidator.prototype; +dart.addTypeTests(html$._SvgNodeValidator); +dart.addTypeCaches(html$._SvgNodeValidator); +html$._SvgNodeValidator[dart.implements] = () => [html$.NodeValidator]; +dart.setMethodSignature(html$._SvgNodeValidator, () => ({ + __proto__: dart.getMethods(html$._SvgNodeValidator.__proto__), + allowsElement: dart.fnType(core.bool, [html$.Element]), + allowsAttribute: dart.fnType(core.bool, [html$.Element, core.String, core.String]) +})); +dart.setLibraryUri(html$._SvgNodeValidator, I[148]); +html$.ReadyState = class ReadyState extends core.Object {}; +(html$.ReadyState.new = function() { + ; +}).prototype = html$.ReadyState.prototype; +dart.addTypeTests(html$.ReadyState); +dart.addTypeCaches(html$.ReadyState); +dart.setLibraryUri(html$.ReadyState, I[148]); +dart.defineLazy(html$.ReadyState, { + /*html$.ReadyState.LOADING*/get LOADING() { + return "loading"; + }, + /*html$.ReadyState.INTERACTIVE*/get INTERACTIVE() { + return "interactive"; + }, + /*html$.ReadyState.COMPLETE*/get COMPLETE() { + return "complete"; + } +}, false); +const _is__WrappedList_default = Symbol('_is__WrappedList_default'); +html$._WrappedList$ = dart.generic(E => { + var _WrappedIteratorOfE = () => (_WrappedIteratorOfE = dart.constFn(html$._WrappedIterator$(E)))(); + var IterableOfE = () => (IterableOfE = dart.constFn(core.Iterable$(E)))(); + var EN = () => (EN = dart.constFn(dart.nullable(E)))(); + class _WrappedList extends collection.ListBase$(E) { + get iterator() { + return new (_WrappedIteratorOfE()).new(this[S$3._list$19][$iterator]); + } + get length() { + return this[S$3._list$19][$length]; + } + add(element) { + E.as(element); + if (element == null) dart.nullFailed(I[147], 39774, 14, "element"); + this[S$3._list$19][$add](element); + } + remove(element) { + return this[S$3._list$19][$remove](element); + } + clear() { + this[S$3._list$19][$clear](); + } + _get(index) { + if (index == null) dart.nullFailed(I[147], 39786, 21, "index"); + return E.as(this[S$3._list$19][$_get](index)); + } + _set(index, value$) { + let value = value$; + if (index == null) dart.nullFailed(I[147], 39788, 25, "index"); + E.as(value); + if (value == null) dart.nullFailed(I[147], 39788, 34, "value"); + this[S$3._list$19][$_set](index, value); + return value$; + } + set length(newLength) { + if (newLength == null) dart.nullFailed(I[147], 39792, 18, "newLength"); + this[S$3._list$19][$length] = newLength; + } + sort(compare = null) { + if (compare == null) { + this[S$3._list$19][$sort](); + } else { + this[S$3._list$19][$sort](dart.fn((a, b) => { + if (a == null) dart.nullFailed(I[147], 39800, 24, "a"); + if (b == null) dart.nullFailed(I[147], 39800, 32, "b"); + return compare(E.as(a), E.as(b)); + }, T$0.NodeAndNodeToint())); + } + } + indexOf(element, start = 0) { + if (start == null) dart.nullFailed(I[147], 39804, 37, "start"); + return this[S$3._list$19][$indexOf](html$.Node.as(element), start); + } + lastIndexOf(element, start = null) { + return this[S$3._list$19][$lastIndexOf](html$.Node.as(element), start); + } + insert(index, element) { + if (index == null) dart.nullFailed(I[147], 39810, 19, "index"); + E.as(element); + if (element == null) dart.nullFailed(I[147], 39810, 28, "element"); + return this[S$3._list$19][$insert](index, element); + } + removeAt(index) { + if (index == null) dart.nullFailed(I[147], 39812, 18, "index"); + return E.as(this[S$3._list$19][$removeAt](index)); + } + setRange(start, end, iterable, skipCount = 0) { + if (start == null) dart.nullFailed(I[147], 39814, 21, "start"); + if (end == null) dart.nullFailed(I[147], 39814, 32, "end"); + IterableOfE().as(iterable); + if (iterable == null) dart.nullFailed(I[147], 39814, 49, "iterable"); + if (skipCount == null) dart.nullFailed(I[147], 39814, 64, "skipCount"); + this[S$3._list$19][$setRange](start, end, iterable, skipCount); + } + removeRange(start, end) { + if (start == null) dart.nullFailed(I[147], 39818, 24, "start"); + if (end == null) dart.nullFailed(I[147], 39818, 35, "end"); + this[S$3._list$19][$removeRange](start, end); + } + replaceRange(start, end, iterable) { + if (start == null) dart.nullFailed(I[147], 39822, 25, "start"); + if (end == null) dart.nullFailed(I[147], 39822, 36, "end"); + IterableOfE().as(iterable); + if (iterable == null) dart.nullFailed(I[147], 39822, 53, "iterable"); + this[S$3._list$19][$replaceRange](start, end, iterable); + } + fillRange(start, end, fillValue = null) { + if (start == null) dart.nullFailed(I[147], 39826, 22, "start"); + if (end == null) dart.nullFailed(I[147], 39826, 33, "end"); + EN().as(fillValue); + this[S$3._list$19][$fillRange](start, end, fillValue); + } + get rawList() { + return this[S$3._list$19]; + } + } + (_WrappedList.new = function(_list) { + if (_list == null) dart.nullFailed(I[147], 39764, 21, "_list"); + this[S$3._list$19] = _list; + ; + }).prototype = _WrappedList.prototype; + dart.addTypeTests(_WrappedList); + _WrappedList.prototype[_is__WrappedList_default] = true; + dart.addTypeCaches(_WrappedList); + _WrappedList[dart.implements] = () => [html_common.NodeListWrapper]; + dart.setMethodSignature(_WrappedList, () => ({ + __proto__: dart.getMethods(_WrappedList.__proto__), + _get: dart.fnType(E, [core.int]), + [$_get]: dart.fnType(E, [core.int]), + _set: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), + [$_set]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]) + })); + dart.setGetterSignature(_WrappedList, () => ({ + __proto__: dart.getGetters(_WrappedList.__proto__), + length: core.int, + [$length]: core.int, + rawList: core.List$(html$.Node) + })); + dart.setSetterSignature(_WrappedList, () => ({ + __proto__: dart.getSetters(_WrappedList.__proto__), + length: core.int, + [$length]: core.int + })); + dart.setLibraryUri(_WrappedList, I[148]); + dart.setFieldSignature(_WrappedList, () => ({ + __proto__: dart.getFields(_WrappedList.__proto__), + [S$3._list$19]: dart.finalFieldType(core.List$(html$.Node)) + })); + dart.defineExtensionMethods(_WrappedList, [ + 'add', + 'remove', + 'clear', + '_get', + '_set', + 'sort', + 'indexOf', + 'lastIndexOf', + 'insert', + 'removeAt', + 'setRange', + 'removeRange', + 'replaceRange', + 'fillRange' + ]); + dart.defineExtensionAccessors(_WrappedList, ['iterator', 'length']); + return _WrappedList; +}); +html$._WrappedList = html$._WrappedList$(); +dart.addTypeTests(html$._WrappedList, _is__WrappedList_default); +const _is__WrappedIterator_default = Symbol('_is__WrappedIterator_default'); +html$._WrappedIterator$ = dart.generic(E => { + class _WrappedIterator extends core.Object { + moveNext() { + return this[S$3._iterator$3].moveNext(); + } + get current() { + return E.as(this[S$3._iterator$3].current); + } + } + (_WrappedIterator.new = function(_iterator) { + if (_iterator == null) dart.nullFailed(I[147], 39839, 25, "_iterator"); + this[S$3._iterator$3] = _iterator; + ; + }).prototype = _WrappedIterator.prototype; + dart.addTypeTests(_WrappedIterator); + _WrappedIterator.prototype[_is__WrappedIterator_default] = true; + dart.addTypeCaches(_WrappedIterator); + _WrappedIterator[dart.implements] = () => [core.Iterator$(E)]; + dart.setMethodSignature(_WrappedIterator, () => ({ + __proto__: dart.getMethods(_WrappedIterator.__proto__), + moveNext: dart.fnType(core.bool, []) + })); + dart.setGetterSignature(_WrappedIterator, () => ({ + __proto__: dart.getGetters(_WrappedIterator.__proto__), + current: E + })); + dart.setLibraryUri(_WrappedIterator, I[148]); + dart.setFieldSignature(_WrappedIterator, () => ({ + __proto__: dart.getFields(_WrappedIterator.__proto__), + [S$3._iterator$3]: dart.fieldType(core.Iterator$(html$.Node)) + })); + return _WrappedIterator; +}); +html$._WrappedIterator = html$._WrappedIterator$(); +dart.addTypeTests(html$._WrappedIterator, _is__WrappedIterator_default); +html$._HttpRequestUtils = class _HttpRequestUtils extends core.Object { + static get(url, onComplete, withCredentials) { + if (url == null) dart.nullFailed(I[147], 39854, 14, "url"); + if (onComplete == null) dart.nullFailed(I[147], 39854, 19, "onComplete"); + if (withCredentials == null) dart.nullFailed(I[147], 39854, 57, "withCredentials"); + let request = html$.HttpRequest.new(); + request.open("GET", url, {async: true}); + request.withCredentials = withCredentials; + request[S$1.$onReadyStateChange].listen(dart.fn(e => { + if (e == null) dart.nullFailed(I[147], 39860, 40, "e"); + if (request.readyState === 4) { + onComplete(request); + } + }, T$0.EventTovoid())); + request.send(); + return request; + } +}; +(html$._HttpRequestUtils.new = function() { + ; +}).prototype = html$._HttpRequestUtils.prototype; +dart.addTypeTests(html$._HttpRequestUtils); +dart.addTypeCaches(html$._HttpRequestUtils); +dart.setLibraryUri(html$._HttpRequestUtils, I[148]); +const _is_FixedSizeListIterator_default = Symbol('_is_FixedSizeListIterator_default'); +html$.FixedSizeListIterator$ = dart.generic(T => { + class FixedSizeListIterator extends core.Object { + moveNext() { + let nextPosition = dart.notNull(this[S$0._position$2]) + 1; + if (nextPosition < dart.notNull(this[S$2._length$3])) { + this[S$3._current$4] = this[S$3._array][$_get](nextPosition); + this[S$0._position$2] = nextPosition; + return true; + } + this[S$3._current$4] = null; + this[S$0._position$2] = this[S$2._length$3]; + return false; + } + get current() { + return T.as(this[S$3._current$4]); + } + } + (FixedSizeListIterator.new = function(array) { + if (array == null) dart.nullFailed(I[147], 39882, 33, "array"); + this[S$3._current$4] = null; + this[S$3._array] = array; + this[S$0._position$2] = -1; + this[S$2._length$3] = array[$length]; + ; + }).prototype = FixedSizeListIterator.prototype; + dart.addTypeTests(FixedSizeListIterator); + FixedSizeListIterator.prototype[_is_FixedSizeListIterator_default] = true; + dart.addTypeCaches(FixedSizeListIterator); + FixedSizeListIterator[dart.implements] = () => [core.Iterator$(T)]; + dart.setMethodSignature(FixedSizeListIterator, () => ({ + __proto__: dart.getMethods(FixedSizeListIterator.__proto__), + moveNext: dart.fnType(core.bool, []) + })); + dart.setGetterSignature(FixedSizeListIterator, () => ({ + __proto__: dart.getGetters(FixedSizeListIterator.__proto__), + current: T + })); + dart.setLibraryUri(FixedSizeListIterator, I[148]); + dart.setFieldSignature(FixedSizeListIterator, () => ({ + __proto__: dart.getFields(FixedSizeListIterator.__proto__), + [S$3._array]: dart.finalFieldType(core.List$(T)), + [S$2._length$3]: dart.finalFieldType(core.int), + [S$0._position$2]: dart.fieldType(core.int), + [S$3._current$4]: dart.fieldType(dart.nullable(T)) + })); + return FixedSizeListIterator; +}); +html$.FixedSizeListIterator = html$.FixedSizeListIterator$(); +dart.addTypeTests(html$.FixedSizeListIterator, _is_FixedSizeListIterator_default); +const _is__VariableSizeListIterator_default = Symbol('_is__VariableSizeListIterator_default'); +html$._VariableSizeListIterator$ = dart.generic(T => { + class _VariableSizeListIterator extends core.Object { + moveNext() { + let nextPosition = dart.notNull(this[S$0._position$2]) + 1; + if (nextPosition < dart.notNull(this[S$3._array][$length])) { + this[S$3._current$4] = this[S$3._array][$_get](nextPosition); + this[S$0._position$2] = nextPosition; + return true; + } + this[S$3._current$4] = null; + this[S$0._position$2] = this[S$3._array][$length]; + return false; + } + get current() { + return T.as(this[S$3._current$4]); + } + } + (_VariableSizeListIterator.new = function(array) { + if (array == null) dart.nullFailed(I[147], 39908, 37, "array"); + this[S$3._current$4] = null; + this[S$3._array] = array; + this[S$0._position$2] = -1; + ; + }).prototype = _VariableSizeListIterator.prototype; + dart.addTypeTests(_VariableSizeListIterator); + _VariableSizeListIterator.prototype[_is__VariableSizeListIterator_default] = true; + dart.addTypeCaches(_VariableSizeListIterator); + _VariableSizeListIterator[dart.implements] = () => [core.Iterator$(T)]; + dart.setMethodSignature(_VariableSizeListIterator, () => ({ + __proto__: dart.getMethods(_VariableSizeListIterator.__proto__), + moveNext: dart.fnType(core.bool, []) + })); + dart.setGetterSignature(_VariableSizeListIterator, () => ({ + __proto__: dart.getGetters(_VariableSizeListIterator.__proto__), + current: T + })); + dart.setLibraryUri(_VariableSizeListIterator, I[148]); + dart.setFieldSignature(_VariableSizeListIterator, () => ({ + __proto__: dart.getFields(_VariableSizeListIterator.__proto__), + [S$3._array]: dart.finalFieldType(core.List$(T)), + [S$0._position$2]: dart.fieldType(core.int), + [S$3._current$4]: dart.fieldType(dart.nullable(T)) + })); + return _VariableSizeListIterator; +}); +html$._VariableSizeListIterator = html$._VariableSizeListIterator$(); +dart.addTypeTests(html$._VariableSizeListIterator, _is__VariableSizeListIterator_default); +html$.Console = class Console extends core.Object { + get [S$3._isConsoleDefined]() { + return typeof console != "undefined"; + } + get memory() { + return dart.test(this[S$3._isConsoleDefined]) ? window.console.memory : null; + } + assertCondition(condition = null, arg = null) { + return dart.test(this[S$3._isConsoleDefined]) ? window.console.assert(condition, arg) : null; + } + clear(arg = null) { + return dart.test(this[S$3._isConsoleDefined]) ? window.console.clear(arg) : null; + } + count(arg = null) { + return dart.test(this[S$3._isConsoleDefined]) ? window.console.count(arg) : null; + } + countReset(arg = null) { + return dart.test(this[S$3._isConsoleDefined]) ? window.console.countReset(arg) : null; + } + debug(arg) { + return dart.test(this[S$3._isConsoleDefined]) ? window.console.debug(arg) : null; + } + dir(item = null, options = null) { + return dart.test(this[S$3._isConsoleDefined]) ? window.console.dir(item, options) : null; + } + dirxml(arg) { + return dart.test(this[S$3._isConsoleDefined]) ? window.console.dirxml(arg) : null; + } + error(arg) { + return dart.test(this[S$3._isConsoleDefined]) ? window.console.error(arg) : null; + } + group(arg) { + return dart.test(this[S$3._isConsoleDefined]) ? window.console.group(arg) : null; + } + groupCollapsed(arg) { + return dart.test(this[S$3._isConsoleDefined]) ? window.console.groupCollapsed(arg) : null; + } + groupEnd() { + return dart.test(this[S$3._isConsoleDefined]) ? window.console.groupEnd() : null; + } + info(arg) { + return dart.test(this[S$3._isConsoleDefined]) ? window.console.info(arg) : null; + } + log(arg) { + return dart.test(this[S$3._isConsoleDefined]) ? window.console.log(arg) : null; + } + table(tabularData = null, properties = null) { + return dart.test(this[S$3._isConsoleDefined]) ? window.console.table(tabularData, properties) : null; + } + time(label = null) { + return dart.test(this[S$3._isConsoleDefined]) ? window.console.time(label) : null; + } + timeEnd(label = null) { + return dart.test(this[S$3._isConsoleDefined]) ? window.console.timeEnd(label) : null; + } + timeLog(label = null, arg = null) { + return dart.test(this[S$3._isConsoleDefined]) ? window.console.timeLog(label, arg) : null; + } + trace(arg) { + return dart.test(this[S$3._isConsoleDefined]) ? window.console.trace(arg) : null; + } + warn(arg) { + return dart.test(this[S$3._isConsoleDefined]) ? window.console.warn(arg) : null; + } + profile(title = null) { + return dart.test(this[S$3._isConsoleDefined]) ? window.console.profile(title) : null; + } + profileEnd(title = null) { + return dart.test(this[S$3._isConsoleDefined]) ? window.console.profileEnd(title) : null; + } + timeStamp(arg = null) { + return dart.test(this[S$3._isConsoleDefined]) ? window.console.timeStamp(arg) : null; + } + markTimeline(arg) { + return dart.test(this[S$3._isConsoleDefined]) ? window.console.markTimeline(arg) : null; + } +}; +(html$.Console._safe = function() { + ; +}).prototype = html$.Console.prototype; +dart.addTypeTests(html$.Console); +dart.addTypeCaches(html$.Console); +dart.setMethodSignature(html$.Console, () => ({ + __proto__: dart.getMethods(html$.Console.__proto__), + assertCondition: dart.fnType(dart.void, [], [dart.nullable(core.bool), dart.nullable(core.Object)]), + clear: dart.fnType(dart.void, [], [dart.nullable(core.Object)]), + count: dart.fnType(dart.void, [], [dart.nullable(core.Object)]), + countReset: dart.fnType(dart.void, [], [dart.nullable(core.String)]), + debug: dart.fnType(dart.void, [dart.nullable(core.Object)]), + dir: dart.fnType(dart.void, [], [dart.nullable(core.Object), dart.nullable(core.Object)]), + dirxml: dart.fnType(dart.void, [dart.nullable(core.Object)]), + error: dart.fnType(dart.void, [dart.nullable(core.Object)]), + group: dart.fnType(dart.void, [dart.nullable(core.Object)]), + groupCollapsed: dart.fnType(dart.void, [dart.nullable(core.Object)]), + groupEnd: dart.fnType(dart.void, []), + info: dart.fnType(dart.void, [dart.nullable(core.Object)]), + log: dart.fnType(dart.void, [dart.nullable(core.Object)]), + table: dart.fnType(dart.void, [], [dart.nullable(core.Object), dart.nullable(core.List$(core.String))]), + time: dart.fnType(dart.void, [], [dart.nullable(core.String)]), + timeEnd: dart.fnType(dart.void, [], [dart.nullable(core.String)]), + timeLog: dart.fnType(dart.void, [], [dart.nullable(core.String), dart.nullable(core.Object)]), + trace: dart.fnType(dart.void, [dart.nullable(core.Object)]), + warn: dart.fnType(dart.void, [dart.nullable(core.Object)]), + profile: dart.fnType(dart.void, [], [dart.nullable(core.String)]), + profileEnd: dart.fnType(dart.void, [], [dart.nullable(core.String)]), + timeStamp: dart.fnType(dart.void, [], [dart.nullable(core.Object)]), + markTimeline: dart.fnType(dart.void, [dart.nullable(core.Object)]) +})); +dart.setGetterSignature(html$.Console, () => ({ + __proto__: dart.getGetters(html$.Console.__proto__), + [S$3._isConsoleDefined]: core.bool, + memory: dart.nullable(html$.MemoryInfo) +})); +dart.setLibraryUri(html$.Console, I[148]); +dart.defineLazy(html$.Console, { + /*html$.Console._safeConsole*/get _safeConsole() { + return C[413] || CT.C413; + } +}, false); +html$._JSElementUpgrader = class _JSElementUpgrader extends core.Object { + upgrade(element) { + if (element == null) dart.nullFailed(I[147], 40274, 27, "element"); + if (!dart.equals(dart.runtimeType(element), this[S$3._nativeType])) { + if (!dart.equals(this[S$3._nativeType], dart.wrapType(html$.HtmlElement)) || !dart.equals(dart.runtimeType(element), dart.wrapType(html$.UnknownElement))) { + dart.throw(new core.ArgumentError.new("element is not subclass of " + dart.str(this[S$3._nativeType]))); + } + } + _js_helper.setNativeSubclassDispatchRecord(element, this[S$3._interceptor]); + this[S$3._constructor](element); + return element; + } +}; +(html$._JSElementUpgrader.new = function(document, type, extendsTag) { + if (document == null) dart.nullFailed(I[147], 40239, 31, "document"); + if (type == null) dart.nullFailed(I[147], 40239, 46, "type"); + this[S$3._interceptor] = null; + this[S$3._constructor] = null; + this[S$3._nativeType] = null; + let interceptorClass = _interceptors.findInterceptorConstructorForType(type); + if (interceptorClass == null) { + dart.throw(new core.ArgumentError.new(type)); + } + this[S$3._constructor] = _interceptors.findConstructorForNativeSubclassType(type, "created"); + if (this[S$3._constructor] == null) { + dart.throw(new core.ArgumentError.new(dart.str(type) + " has no constructor called 'created'")); + } + _interceptors.getNativeInterceptor(html$.Element.tag("article")); + let baseClassName = _js_helper.findDispatchTagForInterceptorClass(interceptorClass); + if (baseClassName == null) { + dart.throw(new core.ArgumentError.new(type)); + } + if (extendsTag == null) { + if (!dart.equals(baseClassName, "HTMLElement")) { + dart.throw(new core.UnsupportedError.new("Class must provide extendsTag if base " + "native class is not HtmlElement")); + } + this[S$3._nativeType] = dart.wrapType(html$.HtmlElement); + } else { + let element = document[S.$createElement](extendsTag); + html$._checkExtendsNativeClassOrTemplate(element, extendsTag, core.String.as(baseClassName)); + this[S$3._nativeType] = dart.runtimeType(element); + } + this[S$3._interceptor] = interceptorClass.prototype; +}).prototype = html$._JSElementUpgrader.prototype; +dart.addTypeTests(html$._JSElementUpgrader); +dart.addTypeCaches(html$._JSElementUpgrader); +html$._JSElementUpgrader[dart.implements] = () => [html$.ElementUpgrader]; +dart.setMethodSignature(html$._JSElementUpgrader, () => ({ + __proto__: dart.getMethods(html$._JSElementUpgrader.__proto__), + upgrade: dart.fnType(html$.Element, [html$.Element]) +})); +dart.setLibraryUri(html$._JSElementUpgrader, I[148]); +dart.setFieldSignature(html$._JSElementUpgrader, () => ({ + __proto__: dart.getFields(html$._JSElementUpgrader.__proto__), + [S$3._interceptor]: dart.fieldType(dart.dynamic), + [S$3._constructor]: dart.fieldType(dart.dynamic), + [S$3._nativeType]: dart.fieldType(dart.dynamic) +})); +html$._DOMWindowCrossFrame = class _DOMWindowCrossFrame extends core.Object { + get history() { + return html$._HistoryCrossFrame._createSafe(this[S$3._window].history); + } + get location() { + return html$._LocationCrossFrame._createSafe(this[S$3._window].location); + } + get closed() { + return this[S$3._window].closed; + } + get opener() { + return html$._DOMWindowCrossFrame._createSafe(this[S$3._window].opener); + } + get parent() { + return html$._DOMWindowCrossFrame._createSafe(this[S$3._window].parent); + } + get top() { + return html$._DOMWindowCrossFrame._createSafe(this[S$3._window].top); + } + close() { + return this[S$3._window].close(); + } + postMessage(message, targetOrigin, messagePorts = null) { + if (targetOrigin == null) dart.nullFailed(I[147], 40319, 40, "targetOrigin"); + if (messagePorts == null) { + this[S$3._window].postMessage(html_common.convertDartToNative_SerializedScriptValue(message), targetOrigin); + } else { + this[S$3._window].postMessage(html_common.convertDartToNative_SerializedScriptValue(message), targetOrigin, messagePorts); + } + } + static _createSafe(w) { + if (core.identical(w, html$.window)) { + return html$.WindowBase.as(w); + } else { + _js_helper.registerGlobalObject(w); + return new html$._DOMWindowCrossFrame.new(w); + } + } + get on() { + return dart.throw(new core.UnsupportedError.new("You can only attach EventListeners to your own window.")); + } + [S._addEventListener](type, listener, useCapture = null) { + return dart.throw(new core.UnsupportedError.new("You can only attach EventListeners to your own window.")); + } + addEventListener(type, listener, useCapture = null) { + if (type == null) dart.nullFailed(I[147], 40356, 32, "type"); + return dart.throw(new core.UnsupportedError.new("You can only attach EventListeners to your own window.")); + } + dispatchEvent(event) { + if (event == null) dart.nullFailed(I[147], 40361, 28, "event"); + return dart.throw(new core.UnsupportedError.new("You can only attach EventListeners to your own window.")); + } + [S._removeEventListener](type, listener, useCapture = null) { + return dart.throw(new core.UnsupportedError.new("You can only attach EventListeners to your own window.")); + } + removeEventListener(type, listener, useCapture = null) { + if (type == null) dart.nullFailed(I[147], 40369, 35, "type"); + return dart.throw(new core.UnsupportedError.new("You can only attach EventListeners to your own window.")); + } +}; +(html$._DOMWindowCrossFrame.new = function(_window) { + this[S$3._window] = _window; + ; +}).prototype = html$._DOMWindowCrossFrame.prototype; +dart.addTypeTests(html$._DOMWindowCrossFrame); +dart.addTypeCaches(html$._DOMWindowCrossFrame); +html$._DOMWindowCrossFrame[dart.implements] = () => [html$.WindowBase]; +dart.setMethodSignature(html$._DOMWindowCrossFrame, () => ({ + __proto__: dart.getMethods(html$._DOMWindowCrossFrame.__proto__), + close: dart.fnType(dart.void, []), + [S.$close]: dart.fnType(dart.void, []), + postMessage: dart.fnType(dart.void, [dart.dynamic, core.String], [dart.nullable(core.List)]), + [S$.$postMessage]: dart.fnType(dart.void, [dart.dynamic, core.String], [dart.nullable(core.List)]), + [S._addEventListener]: dart.fnType(dart.void, [dart.nullable(core.String), dart.nullable(dart.fnType(dart.dynamic, [html$.Event]))], [dart.nullable(core.bool)]), + addEventListener: dart.fnType(dart.void, [core.String, dart.nullable(dart.fnType(dart.dynamic, [html$.Event]))], [dart.nullable(core.bool)]), + [S.$addEventListener]: dart.fnType(dart.void, [core.String, dart.nullable(dart.fnType(dart.dynamic, [html$.Event]))], [dart.nullable(core.bool)]), + dispatchEvent: dart.fnType(core.bool, [html$.Event]), + [S.$dispatchEvent]: dart.fnType(core.bool, [html$.Event]), + [S._removeEventListener]: dart.fnType(dart.void, [dart.nullable(core.String), dart.nullable(dart.fnType(dart.dynamic, [html$.Event]))], [dart.nullable(core.bool)]), + removeEventListener: dart.fnType(dart.void, [core.String, dart.nullable(dart.fnType(dart.dynamic, [html$.Event]))], [dart.nullable(core.bool)]), + [S.$removeEventListener]: dart.fnType(dart.void, [core.String, dart.nullable(dart.fnType(dart.dynamic, [html$.Event]))], [dart.nullable(core.bool)]) +})); +dart.setGetterSignature(html$._DOMWindowCrossFrame, () => ({ + __proto__: dart.getGetters(html$._DOMWindowCrossFrame.__proto__), + history: html$.HistoryBase, + [S$3.$history]: html$.HistoryBase, + location: html$.LocationBase, + [S$0.$location]: html$.LocationBase, + closed: core.bool, + [S$1.$closed]: core.bool, + opener: html$.WindowBase, + [S$3.$opener]: html$.WindowBase, + parent: html$.WindowBase, + [S.$parent]: html$.WindowBase, + top: html$.WindowBase, + [$top]: html$.WindowBase, + on: html$.Events, + [S.$on]: html$.Events +})); +dart.setLibraryUri(html$._DOMWindowCrossFrame, I[148]); +dart.setFieldSignature(html$._DOMWindowCrossFrame, () => ({ + __proto__: dart.getFields(html$._DOMWindowCrossFrame.__proto__), + [S$3._window]: dart.finalFieldType(dart.dynamic) +})); +dart.defineExtensionMethods(html$._DOMWindowCrossFrame, [ + 'close', + 'postMessage', + 'addEventListener', + 'dispatchEvent', + 'removeEventListener' +]); +dart.defineExtensionAccessors(html$._DOMWindowCrossFrame, [ + 'history', + 'location', + 'closed', + 'opener', + 'parent', + 'top', + 'on' +]); +html$._LocationCrossFrame = class _LocationCrossFrame extends core.Object { + set href(val) { + if (val == null) dart.nullFailed(I[147], 40381, 19, "val"); + return html$._LocationCrossFrame._setHref(this[S$3._location], val); + } + static _setHref(location, val) { + location.href = val; + } + static _createSafe(location) { + if (core.identical(location, html$.window[S$0.$location])) { + return html$.LocationBase.as(location); + } else { + return new html$._LocationCrossFrame.new(location); + } + } +}; +(html$._LocationCrossFrame.new = function(_location) { + this[S$3._location] = _location; + ; +}).prototype = html$._LocationCrossFrame.prototype; +dart.addTypeTests(html$._LocationCrossFrame); +dart.addTypeCaches(html$._LocationCrossFrame); +html$._LocationCrossFrame[dart.implements] = () => [html$.LocationBase]; +dart.setSetterSignature(html$._LocationCrossFrame, () => ({ + __proto__: dart.getSetters(html$._LocationCrossFrame.__proto__), + href: core.String, + [S$.$href]: core.String +})); +dart.setLibraryUri(html$._LocationCrossFrame, I[148]); +dart.setFieldSignature(html$._LocationCrossFrame, () => ({ + __proto__: dart.getFields(html$._LocationCrossFrame.__proto__), + [S$3._location]: dart.fieldType(dart.dynamic) +})); +dart.defineExtensionAccessors(html$._LocationCrossFrame, ['href']); +html$._HistoryCrossFrame = class _HistoryCrossFrame extends core.Object { + back() { + return this[S$3._history].back(); + } + forward() { + return this[S$3._history].forward(); + } + go(distance) { + if (distance == null) dart.nullFailed(I[147], 40409, 15, "distance"); + return this[S$3._history].go(distance); + } + static _createSafe(h) { + if (core.identical(h, html$.window.history)) { + return html$.HistoryBase.as(h); + } else { + return new html$._HistoryCrossFrame.new(h); + } + } +}; +(html$._HistoryCrossFrame.new = function(_history) { + this[S$3._history] = _history; + ; +}).prototype = html$._HistoryCrossFrame.prototype; +dart.addTypeTests(html$._HistoryCrossFrame); +dart.addTypeCaches(html$._HistoryCrossFrame); +html$._HistoryCrossFrame[dart.implements] = () => [html$.HistoryBase]; +dart.setMethodSignature(html$._HistoryCrossFrame, () => ({ + __proto__: dart.getMethods(html$._HistoryCrossFrame.__proto__), + back: dart.fnType(dart.void, []), + [S$1.$back]: dart.fnType(dart.void, []), + forward: dart.fnType(dart.void, []), + [S$1.$forward]: dart.fnType(dart.void, []), + go: dart.fnType(dart.void, [core.int]), + [S$1.$go]: dart.fnType(dart.void, [core.int]) +})); +dart.setLibraryUri(html$._HistoryCrossFrame, I[148]); +dart.setFieldSignature(html$._HistoryCrossFrame, () => ({ + __proto__: dart.getFields(html$._HistoryCrossFrame.__proto__), + [S$3._history]: dart.fieldType(dart.dynamic) +})); +dart.defineExtensionMethods(html$._HistoryCrossFrame, ['back', 'forward', 'go']); +html$.Platform = class Platform extends core.Object {}; +(html$.Platform.new = function() { + ; +}).prototype = html$.Platform.prototype; +dart.addTypeTests(html$.Platform); +dart.addTypeCaches(html$.Platform); +dart.setLibraryUri(html$.Platform, I[148]); +dart.defineLazy(html$.Platform, { + /*html$.Platform.supportsTypedData*/get supportsTypedData() { + return !!window.ArrayBuffer; + }, + /*html$.Platform.supportsSimd*/get supportsSimd() { + return false; + } +}, false); +html$.ElementUpgrader = class ElementUpgrader extends core.Object {}; +(html$.ElementUpgrader.new = function() { + ; +}).prototype = html$.ElementUpgrader.prototype; +dart.addTypeTests(html$.ElementUpgrader); +dart.addTypeCaches(html$.ElementUpgrader); +dart.setLibraryUri(html$.ElementUpgrader, I[148]); +html$.NodeValidator = class NodeValidator extends core.Object { + static new(opts) { + let uriPolicy = opts && 'uriPolicy' in opts ? opts.uriPolicy : null; + return new html$._Html5NodeValidator.new({uriPolicy: uriPolicy}); + } + static throws(base) { + if (base == null) dart.nullFailed(I[147], 40861, 46, "base"); + return new html$._ThrowsNodeValidator.new(base); + } +}; +(html$.NodeValidator[dart.mixinNew] = function() { +}).prototype = html$.NodeValidator.prototype; +dart.addTypeTests(html$.NodeValidator); +dart.addTypeCaches(html$.NodeValidator); +dart.setLibraryUri(html$.NodeValidator, I[148]); +html$.NodeTreeSanitizer = class NodeTreeSanitizer extends core.Object { + static new(validator) { + if (validator == null) dart.nullFailed(I[147], 40893, 43, "validator"); + return new html$._ValidatingTreeSanitizer.new(validator); + } +}; +(html$.NodeTreeSanitizer[dart.mixinNew] = function() { +}).prototype = html$.NodeTreeSanitizer.prototype; +dart.addTypeTests(html$.NodeTreeSanitizer); +dart.addTypeCaches(html$.NodeTreeSanitizer); +dart.setLibraryUri(html$.NodeTreeSanitizer, I[148]); +dart.defineLazy(html$.NodeTreeSanitizer, { + /*html$.NodeTreeSanitizer.trusted*/get trusted() { + return C[414] || CT.C414; + } +}, false); +html$._TrustedHtmlTreeSanitizer = class _TrustedHtmlTreeSanitizer extends core.Object { + sanitizeTree(node) { + if (node == null) dart.nullFailed(I[147], 40921, 21, "node"); + } +}; +(html$._TrustedHtmlTreeSanitizer.new = function() { + ; +}).prototype = html$._TrustedHtmlTreeSanitizer.prototype; +dart.addTypeTests(html$._TrustedHtmlTreeSanitizer); +dart.addTypeCaches(html$._TrustedHtmlTreeSanitizer); +html$._TrustedHtmlTreeSanitizer[dart.implements] = () => [html$.NodeTreeSanitizer]; +dart.setMethodSignature(html$._TrustedHtmlTreeSanitizer, () => ({ + __proto__: dart.getMethods(html$._TrustedHtmlTreeSanitizer.__proto__), + sanitizeTree: dart.fnType(dart.void, [html$.Node]) +})); +dart.setLibraryUri(html$._TrustedHtmlTreeSanitizer, I[148]); +html$.UriPolicy = class UriPolicy extends core.Object { + static new() { + return new html$._SameOriginUriPolicy.new(); + } +}; +(html$.UriPolicy[dart.mixinNew] = function() { +}).prototype = html$.UriPolicy.prototype; +dart.addTypeTests(html$.UriPolicy); +dart.addTypeCaches(html$.UriPolicy); +dart.setLibraryUri(html$.UriPolicy, I[148]); +html$._SameOriginUriPolicy = class _SameOriginUriPolicy extends core.Object { + allowsUri(uri) { + if (uri == null) dart.nullFailed(I[147], 40957, 25, "uri"); + this[S$3._hiddenAnchor].href = uri; + return this[S$3._hiddenAnchor].hostname == this[S$3._loc].hostname && this[S$3._hiddenAnchor].port == this[S$3._loc].port && this[S$3._hiddenAnchor].protocol == this[S$3._loc].protocol || this[S$3._hiddenAnchor].hostname === "" && this[S$3._hiddenAnchor].port === "" && (this[S$3._hiddenAnchor].protocol === ":" || this[S$3._hiddenAnchor].protocol === ""); + } +}; +(html$._SameOriginUriPolicy.new = function() { + this[S$3._hiddenAnchor] = html$.AnchorElement.new(); + this[S$3._loc] = html$.window[S$0.$location]; + ; +}).prototype = html$._SameOriginUriPolicy.prototype; +dart.addTypeTests(html$._SameOriginUriPolicy); +dart.addTypeCaches(html$._SameOriginUriPolicy); +html$._SameOriginUriPolicy[dart.implements] = () => [html$.UriPolicy]; +dart.setMethodSignature(html$._SameOriginUriPolicy, () => ({ + __proto__: dart.getMethods(html$._SameOriginUriPolicy.__proto__), + allowsUri: dart.fnType(core.bool, [core.String]) +})); +dart.setLibraryUri(html$._SameOriginUriPolicy, I[148]); +dart.setFieldSignature(html$._SameOriginUriPolicy, () => ({ + __proto__: dart.getFields(html$._SameOriginUriPolicy.__proto__), + [S$3._hiddenAnchor]: dart.finalFieldType(html$.AnchorElement), + [S$3._loc]: dart.finalFieldType(html$.Location) +})); +html$._ThrowsNodeValidator = class _ThrowsNodeValidator extends core.Object { + allowsElement(element) { + if (element == null) dart.nullFailed(I[147], 40974, 30, "element"); + if (!dart.test(this.validator.allowsElement(element))) { + dart.throw(new core.ArgumentError.new(html$.Element._safeTagName(element))); + } + return true; + } + allowsAttribute(element, attributeName, value) { + if (element == null) dart.nullFailed(I[147], 40981, 32, "element"); + if (attributeName == null) dart.nullFailed(I[147], 40981, 48, "attributeName"); + if (value == null) dart.nullFailed(I[147], 40981, 70, "value"); + if (!dart.test(this.validator.allowsAttribute(element, attributeName, value))) { + dart.throw(new core.ArgumentError.new(dart.str(html$.Element._safeTagName(element)) + "[" + dart.str(attributeName) + "=\"" + dart.str(value) + "\"]")); + } + return true; + } +}; +(html$._ThrowsNodeValidator.new = function(validator) { + if (validator == null) dart.nullFailed(I[147], 40972, 29, "validator"); + this.validator = validator; +}).prototype = html$._ThrowsNodeValidator.prototype; +dart.addTypeTests(html$._ThrowsNodeValidator); +dart.addTypeCaches(html$._ThrowsNodeValidator); +html$._ThrowsNodeValidator[dart.implements] = () => [html$.NodeValidator]; +dart.setMethodSignature(html$._ThrowsNodeValidator, () => ({ + __proto__: dart.getMethods(html$._ThrowsNodeValidator.__proto__), + allowsElement: dart.fnType(core.bool, [html$.Element]), + allowsAttribute: dart.fnType(core.bool, [html$.Element, core.String, core.String]) +})); +dart.setLibraryUri(html$._ThrowsNodeValidator, I[148]); +dart.setFieldSignature(html$._ThrowsNodeValidator, () => ({ + __proto__: dart.getFields(html$._ThrowsNodeValidator.__proto__), + validator: dart.finalFieldType(html$.NodeValidator) +})); +html$._ValidatingTreeSanitizer = class _ValidatingTreeSanitizer extends core.Object { + sanitizeTree(node) { + if (node == null) dart.nullFailed(I[147], 41001, 26, "node"); + const walk = (node, parent) => { + if (node == null) dart.nullFailed(I[147], 41002, 20, "node"); + this.sanitizeNode(node, parent); + let child = node.lastChild; + while (child != null) { + let nextChild = null; + try { + nextChild = child[S$.$previousNode]; + if (nextChild != null && !dart.equals(nextChild[S.$nextNode], child)) { + dart.throw(new core.StateError.new("Corrupt HTML")); + } + } catch (e$) { + let e = dart.getThrown(e$); + if (core.Object.is(e)) { + this[S$3._removeNode](child, node); + child = null; + nextChild = node.lastChild; + } else + throw e$; + } + if (child != null) walk(child, node); + child = nextChild; + } + }; + dart.fn(walk, T$0.NodeAndNodeNTovoid()); + let previousTreeModifications = null; + do { + previousTreeModifications = this.numTreeModifications; + walk(node, null); + } while (!dart.equals(previousTreeModifications, this.numTreeModifications)); + } + [S$3._removeNode](node, parent) { + if (node == null) dart.nullFailed(I[147], 41038, 25, "node"); + this.numTreeModifications = dart.notNull(this.numTreeModifications) + 1; + if (parent == null || !dart.equals(parent, node.parentNode)) { + node[$remove](); + } else { + parent[S$._removeChild](node); + } + } + [S$3._sanitizeUntrustedElement](element, parent) { + let corrupted = true; + let attrs = null; + let isAttr = null; + try { + attrs = dart.dload(element, 'attributes'); + isAttr = dart.dsend(attrs, '_get', ["is"]); + let corruptedTest1 = html$.Element._hasCorruptedAttributes(html$.Element.as(element)); + corrupted = dart.test(corruptedTest1) ? true : html$.Element._hasCorruptedAttributesAdditionalCheck(html$.Element.as(element)); + } catch (e$) { + let e = dart.getThrown(e$); + if (core.Object.is(e)) { + } else + throw e$; + } + let elementText = "element unprintable"; + try { + elementText = dart.toString(element); + } catch (e$0) { + let e = dart.getThrown(e$0); + if (core.Object.is(e)) { + } else + throw e$0; + } + try { + let elementTagName = html$.Element._safeTagName(element); + this[S$3._sanitizeElement](html$.Element.as(element), parent, corrupted, elementText, elementTagName, core.Map.as(attrs), T$.StringN().as(isAttr)); + } catch (e$1) { + let ex = dart.getThrown(e$1); + if (core.ArgumentError.is(ex)) { + dart.rethrow(e$1); + } else if (core.Object.is(ex)) { + let e = ex; + this[S$3._removeNode](html$.Node.as(element), parent); + html$.window[S$2.$console].warn("Removing corrupted element " + dart.str(elementText)); + } else + throw e$1; + } + } + [S$3._sanitizeElement](element, parent, corrupted, text, tag, attrs, isAttr) { + if (element == null) dart.nullFailed(I[147], 41100, 33, "element"); + if (corrupted == null) dart.nullFailed(I[147], 41100, 61, "corrupted"); + if (text == null) dart.nullFailed(I[147], 41101, 14, "text"); + if (tag == null) dart.nullFailed(I[147], 41101, 27, "tag"); + if (attrs == null) dart.nullFailed(I[147], 41101, 36, "attrs"); + if (false !== corrupted) { + this[S$3._removeNode](element, parent); + html$.window[S$2.$console].warn("Removing element due to corrupted attributes on <" + dart.str(text) + ">"); + return; + } + if (!dart.test(this.validator.allowsElement(element))) { + this[S$3._removeNode](element, parent); + html$.window[S$2.$console].warn("Removing disallowed element <" + dart.str(tag) + "> from " + dart.str(parent)); + return; + } + if (isAttr != null) { + if (!dart.test(this.validator.allowsAttribute(element, "is", isAttr))) { + this[S$3._removeNode](element, parent); + html$.window[S$2.$console].warn("Removing disallowed type extension " + "<" + dart.str(tag) + " is=\"" + dart.str(isAttr) + "\">"); + return; + } + } + let keys = attrs[$keys][$toList](); + for (let i = dart.notNull(attrs[$length]) - 1; i >= 0; i = i - 1) { + let name = keys[$_get](i); + if (!dart.test(this.validator.allowsAttribute(element, core.String.as(dart.dsend(name, 'toLowerCase', [])), core.String.as(attrs[$_get](name))))) { + html$.window[S$2.$console].warn("Removing disallowed attribute " + "<" + dart.str(tag) + " " + dart.str(name) + "=\"" + dart.str(attrs[$_get](name)) + "\">"); + attrs[$remove](name); + } + } + if (html$.TemplateElement.is(element)) { + let template = element; + this.sanitizeTree(dart.nullCheck(template.content)); + } + } + sanitizeNode(node, parent) { + if (node == null) dart.nullFailed(I[147], 41143, 26, "node"); + switch (node.nodeType) { + case 1: + { + this[S$3._sanitizeUntrustedElement](node, parent); + break; + } + case 8: + case 11: + case 3: + case 4: + { + break; + } + default: + { + this[S$3._removeNode](node, parent); + } + } + } +}; +(html$._ValidatingTreeSanitizer.new = function(validator) { + if (validator == null) dart.nullFailed(I[147], 40999, 33, "validator"); + this.numTreeModifications = 0; + this.validator = validator; +}).prototype = html$._ValidatingTreeSanitizer.prototype; +dart.addTypeTests(html$._ValidatingTreeSanitizer); +dart.addTypeCaches(html$._ValidatingTreeSanitizer); +html$._ValidatingTreeSanitizer[dart.implements] = () => [html$.NodeTreeSanitizer]; +dart.setMethodSignature(html$._ValidatingTreeSanitizer, () => ({ + __proto__: dart.getMethods(html$._ValidatingTreeSanitizer.__proto__), + sanitizeTree: dart.fnType(dart.void, [html$.Node]), + [S$3._removeNode]: dart.fnType(dart.void, [html$.Node, dart.nullable(html$.Node)]), + [S$3._sanitizeUntrustedElement]: dart.fnType(dart.void, [dart.dynamic, dart.nullable(html$.Node)]), + [S$3._sanitizeElement]: dart.fnType(dart.void, [html$.Element, dart.nullable(html$.Node), core.bool, core.String, core.String, core.Map, dart.nullable(core.String)]), + sanitizeNode: dart.fnType(dart.void, [html$.Node, dart.nullable(html$.Node)]) +})); +dart.setLibraryUri(html$._ValidatingTreeSanitizer, I[148]); +dart.setFieldSignature(html$._ValidatingTreeSanitizer, () => ({ + __proto__: dart.getFields(html$._ValidatingTreeSanitizer.__proto__), + validator: dart.fieldType(html$.NodeValidator), + numTreeModifications: dart.fieldType(core.int) +})); +html$.promiseToFutureAsMap = function promiseToFutureAsMap(jsPromise) { + return js_util.promiseToFuture(dart.dynamic, core.Object.as(jsPromise)).then(T$0.MapNOfString$dynamic(), C[415] || CT.C415); +}; +html$._matchesWithAncestors = function _matchesWithAncestors(event, selector) { + if (event == null) dart.nullFailed(I[147], 37189, 34, "event"); + if (selector == null) dart.nullFailed(I[147], 37189, 48, "selector"); + let target = event[S.$target]; + return html$.Element.is(target) ? target[S.$matchesWithAncestors](selector) : false; +}; +html$._convertNativeToDart_Window = function _convertNativeToDart_Window(win) { + if (win == null) return null; + return html$._DOMWindowCrossFrame._createSafe(win); +}; +html$._convertNativeToDart_EventTarget = function _convertNativeToDart_EventTarget(e) { + if (e == null) { + return null; + } + if ("postMessage" in e) { + let window = html$._DOMWindowCrossFrame._createSafe(e); + if (html$.EventTarget.is(window)) { + return window; + } + return null; + } else + return T$0.EventTargetN().as(e); +}; +html$._convertDartToNative_EventTarget = function _convertDartToNative_EventTarget(e) { + if (html$._DOMWindowCrossFrame.is(e)) { + return T$0.EventTargetN().as(e[S$3._window]); + } else { + return T$0.EventTargetN().as(e); + } +}; +html$._convertNativeToDart_XHR_Response = function _convertNativeToDart_XHR_Response(o) { + if (html$.Document.is(o)) { + return o; + } + return html_common.convertNativeToDart_SerializedScriptValue(o); +}; +html$._callConstructor = function _callConstructor(constructor, interceptor) { + return dart.fn(receiver => { + _js_helper.setNativeSubclassDispatchRecord(receiver, interceptor); + receiver.constructor = receiver.__proto__.constructor; + return constructor(receiver); + }, T$.dynamicToObjectN()); +}; +html$._callAttached = function _callAttached(receiver) { + return dart.dsend(receiver, 'attached', []); +}; +html$._callDetached = function _callDetached(receiver) { + return dart.dsend(receiver, 'detached', []); +}; +html$._callAttributeChanged = function _callAttributeChanged(receiver, name, oldValue, newValue) { + return dart.dsend(receiver, 'attributeChanged', [name, oldValue, newValue]); +}; +html$._makeCallbackMethod = function _makeCallbackMethod(callback) { + return (function(invokeCallback) { + return function() { + return invokeCallback(this); + }; + })(_js_helper.convertDartClosureToJS(dart.dynamic, callback, 1)); +}; +html$._makeCallbackMethod3 = function _makeCallbackMethod3(callback) { + return (function(invokeCallback) { + return function(arg1, arg2, arg3) { + return invokeCallback(this, arg1, arg2, arg3); + }; + })(_js_helper.convertDartClosureToJS(dart.dynamic, callback, 4)); +}; +html$._checkExtendsNativeClassOrTemplate = function _checkExtendsNativeClassOrTemplate(element, extendsTag, baseClassName) { + if (element == null) dart.nullFailed(I[147], 40134, 13, "element"); + if (extendsTag == null) dart.nullFailed(I[147], 40134, 29, "extendsTag"); + if (baseClassName == null) dart.nullFailed(I[147], 40134, 48, "baseClassName"); + if (!(element instanceof window[baseClassName]) && !(extendsTag === "template" && element instanceof window.HTMLUnknownElement)) { + dart.throw(new core.UnsupportedError.new("extendsTag does not match base native class")); + } +}; +html$._registerCustomElement = function _registerCustomElement(context, document, tag, options = null) { + if (tag == null) dart.nullFailed(I[147], 40143, 59, "tag"); + let extendsTagName = ""; + let type = null; + if (options != null) { + extendsTagName = T$.StringN().as(options[$_get]("extends")); + type = T$0.TypeN().as(options[$_get]("prototype")); + } + let interceptorClass = _interceptors.findInterceptorConstructorForType(type); + if (interceptorClass == null) { + dart.throw(new core.ArgumentError.new(type)); + } + let interceptor = interceptorClass.prototype; + let constructor = _interceptors.findConstructorForNativeSubclassType(type, "created"); + if (constructor == null) { + dart.throw(new core.ArgumentError.new(dart.str(type) + " has no constructor called 'created'")); + } + _interceptors.getNativeInterceptor(html$.Element.tag("article")); + let baseClassName = core.String.as(_js_helper.findDispatchTagForInterceptorClass(interceptorClass)); + if (baseClassName == null) { + dart.throw(new core.ArgumentError.new(type)); + } + if (extendsTagName == null) { + if (baseClassName !== "HTMLElement") { + dart.throw(new core.UnsupportedError.new("Class must provide extendsTag if base " + "native class is not HtmlElement")); + } + } else { + let element = dart.dsend(document, 'createElement', [extendsTagName]); + html$._checkExtendsNativeClassOrTemplate(html$.Element.as(element), extendsTagName, baseClassName); + } + let baseConstructor = context[baseClassName]; + let properties = {}; + properties.createdCallback = {value: html$._makeCallbackMethod(html$._callConstructor(constructor, interceptor))}; + properties.attachedCallback = {value: html$._makeCallbackMethod(html$._callAttached)}; + properties.detachedCallback = {value: html$._makeCallbackMethod(html$._callDetached)}; + properties.attributeChangedCallback = {value: html$._makeCallbackMethod3(html$._callAttributeChanged)}; + let baseProto = baseConstructor.prototype; + let proto = Object.create(baseProto, properties); + _js_helper.setNativeSubclassDispatchRecord(proto, interceptor); + let opts = {prototype: proto}; + if (extendsTagName != null) { + opts.extends = extendsTagName; + } + return document.registerElement(tag, opts); +}; +html$._initializeCustomElement = function _initializeCustomElement(e) { + if (e == null) dart.nullFailed(I[147], 40229, 39, "e"); +}; +html$._wrapZone = function _wrapZone(T, callback) { + if (dart.equals(async.Zone.current, async.Zone.root)) return callback; + if (callback == null) return null; + return async.Zone.current.bindUnaryCallbackGuarded(T, callback); +}; +html$._wrapBinaryZone = function _wrapBinaryZone(T1, T2, callback) { + if (dart.equals(async.Zone.current, async.Zone.root)) return callback; + if (callback == null) return null; + return async.Zone.current.bindBinaryCallbackGuarded(T1, T2, callback); +}; +html$.querySelector = function querySelector(selectors) { + if (selectors == null) dart.nullFailed(I[147], 40810, 31, "selectors"); + return html$.document.querySelector(selectors); +}; +html$.querySelectorAll = function querySelectorAll(T, selectors) { + if (selectors == null) dart.nullFailed(I[147], 40828, 59, "selectors"); + return html$.document[S.$querySelectorAll](T, selectors); +}; +dart.copyProperties(html$, { + get window() { + return window; + }, + get document() { + return document; + }, + get _workerSelf() { + return self; + } +}); +dart.defineLazy(html$, { + /*html$._HEIGHT*/get _HEIGHT() { + return T$.JSArrayOfString().of(["top", "bottom"]); + }, + /*html$._WIDTH*/get _WIDTH() { + return T$.JSArrayOfString().of(["right", "left"]); + }, + /*html$._CONTENT*/get _CONTENT() { + return "content"; + }, + /*html$._PADDING*/get _PADDING() { + return "padding"; + }, + /*html$._MARGIN*/get _MARGIN() { + return "margin"; + } +}, false); +html_common._StructuredClone = class _StructuredClone extends core.Object { + findSlot(value) { + let length = this.values[$length]; + for (let i = 0; i < dart.notNull(length); i = i + 1) { + if (core.identical(this.values[$_get](i), value)) return i; + } + this.values[$add](value); + this.copies[$add](null); + return length; + } + readSlot(i) { + if (i == null) dart.nullFailed(I[151], 72, 16, "i"); + return this.copies[$_get](i); + } + writeSlot(i, x) { + if (i == null) dart.nullFailed(I[151], 73, 17, "i"); + this.copies[$_set](i, x); + } + cleanupSlots() { + } + walk(e) { + if (e == null) return e; + if (typeof e == 'boolean') return e; + if (typeof e == 'number') return e; + if (typeof e == 'string') return e; + if (core.DateTime.is(e)) { + return html_common.convertDartToNative_DateTime(e); + } + if (core.RegExp.is(e)) { + dart.throw(new core.UnimplementedError.new("structured clone of RegExp")); + } + if (html$.File.is(e)) return e; + if (html$.Blob.is(e)) return e; + if (html$.FileList.is(e)) return e; + if (html$.ImageData.is(e)) return e; + if (dart.test(this.cloneNotRequired(e))) return e; + if (core.Map.is(e)) { + let slot = this.findSlot(e); + let copy = this.readSlot(slot); + if (copy != null) return copy; + copy = this.newJsMap(); + this.writeSlot(slot, copy); + e[$forEach](dart.fn((key, value) => { + this.putIntoMap(copy, key, this.walk(value)); + }, T$.dynamicAnddynamicTovoid())); + return copy; + } + if (core.List.is(e)) { + let slot = this.findSlot(e); + let copy = this.readSlot(slot); + if (copy != null) return copy; + copy = this.copyList(e, slot); + return copy; + } + if (_interceptors.JSObject.is(e)) { + let slot = this.findSlot(e); + let copy = this.readSlot(slot); + if (copy != null) return copy; + copy = this.newJsObject(); + this.writeSlot(slot, copy); + this.forEachObjectKey(e, dart.fn((key, value) => { + this.putIntoObject(copy, key, this.walk(value)); + }, T$.dynamicAnddynamicToNull())); + return copy; + } + dart.throw(new core.UnimplementedError.new("structured clone of other type")); + } + copyList(e, slot) { + if (e == null) dart.nullFailed(I[151], 156, 22, "e"); + if (slot == null) dart.nullFailed(I[151], 156, 29, "slot"); + let i = 0; + let length = e[$length]; + let copy = this.newJsList(length); + this.writeSlot(slot, copy); + for (; i < dart.notNull(length); i = i + 1) { + copy[$_set](i, this.walk(e[$_get](i))); + } + return copy; + } + convertDartToNative_PrepareForStructuredClone(value) { + let copy = this.walk(value); + this.cleanupSlots(); + return copy; + } +}; +(html_common._StructuredClone.new = function() { + this.values = []; + this.copies = []; + ; +}).prototype = html_common._StructuredClone.prototype; +dart.addTypeTests(html_common._StructuredClone); +dart.addTypeCaches(html_common._StructuredClone); +dart.setMethodSignature(html_common._StructuredClone, () => ({ + __proto__: dart.getMethods(html_common._StructuredClone.__proto__), + findSlot: dart.fnType(core.int, [dart.dynamic]), + readSlot: dart.fnType(dart.dynamic, [core.int]), + writeSlot: dart.fnType(dart.dynamic, [core.int, dart.dynamic]), + cleanupSlots: dart.fnType(dart.dynamic, []), + walk: dart.fnType(dart.dynamic, [dart.dynamic]), + copyList: dart.fnType(core.List, [core.List, core.int]), + convertDartToNative_PrepareForStructuredClone: dart.fnType(dart.dynamic, [dart.dynamic]) +})); +dart.setLibraryUri(html_common._StructuredClone, I[150]); +dart.setFieldSignature(html_common._StructuredClone, () => ({ + __proto__: dart.getFields(html_common._StructuredClone.__proto__), + values: dart.fieldType(core.List), + copies: dart.fieldType(core.List) +})); +html_common._AcceptStructuredClone = class _AcceptStructuredClone extends core.Object { + findSlot(value) { + let length = this.values[$length]; + for (let i = 0; i < dart.notNull(length); i = i + 1) { + if (dart.test(this.identicalInJs(this.values[$_get](i), value))) return i; + } + this.values[$add](value); + this.copies[$add](null); + return length; + } + readSlot(i) { + if (i == null) dart.nullFailed(I[151], 211, 16, "i"); + return this.copies[$_get](i); + } + writeSlot(i, x) { + if (i == null) dart.nullFailed(I[151], 212, 17, "i"); + this.copies[$_set](i, x); + } + walk(e) { + if (e == null) return e; + if (typeof e == 'boolean') return e; + if (typeof e == 'number') return e; + if (typeof e == 'string') return e; + if (dart.test(html_common.isJavaScriptDate(e))) { + return html_common.convertNativeToDart_DateTime(e); + } + if (dart.test(html_common.isJavaScriptRegExp(e))) { + dart.throw(new core.UnimplementedError.new("structured clone of RegExp")); + } + if (dart.test(html_common.isJavaScriptPromise(e))) { + return js_util.promiseToFuture(dart.dynamic, core.Object.as(e)); + } + if (dart.test(html_common.isJavaScriptSimpleObject(e))) { + let slot = this.findSlot(e); + let copy = this.readSlot(slot); + if (copy != null) return copy; + copy = new _js_helper.LinkedMap.new(); + this.writeSlot(slot, copy); + this.forEachJsField(e, dart.fn((key, value) => { + let t248, t247, t246; + t246 = copy; + t247 = key; + t248 = this.walk(value); + dart.dsend(t246, '_set', [t247, t248]); + return t248; + }, T$0.dynamicAnddynamicTodynamic())); + return copy; + } + if (dart.test(html_common.isJavaScriptArray(e))) { + let l = e; + let slot = this.findSlot(l); + let copy = this.readSlot(slot); + if (copy != null) return copy; + let length = l[$length]; + copy = dart.test(this.mustCopy) ? this.newDartList(length) : l; + this.writeSlot(slot, copy); + for (let i = 0; i < dart.notNull(length); i = i + 1) { + copy[$_set](i, this.walk(l[$_get](i))); + } + return copy; + } + return e; + } + convertNativeToDart_AcceptStructuredClone(object, opts) { + let mustCopy = opts && 'mustCopy' in opts ? opts.mustCopy : false; + this.mustCopy = core.bool.as(mustCopy); + let copy = this.walk(object); + return copy; + } +}; +(html_common._AcceptStructuredClone.new = function() { + this.values = []; + this.copies = []; + this.mustCopy = false; + ; +}).prototype = html_common._AcceptStructuredClone.prototype; +dart.addTypeTests(html_common._AcceptStructuredClone); +dart.addTypeCaches(html_common._AcceptStructuredClone); +dart.setMethodSignature(html_common._AcceptStructuredClone, () => ({ + __proto__: dart.getMethods(html_common._AcceptStructuredClone.__proto__), + findSlot: dart.fnType(core.int, [dart.dynamic]), + readSlot: dart.fnType(dart.dynamic, [core.int]), + writeSlot: dart.fnType(dart.dynamic, [core.int, dart.dynamic]), + walk: dart.fnType(dart.dynamic, [dart.dynamic]), + convertNativeToDart_AcceptStructuredClone: dart.fnType(dart.dynamic, [dart.dynamic], {mustCopy: dart.dynamic}, {}) +})); +dart.setLibraryUri(html_common._AcceptStructuredClone, I[150]); +dart.setFieldSignature(html_common._AcceptStructuredClone, () => ({ + __proto__: dart.getFields(html_common._AcceptStructuredClone.__proto__), + values: dart.fieldType(core.List), + copies: dart.fieldType(core.List), + mustCopy: dart.fieldType(core.bool) +})); +html_common.ContextAttributes = class ContextAttributes extends core.Object { + get alpha() { + return this[S$3.alpha]; + } + set alpha(value) { + this[S$3.alpha] = value; + } + get antialias() { + return this[S$3.antialias]; + } + set antialias(value) { + this[S$3.antialias] = value; + } + get depth() { + return this[S$3.depth]; + } + set depth(value) { + this[S$3.depth] = value; + } + get premultipliedAlpha() { + return this[S$3.premultipliedAlpha]; + } + set premultipliedAlpha(value) { + this[S$3.premultipliedAlpha] = value; + } + get preserveDrawingBuffer() { + return this[S$3.preserveDrawingBuffer]; + } + set preserveDrawingBuffer(value) { + this[S$3.preserveDrawingBuffer] = value; + } + get stencil() { + return this[S$3.stencil]; + } + set stencil(value) { + this[S$3.stencil] = value; + } + get failIfMajorPerformanceCaveat() { + return this[S$3.failIfMajorPerformanceCaveat]; + } + set failIfMajorPerformanceCaveat(value) { + this[S$3.failIfMajorPerformanceCaveat] = value; + } +}; +(html_common.ContextAttributes.new = function(alpha, antialias, depth, failIfMajorPerformanceCaveat, premultipliedAlpha, preserveDrawingBuffer, stencil) { + if (alpha == null) dart.nullFailed(I[151], 298, 12, "alpha"); + if (antialias == null) dart.nullFailed(I[151], 299, 12, "antialias"); + if (depth == null) dart.nullFailed(I[151], 300, 12, "depth"); + if (failIfMajorPerformanceCaveat == null) dart.nullFailed(I[151], 301, 12, "failIfMajorPerformanceCaveat"); + if (premultipliedAlpha == null) dart.nullFailed(I[151], 302, 12, "premultipliedAlpha"); + if (preserveDrawingBuffer == null) dart.nullFailed(I[151], 303, 12, "preserveDrawingBuffer"); + if (stencil == null) dart.nullFailed(I[151], 304, 12, "stencil"); + this[S$3.alpha] = alpha; + this[S$3.antialias] = antialias; + this[S$3.depth] = depth; + this[S$3.failIfMajorPerformanceCaveat] = failIfMajorPerformanceCaveat; + this[S$3.premultipliedAlpha] = premultipliedAlpha; + this[S$3.preserveDrawingBuffer] = preserveDrawingBuffer; + this[S$3.stencil] = stencil; + ; +}).prototype = html_common.ContextAttributes.prototype; +dart.addTypeTests(html_common.ContextAttributes); +dart.addTypeCaches(html_common.ContextAttributes); +dart.setLibraryUri(html_common.ContextAttributes, I[150]); +dart.setFieldSignature(html_common.ContextAttributes, () => ({ + __proto__: dart.getFields(html_common.ContextAttributes.__proto__), + alpha: dart.fieldType(core.bool), + antialias: dart.fieldType(core.bool), + depth: dart.fieldType(core.bool), + premultipliedAlpha: dart.fieldType(core.bool), + preserveDrawingBuffer: dart.fieldType(core.bool), + stencil: dart.fieldType(core.bool), + failIfMajorPerformanceCaveat: dart.fieldType(core.bool) +})); +html_common._TypedImageData = class _TypedImageData extends core.Object { + get data() { + return this[S$3.data$1]; + } + set data(value) { + super.data = value; + } + get height() { + return this[S$3.height$1]; + } + set height(value) { + super.height = value; + } + get width() { + return this[S$3.width$1]; + } + set width(value) { + super.width = value; + } +}; +(html_common._TypedImageData.new = function(data, height, width) { + if (data == null) dart.nullFailed(I[151], 330, 24, "data"); + if (height == null) dart.nullFailed(I[151], 330, 35, "height"); + if (width == null) dart.nullFailed(I[151], 330, 48, "width"); + this[S$3.data$1] = data; + this[S$3.height$1] = height; + this[S$3.width$1] = width; + ; +}).prototype = html_common._TypedImageData.prototype; +dart.addTypeTests(html_common._TypedImageData); +dart.addTypeCaches(html_common._TypedImageData); +html_common._TypedImageData[dart.implements] = () => [html$.ImageData]; +dart.setLibraryUri(html_common._TypedImageData, I[150]); +dart.setFieldSignature(html_common._TypedImageData, () => ({ + __proto__: dart.getFields(html_common._TypedImageData.__proto__), + data: dart.finalFieldType(typed_data.Uint8ClampedList), + height: dart.finalFieldType(core.int), + width: dart.finalFieldType(core.int) +})); +dart.defineExtensionAccessors(html_common._TypedImageData, ['data', 'height', 'width']); +html_common._StructuredCloneDart2Js = class _StructuredCloneDart2Js extends html_common._StructuredClone { + newJsObject() { + return {}; + } + forEachObjectKey(object, action) { + if (action == null) dart.nullFailed(I[152], 81, 33, "action"); + for (let key of Object.keys(object)) { + action(key, object[key]); + } + } + putIntoObject(object, key, value) { + return object[key] = value; + } + newJsMap() { + return {}; + } + putIntoMap(map, key, value) { + return map[key] = value; + } + newJsList(length) { + return new Array(length); + } + cloneNotRequired(e) { + return _native_typed_data.NativeByteBuffer.is(e) || _native_typed_data.NativeTypedData.is(e) || html$.MessagePort.is(e); + } +}; +(html_common._StructuredCloneDart2Js.new = function() { + html_common._StructuredCloneDart2Js.__proto__.new.call(this); + ; +}).prototype = html_common._StructuredCloneDart2Js.prototype; +dart.addTypeTests(html_common._StructuredCloneDart2Js); +dart.addTypeCaches(html_common._StructuredCloneDart2Js); +dart.setMethodSignature(html_common._StructuredCloneDart2Js, () => ({ + __proto__: dart.getMethods(html_common._StructuredCloneDart2Js.__proto__), + newJsObject: dart.fnType(_interceptors.JSObject, []), + forEachObjectKey: dart.fnType(dart.void, [dart.dynamic, dart.fnType(dart.dynamic, [dart.dynamic, dart.dynamic])]), + putIntoObject: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic]), + newJsMap: dart.fnType(dart.dynamic, []), + putIntoMap: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic]), + newJsList: dart.fnType(core.List, [dart.dynamic]), + cloneNotRequired: dart.fnType(core.bool, [dart.dynamic]) +})); +dart.setLibraryUri(html_common._StructuredCloneDart2Js, I[150]); +html_common._AcceptStructuredCloneDart2Js = class _AcceptStructuredCloneDart2Js extends html_common._AcceptStructuredClone { + newJsList(length) { + return new Array(length); + } + newDartList(length) { + return this.newJsList(length); + } + identicalInJs(a, b) { + return core.identical(a, b); + } + forEachJsField(object, action) { + if (action == null) dart.nullFailed(I[152], 103, 31, "action"); + for (let key of Object.keys(object)) { + action(key, object[key]); + } + } +}; +(html_common._AcceptStructuredCloneDart2Js.new = function() { + html_common._AcceptStructuredCloneDart2Js.__proto__.new.call(this); + ; +}).prototype = html_common._AcceptStructuredCloneDart2Js.prototype; +dart.addTypeTests(html_common._AcceptStructuredCloneDart2Js); +dart.addTypeCaches(html_common._AcceptStructuredCloneDart2Js); +dart.setMethodSignature(html_common._AcceptStructuredCloneDart2Js, () => ({ + __proto__: dart.getMethods(html_common._AcceptStructuredCloneDart2Js.__proto__), + newJsList: dart.fnType(core.List, [dart.dynamic]), + newDartList: dart.fnType(core.List, [dart.dynamic]), + identicalInJs: dart.fnType(core.bool, [dart.dynamic, dart.dynamic]), + forEachJsField: dart.fnType(dart.void, [dart.dynamic, dart.fnType(dart.dynamic, [dart.dynamic, dart.dynamic])]) +})); +dart.setLibraryUri(html_common._AcceptStructuredCloneDart2Js, I[150]); +html_common.Device = class Device extends core.Object { + static get userAgent() { + return html$.window.navigator.userAgent; + } + static isEventTypeSupported(eventType) { + if (eventType == null) dart.nullFailed(I[153], 52, 43, "eventType"); + try { + let e = html$.Event.eventType(eventType, ""); + return html$.Event.is(e); + } catch (e$) { + let _ = dart.getThrown(e$); + if (core.Object.is(_)) { + } else + throw e$; + } + return false; + } +}; +(html_common.Device.new = function() { + ; +}).prototype = html_common.Device.prototype; +dart.addTypeTests(html_common.Device); +dart.addTypeCaches(html_common.Device); +dart.setLibraryUri(html_common.Device, I[150]); +dart.defineLazy(html_common.Device, { + /*html_common.Device.isOpera*/get isOpera() { + return html_common.Device.userAgent[$contains]("Opera", 0); + }, + /*html_common.Device.isIE*/get isIE() { + return !dart.test(html_common.Device.isOpera) && html_common.Device.userAgent[$contains]("Trident/", 0); + }, + /*html_common.Device.isFirefox*/get isFirefox() { + return html_common.Device.userAgent[$contains]("Firefox", 0); + }, + /*html_common.Device.isWebKit*/get isWebKit() { + return !dart.test(html_common.Device.isOpera) && html_common.Device.userAgent[$contains]("WebKit", 0); + }, + /*html_common.Device.cssPrefix*/get cssPrefix() { + return "-" + dart.str(html_common.Device.propertyPrefix) + "-"; + }, + /*html_common.Device.propertyPrefix*/get propertyPrefix() { + return dart.test(html_common.Device.isFirefox) ? "moz" : dart.test(html_common.Device.isIE) ? "ms" : dart.test(html_common.Device.isOpera) ? "o" : "webkit"; + } +}, false); +html_common.FilteredElementList = class FilteredElementList extends collection.ListBase$(html$.Element) { + get [S$3._iterable$2]() { + return this[S$3._childNodes][$where](dart.fn(n => { + if (n == null) dart.nullFailed(I[154], 30, 26, "n"); + return html$.Element.is(n); + }, T$0.NodeTobool()))[$map](html$.Element, dart.fn(n => { + if (n == null) dart.nullFailed(I[154], 30, 60, "n"); + return html$.Element.as(n); + }, T$0.NodeToElement())); + } + get [S$3._filtered]() { + return T$0.ListOfElement().from(this[S$3._iterable$2], {growable: false}); + } + forEach(f) { + if (f == null) dart.nullFailed(I[154], 34, 21, "f"); + this[S$3._filtered][$forEach](f); + } + _set(index, value$) { + let value = value$; + if (index == null) dart.nullFailed(I[154], 40, 25, "index"); + html$.Element.as(value); + if (value == null) dart.nullFailed(I[154], 40, 40, "value"); + this._get(index)[S$.$replaceWith](value); + return value$; + } + set length(newLength) { + if (newLength == null) dart.nullFailed(I[154], 44, 18, "newLength"); + let len = this.length; + if (dart.notNull(newLength) >= dart.notNull(len)) { + return; + } else if (dart.notNull(newLength) < 0) { + dart.throw(new core.ArgumentError.new("Invalid list length")); + } + this.removeRange(newLength, len); + } + add(value) { + html$.Element.as(value); + if (value == null) dart.nullFailed(I[154], 55, 20, "value"); + this[S$3._childNodes][$add](value); + } + addAll(iterable) { + T$0.IterableOfElement().as(iterable); + if (iterable == null) dart.nullFailed(I[154], 59, 33, "iterable"); + for (let element of iterable) { + this.add(element); + } + } + contains(needle) { + if (!html$.Element.is(needle)) return false; + let element = needle; + return dart.equals(element.parentNode, this[S$3._node]); + } + get reversed() { + return this[S$3._filtered][$reversed]; + } + sort(compare = null) { + dart.throw(new core.UnsupportedError.new("Cannot sort filtered list")); + } + setRange(start, end, iterable, skipCount = 0) { + if (start == null) dart.nullFailed(I[154], 77, 21, "start"); + if (end == null) dart.nullFailed(I[154], 77, 32, "end"); + T$0.IterableOfElement().as(iterable); + if (iterable == null) dart.nullFailed(I[154], 77, 55, "iterable"); + if (skipCount == null) dart.nullFailed(I[154], 78, 12, "skipCount"); + dart.throw(new core.UnsupportedError.new("Cannot setRange on filtered list")); + } + fillRange(start, end, fillValue = null) { + if (start == null) dart.nullFailed(I[154], 82, 22, "start"); + if (end == null) dart.nullFailed(I[154], 82, 33, "end"); + T$0.ElementN().as(fillValue); + dart.throw(new core.UnsupportedError.new("Cannot fillRange on filtered list")); + } + replaceRange(start, end, iterable) { + if (start == null) dart.nullFailed(I[154], 86, 25, "start"); + if (end == null) dart.nullFailed(I[154], 86, 36, "end"); + T$0.IterableOfElement().as(iterable); + if (iterable == null) dart.nullFailed(I[154], 86, 59, "iterable"); + dart.throw(new core.UnsupportedError.new("Cannot replaceRange on filtered list")); + } + removeRange(start, end) { + if (start == null) dart.nullFailed(I[154], 90, 24, "start"); + if (end == null) dart.nullFailed(I[154], 90, 35, "end"); + core.List.from(this[S$3._iterable$2][$skip](start)[$take](dart.notNull(end) - dart.notNull(start)))[$forEach](dart.fn(el => dart.dsend(el, 'remove', []), T$.dynamicTovoid())); + } + clear() { + this[S$3._childNodes][$clear](); + } + removeLast() { + let result = this[S$3._iterable$2][$last]; + if (result != null) { + result[$remove](); + } + return result; + } + insert(index, value) { + if (index == null) dart.nullFailed(I[154], 109, 19, "index"); + html$.Element.as(value); + if (value == null) dart.nullFailed(I[154], 109, 34, "value"); + if (index == this.length) { + this.add(value); + } else { + let element = this[S$3._iterable$2][$elementAt](index); + dart.nullCheck(element.parentNode).insertBefore(value, element); + } + } + insertAll(index, iterable) { + if (index == null) dart.nullFailed(I[154], 118, 22, "index"); + T$0.IterableOfElement().as(iterable); + if (iterable == null) dart.nullFailed(I[154], 118, 47, "iterable"); + if (index == this.length) { + this.addAll(iterable); + } else { + let element = this[S$3._iterable$2][$elementAt](index); + dart.nullCheck(element.parentNode)[S$.$insertAllBefore](iterable, element); + } + } + removeAt(index) { + if (index == null) dart.nullFailed(I[154], 127, 24, "index"); + let result = this._get(index); + result[$remove](); + return result; + } + remove(element) { + if (!html$.Element.is(element)) return false; + if (dart.test(this.contains(element))) { + element[$remove](); + return true; + } else { + return false; + } + } + get length() { + return this[S$3._iterable$2][$length]; + } + _get(index) { + if (index == null) dart.nullFailed(I[154], 144, 27, "index"); + return this[S$3._iterable$2][$elementAt](index); + } + get iterator() { + return this[S$3._filtered][$iterator]; + } + get rawList() { + return this[S$3._node].childNodes; + } +}; +(html_common.FilteredElementList.new = function(node) { + if (node == null) dart.nullFailed(I[154], 23, 28, "node"); + this[S$3._childNodes] = node[S.$nodes]; + this[S$3._node] = node; + ; +}).prototype = html_common.FilteredElementList.prototype; +dart.addTypeTests(html_common.FilteredElementList); +dart.addTypeCaches(html_common.FilteredElementList); +html_common.FilteredElementList[dart.implements] = () => [html_common.NodeListWrapper]; +dart.setMethodSignature(html_common.FilteredElementList, () => ({ + __proto__: dart.getMethods(html_common.FilteredElementList.__proto__), + _set: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), + [$_set]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), + _get: dart.fnType(html$.Element, [core.int]), + [$_get]: dart.fnType(html$.Element, [core.int]) +})); +dart.setGetterSignature(html_common.FilteredElementList, () => ({ + __proto__: dart.getGetters(html_common.FilteredElementList.__proto__), + [S$3._iterable$2]: core.Iterable$(html$.Element), + [S$3._filtered]: core.List$(html$.Element), + length: core.int, + [$length]: core.int, + rawList: core.List$(html$.Node) +})); +dart.setSetterSignature(html_common.FilteredElementList, () => ({ + __proto__: dart.getSetters(html_common.FilteredElementList.__proto__), + length: core.int, + [$length]: core.int +})); +dart.setLibraryUri(html_common.FilteredElementList, I[150]); +dart.setFieldSignature(html_common.FilteredElementList, () => ({ + __proto__: dart.getFields(html_common.FilteredElementList.__proto__), + [S$3._node]: dart.finalFieldType(html$.Node), + [S$3._childNodes]: dart.finalFieldType(core.List$(html$.Node)) +})); +dart.defineExtensionMethods(html_common.FilteredElementList, [ + 'forEach', + '_set', + 'add', + 'addAll', + 'contains', + 'sort', + 'setRange', + 'fillRange', + 'replaceRange', + 'removeRange', + 'clear', + 'removeLast', + 'insert', + 'insertAll', + 'removeAt', + 'remove', + '_get' +]); +dart.defineExtensionAccessors(html_common.FilteredElementList, ['length', 'reversed', 'iterator']); +html_common.Lists = class Lists extends core.Object { + static indexOf(a, element, startIndex, endIndex) { + if (a == null) dart.nullFailed(I[155], 13, 27, "a"); + if (element == null) dart.nullFailed(I[155], 13, 37, "element"); + if (startIndex == null) dart.nullFailed(I[155], 13, 50, "startIndex"); + if (endIndex == null) dart.nullFailed(I[155], 13, 66, "endIndex"); + if (dart.notNull(startIndex) >= dart.notNull(a[$length])) { + return -1; + } + if (dart.notNull(startIndex) < 0) { + startIndex = 0; + } + for (let i = startIndex; dart.notNull(i) < dart.notNull(endIndex); i = dart.notNull(i) + 1) { + if (dart.equals(a[$_get](i), element)) { + return i; + } + } + return -1; + } + static lastIndexOf(a, element, startIndex) { + if (a == null) dart.nullFailed(I[155], 33, 31, "a"); + if (element == null) dart.nullFailed(I[155], 33, 41, "element"); + if (startIndex == null) dart.nullFailed(I[155], 33, 54, "startIndex"); + if (dart.notNull(startIndex) < 0) { + return -1; + } + if (dart.notNull(startIndex) >= dart.notNull(a[$length])) { + startIndex = dart.notNull(a[$length]) - 1; + } + for (let i = startIndex; dart.notNull(i) >= 0; i = dart.notNull(i) - 1) { + if (dart.equals(a[$_get](i), element)) { + return i; + } + } + return -1; + } + static getRange(a, start, end, accumulator) { + if (a == null) dart.nullFailed(I[155], 55, 29, "a"); + if (start == null) dart.nullFailed(I[155], 55, 36, "start"); + if (end == null) dart.nullFailed(I[155], 55, 47, "end"); + if (accumulator == null) dart.nullFailed(I[155], 55, 57, "accumulator"); + if (dart.notNull(start) < 0) dart.throw(new core.RangeError.value(start)); + if (dart.notNull(end) < dart.notNull(start)) dart.throw(new core.RangeError.value(end)); + if (dart.notNull(end) > dart.notNull(a[$length])) dart.throw(new core.RangeError.value(end)); + for (let i = start; dart.notNull(i) < dart.notNull(end); i = dart.notNull(i) + 1) { + accumulator[$add](a[$_get](i)); + } + return accumulator; + } +}; +(html_common.Lists.new = function() { + ; +}).prototype = html_common.Lists.prototype; +dart.addTypeTests(html_common.Lists); +dart.addTypeCaches(html_common.Lists); +dart.setLibraryUri(html_common.Lists, I[150]); +html_common.NodeListWrapper = class NodeListWrapper extends core.Object {}; +(html_common.NodeListWrapper.new = function() { + ; +}).prototype = html_common.NodeListWrapper.prototype; +dart.addTypeTests(html_common.NodeListWrapper); +dart.addTypeCaches(html_common.NodeListWrapper); +dart.setLibraryUri(html_common.NodeListWrapper, I[150]); +html_common.convertDartToNative_SerializedScriptValue = function convertDartToNative_SerializedScriptValue(value) { + return html_common.convertDartToNative_PrepareForStructuredClone(value); +}; +html_common.convertNativeToDart_SerializedScriptValue = function convertNativeToDart_SerializedScriptValue(object) { + return html_common.convertNativeToDart_AcceptStructuredClone(object, {mustCopy: true}); +}; +html_common.convertNativeToDart_ContextAttributes = function convertNativeToDart_ContextAttributes(nativeContextAttributes) { + return new html_common.ContextAttributes.new(nativeContextAttributes.alpha, nativeContextAttributes.antialias, nativeContextAttributes.depth, nativeContextAttributes.failIfMajorPerformanceCaveat, nativeContextAttributes.premultipliedAlpha, nativeContextAttributes.preserveDrawingBuffer, nativeContextAttributes.stencil); +}; +html_common.convertNativeToDart_ImageData = function convertNativeToDart_ImageData(nativeImageData) { + 0; + if (html$.ImageData.is(nativeImageData)) { + let data = nativeImageData.data; + if (data.constructor === Array) { + if (typeof CanvasPixelArray !== "undefined") { + data.constructor = CanvasPixelArray; + data.BYTES_PER_ELEMENT = 1; + } + } + return nativeImageData; + } + return new html_common._TypedImageData.new(nativeImageData.data, nativeImageData.height, nativeImageData.width); +}; +html_common.convertDartToNative_ImageData = function convertDartToNative_ImageData(imageData) { + if (imageData == null) dart.nullFailed(I[151], 369, 41, "imageData"); + if (html_common._TypedImageData.is(imageData)) { + return {data: imageData.data, height: imageData.height, width: imageData.width}; + } + return imageData; +}; +html_common.convertNativeToDart_Dictionary = function convertNativeToDart_Dictionary(object) { + if (object == null) return null; + let dict = new (T$0.IdentityMapOfString$dynamic()).new(); + let keys = Object.getOwnPropertyNames(object); + for (let key of keys) { + dict[$_set](core.String.as(key), object[key]); + } + return dict; +}; +html_common._convertDartToNative_Value = function _convertDartToNative_Value(value) { + if (value == null) return value; + if (typeof value == 'string' || typeof value == 'number' || typeof value == 'boolean') return value; + if (core.Map.is(value)) return html_common.convertDartToNative_Dictionary(value); + if (core.List.is(value)) { + let array = []; + value[$forEach](dart.fn(element => { + array.push(html_common._convertDartToNative_Value(element)); + }, T$.dynamicTovoid())); + value = array; + } + return value; +}; +html_common.convertDartToNative_Dictionary = function convertDartToNative_Dictionary(dict, postCreate = null) { + if (dict == null) return null; + let object = {}; + if (postCreate != null) { + postCreate(object); + } + dict[$forEach](dart.fn((key, value) => { + object[key] = html_common._convertDartToNative_Value(value); + }, T$.dynamicAnddynamicTovoid())); + return object; +}; +html_common.convertDartToNative_StringArray = function convertDartToNative_StringArray(input) { + if (input == null) dart.nullFailed(I[152], 56, 51, "input"); + return input; +}; +html_common.convertNativeToDart_DateTime = function convertNativeToDart_DateTime(date) { + let millisSinceEpoch = date.getTime(); + return new core.DateTime.fromMillisecondsSinceEpoch(millisSinceEpoch, {isUtc: true}); +}; +html_common.convertDartToNative_DateTime = function convertDartToNative_DateTime(date) { + if (date == null) dart.nullFailed(I[152], 66, 39, "date"); + return new Date(date.millisecondsSinceEpoch); +}; +html_common.convertDartToNative_PrepareForStructuredClone = function convertDartToNative_PrepareForStructuredClone(value) { + return new html_common._StructuredCloneDart2Js.new().convertDartToNative_PrepareForStructuredClone(value); +}; +html_common.convertNativeToDart_AcceptStructuredClone = function convertNativeToDart_AcceptStructuredClone(object, opts) { + let mustCopy = opts && 'mustCopy' in opts ? opts.mustCopy : false; + return new html_common._AcceptStructuredCloneDart2Js.new().convertNativeToDart_AcceptStructuredClone(object, {mustCopy: mustCopy}); +}; +html_common.isJavaScriptDate = function isJavaScriptDate(value) { + return value instanceof Date; +}; +html_common.isJavaScriptRegExp = function isJavaScriptRegExp(value) { + return value instanceof RegExp; +}; +html_common.isJavaScriptArray = function isJavaScriptArray(value) { + return value instanceof Array; +}; +html_common.isJavaScriptSimpleObject = function isJavaScriptSimpleObject(value) { + let proto = Object.getPrototypeOf(value); + return proto === Object.prototype || proto === null; +}; +html_common.isImmutableJavaScriptArray = function isImmutableJavaScriptArray(value) { + return !!value.immutable$list; +}; +html_common.isJavaScriptPromise = function isJavaScriptPromise(value) { + return typeof Promise != "undefined" && value instanceof Promise; +}; +dart.defineLazy(html_common, { + /*html_common._serializedScriptValue*/get _serializedScriptValue() { + return "num|String|bool|JSExtendableArray|=Object|Blob|File|NativeByteBuffer|NativeTypedData|MessagePort"; + }, + /*html_common.annotation_Creates_SerializedScriptValue*/get annotation_Creates_SerializedScriptValue() { + return C[416] || CT.C416; + }, + /*html_common.annotation_Returns_SerializedScriptValue*/get annotation_Returns_SerializedScriptValue() { + return C[417] || CT.C417; + } +}, false); +svg$._SvgElementFactoryProvider = class _SvgElementFactoryProvider extends core.Object { + static createSvgElement_tag(tag) { + if (tag == null) dart.nullFailed(I[156], 30, 49, "tag"); + let temp = html$.document[S$1.$createElementNS]("http://www.w3.org/2000/svg", tag); + return svg$.SvgElement.as(temp); + } +}; +(svg$._SvgElementFactoryProvider.new = function() { + ; +}).prototype = svg$._SvgElementFactoryProvider.prototype; +dart.addTypeTests(svg$._SvgElementFactoryProvider); +dart.addTypeCaches(svg$._SvgElementFactoryProvider); +dart.setLibraryUri(svg$._SvgElementFactoryProvider, I[157]); +svg$.SvgElement = class SvgElement extends html$.Element { + static tag(tag) { + if (tag == null) dart.nullFailed(I[156], 2996, 33, "tag"); + return svg$.SvgElement.as(html$.document[S$1.$createElementNS]("http://www.w3.org/2000/svg", tag)); + } + static svg(svg, opts) { + let t247; + if (svg == null) dart.nullFailed(I[156], 2998, 33, "svg"); + let validator = opts && 'validator' in opts ? opts.validator : null; + let treeSanitizer = opts && 'treeSanitizer' in opts ? opts.treeSanitizer : null; + if (validator == null && treeSanitizer == null) { + validator = (t247 = new html$.NodeValidatorBuilder.common(), (() => { + t247.allowSvg(); + return t247; + })()); + } + let match = svg$.SvgElement._START_TAG_REGEXP.firstMatch(svg); + let parentElement = null; + if (match != null && dart.nullCheck(match.group(1))[$toLowerCase]() === "svg") { + parentElement = html$.document.body; + } else { + parentElement = svg$.SvgSvgElement.new(); + } + let fragment = dart.dsend(parentElement, 'createFragment', [svg], {validator: validator, treeSanitizer: treeSanitizer}); + return svg$.SvgElement.as(dart.dload(dart.dsend(dart.dload(fragment, 'nodes'), 'where', [dart.fn(e => svg$.SvgElement.is(e), T$0.dynamicTobool())]), 'single')); + } + get [S.$classes]() { + return new svg$.AttributeClassSet.new(this); + } + set [S.$classes](value) { + super[S.$classes] = value; + } + get [S.$children]() { + return new html_common.FilteredElementList.new(this); + } + set [S.$children](value) { + if (value == null) dart.nullFailed(I[156], 3020, 30, "value"); + let children = this[S.$children]; + children[$clear](); + children[$addAll](value); + } + get [S.$outerHtml]() { + let container = html$.DivElement.new(); + let cloned = svg$.SvgElement.as(this[S$.$clone](true)); + container[S.$children][$add](cloned); + return container[S.$innerHtml]; + } + get [S.$innerHtml]() { + let container = html$.DivElement.new(); + let cloned = svg$.SvgElement.as(this[S$.$clone](true)); + container[S.$children][$addAll](cloned[S.$children]); + return container[S.$innerHtml]; + } + set [S.$innerHtml](value) { + this[S.$setInnerHtml](value); + } + [S.$createFragment](svg, opts) { + let t247; + let validator = opts && 'validator' in opts ? opts.validator : null; + let treeSanitizer = opts && 'treeSanitizer' in opts ? opts.treeSanitizer : null; + if (treeSanitizer == null) { + if (validator == null) { + validator = (t247 = new html$.NodeValidatorBuilder.common(), (() => { + t247.allowSvg(); + return t247; + })()); + } + treeSanitizer = html$.NodeTreeSanitizer.new(validator); + } + let html = "" + dart.str(svg) + ""; + let fragment = dart.nullCheck(html$.document.body)[S.$createFragment](html, {treeSanitizer: treeSanitizer}); + let svgFragment = html$.DocumentFragment.new(); + let root = fragment[S.$nodes][$single]; + while (root.firstChild != null) { + svgFragment[S.$append](dart.nullCheck(root.firstChild)); + } + return svgFragment; + } + [S.$insertAdjacentText](where, text) { + if (where == null) dart.nullFailed(I[156], 3069, 34, "where"); + if (text == null) dart.nullFailed(I[156], 3069, 48, "text"); + dart.throw(new core.UnsupportedError.new("Cannot invoke insertAdjacentText on SVG.")); + } + [S.$insertAdjacentHtml](where, text, opts) { + if (where == null) dart.nullFailed(I[156], 3073, 34, "where"); + if (text == null) dart.nullFailed(I[156], 3073, 48, "text"); + let validator = opts && 'validator' in opts ? opts.validator : null; + let treeSanitizer = opts && 'treeSanitizer' in opts ? opts.treeSanitizer : null; + dart.throw(new core.UnsupportedError.new("Cannot invoke insertAdjacentHtml on SVG.")); + } + [S.$insertAdjacentElement](where, element) { + if (where == null) dart.nullFailed(I[156], 3078, 40, "where"); + if (element == null) dart.nullFailed(I[156], 3078, 55, "element"); + dart.throw(new core.UnsupportedError.new("Cannot invoke insertAdjacentElement on SVG.")); + } + get [S$3._children$1]() { + dart.throw(new core.UnsupportedError.new("Cannot get _children on SVG.")); + } + get [S.$isContentEditable]() { + return false; + } + [S.$click]() { + dart.throw(new core.UnsupportedError.new("Cannot invoke click SVG.")); + } + static isTagSupported(tag) { + if (tag == null) dart.nullFailed(I[156], 3096, 37, "tag"); + let e = svg$.SvgElement.tag(tag); + return svg$.SvgElement.is(e) && !html$.UnknownElement.is(e); + } + get [S$3._svgClassName]() { + return this.className; + } + get [S$3.$ownerSvgElement]() { + return this.ownerSVGElement; + } + get [S$3.$viewportElement]() { + return this.viewportElement; + } + [S.$blur](...args) { + return this.blur.apply(this, args); + } + [S.$focus](...args) { + return this.focus.apply(this, args); + } + get [S.$nonce]() { + return this.nonce; + } + set [S.$nonce](value) { + this.nonce = value; + } + get [S.$onAbort]() { + return svg$.SvgElement.abortEvent.forElement(this); + } + get [S.$onBlur]() { + return svg$.SvgElement.blurEvent.forElement(this); + } + get [S.$onCanPlay]() { + return svg$.SvgElement.canPlayEvent.forElement(this); + } + get [S.$onCanPlayThrough]() { + return svg$.SvgElement.canPlayThroughEvent.forElement(this); + } + get [S.$onChange]() { + return svg$.SvgElement.changeEvent.forElement(this); + } + get [S.$onClick]() { + return svg$.SvgElement.clickEvent.forElement(this); + } + get [S.$onContextMenu]() { + return svg$.SvgElement.contextMenuEvent.forElement(this); + } + get [S.$onDoubleClick]() { + return svg$.SvgElement.doubleClickEvent.forElement(this); + } + get [S.$onDrag]() { + return svg$.SvgElement.dragEvent.forElement(this); + } + get [S.$onDragEnd]() { + return svg$.SvgElement.dragEndEvent.forElement(this); + } + get [S.$onDragEnter]() { + return svg$.SvgElement.dragEnterEvent.forElement(this); + } + get [S.$onDragLeave]() { + return svg$.SvgElement.dragLeaveEvent.forElement(this); + } + get [S.$onDragOver]() { + return svg$.SvgElement.dragOverEvent.forElement(this); + } + get [S.$onDragStart]() { + return svg$.SvgElement.dragStartEvent.forElement(this); + } + get [S.$onDrop]() { + return svg$.SvgElement.dropEvent.forElement(this); + } + get [S.$onDurationChange]() { + return svg$.SvgElement.durationChangeEvent.forElement(this); + } + get [S.$onEmptied]() { + return svg$.SvgElement.emptiedEvent.forElement(this); + } + get [S.$onEnded]() { + return svg$.SvgElement.endedEvent.forElement(this); + } + get [S.$onError]() { + return svg$.SvgElement.errorEvent.forElement(this); + } + get [S.$onFocus]() { + return svg$.SvgElement.focusEvent.forElement(this); + } + get [S.$onInput]() { + return svg$.SvgElement.inputEvent.forElement(this); + } + get [S.$onInvalid]() { + return svg$.SvgElement.invalidEvent.forElement(this); + } + get [S.$onKeyDown]() { + return svg$.SvgElement.keyDownEvent.forElement(this); + } + get [S.$onKeyPress]() { + return svg$.SvgElement.keyPressEvent.forElement(this); + } + get [S.$onKeyUp]() { + return svg$.SvgElement.keyUpEvent.forElement(this); + } + get [S.$onLoad]() { + return svg$.SvgElement.loadEvent.forElement(this); + } + get [S.$onLoadedData]() { + return svg$.SvgElement.loadedDataEvent.forElement(this); + } + get [S.$onLoadedMetadata]() { + return svg$.SvgElement.loadedMetadataEvent.forElement(this); + } + get [S.$onMouseDown]() { + return svg$.SvgElement.mouseDownEvent.forElement(this); + } + get [S.$onMouseEnter]() { + return svg$.SvgElement.mouseEnterEvent.forElement(this); + } + get [S.$onMouseLeave]() { + return svg$.SvgElement.mouseLeaveEvent.forElement(this); + } + get [S.$onMouseMove]() { + return svg$.SvgElement.mouseMoveEvent.forElement(this); + } + get [S.$onMouseOut]() { + return svg$.SvgElement.mouseOutEvent.forElement(this); + } + get [S.$onMouseOver]() { + return svg$.SvgElement.mouseOverEvent.forElement(this); + } + get [S.$onMouseUp]() { + return svg$.SvgElement.mouseUpEvent.forElement(this); + } + get [S.$onMouseWheel]() { + return svg$.SvgElement.mouseWheelEvent.forElement(this); + } + get [S.$onPause]() { + return svg$.SvgElement.pauseEvent.forElement(this); + } + get [S.$onPlay]() { + return svg$.SvgElement.playEvent.forElement(this); + } + get [S.$onPlaying]() { + return svg$.SvgElement.playingEvent.forElement(this); + } + get [S.$onRateChange]() { + return svg$.SvgElement.rateChangeEvent.forElement(this); + } + get [S.$onReset]() { + return svg$.SvgElement.resetEvent.forElement(this); + } + get [S.$onResize]() { + return svg$.SvgElement.resizeEvent.forElement(this); + } + get [S.$onScroll]() { + return svg$.SvgElement.scrollEvent.forElement(this); + } + get [S.$onSeeked]() { + return svg$.SvgElement.seekedEvent.forElement(this); + } + get [S.$onSeeking]() { + return svg$.SvgElement.seekingEvent.forElement(this); + } + get [S.$onSelect]() { + return svg$.SvgElement.selectEvent.forElement(this); + } + get [S.$onStalled]() { + return svg$.SvgElement.stalledEvent.forElement(this); + } + get [S.$onSubmit]() { + return svg$.SvgElement.submitEvent.forElement(this); + } + get [S$.$onSuspend]() { + return svg$.SvgElement.suspendEvent.forElement(this); + } + get [S$.$onTimeUpdate]() { + return svg$.SvgElement.timeUpdateEvent.forElement(this); + } + get [S$.$onTouchCancel]() { + return svg$.SvgElement.touchCancelEvent.forElement(this); + } + get [S$.$onTouchEnd]() { + return svg$.SvgElement.touchEndEvent.forElement(this); + } + get [S$.$onTouchMove]() { + return svg$.SvgElement.touchMoveEvent.forElement(this); + } + get [S$.$onTouchStart]() { + return svg$.SvgElement.touchStartEvent.forElement(this); + } + get [S$.$onVolumeChange]() { + return svg$.SvgElement.volumeChangeEvent.forElement(this); + } + get [S$.$onWaiting]() { + return svg$.SvgElement.waitingEvent.forElement(this); + } + get [S$.$onWheel]() { + return svg$.SvgElement.wheelEvent.forElement(this); + } +}; +(svg$.SvgElement.created = function() { + svg$.SvgElement.__proto__.created.call(this); + ; +}).prototype = svg$.SvgElement.prototype; +dart.addTypeTests(svg$.SvgElement); +dart.addTypeCaches(svg$.SvgElement); +svg$.SvgElement[dart.implements] = () => [html$.GlobalEventHandlers, html$.NoncedElement]; +dart.setGetterSignature(svg$.SvgElement, () => ({ + __proto__: dart.getGetters(svg$.SvgElement.__proto__), + [S$3._children$1]: html$.HtmlCollection, + [S.$isContentEditable]: core.bool, + [S$3._svgClassName]: svg$.AnimatedString, + [S$3.$ownerSvgElement]: dart.nullable(svg$.SvgSvgElement), + [S$3.$viewportElement]: dart.nullable(svg$.SvgElement), + [S.$nonce]: dart.nullable(core.String) +})); +dart.setSetterSignature(svg$.SvgElement, () => ({ + __proto__: dart.getSetters(svg$.SvgElement.__proto__), + [S.$nonce]: dart.nullable(core.String) +})); +dart.setLibraryUri(svg$.SvgElement, I[157]); +dart.defineLazy(svg$.SvgElement, { + /*svg$.SvgElement._START_TAG_REGEXP*/get _START_TAG_REGEXP() { + return core.RegExp.new("<(\\w+)"); + }, + /*svg$.SvgElement.abortEvent*/get abortEvent() { + return C[214] || CT.C214; + }, + /*svg$.SvgElement.blurEvent*/get blurEvent() { + return C[233] || CT.C233; + }, + /*svg$.SvgElement.canPlayEvent*/get canPlayEvent() { + return C[234] || CT.C234; + }, + /*svg$.SvgElement.canPlayThroughEvent*/get canPlayThroughEvent() { + return C[235] || CT.C235; + }, + /*svg$.SvgElement.changeEvent*/get changeEvent() { + return C[236] || CT.C236; + }, + /*svg$.SvgElement.clickEvent*/get clickEvent() { + return C[237] || CT.C237; + }, + /*svg$.SvgElement.contextMenuEvent*/get contextMenuEvent() { + return C[238] || CT.C238; + }, + /*svg$.SvgElement.doubleClickEvent*/get doubleClickEvent() { + return C[241] || CT.C241; + }, + /*svg$.SvgElement.dragEvent*/get dragEvent() { + return C[242] || CT.C242; + }, + /*svg$.SvgElement.dragEndEvent*/get dragEndEvent() { + return C[243] || CT.C243; + }, + /*svg$.SvgElement.dragEnterEvent*/get dragEnterEvent() { + return C[244] || CT.C244; + }, + /*svg$.SvgElement.dragLeaveEvent*/get dragLeaveEvent() { + return C[245] || CT.C245; + }, + /*svg$.SvgElement.dragOverEvent*/get dragOverEvent() { + return C[246] || CT.C246; + }, + /*svg$.SvgElement.dragStartEvent*/get dragStartEvent() { + return C[247] || CT.C247; + }, + /*svg$.SvgElement.dropEvent*/get dropEvent() { + return C[248] || CT.C248; + }, + /*svg$.SvgElement.durationChangeEvent*/get durationChangeEvent() { + return C[249] || CT.C249; + }, + /*svg$.SvgElement.emptiedEvent*/get emptiedEvent() { + return C[250] || CT.C250; + }, + /*svg$.SvgElement.endedEvent*/get endedEvent() { + return C[251] || CT.C251; + }, + /*svg$.SvgElement.errorEvent*/get errorEvent() { + return C[216] || CT.C216; + }, + /*svg$.SvgElement.focusEvent*/get focusEvent() { + return C[252] || CT.C252; + }, + /*svg$.SvgElement.inputEvent*/get inputEvent() { + return C[253] || CT.C253; + }, + /*svg$.SvgElement.invalidEvent*/get invalidEvent() { + return C[254] || CT.C254; + }, + /*svg$.SvgElement.keyDownEvent*/get keyDownEvent() { + return C[255] || CT.C255; + }, + /*svg$.SvgElement.keyPressEvent*/get keyPressEvent() { + return C[256] || CT.C256; + }, + /*svg$.SvgElement.keyUpEvent*/get keyUpEvent() { + return C[257] || CT.C257; + }, + /*svg$.SvgElement.loadEvent*/get loadEvent() { + return C[258] || CT.C258; + }, + /*svg$.SvgElement.loadedDataEvent*/get loadedDataEvent() { + return C[259] || CT.C259; + }, + /*svg$.SvgElement.loadedMetadataEvent*/get loadedMetadataEvent() { + return C[260] || CT.C260; + }, + /*svg$.SvgElement.mouseDownEvent*/get mouseDownEvent() { + return C[261] || CT.C261; + }, + /*svg$.SvgElement.mouseEnterEvent*/get mouseEnterEvent() { + return C[262] || CT.C262; + }, + /*svg$.SvgElement.mouseLeaveEvent*/get mouseLeaveEvent() { + return C[263] || CT.C263; + }, + /*svg$.SvgElement.mouseMoveEvent*/get mouseMoveEvent() { + return C[264] || CT.C264; + }, + /*svg$.SvgElement.mouseOutEvent*/get mouseOutEvent() { + return C[265] || CT.C265; + }, + /*svg$.SvgElement.mouseOverEvent*/get mouseOverEvent() { + return C[266] || CT.C266; + }, + /*svg$.SvgElement.mouseUpEvent*/get mouseUpEvent() { + return C[267] || CT.C267; + }, + /*svg$.SvgElement.mouseWheelEvent*/get mouseWheelEvent() { + return C[342] || CT.C342; + }, + /*svg$.SvgElement.pauseEvent*/get pauseEvent() { + return C[269] || CT.C269; + }, + /*svg$.SvgElement.playEvent*/get playEvent() { + return C[270] || CT.C270; + }, + /*svg$.SvgElement.playingEvent*/get playingEvent() { + return C[271] || CT.C271; + }, + /*svg$.SvgElement.rateChangeEvent*/get rateChangeEvent() { + return C[272] || CT.C272; + }, + /*svg$.SvgElement.resetEvent*/get resetEvent() { + return C[273] || CT.C273; + }, + /*svg$.SvgElement.resizeEvent*/get resizeEvent() { + return C[274] || CT.C274; + }, + /*svg$.SvgElement.scrollEvent*/get scrollEvent() { + return C[275] || CT.C275; + }, + /*svg$.SvgElement.seekedEvent*/get seekedEvent() { + return C[277] || CT.C277; + }, + /*svg$.SvgElement.seekingEvent*/get seekingEvent() { + return C[278] || CT.C278; + }, + /*svg$.SvgElement.selectEvent*/get selectEvent() { + return C[279] || CT.C279; + }, + /*svg$.SvgElement.stalledEvent*/get stalledEvent() { + return C[281] || CT.C281; + }, + /*svg$.SvgElement.submitEvent*/get submitEvent() { + return C[282] || CT.C282; + }, + /*svg$.SvgElement.suspendEvent*/get suspendEvent() { + return C[283] || CT.C283; + }, + /*svg$.SvgElement.timeUpdateEvent*/get timeUpdateEvent() { + return C[284] || CT.C284; + }, + /*svg$.SvgElement.touchCancelEvent*/get touchCancelEvent() { + return C[285] || CT.C285; + }, + /*svg$.SvgElement.touchEndEvent*/get touchEndEvent() { + return C[286] || CT.C286; + }, + /*svg$.SvgElement.touchMoveEvent*/get touchMoveEvent() { + return C[289] || CT.C289; + }, + /*svg$.SvgElement.touchStartEvent*/get touchStartEvent() { + return C[290] || CT.C290; + }, + /*svg$.SvgElement.volumeChangeEvent*/get volumeChangeEvent() { + return C[291] || CT.C291; + }, + /*svg$.SvgElement.waitingEvent*/get waitingEvent() { + return C[292] || CT.C292; + }, + /*svg$.SvgElement.wheelEvent*/get wheelEvent() { + return C[295] || CT.C295; + } +}, false); +dart.registerExtension("SVGElement", svg$.SvgElement); +svg$.GraphicsElement = class GraphicsElement extends svg$.SvgElement { + get [S$3.$farthestViewportElement]() { + return this.farthestViewportElement; + } + get [S$3.$nearestViewportElement]() { + return this.nearestViewportElement; + } + get [S$.$transform]() { + return this.transform; + } + [S$3.$getBBox](...args) { + return this.getBBox.apply(this, args); + } + [S$3.$getCtm](...args) { + return this.getCTM.apply(this, args); + } + [S$3.$getScreenCtm](...args) { + return this.getScreenCTM.apply(this, args); + } + get [S$3.$requiredExtensions]() { + return this.requiredExtensions; + } + get [S$3.$systemLanguage]() { + return this.systemLanguage; + } +}; +(svg$.GraphicsElement.created = function() { + svg$.GraphicsElement.__proto__.created.call(this); + ; +}).prototype = svg$.GraphicsElement.prototype; +dart.addTypeTests(svg$.GraphicsElement); +dart.addTypeCaches(svg$.GraphicsElement); +svg$.GraphicsElement[dart.implements] = () => [svg$.Tests]; +dart.setMethodSignature(svg$.GraphicsElement, () => ({ + __proto__: dart.getMethods(svg$.GraphicsElement.__proto__), + [S$3.$getBBox]: dart.fnType(svg$.Rect, []), + [S$3.$getCtm]: dart.fnType(svg$.Matrix, []), + [S$3.$getScreenCtm]: dart.fnType(svg$.Matrix, []) +})); +dart.setGetterSignature(svg$.GraphicsElement, () => ({ + __proto__: dart.getGetters(svg$.GraphicsElement.__proto__), + [S$3.$farthestViewportElement]: dart.nullable(svg$.SvgElement), + [S$3.$nearestViewportElement]: dart.nullable(svg$.SvgElement), + [S$.$transform]: dart.nullable(svg$.AnimatedTransformList), + [S$3.$requiredExtensions]: dart.nullable(svg$.StringList), + [S$3.$systemLanguage]: dart.nullable(svg$.StringList) +})); +dart.setLibraryUri(svg$.GraphicsElement, I[157]); +dart.registerExtension("SVGGraphicsElement", svg$.GraphicsElement); +svg$.AElement = class AElement extends svg$.GraphicsElement { + static new() { + return svg$.AElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("a")); + } + get [S.$target]() { + return this.target; + } + get [S$.$href]() { + return this.href; + } +}; +(svg$.AElement.created = function() { + svg$.AElement.__proto__.created.call(this); + ; +}).prototype = svg$.AElement.prototype; +dart.addTypeTests(svg$.AElement); +dart.addTypeCaches(svg$.AElement); +svg$.AElement[dart.implements] = () => [svg$.UriReference]; +dart.setGetterSignature(svg$.AElement, () => ({ + __proto__: dart.getGetters(svg$.AElement.__proto__), + [S.$target]: svg$.AnimatedString, + [S$.$href]: dart.nullable(svg$.AnimatedString) +})); +dart.setLibraryUri(svg$.AElement, I[157]); +dart.registerExtension("SVGAElement", svg$.AElement); +svg$.Angle = class Angle extends _interceptors.Interceptor { + get [S$3.$unitType]() { + return this.unitType; + } + get [S.$value]() { + return this.value; + } + set [S.$value](value) { + this.value = value; + } + get [S$3.$valueAsString]() { + return this.valueAsString; + } + set [S$3.$valueAsString](value) { + this.valueAsString = value; + } + get [S$3.$valueInSpecifiedUnits]() { + return this.valueInSpecifiedUnits; + } + set [S$3.$valueInSpecifiedUnits](value) { + this.valueInSpecifiedUnits = value; + } + [S$3.$convertToSpecifiedUnits](...args) { + return this.convertToSpecifiedUnits.apply(this, args); + } + [S$3.$newValueSpecifiedUnits](...args) { + return this.newValueSpecifiedUnits.apply(this, args); + } +}; +dart.addTypeTests(svg$.Angle); +dart.addTypeCaches(svg$.Angle); +dart.setMethodSignature(svg$.Angle, () => ({ + __proto__: dart.getMethods(svg$.Angle.__proto__), + [S$3.$convertToSpecifiedUnits]: dart.fnType(dart.void, [core.int]), + [S$3.$newValueSpecifiedUnits]: dart.fnType(dart.void, [core.int, core.num]) +})); +dart.setGetterSignature(svg$.Angle, () => ({ + __proto__: dart.getGetters(svg$.Angle.__proto__), + [S$3.$unitType]: dart.nullable(core.int), + [S.$value]: dart.nullable(core.num), + [S$3.$valueAsString]: dart.nullable(core.String), + [S$3.$valueInSpecifiedUnits]: dart.nullable(core.num) +})); +dart.setSetterSignature(svg$.Angle, () => ({ + __proto__: dart.getSetters(svg$.Angle.__proto__), + [S.$value]: dart.nullable(core.num), + [S$3.$valueAsString]: dart.nullable(core.String), + [S$3.$valueInSpecifiedUnits]: dart.nullable(core.num) +})); +dart.setLibraryUri(svg$.Angle, I[157]); +dart.defineLazy(svg$.Angle, { + /*svg$.Angle.SVG_ANGLETYPE_DEG*/get SVG_ANGLETYPE_DEG() { + return 2; + }, + /*svg$.Angle.SVG_ANGLETYPE_GRAD*/get SVG_ANGLETYPE_GRAD() { + return 4; + }, + /*svg$.Angle.SVG_ANGLETYPE_RAD*/get SVG_ANGLETYPE_RAD() { + return 3; + }, + /*svg$.Angle.SVG_ANGLETYPE_UNKNOWN*/get SVG_ANGLETYPE_UNKNOWN() { + return 0; + }, + /*svg$.Angle.SVG_ANGLETYPE_UNSPECIFIED*/get SVG_ANGLETYPE_UNSPECIFIED() { + return 1; + } +}, false); +dart.registerExtension("SVGAngle", svg$.Angle); +svg$.AnimationElement = class AnimationElement extends svg$.SvgElement { + static new() { + return svg$.AnimationElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("animation")); + } + get [S$3.$targetElement]() { + return this.targetElement; + } + [S$3.$beginElement](...args) { + return this.beginElement.apply(this, args); + } + [S$3.$beginElementAt](...args) { + return this.beginElementAt.apply(this, args); + } + [S$3.$endElement](...args) { + return this.endElement.apply(this, args); + } + [S$3.$endElementAt](...args) { + return this.endElementAt.apply(this, args); + } + [S$3.$getCurrentTime](...args) { + return this.getCurrentTime.apply(this, args); + } + [S$3.$getSimpleDuration](...args) { + return this.getSimpleDuration.apply(this, args); + } + [S$3.$getStartTime](...args) { + return this.getStartTime.apply(this, args); + } + get [S$3.$requiredExtensions]() { + return this.requiredExtensions; + } + get [S$3.$systemLanguage]() { + return this.systemLanguage; + } +}; +(svg$.AnimationElement.created = function() { + svg$.AnimationElement.__proto__.created.call(this); + ; +}).prototype = svg$.AnimationElement.prototype; +dart.addTypeTests(svg$.AnimationElement); +dart.addTypeCaches(svg$.AnimationElement); +svg$.AnimationElement[dart.implements] = () => [svg$.Tests]; +dart.setMethodSignature(svg$.AnimationElement, () => ({ + __proto__: dart.getMethods(svg$.AnimationElement.__proto__), + [S$3.$beginElement]: dart.fnType(dart.void, []), + [S$3.$beginElementAt]: dart.fnType(dart.void, [core.num]), + [S$3.$endElement]: dart.fnType(dart.void, []), + [S$3.$endElementAt]: dart.fnType(dart.void, [core.num]), + [S$3.$getCurrentTime]: dart.fnType(core.double, []), + [S$3.$getSimpleDuration]: dart.fnType(core.double, []), + [S$3.$getStartTime]: dart.fnType(core.double, []) +})); +dart.setGetterSignature(svg$.AnimationElement, () => ({ + __proto__: dart.getGetters(svg$.AnimationElement.__proto__), + [S$3.$targetElement]: dart.nullable(svg$.SvgElement), + [S$3.$requiredExtensions]: dart.nullable(svg$.StringList), + [S$3.$systemLanguage]: dart.nullable(svg$.StringList) +})); +dart.setLibraryUri(svg$.AnimationElement, I[157]); +dart.registerExtension("SVGAnimationElement", svg$.AnimationElement); +svg$.AnimateElement = class AnimateElement extends svg$.AnimationElement { + static new() { + return svg$.AnimateElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("animate")); + } + static get supported() { + return dart.test(svg$.SvgElement.isTagSupported("animate")) && svg$.AnimateElement.is(svg$.SvgElement.tag("animate")); + } +}; +(svg$.AnimateElement.created = function() { + svg$.AnimateElement.__proto__.created.call(this); + ; +}).prototype = svg$.AnimateElement.prototype; +dart.addTypeTests(svg$.AnimateElement); +dart.addTypeCaches(svg$.AnimateElement); +dart.setLibraryUri(svg$.AnimateElement, I[157]); +dart.registerExtension("SVGAnimateElement", svg$.AnimateElement); +svg$.AnimateMotionElement = class AnimateMotionElement extends svg$.AnimationElement { + static new() { + return svg$.AnimateMotionElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("animateMotion")); + } + static get supported() { + return dart.test(svg$.SvgElement.isTagSupported("animateMotion")) && svg$.AnimateMotionElement.is(svg$.SvgElement.tag("animateMotion")); + } +}; +(svg$.AnimateMotionElement.created = function() { + svg$.AnimateMotionElement.__proto__.created.call(this); + ; +}).prototype = svg$.AnimateMotionElement.prototype; +dart.addTypeTests(svg$.AnimateMotionElement); +dart.addTypeCaches(svg$.AnimateMotionElement); +dart.setLibraryUri(svg$.AnimateMotionElement, I[157]); +dart.registerExtension("SVGAnimateMotionElement", svg$.AnimateMotionElement); +svg$.AnimateTransformElement = class AnimateTransformElement extends svg$.AnimationElement { + static new() { + return svg$.AnimateTransformElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("animateTransform")); + } + static get supported() { + return dart.test(svg$.SvgElement.isTagSupported("animateTransform")) && svg$.AnimateTransformElement.is(svg$.SvgElement.tag("animateTransform")); + } +}; +(svg$.AnimateTransformElement.created = function() { + svg$.AnimateTransformElement.__proto__.created.call(this); + ; +}).prototype = svg$.AnimateTransformElement.prototype; +dart.addTypeTests(svg$.AnimateTransformElement); +dart.addTypeCaches(svg$.AnimateTransformElement); +dart.setLibraryUri(svg$.AnimateTransformElement, I[157]); +dart.registerExtension("SVGAnimateTransformElement", svg$.AnimateTransformElement); +svg$.AnimatedAngle = class AnimatedAngle extends _interceptors.Interceptor { + get [S$3.$animVal]() { + return this.animVal; + } + get [S$3.$baseVal]() { + return this.baseVal; + } +}; +dart.addTypeTests(svg$.AnimatedAngle); +dart.addTypeCaches(svg$.AnimatedAngle); +dart.setGetterSignature(svg$.AnimatedAngle, () => ({ + __proto__: dart.getGetters(svg$.AnimatedAngle.__proto__), + [S$3.$animVal]: dart.nullable(svg$.Angle), + [S$3.$baseVal]: dart.nullable(svg$.Angle) +})); +dart.setLibraryUri(svg$.AnimatedAngle, I[157]); +dart.registerExtension("SVGAnimatedAngle", svg$.AnimatedAngle); +svg$.AnimatedBoolean = class AnimatedBoolean extends _interceptors.Interceptor { + get [S$3.$animVal]() { + return this.animVal; + } + get [S$3.$baseVal]() { + return this.baseVal; + } + set [S$3.$baseVal](value) { + this.baseVal = value; + } +}; +dart.addTypeTests(svg$.AnimatedBoolean); +dart.addTypeCaches(svg$.AnimatedBoolean); +dart.setGetterSignature(svg$.AnimatedBoolean, () => ({ + __proto__: dart.getGetters(svg$.AnimatedBoolean.__proto__), + [S$3.$animVal]: dart.nullable(core.bool), + [S$3.$baseVal]: dart.nullable(core.bool) +})); +dart.setSetterSignature(svg$.AnimatedBoolean, () => ({ + __proto__: dart.getSetters(svg$.AnimatedBoolean.__proto__), + [S$3.$baseVal]: dart.nullable(core.bool) +})); +dart.setLibraryUri(svg$.AnimatedBoolean, I[157]); +dart.registerExtension("SVGAnimatedBoolean", svg$.AnimatedBoolean); +svg$.AnimatedEnumeration = class AnimatedEnumeration extends _interceptors.Interceptor { + get [S$3.$animVal]() { + return this.animVal; + } + get [S$3.$baseVal]() { + return this.baseVal; + } + set [S$3.$baseVal](value) { + this.baseVal = value; + } +}; +dart.addTypeTests(svg$.AnimatedEnumeration); +dart.addTypeCaches(svg$.AnimatedEnumeration); +dart.setGetterSignature(svg$.AnimatedEnumeration, () => ({ + __proto__: dart.getGetters(svg$.AnimatedEnumeration.__proto__), + [S$3.$animVal]: dart.nullable(core.int), + [S$3.$baseVal]: dart.nullable(core.int) +})); +dart.setSetterSignature(svg$.AnimatedEnumeration, () => ({ + __proto__: dart.getSetters(svg$.AnimatedEnumeration.__proto__), + [S$3.$baseVal]: dart.nullable(core.int) +})); +dart.setLibraryUri(svg$.AnimatedEnumeration, I[157]); +dart.registerExtension("SVGAnimatedEnumeration", svg$.AnimatedEnumeration); +svg$.AnimatedInteger = class AnimatedInteger extends _interceptors.Interceptor { + get [S$3.$animVal]() { + return this.animVal; + } + get [S$3.$baseVal]() { + return this.baseVal; + } + set [S$3.$baseVal](value) { + this.baseVal = value; + } +}; +dart.addTypeTests(svg$.AnimatedInteger); +dart.addTypeCaches(svg$.AnimatedInteger); +dart.setGetterSignature(svg$.AnimatedInteger, () => ({ + __proto__: dart.getGetters(svg$.AnimatedInteger.__proto__), + [S$3.$animVal]: dart.nullable(core.int), + [S$3.$baseVal]: dart.nullable(core.int) +})); +dart.setSetterSignature(svg$.AnimatedInteger, () => ({ + __proto__: dart.getSetters(svg$.AnimatedInteger.__proto__), + [S$3.$baseVal]: dart.nullable(core.int) +})); +dart.setLibraryUri(svg$.AnimatedInteger, I[157]); +dart.registerExtension("SVGAnimatedInteger", svg$.AnimatedInteger); +svg$.AnimatedLength = class AnimatedLength extends _interceptors.Interceptor { + get [S$3.$animVal]() { + return this.animVal; + } + get [S$3.$baseVal]() { + return this.baseVal; + } +}; +dart.addTypeTests(svg$.AnimatedLength); +dart.addTypeCaches(svg$.AnimatedLength); +dart.setGetterSignature(svg$.AnimatedLength, () => ({ + __proto__: dart.getGetters(svg$.AnimatedLength.__proto__), + [S$3.$animVal]: dart.nullable(svg$.Length), + [S$3.$baseVal]: dart.nullable(svg$.Length) +})); +dart.setLibraryUri(svg$.AnimatedLength, I[157]); +dart.registerExtension("SVGAnimatedLength", svg$.AnimatedLength); +svg$.AnimatedLengthList = class AnimatedLengthList extends _interceptors.Interceptor { + get [S$3.$animVal]() { + return this.animVal; + } + get [S$3.$baseVal]() { + return this.baseVal; + } +}; +dart.addTypeTests(svg$.AnimatedLengthList); +dart.addTypeCaches(svg$.AnimatedLengthList); +dart.setGetterSignature(svg$.AnimatedLengthList, () => ({ + __proto__: dart.getGetters(svg$.AnimatedLengthList.__proto__), + [S$3.$animVal]: dart.nullable(svg$.LengthList), + [S$3.$baseVal]: dart.nullable(svg$.LengthList) +})); +dart.setLibraryUri(svg$.AnimatedLengthList, I[157]); +dart.registerExtension("SVGAnimatedLengthList", svg$.AnimatedLengthList); +svg$.AnimatedNumber = class AnimatedNumber extends _interceptors.Interceptor { + get [S$3.$animVal]() { + return this.animVal; + } + get [S$3.$baseVal]() { + return this.baseVal; + } + set [S$3.$baseVal](value) { + this.baseVal = value; + } +}; +dart.addTypeTests(svg$.AnimatedNumber); +dart.addTypeCaches(svg$.AnimatedNumber); +dart.setGetterSignature(svg$.AnimatedNumber, () => ({ + __proto__: dart.getGetters(svg$.AnimatedNumber.__proto__), + [S$3.$animVal]: dart.nullable(core.num), + [S$3.$baseVal]: dart.nullable(core.num) +})); +dart.setSetterSignature(svg$.AnimatedNumber, () => ({ + __proto__: dart.getSetters(svg$.AnimatedNumber.__proto__), + [S$3.$baseVal]: dart.nullable(core.num) +})); +dart.setLibraryUri(svg$.AnimatedNumber, I[157]); +dart.registerExtension("SVGAnimatedNumber", svg$.AnimatedNumber); +svg$.AnimatedNumberList = class AnimatedNumberList extends _interceptors.Interceptor { + get [S$3.$animVal]() { + return this.animVal; + } + get [S$3.$baseVal]() { + return this.baseVal; + } +}; +dart.addTypeTests(svg$.AnimatedNumberList); +dart.addTypeCaches(svg$.AnimatedNumberList); +dart.setGetterSignature(svg$.AnimatedNumberList, () => ({ + __proto__: dart.getGetters(svg$.AnimatedNumberList.__proto__), + [S$3.$animVal]: dart.nullable(svg$.NumberList), + [S$3.$baseVal]: dart.nullable(svg$.NumberList) +})); +dart.setLibraryUri(svg$.AnimatedNumberList, I[157]); +dart.registerExtension("SVGAnimatedNumberList", svg$.AnimatedNumberList); +svg$.AnimatedPreserveAspectRatio = class AnimatedPreserveAspectRatio extends _interceptors.Interceptor { + get [S$3.$animVal]() { + return this.animVal; + } + get [S$3.$baseVal]() { + return this.baseVal; + } +}; +dart.addTypeTests(svg$.AnimatedPreserveAspectRatio); +dart.addTypeCaches(svg$.AnimatedPreserveAspectRatio); +dart.setGetterSignature(svg$.AnimatedPreserveAspectRatio, () => ({ + __proto__: dart.getGetters(svg$.AnimatedPreserveAspectRatio.__proto__), + [S$3.$animVal]: dart.nullable(svg$.PreserveAspectRatio), + [S$3.$baseVal]: dart.nullable(svg$.PreserveAspectRatio) +})); +dart.setLibraryUri(svg$.AnimatedPreserveAspectRatio, I[157]); +dart.registerExtension("SVGAnimatedPreserveAspectRatio", svg$.AnimatedPreserveAspectRatio); +svg$.AnimatedRect = class AnimatedRect extends _interceptors.Interceptor { + get [S$3.$animVal]() { + return this.animVal; + } + get [S$3.$baseVal]() { + return this.baseVal; + } +}; +dart.addTypeTests(svg$.AnimatedRect); +dart.addTypeCaches(svg$.AnimatedRect); +dart.setGetterSignature(svg$.AnimatedRect, () => ({ + __proto__: dart.getGetters(svg$.AnimatedRect.__proto__), + [S$3.$animVal]: dart.nullable(svg$.Rect), + [S$3.$baseVal]: dart.nullable(svg$.Rect) +})); +dart.setLibraryUri(svg$.AnimatedRect, I[157]); +dart.registerExtension("SVGAnimatedRect", svg$.AnimatedRect); +svg$.AnimatedString = class AnimatedString extends _interceptors.Interceptor { + get [S$3.$animVal]() { + return this.animVal; + } + get [S$3.$baseVal]() { + return this.baseVal; + } + set [S$3.$baseVal](value) { + this.baseVal = value; + } +}; +dart.addTypeTests(svg$.AnimatedString); +dart.addTypeCaches(svg$.AnimatedString); +dart.setGetterSignature(svg$.AnimatedString, () => ({ + __proto__: dart.getGetters(svg$.AnimatedString.__proto__), + [S$3.$animVal]: dart.nullable(core.String), + [S$3.$baseVal]: dart.nullable(core.String) +})); +dart.setSetterSignature(svg$.AnimatedString, () => ({ + __proto__: dart.getSetters(svg$.AnimatedString.__proto__), + [S$3.$baseVal]: dart.nullable(core.String) +})); +dart.setLibraryUri(svg$.AnimatedString, I[157]); +dart.registerExtension("SVGAnimatedString", svg$.AnimatedString); +svg$.AnimatedTransformList = class AnimatedTransformList extends _interceptors.Interceptor { + get [S$3.$animVal]() { + return this.animVal; + } + get [S$3.$baseVal]() { + return this.baseVal; + } +}; +dart.addTypeTests(svg$.AnimatedTransformList); +dart.addTypeCaches(svg$.AnimatedTransformList); +dart.setGetterSignature(svg$.AnimatedTransformList, () => ({ + __proto__: dart.getGetters(svg$.AnimatedTransformList.__proto__), + [S$3.$animVal]: dart.nullable(svg$.TransformList), + [S$3.$baseVal]: dart.nullable(svg$.TransformList) +})); +dart.setLibraryUri(svg$.AnimatedTransformList, I[157]); +dart.registerExtension("SVGAnimatedTransformList", svg$.AnimatedTransformList); +svg$.GeometryElement = class GeometryElement extends svg$.GraphicsElement { + get [S$3.$pathLength]() { + return this.pathLength; + } + [S$3.$getPointAtLength](...args) { + return this.getPointAtLength.apply(this, args); + } + [S$3.$getTotalLength](...args) { + return this.getTotalLength.apply(this, args); + } + [S$3.$isPointInFill](...args) { + return this.isPointInFill.apply(this, args); + } + [S$.$isPointInStroke](...args) { + return this.isPointInStroke.apply(this, args); + } +}; +(svg$.GeometryElement.created = function() { + svg$.GeometryElement.__proto__.created.call(this); + ; +}).prototype = svg$.GeometryElement.prototype; +dart.addTypeTests(svg$.GeometryElement); +dart.addTypeCaches(svg$.GeometryElement); +dart.setMethodSignature(svg$.GeometryElement, () => ({ + __proto__: dart.getMethods(svg$.GeometryElement.__proto__), + [S$3.$getPointAtLength]: dart.fnType(svg$.Point, [core.num]), + [S$3.$getTotalLength]: dart.fnType(core.double, []), + [S$3.$isPointInFill]: dart.fnType(core.bool, [svg$.Point]), + [S$.$isPointInStroke]: dart.fnType(core.bool, [svg$.Point]) +})); +dart.setGetterSignature(svg$.GeometryElement, () => ({ + __proto__: dart.getGetters(svg$.GeometryElement.__proto__), + [S$3.$pathLength]: dart.nullable(svg$.AnimatedNumber) +})); +dart.setLibraryUri(svg$.GeometryElement, I[157]); +dart.registerExtension("SVGGeometryElement", svg$.GeometryElement); +svg$.CircleElement = class CircleElement extends svg$.GeometryElement { + static new() { + return svg$.CircleElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("circle")); + } + get [S$3.$cx]() { + return this.cx; + } + get [S$3.$cy]() { + return this.cy; + } + get [S$3.$r]() { + return this.r; + } +}; +(svg$.CircleElement.created = function() { + svg$.CircleElement.__proto__.created.call(this); + ; +}).prototype = svg$.CircleElement.prototype; +dart.addTypeTests(svg$.CircleElement); +dart.addTypeCaches(svg$.CircleElement); +dart.setGetterSignature(svg$.CircleElement, () => ({ + __proto__: dart.getGetters(svg$.CircleElement.__proto__), + [S$3.$cx]: dart.nullable(svg$.AnimatedLength), + [S$3.$cy]: dart.nullable(svg$.AnimatedLength), + [S$3.$r]: dart.nullable(svg$.AnimatedLength) +})); +dart.setLibraryUri(svg$.CircleElement, I[157]); +dart.registerExtension("SVGCircleElement", svg$.CircleElement); +svg$.ClipPathElement = class ClipPathElement extends svg$.GraphicsElement { + static new() { + return svg$.ClipPathElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("clipPath")); + } + get [S$3.$clipPathUnits]() { + return this.clipPathUnits; + } +}; +(svg$.ClipPathElement.created = function() { + svg$.ClipPathElement.__proto__.created.call(this); + ; +}).prototype = svg$.ClipPathElement.prototype; +dart.addTypeTests(svg$.ClipPathElement); +dart.addTypeCaches(svg$.ClipPathElement); +dart.setGetterSignature(svg$.ClipPathElement, () => ({ + __proto__: dart.getGetters(svg$.ClipPathElement.__proto__), + [S$3.$clipPathUnits]: dart.nullable(svg$.AnimatedEnumeration) +})); +dart.setLibraryUri(svg$.ClipPathElement, I[157]); +dart.registerExtension("SVGClipPathElement", svg$.ClipPathElement); +svg$.DefsElement = class DefsElement extends svg$.GraphicsElement { + static new() { + return svg$.DefsElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("defs")); + } +}; +(svg$.DefsElement.created = function() { + svg$.DefsElement.__proto__.created.call(this); + ; +}).prototype = svg$.DefsElement.prototype; +dart.addTypeTests(svg$.DefsElement); +dart.addTypeCaches(svg$.DefsElement); +dart.setLibraryUri(svg$.DefsElement, I[157]); +dart.registerExtension("SVGDefsElement", svg$.DefsElement); +svg$.DescElement = class DescElement extends svg$.SvgElement { + static new() { + return svg$.DescElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("desc")); + } +}; +(svg$.DescElement.created = function() { + svg$.DescElement.__proto__.created.call(this); + ; +}).prototype = svg$.DescElement.prototype; +dart.addTypeTests(svg$.DescElement); +dart.addTypeCaches(svg$.DescElement); +dart.setLibraryUri(svg$.DescElement, I[157]); +dart.registerExtension("SVGDescElement", svg$.DescElement); +svg$.DiscardElement = class DiscardElement extends svg$.SvgElement {}; +(svg$.DiscardElement.created = function() { + svg$.DiscardElement.__proto__.created.call(this); + ; +}).prototype = svg$.DiscardElement.prototype; +dart.addTypeTests(svg$.DiscardElement); +dart.addTypeCaches(svg$.DiscardElement); +dart.setLibraryUri(svg$.DiscardElement, I[157]); +dart.registerExtension("SVGDiscardElement", svg$.DiscardElement); +svg$.EllipseElement = class EllipseElement extends svg$.GeometryElement { + static new() { + return svg$.EllipseElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("ellipse")); + } + get [S$3.$cx]() { + return this.cx; + } + get [S$3.$cy]() { + return this.cy; + } + get [S$3.$rx]() { + return this.rx; + } + get [S$3.$ry]() { + return this.ry; + } +}; +(svg$.EllipseElement.created = function() { + svg$.EllipseElement.__proto__.created.call(this); + ; +}).prototype = svg$.EllipseElement.prototype; +dart.addTypeTests(svg$.EllipseElement); +dart.addTypeCaches(svg$.EllipseElement); +dart.setGetterSignature(svg$.EllipseElement, () => ({ + __proto__: dart.getGetters(svg$.EllipseElement.__proto__), + [S$3.$cx]: dart.nullable(svg$.AnimatedLength), + [S$3.$cy]: dart.nullable(svg$.AnimatedLength), + [S$3.$rx]: dart.nullable(svg$.AnimatedLength), + [S$3.$ry]: dart.nullable(svg$.AnimatedLength) +})); +dart.setLibraryUri(svg$.EllipseElement, I[157]); +dart.registerExtension("SVGEllipseElement", svg$.EllipseElement); +svg$.FEBlendElement = class FEBlendElement extends svg$.SvgElement { + static new() { + return svg$.FEBlendElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("feBlend")); + } + static get supported() { + return dart.test(svg$.SvgElement.isTagSupported("feBlend")) && svg$.FEBlendElement.is(svg$.SvgElement.tag("feBlend")); + } + get [S$3.$in1]() { + return this.in1; + } + get [S$3.$in2]() { + return this.in2; + } + get [S.$mode]() { + return this.mode; + } + get [$height]() { + return this.height; + } + get [S.$result]() { + return this.result; + } + get [$width]() { + return this.width; + } + get [S$.$x]() { + return this.x; + } + get [S$.$y]() { + return this.y; + } +}; +(svg$.FEBlendElement.created = function() { + svg$.FEBlendElement.__proto__.created.call(this); + ; +}).prototype = svg$.FEBlendElement.prototype; +dart.addTypeTests(svg$.FEBlendElement); +dart.addTypeCaches(svg$.FEBlendElement); +svg$.FEBlendElement[dart.implements] = () => [svg$.FilterPrimitiveStandardAttributes]; +dart.setGetterSignature(svg$.FEBlendElement, () => ({ + __proto__: dart.getGetters(svg$.FEBlendElement.__proto__), + [S$3.$in1]: dart.nullable(svg$.AnimatedString), + [S$3.$in2]: dart.nullable(svg$.AnimatedString), + [S.$mode]: dart.nullable(svg$.AnimatedEnumeration), + [$height]: dart.nullable(svg$.AnimatedLength), + [S.$result]: dart.nullable(svg$.AnimatedString), + [$width]: dart.nullable(svg$.AnimatedLength), + [S$.$x]: dart.nullable(svg$.AnimatedLength), + [S$.$y]: dart.nullable(svg$.AnimatedLength) +})); +dart.setLibraryUri(svg$.FEBlendElement, I[157]); +dart.defineLazy(svg$.FEBlendElement, { + /*svg$.FEBlendElement.SVG_FEBLEND_MODE_DARKEN*/get SVG_FEBLEND_MODE_DARKEN() { + return 4; + }, + /*svg$.FEBlendElement.SVG_FEBLEND_MODE_LIGHTEN*/get SVG_FEBLEND_MODE_LIGHTEN() { + return 5; + }, + /*svg$.FEBlendElement.SVG_FEBLEND_MODE_MULTIPLY*/get SVG_FEBLEND_MODE_MULTIPLY() { + return 2; + }, + /*svg$.FEBlendElement.SVG_FEBLEND_MODE_NORMAL*/get SVG_FEBLEND_MODE_NORMAL() { + return 1; + }, + /*svg$.FEBlendElement.SVG_FEBLEND_MODE_SCREEN*/get SVG_FEBLEND_MODE_SCREEN() { + return 3; + }, + /*svg$.FEBlendElement.SVG_FEBLEND_MODE_UNKNOWN*/get SVG_FEBLEND_MODE_UNKNOWN() { + return 0; + } +}, false); +dart.registerExtension("SVGFEBlendElement", svg$.FEBlendElement); +svg$.FEColorMatrixElement = class FEColorMatrixElement extends svg$.SvgElement { + static new() { + return svg$.FEColorMatrixElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("feColorMatrix")); + } + static get supported() { + return dart.test(svg$.SvgElement.isTagSupported("feColorMatrix")) && svg$.FEColorMatrixElement.is(svg$.SvgElement.tag("feColorMatrix")); + } + get [S$3.$in1]() { + return this.in1; + } + get [S.$type]() { + return this.type; + } + get [$values]() { + return this.values; + } + get [$height]() { + return this.height; + } + get [S.$result]() { + return this.result; + } + get [$width]() { + return this.width; + } + get [S$.$x]() { + return this.x; + } + get [S$.$y]() { + return this.y; + } +}; +(svg$.FEColorMatrixElement.created = function() { + svg$.FEColorMatrixElement.__proto__.created.call(this); + ; +}).prototype = svg$.FEColorMatrixElement.prototype; +dart.addTypeTests(svg$.FEColorMatrixElement); +dart.addTypeCaches(svg$.FEColorMatrixElement); +svg$.FEColorMatrixElement[dart.implements] = () => [svg$.FilterPrimitiveStandardAttributes]; +dart.setGetterSignature(svg$.FEColorMatrixElement, () => ({ + __proto__: dart.getGetters(svg$.FEColorMatrixElement.__proto__), + [S$3.$in1]: svg$.AnimatedString, + [S.$type]: dart.nullable(svg$.AnimatedEnumeration), + [$values]: dart.nullable(svg$.AnimatedNumberList), + [$height]: dart.nullable(svg$.AnimatedLength), + [S.$result]: dart.nullable(svg$.AnimatedString), + [$width]: dart.nullable(svg$.AnimatedLength), + [S$.$x]: dart.nullable(svg$.AnimatedLength), + [S$.$y]: dart.nullable(svg$.AnimatedLength) +})); +dart.setLibraryUri(svg$.FEColorMatrixElement, I[157]); +dart.defineLazy(svg$.FEColorMatrixElement, { + /*svg$.FEColorMatrixElement.SVG_FECOLORMATRIX_TYPE_HUEROTATE*/get SVG_FECOLORMATRIX_TYPE_HUEROTATE() { + return 3; + }, + /*svg$.FEColorMatrixElement.SVG_FECOLORMATRIX_TYPE_LUMINANCETOALPHA*/get SVG_FECOLORMATRIX_TYPE_LUMINANCETOALPHA() { + return 4; + }, + /*svg$.FEColorMatrixElement.SVG_FECOLORMATRIX_TYPE_MATRIX*/get SVG_FECOLORMATRIX_TYPE_MATRIX() { + return 1; + }, + /*svg$.FEColorMatrixElement.SVG_FECOLORMATRIX_TYPE_SATURATE*/get SVG_FECOLORMATRIX_TYPE_SATURATE() { + return 2; + }, + /*svg$.FEColorMatrixElement.SVG_FECOLORMATRIX_TYPE_UNKNOWN*/get SVG_FECOLORMATRIX_TYPE_UNKNOWN() { + return 0; + } +}, false); +dart.registerExtension("SVGFEColorMatrixElement", svg$.FEColorMatrixElement); +svg$.FEComponentTransferElement = class FEComponentTransferElement extends svg$.SvgElement { + static new() { + return svg$.FEComponentTransferElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("feComponentTransfer")); + } + static get supported() { + return dart.test(svg$.SvgElement.isTagSupported("feComponentTransfer")) && svg$.FEComponentTransferElement.is(svg$.SvgElement.tag("feComponentTransfer")); + } + get [S$3.$in1]() { + return this.in1; + } + get [$height]() { + return this.height; + } + get [S.$result]() { + return this.result; + } + get [$width]() { + return this.width; + } + get [S$.$x]() { + return this.x; + } + get [S$.$y]() { + return this.y; + } +}; +(svg$.FEComponentTransferElement.created = function() { + svg$.FEComponentTransferElement.__proto__.created.call(this); + ; +}).prototype = svg$.FEComponentTransferElement.prototype; +dart.addTypeTests(svg$.FEComponentTransferElement); +dart.addTypeCaches(svg$.FEComponentTransferElement); +svg$.FEComponentTransferElement[dart.implements] = () => [svg$.FilterPrimitiveStandardAttributes]; +dart.setGetterSignature(svg$.FEComponentTransferElement, () => ({ + __proto__: dart.getGetters(svg$.FEComponentTransferElement.__proto__), + [S$3.$in1]: dart.nullable(svg$.AnimatedString), + [$height]: dart.nullable(svg$.AnimatedLength), + [S.$result]: dart.nullable(svg$.AnimatedString), + [$width]: dart.nullable(svg$.AnimatedLength), + [S$.$x]: dart.nullable(svg$.AnimatedLength), + [S$.$y]: dart.nullable(svg$.AnimatedLength) +})); +dart.setLibraryUri(svg$.FEComponentTransferElement, I[157]); +dart.registerExtension("SVGFEComponentTransferElement", svg$.FEComponentTransferElement); +svg$.FECompositeElement = class FECompositeElement extends svg$.SvgElement { + get [S$3.$in1]() { + return this.in1; + } + get [S$3.$in2]() { + return this.in2; + } + get [S$3.$k1]() { + return this.k1; + } + get [S$3.$k2]() { + return this.k2; + } + get [S$3.$k3]() { + return this.k3; + } + get [S$3.$k4]() { + return this.k4; + } + get [S$3.$operator]() { + return this.operator; + } + get [$height]() { + return this.height; + } + get [S.$result]() { + return this.result; + } + get [$width]() { + return this.width; + } + get [S$.$x]() { + return this.x; + } + get [S$.$y]() { + return this.y; + } +}; +(svg$.FECompositeElement.created = function() { + svg$.FECompositeElement.__proto__.created.call(this); + ; +}).prototype = svg$.FECompositeElement.prototype; +dart.addTypeTests(svg$.FECompositeElement); +dart.addTypeCaches(svg$.FECompositeElement); +svg$.FECompositeElement[dart.implements] = () => [svg$.FilterPrimitiveStandardAttributes]; +dart.setGetterSignature(svg$.FECompositeElement, () => ({ + __proto__: dart.getGetters(svg$.FECompositeElement.__proto__), + [S$3.$in1]: dart.nullable(svg$.AnimatedString), + [S$3.$in2]: dart.nullable(svg$.AnimatedString), + [S$3.$k1]: dart.nullable(svg$.AnimatedNumber), + [S$3.$k2]: dart.nullable(svg$.AnimatedNumber), + [S$3.$k3]: dart.nullable(svg$.AnimatedNumber), + [S$3.$k4]: dart.nullable(svg$.AnimatedNumber), + [S$3.$operator]: dart.nullable(svg$.AnimatedEnumeration), + [$height]: dart.nullable(svg$.AnimatedLength), + [S.$result]: dart.nullable(svg$.AnimatedString), + [$width]: dart.nullable(svg$.AnimatedLength), + [S$.$x]: dart.nullable(svg$.AnimatedLength), + [S$.$y]: dart.nullable(svg$.AnimatedLength) +})); +dart.setLibraryUri(svg$.FECompositeElement, I[157]); +dart.defineLazy(svg$.FECompositeElement, { + /*svg$.FECompositeElement.SVG_FECOMPOSITE_OPERATOR_ARITHMETIC*/get SVG_FECOMPOSITE_OPERATOR_ARITHMETIC() { + return 6; + }, + /*svg$.FECompositeElement.SVG_FECOMPOSITE_OPERATOR_ATOP*/get SVG_FECOMPOSITE_OPERATOR_ATOP() { + return 4; + }, + /*svg$.FECompositeElement.SVG_FECOMPOSITE_OPERATOR_IN*/get SVG_FECOMPOSITE_OPERATOR_IN() { + return 2; + }, + /*svg$.FECompositeElement.SVG_FECOMPOSITE_OPERATOR_OUT*/get SVG_FECOMPOSITE_OPERATOR_OUT() { + return 3; + }, + /*svg$.FECompositeElement.SVG_FECOMPOSITE_OPERATOR_OVER*/get SVG_FECOMPOSITE_OPERATOR_OVER() { + return 1; + }, + /*svg$.FECompositeElement.SVG_FECOMPOSITE_OPERATOR_UNKNOWN*/get SVG_FECOMPOSITE_OPERATOR_UNKNOWN() { + return 0; + }, + /*svg$.FECompositeElement.SVG_FECOMPOSITE_OPERATOR_XOR*/get SVG_FECOMPOSITE_OPERATOR_XOR() { + return 5; + } +}, false); +dart.registerExtension("SVGFECompositeElement", svg$.FECompositeElement); +svg$.FEConvolveMatrixElement = class FEConvolveMatrixElement extends svg$.SvgElement { + static new() { + return svg$.FEConvolveMatrixElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("feConvolveMatrix")); + } + static get supported() { + return dart.test(svg$.SvgElement.isTagSupported("feConvolveMatrix")) && svg$.FEConvolveMatrixElement.is(svg$.SvgElement.tag("feConvolveMatrix")); + } + get [S$3.$bias]() { + return this.bias; + } + get [S$3.$divisor]() { + return this.divisor; + } + get [S$3.$edgeMode]() { + return this.edgeMode; + } + get [S$3.$in1]() { + return this.in1; + } + get [S$3.$kernelMatrix]() { + return this.kernelMatrix; + } + get [S$3.$kernelUnitLengthX]() { + return this.kernelUnitLengthX; + } + get [S$3.$kernelUnitLengthY]() { + return this.kernelUnitLengthY; + } + get [S$3.$orderX]() { + return this.orderX; + } + get [S$3.$orderY]() { + return this.orderY; + } + get [S$3.$preserveAlpha]() { + return this.preserveAlpha; + } + get [S$3.$targetX]() { + return this.targetX; + } + get [S$3.$targetY]() { + return this.targetY; + } + get [$height]() { + return this.height; + } + get [S.$result]() { + return this.result; + } + get [$width]() { + return this.width; + } + get [S$.$x]() { + return this.x; + } + get [S$.$y]() { + return this.y; + } +}; +(svg$.FEConvolveMatrixElement.created = function() { + svg$.FEConvolveMatrixElement.__proto__.created.call(this); + ; +}).prototype = svg$.FEConvolveMatrixElement.prototype; +dart.addTypeTests(svg$.FEConvolveMatrixElement); +dart.addTypeCaches(svg$.FEConvolveMatrixElement); +svg$.FEConvolveMatrixElement[dart.implements] = () => [svg$.FilterPrimitiveStandardAttributes]; +dart.setGetterSignature(svg$.FEConvolveMatrixElement, () => ({ + __proto__: dart.getGetters(svg$.FEConvolveMatrixElement.__proto__), + [S$3.$bias]: dart.nullable(svg$.AnimatedNumber), + [S$3.$divisor]: dart.nullable(svg$.AnimatedNumber), + [S$3.$edgeMode]: dart.nullable(svg$.AnimatedEnumeration), + [S$3.$in1]: dart.nullable(svg$.AnimatedString), + [S$3.$kernelMatrix]: dart.nullable(svg$.AnimatedNumberList), + [S$3.$kernelUnitLengthX]: dart.nullable(svg$.AnimatedNumber), + [S$3.$kernelUnitLengthY]: dart.nullable(svg$.AnimatedNumber), + [S$3.$orderX]: dart.nullable(svg$.AnimatedInteger), + [S$3.$orderY]: dart.nullable(svg$.AnimatedInteger), + [S$3.$preserveAlpha]: dart.nullable(svg$.AnimatedBoolean), + [S$3.$targetX]: dart.nullable(svg$.AnimatedInteger), + [S$3.$targetY]: dart.nullable(svg$.AnimatedInteger), + [$height]: dart.nullable(svg$.AnimatedLength), + [S.$result]: dart.nullable(svg$.AnimatedString), + [$width]: dart.nullable(svg$.AnimatedLength), + [S$.$x]: dart.nullable(svg$.AnimatedLength), + [S$.$y]: dart.nullable(svg$.AnimatedLength) +})); +dart.setLibraryUri(svg$.FEConvolveMatrixElement, I[157]); +dart.defineLazy(svg$.FEConvolveMatrixElement, { + /*svg$.FEConvolveMatrixElement.SVG_EDGEMODE_DUPLICATE*/get SVG_EDGEMODE_DUPLICATE() { + return 1; + }, + /*svg$.FEConvolveMatrixElement.SVG_EDGEMODE_NONE*/get SVG_EDGEMODE_NONE() { + return 3; + }, + /*svg$.FEConvolveMatrixElement.SVG_EDGEMODE_UNKNOWN*/get SVG_EDGEMODE_UNKNOWN() { + return 0; + }, + /*svg$.FEConvolveMatrixElement.SVG_EDGEMODE_WRAP*/get SVG_EDGEMODE_WRAP() { + return 2; + } +}, false); +dart.registerExtension("SVGFEConvolveMatrixElement", svg$.FEConvolveMatrixElement); +svg$.FEDiffuseLightingElement = class FEDiffuseLightingElement extends svg$.SvgElement { + static new() { + return svg$.FEDiffuseLightingElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("feDiffuseLighting")); + } + static get supported() { + return dart.test(svg$.SvgElement.isTagSupported("feDiffuseLighting")) && svg$.FEDiffuseLightingElement.is(svg$.SvgElement.tag("feDiffuseLighting")); + } + get [S$3.$diffuseConstant]() { + return this.diffuseConstant; + } + get [S$3.$in1]() { + return this.in1; + } + get [S$3.$kernelUnitLengthX]() { + return this.kernelUnitLengthX; + } + get [S$3.$kernelUnitLengthY]() { + return this.kernelUnitLengthY; + } + get [S$3.$surfaceScale]() { + return this.surfaceScale; + } + get [$height]() { + return this.height; + } + get [S.$result]() { + return this.result; + } + get [$width]() { + return this.width; + } + get [S$.$x]() { + return this.x; + } + get [S$.$y]() { + return this.y; + } +}; +(svg$.FEDiffuseLightingElement.created = function() { + svg$.FEDiffuseLightingElement.__proto__.created.call(this); + ; +}).prototype = svg$.FEDiffuseLightingElement.prototype; +dart.addTypeTests(svg$.FEDiffuseLightingElement); +dart.addTypeCaches(svg$.FEDiffuseLightingElement); +svg$.FEDiffuseLightingElement[dart.implements] = () => [svg$.FilterPrimitiveStandardAttributes]; +dart.setGetterSignature(svg$.FEDiffuseLightingElement, () => ({ + __proto__: dart.getGetters(svg$.FEDiffuseLightingElement.__proto__), + [S$3.$diffuseConstant]: dart.nullable(svg$.AnimatedNumber), + [S$3.$in1]: dart.nullable(svg$.AnimatedString), + [S$3.$kernelUnitLengthX]: dart.nullable(svg$.AnimatedNumber), + [S$3.$kernelUnitLengthY]: dart.nullable(svg$.AnimatedNumber), + [S$3.$surfaceScale]: dart.nullable(svg$.AnimatedNumber), + [$height]: dart.nullable(svg$.AnimatedLength), + [S.$result]: dart.nullable(svg$.AnimatedString), + [$width]: dart.nullable(svg$.AnimatedLength), + [S$.$x]: dart.nullable(svg$.AnimatedLength), + [S$.$y]: dart.nullable(svg$.AnimatedLength) +})); +dart.setLibraryUri(svg$.FEDiffuseLightingElement, I[157]); +dart.registerExtension("SVGFEDiffuseLightingElement", svg$.FEDiffuseLightingElement); +svg$.FEDisplacementMapElement = class FEDisplacementMapElement extends svg$.SvgElement { + static new() { + return svg$.FEDisplacementMapElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("feDisplacementMap")); + } + static get supported() { + return dart.test(svg$.SvgElement.isTagSupported("feDisplacementMap")) && svg$.FEDisplacementMapElement.is(svg$.SvgElement.tag("feDisplacementMap")); + } + get [S$3.$in1]() { + return this.in1; + } + get [S$3.$in2]() { + return this.in2; + } + get [S$.$scale]() { + return this.scale; + } + get [S$3.$xChannelSelector]() { + return this.xChannelSelector; + } + get [S$3.$yChannelSelector]() { + return this.yChannelSelector; + } + get [$height]() { + return this.height; + } + get [S.$result]() { + return this.result; + } + get [$width]() { + return this.width; + } + get [S$.$x]() { + return this.x; + } + get [S$.$y]() { + return this.y; + } +}; +(svg$.FEDisplacementMapElement.created = function() { + svg$.FEDisplacementMapElement.__proto__.created.call(this); + ; +}).prototype = svg$.FEDisplacementMapElement.prototype; +dart.addTypeTests(svg$.FEDisplacementMapElement); +dart.addTypeCaches(svg$.FEDisplacementMapElement); +svg$.FEDisplacementMapElement[dart.implements] = () => [svg$.FilterPrimitiveStandardAttributes]; +dart.setGetterSignature(svg$.FEDisplacementMapElement, () => ({ + __proto__: dart.getGetters(svg$.FEDisplacementMapElement.__proto__), + [S$3.$in1]: dart.nullable(svg$.AnimatedString), + [S$3.$in2]: dart.nullable(svg$.AnimatedString), + [S$.$scale]: dart.nullable(svg$.AnimatedNumber), + [S$3.$xChannelSelector]: dart.nullable(svg$.AnimatedEnumeration), + [S$3.$yChannelSelector]: dart.nullable(svg$.AnimatedEnumeration), + [$height]: dart.nullable(svg$.AnimatedLength), + [S.$result]: dart.nullable(svg$.AnimatedString), + [$width]: dart.nullable(svg$.AnimatedLength), + [S$.$x]: dart.nullable(svg$.AnimatedLength), + [S$.$y]: dart.nullable(svg$.AnimatedLength) +})); +dart.setLibraryUri(svg$.FEDisplacementMapElement, I[157]); +dart.defineLazy(svg$.FEDisplacementMapElement, { + /*svg$.FEDisplacementMapElement.SVG_CHANNEL_A*/get SVG_CHANNEL_A() { + return 4; + }, + /*svg$.FEDisplacementMapElement.SVG_CHANNEL_B*/get SVG_CHANNEL_B() { + return 3; + }, + /*svg$.FEDisplacementMapElement.SVG_CHANNEL_G*/get SVG_CHANNEL_G() { + return 2; + }, + /*svg$.FEDisplacementMapElement.SVG_CHANNEL_R*/get SVG_CHANNEL_R() { + return 1; + }, + /*svg$.FEDisplacementMapElement.SVG_CHANNEL_UNKNOWN*/get SVG_CHANNEL_UNKNOWN() { + return 0; + } +}, false); +dart.registerExtension("SVGFEDisplacementMapElement", svg$.FEDisplacementMapElement); +svg$.FEDistantLightElement = class FEDistantLightElement extends svg$.SvgElement { + static new() { + return svg$.FEDistantLightElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("feDistantLight")); + } + static get supported() { + return dart.test(svg$.SvgElement.isTagSupported("feDistantLight")) && svg$.FEDistantLightElement.is(svg$.SvgElement.tag("feDistantLight")); + } + get [S$3.$azimuth]() { + return this.azimuth; + } + get [S$3.$elevation]() { + return this.elevation; + } +}; +(svg$.FEDistantLightElement.created = function() { + svg$.FEDistantLightElement.__proto__.created.call(this); + ; +}).prototype = svg$.FEDistantLightElement.prototype; +dart.addTypeTests(svg$.FEDistantLightElement); +dart.addTypeCaches(svg$.FEDistantLightElement); +dart.setGetterSignature(svg$.FEDistantLightElement, () => ({ + __proto__: dart.getGetters(svg$.FEDistantLightElement.__proto__), + [S$3.$azimuth]: dart.nullable(svg$.AnimatedNumber), + [S$3.$elevation]: dart.nullable(svg$.AnimatedNumber) +})); +dart.setLibraryUri(svg$.FEDistantLightElement, I[157]); +dart.registerExtension("SVGFEDistantLightElement", svg$.FEDistantLightElement); +svg$.FEFloodElement = class FEFloodElement extends svg$.SvgElement { + static new() { + return svg$.FEFloodElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("feFlood")); + } + static get supported() { + return dart.test(svg$.SvgElement.isTagSupported("feFlood")) && svg$.FEFloodElement.is(svg$.SvgElement.tag("feFlood")); + } + get [$height]() { + return this.height; + } + get [S.$result]() { + return this.result; + } + get [$width]() { + return this.width; + } + get [S$.$x]() { + return this.x; + } + get [S$.$y]() { + return this.y; + } +}; +(svg$.FEFloodElement.created = function() { + svg$.FEFloodElement.__proto__.created.call(this); + ; +}).prototype = svg$.FEFloodElement.prototype; +dart.addTypeTests(svg$.FEFloodElement); +dart.addTypeCaches(svg$.FEFloodElement); +svg$.FEFloodElement[dart.implements] = () => [svg$.FilterPrimitiveStandardAttributes]; +dart.setGetterSignature(svg$.FEFloodElement, () => ({ + __proto__: dart.getGetters(svg$.FEFloodElement.__proto__), + [$height]: dart.nullable(svg$.AnimatedLength), + [S.$result]: dart.nullable(svg$.AnimatedString), + [$width]: dart.nullable(svg$.AnimatedLength), + [S$.$x]: dart.nullable(svg$.AnimatedLength), + [S$.$y]: dart.nullable(svg$.AnimatedLength) +})); +dart.setLibraryUri(svg$.FEFloodElement, I[157]); +dart.registerExtension("SVGFEFloodElement", svg$.FEFloodElement); +svg$._SVGComponentTransferFunctionElement = class _SVGComponentTransferFunctionElement extends svg$.SvgElement {}; +(svg$._SVGComponentTransferFunctionElement.created = function() { + svg$._SVGComponentTransferFunctionElement.__proto__.created.call(this); + ; +}).prototype = svg$._SVGComponentTransferFunctionElement.prototype; +dart.addTypeTests(svg$._SVGComponentTransferFunctionElement); +dart.addTypeCaches(svg$._SVGComponentTransferFunctionElement); +dart.setLibraryUri(svg$._SVGComponentTransferFunctionElement, I[157]); +dart.registerExtension("SVGComponentTransferFunctionElement", svg$._SVGComponentTransferFunctionElement); +svg$.FEFuncAElement = class FEFuncAElement extends svg$._SVGComponentTransferFunctionElement { + static new() { + return svg$.FEFuncAElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("feFuncA")); + } + static get supported() { + return dart.test(svg$.SvgElement.isTagSupported("feFuncA")) && svg$.FEFuncAElement.is(svg$.SvgElement.tag("feFuncA")); + } +}; +(svg$.FEFuncAElement.created = function() { + svg$.FEFuncAElement.__proto__.created.call(this); + ; +}).prototype = svg$.FEFuncAElement.prototype; +dart.addTypeTests(svg$.FEFuncAElement); +dart.addTypeCaches(svg$.FEFuncAElement); +dart.setLibraryUri(svg$.FEFuncAElement, I[157]); +dart.registerExtension("SVGFEFuncAElement", svg$.FEFuncAElement); +svg$.FEFuncBElement = class FEFuncBElement extends svg$._SVGComponentTransferFunctionElement { + static new() { + return svg$.FEFuncBElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("feFuncB")); + } + static get supported() { + return dart.test(svg$.SvgElement.isTagSupported("feFuncB")) && svg$.FEFuncBElement.is(svg$.SvgElement.tag("feFuncB")); + } +}; +(svg$.FEFuncBElement.created = function() { + svg$.FEFuncBElement.__proto__.created.call(this); + ; +}).prototype = svg$.FEFuncBElement.prototype; +dart.addTypeTests(svg$.FEFuncBElement); +dart.addTypeCaches(svg$.FEFuncBElement); +dart.setLibraryUri(svg$.FEFuncBElement, I[157]); +dart.registerExtension("SVGFEFuncBElement", svg$.FEFuncBElement); +svg$.FEFuncGElement = class FEFuncGElement extends svg$._SVGComponentTransferFunctionElement { + static new() { + return svg$.FEFuncGElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("feFuncG")); + } + static get supported() { + return dart.test(svg$.SvgElement.isTagSupported("feFuncG")) && svg$.FEFuncGElement.is(svg$.SvgElement.tag("feFuncG")); + } +}; +(svg$.FEFuncGElement.created = function() { + svg$.FEFuncGElement.__proto__.created.call(this); + ; +}).prototype = svg$.FEFuncGElement.prototype; +dart.addTypeTests(svg$.FEFuncGElement); +dart.addTypeCaches(svg$.FEFuncGElement); +dart.setLibraryUri(svg$.FEFuncGElement, I[157]); +dart.registerExtension("SVGFEFuncGElement", svg$.FEFuncGElement); +svg$.FEFuncRElement = class FEFuncRElement extends svg$._SVGComponentTransferFunctionElement { + static new() { + return svg$.FEFuncRElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("feFuncR")); + } + static get supported() { + return dart.test(svg$.SvgElement.isTagSupported("feFuncR")) && svg$.FEFuncRElement.is(svg$.SvgElement.tag("feFuncR")); + } +}; +(svg$.FEFuncRElement.created = function() { + svg$.FEFuncRElement.__proto__.created.call(this); + ; +}).prototype = svg$.FEFuncRElement.prototype; +dart.addTypeTests(svg$.FEFuncRElement); +dart.addTypeCaches(svg$.FEFuncRElement); +dart.setLibraryUri(svg$.FEFuncRElement, I[157]); +dart.registerExtension("SVGFEFuncRElement", svg$.FEFuncRElement); +svg$.FEGaussianBlurElement = class FEGaussianBlurElement extends svg$.SvgElement { + static new() { + return svg$.FEGaussianBlurElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("feGaussianBlur")); + } + static get supported() { + return dart.test(svg$.SvgElement.isTagSupported("feGaussianBlur")) && svg$.FEGaussianBlurElement.is(svg$.SvgElement.tag("feGaussianBlur")); + } + get [S$3.$in1]() { + return this.in1; + } + get [S$3.$stdDeviationX]() { + return this.stdDeviationX; + } + get [S$3.$stdDeviationY]() { + return this.stdDeviationY; + } + [S$3.$setStdDeviation](...args) { + return this.setStdDeviation.apply(this, args); + } + get [$height]() { + return this.height; + } + get [S.$result]() { + return this.result; + } + get [$width]() { + return this.width; + } + get [S$.$x]() { + return this.x; + } + get [S$.$y]() { + return this.y; + } +}; +(svg$.FEGaussianBlurElement.created = function() { + svg$.FEGaussianBlurElement.__proto__.created.call(this); + ; +}).prototype = svg$.FEGaussianBlurElement.prototype; +dart.addTypeTests(svg$.FEGaussianBlurElement); +dart.addTypeCaches(svg$.FEGaussianBlurElement); +svg$.FEGaussianBlurElement[dart.implements] = () => [svg$.FilterPrimitiveStandardAttributes]; +dart.setMethodSignature(svg$.FEGaussianBlurElement, () => ({ + __proto__: dart.getMethods(svg$.FEGaussianBlurElement.__proto__), + [S$3.$setStdDeviation]: dart.fnType(dart.void, [core.num, core.num]) +})); +dart.setGetterSignature(svg$.FEGaussianBlurElement, () => ({ + __proto__: dart.getGetters(svg$.FEGaussianBlurElement.__proto__), + [S$3.$in1]: dart.nullable(svg$.AnimatedString), + [S$3.$stdDeviationX]: dart.nullable(svg$.AnimatedNumber), + [S$3.$stdDeviationY]: dart.nullable(svg$.AnimatedNumber), + [$height]: dart.nullable(svg$.AnimatedLength), + [S.$result]: dart.nullable(svg$.AnimatedString), + [$width]: dart.nullable(svg$.AnimatedLength), + [S$.$x]: dart.nullable(svg$.AnimatedLength), + [S$.$y]: dart.nullable(svg$.AnimatedLength) +})); +dart.setLibraryUri(svg$.FEGaussianBlurElement, I[157]); +dart.registerExtension("SVGFEGaussianBlurElement", svg$.FEGaussianBlurElement); +svg$.FEImageElement = class FEImageElement extends svg$.SvgElement { + static new() { + return svg$.FEImageElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("feImage")); + } + static get supported() { + return dart.test(svg$.SvgElement.isTagSupported("feImage")) && svg$.FEImageElement.is(svg$.SvgElement.tag("feImage")); + } + get [S$3.$preserveAspectRatio]() { + return this.preserveAspectRatio; + } + get [$height]() { + return this.height; + } + get [S.$result]() { + return this.result; + } + get [$width]() { + return this.width; + } + get [S$.$x]() { + return this.x; + } + get [S$.$y]() { + return this.y; + } + get [S$.$href]() { + return this.href; + } +}; +(svg$.FEImageElement.created = function() { + svg$.FEImageElement.__proto__.created.call(this); + ; +}).prototype = svg$.FEImageElement.prototype; +dart.addTypeTests(svg$.FEImageElement); +dart.addTypeCaches(svg$.FEImageElement); +svg$.FEImageElement[dart.implements] = () => [svg$.FilterPrimitiveStandardAttributes, svg$.UriReference]; +dart.setGetterSignature(svg$.FEImageElement, () => ({ + __proto__: dart.getGetters(svg$.FEImageElement.__proto__), + [S$3.$preserveAspectRatio]: dart.nullable(svg$.AnimatedPreserveAspectRatio), + [$height]: dart.nullable(svg$.AnimatedLength), + [S.$result]: dart.nullable(svg$.AnimatedString), + [$width]: dart.nullable(svg$.AnimatedLength), + [S$.$x]: dart.nullable(svg$.AnimatedLength), + [S$.$y]: dart.nullable(svg$.AnimatedLength), + [S$.$href]: dart.nullable(svg$.AnimatedString) +})); +dart.setLibraryUri(svg$.FEImageElement, I[157]); +dart.registerExtension("SVGFEImageElement", svg$.FEImageElement); +svg$.FEMergeElement = class FEMergeElement extends svg$.SvgElement { + static new() { + return svg$.FEMergeElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("feMerge")); + } + static get supported() { + return dart.test(svg$.SvgElement.isTagSupported("feMerge")) && svg$.FEMergeElement.is(svg$.SvgElement.tag("feMerge")); + } + get [$height]() { + return this.height; + } + get [S.$result]() { + return this.result; + } + get [$width]() { + return this.width; + } + get [S$.$x]() { + return this.x; + } + get [S$.$y]() { + return this.y; + } +}; +(svg$.FEMergeElement.created = function() { + svg$.FEMergeElement.__proto__.created.call(this); + ; +}).prototype = svg$.FEMergeElement.prototype; +dart.addTypeTests(svg$.FEMergeElement); +dart.addTypeCaches(svg$.FEMergeElement); +svg$.FEMergeElement[dart.implements] = () => [svg$.FilterPrimitiveStandardAttributes]; +dart.setGetterSignature(svg$.FEMergeElement, () => ({ + __proto__: dart.getGetters(svg$.FEMergeElement.__proto__), + [$height]: dart.nullable(svg$.AnimatedLength), + [S.$result]: dart.nullable(svg$.AnimatedString), + [$width]: dart.nullable(svg$.AnimatedLength), + [S$.$x]: dart.nullable(svg$.AnimatedLength), + [S$.$y]: dart.nullable(svg$.AnimatedLength) +})); +dart.setLibraryUri(svg$.FEMergeElement, I[157]); +dart.registerExtension("SVGFEMergeElement", svg$.FEMergeElement); +svg$.FEMergeNodeElement = class FEMergeNodeElement extends svg$.SvgElement { + static new() { + return svg$.FEMergeNodeElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("feMergeNode")); + } + static get supported() { + return dart.test(svg$.SvgElement.isTagSupported("feMergeNode")) && svg$.FEMergeNodeElement.is(svg$.SvgElement.tag("feMergeNode")); + } + get [S$3.$in1]() { + return this.in1; + } +}; +(svg$.FEMergeNodeElement.created = function() { + svg$.FEMergeNodeElement.__proto__.created.call(this); + ; +}).prototype = svg$.FEMergeNodeElement.prototype; +dart.addTypeTests(svg$.FEMergeNodeElement); +dart.addTypeCaches(svg$.FEMergeNodeElement); +dart.setGetterSignature(svg$.FEMergeNodeElement, () => ({ + __proto__: dart.getGetters(svg$.FEMergeNodeElement.__proto__), + [S$3.$in1]: dart.nullable(svg$.AnimatedString) +})); +dart.setLibraryUri(svg$.FEMergeNodeElement, I[157]); +dart.registerExtension("SVGFEMergeNodeElement", svg$.FEMergeNodeElement); +svg$.FEMorphologyElement = class FEMorphologyElement extends svg$.SvgElement { + get [S$3.$in1]() { + return this.in1; + } + get [S$3.$operator]() { + return this.operator; + } + get [S$2.$radiusX]() { + return this.radiusX; + } + get [S$2.$radiusY]() { + return this.radiusY; + } + get [$height]() { + return this.height; + } + get [S.$result]() { + return this.result; + } + get [$width]() { + return this.width; + } + get [S$.$x]() { + return this.x; + } + get [S$.$y]() { + return this.y; + } +}; +(svg$.FEMorphologyElement.created = function() { + svg$.FEMorphologyElement.__proto__.created.call(this); + ; +}).prototype = svg$.FEMorphologyElement.prototype; +dart.addTypeTests(svg$.FEMorphologyElement); +dart.addTypeCaches(svg$.FEMorphologyElement); +svg$.FEMorphologyElement[dart.implements] = () => [svg$.FilterPrimitiveStandardAttributes]; +dart.setGetterSignature(svg$.FEMorphologyElement, () => ({ + __proto__: dart.getGetters(svg$.FEMorphologyElement.__proto__), + [S$3.$in1]: dart.nullable(svg$.AnimatedString), + [S$3.$operator]: dart.nullable(svg$.AnimatedEnumeration), + [S$2.$radiusX]: dart.nullable(svg$.AnimatedNumber), + [S$2.$radiusY]: dart.nullable(svg$.AnimatedNumber), + [$height]: dart.nullable(svg$.AnimatedLength), + [S.$result]: dart.nullable(svg$.AnimatedString), + [$width]: dart.nullable(svg$.AnimatedLength), + [S$.$x]: dart.nullable(svg$.AnimatedLength), + [S$.$y]: dart.nullable(svg$.AnimatedLength) +})); +dart.setLibraryUri(svg$.FEMorphologyElement, I[157]); +dart.defineLazy(svg$.FEMorphologyElement, { + /*svg$.FEMorphologyElement.SVG_MORPHOLOGY_OPERATOR_DILATE*/get SVG_MORPHOLOGY_OPERATOR_DILATE() { + return 2; + }, + /*svg$.FEMorphologyElement.SVG_MORPHOLOGY_OPERATOR_ERODE*/get SVG_MORPHOLOGY_OPERATOR_ERODE() { + return 1; + }, + /*svg$.FEMorphologyElement.SVG_MORPHOLOGY_OPERATOR_UNKNOWN*/get SVG_MORPHOLOGY_OPERATOR_UNKNOWN() { + return 0; + } +}, false); +dart.registerExtension("SVGFEMorphologyElement", svg$.FEMorphologyElement); +svg$.FEOffsetElement = class FEOffsetElement extends svg$.SvgElement { + static new() { + return svg$.FEOffsetElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("feOffset")); + } + static get supported() { + return dart.test(svg$.SvgElement.isTagSupported("feOffset")) && svg$.FEOffsetElement.is(svg$.SvgElement.tag("feOffset")); + } + get [S$3.$dx]() { + return this.dx; + } + get [S$3.$dy]() { + return this.dy; + } + get [S$3.$in1]() { + return this.in1; + } + get [$height]() { + return this.height; + } + get [S.$result]() { + return this.result; + } + get [$width]() { + return this.width; + } + get [S$.$x]() { + return this.x; + } + get [S$.$y]() { + return this.y; + } +}; +(svg$.FEOffsetElement.created = function() { + svg$.FEOffsetElement.__proto__.created.call(this); + ; +}).prototype = svg$.FEOffsetElement.prototype; +dart.addTypeTests(svg$.FEOffsetElement); +dart.addTypeCaches(svg$.FEOffsetElement); +svg$.FEOffsetElement[dart.implements] = () => [svg$.FilterPrimitiveStandardAttributes]; +dart.setGetterSignature(svg$.FEOffsetElement, () => ({ + __proto__: dart.getGetters(svg$.FEOffsetElement.__proto__), + [S$3.$dx]: dart.nullable(svg$.AnimatedNumber), + [S$3.$dy]: dart.nullable(svg$.AnimatedNumber), + [S$3.$in1]: dart.nullable(svg$.AnimatedString), + [$height]: dart.nullable(svg$.AnimatedLength), + [S.$result]: dart.nullable(svg$.AnimatedString), + [$width]: dart.nullable(svg$.AnimatedLength), + [S$.$x]: dart.nullable(svg$.AnimatedLength), + [S$.$y]: dart.nullable(svg$.AnimatedLength) +})); +dart.setLibraryUri(svg$.FEOffsetElement, I[157]); +dart.registerExtension("SVGFEOffsetElement", svg$.FEOffsetElement); +svg$.FEPointLightElement = class FEPointLightElement extends svg$.SvgElement { + static new() { + return svg$.FEPointLightElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("fePointLight")); + } + static get supported() { + return dart.test(svg$.SvgElement.isTagSupported("fePointLight")) && svg$.FEPointLightElement.is(svg$.SvgElement.tag("fePointLight")); + } + get [S$.$x]() { + return this.x; + } + get [S$.$y]() { + return this.y; + } + get [S$.$z]() { + return this.z; + } +}; +(svg$.FEPointLightElement.created = function() { + svg$.FEPointLightElement.__proto__.created.call(this); + ; +}).prototype = svg$.FEPointLightElement.prototype; +dart.addTypeTests(svg$.FEPointLightElement); +dart.addTypeCaches(svg$.FEPointLightElement); +dart.setGetterSignature(svg$.FEPointLightElement, () => ({ + __proto__: dart.getGetters(svg$.FEPointLightElement.__proto__), + [S$.$x]: dart.nullable(svg$.AnimatedNumber), + [S$.$y]: dart.nullable(svg$.AnimatedNumber), + [S$.$z]: dart.nullable(svg$.AnimatedNumber) +})); +dart.setLibraryUri(svg$.FEPointLightElement, I[157]); +dart.registerExtension("SVGFEPointLightElement", svg$.FEPointLightElement); +svg$.FESpecularLightingElement = class FESpecularLightingElement extends svg$.SvgElement { + static new() { + return svg$.FESpecularLightingElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("feSpecularLighting")); + } + static get supported() { + return dart.test(svg$.SvgElement.isTagSupported("feSpecularLighting")) && svg$.FESpecularLightingElement.is(svg$.SvgElement.tag("feSpecularLighting")); + } + get [S$3.$in1]() { + return this.in1; + } + get [S$3.$kernelUnitLengthX]() { + return this.kernelUnitLengthX; + } + get [S$3.$kernelUnitLengthY]() { + return this.kernelUnitLengthY; + } + get [S$3.$specularConstant]() { + return this.specularConstant; + } + get [S$3.$specularExponent]() { + return this.specularExponent; + } + get [S$3.$surfaceScale]() { + return this.surfaceScale; + } + get [$height]() { + return this.height; + } + get [S.$result]() { + return this.result; + } + get [$width]() { + return this.width; + } + get [S$.$x]() { + return this.x; + } + get [S$.$y]() { + return this.y; + } +}; +(svg$.FESpecularLightingElement.created = function() { + svg$.FESpecularLightingElement.__proto__.created.call(this); + ; +}).prototype = svg$.FESpecularLightingElement.prototype; +dart.addTypeTests(svg$.FESpecularLightingElement); +dart.addTypeCaches(svg$.FESpecularLightingElement); +svg$.FESpecularLightingElement[dart.implements] = () => [svg$.FilterPrimitiveStandardAttributes]; +dart.setGetterSignature(svg$.FESpecularLightingElement, () => ({ + __proto__: dart.getGetters(svg$.FESpecularLightingElement.__proto__), + [S$3.$in1]: dart.nullable(svg$.AnimatedString), + [S$3.$kernelUnitLengthX]: dart.nullable(svg$.AnimatedNumber), + [S$3.$kernelUnitLengthY]: dart.nullable(svg$.AnimatedNumber), + [S$3.$specularConstant]: dart.nullable(svg$.AnimatedNumber), + [S$3.$specularExponent]: dart.nullable(svg$.AnimatedNumber), + [S$3.$surfaceScale]: dart.nullable(svg$.AnimatedNumber), + [$height]: dart.nullable(svg$.AnimatedLength), + [S.$result]: dart.nullable(svg$.AnimatedString), + [$width]: dart.nullable(svg$.AnimatedLength), + [S$.$x]: dart.nullable(svg$.AnimatedLength), + [S$.$y]: dart.nullable(svg$.AnimatedLength) +})); +dart.setLibraryUri(svg$.FESpecularLightingElement, I[157]); +dart.registerExtension("SVGFESpecularLightingElement", svg$.FESpecularLightingElement); +svg$.FESpotLightElement = class FESpotLightElement extends svg$.SvgElement { + static new() { + return svg$.FESpotLightElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("feSpotLight")); + } + static get supported() { + return dart.test(svg$.SvgElement.isTagSupported("feSpotLight")) && svg$.FESpotLightElement.is(svg$.SvgElement.tag("feSpotLight")); + } + get [S$3.$limitingConeAngle]() { + return this.limitingConeAngle; + } + get [S$3.$pointsAtX]() { + return this.pointsAtX; + } + get [S$3.$pointsAtY]() { + return this.pointsAtY; + } + get [S$3.$pointsAtZ]() { + return this.pointsAtZ; + } + get [S$3.$specularExponent]() { + return this.specularExponent; + } + get [S$.$x]() { + return this.x; + } + get [S$.$y]() { + return this.y; + } + get [S$.$z]() { + return this.z; + } +}; +(svg$.FESpotLightElement.created = function() { + svg$.FESpotLightElement.__proto__.created.call(this); + ; +}).prototype = svg$.FESpotLightElement.prototype; +dart.addTypeTests(svg$.FESpotLightElement); +dart.addTypeCaches(svg$.FESpotLightElement); +dart.setGetterSignature(svg$.FESpotLightElement, () => ({ + __proto__: dart.getGetters(svg$.FESpotLightElement.__proto__), + [S$3.$limitingConeAngle]: dart.nullable(svg$.AnimatedNumber), + [S$3.$pointsAtX]: dart.nullable(svg$.AnimatedNumber), + [S$3.$pointsAtY]: dart.nullable(svg$.AnimatedNumber), + [S$3.$pointsAtZ]: dart.nullable(svg$.AnimatedNumber), + [S$3.$specularExponent]: dart.nullable(svg$.AnimatedNumber), + [S$.$x]: dart.nullable(svg$.AnimatedNumber), + [S$.$y]: dart.nullable(svg$.AnimatedNumber), + [S$.$z]: dart.nullable(svg$.AnimatedNumber) +})); +dart.setLibraryUri(svg$.FESpotLightElement, I[157]); +dart.registerExtension("SVGFESpotLightElement", svg$.FESpotLightElement); +svg$.FETileElement = class FETileElement extends svg$.SvgElement { + static new() { + return svg$.FETileElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("feTile")); + } + static get supported() { + return dart.test(svg$.SvgElement.isTagSupported("feTile")) && svg$.FETileElement.is(svg$.SvgElement.tag("feTile")); + } + get [S$3.$in1]() { + return this.in1; + } + get [$height]() { + return this.height; + } + get [S.$result]() { + return this.result; + } + get [$width]() { + return this.width; + } + get [S$.$x]() { + return this.x; + } + get [S$.$y]() { + return this.y; + } +}; +(svg$.FETileElement.created = function() { + svg$.FETileElement.__proto__.created.call(this); + ; +}).prototype = svg$.FETileElement.prototype; +dart.addTypeTests(svg$.FETileElement); +dart.addTypeCaches(svg$.FETileElement); +svg$.FETileElement[dart.implements] = () => [svg$.FilterPrimitiveStandardAttributes]; +dart.setGetterSignature(svg$.FETileElement, () => ({ + __proto__: dart.getGetters(svg$.FETileElement.__proto__), + [S$3.$in1]: dart.nullable(svg$.AnimatedString), + [$height]: dart.nullable(svg$.AnimatedLength), + [S.$result]: dart.nullable(svg$.AnimatedString), + [$width]: dart.nullable(svg$.AnimatedLength), + [S$.$x]: dart.nullable(svg$.AnimatedLength), + [S$.$y]: dart.nullable(svg$.AnimatedLength) +})); +dart.setLibraryUri(svg$.FETileElement, I[157]); +dart.registerExtension("SVGFETileElement", svg$.FETileElement); +svg$.FETurbulenceElement = class FETurbulenceElement extends svg$.SvgElement { + static new() { + return svg$.FETurbulenceElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("feTurbulence")); + } + static get supported() { + return dart.test(svg$.SvgElement.isTagSupported("feTurbulence")) && svg$.FETurbulenceElement.is(svg$.SvgElement.tag("feTurbulence")); + } + get [S$3.$baseFrequencyX]() { + return this.baseFrequencyX; + } + get [S$3.$baseFrequencyY]() { + return this.baseFrequencyY; + } + get [S$3.$numOctaves]() { + return this.numOctaves; + } + get [S$3.$seed]() { + return this.seed; + } + get [S$3.$stitchTiles]() { + return this.stitchTiles; + } + get [S.$type]() { + return this.type; + } + get [$height]() { + return this.height; + } + get [S.$result]() { + return this.result; + } + get [$width]() { + return this.width; + } + get [S$.$x]() { + return this.x; + } + get [S$.$y]() { + return this.y; + } +}; +(svg$.FETurbulenceElement.created = function() { + svg$.FETurbulenceElement.__proto__.created.call(this); + ; +}).prototype = svg$.FETurbulenceElement.prototype; +dart.addTypeTests(svg$.FETurbulenceElement); +dart.addTypeCaches(svg$.FETurbulenceElement); +svg$.FETurbulenceElement[dart.implements] = () => [svg$.FilterPrimitiveStandardAttributes]; +dart.setGetterSignature(svg$.FETurbulenceElement, () => ({ + __proto__: dart.getGetters(svg$.FETurbulenceElement.__proto__), + [S$3.$baseFrequencyX]: dart.nullable(svg$.AnimatedNumber), + [S$3.$baseFrequencyY]: dart.nullable(svg$.AnimatedNumber), + [S$3.$numOctaves]: dart.nullable(svg$.AnimatedInteger), + [S$3.$seed]: dart.nullable(svg$.AnimatedNumber), + [S$3.$stitchTiles]: dart.nullable(svg$.AnimatedEnumeration), + [S.$type]: dart.nullable(svg$.AnimatedEnumeration), + [$height]: dart.nullable(svg$.AnimatedLength), + [S.$result]: dart.nullable(svg$.AnimatedString), + [$width]: dart.nullable(svg$.AnimatedLength), + [S$.$x]: dart.nullable(svg$.AnimatedLength), + [S$.$y]: dart.nullable(svg$.AnimatedLength) +})); +dart.setLibraryUri(svg$.FETurbulenceElement, I[157]); +dart.defineLazy(svg$.FETurbulenceElement, { + /*svg$.FETurbulenceElement.SVG_STITCHTYPE_NOSTITCH*/get SVG_STITCHTYPE_NOSTITCH() { + return 2; + }, + /*svg$.FETurbulenceElement.SVG_STITCHTYPE_STITCH*/get SVG_STITCHTYPE_STITCH() { + return 1; + }, + /*svg$.FETurbulenceElement.SVG_STITCHTYPE_UNKNOWN*/get SVG_STITCHTYPE_UNKNOWN() { + return 0; + }, + /*svg$.FETurbulenceElement.SVG_TURBULENCE_TYPE_FRACTALNOISE*/get SVG_TURBULENCE_TYPE_FRACTALNOISE() { + return 1; + }, + /*svg$.FETurbulenceElement.SVG_TURBULENCE_TYPE_TURBULENCE*/get SVG_TURBULENCE_TYPE_TURBULENCE() { + return 2; + }, + /*svg$.FETurbulenceElement.SVG_TURBULENCE_TYPE_UNKNOWN*/get SVG_TURBULENCE_TYPE_UNKNOWN() { + return 0; + } +}, false); +dart.registerExtension("SVGFETurbulenceElement", svg$.FETurbulenceElement); +svg$.FilterElement = class FilterElement extends svg$.SvgElement { + static new() { + return svg$.FilterElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("filter")); + } + static get supported() { + return dart.test(svg$.SvgElement.isTagSupported("filter")) && svg$.FilterElement.is(svg$.SvgElement.tag("filter")); + } + get [S$3.$filterUnits]() { + return this.filterUnits; + } + get [$height]() { + return this.height; + } + get [S$3.$primitiveUnits]() { + return this.primitiveUnits; + } + get [$width]() { + return this.width; + } + get [S$.$x]() { + return this.x; + } + get [S$.$y]() { + return this.y; + } + get [S$.$href]() { + return this.href; + } +}; +(svg$.FilterElement.created = function() { + svg$.FilterElement.__proto__.created.call(this); + ; +}).prototype = svg$.FilterElement.prototype; +dart.addTypeTests(svg$.FilterElement); +dart.addTypeCaches(svg$.FilterElement); +svg$.FilterElement[dart.implements] = () => [svg$.UriReference]; +dart.setGetterSignature(svg$.FilterElement, () => ({ + __proto__: dart.getGetters(svg$.FilterElement.__proto__), + [S$3.$filterUnits]: dart.nullable(svg$.AnimatedEnumeration), + [$height]: dart.nullable(svg$.AnimatedLength), + [S$3.$primitiveUnits]: dart.nullable(svg$.AnimatedEnumeration), + [$width]: dart.nullable(svg$.AnimatedLength), + [S$.$x]: dart.nullable(svg$.AnimatedLength), + [S$.$y]: dart.nullable(svg$.AnimatedLength), + [S$.$href]: dart.nullable(svg$.AnimatedString) +})); +dart.setLibraryUri(svg$.FilterElement, I[157]); +dart.registerExtension("SVGFilterElement", svg$.FilterElement); +svg$.FilterPrimitiveStandardAttributes = class FilterPrimitiveStandardAttributes extends _interceptors.Interceptor { + get height() { + return this.height; + } + get result() { + return this.result; + } + get width() { + return this.width; + } + get x() { + return this.x; + } + get y() { + return this.y; + } +}; +dart.addTypeTests(svg$.FilterPrimitiveStandardAttributes); +dart.addTypeCaches(svg$.FilterPrimitiveStandardAttributes); +dart.setGetterSignature(svg$.FilterPrimitiveStandardAttributes, () => ({ + __proto__: dart.getGetters(svg$.FilterPrimitiveStandardAttributes.__proto__), + height: dart.nullable(svg$.AnimatedLength), + [$height]: dart.nullable(svg$.AnimatedLength), + result: dart.nullable(svg$.AnimatedString), + [S.$result]: dart.nullable(svg$.AnimatedString), + width: dart.nullable(svg$.AnimatedLength), + [$width]: dart.nullable(svg$.AnimatedLength), + x: dart.nullable(svg$.AnimatedLength), + [S$.$x]: dart.nullable(svg$.AnimatedLength), + y: dart.nullable(svg$.AnimatedLength), + [S$.$y]: dart.nullable(svg$.AnimatedLength) +})); +dart.setLibraryUri(svg$.FilterPrimitiveStandardAttributes, I[157]); +dart.defineExtensionAccessors(svg$.FilterPrimitiveStandardAttributes, [ + 'height', + 'result', + 'width', + 'x', + 'y' +]); +svg$.FitToViewBox = class FitToViewBox extends _interceptors.Interceptor { + get preserveAspectRatio() { + return this.preserveAspectRatio; + } + get viewBox() { + return this.viewBox; + } +}; +dart.addTypeTests(svg$.FitToViewBox); +dart.addTypeCaches(svg$.FitToViewBox); +dart.setGetterSignature(svg$.FitToViewBox, () => ({ + __proto__: dart.getGetters(svg$.FitToViewBox.__proto__), + preserveAspectRatio: dart.nullable(svg$.AnimatedPreserveAspectRatio), + [S$3.$preserveAspectRatio]: dart.nullable(svg$.AnimatedPreserveAspectRatio), + viewBox: dart.nullable(svg$.AnimatedRect), + [S$3.$viewBox]: dart.nullable(svg$.AnimatedRect) +})); +dart.setLibraryUri(svg$.FitToViewBox, I[157]); +dart.defineExtensionAccessors(svg$.FitToViewBox, ['preserveAspectRatio', 'viewBox']); +svg$.ForeignObjectElement = class ForeignObjectElement extends svg$.GraphicsElement { + static new() { + return svg$.ForeignObjectElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("foreignObject")); + } + static get supported() { + return dart.test(svg$.SvgElement.isTagSupported("foreignObject")) && svg$.ForeignObjectElement.is(svg$.SvgElement.tag("foreignObject")); + } + get [$height]() { + return this.height; + } + get [$width]() { + return this.width; + } + get [S$.$x]() { + return this.x; + } + get [S$.$y]() { + return this.y; + } +}; +(svg$.ForeignObjectElement.created = function() { + svg$.ForeignObjectElement.__proto__.created.call(this); + ; +}).prototype = svg$.ForeignObjectElement.prototype; +dart.addTypeTests(svg$.ForeignObjectElement); +dart.addTypeCaches(svg$.ForeignObjectElement); +dart.setGetterSignature(svg$.ForeignObjectElement, () => ({ + __proto__: dart.getGetters(svg$.ForeignObjectElement.__proto__), + [$height]: dart.nullable(svg$.AnimatedLength), + [$width]: dart.nullable(svg$.AnimatedLength), + [S$.$x]: dart.nullable(svg$.AnimatedLength), + [S$.$y]: dart.nullable(svg$.AnimatedLength) +})); +dart.setLibraryUri(svg$.ForeignObjectElement, I[157]); +dart.registerExtension("SVGForeignObjectElement", svg$.ForeignObjectElement); +svg$.GElement = class GElement extends svg$.GraphicsElement { + static new() { + return svg$.GElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("g")); + } +}; +(svg$.GElement.created = function() { + svg$.GElement.__proto__.created.call(this); + ; +}).prototype = svg$.GElement.prototype; +dart.addTypeTests(svg$.GElement); +dart.addTypeCaches(svg$.GElement); +dart.setLibraryUri(svg$.GElement, I[157]); +dart.registerExtension("SVGGElement", svg$.GElement); +svg$.ImageElement = class ImageElement extends svg$.GraphicsElement { + static new() { + return svg$.ImageElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("image")); + } + get [S$1.$async]() { + return this.async; + } + set [S$1.$async](value) { + this.async = value; + } + get [$height]() { + return this.height; + } + get [S$3.$preserveAspectRatio]() { + return this.preserveAspectRatio; + } + get [$width]() { + return this.width; + } + get [S$.$x]() { + return this.x; + } + get [S$.$y]() { + return this.y; + } + [S$1.$decode]() { + return js_util.promiseToFuture(dart.dynamic, this.decode()); + } + get [S$.$href]() { + return this.href; + } +}; +(svg$.ImageElement.created = function() { + svg$.ImageElement.__proto__.created.call(this); + ; +}).prototype = svg$.ImageElement.prototype; +dart.addTypeTests(svg$.ImageElement); +dart.addTypeCaches(svg$.ImageElement); +svg$.ImageElement[dart.implements] = () => [svg$.UriReference]; +dart.setMethodSignature(svg$.ImageElement, () => ({ + __proto__: dart.getMethods(svg$.ImageElement.__proto__), + [S$1.$decode]: dart.fnType(async.Future, []) +})); +dart.setGetterSignature(svg$.ImageElement, () => ({ + __proto__: dart.getGetters(svg$.ImageElement.__proto__), + [S$1.$async]: dart.nullable(core.String), + [$height]: dart.nullable(svg$.AnimatedLength), + [S$3.$preserveAspectRatio]: dart.nullable(svg$.AnimatedPreserveAspectRatio), + [$width]: dart.nullable(svg$.AnimatedLength), + [S$.$x]: dart.nullable(svg$.AnimatedLength), + [S$.$y]: dart.nullable(svg$.AnimatedLength), + [S$.$href]: dart.nullable(svg$.AnimatedString) +})); +dart.setSetterSignature(svg$.ImageElement, () => ({ + __proto__: dart.getSetters(svg$.ImageElement.__proto__), + [S$1.$async]: dart.nullable(core.String) +})); +dart.setLibraryUri(svg$.ImageElement, I[157]); +dart.registerExtension("SVGImageElement", svg$.ImageElement); +svg$.Length = class Length extends _interceptors.Interceptor { + get [S$3.$unitType]() { + return this.unitType; + } + get [S.$value]() { + return this.value; + } + set [S.$value](value) { + this.value = value; + } + get [S$3.$valueAsString]() { + return this.valueAsString; + } + set [S$3.$valueAsString](value) { + this.valueAsString = value; + } + get [S$3.$valueInSpecifiedUnits]() { + return this.valueInSpecifiedUnits; + } + set [S$3.$valueInSpecifiedUnits](value) { + this.valueInSpecifiedUnits = value; + } + [S$3.$convertToSpecifiedUnits](...args) { + return this.convertToSpecifiedUnits.apply(this, args); + } + [S$3.$newValueSpecifiedUnits](...args) { + return this.newValueSpecifiedUnits.apply(this, args); + } +}; +dart.addTypeTests(svg$.Length); +dart.addTypeCaches(svg$.Length); +dart.setMethodSignature(svg$.Length, () => ({ + __proto__: dart.getMethods(svg$.Length.__proto__), + [S$3.$convertToSpecifiedUnits]: dart.fnType(dart.void, [core.int]), + [S$3.$newValueSpecifiedUnits]: dart.fnType(dart.void, [core.int, core.num]) +})); +dart.setGetterSignature(svg$.Length, () => ({ + __proto__: dart.getGetters(svg$.Length.__proto__), + [S$3.$unitType]: dart.nullable(core.int), + [S.$value]: dart.nullable(core.num), + [S$3.$valueAsString]: dart.nullable(core.String), + [S$3.$valueInSpecifiedUnits]: dart.nullable(core.num) +})); +dart.setSetterSignature(svg$.Length, () => ({ + __proto__: dart.getSetters(svg$.Length.__proto__), + [S.$value]: dart.nullable(core.num), + [S$3.$valueAsString]: dart.nullable(core.String), + [S$3.$valueInSpecifiedUnits]: dart.nullable(core.num) +})); +dart.setLibraryUri(svg$.Length, I[157]); +dart.defineLazy(svg$.Length, { + /*svg$.Length.SVG_LENGTHTYPE_CM*/get SVG_LENGTHTYPE_CM() { + return 6; + }, + /*svg$.Length.SVG_LENGTHTYPE_EMS*/get SVG_LENGTHTYPE_EMS() { + return 3; + }, + /*svg$.Length.SVG_LENGTHTYPE_EXS*/get SVG_LENGTHTYPE_EXS() { + return 4; + }, + /*svg$.Length.SVG_LENGTHTYPE_IN*/get SVG_LENGTHTYPE_IN() { + return 8; + }, + /*svg$.Length.SVG_LENGTHTYPE_MM*/get SVG_LENGTHTYPE_MM() { + return 7; + }, + /*svg$.Length.SVG_LENGTHTYPE_NUMBER*/get SVG_LENGTHTYPE_NUMBER() { + return 1; + }, + /*svg$.Length.SVG_LENGTHTYPE_PC*/get SVG_LENGTHTYPE_PC() { + return 10; + }, + /*svg$.Length.SVG_LENGTHTYPE_PERCENTAGE*/get SVG_LENGTHTYPE_PERCENTAGE() { + return 2; + }, + /*svg$.Length.SVG_LENGTHTYPE_PT*/get SVG_LENGTHTYPE_PT() { + return 9; + }, + /*svg$.Length.SVG_LENGTHTYPE_PX*/get SVG_LENGTHTYPE_PX() { + return 5; + }, + /*svg$.Length.SVG_LENGTHTYPE_UNKNOWN*/get SVG_LENGTHTYPE_UNKNOWN() { + return 0; + } +}, false); +dart.registerExtension("SVGLength", svg$.Length); +const Interceptor_ListMixin$36$13 = class Interceptor_ListMixin extends _interceptors.Interceptor {}; +(Interceptor_ListMixin$36$13.new = function() { + Interceptor_ListMixin$36$13.__proto__.new.call(this); +}).prototype = Interceptor_ListMixin$36$13.prototype; +dart.applyMixin(Interceptor_ListMixin$36$13, collection.ListMixin$(svg$.Length)); +const Interceptor_ImmutableListMixin$36$13 = class Interceptor_ImmutableListMixin extends Interceptor_ListMixin$36$13 {}; +(Interceptor_ImmutableListMixin$36$13.new = function() { + Interceptor_ImmutableListMixin$36$13.__proto__.new.call(this); +}).prototype = Interceptor_ImmutableListMixin$36$13.prototype; +dart.applyMixin(Interceptor_ImmutableListMixin$36$13, html$.ImmutableListMixin$(svg$.Length)); +svg$.LengthList = class LengthList extends Interceptor_ImmutableListMixin$36$13 { + get [$length]() { + return this.length; + } + get [S$3.$numberOfItems]() { + return this.numberOfItems; + } + [$_get](index) { + if (index == null) dart.nullFailed(I[156], 2053, 26, "index"); + if (index >>> 0 !== index || index >= this[$length]) dart.throw(new core.IndexError.new(index, this)); + return this.getItem(index); + } + [$_set](index, value$) { + let value = value$; + if (index == null) dart.nullFailed(I[156], 2059, 25, "index"); + svg$.Length.as(value); + if (value == null) dart.nullFailed(I[156], 2059, 39, "value"); + dart.throw(new core.UnsupportedError.new("Cannot assign element of immutable List.")); + return value$; + } + set [$length](value) { + if (value == null) dart.nullFailed(I[156], 2065, 18, "value"); + dart.throw(new core.UnsupportedError.new("Cannot resize immutable List.")); + } + get [$first]() { + if (dart.notNull(this[$length]) > 0) { + return this[0]; + } + dart.throw(new core.StateError.new("No elements")); + } + set [$first](value) { + super[$first] = value; + } + get [$last]() { + let len = this[$length]; + if (dart.notNull(len) > 0) { + return this[dart.notNull(len) - 1]; + } + dart.throw(new core.StateError.new("No elements")); + } + set [$last](value) { + super[$last] = value; + } + get [$single]() { + let len = this[$length]; + if (len === 1) { + return this[0]; + } + if (len === 0) dart.throw(new core.StateError.new("No elements")); + dart.throw(new core.StateError.new("More than one element")); + } + [$elementAt](index) { + if (index == null) dart.nullFailed(I[156], 2093, 24, "index"); + return this[$_get](index); + } + [S$3.__setter__$1](...args) { + return this.__setter__.apply(this, args); + } + [S$3.$appendItem](...args) { + return this.appendItem.apply(this, args); + } + [$clear](...args) { + return this.clear.apply(this, args); + } + [S$3.$getItem](...args) { + return this.getItem.apply(this, args); + } + [S$3.$initialize](...args) { + return this.initialize.apply(this, args); + } + [S$3.$insertItemBefore](...args) { + return this.insertItemBefore.apply(this, args); + } + [S$3.$removeItem](...args) { + return this.removeItem.apply(this, args); + } + [S$3.$replaceItem](...args) { + return this.replaceItem.apply(this, args); + } +}; +svg$.LengthList.prototype[dart.isList] = true; +dart.addTypeTests(svg$.LengthList); +dart.addTypeCaches(svg$.LengthList); +svg$.LengthList[dart.implements] = () => [core.List$(svg$.Length)]; +dart.setMethodSignature(svg$.LengthList, () => ({ + __proto__: dart.getMethods(svg$.LengthList.__proto__), + [$_get]: dart.fnType(svg$.Length, [core.int]), + [$_set]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), + [S$3.__setter__$1]: dart.fnType(dart.void, [core.int, svg$.Length]), + [S$3.$appendItem]: dart.fnType(svg$.Length, [svg$.Length]), + [S$3.$getItem]: dart.fnType(svg$.Length, [core.int]), + [S$3.$initialize]: dart.fnType(svg$.Length, [svg$.Length]), + [S$3.$insertItemBefore]: dart.fnType(svg$.Length, [svg$.Length, core.int]), + [S$3.$removeItem]: dart.fnType(svg$.Length, [core.int]), + [S$3.$replaceItem]: dart.fnType(svg$.Length, [svg$.Length, core.int]) +})); +dart.setGetterSignature(svg$.LengthList, () => ({ + __proto__: dart.getGetters(svg$.LengthList.__proto__), + [$length]: core.int, + [S$3.$numberOfItems]: dart.nullable(core.int) +})); +dart.setSetterSignature(svg$.LengthList, () => ({ + __proto__: dart.getSetters(svg$.LengthList.__proto__), + [$length]: core.int +})); +dart.setLibraryUri(svg$.LengthList, I[157]); +dart.registerExtension("SVGLengthList", svg$.LengthList); +svg$.LineElement = class LineElement extends svg$.GeometryElement { + static new() { + return svg$.LineElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("line")); + } + get [S$3.$x1]() { + return this.x1; + } + get [S$3.$x2]() { + return this.x2; + } + get [S$3.$y1]() { + return this.y1; + } + get [S$3.$y2]() { + return this.y2; + } +}; +(svg$.LineElement.created = function() { + svg$.LineElement.__proto__.created.call(this); + ; +}).prototype = svg$.LineElement.prototype; +dart.addTypeTests(svg$.LineElement); +dart.addTypeCaches(svg$.LineElement); +dart.setGetterSignature(svg$.LineElement, () => ({ + __proto__: dart.getGetters(svg$.LineElement.__proto__), + [S$3.$x1]: dart.nullable(svg$.AnimatedLength), + [S$3.$x2]: dart.nullable(svg$.AnimatedLength), + [S$3.$y1]: dart.nullable(svg$.AnimatedLength), + [S$3.$y2]: dart.nullable(svg$.AnimatedLength) +})); +dart.setLibraryUri(svg$.LineElement, I[157]); +dart.registerExtension("SVGLineElement", svg$.LineElement); +svg$._GradientElement = class _GradientElement extends svg$.SvgElement { + get [S$3.$gradientTransform]() { + return this.gradientTransform; + } + get [S$3.$gradientUnits]() { + return this.gradientUnits; + } + get [S$3.$spreadMethod]() { + return this.spreadMethod; + } + get [S$.$href]() { + return this.href; + } +}; +(svg$._GradientElement.created = function() { + svg$._GradientElement.__proto__.created.call(this); + ; +}).prototype = svg$._GradientElement.prototype; +dart.addTypeTests(svg$._GradientElement); +dart.addTypeCaches(svg$._GradientElement); +svg$._GradientElement[dart.implements] = () => [svg$.UriReference]; +dart.setGetterSignature(svg$._GradientElement, () => ({ + __proto__: dart.getGetters(svg$._GradientElement.__proto__), + [S$3.$gradientTransform]: dart.nullable(svg$.AnimatedTransformList), + [S$3.$gradientUnits]: dart.nullable(svg$.AnimatedEnumeration), + [S$3.$spreadMethod]: dart.nullable(svg$.AnimatedEnumeration), + [S$.$href]: dart.nullable(svg$.AnimatedString) +})); +dart.setLibraryUri(svg$._GradientElement, I[157]); +dart.defineLazy(svg$._GradientElement, { + /*svg$._GradientElement.SVG_SPREADMETHOD_PAD*/get SVG_SPREADMETHOD_PAD() { + return 1; + }, + /*svg$._GradientElement.SVG_SPREADMETHOD_REFLECT*/get SVG_SPREADMETHOD_REFLECT() { + return 2; + }, + /*svg$._GradientElement.SVG_SPREADMETHOD_REPEAT*/get SVG_SPREADMETHOD_REPEAT() { + return 3; + }, + /*svg$._GradientElement.SVG_SPREADMETHOD_UNKNOWN*/get SVG_SPREADMETHOD_UNKNOWN() { + return 0; + } +}, false); +dart.registerExtension("SVGGradientElement", svg$._GradientElement); +svg$.LinearGradientElement = class LinearGradientElement extends svg$._GradientElement { + static new() { + return svg$.LinearGradientElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("linearGradient")); + } + get [S$3.$x1]() { + return this.x1; + } + get [S$3.$x2]() { + return this.x2; + } + get [S$3.$y1]() { + return this.y1; + } + get [S$3.$y2]() { + return this.y2; + } +}; +(svg$.LinearGradientElement.created = function() { + svg$.LinearGradientElement.__proto__.created.call(this); + ; +}).prototype = svg$.LinearGradientElement.prototype; +dart.addTypeTests(svg$.LinearGradientElement); +dart.addTypeCaches(svg$.LinearGradientElement); +dart.setGetterSignature(svg$.LinearGradientElement, () => ({ + __proto__: dart.getGetters(svg$.LinearGradientElement.__proto__), + [S$3.$x1]: dart.nullable(svg$.AnimatedLength), + [S$3.$x2]: dart.nullable(svg$.AnimatedLength), + [S$3.$y1]: dart.nullable(svg$.AnimatedLength), + [S$3.$y2]: dart.nullable(svg$.AnimatedLength) +})); +dart.setLibraryUri(svg$.LinearGradientElement, I[157]); +dart.registerExtension("SVGLinearGradientElement", svg$.LinearGradientElement); +svg$.MarkerElement = class MarkerElement extends svg$.SvgElement { + static new() { + return svg$.MarkerElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("marker")); + } + get [S$3.$markerHeight]() { + return this.markerHeight; + } + get [S$3.$markerUnits]() { + return this.markerUnits; + } + get [S$3.$markerWidth]() { + return this.markerWidth; + } + get [S$3.$orientAngle]() { + return this.orientAngle; + } + get [S$3.$orientType]() { + return this.orientType; + } + get [S$3.$refX]() { + return this.refX; + } + get [S$3.$refY]() { + return this.refY; + } + [S$3.$setOrientToAngle](...args) { + return this.setOrientToAngle.apply(this, args); + } + [S$3.$setOrientToAuto](...args) { + return this.setOrientToAuto.apply(this, args); + } + get [S$3.$preserveAspectRatio]() { + return this.preserveAspectRatio; + } + get [S$3.$viewBox]() { + return this.viewBox; + } +}; +(svg$.MarkerElement.created = function() { + svg$.MarkerElement.__proto__.created.call(this); + ; +}).prototype = svg$.MarkerElement.prototype; +dart.addTypeTests(svg$.MarkerElement); +dart.addTypeCaches(svg$.MarkerElement); +svg$.MarkerElement[dart.implements] = () => [svg$.FitToViewBox]; +dart.setMethodSignature(svg$.MarkerElement, () => ({ + __proto__: dart.getMethods(svg$.MarkerElement.__proto__), + [S$3.$setOrientToAngle]: dart.fnType(dart.void, [svg$.Angle]), + [S$3.$setOrientToAuto]: dart.fnType(dart.void, []) +})); +dart.setGetterSignature(svg$.MarkerElement, () => ({ + __proto__: dart.getGetters(svg$.MarkerElement.__proto__), + [S$3.$markerHeight]: svg$.AnimatedLength, + [S$3.$markerUnits]: svg$.AnimatedEnumeration, + [S$3.$markerWidth]: svg$.AnimatedLength, + [S$3.$orientAngle]: dart.nullable(svg$.AnimatedAngle), + [S$3.$orientType]: dart.nullable(svg$.AnimatedEnumeration), + [S$3.$refX]: svg$.AnimatedLength, + [S$3.$refY]: svg$.AnimatedLength, + [S$3.$preserveAspectRatio]: dart.nullable(svg$.AnimatedPreserveAspectRatio), + [S$3.$viewBox]: dart.nullable(svg$.AnimatedRect) +})); +dart.setLibraryUri(svg$.MarkerElement, I[157]); +dart.defineLazy(svg$.MarkerElement, { + /*svg$.MarkerElement.SVG_MARKERUNITS_STROKEWIDTH*/get SVG_MARKERUNITS_STROKEWIDTH() { + return 2; + }, + /*svg$.MarkerElement.SVG_MARKERUNITS_UNKNOWN*/get SVG_MARKERUNITS_UNKNOWN() { + return 0; + }, + /*svg$.MarkerElement.SVG_MARKERUNITS_USERSPACEONUSE*/get SVG_MARKERUNITS_USERSPACEONUSE() { + return 1; + }, + /*svg$.MarkerElement.SVG_MARKER_ORIENT_ANGLE*/get SVG_MARKER_ORIENT_ANGLE() { + return 2; + }, + /*svg$.MarkerElement.SVG_MARKER_ORIENT_AUTO*/get SVG_MARKER_ORIENT_AUTO() { + return 1; + }, + /*svg$.MarkerElement.SVG_MARKER_ORIENT_UNKNOWN*/get SVG_MARKER_ORIENT_UNKNOWN() { + return 0; + } +}, false); +dart.registerExtension("SVGMarkerElement", svg$.MarkerElement); +svg$.MaskElement = class MaskElement extends svg$.SvgElement { + static new() { + return svg$.MaskElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("mask")); + } + get [$height]() { + return this.height; + } + get [S$3.$maskContentUnits]() { + return this.maskContentUnits; + } + get [S$3.$maskUnits]() { + return this.maskUnits; + } + get [$width]() { + return this.width; + } + get [S$.$x]() { + return this.x; + } + get [S$.$y]() { + return this.y; + } + get [S$3.$requiredExtensions]() { + return this.requiredExtensions; + } + get [S$3.$systemLanguage]() { + return this.systemLanguage; + } +}; +(svg$.MaskElement.created = function() { + svg$.MaskElement.__proto__.created.call(this); + ; +}).prototype = svg$.MaskElement.prototype; +dart.addTypeTests(svg$.MaskElement); +dart.addTypeCaches(svg$.MaskElement); +svg$.MaskElement[dart.implements] = () => [svg$.Tests]; +dart.setGetterSignature(svg$.MaskElement, () => ({ + __proto__: dart.getGetters(svg$.MaskElement.__proto__), + [$height]: dart.nullable(svg$.AnimatedLength), + [S$3.$maskContentUnits]: dart.nullable(svg$.AnimatedEnumeration), + [S$3.$maskUnits]: dart.nullable(svg$.AnimatedEnumeration), + [$width]: dart.nullable(svg$.AnimatedLength), + [S$.$x]: dart.nullable(svg$.AnimatedLength), + [S$.$y]: dart.nullable(svg$.AnimatedLength), + [S$3.$requiredExtensions]: dart.nullable(svg$.StringList), + [S$3.$systemLanguage]: dart.nullable(svg$.StringList) +})); +dart.setLibraryUri(svg$.MaskElement, I[157]); +dart.registerExtension("SVGMaskElement", svg$.MaskElement); +svg$.Matrix = class Matrix extends _interceptors.Interceptor { + get [S$1.$a]() { + return this.a; + } + set [S$1.$a](value) { + this.a = value; + } + get [S$1.$b]() { + return this.b; + } + set [S$1.$b](value) { + this.b = value; + } + get [S$1.$c]() { + return this.c; + } + set [S$1.$c](value) { + this.c = value; + } + get [S$1.$d]() { + return this.d; + } + set [S$1.$d](value) { + this.d = value; + } + get [S$1.$e]() { + return this.e; + } + set [S$1.$e](value) { + this.e = value; + } + get [S$1.$f]() { + return this.f; + } + set [S$1.$f](value) { + this.f = value; + } + [S$1.$flipX](...args) { + return this.flipX.apply(this, args); + } + [S$1.$flipY](...args) { + return this.flipY.apply(this, args); + } + [S$1.$inverse](...args) { + return this.inverse.apply(this, args); + } + [S$1.$multiply](...args) { + return this.multiply.apply(this, args); + } + [S$.$rotate](...args) { + return this.rotate.apply(this, args); + } + [S$1.$rotateFromVector](...args) { + return this.rotateFromVector.apply(this, args); + } + [S$.$scale](...args) { + return this.scale.apply(this, args); + } + [S$3.$scaleNonUniform](...args) { + return this.scaleNonUniform.apply(this, args); + } + [S$1.$skewX](...args) { + return this.skewX.apply(this, args); + } + [S$1.$skewY](...args) { + return this.skewY.apply(this, args); + } + [S.$translate](...args) { + return this.translate.apply(this, args); + } +}; +dart.addTypeTests(svg$.Matrix); +dart.addTypeCaches(svg$.Matrix); +dart.setMethodSignature(svg$.Matrix, () => ({ + __proto__: dart.getMethods(svg$.Matrix.__proto__), + [S$1.$flipX]: dart.fnType(svg$.Matrix, []), + [S$1.$flipY]: dart.fnType(svg$.Matrix, []), + [S$1.$inverse]: dart.fnType(svg$.Matrix, []), + [S$1.$multiply]: dart.fnType(svg$.Matrix, [svg$.Matrix]), + [S$.$rotate]: dart.fnType(svg$.Matrix, [core.num]), + [S$1.$rotateFromVector]: dart.fnType(svg$.Matrix, [core.num, core.num]), + [S$.$scale]: dart.fnType(svg$.Matrix, [core.num]), + [S$3.$scaleNonUniform]: dart.fnType(svg$.Matrix, [core.num, core.num]), + [S$1.$skewX]: dart.fnType(svg$.Matrix, [core.num]), + [S$1.$skewY]: dart.fnType(svg$.Matrix, [core.num]), + [S.$translate]: dart.fnType(svg$.Matrix, [core.num, core.num]) +})); +dart.setGetterSignature(svg$.Matrix, () => ({ + __proto__: dart.getGetters(svg$.Matrix.__proto__), + [S$1.$a]: dart.nullable(core.num), + [S$1.$b]: dart.nullable(core.num), + [S$1.$c]: dart.nullable(core.num), + [S$1.$d]: dart.nullable(core.num), + [S$1.$e]: dart.nullable(core.num), + [S$1.$f]: dart.nullable(core.num) +})); +dart.setSetterSignature(svg$.Matrix, () => ({ + __proto__: dart.getSetters(svg$.Matrix.__proto__), + [S$1.$a]: dart.nullable(core.num), + [S$1.$b]: dart.nullable(core.num), + [S$1.$c]: dart.nullable(core.num), + [S$1.$d]: dart.nullable(core.num), + [S$1.$e]: dart.nullable(core.num), + [S$1.$f]: dart.nullable(core.num) +})); +dart.setLibraryUri(svg$.Matrix, I[157]); +dart.registerExtension("SVGMatrix", svg$.Matrix); +svg$.MetadataElement = class MetadataElement extends svg$.SvgElement {}; +(svg$.MetadataElement.created = function() { + svg$.MetadataElement.__proto__.created.call(this); + ; +}).prototype = svg$.MetadataElement.prototype; +dart.addTypeTests(svg$.MetadataElement); +dart.addTypeCaches(svg$.MetadataElement); +dart.setLibraryUri(svg$.MetadataElement, I[157]); +dart.registerExtension("SVGMetadataElement", svg$.MetadataElement); +svg$.Number = class Number extends _interceptors.Interceptor { + get [S.$value]() { + return this.value; + } + set [S.$value](value) { + this.value = value; + } +}; +dart.addTypeTests(svg$.Number); +dart.addTypeCaches(svg$.Number); +dart.setGetterSignature(svg$.Number, () => ({ + __proto__: dart.getGetters(svg$.Number.__proto__), + [S.$value]: dart.nullable(core.num) +})); +dart.setSetterSignature(svg$.Number, () => ({ + __proto__: dart.getSetters(svg$.Number.__proto__), + [S.$value]: dart.nullable(core.num) +})); +dart.setLibraryUri(svg$.Number, I[157]); +dart.registerExtension("SVGNumber", svg$.Number); +const Interceptor_ListMixin$36$14 = class Interceptor_ListMixin extends _interceptors.Interceptor {}; +(Interceptor_ListMixin$36$14.new = function() { + Interceptor_ListMixin$36$14.__proto__.new.call(this); +}).prototype = Interceptor_ListMixin$36$14.prototype; +dart.applyMixin(Interceptor_ListMixin$36$14, collection.ListMixin$(svg$.Number)); +const Interceptor_ImmutableListMixin$36$14 = class Interceptor_ImmutableListMixin extends Interceptor_ListMixin$36$14 {}; +(Interceptor_ImmutableListMixin$36$14.new = function() { + Interceptor_ImmutableListMixin$36$14.__proto__.new.call(this); +}).prototype = Interceptor_ImmutableListMixin$36$14.prototype; +dart.applyMixin(Interceptor_ImmutableListMixin$36$14, html$.ImmutableListMixin$(svg$.Number)); +svg$.NumberList = class NumberList extends Interceptor_ImmutableListMixin$36$14 { + get [$length]() { + return this.length; + } + get [S$3.$numberOfItems]() { + return this.numberOfItems; + } + [$_get](index) { + if (index == null) dart.nullFailed(I[156], 2378, 26, "index"); + if (index >>> 0 !== index || index >= this[$length]) dart.throw(new core.IndexError.new(index, this)); + return this.getItem(index); + } + [$_set](index, value$) { + let value = value$; + if (index == null) dart.nullFailed(I[156], 2384, 25, "index"); + svg$.Number.as(value); + if (value == null) dart.nullFailed(I[156], 2384, 39, "value"); + dart.throw(new core.UnsupportedError.new("Cannot assign element of immutable List.")); + return value$; + } + set [$length](value) { + if (value == null) dart.nullFailed(I[156], 2390, 18, "value"); + dart.throw(new core.UnsupportedError.new("Cannot resize immutable List.")); + } + get [$first]() { + if (dart.notNull(this[$length]) > 0) { + return this[0]; + } + dart.throw(new core.StateError.new("No elements")); + } + set [$first](value) { + super[$first] = value; + } + get [$last]() { + let len = this[$length]; + if (dart.notNull(len) > 0) { + return this[dart.notNull(len) - 1]; + } + dart.throw(new core.StateError.new("No elements")); + } + set [$last](value) { + super[$last] = value; + } + get [$single]() { + let len = this[$length]; + if (len === 1) { + return this[0]; + } + if (len === 0) dart.throw(new core.StateError.new("No elements")); + dart.throw(new core.StateError.new("More than one element")); + } + [$elementAt](index) { + if (index == null) dart.nullFailed(I[156], 2418, 24, "index"); + return this[$_get](index); + } + [S$3.__setter__$1](...args) { + return this.__setter__.apply(this, args); + } + [S$3.$appendItem](...args) { + return this.appendItem.apply(this, args); + } + [$clear](...args) { + return this.clear.apply(this, args); + } + [S$3.$getItem](...args) { + return this.getItem.apply(this, args); + } + [S$3.$initialize](...args) { + return this.initialize.apply(this, args); + } + [S$3.$insertItemBefore](...args) { + return this.insertItemBefore.apply(this, args); + } + [S$3.$removeItem](...args) { + return this.removeItem.apply(this, args); + } + [S$3.$replaceItem](...args) { + return this.replaceItem.apply(this, args); + } +}; +svg$.NumberList.prototype[dart.isList] = true; +dart.addTypeTests(svg$.NumberList); +dart.addTypeCaches(svg$.NumberList); +svg$.NumberList[dart.implements] = () => [core.List$(svg$.Number)]; +dart.setMethodSignature(svg$.NumberList, () => ({ + __proto__: dart.getMethods(svg$.NumberList.__proto__), + [$_get]: dart.fnType(svg$.Number, [core.int]), + [$_set]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), + [S$3.__setter__$1]: dart.fnType(dart.void, [core.int, svg$.Number]), + [S$3.$appendItem]: dart.fnType(svg$.Number, [svg$.Number]), + [S$3.$getItem]: dart.fnType(svg$.Number, [core.int]), + [S$3.$initialize]: dart.fnType(svg$.Number, [svg$.Number]), + [S$3.$insertItemBefore]: dart.fnType(svg$.Number, [svg$.Number, core.int]), + [S$3.$removeItem]: dart.fnType(svg$.Number, [core.int]), + [S$3.$replaceItem]: dart.fnType(svg$.Number, [svg$.Number, core.int]) +})); +dart.setGetterSignature(svg$.NumberList, () => ({ + __proto__: dart.getGetters(svg$.NumberList.__proto__), + [$length]: core.int, + [S$3.$numberOfItems]: dart.nullable(core.int) +})); +dart.setSetterSignature(svg$.NumberList, () => ({ + __proto__: dart.getSetters(svg$.NumberList.__proto__), + [$length]: core.int +})); +dart.setLibraryUri(svg$.NumberList, I[157]); +dart.registerExtension("SVGNumberList", svg$.NumberList); +svg$.PathElement = class PathElement extends svg$.GeometryElement { + static new() { + return svg$.PathElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("path")); + } +}; +(svg$.PathElement.created = function() { + svg$.PathElement.__proto__.created.call(this); + ; +}).prototype = svg$.PathElement.prototype; +dart.addTypeTests(svg$.PathElement); +dart.addTypeCaches(svg$.PathElement); +dart.setLibraryUri(svg$.PathElement, I[157]); +dart.registerExtension("SVGPathElement", svg$.PathElement); +svg$.PatternElement = class PatternElement extends svg$.SvgElement { + static new() { + return svg$.PatternElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("pattern")); + } + get [$height]() { + return this.height; + } + get [S$3.$patternContentUnits]() { + return this.patternContentUnits; + } + get [S$3.$patternTransform]() { + return this.patternTransform; + } + get [S$3.$patternUnits]() { + return this.patternUnits; + } + get [$width]() { + return this.width; + } + get [S$.$x]() { + return this.x; + } + get [S$.$y]() { + return this.y; + } + get [S$3.$preserveAspectRatio]() { + return this.preserveAspectRatio; + } + get [S$3.$viewBox]() { + return this.viewBox; + } + get [S$3.$requiredExtensions]() { + return this.requiredExtensions; + } + get [S$3.$systemLanguage]() { + return this.systemLanguage; + } + get [S$.$href]() { + return this.href; + } +}; +(svg$.PatternElement.created = function() { + svg$.PatternElement.__proto__.created.call(this); + ; +}).prototype = svg$.PatternElement.prototype; +dart.addTypeTests(svg$.PatternElement); +dart.addTypeCaches(svg$.PatternElement); +svg$.PatternElement[dart.implements] = () => [svg$.FitToViewBox, svg$.UriReference, svg$.Tests]; +dart.setGetterSignature(svg$.PatternElement, () => ({ + __proto__: dart.getGetters(svg$.PatternElement.__proto__), + [$height]: dart.nullable(svg$.AnimatedLength), + [S$3.$patternContentUnits]: dart.nullable(svg$.AnimatedEnumeration), + [S$3.$patternTransform]: dart.nullable(svg$.AnimatedTransformList), + [S$3.$patternUnits]: dart.nullable(svg$.AnimatedEnumeration), + [$width]: dart.nullable(svg$.AnimatedLength), + [S$.$x]: dart.nullable(svg$.AnimatedLength), + [S$.$y]: dart.nullable(svg$.AnimatedLength), + [S$3.$preserveAspectRatio]: dart.nullable(svg$.AnimatedPreserveAspectRatio), + [S$3.$viewBox]: dart.nullable(svg$.AnimatedRect), + [S$3.$requiredExtensions]: dart.nullable(svg$.StringList), + [S$3.$systemLanguage]: dart.nullable(svg$.StringList), + [S$.$href]: dart.nullable(svg$.AnimatedString) +})); +dart.setLibraryUri(svg$.PatternElement, I[157]); +dart.registerExtension("SVGPatternElement", svg$.PatternElement); +svg$.Point = class Point extends _interceptors.Interceptor { + get [S$.$x]() { + return this.x; + } + set [S$.$x](value) { + this.x = value; + } + get [S$.$y]() { + return this.y; + } + set [S$.$y](value) { + this.y = value; + } + [S$1.$matrixTransform](...args) { + return this.matrixTransform.apply(this, args); + } +}; +dart.addTypeTests(svg$.Point); +dart.addTypeCaches(svg$.Point); +dart.setMethodSignature(svg$.Point, () => ({ + __proto__: dart.getMethods(svg$.Point.__proto__), + [S$1.$matrixTransform]: dart.fnType(svg$.Point, [svg$.Matrix]) +})); +dart.setGetterSignature(svg$.Point, () => ({ + __proto__: dart.getGetters(svg$.Point.__proto__), + [S$.$x]: dart.nullable(core.num), + [S$.$y]: dart.nullable(core.num) +})); +dart.setSetterSignature(svg$.Point, () => ({ + __proto__: dart.getSetters(svg$.Point.__proto__), + [S$.$x]: dart.nullable(core.num), + [S$.$y]: dart.nullable(core.num) +})); +dart.setLibraryUri(svg$.Point, I[157]); +dart.registerExtension("SVGPoint", svg$.Point); +svg$.PointList = class PointList extends _interceptors.Interceptor { + get [$length]() { + return this.length; + } + get [S$3.$numberOfItems]() { + return this.numberOfItems; + } + [S$3.__setter__$1](...args) { + return this.__setter__.apply(this, args); + } + [S$3.$appendItem](...args) { + return this.appendItem.apply(this, args); + } + [$clear](...args) { + return this.clear.apply(this, args); + } + [S$3.$getItem](...args) { + return this.getItem.apply(this, args); + } + [S$3.$initialize](...args) { + return this.initialize.apply(this, args); + } + [S$3.$insertItemBefore](...args) { + return this.insertItemBefore.apply(this, args); + } + [S$3.$removeItem](...args) { + return this.removeItem.apply(this, args); + } + [S$3.$replaceItem](...args) { + return this.replaceItem.apply(this, args); + } +}; +dart.addTypeTests(svg$.PointList); +dart.addTypeCaches(svg$.PointList); +dart.setMethodSignature(svg$.PointList, () => ({ + __proto__: dart.getMethods(svg$.PointList.__proto__), + [S$3.__setter__$1]: dart.fnType(dart.void, [core.int, svg$.Point]), + [S$3.$appendItem]: dart.fnType(svg$.Point, [svg$.Point]), + [$clear]: dart.fnType(dart.void, []), + [S$3.$getItem]: dart.fnType(svg$.Point, [core.int]), + [S$3.$initialize]: dart.fnType(svg$.Point, [svg$.Point]), + [S$3.$insertItemBefore]: dart.fnType(svg$.Point, [svg$.Point, core.int]), + [S$3.$removeItem]: dart.fnType(svg$.Point, [core.int]), + [S$3.$replaceItem]: dart.fnType(svg$.Point, [svg$.Point, core.int]) +})); +dart.setGetterSignature(svg$.PointList, () => ({ + __proto__: dart.getGetters(svg$.PointList.__proto__), + [$length]: dart.nullable(core.int), + [S$3.$numberOfItems]: dart.nullable(core.int) +})); +dart.setLibraryUri(svg$.PointList, I[157]); +dart.registerExtension("SVGPointList", svg$.PointList); +svg$.PolygonElement = class PolygonElement extends svg$.GeometryElement { + static new() { + return svg$.PolygonElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("polygon")); + } + get [S$3.$animatedPoints]() { + return this.animatedPoints; + } + get [S$3.$points]() { + return this.points; + } +}; +(svg$.PolygonElement.created = function() { + svg$.PolygonElement.__proto__.created.call(this); + ; +}).prototype = svg$.PolygonElement.prototype; +dart.addTypeTests(svg$.PolygonElement); +dart.addTypeCaches(svg$.PolygonElement); +dart.setGetterSignature(svg$.PolygonElement, () => ({ + __proto__: dart.getGetters(svg$.PolygonElement.__proto__), + [S$3.$animatedPoints]: dart.nullable(svg$.PointList), + [S$3.$points]: svg$.PointList +})); +dart.setLibraryUri(svg$.PolygonElement, I[157]); +dart.registerExtension("SVGPolygonElement", svg$.PolygonElement); +svg$.PolylineElement = class PolylineElement extends svg$.GeometryElement { + static new() { + return svg$.PolylineElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("polyline")); + } + get [S$3.$animatedPoints]() { + return this.animatedPoints; + } + get [S$3.$points]() { + return this.points; + } +}; +(svg$.PolylineElement.created = function() { + svg$.PolylineElement.__proto__.created.call(this); + ; +}).prototype = svg$.PolylineElement.prototype; +dart.addTypeTests(svg$.PolylineElement); +dart.addTypeCaches(svg$.PolylineElement); +dart.setGetterSignature(svg$.PolylineElement, () => ({ + __proto__: dart.getGetters(svg$.PolylineElement.__proto__), + [S$3.$animatedPoints]: dart.nullable(svg$.PointList), + [S$3.$points]: svg$.PointList +})); +dart.setLibraryUri(svg$.PolylineElement, I[157]); +dart.registerExtension("SVGPolylineElement", svg$.PolylineElement); +svg$.PreserveAspectRatio = class PreserveAspectRatio extends _interceptors.Interceptor { + get [S$3.$align]() { + return this.align; + } + set [S$3.$align](value) { + this.align = value; + } + get [S$3.$meetOrSlice]() { + return this.meetOrSlice; + } + set [S$3.$meetOrSlice](value) { + this.meetOrSlice = value; + } +}; +dart.addTypeTests(svg$.PreserveAspectRatio); +dart.addTypeCaches(svg$.PreserveAspectRatio); +dart.setGetterSignature(svg$.PreserveAspectRatio, () => ({ + __proto__: dart.getGetters(svg$.PreserveAspectRatio.__proto__), + [S$3.$align]: dart.nullable(core.int), + [S$3.$meetOrSlice]: dart.nullable(core.int) +})); +dart.setSetterSignature(svg$.PreserveAspectRatio, () => ({ + __proto__: dart.getSetters(svg$.PreserveAspectRatio.__proto__), + [S$3.$align]: dart.nullable(core.int), + [S$3.$meetOrSlice]: dart.nullable(core.int) +})); +dart.setLibraryUri(svg$.PreserveAspectRatio, I[157]); +dart.defineLazy(svg$.PreserveAspectRatio, { + /*svg$.PreserveAspectRatio.SVG_MEETORSLICE_MEET*/get SVG_MEETORSLICE_MEET() { + return 1; + }, + /*svg$.PreserveAspectRatio.SVG_MEETORSLICE_SLICE*/get SVG_MEETORSLICE_SLICE() { + return 2; + }, + /*svg$.PreserveAspectRatio.SVG_MEETORSLICE_UNKNOWN*/get SVG_MEETORSLICE_UNKNOWN() { + return 0; + }, + /*svg$.PreserveAspectRatio.SVG_PRESERVEASPECTRATIO_NONE*/get SVG_PRESERVEASPECTRATIO_NONE() { + return 1; + }, + /*svg$.PreserveAspectRatio.SVG_PRESERVEASPECTRATIO_UNKNOWN*/get SVG_PRESERVEASPECTRATIO_UNKNOWN() { + return 0; + }, + /*svg$.PreserveAspectRatio.SVG_PRESERVEASPECTRATIO_XMAXYMAX*/get SVG_PRESERVEASPECTRATIO_XMAXYMAX() { + return 10; + }, + /*svg$.PreserveAspectRatio.SVG_PRESERVEASPECTRATIO_XMAXYMID*/get SVG_PRESERVEASPECTRATIO_XMAXYMID() { + return 7; + }, + /*svg$.PreserveAspectRatio.SVG_PRESERVEASPECTRATIO_XMAXYMIN*/get SVG_PRESERVEASPECTRATIO_XMAXYMIN() { + return 4; + }, + /*svg$.PreserveAspectRatio.SVG_PRESERVEASPECTRATIO_XMIDYMAX*/get SVG_PRESERVEASPECTRATIO_XMIDYMAX() { + return 9; + }, + /*svg$.PreserveAspectRatio.SVG_PRESERVEASPECTRATIO_XMIDYMID*/get SVG_PRESERVEASPECTRATIO_XMIDYMID() { + return 6; + }, + /*svg$.PreserveAspectRatio.SVG_PRESERVEASPECTRATIO_XMIDYMIN*/get SVG_PRESERVEASPECTRATIO_XMIDYMIN() { + return 3; + }, + /*svg$.PreserveAspectRatio.SVG_PRESERVEASPECTRATIO_XMINYMAX*/get SVG_PRESERVEASPECTRATIO_XMINYMAX() { + return 8; + }, + /*svg$.PreserveAspectRatio.SVG_PRESERVEASPECTRATIO_XMINYMID*/get SVG_PRESERVEASPECTRATIO_XMINYMID() { + return 5; + }, + /*svg$.PreserveAspectRatio.SVG_PRESERVEASPECTRATIO_XMINYMIN*/get SVG_PRESERVEASPECTRATIO_XMINYMIN() { + return 2; + } +}, false); +dart.registerExtension("SVGPreserveAspectRatio", svg$.PreserveAspectRatio); +svg$.RadialGradientElement = class RadialGradientElement extends svg$._GradientElement { + static new() { + return svg$.RadialGradientElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("radialGradient")); + } + get [S$3.$cx]() { + return this.cx; + } + get [S$3.$cy]() { + return this.cy; + } + get [S$3.$fr]() { + return this.fr; + } + get [S$3.$fx]() { + return this.fx; + } + get [S$3.$fy]() { + return this.fy; + } + get [S$3.$r]() { + return this.r; + } +}; +(svg$.RadialGradientElement.created = function() { + svg$.RadialGradientElement.__proto__.created.call(this); + ; +}).prototype = svg$.RadialGradientElement.prototype; +dart.addTypeTests(svg$.RadialGradientElement); +dart.addTypeCaches(svg$.RadialGradientElement); +dart.setGetterSignature(svg$.RadialGradientElement, () => ({ + __proto__: dart.getGetters(svg$.RadialGradientElement.__proto__), + [S$3.$cx]: dart.nullable(svg$.AnimatedLength), + [S$3.$cy]: dart.nullable(svg$.AnimatedLength), + [S$3.$fr]: dart.nullable(svg$.AnimatedLength), + [S$3.$fx]: dart.nullable(svg$.AnimatedLength), + [S$3.$fy]: dart.nullable(svg$.AnimatedLength), + [S$3.$r]: dart.nullable(svg$.AnimatedLength) +})); +dart.setLibraryUri(svg$.RadialGradientElement, I[157]); +dart.registerExtension("SVGRadialGradientElement", svg$.RadialGradientElement); +svg$.Rect = class Rect extends _interceptors.Interceptor { + get [$height]() { + return this.height; + } + set [$height](value) { + this.height = value; + } + get [$width]() { + return this.width; + } + set [$width](value) { + this.width = value; + } + get [S$.$x]() { + return this.x; + } + set [S$.$x](value) { + this.x = value; + } + get [S$.$y]() { + return this.y; + } + set [S$.$y](value) { + this.y = value; + } +}; +dart.addTypeTests(svg$.Rect); +dart.addTypeCaches(svg$.Rect); +dart.setGetterSignature(svg$.Rect, () => ({ + __proto__: dart.getGetters(svg$.Rect.__proto__), + [$height]: dart.nullable(core.num), + [$width]: dart.nullable(core.num), + [S$.$x]: dart.nullable(core.num), + [S$.$y]: dart.nullable(core.num) +})); +dart.setSetterSignature(svg$.Rect, () => ({ + __proto__: dart.getSetters(svg$.Rect.__proto__), + [$height]: dart.nullable(core.num), + [$width]: dart.nullable(core.num), + [S$.$x]: dart.nullable(core.num), + [S$.$y]: dart.nullable(core.num) +})); +dart.setLibraryUri(svg$.Rect, I[157]); +dart.registerExtension("SVGRect", svg$.Rect); +svg$.RectElement = class RectElement extends svg$.GeometryElement { + static new() { + return svg$.RectElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("rect")); + } + get [$height]() { + return this.height; + } + get [S$3.$rx]() { + return this.rx; + } + get [S$3.$ry]() { + return this.ry; + } + get [$width]() { + return this.width; + } + get [S$.$x]() { + return this.x; + } + get [S$.$y]() { + return this.y; + } +}; +(svg$.RectElement.created = function() { + svg$.RectElement.__proto__.created.call(this); + ; +}).prototype = svg$.RectElement.prototype; +dart.addTypeTests(svg$.RectElement); +dart.addTypeCaches(svg$.RectElement); +dart.setGetterSignature(svg$.RectElement, () => ({ + __proto__: dart.getGetters(svg$.RectElement.__proto__), + [$height]: dart.nullable(svg$.AnimatedLength), + [S$3.$rx]: dart.nullable(svg$.AnimatedLength), + [S$3.$ry]: dart.nullable(svg$.AnimatedLength), + [$width]: dart.nullable(svg$.AnimatedLength), + [S$.$x]: dart.nullable(svg$.AnimatedLength), + [S$.$y]: dart.nullable(svg$.AnimatedLength) +})); +dart.setLibraryUri(svg$.RectElement, I[157]); +dart.registerExtension("SVGRectElement", svg$.RectElement); +svg$.ScriptElement = class ScriptElement extends svg$.SvgElement { + static new() { + return svg$.ScriptElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("script")); + } + get [S.$type]() { + return this.type; + } + set [S.$type](value) { + this.type = value; + } + get [S$.$href]() { + return this.href; + } +}; +(svg$.ScriptElement.created = function() { + svg$.ScriptElement.__proto__.created.call(this); + ; +}).prototype = svg$.ScriptElement.prototype; +dart.addTypeTests(svg$.ScriptElement); +dart.addTypeCaches(svg$.ScriptElement); +svg$.ScriptElement[dart.implements] = () => [svg$.UriReference]; +dart.setGetterSignature(svg$.ScriptElement, () => ({ + __proto__: dart.getGetters(svg$.ScriptElement.__proto__), + [S.$type]: dart.nullable(core.String), + [S$.$href]: dart.nullable(svg$.AnimatedString) +})); +dart.setSetterSignature(svg$.ScriptElement, () => ({ + __proto__: dart.getSetters(svg$.ScriptElement.__proto__), + [S.$type]: dart.nullable(core.String) +})); +dart.setLibraryUri(svg$.ScriptElement, I[157]); +dart.registerExtension("SVGScriptElement", svg$.ScriptElement); +svg$.SetElement = class SetElement extends svg$.AnimationElement { + static new() { + return svg$.SetElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("set")); + } + static get supported() { + return dart.test(svg$.SvgElement.isTagSupported("set")) && svg$.SetElement.is(svg$.SvgElement.tag("set")); + } +}; +(svg$.SetElement.created = function() { + svg$.SetElement.__proto__.created.call(this); + ; +}).prototype = svg$.SetElement.prototype; +dart.addTypeTests(svg$.SetElement); +dart.addTypeCaches(svg$.SetElement); +dart.setLibraryUri(svg$.SetElement, I[157]); +dart.registerExtension("SVGSetElement", svg$.SetElement); +svg$.StopElement = class StopElement extends svg$.SvgElement { + static new() { + return svg$.StopElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("stop")); + } + get [S$3.$gradientOffset]() { + return this.offset; + } +}; +(svg$.StopElement.created = function() { + svg$.StopElement.__proto__.created.call(this); + ; +}).prototype = svg$.StopElement.prototype; +dart.addTypeTests(svg$.StopElement); +dart.addTypeCaches(svg$.StopElement); +dart.setGetterSignature(svg$.StopElement, () => ({ + __proto__: dart.getGetters(svg$.StopElement.__proto__), + [S$3.$gradientOffset]: svg$.AnimatedNumber +})); +dart.setLibraryUri(svg$.StopElement, I[157]); +dart.registerExtension("SVGStopElement", svg$.StopElement); +const Interceptor_ListMixin$36$15 = class Interceptor_ListMixin extends _interceptors.Interceptor {}; +(Interceptor_ListMixin$36$15.new = function() { + Interceptor_ListMixin$36$15.__proto__.new.call(this); +}).prototype = Interceptor_ListMixin$36$15.prototype; +dart.applyMixin(Interceptor_ListMixin$36$15, collection.ListMixin$(core.String)); +const Interceptor_ImmutableListMixin$36$15 = class Interceptor_ImmutableListMixin extends Interceptor_ListMixin$36$15 {}; +(Interceptor_ImmutableListMixin$36$15.new = function() { + Interceptor_ImmutableListMixin$36$15.__proto__.new.call(this); +}).prototype = Interceptor_ImmutableListMixin$36$15.prototype; +dart.applyMixin(Interceptor_ImmutableListMixin$36$15, html$.ImmutableListMixin$(core.String)); +svg$.StringList = class StringList extends Interceptor_ImmutableListMixin$36$15 { + get [$length]() { + return this.length; + } + get [S$3.$numberOfItems]() { + return this.numberOfItems; + } + [$_get](index) { + if (index == null) dart.nullFailed(I[156], 2861, 26, "index"); + if (index >>> 0 !== index || index >= this[$length]) dart.throw(new core.IndexError.new(index, this)); + return this.getItem(index); + } + [$_set](index, value$) { + let value = value$; + if (index == null) dart.nullFailed(I[156], 2867, 25, "index"); + core.String.as(value); + if (value == null) dart.nullFailed(I[156], 2867, 39, "value"); + dart.throw(new core.UnsupportedError.new("Cannot assign element of immutable List.")); + return value$; + } + set [$length](value) { + if (value == null) dart.nullFailed(I[156], 2873, 18, "value"); + dart.throw(new core.UnsupportedError.new("Cannot resize immutable List.")); + } + get [$first]() { + if (dart.notNull(this[$length]) > 0) { + return this[0]; + } + dart.throw(new core.StateError.new("No elements")); + } + set [$first](value) { + super[$first] = value; + } + get [$last]() { + let len = this[$length]; + if (dart.notNull(len) > 0) { + return this[dart.notNull(len) - 1]; + } + dart.throw(new core.StateError.new("No elements")); + } + set [$last](value) { + super[$last] = value; + } + get [$single]() { + let len = this[$length]; + if (len === 1) { + return this[0]; + } + if (len === 0) dart.throw(new core.StateError.new("No elements")); + dart.throw(new core.StateError.new("More than one element")); + } + [$elementAt](index) { + if (index == null) dart.nullFailed(I[156], 2901, 24, "index"); + return this[$_get](index); + } + [S$3.__setter__$1](...args) { + return this.__setter__.apply(this, args); + } + [S$3.$appendItem](...args) { + return this.appendItem.apply(this, args); + } + [$clear](...args) { + return this.clear.apply(this, args); + } + [S$3.$getItem](...args) { + return this.getItem.apply(this, args); + } + [S$3.$initialize](...args) { + return this.initialize.apply(this, args); + } + [S$3.$insertItemBefore](...args) { + return this.insertItemBefore.apply(this, args); + } + [S$3.$removeItem](...args) { + return this.removeItem.apply(this, args); + } + [S$3.$replaceItem](...args) { + return this.replaceItem.apply(this, args); + } +}; +svg$.StringList.prototype[dart.isList] = true; +dart.addTypeTests(svg$.StringList); +dart.addTypeCaches(svg$.StringList); +svg$.StringList[dart.implements] = () => [core.List$(core.String)]; +dart.setMethodSignature(svg$.StringList, () => ({ + __proto__: dart.getMethods(svg$.StringList.__proto__), + [$_get]: dart.fnType(core.String, [core.int]), + [$_set]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), + [S$3.__setter__$1]: dart.fnType(dart.void, [core.int, core.String]), + [S$3.$appendItem]: dart.fnType(core.String, [core.String]), + [S$3.$getItem]: dart.fnType(core.String, [core.int]), + [S$3.$initialize]: dart.fnType(core.String, [core.String]), + [S$3.$insertItemBefore]: dart.fnType(core.String, [core.String, core.int]), + [S$3.$removeItem]: dart.fnType(core.String, [core.int]), + [S$3.$replaceItem]: dart.fnType(core.String, [core.String, core.int]) +})); +dart.setGetterSignature(svg$.StringList, () => ({ + __proto__: dart.getGetters(svg$.StringList.__proto__), + [$length]: core.int, + [S$3.$numberOfItems]: dart.nullable(core.int) +})); +dart.setSetterSignature(svg$.StringList, () => ({ + __proto__: dart.getSetters(svg$.StringList.__proto__), + [$length]: core.int +})); +dart.setLibraryUri(svg$.StringList, I[157]); +dart.registerExtension("SVGStringList", svg$.StringList); +svg$.StyleElement = class StyleElement extends svg$.SvgElement { + static new() { + return svg$.StyleElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("style")); + } + get [S$.$disabled]() { + return this.disabled; + } + set [S$.$disabled](value) { + this.disabled = value; + } + get [S$.$media]() { + return this.media; + } + set [S$.$media](value) { + this.media = value; + } + get [S$1.$sheet]() { + return this.sheet; + } + get [S.$type]() { + return this.type; + } + set [S.$type](value) { + this.type = value; + } +}; +(svg$.StyleElement.created = function() { + svg$.StyleElement.__proto__.created.call(this); + ; +}).prototype = svg$.StyleElement.prototype; +dart.addTypeTests(svg$.StyleElement); +dart.addTypeCaches(svg$.StyleElement); +dart.setGetterSignature(svg$.StyleElement, () => ({ + __proto__: dart.getGetters(svg$.StyleElement.__proto__), + [S$.$disabled]: dart.nullable(core.bool), + [S$.$media]: dart.nullable(core.String), + [S$1.$sheet]: dart.nullable(html$.StyleSheet), + [S.$type]: dart.nullable(core.String) +})); +dart.setSetterSignature(svg$.StyleElement, () => ({ + __proto__: dart.getSetters(svg$.StyleElement.__proto__), + [S$.$disabled]: dart.nullable(core.bool), + [S$.$media]: dart.nullable(core.String), + [S.$type]: dart.nullable(core.String) +})); +dart.setLibraryUri(svg$.StyleElement, I[157]); +dart.registerExtension("SVGStyleElement", svg$.StyleElement); +svg$.AttributeClassSet = class AttributeClassSet extends html_common.CssClassSetImpl { + readClasses() { + let classname = this[S$3._element$3][S.$attributes][$_get]("class"); + if (svg$.AnimatedString.is(classname)) { + classname = svg$.AnimatedString.as(classname).baseVal; + } + let s = new (T$0._IdentityHashSetOfString()).new(); + if (classname == null) { + return s; + } + for (let name of classname[$split](" ")) { + let trimmed = name[$trim](); + if (!trimmed[$isEmpty]) { + s.add(trimmed); + } + } + return s; + } + writeClasses(s) { + if (s == null) dart.nullFailed(I[156], 2986, 25, "s"); + this[S$3._element$3][S.$setAttribute]("class", s[$join](" ")); + } +}; +(svg$.AttributeClassSet.new = function(_element) { + if (_element == null) dart.nullFailed(I[156], 2965, 26, "_element"); + this[S$3._element$3] = _element; + ; +}).prototype = svg$.AttributeClassSet.prototype; +dart.addTypeTests(svg$.AttributeClassSet); +dart.addTypeCaches(svg$.AttributeClassSet); +dart.setMethodSignature(svg$.AttributeClassSet, () => ({ + __proto__: dart.getMethods(svg$.AttributeClassSet.__proto__), + readClasses: dart.fnType(core.Set$(core.String), []), + writeClasses: dart.fnType(dart.void, [core.Set]) +})); +dart.setLibraryUri(svg$.AttributeClassSet, I[157]); +dart.setFieldSignature(svg$.AttributeClassSet, () => ({ + __proto__: dart.getFields(svg$.AttributeClassSet.__proto__), + [S$3._element$3]: dart.finalFieldType(html$.Element) +})); +svg$.SvgSvgElement = class SvgSvgElement extends svg$.GraphicsElement { + static new() { + let el = svg$.SvgElement.tag("svg"); + el[S.$attributes][$_set]("version", "1.1"); + return svg$.SvgSvgElement.as(el); + } + get [S$3.$currentScale]() { + return this.currentScale; + } + set [S$3.$currentScale](value) { + this.currentScale = value; + } + get [S$3.$currentTranslate]() { + return this.currentTranslate; + } + get [$height]() { + return this.height; + } + get [$width]() { + return this.width; + } + get [S$.$x]() { + return this.x; + } + get [S$.$y]() { + return this.y; + } + [S$3.$animationsPaused](...args) { + return this.animationsPaused.apply(this, args); + } + [S$3.$checkEnclosure](...args) { + return this.checkEnclosure.apply(this, args); + } + [S$3.$checkIntersection](...args) { + return this.checkIntersection.apply(this, args); + } + [S$3.$createSvgAngle](...args) { + return this.createSVGAngle.apply(this, args); + } + [S$3.$createSvgLength](...args) { + return this.createSVGLength.apply(this, args); + } + [S$3.$createSvgMatrix](...args) { + return this.createSVGMatrix.apply(this, args); + } + [S$3.$createSvgNumber](...args) { + return this.createSVGNumber.apply(this, args); + } + [S$3.$createSvgPoint](...args) { + return this.createSVGPoint.apply(this, args); + } + [S$3.$createSvgRect](...args) { + return this.createSVGRect.apply(this, args); + } + [S$3.$createSvgTransform](...args) { + return this.createSVGTransform.apply(this, args); + } + [S$3.$createSvgTransformFromMatrix](...args) { + return this.createSVGTransformFromMatrix.apply(this, args); + } + [S$3.$deselectAll](...args) { + return this.deselectAll.apply(this, args); + } + [S$3.$forceRedraw](...args) { + return this.forceRedraw.apply(this, args); + } + [S$3.$getCurrentTime](...args) { + return this.getCurrentTime.apply(this, args); + } + [S$1.$getElementById](...args) { + return this.getElementById.apply(this, args); + } + [S$3.$getEnclosureList](...args) { + return this.getEnclosureList.apply(this, args); + } + [S$3.$getIntersectionList](...args) { + return this.getIntersectionList.apply(this, args); + } + [S$3.$pauseAnimations](...args) { + return this.pauseAnimations.apply(this, args); + } + [S$3.$setCurrentTime](...args) { + return this.setCurrentTime.apply(this, args); + } + [S$3.$suspendRedraw](...args) { + return this.suspendRedraw.apply(this, args); + } + [S$3.$unpauseAnimations](...args) { + return this.unpauseAnimations.apply(this, args); + } + [S$3.$unsuspendRedraw](...args) { + return this.unsuspendRedraw.apply(this, args); + } + [S$3.$unsuspendRedrawAll](...args) { + return this.unsuspendRedrawAll.apply(this, args); + } + get [S$3.$preserveAspectRatio]() { + return this.preserveAspectRatio; + } + get [S$3.$viewBox]() { + return this.viewBox; + } + get [S$3.$zoomAndPan]() { + return this.zoomAndPan; + } + set [S$3.$zoomAndPan](value) { + this.zoomAndPan = value; + } +}; +(svg$.SvgSvgElement.created = function() { + svg$.SvgSvgElement.__proto__.created.call(this); + ; +}).prototype = svg$.SvgSvgElement.prototype; +dart.addTypeTests(svg$.SvgSvgElement); +dart.addTypeCaches(svg$.SvgSvgElement); +svg$.SvgSvgElement[dart.implements] = () => [svg$.FitToViewBox, svg$.ZoomAndPan]; +dart.setMethodSignature(svg$.SvgSvgElement, () => ({ + __proto__: dart.getMethods(svg$.SvgSvgElement.__proto__), + [S$3.$animationsPaused]: dart.fnType(core.bool, []), + [S$3.$checkEnclosure]: dart.fnType(core.bool, [svg$.SvgElement, svg$.Rect]), + [S$3.$checkIntersection]: dart.fnType(core.bool, [svg$.SvgElement, svg$.Rect]), + [S$3.$createSvgAngle]: dart.fnType(svg$.Angle, []), + [S$3.$createSvgLength]: dart.fnType(svg$.Length, []), + [S$3.$createSvgMatrix]: dart.fnType(svg$.Matrix, []), + [S$3.$createSvgNumber]: dart.fnType(svg$.Number, []), + [S$3.$createSvgPoint]: dart.fnType(svg$.Point, []), + [S$3.$createSvgRect]: dart.fnType(svg$.Rect, []), + [S$3.$createSvgTransform]: dart.fnType(svg$.Transform, []), + [S$3.$createSvgTransformFromMatrix]: dart.fnType(svg$.Transform, [svg$.Matrix]), + [S$3.$deselectAll]: dart.fnType(dart.void, []), + [S$3.$forceRedraw]: dart.fnType(dart.void, []), + [S$3.$getCurrentTime]: dart.fnType(core.double, []), + [S$1.$getElementById]: dart.fnType(html$.Element, [core.String]), + [S$3.$getEnclosureList]: dart.fnType(core.List$(html$.Node), [svg$.Rect, dart.nullable(svg$.SvgElement)]), + [S$3.$getIntersectionList]: dart.fnType(core.List$(html$.Node), [svg$.Rect, dart.nullable(svg$.SvgElement)]), + [S$3.$pauseAnimations]: dart.fnType(dart.void, []), + [S$3.$setCurrentTime]: dart.fnType(dart.void, [core.num]), + [S$3.$suspendRedraw]: dart.fnType(core.int, [core.int]), + [S$3.$unpauseAnimations]: dart.fnType(dart.void, []), + [S$3.$unsuspendRedraw]: dart.fnType(dart.void, [core.int]), + [S$3.$unsuspendRedrawAll]: dart.fnType(dart.void, []) +})); +dart.setGetterSignature(svg$.SvgSvgElement, () => ({ + __proto__: dart.getGetters(svg$.SvgSvgElement.__proto__), + [S$3.$currentScale]: dart.nullable(core.num), + [S$3.$currentTranslate]: dart.nullable(svg$.Point), + [$height]: dart.nullable(svg$.AnimatedLength), + [$width]: dart.nullable(svg$.AnimatedLength), + [S$.$x]: dart.nullable(svg$.AnimatedLength), + [S$.$y]: dart.nullable(svg$.AnimatedLength), + [S$3.$preserveAspectRatio]: dart.nullable(svg$.AnimatedPreserveAspectRatio), + [S$3.$viewBox]: dart.nullable(svg$.AnimatedRect), + [S$3.$zoomAndPan]: dart.nullable(core.int) +})); +dart.setSetterSignature(svg$.SvgSvgElement, () => ({ + __proto__: dart.getSetters(svg$.SvgSvgElement.__proto__), + [S$3.$currentScale]: dart.nullable(core.num), + [S$3.$zoomAndPan]: dart.nullable(core.int) +})); +dart.setLibraryUri(svg$.SvgSvgElement, I[157]); +dart.registerExtension("SVGSVGElement", svg$.SvgSvgElement); +svg$.SwitchElement = class SwitchElement extends svg$.GraphicsElement { + static new() { + return svg$.SwitchElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("switch")); + } +}; +(svg$.SwitchElement.created = function() { + svg$.SwitchElement.__proto__.created.call(this); + ; +}).prototype = svg$.SwitchElement.prototype; +dart.addTypeTests(svg$.SwitchElement); +dart.addTypeCaches(svg$.SwitchElement); +dart.setLibraryUri(svg$.SwitchElement, I[157]); +dart.registerExtension("SVGSwitchElement", svg$.SwitchElement); +svg$.SymbolElement = class SymbolElement extends svg$.SvgElement { + static new() { + return svg$.SymbolElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("symbol")); + } + get [S$3.$preserveAspectRatio]() { + return this.preserveAspectRatio; + } + get [S$3.$viewBox]() { + return this.viewBox; + } +}; +(svg$.SymbolElement.created = function() { + svg$.SymbolElement.__proto__.created.call(this); + ; +}).prototype = svg$.SymbolElement.prototype; +dart.addTypeTests(svg$.SymbolElement); +dart.addTypeCaches(svg$.SymbolElement); +svg$.SymbolElement[dart.implements] = () => [svg$.FitToViewBox]; +dart.setGetterSignature(svg$.SymbolElement, () => ({ + __proto__: dart.getGetters(svg$.SymbolElement.__proto__), + [S$3.$preserveAspectRatio]: dart.nullable(svg$.AnimatedPreserveAspectRatio), + [S$3.$viewBox]: dart.nullable(svg$.AnimatedRect) +})); +dart.setLibraryUri(svg$.SymbolElement, I[157]); +dart.registerExtension("SVGSymbolElement", svg$.SymbolElement); +svg$.TextContentElement = class TextContentElement extends svg$.GraphicsElement { + get [S$3.$lengthAdjust]() { + return this.lengthAdjust; + } + get [S$2.$textLength]() { + return this.textLength; + } + [S$3.$getCharNumAtPosition](...args) { + return this.getCharNumAtPosition.apply(this, args); + } + [S$3.$getComputedTextLength](...args) { + return this.getComputedTextLength.apply(this, args); + } + [S$3.$getEndPositionOfChar](...args) { + return this.getEndPositionOfChar.apply(this, args); + } + [S$3.$getExtentOfChar](...args) { + return this.getExtentOfChar.apply(this, args); + } + [S$3.$getNumberOfChars](...args) { + return this.getNumberOfChars.apply(this, args); + } + [S$3.$getRotationOfChar](...args) { + return this.getRotationOfChar.apply(this, args); + } + [S$3.$getStartPositionOfChar](...args) { + return this.getStartPositionOfChar.apply(this, args); + } + [S$3.$getSubStringLength](...args) { + return this.getSubStringLength.apply(this, args); + } + [S$3.$selectSubString](...args) { + return this.selectSubString.apply(this, args); + } +}; +(svg$.TextContentElement.created = function() { + svg$.TextContentElement.__proto__.created.call(this); + ; +}).prototype = svg$.TextContentElement.prototype; +dart.addTypeTests(svg$.TextContentElement); +dart.addTypeCaches(svg$.TextContentElement); +dart.setMethodSignature(svg$.TextContentElement, () => ({ + __proto__: dart.getMethods(svg$.TextContentElement.__proto__), + [S$3.$getCharNumAtPosition]: dart.fnType(core.int, [svg$.Point]), + [S$3.$getComputedTextLength]: dart.fnType(core.double, []), + [S$3.$getEndPositionOfChar]: dart.fnType(svg$.Point, [core.int]), + [S$3.$getExtentOfChar]: dart.fnType(svg$.Rect, [core.int]), + [S$3.$getNumberOfChars]: dart.fnType(core.int, []), + [S$3.$getRotationOfChar]: dart.fnType(core.double, [core.int]), + [S$3.$getStartPositionOfChar]: dart.fnType(svg$.Point, [core.int]), + [S$3.$getSubStringLength]: dart.fnType(core.double, [core.int, core.int]), + [S$3.$selectSubString]: dart.fnType(dart.void, [core.int, core.int]) +})); +dart.setGetterSignature(svg$.TextContentElement, () => ({ + __proto__: dart.getGetters(svg$.TextContentElement.__proto__), + [S$3.$lengthAdjust]: dart.nullable(svg$.AnimatedEnumeration), + [S$2.$textLength]: dart.nullable(svg$.AnimatedLength) +})); +dart.setLibraryUri(svg$.TextContentElement, I[157]); +dart.defineLazy(svg$.TextContentElement, { + /*svg$.TextContentElement.LENGTHADJUST_SPACING*/get LENGTHADJUST_SPACING() { + return 1; + }, + /*svg$.TextContentElement.LENGTHADJUST_SPACINGANDGLYPHS*/get LENGTHADJUST_SPACINGANDGLYPHS() { + return 2; + }, + /*svg$.TextContentElement.LENGTHADJUST_UNKNOWN*/get LENGTHADJUST_UNKNOWN() { + return 0; + } +}, false); +dart.registerExtension("SVGTextContentElement", svg$.TextContentElement); +svg$.TextPositioningElement = class TextPositioningElement extends svg$.TextContentElement { + get [S$3.$dx]() { + return this.dx; + } + get [S$3.$dy]() { + return this.dy; + } + get [S$.$rotate]() { + return this.rotate; + } + get [S$.$x]() { + return this.x; + } + get [S$.$y]() { + return this.y; + } +}; +(svg$.TextPositioningElement.created = function() { + svg$.TextPositioningElement.__proto__.created.call(this); + ; +}).prototype = svg$.TextPositioningElement.prototype; +dart.addTypeTests(svg$.TextPositioningElement); +dart.addTypeCaches(svg$.TextPositioningElement); +dart.setGetterSignature(svg$.TextPositioningElement, () => ({ + __proto__: dart.getGetters(svg$.TextPositioningElement.__proto__), + [S$3.$dx]: dart.nullable(svg$.AnimatedLengthList), + [S$3.$dy]: dart.nullable(svg$.AnimatedLengthList), + [S$.$rotate]: dart.nullable(svg$.AnimatedNumberList), + [S$.$x]: dart.nullable(svg$.AnimatedLengthList), + [S$.$y]: dart.nullable(svg$.AnimatedLengthList) +})); +dart.setLibraryUri(svg$.TextPositioningElement, I[157]); +dart.registerExtension("SVGTextPositioningElement", svg$.TextPositioningElement); +svg$.TSpanElement = class TSpanElement extends svg$.TextPositioningElement { + static new() { + return svg$.TSpanElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("tspan")); + } +}; +(svg$.TSpanElement.created = function() { + svg$.TSpanElement.__proto__.created.call(this); + ; +}).prototype = svg$.TSpanElement.prototype; +dart.addTypeTests(svg$.TSpanElement); +dart.addTypeCaches(svg$.TSpanElement); +dart.setLibraryUri(svg$.TSpanElement, I[157]); +dart.registerExtension("SVGTSpanElement", svg$.TSpanElement); +svg$.Tests = class Tests extends _interceptors.Interceptor { + get requiredExtensions() { + return this.requiredExtensions; + } + get systemLanguage() { + return this.systemLanguage; + } +}; +dart.addTypeTests(svg$.Tests); +dart.addTypeCaches(svg$.Tests); +dart.setGetterSignature(svg$.Tests, () => ({ + __proto__: dart.getGetters(svg$.Tests.__proto__), + requiredExtensions: dart.nullable(svg$.StringList), + [S$3.$requiredExtensions]: dart.nullable(svg$.StringList), + systemLanguage: dart.nullable(svg$.StringList), + [S$3.$systemLanguage]: dart.nullable(svg$.StringList) +})); +dart.setLibraryUri(svg$.Tests, I[157]); +dart.defineExtensionAccessors(svg$.Tests, ['requiredExtensions', 'systemLanguage']); +svg$.TextElement = class TextElement extends svg$.TextPositioningElement { + static new() { + return svg$.TextElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("text")); + } +}; +(svg$.TextElement.created = function() { + svg$.TextElement.__proto__.created.call(this); + ; +}).prototype = svg$.TextElement.prototype; +dart.addTypeTests(svg$.TextElement); +dart.addTypeCaches(svg$.TextElement); +dart.setLibraryUri(svg$.TextElement, I[157]); +dart.registerExtension("SVGTextElement", svg$.TextElement); +svg$.TextPathElement = class TextPathElement extends svg$.TextContentElement { + get [S$1.$method]() { + return this.method; + } + get [S$3.$spacing]() { + return this.spacing; + } + get [S$2.$startOffset]() { + return this.startOffset; + } + get [S$.$href]() { + return this.href; + } +}; +(svg$.TextPathElement.created = function() { + svg$.TextPathElement.__proto__.created.call(this); + ; +}).prototype = svg$.TextPathElement.prototype; +dart.addTypeTests(svg$.TextPathElement); +dart.addTypeCaches(svg$.TextPathElement); +svg$.TextPathElement[dart.implements] = () => [svg$.UriReference]; +dart.setGetterSignature(svg$.TextPathElement, () => ({ + __proto__: dart.getGetters(svg$.TextPathElement.__proto__), + [S$1.$method]: dart.nullable(svg$.AnimatedEnumeration), + [S$3.$spacing]: dart.nullable(svg$.AnimatedEnumeration), + [S$2.$startOffset]: dart.nullable(svg$.AnimatedLength), + [S$.$href]: dart.nullable(svg$.AnimatedString) +})); +dart.setLibraryUri(svg$.TextPathElement, I[157]); +dart.defineLazy(svg$.TextPathElement, { + /*svg$.TextPathElement.TEXTPATH_METHODTYPE_ALIGN*/get TEXTPATH_METHODTYPE_ALIGN() { + return 1; + }, + /*svg$.TextPathElement.TEXTPATH_METHODTYPE_STRETCH*/get TEXTPATH_METHODTYPE_STRETCH() { + return 2; + }, + /*svg$.TextPathElement.TEXTPATH_METHODTYPE_UNKNOWN*/get TEXTPATH_METHODTYPE_UNKNOWN() { + return 0; + }, + /*svg$.TextPathElement.TEXTPATH_SPACINGTYPE_AUTO*/get TEXTPATH_SPACINGTYPE_AUTO() { + return 1; + }, + /*svg$.TextPathElement.TEXTPATH_SPACINGTYPE_EXACT*/get TEXTPATH_SPACINGTYPE_EXACT() { + return 2; + }, + /*svg$.TextPathElement.TEXTPATH_SPACINGTYPE_UNKNOWN*/get TEXTPATH_SPACINGTYPE_UNKNOWN() { + return 0; + } +}, false); +dart.registerExtension("SVGTextPathElement", svg$.TextPathElement); +svg$.TitleElement = class TitleElement extends svg$.SvgElement { + static new() { + return svg$.TitleElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("title")); + } +}; +(svg$.TitleElement.created = function() { + svg$.TitleElement.__proto__.created.call(this); + ; +}).prototype = svg$.TitleElement.prototype; +dart.addTypeTests(svg$.TitleElement); +dart.addTypeCaches(svg$.TitleElement); +dart.setLibraryUri(svg$.TitleElement, I[157]); +dart.registerExtension("SVGTitleElement", svg$.TitleElement); +svg$.Transform = class Transform extends _interceptors.Interceptor { + get [S$.$angle]() { + return this.angle; + } + get [S$.$matrix]() { + return this.matrix; + } + get [S.$type]() { + return this.type; + } + [S$3.$setMatrix](...args) { + return this.setMatrix.apply(this, args); + } + [S$3.$setRotate](...args) { + return this.setRotate.apply(this, args); + } + [S$3.$setScale](...args) { + return this.setScale.apply(this, args); + } + [S$3.$setSkewX](...args) { + return this.setSkewX.apply(this, args); + } + [S$3.$setSkewY](...args) { + return this.setSkewY.apply(this, args); + } + [S$3.$setTranslate](...args) { + return this.setTranslate.apply(this, args); + } +}; +dart.addTypeTests(svg$.Transform); +dart.addTypeCaches(svg$.Transform); +dart.setMethodSignature(svg$.Transform, () => ({ + __proto__: dart.getMethods(svg$.Transform.__proto__), + [S$3.$setMatrix]: dart.fnType(dart.void, [svg$.Matrix]), + [S$3.$setRotate]: dart.fnType(dart.void, [core.num, core.num, core.num]), + [S$3.$setScale]: dart.fnType(dart.void, [core.num, core.num]), + [S$3.$setSkewX]: dart.fnType(dart.void, [core.num]), + [S$3.$setSkewY]: dart.fnType(dart.void, [core.num]), + [S$3.$setTranslate]: dart.fnType(dart.void, [core.num, core.num]) +})); +dart.setGetterSignature(svg$.Transform, () => ({ + __proto__: dart.getGetters(svg$.Transform.__proto__), + [S$.$angle]: dart.nullable(core.num), + [S$.$matrix]: dart.nullable(svg$.Matrix), + [S.$type]: dart.nullable(core.int) +})); +dart.setLibraryUri(svg$.Transform, I[157]); +dart.defineLazy(svg$.Transform, { + /*svg$.Transform.SVG_TRANSFORM_MATRIX*/get SVG_TRANSFORM_MATRIX() { + return 1; + }, + /*svg$.Transform.SVG_TRANSFORM_ROTATE*/get SVG_TRANSFORM_ROTATE() { + return 4; + }, + /*svg$.Transform.SVG_TRANSFORM_SCALE*/get SVG_TRANSFORM_SCALE() { + return 3; + }, + /*svg$.Transform.SVG_TRANSFORM_SKEWX*/get SVG_TRANSFORM_SKEWX() { + return 5; + }, + /*svg$.Transform.SVG_TRANSFORM_SKEWY*/get SVG_TRANSFORM_SKEWY() { + return 6; + }, + /*svg$.Transform.SVG_TRANSFORM_TRANSLATE*/get SVG_TRANSFORM_TRANSLATE() { + return 2; + }, + /*svg$.Transform.SVG_TRANSFORM_UNKNOWN*/get SVG_TRANSFORM_UNKNOWN() { + return 0; + } +}, false); +dart.registerExtension("SVGTransform", svg$.Transform); +const Interceptor_ListMixin$36$16 = class Interceptor_ListMixin extends _interceptors.Interceptor {}; +(Interceptor_ListMixin$36$16.new = function() { + Interceptor_ListMixin$36$16.__proto__.new.call(this); +}).prototype = Interceptor_ListMixin$36$16.prototype; +dart.applyMixin(Interceptor_ListMixin$36$16, collection.ListMixin$(svg$.Transform)); +const Interceptor_ImmutableListMixin$36$16 = class Interceptor_ImmutableListMixin extends Interceptor_ListMixin$36$16 {}; +(Interceptor_ImmutableListMixin$36$16.new = function() { + Interceptor_ImmutableListMixin$36$16.__proto__.new.call(this); +}).prototype = Interceptor_ImmutableListMixin$36$16.prototype; +dart.applyMixin(Interceptor_ImmutableListMixin$36$16, html$.ImmutableListMixin$(svg$.Transform)); +svg$.TransformList = class TransformList extends Interceptor_ImmutableListMixin$36$16 { + get [$length]() { + return this.length; + } + get [S$3.$numberOfItems]() { + return this.numberOfItems; + } + [$_get](index) { + if (index == null) dart.nullFailed(I[156], 3850, 29, "index"); + if (index >>> 0 !== index || index >= this[$length]) dart.throw(new core.IndexError.new(index, this)); + return this.getItem(index); + } + [$_set](index, value$) { + let value = value$; + if (index == null) dart.nullFailed(I[156], 3856, 25, "index"); + svg$.Transform.as(value); + if (value == null) dart.nullFailed(I[156], 3856, 42, "value"); + dart.throw(new core.UnsupportedError.new("Cannot assign element of immutable List.")); + return value$; + } + set [$length](value) { + if (value == null) dart.nullFailed(I[156], 3862, 18, "value"); + dart.throw(new core.UnsupportedError.new("Cannot resize immutable List.")); + } + get [$first]() { + if (dart.notNull(this[$length]) > 0) { + return this[0]; + } + dart.throw(new core.StateError.new("No elements")); + } + set [$first](value) { + super[$first] = value; + } + get [$last]() { + let len = this[$length]; + if (dart.notNull(len) > 0) { + return this[dart.notNull(len) - 1]; + } + dart.throw(new core.StateError.new("No elements")); + } + set [$last](value) { + super[$last] = value; + } + get [$single]() { + let len = this[$length]; + if (len === 1) { + return this[0]; + } + if (len === 0) dart.throw(new core.StateError.new("No elements")); + dart.throw(new core.StateError.new("More than one element")); + } + [$elementAt](index) { + if (index == null) dart.nullFailed(I[156], 3890, 27, "index"); + return this[$_get](index); + } + [S$3.__setter__$1](...args) { + return this.__setter__.apply(this, args); + } + [S$3.$appendItem](...args) { + return this.appendItem.apply(this, args); + } + [$clear](...args) { + return this.clear.apply(this, args); + } + [S$3.$consolidate](...args) { + return this.consolidate.apply(this, args); + } + [S$3.$createSvgTransformFromMatrix](...args) { + return this.createSVGTransformFromMatrix.apply(this, args); + } + [S$3.$getItem](...args) { + return this.getItem.apply(this, args); + } + [S$3.$initialize](...args) { + return this.initialize.apply(this, args); + } + [S$3.$insertItemBefore](...args) { + return this.insertItemBefore.apply(this, args); + } + [S$3.$removeItem](...args) { + return this.removeItem.apply(this, args); + } + [S$3.$replaceItem](...args) { + return this.replaceItem.apply(this, args); + } +}; +svg$.TransformList.prototype[dart.isList] = true; +dart.addTypeTests(svg$.TransformList); +dart.addTypeCaches(svg$.TransformList); +svg$.TransformList[dart.implements] = () => [core.List$(svg$.Transform)]; +dart.setMethodSignature(svg$.TransformList, () => ({ + __proto__: dart.getMethods(svg$.TransformList.__proto__), + [$_get]: dart.fnType(svg$.Transform, [core.int]), + [$_set]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), + [S$3.__setter__$1]: dart.fnType(dart.void, [core.int, svg$.Transform]), + [S$3.$appendItem]: dart.fnType(svg$.Transform, [svg$.Transform]), + [S$3.$consolidate]: dart.fnType(dart.nullable(svg$.Transform), []), + [S$3.$createSvgTransformFromMatrix]: dart.fnType(svg$.Transform, [svg$.Matrix]), + [S$3.$getItem]: dart.fnType(svg$.Transform, [core.int]), + [S$3.$initialize]: dart.fnType(svg$.Transform, [svg$.Transform]), + [S$3.$insertItemBefore]: dart.fnType(svg$.Transform, [svg$.Transform, core.int]), + [S$3.$removeItem]: dart.fnType(svg$.Transform, [core.int]), + [S$3.$replaceItem]: dart.fnType(svg$.Transform, [svg$.Transform, core.int]) +})); +dart.setGetterSignature(svg$.TransformList, () => ({ + __proto__: dart.getGetters(svg$.TransformList.__proto__), + [$length]: core.int, + [S$3.$numberOfItems]: dart.nullable(core.int) +})); +dart.setSetterSignature(svg$.TransformList, () => ({ + __proto__: dart.getSetters(svg$.TransformList.__proto__), + [$length]: core.int +})); +dart.setLibraryUri(svg$.TransformList, I[157]); +dart.registerExtension("SVGTransformList", svg$.TransformList); +svg$.UnitTypes = class UnitTypes extends _interceptors.Interceptor {}; +dart.addTypeTests(svg$.UnitTypes); +dart.addTypeCaches(svg$.UnitTypes); +dart.setLibraryUri(svg$.UnitTypes, I[157]); +dart.defineLazy(svg$.UnitTypes, { + /*svg$.UnitTypes.SVG_UNIT_TYPE_OBJECTBOUNDINGBOX*/get SVG_UNIT_TYPE_OBJECTBOUNDINGBOX() { + return 2; + }, + /*svg$.UnitTypes.SVG_UNIT_TYPE_UNKNOWN*/get SVG_UNIT_TYPE_UNKNOWN() { + return 0; + }, + /*svg$.UnitTypes.SVG_UNIT_TYPE_USERSPACEONUSE*/get SVG_UNIT_TYPE_USERSPACEONUSE() { + return 1; + } +}, false); +dart.registerExtension("SVGUnitTypes", svg$.UnitTypes); +svg$.UriReference = class UriReference extends _interceptors.Interceptor { + get href() { + return this.href; + } +}; +dart.addTypeTests(svg$.UriReference); +dart.addTypeCaches(svg$.UriReference); +dart.setGetterSignature(svg$.UriReference, () => ({ + __proto__: dart.getGetters(svg$.UriReference.__proto__), + href: dart.nullable(svg$.AnimatedString), + [S$.$href]: dart.nullable(svg$.AnimatedString) +})); +dart.setLibraryUri(svg$.UriReference, I[157]); +dart.defineExtensionAccessors(svg$.UriReference, ['href']); +svg$.UseElement = class UseElement extends svg$.GraphicsElement { + static new() { + return svg$.UseElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("use")); + } + get [$height]() { + return this.height; + } + get [$width]() { + return this.width; + } + get [S$.$x]() { + return this.x; + } + get [S$.$y]() { + return this.y; + } + get [S$.$href]() { + return this.href; + } +}; +(svg$.UseElement.created = function() { + svg$.UseElement.__proto__.created.call(this); + ; +}).prototype = svg$.UseElement.prototype; +dart.addTypeTests(svg$.UseElement); +dart.addTypeCaches(svg$.UseElement); +svg$.UseElement[dart.implements] = () => [svg$.UriReference]; +dart.setGetterSignature(svg$.UseElement, () => ({ + __proto__: dart.getGetters(svg$.UseElement.__proto__), + [$height]: dart.nullable(svg$.AnimatedLength), + [$width]: dart.nullable(svg$.AnimatedLength), + [S$.$x]: dart.nullable(svg$.AnimatedLength), + [S$.$y]: dart.nullable(svg$.AnimatedLength), + [S$.$href]: dart.nullable(svg$.AnimatedString) +})); +dart.setLibraryUri(svg$.UseElement, I[157]); +dart.registerExtension("SVGUseElement", svg$.UseElement); +svg$.ViewElement = class ViewElement extends svg$.SvgElement { + static new() { + return svg$.ViewElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("view")); + } + get [S$3.$preserveAspectRatio]() { + return this.preserveAspectRatio; + } + get [S$3.$viewBox]() { + return this.viewBox; + } + get [S$3.$zoomAndPan]() { + return this.zoomAndPan; + } + set [S$3.$zoomAndPan](value) { + this.zoomAndPan = value; + } +}; +(svg$.ViewElement.created = function() { + svg$.ViewElement.__proto__.created.call(this); + ; +}).prototype = svg$.ViewElement.prototype; +dart.addTypeTests(svg$.ViewElement); +dart.addTypeCaches(svg$.ViewElement); +svg$.ViewElement[dart.implements] = () => [svg$.FitToViewBox, svg$.ZoomAndPan]; +dart.setGetterSignature(svg$.ViewElement, () => ({ + __proto__: dart.getGetters(svg$.ViewElement.__proto__), + [S$3.$preserveAspectRatio]: dart.nullable(svg$.AnimatedPreserveAspectRatio), + [S$3.$viewBox]: dart.nullable(svg$.AnimatedRect), + [S$3.$zoomAndPan]: dart.nullable(core.int) +})); +dart.setSetterSignature(svg$.ViewElement, () => ({ + __proto__: dart.getSetters(svg$.ViewElement.__proto__), + [S$3.$zoomAndPan]: dart.nullable(core.int) +})); +dart.setLibraryUri(svg$.ViewElement, I[157]); +dart.registerExtension("SVGViewElement", svg$.ViewElement); +svg$.ZoomAndPan = class ZoomAndPan extends _interceptors.Interceptor { + get zoomAndPan() { + return this.zoomAndPan; + } + set zoomAndPan(value) { + this.zoomAndPan = value; + } +}; +dart.addTypeTests(svg$.ZoomAndPan); +dart.addTypeCaches(svg$.ZoomAndPan); +dart.setGetterSignature(svg$.ZoomAndPan, () => ({ + __proto__: dart.getGetters(svg$.ZoomAndPan.__proto__), + zoomAndPan: dart.nullable(core.int), + [S$3.$zoomAndPan]: dart.nullable(core.int) +})); +dart.setSetterSignature(svg$.ZoomAndPan, () => ({ + __proto__: dart.getSetters(svg$.ZoomAndPan.__proto__), + zoomAndPan: dart.nullable(core.int), + [S$3.$zoomAndPan]: dart.nullable(core.int) +})); +dart.setLibraryUri(svg$.ZoomAndPan, I[157]); +dart.defineExtensionAccessors(svg$.ZoomAndPan, ['zoomAndPan']); +dart.defineLazy(svg$.ZoomAndPan, { + /*svg$.ZoomAndPan.SVG_ZOOMANDPAN_DISABLE*/get SVG_ZOOMANDPAN_DISABLE() { + return 1; + }, + /*svg$.ZoomAndPan.SVG_ZOOMANDPAN_MAGNIFY*/get SVG_ZOOMANDPAN_MAGNIFY() { + return 2; + }, + /*svg$.ZoomAndPan.SVG_ZOOMANDPAN_UNKNOWN*/get SVG_ZOOMANDPAN_UNKNOWN() { + return 0; + } +}, false); +svg$._SVGFEDropShadowElement = class _SVGFEDropShadowElement extends svg$.SvgElement {}; +(svg$._SVGFEDropShadowElement.created = function() { + svg$._SVGFEDropShadowElement.__proto__.created.call(this); + ; +}).prototype = svg$._SVGFEDropShadowElement.prototype; +dart.addTypeTests(svg$._SVGFEDropShadowElement); +dart.addTypeCaches(svg$._SVGFEDropShadowElement); +svg$._SVGFEDropShadowElement[dart.implements] = () => [svg$.FilterPrimitiveStandardAttributes]; +dart.setLibraryUri(svg$._SVGFEDropShadowElement, I[157]); +dart.registerExtension("SVGFEDropShadowElement", svg$._SVGFEDropShadowElement); +svg$._SVGMPathElement = class _SVGMPathElement extends svg$.SvgElement { + static new() { + return svg$._SVGMPathElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("mpath")); + } +}; +(svg$._SVGMPathElement.created = function() { + svg$._SVGMPathElement.__proto__.created.call(this); + ; +}).prototype = svg$._SVGMPathElement.prototype; +dart.addTypeTests(svg$._SVGMPathElement); +dart.addTypeCaches(svg$._SVGMPathElement); +svg$._SVGMPathElement[dart.implements] = () => [svg$.UriReference]; +dart.setLibraryUri(svg$._SVGMPathElement, I[157]); +dart.registerExtension("SVGMPathElement", svg$._SVGMPathElement); +web_audio.AudioNode = class AudioNode extends html$.EventTarget { + get [S$3.$channelCount]() { + return this.channelCount; + } + set [S$3.$channelCount](value) { + this.channelCount = value; + } + get [S$3.$channelCountMode]() { + return this.channelCountMode; + } + set [S$3.$channelCountMode](value) { + this.channelCountMode = value; + } + get [S$3.$channelInterpretation]() { + return this.channelInterpretation; + } + set [S$3.$channelInterpretation](value) { + this.channelInterpretation = value; + } + get [S$3.$context]() { + return this.context; + } + get [S$3.$numberOfInputs]() { + return this.numberOfInputs; + } + get [S$3.$numberOfOutputs]() { + return this.numberOfOutputs; + } + [S$3._connect](...args) { + return this.connect.apply(this, args); + } + [S$1.$disconnect](...args) { + return this.disconnect.apply(this, args); + } + [S$3.$connectNode](destination, output = 0, input = 0) { + if (destination == null) dart.nullFailed(I[158], 333, 30, "destination"); + if (output == null) dart.nullFailed(I[158], 333, 48, "output"); + if (input == null) dart.nullFailed(I[158], 333, 64, "input"); + this[S$3._connect](destination, output, input); + } + [S$3.$connectParam](destination, output = 0) { + if (destination == null) dart.nullFailed(I[158], 337, 32, "destination"); + if (output == null) dart.nullFailed(I[158], 337, 50, "output"); + this[S$3._connect](destination, output); + } +}; +dart.addTypeTests(web_audio.AudioNode); +dart.addTypeCaches(web_audio.AudioNode); +dart.setMethodSignature(web_audio.AudioNode, () => ({ + __proto__: dart.getMethods(web_audio.AudioNode.__proto__), + [S$3._connect]: dart.fnType(web_audio.AudioNode, [dart.dynamic], [dart.nullable(core.int), dart.nullable(core.int)]), + [S$1.$disconnect]: dart.fnType(dart.void, [], [dart.dynamic, dart.nullable(core.int), dart.nullable(core.int)]), + [S$3.$connectNode]: dart.fnType(dart.void, [web_audio.AudioNode], [core.int, core.int]), + [S$3.$connectParam]: dart.fnType(dart.void, [web_audio.AudioParam], [core.int]) +})); +dart.setGetterSignature(web_audio.AudioNode, () => ({ + __proto__: dart.getGetters(web_audio.AudioNode.__proto__), + [S$3.$channelCount]: dart.nullable(core.int), + [S$3.$channelCountMode]: dart.nullable(core.String), + [S$3.$channelInterpretation]: dart.nullable(core.String), + [S$3.$context]: dart.nullable(web_audio.BaseAudioContext), + [S$3.$numberOfInputs]: dart.nullable(core.int), + [S$3.$numberOfOutputs]: dart.nullable(core.int) +})); +dart.setSetterSignature(web_audio.AudioNode, () => ({ + __proto__: dart.getSetters(web_audio.AudioNode.__proto__), + [S$3.$channelCount]: dart.nullable(core.int), + [S$3.$channelCountMode]: dart.nullable(core.String), + [S$3.$channelInterpretation]: dart.nullable(core.String) +})); +dart.setLibraryUri(web_audio.AudioNode, I[159]); +dart.registerExtension("AudioNode", web_audio.AudioNode); +web_audio.AnalyserNode = class AnalyserNode$ extends web_audio.AudioNode { + static new(context, options = null) { + if (context == null) dart.nullFailed(I[158], 41, 41, "context"); + if (options != null) { + let options_1 = html_common.convertDartToNative_Dictionary(options); + return web_audio.AnalyserNode._create_1(context, options_1); + } + return web_audio.AnalyserNode._create_2(context); + } + static _create_1(context, options) { + return new AnalyserNode(context, options); + } + static _create_2(context) { + return new AnalyserNode(context); + } + get [S$3.$fftSize]() { + return this.fftSize; + } + set [S$3.$fftSize](value) { + this.fftSize = value; + } + get [S$3.$frequencyBinCount]() { + return this.frequencyBinCount; + } + get [S$3.$maxDecibels]() { + return this.maxDecibels; + } + set [S$3.$maxDecibels](value) { + this.maxDecibels = value; + } + get [S$3.$minDecibels]() { + return this.minDecibels; + } + set [S$3.$minDecibels](value) { + this.minDecibels = value; + } + get [S$3.$smoothingTimeConstant]() { + return this.smoothingTimeConstant; + } + set [S$3.$smoothingTimeConstant](value) { + this.smoothingTimeConstant = value; + } + [S$3.$getByteFrequencyData](...args) { + return this.getByteFrequencyData.apply(this, args); + } + [S$3.$getByteTimeDomainData](...args) { + return this.getByteTimeDomainData.apply(this, args); + } + [S$3.$getFloatFrequencyData](...args) { + return this.getFloatFrequencyData.apply(this, args); + } + [S$3.$getFloatTimeDomainData](...args) { + return this.getFloatTimeDomainData.apply(this, args); + } +}; +dart.addTypeTests(web_audio.AnalyserNode); +dart.addTypeCaches(web_audio.AnalyserNode); +dart.setMethodSignature(web_audio.AnalyserNode, () => ({ + __proto__: dart.getMethods(web_audio.AnalyserNode.__proto__), + [S$3.$getByteFrequencyData]: dart.fnType(dart.void, [typed_data.Uint8List]), + [S$3.$getByteTimeDomainData]: dart.fnType(dart.void, [typed_data.Uint8List]), + [S$3.$getFloatFrequencyData]: dart.fnType(dart.void, [typed_data.Float32List]), + [S$3.$getFloatTimeDomainData]: dart.fnType(dart.void, [typed_data.Float32List]) +})); +dart.setGetterSignature(web_audio.AnalyserNode, () => ({ + __proto__: dart.getGetters(web_audio.AnalyserNode.__proto__), + [S$3.$fftSize]: dart.nullable(core.int), + [S$3.$frequencyBinCount]: dart.nullable(core.int), + [S$3.$maxDecibels]: dart.nullable(core.num), + [S$3.$minDecibels]: dart.nullable(core.num), + [S$3.$smoothingTimeConstant]: dart.nullable(core.num) +})); +dart.setSetterSignature(web_audio.AnalyserNode, () => ({ + __proto__: dart.getSetters(web_audio.AnalyserNode.__proto__), + [S$3.$fftSize]: dart.nullable(core.int), + [S$3.$maxDecibels]: dart.nullable(core.num), + [S$3.$minDecibels]: dart.nullable(core.num), + [S$3.$smoothingTimeConstant]: dart.nullable(core.num) +})); +dart.setLibraryUri(web_audio.AnalyserNode, I[159]); +dart.registerExtension("AnalyserNode", web_audio.AnalyserNode); +dart.registerExtension("RealtimeAnalyserNode", web_audio.AnalyserNode); +web_audio.AudioBuffer = class AudioBuffer$ extends _interceptors.Interceptor { + static new(options) { + if (options == null) dart.nullFailed(I[158], 90, 27, "options"); + let options_1 = html_common.convertDartToNative_Dictionary(options); + return web_audio.AudioBuffer._create_1(options_1); + } + static _create_1(options) { + return new AudioBuffer(options); + } + get [S$.$duration]() { + return this.duration; + } + get [$length]() { + return this.length; + } + get [S$3.$numberOfChannels]() { + return this.numberOfChannels; + } + get [S$3.$sampleRate]() { + return this.sampleRate; + } + [S$3.$copyFromChannel](...args) { + return this.copyFromChannel.apply(this, args); + } + [S$3.$copyToChannel](...args) { + return this.copyToChannel.apply(this, args); + } + [S$3.$getChannelData](...args) { + return this.getChannelData.apply(this, args); + } +}; +dart.addTypeTests(web_audio.AudioBuffer); +dart.addTypeCaches(web_audio.AudioBuffer); +dart.setMethodSignature(web_audio.AudioBuffer, () => ({ + __proto__: dart.getMethods(web_audio.AudioBuffer.__proto__), + [S$3.$copyFromChannel]: dart.fnType(dart.void, [typed_data.Float32List, core.int], [dart.nullable(core.int)]), + [S$3.$copyToChannel]: dart.fnType(dart.void, [typed_data.Float32List, core.int], [dart.nullable(core.int)]), + [S$3.$getChannelData]: dart.fnType(typed_data.Float32List, [core.int]) +})); +dart.setGetterSignature(web_audio.AudioBuffer, () => ({ + __proto__: dart.getGetters(web_audio.AudioBuffer.__proto__), + [S$.$duration]: dart.nullable(core.num), + [$length]: dart.nullable(core.int), + [S$3.$numberOfChannels]: dart.nullable(core.int), + [S$3.$sampleRate]: dart.nullable(core.num) +})); +dart.setLibraryUri(web_audio.AudioBuffer, I[159]); +dart.registerExtension("AudioBuffer", web_audio.AudioBuffer); +web_audio.AudioScheduledSourceNode = class AudioScheduledSourceNode extends web_audio.AudioNode { + [S$3.$start2](...args) { + return this.start.apply(this, args); + } + [S$.$stop](...args) { + return this.stop.apply(this, args); + } + get [S.$onEnded]() { + return web_audio.AudioScheduledSourceNode.endedEvent.forTarget(this); + } +}; +dart.addTypeTests(web_audio.AudioScheduledSourceNode); +dart.addTypeCaches(web_audio.AudioScheduledSourceNode); +dart.setMethodSignature(web_audio.AudioScheduledSourceNode, () => ({ + __proto__: dart.getMethods(web_audio.AudioScheduledSourceNode.__proto__), + [S$3.$start2]: dart.fnType(dart.void, [], [dart.nullable(core.num)]), + [S$.$stop]: dart.fnType(dart.void, [], [dart.nullable(core.num)]) +})); +dart.setGetterSignature(web_audio.AudioScheduledSourceNode, () => ({ + __proto__: dart.getGetters(web_audio.AudioScheduledSourceNode.__proto__), + [S.$onEnded]: async.Stream$(html$.Event) +})); +dart.setLibraryUri(web_audio.AudioScheduledSourceNode, I[159]); +dart.defineLazy(web_audio.AudioScheduledSourceNode, { + /*web_audio.AudioScheduledSourceNode.endedEvent*/get endedEvent() { + return C[251] || CT.C251; + } +}, false); +dart.registerExtension("AudioScheduledSourceNode", web_audio.AudioScheduledSourceNode); +web_audio.AudioBufferSourceNode = class AudioBufferSourceNode$ extends web_audio.AudioScheduledSourceNode { + static new(context, options = null) { + if (context == null) dart.nullFailed(I[158], 126, 50, "context"); + if (options != null) { + let options_1 = html_common.convertDartToNative_Dictionary(options); + return web_audio.AudioBufferSourceNode._create_1(context, options_1); + } + return web_audio.AudioBufferSourceNode._create_2(context); + } + static _create_1(context, options) { + return new AudioBufferSourceNode(context, options); + } + static _create_2(context) { + return new AudioBufferSourceNode(context); + } + get [$buffer]() { + return this.buffer; + } + set [$buffer](value) { + this.buffer = value; + } + get [S$3.$detune]() { + return this.detune; + } + get [S$.$loop]() { + return this.loop; + } + set [S$.$loop](value) { + this.loop = value; + } + get [S$3.$loopEnd]() { + return this.loopEnd; + } + set [S$3.$loopEnd](value) { + this.loopEnd = value; + } + get [S$3.$loopStart]() { + return this.loopStart; + } + set [S$3.$loopStart](value) { + this.loopStart = value; + } + get [S$.$playbackRate]() { + return this.playbackRate; + } + [S$.$start](...args) { + return this.start.apply(this, args); + } +}; +dart.addTypeTests(web_audio.AudioBufferSourceNode); +dart.addTypeCaches(web_audio.AudioBufferSourceNode); +dart.setMethodSignature(web_audio.AudioBufferSourceNode, () => ({ + __proto__: dart.getMethods(web_audio.AudioBufferSourceNode.__proto__), + [S$.$start]: dart.fnType(dart.void, [], [dart.nullable(core.num), dart.nullable(core.num), dart.nullable(core.num)]) +})); +dart.setGetterSignature(web_audio.AudioBufferSourceNode, () => ({ + __proto__: dart.getGetters(web_audio.AudioBufferSourceNode.__proto__), + [$buffer]: dart.nullable(web_audio.AudioBuffer), + [S$3.$detune]: dart.nullable(web_audio.AudioParam), + [S$.$loop]: dart.nullable(core.bool), + [S$3.$loopEnd]: dart.nullable(core.num), + [S$3.$loopStart]: dart.nullable(core.num), + [S$.$playbackRate]: dart.nullable(web_audio.AudioParam) +})); +dart.setSetterSignature(web_audio.AudioBufferSourceNode, () => ({ + __proto__: dart.getSetters(web_audio.AudioBufferSourceNode.__proto__), + [$buffer]: dart.nullable(web_audio.AudioBuffer), + [S$.$loop]: dart.nullable(core.bool), + [S$3.$loopEnd]: dart.nullable(core.num), + [S$3.$loopStart]: dart.nullable(core.num) +})); +dart.setLibraryUri(web_audio.AudioBufferSourceNode, I[159]); +dart.registerExtension("AudioBufferSourceNode", web_audio.AudioBufferSourceNode); +web_audio.BaseAudioContext = class BaseAudioContext extends html$.EventTarget { + get [S$.$currentTime]() { + return this.currentTime; + } + get [S$3.$destination]() { + return this.destination; + } + get [S$3.$listener]() { + return this.listener; + } + get [S$3.$sampleRate]() { + return this.sampleRate; + } + get [S$.$state]() { + return this.state; + } + [S$3.$createAnalyser](...args) { + return this.createAnalyser.apply(this, args); + } + [S$3.$createBiquadFilter](...args) { + return this.createBiquadFilter.apply(this, args); + } + [S$3.$createBuffer](...args) { + return this.createBuffer.apply(this, args); + } + [S$3.$createBufferSource](...args) { + return this.createBufferSource.apply(this, args); + } + [S$3.$createChannelMerger](...args) { + return this.createChannelMerger.apply(this, args); + } + [S$4.$createChannelSplitter](...args) { + return this.createChannelSplitter.apply(this, args); + } + [S$4.$createConstantSource](...args) { + return this.createConstantSource.apply(this, args); + } + [S$4.$createConvolver](...args) { + return this.createConvolver.apply(this, args); + } + [S$4.$createDelay](...args) { + return this.createDelay.apply(this, args); + } + [S$4.$createDynamicsCompressor](...args) { + return this.createDynamicsCompressor.apply(this, args); + } + [S$3.$createGain](...args) { + return this.createGain.apply(this, args); + } + [S$4.$createIirFilter](...args) { + return this.createIIRFilter.apply(this, args); + } + [S$4.$createMediaElementSource](...args) { + return this.createMediaElementSource.apply(this, args); + } + [S$4.$createMediaStreamDestination](...args) { + return this.createMediaStreamDestination.apply(this, args); + } + [S$4.$createMediaStreamSource](...args) { + return this.createMediaStreamSource.apply(this, args); + } + [S$4.$createOscillator](...args) { + return this.createOscillator.apply(this, args); + } + [S$4.$createPanner](...args) { + return this.createPanner.apply(this, args); + } + [S$4.$createPeriodicWave](real, imag, options = null) { + if (real == null) dart.nullFailed(I[158], 658, 45, "real"); + if (imag == null) dart.nullFailed(I[158], 658, 61, "imag"); + if (options != null) { + let options_1 = html_common.convertDartToNative_Dictionary(options); + return this[S$4._createPeriodicWave_1](real, imag, options_1); + } + return this[S$4._createPeriodicWave_2](real, imag); + } + [S$4._createPeriodicWave_1](...args) { + return this.createPeriodicWave.apply(this, args); + } + [S$4._createPeriodicWave_2](...args) { + return this.createPeriodicWave.apply(this, args); + } + [S$3.$createScriptProcessor](...args) { + return this.createScriptProcessor.apply(this, args); + } + [S$4.$createStereoPanner](...args) { + return this.createStereoPanner.apply(this, args); + } + [S$4.$createWaveShaper](...args) { + return this.createWaveShaper.apply(this, args); + } + [S$3.$decodeAudioData](audioData, successCallback = null, errorCallback = null) { + if (audioData == null) dart.nullFailed(I[158], 682, 50, "audioData"); + return js_util.promiseToFuture(web_audio.AudioBuffer, this.decodeAudioData(audioData, successCallback, errorCallback)); + } + [S$1.$resume]() { + return js_util.promiseToFuture(dart.dynamic, this.resume()); + } +}; +dart.addTypeTests(web_audio.BaseAudioContext); +dart.addTypeCaches(web_audio.BaseAudioContext); +dart.setMethodSignature(web_audio.BaseAudioContext, () => ({ + __proto__: dart.getMethods(web_audio.BaseAudioContext.__proto__), + [S$3.$createAnalyser]: dart.fnType(web_audio.AnalyserNode, []), + [S$3.$createBiquadFilter]: dart.fnType(web_audio.BiquadFilterNode, []), + [S$3.$createBuffer]: dart.fnType(web_audio.AudioBuffer, [core.int, core.int, core.num]), + [S$3.$createBufferSource]: dart.fnType(web_audio.AudioBufferSourceNode, []), + [S$3.$createChannelMerger]: dart.fnType(web_audio.ChannelMergerNode, [], [dart.nullable(core.int)]), + [S$4.$createChannelSplitter]: dart.fnType(web_audio.ChannelSplitterNode, [], [dart.nullable(core.int)]), + [S$4.$createConstantSource]: dart.fnType(web_audio.ConstantSourceNode, []), + [S$4.$createConvolver]: dart.fnType(web_audio.ConvolverNode, []), + [S$4.$createDelay]: dart.fnType(web_audio.DelayNode, [], [dart.nullable(core.num)]), + [S$4.$createDynamicsCompressor]: dart.fnType(web_audio.DynamicsCompressorNode, []), + [S$3.$createGain]: dart.fnType(web_audio.GainNode, []), + [S$4.$createIirFilter]: dart.fnType(web_audio.IirFilterNode, [core.List$(core.num), core.List$(core.num)]), + [S$4.$createMediaElementSource]: dart.fnType(web_audio.MediaElementAudioSourceNode, [html$.MediaElement]), + [S$4.$createMediaStreamDestination]: dart.fnType(web_audio.MediaStreamAudioDestinationNode, []), + [S$4.$createMediaStreamSource]: dart.fnType(web_audio.MediaStreamAudioSourceNode, [html$.MediaStream]), + [S$4.$createOscillator]: dart.fnType(web_audio.OscillatorNode, []), + [S$4.$createPanner]: dart.fnType(web_audio.PannerNode, []), + [S$4.$createPeriodicWave]: dart.fnType(web_audio.PeriodicWave, [core.List$(core.num), core.List$(core.num)], [dart.nullable(core.Map)]), + [S$4._createPeriodicWave_1]: dart.fnType(web_audio.PeriodicWave, [core.List$(core.num), core.List$(core.num), dart.dynamic]), + [S$4._createPeriodicWave_2]: dart.fnType(web_audio.PeriodicWave, [core.List$(core.num), core.List$(core.num)]), + [S$3.$createScriptProcessor]: dart.fnType(web_audio.ScriptProcessorNode, [], [dart.nullable(core.int), dart.nullable(core.int), dart.nullable(core.int)]), + [S$4.$createStereoPanner]: dart.fnType(web_audio.StereoPannerNode, []), + [S$4.$createWaveShaper]: dart.fnType(web_audio.WaveShaperNode, []), + [S$3.$decodeAudioData]: dart.fnType(async.Future$(web_audio.AudioBuffer), [typed_data.ByteBuffer], [dart.nullable(dart.fnType(dart.void, [web_audio.AudioBuffer])), dart.nullable(dart.fnType(dart.void, [html$.DomException]))]), + [S$1.$resume]: dart.fnType(async.Future, []) +})); +dart.setGetterSignature(web_audio.BaseAudioContext, () => ({ + __proto__: dart.getGetters(web_audio.BaseAudioContext.__proto__), + [S$.$currentTime]: dart.nullable(core.num), + [S$3.$destination]: dart.nullable(web_audio.AudioDestinationNode), + [S$3.$listener]: dart.nullable(web_audio.AudioListener), + [S$3.$sampleRate]: dart.nullable(core.num), + [S$.$state]: dart.nullable(core.String) +})); +dart.setLibraryUri(web_audio.BaseAudioContext, I[159]); +dart.registerExtension("BaseAudioContext", web_audio.BaseAudioContext); +web_audio.AudioContext = class AudioContext extends web_audio.BaseAudioContext { + static get supported() { + return !!(window.AudioContext || window.webkitAudioContext); + } + get [S$3.$baseLatency]() { + return this.baseLatency; + } + [S.$close]() { + return js_util.promiseToFuture(dart.dynamic, this.close()); + } + [S$3.$getOutputTimestamp]() { + return dart.nullCheck(html_common.convertNativeToDart_Dictionary(this[S$3._getOutputTimestamp_1]())); + } + [S$3._getOutputTimestamp_1](...args) { + return this.getOutputTimestamp.apply(this, args); + } + [S$3.$suspend]() { + return js_util.promiseToFuture(dart.dynamic, this.suspend()); + } + static new() { + return new (window.AudioContext || window.webkitAudioContext)(); + } + [S$3.$createGain]() { + if (this.createGain !== undefined) { + return this.createGain(); + } else { + return this.createGainNode(); + } + } + [S$3.$createScriptProcessor](bufferSize = null, numberOfInputChannels = null, numberOfOutputChannels = null) { + let $function = this.createScriptProcessor || this.createJavaScriptNode; + if (numberOfOutputChannels != null) { + return $function.call(this, bufferSize, numberOfInputChannels, numberOfOutputChannels); + } else if (numberOfInputChannels != null) { + return $function.call(this, bufferSize, numberOfInputChannels); + } else if (bufferSize != null) { + return $function.call(this, bufferSize); + } else { + return $function.call(this); + } + } + [S$3._decodeAudioData](...args) { + return this.decodeAudioData.apply(this, args); + } + [S$3.$decodeAudioData](audioData, successCallback = null, errorCallback = null) { + if (audioData == null) dart.nullFailed(I[158], 233, 50, "audioData"); + if (successCallback != null && errorCallback != null) { + return this[S$3._decodeAudioData](audioData, successCallback, errorCallback); + } + let completer = T$0.CompleterOfAudioBuffer().new(); + this[S$3._decodeAudioData](audioData, dart.fn(value => { + if (value == null) dart.nullFailed(I[158], 241, 34, "value"); + completer.complete(value); + }, T$0.AudioBufferTovoid()), dart.fn(error => { + if (error == null) dart.nullFailed(I[158], 243, 9, "error"); + if (error == null) { + completer.completeError(""); + } else { + completer.completeError(error); + } + }, T$0.DomExceptionTovoid())); + return completer.future; + } +}; +dart.addTypeTests(web_audio.AudioContext); +dart.addTypeCaches(web_audio.AudioContext); +dart.setMethodSignature(web_audio.AudioContext, () => ({ + __proto__: dart.getMethods(web_audio.AudioContext.__proto__), + [S.$close]: dart.fnType(async.Future, []), + [S$3.$getOutputTimestamp]: dart.fnType(core.Map, []), + [S$3._getOutputTimestamp_1]: dart.fnType(dart.dynamic, []), + [S$3.$suspend]: dart.fnType(async.Future, []), + [S$3._decodeAudioData]: dart.fnType(async.Future$(web_audio.AudioBuffer), [typed_data.ByteBuffer], [dart.nullable(dart.fnType(dart.void, [web_audio.AudioBuffer])), dart.nullable(dart.fnType(dart.void, [html$.DomException]))]) +})); +dart.setGetterSignature(web_audio.AudioContext, () => ({ + __proto__: dart.getGetters(web_audio.AudioContext.__proto__), + [S$3.$baseLatency]: dart.nullable(core.num) +})); +dart.setLibraryUri(web_audio.AudioContext, I[159]); +dart.registerExtension("AudioContext", web_audio.AudioContext); +dart.registerExtension("webkitAudioContext", web_audio.AudioContext); +web_audio.AudioDestinationNode = class AudioDestinationNode extends web_audio.AudioNode { + get [S$4.$maxChannelCount]() { + return this.maxChannelCount; + } +}; +dart.addTypeTests(web_audio.AudioDestinationNode); +dart.addTypeCaches(web_audio.AudioDestinationNode); +dart.setGetterSignature(web_audio.AudioDestinationNode, () => ({ + __proto__: dart.getGetters(web_audio.AudioDestinationNode.__proto__), + [S$4.$maxChannelCount]: dart.nullable(core.int) +})); +dart.setLibraryUri(web_audio.AudioDestinationNode, I[159]); +dart.registerExtension("AudioDestinationNode", web_audio.AudioDestinationNode); +web_audio.AudioListener = class AudioListener extends _interceptors.Interceptor { + get [S$4.$forwardX]() { + return this.forwardX; + } + get [S$4.$forwardY]() { + return this.forwardY; + } + get [S$4.$forwardZ]() { + return this.forwardZ; + } + get [S$2.$positionX]() { + return this.positionX; + } + get [S$2.$positionY]() { + return this.positionY; + } + get [S$4.$positionZ]() { + return this.positionZ; + } + get [S$4.$upX]() { + return this.upX; + } + get [S$4.$upY]() { + return this.upY; + } + get [S$4.$upZ]() { + return this.upZ; + } + [S$4.$setOrientation](...args) { + return this.setOrientation.apply(this, args); + } + [S$2.$setPosition](...args) { + return this.setPosition.apply(this, args); + } +}; +dart.addTypeTests(web_audio.AudioListener); +dart.addTypeCaches(web_audio.AudioListener); +dart.setMethodSignature(web_audio.AudioListener, () => ({ + __proto__: dart.getMethods(web_audio.AudioListener.__proto__), + [S$4.$setOrientation]: dart.fnType(dart.void, [core.num, core.num, core.num, core.num, core.num, core.num]), + [S$2.$setPosition]: dart.fnType(dart.void, [core.num, core.num, core.num]) +})); +dart.setGetterSignature(web_audio.AudioListener, () => ({ + __proto__: dart.getGetters(web_audio.AudioListener.__proto__), + [S$4.$forwardX]: dart.nullable(web_audio.AudioParam), + [S$4.$forwardY]: dart.nullable(web_audio.AudioParam), + [S$4.$forwardZ]: dart.nullable(web_audio.AudioParam), + [S$2.$positionX]: dart.nullable(web_audio.AudioParam), + [S$2.$positionY]: dart.nullable(web_audio.AudioParam), + [S$4.$positionZ]: dart.nullable(web_audio.AudioParam), + [S$4.$upX]: dart.nullable(web_audio.AudioParam), + [S$4.$upY]: dart.nullable(web_audio.AudioParam), + [S$4.$upZ]: dart.nullable(web_audio.AudioParam) +})); +dart.setLibraryUri(web_audio.AudioListener, I[159]); +dart.registerExtension("AudioListener", web_audio.AudioListener); +web_audio.AudioParam = class AudioParam extends _interceptors.Interceptor { + get [S$1.$defaultValue]() { + return this.defaultValue; + } + get [S$4.$maxValue]() { + return this.maxValue; + } + get [S$4.$minValue]() { + return this.minValue; + } + get [S.$value]() { + return this.value; + } + set [S.$value](value) { + this.value = value; + } + [S$4.$cancelAndHoldAtTime](...args) { + return this.cancelAndHoldAtTime.apply(this, args); + } + [S$4.$cancelScheduledValues](...args) { + return this.cancelScheduledValues.apply(this, args); + } + [S$4.$exponentialRampToValueAtTime](...args) { + return this.exponentialRampToValueAtTime.apply(this, args); + } + [S$4.$linearRampToValueAtTime](...args) { + return this.linearRampToValueAtTime.apply(this, args); + } + [S$4.$setTargetAtTime](...args) { + return this.setTargetAtTime.apply(this, args); + } + [S$4.$setValueAtTime](...args) { + return this.setValueAtTime.apply(this, args); + } + [S$4.$setValueCurveAtTime](...args) { + return this.setValueCurveAtTime.apply(this, args); + } +}; +dart.addTypeTests(web_audio.AudioParam); +dart.addTypeCaches(web_audio.AudioParam); +dart.setMethodSignature(web_audio.AudioParam, () => ({ + __proto__: dart.getMethods(web_audio.AudioParam.__proto__), + [S$4.$cancelAndHoldAtTime]: dart.fnType(web_audio.AudioParam, [core.num]), + [S$4.$cancelScheduledValues]: dart.fnType(web_audio.AudioParam, [core.num]), + [S$4.$exponentialRampToValueAtTime]: dart.fnType(web_audio.AudioParam, [core.num, core.num]), + [S$4.$linearRampToValueAtTime]: dart.fnType(web_audio.AudioParam, [core.num, core.num]), + [S$4.$setTargetAtTime]: dart.fnType(web_audio.AudioParam, [core.num, core.num, core.num]), + [S$4.$setValueAtTime]: dart.fnType(web_audio.AudioParam, [core.num, core.num]), + [S$4.$setValueCurveAtTime]: dart.fnType(web_audio.AudioParam, [core.List$(core.num), core.num, core.num]) +})); +dart.setGetterSignature(web_audio.AudioParam, () => ({ + __proto__: dart.getGetters(web_audio.AudioParam.__proto__), + [S$1.$defaultValue]: dart.nullable(core.num), + [S$4.$maxValue]: dart.nullable(core.num), + [S$4.$minValue]: dart.nullable(core.num), + [S.$value]: dart.nullable(core.num) +})); +dart.setSetterSignature(web_audio.AudioParam, () => ({ + __proto__: dart.getSetters(web_audio.AudioParam.__proto__), + [S.$value]: dart.nullable(core.num) +})); +dart.setLibraryUri(web_audio.AudioParam, I[159]); +dart.registerExtension("AudioParam", web_audio.AudioParam); +const Interceptor_MapMixin$36$2 = class Interceptor_MapMixin extends _interceptors.Interceptor {}; +(Interceptor_MapMixin$36$2.new = function() { + Interceptor_MapMixin$36$2.__proto__.new.call(this); +}).prototype = Interceptor_MapMixin$36$2.prototype; +dart.applyMixin(Interceptor_MapMixin$36$2, collection.MapMixin$(core.String, dart.dynamic)); +web_audio.AudioParamMap = class AudioParamMap extends Interceptor_MapMixin$36$2 { + [S$4._getItem$1](key) { + if (key == null) dart.nullFailed(I[158], 388, 24, "key"); + return html_common.convertNativeToDart_Dictionary(this.get(key)); + } + [$addAll](other) { + T$0.MapOfString$dynamic().as(other); + if (other == null) dart.nullFailed(I[158], 391, 36, "other"); + dart.throw(new core.UnsupportedError.new("Not supported")); + } + [$containsValue](value) { + return this[$values][$any](dart.fn(e => { + if (e == null) dart.nullFailed(I[158], 395, 52, "e"); + return dart.equals(e, value); + }, T$0.MapTobool())); + } + [$containsKey](key) { + return this[S$4._getItem$1](core.String.as(key)) != null; + } + [$_get](key) { + return this[S$4._getItem$1](core.String.as(key)); + } + [$forEach](f) { + if (f == null) dart.nullFailed(I[158], 401, 21, "f"); + let entries = this.entries(); + while (true) { + let entry = entries.next(); + if (entry.done) return; + f(entry.value[0], html_common.convertNativeToDart_Dictionary(entry.value[1])); + } + } + get [$keys]() { + let keys = T$.JSArrayOfString().of([]); + this[$forEach](dart.fn((k, v) => { + if (k == null) dart.nullFailed(I[158], 413, 14, "k"); + return keys[$add](k); + }, T$0.StringAnddynamicTovoid())); + return keys; + } + get [$values]() { + let values = T$0.JSArrayOfMap().of([]); + this[$forEach](dart.fn((k, v) => { + if (k == null) dart.nullFailed(I[158], 419, 14, "k"); + return values[$add](core.Map.as(v)); + }, T$0.StringAnddynamicTovoid())); + return values; + } + get [$length]() { + return this.size; + } + get [$isEmpty]() { + return this[$length] === 0; + } + get [$isNotEmpty]() { + return !dart.test(this[$isEmpty]); + } + [$_set](key, value$) { + let value = value$; + core.String.as(key); + if (key == null) dart.nullFailed(I[158], 429, 28, "key"); + dart.throw(new core.UnsupportedError.new("Not supported")); + return value$; + } + [$putIfAbsent](key, ifAbsent) { + core.String.as(key); + if (key == null) dart.nullFailed(I[158], 433, 30, "key"); + T$.VoidTodynamic().as(ifAbsent); + if (ifAbsent == null) dart.nullFailed(I[158], 433, 43, "ifAbsent"); + dart.throw(new core.UnsupportedError.new("Not supported")); + } + [$remove](key) { + dart.throw(new core.UnsupportedError.new("Not supported")); + } + [$clear]() { + dart.throw(new core.UnsupportedError.new("Not supported")); + } +}; +dart.addTypeTests(web_audio.AudioParamMap); +dart.addTypeCaches(web_audio.AudioParamMap); +dart.setMethodSignature(web_audio.AudioParamMap, () => ({ + __proto__: dart.getMethods(web_audio.AudioParamMap.__proto__), + [S$4._getItem$1]: dart.fnType(dart.nullable(core.Map), [core.String]), + [$containsValue]: dart.fnType(core.bool, [dart.dynamic]), + [$containsKey]: dart.fnType(core.bool, [dart.dynamic]), + [$_get]: dart.fnType(dart.nullable(core.Map), [dart.dynamic]), + [$_set]: dart.fnType(dart.void, [dart.nullable(core.Object), dart.nullable(core.Object)]), + [$remove]: dart.fnType(core.String, [dart.dynamic]), + [$clear]: dart.fnType(dart.void, []) +})); +dart.setGetterSignature(web_audio.AudioParamMap, () => ({ + __proto__: dart.getGetters(web_audio.AudioParamMap.__proto__), + [$keys]: core.Iterable$(core.String), + [$values]: core.Iterable$(core.Map) +})); +dart.setLibraryUri(web_audio.AudioParamMap, I[159]); +dart.registerExtension("AudioParamMap", web_audio.AudioParamMap); +web_audio.AudioProcessingEvent = class AudioProcessingEvent$ extends html$.Event { + static new(type, eventInitDict) { + if (type == null) dart.nullFailed(I[158], 456, 39, "type"); + if (eventInitDict == null) dart.nullFailed(I[158], 456, 49, "eventInitDict"); + let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); + return web_audio.AudioProcessingEvent._create_1(type, eventInitDict_1); + } + static _create_1(type, eventInitDict) { + return new AudioProcessingEvent(type, eventInitDict); + } + get [S$4.$inputBuffer]() { + return this.inputBuffer; + } + get [S$4.$outputBuffer]() { + return this.outputBuffer; + } + get [S$4.$playbackTime]() { + return this.playbackTime; + } +}; +dart.addTypeTests(web_audio.AudioProcessingEvent); +dart.addTypeCaches(web_audio.AudioProcessingEvent); +dart.setGetterSignature(web_audio.AudioProcessingEvent, () => ({ + __proto__: dart.getGetters(web_audio.AudioProcessingEvent.__proto__), + [S$4.$inputBuffer]: dart.nullable(web_audio.AudioBuffer), + [S$4.$outputBuffer]: dart.nullable(web_audio.AudioBuffer), + [S$4.$playbackTime]: dart.nullable(core.num) +})); +dart.setLibraryUri(web_audio.AudioProcessingEvent, I[159]); +dart.registerExtension("AudioProcessingEvent", web_audio.AudioProcessingEvent); +web_audio.AudioTrack = class AudioTrack extends _interceptors.Interceptor { + get [S$.$enabled]() { + return this.enabled; + } + set [S$.$enabled](value) { + this.enabled = value; + } + get [S.$id]() { + return this.id; + } + get [S$.$kind]() { + return this.kind; + } + get [S$.$label]() { + return this.label; + } + get [S$1.$language]() { + return this.language; + } + get [S$3.$sourceBuffer]() { + return this.sourceBuffer; + } +}; +dart.addTypeTests(web_audio.AudioTrack); +dart.addTypeCaches(web_audio.AudioTrack); +dart.setGetterSignature(web_audio.AudioTrack, () => ({ + __proto__: dart.getGetters(web_audio.AudioTrack.__proto__), + [S$.$enabled]: dart.nullable(core.bool), + [S.$id]: dart.nullable(core.String), + [S$.$kind]: dart.nullable(core.String), + [S$.$label]: dart.nullable(core.String), + [S$1.$language]: dart.nullable(core.String), + [S$3.$sourceBuffer]: dart.nullable(html$.SourceBuffer) +})); +dart.setSetterSignature(web_audio.AudioTrack, () => ({ + __proto__: dart.getSetters(web_audio.AudioTrack.__proto__), + [S$.$enabled]: dart.nullable(core.bool) +})); +dart.setLibraryUri(web_audio.AudioTrack, I[159]); +dart.registerExtension("AudioTrack", web_audio.AudioTrack); +web_audio.AudioTrackList = class AudioTrackList extends html$.EventTarget { + get [$length]() { + return this.length; + } + [S$4.__getter__$1](...args) { + return this.__getter__.apply(this, args); + } + [S$1.$getTrackById](...args) { + return this.getTrackById.apply(this, args); + } + get [S.$onChange]() { + return web_audio.AudioTrackList.changeEvent.forTarget(this); + } +}; +dart.addTypeTests(web_audio.AudioTrackList); +dart.addTypeCaches(web_audio.AudioTrackList); +dart.setMethodSignature(web_audio.AudioTrackList, () => ({ + __proto__: dart.getMethods(web_audio.AudioTrackList.__proto__), + [S$4.__getter__$1]: dart.fnType(web_audio.AudioTrack, [core.int]), + [S$1.$getTrackById]: dart.fnType(dart.nullable(web_audio.AudioTrack), [core.String]) +})); +dart.setGetterSignature(web_audio.AudioTrackList, () => ({ + __proto__: dart.getGetters(web_audio.AudioTrackList.__proto__), + [$length]: dart.nullable(core.int), + [S.$onChange]: async.Stream$(html$.Event) +})); +dart.setLibraryUri(web_audio.AudioTrackList, I[159]); +dart.defineLazy(web_audio.AudioTrackList, { + /*web_audio.AudioTrackList.changeEvent*/get changeEvent() { + return C[236] || CT.C236; + } +}, false); +dart.registerExtension("AudioTrackList", web_audio.AudioTrackList); +web_audio.AudioWorkletGlobalScope = class AudioWorkletGlobalScope extends html$.WorkletGlobalScope { + get [S$.$currentTime]() { + return this.currentTime; + } + get [S$3.$sampleRate]() { + return this.sampleRate; + } + [S$4.$registerProcessor](...args) { + return this.registerProcessor.apply(this, args); + } +}; +dart.addTypeTests(web_audio.AudioWorkletGlobalScope); +dart.addTypeCaches(web_audio.AudioWorkletGlobalScope); +dart.setMethodSignature(web_audio.AudioWorkletGlobalScope, () => ({ + __proto__: dart.getMethods(web_audio.AudioWorkletGlobalScope.__proto__), + [S$4.$registerProcessor]: dart.fnType(dart.void, [core.String, core.Object]) +})); +dart.setGetterSignature(web_audio.AudioWorkletGlobalScope, () => ({ + __proto__: dart.getGetters(web_audio.AudioWorkletGlobalScope.__proto__), + [S$.$currentTime]: dart.nullable(core.num), + [S$3.$sampleRate]: dart.nullable(core.num) +})); +dart.setLibraryUri(web_audio.AudioWorkletGlobalScope, I[159]); +dart.registerExtension("AudioWorkletGlobalScope", web_audio.AudioWorkletGlobalScope); +web_audio.AudioWorkletNode = class AudioWorkletNode$ extends web_audio.AudioNode { + static new(context, name, options = null) { + if (context == null) dart.nullFailed(I[158], 568, 45, "context"); + if (name == null) dart.nullFailed(I[158], 568, 61, "name"); + if (options != null) { + let options_1 = html_common.convertDartToNative_Dictionary(options); + return web_audio.AudioWorkletNode._create_1(context, name, options_1); + } + return web_audio.AudioWorkletNode._create_2(context, name); + } + static _create_1(context, name, options) { + return new AudioWorkletNode(context, name, options); + } + static _create_2(context, name) { + return new AudioWorkletNode(context, name); + } + get [S$4.$parameters]() { + return this.parameters; + } +}; +dart.addTypeTests(web_audio.AudioWorkletNode); +dart.addTypeCaches(web_audio.AudioWorkletNode); +dart.setGetterSignature(web_audio.AudioWorkletNode, () => ({ + __proto__: dart.getGetters(web_audio.AudioWorkletNode.__proto__), + [S$4.$parameters]: dart.nullable(web_audio.AudioParamMap) +})); +dart.setLibraryUri(web_audio.AudioWorkletNode, I[159]); +dart.registerExtension("AudioWorkletNode", web_audio.AudioWorkletNode); +web_audio.AudioWorkletProcessor = class AudioWorkletProcessor extends _interceptors.Interceptor {}; +dart.addTypeTests(web_audio.AudioWorkletProcessor); +dart.addTypeCaches(web_audio.AudioWorkletProcessor); +dart.setLibraryUri(web_audio.AudioWorkletProcessor, I[159]); +dart.registerExtension("AudioWorkletProcessor", web_audio.AudioWorkletProcessor); +web_audio.BiquadFilterNode = class BiquadFilterNode$ extends web_audio.AudioNode { + static new(context, options = null) { + if (context == null) dart.nullFailed(I[158], 706, 45, "context"); + if (options != null) { + let options_1 = html_common.convertDartToNative_Dictionary(options); + return web_audio.BiquadFilterNode._create_1(context, options_1); + } + return web_audio.BiquadFilterNode._create_2(context); + } + static _create_1(context, options) { + return new BiquadFilterNode(context, options); + } + static _create_2(context) { + return new BiquadFilterNode(context); + } + get [S$4.$Q]() { + return this.Q; + } + get [S$3.$detune]() { + return this.detune; + } + get [S$4.$frequency]() { + return this.frequency; + } + get [S$4.$gain]() { + return this.gain; + } + get [S.$type]() { + return this.type; + } + set [S.$type](value) { + this.type = value; + } + [S$4.$getFrequencyResponse](...args) { + return this.getFrequencyResponse.apply(this, args); + } +}; +dart.addTypeTests(web_audio.BiquadFilterNode); +dart.addTypeCaches(web_audio.BiquadFilterNode); +dart.setMethodSignature(web_audio.BiquadFilterNode, () => ({ + __proto__: dart.getMethods(web_audio.BiquadFilterNode.__proto__), + [S$4.$getFrequencyResponse]: dart.fnType(dart.void, [typed_data.Float32List, typed_data.Float32List, typed_data.Float32List]) +})); +dart.setGetterSignature(web_audio.BiquadFilterNode, () => ({ + __proto__: dart.getGetters(web_audio.BiquadFilterNode.__proto__), + [S$4.$Q]: dart.nullable(web_audio.AudioParam), + [S$3.$detune]: dart.nullable(web_audio.AudioParam), + [S$4.$frequency]: dart.nullable(web_audio.AudioParam), + [S$4.$gain]: dart.nullable(web_audio.AudioParam), + [S.$type]: dart.nullable(core.String) +})); +dart.setSetterSignature(web_audio.BiquadFilterNode, () => ({ + __proto__: dart.getSetters(web_audio.BiquadFilterNode.__proto__), + [S.$type]: dart.nullable(core.String) +})); +dart.setLibraryUri(web_audio.BiquadFilterNode, I[159]); +dart.registerExtension("BiquadFilterNode", web_audio.BiquadFilterNode); +web_audio.ChannelMergerNode = class ChannelMergerNode$ extends web_audio.AudioNode { + static new(context, options = null) { + if (context == null) dart.nullFailed(I[158], 744, 46, "context"); + if (options != null) { + let options_1 = html_common.convertDartToNative_Dictionary(options); + return web_audio.ChannelMergerNode._create_1(context, options_1); + } + return web_audio.ChannelMergerNode._create_2(context); + } + static _create_1(context, options) { + return new ChannelMergerNode(context, options); + } + static _create_2(context) { + return new ChannelMergerNode(context); + } +}; +dart.addTypeTests(web_audio.ChannelMergerNode); +dart.addTypeCaches(web_audio.ChannelMergerNode); +dart.setLibraryUri(web_audio.ChannelMergerNode, I[159]); +dart.registerExtension("ChannelMergerNode", web_audio.ChannelMergerNode); +dart.registerExtension("AudioChannelMerger", web_audio.ChannelMergerNode); +web_audio.ChannelSplitterNode = class ChannelSplitterNode$ extends web_audio.AudioNode { + static new(context, options = null) { + if (context == null) dart.nullFailed(I[158], 767, 48, "context"); + if (options != null) { + let options_1 = html_common.convertDartToNative_Dictionary(options); + return web_audio.ChannelSplitterNode._create_1(context, options_1); + } + return web_audio.ChannelSplitterNode._create_2(context); + } + static _create_1(context, options) { + return new ChannelSplitterNode(context, options); + } + static _create_2(context) { + return new ChannelSplitterNode(context); + } +}; +dart.addTypeTests(web_audio.ChannelSplitterNode); +dart.addTypeCaches(web_audio.ChannelSplitterNode); +dart.setLibraryUri(web_audio.ChannelSplitterNode, I[159]); +dart.registerExtension("ChannelSplitterNode", web_audio.ChannelSplitterNode); +dart.registerExtension("AudioChannelSplitter", web_audio.ChannelSplitterNode); +web_audio.ConstantSourceNode = class ConstantSourceNode$ extends web_audio.AudioScheduledSourceNode { + static new(context, options = null) { + if (context == null) dart.nullFailed(I[158], 790, 47, "context"); + if (options != null) { + let options_1 = html_common.convertDartToNative_Dictionary(options); + return web_audio.ConstantSourceNode._create_1(context, options_1); + } + return web_audio.ConstantSourceNode._create_2(context); + } + static _create_1(context, options) { + return new ConstantSourceNode(context, options); + } + static _create_2(context) { + return new ConstantSourceNode(context); + } + get [S.$offset]() { + return this.offset; + } +}; +dart.addTypeTests(web_audio.ConstantSourceNode); +dart.addTypeCaches(web_audio.ConstantSourceNode); +dart.setGetterSignature(web_audio.ConstantSourceNode, () => ({ + __proto__: dart.getGetters(web_audio.ConstantSourceNode.__proto__), + [S.$offset]: dart.nullable(web_audio.AudioParam) +})); +dart.setLibraryUri(web_audio.ConstantSourceNode, I[159]); +dart.registerExtension("ConstantSourceNode", web_audio.ConstantSourceNode); +web_audio.ConvolverNode = class ConvolverNode$ extends web_audio.AudioNode { + static new(context, options = null) { + if (context == null) dart.nullFailed(I[158], 815, 42, "context"); + if (options != null) { + let options_1 = html_common.convertDartToNative_Dictionary(options); + return web_audio.ConvolverNode._create_1(context, options_1); + } + return web_audio.ConvolverNode._create_2(context); + } + static _create_1(context, options) { + return new ConvolverNode(context, options); + } + static _create_2(context) { + return new ConvolverNode(context); + } + get [$buffer]() { + return this.buffer; + } + set [$buffer](value) { + this.buffer = value; + } + get [S$4.$normalize]() { + return this.normalize; + } + set [S$4.$normalize](value) { + this.normalize = value; + } +}; +dart.addTypeTests(web_audio.ConvolverNode); +dart.addTypeCaches(web_audio.ConvolverNode); +dart.setGetterSignature(web_audio.ConvolverNode, () => ({ + __proto__: dart.getGetters(web_audio.ConvolverNode.__proto__), + [$buffer]: dart.nullable(web_audio.AudioBuffer), + [S$4.$normalize]: dart.nullable(core.bool) +})); +dart.setSetterSignature(web_audio.ConvolverNode, () => ({ + __proto__: dart.getSetters(web_audio.ConvolverNode.__proto__), + [$buffer]: dart.nullable(web_audio.AudioBuffer), + [S$4.$normalize]: dart.nullable(core.bool) +})); +dart.setLibraryUri(web_audio.ConvolverNode, I[159]); +dart.registerExtension("ConvolverNode", web_audio.ConvolverNode); +web_audio.DelayNode = class DelayNode$ extends web_audio.AudioNode { + static new(context, options = null) { + if (context == null) dart.nullFailed(I[158], 846, 38, "context"); + if (options != null) { + let options_1 = html_common.convertDartToNative_Dictionary(options); + return web_audio.DelayNode._create_1(context, options_1); + } + return web_audio.DelayNode._create_2(context); + } + static _create_1(context, options) { + return new DelayNode(context, options); + } + static _create_2(context) { + return new DelayNode(context); + } + get [S$4.$delayTime]() { + return this.delayTime; + } +}; +dart.addTypeTests(web_audio.DelayNode); +dart.addTypeCaches(web_audio.DelayNode); +dart.setGetterSignature(web_audio.DelayNode, () => ({ + __proto__: dart.getGetters(web_audio.DelayNode.__proto__), + [S$4.$delayTime]: dart.nullable(web_audio.AudioParam) +})); +dart.setLibraryUri(web_audio.DelayNode, I[159]); +dart.registerExtension("DelayNode", web_audio.DelayNode); +web_audio.DynamicsCompressorNode = class DynamicsCompressorNode$ extends web_audio.AudioNode { + static new(context, options = null) { + if (context == null) dart.nullFailed(I[158], 871, 51, "context"); + if (options != null) { + let options_1 = html_common.convertDartToNative_Dictionary(options); + return web_audio.DynamicsCompressorNode._create_1(context, options_1); + } + return web_audio.DynamicsCompressorNode._create_2(context); + } + static _create_1(context, options) { + return new DynamicsCompressorNode(context, options); + } + static _create_2(context) { + return new DynamicsCompressorNode(context); + } + get [S$4.$attack]() { + return this.attack; + } + get [S$4.$knee]() { + return this.knee; + } + get [S$4.$ratio]() { + return this.ratio; + } + get [S$4.$reduction]() { + return this.reduction; + } + get [S$4.$release]() { + return this.release; + } + get [S$4.$threshold]() { + return this.threshold; + } +}; +dart.addTypeTests(web_audio.DynamicsCompressorNode); +dart.addTypeCaches(web_audio.DynamicsCompressorNode); +dart.setGetterSignature(web_audio.DynamicsCompressorNode, () => ({ + __proto__: dart.getGetters(web_audio.DynamicsCompressorNode.__proto__), + [S$4.$attack]: dart.nullable(web_audio.AudioParam), + [S$4.$knee]: dart.nullable(web_audio.AudioParam), + [S$4.$ratio]: dart.nullable(web_audio.AudioParam), + [S$4.$reduction]: dart.nullable(core.num), + [S$4.$release]: dart.nullable(web_audio.AudioParam), + [S$4.$threshold]: dart.nullable(web_audio.AudioParam) +})); +dart.setLibraryUri(web_audio.DynamicsCompressorNode, I[159]); +dart.registerExtension("DynamicsCompressorNode", web_audio.DynamicsCompressorNode); +web_audio.GainNode = class GainNode$ extends web_audio.AudioNode { + static new(context, options = null) { + if (context == null) dart.nullFailed(I[158], 909, 37, "context"); + if (options != null) { + let options_1 = html_common.convertDartToNative_Dictionary(options); + return web_audio.GainNode._create_1(context, options_1); + } + return web_audio.GainNode._create_2(context); + } + static _create_1(context, options) { + return new GainNode(context, options); + } + static _create_2(context) { + return new GainNode(context); + } + get [S$4.$gain]() { + return this.gain; + } +}; +dart.addTypeTests(web_audio.GainNode); +dart.addTypeCaches(web_audio.GainNode); +dart.setGetterSignature(web_audio.GainNode, () => ({ + __proto__: dart.getGetters(web_audio.GainNode.__proto__), + [S$4.$gain]: dart.nullable(web_audio.AudioParam) +})); +dart.setLibraryUri(web_audio.GainNode, I[159]); +dart.registerExtension("GainNode", web_audio.GainNode); +dart.registerExtension("AudioGainNode", web_audio.GainNode); +web_audio.IirFilterNode = class IirFilterNode extends web_audio.AudioNode { + static new(context, options) { + if (context == null) dart.nullFailed(I[158], 934, 42, "context"); + if (options == null) dart.nullFailed(I[158], 934, 55, "options"); + let options_1 = html_common.convertDartToNative_Dictionary(options); + return web_audio.IirFilterNode._create_1(context, options_1); + } + static _create_1(context, options) { + return new IIRFilterNode(context, options); + } + [S$4.$getFrequencyResponse](...args) { + return this.getFrequencyResponse.apply(this, args); + } +}; +dart.addTypeTests(web_audio.IirFilterNode); +dart.addTypeCaches(web_audio.IirFilterNode); +dart.setMethodSignature(web_audio.IirFilterNode, () => ({ + __proto__: dart.getMethods(web_audio.IirFilterNode.__proto__), + [S$4.$getFrequencyResponse]: dart.fnType(dart.void, [typed_data.Float32List, typed_data.Float32List, typed_data.Float32List]) +})); +dart.setLibraryUri(web_audio.IirFilterNode, I[159]); +dart.registerExtension("IIRFilterNode", web_audio.IirFilterNode); +web_audio.MediaElementAudioSourceNode = class MediaElementAudioSourceNode$ extends web_audio.AudioNode { + static new(context, options) { + if (context == null) dart.nullFailed(I[158], 955, 56, "context"); + if (options == null) dart.nullFailed(I[158], 955, 69, "options"); + let options_1 = html_common.convertDartToNative_Dictionary(options); + return web_audio.MediaElementAudioSourceNode._create_1(context, options_1); + } + static _create_1(context, options) { + return new MediaElementAudioSourceNode(context, options); + } + get [S$4.$mediaElement]() { + return this.mediaElement; + } +}; +dart.addTypeTests(web_audio.MediaElementAudioSourceNode); +dart.addTypeCaches(web_audio.MediaElementAudioSourceNode); +dart.setGetterSignature(web_audio.MediaElementAudioSourceNode, () => ({ + __proto__: dart.getGetters(web_audio.MediaElementAudioSourceNode.__proto__), + [S$4.$mediaElement]: dart.nullable(html$.MediaElement) +})); +dart.setLibraryUri(web_audio.MediaElementAudioSourceNode, I[159]); +dart.registerExtension("MediaElementAudioSourceNode", web_audio.MediaElementAudioSourceNode); +web_audio.MediaStreamAudioDestinationNode = class MediaStreamAudioDestinationNode$ extends web_audio.AudioNode { + static new(context, options = null) { + if (context == null) dart.nullFailed(I[158], 978, 60, "context"); + if (options != null) { + let options_1 = html_common.convertDartToNative_Dictionary(options); + return web_audio.MediaStreamAudioDestinationNode._create_1(context, options_1); + } + return web_audio.MediaStreamAudioDestinationNode._create_2(context); + } + static _create_1(context, options) { + return new MediaStreamAudioDestinationNode(context, options); + } + static _create_2(context) { + return new MediaStreamAudioDestinationNode(context); + } + get [S$1.$stream]() { + return this.stream; + } +}; +dart.addTypeTests(web_audio.MediaStreamAudioDestinationNode); +dart.addTypeCaches(web_audio.MediaStreamAudioDestinationNode); +dart.setGetterSignature(web_audio.MediaStreamAudioDestinationNode, () => ({ + __proto__: dart.getGetters(web_audio.MediaStreamAudioDestinationNode.__proto__), + [S$1.$stream]: dart.nullable(html$.MediaStream) +})); +dart.setLibraryUri(web_audio.MediaStreamAudioDestinationNode, I[159]); +dart.registerExtension("MediaStreamAudioDestinationNode", web_audio.MediaStreamAudioDestinationNode); +web_audio.MediaStreamAudioSourceNode = class MediaStreamAudioSourceNode$ extends web_audio.AudioNode { + static new(context, options) { + if (context == null) dart.nullFailed(I[158], 1009, 55, "context"); + if (options == null) dart.nullFailed(I[158], 1009, 68, "options"); + let options_1 = html_common.convertDartToNative_Dictionary(options); + return web_audio.MediaStreamAudioSourceNode._create_1(context, options_1); + } + static _create_1(context, options) { + return new MediaStreamAudioSourceNode(context, options); + } + get [S$4.$mediaStream]() { + return this.mediaStream; + } +}; +dart.addTypeTests(web_audio.MediaStreamAudioSourceNode); +dart.addTypeCaches(web_audio.MediaStreamAudioSourceNode); +dart.setGetterSignature(web_audio.MediaStreamAudioSourceNode, () => ({ + __proto__: dart.getGetters(web_audio.MediaStreamAudioSourceNode.__proto__), + [S$4.$mediaStream]: dart.nullable(html$.MediaStream) +})); +dart.setLibraryUri(web_audio.MediaStreamAudioSourceNode, I[159]); +dart.registerExtension("MediaStreamAudioSourceNode", web_audio.MediaStreamAudioSourceNode); +web_audio.OfflineAudioCompletionEvent = class OfflineAudioCompletionEvent$ extends html$.Event { + static new(type, eventInitDict) { + if (type == null) dart.nullFailed(I[158], 1032, 46, "type"); + if (eventInitDict == null) dart.nullFailed(I[158], 1032, 56, "eventInitDict"); + let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); + return web_audio.OfflineAudioCompletionEvent._create_1(type, eventInitDict_1); + } + static _create_1(type, eventInitDict) { + return new OfflineAudioCompletionEvent(type, eventInitDict); + } + get [S$4.$renderedBuffer]() { + return this.renderedBuffer; + } +}; +dart.addTypeTests(web_audio.OfflineAudioCompletionEvent); +dart.addTypeCaches(web_audio.OfflineAudioCompletionEvent); +dart.setGetterSignature(web_audio.OfflineAudioCompletionEvent, () => ({ + __proto__: dart.getGetters(web_audio.OfflineAudioCompletionEvent.__proto__), + [S$4.$renderedBuffer]: dart.nullable(web_audio.AudioBuffer) +})); +dart.setLibraryUri(web_audio.OfflineAudioCompletionEvent, I[159]); +dart.registerExtension("OfflineAudioCompletionEvent", web_audio.OfflineAudioCompletionEvent); +web_audio.OfflineAudioContext = class OfflineAudioContext$ extends web_audio.BaseAudioContext { + static new(numberOfChannels_OR_options, numberOfFrames = null, sampleRate = null) { + if (typeof sampleRate == 'number' && core.int.is(numberOfFrames) && core.int.is(numberOfChannels_OR_options)) { + return web_audio.OfflineAudioContext._create_1(numberOfChannels_OR_options, numberOfFrames, sampleRate); + } + if (core.Map.is(numberOfChannels_OR_options) && numberOfFrames == null && sampleRate == null) { + let options_1 = html_common.convertDartToNative_Dictionary(numberOfChannels_OR_options); + return web_audio.OfflineAudioContext._create_2(options_1); + } + dart.throw(new core.ArgumentError.new("Incorrect number or type of arguments")); + } + static _create_1(numberOfChannels_OR_options, numberOfFrames, sampleRate) { + return new OfflineAudioContext(numberOfChannels_OR_options, numberOfFrames, sampleRate); + } + static _create_2(numberOfChannels_OR_options) { + return new OfflineAudioContext(numberOfChannels_OR_options); + } + get [$length]() { + return this.length; + } + [S$4.$startRendering]() { + return js_util.promiseToFuture(web_audio.AudioBuffer, this.startRendering()); + } + [S$4.$suspendFor](suspendTime) { + if (suspendTime == null) dart.nullFailed(I[158], 1087, 25, "suspendTime"); + return js_util.promiseToFuture(dart.dynamic, this.suspend(suspendTime)); + } +}; +dart.addTypeTests(web_audio.OfflineAudioContext); +dart.addTypeCaches(web_audio.OfflineAudioContext); +dart.setMethodSignature(web_audio.OfflineAudioContext, () => ({ + __proto__: dart.getMethods(web_audio.OfflineAudioContext.__proto__), + [S$4.$startRendering]: dart.fnType(async.Future$(web_audio.AudioBuffer), []), + [S$4.$suspendFor]: dart.fnType(async.Future, [core.num]) +})); +dart.setGetterSignature(web_audio.OfflineAudioContext, () => ({ + __proto__: dart.getGetters(web_audio.OfflineAudioContext.__proto__), + [$length]: dart.nullable(core.int) +})); +dart.setLibraryUri(web_audio.OfflineAudioContext, I[159]); +dart.registerExtension("OfflineAudioContext", web_audio.OfflineAudioContext); +web_audio.OscillatorNode = class OscillatorNode$ extends web_audio.AudioScheduledSourceNode { + static new(context, options = null) { + if (context == null) dart.nullFailed(I[158], 1101, 43, "context"); + if (options != null) { + let options_1 = html_common.convertDartToNative_Dictionary(options); + return web_audio.OscillatorNode._create_1(context, options_1); + } + return web_audio.OscillatorNode._create_2(context); + } + static _create_1(context, options) { + return new OscillatorNode(context, options); + } + static _create_2(context) { + return new OscillatorNode(context); + } + get [S$3.$detune]() { + return this.detune; + } + get [S$4.$frequency]() { + return this.frequency; + } + get [S.$type]() { + return this.type; + } + set [S.$type](value) { + this.type = value; + } + [S$4.$setPeriodicWave](...args) { + return this.setPeriodicWave.apply(this, args); + } +}; +dart.addTypeTests(web_audio.OscillatorNode); +dart.addTypeCaches(web_audio.OscillatorNode); +dart.setMethodSignature(web_audio.OscillatorNode, () => ({ + __proto__: dart.getMethods(web_audio.OscillatorNode.__proto__), + [S$4.$setPeriodicWave]: dart.fnType(dart.void, [web_audio.PeriodicWave]) +})); +dart.setGetterSignature(web_audio.OscillatorNode, () => ({ + __proto__: dart.getGetters(web_audio.OscillatorNode.__proto__), + [S$3.$detune]: dart.nullable(web_audio.AudioParam), + [S$4.$frequency]: dart.nullable(web_audio.AudioParam), + [S.$type]: dart.nullable(core.String) +})); +dart.setSetterSignature(web_audio.OscillatorNode, () => ({ + __proto__: dart.getSetters(web_audio.OscillatorNode.__proto__), + [S.$type]: dart.nullable(core.String) +})); +dart.setLibraryUri(web_audio.OscillatorNode, I[159]); +dart.registerExtension("OscillatorNode", web_audio.OscillatorNode); +dart.registerExtension("Oscillator", web_audio.OscillatorNode); +web_audio.PannerNode = class PannerNode$ extends web_audio.AudioNode { + static new(context, options = null) { + if (context == null) dart.nullFailed(I[158], 1134, 39, "context"); + if (options != null) { + let options_1 = html_common.convertDartToNative_Dictionary(options); + return web_audio.PannerNode._create_1(context, options_1); + } + return web_audio.PannerNode._create_2(context); + } + static _create_1(context, options) { + return new PannerNode(context, options); + } + static _create_2(context) { + return new PannerNode(context); + } + get [S$4.$coneInnerAngle]() { + return this.coneInnerAngle; + } + set [S$4.$coneInnerAngle](value) { + this.coneInnerAngle = value; + } + get [S$4.$coneOuterAngle]() { + return this.coneOuterAngle; + } + set [S$4.$coneOuterAngle](value) { + this.coneOuterAngle = value; + } + get [S$4.$coneOuterGain]() { + return this.coneOuterGain; + } + set [S$4.$coneOuterGain](value) { + this.coneOuterGain = value; + } + get [S$4.$distanceModel]() { + return this.distanceModel; + } + set [S$4.$distanceModel](value) { + this.distanceModel = value; + } + get [S$4.$maxDistance]() { + return this.maxDistance; + } + set [S$4.$maxDistance](value) { + this.maxDistance = value; + } + get [S$4.$orientationX]() { + return this.orientationX; + } + get [S$4.$orientationY]() { + return this.orientationY; + } + get [S$4.$orientationZ]() { + return this.orientationZ; + } + get [S$4.$panningModel]() { + return this.panningModel; + } + set [S$4.$panningModel](value) { + this.panningModel = value; + } + get [S$2.$positionX]() { + return this.positionX; + } + get [S$2.$positionY]() { + return this.positionY; + } + get [S$4.$positionZ]() { + return this.positionZ; + } + get [S$4.$refDistance]() { + return this.refDistance; + } + set [S$4.$refDistance](value) { + this.refDistance = value; + } + get [S$4.$rolloffFactor]() { + return this.rolloffFactor; + } + set [S$4.$rolloffFactor](value) { + this.rolloffFactor = value; + } + [S$4.$setOrientation](...args) { + return this.setOrientation.apply(this, args); + } + [S$2.$setPosition](...args) { + return this.setPosition.apply(this, args); + } +}; +dart.addTypeTests(web_audio.PannerNode); +dart.addTypeCaches(web_audio.PannerNode); +dart.setMethodSignature(web_audio.PannerNode, () => ({ + __proto__: dart.getMethods(web_audio.PannerNode.__proto__), + [S$4.$setOrientation]: dart.fnType(dart.void, [core.num, core.num, core.num]), + [S$2.$setPosition]: dart.fnType(dart.void, [core.num, core.num, core.num]) +})); +dart.setGetterSignature(web_audio.PannerNode, () => ({ + __proto__: dart.getGetters(web_audio.PannerNode.__proto__), + [S$4.$coneInnerAngle]: dart.nullable(core.num), + [S$4.$coneOuterAngle]: dart.nullable(core.num), + [S$4.$coneOuterGain]: dart.nullable(core.num), + [S$4.$distanceModel]: dart.nullable(core.String), + [S$4.$maxDistance]: dart.nullable(core.num), + [S$4.$orientationX]: dart.nullable(web_audio.AudioParam), + [S$4.$orientationY]: dart.nullable(web_audio.AudioParam), + [S$4.$orientationZ]: dart.nullable(web_audio.AudioParam), + [S$4.$panningModel]: dart.nullable(core.String), + [S$2.$positionX]: dart.nullable(web_audio.AudioParam), + [S$2.$positionY]: dart.nullable(web_audio.AudioParam), + [S$4.$positionZ]: dart.nullable(web_audio.AudioParam), + [S$4.$refDistance]: dart.nullable(core.num), + [S$4.$rolloffFactor]: dart.nullable(core.num) +})); +dart.setSetterSignature(web_audio.PannerNode, () => ({ + __proto__: dart.getSetters(web_audio.PannerNode.__proto__), + [S$4.$coneInnerAngle]: dart.nullable(core.num), + [S$4.$coneOuterAngle]: dart.nullable(core.num), + [S$4.$coneOuterGain]: dart.nullable(core.num), + [S$4.$distanceModel]: dart.nullable(core.String), + [S$4.$maxDistance]: dart.nullable(core.num), + [S$4.$panningModel]: dart.nullable(core.String), + [S$4.$refDistance]: dart.nullable(core.num), + [S$4.$rolloffFactor]: dart.nullable(core.num) +})); +dart.setLibraryUri(web_audio.PannerNode, I[159]); +dart.registerExtension("PannerNode", web_audio.PannerNode); +dart.registerExtension("AudioPannerNode", web_audio.PannerNode); +dart.registerExtension("webkitAudioPannerNode", web_audio.PannerNode); +web_audio.PeriodicWave = class PeriodicWave$ extends _interceptors.Interceptor { + static new(context, options = null) { + if (context == null) dart.nullFailed(I[158], 1205, 41, "context"); + if (options != null) { + let options_1 = html_common.convertDartToNative_Dictionary(options); + return web_audio.PeriodicWave._create_1(context, options_1); + } + return web_audio.PeriodicWave._create_2(context); + } + static _create_1(context, options) { + return new PeriodicWave(context, options); + } + static _create_2(context) { + return new PeriodicWave(context); + } +}; +dart.addTypeTests(web_audio.PeriodicWave); +dart.addTypeCaches(web_audio.PeriodicWave); +dart.setLibraryUri(web_audio.PeriodicWave, I[159]); +dart.registerExtension("PeriodicWave", web_audio.PeriodicWave); +web_audio.ScriptProcessorNode = class ScriptProcessorNode extends web_audio.AudioNode { + get [S$4.$bufferSize]() { + return this.bufferSize; + } + [S$4.$setEventListener](...args) { + return this.setEventListener.apply(this, args); + } + get [S$4.$onAudioProcess]() { + return web_audio.ScriptProcessorNode.audioProcessEvent.forTarget(this); + } +}; +dart.addTypeTests(web_audio.ScriptProcessorNode); +dart.addTypeCaches(web_audio.ScriptProcessorNode); +dart.setMethodSignature(web_audio.ScriptProcessorNode, () => ({ + __proto__: dart.getMethods(web_audio.ScriptProcessorNode.__proto__), + [S$4.$setEventListener]: dart.fnType(dart.void, [dart.fnType(dart.dynamic, [html$.Event])]) +})); +dart.setGetterSignature(web_audio.ScriptProcessorNode, () => ({ + __proto__: dart.getGetters(web_audio.ScriptProcessorNode.__proto__), + [S$4.$bufferSize]: dart.nullable(core.int), + [S$4.$onAudioProcess]: async.Stream$(web_audio.AudioProcessingEvent) +})); +dart.setLibraryUri(web_audio.ScriptProcessorNode, I[159]); +dart.defineLazy(web_audio.ScriptProcessorNode, { + /*web_audio.ScriptProcessorNode.audioProcessEvent*/get audioProcessEvent() { + return C[418] || CT.C418; + } +}, false); +dart.registerExtension("ScriptProcessorNode", web_audio.ScriptProcessorNode); +dart.registerExtension("JavaScriptAudioNode", web_audio.ScriptProcessorNode); +web_audio.StereoPannerNode = class StereoPannerNode$ extends web_audio.AudioNode { + static new(context, options = null) { + if (context == null) dart.nullFailed(I[158], 1263, 45, "context"); + if (options != null) { + let options_1 = html_common.convertDartToNative_Dictionary(options); + return web_audio.StereoPannerNode._create_1(context, options_1); + } + return web_audio.StereoPannerNode._create_2(context); + } + static _create_1(context, options) { + return new StereoPannerNode(context, options); + } + static _create_2(context) { + return new StereoPannerNode(context); + } + get [S$4.$pan]() { + return this.pan; + } +}; +dart.addTypeTests(web_audio.StereoPannerNode); +dart.addTypeCaches(web_audio.StereoPannerNode); +dart.setGetterSignature(web_audio.StereoPannerNode, () => ({ + __proto__: dart.getGetters(web_audio.StereoPannerNode.__proto__), + [S$4.$pan]: dart.nullable(web_audio.AudioParam) +})); +dart.setLibraryUri(web_audio.StereoPannerNode, I[159]); +dart.registerExtension("StereoPannerNode", web_audio.StereoPannerNode); +web_audio.WaveShaperNode = class WaveShaperNode$ extends web_audio.AudioNode { + static new(context, options = null) { + if (context == null) dart.nullFailed(I[158], 1288, 43, "context"); + if (options != null) { + let options_1 = html_common.convertDartToNative_Dictionary(options); + return web_audio.WaveShaperNode._create_1(context, options_1); + } + return web_audio.WaveShaperNode._create_2(context); + } + static _create_1(context, options) { + return new WaveShaperNode(context, options); + } + static _create_2(context) { + return new WaveShaperNode(context); + } + get [S$4.$curve]() { + return this.curve; + } + set [S$4.$curve](value) { + this.curve = value; + } + get [S$4.$oversample]() { + return this.oversample; + } + set [S$4.$oversample](value) { + this.oversample = value; + } +}; +dart.addTypeTests(web_audio.WaveShaperNode); +dart.addTypeCaches(web_audio.WaveShaperNode); +dart.setGetterSignature(web_audio.WaveShaperNode, () => ({ + __proto__: dart.getGetters(web_audio.WaveShaperNode.__proto__), + [S$4.$curve]: dart.nullable(typed_data.Float32List), + [S$4.$oversample]: dart.nullable(core.String) +})); +dart.setSetterSignature(web_audio.WaveShaperNode, () => ({ + __proto__: dart.getSetters(web_audio.WaveShaperNode.__proto__), + [S$4.$curve]: dart.nullable(typed_data.Float32List), + [S$4.$oversample]: dart.nullable(core.String) +})); +dart.setLibraryUri(web_audio.WaveShaperNode, I[159]); +dart.registerExtension("WaveShaperNode", web_audio.WaveShaperNode); +web_gl.ActiveInfo = class ActiveInfo extends _interceptors.Interceptor { + get [$name]() { + return this.name; + } + get [S$.$size]() { + return this.size; + } + get [S.$type]() { + return this.type; + } +}; +dart.addTypeTests(web_gl.ActiveInfo); +dart.addTypeCaches(web_gl.ActiveInfo); +dart.setGetterSignature(web_gl.ActiveInfo, () => ({ + __proto__: dart.getGetters(web_gl.ActiveInfo.__proto__), + [$name]: core.String, + [S$.$size]: core.int, + [S.$type]: core.int +})); +dart.setLibraryUri(web_gl.ActiveInfo, I[160]); +dart.registerExtension("WebGLActiveInfo", web_gl.ActiveInfo); +web_gl.AngleInstancedArrays = class AngleInstancedArrays extends _interceptors.Interceptor { + [S$4.$drawArraysInstancedAngle](...args) { + return this.drawArraysInstancedANGLE.apply(this, args); + } + [S$4.$drawElementsInstancedAngle](...args) { + return this.drawElementsInstancedANGLE.apply(this, args); + } + [S$4.$vertexAttribDivisorAngle](...args) { + return this.vertexAttribDivisorANGLE.apply(this, args); + } +}; +dart.addTypeTests(web_gl.AngleInstancedArrays); +dart.addTypeCaches(web_gl.AngleInstancedArrays); +dart.setMethodSignature(web_gl.AngleInstancedArrays, () => ({ + __proto__: dart.getMethods(web_gl.AngleInstancedArrays.__proto__), + [S$4.$drawArraysInstancedAngle]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int]), + [S$4.$drawElementsInstancedAngle]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int]), + [S$4.$vertexAttribDivisorAngle]: dart.fnType(dart.void, [core.int, core.int]) +})); +dart.setLibraryUri(web_gl.AngleInstancedArrays, I[160]); +dart.defineLazy(web_gl.AngleInstancedArrays, { + /*web_gl.AngleInstancedArrays.VERTEX_ATTRIB_ARRAY_DIVISOR_ANGLE*/get VERTEX_ATTRIB_ARRAY_DIVISOR_ANGLE() { + return 35070; + } +}, false); +dart.registerExtension("ANGLEInstancedArrays", web_gl.AngleInstancedArrays); +dart.registerExtension("ANGLE_instanced_arrays", web_gl.AngleInstancedArrays); +web_gl.Buffer = class Buffer extends _interceptors.Interceptor {}; +dart.addTypeTests(web_gl.Buffer); +dart.addTypeCaches(web_gl.Buffer); +dart.setLibraryUri(web_gl.Buffer, I[160]); +dart.registerExtension("WebGLBuffer", web_gl.Buffer); +web_gl.Canvas = class Canvas extends _interceptors.Interceptor { + get [S$.$canvas]() { + return this.canvas; + } + get [S$4.$offscreenCanvas]() { + return this.canvas; + } +}; +dart.addTypeTests(web_gl.Canvas); +dart.addTypeCaches(web_gl.Canvas); +dart.setGetterSignature(web_gl.Canvas, () => ({ + __proto__: dart.getGetters(web_gl.Canvas.__proto__), + [S$.$canvas]: html$.CanvasElement, + [S$4.$offscreenCanvas]: dart.nullable(html$.OffscreenCanvas) +})); +dart.setLibraryUri(web_gl.Canvas, I[160]); +dart.registerExtension("WebGLCanvas", web_gl.Canvas); +web_gl.ColorBufferFloat = class ColorBufferFloat extends _interceptors.Interceptor {}; +dart.addTypeTests(web_gl.ColorBufferFloat); +dart.addTypeCaches(web_gl.ColorBufferFloat); +dart.setLibraryUri(web_gl.ColorBufferFloat, I[160]); +dart.registerExtension("WebGLColorBufferFloat", web_gl.ColorBufferFloat); +web_gl.CompressedTextureAstc = class CompressedTextureAstc extends _interceptors.Interceptor {}; +dart.addTypeTests(web_gl.CompressedTextureAstc); +dart.addTypeCaches(web_gl.CompressedTextureAstc); +dart.setLibraryUri(web_gl.CompressedTextureAstc, I[160]); +dart.defineLazy(web_gl.CompressedTextureAstc, { + /*web_gl.CompressedTextureAstc.COMPRESSED_RGBA_ASTC_10x10_KHR*/get COMPRESSED_RGBA_ASTC_10x10_KHR() { + return 37819; + }, + /*web_gl.CompressedTextureAstc.COMPRESSED_RGBA_ASTC_10x5_KHR*/get COMPRESSED_RGBA_ASTC_10x5_KHR() { + return 37816; + }, + /*web_gl.CompressedTextureAstc.COMPRESSED_RGBA_ASTC_10x6_KHR*/get COMPRESSED_RGBA_ASTC_10x6_KHR() { + return 37817; + }, + /*web_gl.CompressedTextureAstc.COMPRESSED_RGBA_ASTC_10x8_KHR*/get COMPRESSED_RGBA_ASTC_10x8_KHR() { + return 37818; + }, + /*web_gl.CompressedTextureAstc.COMPRESSED_RGBA_ASTC_12x10_KHR*/get COMPRESSED_RGBA_ASTC_12x10_KHR() { + return 37820; + }, + /*web_gl.CompressedTextureAstc.COMPRESSED_RGBA_ASTC_12x12_KHR*/get COMPRESSED_RGBA_ASTC_12x12_KHR() { + return 37821; + }, + /*web_gl.CompressedTextureAstc.COMPRESSED_RGBA_ASTC_4x4_KHR*/get COMPRESSED_RGBA_ASTC_4x4_KHR() { + return 37808; + }, + /*web_gl.CompressedTextureAstc.COMPRESSED_RGBA_ASTC_5x4_KHR*/get COMPRESSED_RGBA_ASTC_5x4_KHR() { + return 37809; + }, + /*web_gl.CompressedTextureAstc.COMPRESSED_RGBA_ASTC_5x5_KHR*/get COMPRESSED_RGBA_ASTC_5x5_KHR() { + return 37810; + }, + /*web_gl.CompressedTextureAstc.COMPRESSED_RGBA_ASTC_6x5_KHR*/get COMPRESSED_RGBA_ASTC_6x5_KHR() { + return 37811; + }, + /*web_gl.CompressedTextureAstc.COMPRESSED_RGBA_ASTC_6x6_KHR*/get COMPRESSED_RGBA_ASTC_6x6_KHR() { + return 37812; + }, + /*web_gl.CompressedTextureAstc.COMPRESSED_RGBA_ASTC_8x5_KHR*/get COMPRESSED_RGBA_ASTC_8x5_KHR() { + return 37813; + }, + /*web_gl.CompressedTextureAstc.COMPRESSED_RGBA_ASTC_8x6_KHR*/get COMPRESSED_RGBA_ASTC_8x6_KHR() { + return 37814; + }, + /*web_gl.CompressedTextureAstc.COMPRESSED_RGBA_ASTC_8x8_KHR*/get COMPRESSED_RGBA_ASTC_8x8_KHR() { + return 37815; + }, + /*web_gl.CompressedTextureAstc.COMPRESSED_SRGB8_ALPHA8_ASTC_10x10_KHR*/get COMPRESSED_SRGB8_ALPHA8_ASTC_10x10_KHR() { + return 37851; + }, + /*web_gl.CompressedTextureAstc.COMPRESSED_SRGB8_ALPHA8_ASTC_10x5_KHR*/get COMPRESSED_SRGB8_ALPHA8_ASTC_10x5_KHR() { + return 37848; + }, + /*web_gl.CompressedTextureAstc.COMPRESSED_SRGB8_ALPHA8_ASTC_10x6_KHR*/get COMPRESSED_SRGB8_ALPHA8_ASTC_10x6_KHR() { + return 37849; + }, + /*web_gl.CompressedTextureAstc.COMPRESSED_SRGB8_ALPHA8_ASTC_10x8_KHR*/get COMPRESSED_SRGB8_ALPHA8_ASTC_10x8_KHR() { + return 37850; + }, + /*web_gl.CompressedTextureAstc.COMPRESSED_SRGB8_ALPHA8_ASTC_12x10_KHR*/get COMPRESSED_SRGB8_ALPHA8_ASTC_12x10_KHR() { + return 37852; + }, + /*web_gl.CompressedTextureAstc.COMPRESSED_SRGB8_ALPHA8_ASTC_12x12_KHR*/get COMPRESSED_SRGB8_ALPHA8_ASTC_12x12_KHR() { + return 37853; + }, + /*web_gl.CompressedTextureAstc.COMPRESSED_SRGB8_ALPHA8_ASTC_4x4_KHR*/get COMPRESSED_SRGB8_ALPHA8_ASTC_4x4_KHR() { + return 37840; + }, + /*web_gl.CompressedTextureAstc.COMPRESSED_SRGB8_ALPHA8_ASTC_5x4_KHR*/get COMPRESSED_SRGB8_ALPHA8_ASTC_5x4_KHR() { + return 37841; + }, + /*web_gl.CompressedTextureAstc.COMPRESSED_SRGB8_ALPHA8_ASTC_5x5_KHR*/get COMPRESSED_SRGB8_ALPHA8_ASTC_5x5_KHR() { + return 37842; + }, + /*web_gl.CompressedTextureAstc.COMPRESSED_SRGB8_ALPHA8_ASTC_6x5_KHR*/get COMPRESSED_SRGB8_ALPHA8_ASTC_6x5_KHR() { + return 37843; + }, + /*web_gl.CompressedTextureAstc.COMPRESSED_SRGB8_ALPHA8_ASTC_6x6_KHR*/get COMPRESSED_SRGB8_ALPHA8_ASTC_6x6_KHR() { + return 37844; + }, + /*web_gl.CompressedTextureAstc.COMPRESSED_SRGB8_ALPHA8_ASTC_8x5_KHR*/get COMPRESSED_SRGB8_ALPHA8_ASTC_8x5_KHR() { + return 37845; + }, + /*web_gl.CompressedTextureAstc.COMPRESSED_SRGB8_ALPHA8_ASTC_8x6_KHR*/get COMPRESSED_SRGB8_ALPHA8_ASTC_8x6_KHR() { + return 37846; + }, + /*web_gl.CompressedTextureAstc.COMPRESSED_SRGB8_ALPHA8_ASTC_8x8_KHR*/get COMPRESSED_SRGB8_ALPHA8_ASTC_8x8_KHR() { + return 37847; + } +}, false); +dart.registerExtension("WebGLCompressedTextureASTC", web_gl.CompressedTextureAstc); +web_gl.CompressedTextureAtc = class CompressedTextureAtc extends _interceptors.Interceptor {}; +dart.addTypeTests(web_gl.CompressedTextureAtc); +dart.addTypeCaches(web_gl.CompressedTextureAtc); +dart.setLibraryUri(web_gl.CompressedTextureAtc, I[160]); +dart.defineLazy(web_gl.CompressedTextureAtc, { + /*web_gl.CompressedTextureAtc.COMPRESSED_RGBA_ATC_EXPLICIT_ALPHA_WEBGL*/get COMPRESSED_RGBA_ATC_EXPLICIT_ALPHA_WEBGL() { + return 35987; + }, + /*web_gl.CompressedTextureAtc.COMPRESSED_RGBA_ATC_INTERPOLATED_ALPHA_WEBGL*/get COMPRESSED_RGBA_ATC_INTERPOLATED_ALPHA_WEBGL() { + return 34798; + }, + /*web_gl.CompressedTextureAtc.COMPRESSED_RGB_ATC_WEBGL*/get COMPRESSED_RGB_ATC_WEBGL() { + return 35986; + } +}, false); +dart.registerExtension("WebGLCompressedTextureATC", web_gl.CompressedTextureAtc); +dart.registerExtension("WEBGL_compressed_texture_atc", web_gl.CompressedTextureAtc); +web_gl.CompressedTextureETC1 = class CompressedTextureETC1 extends _interceptors.Interceptor {}; +dart.addTypeTests(web_gl.CompressedTextureETC1); +dart.addTypeCaches(web_gl.CompressedTextureETC1); +dart.setLibraryUri(web_gl.CompressedTextureETC1, I[160]); +dart.defineLazy(web_gl.CompressedTextureETC1, { + /*web_gl.CompressedTextureETC1.COMPRESSED_RGB_ETC1_WEBGL*/get COMPRESSED_RGB_ETC1_WEBGL() { + return 36196; + } +}, false); +dart.registerExtension("WebGLCompressedTextureETC1", web_gl.CompressedTextureETC1); +dart.registerExtension("WEBGL_compressed_texture_etc1", web_gl.CompressedTextureETC1); +web_gl.CompressedTextureEtc = class CompressedTextureEtc extends _interceptors.Interceptor {}; +dart.addTypeTests(web_gl.CompressedTextureEtc); +dart.addTypeCaches(web_gl.CompressedTextureEtc); +dart.setLibraryUri(web_gl.CompressedTextureEtc, I[160]); +dart.defineLazy(web_gl.CompressedTextureEtc, { + /*web_gl.CompressedTextureEtc.COMPRESSED_R11_EAC*/get COMPRESSED_R11_EAC() { + return 37488; + }, + /*web_gl.CompressedTextureEtc.COMPRESSED_RG11_EAC*/get COMPRESSED_RG11_EAC() { + return 37490; + }, + /*web_gl.CompressedTextureEtc.COMPRESSED_RGB8_ETC2*/get COMPRESSED_RGB8_ETC2() { + return 37492; + }, + /*web_gl.CompressedTextureEtc.COMPRESSED_RGB8_PUNCHTHROUGH_ALPHA1_ETC2*/get COMPRESSED_RGB8_PUNCHTHROUGH_ALPHA1_ETC2() { + return 37494; + }, + /*web_gl.CompressedTextureEtc.COMPRESSED_RGBA8_ETC2_EAC*/get COMPRESSED_RGBA8_ETC2_EAC() { + return 37496; + }, + /*web_gl.CompressedTextureEtc.COMPRESSED_SIGNED_R11_EAC*/get COMPRESSED_SIGNED_R11_EAC() { + return 37489; + }, + /*web_gl.CompressedTextureEtc.COMPRESSED_SIGNED_RG11_EAC*/get COMPRESSED_SIGNED_RG11_EAC() { + return 37491; + }, + /*web_gl.CompressedTextureEtc.COMPRESSED_SRGB8_ALPHA8_ETC2_EAC*/get COMPRESSED_SRGB8_ALPHA8_ETC2_EAC() { + return 37497; + }, + /*web_gl.CompressedTextureEtc.COMPRESSED_SRGB8_ETC2*/get COMPRESSED_SRGB8_ETC2() { + return 37493; + }, + /*web_gl.CompressedTextureEtc.COMPRESSED_SRGB8_PUNCHTHROUGH_ALPHA1_ETC2*/get COMPRESSED_SRGB8_PUNCHTHROUGH_ALPHA1_ETC2() { + return 37495; + } +}, false); +dart.registerExtension("WebGLCompressedTextureETC", web_gl.CompressedTextureEtc); +web_gl.CompressedTexturePvrtc = class CompressedTexturePvrtc extends _interceptors.Interceptor {}; +dart.addTypeTests(web_gl.CompressedTexturePvrtc); +dart.addTypeCaches(web_gl.CompressedTexturePvrtc); +dart.setLibraryUri(web_gl.CompressedTexturePvrtc, I[160]); +dart.defineLazy(web_gl.CompressedTexturePvrtc, { + /*web_gl.CompressedTexturePvrtc.COMPRESSED_RGBA_PVRTC_2BPPV1_IMG*/get COMPRESSED_RGBA_PVRTC_2BPPV1_IMG() { + return 35843; + }, + /*web_gl.CompressedTexturePvrtc.COMPRESSED_RGBA_PVRTC_4BPPV1_IMG*/get COMPRESSED_RGBA_PVRTC_4BPPV1_IMG() { + return 35842; + }, + /*web_gl.CompressedTexturePvrtc.COMPRESSED_RGB_PVRTC_2BPPV1_IMG*/get COMPRESSED_RGB_PVRTC_2BPPV1_IMG() { + return 35841; + }, + /*web_gl.CompressedTexturePvrtc.COMPRESSED_RGB_PVRTC_4BPPV1_IMG*/get COMPRESSED_RGB_PVRTC_4BPPV1_IMG() { + return 35840; + } +}, false); +dart.registerExtension("WebGLCompressedTexturePVRTC", web_gl.CompressedTexturePvrtc); +dart.registerExtension("WEBGL_compressed_texture_pvrtc", web_gl.CompressedTexturePvrtc); +web_gl.CompressedTextureS3TC = class CompressedTextureS3TC extends _interceptors.Interceptor {}; +dart.addTypeTests(web_gl.CompressedTextureS3TC); +dart.addTypeCaches(web_gl.CompressedTextureS3TC); +dart.setLibraryUri(web_gl.CompressedTextureS3TC, I[160]); +dart.defineLazy(web_gl.CompressedTextureS3TC, { + /*web_gl.CompressedTextureS3TC.COMPRESSED_RGBA_S3TC_DXT1_EXT*/get COMPRESSED_RGBA_S3TC_DXT1_EXT() { + return 33777; + }, + /*web_gl.CompressedTextureS3TC.COMPRESSED_RGBA_S3TC_DXT3_EXT*/get COMPRESSED_RGBA_S3TC_DXT3_EXT() { + return 33778; + }, + /*web_gl.CompressedTextureS3TC.COMPRESSED_RGBA_S3TC_DXT5_EXT*/get COMPRESSED_RGBA_S3TC_DXT5_EXT() { + return 33779; + }, + /*web_gl.CompressedTextureS3TC.COMPRESSED_RGB_S3TC_DXT1_EXT*/get COMPRESSED_RGB_S3TC_DXT1_EXT() { + return 33776; + } +}, false); +dart.registerExtension("WebGLCompressedTextureS3TC", web_gl.CompressedTextureS3TC); +dart.registerExtension("WEBGL_compressed_texture_s3tc", web_gl.CompressedTextureS3TC); +web_gl.CompressedTextureS3TCsRgb = class CompressedTextureS3TCsRgb extends _interceptors.Interceptor {}; +dart.addTypeTests(web_gl.CompressedTextureS3TCsRgb); +dart.addTypeCaches(web_gl.CompressedTextureS3TCsRgb); +dart.setLibraryUri(web_gl.CompressedTextureS3TCsRgb, I[160]); +dart.defineLazy(web_gl.CompressedTextureS3TCsRgb, { + /*web_gl.CompressedTextureS3TCsRgb.COMPRESSED_SRGB_ALPHA_S3TC_DXT1_EXT*/get COMPRESSED_SRGB_ALPHA_S3TC_DXT1_EXT() { + return 35917; + }, + /*web_gl.CompressedTextureS3TCsRgb.COMPRESSED_SRGB_ALPHA_S3TC_DXT3_EXT*/get COMPRESSED_SRGB_ALPHA_S3TC_DXT3_EXT() { + return 35918; + }, + /*web_gl.CompressedTextureS3TCsRgb.COMPRESSED_SRGB_ALPHA_S3TC_DXT5_EXT*/get COMPRESSED_SRGB_ALPHA_S3TC_DXT5_EXT() { + return 35919; + }, + /*web_gl.CompressedTextureS3TCsRgb.COMPRESSED_SRGB_S3TC_DXT1_EXT*/get COMPRESSED_SRGB_S3TC_DXT1_EXT() { + return 35916; + } +}, false); +dart.registerExtension("WebGLCompressedTextureS3TCsRGB", web_gl.CompressedTextureS3TCsRgb); +web_gl.ContextEvent = class ContextEvent extends html$.Event { + static new(type, eventInit = null) { + if (type == null) dart.nullFailed(I[161], 303, 31, "type"); + if (eventInit != null) { + let eventInit_1 = html_common.convertDartToNative_Dictionary(eventInit); + return web_gl.ContextEvent._create_1(type, eventInit_1); + } + return web_gl.ContextEvent._create_2(type); + } + static _create_1(type, eventInit) { + return new WebGLContextEvent(type, eventInit); + } + static _create_2(type) { + return new WebGLContextEvent(type); + } + get [S$4.$statusMessage]() { + return this.statusMessage; + } +}; +dart.addTypeTests(web_gl.ContextEvent); +dart.addTypeCaches(web_gl.ContextEvent); +dart.setGetterSignature(web_gl.ContextEvent, () => ({ + __proto__: dart.getGetters(web_gl.ContextEvent.__proto__), + [S$4.$statusMessage]: core.String +})); +dart.setLibraryUri(web_gl.ContextEvent, I[160]); +dart.registerExtension("WebGLContextEvent", web_gl.ContextEvent); +web_gl.DebugRendererInfo = class DebugRendererInfo extends _interceptors.Interceptor {}; +dart.addTypeTests(web_gl.DebugRendererInfo); +dart.addTypeCaches(web_gl.DebugRendererInfo); +dart.setLibraryUri(web_gl.DebugRendererInfo, I[160]); +dart.defineLazy(web_gl.DebugRendererInfo, { + /*web_gl.DebugRendererInfo.UNMASKED_RENDERER_WEBGL*/get UNMASKED_RENDERER_WEBGL() { + return 37446; + }, + /*web_gl.DebugRendererInfo.UNMASKED_VENDOR_WEBGL*/get UNMASKED_VENDOR_WEBGL() { + return 37445; + } +}, false); +dart.registerExtension("WebGLDebugRendererInfo", web_gl.DebugRendererInfo); +dart.registerExtension("WEBGL_debug_renderer_info", web_gl.DebugRendererInfo); +web_gl.DebugShaders = class DebugShaders extends _interceptors.Interceptor { + [S$4.$getTranslatedShaderSource](...args) { + return this.getTranslatedShaderSource.apply(this, args); + } +}; +dart.addTypeTests(web_gl.DebugShaders); +dart.addTypeCaches(web_gl.DebugShaders); +dart.setMethodSignature(web_gl.DebugShaders, () => ({ + __proto__: dart.getMethods(web_gl.DebugShaders.__proto__), + [S$4.$getTranslatedShaderSource]: dart.fnType(dart.nullable(core.String), [web_gl.Shader]) +})); +dart.setLibraryUri(web_gl.DebugShaders, I[160]); +dart.registerExtension("WebGLDebugShaders", web_gl.DebugShaders); +dart.registerExtension("WEBGL_debug_shaders", web_gl.DebugShaders); +web_gl.DepthTexture = class DepthTexture extends _interceptors.Interceptor {}; +dart.addTypeTests(web_gl.DepthTexture); +dart.addTypeCaches(web_gl.DepthTexture); +dart.setLibraryUri(web_gl.DepthTexture, I[160]); +dart.defineLazy(web_gl.DepthTexture, { + /*web_gl.DepthTexture.UNSIGNED_INT_24_8_WEBGL*/get UNSIGNED_INT_24_8_WEBGL() { + return 34042; + } +}, false); +dart.registerExtension("WebGLDepthTexture", web_gl.DepthTexture); +dart.registerExtension("WEBGL_depth_texture", web_gl.DepthTexture); +web_gl.DrawBuffers = class DrawBuffers extends _interceptors.Interceptor { + [S$4.$drawBuffersWebgl](...args) { + return this.drawBuffersWEBGL.apply(this, args); + } +}; +dart.addTypeTests(web_gl.DrawBuffers); +dart.addTypeCaches(web_gl.DrawBuffers); +dart.setMethodSignature(web_gl.DrawBuffers, () => ({ + __proto__: dart.getMethods(web_gl.DrawBuffers.__proto__), + [S$4.$drawBuffersWebgl]: dart.fnType(dart.void, [core.List$(core.int)]) +})); +dart.setLibraryUri(web_gl.DrawBuffers, I[160]); +dart.registerExtension("WebGLDrawBuffers", web_gl.DrawBuffers); +dart.registerExtension("WEBGL_draw_buffers", web_gl.DrawBuffers); +web_gl.EXTsRgb = class EXTsRgb extends _interceptors.Interceptor {}; +dart.addTypeTests(web_gl.EXTsRgb); +dart.addTypeCaches(web_gl.EXTsRgb); +dart.setLibraryUri(web_gl.EXTsRgb, I[160]); +dart.defineLazy(web_gl.EXTsRgb, { + /*web_gl.EXTsRgb.FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING_EXT*/get FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING_EXT() { + return 33296; + }, + /*web_gl.EXTsRgb.SRGB8_ALPHA8_EXT*/get SRGB8_ALPHA8_EXT() { + return 35907; + }, + /*web_gl.EXTsRgb.SRGB_ALPHA_EXT*/get SRGB_ALPHA_EXT() { + return 35906; + }, + /*web_gl.EXTsRgb.SRGB_EXT*/get SRGB_EXT() { + return 35904; + } +}, false); +dart.registerExtension("EXTsRGB", web_gl.EXTsRgb); +dart.registerExtension("EXT_sRGB", web_gl.EXTsRgb); +web_gl.ExtBlendMinMax = class ExtBlendMinMax extends _interceptors.Interceptor {}; +dart.addTypeTests(web_gl.ExtBlendMinMax); +dart.addTypeCaches(web_gl.ExtBlendMinMax); +dart.setLibraryUri(web_gl.ExtBlendMinMax, I[160]); +dart.defineLazy(web_gl.ExtBlendMinMax, { + /*web_gl.ExtBlendMinMax.MAX_EXT*/get MAX_EXT() { + return 32776; + }, + /*web_gl.ExtBlendMinMax.MIN_EXT*/get MIN_EXT() { + return 32775; + } +}, false); +dart.registerExtension("EXTBlendMinMax", web_gl.ExtBlendMinMax); +dart.registerExtension("EXT_blend_minmax", web_gl.ExtBlendMinMax); +web_gl.ExtColorBufferFloat = class ExtColorBufferFloat extends _interceptors.Interceptor {}; +dart.addTypeTests(web_gl.ExtColorBufferFloat); +dart.addTypeCaches(web_gl.ExtColorBufferFloat); +dart.setLibraryUri(web_gl.ExtColorBufferFloat, I[160]); +dart.registerExtension("EXTColorBufferFloat", web_gl.ExtColorBufferFloat); +web_gl.ExtColorBufferHalfFloat = class ExtColorBufferHalfFloat extends _interceptors.Interceptor {}; +dart.addTypeTests(web_gl.ExtColorBufferHalfFloat); +dart.addTypeCaches(web_gl.ExtColorBufferHalfFloat); +dart.setLibraryUri(web_gl.ExtColorBufferHalfFloat, I[160]); +dart.registerExtension("EXTColorBufferHalfFloat", web_gl.ExtColorBufferHalfFloat); +web_gl.ExtDisjointTimerQuery = class ExtDisjointTimerQuery extends _interceptors.Interceptor { + [S$4.$beginQueryExt](...args) { + return this.beginQueryEXT.apply(this, args); + } + [S$4.$createQueryExt](...args) { + return this.createQueryEXT.apply(this, args); + } + [S$4.$deleteQueryExt](...args) { + return this.deleteQueryEXT.apply(this, args); + } + [S$4.$endQueryExt](...args) { + return this.endQueryEXT.apply(this, args); + } + [S$4.$getQueryExt](...args) { + return this.getQueryEXT.apply(this, args); + } + [S$4.$getQueryObjectExt](...args) { + return this.getQueryObjectEXT.apply(this, args); + } + [S$4.$isQueryExt](...args) { + return this.isQueryEXT.apply(this, args); + } + [S$4.$queryCounterExt](...args) { + return this.queryCounterEXT.apply(this, args); + } +}; +dart.addTypeTests(web_gl.ExtDisjointTimerQuery); +dart.addTypeCaches(web_gl.ExtDisjointTimerQuery); +dart.setMethodSignature(web_gl.ExtDisjointTimerQuery, () => ({ + __proto__: dart.getMethods(web_gl.ExtDisjointTimerQuery.__proto__), + [S$4.$beginQueryExt]: dart.fnType(dart.void, [core.int, web_gl.TimerQueryExt]), + [S$4.$createQueryExt]: dart.fnType(web_gl.TimerQueryExt, []), + [S$4.$deleteQueryExt]: dart.fnType(dart.void, [dart.nullable(web_gl.TimerQueryExt)]), + [S$4.$endQueryExt]: dart.fnType(dart.void, [core.int]), + [S$4.$getQueryExt]: dart.fnType(dart.nullable(core.Object), [core.int, core.int]), + [S$4.$getQueryObjectExt]: dart.fnType(dart.nullable(core.Object), [web_gl.TimerQueryExt, core.int]), + [S$4.$isQueryExt]: dart.fnType(core.bool, [dart.nullable(web_gl.TimerQueryExt)]), + [S$4.$queryCounterExt]: dart.fnType(dart.void, [web_gl.TimerQueryExt, core.int]) +})); +dart.setLibraryUri(web_gl.ExtDisjointTimerQuery, I[160]); +dart.defineLazy(web_gl.ExtDisjointTimerQuery, { + /*web_gl.ExtDisjointTimerQuery.CURRENT_QUERY_EXT*/get CURRENT_QUERY_EXT() { + return 34917; + }, + /*web_gl.ExtDisjointTimerQuery.GPU_DISJOINT_EXT*/get GPU_DISJOINT_EXT() { + return 36795; + }, + /*web_gl.ExtDisjointTimerQuery.QUERY_COUNTER_BITS_EXT*/get QUERY_COUNTER_BITS_EXT() { + return 34916; + }, + /*web_gl.ExtDisjointTimerQuery.QUERY_RESULT_AVAILABLE_EXT*/get QUERY_RESULT_AVAILABLE_EXT() { + return 34919; + }, + /*web_gl.ExtDisjointTimerQuery.QUERY_RESULT_EXT*/get QUERY_RESULT_EXT() { + return 34918; + }, + /*web_gl.ExtDisjointTimerQuery.TIMESTAMP_EXT*/get TIMESTAMP_EXT() { + return 36392; + }, + /*web_gl.ExtDisjointTimerQuery.TIME_ELAPSED_EXT*/get TIME_ELAPSED_EXT() { + return 35007; + } +}, false); +dart.registerExtension("EXTDisjointTimerQuery", web_gl.ExtDisjointTimerQuery); +web_gl.ExtDisjointTimerQueryWebGL2 = class ExtDisjointTimerQueryWebGL2 extends _interceptors.Interceptor { + [S$4.$queryCounterExt](...args) { + return this.queryCounterEXT.apply(this, args); + } +}; +dart.addTypeTests(web_gl.ExtDisjointTimerQueryWebGL2); +dart.addTypeCaches(web_gl.ExtDisjointTimerQueryWebGL2); +dart.setMethodSignature(web_gl.ExtDisjointTimerQueryWebGL2, () => ({ + __proto__: dart.getMethods(web_gl.ExtDisjointTimerQueryWebGL2.__proto__), + [S$4.$queryCounterExt]: dart.fnType(dart.void, [web_gl.Query, core.int]) +})); +dart.setLibraryUri(web_gl.ExtDisjointTimerQueryWebGL2, I[160]); +dart.defineLazy(web_gl.ExtDisjointTimerQueryWebGL2, { + /*web_gl.ExtDisjointTimerQueryWebGL2.GPU_DISJOINT_EXT*/get GPU_DISJOINT_EXT() { + return 36795; + }, + /*web_gl.ExtDisjointTimerQueryWebGL2.QUERY_COUNTER_BITS_EXT*/get QUERY_COUNTER_BITS_EXT() { + return 34916; + }, + /*web_gl.ExtDisjointTimerQueryWebGL2.TIMESTAMP_EXT*/get TIMESTAMP_EXT() { + return 36392; + }, + /*web_gl.ExtDisjointTimerQueryWebGL2.TIME_ELAPSED_EXT*/get TIME_ELAPSED_EXT() { + return 35007; + } +}, false); +dart.registerExtension("EXTDisjointTimerQueryWebGL2", web_gl.ExtDisjointTimerQueryWebGL2); +web_gl.ExtFragDepth = class ExtFragDepth extends _interceptors.Interceptor {}; +dart.addTypeTests(web_gl.ExtFragDepth); +dart.addTypeCaches(web_gl.ExtFragDepth); +dart.setLibraryUri(web_gl.ExtFragDepth, I[160]); +dart.registerExtension("EXTFragDepth", web_gl.ExtFragDepth); +dart.registerExtension("EXT_frag_depth", web_gl.ExtFragDepth); +web_gl.ExtShaderTextureLod = class ExtShaderTextureLod extends _interceptors.Interceptor {}; +dart.addTypeTests(web_gl.ExtShaderTextureLod); +dart.addTypeCaches(web_gl.ExtShaderTextureLod); +dart.setLibraryUri(web_gl.ExtShaderTextureLod, I[160]); +dart.registerExtension("EXTShaderTextureLOD", web_gl.ExtShaderTextureLod); +dart.registerExtension("EXT_shader_texture_lod", web_gl.ExtShaderTextureLod); +web_gl.ExtTextureFilterAnisotropic = class ExtTextureFilterAnisotropic extends _interceptors.Interceptor {}; +dart.addTypeTests(web_gl.ExtTextureFilterAnisotropic); +dart.addTypeCaches(web_gl.ExtTextureFilterAnisotropic); +dart.setLibraryUri(web_gl.ExtTextureFilterAnisotropic, I[160]); +dart.defineLazy(web_gl.ExtTextureFilterAnisotropic, { + /*web_gl.ExtTextureFilterAnisotropic.MAX_TEXTURE_MAX_ANISOTROPY_EXT*/get MAX_TEXTURE_MAX_ANISOTROPY_EXT() { + return 34047; + }, + /*web_gl.ExtTextureFilterAnisotropic.TEXTURE_MAX_ANISOTROPY_EXT*/get TEXTURE_MAX_ANISOTROPY_EXT() { + return 34046; + } +}, false); +dart.registerExtension("EXTTextureFilterAnisotropic", web_gl.ExtTextureFilterAnisotropic); +dart.registerExtension("EXT_texture_filter_anisotropic", web_gl.ExtTextureFilterAnisotropic); +web_gl.Framebuffer = class Framebuffer extends _interceptors.Interceptor {}; +dart.addTypeTests(web_gl.Framebuffer); +dart.addTypeCaches(web_gl.Framebuffer); +dart.setLibraryUri(web_gl.Framebuffer, I[160]); +dart.registerExtension("WebGLFramebuffer", web_gl.Framebuffer); +web_gl.GetBufferSubDataAsync = class GetBufferSubDataAsync extends _interceptors.Interceptor { + [S$4.$getBufferSubDataAsync](target, srcByteOffset, dstData, dstOffset = null, length = null) { + if (target == null) dart.nullFailed(I[161], 559, 36, "target"); + if (srcByteOffset == null) dart.nullFailed(I[161], 559, 48, "srcByteOffset"); + if (dstData == null) dart.nullFailed(I[161], 559, 73, "dstData"); + return js_util.promiseToFuture(dart.dynamic, this.getBufferSubDataAsync(target, srcByteOffset, dstData, dstOffset, length)); + } +}; +dart.addTypeTests(web_gl.GetBufferSubDataAsync); +dart.addTypeCaches(web_gl.GetBufferSubDataAsync); +dart.setMethodSignature(web_gl.GetBufferSubDataAsync, () => ({ + __proto__: dart.getMethods(web_gl.GetBufferSubDataAsync.__proto__), + [S$4.$getBufferSubDataAsync]: dart.fnType(async.Future, [core.int, core.int, typed_data.TypedData], [dart.nullable(core.int), dart.nullable(core.int)]) +})); +dart.setLibraryUri(web_gl.GetBufferSubDataAsync, I[160]); +dart.registerExtension("WebGLGetBufferSubDataAsync", web_gl.GetBufferSubDataAsync); +web_gl.LoseContext = class LoseContext extends _interceptors.Interceptor { + [S$4.$loseContext](...args) { + return this.loseContext.apply(this, args); + } + [S$4.$restoreContext](...args) { + return this.restoreContext.apply(this, args); + } +}; +dart.addTypeTests(web_gl.LoseContext); +dart.addTypeCaches(web_gl.LoseContext); +dart.setMethodSignature(web_gl.LoseContext, () => ({ + __proto__: dart.getMethods(web_gl.LoseContext.__proto__), + [S$4.$loseContext]: dart.fnType(dart.void, []), + [S$4.$restoreContext]: dart.fnType(dart.void, []) +})); +dart.setLibraryUri(web_gl.LoseContext, I[160]); +dart.registerExtension("WebGLLoseContext", web_gl.LoseContext); +dart.registerExtension("WebGLExtensionLoseContext", web_gl.LoseContext); +dart.registerExtension("WEBGL_lose_context", web_gl.LoseContext); +web_gl.OesElementIndexUint = class OesElementIndexUint extends _interceptors.Interceptor {}; +dart.addTypeTests(web_gl.OesElementIndexUint); +dart.addTypeCaches(web_gl.OesElementIndexUint); +dart.setLibraryUri(web_gl.OesElementIndexUint, I[160]); +dart.registerExtension("OESElementIndexUint", web_gl.OesElementIndexUint); +dart.registerExtension("OES_element_index_uint", web_gl.OesElementIndexUint); +web_gl.OesStandardDerivatives = class OesStandardDerivatives extends _interceptors.Interceptor {}; +dart.addTypeTests(web_gl.OesStandardDerivatives); +dart.addTypeCaches(web_gl.OesStandardDerivatives); +dart.setLibraryUri(web_gl.OesStandardDerivatives, I[160]); +dart.defineLazy(web_gl.OesStandardDerivatives, { + /*web_gl.OesStandardDerivatives.FRAGMENT_SHADER_DERIVATIVE_HINT_OES*/get FRAGMENT_SHADER_DERIVATIVE_HINT_OES() { + return 35723; + } +}, false); +dart.registerExtension("OESStandardDerivatives", web_gl.OesStandardDerivatives); +dart.registerExtension("OES_standard_derivatives", web_gl.OesStandardDerivatives); +web_gl.OesTextureFloat = class OesTextureFloat extends _interceptors.Interceptor {}; +dart.addTypeTests(web_gl.OesTextureFloat); +dart.addTypeCaches(web_gl.OesTextureFloat); +dart.setLibraryUri(web_gl.OesTextureFloat, I[160]); +dart.registerExtension("OESTextureFloat", web_gl.OesTextureFloat); +dart.registerExtension("OES_texture_float", web_gl.OesTextureFloat); +web_gl.OesTextureFloatLinear = class OesTextureFloatLinear extends _interceptors.Interceptor {}; +dart.addTypeTests(web_gl.OesTextureFloatLinear); +dart.addTypeCaches(web_gl.OesTextureFloatLinear); +dart.setLibraryUri(web_gl.OesTextureFloatLinear, I[160]); +dart.registerExtension("OESTextureFloatLinear", web_gl.OesTextureFloatLinear); +dart.registerExtension("OES_texture_float_linear", web_gl.OesTextureFloatLinear); +web_gl.OesTextureHalfFloat = class OesTextureHalfFloat extends _interceptors.Interceptor {}; +dart.addTypeTests(web_gl.OesTextureHalfFloat); +dart.addTypeCaches(web_gl.OesTextureHalfFloat); +dart.setLibraryUri(web_gl.OesTextureHalfFloat, I[160]); +dart.defineLazy(web_gl.OesTextureHalfFloat, { + /*web_gl.OesTextureHalfFloat.HALF_FLOAT_OES*/get HALF_FLOAT_OES() { + return 36193; + } +}, false); +dart.registerExtension("OESTextureHalfFloat", web_gl.OesTextureHalfFloat); +dart.registerExtension("OES_texture_half_float", web_gl.OesTextureHalfFloat); +web_gl.OesTextureHalfFloatLinear = class OesTextureHalfFloatLinear extends _interceptors.Interceptor {}; +dart.addTypeTests(web_gl.OesTextureHalfFloatLinear); +dart.addTypeCaches(web_gl.OesTextureHalfFloatLinear); +dart.setLibraryUri(web_gl.OesTextureHalfFloatLinear, I[160]); +dart.registerExtension("OESTextureHalfFloatLinear", web_gl.OesTextureHalfFloatLinear); +dart.registerExtension("OES_texture_half_float_linear", web_gl.OesTextureHalfFloatLinear); +web_gl.OesVertexArrayObject = class OesVertexArrayObject extends _interceptors.Interceptor { + [S$4.$bindVertexArray](...args) { + return this.bindVertexArrayOES.apply(this, args); + } + [S$4.$createVertexArray](...args) { + return this.createVertexArrayOES.apply(this, args); + } + [S$4.$deleteVertexArray](...args) { + return this.deleteVertexArrayOES.apply(this, args); + } + [S$4.$isVertexArray](...args) { + return this.isVertexArrayOES.apply(this, args); + } +}; +dart.addTypeTests(web_gl.OesVertexArrayObject); +dart.addTypeCaches(web_gl.OesVertexArrayObject); +dart.setMethodSignature(web_gl.OesVertexArrayObject, () => ({ + __proto__: dart.getMethods(web_gl.OesVertexArrayObject.__proto__), + [S$4.$bindVertexArray]: dart.fnType(dart.void, [dart.nullable(web_gl.VertexArrayObjectOes)]), + [S$4.$createVertexArray]: dart.fnType(web_gl.VertexArrayObjectOes, []), + [S$4.$deleteVertexArray]: dart.fnType(dart.void, [dart.nullable(web_gl.VertexArrayObjectOes)]), + [S$4.$isVertexArray]: dart.fnType(core.bool, [dart.nullable(web_gl.VertexArrayObjectOes)]) +})); +dart.setLibraryUri(web_gl.OesVertexArrayObject, I[160]); +dart.defineLazy(web_gl.OesVertexArrayObject, { + /*web_gl.OesVertexArrayObject.VERTEX_ARRAY_BINDING_OES*/get VERTEX_ARRAY_BINDING_OES() { + return 34229; + } +}, false); +dart.registerExtension("OESVertexArrayObject", web_gl.OesVertexArrayObject); +dart.registerExtension("OES_vertex_array_object", web_gl.OesVertexArrayObject); +web_gl.Program = class Program extends _interceptors.Interceptor {}; +dart.addTypeTests(web_gl.Program); +dart.addTypeCaches(web_gl.Program); +dart.setLibraryUri(web_gl.Program, I[160]); +dart.registerExtension("WebGLProgram", web_gl.Program); +web_gl.Query = class Query extends _interceptors.Interceptor {}; +dart.addTypeTests(web_gl.Query); +dart.addTypeCaches(web_gl.Query); +dart.setLibraryUri(web_gl.Query, I[160]); +dart.registerExtension("WebGLQuery", web_gl.Query); +web_gl.Renderbuffer = class Renderbuffer extends _interceptors.Interceptor {}; +dart.addTypeTests(web_gl.Renderbuffer); +dart.addTypeCaches(web_gl.Renderbuffer); +dart.setLibraryUri(web_gl.Renderbuffer, I[160]); +dart.registerExtension("WebGLRenderbuffer", web_gl.Renderbuffer); +web_gl.RenderingContext = class RenderingContext extends _interceptors.Interceptor { + static get supported() { + return !!window.WebGLRenderingContext; + } + get [S$.$canvas]() { + return this.canvas; + } + get [S$4.$drawingBufferHeight]() { + return this.drawingBufferHeight; + } + get [S$4.$drawingBufferWidth]() { + return this.drawingBufferWidth; + } + [S$4.$activeTexture](...args) { + return this.activeTexture.apply(this, args); + } + [S$4.$attachShader](...args) { + return this.attachShader.apply(this, args); + } + [S$4.$bindAttribLocation](...args) { + return this.bindAttribLocation.apply(this, args); + } + [S$4.$bindBuffer](...args) { + return this.bindBuffer.apply(this, args); + } + [S$4.$bindFramebuffer](...args) { + return this.bindFramebuffer.apply(this, args); + } + [S$4.$bindRenderbuffer](...args) { + return this.bindRenderbuffer.apply(this, args); + } + [S$4.$bindTexture](...args) { + return this.bindTexture.apply(this, args); + } + [S$4.$blendColor](...args) { + return this.blendColor.apply(this, args); + } + [S$4.$blendEquation](...args) { + return this.blendEquation.apply(this, args); + } + [S$4.$blendEquationSeparate](...args) { + return this.blendEquationSeparate.apply(this, args); + } + [S$4.$blendFunc](...args) { + return this.blendFunc.apply(this, args); + } + [S$4.$blendFuncSeparate](...args) { + return this.blendFuncSeparate.apply(this, args); + } + [S$4.$bufferData](...args) { + return this.bufferData.apply(this, args); + } + [S$4.$bufferSubData](...args) { + return this.bufferSubData.apply(this, args); + } + [S$4.$checkFramebufferStatus](...args) { + return this.checkFramebufferStatus.apply(this, args); + } + [$clear](...args) { + return this.clear.apply(this, args); + } + [S$4.$clearColor](...args) { + return this.clearColor.apply(this, args); + } + [S$4.$clearDepth](...args) { + return this.clearDepth.apply(this, args); + } + [S$4.$clearStencil](...args) { + return this.clearStencil.apply(this, args); + } + [S$4.$colorMask](...args) { + return this.colorMask.apply(this, args); + } + [S$2.$commit]() { + return js_util.promiseToFuture(dart.dynamic, this.commit()); + } + [S$4.$compileShader](...args) { + return this.compileShader.apply(this, args); + } + [S$4.$compressedTexImage2D](...args) { + return this.compressedTexImage2D.apply(this, args); + } + [S$4.$compressedTexSubImage2D](...args) { + return this.compressedTexSubImage2D.apply(this, args); + } + [S$4.$copyTexImage2D](...args) { + return this.copyTexImage2D.apply(this, args); + } + [S$4.$copyTexSubImage2D](...args) { + return this.copyTexSubImage2D.apply(this, args); + } + [S$3.$createBuffer](...args) { + return this.createBuffer.apply(this, args); + } + [S$4.$createFramebuffer](...args) { + return this.createFramebuffer.apply(this, args); + } + [S$4.$createProgram](...args) { + return this.createProgram.apply(this, args); + } + [S$4.$createRenderbuffer](...args) { + return this.createRenderbuffer.apply(this, args); + } + [S$4.$createShader](...args) { + return this.createShader.apply(this, args); + } + [S$4.$createTexture](...args) { + return this.createTexture.apply(this, args); + } + [S$4.$cullFace](...args) { + return this.cullFace.apply(this, args); + } + [S$4.$deleteBuffer](...args) { + return this.deleteBuffer.apply(this, args); + } + [S$4.$deleteFramebuffer](...args) { + return this.deleteFramebuffer.apply(this, args); + } + [S$4.$deleteProgram](...args) { + return this.deleteProgram.apply(this, args); + } + [S$4.$deleteRenderbuffer](...args) { + return this.deleteRenderbuffer.apply(this, args); + } + [S$4.$deleteShader](...args) { + return this.deleteShader.apply(this, args); + } + [S$4.$deleteTexture](...args) { + return this.deleteTexture.apply(this, args); + } + [S$4.$depthFunc](...args) { + return this.depthFunc.apply(this, args); + } + [S$4.$depthMask](...args) { + return this.depthMask.apply(this, args); + } + [S$4.$depthRange](...args) { + return this.depthRange.apply(this, args); + } + [S$4.$detachShader](...args) { + return this.detachShader.apply(this, args); + } + [S$1.$disable](...args) { + return this.disable.apply(this, args); + } + [S$4.$disableVertexAttribArray](...args) { + return this.disableVertexAttribArray.apply(this, args); + } + [S$4.$drawArrays](...args) { + return this.drawArrays.apply(this, args); + } + [S$4.$drawElements](...args) { + return this.drawElements.apply(this, args); + } + [S$1.$enable](...args) { + return this.enable.apply(this, args); + } + [S$4.$enableVertexAttribArray](...args) { + return this.enableVertexAttribArray.apply(this, args); + } + [S$.$finish](...args) { + return this.finish.apply(this, args); + } + [S$4.$flush](...args) { + return this.flush.apply(this, args); + } + [S$4.$framebufferRenderbuffer](...args) { + return this.framebufferRenderbuffer.apply(this, args); + } + [S$4.$framebufferTexture2D](...args) { + return this.framebufferTexture2D.apply(this, args); + } + [S$4.$frontFace](...args) { + return this.frontFace.apply(this, args); + } + [S$4.$generateMipmap](...args) { + return this.generateMipmap.apply(this, args); + } + [S$4.$getActiveAttrib](...args) { + return this.getActiveAttrib.apply(this, args); + } + [S$4.$getActiveUniform](...args) { + return this.getActiveUniform.apply(this, args); + } + [S$4.$getAttachedShaders](...args) { + return this.getAttachedShaders.apply(this, args); + } + [S$4.$getAttribLocation](...args) { + return this.getAttribLocation.apply(this, args); + } + [S$4.$getBufferParameter](...args) { + return this.getBufferParameter.apply(this, args); + } + [S$.$getContextAttributes]() { + return html_common.convertNativeToDart_Dictionary(this[S$4._getContextAttributes_1$1]()); + } + [S$4._getContextAttributes_1$1](...args) { + return this.getContextAttributes.apply(this, args); + } + [S$4.$getError](...args) { + return this.getError.apply(this, args); + } + [S$4.$getExtension](...args) { + return this.getExtension.apply(this, args); + } + [S$4.$getFramebufferAttachmentParameter](...args) { + return this.getFramebufferAttachmentParameter.apply(this, args); + } + [S$3.$getParameter](...args) { + return this.getParameter.apply(this, args); + } + [S$4.$getProgramInfoLog](...args) { + return this.getProgramInfoLog.apply(this, args); + } + [S$4.$getProgramParameter](...args) { + return this.getProgramParameter.apply(this, args); + } + [S$4.$getRenderbufferParameter](...args) { + return this.getRenderbufferParameter.apply(this, args); + } + [S$4.$getShaderInfoLog](...args) { + return this.getShaderInfoLog.apply(this, args); + } + [S$4.$getShaderParameter](...args) { + return this.getShaderParameter.apply(this, args); + } + [S$4.$getShaderPrecisionFormat](...args) { + return this.getShaderPrecisionFormat.apply(this, args); + } + [S$4.$getShaderSource](...args) { + return this.getShaderSource.apply(this, args); + } + [S$4.$getSupportedExtensions](...args) { + return this.getSupportedExtensions.apply(this, args); + } + [S$4.$getTexParameter](...args) { + return this.getTexParameter.apply(this, args); + } + [S$4.$getUniform](...args) { + return this.getUniform.apply(this, args); + } + [S$4.$getUniformLocation](...args) { + return this.getUniformLocation.apply(this, args); + } + [S$4.$getVertexAttrib](...args) { + return this.getVertexAttrib.apply(this, args); + } + [S$4.$getVertexAttribOffset](...args) { + return this.getVertexAttribOffset.apply(this, args); + } + [S$4.$hint](...args) { + return this.hint.apply(this, args); + } + [S$4.$isBuffer](...args) { + return this.isBuffer.apply(this, args); + } + [S$.$isContextLost](...args) { + return this.isContextLost.apply(this, args); + } + [S$4.$isEnabled](...args) { + return this.isEnabled.apply(this, args); + } + [S$4.$isFramebuffer](...args) { + return this.isFramebuffer.apply(this, args); + } + [S$4.$isProgram](...args) { + return this.isProgram.apply(this, args); + } + [S$4.$isRenderbuffer](...args) { + return this.isRenderbuffer.apply(this, args); + } + [S$4.$isShader](...args) { + return this.isShader.apply(this, args); + } + [S$4.$isTexture](...args) { + return this.isTexture.apply(this, args); + } + [S$.$lineWidth](...args) { + return this.lineWidth.apply(this, args); + } + [S$4.$linkProgram](...args) { + return this.linkProgram.apply(this, args); + } + [S$4.$pixelStorei](...args) { + return this.pixelStorei.apply(this, args); + } + [S$4.$polygonOffset](...args) { + return this.polygonOffset.apply(this, args); + } + [S$4._readPixels](...args) { + return this.readPixels.apply(this, args); + } + [S$4.$renderbufferStorage](...args) { + return this.renderbufferStorage.apply(this, args); + } + [S$4.$sampleCoverage](...args) { + return this.sampleCoverage.apply(this, args); + } + [S$4.$scissor](...args) { + return this.scissor.apply(this, args); + } + [S$4.$shaderSource](...args) { + return this.shaderSource.apply(this, args); + } + [S$4.$stencilFunc](...args) { + return this.stencilFunc.apply(this, args); + } + [S$4.$stencilFuncSeparate](...args) { + return this.stencilFuncSeparate.apply(this, args); + } + [S$4.$stencilMask](...args) { + return this.stencilMask.apply(this, args); + } + [S$4.$stencilMaskSeparate](...args) { + return this.stencilMaskSeparate.apply(this, args); + } + [S$4.$stencilOp](...args) { + return this.stencilOp.apply(this, args); + } + [S$4.$stencilOpSeparate](...args) { + return this.stencilOpSeparate.apply(this, args); + } + [S$4.$texImage2D](target, level, internalformat, format_OR_width, height_OR_type, bitmap_OR_border_OR_canvas_OR_image_OR_pixels_OR_video, format = null, type = null, pixels = null) { + if (target == null) dart.nullFailed(I[161], 980, 11, "target"); + if (level == null) dart.nullFailed(I[161], 981, 11, "level"); + if (internalformat == null) dart.nullFailed(I[161], 982, 11, "internalformat"); + if (format_OR_width == null) dart.nullFailed(I[161], 983, 11, "format_OR_width"); + if (height_OR_type == null) dart.nullFailed(I[161], 984, 11, "height_OR_type"); + if (type != null && format != null && core.int.is(bitmap_OR_border_OR_canvas_OR_image_OR_pixels_OR_video)) { + this[S$4._texImage2D_1](target, level, internalformat, format_OR_width, height_OR_type, bitmap_OR_border_OR_canvas_OR_image_OR_pixels_OR_video, format, type, pixels); + return; + } + if (html$.ImageData.is(bitmap_OR_border_OR_canvas_OR_image_OR_pixels_OR_video) && format == null && type == null && pixels == null) { + let pixels_1 = html_common.convertDartToNative_ImageData(bitmap_OR_border_OR_canvas_OR_image_OR_pixels_OR_video); + this[S$4._texImage2D_2](target, level, internalformat, format_OR_width, height_OR_type, pixels_1); + return; + } + if (html$.ImageElement.is(bitmap_OR_border_OR_canvas_OR_image_OR_pixels_OR_video) && format == null && type == null && pixels == null) { + this[S$4._texImage2D_3](target, level, internalformat, format_OR_width, height_OR_type, bitmap_OR_border_OR_canvas_OR_image_OR_pixels_OR_video); + return; + } + if (html$.CanvasElement.is(bitmap_OR_border_OR_canvas_OR_image_OR_pixels_OR_video) && format == null && type == null && pixels == null) { + this[S$4._texImage2D_4](target, level, internalformat, format_OR_width, height_OR_type, bitmap_OR_border_OR_canvas_OR_image_OR_pixels_OR_video); + return; + } + if (html$.VideoElement.is(bitmap_OR_border_OR_canvas_OR_image_OR_pixels_OR_video) && format == null && type == null && pixels == null) { + this[S$4._texImage2D_5](target, level, internalformat, format_OR_width, height_OR_type, bitmap_OR_border_OR_canvas_OR_image_OR_pixels_OR_video); + return; + } + if (html$.ImageBitmap.is(bitmap_OR_border_OR_canvas_OR_image_OR_pixels_OR_video) && format == null && type == null && pixels == null) { + this[S$4._texImage2D_6](target, level, internalformat, format_OR_width, height_OR_type, bitmap_OR_border_OR_canvas_OR_image_OR_pixels_OR_video); + return; + } + dart.throw(new core.ArgumentError.new("Incorrect number or type of arguments")); + } + [S$4._texImage2D_1](...args) { + return this.texImage2D.apply(this, args); + } + [S$4._texImage2D_2](...args) { + return this.texImage2D.apply(this, args); + } + [S$4._texImage2D_3](...args) { + return this.texImage2D.apply(this, args); + } + [S$4._texImage2D_4](...args) { + return this.texImage2D.apply(this, args); + } + [S$4._texImage2D_5](...args) { + return this.texImage2D.apply(this, args); + } + [S$4._texImage2D_6](...args) { + return this.texImage2D.apply(this, args); + } + [S$4.$texParameterf](...args) { + return this.texParameterf.apply(this, args); + } + [S$4.$texParameteri](...args) { + return this.texParameteri.apply(this, args); + } + [S$4.$texSubImage2D](target, level, xoffset, yoffset, format_OR_width, height_OR_type, bitmap_OR_canvas_OR_format_OR_image_OR_pixels_OR_video, type = null, pixels = null) { + if (target == null) dart.nullFailed(I[161], 1097, 11, "target"); + if (level == null) dart.nullFailed(I[161], 1098, 11, "level"); + if (xoffset == null) dart.nullFailed(I[161], 1099, 11, "xoffset"); + if (yoffset == null) dart.nullFailed(I[161], 1100, 11, "yoffset"); + if (format_OR_width == null) dart.nullFailed(I[161], 1101, 11, "format_OR_width"); + if (height_OR_type == null) dart.nullFailed(I[161], 1102, 11, "height_OR_type"); + if (type != null && core.int.is(bitmap_OR_canvas_OR_format_OR_image_OR_pixels_OR_video)) { + this[S$4._texSubImage2D_1](target, level, xoffset, yoffset, format_OR_width, height_OR_type, bitmap_OR_canvas_OR_format_OR_image_OR_pixels_OR_video, type, pixels); + return; + } + if (html$.ImageData.is(bitmap_OR_canvas_OR_format_OR_image_OR_pixels_OR_video) && type == null && pixels == null) { + let pixels_1 = html_common.convertDartToNative_ImageData(bitmap_OR_canvas_OR_format_OR_image_OR_pixels_OR_video); + this[S$4._texSubImage2D_2](target, level, xoffset, yoffset, format_OR_width, height_OR_type, pixels_1); + return; + } + if (html$.ImageElement.is(bitmap_OR_canvas_OR_format_OR_image_OR_pixels_OR_video) && type == null && pixels == null) { + this[S$4._texSubImage2D_3](target, level, xoffset, yoffset, format_OR_width, height_OR_type, bitmap_OR_canvas_OR_format_OR_image_OR_pixels_OR_video); + return; + } + if (html$.CanvasElement.is(bitmap_OR_canvas_OR_format_OR_image_OR_pixels_OR_video) && type == null && pixels == null) { + this[S$4._texSubImage2D_4](target, level, xoffset, yoffset, format_OR_width, height_OR_type, bitmap_OR_canvas_OR_format_OR_image_OR_pixels_OR_video); + return; + } + if (html$.VideoElement.is(bitmap_OR_canvas_OR_format_OR_image_OR_pixels_OR_video) && type == null && pixels == null) { + this[S$4._texSubImage2D_5](target, level, xoffset, yoffset, format_OR_width, height_OR_type, bitmap_OR_canvas_OR_format_OR_image_OR_pixels_OR_video); + return; + } + if (html$.ImageBitmap.is(bitmap_OR_canvas_OR_format_OR_image_OR_pixels_OR_video) && type == null && pixels == null) { + this[S$4._texSubImage2D_6](target, level, xoffset, yoffset, format_OR_width, height_OR_type, bitmap_OR_canvas_OR_format_OR_image_OR_pixels_OR_video); + return; + } + dart.throw(new core.ArgumentError.new("Incorrect number or type of arguments")); + } + [S$4._texSubImage2D_1](...args) { + return this.texSubImage2D.apply(this, args); + } + [S$4._texSubImage2D_2](...args) { + return this.texSubImage2D.apply(this, args); + } + [S$4._texSubImage2D_3](...args) { + return this.texSubImage2D.apply(this, args); + } + [S$4._texSubImage2D_4](...args) { + return this.texSubImage2D.apply(this, args); + } + [S$4._texSubImage2D_5](...args) { + return this.texSubImage2D.apply(this, args); + } + [S$4._texSubImage2D_6](...args) { + return this.texSubImage2D.apply(this, args); + } + [S$4.$uniform1f](...args) { + return this.uniform1f.apply(this, args); + } + [S$4.$uniform1fv](...args) { + return this.uniform1fv.apply(this, args); + } + [S$4.$uniform1i](...args) { + return this.uniform1i.apply(this, args); + } + [S$4.$uniform1iv](...args) { + return this.uniform1iv.apply(this, args); + } + [S$4.$uniform2f](...args) { + return this.uniform2f.apply(this, args); + } + [S$4.$uniform2fv](...args) { + return this.uniform2fv.apply(this, args); + } + [S$4.$uniform2i](...args) { + return this.uniform2i.apply(this, args); + } + [S$4.$uniform2iv](...args) { + return this.uniform2iv.apply(this, args); + } + [S$4.$uniform3f](...args) { + return this.uniform3f.apply(this, args); + } + [S$4.$uniform3fv](...args) { + return this.uniform3fv.apply(this, args); + } + [S$4.$uniform3i](...args) { + return this.uniform3i.apply(this, args); + } + [S$4.$uniform3iv](...args) { + return this.uniform3iv.apply(this, args); + } + [S$4.$uniform4f](...args) { + return this.uniform4f.apply(this, args); + } + [S$4.$uniform4fv](...args) { + return this.uniform4fv.apply(this, args); + } + [S$4.$uniform4i](...args) { + return this.uniform4i.apply(this, args); + } + [S$4.$uniform4iv](...args) { + return this.uniform4iv.apply(this, args); + } + [S$4.$uniformMatrix2fv](...args) { + return this.uniformMatrix2fv.apply(this, args); + } + [S$4.$uniformMatrix3fv](...args) { + return this.uniformMatrix3fv.apply(this, args); + } + [S$4.$uniformMatrix4fv](...args) { + return this.uniformMatrix4fv.apply(this, args); + } + [S$4.$useProgram](...args) { + return this.useProgram.apply(this, args); + } + [S$4.$validateProgram](...args) { + return this.validateProgram.apply(this, args); + } + [S$4.$vertexAttrib1f](...args) { + return this.vertexAttrib1f.apply(this, args); + } + [S$4.$vertexAttrib1fv](...args) { + return this.vertexAttrib1fv.apply(this, args); + } + [S$4.$vertexAttrib2f](...args) { + return this.vertexAttrib2f.apply(this, args); + } + [S$4.$vertexAttrib2fv](...args) { + return this.vertexAttrib2fv.apply(this, args); + } + [S$4.$vertexAttrib3f](...args) { + return this.vertexAttrib3f.apply(this, args); + } + [S$4.$vertexAttrib3fv](...args) { + return this.vertexAttrib3fv.apply(this, args); + } + [S$4.$vertexAttrib4f](...args) { + return this.vertexAttrib4f.apply(this, args); + } + [S$4.$vertexAttrib4fv](...args) { + return this.vertexAttrib4fv.apply(this, args); + } + [S$4.$vertexAttribPointer](...args) { + return this.vertexAttribPointer.apply(this, args); + } + [S$4.$viewport](...args) { + return this.viewport.apply(this, args); + } + [S$4.$readPixels](x, y, width, height, format, type, pixels) { + if (x == null) dart.nullFailed(I[161], 1273, 23, "x"); + if (y == null) dart.nullFailed(I[161], 1273, 30, "y"); + if (width == null) dart.nullFailed(I[161], 1273, 37, "width"); + if (height == null) dart.nullFailed(I[161], 1273, 48, "height"); + if (format == null) dart.nullFailed(I[161], 1273, 60, "format"); + if (type == null) dart.nullFailed(I[161], 1273, 72, "type"); + this[S$4._readPixels](x, y, width, height, format, type, pixels); + } + [S$4.$texImage2DUntyped](targetTexture, levelOfDetail, internalFormat, format, type, data) { + if (targetTexture == null) dart.nullFailed(I[161], 1287, 30, "targetTexture"); + if (levelOfDetail == null) dart.nullFailed(I[161], 1287, 49, "levelOfDetail"); + if (internalFormat == null) dart.nullFailed(I[161], 1288, 11, "internalFormat"); + if (format == null) dart.nullFailed(I[161], 1288, 31, "format"); + if (type == null) dart.nullFailed(I[161], 1288, 43, "type"); + this[S$4.$texImage2D](targetTexture, levelOfDetail, internalFormat, format, type, data); + } + [S$4.$texImage2DTyped](targetTexture, levelOfDetail, internalFormat, width, height, border, format, type, data) { + if (targetTexture == null) dart.nullFailed(I[161], 1299, 28, "targetTexture"); + if (levelOfDetail == null) dart.nullFailed(I[161], 1299, 47, "levelOfDetail"); + if (internalFormat == null) dart.nullFailed(I[161], 1299, 66, "internalFormat"); + if (width == null) dart.nullFailed(I[161], 1300, 11, "width"); + if (height == null) dart.nullFailed(I[161], 1300, 22, "height"); + if (border == null) dart.nullFailed(I[161], 1300, 34, "border"); + if (format == null) dart.nullFailed(I[161], 1300, 46, "format"); + if (type == null) dart.nullFailed(I[161], 1300, 58, "type"); + if (data == null) dart.nullFailed(I[161], 1300, 74, "data"); + this[S$4.$texImage2D](targetTexture, levelOfDetail, internalFormat, width, height, border, format, type, data); + } + [S$4.$texSubImage2DUntyped](targetTexture, levelOfDetail, xOffset, yOffset, format, type, data) { + if (targetTexture == null) dart.nullFailed(I[161], 1313, 33, "targetTexture"); + if (levelOfDetail == null) dart.nullFailed(I[161], 1313, 52, "levelOfDetail"); + if (xOffset == null) dart.nullFailed(I[161], 1313, 71, "xOffset"); + if (yOffset == null) dart.nullFailed(I[161], 1314, 11, "yOffset"); + if (format == null) dart.nullFailed(I[161], 1314, 24, "format"); + if (type == null) dart.nullFailed(I[161], 1314, 36, "type"); + this[S$4.$texSubImage2D](targetTexture, levelOfDetail, xOffset, yOffset, format, type, data); + } + [S$4.$texSubImage2DTyped](targetTexture, levelOfDetail, xOffset, yOffset, width, height, border, format, type, data) { + if (targetTexture == null) dart.nullFailed(I[161], 1324, 11, "targetTexture"); + if (levelOfDetail == null) dart.nullFailed(I[161], 1325, 11, "levelOfDetail"); + if (xOffset == null) dart.nullFailed(I[161], 1326, 11, "xOffset"); + if (yOffset == null) dart.nullFailed(I[161], 1327, 11, "yOffset"); + if (width == null) dart.nullFailed(I[161], 1328, 11, "width"); + if (height == null) dart.nullFailed(I[161], 1329, 11, "height"); + if (border == null) dart.nullFailed(I[161], 1330, 11, "border"); + if (format == null) dart.nullFailed(I[161], 1331, 11, "format"); + if (type == null) dart.nullFailed(I[161], 1332, 11, "type"); + if (data == null) dart.nullFailed(I[161], 1333, 17, "data"); + this[S$4.$texSubImage2D](targetTexture, levelOfDetail, xOffset, yOffset, width, height, format, type, data); + } + [S$4.$bufferDataTyped](target, data, usage) { + if (target == null) dart.nullFailed(I[161], 1342, 28, "target"); + if (data == null) dart.nullFailed(I[161], 1342, 46, "data"); + if (usage == null) dart.nullFailed(I[161], 1342, 56, "usage"); + this.bufferData(target, data, usage); + } + [S$4.$bufferSubDataTyped](target, offset, data) { + if (target == null) dart.nullFailed(I[161], 1350, 31, "target"); + if (offset == null) dart.nullFailed(I[161], 1350, 43, "offset"); + if (data == null) dart.nullFailed(I[161], 1350, 61, "data"); + this.bufferSubData(target, offset, data); + } +}; +dart.addTypeTests(web_gl.RenderingContext); +dart.addTypeCaches(web_gl.RenderingContext); +web_gl.RenderingContext[dart.implements] = () => [html$.CanvasRenderingContext]; +dart.setMethodSignature(web_gl.RenderingContext, () => ({ + __proto__: dart.getMethods(web_gl.RenderingContext.__proto__), + [S$4.$activeTexture]: dart.fnType(dart.void, [core.int]), + [S$4.$attachShader]: dart.fnType(dart.void, [web_gl.Program, web_gl.Shader]), + [S$4.$bindAttribLocation]: dart.fnType(dart.void, [web_gl.Program, core.int, core.String]), + [S$4.$bindBuffer]: dart.fnType(dart.void, [core.int, dart.nullable(web_gl.Buffer)]), + [S$4.$bindFramebuffer]: dart.fnType(dart.void, [core.int, dart.nullable(web_gl.Framebuffer)]), + [S$4.$bindRenderbuffer]: dart.fnType(dart.void, [core.int, dart.nullable(web_gl.Renderbuffer)]), + [S$4.$bindTexture]: dart.fnType(dart.void, [core.int, dart.nullable(web_gl.Texture)]), + [S$4.$blendColor]: dart.fnType(dart.void, [core.num, core.num, core.num, core.num]), + [S$4.$blendEquation]: dart.fnType(dart.void, [core.int]), + [S$4.$blendEquationSeparate]: dart.fnType(dart.void, [core.int, core.int]), + [S$4.$blendFunc]: dart.fnType(dart.void, [core.int, core.int]), + [S$4.$blendFuncSeparate]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int]), + [S$4.$bufferData]: dart.fnType(dart.void, [core.int, dart.dynamic, core.int]), + [S$4.$bufferSubData]: dart.fnType(dart.void, [core.int, core.int, dart.dynamic]), + [S$4.$checkFramebufferStatus]: dart.fnType(core.int, [core.int]), + [$clear]: dart.fnType(dart.void, [core.int]), + [S$4.$clearColor]: dart.fnType(dart.void, [core.num, core.num, core.num, core.num]), + [S$4.$clearDepth]: dart.fnType(dart.void, [core.num]), + [S$4.$clearStencil]: dart.fnType(dart.void, [core.int]), + [S$4.$colorMask]: dart.fnType(dart.void, [core.bool, core.bool, core.bool, core.bool]), + [S$2.$commit]: dart.fnType(async.Future, []), + [S$4.$compileShader]: dart.fnType(dart.void, [web_gl.Shader]), + [S$4.$compressedTexImage2D]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int, core.int, typed_data.TypedData]), + [S$4.$compressedTexSubImage2D]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int, core.int, core.int, typed_data.TypedData]), + [S$4.$copyTexImage2D]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int, core.int, core.int, core.int]), + [S$4.$copyTexSubImage2D]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int, core.int, core.int, core.int]), + [S$3.$createBuffer]: dart.fnType(web_gl.Buffer, []), + [S$4.$createFramebuffer]: dart.fnType(web_gl.Framebuffer, []), + [S$4.$createProgram]: dart.fnType(web_gl.Program, []), + [S$4.$createRenderbuffer]: dart.fnType(web_gl.Renderbuffer, []), + [S$4.$createShader]: dart.fnType(web_gl.Shader, [core.int]), + [S$4.$createTexture]: dart.fnType(web_gl.Texture, []), + [S$4.$cullFace]: dart.fnType(dart.void, [core.int]), + [S$4.$deleteBuffer]: dart.fnType(dart.void, [dart.nullable(web_gl.Buffer)]), + [S$4.$deleteFramebuffer]: dart.fnType(dart.void, [dart.nullable(web_gl.Framebuffer)]), + [S$4.$deleteProgram]: dart.fnType(dart.void, [dart.nullable(web_gl.Program)]), + [S$4.$deleteRenderbuffer]: dart.fnType(dart.void, [dart.nullable(web_gl.Renderbuffer)]), + [S$4.$deleteShader]: dart.fnType(dart.void, [dart.nullable(web_gl.Shader)]), + [S$4.$deleteTexture]: dart.fnType(dart.void, [dart.nullable(web_gl.Texture)]), + [S$4.$depthFunc]: dart.fnType(dart.void, [core.int]), + [S$4.$depthMask]: dart.fnType(dart.void, [core.bool]), + [S$4.$depthRange]: dart.fnType(dart.void, [core.num, core.num]), + [S$4.$detachShader]: dart.fnType(dart.void, [web_gl.Program, web_gl.Shader]), + [S$1.$disable]: dart.fnType(dart.void, [core.int]), + [S$4.$disableVertexAttribArray]: dart.fnType(dart.void, [core.int]), + [S$4.$drawArrays]: dart.fnType(dart.void, [core.int, core.int, core.int]), + [S$4.$drawElements]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int]), + [S$1.$enable]: dart.fnType(dart.void, [core.int]), + [S$4.$enableVertexAttribArray]: dart.fnType(dart.void, [core.int]), + [S$.$finish]: dart.fnType(dart.void, []), + [S$4.$flush]: dart.fnType(dart.void, []), + [S$4.$framebufferRenderbuffer]: dart.fnType(dart.void, [core.int, core.int, core.int, dart.nullable(web_gl.Renderbuffer)]), + [S$4.$framebufferTexture2D]: dart.fnType(dart.void, [core.int, core.int, core.int, dart.nullable(web_gl.Texture), core.int]), + [S$4.$frontFace]: dart.fnType(dart.void, [core.int]), + [S$4.$generateMipmap]: dart.fnType(dart.void, [core.int]), + [S$4.$getActiveAttrib]: dart.fnType(web_gl.ActiveInfo, [web_gl.Program, core.int]), + [S$4.$getActiveUniform]: dart.fnType(web_gl.ActiveInfo, [web_gl.Program, core.int]), + [S$4.$getAttachedShaders]: dart.fnType(dart.nullable(core.List$(web_gl.Shader)), [web_gl.Program]), + [S$4.$getAttribLocation]: dart.fnType(core.int, [web_gl.Program, core.String]), + [S$4.$getBufferParameter]: dart.fnType(dart.nullable(core.Object), [core.int, core.int]), + [S$.$getContextAttributes]: dart.fnType(dart.nullable(core.Map), []), + [S$4._getContextAttributes_1$1]: dart.fnType(dart.dynamic, []), + [S$4.$getError]: dart.fnType(core.int, []), + [S$4.$getExtension]: dart.fnType(dart.nullable(core.Object), [core.String]), + [S$4.$getFramebufferAttachmentParameter]: dart.fnType(dart.nullable(core.Object), [core.int, core.int, core.int]), + [S$3.$getParameter]: dart.fnType(dart.nullable(core.Object), [core.int]), + [S$4.$getProgramInfoLog]: dart.fnType(dart.nullable(core.String), [web_gl.Program]), + [S$4.$getProgramParameter]: dart.fnType(dart.nullable(core.Object), [web_gl.Program, core.int]), + [S$4.$getRenderbufferParameter]: dart.fnType(dart.nullable(core.Object), [core.int, core.int]), + [S$4.$getShaderInfoLog]: dart.fnType(dart.nullable(core.String), [web_gl.Shader]), + [S$4.$getShaderParameter]: dart.fnType(dart.nullable(core.Object), [web_gl.Shader, core.int]), + [S$4.$getShaderPrecisionFormat]: dart.fnType(web_gl.ShaderPrecisionFormat, [core.int, core.int]), + [S$4.$getShaderSource]: dart.fnType(dart.nullable(core.String), [web_gl.Shader]), + [S$4.$getSupportedExtensions]: dart.fnType(dart.nullable(core.List$(core.String)), []), + [S$4.$getTexParameter]: dart.fnType(dart.nullable(core.Object), [core.int, core.int]), + [S$4.$getUniform]: dart.fnType(dart.nullable(core.Object), [web_gl.Program, web_gl.UniformLocation]), + [S$4.$getUniformLocation]: dart.fnType(web_gl.UniformLocation, [web_gl.Program, core.String]), + [S$4.$getVertexAttrib]: dart.fnType(dart.nullable(core.Object), [core.int, core.int]), + [S$4.$getVertexAttribOffset]: dart.fnType(core.int, [core.int, core.int]), + [S$4.$hint]: dart.fnType(dart.void, [core.int, core.int]), + [S$4.$isBuffer]: dart.fnType(core.bool, [dart.nullable(web_gl.Buffer)]), + [S$.$isContextLost]: dart.fnType(core.bool, []), + [S$4.$isEnabled]: dart.fnType(core.bool, [core.int]), + [S$4.$isFramebuffer]: dart.fnType(core.bool, [dart.nullable(web_gl.Framebuffer)]), + [S$4.$isProgram]: dart.fnType(core.bool, [dart.nullable(web_gl.Program)]), + [S$4.$isRenderbuffer]: dart.fnType(core.bool, [dart.nullable(web_gl.Renderbuffer)]), + [S$4.$isShader]: dart.fnType(core.bool, [dart.nullable(web_gl.Shader)]), + [S$4.$isTexture]: dart.fnType(core.bool, [dart.nullable(web_gl.Texture)]), + [S$.$lineWidth]: dart.fnType(dart.void, [core.num]), + [S$4.$linkProgram]: dart.fnType(dart.void, [web_gl.Program]), + [S$4.$pixelStorei]: dart.fnType(dart.void, [core.int, core.int]), + [S$4.$polygonOffset]: dart.fnType(dart.void, [core.num, core.num]), + [S$4._readPixels]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int, core.int, dart.nullable(typed_data.TypedData)]), + [S$4.$renderbufferStorage]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int]), + [S$4.$sampleCoverage]: dart.fnType(dart.void, [core.num, core.bool]), + [S$4.$scissor]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int]), + [S$4.$shaderSource]: dart.fnType(dart.void, [web_gl.Shader, core.String]), + [S$4.$stencilFunc]: dart.fnType(dart.void, [core.int, core.int, core.int]), + [S$4.$stencilFuncSeparate]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int]), + [S$4.$stencilMask]: dart.fnType(dart.void, [core.int]), + [S$4.$stencilMaskSeparate]: dart.fnType(dart.void, [core.int, core.int]), + [S$4.$stencilOp]: dart.fnType(dart.void, [core.int, core.int, core.int]), + [S$4.$stencilOpSeparate]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int]), + [S$4.$texImage2D]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int, dart.dynamic], [dart.nullable(core.int), dart.nullable(core.int), dart.nullable(typed_data.TypedData)]), + [S$4._texImage2D_1]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, core.int, dart.dynamic, dart.dynamic, dart.nullable(typed_data.TypedData)]), + [S$4._texImage2D_2]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic]), + [S$4._texImage2D_3]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, html$.ImageElement]), + [S$4._texImage2D_4]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, html$.CanvasElement]), + [S$4._texImage2D_5]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, html$.VideoElement]), + [S$4._texImage2D_6]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, html$.ImageBitmap]), + [S$4.$texParameterf]: dart.fnType(dart.void, [core.int, core.int, core.num]), + [S$4.$texParameteri]: dart.fnType(dart.void, [core.int, core.int, core.int]), + [S$4.$texSubImage2D]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int, core.int, dart.dynamic], [dart.nullable(core.int), dart.nullable(typed_data.TypedData)]), + [S$4._texSubImage2D_1]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, core.int, dart.dynamic, dart.nullable(typed_data.TypedData)]), + [S$4._texSubImage2D_2]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic]), + [S$4._texSubImage2D_3]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, html$.ImageElement]), + [S$4._texSubImage2D_4]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, html$.CanvasElement]), + [S$4._texSubImage2D_5]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, html$.VideoElement]), + [S$4._texSubImage2D_6]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, html$.ImageBitmap]), + [S$4.$uniform1f]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), core.num]), + [S$4.$uniform1fv]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), dart.dynamic]), + [S$4.$uniform1i]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), core.int]), + [S$4.$uniform1iv]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), dart.dynamic]), + [S$4.$uniform2f]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), core.num, core.num]), + [S$4.$uniform2fv]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), dart.dynamic]), + [S$4.$uniform2i]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), core.int, core.int]), + [S$4.$uniform2iv]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), dart.dynamic]), + [S$4.$uniform3f]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), core.num, core.num, core.num]), + [S$4.$uniform3fv]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), dart.dynamic]), + [S$4.$uniform3i]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), core.int, core.int, core.int]), + [S$4.$uniform3iv]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), dart.dynamic]), + [S$4.$uniform4f]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), core.num, core.num, core.num, core.num]), + [S$4.$uniform4fv]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), dart.dynamic]), + [S$4.$uniform4i]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), core.int, core.int, core.int, core.int]), + [S$4.$uniform4iv]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), dart.dynamic]), + [S$4.$uniformMatrix2fv]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), core.bool, dart.dynamic]), + [S$4.$uniformMatrix3fv]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), core.bool, dart.dynamic]), + [S$4.$uniformMatrix4fv]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), core.bool, dart.dynamic]), + [S$4.$useProgram]: dart.fnType(dart.void, [dart.nullable(web_gl.Program)]), + [S$4.$validateProgram]: dart.fnType(dart.void, [web_gl.Program]), + [S$4.$vertexAttrib1f]: dart.fnType(dart.void, [core.int, core.num]), + [S$4.$vertexAttrib1fv]: dart.fnType(dart.void, [core.int, dart.dynamic]), + [S$4.$vertexAttrib2f]: dart.fnType(dart.void, [core.int, core.num, core.num]), + [S$4.$vertexAttrib2fv]: dart.fnType(dart.void, [core.int, dart.dynamic]), + [S$4.$vertexAttrib3f]: dart.fnType(dart.void, [core.int, core.num, core.num, core.num]), + [S$4.$vertexAttrib3fv]: dart.fnType(dart.void, [core.int, dart.dynamic]), + [S$4.$vertexAttrib4f]: dart.fnType(dart.void, [core.int, core.num, core.num, core.num, core.num]), + [S$4.$vertexAttrib4fv]: dart.fnType(dart.void, [core.int, dart.dynamic]), + [S$4.$vertexAttribPointer]: dart.fnType(dart.void, [core.int, core.int, core.int, core.bool, core.int, core.int]), + [S$4.$viewport]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int]), + [S$4.$readPixels]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int, core.int, dart.nullable(typed_data.TypedData)]), + [S$4.$texImage2DUntyped]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int, dart.dynamic]), + [S$4.$texImage2DTyped]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int, core.int, core.int, core.int, typed_data.TypedData]), + [S$4.$texSubImage2DUntyped]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int, core.int, dart.dynamic]), + [S$4.$texSubImage2DTyped]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int, core.int, core.int, core.int, core.int, typed_data.TypedData]), + [S$4.$bufferDataTyped]: dart.fnType(dart.void, [core.int, typed_data.TypedData, core.int]), + [S$4.$bufferSubDataTyped]: dart.fnType(dart.void, [core.int, core.int, typed_data.TypedData]) +})); +dart.setGetterSignature(web_gl.RenderingContext, () => ({ + __proto__: dart.getGetters(web_gl.RenderingContext.__proto__), + [S$.$canvas]: html$.CanvasElement, + [S$4.$drawingBufferHeight]: dart.nullable(core.int), + [S$4.$drawingBufferWidth]: dart.nullable(core.int) +})); +dart.setLibraryUri(web_gl.RenderingContext, I[160]); +dart.registerExtension("WebGLRenderingContext", web_gl.RenderingContext); +web_gl.RenderingContext2 = class RenderingContext2 extends _interceptors.Interceptor { + get [S$.$canvas]() { + return this.canvas; + } + [S$4.$beginQuery](...args) { + return this.beginQuery.apply(this, args); + } + [S$4.$beginTransformFeedback](...args) { + return this.beginTransformFeedback.apply(this, args); + } + [S$4.$bindBufferBase](...args) { + return this.bindBufferBase.apply(this, args); + } + [S$4.$bindBufferRange](...args) { + return this.bindBufferRange.apply(this, args); + } + [S$4.$bindSampler](...args) { + return this.bindSampler.apply(this, args); + } + [S$4.$bindTransformFeedback](...args) { + return this.bindTransformFeedback.apply(this, args); + } + [S$4.$bindVertexArray](...args) { + return this.bindVertexArray.apply(this, args); + } + [S$4.$blitFramebuffer](...args) { + return this.blitFramebuffer.apply(this, args); + } + [S$4.$bufferData2](...args) { + return this.bufferData.apply(this, args); + } + [S$4.$bufferSubData2](...args) { + return this.bufferSubData.apply(this, args); + } + [S$4.$clearBufferfi](...args) { + return this.clearBufferfi.apply(this, args); + } + [S$4.$clearBufferfv](...args) { + return this.clearBufferfv.apply(this, args); + } + [S$4.$clearBufferiv](...args) { + return this.clearBufferiv.apply(this, args); + } + [S$4.$clearBufferuiv](...args) { + return this.clearBufferuiv.apply(this, args); + } + [S$4.$clientWaitSync](...args) { + return this.clientWaitSync.apply(this, args); + } + [S$4.$compressedTexImage2D2](...args) { + return this.compressedTexImage2D.apply(this, args); + } + [S$4.$compressedTexImage2D3](...args) { + return this.compressedTexImage2D.apply(this, args); + } + [S$4.$compressedTexImage3D](...args) { + return this.compressedTexImage3D.apply(this, args); + } + [S$4.$compressedTexImage3D2](...args) { + return this.compressedTexImage3D.apply(this, args); + } + [S$4.$compressedTexSubImage2D2](...args) { + return this.compressedTexSubImage2D.apply(this, args); + } + [S$4.$compressedTexSubImage2D3](...args) { + return this.compressedTexSubImage2D.apply(this, args); + } + [S$4.$compressedTexSubImage3D](...args) { + return this.compressedTexSubImage3D.apply(this, args); + } + [S$4.$compressedTexSubImage3D2](...args) { + return this.compressedTexSubImage3D.apply(this, args); + } + [S$4.$copyBufferSubData](...args) { + return this.copyBufferSubData.apply(this, args); + } + [S$4.$copyTexSubImage3D](...args) { + return this.copyTexSubImage3D.apply(this, args); + } + [S$4.$createQuery](...args) { + return this.createQuery.apply(this, args); + } + [S$4.$createSampler](...args) { + return this.createSampler.apply(this, args); + } + [S$4.$createTransformFeedback](...args) { + return this.createTransformFeedback.apply(this, args); + } + [S$4.$createVertexArray](...args) { + return this.createVertexArray.apply(this, args); + } + [S$4.$deleteQuery](...args) { + return this.deleteQuery.apply(this, args); + } + [S$4.$deleteSampler](...args) { + return this.deleteSampler.apply(this, args); + } + [S$4.$deleteSync](...args) { + return this.deleteSync.apply(this, args); + } + [S$4.$deleteTransformFeedback](...args) { + return this.deleteTransformFeedback.apply(this, args); + } + [S$4.$deleteVertexArray](...args) { + return this.deleteVertexArray.apply(this, args); + } + [S$4.$drawArraysInstanced](...args) { + return this.drawArraysInstanced.apply(this, args); + } + [S$4.$drawBuffers](...args) { + return this.drawBuffers.apply(this, args); + } + [S$4.$drawElementsInstanced](...args) { + return this.drawElementsInstanced.apply(this, args); + } + [S$4.$drawRangeElements](...args) { + return this.drawRangeElements.apply(this, args); + } + [S$4.$endQuery](...args) { + return this.endQuery.apply(this, args); + } + [S$4.$endTransformFeedback](...args) { + return this.endTransformFeedback.apply(this, args); + } + [S$4.$fenceSync](...args) { + return this.fenceSync.apply(this, args); + } + [S$4.$framebufferTextureLayer](...args) { + return this.framebufferTextureLayer.apply(this, args); + } + [S$4.$getActiveUniformBlockName](...args) { + return this.getActiveUniformBlockName.apply(this, args); + } + [S$4.$getActiveUniformBlockParameter](...args) { + return this.getActiveUniformBlockParameter.apply(this, args); + } + [S$4.$getActiveUniforms](...args) { + return this.getActiveUniforms.apply(this, args); + } + [S$4.$getBufferSubData](...args) { + return this.getBufferSubData.apply(this, args); + } + [S$4.$getFragDataLocation](...args) { + return this.getFragDataLocation.apply(this, args); + } + [S$4.$getIndexedParameter](...args) { + return this.getIndexedParameter.apply(this, args); + } + [S$4.$getInternalformatParameter](...args) { + return this.getInternalformatParameter.apply(this, args); + } + [S$4.$getQuery](...args) { + return this.getQuery.apply(this, args); + } + [S$4.$getQueryParameter](...args) { + return this.getQueryParameter.apply(this, args); + } + [S$4.$getSamplerParameter](...args) { + return this.getSamplerParameter.apply(this, args); + } + [S$4.$getSyncParameter](...args) { + return this.getSyncParameter.apply(this, args); + } + [S$4.$getTransformFeedbackVarying](...args) { + return this.getTransformFeedbackVarying.apply(this, args); + } + [S$4.$getUniformBlockIndex](...args) { + return this.getUniformBlockIndex.apply(this, args); + } + [S$4.$getUniformIndices](program, uniformNames) { + if (program == null) dart.nullFailed(I[161], 1537, 40, "program"); + if (uniformNames == null) dart.nullFailed(I[161], 1537, 62, "uniformNames"); + let uniformNames_1 = html_common.convertDartToNative_StringArray(uniformNames); + return this[S$4._getUniformIndices_1](program, uniformNames_1); + } + [S$4._getUniformIndices_1](...args) { + return this.getUniformIndices.apply(this, args); + } + [S$4.$invalidateFramebuffer](...args) { + return this.invalidateFramebuffer.apply(this, args); + } + [S$4.$invalidateSubFramebuffer](...args) { + return this.invalidateSubFramebuffer.apply(this, args); + } + [S$4.$isQuery](...args) { + return this.isQuery.apply(this, args); + } + [S$4.$isSampler](...args) { + return this.isSampler.apply(this, args); + } + [S$4.$isSync](...args) { + return this.isSync.apply(this, args); + } + [S$4.$isTransformFeedback](...args) { + return this.isTransformFeedback.apply(this, args); + } + [S$4.$isVertexArray](...args) { + return this.isVertexArray.apply(this, args); + } + [S$4.$pauseTransformFeedback](...args) { + return this.pauseTransformFeedback.apply(this, args); + } + [S$4.$readBuffer](...args) { + return this.readBuffer.apply(this, args); + } + [S$4.$readPixels2](...args) { + return this.readPixels.apply(this, args); + } + [S$4.$renderbufferStorageMultisample](...args) { + return this.renderbufferStorageMultisample.apply(this, args); + } + [S$4.$resumeTransformFeedback](...args) { + return this.resumeTransformFeedback.apply(this, args); + } + [S$4.$samplerParameterf](...args) { + return this.samplerParameterf.apply(this, args); + } + [S$4.$samplerParameteri](...args) { + return this.samplerParameteri.apply(this, args); + } + [S$4.$texImage2D2](target, level, internalformat, width, height, border, format, type, bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_srcData_OR_video, srcOffset = null) { + if (target == null) dart.nullFailed(I[161], 1579, 11, "target"); + if (level == null) dart.nullFailed(I[161], 1580, 11, "level"); + if (internalformat == null) dart.nullFailed(I[161], 1581, 11, "internalformat"); + if (width == null) dart.nullFailed(I[161], 1582, 11, "width"); + if (height == null) dart.nullFailed(I[161], 1583, 11, "height"); + if (border == null) dart.nullFailed(I[161], 1584, 11, "border"); + if (format == null) dart.nullFailed(I[161], 1585, 11, "format"); + if (type == null) dart.nullFailed(I[161], 1586, 11, "type"); + if (core.int.is(bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_srcData_OR_video) && srcOffset == null) { + this[S$4._texImage2D2_1](target, level, internalformat, width, height, border, format, type, bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_srcData_OR_video); + return; + } + if (html$.ImageData.is(bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_srcData_OR_video) && srcOffset == null) { + let data_1 = html_common.convertDartToNative_ImageData(bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_srcData_OR_video); + this[S$4._texImage2D2_2](target, level, internalformat, width, height, border, format, type, data_1); + return; + } + if (html$.ImageElement.is(bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_srcData_OR_video) && srcOffset == null) { + this[S$4._texImage2D2_3](target, level, internalformat, width, height, border, format, type, bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_srcData_OR_video); + return; + } + if (html$.CanvasElement.is(bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_srcData_OR_video) && srcOffset == null) { + this[S$4._texImage2D2_4](target, level, internalformat, width, height, border, format, type, bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_srcData_OR_video); + return; + } + if (html$.VideoElement.is(bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_srcData_OR_video) && srcOffset == null) { + this[S$4._texImage2D2_5](target, level, internalformat, width, height, border, format, type, bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_srcData_OR_video); + return; + } + if (html$.ImageBitmap.is(bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_srcData_OR_video) && srcOffset == null) { + this[S$4._texImage2D2_6](target, level, internalformat, width, height, border, format, type, bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_srcData_OR_video); + return; + } + if (srcOffset != null && typed_data.TypedData.is(bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_srcData_OR_video)) { + this[S$4._texImage2D2_7](target, level, internalformat, width, height, border, format, type, bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_srcData_OR_video, srcOffset); + return; + } + dart.throw(new core.ArgumentError.new("Incorrect number or type of arguments")); + } + [S$4._texImage2D2_1](...args) { + return this.texImage2D.apply(this, args); + } + [S$4._texImage2D2_2](...args) { + return this.texImage2D.apply(this, args); + } + [S$4._texImage2D2_3](...args) { + return this.texImage2D.apply(this, args); + } + [S$4._texImage2D2_4](...args) { + return this.texImage2D.apply(this, args); + } + [S$4._texImage2D2_5](...args) { + return this.texImage2D.apply(this, args); + } + [S$4._texImage2D2_6](...args) { + return this.texImage2D.apply(this, args); + } + [S$4._texImage2D2_7](...args) { + return this.texImage2D.apply(this, args); + } + [S$4.$texImage3D](target, level, internalformat, width, height, depth, border, format, type, bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_pixels_OR_video, srcOffset = null) { + if (target == null) dart.nullFailed(I[161], 1715, 11, "target"); + if (level == null) dart.nullFailed(I[161], 1716, 11, "level"); + if (internalformat == null) dart.nullFailed(I[161], 1717, 11, "internalformat"); + if (width == null) dart.nullFailed(I[161], 1718, 11, "width"); + if (height == null) dart.nullFailed(I[161], 1719, 11, "height"); + if (depth == null) dart.nullFailed(I[161], 1720, 11, "depth"); + if (border == null) dart.nullFailed(I[161], 1721, 11, "border"); + if (format == null) dart.nullFailed(I[161], 1722, 11, "format"); + if (type == null) dart.nullFailed(I[161], 1723, 11, "type"); + if (core.int.is(bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_pixels_OR_video) && srcOffset == null) { + this[S$4._texImage3D_1](target, level, internalformat, width, height, depth, border, format, type, bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_pixels_OR_video); + return; + } + if (html$.ImageData.is(bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_pixels_OR_video) && srcOffset == null) { + let data_1 = html_common.convertDartToNative_ImageData(bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_pixels_OR_video); + this[S$4._texImage3D_2](target, level, internalformat, width, height, depth, border, format, type, data_1); + return; + } + if (html$.ImageElement.is(bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_pixels_OR_video) && srcOffset == null) { + this[S$4._texImage3D_3](target, level, internalformat, width, height, depth, border, format, type, bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_pixels_OR_video); + return; + } + if (html$.CanvasElement.is(bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_pixels_OR_video) && srcOffset == null) { + this[S$4._texImage3D_4](target, level, internalformat, width, height, depth, border, format, type, bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_pixels_OR_video); + return; + } + if (html$.VideoElement.is(bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_pixels_OR_video) && srcOffset == null) { + this[S$4._texImage3D_5](target, level, internalformat, width, height, depth, border, format, type, bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_pixels_OR_video); + return; + } + if (html$.ImageBitmap.is(bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_pixels_OR_video) && srcOffset == null) { + this[S$4._texImage3D_6](target, level, internalformat, width, height, depth, border, format, type, bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_pixels_OR_video); + return; + } + if ((typed_data.TypedData.is(bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_pixels_OR_video) || bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_pixels_OR_video == null) && srcOffset == null) { + this[S$4._texImage3D_7](target, level, internalformat, width, height, depth, border, format, type, T$0.TypedDataN().as(bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_pixels_OR_video)); + return; + } + if (srcOffset != null && typed_data.TypedData.is(bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_pixels_OR_video)) { + this[S$4._texImage3D_8](target, level, internalformat, width, height, depth, border, format, type, bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_pixels_OR_video, srcOffset); + return; + } + dart.throw(new core.ArgumentError.new("Incorrect number or type of arguments")); + } + [S$4._texImage3D_1](...args) { + return this.texImage3D.apply(this, args); + } + [S$4._texImage3D_2](...args) { + return this.texImage3D.apply(this, args); + } + [S$4._texImage3D_3](...args) { + return this.texImage3D.apply(this, args); + } + [S$4._texImage3D_4](...args) { + return this.texImage3D.apply(this, args); + } + [S$4._texImage3D_5](...args) { + return this.texImage3D.apply(this, args); + } + [S$4._texImage3D_6](...args) { + return this.texImage3D.apply(this, args); + } + [S$4._texImage3D_7](...args) { + return this.texImage3D.apply(this, args); + } + [S$4._texImage3D_8](...args) { + return this.texImage3D.apply(this, args); + } + [S$4.$texStorage2D](...args) { + return this.texStorage2D.apply(this, args); + } + [S$4.$texStorage3D](...args) { + return this.texStorage3D.apply(this, args); + } + [S$4.$texSubImage2D2](target, level, xoffset, yoffset, width, height, format, type, bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_srcData_OR_video, srcOffset = null) { + if (target == null) dart.nullFailed(I[161], 1885, 11, "target"); + if (level == null) dart.nullFailed(I[161], 1886, 11, "level"); + if (xoffset == null) dart.nullFailed(I[161], 1887, 11, "xoffset"); + if (yoffset == null) dart.nullFailed(I[161], 1888, 11, "yoffset"); + if (width == null) dart.nullFailed(I[161], 1889, 11, "width"); + if (height == null) dart.nullFailed(I[161], 1890, 11, "height"); + if (format == null) dart.nullFailed(I[161], 1891, 11, "format"); + if (type == null) dart.nullFailed(I[161], 1892, 11, "type"); + if (core.int.is(bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_srcData_OR_video) && srcOffset == null) { + this[S$4._texSubImage2D2_1](target, level, xoffset, yoffset, width, height, format, type, bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_srcData_OR_video); + return; + } + if (html$.ImageData.is(bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_srcData_OR_video) && srcOffset == null) { + let data_1 = html_common.convertDartToNative_ImageData(bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_srcData_OR_video); + this[S$4._texSubImage2D2_2](target, level, xoffset, yoffset, width, height, format, type, data_1); + return; + } + if (html$.ImageElement.is(bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_srcData_OR_video) && srcOffset == null) { + this[S$4._texSubImage2D2_3](target, level, xoffset, yoffset, width, height, format, type, bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_srcData_OR_video); + return; + } + if (html$.CanvasElement.is(bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_srcData_OR_video) && srcOffset == null) { + this[S$4._texSubImage2D2_4](target, level, xoffset, yoffset, width, height, format, type, bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_srcData_OR_video); + return; + } + if (html$.VideoElement.is(bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_srcData_OR_video) && srcOffset == null) { + this[S$4._texSubImage2D2_5](target, level, xoffset, yoffset, width, height, format, type, bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_srcData_OR_video); + return; + } + if (html$.ImageBitmap.is(bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_srcData_OR_video) && srcOffset == null) { + this[S$4._texSubImage2D2_6](target, level, xoffset, yoffset, width, height, format, type, bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_srcData_OR_video); + return; + } + if (srcOffset != null && typed_data.TypedData.is(bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_srcData_OR_video)) { + this[S$4._texSubImage2D2_7](target, level, xoffset, yoffset, width, height, format, type, bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_srcData_OR_video, srcOffset); + return; + } + dart.throw(new core.ArgumentError.new("Incorrect number or type of arguments")); + } + [S$4._texSubImage2D2_1](...args) { + return this.texSubImage2D.apply(this, args); + } + [S$4._texSubImage2D2_2](...args) { + return this.texSubImage2D.apply(this, args); + } + [S$4._texSubImage2D2_3](...args) { + return this.texSubImage2D.apply(this, args); + } + [S$4._texSubImage2D2_4](...args) { + return this.texSubImage2D.apply(this, args); + } + [S$4._texSubImage2D2_5](...args) { + return this.texSubImage2D.apply(this, args); + } + [S$4._texSubImage2D2_6](...args) { + return this.texSubImage2D.apply(this, args); + } + [S$4._texSubImage2D2_7](...args) { + return this.texSubImage2D.apply(this, args); + } + [S$4.$texSubImage3D](target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_pixels_OR_video, srcOffset = null) { + if (target == null) dart.nullFailed(I[161], 2021, 11, "target"); + if (level == null) dart.nullFailed(I[161], 2022, 11, "level"); + if (xoffset == null) dart.nullFailed(I[161], 2023, 11, "xoffset"); + if (yoffset == null) dart.nullFailed(I[161], 2024, 11, "yoffset"); + if (zoffset == null) dart.nullFailed(I[161], 2025, 11, "zoffset"); + if (width == null) dart.nullFailed(I[161], 2026, 11, "width"); + if (height == null) dart.nullFailed(I[161], 2027, 11, "height"); + if (depth == null) dart.nullFailed(I[161], 2028, 11, "depth"); + if (format == null) dart.nullFailed(I[161], 2029, 11, "format"); + if (type == null) dart.nullFailed(I[161], 2030, 11, "type"); + if (core.int.is(bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_pixels_OR_video) && srcOffset == null) { + this[S$4._texSubImage3D_1](target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_pixels_OR_video); + return; + } + if (html$.ImageData.is(bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_pixels_OR_video) && srcOffset == null) { + let data_1 = html_common.convertDartToNative_ImageData(bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_pixels_OR_video); + this[S$4._texSubImage3D_2](target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, data_1); + return; + } + if (html$.ImageElement.is(bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_pixels_OR_video) && srcOffset == null) { + this[S$4._texSubImage3D_3](target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_pixels_OR_video); + return; + } + if (html$.CanvasElement.is(bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_pixels_OR_video) && srcOffset == null) { + this[S$4._texSubImage3D_4](target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_pixels_OR_video); + return; + } + if (html$.VideoElement.is(bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_pixels_OR_video) && srcOffset == null) { + this[S$4._texSubImage3D_5](target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_pixels_OR_video); + return; + } + if (html$.ImageBitmap.is(bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_pixels_OR_video) && srcOffset == null) { + this[S$4._texSubImage3D_6](target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_pixels_OR_video); + return; + } + if (typed_data.TypedData.is(bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_pixels_OR_video) && srcOffset == null) { + this[S$4._texSubImage3D_7](target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_pixels_OR_video); + return; + } + if (srcOffset != null && typed_data.TypedData.is(bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_pixels_OR_video)) { + this[S$4._texSubImage3D_8](target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_pixels_OR_video, srcOffset); + return; + } + dart.throw(new core.ArgumentError.new("Incorrect number or type of arguments")); + } + [S$4._texSubImage3D_1](...args) { + return this.texSubImage3D.apply(this, args); + } + [S$4._texSubImage3D_2](...args) { + return this.texSubImage3D.apply(this, args); + } + [S$4._texSubImage3D_3](...args) { + return this.texSubImage3D.apply(this, args); + } + [S$4._texSubImage3D_4](...args) { + return this.texSubImage3D.apply(this, args); + } + [S$4._texSubImage3D_5](...args) { + return this.texSubImage3D.apply(this, args); + } + [S$4._texSubImage3D_6](...args) { + return this.texSubImage3D.apply(this, args); + } + [S$4._texSubImage3D_7](...args) { + return this.texSubImage3D.apply(this, args); + } + [S$4._texSubImage3D_8](...args) { + return this.texSubImage3D.apply(this, args); + } + [S$4.$transformFeedbackVaryings](program, varyings, bufferMode) { + if (program == null) dart.nullFailed(I[161], 2191, 15, "program"); + if (varyings == null) dart.nullFailed(I[161], 2191, 37, "varyings"); + if (bufferMode == null) dart.nullFailed(I[161], 2191, 51, "bufferMode"); + let varyings_1 = html_common.convertDartToNative_StringArray(varyings); + this[S$4._transformFeedbackVaryings_1](program, varyings_1, bufferMode); + return; + } + [S$4._transformFeedbackVaryings_1](...args) { + return this.transformFeedbackVaryings.apply(this, args); + } + [S$4.$uniform1fv2](...args) { + return this.uniform1fv.apply(this, args); + } + [S$4.$uniform1iv2](...args) { + return this.uniform1iv.apply(this, args); + } + [S$4.$uniform1ui](...args) { + return this.uniform1ui.apply(this, args); + } + [S$4.$uniform1uiv](...args) { + return this.uniform1uiv.apply(this, args); + } + [S$4.$uniform2fv2](...args) { + return this.uniform2fv.apply(this, args); + } + [S$4.$uniform2iv2](...args) { + return this.uniform2iv.apply(this, args); + } + [S$4.$uniform2ui](...args) { + return this.uniform2ui.apply(this, args); + } + [S$4.$uniform2uiv](...args) { + return this.uniform2uiv.apply(this, args); + } + [S$4.$uniform3fv2](...args) { + return this.uniform3fv.apply(this, args); + } + [S$4.$uniform3iv2](...args) { + return this.uniform3iv.apply(this, args); + } + [S$4.$uniform3ui](...args) { + return this.uniform3ui.apply(this, args); + } + [S$4.$uniform3uiv](...args) { + return this.uniform3uiv.apply(this, args); + } + [S$4.$uniform4fv2](...args) { + return this.uniform4fv.apply(this, args); + } + [S$4.$uniform4iv2](...args) { + return this.uniform4iv.apply(this, args); + } + [S$4.$uniform4ui](...args) { + return this.uniform4ui.apply(this, args); + } + [S$4.$uniform4uiv](...args) { + return this.uniform4uiv.apply(this, args); + } + [S$4.$uniformBlockBinding](...args) { + return this.uniformBlockBinding.apply(this, args); + } + [S$4.$uniformMatrix2fv2](...args) { + return this.uniformMatrix2fv.apply(this, args); + } + [S$4.$uniformMatrix2x3fv](...args) { + return this.uniformMatrix2x3fv.apply(this, args); + } + [S$4.$uniformMatrix2x4fv](...args) { + return this.uniformMatrix2x4fv.apply(this, args); + } + [S$4.$uniformMatrix3fv2](...args) { + return this.uniformMatrix3fv.apply(this, args); + } + [S$4.$uniformMatrix3x2fv](...args) { + return this.uniformMatrix3x2fv.apply(this, args); + } + [S$4.$uniformMatrix3x4fv](...args) { + return this.uniformMatrix3x4fv.apply(this, args); + } + [S$4.$uniformMatrix4fv2](...args) { + return this.uniformMatrix4fv.apply(this, args); + } + [S$4.$uniformMatrix4x2fv](...args) { + return this.uniformMatrix4x2fv.apply(this, args); + } + [S$4.$uniformMatrix4x3fv](...args) { + return this.uniformMatrix4x3fv.apply(this, args); + } + [S$4.$vertexAttribDivisor](...args) { + return this.vertexAttribDivisor.apply(this, args); + } + [S$4.$vertexAttribI4i](...args) { + return this.vertexAttribI4i.apply(this, args); + } + [S$4.$vertexAttribI4iv](...args) { + return this.vertexAttribI4iv.apply(this, args); + } + [S$4.$vertexAttribI4ui](...args) { + return this.vertexAttribI4ui.apply(this, args); + } + [S$4.$vertexAttribI4uiv](...args) { + return this.vertexAttribI4uiv.apply(this, args); + } + [S$4.$vertexAttribIPointer](...args) { + return this.vertexAttribIPointer.apply(this, args); + } + [S$4.$waitSync](...args) { + return this.waitSync.apply(this, args); + } + get [S$4.$drawingBufferHeight]() { + return this.drawingBufferHeight; + } + get [S$4.$drawingBufferWidth]() { + return this.drawingBufferWidth; + } + [S$4.$activeTexture](...args) { + return this.activeTexture.apply(this, args); + } + [S$4.$attachShader](...args) { + return this.attachShader.apply(this, args); + } + [S$4.$bindAttribLocation](...args) { + return this.bindAttribLocation.apply(this, args); + } + [S$4.$bindBuffer](...args) { + return this.bindBuffer.apply(this, args); + } + [S$4.$bindFramebuffer](...args) { + return this.bindFramebuffer.apply(this, args); + } + [S$4.$bindRenderbuffer](...args) { + return this.bindRenderbuffer.apply(this, args); + } + [S$4.$bindTexture](...args) { + return this.bindTexture.apply(this, args); + } + [S$4.$blendColor](...args) { + return this.blendColor.apply(this, args); + } + [S$4.$blendEquation](...args) { + return this.blendEquation.apply(this, args); + } + [S$4.$blendEquationSeparate](...args) { + return this.blendEquationSeparate.apply(this, args); + } + [S$4.$blendFunc](...args) { + return this.blendFunc.apply(this, args); + } + [S$4.$blendFuncSeparate](...args) { + return this.blendFuncSeparate.apply(this, args); + } + [S$4.$bufferData](...args) { + return this.bufferData.apply(this, args); + } + [S$4.$bufferSubData](...args) { + return this.bufferSubData.apply(this, args); + } + [S$4.$checkFramebufferStatus](...args) { + return this.checkFramebufferStatus.apply(this, args); + } + [$clear](...args) { + return this.clear.apply(this, args); + } + [S$4.$clearColor](...args) { + return this.clearColor.apply(this, args); + } + [S$4.$clearDepth](...args) { + return this.clearDepth.apply(this, args); + } + [S$4.$clearStencil](...args) { + return this.clearStencil.apply(this, args); + } + [S$4.$colorMask](...args) { + return this.colorMask.apply(this, args); + } + [S$2.$commit]() { + return js_util.promiseToFuture(dart.dynamic, this.commit()); + } + [S$4.$compileShader](...args) { + return this.compileShader.apply(this, args); + } + [S$4.$compressedTexImage2D](...args) { + return this.compressedTexImage2D.apply(this, args); + } + [S$4.$compressedTexSubImage2D](...args) { + return this.compressedTexSubImage2D.apply(this, args); + } + [S$4.$copyTexImage2D](...args) { + return this.copyTexImage2D.apply(this, args); + } + [S$4.$copyTexSubImage2D](...args) { + return this.copyTexSubImage2D.apply(this, args); + } + [S$3.$createBuffer](...args) { + return this.createBuffer.apply(this, args); + } + [S$4.$createFramebuffer](...args) { + return this.createFramebuffer.apply(this, args); + } + [S$4.$createProgram](...args) { + return this.createProgram.apply(this, args); + } + [S$4.$createRenderbuffer](...args) { + return this.createRenderbuffer.apply(this, args); + } + [S$4.$createShader](...args) { + return this.createShader.apply(this, args); + } + [S$4.$createTexture](...args) { + return this.createTexture.apply(this, args); + } + [S$4.$cullFace](...args) { + return this.cullFace.apply(this, args); + } + [S$4.$deleteBuffer](...args) { + return this.deleteBuffer.apply(this, args); + } + [S$4.$deleteFramebuffer](...args) { + return this.deleteFramebuffer.apply(this, args); + } + [S$4.$deleteProgram](...args) { + return this.deleteProgram.apply(this, args); + } + [S$4.$deleteRenderbuffer](...args) { + return this.deleteRenderbuffer.apply(this, args); + } + [S$4.$deleteShader](...args) { + return this.deleteShader.apply(this, args); + } + [S$4.$deleteTexture](...args) { + return this.deleteTexture.apply(this, args); + } + [S$4.$depthFunc](...args) { + return this.depthFunc.apply(this, args); + } + [S$4.$depthMask](...args) { + return this.depthMask.apply(this, args); + } + [S$4.$depthRange](...args) { + return this.depthRange.apply(this, args); + } + [S$4.$detachShader](...args) { + return this.detachShader.apply(this, args); + } + [S$1.$disable](...args) { + return this.disable.apply(this, args); + } + [S$4.$disableVertexAttribArray](...args) { + return this.disableVertexAttribArray.apply(this, args); + } + [S$4.$drawArrays](...args) { + return this.drawArrays.apply(this, args); + } + [S$4.$drawElements](...args) { + return this.drawElements.apply(this, args); + } + [S$1.$enable](...args) { + return this.enable.apply(this, args); + } + [S$4.$enableVertexAttribArray](...args) { + return this.enableVertexAttribArray.apply(this, args); + } + [S$.$finish](...args) { + return this.finish.apply(this, args); + } + [S$4.$flush](...args) { + return this.flush.apply(this, args); + } + [S$4.$framebufferRenderbuffer](...args) { + return this.framebufferRenderbuffer.apply(this, args); + } + [S$4.$framebufferTexture2D](...args) { + return this.framebufferTexture2D.apply(this, args); + } + [S$4.$frontFace](...args) { + return this.frontFace.apply(this, args); + } + [S$4.$generateMipmap](...args) { + return this.generateMipmap.apply(this, args); + } + [S$4.$getActiveAttrib](...args) { + return this.getActiveAttrib.apply(this, args); + } + [S$4.$getActiveUniform](...args) { + return this.getActiveUniform.apply(this, args); + } + [S$4.$getAttachedShaders](...args) { + return this.getAttachedShaders.apply(this, args); + } + [S$4.$getAttribLocation](...args) { + return this.getAttribLocation.apply(this, args); + } + [S$4.$getBufferParameter](...args) { + return this.getBufferParameter.apply(this, args); + } + [S$.$getContextAttributes]() { + return html_common.convertNativeToDart_Dictionary(this[S$4._getContextAttributes_1$1]()); + } + [S$4._getContextAttributes_1$1](...args) { + return this.getContextAttributes.apply(this, args); + } + [S$4.$getError](...args) { + return this.getError.apply(this, args); + } + [S$4.$getExtension](...args) { + return this.getExtension.apply(this, args); + } + [S$4.$getFramebufferAttachmentParameter](...args) { + return this.getFramebufferAttachmentParameter.apply(this, args); + } + [S$3.$getParameter](...args) { + return this.getParameter.apply(this, args); + } + [S$4.$getProgramInfoLog](...args) { + return this.getProgramInfoLog.apply(this, args); + } + [S$4.$getProgramParameter](...args) { + return this.getProgramParameter.apply(this, args); + } + [S$4.$getRenderbufferParameter](...args) { + return this.getRenderbufferParameter.apply(this, args); + } + [S$4.$getShaderInfoLog](...args) { + return this.getShaderInfoLog.apply(this, args); + } + [S$4.$getShaderParameter](...args) { + return this.getShaderParameter.apply(this, args); + } + [S$4.$getShaderPrecisionFormat](...args) { + return this.getShaderPrecisionFormat.apply(this, args); + } + [S$4.$getShaderSource](...args) { + return this.getShaderSource.apply(this, args); + } + [S$4.$getSupportedExtensions](...args) { + return this.getSupportedExtensions.apply(this, args); + } + [S$4.$getTexParameter](...args) { + return this.getTexParameter.apply(this, args); + } + [S$4.$getUniform](...args) { + return this.getUniform.apply(this, args); + } + [S$4.$getUniformLocation](...args) { + return this.getUniformLocation.apply(this, args); + } + [S$4.$getVertexAttrib](...args) { + return this.getVertexAttrib.apply(this, args); + } + [S$4.$getVertexAttribOffset](...args) { + return this.getVertexAttribOffset.apply(this, args); + } + [S$4.$hint](...args) { + return this.hint.apply(this, args); + } + [S$4.$isBuffer](...args) { + return this.isBuffer.apply(this, args); + } + [S$.$isContextLost](...args) { + return this.isContextLost.apply(this, args); + } + [S$4.$isEnabled](...args) { + return this.isEnabled.apply(this, args); + } + [S$4.$isFramebuffer](...args) { + return this.isFramebuffer.apply(this, args); + } + [S$4.$isProgram](...args) { + return this.isProgram.apply(this, args); + } + [S$4.$isRenderbuffer](...args) { + return this.isRenderbuffer.apply(this, args); + } + [S$4.$isShader](...args) { + return this.isShader.apply(this, args); + } + [S$4.$isTexture](...args) { + return this.isTexture.apply(this, args); + } + [S$.$lineWidth](...args) { + return this.lineWidth.apply(this, args); + } + [S$4.$linkProgram](...args) { + return this.linkProgram.apply(this, args); + } + [S$4.$pixelStorei](...args) { + return this.pixelStorei.apply(this, args); + } + [S$4.$polygonOffset](...args) { + return this.polygonOffset.apply(this, args); + } + [S$4._readPixels](...args) { + return this.readPixels.apply(this, args); + } + [S$4.$renderbufferStorage](...args) { + return this.renderbufferStorage.apply(this, args); + } + [S$4.$sampleCoverage](...args) { + return this.sampleCoverage.apply(this, args); + } + [S$4.$scissor](...args) { + return this.scissor.apply(this, args); + } + [S$4.$shaderSource](...args) { + return this.shaderSource.apply(this, args); + } + [S$4.$stencilFunc](...args) { + return this.stencilFunc.apply(this, args); + } + [S$4.$stencilFuncSeparate](...args) { + return this.stencilFuncSeparate.apply(this, args); + } + [S$4.$stencilMask](...args) { + return this.stencilMask.apply(this, args); + } + [S$4.$stencilMaskSeparate](...args) { + return this.stencilMaskSeparate.apply(this, args); + } + [S$4.$stencilOp](...args) { + return this.stencilOp.apply(this, args); + } + [S$4.$stencilOpSeparate](...args) { + return this.stencilOpSeparate.apply(this, args); + } + [S$4.$texImage2D](target, level, internalformat, format_OR_width, height_OR_type, bitmap_OR_border_OR_canvas_OR_image_OR_pixels_OR_video, format = null, type = null, pixels = null) { + if (target == null) dart.nullFailed(I[161], 2533, 11, "target"); + if (level == null) dart.nullFailed(I[161], 2534, 11, "level"); + if (internalformat == null) dart.nullFailed(I[161], 2535, 11, "internalformat"); + if (format_OR_width == null) dart.nullFailed(I[161], 2536, 11, "format_OR_width"); + if (height_OR_type == null) dart.nullFailed(I[161], 2537, 11, "height_OR_type"); + if (type != null && format != null && core.int.is(bitmap_OR_border_OR_canvas_OR_image_OR_pixels_OR_video)) { + this[S$4._texImage2D_1](target, level, internalformat, format_OR_width, height_OR_type, bitmap_OR_border_OR_canvas_OR_image_OR_pixels_OR_video, format, type, pixels); + return; + } + if (html$.ImageData.is(bitmap_OR_border_OR_canvas_OR_image_OR_pixels_OR_video) && format == null && type == null && pixels == null) { + let pixels_1 = html_common.convertDartToNative_ImageData(bitmap_OR_border_OR_canvas_OR_image_OR_pixels_OR_video); + this[S$4._texImage2D_2](target, level, internalformat, format_OR_width, height_OR_type, pixels_1); + return; + } + if (html$.ImageElement.is(bitmap_OR_border_OR_canvas_OR_image_OR_pixels_OR_video) && format == null && type == null && pixels == null) { + this[S$4._texImage2D_3](target, level, internalformat, format_OR_width, height_OR_type, bitmap_OR_border_OR_canvas_OR_image_OR_pixels_OR_video); + return; + } + if (html$.CanvasElement.is(bitmap_OR_border_OR_canvas_OR_image_OR_pixels_OR_video) && format == null && type == null && pixels == null) { + this[S$4._texImage2D_4](target, level, internalformat, format_OR_width, height_OR_type, bitmap_OR_border_OR_canvas_OR_image_OR_pixels_OR_video); + return; + } + if (html$.VideoElement.is(bitmap_OR_border_OR_canvas_OR_image_OR_pixels_OR_video) && format == null && type == null && pixels == null) { + this[S$4._texImage2D_5](target, level, internalformat, format_OR_width, height_OR_type, bitmap_OR_border_OR_canvas_OR_image_OR_pixels_OR_video); + return; + } + if (html$.ImageBitmap.is(bitmap_OR_border_OR_canvas_OR_image_OR_pixels_OR_video) && format == null && type == null && pixels == null) { + this[S$4._texImage2D_6](target, level, internalformat, format_OR_width, height_OR_type, bitmap_OR_border_OR_canvas_OR_image_OR_pixels_OR_video); + return; + } + dart.throw(new core.ArgumentError.new("Incorrect number or type of arguments")); + } + [S$4._texImage2D_1](...args) { + return this.texImage2D.apply(this, args); + } + [S$4._texImage2D_2](...args) { + return this.texImage2D.apply(this, args); + } + [S$4._texImage2D_3](...args) { + return this.texImage2D.apply(this, args); + } + [S$4._texImage2D_4](...args) { + return this.texImage2D.apply(this, args); + } + [S$4._texImage2D_5](...args) { + return this.texImage2D.apply(this, args); + } + [S$4._texImage2D_6](...args) { + return this.texImage2D.apply(this, args); + } + [S$4.$texParameterf](...args) { + return this.texParameterf.apply(this, args); + } + [S$4.$texParameteri](...args) { + return this.texParameteri.apply(this, args); + } + [S$4.$texSubImage2D](target, level, xoffset, yoffset, format_OR_width, height_OR_type, bitmap_OR_canvas_OR_format_OR_image_OR_pixels_OR_video, type = null, pixels = null) { + if (target == null) dart.nullFailed(I[161], 2650, 11, "target"); + if (level == null) dart.nullFailed(I[161], 2651, 11, "level"); + if (xoffset == null) dart.nullFailed(I[161], 2652, 11, "xoffset"); + if (yoffset == null) dart.nullFailed(I[161], 2653, 11, "yoffset"); + if (format_OR_width == null) dart.nullFailed(I[161], 2654, 11, "format_OR_width"); + if (height_OR_type == null) dart.nullFailed(I[161], 2655, 11, "height_OR_type"); + if (type != null && core.int.is(bitmap_OR_canvas_OR_format_OR_image_OR_pixels_OR_video)) { + this[S$4._texSubImage2D_1](target, level, xoffset, yoffset, format_OR_width, height_OR_type, bitmap_OR_canvas_OR_format_OR_image_OR_pixels_OR_video, type, pixels); + return; + } + if (html$.ImageData.is(bitmap_OR_canvas_OR_format_OR_image_OR_pixels_OR_video) && type == null && pixels == null) { + let pixels_1 = html_common.convertDartToNative_ImageData(bitmap_OR_canvas_OR_format_OR_image_OR_pixels_OR_video); + this[S$4._texSubImage2D_2](target, level, xoffset, yoffset, format_OR_width, height_OR_type, pixels_1); + return; + } + if (html$.ImageElement.is(bitmap_OR_canvas_OR_format_OR_image_OR_pixels_OR_video) && type == null && pixels == null) { + this[S$4._texSubImage2D_3](target, level, xoffset, yoffset, format_OR_width, height_OR_type, bitmap_OR_canvas_OR_format_OR_image_OR_pixels_OR_video); + return; + } + if (html$.CanvasElement.is(bitmap_OR_canvas_OR_format_OR_image_OR_pixels_OR_video) && type == null && pixels == null) { + this[S$4._texSubImage2D_4](target, level, xoffset, yoffset, format_OR_width, height_OR_type, bitmap_OR_canvas_OR_format_OR_image_OR_pixels_OR_video); + return; + } + if (html$.VideoElement.is(bitmap_OR_canvas_OR_format_OR_image_OR_pixels_OR_video) && type == null && pixels == null) { + this[S$4._texSubImage2D_5](target, level, xoffset, yoffset, format_OR_width, height_OR_type, bitmap_OR_canvas_OR_format_OR_image_OR_pixels_OR_video); + return; + } + if (html$.ImageBitmap.is(bitmap_OR_canvas_OR_format_OR_image_OR_pixels_OR_video) && type == null && pixels == null) { + this[S$4._texSubImage2D_6](target, level, xoffset, yoffset, format_OR_width, height_OR_type, bitmap_OR_canvas_OR_format_OR_image_OR_pixels_OR_video); + return; + } + dart.throw(new core.ArgumentError.new("Incorrect number or type of arguments")); + } + [S$4._texSubImage2D_1](...args) { + return this.texSubImage2D.apply(this, args); + } + [S$4._texSubImage2D_2](...args) { + return this.texSubImage2D.apply(this, args); + } + [S$4._texSubImage2D_3](...args) { + return this.texSubImage2D.apply(this, args); + } + [S$4._texSubImage2D_4](...args) { + return this.texSubImage2D.apply(this, args); + } + [S$4._texSubImage2D_5](...args) { + return this.texSubImage2D.apply(this, args); + } + [S$4._texSubImage2D_6](...args) { + return this.texSubImage2D.apply(this, args); + } + [S$4.$uniform1f](...args) { + return this.uniform1f.apply(this, args); + } + [S$4.$uniform1fv](...args) { + return this.uniform1fv.apply(this, args); + } + [S$4.$uniform1i](...args) { + return this.uniform1i.apply(this, args); + } + [S$4.$uniform1iv](...args) { + return this.uniform1iv.apply(this, args); + } + [S$4.$uniform2f](...args) { + return this.uniform2f.apply(this, args); + } + [S$4.$uniform2fv](...args) { + return this.uniform2fv.apply(this, args); + } + [S$4.$uniform2i](...args) { + return this.uniform2i.apply(this, args); + } + [S$4.$uniform2iv](...args) { + return this.uniform2iv.apply(this, args); + } + [S$4.$uniform3f](...args) { + return this.uniform3f.apply(this, args); + } + [S$4.$uniform3fv](...args) { + return this.uniform3fv.apply(this, args); + } + [S$4.$uniform3i](...args) { + return this.uniform3i.apply(this, args); + } + [S$4.$uniform3iv](...args) { + return this.uniform3iv.apply(this, args); + } + [S$4.$uniform4f](...args) { + return this.uniform4f.apply(this, args); + } + [S$4.$uniform4fv](...args) { + return this.uniform4fv.apply(this, args); + } + [S$4.$uniform4i](...args) { + return this.uniform4i.apply(this, args); + } + [S$4.$uniform4iv](...args) { + return this.uniform4iv.apply(this, args); + } + [S$4.$uniformMatrix2fv](...args) { + return this.uniformMatrix2fv.apply(this, args); + } + [S$4.$uniformMatrix3fv](...args) { + return this.uniformMatrix3fv.apply(this, args); + } + [S$4.$uniformMatrix4fv](...args) { + return this.uniformMatrix4fv.apply(this, args); + } + [S$4.$useProgram](...args) { + return this.useProgram.apply(this, args); + } + [S$4.$validateProgram](...args) { + return this.validateProgram.apply(this, args); + } + [S$4.$vertexAttrib1f](...args) { + return this.vertexAttrib1f.apply(this, args); + } + [S$4.$vertexAttrib1fv](...args) { + return this.vertexAttrib1fv.apply(this, args); + } + [S$4.$vertexAttrib2f](...args) { + return this.vertexAttrib2f.apply(this, args); + } + [S$4.$vertexAttrib2fv](...args) { + return this.vertexAttrib2fv.apply(this, args); + } + [S$4.$vertexAttrib3f](...args) { + return this.vertexAttrib3f.apply(this, args); + } + [S$4.$vertexAttrib3fv](...args) { + return this.vertexAttrib3fv.apply(this, args); + } + [S$4.$vertexAttrib4f](...args) { + return this.vertexAttrib4f.apply(this, args); + } + [S$4.$vertexAttrib4fv](...args) { + return this.vertexAttrib4fv.apply(this, args); + } + [S$4.$vertexAttribPointer](...args) { + return this.vertexAttribPointer.apply(this, args); + } + [S$4.$viewport](...args) { + return this.viewport.apply(this, args); + } + [S$4.$readPixels](x, y, width, height, format, type, pixels) { + if (x == null) dart.nullFailed(I[161], 2826, 23, "x"); + if (y == null) dart.nullFailed(I[161], 2826, 30, "y"); + if (width == null) dart.nullFailed(I[161], 2826, 37, "width"); + if (height == null) dart.nullFailed(I[161], 2826, 48, "height"); + if (format == null) dart.nullFailed(I[161], 2826, 60, "format"); + if (type == null) dart.nullFailed(I[161], 2826, 72, "type"); + if (pixels == null) dart.nullFailed(I[161], 2827, 17, "pixels"); + this[S$4._readPixels](x, y, width, height, format, type, pixels); + } +}; +dart.addTypeTests(web_gl.RenderingContext2); +dart.addTypeCaches(web_gl.RenderingContext2); +web_gl.RenderingContext2[dart.implements] = () => [web_gl._WebGL2RenderingContextBase, web_gl._WebGLRenderingContextBase]; +dart.setMethodSignature(web_gl.RenderingContext2, () => ({ + __proto__: dart.getMethods(web_gl.RenderingContext2.__proto__), + [S$4.$beginQuery]: dart.fnType(dart.void, [core.int, web_gl.Query]), + [S$4.$beginTransformFeedback]: dart.fnType(dart.void, [core.int]), + [S$4.$bindBufferBase]: dart.fnType(dart.void, [core.int, core.int, dart.nullable(web_gl.Buffer)]), + [S$4.$bindBufferRange]: dart.fnType(dart.void, [core.int, core.int, dart.nullable(web_gl.Buffer), core.int, core.int]), + [S$4.$bindSampler]: dart.fnType(dart.void, [core.int, dart.nullable(web_gl.Sampler)]), + [S$4.$bindTransformFeedback]: dart.fnType(dart.void, [core.int, dart.nullable(web_gl.TransformFeedback)]), + [S$4.$bindVertexArray]: dart.fnType(dart.void, [dart.nullable(web_gl.VertexArrayObject)]), + [S$4.$blitFramebuffer]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int, core.int, core.int, core.int, core.int, core.int]), + [S$4.$bufferData2]: dart.fnType(dart.void, [core.int, typed_data.TypedData, core.int, core.int], [dart.nullable(core.int)]), + [S$4.$bufferSubData2]: dart.fnType(dart.void, [core.int, core.int, typed_data.TypedData, core.int], [dart.nullable(core.int)]), + [S$4.$clearBufferfi]: dart.fnType(dart.void, [core.int, core.int, core.num, core.int]), + [S$4.$clearBufferfv]: dart.fnType(dart.void, [core.int, core.int, dart.dynamic], [dart.nullable(core.int)]), + [S$4.$clearBufferiv]: dart.fnType(dart.void, [core.int, core.int, dart.dynamic], [dart.nullable(core.int)]), + [S$4.$clearBufferuiv]: dart.fnType(dart.void, [core.int, core.int, dart.dynamic], [dart.nullable(core.int)]), + [S$4.$clientWaitSync]: dart.fnType(core.int, [web_gl.Sync, core.int, core.int]), + [S$4.$compressedTexImage2D2]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int, core.int, typed_data.TypedData, core.int], [dart.nullable(core.int)]), + [S$4.$compressedTexImage2D3]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int, core.int, core.int, core.int]), + [S$4.$compressedTexImage3D]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int, core.int, core.int, typed_data.TypedData], [dart.nullable(core.int), dart.nullable(core.int)]), + [S$4.$compressedTexImage3D2]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int, core.int, core.int, core.int, core.int]), + [S$4.$compressedTexSubImage2D2]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int, core.int, core.int, typed_data.TypedData, core.int], [dart.nullable(core.int)]), + [S$4.$compressedTexSubImage2D3]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int, core.int, core.int, core.int, core.int]), + [S$4.$compressedTexSubImage3D]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int, core.int, core.int, core.int, core.int, typed_data.TypedData], [dart.nullable(core.int), dart.nullable(core.int)]), + [S$4.$compressedTexSubImage3D2]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int, core.int, core.int, core.int, core.int, core.int, core.int]), + [S$4.$copyBufferSubData]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int]), + [S$4.$copyTexSubImage3D]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int, core.int, core.int, core.int, core.int]), + [S$4.$createQuery]: dart.fnType(dart.nullable(web_gl.Query), []), + [S$4.$createSampler]: dart.fnType(dart.nullable(web_gl.Sampler), []), + [S$4.$createTransformFeedback]: dart.fnType(dart.nullable(web_gl.TransformFeedback), []), + [S$4.$createVertexArray]: dart.fnType(dart.nullable(web_gl.VertexArrayObject), []), + [S$4.$deleteQuery]: dart.fnType(dart.void, [dart.nullable(web_gl.Query)]), + [S$4.$deleteSampler]: dart.fnType(dart.void, [dart.nullable(web_gl.Sampler)]), + [S$4.$deleteSync]: dart.fnType(dart.void, [dart.nullable(web_gl.Sync)]), + [S$4.$deleteTransformFeedback]: dart.fnType(dart.void, [dart.nullable(web_gl.TransformFeedback)]), + [S$4.$deleteVertexArray]: dart.fnType(dart.void, [dart.nullable(web_gl.VertexArrayObject)]), + [S$4.$drawArraysInstanced]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int]), + [S$4.$drawBuffers]: dart.fnType(dart.void, [core.List$(core.int)]), + [S$4.$drawElementsInstanced]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int]), + [S$4.$drawRangeElements]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int, core.int]), + [S$4.$endQuery]: dart.fnType(dart.void, [core.int]), + [S$4.$endTransformFeedback]: dart.fnType(dart.void, []), + [S$4.$fenceSync]: dart.fnType(dart.nullable(web_gl.Sync), [core.int, core.int]), + [S$4.$framebufferTextureLayer]: dart.fnType(dart.void, [core.int, core.int, dart.nullable(web_gl.Texture), core.int, core.int]), + [S$4.$getActiveUniformBlockName]: dart.fnType(dart.nullable(core.String), [web_gl.Program, core.int]), + [S$4.$getActiveUniformBlockParameter]: dart.fnType(dart.nullable(core.Object), [web_gl.Program, core.int, core.int]), + [S$4.$getActiveUniforms]: dart.fnType(dart.nullable(core.Object), [web_gl.Program, core.List$(core.int), core.int]), + [S$4.$getBufferSubData]: dart.fnType(dart.void, [core.int, core.int, typed_data.TypedData], [dart.nullable(core.int), dart.nullable(core.int)]), + [S$4.$getFragDataLocation]: dart.fnType(core.int, [web_gl.Program, core.String]), + [S$4.$getIndexedParameter]: dart.fnType(dart.nullable(core.Object), [core.int, core.int]), + [S$4.$getInternalformatParameter]: dart.fnType(dart.nullable(core.Object), [core.int, core.int, core.int]), + [S$4.$getQuery]: dart.fnType(dart.nullable(core.Object), [core.int, core.int]), + [S$4.$getQueryParameter]: dart.fnType(dart.nullable(core.Object), [web_gl.Query, core.int]), + [S$4.$getSamplerParameter]: dart.fnType(dart.nullable(core.Object), [web_gl.Sampler, core.int]), + [S$4.$getSyncParameter]: dart.fnType(dart.nullable(core.Object), [web_gl.Sync, core.int]), + [S$4.$getTransformFeedbackVarying]: dart.fnType(dart.nullable(web_gl.ActiveInfo), [web_gl.Program, core.int]), + [S$4.$getUniformBlockIndex]: dart.fnType(core.int, [web_gl.Program, core.String]), + [S$4.$getUniformIndices]: dart.fnType(dart.nullable(core.List$(core.int)), [web_gl.Program, core.List$(core.String)]), + [S$4._getUniformIndices_1]: dart.fnType(dart.nullable(core.List$(core.int)), [web_gl.Program, core.List]), + [S$4.$invalidateFramebuffer]: dart.fnType(dart.void, [core.int, core.List$(core.int)]), + [S$4.$invalidateSubFramebuffer]: dart.fnType(dart.void, [core.int, core.List$(core.int), core.int, core.int, core.int, core.int]), + [S$4.$isQuery]: dart.fnType(core.bool, [dart.nullable(web_gl.Query)]), + [S$4.$isSampler]: dart.fnType(core.bool, [dart.nullable(web_gl.Sampler)]), + [S$4.$isSync]: dart.fnType(core.bool, [dart.nullable(web_gl.Sync)]), + [S$4.$isTransformFeedback]: dart.fnType(core.bool, [dart.nullable(web_gl.TransformFeedback)]), + [S$4.$isVertexArray]: dart.fnType(core.bool, [dart.nullable(web_gl.VertexArrayObject)]), + [S$4.$pauseTransformFeedback]: dart.fnType(dart.void, []), + [S$4.$readBuffer]: dart.fnType(dart.void, [core.int]), + [S$4.$readPixels2]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int, core.int, dart.dynamic], [dart.nullable(core.int)]), + [S$4.$renderbufferStorageMultisample]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int]), + [S$4.$resumeTransformFeedback]: dart.fnType(dart.void, []), + [S$4.$samplerParameterf]: dart.fnType(dart.void, [web_gl.Sampler, core.int, core.num]), + [S$4.$samplerParameteri]: dart.fnType(dart.void, [web_gl.Sampler, core.int, core.int]), + [S$4.$texImage2D2]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int, core.int, core.int, core.int, dart.dynamic], [dart.nullable(core.int)]), + [S$4._texImage2D2_1]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, core.int]), + [S$4._texImage2D2_2]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic]), + [S$4._texImage2D2_3]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, html$.ImageElement]), + [S$4._texImage2D2_4]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, html$.CanvasElement]), + [S$4._texImage2D2_5]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, html$.VideoElement]), + [S$4._texImage2D2_6]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, html$.ImageBitmap]), + [S$4._texImage2D2_7]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, typed_data.TypedData, dart.dynamic]), + [S$4.$texImage3D]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int, core.int, core.int, core.int, core.int, dart.dynamic], [dart.nullable(core.int)]), + [S$4._texImage3D_1]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, core.int]), + [S$4._texImage3D_2]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic]), + [S$4._texImage3D_3]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, html$.ImageElement]), + [S$4._texImage3D_4]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, html$.CanvasElement]), + [S$4._texImage3D_5]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, html$.VideoElement]), + [S$4._texImage3D_6]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, html$.ImageBitmap]), + [S$4._texImage3D_7]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.nullable(typed_data.TypedData)]), + [S$4._texImage3D_8]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, typed_data.TypedData, dart.dynamic]), + [S$4.$texStorage2D]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int]), + [S$4.$texStorage3D]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int, core.int]), + [S$4.$texSubImage2D2]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int, core.int, core.int, core.int, dart.dynamic], [dart.nullable(core.int)]), + [S$4._texSubImage2D2_1]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, core.int]), + [S$4._texSubImage2D2_2]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic]), + [S$4._texSubImage2D2_3]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, html$.ImageElement]), + [S$4._texSubImage2D2_4]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, html$.CanvasElement]), + [S$4._texSubImage2D2_5]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, html$.VideoElement]), + [S$4._texSubImage2D2_6]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, html$.ImageBitmap]), + [S$4._texSubImage2D2_7]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, typed_data.TypedData, dart.dynamic]), + [S$4.$texSubImage3D]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int, core.int, core.int, core.int, core.int, core.int, dart.dynamic], [dart.nullable(core.int)]), + [S$4._texSubImage3D_1]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, core.int]), + [S$4._texSubImage3D_2]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic]), + [S$4._texSubImage3D_3]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, html$.ImageElement]), + [S$4._texSubImage3D_4]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, html$.CanvasElement]), + [S$4._texSubImage3D_5]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, html$.VideoElement]), + [S$4._texSubImage3D_6]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, html$.ImageBitmap]), + [S$4._texSubImage3D_7]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, typed_data.TypedData]), + [S$4._texSubImage3D_8]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, typed_data.TypedData, dart.dynamic]), + [S$4.$transformFeedbackVaryings]: dart.fnType(dart.void, [web_gl.Program, core.List$(core.String), core.int]), + [S$4._transformFeedbackVaryings_1]: dart.fnType(dart.void, [web_gl.Program, core.List, dart.dynamic]), + [S$4.$uniform1fv2]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), dart.dynamic, core.int], [dart.nullable(core.int)]), + [S$4.$uniform1iv2]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), dart.dynamic, core.int], [dart.nullable(core.int)]), + [S$4.$uniform1ui]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), core.int]), + [S$4.$uniform1uiv]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), dart.dynamic], [dart.nullable(core.int), dart.nullable(core.int)]), + [S$4.$uniform2fv2]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), dart.dynamic, core.int], [dart.nullable(core.int)]), + [S$4.$uniform2iv2]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), dart.dynamic, core.int], [dart.nullable(core.int)]), + [S$4.$uniform2ui]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), core.int, core.int]), + [S$4.$uniform2uiv]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), dart.dynamic], [dart.nullable(core.int), dart.nullable(core.int)]), + [S$4.$uniform3fv2]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), dart.dynamic, core.int], [dart.nullable(core.int)]), + [S$4.$uniform3iv2]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), dart.dynamic, core.int], [dart.nullable(core.int)]), + [S$4.$uniform3ui]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), core.int, core.int, core.int]), + [S$4.$uniform3uiv]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), dart.dynamic], [dart.nullable(core.int), dart.nullable(core.int)]), + [S$4.$uniform4fv2]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), dart.dynamic, core.int], [dart.nullable(core.int)]), + [S$4.$uniform4iv2]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), dart.dynamic, core.int], [dart.nullable(core.int)]), + [S$4.$uniform4ui]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), core.int, core.int, core.int, core.int]), + [S$4.$uniform4uiv]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), dart.dynamic], [dart.nullable(core.int), dart.nullable(core.int)]), + [S$4.$uniformBlockBinding]: dart.fnType(dart.void, [web_gl.Program, core.int, core.int]), + [S$4.$uniformMatrix2fv2]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), core.bool, dart.dynamic, core.int], [dart.nullable(core.int)]), + [S$4.$uniformMatrix2x3fv]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), core.bool, dart.dynamic], [dart.nullable(core.int), dart.nullable(core.int)]), + [S$4.$uniformMatrix2x4fv]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), core.bool, dart.dynamic], [dart.nullable(core.int), dart.nullable(core.int)]), + [S$4.$uniformMatrix3fv2]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), core.bool, dart.dynamic, core.int], [dart.nullable(core.int)]), + [S$4.$uniformMatrix3x2fv]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), core.bool, dart.dynamic], [dart.nullable(core.int), dart.nullable(core.int)]), + [S$4.$uniformMatrix3x4fv]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), core.bool, dart.dynamic], [dart.nullable(core.int), dart.nullable(core.int)]), + [S$4.$uniformMatrix4fv2]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), core.bool, dart.dynamic, core.int], [dart.nullable(core.int)]), + [S$4.$uniformMatrix4x2fv]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), core.bool, dart.dynamic], [dart.nullable(core.int), dart.nullable(core.int)]), + [S$4.$uniformMatrix4x3fv]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), core.bool, dart.dynamic], [dart.nullable(core.int), dart.nullable(core.int)]), + [S$4.$vertexAttribDivisor]: dart.fnType(dart.void, [core.int, core.int]), + [S$4.$vertexAttribI4i]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int]), + [S$4.$vertexAttribI4iv]: dart.fnType(dart.void, [core.int, dart.dynamic]), + [S$4.$vertexAttribI4ui]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int]), + [S$4.$vertexAttribI4uiv]: dart.fnType(dart.void, [core.int, dart.dynamic]), + [S$4.$vertexAttribIPointer]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int]), + [S$4.$waitSync]: dart.fnType(dart.void, [web_gl.Sync, core.int, core.int]), + [S$4.$activeTexture]: dart.fnType(dart.void, [core.int]), + [S$4.$attachShader]: dart.fnType(dart.void, [web_gl.Program, web_gl.Shader]), + [S$4.$bindAttribLocation]: dart.fnType(dart.void, [web_gl.Program, core.int, core.String]), + [S$4.$bindBuffer]: dart.fnType(dart.void, [core.int, dart.nullable(web_gl.Buffer)]), + [S$4.$bindFramebuffer]: dart.fnType(dart.void, [core.int, dart.nullable(web_gl.Framebuffer)]), + [S$4.$bindRenderbuffer]: dart.fnType(dart.void, [core.int, dart.nullable(web_gl.Renderbuffer)]), + [S$4.$bindTexture]: dart.fnType(dart.void, [core.int, dart.nullable(web_gl.Texture)]), + [S$4.$blendColor]: dart.fnType(dart.void, [core.num, core.num, core.num, core.num]), + [S$4.$blendEquation]: dart.fnType(dart.void, [core.int]), + [S$4.$blendEquationSeparate]: dart.fnType(dart.void, [core.int, core.int]), + [S$4.$blendFunc]: dart.fnType(dart.void, [core.int, core.int]), + [S$4.$blendFuncSeparate]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int]), + [S$4.$bufferData]: dart.fnType(dart.void, [core.int, dart.dynamic, core.int]), + [S$4.$bufferSubData]: dart.fnType(dart.void, [core.int, core.int, dart.dynamic]), + [S$4.$checkFramebufferStatus]: dart.fnType(core.int, [core.int]), + [$clear]: dart.fnType(dart.void, [core.int]), + [S$4.$clearColor]: dart.fnType(dart.void, [core.num, core.num, core.num, core.num]), + [S$4.$clearDepth]: dart.fnType(dart.void, [core.num]), + [S$4.$clearStencil]: dart.fnType(dart.void, [core.int]), + [S$4.$colorMask]: dart.fnType(dart.void, [core.bool, core.bool, core.bool, core.bool]), + [S$2.$commit]: dart.fnType(async.Future, []), + [S$4.$compileShader]: dart.fnType(dart.void, [web_gl.Shader]), + [S$4.$compressedTexImage2D]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int, core.int, typed_data.TypedData]), + [S$4.$compressedTexSubImage2D]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int, core.int, core.int, typed_data.TypedData]), + [S$4.$copyTexImage2D]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int, core.int, core.int, core.int]), + [S$4.$copyTexSubImage2D]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int, core.int, core.int, core.int]), + [S$3.$createBuffer]: dart.fnType(web_gl.Buffer, []), + [S$4.$createFramebuffer]: dart.fnType(web_gl.Framebuffer, []), + [S$4.$createProgram]: dart.fnType(web_gl.Program, []), + [S$4.$createRenderbuffer]: dart.fnType(web_gl.Renderbuffer, []), + [S$4.$createShader]: dart.fnType(web_gl.Shader, [core.int]), + [S$4.$createTexture]: dart.fnType(web_gl.Texture, []), + [S$4.$cullFace]: dart.fnType(dart.void, [core.int]), + [S$4.$deleteBuffer]: dart.fnType(dart.void, [dart.nullable(web_gl.Buffer)]), + [S$4.$deleteFramebuffer]: dart.fnType(dart.void, [dart.nullable(web_gl.Framebuffer)]), + [S$4.$deleteProgram]: dart.fnType(dart.void, [dart.nullable(web_gl.Program)]), + [S$4.$deleteRenderbuffer]: dart.fnType(dart.void, [dart.nullable(web_gl.Renderbuffer)]), + [S$4.$deleteShader]: dart.fnType(dart.void, [dart.nullable(web_gl.Shader)]), + [S$4.$deleteTexture]: dart.fnType(dart.void, [dart.nullable(web_gl.Texture)]), + [S$4.$depthFunc]: dart.fnType(dart.void, [core.int]), + [S$4.$depthMask]: dart.fnType(dart.void, [core.bool]), + [S$4.$depthRange]: dart.fnType(dart.void, [core.num, core.num]), + [S$4.$detachShader]: dart.fnType(dart.void, [web_gl.Program, web_gl.Shader]), + [S$1.$disable]: dart.fnType(dart.void, [core.int]), + [S$4.$disableVertexAttribArray]: dart.fnType(dart.void, [core.int]), + [S$4.$drawArrays]: dart.fnType(dart.void, [core.int, core.int, core.int]), + [S$4.$drawElements]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int]), + [S$1.$enable]: dart.fnType(dart.void, [core.int]), + [S$4.$enableVertexAttribArray]: dart.fnType(dart.void, [core.int]), + [S$.$finish]: dart.fnType(dart.void, []), + [S$4.$flush]: dart.fnType(dart.void, []), + [S$4.$framebufferRenderbuffer]: dart.fnType(dart.void, [core.int, core.int, core.int, dart.nullable(web_gl.Renderbuffer)]), + [S$4.$framebufferTexture2D]: dart.fnType(dart.void, [core.int, core.int, core.int, dart.nullable(web_gl.Texture), core.int]), + [S$4.$frontFace]: dart.fnType(dart.void, [core.int]), + [S$4.$generateMipmap]: dart.fnType(dart.void, [core.int]), + [S$4.$getActiveAttrib]: dart.fnType(web_gl.ActiveInfo, [web_gl.Program, core.int]), + [S$4.$getActiveUniform]: dart.fnType(web_gl.ActiveInfo, [web_gl.Program, core.int]), + [S$4.$getAttachedShaders]: dart.fnType(dart.nullable(core.List$(web_gl.Shader)), [web_gl.Program]), + [S$4.$getAttribLocation]: dart.fnType(core.int, [web_gl.Program, core.String]), + [S$4.$getBufferParameter]: dart.fnType(dart.nullable(core.Object), [core.int, core.int]), + [S$.$getContextAttributes]: dart.fnType(dart.nullable(core.Map), []), + [S$4._getContextAttributes_1$1]: dart.fnType(dart.dynamic, []), + [S$4.$getError]: dart.fnType(core.int, []), + [S$4.$getExtension]: dart.fnType(dart.nullable(core.Object), [core.String]), + [S$4.$getFramebufferAttachmentParameter]: dart.fnType(dart.nullable(core.Object), [core.int, core.int, core.int]), + [S$3.$getParameter]: dart.fnType(dart.nullable(core.Object), [core.int]), + [S$4.$getProgramInfoLog]: dart.fnType(dart.nullable(core.String), [web_gl.Program]), + [S$4.$getProgramParameter]: dart.fnType(dart.nullable(core.Object), [web_gl.Program, core.int]), + [S$4.$getRenderbufferParameter]: dart.fnType(dart.nullable(core.Object), [core.int, core.int]), + [S$4.$getShaderInfoLog]: dart.fnType(dart.nullable(core.String), [web_gl.Shader]), + [S$4.$getShaderParameter]: dart.fnType(dart.nullable(core.Object), [web_gl.Shader, core.int]), + [S$4.$getShaderPrecisionFormat]: dart.fnType(web_gl.ShaderPrecisionFormat, [core.int, core.int]), + [S$4.$getShaderSource]: dart.fnType(dart.nullable(core.String), [web_gl.Shader]), + [S$4.$getSupportedExtensions]: dart.fnType(dart.nullable(core.List$(core.String)), []), + [S$4.$getTexParameter]: dart.fnType(dart.nullable(core.Object), [core.int, core.int]), + [S$4.$getUniform]: dart.fnType(dart.nullable(core.Object), [web_gl.Program, web_gl.UniformLocation]), + [S$4.$getUniformLocation]: dart.fnType(web_gl.UniformLocation, [web_gl.Program, core.String]), + [S$4.$getVertexAttrib]: dart.fnType(dart.nullable(core.Object), [core.int, core.int]), + [S$4.$getVertexAttribOffset]: dart.fnType(core.int, [core.int, core.int]), + [S$4.$hint]: dart.fnType(dart.void, [core.int, core.int]), + [S$4.$isBuffer]: dart.fnType(core.bool, [dart.nullable(web_gl.Buffer)]), + [S$.$isContextLost]: dart.fnType(core.bool, []), + [S$4.$isEnabled]: dart.fnType(core.bool, [core.int]), + [S$4.$isFramebuffer]: dart.fnType(core.bool, [dart.nullable(web_gl.Framebuffer)]), + [S$4.$isProgram]: dart.fnType(core.bool, [dart.nullable(web_gl.Program)]), + [S$4.$isRenderbuffer]: dart.fnType(core.bool, [dart.nullable(web_gl.Renderbuffer)]), + [S$4.$isShader]: dart.fnType(core.bool, [dart.nullable(web_gl.Shader)]), + [S$4.$isTexture]: dart.fnType(core.bool, [dart.nullable(web_gl.Texture)]), + [S$.$lineWidth]: dart.fnType(dart.void, [core.num]), + [S$4.$linkProgram]: dart.fnType(dart.void, [web_gl.Program]), + [S$4.$pixelStorei]: dart.fnType(dart.void, [core.int, core.int]), + [S$4.$polygonOffset]: dart.fnType(dart.void, [core.num, core.num]), + [S$4._readPixels]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int, core.int, dart.nullable(typed_data.TypedData)]), + [S$4.$renderbufferStorage]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int]), + [S$4.$sampleCoverage]: dart.fnType(dart.void, [core.num, core.bool]), + [S$4.$scissor]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int]), + [S$4.$shaderSource]: dart.fnType(dart.void, [web_gl.Shader, core.String]), + [S$4.$stencilFunc]: dart.fnType(dart.void, [core.int, core.int, core.int]), + [S$4.$stencilFuncSeparate]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int]), + [S$4.$stencilMask]: dart.fnType(dart.void, [core.int]), + [S$4.$stencilMaskSeparate]: dart.fnType(dart.void, [core.int, core.int]), + [S$4.$stencilOp]: dart.fnType(dart.void, [core.int, core.int, core.int]), + [S$4.$stencilOpSeparate]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int]), + [S$4.$texImage2D]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int, dart.dynamic], [dart.nullable(core.int), dart.nullable(core.int), dart.nullable(typed_data.TypedData)]), + [S$4._texImage2D_1]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, core.int, dart.dynamic, dart.dynamic, dart.nullable(typed_data.TypedData)]), + [S$4._texImage2D_2]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic]), + [S$4._texImage2D_3]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, html$.ImageElement]), + [S$4._texImage2D_4]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, html$.CanvasElement]), + [S$4._texImage2D_5]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, html$.VideoElement]), + [S$4._texImage2D_6]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, html$.ImageBitmap]), + [S$4.$texParameterf]: dart.fnType(dart.void, [core.int, core.int, core.num]), + [S$4.$texParameteri]: dart.fnType(dart.void, [core.int, core.int, core.int]), + [S$4.$texSubImage2D]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int, core.int, dart.dynamic], [dart.nullable(core.int), dart.nullable(typed_data.TypedData)]), + [S$4._texSubImage2D_1]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, core.int, dart.dynamic, dart.nullable(typed_data.TypedData)]), + [S$4._texSubImage2D_2]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic]), + [S$4._texSubImage2D_3]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, html$.ImageElement]), + [S$4._texSubImage2D_4]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, html$.CanvasElement]), + [S$4._texSubImage2D_5]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, html$.VideoElement]), + [S$4._texSubImage2D_6]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, html$.ImageBitmap]), + [S$4.$uniform1f]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), core.num]), + [S$4.$uniform1fv]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), dart.dynamic]), + [S$4.$uniform1i]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), core.int]), + [S$4.$uniform1iv]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), dart.dynamic]), + [S$4.$uniform2f]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), core.num, core.num]), + [S$4.$uniform2fv]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), dart.dynamic]), + [S$4.$uniform2i]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), core.int, core.int]), + [S$4.$uniform2iv]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), dart.dynamic]), + [S$4.$uniform3f]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), core.num, core.num, core.num]), + [S$4.$uniform3fv]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), dart.dynamic]), + [S$4.$uniform3i]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), core.int, core.int, core.int]), + [S$4.$uniform3iv]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), dart.dynamic]), + [S$4.$uniform4f]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), core.num, core.num, core.num, core.num]), + [S$4.$uniform4fv]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), dart.dynamic]), + [S$4.$uniform4i]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), core.int, core.int, core.int, core.int]), + [S$4.$uniform4iv]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), dart.dynamic]), + [S$4.$uniformMatrix2fv]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), core.bool, dart.dynamic]), + [S$4.$uniformMatrix3fv]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), core.bool, dart.dynamic]), + [S$4.$uniformMatrix4fv]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), core.bool, dart.dynamic]), + [S$4.$useProgram]: dart.fnType(dart.void, [dart.nullable(web_gl.Program)]), + [S$4.$validateProgram]: dart.fnType(dart.void, [web_gl.Program]), + [S$4.$vertexAttrib1f]: dart.fnType(dart.void, [core.int, core.num]), + [S$4.$vertexAttrib1fv]: dart.fnType(dart.void, [core.int, dart.dynamic]), + [S$4.$vertexAttrib2f]: dart.fnType(dart.void, [core.int, core.num, core.num]), + [S$4.$vertexAttrib2fv]: dart.fnType(dart.void, [core.int, dart.dynamic]), + [S$4.$vertexAttrib3f]: dart.fnType(dart.void, [core.int, core.num, core.num, core.num]), + [S$4.$vertexAttrib3fv]: dart.fnType(dart.void, [core.int, dart.dynamic]), + [S$4.$vertexAttrib4f]: dart.fnType(dart.void, [core.int, core.num, core.num, core.num, core.num]), + [S$4.$vertexAttrib4fv]: dart.fnType(dart.void, [core.int, dart.dynamic]), + [S$4.$vertexAttribPointer]: dart.fnType(dart.void, [core.int, core.int, core.int, core.bool, core.int, core.int]), + [S$4.$viewport]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int]), + [S$4.$readPixels]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int, core.int, typed_data.TypedData]) +})); +dart.setGetterSignature(web_gl.RenderingContext2, () => ({ + __proto__: dart.getGetters(web_gl.RenderingContext2.__proto__), + [S$.$canvas]: dart.nullable(web_gl.Canvas), + [S$4.$drawingBufferHeight]: dart.nullable(core.int), + [S$4.$drawingBufferWidth]: dart.nullable(core.int) +})); +dart.setLibraryUri(web_gl.RenderingContext2, I[160]); +dart.registerExtension("WebGL2RenderingContext", web_gl.RenderingContext2); +web_gl.Sampler = class Sampler extends _interceptors.Interceptor {}; +dart.addTypeTests(web_gl.Sampler); +dart.addTypeCaches(web_gl.Sampler); +dart.setLibraryUri(web_gl.Sampler, I[160]); +dart.registerExtension("WebGLSampler", web_gl.Sampler); +web_gl.Shader = class Shader extends _interceptors.Interceptor {}; +dart.addTypeTests(web_gl.Shader); +dart.addTypeCaches(web_gl.Shader); +dart.setLibraryUri(web_gl.Shader, I[160]); +dart.registerExtension("WebGLShader", web_gl.Shader); +web_gl.ShaderPrecisionFormat = class ShaderPrecisionFormat extends _interceptors.Interceptor { + get [S$4.$precision]() { + return this.precision; + } + get [S$4.$rangeMax]() { + return this.rangeMax; + } + get [S$4.$rangeMin]() { + return this.rangeMin; + } +}; +dart.addTypeTests(web_gl.ShaderPrecisionFormat); +dart.addTypeCaches(web_gl.ShaderPrecisionFormat); +dart.setGetterSignature(web_gl.ShaderPrecisionFormat, () => ({ + __proto__: dart.getGetters(web_gl.ShaderPrecisionFormat.__proto__), + [S$4.$precision]: core.int, + [S$4.$rangeMax]: core.int, + [S$4.$rangeMin]: core.int +})); +dart.setLibraryUri(web_gl.ShaderPrecisionFormat, I[160]); +dart.registerExtension("WebGLShaderPrecisionFormat", web_gl.ShaderPrecisionFormat); +web_gl.Sync = class Sync extends _interceptors.Interceptor {}; +dart.addTypeTests(web_gl.Sync); +dart.addTypeCaches(web_gl.Sync); +dart.setLibraryUri(web_gl.Sync, I[160]); +dart.registerExtension("WebGLSync", web_gl.Sync); +web_gl.Texture = class Texture extends _interceptors.Interceptor { + get [S$4.$lastUploadedVideoFrameWasSkipped]() { + return this.lastUploadedVideoFrameWasSkipped; + } + get [S$4.$lastUploadedVideoHeight]() { + return this.lastUploadedVideoHeight; + } + get [S$4.$lastUploadedVideoTimestamp]() { + return this.lastUploadedVideoTimestamp; + } + get [S$4.$lastUploadedVideoWidth]() { + return this.lastUploadedVideoWidth; + } +}; +dart.addTypeTests(web_gl.Texture); +dart.addTypeCaches(web_gl.Texture); +dart.setGetterSignature(web_gl.Texture, () => ({ + __proto__: dart.getGetters(web_gl.Texture.__proto__), + [S$4.$lastUploadedVideoFrameWasSkipped]: dart.nullable(core.bool), + [S$4.$lastUploadedVideoHeight]: dart.nullable(core.int), + [S$4.$lastUploadedVideoTimestamp]: dart.nullable(core.num), + [S$4.$lastUploadedVideoWidth]: dart.nullable(core.int) +})); +dart.setLibraryUri(web_gl.Texture, I[160]); +dart.registerExtension("WebGLTexture", web_gl.Texture); +web_gl.TimerQueryExt = class TimerQueryExt extends _interceptors.Interceptor {}; +dart.addTypeTests(web_gl.TimerQueryExt); +dart.addTypeCaches(web_gl.TimerQueryExt); +dart.setLibraryUri(web_gl.TimerQueryExt, I[160]); +dart.registerExtension("WebGLTimerQueryEXT", web_gl.TimerQueryExt); +web_gl.TransformFeedback = class TransformFeedback extends _interceptors.Interceptor {}; +dart.addTypeTests(web_gl.TransformFeedback); +dart.addTypeCaches(web_gl.TransformFeedback); +dart.setLibraryUri(web_gl.TransformFeedback, I[160]); +dart.registerExtension("WebGLTransformFeedback", web_gl.TransformFeedback); +web_gl.UniformLocation = class UniformLocation extends _interceptors.Interceptor {}; +dart.addTypeTests(web_gl.UniformLocation); +dart.addTypeCaches(web_gl.UniformLocation); +dart.setLibraryUri(web_gl.UniformLocation, I[160]); +dart.registerExtension("WebGLUniformLocation", web_gl.UniformLocation); +web_gl.VertexArrayObject = class VertexArrayObject extends _interceptors.Interceptor {}; +dart.addTypeTests(web_gl.VertexArrayObject); +dart.addTypeCaches(web_gl.VertexArrayObject); +dart.setLibraryUri(web_gl.VertexArrayObject, I[160]); +dart.registerExtension("WebGLVertexArrayObject", web_gl.VertexArrayObject); +web_gl.VertexArrayObjectOes = class VertexArrayObjectOes extends _interceptors.Interceptor {}; +dart.addTypeTests(web_gl.VertexArrayObjectOes); +dart.addTypeCaches(web_gl.VertexArrayObjectOes); +dart.setLibraryUri(web_gl.VertexArrayObjectOes, I[160]); +dart.registerExtension("WebGLVertexArrayObjectOES", web_gl.VertexArrayObjectOes); +web_gl.WebGL = class WebGL extends core.Object {}; +(web_gl.WebGL[dart.mixinNew] = function() { +}).prototype = web_gl.WebGL.prototype; +dart.addTypeTests(web_gl.WebGL); +dart.addTypeCaches(web_gl.WebGL); +dart.setLibraryUri(web_gl.WebGL, I[160]); +dart.defineLazy(web_gl.WebGL, { + /*web_gl.WebGL.ACTIVE_ATTRIBUTES*/get ACTIVE_ATTRIBUTES() { + return 35721; + }, + /*web_gl.WebGL.ACTIVE_TEXTURE*/get ACTIVE_TEXTURE() { + return 34016; + }, + /*web_gl.WebGL.ACTIVE_UNIFORMS*/get ACTIVE_UNIFORMS() { + return 35718; + }, + /*web_gl.WebGL.ACTIVE_UNIFORM_BLOCKS*/get ACTIVE_UNIFORM_BLOCKS() { + return 35382; + }, + /*web_gl.WebGL.ALIASED_LINE_WIDTH_RANGE*/get ALIASED_LINE_WIDTH_RANGE() { + return 33902; + }, + /*web_gl.WebGL.ALIASED_POINT_SIZE_RANGE*/get ALIASED_POINT_SIZE_RANGE() { + return 33901; + }, + /*web_gl.WebGL.ALPHA*/get ALPHA() { + return 6406; + }, + /*web_gl.WebGL.ALPHA_BITS*/get ALPHA_BITS() { + return 3413; + }, + /*web_gl.WebGL.ALREADY_SIGNALED*/get ALREADY_SIGNALED() { + return 37146; + }, + /*web_gl.WebGL.ALWAYS*/get ALWAYS() { + return 519; + }, + /*web_gl.WebGL.ANY_SAMPLES_PASSED*/get ANY_SAMPLES_PASSED() { + return 35887; + }, + /*web_gl.WebGL.ANY_SAMPLES_PASSED_CONSERVATIVE*/get ANY_SAMPLES_PASSED_CONSERVATIVE() { + return 36202; + }, + /*web_gl.WebGL.ARRAY_BUFFER*/get ARRAY_BUFFER() { + return 34962; + }, + /*web_gl.WebGL.ARRAY_BUFFER_BINDING*/get ARRAY_BUFFER_BINDING() { + return 34964; + }, + /*web_gl.WebGL.ATTACHED_SHADERS*/get ATTACHED_SHADERS() { + return 35717; + }, + /*web_gl.WebGL.BACK*/get BACK() { + return 1029; + }, + /*web_gl.WebGL.BLEND*/get BLEND() { + return 3042; + }, + /*web_gl.WebGL.BLEND_COLOR*/get BLEND_COLOR() { + return 32773; + }, + /*web_gl.WebGL.BLEND_DST_ALPHA*/get BLEND_DST_ALPHA() { + return 32970; + }, + /*web_gl.WebGL.BLEND_DST_RGB*/get BLEND_DST_RGB() { + return 32968; + }, + /*web_gl.WebGL.BLEND_EQUATION*/get BLEND_EQUATION() { + return 32777; + }, + /*web_gl.WebGL.BLEND_EQUATION_ALPHA*/get BLEND_EQUATION_ALPHA() { + return 34877; + }, + /*web_gl.WebGL.BLEND_EQUATION_RGB*/get BLEND_EQUATION_RGB() { + return 32777; + }, + /*web_gl.WebGL.BLEND_SRC_ALPHA*/get BLEND_SRC_ALPHA() { + return 32971; + }, + /*web_gl.WebGL.BLEND_SRC_RGB*/get BLEND_SRC_RGB() { + return 32969; + }, + /*web_gl.WebGL.BLUE_BITS*/get BLUE_BITS() { + return 3412; + }, + /*web_gl.WebGL.BOOL*/get BOOL() { + return 35670; + }, + /*web_gl.WebGL.BOOL_VEC2*/get BOOL_VEC2() { + return 35671; + }, + /*web_gl.WebGL.BOOL_VEC3*/get BOOL_VEC3() { + return 35672; + }, + /*web_gl.WebGL.BOOL_VEC4*/get BOOL_VEC4() { + return 35673; + }, + /*web_gl.WebGL.BROWSER_DEFAULT_WEBGL*/get BROWSER_DEFAULT_WEBGL() { + return 37444; + }, + /*web_gl.WebGL.BUFFER_SIZE*/get BUFFER_SIZE() { + return 34660; + }, + /*web_gl.WebGL.BUFFER_USAGE*/get BUFFER_USAGE() { + return 34661; + }, + /*web_gl.WebGL.BYTE*/get BYTE() { + return 5120; + }, + /*web_gl.WebGL.CCW*/get CCW() { + return 2305; + }, + /*web_gl.WebGL.CLAMP_TO_EDGE*/get CLAMP_TO_EDGE() { + return 33071; + }, + /*web_gl.WebGL.COLOR*/get COLOR() { + return 6144; + }, + /*web_gl.WebGL.COLOR_ATTACHMENT0*/get COLOR_ATTACHMENT0() { + return 36064; + }, + /*web_gl.WebGL.COLOR_ATTACHMENT0_WEBGL*/get COLOR_ATTACHMENT0_WEBGL() { + return 36064; + }, + /*web_gl.WebGL.COLOR_ATTACHMENT1*/get COLOR_ATTACHMENT1() { + return 36065; + }, + /*web_gl.WebGL.COLOR_ATTACHMENT10*/get COLOR_ATTACHMENT10() { + return 36074; + }, + /*web_gl.WebGL.COLOR_ATTACHMENT10_WEBGL*/get COLOR_ATTACHMENT10_WEBGL() { + return 36074; + }, + /*web_gl.WebGL.COLOR_ATTACHMENT11*/get COLOR_ATTACHMENT11() { + return 36075; + }, + /*web_gl.WebGL.COLOR_ATTACHMENT11_WEBGL*/get COLOR_ATTACHMENT11_WEBGL() { + return 36075; + }, + /*web_gl.WebGL.COLOR_ATTACHMENT12*/get COLOR_ATTACHMENT12() { + return 36076; + }, + /*web_gl.WebGL.COLOR_ATTACHMENT12_WEBGL*/get COLOR_ATTACHMENT12_WEBGL() { + return 36076; + }, + /*web_gl.WebGL.COLOR_ATTACHMENT13*/get COLOR_ATTACHMENT13() { + return 36077; + }, + /*web_gl.WebGL.COLOR_ATTACHMENT13_WEBGL*/get COLOR_ATTACHMENT13_WEBGL() { + return 36077; + }, + /*web_gl.WebGL.COLOR_ATTACHMENT14*/get COLOR_ATTACHMENT14() { + return 36078; + }, + /*web_gl.WebGL.COLOR_ATTACHMENT14_WEBGL*/get COLOR_ATTACHMENT14_WEBGL() { + return 36078; + }, + /*web_gl.WebGL.COLOR_ATTACHMENT15*/get COLOR_ATTACHMENT15() { + return 36079; + }, + /*web_gl.WebGL.COLOR_ATTACHMENT15_WEBGL*/get COLOR_ATTACHMENT15_WEBGL() { + return 36079; + }, + /*web_gl.WebGL.COLOR_ATTACHMENT1_WEBGL*/get COLOR_ATTACHMENT1_WEBGL() { + return 36065; + }, + /*web_gl.WebGL.COLOR_ATTACHMENT2*/get COLOR_ATTACHMENT2() { + return 36066; + }, + /*web_gl.WebGL.COLOR_ATTACHMENT2_WEBGL*/get COLOR_ATTACHMENT2_WEBGL() { + return 36066; + }, + /*web_gl.WebGL.COLOR_ATTACHMENT3*/get COLOR_ATTACHMENT3() { + return 36067; + }, + /*web_gl.WebGL.COLOR_ATTACHMENT3_WEBGL*/get COLOR_ATTACHMENT3_WEBGL() { + return 36067; + }, + /*web_gl.WebGL.COLOR_ATTACHMENT4*/get COLOR_ATTACHMENT4() { + return 36068; + }, + /*web_gl.WebGL.COLOR_ATTACHMENT4_WEBGL*/get COLOR_ATTACHMENT4_WEBGL() { + return 36068; + }, + /*web_gl.WebGL.COLOR_ATTACHMENT5*/get COLOR_ATTACHMENT5() { + return 36069; + }, + /*web_gl.WebGL.COLOR_ATTACHMENT5_WEBGL*/get COLOR_ATTACHMENT5_WEBGL() { + return 36069; + }, + /*web_gl.WebGL.COLOR_ATTACHMENT6*/get COLOR_ATTACHMENT6() { + return 36070; + }, + /*web_gl.WebGL.COLOR_ATTACHMENT6_WEBGL*/get COLOR_ATTACHMENT6_WEBGL() { + return 36070; + }, + /*web_gl.WebGL.COLOR_ATTACHMENT7*/get COLOR_ATTACHMENT7() { + return 36071; + }, + /*web_gl.WebGL.COLOR_ATTACHMENT7_WEBGL*/get COLOR_ATTACHMENT7_WEBGL() { + return 36071; + }, + /*web_gl.WebGL.COLOR_ATTACHMENT8*/get COLOR_ATTACHMENT8() { + return 36072; + }, + /*web_gl.WebGL.COLOR_ATTACHMENT8_WEBGL*/get COLOR_ATTACHMENT8_WEBGL() { + return 36072; + }, + /*web_gl.WebGL.COLOR_ATTACHMENT9*/get COLOR_ATTACHMENT9() { + return 36073; + }, + /*web_gl.WebGL.COLOR_ATTACHMENT9_WEBGL*/get COLOR_ATTACHMENT9_WEBGL() { + return 36073; + }, + /*web_gl.WebGL.COLOR_BUFFER_BIT*/get COLOR_BUFFER_BIT() { + return 16384; + }, + /*web_gl.WebGL.COLOR_CLEAR_VALUE*/get COLOR_CLEAR_VALUE() { + return 3106; + }, + /*web_gl.WebGL.COLOR_WRITEMASK*/get COLOR_WRITEMASK() { + return 3107; + }, + /*web_gl.WebGL.COMPARE_REF_TO_TEXTURE*/get COMPARE_REF_TO_TEXTURE() { + return 34894; + }, + /*web_gl.WebGL.COMPILE_STATUS*/get COMPILE_STATUS() { + return 35713; + }, + /*web_gl.WebGL.COMPRESSED_TEXTURE_FORMATS*/get COMPRESSED_TEXTURE_FORMATS() { + return 34467; + }, + /*web_gl.WebGL.CONDITION_SATISFIED*/get CONDITION_SATISFIED() { + return 37148; + }, + /*web_gl.WebGL.CONSTANT_ALPHA*/get CONSTANT_ALPHA() { + return 32771; + }, + /*web_gl.WebGL.CONSTANT_COLOR*/get CONSTANT_COLOR() { + return 32769; + }, + /*web_gl.WebGL.CONTEXT_LOST_WEBGL*/get CONTEXT_LOST_WEBGL() { + return 37442; + }, + /*web_gl.WebGL.COPY_READ_BUFFER*/get COPY_READ_BUFFER() { + return 36662; + }, + /*web_gl.WebGL.COPY_READ_BUFFER_BINDING*/get COPY_READ_BUFFER_BINDING() { + return 36662; + }, + /*web_gl.WebGL.COPY_WRITE_BUFFER*/get COPY_WRITE_BUFFER() { + return 36663; + }, + /*web_gl.WebGL.COPY_WRITE_BUFFER_BINDING*/get COPY_WRITE_BUFFER_BINDING() { + return 36663; + }, + /*web_gl.WebGL.CULL_FACE*/get CULL_FACE() { + return 2884; + }, + /*web_gl.WebGL.CULL_FACE_MODE*/get CULL_FACE_MODE() { + return 2885; + }, + /*web_gl.WebGL.CURRENT_PROGRAM*/get CURRENT_PROGRAM() { + return 35725; + }, + /*web_gl.WebGL.CURRENT_QUERY*/get CURRENT_QUERY() { + return 34917; + }, + /*web_gl.WebGL.CURRENT_VERTEX_ATTRIB*/get CURRENT_VERTEX_ATTRIB() { + return 34342; + }, + /*web_gl.WebGL.CW*/get CW() { + return 2304; + }, + /*web_gl.WebGL.DECR*/get DECR() { + return 7683; + }, + /*web_gl.WebGL.DECR_WRAP*/get DECR_WRAP() { + return 34056; + }, + /*web_gl.WebGL.DELETE_STATUS*/get DELETE_STATUS() { + return 35712; + }, + /*web_gl.WebGL.DEPTH*/get DEPTH() { + return 6145; + }, + /*web_gl.WebGL.DEPTH24_STENCIL8*/get DEPTH24_STENCIL8() { + return 35056; + }, + /*web_gl.WebGL.DEPTH32F_STENCIL8*/get DEPTH32F_STENCIL8() { + return 36013; + }, + /*web_gl.WebGL.DEPTH_ATTACHMENT*/get DEPTH_ATTACHMENT() { + return 36096; + }, + /*web_gl.WebGL.DEPTH_BITS*/get DEPTH_BITS() { + return 3414; + }, + /*web_gl.WebGL.DEPTH_BUFFER_BIT*/get DEPTH_BUFFER_BIT() { + return 256; + }, + /*web_gl.WebGL.DEPTH_CLEAR_VALUE*/get DEPTH_CLEAR_VALUE() { + return 2931; + }, + /*web_gl.WebGL.DEPTH_COMPONENT*/get DEPTH_COMPONENT() { + return 6402; + }, + /*web_gl.WebGL.DEPTH_COMPONENT16*/get DEPTH_COMPONENT16() { + return 33189; + }, + /*web_gl.WebGL.DEPTH_COMPONENT24*/get DEPTH_COMPONENT24() { + return 33190; + }, + /*web_gl.WebGL.DEPTH_COMPONENT32F*/get DEPTH_COMPONENT32F() { + return 36012; + }, + /*web_gl.WebGL.DEPTH_FUNC*/get DEPTH_FUNC() { + return 2932; + }, + /*web_gl.WebGL.DEPTH_RANGE*/get DEPTH_RANGE() { + return 2928; + }, + /*web_gl.WebGL.DEPTH_STENCIL*/get DEPTH_STENCIL() { + return 34041; + }, + /*web_gl.WebGL.DEPTH_STENCIL_ATTACHMENT*/get DEPTH_STENCIL_ATTACHMENT() { + return 33306; + }, + /*web_gl.WebGL.DEPTH_TEST*/get DEPTH_TEST() { + return 2929; + }, + /*web_gl.WebGL.DEPTH_WRITEMASK*/get DEPTH_WRITEMASK() { + return 2930; + }, + /*web_gl.WebGL.DITHER*/get DITHER() { + return 3024; + }, + /*web_gl.WebGL.DONT_CARE*/get DONT_CARE() { + return 4352; + }, + /*web_gl.WebGL.DRAW_BUFFER0*/get DRAW_BUFFER0() { + return 34853; + }, + /*web_gl.WebGL.DRAW_BUFFER0_WEBGL*/get DRAW_BUFFER0_WEBGL() { + return 34853; + }, + /*web_gl.WebGL.DRAW_BUFFER1*/get DRAW_BUFFER1() { + return 34854; + }, + /*web_gl.WebGL.DRAW_BUFFER10*/get DRAW_BUFFER10() { + return 34863; + }, + /*web_gl.WebGL.DRAW_BUFFER10_WEBGL*/get DRAW_BUFFER10_WEBGL() { + return 34863; + }, + /*web_gl.WebGL.DRAW_BUFFER11*/get DRAW_BUFFER11() { + return 34864; + }, + /*web_gl.WebGL.DRAW_BUFFER11_WEBGL*/get DRAW_BUFFER11_WEBGL() { + return 34864; + }, + /*web_gl.WebGL.DRAW_BUFFER12*/get DRAW_BUFFER12() { + return 34865; + }, + /*web_gl.WebGL.DRAW_BUFFER12_WEBGL*/get DRAW_BUFFER12_WEBGL() { + return 34865; + }, + /*web_gl.WebGL.DRAW_BUFFER13*/get DRAW_BUFFER13() { + return 34866; + }, + /*web_gl.WebGL.DRAW_BUFFER13_WEBGL*/get DRAW_BUFFER13_WEBGL() { + return 34866; + }, + /*web_gl.WebGL.DRAW_BUFFER14*/get DRAW_BUFFER14() { + return 34867; + }, + /*web_gl.WebGL.DRAW_BUFFER14_WEBGL*/get DRAW_BUFFER14_WEBGL() { + return 34867; + }, + /*web_gl.WebGL.DRAW_BUFFER15*/get DRAW_BUFFER15() { + return 34868; + }, + /*web_gl.WebGL.DRAW_BUFFER15_WEBGL*/get DRAW_BUFFER15_WEBGL() { + return 34868; + }, + /*web_gl.WebGL.DRAW_BUFFER1_WEBGL*/get DRAW_BUFFER1_WEBGL() { + return 34854; + }, + /*web_gl.WebGL.DRAW_BUFFER2*/get DRAW_BUFFER2() { + return 34855; + }, + /*web_gl.WebGL.DRAW_BUFFER2_WEBGL*/get DRAW_BUFFER2_WEBGL() { + return 34855; + }, + /*web_gl.WebGL.DRAW_BUFFER3*/get DRAW_BUFFER3() { + return 34856; + }, + /*web_gl.WebGL.DRAW_BUFFER3_WEBGL*/get DRAW_BUFFER3_WEBGL() { + return 34856; + }, + /*web_gl.WebGL.DRAW_BUFFER4*/get DRAW_BUFFER4() { + return 34857; + }, + /*web_gl.WebGL.DRAW_BUFFER4_WEBGL*/get DRAW_BUFFER4_WEBGL() { + return 34857; + }, + /*web_gl.WebGL.DRAW_BUFFER5*/get DRAW_BUFFER5() { + return 34858; + }, + /*web_gl.WebGL.DRAW_BUFFER5_WEBGL*/get DRAW_BUFFER5_WEBGL() { + return 34858; + }, + /*web_gl.WebGL.DRAW_BUFFER6*/get DRAW_BUFFER6() { + return 34859; + }, + /*web_gl.WebGL.DRAW_BUFFER6_WEBGL*/get DRAW_BUFFER6_WEBGL() { + return 34859; + }, + /*web_gl.WebGL.DRAW_BUFFER7*/get DRAW_BUFFER7() { + return 34860; + }, + /*web_gl.WebGL.DRAW_BUFFER7_WEBGL*/get DRAW_BUFFER7_WEBGL() { + return 34860; + }, + /*web_gl.WebGL.DRAW_BUFFER8*/get DRAW_BUFFER8() { + return 34861; + }, + /*web_gl.WebGL.DRAW_BUFFER8_WEBGL*/get DRAW_BUFFER8_WEBGL() { + return 34861; + }, + /*web_gl.WebGL.DRAW_BUFFER9*/get DRAW_BUFFER9() { + return 34862; + }, + /*web_gl.WebGL.DRAW_BUFFER9_WEBGL*/get DRAW_BUFFER9_WEBGL() { + return 34862; + }, + /*web_gl.WebGL.DRAW_FRAMEBUFFER*/get DRAW_FRAMEBUFFER() { + return 36009; + }, + /*web_gl.WebGL.DRAW_FRAMEBUFFER_BINDING*/get DRAW_FRAMEBUFFER_BINDING() { + return 36006; + }, + /*web_gl.WebGL.DST_ALPHA*/get DST_ALPHA() { + return 772; + }, + /*web_gl.WebGL.DST_COLOR*/get DST_COLOR() { + return 774; + }, + /*web_gl.WebGL.DYNAMIC_COPY*/get DYNAMIC_COPY() { + return 35050; + }, + /*web_gl.WebGL.DYNAMIC_DRAW*/get DYNAMIC_DRAW() { + return 35048; + }, + /*web_gl.WebGL.DYNAMIC_READ*/get DYNAMIC_READ() { + return 35049; + }, + /*web_gl.WebGL.ELEMENT_ARRAY_BUFFER*/get ELEMENT_ARRAY_BUFFER() { + return 34963; + }, + /*web_gl.WebGL.ELEMENT_ARRAY_BUFFER_BINDING*/get ELEMENT_ARRAY_BUFFER_BINDING() { + return 34965; + }, + /*web_gl.WebGL.EQUAL*/get EQUAL() { + return 514; + }, + /*web_gl.WebGL.FASTEST*/get FASTEST() { + return 4353; + }, + /*web_gl.WebGL.FLOAT*/get FLOAT() { + return 5126; + }, + /*web_gl.WebGL.FLOAT_32_UNSIGNED_INT_24_8_REV*/get FLOAT_32_UNSIGNED_INT_24_8_REV() { + return 36269; + }, + /*web_gl.WebGL.FLOAT_MAT2*/get FLOAT_MAT2() { + return 35674; + }, + /*web_gl.WebGL.FLOAT_MAT2x3*/get FLOAT_MAT2x3() { + return 35685; + }, + /*web_gl.WebGL.FLOAT_MAT2x4*/get FLOAT_MAT2x4() { + return 35686; + }, + /*web_gl.WebGL.FLOAT_MAT3*/get FLOAT_MAT3() { + return 35675; + }, + /*web_gl.WebGL.FLOAT_MAT3x2*/get FLOAT_MAT3x2() { + return 35687; + }, + /*web_gl.WebGL.FLOAT_MAT3x4*/get FLOAT_MAT3x4() { + return 35688; + }, + /*web_gl.WebGL.FLOAT_MAT4*/get FLOAT_MAT4() { + return 35676; + }, + /*web_gl.WebGL.FLOAT_MAT4x2*/get FLOAT_MAT4x2() { + return 35689; + }, + /*web_gl.WebGL.FLOAT_MAT4x3*/get FLOAT_MAT4x3() { + return 35690; + }, + /*web_gl.WebGL.FLOAT_VEC2*/get FLOAT_VEC2() { + return 35664; + }, + /*web_gl.WebGL.FLOAT_VEC3*/get FLOAT_VEC3() { + return 35665; + }, + /*web_gl.WebGL.FLOAT_VEC4*/get FLOAT_VEC4() { + return 35666; + }, + /*web_gl.WebGL.FRAGMENT_SHADER*/get FRAGMENT_SHADER() { + return 35632; + }, + /*web_gl.WebGL.FRAGMENT_SHADER_DERIVATIVE_HINT*/get FRAGMENT_SHADER_DERIVATIVE_HINT() { + return 35723; + }, + /*web_gl.WebGL.FRAMEBUFFER*/get FRAMEBUFFER() { + return 36160; + }, + /*web_gl.WebGL.FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE*/get FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE() { + return 33301; + }, + /*web_gl.WebGL.FRAMEBUFFER_ATTACHMENT_BLUE_SIZE*/get FRAMEBUFFER_ATTACHMENT_BLUE_SIZE() { + return 33300; + }, + /*web_gl.WebGL.FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING*/get FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING() { + return 33296; + }, + /*web_gl.WebGL.FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE*/get FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE() { + return 33297; + }, + /*web_gl.WebGL.FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE*/get FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE() { + return 33302; + }, + /*web_gl.WebGL.FRAMEBUFFER_ATTACHMENT_GREEN_SIZE*/get FRAMEBUFFER_ATTACHMENT_GREEN_SIZE() { + return 33299; + }, + /*web_gl.WebGL.FRAMEBUFFER_ATTACHMENT_OBJECT_NAME*/get FRAMEBUFFER_ATTACHMENT_OBJECT_NAME() { + return 36049; + }, + /*web_gl.WebGL.FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE*/get FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE() { + return 36048; + }, + /*web_gl.WebGL.FRAMEBUFFER_ATTACHMENT_RED_SIZE*/get FRAMEBUFFER_ATTACHMENT_RED_SIZE() { + return 33298; + }, + /*web_gl.WebGL.FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE*/get FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE() { + return 33303; + }, + /*web_gl.WebGL.FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE*/get FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE() { + return 36051; + }, + /*web_gl.WebGL.FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER*/get FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER() { + return 36052; + }, + /*web_gl.WebGL.FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL*/get FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL() { + return 36050; + }, + /*web_gl.WebGL.FRAMEBUFFER_BINDING*/get FRAMEBUFFER_BINDING() { + return 36006; + }, + /*web_gl.WebGL.FRAMEBUFFER_COMPLETE*/get FRAMEBUFFER_COMPLETE() { + return 36053; + }, + /*web_gl.WebGL.FRAMEBUFFER_DEFAULT*/get FRAMEBUFFER_DEFAULT() { + return 33304; + }, + /*web_gl.WebGL.FRAMEBUFFER_INCOMPLETE_ATTACHMENT*/get FRAMEBUFFER_INCOMPLETE_ATTACHMENT() { + return 36054; + }, + /*web_gl.WebGL.FRAMEBUFFER_INCOMPLETE_DIMENSIONS*/get FRAMEBUFFER_INCOMPLETE_DIMENSIONS() { + return 36057; + }, + /*web_gl.WebGL.FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT*/get FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT() { + return 36055; + }, + /*web_gl.WebGL.FRAMEBUFFER_INCOMPLETE_MULTISAMPLE*/get FRAMEBUFFER_INCOMPLETE_MULTISAMPLE() { + return 36182; + }, + /*web_gl.WebGL.FRAMEBUFFER_UNSUPPORTED*/get FRAMEBUFFER_UNSUPPORTED() { + return 36061; + }, + /*web_gl.WebGL.FRONT*/get FRONT() { + return 1028; + }, + /*web_gl.WebGL.FRONT_AND_BACK*/get FRONT_AND_BACK() { + return 1032; + }, + /*web_gl.WebGL.FRONT_FACE*/get FRONT_FACE() { + return 2886; + }, + /*web_gl.WebGL.FUNC_ADD*/get FUNC_ADD() { + return 32774; + }, + /*web_gl.WebGL.FUNC_REVERSE_SUBTRACT*/get FUNC_REVERSE_SUBTRACT() { + return 32779; + }, + /*web_gl.WebGL.FUNC_SUBTRACT*/get FUNC_SUBTRACT() { + return 32778; + }, + /*web_gl.WebGL.GENERATE_MIPMAP_HINT*/get GENERATE_MIPMAP_HINT() { + return 33170; + }, + /*web_gl.WebGL.GEQUAL*/get GEQUAL() { + return 518; + }, + /*web_gl.WebGL.GREATER*/get GREATER() { + return 516; + }, + /*web_gl.WebGL.GREEN_BITS*/get GREEN_BITS() { + return 3411; + }, + /*web_gl.WebGL.HALF_FLOAT*/get HALF_FLOAT() { + return 5131; + }, + /*web_gl.WebGL.HIGH_FLOAT*/get HIGH_FLOAT() { + return 36338; + }, + /*web_gl.WebGL.HIGH_INT*/get HIGH_INT() { + return 36341; + }, + /*web_gl.WebGL.IMPLEMENTATION_COLOR_READ_FORMAT*/get IMPLEMENTATION_COLOR_READ_FORMAT() { + return 35739; + }, + /*web_gl.WebGL.IMPLEMENTATION_COLOR_READ_TYPE*/get IMPLEMENTATION_COLOR_READ_TYPE() { + return 35738; + }, + /*web_gl.WebGL.INCR*/get INCR() { + return 7682; + }, + /*web_gl.WebGL.INCR_WRAP*/get INCR_WRAP() { + return 34055; + }, + /*web_gl.WebGL.INT*/get INT() { + return 5124; + }, + /*web_gl.WebGL.INTERLEAVED_ATTRIBS*/get INTERLEAVED_ATTRIBS() { + return 35980; + }, + /*web_gl.WebGL.INT_2_10_10_10_REV*/get INT_2_10_10_10_REV() { + return 36255; + }, + /*web_gl.WebGL.INT_SAMPLER_2D*/get INT_SAMPLER_2D() { + return 36298; + }, + /*web_gl.WebGL.INT_SAMPLER_2D_ARRAY*/get INT_SAMPLER_2D_ARRAY() { + return 36303; + }, + /*web_gl.WebGL.INT_SAMPLER_3D*/get INT_SAMPLER_3D() { + return 36299; + }, + /*web_gl.WebGL.INT_SAMPLER_CUBE*/get INT_SAMPLER_CUBE() { + return 36300; + }, + /*web_gl.WebGL.INT_VEC2*/get INT_VEC2() { + return 35667; + }, + /*web_gl.WebGL.INT_VEC3*/get INT_VEC3() { + return 35668; + }, + /*web_gl.WebGL.INT_VEC4*/get INT_VEC4() { + return 35669; + }, + /*web_gl.WebGL.INVALID_ENUM*/get INVALID_ENUM() { + return 1280; + }, + /*web_gl.WebGL.INVALID_FRAMEBUFFER_OPERATION*/get INVALID_FRAMEBUFFER_OPERATION() { + return 1286; + }, + /*web_gl.WebGL.INVALID_INDEX*/get INVALID_INDEX() { + return 4294967295.0; + }, + /*web_gl.WebGL.INVALID_OPERATION*/get INVALID_OPERATION() { + return 1282; + }, + /*web_gl.WebGL.INVALID_VALUE*/get INVALID_VALUE() { + return 1281; + }, + /*web_gl.WebGL.INVERT*/get INVERT() { + return 5386; + }, + /*web_gl.WebGL.KEEP*/get KEEP() { + return 7680; + }, + /*web_gl.WebGL.LEQUAL*/get LEQUAL() { + return 515; + }, + /*web_gl.WebGL.LESS*/get LESS() { + return 513; + }, + /*web_gl.WebGL.LINEAR*/get LINEAR() { + return 9729; + }, + /*web_gl.WebGL.LINEAR_MIPMAP_LINEAR*/get LINEAR_MIPMAP_LINEAR() { + return 9987; + }, + /*web_gl.WebGL.LINEAR_MIPMAP_NEAREST*/get LINEAR_MIPMAP_NEAREST() { + return 9985; + }, + /*web_gl.WebGL.LINES*/get LINES() { + return 1; + }, + /*web_gl.WebGL.LINE_LOOP*/get LINE_LOOP() { + return 2; + }, + /*web_gl.WebGL.LINE_STRIP*/get LINE_STRIP() { + return 3; + }, + /*web_gl.WebGL.LINE_WIDTH*/get LINE_WIDTH() { + return 2849; + }, + /*web_gl.WebGL.LINK_STATUS*/get LINK_STATUS() { + return 35714; + }, + /*web_gl.WebGL.LOW_FLOAT*/get LOW_FLOAT() { + return 36336; + }, + /*web_gl.WebGL.LOW_INT*/get LOW_INT() { + return 36339; + }, + /*web_gl.WebGL.LUMINANCE*/get LUMINANCE() { + return 6409; + }, + /*web_gl.WebGL.LUMINANCE_ALPHA*/get LUMINANCE_ALPHA() { + return 6410; + }, + /*web_gl.WebGL.MAX*/get MAX() { + return 32776; + }, + /*web_gl.WebGL.MAX_3D_TEXTURE_SIZE*/get MAX_3D_TEXTURE_SIZE() { + return 32883; + }, + /*web_gl.WebGL.MAX_ARRAY_TEXTURE_LAYERS*/get MAX_ARRAY_TEXTURE_LAYERS() { + return 35071; + }, + /*web_gl.WebGL.MAX_CLIENT_WAIT_TIMEOUT_WEBGL*/get MAX_CLIENT_WAIT_TIMEOUT_WEBGL() { + return 37447; + }, + /*web_gl.WebGL.MAX_COLOR_ATTACHMENTS*/get MAX_COLOR_ATTACHMENTS() { + return 36063; + }, + /*web_gl.WebGL.MAX_COLOR_ATTACHMENTS_WEBGL*/get MAX_COLOR_ATTACHMENTS_WEBGL() { + return 36063; + }, + /*web_gl.WebGL.MAX_COMBINED_FRAGMENT_UNIFORM_COMPONENTS*/get MAX_COMBINED_FRAGMENT_UNIFORM_COMPONENTS() { + return 35379; + }, + /*web_gl.WebGL.MAX_COMBINED_TEXTURE_IMAGE_UNITS*/get MAX_COMBINED_TEXTURE_IMAGE_UNITS() { + return 35661; + }, + /*web_gl.WebGL.MAX_COMBINED_UNIFORM_BLOCKS*/get MAX_COMBINED_UNIFORM_BLOCKS() { + return 35374; + }, + /*web_gl.WebGL.MAX_COMBINED_VERTEX_UNIFORM_COMPONENTS*/get MAX_COMBINED_VERTEX_UNIFORM_COMPONENTS() { + return 35377; + }, + /*web_gl.WebGL.MAX_CUBE_MAP_TEXTURE_SIZE*/get MAX_CUBE_MAP_TEXTURE_SIZE() { + return 34076; + }, + /*web_gl.WebGL.MAX_DRAW_BUFFERS*/get MAX_DRAW_BUFFERS() { + return 34852; + }, + /*web_gl.WebGL.MAX_DRAW_BUFFERS_WEBGL*/get MAX_DRAW_BUFFERS_WEBGL() { + return 34852; + }, + /*web_gl.WebGL.MAX_ELEMENTS_INDICES*/get MAX_ELEMENTS_INDICES() { + return 33001; + }, + /*web_gl.WebGL.MAX_ELEMENTS_VERTICES*/get MAX_ELEMENTS_VERTICES() { + return 33000; + }, + /*web_gl.WebGL.MAX_ELEMENT_INDEX*/get MAX_ELEMENT_INDEX() { + return 36203; + }, + /*web_gl.WebGL.MAX_FRAGMENT_INPUT_COMPONENTS*/get MAX_FRAGMENT_INPUT_COMPONENTS() { + return 37157; + }, + /*web_gl.WebGL.MAX_FRAGMENT_UNIFORM_BLOCKS*/get MAX_FRAGMENT_UNIFORM_BLOCKS() { + return 35373; + }, + /*web_gl.WebGL.MAX_FRAGMENT_UNIFORM_COMPONENTS*/get MAX_FRAGMENT_UNIFORM_COMPONENTS() { + return 35657; + }, + /*web_gl.WebGL.MAX_FRAGMENT_UNIFORM_VECTORS*/get MAX_FRAGMENT_UNIFORM_VECTORS() { + return 36349; + }, + /*web_gl.WebGL.MAX_PROGRAM_TEXEL_OFFSET*/get MAX_PROGRAM_TEXEL_OFFSET() { + return 35077; + }, + /*web_gl.WebGL.MAX_RENDERBUFFER_SIZE*/get MAX_RENDERBUFFER_SIZE() { + return 34024; + }, + /*web_gl.WebGL.MAX_SAMPLES*/get MAX_SAMPLES() { + return 36183; + }, + /*web_gl.WebGL.MAX_SERVER_WAIT_TIMEOUT*/get MAX_SERVER_WAIT_TIMEOUT() { + return 37137; + }, + /*web_gl.WebGL.MAX_TEXTURE_IMAGE_UNITS*/get MAX_TEXTURE_IMAGE_UNITS() { + return 34930; + }, + /*web_gl.WebGL.MAX_TEXTURE_LOD_BIAS*/get MAX_TEXTURE_LOD_BIAS() { + return 34045; + }, + /*web_gl.WebGL.MAX_TEXTURE_SIZE*/get MAX_TEXTURE_SIZE() { + return 3379; + }, + /*web_gl.WebGL.MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS*/get MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS() { + return 35978; + }, + /*web_gl.WebGL.MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS*/get MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS() { + return 35979; + }, + /*web_gl.WebGL.MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS*/get MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS() { + return 35968; + }, + /*web_gl.WebGL.MAX_UNIFORM_BLOCK_SIZE*/get MAX_UNIFORM_BLOCK_SIZE() { + return 35376; + }, + /*web_gl.WebGL.MAX_UNIFORM_BUFFER_BINDINGS*/get MAX_UNIFORM_BUFFER_BINDINGS() { + return 35375; + }, + /*web_gl.WebGL.MAX_VARYING_COMPONENTS*/get MAX_VARYING_COMPONENTS() { + return 35659; + }, + /*web_gl.WebGL.MAX_VARYING_VECTORS*/get MAX_VARYING_VECTORS() { + return 36348; + }, + /*web_gl.WebGL.MAX_VERTEX_ATTRIBS*/get MAX_VERTEX_ATTRIBS() { + return 34921; + }, + /*web_gl.WebGL.MAX_VERTEX_OUTPUT_COMPONENTS*/get MAX_VERTEX_OUTPUT_COMPONENTS() { + return 37154; + }, + /*web_gl.WebGL.MAX_VERTEX_TEXTURE_IMAGE_UNITS*/get MAX_VERTEX_TEXTURE_IMAGE_UNITS() { + return 35660; + }, + /*web_gl.WebGL.MAX_VERTEX_UNIFORM_BLOCKS*/get MAX_VERTEX_UNIFORM_BLOCKS() { + return 35371; + }, + /*web_gl.WebGL.MAX_VERTEX_UNIFORM_COMPONENTS*/get MAX_VERTEX_UNIFORM_COMPONENTS() { + return 35658; + }, + /*web_gl.WebGL.MAX_VERTEX_UNIFORM_VECTORS*/get MAX_VERTEX_UNIFORM_VECTORS() { + return 36347; + }, + /*web_gl.WebGL.MAX_VIEWPORT_DIMS*/get MAX_VIEWPORT_DIMS() { + return 3386; + }, + /*web_gl.WebGL.MEDIUM_FLOAT*/get MEDIUM_FLOAT() { + return 36337; + }, + /*web_gl.WebGL.MEDIUM_INT*/get MEDIUM_INT() { + return 36340; + }, + /*web_gl.WebGL.MIN*/get MIN() { + return 32775; + }, + /*web_gl.WebGL.MIN_PROGRAM_TEXEL_OFFSET*/get MIN_PROGRAM_TEXEL_OFFSET() { + return 35076; + }, + /*web_gl.WebGL.MIRRORED_REPEAT*/get MIRRORED_REPEAT() { + return 33648; + }, + /*web_gl.WebGL.NEAREST*/get NEAREST() { + return 9728; + }, + /*web_gl.WebGL.NEAREST_MIPMAP_LINEAR*/get NEAREST_MIPMAP_LINEAR() { + return 9986; + }, + /*web_gl.WebGL.NEAREST_MIPMAP_NEAREST*/get NEAREST_MIPMAP_NEAREST() { + return 9984; + }, + /*web_gl.WebGL.NEVER*/get NEVER() { + return 512; + }, + /*web_gl.WebGL.NICEST*/get NICEST() { + return 4354; + }, + /*web_gl.WebGL.NONE*/get NONE() { + return 0; + }, + /*web_gl.WebGL.NOTEQUAL*/get NOTEQUAL() { + return 517; + }, + /*web_gl.WebGL.NO_ERROR*/get NO_ERROR() { + return 0; + }, + /*web_gl.WebGL.OBJECT_TYPE*/get OBJECT_TYPE() { + return 37138; + }, + /*web_gl.WebGL.ONE*/get ONE() { + return 1; + }, + /*web_gl.WebGL.ONE_MINUS_CONSTANT_ALPHA*/get ONE_MINUS_CONSTANT_ALPHA() { + return 32772; + }, + /*web_gl.WebGL.ONE_MINUS_CONSTANT_COLOR*/get ONE_MINUS_CONSTANT_COLOR() { + return 32770; + }, + /*web_gl.WebGL.ONE_MINUS_DST_ALPHA*/get ONE_MINUS_DST_ALPHA() { + return 773; + }, + /*web_gl.WebGL.ONE_MINUS_DST_COLOR*/get ONE_MINUS_DST_COLOR() { + return 775; + }, + /*web_gl.WebGL.ONE_MINUS_SRC_ALPHA*/get ONE_MINUS_SRC_ALPHA() { + return 771; + }, + /*web_gl.WebGL.ONE_MINUS_SRC_COLOR*/get ONE_MINUS_SRC_COLOR() { + return 769; + }, + /*web_gl.WebGL.OUT_OF_MEMORY*/get OUT_OF_MEMORY() { + return 1285; + }, + /*web_gl.WebGL.PACK_ALIGNMENT*/get PACK_ALIGNMENT() { + return 3333; + }, + /*web_gl.WebGL.PACK_ROW_LENGTH*/get PACK_ROW_LENGTH() { + return 3330; + }, + /*web_gl.WebGL.PACK_SKIP_PIXELS*/get PACK_SKIP_PIXELS() { + return 3332; + }, + /*web_gl.WebGL.PACK_SKIP_ROWS*/get PACK_SKIP_ROWS() { + return 3331; + }, + /*web_gl.WebGL.PIXEL_PACK_BUFFER*/get PIXEL_PACK_BUFFER() { + return 35051; + }, + /*web_gl.WebGL.PIXEL_PACK_BUFFER_BINDING*/get PIXEL_PACK_BUFFER_BINDING() { + return 35053; + }, + /*web_gl.WebGL.PIXEL_UNPACK_BUFFER*/get PIXEL_UNPACK_BUFFER() { + return 35052; + }, + /*web_gl.WebGL.PIXEL_UNPACK_BUFFER_BINDING*/get PIXEL_UNPACK_BUFFER_BINDING() { + return 35055; + }, + /*web_gl.WebGL.POINTS*/get POINTS() { + return 0; + }, + /*web_gl.WebGL.POLYGON_OFFSET_FACTOR*/get POLYGON_OFFSET_FACTOR() { + return 32824; + }, + /*web_gl.WebGL.POLYGON_OFFSET_FILL*/get POLYGON_OFFSET_FILL() { + return 32823; + }, + /*web_gl.WebGL.POLYGON_OFFSET_UNITS*/get POLYGON_OFFSET_UNITS() { + return 10752; + }, + /*web_gl.WebGL.QUERY_RESULT*/get QUERY_RESULT() { + return 34918; + }, + /*web_gl.WebGL.QUERY_RESULT_AVAILABLE*/get QUERY_RESULT_AVAILABLE() { + return 34919; + }, + /*web_gl.WebGL.R11F_G11F_B10F*/get R11F_G11F_B10F() { + return 35898; + }, + /*web_gl.WebGL.R16F*/get R16F() { + return 33325; + }, + /*web_gl.WebGL.R16I*/get R16I() { + return 33331; + }, + /*web_gl.WebGL.R16UI*/get R16UI() { + return 33332; + }, + /*web_gl.WebGL.R32F*/get R32F() { + return 33326; + }, + /*web_gl.WebGL.R32I*/get R32I() { + return 33333; + }, + /*web_gl.WebGL.R32UI*/get R32UI() { + return 33334; + }, + /*web_gl.WebGL.R8*/get R8() { + return 33321; + }, + /*web_gl.WebGL.R8I*/get R8I() { + return 33329; + }, + /*web_gl.WebGL.R8UI*/get R8UI() { + return 33330; + }, + /*web_gl.WebGL.R8_SNORM*/get R8_SNORM() { + return 36756; + }, + /*web_gl.WebGL.RASTERIZER_DISCARD*/get RASTERIZER_DISCARD() { + return 35977; + }, + /*web_gl.WebGL.READ_BUFFER*/get READ_BUFFER() { + return 3074; + }, + /*web_gl.WebGL.READ_FRAMEBUFFER*/get READ_FRAMEBUFFER() { + return 36008; + }, + /*web_gl.WebGL.READ_FRAMEBUFFER_BINDING*/get READ_FRAMEBUFFER_BINDING() { + return 36010; + }, + /*web_gl.WebGL.RED*/get RED() { + return 6403; + }, + /*web_gl.WebGL.RED_BITS*/get RED_BITS() { + return 3410; + }, + /*web_gl.WebGL.RED_INTEGER*/get RED_INTEGER() { + return 36244; + }, + /*web_gl.WebGL.RENDERBUFFER*/get RENDERBUFFER() { + return 36161; + }, + /*web_gl.WebGL.RENDERBUFFER_ALPHA_SIZE*/get RENDERBUFFER_ALPHA_SIZE() { + return 36179; + }, + /*web_gl.WebGL.RENDERBUFFER_BINDING*/get RENDERBUFFER_BINDING() { + return 36007; + }, + /*web_gl.WebGL.RENDERBUFFER_BLUE_SIZE*/get RENDERBUFFER_BLUE_SIZE() { + return 36178; + }, + /*web_gl.WebGL.RENDERBUFFER_DEPTH_SIZE*/get RENDERBUFFER_DEPTH_SIZE() { + return 36180; + }, + /*web_gl.WebGL.RENDERBUFFER_GREEN_SIZE*/get RENDERBUFFER_GREEN_SIZE() { + return 36177; + }, + /*web_gl.WebGL.RENDERBUFFER_HEIGHT*/get RENDERBUFFER_HEIGHT() { + return 36163; + }, + /*web_gl.WebGL.RENDERBUFFER_INTERNAL_FORMAT*/get RENDERBUFFER_INTERNAL_FORMAT() { + return 36164; + }, + /*web_gl.WebGL.RENDERBUFFER_RED_SIZE*/get RENDERBUFFER_RED_SIZE() { + return 36176; + }, + /*web_gl.WebGL.RENDERBUFFER_SAMPLES*/get RENDERBUFFER_SAMPLES() { + return 36011; + }, + /*web_gl.WebGL.RENDERBUFFER_STENCIL_SIZE*/get RENDERBUFFER_STENCIL_SIZE() { + return 36181; + }, + /*web_gl.WebGL.RENDERBUFFER_WIDTH*/get RENDERBUFFER_WIDTH() { + return 36162; + }, + /*web_gl.WebGL.RENDERER*/get RENDERER() { + return 7937; + }, + /*web_gl.WebGL.REPEAT*/get REPEAT() { + return 10497; + }, + /*web_gl.WebGL.REPLACE*/get REPLACE() { + return 7681; + }, + /*web_gl.WebGL.RG*/get RG() { + return 33319; + }, + /*web_gl.WebGL.RG16F*/get RG16F() { + return 33327; + }, + /*web_gl.WebGL.RG16I*/get RG16I() { + return 33337; + }, + /*web_gl.WebGL.RG16UI*/get RG16UI() { + return 33338; + }, + /*web_gl.WebGL.RG32F*/get RG32F() { + return 33328; + }, + /*web_gl.WebGL.RG32I*/get RG32I() { + return 33339; + }, + /*web_gl.WebGL.RG32UI*/get RG32UI() { + return 33340; + }, + /*web_gl.WebGL.RG8*/get RG8() { + return 33323; + }, + /*web_gl.WebGL.RG8I*/get RG8I() { + return 33335; + }, + /*web_gl.WebGL.RG8UI*/get RG8UI() { + return 33336; + }, + /*web_gl.WebGL.RG8_SNORM*/get RG8_SNORM() { + return 36757; + }, + /*web_gl.WebGL.RGB*/get RGB() { + return 6407; + }, + /*web_gl.WebGL.RGB10_A2*/get RGB10_A2() { + return 32857; + }, + /*web_gl.WebGL.RGB10_A2UI*/get RGB10_A2UI() { + return 36975; + }, + /*web_gl.WebGL.RGB16F*/get RGB16F() { + return 34843; + }, + /*web_gl.WebGL.RGB16I*/get RGB16I() { + return 36233; + }, + /*web_gl.WebGL.RGB16UI*/get RGB16UI() { + return 36215; + }, + /*web_gl.WebGL.RGB32F*/get RGB32F() { + return 34837; + }, + /*web_gl.WebGL.RGB32I*/get RGB32I() { + return 36227; + }, + /*web_gl.WebGL.RGB32UI*/get RGB32UI() { + return 36209; + }, + /*web_gl.WebGL.RGB565*/get RGB565() { + return 36194; + }, + /*web_gl.WebGL.RGB5_A1*/get RGB5_A1() { + return 32855; + }, + /*web_gl.WebGL.RGB8*/get RGB8() { + return 32849; + }, + /*web_gl.WebGL.RGB8I*/get RGB8I() { + return 36239; + }, + /*web_gl.WebGL.RGB8UI*/get RGB8UI() { + return 36221; + }, + /*web_gl.WebGL.RGB8_SNORM*/get RGB8_SNORM() { + return 36758; + }, + /*web_gl.WebGL.RGB9_E5*/get RGB9_E5() { + return 35901; + }, + /*web_gl.WebGL.RGBA*/get RGBA() { + return 6408; + }, + /*web_gl.WebGL.RGBA16F*/get RGBA16F() { + return 34842; + }, + /*web_gl.WebGL.RGBA16I*/get RGBA16I() { + return 36232; + }, + /*web_gl.WebGL.RGBA16UI*/get RGBA16UI() { + return 36214; + }, + /*web_gl.WebGL.RGBA32F*/get RGBA32F() { + return 34836; + }, + /*web_gl.WebGL.RGBA32I*/get RGBA32I() { + return 36226; + }, + /*web_gl.WebGL.RGBA32UI*/get RGBA32UI() { + return 36208; + }, + /*web_gl.WebGL.RGBA4*/get RGBA4() { + return 32854; + }, + /*web_gl.WebGL.RGBA8*/get RGBA8() { + return 32856; + }, + /*web_gl.WebGL.RGBA8I*/get RGBA8I() { + return 36238; + }, + /*web_gl.WebGL.RGBA8UI*/get RGBA8UI() { + return 36220; + }, + /*web_gl.WebGL.RGBA8_SNORM*/get RGBA8_SNORM() { + return 36759; + }, + /*web_gl.WebGL.RGBA_INTEGER*/get RGBA_INTEGER() { + return 36249; + }, + /*web_gl.WebGL.RGB_INTEGER*/get RGB_INTEGER() { + return 36248; + }, + /*web_gl.WebGL.RG_INTEGER*/get RG_INTEGER() { + return 33320; + }, + /*web_gl.WebGL.SAMPLER_2D*/get SAMPLER_2D() { + return 35678; + }, + /*web_gl.WebGL.SAMPLER_2D_ARRAY*/get SAMPLER_2D_ARRAY() { + return 36289; + }, + /*web_gl.WebGL.SAMPLER_2D_ARRAY_SHADOW*/get SAMPLER_2D_ARRAY_SHADOW() { + return 36292; + }, + /*web_gl.WebGL.SAMPLER_2D_SHADOW*/get SAMPLER_2D_SHADOW() { + return 35682; + }, + /*web_gl.WebGL.SAMPLER_3D*/get SAMPLER_3D() { + return 35679; + }, + /*web_gl.WebGL.SAMPLER_BINDING*/get SAMPLER_BINDING() { + return 35097; + }, + /*web_gl.WebGL.SAMPLER_CUBE*/get SAMPLER_CUBE() { + return 35680; + }, + /*web_gl.WebGL.SAMPLER_CUBE_SHADOW*/get SAMPLER_CUBE_SHADOW() { + return 36293; + }, + /*web_gl.WebGL.SAMPLES*/get SAMPLES() { + return 32937; + }, + /*web_gl.WebGL.SAMPLE_ALPHA_TO_COVERAGE*/get SAMPLE_ALPHA_TO_COVERAGE() { + return 32926; + }, + /*web_gl.WebGL.SAMPLE_BUFFERS*/get SAMPLE_BUFFERS() { + return 32936; + }, + /*web_gl.WebGL.SAMPLE_COVERAGE*/get SAMPLE_COVERAGE() { + return 32928; + }, + /*web_gl.WebGL.SAMPLE_COVERAGE_INVERT*/get SAMPLE_COVERAGE_INVERT() { + return 32939; + }, + /*web_gl.WebGL.SAMPLE_COVERAGE_VALUE*/get SAMPLE_COVERAGE_VALUE() { + return 32938; + }, + /*web_gl.WebGL.SCISSOR_BOX*/get SCISSOR_BOX() { + return 3088; + }, + /*web_gl.WebGL.SCISSOR_TEST*/get SCISSOR_TEST() { + return 3089; + }, + /*web_gl.WebGL.SEPARATE_ATTRIBS*/get SEPARATE_ATTRIBS() { + return 35981; + }, + /*web_gl.WebGL.SHADER_TYPE*/get SHADER_TYPE() { + return 35663; + }, + /*web_gl.WebGL.SHADING_LANGUAGE_VERSION*/get SHADING_LANGUAGE_VERSION() { + return 35724; + }, + /*web_gl.WebGL.SHORT*/get SHORT() { + return 5122; + }, + /*web_gl.WebGL.SIGNALED*/get SIGNALED() { + return 37145; + }, + /*web_gl.WebGL.SIGNED_NORMALIZED*/get SIGNED_NORMALIZED() { + return 36764; + }, + /*web_gl.WebGL.SRC_ALPHA*/get SRC_ALPHA() { + return 770; + }, + /*web_gl.WebGL.SRC_ALPHA_SATURATE*/get SRC_ALPHA_SATURATE() { + return 776; + }, + /*web_gl.WebGL.SRC_COLOR*/get SRC_COLOR() { + return 768; + }, + /*web_gl.WebGL.SRGB*/get SRGB() { + return 35904; + }, + /*web_gl.WebGL.SRGB8*/get SRGB8() { + return 35905; + }, + /*web_gl.WebGL.SRGB8_ALPHA8*/get SRGB8_ALPHA8() { + return 35907; + }, + /*web_gl.WebGL.STATIC_COPY*/get STATIC_COPY() { + return 35046; + }, + /*web_gl.WebGL.STATIC_DRAW*/get STATIC_DRAW() { + return 35044; + }, + /*web_gl.WebGL.STATIC_READ*/get STATIC_READ() { + return 35045; + }, + /*web_gl.WebGL.STENCIL*/get STENCIL() { + return 6146; + }, + /*web_gl.WebGL.STENCIL_ATTACHMENT*/get STENCIL_ATTACHMENT() { + return 36128; + }, + /*web_gl.WebGL.STENCIL_BACK_FAIL*/get STENCIL_BACK_FAIL() { + return 34817; + }, + /*web_gl.WebGL.STENCIL_BACK_FUNC*/get STENCIL_BACK_FUNC() { + return 34816; + }, + /*web_gl.WebGL.STENCIL_BACK_PASS_DEPTH_FAIL*/get STENCIL_BACK_PASS_DEPTH_FAIL() { + return 34818; + }, + /*web_gl.WebGL.STENCIL_BACK_PASS_DEPTH_PASS*/get STENCIL_BACK_PASS_DEPTH_PASS() { + return 34819; + }, + /*web_gl.WebGL.STENCIL_BACK_REF*/get STENCIL_BACK_REF() { + return 36003; + }, + /*web_gl.WebGL.STENCIL_BACK_VALUE_MASK*/get STENCIL_BACK_VALUE_MASK() { + return 36004; + }, + /*web_gl.WebGL.STENCIL_BACK_WRITEMASK*/get STENCIL_BACK_WRITEMASK() { + return 36005; + }, + /*web_gl.WebGL.STENCIL_BITS*/get STENCIL_BITS() { + return 3415; + }, + /*web_gl.WebGL.STENCIL_BUFFER_BIT*/get STENCIL_BUFFER_BIT() { + return 1024; + }, + /*web_gl.WebGL.STENCIL_CLEAR_VALUE*/get STENCIL_CLEAR_VALUE() { + return 2961; + }, + /*web_gl.WebGL.STENCIL_FAIL*/get STENCIL_FAIL() { + return 2964; + }, + /*web_gl.WebGL.STENCIL_FUNC*/get STENCIL_FUNC() { + return 2962; + }, + /*web_gl.WebGL.STENCIL_INDEX8*/get STENCIL_INDEX8() { + return 36168; + }, + /*web_gl.WebGL.STENCIL_PASS_DEPTH_FAIL*/get STENCIL_PASS_DEPTH_FAIL() { + return 2965; + }, + /*web_gl.WebGL.STENCIL_PASS_DEPTH_PASS*/get STENCIL_PASS_DEPTH_PASS() { + return 2966; + }, + /*web_gl.WebGL.STENCIL_REF*/get STENCIL_REF() { + return 2967; + }, + /*web_gl.WebGL.STENCIL_TEST*/get STENCIL_TEST() { + return 2960; + }, + /*web_gl.WebGL.STENCIL_VALUE_MASK*/get STENCIL_VALUE_MASK() { + return 2963; + }, + /*web_gl.WebGL.STENCIL_WRITEMASK*/get STENCIL_WRITEMASK() { + return 2968; + }, + /*web_gl.WebGL.STREAM_COPY*/get STREAM_COPY() { + return 35042; + }, + /*web_gl.WebGL.STREAM_DRAW*/get STREAM_DRAW() { + return 35040; + }, + /*web_gl.WebGL.STREAM_READ*/get STREAM_READ() { + return 35041; + }, + /*web_gl.WebGL.SUBPIXEL_BITS*/get SUBPIXEL_BITS() { + return 3408; + }, + /*web_gl.WebGL.SYNC_CONDITION*/get SYNC_CONDITION() { + return 37139; + }, + /*web_gl.WebGL.SYNC_FENCE*/get SYNC_FENCE() { + return 37142; + }, + /*web_gl.WebGL.SYNC_FLAGS*/get SYNC_FLAGS() { + return 37141; + }, + /*web_gl.WebGL.SYNC_FLUSH_COMMANDS_BIT*/get SYNC_FLUSH_COMMANDS_BIT() { + return 1; + }, + /*web_gl.WebGL.SYNC_GPU_COMMANDS_COMPLETE*/get SYNC_GPU_COMMANDS_COMPLETE() { + return 37143; + }, + /*web_gl.WebGL.SYNC_STATUS*/get SYNC_STATUS() { + return 37140; + }, + /*web_gl.WebGL.TEXTURE*/get TEXTURE() { + return 5890; + }, + /*web_gl.WebGL.TEXTURE0*/get TEXTURE0() { + return 33984; + }, + /*web_gl.WebGL.TEXTURE1*/get TEXTURE1() { + return 33985; + }, + /*web_gl.WebGL.TEXTURE10*/get TEXTURE10() { + return 33994; + }, + /*web_gl.WebGL.TEXTURE11*/get TEXTURE11() { + return 33995; + }, + /*web_gl.WebGL.TEXTURE12*/get TEXTURE12() { + return 33996; + }, + /*web_gl.WebGL.TEXTURE13*/get TEXTURE13() { + return 33997; + }, + /*web_gl.WebGL.TEXTURE14*/get TEXTURE14() { + return 33998; + }, + /*web_gl.WebGL.TEXTURE15*/get TEXTURE15() { + return 33999; + }, + /*web_gl.WebGL.TEXTURE16*/get TEXTURE16() { + return 34000; + }, + /*web_gl.WebGL.TEXTURE17*/get TEXTURE17() { + return 34001; + }, + /*web_gl.WebGL.TEXTURE18*/get TEXTURE18() { + return 34002; + }, + /*web_gl.WebGL.TEXTURE19*/get TEXTURE19() { + return 34003; + }, + /*web_gl.WebGL.TEXTURE2*/get TEXTURE2() { + return 33986; + }, + /*web_gl.WebGL.TEXTURE20*/get TEXTURE20() { + return 34004; + }, + /*web_gl.WebGL.TEXTURE21*/get TEXTURE21() { + return 34005; + }, + /*web_gl.WebGL.TEXTURE22*/get TEXTURE22() { + return 34006; + }, + /*web_gl.WebGL.TEXTURE23*/get TEXTURE23() { + return 34007; + }, + /*web_gl.WebGL.TEXTURE24*/get TEXTURE24() { + return 34008; + }, + /*web_gl.WebGL.TEXTURE25*/get TEXTURE25() { + return 34009; + }, + /*web_gl.WebGL.TEXTURE26*/get TEXTURE26() { + return 34010; + }, + /*web_gl.WebGL.TEXTURE27*/get TEXTURE27() { + return 34011; + }, + /*web_gl.WebGL.TEXTURE28*/get TEXTURE28() { + return 34012; + }, + /*web_gl.WebGL.TEXTURE29*/get TEXTURE29() { + return 34013; + }, + /*web_gl.WebGL.TEXTURE3*/get TEXTURE3() { + return 33987; + }, + /*web_gl.WebGL.TEXTURE30*/get TEXTURE30() { + return 34014; + }, + /*web_gl.WebGL.TEXTURE31*/get TEXTURE31() { + return 34015; + }, + /*web_gl.WebGL.TEXTURE4*/get TEXTURE4() { + return 33988; + }, + /*web_gl.WebGL.TEXTURE5*/get TEXTURE5() { + return 33989; + }, + /*web_gl.WebGL.TEXTURE6*/get TEXTURE6() { + return 33990; + }, + /*web_gl.WebGL.TEXTURE7*/get TEXTURE7() { + return 33991; + }, + /*web_gl.WebGL.TEXTURE8*/get TEXTURE8() { + return 33992; + }, + /*web_gl.WebGL.TEXTURE9*/get TEXTURE9() { + return 33993; + }, + /*web_gl.WebGL.TEXTURE_2D*/get TEXTURE_2D() { + return 3553; + }, + /*web_gl.WebGL.TEXTURE_2D_ARRAY*/get TEXTURE_2D_ARRAY() { + return 35866; + }, + /*web_gl.WebGL.TEXTURE_3D*/get TEXTURE_3D() { + return 32879; + }, + /*web_gl.WebGL.TEXTURE_BASE_LEVEL*/get TEXTURE_BASE_LEVEL() { + return 33084; + }, + /*web_gl.WebGL.TEXTURE_BINDING_2D*/get TEXTURE_BINDING_2D() { + return 32873; + }, + /*web_gl.WebGL.TEXTURE_BINDING_2D_ARRAY*/get TEXTURE_BINDING_2D_ARRAY() { + return 35869; + }, + /*web_gl.WebGL.TEXTURE_BINDING_3D*/get TEXTURE_BINDING_3D() { + return 32874; + }, + /*web_gl.WebGL.TEXTURE_BINDING_CUBE_MAP*/get TEXTURE_BINDING_CUBE_MAP() { + return 34068; + }, + /*web_gl.WebGL.TEXTURE_COMPARE_FUNC*/get TEXTURE_COMPARE_FUNC() { + return 34893; + }, + /*web_gl.WebGL.TEXTURE_COMPARE_MODE*/get TEXTURE_COMPARE_MODE() { + return 34892; + }, + /*web_gl.WebGL.TEXTURE_CUBE_MAP*/get TEXTURE_CUBE_MAP() { + return 34067; + }, + /*web_gl.WebGL.TEXTURE_CUBE_MAP_NEGATIVE_X*/get TEXTURE_CUBE_MAP_NEGATIVE_X() { + return 34070; + }, + /*web_gl.WebGL.TEXTURE_CUBE_MAP_NEGATIVE_Y*/get TEXTURE_CUBE_MAP_NEGATIVE_Y() { + return 34072; + }, + /*web_gl.WebGL.TEXTURE_CUBE_MAP_NEGATIVE_Z*/get TEXTURE_CUBE_MAP_NEGATIVE_Z() { + return 34074; + }, + /*web_gl.WebGL.TEXTURE_CUBE_MAP_POSITIVE_X*/get TEXTURE_CUBE_MAP_POSITIVE_X() { + return 34069; + }, + /*web_gl.WebGL.TEXTURE_CUBE_MAP_POSITIVE_Y*/get TEXTURE_CUBE_MAP_POSITIVE_Y() { + return 34071; + }, + /*web_gl.WebGL.TEXTURE_CUBE_MAP_POSITIVE_Z*/get TEXTURE_CUBE_MAP_POSITIVE_Z() { + return 34073; + }, + /*web_gl.WebGL.TEXTURE_IMMUTABLE_FORMAT*/get TEXTURE_IMMUTABLE_FORMAT() { + return 37167; + }, + /*web_gl.WebGL.TEXTURE_IMMUTABLE_LEVELS*/get TEXTURE_IMMUTABLE_LEVELS() { + return 33503; + }, + /*web_gl.WebGL.TEXTURE_MAG_FILTER*/get TEXTURE_MAG_FILTER() { + return 10240; + }, + /*web_gl.WebGL.TEXTURE_MAX_LEVEL*/get TEXTURE_MAX_LEVEL() { + return 33085; + }, + /*web_gl.WebGL.TEXTURE_MAX_LOD*/get TEXTURE_MAX_LOD() { + return 33083; + }, + /*web_gl.WebGL.TEXTURE_MIN_FILTER*/get TEXTURE_MIN_FILTER() { + return 10241; + }, + /*web_gl.WebGL.TEXTURE_MIN_LOD*/get TEXTURE_MIN_LOD() { + return 33082; + }, + /*web_gl.WebGL.TEXTURE_WRAP_R*/get TEXTURE_WRAP_R() { + return 32882; + }, + /*web_gl.WebGL.TEXTURE_WRAP_S*/get TEXTURE_WRAP_S() { + return 10242; + }, + /*web_gl.WebGL.TEXTURE_WRAP_T*/get TEXTURE_WRAP_T() { + return 10243; + }, + /*web_gl.WebGL.TIMEOUT_EXPIRED*/get TIMEOUT_EXPIRED() { + return 37147; + }, + /*web_gl.WebGL.TIMEOUT_IGNORED*/get TIMEOUT_IGNORED() { + return -1; + }, + /*web_gl.WebGL.TRANSFORM_FEEDBACK*/get TRANSFORM_FEEDBACK() { + return 36386; + }, + /*web_gl.WebGL.TRANSFORM_FEEDBACK_ACTIVE*/get TRANSFORM_FEEDBACK_ACTIVE() { + return 36388; + }, + /*web_gl.WebGL.TRANSFORM_FEEDBACK_BINDING*/get TRANSFORM_FEEDBACK_BINDING() { + return 36389; + }, + /*web_gl.WebGL.TRANSFORM_FEEDBACK_BUFFER*/get TRANSFORM_FEEDBACK_BUFFER() { + return 35982; + }, + /*web_gl.WebGL.TRANSFORM_FEEDBACK_BUFFER_BINDING*/get TRANSFORM_FEEDBACK_BUFFER_BINDING() { + return 35983; + }, + /*web_gl.WebGL.TRANSFORM_FEEDBACK_BUFFER_MODE*/get TRANSFORM_FEEDBACK_BUFFER_MODE() { + return 35967; + }, + /*web_gl.WebGL.TRANSFORM_FEEDBACK_BUFFER_SIZE*/get TRANSFORM_FEEDBACK_BUFFER_SIZE() { + return 35973; + }, + /*web_gl.WebGL.TRANSFORM_FEEDBACK_BUFFER_START*/get TRANSFORM_FEEDBACK_BUFFER_START() { + return 35972; + }, + /*web_gl.WebGL.TRANSFORM_FEEDBACK_PAUSED*/get TRANSFORM_FEEDBACK_PAUSED() { + return 36387; + }, + /*web_gl.WebGL.TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN*/get TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN() { + return 35976; + }, + /*web_gl.WebGL.TRANSFORM_FEEDBACK_VARYINGS*/get TRANSFORM_FEEDBACK_VARYINGS() { + return 35971; + }, + /*web_gl.WebGL.TRIANGLES*/get TRIANGLES() { + return 4; + }, + /*web_gl.WebGL.TRIANGLE_FAN*/get TRIANGLE_FAN() { + return 6; + }, + /*web_gl.WebGL.TRIANGLE_STRIP*/get TRIANGLE_STRIP() { + return 5; + }, + /*web_gl.WebGL.UNIFORM_ARRAY_STRIDE*/get UNIFORM_ARRAY_STRIDE() { + return 35388; + }, + /*web_gl.WebGL.UNIFORM_BLOCK_ACTIVE_UNIFORMS*/get UNIFORM_BLOCK_ACTIVE_UNIFORMS() { + return 35394; + }, + /*web_gl.WebGL.UNIFORM_BLOCK_ACTIVE_UNIFORM_INDICES*/get UNIFORM_BLOCK_ACTIVE_UNIFORM_INDICES() { + return 35395; + }, + /*web_gl.WebGL.UNIFORM_BLOCK_BINDING*/get UNIFORM_BLOCK_BINDING() { + return 35391; + }, + /*web_gl.WebGL.UNIFORM_BLOCK_DATA_SIZE*/get UNIFORM_BLOCK_DATA_SIZE() { + return 35392; + }, + /*web_gl.WebGL.UNIFORM_BLOCK_INDEX*/get UNIFORM_BLOCK_INDEX() { + return 35386; + }, + /*web_gl.WebGL.UNIFORM_BLOCK_REFERENCED_BY_FRAGMENT_SHADER*/get UNIFORM_BLOCK_REFERENCED_BY_FRAGMENT_SHADER() { + return 35398; + }, + /*web_gl.WebGL.UNIFORM_BLOCK_REFERENCED_BY_VERTEX_SHADER*/get UNIFORM_BLOCK_REFERENCED_BY_VERTEX_SHADER() { + return 35396; + }, + /*web_gl.WebGL.UNIFORM_BUFFER*/get UNIFORM_BUFFER() { + return 35345; + }, + /*web_gl.WebGL.UNIFORM_BUFFER_BINDING*/get UNIFORM_BUFFER_BINDING() { + return 35368; + }, + /*web_gl.WebGL.UNIFORM_BUFFER_OFFSET_ALIGNMENT*/get UNIFORM_BUFFER_OFFSET_ALIGNMENT() { + return 35380; + }, + /*web_gl.WebGL.UNIFORM_BUFFER_SIZE*/get UNIFORM_BUFFER_SIZE() { + return 35370; + }, + /*web_gl.WebGL.UNIFORM_BUFFER_START*/get UNIFORM_BUFFER_START() { + return 35369; + }, + /*web_gl.WebGL.UNIFORM_IS_ROW_MAJOR*/get UNIFORM_IS_ROW_MAJOR() { + return 35390; + }, + /*web_gl.WebGL.UNIFORM_MATRIX_STRIDE*/get UNIFORM_MATRIX_STRIDE() { + return 35389; + }, + /*web_gl.WebGL.UNIFORM_OFFSET*/get UNIFORM_OFFSET() { + return 35387; + }, + /*web_gl.WebGL.UNIFORM_SIZE*/get UNIFORM_SIZE() { + return 35384; + }, + /*web_gl.WebGL.UNIFORM_TYPE*/get UNIFORM_TYPE() { + return 35383; + }, + /*web_gl.WebGL.UNPACK_ALIGNMENT*/get UNPACK_ALIGNMENT() { + return 3317; + }, + /*web_gl.WebGL.UNPACK_COLORSPACE_CONVERSION_WEBGL*/get UNPACK_COLORSPACE_CONVERSION_WEBGL() { + return 37443; + }, + /*web_gl.WebGL.UNPACK_FLIP_Y_WEBGL*/get UNPACK_FLIP_Y_WEBGL() { + return 37440; + }, + /*web_gl.WebGL.UNPACK_IMAGE_HEIGHT*/get UNPACK_IMAGE_HEIGHT() { + return 32878; + }, + /*web_gl.WebGL.UNPACK_PREMULTIPLY_ALPHA_WEBGL*/get UNPACK_PREMULTIPLY_ALPHA_WEBGL() { + return 37441; + }, + /*web_gl.WebGL.UNPACK_ROW_LENGTH*/get UNPACK_ROW_LENGTH() { + return 3314; + }, + /*web_gl.WebGL.UNPACK_SKIP_IMAGES*/get UNPACK_SKIP_IMAGES() { + return 32877; + }, + /*web_gl.WebGL.UNPACK_SKIP_PIXELS*/get UNPACK_SKIP_PIXELS() { + return 3316; + }, + /*web_gl.WebGL.UNPACK_SKIP_ROWS*/get UNPACK_SKIP_ROWS() { + return 3315; + }, + /*web_gl.WebGL.UNSIGNALED*/get UNSIGNALED() { + return 37144; + }, + /*web_gl.WebGL.UNSIGNED_BYTE*/get UNSIGNED_BYTE() { + return 5121; + }, + /*web_gl.WebGL.UNSIGNED_INT*/get UNSIGNED_INT() { + return 5125; + }, + /*web_gl.WebGL.UNSIGNED_INT_10F_11F_11F_REV*/get UNSIGNED_INT_10F_11F_11F_REV() { + return 35899; + }, + /*web_gl.WebGL.UNSIGNED_INT_24_8*/get UNSIGNED_INT_24_8() { + return 34042; + }, + /*web_gl.WebGL.UNSIGNED_INT_2_10_10_10_REV*/get UNSIGNED_INT_2_10_10_10_REV() { + return 33640; + }, + /*web_gl.WebGL.UNSIGNED_INT_5_9_9_9_REV*/get UNSIGNED_INT_5_9_9_9_REV() { + return 35902; + }, + /*web_gl.WebGL.UNSIGNED_INT_SAMPLER_2D*/get UNSIGNED_INT_SAMPLER_2D() { + return 36306; + }, + /*web_gl.WebGL.UNSIGNED_INT_SAMPLER_2D_ARRAY*/get UNSIGNED_INT_SAMPLER_2D_ARRAY() { + return 36311; + }, + /*web_gl.WebGL.UNSIGNED_INT_SAMPLER_3D*/get UNSIGNED_INT_SAMPLER_3D() { + return 36307; + }, + /*web_gl.WebGL.UNSIGNED_INT_SAMPLER_CUBE*/get UNSIGNED_INT_SAMPLER_CUBE() { + return 36308; + }, + /*web_gl.WebGL.UNSIGNED_INT_VEC2*/get UNSIGNED_INT_VEC2() { + return 36294; + }, + /*web_gl.WebGL.UNSIGNED_INT_VEC3*/get UNSIGNED_INT_VEC3() { + return 36295; + }, + /*web_gl.WebGL.UNSIGNED_INT_VEC4*/get UNSIGNED_INT_VEC4() { + return 36296; + }, + /*web_gl.WebGL.UNSIGNED_NORMALIZED*/get UNSIGNED_NORMALIZED() { + return 35863; + }, + /*web_gl.WebGL.UNSIGNED_SHORT*/get UNSIGNED_SHORT() { + return 5123; + }, + /*web_gl.WebGL.UNSIGNED_SHORT_4_4_4_4*/get UNSIGNED_SHORT_4_4_4_4() { + return 32819; + }, + /*web_gl.WebGL.UNSIGNED_SHORT_5_5_5_1*/get UNSIGNED_SHORT_5_5_5_1() { + return 32820; + }, + /*web_gl.WebGL.UNSIGNED_SHORT_5_6_5*/get UNSIGNED_SHORT_5_6_5() { + return 33635; + }, + /*web_gl.WebGL.VALIDATE_STATUS*/get VALIDATE_STATUS() { + return 35715; + }, + /*web_gl.WebGL.VENDOR*/get VENDOR() { + return 7936; + }, + /*web_gl.WebGL.VERSION*/get VERSION() { + return 7938; + }, + /*web_gl.WebGL.VERTEX_ARRAY_BINDING*/get VERTEX_ARRAY_BINDING() { + return 34229; + }, + /*web_gl.WebGL.VERTEX_ATTRIB_ARRAY_BUFFER_BINDING*/get VERTEX_ATTRIB_ARRAY_BUFFER_BINDING() { + return 34975; + }, + /*web_gl.WebGL.VERTEX_ATTRIB_ARRAY_DIVISOR*/get VERTEX_ATTRIB_ARRAY_DIVISOR() { + return 35070; + }, + /*web_gl.WebGL.VERTEX_ATTRIB_ARRAY_ENABLED*/get VERTEX_ATTRIB_ARRAY_ENABLED() { + return 34338; + }, + /*web_gl.WebGL.VERTEX_ATTRIB_ARRAY_INTEGER*/get VERTEX_ATTRIB_ARRAY_INTEGER() { + return 35069; + }, + /*web_gl.WebGL.VERTEX_ATTRIB_ARRAY_NORMALIZED*/get VERTEX_ATTRIB_ARRAY_NORMALIZED() { + return 34922; + }, + /*web_gl.WebGL.VERTEX_ATTRIB_ARRAY_POINTER*/get VERTEX_ATTRIB_ARRAY_POINTER() { + return 34373; + }, + /*web_gl.WebGL.VERTEX_ATTRIB_ARRAY_SIZE*/get VERTEX_ATTRIB_ARRAY_SIZE() { + return 34339; + }, + /*web_gl.WebGL.VERTEX_ATTRIB_ARRAY_STRIDE*/get VERTEX_ATTRIB_ARRAY_STRIDE() { + return 34340; + }, + /*web_gl.WebGL.VERTEX_ATTRIB_ARRAY_TYPE*/get VERTEX_ATTRIB_ARRAY_TYPE() { + return 34341; + }, + /*web_gl.WebGL.VERTEX_SHADER*/get VERTEX_SHADER() { + return 35633; + }, + /*web_gl.WebGL.VIEWPORT*/get VIEWPORT() { + return 2978; + }, + /*web_gl.WebGL.WAIT_FAILED*/get WAIT_FAILED() { + return 37149; + }, + /*web_gl.WebGL.ZERO*/get ZERO() { + return 0; + } +}, false); +dart.registerExtension("WebGL", web_gl.WebGL); +web_gl._WebGL2RenderingContextBase = class _WebGL2RenderingContextBase extends _interceptors.Interceptor {}; +dart.addTypeTests(web_gl._WebGL2RenderingContextBase); +dart.addTypeCaches(web_gl._WebGL2RenderingContextBase); +web_gl._WebGL2RenderingContextBase[dart.implements] = () => [web_gl._WebGLRenderingContextBase]; +dart.setLibraryUri(web_gl._WebGL2RenderingContextBase, I[160]); +dart.registerExtension("WebGL2RenderingContextBase", web_gl._WebGL2RenderingContextBase); +web_gl._WebGLRenderingContextBase = class _WebGLRenderingContextBase extends _interceptors.Interceptor {}; +dart.addTypeTests(web_gl._WebGLRenderingContextBase); +dart.addTypeCaches(web_gl._WebGLRenderingContextBase); +dart.setLibraryUri(web_gl._WebGLRenderingContextBase, I[160]); +web_sql.SqlDatabase = class SqlDatabase extends _interceptors.Interceptor { + static get supported() { + return !!window.openDatabase; + } + get [S.$version]() { + return this.version; + } + [S$4._changeVersion](...args) { + return this.changeVersion.apply(this, args); + } + [S$4.$changeVersion](oldVersion, newVersion) { + if (oldVersion == null) dart.nullFailed(I[162], 119, 47, "oldVersion"); + if (newVersion == null) dart.nullFailed(I[162], 119, 66, "newVersion"); + let completer = T$0.CompleterOfSqlTransaction().new(); + this[S$4._changeVersion](oldVersion, newVersion, dart.fn(value => { + if (value == null) dart.nullFailed(I[162], 121, 45, "value"); + completer.complete(value); + }, T$0.SqlTransactionTovoid()), dart.fn(error => { + if (error == null) dart.nullFailed(I[162], 123, 9, "error"); + completer.completeError(error); + }, T$0.SqlErrorTovoid())); + return completer.future; + } + [S$4._readTransaction](...args) { + return this.readTransaction.apply(this, args); + } + [S$4.$readTransaction]() { + let completer = T$0.CompleterOfSqlTransaction().new(); + this[S$4._readTransaction](dart.fn(value => { + if (value == null) dart.nullFailed(I[162], 137, 23, "value"); + completer.complete(value); + }, T$0.SqlTransactionTovoid()), dart.fn(error => { + if (error == null) dart.nullFailed(I[162], 139, 9, "error"); + completer.completeError(error); + }, T$0.SqlErrorTovoid())); + return completer.future; + } + [S.$transaction](...args) { + return this.transaction.apply(this, args); + } + [S$4.$transaction_future]() { + let completer = T$0.CompleterOfSqlTransaction().new(); + this.transaction(dart.fn(value => { + if (value == null) dart.nullFailed(I[162], 152, 18, "value"); + _js_helper.applyExtension("SQLTransaction", value); + completer.complete(value); + }, T$0.SqlTransactionTovoid()), dart.fn(error => { + if (error == null) dart.nullFailed(I[162], 155, 9, "error"); + completer.completeError(error); + }, T$0.SqlErrorTovoid())); + return completer.future; + } +}; +dart.addTypeTests(web_sql.SqlDatabase); +dart.addTypeCaches(web_sql.SqlDatabase); +dart.setMethodSignature(web_sql.SqlDatabase, () => ({ + __proto__: dart.getMethods(web_sql.SqlDatabase.__proto__), + [S$4._changeVersion]: dart.fnType(dart.void, [core.String, core.String], [dart.nullable(dart.fnType(dart.void, [web_sql.SqlTransaction])), dart.nullable(dart.fnType(dart.void, [web_sql.SqlError])), dart.nullable(dart.fnType(dart.void, []))]), + [S$4.$changeVersion]: dart.fnType(async.Future$(web_sql.SqlTransaction), [core.String, core.String]), + [S$4._readTransaction]: dart.fnType(dart.void, [dart.fnType(dart.void, [web_sql.SqlTransaction])], [dart.nullable(dart.fnType(dart.void, [web_sql.SqlError])), dart.nullable(dart.fnType(dart.void, []))]), + [S$4.$readTransaction]: dart.fnType(async.Future$(web_sql.SqlTransaction), []), + [S.$transaction]: dart.fnType(dart.void, [dart.fnType(dart.void, [web_sql.SqlTransaction])], [dart.nullable(dart.fnType(dart.void, [web_sql.SqlError])), dart.nullable(dart.fnType(dart.void, []))]), + [S$4.$transaction_future]: dart.fnType(async.Future$(web_sql.SqlTransaction), []) +})); +dart.setGetterSignature(web_sql.SqlDatabase, () => ({ + __proto__: dart.getGetters(web_sql.SqlDatabase.__proto__), + [S.$version]: dart.nullable(core.String) +})); +dart.setLibraryUri(web_sql.SqlDatabase, I[163]); +dart.registerExtension("Database", web_sql.SqlDatabase); +web_sql.SqlError = class SqlError extends _interceptors.Interceptor { + get [S$.$code]() { + return this.code; + } + get [$message]() { + return this.message; + } +}; +dart.addTypeTests(web_sql.SqlError); +dart.addTypeCaches(web_sql.SqlError); +dart.setGetterSignature(web_sql.SqlError, () => ({ + __proto__: dart.getGetters(web_sql.SqlError.__proto__), + [S$.$code]: dart.nullable(core.int), + [$message]: dart.nullable(core.String) +})); +dart.setLibraryUri(web_sql.SqlError, I[163]); +dart.defineLazy(web_sql.SqlError, { + /*web_sql.SqlError.CONSTRAINT_ERR*/get CONSTRAINT_ERR() { + return 6; + }, + /*web_sql.SqlError.DATABASE_ERR*/get DATABASE_ERR() { + return 1; + }, + /*web_sql.SqlError.QUOTA_ERR*/get QUOTA_ERR() { + return 4; + }, + /*web_sql.SqlError.SYNTAX_ERR*/get SYNTAX_ERR() { + return 5; + }, + /*web_sql.SqlError.TIMEOUT_ERR*/get TIMEOUT_ERR() { + return 7; + }, + /*web_sql.SqlError.TOO_LARGE_ERR*/get TOO_LARGE_ERR() { + return 3; + }, + /*web_sql.SqlError.UNKNOWN_ERR*/get UNKNOWN_ERR() { + return 0; + }, + /*web_sql.SqlError.VERSION_ERR*/get VERSION_ERR() { + return 2; + } +}, false); +dart.registerExtension("SQLError", web_sql.SqlError); +web_sql.SqlResultSet = class SqlResultSet extends _interceptors.Interceptor { + get [S$4.$insertId]() { + return this.insertId; + } + get [S$2.$rows]() { + return this.rows; + } + get [S$4.$rowsAffected]() { + return this.rowsAffected; + } +}; +dart.addTypeTests(web_sql.SqlResultSet); +dart.addTypeCaches(web_sql.SqlResultSet); +dart.setGetterSignature(web_sql.SqlResultSet, () => ({ + __proto__: dart.getGetters(web_sql.SqlResultSet.__proto__), + [S$4.$insertId]: dart.nullable(core.int), + [S$2.$rows]: dart.nullable(web_sql.SqlResultSetRowList), + [S$4.$rowsAffected]: dart.nullable(core.int) +})); +dart.setLibraryUri(web_sql.SqlResultSet, I[163]); +dart.registerExtension("SQLResultSet", web_sql.SqlResultSet); +core.Map$ = dart.generic((K, V) => { + class Map extends core.Object { + static unmodifiable(other) { + if (other == null) dart.nullFailed(I[7], 562, 50, "other"); + return new (collection.UnmodifiableMapView$(K, V)).new(collection.LinkedHashMap$(K, V).from(other)); + } + static castFrom(K, V, K2, V2, source) { + if (source == null) dart.nullFailed(I[164], 166, 55, "source"); + return new (_internal.CastMap$(K, V, K2, V2)).new(source); + } + static fromEntries(entries) { + let t247; + if (entries == null) dart.nullFailed(I[164], 181, 52, "entries"); + t247 = new (_js_helper.LinkedMap$(K, V)).new(); + return (() => { + t247[$addEntries](entries); + return t247; + })(); + } + } + (Map[dart.mixinNew] = function() { + }).prototype = Map.prototype; + dart.addTypeTests(Map); + Map.prototype[dart.isMap] = true; + dart.addTypeCaches(Map); + dart.setLibraryUri(Map, I[8]); + return Map; +}); +core.Map = core.Map$(); +dart.addTypeTests(core.Map, dart.isMap); +const Interceptor_ListMixin$36$17 = class Interceptor_ListMixin extends _interceptors.Interceptor {}; +(Interceptor_ListMixin$36$17.new = function() { + Interceptor_ListMixin$36$17.__proto__.new.call(this); +}).prototype = Interceptor_ListMixin$36$17.prototype; +dart.applyMixin(Interceptor_ListMixin$36$17, collection.ListMixin$(core.Map)); +const Interceptor_ImmutableListMixin$36$17 = class Interceptor_ImmutableListMixin extends Interceptor_ListMixin$36$17 {}; +(Interceptor_ImmutableListMixin$36$17.new = function() { + Interceptor_ImmutableListMixin$36$17.__proto__.new.call(this); +}).prototype = Interceptor_ImmutableListMixin$36$17.prototype; +dart.applyMixin(Interceptor_ImmutableListMixin$36$17, html$.ImmutableListMixin$(core.Map)); +web_sql.SqlResultSetRowList = class SqlResultSetRowList extends Interceptor_ImmutableListMixin$36$17 { + get [$length]() { + return this.length; + } + [$_get](index) { + if (index == null) dart.nullFailed(I[162], 224, 23, "index"); + if (index >>> 0 !== index || index >= this[$length]) dart.throw(new core.IndexError.new(index, this)); + return dart.nullCheck(this[S$.$item](index)); + } + [$_set](index, value$) { + let value = value$; + if (index == null) dart.nullFailed(I[162], 230, 25, "index"); + core.Map.as(value); + if (value == null) dart.nullFailed(I[162], 230, 36, "value"); + dart.throw(new core.UnsupportedError.new("Cannot assign element of immutable List.")); + return value$; + } + set [$length](value) { + if (value == null) dart.nullFailed(I[162], 236, 18, "value"); + dart.throw(new core.UnsupportedError.new("Cannot resize immutable List.")); + } + get [$first]() { + if (dart.notNull(this[$length]) > 0) { + return this[0]; + } + dart.throw(new core.StateError.new("No elements")); + } + set [$first](value) { + super[$first] = value; + } + get [$last]() { + let len = this[$length]; + if (dart.notNull(len) > 0) { + return this[dart.notNull(len) - 1]; + } + dart.throw(new core.StateError.new("No elements")); + } + set [$last](value) { + super[$last] = value; + } + get [$single]() { + let len = this[$length]; + if (len === 1) { + return this[0]; + } + if (len === 0) dart.throw(new core.StateError.new("No elements")); + dart.throw(new core.StateError.new("More than one element")); + } + [$elementAt](index) { + if (index == null) dart.nullFailed(I[162], 264, 21, "index"); + return this[$_get](index); + } + [S$.$item](index) { + if (index == null) dart.nullFailed(I[162], 267, 17, "index"); + return html_common.convertNativeToDart_Dictionary(this[S$4._item_1](index)); + } + [S$4._item_1](...args) { + return this.item.apply(this, args); + } +}; +web_sql.SqlResultSetRowList.prototype[dart.isList] = true; +dart.addTypeTests(web_sql.SqlResultSetRowList); +dart.addTypeCaches(web_sql.SqlResultSetRowList); +web_sql.SqlResultSetRowList[dart.implements] = () => [core.List$(core.Map)]; +dart.setMethodSignature(web_sql.SqlResultSetRowList, () => ({ + __proto__: dart.getMethods(web_sql.SqlResultSetRowList.__proto__), + [$_get]: dart.fnType(core.Map, [core.int]), + [$_set]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), + [S$.$item]: dart.fnType(dart.nullable(core.Map), [core.int]), + [S$4._item_1]: dart.fnType(dart.dynamic, [dart.dynamic]) +})); +dart.setGetterSignature(web_sql.SqlResultSetRowList, () => ({ + __proto__: dart.getGetters(web_sql.SqlResultSetRowList.__proto__), + [$length]: core.int +})); +dart.setSetterSignature(web_sql.SqlResultSetRowList, () => ({ + __proto__: dart.getSetters(web_sql.SqlResultSetRowList.__proto__), + [$length]: core.int +})); +dart.setLibraryUri(web_sql.SqlResultSetRowList, I[163]); +dart.registerExtension("SQLResultSetRowList", web_sql.SqlResultSetRowList); +web_sql.SqlTransaction = class SqlTransaction extends _interceptors.Interceptor { + [S$4._executeSql](...args) { + return this.executeSql.apply(this, args); + } + [S$4.$executeSql](sqlStatement, $arguments = null) { + if (sqlStatement == null) dart.nullFailed(I[162], 296, 42, "sqlStatement"); + let completer = T$0.CompleterOfSqlResultSet().new(); + this[S$4._executeSql](sqlStatement, $arguments, dart.fn((transaction, resultSet) => { + if (transaction == null) dart.nullFailed(I[162], 298, 43, "transaction"); + if (resultSet == null) dart.nullFailed(I[162], 298, 56, "resultSet"); + _js_helper.applyExtension("SQLResultSet", resultSet); + _js_helper.applyExtension("SQLResultSetRowList", resultSet.rows); + completer.complete(resultSet); + }, T$0.SqlTransactionAndSqlResultSetTovoid()), dart.fn((transaction, error) => { + if (transaction == null) dart.nullFailed(I[162], 302, 9, "transaction"); + if (error == null) dart.nullFailed(I[162], 302, 22, "error"); + completer.completeError(error); + }, T$0.SqlTransactionAndSqlErrorTovoid())); + return completer.future; + } +}; +dart.addTypeTests(web_sql.SqlTransaction); +dart.addTypeCaches(web_sql.SqlTransaction); +dart.setMethodSignature(web_sql.SqlTransaction, () => ({ + __proto__: dart.getMethods(web_sql.SqlTransaction.__proto__), + [S$4._executeSql]: dart.fnType(dart.void, [core.String], [dart.nullable(core.List), dart.nullable(dart.fnType(dart.void, [web_sql.SqlTransaction, web_sql.SqlResultSet])), dart.nullable(dart.fnType(dart.void, [web_sql.SqlTransaction, web_sql.SqlError]))]), + [S$4.$executeSql]: dart.fnType(async.Future$(web_sql.SqlResultSet), [core.String], [dart.nullable(core.List)]) +})); +dart.setLibraryUri(web_sql.SqlTransaction, I[163]); +dart.registerExtension("SQLTransaction", web_sql.SqlTransaction); +var _errorMsg$ = dart.privateName(core, "_errorMsg"); +core._CompileTimeError = class _CompileTimeError extends core.Error { + toString() { + return this[_errorMsg$]; + } +}; +(core._CompileTimeError.new = function(_errorMsg) { + if (_errorMsg == null) dart.nullFailed(I[7], 776, 26, "_errorMsg"); + this[_errorMsg$] = _errorMsg; + core._CompileTimeError.__proto__.new.call(this); + ; +}).prototype = core._CompileTimeError.prototype; +dart.addTypeTests(core._CompileTimeError); +dart.addTypeCaches(core._CompileTimeError); +dart.setLibraryUri(core._CompileTimeError, I[8]); +dart.setFieldSignature(core._CompileTimeError, () => ({ + __proto__: dart.getFields(core._CompileTimeError.__proto__), + [_errorMsg$]: dart.finalFieldType(core.String) +})); +dart.defineExtensionMethods(core._CompileTimeError, ['toString']); +var _name$6 = dart.privateName(core, "_name"); +core._DuplicatedFieldInitializerError = class _DuplicatedFieldInitializerError extends core.Object { + toString() { + return "Error: field '" + dart.str(this[_name$6]) + "' is already initialized."; + } +}; +(core._DuplicatedFieldInitializerError.new = function(_name) { + if (_name == null) dart.nullFailed(I[7], 918, 41, "_name"); + this[_name$6] = _name; + ; +}).prototype = core._DuplicatedFieldInitializerError.prototype; +dart.addTypeTests(core._DuplicatedFieldInitializerError); +dart.addTypeCaches(core._DuplicatedFieldInitializerError); +dart.setLibraryUri(core._DuplicatedFieldInitializerError, I[8]); +dart.setFieldSignature(core._DuplicatedFieldInitializerError, () => ({ + __proto__: dart.getFields(core._DuplicatedFieldInitializerError.__proto__), + [_name$6]: dart.finalFieldType(core.String) +})); +dart.defineExtensionMethods(core._DuplicatedFieldInitializerError, ['toString']); +var _used$ = dart.privateName(core, "_used"); +var _digits$ = dart.privateName(core, "_digits"); +var _isNegative = dart.privateName(core, "_isNegative"); +var _isZero = dart.privateName(core, "_isZero"); +var _dlShift = dart.privateName(core, "_dlShift"); +var _drShift = dart.privateName(core, "_drShift"); +var _absCompare = dart.privateName(core, "_absCompare"); +var _absAddSetSign = dart.privateName(core, "_absAddSetSign"); +var _absSubSetSign = dart.privateName(core, "_absSubSetSign"); +var _absAndSetSign = dart.privateName(core, "_absAndSetSign"); +var _absAndNotSetSign = dart.privateName(core, "_absAndNotSetSign"); +var _absOrSetSign = dart.privateName(core, "_absOrSetSign"); +var _absXorSetSign = dart.privateName(core, "_absXorSetSign"); +var _divRem = dart.privateName(core, "_divRem"); +var _div = dart.privateName(core, "_div"); +var _rem = dart.privateName(core, "_rem"); +var _toRadixCodeUnit = dart.privateName(core, "_toRadixCodeUnit"); +var _toHexString = dart.privateName(core, "_toHexString"); +core._BigIntImpl = class _BigIntImpl extends core.Object { + static parse(source, opts) { + if (source == null) dart.nullFailed(I[7], 1044, 35, "source"); + let radix = opts && 'radix' in opts ? opts.radix : null; + let result = core._BigIntImpl._tryParse(source, {radix: radix}); + if (result == null) { + dart.throw(new core.FormatException.new("Could not parse BigInt", source)); + } + return result; + } + static _parseDecimal(source, isNegative) { + if (source == null) dart.nullFailed(I[7], 1055, 43, "source"); + if (isNegative == null) dart.nullFailed(I[7], 1055, 56, "isNegative"); + let part = 0; + let result = core._BigIntImpl.zero; + let digitInPartCount = 4 - source.length[$remainder](4); + if (digitInPartCount === 4) digitInPartCount = 0; + for (let i = 0; i < source.length; i = i + 1) { + part = part * 10 + source[$codeUnitAt](i) - 48; + if ((digitInPartCount = digitInPartCount + 1) === 4) { + result = result['*'](core._BigIntImpl._bigInt10000)['+'](core._BigIntImpl._fromInt(part)); + part = 0; + digitInPartCount = 0; + } + } + if (dart.test(isNegative)) return result._negate(); + return result; + } + static _codeUnitToRadixValue(codeUnit) { + if (codeUnit == null) dart.nullFailed(I[7], 1085, 40, "codeUnit"); + if (48 <= dart.notNull(codeUnit) && dart.notNull(codeUnit) <= 57) return dart.notNull(codeUnit) - 48; + codeUnit = (dart.notNull(codeUnit) | 32) >>> 0; + let result = dart.notNull(codeUnit) - 97 + 10; + return result; + } + static _parseHex(source, startPos, isNegative) { + let t247, t247$, t247$0, t247$1; + if (source == null) dart.nullFailed(I[7], 1105, 40, "source"); + if (startPos == null) dart.nullFailed(I[7], 1105, 52, "startPos"); + if (isNegative == null) dart.nullFailed(I[7], 1105, 67, "isNegative"); + let hexDigitsPerChunk = (16 / 4)[$truncate](); + let sourceLength = source.length - dart.notNull(startPos); + let chunkCount = (sourceLength / hexDigitsPerChunk)[$ceil](); + let digits = _native_typed_data.NativeUint16List.new(chunkCount); + let lastDigitLength = sourceLength - (chunkCount - 1) * hexDigitsPerChunk; + let digitIndex = dart.notNull(digits[$length]) - 1; + let i = startPos; + let chunk = 0; + for (let j = 0; j < lastDigitLength; j = j + 1) { + let digitValue = core._BigIntImpl._codeUnitToRadixValue(source[$codeUnitAt]((t247 = i, i = dart.notNull(t247) + 1, t247))); + if (dart.notNull(digitValue) >= 16) return null; + chunk = chunk * 16 + dart.notNull(digitValue); + } + digits[$_set]((t247$ = digitIndex, digitIndex = t247$ - 1, t247$), chunk); + while (dart.notNull(i) < source.length) { + chunk = 0; + for (let j = 0; j < hexDigitsPerChunk; j = j + 1) { + let digitValue = core._BigIntImpl._codeUnitToRadixValue(source[$codeUnitAt]((t247$0 = i, i = dart.notNull(t247$0) + 1, t247$0))); + if (dart.notNull(digitValue) >= 16) return null; + chunk = chunk * 16 + dart.notNull(digitValue); + } + digits[$_set]((t247$1 = digitIndex, digitIndex = t247$1 - 1, t247$1), chunk); + } + if (digits[$length] === 1 && digits[$_get](0) === 0) return core._BigIntImpl.zero; + return new core._BigIntImpl.__(isNegative, digits[$length], digits); + } + static _parseRadix(source, radix, isNegative) { + if (source == null) dart.nullFailed(I[7], 1139, 42, "source"); + if (radix == null) dart.nullFailed(I[7], 1139, 54, "radix"); + if (isNegative == null) dart.nullFailed(I[7], 1139, 66, "isNegative"); + let result = core._BigIntImpl.zero; + let base = core._BigIntImpl._fromInt(radix); + for (let i = 0; i < source.length; i = i + 1) { + let digitValue = core._BigIntImpl._codeUnitToRadixValue(source[$codeUnitAt](i)); + if (dart.notNull(digitValue) >= dart.notNull(radix)) return null; + result = result['*'](base)['+'](core._BigIntImpl._fromInt(digitValue)); + } + if (dart.test(isNegative)) return result._negate(); + return result; + } + static _tryParse(source, opts) { + let t247, t247$, t247$0; + if (source == null) dart.nullFailed(I[7], 1156, 40, "source"); + let radix = opts && 'radix' in opts ? opts.radix : null; + if (source === "") return null; + let match = core._BigIntImpl._parseRE.firstMatch(source); + let signIndex = 1; + let hexIndex = 3; + let decimalIndex = 4; + let nonDecimalHexIndex = 5; + if (match == null) return null; + let isNegative = match._get(signIndex) === "-"; + let decimalMatch = match._get(decimalIndex); + let hexMatch = match._get(hexIndex); + let nonDecimalMatch = match._get(nonDecimalHexIndex); + if (radix == null) { + if (decimalMatch != null) { + return core._BigIntImpl._parseDecimal(decimalMatch, isNegative); + } + if (hexMatch != null) { + return core._BigIntImpl._parseHex(hexMatch, 2, isNegative); + } + return null; + } + if (dart.notNull(radix) < 2 || dart.notNull(radix) > 36) { + dart.throw(new core.RangeError.range(radix, 2, 36, "radix")); + } + if (radix === 10 && decimalMatch != null) { + return core._BigIntImpl._parseDecimal(decimalMatch, isNegative); + } + if (radix === 16 && (decimalMatch != null || nonDecimalMatch != null)) { + return core._BigIntImpl._parseHex((t247 = decimalMatch, t247 == null ? dart.nullCheck(nonDecimalMatch) : t247), 0, isNegative); + } + return core._BigIntImpl._parseRadix((t247$0 = (t247$ = decimalMatch, t247$ == null ? nonDecimalMatch : t247$), t247$0 == null ? dart.nullCheck(hexMatch) : t247$0), radix, isNegative); + } + static _normalize(used, digits) { + if (used == null) dart.nullFailed(I[7], 1203, 29, "used"); + if (digits == null) dart.nullFailed(I[7], 1203, 46, "digits"); + while (dart.notNull(used) > 0 && digits[$_get](dart.notNull(used) - 1) === 0) + used = dart.notNull(used) - 1; + return used; + } + get [_isZero]() { + return this[_used$] === 0; + } + static _cloneDigits(digits, from, to, length) { + if (digits == null) dart.nullFailed(I[7], 1224, 18, "digits"); + if (from == null) dart.nullFailed(I[7], 1224, 30, "from"); + if (to == null) dart.nullFailed(I[7], 1224, 40, "to"); + if (length == null) dart.nullFailed(I[7], 1224, 48, "length"); + let resultDigits = _native_typed_data.NativeUint16List.new(length); + let n = dart.notNull(to) - dart.notNull(from); + for (let i = 0; i < n; i = i + 1) { + resultDigits[$_set](i, digits[$_get](dart.notNull(from) + i)); + } + return resultDigits; + } + static from(value) { + if (value == null) dart.nullFailed(I[7], 1234, 32, "value"); + if (value === 0) return core._BigIntImpl.zero; + if (value === 1) return core._BigIntImpl.one; + if (value === 2) return core._BigIntImpl.two; + if (value[$abs]() < 4294967296) return core._BigIntImpl._fromInt(value[$toInt]()); + if (typeof value == 'number') return core._BigIntImpl._fromDouble(value); + return core._BigIntImpl._fromInt(dart.asInt(value)); + } + static _fromInt(value) { + let t247; + if (value == null) dart.nullFailed(I[7], 1246, 36, "value"); + let isNegative = dart.notNull(value) < 0; + if (!(16 === 16)) dart.assertFailed(null, I[7], 1248, 12, "_digitBits == 16"); + if (isNegative) { + if (value === -9223372036854776000.0) { + let digits = _native_typed_data.NativeUint16List.new(4); + digits[$_set](3, 32768); + return new core._BigIntImpl.__(true, 4, digits); + } + value = -dart.notNull(value); + } + if (dart.notNull(value) < 65536) { + let digits = _native_typed_data.NativeUint16List.new(1); + digits[$_set](0, value); + return new core._BigIntImpl.__(isNegative, 1, digits); + } + if (dart.notNull(value) <= 4294967295) { + let digits = _native_typed_data.NativeUint16List.new(2); + digits[$_set](0, (dart.notNull(value) & 65535) >>> 0); + digits[$_set](1, value[$rightShift](16)); + return new core._BigIntImpl.__(isNegative, 2, digits); + } + let bits = value[$bitLength]; + let digits = _native_typed_data.NativeUint16List.new(((bits - 1) / 16)[$truncate]() + 1); + let i = 0; + while (value !== 0) { + digits[$_set]((t247 = i, i = t247 + 1, t247), (dart.notNull(value) & 65535) >>> 0); + value = (dart.notNull(value) / 65536)[$truncate](); + } + return new core._BigIntImpl.__(isNegative, digits[$length], digits); + } + static _fromDouble(value) { + if (value == null) dart.nullFailed(I[7], 1286, 42, "value"); + if (value[$isNaN] || value[$isInfinite]) { + dart.throw(new core.ArgumentError.new("Value must be finite: " + dart.str(value))); + } + let isNegative = dart.notNull(value) < 0; + if (isNegative) value = -dart.notNull(value); + value = value[$floorToDouble](); + if (value === 0) return core._BigIntImpl.zero; + let bits = core._BigIntImpl._bitsForFromDouble; + for (let i = 0; i < 8; i = i + 1) { + bits[$_set](i, 0); + } + bits[$buffer][$asByteData]()[$setFloat64](0, value, typed_data.Endian.little); + let biasedExponent = (dart.notNull(bits[$_get](7)) << 4 >>> 0) + bits[$_get](6)[$rightShift](4); + let exponent = biasedExponent - 1075; + if (!(16 === 16)) dart.assertFailed(null, I[7], 1307, 12, "_digitBits == 16"); + let unshiftedDigits = _native_typed_data.NativeUint16List.new(4); + unshiftedDigits[$_set](0, (dart.notNull(bits[$_get](1)) << 8 >>> 0) + dart.notNull(bits[$_get](0))); + unshiftedDigits[$_set](1, (dart.notNull(bits[$_get](3)) << 8 >>> 0) + dart.notNull(bits[$_get](2))); + unshiftedDigits[$_set](2, (dart.notNull(bits[$_get](5)) << 8 >>> 0) + dart.notNull(bits[$_get](4))); + unshiftedDigits[$_set](3, 16 | dart.notNull(bits[$_get](6)) & 15); + let unshiftedBig = new core._BigIntImpl._normalized(false, 4, unshiftedDigits); + let absResult = unshiftedBig; + if (exponent < 0) { + absResult = unshiftedBig['>>'](-exponent); + } else if (exponent > 0) { + absResult = unshiftedBig['<<'](exponent); + } + if (isNegative) return absResult._negate(); + return absResult; + } + _negate() { + if (this[_used$] === 0) return this; + return new core._BigIntImpl.__(!dart.test(this[_isNegative]), this[_used$], this[_digits$]); + } + abs() { + return dart.test(this[_isNegative]) ? this._negate() : this; + } + [_dlShift](n) { + if (n == null) dart.nullFailed(I[7], 1346, 28, "n"); + let used = this[_used$]; + if (used === 0) { + return core._BigIntImpl.zero; + } + let resultUsed = dart.notNull(used) + dart.notNull(n); + let digits = this[_digits$]; + let resultDigits = _native_typed_data.NativeUint16List.new(resultUsed); + for (let i = dart.notNull(used) - 1; i >= 0; i = i - 1) { + resultDigits[$_set](i + dart.notNull(n), digits[$_get](i)); + } + return new core._BigIntImpl.__(this[_isNegative], resultUsed, resultDigits); + } + static _dlShiftDigits(xDigits, xUsed, n, resultDigits) { + if (xDigits == null) dart.nullFailed(I[7], 1366, 18, "xDigits"); + if (xUsed == null) dart.nullFailed(I[7], 1366, 31, "xUsed"); + if (n == null) dart.nullFailed(I[7], 1366, 42, "n"); + if (resultDigits == null) dart.nullFailed(I[7], 1366, 56, "resultDigits"); + if (xUsed === 0) { + return 0; + } + if (n === 0 && resultDigits == xDigits) { + return xUsed; + } + let resultUsed = dart.notNull(xUsed) + dart.notNull(n); + for (let i = dart.notNull(xUsed) - 1; i >= 0; i = i - 1) { + resultDigits[$_set](i + dart.notNull(n), xDigits[$_get](i)); + } + for (let i = dart.notNull(n) - 1; i >= 0; i = i - 1) { + resultDigits[$_set](i, 0); + } + return resultUsed; + } + [_drShift](n) { + if (n == null) dart.nullFailed(I[7], 1384, 28, "n"); + let used = this[_used$]; + if (used === 0) { + return core._BigIntImpl.zero; + } + let resultUsed = dart.notNull(used) - dart.notNull(n); + if (resultUsed <= 0) { + return dart.test(this[_isNegative]) ? core._BigIntImpl._minusOne : core._BigIntImpl.zero; + } + let digits = this[_digits$]; + let resultDigits = _native_typed_data.NativeUint16List.new(resultUsed); + for (let i = n; dart.notNull(i) < dart.notNull(used); i = dart.notNull(i) + 1) { + resultDigits[$_set](dart.notNull(i) - dart.notNull(n), digits[$_get](i)); + } + let result = new core._BigIntImpl.__(this[_isNegative], resultUsed, resultDigits); + if (dart.test(this[_isNegative])) { + for (let i = 0; i < dart.notNull(n); i = i + 1) { + if (digits[$_get](i) !== 0) { + return result['-'](core._BigIntImpl.one); + } + } + } + return result; + } + static _lsh(xDigits, xUsed, n, resultDigits) { + if (xDigits == null) dart.nullFailed(I[7], 1417, 18, "xDigits"); + if (xUsed == null) dart.nullFailed(I[7], 1417, 31, "xUsed"); + if (n == null) dart.nullFailed(I[7], 1417, 42, "n"); + if (resultDigits == null) dart.nullFailed(I[7], 1417, 56, "resultDigits"); + if (!(dart.notNull(xUsed) > 0)) dart.assertFailed(null, I[7], 1418, 12, "xUsed > 0"); + let digitShift = (dart.notNull(n) / 16)[$truncate](); + let bitShift = n[$modulo](16); + let carryBitShift = 16 - bitShift; + let bitMask = (1)[$leftShift](carryBitShift) - 1; + let carry = 0; + for (let i = dart.notNull(xUsed) - 1; i >= 0; i = i - 1) { + let digit = xDigits[$_get](i); + resultDigits[$_set](i + digitShift + 1, (digit[$rightShift](carryBitShift) | carry) >>> 0); + carry = ((dart.notNull(digit) & bitMask) >>> 0)[$leftShift](bitShift); + } + resultDigits[$_set](digitShift, carry); + } + ['<<'](shiftAmount) { + if (shiftAmount == null) dart.nullFailed(I[7], 1444, 31, "shiftAmount"); + if (dart.notNull(shiftAmount) < 0) { + dart.throw(new core.ArgumentError.new("shift-amount must be posititve " + dart.str(shiftAmount))); + } + if (dart.test(this[_isZero])) return this; + let digitShift = (dart.notNull(shiftAmount) / 16)[$truncate](); + let bitShift = shiftAmount[$modulo](16); + if (bitShift === 0) { + return this[_dlShift](digitShift); + } + let resultUsed = dart.notNull(this[_used$]) + digitShift + 1; + let resultDigits = _native_typed_data.NativeUint16List.new(resultUsed); + core._BigIntImpl._lsh(this[_digits$], this[_used$], shiftAmount, resultDigits); + return new core._BigIntImpl.__(this[_isNegative], resultUsed, resultDigits); + } + static _lShiftDigits(xDigits, xUsed, n, resultDigits) { + if (xDigits == null) dart.nullFailed(I[7], 1463, 18, "xDigits"); + if (xUsed == null) dart.nullFailed(I[7], 1463, 31, "xUsed"); + if (n == null) dart.nullFailed(I[7], 1463, 42, "n"); + if (resultDigits == null) dart.nullFailed(I[7], 1463, 56, "resultDigits"); + let digitsShift = (dart.notNull(n) / 16)[$truncate](); + let bitShift = n[$modulo](16); + if (bitShift === 0) { + return core._BigIntImpl._dlShiftDigits(xDigits, xUsed, digitsShift, resultDigits); + } + let resultUsed = dart.notNull(xUsed) + digitsShift + 1; + core._BigIntImpl._lsh(xDigits, xUsed, n, resultDigits); + let i = digitsShift; + while ((i = i - 1) >= 0) { + resultDigits[$_set](i, 0); + } + if (resultDigits[$_get](resultUsed - 1) === 0) { + resultUsed = resultUsed - 1; + } + return resultUsed; + } + static _rsh(xDigits, xUsed, n, resultDigits) { + if (xDigits == null) dart.nullFailed(I[7], 1483, 18, "xDigits"); + if (xUsed == null) dart.nullFailed(I[7], 1483, 31, "xUsed"); + if (n == null) dart.nullFailed(I[7], 1483, 42, "n"); + if (resultDigits == null) dart.nullFailed(I[7], 1483, 56, "resultDigits"); + if (!(dart.notNull(xUsed) > 0)) dart.assertFailed(null, I[7], 1484, 12, "xUsed > 0"); + let digitsShift = (dart.notNull(n) / 16)[$truncate](); + let bitShift = n[$modulo](16); + let carryBitShift = 16 - bitShift; + let bitMask = (1)[$leftShift](bitShift) - 1; + let carry = xDigits[$_get](digitsShift)[$rightShift](bitShift); + let last = dart.notNull(xUsed) - digitsShift - 1; + for (let i = 0; i < last; i = i + 1) { + let digit = xDigits[$_get](i + digitsShift + 1); + resultDigits[$_set](i, (((dart.notNull(digit) & bitMask) >>> 0)[$leftShift](carryBitShift) | carry) >>> 0); + carry = digit[$rightShift](bitShift); + } + resultDigits[$_set](last, carry); + } + ['>>'](shiftAmount) { + if (shiftAmount == null) dart.nullFailed(I[7], 1508, 31, "shiftAmount"); + if (dart.notNull(shiftAmount) < 0) { + dart.throw(new core.ArgumentError.new("shift-amount must be posititve " + dart.str(shiftAmount))); + } + if (dart.test(this[_isZero])) return this; + let digitShift = (dart.notNull(shiftAmount) / 16)[$truncate](); + let bitShift = shiftAmount[$modulo](16); + if (bitShift === 0) { + return this[_drShift](digitShift); + } + let used = this[_used$]; + let resultUsed = dart.notNull(used) - digitShift; + if (resultUsed <= 0) { + return dart.test(this[_isNegative]) ? core._BigIntImpl._minusOne : core._BigIntImpl.zero; + } + let digits = this[_digits$]; + let resultDigits = _native_typed_data.NativeUint16List.new(resultUsed); + core._BigIntImpl._rsh(digits, used, shiftAmount, resultDigits); + let result = new core._BigIntImpl.__(this[_isNegative], resultUsed, resultDigits); + if (dart.test(this[_isNegative])) { + if ((dart.notNull(digits[$_get](digitShift)) & (1)[$leftShift](bitShift) - 1) !== 0) { + return result['-'](core._BigIntImpl.one); + } + for (let i = 0; i < digitShift; i = i + 1) { + if (digits[$_get](i) !== 0) { + return result['-'](core._BigIntImpl.one); + } + } + } + return result; + } + [_absCompare](other) { + if (other == null) dart.nullFailed(I[7], 1545, 31, "other"); + return core._BigIntImpl._compareDigits(this[_digits$], this[_used$], other[_digits$], other[_used$]); + } + compareTo(other) { + core._BigIntImpl.as(other); + if (other == null) dart.nullFailed(I[7], 1555, 39, "other"); + if (this[_isNegative] == other[_isNegative]) { + let result = this[_absCompare](other); + return dart.test(this[_isNegative]) ? 0 - dart.notNull(result) : result; + } + return dart.test(this[_isNegative]) ? -1 : 1; + } + static _compareDigits(digits, used, otherDigits, otherUsed) { + if (digits == null) dart.nullFailed(I[7], 1569, 18, "digits"); + if (used == null) dart.nullFailed(I[7], 1569, 30, "used"); + if (otherDigits == null) dart.nullFailed(I[7], 1569, 47, "otherDigits"); + if (otherUsed == null) dart.nullFailed(I[7], 1569, 64, "otherUsed"); + let result = dart.notNull(used) - dart.notNull(otherUsed); + if (result === 0) { + for (let i = dart.notNull(used) - 1; i >= 0; i = i - 1) { + result = dart.notNull(digits[$_get](i)) - dart.notNull(otherDigits[$_get](i)); + if (result !== 0) return result; + } + } + return result; + } + static _absAdd(digits, used, otherDigits, otherUsed, resultDigits) { + if (digits == null) dart.nullFailed(I[7], 1582, 34, "digits"); + if (used == null) dart.nullFailed(I[7], 1582, 46, "used"); + if (otherDigits == null) dart.nullFailed(I[7], 1582, 63, "otherDigits"); + if (otherUsed == null) dart.nullFailed(I[7], 1583, 11, "otherUsed"); + if (resultDigits == null) dart.nullFailed(I[7], 1583, 33, "resultDigits"); + if (!(dart.notNull(used) >= dart.notNull(otherUsed) && dart.notNull(otherUsed) > 0)) dart.assertFailed(null, I[7], 1584, 12, "used >= otherUsed && otherUsed > 0"); + let carry = 0; + for (let i = 0; i < dart.notNull(otherUsed); i = i + 1) { + carry = carry + (dart.notNull(digits[$_get](i)) + dart.notNull(otherDigits[$_get](i))); + resultDigits[$_set](i, (carry & 65535) >>> 0); + carry = carry[$rightShift](16); + } + for (let i = otherUsed; dart.notNull(i) < dart.notNull(used); i = dart.notNull(i) + 1) { + carry = carry + dart.notNull(digits[$_get](i)); + resultDigits[$_set](i, (carry & 65535) >>> 0); + carry = carry[$rightShift](16); + } + resultDigits[$_set](used, carry); + } + static _absSub(digits, used, otherDigits, otherUsed, resultDigits) { + if (digits == null) dart.nullFailed(I[7], 1601, 34, "digits"); + if (used == null) dart.nullFailed(I[7], 1601, 46, "used"); + if (otherDigits == null) dart.nullFailed(I[7], 1601, 63, "otherDigits"); + if (otherUsed == null) dart.nullFailed(I[7], 1602, 11, "otherUsed"); + if (resultDigits == null) dart.nullFailed(I[7], 1602, 33, "resultDigits"); + if (!(dart.notNull(used) >= dart.notNull(otherUsed) && dart.notNull(otherUsed) > 0)) dart.assertFailed(null, I[7], 1603, 12, "used >= otherUsed && otherUsed > 0"); + let carry = 0; + for (let i = 0; i < dart.notNull(otherUsed); i = i + 1) { + carry = carry + (dart.notNull(digits[$_get](i)) - dart.notNull(otherDigits[$_get](i))); + resultDigits[$_set](i, (carry & 65535) >>> 0); + carry = 0 - (carry[$rightShift](16) & 1); + } + for (let i = otherUsed; dart.notNull(i) < dart.notNull(used); i = dart.notNull(i) + 1) { + carry = carry + dart.notNull(digits[$_get](i)); + resultDigits[$_set](i, (carry & 65535) >>> 0); + carry = 0 - (carry[$rightShift](16) & 1); + } + } + [_absAddSetSign](other, isNegative) { + if (other == null) dart.nullFailed(I[7], 1623, 42, "other"); + if (isNegative == null) dart.nullFailed(I[7], 1623, 54, "isNegative"); + let used = this[_used$]; + let otherUsed = other[_used$]; + if (dart.notNull(used) < dart.notNull(otherUsed)) { + return other[_absAddSetSign](this, isNegative); + } + if (used === 0) { + if (!!dart.test(isNegative)) dart.assertFailed(null, I[7], 1630, 14, "!isNegative"); + return core._BigIntImpl.zero; + } + if (otherUsed === 0) { + return this[_isNegative] == isNegative ? this : this._negate(); + } + let resultUsed = dart.notNull(used) + 1; + let resultDigits = _native_typed_data.NativeUint16List.new(resultUsed); + core._BigIntImpl._absAdd(this[_digits$], used, other[_digits$], otherUsed, resultDigits); + return new core._BigIntImpl.__(isNegative, resultUsed, resultDigits); + } + [_absSubSetSign](other, isNegative) { + if (other == null) dart.nullFailed(I[7], 1645, 42, "other"); + if (isNegative == null) dart.nullFailed(I[7], 1645, 54, "isNegative"); + if (!(dart.notNull(this[_absCompare](other)) >= 0)) dart.assertFailed(null, I[7], 1646, 12, "_absCompare(other) >= 0"); + let used = this[_used$]; + if (used === 0) { + if (!!dart.test(isNegative)) dart.assertFailed(null, I[7], 1649, 14, "!isNegative"); + return core._BigIntImpl.zero; + } + let otherUsed = other[_used$]; + if (otherUsed === 0) { + return this[_isNegative] == isNegative ? this : this._negate(); + } + let resultDigits = _native_typed_data.NativeUint16List.new(used); + core._BigIntImpl._absSub(this[_digits$], used, other[_digits$], otherUsed, resultDigits); + return new core._BigIntImpl.__(isNegative, used, resultDigits); + } + [_absAndSetSign](other, isNegative) { + if (other == null) dart.nullFailed(I[7], 1662, 42, "other"); + if (isNegative == null) dart.nullFailed(I[7], 1662, 54, "isNegative"); + let resultUsed = core._min(this[_used$], other[_used$]); + let digits = this[_digits$]; + let otherDigits = other[_digits$]; + let resultDigits = _native_typed_data.NativeUint16List.new(resultUsed); + for (let i = 0; i < dart.notNull(resultUsed); i = i + 1) { + resultDigits[$_set](i, (dart.notNull(digits[$_get](i)) & dart.notNull(otherDigits[$_get](i))) >>> 0); + } + return new core._BigIntImpl.__(isNegative, resultUsed, resultDigits); + } + [_absAndNotSetSign](other, isNegative) { + if (other == null) dart.nullFailed(I[7], 1674, 45, "other"); + if (isNegative == null) dart.nullFailed(I[7], 1674, 57, "isNegative"); + let resultUsed = this[_used$]; + let digits = this[_digits$]; + let otherDigits = other[_digits$]; + let resultDigits = _native_typed_data.NativeUint16List.new(resultUsed); + let m = core._min(resultUsed, other[_used$]); + for (let i = 0; i < dart.notNull(m); i = i + 1) { + resultDigits[$_set](i, (dart.notNull(digits[$_get](i)) & ~dart.notNull(otherDigits[$_get](i)) >>> 0) >>> 0); + } + for (let i = m; dart.notNull(i) < dart.notNull(resultUsed); i = dart.notNull(i) + 1) { + resultDigits[$_set](i, digits[$_get](i)); + } + return new core._BigIntImpl.__(isNegative, resultUsed, resultDigits); + } + [_absOrSetSign](other, isNegative) { + if (other == null) dart.nullFailed(I[7], 1690, 41, "other"); + if (isNegative == null) dart.nullFailed(I[7], 1690, 53, "isNegative"); + let used = this[_used$]; + let otherUsed = other[_used$]; + let resultUsed = core._max(used, otherUsed); + let digits = this[_digits$]; + let otherDigits = other[_digits$]; + let resultDigits = _native_typed_data.NativeUint16List.new(resultUsed); + let l = null; + let m = null; + if (dart.notNull(used) < dart.notNull(otherUsed)) { + l = other; + m = used; + } else { + l = this; + m = otherUsed; + } + for (let i = 0; i < dart.notNull(m); i = i + 1) { + resultDigits[$_set](i, (dart.notNull(digits[$_get](i)) | dart.notNull(otherDigits[$_get](i))) >>> 0); + } + let lDigits = l[_digits$]; + for (let i = m; dart.notNull(i) < dart.notNull(resultUsed); i = dart.notNull(i) + 1) { + resultDigits[$_set](i, lDigits[$_get](i)); + } + return new core._BigIntImpl.__(isNegative, resultUsed, resultDigits); + } + [_absXorSetSign](other, isNegative) { + if (other == null) dart.nullFailed(I[7], 1717, 42, "other"); + if (isNegative == null) dart.nullFailed(I[7], 1717, 54, "isNegative"); + let used = this[_used$]; + let otherUsed = other[_used$]; + let resultUsed = core._max(used, otherUsed); + let digits = this[_digits$]; + let otherDigits = other[_digits$]; + let resultDigits = _native_typed_data.NativeUint16List.new(resultUsed); + let l = null; + let m = null; + if (dart.notNull(used) < dart.notNull(otherUsed)) { + l = other; + m = used; + } else { + l = this; + m = otherUsed; + } + for (let i = 0; i < dart.notNull(m); i = i + 1) { + resultDigits[$_set](i, (dart.notNull(digits[$_get](i)) ^ dart.notNull(otherDigits[$_get](i))) >>> 0); + } + let lDigits = l[_digits$]; + for (let i = m; dart.notNull(i) < dart.notNull(resultUsed); i = dart.notNull(i) + 1) { + resultDigits[$_set](i, lDigits[$_get](i)); + } + return new core._BigIntImpl.__(isNegative, resultUsed, resultDigits); + } + ['&'](other) { + core._BigIntImpl.as(other); + if (other == null) dart.nullFailed(I[7], 1753, 48, "other"); + if (dart.test(this[_isZero]) || dart.test(other[_isZero])) return core._BigIntImpl.zero; + if (this[_isNegative] == other[_isNegative]) { + if (dart.test(this[_isNegative])) { + let this1 = this[_absSubSetSign](core._BigIntImpl.one, true); + let other1 = other[_absSubSetSign](core._BigIntImpl.one, true); + return this1[_absOrSetSign](other1, true)[_absAddSetSign](core._BigIntImpl.one, true); + } + return this[_absAndSetSign](other, false); + } + let p = null; + let n = null; + if (dart.test(this[_isNegative])) { + p = other; + n = this; + } else { + p = this; + n = other; + } + let n1 = n[_absSubSetSign](core._BigIntImpl.one, false); + return p[_absAndNotSetSign](n1, false); + } + ['|'](other) { + core._BigIntImpl.as(other); + if (other == null) dart.nullFailed(I[7], 1792, 48, "other"); + if (dart.test(this[_isZero])) return other; + if (dart.test(other[_isZero])) return this; + if (this[_isNegative] == other[_isNegative]) { + if (dart.test(this[_isNegative])) { + let this1 = this[_absSubSetSign](core._BigIntImpl.one, true); + let other1 = other[_absSubSetSign](core._BigIntImpl.one, true); + return this1[_absAndSetSign](other1, true)[_absAddSetSign](core._BigIntImpl.one, true); + } + return this[_absOrSetSign](other, false); + } + let p = null; + let n = null; + if (dart.test(this[_isNegative])) { + p = other; + n = this; + } else { + p = this; + n = other; + } + let n1 = n[_absSubSetSign](core._BigIntImpl.one, true); + return n1[_absAndNotSetSign](p, true)[_absAddSetSign](core._BigIntImpl.one, true); + } + ['^'](other) { + core._BigIntImpl.as(other); + if (other == null) dart.nullFailed(I[7], 1833, 48, "other"); + if (dart.test(this[_isZero])) return other; + if (dart.test(other[_isZero])) return this; + if (this[_isNegative] == other[_isNegative]) { + if (dart.test(this[_isNegative])) { + let this1 = this[_absSubSetSign](core._BigIntImpl.one, true); + let other1 = other[_absSubSetSign](core._BigIntImpl.one, true); + return this1[_absXorSetSign](other1, false); + } + return this[_absXorSetSign](other, false); + } + let p = null; + let n = null; + if (dart.test(this[_isNegative])) { + p = other; + n = this; + } else { + p = this; + n = other; + } + let n1 = n[_absSubSetSign](core._BigIntImpl.one, true); + return p[_absXorSetSign](n1, true)[_absAddSetSign](core._BigIntImpl.one, true); + } + ['~']() { + if (dart.test(this[_isZero])) return core._BigIntImpl._minusOne; + if (dart.test(this[_isNegative])) { + return this[_absSubSetSign](core._BigIntImpl.one, false); + } + return this[_absAddSetSign](core._BigIntImpl.one, true); + } + ['+'](other) { + core._BigIntImpl.as(other); + if (other == null) dart.nullFailed(I[7], 1881, 48, "other"); + if (dart.test(this[_isZero])) return other; + if (dart.test(other[_isZero])) return this; + let isNegative = this[_isNegative]; + if (isNegative == other[_isNegative]) { + return this[_absAddSetSign](other, isNegative); + } + if (dart.notNull(this[_absCompare](other)) >= 0) { + return this[_absSubSetSign](other, isNegative); + } + return other[_absSubSetSign](this, !dart.test(isNegative)); + } + ['-'](other) { + core._BigIntImpl.as(other); + if (other == null) dart.nullFailed(I[7], 1899, 48, "other"); + if (dart.test(this[_isZero])) return other._negate(); + if (dart.test(other[_isZero])) return this; + let isNegative = this[_isNegative]; + if (isNegative != other[_isNegative]) { + return this[_absAddSetSign](other, isNegative); + } + if (dart.notNull(this[_absCompare](other)) >= 0) { + return this[_absSubSetSign](other, isNegative); + } + return other[_absSubSetSign](this, !dart.test(isNegative)); + } + static _mulAdd(x, multiplicandDigits, i, accumulatorDigits, j, n) { + let t247, t247$, t247$0; + if (x == null) dart.nullFailed(I[7], 1928, 27, "x"); + if (multiplicandDigits == null) dart.nullFailed(I[7], 1928, 41, "multiplicandDigits"); + if (i == null) dart.nullFailed(I[7], 1928, 65, "i"); + if (accumulatorDigits == null) dart.nullFailed(I[7], 1929, 18, "accumulatorDigits"); + if (j == null) dart.nullFailed(I[7], 1929, 41, "j"); + if (n == null) dart.nullFailed(I[7], 1929, 48, "n"); + if (x === 0) { + return; + } + let c = 0; + while ((n = dart.notNull(n) - 1) >= 0) { + let product = dart.notNull(x) * dart.notNull(multiplicandDigits[$_get]((t247 = i, i = dart.notNull(t247) + 1, t247))); + let combined = product + dart.notNull(accumulatorDigits[$_get](j)) + c; + accumulatorDigits[$_set]((t247$ = j, j = dart.notNull(t247$) + 1, t247$), (combined & 65535) >>> 0); + c = (combined / 65536)[$truncate](); + } + while (c !== 0) { + let l = dart.notNull(accumulatorDigits[$_get](j)) + c; + accumulatorDigits[$_set]((t247$0 = j, j = dart.notNull(t247$0) + 1, t247$0), (l & 65535) >>> 0); + c = (l / 65536)[$truncate](); + } + } + ['*'](other) { + core._BigIntImpl.as(other); + if (other == null) dart.nullFailed(I[7], 1951, 48, "other"); + let used = this[_used$]; + let otherUsed = other[_used$]; + if (used === 0 || otherUsed === 0) { + return core._BigIntImpl.zero; + } + let resultUsed = dart.notNull(used) + dart.notNull(otherUsed); + let digits = this[_digits$]; + let otherDigits = other[_digits$]; + let resultDigits = _native_typed_data.NativeUint16List.new(resultUsed); + let i = 0; + while (i < dart.notNull(otherUsed)) { + core._BigIntImpl._mulAdd(otherDigits[$_get](i), digits, 0, resultDigits, i, used); + i = i + 1; + } + return new core._BigIntImpl.__(this[_isNegative] != other[_isNegative], resultUsed, resultDigits); + } + static _mulDigits(xDigits, xUsed, otherDigits, otherUsed, resultDigits) { + if (xDigits == null) dart.nullFailed(I[7], 1972, 36, "xDigits"); + if (xUsed == null) dart.nullFailed(I[7], 1972, 49, "xUsed"); + if (otherDigits == null) dart.nullFailed(I[7], 1972, 67, "otherDigits"); + if (otherUsed == null) dart.nullFailed(I[7], 1973, 11, "otherUsed"); + if (resultDigits == null) dart.nullFailed(I[7], 1973, 33, "resultDigits"); + let resultUsed = dart.notNull(xUsed) + dart.notNull(otherUsed); + let i = resultUsed; + if (!(dart.notNull(resultDigits[$length]) >= i)) dart.assertFailed(null, I[7], 1976, 12, "resultDigits.length >= i"); + while ((i = i - 1) >= 0) { + resultDigits[$_set](i, 0); + } + i = 0; + while (i < dart.notNull(otherUsed)) { + core._BigIntImpl._mulAdd(otherDigits[$_get](i), xDigits, 0, resultDigits, i, xUsed); + i = i + 1; + } + return resultUsed; + } + static _estimateQuotientDigit(topDigitDivisor, digits, i) { + if (topDigitDivisor == null) dart.nullFailed(I[7], 1990, 11, "topDigitDivisor"); + if (digits == null) dart.nullFailed(I[7], 1990, 39, "digits"); + if (i == null) dart.nullFailed(I[7], 1990, 51, "i"); + if (digits[$_get](i) == topDigitDivisor) return 65535; + let quotientDigit = (((digits[$_get](i)[$leftShift](16) | dart.notNull(digits[$_get](dart.notNull(i) - 1))) >>> 0) / dart.notNull(topDigitDivisor))[$truncate](); + if (quotientDigit > 65535) return 65535; + return quotientDigit; + } + [_div](other) { + if (other == null) dart.nullFailed(I[7], 1999, 32, "other"); + if (!(dart.notNull(other[_used$]) > 0)) dart.assertFailed(null, I[7], 2000, 12, "other._used > 0"); + if (dart.notNull(this[_used$]) < dart.notNull(other[_used$])) { + return core._BigIntImpl.zero; + } + this[_divRem](other); + let lastQuo_used = dart.nullCheck(core._BigIntImpl._lastQuoRemUsed) - dart.nullCheck(core._BigIntImpl._lastRemUsed); + let quo_digits = core._BigIntImpl._cloneDigits(dart.nullCheck(core._BigIntImpl._lastQuoRemDigits), dart.nullCheck(core._BigIntImpl._lastRemUsed), dart.nullCheck(core._BigIntImpl._lastQuoRemUsed), lastQuo_used); + let quo = new core._BigIntImpl.__(false, lastQuo_used, quo_digits); + if (this[_isNegative] != other[_isNegative] && dart.notNull(quo[_used$]) > 0) { + quo = quo._negate(); + } + return quo; + } + [_rem](other) { + if (other == null) dart.nullFailed(I[7], 2018, 32, "other"); + if (!(dart.notNull(other[_used$]) > 0)) dart.assertFailed(null, I[7], 2019, 12, "other._used > 0"); + if (dart.notNull(this[_used$]) < dart.notNull(other[_used$])) { + return this; + } + this[_divRem](other); + let remDigits = core._BigIntImpl._cloneDigits(dart.nullCheck(core._BigIntImpl._lastQuoRemDigits), 0, dart.nullCheck(core._BigIntImpl._lastRemUsed), dart.nullCheck(core._BigIntImpl._lastRemUsed)); + let rem = new core._BigIntImpl.__(false, dart.nullCheck(core._BigIntImpl._lastRemUsed), remDigits); + if (dart.nullCheck(core._BigIntImpl._lastRem_nsh) > 0) { + rem = rem['>>'](dart.nullCheck(core._BigIntImpl._lastRem_nsh)); + } + if (dart.test(this[_isNegative]) && dart.notNull(rem[_used$]) > 0) { + rem = rem._negate(); + } + return rem; + } + [_divRem](other) { + let t247, t247$; + if (other == null) dart.nullFailed(I[7], 2046, 28, "other"); + if (this[_used$] == core._BigIntImpl._lastDividendUsed && other[_used$] == core._BigIntImpl._lastDivisorUsed && this[_digits$] == core._BigIntImpl._lastDividendDigits && other[_digits$] == core._BigIntImpl._lastDivisorDigits) { + return; + } + if (!(dart.notNull(this[_used$]) >= dart.notNull(other[_used$]))) dart.assertFailed(null, I[7], 2054, 12, "_used >= other._used"); + let nsh = 16 - other[_digits$][$_get](dart.notNull(other[_used$]) - 1)[$bitLength]; + let resultDigits = null; + let resultUsed = null; + let yDigits = null; + let yUsed = null; + if (nsh > 0) { + yDigits = _native_typed_data.NativeUint16List.new(dart.notNull(other[_used$]) + 5); + yUsed = core._BigIntImpl._lShiftDigits(other[_digits$], other[_used$], nsh, yDigits); + resultDigits = _native_typed_data.NativeUint16List.new(dart.notNull(this[_used$]) + 5); + resultUsed = core._BigIntImpl._lShiftDigits(this[_digits$], this[_used$], nsh, resultDigits); + } else { + yDigits = other[_digits$]; + yUsed = other[_used$]; + resultDigits = core._BigIntImpl._cloneDigits(this[_digits$], 0, this[_used$], dart.notNull(this[_used$]) + 2); + resultUsed = this[_used$]; + } + let topDigitDivisor = yDigits[$_get](dart.notNull(yUsed) - 1); + let i = resultUsed; + let j = dart.notNull(i) - dart.notNull(yUsed); + let tmpDigits = _native_typed_data.NativeUint16List.new(i); + let tmpUsed = core._BigIntImpl._dlShiftDigits(yDigits, yUsed, j, tmpDigits); + if (dart.notNull(core._BigIntImpl._compareDigits(resultDigits, resultUsed, tmpDigits, tmpUsed)) >= 0) { + if (!(i == resultUsed)) dart.assertFailed(null, I[7], 2087, 14, "i == resultUsed"); + resultDigits[$_set]((t247 = resultUsed, resultUsed = dart.notNull(t247) + 1, t247), 1); + core._BigIntImpl._absSub(resultDigits, resultUsed, tmpDigits, tmpUsed, resultDigits); + } else { + resultDigits[$_set]((t247$ = resultUsed, resultUsed = dart.notNull(t247$) + 1, t247$), 0); + } + let nyDigits = _native_typed_data.NativeUint16List.new(dart.notNull(yUsed) + 2); + nyDigits[$_set](yUsed, 1); + core._BigIntImpl._absSub(nyDigits, dart.notNull(yUsed) + 1, yDigits, yUsed, nyDigits); + i = dart.notNull(i) - 1; + while (j > 0) { + let estimatedQuotientDigit = core._BigIntImpl._estimateQuotientDigit(topDigitDivisor, resultDigits, i); + j = j - 1; + core._BigIntImpl._mulAdd(estimatedQuotientDigit, nyDigits, 0, resultDigits, j, yUsed); + if (dart.notNull(resultDigits[$_get](i)) < dart.notNull(estimatedQuotientDigit)) { + let tmpUsed = core._BigIntImpl._dlShiftDigits(nyDigits, yUsed, j, tmpDigits); + core._BigIntImpl._absSub(resultDigits, resultUsed, tmpDigits, tmpUsed, resultDigits); + while (dart.notNull(resultDigits[$_get](i)) < (estimatedQuotientDigit = dart.notNull(estimatedQuotientDigit) - 1)) { + core._BigIntImpl._absSub(resultDigits, resultUsed, tmpDigits, tmpUsed, resultDigits); + } + } + i = dart.notNull(i) - 1; + } + core._BigIntImpl._lastDividendDigits = this[_digits$]; + core._BigIntImpl._lastDividendUsed = this[_used$]; + core._BigIntImpl._lastDivisorDigits = other[_digits$]; + core._BigIntImpl._lastDivisorUsed = other[_used$]; + core._BigIntImpl._lastQuoRemDigits = resultDigits; + core._BigIntImpl._lastQuoRemUsed = resultUsed; + core._BigIntImpl._lastRemUsed = yUsed; + core._BigIntImpl._lastRem_nsh = nsh; + } + get hashCode() { + function combine(hash, value) { + if (hash == null) dart.nullFailed(I[7], 2139, 21, "hash"); + if (value == null) dart.nullFailed(I[7], 2139, 31, "value"); + hash = 536870911 & dart.notNull(hash) + dart.notNull(value); + hash = 536870911 & dart.notNull(hash) + ((524287 & dart.notNull(hash)) << 10); + return (dart.notNull(hash) ^ hash[$rightShift](6)) >>> 0; + } + dart.fn(combine, T$0.intAndintToint()); + function finish(hash) { + if (hash == null) dart.nullFailed(I[7], 2145, 20, "hash"); + hash = 536870911 & dart.notNull(hash) + ((67108863 & dart.notNull(hash)) << 3); + hash = (dart.notNull(hash) ^ hash[$rightShift](11)) >>> 0; + return 536870911 & dart.notNull(hash) + ((16383 & dart.notNull(hash)) << 15); + } + dart.fn(finish, T$0.intToint()); + if (dart.test(this[_isZero])) return 6707; + let hash = dart.test(this[_isNegative]) ? 83585 : 429689; + for (let i = 0; i < dart.notNull(this[_used$]); i = i + 1) { + hash = combine(hash, this[_digits$][$_get](i)); + } + return finish(hash); + } + _equals(other) { + if (other == null) return false; + return core._BigIntImpl.is(other) && this.compareTo(other) === 0; + } + get bitLength() { + if (this[_used$] === 0) return 0; + if (dart.test(this[_isNegative])) return this['~']().bitLength; + return 16 * (dart.notNull(this[_used$]) - 1) + this[_digits$][$_get](dart.notNull(this[_used$]) - 1)[$bitLength]; + } + ['~/'](other) { + core._BigIntImpl.as(other); + if (other == null) dart.nullFailed(I[7], 2218, 49, "other"); + if (other[_used$] === 0) { + dart.throw(C[419] || CT.C419); + } + return this[_div](other); + } + remainder(other) { + core._BigIntImpl.as(other); + if (other == null) dart.nullFailed(I[7], 2232, 47, "other"); + if (other[_used$] === 0) { + dart.throw(C[419] || CT.C419); + } + return this[_rem](other); + } + ['/'](other) { + if (other == null) dart.nullFailed(I[7], 2240, 28, "other"); + return dart.notNull(this.toDouble()) / dart.notNull(other.toDouble()); + } + ['<'](other) { + core._BigIntImpl.as(other); + if (other == null) dart.nullFailed(I[7], 2243, 41, "other"); + return dart.notNull(this.compareTo(other)) < 0; + } + ['<='](other) { + core._BigIntImpl.as(other); + if (other == null) dart.nullFailed(I[7], 2246, 42, "other"); + return dart.notNull(this.compareTo(other)) <= 0; + } + ['>'](other) { + core._BigIntImpl.as(other); + if (other == null) dart.nullFailed(I[7], 2249, 41, "other"); + return dart.notNull(this.compareTo(other)) > 0; + } + ['>='](other) { + core._BigIntImpl.as(other); + if (other == null) dart.nullFailed(I[7], 2252, 42, "other"); + return dart.notNull(this.compareTo(other)) >= 0; + } + ['%'](other) { + core._BigIntImpl.as(other); + if (other == null) dart.nullFailed(I[7], 2265, 48, "other"); + if (other[_used$] === 0) { + dart.throw(C[419] || CT.C419); + } + let result = this[_rem](other); + if (dart.test(result[_isNegative])) { + if (dart.test(other[_isNegative])) { + result = result['-'](other); + } else { + result = result['+'](other); + } + } + return result; + } + get sign() { + if (this[_used$] === 0) return 0; + return dart.test(this[_isNegative]) ? -1 : 1; + } + get isEven() { + return this[_used$] === 0 || (dart.notNull(this[_digits$][$_get](0)) & 1) === 0; + } + get isOdd() { + return !dart.test(this.isEven); + } + get isNegative() { + return this[_isNegative]; + } + pow(exponent) { + if (exponent == null) dart.nullFailed(I[7], 2300, 23, "exponent"); + if (dart.notNull(exponent) < 0) { + dart.throw(new core.ArgumentError.new("Exponent must not be negative: " + dart.str(exponent))); + } + if (exponent === 0) return core._BigIntImpl.one; + let result = core._BigIntImpl.one; + let base = this; + while (exponent !== 0) { + if ((dart.notNull(exponent) & 1) === 1) { + result = result['*'](base); + } + exponent = exponent[$rightShift](1); + if (exponent !== 0) { + base = base['*'](base); + } + } + return result; + } + modPow(exponent, modulus) { + core._BigIntImpl.as(exponent); + if (exponent == null) dart.nullFailed(I[7], 2329, 29, "exponent"); + core._BigIntImpl.as(modulus); + if (modulus == null) dart.nullFailed(I[7], 2329, 61, "modulus"); + if (dart.test(exponent[_isNegative])) { + dart.throw(new core.ArgumentError.new("exponent must be positive: " + dart.str(exponent))); + } + if (dart.test(modulus['<='](core._BigIntImpl.zero))) { + dart.throw(new core.ArgumentError.new("modulus must be strictly positive: " + dart.str(modulus))); + } + if (dart.test(exponent[_isZero])) return core._BigIntImpl.one; + let modulusUsed = modulus[_used$]; + let modulusUsed2p4 = 2 * dart.notNull(modulusUsed) + 4; + let exponentBitlen = exponent.bitLength; + if (dart.notNull(exponentBitlen) <= 0) return core._BigIntImpl.one; + let z = new core._BigIntClassic.new(modulus); + let resultDigits = _native_typed_data.NativeUint16List.new(modulusUsed2p4); + let result2Digits = _native_typed_data.NativeUint16List.new(modulusUsed2p4); + let gDigits = _native_typed_data.NativeUint16List.new(modulusUsed); + let gUsed = z.convert(this, gDigits); + for (let j = dart.notNull(gUsed) - 1; j >= 0; j = j - 1) { + resultDigits[$_set](j, gDigits[$_get](j)); + } + let resultUsed = gUsed; + let result2Used = null; + for (let i = dart.notNull(exponentBitlen) - 2; i >= 0; i = i - 1) { + result2Used = z.sqr(resultDigits, resultUsed, result2Digits); + if (!dart.test(exponent['&'](core._BigIntImpl.one['<<'](i))[_isZero])) { + resultUsed = z.mul(result2Digits, result2Used, gDigits, gUsed, resultDigits); + } else { + let tmpDigits = resultDigits; + let tmpUsed = resultUsed; + resultDigits = result2Digits; + resultUsed = result2Used; + result2Digits = tmpDigits; + result2Used = tmpUsed; + } + } + return z.revert(resultDigits, resultUsed); + } + static _binaryGcd(x, y, inv) { + if (x == null) dart.nullFailed(I[7], 2375, 45, "x"); + if (y == null) dart.nullFailed(I[7], 2375, 60, "y"); + if (inv == null) dart.nullFailed(I[7], 2375, 68, "inv"); + let xDigits = x[_digits$]; + let yDigits = y[_digits$]; + let xUsed = x[_used$]; + let yUsed = y[_used$]; + let maxUsed = dart.notNull(xUsed) > dart.notNull(yUsed) ? xUsed : yUsed; + let unshiftedMaxUsed = maxUsed; + xDigits = core._BigIntImpl._cloneDigits(xDigits, 0, xUsed, maxUsed); + yDigits = core._BigIntImpl._cloneDigits(yDigits, 0, yUsed, maxUsed); + let shiftAmount = 0; + if (dart.test(inv)) { + if (yUsed === 1 && yDigits[$_get](0) === 1) return core._BigIntImpl.one; + if (yUsed === 0 || yDigits[$_get](0)[$isEven] && xDigits[$_get](0)[$isEven]) { + dart.throw(core.Exception.new("Not coprime")); + } + } else { + if (dart.test(x[_isZero])) { + dart.throw(new core.ArgumentError.value(0, "this", "must not be zero")); + } + if (dart.test(y[_isZero])) { + dart.throw(new core.ArgumentError.value(0, "other", "must not be zero")); + } + if (xUsed === 1 && xDigits[$_get](0) === 1 || yUsed === 1 && yDigits[$_get](0) === 1) return core._BigIntImpl.one; + while ((dart.notNull(xDigits[$_get](0)) & 1) === 0 && (dart.notNull(yDigits[$_get](0)) & 1) === 0) { + core._BigIntImpl._rsh(xDigits, xUsed, 1, xDigits); + core._BigIntImpl._rsh(yDigits, yUsed, 1, yDigits); + shiftAmount = shiftAmount + 1; + } + if (shiftAmount >= 16) { + let digitShiftAmount = (shiftAmount / 16)[$truncate](); + xUsed = dart.notNull(xUsed) - digitShiftAmount; + yUsed = dart.notNull(yUsed) - digitShiftAmount; + maxUsed = dart.notNull(maxUsed) - digitShiftAmount; + } + if ((dart.notNull(yDigits[$_get](0)) & 1) === 1) { + let tmpDigits = xDigits; + let tmpUsed = xUsed; + xDigits = yDigits; + xUsed = yUsed; + yDigits = tmpDigits; + yUsed = tmpUsed; + } + } + let uDigits = core._BigIntImpl._cloneDigits(xDigits, 0, xUsed, unshiftedMaxUsed); + let vDigits = core._BigIntImpl._cloneDigits(yDigits, 0, yUsed, dart.notNull(unshiftedMaxUsed) + 2); + let ac = (dart.notNull(xDigits[$_get](0)) & 1) === 0; + let abcdUsed = dart.notNull(maxUsed) + 1; + let abcdLen = abcdUsed + 2; + let aDigits = core._dummyList; + let aIsNegative = false; + let cDigits = core._dummyList; + let cIsNegative = false; + if (ac) { + aDigits = _native_typed_data.NativeUint16List.new(abcdLen); + aDigits[$_set](0, 1); + cDigits = _native_typed_data.NativeUint16List.new(abcdLen); + } + let bDigits = _native_typed_data.NativeUint16List.new(abcdLen); + let bIsNegative = false; + let dDigits = _native_typed_data.NativeUint16List.new(abcdLen); + let dIsNegative = false; + dDigits[$_set](0, 1); + while (true) { + while ((dart.notNull(uDigits[$_get](0)) & 1) === 0) { + core._BigIntImpl._rsh(uDigits, maxUsed, 1, uDigits); + if (ac) { + if ((dart.notNull(aDigits[$_get](0)) & 1) === 1 || (dart.notNull(bDigits[$_get](0)) & 1) === 1) { + if (aIsNegative) { + if (aDigits[$_get](maxUsed) !== 0 || dart.notNull(core._BigIntImpl._compareDigits(aDigits, maxUsed, yDigits, maxUsed)) > 0) { + core._BigIntImpl._absSub(aDigits, abcdUsed, yDigits, maxUsed, aDigits); + } else { + core._BigIntImpl._absSub(yDigits, maxUsed, aDigits, maxUsed, aDigits); + aIsNegative = false; + } + } else { + core._BigIntImpl._absAdd(aDigits, abcdUsed, yDigits, maxUsed, aDigits); + } + if (bIsNegative) { + core._BigIntImpl._absAdd(bDigits, abcdUsed, xDigits, maxUsed, bDigits); + } else if (bDigits[$_get](maxUsed) !== 0 || dart.notNull(core._BigIntImpl._compareDigits(bDigits, maxUsed, xDigits, maxUsed)) > 0) { + core._BigIntImpl._absSub(bDigits, abcdUsed, xDigits, maxUsed, bDigits); + } else { + core._BigIntImpl._absSub(xDigits, maxUsed, bDigits, maxUsed, bDigits); + bIsNegative = true; + } + } + core._BigIntImpl._rsh(aDigits, abcdUsed, 1, aDigits); + } else if ((dart.notNull(bDigits[$_get](0)) & 1) === 1) { + if (bIsNegative) { + core._BigIntImpl._absAdd(bDigits, abcdUsed, xDigits, maxUsed, bDigits); + } else if (bDigits[$_get](maxUsed) !== 0 || dart.notNull(core._BigIntImpl._compareDigits(bDigits, maxUsed, xDigits, maxUsed)) > 0) { + core._BigIntImpl._absSub(bDigits, abcdUsed, xDigits, maxUsed, bDigits); + } else { + core._BigIntImpl._absSub(xDigits, maxUsed, bDigits, maxUsed, bDigits); + bIsNegative = true; + } + } + core._BigIntImpl._rsh(bDigits, abcdUsed, 1, bDigits); + } + while ((dart.notNull(vDigits[$_get](0)) & 1) === 0) { + core._BigIntImpl._rsh(vDigits, maxUsed, 1, vDigits); + if (ac) { + if ((dart.notNull(cDigits[$_get](0)) & 1) === 1 || (dart.notNull(dDigits[$_get](0)) & 1) === 1) { + if (cIsNegative) { + if (cDigits[$_get](maxUsed) !== 0 || dart.notNull(core._BigIntImpl._compareDigits(cDigits, maxUsed, yDigits, maxUsed)) > 0) { + core._BigIntImpl._absSub(cDigits, abcdUsed, yDigits, maxUsed, cDigits); + } else { + core._BigIntImpl._absSub(yDigits, maxUsed, cDigits, maxUsed, cDigits); + cIsNegative = false; + } + } else { + core._BigIntImpl._absAdd(cDigits, abcdUsed, yDigits, maxUsed, cDigits); + } + if (dIsNegative) { + core._BigIntImpl._absAdd(dDigits, abcdUsed, xDigits, maxUsed, dDigits); + } else if (dDigits[$_get](maxUsed) !== 0 || dart.notNull(core._BigIntImpl._compareDigits(dDigits, maxUsed, xDigits, maxUsed)) > 0) { + core._BigIntImpl._absSub(dDigits, abcdUsed, xDigits, maxUsed, dDigits); + } else { + core._BigIntImpl._absSub(xDigits, maxUsed, dDigits, maxUsed, dDigits); + dIsNegative = true; + } + } + core._BigIntImpl._rsh(cDigits, abcdUsed, 1, cDigits); + } else if ((dart.notNull(dDigits[$_get](0)) & 1) === 1) { + if (dIsNegative) { + core._BigIntImpl._absAdd(dDigits, abcdUsed, xDigits, maxUsed, dDigits); + } else if (dDigits[$_get](maxUsed) !== 0 || dart.notNull(core._BigIntImpl._compareDigits(dDigits, maxUsed, xDigits, maxUsed)) > 0) { + core._BigIntImpl._absSub(dDigits, abcdUsed, xDigits, maxUsed, dDigits); + } else { + core._BigIntImpl._absSub(xDigits, maxUsed, dDigits, maxUsed, dDigits); + dIsNegative = true; + } + } + core._BigIntImpl._rsh(dDigits, abcdUsed, 1, dDigits); + } + if (dart.notNull(core._BigIntImpl._compareDigits(uDigits, maxUsed, vDigits, maxUsed)) >= 0) { + core._BigIntImpl._absSub(uDigits, maxUsed, vDigits, maxUsed, uDigits); + if (ac) { + if (aIsNegative === cIsNegative) { + let a_cmp_c = core._BigIntImpl._compareDigits(aDigits, abcdUsed, cDigits, abcdUsed); + if (dart.notNull(a_cmp_c) > 0) { + core._BigIntImpl._absSub(aDigits, abcdUsed, cDigits, abcdUsed, aDigits); + } else { + core._BigIntImpl._absSub(cDigits, abcdUsed, aDigits, abcdUsed, aDigits); + aIsNegative = !aIsNegative && a_cmp_c !== 0; + } + } else { + core._BigIntImpl._absAdd(aDigits, abcdUsed, cDigits, abcdUsed, aDigits); + } + } + if (bIsNegative === dIsNegative) { + let b_cmp_d = core._BigIntImpl._compareDigits(bDigits, abcdUsed, dDigits, abcdUsed); + if (dart.notNull(b_cmp_d) > 0) { + core._BigIntImpl._absSub(bDigits, abcdUsed, dDigits, abcdUsed, bDigits); + } else { + core._BigIntImpl._absSub(dDigits, abcdUsed, bDigits, abcdUsed, bDigits); + bIsNegative = !bIsNegative && b_cmp_d !== 0; + } + } else { + core._BigIntImpl._absAdd(bDigits, abcdUsed, dDigits, abcdUsed, bDigits); + } + } else { + core._BigIntImpl._absSub(vDigits, maxUsed, uDigits, maxUsed, vDigits); + if (ac) { + if (cIsNegative === aIsNegative) { + let c_cmp_a = core._BigIntImpl._compareDigits(cDigits, abcdUsed, aDigits, abcdUsed); + if (dart.notNull(c_cmp_a) > 0) { + core._BigIntImpl._absSub(cDigits, abcdUsed, aDigits, abcdUsed, cDigits); + } else { + core._BigIntImpl._absSub(aDigits, abcdUsed, cDigits, abcdUsed, cDigits); + cIsNegative = !cIsNegative && c_cmp_a !== 0; + } + } else { + core._BigIntImpl._absAdd(cDigits, abcdUsed, aDigits, abcdUsed, cDigits); + } + } + if (dIsNegative === bIsNegative) { + let d_cmp_b = core._BigIntImpl._compareDigits(dDigits, abcdUsed, bDigits, abcdUsed); + if (dart.notNull(d_cmp_b) > 0) { + core._BigIntImpl._absSub(dDigits, abcdUsed, bDigits, abcdUsed, dDigits); + } else { + core._BigIntImpl._absSub(bDigits, abcdUsed, dDigits, abcdUsed, dDigits); + dIsNegative = !dIsNegative && d_cmp_b !== 0; + } + } else { + core._BigIntImpl._absAdd(dDigits, abcdUsed, bDigits, abcdUsed, dDigits); + } + } + let i = maxUsed; + while (dart.notNull(i) > 0 && uDigits[$_get](dart.notNull(i) - 1) === 0) + i = dart.notNull(i) - 1; + if (i === 0) break; + } + if (!dart.test(inv)) { + if (shiftAmount > 0) { + maxUsed = core._BigIntImpl._lShiftDigits(vDigits, maxUsed, shiftAmount, vDigits); + } + return new core._BigIntImpl.__(false, maxUsed, vDigits); + } + let i = dart.notNull(maxUsed) - 1; + while (i > 0 && vDigits[$_get](i) === 0) + i = i - 1; + if (i !== 0 || vDigits[$_get](0) !== 1) { + dart.throw(core.Exception.new("Not coprime")); + } + if (dIsNegative) { + while (dDigits[$_get](maxUsed) !== 0 || dart.notNull(core._BigIntImpl._compareDigits(dDigits, maxUsed, xDigits, maxUsed)) > 0) { + core._BigIntImpl._absSub(dDigits, abcdUsed, xDigits, maxUsed, dDigits); + } + core._BigIntImpl._absSub(xDigits, maxUsed, dDigits, maxUsed, dDigits); + dIsNegative = false; + } else { + while (dDigits[$_get](maxUsed) !== 0 || dart.notNull(core._BigIntImpl._compareDigits(dDigits, maxUsed, xDigits, maxUsed)) >= 0) { + core._BigIntImpl._absSub(dDigits, abcdUsed, xDigits, maxUsed, dDigits); + } + } + return new core._BigIntImpl.__(false, maxUsed, dDigits); + } + modInverse(modulus) { + core._BigIntImpl.as(modulus); + if (modulus == null) dart.nullFailed(I[7], 2633, 48, "modulus"); + if (dart.test(modulus['<='](core._BigIntImpl.zero))) { + dart.throw(new core.ArgumentError.new("Modulus must be strictly positive: " + dart.str(modulus))); + } + if (dart.equals(modulus, core._BigIntImpl.one)) return core._BigIntImpl.zero; + let tmp = this; + if (dart.test(tmp[_isNegative]) || dart.notNull(tmp[_absCompare](modulus)) >= 0) { + tmp = tmp['%'](modulus); + } + return core._BigIntImpl._binaryGcd(modulus, tmp, true); + } + gcd(other) { + core._BigIntImpl.as(other); + if (other == null) dart.nullFailed(I[7], 2658, 41, "other"); + if (dart.test(this[_isZero])) return other.abs(); + if (dart.test(other[_isZero])) return this.abs(); + return core._BigIntImpl._binaryGcd(this, other, false); + } + toUnsigned(width) { + if (width == null) dart.nullFailed(I[7], 2690, 30, "width"); + return this['&'](core._BigIntImpl.one['<<'](width)['-'](core._BigIntImpl.one)); + } + toSigned(width) { + if (width == null) dart.nullFailed(I[7], 2728, 28, "width"); + let signMask = core._BigIntImpl.one['<<'](dart.notNull(width) - 1); + return this['&'](signMask['-'](core._BigIntImpl.one))['-'](this['&'](signMask)); + } + get isValidInt() { + if (dart.notNull(this[_used$]) <= 3) return true; + let asInt = this.toInt(); + if (!asInt[$toDouble]()[$isFinite]) return false; + return this._equals(core._BigIntImpl._fromInt(asInt)); + } + toInt() { + let result = 0; + for (let i = dart.notNull(this[_used$]) - 1; i >= 0; i = i - 1) { + result = result * 65536 + dart.notNull(this[_digits$][$_get](i)); + } + return dart.test(this[_isNegative]) ? -result : result; + } + toDouble() { + let t248, t247, t248$, t247$; + if (dart.test(this[_isZero])) return 0.0; + let resultBits = _native_typed_data.NativeUint8List.new(8); + let length = 16 * (dart.notNull(this[_used$]) - 1) + this[_digits$][$_get](dart.notNull(this[_used$]) - 1)[$bitLength]; + if (length > 971 + 53) { + return dart.test(this[_isNegative]) ? -1 / 0 : 1 / 0; + } + if (dart.test(this[_isNegative])) resultBits[$_set](7, 128); + let biasedExponent = length - 53 + 1075; + resultBits[$_set](6, (biasedExponent & 15) << 4); + t247 = resultBits; + t248 = 7; + t247[$_set](t248, (dart.notNull(t247[$_get](t248)) | biasedExponent[$rightShift](4)) >>> 0); + let cachedBits = 0; + let cachedBitsLength = 0; + let digitIndex = dart.notNull(this[_used$]) - 1; + const readBits = n => { + if (n == null) dart.nullFailed(I[7], 2791, 22, "n"); + while (cachedBitsLength < dart.notNull(n)) { + let nextDigit = null; + let nextDigitLength = 16; + if (digitIndex < 0) { + nextDigit = 0; + digitIndex = digitIndex - 1; + } else { + nextDigit = this[_digits$][$_get](digitIndex); + if (digitIndex === dart.notNull(this[_used$]) - 1) nextDigitLength = nextDigit[$bitLength]; + digitIndex = digitIndex - 1; + } + cachedBits = cachedBits[$leftShift](nextDigitLength) + dart.notNull(nextDigit); + cachedBitsLength = cachedBitsLength + nextDigitLength; + } + let result = cachedBits[$rightShift](cachedBitsLength - dart.notNull(n)); + cachedBits = cachedBits - result[$leftShift](cachedBitsLength - dart.notNull(n)); + cachedBitsLength = cachedBitsLength - dart.notNull(n); + return result; + }; + dart.fn(readBits, T$0.intToint()); + let leadingBits = dart.notNull(readBits(5)) & 15; + t247$ = resultBits; + t248$ = 6; + t247$[$_set](t248$, (dart.notNull(t247$[$_get](t248$)) | leadingBits) >>> 0); + for (let i = 5; i >= 0; i = i - 1) { + resultBits[$_set](i, readBits(8)); + } + function roundUp() { + let carry = 1; + for (let i = 0; i < 8; i = i + 1) { + if (carry === 0) break; + let sum = dart.notNull(resultBits[$_get](i)) + carry; + resultBits[$_set](i, sum & 255); + carry = sum[$rightShift](8); + } + } + dart.fn(roundUp, T$.VoidTovoid()); + if (readBits(1) === 1) { + if (resultBits[$_get](0)[$isOdd]) { + roundUp(); + } else { + if (cachedBits !== 0) { + roundUp(); + } else { + for (let i = digitIndex; i >= 0; i = i - 1) { + if (this[_digits$][$_get](i) !== 0) { + roundUp(); + break; + } + } + } + } + } + return resultBits[$buffer][$asByteData]()[$getFloat64](0, typed_data.Endian.little); + } + toString() { + if (this[_used$] === 0) return "0"; + if (this[_used$] === 1) { + if (dart.test(this[_isNegative])) return (-dart.notNull(this[_digits$][$_get](0)))[$toString](); + return dart.toString(this[_digits$][$_get](0)); + } + let decimalDigitChunks = T$.JSArrayOfString().of([]); + let rest = dart.test(this.isNegative) ? this._negate() : this; + while (dart.notNull(rest[_used$]) > 1) { + let digits4 = dart.toString(rest.remainder(core._BigIntImpl._bigInt10000)); + decimalDigitChunks[$add](digits4); + if (digits4.length === 1) decimalDigitChunks[$add]("000"); + if (digits4.length === 2) decimalDigitChunks[$add]("00"); + if (digits4.length === 3) decimalDigitChunks[$add]("0"); + rest = rest['~/'](core._BigIntImpl._bigInt10000); + } + decimalDigitChunks[$add](dart.toString(rest[_digits$][$_get](0))); + if (dart.test(this[_isNegative])) decimalDigitChunks[$add]("-"); + return decimalDigitChunks[$reversed][$join](); + } + [_toRadixCodeUnit](digit) { + if (digit == null) dart.nullFailed(I[7], 2891, 28, "digit"); + if (dart.notNull(digit) < 10) return 48 + dart.notNull(digit); + return 97 + dart.notNull(digit) - 10; + } + toRadixString(radix) { + if (radix == null) dart.nullFailed(I[7], 2906, 28, "radix"); + if (dart.notNull(radix) > 36) dart.throw(new core.RangeError.range(radix, 2, 36)); + if (this[_used$] === 0) return "0"; + if (this[_used$] === 1) { + let digitString = this[_digits$][$_get](0)[$toRadixString](radix); + if (dart.test(this[_isNegative])) return "-" + digitString; + return digitString; + } + if (radix === 16) return this[_toHexString](); + let base = core._BigIntImpl._fromInt(radix); + let reversedDigitCodeUnits = T$.JSArrayOfint().of([]); + let rest = this.abs(); + while (!dart.test(rest[_isZero])) { + let digit = rest.remainder(base).toInt(); + rest = rest['~/'](base); + reversedDigitCodeUnits[$add](this[_toRadixCodeUnit](digit)); + } + let digitString = core.String.fromCharCodes(reversedDigitCodeUnits[$reversed]); + if (dart.test(this[_isNegative])) return "-" + dart.notNull(digitString); + return digitString; + } + [_toHexString]() { + let chars = T$.JSArrayOfint().of([]); + for (let i = 0; i < dart.notNull(this[_used$]) - 1; i = i + 1) { + let chunk = this[_digits$][$_get](i); + for (let j = 0; j < (16 / 4)[$truncate](); j = j + 1) { + chars[$add](this[_toRadixCodeUnit](dart.notNull(chunk) & 15)); + chunk = chunk[$rightShift](4); + } + } + let msbChunk = this[_digits$][$_get](dart.notNull(this[_used$]) - 1); + while (msbChunk !== 0) { + chars[$add](this[_toRadixCodeUnit](dart.notNull(msbChunk) & 15)); + msbChunk = msbChunk[$rightShift](4); + } + if (dart.test(this[_isNegative])) { + chars[$add](45); + } + return core.String.fromCharCodes(chars[$reversed]); + } +}; +(core._BigIntImpl.__ = function(isNegative, used, digits) { + if (isNegative == null) dart.nullFailed(I[7], 1211, 22, "isNegative"); + if (used == null) dart.nullFailed(I[7], 1211, 38, "used"); + if (digits == null) dart.nullFailed(I[7], 1211, 55, "digits"); + core._BigIntImpl._normalized.call(this, isNegative, core._BigIntImpl._normalize(used, digits), digits); +}).prototype = core._BigIntImpl.prototype; +(core._BigIntImpl._normalized = function(isNegative, _used, _digits) { + if (isNegative == null) dart.nullFailed(I[7], 1214, 32, "isNegative"); + if (_used == null) dart.nullFailed(I[7], 1214, 49, "_used"); + if (_digits == null) dart.nullFailed(I[7], 1214, 61, "_digits"); + this[_used$] = _used; + this[_digits$] = _digits; + this[_isNegative] = _used === 0 ? false : isNegative; + ; +}).prototype = core._BigIntImpl.prototype; +dart.addTypeTests(core._BigIntImpl); +dart.addTypeCaches(core._BigIntImpl); +core._BigIntImpl[dart.implements] = () => [core.BigInt]; +dart.setMethodSignature(core._BigIntImpl, () => ({ + __proto__: dart.getMethods(core._BigIntImpl.__proto__), + _negate: dart.fnType(core._BigIntImpl, []), + abs: dart.fnType(core._BigIntImpl, []), + [_dlShift]: dart.fnType(core._BigIntImpl, [core.int]), + [_drShift]: dart.fnType(core._BigIntImpl, [core.int]), + '<<': dart.fnType(core._BigIntImpl, [core.int]), + '>>': dart.fnType(core._BigIntImpl, [core.int]), + [_absCompare]: dart.fnType(core.int, [core._BigIntImpl]), + compareTo: dart.fnType(core.int, [dart.nullable(core.Object)]), + [$compareTo]: dart.fnType(core.int, [dart.nullable(core.Object)]), + [_absAddSetSign]: dart.fnType(core._BigIntImpl, [core._BigIntImpl, core.bool]), + [_absSubSetSign]: dart.fnType(core._BigIntImpl, [core._BigIntImpl, core.bool]), + [_absAndSetSign]: dart.fnType(core._BigIntImpl, [core._BigIntImpl, core.bool]), + [_absAndNotSetSign]: dart.fnType(core._BigIntImpl, [core._BigIntImpl, core.bool]), + [_absOrSetSign]: dart.fnType(core._BigIntImpl, [core._BigIntImpl, core.bool]), + [_absXorSetSign]: dart.fnType(core._BigIntImpl, [core._BigIntImpl, core.bool]), + '&': dart.fnType(core._BigIntImpl, [dart.nullable(core.Object)]), + '|': dart.fnType(core._BigIntImpl, [dart.nullable(core.Object)]), + '^': dart.fnType(core._BigIntImpl, [dart.nullable(core.Object)]), + '~': dart.fnType(core._BigIntImpl, []), + '+': dart.fnType(core._BigIntImpl, [dart.nullable(core.Object)]), + '-': dart.fnType(core._BigIntImpl, [dart.nullable(core.Object)]), + '*': dart.fnType(core._BigIntImpl, [dart.nullable(core.Object)]), + [_div]: dart.fnType(core._BigIntImpl, [core._BigIntImpl]), + [_rem]: dart.fnType(core._BigIntImpl, [core._BigIntImpl]), + [_divRem]: dart.fnType(dart.void, [core._BigIntImpl]), + '~/': dart.fnType(core._BigIntImpl, [dart.nullable(core.Object)]), + remainder: dart.fnType(core._BigIntImpl, [dart.nullable(core.Object)]), + '/': dart.fnType(core.double, [core.BigInt]), + '<': dart.fnType(core.bool, [dart.nullable(core.Object)]), + '<=': dart.fnType(core.bool, [dart.nullable(core.Object)]), + '>': dart.fnType(core.bool, [dart.nullable(core.Object)]), + '>=': dart.fnType(core.bool, [dart.nullable(core.Object)]), + '%': dart.fnType(core._BigIntImpl, [dart.nullable(core.Object)]), + pow: dart.fnType(core._BigIntImpl, [core.int]), + modPow: dart.fnType(core._BigIntImpl, [dart.nullable(core.Object), dart.nullable(core.Object)]), + modInverse: dart.fnType(core._BigIntImpl, [dart.nullable(core.Object)]), + gcd: dart.fnType(core._BigIntImpl, [dart.nullable(core.Object)]), + toUnsigned: dart.fnType(core._BigIntImpl, [core.int]), + toSigned: dart.fnType(core._BigIntImpl, [core.int]), + toInt: dart.fnType(core.int, []), + toDouble: dart.fnType(core.double, []), + [_toRadixCodeUnit]: dart.fnType(core.int, [core.int]), + toRadixString: dart.fnType(core.String, [core.int]), + [_toHexString]: dart.fnType(core.String, []) +})); +dart.setGetterSignature(core._BigIntImpl, () => ({ + __proto__: dart.getGetters(core._BigIntImpl.__proto__), + [_isZero]: core.bool, + bitLength: core.int, + sign: core.int, + isEven: core.bool, + isOdd: core.bool, + isNegative: core.bool, + isValidInt: core.bool +})); +dart.setLibraryUri(core._BigIntImpl, I[8]); +dart.setFieldSignature(core._BigIntImpl, () => ({ + __proto__: dart.getFields(core._BigIntImpl.__proto__), + [_isNegative]: dart.finalFieldType(core.bool), + [_digits$]: dart.finalFieldType(typed_data.Uint16List), + [_used$]: dart.finalFieldType(core.int) +})); +dart.defineExtensionMethods(core._BigIntImpl, ['compareTo', '_equals', 'toString']); +dart.defineExtensionAccessors(core._BigIntImpl, ['hashCode']); +dart.defineLazy(core._BigIntImpl, { + /*core._BigIntImpl._digitBits*/get _digitBits() { + return 16; + }, + /*core._BigIntImpl._digitBase*/get _digitBase() { + return 65536; + }, + /*core._BigIntImpl._digitMask*/get _digitMask() { + return 65535; + }, + /*core._BigIntImpl.zero*/get zero() { + return core._BigIntImpl._fromInt(0); + }, + /*core._BigIntImpl.one*/get one() { + return core._BigIntImpl._fromInt(1); + }, + /*core._BigIntImpl.two*/get two() { + return core._BigIntImpl._fromInt(2); + }, + /*core._BigIntImpl._minusOne*/get _minusOne() { + return core._BigIntImpl.one._negate(); + }, + /*core._BigIntImpl._bigInt10000*/get _bigInt10000() { + return core._BigIntImpl._fromInt(10000); + }, + /*core._BigIntImpl._lastDividendDigits*/get _lastDividendDigits() { + return null; + }, + set _lastDividendDigits(_) {}, + /*core._BigIntImpl._lastDividendUsed*/get _lastDividendUsed() { + return null; + }, + set _lastDividendUsed(_) {}, + /*core._BigIntImpl._lastDivisorDigits*/get _lastDivisorDigits() { + return null; + }, + set _lastDivisorDigits(_) {}, + /*core._BigIntImpl._lastDivisorUsed*/get _lastDivisorUsed() { + return null; + }, + set _lastDivisorUsed(_) {}, + /*core._BigIntImpl._lastQuoRemDigits*/get _lastQuoRemDigits() { + return null; + }, + set _lastQuoRemDigits(_) {}, + /*core._BigIntImpl._lastQuoRemUsed*/get _lastQuoRemUsed() { + return null; + }, + set _lastQuoRemUsed(_) {}, + /*core._BigIntImpl._lastRemUsed*/get _lastRemUsed() { + return null; + }, + set _lastRemUsed(_) {}, + /*core._BigIntImpl._lastRem_nsh*/get _lastRem_nsh() { + return null; + }, + set _lastRem_nsh(_) {}, + /*core._BigIntImpl._parseRE*/get _parseRE() { + return core.RegExp.new("^\\s*([+-]?)((0x[a-f0-9]+)|(\\d+)|([a-z0-9]+))\\s*$", {caseSensitive: false}); + }, + set _parseRE(_) {}, + /*core._BigIntImpl._bitsForFromDouble*/get _bitsForFromDouble() { + return _native_typed_data.NativeUint8List.new(8); + }, + /*core._BigIntImpl._simpleValidIntDigits*/get _simpleValidIntDigits() { + return 3; + } +}, false); +core._BigIntReduction = class _BigIntReduction extends core.Object {}; +(core._BigIntReduction.new = function() { + ; +}).prototype = core._BigIntReduction.prototype; +dart.addTypeTests(core._BigIntReduction); +dart.addTypeCaches(core._BigIntReduction); +dart.setLibraryUri(core._BigIntReduction, I[8]); +var _modulus$ = dart.privateName(core, "_modulus"); +var _normalizedModulus = dart.privateName(core, "_normalizedModulus"); +var _reduce = dart.privateName(core, "_reduce"); +core._BigIntClassic = class _BigIntClassic extends core.Object { + convert(x, resultDigits) { + if (x == null) dart.nullFailed(I[7], 2976, 27, "x"); + if (resultDigits == null) dart.nullFailed(I[7], 2976, 41, "resultDigits"); + let digits = null; + let used = null; + if (dart.test(x[_isNegative]) || dart.notNull(x[_absCompare](this[_modulus$])) >= 0) { + let remainder = x[_rem](this[_modulus$]); + if (dart.test(x[_isNegative]) && dart.notNull(remainder[_used$]) > 0) { + if (!dart.test(remainder[_isNegative])) dart.assertFailed(null, I[7], 2982, 16, "remainder._isNegative"); + remainder = remainder['+'](this[_modulus$]); + } + if (!!dart.test(remainder[_isNegative])) dart.assertFailed(null, I[7], 2985, 14, "!remainder._isNegative"); + used = remainder[_used$]; + digits = remainder[_digits$]; + } else { + used = x[_used$]; + digits = x[_digits$]; + } + let i = used; + while ((i = dart.notNull(i) - 1) >= 0) { + resultDigits[$_set](i, digits[$_get](i)); + } + return used; + } + revert(xDigits, xUsed) { + if (xDigits == null) dart.nullFailed(I[7], 2999, 33, "xDigits"); + if (xUsed == null) dart.nullFailed(I[7], 2999, 46, "xUsed"); + return new core._BigIntImpl.__(false, xUsed, xDigits); + } + [_reduce](xDigits, xUsed) { + if (xDigits == null) dart.nullFailed(I[7], 3003, 26, "xDigits"); + if (xUsed == null) dart.nullFailed(I[7], 3003, 39, "xUsed"); + if (dart.notNull(xUsed) < dart.notNull(this[_modulus$][_used$])) { + return xUsed; + } + let reverted = this.revert(xDigits, xUsed); + let rem = reverted[_rem](this[_normalizedModulus]); + return this.convert(rem, xDigits); + } + sqr(xDigits, xUsed, resultDigits) { + if (xDigits == null) dart.nullFailed(I[7], 3012, 22, "xDigits"); + if (xUsed == null) dart.nullFailed(I[7], 3012, 35, "xUsed"); + if (resultDigits == null) dart.nullFailed(I[7], 3012, 53, "resultDigits"); + let b = new core._BigIntImpl.__(false, xUsed, xDigits); + let b2 = b['*'](b); + for (let i = 0; i < dart.notNull(b2[_used$]); i = i + 1) { + resultDigits[$_set](i, b2[_digits$][$_get](i)); + } + for (let i = b2[_used$]; dart.notNull(i) < 2 * dart.notNull(xUsed); i = dart.notNull(i) + 1) { + resultDigits[$_set](i, 0); + } + return this[_reduce](resultDigits, 2 * dart.notNull(xUsed)); + } + mul(xDigits, xUsed, yDigits, yUsed, resultDigits) { + if (xDigits == null) dart.nullFailed(I[7], 3024, 22, "xDigits"); + if (xUsed == null) dart.nullFailed(I[7], 3024, 35, "xUsed"); + if (yDigits == null) dart.nullFailed(I[7], 3024, 53, "yDigits"); + if (yUsed == null) dart.nullFailed(I[7], 3024, 66, "yUsed"); + if (resultDigits == null) dart.nullFailed(I[7], 3025, 18, "resultDigits"); + let resultUsed = core._BigIntImpl._mulDigits(xDigits, xUsed, yDigits, yUsed, resultDigits); + return this[_reduce](resultDigits, resultUsed); + } +}; +(core._BigIntClassic.new = function(_modulus) { + if (_modulus == null) dart.nullFailed(I[7], 2971, 23, "_modulus"); + this[_modulus$] = _modulus; + this[_normalizedModulus] = _modulus['<<'](16 - _modulus[_digits$][$_get](dart.notNull(_modulus[_used$]) - 1)[$bitLength]); + ; +}).prototype = core._BigIntClassic.prototype; +dart.addTypeTests(core._BigIntClassic); +dart.addTypeCaches(core._BigIntClassic); +core._BigIntClassic[dart.implements] = () => [core._BigIntReduction]; +dart.setMethodSignature(core._BigIntClassic, () => ({ + __proto__: dart.getMethods(core._BigIntClassic.__proto__), + convert: dart.fnType(core.int, [core._BigIntImpl, typed_data.Uint16List]), + revert: dart.fnType(core._BigIntImpl, [typed_data.Uint16List, core.int]), + [_reduce]: dart.fnType(core.int, [typed_data.Uint16List, core.int]), + sqr: dart.fnType(core.int, [typed_data.Uint16List, core.int, typed_data.Uint16List]), + mul: dart.fnType(core.int, [typed_data.Uint16List, core.int, typed_data.Uint16List, core.int, typed_data.Uint16List]) +})); +dart.setLibraryUri(core._BigIntClassic, I[8]); +dart.setFieldSignature(core._BigIntClassic, () => ({ + __proto__: dart.getFields(core._BigIntClassic.__proto__), + [_modulus$]: dart.finalFieldType(core._BigIntImpl), + [_normalizedModulus]: dart.finalFieldType(core._BigIntImpl) +})); +var message$11 = dart.privateName(core, "Deprecated.message"); +core.Deprecated = class Deprecated extends core.Object { + get message() { + return this[message$11]; + } + set message(value) { + super.message = value; + } + get expires() { + return this.message; + } + toString() { + return "Deprecated feature: " + dart.str(this.message); + } +}; +(core.Deprecated.new = function(message) { + if (message == null) dart.nullFailed(I[165], 77, 25, "message"); + this[message$11] = message; + ; +}).prototype = core.Deprecated.prototype; +dart.addTypeTests(core.Deprecated); +dart.addTypeCaches(core.Deprecated); +dart.setGetterSignature(core.Deprecated, () => ({ + __proto__: dart.getGetters(core.Deprecated.__proto__), + expires: core.String +})); +dart.setLibraryUri(core.Deprecated, I[8]); +dart.setFieldSignature(core.Deprecated, () => ({ + __proto__: dart.getFields(core.Deprecated.__proto__), + message: dart.finalFieldType(core.String) +})); +dart.defineExtensionMethods(core.Deprecated, ['toString']); +core._Override = class _Override extends core.Object {}; +(core._Override.new = function() { + ; +}).prototype = core._Override.prototype; +dart.addTypeTests(core._Override); +dart.addTypeCaches(core._Override); +dart.setLibraryUri(core._Override, I[8]); +core.Provisional = class Provisional extends core.Object { + get message() { + return null; + } +}; +(core.Provisional.new = function(opts) { + let message = opts && 'message' in opts ? opts.message : null; + ; +}).prototype = core.Provisional.prototype; +dart.addTypeTests(core.Provisional); +dart.addTypeCaches(core.Provisional); +dart.setGetterSignature(core.Provisional, () => ({ + __proto__: dart.getGetters(core.Provisional.__proto__), + message: dart.nullable(core.String) +})); +dart.setLibraryUri(core.Provisional, I[8]); +var name$12 = dart.privateName(core, "pragma.name"); +var options$ = dart.privateName(core, "pragma.options"); +core.pragma = class pragma extends core.Object { + get name() { + return this[name$12]; + } + set name(value) { + super.name = value; + } + get options() { + return this[options$]; + } + set options(value) { + super.options = value; + } +}; +(core.pragma.__ = function(name, options = null) { + if (name == null) dart.nullFailed(I[165], 188, 23, "name"); + this[name$12] = name; + this[options$] = options; + ; +}).prototype = core.pragma.prototype; +dart.addTypeTests(core.pragma); +dart.addTypeCaches(core.pragma); +dart.setLibraryUri(core.pragma, I[8]); +dart.setFieldSignature(core.pragma, () => ({ + __proto__: dart.getFields(core.pragma.__proto__), + name: dart.finalFieldType(core.String), + options: dart.finalFieldType(dart.nullable(core.Object)) +})); +core.BigInt = class BigInt extends core.Object { + static get zero() { + return core._BigIntImpl.zero; + } + static get one() { + return core._BigIntImpl.one; + } + static get two() { + return core._BigIntImpl.two; + } + static parse(source, opts) { + if (source == null) dart.nullFailed(I[7], 262, 30, "source"); + let radix = opts && 'radix' in opts ? opts.radix : null; + return core._BigIntImpl.parse(source, {radix: radix}); + } + static tryParse(source, opts) { + if (source == null) dart.nullFailed(I[7], 266, 34, "source"); + let radix = opts && 'radix' in opts ? opts.radix : null; + return core._BigIntImpl._tryParse(source, {radix: radix}); + } +}; +(core.BigInt[dart.mixinNew] = function() { +}).prototype = core.BigInt.prototype; +dart.addTypeTests(core.BigInt); +dart.addTypeCaches(core.BigInt); +core.BigInt[dart.implements] = () => [core.Comparable$(core.BigInt)]; +dart.setLibraryUri(core.BigInt, I[8]); +core.bool = class bool extends core.Object { + static is(o) { + return o === true || o === false; + } + static as(o) { + if (o === true || o === false) return o; + return dart.as(o, core.bool); + } + static fromEnvironment(name, opts) { + if (name == null) dart.nullFailed(I[7], 657, 39, "name"); + let defaultValue = opts && 'defaultValue' in opts ? opts.defaultValue : false; + if (defaultValue == null) dart.nullFailed(I[7], 657, 51, "defaultValue"); + dart.throw(new core.UnsupportedError.new("bool.fromEnvironment can only be used as a const constructor")); + } + static hasEnvironment(name) { + if (name == null) dart.nullFailed(I[7], 664, 38, "name"); + dart.throw(new core.UnsupportedError.new("bool.hasEnvironment can only be used as a const constructor")); + } + get [$hashCode]() { + return super[$hashCode]; + } + [$bitAnd](other) { + if (other == null) dart.nullFailed(I[166], 93, 24, "other"); + return dart.test(other) && this; + } + [$bitOr](other) { + if (other == null) dart.nullFailed(I[166], 99, 24, "other"); + return dart.test(other) || this; + } + [$bitXor](other) { + if (other == null) dart.nullFailed(I[166], 105, 24, "other"); + return !dart.test(other) === this; + } + [$toString]() { + return this ? "true" : "false"; + } +}; +(core.bool[dart.mixinNew] = function() { +}).prototype = core.bool.prototype; +dart.addTypeCaches(core.bool); +dart.setMethodSignature(core.bool, () => ({ + __proto__: dart.getMethods(core.bool.__proto__), + [$bitAnd]: dart.fnType(core.bool, [core.bool]), + [$bitOr]: dart.fnType(core.bool, [core.bool]), + [$bitXor]: dart.fnType(core.bool, [core.bool]) +})); +dart.setLibraryUri(core.bool, I[8]); +const _is_Comparable_default = Symbol('_is_Comparable_default'); +core.Comparable$ = dart.generic(T => { + class Comparable extends core.Object { + static compare(a, b) { + if (a == null) dart.nullFailed(I[167], 88, 33, "a"); + if (b == null) dart.nullFailed(I[167], 88, 47, "b"); + return a[$compareTo](b); + } + } + (Comparable.new = function() { + ; + }).prototype = Comparable.prototype; + dart.addTypeTests(Comparable); + Comparable.prototype[_is_Comparable_default] = true; + dart.addTypeCaches(Comparable); + dart.setLibraryUri(Comparable, I[8]); + return Comparable; +}); +core.Comparable = core.Comparable$(); +dart.addTypeTests(core.Comparable, _is_Comparable_default); +var isUtc$ = dart.privateName(core, "DateTime.isUtc"); +var _value$4 = dart.privateName(core, "_value"); +core.DateTime = class DateTime extends core.Object { + get isUtc() { + return this[isUtc$]; + } + set isUtc(value) { + super.isUtc = value; + } + static _microsecondInRoundedMilliseconds(microsecond) { + if (microsecond == null) dart.nullFailed(I[7], 341, 52, "microsecond"); + return (dart.notNull(microsecond) / 1000)[$round](); + } + static parse(formattedString) { + if (formattedString == null) dart.nullFailed(I[168], 264, 32, "formattedString"); + let re = core.DateTime._parseFormat; + let match = re.firstMatch(formattedString); + if (match != null) { + function parseIntOrZero(matched) { + if (matched == null) return 0; + return core.int.parse(matched); + } + dart.fn(parseIntOrZero, T$0.StringNToint()); + function parseMilliAndMicroseconds(matched) { + if (matched == null) return 0; + let length = matched.length; + if (!(length >= 1)) dart.assertFailed(null, I[168], 279, 16, "length >= 1"); + let result = 0; + for (let i = 0; i < 6; i = i + 1) { + result = result * 10; + if (i < matched.length) { + result = result + ((matched[$codeUnitAt](i) ^ 48) >>> 0); + } + } + return result; + } + dart.fn(parseMilliAndMicroseconds, T$0.StringNToint()); + let years = core.int.parse(dart.nullCheck(match._get(1))); + let month = core.int.parse(dart.nullCheck(match._get(2))); + let day = core.int.parse(dart.nullCheck(match._get(3))); + let hour = parseIntOrZero(match._get(4)); + let minute = parseIntOrZero(match._get(5)); + let second = parseIntOrZero(match._get(6)); + let milliAndMicroseconds = parseMilliAndMicroseconds(match._get(7)); + let millisecond = (dart.notNull(milliAndMicroseconds) / 1000)[$truncate](); + let microsecond = milliAndMicroseconds[$remainder](1000); + let isUtc = false; + if (match._get(8) != null) { + isUtc = true; + let tzSign = match._get(9); + if (tzSign != null) { + let sign = tzSign === "-" ? -1 : 1; + let hourDifference = core.int.parse(dart.nullCheck(match._get(10))); + let minuteDifference = parseIntOrZero(match._get(11)); + minuteDifference = dart.notNull(minuteDifference) + 60 * dart.notNull(hourDifference); + minute = dart.notNull(minute) - sign * dart.notNull(minuteDifference); + } + } + let value = core.DateTime._brokenDownDateToValue(years, month, day, hour, minute, second, millisecond, microsecond, isUtc); + if (value == null) { + dart.throw(new core.FormatException.new("Time out of range", formattedString)); + } + return new core.DateTime._withValue(value, {isUtc: isUtc}); + } else { + dart.throw(new core.FormatException.new("Invalid date format", formattedString)); + } + } + static tryParse(formattedString) { + if (formattedString == null) dart.nullFailed(I[168], 330, 36, "formattedString"); + try { + return core.DateTime.parse(formattedString); + } catch (e) { + let ex = dart.getThrown(e); + if (core.FormatException.is(ex)) { + return null; + } else + throw e; + } + } + _equals(other) { + if (other == null) return false; + return core.DateTime.is(other) && this[_value$4] == other.millisecondsSinceEpoch && this.isUtc == other.isUtc; + } + isBefore(other) { + if (other == null) dart.nullFailed(I[7], 426, 26, "other"); + return dart.notNull(this[_value$4]) < dart.notNull(other.millisecondsSinceEpoch); + } + isAfter(other) { + if (other == null) dart.nullFailed(I[7], 429, 25, "other"); + return dart.notNull(this[_value$4]) > dart.notNull(other.millisecondsSinceEpoch); + } + isAtSameMomentAs(other) { + if (other == null) dart.nullFailed(I[7], 432, 34, "other"); + return this[_value$4] == other.millisecondsSinceEpoch; + } + compareTo(other) { + if (other == null) dart.nullFailed(I[7], 436, 26, "other"); + return this[_value$4][$compareTo](other.millisecondsSinceEpoch); + } + get hashCode() { + return (dart.notNull(this[_value$4]) ^ this[_value$4][$rightShift](30)) & 1073741823; + } + toLocal() { + if (dart.test(this.isUtc)) { + return new core.DateTime._withValue(this[_value$4], {isUtc: false}); + } + return this; + } + toUtc() { + if (dart.test(this.isUtc)) return this; + return new core.DateTime._withValue(this[_value$4], {isUtc: true}); + } + static _fourDigits(n) { + if (n == null) dart.nullFailed(I[168], 492, 33, "n"); + let absN = n[$abs](); + let sign = dart.notNull(n) < 0 ? "-" : ""; + if (absN >= 1000) return dart.str(n); + if (absN >= 100) return sign + "0" + dart.str(absN); + if (absN >= 10) return sign + "00" + dart.str(absN); + return sign + "000" + dart.str(absN); + } + static _sixDigits(n) { + if (n == null) dart.nullFailed(I[168], 501, 32, "n"); + if (!(dart.notNull(n) < -9999 || dart.notNull(n) > 9999)) dart.assertFailed(null, I[168], 502, 12, "n < -9999 || n > 9999"); + let absN = n[$abs](); + let sign = dart.notNull(n) < 0 ? "-" : "+"; + if (absN >= 100000) return sign + dart.str(absN); + return sign + "0" + dart.str(absN); + } + static _threeDigits(n) { + if (n == null) dart.nullFailed(I[168], 509, 34, "n"); + if (dart.notNull(n) >= 100) return dart.str(n); + if (dart.notNull(n) >= 10) return "0" + dart.str(n); + return "00" + dart.str(n); + } + static _twoDigits(n) { + if (n == null) dart.nullFailed(I[168], 515, 32, "n"); + if (dart.notNull(n) >= 10) return dart.str(n); + return "0" + dart.str(n); + } + toString() { + let y = core.DateTime._fourDigits(this.year); + let m = core.DateTime._twoDigits(this.month); + let d = core.DateTime._twoDigits(this.day); + let h = core.DateTime._twoDigits(this.hour); + let min = core.DateTime._twoDigits(this.minute); + let sec = core.DateTime._twoDigits(this.second); + let ms = core.DateTime._threeDigits(this.millisecond); + let us = this.microsecond === 0 ? "" : core.DateTime._threeDigits(this.microsecond); + if (dart.test(this.isUtc)) { + return dart.str(y) + "-" + dart.str(m) + "-" + dart.str(d) + " " + dart.str(h) + ":" + dart.str(min) + ":" + dart.str(sec) + "." + dart.str(ms) + dart.str(us) + "Z"; + } else { + return dart.str(y) + "-" + dart.str(m) + "-" + dart.str(d) + " " + dart.str(h) + ":" + dart.str(min) + ":" + dart.str(sec) + "." + dart.str(ms) + dart.str(us); + } + } + toIso8601String() { + let y = dart.notNull(this.year) >= -9999 && dart.notNull(this.year) <= 9999 ? core.DateTime._fourDigits(this.year) : core.DateTime._sixDigits(this.year); + let m = core.DateTime._twoDigits(this.month); + let d = core.DateTime._twoDigits(this.day); + let h = core.DateTime._twoDigits(this.hour); + let min = core.DateTime._twoDigits(this.minute); + let sec = core.DateTime._twoDigits(this.second); + let ms = core.DateTime._threeDigits(this.millisecond); + let us = this.microsecond === 0 ? "" : core.DateTime._threeDigits(this.microsecond); + if (dart.test(this.isUtc)) { + return dart.str(y) + "-" + dart.str(m) + "-" + dart.str(d) + "T" + dart.str(h) + ":" + dart.str(min) + ":" + dart.str(sec) + "." + dart.str(ms) + dart.str(us) + "Z"; + } else { + return dart.str(y) + "-" + dart.str(m) + "-" + dart.str(d) + "T" + dart.str(h) + ":" + dart.str(min) + ":" + dart.str(sec) + "." + dart.str(ms) + dart.str(us); + } + } + add(duration) { + if (duration == null) dart.nullFailed(I[7], 372, 25, "duration"); + return new core.DateTime._withValue(dart.notNull(this[_value$4]) + dart.notNull(duration.inMilliseconds), {isUtc: this.isUtc}); + } + subtract(duration) { + if (duration == null) dart.nullFailed(I[7], 377, 30, "duration"); + return new core.DateTime._withValue(dart.notNull(this[_value$4]) - dart.notNull(duration.inMilliseconds), {isUtc: this.isUtc}); + } + difference(other) { + if (other == null) dart.nullFailed(I[7], 382, 32, "other"); + return new core.Duration.new({milliseconds: dart.notNull(this[_value$4]) - dart.notNull(other[_value$4])}); + } + static _brokenDownDateToValue(year, month, day, hour, minute, second, millisecond, microsecond, isUtc) { + if (year == null) dart.nullFailed(I[7], 346, 42, "year"); + if (month == null) dart.nullFailed(I[7], 346, 52, "month"); + if (day == null) dart.nullFailed(I[7], 346, 63, "day"); + if (hour == null) dart.nullFailed(I[7], 346, 72, "hour"); + if (minute == null) dart.nullFailed(I[7], 347, 11, "minute"); + if (second == null) dart.nullFailed(I[7], 347, 23, "second"); + if (millisecond == null) dart.nullFailed(I[7], 347, 35, "millisecond"); + if (microsecond == null) dart.nullFailed(I[7], 347, 52, "microsecond"); + if (isUtc == null) dart.nullFailed(I[7], 347, 70, "isUtc"); + return _js_helper.Primitives.valueFromDecomposedDate(year, month, day, hour, minute, second, dart.notNull(millisecond) + dart.notNull(core.DateTime._microsecondInRoundedMilliseconds(microsecond)), isUtc); + } + get millisecondsSinceEpoch() { + return this[_value$4]; + } + get microsecondsSinceEpoch() { + return dart.notNull(this[_value$4]) * 1000; + } + get timeZoneName() { + if (dart.test(this.isUtc)) return "UTC"; + return _js_helper.Primitives.getTimeZoneName(this); + } + get timeZoneOffset() { + if (dart.test(this.isUtc)) return core.Duration.zero; + return new core.Duration.new({minutes: _js_helper.Primitives.getTimeZoneOffsetInMinutes(this)}); + } + get year() { + return _js_helper.Primitives.getYear(this); + } + get month() { + return _js_helper.Primitives.getMonth(this); + } + get day() { + return _js_helper.Primitives.getDay(this); + } + get hour() { + return _js_helper.Primitives.getHours(this); + } + get minute() { + return _js_helper.Primitives.getMinutes(this); + } + get second() { + return _js_helper.Primitives.getSeconds(this); + } + get millisecond() { + return _js_helper.Primitives.getMilliseconds(this); + } + get microsecond() { + return 0; + } + get weekday() { + return _js_helper.Primitives.getWeekday(this); + } +}; +(core.DateTime.new = function(year, month = 1, day = 1, hour = 0, minute = 0, second = 0, millisecond = 0, microsecond = 0) { + if (year == null) dart.nullFailed(I[168], 172, 16, "year"); + if (month == null) dart.nullFailed(I[168], 173, 12, "month"); + if (day == null) dart.nullFailed(I[168], 174, 11, "day"); + if (hour == null) dart.nullFailed(I[168], 175, 11, "hour"); + if (minute == null) dart.nullFailed(I[168], 176, 11, "minute"); + if (second == null) dart.nullFailed(I[168], 177, 11, "second"); + if (millisecond == null) dart.nullFailed(I[168], 178, 11, "millisecond"); + if (microsecond == null) dart.nullFailed(I[168], 179, 11, "microsecond"); + core.DateTime._internal.call(this, year, month, day, hour, minute, second, millisecond, microsecond, false); +}).prototype = core.DateTime.prototype; +(core.DateTime.utc = function(year, month = 1, day = 1, hour = 0, minute = 0, second = 0, millisecond = 0, microsecond = 0) { + if (year == null) dart.nullFailed(I[168], 192, 20, "year"); + if (month == null) dart.nullFailed(I[168], 193, 12, "month"); + if (day == null) dart.nullFailed(I[168], 194, 11, "day"); + if (hour == null) dart.nullFailed(I[168], 195, 11, "hour"); + if (minute == null) dart.nullFailed(I[168], 196, 11, "minute"); + if (second == null) dart.nullFailed(I[168], 197, 11, "second"); + if (millisecond == null) dart.nullFailed(I[168], 198, 11, "millisecond"); + if (microsecond == null) dart.nullFailed(I[168], 199, 11, "microsecond"); + core.DateTime._internal.call(this, year, month, day, hour, minute, second, millisecond, microsecond, true); +}).prototype = core.DateTime.prototype; +(core.DateTime.now = function() { + core.DateTime._now.call(this); +}).prototype = core.DateTime.prototype; +(core.DateTime.fromMillisecondsSinceEpoch = function(millisecondsSinceEpoch, opts) { + if (millisecondsSinceEpoch == null) dart.nullFailed(I[7], 308, 43, "millisecondsSinceEpoch"); + let isUtc = opts && 'isUtc' in opts ? opts.isUtc : false; + if (isUtc == null) dart.nullFailed(I[7], 309, 13, "isUtc"); + core.DateTime._withValue.call(this, millisecondsSinceEpoch, {isUtc: isUtc}); +}).prototype = core.DateTime.prototype; +(core.DateTime.fromMicrosecondsSinceEpoch = function(microsecondsSinceEpoch, opts) { + if (microsecondsSinceEpoch == null) dart.nullFailed(I[7], 313, 43, "microsecondsSinceEpoch"); + let isUtc = opts && 'isUtc' in opts ? opts.isUtc : false; + if (isUtc == null) dart.nullFailed(I[7], 314, 13, "isUtc"); + core.DateTime._withValue.call(this, core.DateTime._microsecondInRoundedMilliseconds(microsecondsSinceEpoch), {isUtc: isUtc}); +}).prototype = core.DateTime.prototype; +(core.DateTime._withValue = function(_value, opts) { + if (_value == null) dart.nullFailed(I[168], 366, 28, "_value"); + let isUtc = opts && 'isUtc' in opts ? opts.isUtc : null; + if (isUtc == null) dart.nullFailed(I[168], 366, 51, "isUtc"); + this[_value$4] = _value; + this[isUtc$] = isUtc; + if (this.millisecondsSinceEpoch[$abs]() > 8640000000000000.0 || this.millisecondsSinceEpoch[$abs]() === 8640000000000000.0 && this.microsecond !== 0) { + dart.throw(new core.ArgumentError.new("DateTime is outside valid range: " + dart.str(this.millisecondsSinceEpoch))); + } + _internal.checkNotNullable(core.bool, this.isUtc, "isUtc"); +}).prototype = core.DateTime.prototype; +(core.DateTime._internal = function(year, month, day, hour, minute, second, millisecond, microsecond, isUtc) { + if (year == null) dart.nullFailed(I[7], 320, 26, "year"); + if (month == null) dart.nullFailed(I[7], 320, 36, "month"); + if (day == null) dart.nullFailed(I[7], 320, 47, "day"); + if (hour == null) dart.nullFailed(I[7], 320, 56, "hour"); + if (minute == null) dart.nullFailed(I[7], 320, 66, "minute"); + if (second == null) dart.nullFailed(I[7], 321, 11, "second"); + if (millisecond == null) dart.nullFailed(I[7], 321, 23, "millisecond"); + if (microsecond == null) dart.nullFailed(I[7], 321, 40, "microsecond"); + if (isUtc == null) dart.nullFailed(I[7], 321, 58, "isUtc"); + this[isUtc$] = isUtc; + this[_value$4] = core.int.as(_js_helper.checkInt(_js_helper.Primitives.valueFromDecomposedDate(year, month, day, hour, minute, second, dart.notNull(millisecond) + dart.notNull(core.DateTime._microsecondInRoundedMilliseconds(microsecond)), isUtc))); + ; +}).prototype = core.DateTime.prototype; +(core.DateTime._now = function() { + this[isUtc$] = false; + this[_value$4] = _js_helper.Primitives.dateNow(); + ; +}).prototype = core.DateTime.prototype; +dart.addTypeTests(core.DateTime); +dart.addTypeCaches(core.DateTime); +core.DateTime[dart.implements] = () => [core.Comparable$(core.DateTime)]; +dart.setMethodSignature(core.DateTime, () => ({ + __proto__: dart.getMethods(core.DateTime.__proto__), + isBefore: dart.fnType(core.bool, [core.DateTime]), + isAfter: dart.fnType(core.bool, [core.DateTime]), + isAtSameMomentAs: dart.fnType(core.bool, [core.DateTime]), + compareTo: dart.fnType(core.int, [core.DateTime]), + [$compareTo]: dart.fnType(core.int, [core.DateTime]), + toLocal: dart.fnType(core.DateTime, []), + toUtc: dart.fnType(core.DateTime, []), + toIso8601String: dart.fnType(core.String, []), + add: dart.fnType(core.DateTime, [core.Duration]), + subtract: dart.fnType(core.DateTime, [core.Duration]), + difference: dart.fnType(core.Duration, [core.DateTime]) +})); +dart.setGetterSignature(core.DateTime, () => ({ + __proto__: dart.getGetters(core.DateTime.__proto__), + millisecondsSinceEpoch: core.int, + microsecondsSinceEpoch: core.int, + timeZoneName: core.String, + timeZoneOffset: core.Duration, + year: core.int, + month: core.int, + day: core.int, + hour: core.int, + minute: core.int, + second: core.int, + millisecond: core.int, + microsecond: core.int, + weekday: core.int +})); +dart.setLibraryUri(core.DateTime, I[8]); +dart.setFieldSignature(core.DateTime, () => ({ + __proto__: dart.getFields(core.DateTime.__proto__), + [_value$4]: dart.finalFieldType(core.int), + isUtc: dart.finalFieldType(core.bool) +})); +dart.defineExtensionMethods(core.DateTime, ['_equals', 'compareTo', 'toString']); +dart.defineExtensionAccessors(core.DateTime, ['hashCode']); +dart.defineLazy(core.DateTime, { + /*core.DateTime.monday*/get monday() { + return 1; + }, + /*core.DateTime.tuesday*/get tuesday() { + return 2; + }, + /*core.DateTime.wednesday*/get wednesday() { + return 3; + }, + /*core.DateTime.thursday*/get thursday() { + return 4; + }, + /*core.DateTime.friday*/get friday() { + return 5; + }, + /*core.DateTime.saturday*/get saturday() { + return 6; + }, + /*core.DateTime.sunday*/get sunday() { + return 7; + }, + /*core.DateTime.daysPerWeek*/get daysPerWeek() { + return 7; + }, + /*core.DateTime.january*/get january() { + return 1; + }, + /*core.DateTime.february*/get february() { + return 2; + }, + /*core.DateTime.march*/get march() { + return 3; + }, + /*core.DateTime.april*/get april() { + return 4; + }, + /*core.DateTime.may*/get may() { + return 5; + }, + /*core.DateTime.june*/get june() { + return 6; + }, + /*core.DateTime.july*/get july() { + return 7; + }, + /*core.DateTime.august*/get august() { + return 8; + }, + /*core.DateTime.september*/get september() { + return 9; + }, + /*core.DateTime.october*/get october() { + return 10; + }, + /*core.DateTime.november*/get november() { + return 11; + }, + /*core.DateTime.december*/get december() { + return 12; + }, + /*core.DateTime.monthsPerYear*/get monthsPerYear() { + return 12; + }, + /*core.DateTime._maxMillisecondsSinceEpoch*/get _maxMillisecondsSinceEpoch() { + return 8640000000000000.0; + }, + /*core.DateTime._parseFormat*/get _parseFormat() { + return core.RegExp.new("^([+-]?\\d{4,6})-?(\\d\\d)-?(\\d\\d)" + "(?:[ T](\\d\\d)(?::?(\\d\\d)(?::?(\\d\\d)(?:[.,](\\d+))?)?)?" + "( ?[zZ]| ?([-+])(\\d\\d)(?::?(\\d\\d))?)?)?$"); + } +}, false); +var _duration$ = dart.privateName(core, "Duration._duration"); +var _duration = dart.privateName(core, "_duration"); +core.Duration = class Duration extends core.Object { + get [_duration]() { + return this[_duration$]; + } + set [_duration](value) { + super[_duration] = value; + } + ['+'](other) { + if (other == null) dart.nullFailed(I[169], 148, 32, "other"); + return new core.Duration._microseconds(dart.notNull(this[_duration]) + dart.notNull(other[_duration])); + } + ['-'](other) { + if (other == null) dart.nullFailed(I[169], 154, 32, "other"); + return new core.Duration._microseconds(dart.notNull(this[_duration]) - dart.notNull(other[_duration])); + } + ['*'](factor) { + if (factor == null) dart.nullFailed(I[169], 163, 27, "factor"); + return new core.Duration._microseconds((dart.notNull(this[_duration]) * dart.notNull(factor))[$round]()); + } + ['~/'](quotient) { + if (quotient == null) dart.nullFailed(I[169], 171, 28, "quotient"); + if (quotient === 0) dart.throw(new core.IntegerDivisionByZeroException.new()); + return new core.Duration._microseconds((dart.notNull(this[_duration]) / dart.notNull(quotient))[$truncate]()); + } + ['<'](other) { + if (other == null) dart.nullFailed(I[169], 179, 28, "other"); + return dart.notNull(this[_duration]) < dart.notNull(other[_duration]); + } + ['>'](other) { + if (other == null) dart.nullFailed(I[169], 182, 28, "other"); + return dart.notNull(this[_duration]) > dart.notNull(other[_duration]); + } + ['<='](other) { + if (other == null) dart.nullFailed(I[169], 185, 29, "other"); + return dart.notNull(this[_duration]) <= dart.notNull(other[_duration]); + } + ['>='](other) { + if (other == null) dart.nullFailed(I[169], 188, 29, "other"); + return dart.notNull(this[_duration]) >= dart.notNull(other[_duration]); + } + get inDays() { + return (dart.notNull(this[_duration]) / 86400000000.0)[$truncate](); + } + get inHours() { + return (dart.notNull(this[_duration]) / 3600000000.0)[$truncate](); + } + get inMinutes() { + return (dart.notNull(this[_duration]) / 60000000)[$truncate](); + } + get inSeconds() { + return (dart.notNull(this[_duration]) / 1000000)[$truncate](); + } + get inMilliseconds() { + return (dart.notNull(this[_duration]) / 1000)[$truncate](); + } + get inMicroseconds() { + return this[_duration]; + } + _equals(other) { + if (other == null) return false; + return core.Duration.is(other) && this[_duration] == other.inMicroseconds; + } + get hashCode() { + return dart.hashCode(this[_duration]); + } + compareTo(other) { + core.Duration.as(other); + if (other == null) dart.nullFailed(I[169], 246, 26, "other"); + return this[_duration][$compareTo](other[_duration]); + } + toString() { + function sixDigits(n) { + if (n == null) dart.nullFailed(I[169], 260, 26, "n"); + if (dart.notNull(n) >= 100000) return dart.str(n); + if (dart.notNull(n) >= 10000) return "0" + dart.str(n); + if (dart.notNull(n) >= 1000) return "00" + dart.str(n); + if (dart.notNull(n) >= 100) return "000" + dart.str(n); + if (dart.notNull(n) >= 10) return "0000" + dart.str(n); + return "00000" + dart.str(n); + } + dart.fn(sixDigits, T$0.intToString()); + function twoDigits(n) { + if (n == null) dart.nullFailed(I[169], 269, 26, "n"); + if (dart.notNull(n) >= 10) return dart.str(n); + return "0" + dart.str(n); + } + dart.fn(twoDigits, T$0.intToString()); + if (dart.notNull(this.inMicroseconds) < 0) { + return "-" + dart.str(this._negate()); + } + let twoDigitMinutes = twoDigits(this.inMinutes[$remainder](60)); + let twoDigitSeconds = twoDigits(this.inSeconds[$remainder](60)); + let sixDigitUs = sixDigits(this.inMicroseconds[$remainder](1000000)); + return dart.str(this.inHours) + ":" + dart.str(twoDigitMinutes) + ":" + dart.str(twoDigitSeconds) + "." + dart.str(sixDigitUs); + } + get isNegative() { + return dart.notNull(this[_duration]) < 0; + } + abs() { + return new core.Duration._microseconds(this[_duration][$abs]()); + } + _negate() { + return new core.Duration._microseconds(0 - dart.notNull(this[_duration])); + } +}; +(core.Duration.new = function(opts) { + let days = opts && 'days' in opts ? opts.days : 0; + if (days == null) dart.nullFailed(I[169], 129, 12, "days"); + let hours = opts && 'hours' in opts ? opts.hours : 0; + if (hours == null) dart.nullFailed(I[169], 130, 11, "hours"); + let minutes = opts && 'minutes' in opts ? opts.minutes : 0; + if (minutes == null) dart.nullFailed(I[169], 131, 11, "minutes"); + let seconds = opts && 'seconds' in opts ? opts.seconds : 0; + if (seconds == null) dart.nullFailed(I[169], 132, 11, "seconds"); + let milliseconds = opts && 'milliseconds' in opts ? opts.milliseconds : 0; + if (milliseconds == null) dart.nullFailed(I[169], 133, 11, "milliseconds"); + let microseconds = opts && 'microseconds' in opts ? opts.microseconds : 0; + if (microseconds == null) dart.nullFailed(I[169], 134, 11, "microseconds"); + core.Duration._microseconds.call(this, 86400000000.0 * dart.notNull(days) + 3600000000.0 * dart.notNull(hours) + 60000000 * dart.notNull(minutes) + 1000000 * dart.notNull(seconds) + 1000 * dart.notNull(milliseconds) + dart.notNull(microseconds)); +}).prototype = core.Duration.prototype; +(core.Duration._microseconds = function(_duration) { + if (_duration == null) dart.nullFailed(I[169], 144, 37, "_duration"); + this[_duration$] = _duration; + ; +}).prototype = core.Duration.prototype; +dart.addTypeTests(core.Duration); +dart.addTypeCaches(core.Duration); +core.Duration[dart.implements] = () => [core.Comparable$(core.Duration)]; +dart.setMethodSignature(core.Duration, () => ({ + __proto__: dart.getMethods(core.Duration.__proto__), + '+': dart.fnType(core.Duration, [core.Duration]), + '-': dart.fnType(core.Duration, [core.Duration]), + '*': dart.fnType(core.Duration, [core.num]), + '~/': dart.fnType(core.Duration, [core.int]), + '<': dart.fnType(core.bool, [core.Duration]), + '>': dart.fnType(core.bool, [core.Duration]), + '<=': dart.fnType(core.bool, [core.Duration]), + '>=': dart.fnType(core.bool, [core.Duration]), + compareTo: dart.fnType(core.int, [dart.nullable(core.Object)]), + [$compareTo]: dart.fnType(core.int, [dart.nullable(core.Object)]), + abs: dart.fnType(core.Duration, []), + _negate: dart.fnType(core.Duration, []) +})); +dart.setGetterSignature(core.Duration, () => ({ + __proto__: dart.getGetters(core.Duration.__proto__), + inDays: core.int, + inHours: core.int, + inMinutes: core.int, + inSeconds: core.int, + inMilliseconds: core.int, + inMicroseconds: core.int, + isNegative: core.bool +})); +dart.setLibraryUri(core.Duration, I[8]); +dart.setFieldSignature(core.Duration, () => ({ + __proto__: dart.getFields(core.Duration.__proto__), + [_duration]: dart.finalFieldType(core.int) +})); +dart.defineExtensionMethods(core.Duration, ['_equals', 'compareTo', 'toString']); +dart.defineExtensionAccessors(core.Duration, ['hashCode']); +dart.defineLazy(core.Duration, { + /*core.Duration.microsecondsPerMillisecond*/get microsecondsPerMillisecond() { + return 1000; + }, + /*core.Duration.millisecondsPerSecond*/get millisecondsPerSecond() { + return 1000; + }, + /*core.Duration.secondsPerMinute*/get secondsPerMinute() { + return 60; + }, + /*core.Duration.minutesPerHour*/get minutesPerHour() { + return 60; + }, + /*core.Duration.hoursPerDay*/get hoursPerDay() { + return 24; + }, + /*core.Duration.microsecondsPerSecond*/get microsecondsPerSecond() { + return 1000000; + }, + /*core.Duration.microsecondsPerMinute*/get microsecondsPerMinute() { + return 60000000; + }, + /*core.Duration.microsecondsPerHour*/get microsecondsPerHour() { + return 3600000000.0; + }, + /*core.Duration.microsecondsPerDay*/get microsecondsPerDay() { + return 86400000000.0; + }, + /*core.Duration.millisecondsPerMinute*/get millisecondsPerMinute() { + return 60000; + }, + /*core.Duration.millisecondsPerHour*/get millisecondsPerHour() { + return 3600000; + }, + /*core.Duration.millisecondsPerDay*/get millisecondsPerDay() { + return 86400000; + }, + /*core.Duration.secondsPerHour*/get secondsPerHour() { + return 3600; + }, + /*core.Duration.secondsPerDay*/get secondsPerDay() { + return 86400; + }, + /*core.Duration.minutesPerDay*/get minutesPerDay() { + return 1440; + }, + /*core.Duration.zero*/get zero() { + return C[420] || CT.C420; + } +}, false); +core.TypeError = class TypeError extends core.Error {}; +(core.TypeError.new = function() { + core.TypeError.__proto__.new.call(this); + ; +}).prototype = core.TypeError.prototype; +dart.addTypeTests(core.TypeError); +dart.addTypeCaches(core.TypeError); +dart.setLibraryUri(core.TypeError, I[8]); +core.CastError = class CastError extends core.Error {}; +(core.CastError.new = function() { + core.CastError.__proto__.new.call(this); + ; +}).prototype = core.CastError.prototype; +dart.addTypeTests(core.CastError); +dart.addTypeCaches(core.CastError); +dart.setLibraryUri(core.CastError, I[8]); +core.NullThrownError = class NullThrownError extends core.Error { + toString() { + return "Throw of null."; + } +}; +(core.NullThrownError.new = function() { + core.NullThrownError.__proto__.new.call(this); + ; +}).prototype = core.NullThrownError.prototype; +dart.addTypeTests(core.NullThrownError); +dart.addTypeCaches(core.NullThrownError); +dart.setLibraryUri(core.NullThrownError, I[8]); +dart.defineExtensionMethods(core.NullThrownError, ['toString']); +var invalidValue = dart.privateName(core, "ArgumentError.invalidValue"); +var name$13 = dart.privateName(core, "ArgumentError.name"); +var message$12 = dart.privateName(core, "ArgumentError.message"); +core.ArgumentError = class ArgumentError extends core.Error { + get invalidValue() { + return this[invalidValue]; + } + set invalidValue(value) { + super.invalidValue = value; + } + get name() { + return this[name$13]; + } + set name(value) { + super.name = value; + } + get message() { + return this[message$12]; + } + set message(value) { + super.message = value; + } + static checkNotNull(T, argument, name = null) { + if (argument == null) dart.throw(new core.ArgumentError.notNull(name)); + return argument; + } + get [_errorName$]() { + return "Invalid argument" + (!dart.test(this[_hasValue$]) ? "(s)" : ""); + } + get [_errorExplanation$]() { + return ""; + } + toString() { + let name = this[$name]; + let nameString = name == null ? "" : " (" + dart.str(name) + ")"; + let message = this[$message]; + let messageString = message == null ? "" : ": " + dart.str(message); + let prefix = dart.str(this[_errorName$]) + nameString + messageString; + if (!dart.test(this[_hasValue$])) return prefix; + let explanation = this[_errorExplanation$]; + let errorValue = core.Error.safeToString(this[$invalidValue]); + return prefix + dart.str(explanation) + ": " + dart.str(errorValue); + } +}; +(core.ArgumentError.new = function(message = null) { + this[message$12] = message; + this[invalidValue] = null; + this[_hasValue$] = false; + this[name$13] = null; + core.ArgumentError.__proto__.new.call(this); + ; +}).prototype = core.ArgumentError.prototype; +(core.ArgumentError.value = function(value, name = null, message = null) { + this[name$13] = name; + this[message$12] = message; + this[invalidValue] = value; + this[_hasValue$] = true; + core.ArgumentError.__proto__.new.call(this); + ; +}).prototype = core.ArgumentError.prototype; +(core.ArgumentError.notNull = function(name = null) { + this[name$13] = name; + this[_hasValue$] = false; + this[message$12] = "Must not be null"; + this[invalidValue] = null; + core.ArgumentError.__proto__.new.call(this); + ; +}).prototype = core.ArgumentError.prototype; +dart.addTypeTests(core.ArgumentError); +dart.addTypeCaches(core.ArgumentError); +dart.setGetterSignature(core.ArgumentError, () => ({ + __proto__: dart.getGetters(core.ArgumentError.__proto__), + [_errorName$]: core.String, + [_errorExplanation$]: core.String +})); +dart.setLibraryUri(core.ArgumentError, I[8]); +dart.setFieldSignature(core.ArgumentError, () => ({ + __proto__: dart.getFields(core.ArgumentError.__proto__), + [_hasValue$]: dart.finalFieldType(core.bool), + invalidValue: dart.finalFieldType(dart.dynamic), + name: dart.finalFieldType(dart.nullable(core.String)), + message: dart.finalFieldType(dart.dynamic) +})); +dart.defineExtensionMethods(core.ArgumentError, ['toString']); +dart.defineExtensionAccessors(core.ArgumentError, ['invalidValue', 'name', 'message']); +var start = dart.privateName(core, "RangeError.start"); +var end = dart.privateName(core, "RangeError.end"); +core.RangeError = class RangeError extends core.ArgumentError { + get start() { + return this[start]; + } + set start(value) { + super.start = value; + } + get end() { + return this[end]; + } + set end(value) { + super.end = value; + } + static checkValueInInterval(value, minValue, maxValue, name = null, message = null) { + if (value == null) dart.nullFailed(I[170], 274, 39, "value"); + if (minValue == null) dart.nullFailed(I[170], 274, 50, "minValue"); + if (maxValue == null) dart.nullFailed(I[170], 274, 64, "maxValue"); + if (dart.notNull(value) < dart.notNull(minValue) || dart.notNull(value) > dart.notNull(maxValue)) { + dart.throw(new core.RangeError.range(value, minValue, maxValue, name, message)); + } + return value; + } + static checkValidIndex(index, indexable, name = null, length = null, message = null) { + if (index == null) dart.nullFailed(I[170], 297, 34, "index"); + length == null ? length = core.int.as(dart.dload(indexable, 'length')) : null; + if (0 > dart.notNull(index) || dart.notNull(index) >= dart.notNull(length)) { + name == null ? name = "index" : null; + dart.throw(new core.IndexError.new(index, indexable, name, message, length)); + } + return index; + } + static checkValidRange(start, end, length, startName = null, endName = null, message = null) { + if (start == null) dart.nullFailed(I[170], 322, 34, "start"); + if (length == null) dart.nullFailed(I[170], 322, 55, "length"); + if (0 > dart.notNull(start) || dart.notNull(start) > dart.notNull(length)) { + startName == null ? startName = "start" : null; + dart.throw(new core.RangeError.range(start, 0, length, startName, message)); + } + if (end != null) { + if (dart.notNull(start) > dart.notNull(end) || dart.notNull(end) > dart.notNull(length)) { + endName == null ? endName = "end" : null; + dart.throw(new core.RangeError.range(end, start, length, endName, message)); + } + return end; + } + return length; + } + static checkNotNegative(value, name = null, message = null) { + let t249; + if (value == null) dart.nullFailed(I[170], 349, 35, "value"); + if (dart.notNull(value) < 0) { + dart.throw(new core.RangeError.range(value, 0, null, (t249 = name, t249 == null ? "index" : t249), message)); + } + return value; + } + get [_errorName$]() { + return "RangeError"; + } + get [_errorExplanation$]() { + if (!dart.test(this[_hasValue$])) dart.assertFailed(null, I[170], 358, 12, "_hasValue"); + let explanation = ""; + let start = this.start; + let end = this.end; + if (start == null) { + if (end != null) { + explanation = ": Not less than or equal to " + dart.str(end); + } + } else if (end == null) { + explanation = ": Not greater than or equal to " + dart.str(start); + } else if (dart.notNull(end) > dart.notNull(start)) { + explanation = ": Not in inclusive range " + dart.str(start) + ".." + dart.str(end); + } else if (dart.notNull(end) < dart.notNull(start)) { + explanation = ": Valid value range is empty"; + } else { + explanation = ": Only valid value is " + dart.str(start); + } + return explanation; + } +}; +(core.RangeError.new = function(message) { + this[start] = null; + this[end] = null; + core.RangeError.__proto__.new.call(this, message); + ; +}).prototype = core.RangeError.prototype; +(core.RangeError.value = function(value, name = null, message = null) { + let t249; + if (value == null) dart.nullFailed(I[170], 229, 24, "value"); + this[start] = null; + this[end] = null; + core.RangeError.__proto__.value.call(this, value, name, (t249 = message, t249 == null ? "Value not in range" : t249)); + ; +}).prototype = core.RangeError.prototype; +(core.RangeError.range = function(invalidValue, minValue, maxValue, name = null, message = null) { + let t249; + if (invalidValue == null) dart.nullFailed(I[170], 247, 24, "invalidValue"); + this[start] = minValue; + this[end] = maxValue; + core.RangeError.__proto__.value.call(this, invalidValue, name, (t249 = message, t249 == null ? "Invalid value" : t249)); + ; +}).prototype = core.RangeError.prototype; +dart.addTypeTests(core.RangeError); +dart.addTypeCaches(core.RangeError); +dart.setLibraryUri(core.RangeError, I[8]); +dart.setFieldSignature(core.RangeError, () => ({ + __proto__: dart.getFields(core.RangeError.__proto__), + start: dart.finalFieldType(dart.nullable(core.num)), + end: dart.finalFieldType(dart.nullable(core.num)) +})); +var indexable$ = dart.privateName(core, "IndexError.indexable"); +var length$ = dart.privateName(core, "IndexError.length"); +core.IndexError = class IndexError extends core.ArgumentError { + get indexable() { + return this[indexable$]; + } + set indexable(value) { + super.indexable = value; + } + get length() { + return this[length$]; + } + set length(value) { + super.length = value; + } + get start() { + return 0; + } + get end() { + return dart.notNull(this.length) - 1; + } + get [_errorName$]() { + return "RangeError"; + } + get [_errorExplanation$]() { + if (!dart.test(this[_hasValue$])) dart.assertFailed(null, I[170], 412, 12, "_hasValue"); + let invalidValue = core.int.as(this[$invalidValue]); + if (dart.notNull(invalidValue) < 0) { + return ": index must not be negative"; + } + if (this.length === 0) { + return ": no indices are valid"; + } + return ": index should be less than " + dart.str(this.length); + } +}; +(core.IndexError.new = function(invalidValue, indexable, name = null, message = null, length = null) { + let t249, t249$; + if (invalidValue == null) dart.nullFailed(I[170], 400, 18, "invalidValue"); + this[indexable$] = indexable; + this[length$] = core.int.as((t249 = length, t249 == null ? dart.dload(indexable, 'length') : t249)); + core.IndexError.__proto__.value.call(this, invalidValue, name, (t249$ = message, t249$ == null ? "Index out of range" : t249$)); + ; +}).prototype = core.IndexError.prototype; +dart.addTypeTests(core.IndexError); +dart.addTypeCaches(core.IndexError); +core.IndexError[dart.implements] = () => [core.RangeError]; +dart.setGetterSignature(core.IndexError, () => ({ + __proto__: dart.getGetters(core.IndexError.__proto__), + start: core.int, + end: core.int +})); +dart.setLibraryUri(core.IndexError, I[8]); +dart.setFieldSignature(core.IndexError, () => ({ + __proto__: dart.getFields(core.IndexError.__proto__), + indexable: dart.finalFieldType(dart.dynamic), + length: dart.finalFieldType(core.int) +})); +var _className = dart.privateName(core, "_className"); +core.AbstractClassInstantiationError = class AbstractClassInstantiationError extends core.Error { + toString() { + return "Cannot instantiate abstract class: '" + dart.str(this[_className]) + "'"; + } +}; +(core.AbstractClassInstantiationError.new = function(className) { + if (className == null) dart.nullFailed(I[170], 444, 42, "className"); + this[_className] = className; + core.AbstractClassInstantiationError.__proto__.new.call(this); + ; +}).prototype = core.AbstractClassInstantiationError.prototype; +dart.addTypeTests(core.AbstractClassInstantiationError); +dart.addTypeCaches(core.AbstractClassInstantiationError); +dart.setLibraryUri(core.AbstractClassInstantiationError, I[8]); +dart.setFieldSignature(core.AbstractClassInstantiationError, () => ({ + __proto__: dart.getFields(core.AbstractClassInstantiationError.__proto__), + [_className]: dart.finalFieldType(core.String) +})); +dart.defineExtensionMethods(core.AbstractClassInstantiationError, ['toString']); +core.NoSuchMethodError = class NoSuchMethodError extends core.Error { + toString() { + let sb = new core.StringBuffer.new(""); + let comma = ""; + let $arguments = this[_arguments$]; + if ($arguments != null) { + for (let argument of $arguments) { + sb.write(comma); + sb.write(core.Error.safeToString(argument)); + comma = ", "; + } + } + let namedArguments = this[_namedArguments$]; + if (namedArguments != null) { + namedArguments[$forEach](dart.fn((key, value) => { + if (key == null) dart.nullFailed(I[7], 822, 38, "key"); + sb.write(comma); + sb.write(core._symbolToString(key)); + sb.write(": "); + sb.write(core.Error.safeToString(value)); + comma = ", "; + }, T$0.SymbolAnddynamicTovoid())); + } + let memberName = core._symbolToString(this[_memberName$]); + let receiverText = core.Error.safeToString(this[_receiver$]); + let actualParameters = dart.str(sb); + let invocation = this[_invocation$]; + let failureMessage = dart.InvocationImpl.is(invocation) ? invocation.failureMessage : "method not found"; + return "NoSuchMethodError: '" + dart.str(memberName) + "'\n" + dart.str(failureMessage) + "\n" + "Receiver: " + dart.str(receiverText) + "\n" + "Arguments: [" + actualParameters + "]"; + } +}; +(core.NoSuchMethodError._withInvocation = function(_receiver, invocation) { + if (invocation == null) dart.nullFailed(I[7], 802, 64, "invocation"); + this[_receiver$] = _receiver; + this[_memberName$] = invocation.memberName; + this[_arguments$] = invocation.positionalArguments; + this[_namedArguments$] = invocation.namedArguments; + this[_invocation$] = invocation; + core.NoSuchMethodError.__proto__.new.call(this); + ; +}).prototype = core.NoSuchMethodError.prototype; +(core.NoSuchMethodError.new = function(receiver, memberName, positionalArguments, namedArguments) { + if (memberName == null) dart.nullFailed(I[7], 789, 46, "memberName"); + this[_receiver$] = receiver; + this[_memberName$] = memberName; + this[_arguments$] = positionalArguments; + this[_namedArguments$] = namedArguments; + this[_invocation$] = null; + core.NoSuchMethodError.__proto__.new.call(this); + ; +}).prototype = core.NoSuchMethodError.prototype; +dart.addTypeTests(core.NoSuchMethodError); +dart.addTypeCaches(core.NoSuchMethodError); +dart.setLibraryUri(core.NoSuchMethodError, I[8]); +dart.setFieldSignature(core.NoSuchMethodError, () => ({ + __proto__: dart.getFields(core.NoSuchMethodError.__proto__), + [_receiver$]: dart.finalFieldType(dart.nullable(core.Object)), + [_memberName$]: dart.finalFieldType(core.Symbol), + [_arguments$]: dart.finalFieldType(dart.nullable(core.List)), + [_namedArguments$]: dart.finalFieldType(dart.nullable(core.Map$(core.Symbol, dart.dynamic))), + [_invocation$]: dart.finalFieldType(dart.nullable(core.Invocation)) +})); +dart.defineExtensionMethods(core.NoSuchMethodError, ['toString']); +var message$13 = dart.privateName(core, "UnsupportedError.message"); +core.UnsupportedError = class UnsupportedError extends core.Error { + get message() { + return this[message$13]; + } + set message(value) { + super.message = value; + } + toString() { + return "Unsupported operation: " + dart.str(this.message); + } +}; +(core.UnsupportedError.new = function(message) { + if (message == null) dart.nullFailed(I[170], 498, 32, "message"); + this[message$13] = message; + core.UnsupportedError.__proto__.new.call(this); + ; +}).prototype = core.UnsupportedError.prototype; +dart.addTypeTests(core.UnsupportedError); +dart.addTypeCaches(core.UnsupportedError); +dart.setLibraryUri(core.UnsupportedError, I[8]); +dart.setFieldSignature(core.UnsupportedError, () => ({ + __proto__: dart.getFields(core.UnsupportedError.__proto__), + message: dart.finalFieldType(dart.nullable(core.String)) +})); +dart.defineExtensionMethods(core.UnsupportedError, ['toString']); +var message$14 = dart.privateName(core, "UnimplementedError.message"); +core.UnimplementedError = class UnimplementedError extends core.Error { + get message() { + return this[message$14]; + } + set message(value) { + super.message = value; + } + toString() { + let message = this.message; + return message != null ? "UnimplementedError: " + dart.str(message) : "UnimplementedError"; + } +}; +(core.UnimplementedError.new = function(message = null) { + this[message$14] = message; + core.UnimplementedError.__proto__.new.call(this); + ; +}).prototype = core.UnimplementedError.prototype; +dart.addTypeTests(core.UnimplementedError); +dart.addTypeCaches(core.UnimplementedError); +core.UnimplementedError[dart.implements] = () => [core.UnsupportedError]; +dart.setLibraryUri(core.UnimplementedError, I[8]); +dart.setFieldSignature(core.UnimplementedError, () => ({ + __proto__: dart.getFields(core.UnimplementedError.__proto__), + message: dart.finalFieldType(dart.nullable(core.String)) +})); +dart.defineExtensionMethods(core.UnimplementedError, ['toString']); +var message$15 = dart.privateName(core, "StateError.message"); +core.StateError = class StateError extends core.Error { + get message() { + return this[message$15]; + } + set message(value) { + super.message = value; + } + toString() { + return "Bad state: " + dart.str(this.message); + } +}; +(core.StateError.new = function(message) { + if (message == null) dart.nullFailed(I[170], 535, 19, "message"); + this[message$15] = message; + core.StateError.__proto__.new.call(this); + ; +}).prototype = core.StateError.prototype; +dart.addTypeTests(core.StateError); +dart.addTypeCaches(core.StateError); +dart.setLibraryUri(core.StateError, I[8]); +dart.setFieldSignature(core.StateError, () => ({ + __proto__: dart.getFields(core.StateError.__proto__), + message: dart.finalFieldType(core.String) +})); +dart.defineExtensionMethods(core.StateError, ['toString']); +var modifiedObject$ = dart.privateName(core, "ConcurrentModificationError.modifiedObject"); +core.ConcurrentModificationError = class ConcurrentModificationError extends core.Error { + get modifiedObject() { + return this[modifiedObject$]; + } + set modifiedObject(value) { + super.modifiedObject = value; + } + toString() { + if (this.modifiedObject == null) { + return "Concurrent modification during iteration."; + } + return "Concurrent modification during iteration: " + dart.str(core.Error.safeToString(this.modifiedObject)) + "."; + } +}; +(core.ConcurrentModificationError.new = function(modifiedObject = null) { + this[modifiedObject$] = modifiedObject; + core.ConcurrentModificationError.__proto__.new.call(this); + ; +}).prototype = core.ConcurrentModificationError.prototype; +dart.addTypeTests(core.ConcurrentModificationError); +dart.addTypeCaches(core.ConcurrentModificationError); +dart.setLibraryUri(core.ConcurrentModificationError, I[8]); +dart.setFieldSignature(core.ConcurrentModificationError, () => ({ + __proto__: dart.getFields(core.ConcurrentModificationError.__proto__), + modifiedObject: dart.finalFieldType(dart.nullable(core.Object)) +})); +dart.defineExtensionMethods(core.ConcurrentModificationError, ['toString']); +core.OutOfMemoryError = class OutOfMemoryError extends core.Object { + toString() { + return "Out of Memory"; + } + get stackTrace() { + return null; + } +}; +(core.OutOfMemoryError.new = function() { + ; +}).prototype = core.OutOfMemoryError.prototype; +dart.addTypeTests(core.OutOfMemoryError); +dart.addTypeCaches(core.OutOfMemoryError); +core.OutOfMemoryError[dart.implements] = () => [core.Error]; +dart.setGetterSignature(core.OutOfMemoryError, () => ({ + __proto__: dart.getGetters(core.OutOfMemoryError.__proto__), + stackTrace: dart.nullable(core.StackTrace), + [$stackTrace]: dart.nullable(core.StackTrace) +})); +dart.setLibraryUri(core.OutOfMemoryError, I[8]); +dart.defineExtensionMethods(core.OutOfMemoryError, ['toString']); +dart.defineExtensionAccessors(core.OutOfMemoryError, ['stackTrace']); +core.StackOverflowError = class StackOverflowError extends core.Object { + toString() { + return "Stack Overflow"; + } + get stackTrace() { + return null; + } +}; +(core.StackOverflowError.new = function() { + ; +}).prototype = core.StackOverflowError.prototype; +dart.addTypeTests(core.StackOverflowError); +dart.addTypeCaches(core.StackOverflowError); +core.StackOverflowError[dart.implements] = () => [core.Error]; +dart.setGetterSignature(core.StackOverflowError, () => ({ + __proto__: dart.getGetters(core.StackOverflowError.__proto__), + stackTrace: dart.nullable(core.StackTrace), + [$stackTrace]: dart.nullable(core.StackTrace) +})); +dart.setLibraryUri(core.StackOverflowError, I[8]); +dart.defineExtensionMethods(core.StackOverflowError, ['toString']); +dart.defineExtensionAccessors(core.StackOverflowError, ['stackTrace']); +var variableName$ = dart.privateName(core, "CyclicInitializationError.variableName"); +core.CyclicInitializationError = class CyclicInitializationError extends core.Error { + get variableName() { + return this[variableName$]; + } + set variableName(value) { + super.variableName = value; + } + toString() { + let variableName = this.variableName; + return variableName == null ? "Reading static variable during its initialization" : "Reading static variable '" + dart.str(variableName) + "' during its initialization"; + } +}; +(core.CyclicInitializationError.new = function(variableName = null) { + this[variableName$] = variableName; + core.CyclicInitializationError.__proto__.new.call(this); + ; +}).prototype = core.CyclicInitializationError.prototype; +dart.addTypeTests(core.CyclicInitializationError); +dart.addTypeCaches(core.CyclicInitializationError); +dart.setLibraryUri(core.CyclicInitializationError, I[8]); +dart.setFieldSignature(core.CyclicInitializationError, () => ({ + __proto__: dart.getFields(core.CyclicInitializationError.__proto__), + variableName: dart.finalFieldType(dart.nullable(core.String)) +})); +dart.defineExtensionMethods(core.CyclicInitializationError, ['toString']); +core.Exception = class Exception extends core.Object { + static new(message = null) { + return new core._Exception.new(message); + } +}; +(core.Exception[dart.mixinNew] = function() { +}).prototype = core.Exception.prototype; +dart.addTypeTests(core.Exception); +dart.addTypeCaches(core.Exception); +dart.setLibraryUri(core.Exception, I[8]); +core._Exception = class _Exception extends core.Object { + toString() { + let message = this.message; + if (message == null) return "Exception"; + return "Exception: " + dart.str(message); + } +}; +(core._Exception.new = function(message = null) { + this.message = message; + ; +}).prototype = core._Exception.prototype; +dart.addTypeTests(core._Exception); +dart.addTypeCaches(core._Exception); +core._Exception[dart.implements] = () => [core.Exception]; +dart.setLibraryUri(core._Exception, I[8]); +dart.setFieldSignature(core._Exception, () => ({ + __proto__: dart.getFields(core._Exception.__proto__), + message: dart.finalFieldType(dart.dynamic) +})); +dart.defineExtensionMethods(core._Exception, ['toString']); +var message$16 = dart.privateName(core, "FormatException.message"); +var source$ = dart.privateName(core, "FormatException.source"); +var offset$ = dart.privateName(core, "FormatException.offset"); +core.FormatException = class FormatException extends core.Object { + get message() { + return this[message$16]; + } + set message(value) { + super.message = value; + } + get source() { + return this[source$]; + } + set source(value) { + super.source = value; + } + get offset() { + return this[offset$]; + } + set offset(value) { + super.offset = value; + } + toString() { + let report = "FormatException"; + let message = this.message; + if (message != null && "" !== message) { + report = report + ": " + dart.str(message); + } + let offset = this.offset; + let source = this.source; + if (typeof source == 'string') { + if (offset != null && (dart.notNull(offset) < 0 || dart.notNull(offset) > source.length)) { + offset = null; + } + if (offset == null) { + if (source.length > 78) { + source = source[$substring](0, 75) + "..."; + } + return report + "\n" + dart.str(source); + } + let lineNum = 1; + let lineStart = 0; + let previousCharWasCR = false; + for (let i = 0; i < dart.notNull(offset); i = i + 1) { + let char = source[$codeUnitAt](i); + if (char === 10) { + if (lineStart !== i || !previousCharWasCR) { + lineNum = lineNum + 1; + } + lineStart = i + 1; + previousCharWasCR = false; + } else if (char === 13) { + lineNum = lineNum + 1; + lineStart = i + 1; + previousCharWasCR = true; + } + } + if (lineNum > 1) { + report = report + (" (at line " + dart.str(lineNum) + ", character " + dart.str(dart.notNull(offset) - lineStart + 1) + ")\n"); + } else { + report = report + (" (at character " + dart.str(dart.notNull(offset) + 1) + ")\n"); + } + let lineEnd = source.length; + for (let i = offset; dart.notNull(i) < source.length; i = dart.notNull(i) + 1) { + let char = source[$codeUnitAt](i); + if (char === 10 || char === 13) { + lineEnd = i; + break; + } + } + let length = dart.notNull(lineEnd) - lineStart; + let start = lineStart; + let end = lineEnd; + let prefix = ""; + let postfix = ""; + if (length > 78) { + let index = dart.notNull(offset) - lineStart; + if (index < 75) { + end = start + 75; + postfix = "..."; + } else if (dart.notNull(end) - dart.notNull(offset) < 75) { + start = dart.notNull(end) - 75; + prefix = "..."; + } else { + start = dart.notNull(offset) - 36; + end = dart.notNull(offset) + 36; + prefix = postfix = "..."; + } + } + let slice = source[$substring](start, end); + let markOffset = dart.notNull(offset) - start + prefix.length; + return report + prefix + slice + postfix + "\n" + " "[$times](markOffset) + "^\n"; + } else { + if (offset != null) { + report = report + (" (at offset " + dart.str(offset) + ")"); + } + return report; + } + } +}; +(core.FormatException.new = function(message = "", source = null, offset = null) { + if (message == null) dart.nullFailed(I[171], 68, 31, "message"); + this[message$16] = message; + this[source$] = source; + this[offset$] = offset; + ; +}).prototype = core.FormatException.prototype; +dart.addTypeTests(core.FormatException); +dart.addTypeCaches(core.FormatException); +core.FormatException[dart.implements] = () => [core.Exception]; +dart.setLibraryUri(core.FormatException, I[8]); +dart.setFieldSignature(core.FormatException, () => ({ + __proto__: dart.getFields(core.FormatException.__proto__), + message: dart.finalFieldType(core.String), + source: dart.finalFieldType(dart.dynamic), + offset: dart.finalFieldType(dart.nullable(core.int)) +})); +dart.defineExtensionMethods(core.FormatException, ['toString']); +core.IntegerDivisionByZeroException = class IntegerDivisionByZeroException extends core.Object { + toString() { + return "IntegerDivisionByZeroException"; + } +}; +(core.IntegerDivisionByZeroException.new = function() { + ; +}).prototype = core.IntegerDivisionByZeroException.prototype; +dart.addTypeTests(core.IntegerDivisionByZeroException); +dart.addTypeCaches(core.IntegerDivisionByZeroException); +core.IntegerDivisionByZeroException[dart.implements] = () => [core.Exception]; +dart.setLibraryUri(core.IntegerDivisionByZeroException, I[8]); +dart.defineExtensionMethods(core.IntegerDivisionByZeroException, ['toString']); +var name$14 = dart.privateName(core, "Expando.name"); +var _getKey = dart.privateName(core, "_getKey"); +const _is_Expando_default = Symbol('_is_Expando_default'); +core.Expando$ = dart.generic(T => { + var TN = () => (TN = dart.constFn(dart.nullable(T)))(); + class Expando extends core.Object { + get name() { + return this[name$14]; + } + set name(value) { + super.name = value; + } + [_getKey]() { + let t249; + let key = T$.StringN().as(_js_helper.Primitives.getProperty(this, "expando$key")); + if (key == null) { + key = "expando$key$" + dart.str((t249 = core.Expando._keyCount, core.Expando._keyCount = dart.notNull(t249) + 1, t249)); + _js_helper.Primitives.setProperty(this, "expando$key", key); + } + return key; + } + toString() { + return "Expando:" + dart.str(this.name); + } + _get(object) { + if (object == null) dart.nullFailed(I[7], 139, 25, "object"); + let values = _js_helper.Primitives.getProperty(object, "expando$values"); + return values == null ? null : TN().as(_js_helper.Primitives.getProperty(values, this[_getKey]())); + } + _set(object, value$) { + let value = value$; + if (object == null) dart.nullFailed(I[7], 147, 28, "object"); + TN().as(value); + let values = _js_helper.Primitives.getProperty(object, "expando$values"); + if (values == null) { + values = new core.Object.new(); + _js_helper.Primitives.setProperty(object, "expando$values", values); + } + _js_helper.Primitives.setProperty(values, this[_getKey](), value); + return value$; + } + } + (Expando.new = function(name = null) { + this[name$14] = name; + ; + }).prototype = Expando.prototype; + dart.addTypeTests(Expando); + Expando.prototype[_is_Expando_default] = true; + dart.addTypeCaches(Expando); + dart.setMethodSignature(Expando, () => ({ + __proto__: dart.getMethods(Expando.__proto__), + [_getKey]: dart.fnType(core.String, []), + _get: dart.fnType(dart.nullable(T), [core.Object]), + _set: dart.fnType(dart.void, [core.Object, dart.nullable(core.Object)]) + })); + dart.setLibraryUri(Expando, I[8]); + dart.setFieldSignature(Expando, () => ({ + __proto__: dart.getFields(Expando.__proto__), + name: dart.finalFieldType(dart.nullable(core.String)) + })); + dart.defineExtensionMethods(Expando, ['toString']); + return Expando; +}); +core.Expando = core.Expando$(); +dart.defineLazy(core.Expando, { + /*core.Expando._KEY_PROPERTY_NAME*/get _KEY_PROPERTY_NAME() { + return "expando$key"; + }, + /*core.Expando._EXPANDO_PROPERTY_NAME*/get _EXPANDO_PROPERTY_NAME() { + return "expando$values"; + }, + /*core.Expando._keyCount*/get _keyCount() { + return 0; + }, + set _keyCount(_) {} +}, false); +dart.addTypeTests(core.Expando, _is_Expando_default); +core.Function = class Function extends core.Object { + static _toMangledNames(namedArguments) { + if (namedArguments == null) dart.nullFailed(I[7], 111, 28, "namedArguments"); + let result = new (T$0.IdentityMapOfString$dynamic()).new(); + namedArguments[$forEach](dart.fn((symbol, value) => { + if (symbol == null) dart.nullFailed(I[7], 113, 29, "symbol"); + result[$_set](core._symbolToString(symbol), value); + }, T$0.SymbolAnddynamicTovoid())); + return result; + } + static is(o) { + return typeof o == "function"; + } + static as(o) { + if (typeof o == "function") return o; + return dart.as(o, core.Function); + } + static apply($function, positionalArguments, namedArguments = null) { + if ($function == null) dart.nullFailed(I[7], 96, 25, "function"); + positionalArguments == null ? positionalArguments = [] : null; + if (namedArguments != null && dart.test(namedArguments[$isNotEmpty])) { + let map = {}; + namedArguments[$forEach](dart.fn((symbol, arg) => { + if (symbol == null) dart.nullFailed(I[7], 102, 31, "symbol"); + map[core._symbolToString(symbol)] = arg; + }, T$0.SymbolAnddynamicTovoid())); + return dart.dcall($function, positionalArguments, map); + } + return dart.dcall($function, positionalArguments); + } +}; +(core.Function.new = function() { + ; +}).prototype = core.Function.prototype; +dart.addTypeCaches(core.Function); +dart.setLibraryUri(core.Function, I[8]); +var _positional = dart.privateName(core, "_positional"); +var _named = dart.privateName(core, "_named"); +core._Invocation = class _Invocation extends core.Object { + get positionalArguments() { + let t249; + t249 = this[_positional]; + return t249 == null ? C[423] || CT.C423 : t249; + } + get namedArguments() { + let t249; + t249 = this[_named]; + return t249 == null ? C[424] || CT.C424 : t249; + } + get isMethod() { + return this[_named] != null; + } + get isGetter() { + return this[_positional] == null; + } + get isSetter() { + return this[_positional] != null && this[_named] == null; + } + get isAccessor() { + return this[_named] == null; + } + static _ensureNonNullTypes(types) { + if (types == null) return C[0] || CT.C0; + let typeArguments = T$.ListOfType().unmodifiable(types); + for (let i = 0; i < dart.notNull(typeArguments[$length]); i = i + 1) { + if (typeArguments[$_get](i) == null) { + dart.throw(new core.ArgumentError.value(types, "types", "Type arguments must be non-null, was null at index " + dart.str(i) + ".")); + } + } + return typeArguments; + } +}; +(core._Invocation.method = function(memberName, types, positional, named) { + if (memberName == null) dart.nullFailed(I[10], 99, 27, "memberName"); + this.memberName = memberName; + this.typeArguments = core._Invocation._ensureNonNullTypes(types); + this[_positional] = positional == null ? C[421] || CT.C421 : T$.ListOfObjectN().unmodifiable(positional); + this[_named] = named == null || dart.test(named[$isEmpty]) ? C[422] || CT.C422 : T$0.MapOfSymbol$ObjectN().unmodifiable(named); + ; +}).prototype = core._Invocation.prototype; +(core._Invocation.getter = function(memberName) { + if (memberName == null) dart.nullFailed(I[10], 109, 27, "memberName"); + this.memberName = memberName; + this.typeArguments = C[0] || CT.C0; + this[_positional] = null; + this[_named] = null; + ; +}).prototype = core._Invocation.prototype; +(core._Invocation.setter = function(memberName, argument) { + if (memberName == null) dart.nullFailed(I[10], 114, 27, "memberName"); + this.memberName = memberName; + this.typeArguments = C[0] || CT.C0; + this[_positional] = T$.ListOfObjectN().unmodifiable([argument]); + this[_named] = null; + ; +}).prototype = core._Invocation.prototype; +dart.addTypeTests(core._Invocation); +dart.addTypeCaches(core._Invocation); +core._Invocation[dart.implements] = () => [core.Invocation]; +dart.setGetterSignature(core._Invocation, () => ({ + __proto__: dart.getGetters(core._Invocation.__proto__), + positionalArguments: core.List, + namedArguments: core.Map$(core.Symbol, dart.dynamic), + isMethod: core.bool, + isGetter: core.bool, + isSetter: core.bool, + isAccessor: core.bool +})); +dart.setLibraryUri(core._Invocation, I[8]); +dart.setFieldSignature(core._Invocation, () => ({ + __proto__: dart.getFields(core._Invocation.__proto__), + memberName: dart.finalFieldType(core.Symbol), + typeArguments: dart.finalFieldType(core.List$(core.Type)), + [_positional]: dart.finalFieldType(dart.nullable(core.List$(dart.nullable(core.Object)))), + [_named]: dart.finalFieldType(dart.nullable(core.Map$(core.Symbol, dart.nullable(core.Object)))) +})); +var length$0 = dart.privateName(core, "_GeneratorIterable.length"); +var _generator = dart.privateName(core, "_generator"); +const _is__GeneratorIterable_default = Symbol('_is__GeneratorIterable_default'); +core._GeneratorIterable$ = dart.generic(E => { + var intToE = () => (intToE = dart.constFn(dart.fnType(E, [core.int])))(); + class _GeneratorIterable extends _internal.ListIterable$(E) { + get length() { + return this[length$0]; + } + set length(value) { + super.length = value; + } + elementAt(index) { + let t249; + if (index == null) dart.nullFailed(I[34], 620, 19, "index"); + core.RangeError.checkValidIndex(index, this); + t249 = index; + return this[_generator](t249); + } + static _id(n) { + if (n == null) dart.nullFailed(I[34], 626, 22, "n"); + return n; + } + } + (_GeneratorIterable.new = function(length, generator) { + let t249; + if (length == null) dart.nullFailed(I[34], 615, 27, "length"); + this[length$0] = length; + this[_generator] = (t249 = generator, t249 == null ? intToE().as(C[425] || CT.C425) : t249); + _GeneratorIterable.__proto__.new.call(this); + ; + }).prototype = _GeneratorIterable.prototype; + dart.addTypeTests(_GeneratorIterable); + _GeneratorIterable.prototype[_is__GeneratorIterable_default] = true; + dart.addTypeCaches(_GeneratorIterable); + dart.setLibraryUri(_GeneratorIterable, I[8]); + dart.setFieldSignature(_GeneratorIterable, () => ({ + __proto__: dart.getFields(_GeneratorIterable.__proto__), + length: dart.finalFieldType(core.int), + [_generator]: dart.finalFieldType(dart.fnType(E, [core.int])) + })); + dart.defineExtensionMethods(_GeneratorIterable, ['elementAt']); + dart.defineExtensionAccessors(_GeneratorIterable, ['length']); + return _GeneratorIterable; +}); +core._GeneratorIterable = core._GeneratorIterable$(); +dart.addTypeTests(core._GeneratorIterable, _is__GeneratorIterable_default); +const _is_BidirectionalIterator_default = Symbol('_is_BidirectionalIterator_default'); +core.BidirectionalIterator$ = dart.generic(E => { + class BidirectionalIterator extends core.Object {} + (BidirectionalIterator.new = function() { + ; + }).prototype = BidirectionalIterator.prototype; + dart.addTypeTests(BidirectionalIterator); + BidirectionalIterator.prototype[_is_BidirectionalIterator_default] = true; + dart.addTypeCaches(BidirectionalIterator); + BidirectionalIterator[dart.implements] = () => [core.Iterator$(E)]; + dart.setLibraryUri(BidirectionalIterator, I[8]); + return BidirectionalIterator; +}); +core.BidirectionalIterator = core.BidirectionalIterator$(); +dart.addTypeTests(core.BidirectionalIterator, _is_BidirectionalIterator_default); +core.Null = class Null extends core.Object { + static is(o) { + return o == null; + } + static as(o) { + if (o == null) return o; + return dart.as(o, core.Null); + } + get hashCode() { + return super[$hashCode]; + } + toString() { + return "null"; + } +}; +(core.Null[dart.mixinNew] = function() { +}).prototype = core.Null.prototype; +dart.addTypeCaches(core.Null); +dart.setLibraryUri(core.Null, I[8]); +dart.defineExtensionMethods(core.Null, ['toString']); +dart.defineExtensionAccessors(core.Null, ['hashCode']); +core.Pattern = class Pattern extends core.Object {}; +(core.Pattern.new = function() { + ; +}).prototype = core.Pattern.prototype; +dart.addTypeTests(core.Pattern); +dart.addTypeCaches(core.Pattern); +dart.setLibraryUri(core.Pattern, I[8]); +core.RegExp = class RegExp extends core.Object { + static new(source, opts) { + if (source == null) dart.nullFailed(I[7], 688, 25, "source"); + let multiLine = opts && 'multiLine' in opts ? opts.multiLine : false; + if (multiLine == null) dart.nullFailed(I[7], 689, 17, "multiLine"); + let caseSensitive = opts && 'caseSensitive' in opts ? opts.caseSensitive : true; + if (caseSensitive == null) dart.nullFailed(I[7], 690, 16, "caseSensitive"); + let unicode = opts && 'unicode' in opts ? opts.unicode : false; + if (unicode == null) dart.nullFailed(I[7], 691, 16, "unicode"); + let dotAll = opts && 'dotAll' in opts ? opts.dotAll : false; + if (dotAll == null) dart.nullFailed(I[7], 692, 16, "dotAll"); + return new _js_helper.JSSyntaxRegExp.new(source, {multiLine: multiLine, caseSensitive: caseSensitive, unicode: unicode, dotAll: dotAll}); + } + static escape(text) { + if (text == null) dart.nullFailed(I[7], 700, 31, "text"); + return _js_helper.quoteStringForRegExp(text); + } +}; +(core.RegExp[dart.mixinNew] = function() { +}).prototype = core.RegExp.prototype; +dart.addTypeTests(core.RegExp); +dart.addTypeCaches(core.RegExp); +core.RegExp[dart.implements] = () => [core.Pattern]; +dart.setLibraryUri(core.RegExp, I[8]); +const _is_Set_default = Symbol('_is_Set_default'); +core.Set$ = dart.generic(E => { + class Set extends _internal.EfficientLengthIterable$(E) { + static unmodifiable(elements) { + if (elements == null) dart.nullFailed(I[172], 88, 40, "elements"); + return new (collection.UnmodifiableSetView$(E)).new((() => { + let t249 = collection.LinkedHashSet$(E).of(elements); + return t249; + })()); + } + static castFrom(S, T, source, opts) { + if (source == null) dart.nullFailed(I[172], 109, 39, "source"); + let newSet = opts && 'newSet' in opts ? opts.newSet : null; + return new (_internal.CastSet$(S, T)).new(source, newSet); + } + } + dart.addTypeTests(Set); + Set.prototype[_is_Set_default] = true; + dart.addTypeCaches(Set); + dart.setLibraryUri(Set, I[8]); + return Set; +}); +core.Set = core.Set$(); +dart.addTypeTests(core.Set, _is_Set_default); +const _is_Sink_default = Symbol('_is_Sink_default'); +core.Sink$ = dart.generic(T => { + class Sink extends core.Object {} + (Sink.new = function() { + ; + }).prototype = Sink.prototype; + dart.addTypeTests(Sink); + Sink.prototype[_is_Sink_default] = true; + dart.addTypeCaches(Sink); + dart.setLibraryUri(Sink, I[8]); + return Sink; +}); +core.Sink = core.Sink$(); +dart.addTypeTests(core.Sink, _is_Sink_default); +var _StringStackTrace__stackTrace = dart.privateName(core, "_StringStackTrace._stackTrace"); +core.StackTrace = class StackTrace extends core.Object { + static get current() { + return dart.stackTrace(Error()); + } +}; +(core.StackTrace.new = function() { + ; +}).prototype = core.StackTrace.prototype; +dart.addTypeTests(core.StackTrace); +dart.addTypeCaches(core.StackTrace); +dart.setLibraryUri(core.StackTrace, I[8]); +dart.defineLazy(core.StackTrace, { + /*core.StackTrace.empty*/get empty() { + return C[426] || CT.C426; + } +}, false); +var _stackTrace = dart.privateName(core, "_stackTrace"); +const _stackTrace$ = _StringStackTrace__stackTrace; +core._StringStackTrace = class _StringStackTrace extends core.Object { + get [_stackTrace]() { + return this[_stackTrace$]; + } + set [_stackTrace](value) { + super[_stackTrace] = value; + } + toString() { + return this[_stackTrace]; + } +}; +(core._StringStackTrace.new = function(_stackTrace) { + if (_stackTrace == null) dart.nullFailed(I[173], 56, 32, "_stackTrace"); + this[_stackTrace$] = _stackTrace; + ; +}).prototype = core._StringStackTrace.prototype; +dart.addTypeTests(core._StringStackTrace); +dart.addTypeCaches(core._StringStackTrace); +core._StringStackTrace[dart.implements] = () => [core.StackTrace]; +dart.setLibraryUri(core._StringStackTrace, I[8]); +dart.setFieldSignature(core._StringStackTrace, () => ({ + __proto__: dart.getFields(core._StringStackTrace.__proto__), + [_stackTrace]: dart.finalFieldType(core.String) +})); +dart.defineExtensionMethods(core._StringStackTrace, ['toString']); +var _start$2 = dart.privateName(core, "_start"); +var _stop = dart.privateName(core, "_stop"); +core.Stopwatch = class Stopwatch extends core.Object { + get frequency() { + return core.Stopwatch._frequency; + } + start() { + let stop = this[_stop]; + if (stop != null) { + this[_start$2] = dart.notNull(this[_start$2]) + (dart.notNull(core.Stopwatch._now()) - dart.notNull(stop)); + this[_stop] = null; + } + } + stop() { + this[_stop] == null ? this[_stop] = core.Stopwatch._now() : null; + } + reset() { + let t250; + this[_start$2] = (t250 = this[_stop], t250 == null ? core.Stopwatch._now() : t250); + } + get elapsedTicks() { + let t250; + return dart.notNull((t250 = this[_stop], t250 == null ? core.Stopwatch._now() : t250)) - dart.notNull(this[_start$2]); + } + get elapsed() { + return new core.Duration.new({microseconds: this.elapsedMicroseconds}); + } + get elapsedMicroseconds() { + let ticks = this.elapsedTicks; + if (core.Stopwatch._frequency === 1000000) return ticks; + if (!(core.Stopwatch._frequency === 1000)) dart.assertFailed(null, I[7], 456, 12, "_frequency == 1000"); + return dart.notNull(ticks) * 1000; + } + get elapsedMilliseconds() { + let ticks = this.elapsedTicks; + if (core.Stopwatch._frequency === 1000) return ticks; + if (!(core.Stopwatch._frequency === 1000000)) dart.assertFailed(null, I[7], 464, 12, "_frequency == 1000000"); + return (dart.notNull(ticks) / 1000)[$truncate](); + } + get isRunning() { + return this[_stop] == null; + } + static _initTicker() { + _js_helper.Primitives.initTicker(); + return _js_helper.Primitives.timerFrequency; + } + static _now() { + return _js_helper.Primitives.timerTicks(); + } +}; +(core.Stopwatch.new = function() { + this[_start$2] = 0; + this[_stop] = 0; + core.Stopwatch._frequency; +}).prototype = core.Stopwatch.prototype; +dart.addTypeTests(core.Stopwatch); +dart.addTypeCaches(core.Stopwatch); +dart.setMethodSignature(core.Stopwatch, () => ({ + __proto__: dart.getMethods(core.Stopwatch.__proto__), + start: dart.fnType(dart.void, []), + stop: dart.fnType(dart.void, []), + reset: dart.fnType(dart.void, []) +})); +dart.setGetterSignature(core.Stopwatch, () => ({ + __proto__: dart.getGetters(core.Stopwatch.__proto__), + frequency: core.int, + elapsedTicks: core.int, + elapsed: core.Duration, + elapsedMicroseconds: core.int, + elapsedMilliseconds: core.int, + isRunning: core.bool +})); +dart.setLibraryUri(core.Stopwatch, I[8]); +dart.setFieldSignature(core.Stopwatch, () => ({ + __proto__: dart.getFields(core.Stopwatch.__proto__), + [_start$2]: dart.fieldType(core.int), + [_stop]: dart.fieldType(dart.nullable(core.int)) +})); +dart.defineLazy(core.Stopwatch, { + /*core.Stopwatch._frequency*/get _frequency() { + return core.Stopwatch._initTicker(); + } +}, false); +var string$ = dart.privateName(core, "Runes.string"); +core.Runes = class Runes extends core.Iterable$(core.int) { + get string() { + return this[string$]; + } + set string(value) { + super.string = value; + } + get iterator() { + return new core.RuneIterator.new(this.string); + } + get last() { + if (this.string.length === 0) { + dart.throw(new core.StateError.new("No elements.")); + } + let length = this.string.length; + let code = this.string[$codeUnitAt](length - 1); + if (dart.test(core._isTrailSurrogate(code)) && this.string.length > 1) { + let previousCode = this.string[$codeUnitAt](length - 2); + if (dart.test(core._isLeadSurrogate(previousCode))) { + return core._combineSurrogatePair(previousCode, code); + } + } + return code; + } +}; +(core.Runes.new = function(string) { + if (string == null) dart.nullFailed(I[174], 604, 14, "string"); + this[string$] = string; + core.Runes.__proto__.new.call(this); + ; +}).prototype = core.Runes.prototype; +dart.addTypeTests(core.Runes); +dart.addTypeCaches(core.Runes); +dart.setGetterSignature(core.Runes, () => ({ + __proto__: dart.getGetters(core.Runes.__proto__), + iterator: core.RuneIterator, + [$iterator]: core.RuneIterator +})); +dart.setLibraryUri(core.Runes, I[8]); +dart.setFieldSignature(core.Runes, () => ({ + __proto__: dart.getFields(core.Runes.__proto__), + string: dart.finalFieldType(core.String) +})); +dart.defineExtensionAccessors(core.Runes, ['iterator', 'last']); +var string$0 = dart.privateName(core, "RuneIterator.string"); +var _currentCodePoint = dart.privateName(core, "_currentCodePoint"); +var _position$0 = dart.privateName(core, "_position"); +var _nextPosition = dart.privateName(core, "_nextPosition"); +var _checkSplitSurrogate = dart.privateName(core, "_checkSplitSurrogate"); +core.RuneIterator = class RuneIterator extends core.Object { + get string() { + return this[string$0]; + } + set string(value) { + super.string = value; + } + [_checkSplitSurrogate](index) { + if (index == null) dart.nullFailed(I[174], 675, 33, "index"); + if (dart.notNull(index) > 0 && dart.notNull(index) < this.string.length && dart.test(core._isLeadSurrogate(this.string[$codeUnitAt](dart.notNull(index) - 1))) && dart.test(core._isTrailSurrogate(this.string[$codeUnitAt](index)))) { + dart.throw(new core.ArgumentError.new("Index inside surrogate pair: " + dart.str(index))); + } + } + get rawIndex() { + return this[_position$0] != this[_nextPosition] ? this[_position$0] : -1; + } + set rawIndex(rawIndex) { + if (rawIndex == null) dart.nullFailed(I[174], 697, 25, "rawIndex"); + core.RangeError.checkValidIndex(rawIndex, this.string, "rawIndex"); + this.reset(rawIndex); + this.moveNext(); + } + reset(rawIndex = 0) { + if (rawIndex == null) dart.nullFailed(I[174], 712, 19, "rawIndex"); + core.RangeError.checkValueInInterval(rawIndex, 0, this.string.length, "rawIndex"); + this[_checkSplitSurrogate](rawIndex); + this[_position$0] = this[_nextPosition] = rawIndex; + this[_currentCodePoint] = -1; + } + get current() { + return this[_currentCodePoint]; + } + get currentSize() { + return dart.notNull(this[_nextPosition]) - dart.notNull(this[_position$0]); + } + get currentAsString() { + if (this[_position$0] == this[_nextPosition]) return ""; + if (dart.notNull(this[_position$0]) + 1 === this[_nextPosition]) return this.string[$_get](this[_position$0]); + return this.string[$substring](this[_position$0], this[_nextPosition]); + } + moveNext() { + this[_position$0] = this[_nextPosition]; + if (this[_position$0] === this.string.length) { + this[_currentCodePoint] = -1; + return false; + } + let codeUnit = this.string[$codeUnitAt](this[_position$0]); + let nextPosition = dart.notNull(this[_position$0]) + 1; + if (dart.test(core._isLeadSurrogate(codeUnit)) && nextPosition < this.string.length) { + let nextCodeUnit = this.string[$codeUnitAt](nextPosition); + if (dart.test(core._isTrailSurrogate(nextCodeUnit))) { + this[_nextPosition] = nextPosition + 1; + this[_currentCodePoint] = core._combineSurrogatePair(codeUnit, nextCodeUnit); + return true; + } + } + this[_nextPosition] = nextPosition; + this[_currentCodePoint] = codeUnit; + return true; + } + movePrevious() { + this[_nextPosition] = this[_position$0]; + if (this[_position$0] === 0) { + this[_currentCodePoint] = -1; + return false; + } + let position = dart.notNull(this[_position$0]) - 1; + let codeUnit = this.string[$codeUnitAt](position); + if (dart.test(core._isTrailSurrogate(codeUnit)) && position > 0) { + let prevCodeUnit = this.string[$codeUnitAt](position - 1); + if (dart.test(core._isLeadSurrogate(prevCodeUnit))) { + this[_position$0] = position - 1; + this[_currentCodePoint] = core._combineSurrogatePair(prevCodeUnit, codeUnit); + return true; + } + } + this[_position$0] = position; + this[_currentCodePoint] = codeUnit; + return true; + } +}; +(core.RuneIterator.new = function(string) { + if (string == null) dart.nullFailed(I[174], 653, 23, "string"); + this[_currentCodePoint] = -1; + this[string$0] = string; + this[_position$0] = 0; + this[_nextPosition] = 0; + ; +}).prototype = core.RuneIterator.prototype; +(core.RuneIterator.at = function(string, index) { + if (string == null) dart.nullFailed(I[174], 666, 26, "string"); + if (index == null) dart.nullFailed(I[174], 666, 38, "index"); + this[_currentCodePoint] = -1; + this[string$0] = string; + this[_position$0] = index; + this[_nextPosition] = index; + core.RangeError.checkValueInInterval(index, 0, string.length); + this[_checkSplitSurrogate](index); +}).prototype = core.RuneIterator.prototype; +dart.addTypeTests(core.RuneIterator); +dart.addTypeCaches(core.RuneIterator); +core.RuneIterator[dart.implements] = () => [core.BidirectionalIterator$(core.int)]; +dart.setMethodSignature(core.RuneIterator, () => ({ + __proto__: dart.getMethods(core.RuneIterator.__proto__), + [_checkSplitSurrogate]: dart.fnType(dart.void, [core.int]), + reset: dart.fnType(dart.void, [], [core.int]), + moveNext: dart.fnType(core.bool, []), + movePrevious: dart.fnType(core.bool, []) +})); +dart.setGetterSignature(core.RuneIterator, () => ({ + __proto__: dart.getGetters(core.RuneIterator.__proto__), + rawIndex: core.int, + current: core.int, + currentSize: core.int, + currentAsString: core.String +})); +dart.setSetterSignature(core.RuneIterator, () => ({ + __proto__: dart.getSetters(core.RuneIterator.__proto__), + rawIndex: core.int +})); +dart.setLibraryUri(core.RuneIterator, I[8]); +dart.setFieldSignature(core.RuneIterator, () => ({ + __proto__: dart.getFields(core.RuneIterator.__proto__), + string: dart.finalFieldType(core.String), + [_position$0]: dart.fieldType(core.int), + [_nextPosition]: dart.fieldType(core.int), + [_currentCodePoint]: dart.fieldType(core.int) +})); +core.Symbol = class Symbol extends core.Object {}; +(core.Symbol[dart.mixinNew] = function() { +}).prototype = core.Symbol.prototype; +dart.addTypeTests(core.Symbol); +dart.addTypeCaches(core.Symbol); +dart.setLibraryUri(core.Symbol, I[8]); +dart.defineLazy(core.Symbol, { + /*core.Symbol.unaryMinus*/get unaryMinus() { + return C[427] || CT.C427; + }, + /*core.Symbol.empty*/get empty() { + return C[428] || CT.C428; + } +}, false); +core.Uri = class Uri extends core.Object { + static get base() { + let uri = _js_helper.Primitives.currentUri(); + if (uri != null) return core.Uri.parse(uri); + dart.throw(new core.UnsupportedError.new("'Uri.base' is not supported")); + } + static dataFromString(content, opts) { + if (content == null) dart.nullFailed(I[175], 283, 37, "content"); + let mimeType = opts && 'mimeType' in opts ? opts.mimeType : null; + let encoding = opts && 'encoding' in opts ? opts.encoding : null; + let parameters = opts && 'parameters' in opts ? opts.parameters : null; + let base64 = opts && 'base64' in opts ? opts.base64 : false; + if (base64 == null) dart.nullFailed(I[175], 287, 12, "base64"); + let data = core.UriData.fromString(content, {mimeType: mimeType, encoding: encoding, parameters: parameters, base64: base64}); + return data.uri; + } + static dataFromBytes(bytes, opts) { + if (bytes == null) dart.nullFailed(I[175], 310, 39, "bytes"); + let mimeType = opts && 'mimeType' in opts ? opts.mimeType : "application/octet-stream"; + if (mimeType == null) dart.nullFailed(I[175], 311, 15, "mimeType"); + let parameters = opts && 'parameters' in opts ? opts.parameters : null; + let percentEncoded = opts && 'percentEncoded' in opts ? opts.percentEncoded : false; + if (percentEncoded == null) dart.nullFailed(I[175], 313, 12, "percentEncoded"); + let data = core.UriData.fromBytes(bytes, {mimeType: mimeType, parameters: parameters, percentEncoded: percentEncoded}); + return data.uri; + } + get hasScheme() { + return this.scheme[$isNotEmpty]; + } + static parse(uri, start = 0, end = null) { + let t250; + if (uri == null) dart.nullFailed(I[175], 669, 27, "uri"); + if (start == null) dart.nullFailed(I[175], 669, 37, "start"); + end == null ? end = uri.length : null; + if (dart.notNull(end) >= dart.notNull(start) + 5) { + let dataDelta = core._startsWithData(uri, start); + if (dataDelta === 0) { + if (dart.notNull(start) > 0 || dart.notNull(end) < uri.length) uri = uri[$substring](start, end); + return core.UriData._parse(uri, 5, null).uri; + } else if (dataDelta === 32) { + return core.UriData._parse(uri[$substring](dart.notNull(start) + 5, end), 0, null).uri; + } + } + let indices = T$0.ListOfint().filled(8, 0, {growable: false}); + t250 = indices; + (() => { + t250[$_set](0, 0); + t250[$_set](1, dart.notNull(start) - 1); + t250[$_set](2, dart.notNull(start) - 1); + t250[$_set](7, dart.notNull(start) - 1); + t250[$_set](3, start); + t250[$_set](4, start); + t250[$_set](5, end); + t250[$_set](6, end); + return t250; + })(); + let state = core._scan(uri, start, end, 0, indices); + if (dart.notNull(state) >= 14) { + indices[$_set](7, end); + } + let schemeEnd = indices[$_get](1); + if (dart.notNull(schemeEnd) >= dart.notNull(start)) { + state = core._scan(uri, start, schemeEnd, 20, indices); + if (state === 20) { + indices[$_set](7, schemeEnd); + } + } + let hostStart = dart.notNull(indices[$_get](2)) + 1; + let portStart = indices[$_get](3); + let pathStart = indices[$_get](4); + let queryStart = indices[$_get](5); + let fragmentStart = indices[$_get](6); + let scheme = null; + if (dart.notNull(fragmentStart) < dart.notNull(queryStart)) queryStart = fragmentStart; + if (dart.notNull(pathStart) < hostStart) { + pathStart = queryStart; + } else if (dart.notNull(pathStart) <= dart.notNull(schemeEnd)) { + pathStart = dart.notNull(schemeEnd) + 1; + } + if (dart.notNull(portStart) < hostStart) portStart = pathStart; + if (!(hostStart === start || dart.notNull(schemeEnd) <= hostStart)) dart.assertFailed(null, I[175], 808, 12, "hostStart == start || schemeEnd <= hostStart"); + if (!(hostStart <= dart.notNull(portStart))) dart.assertFailed(null, I[175], 809, 12, "hostStart <= portStart"); + if (!(dart.notNull(schemeEnd) <= dart.notNull(pathStart))) dart.assertFailed(null, I[175], 810, 12, "schemeEnd <= pathStart"); + if (!(dart.notNull(portStart) <= dart.notNull(pathStart))) dart.assertFailed(null, I[175], 811, 12, "portStart <= pathStart"); + if (!(dart.notNull(pathStart) <= dart.notNull(queryStart))) dart.assertFailed(null, I[175], 812, 12, "pathStart <= queryStart"); + if (!(dart.notNull(queryStart) <= dart.notNull(fragmentStart))) dart.assertFailed(null, I[175], 813, 12, "queryStart <= fragmentStart"); + let isSimple = dart.notNull(indices[$_get](7)) < dart.notNull(start); + if (isSimple) { + if (hostStart > dart.notNull(schemeEnd) + 3) { + isSimple = false; + } else if (dart.notNull(portStart) > dart.notNull(start) && dart.notNull(portStart) + 1 === pathStart) { + isSimple = false; + } else if (dart.notNull(queryStart) < dart.notNull(end) && queryStart === dart.notNull(pathStart) + 2 && uri[$startsWith]("..", pathStart) || dart.notNull(queryStart) > dart.notNull(pathStart) + 2 && uri[$startsWith]("/..", dart.notNull(queryStart) - 3)) { + isSimple = false; + } else { + if (schemeEnd === dart.notNull(start) + 4) { + if (uri[$startsWith]("file", start)) { + scheme = "file"; + if (hostStart <= dart.notNull(start)) { + let schemeAuth = "file://"; + let delta = 2; + if (!uri[$startsWith]("/", pathStart)) { + schemeAuth = "file:///"; + delta = 3; + } + uri = schemeAuth + uri[$substring](pathStart, end); + schemeEnd = dart.notNull(schemeEnd) - dart.notNull(start); + hostStart = 7; + portStart = 7; + pathStart = 7; + queryStart = dart.notNull(queryStart) + (delta - dart.notNull(start)); + fragmentStart = dart.notNull(fragmentStart) + (delta - dart.notNull(start)); + start = 0; + end = uri.length; + } else if (pathStart == queryStart) { + if (start === 0 && end === uri.length) { + uri = uri[$replaceRange](pathStart, queryStart, "/"); + queryStart = dart.notNull(queryStart) + 1; + fragmentStart = dart.notNull(fragmentStart) + 1; + end = dart.notNull(end) + 1; + } else { + uri = uri[$substring](start, pathStart) + "/" + uri[$substring](queryStart, end); + schemeEnd = dart.notNull(schemeEnd) - dart.notNull(start); + hostStart = hostStart - dart.notNull(start); + portStart = dart.notNull(portStart) - dart.notNull(start); + pathStart = dart.notNull(pathStart) - dart.notNull(start); + queryStart = dart.notNull(queryStart) + (1 - dart.notNull(start)); + fragmentStart = dart.notNull(fragmentStart) + (1 - dart.notNull(start)); + start = 0; + end = uri.length; + } + } + } else if (uri[$startsWith]("http", start)) { + scheme = "http"; + if (dart.notNull(portStart) > dart.notNull(start) && dart.notNull(portStart) + 3 === pathStart && uri[$startsWith]("80", dart.notNull(portStart) + 1)) { + if (start === 0 && end === uri.length) { + uri = uri[$replaceRange](portStart, pathStart, ""); + pathStart = dart.notNull(pathStart) - 3; + queryStart = dart.notNull(queryStart) - 3; + fragmentStart = dart.notNull(fragmentStart) - 3; + end = dart.notNull(end) - 3; + } else { + uri = uri[$substring](start, portStart) + uri[$substring](pathStart, end); + schemeEnd = dart.notNull(schemeEnd) - dart.notNull(start); + hostStart = hostStart - dart.notNull(start); + portStart = dart.notNull(portStart) - dart.notNull(start); + pathStart = dart.notNull(pathStart) - (3 + dart.notNull(start)); + queryStart = dart.notNull(queryStart) - (3 + dart.notNull(start)); + fragmentStart = dart.notNull(fragmentStart) - (3 + dart.notNull(start)); + start = 0; + end = uri.length; + } + } + } + } else if (schemeEnd === dart.notNull(start) + 5 && uri[$startsWith]("https", start)) { + scheme = "https"; + if (dart.notNull(portStart) > dart.notNull(start) && dart.notNull(portStart) + 4 === pathStart && uri[$startsWith]("443", dart.notNull(portStart) + 1)) { + if (start === 0 && end === uri.length) { + uri = uri[$replaceRange](portStart, pathStart, ""); + pathStart = dart.notNull(pathStart) - 4; + queryStart = dart.notNull(queryStart) - 4; + fragmentStart = dart.notNull(fragmentStart) - 4; + end = dart.notNull(end) - 3; + } else { + uri = uri[$substring](start, portStart) + uri[$substring](pathStart, end); + schemeEnd = dart.notNull(schemeEnd) - dart.notNull(start); + hostStart = hostStart - dart.notNull(start); + portStart = dart.notNull(portStart) - dart.notNull(start); + pathStart = dart.notNull(pathStart) - (4 + dart.notNull(start)); + queryStart = dart.notNull(queryStart) - (4 + dart.notNull(start)); + fragmentStart = dart.notNull(fragmentStart) - (4 + dart.notNull(start)); + start = 0; + end = uri.length; + } + } + } + } + } + if (isSimple) { + if (dart.notNull(start) > 0 || dart.notNull(end) < uri.length) { + uri = uri[$substring](start, end); + schemeEnd = dart.notNull(schemeEnd) - dart.notNull(start); + hostStart = hostStart - dart.notNull(start); + portStart = dart.notNull(portStart) - dart.notNull(start); + pathStart = dart.notNull(pathStart) - dart.notNull(start); + queryStart = dart.notNull(queryStart) - dart.notNull(start); + fragmentStart = dart.notNull(fragmentStart) - dart.notNull(start); + } + return new core._SimpleUri.new(uri, schemeEnd, hostStart, portStart, pathStart, queryStart, fragmentStart, scheme); + } + return core._Uri.notSimple(uri, start, end, schemeEnd, hostStart, portStart, pathStart, queryStart, fragmentStart, scheme); + } + static tryParse(uri, start = 0, end = null) { + if (uri == null) dart.nullFailed(I[175], 966, 31, "uri"); + if (start == null) dart.nullFailed(I[175], 966, 41, "start"); + try { + return core.Uri.parse(uri, start, end); + } catch (e) { + let ex = dart.getThrown(e); + if (core.FormatException.is(ex)) { + return null; + } else + throw e; + } + } + static encodeComponent(component) { + if (component == null) dart.nullFailed(I[175], 993, 40, "component"); + return core._Uri._uriEncode(core._Uri._unreserved2396Table, component, convert.utf8, false); + } + static encodeQueryComponent(component, opts) { + if (component == null) dart.nullFailed(I[175], 1030, 45, "component"); + let encoding = opts && 'encoding' in opts ? opts.encoding : C[108] || CT.C108; + if (encoding == null) dart.nullFailed(I[175], 1031, 17, "encoding"); + return core._Uri._uriEncode(core._Uri._unreservedTable, component, encoding, true); + } + static decodeComponent(encodedComponent) { + if (encodedComponent == null) dart.nullFailed(I[175], 1046, 40, "encodedComponent"); + return core._Uri._uriDecode(encodedComponent, 0, encodedComponent.length, convert.utf8, false); + } + static decodeQueryComponent(encodedComponent, opts) { + if (encodedComponent == null) dart.nullFailed(I[175], 1057, 45, "encodedComponent"); + let encoding = opts && 'encoding' in opts ? opts.encoding : C[108] || CT.C108; + if (encoding == null) dart.nullFailed(I[175], 1058, 17, "encoding"); + return core._Uri._uriDecode(encodedComponent, 0, encodedComponent.length, encoding, true); + } + static encodeFull(uri) { + if (uri == null) dart.nullFailed(I[175], 1070, 35, "uri"); + return core._Uri._uriEncode(core._Uri._encodeFullTable, uri, convert.utf8, false); + } + static decodeFull(uri) { + if (uri == null) dart.nullFailed(I[175], 1080, 35, "uri"); + return core._Uri._uriDecode(uri, 0, uri.length, convert.utf8, false); + } + static splitQueryString(query, opts) { + if (query == null) dart.nullFailed(I[175], 1096, 54, "query"); + let encoding = opts && 'encoding' in opts ? opts.encoding : C[108] || CT.C108; + if (encoding == null) dart.nullFailed(I[175], 1097, 17, "encoding"); + return query[$split]("&")[$fold](T$0.MapOfString$String(), new (T$.IdentityMapOfString$String()).new(), dart.fn((map, element) => { + if (map == null) dart.nullFailed(I[175], 1098, 39, "map"); + if (element == null) dart.nullFailed(I[175], 1098, 44, "element"); + let index = element[$indexOf]("="); + if (index === -1) { + if (element !== "") { + map[$_set](core.Uri.decodeQueryComponent(element, {encoding: encoding}), ""); + } + } else if (index !== 0) { + let key = element[$substring](0, index); + let value = element[$substring](index + 1); + map[$_set](core.Uri.decodeQueryComponent(key, {encoding: encoding}), core.Uri.decodeQueryComponent(value, {encoding: encoding})); + } + return map; + }, T$0.MapOfString$StringAndStringToMapOfString$String())); + } + static parseIPv4Address(host) { + if (host == null) dart.nullFailed(I[175], 1119, 44, "host"); + return core.Uri._parseIPv4Address(host, 0, host.length); + } + static _parseIPv4Address(host, start, end) { + let t252; + if (host == null) dart.nullFailed(I[175], 1123, 45, "host"); + if (start == null) dart.nullFailed(I[175], 1123, 55, "start"); + if (end == null) dart.nullFailed(I[175], 1123, 66, "end"); + function error(msg, position) { + if (msg == null) dart.nullFailed(I[175], 1124, 23, "msg"); + if (position == null) dart.nullFailed(I[175], 1124, 32, "position"); + dart.throw(new core.FormatException.new("Illegal IPv4 address, " + dart.str(msg), host, position)); + } + dart.fn(error, T$0.StringAndintTovoid()); + let result = _native_typed_data.NativeUint8List.new(4); + let partIndex = 0; + let partStart = start; + for (let i = start; dart.notNull(i) < dart.notNull(end); i = dart.notNull(i) + 1) { + let char = host[$codeUnitAt](i); + if (char !== 46) { + if ((char ^ 48) >>> 0 > 9) { + error("invalid character", i); + } + } else { + if (partIndex === 3) { + error("IPv4 address should contain exactly 4 parts", i); + } + let part = core.int.parse(host[$substring](partStart, i)); + if (dart.notNull(part) > 255) { + error("each part must be in the range 0..255", partStart); + } + result[$_set]((t252 = partIndex, partIndex = t252 + 1, t252), part); + partStart = dart.notNull(i) + 1; + } + } + if (partIndex !== 3) { + error("IPv4 address should contain exactly 4 parts", end); + } + let part = core.int.parse(host[$substring](partStart, end)); + if (dart.notNull(part) > 255) { + error("each part must be in the range 0..255", partStart); + } + result[$_set](partIndex, part); + return result; + } + static parseIPv6Address(host, start = 0, end = null) { + if (host == null) dart.nullFailed(I[175], 1181, 44, "host"); + if (start == null) dart.nullFailed(I[175], 1181, 55, "start"); + end == null ? end = host.length : null; + function error(msg, position = null) { + if (msg == null) dart.nullFailed(I[175], 1191, 23, "msg"); + dart.throw(new core.FormatException.new("Illegal IPv6 address, " + dart.str(msg), host, T$.intN().as(position))); + } + dart.fn(error, T$0.StringAnddynamicTovoid$1()); + function parseHex(start, end) { + if (start == null) dart.nullFailed(I[175], 1196, 22, "start"); + if (end == null) dart.nullFailed(I[175], 1196, 33, "end"); + if (dart.notNull(end) - dart.notNull(start) > 4) { + error("an IPv6 part can only contain a maximum of 4 hex digits", start); + } + let value = core.int.parse(host[$substring](start, end), {radix: 16}); + if (dart.notNull(value) < 0 || dart.notNull(value) > 65535) { + error("each part must be in the range of `0x0..0xFFFF`", start); + } + return value; + } + dart.fn(parseHex, T$0.intAndintToint()); + if (host.length < 2) error("address is too short"); + let parts = T$.JSArrayOfint().of([]); + let wildcardSeen = false; + let seenDot = false; + let partStart = start; + for (let i = start; dart.notNull(i) < dart.notNull(end); i = dart.notNull(i) + 1) { + let char = host[$codeUnitAt](i); + if (char === 58) { + if (i == start) { + i = dart.notNull(i) + 1; + if (host[$codeUnitAt](i) !== 58) { + error("invalid start colon.", i); + } + partStart = i; + } + if (i == partStart) { + if (wildcardSeen) { + error("only one wildcard `::` is allowed", i); + } + wildcardSeen = true; + parts[$add](-1); + } else { + parts[$add](parseHex(partStart, i)); + } + partStart = dart.notNull(i) + 1; + } else if (char === 46) { + seenDot = true; + } + } + if (parts[$length] === 0) error("too few parts"); + let atEnd = partStart == end; + let isLastWildcard = parts[$last] === -1; + if (atEnd && !isLastWildcard) { + error("expected a part after last `:`", end); + } + if (!atEnd) { + if (!seenDot) { + parts[$add](parseHex(partStart, end)); + } else { + let last = core.Uri._parseIPv4Address(host, partStart, end); + parts[$add]((dart.notNull(last[$_get](0)) << 8 | dart.notNull(last[$_get](1))) >>> 0); + parts[$add]((dart.notNull(last[$_get](2)) << 8 | dart.notNull(last[$_get](3))) >>> 0); + } + } + if (wildcardSeen) { + if (dart.notNull(parts[$length]) > 7) { + error("an address with a wildcard must have less than 7 parts"); + } + } else if (parts[$length] !== 8) { + error("an address without a wildcard must contain exactly 8 parts"); + } + let bytes = _native_typed_data.NativeUint8List.new(16); + for (let i = 0, index = 0; i < dart.notNull(parts[$length]); i = i + 1) { + let value = parts[$_get](i); + if (value === -1) { + let wildCardLength = 9 - dart.notNull(parts[$length]); + for (let j = 0; j < wildCardLength; j = j + 1) { + bytes[$_set](index, 0); + bytes[$_set](index + 1, 0); + index = index + 2; + } + } else { + bytes[$_set](index, value[$rightShift](8)); + bytes[$_set](index + 1, dart.notNull(value) & 255); + index = index + 2; + } + } + return bytes; + } +}; +(core.Uri[dart.mixinNew] = function() { +}).prototype = core.Uri.prototype; +dart.addTypeTests(core.Uri); +dart.addTypeCaches(core.Uri); +dart.setGetterSignature(core.Uri, () => ({ + __proto__: dart.getGetters(core.Uri.__proto__), + hasScheme: core.bool +})); +dart.setLibraryUri(core.Uri, I[8]); +var ___Uri__text = dart.privateName(core, "_#_Uri#_text"); +var ___Uri__text_isSet = dart.privateName(core, "_#_Uri#_text#isSet"); +var ___Uri_pathSegments = dart.privateName(core, "_#_Uri#pathSegments"); +var ___Uri_pathSegments_isSet = dart.privateName(core, "_#_Uri#pathSegments#isSet"); +var ___Uri_hashCode = dart.privateName(core, "_#_Uri#hashCode"); +var ___Uri_hashCode_isSet = dart.privateName(core, "_#_Uri#hashCode#isSet"); +var ___Uri_queryParameters = dart.privateName(core, "_#_Uri#queryParameters"); +var ___Uri_queryParameters_isSet = dart.privateName(core, "_#_Uri#queryParameters#isSet"); +var ___Uri_queryParametersAll = dart.privateName(core, "_#_Uri#queryParametersAll"); +var ___Uri_queryParametersAll_isSet = dart.privateName(core, "_#_Uri#queryParametersAll#isSet"); +var _userInfo$ = dart.privateName(core, "_userInfo"); +var _host$ = dart.privateName(core, "_host"); +var _port$ = dart.privateName(core, "_port"); +var _query$ = dart.privateName(core, "_query"); +var _fragment$ = dart.privateName(core, "_fragment"); +var _initializeText = dart.privateName(core, "_initializeText"); +var _text$ = dart.privateName(core, "_text"); +var _writeAuthority = dart.privateName(core, "_writeAuthority"); +var _mergePaths = dart.privateName(core, "_mergePaths"); +var _toFilePath = dart.privateName(core, "_toFilePath"); +core._Uri = class _Uri extends core.Object { + get [_text$]() { + let t253; + if (!dart.test(this[___Uri__text_isSet])) { + let t252 = this[_initializeText](); + if (dart.test(this[___Uri__text_isSet])) dart.throw(new _internal.LateError.fieldADI("_text")); + this[___Uri__text] = t252; + this[___Uri__text_isSet] = true; + } + t253 = this[___Uri__text]; + return t253; + } + get pathSegments() { + let t254; + if (!dart.test(this[___Uri_pathSegments_isSet])) { + let t253 = core._Uri._computePathSegments(this.path); + if (dart.test(this[___Uri_pathSegments_isSet])) dart.throw(new _internal.LateError.fieldADI("pathSegments")); + this[___Uri_pathSegments] = t253; + this[___Uri_pathSegments_isSet] = true; + } + t254 = this[___Uri_pathSegments]; + return t254; + } + get hashCode() { + let t255; + if (!dart.test(this[___Uri_hashCode_isSet])) { + let t254 = dart.hashCode(this[_text$]); + if (dart.test(this[___Uri_hashCode_isSet])) dart.throw(new _internal.LateError.fieldADI("hashCode")); + this[___Uri_hashCode] = t254; + this[___Uri_hashCode_isSet] = true; + } + t255 = this[___Uri_hashCode]; + return t255; + } + get queryParameters() { + let t256; + if (!dart.test(this[___Uri_queryParameters_isSet])) { + let t255 = new (T$0.UnmodifiableMapViewOfString$String()).new(core.Uri.splitQueryString(this.query)); + if (dart.test(this[___Uri_queryParameters_isSet])) dart.throw(new _internal.LateError.fieldADI("queryParameters")); + this[___Uri_queryParameters] = t255; + this[___Uri_queryParameters_isSet] = true; + } + t256 = this[___Uri_queryParameters]; + return t256; + } + get queryParametersAll() { + let t257; + if (!dart.test(this[___Uri_queryParametersAll_isSet])) { + let t256 = core._Uri._computeQueryParametersAll(this.query); + if (dart.test(this[___Uri_queryParametersAll_isSet])) dart.throw(new _internal.LateError.fieldADI("queryParametersAll")); + this[___Uri_queryParametersAll] = t256; + this[___Uri_queryParametersAll_isSet] = true; + } + t257 = this[___Uri_queryParametersAll]; + return t257; + } + static notSimple(uri, start, end, schemeEnd, hostStart, portStart, pathStart, queryStart, fragmentStart, scheme) { + let t257; + if (uri == null) dart.nullFailed(I[175], 1356, 14, "uri"); + if (start == null) dart.nullFailed(I[175], 1357, 11, "start"); + if (end == null) dart.nullFailed(I[175], 1358, 11, "end"); + if (schemeEnd == null) dart.nullFailed(I[175], 1359, 11, "schemeEnd"); + if (hostStart == null) dart.nullFailed(I[175], 1360, 11, "hostStart"); + if (portStart == null) dart.nullFailed(I[175], 1361, 11, "portStart"); + if (pathStart == null) dart.nullFailed(I[175], 1362, 11, "pathStart"); + if (queryStart == null) dart.nullFailed(I[175], 1363, 11, "queryStart"); + if (fragmentStart == null) dart.nullFailed(I[175], 1364, 11, "fragmentStart"); + if (scheme == null) { + scheme = ""; + if (dart.notNull(schemeEnd) > dart.notNull(start)) { + scheme = core._Uri._makeScheme(uri, start, schemeEnd); + } else if (schemeEnd == start) { + core._Uri._fail(uri, start, "Invalid empty scheme"); + dart.throw(new _internal.ReachabilityError.new("`null` encountered as the result from expression with type `Never`.")); + } + } + let userInfo = ""; + let host = null; + let port = null; + if (dart.notNull(hostStart) > dart.notNull(start)) { + let userInfoStart = dart.notNull(schemeEnd) + 3; + if (userInfoStart < dart.notNull(hostStart)) { + userInfo = core._Uri._makeUserInfo(uri, userInfoStart, dart.notNull(hostStart) - 1); + } + host = core._Uri._makeHost(uri, hostStart, portStart, false); + if (dart.notNull(portStart) + 1 < dart.notNull(pathStart)) { + let portNumber = (t257 = core.int.tryParse(uri[$substring](dart.notNull(portStart) + 1, pathStart)), t257 == null ? dart.throw(new core.FormatException.new("Invalid port", uri, dart.notNull(portStart) + 1)) : t257); + port = core._Uri._makePort(portNumber, scheme); + } + } + let path = core._Uri._makePath(uri, pathStart, queryStart, null, scheme, host != null); + let query = null; + if (dart.notNull(queryStart) < dart.notNull(fragmentStart)) { + query = core._Uri._makeQuery(uri, dart.notNull(queryStart) + 1, fragmentStart, null); + } + let fragment = null; + if (dart.notNull(fragmentStart) < dart.notNull(end)) { + fragment = core._Uri._makeFragment(uri, dart.notNull(fragmentStart) + 1, end); + } + return new core._Uri._internal(scheme, userInfo, host, port, path, query, fragment); + } + static new(opts) { + let scheme = opts && 'scheme' in opts ? opts.scheme : null; + let userInfo = opts && 'userInfo' in opts ? opts.userInfo : null; + let host = opts && 'host' in opts ? opts.host : null; + let port = opts && 'port' in opts ? opts.port : null; + let path = opts && 'path' in opts ? opts.path : null; + let pathSegments = opts && 'pathSegments' in opts ? opts.pathSegments : null; + let query = opts && 'query' in opts ? opts.query : null; + let queryParameters = opts && 'queryParameters' in opts ? opts.queryParameters : null; + let fragment = opts && 'fragment' in opts ? opts.fragment : null; + if (scheme == null) { + scheme = ""; + } else { + scheme = core._Uri._makeScheme(scheme, 0, scheme.length); + } + userInfo = core._Uri._makeUserInfo(userInfo, 0, core._stringOrNullLength(userInfo)); + if (userInfo == null) { + dart.throw("unreachable"); + } + host = core._Uri._makeHost(host, 0, core._stringOrNullLength(host), false); + if (query === "") query = null; + query = core._Uri._makeQuery(query, 0, core._stringOrNullLength(query), queryParameters); + fragment = core._Uri._makeFragment(fragment, 0, core._stringOrNullLength(fragment)); + port = core._Uri._makePort(port, scheme); + let isFile = scheme === "file"; + if (host == null && (userInfo[$isNotEmpty] || port != null || isFile)) { + host = ""; + } + let hasAuthority = host != null; + path = core._Uri._makePath(path, 0, core._stringOrNullLength(path), pathSegments, scheme, hasAuthority); + if (path == null) { + dart.throw("unreachable"); + } + if (scheme[$isEmpty] && host == null && !path[$startsWith]("/")) { + let allowScheme = scheme[$isNotEmpty] || host != null; + path = core._Uri._normalizeRelativePath(path, allowScheme); + } else { + path = core._Uri._removeDotSegments(path); + } + if (host == null && path[$startsWith]("//")) { + host = ""; + } + return new core._Uri._internal(scheme, userInfo, host, port, path, query, fragment); + } + static http(authority, unencodedPath, queryParameters = null) { + if (authority == null) dart.nullFailed(I[175], 1454, 28, "authority"); + if (unencodedPath == null) dart.nullFailed(I[175], 1454, 46, "unencodedPath"); + return core._Uri._makeHttpUri("http", authority, unencodedPath, queryParameters); + } + static https(authority, unencodedPath, queryParameters = null) { + if (authority == null) dart.nullFailed(I[175], 1460, 29, "authority"); + if (unencodedPath == null) dart.nullFailed(I[175], 1460, 47, "unencodedPath"); + return core._Uri._makeHttpUri("https", authority, unencodedPath, queryParameters); + } + get authority() { + if (!dart.test(this.hasAuthority)) return ""; + let sb = new core.StringBuffer.new(); + this[_writeAuthority](sb); + return sb.toString(); + } + get userInfo() { + return this[_userInfo$]; + } + get host() { + let host = this[_host$]; + if (host == null) return ""; + if (host[$startsWith]("[")) { + return host[$substring](1, host.length - 1); + } + return host; + } + get port() { + let t257; + t257 = this[_port$]; + return t257 == null ? core._Uri._defaultPort(this.scheme) : t257; + } + static _defaultPort(scheme) { + if (scheme == null) dart.nullFailed(I[175], 1488, 34, "scheme"); + if (scheme === "http") return 80; + if (scheme === "https") return 443; + return 0; + } + get query() { + let t257; + t257 = this[_query$]; + return t257 == null ? "" : t257; + } + get fragment() { + let t257; + t257 = this[_fragment$]; + return t257 == null ? "" : t257; + } + isScheme(scheme) { + if (scheme == null) dart.nullFailed(I[175], 1498, 24, "scheme"); + let thisScheme = this.scheme; + if (scheme == null) return thisScheme[$isEmpty]; + if (scheme.length !== thisScheme.length) return false; + return core._Uri._compareScheme(scheme, thisScheme); + } + static _compareScheme(scheme, uri) { + if (scheme == null) dart.nullFailed(I[175], 1517, 37, "scheme"); + if (uri == null) dart.nullFailed(I[175], 1517, 52, "uri"); + for (let i = 0; i < scheme.length; i = i + 1) { + let schemeChar = scheme[$codeUnitAt](i); + let uriChar = uri[$codeUnitAt](i); + let delta = (schemeChar ^ uriChar) >>> 0; + if (delta !== 0) { + if (delta === 32) { + let lowerChar = (uriChar | delta) >>> 0; + if (97 <= lowerChar && lowerChar <= 122) { + continue; + } + } + return false; + } + } + return true; + } + static _fail(uri, index, message) { + if (uri == null) dart.nullFailed(I[175], 1537, 29, "uri"); + if (index == null) dart.nullFailed(I[175], 1537, 38, "index"); + if (message == null) dart.nullFailed(I[175], 1537, 52, "message"); + dart.throw(new core.FormatException.new(message, uri, index)); + } + static _makeHttpUri(scheme, authority, unencodedPath, queryParameters) { + if (scheme == null) dart.nullFailed(I[175], 1541, 35, "scheme"); + if (unencodedPath == null) dart.nullFailed(I[175], 1542, 14, "unencodedPath"); + let userInfo = ""; + let host = null; + let port = null; + if (authority != null && authority[$isNotEmpty]) { + let hostStart = 0; + for (let i = 0; i < authority.length; i = i + 1) { + if (authority[$codeUnitAt](i) === 64) { + userInfo = authority[$substring](0, i); + hostStart = i + 1; + break; + } + } + let hostEnd = hostStart; + if (hostStart < authority.length && authority[$codeUnitAt](hostStart) === 91) { + let escapeForZoneID = -1; + for (; hostEnd < authority.length; hostEnd = hostEnd + 1) { + let char = authority[$codeUnitAt](hostEnd); + if (char === 37 && escapeForZoneID < 0) { + escapeForZoneID = hostEnd; + if (authority[$startsWith]("25", hostEnd + 1)) { + hostEnd = hostEnd + 2; + } + } else if (char === 93) { + break; + } + } + if (hostEnd === authority.length) { + dart.throw(new core.FormatException.new("Invalid IPv6 host entry.", authority, hostStart)); + } + core.Uri.parseIPv6Address(authority, hostStart + 1, escapeForZoneID < 0 ? hostEnd : escapeForZoneID); + hostEnd = hostEnd + 1; + if (hostEnd !== authority.length && authority[$codeUnitAt](hostEnd) !== 58) { + dart.throw(new core.FormatException.new("Invalid end of authority", authority, hostEnd)); + } + } + for (; hostEnd < authority.length; hostEnd = hostEnd + 1) { + if (authority[$codeUnitAt](hostEnd) === 58) { + let portString = authority[$substring](hostEnd + 1); + if (portString[$isNotEmpty]) port = core.int.parse(portString); + break; + } + } + host = authority[$substring](hostStart, hostEnd); + } + return core._Uri.new({scheme: scheme, userInfo: userInfo, host: host, port: port, pathSegments: unencodedPath[$split]("/"), queryParameters: queryParameters}); + } + static file(path, opts) { + let t257; + if (path == null) dart.nullFailed(I[175], 1607, 28, "path"); + let windows = opts && 'windows' in opts ? opts.windows : null; + return core._Uri.as(dart.test((t257 = windows, t257 == null ? core._Uri._isWindows : t257)) ? core._Uri._makeWindowsFileUrl(path, false) : core._Uri._makeFileUri(path, false)); + } + static directory(path, opts) { + let t257; + if (path == null) dart.nullFailed(I[175], 1614, 33, "path"); + let windows = opts && 'windows' in opts ? opts.windows : null; + return core._Uri.as(dart.test((t257 = windows, t257 == null ? core._Uri._isWindows : t257)) ? core._Uri._makeWindowsFileUrl(path, true) : core._Uri._makeFileUri(path, true)); + } + static get _isWindows() { + return core._Uri._isWindowsCached; + } + static _checkNonWindowsPathReservedCharacters(segments, argumentError) { + if (segments == null) dart.nullFailed(I[175], 1624, 20, "segments"); + if (argumentError == null) dart.nullFailed(I[175], 1624, 35, "argumentError"); + for (let segment of segments) { + if (segment[$contains]("/")) { + if (dart.test(argumentError)) { + dart.throw(new core.ArgumentError.new("Illegal path character " + dart.str(segment))); + } else { + dart.throw(new core.UnsupportedError.new("Illegal path character " + dart.str(segment))); + } + } + } + } + static _checkWindowsPathReservedCharacters(segments, argumentError, firstSegment = 0) { + if (segments == null) dart.nullFailed(I[175], 1637, 20, "segments"); + if (argumentError == null) dart.nullFailed(I[175], 1637, 35, "argumentError"); + if (firstSegment == null) dart.nullFailed(I[175], 1638, 12, "firstSegment"); + for (let segment of segments[$skip](firstSegment)) { + if (segment[$contains](core.RegExp.new("[\"*/:<>?\\\\|]"))) { + if (dart.test(argumentError)) { + dart.throw(new core.ArgumentError.new("Illegal character in path")); + } else { + dart.throw(new core.UnsupportedError.new("Illegal character in path: " + dart.str(segment))); + } + } + } + } + static _checkWindowsDriveLetter(charCode, argumentError) { + if (charCode == null) dart.nullFailed(I[175], 1650, 44, "charCode"); + if (argumentError == null) dart.nullFailed(I[175], 1650, 59, "argumentError"); + if (65 <= dart.notNull(charCode) && dart.notNull(charCode) <= 90 || 97 <= dart.notNull(charCode) && dart.notNull(charCode) <= 122) { + return; + } + if (dart.test(argumentError)) { + dart.throw(new core.ArgumentError.new("Illegal drive letter " + dart.notNull(core.String.fromCharCode(charCode)))); + } else { + dart.throw(new core.UnsupportedError.new("Illegal drive letter " + dart.notNull(core.String.fromCharCode(charCode)))); + } + } + static _makeFileUri(path, slashTerminated) { + if (path == null) dart.nullFailed(I[175], 1664, 34, "path"); + if (slashTerminated == null) dart.nullFailed(I[175], 1664, 45, "slashTerminated"); + let segments = path[$split]("/"); + if (dart.test(slashTerminated) && dart.test(segments[$isNotEmpty]) && segments[$last][$isNotEmpty]) { + segments[$add](""); + } + if (path[$startsWith]("/")) { + return core._Uri.new({scheme: "file", pathSegments: segments}); + } else { + return core._Uri.new({pathSegments: segments}); + } + } + static _makeWindowsFileUrl(path, slashTerminated) { + if (path == null) dart.nullFailed(I[175], 1679, 37, "path"); + if (slashTerminated == null) dart.nullFailed(I[175], 1679, 48, "slashTerminated"); + if (path[$startsWith]("\\\\?\\")) { + if (path[$startsWith]("UNC\\", 4)) { + path = path[$replaceRange](0, 7, "\\"); + } else { + path = path[$substring](4); + if (path.length < 3 || path[$codeUnitAt](1) !== 58 || path[$codeUnitAt](2) !== 92) { + dart.throw(new core.ArgumentError.new("Windows paths with \\\\?\\ prefix must be absolute")); + } + } + } else { + path = path[$replaceAll]("/", "\\"); + } + if (path.length > 1 && path[$codeUnitAt](1) === 58) { + core._Uri._checkWindowsDriveLetter(path[$codeUnitAt](0), true); + if (path.length === 2 || path[$codeUnitAt](2) !== 92) { + dart.throw(new core.ArgumentError.new("Windows paths with drive letter must be absolute")); + } + let pathSegments = path[$split]("\\"); + if (dart.test(slashTerminated) && pathSegments[$last][$isNotEmpty]) { + pathSegments[$add](""); + } + core._Uri._checkWindowsPathReservedCharacters(pathSegments, true, 1); + return core._Uri.new({scheme: "file", pathSegments: pathSegments}); + } + if (path[$startsWith]("\\")) { + if (path[$startsWith]("\\", 1)) { + let pathStart = path[$indexOf]("\\", 2); + let hostPart = pathStart < 0 ? path[$substring](2) : path[$substring](2, pathStart); + let pathPart = pathStart < 0 ? "" : path[$substring](pathStart + 1); + let pathSegments = pathPart[$split]("\\"); + core._Uri._checkWindowsPathReservedCharacters(pathSegments, true); + if (dart.test(slashTerminated) && pathSegments[$last][$isNotEmpty]) { + pathSegments[$add](""); + } + return core._Uri.new({scheme: "file", host: hostPart, pathSegments: pathSegments}); + } else { + let pathSegments = path[$split]("\\"); + if (dart.test(slashTerminated) && pathSegments[$last][$isNotEmpty]) { + pathSegments[$add](""); + } + core._Uri._checkWindowsPathReservedCharacters(pathSegments, true); + return core._Uri.new({scheme: "file", pathSegments: pathSegments}); + } + } else { + let pathSegments = path[$split]("\\"); + core._Uri._checkWindowsPathReservedCharacters(pathSegments, true); + if (dart.test(slashTerminated) && dart.test(pathSegments[$isNotEmpty]) && pathSegments[$last][$isNotEmpty]) { + pathSegments[$add](""); + } + return core._Uri.new({pathSegments: pathSegments}); + } + } + replace(opts) { + let scheme = opts && 'scheme' in opts ? opts.scheme : null; + let userInfo = opts && 'userInfo' in opts ? opts.userInfo : null; + let host = opts && 'host' in opts ? opts.host : null; + let port = opts && 'port' in opts ? opts.port : null; + let path = opts && 'path' in opts ? opts.path : null; + let pathSegments = opts && 'pathSegments' in opts ? opts.pathSegments : null; + let query = opts && 'query' in opts ? opts.query : null; + let queryParameters = opts && 'queryParameters' in opts ? opts.queryParameters : null; + let fragment = opts && 'fragment' in opts ? opts.fragment : null; + let schemeChanged = false; + if (scheme != null) { + scheme = core._Uri._makeScheme(scheme, 0, scheme.length); + schemeChanged = scheme != this.scheme; + } else { + scheme = this.scheme; + } + let isFile = scheme === "file"; + if (userInfo != null) { + userInfo = core._Uri._makeUserInfo(userInfo, 0, userInfo.length); + } else { + userInfo = this[_userInfo$]; + } + if (port != null) { + port = core._Uri._makePort(port, scheme); + } else { + port = this[_port$]; + if (schemeChanged) { + port = core._Uri._makePort(port, scheme); + } + } + if (host != null) { + host = core._Uri._makeHost(host, 0, host.length, false); + } else if (dart.test(this.hasAuthority)) { + host = this[_host$]; + } else if (userInfo[$isNotEmpty] || port != null || isFile) { + host = ""; + } + let hasAuthority = host != null; + if (path != null || pathSegments != null) { + path = core._Uri._makePath(path, 0, core._stringOrNullLength(path), pathSegments, scheme, hasAuthority); + } else { + let currentPath = this.path; + if ((isFile || hasAuthority && !currentPath[$isEmpty]) && !currentPath[$startsWith]("/")) { + currentPath = "/" + dart.notNull(currentPath); + } + path = currentPath; + } + if (query != null || queryParameters != null) { + query = core._Uri._makeQuery(query, 0, core._stringOrNullLength(query), queryParameters); + } else { + query = this[_query$]; + } + if (fragment != null) { + fragment = core._Uri._makeFragment(fragment, 0, fragment.length); + } else { + fragment = this[_fragment$]; + } + return new core._Uri._internal(scheme, userInfo, host, port, path, query, fragment); + } + removeFragment() { + if (!dart.test(this.hasFragment)) return this; + return new core._Uri._internal(this.scheme, this[_userInfo$], this[_host$], this[_port$], this.path, this[_query$], null); + } + static _computePathSegments(pathToSplit) { + if (pathToSplit == null) dart.nullFailed(I[175], 1823, 51, "pathToSplit"); + if (pathToSplit[$isNotEmpty] && pathToSplit[$codeUnitAt](0) === 47) { + pathToSplit = pathToSplit[$substring](1); + } + return pathToSplit[$isEmpty] ? C[404] || CT.C404 : T$.ListOfString().unmodifiable(pathToSplit[$split]("/")[$map](dart.dynamic, C[429] || CT.C429)); + } + static _computeQueryParametersAll(query) { + if (query == null || query[$isEmpty]) return C[430] || CT.C430; + let queryParameterLists = core._Uri._splitQueryStringAll(query); + queryParameterLists[$updateAll](C[431] || CT.C431); + return T$0.MapOfString$ListOfString().unmodifiable(queryParameterLists); + } + normalizePath() { + let path = core._Uri._normalizePath(this.path, this.scheme, this.hasAuthority); + if (path == this.path) return this; + return this.replace({path: path}); + } + static _makePort(port, scheme) { + if (scheme == null) dart.nullFailed(I[175], 1846, 43, "scheme"); + if (port != null && port == core._Uri._defaultPort(scheme)) return null; + return port; + } + static _makeHost(host, start, end, strictIPv6) { + if (start == null) dart.nullFailed(I[175], 1861, 46, "start"); + if (end == null) dart.nullFailed(I[175], 1861, 57, "end"); + if (strictIPv6 == null) dart.nullFailed(I[175], 1861, 67, "strictIPv6"); + if (host == null) return null; + if (start == end) return ""; + if (host[$codeUnitAt](start) === 91) { + if (host[$codeUnitAt](dart.notNull(end) - 1) !== 93) { + core._Uri._fail(host, start, "Missing end `]` to match `[` in host"); + dart.throw(new _internal.ReachabilityError.new("`null` encountered as the result from expression with type `Never`.")); + } + let zoneID = ""; + let index = core._Uri._checkZoneID(host, dart.notNull(start) + 1, dart.notNull(end) - 1); + if (dart.notNull(index) < dart.notNull(end) - 1) { + let zoneIDstart = host[$startsWith]("25", dart.notNull(index) + 1) ? dart.notNull(index) + 3 : dart.notNull(index) + 1; + zoneID = core._Uri._normalizeZoneID(host, zoneIDstart, dart.notNull(end) - 1, "%25"); + } + core.Uri.parseIPv6Address(host, dart.notNull(start) + 1, index); + return host[$substring](start, index)[$toLowerCase]() + dart.notNull(zoneID) + "]"; + } + if (!dart.test(strictIPv6)) { + for (let i = start; dart.notNull(i) < dart.notNull(end); i = dart.notNull(i) + 1) { + if (host[$codeUnitAt](i) === 58) { + let zoneID = ""; + let index = core._Uri._checkZoneID(host, start, end); + if (dart.notNull(index) < dart.notNull(end)) { + let zoneIDstart = host[$startsWith]("25", dart.notNull(index) + 1) ? dart.notNull(index) + 3 : dart.notNull(index) + 1; + zoneID = core._Uri._normalizeZoneID(host, zoneIDstart, end, "%25"); + } + core.Uri.parseIPv6Address(host, start, index); + return "[" + host[$substring](start, index) + dart.notNull(zoneID) + "]"; + } + } + } + return core._Uri._normalizeRegName(host, start, end); + } + static _checkZoneID(host, start, end) { + if (host == null) dart.nullFailed(I[175], 1902, 34, "host"); + if (start == null) dart.nullFailed(I[175], 1902, 44, "start"); + if (end == null) dart.nullFailed(I[175], 1902, 55, "end"); + let index = host[$indexOf]("%", start); + index = dart.notNull(index) >= dart.notNull(start) && dart.notNull(index) < dart.notNull(end) ? index : end; + return index; + } + static _isZoneIDChar(char) { + if (char == null) dart.nullFailed(I[175], 1908, 33, "char"); + return dart.notNull(char) < 127 && (dart.notNull(core._Uri._zoneIDTable[$_get](char[$rightShift](4))) & 1 << (dart.notNull(char) & 15)) !== 0; + } + static _normalizeZoneID(host, start, end, prefix = "") { + let t257, t257$; + if (host == null) dart.nullFailed(I[175], 1918, 41, "host"); + if (start == null) dart.nullFailed(I[175], 1918, 51, "start"); + if (end == null) dart.nullFailed(I[175], 1918, 62, "end"); + if (prefix == null) dart.nullFailed(I[175], 1919, 15, "prefix"); + let buffer = null; + if (prefix !== "") { + buffer = new core.StringBuffer.new(prefix); + } + let sectionStart = start; + let index = start; + let isNormalized = true; + while (dart.notNull(index) < dart.notNull(end)) { + let char = host[$codeUnitAt](index); + if (char === 37) { + let replacement = core._Uri._normalizeEscape(host, index, true); + if (replacement == null && isNormalized) { + index = dart.notNull(index) + 3; + continue; + } + buffer == null ? buffer = new core.StringBuffer.new() : null; + let slice = host[$substring](sectionStart, index); + buffer.write(slice); + let sourceLength = 3; + if (replacement == null) { + replacement = host[$substring](index, dart.notNull(index) + 3); + } else if (replacement === "%") { + core._Uri._fail(host, index, "ZoneID should not contain % anymore"); + dart.throw(new _internal.ReachabilityError.new("`null` encountered as the result from expression with type `Never`.")); + } + buffer.write(replacement); + index = dart.notNull(index) + sourceLength; + sectionStart = index; + isNormalized = true; + } else if (dart.test(core._Uri._isZoneIDChar(char))) { + if (isNormalized && 65 <= char && 90 >= char) { + buffer == null ? buffer = new core.StringBuffer.new() : null; + if (dart.notNull(sectionStart) < dart.notNull(index)) { + buffer.write(host[$substring](sectionStart, index)); + sectionStart = index; + } + isNormalized = false; + } + index = dart.notNull(index) + 1; + } else { + let sourceLength = 1; + if ((char & 64512) === 55296 && dart.notNull(index) + 1 < dart.notNull(end)) { + let tail = host[$codeUnitAt](dart.notNull(index) + 1); + if ((tail & 64512) === 56320) { + char = 65536 | (char & 1023) << 10 | tail & 1023; + sourceLength = 2; + } + } + let slice = host[$substring](sectionStart, index); + t257$ = (t257 = buffer, t257 == null ? buffer = new core.StringBuffer.new() : t257); + (() => { + t257$.write(slice); + t257$.write(core._Uri._escapeChar(char)); + return t257$; + })(); + index = dart.notNull(index) + sourceLength; + sectionStart = index; + } + } + if (buffer == null) return host[$substring](start, end); + if (dart.notNull(sectionStart) < dart.notNull(end)) { + let slice = host[$substring](sectionStart, end); + buffer.write(slice); + } + return dart.toString(buffer); + } + static _isRegNameChar(char) { + if (char == null) dart.nullFailed(I[175], 1984, 34, "char"); + return dart.notNull(char) < 127 && (dart.notNull(core._Uri._regNameTable[$_get](char[$rightShift](4))) & 1 << (dart.notNull(char) & 15)) !== 0; + } + static _normalizeRegName(host, start, end) { + let t257, t257$; + if (host == null) dart.nullFailed(I[175], 1993, 42, "host"); + if (start == null) dart.nullFailed(I[175], 1993, 52, "start"); + if (end == null) dart.nullFailed(I[175], 1993, 63, "end"); + let buffer = null; + let sectionStart = start; + let index = start; + let isNormalized = true; + while (dart.notNull(index) < dart.notNull(end)) { + let char = host[$codeUnitAt](index); + if (char === 37) { + let replacement = core._Uri._normalizeEscape(host, index, true); + if (replacement == null && isNormalized) { + index = dart.notNull(index) + 3; + continue; + } + buffer == null ? buffer = new core.StringBuffer.new() : null; + let slice = host[$substring](sectionStart, index); + if (!isNormalized) slice = slice[$toLowerCase](); + buffer.write(slice); + let sourceLength = 3; + if (replacement == null) { + replacement = host[$substring](index, dart.notNull(index) + 3); + } else if (replacement === "%") { + replacement = "%25"; + sourceLength = 1; + } + buffer.write(replacement); + index = dart.notNull(index) + sourceLength; + sectionStart = index; + isNormalized = true; + } else if (dart.test(core._Uri._isRegNameChar(char))) { + if (isNormalized && 65 <= char && 90 >= char) { + buffer == null ? buffer = new core.StringBuffer.new() : null; + if (dart.notNull(sectionStart) < dart.notNull(index)) { + buffer.write(host[$substring](sectionStart, index)); + sectionStart = index; + } + isNormalized = false; + } + index = dart.notNull(index) + 1; + } else if (dart.test(core._Uri._isGeneralDelimiter(char))) { + core._Uri._fail(host, index, "Invalid character"); + dart.throw(new _internal.ReachabilityError.new("`null` encountered as the result from expression with type `Never`.")); + } else { + let sourceLength = 1; + if ((char & 64512) === 55296 && dart.notNull(index) + 1 < dart.notNull(end)) { + let tail = host[$codeUnitAt](dart.notNull(index) + 1); + if ((tail & 64512) === 56320) { + char = 65536 | (char & 1023) << 10 | tail & 1023; + sourceLength = 2; + } + } + let slice = host[$substring](sectionStart, index); + if (!isNormalized) slice = slice[$toLowerCase](); + t257$ = (t257 = buffer, t257 == null ? buffer = new core.StringBuffer.new() : t257); + (() => { + t257$.write(slice); + t257$.write(core._Uri._escapeChar(char)); + return t257$; + })(); + index = dart.notNull(index) + sourceLength; + sectionStart = index; + } + } + if (buffer == null) return host[$substring](start, end); + if (dart.notNull(sectionStart) < dart.notNull(end)) { + let slice = host[$substring](sectionStart, end); + if (!isNormalized) slice = slice[$toLowerCase](); + buffer.write(slice); + } + return dart.toString(buffer); + } + static _makeScheme(scheme, start, end) { + if (scheme == null) dart.nullFailed(I[175], 2065, 36, "scheme"); + if (start == null) dart.nullFailed(I[175], 2065, 48, "start"); + if (end == null) dart.nullFailed(I[175], 2065, 59, "end"); + if (start == end) return ""; + let firstCodeUnit = scheme[$codeUnitAt](start); + if (!dart.test(core._Uri._isAlphabeticCharacter(firstCodeUnit))) { + core._Uri._fail(scheme, start, "Scheme not starting with alphabetic character"); + dart.throw(new _internal.ReachabilityError.new("`null` encountered as the result from expression with type `Never`.")); + } + let containsUpperCase = false; + for (let i = start; dart.notNull(i) < dart.notNull(end); i = dart.notNull(i) + 1) { + let codeUnit = scheme[$codeUnitAt](i); + if (!dart.test(core._Uri._isSchemeCharacter(codeUnit))) { + core._Uri._fail(scheme, i, "Illegal scheme character"); + dart.throw(new _internal.ReachabilityError.new("`null` encountered as the result from expression with type `Never`.")); + } + if (65 <= codeUnit && codeUnit <= 90) { + containsUpperCase = true; + } + } + scheme = scheme[$substring](start, end); + if (containsUpperCase) scheme = scheme[$toLowerCase](); + return core._Uri._canonicalizeScheme(scheme); + } + static _canonicalizeScheme(scheme) { + if (scheme == null) dart.nullFailed(I[175], 2089, 44, "scheme"); + if (scheme === "http") return "http"; + if (scheme === "file") return "file"; + if (scheme === "https") return "https"; + if (scheme === "package") return "package"; + return scheme; + } + static _makeUserInfo(userInfo, start, end) { + if (start == null) dart.nullFailed(I[175], 2097, 53, "start"); + if (end == null) dart.nullFailed(I[175], 2097, 64, "end"); + if (userInfo == null) return ""; + return core._Uri._normalizeOrSubstring(userInfo, start, end, core._Uri._userinfoTable); + } + static _makePath(path, start, end, pathSegments, scheme, hasAuthority) { + if (start == null) dart.nullFailed(I[175], 2102, 45, "start"); + if (end == null) dart.nullFailed(I[175], 2102, 56, "end"); + if (scheme == null) dart.nullFailed(I[175], 2103, 46, "scheme"); + if (hasAuthority == null) dart.nullFailed(I[175], 2103, 59, "hasAuthority"); + let isFile = scheme === "file"; + let ensureLeadingSlash = isFile || dart.test(hasAuthority); + let result = null; + if (path == null) { + if (pathSegments == null) return isFile ? "/" : ""; + result = pathSegments[$map](core.String, dart.fn(s => { + if (s == null) dart.nullFailed(I[175], 2110, 17, "s"); + return core._Uri._uriEncode(core._Uri._pathCharTable, s, convert.utf8, false); + }, T$.StringToString()))[$join]("/"); + } else if (pathSegments != null) { + dart.throw(new core.ArgumentError.new("Both path and pathSegments specified")); + } else { + result = core._Uri._normalizeOrSubstring(path, start, end, core._Uri._pathCharOrSlashTable, {escapeDelimiters: true}); + } + if (result[$isEmpty]) { + if (isFile) return "/"; + } else if (ensureLeadingSlash && !result[$startsWith]("/")) { + result = "/" + dart.notNull(result); + } + result = core._Uri._normalizePath(result, scheme, hasAuthority); + return result; + } + static _normalizePath(path, scheme, hasAuthority) { + if (path == null) dart.nullFailed(I[175], 2132, 39, "path"); + if (scheme == null) dart.nullFailed(I[175], 2132, 52, "scheme"); + if (hasAuthority == null) dart.nullFailed(I[175], 2132, 65, "hasAuthority"); + if (scheme[$isEmpty] && !dart.test(hasAuthority) && !path[$startsWith]("/")) { + return core._Uri._normalizeRelativePath(path, scheme[$isNotEmpty] || dart.test(hasAuthority)); + } + return core._Uri._removeDotSegments(path); + } + static _makeQuery(query, start, end, queryParameters) { + if (start == null) dart.nullFailed(I[175], 2139, 48, "start"); + if (end == null) dart.nullFailed(I[175], 2139, 59, "end"); + if (query != null) { + if (queryParameters != null) { + dart.throw(new core.ArgumentError.new("Both query and queryParameters specified")); + } + return core._Uri._normalizeOrSubstring(query, start, end, core._Uri._queryCharTable, {escapeDelimiters: true}); + } + if (queryParameters == null) return null; + let result = new core.StringBuffer.new(); + let separator = ""; + function writeParameter(key, value) { + if (key == null) dart.nullFailed(I[175], 2153, 32, "key"); + result.write(separator); + separator = "&"; + result.write(core.Uri.encodeQueryComponent(key)); + if (value != null && value[$isNotEmpty]) { + result.write("="); + result.write(core.Uri.encodeQueryComponent(value)); + } + } + dart.fn(writeParameter, T$0.StringAndStringNTovoid()); + queryParameters[$forEach](dart.fn((key, value) => { + if (key == null) dart.nullFailed(I[175], 2163, 30, "key"); + if (value == null || typeof value == 'string') { + writeParameter(key, T$.StringN().as(value)); + } else { + let values = core.Iterable.as(value); + for (let t257 of values) { + let value = core.String.as(t257); + writeParameter(key, value); + } + } + }, T$0.StringAnddynamicTovoid())); + return result.toString(); + } + static _makeFragment(fragment, start, end) { + if (start == null) dart.nullFailed(I[175], 2176, 54, "start"); + if (end == null) dart.nullFailed(I[175], 2176, 65, "end"); + if (fragment == null) return null; + return core._Uri._normalizeOrSubstring(fragment, start, end, core._Uri._queryCharTable, {escapeDelimiters: true}); + } + static _normalizeEscape(source, index, lowerCase) { + if (source == null) dart.nullFailed(I[175], 2193, 42, "source"); + if (index == null) dart.nullFailed(I[175], 2193, 54, "index"); + if (lowerCase == null) dart.nullFailed(I[175], 2193, 66, "lowerCase"); + if (!(source[$codeUnitAt](index) === 37)) dart.assertFailed(null, I[175], 2194, 12, "source.codeUnitAt(index) == _PERCENT"); + if (dart.notNull(index) + 2 >= source.length) { + return "%"; + } + let firstDigit = source[$codeUnitAt](dart.notNull(index) + 1); + let secondDigit = source[$codeUnitAt](dart.notNull(index) + 2); + let firstDigitValue = _internal.hexDigitValue(firstDigit); + let secondDigitValue = _internal.hexDigitValue(secondDigit); + if (dart.notNull(firstDigitValue) < 0 || dart.notNull(secondDigitValue) < 0) { + return "%"; + } + let value = dart.notNull(firstDigitValue) * 16 + dart.notNull(secondDigitValue); + if (dart.test(core._Uri._isUnreservedChar(value))) { + if (dart.test(lowerCase) && 65 <= value && 90 >= value) { + value = (value | 32) >>> 0; + } + return core.String.fromCharCode(value); + } + if (firstDigit >= 97 || secondDigit >= 97) { + return source[$substring](index, dart.notNull(index) + 3)[$toUpperCase](); + } + return null; + } + static _escapeChar(char) { + if (char == null) dart.nullFailed(I[175], 2221, 33, "char"); + if (!(dart.notNull(char) <= 1114111)) dart.assertFailed(null, I[175], 2222, 12, "char <= 0x10ffff"); + let codeUnits = null; + if (dart.notNull(char) < 128) { + codeUnits = _native_typed_data.NativeUint8List.new(3); + codeUnits[$_set](0, 37); + codeUnits[$_set](1, "0123456789ABCDEF"[$codeUnitAt](char[$rightShift](4))); + codeUnits[$_set](2, "0123456789ABCDEF"[$codeUnitAt](dart.notNull(char) & 15)); + } else { + let flag = 192; + let encodedBytes = 2; + if (dart.notNull(char) > 2047) { + flag = 224; + encodedBytes = 3; + if (dart.notNull(char) > 65535) { + encodedBytes = 4; + flag = 240; + } + } + codeUnits = _native_typed_data.NativeUint8List.new(3 * encodedBytes); + let index = 0; + while ((encodedBytes = encodedBytes - 1) >= 0) { + let byte = (char[$rightShift](6 * encodedBytes) & 63 | flag) >>> 0; + codeUnits[$_set](index, 37); + codeUnits[$_set](index + 1, "0123456789ABCDEF"[$codeUnitAt](byte[$rightShift](4))); + codeUnits[$_set](index + 2, "0123456789ABCDEF"[$codeUnitAt](byte & 15)); + index = index + 3; + flag = 128; + } + } + return core.String.fromCharCodes(codeUnits); + } + static _normalizeOrSubstring(component, start, end, charTable, opts) { + let t258; + if (component == null) dart.nullFailed(I[175], 2261, 14, "component"); + if (start == null) dart.nullFailed(I[175], 2261, 29, "start"); + if (end == null) dart.nullFailed(I[175], 2261, 40, "end"); + if (charTable == null) dart.nullFailed(I[175], 2261, 55, "charTable"); + let escapeDelimiters = opts && 'escapeDelimiters' in opts ? opts.escapeDelimiters : false; + if (escapeDelimiters == null) dart.nullFailed(I[175], 2262, 13, "escapeDelimiters"); + t258 = core._Uri._normalize(component, start, end, charTable, {escapeDelimiters: escapeDelimiters}); + return t258 == null ? component[$substring](start, end) : t258; + } + static _normalize(component, start, end, charTable, opts) { + let t258, t258$; + if (component == null) dart.nullFailed(I[175], 2278, 14, "component"); + if (start == null) dart.nullFailed(I[175], 2278, 29, "start"); + if (end == null) dart.nullFailed(I[175], 2278, 40, "end"); + if (charTable == null) dart.nullFailed(I[175], 2278, 55, "charTable"); + let escapeDelimiters = opts && 'escapeDelimiters' in opts ? opts.escapeDelimiters : false; + if (escapeDelimiters == null) dart.nullFailed(I[175], 2279, 13, "escapeDelimiters"); + let buffer = null; + let sectionStart = start; + let index = start; + while (dart.notNull(index) < dart.notNull(end)) { + let char = component[$codeUnitAt](index); + if (char < 127 && (dart.notNull(charTable[$_get](char[$rightShift](4))) & 1 << (char & 15)) !== 0) { + index = dart.notNull(index) + 1; + } else { + let replacement = null; + let sourceLength = null; + if (char === 37) { + replacement = core._Uri._normalizeEscape(component, index, false); + if (replacement == null) { + index = dart.notNull(index) + 3; + continue; + } + if ("%" === replacement) { + replacement = "%25"; + sourceLength = 1; + } else { + sourceLength = 3; + } + } else if (!dart.test(escapeDelimiters) && dart.test(core._Uri._isGeneralDelimiter(char))) { + core._Uri._fail(component, index, "Invalid character"); + dart.throw(new _internal.ReachabilityError.new("`null` encountered as the result from expression with type `Never`.")); + dart.throw("unreachable"); + } else { + sourceLength = 1; + if ((char & 64512) === 55296) { + if (dart.notNull(index) + 1 < dart.notNull(end)) { + let tail = component[$codeUnitAt](dart.notNull(index) + 1); + if ((tail & 64512) === 56320) { + sourceLength = 2; + char = 65536 | (char & 1023) << 10 | tail & 1023; + } + } + } + replacement = core._Uri._escapeChar(char); + } + t258$ = (t258 = buffer, t258 == null ? buffer = new core.StringBuffer.new() : t258); + (() => { + t258$.write(component[$substring](sectionStart, index)); + t258$.write(replacement); + return t258$; + })(); + index = dart.notNull(index) + dart.notNull(sourceLength); + sectionStart = index; + } + } + if (buffer == null) { + return null; + } + if (dart.notNull(sectionStart) < dart.notNull(end)) { + buffer.write(component[$substring](sectionStart, end)); + } + return dart.toString(buffer); + } + static _isSchemeCharacter(ch) { + if (ch == null) dart.nullFailed(I[175], 2339, 38, "ch"); + return dart.notNull(ch) < 128 && (dart.notNull(core._Uri._schemeTable[$_get](ch[$rightShift](4))) & 1 << (dart.notNull(ch) & 15)) !== 0; + } + static _isGeneralDelimiter(ch) { + if (ch == null) dart.nullFailed(I[175], 2343, 39, "ch"); + return dart.notNull(ch) <= 93 && (dart.notNull(core._Uri._genDelimitersTable[$_get](ch[$rightShift](4))) & 1 << (dart.notNull(ch) & 15)) !== 0; + } + get isAbsolute() { + return this.scheme !== "" && this.fragment === ""; + } + [_mergePaths](base, reference) { + if (base == null) dart.nullFailed(I[175], 2351, 29, "base"); + if (reference == null) dart.nullFailed(I[175], 2351, 42, "reference"); + let backCount = 0; + let refStart = 0; + while (reference[$startsWith]("../", refStart)) { + refStart = refStart + 3; + backCount = backCount + 1; + } + let baseEnd = base[$lastIndexOf]("/"); + while (baseEnd > 0 && backCount > 0) { + let newEnd = base[$lastIndexOf]("/", baseEnd - 1); + if (newEnd < 0) { + break; + } + let delta = baseEnd - newEnd; + if ((delta === 2 || delta === 3) && base[$codeUnitAt](newEnd + 1) === 46 && (delta === 2 || base[$codeUnitAt](newEnd + 2) === 46)) { + break; + } + baseEnd = newEnd; + backCount = backCount - 1; + } + return base[$replaceRange](baseEnd + 1, null, reference[$substring](refStart - 3 * backCount)); + } + static _mayContainDotSegments(path) { + if (path == null) dart.nullFailed(I[175], 2389, 45, "path"); + if (path[$startsWith](".")) return true; + let index = path[$indexOf]("/."); + return index !== -1; + } + static _removeDotSegments(path) { + if (path == null) dart.nullFailed(I[175], 2400, 43, "path"); + if (!dart.test(core._Uri._mayContainDotSegments(path))) return path; + if (!path[$isNotEmpty]) dart.assertFailed(null, I[175], 2402, 12, "path.isNotEmpty"); + let output = T$.JSArrayOfString().of([]); + let appendSlash = false; + for (let segment of path[$split]("/")) { + appendSlash = false; + if (segment === "..") { + if (dart.test(output[$isNotEmpty])) { + output[$removeLast](); + if (dart.test(output[$isEmpty])) { + output[$add](""); + } + } + appendSlash = true; + } else if ("." === segment) { + appendSlash = true; + } else { + output[$add](segment); + } + } + if (appendSlash) output[$add](""); + return output[$join]("/"); + } + static _normalizeRelativePath(path, allowScheme) { + if (path == null) dart.nullFailed(I[175], 2436, 47, "path"); + if (allowScheme == null) dart.nullFailed(I[175], 2436, 58, "allowScheme"); + if (!!path[$startsWith]("/")) dart.assertFailed(null, I[175], 2437, 12, "!path.startsWith('/')"); + if (!dart.test(core._Uri._mayContainDotSegments(path))) { + if (!dart.test(allowScheme)) path = core._Uri._escapeScheme(path); + return path; + } + if (!path[$isNotEmpty]) dart.assertFailed(null, I[175], 2442, 12, "path.isNotEmpty"); + let output = T$.JSArrayOfString().of([]); + let appendSlash = false; + for (let segment of path[$split]("/")) { + appendSlash = false; + if (".." === segment) { + if (!dart.test(output[$isEmpty]) && output[$last] !== "..") { + output[$removeLast](); + appendSlash = true; + } else { + output[$add](".."); + } + } else if ("." === segment) { + appendSlash = true; + } else { + output[$add](segment); + } + } + if (dart.test(output[$isEmpty]) || output[$length] === 1 && output[$_get](0)[$isEmpty]) { + return "./"; + } + if (appendSlash || output[$last] === "..") output[$add](""); + if (!dart.test(allowScheme)) output[$_set](0, core._Uri._escapeScheme(output[$_get](0))); + return output[$join]("/"); + } + static _escapeScheme(path) { + if (path == null) dart.nullFailed(I[175], 2469, 38, "path"); + if (path.length >= 2 && dart.test(core._Uri._isAlphabeticCharacter(path[$codeUnitAt](0)))) { + for (let i = 1; i < path.length; i = i + 1) { + let char = path[$codeUnitAt](i); + if (char === 58) { + return path[$substring](0, i) + "%3A" + path[$substring](i + 1); + } + if (char > 127 || (dart.notNull(core._Uri._schemeTable[$_get](char[$rightShift](4))) & 1 << (char & 15)) === 0) { + break; + } + } + } + return path; + } + resolve(reference) { + if (reference == null) dart.nullFailed(I[175], 2485, 22, "reference"); + return this.resolveUri(core.Uri.parse(reference)); + } + static _packageNameEnd(uri, path) { + if (uri == null) dart.nullFailed(I[175], 2499, 34, "uri"); + if (path == null) dart.nullFailed(I[175], 2499, 46, "path"); + if (dart.test(uri.isScheme("package")) && !dart.test(uri.hasAuthority)) { + return core._skipPackageNameChars(path, 0, path.length); + } + return -1; + } + resolveUri(reference) { + if (reference == null) dart.nullFailed(I[175], 2506, 22, "reference"); + let targetScheme = null; + let targetUserInfo = ""; + let targetHost = null; + let targetPort = null; + let targetPath = null; + let targetQuery = null; + if (reference.scheme[$isNotEmpty]) { + targetScheme = reference.scheme; + if (dart.test(reference.hasAuthority)) { + targetUserInfo = reference.userInfo; + targetHost = reference.host; + targetPort = dart.test(reference.hasPort) ? reference.port : null; + } + targetPath = core._Uri._removeDotSegments(reference.path); + if (dart.test(reference.hasQuery)) { + targetQuery = reference.query; + } + } else { + targetScheme = this.scheme; + if (dart.test(reference.hasAuthority)) { + targetUserInfo = reference.userInfo; + targetHost = reference.host; + targetPort = core._Uri._makePort(dart.test(reference.hasPort) ? reference.port : null, targetScheme); + targetPath = core._Uri._removeDotSegments(reference.path); + if (dart.test(reference.hasQuery)) targetQuery = reference.query; + } else { + targetUserInfo = this[_userInfo$]; + targetHost = this[_host$]; + targetPort = this[_port$]; + if (reference.path === "") { + targetPath = this.path; + if (dart.test(reference.hasQuery)) { + targetQuery = reference.query; + } else { + targetQuery = this[_query$]; + } + } else { + let basePath = this.path; + let packageNameEnd = core._Uri._packageNameEnd(this, basePath); + if (dart.notNull(packageNameEnd) > 0) { + if (!(targetScheme === "package")) dart.assertFailed(null, I[175], 2549, 20, "targetScheme == \"package\""); + if (!!dart.test(this.hasAuthority)) dart.assertFailed(null, I[175], 2550, 20, "!this.hasAuthority"); + if (!!dart.test(this.hasEmptyPath)) dart.assertFailed(null, I[175], 2551, 20, "!this.hasEmptyPath"); + let packageName = basePath[$substring](0, packageNameEnd); + if (dart.test(reference.hasAbsolutePath)) { + targetPath = packageName + dart.notNull(core._Uri._removeDotSegments(reference.path)); + } else { + targetPath = packageName + dart.notNull(core._Uri._removeDotSegments(this[_mergePaths](basePath[$substring](packageName.length), reference.path))); + } + } else if (dart.test(reference.hasAbsolutePath)) { + targetPath = core._Uri._removeDotSegments(reference.path); + } else { + if (dart.test(this.hasEmptyPath)) { + if (!dart.test(this.hasAuthority)) { + if (!dart.test(this.hasScheme)) { + targetPath = reference.path; + } else { + targetPath = core._Uri._removeDotSegments(reference.path); + } + } else { + targetPath = core._Uri._removeDotSegments("/" + dart.notNull(reference.path)); + } + } else { + let mergedPath = this[_mergePaths](this.path, reference.path); + if (dart.test(this.hasScheme) || dart.test(this.hasAuthority) || dart.test(this.hasAbsolutePath)) { + targetPath = core._Uri._removeDotSegments(mergedPath); + } else { + targetPath = core._Uri._normalizeRelativePath(mergedPath, dart.test(this.hasScheme) || dart.test(this.hasAuthority)); + } + } + } + if (dart.test(reference.hasQuery)) targetQuery = reference.query; + } + } + } + let fragment = dart.test(reference.hasFragment) ? reference.fragment : null; + return new core._Uri._internal(targetScheme, targetUserInfo, targetHost, targetPort, targetPath, targetQuery, fragment); + } + get hasScheme() { + return this.scheme[$isNotEmpty]; + } + get hasAuthority() { + return this[_host$] != null; + } + get hasPort() { + return this[_port$] != null; + } + get hasQuery() { + return this[_query$] != null; + } + get hasFragment() { + return this[_fragment$] != null; + } + get hasEmptyPath() { + return this.path[$isEmpty]; + } + get hasAbsolutePath() { + return this.path[$startsWith]("/"); + } + get origin() { + if (this.scheme === "") { + dart.throw(new core.StateError.new("Cannot use origin without a scheme: " + dart.str(this))); + } + if (this.scheme !== "http" && this.scheme !== "https") { + dart.throw(new core.StateError.new("Origin is only applicable schemes http and https: " + dart.str(this))); + } + let host = this[_host$]; + if (host == null || host === "") { + dart.throw(new core.StateError.new("A " + dart.str(this.scheme) + ": URI should have a non-empty host name: " + dart.str(this))); + } + let port = this[_port$]; + if (port == null) return dart.str(this.scheme) + "://" + dart.str(host); + return dart.str(this.scheme) + "://" + dart.str(host) + ":" + dart.str(port); + } + toFilePath(opts) { + let t258; + let windows = opts && 'windows' in opts ? opts.windows : null; + if (this.scheme !== "" && this.scheme !== "file") { + dart.throw(new core.UnsupportedError.new("Cannot extract a file path from a " + dart.str(this.scheme) + " URI")); + } + if (this.query !== "") { + dart.throw(new core.UnsupportedError.new("Cannot extract a file path from a URI with a query component")); + } + if (this.fragment !== "") { + dart.throw(new core.UnsupportedError.new("Cannot extract a file path from a URI with a fragment component")); + } + return dart.test((t258 = windows, t258 == null ? core._Uri._isWindows : t258)) ? core._Uri._toWindowsFilePath(this) : this[_toFilePath](); + } + [_toFilePath]() { + if (dart.test(this.hasAuthority) && this.host !== "") { + dart.throw(new core.UnsupportedError.new("Cannot extract a non-Windows file path from a file URI " + "with an authority")); + } + let pathSegments = this.pathSegments; + core._Uri._checkNonWindowsPathReservedCharacters(pathSegments, false); + let result = new core.StringBuffer.new(); + if (dart.test(this.hasAbsolutePath)) result.write("/"); + result.writeAll(pathSegments, "/"); + return result.toString(); + } + static _toWindowsFilePath(uri) { + if (uri == null) dart.nullFailed(I[175], 2664, 40, "uri"); + let hasDriveLetter = false; + let segments = uri.pathSegments; + if (dart.notNull(segments[$length]) > 0 && segments[$_get](0).length === 2 && segments[$_get](0)[$codeUnitAt](1) === 58) { + core._Uri._checkWindowsDriveLetter(segments[$_get](0)[$codeUnitAt](0), false); + core._Uri._checkWindowsPathReservedCharacters(segments, false, 1); + hasDriveLetter = true; + } else { + core._Uri._checkWindowsPathReservedCharacters(segments, false, 0); + } + let result = new core.StringBuffer.new(); + if (dart.test(uri.hasAbsolutePath) && !hasDriveLetter) result.write("\\"); + if (dart.test(uri.hasAuthority)) { + let host = uri.host; + if (host[$isNotEmpty]) { + result.write("\\"); + result.write(host); + result.write("\\"); + } + } + result.writeAll(segments, "\\"); + if (hasDriveLetter && segments[$length] === 1) result.write("\\"); + return result.toString(); + } + [_writeAuthority](ss) { + if (ss == null) dart.nullFailed(I[175], 2691, 35, "ss"); + if (this[_userInfo$][$isNotEmpty]) { + ss.write(this[_userInfo$]); + ss.write("@"); + } + if (this[_host$] != null) ss.write(this[_host$]); + if (this[_port$] != null) { + ss.write(":"); + ss.write(this[_port$]); + } + } + get data() { + return this.scheme === "data" ? core.UriData.fromUri(this) : null; + } + toString() { + return this[_text$]; + } + [_initializeText]() { + let t258, t258$, t258$0; + let sb = new core.StringBuffer.new(); + if (this.scheme[$isNotEmpty]) { + t258 = sb; + (() => { + t258.write(this.scheme); + t258.write(":"); + return t258; + })(); + } + if (dart.test(this.hasAuthority) || this.scheme === "file") { + sb.write("//"); + this[_writeAuthority](sb); + } + sb.write(this.path); + if (this[_query$] != null) { + t258$ = sb; + (() => { + t258$.write("?"); + t258$.write(this[_query$]); + return t258$; + })(); + } + if (this[_fragment$] != null) { + t258$0 = sb; + (() => { + t258$0.write("#"); + t258$0.write(this[_fragment$]); + return t258$0; + })(); + } + return sb.toString(); + } + _equals(other) { + if (other == null) return false; + if (this === other) return true; + return core.Uri.is(other) && this.scheme == other.scheme && this.hasAuthority == other.hasAuthority && this.userInfo == other.userInfo && this.host == other.host && this.port == other.port && this.path == other.path && this.hasQuery == other.hasQuery && this.query == other.query && this.hasFragment == other.hasFragment && this.fragment == other.fragment; + } + static _createList() { + return T$.JSArrayOfString().of([]); + } + static _splitQueryStringAll(query, opts) { + if (query == null) dart.nullFailed(I[175], 2745, 64, "query"); + let encoding = opts && 'encoding' in opts ? opts.encoding : C[108] || CT.C108; + if (encoding == null) dart.nullFailed(I[175], 2746, 17, "encoding"); + let result = new (T$0.IdentityMapOfString$ListOfString()).new(); + let i = 0; + let start = 0; + let equalsIndex = -1; + function parsePair(start, equalsIndex, end) { + if (start == null) dart.nullFailed(I[175], 2752, 24, "start"); + if (equalsIndex == null) dart.nullFailed(I[175], 2752, 35, "equalsIndex"); + if (end == null) dart.nullFailed(I[175], 2752, 52, "end"); + let key = null; + let value = null; + if (start == end) return; + if (dart.notNull(equalsIndex) < 0) { + key = core._Uri._uriDecode(query, start, end, encoding, true); + value = ""; + } else { + key = core._Uri._uriDecode(query, start, equalsIndex, encoding, true); + value = core._Uri._uriDecode(query, dart.notNull(equalsIndex) + 1, end, encoding, true); + } + result[$putIfAbsent](key, C[432] || CT.C432)[$add](value); + } + dart.fn(parsePair, T$0.intAndintAndintTovoid()); + while (i < query.length) { + let char = query[$codeUnitAt](i); + if (char === 61) { + if (equalsIndex < 0) equalsIndex = i; + } else if (char === 38) { + parsePair(start, equalsIndex, i); + start = i + 1; + equalsIndex = -1; + } + i = i + 1; + } + parsePair(start, equalsIndex, i); + return result; + } + static _uriEncode(canonicalTable, text, encoding, spaceToPlus) { + if (canonicalTable == null) dart.nullFailed(I[7], 876, 38, "canonicalTable"); + if (text == null) dart.nullFailed(I[7], 876, 61, "text"); + if (encoding == null) dart.nullFailed(I[7], 877, 16, "encoding"); + if (spaceToPlus == null) dart.nullFailed(I[7], 877, 31, "spaceToPlus"); + if (encoding == convert.utf8 && dart.test(core._Uri._needsNoEncoding.hasMatch(text))) { + return text; + } + let result = new core.StringBuffer.new(""); + let bytes = encoding.encode(text); + for (let i = 0; i < dart.notNull(bytes[$length]); i = i + 1) { + let byte = bytes[$_get](i); + if (dart.notNull(byte) < 128 && (dart.notNull(canonicalTable[$_get](byte[$rightShift](4))) & 1 << (dart.notNull(byte) & 15)) !== 0) { + result.writeCharCode(byte); + } else if (dart.test(spaceToPlus) && byte === 32) { + result.write("+"); + } else { + result.write("%"); + result.write("0123456789ABCDEF"[$_get](dart.notNull(byte) >> 4 & 15)); + result.write("0123456789ABCDEF"[$_get](dart.notNull(byte) & 15)); + } + } + return result.toString(); + } + static _hexCharPairToByte(s, pos) { + if (s == null) dart.nullFailed(I[175], 2786, 40, "s"); + if (pos == null) dart.nullFailed(I[175], 2786, 47, "pos"); + let byte = 0; + for (let i = 0; i < 2; i = i + 1) { + let charCode = s[$codeUnitAt](dart.notNull(pos) + i); + if (48 <= charCode && charCode <= 57) { + byte = byte * 16 + charCode - 48; + } else { + charCode = (charCode | 32) >>> 0; + if (97 <= charCode && charCode <= 102) { + byte = byte * 16 + charCode - 87; + } else { + dart.throw(new core.ArgumentError.new("Invalid URL encoding")); + } + } + } + return byte; + } + static _uriDecode(text, start, end, encoding, plusToSpace) { + if (text == null) dart.nullFailed(I[175], 2816, 14, "text"); + if (start == null) dart.nullFailed(I[175], 2816, 24, "start"); + if (end == null) dart.nullFailed(I[175], 2816, 35, "end"); + if (encoding == null) dart.nullFailed(I[175], 2816, 49, "encoding"); + if (plusToSpace == null) dart.nullFailed(I[175], 2816, 64, "plusToSpace"); + if (!(0 <= dart.notNull(start))) dart.assertFailed(null, I[175], 2817, 12, "0 <= start"); + if (!(dart.notNull(start) <= dart.notNull(end))) dart.assertFailed(null, I[175], 2818, 12, "start <= end"); + if (!(dart.notNull(end) <= text.length)) dart.assertFailed(null, I[175], 2819, 12, "end <= text.length"); + let simple = true; + for (let i = start; dart.notNull(i) < dart.notNull(end); i = dart.notNull(i) + 1) { + let codeUnit = text[$codeUnitAt](i); + if (codeUnit > 127 || codeUnit === 37 || dart.test(plusToSpace) && codeUnit === 43) { + simple = false; + break; + } + } + let bytes = null; + if (simple) { + if (dart.equals(convert.utf8, encoding) || dart.equals(convert.latin1, encoding) || dart.equals(convert.ascii, encoding)) { + return text[$substring](start, end); + } else { + bytes = text[$substring](start, end)[$codeUnits]; + } + } else { + bytes = T$.JSArrayOfint().of([]); + for (let i = start; dart.notNull(i) < dart.notNull(end); i = dart.notNull(i) + 1) { + let codeUnit = text[$codeUnitAt](i); + if (codeUnit > 127) { + dart.throw(new core.ArgumentError.new("Illegal percent encoding in URI")); + } + if (codeUnit === 37) { + if (dart.notNull(i) + 3 > text.length) { + dart.throw(new core.ArgumentError.new("Truncated URI")); + } + bytes[$add](core._Uri._hexCharPairToByte(text, dart.notNull(i) + 1)); + i = dart.notNull(i) + 2; + } else if (dart.test(plusToSpace) && codeUnit === 43) { + bytes[$add](32); + } else { + bytes[$add](codeUnit); + } + } + } + return encoding.decode(bytes); + } + static _isAlphabeticCharacter(codeUnit) { + if (codeUnit == null) dart.nullFailed(I[175], 2861, 42, "codeUnit"); + let lowerCase = (dart.notNull(codeUnit) | 32) >>> 0; + return 97 <= lowerCase && lowerCase <= 122; + } + static _isUnreservedChar(char) { + if (char == null) dart.nullFailed(I[175], 2866, 37, "char"); + return dart.notNull(char) < 127 && (dart.notNull(core._Uri._unreservedTable[$_get](char[$rightShift](4))) & 1 << (dart.notNull(char) & 15)) !== 0; + } +}; +(core._Uri._internal = function(scheme, _userInfo, _host, _port, path, _query, _fragment) { + if (scheme == null) dart.nullFailed(I[175], 1347, 23, "scheme"); + if (_userInfo == null) dart.nullFailed(I[175], 1347, 36, "_userInfo"); + if (path == null) dart.nullFailed(I[175], 1347, 76, "path"); + this[___Uri__text] = null; + this[___Uri__text_isSet] = false; + this[___Uri_pathSegments] = null; + this[___Uri_pathSegments_isSet] = false; + this[___Uri_hashCode] = null; + this[___Uri_hashCode_isSet] = false; + this[___Uri_queryParameters] = null; + this[___Uri_queryParameters_isSet] = false; + this[___Uri_queryParametersAll] = null; + this[___Uri_queryParametersAll_isSet] = false; + this.scheme = scheme; + this[_userInfo$] = _userInfo; + this[_host$] = _host; + this[_port$] = _port; + this.path = path; + this[_query$] = _query; + this[_fragment$] = _fragment; + ; +}).prototype = core._Uri.prototype; +dart.addTypeTests(core._Uri); +dart.addTypeCaches(core._Uri); +core._Uri[dart.implements] = () => [core.Uri]; +dart.setMethodSignature(core._Uri, () => ({ + __proto__: dart.getMethods(core._Uri.__proto__), + isScheme: dart.fnType(core.bool, [core.String]), + replace: dart.fnType(core.Uri, [], {fragment: dart.nullable(core.String), host: dart.nullable(core.String), path: dart.nullable(core.String), pathSegments: dart.nullable(core.Iterable$(core.String)), port: dart.nullable(core.int), query: dart.nullable(core.String), queryParameters: dart.nullable(core.Map$(core.String, dart.dynamic)), scheme: dart.nullable(core.String), userInfo: dart.nullable(core.String)}, {}), + removeFragment: dart.fnType(core.Uri, []), + normalizePath: dart.fnType(core.Uri, []), + [_mergePaths]: dart.fnType(core.String, [core.String, core.String]), + resolve: dart.fnType(core.Uri, [core.String]), + resolveUri: dart.fnType(core.Uri, [core.Uri]), + toFilePath: dart.fnType(core.String, [], {windows: dart.nullable(core.bool)}, {}), + [_toFilePath]: dart.fnType(core.String, []), + [_writeAuthority]: dart.fnType(dart.void, [core.StringSink]), + [_initializeText]: dart.fnType(core.String, []) +})); +dart.setGetterSignature(core._Uri, () => ({ + __proto__: dart.getGetters(core._Uri.__proto__), + [_text$]: core.String, + pathSegments: core.List$(core.String), + queryParameters: core.Map$(core.String, core.String), + queryParametersAll: core.Map$(core.String, core.List$(core.String)), + authority: core.String, + userInfo: core.String, + host: core.String, + port: core.int, + query: core.String, + fragment: core.String, + isAbsolute: core.bool, + hasScheme: core.bool, + hasAuthority: core.bool, + hasPort: core.bool, + hasQuery: core.bool, + hasFragment: core.bool, + hasEmptyPath: core.bool, + hasAbsolutePath: core.bool, + origin: core.String, + data: dart.nullable(core.UriData) +})); +dart.setLibraryUri(core._Uri, I[8]); +dart.setFieldSignature(core._Uri, () => ({ + __proto__: dart.getFields(core._Uri.__proto__), + scheme: dart.finalFieldType(core.String), + [_userInfo$]: dart.finalFieldType(core.String), + [_host$]: dart.finalFieldType(dart.nullable(core.String)), + [_port$]: dart.fieldType(dart.nullable(core.int)), + path: dart.finalFieldType(core.String), + [_query$]: dart.finalFieldType(dart.nullable(core.String)), + [_fragment$]: dart.finalFieldType(dart.nullable(core.String)), + [___Uri__text]: dart.fieldType(dart.nullable(core.String)), + [___Uri__text_isSet]: dart.fieldType(core.bool), + [___Uri_pathSegments]: dart.fieldType(dart.nullable(core.List$(core.String))), + [___Uri_pathSegments_isSet]: dart.fieldType(core.bool), + [___Uri_hashCode]: dart.fieldType(dart.nullable(core.int)), + [___Uri_hashCode_isSet]: dart.fieldType(core.bool), + [___Uri_queryParameters]: dart.fieldType(dart.nullable(core.Map$(core.String, core.String))), + [___Uri_queryParameters_isSet]: dart.fieldType(core.bool), + [___Uri_queryParametersAll]: dart.fieldType(dart.nullable(core.Map$(core.String, core.List$(core.String)))), + [___Uri_queryParametersAll_isSet]: dart.fieldType(core.bool) +})); +dart.defineExtensionMethods(core._Uri, ['toString', '_equals']); +dart.defineExtensionAccessors(core._Uri, ['hashCode']); +dart.defineLazy(core._Uri, { + /*core._Uri._isWindowsCached*/get _isWindowsCached() { + return typeof process != "undefined" && Object.prototype.toString.call(process) == "[object process]" && process.platform == "win32"; + }, + /*core._Uri._needsNoEncoding*/get _needsNoEncoding() { + return core.RegExp.new("^[\\-\\.0-9A-Z_a-z~]*$"); + }, + /*core._Uri._unreservedTable*/get _unreservedTable() { + return C[433] || CT.C433; + }, + /*core._Uri._unreserved2396Table*/get _unreserved2396Table() { + return C[434] || CT.C434; + }, + /*core._Uri._encodeFullTable*/get _encodeFullTable() { + return C[435] || CT.C435; + }, + /*core._Uri._schemeTable*/get _schemeTable() { + return C[436] || CT.C436; + }, + /*core._Uri._genDelimitersTable*/get _genDelimitersTable() { + return C[437] || CT.C437; + }, + /*core._Uri._userinfoTable*/get _userinfoTable() { + return C[438] || CT.C438; + }, + /*core._Uri._regNameTable*/get _regNameTable() { + return C[439] || CT.C439; + }, + /*core._Uri._pathCharTable*/get _pathCharTable() { + return C[440] || CT.C440; + }, + /*core._Uri._pathCharOrSlashTable*/get _pathCharOrSlashTable() { + return C[441] || CT.C441; + }, + /*core._Uri._queryCharTable*/get _queryCharTable() { + return C[442] || CT.C442; + }, + /*core._Uri._zoneIDTable*/get _zoneIDTable() { + return C[433] || CT.C433; + } +}, false); +var _separatorIndices$ = dart.privateName(core, "_separatorIndices"); +var _uriCache$ = dart.privateName(core, "_uriCache"); +var _computeUri = dart.privateName(core, "_computeUri"); +core.UriData = class UriData extends core.Object { + static fromString(content, opts) { + let t258; + if (content == null) dart.nullFailed(I[175], 3163, 37, "content"); + let mimeType = opts && 'mimeType' in opts ? opts.mimeType : null; + let encoding = opts && 'encoding' in opts ? opts.encoding : null; + let parameters = opts && 'parameters' in opts ? opts.parameters : null; + let base64 = opts && 'base64' in opts ? opts.base64 : false; + if (base64 == null) dart.nullFailed(I[175], 3167, 12, "base64"); + let buffer = new core.StringBuffer.new(); + let indices = T$.JSArrayOfint().of([-1]); + let charsetName = (t258 = parameters, t258 == null ? null : t258[$_get]("charset")); + let encodingName = null; + if (encoding == null) { + if (charsetName != null) { + encoding = convert.Encoding.getByName(charsetName); + } + } else if (charsetName == null) { + encodingName = encoding.name; + } + encoding == null ? encoding = convert.ascii : null; + core.UriData._writeUri(mimeType, encodingName, parameters, buffer, indices); + indices[$add](buffer.length); + if (dart.test(base64)) { + buffer.write(";base64,"); + indices[$add](dart.notNull(buffer.length) - 1); + buffer.write(encoding.fuse(core.String, core.UriData._base64).encode(content)); + } else { + buffer.write(","); + core.UriData._uriEncodeBytes(core.UriData._uricTable, encoding.encode(content), buffer); + } + return new core.UriData.__(buffer.toString(), indices, null); + } + static fromBytes(bytes, opts) { + if (bytes == null) dart.nullFailed(I[175], 3198, 39, "bytes"); + let mimeType = opts && 'mimeType' in opts ? opts.mimeType : "application/octet-stream"; + if (mimeType == null) dart.nullFailed(I[175], 3199, 15, "mimeType"); + let parameters = opts && 'parameters' in opts ? opts.parameters : null; + let percentEncoded = opts && 'percentEncoded' in opts ? opts.percentEncoded : false; + if (percentEncoded == null) dart.nullFailed(I[175], 3201, 12, "percentEncoded"); + let buffer = new core.StringBuffer.new(); + let indices = T$.JSArrayOfint().of([-1]); + core.UriData._writeUri(mimeType, null, parameters, buffer, indices); + indices[$add](buffer.length); + if (dart.test(percentEncoded)) { + buffer.write(","); + core.UriData._uriEncodeBytes(core.UriData._uricTable, bytes, buffer); + } else { + buffer.write(";base64,"); + indices[$add](dart.notNull(buffer.length) - 1); + core.UriData._base64.encoder.startChunkedConversion(new (T$0._StringSinkConversionSinkOfStringSink()).new(buffer)).addSlice(bytes, 0, bytes[$length], true); + } + return new core.UriData.__(buffer.toString(), indices, null); + } + static fromUri(uri) { + if (uri == null) dart.nullFailed(I[175], 3225, 31, "uri"); + if (uri.scheme !== "data") { + dart.throw(new core.ArgumentError.value(uri, "uri", "Scheme must be 'data'")); + } + if (dart.test(uri.hasAuthority)) { + dart.throw(new core.ArgumentError.value(uri, "uri", "Data uri must not have authority")); + } + if (dart.test(uri.hasFragment)) { + dart.throw(new core.ArgumentError.value(uri, "uri", "Data uri must not have a fragment part")); + } + if (!dart.test(uri.hasQuery)) { + return core.UriData._parse(uri.path, 0, uri); + } + return core.UriData._parse(dart.toString(uri), 5, uri); + } + static _writeUri(mimeType, charsetName, parameters, buffer, indices) { + let t258, t258$; + if (buffer == null) dart.nullFailed(I[175], 3253, 20, "buffer"); + if (mimeType == null || mimeType === "text/plain") { + mimeType = ""; + } + if (mimeType[$isEmpty] || mimeType === "application/octet-stream") { + buffer.write(mimeType); + } else { + let slashIndex = core.UriData._validateMimeType(mimeType); + if (dart.notNull(slashIndex) < 0) { + dart.throw(new core.ArgumentError.value(mimeType, "mimeType", "Invalid MIME type")); + } + buffer.write(core._Uri._uriEncode(core.UriData._tokenCharTable, mimeType[$substring](0, slashIndex), convert.utf8, false)); + buffer.write("/"); + buffer.write(core._Uri._uriEncode(core.UriData._tokenCharTable, mimeType[$substring](dart.notNull(slashIndex) + 1), convert.utf8, false)); + } + if (charsetName != null) { + if (indices != null) { + t258 = indices; + (() => { + t258[$add](buffer.length); + t258[$add](dart.notNull(buffer.length) + 8); + return t258; + })(); + } + buffer.write(";charset="); + buffer.write(core._Uri._uriEncode(core.UriData._tokenCharTable, charsetName, convert.utf8, false)); + } + t258$ = parameters; + t258$ == null ? null : t258$[$forEach](dart.fn((key, value) => { + let t259, t259$; + if (key == null) dart.nullFailed(I[175], 3278, 26, "key"); + if (value == null) dart.nullFailed(I[175], 3278, 31, "value"); + if (key[$isEmpty]) { + dart.throw(new core.ArgumentError.value("", "Parameter names must not be empty")); + } + if (value[$isEmpty]) { + dart.throw(new core.ArgumentError.value("", "Parameter values must not be empty", "parameters[\"" + dart.str(key) + "\"]")); + } + t259 = indices; + t259 == null ? null : t259[$add](buffer.length); + buffer.write(";"); + buffer.write(core._Uri._uriEncode(core.UriData._tokenCharTable, key, convert.utf8, false)); + t259$ = indices; + t259$ == null ? null : t259$[$add](buffer.length); + buffer.write("="); + buffer.write(core._Uri._uriEncode(core.UriData._tokenCharTable, value, convert.utf8, false)); + }, T$0.StringAndStringTovoid())); + } + static _validateMimeType(mimeType) { + if (mimeType == null) dart.nullFailed(I[175], 3303, 39, "mimeType"); + let slashIndex = -1; + for (let i = 0; i < mimeType.length; i = i + 1) { + let char = mimeType[$codeUnitAt](i); + if (char !== 47) continue; + if (slashIndex < 0) { + slashIndex = i; + continue; + } + return -1; + } + return slashIndex; + } + static parse(uri) { + if (uri == null) dart.nullFailed(I[175], 3343, 31, "uri"); + if (uri.length >= 5) { + let dataDelta = core._startsWithData(uri, 0); + if (dataDelta === 0) { + return core.UriData._parse(uri, 5, null); + } + if (dataDelta === 32) { + return core.UriData._parse(uri[$substring](5), 0, null); + } + } + dart.throw(new core.FormatException.new("Does not start with 'data:'", uri, 0)); + } + get uri() { + let t258; + t258 = this[_uriCache$]; + return t258 == null ? this[_uriCache$] = this[_computeUri]() : t258; + } + [_computeUri]() { + let path = this[_text$]; + let query = null; + let colonIndex = this[_separatorIndices$][$_get](0); + let queryIndex = this[_text$][$indexOf]("?", dart.notNull(colonIndex) + 1); + let end = this[_text$].length; + if (queryIndex >= 0) { + query = core._Uri._normalizeOrSubstring(this[_text$], queryIndex + 1, end, core._Uri._queryCharTable); + end = queryIndex; + } + path = core._Uri._normalizeOrSubstring(this[_text$], dart.notNull(colonIndex) + 1, end, core._Uri._pathCharOrSlashTable); + return new core._DataUri.new(this, path, query); + } + get mimeType() { + let start = dart.notNull(this[_separatorIndices$][$_get](0)) + 1; + let end = this[_separatorIndices$][$_get](1); + if (start === end) return "text/plain"; + return core._Uri._uriDecode(this[_text$], start, end, convert.utf8, false); + } + get charset() { + let parameterStart = 1; + let parameterEnd = dart.notNull(this[_separatorIndices$][$length]) - 1; + if (dart.test(this.isBase64)) { + parameterEnd = parameterEnd - 1; + } + for (let i = parameterStart; i < parameterEnd; i = i + 2) { + let keyStart = dart.notNull(this[_separatorIndices$][$_get](i)) + 1; + let keyEnd = this[_separatorIndices$][$_get](i + 1); + if (keyEnd === keyStart + 7 && this[_text$][$startsWith]("charset", keyStart)) { + return core._Uri._uriDecode(this[_text$], dart.notNull(keyEnd) + 1, this[_separatorIndices$][$_get](i + 2), convert.utf8, false); + } + } + return "US-ASCII"; + } + get isBase64() { + return this[_separatorIndices$][$length][$isOdd]; + } + get contentText() { + return this[_text$][$substring](dart.notNull(this[_separatorIndices$][$last]) + 1); + } + contentAsBytes() { + let t258, t258$; + let text = this[_text$]; + let start = dart.notNull(this[_separatorIndices$][$last]) + 1; + if (dart.test(this.isBase64)) { + return convert.base64.decoder.convert(text, start); + } + let length = text.length - start; + for (let i = start; i < text.length; i = i + 1) { + let codeUnit = text[$codeUnitAt](i); + if (codeUnit === 37) { + i = i + 2; + length = length - 2; + } + } + let result = _native_typed_data.NativeUint8List.new(length); + if (length === text.length) { + result[$setRange](0, length, text[$codeUnits], start); + return result; + } + let index = 0; + for (let i = start; i < text.length; i = i + 1) { + let codeUnit = text[$codeUnitAt](i); + if (codeUnit !== 37) { + result[$_set]((t258 = index, index = t258 + 1, t258), codeUnit); + } else { + if (i + 2 < text.length) { + let byte = _internal.parseHexByte(text, i + 1); + if (dart.notNull(byte) >= 0) { + result[$_set]((t258$ = index, index = t258$ + 1, t258$), byte); + i = i + 2; + continue; + } + } + dart.throw(new core.FormatException.new("Invalid percent escape", text, i)); + } + } + if (!(index === result[$length])) dart.assertFailed(null, I[175], 3491, 12, "index == result.length"); + return result; + } + contentAsString(opts) { + let encoding = opts && 'encoding' in opts ? opts.encoding : null; + if (encoding == null) { + let charset = this.charset; + encoding = convert.Encoding.getByName(charset); + if (encoding == null) { + dart.throw(new core.UnsupportedError.new("Unknown charset: " + dart.str(charset))); + } + } + let text = this[_text$]; + let start = dart.notNull(this[_separatorIndices$][$last]) + 1; + if (dart.test(this.isBase64)) { + let converter = convert.base64.decoder.fuse(core.String, encoding.decoder); + return converter.convert(text[$substring](start)); + } + return core._Uri._uriDecode(text, start, text.length, encoding, false); + } + get parameters() { + let result = new (T$.IdentityMapOfString$String()).new(); + for (let i = 3; i < dart.notNull(this[_separatorIndices$][$length]); i = i + 2) { + let start = dart.notNull(this[_separatorIndices$][$_get](i - 2)) + 1; + let equals = this[_separatorIndices$][$_get](i - 1); + let end = this[_separatorIndices$][$_get](i); + let key = core._Uri._uriDecode(this[_text$], start, equals, convert.utf8, false); + let value = core._Uri._uriDecode(this[_text$], dart.notNull(equals) + 1, end, convert.utf8, false); + result[$_set](key, value); + } + return result; + } + static _parse(text, start, sourceUri) { + if (text == null) dart.nullFailed(I[175], 3549, 32, "text"); + if (start == null) dart.nullFailed(I[175], 3549, 42, "start"); + if (!(start === 0 || start === 5)) dart.assertFailed(null, I[175], 3550, 12, "start == 0 || start == 5"); + if (!(start === 5 === text[$startsWith]("data:"))) dart.assertFailed(null, I[175], 3551, 12, "(start == 5) == text.startsWith(\"data:\")"); + let indices = T$.JSArrayOfint().of([dart.notNull(start) - 1]); + let slashIndex = -1; + let char = null; + let i = start; + for (; dart.notNull(i) < text.length; i = dart.notNull(i) + 1) { + char = text[$codeUnitAt](i); + if (dart.equals(char, 44) || dart.equals(char, 59)) break; + if (dart.equals(char, 47)) { + if (dart.notNull(slashIndex) < 0) { + slashIndex = i; + continue; + } + dart.throw(new core.FormatException.new("Invalid MIME type", text, i)); + } + } + if (dart.notNull(slashIndex) < 0 && dart.notNull(i) > dart.notNull(start)) { + dart.throw(new core.FormatException.new("Invalid MIME type", text, i)); + } + while (!dart.equals(char, 44)) { + indices[$add](i); + i = dart.notNull(i) + 1; + let equalsIndex = -1; + for (; dart.notNull(i) < text.length; i = dart.notNull(i) + 1) { + char = text[$codeUnitAt](i); + if (dart.equals(char, 61)) { + if (dart.notNull(equalsIndex) < 0) equalsIndex = i; + } else if (dart.equals(char, 59) || dart.equals(char, 44)) { + break; + } + } + if (dart.notNull(equalsIndex) >= 0) { + indices[$add](equalsIndex); + } else { + let lastSeparator = indices[$last]; + if (!dart.equals(char, 44) || i !== dart.notNull(lastSeparator) + 7 || !text[$startsWith]("base64", dart.notNull(lastSeparator) + 1)) { + dart.throw(new core.FormatException.new("Expecting '='", text, i)); + } + break; + } + } + indices[$add](i); + let isBase64 = indices[$length][$isOdd]; + if (isBase64) { + text = convert.base64.normalize(text, dart.notNull(i) + 1, text.length); + } else { + let data = core._Uri._normalize(text, dart.notNull(i) + 1, text.length, core.UriData._uricTable, {escapeDelimiters: true}); + if (data != null) { + text = text[$replaceRange](dart.notNull(i) + 1, text.length, data); + } + } + return new core.UriData.__(text, indices, sourceUri); + } + static _uriEncodeBytes(canonicalTable, bytes, buffer) { + if (canonicalTable == null) dart.nullFailed(I[175], 3625, 17, "canonicalTable"); + if (bytes == null) dart.nullFailed(I[175], 3625, 43, "bytes"); + if (buffer == null) dart.nullFailed(I[175], 3625, 61, "buffer"); + let byteOr = 0; + for (let i = 0; i < dart.notNull(bytes[$length]); i = i + 1) { + let byte = bytes[$_get](i); + byteOr = (byteOr | dart.notNull(byte)) >>> 0; + if (dart.notNull(byte) < 128 && (dart.notNull(canonicalTable[$_get](byte[$rightShift](4))) & 1 << (dart.notNull(byte) & 15)) !== 0) { + buffer.writeCharCode(byte); + } else { + buffer.writeCharCode(37); + buffer.writeCharCode("0123456789ABCDEF"[$codeUnitAt](byte[$rightShift](4))); + buffer.writeCharCode("0123456789ABCDEF"[$codeUnitAt](dart.notNull(byte) & 15)); + } + } + if ((byteOr & ~255 >>> 0) !== 0) { + for (let i = 0; i < dart.notNull(bytes[$length]); i = i + 1) { + let byte = bytes[$_get](i); + if (dart.notNull(byte) < 0 || dart.notNull(byte) > 255) { + dart.throw(new core.ArgumentError.value(byte, "non-byte value")); + } + } + } + } + toString() { + return this[_separatorIndices$][$_get](0) === -1 ? "data:" + dart.str(this[_text$]) : this[_text$]; + } +}; +(core.UriData.__ = function(_text, _separatorIndices, _uriCache) { + if (_text == null) dart.nullFailed(I[175], 3154, 18, "_text"); + if (_separatorIndices == null) dart.nullFailed(I[175], 3154, 30, "_separatorIndices"); + this[_text$] = _text; + this[_separatorIndices$] = _separatorIndices; + this[_uriCache$] = _uriCache; + ; +}).prototype = core.UriData.prototype; +dart.addTypeTests(core.UriData); +dart.addTypeCaches(core.UriData); +dart.setMethodSignature(core.UriData, () => ({ + __proto__: dart.getMethods(core.UriData.__proto__), + [_computeUri]: dart.fnType(core.Uri, []), + contentAsBytes: dart.fnType(typed_data.Uint8List, []), + contentAsString: dart.fnType(core.String, [], {encoding: dart.nullable(convert.Encoding)}, {}) +})); +dart.setGetterSignature(core.UriData, () => ({ + __proto__: dart.getGetters(core.UriData.__proto__), + uri: core.Uri, + mimeType: core.String, + charset: core.String, + isBase64: core.bool, + contentText: core.String, + parameters: core.Map$(core.String, core.String) +})); +dart.setLibraryUri(core.UriData, I[8]); +dart.setFieldSignature(core.UriData, () => ({ + __proto__: dart.getFields(core.UriData.__proto__), + [_text$]: dart.finalFieldType(core.String), + [_separatorIndices$]: dart.finalFieldType(core.List$(core.int)), + [_uriCache$]: dart.fieldType(dart.nullable(core.Uri)) +})); +dart.defineExtensionMethods(core.UriData, ['toString']); +dart.defineLazy(core.UriData, { + /*core.UriData._noScheme*/get _noScheme() { + return -1; + }, + /*core.UriData._base64*/get _base64() { + return C[103] || CT.C103; + }, + /*core.UriData._tokenCharTable*/get _tokenCharTable() { + return C[443] || CT.C443; + }, + /*core.UriData._uricTable*/get _uricTable() { + return C[442] || CT.C442; + } +}, false); +var _hashCodeCache = dart.privateName(core, "_hashCodeCache"); +var _uri$ = dart.privateName(core, "_uri"); +var _schemeEnd$ = dart.privateName(core, "_schemeEnd"); +var _hostStart$ = dart.privateName(core, "_hostStart"); +var _portStart$ = dart.privateName(core, "_portStart"); +var _pathStart$ = dart.privateName(core, "_pathStart"); +var _queryStart$ = dart.privateName(core, "_queryStart"); +var _fragmentStart$ = dart.privateName(core, "_fragmentStart"); +var _schemeCache$ = dart.privateName(core, "_schemeCache"); +var _isFile = dart.privateName(core, "_isFile"); +var _isHttp = dart.privateName(core, "_isHttp"); +var _isHttps = dart.privateName(core, "_isHttps"); +var _isPackage = dart.privateName(core, "_isPackage"); +var _isScheme = dart.privateName(core, "_isScheme"); +var _computeScheme = dart.privateName(core, "_computeScheme"); +var _isPort = dart.privateName(core, "_isPort"); +var _simpleMerge = dart.privateName(core, "_simpleMerge"); +var _toNonSimple = dart.privateName(core, "_toNonSimple"); +core._SimpleUri = class _SimpleUri extends core.Object { + get hasScheme() { + return dart.notNull(this[_schemeEnd$]) > 0; + } + get hasAuthority() { + return dart.notNull(this[_hostStart$]) > 0; + } + get hasUserInfo() { + return dart.notNull(this[_hostStart$]) > dart.notNull(this[_schemeEnd$]) + 4; + } + get hasPort() { + return dart.notNull(this[_hostStart$]) > 0 && dart.notNull(this[_portStart$]) + 1 < dart.notNull(this[_pathStart$]); + } + get hasQuery() { + return dart.notNull(this[_queryStart$]) < dart.notNull(this[_fragmentStart$]); + } + get hasFragment() { + return dart.notNull(this[_fragmentStart$]) < this[_uri$].length; + } + get [_isFile]() { + return this[_schemeEnd$] === 4 && this[_uri$][$startsWith]("file"); + } + get [_isHttp]() { + return this[_schemeEnd$] === 4 && this[_uri$][$startsWith]("http"); + } + get [_isHttps]() { + return this[_schemeEnd$] === 5 && this[_uri$][$startsWith]("https"); + } + get [_isPackage]() { + return this[_schemeEnd$] === 7 && this[_uri$][$startsWith]("package"); + } + [_isScheme](scheme) { + if (scheme == null) dart.nullFailed(I[175], 4118, 25, "scheme"); + return this[_schemeEnd$] === scheme.length && this[_uri$][$startsWith](scheme); + } + get hasAbsolutePath() { + return this[_uri$][$startsWith]("/", this[_pathStart$]); + } + get hasEmptyPath() { + return this[_pathStart$] == this[_queryStart$]; + } + get isAbsolute() { + return dart.test(this.hasScheme) && !dart.test(this.hasFragment); + } + isScheme(scheme) { + if (scheme == null) dart.nullFailed(I[175], 4126, 24, "scheme"); + if (scheme == null || scheme[$isEmpty]) return dart.notNull(this[_schemeEnd$]) < 0; + if (scheme.length !== this[_schemeEnd$]) return false; + return core._Uri._compareScheme(scheme, this[_uri$]); + } + get scheme() { + let t258; + t258 = this[_schemeCache$]; + return t258 == null ? this[_schemeCache$] = this[_computeScheme]() : t258; + } + [_computeScheme]() { + if (dart.notNull(this[_schemeEnd$]) <= 0) return ""; + if (dart.test(this[_isHttp])) return "http"; + if (dart.test(this[_isHttps])) return "https"; + if (dart.test(this[_isFile])) return "file"; + if (dart.test(this[_isPackage])) return "package"; + return this[_uri$][$substring](0, this[_schemeEnd$]); + } + get authority() { + return dart.notNull(this[_hostStart$]) > 0 ? this[_uri$][$substring](dart.notNull(this[_schemeEnd$]) + 3, this[_pathStart$]) : ""; + } + get userInfo() { + return dart.notNull(this[_hostStart$]) > dart.notNull(this[_schemeEnd$]) + 3 ? this[_uri$][$substring](dart.notNull(this[_schemeEnd$]) + 3, dart.notNull(this[_hostStart$]) - 1) : ""; + } + get host() { + return dart.notNull(this[_hostStart$]) > 0 ? this[_uri$][$substring](this[_hostStart$], this[_portStart$]) : ""; + } + get port() { + if (dart.test(this.hasPort)) return core.int.parse(this[_uri$][$substring](dart.notNull(this[_portStart$]) + 1, this[_pathStart$])); + if (dart.test(this[_isHttp])) return 80; + if (dart.test(this[_isHttps])) return 443; + return 0; + } + get path() { + return this[_uri$][$substring](this[_pathStart$], this[_queryStart$]); + } + get query() { + return dart.notNull(this[_queryStart$]) < dart.notNull(this[_fragmentStart$]) ? this[_uri$][$substring](dart.notNull(this[_queryStart$]) + 1, this[_fragmentStart$]) : ""; + } + get fragment() { + return dart.notNull(this[_fragmentStart$]) < this[_uri$].length ? this[_uri$][$substring](dart.notNull(this[_fragmentStart$]) + 1) : ""; + } + get origin() { + let isHttp = this[_isHttp]; + if (dart.notNull(this[_schemeEnd$]) < 0) { + dart.throw(new core.StateError.new("Cannot use origin without a scheme: " + dart.str(this))); + } + if (!dart.test(isHttp) && !dart.test(this[_isHttps])) { + dart.throw(new core.StateError.new("Origin is only applicable to schemes http and https: " + dart.str(this))); + } + if (this[_hostStart$] == this[_portStart$]) { + dart.throw(new core.StateError.new("A " + dart.str(this.scheme) + ": URI should have a non-empty host name: " + dart.str(this))); + } + if (this[_hostStart$] === dart.notNull(this[_schemeEnd$]) + 3) { + return this[_uri$][$substring](0, this[_pathStart$]); + } + return this[_uri$][$substring](0, dart.notNull(this[_schemeEnd$]) + 3) + this[_uri$][$substring](this[_hostStart$], this[_pathStart$]); + } + get pathSegments() { + let start = this[_pathStart$]; + let end = this[_queryStart$]; + if (this[_uri$][$startsWith]("/", start)) start = dart.notNull(start) + 1; + if (start == end) return C[404] || CT.C404; + let parts = T$.JSArrayOfString().of([]); + for (let i = start; dart.notNull(i) < dart.notNull(end); i = dart.notNull(i) + 1) { + let char = this[_uri$][$codeUnitAt](i); + if (char === 47) { + parts[$add](this[_uri$][$substring](start, i)); + start = dart.notNull(i) + 1; + } + } + parts[$add](this[_uri$][$substring](start, end)); + return T$.ListOfString().unmodifiable(parts); + } + get queryParameters() { + if (!dart.test(this.hasQuery)) return C[444] || CT.C444; + return new (T$0.UnmodifiableMapViewOfString$String()).new(core.Uri.splitQueryString(this.query)); + } + get queryParametersAll() { + if (!dart.test(this.hasQuery)) return C[430] || CT.C430; + let queryParameterLists = core._Uri._splitQueryStringAll(this.query); + queryParameterLists[$updateAll](C[431] || CT.C431); + return T$0.MapOfString$ListOfString().unmodifiable(queryParameterLists); + } + [_isPort](port) { + if (port == null) dart.nullFailed(I[175], 4218, 23, "port"); + let portDigitStart = dart.notNull(this[_portStart$]) + 1; + return portDigitStart + port.length === this[_pathStart$] && this[_uri$][$startsWith](port, portDigitStart); + } + normalizePath() { + return this; + } + removeFragment() { + if (!dart.test(this.hasFragment)) return this; + return new core._SimpleUri.new(this[_uri$][$substring](0, this[_fragmentStart$]), this[_schemeEnd$], this[_hostStart$], this[_portStart$], this[_pathStart$], this[_queryStart$], this[_fragmentStart$], this[_schemeCache$]); + } + replace(opts) { + let scheme = opts && 'scheme' in opts ? opts.scheme : null; + let userInfo = opts && 'userInfo' in opts ? opts.userInfo : null; + let host = opts && 'host' in opts ? opts.host : null; + let port = opts && 'port' in opts ? opts.port : null; + let path = opts && 'path' in opts ? opts.path : null; + let pathSegments = opts && 'pathSegments' in opts ? opts.pathSegments : null; + let query = opts && 'query' in opts ? opts.query : null; + let queryParameters = opts && 'queryParameters' in opts ? opts.queryParameters : null; + let fragment = opts && 'fragment' in opts ? opts.fragment : null; + let schemeChanged = false; + if (scheme != null) { + scheme = core._Uri._makeScheme(scheme, 0, scheme.length); + schemeChanged = !dart.test(this[_isScheme](scheme)); + } else { + scheme = this.scheme; + } + let isFile = scheme === "file"; + if (userInfo != null) { + userInfo = core._Uri._makeUserInfo(userInfo, 0, userInfo.length); + } else if (dart.notNull(this[_hostStart$]) > 0) { + userInfo = this[_uri$][$substring](dart.notNull(this[_schemeEnd$]) + 3, this[_hostStart$]); + } else { + userInfo = ""; + } + if (port != null) { + port = core._Uri._makePort(port, scheme); + } else { + port = dart.test(this.hasPort) ? this.port : null; + if (schemeChanged) { + port = core._Uri._makePort(port, scheme); + } + } + if (host != null) { + host = core._Uri._makeHost(host, 0, host.length, false); + } else if (dart.notNull(this[_hostStart$]) > 0) { + host = this[_uri$][$substring](this[_hostStart$], this[_portStart$]); + } else if (userInfo[$isNotEmpty] || port != null || isFile) { + host = ""; + } + let hasAuthority = host != null; + if (path != null || pathSegments != null) { + path = core._Uri._makePath(path, 0, core._stringOrNullLength(path), pathSegments, scheme, hasAuthority); + } else { + path = this[_uri$][$substring](this[_pathStart$], this[_queryStart$]); + if ((isFile || hasAuthority && !path[$isEmpty]) && !path[$startsWith]("/")) { + path = "/" + dart.notNull(path); + } + } + if (query != null || queryParameters != null) { + query = core._Uri._makeQuery(query, 0, core._stringOrNullLength(query), queryParameters); + } else if (dart.notNull(this[_queryStart$]) < dart.notNull(this[_fragmentStart$])) { + query = this[_uri$][$substring](dart.notNull(this[_queryStart$]) + 1, this[_fragmentStart$]); + } + if (fragment != null) { + fragment = core._Uri._makeFragment(fragment, 0, fragment.length); + } else if (dart.notNull(this[_fragmentStart$]) < this[_uri$].length) { + fragment = this[_uri$][$substring](dart.notNull(this[_fragmentStart$]) + 1); + } + return new core._Uri._internal(scheme, userInfo, host, port, path, query, fragment); + } + resolve(reference) { + if (reference == null) dart.nullFailed(I[175], 4302, 22, "reference"); + return this.resolveUri(core.Uri.parse(reference)); + } + resolveUri(reference) { + if (reference == null) dart.nullFailed(I[175], 4306, 22, "reference"); + if (core._SimpleUri.is(reference)) { + return this[_simpleMerge](this, reference); + } + return this[_toNonSimple]().resolveUri(reference); + } + static _packageNameEnd(uri) { + if (uri == null) dart.nullFailed(I[175], 4323, 41, "uri"); + if (dart.test(uri[_isPackage]) && !dart.test(uri.hasAuthority)) { + return core._skipPackageNameChars(uri[_uri$], uri[_pathStart$], uri[_queryStart$]); + } + return -1; + } + [_simpleMerge](base, ref) { + if (base == null) dart.nullFailed(I[175], 4337, 31, "base"); + if (ref == null) dart.nullFailed(I[175], 4337, 48, "ref"); + if (dart.test(ref.hasScheme)) return ref; + if (dart.test(ref.hasAuthority)) { + if (!dart.test(base.hasScheme)) return ref; + let isSimple = true; + if (dart.test(base[_isFile])) { + isSimple = !dart.test(ref.hasEmptyPath); + } else if (dart.test(base[_isHttp])) { + isSimple = !dart.test(ref[_isPort]("80")); + } else if (dart.test(base[_isHttps])) { + isSimple = !dart.test(ref[_isPort]("443")); + } + if (isSimple) { + let delta = dart.notNull(base[_schemeEnd$]) + 1; + let newUri = base[_uri$][$substring](0, dart.notNull(base[_schemeEnd$]) + 1) + ref[_uri$][$substring](dart.notNull(ref[_schemeEnd$]) + 1); + return new core._SimpleUri.new(newUri, base[_schemeEnd$], dart.notNull(ref[_hostStart$]) + delta, dart.notNull(ref[_portStart$]) + delta, dart.notNull(ref[_pathStart$]) + delta, dart.notNull(ref[_queryStart$]) + delta, dart.notNull(ref[_fragmentStart$]) + delta, base[_schemeCache$]); + } else { + return this[_toNonSimple]().resolveUri(ref); + } + } + if (dart.test(ref.hasEmptyPath)) { + if (dart.test(ref.hasQuery)) { + let delta = dart.notNull(base[_queryStart$]) - dart.notNull(ref[_queryStart$]); + let newUri = base[_uri$][$substring](0, base[_queryStart$]) + ref[_uri$][$substring](ref[_queryStart$]); + return new core._SimpleUri.new(newUri, base[_schemeEnd$], base[_hostStart$], base[_portStart$], base[_pathStart$], dart.notNull(ref[_queryStart$]) + delta, dart.notNull(ref[_fragmentStart$]) + delta, base[_schemeCache$]); + } + if (dart.test(ref.hasFragment)) { + let delta = dart.notNull(base[_fragmentStart$]) - dart.notNull(ref[_fragmentStart$]); + let newUri = base[_uri$][$substring](0, base[_fragmentStart$]) + ref[_uri$][$substring](ref[_fragmentStart$]); + return new core._SimpleUri.new(newUri, base[_schemeEnd$], base[_hostStart$], base[_portStart$], base[_pathStart$], base[_queryStart$], dart.notNull(ref[_fragmentStart$]) + delta, base[_schemeCache$]); + } + return base.removeFragment(); + } + if (dart.test(ref.hasAbsolutePath)) { + let basePathStart = base[_pathStart$]; + let packageNameEnd = core._SimpleUri._packageNameEnd(this); + if (dart.notNull(packageNameEnd) > 0) basePathStart = packageNameEnd; + let delta = dart.notNull(basePathStart) - dart.notNull(ref[_pathStart$]); + let newUri = base[_uri$][$substring](0, basePathStart) + ref[_uri$][$substring](ref[_pathStart$]); + return new core._SimpleUri.new(newUri, base[_schemeEnd$], base[_hostStart$], base[_portStart$], base[_pathStart$], dart.notNull(ref[_queryStart$]) + delta, dart.notNull(ref[_fragmentStart$]) + delta, base[_schemeCache$]); + } + if (dart.test(base.hasEmptyPath) && dart.test(base.hasAuthority)) { + let refStart = ref[_pathStart$]; + while (ref[_uri$][$startsWith]("../", refStart)) { + refStart = dart.notNull(refStart) + 3; + } + let delta = dart.notNull(base[_pathStart$]) - dart.notNull(refStart) + 1; + let newUri = base[_uri$][$substring](0, base[_pathStart$]) + "/" + ref[_uri$][$substring](refStart); + return new core._SimpleUri.new(newUri, base[_schemeEnd$], base[_hostStart$], base[_portStart$], base[_pathStart$], dart.notNull(ref[_queryStart$]) + delta, dart.notNull(ref[_fragmentStart$]) + delta, base[_schemeCache$]); + } + let baseUri = base[_uri$]; + let refUri = ref[_uri$]; + let baseStart = base[_pathStart$]; + let baseEnd = base[_queryStart$]; + let packageNameEnd = core._SimpleUri._packageNameEnd(this); + if (dart.notNull(packageNameEnd) >= 0) { + baseStart = packageNameEnd; + } else { + while (baseUri[$startsWith]("../", baseStart)) + baseStart = dart.notNull(baseStart) + 3; + } + let refStart = ref[_pathStart$]; + let refEnd = ref[_queryStart$]; + let backCount = 0; + while (dart.notNull(refStart) + 3 <= dart.notNull(refEnd) && refUri[$startsWith]("../", refStart)) { + refStart = dart.notNull(refStart) + 3; + backCount = backCount + 1; + } + let insert = ""; + while (dart.notNull(baseEnd) > dart.notNull(baseStart)) { + baseEnd = dart.notNull(baseEnd) - 1; + let char = baseUri[$codeUnitAt](baseEnd); + if (char === 47) { + insert = "/"; + if (backCount === 0) break; + backCount = backCount - 1; + } + } + if (baseEnd == baseStart && !dart.test(base.hasScheme) && !dart.test(base.hasAbsolutePath)) { + insert = ""; + refStart = dart.notNull(refStart) - backCount * 3; + } + let delta = dart.notNull(baseEnd) - dart.notNull(refStart) + insert.length; + let newUri = base[_uri$][$substring](0, baseEnd) + insert + ref[_uri$][$substring](refStart); + return new core._SimpleUri.new(newUri, base[_schemeEnd$], base[_hostStart$], base[_portStart$], base[_pathStart$], dart.notNull(ref[_queryStart$]) + delta, dart.notNull(ref[_fragmentStart$]) + delta, base[_schemeCache$]); + } + toFilePath(opts) { + let t258; + let windows = opts && 'windows' in opts ? opts.windows : null; + if (dart.notNull(this[_schemeEnd$]) >= 0 && !dart.test(this[_isFile])) { + dart.throw(new core.UnsupportedError.new("Cannot extract a file path from a " + dart.str(this.scheme) + " URI")); + } + if (dart.notNull(this[_queryStart$]) < this[_uri$].length) { + if (dart.notNull(this[_queryStart$]) < dart.notNull(this[_fragmentStart$])) { + dart.throw(new core.UnsupportedError.new("Cannot extract a file path from a URI with a query component")); + } + dart.throw(new core.UnsupportedError.new("Cannot extract a file path from a URI with a fragment component")); + } + return dart.test((t258 = windows, t258 == null ? core._Uri._isWindows : t258)) ? core._Uri._toWindowsFilePath(this) : this[_toFilePath](); + } + [_toFilePath]() { + if (dart.notNull(this[_hostStart$]) < dart.notNull(this[_portStart$])) { + dart.throw(new core.UnsupportedError.new("Cannot extract a non-Windows file path from a file URI " + "with an authority")); + } + return this.path; + } + get data() { + if (!(this.scheme !== "data")) dart.assertFailed(null, I[175], 4548, 12, "scheme != \"data\""); + return null; + } + get hashCode() { + let t258; + t258 = this[_hashCodeCache]; + return t258 == null ? this[_hashCodeCache] = dart.hashCode(this[_uri$]) : t258; + } + _equals(other) { + if (other == null) return false; + if (this === other) return true; + return core.Uri.is(other) && this[_uri$] == dart.toString(other); + } + [_toNonSimple]() { + return new core._Uri._internal(this.scheme, this.userInfo, dart.test(this.hasAuthority) ? this.host : null, dart.test(this.hasPort) ? this.port : null, this.path, dart.test(this.hasQuery) ? this.query : null, dart.test(this.hasFragment) ? this.fragment : null); + } + toString() { + return this[_uri$]; + } +}; +(core._SimpleUri.new = function(_uri, _schemeEnd, _hostStart, _portStart, _pathStart, _queryStart, _fragmentStart, _schemeCache) { + if (_uri == null) dart.nullFailed(I[175], 4096, 12, "_uri"); + if (_schemeEnd == null) dart.nullFailed(I[175], 4097, 12, "_schemeEnd"); + if (_hostStart == null) dart.nullFailed(I[175], 4098, 12, "_hostStart"); + if (_portStart == null) dart.nullFailed(I[175], 4099, 12, "_portStart"); + if (_pathStart == null) dart.nullFailed(I[175], 4100, 12, "_pathStart"); + if (_queryStart == null) dart.nullFailed(I[175], 4101, 12, "_queryStart"); + if (_fragmentStart == null) dart.nullFailed(I[175], 4102, 12, "_fragmentStart"); + this[_hashCodeCache] = null; + this[_uri$] = _uri; + this[_schemeEnd$] = _schemeEnd; + this[_hostStart$] = _hostStart; + this[_portStart$] = _portStart; + this[_pathStart$] = _pathStart; + this[_queryStart$] = _queryStart; + this[_fragmentStart$] = _fragmentStart; + this[_schemeCache$] = _schemeCache; + ; +}).prototype = core._SimpleUri.prototype; +dart.addTypeTests(core._SimpleUri); +dart.addTypeCaches(core._SimpleUri); +core._SimpleUri[dart.implements] = () => [core.Uri]; +dart.setMethodSignature(core._SimpleUri, () => ({ + __proto__: dart.getMethods(core._SimpleUri.__proto__), + [_isScheme]: dart.fnType(core.bool, [core.String]), + isScheme: dart.fnType(core.bool, [core.String]), + [_computeScheme]: dart.fnType(core.String, []), + [_isPort]: dart.fnType(core.bool, [core.String]), + normalizePath: dart.fnType(core.Uri, []), + removeFragment: dart.fnType(core.Uri, []), + replace: dart.fnType(core.Uri, [], {fragment: dart.nullable(core.String), host: dart.nullable(core.String), path: dart.nullable(core.String), pathSegments: dart.nullable(core.Iterable$(core.String)), port: dart.nullable(core.int), query: dart.nullable(core.String), queryParameters: dart.nullable(core.Map$(core.String, dart.dynamic)), scheme: dart.nullable(core.String), userInfo: dart.nullable(core.String)}, {}), + resolve: dart.fnType(core.Uri, [core.String]), + resolveUri: dart.fnType(core.Uri, [core.Uri]), + [_simpleMerge]: dart.fnType(core.Uri, [core._SimpleUri, core._SimpleUri]), + toFilePath: dart.fnType(core.String, [], {windows: dart.nullable(core.bool)}, {}), + [_toFilePath]: dart.fnType(core.String, []), + [_toNonSimple]: dart.fnType(core.Uri, []) +})); +dart.setGetterSignature(core._SimpleUri, () => ({ + __proto__: dart.getGetters(core._SimpleUri.__proto__), + hasScheme: core.bool, + hasAuthority: core.bool, + hasUserInfo: core.bool, + hasPort: core.bool, + hasQuery: core.bool, + hasFragment: core.bool, + [_isFile]: core.bool, + [_isHttp]: core.bool, + [_isHttps]: core.bool, + [_isPackage]: core.bool, + hasAbsolutePath: core.bool, + hasEmptyPath: core.bool, + isAbsolute: core.bool, + scheme: core.String, + authority: core.String, + userInfo: core.String, + host: core.String, + port: core.int, + path: core.String, + query: core.String, + fragment: core.String, + origin: core.String, + pathSegments: core.List$(core.String), + queryParameters: core.Map$(core.String, core.String), + queryParametersAll: core.Map$(core.String, core.List$(core.String)), + data: dart.nullable(core.UriData) +})); +dart.setLibraryUri(core._SimpleUri, I[8]); +dart.setFieldSignature(core._SimpleUri, () => ({ + __proto__: dart.getFields(core._SimpleUri.__proto__), + [_uri$]: dart.finalFieldType(core.String), + [_schemeEnd$]: dart.finalFieldType(core.int), + [_hostStart$]: dart.finalFieldType(core.int), + [_portStart$]: dart.finalFieldType(core.int), + [_pathStart$]: dart.finalFieldType(core.int), + [_queryStart$]: dart.finalFieldType(core.int), + [_fragmentStart$]: dart.finalFieldType(core.int), + [_schemeCache$]: dart.fieldType(dart.nullable(core.String)), + [_hashCodeCache]: dart.fieldType(dart.nullable(core.int)) +})); +dart.defineExtensionMethods(core._SimpleUri, ['_equals', 'toString']); +dart.defineExtensionAccessors(core._SimpleUri, ['hashCode']); +var _data$0 = dart.privateName(core, "_data"); +core._DataUri = class _DataUri extends core._Uri { + get data() { + return this[_data$0]; + } +}; +(core._DataUri.new = function(_data, path, query) { + if (_data == null) dart.nullFailed(I[175], 4577, 17, "_data"); + if (path == null) dart.nullFailed(I[175], 4577, 31, "path"); + this[_data$0] = _data; + core._DataUri.__proto__._internal.call(this, "data", "", null, null, path, query, null); + ; +}).prototype = core._DataUri.prototype; +dart.addTypeTests(core._DataUri); +dart.addTypeCaches(core._DataUri); +dart.setLibraryUri(core._DataUri, I[8]); +dart.setFieldSignature(core._DataUri, () => ({ + __proto__: dart.getFields(core._DataUri.__proto__), + [_data$0]: dart.finalFieldType(core.UriData) +})); +core._symbolToString = function _symbolToString(symbol) { + if (symbol == null) dart.nullFailed(I[7], 29, 31, "symbol"); + return _js_helper.PrivateSymbol.is(symbol) ? _js_helper.PrivateSymbol.getName(symbol) : _internal.Symbol.getName(_internal.Symbol.as(symbol)); +}; +core._max = function _max(a, b) { + if (a == null) dart.nullFailed(I[7], 933, 14, "a"); + if (b == null) dart.nullFailed(I[7], 933, 21, "b"); + return dart.notNull(a) > dart.notNull(b) ? a : b; +}; +core._min = function _min(a, b) { + if (a == null) dart.nullFailed(I[7], 934, 14, "a"); + if (b == null) dart.nullFailed(I[7], 934, 21, "b"); + return dart.notNull(a) < dart.notNull(b) ? a : b; +}; +core.identical = function identical(a, b) { + return a == null ? b == null : a === b; +}; +core.identityHashCode = function identityHashCode(object) { + if (object == null) return 0; + let hash = object[dart.identityHashCode_]; + if (hash == null) { + hash = Math.random() * 0x3fffffff | 0; + object[dart.identityHashCode_] = hash; + } + return hash; +}; +core.print = function print$0(object) { + let line = dart.toString(object); + let toZone = _internal.printToZone; + if (toZone == null) { + _internal.printToConsole(line); + } else { + toZone(line); + } +}; +core._isLeadSurrogate = function _isLeadSurrogate$(code) { + if (code == null) dart.nullFailed(I[174], 625, 27, "code"); + return (dart.notNull(code) & 64512) === 55296; +}; +core._isTrailSurrogate = function _isTrailSurrogate(code) { + if (code == null) dart.nullFailed(I[174], 628, 28, "code"); + return (dart.notNull(code) & 64512) === 56320; +}; +core._combineSurrogatePair = function _combineSurrogatePair$(start, end) { + if (start == null) dart.nullFailed(I[174], 631, 31, "start"); + if (end == null) dart.nullFailed(I[174], 631, 42, "end"); + return 65536 + ((dart.notNull(start) & 1023) << 10) + (dart.notNull(end) & 1023); +}; +core._createTables = function _createTables() { + let unreserved = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-._~"; + let pchar = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-._~!$&'()*+,;="; + let tables = T$0.ListOfUint8List().generate(22, dart.fn(_ => { + if (_ == null) dart.nullFailed(I[175], 3872, 54, "_"); + return _native_typed_data.NativeUint8List.new(96); + }, T$0.intToUint8List())); + function build(state, defaultTransition) { + let t258; + t258 = tables[$_get](core.int.as(state)); + return (() => { + t258[$fillRange](0, 96, T$.intN().as(defaultTransition)); + return t258; + })(); + } + dart.fn(build, T$0.dynamicAnddynamicToUint8List()); + function setChars(target, chars, transition) { + if (target == null) dart.nullFailed(I[175], 3883, 27, "target"); + if (chars == null) dart.nullFailed(I[175], 3883, 42, "chars"); + if (transition == null) dart.nullFailed(I[175], 3883, 53, "transition"); + for (let i = 0; i < chars.length; i = i + 1) { + let char = chars[$codeUnitAt](i); + target[$_set]((char ^ 96) >>> 0, transition); + } + } + dart.fn(setChars, T$0.Uint8ListAndStringAndintTovoid()); + function setRange(target, range, transition) { + if (target == null) dart.nullFailed(I[175], 3896, 27, "target"); + if (range == null) dart.nullFailed(I[175], 3896, 42, "range"); + if (transition == null) dart.nullFailed(I[175], 3896, 53, "transition"); + for (let i = range[$codeUnitAt](0), n = range[$codeUnitAt](1); i <= n; i = i + 1) { + target[$_set]((i ^ 96) >>> 0, transition); + } + } + dart.fn(setRange, T$0.Uint8ListAndStringAndintTovoid()); + let b = null; + b = build(0, (1 | 224) >>> 0); + setChars(typed_data.Uint8List.as(b), pchar, 1); + setChars(typed_data.Uint8List.as(b), ".", 14); + setChars(typed_data.Uint8List.as(b), ":", (2 | 32) >>> 0); + setChars(typed_data.Uint8List.as(b), "/", 3); + setChars(typed_data.Uint8List.as(b), "?", (12 | 160) >>> 0); + setChars(typed_data.Uint8List.as(b), "#", (13 | 192) >>> 0); + b = build(14, (1 | 224) >>> 0); + setChars(typed_data.Uint8List.as(b), pchar, 1); + setChars(typed_data.Uint8List.as(b), ".", 15); + setChars(typed_data.Uint8List.as(b), ":", (2 | 32) >>> 0); + setChars(typed_data.Uint8List.as(b), "/", (10 | 224) >>> 0); + setChars(typed_data.Uint8List.as(b), "?", (12 | 160) >>> 0); + setChars(typed_data.Uint8List.as(b), "#", (13 | 192) >>> 0); + b = build(15, (1 | 224) >>> 0); + setChars(typed_data.Uint8List.as(b), pchar, 1); + setChars(typed_data.Uint8List.as(b), "%", (1 | 224) >>> 0); + setChars(typed_data.Uint8List.as(b), ":", (2 | 32) >>> 0); + setChars(typed_data.Uint8List.as(b), "/", 9); + setChars(typed_data.Uint8List.as(b), "?", (12 | 160) >>> 0); + setChars(typed_data.Uint8List.as(b), "#", (13 | 192) >>> 0); + b = build(1, (1 | 224) >>> 0); + setChars(typed_data.Uint8List.as(b), pchar, 1); + setChars(typed_data.Uint8List.as(b), ":", (2 | 32) >>> 0); + setChars(typed_data.Uint8List.as(b), "/", 10); + setChars(typed_data.Uint8List.as(b), "?", (12 | 160) >>> 0); + setChars(typed_data.Uint8List.as(b), "#", (13 | 192) >>> 0); + b = build(2, (11 | 224) >>> 0); + setChars(typed_data.Uint8List.as(b), pchar, (11 | 128) >>> 0); + setChars(typed_data.Uint8List.as(b), "/", (3 | 128) >>> 0); + setChars(typed_data.Uint8List.as(b), ".", (18 | 128) >>> 0); + setChars(typed_data.Uint8List.as(b), "?", (12 | 160) >>> 0); + setChars(typed_data.Uint8List.as(b), "#", (13 | 192) >>> 0); + b = build(3, (11 | 224) >>> 0); + setChars(typed_data.Uint8List.as(b), pchar, 11); + setChars(typed_data.Uint8List.as(b), "/", (4 | 64) >>> 0); + setChars(typed_data.Uint8List.as(b), ".", 18); + setChars(typed_data.Uint8List.as(b), "?", (12 | 160) >>> 0); + setChars(typed_data.Uint8List.as(b), "#", (13 | 192) >>> 0); + b = build(4, (5 | 224) >>> 0); + setChars(typed_data.Uint8List.as(b), pchar, 5); + setRange(typed_data.Uint8List.as(b), "AZ", (5 | 224) >>> 0); + setChars(typed_data.Uint8List.as(b), ":", (6 | 96) >>> 0); + setChars(typed_data.Uint8List.as(b), "@", (4 | 64) >>> 0); + setChars(typed_data.Uint8List.as(b), "[", (8 | 224) >>> 0); + setChars(typed_data.Uint8List.as(b), "/", (10 | 128) >>> 0); + setChars(typed_data.Uint8List.as(b), "?", (12 | 160) >>> 0); + setChars(typed_data.Uint8List.as(b), "#", (13 | 192) >>> 0); + b = build(5, (5 | 224) >>> 0); + setChars(typed_data.Uint8List.as(b), pchar, 5); + setRange(typed_data.Uint8List.as(b), "AZ", (5 | 224) >>> 0); + setChars(typed_data.Uint8List.as(b), ":", (6 | 96) >>> 0); + setChars(typed_data.Uint8List.as(b), "@", (4 | 64) >>> 0); + setChars(typed_data.Uint8List.as(b), "/", (10 | 128) >>> 0); + setChars(typed_data.Uint8List.as(b), "?", (12 | 160) >>> 0); + setChars(typed_data.Uint8List.as(b), "#", (13 | 192) >>> 0); + b = build(6, (7 | 224) >>> 0); + setRange(typed_data.Uint8List.as(b), "19", 7); + setChars(typed_data.Uint8List.as(b), "@", (4 | 64) >>> 0); + setChars(typed_data.Uint8List.as(b), "/", (10 | 128) >>> 0); + setChars(typed_data.Uint8List.as(b), "?", (12 | 160) >>> 0); + setChars(typed_data.Uint8List.as(b), "#", (13 | 192) >>> 0); + b = build(7, (7 | 224) >>> 0); + setRange(typed_data.Uint8List.as(b), "09", 7); + setChars(typed_data.Uint8List.as(b), "@", (4 | 64) >>> 0); + setChars(typed_data.Uint8List.as(b), "/", (10 | 128) >>> 0); + setChars(typed_data.Uint8List.as(b), "?", (12 | 160) >>> 0); + setChars(typed_data.Uint8List.as(b), "#", (13 | 192) >>> 0); + b = build(8, 8); + setChars(typed_data.Uint8List.as(b), "]", 5); + b = build(9, (11 | 224) >>> 0); + setChars(typed_data.Uint8List.as(b), pchar, 11); + setChars(typed_data.Uint8List.as(b), ".", 16); + setChars(typed_data.Uint8List.as(b), "/", (10 | 224) >>> 0); + setChars(typed_data.Uint8List.as(b), "?", (12 | 160) >>> 0); + setChars(typed_data.Uint8List.as(b), "#", (13 | 192) >>> 0); + b = build(16, (11 | 224) >>> 0); + setChars(typed_data.Uint8List.as(b), pchar, 11); + setChars(typed_data.Uint8List.as(b), ".", 17); + setChars(typed_data.Uint8List.as(b), "/", (10 | 224) >>> 0); + setChars(typed_data.Uint8List.as(b), "?", (12 | 160) >>> 0); + setChars(typed_data.Uint8List.as(b), "#", (13 | 192) >>> 0); + b = build(17, (11 | 224) >>> 0); + setChars(typed_data.Uint8List.as(b), pchar, 11); + setChars(typed_data.Uint8List.as(b), "/", 9); + setChars(typed_data.Uint8List.as(b), "?", (12 | 160) >>> 0); + setChars(typed_data.Uint8List.as(b), "#", (13 | 192) >>> 0); + b = build(10, (11 | 224) >>> 0); + setChars(typed_data.Uint8List.as(b), pchar, 11); + setChars(typed_data.Uint8List.as(b), ".", 18); + setChars(typed_data.Uint8List.as(b), "/", (10 | 224) >>> 0); + setChars(typed_data.Uint8List.as(b), "?", (12 | 160) >>> 0); + setChars(typed_data.Uint8List.as(b), "#", (13 | 192) >>> 0); + b = build(18, (11 | 224) >>> 0); + setChars(typed_data.Uint8List.as(b), pchar, 11); + setChars(typed_data.Uint8List.as(b), ".", 19); + setChars(typed_data.Uint8List.as(b), "/", (10 | 224) >>> 0); + setChars(typed_data.Uint8List.as(b), "?", (12 | 160) >>> 0); + setChars(typed_data.Uint8List.as(b), "#", (13 | 192) >>> 0); + b = build(19, (11 | 224) >>> 0); + setChars(typed_data.Uint8List.as(b), pchar, 11); + setChars(typed_data.Uint8List.as(b), "/", (10 | 224) >>> 0); + setChars(typed_data.Uint8List.as(b), "?", (12 | 160) >>> 0); + setChars(typed_data.Uint8List.as(b), "#", (13 | 192) >>> 0); + b = build(11, (11 | 224) >>> 0); + setChars(typed_data.Uint8List.as(b), pchar, 11); + setChars(typed_data.Uint8List.as(b), "/", 10); + setChars(typed_data.Uint8List.as(b), "?", (12 | 160) >>> 0); + setChars(typed_data.Uint8List.as(b), "#", (13 | 192) >>> 0); + b = build(12, (12 | 224) >>> 0); + setChars(typed_data.Uint8List.as(b), pchar, 12); + setChars(typed_data.Uint8List.as(b), "?", 12); + setChars(typed_data.Uint8List.as(b), "#", (13 | 192) >>> 0); + b = build(13, (13 | 224) >>> 0); + setChars(typed_data.Uint8List.as(b), pchar, 13); + setChars(typed_data.Uint8List.as(b), "?", 13); + b = build(20, (21 | 224) >>> 0); + setRange(typed_data.Uint8List.as(b), "az", 21); + b = build(21, (21 | 224) >>> 0); + setRange(typed_data.Uint8List.as(b), "az", 21); + setRange(typed_data.Uint8List.as(b), "09", 21); + setChars(typed_data.Uint8List.as(b), "+-.", 21); + return tables; +}; +core._scan = function _scan(uri, start, end, state, indices) { + if (uri == null) dart.nullFailed(I[175], 4064, 18, "uri"); + if (start == null) dart.nullFailed(I[175], 4064, 27, "start"); + if (end == null) dart.nullFailed(I[175], 4064, 38, "end"); + if (state == null) dart.nullFailed(I[175], 4064, 47, "state"); + if (indices == null) dart.nullFailed(I[175], 4064, 64, "indices"); + let tables = core._scannerTables; + if (!(dart.notNull(end) <= uri.length)) dart.assertFailed(null, I[175], 4066, 10, "end <= uri.length"); + for (let i = start; dart.notNull(i) < dart.notNull(end); i = dart.notNull(i) + 1) { + let table = tables[$_get](state); + let char = (uri[$codeUnitAt](i) ^ 96) >>> 0; + if (char > 95) char = 31; + let transition = table[$_get](char); + state = dart.notNull(transition) & 31; + indices[$_set](transition[$rightShift](5), i); + } + return state; +}; +core._startsWithData = function _startsWithData(text, start) { + if (text == null) dart.nullFailed(I[175], 4591, 28, "text"); + if (start == null) dart.nullFailed(I[175], 4591, 38, "start"); + let delta = ((text[$codeUnitAt](dart.notNull(start) + 4) ^ 58) >>> 0) * 3; + delta = (delta | (text[$codeUnitAt](start) ^ 100) >>> 0) >>> 0; + delta = (delta | (text[$codeUnitAt](dart.notNull(start) + 1) ^ 97) >>> 0) >>> 0; + delta = (delta | (text[$codeUnitAt](dart.notNull(start) + 2) ^ 116) >>> 0) >>> 0; + delta = (delta | (text[$codeUnitAt](dart.notNull(start) + 3) ^ 97) >>> 0) >>> 0; + return delta; +}; +core._stringOrNullLength = function _stringOrNullLength(s) { + return s == null ? 0 : s.length; +}; +core._toUnmodifiableStringList = function _toUnmodifiableStringList(key, list) { + if (key == null) dart.nullFailed(I[175], 4604, 47, "key"); + if (list == null) dart.nullFailed(I[175], 4604, 65, "list"); + return T$.ListOfString().unmodifiable(list); +}; +core._skipPackageNameChars = function _skipPackageNameChars(source, start, end) { + if (source == null) dart.nullFailed(I[175], 4616, 34, "source"); + if (start == null) dart.nullFailed(I[175], 4616, 46, "start"); + if (end == null) dart.nullFailed(I[175], 4616, 57, "end"); + let dots = 0; + for (let i = start; dart.notNull(i) < dart.notNull(end); i = dart.notNull(i) + 1) { + let char = source[$codeUnitAt](i); + if (char === 47) return dots !== 0 ? i : -1; + if (char === 37 || char === 58) return -1; + dots = (dots | (char ^ 46) >>> 0) >>> 0; + } + return -1; +}; +dart.defineLazy(core, { + /*core._dummyList*/get _dummyList() { + return _native_typed_data.NativeUint16List.new(0); + }, + /*core.deprecated*/get deprecated() { + return C[445] || CT.C445; + }, + /*core.override*/get override() { + return C[446] || CT.C446; + }, + /*core.provisional*/get provisional() { + return null; + }, + /*core.proxy*/get proxy() { + return null; + }, + /*core._SPACE*/get _SPACE() { + return 32; + }, + /*core._PERCENT*/get _PERCENT() { + return 37; + }, + /*core._AMPERSAND*/get _AMPERSAND() { + return 38; + }, + /*core._PLUS*/get _PLUS() { + return 43; + }, + /*core._DOT*/get _DOT() { + return 46; + }, + /*core._SLASH*/get _SLASH() { + return 47; + }, + /*core._COLON*/get _COLON() { + return 58; + }, + /*core._EQUALS*/get _EQUALS() { + return 61; + }, + /*core._UPPER_CASE_A*/get _UPPER_CASE_A() { + return 65; + }, + /*core._UPPER_CASE_Z*/get _UPPER_CASE_Z() { + return 90; + }, + /*core._LEFT_BRACKET*/get _LEFT_BRACKET() { + return 91; + }, + /*core._BACKSLASH*/get _BACKSLASH() { + return 92; + }, + /*core._RIGHT_BRACKET*/get _RIGHT_BRACKET() { + return 93; + }, + /*core._LOWER_CASE_A*/get _LOWER_CASE_A() { + return 97; + }, + /*core._LOWER_CASE_F*/get _LOWER_CASE_F() { + return 102; + }, + /*core._LOWER_CASE_Z*/get _LOWER_CASE_Z() { + return 122; + }, + /*core._hexDigits*/get _hexDigits() { + return "0123456789ABCDEF"; + }, + /*core._schemeEndIndex*/get _schemeEndIndex() { + return 1; + }, + /*core._hostStartIndex*/get _hostStartIndex() { + return 2; + }, + /*core._portStartIndex*/get _portStartIndex() { + return 3; + }, + /*core._pathStartIndex*/get _pathStartIndex() { + return 4; + }, + /*core._queryStartIndex*/get _queryStartIndex() { + return 5; + }, + /*core._fragmentStartIndex*/get _fragmentStartIndex() { + return 6; + }, + /*core._notSimpleIndex*/get _notSimpleIndex() { + return 7; + }, + /*core._uriStart*/get _uriStart() { + return 0; + }, + /*core._nonSimpleEndStates*/get _nonSimpleEndStates() { + return 14; + }, + /*core._schemeStart*/get _schemeStart() { + return 20; + }, + /*core._scannerTables*/get _scannerTables() { + return core._createTables(); + } +}, false); +var serverHeader = dart.privateName(_http, "HttpServer.serverHeader"); +var autoCompress = dart.privateName(_http, "HttpServer.autoCompress"); +var idleTimeout = dart.privateName(_http, "HttpServer.idleTimeout"); +_http.HttpServer = class HttpServer extends core.Object { + get serverHeader() { + return this[serverHeader]; + } + set serverHeader(value) { + this[serverHeader] = value; + } + get autoCompress() { + return this[autoCompress]; + } + set autoCompress(value) { + this[autoCompress] = value; + } + get idleTimeout() { + return this[idleTimeout]; + } + set idleTimeout(value) { + this[idleTimeout] = value; + } + static bind(address, port, opts) { + if (port == null) dart.nullFailed(I[176], 227, 47, "port"); + let backlog = opts && 'backlog' in opts ? opts.backlog : 0; + if (backlog == null) dart.nullFailed(I[176], 228, 16, "backlog"); + let v6Only = opts && 'v6Only' in opts ? opts.v6Only : false; + if (v6Only == null) dart.nullFailed(I[176], 228, 34, "v6Only"); + let shared = opts && 'shared' in opts ? opts.shared : false; + if (shared == null) dart.nullFailed(I[176], 228, 55, "shared"); + return _http._HttpServer.bind(address, port, backlog, v6Only, shared); + } + static bindSecure(address, port, context, opts) { + if (port == null) dart.nullFailed(I[176], 272, 24, "port"); + if (context == null) dart.nullFailed(I[176], 272, 46, "context"); + let backlog = opts && 'backlog' in opts ? opts.backlog : 0; + if (backlog == null) dart.nullFailed(I[176], 273, 16, "backlog"); + let v6Only = opts && 'v6Only' in opts ? opts.v6Only : false; + if (v6Only == null) dart.nullFailed(I[176], 274, 16, "v6Only"); + let requestClientCertificate = opts && 'requestClientCertificate' in opts ? opts.requestClientCertificate : false; + if (requestClientCertificate == null) dart.nullFailed(I[176], 275, 16, "requestClientCertificate"); + let shared = opts && 'shared' in opts ? opts.shared : false; + if (shared == null) dart.nullFailed(I[176], 276, 16, "shared"); + return _http._HttpServer.bindSecure(address, port, context, backlog, v6Only, requestClientCertificate, shared); + } + static listenOn(serverSocket) { + if (serverSocket == null) dart.nullFailed(I[176], 285, 44, "serverSocket"); + return new _http._HttpServer.listenOn(serverSocket); + } +}; +(_http.HttpServer[dart.mixinNew] = function() { + this[serverHeader] = null; + this[autoCompress] = false; + this[idleTimeout] = C[447] || CT.C447; +}).prototype = _http.HttpServer.prototype; +_http.HttpServer.prototype[dart.isStream] = true; +dart.addTypeTests(_http.HttpServer); +dart.addTypeCaches(_http.HttpServer); +_http.HttpServer[dart.implements] = () => [async.Stream$(_http.HttpRequest)]; +dart.setLibraryUri(_http.HttpServer, I[177]); +dart.setFieldSignature(_http.HttpServer, () => ({ + __proto__: dart.getFields(_http.HttpServer.__proto__), + serverHeader: dart.fieldType(dart.nullable(core.String)), + autoCompress: dart.fieldType(core.bool), + idleTimeout: dart.fieldType(dart.nullable(core.Duration)) +})); +var total = dart.privateName(_http, "HttpConnectionsInfo.total"); +var active = dart.privateName(_http, "HttpConnectionsInfo.active"); +var idle = dart.privateName(_http, "HttpConnectionsInfo.idle"); +var closing = dart.privateName(_http, "HttpConnectionsInfo.closing"); +_http.HttpConnectionsInfo = class HttpConnectionsInfo extends core.Object { + get total() { + return this[total]; + } + set total(value) { + this[total] = value; + } + get active() { + return this[active]; + } + set active(value) { + this[active] = value; + } + get idle() { + return this[idle]; + } + set idle(value) { + this[idle] = value; + } + get closing() { + return this[closing]; + } + set closing(value) { + this[closing] = value; + } +}; +(_http.HttpConnectionsInfo.new = function() { + this[total] = 0; + this[active] = 0; + this[idle] = 0; + this[closing] = 0; + ; +}).prototype = _http.HttpConnectionsInfo.prototype; +dart.addTypeTests(_http.HttpConnectionsInfo); +dart.addTypeCaches(_http.HttpConnectionsInfo); +dart.setLibraryUri(_http.HttpConnectionsInfo, I[177]); +dart.setFieldSignature(_http.HttpConnectionsInfo, () => ({ + __proto__: dart.getFields(_http.HttpConnectionsInfo.__proto__), + total: dart.fieldType(core.int), + active: dart.fieldType(core.int), + idle: dart.fieldType(core.int), + closing: dart.fieldType(core.int) +})); +var date = dart.privateName(_http, "HttpHeaders.date"); +var expires = dart.privateName(_http, "HttpHeaders.expires"); +var ifModifiedSince = dart.privateName(_http, "HttpHeaders.ifModifiedSince"); +var host = dart.privateName(_http, "HttpHeaders.host"); +var port = dart.privateName(_http, "HttpHeaders.port"); +var contentType = dart.privateName(_http, "HttpHeaders.contentType"); +var contentLength = dart.privateName(_http, "HttpHeaders.contentLength"); +var __HttpHeaders_persistentConnection = dart.privateName(_http, "_#HttpHeaders#persistentConnection"); +var __HttpHeaders_persistentConnection_isSet = dart.privateName(_http, "_#HttpHeaders#persistentConnection#isSet"); +var __HttpHeaders_chunkedTransferEncoding = dart.privateName(_http, "_#HttpHeaders#chunkedTransferEncoding"); +var __HttpHeaders_chunkedTransferEncoding_isSet = dart.privateName(_http, "_#HttpHeaders#chunkedTransferEncoding#isSet"); +_http.HttpHeaders = class HttpHeaders extends core.Object { + get date() { + return this[date]; + } + set date(value) { + this[date] = value; + } + get expires() { + return this[expires]; + } + set expires(value) { + this[expires] = value; + } + get ifModifiedSince() { + return this[ifModifiedSince]; + } + set ifModifiedSince(value) { + this[ifModifiedSince] = value; + } + get host() { + return this[host]; + } + set host(value) { + this[host] = value; + } + get port() { + return this[port]; + } + set port(value) { + this[port] = value; + } + get contentType() { + return this[contentType]; + } + set contentType(value) { + this[contentType] = value; + } + get contentLength() { + return this[contentLength]; + } + set contentLength(value) { + this[contentLength] = value; + } + get persistentConnection() { + let t258; + return dart.test(this[__HttpHeaders_persistentConnection_isSet]) ? (t258 = this[__HttpHeaders_persistentConnection], t258) : dart.throw(new _internal.LateError.fieldNI("persistentConnection")); + } + set persistentConnection(t258) { + if (t258 == null) dart.nullFailed(I[176], 652, 13, "null"); + this[__HttpHeaders_persistentConnection_isSet] = true; + this[__HttpHeaders_persistentConnection] = t258; + } + get chunkedTransferEncoding() { + let t259; + return dart.test(this[__HttpHeaders_chunkedTransferEncoding_isSet]) ? (t259 = this[__HttpHeaders_chunkedTransferEncoding], t259) : dart.throw(new _internal.LateError.fieldNI("chunkedTransferEncoding")); + } + set chunkedTransferEncoding(t259) { + if (t259 == null) dart.nullFailed(I[176], 659, 13, "null"); + this[__HttpHeaders_chunkedTransferEncoding_isSet] = true; + this[__HttpHeaders_chunkedTransferEncoding] = t259; + } +}; +(_http.HttpHeaders.new = function() { + this[date] = null; + this[expires] = null; + this[ifModifiedSince] = null; + this[host] = null; + this[port] = null; + this[contentType] = null; + this[contentLength] = -1; + this[__HttpHeaders_persistentConnection] = null; + this[__HttpHeaders_persistentConnection_isSet] = false; + this[__HttpHeaders_chunkedTransferEncoding] = null; + this[__HttpHeaders_chunkedTransferEncoding_isSet] = false; + ; +}).prototype = _http.HttpHeaders.prototype; +dart.addTypeTests(_http.HttpHeaders); +dart.addTypeCaches(_http.HttpHeaders); +dart.setGetterSignature(_http.HttpHeaders, () => ({ + __proto__: dart.getGetters(_http.HttpHeaders.__proto__), + persistentConnection: core.bool, + chunkedTransferEncoding: core.bool +})); +dart.setSetterSignature(_http.HttpHeaders, () => ({ + __proto__: dart.getSetters(_http.HttpHeaders.__proto__), + persistentConnection: core.bool, + chunkedTransferEncoding: core.bool +})); +dart.setLibraryUri(_http.HttpHeaders, I[177]); +dart.setFieldSignature(_http.HttpHeaders, () => ({ + __proto__: dart.getFields(_http.HttpHeaders.__proto__), + date: dart.fieldType(dart.nullable(core.DateTime)), + expires: dart.fieldType(dart.nullable(core.DateTime)), + ifModifiedSince: dart.fieldType(dart.nullable(core.DateTime)), + host: dart.fieldType(dart.nullable(core.String)), + port: dart.fieldType(dart.nullable(core.int)), + contentType: dart.fieldType(dart.nullable(_http.ContentType)), + contentLength: dart.fieldType(core.int), + [__HttpHeaders_persistentConnection]: dart.fieldType(dart.nullable(core.bool)), + [__HttpHeaders_persistentConnection_isSet]: dart.fieldType(core.bool), + [__HttpHeaders_chunkedTransferEncoding]: dart.fieldType(dart.nullable(core.bool)), + [__HttpHeaders_chunkedTransferEncoding_isSet]: dart.fieldType(core.bool) +})); +dart.defineLazy(_http.HttpHeaders, { + /*_http.HttpHeaders.acceptHeader*/get acceptHeader() { + return "accept"; + }, + /*_http.HttpHeaders.acceptCharsetHeader*/get acceptCharsetHeader() { + return "accept-charset"; + }, + /*_http.HttpHeaders.acceptEncodingHeader*/get acceptEncodingHeader() { + return "accept-encoding"; + }, + /*_http.HttpHeaders.acceptLanguageHeader*/get acceptLanguageHeader() { + return "accept-language"; + }, + /*_http.HttpHeaders.acceptRangesHeader*/get acceptRangesHeader() { + return "accept-ranges"; + }, + /*_http.HttpHeaders.ageHeader*/get ageHeader() { + return "age"; + }, + /*_http.HttpHeaders.allowHeader*/get allowHeader() { + return "allow"; + }, + /*_http.HttpHeaders.authorizationHeader*/get authorizationHeader() { + return "authorization"; + }, + /*_http.HttpHeaders.cacheControlHeader*/get cacheControlHeader() { + return "cache-control"; + }, + /*_http.HttpHeaders.connectionHeader*/get connectionHeader() { + return "connection"; + }, + /*_http.HttpHeaders.contentEncodingHeader*/get contentEncodingHeader() { + return "content-encoding"; + }, + /*_http.HttpHeaders.contentLanguageHeader*/get contentLanguageHeader() { + return "content-language"; + }, + /*_http.HttpHeaders.contentLengthHeader*/get contentLengthHeader() { + return "content-length"; + }, + /*_http.HttpHeaders.contentLocationHeader*/get contentLocationHeader() { + return "content-location"; + }, + /*_http.HttpHeaders.contentMD5Header*/get contentMD5Header() { + return "content-md5"; + }, + /*_http.HttpHeaders.contentRangeHeader*/get contentRangeHeader() { + return "content-range"; + }, + /*_http.HttpHeaders.contentTypeHeader*/get contentTypeHeader() { + return "content-type"; + }, + /*_http.HttpHeaders.dateHeader*/get dateHeader() { + return "date"; + }, + /*_http.HttpHeaders.etagHeader*/get etagHeader() { + return "etag"; + }, + /*_http.HttpHeaders.expectHeader*/get expectHeader() { + return "expect"; + }, + /*_http.HttpHeaders.expiresHeader*/get expiresHeader() { + return "expires"; + }, + /*_http.HttpHeaders.fromHeader*/get fromHeader() { + return "from"; + }, + /*_http.HttpHeaders.hostHeader*/get hostHeader() { + return "host"; + }, + /*_http.HttpHeaders.ifMatchHeader*/get ifMatchHeader() { + return "if-match"; + }, + /*_http.HttpHeaders.ifModifiedSinceHeader*/get ifModifiedSinceHeader() { + return "if-modified-since"; + }, + /*_http.HttpHeaders.ifNoneMatchHeader*/get ifNoneMatchHeader() { + return "if-none-match"; + }, + /*_http.HttpHeaders.ifRangeHeader*/get ifRangeHeader() { + return "if-range"; + }, + /*_http.HttpHeaders.ifUnmodifiedSinceHeader*/get ifUnmodifiedSinceHeader() { + return "if-unmodified-since"; + }, + /*_http.HttpHeaders.lastModifiedHeader*/get lastModifiedHeader() { + return "last-modified"; + }, + /*_http.HttpHeaders.locationHeader*/get locationHeader() { + return "location"; + }, + /*_http.HttpHeaders.maxForwardsHeader*/get maxForwardsHeader() { + return "max-forwards"; + }, + /*_http.HttpHeaders.pragmaHeader*/get pragmaHeader() { + return "pragma"; + }, + /*_http.HttpHeaders.proxyAuthenticateHeader*/get proxyAuthenticateHeader() { + return "proxy-authenticate"; + }, + /*_http.HttpHeaders.proxyAuthorizationHeader*/get proxyAuthorizationHeader() { + return "proxy-authorization"; + }, + /*_http.HttpHeaders.rangeHeader*/get rangeHeader() { + return "range"; + }, + /*_http.HttpHeaders.refererHeader*/get refererHeader() { + return "referer"; + }, + /*_http.HttpHeaders.retryAfterHeader*/get retryAfterHeader() { + return "retry-after"; + }, + /*_http.HttpHeaders.serverHeader*/get serverHeader() { + return "server"; + }, + /*_http.HttpHeaders.teHeader*/get teHeader() { + return "te"; + }, + /*_http.HttpHeaders.trailerHeader*/get trailerHeader() { + return "trailer"; + }, + /*_http.HttpHeaders.transferEncodingHeader*/get transferEncodingHeader() { + return "transfer-encoding"; + }, + /*_http.HttpHeaders.upgradeHeader*/get upgradeHeader() { + return "upgrade"; + }, + /*_http.HttpHeaders.userAgentHeader*/get userAgentHeader() { + return "user-agent"; + }, + /*_http.HttpHeaders.varyHeader*/get varyHeader() { + return "vary"; + }, + /*_http.HttpHeaders.viaHeader*/get viaHeader() { + return "via"; + }, + /*_http.HttpHeaders.warningHeader*/get warningHeader() { + return "warning"; + }, + /*_http.HttpHeaders.wwwAuthenticateHeader*/get wwwAuthenticateHeader() { + return "www-authenticate"; + }, + /*_http.HttpHeaders.ACCEPT*/get ACCEPT() { + return "accept"; + }, + /*_http.HttpHeaders.ACCEPT_CHARSET*/get ACCEPT_CHARSET() { + return "accept-charset"; + }, + /*_http.HttpHeaders.ACCEPT_ENCODING*/get ACCEPT_ENCODING() { + return "accept-encoding"; + }, + /*_http.HttpHeaders.ACCEPT_LANGUAGE*/get ACCEPT_LANGUAGE() { + return "accept-language"; + }, + /*_http.HttpHeaders.ACCEPT_RANGES*/get ACCEPT_RANGES() { + return "accept-ranges"; + }, + /*_http.HttpHeaders.AGE*/get AGE() { + return "age"; + }, + /*_http.HttpHeaders.ALLOW*/get ALLOW() { + return "allow"; + }, + /*_http.HttpHeaders.AUTHORIZATION*/get AUTHORIZATION() { + return "authorization"; + }, + /*_http.HttpHeaders.CACHE_CONTROL*/get CACHE_CONTROL() { + return "cache-control"; + }, + /*_http.HttpHeaders.CONNECTION*/get CONNECTION() { + return "connection"; + }, + /*_http.HttpHeaders.CONTENT_ENCODING*/get CONTENT_ENCODING() { + return "content-encoding"; + }, + /*_http.HttpHeaders.CONTENT_LANGUAGE*/get CONTENT_LANGUAGE() { + return "content-language"; + }, + /*_http.HttpHeaders.CONTENT_LENGTH*/get CONTENT_LENGTH() { + return "content-length"; + }, + /*_http.HttpHeaders.CONTENT_LOCATION*/get CONTENT_LOCATION() { + return "content-location"; + }, + /*_http.HttpHeaders.CONTENT_MD5*/get CONTENT_MD5() { + return "content-md5"; + }, + /*_http.HttpHeaders.CONTENT_RANGE*/get CONTENT_RANGE() { + return "content-range"; + }, + /*_http.HttpHeaders.CONTENT_TYPE*/get CONTENT_TYPE() { + return "content-type"; + }, + /*_http.HttpHeaders.DATE*/get DATE() { + return "date"; + }, + /*_http.HttpHeaders.ETAG*/get ETAG() { + return "etag"; + }, + /*_http.HttpHeaders.EXPECT*/get EXPECT() { + return "expect"; + }, + /*_http.HttpHeaders.EXPIRES*/get EXPIRES() { + return "expires"; + }, + /*_http.HttpHeaders.FROM*/get FROM() { + return "from"; + }, + /*_http.HttpHeaders.HOST*/get HOST() { + return "host"; + }, + /*_http.HttpHeaders.IF_MATCH*/get IF_MATCH() { + return "if-match"; + }, + /*_http.HttpHeaders.IF_MODIFIED_SINCE*/get IF_MODIFIED_SINCE() { + return "if-modified-since"; + }, + /*_http.HttpHeaders.IF_NONE_MATCH*/get IF_NONE_MATCH() { + return "if-none-match"; + }, + /*_http.HttpHeaders.IF_RANGE*/get IF_RANGE() { + return "if-range"; + }, + /*_http.HttpHeaders.IF_UNMODIFIED_SINCE*/get IF_UNMODIFIED_SINCE() { + return "if-unmodified-since"; + }, + /*_http.HttpHeaders.LAST_MODIFIED*/get LAST_MODIFIED() { + return "last-modified"; + }, + /*_http.HttpHeaders.LOCATION*/get LOCATION() { + return "location"; + }, + /*_http.HttpHeaders.MAX_FORWARDS*/get MAX_FORWARDS() { + return "max-forwards"; + }, + /*_http.HttpHeaders.PRAGMA*/get PRAGMA() { + return "pragma"; + }, + /*_http.HttpHeaders.PROXY_AUTHENTICATE*/get PROXY_AUTHENTICATE() { + return "proxy-authenticate"; + }, + /*_http.HttpHeaders.PROXY_AUTHORIZATION*/get PROXY_AUTHORIZATION() { + return "proxy-authorization"; + }, + /*_http.HttpHeaders.RANGE*/get RANGE() { + return "range"; + }, + /*_http.HttpHeaders.REFERER*/get REFERER() { + return "referer"; + }, + /*_http.HttpHeaders.RETRY_AFTER*/get RETRY_AFTER() { + return "retry-after"; + }, + /*_http.HttpHeaders.SERVER*/get SERVER() { + return "server"; + }, + /*_http.HttpHeaders.TE*/get TE() { + return "te"; + }, + /*_http.HttpHeaders.TRAILER*/get TRAILER() { + return "trailer"; + }, + /*_http.HttpHeaders.TRANSFER_ENCODING*/get TRANSFER_ENCODING() { + return "transfer-encoding"; + }, + /*_http.HttpHeaders.UPGRADE*/get UPGRADE() { + return "upgrade"; + }, + /*_http.HttpHeaders.USER_AGENT*/get USER_AGENT() { + return "user-agent"; + }, + /*_http.HttpHeaders.VARY*/get VARY() { + return "vary"; + }, + /*_http.HttpHeaders.VIA*/get VIA() { + return "via"; + }, + /*_http.HttpHeaders.WARNING*/get WARNING() { + return "warning"; + }, + /*_http.HttpHeaders.WWW_AUTHENTICATE*/get WWW_AUTHENTICATE() { + return "www-authenticate"; + }, + /*_http.HttpHeaders.cookieHeader*/get cookieHeader() { + return "cookie"; + }, + /*_http.HttpHeaders.setCookieHeader*/get setCookieHeader() { + return "set-cookie"; + }, + /*_http.HttpHeaders.COOKIE*/get COOKIE() { + return "cookie"; + }, + /*_http.HttpHeaders.SET_COOKIE*/get SET_COOKIE() { + return "set-cookie"; + }, + /*_http.HttpHeaders.generalHeaders*/get generalHeaders() { + return C[448] || CT.C448; + }, + /*_http.HttpHeaders.GENERAL_HEADERS*/get GENERAL_HEADERS() { + return C[448] || CT.C448; + }, + /*_http.HttpHeaders.entityHeaders*/get entityHeaders() { + return C[449] || CT.C449; + }, + /*_http.HttpHeaders.ENTITY_HEADERS*/get ENTITY_HEADERS() { + return C[449] || CT.C449; + }, + /*_http.HttpHeaders.responseHeaders*/get responseHeaders() { + return C[450] || CT.C450; + }, + /*_http.HttpHeaders.RESPONSE_HEADERS*/get RESPONSE_HEADERS() { + return C[450] || CT.C450; + }, + /*_http.HttpHeaders.requestHeaders*/get requestHeaders() { + return C[451] || CT.C451; + }, + /*_http.HttpHeaders.REQUEST_HEADERS*/get REQUEST_HEADERS() { + return C[451] || CT.C451; + } +}, false); +_http.HeaderValue = class HeaderValue extends core.Object { + static new(value = "", parameters = C[452] || CT.C452) { + if (value == null) dart.nullFailed(I[176], 805, 15, "value"); + if (parameters == null) dart.nullFailed(I[176], 805, 48, "parameters"); + return new _http._HeaderValue.new(value, parameters); + } + static parse(value, opts) { + if (value == null) dart.nullFailed(I[176], 813, 35, "value"); + let parameterSeparator = opts && 'parameterSeparator' in opts ? opts.parameterSeparator : ";"; + if (parameterSeparator == null) dart.nullFailed(I[176], 814, 15, "parameterSeparator"); + let valueSeparator = opts && 'valueSeparator' in opts ? opts.valueSeparator : null; + let preserveBackslash = opts && 'preserveBackslash' in opts ? opts.preserveBackslash : false; + if (preserveBackslash == null) dart.nullFailed(I[176], 816, 12, "preserveBackslash"); + return _http._HeaderValue.parse(value, {parameterSeparator: parameterSeparator, valueSeparator: valueSeparator, preserveBackslash: preserveBackslash}); + } +}; +(_http.HeaderValue[dart.mixinNew] = function() { +}).prototype = _http.HeaderValue.prototype; +dart.addTypeTests(_http.HeaderValue); +dart.addTypeCaches(_http.HeaderValue); +dart.setLibraryUri(_http.HeaderValue, I[177]); +_http.HttpSession = class HttpSession extends core.Object {}; +(_http.HttpSession.new = function() { + ; +}).prototype = _http.HttpSession.prototype; +_http.HttpSession.prototype[dart.isMap] = true; +dart.addTypeTests(_http.HttpSession); +dart.addTypeCaches(_http.HttpSession); +_http.HttpSession[dart.implements] = () => [core.Map]; +dart.setLibraryUri(_http.HttpSession, I[177]); +_http.ContentType = class ContentType extends core.Object { + static new(primaryType, subType, opts) { + if (primaryType == null) dart.nullFailed(I[176], 923, 30, "primaryType"); + if (subType == null) dart.nullFailed(I[176], 923, 50, "subType"); + let charset = opts && 'charset' in opts ? opts.charset : null; + let parameters = opts && 'parameters' in opts ? opts.parameters : C[452] || CT.C452; + if (parameters == null) dart.nullFailed(I[176], 924, 46, "parameters"); + return new _http._ContentType.new(primaryType, subType, charset, parameters); + } + static parse(value) { + if (value == null) dart.nullFailed(I[176], 941, 35, "value"); + return _http._ContentType.parse(value); + } +}; +(_http.ContentType[dart.mixinNew] = function() { +}).prototype = _http.ContentType.prototype; +dart.addTypeTests(_http.ContentType); +dart.addTypeCaches(_http.ContentType); +_http.ContentType[dart.implements] = () => [_http.HeaderValue]; +dart.setLibraryUri(_http.ContentType, I[177]); +dart.defineLazy(_http.ContentType, { + /*_http.ContentType.text*/get text() { + return _http.ContentType.new("text", "plain", {charset: "utf-8"}); + }, + /*_http.ContentType.TEXT*/get TEXT() { + return _http.ContentType.text; + }, + /*_http.ContentType.html*/get html() { + return _http.ContentType.new("text", "html", {charset: "utf-8"}); + }, + /*_http.ContentType.HTML*/get HTML() { + return _http.ContentType.html; + }, + /*_http.ContentType.json*/get json() { + return _http.ContentType.new("application", "json", {charset: "utf-8"}); + }, + /*_http.ContentType.JSON*/get JSON() { + return _http.ContentType.json; + }, + /*_http.ContentType.binary*/get binary() { + return _http.ContentType.new("application", "octet-stream"); + }, + /*_http.ContentType.BINARY*/get BINARY() { + return _http.ContentType.binary; + } +}, false); +var expires$ = dart.privateName(_http, "Cookie.expires"); +var maxAge = dart.privateName(_http, "Cookie.maxAge"); +var domain = dart.privateName(_http, "Cookie.domain"); +var path = dart.privateName(_http, "Cookie.path"); +var secure = dart.privateName(_http, "Cookie.secure"); +var httpOnly = dart.privateName(_http, "Cookie.httpOnly"); +var __Cookie_name = dart.privateName(_http, "_#Cookie#name"); +var __Cookie_name_isSet = dart.privateName(_http, "_#Cookie#name#isSet"); +var __Cookie_value = dart.privateName(_http, "_#Cookie#value"); +var __Cookie_value_isSet = dart.privateName(_http, "_#Cookie#value#isSet"); +_http.Cookie = class Cookie extends core.Object { + get expires() { + return this[expires$]; + } + set expires(value) { + this[expires$] = value; + } + get maxAge() { + return this[maxAge]; + } + set maxAge(value) { + this[maxAge] = value; + } + get domain() { + return this[domain]; + } + set domain(value) { + this[domain] = value; + } + get path() { + return this[path]; + } + set path(value) { + this[path] = value; + } + get secure() { + return this[secure]; + } + set secure(value) { + this[secure] = value; + } + get httpOnly() { + return this[httpOnly]; + } + set httpOnly(value) { + this[httpOnly] = value; + } + get name() { + let t260; + return dart.test(this[__Cookie_name_isSet]) ? (t260 = this[__Cookie_name], t260) : dart.throw(new _internal.LateError.fieldNI("name")); + } + set name(t260) { + if (t260 == null) dart.nullFailed(I[176], 996, 15, "null"); + this[__Cookie_name_isSet] = true; + this[__Cookie_name] = t260; + } + get value() { + let t261; + return dart.test(this[__Cookie_value_isSet]) ? (t261 = this[__Cookie_value], t261) : dart.throw(new _internal.LateError.fieldNI("value")); + } + set value(t261) { + if (t261 == null) dart.nullFailed(I[176], 1009, 15, "null"); + this[__Cookie_value_isSet] = true; + this[__Cookie_value] = t261; + } + static new(name, value) { + if (name == null) dart.nullFailed(I[176], 1051, 25, "name"); + if (value == null) dart.nullFailed(I[176], 1051, 38, "value"); + return new _http._Cookie.new(name, value); + } + static fromSetCookieValue(value) { + if (value == null) dart.nullFailed(I[176], 1057, 44, "value"); + return new _http._Cookie.fromSetCookieValue(value); + } +}; +(_http.Cookie[dart.mixinNew] = function() { + this[__Cookie_name] = null; + this[__Cookie_name_isSet] = false; + this[__Cookie_value] = null; + this[__Cookie_value_isSet] = false; + this[expires$] = null; + this[maxAge] = null; + this[domain] = null; + this[path] = null; + this[secure] = false; + this[httpOnly] = false; +}).prototype = _http.Cookie.prototype; +dart.addTypeTests(_http.Cookie); +dart.addTypeCaches(_http.Cookie); +dart.setGetterSignature(_http.Cookie, () => ({ + __proto__: dart.getGetters(_http.Cookie.__proto__), + name: core.String, + value: core.String +})); +dart.setSetterSignature(_http.Cookie, () => ({ + __proto__: dart.getSetters(_http.Cookie.__proto__), + name: core.String, + value: core.String +})); +dart.setLibraryUri(_http.Cookie, I[177]); +dart.setFieldSignature(_http.Cookie, () => ({ + __proto__: dart.getFields(_http.Cookie.__proto__), + [__Cookie_name]: dart.fieldType(dart.nullable(core.String)), + [__Cookie_name_isSet]: dart.fieldType(core.bool), + [__Cookie_value]: dart.fieldType(dart.nullable(core.String)), + [__Cookie_value_isSet]: dart.fieldType(core.bool), + expires: dart.fieldType(dart.nullable(core.DateTime)), + maxAge: dart.fieldType(dart.nullable(core.int)), + domain: dart.fieldType(dart.nullable(core.String)), + path: dart.fieldType(dart.nullable(core.String)), + secure: dart.fieldType(core.bool), + httpOnly: dart.fieldType(core.bool) +})); +_http.HttpRequest = class HttpRequest extends core.Object {}; +(_http.HttpRequest.new = function() { + ; +}).prototype = _http.HttpRequest.prototype; +_http.HttpRequest.prototype[dart.isStream] = true; +dart.addTypeTests(_http.HttpRequest); +dart.addTypeCaches(_http.HttpRequest); +_http.HttpRequest[dart.implements] = () => [async.Stream$(typed_data.Uint8List)]; +dart.setLibraryUri(_http.HttpRequest, I[177]); +var contentLength$ = dart.privateName(_http, "HttpResponse.contentLength"); +var statusCode = dart.privateName(_http, "HttpResponse.statusCode"); +var deadline = dart.privateName(_http, "HttpResponse.deadline"); +var bufferOutput = dart.privateName(_http, "HttpResponse.bufferOutput"); +var __HttpResponse_reasonPhrase = dart.privateName(_http, "_#HttpResponse#reasonPhrase"); +var __HttpResponse_reasonPhrase_isSet = dart.privateName(_http, "_#HttpResponse#reasonPhrase#isSet"); +var __HttpResponse_persistentConnection = dart.privateName(_http, "_#HttpResponse#persistentConnection"); +var __HttpResponse_persistentConnection_isSet = dart.privateName(_http, "_#HttpResponse#persistentConnection#isSet"); +_http.HttpResponse = class HttpResponse extends core.Object { + get contentLength() { + return this[contentLength$]; + } + set contentLength(value) { + this[contentLength$] = value; + } + get statusCode() { + return this[statusCode]; + } + set statusCode(value) { + this[statusCode] = value; + } + get deadline() { + return this[deadline]; + } + set deadline(value) { + this[deadline] = value; + } + get bufferOutput() { + return this[bufferOutput]; + } + set bufferOutput(value) { + this[bufferOutput] = value; + } + get reasonPhrase() { + let t262; + return dart.test(this[__HttpResponse_reasonPhrase_isSet]) ? (t262 = this[__HttpResponse_reasonPhrase], t262) : dart.throw(new _internal.LateError.fieldNI("reasonPhrase")); + } + set reasonPhrase(t262) { + if (t262 == null) dart.nullFailed(I[176], 1295, 15, "null"); + this[__HttpResponse_reasonPhrase_isSet] = true; + this[__HttpResponse_reasonPhrase] = t262; + } + get persistentConnection() { + let t263; + return dart.test(this[__HttpResponse_persistentConnection_isSet]) ? (t263 = this[__HttpResponse_persistentConnection], t263) : dart.throw(new _internal.LateError.fieldNI("persistentConnection")); + } + set persistentConnection(t263) { + if (t263 == null) dart.nullFailed(I[176], 1302, 13, "null"); + this[__HttpResponse_persistentConnection_isSet] = true; + this[__HttpResponse_persistentConnection] = t263; + } +}; +(_http.HttpResponse.new = function() { + this[contentLength$] = -1; + this[statusCode] = 200; + this[__HttpResponse_reasonPhrase] = null; + this[__HttpResponse_reasonPhrase_isSet] = false; + this[__HttpResponse_persistentConnection] = null; + this[__HttpResponse_persistentConnection_isSet] = false; + this[deadline] = null; + this[bufferOutput] = true; + ; +}).prototype = _http.HttpResponse.prototype; +dart.addTypeTests(_http.HttpResponse); +dart.addTypeCaches(_http.HttpResponse); +_http.HttpResponse[dart.implements] = () => [io.IOSink]; +dart.setGetterSignature(_http.HttpResponse, () => ({ + __proto__: dart.getGetters(_http.HttpResponse.__proto__), + reasonPhrase: core.String, + persistentConnection: core.bool +})); +dart.setSetterSignature(_http.HttpResponse, () => ({ + __proto__: dart.getSetters(_http.HttpResponse.__proto__), + reasonPhrase: core.String, + persistentConnection: core.bool +})); +dart.setLibraryUri(_http.HttpResponse, I[177]); +dart.setFieldSignature(_http.HttpResponse, () => ({ + __proto__: dart.getFields(_http.HttpResponse.__proto__), + contentLength: dart.fieldType(core.int), + statusCode: dart.fieldType(core.int), + [__HttpResponse_reasonPhrase]: dart.fieldType(dart.nullable(core.String)), + [__HttpResponse_reasonPhrase_isSet]: dart.fieldType(core.bool), + [__HttpResponse_persistentConnection]: dart.fieldType(dart.nullable(core.bool)), + [__HttpResponse_persistentConnection_isSet]: dart.fieldType(core.bool), + deadline: dart.fieldType(dart.nullable(core.Duration)), + bufferOutput: dart.fieldType(core.bool) +})); +var idleTimeout$ = dart.privateName(_http, "HttpClient.idleTimeout"); +var connectionTimeout = dart.privateName(_http, "HttpClient.connectionTimeout"); +var maxConnectionsPerHost = dart.privateName(_http, "HttpClient.maxConnectionsPerHost"); +var autoUncompress = dart.privateName(_http, "HttpClient.autoUncompress"); +var userAgent = dart.privateName(_http, "HttpClient.userAgent"); +_http.HttpClient = class HttpClient extends core.Object { + get idleTimeout() { + return this[idleTimeout$]; + } + set idleTimeout(value) { + this[idleTimeout$] = value; + } + get connectionTimeout() { + return this[connectionTimeout]; + } + set connectionTimeout(value) { + this[connectionTimeout] = value; + } + get maxConnectionsPerHost() { + return this[maxConnectionsPerHost]; + } + set maxConnectionsPerHost(value) { + this[maxConnectionsPerHost] = value; + } + get autoUncompress() { + return this[autoUncompress]; + } + set autoUncompress(value) { + this[autoUncompress] = value; + } + get userAgent() { + return this[userAgent]; + } + set userAgent(value) { + this[userAgent] = value; + } + static set enableTimelineLogging(value) { + if (value == null) dart.nullFailed(I[176], 1476, 41, "value"); + let enabled = _internal.valueOfNonNullableParamWithDefault(core.bool, value, false); + if (enabled != _http.HttpClient._enableTimelineLogging) { + developer.postEvent("HttpTimelineLoggingStateChange", new _js_helper.LinkedMap.from(["isolateId", developer.Service.getIsolateID(isolate$.Isolate.current), "enabled", enabled])); + } + _http.HttpClient._enableTimelineLogging = enabled; + } + static get enableTimelineLogging() { + return _http.HttpClient._enableTimelineLogging; + } + static new(opts) { + let context = opts && 'context' in opts ? opts.context : null; + let overrides = _http.HttpOverrides.current; + if (overrides == null) { + return new _http._HttpClient.new(context); + } + return overrides.createHttpClient(context); + } + static findProxyFromEnvironment(url, opts) { + if (url == null) dart.nullFailed(I[176], 1829, 46, "url"); + let environment = opts && 'environment' in opts ? opts.environment : null; + let overrides = _http.HttpOverrides.current; + if (overrides == null) { + return _http._HttpClient._findProxyFromEnvironment(url, environment); + } + return overrides.findProxyFromEnvironment(url, environment); + } +}; +(_http.HttpClient[dart.mixinNew] = function() { + this[idleTimeout$] = C[453] || CT.C453; + this[connectionTimeout] = null; + this[maxConnectionsPerHost] = null; + this[autoUncompress] = true; + this[userAgent] = null; +}).prototype = _http.HttpClient.prototype; +dart.addTypeTests(_http.HttpClient); +dart.addTypeCaches(_http.HttpClient); +dart.setLibraryUri(_http.HttpClient, I[177]); +dart.setFieldSignature(_http.HttpClient, () => ({ + __proto__: dart.getFields(_http.HttpClient.__proto__), + idleTimeout: dart.fieldType(core.Duration), + connectionTimeout: dart.fieldType(dart.nullable(core.Duration)), + maxConnectionsPerHost: dart.fieldType(dart.nullable(core.int)), + autoUncompress: dart.fieldType(core.bool), + userAgent: dart.fieldType(dart.nullable(core.String)) +})); +dart.defineLazy(_http.HttpClient, { + /*_http.HttpClient.defaultHttpPort*/get defaultHttpPort() { + return 80; + }, + /*_http.HttpClient.DEFAULT_HTTP_PORT*/get DEFAULT_HTTP_PORT() { + return 80; + }, + /*_http.HttpClient.defaultHttpsPort*/get defaultHttpsPort() { + return 443; + }, + /*_http.HttpClient.DEFAULT_HTTPS_PORT*/get DEFAULT_HTTPS_PORT() { + return 443; + }, + /*_http.HttpClient._enableTimelineLogging*/get _enableTimelineLogging() { + return false; + }, + set _enableTimelineLogging(_) {} +}, false); +var persistentConnection = dart.privateName(_http, "HttpClientRequest.persistentConnection"); +var followRedirects = dart.privateName(_http, "HttpClientRequest.followRedirects"); +var maxRedirects = dart.privateName(_http, "HttpClientRequest.maxRedirects"); +var contentLength$0 = dart.privateName(_http, "HttpClientRequest.contentLength"); +var bufferOutput$ = dart.privateName(_http, "HttpClientRequest.bufferOutput"); +_http.HttpClientRequest = class HttpClientRequest extends core.Object { + get persistentConnection() { + return this[persistentConnection]; + } + set persistentConnection(value) { + this[persistentConnection] = value; + } + get followRedirects() { + return this[followRedirects]; + } + set followRedirects(value) { + this[followRedirects] = value; + } + get maxRedirects() { + return this[maxRedirects]; + } + set maxRedirects(value) { + this[maxRedirects] = value; + } + get contentLength() { + return this[contentLength$0]; + } + set contentLength(value) { + this[contentLength$0] = value; + } + get bufferOutput() { + return this[bufferOutput$]; + } + set bufferOutput(value) { + this[bufferOutput$] = value; + } +}; +(_http.HttpClientRequest.new = function() { + this[persistentConnection] = true; + this[followRedirects] = true; + this[maxRedirects] = 5; + this[contentLength$0] = -1; + this[bufferOutput$] = true; + ; +}).prototype = _http.HttpClientRequest.prototype; +dart.addTypeTests(_http.HttpClientRequest); +dart.addTypeCaches(_http.HttpClientRequest); +_http.HttpClientRequest[dart.implements] = () => [io.IOSink]; +dart.setLibraryUri(_http.HttpClientRequest, I[177]); +dart.setFieldSignature(_http.HttpClientRequest, () => ({ + __proto__: dart.getFields(_http.HttpClientRequest.__proto__), + persistentConnection: dart.fieldType(core.bool), + followRedirects: dart.fieldType(core.bool), + maxRedirects: dart.fieldType(core.int), + contentLength: dart.fieldType(core.int), + bufferOutput: dart.fieldType(core.bool) +})); +_http.HttpClientResponse = class HttpClientResponse extends core.Object {}; +(_http.HttpClientResponse.new = function() { + ; +}).prototype = _http.HttpClientResponse.prototype; +_http.HttpClientResponse.prototype[dart.isStream] = true; +dart.addTypeTests(_http.HttpClientResponse); +dart.addTypeCaches(_http.HttpClientResponse); +_http.HttpClientResponse[dart.implements] = () => [async.Stream$(core.List$(core.int))]; +dart.setLibraryUri(_http.HttpClientResponse, I[177]); +var _name$7 = dart.privateName(_http, "_name"); +_http.HttpClientResponseCompressionState = class HttpClientResponseCompressionState extends core.Object { + toString() { + return this[_name$7]; + } +}; +(_http.HttpClientResponseCompressionState.new = function(index, _name) { + if (index == null) dart.nullFailed(I[176], 2198, 6, "index"); + if (_name == null) dart.nullFailed(I[176], 2198, 6, "_name"); + this.index = index; + this[_name$7] = _name; + ; +}).prototype = _http.HttpClientResponseCompressionState.prototype; +dart.addTypeTests(_http.HttpClientResponseCompressionState); +dart.addTypeCaches(_http.HttpClientResponseCompressionState); +dart.setLibraryUri(_http.HttpClientResponseCompressionState, I[177]); +dart.setFieldSignature(_http.HttpClientResponseCompressionState, () => ({ + __proto__: dart.getFields(_http.HttpClientResponseCompressionState.__proto__), + index: dart.finalFieldType(core.int), + [_name$7]: dart.finalFieldType(core.String) +})); +dart.defineExtensionMethods(_http.HttpClientResponseCompressionState, ['toString']); +_http.HttpClientResponseCompressionState.notCompressed = C[454] || CT.C454; +_http.HttpClientResponseCompressionState.decompressed = C[455] || CT.C455; +_http.HttpClientResponseCompressionState.compressed = C[456] || CT.C456; +_http.HttpClientResponseCompressionState.values = C[457] || CT.C457; +_http.HttpClientCredentials = class HttpClientCredentials extends core.Object {}; +(_http.HttpClientCredentials.new = function() { + ; +}).prototype = _http.HttpClientCredentials.prototype; +dart.addTypeTests(_http.HttpClientCredentials); +dart.addTypeCaches(_http.HttpClientCredentials); +dart.setLibraryUri(_http.HttpClientCredentials, I[177]); +_http.HttpClientBasicCredentials = class HttpClientBasicCredentials extends _http.HttpClientCredentials { + static new(username, password) { + if (username == null) dart.nullFailed(I[176], 2236, 45, "username"); + if (password == null) dart.nullFailed(I[176], 2236, 62, "password"); + return new _http._HttpClientBasicCredentials.new(username, password); + } +}; +dart.addTypeTests(_http.HttpClientBasicCredentials); +dart.addTypeCaches(_http.HttpClientBasicCredentials); +dart.setLibraryUri(_http.HttpClientBasicCredentials, I[177]); +_http.HttpClientDigestCredentials = class HttpClientDigestCredentials extends _http.HttpClientCredentials { + static new(username, password) { + if (username == null) dart.nullFailed(I[176], 2247, 46, "username"); + if (password == null) dart.nullFailed(I[176], 2247, 63, "password"); + return new _http._HttpClientDigestCredentials.new(username, password); + } +}; +dart.addTypeTests(_http.HttpClientDigestCredentials); +dart.addTypeCaches(_http.HttpClientDigestCredentials); +dart.setLibraryUri(_http.HttpClientDigestCredentials, I[177]); +_http.HttpConnectionInfo = class HttpConnectionInfo extends core.Object {}; +(_http.HttpConnectionInfo.new = function() { + ; +}).prototype = _http.HttpConnectionInfo.prototype; +dart.addTypeTests(_http.HttpConnectionInfo); +dart.addTypeCaches(_http.HttpConnectionInfo); +dart.setLibraryUri(_http.HttpConnectionInfo, I[177]); +_http.RedirectInfo = class RedirectInfo extends core.Object {}; +(_http.RedirectInfo.new = function() { + ; +}).prototype = _http.RedirectInfo.prototype; +dart.addTypeTests(_http.RedirectInfo); +dart.addTypeCaches(_http.RedirectInfo); +dart.setLibraryUri(_http.RedirectInfo, I[177]); +_http.DetachedSocket = class DetachedSocket extends core.Object {}; +(_http.DetachedSocket.new = function() { + ; +}).prototype = _http.DetachedSocket.prototype; +dart.addTypeTests(_http.DetachedSocket); +dart.addTypeCaches(_http.DetachedSocket); +dart.setLibraryUri(_http.DetachedSocket, I[177]); +var message$17 = dart.privateName(_http, "HttpException.message"); +var uri$0 = dart.privateName(_http, "HttpException.uri"); +_http.HttpException = class HttpException extends core.Object { + get message() { + return this[message$17]; + } + set message(value) { + super.message = value; + } + get uri() { + return this[uri$0]; + } + set uri(value) { + super.uri = value; + } + toString() { + let t264; + let b = (t264 = new core.StringBuffer.new(), (() => { + t264.write("HttpException: "); + t264.write(this.message); + return t264; + })()); + let uri = this.uri; + if (uri != null) { + b.write(", uri = " + dart.str(uri)); + } + return dart.toString(b); + } +}; +(_http.HttpException.new = function(message, opts) { + if (message == null) dart.nullFailed(I[176], 2297, 28, "message"); + let uri = opts && 'uri' in opts ? opts.uri : null; + this[message$17] = message; + this[uri$0] = uri; + ; +}).prototype = _http.HttpException.prototype; +dart.addTypeTests(_http.HttpException); +dart.addTypeCaches(_http.HttpException); +_http.HttpException[dart.implements] = () => [io.IOException]; +dart.setLibraryUri(_http.HttpException, I[177]); +dart.setFieldSignature(_http.HttpException, () => ({ + __proto__: dart.getFields(_http.HttpException.__proto__), + message: dart.finalFieldType(core.String), + uri: dart.finalFieldType(dart.nullable(core.Uri)) +})); +dart.defineExtensionMethods(_http.HttpException, ['toString']); +var message$18 = dart.privateName(_http, "RedirectException.message"); +var redirects$ = dart.privateName(_http, "RedirectException.redirects"); +_http.RedirectException = class RedirectException extends core.Object { + get message() { + return this[message$18]; + } + set message(value) { + super.message = value; + } + get redirects() { + return this[redirects$]; + } + set redirects(value) { + super.redirects = value; + } + toString() { + return "RedirectException: " + dart.str(this.message); + } + get uri() { + return this.redirects[$last].location; + } +}; +(_http.RedirectException.new = function(message, redirects) { + if (message == null) dart.nullFailed(I[176], 2313, 32, "message"); + if (redirects == null) dart.nullFailed(I[176], 2313, 46, "redirects"); + this[message$18] = message; + this[redirects$] = redirects; + ; +}).prototype = _http.RedirectException.prototype; +dart.addTypeTests(_http.RedirectException); +dart.addTypeCaches(_http.RedirectException); +_http.RedirectException[dart.implements] = () => [_http.HttpException]; +dart.setGetterSignature(_http.RedirectException, () => ({ + __proto__: dart.getGetters(_http.RedirectException.__proto__), + uri: core.Uri +})); +dart.setLibraryUri(_http.RedirectException, I[177]); +dart.setFieldSignature(_http.RedirectException, () => ({ + __proto__: dart.getFields(_http.RedirectException.__proto__), + message: dart.finalFieldType(core.String), + redirects: dart.finalFieldType(core.List$(_http.RedirectInfo)) +})); +dart.defineExtensionMethods(_http.RedirectException, ['toString']); +_http._CryptoUtils = class _CryptoUtils extends core.Object { + static getRandomBytes(count) { + if (count == null) dart.nullFailed(I[178], 45, 39, "count"); + let result = _native_typed_data.NativeUint8List.new(count); + for (let i = 0; i < dart.notNull(count); i = i + 1) { + result[$_set](i, _http._CryptoUtils._rng.nextInt(255)); + } + return result; + } + static bytesToHex(bytes) { + if (bytes == null) dart.nullFailed(I[178], 53, 38, "bytes"); + let result = new core.StringBuffer.new(); + for (let part of bytes) { + result.write((dart.notNull(part) < 16 ? "0" : "") + part[$toRadixString](16)); + } + return result.toString(); + } + static bytesToBase64(bytes, urlSafe = false, addLineSeparator = false) { + let t264, t264$, t264$0, t264$1, t264$2, t264$3, t264$4, t264$5, t264$6, t264$7, t264$8, t264$9, t264$10, t264$11, t264$12, t264$13, t264$14; + if (bytes == null) dart.nullFailed(I[178], 61, 41, "bytes"); + if (urlSafe == null) dart.nullFailed(I[178], 62, 13, "urlSafe"); + if (addLineSeparator == null) dart.nullFailed(I[178], 62, 35, "addLineSeparator"); + let len = bytes[$length]; + if (len === 0) { + return ""; + } + let lookup = dart.test(urlSafe) ? _http._CryptoUtils._encodeTableUrlSafe : _http._CryptoUtils._encodeTable; + let remainderLength = len[$remainder](3); + let chunkLength = dart.notNull(len) - remainderLength; + let outputLen = (dart.notNull(len) / 3)[$truncate]() * 4 + (remainderLength > 0 ? 4 : 0); + if (dart.test(addLineSeparator)) { + outputLen = outputLen + (((outputLen - 1) / 76)[$truncate]() << 1 >>> 0); + } + let out = T$0.ListOfint().filled(outputLen, 0); + let j = 0; + let i = 0; + let c = 0; + while (i < chunkLength) { + let x = (dart.notNull(bytes[$_get]((t264 = i, i = t264 + 1, t264))) << 16 & 16777215 | dart.notNull(bytes[$_get]((t264$ = i, i = t264$ + 1, t264$))) << 8 & 16777215 | dart.notNull(bytes[$_get]((t264$0 = i, i = t264$0 + 1, t264$0)))) >>> 0; + out[$_set]((t264$1 = j, j = t264$1 + 1, t264$1), lookup[$codeUnitAt](x[$rightShift](18))); + out[$_set]((t264$2 = j, j = t264$2 + 1, t264$2), lookup[$codeUnitAt](x >> 12 & 63)); + out[$_set]((t264$3 = j, j = t264$3 + 1, t264$3), lookup[$codeUnitAt](x >> 6 & 63)); + out[$_set]((t264$4 = j, j = t264$4 + 1, t264$4), lookup[$codeUnitAt](x & 63)); + if (dart.test(addLineSeparator) && (c = c + 1) === 19 && j < outputLen - 2) { + out[$_set]((t264$5 = j, j = t264$5 + 1, t264$5), 13); + out[$_set]((t264$6 = j, j = t264$6 + 1, t264$6), 10); + c = 0; + } + } + if (remainderLength === 1) { + let x = bytes[$_get](i); + out[$_set]((t264$7 = j, j = t264$7 + 1, t264$7), lookup[$codeUnitAt](x[$rightShift](2))); + out[$_set]((t264$8 = j, j = t264$8 + 1, t264$8), lookup[$codeUnitAt](dart.notNull(x) << 4 & 63)); + out[$_set]((t264$9 = j, j = t264$9 + 1, t264$9), 61); + out[$_set]((t264$10 = j, j = t264$10 + 1, t264$10), 61); + } else if (remainderLength === 2) { + let x = bytes[$_get](i); + let y = bytes[$_get](i + 1); + out[$_set]((t264$11 = j, j = t264$11 + 1, t264$11), lookup[$codeUnitAt](x[$rightShift](2))); + out[$_set]((t264$12 = j, j = t264$12 + 1, t264$12), lookup[$codeUnitAt]((dart.notNull(x) << 4 | y[$rightShift](4)) & 63)); + out[$_set]((t264$13 = j, j = t264$13 + 1, t264$13), lookup[$codeUnitAt](dart.notNull(y) << 2 & 63)); + out[$_set]((t264$14 = j, j = t264$14 + 1, t264$14), 61); + } + return core.String.fromCharCodes(out); + } + static base64StringToBytes(input, ignoreInvalidCharacters = true) { + let t264, t264$, t264$0, t264$1; + if (input == null) dart.nullFailed(I[178], 117, 47, "input"); + if (ignoreInvalidCharacters == null) dart.nullFailed(I[178], 118, 13, "ignoreInvalidCharacters"); + let len = input.length; + if (len === 0) { + return T$0.ListOfint().empty(); + } + let extrasLen = 0; + for (let i = 0; i < len; i = i + 1) { + let c = _http._CryptoUtils._decodeTable[$_get](input[$codeUnitAt](i)); + if (dart.notNull(c) < 0) { + extrasLen = extrasLen + 1; + if (c === -2 && !dart.test(ignoreInvalidCharacters)) { + dart.throw(new core.FormatException.new("Invalid character: " + input[$_get](i))); + } + } + } + if ((len - extrasLen)[$modulo](4) !== 0) { + dart.throw(new core.FormatException.new("Size of Base 64 characters in Input\n must be a multiple of 4. Input: " + dart.str(input))); + } + let padLength = 0; + for (let i = len - 1; i >= 0; i = i - 1) { + let currentCodeUnit = input[$codeUnitAt](i); + if (dart.notNull(_http._CryptoUtils._decodeTable[$_get](currentCodeUnit)) > 0) break; + if (currentCodeUnit === 61) padLength = padLength + 1; + } + let outputLen = ((len - extrasLen) * 6)[$rightShift](3) - padLength; + let out = T$0.ListOfint().filled(outputLen, 0); + for (let i = 0, o = 0; o < outputLen;) { + let x = 0; + for (let j = 4; j > 0;) { + let c = _http._CryptoUtils._decodeTable[$_get](input[$codeUnitAt]((t264 = i, i = t264 + 1, t264))); + if (dart.notNull(c) >= 0) { + x = (x << 6 & 16777215 | dart.notNull(c)) >>> 0; + j = j - 1; + } + } + out[$_set]((t264$ = o, o = t264$ + 1, t264$), x[$rightShift](16)); + if (o < outputLen) { + out[$_set]((t264$0 = o, o = t264$0 + 1, t264$0), x >> 8 & 255); + if (o < outputLen) out[$_set]((t264$1 = o, o = t264$1 + 1, t264$1), x & 255); + } + } + return out; + } +}; +(_http._CryptoUtils.new = function() { + ; +}).prototype = _http._CryptoUtils.prototype; +dart.addTypeTests(_http._CryptoUtils); +dart.addTypeCaches(_http._CryptoUtils); +dart.setLibraryUri(_http._CryptoUtils, I[177]); +dart.defineLazy(_http._CryptoUtils, { + /*_http._CryptoUtils.PAD*/get PAD() { + return 61; + }, + /*_http._CryptoUtils.CR*/get CR() { + return 13; + }, + /*_http._CryptoUtils.LF*/get LF() { + return 10; + }, + /*_http._CryptoUtils.LINE_LENGTH*/get LINE_LENGTH() { + return 76; + }, + /*_http._CryptoUtils._encodeTable*/get _encodeTable() { + return "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"; + }, + /*_http._CryptoUtils._encodeTableUrlSafe*/get _encodeTableUrlSafe() { + return "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"; + }, + /*_http._CryptoUtils._decodeTable*/get _decodeTable() { + return C[458] || CT.C458; + }, + /*_http._CryptoUtils._rng*/get _rng() { + return math.Random.secure(); + }, + set _rng(_) {} +}, false); +var _lengthInBytes = dart.privateName(_http, "_lengthInBytes"); +var _digestCalled = dart.privateName(_http, "_digestCalled"); +var _chunkSizeInWords$ = dart.privateName(_http, "_chunkSizeInWords"); +var _bigEndianWords$ = dart.privateName(_http, "_bigEndianWords"); +var _pendingData = dart.privateName(_http, "_pendingData"); +var _currentChunk = dart.privateName(_http, "_currentChunk"); +var _h = dart.privateName(_http, "_h"); +var _iterate = dart.privateName(_http, "_iterate"); +var _resultAsBytes = dart.privateName(_http, "_resultAsBytes"); +var _finalizeData = dart.privateName(_http, "_finalizeData"); +var _add32 = dart.privateName(_http, "_add32"); +var _roundUp = dart.privateName(_http, "_roundUp"); +var _rotl32 = dart.privateName(_http, "_rotl32"); +var _wordToBytes = dart.privateName(_http, "_wordToBytes"); +var _bytesToChunk = dart.privateName(_http, "_bytesToChunk"); +var _updateHash = dart.privateName(_http, "_updateHash"); +_http._HashBase = class _HashBase extends core.Object { + add(data) { + if (data == null) dart.nullFailed(I[178], 196, 17, "data"); + if (dart.test(this[_digestCalled])) { + dart.throw(new core.StateError.new("Hash update method called after digest was retrieved")); + } + this[_lengthInBytes] = dart.notNull(this[_lengthInBytes]) + dart.notNull(data[$length]); + this[_pendingData][$addAll](data); + this[_iterate](); + } + close() { + if (dart.test(this[_digestCalled])) { + return this[_resultAsBytes](); + } + this[_digestCalled] = true; + this[_finalizeData](); + this[_iterate](); + if (!(this[_pendingData][$length] === 0)) dart.assertFailed(null, I[178], 214, 12, "_pendingData.length == 0"); + return this[_resultAsBytes](); + } + get blockSize() { + return dart.notNull(this[_chunkSizeInWords$]) * 4; + } + [_add32](x, y) { + return dart.dsend(dart.dsend(x, '+', [y]), '&', [4294967295.0]); + } + [_roundUp](val, n) { + return dart.dsend(dart.dsend(dart.dsend(val, '+', [n]), '-', [1]), '&', [dart.dsend(n, '_negate', [])]); + } + [_rotl32](val, shift) { + if (val == null) dart.nullFailed(I[178], 234, 19, "val"); + if (shift == null) dart.nullFailed(I[178], 234, 28, "shift"); + let mod_shift = dart.notNull(shift) & 31; + return (val[$leftShift](mod_shift) & 4294967295.0 | ((dart.notNull(val) & 4294967295.0) >>> 0)[$rightShift](32 - mod_shift)) >>> 0; + } + [_resultAsBytes]() { + let result = T$.JSArrayOfint().of([]); + for (let i = 0; i < dart.notNull(this[_h][$length]); i = i + 1) { + result[$addAll](this[_wordToBytes](this[_h][$_get](i))); + } + return result; + } + [_bytesToChunk](data, dataIndex) { + if (data == null) dart.nullFailed(I[178], 250, 27, "data"); + if (dataIndex == null) dart.nullFailed(I[178], 250, 37, "dataIndex"); + if (!(dart.notNull(data[$length]) - dart.notNull(dataIndex) >= dart.notNull(this[_chunkSizeInWords$]) * 4)) dart.assertFailed(null, I[178], 251, 12, "(data.length - dataIndex) >= (_chunkSizeInWords * _BYTES_PER_WORD)"); + for (let wordIndex = 0; wordIndex < dart.notNull(this[_chunkSizeInWords$]); wordIndex = wordIndex + 1) { + let w3 = dart.test(this[_bigEndianWords$]) ? data[$_get](dataIndex) : data[$_get](dart.notNull(dataIndex) + 3); + let w2 = dart.test(this[_bigEndianWords$]) ? data[$_get](dart.notNull(dataIndex) + 1) : data[$_get](dart.notNull(dataIndex) + 2); + let w1 = dart.test(this[_bigEndianWords$]) ? data[$_get](dart.notNull(dataIndex) + 2) : data[$_get](dart.notNull(dataIndex) + 1); + let w0 = dart.test(this[_bigEndianWords$]) ? data[$_get](dart.notNull(dataIndex) + 3) : data[$_get](dataIndex); + dataIndex = dart.notNull(dataIndex) + 4; + let word = (dart.notNull(w3) & 255) << 24 >>> 0; + word = (word | (dart.notNull(w2) & 255) >>> 0 << 16 >>> 0) >>> 0; + word = (word | (dart.notNull(w1) & 255) >>> 0 << 8 >>> 0) >>> 0; + word = (word | (dart.notNull(w0) & 255) >>> 0) >>> 0; + this[_currentChunk][$_set](wordIndex, word); + } + } + [_wordToBytes](word) { + if (word == null) dart.nullFailed(I[178], 268, 30, "word"); + let bytes = T$0.ListOfint().filled(4, 0); + bytes[$_set](0, (word[$rightShift](dart.test(this[_bigEndianWords$]) ? 24 : 0) & 255) >>> 0); + bytes[$_set](1, (word[$rightShift](dart.test(this[_bigEndianWords$]) ? 16 : 8) & 255) >>> 0); + bytes[$_set](2, (word[$rightShift](dart.test(this[_bigEndianWords$]) ? 8 : 16) & 255) >>> 0); + bytes[$_set](3, (word[$rightShift](dart.test(this[_bigEndianWords$]) ? 0 : 24) & 255) >>> 0); + return bytes; + } + [_iterate]() { + let len = this[_pendingData][$length]; + let chunkSizeInBytes = dart.notNull(this[_chunkSizeInWords$]) * 4; + if (dart.notNull(len) >= chunkSizeInBytes) { + let index = 0; + for (; dart.notNull(len) - index >= chunkSizeInBytes; index = index + chunkSizeInBytes) { + this[_bytesToChunk](this[_pendingData], index); + this[_updateHash](this[_currentChunk]); + } + this[_pendingData] = this[_pendingData][$sublist](index, len); + } + } + [_finalizeData]() { + this[_pendingData][$add](128); + let contentsLength = dart.notNull(this[_lengthInBytes]) + 9; + let chunkSizeInBytes = dart.notNull(this[_chunkSizeInWords$]) * 4; + let finalizedLength = this[_roundUp](contentsLength, chunkSizeInBytes); + let zeroPadding = dart.dsend(finalizedLength, '-', [contentsLength]); + for (let i = 0; i < dart.notNull(core.num.as(zeroPadding)); i = i + 1) { + this[_pendingData][$add](0); + } + let lengthInBits = dart.notNull(this[_lengthInBytes]) * 8; + if (!(lengthInBits < math.pow(2, 32))) dart.assertFailed(null, I[178], 304, 12, "lengthInBits < pow(2, 32)"); + if (dart.test(this[_bigEndianWords$])) { + this[_pendingData][$addAll](this[_wordToBytes](0)); + this[_pendingData][$addAll](this[_wordToBytes]((lengthInBits & 4294967295.0) >>> 0)); + } else { + this[_pendingData][$addAll](this[_wordToBytes]((lengthInBits & 4294967295.0) >>> 0)); + this[_pendingData][$addAll](this[_wordToBytes](0)); + } + } +}; +(_http._HashBase.new = function(_chunkSizeInWords, digestSizeInWords, _bigEndianWords) { + if (_chunkSizeInWords == null) dart.nullFailed(I[178], 190, 18, "_chunkSizeInWords"); + if (digestSizeInWords == null) dart.nullFailed(I[178], 190, 41, "digestSizeInWords"); + if (_bigEndianWords == null) dart.nullFailed(I[178], 190, 65, "_bigEndianWords"); + this[_lengthInBytes] = 0; + this[_digestCalled] = false; + this[_chunkSizeInWords$] = _chunkSizeInWords; + this[_bigEndianWords$] = _bigEndianWords; + this[_pendingData] = T$.JSArrayOfint().of([]); + this[_currentChunk] = T$0.ListOfint().filled(_chunkSizeInWords, 0); + this[_h] = T$0.ListOfint().filled(digestSizeInWords, 0); + ; +}).prototype = _http._HashBase.prototype; +dart.addTypeTests(_http._HashBase); +dart.addTypeCaches(_http._HashBase); +dart.setMethodSignature(_http._HashBase, () => ({ + __proto__: dart.getMethods(_http._HashBase.__proto__), + add: dart.fnType(dart.dynamic, [core.List$(core.int)]), + close: dart.fnType(core.List$(core.int), []), + [_add32]: dart.fnType(dart.dynamic, [dart.dynamic, dart.dynamic]), + [_roundUp]: dart.fnType(dart.dynamic, [dart.dynamic, dart.dynamic]), + [_rotl32]: dart.fnType(core.int, [core.int, core.int]), + [_resultAsBytes]: dart.fnType(core.List$(core.int), []), + [_bytesToChunk]: dart.fnType(dart.dynamic, [core.List$(core.int), core.int]), + [_wordToBytes]: dart.fnType(core.List$(core.int), [core.int]), + [_iterate]: dart.fnType(dart.dynamic, []), + [_finalizeData]: dart.fnType(dart.dynamic, []) +})); +dart.setGetterSignature(_http._HashBase, () => ({ + __proto__: dart.getGetters(_http._HashBase.__proto__), + blockSize: core.int +})); +dart.setLibraryUri(_http._HashBase, I[177]); +dart.setFieldSignature(_http._HashBase, () => ({ + __proto__: dart.getFields(_http._HashBase.__proto__), + [_chunkSizeInWords$]: dart.finalFieldType(core.int), + [_bigEndianWords$]: dart.finalFieldType(core.bool), + [_lengthInBytes]: dart.fieldType(core.int), + [_pendingData]: dart.fieldType(core.List$(core.int)), + [_currentChunk]: dart.fieldType(core.List$(core.int)), + [_h]: dart.fieldType(core.List$(core.int)), + [_digestCalled]: dart.fieldType(core.bool) +})); +_http._MD5 = class _MD5 extends _http._HashBase { + newInstance() { + return new _http._MD5.new(); + } + [_updateHash](m) { + if (m == null) dart.nullFailed(I[178], 352, 30, "m"); + if (!(m[$length] === 16)) dart.assertFailed(null, I[178], 353, 12, "m.length == 16"); + let a = this[_h][$_get](0); + let b = this[_h][$_get](1); + let c = this[_h][$_get](2); + let d = this[_h][$_get](3); + let t0 = null; + let t1 = null; + for (let i = 0; i < 64; i = i + 1) { + if (i < 16) { + t0 = (dart.notNull(b) & dart.notNull(c) | (~dart.notNull(b) & 4294967295.0 & dart.notNull(d)) >>> 0) >>> 0; + t1 = i; + } else if (i < 32) { + t0 = (dart.notNull(d) & dart.notNull(b) | (~dart.notNull(d) & 4294967295.0 & dart.notNull(c)) >>> 0) >>> 0; + t1 = (5 * i + 1)[$modulo](16); + } else if (i < 48) { + t0 = (dart.notNull(b) ^ dart.notNull(c) ^ dart.notNull(d)) >>> 0; + t1 = (3 * i + 5)[$modulo](16); + } else { + t0 = (dart.notNull(c) ^ (dart.notNull(b) | (~dart.notNull(d) & 4294967295.0) >>> 0) >>> 0) >>> 0; + t1 = (7 * i)[$modulo](16); + } + let temp = d; + d = c; + c = b; + b = core.int.as(this[_add32](b, this[_rotl32](core.int.as(this[_add32](this[_add32](a, t0), this[_add32](_http._MD5._k[$_get](i), m[$_get](core.int.as(t1))))), _http._MD5._r[$_get](i)))); + a = temp; + } + this[_h][$_set](0, core.int.as(this[_add32](a, this[_h][$_get](0)))); + this[_h][$_set](1, core.int.as(this[_add32](b, this[_h][$_get](1)))); + this[_h][$_set](2, core.int.as(this[_add32](c, this[_h][$_get](2)))); + this[_h][$_set](3, core.int.as(this[_add32](d, this[_h][$_get](3)))); + } +}; +(_http._MD5.new = function() { + _http._MD5.__proto__.new.call(this, 16, 4, false); + this[_h][$_set](0, 1732584193); + this[_h][$_set](1, 4023233417); + this[_h][$_set](2, 2562383102); + this[_h][$_set](3, 271733878); +}).prototype = _http._MD5.prototype; +dart.addTypeTests(_http._MD5); +dart.addTypeCaches(_http._MD5); +dart.setMethodSignature(_http._MD5, () => ({ + __proto__: dart.getMethods(_http._MD5.__proto__), + newInstance: dart.fnType(_http._MD5, []), + [_updateHash]: dart.fnType(dart.void, [core.List$(core.int)]) +})); +dart.setLibraryUri(_http._MD5, I[177]); +dart.defineLazy(_http._MD5, { + /*_http._MD5._k*/get _k() { + return C[459] || CT.C459; + }, + /*_http._MD5._r*/get _r() { + return C[460] || CT.C460; + } +}, false); +var _w = dart.privateName(_http, "_w"); +_http._SHA1 = class _SHA1 extends _http._HashBase { + newInstance() { + return new _http._SHA1.new(); + } + [_updateHash](m) { + if (m == null) dart.nullFailed(I[178], 415, 30, "m"); + if (!(m[$length] === 16)) dart.assertFailed(null, I[178], 416, 12, "m.length == 16"); + let a = this[_h][$_get](0); + let b = this[_h][$_get](1); + let c = this[_h][$_get](2); + let d = this[_h][$_get](3); + let e = this[_h][$_get](4); + for (let i = 0; i < 80; i = i + 1) { + if (i < 16) { + this[_w][$_set](i, m[$_get](i)); + } else { + let n = (dart.notNull(this[_w][$_get](i - 3)) ^ dart.notNull(this[_w][$_get](i - 8)) ^ dart.notNull(this[_w][$_get](i - 14)) ^ dart.notNull(this[_w][$_get](i - 16))) >>> 0; + this[_w][$_set](i, this[_rotl32](n, 1)); + } + let t = this[_add32](this[_add32](this[_rotl32](a, 5), e), this[_w][$_get](i)); + if (i < 20) { + t = this[_add32](this[_add32](t, (dart.notNull(b) & dart.notNull(c) | (~dart.notNull(b) & dart.notNull(d)) >>> 0) >>> 0), 1518500249); + } else if (i < 40) { + t = this[_add32](this[_add32](t, (dart.notNull(b) ^ dart.notNull(c) ^ dart.notNull(d)) >>> 0), 1859775393); + } else if (i < 60) { + t = this[_add32](this[_add32](t, (dart.notNull(b) & dart.notNull(c) | (dart.notNull(b) & dart.notNull(d)) >>> 0 | (dart.notNull(c) & dart.notNull(d)) >>> 0) >>> 0), 2400959708); + } else { + t = this[_add32](this[_add32](t, (dart.notNull(b) ^ dart.notNull(c) ^ dart.notNull(d)) >>> 0), 3395469782); + } + e = d; + d = c; + c = this[_rotl32](b, 30); + b = a; + a = core.int.as(dart.dsend(t, '&', [4294967295.0])); + } + this[_h][$_set](0, core.int.as(this[_add32](a, this[_h][$_get](0)))); + this[_h][$_set](1, core.int.as(this[_add32](b, this[_h][$_get](1)))); + this[_h][$_set](2, core.int.as(this[_add32](c, this[_h][$_get](2)))); + this[_h][$_set](3, core.int.as(this[_add32](d, this[_h][$_get](3)))); + this[_h][$_set](4, core.int.as(this[_add32](e, this[_h][$_get](4)))); + } +}; +(_http._SHA1.new = function() { + this[_w] = T$0.ListOfint().filled(80, 0); + _http._SHA1.__proto__.new.call(this, 16, 5, true); + this[_h][$_set](0, 1732584193); + this[_h][$_set](1, 4023233417); + this[_h][$_set](2, 2562383102); + this[_h][$_set](3, 271733878); + this[_h][$_set](4, 3285377520); +}).prototype = _http._SHA1.prototype; +dart.addTypeTests(_http._SHA1); +dart.addTypeCaches(_http._SHA1); +dart.setMethodSignature(_http._SHA1, () => ({ + __proto__: dart.getMethods(_http._SHA1.__proto__), + newInstance: dart.fnType(_http._SHA1, []), + [_updateHash]: dart.fnType(dart.void, [core.List$(core.int)]) +})); +dart.setLibraryUri(_http._SHA1, I[177]); +dart.setFieldSignature(_http._SHA1, () => ({ + __proto__: dart.getFields(_http._SHA1.__proto__), + [_w]: dart.fieldType(core.List$(core.int)) +})); +_http.HttpDate = class HttpDate extends core.Object { + static format(date) { + let t264; + if (date == null) dart.nullFailed(I[179], 40, 33, "date"); + let wkday = C[461] || CT.C461; + let month = C[462] || CT.C462; + let d = date.toUtc(); + let sb = (t264 = new core.StringBuffer.new(), (() => { + t264.write(wkday[$_get](dart.notNull(d.weekday) - 1)); + t264.write(", "); + t264.write(dart.notNull(d.day) <= 9 ? "0" : ""); + t264.write(dart.toString(d.day)); + t264.write(" "); + t264.write(month[$_get](dart.notNull(d.month) - 1)); + t264.write(" "); + t264.write(dart.toString(d.year)); + t264.write(dart.notNull(d.hour) <= 9 ? " 0" : " "); + t264.write(dart.toString(d.hour)); + t264.write(dart.notNull(d.minute) <= 9 ? ":0" : ":"); + t264.write(dart.toString(d.minute)); + t264.write(dart.notNull(d.second) <= 9 ? ":0" : ":"); + t264.write(dart.toString(d.second)); + t264.write(" GMT"); + return t264; + })()); + return dart.toString(sb); + } + static parse(date) { + if (date == null) dart.nullFailed(I[179], 91, 32, "date"); + let SP = 32; + let wkdays = C[461] || CT.C461; + let weekdays = C[463] || CT.C463; + let months = C[462] || CT.C462; + let formatRfc1123 = 0; + let formatRfc850 = 1; + let formatAsctime = 2; + let index = 0; + let tmp = null; + function expect(s) { + if (s == null) dart.nullFailed(I[179], 125, 24, "s"); + if (date.length - index < s.length) { + dart.throw(new _http.HttpException.new("Invalid HTTP date " + dart.str(date))); + } + let tmp = date[$substring](index, index + s.length); + if (tmp !== s) { + dart.throw(new _http.HttpException.new("Invalid HTTP date " + dart.str(date))); + } + index = index + s.length; + } + dart.fn(expect, T$.StringTovoid()); + function expectWeekday() { + let weekday = null; + let pos = date[$indexOf](",", index); + if (pos === -1) { + let pos = date[$indexOf](" ", index); + if (pos === -1) dart.throw(new _http.HttpException.new("Invalid HTTP date " + dart.str(date))); + tmp = date[$substring](index, pos); + index = pos + 1; + weekday = wkdays[$indexOf](tmp); + if (weekday !== -1) { + return formatAsctime; + } + } else { + tmp = date[$substring](index, pos); + index = pos + 1; + weekday = wkdays[$indexOf](tmp); + if (weekday !== -1) { + return formatRfc1123; + } + weekday = weekdays[$indexOf](tmp); + if (weekday !== -1) { + return formatRfc850; + } + } + dart.throw(new _http.HttpException.new("Invalid HTTP date " + dart.str(date))); + } + dart.fn(expectWeekday, T$.VoidToint()); + function expectMonth(separator) { + if (separator == null) dart.nullFailed(I[179], 164, 28, "separator"); + let pos = date[$indexOf](separator, index); + if (pos - index !== 3) dart.throw(new _http.HttpException.new("Invalid HTTP date " + dart.str(date))); + tmp = date[$substring](index, pos); + index = pos + 1; + let month = months[$indexOf](tmp); + if (month !== -1) return month; + dart.throw(new _http.HttpException.new("Invalid HTTP date " + dart.str(date))); + } + dart.fn(expectMonth, T$0.StringToint()); + function expectNum(separator) { + if (separator == null) dart.nullFailed(I[179], 174, 26, "separator"); + let pos = null; + if (separator.length > 0) { + pos = date[$indexOf](separator, index); + } else { + pos = date.length; + } + let tmp = date[$substring](index, pos); + index = dart.notNull(pos) + separator.length; + try { + let value = core.int.parse(tmp); + return value; + } catch (e) { + let ex = dart.getThrown(e); + if (core.FormatException.is(ex)) { + dart.throw(new _http.HttpException.new("Invalid HTTP date " + dart.str(date))); + } else + throw e; + } + } + dart.fn(expectNum, T$0.StringToint()); + function expectEnd() { + if (index !== date.length) { + dart.throw(new _http.HttpException.new("Invalid HTTP date " + dart.str(date))); + } + } + dart.fn(expectEnd, T$.VoidTovoid()); + let format = expectWeekday(); + let year = null; + let month = null; + let day = null; + let hours = null; + let minutes = null; + let seconds = null; + if (format === formatAsctime) { + month = expectMonth(" "); + if (date[$codeUnitAt](index) === SP) index = index + 1; + day = expectNum(" "); + hours = expectNum(":"); + minutes = expectNum(":"); + seconds = expectNum(" "); + year = expectNum(""); + } else { + expect(" "); + day = expectNum(format === formatRfc1123 ? " " : "-"); + month = expectMonth(format === formatRfc1123 ? " " : "-"); + year = expectNum(" "); + hours = expectNum(":"); + minutes = expectNum(":"); + seconds = expectNum(" "); + expect("GMT"); + } + expectEnd(); + return new core.DateTime.utc(year, dart.notNull(month) + 1, day, hours, minutes, seconds, 0); + } + static _parseCookieDate(date) { + if (date == null) dart.nullFailed(I[179], 227, 43, "date"); + let monthsLowerCase = C[464] || CT.C464; + let position = 0; + function error() { + dart.throw(new _http.HttpException.new("Invalid cookie date " + dart.str(date))); + } + dart.fn(error, T$0.VoidToNever()); + function isEnd() { + return position === date.length; + } + dart.fn(isEnd, T$.VoidTobool()); + function isDelimiter(s) { + if (s == null) dart.nullFailed(I[179], 251, 29, "s"); + let char = s[$codeUnitAt](0); + if (char === 9) return true; + if (char >= 32 && char <= 47) return true; + if (char >= 59 && char <= 64) return true; + if (char >= 91 && char <= 96) return true; + if (char >= 123 && char <= 126) return true; + return false; + } + dart.fn(isDelimiter, T$.StringTobool()); + function isNonDelimiter(s) { + if (s == null) dart.nullFailed(I[179], 261, 32, "s"); + let char = s[$codeUnitAt](0); + if (char >= 0 && char <= 8) return true; + if (char >= 10 && char <= 31) return true; + if (char >= 48 && char <= 57) return true; + if (char === 58) return true; + if (char >= 65 && char <= 90) return true; + if (char >= 97 && char <= 122) return true; + if (char >= 127 && char <= 255) return true; + return false; + } + dart.fn(isNonDelimiter, T$.StringTobool()); + function isDigit(s) { + if (s == null) dart.nullFailed(I[179], 273, 25, "s"); + let char = s[$codeUnitAt](0); + if (char > 47 && char < 58) return true; + return false; + } + dart.fn(isDigit, T$.StringTobool()); + function getMonth(month) { + if (month == null) dart.nullFailed(I[179], 279, 25, "month"); + if (month.length < 3) return -1; + return monthsLowerCase[$indexOf](month[$substring](0, 3)); + } + dart.fn(getMonth, T$0.StringToint()); + function toInt(s) { + if (s == null) dart.nullFailed(I[179], 284, 22, "s"); + let index = 0; + for (; index < s.length && dart.test(isDigit(s[$_get](index))); index = index + 1) + ; + return core.int.parse(s[$substring](0, index)); + } + dart.fn(toInt, T$0.StringToint()); + let tokens = []; + while (!dart.test(isEnd())) { + while (!dart.test(isEnd()) && dart.test(isDelimiter(date[$_get](position)))) + position = position + 1; + let start = position; + while (!dart.test(isEnd()) && dart.test(isNonDelimiter(date[$_get](position)))) + position = position + 1; + tokens[$add](date[$substring](start, position)[$toLowerCase]()); + while (!dart.test(isEnd()) && dart.test(isDelimiter(date[$_get](position)))) + position = position + 1; + } + let timeStr = null; + let dayOfMonthStr = null; + let monthStr = null; + let yearStr = null; + for (let token of tokens) { + if (dart.dtest(dart.dsend(dart.dload(token, 'length'), '<', [1]))) continue; + if (timeStr == null && dart.dtest(dart.dsend(dart.dload(token, 'length'), '>=', [5])) && dart.test(isDigit(core.String.as(dart.dsend(token, '_get', [0])))) && (dart.equals(dart.dsend(token, '_get', [1]), ":") || dart.test(isDigit(core.String.as(dart.dsend(token, '_get', [1])))) && dart.equals(dart.dsend(token, '_get', [2]), ":"))) { + timeStr = T$.StringN().as(token); + } else if (dayOfMonthStr == null && dart.test(isDigit(core.String.as(dart.dsend(token, '_get', [0]))))) { + dayOfMonthStr = T$.StringN().as(token); + } else if (monthStr == null && dart.notNull(getMonth(core.String.as(token))) >= 0) { + monthStr = T$.StringN().as(token); + } else if (yearStr == null && dart.dtest(dart.dsend(dart.dload(token, 'length'), '>=', [2])) && dart.test(isDigit(core.String.as(dart.dsend(token, '_get', [0])))) && dart.test(isDigit(core.String.as(dart.dsend(token, '_get', [1]))))) { + yearStr = T$.StringN().as(token); + } + } + if (timeStr == null || dayOfMonthStr == null || monthStr == null || yearStr == null) { + error(); + dart.throw(new _internal.ReachabilityError.new("`null` encountered as the result from expression with type `Never`.")); + } + let year = toInt(yearStr); + if (dart.notNull(year) >= 70 && dart.notNull(year) <= 99) + year = dart.notNull(year) + 1900; + else if (dart.notNull(year) >= 0 && dart.notNull(year) <= 69) year = dart.notNull(year) + 2000; + if (dart.notNull(year) < 1601) { + error(); + dart.throw(new _internal.ReachabilityError.new("`null` encountered as the result from expression with type `Never`.")); + } + let dayOfMonth = toInt(dayOfMonthStr); + if (dart.notNull(dayOfMonth) < 1 || dart.notNull(dayOfMonth) > 31) { + error(); + dart.throw(new _internal.ReachabilityError.new("`null` encountered as the result from expression with type `Never`.")); + } + let month = dart.notNull(getMonth(monthStr)) + 1; + let timeList = timeStr[$split](":"); + if (timeList[$length] !== 3) { + error(); + dart.throw(new _internal.ReachabilityError.new("`null` encountered as the result from expression with type `Never`.")); + } + let hour = toInt(timeList[$_get](0)); + let minute = toInt(timeList[$_get](1)); + let second = toInt(timeList[$_get](2)); + if (dart.notNull(hour) > 23) { + error(); + dart.throw(new _internal.ReachabilityError.new("`null` encountered as the result from expression with type `Never`.")); + } + if (dart.notNull(minute) > 59) { + error(); + dart.throw(new _internal.ReachabilityError.new("`null` encountered as the result from expression with type `Never`.")); + } + if (dart.notNull(second) > 59) { + error(); + dart.throw(new _internal.ReachabilityError.new("`null` encountered as the result from expression with type `Never`.")); + } + return new core.DateTime.utc(year, month, dayOfMonth, hour, minute, second, 0); + } +}; +(_http.HttpDate.new = function() { + ; +}).prototype = _http.HttpDate.prototype; +dart.addTypeTests(_http.HttpDate); +dart.addTypeCaches(_http.HttpDate); +dart.setLibraryUri(_http.HttpDate, I[177]); +var _originalHeaderNames = dart.privateName(_http, "_originalHeaderNames"); +var _mutable = dart.privateName(_http, "_mutable"); +var _noFoldingHeaders = dart.privateName(_http, "_noFoldingHeaders"); +var _contentLength = dart.privateName(_http, "_contentLength"); +var _persistentConnection = dart.privateName(_http, "_persistentConnection"); +var _chunkedTransferEncoding = dart.privateName(_http, "_chunkedTransferEncoding"); +var _host = dart.privateName(_http, "_host"); +var _port = dart.privateName(_http, "_port"); +var _headers = dart.privateName(_http, "_headers"); +var _defaultPortForScheme = dart.privateName(_http, "_defaultPortForScheme"); +var _checkMutable = dart.privateName(_http, "_checkMutable"); +var _addAll = dart.privateName(_http, "_addAll"); +var _add$1 = dart.privateName(_http, "_add"); +var _valueToString = dart.privateName(_http, "_valueToString"); +var _originalHeaderName = dart.privateName(_http, "_originalHeaderName"); +var _set = dart.privateName(_http, "_set"); +var _addValue = dart.privateName(_http, "_addValue"); +var _updateHostHeader = dart.privateName(_http, "_updateHostHeader"); +var _addDate = dart.privateName(_http, "_addDate"); +var _addHost = dart.privateName(_http, "_addHost"); +var _addExpires = dart.privateName(_http, "_addExpires"); +var _addConnection = dart.privateName(_http, "_addConnection"); +var _addContentType = dart.privateName(_http, "_addContentType"); +var _addContentLength = dart.privateName(_http, "_addContentLength"); +var _addTransferEncoding = dart.privateName(_http, "_addTransferEncoding"); +var _addIfModifiedSince = dart.privateName(_http, "_addIfModifiedSince"); +var _foldHeader = dart.privateName(_http, "_foldHeader"); +var _finalize = dart.privateName(_http, "_finalize"); +var _build = dart.privateName(_http, "_build"); +var _parseCookies = dart.privateName(_http, "_parseCookies"); +_http._HttpHeaders = class _HttpHeaders extends core.Object { + _get(name) { + if (name == null) dart.nullFailed(I[180], 43, 36, "name"); + return this[_headers][$_get](_http._HttpHeaders._validateField(name)); + } + value(name) { + if (name == null) dart.nullFailed(I[180], 45, 24, "name"); + name = _http._HttpHeaders._validateField(name); + let values = this[_headers][$_get](name); + if (values == null) return null; + if (!dart.test(values[$isNotEmpty])) dart.assertFailed(null, I[180], 49, 12, "values.isNotEmpty"); + if (dart.notNull(values[$length]) > 1) { + dart.throw(new _http.HttpException.new("More than one value for header " + dart.str(name))); + } + return values[$_get](0); + } + add(name, value, opts) { + let t266, t266$; + if (name == null) dart.nullFailed(I[180], 56, 19, "name"); + if (value == null) dart.nullFailed(I[180], 56, 25, "value"); + let preserveHeaderCase = opts && 'preserveHeaderCase' in opts ? opts.preserveHeaderCase : false; + if (preserveHeaderCase == null) dart.nullFailed(I[180], 56, 38, "preserveHeaderCase"); + this[_checkMutable](); + let lowercaseName = _http._HttpHeaders._validateField(name); + if (dart.test(preserveHeaderCase) && name != lowercaseName) { + (t266 = this[_originalHeaderNames], t266 == null ? this[_originalHeaderNames] = new (T$.IdentityMapOfString$String()).new() : t266)[$_set](lowercaseName, name); + } else { + t266$ = this[_originalHeaderNames]; + t266$ == null ? null : t266$[$remove](lowercaseName); + } + this[_addAll](lowercaseName, value); + } + [_addAll](name, value) { + if (name == null) dart.nullFailed(I[180], 68, 23, "name"); + if (core.Iterable.is(value)) { + for (let v of value) { + this[_add$1](name, _http._HttpHeaders._validateValue(core.Object.as(v))); + } + } else { + this[_add$1](name, _http._HttpHeaders._validateValue(core.Object.as(value))); + } + } + set(name, value, opts) { + let t266, t266$; + if (name == null) dart.nullFailed(I[180], 78, 19, "name"); + if (value == null) dart.nullFailed(I[180], 78, 32, "value"); + let preserveHeaderCase = opts && 'preserveHeaderCase' in opts ? opts.preserveHeaderCase : false; + if (preserveHeaderCase == null) dart.nullFailed(I[180], 78, 45, "preserveHeaderCase"); + this[_checkMutable](); + let lowercaseName = _http._HttpHeaders._validateField(name); + this[_headers][$remove](lowercaseName); + t266 = this[_originalHeaderNames]; + t266 == null ? null : t266[$remove](lowercaseName); + if (lowercaseName === "content-length") { + this[_contentLength] = -1; + } + if (lowercaseName === "transfer-encoding") { + this[_chunkedTransferEncoding] = false; + } + if (dart.test(preserveHeaderCase) && name != lowercaseName) { + (t266$ = this[_originalHeaderNames], t266$ == null ? this[_originalHeaderNames] = new (T$.IdentityMapOfString$String()).new() : t266$)[$_set](lowercaseName, name); + } + this[_addAll](lowercaseName, value); + } + remove(name, value) { + let t266; + if (name == null) dart.nullFailed(I[180], 95, 22, "name"); + if (value == null) dart.nullFailed(I[180], 95, 35, "value"); + this[_checkMutable](); + name = _http._HttpHeaders._validateField(name); + value = _http._HttpHeaders._validateValue(value); + let values = this[_headers][$_get](name); + if (values != null) { + values[$remove](this[_valueToString](value)); + if (values[$length] === 0) { + this[_headers][$remove](name); + t266 = this[_originalHeaderNames]; + t266 == null ? null : t266[$remove](name); + } + } + if (name === "transfer-encoding" && dart.equals(value, "chunked")) { + this[_chunkedTransferEncoding] = false; + } + } + removeAll(name) { + let t266; + if (name == null) dart.nullFailed(I[180], 112, 25, "name"); + this[_checkMutable](); + name = _http._HttpHeaders._validateField(name); + this[_headers][$remove](name); + t266 = this[_originalHeaderNames]; + t266 == null ? null : t266[$remove](name); + } + forEach(action) { + if (action == null) dart.nullFailed(I[180], 119, 21, "action"); + this[_headers][$forEach](dart.fn((name, values) => { + if (name == null) dart.nullFailed(I[180], 120, 30, "name"); + if (values == null) dart.nullFailed(I[180], 120, 49, "values"); + let originalName = this[_originalHeaderName](name); + action(originalName, values); + }, T$0.StringAndListOfStringTovoid())); + } + noFolding(name) { + let t266; + if (name == null) dart.nullFailed(I[180], 126, 25, "name"); + name = _http._HttpHeaders._validateField(name); + (t266 = this[_noFoldingHeaders], t266 == null ? this[_noFoldingHeaders] = T$.JSArrayOfString().of([]) : t266)[$add](name); + } + get persistentConnection() { + return this[_persistentConnection]; + } + set persistentConnection(persistentConnection) { + if (persistentConnection == null) dart.nullFailed(I[180], 133, 38, "persistentConnection"); + this[_checkMutable](); + if (persistentConnection == this[_persistentConnection]) return; + let originalName = this[_originalHeaderName]("connection"); + if (dart.test(persistentConnection)) { + if (this.protocolVersion === "1.1") { + this.remove("connection", "close"); + } else { + if (dart.notNull(this[_contentLength]) < 0) { + dart.throw(new _http.HttpException.new("Trying to set 'Connection: Keep-Alive' on HTTP 1.0 headers with " + "no ContentLength")); + } + this.add(originalName, "keep-alive", {preserveHeaderCase: true}); + } + } else { + if (this.protocolVersion === "1.1") { + this.add(originalName, "close", {preserveHeaderCase: true}); + } else { + this.remove("connection", "keep-alive"); + } + } + this[_persistentConnection] = persistentConnection; + } + get contentLength() { + return this[_contentLength]; + } + set contentLength(contentLength) { + if (contentLength == null) dart.nullFailed(I[180], 160, 30, "contentLength"); + this[_checkMutable](); + if (this.protocolVersion === "1.0" && dart.test(this.persistentConnection) && contentLength === -1) { + dart.throw(new _http.HttpException.new("Trying to clear ContentLength on HTTP 1.0 headers with " + "'Connection: Keep-Alive' set")); + } + if (this[_contentLength] == contentLength) return; + this[_contentLength] = contentLength; + if (dart.notNull(this[_contentLength]) >= 0) { + if (dart.test(this.chunkedTransferEncoding)) this.chunkedTransferEncoding = false; + this[_set]("content-length", dart.toString(contentLength)); + } else { + this[_headers][$remove]("content-length"); + if (this.protocolVersion === "1.1") { + this.chunkedTransferEncoding = true; + } + } + } + get chunkedTransferEncoding() { + return this[_chunkedTransferEncoding]; + } + set chunkedTransferEncoding(chunkedTransferEncoding) { + if (chunkedTransferEncoding == null) dart.nullFailed(I[180], 184, 41, "chunkedTransferEncoding"); + this[_checkMutable](); + if (dart.test(chunkedTransferEncoding) && this.protocolVersion === "1.0") { + dart.throw(new _http.HttpException.new("Trying to set 'Transfer-Encoding: Chunked' on HTTP 1.0 headers")); + } + if (chunkedTransferEncoding == this[_chunkedTransferEncoding]) return; + if (dart.test(chunkedTransferEncoding)) { + let values = this[_headers][$_get]("transfer-encoding"); + if (values == null || !dart.test(values[$contains]("chunked"))) { + this[_addValue]("transfer-encoding", "chunked"); + } + this.contentLength = -1; + } else { + this.remove("transfer-encoding", "chunked"); + } + this[_chunkedTransferEncoding] = chunkedTransferEncoding; + } + get host() { + return this[_host]; + } + set host(host) { + this[_checkMutable](); + this[_host] = host; + this[_updateHostHeader](); + } + get port() { + return this[_port]; + } + set port(port) { + this[_checkMutable](); + this[_port] = port; + this[_updateHostHeader](); + } + get ifModifiedSince() { + let values = this[_headers][$_get]("if-modified-since"); + if (values != null) { + if (!dart.test(values[$isNotEmpty])) dart.assertFailed(null, I[180], 224, 14, "values.isNotEmpty"); + try { + return _http.HttpDate.parse(values[$_get](0)); + } catch (e) { + let ex = dart.getThrown(e); + if (core.Exception.is(ex)) { + return null; + } else + throw e; + } + } + return null; + } + set ifModifiedSince(ifModifiedSince) { + this[_checkMutable](); + if (ifModifiedSince == null) { + this[_headers][$remove]("if-modified-since"); + } else { + let formatted = _http.HttpDate.format(ifModifiedSince.toUtc()); + this[_set]("if-modified-since", formatted); + } + } + get date() { + let values = this[_headers][$_get]("date"); + if (values != null) { + if (!dart.test(values[$isNotEmpty])) dart.assertFailed(null, I[180], 248, 14, "values.isNotEmpty"); + try { + return _http.HttpDate.parse(values[$_get](0)); + } catch (e) { + let ex = dart.getThrown(e); + if (core.Exception.is(ex)) { + return null; + } else + throw e; + } + } + return null; + } + set date(date) { + this[_checkMutable](); + if (date == null) { + this[_headers][$remove]("date"); + } else { + let formatted = _http.HttpDate.format(date.toUtc()); + this[_set]("date", formatted); + } + } + get expires() { + let values = this[_headers][$_get]("expires"); + if (values != null) { + if (!dart.test(values[$isNotEmpty])) dart.assertFailed(null, I[180], 272, 14, "values.isNotEmpty"); + try { + return _http.HttpDate.parse(values[$_get](0)); + } catch (e) { + let ex = dart.getThrown(e); + if (core.Exception.is(ex)) { + return null; + } else + throw e; + } + } + return null; + } + set expires(expires) { + this[_checkMutable](); + if (expires == null) { + this[_headers][$remove]("expires"); + } else { + let formatted = _http.HttpDate.format(expires.toUtc()); + this[_set]("expires", formatted); + } + } + get contentType() { + let values = this[_headers][$_get]("content-type"); + if (values != null) { + return _http.ContentType.parse(values[$_get](0)); + } else { + return null; + } + } + set contentType(contentType) { + this[_checkMutable](); + if (contentType == null) { + this[_headers][$remove]("content-type"); + } else { + this[_set]("content-type", dart.toString(contentType)); + } + } + clear() { + this[_checkMutable](); + this[_headers][$clear](); + this[_contentLength] = -1; + this[_persistentConnection] = true; + this[_chunkedTransferEncoding] = false; + this[_host] = null; + this[_port] = null; + } + [_add$1](name, value) { + if (name == null) dart.nullFailed(I[180], 322, 20, "name"); + if (!(name == _http._HttpHeaders._validateField(name))) dart.assertFailed(null, I[180], 323, 12, "name == _validateField(name)"); + switch (name.length) { + case 4: + { + if ("date" === name) { + this[_addDate](name, value); + return; + } + if ("host" === name) { + this[_addHost](name, value); + return; + } + break; + } + case 7: + { + if ("expires" === name) { + this[_addExpires](name, value); + return; + } + break; + } + case 10: + { + if ("connection" === name) { + this[_addConnection](name, value); + return; + } + break; + } + case 12: + { + if ("content-type" === name) { + this[_addContentType](name, value); + return; + } + break; + } + case 14: + { + if ("content-length" === name) { + this[_addContentLength](name, value); + return; + } + break; + } + case 17: + { + if ("transfer-encoding" === name) { + this[_addTransferEncoding](name, value); + return; + } + if ("if-modified-since" === name) { + this[_addIfModifiedSince](name, value); + return; + } + } + } + this[_addValue](name, core.Object.as(value)); + } + [_addContentLength](name, value) { + if (name == null) dart.nullFailed(I[180], 374, 33, "name"); + if (core.int.is(value)) { + this.contentLength = value; + } else if (typeof value == 'string') { + this.contentLength = core.int.parse(value); + } else { + dart.throw(new _http.HttpException.new("Unexpected type for header named " + dart.str(name))); + } + } + [_addTransferEncoding](name, value) { + if (name == null) dart.nullFailed(I[180], 384, 36, "name"); + if (dart.equals(value, "chunked")) { + this.chunkedTransferEncoding = true; + } else { + this[_addValue]("transfer-encoding", core.Object.as(value)); + } + } + [_addDate](name, value) { + if (name == null) dart.nullFailed(I[180], 392, 24, "name"); + if (core.DateTime.is(value)) { + this.date = value; + } else if (typeof value == 'string') { + this[_set]("date", value); + } else { + dart.throw(new _http.HttpException.new("Unexpected type for header named " + dart.str(name))); + } + } + [_addExpires](name, value) { + if (name == null) dart.nullFailed(I[180], 402, 27, "name"); + if (core.DateTime.is(value)) { + this.expires = value; + } else if (typeof value == 'string') { + this[_set]("expires", value); + } else { + dart.throw(new _http.HttpException.new("Unexpected type for header named " + dart.str(name))); + } + } + [_addIfModifiedSince](name, value) { + if (name == null) dart.nullFailed(I[180], 412, 35, "name"); + if (core.DateTime.is(value)) { + this.ifModifiedSince = value; + } else if (typeof value == 'string') { + this[_set]("if-modified-since", value); + } else { + dart.throw(new _http.HttpException.new("Unexpected type for header named " + dart.str(name))); + } + } + [_addHost](name, value) { + if (name == null) dart.nullFailed(I[180], 422, 24, "name"); + if (typeof value == 'string') { + let pos = value[$indexOf](":"); + if (pos === -1) { + this[_host] = value; + this[_port] = 80; + } else { + if (pos > 0) { + this[_host] = value[$substring](0, pos); + } else { + this[_host] = null; + } + if (pos + 1 === value.length) { + this[_port] = 80; + } else { + try { + this[_port] = core.int.parse(value[$substring](pos + 1)); + } catch (e) { + let ex = dart.getThrown(e); + if (core.FormatException.is(ex)) { + this[_port] = null; + } else + throw e; + } + } + } + this[_set]("host", value); + } else { + dart.throw(new _http.HttpException.new("Unexpected type for header named " + dart.str(name))); + } + } + [_addConnection](name, value) { + if (name == null) dart.nullFailed(I[180], 450, 30, "name"); + let lowerCaseValue = dart.dsend(value, 'toLowerCase', []); + if (dart.equals(lowerCaseValue, "close")) { + this[_persistentConnection] = false; + } else if (dart.equals(lowerCaseValue, "keep-alive")) { + this[_persistentConnection] = true; + } + this[_addValue](name, core.Object.as(value)); + } + [_addContentType](name, value) { + if (name == null) dart.nullFailed(I[180], 460, 31, "name"); + this[_set]("content-type", core.String.as(value)); + } + [_addValue](name, value) { + let t277, t276, t275, t274; + if (name == null) dart.nullFailed(I[180], 464, 25, "name"); + if (value == null) dart.nullFailed(I[180], 464, 38, "value"); + let values = (t274 = this[_headers], t275 = name, t276 = t274[$_get](t275), t276 == null ? (t277 = T$.JSArrayOfString().of([]), t274[$_set](t275, t277), t277) : t276); + values[$add](this[_valueToString](value)); + } + [_valueToString](value) { + if (value == null) dart.nullFailed(I[180], 469, 32, "value"); + if (core.DateTime.is(value)) { + return _http.HttpDate.format(value); + } else if (typeof value == 'string') { + return value; + } else { + return core.String.as(_http._HttpHeaders._validateValue(dart.toString(value))); + } + } + [_set](name, value) { + if (name == null) dart.nullFailed(I[180], 479, 20, "name"); + if (value == null) dart.nullFailed(I[180], 479, 33, "value"); + if (!(name == _http._HttpHeaders._validateField(name))) dart.assertFailed(null, I[180], 480, 12, "name == _validateField(name)"); + this[_headers][$_set](name, T$.JSArrayOfString().of([value])); + } + [_checkMutable]() { + if (!dart.test(this[_mutable])) dart.throw(new _http.HttpException.new("HTTP headers are not mutable")); + } + [_updateHostHeader]() { + let host = this[_host]; + if (host != null) { + let defaultPort = this[_port] == null || this[_port] == this[_defaultPortForScheme]; + this[_set]("host", defaultPort ? host : dart.str(host) + ":" + dart.str(this[_port])); + } + } + [_foldHeader](name) { + if (name == null) dart.nullFailed(I[180], 496, 27, "name"); + if (name === "set-cookie") return false; + let noFoldingHeaders = this[_noFoldingHeaders]; + return noFoldingHeaders == null || !dart.test(noFoldingHeaders[$contains](name)); + } + [_finalize]() { + this[_mutable] = false; + } + [_build](builder) { + if (builder == null) dart.nullFailed(I[180], 506, 28, "builder"); + this[_headers][$forEach](dart.fn((name, values) => { + if (name == null) dart.nullFailed(I[180], 507, 30, "name"); + if (values == null) dart.nullFailed(I[180], 507, 49, "values"); + let originalName = this[_originalHeaderName](name); + let fold = this[_foldHeader](name); + let nameData = originalName[$codeUnits]; + builder.add(nameData); + builder.addByte(58); + builder.addByte(32); + for (let i = 0; i < dart.notNull(values[$length]); i = i + 1) { + if (i > 0) { + if (dart.test(fold)) { + builder.addByte(44); + builder.addByte(32); + } else { + builder.addByte(13); + builder.addByte(10); + builder.add(nameData); + builder.addByte(58); + builder.addByte(32); + } + } + builder.add(values[$_get](i)[$codeUnits]); + } + builder.addByte(13); + builder.addByte(10); + }, T$0.StringAndListOfStringTovoid())); + } + toString() { + let sb = new core.StringBuffer.new(); + this[_headers][$forEach](dart.fn((name, values) => { + let t274, t274$; + if (name == null) dart.nullFailed(I[180], 536, 30, "name"); + if (values == null) dart.nullFailed(I[180], 536, 49, "values"); + let originalName = this[_originalHeaderName](name); + t274 = sb; + (() => { + t274.write(originalName); + t274.write(": "); + return t274; + })(); + let fold = this[_foldHeader](name); + for (let i = 0; i < dart.notNull(values[$length]); i = i + 1) { + if (i > 0) { + if (dart.test(fold)) { + sb.write(", "); + } else { + t274$ = sb; + (() => { + t274$.write("\n"); + t274$.write(originalName); + t274$.write(": "); + return t274$; + })(); + } + } + sb.write(values[$_get](i)); + } + sb.write("\n"); + }, T$0.StringAndListOfStringTovoid())); + return sb.toString(); + } + [_parseCookies]() { + let cookies = T$0.JSArrayOfCookie().of([]); + function parseCookieString(s) { + if (s == null) dart.nullFailed(I[180], 558, 35, "s"); + let index = 0; + function done() { + return index === -1 || index === s.length; + } + dart.fn(done, T$.VoidTobool()); + function skipWS() { + while (!dart.test(done())) { + if (s[$_get](index) !== " " && s[$_get](index) !== "\t") return; + index = index + 1; + } + } + dart.fn(skipWS, T$.VoidTovoid()); + function parseName() { + let start = index; + while (!dart.test(done())) { + if (s[$_get](index) === " " || s[$_get](index) === "\t" || s[$_get](index) === "=") break; + index = index + 1; + } + return s[$substring](start, index); + } + dart.fn(parseName, T$.VoidToString()); + function parseValue() { + let start = index; + while (!dart.test(done())) { + if (s[$_get](index) === " " || s[$_get](index) === "\t" || s[$_get](index) === ";") break; + index = index + 1; + } + return s[$substring](start, index); + } + dart.fn(parseValue, T$.VoidToString()); + function expect(expected) { + if (expected == null) dart.nullFailed(I[180], 588, 26, "expected"); + if (dart.test(done())) return false; + if (s[$_get](index) !== expected) return false; + index = index + 1; + return true; + } + dart.fn(expect, T$.StringTobool()); + while (!dart.test(done())) { + skipWS(); + if (dart.test(done())) return; + let name = parseName(); + skipWS(); + if (!dart.test(expect("="))) { + index = s[$indexOf](";", index); + continue; + } + skipWS(); + let value = parseValue(); + try { + cookies[$add](new _http._Cookie.new(name, value)); + } catch (e) { + let _ = dart.getThrown(e); + if (core.Object.is(_)) { + } else + throw e; + } + skipWS(); + if (dart.test(done())) return; + if (!dart.test(expect(";"))) { + index = s[$indexOf](";", index); + continue; + } + } + } + dart.fn(parseCookieString, T$.StringTovoid()); + let values = this[_headers][$_get]("cookie"); + if (values != null) { + values[$forEach](dart.fn(headerValue => { + if (headerValue == null) dart.nullFailed(I[180], 622, 23, "headerValue"); + return parseCookieString(headerValue); + }, T$.StringTovoid())); + } + return cookies; + } + static _validateField(field) { + if (field == null) dart.nullFailed(I[180], 627, 39, "field"); + for (let i = 0; i < field.length; i = i + 1) { + if (!dart.test(_http._HttpParser._isTokenChar(field[$codeUnitAt](i)))) { + dart.throw(new core.FormatException.new("Invalid HTTP header field name: " + dart.str(convert.json.encode(field)), field, i)); + } + } + return field[$toLowerCase](); + } + static _validateValue(value) { + if (value == null) dart.nullFailed(I[180], 637, 39, "value"); + if (!(typeof value == 'string')) return value; + for (let i = 0; i < value.length; i = i + 1) { + if (!dart.test(_http._HttpParser._isValueChar(value[$codeUnitAt](i)))) { + dart.throw(new core.FormatException.new("Invalid HTTP header field value: " + dart.str(convert.json.encode(value)), value, i)); + } + } + return value; + } + [_originalHeaderName](name) { + let t275, t275$; + if (name == null) dart.nullFailed(I[180], 648, 37, "name"); + t275$ = (t275 = this[_originalHeaderNames], t275 == null ? null : t275[$_get](name)); + return t275$ == null ? name : t275$; + } +}; +(_http._HttpHeaders.new = function(protocolVersion, opts) { + if (protocolVersion == null) dart.nullFailed(I[180], 24, 21, "protocolVersion"); + let defaultPortForScheme = opts && 'defaultPortForScheme' in opts ? opts.defaultPortForScheme : 80; + if (defaultPortForScheme == null) dart.nullFailed(I[180], 25, 12, "defaultPortForScheme"); + let initialHeaders = opts && 'initialHeaders' in opts ? opts.initialHeaders : null; + this[_originalHeaderNames] = null; + this[_mutable] = true; + this[_noFoldingHeaders] = null; + this[_contentLength] = -1; + this[_persistentConnection] = true; + this[_chunkedTransferEncoding] = false; + this[_host] = null; + this[_port] = null; + this.protocolVersion = protocolVersion; + this[_headers] = new (T$0.IdentityMapOfString$ListOfString()).new(); + this[_defaultPortForScheme] = defaultPortForScheme; + if (initialHeaders != null) { + initialHeaders[_headers][$forEach](dart.fn((name, value) => { + let t268, t267, t266; + if (name == null) dart.nullFailed(I[180], 30, 40, "name"); + if (value == null) dart.nullFailed(I[180], 30, 46, "value"); + t266 = this[_headers]; + t267 = name; + t268 = value; + t266[$_set](t267, t268); + return t268; + }, T$0.StringAndListOfStringTovoid())); + this[_contentLength] = initialHeaders[_contentLength]; + this[_persistentConnection] = initialHeaders[_persistentConnection]; + this[_chunkedTransferEncoding] = initialHeaders[_chunkedTransferEncoding]; + this[_host] = initialHeaders[_host]; + this[_port] = initialHeaders[_port]; + } + if (this.protocolVersion === "1.0") { + this[_persistentConnection] = false; + this[_chunkedTransferEncoding] = false; + } +}).prototype = _http._HttpHeaders.prototype; +dart.addTypeTests(_http._HttpHeaders); +dart.addTypeCaches(_http._HttpHeaders); +_http._HttpHeaders[dart.implements] = () => [_http.HttpHeaders]; +dart.setMethodSignature(_http._HttpHeaders, () => ({ + __proto__: dart.getMethods(_http._HttpHeaders.__proto__), + _get: dart.fnType(dart.nullable(core.List$(core.String)), [core.String]), + value: dart.fnType(dart.nullable(core.String), [core.String]), + add: dart.fnType(dart.void, [core.String, core.Object], {preserveHeaderCase: core.bool}, {}), + [_addAll]: dart.fnType(dart.void, [core.String, dart.dynamic]), + set: dart.fnType(dart.void, [core.String, core.Object], {preserveHeaderCase: core.bool}, {}), + remove: dart.fnType(dart.void, [core.String, core.Object]), + removeAll: dart.fnType(dart.void, [core.String]), + forEach: dart.fnType(dart.void, [dart.fnType(dart.void, [core.String, core.List$(core.String)])]), + noFolding: dart.fnType(dart.void, [core.String]), + clear: dart.fnType(dart.void, []), + [_add$1]: dart.fnType(dart.void, [core.String, dart.dynamic]), + [_addContentLength]: dart.fnType(dart.void, [core.String, dart.dynamic]), + [_addTransferEncoding]: dart.fnType(dart.void, [core.String, dart.dynamic]), + [_addDate]: dart.fnType(dart.void, [core.String, dart.dynamic]), + [_addExpires]: dart.fnType(dart.void, [core.String, dart.dynamic]), + [_addIfModifiedSince]: dart.fnType(dart.void, [core.String, dart.dynamic]), + [_addHost]: dart.fnType(dart.void, [core.String, dart.dynamic]), + [_addConnection]: dart.fnType(dart.void, [core.String, dart.dynamic]), + [_addContentType]: dart.fnType(dart.void, [core.String, dart.dynamic]), + [_addValue]: dart.fnType(dart.void, [core.String, core.Object]), + [_valueToString]: dart.fnType(core.String, [core.Object]), + [_set]: dart.fnType(dart.void, [core.String, core.String]), + [_checkMutable]: dart.fnType(dart.void, []), + [_updateHostHeader]: dart.fnType(dart.void, []), + [_foldHeader]: dart.fnType(core.bool, [core.String]), + [_finalize]: dart.fnType(dart.void, []), + [_build]: dart.fnType(dart.void, [_internal.BytesBuilder]), + [_parseCookies]: dart.fnType(core.List$(_http.Cookie), []), + [_originalHeaderName]: dart.fnType(core.String, [core.String]) +})); +dart.setGetterSignature(_http._HttpHeaders, () => ({ + __proto__: dart.getGetters(_http._HttpHeaders.__proto__), + persistentConnection: core.bool, + contentLength: core.int, + chunkedTransferEncoding: core.bool, + host: dart.nullable(core.String), + port: dart.nullable(core.int), + ifModifiedSince: dart.nullable(core.DateTime), + date: dart.nullable(core.DateTime), + expires: dart.nullable(core.DateTime), + contentType: dart.nullable(_http.ContentType) +})); +dart.setSetterSignature(_http._HttpHeaders, () => ({ + __proto__: dart.getSetters(_http._HttpHeaders.__proto__), + persistentConnection: core.bool, + contentLength: core.int, + chunkedTransferEncoding: core.bool, + host: dart.nullable(core.String), + port: dart.nullable(core.int), + ifModifiedSince: dart.nullable(core.DateTime), + date: dart.nullable(core.DateTime), + expires: dart.nullable(core.DateTime), + contentType: dart.nullable(_http.ContentType) +})); +dart.setLibraryUri(_http._HttpHeaders, I[177]); +dart.setFieldSignature(_http._HttpHeaders, () => ({ + __proto__: dart.getFields(_http._HttpHeaders.__proto__), + [_headers]: dart.finalFieldType(core.Map$(core.String, core.List$(core.String))), + [_originalHeaderNames]: dart.fieldType(dart.nullable(core.Map$(core.String, core.String))), + protocolVersion: dart.finalFieldType(core.String), + [_mutable]: dart.fieldType(core.bool), + [_noFoldingHeaders]: dart.fieldType(dart.nullable(core.List$(core.String))), + [_contentLength]: dart.fieldType(core.int), + [_persistentConnection]: dart.fieldType(core.bool), + [_chunkedTransferEncoding]: dart.fieldType(core.bool), + [_host]: dart.fieldType(dart.nullable(core.String)), + [_port]: dart.fieldType(dart.nullable(core.int)), + [_defaultPortForScheme]: dart.finalFieldType(core.int) +})); +dart.defineExtensionMethods(_http._HttpHeaders, ['toString']); +var _parameters = dart.privateName(_http, "_parameters"); +var _unmodifiableParameters = dart.privateName(_http, "_unmodifiableParameters"); +var _value$5 = dart.privateName(_http, "_value"); +var _parse = dart.privateName(_http, "_parse"); +var _ensureParameters = dart.privateName(_http, "_ensureParameters"); +_http._HeaderValue = class _HeaderValue extends core.Object { + static parse(value, opts) { + if (value == null) dart.nullFailed(I[180], 666, 36, "value"); + let parameterSeparator = opts && 'parameterSeparator' in opts ? opts.parameterSeparator : ";"; + if (parameterSeparator == null) dart.nullFailed(I[180], 667, 15, "parameterSeparator"); + let valueSeparator = opts && 'valueSeparator' in opts ? opts.valueSeparator : null; + let preserveBackslash = opts && 'preserveBackslash' in opts ? opts.preserveBackslash : false; + if (preserveBackslash == null) dart.nullFailed(I[180], 669, 12, "preserveBackslash"); + let result = new _http._HeaderValue.new(); + result[_parse](value, parameterSeparator, valueSeparator, preserveBackslash); + return result; + } + get value() { + return this[_value$5]; + } + [_ensureParameters]() { + let t275; + t275 = this[_parameters]; + return t275 == null ? this[_parameters] = new (T$0.IdentityMapOfString$StringN()).new() : t275; + } + get parameters() { + let t275; + t275 = this[_unmodifiableParameters]; + return t275 == null ? this[_unmodifiableParameters] = new (T$0.UnmodifiableMapViewOfString$StringN()).new(this[_ensureParameters]()) : t275; + } + static _isToken(token) { + if (token == null) dart.nullFailed(I[180], 684, 31, "token"); + if (token[$isEmpty]) { + return false; + } + let delimiters = "\"(),/:;<=>?@[]{}"; + for (let i = 0; i < token.length; i = i + 1) { + let codeUnit = token[$codeUnitAt](i); + if (codeUnit <= 32 || codeUnit >= 127 || delimiters[$indexOf](token[$_get](i)) >= 0) { + return false; + } + } + return true; + } + toString() { + let sb = new core.StringBuffer.new(); + sb.write(this[_value$5]); + let parameters = this[_parameters]; + if (parameters != null && dart.notNull(parameters[$length]) > 0) { + parameters[$forEach](dart.fn((name, value) => { + let t275, t275$; + if (name == null) dart.nullFailed(I[180], 705, 34, "name"); + t275 = sb; + (() => { + t275.write("; "); + t275.write(name); + return t275; + })(); + if (value != null) { + sb.write("="); + if (dart.test(_http._HeaderValue._isToken(value))) { + sb.write(value); + } else { + sb.write("\""); + let start = 0; + for (let i = 0; i < value.length; i = i + 1) { + let codeUnit = value[$codeUnitAt](i); + if (codeUnit === 92 || codeUnit === 34) { + sb.write(value[$substring](start, i)); + sb.write("\\"); + start = i; + } + } + t275$ = sb; + (() => { + t275$.write(value[$substring](start)); + t275$.write("\""); + return t275$; + })(); + } + } + }, T$0.StringAndStringNTovoid())); + } + return sb.toString(); + } + [_parse](s, parameterSeparator, valueSeparator, preserveBackslash) { + if (s == null) dart.nullFailed(I[180], 732, 22, "s"); + if (parameterSeparator == null) dart.nullFailed(I[180], 732, 32, "parameterSeparator"); + if (preserveBackslash == null) dart.nullFailed(I[180], 733, 12, "preserveBackslash"); + let index = 0; + function done() { + return index === s.length; + } + dart.fn(done, T$.VoidTobool()); + function skipWS() { + while (!dart.test(done())) { + if (s[$_get](index) !== " " && s[$_get](index) !== "\t") return; + index = index + 1; + } + } + dart.fn(skipWS, T$.VoidTovoid()); + function parseValue() { + let start = index; + while (!dart.test(done())) { + let char = s[$_get](index); + if (char === " " || char === "\t" || char === valueSeparator || char === parameterSeparator) break; + index = index + 1; + } + return s[$substring](start, index); + } + dart.fn(parseValue, T$.VoidToString()); + function expect(expected) { + if (expected == null) dart.nullFailed(I[180], 758, 24, "expected"); + if (dart.test(done()) || s[$_get](index) !== expected) { + dart.throw(new _http.HttpException.new("Failed to parse header value")); + } + index = index + 1; + } + dart.fn(expect, T$.StringTovoid()); + function maybeExpect(expected) { + if (expected == null) dart.nullFailed(I[180], 765, 29, "expected"); + if (dart.test(done()) || !s[$startsWith](expected, index)) { + return false; + } + index = index + 1; + return true; + } + dart.fn(maybeExpect, T$.StringTobool()); + const parseParameters = () => { + let parameters = this[_ensureParameters](); + function parseParameterName() { + let start = index; + while (!dart.test(done())) { + let char = s[$_get](index); + if (char === " " || char === "\t" || char === "=" || char === parameterSeparator || char === valueSeparator) break; + index = index + 1; + } + return s[$substring](start, index)[$toLowerCase](); + } + dart.fn(parseParameterName, T$.VoidToString()); + function parseParameterValue() { + if (!dart.test(done()) && s[$_get](index) === "\"") { + let sb = new core.StringBuffer.new(); + index = index + 1; + while (!dart.test(done())) { + let char = s[$_get](index); + if (char === "\\") { + if (index + 1 === s.length) { + dart.throw(new _http.HttpException.new("Failed to parse header value")); + } + if (dart.test(preserveBackslash) && s[$_get](index + 1) !== "\"") { + sb.write(char); + } + index = index + 1; + } else if (char === "\"") { + index = index + 1; + return sb.toString(); + } + char = s[$_get](index); + sb.write(char); + index = index + 1; + } + dart.throw(new _http.HttpException.new("Failed to parse header value")); + } else { + return parseValue(); + } + } + dart.fn(parseParameterValue, T$.VoidToString()); + while (!dart.test(done())) { + skipWS(); + if (dart.test(done())) return; + let name = parseParameterName(); + skipWS(); + if (dart.test(maybeExpect("="))) { + skipWS(); + let value = parseParameterValue(); + if (name === "charset" && _http._ContentType.is(this)) { + value = value[$toLowerCase](); + } + parameters[$_set](name, value); + skipWS(); + } else if (name[$isNotEmpty]) { + parameters[$_set](name, null); + } + if (dart.test(done())) return; + if (s[$_get](index) === valueSeparator) return; + expect(parameterSeparator); + } + }; + dart.fn(parseParameters, T$.VoidTovoid()); + skipWS(); + this[_value$5] = parseValue(); + skipWS(); + if (dart.test(done())) return; + if (s[$_get](index) === valueSeparator) return; + maybeExpect(parameterSeparator); + parseParameters(); + } +}; +(_http._HeaderValue.new = function(_value = "", parameters = C[452] || CT.C452) { + if (_value == null) dart.nullFailed(I[180], 658, 22, "_value"); + if (parameters == null) dart.nullFailed(I[180], 658, 56, "parameters"); + this[_parameters] = null; + this[_unmodifiableParameters] = null; + this[_value$5] = _value; + let nullableParameters = parameters; + if (nullableParameters != null && dart.test(nullableParameters[$isNotEmpty])) { + this[_parameters] = T$0.HashMapOfString$StringN().from(nullableParameters); + } +}).prototype = _http._HeaderValue.prototype; +dart.addTypeTests(_http._HeaderValue); +dart.addTypeCaches(_http._HeaderValue); +_http._HeaderValue[dart.implements] = () => [_http.HeaderValue]; +dart.setMethodSignature(_http._HeaderValue, () => ({ + __proto__: dart.getMethods(_http._HeaderValue.__proto__), + [_ensureParameters]: dart.fnType(core.Map$(core.String, dart.nullable(core.String)), []), + [_parse]: dart.fnType(dart.void, [core.String, core.String, dart.nullable(core.String), core.bool]) +})); +dart.setGetterSignature(_http._HeaderValue, () => ({ + __proto__: dart.getGetters(_http._HeaderValue.__proto__), + value: core.String, + parameters: core.Map$(core.String, dart.nullable(core.String)) +})); +dart.setLibraryUri(_http._HeaderValue, I[177]); +dart.setFieldSignature(_http._HeaderValue, () => ({ + __proto__: dart.getFields(_http._HeaderValue.__proto__), + [_value$5]: dart.fieldType(core.String), + [_parameters]: dart.fieldType(dart.nullable(core.Map$(core.String, dart.nullable(core.String)))), + [_unmodifiableParameters]: dart.fieldType(dart.nullable(core.Map$(core.String, dart.nullable(core.String)))) +})); +dart.defineExtensionMethods(_http._HeaderValue, ['toString']); +var _primaryType = dart.privateName(_http, "_primaryType"); +var _subType = dart.privateName(_http, "_subType"); +_http._ContentType = class _ContentType extends _http._HeaderValue { + static parse(value) { + if (value == null) dart.nullFailed(I[180], 887, 36, "value"); + let result = new _http._ContentType.__(); + result[_parse](value, ";", null, false); + let index = result[_value$5][$indexOf]("/"); + if (index === -1 || index === result[_value$5].length - 1) { + result[_primaryType] = result[_value$5][$trim]()[$toLowerCase](); + } else { + result[_primaryType] = result[_value$5][$substring](0, index)[$trim]()[$toLowerCase](); + result[_subType] = result[_value$5][$substring](index + 1)[$trim]()[$toLowerCase](); + } + return result; + } + get mimeType() { + return dart.str(this.primaryType) + "/" + dart.str(this.subType); + } + get primaryType() { + return this[_primaryType]; + } + get subType() { + return this[_subType]; + } + get charset() { + return this.parameters[$_get]("charset"); + } +}; +(_http._ContentType.new = function(primaryType, subType, charset, parameters) { + if (primaryType == null) dart.nullFailed(I[180], 858, 23, "primaryType"); + if (subType == null) dart.nullFailed(I[180], 858, 43, "subType"); + if (parameters == null) dart.nullFailed(I[180], 859, 28, "parameters"); + this[_primaryType] = ""; + this[_subType] = ""; + this[_primaryType] = primaryType; + this[_subType] = subType; + _http._ContentType.__proto__.new.call(this, ""); + function emptyIfNull(string) { + let t275; + t275 = string; + return t275 == null ? "" : t275; + } + dart.fn(emptyIfNull, T$0.StringNToString()); + this[_primaryType] = emptyIfNull(this[_primaryType]); + this[_subType] = emptyIfNull(this[_subType]); + this[_value$5] = dart.str(this[_primaryType]) + "/" + dart.str(this[_subType]); + let nullableParameters = parameters; + if (nullableParameters != null) { + let parameterMap = this[_ensureParameters](); + nullableParameters[$forEach](dart.fn((key, value) => { + let t275; + if (key == null) dart.nullFailed(I[180], 872, 42, "key"); + let lowerCaseKey = key[$toLowerCase](); + if (lowerCaseKey === "charset") { + value = (t275 = value, t275 == null ? null : t275[$toLowerCase]()); + } + parameterMap[$_set](lowerCaseKey, value); + }, T$0.StringAndStringNTovoid())); + } + if (charset != null) { + this[_ensureParameters]()[$_set]("charset", charset[$toLowerCase]()); + } +}).prototype = _http._ContentType.prototype; +(_http._ContentType.__ = function() { + this[_primaryType] = ""; + this[_subType] = ""; + _http._ContentType.__proto__.new.call(this); + ; +}).prototype = _http._ContentType.prototype; +dart.addTypeTests(_http._ContentType); +dart.addTypeCaches(_http._ContentType); +_http._ContentType[dart.implements] = () => [_http.ContentType]; +dart.setGetterSignature(_http._ContentType, () => ({ + __proto__: dart.getGetters(_http._ContentType.__proto__), + mimeType: core.String, + primaryType: core.String, + subType: core.String, + charset: dart.nullable(core.String) +})); +dart.setLibraryUri(_http._ContentType, I[177]); +dart.setFieldSignature(_http._ContentType, () => ({ + __proto__: dart.getFields(_http._ContentType.__proto__), + [_primaryType]: dart.fieldType(core.String), + [_subType]: dart.fieldType(core.String) +})); +var _path$3 = dart.privateName(_http, "_path"); +var _parseSetCookieValue = dart.privateName(_http, "_parseSetCookieValue"); +_http._Cookie = class _Cookie extends core.Object { + get name() { + return this[_name$7]; + } + get value() { + return this[_value$5]; + } + get path() { + return this[_path$3]; + } + set path(newPath) { + _http._Cookie._validatePath(newPath); + this[_path$3] = newPath; + } + set name(newName) { + if (newName == null) dart.nullFailed(I[180], 935, 19, "newName"); + _http._Cookie._validateName(newName); + this[_name$7] = newName; + } + set value(newValue) { + if (newValue == null) dart.nullFailed(I[180], 940, 20, "newValue"); + _http._Cookie._validateValue(newValue); + this[_value$5] = newValue; + } + [_parseSetCookieValue](s) { + if (s == null) dart.nullFailed(I[180], 953, 36, "s"); + let index = 0; + function done() { + return index === s.length; + } + dart.fn(done, T$.VoidTobool()); + function parseName() { + let start = index; + while (!dart.test(done())) { + if (s[$_get](index) === "=") break; + index = index + 1; + } + return s[$substring](start, index)[$trim](); + } + dart.fn(parseName, T$.VoidToString()); + function parseValue() { + let start = index; + while (!dart.test(done())) { + if (s[$_get](index) === ";") break; + index = index + 1; + } + return s[$substring](start, index)[$trim](); + } + dart.fn(parseValue, T$.VoidToString()); + const parseAttributes = () => { + function parseAttributeName() { + let start = index; + while (!dart.test(done())) { + if (s[$_get](index) === "=" || s[$_get](index) === ";") break; + index = index + 1; + } + return s[$substring](start, index)[$trim]()[$toLowerCase](); + } + dart.fn(parseAttributeName, T$.VoidToString()); + function parseAttributeValue() { + let start = index; + while (!dart.test(done())) { + if (s[$_get](index) === ";") break; + index = index + 1; + } + return s[$substring](start, index)[$trim]()[$toLowerCase](); + } + dart.fn(parseAttributeValue, T$.VoidToString()); + while (!dart.test(done())) { + let name = parseAttributeName(); + let value = ""; + if (!dart.test(done()) && s[$_get](index) === "=") { + index = index + 1; + value = parseAttributeValue(); + } + if (name === "expires") { + this.expires = _http.HttpDate._parseCookieDate(value); + } else if (name === "max-age") { + this.maxAge = core.int.parse(value); + } else if (name === "domain") { + this.domain = value; + } else if (name === "path") { + this.path = value; + } else if (name === "httponly") { + this.httpOnly = true; + } else if (name === "secure") { + this.secure = true; + } + if (!dart.test(done())) index = index + 1; + } + }; + dart.fn(parseAttributes, T$.VoidTovoid()); + this[_name$7] = _http._Cookie._validateName(parseName()); + if (dart.test(done()) || this[_name$7].length === 0) { + dart.throw(new _http.HttpException.new("Failed to parse header value [" + dart.str(s) + "]")); + } + index = index + 1; + this[_value$5] = _http._Cookie._validateValue(parseValue()); + if (dart.test(done())) return; + index = index + 1; + parseAttributes(); + } + toString() { + let t275, t275$, t275$0, t275$1, t275$2; + let sb = new core.StringBuffer.new(); + t275 = sb; + (() => { + t275.write(this[_name$7]); + t275.write("="); + t275.write(this[_value$5]); + return t275; + })(); + let expires = this.expires; + if (expires != null) { + t275$ = sb; + (() => { + t275$.write("; Expires="); + t275$.write(_http.HttpDate.format(expires)); + return t275$; + })(); + } + if (this.maxAge != null) { + t275$0 = sb; + (() => { + t275$0.write("; Max-Age="); + t275$0.write(this.maxAge); + return t275$0; + })(); + } + if (this.domain != null) { + t275$1 = sb; + (() => { + t275$1.write("; Domain="); + t275$1.write(this.domain); + return t275$1; + })(); + } + if (this.path != null) { + t275$2 = sb; + (() => { + t275$2.write("; Path="); + t275$2.write(this.path); + return t275$2; + })(); + } + if (dart.test(this.secure)) sb.write("; Secure"); + if (dart.test(this.httpOnly)) sb.write("; HttpOnly"); + return sb.toString(); + } + static _validateName(newName) { + if (newName == null) dart.nullFailed(I[180], 1051, 38, "newName"); + let separators = C[465] || CT.C465; + if (newName == null) dart.throw(new core.ArgumentError.notNull("name")); + for (let i = 0; i < newName.length; i = i + 1) { + let codeUnit = newName[$codeUnitAt](i); + if (codeUnit <= 32 || codeUnit >= 127 || dart.notNull(separators[$indexOf](newName[$_get](i))) >= 0) { + dart.throw(new core.FormatException.new("Invalid character in cookie name, code unit: '" + dart.str(codeUnit) + "'", newName, i)); + } + } + return newName; + } + static _validateValue(newValue) { + if (newValue == null) dart.nullFailed(I[180], 1086, 39, "newValue"); + if (newValue == null) dart.throw(new core.ArgumentError.notNull("value")); + let start = 0; + let end = newValue.length; + if (2 <= newValue.length && newValue[$codeUnits][$_get](start) === 34 && newValue[$codeUnits][$_get](end - 1) === 34) { + start = start + 1; + end = end - 1; + } + for (let i = start; i < end; i = i + 1) { + let codeUnit = newValue[$codeUnits][$_get](i); + if (!(codeUnit === 33 || dart.notNull(codeUnit) >= 35 && dart.notNull(codeUnit) <= 43 || dart.notNull(codeUnit) >= 45 && dart.notNull(codeUnit) <= 58 || dart.notNull(codeUnit) >= 60 && dart.notNull(codeUnit) <= 91 || dart.notNull(codeUnit) >= 93 && dart.notNull(codeUnit) <= 126)) { + dart.throw(new core.FormatException.new("Invalid character in cookie value, code unit: '" + dart.str(codeUnit) + "'", newValue, i)); + } + } + return newValue; + } + static _validatePath(path) { + if (path == null) return; + for (let i = 0; i < path.length; i = i + 1) { + let codeUnit = path[$codeUnitAt](i); + if (codeUnit < 32 || codeUnit >= 127 || codeUnit === 59) { + dart.throw(new core.FormatException.new("Invalid character in cookie path, code unit: '" + dart.str(codeUnit) + "'")); + } + } + } +}; +(_http._Cookie.new = function(name, value) { + if (name == null) dart.nullFailed(I[180], 920, 18, "name"); + if (value == null) dart.nullFailed(I[180], 920, 31, "value"); + this.expires = null; + this.maxAge = null; + this.domain = null; + this[_path$3] = null; + this.httpOnly = false; + this.secure = false; + this[_name$7] = _http._Cookie._validateName(name); + this[_value$5] = _http._Cookie._validateValue(value); + this.httpOnly = true; + ; +}).prototype = _http._Cookie.prototype; +(_http._Cookie.fromSetCookieValue = function(value) { + if (value == null) dart.nullFailed(I[180], 945, 37, "value"); + this.expires = null; + this.maxAge = null; + this.domain = null; + this[_path$3] = null; + this.httpOnly = false; + this.secure = false; + this[_name$7] = ""; + this[_value$5] = ""; + this[_parseSetCookieValue](value); +}).prototype = _http._Cookie.prototype; +dart.addTypeTests(_http._Cookie); +dart.addTypeCaches(_http._Cookie); +_http._Cookie[dart.implements] = () => [_http.Cookie]; +dart.setMethodSignature(_http._Cookie, () => ({ + __proto__: dart.getMethods(_http._Cookie.__proto__), + [_parseSetCookieValue]: dart.fnType(dart.void, [core.String]) +})); +dart.setGetterSignature(_http._Cookie, () => ({ + __proto__: dart.getGetters(_http._Cookie.__proto__), + name: core.String, + value: core.String, + path: dart.nullable(core.String) +})); +dart.setSetterSignature(_http._Cookie, () => ({ + __proto__: dart.getSetters(_http._Cookie.__proto__), + path: dart.nullable(core.String), + name: core.String, + value: core.String +})); +dart.setLibraryUri(_http._Cookie, I[177]); +dart.setFieldSignature(_http._Cookie, () => ({ + __proto__: dart.getFields(_http._Cookie.__proto__), + [_name$7]: dart.fieldType(core.String), + [_value$5]: dart.fieldType(core.String), + expires: dart.fieldType(dart.nullable(core.DateTime)), + maxAge: dart.fieldType(dart.nullable(core.int)), + domain: dart.fieldType(dart.nullable(core.String)), + [_path$3]: dart.fieldType(dart.nullable(core.String)), + httpOnly: dart.fieldType(core.bool), + secure: dart.fieldType(core.bool) +})); +dart.defineExtensionMethods(_http._Cookie, ['toString']); +var _timeline = dart.privateName(_http, "_timeline"); +_http.HttpProfiler = class HttpProfiler extends core.Object { + static startRequest(method, uri, opts) { + let t275; + if (method == null) dart.nullFailed(I[181], 13, 12, "method"); + if (uri == null) dart.nullFailed(I[181], 14, 9, "uri"); + let parentRequest = opts && 'parentRequest' in opts ? opts.parentRequest : null; + let data = new _http._HttpProfileData.new(method, uri, (t275 = parentRequest, t275 == null ? null : t275[_timeline])); + _http.HttpProfiler._profile[$_set](data.id, data); + return data; + } + static getHttpProfileRequest(id) { + if (id == null) dart.nullFailed(I[181], 22, 54, "id"); + return _http.HttpProfiler._profile[$_get](id); + } + static clear() { + return _http.HttpProfiler._profile[$clear](); + } + static toJson(updatedSince) { + return convert.json.encode(new (T$.IdentityMapOfString$Object()).from(["type", "HttpProfile", "timestamp", developer.Timeline.now, "requests", (() => { + let t275 = T$0.JSArrayOfMapOfString$dynamic().of([]); + for (let request of _http.HttpProfiler._profile[$values][$where](dart.fn(e => { + if (e == null) dart.nullFailed(I[181], 32, 12, "e"); + return updatedSince == null || dart.notNull(e.lastUpdateTime) >= dart.notNull(updatedSince); + }, T$0._HttpProfileDataTobool()))) + t275[$add](request.toJson()); + return t275; + })()])); + } +}; +(_http.HttpProfiler.new = function() { + ; +}).prototype = _http.HttpProfiler.prototype; +dart.addTypeTests(_http.HttpProfiler); +dart.addTypeCaches(_http.HttpProfiler); +dart.setLibraryUri(_http.HttpProfiler, I[177]); +dart.defineLazy(_http.HttpProfiler, { + /*_http.HttpProfiler._kType*/get _kType() { + return "HttpProfile"; + }, + /*_http.HttpProfiler._profile*/get _profile() { + return new (T$0.IdentityMapOfint$_HttpProfileData()).new(); + }, + set _profile(_) {} +}, false); +_http._HttpProfileEvent = class _HttpProfileEvent extends core.Object { + toJson() { + return (() => { + let t276 = new (T$0.IdentityMapOfString$dynamic()).new(); + t276[$_set]("timestamp", this.timestamp); + t276[$_set]("event", this.name); + if (this.arguments != null) t276[$_set]("arguments", this.arguments); + return t276; + })(); + } +}; +(_http._HttpProfileEvent.new = function(name, $arguments) { + if (name == null) dart.nullFailed(I[181], 43, 26, "name"); + this.timestamp = developer.Timeline.now; + this.name = name; + this.arguments = $arguments; + ; +}).prototype = _http._HttpProfileEvent.prototype; +dart.addTypeTests(_http._HttpProfileEvent); +dart.addTypeCaches(_http._HttpProfileEvent); +dart.setMethodSignature(_http._HttpProfileEvent, () => ({ + __proto__: dart.getMethods(_http._HttpProfileEvent.__proto__), + toJson: dart.fnType(core.Map$(core.String, dart.dynamic), []) +})); +dart.setLibraryUri(_http._HttpProfileEvent, I[177]); +dart.setFieldSignature(_http._HttpProfileEvent, () => ({ + __proto__: dart.getFields(_http._HttpProfileEvent.__proto__), + timestamp: dart.finalFieldType(core.int), + name: dart.finalFieldType(core.String), + arguments: dart.finalFieldType(dart.nullable(core.Map)) +})); +var ___HttpProfileData_id = dart.privateName(_http, "_#_HttpProfileData#id"); +var ___HttpProfileData_id_isSet = dart.privateName(_http, "_#_HttpProfileData#id#isSet"); +var ___HttpProfileData_requestStartTimestamp = dart.privateName(_http, "_#_HttpProfileData#requestStartTimestamp"); +var ___HttpProfileData_requestStartTimestamp_isSet = dart.privateName(_http, "_#_HttpProfileData#requestStartTimestamp#isSet"); +var ___HttpProfileData_requestEndTimestamp = dart.privateName(_http, "_#_HttpProfileData#requestEndTimestamp"); +var ___HttpProfileData_requestEndTimestamp_isSet = dart.privateName(_http, "_#_HttpProfileData#requestEndTimestamp#isSet"); +var ___HttpProfileData_responseStartTimestamp = dart.privateName(_http, "_#_HttpProfileData#responseStartTimestamp"); +var ___HttpProfileData_responseStartTimestamp_isSet = dart.privateName(_http, "_#_HttpProfileData#responseStartTimestamp#isSet"); +var ___HttpProfileData_responseEndTimestamp = dart.privateName(_http, "_#_HttpProfileData#responseEndTimestamp"); +var ___HttpProfileData_responseEndTimestamp_isSet = dart.privateName(_http, "_#_HttpProfileData#responseEndTimestamp#isSet"); +var _lastUpdateTime = dart.privateName(_http, "_lastUpdateTime"); +var ___HttpProfileData__responseTimeline = dart.privateName(_http, "_#_HttpProfileData#_responseTimeline"); +var ___HttpProfileData__responseTimeline_isSet = dart.privateName(_http, "_#_HttpProfileData#_responseTimeline#isSet"); +var _updated = dart.privateName(_http, "_updated"); +var _responseTimeline = dart.privateName(_http, "_responseTimeline"); +_http._HttpProfileData = class _HttpProfileData extends core.Object { + requestEvent(name, opts) { + if (name == null) dart.nullFailed(I[181], 76, 28, "name"); + let $arguments = opts && 'arguments' in opts ? opts.arguments : null; + this[_timeline].instant(name, {arguments: $arguments}); + this.requestEvents[$add](new _http._HttpProfileEvent.new(name, $arguments)); + this[_updated](); + } + proxyEvent(proxy) { + if (proxy == null) dart.nullFailed(I[181], 82, 26, "proxy"); + this.proxyDetails = (() => { + let t277 = new (T$0.IdentityMapOfString$dynamic()).new(); + if (proxy.host != null) t277[$_set]("host", proxy.host); + if (proxy.port != null) t277[$_set]("port", proxy.port); + if (proxy.username != null) t277[$_set]("username", proxy.username); + return t277; + })(); + this[_timeline].instant("Establishing proxy tunnel", {arguments: new _js_helper.LinkedMap.from(["proxyDetails", this.proxyDetails])}); + this[_updated](); + } + appendRequestData(data) { + if (data == null) dart.nullFailed(I[181], 94, 36, "data"); + this.requestBody[$addAll](data); + this[_updated](); + } + formatHeaders(r) { + let headers = new (T$0.IdentityMapOfString$ListOfString()).new(); + dart.dsend(dart.dload(r, 'headers'), 'forEach', [dart.fn((name, values) => { + headers[$_set](core.String.as(name), T$.ListOfString().as(values)); + }, T$.dynamicAnddynamicToNull())]); + return headers; + } + formatConnectionInfo(r) { + let t278, t278$, t278$0; + return dart.dload(r, 'connectionInfo') == null ? null : new _js_helper.LinkedMap.from(["localPort", (t278 = dart.dload(r, 'connectionInfo'), t278 == null ? null : dart.dload(t278, 'localPort')), "remoteAddress", (t278$ = dart.dload(r, 'connectionInfo'), t278$ == null ? null : dart.dload(dart.dload(t278$, 'remoteAddress'), 'address')), "remotePort", (t278$0 = dart.dload(r, 'connectionInfo'), t278$0 == null ? null : dart.dload(t278$0, 'remotePort'))]); + } + finishRequest(opts) { + let request = opts && 'request' in opts ? opts.request : null; + if (request == null) dart.nullFailed(I[181], 116, 32, "request"); + this.requestInProgress = false; + this.requestEndTimestamp = developer.Timeline.now; + this.requestDetails = new (T$0.IdentityMapOfString$dynamic()).from(["headers", this.formatHeaders(request), "connectionInfo", this.formatConnectionInfo(request), "contentLength", request.contentLength, "cookies", (() => { + let t278 = T$.JSArrayOfString().of([]); + for (let cookie of request.cookies) + t278[$add](dart.toString(cookie)); + return t278; + })(), "followRedirects", request.followRedirects, "maxRedirects", request.maxRedirects, "method", request.method, "persistentConnection", request.persistentConnection, "uri", dart.toString(request.uri)]); + this[_timeline].finish({arguments: this.requestDetails}); + this[_updated](); + } + startResponse(opts) { + let response = opts && 'response' in opts ? opts.response : null; + if (response == null) dart.nullFailed(I[181], 142, 51, "response"); + function formatRedirectInfo() { + let redirects = T$0.JSArrayOfMapOfString$dynamic().of([]); + for (let redirect of response.redirects) { + redirects[$add](new (T$0.IdentityMapOfString$dynamic()).from(["location", dart.toString(redirect.location), "method", redirect.method, "statusCode", redirect.statusCode])); + } + return redirects; + } + dart.fn(formatRedirectInfo, T$0.VoidToListOfMapOfString$dynamic()); + this.responseDetails = new (T$0.IdentityMapOfString$dynamic()).from(["headers", this.formatHeaders(response), "compressionState", dart.toString(response.compressionState), "connectionInfo", this.formatConnectionInfo(response), "contentLength", response.contentLength, "cookies", (() => { + let t279 = T$.JSArrayOfString().of([]); + for (let cookie of response.cookies) + t279[$add](dart.toString(cookie)); + return t279; + })(), "isRedirect", response.isRedirect, "persistentConnection", response.persistentConnection, "reasonPhrase", response.reasonPhrase, "redirects", formatRedirectInfo(), "statusCode", response.statusCode]); + if (!!dart.test(this.requestInProgress)) dart.assertFailed(null, I[181], 170, 12, "!requestInProgress"); + this.responseInProgress = true; + this[_responseTimeline] = new developer.TimelineTask.new({parent: this[_timeline], filterKey: "HTTP/client"}); + this.responseStartTimestamp = developer.Timeline.now; + this[_responseTimeline].start("HTTP CLIENT response of " + dart.str(this.method), {arguments: (() => { + let t280 = new _js_helper.LinkedMap.new(); + t280[$_set]("requestUri", dart.toString(this.uri)); + for (let t281 of dart.nullCheck(this.responseDetails)[$entries]) + t280[$_set](t281.key, t281.value); + return t280; + })()}); + this[_updated](); + } + finishRequestWithError(error) { + if (error == null) dart.nullFailed(I[181], 188, 38, "error"); + this.requestInProgress = false; + this.requestEndTimestamp = developer.Timeline.now; + this.requestError = error; + this[_timeline].finish({arguments: new _js_helper.LinkedMap.from(["error", error])}); + this[_updated](); + } + finishResponse() { + this.responseInProgress = false; + this.responseEndTimestamp = developer.Timeline.now; + this.requestEvent("Content Download"); + this[_responseTimeline].finish(); + this[_updated](); + } + finishResponseWithError(error) { + if (error == null) dart.nullFailed(I[181], 206, 39, "error"); + if (!dart.nullCheck(this.responseInProgress)) return; + this.responseInProgress = false; + this.responseEndTimestamp = developer.Timeline.now; + this.responseError = error; + this[_responseTimeline].finish({arguments: new _js_helper.LinkedMap.from(["error", error])}); + this[_updated](); + } + appendResponseData(data) { + if (data == null) dart.nullFailed(I[181], 219, 37, "data"); + this.responseBody[$addAll](data); + this[_updated](); + } + toJson(opts) { + let ref = opts && 'ref' in opts ? opts.ref : true; + if (ref == null) dart.nullFailed(I[181], 224, 37, "ref"); + return (() => { + let t282 = new (T$0.IdentityMapOfString$dynamic()).new(); + t282[$_set]("type", (dart.test(ref) ? "@" : "") + "HttpProfileRequest"); + t282[$_set]("id", this.id); + t282[$_set]("isolateId", _http._HttpProfileData.isolateId); + t282[$_set]("method", this.method); + t282[$_set]("uri", dart.toString(this.uri)); + t282[$_set]("startTime", this.requestStartTimestamp); + if (!dart.test(this.requestInProgress)) t282[$_set]("endTime", this.requestEndTimestamp); + if (!dart.test(this.requestInProgress)) t282[$_set]("request", (() => { + let t283 = new (T$0.IdentityMapOfString$dynamic()).new(); + t283[$_set]("events", (() => { + let t284 = T$0.JSArrayOfMapOfString$dynamic().of([]); + for (let event of this.requestEvents) + t284[$add](event.toJson()); + return t284; + })()); + if (this.proxyDetails != null) t283[$_set]("proxyDetails", dart.nullCheck(this.proxyDetails)); + if (this.requestDetails != null) for (let t285 of dart.nullCheck(this.requestDetails)[$entries]) + t283[$_set](t285.key, t285.value); + if (this.requestError != null) t283[$_set]("error", this.requestError); + return t283; + })()); + if (this.responseInProgress != null) t282[$_set]("response", (() => { + let t286 = new (T$0.IdentityMapOfString$dynamic()).new(); + t286[$_set]("startTime", this.responseStartTimestamp); + for (let t287 of dart.nullCheck(this.responseDetails)[$entries]) + t286[$_set](t287.key, t287.value); + if (!dart.nullCheck(this.responseInProgress)) t286[$_set]("endTime", this.responseEndTimestamp); + if (this.responseError != null) t286[$_set]("error", this.responseError); + return t286; + })()); + if (!dart.test(ref)) for (let t289 of (() => { + let t288 = new (T$0.IdentityMapOfString$dynamic()).new(); + if (!dart.test(this.requestInProgress)) t288[$_set]("requestBody", this.requestBody); + if (this.responseInProgress != null) t288[$_set]("responseBody", this.responseBody); + return t288; + })()[$entries]) + t282[$_set](t289.key, t289.value); + return t282; + })(); + } + [_updated]() { + return this[_lastUpdateTime] = developer.Timeline.now; + } + get id() { + let t290; + return dart.test(this[___HttpProfileData_id_isSet]) ? (t290 = this[___HttpProfileData_id], t290) : dart.throw(new _internal.LateError.fieldNI("id")); + } + set id(t290) { + if (t290 == null) dart.nullFailed(I[181], 263, 18, "null"); + if (dart.test(this[___HttpProfileData_id_isSet])) + dart.throw(new _internal.LateError.fieldAI("id")); + else { + this[___HttpProfileData_id_isSet] = true; + this[___HttpProfileData_id] = t290; + } + } + get requestStartTimestamp() { + let t291; + return dart.test(this[___HttpProfileData_requestStartTimestamp_isSet]) ? (t291 = this[___HttpProfileData_requestStartTimestamp], t291) : dart.throw(new _internal.LateError.fieldNI("requestStartTimestamp")); + } + set requestStartTimestamp(t291) { + if (t291 == null) dart.nullFailed(I[181], 267, 18, "null"); + if (dart.test(this[___HttpProfileData_requestStartTimestamp_isSet])) + dart.throw(new _internal.LateError.fieldAI("requestStartTimestamp")); + else { + this[___HttpProfileData_requestStartTimestamp_isSet] = true; + this[___HttpProfileData_requestStartTimestamp] = t291; + } + } + get requestEndTimestamp() { + let t292; + return dart.test(this[___HttpProfileData_requestEndTimestamp_isSet]) ? (t292 = this[___HttpProfileData_requestEndTimestamp], t292) : dart.throw(new _internal.LateError.fieldNI("requestEndTimestamp")); + } + set requestEndTimestamp(t292) { + if (t292 == null) dart.nullFailed(I[181], 268, 18, "null"); + if (dart.test(this[___HttpProfileData_requestEndTimestamp_isSet])) + dart.throw(new _internal.LateError.fieldAI("requestEndTimestamp")); + else { + this[___HttpProfileData_requestEndTimestamp_isSet] = true; + this[___HttpProfileData_requestEndTimestamp] = t292; + } + } + get responseStartTimestamp() { + let t293; + return dart.test(this[___HttpProfileData_responseStartTimestamp_isSet]) ? (t293 = this[___HttpProfileData_responseStartTimestamp], t293) : dart.throw(new _internal.LateError.fieldNI("responseStartTimestamp")); + } + set responseStartTimestamp(t293) { + if (t293 == null) dart.nullFailed(I[181], 275, 18, "null"); + if (dart.test(this[___HttpProfileData_responseStartTimestamp_isSet])) + dart.throw(new _internal.LateError.fieldAI("responseStartTimestamp")); + else { + this[___HttpProfileData_responseStartTimestamp_isSet] = true; + this[___HttpProfileData_responseStartTimestamp] = t293; + } + } + get responseEndTimestamp() { + let t294; + return dart.test(this[___HttpProfileData_responseEndTimestamp_isSet]) ? (t294 = this[___HttpProfileData_responseEndTimestamp], t294) : dart.throw(new _internal.LateError.fieldNI("responseEndTimestamp")); + } + set responseEndTimestamp(t294) { + if (t294 == null) dart.nullFailed(I[181], 276, 18, "null"); + if (dart.test(this[___HttpProfileData_responseEndTimestamp_isSet])) + dart.throw(new _internal.LateError.fieldAI("responseEndTimestamp")); + else { + this[___HttpProfileData_responseEndTimestamp_isSet] = true; + this[___HttpProfileData_responseEndTimestamp] = t294; + } + } + get lastUpdateTime() { + return this[_lastUpdateTime]; + } + get [_responseTimeline]() { + let t295; + return dart.test(this[___HttpProfileData__responseTimeline_isSet]) ? (t295 = this[___HttpProfileData__responseTimeline], t295) : dart.throw(new _internal.LateError.fieldNI("_responseTimeline")); + } + set [_responseTimeline](t295) { + if (t295 == null) dart.nullFailed(I[181], 285, 21, "null"); + this[___HttpProfileData__responseTimeline_isSet] = true; + this[___HttpProfileData__responseTimeline] = t295; + } +}; +(_http._HttpProfileData.new = function(method, uri, parent) { + if (method == null) dart.nullFailed(I[181], 58, 27, "method"); + if (uri == null) dart.nullFailed(I[181], 58, 40, "uri"); + this.requestInProgress = true; + this.responseInProgress = null; + this[___HttpProfileData_id] = null; + this[___HttpProfileData_id_isSet] = false; + this[___HttpProfileData_requestStartTimestamp] = null; + this[___HttpProfileData_requestStartTimestamp_isSet] = false; + this[___HttpProfileData_requestEndTimestamp] = null; + this[___HttpProfileData_requestEndTimestamp_isSet] = false; + this.requestDetails = null; + this.proxyDetails = null; + this.requestBody = T$.JSArrayOfint().of([]); + this.requestError = null; + this.requestEvents = T$0.JSArrayOf_HttpProfileEvent().of([]); + this[___HttpProfileData_responseStartTimestamp] = null; + this[___HttpProfileData_responseStartTimestamp_isSet] = false; + this[___HttpProfileData_responseEndTimestamp] = null; + this[___HttpProfileData_responseEndTimestamp_isSet] = false; + this.responseDetails = null; + this.responseBody = T$.JSArrayOfint().of([]); + this.responseError = null; + this[_lastUpdateTime] = 0; + this[___HttpProfileData__responseTimeline] = null; + this[___HttpProfileData__responseTimeline_isSet] = false; + this.uri = uri; + this.method = method[$toUpperCase](); + this[_timeline] = new developer.TimelineTask.new({filterKey: "HTTP/client", parent: parent}); + this.id = this[_timeline].pass(); + this.requestInProgress = true; + this.requestStartTimestamp = developer.Timeline.now; + this[_timeline].start("HTTP CLIENT " + dart.str(method), {arguments: new _js_helper.LinkedMap.from(["method", method[$toUpperCase](), "uri", dart.toString(this.uri)])}); + this[_updated](); +}).prototype = _http._HttpProfileData.prototype; +dart.addTypeTests(_http._HttpProfileData); +dart.addTypeCaches(_http._HttpProfileData); +dart.setMethodSignature(_http._HttpProfileData, () => ({ + __proto__: dart.getMethods(_http._HttpProfileData.__proto__), + requestEvent: dart.fnType(dart.void, [core.String], {arguments: dart.nullable(core.Map)}, {}), + proxyEvent: dart.fnType(dart.void, [_http._Proxy]), + appendRequestData: dart.fnType(dart.void, [typed_data.Uint8List]), + formatHeaders: dart.fnType(core.Map, [dart.dynamic]), + formatConnectionInfo: dart.fnType(dart.nullable(core.Map), [dart.dynamic]), + finishRequest: dart.fnType(dart.void, [], {}, {request: _http.HttpClientRequest}), + startResponse: dart.fnType(dart.void, [], {}, {response: _http.HttpClientResponse}), + finishRequestWithError: dart.fnType(dart.void, [core.String]), + finishResponse: dart.fnType(dart.void, []), + finishResponseWithError: dart.fnType(dart.void, [core.String]), + appendResponseData: dart.fnType(dart.void, [typed_data.Uint8List]), + toJson: dart.fnType(core.Map$(core.String, dart.dynamic), [], {ref: core.bool}, {}), + [_updated]: dart.fnType(dart.void, []) +})); +dart.setGetterSignature(_http._HttpProfileData, () => ({ + __proto__: dart.getGetters(_http._HttpProfileData.__proto__), + id: core.int, + requestStartTimestamp: core.int, + requestEndTimestamp: core.int, + responseStartTimestamp: core.int, + responseEndTimestamp: core.int, + lastUpdateTime: core.int, + [_responseTimeline]: developer.TimelineTask +})); +dart.setSetterSignature(_http._HttpProfileData, () => ({ + __proto__: dart.getSetters(_http._HttpProfileData.__proto__), + id: core.int, + requestStartTimestamp: core.int, + requestEndTimestamp: core.int, + responseStartTimestamp: core.int, + responseEndTimestamp: core.int, + [_responseTimeline]: developer.TimelineTask +})); +dart.setLibraryUri(_http._HttpProfileData, I[177]); +dart.setFieldSignature(_http._HttpProfileData, () => ({ + __proto__: dart.getFields(_http._HttpProfileData.__proto__), + requestInProgress: dart.fieldType(core.bool), + responseInProgress: dart.fieldType(dart.nullable(core.bool)), + [___HttpProfileData_id]: dart.fieldType(dart.nullable(core.int)), + [___HttpProfileData_id_isSet]: dart.fieldType(core.bool), + method: dart.finalFieldType(core.String), + uri: dart.finalFieldType(core.Uri), + [___HttpProfileData_requestStartTimestamp]: dart.fieldType(dart.nullable(core.int)), + [___HttpProfileData_requestStartTimestamp_isSet]: dart.fieldType(core.bool), + [___HttpProfileData_requestEndTimestamp]: dart.fieldType(dart.nullable(core.int)), + [___HttpProfileData_requestEndTimestamp_isSet]: dart.fieldType(core.bool), + requestDetails: dart.fieldType(dart.nullable(core.Map$(core.String, dart.dynamic))), + proxyDetails: dart.fieldType(dart.nullable(core.Map$(core.String, dart.dynamic))), + requestBody: dart.finalFieldType(core.List$(core.int)), + requestError: dart.fieldType(dart.nullable(core.String)), + requestEvents: dart.finalFieldType(core.List$(_http._HttpProfileEvent)), + [___HttpProfileData_responseStartTimestamp]: dart.fieldType(dart.nullable(core.int)), + [___HttpProfileData_responseStartTimestamp_isSet]: dart.fieldType(core.bool), + [___HttpProfileData_responseEndTimestamp]: dart.fieldType(dart.nullable(core.int)), + [___HttpProfileData_responseEndTimestamp_isSet]: dart.fieldType(core.bool), + responseDetails: dart.fieldType(dart.nullable(core.Map$(core.String, dart.dynamic))), + responseBody: dart.finalFieldType(core.List$(core.int)), + responseError: dart.fieldType(dart.nullable(core.String)), + [_lastUpdateTime]: dart.fieldType(core.int), + [_timeline]: dart.fieldType(developer.TimelineTask), + [___HttpProfileData__responseTimeline]: dart.fieldType(dart.nullable(developer.TimelineTask)), + [___HttpProfileData__responseTimeline_isSet]: dart.fieldType(core.bool) +})); +dart.defineLazy(_http._HttpProfileData, { + /*_http._HttpProfileData.isolateId*/get isolateId() { + return dart.nullCheck(developer.Service.getIsolateID(isolate$.Isolate.current)); + } +}, false); +var __serviceId$ = dart.privateName(_http, "_ServiceObject.__serviceId"); +var __serviceId$0 = dart.privateName(_http, "__serviceId"); +var _serviceId$ = dart.privateName(_http, "_serviceId"); +var _serviceTypePath$ = dart.privateName(_http, "_serviceTypePath"); +var _servicePath$ = dart.privateName(_http, "_servicePath"); +var _serviceTypeName$ = dart.privateName(_http, "_serviceTypeName"); +var _serviceType$ = dart.privateName(_http, "_serviceType"); +_http._ServiceObject = class _ServiceObject extends core.Object { + get [__serviceId$0]() { + return this[__serviceId$]; + } + set [__serviceId$0](value) { + this[__serviceId$] = value; + } + get [_serviceId$]() { + let t296; + if (this[__serviceId$0] === 0) this[__serviceId$0] = (t296 = _http._nextServiceId, _http._nextServiceId = dart.notNull(t296) + 1, t296); + return this[__serviceId$0]; + } + get [_servicePath$]() { + return dart.str(this[_serviceTypePath$]) + "/" + dart.str(this[_serviceId$]); + } + [_serviceType$](ref) { + if (ref == null) dart.nullFailed(I[181], 306, 28, "ref"); + if (dart.test(ref)) return "@" + dart.str(this[_serviceTypeName$]); + return this[_serviceTypeName$]; + } +}; +(_http._ServiceObject.new = function() { + this[__serviceId$] = 0; + ; +}).prototype = _http._ServiceObject.prototype; +dart.addTypeTests(_http._ServiceObject); +dart.addTypeCaches(_http._ServiceObject); +dart.setMethodSignature(_http._ServiceObject, () => ({ + __proto__: dart.getMethods(_http._ServiceObject.__proto__), + [_serviceType$]: dart.fnType(core.String, [core.bool]) +})); +dart.setGetterSignature(_http._ServiceObject, () => ({ + __proto__: dart.getGetters(_http._ServiceObject.__proto__), + [_serviceId$]: core.int, + [_servicePath$]: core.String +})); +dart.setLibraryUri(_http._ServiceObject, I[177]); +dart.setFieldSignature(_http._ServiceObject, () => ({ + __proto__: dart.getFields(_http._ServiceObject.__proto__), + [__serviceId$0]: dart.fieldType(core.int) +})); +var _length$1 = dart.privateName(_http, "_length"); +var _buffer$1 = dart.privateName(_http, "_buffer"); +var _grow$0 = dart.privateName(_http, "_grow"); +_http._CopyingBytesBuilder = class _CopyingBytesBuilder extends core.Object { + add(bytes) { + if (bytes == null) dart.nullFailed(I[181], 326, 22, "bytes"); + let bytesLength = bytes[$length]; + if (bytesLength === 0) return; + let required = dart.notNull(this[_length$1]) + dart.notNull(bytesLength); + if (dart.notNull(this[_buffer$1][$length]) < required) { + this[_grow$0](required); + } + if (!(dart.notNull(this[_buffer$1][$length]) >= required)) dart.assertFailed(null, I[181], 333, 12, "_buffer.length >= required"); + if (typed_data.Uint8List.is(bytes)) { + this[_buffer$1][$setRange](this[_length$1], required, bytes); + } else { + for (let i = 0; i < dart.notNull(bytesLength); i = i + 1) { + this[_buffer$1][$_set](dart.notNull(this[_length$1]) + i, bytes[$_get](i)); + } + } + this[_length$1] = required; + } + addByte(byte) { + if (byte == null) dart.nullFailed(I[181], 344, 20, "byte"); + if (this[_buffer$1][$length] == this[_length$1]) { + this[_grow$0](this[_length$1]); + } + if (!(dart.notNull(this[_buffer$1][$length]) > dart.notNull(this[_length$1]))) dart.assertFailed(null, I[181], 350, 12, "_buffer.length > _length"); + this[_buffer$1][$_set](this[_length$1], byte); + this[_length$1] = dart.notNull(this[_length$1]) + 1; + } + [_grow$0](required) { + if (required == null) dart.nullFailed(I[181], 355, 18, "required"); + let newSize = dart.notNull(required) * 2; + if (dart.notNull(newSize) < 1024) { + newSize = 1024; + } else { + newSize = _http._CopyingBytesBuilder._pow2roundup(newSize); + } + let newBuffer = _native_typed_data.NativeUint8List.new(newSize); + newBuffer[$setRange](0, this[_buffer$1][$length], this[_buffer$1]); + this[_buffer$1] = newBuffer; + } + takeBytes() { + if (this[_length$1] === 0) return _http._CopyingBytesBuilder._emptyList; + let buffer = typed_data.Uint8List.view(this[_buffer$1][$buffer], this[_buffer$1][$offsetInBytes], this[_length$1]); + this.clear(); + return buffer; + } + toBytes() { + if (this[_length$1] === 0) return _http._CopyingBytesBuilder._emptyList; + return _native_typed_data.NativeUint8List.fromList(typed_data.Uint8List.view(this[_buffer$1][$buffer], this[_buffer$1][$offsetInBytes], this[_length$1])); + } + get length() { + return this[_length$1]; + } + get isEmpty() { + return this[_length$1] === 0; + } + get isNotEmpty() { + return this[_length$1] !== 0; + } + clear() { + this[_length$1] = 0; + this[_buffer$1] = _http._CopyingBytesBuilder._emptyList; + } + static _pow2roundup(x) { + if (x == null) dart.nullFailed(I[181], 394, 31, "x"); + if (!(dart.notNull(x) > 0)) dart.assertFailed(null, I[181], 395, 12, "x > 0"); + x = dart.notNull(x) - 1; + x = (dart.notNull(x) | x[$rightShift](1)) >>> 0; + x = (dart.notNull(x) | x[$rightShift](2)) >>> 0; + x = (dart.notNull(x) | x[$rightShift](4)) >>> 0; + x = (dart.notNull(x) | x[$rightShift](8)) >>> 0; + x = (dart.notNull(x) | x[$rightShift](16)) >>> 0; + return dart.notNull(x) + 1; + } +}; +(_http._CopyingBytesBuilder.new = function(initialCapacity = 0) { + if (initialCapacity == null) dart.nullFailed(I[181], 321, 29, "initialCapacity"); + this[_length$1] = 0; + this[_buffer$1] = dart.notNull(initialCapacity) <= 0 ? _http._CopyingBytesBuilder._emptyList : _native_typed_data.NativeUint8List.new(_http._CopyingBytesBuilder._pow2roundup(initialCapacity)); + ; +}).prototype = _http._CopyingBytesBuilder.prototype; +dart.addTypeTests(_http._CopyingBytesBuilder); +dart.addTypeCaches(_http._CopyingBytesBuilder); +_http._CopyingBytesBuilder[dart.implements] = () => [_internal.BytesBuilder]; +dart.setMethodSignature(_http._CopyingBytesBuilder, () => ({ + __proto__: dart.getMethods(_http._CopyingBytesBuilder.__proto__), + add: dart.fnType(dart.void, [core.List$(core.int)]), + addByte: dart.fnType(dart.void, [core.int]), + [_grow$0]: dart.fnType(dart.void, [core.int]), + takeBytes: dart.fnType(typed_data.Uint8List, []), + toBytes: dart.fnType(typed_data.Uint8List, []), + clear: dart.fnType(dart.void, []) +})); +dart.setGetterSignature(_http._CopyingBytesBuilder, () => ({ + __proto__: dart.getGetters(_http._CopyingBytesBuilder.__proto__), + length: core.int, + isEmpty: core.bool, + isNotEmpty: core.bool +})); +dart.setLibraryUri(_http._CopyingBytesBuilder, I[177]); +dart.setFieldSignature(_http._CopyingBytesBuilder, () => ({ + __proto__: dart.getFields(_http._CopyingBytesBuilder.__proto__), + [_length$1]: dart.fieldType(core.int), + [_buffer$1]: dart.fieldType(typed_data.Uint8List) +})); +dart.defineLazy(_http._CopyingBytesBuilder, { + /*_http._CopyingBytesBuilder._INIT_SIZE*/get _INIT_SIZE() { + return 1024; + }, + /*_http._CopyingBytesBuilder._emptyList*/get _emptyList() { + return _native_typed_data.NativeUint8List.new(0); + } +}, false); +var _dataCompleter = dart.privateName(_http, "_dataCompleter"); +var _transferLength$ = dart.privateName(_http, "_transferLength"); +var _stream$1 = dart.privateName(_http, "_stream"); +_http._HttpIncoming = class _HttpIncoming extends async.Stream$(typed_data.Uint8List) { + get transferLength() { + return this[_transferLength$]; + } + listen(onData, opts) { + let onError = opts && 'onError' in opts ? opts.onError : null; + let onDone = opts && 'onDone' in opts ? opts.onDone : null; + let cancelOnError = opts && 'cancelOnError' in opts ? opts.cancelOnError : null; + this.hasSubscriber = true; + return this[_stream$1].handleError(dart.fn(error => { + dart.throw(new _http.HttpException.new(core.String.as(dart.dload(error, 'message')), {uri: this.uri})); + }, T$0.dynamicToNever())).listen(onData, {onError: onError, onDone: onDone, cancelOnError: cancelOnError}); + } + get dataDone() { + return this[_dataCompleter].future; + } + close(closing) { + if (closing == null) dart.nullFailed(I[181], 451, 19, "closing"); + this.fullBodyRead = true; + this.hasSubscriber = true; + this[_dataCompleter].complete(closing); + } +}; +(_http._HttpIncoming.new = function(headers, _transferLength, _stream) { + if (headers == null) dart.nullFailed(I[181], 437, 22, "headers"); + if (_transferLength == null) dart.nullFailed(I[181], 437, 36, "_transferLength"); + if (_stream == null) dart.nullFailed(I[181], 437, 58, "_stream"); + this[_dataCompleter] = async.Completer.new(); + this.fullBodyRead = false; + this.upgraded = false; + this.statusCode = null; + this.reasonPhrase = null; + this.method = null; + this.uri = null; + this.hasSubscriber = false; + this.headers = headers; + this[_transferLength$] = _transferLength; + this[_stream$1] = _stream; + _http._HttpIncoming.__proto__.new.call(this); + ; +}).prototype = _http._HttpIncoming.prototype; +dart.addTypeTests(_http._HttpIncoming); +dart.addTypeCaches(_http._HttpIncoming); +dart.setMethodSignature(_http._HttpIncoming, () => ({ + __proto__: dart.getMethods(_http._HttpIncoming.__proto__), + listen: dart.fnType(async.StreamSubscription$(typed_data.Uint8List), [dart.nullable(dart.fnType(dart.void, [typed_data.Uint8List]))], {cancelOnError: dart.nullable(core.bool), onDone: dart.nullable(dart.fnType(dart.void, [])), onError: dart.nullable(core.Function)}, {}), + close: dart.fnType(dart.void, [core.bool]) +})); +dart.setGetterSignature(_http._HttpIncoming, () => ({ + __proto__: dart.getGetters(_http._HttpIncoming.__proto__), + transferLength: core.int, + dataDone: async.Future +})); +dart.setLibraryUri(_http._HttpIncoming, I[177]); +dart.setFieldSignature(_http._HttpIncoming, () => ({ + __proto__: dart.getFields(_http._HttpIncoming.__proto__), + [_transferLength$]: dart.finalFieldType(core.int), + [_dataCompleter]: dart.finalFieldType(async.Completer), + [_stream$1]: dart.fieldType(async.Stream$(typed_data.Uint8List)), + fullBodyRead: dart.fieldType(core.bool), + headers: dart.finalFieldType(_http._HttpHeaders), + upgraded: dart.fieldType(core.bool), + statusCode: dart.fieldType(dart.nullable(core.int)), + reasonPhrase: dart.fieldType(dart.nullable(core.String)), + method: dart.fieldType(dart.nullable(core.String)), + uri: dart.fieldType(dart.nullable(core.Uri)), + hasSubscriber: dart.fieldType(core.bool) +})); +var _cookies = dart.privateName(_http, "_cookies"); +var _incoming$ = dart.privateName(_http, "_incoming"); +_http._HttpInboundMessageListInt = class _HttpInboundMessageListInt extends async.Stream$(core.List$(core.int)) { + get cookies() { + let t296; + t296 = this[_cookies]; + return t296 == null ? this[_cookies] = this.headers[_parseCookies]() : t296; + } + get headers() { + return this[_incoming$].headers; + } + get protocolVersion() { + return this.headers.protocolVersion; + } + get contentLength() { + return this.headers.contentLength; + } + get persistentConnection() { + return this.headers.persistentConnection; + } +}; +(_http._HttpInboundMessageListInt.new = function(_incoming) { + if (_incoming == null) dart.nullFailed(I[181], 462, 35, "_incoming"); + this[_cookies] = null; + this[_incoming$] = _incoming; + _http._HttpInboundMessageListInt.__proto__.new.call(this); + ; +}).prototype = _http._HttpInboundMessageListInt.prototype; +dart.addTypeTests(_http._HttpInboundMessageListInt); +dart.addTypeCaches(_http._HttpInboundMessageListInt); +dart.setGetterSignature(_http._HttpInboundMessageListInt, () => ({ + __proto__: dart.getGetters(_http._HttpInboundMessageListInt.__proto__), + cookies: core.List$(_http.Cookie), + headers: _http._HttpHeaders, + protocolVersion: core.String, + contentLength: core.int, + persistentConnection: core.bool +})); +dart.setLibraryUri(_http._HttpInboundMessageListInt, I[177]); +dart.setFieldSignature(_http._HttpInboundMessageListInt, () => ({ + __proto__: dart.getFields(_http._HttpInboundMessageListInt.__proto__), + [_incoming$]: dart.finalFieldType(_http._HttpIncoming), + [_cookies]: dart.fieldType(dart.nullable(core.List$(_http.Cookie))) +})); +_http._HttpInboundMessage = class _HttpInboundMessage extends async.Stream$(typed_data.Uint8List) { + get cookies() { + let t296; + t296 = this[_cookies]; + return t296 == null ? this[_cookies] = this.headers[_parseCookies]() : t296; + } + get headers() { + return this[_incoming$].headers; + } + get protocolVersion() { + return this.headers.protocolVersion; + } + get contentLength() { + return this.headers.contentLength; + } + get persistentConnection() { + return this.headers.persistentConnection; + } +}; +(_http._HttpInboundMessage.new = function(_incoming) { + if (_incoming == null) dart.nullFailed(I[181], 476, 28, "_incoming"); + this[_cookies] = null; + this[_incoming$] = _incoming; + _http._HttpInboundMessage.__proto__.new.call(this); + ; +}).prototype = _http._HttpInboundMessage.prototype; +dart.addTypeTests(_http._HttpInboundMessage); +dart.addTypeCaches(_http._HttpInboundMessage); +dart.setGetterSignature(_http._HttpInboundMessage, () => ({ + __proto__: dart.getGetters(_http._HttpInboundMessage.__proto__), + cookies: core.List$(_http.Cookie), + headers: _http._HttpHeaders, + protocolVersion: core.String, + contentLength: core.int, + persistentConnection: core.bool +})); +dart.setLibraryUri(_http._HttpInboundMessage, I[177]); +dart.setFieldSignature(_http._HttpInboundMessage, () => ({ + __proto__: dart.getFields(_http._HttpInboundMessage.__proto__), + [_incoming$]: dart.finalFieldType(_http._HttpIncoming), + [_cookies]: dart.fieldType(dart.nullable(core.List$(_http.Cookie))) +})); +var _session = dart.privateName(_http, "_session"); +var _requestedUri = dart.privateName(_http, "_requestedUri"); +var _httpServer$ = dart.privateName(_http, "_httpServer"); +var _httpConnection$ = dart.privateName(_http, "_httpConnection"); +var _sessionManagerInstance = dart.privateName(_http, "_sessionManagerInstance"); +var _sessionManager$ = dart.privateName(_http, "_sessionManager"); +var _markSeen = dart.privateName(_http, "_markSeen"); +var _socket$0 = dart.privateName(_http, "_socket"); +var _destroyed = dart.privateName(_http, "_destroyed"); +_http._HttpRequest = class _HttpRequest extends _http._HttpInboundMessage { + listen(onData, opts) { + let onError = opts && 'onError' in opts ? opts.onError : null; + let onDone = opts && 'onDone' in opts ? opts.onDone : null; + let cancelOnError = opts && 'cancelOnError' in opts ? opts.cancelOnError : null; + return this[_incoming$].listen(onData, {onError: onError, onDone: onDone, cancelOnError: cancelOnError}); + } + get uri() { + return dart.nullCheck(this[_incoming$].uri); + } + get requestedUri() { + let requestedUri = this[_requestedUri]; + if (requestedUri != null) return requestedUri; + let proto = this.headers._get("x-forwarded-proto"); + let scheme = proto != null ? proto[$first] : io.SecureSocket.is(this[_httpConnection$][_socket$0]) ? "https" : "http"; + let hostList = this.headers._get("x-forwarded-host"); + let host = null; + if (hostList != null) { + host = hostList[$first]; + } else { + hostList = this.headers._get("host"); + if (hostList != null) { + host = hostList[$first]; + } else { + host = dart.str(this[_httpServer$].address.host) + ":" + dart.str(this[_httpServer$].port); + } + } + return this[_requestedUri] = core.Uri.parse(dart.str(scheme) + "://" + dart.str(host) + dart.str(this.uri)); + } + get method() { + return dart.nullCheck(this[_incoming$].method); + } + get session() { + let session = this[_session]; + if (session != null && !dart.test(session[_destroyed])) { + return session; + } + return this[_session] = this[_httpServer$][_sessionManager$].createSession(); + } + get connectionInfo() { + return this[_httpConnection$].connectionInfo; + } + get certificate() { + let socket = this[_httpConnection$][_socket$0]; + if (io.SecureSocket.is(socket)) return socket.peerCertificate; + return null; + } +}; +(_http._HttpRequest.new = function(response, _incoming, _httpServer, _httpConnection) { + let t296; + if (response == null) dart.nullFailed(I[181], 497, 21, "response"); + if (_incoming == null) dart.nullFailed(I[181], 497, 45, "_incoming"); + if (_httpServer == null) dart.nullFailed(I[181], 497, 61, "_httpServer"); + if (_httpConnection == null) dart.nullFailed(I[181], 498, 12, "_httpConnection"); + this[_session] = null; + this[_requestedUri] = null; + this.response = response; + this[_httpServer$] = _httpServer; + this[_httpConnection$] = _httpConnection; + _http._HttpRequest.__proto__.new.call(this, _incoming); + if (this.headers.protocolVersion === "1.1") { + t296 = this.response.headers; + (() => { + t296.chunkedTransferEncoding = true; + t296.persistentConnection = this.headers.persistentConnection; + return t296; + })(); + } + if (this[_httpServer$][_sessionManagerInstance] != null) { + let sessionIds = this.cookies[$where](dart.fn(cookie => { + if (cookie == null) dart.nullFailed(I[181], 509, 19, "cookie"); + return cookie.name[$toUpperCase]() === "DARTSESSID"; + }, T$0.CookieTobool()))[$map](core.String, dart.fn(cookie => { + if (cookie == null) dart.nullFailed(I[181], 510, 25, "cookie"); + return cookie.value; + }, T$0.CookieToString())); + for (let sessionId of sessionIds) { + let session = this[_httpServer$][_sessionManager$].getSession(sessionId); + this[_session] = session; + if (session != null) { + session[_markSeen](); + break; + } + } + } +}).prototype = _http._HttpRequest.prototype; +dart.addTypeTests(_http._HttpRequest); +dart.addTypeCaches(_http._HttpRequest); +_http._HttpRequest[dart.implements] = () => [_http.HttpRequest]; +dart.setMethodSignature(_http._HttpRequest, () => ({ + __proto__: dart.getMethods(_http._HttpRequest.__proto__), + listen: dart.fnType(async.StreamSubscription$(typed_data.Uint8List), [dart.nullable(dart.fnType(dart.void, [typed_data.Uint8List]))], {cancelOnError: dart.nullable(core.bool), onDone: dart.nullable(dart.fnType(dart.void, [])), onError: dart.nullable(core.Function)}, {}) +})); +dart.setGetterSignature(_http._HttpRequest, () => ({ + __proto__: dart.getGetters(_http._HttpRequest.__proto__), + uri: core.Uri, + requestedUri: core.Uri, + method: core.String, + session: _http.HttpSession, + connectionInfo: dart.nullable(_http.HttpConnectionInfo), + certificate: dart.nullable(io.X509Certificate) +})); +dart.setLibraryUri(_http._HttpRequest, I[177]); +dart.setFieldSignature(_http._HttpRequest, () => ({ + __proto__: dart.getFields(_http._HttpRequest.__proto__), + response: dart.finalFieldType(_http.HttpResponse), + [_httpServer$]: dart.finalFieldType(_http._HttpServer), + [_httpConnection$]: dart.finalFieldType(_http._HttpConnection), + [_session]: dart.fieldType(dart.nullable(_http._HttpSession)), + [_requestedUri]: dart.fieldType(dart.nullable(core.Uri)) +})); +var _httpRequest$ = dart.privateName(_http, "_httpRequest"); +var _httpClient$ = dart.privateName(_http, "_httpClient"); +var _profileData$ = dart.privateName(_http, "_profileData"); +var _responseRedirects = dart.privateName(_http, "_responseRedirects"); +var _httpClientConnection$ = dart.privateName(_http, "_httpClientConnection"); +var _openUrlFromRequest = dart.privateName(_http, "_openUrlFromRequest"); +var _connectionClosed = dart.privateName(_http, "_connectionClosed"); +var _shouldAuthenticateProxy = dart.privateName(_http, "_shouldAuthenticateProxy"); +var _shouldAuthenticate = dart.privateName(_http, "_shouldAuthenticate"); +var _proxy$ = dart.privateName(_http, "_proxy"); +var _findProxyCredentials = dart.privateName(_http, "_findProxyCredentials"); +var _findCredentials = dart.privateName(_http, "_findCredentials"); +var _removeProxyCredentials = dart.privateName(_http, "_removeProxyCredentials"); +var _removeCredentials = dart.privateName(_http, "_removeCredentials"); +var _authenticateProxy = dart.privateName(_http, "_authenticateProxy"); +var _authenticate = dart.privateName(_http, "_authenticate"); +_http._HttpClientResponse = class _HttpClientResponse extends _http._HttpInboundMessageListInt { + get redirects() { + return this[_httpRequest$][_responseRedirects]; + } + static _getCompressionState(httpClient, headers) { + if (httpClient == null) dart.nullFailed(I[181], 598, 19, "httpClient"); + if (headers == null) dart.nullFailed(I[181], 598, 44, "headers"); + if (headers.value("content-encoding") === "gzip") { + return dart.test(httpClient.autoUncompress) ? _http.HttpClientResponseCompressionState.decompressed : _http.HttpClientResponseCompressionState.compressed; + } else { + return _http.HttpClientResponseCompressionState.notCompressed; + } + } + get statusCode() { + return dart.nullCheck(this[_incoming$].statusCode); + } + get reasonPhrase() { + return dart.nullCheck(this[_incoming$].reasonPhrase); + } + get certificate() { + let socket = this[_httpRequest$][_httpClientConnection$][_socket$0]; + if (io.SecureSocket.is(socket)) return socket.peerCertificate; + return null; + } + get cookies() { + let cookies = this[_cookies]; + if (cookies != null) return cookies; + cookies = T$0.JSArrayOfCookie().of([]); + let values = this.headers._get("set-cookie"); + if (values != null) { + for (let value of values) { + cookies[$add](_http.Cookie.fromSetCookieValue(value)); + } + } + this[_cookies] = cookies; + return cookies; + } + get isRedirect() { + if (this[_httpRequest$].method === "GET" || this[_httpRequest$].method === "HEAD") { + return this.statusCode === 301 || this.statusCode === 308 || this.statusCode === 302 || this.statusCode === 303 || this.statusCode === 307; + } else if (this[_httpRequest$].method === "POST") { + return this.statusCode === 303; + } + return false; + } + redirect(method = null, url = null, followLoops = null) { + if (method == null) { + if (this.statusCode === 303 && this[_httpRequest$].method === "POST") { + method = "GET"; + } else { + method = this[_httpRequest$].method; + } + } + if (url == null) { + let location = this.headers.value("location"); + if (location == null) { + dart.throw(new core.StateError.new("Response has no Location header for redirect")); + } + url = core.Uri.parse(location); + } + if (followLoops !== true) { + for (let redirect of this.redirects) { + if (dart.equals(redirect.location, url)) { + return T$0.FutureOfHttpClientResponse().error(new _http.RedirectException.new("Redirect loop detected", this.redirects)); + } + } + } + return this[_httpClient$][_openUrlFromRequest](method, url, this[_httpRequest$]).then(_http.HttpClientResponse, dart.fn(request => { + let t296; + if (request == null) dart.nullFailed(I[181], 671, 16, "request"); + t296 = request[_responseRedirects]; + (() => { + t296[$addAll](this.redirects); + t296[$add](new _http._RedirectInfo.new(this.statusCode, dart.nullCheck(method), dart.nullCheck(url))); + return t296; + })(); + return request.close(); + }, T$0._HttpClientRequestToFutureOfHttpClientResponse())); + } + listen(onData, opts) { + let t296; + let onError = opts && 'onError' in opts ? opts.onError : null; + let onDone = opts && 'onDone' in opts ? opts.onDone : null; + let cancelOnError = opts && 'cancelOnError' in opts ? opts.cancelOnError : null; + if (dart.test(this[_incoming$].upgraded)) { + t296 = this[_profileData$]; + t296 == null ? null : t296.finishResponseWithError("Connection was upgraded"); + this[_httpRequest$][_httpClientConnection$].destroy(); + return new (T$0._EmptyStreamOfUint8List()).new().listen(null, {onDone: onDone}); + } + let stream = this[_incoming$]; + if (this.compressionState == _http.HttpClientResponseCompressionState.decompressed) { + stream = stream.cast(T$0.ListOfint()).transform(T$0.ListOfint(), io.gzip.decoder).transform(typed_data.Uint8List, C[466] || CT.C466); + } + if (this[_profileData$] != null) { + stream = stream.map(typed_data.Uint8List, dart.fn(data => { + let t296; + if (data == null) dart.nullFailed(I[181], 698, 28, "data"); + t296 = this[_profileData$]; + t296 == null ? null : t296.appendResponseData(data); + return data; + }, T$0.Uint8ListToUint8List())); + } + return stream.listen(onData, {onError: dart.fn((e, st) => { + let t296; + t296 = this[_profileData$]; + t296 == null ? null : t296.finishResponseWithError(dart.toString(e)); + if (onError == null) { + return; + } + if (T$.ObjectTovoid().is(onError)) { + onError(core.Object.as(e)); + } else { + if (!T$.ObjectAndStackTraceTovoid().is(onError)) dart.assertFailed(null, I[181], 711, 16, "onError is void Function(Object, StackTrace)"); + dart.dcall(onError, [e, st]); + } + }, T$.dynamicAnddynamicToNull()), onDone: dart.fn(() => { + let t296; + t296 = this[_profileData$]; + t296 == null ? null : t296.finishResponse(); + if (onDone != null) { + onDone(); + } + }, T$.VoidTovoid()), cancelOnError: cancelOnError}); + } + detachSocket() { + let t296; + t296 = this[_profileData$]; + t296 == null ? null : t296.finishResponseWithError("Socket has been detached"); + this[_httpClient$][_connectionClosed](this[_httpRequest$][_httpClientConnection$]); + return this[_httpRequest$][_httpClientConnection$].detachSocket(); + } + get connectionInfo() { + return this[_httpRequest$].connectionInfo; + } + get [_shouldAuthenticateProxy]() { + let challenge = this.headers._get("proxy-authenticate"); + return this.statusCode === 407 && challenge != null && challenge[$length] === 1; + } + get [_shouldAuthenticate]() { + let challenge = this.headers._get("www-authenticate"); + return this.statusCode === 401 && challenge != null && challenge[$length] === 1; + } + [_authenticate](proxyAuth) { + let t296, t296$; + if (proxyAuth == null) dart.nullFailed(I[181], 746, 49, "proxyAuth"); + t296 = this[_httpRequest$][_profileData$]; + t296 == null ? null : t296.requestEvent("Authentication"); + const retry = () => { + let t296; + t296 = this[_httpRequest$][_profileData$]; + t296 == null ? null : t296.requestEvent("Retrying"); + return this.drain(dart.dynamic).then(_http.HttpClientResponse, dart.fn(_ => this[_httpClient$][_openUrlFromRequest](this[_httpRequest$].method, this[_httpRequest$].uri, this[_httpRequest$]).then(_http.HttpClientResponse, dart.fn(request => { + if (request == null) dart.nullFailed(I[181], 755, 20, "request"); + return request.close(); + }, T$0._HttpClientRequestToFutureOfHttpClientResponse())), T$0.dynamicToFutureOfHttpClientResponse())); + }; + dart.fn(retry, T$0.VoidToFutureOfHttpClientResponse()); + const authChallenge = () => { + return dart.test(proxyAuth) ? this.headers._get("proxy-authenticate") : this.headers._get("www-authenticate"); + }; + dart.fn(authChallenge, T$0.VoidToListNOfString()); + const findCredentials = scheme => { + if (scheme == null) dart.nullFailed(I[181], 765, 57, "scheme"); + return dart.test(proxyAuth) ? this[_httpClient$][_findProxyCredentials](this[_httpRequest$][_proxy$], scheme) : this[_httpClient$][_findCredentials](this[_httpRequest$].uri, scheme); + }; + dart.fn(findCredentials, T$0._AuthenticationSchemeTo_CredentialsN()); + const removeCredentials = cr => { + if (cr == null) dart.nullFailed(I[181], 771, 41, "cr"); + if (dart.test(proxyAuth)) { + this[_httpClient$][_removeProxyCredentials](cr); + } else { + this[_httpClient$][_removeCredentials](cr); + } + }; + dart.fn(removeCredentials, T$0._CredentialsTovoid()); + const requestAuthentication = (scheme, realm) => { + if (scheme == null) dart.nullFailed(I[181], 780, 31, "scheme"); + if (dart.test(proxyAuth)) { + let authenticateProxy = this[_httpClient$][_authenticateProxy]; + if (authenticateProxy == null) { + return T$.FutureOfbool().value(false); + } + let proxy = this[_httpRequest$][_proxy$]; + return T$.FutureOfbool().as(dart.dcall(authenticateProxy, [proxy.host, proxy.port, dart.toString(scheme), realm])); + } else { + let authenticate = this[_httpClient$][_authenticate]; + if (authenticate == null) { + return T$.FutureOfbool().value(false); + } + return T$.FutureOfbool().as(dart.dcall(authenticate, [this[_httpRequest$].uri, dart.toString(scheme), realm])); + } + }; + dart.fn(requestAuthentication, T$0._AuthenticationSchemeAndStringNToFutureOfbool()); + let challenge = dart.nullCheck(authChallenge()); + if (!(challenge[$length] === 1)) dart.assertFailed(null, I[181], 799, 12, "challenge.length == 1"); + let header = _http._HeaderValue.parse(challenge[$_get](0), {parameterSeparator: ","}); + let scheme = _http._AuthenticationScheme.fromString(header.value); + let realm = header.parameters[$_get]("realm"); + let cr = findCredentials(scheme); + if (cr != null) { + if (dart.equals(cr.scheme, _http._AuthenticationScheme.BASIC) && !dart.test(cr.used)) { + return retry(); + } + if (dart.equals(cr.scheme, _http._AuthenticationScheme.DIGEST)) { + let algorithm = header.parameters[$_get]("algorithm"); + if (algorithm == null || algorithm[$toLowerCase]() === "md5") { + let nonce = cr.nonce; + if (nonce == null || nonce == header.parameters[$_get]("nonce")) { + if (nonce == null) { + t296$ = cr; + (() => { + t296$.nonce = header.parameters[$_get]("nonce"); + t296$.algorithm = "MD5"; + t296$.qop = header.parameters[$_get]("qop"); + t296$.nonceCount = 0; + return t296$; + })(); + } + return retry(); + } else { + let staleHeader = header.parameters[$_get]("stale"); + if (staleHeader != null && staleHeader[$toLowerCase]() === "true") { + cr.nonce = header.parameters[$_get]("nonce"); + return retry(); + } + } + } + } + } + if (cr != null) { + removeCredentials(cr); + cr = null; + } + return requestAuthentication(scheme, realm).then(_http.HttpClientResponse, dart.fn(credsAvailable => { + if (credsAvailable == null) dart.nullFailed(I[181], 854, 55, "credsAvailable"); + if (dart.test(credsAvailable)) { + cr = this[_httpClient$][_findCredentials](this[_httpRequest$].uri, scheme); + return retry(); + } else { + return this; + } + }, T$0.boolToFutureOrOfHttpClientResponse())); + } +}; +(_http._HttpClientResponse.new = function(_incoming, _httpRequest, _httpClient, _profileData) { + if (_incoming == null) dart.nullFailed(I[181], 589, 37, "_incoming"); + if (_httpRequest == null) dart.nullFailed(I[181], 589, 53, "_httpRequest"); + if (_httpClient == null) dart.nullFailed(I[181], 590, 12, "_httpClient"); + this[_httpRequest$] = _httpRequest; + this[_httpClient$] = _httpClient; + this[_profileData$] = _profileData; + this.compressionState = _http._HttpClientResponse._getCompressionState(_httpClient, _incoming.headers); + _http._HttpClientResponse.__proto__.new.call(this, _incoming); + _incoming.uri = this[_httpRequest$].uri; +}).prototype = _http._HttpClientResponse.prototype; +dart.addTypeTests(_http._HttpClientResponse); +dart.addTypeCaches(_http._HttpClientResponse); +_http._HttpClientResponse[dart.implements] = () => [_http.HttpClientResponse]; +dart.setMethodSignature(_http._HttpClientResponse, () => ({ + __proto__: dart.getMethods(_http._HttpClientResponse.__proto__), + redirect: dart.fnType(async.Future$(_http.HttpClientResponse), [], [dart.nullable(core.String), dart.nullable(core.Uri), dart.nullable(core.bool)]), + listen: dart.fnType(async.StreamSubscription$(typed_data.Uint8List), [dart.nullable(dart.fnType(dart.void, [typed_data.Uint8List]))], {cancelOnError: dart.nullable(core.bool), onDone: dart.nullable(dart.fnType(dart.void, [])), onError: dart.nullable(core.Function)}, {}), + detachSocket: dart.fnType(async.Future$(io.Socket), []), + [_authenticate]: dart.fnType(async.Future$(_http.HttpClientResponse), [core.bool]) +})); +dart.setGetterSignature(_http._HttpClientResponse, () => ({ + __proto__: dart.getGetters(_http._HttpClientResponse.__proto__), + redirects: core.List$(_http.RedirectInfo), + statusCode: core.int, + reasonPhrase: core.String, + certificate: dart.nullable(io.X509Certificate), + isRedirect: core.bool, + connectionInfo: dart.nullable(_http.HttpConnectionInfo), + [_shouldAuthenticateProxy]: core.bool, + [_shouldAuthenticate]: core.bool +})); +dart.setLibraryUri(_http._HttpClientResponse, I[177]); +dart.setFieldSignature(_http._HttpClientResponse, () => ({ + __proto__: dart.getFields(_http._HttpClientResponse.__proto__), + [_httpClient$]: dart.finalFieldType(_http._HttpClient), + [_httpRequest$]: dart.finalFieldType(_http._HttpClientRequest), + compressionState: dart.finalFieldType(_http.HttpClientResponseCompressionState), + [_profileData$]: dart.finalFieldType(dart.nullable(_http._HttpProfileData)) +})); +_http._ToUint8List = class _ToUint8List extends convert.Converter$(core.List$(core.int), typed_data.Uint8List) { + convert(input) { + T$0.ListOfint().as(input); + if (input == null) dart.nullFailed(I[181], 869, 31, "input"); + return _native_typed_data.NativeUint8List.fromList(input); + } + startChunkedConversion(sink) { + T$0.SinkOfUint8List().as(sink); + if (sink == null) dart.nullFailed(I[181], 871, 58, "sink"); + return new _http._Uint8ListConversionSink.new(sink); + } +}; +(_http._ToUint8List.new = function() { + _http._ToUint8List.__proto__.new.call(this); + ; +}).prototype = _http._ToUint8List.prototype; +dart.addTypeTests(_http._ToUint8List); +dart.addTypeCaches(_http._ToUint8List); +dart.setMethodSignature(_http._ToUint8List, () => ({ + __proto__: dart.getMethods(_http._ToUint8List.__proto__), + convert: dart.fnType(typed_data.Uint8List, [dart.nullable(core.Object)]) +})); +dart.setLibraryUri(_http._ToUint8List, I[177]); +var _target$1 = dart.privateName(_http, "_Uint8ListConversionSink._target"); +var _target$2 = dart.privateName(_http, "_target"); +_http._Uint8ListConversionSink = class _Uint8ListConversionSink extends core.Object { + get [_target$2]() { + return this[_target$1]; + } + set [_target$2](value) { + super[_target$2] = value; + } + add(data) { + T$0.ListOfint().as(data); + if (data == null) dart.nullFailed(I[181], 881, 22, "data"); + this[_target$2].add(_native_typed_data.NativeUint8List.fromList(data)); + } + close() { + this[_target$2].close(); + } +}; +(_http._Uint8ListConversionSink.new = function(_target) { + if (_target == null) dart.nullFailed(I[181], 877, 39, "_target"); + this[_target$1] = _target; + ; +}).prototype = _http._Uint8ListConversionSink.prototype; +dart.addTypeTests(_http._Uint8ListConversionSink); +dart.addTypeCaches(_http._Uint8ListConversionSink); +_http._Uint8ListConversionSink[dart.implements] = () => [core.Sink$(core.List$(core.int))]; +dart.setMethodSignature(_http._Uint8ListConversionSink, () => ({ + __proto__: dart.getMethods(_http._Uint8ListConversionSink.__proto__), + add: dart.fnType(dart.void, [dart.nullable(core.Object)]), + close: dart.fnType(dart.void, []) +})); +dart.setLibraryUri(_http._Uint8ListConversionSink, I[177]); +dart.setFieldSignature(_http._Uint8ListConversionSink, () => ({ + __proto__: dart.getFields(_http._Uint8ListConversionSink.__proto__), + [_target$2]: dart.finalFieldType(core.Sink$(typed_data.Uint8List)) +})); +var _doneCompleter$ = dart.privateName(_http, "_doneCompleter"); +var _controllerInstance$ = dart.privateName(_http, "_controllerInstance"); +var _controllerCompleter$ = dart.privateName(_http, "_controllerCompleter"); +var _isClosed$0 = dart.privateName(_http, "_isClosed"); +var _isBound$ = dart.privateName(_http, "_isBound"); +var _hasError$0 = dart.privateName(_http, "_hasError"); +var _controller$0 = dart.privateName(_http, "_controller"); +var _closeTarget$ = dart.privateName(_http, "_closeTarget"); +var _completeDoneValue$ = dart.privateName(_http, "_completeDoneValue"); +var _completeDoneError$ = dart.privateName(_http, "_completeDoneError"); +const _is__StreamSinkImpl_default$ = Symbol('_is__StreamSinkImpl_default'); +_http._StreamSinkImpl$ = dart.generic(T => { + var StreamOfT = () => (StreamOfT = dart.constFn(async.Stream$(T)))(); + var StreamControllerOfT = () => (StreamControllerOfT = dart.constFn(async.StreamController$(T)))(); + class _StreamSinkImpl extends core.Object { + add(data) { + T.as(data); + if (dart.test(this[_isClosed$0])) { + dart.throw(new core.StateError.new("StreamSink is closed")); + } + this[_controller$0].add(data); + } + addError(error, stackTrace = null) { + if (error == null) dart.nullFailed(I[181], 908, 24, "error"); + if (dart.test(this[_isClosed$0])) { + dart.throw(new core.StateError.new("StreamSink is closed")); + } + this[_controller$0].addError(error, stackTrace); + } + addStream(stream) { + StreamOfT().as(stream); + if (stream == null) dart.nullFailed(I[181], 915, 30, "stream"); + if (dart.test(this[_isBound$])) { + dart.throw(new core.StateError.new("StreamSink is already bound to a stream")); + } + this[_isBound$] = true; + if (dart.test(this[_hasError$0])) return this.done; + const targetAddStream = () => { + return this[_target$2].addStream(stream).whenComplete(dart.fn(() => { + this[_isBound$] = false; + }, T$.VoidToNull())); + }; + dart.fn(targetAddStream, T$0.VoidToFuture()); + let controller = this[_controllerInstance$]; + if (controller == null) return targetAddStream(); + let future = dart.nullCheck(this[_controllerCompleter$]).future; + controller.close(); + return future.then(dart.dynamic, dart.fn(_ => targetAddStream(), T$.dynamicToFuture())); + } + flush() { + if (dart.test(this[_isBound$])) { + dart.throw(new core.StateError.new("StreamSink is bound to a stream")); + } + let controller = this[_controllerInstance$]; + if (controller == null) return async.Future.value(this); + this[_isBound$] = true; + let future = dart.nullCheck(this[_controllerCompleter$]).future; + controller.close(); + return future.whenComplete(dart.fn(() => { + this[_isBound$] = false; + }, T$.VoidToNull())); + } + close() { + if (dart.test(this[_isBound$])) { + dart.throw(new core.StateError.new("StreamSink is bound to a stream")); + } + if (!dart.test(this[_isClosed$0])) { + this[_isClosed$0] = true; + let controller = this[_controllerInstance$]; + if (controller != null) { + controller.close(); + } else { + this[_closeTarget$](); + } + } + return this.done; + } + [_closeTarget$]() { + this[_target$2].close().then(dart.void, dart.bind(this, _completeDoneValue$), {onError: dart.bind(this, _completeDoneError$)}); + } + get done() { + return this[_doneCompleter$].future; + } + [_completeDoneValue$](value) { + if (!dart.test(this[_doneCompleter$].isCompleted)) { + this[_doneCompleter$].complete(value); + } + } + [_completeDoneError$](error, stackTrace) { + if (error == null) dart.nullFailed(I[181], 979, 34, "error"); + if (stackTrace == null) dart.nullFailed(I[181], 979, 52, "stackTrace"); + if (!dart.test(this[_doneCompleter$].isCompleted)) { + this[_hasError$0] = true; + this[_doneCompleter$].completeError(error, stackTrace); + } + } + get [_controller$0]() { + if (dart.test(this[_isBound$])) { + dart.throw(new core.StateError.new("StreamSink is bound to a stream")); + } + if (dart.test(this[_isClosed$0])) { + dart.throw(new core.StateError.new("StreamSink is closed")); + } + if (this[_controllerInstance$] == null) { + this[_controllerInstance$] = StreamControllerOfT().new({sync: true}); + this[_controllerCompleter$] = async.Completer.new(); + this[_target$2].addStream(this[_controller$0].stream).then(core.Null, dart.fn(_ => { + if (dart.test(this[_isBound$])) { + dart.nullCheck(this[_controllerCompleter$]).complete(this); + this[_controllerCompleter$] = null; + this[_controllerInstance$] = null; + } else { + this[_closeTarget$](); + } + }, T$.dynamicToNull()), {onError: dart.fn((error, stackTrace) => { + if (error == null) dart.nullFailed(I[181], 1006, 27, "error"); + if (stackTrace == null) dart.nullFailed(I[181], 1006, 45, "stackTrace"); + if (dart.test(this[_isBound$])) { + dart.nullCheck(this[_controllerCompleter$]).completeError(error, stackTrace); + this[_controllerCompleter$] = null; + this[_controllerInstance$] = null; + } else { + this[_completeDoneError$](error, stackTrace); + } + }, T$.ObjectAndStackTraceToNull())}); + } + return dart.nullCheck(this[_controllerInstance$]); + } + } + (_StreamSinkImpl.new = function(_target) { + if (_target == null) dart.nullFailed(I[181], 899, 24, "_target"); + this[_doneCompleter$] = T$0.CompleterOfvoid().new(); + this[_controllerInstance$] = null; + this[_controllerCompleter$] = null; + this[_isClosed$0] = false; + this[_isBound$] = false; + this[_hasError$0] = false; + this[_target$2] = _target; + ; + }).prototype = _StreamSinkImpl.prototype; + dart.addTypeTests(_StreamSinkImpl); + _StreamSinkImpl.prototype[_is__StreamSinkImpl_default$] = true; + dart.addTypeCaches(_StreamSinkImpl); + _StreamSinkImpl[dart.implements] = () => [async.StreamSink$(T)]; + dart.setMethodSignature(_StreamSinkImpl, () => ({ + __proto__: dart.getMethods(_StreamSinkImpl.__proto__), + add: dart.fnType(dart.void, [dart.nullable(core.Object)]), + addError: dart.fnType(dart.void, [core.Object], [dart.nullable(core.StackTrace)]), + addStream: dart.fnType(async.Future, [dart.nullable(core.Object)]), + flush: dart.fnType(async.Future, []), + close: dart.fnType(async.Future, []), + [_closeTarget$]: dart.fnType(dart.void, []), + [_completeDoneValue$]: dart.fnType(dart.void, [dart.dynamic]), + [_completeDoneError$]: dart.fnType(dart.void, [core.Object, core.StackTrace]) + })); + dart.setGetterSignature(_StreamSinkImpl, () => ({ + __proto__: dart.getGetters(_StreamSinkImpl.__proto__), + done: async.Future, + [_controller$0]: async.StreamController$(T) + })); + dart.setLibraryUri(_StreamSinkImpl, I[177]); + dart.setFieldSignature(_StreamSinkImpl, () => ({ + __proto__: dart.getFields(_StreamSinkImpl.__proto__), + [_target$2]: dart.finalFieldType(async.StreamConsumer$(T)), + [_doneCompleter$]: dart.finalFieldType(async.Completer$(dart.void)), + [_controllerInstance$]: dart.fieldType(dart.nullable(async.StreamController$(T))), + [_controllerCompleter$]: dart.fieldType(dart.nullable(async.Completer)), + [_isClosed$0]: dart.fieldType(core.bool), + [_isBound$]: dart.fieldType(core.bool), + [_hasError$0]: dart.fieldType(core.bool) + })); + return _StreamSinkImpl; +}); +_http._StreamSinkImpl = _http._StreamSinkImpl$(); +dart.addTypeTests(_http._StreamSinkImpl, _is__StreamSinkImpl_default$); +var _profileData$0 = dart.privateName(_http, "_IOSinkImpl._profileData"); +var _encodingMutable$ = dart.privateName(_http, "_encodingMutable"); +var _encoding$0 = dart.privateName(_http, "_encoding"); +var __IOSink_encoding_isSet$ = dart.privateName(_http, "_#IOSink#encoding#isSet"); +var __IOSink_encoding$ = dart.privateName(_http, "_#IOSink#encoding"); +var __IOSink_encoding_isSet_ = dart.privateName(_http, "_#IOSink#encoding#isSet="); +var __IOSink_encoding_ = dart.privateName(_http, "_#IOSink#encoding="); +_http._IOSinkImpl = class _IOSinkImpl extends _http._StreamSinkImpl$(core.List$(core.int)) { + get [_profileData$]() { + return this[_profileData$0]; + } + set [_profileData$](value) { + super[_profileData$] = value; + } + get encoding() { + return this[_encoding$0]; + } + set encoding(value) { + if (value == null) dart.nullFailed(I[181], 1034, 30, "value"); + if (!dart.test(this[_encodingMutable$])) { + dart.throw(new core.StateError.new("IOSink encoding is not mutable")); + } + this[_encoding$0] = value; + } + write(obj) { + let t296; + let string = dart.str(obj); + if (string[$isEmpty]) return; + t296 = this[_profileData$]; + t296 == null ? null : t296.appendRequestData(_native_typed_data.NativeUint8List.fromList(convert.utf8.encode(string))); + super.add(this[_encoding$0].encode(string)); + } + writeAll(objects, separator = "") { + if (objects == null) dart.nullFailed(I[181], 1052, 26, "objects"); + if (separator == null) dart.nullFailed(I[181], 1052, 43, "separator"); + let iterator = objects[$iterator]; + if (!dart.test(iterator.moveNext())) return; + if (separator[$isEmpty]) { + do { + this.write(iterator.current); + } while (dart.test(iterator.moveNext())); + } else { + this.write(iterator.current); + while (dart.test(iterator.moveNext())) { + this.write(separator); + this.write(iterator.current); + } + } + } + writeln(object = "") { + this.write(object); + this.write("\n"); + } + writeCharCode(charCode) { + if (charCode == null) dart.nullFailed(I[181], 1073, 26, "charCode"); + this.write(core.String.fromCharCode(charCode)); + } + get [__IOSink_encoding_isSet]() { + return this[$noSuchMethod](new core._Invocation.getter(C[467] || CT.C467)); + } + get [__IOSink_encoding]() { + return T$0.EncodingN().as(this[$noSuchMethod](new core._Invocation.getter(C[468] || CT.C468))); + } + set [__IOSink_encoding_isSet](value) { + return this[$noSuchMethod](new core._Invocation.setter(C[469] || CT.C469, value)); + } + set [__IOSink_encoding](value) { + return this[$noSuchMethod](new core._Invocation.setter(C[470] || CT.C470, value)); + } +}; +(_http._IOSinkImpl.new = function(target, _encoding, _profileData) { + if (target == null) dart.nullFailed(I[181], 1029, 33, "target"); + if (_encoding == null) dart.nullFailed(I[181], 1029, 46, "_encoding"); + this[_encodingMutable$] = true; + this[_encoding$0] = _encoding; + this[_profileData$0] = _profileData; + _http._IOSinkImpl.__proto__.new.call(this, target); + ; +}).prototype = _http._IOSinkImpl.prototype; +dart.addTypeTests(_http._IOSinkImpl); +dart.addTypeCaches(_http._IOSinkImpl); +_http._IOSinkImpl[dart.implements] = () => [io.IOSink]; +dart.setMethodSignature(_http._IOSinkImpl, () => ({ + __proto__: dart.getMethods(_http._IOSinkImpl.__proto__), + write: dart.fnType(dart.void, [dart.nullable(core.Object)]), + writeAll: dart.fnType(dart.void, [core.Iterable], [core.String]), + writeln: dart.fnType(dart.void, [], [dart.nullable(core.Object)]), + writeCharCode: dart.fnType(dart.void, [core.int]) +})); +dart.setGetterSignature(_http._IOSinkImpl, () => ({ + __proto__: dart.getGetters(_http._IOSinkImpl.__proto__), + encoding: convert.Encoding, + [__IOSink_encoding_isSet]: dart.dynamic, + [__IOSink_encoding]: dart.nullable(convert.Encoding) +})); +dart.setSetterSignature(_http._IOSinkImpl, () => ({ + __proto__: dart.getSetters(_http._IOSinkImpl.__proto__), + encoding: convert.Encoding, + [__IOSink_encoding_isSet]: dart.dynamic, + [__IOSink_encoding]: dart.nullable(convert.Encoding) +})); +dart.setLibraryUri(_http._IOSinkImpl, I[177]); +dart.setFieldSignature(_http._IOSinkImpl, () => ({ + __proto__: dart.getFields(_http._IOSinkImpl.__proto__), + [_encoding$0]: dart.fieldType(convert.Encoding), + [_encodingMutable$]: dart.fieldType(core.bool), + [_profileData$]: dart.finalFieldType(dart.nullable(_http._HttpProfileData)) +})); +var _encodingSet = dart.privateName(_http, "_encodingSet"); +var _bufferOutput = dart.privateName(_http, "_bufferOutput"); +var _uri = dart.privateName(_http, "_uri"); +var _outgoing = dart.privateName(_http, "_outgoing"); +var _isConnectionClosed = dart.privateName(_http, "_isConnectionClosed"); +const _is__HttpOutboundMessage_default = Symbol('_is__HttpOutboundMessage_default'); +_http._HttpOutboundMessage$ = dart.generic(T => { + class _HttpOutboundMessage extends _http._IOSinkImpl { + get contentLength() { + return this.headers.contentLength; + } + set contentLength(contentLength) { + if (contentLength == null) dart.nullFailed(I[181], 1106, 30, "contentLength"); + this.headers.contentLength = contentLength; + } + get persistentConnection() { + return this.headers.persistentConnection; + } + set persistentConnection(p) { + if (p == null) dart.nullFailed(I[181], 1111, 38, "p"); + this.headers.persistentConnection = p; + } + get bufferOutput() { + return this[_bufferOutput]; + } + set bufferOutput(bufferOutput) { + if (bufferOutput == null) dart.nullFailed(I[181], 1116, 30, "bufferOutput"); + if (dart.test(this[_outgoing].headersWritten)) dart.throw(new core.StateError.new("Header already sent")); + this[_bufferOutput] = bufferOutput; + } + get encoding() { + let t296; + if (dart.test(this[_encodingSet]) && dart.test(this[_outgoing].headersWritten)) { + return this[_encoding$0]; + } + let charset = null; + let contentType = this.headers.contentType; + if (contentType != null && contentType.charset != null) { + charset = dart.nullCheck(contentType.charset); + } else { + charset = "iso-8859-1"; + } + t296 = convert.Encoding.getByName(charset); + return t296 == null ? convert.latin1 : t296; + } + set encoding(value) { + super.encoding = value; + } + add(data) { + let t296; + T$0.ListOfint().as(data); + if (data == null) dart.nullFailed(I[181], 1135, 22, "data"); + if (data[$length] === 0) return; + t296 = this[_profileData$]; + t296 == null ? null : t296.appendRequestData(_native_typed_data.NativeUint8List.fromList(data)); + super.add(data); + } + addStream(s) { + T$0.StreamOfListOfint().as(s); + if (s == null) dart.nullFailed(I[181], 1141, 38, "s"); + if (this[_profileData$] == null) { + return super.addStream(s); + } + return super.addStream(s.map(T$0.ListOfint(), dart.fn(data => { + let t296; + if (data == null) dart.nullFailed(I[181], 1145, 35, "data"); + t296 = this[_profileData$]; + t296 == null ? null : t296.appendRequestData(_native_typed_data.NativeUint8List.fromList(data)); + return data; + }, T$0.ListOfintToListOfint()))); + } + write(obj) { + if (!dart.test(this[_encodingSet])) { + this[_encoding$0] = this.encoding; + this[_encodingSet] = true; + } + super.write(obj); + } + get [_isConnectionClosed]() { + return false; + } + } + (_HttpOutboundMessage.new = function(uri, protocolVersion, outgoing, profileData, opts) { + if (uri == null) dart.nullFailed(I[181], 1090, 28, "uri"); + if (protocolVersion == null) dart.nullFailed(I[181], 1090, 40, "protocolVersion"); + if (outgoing == null) dart.nullFailed(I[181], 1090, 71, "outgoing"); + let initialHeaders = opts && 'initialHeaders' in opts ? opts.initialHeaders : null; + this[_encodingSet] = false; + this[_bufferOutput] = true; + this[_uri] = uri; + this.headers = new _http._HttpHeaders.new(protocolVersion, {defaultPortForScheme: uri.scheme === "https" ? 443 : 80, initialHeaders: initialHeaders}); + this[_outgoing] = outgoing; + _HttpOutboundMessage.__proto__.new.call(this, outgoing, convert.latin1, profileData); + this[_outgoing].outbound = this; + this[_encodingMutable$] = false; + }).prototype = _HttpOutboundMessage.prototype; + dart.addTypeTests(_HttpOutboundMessage); + _HttpOutboundMessage.prototype[_is__HttpOutboundMessage_default] = true; + dart.addTypeCaches(_HttpOutboundMessage); + dart.setGetterSignature(_HttpOutboundMessage, () => ({ + __proto__: dart.getGetters(_HttpOutboundMessage.__proto__), + contentLength: core.int, + persistentConnection: core.bool, + bufferOutput: core.bool, + [_isConnectionClosed]: core.bool + })); + dart.setSetterSignature(_HttpOutboundMessage, () => ({ + __proto__: dart.getSetters(_HttpOutboundMessage.__proto__), + contentLength: core.int, + persistentConnection: core.bool, + bufferOutput: core.bool + })); + dart.setLibraryUri(_HttpOutboundMessage, I[177]); + dart.setFieldSignature(_HttpOutboundMessage, () => ({ + __proto__: dart.getFields(_HttpOutboundMessage.__proto__), + [_encodingSet]: dart.fieldType(core.bool), + [_bufferOutput]: dart.fieldType(core.bool), + [_uri]: dart.finalFieldType(core.Uri), + [_outgoing]: dart.finalFieldType(_http._HttpOutgoing), + headers: dart.finalFieldType(_http._HttpHeaders) + })); + return _HttpOutboundMessage; +}); +_http._HttpOutboundMessage = _http._HttpOutboundMessage$(); +dart.addTypeTests(_http._HttpOutboundMessage, _is__HttpOutboundMessage_default); +var _statusCode = dart.privateName(_http, "_statusCode"); +var _reasonPhrase = dart.privateName(_http, "_reasonPhrase"); +var _deadline = dart.privateName(_http, "_deadline"); +var _deadlineTimer = dart.privateName(_http, "_deadlineTimer"); +var _isClosing = dart.privateName(_http, "_isClosing"); +var _findReasonPhrase = dart.privateName(_http, "_findReasonPhrase"); +var _isNew = dart.privateName(_http, "_isNew"); +var _writeHeader = dart.privateName(_http, "_writeHeader"); +_http._HttpResponse = class _HttpResponse extends _http._HttpOutboundMessage$(_http.HttpResponse) { + get [_isConnectionClosed]() { + return dart.nullCheck(this[_httpRequest$])[_httpConnection$][_isClosing]; + } + get cookies() { + let t296; + t296 = this[_cookies]; + return t296 == null ? this[_cookies] = T$0.JSArrayOfCookie().of([]) : t296; + } + get statusCode() { + return this[_statusCode]; + } + set statusCode(statusCode) { + if (statusCode == null) dart.nullFailed(I[181], 1187, 27, "statusCode"); + if (dart.test(this[_outgoing].headersWritten)) dart.throw(new core.StateError.new("Header already sent")); + this[_statusCode] = statusCode; + } + get reasonPhrase() { + return this[_findReasonPhrase](this.statusCode); + } + set reasonPhrase(reasonPhrase) { + if (reasonPhrase == null) dart.nullFailed(I[181], 1193, 32, "reasonPhrase"); + if (dart.test(this[_outgoing].headersWritten)) dart.throw(new core.StateError.new("Header already sent")); + this[_reasonPhrase] = reasonPhrase; + } + redirect(location, opts) { + if (location == null) dart.nullFailed(I[181], 1198, 23, "location"); + let status = opts && 'status' in opts ? opts.status : 302; + if (status == null) dart.nullFailed(I[181], 1198, 38, "status"); + if (dart.test(this[_outgoing].headersWritten)) dart.throw(new core.StateError.new("Header already sent")); + this.statusCode = status; + this.headers.set("location", dart.toString(location)); + return this.close(); + } + detachSocket(opts) { + let writeHeaders = opts && 'writeHeaders' in opts ? opts.writeHeaders : true; + if (writeHeaders == null) dart.nullFailed(I[181], 1205, 37, "writeHeaders"); + if (dart.test(this[_outgoing].headersWritten)) dart.throw(new core.StateError.new("Headers already sent")); + this.deadline = null; + let future = dart.nullCheck(this[_httpRequest$])[_httpConnection$].detachSocket(); + if (dart.test(writeHeaders)) { + let headersFuture = this[_outgoing].writeHeaders({drainRequest: false, setOutgoing: false}); + if (!(headersFuture == null)) dart.assertFailed(null, I[181], 1212, 14, "headersFuture == null"); + } else { + this[_outgoing].headersWritten = true; + } + this.close(); + this.done.catchError(dart.fn(_ => { + }, T$.dynamicToNull())); + return future; + } + get connectionInfo() { + return dart.nullCheck(this[_httpRequest$]).connectionInfo; + } + get deadline() { + return this[_deadline]; + } + set deadline(d) { + let t296; + t296 = this[_deadlineTimer]; + t296 == null ? null : t296.cancel(); + this[_deadline] = d; + if (d == null) return; + this[_deadlineTimer] = async.Timer.new(d, dart.fn(() => { + dart.nullCheck(this[_httpRequest$])[_httpConnection$].destroy(); + }, T$.VoidTovoid())); + } + [_writeHeader]() { + let t296, t296$, t296$0; + let buffer = new _http._CopyingBytesBuilder.new(8192); + if (this.headers.protocolVersion === "1.1") { + buffer.add(_http._Const.HTTP11); + } else { + buffer.add(_http._Const.HTTP10); + } + buffer.addByte(32); + buffer.add(dart.toString(this.statusCode)[$codeUnits]); + buffer.addByte(32); + buffer.add(this.reasonPhrase[$codeUnits]); + buffer.addByte(13); + buffer.addByte(10); + let session = dart.nullCheck(this[_httpRequest$])[_session]; + if (session != null && !dart.test(session[_destroyed])) { + session[_isNew] = false; + let found = false; + for (let i = 0; i < dart.notNull(this.cookies[$length]); i = i + 1) { + if (this.cookies[$_get](i).name[$toUpperCase]() === "DARTSESSID") { + t296 = this.cookies[$_get](i); + (() => { + t296.value = session.id; + t296.httpOnly = true; + t296.path = "/"; + return t296; + })(); + found = true; + } + } + if (!found) { + let cookie = _http.Cookie.new("DARTSESSID", session.id); + this.cookies[$add]((t296$ = cookie, (() => { + t296$.httpOnly = true; + t296$.path = "/"; + return t296$; + })())); + } + } + t296$0 = this[_cookies]; + t296$0 == null ? null : t296$0[$forEach](dart.fn(cookie => { + if (cookie == null) dart.nullFailed(I[181], 1279, 24, "cookie"); + this.headers.add("set-cookie", cookie); + }, T$0.CookieTovoid())); + this.headers[_finalize](); + this.headers[_build](buffer); + buffer.addByte(13); + buffer.addByte(10); + let headerBytes = buffer.takeBytes(); + this[_outgoing].setHeader(headerBytes, headerBytes[$length]); + } + [_findReasonPhrase](statusCode) { + if (statusCode == null) dart.nullFailed(I[181], 1293, 32, "statusCode"); + let reasonPhrase = this[_reasonPhrase]; + if (reasonPhrase != null) { + return reasonPhrase; + } + switch (statusCode) { + case 100: + { + return "Continue"; + } + case 101: + { + return "Switching Protocols"; + } + case 200: + { + return "OK"; + } + case 201: + { + return "Created"; + } + case 202: + { + return "Accepted"; + } + case 203: + { + return "Non-Authoritative Information"; + } + case 204: + { + return "No Content"; + } + case 205: + { + return "Reset Content"; + } + case 206: + { + return "Partial Content"; + } + case 300: + { + return "Multiple Choices"; + } + case 301: + { + return "Moved Permanently"; + } + case 302: + { + return "Found"; + } + case 303: + { + return "See Other"; + } + case 304: + { + return "Not Modified"; + } + case 305: + { + return "Use Proxy"; + } + case 307: + { + return "Temporary Redirect"; + } + case 400: + { + return "Bad Request"; + } + case 401: + { + return "Unauthorized"; + } + case 402: + { + return "Payment Required"; + } + case 403: + { + return "Forbidden"; + } + case 404: + { + return "Not Found"; + } + case 405: + { + return "Method Not Allowed"; + } + case 406: + { + return "Not Acceptable"; + } + case 407: + { + return "Proxy Authentication Required"; + } + case 408: + { + return "Request Time-out"; + } + case 409: + { + return "Conflict"; + } + case 410: + { + return "Gone"; + } + case 411: + { + return "Length Required"; + } + case 412: + { + return "Precondition Failed"; + } + case 413: + { + return "Request Entity Too Large"; + } + case 414: + { + return "Request-URI Too Long"; + } + case 415: + { + return "Unsupported Media Type"; + } + case 416: + { + return "Requested range not satisfiable"; + } + case 417: + { + return "Expectation Failed"; + } + case 500: + { + return "Internal Server Error"; + } + case 501: + { + return "Not Implemented"; + } + case 502: + { + return "Bad Gateway"; + } + case 503: + { + return "Service Unavailable"; + } + case 504: + { + return "Gateway Time-out"; + } + case 505: + { + return "Http Version not supported"; + } + default: + { + return "Status " + dart.str(statusCode); + } + } + } +}; +(_http._HttpResponse.new = function(uri, protocolVersion, outgoing, defaultHeaders, serverHeader) { + if (uri == null) dart.nullFailed(I[181], 1173, 21, "uri"); + if (protocolVersion == null) dart.nullFailed(I[181], 1173, 33, "protocolVersion"); + if (outgoing == null) dart.nullFailed(I[181], 1173, 64, "outgoing"); + if (defaultHeaders == null) dart.nullFailed(I[181], 1174, 19, "defaultHeaders"); + this[_statusCode] = 200; + this[_reasonPhrase] = null; + this[_cookies] = null; + this[_httpRequest$] = null; + this[_deadline] = null; + this[_deadlineTimer] = null; + _http._HttpResponse.__proto__.new.call(this, uri, protocolVersion, outgoing, null, {initialHeaders: _http._HttpHeaders.as(defaultHeaders)}); + if (serverHeader != null) { + this.headers.set("server", serverHeader); + } +}).prototype = _http._HttpResponse.prototype; +dart.addTypeTests(_http._HttpResponse); +dart.addTypeCaches(_http._HttpResponse); +_http._HttpResponse[dart.implements] = () => [_http.HttpResponse]; +dart.setMethodSignature(_http._HttpResponse, () => ({ + __proto__: dart.getMethods(_http._HttpResponse.__proto__), + redirect: dart.fnType(async.Future, [core.Uri], {status: core.int}, {}), + detachSocket: dart.fnType(async.Future$(io.Socket), [], {writeHeaders: core.bool}, {}), + [_writeHeader]: dart.fnType(dart.void, []), + [_findReasonPhrase]: dart.fnType(core.String, [core.int]) +})); +dart.setGetterSignature(_http._HttpResponse, () => ({ + __proto__: dart.getGetters(_http._HttpResponse.__proto__), + cookies: core.List$(_http.Cookie), + statusCode: core.int, + reasonPhrase: core.String, + connectionInfo: dart.nullable(_http.HttpConnectionInfo), + deadline: dart.nullable(core.Duration) +})); +dart.setSetterSignature(_http._HttpResponse, () => ({ + __proto__: dart.getSetters(_http._HttpResponse.__proto__), + statusCode: core.int, + reasonPhrase: core.String, + deadline: dart.nullable(core.Duration) +})); +dart.setLibraryUri(_http._HttpResponse, I[177]); +dart.setFieldSignature(_http._HttpResponse, () => ({ + __proto__: dart.getFields(_http._HttpResponse.__proto__), + [_statusCode]: dart.fieldType(core.int), + [_reasonPhrase]: dart.fieldType(dart.nullable(core.String)), + [_cookies]: dart.fieldType(dart.nullable(core.List$(_http.Cookie))), + [_httpRequest$]: dart.fieldType(dart.nullable(_http._HttpRequest)), + [_deadline]: dart.fieldType(dart.nullable(core.Duration)), + [_deadlineTimer]: dart.fieldType(dart.nullable(async.Timer)) +})); +var _profileData$1 = dart.privateName(_http, "_HttpClientRequest._profileData"); +var _responseCompleter = dart.privateName(_http, "_responseCompleter"); +var _response = dart.privateName(_http, "_response"); +var _followRedirects = dart.privateName(_http, "_followRedirects"); +var _maxRedirects = dart.privateName(_http, "_maxRedirects"); +var _aborted = dart.privateName(_http, "_aborted"); +var _onIncoming = dart.privateName(_http, "_onIncoming"); +var _onError$ = dart.privateName(_http, "_onError"); +var _proxyTunnel$ = dart.privateName(_http, "_proxyTunnel"); +var _requestUri = dart.privateName(_http, "_requestUri"); +_http._HttpClientRequest = class _HttpClientRequest extends _http._HttpOutboundMessage$(_http.HttpClientResponse) { + get [_profileData$]() { + return this[_profileData$1]; + } + set [_profileData$](value) { + super[_profileData$] = value; + } + get done() { + let t296; + t296 = this[_response]; + return t296 == null ? this[_response] = async.Future.wait(dart.dynamic, T$0.JSArrayOfFuture().of([this[_responseCompleter].future, super.done]), {eagerError: true}).then(_http.HttpClientResponse, dart.fn(list => { + if (list == null) dart.nullFailed(I[181], 1445, 18, "list"); + return T$0.FutureOrOfHttpClientResponse().as(list[$_get](0)); + }, T$0.ListToFutureOrOfHttpClientResponse())) : t296; + } + close() { + if (!dart.test(this[_aborted])) { + super.close(); + } + return this.done; + } + get maxRedirects() { + return this[_maxRedirects]; + } + set maxRedirects(maxRedirects) { + if (maxRedirects == null) dart.nullFailed(I[181], 1456, 29, "maxRedirects"); + if (dart.test(this[_outgoing].headersWritten)) dart.throw(new core.StateError.new("Request already sent")); + this[_maxRedirects] = maxRedirects; + } + get followRedirects() { + return this[_followRedirects]; + } + set followRedirects(followRedirects) { + if (followRedirects == null) dart.nullFailed(I[181], 1462, 33, "followRedirects"); + if (dart.test(this[_outgoing].headersWritten)) dart.throw(new core.StateError.new("Request already sent")); + this[_followRedirects] = followRedirects; + } + get connectionInfo() { + return this[_httpClientConnection$].connectionInfo; + } + [_onIncoming](incoming) { + if (incoming == null) dart.nullFailed(I[181], 1470, 34, "incoming"); + if (dart.test(this[_aborted])) { + return; + } + let response = new _http._HttpClientResponse.new(incoming, this, this[_httpClient$], this[_profileData$]); + let future = null; + if (dart.test(this.followRedirects) && dart.test(response.isRedirect)) { + if (dart.notNull(response.redirects[$length]) < dart.notNull(this.maxRedirects)) { + future = response.drain(dart.dynamic).then(_http.HttpClientResponse, dart.fn(_ => response.redirect(), T$0.dynamicToFutureOfHttpClientResponse())); + } else { + future = response.drain(dart.dynamic).then(_http.HttpClientResponse, dart.fn(_ => T$0.FutureOfHttpClientResponse().error(new _http.RedirectException.new("Redirect limit exceeded", response.redirects)), T$0.dynamicToFutureOfHttpClientResponse())); + } + } else if (dart.test(response[_shouldAuthenticateProxy])) { + future = response[_authenticate](true); + } else if (dart.test(response[_shouldAuthenticate])) { + future = response[_authenticate](false); + } else { + future = T$0.FutureOfHttpClientResponse().value(response); + } + future.then(core.Null, dart.fn(v => { + if (v == null) dart.nullFailed(I[181], 1497, 18, "v"); + if (!dart.test(this[_responseCompleter].isCompleted)) { + this[_responseCompleter].complete(v); + } + }, T$0.HttpClientResponseToNull()), {onError: dart.fn((e, s) => { + if (!dart.test(this[_responseCompleter].isCompleted)) { + this[_responseCompleter].completeError(core.Object.as(e), T$.StackTraceN().as(s)); + } + }, T$.dynamicAnddynamicToNull())}); + } + [_onError$](error, stackTrace) { + if (stackTrace == null) dart.nullFailed(I[181], 1508, 35, "stackTrace"); + if (!dart.test(this[_responseCompleter].isCompleted)) { + this[_responseCompleter].completeError(core.Object.as(error), stackTrace); + } + } + [_requestUri]() { + const uriStartingFromPath = () => { + let result = this.uri.path; + if (result[$isEmpty]) result = "/"; + if (dart.test(this.uri.hasQuery)) { + result = dart.str(result) + "?" + dart.str(this.uri.query); + } + return result; + }; + dart.fn(uriStartingFromPath, T$.VoidToString()); + if (dart.test(this[_proxy$].isDirect)) { + return uriStartingFromPath(); + } else { + if (this.method === "CONNECT") { + return dart.str(this.uri.host) + ":" + dart.str(this.uri.port); + } else { + if (dart.test(this[_httpClientConnection$][_proxyTunnel$])) { + return uriStartingFromPath(); + } else { + return dart.toString(this.uri.removeFragment()); + } + } + } + } + add(data) { + T$0.ListOfint().as(data); + if (data == null) dart.nullFailed(I[181], 1544, 22, "data"); + if (data[$length] === 0 || dart.test(this[_aborted])) return; + super.add(data); + } + write(obj) { + if (dart.test(this[_aborted])) return; + super.write(obj); + } + [_writeHeader]() { + let t296; + if (dart.test(this[_aborted])) { + this[_outgoing].setHeader(_native_typed_data.NativeUint8List.new(0), 0); + return; + } + let buffer = new _http._CopyingBytesBuilder.new(8192); + buffer.add(this.method[$codeUnits]); + buffer.addByte(32); + buffer.add(this[_requestUri]()[$codeUnits]); + buffer.addByte(32); + buffer.add(_http._Const.HTTP11); + buffer.addByte(13); + buffer.addByte(10); + if (!dart.test(this.cookies[$isEmpty])) { + let sb = new core.StringBuffer.new(); + for (let i = 0; i < dart.notNull(this.cookies[$length]); i = i + 1) { + if (i > 0) sb.write("; "); + t296 = sb; + (() => { + t296.write(this.cookies[$_get](i).name); + t296.write("="); + t296.write(this.cookies[$_get](i).value); + return t296; + })(); + } + this.headers.add("cookie", sb.toString()); + } + this.headers[_finalize](); + this.headers[_build](buffer); + buffer.addByte(13); + buffer.addByte(10); + let headerBytes = buffer.takeBytes(); + this[_outgoing].setHeader(headerBytes, headerBytes[$length]); + } + abort(exception = null, stackTrace = null) { + this[_aborted] = true; + if (!dart.test(this[_responseCompleter].isCompleted)) { + exception == null ? exception = new _http.HttpException.new("Request has been aborted") : null; + this[_responseCompleter].completeError(exception, stackTrace); + this[_httpClientConnection$].destroy(); + } + } +}; +(_http._HttpClientRequest.new = function(outgoing, uri, method, _proxy, _httpClient, _httpClientConnection, _profileData) { + let t296, t296$; + if (outgoing == null) dart.nullFailed(I[181], 1414, 19, "outgoing"); + if (uri == null) dart.nullFailed(I[181], 1415, 9, "uri"); + if (method == null) dart.nullFailed(I[181], 1416, 10, "method"); + if (_proxy == null) dart.nullFailed(I[181], 1417, 10, "_proxy"); + if (_httpClient == null) dart.nullFailed(I[181], 1418, 10, "_httpClient"); + if (_httpClientConnection == null) dart.nullFailed(I[181], 1419, 10, "_httpClientConnection"); + this.cookies = T$0.JSArrayOfCookie().of([]); + this[_responseCompleter] = T$0.CompleterOfHttpClientResponse().new(); + this[_response] = null; + this[_followRedirects] = true; + this[_maxRedirects] = 5; + this[_responseRedirects] = T$0.JSArrayOfRedirectInfo().of([]); + this[_aborted] = false; + this.method = method; + this[_proxy$] = _proxy; + this[_httpClient$] = _httpClient; + this[_httpClientConnection$] = _httpClientConnection; + this[_profileData$1] = _profileData; + this.uri = uri; + _http._HttpClientRequest.__proto__.new.call(this, uri, "1.1", outgoing, _profileData); + t296 = this[_profileData$]; + t296 == null ? null : t296.requestEvent("Request sent"); + if (this.method === "GET" || this.method === "HEAD") { + this.contentLength = 0; + } else { + this.headers.chunkedTransferEncoding = true; + } + t296$ = this[_profileData$]; + t296$ == null ? null : t296$.finishRequest({request: this}); + this[_responseCompleter].future.then(core.Null, dart.fn(response => { + let t296, t296$; + if (response == null) dart.nullFailed(I[181], 1433, 37, "response"); + t296 = this[_profileData$]; + t296 == null ? null : t296.requestEvent("Waiting (TTFB)"); + t296$ = this[_profileData$]; + t296$ == null ? null : t296$.startResponse({response: response}); + }, T$0.HttpClientResponseToNull()), {onError: dart.fn(e => { + }, T$.dynamicToNull())}); +}).prototype = _http._HttpClientRequest.prototype; +dart.addTypeTests(_http._HttpClientRequest); +dart.addTypeCaches(_http._HttpClientRequest); +_http._HttpClientRequest[dart.implements] = () => [_http.HttpClientRequest]; +dart.setMethodSignature(_http._HttpClientRequest, () => ({ + __proto__: dart.getMethods(_http._HttpClientRequest.__proto__), + close: dart.fnType(async.Future$(_http.HttpClientResponse), []), + [_onIncoming]: dart.fnType(dart.void, [_http._HttpIncoming]), + [_onError$]: dart.fnType(dart.void, [dart.dynamic, core.StackTrace]), + [_requestUri]: dart.fnType(core.String, []), + [_writeHeader]: dart.fnType(dart.void, []), + abort: dart.fnType(dart.void, [], [dart.nullable(core.Object), dart.nullable(core.StackTrace)]) +})); +dart.setGetterSignature(_http._HttpClientRequest, () => ({ + __proto__: dart.getGetters(_http._HttpClientRequest.__proto__), + done: async.Future$(_http.HttpClientResponse), + maxRedirects: core.int, + followRedirects: core.bool, + connectionInfo: dart.nullable(_http.HttpConnectionInfo) +})); +dart.setSetterSignature(_http._HttpClientRequest, () => ({ + __proto__: dart.getSetters(_http._HttpClientRequest.__proto__), + maxRedirects: core.int, + followRedirects: core.bool +})); +dart.setLibraryUri(_http._HttpClientRequest, I[177]); +dart.setFieldSignature(_http._HttpClientRequest, () => ({ + __proto__: dart.getFields(_http._HttpClientRequest.__proto__), + method: dart.finalFieldType(core.String), + uri: dart.finalFieldType(core.Uri), + cookies: dart.finalFieldType(core.List$(_http.Cookie)), + [_httpClient$]: dart.finalFieldType(_http._HttpClient), + [_httpClientConnection$]: dart.finalFieldType(_http._HttpClientConnection), + [_profileData$]: dart.finalFieldType(dart.nullable(_http._HttpProfileData)), + [_responseCompleter]: dart.finalFieldType(async.Completer$(_http.HttpClientResponse)), + [_proxy$]: dart.finalFieldType(_http._Proxy), + [_response]: dart.fieldType(dart.nullable(async.Future$(_http.HttpClientResponse))), + [_followRedirects]: dart.fieldType(core.bool), + [_maxRedirects]: dart.fieldType(core.int), + [_responseRedirects]: dart.fieldType(core.List$(_http.RedirectInfo)), + [_aborted]: dart.fieldType(core.bool) +})); +var _consume$ = dart.privateName(_http, "_consume"); +_http._HttpGZipSink = class _HttpGZipSink extends convert.ByteConversionSink { + add(chunk) { + let t296; + T$0.ListOfint().as(chunk); + if (chunk == null) dart.nullFailed(I[181], 1608, 22, "chunk"); + t296 = chunk; + this[_consume$](t296); + } + addSlice(chunk, start, end, isLast) { + let t296, t296$; + if (chunk == null) dart.nullFailed(I[181], 1612, 27, "chunk"); + if (start == null) dart.nullFailed(I[181], 1612, 38, "start"); + if (end == null) dart.nullFailed(I[181], 1612, 49, "end"); + if (isLast == null) dart.nullFailed(I[181], 1612, 59, "isLast"); + if (typed_data.Uint8List.is(chunk)) { + t296 = typed_data.Uint8List.view(chunk[$buffer], dart.notNull(chunk[$offsetInBytes]) + dart.notNull(start), dart.notNull(end) - dart.notNull(start)); + this[_consume$](t296); + } else { + t296$ = chunk[$sublist](start, dart.notNull(end) - dart.notNull(start)); + this[_consume$](t296$); + } + } + close() { + } +}; +(_http._HttpGZipSink.new = function(_consume) { + if (_consume == null) dart.nullFailed(I[181], 1606, 22, "_consume"); + this[_consume$] = _consume; + _http._HttpGZipSink.__proto__.new.call(this); + ; +}).prototype = _http._HttpGZipSink.prototype; +dart.addTypeTests(_http._HttpGZipSink); +dart.addTypeCaches(_http._HttpGZipSink); +dart.setMethodSignature(_http._HttpGZipSink, () => ({ + __proto__: dart.getMethods(_http._HttpGZipSink.__proto__), + add: dart.fnType(dart.void, [dart.nullable(core.Object)]), + addSlice: dart.fnType(dart.void, [core.List$(core.int), core.int, core.int, core.bool]), + close: dart.fnType(dart.void, []) +})); +dart.setLibraryUri(_http._HttpGZipSink, I[177]); +dart.setFieldSignature(_http._HttpGZipSink, () => ({ + __proto__: dart.getFields(_http._HttpGZipSink.__proto__), + [_consume$]: dart.finalFieldType(dart.fnType(dart.void, [core.List$(core.int)])) +})); +var _closeFuture = dart.privateName(_http, "_closeFuture"); +var _pendingChunkedFooter = dart.privateName(_http, "_pendingChunkedFooter"); +var _bytesWritten = dart.privateName(_http, "_bytesWritten"); +var _gzip = dart.privateName(_http, "_gzip"); +var _gzipSink = dart.privateName(_http, "_gzipSink"); +var _gzipAdd = dart.privateName(_http, "_gzipAdd"); +var _gzipBuffer = dart.privateName(_http, "_gzipBuffer"); +var _gzipBufferLength = dart.privateName(_http, "_gzipBufferLength"); +var _socketError = dart.privateName(_http, "_socketError"); +var _addGZipChunk = dart.privateName(_http, "_addGZipChunk"); +var _chunkHeader = dart.privateName(_http, "_chunkHeader"); +var _addChunk$ = dart.privateName(_http, "_addChunk"); +var _ignoreError = dart.privateName(_http, "_ignoreError"); +_http._HttpOutgoing = class _HttpOutgoing extends core.Object { + writeHeaders(opts) { + let drainRequest = opts && 'drainRequest' in opts ? opts.drainRequest : true; + if (drainRequest == null) dart.nullFailed(I[181], 1685, 13, "drainRequest"); + let setOutgoing = opts && 'setOutgoing' in opts ? opts.setOutgoing : true; + if (setOutgoing == null) dart.nullFailed(I[181], 1685, 39, "setOutgoing"); + if (dart.test(this.headersWritten)) return null; + this.headersWritten = true; + let drainFuture = null; + let gzip = false; + let response = dart.nullCheck(this.outbound); + if (_http._HttpResponse.is(response)) { + if (dart.test(dart.nullCheck(response[_httpRequest$])[_httpServer$].autoCompress) && dart.test(response.bufferOutput) && dart.test(response.headers.chunkedTransferEncoding)) { + let acceptEncodings = dart.nullCheck(response[_httpRequest$]).headers._get("accept-encoding"); + let contentEncoding = response.headers._get("content-encoding"); + if (acceptEncodings != null && contentEncoding == null && dart.test(acceptEncodings[$expand](core.String, dart.fn(list => { + if (list == null) dart.nullFailed(I[181], 1703, 26, "list"); + return list[$split](","); + }, T$0.StringToListOfString()))[$any](dart.fn(encoding => { + if (encoding == null) dart.nullFailed(I[181], 1704, 23, "encoding"); + return encoding[$trim]()[$toLowerCase]() === "gzip"; + }, T$.StringTobool())))) { + response.headers.set("content-encoding", "gzip"); + gzip = true; + } + } + if (dart.test(drainRequest) && !dart.test(dart.nullCheck(response[_httpRequest$])[_incoming$].hasSubscriber)) { + drainFuture = dart.nullCheck(response[_httpRequest$]).drain(dart.void).catchError(dart.fn(_ => { + }, T$.dynamicToNull())); + } + } else { + drainRequest = false; + } + if (!dart.test(this.ignoreBody)) { + if (dart.test(setOutgoing)) { + let contentLength = response.headers.contentLength; + if (dart.test(response.headers.chunkedTransferEncoding)) { + this.chunked = true; + if (gzip) this.gzip = true; + } else if (dart.notNull(contentLength) >= 0) { + this.contentLength = contentLength; + } + } + if (drainFuture != null) { + return drainFuture.then(dart.void, dart.fn(_ => response[_writeHeader](), T$0.voidTovoid())); + } + } + response[_writeHeader](); + return null; + } + addStream(stream) { + T$0.StreamOfListOfint().as(stream); + if (stream == null) dart.nullFailed(I[181], 1733, 38, "stream"); + if (dart.test(this[_socketError])) { + stream.listen(null).cancel(); + return async.Future.value(this.outbound); + } + if (dart.test(this.ignoreBody)) { + stream.drain(dart.dynamic).catchError(dart.fn(_ => { + }, T$.dynamicToNull())); + let future = this.writeHeaders(); + if (future != null) { + return future.then(dart.dynamic, dart.fn(_ => this.close(), T$0.voidToFuture())); + } + return this.close(); + } + let controller = T$0.StreamControllerOfListOfint().new({sync: true}); + const onData = data => { + if (data == null) dart.nullFailed(I[181], 1751, 27, "data"); + if (dart.test(this[_socketError])) return; + if (data[$length] === 0) return; + if (dart.test(this.chunked)) { + if (dart.test(this[_gzip])) { + this[_gzipAdd] = dart.bind(controller, 'add'); + this[_addGZipChunk](data, dart.bind(dart.nullCheck(this[_gzipSink]), 'add')); + this[_gzipAdd] = null; + return; + } + this[_addChunk$](this[_chunkHeader](data[$length]), dart.bind(controller, 'add')); + this[_pendingChunkedFooter] = 2; + } else { + let contentLength = this.contentLength; + if (contentLength != null) { + this[_bytesWritten] = dart.notNull(this[_bytesWritten]) + dart.notNull(data[$length]); + if (dart.notNull(this[_bytesWritten]) > dart.notNull(contentLength)) { + controller.addError(new _http.HttpException.new("Content size exceeds specified contentLength. " + dart.str(this[_bytesWritten]) + " bytes written while expected " + dart.str(contentLength) + ". " + "[" + dart.str(core.String.fromCharCodes(data)) + "]")); + return; + } + } + } + this[_addChunk$](data, dart.bind(controller, 'add')); + }; + dart.fn(onData, T$0.ListOfintTovoid()); + let sub = stream.listen(onData, {onError: dart.bind(controller, 'addError'), onDone: dart.bind(controller, 'close'), cancelOnError: true}); + controller.onPause = dart.bind(sub, 'pause'); + controller.onResume = dart.bind(sub, 'resume'); + if (!dart.test(this.headersWritten)) { + let future = this.writeHeaders(); + if (future != null) { + sub.pause(future); + } + } + return this.socket.addStream(controller.stream).then(dart.dynamic, dart.fn(_ => this.outbound, T$0.dynamicTo_HttpOutboundMessageN()), {onError: dart.fn((error, stackTrace) => { + if (dart.test(this[_gzip])) dart.nullCheck(this[_gzipSink]).close(); + this[_socketError] = true; + this[_doneCompleter$].completeError(core.Object.as(error), T$.StackTraceN().as(stackTrace)); + if (dart.test(this[_ignoreError](error))) { + return this.outbound; + } else { + dart.throw(error); + } + }, T$0.dynamicAnddynamicTo_HttpOutboundMessageN())}); + } + close() { + let closeFuture = this[_closeFuture]; + if (closeFuture != null) return closeFuture; + let outbound = dart.nullCheck(this.outbound); + if (dart.test(this[_socketError])) return async.Future.value(outbound); + if (dart.test(outbound[_isConnectionClosed])) return async.Future.value(outbound); + if (!dart.test(this.headersWritten) && !dart.test(this.ignoreBody)) { + if (outbound.headers.contentLength === -1) { + outbound.headers.chunkedTransferEncoding = false; + outbound.headers.contentLength = 0; + } else if (dart.notNull(outbound.headers.contentLength) > 0) { + let error = new _http.HttpException.new("No content even though contentLength was specified to be " + "greater than 0: " + dart.str(outbound.headers.contentLength) + ".", {uri: outbound[_uri]}); + this[_doneCompleter$].completeError(error); + return this[_closeFuture] = async.Future.error(error); + } + } + let contentLength = this.contentLength; + if (contentLength != null) { + if (dart.notNull(this[_bytesWritten]) < dart.notNull(contentLength)) { + let error = new _http.HttpException.new("Content size below specified contentLength. " + " " + dart.str(this[_bytesWritten]) + " bytes written but expected " + dart.str(contentLength) + ".", {uri: outbound[_uri]}); + this[_doneCompleter$].completeError(error); + return this[_closeFuture] = async.Future.error(error); + } + } + const finalize = () => { + if (dart.test(this.chunked)) { + if (dart.test(this[_gzip])) { + this[_gzipAdd] = dart.bind(this.socket, 'add'); + if (dart.notNull(this[_gzipBufferLength]) > 0) { + dart.nullCheck(this[_gzipSink]).add(typed_data.Uint8List.view(dart.nullCheck(this[_gzipBuffer])[$buffer], dart.nullCheck(this[_gzipBuffer])[$offsetInBytes], this[_gzipBufferLength])); + } + this[_gzipBuffer] = null; + dart.nullCheck(this[_gzipSink]).close(); + this[_gzipAdd] = null; + } + this[_addChunk$](this[_chunkHeader](0), dart.bind(this.socket, 'add')); + } + if (dart.notNull(this[_length$1]) > 0) { + this.socket.add(typed_data.Uint8List.view(dart.nullCheck(this[_buffer$1])[$buffer], dart.nullCheck(this[_buffer$1])[$offsetInBytes], this[_length$1])); + } + this[_buffer$1] = null; + return this.socket.flush().then(dart.dynamic, dart.fn(_ => { + this[_doneCompleter$].complete(this.socket); + return outbound; + }, T$0.dynamicTo_HttpOutboundMessage()), {onError: dart.fn((error, stackTrace) => { + this[_doneCompleter$].completeError(core.Object.as(error), T$.StackTraceN().as(stackTrace)); + if (dart.test(this[_ignoreError](error))) { + return outbound; + } else { + dart.throw(error); + } + }, T.dynamicAnddynamicTo_HttpOutboundMessage())}); + }; + dart.fn(finalize, T$0.VoidToFuture()); + let future = this.writeHeaders(); + if (future != null) { + return this[_closeFuture] = future.whenComplete(finalize); + } + return this[_closeFuture] = finalize(); + } + get done() { + return this[_doneCompleter$].future; + } + setHeader(data, length) { + if (data == null) dart.nullFailed(I[181], 1898, 28, "data"); + if (length == null) dart.nullFailed(I[181], 1898, 38, "length"); + if (!(this[_length$1] === 0)) dart.assertFailed(null, I[181], 1899, 12, "_length == 0"); + this[_buffer$1] = typed_data.Uint8List.as(data); + this[_length$1] = length; + } + set gzip(value) { + if (value == null) dart.nullFailed(I[181], 1904, 22, "value"); + this[_gzip] = value; + if (dart.test(value)) { + this[_gzipBuffer] = _native_typed_data.NativeUint8List.new(8192); + if (!(this[_gzipSink] == null)) dart.assertFailed(null, I[181], 1908, 14, "_gzipSink == null"); + this[_gzipSink] = new io.ZLibEncoder.new({gzip: true}).startChunkedConversion(new _http._HttpGZipSink.new(dart.fn(data => { + if (data == null) dart.nullFailed(I[181], 1910, 54, "data"); + if (this[_gzipAdd] == null) return; + this[_addChunk$](this[_chunkHeader](data[$length]), dart.nullCheck(this[_gzipAdd])); + this[_pendingChunkedFooter] = 2; + this[_addChunk$](data, dart.nullCheck(this[_gzipAdd])); + }, T$0.ListOfintTovoid()))); + } + } + [_ignoreError](error) { + return (io.SocketException.is(error) || io.TlsException.is(error)) && _http.HttpResponse.is(this.outbound); + } + [_addGZipChunk](chunk, add) { + if (chunk == null) dart.nullFailed(I[181], 1924, 32, "chunk"); + if (add == null) dart.nullFailed(I[181], 1924, 44, "add"); + let bufferOutput = dart.nullCheck(this.outbound).bufferOutput; + if (!dart.test(bufferOutput)) { + add(chunk); + return; + } + let gzipBuffer = dart.nullCheck(this[_gzipBuffer]); + if (dart.notNull(chunk[$length]) > dart.notNull(gzipBuffer[$length]) - dart.notNull(this[_gzipBufferLength])) { + add(typed_data.Uint8List.view(gzipBuffer[$buffer], gzipBuffer[$offsetInBytes], this[_gzipBufferLength])); + this[_gzipBuffer] = _native_typed_data.NativeUint8List.new(8192); + this[_gzipBufferLength] = 0; + } + if (dart.notNull(chunk[$length]) > 8192) { + add(chunk); + } else { + let currentLength = this[_gzipBufferLength]; + let newLength = dart.notNull(currentLength) + dart.notNull(chunk[$length]); + dart.nullCheck(this[_gzipBuffer])[$setRange](currentLength, newLength, chunk); + this[_gzipBufferLength] = newLength; + } + } + [_addChunk$](chunk, add) { + if (chunk == null) dart.nullFailed(I[181], 1947, 28, "chunk"); + if (add == null) dart.nullFailed(I[181], 1947, 40, "add"); + let bufferOutput = dart.nullCheck(this.outbound).bufferOutput; + if (!dart.test(bufferOutput)) { + if (this[_buffer$1] != null) { + add(typed_data.Uint8List.view(dart.nullCheck(this[_buffer$1])[$buffer], dart.nullCheck(this[_buffer$1])[$offsetInBytes], this[_length$1])); + this[_buffer$1] = null; + this[_length$1] = 0; + } + add(chunk); + return; + } + if (dart.notNull(chunk[$length]) > dart.notNull(dart.nullCheck(this[_buffer$1])[$length]) - dart.notNull(this[_length$1])) { + add(typed_data.Uint8List.view(dart.nullCheck(this[_buffer$1])[$buffer], dart.nullCheck(this[_buffer$1])[$offsetInBytes], this[_length$1])); + this[_buffer$1] = _native_typed_data.NativeUint8List.new(8192); + this[_length$1] = 0; + } + if (dart.notNull(chunk[$length]) > 8192) { + add(chunk); + } else { + dart.nullCheck(this[_buffer$1])[$setRange](this[_length$1], dart.notNull(this[_length$1]) + dart.notNull(chunk[$length]), chunk); + this[_length$1] = dart.notNull(this[_length$1]) + dart.notNull(chunk[$length]); + } + } + [_chunkHeader](length) { + if (length == null) dart.nullFailed(I[181], 1974, 30, "length"); + let hexDigits = C[471] || CT.C471; + if (length === 0) { + if (this[_pendingChunkedFooter] === 2) return _http._HttpOutgoing._footerAndChunk0Length; + return _http._HttpOutgoing._chunk0Length; + } + let size = this[_pendingChunkedFooter]; + let len = length; + while (dart.notNull(len) > 0) { + size = dart.notNull(size) + 1; + len = len[$rightShift](4); + } + let footerAndHeader = _native_typed_data.NativeUint8List.new(dart.notNull(size) + 2); + if (this[_pendingChunkedFooter] === 2) { + footerAndHeader[$_set](0, 13); + footerAndHeader[$_set](1, 10); + } + let index = size; + while (dart.notNull(index) > dart.notNull(this[_pendingChunkedFooter])) { + footerAndHeader[$_set](index = dart.notNull(index) - 1, hexDigits[$_get](dart.notNull(length) & 15)); + length = length[$rightShift](4); + } + footerAndHeader[$_set](dart.notNull(size) + 0, 13); + footerAndHeader[$_set](dart.notNull(size) + 1, 10); + return footerAndHeader; + } +}; +(_http._HttpOutgoing.new = function(socket) { + if (socket == null) dart.nullFailed(I[181], 1680, 22, "socket"); + this[_doneCompleter$] = T$0.CompleterOfSocket().new(); + this.ignoreBody = false; + this.headersWritten = false; + this[_buffer$1] = null; + this[_length$1] = 0; + this[_closeFuture] = null; + this.chunked = false; + this[_pendingChunkedFooter] = 0; + this.contentLength = null; + this[_bytesWritten] = 0; + this[_gzip] = false; + this[_gzipSink] = null; + this[_gzipAdd] = null; + this[_gzipBuffer] = null; + this[_gzipBufferLength] = 0; + this[_socketError] = false; + this.outbound = null; + this.socket = socket; + ; +}).prototype = _http._HttpOutgoing.prototype; +dart.addTypeTests(_http._HttpOutgoing); +dart.addTypeCaches(_http._HttpOutgoing); +_http._HttpOutgoing[dart.implements] = () => [async.StreamConsumer$(core.List$(core.int))]; +dart.setMethodSignature(_http._HttpOutgoing, () => ({ + __proto__: dart.getMethods(_http._HttpOutgoing.__proto__), + writeHeaders: dart.fnType(dart.nullable(async.Future$(dart.void)), [], {drainRequest: core.bool, setOutgoing: core.bool}, {}), + addStream: dart.fnType(async.Future, [dart.nullable(core.Object)]), + close: dart.fnType(async.Future, []), + setHeader: dart.fnType(dart.void, [core.List$(core.int), core.int]), + [_ignoreError]: dart.fnType(core.bool, [dart.dynamic]), + [_addGZipChunk]: dart.fnType(dart.void, [core.List$(core.int), dart.fnType(dart.void, [core.List$(core.int)])]), + [_addChunk$]: dart.fnType(dart.void, [core.List$(core.int), dart.fnType(dart.void, [core.List$(core.int)])]), + [_chunkHeader]: dart.fnType(core.List$(core.int), [core.int]) +})); +dart.setGetterSignature(_http._HttpOutgoing, () => ({ + __proto__: dart.getGetters(_http._HttpOutgoing.__proto__), + done: async.Future$(io.Socket) +})); +dart.setSetterSignature(_http._HttpOutgoing, () => ({ + __proto__: dart.getSetters(_http._HttpOutgoing.__proto__), + gzip: core.bool +})); +dart.setLibraryUri(_http._HttpOutgoing, I[177]); +dart.setFieldSignature(_http._HttpOutgoing, () => ({ + __proto__: dart.getFields(_http._HttpOutgoing.__proto__), + [_doneCompleter$]: dart.finalFieldType(async.Completer$(io.Socket)), + socket: dart.finalFieldType(io.Socket), + ignoreBody: dart.fieldType(core.bool), + headersWritten: dart.fieldType(core.bool), + [_buffer$1]: dart.fieldType(dart.nullable(typed_data.Uint8List)), + [_length$1]: dart.fieldType(core.int), + [_closeFuture]: dart.fieldType(dart.nullable(async.Future)), + chunked: dart.fieldType(core.bool), + [_pendingChunkedFooter]: dart.fieldType(core.int), + contentLength: dart.fieldType(dart.nullable(core.int)), + [_bytesWritten]: dart.fieldType(core.int), + [_gzip]: dart.fieldType(core.bool), + [_gzipSink]: dart.fieldType(dart.nullable(convert.ByteConversionSink)), + [_gzipAdd]: dart.fieldType(dart.nullable(dart.fnType(dart.void, [core.List$(core.int)]))), + [_gzipBuffer]: dart.fieldType(dart.nullable(typed_data.Uint8List)), + [_gzipBufferLength]: dart.fieldType(core.int), + [_socketError]: dart.fieldType(core.bool), + outbound: dart.fieldType(dart.nullable(_http._HttpOutboundMessage)) +})); +dart.defineLazy(_http._HttpOutgoing, { + /*_http._HttpOutgoing._footerAndChunk0Length*/get _footerAndChunk0Length() { + return C[472] || CT.C472; + }, + /*_http._HttpOutgoing._chunk0Length*/get _chunk0Length() { + return C[473] || CT.C473; + } +}, false); +var _subscription$0 = dart.privateName(_http, "_subscription"); +var _dispose = dart.privateName(_http, "_dispose"); +var _idleTimer = dart.privateName(_http, "_idleTimer"); +var _currentUri = dart.privateName(_http, "_currentUri"); +var _nextResponseCompleter = dart.privateName(_http, "_nextResponseCompleter"); +var _streamFuture = dart.privateName(_http, "_streamFuture"); +var _context$0 = dart.privateName(_http, "_context"); +var _httpParser = dart.privateName(_http, "_httpParser"); +var _proxyCredentials = dart.privateName(_http, "_proxyCredentials"); +var _returnConnection = dart.privateName(_http, "_returnConnection"); +var _connectionClosedNoFurtherClosing = dart.privateName(_http, "_connectionClosedNoFurtherClosing"); +_http._HttpClientConnection = class _HttpClientConnection extends core.Object { + send(uri, port, method, proxy, profileData) { + let t296; + if (uri == null) dart.nullFailed(I[181], 2083, 31, "uri"); + if (port == null) dart.nullFailed(I[181], 2083, 40, "port"); + if (method == null) dart.nullFailed(I[181], 2083, 53, "method"); + if (proxy == null) dart.nullFailed(I[181], 2083, 68, "proxy"); + if (dart.test(this.closed)) { + dart.throw(new _http.HttpException.new("Socket closed before request was sent", {uri: uri})); + } + this[_currentUri] = uri; + dart.nullCheck(this[_subscription$0]).pause(); + if (method === "CONNECT") { + this[_httpParser].connectMethod = true; + } + let proxyCreds = null; + let creds = null; + let outgoing = new _http._HttpOutgoing.new(this[_socket$0]); + let request = new _http._HttpClientRequest.new(outgoing, uri, method, proxy, this[_httpClient$], this, profileData); + let host = uri.host; + if (host[$contains](":")) host = "[" + dart.str(host) + "]"; + t296 = request.headers; + (() => { + t296.host = host; + t296.port = port; + t296.add("accept-encoding", "gzip"); + return t296; + })(); + if (this[_httpClient$].userAgent != null) { + request.headers.add("user-agent", dart.nullCheck(this[_httpClient$].userAgent)); + } + if (dart.test(proxy.isAuthenticated)) { + let auth = _http._CryptoUtils.bytesToBase64(convert.utf8.encode(dart.str(proxy.username) + ":" + dart.str(proxy.password))); + request.headers.set("proxy-authorization", "Basic " + dart.str(auth)); + } else if (!dart.test(proxy.isDirect) && dart.notNull(this[_httpClient$][_proxyCredentials][$length]) > 0) { + proxyCreds = this[_httpClient$][_findProxyCredentials](proxy); + if (proxyCreds != null) { + proxyCreds.authorize(request); + } + } + if (uri.userInfo != null && !uri.userInfo[$isEmpty]) { + let auth = _http._CryptoUtils.bytesToBase64(convert.utf8.encode(uri.userInfo)); + request.headers.set("authorization", "Basic " + dart.str(auth)); + } else { + creds = this[_httpClient$][_findCredentials](uri); + if (creds != null) { + creds.authorize(request); + } + } + this[_httpParser].isHead = method === "HEAD"; + this[_streamFuture] = outgoing.done.then(io.Socket, dart.fn(s => { + if (s == null) dart.nullFailed(I[181], 2141, 56, "s"); + let nextResponseCompleter = T.CompleterOf_HttpIncoming().new(); + this[_nextResponseCompleter] = nextResponseCompleter; + nextResponseCompleter.future.then(core.Null, dart.fn(incoming => { + if (incoming == null) dart.nullFailed(I[181], 2147, 42, "incoming"); + this[_currentUri] = null; + incoming.dataDone.then(core.Null, dart.fn(closing => { + if (dart.test(incoming.upgraded)) { + this[_httpClient$][_connectionClosed](this); + this.startTimer(); + return; + } + if (dart.test(this.closed) || method === "CONNECT" && incoming.statusCode === 200) { + return; + } + if (!dart.dtest(closing) && !dart.test(this[_dispose]) && dart.test(incoming.headers.persistentConnection) && dart.test(request.persistentConnection)) { + this[_httpClient$][_returnConnection](this); + dart.nullCheck(this[_subscription$0]).resume(); + } else { + this.destroy(); + } + }, T$.dynamicToNull())); + if (proxyCreds != null && dart.equals(proxyCreds.scheme, _http._AuthenticationScheme.DIGEST)) { + let authInfo = incoming.headers._get("proxy-authentication-info"); + if (authInfo != null && authInfo[$length] === 1) { + let header = _http._HeaderValue.parse(authInfo[$_get](0), {parameterSeparator: ","}); + let nextnonce = header.parameters[$_get]("nextnonce"); + if (nextnonce != null) proxyCreds.nonce = nextnonce; + } + } + if (creds != null && dart.equals(creds.scheme, _http._AuthenticationScheme.DIGEST)) { + let authInfo = incoming.headers._get("authentication-info"); + if (authInfo != null && authInfo[$length] === 1) { + let header = _http._HeaderValue.parse(authInfo[$_get](0), {parameterSeparator: ","}); + let nextnonce = header.parameters[$_get]("nextnonce"); + if (nextnonce != null) creds.nonce = nextnonce; + } + } + request[_onIncoming](incoming); + }, T._HttpIncomingToNull())).catchError(dart.fn(error => { + dart.throw(new _http.HttpException.new("Connection closed before data was received", {uri: uri})); + }, T$0.dynamicToNever()), {test: dart.fn(error => { + if (error == null) dart.nullFailed(I[181], 2202, 17, "error"); + return core.StateError.is(error); + }, T$.ObjectTobool())}).catchError(dart.fn((error, stackTrace) => { + this.destroy(); + request[_onError$](error, core.StackTrace.as(stackTrace)); + }, T$.dynamicAnddynamicToNull())); + dart.nullCheck(this[_subscription$0]).resume(); + return s; + }, T.SocketToSocket())); + T.FutureOfSocketN().value(this[_streamFuture]).catchError(dart.fn(e => { + this.destroy(); + }, T$.dynamicToNull())); + return request; + } + detachSocket() { + return dart.nullCheck(this[_streamFuture]).then(io.Socket, dart.fn(_ => { + if (_ == null) dart.nullFailed(I[181], 2220, 10, "_"); + return new _http._DetachedSocket.new(this[_socket$0], this[_httpParser].detachIncoming()); + }, T.SocketTo_DetachedSocket())); + } + destroy() { + this.closed = true; + this[_httpClient$][_connectionClosed](this); + this[_socket$0].destroy(); + } + destroyFromExternal() { + this.closed = true; + this[_httpClient$][_connectionClosedNoFurtherClosing](this); + this[_socket$0].destroy(); + } + close() { + this.closed = true; + this[_httpClient$][_connectionClosed](this); + dart.nullCheck(this[_streamFuture]).timeout(this[_httpClient$].idleTimeout).then(dart.void, dart.fn(_ => { + if (_ == null) dart.nullFailed(I[181], 2240, 16, "_"); + return this[_socket$0].destroy(); + }, T.SocketTovoid())); + } + closeFromExternal() { + this.closed = true; + this[_httpClient$][_connectionClosedNoFurtherClosing](this); + dart.nullCheck(this[_streamFuture]).timeout(this[_httpClient$].idleTimeout).then(dart.void, dart.fn(_ => { + if (_ == null) dart.nullFailed(I[181], 2248, 16, "_"); + return this[_socket$0].destroy(); + }, T.SocketTovoid())); + } + createProxyTunnel(host, port, proxy, callback, profileData) { + let t296; + if (host == null) dart.nullFailed(I[181], 2252, 14, "host"); + if (port == null) dart.nullFailed(I[181], 2253, 11, "port"); + if (proxy == null) dart.nullFailed(I[181], 2254, 14, "proxy"); + if (callback == null) dart.nullFailed(I[181], 2255, 12, "callback"); + let method = "CONNECT"; + let uri = core._Uri.new({host: host, port: port}); + t296 = profileData; + t296 == null ? null : t296.proxyEvent(proxy); + let proxyProfileData = null; + if (profileData != null) { + proxyProfileData = _http.HttpProfiler.startRequest(method, uri, {parentRequest: profileData}); + } + let request = this.send(core._Uri.new({host: host, port: port}), port, method, proxy, proxyProfileData); + if (dart.test(proxy.isAuthenticated)) { + let auth = _http._CryptoUtils.bytesToBase64(convert.utf8.encode(dart.str(proxy.username) + ":" + dart.str(proxy.password))); + request.headers.set("proxy-authorization", "Basic " + dart.str(auth)); + } + return request.close().then(io.SecureSocket, dart.fn(response => { + let t296; + if (response == null) dart.nullFailed(I[181], 2280, 34, "response"); + if (response.statusCode !== 200) { + let error = "Proxy failed to establish tunnel " + "(" + dart.str(response.statusCode) + " " + dart.str(response.reasonPhrase) + ")"; + t296 = profileData; + t296 == null ? null : t296.requestEvent(error); + dart.throw(new _http.HttpException.new(error, {uri: request.uri})); + } + let socket = _http._HttpClientResponse.as(response)[_httpRequest$][_httpClientConnection$][_socket$0]; + return io.SecureSocket.secure(socket, {host: host, context: this[_context$0], onBadCertificate: callback}); + }, T.HttpClientResponseToFutureOfSecureSocket())).then(_http._HttpClientConnection, dart.fn(secureSocket => { + let t296; + if (secureSocket == null) dart.nullFailed(I[181], 2293, 14, "secureSocket"); + let key = core.String.as(_http._HttpClientConnection.makeKey(true, host, port)); + t296 = profileData; + t296 == null ? null : t296.requestEvent("Proxy tunnel established"); + return new _http._HttpClientConnection.new(key, secureSocket, request[_httpClient$], true); + }, T.SecureSocketTo_HttpClientConnection())); + } + get connectionInfo() { + return _http._HttpConnectionInfo.create(this[_socket$0]); + } + static makeKey(isSecure, host, port) { + if (isSecure == null) dart.nullFailed(I[181], 2303, 23, "isSecure"); + if (host == null) dart.nullFailed(I[181], 2303, 40, "host"); + if (port == null) dart.nullFailed(I[181], 2303, 50, "port"); + return dart.test(isSecure) ? "ssh:" + dart.str(host) + ":" + dart.str(port) : dart.str(host) + ":" + dart.str(port); + } + stopTimer() { + let t296; + t296 = this[_idleTimer]; + t296 == null ? null : t296.cancel(); + this[_idleTimer] = null; + } + startTimer() { + if (!(this[_idleTimer] == null)) dart.assertFailed(null, I[181], 2313, 12, "_idleTimer == null"); + this[_idleTimer] = async.Timer.new(this[_httpClient$].idleTimeout, dart.fn(() => { + this[_idleTimer] = null; + this.close(); + }, T$.VoidTovoid())); + } +}; +(_http._HttpClientConnection.new = function(key, _socket, _httpClient, _proxyTunnel = false, _context = null) { + if (key == null) dart.nullFailed(I[181], 2036, 30, "key"); + if (_socket == null) dart.nullFailed(I[181], 2036, 40, "_socket"); + if (_httpClient == null) dart.nullFailed(I[181], 2036, 54, "_httpClient"); + if (_proxyTunnel == null) dart.nullFailed(I[181], 2037, 13, "_proxyTunnel"); + this[_subscription$0] = null; + this[_dispose] = false; + this[_idleTimer] = null; + this.closed = false; + this[_currentUri] = null; + this[_nextResponseCompleter] = null; + this[_streamFuture] = null; + this.key = key; + this[_socket$0] = _socket; + this[_httpClient$] = _httpClient; + this[_proxyTunnel$] = _proxyTunnel; + this[_context$0] = _context; + this[_httpParser] = _http._HttpParser.responseParser(); + this[_httpParser].listenToStream(this[_socket$0]); + this[_subscription$0] = this[_httpParser].listen(dart.fn(incoming => { + if (incoming == null) dart.nullFailed(I[181], 2043, 41, "incoming"); + dart.nullCheck(this[_subscription$0]).pause(); + if (this[_nextResponseCompleter] == null) { + dart.throw(new _http.HttpException.new("Unexpected response (unsolicited response without request).", {uri: this[_currentUri]})); + } + if (incoming.statusCode === 100) { + incoming.drain(dart.dynamic).then(core.Null, dart.fn(_ => { + dart.nullCheck(this[_subscription$0]).resume(); + }, T$.dynamicToNull())).catchError(dart.fn((error, stackTrace) => { + if (stackTrace == null) dart.nullFailed(I[181], 2061, 50, "stackTrace"); + dart.nullCheck(this[_nextResponseCompleter]).completeError(new _http.HttpException.new(core.String.as(dart.dload(error, 'message')), {uri: this[_currentUri]}), stackTrace); + this[_nextResponseCompleter] = null; + }, T.dynamicAndStackTraceToNull())); + } else { + dart.nullCheck(this[_nextResponseCompleter]).complete(incoming); + this[_nextResponseCompleter] = null; + } + }, T._HttpIncomingTovoid()), {onError: dart.fn((error, stackTrace) => { + let t296; + if (stackTrace == null) dart.nullFailed(I[181], 2070, 44, "stackTrace"); + t296 = this[_nextResponseCompleter]; + t296 == null ? null : t296.completeError(new _http.HttpException.new(core.String.as(dart.dload(error, 'message')), {uri: this[_currentUri]}), stackTrace); + this[_nextResponseCompleter] = null; + }, T.dynamicAndStackTraceToNull()), onDone: dart.fn(() => { + let t296; + t296 = this[_nextResponseCompleter]; + t296 == null ? null : t296.completeError(new _http.HttpException.new("Connection closed before response was received", {uri: this[_currentUri]})); + this[_nextResponseCompleter] = null; + this.close(); + }, T$.VoidTovoid())}); +}).prototype = _http._HttpClientConnection.prototype; +dart.addTypeTests(_http._HttpClientConnection); +dart.addTypeCaches(_http._HttpClientConnection); +dart.setMethodSignature(_http._HttpClientConnection, () => ({ + __proto__: dart.getMethods(_http._HttpClientConnection.__proto__), + send: dart.fnType(_http._HttpClientRequest, [core.Uri, core.int, core.String, _http._Proxy, dart.nullable(_http._HttpProfileData)]), + detachSocket: dart.fnType(async.Future$(io.Socket), []), + destroy: dart.fnType(dart.void, []), + destroyFromExternal: dart.fnType(dart.void, []), + close: dart.fnType(dart.void, []), + closeFromExternal: dart.fnType(dart.void, []), + createProxyTunnel: dart.fnType(async.Future$(_http._HttpClientConnection), [core.String, core.int, _http._Proxy, dart.fnType(core.bool, [io.X509Certificate]), dart.nullable(_http._HttpProfileData)]), + stopTimer: dart.fnType(dart.void, []), + startTimer: dart.fnType(dart.void, []) +})); +dart.setGetterSignature(_http._HttpClientConnection, () => ({ + __proto__: dart.getGetters(_http._HttpClientConnection.__proto__), + connectionInfo: dart.nullable(_http.HttpConnectionInfo) +})); +dart.setLibraryUri(_http._HttpClientConnection, I[177]); +dart.setFieldSignature(_http._HttpClientConnection, () => ({ + __proto__: dart.getFields(_http._HttpClientConnection.__proto__), + key: dart.finalFieldType(core.String), + [_socket$0]: dart.finalFieldType(io.Socket), + [_proxyTunnel$]: dart.finalFieldType(core.bool), + [_context$0]: dart.finalFieldType(dart.nullable(io.SecurityContext)), + [_httpParser]: dart.finalFieldType(_http._HttpParser), + [_subscription$0]: dart.fieldType(dart.nullable(async.StreamSubscription)), + [_httpClient$]: dart.finalFieldType(_http._HttpClient), + [_dispose]: dart.fieldType(core.bool), + [_idleTimer]: dart.fieldType(dart.nullable(async.Timer)), + closed: dart.fieldType(core.bool), + [_currentUri]: dart.fieldType(dart.nullable(core.Uri)), + [_nextResponseCompleter]: dart.fieldType(dart.nullable(async.Completer$(_http._HttpIncoming))), + [_streamFuture]: dart.fieldType(dart.nullable(async.Future$(io.Socket))) +})); +_http._ConnectionInfo = class _ConnectionInfo extends core.Object {}; +(_http._ConnectionInfo.new = function(connection, proxy) { + if (connection == null) dart.nullFailed(I[181], 2325, 24, "connection"); + if (proxy == null) dart.nullFailed(I[181], 2325, 41, "proxy"); + this.connection = connection; + this.proxy = proxy; + ; +}).prototype = _http._ConnectionInfo.prototype; +dart.addTypeTests(_http._ConnectionInfo); +dart.addTypeCaches(_http._ConnectionInfo); +dart.setLibraryUri(_http._ConnectionInfo, I[177]); +dart.setFieldSignature(_http._ConnectionInfo, () => ({ + __proto__: dart.getFields(_http._ConnectionInfo.__proto__), + connection: dart.finalFieldType(_http._HttpClientConnection), + proxy: dart.finalFieldType(_http._Proxy) +})); +var _idle = dart.privateName(_http, "_idle"); +var _active = dart.privateName(_http, "_active"); +var _socketTasks = dart.privateName(_http, "_socketTasks"); +var _pending = dart.privateName(_http, "_pending"); +var _connecting = dart.privateName(_http, "_connecting"); +var _checkPending = dart.privateName(_http, "_checkPending"); +var _connectionsChanged = dart.privateName(_http, "_connectionsChanged"); +var _badCertificateCallback = dart.privateName(_http, "_badCertificateCallback"); +var _getConnectionTarget = dart.privateName(_http, "_getConnectionTarget"); +_http._ConnectionTarget = class _ConnectionTarget extends core.Object { + get isEmpty() { + return dart.test(this[_idle][$isEmpty]) && dart.test(this[_active][$isEmpty]) && this[_connecting] === 0; + } + get hasIdle() { + return this[_idle][$isNotEmpty]; + } + get hasActive() { + return dart.test(this[_active][$isNotEmpty]) || dart.notNull(this[_connecting]) > 0; + } + takeIdle() { + if (!dart.test(this.hasIdle)) dart.assertFailed(null, I[181], 2351, 12, "hasIdle"); + let connection = this[_idle][$first]; + this[_idle].remove(connection); + connection.stopTimer(); + this[_active].add(connection); + return connection; + } + [_checkPending]() { + if (dart.test(this[_pending][$isNotEmpty])) { + dart.dcall(this[_pending].removeFirst(), []); + } + } + addNewActive(connection) { + if (connection == null) dart.nullFailed(I[181], 2365, 43, "connection"); + this[_active].add(connection); + } + returnConnection(connection) { + if (connection == null) dart.nullFailed(I[181], 2369, 47, "connection"); + if (!dart.test(this[_active].contains(connection))) dart.assertFailed(null, I[181], 2370, 12, "_active.contains(connection)"); + this[_active].remove(connection); + this[_idle].add(connection); + connection.startTimer(); + this[_checkPending](); + } + connectionClosed(connection) { + if (connection == null) dart.nullFailed(I[181], 2377, 47, "connection"); + if (!(!dart.test(this[_active].contains(connection)) || !dart.test(this[_idle].contains(connection)))) dart.assertFailed(null, I[181], 2378, 12, "!_active.contains(connection) || !_idle.contains(connection)"); + this[_active].remove(connection); + this[_idle].remove(connection); + this[_checkPending](); + } + close(force) { + if (force == null) dart.nullFailed(I[181], 2384, 19, "force"); + for (let t of this[_socketTasks][$toList]()) { + t.socket.then(core.Null, dart.fn(s => { + dart.dsend(s, 'destroy', []); + }, T$.dynamicToNull()), {onError: dart.fn(e => { + }, T$.dynamicToNull())}); + t.cancel(); + } + if (dart.test(force)) { + for (let c of this[_idle][$toList]()) { + c.destroyFromExternal(); + } + for (let c of this[_active][$toList]()) { + c.destroyFromExternal(); + } + } else { + for (let c of this[_idle][$toList]()) { + c.closeFromExternal(); + } + } + } + connect(uriHost, uriPort, proxy, client, profileData) { + if (uriHost == null) dart.nullFailed(I[181], 2407, 42, "uriHost"); + if (uriPort == null) dart.nullFailed(I[181], 2407, 55, "uriPort"); + if (proxy == null) dart.nullFailed(I[181], 2407, 71, "proxy"); + if (client == null) dart.nullFailed(I[181], 2408, 19, "client"); + if (dart.test(this.hasIdle)) { + let connection = this.takeIdle(); + client[_connectionsChanged](); + return T.FutureOf_ConnectionInfo().value(new _http._ConnectionInfo.new(connection, proxy)); + } + let maxConnectionsPerHost = client.maxConnectionsPerHost; + if (maxConnectionsPerHost != null && dart.notNull(this[_active][$length]) + dart.notNull(this[_connecting]) >= dart.notNull(maxConnectionsPerHost)) { + let completer = T.CompleterOf_ConnectionInfo().new(); + this[_pending].add(dart.fn(() => { + completer.complete(this.connect(uriHost, uriPort, proxy, client, profileData)); + }, T$.VoidToNull())); + return completer.future; + } + let currentBadCertificateCallback = client[_badCertificateCallback]; + function callback(certificate) { + if (certificate == null) dart.nullFailed(I[181], 2426, 35, "certificate"); + if (currentBadCertificateCallback == null) return false; + return currentBadCertificateCallback(certificate, uriHost, uriPort); + } + dart.fn(callback, T.X509CertificateTobool()); + let connectionTask = dart.test(this.isSecure) && dart.test(proxy.isDirect) ? io.SecureSocket.startConnect(this.host, this.port, {context: this.context, onBadCertificate: callback}) : io.Socket.startConnect(this.host, this.port); + this[_connecting] = dart.notNull(this[_connecting]) + 1; + return connectionTask.then(_http._ConnectionInfo, dart.fn(task => { + if (task == null) dart.nullFailed(I[181], 2436, 48, "task"); + this[_socketTasks].add(task); + let socketFuture = task.socket; + let connectionTimeout = client.connectionTimeout; + if (connectionTimeout != null) { + socketFuture = socketFuture.timeout(connectionTimeout); + } + return socketFuture.then(_http._ConnectionInfo, dart.fn(socket => { + this[_connecting] = dart.notNull(this[_connecting]) - 1; + dart.dsend(socket, 'setOption', [io.SocketOption.tcpNoDelay, true]); + let connection = new _http._HttpClientConnection.new(this.key, io.Socket.as(socket), client, false, this.context); + if (dart.test(this.isSecure) && !dart.test(proxy.isDirect)) { + connection[_dispose] = true; + return connection.createProxyTunnel(uriHost, uriPort, proxy, callback, profileData).then(_http._ConnectionInfo, dart.fn(tunnel => { + if (tunnel == null) dart.nullFailed(I[181], 2452, 22, "tunnel"); + client[_getConnectionTarget](uriHost, uriPort, true).addNewActive(tunnel); + this[_socketTasks].remove(task); + return new _http._ConnectionInfo.new(tunnel, proxy); + }, T._HttpClientConnectionTo_ConnectionInfo())); + } else { + this.addNewActive(connection); + this[_socketTasks].remove(task); + return new _http._ConnectionInfo.new(connection, proxy); + } + }, T.dynamicToFutureOrOf_ConnectionInfo()), {onError: dart.fn(error => { + if (async.TimeoutException.is(error)) { + if (!(connectionTimeout != null)) dart.assertFailed(null, I[181], 2471, 18, "connectionTimeout != null"); + this[_connecting] = dart.notNull(this[_connecting]) - 1; + this[_socketTasks].remove(task); + task.cancel(); + dart.throw(new io.SocketException.new("HTTP connection timed out after " + dart.str(connectionTimeout) + ", " + "host: " + dart.str(this.host) + ", port: " + dart.str(this.port))); + } + this[_socketTasks].remove(task); + this[_checkPending](); + dart.throw(error); + }, T$0.dynamicToNever())}); + }, T.ConnectionTaskToFutureOf_ConnectionInfo()), {onError: dart.fn(error => { + this[_connecting] = dart.notNull(this[_connecting]) - 1; + dart.throw(error); + }, T$0.dynamicToNever())}); + } +}; +(_http._ConnectionTarget.new = function(key, host, port, isSecure, context) { + if (key == null) dart.nullFailed(I[181], 2342, 12, "key"); + if (host == null) dart.nullFailed(I[181], 2342, 22, "host"); + if (port == null) dart.nullFailed(I[181], 2342, 33, "port"); + if (isSecure == null) dart.nullFailed(I[181], 2342, 44, "isSecure"); + this[_idle] = new (T._HashSetOf_HttpClientConnection()).new(); + this[_active] = new (T._HashSetOf_HttpClientConnection()).new(); + this[_socketTasks] = new (T._HashSetOfConnectionTask()).new(); + this[_pending] = new collection.ListQueue.new(); + this[_connecting] = 0; + this.key = key; + this.host = host; + this.port = port; + this.isSecure = isSecure; + this.context = context; + ; +}).prototype = _http._ConnectionTarget.prototype; +dart.addTypeTests(_http._ConnectionTarget); +dart.addTypeCaches(_http._ConnectionTarget); +dart.setMethodSignature(_http._ConnectionTarget, () => ({ + __proto__: dart.getMethods(_http._ConnectionTarget.__proto__), + takeIdle: dart.fnType(_http._HttpClientConnection, []), + [_checkPending]: dart.fnType(dart.dynamic, []), + addNewActive: dart.fnType(dart.void, [_http._HttpClientConnection]), + returnConnection: dart.fnType(dart.void, [_http._HttpClientConnection]), + connectionClosed: dart.fnType(dart.void, [_http._HttpClientConnection]), + close: dart.fnType(dart.void, [core.bool]), + connect: dart.fnType(async.Future$(_http._ConnectionInfo), [core.String, core.int, _http._Proxy, _http._HttpClient, dart.nullable(_http._HttpProfileData)]) +})); +dart.setGetterSignature(_http._ConnectionTarget, () => ({ + __proto__: dart.getGetters(_http._ConnectionTarget.__proto__), + isEmpty: core.bool, + hasIdle: core.bool, + hasActive: core.bool +})); +dart.setLibraryUri(_http._ConnectionTarget, I[177]); +dart.setFieldSignature(_http._ConnectionTarget, () => ({ + __proto__: dart.getFields(_http._ConnectionTarget.__proto__), + key: dart.finalFieldType(core.String), + host: dart.finalFieldType(core.String), + port: dart.finalFieldType(core.int), + isSecure: dart.finalFieldType(core.bool), + context: dart.finalFieldType(dart.nullable(io.SecurityContext)), + [_idle]: dart.finalFieldType(core.Set$(_http._HttpClientConnection)), + [_active]: dart.finalFieldType(core.Set$(_http._HttpClientConnection)), + [_socketTasks]: dart.finalFieldType(core.Set$(io.ConnectionTask)), + [_pending]: dart.finalFieldType(collection.Queue), + [_connecting]: dart.fieldType(core.int) +})); +var _closing = dart.privateName(_http, "_closing"); +var _closingForcefully = dart.privateName(_http, "_closingForcefully"); +var _connectionTargets = dart.privateName(_http, "_connectionTargets"); +var _credentials = dart.privateName(_http, "_credentials"); +var _findProxy = dart.privateName(_http, "_findProxy"); +var _idleTimeout = dart.privateName(_http, "_idleTimeout"); +var _openUrl = dart.privateName(_http, "_openUrl"); +var _closeConnections = dart.privateName(_http, "_closeConnections"); +var _Proxy_isDirect = dart.privateName(_http, "_Proxy.isDirect"); +var _Proxy_password = dart.privateName(_http, "_Proxy.password"); +var _Proxy_username = dart.privateName(_http, "_Proxy.username"); +var _Proxy_port = dart.privateName(_http, "_Proxy.port"); +var _Proxy_host = dart.privateName(_http, "_Proxy.host"); +var _ProxyConfiguration_proxies = dart.privateName(_http, "_ProxyConfiguration.proxies"); +var _getConnection = dart.privateName(_http, "_getConnection"); +_http._HttpClient = class _HttpClient extends core.Object { + get idleTimeout() { + return this[_idleTimeout]; + } + set idleTimeout(timeout) { + if (timeout == null) dart.nullFailed(I[181], 2518, 33, "timeout"); + this[_idleTimeout] = timeout; + for (let c of this[_connectionTargets][$values]) { + for (let idle of c[_idle]) { + idle.stopTimer(); + idle.startTimer(); + } + } + } + set badCertificateCallback(callback) { + this[_badCertificateCallback] = callback; + } + open(method, host, port, path) { + if (method == null) dart.nullFailed(I[181], 2535, 14, "method"); + if (host == null) dart.nullFailed(I[181], 2535, 29, "host"); + if (port == null) dart.nullFailed(I[181], 2535, 39, "port"); + if (path == null) dart.nullFailed(I[181], 2535, 52, "path"); + let fragmentStart = path.length; + let queryStart = path.length; + for (let i = path.length - 1; i >= 0; i = i - 1) { + let char = path[$codeUnitAt](i); + if (char === 35) { + fragmentStart = i; + queryStart = i; + } else if (char === 63) { + queryStart = i; + } + } + let query = null; + if (queryStart < fragmentStart) { + query = path[$substring](queryStart + 1, fragmentStart); + path = path[$substring](0, queryStart); + } + let uri = core._Uri.new({scheme: "http", host: host, port: port, path: path, query: query}); + return this[_openUrl](method, uri); + } + openUrl(method, url) { + if (method == null) dart.nullFailed(I[181], 2559, 44, "method"); + if (url == null) dart.nullFailed(I[181], 2559, 56, "url"); + return this[_openUrl](method, url); + } + get(host, port, path) { + if (host == null) dart.nullFailed(I[181], 2562, 40, "host"); + if (port == null) dart.nullFailed(I[181], 2562, 50, "port"); + if (path == null) dart.nullFailed(I[181], 2562, 63, "path"); + return this.open("get", host, port, path); + } + getUrl(url) { + if (url == null) dart.nullFailed(I[181], 2565, 40, "url"); + return this[_openUrl]("get", url); + } + post(host, port, path) { + if (host == null) dart.nullFailed(I[181], 2567, 41, "host"); + if (port == null) dart.nullFailed(I[181], 2567, 51, "port"); + if (path == null) dart.nullFailed(I[181], 2567, 64, "path"); + return this.open("post", host, port, path); + } + postUrl(url) { + if (url == null) dart.nullFailed(I[181], 2570, 41, "url"); + return this[_openUrl]("post", url); + } + put(host, port, path) { + if (host == null) dart.nullFailed(I[181], 2572, 40, "host"); + if (port == null) dart.nullFailed(I[181], 2572, 50, "port"); + if (path == null) dart.nullFailed(I[181], 2572, 63, "path"); + return this.open("put", host, port, path); + } + putUrl(url) { + if (url == null) dart.nullFailed(I[181], 2575, 40, "url"); + return this[_openUrl]("put", url); + } + delete(host, port, path) { + if (host == null) dart.nullFailed(I[181], 2577, 43, "host"); + if (port == null) dart.nullFailed(I[181], 2577, 53, "port"); + if (path == null) dart.nullFailed(I[181], 2577, 66, "path"); + return this.open("delete", host, port, path); + } + deleteUrl(url) { + if (url == null) dart.nullFailed(I[181], 2580, 43, "url"); + return this[_openUrl]("delete", url); + } + head(host, port, path) { + if (host == null) dart.nullFailed(I[181], 2582, 41, "host"); + if (port == null) dart.nullFailed(I[181], 2582, 51, "port"); + if (path == null) dart.nullFailed(I[181], 2582, 64, "path"); + return this.open("head", host, port, path); + } + headUrl(url) { + if (url == null) dart.nullFailed(I[181], 2585, 41, "url"); + return this[_openUrl]("head", url); + } + patch(host, port, path) { + if (host == null) dart.nullFailed(I[181], 2587, 42, "host"); + if (port == null) dart.nullFailed(I[181], 2587, 52, "port"); + if (path == null) dart.nullFailed(I[181], 2587, 65, "path"); + return this.open("patch", host, port, path); + } + patchUrl(url) { + if (url == null) dart.nullFailed(I[181], 2590, 42, "url"); + return this[_openUrl]("patch", url); + } + close(opts) { + let force = opts && 'force' in opts ? opts.force : false; + if (force == null) dart.nullFailed(I[181], 2592, 20, "force"); + this[_closing] = true; + this[_closingForcefully] = force; + this[_closeConnections](this[_closingForcefully]); + if (!!dart.test(this[_connectionTargets][$values][$any](dart.fn(s => { + if (s == null) dart.nullFailed(I[181], 2596, 44, "s"); + return s.hasIdle; + }, T._ConnectionTargetTobool())))) dart.assertFailed(null, I[181], 2596, 12, "!_connectionTargets.values.any((s) => s.hasIdle)"); + if (!(!dart.test(force) || !dart.test(this[_connectionTargets][$values][$any](dart.fn(s => { + if (s == null) dart.nullFailed(I[181], 2598, 51, "s"); + return s[_active][$isNotEmpty]; + }, T._ConnectionTargetTobool()))))) dart.assertFailed(null, I[181], 2598, 9, "!force || !_connectionTargets.values.any((s) => s._active.isNotEmpty)"); + } + set authenticate(f) { + this[_authenticate] = f; + } + addCredentials(url, realm, cr) { + if (url == null) dart.nullFailed(I[181], 2605, 27, "url"); + if (realm == null) dart.nullFailed(I[181], 2605, 39, "realm"); + if (cr == null) dart.nullFailed(I[181], 2605, 68, "cr"); + this[_credentials][$add](new _http._SiteCredentials.new(url, realm, _http._HttpClientCredentials.as(cr))); + } + set authenticateProxy(f) { + this[_authenticateProxy] = f; + } + addProxyCredentials(host, port, realm, cr) { + if (host == null) dart.nullFailed(I[181], 2616, 14, "host"); + if (port == null) dart.nullFailed(I[181], 2616, 24, "port"); + if (realm == null) dart.nullFailed(I[181], 2616, 37, "realm"); + if (cr == null) dart.nullFailed(I[181], 2616, 66, "cr"); + this[_proxyCredentials][$add](new _http._ProxyCredentials.new(host, port, realm, _http._HttpClientCredentials.as(cr))); + } + set findProxy(f) { + return this[_findProxy] = f; + } + [_openUrl](method, uri) { + if (method == null) dart.nullFailed(I[181], 2623, 46, "method"); + if (uri == null) dart.nullFailed(I[181], 2623, 58, "uri"); + if (dart.test(this[_closing])) { + dart.throw(new core.StateError.new("Client is closed")); + } + uri = uri.removeFragment(); + if (method == null) { + dart.throw(new core.ArgumentError.new(method)); + } + if (method !== "CONNECT") { + if (uri.host[$isEmpty]) { + dart.throw(new core.ArgumentError.new("No host specified in URI " + dart.str(uri))); + } else if (uri.scheme !== "http" && uri.scheme !== "https") { + dart.throw(new core.ArgumentError.new("Unsupported scheme '" + dart.str(uri.scheme) + "' in URI " + dart.str(uri))); + } + } + let isSecure = uri.isScheme("https"); + if (!dart.test(isSecure) && !dart.test(io.isInsecureConnectionAllowed(uri.host))) { + dart.throw(new core.StateError.new("Insecure HTTP is not allowed by platform: " + dart.str(uri))); + } + let port = uri.port; + if (port === 0) { + port = dart.test(isSecure) ? 443 : 80; + } + let proxyConf = C[475] || CT.C475; + let findProxy = this[_findProxy]; + if (findProxy != null) { + try { + proxyConf = new _http._ProxyConfiguration.new(core.String.as(dart.dcall(findProxy, [uri]))); + } catch (e) { + let error = dart.getThrown(e); + let stackTrace = dart.stackTrace(e); + if (core.Object.is(error)) { + return T.FutureOf_HttpClientRequest().error(error, stackTrace); + } else + throw e; + } + } + let profileData = null; + if (dart.test(_http.HttpClient.enableTimelineLogging)) { + profileData = _http.HttpProfiler.startRequest(method, uri); + } + return this[_getConnection](uri.host, port, proxyConf, isSecure, profileData).then(_http._HttpClientRequest, dart.fn(info => { + if (info == null) dart.nullFailed(I[181], 2669, 32, "info"); + function send(info) { + let t297; + if (info == null) dart.nullFailed(I[181], 2670, 47, "info"); + t297 = profileData; + t297 == null ? null : t297.requestEvent("Connection established"); + return info.connection.send(uri, port, method[$toUpperCase](), info.proxy, profileData); + } + dart.fn(send, T._ConnectionInfoTo_HttpClientRequest()); + if (dart.test(info.connection.closed)) { + return this[_getConnection](uri.host, port, proxyConf, isSecure, profileData).then(_http._HttpClientRequest, send); + } + return send(info); + }, T._ConnectionInfoToFutureOrOf_HttpClientRequest()), {onError: dart.fn(error => { + let t297; + t297 = profileData; + t297 == null ? null : t297.finishRequestWithError(dart.toString(error)); + dart.throw(error); + }, T$0.dynamicToNever())}); + } + [_openUrlFromRequest](method, uri, previous) { + if (method == null) dart.nullFailed(I[181], 2690, 14, "method"); + if (uri == null) dart.nullFailed(I[181], 2690, 26, "uri"); + if (previous == null) dart.nullFailed(I[181], 2690, 50, "previous"); + let resolved = previous.uri.resolveUri(uri); + return this[_openUrl](method, resolved).then(_http._HttpClientRequest, dart.fn(request => { + let t297, t297$; + if (request == null) dart.nullFailed(I[181], 2694, 64, "request"); + t297 = request; + (() => { + t297.followRedirects = previous.followRedirects; + t297.maxRedirects = previous.maxRedirects; + return t297; + })(); + for (let header of previous.headers[_headers][$keys]) { + if (request.headers._get(header) == null) { + request.headers.set(header, dart.nullCheck(previous.headers._get(header))); + } + } + t297$ = request; + return (() => { + t297$.headers.chunkedTransferEncoding = false; + t297$.contentLength = 0; + return t297$; + })(); + }, T._HttpClientRequestTo_HttpClientRequest())); + } + [_returnConnection](connection) { + if (connection == null) dart.nullFailed(I[181], 2713, 48, "connection"); + dart.nullCheck(this[_connectionTargets][$_get](connection.key)).returnConnection(connection); + this[_connectionsChanged](); + } + [_connectionClosed](connection) { + if (connection == null) dart.nullFailed(I[181], 2719, 48, "connection"); + connection.stopTimer(); + let connectionTarget = this[_connectionTargets][$_get](connection.key); + if (connectionTarget != null) { + connectionTarget.connectionClosed(connection); + if (dart.test(connectionTarget.isEmpty)) { + this[_connectionTargets][$remove](connection.key); + } + this[_connectionsChanged](); + } + } + [_connectionClosedNoFurtherClosing](connection) { + if (connection == null) dart.nullFailed(I[181], 2734, 64, "connection"); + connection.stopTimer(); + let connectionTarget = this[_connectionTargets][$_get](connection.key); + if (connectionTarget != null) { + connectionTarget.connectionClosed(connection); + if (dart.test(connectionTarget.isEmpty)) { + this[_connectionTargets][$remove](connection.key); + } + } + } + [_connectionsChanged]() { + if (dart.test(this[_closing])) { + this[_closeConnections](this[_closingForcefully]); + } + } + [_closeConnections](force) { + if (force == null) dart.nullFailed(I[181], 2751, 31, "force"); + for (let connectionTarget of this[_connectionTargets][$values][$toList]()) { + connectionTarget.close(force); + } + } + [_getConnectionTarget](host, port, isSecure) { + if (host == null) dart.nullFailed(I[181], 2757, 49, "host"); + if (port == null) dart.nullFailed(I[181], 2757, 59, "port"); + if (isSecure == null) dart.nullFailed(I[181], 2757, 70, "isSecure"); + let key = core.String.as(_http._HttpClientConnection.makeKey(isSecure, host, port)); + return this[_connectionTargets][$putIfAbsent](key, dart.fn(() => new _http._ConnectionTarget.new(key, host, port, isSecure, this[_context$0]), T.VoidTo_ConnectionTarget())); + } + [_getConnection](uriHost, uriPort, proxyConf, isSecure, profileData) { + if (uriHost == null) dart.nullFailed(I[181], 2766, 14, "uriHost"); + if (uriPort == null) dart.nullFailed(I[181], 2767, 11, "uriPort"); + if (proxyConf == null) dart.nullFailed(I[181], 2768, 27, "proxyConf"); + if (isSecure == null) dart.nullFailed(I[181], 2769, 12, "isSecure"); + let proxies = proxyConf.proxies[$iterator]; + const connect = error => { + if (!dart.test(proxies.moveNext())) return T.FutureOf_ConnectionInfo().error(core.Object.as(error)); + let proxy = proxies.current; + let host = dart.test(proxy.isDirect) ? uriHost : dart.nullCheck(proxy.host); + let port = dart.test(proxy.isDirect) ? uriPort : dart.nullCheck(proxy.port); + return this[_getConnectionTarget](host, port, isSecure).connect(uriHost, uriPort, proxy, this, profileData).catchError(connect); + }; + dart.fn(connect, T.dynamicToFutureOf_ConnectionInfo()); + return connect(new _http.HttpException.new("No proxies given")); + } + [_findCredentials](url, scheme = null) { + if (url == null) dart.nullFailed(I[181], 2787, 42, "url"); + let cr = this[_credentials][$fold](T._SiteCredentialsN(), null, dart.fn((prev, value) => { + if (value == null) dart.nullFailed(I[181], 2790, 58, "value"); + let siteCredentials = _http._SiteCredentials.as(value); + if (dart.test(siteCredentials.applies(url, scheme))) { + if (prev == null) return value; + return siteCredentials.uri.path.length > prev.uri.path.length ? siteCredentials : prev; + } else { + return prev; + } + }, T._SiteCredentialsNAnd_CredentialsTo_SiteCredentialsN())); + return cr; + } + [_findProxyCredentials](proxy, scheme = null) { + if (proxy == null) dart.nullFailed(I[181], 2804, 51, "proxy"); + for (let current of this[_proxyCredentials]) { + if (dart.test(current.applies(proxy, scheme))) { + return current; + } + } + return null; + } + [_removeCredentials](cr) { + if (cr == null) dart.nullFailed(I[181], 2815, 40, "cr"); + let index = this[_credentials][$indexOf](cr); + if (index !== -1) { + this[_credentials][$removeAt](index); + } + } + [_removeProxyCredentials](cr) { + if (cr == null) dart.nullFailed(I[181], 2822, 45, "cr"); + this[_proxyCredentials][$remove](cr); + } + static _findProxyFromEnvironment(url, environment) { + let t297, t297$, t297$0; + if (url == null) dart.nullFailed(I[181], 2827, 11, "url"); + function checkNoProxy(option) { + if (option == null) return null; + let names = option[$split](",")[$map](core.String, dart.fn(s => { + if (s == null) dart.nullFailed(I[181], 2830, 55, "s"); + return s[$trim](); + }, T$.StringToString()))[$iterator]; + while (dart.test(names.moveNext())) { + let name = names.current; + if (name[$startsWith]("[") && name[$endsWith]("]") && "[" + dart.str(url.host) + "]" === name || name[$isNotEmpty] && url.host[$endsWith](name)) { + return "DIRECT"; + } + } + return null; + } + dart.fn(checkNoProxy, T.StringNToStringN()); + function checkProxy(option) { + if (option == null) return null; + option = option[$trim](); + if (option[$isEmpty]) return null; + let pos = option[$indexOf]("://"); + if (pos >= 0) { + option = option[$substring](pos + 3); + } + pos = option[$indexOf]("/"); + if (pos >= 0) { + option = option[$substring](0, pos); + } + if (option[$indexOf]("[") === 0) { + let pos = option[$lastIndexOf](":"); + if (option[$indexOf]("]") > pos) option = dart.str(option) + ":1080"; + } else { + if (option[$indexOf](":") === -1) option = dart.str(option) + ":1080"; + } + return "PROXY " + dart.str(option); + } + dart.fn(checkProxy, T.StringNToStringN()); + if (environment == null) environment = _http._HttpClient._platformEnvironmentCache; + let proxyCfg = null; + let noProxy = (t297 = environment[$_get]("no_proxy"), t297 == null ? environment[$_get]("NO_PROXY") : t297); + proxyCfg = checkNoProxy(noProxy); + if (proxyCfg != null) { + return proxyCfg; + } + if (url.scheme === "http") { + let proxy = (t297$ = environment[$_get]("http_proxy"), t297$ == null ? environment[$_get]("HTTP_PROXY") : t297$); + proxyCfg = checkProxy(proxy); + if (proxyCfg != null) { + return proxyCfg; + } + } else if (url.scheme === "https") { + let proxy = (t297$0 = environment[$_get]("https_proxy"), t297$0 == null ? environment[$_get]("HTTPS_PROXY") : t297$0); + proxyCfg = checkProxy(proxy); + if (proxyCfg != null) { + return proxyCfg; + } + } + return "DIRECT"; + } +}; +(_http._HttpClient.new = function(_context) { + this[_closing] = false; + this[_closingForcefully] = false; + this[_connectionTargets] = new (T.IdentityMapOfString$_ConnectionTarget()).new(); + this[_credentials] = T.JSArrayOf_Credentials().of([]); + this[_proxyCredentials] = T.JSArrayOf_ProxyCredentials().of([]); + this[_authenticate] = null; + this[_authenticateProxy] = null; + this[_findProxy] = C[474] || CT.C474; + this[_idleTimeout] = C[453] || CT.C453; + this[_badCertificateCallback] = null; + this.connectionTimeout = null; + this.maxConnectionsPerHost = null; + this.autoUncompress = true; + this.userAgent = _http._getHttpVersion(); + this[_context$0] = _context; + ; +}).prototype = _http._HttpClient.prototype; +dart.addTypeTests(_http._HttpClient); +dart.addTypeCaches(_http._HttpClient); +_http._HttpClient[dart.implements] = () => [_http.HttpClient]; +dart.setMethodSignature(_http._HttpClient, () => ({ + __proto__: dart.getMethods(_http._HttpClient.__proto__), + open: dart.fnType(async.Future$(_http.HttpClientRequest), [core.String, core.String, core.int, core.String]), + openUrl: dart.fnType(async.Future$(_http.HttpClientRequest), [core.String, core.Uri]), + get: dart.fnType(async.Future$(_http.HttpClientRequest), [core.String, core.int, core.String]), + getUrl: dart.fnType(async.Future$(_http.HttpClientRequest), [core.Uri]), + post: dart.fnType(async.Future$(_http.HttpClientRequest), [core.String, core.int, core.String]), + postUrl: dart.fnType(async.Future$(_http.HttpClientRequest), [core.Uri]), + put: dart.fnType(async.Future$(_http.HttpClientRequest), [core.String, core.int, core.String]), + putUrl: dart.fnType(async.Future$(_http.HttpClientRequest), [core.Uri]), + delete: dart.fnType(async.Future$(_http.HttpClientRequest), [core.String, core.int, core.String]), + deleteUrl: dart.fnType(async.Future$(_http.HttpClientRequest), [core.Uri]), + head: dart.fnType(async.Future$(_http.HttpClientRequest), [core.String, core.int, core.String]), + headUrl: dart.fnType(async.Future$(_http.HttpClientRequest), [core.Uri]), + patch: dart.fnType(async.Future$(_http.HttpClientRequest), [core.String, core.int, core.String]), + patchUrl: dart.fnType(async.Future$(_http.HttpClientRequest), [core.Uri]), + close: dart.fnType(dart.void, [], {force: core.bool}, {}), + addCredentials: dart.fnType(dart.void, [core.Uri, core.String, _http.HttpClientCredentials]), + addProxyCredentials: dart.fnType(dart.void, [core.String, core.int, core.String, _http.HttpClientCredentials]), + [_openUrl]: dart.fnType(async.Future$(_http._HttpClientRequest), [core.String, core.Uri]), + [_openUrlFromRequest]: dart.fnType(async.Future$(_http._HttpClientRequest), [core.String, core.Uri, _http._HttpClientRequest]), + [_returnConnection]: dart.fnType(dart.void, [_http._HttpClientConnection]), + [_connectionClosed]: dart.fnType(dart.void, [_http._HttpClientConnection]), + [_connectionClosedNoFurtherClosing]: dart.fnType(dart.void, [_http._HttpClientConnection]), + [_connectionsChanged]: dart.fnType(dart.void, []), + [_closeConnections]: dart.fnType(dart.void, [core.bool]), + [_getConnectionTarget]: dart.fnType(_http._ConnectionTarget, [core.String, core.int, core.bool]), + [_getConnection]: dart.fnType(async.Future$(_http._ConnectionInfo), [core.String, core.int, _http._ProxyConfiguration, core.bool, dart.nullable(_http._HttpProfileData)]), + [_findCredentials]: dart.fnType(dart.nullable(_http._SiteCredentials), [core.Uri], [dart.nullable(_http._AuthenticationScheme)]), + [_findProxyCredentials]: dart.fnType(dart.nullable(_http._ProxyCredentials), [_http._Proxy], [dart.nullable(_http._AuthenticationScheme)]), + [_removeCredentials]: dart.fnType(dart.void, [_http._Credentials]), + [_removeProxyCredentials]: dart.fnType(dart.void, [_http._Credentials]) +})); +dart.setGetterSignature(_http._HttpClient, () => ({ + __proto__: dart.getGetters(_http._HttpClient.__proto__), + idleTimeout: core.Duration +})); +dart.setSetterSignature(_http._HttpClient, () => ({ + __proto__: dart.getSetters(_http._HttpClient.__proto__), + idleTimeout: core.Duration, + badCertificateCallback: dart.nullable(dart.fnType(core.bool, [io.X509Certificate, core.String, core.int])), + authenticate: dart.nullable(dart.fnType(async.Future$(core.bool), [core.Uri, core.String, core.String])), + authenticateProxy: dart.nullable(dart.fnType(async.Future$(core.bool), [core.String, core.int, core.String, core.String])), + findProxy: dart.nullable(dart.fnType(core.String, [core.Uri])) +})); +dart.setLibraryUri(_http._HttpClient, I[177]); +dart.setFieldSignature(_http._HttpClient, () => ({ + __proto__: dart.getFields(_http._HttpClient.__proto__), + [_closing]: dart.fieldType(core.bool), + [_closingForcefully]: dart.fieldType(core.bool), + [_connectionTargets]: dart.finalFieldType(core.Map$(core.String, _http._ConnectionTarget)), + [_credentials]: dart.finalFieldType(core.List$(_http._Credentials)), + [_proxyCredentials]: dart.finalFieldType(core.List$(_http._ProxyCredentials)), + [_context$0]: dart.finalFieldType(dart.nullable(io.SecurityContext)), + [_authenticate]: dart.fieldType(dart.nullable(core.Function)), + [_authenticateProxy]: dart.fieldType(dart.nullable(core.Function)), + [_findProxy]: dart.fieldType(dart.nullable(core.Function)), + [_idleTimeout]: dart.fieldType(core.Duration), + [_badCertificateCallback]: dart.fieldType(dart.nullable(dart.fnType(core.bool, [io.X509Certificate, core.String, core.int]))), + connectionTimeout: dart.fieldType(dart.nullable(core.Duration)), + maxConnectionsPerHost: dart.fieldType(dart.nullable(core.int)), + autoUncompress: dart.fieldType(core.bool), + userAgent: dart.fieldType(dart.nullable(core.String)) +})); +dart.defineLazy(_http._HttpClient, { + /*_http._HttpClient._platformEnvironmentCache*/get _platformEnvironmentCache() { + return io.Platform.environment; + }, + set _platformEnvironmentCache(_) {} +}, false); +var _state$1 = dart.privateName(_http, "_state"); +var _idleMark = dart.privateName(_http, "_idleMark"); +var _markActive = dart.privateName(_http, "_markActive"); +var _markIdle = dart.privateName(_http, "_markIdle"); +var _handleRequest = dart.privateName(_http, "_handleRequest"); +var _isActive = dart.privateName(_http, "_isActive"); +var _isIdle = dart.privateName(_http, "_isIdle"); +var _isDetached = dart.privateName(_http, "_isDetached"); +var _toJSON$ = dart.privateName(_http, "_toJSON"); +const LinkedListEntry__ServiceObject$36 = class LinkedListEntry__ServiceObject extends collection.LinkedListEntry {}; +(LinkedListEntry__ServiceObject$36.new = function() { + _http._ServiceObject.new.call(this); + LinkedListEntry__ServiceObject$36.__proto__.new.call(this); +}).prototype = LinkedListEntry__ServiceObject$36.prototype; +dart.applyMixin(LinkedListEntry__ServiceObject$36, _http._ServiceObject); +_http._HttpConnection = class _HttpConnection extends LinkedListEntry__ServiceObject$36 { + markIdle() { + this[_idleMark] = true; + } + get isMarkedIdle() { + return this[_idleMark]; + } + destroy() { + if (this[_state$1] === 2 || this[_state$1] === 3) return; + this[_state$1] = 2; + dart.dsend(this[_socket$0], 'destroy', []); + this[_httpServer$][_connectionClosed](this); + _http._HttpConnection._connections[$remove](this[_serviceId$]); + } + detachSocket() { + this[_state$1] = 3; + this[_httpServer$][_connectionClosed](this); + let detachedIncoming = this[_httpParser].detachIncoming(); + return dart.nullCheck(this[_streamFuture]).then(io.Socket, dart.fn(_ => { + _http._HttpConnection._connections[$remove](this[_serviceId$]); + return new _http._DetachedSocket.new(io.Socket.as(this[_socket$0]), detachedIncoming); + }, T.dynamicTo_DetachedSocket())); + } + get connectionInfo() { + return _http._HttpConnectionInfo.create(io.Socket.as(this[_socket$0])); + } + get [_isActive]() { + return this[_state$1] === 0; + } + get [_isIdle]() { + return this[_state$1] === 1; + } + get [_isClosing]() { + return this[_state$1] === 2; + } + get [_isDetached]() { + return this[_state$1] === 3; + } + get [_serviceTypePath$]() { + return "io/http/serverconnections"; + } + get [_serviceTypeName$]() { + return "HttpServerConnection"; + } + [_toJSON$](ref) { + if (ref == null) dart.nullFailed(I[181], 3010, 20, "ref"); + let name = dart.str(dart.dload(dart.dload(this[_socket$0], 'address'), 'host')) + ":" + dart.str(dart.dload(this[_socket$0], 'port')) + " <-> " + dart.str(dart.dload(dart.dload(this[_socket$0], 'remoteAddress'), 'host')) + ":" + dart.str(dart.dload(this[_socket$0], 'remotePort')); + let r = new (T$0.IdentityMapOfString$dynamic()).from(["id", this[_servicePath$], "type", this[_serviceType$](ref), "name", name, "user_name", name]); + if (dart.test(ref)) { + return r; + } + r[$_set]("server", this[_httpServer$][_toJSON$](true)); + try { + r[$_set]("socket", dart.dsend(this[_socket$0], _toJSON$, [true])); + } catch (e) { + let _ = dart.getThrown(e); + if (core.Object.is(_)) { + r[$_set]("socket", new (T$.IdentityMapOfString$String()).from(["id", this[_servicePath$], "type", "@Socket", "name", "UserSocket", "user_name", "UserSocket"])); + } else + throw e; + } + switch (this[_state$1]) { + case 0: + { + r[$_set]("state", "Active"); + break; + } + case 1: + { + r[$_set]("state", "Idle"); + break; + } + case 2: + { + r[$_set]("state", "Closing"); + break; + } + case 3: + { + r[$_set]("state", "Detached"); + break; + } + default: + { + r[$_set]("state", "Unknown"); + break; + } + } + return r; + } +}; +(_http._HttpConnection.new = function(_socket, _httpServer) { + if (_httpServer == null) dart.nullFailed(I[181], 2914, 38, "_httpServer"); + this[_state$1] = 1; + this[_subscription$0] = null; + this[_idleMark] = false; + this[_streamFuture] = null; + this[_socket$0] = _socket; + this[_httpServer$] = _httpServer; + this[_httpParser] = _http._HttpParser.requestParser(); + _http._HttpConnection.__proto__.new.call(this); + _http._HttpConnection._connections[$_set](this[_serviceId$], this); + this[_httpParser].listenToStream(T.StreamOfUint8List().as(this[_socket$0])); + this[_subscription$0] = this[_httpParser].listen(dart.fn(incoming => { + if (incoming == null) dart.nullFailed(I[181], 2918, 41, "incoming"); + this[_httpServer$][_markActive](this); + incoming.dataDone.then(core.Null, dart.fn(closing => { + if (dart.dtest(closing)) this.destroy(); + }, T$.dynamicToNull())); + dart.nullCheck(this[_subscription$0]).pause(); + this[_state$1] = 0; + let outgoing = new _http._HttpOutgoing.new(io.Socket.as(this[_socket$0])); + let response = new _http._HttpResponse.new(dart.nullCheck(incoming.uri), incoming.headers.protocolVersion, outgoing, this[_httpServer$].defaultResponseHeaders, this[_httpServer$].serverHeader); + if (incoming.statusCode === 400) { + response.statusCode = 400; + } + let request = new _http._HttpRequest.new(response, incoming, this[_httpServer$], this); + this[_streamFuture] = outgoing.done.then(dart.dynamic, dart.fn(_ => { + if (_ == null) dart.nullFailed(I[181], 2940, 43, "_"); + response.deadline = null; + if (this[_state$1] === 3) return; + if (dart.test(response.persistentConnection) && dart.test(request.persistentConnection) && dart.test(incoming.fullBodyRead) && !dart.test(this[_httpParser].upgrade) && !dart.test(this[_httpServer$].closed)) { + this[_state$1] = 1; + this[_idleMark] = false; + this[_httpServer$][_markIdle](this); + dart.nullCheck(this[_subscription$0]).resume(); + } else { + this.destroy(); + } + }, T.SocketToNull()), {onError: dart.fn(_ => { + this.destroy(); + }, T$.dynamicToNull())}); + outgoing.ignoreBody = request.method === "HEAD"; + response[_httpRequest$] = request; + this[_httpServer$][_handleRequest](request); + }, T._HttpIncomingTovoid()), {onDone: dart.fn(() => { + this.destroy(); + }, T$.VoidTovoid()), onError: dart.fn(error => { + this.destroy(); + }, T$.dynamicToNull())}); +}).prototype = _http._HttpConnection.prototype; +dart.addTypeTests(_http._HttpConnection); +dart.addTypeCaches(_http._HttpConnection); +dart.setMethodSignature(_http._HttpConnection, () => ({ + __proto__: dart.getMethods(_http._HttpConnection.__proto__), + markIdle: dart.fnType(dart.void, []), + destroy: dart.fnType(dart.void, []), + detachSocket: dart.fnType(async.Future$(io.Socket), []), + [_toJSON$]: dart.fnType(core.Map, [core.bool]) +})); +dart.setGetterSignature(_http._HttpConnection, () => ({ + __proto__: dart.getGetters(_http._HttpConnection.__proto__), + isMarkedIdle: core.bool, + connectionInfo: dart.nullable(_http.HttpConnectionInfo), + [_isActive]: core.bool, + [_isIdle]: core.bool, + [_isClosing]: core.bool, + [_isDetached]: core.bool, + [_serviceTypePath$]: core.String, + [_serviceTypeName$]: core.String +})); +dart.setLibraryUri(_http._HttpConnection, I[177]); +dart.setFieldSignature(_http._HttpConnection, () => ({ + __proto__: dart.getFields(_http._HttpConnection.__proto__), + [_socket$0]: dart.finalFieldType(dart.dynamic), + [_httpServer$]: dart.finalFieldType(_http._HttpServer), + [_httpParser]: dart.finalFieldType(_http._HttpParser), + [_state$1]: dart.fieldType(core.int), + [_subscription$0]: dart.fieldType(dart.nullable(async.StreamSubscription)), + [_idleMark]: dart.fieldType(core.bool), + [_streamFuture]: dart.fieldType(dart.nullable(async.Future)) +})); +dart.defineLazy(_http._HttpConnection, { + /*_http._HttpConnection._ACTIVE*/get _ACTIVE() { + return 0; + }, + /*_http._HttpConnection._IDLE*/get _IDLE() { + return 1; + }, + /*_http._HttpConnection._CLOSING*/get _CLOSING() { + return 2; + }, + /*_http._HttpConnection._DETACHED*/get _DETACHED() { + return 3; + }, + /*_http._HttpConnection._connections*/get _connections() { + return new (T.IdentityMapOfint$_HttpConnection()).new(); + }, + set _connections(_) {} +}, false); +var _activeConnections = dart.privateName(_http, "_activeConnections"); +var _idleConnections = dart.privateName(_http, "_idleConnections"); +var _serverSocket$ = dart.privateName(_http, "_serverSocket"); +var _closeServer$ = dart.privateName(_http, "_closeServer"); +var _maybePerformCleanup$ = dart.privateName(_http, "_maybePerformCleanup"); +const Stream__ServiceObject$36 = class Stream__ServiceObject extends async.Stream$(_http.HttpRequest) {}; +(Stream__ServiceObject$36.new = function() { + _http._ServiceObject.new.call(this); + Stream__ServiceObject$36.__proto__.new.call(this); +}).prototype = Stream__ServiceObject$36.prototype; +(Stream__ServiceObject$36._internal = function() { + _http._ServiceObject.new.call(this); + Stream__ServiceObject$36.__proto__._internal.call(this); +}).prototype = Stream__ServiceObject$36.prototype; +dart.applyMixin(Stream__ServiceObject$36, _http._ServiceObject); +_http._HttpServer = class _HttpServer extends Stream__ServiceObject$36 { + static bind(address, port, backlog, v6Only, shared) { + if (port == null) dart.nullFailed(I[181], 3069, 20, "port"); + if (backlog == null) dart.nullFailed(I[181], 3069, 30, "backlog"); + if (v6Only == null) dart.nullFailed(I[181], 3069, 44, "v6Only"); + if (shared == null) dart.nullFailed(I[181], 3069, 57, "shared"); + return io.ServerSocket.bind(address, port, {backlog: backlog, v6Only: v6Only, shared: shared}).then(_http.HttpServer, dart.fn(socket => { + if (socket == null) dart.nullFailed(I[181], 3072, 28, "socket"); + return new _http._HttpServer.__(socket, true); + }, T.ServerSocketTo_HttpServer())); + } + static bindSecure(address, port, context, backlog, v6Only, requestClientCertificate, shared) { + if (port == null) dart.nullFailed(I[181], 3079, 11, "port"); + if (backlog == null) dart.nullFailed(I[181], 3081, 11, "backlog"); + if (v6Only == null) dart.nullFailed(I[181], 3082, 12, "v6Only"); + if (requestClientCertificate == null) dart.nullFailed(I[181], 3083, 12, "requestClientCertificate"); + if (shared == null) dart.nullFailed(I[181], 3084, 12, "shared"); + return io.SecureServerSocket.bind(address, port, context, {backlog: backlog, v6Only: v6Only, requestClientCertificate: requestClientCertificate, shared: shared}).then(_http.HttpServer, dart.fn(socket => { + if (socket == null) dart.nullFailed(I[181], 3090, 28, "socket"); + return new _http._HttpServer.__(socket, true); + }, T.SecureServerSocketTo_HttpServer())); + } + static _initDefaultResponseHeaders() { + let defaultResponseHeaders = new _http._HttpHeaders.new("1.1"); + defaultResponseHeaders.contentType = _http.ContentType.text; + defaultResponseHeaders.set("X-Frame-Options", "SAMEORIGIN"); + defaultResponseHeaders.set("X-Content-Type-Options", "nosniff"); + defaultResponseHeaders.set("X-XSS-Protection", "1; mode=block"); + return defaultResponseHeaders; + } + get idleTimeout() { + return this[_idleTimeout]; + } + set idleTimeout(duration) { + let idleTimer = this[_idleTimer]; + if (idleTimer != null) { + idleTimer.cancel(); + this[_idleTimer] = null; + } + this[_idleTimeout] = duration; + if (duration != null) { + this[_idleTimer] = async.Timer.periodic(duration, dart.fn(_ => { + if (_ == null) dart.nullFailed(I[181], 3129, 50, "_"); + for (let idle of this[_idleConnections][$toList]()) { + if (dart.test(idle.isMarkedIdle)) { + idle.destroy(); + } else { + idle.markIdle(); + } + } + }, T$.TimerTovoid())); + } + } + listen(onData, opts) { + let onError = opts && 'onError' in opts ? opts.onError : null; + let onDone = opts && 'onDone' in opts ? opts.onDone : null; + let cancelOnError = opts && 'cancelOnError' in opts ? opts.cancelOnError : null; + dart.dsend(this[_serverSocket$], 'listen', [dart.fn(socket => { + if (socket == null) dart.nullFailed(I[181], 3143, 34, "socket"); + socket.setOption(io.SocketOption.tcpNoDelay, true); + let connection = new _http._HttpConnection.new(socket, this); + this[_idleConnections].add(connection); + }, T.SocketToNull())], {onError: dart.fn((error, stackTrace) => { + if (!io.HandshakeException.is(error)) { + this[_controller$0].addError(core.Object.as(error), T$.StackTraceN().as(stackTrace)); + } + }, T$.dynamicAnddynamicToNull()), onDone: dart.bind(this[_controller$0], 'close')}); + return this[_controller$0].stream.listen(onData, {onError: onError, onDone: onDone, cancelOnError: cancelOnError}); + } + close(opts) { + let force = opts && 'force' in opts ? opts.force : false; + if (force == null) dart.nullFailed(I[181], 3159, 22, "force"); + this.closed = true; + let result = null; + if (this[_serverSocket$] != null && dart.test(this[_closeServer$])) { + result = async.Future.as(dart.dsend(this[_serverSocket$], 'close', [])); + } else { + result = async.Future.value(); + } + this.idleTimeout = null; + if (dart.test(force)) { + for (let c of this[_activeConnections][$toList]()) { + c.destroy(); + } + if (!dart.test(this[_activeConnections].isEmpty)) dart.assertFailed(null, I[181], 3172, 14, "_activeConnections.isEmpty"); + } + for (let c of this[_idleConnections][$toList]()) { + c.destroy(); + } + this[_maybePerformCleanup$](); + return result; + } + [_maybePerformCleanup$]() { + let sessionManager = this[_sessionManagerInstance]; + if (dart.test(this.closed) && dart.test(this[_idleConnections].isEmpty) && dart.test(this[_activeConnections].isEmpty) && sessionManager != null) { + sessionManager.close(); + this[_sessionManagerInstance] = null; + _http._HttpServer._servers[$remove](this[_serviceId$]); + } + } + get port() { + if (dart.test(this.closed)) dart.throw(new _http.HttpException.new("HttpServer is not bound to a socket")); + return core.int.as(dart.dload(this[_serverSocket$], 'port')); + } + get address() { + if (dart.test(this.closed)) dart.throw(new _http.HttpException.new("HttpServer is not bound to a socket")); + return io.InternetAddress.as(dart.dload(this[_serverSocket$], 'address')); + } + set sessionTimeout(timeout) { + if (timeout == null) dart.nullFailed(I[181], 3203, 26, "timeout"); + this[_sessionManager$].sessionTimeout = timeout; + } + [_handleRequest](request) { + if (request == null) dart.nullFailed(I[181], 3207, 36, "request"); + if (!dart.test(this.closed)) { + this[_controller$0].add(request); + } else { + request[_httpConnection$].destroy(); + } + } + [_connectionClosed](connection) { + if (connection == null) dart.nullFailed(I[181], 3215, 42, "connection"); + connection.unlink(); + this[_maybePerformCleanup$](); + } + [_markIdle](connection) { + if (connection == null) dart.nullFailed(I[181], 3221, 34, "connection"); + this[_activeConnections].remove(connection); + this[_idleConnections].add(connection); + } + [_markActive](connection) { + if (connection == null) dart.nullFailed(I[181], 3226, 36, "connection"); + this[_idleConnections].remove(connection); + this[_activeConnections].add(connection); + } + get [_sessionManager$]() { + let t298; + t298 = this[_sessionManagerInstance]; + return t298 == null ? this[_sessionManagerInstance] = new _http._HttpSessionManager.new() : t298; + } + connectionsInfo() { + let result = new _http.HttpConnectionsInfo.new(); + result.total = dart.notNull(this[_activeConnections].length) + dart.notNull(this[_idleConnections].length); + this[_activeConnections].forEach(dart.fn(conn => { + let t298, t298$; + if (conn == null) dart.nullFailed(I[181], 3238, 49, "conn"); + if (dart.test(conn[_isActive])) { + t298 = result; + t298.active = dart.notNull(t298.active) + 1; + } else { + if (!dart.test(conn[_isClosing])) dart.assertFailed(null, I[181], 3242, 16, "conn._isClosing"); + t298$ = result; + t298$.closing = dart.notNull(t298$.closing) + 1; + } + }, T._HttpConnectionTovoid())); + this[_idleConnections].forEach(dart.fn(conn => { + let t298; + if (conn == null) dart.nullFailed(I[181], 3246, 47, "conn"); + t298 = result; + t298.idle = dart.notNull(t298.idle) + 1; + if (!dart.test(conn[_isIdle])) dart.assertFailed(null, I[181], 3248, 14, "conn._isIdle"); + }, T._HttpConnectionTovoid())); + return result; + } + get [_serviceTypePath$]() { + return "io/http/servers"; + } + get [_serviceTypeName$]() { + return "HttpServer"; + } + [_toJSON$](ref) { + if (ref == null) dart.nullFailed(I[181], 3256, 37, "ref"); + let r = new (T$0.IdentityMapOfString$dynamic()).from(["id", this[_servicePath$], "type", this[_serviceType$](ref), "name", dart.str(this.address.host) + ":" + dart.str(this.port), "user_name", dart.str(this.address.host) + ":" + dart.str(this.port)]); + if (dart.test(ref)) { + return r; + } + try { + r[$_set]("socket", dart.dsend(this[_serverSocket$], _toJSON$, [true])); + } catch (e) { + let _ = dart.getThrown(e); + if (core.Object.is(_)) { + r[$_set]("socket", new (T$.IdentityMapOfString$String()).from(["id", this[_servicePath$], "type", "@Socket", "name", "UserSocket", "user_name", "UserSocket"])); + } else + throw e; + } + r[$_set]("port", this.port); + r[$_set]("address", this.address.host); + r[$_set]("active", this[_activeConnections][$map](core.Map, dart.fn(c => { + if (c == null) dart.nullFailed(I[181], 3278, 43, "c"); + return c[_toJSON$](true); + }, T._HttpConnectionToMap()))[$toList]()); + r[$_set]("idle", this[_idleConnections][$map](core.Map, dart.fn(c => { + if (c == null) dart.nullFailed(I[181], 3279, 39, "c"); + return c[_toJSON$](true); + }, T._HttpConnectionToMap()))[$toList]()); + r[$_set]("closed", this.closed); + return r; + } +}; +(_http._HttpServer.__ = function(_serverSocket, _closeServer) { + if (_closeServer == null) dart.nullFailed(I[181], 3095, 42, "_closeServer"); + this.serverHeader = null; + this.defaultResponseHeaders = _http._HttpServer._initDefaultResponseHeaders(); + this.autoCompress = false; + this[_idleTimeout] = null; + this[_idleTimer] = null; + this[_sessionManagerInstance] = null; + this.closed = false; + this[_activeConnections] = new (T.LinkedListOf_HttpConnection()).new(); + this[_idleConnections] = new (T.LinkedListOf_HttpConnection()).new(); + this[_serverSocket$] = _serverSocket; + this[_closeServer$] = _closeServer; + this[_controller$0] = T.StreamControllerOfHttpRequest().new({sync: true}); + _http._HttpServer.__proto__.new.call(this); + this[_controller$0].onCancel = dart.bind(this, 'close'); + this.idleTimeout = C[447] || CT.C447; + _http._HttpServer._servers[$_set](this[_serviceId$], this); +}).prototype = _http._HttpServer.prototype; +(_http._HttpServer.listenOn = function(_serverSocket) { + this.serverHeader = null; + this.defaultResponseHeaders = _http._HttpServer._initDefaultResponseHeaders(); + this.autoCompress = false; + this[_idleTimeout] = null; + this[_idleTimer] = null; + this[_sessionManagerInstance] = null; + this.closed = false; + this[_activeConnections] = new (T.LinkedListOf_HttpConnection()).new(); + this[_idleConnections] = new (T.LinkedListOf_HttpConnection()).new(); + this[_serverSocket$] = _serverSocket; + this[_closeServer$] = false; + this[_controller$0] = T.StreamControllerOfHttpRequest().new({sync: true}); + _http._HttpServer.__proto__.new.call(this); + this[_controller$0].onCancel = dart.bind(this, 'close'); + this.idleTimeout = C[447] || CT.C447; + _http._HttpServer._servers[$_set](this[_serviceId$], this); +}).prototype = _http._HttpServer.prototype; +dart.addTypeTests(_http._HttpServer); +dart.addTypeCaches(_http._HttpServer); +_http._HttpServer[dart.implements] = () => [_http.HttpServer]; +dart.setMethodSignature(_http._HttpServer, () => ({ + __proto__: dart.getMethods(_http._HttpServer.__proto__), + listen: dart.fnType(async.StreamSubscription$(_http.HttpRequest), [dart.nullable(dart.fnType(dart.void, [_http.HttpRequest]))], {cancelOnError: dart.nullable(core.bool), onDone: dart.nullable(dart.fnType(dart.void, [])), onError: dart.nullable(core.Function)}, {}), + close: dart.fnType(async.Future, [], {force: core.bool}, {}), + [_maybePerformCleanup$]: dart.fnType(dart.void, []), + [_handleRequest]: dart.fnType(dart.void, [_http._HttpRequest]), + [_connectionClosed]: dart.fnType(dart.void, [_http._HttpConnection]), + [_markIdle]: dart.fnType(dart.void, [_http._HttpConnection]), + [_markActive]: dart.fnType(dart.void, [_http._HttpConnection]), + connectionsInfo: dart.fnType(_http.HttpConnectionsInfo, []), + [_toJSON$]: dart.fnType(core.Map$(core.String, dart.dynamic), [core.bool]) +})); +dart.setGetterSignature(_http._HttpServer, () => ({ + __proto__: dart.getGetters(_http._HttpServer.__proto__), + idleTimeout: dart.nullable(core.Duration), + port: core.int, + address: io.InternetAddress, + [_sessionManager$]: _http._HttpSessionManager, + [_serviceTypePath$]: core.String, + [_serviceTypeName$]: core.String +})); +dart.setSetterSignature(_http._HttpServer, () => ({ + __proto__: dart.getSetters(_http._HttpServer.__proto__), + idleTimeout: dart.nullable(core.Duration), + sessionTimeout: core.int +})); +dart.setLibraryUri(_http._HttpServer, I[177]); +dart.setFieldSignature(_http._HttpServer, () => ({ + __proto__: dart.getFields(_http._HttpServer.__proto__), + serverHeader: dart.fieldType(dart.nullable(core.String)), + defaultResponseHeaders: dart.finalFieldType(_http.HttpHeaders), + autoCompress: dart.fieldType(core.bool), + [_idleTimeout]: dart.fieldType(dart.nullable(core.Duration)), + [_idleTimer]: dart.fieldType(dart.nullable(async.Timer)), + [_sessionManagerInstance]: dart.fieldType(dart.nullable(_http._HttpSessionManager)), + closed: dart.fieldType(core.bool), + [_serverSocket$]: dart.finalFieldType(dart.dynamic), + [_closeServer$]: dart.finalFieldType(core.bool), + [_activeConnections]: dart.finalFieldType(collection.LinkedList$(_http._HttpConnection)), + [_idleConnections]: dart.finalFieldType(collection.LinkedList$(_http._HttpConnection)), + [_controller$0]: dart.fieldType(async.StreamController$(_http.HttpRequest)) +})); +dart.defineLazy(_http._HttpServer, { + /*_http._HttpServer._servers*/get _servers() { + return new (T.LinkedMapOfint$_HttpServer()).new(); + }, + set _servers(_) {} +}, false); +const proxies = _ProxyConfiguration_proxies; +_http._ProxyConfiguration = class _ProxyConfiguration extends core.Object { + get proxies() { + return this[proxies]; + } + set proxies(value) { + super.proxies = value; + } +}; +(_http._ProxyConfiguration.new = function(configuration) { + if (configuration == null) dart.nullFailed(I[181], 3306, 30, "configuration"); + this[proxies] = T.JSArrayOf_Proxy().of([]); + if (configuration == null) { + dart.throw(new _http.HttpException.new("Invalid proxy configuration " + dart.str(configuration))); + } + let list = configuration[$split](";"); + list[$forEach](dart.fn(proxy => { + if (proxy == null) dart.nullFailed(I[181], 3311, 26, "proxy"); + proxy = proxy[$trim](); + if (!proxy[$isEmpty]) { + if (proxy[$startsWith]("PROXY ")) { + let username = null; + let password = null; + proxy = proxy[$substring]("PROXY ".length)[$trim](); + let at = proxy[$indexOf]("@"); + if (at !== -1) { + let userinfo = proxy[$substring](0, at)[$trim](); + proxy = proxy[$substring](at + 1)[$trim](); + let colon = userinfo[$indexOf](":"); + if (colon === -1 || colon === 0 || colon === proxy.length - 1) { + dart.throw(new _http.HttpException.new("Invalid proxy configuration " + dart.str(configuration))); + } + username = userinfo[$substring](0, colon)[$trim](); + password = userinfo[$substring](colon + 1)[$trim](); + } + let colon = proxy[$lastIndexOf](":"); + if (colon === -1 || colon === 0 || colon === proxy.length - 1) { + dart.throw(new _http.HttpException.new("Invalid proxy configuration " + dart.str(configuration))); + } + let host = proxy[$substring](0, colon)[$trim](); + if (host[$startsWith]("[") && host[$endsWith]("]")) { + host = host[$substring](1, host.length - 1); + } + let portString = proxy[$substring](colon + 1)[$trim](); + let port = null; + try { + port = core.int.parse(portString); + } catch (e$) { + let e = dart.getThrown(e$); + if (core.FormatException.is(e)) { + dart.throw(new _http.HttpException.new("Invalid proxy configuration " + dart.str(configuration) + ", " + "invalid port '" + portString + "'")); + } else + throw e$; + } + this.proxies[$add](new _http._Proxy.new(host, port, username, password)); + } else if (proxy[$trim]() === "DIRECT") { + this.proxies[$add](new _http._Proxy.direct()); + } else { + dart.throw(new _http.HttpException.new("Invalid proxy configuration " + dart.str(configuration))); + } + } + }, T$.StringTovoid())); +}).prototype = _http._ProxyConfiguration.prototype; +(_http._ProxyConfiguration.direct = function() { + this[proxies] = C[476] || CT.C476; + ; +}).prototype = _http._ProxyConfiguration.prototype; +dart.addTypeTests(_http._ProxyConfiguration); +dart.addTypeCaches(_http._ProxyConfiguration); +dart.setLibraryUri(_http._ProxyConfiguration, I[177]); +dart.setFieldSignature(_http._ProxyConfiguration, () => ({ + __proto__: dart.getFields(_http._ProxyConfiguration.__proto__), + proxies: dart.finalFieldType(core.List$(_http._Proxy)) +})); +dart.defineLazy(_http._ProxyConfiguration, { + /*_http._ProxyConfiguration.PROXY_PREFIX*/get PROXY_PREFIX() { + return "PROXY "; + }, + /*_http._ProxyConfiguration.DIRECT_PREFIX*/get DIRECT_PREFIX() { + return "DIRECT"; + } +}, false); +const host$ = _Proxy_host; +const port$1 = _Proxy_port; +const username$ = _Proxy_username; +const password$ = _Proxy_password; +const isDirect = _Proxy_isDirect; +_http._Proxy = class _Proxy extends core.Object { + get host() { + return this[host$]; + } + set host(value) { + super.host = value; + } + get port() { + return this[port$1]; + } + set port(value) { + super.port = value; + } + get username() { + return this[username$]; + } + set username(value) { + super.username = value; + } + get password() { + return this[password$]; + } + set password(value) { + super.password = value; + } + get isDirect() { + return this[isDirect]; + } + set isDirect(value) { + super.isDirect = value; + } + get isAuthenticated() { + return this.username != null; + } +}; +(_http._Proxy.new = function(host, port, username, password) { + if (host == null) dart.nullFailed(I[181], 3373, 28, "host"); + if (port == null) dart.nullFailed(I[181], 3373, 43, "port"); + this[host$] = host; + this[port$1] = port; + this[username$] = username; + this[password$] = password; + this[isDirect] = false; + ; +}).prototype = _http._Proxy.prototype; +(_http._Proxy.direct = function() { + this[host$] = null; + this[port$1] = null; + this[username$] = null; + this[password$] = null; + this[isDirect] = true; + ; +}).prototype = _http._Proxy.prototype; +dart.addTypeTests(_http._Proxy); +dart.addTypeCaches(_http._Proxy); +dart.setGetterSignature(_http._Proxy, () => ({ + __proto__: dart.getGetters(_http._Proxy.__proto__), + isAuthenticated: core.bool +})); +dart.setLibraryUri(_http._Proxy, I[177]); +dart.setFieldSignature(_http._Proxy, () => ({ + __proto__: dart.getFields(_http._Proxy.__proto__), + host: dart.finalFieldType(dart.nullable(core.String)), + port: dart.finalFieldType(dart.nullable(core.int)), + username: dart.finalFieldType(dart.nullable(core.String)), + password: dart.finalFieldType(dart.nullable(core.String)), + isDirect: dart.finalFieldType(core.bool) +})); +_http._HttpConnectionInfo = class _HttpConnectionInfo extends core.Object { + static create(socket) { + if (socket == null) dart.nullFailed(I[181], 3392, 45, "socket"); + if (socket == null) return null; + try { + return new _http._HttpConnectionInfo.new(socket.remoteAddress, socket.remotePort, socket.port); + } catch (e$) { + let e = dart.getThrown(e$); + if (core.Object.is(e)) { + } else + throw e$; + } + return null; + } +}; +(_http._HttpConnectionInfo.new = function(remoteAddress, remotePort, localPort) { + if (remoteAddress == null) dart.nullFailed(I[181], 3390, 28, "remoteAddress"); + if (remotePort == null) dart.nullFailed(I[181], 3390, 48, "remotePort"); + if (localPort == null) dart.nullFailed(I[181], 3390, 65, "localPort"); + this.remoteAddress = remoteAddress; + this.remotePort = remotePort; + this.localPort = localPort; + ; +}).prototype = _http._HttpConnectionInfo.prototype; +dart.addTypeTests(_http._HttpConnectionInfo); +dart.addTypeCaches(_http._HttpConnectionInfo); +_http._HttpConnectionInfo[dart.implements] = () => [_http.HttpConnectionInfo]; +dart.setLibraryUri(_http._HttpConnectionInfo, I[177]); +dart.setFieldSignature(_http._HttpConnectionInfo, () => ({ + __proto__: dart.getFields(_http._HttpConnectionInfo.__proto__), + remoteAddress: dart.fieldType(io.InternetAddress), + remotePort: dart.fieldType(core.int), + localPort: dart.fieldType(core.int) +})); +_http._DetachedSocket = class _DetachedSocket extends async.Stream$(typed_data.Uint8List) { + listen(onData, opts) { + let onError = opts && 'onError' in opts ? opts.onError : null; + let onDone = opts && 'onDone' in opts ? opts.onDone : null; + let cancelOnError = opts && 'cancelOnError' in opts ? opts.cancelOnError : null; + return this[_incoming$].listen(onData, {onError: onError, onDone: onDone, cancelOnError: cancelOnError}); + } + get encoding() { + return this[_socket$0].encoding; + } + set encoding(value) { + if (value == null) dart.nullFailed(I[181], 3416, 30, "value"); + this[_socket$0].encoding = value; + } + write(obj) { + this[_socket$0].write(obj); + } + writeln(obj = "") { + this[_socket$0].writeln(obj); + } + writeCharCode(charCode) { + if (charCode == null) dart.nullFailed(I[181], 3428, 26, "charCode"); + this[_socket$0].writeCharCode(charCode); + } + writeAll(objects, separator = "") { + if (objects == null) dart.nullFailed(I[181], 3432, 26, "objects"); + if (separator == null) dart.nullFailed(I[181], 3432, 43, "separator"); + this[_socket$0].writeAll(objects, separator); + } + add(bytes) { + T$0.ListOfint().as(bytes); + if (bytes == null) dart.nullFailed(I[181], 3436, 22, "bytes"); + this[_socket$0].add(bytes); + } + addError(error, stackTrace = null) { + if (error == null) dart.nullFailed(I[181], 3440, 24, "error"); + return this[_socket$0].addError(error, stackTrace); + } + addStream(stream) { + T$0.StreamOfListOfint().as(stream); + if (stream == null) dart.nullFailed(I[181], 3443, 38, "stream"); + return this[_socket$0].addStream(stream); + } + destroy() { + this[_socket$0].destroy(); + } + flush() { + return this[_socket$0].flush(); + } + close() { + return this[_socket$0].close(); + } + get done() { + return this[_socket$0].done; + } + get port() { + return this[_socket$0].port; + } + get address() { + return this[_socket$0].address; + } + get remoteAddress() { + return this[_socket$0].remoteAddress; + } + get remotePort() { + return this[_socket$0].remotePort; + } + setOption(option, enabled) { + if (option == null) dart.nullFailed(I[181], 3465, 31, "option"); + if (enabled == null) dart.nullFailed(I[181], 3465, 44, "enabled"); + return this[_socket$0].setOption(option, enabled); + } + getRawOption(option) { + if (option == null) dart.nullFailed(I[181], 3469, 42, "option"); + return this[_socket$0].getRawOption(option); + } + setRawOption(option) { + if (option == null) dart.nullFailed(I[181], 3473, 37, "option"); + this[_socket$0].setRawOption(option); + } + [_toJSON$](ref) { + if (ref == null) dart.nullFailed(I[181], 3477, 20, "ref"); + return core.Map.as(dart.dsend(this[_socket$0], _toJSON$, [ref])); + } + get [__IOSink_encoding_isSet]() { + return this[$noSuchMethod](new core._Invocation.getter(C[467] || CT.C467)); + } + get [__IOSink_encoding]() { + return T$0.EncodingN().as(this[$noSuchMethod](new core._Invocation.getter(C[468] || CT.C468))); + } + set [__IOSink_encoding_isSet](value) { + return this[$noSuchMethod](new core._Invocation.setter(C[469] || CT.C469, value)); + } + set [__IOSink_encoding](value) { + return this[$noSuchMethod](new core._Invocation.setter(C[470] || CT.C470, value)); + } +}; +(_http._DetachedSocket.new = function(_socket, _incoming) { + if (_socket == null) dart.nullFailed(I[181], 3406, 24, "_socket"); + if (_incoming == null) dart.nullFailed(I[181], 3406, 38, "_incoming"); + this[_socket$0] = _socket; + this[_incoming$] = _incoming; + _http._DetachedSocket.__proto__.new.call(this); + ; +}).prototype = _http._DetachedSocket.prototype; +dart.addTypeTests(_http._DetachedSocket); +dart.addTypeCaches(_http._DetachedSocket); +_http._DetachedSocket[dart.implements] = () => [io.Socket]; +dart.setMethodSignature(_http._DetachedSocket, () => ({ + __proto__: dart.getMethods(_http._DetachedSocket.__proto__), + listen: dart.fnType(async.StreamSubscription$(typed_data.Uint8List), [dart.nullable(dart.fnType(dart.void, [typed_data.Uint8List]))], {cancelOnError: dart.nullable(core.bool), onDone: dart.nullable(dart.fnType(dart.void, [])), onError: dart.nullable(core.Function)}, {}), + write: dart.fnType(dart.void, [dart.nullable(core.Object)]), + writeln: dart.fnType(dart.void, [], [dart.nullable(core.Object)]), + writeCharCode: dart.fnType(dart.void, [core.int]), + writeAll: dart.fnType(dart.void, [core.Iterable], [core.String]), + add: dart.fnType(dart.void, [dart.nullable(core.Object)]), + addError: dart.fnType(dart.void, [core.Object], [dart.nullable(core.StackTrace)]), + addStream: dart.fnType(async.Future, [dart.nullable(core.Object)]), + destroy: dart.fnType(dart.void, []), + flush: dart.fnType(async.Future, []), + close: dart.fnType(async.Future, []), + setOption: dart.fnType(core.bool, [io.SocketOption, core.bool]), + getRawOption: dart.fnType(typed_data.Uint8List, [io.RawSocketOption]), + setRawOption: dart.fnType(dart.void, [io.RawSocketOption]), + [_toJSON$]: dart.fnType(core.Map, [core.bool]) +})); +dart.setGetterSignature(_http._DetachedSocket, () => ({ + __proto__: dart.getGetters(_http._DetachedSocket.__proto__), + encoding: convert.Encoding, + done: async.Future, + port: core.int, + address: io.InternetAddress, + remoteAddress: io.InternetAddress, + remotePort: core.int, + [__IOSink_encoding_isSet]: dart.dynamic, + [__IOSink_encoding]: dart.nullable(convert.Encoding) +})); +dart.setSetterSignature(_http._DetachedSocket, () => ({ + __proto__: dart.getSetters(_http._DetachedSocket.__proto__), + encoding: convert.Encoding, + [__IOSink_encoding_isSet]: dart.dynamic, + [__IOSink_encoding]: dart.nullable(convert.Encoding) +})); +dart.setLibraryUri(_http._DetachedSocket, I[177]); +dart.setFieldSignature(_http._DetachedSocket, () => ({ + __proto__: dart.getFields(_http._DetachedSocket.__proto__), + [_incoming$]: dart.finalFieldType(async.Stream$(typed_data.Uint8List)), + [_socket$0]: dart.finalFieldType(io.Socket) +})); +var _scheme$ = dart.privateName(_http, "_AuthenticationScheme._scheme"); +var _scheme = dart.privateName(_http, "_scheme"); +_http._AuthenticationScheme = class _AuthenticationScheme extends core.Object { + get [_scheme]() { + return this[_scheme$]; + } + set [_scheme](value) { + super[_scheme] = value; + } + static fromString(scheme) { + if (scheme == null) dart.nullFailed(I[181], 3491, 51, "scheme"); + if (scheme[$toLowerCase]() === "basic") return _http._AuthenticationScheme.BASIC; + if (scheme[$toLowerCase]() === "digest") return _http._AuthenticationScheme.DIGEST; + return _http._AuthenticationScheme.UNKNOWN; + } + toString() { + if (this[$_equals](_http._AuthenticationScheme.BASIC)) return "Basic"; + if (this[$_equals](_http._AuthenticationScheme.DIGEST)) return "Digest"; + return "Unknown"; + } +}; +(_http._AuthenticationScheme.new = function(_scheme) { + if (_scheme == null) dart.nullFailed(I[181], 3489, 36, "_scheme"); + this[_scheme$] = _scheme; + ; +}).prototype = _http._AuthenticationScheme.prototype; +dart.addTypeTests(_http._AuthenticationScheme); +dart.addTypeCaches(_http._AuthenticationScheme); +dart.setLibraryUri(_http._AuthenticationScheme, I[177]); +dart.setFieldSignature(_http._AuthenticationScheme, () => ({ + __proto__: dart.getFields(_http._AuthenticationScheme.__proto__), + [_scheme]: dart.finalFieldType(core.int) +})); +dart.defineExtensionMethods(_http._AuthenticationScheme, ['toString']); +dart.defineLazy(_http._AuthenticationScheme, { + /*_http._AuthenticationScheme.UNKNOWN*/get UNKNOWN() { + return C[478] || CT.C478; + }, + /*_http._AuthenticationScheme.BASIC*/get BASIC() { + return C[479] || CT.C479; + }, + /*_http._AuthenticationScheme.DIGEST*/get DIGEST() { + return C[480] || CT.C480; + } +}, false); +_http._Credentials = class _Credentials extends core.Object { + get scheme() { + return this.credentials.scheme; + } +}; +(_http._Credentials.new = function(credentials, realm) { + let t301; + if (credentials == null) dart.nullFailed(I[181], 3516, 21, "credentials"); + if (realm == null) dart.nullFailed(I[181], 3516, 39, "realm"); + this.used = false; + this.ha1 = null; + this.nonce = null; + this.algorithm = null; + this.qop = null; + this.nonceCount = null; + this.credentials = credentials; + this.realm = realm; + if (dart.equals(this.credentials.scheme, _http._AuthenticationScheme.DIGEST)) { + let creds = _http._HttpClientDigestCredentials.as(this.credentials); + let hasher = (t301 = new _http._MD5.new(), (() => { + t301.add(convert.utf8.encode(creds.username)); + t301.add(T$.JSArrayOfint().of([58])); + t301.add(this.realm[$codeUnits]); + t301.add(T$.JSArrayOfint().of([58])); + t301.add(convert.utf8.encode(creds.password)); + return t301; + })()); + this.ha1 = _http._CryptoUtils.bytesToHex(hasher.close()); + } +}).prototype = _http._Credentials.prototype; +dart.addTypeTests(_http._Credentials); +dart.addTypeCaches(_http._Credentials); +dart.setGetterSignature(_http._Credentials, () => ({ + __proto__: dart.getGetters(_http._Credentials.__proto__), + scheme: _http._AuthenticationScheme +})); +dart.setLibraryUri(_http._Credentials, I[177]); +dart.setFieldSignature(_http._Credentials, () => ({ + __proto__: dart.getFields(_http._Credentials.__proto__), + credentials: dart.fieldType(_http._HttpClientCredentials), + realm: dart.fieldType(core.String), + used: dart.fieldType(core.bool), + ha1: dart.fieldType(dart.nullable(core.String)), + nonce: dart.fieldType(dart.nullable(core.String)), + algorithm: dart.fieldType(dart.nullable(core.String)), + qop: dart.fieldType(dart.nullable(core.String)), + nonceCount: dart.fieldType(dart.nullable(core.int)) +})); +_http._SiteCredentials = class _SiteCredentials extends _http._Credentials { + applies(uri, scheme) { + if (uri == null) dart.nullFailed(I[181], 3546, 20, "uri"); + if (scheme != null && !dart.equals(this.credentials.scheme, scheme)) return false; + if (uri.host != this.uri.host) return false; + let thisPort = this.uri.port === 0 ? 80 : this.uri.port; + let otherPort = uri.port === 0 ? 80 : uri.port; + if (otherPort != thisPort) return false; + return uri.path[$startsWith](this.uri.path); + } + authorize(request) { + if (request == null) dart.nullFailed(I[181], 3556, 36, "request"); + if (dart.equals(this.credentials.scheme, _http._AuthenticationScheme.DIGEST) && this.nonce == null) { + return; + } + this.credentials.authorize(this, _http._HttpClientRequest.as(request)); + this.used = true; + } +}; +(_http._SiteCredentials.new = function(uri, realm, creds) { + if (uri == null) dart.nullFailed(I[181], 3543, 25, "uri"); + if (creds == null) dart.nullFailed(I[181], 3543, 60, "creds"); + this.uri = uri; + _http._SiteCredentials.__proto__.new.call(this, creds, core.String.as(realm)); + ; +}).prototype = _http._SiteCredentials.prototype; +dart.addTypeTests(_http._SiteCredentials); +dart.addTypeCaches(_http._SiteCredentials); +dart.setMethodSignature(_http._SiteCredentials, () => ({ + __proto__: dart.getMethods(_http._SiteCredentials.__proto__), + applies: dart.fnType(core.bool, [core.Uri, dart.nullable(_http._AuthenticationScheme)]), + authorize: dart.fnType(dart.void, [_http.HttpClientRequest]) +})); +dart.setLibraryUri(_http._SiteCredentials, I[177]); +dart.setFieldSignature(_http._SiteCredentials, () => ({ + __proto__: dart.getFields(_http._SiteCredentials.__proto__), + uri: dart.fieldType(core.Uri) +})); +_http._ProxyCredentials = class _ProxyCredentials extends _http._Credentials { + applies(proxy, scheme) { + if (proxy == null) dart.nullFailed(I[181], 3574, 23, "proxy"); + if (scheme != null && !dart.equals(this.credentials.scheme, scheme)) return false; + return proxy.host == this.host && proxy.port == this.port; + } + authorize(request) { + if (request == null) dart.nullFailed(I[181], 3579, 36, "request"); + if (dart.equals(this.credentials.scheme, _http._AuthenticationScheme.DIGEST) && this.nonce == null) { + return; + } + this.credentials.authorizeProxy(this, _http._HttpClientRequest.as(request)); + } +}; +(_http._ProxyCredentials.new = function(host, port, realm, creds) { + if (host == null) dart.nullFailed(I[181], 3571, 26, "host"); + if (port == null) dart.nullFailed(I[181], 3571, 37, "port"); + if (creds == null) dart.nullFailed(I[181], 3571, 73, "creds"); + this.host = host; + this.port = port; + _http._ProxyCredentials.__proto__.new.call(this, creds, core.String.as(realm)); + ; +}).prototype = _http._ProxyCredentials.prototype; +dart.addTypeTests(_http._ProxyCredentials); +dart.addTypeCaches(_http._ProxyCredentials); +dart.setMethodSignature(_http._ProxyCredentials, () => ({ + __proto__: dart.getMethods(_http._ProxyCredentials.__proto__), + applies: dart.fnType(core.bool, [_http._Proxy, dart.nullable(_http._AuthenticationScheme)]), + authorize: dart.fnType(dart.void, [_http.HttpClientRequest]) +})); +dart.setLibraryUri(_http._ProxyCredentials, I[177]); +dart.setFieldSignature(_http._ProxyCredentials, () => ({ + __proto__: dart.getFields(_http._ProxyCredentials.__proto__), + host: dart.fieldType(core.String), + port: dart.fieldType(core.int) +})); +_http._HttpClientCredentials = class _HttpClientCredentials extends core.Object {}; +(_http._HttpClientCredentials.new = function() { + ; +}).prototype = _http._HttpClientCredentials.prototype; +dart.addTypeTests(_http._HttpClientCredentials); +dart.addTypeCaches(_http._HttpClientCredentials); +_http._HttpClientCredentials[dart.implements] = () => [_http.HttpClientCredentials]; +dart.setLibraryUri(_http._HttpClientCredentials, I[177]); +_http._HttpClientBasicCredentials = class _HttpClientBasicCredentials extends _http._HttpClientCredentials { + get scheme() { + return _http._AuthenticationScheme.BASIC; + } + authorization() { + let auth = _http._CryptoUtils.bytesToBase64(convert.utf8.encode(dart.str(this.username) + ":" + dart.str(this.password))); + return "Basic " + dart.str(auth); + } + authorize(_, request) { + if (_ == null) dart.nullFailed(I[181], 3616, 31, "_"); + if (request == null) dart.nullFailed(I[181], 3616, 52, "request"); + request.headers.set("authorization", this.authorization()); + } + authorizeProxy(_, request) { + if (_ == null) dart.nullFailed(I[181], 3620, 41, "_"); + if (request == null) dart.nullFailed(I[181], 3620, 62, "request"); + request.headers.set("proxy-authorization", this.authorization()); + } +}; +(_http._HttpClientBasicCredentials.new = function(username, password) { + if (username == null) dart.nullFailed(I[181], 3600, 36, "username"); + if (password == null) dart.nullFailed(I[181], 3600, 51, "password"); + this.username = username; + this.password = password; + ; +}).prototype = _http._HttpClientBasicCredentials.prototype; +dart.addTypeTests(_http._HttpClientBasicCredentials); +dart.addTypeCaches(_http._HttpClientBasicCredentials); +_http._HttpClientBasicCredentials[dart.implements] = () => [_http.HttpClientBasicCredentials]; +dart.setMethodSignature(_http._HttpClientBasicCredentials, () => ({ + __proto__: dart.getMethods(_http._HttpClientBasicCredentials.__proto__), + authorization: dart.fnType(core.String, []), + authorize: dart.fnType(dart.void, [_http._Credentials, _http.HttpClientRequest]), + authorizeProxy: dart.fnType(dart.void, [_http._ProxyCredentials, _http.HttpClientRequest]) +})); +dart.setGetterSignature(_http._HttpClientBasicCredentials, () => ({ + __proto__: dart.getGetters(_http._HttpClientBasicCredentials.__proto__), + scheme: _http._AuthenticationScheme +})); +dart.setLibraryUri(_http._HttpClientBasicCredentials, I[177]); +dart.setFieldSignature(_http._HttpClientBasicCredentials, () => ({ + __proto__: dart.getFields(_http._HttpClientBasicCredentials.__proto__), + username: dart.fieldType(core.String), + password: dart.fieldType(core.String) +})); +_http._HttpClientDigestCredentials = class _HttpClientDigestCredentials extends _http._HttpClientCredentials { + get scheme() { + return _http._AuthenticationScheme.DIGEST; + } + authorization(credentials, request) { + let t301, t301$, t301$0, t301$1, t301$2, t301$3; + if (credentials == null) dart.nullFailed(I[181], 3634, 37, "credentials"); + if (request == null) dart.nullFailed(I[181], 3634, 69, "request"); + let requestUri = request[_requestUri](); + let hasher = (t301 = new _http._MD5.new(), (() => { + t301.add(request.method[$codeUnits]); + t301.add(T$.JSArrayOfint().of([58])); + t301.add(requestUri[$codeUnits]); + return t301; + })()); + let ha2 = _http._CryptoUtils.bytesToHex(hasher.close()); + let isAuth = false; + let cnonce = ""; + let nc = ""; + hasher = (t301$ = new _http._MD5.new(), (() => { + t301$.add(dart.nullCheck(credentials.ha1)[$codeUnits]); + t301$.add(T$.JSArrayOfint().of([58])); + return t301$; + })()); + if (credentials.qop === "auth") { + isAuth = true; + cnonce = _http._CryptoUtils.bytesToHex(_http._CryptoUtils.getRandomBytes(4)); + let nonceCount = dart.nullCheck(credentials.nonceCount) + 1; + credentials.nonceCount = nonceCount; + nc = nonceCount[$toRadixString](16)[$padLeft](9, "0"); + t301$0 = hasher; + (() => { + t301$0.add(dart.nullCheck(credentials.nonce)[$codeUnits]); + t301$0.add(T$.JSArrayOfint().of([58])); + t301$0.add(nc[$codeUnits]); + t301$0.add(T$.JSArrayOfint().of([58])); + t301$0.add(cnonce[$codeUnits]); + t301$0.add(T$.JSArrayOfint().of([58])); + t301$0.add("auth"[$codeUnits]); + t301$0.add(T$.JSArrayOfint().of([58])); + t301$0.add(ha2[$codeUnits]); + return t301$0; + })(); + } else { + t301$1 = hasher; + (() => { + t301$1.add(dart.nullCheck(credentials.nonce)[$codeUnits]); + t301$1.add(T$.JSArrayOfint().of([58])); + t301$1.add(ha2[$codeUnits]); + return t301$1; + })(); + } + let response = _http._CryptoUtils.bytesToHex(hasher.close()); + let buffer = (t301$2 = new core.StringBuffer.new(), (() => { + t301$2.write("Digest "); + t301$2.write("username=\"" + dart.str(this.username) + "\""); + t301$2.write(", realm=\"" + dart.str(credentials.realm) + "\""); + t301$2.write(", nonce=\"" + dart.str(credentials.nonce) + "\""); + t301$2.write(", uri=\"" + dart.str(requestUri) + "\""); + t301$2.write(", algorithm=\"" + dart.str(credentials.algorithm) + "\""); + return t301$2; + })()); + if (isAuth) { + t301$3 = buffer; + (() => { + t301$3.write(", qop=\"auth\""); + t301$3.write(", cnonce=\"" + dart.str(cnonce) + "\""); + t301$3.write(", nc=\"" + nc + "\""); + return t301$3; + })(); + } + buffer.write(", response=\"" + dart.str(response) + "\""); + return dart.toString(buffer); + } + authorize(credentials, request) { + if (credentials == null) dart.nullFailed(I[181], 3689, 31, "credentials"); + if (request == null) dart.nullFailed(I[181], 3689, 62, "request"); + request.headers.set("authorization", this.authorization(credentials, _http._HttpClientRequest.as(request))); + } + authorizeProxy(credentials, request) { + if (credentials == null) dart.nullFailed(I[181], 3695, 25, "credentials"); + if (request == null) dart.nullFailed(I[181], 3695, 56, "request"); + request.headers.set("proxy-authorization", this.authorization(credentials, _http._HttpClientRequest.as(request))); + } +}; +(_http._HttpClientDigestCredentials.new = function(username, password) { + if (username == null) dart.nullFailed(I[181], 3630, 37, "username"); + if (password == null) dart.nullFailed(I[181], 3630, 52, "password"); + this.username = username; + this.password = password; + ; +}).prototype = _http._HttpClientDigestCredentials.prototype; +dart.addTypeTests(_http._HttpClientDigestCredentials); +dart.addTypeCaches(_http._HttpClientDigestCredentials); +_http._HttpClientDigestCredentials[dart.implements] = () => [_http.HttpClientDigestCredentials]; +dart.setMethodSignature(_http._HttpClientDigestCredentials, () => ({ + __proto__: dart.getMethods(_http._HttpClientDigestCredentials.__proto__), + authorization: dart.fnType(core.String, [_http._Credentials, _http._HttpClientRequest]), + authorize: dart.fnType(dart.void, [_http._Credentials, _http.HttpClientRequest]), + authorizeProxy: dart.fnType(dart.void, [_http._ProxyCredentials, _http.HttpClientRequest]) +})); +dart.setGetterSignature(_http._HttpClientDigestCredentials, () => ({ + __proto__: dart.getGetters(_http._HttpClientDigestCredentials.__proto__), + scheme: _http._AuthenticationScheme +})); +dart.setLibraryUri(_http._HttpClientDigestCredentials, I[177]); +dart.setFieldSignature(_http._HttpClientDigestCredentials, () => ({ + __proto__: dart.getFields(_http._HttpClientDigestCredentials.__proto__), + username: dart.fieldType(core.String), + password: dart.fieldType(core.String) +})); +var statusCode$ = dart.privateName(_http, "_RedirectInfo.statusCode"); +var method$ = dart.privateName(_http, "_RedirectInfo.method"); +var location$ = dart.privateName(_http, "_RedirectInfo.location"); +_http._RedirectInfo = class _RedirectInfo extends core.Object { + get statusCode() { + return this[statusCode$]; + } + set statusCode(value) { + super.statusCode = value; + } + get method() { + return this[method$]; + } + set method(value) { + super.method = value; + } + get location() { + return this[location$]; + } + set location(value) { + super.location = value; + } +}; +(_http._RedirectInfo.new = function(statusCode, method, location) { + if (statusCode == null) dart.nullFailed(I[181], 3705, 28, "statusCode"); + if (method == null) dart.nullFailed(I[181], 3705, 45, "method"); + if (location == null) dart.nullFailed(I[181], 3705, 58, "location"); + this[statusCode$] = statusCode; + this[method$] = method; + this[location$] = location; + ; +}).prototype = _http._RedirectInfo.prototype; +dart.addTypeTests(_http._RedirectInfo); +dart.addTypeCaches(_http._RedirectInfo); +_http._RedirectInfo[dart.implements] = () => [_http.RedirectInfo]; +dart.setLibraryUri(_http._RedirectInfo, I[177]); +dart.setFieldSignature(_http._RedirectInfo, () => ({ + __proto__: dart.getFields(_http._RedirectInfo.__proto__), + statusCode: dart.finalFieldType(core.int), + method: dart.finalFieldType(core.String), + location: dart.finalFieldType(core.Uri) +})); +_http._Const = class _Const extends core.Object {}; +(_http._Const.new = function() { + ; +}).prototype = _http._Const.prototype; +dart.addTypeTests(_http._Const); +dart.addTypeCaches(_http._Const); +dart.setLibraryUri(_http._Const, I[177]); +dart.defineLazy(_http._Const, { + /*_http._Const.HTTP*/get HTTP() { + return C[481] || CT.C481; + }, + /*_http._Const.HTTP1DOT*/get HTTP1DOT() { + return C[482] || CT.C482; + }, + /*_http._Const.HTTP10*/get HTTP10() { + return C[483] || CT.C483; + }, + /*_http._Const.HTTP11*/get HTTP11() { + return C[484] || CT.C484; + }, + /*_http._Const.T*/get T() { + return true; + }, + /*_http._Const.F*/get F() { + return false; + }, + /*_http._Const.SEPARATOR_MAP*/get SEPARATOR_MAP() { + return C[485] || CT.C485; + } +}, false); +_http._CharCode = class _CharCode extends core.Object {}; +(_http._CharCode.new = function() { + ; +}).prototype = _http._CharCode.prototype; +dart.addTypeTests(_http._CharCode); +dart.addTypeCaches(_http._CharCode); +dart.setLibraryUri(_http._CharCode, I[177]); +dart.defineLazy(_http._CharCode, { + /*_http._CharCode.HT*/get HT() { + return 9; + }, + /*_http._CharCode.LF*/get LF() { + return 10; + }, + /*_http._CharCode.CR*/get CR() { + return 13; + }, + /*_http._CharCode.SP*/get SP() { + return 32; + }, + /*_http._CharCode.AMPERSAND*/get AMPERSAND() { + return 38; + }, + /*_http._CharCode.COMMA*/get COMMA() { + return 44; + }, + /*_http._CharCode.DASH*/get DASH() { + return 45; + }, + /*_http._CharCode.SLASH*/get SLASH() { + return 47; + }, + /*_http._CharCode.ZERO*/get ZERO() { + return 48; + }, + /*_http._CharCode.ONE*/get ONE() { + return 49; + }, + /*_http._CharCode.COLON*/get COLON() { + return 58; + }, + /*_http._CharCode.SEMI_COLON*/get SEMI_COLON() { + return 59; + }, + /*_http._CharCode.EQUAL*/get EQUAL() { + return 61; + } +}, false); +_http._State = class _State extends core.Object {}; +(_http._State.new = function() { + ; +}).prototype = _http._State.prototype; +dart.addTypeTests(_http._State); +dart.addTypeCaches(_http._State); +dart.setLibraryUri(_http._State, I[177]); +dart.defineLazy(_http._State, { + /*_http._State.START*/get START() { + return 0; + }, + /*_http._State.METHOD_OR_RESPONSE_HTTP_VERSION*/get METHOD_OR_RESPONSE_HTTP_VERSION() { + return 1; + }, + /*_http._State.RESPONSE_HTTP_VERSION*/get RESPONSE_HTTP_VERSION() { + return 2; + }, + /*_http._State.REQUEST_LINE_METHOD*/get REQUEST_LINE_METHOD() { + return 3; + }, + /*_http._State.REQUEST_LINE_URI*/get REQUEST_LINE_URI() { + return 4; + }, + /*_http._State.REQUEST_LINE_HTTP_VERSION*/get REQUEST_LINE_HTTP_VERSION() { + return 5; + }, + /*_http._State.REQUEST_LINE_ENDING*/get REQUEST_LINE_ENDING() { + return 6; + }, + /*_http._State.RESPONSE_LINE_STATUS_CODE*/get RESPONSE_LINE_STATUS_CODE() { + return 7; + }, + /*_http._State.RESPONSE_LINE_REASON_PHRASE*/get RESPONSE_LINE_REASON_PHRASE() { + return 8; + }, + /*_http._State.RESPONSE_LINE_ENDING*/get RESPONSE_LINE_ENDING() { + return 9; + }, + /*_http._State.HEADER_START*/get HEADER_START() { + return 10; + }, + /*_http._State.HEADER_FIELD*/get HEADER_FIELD() { + return 11; + }, + /*_http._State.HEADER_VALUE_START*/get HEADER_VALUE_START() { + return 12; + }, + /*_http._State.HEADER_VALUE*/get HEADER_VALUE() { + return 13; + }, + /*_http._State.HEADER_VALUE_FOLD_OR_END_CR*/get HEADER_VALUE_FOLD_OR_END_CR() { + return 14; + }, + /*_http._State.HEADER_VALUE_FOLD_OR_END*/get HEADER_VALUE_FOLD_OR_END() { + return 15; + }, + /*_http._State.HEADER_ENDING*/get HEADER_ENDING() { + return 16; + }, + /*_http._State.CHUNK_SIZE_STARTING_CR*/get CHUNK_SIZE_STARTING_CR() { + return 17; + }, + /*_http._State.CHUNK_SIZE_STARTING*/get CHUNK_SIZE_STARTING() { + return 18; + }, + /*_http._State.CHUNK_SIZE*/get CHUNK_SIZE() { + return 19; + }, + /*_http._State.CHUNK_SIZE_EXTENSION*/get CHUNK_SIZE_EXTENSION() { + return 20; + }, + /*_http._State.CHUNK_SIZE_ENDING*/get CHUNK_SIZE_ENDING() { + return 21; + }, + /*_http._State.CHUNKED_BODY_DONE_CR*/get CHUNKED_BODY_DONE_CR() { + return 22; + }, + /*_http._State.CHUNKED_BODY_DONE*/get CHUNKED_BODY_DONE() { + return 23; + }, + /*_http._State.BODY*/get BODY() { + return 24; + }, + /*_http._State.CLOSED*/get CLOSED() { + return 25; + }, + /*_http._State.UPGRADED*/get UPGRADED() { + return 26; + }, + /*_http._State.FAILURE*/get FAILURE() { + return 27; + }, + /*_http._State.FIRST_BODY_STATE*/get FIRST_BODY_STATE() { + return 17; + } +}, false); +_http._HttpVersion = class _HttpVersion extends core.Object {}; +(_http._HttpVersion.new = function() { + ; +}).prototype = _http._HttpVersion.prototype; +dart.addTypeTests(_http._HttpVersion); +dart.addTypeCaches(_http._HttpVersion); +dart.setLibraryUri(_http._HttpVersion, I[177]); +dart.defineLazy(_http._HttpVersion, { + /*_http._HttpVersion.UNDETERMINED*/get UNDETERMINED() { + return 0; + }, + /*_http._HttpVersion.HTTP10*/get HTTP10() { + return 1; + }, + /*_http._HttpVersion.HTTP11*/get HTTP11() { + return 2; + } +}, false); +_http._MessageType = class _MessageType extends core.Object {}; +(_http._MessageType.new = function() { + ; +}).prototype = _http._MessageType.prototype; +dart.addTypeTests(_http._MessageType); +dart.addTypeCaches(_http._MessageType); +dart.setLibraryUri(_http._MessageType, I[177]); +dart.defineLazy(_http._MessageType, { + /*_http._MessageType.UNDETERMINED*/get UNDETERMINED() { + return 0; + }, + /*_http._MessageType.REQUEST*/get REQUEST() { + return 1; + }, + /*_http._MessageType.RESPONSE*/get RESPONSE() { + return 0; + } +}, false); +var _isCanceled$ = dart.privateName(_http, "_isCanceled"); +var _scheduled = dart.privateName(_http, "_scheduled"); +var _pauseCount$ = dart.privateName(_http, "_pauseCount"); +var _injectData$ = dart.privateName(_http, "_injectData"); +var _userOnData$ = dart.privateName(_http, "_userOnData"); +var _maybeScheduleData = dart.privateName(_http, "_maybeScheduleData"); +_http._HttpDetachedStreamSubscription = class _HttpDetachedStreamSubscription extends core.Object { + get isPaused() { + return this[_subscription$0].isPaused; + } + asFuture(T, futureValue = null) { + return this[_subscription$0].asFuture(T, T.as(futureValue)); + } + cancel() { + this[_isCanceled$] = true; + this[_injectData$] = null; + return this[_subscription$0].cancel(); + } + onData(handleData) { + this[_userOnData$] = handleData; + this[_subscription$0].onData(handleData); + } + onDone(handleDone) { + this[_subscription$0].onDone(handleDone); + } + onError(handleError) { + this[_subscription$0].onError(handleError); + } + pause(resumeSignal = null) { + if (this[_injectData$] == null) { + this[_subscription$0].pause(resumeSignal); + } else { + this[_pauseCount$] = dart.notNull(this[_pauseCount$]) + 1; + if (resumeSignal != null) { + resumeSignal.whenComplete(dart.bind(this, 'resume')); + } + } + } + resume() { + if (this[_injectData$] == null) { + this[_subscription$0].resume(); + } else { + this[_pauseCount$] = dart.notNull(this[_pauseCount$]) - 1; + this[_maybeScheduleData](); + } + } + [_maybeScheduleData]() { + if (dart.test(this[_scheduled])) return; + if (this[_pauseCount$] !== 0) return; + this[_scheduled] = true; + async.scheduleMicrotask(dart.fn(() => { + let t301; + this[_scheduled] = false; + if (dart.notNull(this[_pauseCount$]) > 0 || dart.test(this[_isCanceled$])) return; + let data = this[_injectData$]; + this[_injectData$] = null; + this[_subscription$0].resume(); + t301 = this[_userOnData$]; + t301 == null ? null : dart.dcall(t301, [data]); + }, T$.VoidTovoid())); + } +}; +(_http._HttpDetachedStreamSubscription.new = function(_subscription, _injectData, _userOnData) { + if (_subscription == null) dart.nullFailed(I[182], 120, 12, "_subscription"); + this[_isCanceled$] = false; + this[_scheduled] = false; + this[_pauseCount$] = 1; + this[_subscription$0] = _subscription; + this[_injectData$] = _injectData; + this[_userOnData$] = _userOnData; + ; +}).prototype = _http._HttpDetachedStreamSubscription.prototype; +_http._HttpDetachedStreamSubscription.prototype[dart.isStreamSubscription] = true; +dart.addTypeTests(_http._HttpDetachedStreamSubscription); +dart.addTypeCaches(_http._HttpDetachedStreamSubscription); +_http._HttpDetachedStreamSubscription[dart.implements] = () => [async.StreamSubscription$(typed_data.Uint8List)]; +dart.setMethodSignature(_http._HttpDetachedStreamSubscription, () => ({ + __proto__: dart.getMethods(_http._HttpDetachedStreamSubscription.__proto__), + asFuture: dart.gFnType(T => [async.Future$(T), [], [dart.nullable(T)]], T => [dart.nullable(core.Object)]), + cancel: dart.fnType(async.Future, []), + onData: dart.fnType(dart.void, [dart.nullable(dart.fnType(dart.void, [typed_data.Uint8List]))]), + onDone: dart.fnType(dart.void, [dart.nullable(dart.fnType(dart.void, []))]), + onError: dart.fnType(dart.void, [dart.nullable(core.Function)]), + pause: dart.fnType(dart.void, [], [dart.nullable(async.Future)]), + resume: dart.fnType(dart.void, []), + [_maybeScheduleData]: dart.fnType(dart.void, []) +})); +dart.setGetterSignature(_http._HttpDetachedStreamSubscription, () => ({ + __proto__: dart.getGetters(_http._HttpDetachedStreamSubscription.__proto__), + isPaused: core.bool +})); +dart.setLibraryUri(_http._HttpDetachedStreamSubscription, I[177]); +dart.setFieldSignature(_http._HttpDetachedStreamSubscription, () => ({ + __proto__: dart.getFields(_http._HttpDetachedStreamSubscription.__proto__), + [_subscription$0]: dart.fieldType(async.StreamSubscription$(typed_data.Uint8List)), + [_injectData$]: dart.fieldType(dart.nullable(typed_data.Uint8List)), + [_userOnData$]: dart.fieldType(dart.nullable(core.Function)), + [_isCanceled$]: dart.fieldType(core.bool), + [_scheduled]: dart.fieldType(core.bool), + [_pauseCount$]: dart.fieldType(core.int) +})); +_http._HttpDetachedIncoming = class _HttpDetachedIncoming extends async.Stream$(typed_data.Uint8List) { + listen(onData, opts) { + let t301, t301$, t301$0; + let onError = opts && 'onError' in opts ? opts.onError : null; + let onDone = opts && 'onDone' in opts ? opts.onDone : null; + let cancelOnError = opts && 'cancelOnError' in opts ? opts.cancelOnError : null; + let subscription = this.subscription; + if (subscription != null) { + t301 = subscription; + (() => { + t301.onData(onData); + t301.onError(onError); + t301.onDone(onDone); + return t301; + })(); + if (this.bufferedData == null) { + t301$ = subscription; + return (() => { + t301$.resume(); + return t301$; + })(); + } + t301$0 = new _http._HttpDetachedStreamSubscription.new(subscription, this.bufferedData, onData); + return (() => { + t301$0.resume(); + return t301$0; + })(); + } else { + return T.StreamOfUint8List().fromIterable(T$.JSArrayOfUint8List().of([dart.nullCheck(this.bufferedData)])).listen(onData, {onError: onError, onDone: onDone, cancelOnError: cancelOnError}); + } + } +}; +(_http._HttpDetachedIncoming.new = function(subscription, bufferedData) { + this.subscription = subscription; + this.bufferedData = bufferedData; + _http._HttpDetachedIncoming.__proto__.new.call(this); + ; +}).prototype = _http._HttpDetachedIncoming.prototype; +dart.addTypeTests(_http._HttpDetachedIncoming); +dart.addTypeCaches(_http._HttpDetachedIncoming); +dart.setMethodSignature(_http._HttpDetachedIncoming, () => ({ + __proto__: dart.getMethods(_http._HttpDetachedIncoming.__proto__), + listen: dart.fnType(async.StreamSubscription$(typed_data.Uint8List), [dart.nullable(dart.fnType(dart.void, [typed_data.Uint8List]))], {cancelOnError: dart.nullable(core.bool), onDone: dart.nullable(dart.fnType(dart.void, [])), onError: dart.nullable(core.Function)}, {}) +})); +dart.setLibraryUri(_http._HttpDetachedIncoming, I[177]); +dart.setFieldSignature(_http._HttpDetachedIncoming, () => ({ + __proto__: dart.getFields(_http._HttpDetachedIncoming.__proto__), + subscription: dart.finalFieldType(dart.nullable(async.StreamSubscription$(typed_data.Uint8List))), + bufferedData: dart.finalFieldType(dart.nullable(typed_data.Uint8List)) +})); +var _parserCalled = dart.privateName(_http, "_parserCalled"); +var _index$1 = dart.privateName(_http, "_index"); +var _httpVersionIndex = dart.privateName(_http, "_httpVersionIndex"); +var _messageType = dart.privateName(_http, "_messageType"); +var _statusCodeLength = dart.privateName(_http, "_statusCodeLength"); +var _method$ = dart.privateName(_http, "_method"); +var _uriOrReasonPhrase = dart.privateName(_http, "_uriOrReasonPhrase"); +var _headerField = dart.privateName(_http, "_headerField"); +var _headerValue = dart.privateName(_http, "_headerValue"); +var _headersReceivedSize = dart.privateName(_http, "_headersReceivedSize"); +var _httpVersion = dart.privateName(_http, "_httpVersion"); +var _connectionUpgrade = dart.privateName(_http, "_connectionUpgrade"); +var _chunked = dart.privateName(_http, "_chunked"); +var _noMessageBody = dart.privateName(_http, "_noMessageBody"); +var _remainingContent = dart.privateName(_http, "_remainingContent"); +var _transferEncoding = dart.privateName(_http, "_transferEncoding"); +var _chunkSizeLimit = dart.privateName(_http, "_chunkSizeLimit"); +var _socketSubscription$ = dart.privateName(_http, "_socketSubscription"); +var _paused = dart.privateName(_http, "_paused"); +var _bodyPaused = dart.privateName(_http, "_bodyPaused"); +var _bodyController = dart.privateName(_http, "_bodyController"); +var _requestParser$ = dart.privateName(_http, "_requestParser"); +var _pauseStateChanged = dart.privateName(_http, "_pauseStateChanged"); +var _reset = dart.privateName(_http, "_reset"); +var _onData$1 = dart.privateName(_http, "_onData"); +var _onDone = dart.privateName(_http, "_onDone"); +var _doParse = dart.privateName(_http, "_doParse"); +var _reportBodyError = dart.privateName(_http, "_reportBodyError"); +var _reportHttpError = dart.privateName(_http, "_reportHttpError"); +var _createIncoming = dart.privateName(_http, "_createIncoming"); +var _closeIncoming = dart.privateName(_http, "_closeIncoming"); +var _headersEnd = dart.privateName(_http, "_headersEnd"); +var _addWithValidation = dart.privateName(_http, "_addWithValidation"); +var _expect = dart.privateName(_http, "_expect"); +var _expectHexDigit = dart.privateName(_http, "_expectHexDigit"); +var _releaseBuffer = dart.privateName(_http, "_releaseBuffer"); +var _reportSizeLimitError = dart.privateName(_http, "_reportSizeLimitError"); +_http._HttpParser = class _HttpParser extends async.Stream$(_http._HttpIncoming) { + static requestParser() { + return new _http._HttpParser.__(true); + } + static responseParser() { + return new _http._HttpParser.__(false); + } + listen(onData, opts) { + let onError = opts && 'onError' in opts ? opts.onError : null; + let onDone = opts && 'onDone' in opts ? opts.onDone : null; + let cancelOnError = opts && 'cancelOnError' in opts ? opts.cancelOnError : null; + return this[_controller$0].stream.listen(onData, {onError: onError, onDone: onDone, cancelOnError: cancelOnError}); + } + listenToStream(stream) { + if (stream == null) dart.nullFailed(I[182], 312, 41, "stream"); + this[_socketSubscription$] = stream.listen(dart.bind(this, _onData$1), {onError: dart.bind(this[_controller$0], 'addError'), onDone: dart.bind(this, _onDone)}); + } + [_parse]() { + try { + this[_doParse](); + } catch (e$) { + let e = dart.getThrown(e$); + let s = dart.stackTrace(e$); + if (core.Object.is(e)) { + if (dart.notNull(this[_state$1]) >= 17 && dart.notNull(this[_state$1]) <= 24) { + this[_state$1] = 27; + this[_reportBodyError](e, s); + } else { + this[_state$1] = 27; + this[_reportHttpError](e, s); + } + } else + throw e$; + } + } + [_headersEnd]() { + let headers = dart.nullCheck(this[_headers]); + if (!dart.test(this[_requestParser$]) && dart.notNull(this[_statusCode]) >= 200 && dart.notNull(this[_statusCode]) < 300 && dart.test(this.connectMethod)) { + this[_transferLength$] = -1; + headers.chunkedTransferEncoding = false; + this[_chunked] = false; + headers.removeAll("content-length"); + headers.removeAll("transfer-encoding"); + } + headers[_mutable] = false; + this[_transferLength$] = headers.contentLength; + if (dart.test(this[_chunked])) this[_transferLength$] = -1; + if (this[_messageType] === 1 && dart.notNull(this[_transferLength$]) < 0 && this[_chunked] === false) { + this[_transferLength$] = 0; + } + if (dart.test(this[_connectionUpgrade])) { + this[_state$1] = 26; + this[_transferLength$] = 0; + } + let incoming = this[_createIncoming](this[_transferLength$]); + if (dart.test(this[_requestParser$])) { + incoming.method = core.String.fromCharCodes(this[_method$]); + incoming.uri = core.Uri.parse(core.String.fromCharCodes(this[_uriOrReasonPhrase])); + } else { + incoming.statusCode = this[_statusCode]; + incoming.reasonPhrase = core.String.fromCharCodes(this[_uriOrReasonPhrase]); + } + this[_method$][$clear](); + this[_uriOrReasonPhrase][$clear](); + if (dart.test(this[_connectionUpgrade])) { + incoming.upgraded = true; + this[_parserCalled] = false; + this[_closeIncoming](); + this[_controller$0].add(incoming); + return true; + } + if (this[_transferLength$] === 0 || this[_messageType] === 0 && dart.test(this[_noMessageBody])) { + this[_reset](); + this[_closeIncoming](); + this[_controller$0].add(incoming); + return false; + } else if (dart.test(this[_chunked])) { + this[_state$1] = 19; + this[_remainingContent] = 0; + } else if (dart.notNull(this[_transferLength$]) > 0) { + this[_remainingContent] = this[_transferLength$]; + this[_state$1] = 24; + } else { + this[_state$1] = 24; + } + this[_parserCalled] = false; + this[_controller$0].add(incoming); + return true; + } + [_doParse]() { + if (!!dart.test(this[_parserCalled])) dart.assertFailed(null, I[182], 426, 12, "!_parserCalled"); + this[_parserCalled] = true; + if (this[_state$1] === 25) { + dart.throw(new _http.HttpException.new("Data on closed connection")); + } + if (this[_state$1] === 27) { + dart.throw(new _http.HttpException.new("Data on failed connection")); + } + while (this[_buffer$1] != null && dart.notNull(this[_index$1]) < dart.notNull(dart.nullCheck(this[_buffer$1])[$length]) && this[_state$1] !== 27 && this[_state$1] !== 26) { + if (this[_incoming$] != null && dart.test(this[_bodyPaused]) || this[_incoming$] == null && dart.test(this[_paused])) { + this[_parserCalled] = false; + return; + } + let index = this[_index$1]; + let byte = dart.nullCheck(this[_buffer$1])[$_get](index); + this[_index$1] = dart.notNull(index) + 1; + switch (this[_state$1]) { + case 0: + { + if (byte == _http._Const.HTTP[$_get](0)) { + this[_httpVersionIndex] = 1; + this[_state$1] = 1; + } else { + if (!dart.test(_http._HttpParser._isTokenChar(byte))) { + dart.throw(new _http.HttpException.new("Invalid request method")); + } + this[_addWithValidation](this[_method$], byte); + if (!dart.test(this[_requestParser$])) { + dart.throw(new _http.HttpException.new("Invalid response line")); + } + this[_state$1] = 3; + } + break; + } + case 1: + { + let httpVersionIndex = dart.nullCheck(this[_httpVersionIndex]); + if (httpVersionIndex < dart.notNull(_http._Const.HTTP[$length]) && byte == _http._Const.HTTP[$_get](httpVersionIndex)) { + this[_httpVersionIndex] = httpVersionIndex + 1; + } else if (httpVersionIndex === _http._Const.HTTP[$length] && byte === 47) { + this[_httpVersionIndex] = httpVersionIndex + 1; + if (dart.test(this[_requestParser$])) { + dart.throw(new _http.HttpException.new("Invalid request line")); + } + this[_state$1] = 2; + } else { + for (let i = 0; i < httpVersionIndex; i = i + 1) { + this[_addWithValidation](this[_method$], _http._Const.HTTP[$_get](i)); + } + if (byte === 32) { + this[_state$1] = 4; + } else { + this[_addWithValidation](this[_method$], byte); + this[_httpVersion] = 0; + if (!dart.test(this[_requestParser$])) { + dart.throw(new _http.HttpException.new("Invalid response line")); + } + this[_state$1] = 3; + } + } + break; + } + case 2: + { + let httpVersionIndex = dart.nullCheck(this[_httpVersionIndex]); + if (httpVersionIndex < dart.notNull(_http._Const.HTTP1DOT[$length])) { + this[_expect](byte, _http._Const.HTTP1DOT[$_get](httpVersionIndex)); + this[_httpVersionIndex] = httpVersionIndex + 1; + } else if (httpVersionIndex === _http._Const.HTTP1DOT[$length] && byte === 49) { + this[_httpVersion] = 2; + this[_persistentConnection] = true; + this[_httpVersionIndex] = httpVersionIndex + 1; + } else if (httpVersionIndex === _http._Const.HTTP1DOT[$length] && byte === 48) { + this[_httpVersion] = 1; + this[_persistentConnection] = false; + this[_httpVersionIndex] = httpVersionIndex + 1; + } else if (httpVersionIndex === dart.notNull(_http._Const.HTTP1DOT[$length]) + 1) { + this[_expect](byte, 32); + this[_state$1] = 7; + } else { + dart.throw(new _http.HttpException.new("Invalid response line, failed to parse HTTP version")); + } + break; + } + case 3: + { + if (byte === 32) { + this[_state$1] = 4; + } else { + if (dart.test(_http._Const.SEPARATOR_MAP[$_get](byte)) || byte === 13 || byte === 10) { + dart.throw(new _http.HttpException.new("Invalid request method")); + } + this[_addWithValidation](this[_method$], byte); + } + break; + } + case 4: + { + if (byte === 32) { + if (this[_uriOrReasonPhrase][$length] === 0) { + dart.throw(new _http.HttpException.new("Invalid request, empty URI")); + } + this[_state$1] = 5; + this[_httpVersionIndex] = 0; + } else { + if (byte === 13 || byte === 10) { + dart.throw(new _http.HttpException.new("Invalid request, unexpected " + dart.str(byte) + " in URI")); + } + this[_addWithValidation](this[_uriOrReasonPhrase], byte); + } + break; + } + case 5: + { + let httpVersionIndex = dart.nullCheck(this[_httpVersionIndex]); + if (httpVersionIndex < dart.notNull(_http._Const.HTTP1DOT[$length])) { + this[_expect](byte, _http._Const.HTTP11[$_get](httpVersionIndex)); + this[_httpVersionIndex] = httpVersionIndex + 1; + } else if (this[_httpVersionIndex] == _http._Const.HTTP1DOT[$length]) { + if (byte === 49) { + this[_httpVersion] = 2; + this[_persistentConnection] = true; + this[_httpVersionIndex] = httpVersionIndex + 1; + } else if (byte === 48) { + this[_httpVersion] = 1; + this[_persistentConnection] = false; + this[_httpVersionIndex] = httpVersionIndex + 1; + } else { + dart.throw(new _http.HttpException.new("Invalid response, invalid HTTP version")); + } + } else { + if (byte === 13) { + this[_state$1] = 6; + } else if (byte === 10) { + this[_state$1] = 6; + this[_index$1] = dart.notNull(this[_index$1]) - 1; + } + } + break; + } + case 6: + { + this[_expect](byte, 10); + this[_messageType] = 1; + this[_state$1] = 10; + break; + } + case 7: + { + if (byte === 32) { + this[_state$1] = 8; + } else if (byte === 13) { + this[_state$1] = 9; + } else if (byte === 10) { + this[_state$1] = 9; + this[_index$1] = dart.notNull(this[_index$1]) - 1; + } else { + this[_statusCodeLength] = dart.notNull(this[_statusCodeLength]) + 1; + if (dart.notNull(byte) < 48 || dart.notNull(byte) > 57) { + dart.throw(new _http.HttpException.new("Invalid response status code with " + dart.str(byte))); + } else if (dart.notNull(this[_statusCodeLength]) > 3) { + dart.throw(new _http.HttpException.new("Invalid response, status code is over 3 digits")); + } else { + this[_statusCode] = dart.notNull(this[_statusCode]) * 10 + dart.notNull(byte) - 48; + } + } + break; + } + case 8: + { + if (byte === 13) { + this[_state$1] = 9; + } else if (byte === 10) { + this[_state$1] = 9; + this[_index$1] = dart.notNull(this[_index$1]) - 1; + } else { + this[_addWithValidation](this[_uriOrReasonPhrase], byte); + } + break; + } + case 9: + { + this[_expect](byte, 10); + this[_messageType] === 0; + if (dart.notNull(this[_statusCode]) <= 199 || this[_statusCode] === 204 || this[_statusCode] === 304) { + this[_noMessageBody] = true; + } + this[_state$1] = 10; + break; + } + case 10: + { + this[_headers] = new _http._HttpHeaders.new(dart.nullCheck(this.version)); + if (byte === 13) { + this[_state$1] = 16; + } else if (byte === 10) { + this[_state$1] = 16; + this[_index$1] = dart.notNull(this[_index$1]) - 1; + } else { + this[_addWithValidation](this[_headerField], _http._HttpParser._toLowerCaseByte(byte)); + this[_state$1] = 11; + } + break; + } + case 11: + { + if (byte === 58) { + this[_state$1] = 12; + } else { + if (!dart.test(_http._HttpParser._isTokenChar(byte))) { + dart.throw(new _http.HttpException.new("Invalid header field name, with " + dart.str(byte))); + } + this[_addWithValidation](this[_headerField], _http._HttpParser._toLowerCaseByte(byte)); + } + break; + } + case 12: + { + if (byte === 13) { + this[_state$1] = 14; + } else if (byte === 10) { + this[_state$1] = 15; + } else if (byte !== 32 && byte !== 9) { + this[_addWithValidation](this[_headerValue], byte); + this[_state$1] = 13; + } + break; + } + case 13: + { + if (byte === 13) { + this[_state$1] = 14; + } else if (byte === 10) { + this[_state$1] = 15; + } else { + this[_addWithValidation](this[_headerValue], byte); + } + break; + } + case 14: + { + this[_expect](byte, 10); + this[_state$1] = 15; + break; + } + case 15: + { + if (byte === 32 || byte === 9) { + this[_state$1] = 12; + } else { + let headerField = core.String.fromCharCodes(this[_headerField]); + let headerValue = core.String.fromCharCodes(this[_headerValue]); + let errorIfBothText = "Both Content-Length and Transfer-Encoding are specified, at most one is allowed"; + if (headerField === "content-length") { + if (dart.test(this[_contentLength])) { + dart.throw(new _http.HttpException.new("The Content-Length header occurred " + "more than once, at most one is allowed.")); + } else if (dart.test(this[_transferEncoding])) { + dart.throw(new _http.HttpException.new(errorIfBothText)); + } + this[_contentLength] = true; + } else if (headerField === "transfer-encoding") { + this[_transferEncoding] = true; + if (dart.test(_http._HttpParser._caseInsensitiveCompare("chunked"[$codeUnits], this[_headerValue]))) { + this[_chunked] = true; + } + if (dart.test(this[_contentLength])) { + dart.throw(new _http.HttpException.new(errorIfBothText)); + } + } + let headers = dart.nullCheck(this[_headers]); + if (headerField === "connection") { + let tokens = _http._HttpParser._tokenizeFieldValue(headerValue); + let isResponse = this[_messageType] === 0; + let isUpgradeCode = this[_statusCode] === 426 || this[_statusCode] === 101; + for (let i = 0; i < dart.notNull(tokens[$length]); i = i + 1) { + let isUpgrade = _http._HttpParser._caseInsensitiveCompare("upgrade"[$codeUnits], tokens[$_get](i)[$codeUnits]); + if (dart.test(isUpgrade) && !isResponse || dart.test(isUpgrade) && isResponse && isUpgradeCode) { + this[_connectionUpgrade] = true; + } + headers[_add$1](headerField, tokens[$_get](i)); + } + } else { + headers[_add$1](headerField, headerValue); + } + this[_headerField][$clear](); + this[_headerValue][$clear](); + if (byte === 13) { + this[_state$1] = 16; + } else if (byte === 10) { + this[_state$1] = 16; + this[_index$1] = dart.notNull(this[_index$1]) - 1; + } else { + this[_state$1] = 11; + this[_addWithValidation](this[_headerField], _http._HttpParser._toLowerCaseByte(byte)); + } + } + break; + } + case 16: + { + this[_expect](byte, 10); + if (dart.test(this[_headersEnd]())) { + return; + } + break; + } + case 17: + { + if (byte === 10) { + this[_state$1] = 18; + this[_index$1] = dart.notNull(this[_index$1]) - 1; + break; + } + this[_expect](byte, 13); + this[_state$1] = 18; + break; + } + case 18: + { + this[_expect](byte, 10); + this[_state$1] = 19; + break; + } + case 19: + { + if (byte === 13) { + this[_state$1] = 21; + } else if (byte === 10) { + this[_state$1] = 21; + this[_index$1] = dart.notNull(this[_index$1]) - 1; + } else if (byte === 59) { + this[_state$1] = 20; + } else { + let value = this[_expectHexDigit](byte); + if (dart.notNull(this[_remainingContent]) > this[_chunkSizeLimit][$rightShift](4)) { + dart.throw(new _http.HttpException.new("Chunk size overflows the integer")); + } + this[_remainingContent] = dart.notNull(this[_remainingContent]) * 16 + dart.notNull(value); + } + break; + } + case 20: + { + if (byte === 13) { + this[_state$1] = 21; + } else if (byte === 10) { + this[_state$1] = 21; + this[_index$1] = dart.notNull(this[_index$1]) - 1; + } + break; + } + case 21: + { + this[_expect](byte, 10); + if (dart.notNull(this[_remainingContent]) > 0) { + this[_state$1] = 24; + } else { + this[_state$1] = 22; + } + break; + } + case 22: + { + if (byte === 10) { + this[_state$1] = 23; + this[_index$1] = dart.notNull(this[_index$1]) - 1; + break; + } + this[_expect](byte, 13); + break; + } + case 23: + { + this[_expect](byte, 10); + this[_reset](); + this[_closeIncoming](); + break; + } + case 24: + { + this[_index$1] = dart.notNull(this[_index$1]) - 1; + let buffer = dart.nullCheck(this[_buffer$1]); + let dataAvailable = dart.notNull(buffer[$length]) - dart.notNull(this[_index$1]); + if (dart.notNull(this[_remainingContent]) >= 0 && dart.notNull(dataAvailable) > dart.notNull(this[_remainingContent])) { + dataAvailable = this[_remainingContent]; + } + let data = typed_data.Uint8List.view(buffer[$buffer], dart.notNull(buffer[$offsetInBytes]) + dart.notNull(this[_index$1]), dataAvailable); + dart.nullCheck(this[_bodyController]).add(data); + if (this[_remainingContent] !== -1) { + this[_remainingContent] = dart.notNull(this[_remainingContent]) - dart.notNull(data[$length]); + } + this[_index$1] = dart.notNull(this[_index$1]) + dart.notNull(data[$length]); + if (this[_remainingContent] === 0) { + if (!dart.test(this[_chunked])) { + this[_reset](); + this[_closeIncoming](); + } else { + this[_state$1] = 17; + } + } + break; + } + case 27: + { + if (!false) dart.assertFailed(null, I[182], 851, 18, "false"); + break; + } + default: + { + if (!false) dart.assertFailed(null, I[182], 856, 18, "false"); + break; + } + } + } + this[_parserCalled] = false; + let buffer = this[_buffer$1]; + if (buffer != null && this[_index$1] == buffer[$length]) { + this[_releaseBuffer](); + if (this[_state$1] !== 26 && this[_state$1] !== 27) { + dart.nullCheck(this[_socketSubscription$]).resume(); + } + } + } + [_onData$1](buffer) { + if (buffer == null) dart.nullFailed(I[182], 873, 26, "buffer"); + dart.nullCheck(this[_socketSubscription$]).pause(); + if (!(this[_buffer$1] == null)) dart.assertFailed(null, I[182], 875, 12, "_buffer == null"); + this[_buffer$1] = buffer; + this[_index$1] = 0; + this[_parse](); + } + [_onDone]() { + this[_socketSubscription$] = null; + if (this[_state$1] === 25 || this[_state$1] === 27) return; + if (this[_incoming$] != null) { + if (this[_state$1] !== 26 && !(this[_state$1] === 0 && !dart.test(this[_requestParser$])) && !(this[_state$1] === 24 && !dart.test(this[_chunked]) && this[_transferLength$] === -1)) { + this[_reportBodyError](new _http.HttpException.new("Connection closed while receiving data")); + } + this[_closeIncoming](true); + this[_controller$0].close(); + return; + } + if (this[_state$1] === 0) { + if (!dart.test(this[_requestParser$])) { + this[_reportHttpError](new _http.HttpException.new("Connection closed before full header was received")); + } + this[_controller$0].close(); + return; + } + if (this[_state$1] === 26) { + this[_controller$0].close(); + return; + } + if (dart.notNull(this[_state$1]) < 17) { + this[_state$1] = 27; + this[_reportHttpError](new _http.HttpException.new("Connection closed before full header was received")); + this[_controller$0].close(); + return; + } + if (!dart.test(this[_chunked]) && this[_transferLength$] === -1) { + this[_state$1] = 25; + } else { + this[_state$1] = 27; + this[_reportHttpError](new _http.HttpException.new("Connection closed before full body was received")); + } + this[_controller$0].close(); + } + get version() { + switch (this[_httpVersion]) { + case 1: + { + return "1.0"; + } + case 2: + { + return "1.1"; + } + } + return null; + } + get messageType() { + return this[_messageType]; + } + get transferLength() { + return this[_transferLength$]; + } + get upgrade() { + return dart.test(this[_connectionUpgrade]) && this[_state$1] === 26; + } + get persistentConnection() { + return this[_persistentConnection]; + } + set isHead(value) { + if (value == null) dart.nullFailed(I[182], 949, 24, "value"); + this[_noMessageBody] = _internal.valueOfNonNullableParamWithDefault(core.bool, value, false); + } + detachIncoming() { + this[_state$1] = 26; + return new _http._HttpDetachedIncoming.new(this[_socketSubscription$], this.readUnparsedData()); + } + readUnparsedData() { + let buffer = this[_buffer$1]; + if (buffer == null) return null; + let index = this[_index$1]; + if (index == buffer[$length]) return null; + let result = buffer[$sublist](index); + this[_releaseBuffer](); + return result; + } + [_reset]() { + if (this[_state$1] === 26) return; + this[_state$1] = 0; + this[_messageType] = 0; + this[_headerField][$clear](); + this[_headerValue][$clear](); + this[_headersReceivedSize] = 0; + this[_method$][$clear](); + this[_uriOrReasonPhrase][$clear](); + this[_statusCode] = 0; + this[_statusCodeLength] = 0; + this[_httpVersion] = 0; + this[_transferLength$] = -1; + this[_persistentConnection] = false; + this[_connectionUpgrade] = false; + this[_chunked] = false; + this[_noMessageBody] = false; + this[_remainingContent] = -1; + this[_contentLength] = false; + this[_transferEncoding] = false; + this[_headers] = null; + } + [_releaseBuffer]() { + this[_buffer$1] = null; + this[_index$1] = -1; + } + static _isTokenChar(byte) { + if (byte == null) dart.nullFailed(I[182], 1002, 32, "byte"); + return dart.notNull(byte) > 31 && dart.notNull(byte) < 128 && !dart.test(_http._Const.SEPARATOR_MAP[$_get](byte)); + } + static _isValueChar(byte) { + if (byte == null) dart.nullFailed(I[182], 1006, 32, "byte"); + return dart.notNull(byte) > 31 && dart.notNull(byte) < 128 || byte === 9; + } + static _tokenizeFieldValue(headerValue) { + if (headerValue == null) dart.nullFailed(I[182], 1010, 50, "headerValue"); + let tokens = T$.JSArrayOfString().of([]); + let start = 0; + let index = 0; + while (index < headerValue.length) { + if (headerValue[$_get](index) === ",") { + tokens[$add](headerValue[$substring](start, index)); + start = index + 1; + } else if (headerValue[$_get](index) === " " || headerValue[$_get](index) === "\t") { + start = start + 1; + } + index = index + 1; + } + tokens[$add](headerValue[$substring](start, index)); + return tokens; + } + static _toLowerCaseByte(x) { + if (x == null) dart.nullFailed(I[182], 1027, 35, "x"); + return (dart.notNull(x) - 65 & 127) < 26 ? (dart.notNull(x) | 32) >>> 0 : x; + } + static _caseInsensitiveCompare(expected, value) { + if (expected == null) dart.nullFailed(I[182], 1037, 49, "expected"); + if (value == null) dart.nullFailed(I[182], 1037, 69, "value"); + if (expected[$length] != value[$length]) return false; + for (let i = 0; i < dart.notNull(expected[$length]); i = i + 1) { + if (expected[$_get](i) != _http._HttpParser._toLowerCaseByte(value[$_get](i))) return false; + } + return true; + } + [_expect](val1, val2) { + if (val1 == null) dart.nullFailed(I[182], 1045, 20, "val1"); + if (val2 == null) dart.nullFailed(I[182], 1045, 30, "val2"); + if (val1 != val2) { + dart.throw(new _http.HttpException.new("Failed to parse HTTP, " + dart.str(val1) + " does not match " + dart.str(val2))); + } + } + [_expectHexDigit](byte) { + if (byte == null) dart.nullFailed(I[182], 1051, 27, "byte"); + if (48 <= dart.notNull(byte) && dart.notNull(byte) <= 57) { + return dart.notNull(byte) - 48; + } else if (65 <= dart.notNull(byte) && dart.notNull(byte) <= 70) { + return dart.notNull(byte) - 65 + 10; + } else if (97 <= dart.notNull(byte) && dart.notNull(byte) <= 102) { + return dart.notNull(byte) - 97 + 10; + } else { + dart.throw(new _http.HttpException.new("Failed to parse HTTP, " + dart.str(byte) + " is expected to be a Hex digit")); + } + } + [_addWithValidation](list, byte) { + if (list == null) dart.nullFailed(I[182], 1064, 37, "list"); + if (byte == null) dart.nullFailed(I[182], 1064, 47, "byte"); + this[_headersReceivedSize] = dart.notNull(this[_headersReceivedSize]) + 1; + if (dart.notNull(this[_headersReceivedSize]) < 1048576) { + list[$add](byte); + } else { + this[_reportSizeLimitError](); + } + } + [_reportSizeLimitError]() { + let method = ""; + switch (this[_state$1]) { + case 0: + case 1: + case 3: + { + method = "Method"; + break; + } + case 4: + { + method = "URI"; + break; + } + case 8: + { + method = "Reason phrase"; + break; + } + case 10: + case 11: + { + method = "Header field"; + break; + } + case 12: + case 13: + { + method = "Header value"; + break; + } + default: + { + dart.throw(new core.UnsupportedError.new("Unexpected state: " + dart.str(this[_state$1]))); + break; + } + } + dart.throw(new _http.HttpException.new(method + " exceeds the " + dart.str(1048576) + " size limit")); + } + [_createIncoming](transferLength) { + let t302; + if (transferLength == null) dart.nullFailed(I[182], 1108, 37, "transferLength"); + if (!(this[_incoming$] == null)) dart.assertFailed(null, I[182], 1109, 12, "_incoming == null"); + if (!(this[_bodyController] == null)) dart.assertFailed(null, I[182], 1110, 12, "_bodyController == null"); + if (!!dart.test(this[_bodyPaused])) dart.assertFailed(null, I[182], 1111, 12, "!_bodyPaused"); + let controller = this[_bodyController] = T$0.StreamControllerOfUint8List().new({sync: true}); + let incoming = this[_incoming$] = new _http._HttpIncoming.new(dart.nullCheck(this[_headers]), transferLength, controller.stream); + t302 = controller; + (() => { + t302.onListen = dart.fn(() => { + if (!incoming[$_equals](this[_incoming$])) return; + if (!dart.test(this[_bodyPaused])) dart.assertFailed(null, I[182], 1119, 16, "_bodyPaused"); + this[_bodyPaused] = false; + this[_pauseStateChanged](); + }, T$.VoidTovoid()); + t302.onPause = dart.fn(() => { + if (!incoming[$_equals](this[_incoming$])) return; + if (!!dart.test(this[_bodyPaused])) dart.assertFailed(null, I[182], 1125, 16, "!_bodyPaused"); + this[_bodyPaused] = true; + this[_pauseStateChanged](); + }, T$.VoidTovoid()); + t302.onResume = dart.fn(() => { + if (!incoming[$_equals](this[_incoming$])) return; + if (!dart.test(this[_bodyPaused])) dart.assertFailed(null, I[182], 1131, 16, "_bodyPaused"); + this[_bodyPaused] = false; + this[_pauseStateChanged](); + }, T$.VoidTovoid()); + t302.onCancel = dart.fn(() => { + let t303; + if (!incoming[$_equals](this[_incoming$])) return; + t303 = this[_socketSubscription$]; + t303 == null ? null : t303.cancel(); + this[_closeIncoming](true); + this[_controller$0].close(); + }, T$.VoidToNull()); + return t302; + })(); + this[_bodyPaused] = true; + this[_pauseStateChanged](); + return incoming; + } + [_closeIncoming](closing = false) { + if (closing == null) dart.nullFailed(I[182], 1146, 29, "closing"); + let tmp = this[_incoming$]; + if (tmp == null) return; + tmp.close(closing); + this[_incoming$] = null; + let controller = this[_bodyController]; + if (controller != null) { + controller.close(); + this[_bodyController] = null; + } + this[_bodyPaused] = false; + this[_pauseStateChanged](); + } + [_pauseStateChanged]() { + if (this[_incoming$] != null) { + if (!dart.test(this[_bodyPaused]) && !dart.test(this[_parserCalled])) { + this[_parse](); + } + } else { + if (!dart.test(this[_paused]) && !dart.test(this[_parserCalled])) { + this[_parse](); + } + } + } + [_reportHttpError](error, stackTrace = null) { + let t302; + t302 = this[_socketSubscription$]; + t302 == null ? null : t302.cancel(); + this[_state$1] = 27; + this[_controller$0].addError(core.Object.as(error), T$.StackTraceN().as(stackTrace)); + this[_controller$0].close(); + } + [_reportBodyError](error, stackTrace = null) { + let t302, t302$, t302$0; + t302 = this[_socketSubscription$]; + t302 == null ? null : t302.cancel(); + this[_state$1] = 27; + t302$ = this[_bodyController]; + t302$ == null ? null : t302$.addError(core.Object.as(error), T$.StackTraceN().as(stackTrace)); + t302$0 = this[_bodyController]; + t302$0 == null ? null : t302$0.close(); + } +}; +(_http._HttpParser.__ = function(_requestParser) { + let t301; + if (_requestParser == null) dart.nullFailed(I[182], 286, 22, "_requestParser"); + this[_parserCalled] = false; + this[_buffer$1] = null; + this[_index$1] = -1; + this[_state$1] = 0; + this[_httpVersionIndex] = null; + this[_messageType] = 0; + this[_statusCode] = 0; + this[_statusCodeLength] = 0; + this[_method$] = T$.JSArrayOfint().of([]); + this[_uriOrReasonPhrase] = T$.JSArrayOfint().of([]); + this[_headerField] = T$.JSArrayOfint().of([]); + this[_headerValue] = T$.JSArrayOfint().of([]); + this[_headersReceivedSize] = 0; + this[_httpVersion] = 0; + this[_transferLength$] = -1; + this[_persistentConnection] = false; + this[_connectionUpgrade] = false; + this[_chunked] = false; + this[_noMessageBody] = false; + this[_remainingContent] = -1; + this[_contentLength] = false; + this[_transferEncoding] = false; + this.connectMethod = false; + this[_headers] = null; + this[_chunkSizeLimit] = 2147483647; + this[_incoming$] = null; + this[_socketSubscription$] = null; + this[_paused] = true; + this[_bodyPaused] = false; + this[_bodyController] = null; + this[_requestParser$] = _requestParser; + this[_controller$0] = T.StreamControllerOf_HttpIncoming().new({sync: true}); + _http._HttpParser.__proto__.new.call(this); + t301 = this[_controller$0]; + (() => { + t301.onListen = dart.fn(() => { + this[_paused] = false; + }, T$.VoidTovoid()); + t301.onPause = dart.fn(() => { + this[_paused] = true; + this[_pauseStateChanged](); + }, T$.VoidTovoid()); + t301.onResume = dart.fn(() => { + this[_paused] = false; + this[_pauseStateChanged](); + }, T$.VoidTovoid()); + t301.onCancel = dart.fn(() => { + let t302; + t302 = this[_socketSubscription$]; + t302 == null ? null : t302.cancel(); + }, T$.VoidToNull()); + return t301; + })(); + this[_reset](); +}).prototype = _http._HttpParser.prototype; +dart.addTypeTests(_http._HttpParser); +dart.addTypeCaches(_http._HttpParser); +dart.setMethodSignature(_http._HttpParser, () => ({ + __proto__: dart.getMethods(_http._HttpParser.__proto__), + listen: dart.fnType(async.StreamSubscription$(_http._HttpIncoming), [dart.nullable(dart.fnType(dart.void, [_http._HttpIncoming]))], {cancelOnError: dart.nullable(core.bool), onDone: dart.nullable(dart.fnType(dart.void, [])), onError: dart.nullable(core.Function)}, {}), + listenToStream: dart.fnType(dart.void, [async.Stream$(typed_data.Uint8List)]), + [_parse]: dart.fnType(dart.void, []), + [_headersEnd]: dart.fnType(core.bool, []), + [_doParse]: dart.fnType(dart.void, []), + [_onData$1]: dart.fnType(dart.void, [typed_data.Uint8List]), + [_onDone]: dart.fnType(dart.void, []), + detachIncoming: dart.fnType(_http._HttpDetachedIncoming, []), + readUnparsedData: dart.fnType(dart.nullable(typed_data.Uint8List), []), + [_reset]: dart.fnType(dart.void, []), + [_releaseBuffer]: dart.fnType(dart.void, []), + [_expect]: dart.fnType(dart.void, [core.int, core.int]), + [_expectHexDigit]: dart.fnType(core.int, [core.int]), + [_addWithValidation]: dart.fnType(dart.void, [core.List$(core.int), core.int]), + [_reportSizeLimitError]: dart.fnType(dart.void, []), + [_createIncoming]: dart.fnType(_http._HttpIncoming, [core.int]), + [_closeIncoming]: dart.fnType(dart.void, [], [core.bool]), + [_pauseStateChanged]: dart.fnType(dart.void, []), + [_reportHttpError]: dart.fnType(dart.void, [dart.dynamic], [dart.dynamic]), + [_reportBodyError]: dart.fnType(dart.void, [dart.dynamic], [dart.dynamic]) +})); +dart.setGetterSignature(_http._HttpParser, () => ({ + __proto__: dart.getGetters(_http._HttpParser.__proto__), + version: dart.nullable(core.String), + messageType: core.int, + transferLength: core.int, + upgrade: core.bool, + persistentConnection: core.bool +})); +dart.setSetterSignature(_http._HttpParser, () => ({ + __proto__: dart.getSetters(_http._HttpParser.__proto__), + isHead: core.bool +})); +dart.setLibraryUri(_http._HttpParser, I[177]); +dart.setFieldSignature(_http._HttpParser, () => ({ + __proto__: dart.getFields(_http._HttpParser.__proto__), + [_parserCalled]: dart.fieldType(core.bool), + [_buffer$1]: dart.fieldType(dart.nullable(typed_data.Uint8List)), + [_index$1]: dart.fieldType(core.int), + [_requestParser$]: dart.finalFieldType(core.bool), + [_state$1]: dart.fieldType(core.int), + [_httpVersionIndex]: dart.fieldType(dart.nullable(core.int)), + [_messageType]: dart.fieldType(core.int), + [_statusCode]: dart.fieldType(core.int), + [_statusCodeLength]: dart.fieldType(core.int), + [_method$]: dart.finalFieldType(core.List$(core.int)), + [_uriOrReasonPhrase]: dart.finalFieldType(core.List$(core.int)), + [_headerField]: dart.finalFieldType(core.List$(core.int)), + [_headerValue]: dart.finalFieldType(core.List$(core.int)), + [_headersReceivedSize]: dart.fieldType(core.int), + [_httpVersion]: dart.fieldType(core.int), + [_transferLength$]: dart.fieldType(core.int), + [_persistentConnection]: dart.fieldType(core.bool), + [_connectionUpgrade]: dart.fieldType(core.bool), + [_chunked]: dart.fieldType(core.bool), + [_noMessageBody]: dart.fieldType(core.bool), + [_remainingContent]: dart.fieldType(core.int), + [_contentLength]: dart.fieldType(core.bool), + [_transferEncoding]: dart.fieldType(core.bool), + connectMethod: dart.fieldType(core.bool), + [_headers]: dart.fieldType(dart.nullable(_http._HttpHeaders)), + [_chunkSizeLimit]: dart.fieldType(core.int), + [_incoming$]: dart.fieldType(dart.nullable(_http._HttpIncoming)), + [_socketSubscription$]: dart.fieldType(dart.nullable(async.StreamSubscription$(typed_data.Uint8List))), + [_paused]: dart.fieldType(core.bool), + [_bodyPaused]: dart.fieldType(core.bool), + [_controller$0]: dart.finalFieldType(async.StreamController$(_http._HttpIncoming)), + [_bodyController]: dart.fieldType(dart.nullable(async.StreamController$(typed_data.Uint8List))) +})); +dart.defineLazy(_http._HttpParser, { + /*_http._HttpParser._headerTotalSizeLimit*/get _headerTotalSizeLimit() { + return 1048576; + } +}, false); +var _timeoutCallback = dart.privateName(_http, "_timeoutCallback"); +var _prev = dart.privateName(_http, "_prev"); +var _next$4 = dart.privateName(_http, "_next"); +var _data$1 = dart.privateName(_http, "_data"); +var _lastSeen = dart.privateName(_http, "_lastSeen"); +var _removeFromTimeoutQueue = dart.privateName(_http, "_removeFromTimeoutQueue"); +var _sessions = dart.privateName(_http, "_sessions"); +var _bumpToEnd = dart.privateName(_http, "_bumpToEnd"); +_http._HttpSession = class _HttpSession extends core.Object { + destroy() { + if (!!dart.test(this[_destroyed])) dart.assertFailed(null, I[183], 28, 12, "!_destroyed"); + this[_destroyed] = true; + this[_sessionManager$][_removeFromTimeoutQueue](this); + this[_sessionManager$][_sessions][$remove](this.id); + } + [_markSeen]() { + this[_lastSeen] = new core.DateTime.now(); + this[_sessionManager$][_bumpToEnd](this); + } + get lastSeen() { + return this[_lastSeen]; + } + get isNew() { + return this[_isNew]; + } + set onTimeout(callback) { + this[_timeoutCallback] = callback; + } + containsValue(value) { + return this[_data$1][$containsValue](value); + } + containsKey(key) { + return this[_data$1][$containsKey](key); + } + _get(key) { + return this[_data$1][$_get](key); + } + _set(key, value$) { + let value = value$; + this[_data$1][$_set](key, value); + return value$; + } + putIfAbsent(key, ifAbsent) { + T$.VoidTodynamic().as(ifAbsent); + if (ifAbsent == null) dart.nullFailed(I[183], 57, 20, "ifAbsent"); + return this[_data$1][$putIfAbsent](key, ifAbsent); + } + addAll(other) { + core.Map.as(other); + if (other == null) dart.nullFailed(I[183], 58, 14, "other"); + return this[_data$1][$addAll](other); + } + remove(key) { + return this[_data$1][$remove](key); + } + clear() { + this[_data$1][$clear](); + } + forEach(f) { + if (f == null) dart.nullFailed(I[183], 64, 21, "f"); + this[_data$1][$forEach](f); + } + get entries() { + return this[_data$1][$entries]; + } + addEntries(entries) { + T.IterableOfMapEntry().as(entries); + if (entries == null) dart.nullFailed(I[183], 70, 38, "entries"); + this[_data$1][$addEntries](entries); + } + map(K, V, transform) { + if (transform == null) dart.nullFailed(I[183], 74, 38, "transform"); + return this[_data$1][$map](K, V, transform); + } + removeWhere(test) { + if (test == null) dart.nullFailed(I[183], 77, 25, "test"); + this[_data$1][$removeWhere](test); + } + cast(K, V) { + return this[_data$1][$cast](K, V); + } + update(key, update, opts) { + T$.dynamicTodynamic().as(update); + if (update == null) dart.nullFailed(I[183], 82, 15, "update"); + let ifAbsent = opts && 'ifAbsent' in opts ? opts.ifAbsent : null; + T.VoidToNdynamic().as(ifAbsent); + return this[_data$1][$update](key, update, {ifAbsent: ifAbsent}); + } + updateAll(update) { + T$0.dynamicAnddynamicTodynamic().as(update); + if (update == null) dart.nullFailed(I[183], 85, 18, "update"); + this[_data$1][$updateAll](update); + } + get keys() { + return this[_data$1][$keys]; + } + get values() { + return this[_data$1][$values]; + } + get length() { + return this[_data$1][$length]; + } + get isEmpty() { + return this[_data$1][$isEmpty]; + } + get isNotEmpty() { + return this[_data$1][$isNotEmpty]; + } + toString() { + return "HttpSession id:" + dart.str(this.id) + " " + dart.str(this[_data$1]); + } +}; +(_http._HttpSession.new = function(_sessionManager, id) { + if (_sessionManager == null) dart.nullFailed(I[183], 25, 21, "_sessionManager"); + if (id == null) dart.nullFailed(I[183], 25, 43, "id"); + this[_destroyed] = false; + this[_isNew] = true; + this[_timeoutCallback] = null; + this[_prev] = null; + this[_next$4] = null; + this[_data$1] = new _js_helper.LinkedMap.new(); + this[_sessionManager$] = _sessionManager; + this.id = id; + this[_lastSeen] = new core.DateTime.now(); + ; +}).prototype = _http._HttpSession.prototype; +dart.addTypeTests(_http._HttpSession); +dart.addTypeCaches(_http._HttpSession); +_http._HttpSession[dart.implements] = () => [_http.HttpSession]; +dart.setMethodSignature(_http._HttpSession, () => ({ + __proto__: dart.getMethods(_http._HttpSession.__proto__), + destroy: dart.fnType(dart.void, []), + [_markSeen]: dart.fnType(dart.void, []), + containsValue: dart.fnType(core.bool, [dart.nullable(core.Object)]), + [$containsValue]: dart.fnType(core.bool, [dart.nullable(core.Object)]), + containsKey: dart.fnType(core.bool, [dart.nullable(core.Object)]), + [$containsKey]: dart.fnType(core.bool, [dart.nullable(core.Object)]), + _get: dart.fnType(dart.dynamic, [dart.nullable(core.Object)]), + [$_get]: dart.fnType(dart.dynamic, [dart.nullable(core.Object)]), + _set: dart.fnType(dart.void, [dart.nullable(core.Object), dart.nullable(core.Object)]), + [$_set]: dart.fnType(dart.void, [dart.nullable(core.Object), dart.nullable(core.Object)]), + putIfAbsent: dart.fnType(dart.dynamic, [dart.nullable(core.Object), dart.nullable(core.Object)]), + [$putIfAbsent]: dart.fnType(dart.dynamic, [dart.nullable(core.Object), dart.nullable(core.Object)]), + addAll: dart.fnType(dart.void, [dart.nullable(core.Object)]), + [$addAll]: dart.fnType(dart.void, [dart.nullable(core.Object)]), + remove: dart.fnType(dart.dynamic, [dart.nullable(core.Object)]), + [$remove]: dart.fnType(dart.dynamic, [dart.nullable(core.Object)]), + clear: dart.fnType(dart.void, []), + [$clear]: dart.fnType(dart.void, []), + forEach: dart.fnType(dart.void, [dart.fnType(dart.void, [dart.dynamic, dart.dynamic])]), + [$forEach]: dart.fnType(dart.void, [dart.fnType(dart.void, [dart.dynamic, dart.dynamic])]), + addEntries: dart.fnType(dart.void, [dart.nullable(core.Object)]), + [$addEntries]: dart.fnType(dart.void, [dart.nullable(core.Object)]), + map: dart.gFnType((K, V) => [core.Map$(K, V), [dart.fnType(core.MapEntry$(K, V), [dart.dynamic, dart.dynamic])]], (K, V) => [dart.nullable(core.Object), dart.nullable(core.Object)]), + [$map]: dart.gFnType((K, V) => [core.Map$(K, V), [dart.fnType(core.MapEntry$(K, V), [dart.dynamic, dart.dynamic])]], (K, V) => [dart.nullable(core.Object), dart.nullable(core.Object)]), + removeWhere: dart.fnType(dart.void, [dart.fnType(core.bool, [dart.dynamic, dart.dynamic])]), + [$removeWhere]: dart.fnType(dart.void, [dart.fnType(core.bool, [dart.dynamic, dart.dynamic])]), + cast: dart.gFnType((K, V) => [core.Map$(K, V), []], (K, V) => [dart.nullable(core.Object), dart.nullable(core.Object)]), + [$cast]: dart.gFnType((K, V) => [core.Map$(K, V), []], (K, V) => [dart.nullable(core.Object), dart.nullable(core.Object)]), + update: dart.fnType(dart.dynamic, [dart.nullable(core.Object), dart.nullable(core.Object)], {ifAbsent: dart.nullable(core.Object)}, {}), + [$update]: dart.fnType(dart.dynamic, [dart.nullable(core.Object), dart.nullable(core.Object)], {ifAbsent: dart.nullable(core.Object)}, {}), + updateAll: dart.fnType(dart.void, [dart.nullable(core.Object)]), + [$updateAll]: dart.fnType(dart.void, [dart.nullable(core.Object)]) +})); +dart.setGetterSignature(_http._HttpSession, () => ({ + __proto__: dart.getGetters(_http._HttpSession.__proto__), + lastSeen: core.DateTime, + isNew: core.bool, + entries: core.Iterable$(core.MapEntry), + [$entries]: core.Iterable$(core.MapEntry), + keys: core.Iterable, + [$keys]: core.Iterable, + values: core.Iterable, + [$values]: core.Iterable, + length: core.int, + [$length]: core.int, + isEmpty: core.bool, + [$isEmpty]: core.bool, + isNotEmpty: core.bool, + [$isNotEmpty]: core.bool +})); +dart.setSetterSignature(_http._HttpSession, () => ({ + __proto__: dart.getSetters(_http._HttpSession.__proto__), + onTimeout: dart.nullable(dart.fnType(dart.void, [])) +})); +dart.setLibraryUri(_http._HttpSession, I[177]); +dart.setFieldSignature(_http._HttpSession, () => ({ + __proto__: dart.getFields(_http._HttpSession.__proto__), + [_destroyed]: dart.fieldType(core.bool), + [_isNew]: dart.fieldType(core.bool), + [_lastSeen]: dart.fieldType(core.DateTime), + [_timeoutCallback]: dart.fieldType(dart.nullable(core.Function)), + [_sessionManager$]: dart.fieldType(_http._HttpSessionManager), + [_prev]: dart.fieldType(dart.nullable(_http._HttpSession)), + [_next$4]: dart.fieldType(dart.nullable(_http._HttpSession)), + id: dart.finalFieldType(core.String), + [_data$1]: dart.finalFieldType(core.Map) +})); +dart.defineExtensionMethods(_http._HttpSession, [ + 'containsValue', + 'containsKey', + '_get', + '_set', + 'putIfAbsent', + 'addAll', + 'remove', + 'clear', + 'forEach', + 'addEntries', + 'map', + 'removeWhere', + 'cast', + 'update', + 'updateAll', + 'toString' +]); +dart.defineExtensionAccessors(_http._HttpSession, [ + 'entries', + 'keys', + 'values', + 'length', + 'isEmpty', + 'isNotEmpty' +]); +var _sessionTimeout = dart.privateName(_http, "_sessionTimeout"); +var _head$ = dart.privateName(_http, "_head"); +var _tail$ = dart.privateName(_http, "_tail"); +var _timer = dart.privateName(_http, "_timer"); +var _addToTimeoutQueue = dart.privateName(_http, "_addToTimeoutQueue"); +var _stopTimer = dart.privateName(_http, "_stopTimer"); +var _startTimer = dart.privateName(_http, "_startTimer"); +var _timerTimeout = dart.privateName(_http, "_timerTimeout"); +_http._HttpSessionManager = class _HttpSessionManager extends core.Object { + createSessionId() { + let data = _http._CryptoUtils.getRandomBytes(16); + return _http._CryptoUtils.bytesToHex(data); + } + getSession(id) { + if (id == null) dart.nullFailed(I[183], 118, 35, "id"); + return this[_sessions][$_get](id); + } + createSession() { + let t304, t303, t302; + let id = this.createSessionId(); + while (dart.test(this[_sessions][$containsKey](id))) { + id = this.createSessionId(); + } + let session = (t302 = this[_sessions], t303 = id, t304 = new _http._HttpSession.new(this, id), t302[$_set](t303, t304), t304); + this[_addToTimeoutQueue](session); + return session; + } + set sessionTimeout(timeout) { + if (timeout == null) dart.nullFailed(I[183], 132, 31, "timeout"); + this[_sessionTimeout] = timeout; + this[_stopTimer](); + this[_startTimer](); + } + close() { + this[_stopTimer](); + } + [_bumpToEnd](session) { + if (session == null) dart.nullFailed(I[183], 142, 32, "session"); + this[_removeFromTimeoutQueue](session); + this[_addToTimeoutQueue](session); + } + [_addToTimeoutQueue](session) { + if (session == null) dart.nullFailed(I[183], 147, 40, "session"); + if (this[_head$] == null) { + if (!(this[_tail$] == null)) dart.assertFailed(null, I[183], 149, 14, "_tail == null"); + this[_tail$] = this[_head$] = session; + this[_startTimer](); + } else { + if (!(this[_timer] != null)) dart.assertFailed(null, I[183], 153, 14, "_timer != null"); + let tail = dart.nullCheck(this[_tail$]); + tail[_next$4] = session; + session[_prev] = tail; + this[_tail$] = session; + } + } + [_removeFromTimeoutQueue](session) { + let t302, t302$; + if (session == null) dart.nullFailed(I[183], 162, 45, "session"); + let next = session[_next$4]; + let prev = session[_prev]; + session[_next$4] = session[_prev] = null; + t302 = next; + t302 == null ? null : t302[_prev] = prev; + t302$ = prev; + t302$ == null ? null : t302$[_next$4] = next; + if (dart.equals(this[_tail$], session)) { + this[_tail$] = prev; + } + if (dart.equals(this[_head$], session)) { + this[_head$] = next; + this[_stopTimer](); + this[_startTimer](); + } + } + [_timerTimeout]() { + let t302; + this[_stopTimer](); + let session = dart.nullCheck(this[_head$]); + session.destroy(); + t302 = session[_timeoutCallback]; + t302 == null ? null : dart.dcall(t302, []); + } + [_startTimer]() { + if (!(this[_timer] == null)) dart.assertFailed(null, I[183], 187, 12, "_timer == null"); + let head = this[_head$]; + if (head != null) { + let seconds = new core.DateTime.now().difference(head.lastSeen).inSeconds; + this[_timer] = async.Timer.new(new core.Duration.new({seconds: dart.notNull(this[_sessionTimeout]) - dart.notNull(seconds)}), dart.bind(this, _timerTimeout)); + } + } + [_stopTimer]() { + let timer = this[_timer]; + if (timer != null) { + timer.cancel(); + this[_timer] = null; + } + } +}; +(_http._HttpSessionManager.new = function() { + this[_sessionTimeout] = 20 * 60; + this[_head$] = null; + this[_tail$] = null; + this[_timer] = null; + this[_sessions] = new (T.IdentityMapOfString$_HttpSession()).new(); + ; +}).prototype = _http._HttpSessionManager.prototype; +dart.addTypeTests(_http._HttpSessionManager); +dart.addTypeCaches(_http._HttpSessionManager); +dart.setMethodSignature(_http._HttpSessionManager, () => ({ + __proto__: dart.getMethods(_http._HttpSessionManager.__proto__), + createSessionId: dart.fnType(core.String, []), + getSession: dart.fnType(dart.nullable(_http._HttpSession), [core.String]), + createSession: dart.fnType(_http._HttpSession, []), + close: dart.fnType(dart.void, []), + [_bumpToEnd]: dart.fnType(dart.void, [_http._HttpSession]), + [_addToTimeoutQueue]: dart.fnType(dart.void, [_http._HttpSession]), + [_removeFromTimeoutQueue]: dart.fnType(dart.void, [_http._HttpSession]), + [_timerTimeout]: dart.fnType(dart.void, []), + [_startTimer]: dart.fnType(dart.void, []), + [_stopTimer]: dart.fnType(dart.void, []) +})); +dart.setSetterSignature(_http._HttpSessionManager, () => ({ + __proto__: dart.getSetters(_http._HttpSessionManager.__proto__), + sessionTimeout: core.int +})); +dart.setLibraryUri(_http._HttpSessionManager, I[177]); +dart.setFieldSignature(_http._HttpSessionManager, () => ({ + __proto__: dart.getFields(_http._HttpSessionManager.__proto__), + [_sessions]: dart.fieldType(core.Map$(core.String, _http._HttpSession)), + [_sessionTimeout]: dart.fieldType(core.int), + [_head$]: dart.fieldType(dart.nullable(_http._HttpSession)), + [_tail$]: dart.fieldType(dart.nullable(_http._HttpSession)), + [_timer]: dart.fieldType(dart.nullable(async.Timer)) +})); +_http.HttpOverrides = class HttpOverrides extends core.Object { + static get current() { + let t302; + return T.HttpOverridesN().as((t302 = async.Zone.current._get(_http._httpOverridesToken), t302 == null ? _http.HttpOverrides._global : t302)); + } + static set global(overrides) { + _http.HttpOverrides._global = overrides; + } + static runZoned(R, body, opts) { + if (body == null) dart.nullFailed(I[184], 49, 26, "body"); + let createHttpClient = opts && 'createHttpClient' in opts ? opts.createHttpClient : null; + let findProxyFromEnvironment = opts && 'findProxyFromEnvironment' in opts ? opts.findProxyFromEnvironment : null; + let overrides = new _http._HttpOverridesScope.new(createHttpClient, findProxyFromEnvironment); + return _http._asyncRunZoned(R, body, {zoneValues: new (T$0.LinkedMapOfObjectN$ObjectN()).from([_http._httpOverridesToken, overrides])}); + } + static runWithHttpOverrides(R, body, overrides) { + if (body == null) dart.nullFailed(I[184], 63, 38, "body"); + if (overrides == null) dart.nullFailed(I[184], 63, 60, "overrides"); + return _http._asyncRunZoned(R, body, {zoneValues: new (T$0.LinkedMapOfObjectN$ObjectN()).from([_http._httpOverridesToken, overrides])}); + } + createHttpClient(context) { + return new _http._HttpClient.new(context); + } + findProxyFromEnvironment(url, environment) { + if (url == null) dart.nullFailed(I[184], 80, 39, "url"); + return _http._HttpClient._findProxyFromEnvironment(url, environment); + } +}; +(_http.HttpOverrides.new = function() { + ; +}).prototype = _http.HttpOverrides.prototype; +dart.addTypeTests(_http.HttpOverrides); +dart.addTypeCaches(_http.HttpOverrides); +dart.setMethodSignature(_http.HttpOverrides, () => ({ + __proto__: dart.getMethods(_http.HttpOverrides.__proto__), + createHttpClient: dart.fnType(_http.HttpClient, [dart.nullable(io.SecurityContext)]), + findProxyFromEnvironment: dart.fnType(core.String, [core.Uri, dart.nullable(core.Map$(core.String, core.String))]) +})); +dart.setLibraryUri(_http.HttpOverrides, I[177]); +dart.defineLazy(_http.HttpOverrides, { + /*_http.HttpOverrides._global*/get _global() { + return null; + }, + set _global(_) {} +}, false); +var _previous$5 = dart.privateName(_http, "_previous"); +var _createHttpClient$ = dart.privateName(_http, "_createHttpClient"); +var _findProxyFromEnvironment$ = dart.privateName(_http, "_findProxyFromEnvironment"); +_http._HttpOverridesScope = class _HttpOverridesScope extends _http.HttpOverrides { + createHttpClient(context) { + let createHttpClient = this[_createHttpClient$]; + if (createHttpClient != null) return createHttpClient(context); + let previous = this[_previous$5]; + if (previous != null) return previous.createHttpClient(context); + return super.createHttpClient(context); + } + findProxyFromEnvironment(url, environment) { + if (url == null) dart.nullFailed(I[184], 103, 39, "url"); + let findProxyFromEnvironment = this[_findProxyFromEnvironment$]; + if (findProxyFromEnvironment != null) { + return findProxyFromEnvironment(url, environment); + } + let previous = this[_previous$5]; + if (previous != null) { + return previous.findProxyFromEnvironment(url, environment); + } + return super.findProxyFromEnvironment(url, environment); + } +}; +(_http._HttpOverridesScope.new = function(_createHttpClient, _findProxyFromEnvironment) { + this[_previous$5] = _http.HttpOverrides.current; + this[_createHttpClient$] = _createHttpClient; + this[_findProxyFromEnvironment$] = _findProxyFromEnvironment; + ; +}).prototype = _http._HttpOverridesScope.prototype; +dart.addTypeTests(_http._HttpOverridesScope); +dart.addTypeCaches(_http._HttpOverridesScope); +dart.setLibraryUri(_http._HttpOverridesScope, I[177]); +dart.setFieldSignature(_http._HttpOverridesScope, () => ({ + __proto__: dart.getFields(_http._HttpOverridesScope.__proto__), + [_previous$5]: dart.finalFieldType(dart.nullable(_http.HttpOverrides)), + [_createHttpClient$]: dart.finalFieldType(dart.nullable(dart.fnType(_http.HttpClient, [dart.nullable(io.SecurityContext)]))), + [_findProxyFromEnvironment$]: dart.finalFieldType(dart.nullable(dart.fnType(core.String, [core.Uri, dart.nullable(core.Map$(core.String, core.String))]))) +})); +_http.WebSocketStatus = class WebSocketStatus extends core.Object {}; +(_http.WebSocketStatus.new = function() { + ; +}).prototype = _http.WebSocketStatus.prototype; +dart.addTypeTests(_http.WebSocketStatus); +dart.addTypeCaches(_http.WebSocketStatus); +dart.setLibraryUri(_http.WebSocketStatus, I[177]); +dart.defineLazy(_http.WebSocketStatus, { + /*_http.WebSocketStatus.normalClosure*/get normalClosure() { + return 1000; + }, + /*_http.WebSocketStatus.goingAway*/get goingAway() { + return 1001; + }, + /*_http.WebSocketStatus.protocolError*/get protocolError() { + return 1002; + }, + /*_http.WebSocketStatus.unsupportedData*/get unsupportedData() { + return 1003; + }, + /*_http.WebSocketStatus.reserved1004*/get reserved1004() { + return 1004; + }, + /*_http.WebSocketStatus.noStatusReceived*/get noStatusReceived() { + return 1005; + }, + /*_http.WebSocketStatus.abnormalClosure*/get abnormalClosure() { + return 1006; + }, + /*_http.WebSocketStatus.invalidFramePayloadData*/get invalidFramePayloadData() { + return 1007; + }, + /*_http.WebSocketStatus.policyViolation*/get policyViolation() { + return 1008; + }, + /*_http.WebSocketStatus.messageTooBig*/get messageTooBig() { + return 1009; + }, + /*_http.WebSocketStatus.missingMandatoryExtension*/get missingMandatoryExtension() { + return 1010; + }, + /*_http.WebSocketStatus.internalServerError*/get internalServerError() { + return 1011; + }, + /*_http.WebSocketStatus.reserved1015*/get reserved1015() { + return 1015; + }, + /*_http.WebSocketStatus.NORMAL_CLOSURE*/get NORMAL_CLOSURE() { + return 1000; + }, + /*_http.WebSocketStatus.GOING_AWAY*/get GOING_AWAY() { + return 1001; + }, + /*_http.WebSocketStatus.PROTOCOL_ERROR*/get PROTOCOL_ERROR() { + return 1002; + }, + /*_http.WebSocketStatus.UNSUPPORTED_DATA*/get UNSUPPORTED_DATA() { + return 1003; + }, + /*_http.WebSocketStatus.RESERVED_1004*/get RESERVED_1004() { + return 1004; + }, + /*_http.WebSocketStatus.NO_STATUS_RECEIVED*/get NO_STATUS_RECEIVED() { + return 1005; + }, + /*_http.WebSocketStatus.ABNORMAL_CLOSURE*/get ABNORMAL_CLOSURE() { + return 1006; + }, + /*_http.WebSocketStatus.INVALID_FRAME_PAYLOAD_DATA*/get INVALID_FRAME_PAYLOAD_DATA() { + return 1007; + }, + /*_http.WebSocketStatus.POLICY_VIOLATION*/get POLICY_VIOLATION() { + return 1008; + }, + /*_http.WebSocketStatus.MESSAGE_TOO_BIG*/get MESSAGE_TOO_BIG() { + return 1009; + }, + /*_http.WebSocketStatus.MISSING_MANDATORY_EXTENSION*/get MISSING_MANDATORY_EXTENSION() { + return 1010; + }, + /*_http.WebSocketStatus.INTERNAL_SERVER_ERROR*/get INTERNAL_SERVER_ERROR() { + return 1011; + }, + /*_http.WebSocketStatus.RESERVED_1015*/get RESERVED_1015() { + return 1015; + } +}, false); +var clientNoContextTakeover$ = dart.privateName(_http, "CompressionOptions.clientNoContextTakeover"); +var serverNoContextTakeover$ = dart.privateName(_http, "CompressionOptions.serverNoContextTakeover"); +var clientMaxWindowBits$ = dart.privateName(_http, "CompressionOptions.clientMaxWindowBits"); +var serverMaxWindowBits$ = dart.privateName(_http, "CompressionOptions.serverMaxWindowBits"); +var enabled$ = dart.privateName(_http, "CompressionOptions.enabled"); +var _createServerResponseHeader = dart.privateName(_http, "_createServerResponseHeader"); +var _createClientRequestHeader = dart.privateName(_http, "_createClientRequestHeader"); +var _createHeader = dart.privateName(_http, "_createHeader"); +_http.CompressionOptions = class CompressionOptions extends core.Object { + get clientNoContextTakeover() { + return this[clientNoContextTakeover$]; + } + set clientNoContextTakeover(value) { + super.clientNoContextTakeover = value; + } + get serverNoContextTakeover() { + return this[serverNoContextTakeover$]; + } + set serverNoContextTakeover(value) { + super.serverNoContextTakeover = value; + } + get clientMaxWindowBits() { + return this[clientMaxWindowBits$]; + } + set clientMaxWindowBits(value) { + super.clientMaxWindowBits = value; + } + get serverMaxWindowBits() { + return this[serverMaxWindowBits$]; + } + set serverMaxWindowBits(value) { + super.serverMaxWindowBits = value; + } + get enabled() { + return this[enabled$]; + } + set enabled(value) { + super.enabled = value; + } + [_createServerResponseHeader](requested) { + let t302, t302$, t302$0; + let info = new _http._CompressionMaxWindowBits.new("", 0); + let part = (t302 = requested, t302 == null ? null : t302.parameters[$_get]("server_max_window_bits")); + if (part != null) { + if (part.length >= 2 && part[$startsWith]("0")) { + dart.throw(new core.ArgumentError.new("Illegal 0 padding on value.")); + } else { + let mwb = (t302$0 = (t302$ = this.serverMaxWindowBits, t302$ == null ? core.int.tryParse(part) : t302$), t302$0 == null ? 15 : t302$0); + info.headerValue = "; server_max_window_bits=" + dart.str(mwb); + info.maxWindowBits = mwb; + } + } else { + info.headerValue = ""; + info.maxWindowBits = 15; + } + return info; + } + [_createClientRequestHeader](requested, size) { + if (size == null) dart.nullFailed(I[185], 156, 65, "size"); + let info = ""; + if (requested != null) { + info = "; client_max_window_bits=" + dart.str(size); + } else { + if (this.clientMaxWindowBits == null) { + info = "; client_max_window_bits"; + } else { + info = "; client_max_window_bits=" + dart.str(this.clientMaxWindowBits); + } + if (this.serverMaxWindowBits != null) { + info = info + ("; server_max_window_bits=" + dart.str(this.serverMaxWindowBits)); + } + } + return info; + } + [_createHeader](requested = null) { + let t302, t302$, t302$0, t302$1; + let info = new _http._CompressionMaxWindowBits.new("", 0); + if (!dart.test(this.enabled)) { + return info; + } + info.headerValue = "permessage-deflate"; + if (dart.test(this.clientNoContextTakeover) && (requested == null || requested != null && dart.test(requested.parameters[$containsKey]("client_no_context_takeover")))) { + t302 = info; + t302.headerValue = dart.notNull(t302.headerValue) + "; client_no_context_takeover"; + } + if (dart.test(this.serverNoContextTakeover) && (requested == null || requested != null && dart.test(requested.parameters[$containsKey]("server_no_context_takeover")))) { + t302$ = info; + t302$.headerValue = dart.notNull(t302$.headerValue) + "; server_no_context_takeover"; + } + let headerList = this[_createServerResponseHeader](requested); + t302$0 = info; + t302$0.headerValue = dart.notNull(t302$0.headerValue) + dart.notNull(headerList.headerValue); + info.maxWindowBits = headerList.maxWindowBits; + t302$1 = info; + t302$1.headerValue = dart.notNull(t302$1.headerValue) + dart.notNull(this[_createClientRequestHeader](requested, info.maxWindowBits)); + return info; + } +}; +(_http.CompressionOptions.new = function(opts) { + let clientNoContextTakeover = opts && 'clientNoContextTakeover' in opts ? opts.clientNoContextTakeover : false; + if (clientNoContextTakeover == null) dart.nullFailed(I[185], 120, 13, "clientNoContextTakeover"); + let serverNoContextTakeover = opts && 'serverNoContextTakeover' in opts ? opts.serverNoContextTakeover : false; + if (serverNoContextTakeover == null) dart.nullFailed(I[185], 121, 12, "serverNoContextTakeover"); + let clientMaxWindowBits = opts && 'clientMaxWindowBits' in opts ? opts.clientMaxWindowBits : null; + let serverMaxWindowBits = opts && 'serverMaxWindowBits' in opts ? opts.serverMaxWindowBits : null; + let enabled = opts && 'enabled' in opts ? opts.enabled : true; + if (enabled == null) dart.nullFailed(I[185], 124, 12, "enabled"); + this[clientNoContextTakeover$] = clientNoContextTakeover; + this[serverNoContextTakeover$] = serverNoContextTakeover; + this[clientMaxWindowBits$] = clientMaxWindowBits; + this[serverMaxWindowBits$] = serverMaxWindowBits; + this[enabled$] = enabled; + ; +}).prototype = _http.CompressionOptions.prototype; +dart.addTypeTests(_http.CompressionOptions); +dart.addTypeCaches(_http.CompressionOptions); +dart.setMethodSignature(_http.CompressionOptions, () => ({ + __proto__: dart.getMethods(_http.CompressionOptions.__proto__), + [_createServerResponseHeader]: dart.fnType(_http._CompressionMaxWindowBits, [dart.nullable(_http.HeaderValue)]), + [_createClientRequestHeader]: dart.fnType(core.String, [dart.nullable(_http.HeaderValue), core.int]), + [_createHeader]: dart.fnType(_http._CompressionMaxWindowBits, [], [dart.nullable(_http.HeaderValue)]) +})); +dart.setLibraryUri(_http.CompressionOptions, I[177]); +dart.setFieldSignature(_http.CompressionOptions, () => ({ + __proto__: dart.getFields(_http.CompressionOptions.__proto__), + clientNoContextTakeover: dart.finalFieldType(core.bool), + serverNoContextTakeover: dart.finalFieldType(core.bool), + clientMaxWindowBits: dart.finalFieldType(dart.nullable(core.int)), + serverMaxWindowBits: dart.finalFieldType(dart.nullable(core.int)), + enabled: dart.finalFieldType(core.bool) +})); +dart.defineLazy(_http.CompressionOptions, { + /*_http.CompressionOptions.compressionDefault*/get compressionDefault() { + return C[486] || CT.C486; + }, + /*_http.CompressionOptions.DEFAULT*/get DEFAULT() { + return C[486] || CT.C486; + }, + /*_http.CompressionOptions.compressionOff*/get compressionOff() { + return C[487] || CT.C487; + }, + /*_http.CompressionOptions.OFF*/get OFF() { + return C[487] || CT.C487; + } +}, false); +_http.WebSocketTransformer = class WebSocketTransformer extends core.Object { + static new(opts) { + let protocolSelector = opts && 'protocolSelector' in opts ? opts.protocolSelector : null; + let compression = opts && 'compression' in opts ? opts.compression : C[486] || CT.C486; + if (compression == null) dart.nullFailed(I[185], 265, 26, "compression"); + return new _http._WebSocketTransformerImpl.new(protocolSelector, compression); + } + static upgrade(request, opts) { + if (request == null) dart.nullFailed(I[185], 286, 48, "request"); + let protocolSelector = opts && 'protocolSelector' in opts ? opts.protocolSelector : null; + let compression = opts && 'compression' in opts ? opts.compression : C[486] || CT.C486; + if (compression == null) dart.nullFailed(I[185], 288, 26, "compression"); + return _http._WebSocketTransformerImpl._upgrade(request, protocolSelector, compression); + } + static isUpgradeRequest(request) { + if (request == null) dart.nullFailed(I[185], 296, 44, "request"); + return _http._WebSocketTransformerImpl._isUpgradeRequest(request); + } +}; +(_http.WebSocketTransformer[dart.mixinNew] = function() { +}).prototype = _http.WebSocketTransformer.prototype; +dart.addTypeTests(_http.WebSocketTransformer); +dart.addTypeCaches(_http.WebSocketTransformer); +_http.WebSocketTransformer[dart.implements] = () => [async.StreamTransformer$(_http.HttpRequest, _http.WebSocket)]; +dart.setLibraryUri(_http.WebSocketTransformer, I[177]); +var pingInterval = dart.privateName(_http, "WebSocket.pingInterval"); +_http.WebSocket = class WebSocket extends core.Object { + get pingInterval() { + return this[pingInterval]; + } + set pingInterval(value) { + this[pingInterval] = value; + } + static connect(url, opts) { + if (url == null) dart.nullFailed(I[185], 374, 43, "url"); + let protocols = opts && 'protocols' in opts ? opts.protocols : null; + let headers = opts && 'headers' in opts ? opts.headers : null; + let compression = opts && 'compression' in opts ? opts.compression : C[486] || CT.C486; + if (compression == null) dart.nullFailed(I[185], 377, 30, "compression"); + return _http._WebSocketImpl.connect(url, protocols, headers, {compression: compression}); + } + static fromUpgradedSocket(socket, opts) { + if (socket == null) dart.nullFailed(I[185], 404, 47, "socket"); + let protocol = opts && 'protocol' in opts ? opts.protocol : null; + let serverSide = opts && 'serverSide' in opts ? opts.serverSide : null; + let compression = opts && 'compression' in opts ? opts.compression : C[486] || CT.C486; + if (compression == null) dart.nullFailed(I[185], 407, 26, "compression"); + if (serverSide == null) { + dart.throw(new core.ArgumentError.new("The serverSide argument must be passed " + "explicitly to WebSocket.fromUpgradedSocket.")); + } + return new _http._WebSocketImpl._fromSocket(socket, protocol, compression, serverSide); + } + static get userAgent() { + return _http._WebSocketImpl.userAgent; + } + static set userAgent(userAgent) { + _http._WebSocketImpl.userAgent = userAgent; + } +}; +(_http.WebSocket.new = function() { + this[pingInterval] = null; + ; +}).prototype = _http.WebSocket.prototype; +_http.WebSocket.prototype[dart.isStream] = true; +dart.addTypeTests(_http.WebSocket); +dart.addTypeCaches(_http.WebSocket); +_http.WebSocket[dart.implements] = () => [async.Stream, async.StreamSink]; +dart.setLibraryUri(_http.WebSocket, I[177]); +dart.setFieldSignature(_http.WebSocket, () => ({ + __proto__: dart.getFields(_http.WebSocket.__proto__), + pingInterval: dart.fieldType(dart.nullable(core.Duration)) +})); +dart.defineLazy(_http.WebSocket, { + /*_http.WebSocket.connecting*/get connecting() { + return 0; + }, + /*_http.WebSocket.open*/get open() { + return 1; + }, + /*_http.WebSocket.closing*/get closing() { + return 2; + }, + /*_http.WebSocket.closed*/get closed() { + return 3; + }, + /*_http.WebSocket.CONNECTING*/get CONNECTING() { + return 0; + }, + /*_http.WebSocket.OPEN*/get OPEN() { + return 1; + }, + /*_http.WebSocket.CLOSING*/get CLOSING() { + return 2; + }, + /*_http.WebSocket.CLOSED*/get CLOSED() { + return 3; + } +}, false); +var message$19 = dart.privateName(_http, "WebSocketException.message"); +_http.WebSocketException = class WebSocketException extends core.Object { + get message() { + return this[message$19]; + } + set message(value) { + super.message = value; + } + toString() { + return "WebSocketException: " + dart.str(this.message); + } +}; +(_http.WebSocketException.new = function(message = "") { + if (message == null) dart.nullFailed(I[185], 493, 34, "message"); + this[message$19] = message; + ; +}).prototype = _http.WebSocketException.prototype; +dart.addTypeTests(_http.WebSocketException); +dart.addTypeCaches(_http.WebSocketException); +_http.WebSocketException[dart.implements] = () => [io.IOException]; +dart.setLibraryUri(_http.WebSocketException, I[177]); +dart.setFieldSignature(_http.WebSocketException, () => ({ + __proto__: dart.getFields(_http.WebSocketException.__proto__), + message: dart.finalFieldType(core.String) +})); +dart.defineExtensionMethods(_http.WebSocketException, ['toString']); +_http._WebSocketMessageType = class _WebSocketMessageType extends core.Object {}; +(_http._WebSocketMessageType.new = function() { + ; +}).prototype = _http._WebSocketMessageType.prototype; +dart.addTypeTests(_http._WebSocketMessageType); +dart.addTypeCaches(_http._WebSocketMessageType); +dart.setLibraryUri(_http._WebSocketMessageType, I[177]); +dart.defineLazy(_http._WebSocketMessageType, { + /*_http._WebSocketMessageType.NONE*/get NONE() { + return 0; + }, + /*_http._WebSocketMessageType.TEXT*/get TEXT() { + return 1; + }, + /*_http._WebSocketMessageType.BINARY*/get BINARY() { + return 2; + } +}, false); +_http._WebSocketOpcode = class _WebSocketOpcode extends core.Object {}; +(_http._WebSocketOpcode.new = function() { + ; +}).prototype = _http._WebSocketOpcode.prototype; +dart.addTypeTests(_http._WebSocketOpcode); +dart.addTypeCaches(_http._WebSocketOpcode); +dart.setLibraryUri(_http._WebSocketOpcode, I[177]); +dart.defineLazy(_http._WebSocketOpcode, { + /*_http._WebSocketOpcode.CONTINUATION*/get CONTINUATION() { + return 0; + }, + /*_http._WebSocketOpcode.TEXT*/get TEXT() { + return 1; + }, + /*_http._WebSocketOpcode.BINARY*/get BINARY() { + return 2; + }, + /*_http._WebSocketOpcode.RESERVED_3*/get RESERVED_3() { + return 3; + }, + /*_http._WebSocketOpcode.RESERVED_4*/get RESERVED_4() { + return 4; + }, + /*_http._WebSocketOpcode.RESERVED_5*/get RESERVED_5() { + return 5; + }, + /*_http._WebSocketOpcode.RESERVED_6*/get RESERVED_6() { + return 6; + }, + /*_http._WebSocketOpcode.RESERVED_7*/get RESERVED_7() { + return 7; + }, + /*_http._WebSocketOpcode.CLOSE*/get CLOSE() { + return 8; + }, + /*_http._WebSocketOpcode.PING*/get PING() { + return 9; + }, + /*_http._WebSocketOpcode.PONG*/get PONG() { + return 10; + }, + /*_http._WebSocketOpcode.RESERVED_B*/get RESERVED_B() { + return 11; + }, + /*_http._WebSocketOpcode.RESERVED_C*/get RESERVED_C() { + return 12; + }, + /*_http._WebSocketOpcode.RESERVED_D*/get RESERVED_D() { + return 13; + }, + /*_http._WebSocketOpcode.RESERVED_E*/get RESERVED_E() { + return 14; + }, + /*_http._WebSocketOpcode.RESERVED_F*/get RESERVED_F() { + return 15; + } +}, false); +_http._EncodedString = class _EncodedString extends core.Object {}; +(_http._EncodedString.new = function(bytes) { + if (bytes == null) dart.nullFailed(I[186], 41, 23, "bytes"); + this.bytes = bytes; + ; +}).prototype = _http._EncodedString.prototype; +dart.addTypeTests(_http._EncodedString); +dart.addTypeCaches(_http._EncodedString); +dart.setLibraryUri(_http._EncodedString, I[177]); +dart.setFieldSignature(_http._EncodedString, () => ({ + __proto__: dart.getFields(_http._EncodedString.__proto__), + bytes: dart.finalFieldType(core.List$(core.int)) +})); +_http._CompressionMaxWindowBits = class _CompressionMaxWindowBits extends core.Object { + toString() { + return this.headerValue; + } +}; +(_http._CompressionMaxWindowBits.new = function(headerValue, maxWindowBits) { + if (headerValue == null) dart.nullFailed(I[186], 52, 34, "headerValue"); + if (maxWindowBits == null) dart.nullFailed(I[186], 52, 52, "maxWindowBits"); + this.headerValue = headerValue; + this.maxWindowBits = maxWindowBits; + ; +}).prototype = _http._CompressionMaxWindowBits.prototype; +dart.addTypeTests(_http._CompressionMaxWindowBits); +dart.addTypeCaches(_http._CompressionMaxWindowBits); +dart.setLibraryUri(_http._CompressionMaxWindowBits, I[177]); +dart.setFieldSignature(_http._CompressionMaxWindowBits, () => ({ + __proto__: dart.getFields(_http._CompressionMaxWindowBits.__proto__), + headerValue: dart.fieldType(core.String), + maxWindowBits: dart.fieldType(core.int) +})); +dart.defineExtensionMethods(_http._CompressionMaxWindowBits, ['toString']); +var _fin = dart.privateName(_http, "_fin"); +var _compressed = dart.privateName(_http, "_compressed"); +var _opcode = dart.privateName(_http, "_opcode"); +var _len = dart.privateName(_http, "_len"); +var _masked = dart.privateName(_http, "_masked"); +var _remainingLenBytes = dart.privateName(_http, "_remainingLenBytes"); +var _remainingMaskingKeyBytes = dart.privateName(_http, "_remainingMaskingKeyBytes"); +var _remainingPayloadBytes = dart.privateName(_http, "_remainingPayloadBytes"); +var _unmaskingIndex = dart.privateName(_http, "_unmaskingIndex"); +var _currentMessageType = dart.privateName(_http, "_currentMessageType"); +var _eventSink$ = dart.privateName(_http, "_eventSink"); +var _maskingBytes = dart.privateName(_http, "_maskingBytes"); +var _payload = dart.privateName(_http, "_payload"); +var _serverSide$ = dart.privateName(_http, "_serverSide"); +var _deflate$ = dart.privateName(_http, "_deflate"); +var _isControlFrame = dart.privateName(_http, "_isControlFrame"); +var _lengthDone = dart.privateName(_http, "_lengthDone"); +var _maskDone = dart.privateName(_http, "_maskDone"); +var _unmask = dart.privateName(_http, "_unmask"); +var _controlFrameEnd = dart.privateName(_http, "_controlFrameEnd"); +var _messageFrameEnd = dart.privateName(_http, "_messageFrameEnd"); +var _startPayload = dart.privateName(_http, "_startPayload"); +var _prepareForNextFrame = dart.privateName(_http, "_prepareForNextFrame"); +_http._WebSocketProtocolTransformer = class _WebSocketProtocolTransformer extends async.StreamTransformerBase$(core.List$(core.int), dart.dynamic) { + bind(stream) { + T$0.StreamOfListOfint().as(stream); + if (stream == null) dart.nullFailed(I[186], 105, 25, "stream"); + return async.Stream.eventTransformed(stream, dart.fn(eventSink => { + if (eventSink == null) dart.nullFailed(I[186], 106, 59, "eventSink"); + if (this[_eventSink$] != null) { + dart.throw(new core.StateError.new("WebSocket transformer already used.")); + } + this[_eventSink$] = eventSink; + return this; + }, T.EventSinkTo_WebSocketProtocolTransformer())); + } + addError(error, stackTrace = null) { + if (error == null) dart.nullFailed(I[186], 115, 24, "error"); + core.ArgumentError.checkNotNull(core.Object, error, "error"); + dart.nullCheck(this[_eventSink$]).addError(error, stackTrace); + } + close() { + dart.nullCheck(this[_eventSink$]).close(); + } + add(bytes) { + let t302; + T$0.ListOfint().as(bytes); + if (bytes == null) dart.nullFailed(I[186], 128, 22, "bytes"); + let buffer = typed_data.Uint8List.is(bytes) ? bytes : _native_typed_data.NativeUint8List.fromList(bytes); + let index = 0; + let lastIndex = buffer[$length]; + if (this[_state$1] === 5) { + dart.throw(new _http.WebSocketException.new("Data on closed connection")); + } + if (this[_state$1] === 6) { + dart.throw(new _http.WebSocketException.new("Data on failed connection")); + } + while (index < dart.notNull(lastIndex) && this[_state$1] !== 5 && this[_state$1] !== 6) { + let byte = buffer[$_get](index); + if (dart.notNull(this[_state$1]) <= 2) { + if (this[_state$1] === 0) { + this[_fin] = (dart.notNull(byte) & 128) !== 0; + if ((dart.notNull(byte) & (32 | 16) >>> 0) !== 0) { + dart.throw(new _http.WebSocketException.new("Protocol error")); + } + this[_opcode] = (dart.notNull(byte) & 15) >>> 0; + if (this[_opcode] !== 0) { + if ((dart.notNull(byte) & 64) !== 0) { + this[_compressed] = true; + } else { + this[_compressed] = false; + } + } + if (dart.notNull(this[_opcode]) <= 2) { + if (this[_opcode] === 0) { + if (this[_currentMessageType] === 0) { + dart.throw(new _http.WebSocketException.new("Protocol error")); + } + } else { + if (!(this[_opcode] === 1 || this[_opcode] === 2)) dart.assertFailed(null, I[186], 165, 22, "_opcode == _WebSocketOpcode.TEXT ||\n _opcode == _WebSocketOpcode.BINARY"); + if (this[_currentMessageType] !== 0) { + dart.throw(new _http.WebSocketException.new("Protocol error")); + } + this[_currentMessageType] = this[_opcode]; + } + } else if (dart.notNull(this[_opcode]) >= 8 && dart.notNull(this[_opcode]) <= 10) { + if (!dart.test(this[_fin])) dart.throw(new _http.WebSocketException.new("Protocol error")); + } else { + dart.throw(new _http.WebSocketException.new("Protocol error")); + } + this[_state$1] = 1; + } else if (this[_state$1] === 1) { + this[_masked] = (dart.notNull(byte) & 128) !== 0; + this[_len] = dart.notNull(byte) & 127; + if (dart.test(this[_isControlFrame]()) && dart.notNull(this[_len]) > 125) { + dart.throw(new _http.WebSocketException.new("Protocol error")); + } + if (this[_len] === 126) { + this[_len] = 0; + this[_remainingLenBytes] = 2; + this[_state$1] = 2; + } else if (this[_len] === 127) { + this[_len] = 0; + this[_remainingLenBytes] = 8; + this[_state$1] = 2; + } else { + if (!(dart.notNull(this[_len]) < 126)) dart.assertFailed(null, I[186], 195, 20, "_len < 126"); + this[_lengthDone](); + } + } else { + if (!(this[_state$1] === 2)) dart.assertFailed(null, I[186], 199, 18, "_state == LEN_REST"); + this[_len] = (dart.notNull(this[_len]) << 8 | dart.notNull(byte)) >>> 0; + this[_remainingLenBytes] = dart.notNull(this[_remainingLenBytes]) - 1; + if (this[_remainingLenBytes] === 0) { + this[_lengthDone](); + } + } + } else { + if (this[_state$1] === 3) { + this[_maskingBytes][$_set](4 - dart.notNull((t302 = this[_remainingMaskingKeyBytes], this[_remainingMaskingKeyBytes] = dart.notNull(t302) - 1, t302)), byte); + if (this[_remainingMaskingKeyBytes] === 0) { + this[_maskDone](); + } + } else { + if (!(this[_state$1] === 4)) dart.assertFailed(null, I[186], 213, 18, "_state == PAYLOAD"); + let payloadLength = math.min(core.int, dart.notNull(lastIndex) - index, this[_remainingPayloadBytes]); + this[_remainingPayloadBytes] = dart.notNull(this[_remainingPayloadBytes]) - payloadLength; + if (dart.test(this[_masked])) { + this[_unmask](index, payloadLength, buffer); + } + this[_payload].add(typed_data.Uint8List.view(buffer[$buffer], dart.notNull(buffer[$offsetInBytes]) + index, payloadLength)); + index = index + payloadLength; + if (dart.test(this[_isControlFrame]())) { + if (this[_remainingPayloadBytes] === 0) this[_controlFrameEnd](); + } else { + if (this[_currentMessageType] !== 1 && this[_currentMessageType] !== 2) { + dart.throw(new _http.WebSocketException.new("Protocol error")); + } + if (this[_remainingPayloadBytes] === 0) this[_messageFrameEnd](); + } + index = index - 1; + } + } + index = index + 1; + } + } + [_unmask](index, length, buffer) { + let t304, t303, t302, t303$, t302$, t304$, t303$0, t302$0; + if (index == null) dart.nullFailed(I[186], 245, 20, "index"); + if (length == null) dart.nullFailed(I[186], 245, 31, "length"); + if (buffer == null) dart.nullFailed(I[186], 245, 49, "buffer"); + if (dart.notNull(length) >= 16) { + let startOffset = 16 - (dart.notNull(index) & 15); + let end = dart.notNull(index) + startOffset; + for (let i = index; dart.notNull(i) < end; i = dart.notNull(i) + 1) { + t302 = buffer; + t303 = i; + t302[$_set](t303, (dart.notNull(t302[$_get](t303)) ^ dart.notNull(this[_maskingBytes][$_get](dart.notNull((t304 = this[_unmaskingIndex], this[_unmaskingIndex] = dart.notNull(t304) + 1, t304)) & 3))) >>> 0); + } + index = dart.notNull(index) + startOffset; + length = dart.notNull(length) - startOffset; + let blockCount = (dart.notNull(length) / 16)[$truncate](); + if (blockCount > 0) { + let mask = 0; + for (let i = 3; i >= 0; i = i - 1) { + mask = (mask << 8 | dart.notNull(this[_maskingBytes][$_get](dart.notNull(this[_unmaskingIndex]) + i & 3))) >>> 0; + } + let blockMask = new _native_typed_data.NativeInt32x4.new(mask, mask, mask, mask); + let blockBuffer = typed_data.Int32x4List.view(buffer[$buffer], dart.notNull(buffer[$offsetInBytes]) + dart.notNull(index), blockCount); + for (let i = 0; i < dart.notNull(blockBuffer[$length]); i = i + 1) { + t302$ = blockBuffer; + t303$ = i; + t302$[$_set](t303$, t302$[$_get](t303$)['^'](blockMask)); + } + let bytes = blockCount * 16; + index = dart.notNull(index) + bytes; + length = dart.notNull(length) - bytes; + } + } + let end = dart.notNull(index) + dart.notNull(length); + for (let i = index; dart.notNull(i) < end; i = dart.notNull(i) + 1) { + t302$0 = buffer; + t303$0 = i; + t302$0[$_set](t303$0, (dart.notNull(t302$0[$_get](t303$0)) ^ dart.notNull(this[_maskingBytes][$_get](dart.notNull((t304$ = this[_unmaskingIndex], this[_unmaskingIndex] = dart.notNull(t304$) + 1, t304$)) & 3))) >>> 0); + } + } + [_lengthDone]() { + if (dart.test(this[_masked])) { + if (!dart.test(this[_serverSide$])) { + dart.throw(new _http.WebSocketException.new("Received masked frame from server")); + } + this[_state$1] = 3; + } else { + if (dart.test(this[_serverSide$])) { + dart.throw(new _http.WebSocketException.new("Received unmasked frame from client")); + } + this[_remainingPayloadBytes] = this[_len]; + this[_startPayload](); + } + } + [_maskDone]() { + this[_remainingPayloadBytes] = this[_len]; + this[_startPayload](); + } + [_startPayload]() { + if (this[_remainingPayloadBytes] === 0) { + if (dart.test(this[_isControlFrame]())) { + switch (this[_opcode]) { + case 8: + { + this[_state$1] = 5; + dart.nullCheck(this[_eventSink$]).close(); + break; + } + case 9: + { + dart.nullCheck(this[_eventSink$]).add(new _http._WebSocketPing.new()); + break; + } + case 10: + { + dart.nullCheck(this[_eventSink$]).add(new _http._WebSocketPong.new()); + break; + } + } + this[_prepareForNextFrame](); + } else { + this[_messageFrameEnd](); + } + } else { + this[_state$1] = 4; + } + } + [_messageFrameEnd]() { + if (dart.test(this[_fin])) { + let bytes = this[_payload].takeBytes(); + let deflate = this[_deflate$]; + if (deflate != null && dart.test(this[_compressed])) { + bytes = deflate.processIncomingMessage(bytes); + } + switch (this[_currentMessageType]) { + case 1: + { + dart.nullCheck(this[_eventSink$]).add(convert.utf8.decode(bytes)); + break; + } + case 2: + { + dart.nullCheck(this[_eventSink$]).add(bytes); + break; + } + } + this[_currentMessageType] = 0; + } + this[_prepareForNextFrame](); + } + [_controlFrameEnd]() { + switch (this[_opcode]) { + case 8: + { + this.closeCode = 1005; + let payload = this[_payload].takeBytes(); + if (dart.notNull(payload[$length]) > 0) { + if (payload[$length] === 1) { + dart.throw(new _http.WebSocketException.new("Protocol error")); + } + this.closeCode = (dart.notNull(payload[$_get](0)) << 8 | dart.notNull(payload[$_get](1))) >>> 0; + if (this.closeCode === 1005) { + dart.throw(new _http.WebSocketException.new("Protocol error")); + } + if (dart.notNull(payload[$length]) > 2) { + this.closeReason = convert.utf8.decode(payload[$sublist](2)); + } + } + this[_state$1] = 5; + dart.nullCheck(this[_eventSink$]).close(); + break; + } + case 9: + { + dart.nullCheck(this[_eventSink$]).add(new _http._WebSocketPing.new(this[_payload].takeBytes())); + break; + } + case 10: + { + dart.nullCheck(this[_eventSink$]).add(new _http._WebSocketPong.new(this[_payload].takeBytes())); + break; + } + } + this[_prepareForNextFrame](); + } + [_isControlFrame]() { + return this[_opcode] === 8 || this[_opcode] === 9 || this[_opcode] === 10; + } + [_prepareForNextFrame]() { + if (this[_state$1] !== 5 && this[_state$1] !== 6) this[_state$1] = 0; + this[_fin] = false; + this[_opcode] = -1; + this[_len] = -1; + this[_remainingLenBytes] = -1; + this[_remainingMaskingKeyBytes] = 4; + this[_remainingPayloadBytes] = -1; + this[_unmaskingIndex] = 0; + } +}; +(_http._WebSocketProtocolTransformer.new = function(_serverSide = false, _deflate = null) { + if (_serverSide == null) dart.nullFailed(I[186], 102, 39, "_serverSide"); + this[_state$1] = 0; + this[_fin] = false; + this[_compressed] = false; + this[_opcode] = -1; + this[_len] = -1; + this[_masked] = false; + this[_remainingLenBytes] = -1; + this[_remainingMaskingKeyBytes] = 4; + this[_remainingPayloadBytes] = -1; + this[_unmaskingIndex] = 0; + this[_currentMessageType] = 0; + this.closeCode = 1005; + this.closeReason = ""; + this[_eventSink$] = null; + this[_maskingBytes] = _native_typed_data.NativeUint8List.new(4); + this[_payload] = _internal.BytesBuilder.new({copy: false}); + this[_serverSide$] = _serverSide; + this[_deflate$] = _deflate; + _http._WebSocketProtocolTransformer.__proto__.new.call(this); + ; +}).prototype = _http._WebSocketProtocolTransformer.prototype; +dart.addTypeTests(_http._WebSocketProtocolTransformer); +dart.addTypeCaches(_http._WebSocketProtocolTransformer); +_http._WebSocketProtocolTransformer[dart.implements] = () => [async.EventSink$(core.List$(core.int))]; +dart.setMethodSignature(_http._WebSocketProtocolTransformer, () => ({ + __proto__: dart.getMethods(_http._WebSocketProtocolTransformer.__proto__), + bind: dart.fnType(async.Stream, [dart.nullable(core.Object)]), + addError: dart.fnType(dart.void, [core.Object], [dart.nullable(core.StackTrace)]), + close: dart.fnType(dart.void, []), + add: dart.fnType(dart.void, [dart.nullable(core.Object)]), + [_unmask]: dart.fnType(dart.void, [core.int, core.int, typed_data.Uint8List]), + [_lengthDone]: dart.fnType(dart.void, []), + [_maskDone]: dart.fnType(dart.void, []), + [_startPayload]: dart.fnType(dart.void, []), + [_messageFrameEnd]: dart.fnType(dart.void, []), + [_controlFrameEnd]: dart.fnType(dart.void, []), + [_isControlFrame]: dart.fnType(core.bool, []), + [_prepareForNextFrame]: dart.fnType(dart.void, []) +})); +dart.setLibraryUri(_http._WebSocketProtocolTransformer, I[177]); +dart.setFieldSignature(_http._WebSocketProtocolTransformer, () => ({ + __proto__: dart.getFields(_http._WebSocketProtocolTransformer.__proto__), + [_state$1]: dart.fieldType(core.int), + [_fin]: dart.fieldType(core.bool), + [_compressed]: dart.fieldType(core.bool), + [_opcode]: dart.fieldType(core.int), + [_len]: dart.fieldType(core.int), + [_masked]: dart.fieldType(core.bool), + [_remainingLenBytes]: dart.fieldType(core.int), + [_remainingMaskingKeyBytes]: dart.fieldType(core.int), + [_remainingPayloadBytes]: dart.fieldType(core.int), + [_unmaskingIndex]: dart.fieldType(core.int), + [_currentMessageType]: dart.fieldType(core.int), + closeCode: dart.fieldType(core.int), + closeReason: dart.fieldType(core.String), + [_eventSink$]: dart.fieldType(dart.nullable(async.EventSink)), + [_serverSide$]: dart.finalFieldType(core.bool), + [_maskingBytes]: dart.finalFieldType(typed_data.Uint8List), + [_payload]: dart.finalFieldType(_internal.BytesBuilder), + [_deflate$]: dart.fieldType(dart.nullable(_http._WebSocketPerMessageDeflate)) +})); +dart.defineLazy(_http._WebSocketProtocolTransformer, { + /*_http._WebSocketProtocolTransformer.START*/get START() { + return 0; + }, + /*_http._WebSocketProtocolTransformer.LEN_FIRST*/get LEN_FIRST() { + return 1; + }, + /*_http._WebSocketProtocolTransformer.LEN_REST*/get LEN_REST() { + return 2; + }, + /*_http._WebSocketProtocolTransformer.MASK*/get MASK() { + return 3; + }, + /*_http._WebSocketProtocolTransformer.PAYLOAD*/get PAYLOAD() { + return 4; + }, + /*_http._WebSocketProtocolTransformer.CLOSED*/get CLOSED() { + return 5; + }, + /*_http._WebSocketProtocolTransformer.FAILURE*/get FAILURE() { + return 6; + }, + /*_http._WebSocketProtocolTransformer.FIN*/get FIN() { + return 128; + }, + /*_http._WebSocketProtocolTransformer.RSV1*/get RSV1() { + return 64; + }, + /*_http._WebSocketProtocolTransformer.RSV2*/get RSV2() { + return 32; + }, + /*_http._WebSocketProtocolTransformer.RSV3*/get RSV3() { + return 16; + }, + /*_http._WebSocketProtocolTransformer.OPCODE*/get OPCODE() { + return 15; + } +}, false); +_http._WebSocketPing = class _WebSocketPing extends core.Object {}; +(_http._WebSocketPing.new = function(payload = null) { + this.payload = payload; + ; +}).prototype = _http._WebSocketPing.prototype; +dart.addTypeTests(_http._WebSocketPing); +dart.addTypeCaches(_http._WebSocketPing); +dart.setLibraryUri(_http._WebSocketPing, I[177]); +dart.setFieldSignature(_http._WebSocketPing, () => ({ + __proto__: dart.getFields(_http._WebSocketPing.__proto__), + payload: dart.finalFieldType(dart.nullable(core.List$(core.int))) +})); +_http._WebSocketPong = class _WebSocketPong extends core.Object {}; +(_http._WebSocketPong.new = function(payload = null) { + this.payload = payload; + ; +}).prototype = _http._WebSocketPong.prototype; +dart.addTypeTests(_http._WebSocketPong); +dart.addTypeCaches(_http._WebSocketPong); +dart.setLibraryUri(_http._WebSocketPong, I[177]); +dart.setFieldSignature(_http._WebSocketPong, () => ({ + __proto__: dart.getFields(_http._WebSocketPong.__proto__), + payload: dart.finalFieldType(dart.nullable(core.List$(core.int))) +})); +var _protocolSelector$ = dart.privateName(_http, "_protocolSelector"); +var _compression$ = dart.privateName(_http, "_compression"); +_http._WebSocketTransformerImpl = class _WebSocketTransformerImpl extends async.StreamTransformerBase$(_http.HttpRequest, _http.WebSocket) { + bind(stream) { + T.StreamOfHttpRequest().as(stream); + if (stream == null) dart.nullFailed(I[186], 421, 46, "stream"); + stream.listen(dart.fn(request => { + if (request == null) dart.nullFailed(I[186], 422, 20, "request"); + _http._WebSocketTransformerImpl._upgrade(request, this[_protocolSelector$], this[_compression$]).then(dart.void, dart.fn(webSocket => { + if (webSocket == null) dart.nullFailed(I[186], 424, 28, "webSocket"); + return this[_controller$0].add(webSocket); + }, T.WebSocketTovoid())).catchError(dart.bind(this[_controller$0], 'addError')); + }, T.HttpRequestTovoid()), {onDone: dart.fn(() => { + this[_controller$0].close(); + }, T$.VoidTovoid())}); + return this[_controller$0].stream; + } + static _tokenizeFieldValue(headerValue) { + if (headerValue == null) dart.nullFailed(I[186], 433, 50, "headerValue"); + let tokens = T$.JSArrayOfString().of([]); + let start = 0; + let index = 0; + while (index < headerValue.length) { + if (headerValue[$_get](index) === ",") { + tokens[$add](headerValue[$substring](start, index)); + start = index + 1; + } else if (headerValue[$_get](index) === " " || headerValue[$_get](index) === "\t") { + start = start + 1; + } + index = index + 1; + } + tokens[$add](headerValue[$substring](start, index)); + return tokens; + } + static _upgrade(request, protocolSelector, compression) { + let t302; + if (request == null) dart.nullFailed(I[186], 450, 49, "request"); + if (compression == null) dart.nullFailed(I[186], 451, 63, "compression"); + let response = request.response; + if (!dart.test(_http._WebSocketTransformerImpl._isUpgradeRequest(request))) { + t302 = response; + (() => { + t302.statusCode = 400; + t302.close(); + return t302; + })(); + return T.FutureOfWebSocket().error(new _http.WebSocketException.new("Invalid WebSocket upgrade request")); + } + function upgrade(protocol) { + let t302; + t302 = response; + (() => { + t302.statusCode = 101; + t302.headers.add("connection", "Upgrade"); + t302.headers.add("upgrade", "websocket"); + return t302; + })(); + let key = dart.nullCheck(request.headers.value("Sec-WebSocket-Key")); + let sha1 = new _http._SHA1.new(); + sha1.add((key + dart.str(_http._webSocketGUID))[$codeUnits]); + let accept = _http._CryptoUtils.bytesToBase64(sha1.close()); + response.headers.add("Sec-WebSocket-Accept", accept); + if (protocol != null) { + response.headers.add("Sec-WebSocket-Protocol", protocol); + } + let deflate = _http._WebSocketTransformerImpl._negotiateCompression(request, response, compression); + response.headers.contentLength = 0; + return response.detachSocket().then(_http.WebSocket, dart.fn(socket => { + if (socket == null) dart.nullFailed(I[186], 480, 55, "socket"); + return new _http._WebSocketImpl._fromSocket(socket, protocol, compression, true, deflate); + }, T.SocketTo_WebSocketImpl())); + } + dart.fn(upgrade, T.StringNToFutureOfWebSocket()); + let protocols = request.headers._get("Sec-WebSocket-Protocol"); + if (protocols != null && protocolSelector != null) { + let tokenizedProtocols = _http._WebSocketTransformerImpl._tokenizeFieldValue(protocols[$join](", ")); + return T$0.FutureOfString().new(dart.fn(() => T$0.FutureOrOfString().as(protocolSelector(tokenizedProtocols)), T.VoidToFutureOrOfString())).then(core.String, dart.fn(protocol => { + if (protocol == null) dart.nullFailed(I[186], 492, 26, "protocol"); + if (dart.notNull(tokenizedProtocols[$indexOf](protocol)) < 0) { + dart.throw(new _http.WebSocketException.new("Selected protocol is not in the list of available protocols")); + } + return protocol; + }, T$.StringToString())).catchError(dart.fn(error => { + let t302; + t302 = response; + (() => { + t302.statusCode = 500; + t302.close(); + return t302; + })(); + dart.throw(error); + }, T$0.dynamicToNever())).then(_http.WebSocket, upgrade); + } else { + return upgrade(null); + } + } + static _negotiateCompression(request, response, compression) { + if (request == null) dart.nullFailed(I[186], 509, 73, "request"); + if (response == null) dart.nullFailed(I[186], 510, 20, "response"); + if (compression == null) dart.nullFailed(I[186], 510, 49, "compression"); + let extensionHeader = request.headers.value("Sec-WebSocket-Extensions"); + extensionHeader == null ? extensionHeader = "" : null; + let hv = _http.HeaderValue.parse(extensionHeader, {valueSeparator: ","}); + if (dart.test(compression.enabled) && hv.value === "permessage-deflate") { + let info = compression[_createHeader](hv); + response.headers.add("Sec-WebSocket-Extensions", info.headerValue); + let serverNoContextTakeover = dart.test(hv.parameters[$containsKey]("server_no_context_takeover")) && dart.test(compression.serverNoContextTakeover); + let clientNoContextTakeover = dart.test(hv.parameters[$containsKey]("client_no_context_takeover")) && dart.test(compression.clientNoContextTakeover); + let deflate = new _http._WebSocketPerMessageDeflate.new({serverNoContextTakeover: serverNoContextTakeover, clientNoContextTakeover: clientNoContextTakeover, serverMaxWindowBits: info.maxWindowBits, clientMaxWindowBits: info.maxWindowBits, serverSide: true}); + return deflate; + } + return null; + } + static _isUpgradeRequest(request) { + if (request == null) dart.nullFailed(I[186], 539, 45, "request"); + if (request.method !== "GET") { + return false; + } + let connectionHeader = request.headers._get("connection"); + if (connectionHeader == null) { + return false; + } + let isUpgrade = false; + for (let value of connectionHeader) { + if (value[$toLowerCase]() === "upgrade") { + isUpgrade = true; + break; + } + } + if (!isUpgrade) return false; + let upgrade = request.headers.value("upgrade"); + if (upgrade == null || upgrade[$toLowerCase]() !== "websocket") { + return false; + } + let version = request.headers.value("Sec-WebSocket-Version"); + if (version == null || version !== "13") { + return false; + } + let key = request.headers.value("Sec-WebSocket-Key"); + if (key == null) { + return false; + } + return true; + } +}; +(_http._WebSocketTransformerImpl.new = function(_protocolSelector, _compression) { + if (_compression == null) dart.nullFailed(I[186], 419, 58, "_compression"); + this[_controller$0] = T.StreamControllerOfWebSocket().new({sync: true}); + this[_protocolSelector$] = _protocolSelector; + this[_compression$] = _compression; + _http._WebSocketTransformerImpl.__proto__.new.call(this); + ; +}).prototype = _http._WebSocketTransformerImpl.prototype; +dart.addTypeTests(_http._WebSocketTransformerImpl); +dart.addTypeCaches(_http._WebSocketTransformerImpl); +_http._WebSocketTransformerImpl[dart.implements] = () => [_http.WebSocketTransformer]; +dart.setMethodSignature(_http._WebSocketTransformerImpl, () => ({ + __proto__: dart.getMethods(_http._WebSocketTransformerImpl.__proto__), + bind: dart.fnType(async.Stream$(_http.WebSocket), [dart.nullable(core.Object)]) +})); +dart.setLibraryUri(_http._WebSocketTransformerImpl, I[177]); +dart.setFieldSignature(_http._WebSocketTransformerImpl, () => ({ + __proto__: dart.getFields(_http._WebSocketTransformerImpl.__proto__), + [_controller$0]: dart.finalFieldType(async.StreamController$(_http.WebSocket)), + [_protocolSelector$]: dart.finalFieldType(dart.nullable(dart.fnType(dart.dynamic, [core.List$(core.String)]))), + [_compression$]: dart.finalFieldType(_http.CompressionOptions) +})); +var _ensureDecoder = dart.privateName(_http, "_ensureDecoder"); +var _ensureEncoder = dart.privateName(_http, "_ensureEncoder"); +_http._WebSocketPerMessageDeflate = class _WebSocketPerMessageDeflate extends core.Object { + [_ensureDecoder]() { + let t302; + t302 = this.decoder; + return t302 == null ? this.decoder = io.RawZLibFilter.inflateFilter({windowBits: dart.test(this.serverSide) ? this.clientMaxWindowBits : this.serverMaxWindowBits, raw: true}) : t302; + } + [_ensureEncoder]() { + let t302; + t302 = this.encoder; + return t302 == null ? this.encoder = io.RawZLibFilter.deflateFilter({windowBits: dart.test(this.serverSide) ? this.serverMaxWindowBits : this.clientMaxWindowBits, raw: true}) : t302; + } + processIncomingMessage(msg) { + if (msg == null) dart.nullFailed(I[186], 596, 46, "msg"); + let decoder = this[_ensureDecoder](); + let data = T$.JSArrayOfint().of([]); + data[$addAll](msg); + data[$addAll](C[488] || CT.C488); + decoder.process(data, 0, data[$length]); + let result = _internal.BytesBuilder.new(); + let out = null; + while (true) { + let out = decoder.processed(); + if (out == null) break; + result.add(out); + } + if (dart.test(this.serverSide) && dart.test(this.clientNoContextTakeover) || !dart.test(this.serverSide) && dart.test(this.serverNoContextTakeover)) { + this.decoder = null; + } + return result.takeBytes(); + } + processOutgoingMessage(msg) { + if (msg == null) dart.nullFailed(I[186], 621, 46, "msg"); + let encoder = this[_ensureEncoder](); + let result = T$.JSArrayOfint().of([]); + let buffer = null; + if (!typed_data.Uint8List.is(msg)) { + for (let i = 0; i < dart.notNull(msg[$length]); i = i + 1) { + if (dart.notNull(msg[$_get](i)) < 0 || 255 < dart.notNull(msg[$_get](i))) { + dart.throw(new core.ArgumentError.new("List element is not a byte value " + "(value " + dart.str(msg[$_get](i)) + " at index " + dart.str(i) + ")")); + } + } + buffer = _native_typed_data.NativeUint8List.fromList(msg); + } else { + buffer = msg; + } + encoder.process(buffer, 0, buffer[$length]); + while (true) { + let out = encoder.processed(); + if (out == null) break; + result[$addAll](out); + } + if (!dart.test(this.serverSide) && dart.test(this.clientNoContextTakeover) || dart.test(this.serverSide) && dart.test(this.serverNoContextTakeover)) { + this.encoder = null; + } + if (dart.notNull(result[$length]) > 4) { + result = result[$sublist](0, dart.notNull(result[$length]) - 4); + } + if (result[$length] === 0) { + return T$.JSArrayOfint().of([0]); + } + return result; + } +}; +(_http._WebSocketPerMessageDeflate.new = function(opts) { + let clientMaxWindowBits = opts && 'clientMaxWindowBits' in opts ? opts.clientMaxWindowBits : 15; + if (clientMaxWindowBits == null) dart.nullFailed(I[186], 582, 13, "clientMaxWindowBits"); + let serverMaxWindowBits = opts && 'serverMaxWindowBits' in opts ? opts.serverMaxWindowBits : 15; + if (serverMaxWindowBits == null) dart.nullFailed(I[186], 583, 12, "serverMaxWindowBits"); + let serverNoContextTakeover = opts && 'serverNoContextTakeover' in opts ? opts.serverNoContextTakeover : false; + if (serverNoContextTakeover == null) dart.nullFailed(I[186], 584, 12, "serverNoContextTakeover"); + let clientNoContextTakeover = opts && 'clientNoContextTakeover' in opts ? opts.clientNoContextTakeover : false; + if (clientNoContextTakeover == null) dart.nullFailed(I[186], 585, 12, "clientNoContextTakeover"); + let serverSide = opts && 'serverSide' in opts ? opts.serverSide : false; + if (serverSide == null) dart.nullFailed(I[186], 586, 12, "serverSide"); + this.decoder = null; + this.encoder = null; + this.clientMaxWindowBits = clientMaxWindowBits; + this.serverMaxWindowBits = serverMaxWindowBits; + this.serverNoContextTakeover = serverNoContextTakeover; + this.clientNoContextTakeover = clientNoContextTakeover; + this.serverSide = serverSide; + ; +}).prototype = _http._WebSocketPerMessageDeflate.prototype; +dart.addTypeTests(_http._WebSocketPerMessageDeflate); +dart.addTypeCaches(_http._WebSocketPerMessageDeflate); +dart.setMethodSignature(_http._WebSocketPerMessageDeflate, () => ({ + __proto__: dart.getMethods(_http._WebSocketPerMessageDeflate.__proto__), + [_ensureDecoder]: dart.fnType(io.RawZLibFilter, []), + [_ensureEncoder]: dart.fnType(io.RawZLibFilter, []), + processIncomingMessage: dart.fnType(typed_data.Uint8List, [core.List$(core.int)]), + processOutgoingMessage: dart.fnType(core.List$(core.int), [core.List$(core.int)]) +})); +dart.setLibraryUri(_http._WebSocketPerMessageDeflate, I[177]); +dart.setFieldSignature(_http._WebSocketPerMessageDeflate, () => ({ + __proto__: dart.getFields(_http._WebSocketPerMessageDeflate.__proto__), + serverNoContextTakeover: dart.fieldType(core.bool), + clientNoContextTakeover: dart.fieldType(core.bool), + clientMaxWindowBits: dart.fieldType(core.int), + serverMaxWindowBits: dart.fieldType(core.int), + serverSide: dart.fieldType(core.bool), + decoder: dart.fieldType(dart.nullable(io.RawZLibFilter)), + encoder: dart.fieldType(dart.nullable(io.RawZLibFilter)) +})); +var _deflateHelper = dart.privateName(_http, "_deflateHelper"); +var _outCloseCode = dart.privateName(_http, "_outCloseCode"); +var _outCloseReason = dart.privateName(_http, "_outCloseReason"); +_http._WebSocketOutgoingTransformer = class _WebSocketOutgoingTransformer extends async.StreamTransformerBase$(dart.dynamic, core.List$(core.int)) { + bind(stream) { + async.Stream.as(stream); + if (stream == null) dart.nullFailed(I[186], 679, 33, "stream"); + return T$0.StreamOfListOfint().eventTransformed(stream, dart.fn(eventSink => { + if (eventSink == null) dart.nullFailed(I[186], 681, 31, "eventSink"); + if (this[_eventSink$] != null) { + dart.throw(new core.StateError.new("WebSocket transformer already used")); + } + this[_eventSink$] = eventSink; + return this; + }, T.EventSinkOfListOfintTo_WebSocketOutgoingTransformer())); + } + add(message) { + if (_http._WebSocketPong.is(message)) { + this.addFrame(10, message.payload); + return; + } + if (_http._WebSocketPing.is(message)) { + this.addFrame(9, message.payload); + return; + } + let data = null; + let opcode = null; + if (message != null) { + let messageData = null; + if (typeof message == 'string') { + opcode = 1; + messageData = convert.utf8.encode(message); + } else if (T$0.ListOfint().is(message)) { + opcode = 2; + messageData = message; + } else if (_http._EncodedString.is(message)) { + opcode = 1; + messageData = message.bytes; + } else { + dart.throw(new core.ArgumentError.new(message)); + } + let deflateHelper = this[_deflateHelper]; + if (deflateHelper != null) { + messageData = deflateHelper.processOutgoingMessage(messageData); + } + data = messageData; + } else { + opcode = 1; + } + this.addFrame(opcode, data); + } + addError(error, stackTrace = null) { + if (error == null) dart.nullFailed(I[186], 726, 24, "error"); + core.ArgumentError.checkNotNull(core.Object, error, "error"); + dart.nullCheck(this[_eventSink$]).addError(error, stackTrace); + } + close() { + let code = this.webSocket[_outCloseCode]; + let reason = this.webSocket[_outCloseReason]; + let data = null; + if (code != null) { + data = (() => { + let t302 = T$.JSArrayOfint().of([dart.notNull(code) >> 8 & 255, dart.notNull(code) & 255]); + if (reason != null) t302[$addAll](convert.utf8.encode(reason)); + return t302; + })(); + } + this.addFrame(8, data); + dart.nullCheck(this[_eventSink$]).close(); + } + addFrame(opcode, data) { + if (opcode == null) dart.nullFailed(I[186], 747, 21, "opcode"); + _http._WebSocketOutgoingTransformer.createFrame(opcode, data, this.webSocket[_serverSide$], this[_deflateHelper] != null && (opcode === 1 || opcode === 2))[$forEach](dart.fn(e => { + if (e == null) dart.nullFailed(I[186], 755, 19, "e"); + dart.nullCheck(this[_eventSink$]).add(e); + }, T$0.ListOfintTovoid())); + } + static createFrame(opcode, data, serverSide, compressed) { + let t303, t303$, t303$0, t303$1, t304, t303$2, t304$, t303$3, t304$0, t303$4; + if (opcode == null) dart.nullFailed(I[186], 761, 11, "opcode"); + if (serverSide == null) dart.nullFailed(I[186], 761, 41, "serverSide"); + if (compressed == null) dart.nullFailed(I[186], 761, 58, "compressed"); + let mask = !dart.test(serverSide); + let dataLength = data == null ? 0 : data[$length]; + let headerSize = mask ? 6 : 2; + if (dart.notNull(dataLength) > 65535) { + headerSize = headerSize + 8; + } else if (dart.notNull(dataLength) > 125) { + headerSize = headerSize + 2; + } + let header = _native_typed_data.NativeUint8List.new(headerSize); + let index = 0; + let hoc = (128 | (dart.test(compressed) ? 64 : 0) | (dart.notNull(opcode) & 15) >>> 0) >>> 0; + header[$_set]((t303 = index, index = t303 + 1, t303), hoc); + let lengthBytes = 1; + if (dart.notNull(dataLength) > 65535) { + header[$_set]((t303$ = index, index = t303$ + 1, t303$), 127); + lengthBytes = 8; + } else if (dart.notNull(dataLength) > 125) { + header[$_set]((t303$0 = index, index = t303$0 + 1, t303$0), 126); + lengthBytes = 2; + } + for (let i = 0; i < lengthBytes; i = i + 1) { + header[$_set]((t303$1 = index, index = t303$1 + 1, t303$1), dataLength[$rightShift]((lengthBytes - 1 - i) * 8) & 255); + } + if (mask) { + t303$2 = header; + t304 = 1; + t303$2[$_set](t304, (dart.notNull(t303$2[$_get](t304)) | 1 << 7) >>> 0); + let maskBytes = _http._CryptoUtils.getRandomBytes(4); + header[$setRange](index, index + 4, maskBytes); + index = index + 4; + if (data != null) { + let list = null; + if (opcode === 1 && typed_data.Uint8List.is(data)) { + list = data; + } else { + if (typed_data.Uint8List.is(data)) { + list = _native_typed_data.NativeUint8List.fromList(data); + } else { + list = _native_typed_data.NativeUint8List.new(data[$length]); + for (let i = 0; i < dart.notNull(data[$length]); i = i + 1) { + if (dart.notNull(data[$_get](i)) < 0 || 255 < dart.notNull(data[$_get](i))) { + dart.throw(new core.ArgumentError.new("List element is not a byte value " + "(value " + dart.str(data[$_get](i)) + " at index " + dart.str(i) + ")")); + } + list[$_set](i, data[$_get](i)); + } + } + } + let blockCount = (dart.notNull(list[$length]) / 16)[$truncate](); + if (blockCount > 0) { + let mask = 0; + for (let i = 3; i >= 0; i = i - 1) { + mask = (mask << 8 | dart.notNull(maskBytes[$_get](i))) >>> 0; + } + let blockMask = new _native_typed_data.NativeInt32x4.new(mask, mask, mask, mask); + let blockBuffer = typed_data.Int32x4List.view(list[$buffer], list[$offsetInBytes], blockCount); + for (let i = 0; i < dart.notNull(blockBuffer[$length]); i = i + 1) { + t303$3 = blockBuffer; + t304$ = i; + t303$3[$_set](t304$, t303$3[$_get](t304$)['^'](blockMask)); + } + } + for (let i = blockCount * 16; i < dart.notNull(list[$length]); i = i + 1) { + t303$4 = list; + t304$0 = i; + t303$4[$_set](t304$0, (dart.notNull(t303$4[$_get](t304$0)) ^ dart.notNull(maskBytes[$_get](i & 3))) >>> 0); + } + data = list; + } + } + if (!(index === headerSize)) dart.assertFailed(null, I[186], 840, 12, "index == headerSize"); + if (data == null) { + return T$0.JSArrayOfListOfint().of([header]); + } else { + return T$0.JSArrayOfListOfint().of([header, data]); + } + } +}; +(_http._WebSocketOutgoingTransformer.new = function(webSocket) { + if (webSocket == null) dart.nullFailed(I[186], 676, 38, "webSocket"); + this[_eventSink$] = null; + this.webSocket = webSocket; + this[_deflateHelper] = webSocket[_deflate$]; + _http._WebSocketOutgoingTransformer.__proto__.new.call(this); + ; +}).prototype = _http._WebSocketOutgoingTransformer.prototype; +dart.addTypeTests(_http._WebSocketOutgoingTransformer); +dart.addTypeCaches(_http._WebSocketOutgoingTransformer); +_http._WebSocketOutgoingTransformer[dart.implements] = () => [async.EventSink]; +dart.setMethodSignature(_http._WebSocketOutgoingTransformer, () => ({ + __proto__: dart.getMethods(_http._WebSocketOutgoingTransformer.__proto__), + bind: dart.fnType(async.Stream$(core.List$(core.int)), [dart.nullable(core.Object)]), + add: dart.fnType(dart.void, [dart.nullable(core.Object)]), + addError: dart.fnType(dart.void, [core.Object], [dart.nullable(core.StackTrace)]), + close: dart.fnType(dart.void, []), + addFrame: dart.fnType(dart.void, [core.int, dart.nullable(core.List$(core.int))]) +})); +dart.setLibraryUri(_http._WebSocketOutgoingTransformer, I[177]); +dart.setFieldSignature(_http._WebSocketOutgoingTransformer, () => ({ + __proto__: dart.getFields(_http._WebSocketOutgoingTransformer.__proto__), + webSocket: dart.finalFieldType(_http._WebSocketImpl), + [_eventSink$]: dart.fieldType(dart.nullable(async.EventSink$(core.List$(core.int)))), + [_deflateHelper]: dart.fieldType(dart.nullable(_http._WebSocketPerMessageDeflate)) +})); +var _issuedPause = dart.privateName(_http, "_issuedPause"); +var _closed$ = dart.privateName(_http, "_closed"); +var _closeCompleter$ = dart.privateName(_http, "_closeCompleter"); +var _completer = dart.privateName(_http, "_completer"); +var _onListen = dart.privateName(_http, "_onListen"); +var _onPause$ = dart.privateName(_http, "_onPause"); +var _onResume$ = dart.privateName(_http, "_onResume"); +var _cancel$ = dart.privateName(_http, "_cancel"); +var _done = dart.privateName(_http, "_done"); +var _ensureController = dart.privateName(_http, "_ensureController"); +_http._WebSocketConsumer = class _WebSocketConsumer extends core.Object { + [_onListen]() { + let t303; + t303 = this[_subscription$0]; + t303 == null ? null : t303.cancel(); + } + [_onPause$]() { + let subscription = this[_subscription$0]; + if (subscription != null) { + subscription.pause(); + } else { + this[_issuedPause] = true; + } + } + [_onResume$]() { + let subscription = this[_subscription$0]; + if (subscription != null) { + subscription.resume(); + } else { + this[_issuedPause] = false; + } + } + [_cancel$]() { + let subscription = this[_subscription$0]; + if (subscription != null) { + this[_subscription$0] = null; + subscription.cancel(); + } + } + [_ensureController]() { + let controller = this[_controller$0]; + if (controller != null) return controller; + controller = this[_controller$0] = async.StreamController.new({sync: true, onPause: dart.bind(this, _onPause$), onResume: dart.bind(this, _onResume$), onCancel: dart.bind(this, _onListen)}); + let stream = controller.stream.transform(T$0.ListOfint(), new _http._WebSocketOutgoingTransformer.new(this.webSocket)); + this.socket.addStream(stream).then(core.Null, dart.fn(_ => { + this[_done](); + this[_closeCompleter$].complete(this.webSocket); + }, T$.dynamicToNull()), {onError: dart.fn((error, stackTrace) => { + if (error == null) dart.nullFailed(I[186], 904, 25, "error"); + if (stackTrace == null) dart.nullFailed(I[186], 904, 43, "stackTrace"); + this[_closed$] = true; + this[_cancel$](); + if (core.ArgumentError.is(error)) { + if (!dart.test(this[_done](error, stackTrace))) { + this[_closeCompleter$].completeError(error, stackTrace); + } + } else { + this[_done](); + this[_closeCompleter$].complete(this.webSocket); + } + }, T$.ObjectAndStackTraceToNull())}); + return controller; + } + [_done](error = null, stackTrace = null) { + let completer = this[_completer]; + if (completer == null) return false; + if (error != null) { + completer.completeError(error, stackTrace); + } else { + completer.complete(this.webSocket); + } + this[_completer] = null; + return true; + } + addStream(stream) { + async.Stream.as(stream); + if (stream == null) dart.nullFailed(I[186], 931, 27, "stream"); + if (dart.test(this[_closed$])) { + stream.listen(null).cancel(); + return async.Future.value(this.webSocket); + } + this[_ensureController](); + let completer = this[_completer] = async.Completer.new(); + let subscription = this[_subscription$0] = stream.listen(dart.fn(data => { + dart.nullCheck(this[_controller$0]).add(data); + }, T$.dynamicTovoid()), {onDone: dart.bind(this, _done), onError: dart.bind(this, _done), cancelOnError: true}); + if (dart.test(this[_issuedPause])) { + subscription.pause(); + this[_issuedPause] = false; + } + return completer.future; + } + close() { + this[_ensureController]().close(); + return this[_closeCompleter$].future.then(dart.dynamic, dart.fn(_ => this.socket.close().catchError(dart.fn(_ => { + }, T$.dynamicToNull())).then(dart.dynamic, dart.fn(_ => this.webSocket, T.dynamicTo_WebSocketImpl())), T$.dynamicToFuture())); + } + add(data) { + if (dart.test(this[_closed$])) return; + let controller = this[_ensureController](); + if (dart.test(controller.isClosed)) return; + controller.add(data); + } + closeSocket() { + this[_closed$] = true; + this[_cancel$](); + this.close(); + } +}; +(_http._WebSocketConsumer.new = function(webSocket, socket) { + if (webSocket == null) dart.nullFailed(I[186], 859, 27, "webSocket"); + if (socket == null) dart.nullFailed(I[186], 859, 43, "socket"); + this[_controller$0] = null; + this[_subscription$0] = null; + this[_issuedPause] = false; + this[_closed$] = false; + this[_closeCompleter$] = T.CompleterOfWebSocket().new(); + this[_completer] = null; + this.webSocket = webSocket; + this.socket = socket; + ; +}).prototype = _http._WebSocketConsumer.prototype; +dart.addTypeTests(_http._WebSocketConsumer); +dart.addTypeCaches(_http._WebSocketConsumer); +_http._WebSocketConsumer[dart.implements] = () => [async.StreamConsumer]; +dart.setMethodSignature(_http._WebSocketConsumer, () => ({ + __proto__: dart.getMethods(_http._WebSocketConsumer.__proto__), + [_onListen]: dart.fnType(dart.void, []), + [_onPause$]: dart.fnType(dart.void, []), + [_onResume$]: dart.fnType(dart.void, []), + [_cancel$]: dart.fnType(dart.void, []), + [_ensureController]: dart.fnType(async.StreamController, []), + [_done]: dart.fnType(core.bool, [], [dart.nullable(core.Object), dart.nullable(core.StackTrace)]), + addStream: dart.fnType(async.Future, [dart.nullable(core.Object)]), + close: dart.fnType(async.Future, []), + add: dart.fnType(dart.void, [dart.dynamic]), + closeSocket: dart.fnType(dart.void, []) +})); +dart.setLibraryUri(_http._WebSocketConsumer, I[177]); +dart.setFieldSignature(_http._WebSocketConsumer, () => ({ + __proto__: dart.getFields(_http._WebSocketConsumer.__proto__), + webSocket: dart.finalFieldType(_http._WebSocketImpl), + socket: dart.finalFieldType(io.Socket), + [_controller$0]: dart.fieldType(dart.nullable(async.StreamController)), + [_subscription$0]: dart.fieldType(dart.nullable(async.StreamSubscription)), + [_issuedPause]: dart.fieldType(core.bool), + [_closed$]: dart.fieldType(core.bool), + [_closeCompleter$]: dart.fieldType(async.Completer), + [_completer]: dart.fieldType(dart.nullable(async.Completer)) +})); +var ___WebSocketImpl__sink = dart.privateName(_http, "_#_WebSocketImpl#_sink"); +var ___WebSocketImpl__sink_isSet = dart.privateName(_http, "_#_WebSocketImpl#_sink#isSet"); +var _readyState = dart.privateName(_http, "_readyState"); +var _writeClosed = dart.privateName(_http, "_writeClosed"); +var _closeCode = dart.privateName(_http, "_closeCode"); +var _closeReason = dart.privateName(_http, "_closeReason"); +var _pingInterval = dart.privateName(_http, "_pingInterval"); +var _pingTimer = dart.privateName(_http, "_pingTimer"); +var ___WebSocketImpl__consumer = dart.privateName(_http, "_#_WebSocketImpl#_consumer"); +var ___WebSocketImpl__consumer_isSet = dart.privateName(_http, "_#_WebSocketImpl#_consumer#isSet"); +var _closeTimer = dart.privateName(_http, "_closeTimer"); +var _consumer = dart.privateName(_http, "_consumer"); +var _sink = dart.privateName(_http, "_sink"); +var _close$0 = dart.privateName(_http, "_close"); +const Stream__ServiceObject$36$ = class Stream__ServiceObject extends async.Stream {}; +(Stream__ServiceObject$36$.new = function() { + _http._ServiceObject.new.call(this); + Stream__ServiceObject$36$.__proto__.new.call(this); +}).prototype = Stream__ServiceObject$36$.prototype; +(Stream__ServiceObject$36$._internal = function() { + _http._ServiceObject.new.call(this); + Stream__ServiceObject$36$.__proto__._internal.call(this); +}).prototype = Stream__ServiceObject$36$.prototype; +dart.applyMixin(Stream__ServiceObject$36$, _http._ServiceObject); +_http._WebSocketImpl = class _WebSocketImpl extends Stream__ServiceObject$36$ { + get [_sink]() { + let t303; + return dart.test(this[___WebSocketImpl__sink_isSet]) ? (t303 = this[___WebSocketImpl__sink], t303) : dart.throw(new _internal.LateError.fieldNI("_sink")); + } + set [_sink](t303) { + if (t303 == null) dart.nullFailed(I[186], 981, 19, "null"); + this[___WebSocketImpl__sink_isSet] = true; + this[___WebSocketImpl__sink] = t303; + } + get [_consumer]() { + let t304; + return dart.test(this[___WebSocketImpl__consumer_isSet]) ? (t304 = this[___WebSocketImpl__consumer], t304) : dart.throw(new _internal.LateError.fieldNI("_consumer")); + } + set [_consumer](t304) { + if (t304 == null) dart.nullFailed(I[186], 991, 27, "null"); + this[___WebSocketImpl__consumer_isSet] = true; + this[___WebSocketImpl__consumer] = t304; + } + static connect(url, protocols, headers, opts) { + if (url == null) dart.nullFailed(I[186], 1001, 14, "url"); + let compression = opts && 'compression' in opts ? opts.compression : C[486] || CT.C486; + if (compression == null) dart.nullFailed(I[186], 1002, 27, "compression"); + let uri = core.Uri.parse(url); + if (uri.scheme !== "ws" && uri.scheme !== "wss") { + dart.throw(new _http.WebSocketException.new("Unsupported URL scheme '" + dart.str(uri.scheme) + "'")); + } + let random = math.Random.new(); + let nonceData = _native_typed_data.NativeUint8List.new(16); + for (let i = 0; i < 16; i = i + 1) { + nonceData[$_set](i, random.nextInt(256)); + } + let nonce = _http._CryptoUtils.bytesToBase64(nonceData); + uri = core._Uri.new({scheme: uri.scheme === "wss" ? "https" : "http", userInfo: uri.userInfo, host: uri.host, port: uri.port, path: uri.path, query: uri.query, fragment: uri.fragment}); + return _http._WebSocketImpl._httpClient.openUrl("GET", uri).then(_http.HttpClientResponse, dart.fn(request => { + let t305; + if (request == null) dart.nullFailed(I[186], 1025, 50, "request"); + if (uri.userInfo != null && !uri.userInfo[$isEmpty]) { + let auth = _http._CryptoUtils.bytesToBase64(convert.utf8.encode(uri.userInfo)); + request.headers.set("authorization", "Basic " + dart.str(auth)); + } + if (headers != null) { + headers[$forEach](dart.fn((field, value) => { + if (field == null) dart.nullFailed(I[186], 1033, 26, "field"); + return request.headers.add(field, core.Object.as(value)); + }, T$0.StringAnddynamicTovoid())); + } + t305 = request.headers; + (() => { + t305.set("connection", "Upgrade"); + t305.set("upgrade", "websocket"); + t305.set("Sec-WebSocket-Key", nonce); + t305.set("Cache-Control", "no-cache"); + t305.set("Sec-WebSocket-Version", "13"); + return t305; + })(); + if (protocols != null) { + request.headers.add("Sec-WebSocket-Protocol", protocols[$toList]()); + } + if (dart.test(compression.enabled)) { + request.headers.add("Sec-WebSocket-Extensions", compression[_createHeader]()); + } + return request.close(); + }, T.HttpClientRequestToFutureOfHttpClientResponse())).then(_http.WebSocket, dart.fn(response => { + if (response == null) dart.nullFailed(I[186], 1052, 14, "response"); + function error(message) { + if (message == null) dart.nullFailed(I[186], 1053, 26, "message"); + response.detachSocket().then(core.Null, dart.fn(socket => { + if (socket == null) dart.nullFailed(I[186], 1055, 39, "socket"); + socket.destroy(); + }, T.SocketToNull())); + dart.throw(new _http.WebSocketException.new(message)); + } + dart.fn(error, T.StringToNever()); + let connectionHeader = response.headers._get("connection"); + if (response.statusCode !== 101 || connectionHeader == null || !dart.test(connectionHeader[$any](dart.fn(value => { + if (value == null) dart.nullFailed(I[186], 1064, 34, "value"); + return value[$toLowerCase]() === "upgrade"; + }, T$.StringTobool()))) || dart.nullCheck(response.headers.value("upgrade"))[$toLowerCase]() !== "websocket") { + error("Connection to '" + dart.str(uri) + "' was not upgraded to websocket"); + dart.throw(new _internal.ReachabilityError.new("`null` encountered as the result from expression with type `Never`.")); + } + let accept = response.headers.value("Sec-WebSocket-Accept"); + if (accept == null) { + error("Response did not contain a 'Sec-WebSocket-Accept' header"); + dart.throw(new _internal.ReachabilityError.new("`null` encountered as the result from expression with type `Never`.")); + } + let sha1 = new _http._SHA1.new(); + sha1.add((dart.str(nonce) + dart.str(_http._webSocketGUID))[$codeUnits]); + let expectedAccept = sha1.close(); + let receivedAccept = _http._CryptoUtils.base64StringToBytes(accept); + if (expectedAccept[$length] != receivedAccept[$length]) { + error("Response header 'Sec-WebSocket-Accept' is the wrong length"); + dart.throw(new _internal.ReachabilityError.new("`null` encountered as the result from expression with type `Never`.")); + } + for (let i = 0; i < dart.notNull(expectedAccept[$length]); i = i + 1) { + if (expectedAccept[$_get](i) != receivedAccept[$_get](i)) { + error("Bad response 'Sec-WebSocket-Accept' header"); + dart.throw(new _internal.ReachabilityError.new("`null` encountered as the result from expression with type `Never`.")); + } + } + let protocol = response.headers.value("Sec-WebSocket-Protocol"); + let deflate = _http._WebSocketImpl.negotiateClientCompression(response, compression); + return response.detachSocket().then(_http.WebSocket, dart.fn(socket => { + if (socket == null) dart.nullFailed(I[186], 1090, 55, "socket"); + return new _http._WebSocketImpl._fromSocket(socket, protocol, compression, false, deflate); + }, T.SocketTo_WebSocketImpl())); + }, T.HttpClientResponseToFutureOfWebSocket())); + } + static negotiateClientCompression(response, compression) { + let t305; + if (response == null) dart.nullFailed(I[186], 1097, 26, "response"); + if (compression == null) dart.nullFailed(I[186], 1097, 55, "compression"); + let extensionHeader = (t305 = response.headers.value("Sec-WebSocket-Extensions"), t305 == null ? "" : t305); + let hv = _http.HeaderValue.parse(extensionHeader, {valueSeparator: ","}); + if (dart.test(compression.enabled) && hv.value === "permessage-deflate") { + let serverNoContextTakeover = hv.parameters[$containsKey]("server_no_context_takeover"); + let clientNoContextTakeover = hv.parameters[$containsKey]("client_no_context_takeover"); + function getWindowBits(type) { + let t305; + if (type == null) dart.nullFailed(I[186], 1109, 32, "type"); + let o = hv.parameters[$_get](type); + if (o == null) { + return 15; + } + t305 = core.int.tryParse(o); + return t305 == null ? 15 : t305; + } + dart.fn(getWindowBits, T$0.StringToint()); + return new _http._WebSocketPerMessageDeflate.new({clientMaxWindowBits: getWindowBits("client_max_window_bits"), serverMaxWindowBits: getWindowBits("server_max_window_bits"), clientNoContextTakeover: clientNoContextTakeover, serverNoContextTakeover: serverNoContextTakeover}); + } + return null; + } + listen(onData, opts) { + let onError = opts && 'onError' in opts ? opts.onError : null; + let onDone = opts && 'onDone' in opts ? opts.onDone : null; + let cancelOnError = opts && 'cancelOnError' in opts ? opts.cancelOnError : null; + return this[_controller$0].stream.listen(onData, {onError: onError, onDone: onDone, cancelOnError: cancelOnError}); + } + get pingInterval() { + return this[_pingInterval]; + } + set pingInterval(interval) { + let t305; + if (dart.test(this[_writeClosed])) return; + t305 = this[_pingTimer]; + t305 == null ? null : t305.cancel(); + this[_pingInterval] = interval; + if (interval == null) return; + this[_pingTimer] = async.Timer.new(interval, dart.fn(() => { + if (dart.test(this[_writeClosed])) return; + this[_consumer].add(new _http._WebSocketPing.new()); + this[_pingTimer] = async.Timer.new(interval, dart.fn(() => { + let t305; + t305 = this[_closeTimer]; + t305 == null ? null : t305.cancel(); + this[_close$0](1001); + this[_closeCode] = this[_outCloseCode]; + this[_closeReason] = this[_outCloseReason]; + this[_controller$0].close(); + }, T$.VoidTovoid())); + }, T$.VoidTovoid())); + } + get readyState() { + return this[_readyState]; + } + get extensions() { + return ""; + } + get closeCode() { + return this[_closeCode]; + } + get closeReason() { + return this[_closeReason]; + } + add(data) { + this[_sink].add(data); + } + addUtf8Text(bytes) { + if (bytes == null) dart.nullFailed(I[186], 1226, 30, "bytes"); + core.ArgumentError.checkNotNull(T$0.ListOfint(), bytes, "bytes"); + this[_sink].add(new _http._EncodedString.new(bytes)); + } + addError(error, stackTrace = null) { + if (error == null) dart.nullFailed(I[186], 1232, 24, "error"); + this[_sink].addError(error, stackTrace); + } + addStream(stream) { + async.Stream.as(stream); + if (stream == null) dart.nullFailed(I[186], 1236, 27, "stream"); + return this[_sink].addStream(stream); + } + get done() { + return this[_sink].done; + } + close(code = null, reason = null) { + if (dart.test(_http._WebSocketImpl._isReservedStatusCode(code))) { + dart.throw(new _http.WebSocketException.new("Reserved status code " + dart.str(code))); + } + if (this[_outCloseCode] == null) { + this[_outCloseCode] = code; + this[_outCloseReason] = reason; + } + if (!dart.test(this[_controller$0].isClosed)) { + if (!dart.test(this[_controller$0].hasListener) && this[_subscription$0] != null) { + this[_controller$0].stream.drain(dart.dynamic).catchError(dart.fn(_ => new _js_helper.LinkedMap.new(), T.dynamicToMap())); + } + if (this[_closeTimer] == null) { + this[_closeTimer] = async.Timer.new(C[489] || CT.C489, dart.fn(() => { + let t305; + this[_closeCode] = this[_outCloseCode]; + this[_closeReason] = this[_outCloseReason]; + t305 = this[_subscription$0]; + t305 == null ? null : t305.cancel(); + this[_controller$0].close(); + _http._WebSocketImpl._webSockets[$remove](this[_serviceId$]); + }, T$.VoidTovoid())); + } + } + return this[_sink].close(); + } + static get userAgent() { + return _http._WebSocketImpl._httpClient.userAgent; + } + static set userAgent(userAgent) { + _http._WebSocketImpl._httpClient.userAgent = userAgent; + } + [_close$0](code = null, reason = null) { + if (dart.test(this[_writeClosed])) return; + if (this[_outCloseCode] == null) { + this[_outCloseCode] = code; + this[_outCloseReason] = reason; + } + this[_writeClosed] = true; + this[_consumer].closeSocket(); + _http._WebSocketImpl._webSockets[$remove](this[_serviceId$]); + } + get [_serviceTypePath$]() { + return "io/websockets"; + } + get [_serviceTypeName$]() { + return "WebSocket"; + } + [_toJSON$](ref) { + if (ref == null) dart.nullFailed(I[186], 1291, 37, "ref"); + let name = dart.str(this[_socket$0].address.host) + ":" + dart.str(this[_socket$0].port); + let r = new (T$0.IdentityMapOfString$dynamic()).from(["id", this[_servicePath$], "type", this[_serviceType$](ref), "name", name, "user_name", name]); + if (dart.test(ref)) { + return r; + } + try { + r[$_set]("socket", dart.dsend(this[_socket$0], _toJSON$, [true])); + } catch (e) { + let _ = dart.getThrown(e); + if (core.Object.is(_)) { + r[$_set]("socket", new (T$.IdentityMapOfString$String()).from(["id", this[_servicePath$], "type", "@Socket", "name", "UserSocket", "user_name", "UserSocket"])); + } else + throw e; + } + return r; + } + static _isReservedStatusCode(code) { + return code != null && (dart.notNull(code) < 1000 || code === 1004 || code === 1005 || code === 1006 || dart.notNull(code) > 1011 && dart.notNull(code) < 1015 || dart.notNull(code) >= 1015 && dart.notNull(code) < 3000); + } +}; +(_http._WebSocketImpl._fromSocket = function(_socket, protocol, compression, _serverSide = false, deflate = null) { + let t303; + if (_socket == null) dart.nullFailed(I[186], 1129, 12, "_socket"); + if (compression == null) dart.nullFailed(I[186], 1129, 55, "compression"); + if (_serverSide == null) dart.nullFailed(I[186], 1130, 13, "_serverSide"); + this[_subscription$0] = null; + this[___WebSocketImpl__sink] = null; + this[___WebSocketImpl__sink_isSet] = false; + this[_readyState] = 0; + this[_writeClosed] = false; + this[_closeCode] = null; + this[_closeReason] = null; + this[_pingInterval] = null; + this[_pingTimer] = null; + this[___WebSocketImpl__consumer] = null; + this[___WebSocketImpl__consumer_isSet] = false; + this[_outCloseCode] = null; + this[_outCloseReason] = null; + this[_closeTimer] = null; + this[_deflate$] = null; + this[_socket$0] = _socket; + this.protocol = protocol; + this[_serverSide$] = _serverSide; + this[_controller$0] = async.StreamController.new({sync: true}); + _http._WebSocketImpl.__proto__.new.call(this); + this[_consumer] = new _http._WebSocketConsumer.new(this, this[_socket$0]); + this[_sink] = new _http._StreamSinkImpl.new(this[_consumer]); + this[_readyState] = 1; + this[_deflate$] = deflate; + let transformer = new _http._WebSocketProtocolTransformer.new(this[_serverSide$], deflate); + let subscription = this[_subscription$0] = transformer.bind(this[_socket$0]).listen(dart.fn(data => { + if (_http._WebSocketPing.is(data)) { + if (!dart.test(this[_writeClosed])) this[_consumer].add(new _http._WebSocketPong.new(data.payload)); + } else if (_http._WebSocketPong.is(data)) { + this.pingInterval = this[_pingInterval]; + } else { + this[_controller$0].add(data); + } + }, T$.dynamicTovoid()), {onError: dart.fn((error, stackTrace) => { + let t303; + if (error == null) dart.nullFailed(I[186], 1147, 25, "error"); + if (stackTrace == null) dart.nullFailed(I[186], 1147, 43, "stackTrace"); + t303 = this[_closeTimer]; + t303 == null ? null : t303.cancel(); + if (core.FormatException.is(error)) { + this[_close$0](1007); + } else { + this[_close$0](1002); + } + this[_closeCode] = this[_outCloseCode]; + this[_closeReason] = this[_outCloseReason]; + this[_controller$0].close(); + }, T$.ObjectAndStackTraceToNull()), onDone: dart.fn(() => { + let t303; + t303 = this[_closeTimer]; + t303 == null ? null : t303.cancel(); + if (this[_readyState] === 1) { + this[_readyState] = 2; + if (!dart.test(_http._WebSocketImpl._isReservedStatusCode(transformer.closeCode))) { + this[_close$0](transformer.closeCode, transformer.closeReason); + } else { + this[_close$0](); + } + this[_readyState] = 3; + } + this[_closeCode] = transformer.closeCode; + this[_closeReason] = transformer.closeReason; + this[_controller$0].close(); + }, T$.VoidTovoid()), cancelOnError: true}); + subscription.pause(); + t303 = this[_controller$0]; + (() => { + t303.onListen = dart.bind(subscription, 'resume'); + t303.onCancel = dart.fn(() => { + dart.nullCheck(this[_subscription$0]).cancel(); + this[_subscription$0] = null; + }, T$.VoidToNull()); + t303.onPause = dart.bind(subscription, 'pause'); + t303.onResume = dart.bind(subscription, 'resume'); + return t303; + })(); + _http._WebSocketImpl._webSockets[$_set](this[_serviceId$], this); +}).prototype = _http._WebSocketImpl.prototype; +dart.addTypeTests(_http._WebSocketImpl); +dart.addTypeCaches(_http._WebSocketImpl); +_http._WebSocketImpl[dart.implements] = () => [_http.WebSocket]; +dart.setMethodSignature(_http._WebSocketImpl, () => ({ + __proto__: dart.getMethods(_http._WebSocketImpl.__proto__), + listen: dart.fnType(async.StreamSubscription, [dart.nullable(dart.fnType(dart.void, [dart.dynamic]))], {cancelOnError: dart.nullable(core.bool), onDone: dart.nullable(dart.fnType(dart.void, [])), onError: dart.nullable(core.Function)}, {}), + add: dart.fnType(dart.void, [dart.nullable(core.Object)]), + addUtf8Text: dart.fnType(dart.void, [core.List$(core.int)]), + addError: dart.fnType(dart.void, [core.Object], [dart.nullable(core.StackTrace)]), + addStream: dart.fnType(async.Future, [dart.nullable(core.Object)]), + close: dart.fnType(async.Future, [], [dart.nullable(core.int), dart.nullable(core.String)]), + [_close$0]: dart.fnType(dart.void, [], [dart.nullable(core.int), dart.nullable(core.String)]), + [_toJSON$]: dart.fnType(core.Map$(core.String, dart.dynamic), [core.bool]) +})); +dart.setGetterSignature(_http._WebSocketImpl, () => ({ + __proto__: dart.getGetters(_http._WebSocketImpl.__proto__), + [_sink]: async.StreamSink, + [_consumer]: _http._WebSocketConsumer, + pingInterval: dart.nullable(core.Duration), + readyState: core.int, + extensions: core.String, + closeCode: dart.nullable(core.int), + closeReason: dart.nullable(core.String), + done: async.Future, + [_serviceTypePath$]: core.String, + [_serviceTypeName$]: core.String +})); +dart.setSetterSignature(_http._WebSocketImpl, () => ({ + __proto__: dart.getSetters(_http._WebSocketImpl.__proto__), + [_sink]: async.StreamSink, + [_consumer]: _http._WebSocketConsumer, + pingInterval: dart.nullable(core.Duration) +})); +dart.setLibraryUri(_http._WebSocketImpl, I[177]); +dart.setFieldSignature(_http._WebSocketImpl, () => ({ + __proto__: dart.getFields(_http._WebSocketImpl.__proto__), + protocol: dart.finalFieldType(dart.nullable(core.String)), + [_controller$0]: dart.finalFieldType(async.StreamController), + [_subscription$0]: dart.fieldType(dart.nullable(async.StreamSubscription)), + [___WebSocketImpl__sink]: dart.fieldType(dart.nullable(async.StreamSink)), + [___WebSocketImpl__sink_isSet]: dart.fieldType(core.bool), + [_socket$0]: dart.finalFieldType(io.Socket), + [_serverSide$]: dart.finalFieldType(core.bool), + [_readyState]: dart.fieldType(core.int), + [_writeClosed]: dart.fieldType(core.bool), + [_closeCode]: dart.fieldType(dart.nullable(core.int)), + [_closeReason]: dart.fieldType(dart.nullable(core.String)), + [_pingInterval]: dart.fieldType(dart.nullable(core.Duration)), + [_pingTimer]: dart.fieldType(dart.nullable(async.Timer)), + [___WebSocketImpl__consumer]: dart.fieldType(dart.nullable(_http._WebSocketConsumer)), + [___WebSocketImpl__consumer_isSet]: dart.fieldType(core.bool), + [_outCloseCode]: dart.fieldType(dart.nullable(core.int)), + [_outCloseReason]: dart.fieldType(dart.nullable(core.String)), + [_closeTimer]: dart.fieldType(dart.nullable(async.Timer)), + [_deflate$]: dart.fieldType(dart.nullable(_http._WebSocketPerMessageDeflate)) +})); +dart.defineLazy(_http._WebSocketImpl, { + /*_http._WebSocketImpl._webSockets*/get _webSockets() { + return new (T.LinkedMapOfint$_WebSocketImpl()).new(); + }, + set _webSockets(_) {}, + /*_http._WebSocketImpl.DEFAULT_WINDOW_BITS*/get DEFAULT_WINDOW_BITS() { + return 15; + }, + /*_http._WebSocketImpl.PER_MESSAGE_DEFLATE*/get PER_MESSAGE_DEFLATE() { + return "permessage-deflate"; + }, + /*_http._WebSocketImpl._httpClient*/get _httpClient() { + return _http.HttpClient.new(); + } +}, false); +_http._getHttpVersion = function _getHttpVersion() { + let version = io.Platform.version; + let index = version[$indexOf](".", version[$indexOf](".") + 1); + version = version[$substring](0, index); + return "Dart/" + dart.str(version) + " (dart:io)"; +}; +dart.defineLazy(_http, { + /*_http._MASK_8*/get _MASK_8() { + return 255; + }, + /*_http._MASK_32*/get _MASK_32() { + return 4294967295.0; + }, + /*_http._BITS_PER_BYTE*/get _BITS_PER_BYTE() { + return 8; + }, + /*_http._BYTES_PER_WORD*/get _BYTES_PER_WORD() { + return 4; + }, + /*_http._nextServiceId*/get _nextServiceId() { + return 1; + }, + set _nextServiceId(_) {}, + /*_http._OUTGOING_BUFFER_SIZE*/get _OUTGOING_BUFFER_SIZE() { + return 8192; + }, + /*_http._DART_SESSION_ID*/get _DART_SESSION_ID() { + return "DARTSESSID"; + }, + /*_http._httpOverridesToken*/get _httpOverridesToken() { + return new core.Object.new(); + }, + /*_http._asyncRunZoned*/get _asyncRunZoned() { + return C[208] || CT.C208; + }, + /*_http._webSocketGUID*/get _webSocketGUID() { + return "258EAFA5-E914-47DA-95CA-C5AB0DC85B11"; + }, + /*_http._clientNoContextTakeover*/get _clientNoContextTakeover() { + return "client_no_context_takeover"; + }, + /*_http._serverNoContextTakeover*/get _serverNoContextTakeover() { + return "server_no_context_takeover"; + }, + /*_http._clientMaxWindowBits*/get _clientMaxWindowBits() { + return "client_max_window_bits"; + }, + /*_http._serverMaxWindowBits*/get _serverMaxWindowBits() { + return "server_max_window_bits"; + } +}, false); +dart.setBaseClass(_http._HttpConnection.__proto__, collection.LinkedListEntry$(_http._HttpConnection)); +dart.trackLibraries("dart_sdk", { + "dart:_runtime": dart, + "dart:_debugger": _debugger, + "dart:_foreign_helper": _foreign_helper, + "dart:_interceptors": _interceptors, + "dart:_internal": _internal, + "dart:_isolate_helper": _isolate_helper, + "dart:_js_helper": _js_helper, + "dart:_js_primitives": _js_primitives, + "dart:_metadata": _metadata, + "dart:_native_typed_data": _native_typed_data, + "dart:async": async, + "dart:collection": collection, + "dart:convert": convert, + "dart:developer": developer, + "dart:io": io, + "dart:isolate": isolate$, + "dart:js": js, + "dart:js_util": js_util, + "dart:math": math, + "dart:typed_data": typed_data, + "dart:indexed_db": indexed_db, + "dart:html": html$, + "dart:html_common": html_common, + "dart:svg": svg$, + "dart:web_audio": web_audio, + "dart:web_gl": web_gl, + "dart:web_sql": web_sql, + "dart:core": core, + "dart:_http": _http +}, { + "dart:_runtime": ["utils.dart", "classes.dart", "rtti.dart", "types.dart", "errors.dart", "operations.dart"], + "dart:_debugger": ["profile.dart"], + "dart:_interceptors": ["js_array.dart", "js_number.dart", "js_string.dart"], + "dart:_internal": ["async_cast.dart", "bytes_builder.dart", "cast.dart", "errors.dart", "iterable.dart", "list.dart", "linked_list.dart", "print.dart", "sort.dart", "symbol.dart"], + "dart:_js_helper": ["annotations.dart", "linked_hash_map.dart", "identity_hash_map.dart", "custom_hash_map.dart", "native_helper.dart", "regexp_helper.dart", "string_helper.dart", "js_rti.dart"], + "dart:async": ["async_error.dart", "broadcast_stream_controller.dart", "deferred_load.dart", "future.dart", "future_impl.dart", "schedule_microtask.dart", "stream.dart", "stream_controller.dart", "stream_impl.dart", "stream_pipe.dart", "stream_transformers.dart", "timer.dart", "zone.dart"], + "dart:collection": ["collections.dart", "hash_map.dart", "hash_set.dart", "iterable.dart", "iterator.dart", "linked_hash_map.dart", "linked_hash_set.dart", "linked_list.dart", "list.dart", "maps.dart", "queue.dart", "set.dart", "splay_tree.dart"], + "dart:convert": ["ascii.dart", "base64.dart", "byte_conversion.dart", "chunked_conversion.dart", "codec.dart", "converter.dart", "encoding.dart", "html_escape.dart", "json.dart", "latin1.dart", "line_splitter.dart", "string_conversion.dart", "utf.dart"], + "dart:developer": ["extension.dart", "profiler.dart", "service.dart", "timeline.dart"], + "dart:io": ["common.dart", "data_transformer.dart", "directory.dart", "directory_impl.dart", "embedder_config.dart", "eventhandler.dart", "file.dart", "file_impl.dart", "file_system_entity.dart", "io_resource_info.dart", "io_sink.dart", "io_service.dart", "link.dart", "namespace_impl.dart", "network_policy.dart", "network_profiling.dart", "overrides.dart", "platform.dart", "platform_impl.dart", "process.dart", "secure_server_socket.dart", "secure_socket.dart", "security_context.dart", "service_object.dart", "socket.dart", "stdio.dart", "string_transformer.dart", "sync_socket.dart"], + "dart:isolate": ["capability.dart"], + "dart:math": ["point.dart", "random.dart", "rectangle.dart"], + "dart:typed_data": ["unmodifiable_typed_data.dart"], + "dart:html_common": ["css_class_set.dart", "conversions.dart", "conversions_dart2js.dart", "device.dart", "filtered_element_list.dart", "lists.dart"], + "dart:core": ["annotations.dart", "bigint.dart", "bool.dart", "comparable.dart", "date_time.dart", "double.dart", "duration.dart", "errors.dart", "exceptions.dart", "expando.dart", "function.dart", "identical.dart", "int.dart", "invocation.dart", "iterable.dart", "iterator.dart", "list.dart", "map.dart", "null.dart", "num.dart", "object.dart", "pattern.dart", "print.dart", "regexp.dart", "set.dart", "sink.dart", "stacktrace.dart", "stopwatch.dart", "string.dart", "string_buffer.dart", "string_sink.dart", "symbol.dart", "type.dart", "uri.dart"], + "dart:_http": ["crypto.dart", "http_date.dart", "http_headers.dart", "http_impl.dart", "http_parser.dart", "http_session.dart", "overrides.dart", "websocket.dart", "websocket_impl.dart"] +}, null); +// Exports: +exports.dart = dart; +exports._debugger = _debugger; +exports._foreign_helper = _foreign_helper; +exports._interceptors = _interceptors; +exports._internal = _internal; +exports._isolate_helper = _isolate_helper; +exports._js_helper = _js_helper; +exports._js_primitives = _js_primitives; +exports._metadata = _metadata; +exports._native_typed_data = _native_typed_data; +exports.async = async; +exports.collection = collection; +exports.convert = convert; +exports.developer = developer; +exports.io = io; +exports.isolate = isolate$; +exports.js = js; +exports.js_util = js_util; +exports.math = math; +exports.typed_data = typed_data; +exports.indexed_db = indexed_db; +exports.html = html$; +exports.html_common = html_common; +exports.svg = svg$; +exports.web_audio = web_audio; +exports.web_gl = web_gl; +exports.web_sql = web_sql; +exports.core = core; +exports._http = _http; +exports.dartx = dartx; + +//# sourceMappingURL=dart_sdk.js.map diff --git a/v0.19.4/packages/$sdk/dev_compiler/kernel/common/run.js b/v0.19.4/packages/$sdk/dev_compiler/kernel/common/run.js new file mode 100644 index 000000000..f1cbaa9a1 --- /dev/null +++ b/v0.19.4/packages/$sdk/dev_compiler/kernel/common/run.js @@ -0,0 +1,22 @@ +// Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file +// for details. All rights reserved. Use of this source code is governed by a +// BSD-style license that can be found in the LICENSE file. + +var fs = require('fs'); +var vm = require('vm'); + +function __load(path) { + var data = fs.readFileSync(path); + var script = vm.createScript(data.toString(), path); + script.runInThisContext(); +} + +var args = process.argv.slice(2); +var argc = args.length; + +for (var i = 0; i < argc-1; ++i) { + __load(args[i]); +} + +var main = vm.createScript(args[argc-1] + '.main()', 'main'); +main.runInThisContext(); diff --git a/v0.19.4/packages/$sdk/dev_compiler/kernel/es6/dart_sdk.js b/v0.19.4/packages/$sdk/dev_compiler/kernel/es6/dart_sdk.js new file mode 100644 index 000000000..1b8fd9c92 --- /dev/null +++ b/v0.19.4/packages/$sdk/dev_compiler/kernel/es6/dart_sdk.js @@ -0,0 +1,137088 @@ +const _library = Object.create(null); +const dart = Object.create(_library); +dart.library = _library; +var _debugger = Object.create(dart.library); +var _foreign_helper = Object.create(dart.library); +var _interceptors = Object.create(dart.library); +var _internal = Object.create(dart.library); +var _isolate_helper = Object.create(dart.library); +var _js_helper = Object.create(dart.library); +var _js_primitives = Object.create(dart.library); +var _metadata = Object.create(dart.library); +var _native_typed_data = Object.create(dart.library); +var async = Object.create(dart.library); +var collection = Object.create(dart.library); +var convert = Object.create(dart.library); +var developer = Object.create(dart.library); +var io = Object.create(dart.library); +var isolate$ = Object.create(dart.library); +var js = Object.create(dart.library); +var js_util = Object.create(dart.library); +var math = Object.create(dart.library); +var typed_data = Object.create(dart.library); +var indexed_db = Object.create(dart.library); +var html$ = Object.create(dart.library); +var html_common = Object.create(dart.library); +var svg$ = Object.create(dart.library); +var web_audio = Object.create(dart.library); +var web_gl = Object.create(dart.library); +var web_sql = Object.create(dart.library); +var core = Object.create(dart.library); +var _http = Object.create(dart.library); +var dartx = Object.create(dart.library); +export { dart, _debugger, _foreign_helper, _interceptors, _internal, _isolate_helper, _js_helper, _js_primitives, _metadata, _native_typed_data, async, collection, convert, developer, io, isolate$ as isolate, js, js_util, math, typed_data, indexed_db, html$ as html, html_common, svg$ as svg, web_audio, web_gl, web_sql, core, _http, dartx }; +const _privateNames = Symbol("_privateNames"); +dart.privateName = function(library, name) { + let names = library[_privateNames]; + if (names == null) names = library[_privateNames] = new Map(); + let symbol = names.get(name); + if (symbol == null) names.set(name, symbol = Symbol(name)); + return symbol; +}; +var $hashCode = dartx.hashCode = Symbol("dartx.hashCode"); +var $isNotEmpty = dartx.isNotEmpty = Symbol("dartx.isNotEmpty"); +var $where = dartx.where = Symbol("dartx.where"); +var $join = dartx.join = Symbol("dartx.join"); +var $length = dartx.length = Symbol("dartx.length"); +var $_equals = dartx._equals = Symbol("dartx._equals"); +var $toString = dartx.toString = Symbol("dartx.toString"); +var $noSuchMethod = dartx.noSuchMethod = Symbol("dartx.noSuchMethod"); +var $cast = dartx.cast = Symbol("dartx.cast"); +var $addAll = dartx.addAll = Symbol("dartx.addAll"); +var $_set = dartx._set = Symbol("dartx._set"); +var $_get = dartx._get = Symbol("dartx._get"); +var $clear = dartx.clear = Symbol("dartx.clear"); +var $contains = dartx.contains = Symbol("dartx.contains"); +var $indexOf = dartx.indexOf = Symbol("dartx.indexOf"); +var $add = dartx.add = Symbol("dartx.add"); +var $isEmpty = dartx.isEmpty = Symbol("dartx.isEmpty"); +var $map = dartx.map = Symbol("dartx.map"); +var $toList = dartx.toList = Symbol("dartx.toList"); +var $sublist = dartx.sublist = Symbol("dartx.sublist"); +var $substring = dartx.substring = Symbol("dartx.substring"); +var $split = dartx.split = Symbol("dartx.split"); +var $trim = dartx.trim = Symbol("dartx.trim"); +var $runtimeType = dartx.runtimeType = Symbol("dartx.runtimeType"); +var $containsKey = dartx.containsKey = Symbol("dartx.containsKey"); +var $any = dartx.any = Symbol("dartx.any"); +var $keys = dartx.keys = Symbol("dartx.keys"); +var $remove = dartx.remove = Symbol("dartx.remove"); +var $values = dartx.values = Symbol("dartx.values"); +var $entries = dartx.entries = Symbol("dartx.entries"); +var $dartStack = dartx.dartStack = Symbol("dartx.dartStack"); +var $truncate = dartx.truncate = Symbol("dartx.truncate"); +var $toInt = dartx.toInt = Symbol("dartx.toInt"); +var $skip = dartx.skip = Symbol("dartx.skip"); +var $take = dartx.take = Symbol("dartx.take"); +var $asMap = dartx.asMap = Symbol("dartx.asMap"); +var $forEach = dartx.forEach = Symbol("dartx.forEach"); +var $elementAt = dartx.elementAt = Symbol("dartx.elementAt"); +var $last = dartx.last = Symbol("dartx.last"); +var $firstWhere = dartx.firstWhere = Symbol("dartx.firstWhere"); +var $replaceFirst = dartx.replaceFirst = Symbol("dartx.replaceFirst"); +var $startsWith = dartx.startsWith = Symbol("dartx.startsWith"); +var $compareTo = dartx.compareTo = Symbol("dartx.compareTo"); +var $sort = dartx.sort = Symbol("dartx.sort"); +var $putIfAbsent = dartx.putIfAbsent = Symbol("dartx.putIfAbsent"); +var $round = dartx.round = Symbol("dartx.round"); +var $bitAnd = dartx['&'] = Symbol("dartx.&"); +var $bitOr = dartx['|'] = Symbol("dartx.|"); +var $bitXor = dartx['^'] = Symbol("dartx.^"); +var $stackTrace = dartx.stackTrace = Symbol("dartx.stackTrace"); +var $invalidValue = dartx.invalidValue = Symbol("dartx.invalidValue"); +var $name = dartx.name = Symbol("dartx.name"); +var $message = dartx.message = Symbol("dartx.message"); +var $checkMutable = dartx.checkMutable = Symbol("dartx.checkMutable"); +var $checkGrowable = dartx.checkGrowable = Symbol("dartx.checkGrowable"); +var $removeAt = dartx.removeAt = Symbol("dartx.removeAt"); +var $insert = dartx.insert = Symbol("dartx.insert"); +var $setRange = dartx.setRange = Symbol("dartx.setRange"); +var $insertAll = dartx.insertAll = Symbol("dartx.insertAll"); +var $setAll = dartx.setAll = Symbol("dartx.setAll"); +var $removeLast = dartx.removeLast = Symbol("dartx.removeLast"); +var $removeWhere = dartx.removeWhere = Symbol("dartx.removeWhere"); +var $retainWhere = dartx.retainWhere = Symbol("dartx.retainWhere"); +var $expand = dartx.expand = Symbol("dartx.expand"); +var $takeWhile = dartx.takeWhile = Symbol("dartx.takeWhile"); +var $skipWhile = dartx.skipWhile = Symbol("dartx.skipWhile"); +var $reduce = dartx.reduce = Symbol("dartx.reduce"); +var $fold = dartx.fold = Symbol("dartx.fold"); +var $lastWhere = dartx.lastWhere = Symbol("dartx.lastWhere"); +var $singleWhere = dartx.singleWhere = Symbol("dartx.singleWhere"); +var $getRange = dartx.getRange = Symbol("dartx.getRange"); +var $first = dartx.first = Symbol("dartx.first"); +var $single = dartx.single = Symbol("dartx.single"); +var $removeRange = dartx.removeRange = Symbol("dartx.removeRange"); +var $fillRange = dartx.fillRange = Symbol("dartx.fillRange"); +var $replaceRange = dartx.replaceRange = Symbol("dartx.replaceRange"); +var $every = dartx.every = Symbol("dartx.every"); +var $reversed = dartx.reversed = Symbol("dartx.reversed"); +var $shuffle = dartx.shuffle = Symbol("dartx.shuffle"); +var $lastIndexOf = dartx.lastIndexOf = Symbol("dartx.lastIndexOf"); +var $toSet = dartx.toSet = Symbol("dartx.toSet"); +var $iterator = dartx.iterator = Symbol("dartx.iterator"); +var $followedBy = dartx.followedBy = Symbol("dartx.followedBy"); +var $whereType = dartx.whereType = Symbol("dartx.whereType"); +var $plus = dartx['+'] = Symbol("dartx.+"); +var $indexWhere = dartx.indexWhere = Symbol("dartx.indexWhere"); +var $lastIndexWhere = dartx.lastIndexWhere = Symbol("dartx.lastIndexWhere"); +var $isNegative = dartx.isNegative = Symbol("dartx.isNegative"); +var $isNaN = dartx.isNaN = Symbol("dartx.isNaN"); +var $isInfinite = dartx.isInfinite = Symbol("dartx.isInfinite"); +var $isFinite = dartx.isFinite = Symbol("dartx.isFinite"); +var $remainder = dartx.remainder = Symbol("dartx.remainder"); +var $abs = dartx.abs = Symbol("dartx.abs"); +var $sign = dartx.sign = Symbol("dartx.sign"); +var $truncateToDouble = dartx.truncateToDouble = Symbol("dartx.truncateToDouble"); +var $ceilToDouble = dartx.ceilToDouble = Symbol("dartx.ceilToDouble"); +var $ceil = dartx.ceil = Symbol("dartx.ceil"); +var $floorToDouble = dartx.floorToDouble = Symbol("dartx.floorToDouble"); +var $floor = dartx.floor = Symbol("dartx.floor"); +var $roundToDouble = dartx.roundToDouble = Symbol("dartx.roundToDouble"); +var $clamp = dartx.clamp = Symbol("dartx.clamp"); +var $toDouble = dartx.toDouble = Symbol("dartx.toDouble"); +var $toStringAsFixed = dartx.toStringAsFixed = Symbol("dartx.toStringAsFixed"); +var $toStringAsExponential = dartx.toStringAsExponential = Symbol("dartx.toStringAsExponential"); +var $toStringAsPrecision = dartx.toStringAsPrecision = Symbol("dartx.toStringAsPrecision"); +var $codeUnitAt = dartx.codeUnitAt = Symbol("dartx.codeUnitAt"); +var $toRadixString = dartx.toRadixString = Symbol("dartx.toRadixString"); +var $times = dartx['*'] = Symbol("dartx.*"); +var $_negate = dartx._negate = Symbol("dartx._negate"); +var $minus = dartx['-'] = Symbol("dartx.-"); +var $divide = dartx['/'] = Symbol("dartx./"); +var $modulo = dartx['%'] = Symbol("dartx.%"); +var $floorDivide = dartx['~/'] = Symbol("dartx.~/"); +var $leftShift = dartx['<<'] = Symbol("dartx.<<"); +var $rightShift = dartx['>>'] = Symbol("dartx.>>"); +var $tripleShift = dartx['>>>'] = Symbol("dartx.>>>"); +var $lessThan = dartx['<'] = Symbol("dartx.<"); +var $greaterThan = dartx['>'] = Symbol("dartx.>"); +var $lessOrEquals = dartx['<='] = Symbol("dartx.<="); +var $greaterOrEquals = dartx['>='] = Symbol("dartx.>="); +var $isEven = dartx.isEven = Symbol("dartx.isEven"); +var $isOdd = dartx.isOdd = Symbol("dartx.isOdd"); +var $toUnsigned = dartx.toUnsigned = Symbol("dartx.toUnsigned"); +var $toSigned = dartx.toSigned = Symbol("dartx.toSigned"); +var $bitLength = dartx.bitLength = Symbol("dartx.bitLength"); +var $modPow = dartx.modPow = Symbol("dartx.modPow"); +var $modInverse = dartx.modInverse = Symbol("dartx.modInverse"); +var $gcd = dartx.gcd = Symbol("dartx.gcd"); +var $bitNot = dartx['~'] = Symbol("dartx.~"); +var $allMatches = dartx.allMatches = Symbol("dartx.allMatches"); +var $matchAsPrefix = dartx.matchAsPrefix = Symbol("dartx.matchAsPrefix"); +var $endsWith = dartx.endsWith = Symbol("dartx.endsWith"); +var $replaceAll = dartx.replaceAll = Symbol("dartx.replaceAll"); +var $splitMapJoin = dartx.splitMapJoin = Symbol("dartx.splitMapJoin"); +var $replaceAllMapped = dartx.replaceAllMapped = Symbol("dartx.replaceAllMapped"); +var $replaceFirstMapped = dartx.replaceFirstMapped = Symbol("dartx.replaceFirstMapped"); +var $toLowerCase = dartx.toLowerCase = Symbol("dartx.toLowerCase"); +var $toUpperCase = dartx.toUpperCase = Symbol("dartx.toUpperCase"); +var $trimLeft = dartx.trimLeft = Symbol("dartx.trimLeft"); +var $trimRight = dartx.trimRight = Symbol("dartx.trimRight"); +var $padLeft = dartx.padLeft = Symbol("dartx.padLeft"); +var $padRight = dartx.padRight = Symbol("dartx.padRight"); +var $codeUnits = dartx.codeUnits = Symbol("dartx.codeUnits"); +var $runes = dartx.runes = Symbol("dartx.runes"); +var $buffer = dartx.buffer = Symbol("dartx.buffer"); +var $offsetInBytes = dartx.offsetInBytes = Symbol("dartx.offsetInBytes"); +var $containsValue = dartx.containsValue = Symbol("dartx.containsValue"); +var $update = dartx.update = Symbol("dartx.update"); +var $updateAll = dartx.updateAll = Symbol("dartx.updateAll"); +var $addEntries = dartx.addEntries = Symbol("dartx.addEntries"); +var $lengthInBytes = dartx.lengthInBytes = Symbol("dartx.lengthInBytes"); +var $asUint8List = dartx.asUint8List = Symbol("dartx.asUint8List"); +var $asInt8List = dartx.asInt8List = Symbol("dartx.asInt8List"); +var $asUint8ClampedList = dartx.asUint8ClampedList = Symbol("dartx.asUint8ClampedList"); +var $asUint16List = dartx.asUint16List = Symbol("dartx.asUint16List"); +var $asInt16List = dartx.asInt16List = Symbol("dartx.asInt16List"); +var $asUint32List = dartx.asUint32List = Symbol("dartx.asUint32List"); +var $asInt32List = dartx.asInt32List = Symbol("dartx.asInt32List"); +var $asUint64List = dartx.asUint64List = Symbol("dartx.asUint64List"); +var $asInt64List = dartx.asInt64List = Symbol("dartx.asInt64List"); +var $asInt32x4List = dartx.asInt32x4List = Symbol("dartx.asInt32x4List"); +var $asFloat32List = dartx.asFloat32List = Symbol("dartx.asFloat32List"); +var $asFloat64List = dartx.asFloat64List = Symbol("dartx.asFloat64List"); +var $asFloat32x4List = dartx.asFloat32x4List = Symbol("dartx.asFloat32x4List"); +var $asFloat64x2List = dartx.asFloat64x2List = Symbol("dartx.asFloat64x2List"); +var $asByteData = dartx.asByteData = Symbol("dartx.asByteData"); +var $elementSizeInBytes = dartx.elementSizeInBytes = Symbol("dartx.elementSizeInBytes"); +var $getFloat32 = dartx.getFloat32 = Symbol("dartx.getFloat32"); +var $getFloat64 = dartx.getFloat64 = Symbol("dartx.getFloat64"); +var $getInt16 = dartx.getInt16 = Symbol("dartx.getInt16"); +var $getInt32 = dartx.getInt32 = Symbol("dartx.getInt32"); +var $getInt64 = dartx.getInt64 = Symbol("dartx.getInt64"); +var $getInt8 = dartx.getInt8 = Symbol("dartx.getInt8"); +var $getUint16 = dartx.getUint16 = Symbol("dartx.getUint16"); +var $getUint32 = dartx.getUint32 = Symbol("dartx.getUint32"); +var $getUint64 = dartx.getUint64 = Symbol("dartx.getUint64"); +var $getUint8 = dartx.getUint8 = Symbol("dartx.getUint8"); +var $setFloat32 = dartx.setFloat32 = Symbol("dartx.setFloat32"); +var $setFloat64 = dartx.setFloat64 = Symbol("dartx.setFloat64"); +var $setInt16 = dartx.setInt16 = Symbol("dartx.setInt16"); +var $setInt32 = dartx.setInt32 = Symbol("dartx.setInt32"); +var $setInt64 = dartx.setInt64 = Symbol("dartx.setInt64"); +var $setInt8 = dartx.setInt8 = Symbol("dartx.setInt8"); +var $setUint16 = dartx.setUint16 = Symbol("dartx.setUint16"); +var $setUint32 = dartx.setUint32 = Symbol("dartx.setUint32"); +var $setUint64 = dartx.setUint64 = Symbol("dartx.setUint64"); +var $setUint8 = dartx.setUint8 = Symbol("dartx.setUint8"); +var $left = dartx.left = Symbol("dartx.left"); +var $width = dartx.width = Symbol("dartx.width"); +var $top = dartx.top = Symbol("dartx.top"); +var $height = dartx.height = Symbol("dartx.height"); +var $right = dartx.right = Symbol("dartx.right"); +var $bottom = dartx.bottom = Symbol("dartx.bottom"); +var $intersection = dartx.intersection = Symbol("dartx.intersection"); +var $intersects = dartx.intersects = Symbol("dartx.intersects"); +var $boundingBox = dartx.boundingBox = Symbol("dartx.boundingBox"); +var $containsRectangle = dartx.containsRectangle = Symbol("dartx.containsRectangle"); +var $containsPoint = dartx.containsPoint = Symbol("dartx.containsPoint"); +var $topLeft = dartx.topLeft = Symbol("dartx.topLeft"); +var $topRight = dartx.topRight = Symbol("dartx.topRight"); +var $bottomRight = dartx.bottomRight = Symbol("dartx.bottomRight"); +var $bottomLeft = dartx.bottomLeft = Symbol("dartx.bottomLeft"); +var T$ = { + ObjectN: () => (T$.ObjectN = dart.constFn(dart.nullable(core.Object)))(), + ListOfObjectN: () => (T$.ListOfObjectN = dart.constFn(core.List$(T$.ObjectN())))(), + boolN: () => (T$.boolN = dart.constFn(dart.nullable(core.bool)))(), + JSArrayOfString: () => (T$.JSArrayOfString = dart.constFn(_interceptors.JSArray$(core.String)))(), + IdentityMapOfString$ObjectN: () => (T$.IdentityMapOfString$ObjectN = dart.constFn(_js_helper.IdentityMap$(core.String, T$.ObjectN())))(), + ListOfString: () => (T$.ListOfString = dart.constFn(core.List$(core.String)))(), + ListNOfString: () => (T$.ListNOfString = dart.constFn(dart.nullable(T$.ListOfString())))(), + IdentityMapOfString$ListNOfString: () => (T$.IdentityMapOfString$ListNOfString = dart.constFn(_js_helper.IdentityMap$(core.String, T$.ListNOfString())))(), + JSArrayOfTypeVariable: () => (T$.JSArrayOfTypeVariable = dart.constFn(_interceptors.JSArray$(dart.TypeVariable)))(), + ExpandoOfFunction: () => (T$.ExpandoOfFunction = dart.constFn(core.Expando$(core.Function)))(), + IdentityMapOfString$Object: () => (T$.IdentityMapOfString$Object = dart.constFn(_js_helper.IdentityMap$(core.String, core.Object)))(), + ListOfObject: () => (T$.ListOfObject = dart.constFn(core.List$(core.Object)))(), + IdentityMapOfTypeVariable$int: () => (T$.IdentityMapOfTypeVariable$int = dart.constFn(_js_helper.IdentityMap$(dart.TypeVariable, core.int)))(), + IdentityMapOfTypeVariable$Object: () => (T$.IdentityMapOfTypeVariable$Object = dart.constFn(_js_helper.IdentityMap$(dart.TypeVariable, core.Object)))(), + LinkedHashMapOfTypeVariable$TypeConstraint: () => (T$.LinkedHashMapOfTypeVariable$TypeConstraint = dart.constFn(collection.LinkedHashMap$(dart.TypeVariable, dart.TypeConstraint)))(), + JSArrayOfObject: () => (T$.JSArrayOfObject = dart.constFn(_interceptors.JSArray$(core.Object)))(), + ListOfType: () => (T$.ListOfType = dart.constFn(core.List$(core.Type)))(), + SymbolL: () => (T$.SymbolL = dart.constFn(dart.legacy(core.Symbol)))(), + MapOfSymbol$dynamic: () => (T$.MapOfSymbol$dynamic = dart.constFn(core.Map$(core.Symbol, dart.dynamic)))(), + TypeL: () => (T$.TypeL = dart.constFn(dart.legacy(core.Type)))(), + JSArrayOfNameValuePair: () => (T$.JSArrayOfNameValuePair = dart.constFn(_interceptors.JSArray$(_debugger.NameValuePair)))(), + intAnddynamicTovoid: () => (T$.intAnddynamicTovoid = dart.constFn(dart.fnType(dart.void, [core.int, dart.dynamic])))(), + JSArrayOfFormatter: () => (T$.JSArrayOfFormatter = dart.constFn(_interceptors.JSArray$(_debugger.Formatter)))(), + _HashSetOfNameValuePair: () => (T$._HashSetOfNameValuePair = dart.constFn(collection._HashSet$(_debugger.NameValuePair)))(), + IdentityMapOfString$String: () => (T$.IdentityMapOfString$String = dart.constFn(_js_helper.IdentityMap$(core.String, core.String)))(), + dynamicAnddynamicToNull: () => (T$.dynamicAnddynamicToNull = dart.constFn(dart.fnType(core.Null, [dart.dynamic, dart.dynamic])))(), + dynamicAnddynamicTovoid: () => (T$.dynamicAnddynamicTovoid = dart.constFn(dart.fnType(dart.void, [dart.dynamic, dart.dynamic])))(), + dynamicToString: () => (T$.dynamicToString = dart.constFn(dart.fnType(core.String, [dart.dynamic])))(), + ListOfNameValuePair: () => (T$.ListOfNameValuePair = dart.constFn(core.List$(_debugger.NameValuePair)))(), + StringTobool: () => (T$.StringTobool = dart.constFn(dart.fnType(core.bool, [core.String])))(), + VoidToString: () => (T$.VoidToString = dart.constFn(dart.fnType(core.String, [])))(), + StringToNameValuePair: () => (T$.StringToNameValuePair = dart.constFn(dart.fnType(_debugger.NameValuePair, [core.String])))(), + NameValuePairAndNameValuePairToint: () => (T$.NameValuePairAndNameValuePairToint = dart.constFn(dart.fnType(core.int, [_debugger.NameValuePair, _debugger.NameValuePair])))(), + LinkedHashMapOfdynamic$ObjectN: () => (T$.LinkedHashMapOfdynamic$ObjectN = dart.constFn(collection.LinkedHashMap$(dart.dynamic, T$.ObjectN())))(), + dynamicTodynamic: () => (T$.dynamicTodynamic = dart.constFn(dart.fnType(dart.dynamic, [dart.dynamic])))(), + dynamicToObjectN: () => (T$.dynamicToObjectN = dart.constFn(dart.fnType(T$.ObjectN(), [dart.dynamic])))(), + IdentityMapOfString$_MethodStats: () => (T$.IdentityMapOfString$_MethodStats = dart.constFn(_js_helper.IdentityMap$(core.String, _debugger._MethodStats)))(), + StringToString: () => (T$.StringToString = dart.constFn(dart.fnType(core.String, [core.String])))(), + VoidTo_MethodStats: () => (T$.VoidTo_MethodStats = dart.constFn(dart.fnType(_debugger._MethodStats, [])))(), + StringAndStringToint: () => (T$.StringAndStringToint = dart.constFn(dart.fnType(core.int, [core.String, core.String])))(), + JSArrayOfListOfObject: () => (T$.JSArrayOfListOfObject = dart.constFn(_interceptors.JSArray$(T$.ListOfObject())))(), + JSArrayOf_CallMethodRecord: () => (T$.JSArrayOf_CallMethodRecord = dart.constFn(_interceptors.JSArray$(_debugger._CallMethodRecord)))(), + ListN: () => (T$.ListN = dart.constFn(dart.nullable(core.List)))(), + InvocationN: () => (T$.InvocationN = dart.constFn(dart.nullable(core.Invocation)))(), + MapNOfSymbol$dynamic: () => (T$.MapNOfSymbol$dynamic = dart.constFn(dart.nullable(T$.MapOfSymbol$dynamic())))(), + ObjectNAndObjectNToint: () => (T$.ObjectNAndObjectNToint = dart.constFn(dart.fnType(core.int, [T$.ObjectN(), T$.ObjectN()])))(), + dynamicAnddynamicToint: () => (T$.dynamicAnddynamicToint = dart.constFn(dart.fnType(core.int, [dart.dynamic, dart.dynamic])))(), + ObjectAndStackTraceTovoid: () => (T$.ObjectAndStackTraceTovoid = dart.constFn(dart.fnType(dart.void, [core.Object, core.StackTrace])))(), + dynamicTovoid: () => (T$.dynamicTovoid = dart.constFn(dart.fnType(dart.void, [dart.dynamic])))(), + _FutureOfNull: () => (T$._FutureOfNull = dart.constFn(async._Future$(core.Null)))(), + VoidTo_FutureOfNull: () => (T$.VoidTo_FutureOfNull = dart.constFn(dart.fnType(T$._FutureOfNull(), [])))(), + VoidTovoid: () => (T$.VoidTovoid = dart.constFn(dart.fnType(dart.void, [])))(), + FutureOfNull: () => (T$.FutureOfNull = dart.constFn(async.Future$(core.Null)))(), + FutureNOfNull: () => (T$.FutureNOfNull = dart.constFn(dart.nullable(T$.FutureOfNull())))(), + dynamicToFuture: () => (T$.dynamicToFuture = dart.constFn(dart.fnType(async.Future, [dart.dynamic])))(), + _FutureOfString: () => (T$._FutureOfString = dart.constFn(async._Future$(core.String)))(), + _FutureOfbool: () => (T$._FutureOfbool = dart.constFn(async._Future$(core.bool)))(), + VoidTobool: () => (T$.VoidTobool = dart.constFn(dart.fnType(core.bool, [])))(), + boolToNull: () => (T$.boolToNull = dart.constFn(dart.fnType(core.Null, [core.bool])))(), + voidToNull: () => (T$.voidToNull = dart.constFn(dart.fnType(core.Null, [dart.void])))(), + _FutureOfint: () => (T$._FutureOfint = dart.constFn(async._Future$(core.int)))(), + ObjectAndStackTraceToNull: () => (T$.ObjectAndStackTraceToNull = dart.constFn(dart.fnType(core.Null, [core.Object, core.StackTrace])))(), + FutureOfvoid: () => (T$.FutureOfvoid = dart.constFn(async.Future$(dart.void)))(), + VoidToFutureOfvoid: () => (T$.VoidToFutureOfvoid = dart.constFn(dart.fnType(T$.FutureOfvoid(), [])))(), + ObjectTovoid: () => (T$.ObjectTovoid = dart.constFn(dart.fnType(dart.void, [core.Object])))(), + EventSinkTo_ConverterStreamEventSink: () => (T$.EventSinkTo_ConverterStreamEventSink = dart.constFn(dart.fnType(convert._ConverterStreamEventSink, [async.EventSink])))(), + JSArrayOfUint8List: () => (T$.JSArrayOfUint8List = dart.constFn(_interceptors.JSArray$(typed_data.Uint8List)))(), + ObjectNAndObjectNTovoid: () => (T$.ObjectNAndObjectNTovoid = dart.constFn(dart.fnType(dart.void, [T$.ObjectN(), T$.ObjectN()])))(), + ObjectNToObjectN: () => (T$.ObjectNToObjectN = dart.constFn(dart.fnType(T$.ObjectN(), [T$.ObjectN()])))(), + EmptyIteratorOfNeverL: () => (T$.EmptyIteratorOfNeverL = dart.constFn(_internal.EmptyIterator$(dart.legacy(dart.Never))))(), + doubleL: () => (T$.doubleL = dart.constFn(dart.legacy(core.double)))(), + VoidToFutureOfNull: () => (T$.VoidToFutureOfNull = dart.constFn(dart.fnType(T$.FutureOfNull(), [])))(), + VoidToNull: () => (T$.VoidToNull = dart.constFn(dart.fnType(core.Null, [])))(), + VoidToint: () => (T$.VoidToint = dart.constFn(dart.fnType(core.int, [])))(), + JSArrayOfint: () => (T$.JSArrayOfint = dart.constFn(_interceptors.JSArray$(core.int)))(), + StringN: () => (T$.StringN = dart.constFn(dart.nullable(core.String)))(), + JSArrayOfStringN: () => (T$.JSArrayOfStringN = dart.constFn(_interceptors.JSArray$(T$.StringN())))(), + SubListIterableOfString: () => (T$.SubListIterableOfString = dart.constFn(_internal.SubListIterable$(core.String)))(), + EmptyIterableOfString: () => (T$.EmptyIterableOfString = dart.constFn(_internal.EmptyIterable$(core.String)))(), + ObjectNTovoid: () => (T$.ObjectNTovoid = dart.constFn(dart.fnType(dart.void, [T$.ObjectN()])))(), + MatchToString: () => (T$.MatchToString = dart.constFn(dart.fnType(core.String, [core.Match])))(), + IterableOfdouble: () => (T$.IterableOfdouble = dart.constFn(core.Iterable$(core.double)))(), + IterableOfint: () => (T$.IterableOfint = dart.constFn(core.Iterable$(core.int)))(), + intN: () => (T$.intN = dart.constFn(dart.nullable(core.int)))(), + ObjectNTovoid$1: () => (T$.ObjectNTovoid$1 = dart.constFn(dart.fnType(dart.void, [], [T$.ObjectN()])))(), + _FutureOfObjectN: () => (T$._FutureOfObjectN = dart.constFn(async._Future$(T$.ObjectN())))(), + dynamicToNull: () => (T$.dynamicToNull = dart.constFn(dart.fnType(core.Null, [dart.dynamic])))(), + _FutureOfvoid: () => (T$._FutureOfvoid = dart.constFn(async._Future$(dart.void)))(), + VoidToObject: () => (T$.VoidToObject = dart.constFn(dart.fnType(core.Object, [])))(), + ObjectTodynamic: () => (T$.ObjectTodynamic = dart.constFn(dart.fnType(dart.dynamic, [core.Object])))(), + VoidToStackTrace: () => (T$.VoidToStackTrace = dart.constFn(dart.fnType(core.StackTrace, [])))(), + StackTraceTodynamic: () => (T$.StackTraceTodynamic = dart.constFn(dart.fnType(dart.dynamic, [core.StackTrace])))(), + ObjectNTobool: () => (T$.ObjectNTobool = dart.constFn(dart.fnType(core.bool, [T$.ObjectN()])))(), + FutureOrOfbool: () => (T$.FutureOrOfbool = dart.constFn(async.FutureOr$(core.bool)))(), + VoidToFutureOrOfbool: () => (T$.VoidToFutureOrOfbool = dart.constFn(dart.fnType(T$.FutureOrOfbool(), [])))(), + boolTovoid: () => (T$.boolTovoid = dart.constFn(dart.fnType(dart.void, [core.bool])))(), + VoidToFn: () => (T$.VoidToFn = dart.constFn(dart.fnType(T$.boolTovoid(), [])))(), + FnTodynamic: () => (T$.FnTodynamic = dart.constFn(dart.fnType(dart.dynamic, [T$.boolTovoid()])))(), + FutureOfbool: () => (T$.FutureOfbool = dart.constFn(async.Future$(core.bool)))(), + ObjectTobool: () => (T$.ObjectTobool = dart.constFn(dart.fnType(core.bool, [core.Object])))(), + VoidTodynamic: () => (T$.VoidTodynamic = dart.constFn(dart.fnType(dart.dynamic, [])))(), + ObjectAndStackTraceTodynamic: () => (T$.ObjectAndStackTraceTodynamic = dart.constFn(dart.fnType(dart.dynamic, [core.Object, core.StackTrace])))(), + _FutureListenerOfObject$Object: () => (T$._FutureListenerOfObject$Object = dart.constFn(async._FutureListener$(core.Object, core.Object)))(), + _FutureListenerNOfObject$Object: () => (T$._FutureListenerNOfObject$Object = dart.constFn(dart.nullable(T$._FutureListenerOfObject$Object())))(), + JSArrayOfFunction: () => (T$.JSArrayOfFunction = dart.constFn(_interceptors.JSArray$(core.Function)))(), + _FutureListenerN: () => (T$._FutureListenerN = dart.constFn(dart.nullable(async._FutureListener)))(), + dynamicTo_Future: () => (T$.dynamicTo_Future = dart.constFn(dart.fnType(async._Future, [dart.dynamic])))(), + _StreamControllerAddStreamStateOfObjectN: () => (T$._StreamControllerAddStreamStateOfObjectN = dart.constFn(async._StreamControllerAddStreamState$(T$.ObjectN())))(), + FunctionN: () => (T$.FunctionN = dart.constFn(dart.nullable(core.Function)))(), + AsyncErrorN: () => (T$.AsyncErrorN = dart.constFn(dart.nullable(async.AsyncError)))(), + StackTraceN: () => (T$.StackTraceN = dart.constFn(dart.nullable(core.StackTrace)))(), + ZoneAndZoneDelegateAndZone__ToAsyncErrorN: () => (T$.ZoneAndZoneDelegateAndZone__ToAsyncErrorN = dart.constFn(dart.fnType(T$.AsyncErrorN(), [async.Zone, async.ZoneDelegate, async.Zone, core.Object, T$.StackTraceN()])))(), + _ZoneFunctionOfZoneAndZoneDelegateAndZone__ToAsyncErrorN: () => (T$._ZoneFunctionOfZoneAndZoneDelegateAndZone__ToAsyncErrorN = dart.constFn(async._ZoneFunction$(T$.ZoneAndZoneDelegateAndZone__ToAsyncErrorN())))(), + ZoneAndZoneDelegateAndZone__Tovoid: () => (T$.ZoneAndZoneDelegateAndZone__Tovoid = dart.constFn(dart.fnType(dart.void, [async.Zone, async.ZoneDelegate, async.Zone, T$.VoidTovoid()])))(), + _ZoneFunctionOfZoneAndZoneDelegateAndZone__Tovoid: () => (T$._ZoneFunctionOfZoneAndZoneDelegateAndZone__Tovoid = dart.constFn(async._ZoneFunction$(T$.ZoneAndZoneDelegateAndZone__Tovoid())))(), + ZoneAndZoneDelegateAndZone__ToTimer: () => (T$.ZoneAndZoneDelegateAndZone__ToTimer = dart.constFn(dart.fnType(async.Timer, [async.Zone, async.ZoneDelegate, async.Zone, core.Duration, T$.VoidTovoid()])))(), + _ZoneFunctionOfZoneAndZoneDelegateAndZone__ToTimer: () => (T$._ZoneFunctionOfZoneAndZoneDelegateAndZone__ToTimer = dart.constFn(async._ZoneFunction$(T$.ZoneAndZoneDelegateAndZone__ToTimer())))(), + TimerTovoid: () => (T$.TimerTovoid = dart.constFn(dart.fnType(dart.void, [async.Timer])))(), + ZoneAndZoneDelegateAndZone__ToTimer$1: () => (T$.ZoneAndZoneDelegateAndZone__ToTimer$1 = dart.constFn(dart.fnType(async.Timer, [async.Zone, async.ZoneDelegate, async.Zone, core.Duration, T$.TimerTovoid()])))(), + _ZoneFunctionOfZoneAndZoneDelegateAndZone__ToTimer$1: () => (T$._ZoneFunctionOfZoneAndZoneDelegateAndZone__ToTimer$1 = dart.constFn(async._ZoneFunction$(T$.ZoneAndZoneDelegateAndZone__ToTimer$1())))(), + ZoneAndZoneDelegateAndZone__Tovoid$1: () => (T$.ZoneAndZoneDelegateAndZone__Tovoid$1 = dart.constFn(dart.fnType(dart.void, [async.Zone, async.ZoneDelegate, async.Zone, core.String])))(), + _ZoneFunctionOfZoneAndZoneDelegateAndZone__Tovoid$1: () => (T$._ZoneFunctionOfZoneAndZoneDelegateAndZone__Tovoid$1 = dart.constFn(async._ZoneFunction$(T$.ZoneAndZoneDelegateAndZone__Tovoid$1())))(), + ZoneSpecificationN: () => (T$.ZoneSpecificationN = dart.constFn(dart.nullable(async.ZoneSpecification)))(), + MapOfObjectN$ObjectN: () => (T$.MapOfObjectN$ObjectN = dart.constFn(core.Map$(T$.ObjectN(), T$.ObjectN())))(), + MapNOfObjectN$ObjectN: () => (T$.MapNOfObjectN$ObjectN = dart.constFn(dart.nullable(T$.MapOfObjectN$ObjectN())))(), + ZoneAndZoneDelegateAndZone__ToZone: () => (T$.ZoneAndZoneDelegateAndZone__ToZone = dart.constFn(dart.fnType(async.Zone, [async.Zone, async.ZoneDelegate, async.Zone, T$.ZoneSpecificationN(), T$.MapNOfObjectN$ObjectN()])))(), + _ZoneFunctionOfZoneAndZoneDelegateAndZone__ToZone: () => (T$._ZoneFunctionOfZoneAndZoneDelegateAndZone__ToZone = dart.constFn(async._ZoneFunction$(T$.ZoneAndZoneDelegateAndZone__ToZone())))(), + ZoneAndZoneDelegateAndZone__Tovoid$2: () => (T$.ZoneAndZoneDelegateAndZone__Tovoid$2 = dart.constFn(dart.fnType(dart.void, [async.Zone, async.ZoneDelegate, async.Zone, core.Object, core.StackTrace])))(), + _ZoneFunctionOfZoneAndZoneDelegateAndZone__Tovoid$2: () => (T$._ZoneFunctionOfZoneAndZoneDelegateAndZone__Tovoid$2 = dart.constFn(async._ZoneFunction$(T$.ZoneAndZoneDelegateAndZone__Tovoid$2())))(), + ZoneN: () => (T$.ZoneN = dart.constFn(dart.nullable(async.Zone)))(), + ZoneDelegateN: () => (T$.ZoneDelegateN = dart.constFn(dart.nullable(async.ZoneDelegate)))(), + ZoneNAndZoneDelegateNAndZone__ToR: () => (T$.ZoneNAndZoneDelegateNAndZone__ToR = dart.constFn(dart.gFnType(R => [R, [T$.ZoneN(), T$.ZoneDelegateN(), async.Zone, dart.fnType(R, [])]], R => [T$.ObjectN()])))(), + ZoneNAndZoneDelegateNAndZone__ToR$1: () => (T$.ZoneNAndZoneDelegateNAndZone__ToR$1 = dart.constFn(dart.gFnType((R, T) => [R, [T$.ZoneN(), T$.ZoneDelegateN(), async.Zone, dart.fnType(R, [T]), T]], (R, T) => [T$.ObjectN(), T$.ObjectN()])))(), + ZoneNAndZoneDelegateNAndZone__ToR$2: () => (T$.ZoneNAndZoneDelegateNAndZone__ToR$2 = dart.constFn(dart.gFnType((R, T1, T2) => [R, [T$.ZoneN(), T$.ZoneDelegateN(), async.Zone, dart.fnType(R, [T1, T2]), T1, T2]], (R, T1, T2) => [T$.ObjectN(), T$.ObjectN(), T$.ObjectN()])))(), + ZoneAndZoneDelegateAndZone__ToFn: () => (T$.ZoneAndZoneDelegateAndZone__ToFn = dart.constFn(dart.gFnType(R => [dart.fnType(R, []), [async.Zone, async.ZoneDelegate, async.Zone, dart.fnType(R, [])]], R => [T$.ObjectN()])))(), + ZoneAndZoneDelegateAndZone__ToFn$1: () => (T$.ZoneAndZoneDelegateAndZone__ToFn$1 = dart.constFn(dart.gFnType((R, T) => [dart.fnType(R, [T]), [async.Zone, async.ZoneDelegate, async.Zone, dart.fnType(R, [T])]], (R, T) => [T$.ObjectN(), T$.ObjectN()])))(), + ZoneAndZoneDelegateAndZone__ToFn$2: () => (T$.ZoneAndZoneDelegateAndZone__ToFn$2 = dart.constFn(dart.gFnType((R, T1, T2) => [dart.fnType(R, [T1, T2]), [async.Zone, async.ZoneDelegate, async.Zone, dart.fnType(R, [T1, T2])]], (R, T1, T2) => [T$.ObjectN(), T$.ObjectN(), T$.ObjectN()])))(), + ZoneL: () => (T$.ZoneL = dart.constFn(dart.legacy(async.Zone)))(), + ZoneDelegateL: () => (T$.ZoneDelegateL = dart.constFn(dart.legacy(async.ZoneDelegate)))(), + ObjectL: () => (T$.ObjectL = dart.constFn(dart.legacy(core.Object)))(), + ZoneLAndZoneDelegateLAndZoneL__ToAsyncErrorN: () => (T$.ZoneLAndZoneDelegateLAndZoneL__ToAsyncErrorN = dart.constFn(dart.fnType(T$.AsyncErrorN(), [T$.ZoneL(), T$.ZoneDelegateL(), T$.ZoneL(), T$.ObjectL(), T$.StackTraceN()])))(), + ZoneLAndZoneDelegateLAndZoneL__ToLAsyncErrorN: () => (T$.ZoneLAndZoneDelegateLAndZoneL__ToLAsyncErrorN = dart.constFn(dart.legacy(T$.ZoneLAndZoneDelegateLAndZoneL__ToAsyncErrorN())))(), + _ZoneFunctionOfZoneLAndZoneDelegateLAndZoneL__ToLAsyncErrorN: () => (T$._ZoneFunctionOfZoneLAndZoneDelegateLAndZoneL__ToLAsyncErrorN = dart.constFn(async._ZoneFunction$(T$.ZoneLAndZoneDelegateLAndZoneL__ToLAsyncErrorN())))(), + VoidToLvoid: () => (T$.VoidToLvoid = dart.constFn(dart.legacy(T$.VoidTovoid())))(), + ZoneLAndZoneDelegateLAndZoneL__Tovoid: () => (T$.ZoneLAndZoneDelegateLAndZoneL__Tovoid = dart.constFn(dart.fnType(dart.void, [T$.ZoneL(), T$.ZoneDelegateL(), T$.ZoneL(), T$.VoidToLvoid()])))(), + ZoneLAndZoneDelegateLAndZoneL__ToLvoid: () => (T$.ZoneLAndZoneDelegateLAndZoneL__ToLvoid = dart.constFn(dart.legacy(T$.ZoneLAndZoneDelegateLAndZoneL__Tovoid())))(), + _ZoneFunctionOfZoneLAndZoneDelegateLAndZoneL__ToLvoid: () => (T$._ZoneFunctionOfZoneLAndZoneDelegateLAndZoneL__ToLvoid = dart.constFn(async._ZoneFunction$(T$.ZoneLAndZoneDelegateLAndZoneL__ToLvoid())))(), + ZoneNAndZoneDelegateNAndZone__Tovoid: () => (T$.ZoneNAndZoneDelegateNAndZone__Tovoid = dart.constFn(dart.fnType(dart.void, [T$.ZoneN(), T$.ZoneDelegateN(), async.Zone, T$.VoidTovoid()])))(), + TimerL: () => (T$.TimerL = dart.constFn(dart.legacy(async.Timer)))(), + DurationL: () => (T$.DurationL = dart.constFn(dart.legacy(core.Duration)))(), + ZoneLAndZoneDelegateLAndZoneL__ToTimerL: () => (T$.ZoneLAndZoneDelegateLAndZoneL__ToTimerL = dart.constFn(dart.fnType(T$.TimerL(), [T$.ZoneL(), T$.ZoneDelegateL(), T$.ZoneL(), T$.DurationL(), T$.VoidToLvoid()])))(), + ZoneLAndZoneDelegateLAndZoneL__ToLTimerL: () => (T$.ZoneLAndZoneDelegateLAndZoneL__ToLTimerL = dart.constFn(dart.legacy(T$.ZoneLAndZoneDelegateLAndZoneL__ToTimerL())))(), + _ZoneFunctionOfZoneLAndZoneDelegateLAndZoneL__ToLTimerL: () => (T$._ZoneFunctionOfZoneLAndZoneDelegateLAndZoneL__ToLTimerL = dart.constFn(async._ZoneFunction$(T$.ZoneLAndZoneDelegateLAndZoneL__ToLTimerL())))(), + TimerLTovoid: () => (T$.TimerLTovoid = dart.constFn(dart.fnType(dart.void, [T$.TimerL()])))(), + TimerLToLvoid: () => (T$.TimerLToLvoid = dart.constFn(dart.legacy(T$.TimerLTovoid())))(), + ZoneLAndZoneDelegateLAndZoneL__ToTimerL$1: () => (T$.ZoneLAndZoneDelegateLAndZoneL__ToTimerL$1 = dart.constFn(dart.fnType(T$.TimerL(), [T$.ZoneL(), T$.ZoneDelegateL(), T$.ZoneL(), T$.DurationL(), T$.TimerLToLvoid()])))(), + ZoneLAndZoneDelegateLAndZoneL__ToLTimerL$1: () => (T$.ZoneLAndZoneDelegateLAndZoneL__ToLTimerL$1 = dart.constFn(dart.legacy(T$.ZoneLAndZoneDelegateLAndZoneL__ToTimerL$1())))(), + _ZoneFunctionOfZoneLAndZoneDelegateLAndZoneL__ToLTimerL$1: () => (T$._ZoneFunctionOfZoneLAndZoneDelegateLAndZoneL__ToLTimerL$1 = dart.constFn(async._ZoneFunction$(T$.ZoneLAndZoneDelegateLAndZoneL__ToLTimerL$1())))(), + StringL: () => (T$.StringL = dart.constFn(dart.legacy(core.String)))(), + ZoneLAndZoneDelegateLAndZoneL__Tovoid$1: () => (T$.ZoneLAndZoneDelegateLAndZoneL__Tovoid$1 = dart.constFn(dart.fnType(dart.void, [T$.ZoneL(), T$.ZoneDelegateL(), T$.ZoneL(), T$.StringL()])))(), + ZoneLAndZoneDelegateLAndZoneL__ToLvoid$1: () => (T$.ZoneLAndZoneDelegateLAndZoneL__ToLvoid$1 = dart.constFn(dart.legacy(T$.ZoneLAndZoneDelegateLAndZoneL__Tovoid$1())))(), + _ZoneFunctionOfZoneLAndZoneDelegateLAndZoneL__ToLvoid$1: () => (T$._ZoneFunctionOfZoneLAndZoneDelegateLAndZoneL__ToLvoid$1 = dart.constFn(async._ZoneFunction$(T$.ZoneLAndZoneDelegateLAndZoneL__ToLvoid$1())))(), + ZoneLAndZoneDelegateLAndZoneL__ToZoneL: () => (T$.ZoneLAndZoneDelegateLAndZoneL__ToZoneL = dart.constFn(dart.fnType(T$.ZoneL(), [T$.ZoneL(), T$.ZoneDelegateL(), T$.ZoneL(), T$.ZoneSpecificationN(), T$.MapNOfObjectN$ObjectN()])))(), + ZoneLAndZoneDelegateLAndZoneL__ToLZoneL: () => (T$.ZoneLAndZoneDelegateLAndZoneL__ToLZoneL = dart.constFn(dart.legacy(T$.ZoneLAndZoneDelegateLAndZoneL__ToZoneL())))(), + _ZoneFunctionOfZoneLAndZoneDelegateLAndZoneL__ToLZoneL: () => (T$._ZoneFunctionOfZoneLAndZoneDelegateLAndZoneL__ToLZoneL = dart.constFn(async._ZoneFunction$(T$.ZoneLAndZoneDelegateLAndZoneL__ToLZoneL())))(), + ZoneNAndZoneDelegateNAndZone__ToZone: () => (T$.ZoneNAndZoneDelegateNAndZone__ToZone = dart.constFn(dart.fnType(async.Zone, [T$.ZoneN(), T$.ZoneDelegateN(), async.Zone, T$.ZoneSpecificationN(), T$.MapNOfObjectN$ObjectN()])))(), + StackTraceL: () => (T$.StackTraceL = dart.constFn(dart.legacy(core.StackTrace)))(), + ZoneLAndZoneDelegateLAndZoneL__Tovoid$2: () => (T$.ZoneLAndZoneDelegateLAndZoneL__Tovoid$2 = dart.constFn(dart.fnType(dart.void, [T$.ZoneL(), T$.ZoneDelegateL(), T$.ZoneL(), T$.ObjectL(), T$.StackTraceL()])))(), + ZoneLAndZoneDelegateLAndZoneL__ToLvoid$2: () => (T$.ZoneLAndZoneDelegateLAndZoneL__ToLvoid$2 = dart.constFn(dart.legacy(T$.ZoneLAndZoneDelegateLAndZoneL__Tovoid$2())))(), + _ZoneFunctionOfZoneLAndZoneDelegateLAndZoneL__ToLvoid$2: () => (T$._ZoneFunctionOfZoneLAndZoneDelegateLAndZoneL__ToLvoid$2 = dart.constFn(async._ZoneFunction$(T$.ZoneLAndZoneDelegateLAndZoneL__ToLvoid$2())))(), + ZoneNAndZoneDelegateNAndZone__Tovoid$1: () => (T$.ZoneNAndZoneDelegateNAndZone__Tovoid$1 = dart.constFn(dart.fnType(dart.void, [T$.ZoneN(), T$.ZoneDelegateN(), async.Zone, core.Object, core.StackTrace])))(), + NeverAndNeverTodynamic: () => (T$.NeverAndNeverTodynamic = dart.constFn(dart.fnType(dart.dynamic, [dart.Never, dart.Never])))(), + StringTovoid: () => (T$.StringTovoid = dart.constFn(dart.fnType(dart.void, [core.String])))(), + HashMapOfObjectN$ObjectN: () => (T$.HashMapOfObjectN$ObjectN = dart.constFn(collection.HashMap$(T$.ObjectN(), T$.ObjectN())))(), + JSArrayOfObjectN: () => (T$.JSArrayOfObjectN = dart.constFn(_interceptors.JSArray$(T$.ObjectN())))(), + ObjectNToint: () => (T$.ObjectNToint = dart.constFn(dart.fnType(core.int, [T$.ObjectN()])))(), + ObjectNAndObjectNTobool: () => (T$.ObjectNAndObjectNTobool = dart.constFn(dart.fnType(core.bool, [T$.ObjectN(), T$.ObjectN()])))(), + LinkedListEntryOfLinkedListEntry: () => (T$.LinkedListEntryOfLinkedListEntry = dart.constFn(collection.LinkedListEntry$(collection.LinkedListEntry)))() +}; +var T$0 = { + dynamicTobool: () => (T$0.dynamicTobool = dart.constFn(dart.fnType(core.bool, [dart.dynamic])))(), + ComparableAndComparableToint: () => (T$0.ComparableAndComparableToint = dart.constFn(dart.fnType(core.int, [core.Comparable, core.Comparable])))(), + MappedIterableOfString$dynamic: () => (T$0.MappedIterableOfString$dynamic = dart.constFn(_internal.MappedIterable$(core.String, dart.dynamic)))(), + ObjectNTodynamic: () => (T$0.ObjectNTodynamic = dart.constFn(dart.fnType(dart.dynamic, [T$.ObjectN()])))(), + MapOfString$dynamic: () => (T$0.MapOfString$dynamic = dart.constFn(core.Map$(core.String, dart.dynamic)))(), + StringAnddynamicTovoid: () => (T$0.StringAnddynamicTovoid = dart.constFn(dart.fnType(dart.void, [core.String, dart.dynamic])))(), + IdentityMapOfString$dynamic: () => (T$0.IdentityMapOfString$dynamic = dart.constFn(_js_helper.IdentityMap$(core.String, dart.dynamic)))(), + ListOfint: () => (T$0.ListOfint = dart.constFn(core.List$(core.int)))(), + StringBufferAndStringToStringBuffer: () => (T$0.StringBufferAndStringToStringBuffer = dart.constFn(dart.fnType(core.StringBuffer, [core.StringBuffer, core.String])))(), + StringBufferToString: () => (T$0.StringBufferToString = dart.constFn(dart.fnType(core.String, [core.StringBuffer])))(), + IdentityMapOfString$Encoding: () => (T$0.IdentityMapOfString$Encoding = dart.constFn(_js_helper.IdentityMap$(core.String, convert.Encoding)))(), + SinkOfListOfint: () => (T$0.SinkOfListOfint = dart.constFn(core.Sink$(T$0.ListOfint())))(), + StreamOfString: () => (T$0.StreamOfString = dart.constFn(async.Stream$(core.String)))(), + StreamOfListOfint: () => (T$0.StreamOfListOfint = dart.constFn(async.Stream$(T$0.ListOfint())))(), + SinkOfString: () => (T$0.SinkOfString = dart.constFn(core.Sink$(core.String)))(), + intL: () => (T$0.intL = dart.constFn(dart.legacy(core.int)))(), + StreamOfObjectN: () => (T$0.StreamOfObjectN = dart.constFn(async.Stream$(T$.ObjectN())))(), + JSArrayOfListOfint: () => (T$0.JSArrayOfListOfint = dart.constFn(_interceptors.JSArray$(T$0.ListOfint())))(), + Uint8ListAndintAndintTovoid: () => (T$0.Uint8ListAndintAndintTovoid = dart.constFn(dart.fnType(dart.void, [typed_data.Uint8List, core.int, core.int])))(), + SyncIterableOfString: () => (T$0.SyncIterableOfString = dart.constFn(_js_helper.SyncIterable$(core.String)))(), + EventSinkOfString: () => (T$0.EventSinkOfString = dart.constFn(async.EventSink$(core.String)))(), + EventSinkOfStringTo_LineSplitterEventSink: () => (T$0.EventSinkOfStringTo_LineSplitterEventSink = dart.constFn(dart.fnType(convert._LineSplitterEventSink, [T$0.EventSinkOfString()])))(), + VoidToObjectN: () => (T$0.VoidToObjectN = dart.constFn(dart.fnType(T$.ObjectN(), [])))(), + IdentityMapOfString$_FakeUserTag: () => (T$0.IdentityMapOfString$_FakeUserTag = dart.constFn(_js_helper.IdentityMap$(core.String, developer._FakeUserTag)))(), + LinkedMapOfString$Metric: () => (T$0.LinkedMapOfString$Metric = dart.constFn(_js_helper.LinkedMap$(core.String, developer.Metric)))(), + UriN: () => (T$0.UriN = dart.constFn(dart.nullable(core.Uri)))(), + CompleterOfUriN: () => (T$0.CompleterOfUriN = dart.constFn(async.Completer$(T$0.UriN())))(), + UriNTovoid: () => (T$0.UriNTovoid = dart.constFn(dart.fnType(dart.void, [T$0.UriN()])))(), + CompleterOfUri: () => (T$0.CompleterOfUri = dart.constFn(async.Completer$(core.Uri)))(), + UriTovoid: () => (T$0.UriTovoid = dart.constFn(dart.fnType(dart.void, [core.Uri])))(), + _SyncBlockN: () => (T$0._SyncBlockN = dart.constFn(dart.nullable(developer._SyncBlock)))(), + JSArrayOf_SyncBlockN: () => (T$0.JSArrayOf_SyncBlockN = dart.constFn(_interceptors.JSArray$(T$0._SyncBlockN())))(), + JSArrayOf_AsyncBlock: () => (T$0.JSArrayOf_AsyncBlock = dart.constFn(_interceptors.JSArray$(developer._AsyncBlock)))(), + LinkedMapOfObjectN$ObjectN: () => (T$0.LinkedMapOfObjectN$ObjectN = dart.constFn(_js_helper.LinkedMap$(T$.ObjectN(), T$.ObjectN())))(), + FutureOfServiceExtensionResponse: () => (T$0.FutureOfServiceExtensionResponse = dart.constFn(async.Future$(developer.ServiceExtensionResponse)))(), + MapOfString$String: () => (T$0.MapOfString$String = dart.constFn(core.Map$(core.String, core.String)))(), + StringAndMapOfString$StringToFutureOfServiceExtensionResponse: () => (T$0.StringAndMapOfString$StringToFutureOfServiceExtensionResponse = dart.constFn(dart.fnType(T$0.FutureOfServiceExtensionResponse(), [core.String, T$0.MapOfString$String()])))(), + IdentityMapOfString$StringAndMapOfString$StringToFutureOfServiceExtensionResponse: () => (T$0.IdentityMapOfString$StringAndMapOfString$StringToFutureOfServiceExtensionResponse = dart.constFn(_js_helper.IdentityMap$(core.String, T$0.StringAndMapOfString$StringToFutureOfServiceExtensionResponse())))(), + VoidToUint8List: () => (T$0.VoidToUint8List = dart.constFn(dart.fnType(typed_data.Uint8List, [])))(), + Uint8ListTodynamic: () => (T$0.Uint8ListTodynamic = dart.constFn(dart.fnType(dart.dynamic, [typed_data.Uint8List])))(), + FutureOfDirectory: () => (T$0.FutureOfDirectory = dart.constFn(async.Future$(io.Directory)))(), + DirectoryToFutureOfDirectory: () => (T$0.DirectoryToFutureOfDirectory = dart.constFn(dart.fnType(T$0.FutureOfDirectory(), [io.Directory])))(), + FutureOrOfDirectory: () => (T$0.FutureOrOfDirectory = dart.constFn(async.FutureOr$(io.Directory)))(), + boolToFutureOrOfDirectory: () => (T$0.boolToFutureOrOfDirectory = dart.constFn(dart.fnType(T$0.FutureOrOfDirectory(), [core.bool])))(), + dynamicTo_Directory: () => (T$0.dynamicTo_Directory = dart.constFn(dart.fnType(io._Directory, [dart.dynamic])))(), + dynamicToDirectory: () => (T$0.dynamicToDirectory = dart.constFn(dart.fnType(io.Directory, [dart.dynamic])))(), + JSArrayOfFileSystemEntity: () => (T$0.JSArrayOfFileSystemEntity = dart.constFn(_interceptors.JSArray$(io.FileSystemEntity)))(), + FutureOrOfString: () => (T$0.FutureOrOfString = dart.constFn(async.FutureOr$(core.String)))(), + dynamicToFutureOrOfString: () => (T$0.dynamicToFutureOrOfString = dart.constFn(dart.fnType(T$0.FutureOrOfString(), [dart.dynamic])))(), + dynamicToFutureOrOfbool: () => (T$0.dynamicToFutureOrOfbool = dart.constFn(dart.fnType(T$.FutureOrOfbool(), [dart.dynamic])))(), + FileSystemEntityTypeTobool: () => (T$0.FileSystemEntityTypeTobool = dart.constFn(dart.fnType(core.bool, [io.FileSystemEntityType])))(), + dynamicToFileSystemEntityType: () => (T$0.dynamicToFileSystemEntityType = dart.constFn(dart.fnType(io.FileSystemEntityType, [dart.dynamic])))(), + StreamControllerOfFileSystemEntity: () => (T$0.StreamControllerOfFileSystemEntity = dart.constFn(async.StreamController$(io.FileSystemEntity)))(), + StreamControllerOfUint8List: () => (T$0.StreamControllerOfUint8List = dart.constFn(async.StreamController$(typed_data.Uint8List)))(), + VoidToFuture: () => (T$0.VoidToFuture = dart.constFn(dart.fnType(async.Future, [])))(), + Uint8ListToNull: () => (T$0.Uint8ListToNull = dart.constFn(dart.fnType(core.Null, [typed_data.Uint8List])))(), + RandomAccessFileTovoid: () => (T$0.RandomAccessFileTovoid = dart.constFn(dart.fnType(dart.void, [io.RandomAccessFile])))(), + FutureOfRandomAccessFile: () => (T$0.FutureOfRandomAccessFile = dart.constFn(async.Future$(io.RandomAccessFile)))(), + FileN: () => (T$0.FileN = dart.constFn(dart.nullable(io.File)))(), + CompleterOfFileN: () => (T$0.CompleterOfFileN = dart.constFn(async.Completer$(T$0.FileN())))(), + StreamSubscriptionOfListOfint: () => (T$0.StreamSubscriptionOfListOfint = dart.constFn(async.StreamSubscription$(T$0.ListOfint())))(), + VoidToStreamSubscriptionOfListOfint: () => (T$0.VoidToStreamSubscriptionOfListOfint = dart.constFn(dart.fnType(T$0.StreamSubscriptionOfListOfint(), [])))(), + StreamSubscriptionOfListOfintTodynamic: () => (T$0.StreamSubscriptionOfListOfintTodynamic = dart.constFn(dart.fnType(dart.dynamic, [T$0.StreamSubscriptionOfListOfint()])))(), + dynamicAndStackTraceTovoid: () => (T$0.dynamicAndStackTraceTovoid = dart.constFn(dart.fnType(dart.void, [dart.dynamic, core.StackTrace])))(), + ListOfintTovoid: () => (T$0.ListOfintTovoid = dart.constFn(dart.fnType(dart.void, [T$0.ListOfint()])))(), + RandomAccessFileToNull: () => (T$0.RandomAccessFileToNull = dart.constFn(dart.fnType(core.Null, [io.RandomAccessFile])))(), + RandomAccessFileToFutureOfvoid: () => (T$0.RandomAccessFileToFutureOfvoid = dart.constFn(dart.fnType(T$.FutureOfvoid(), [io.RandomAccessFile])))(), + voidToFileN: () => (T$0.voidToFileN = dart.constFn(dart.fnType(T$0.FileN(), [dart.void])))(), + DirectoryN: () => (T$0.DirectoryN = dart.constFn(dart.nullable(io.Directory)))(), + DirectoryNToFuture: () => (T$0.DirectoryNToFuture = dart.constFn(dart.fnType(async.Future, [T$0.DirectoryN()])))(), + dynamicTo_File: () => (T$0.dynamicTo_File = dart.constFn(dart.fnType(io._File, [dart.dynamic])))(), + FileSystemEntityTo_File: () => (T$0.FileSystemEntityTo_File = dart.constFn(dart.fnType(io._File, [io.FileSystemEntity])))(), + dynamicToFile: () => (T$0.dynamicToFile = dart.constFn(dart.fnType(io.File, [dart.dynamic])))(), + dynamicTo_RandomAccessFile: () => (T$0.dynamicTo_RandomAccessFile = dart.constFn(dart.fnType(io._RandomAccessFile, [dart.dynamic])))(), + FutureOrOfint: () => (T$0.FutureOrOfint = dart.constFn(async.FutureOr$(core.int)))(), + dynamicToFutureOrOfint: () => (T$0.dynamicToFutureOrOfint = dart.constFn(dart.fnType(T$0.FutureOrOfint(), [dart.dynamic])))(), + dynamicToDateTime: () => (T$0.dynamicToDateTime = dart.constFn(dart.fnType(core.DateTime, [dart.dynamic])))(), + CompleterOfUint8List: () => (T$0.CompleterOfUint8List = dart.constFn(async.Completer$(typed_data.Uint8List)))(), + FutureOfUint8List: () => (T$0.FutureOfUint8List = dart.constFn(async.Future$(typed_data.Uint8List)))(), + RandomAccessFileToFutureOfUint8List: () => (T$0.RandomAccessFileToFutureOfUint8List = dart.constFn(dart.fnType(T$0.FutureOfUint8List(), [io.RandomAccessFile])))(), + intToFutureOfUint8List: () => (T$0.intToFutureOfUint8List = dart.constFn(dart.fnType(T$0.FutureOfUint8List(), [core.int])))(), + FutureOfString: () => (T$0.FutureOfString = dart.constFn(async.Future$(core.String)))(), + Uint8ListToFutureOrOfString: () => (T$0.Uint8ListToFutureOrOfString = dart.constFn(dart.fnType(T$0.FutureOrOfString(), [typed_data.Uint8List])))(), + RandomAccessFileTo_File: () => (T$0.RandomAccessFileTo_File = dart.constFn(dart.fnType(io._File, [io.RandomAccessFile])))(), + FutureOrOfFile: () => (T$0.FutureOrOfFile = dart.constFn(async.FutureOr$(io.File)))(), + RandomAccessFileToFutureOrOfFile: () => (T$0.RandomAccessFileToFutureOrOfFile = dart.constFn(dart.fnType(T$0.FutureOrOfFile(), [io.RandomAccessFile])))(), + FutureOfFile: () => (T$0.FutureOfFile = dart.constFn(async.Future$(io.File)))(), + RandomAccessFileToFutureOfFile: () => (T$0.RandomAccessFileToFutureOfFile = dart.constFn(dart.fnType(T$0.FutureOfFile(), [io.RandomAccessFile])))(), + dynamicAnddynamicToFutureOfServiceExtensionResponse: () => (T$0.dynamicAnddynamicToFutureOfServiceExtensionResponse = dart.constFn(dart.fnType(T$0.FutureOfServiceExtensionResponse(), [dart.dynamic, dart.dynamic])))(), + dynamicToUint8List: () => (T$0.dynamicToUint8List = dart.constFn(dart.fnType(typed_data.Uint8List, [dart.dynamic])))(), + FutureOfint: () => (T$0.FutureOfint = dart.constFn(async.Future$(core.int)))(), + dynamicToint: () => (T$0.dynamicToint = dart.constFn(dart.fnType(core.int, [dart.dynamic])))(), + FileSystemEntityTypeL: () => (T$0.FileSystemEntityTypeL = dart.constFn(dart.legacy(io.FileSystemEntityType)))(), + dynamicToFileStat: () => (T$0.dynamicToFileStat = dart.constFn(dart.fnType(io.FileStat, [dart.dynamic])))(), + ListOfMapOfString$dynamic: () => (T$0.ListOfMapOfString$dynamic = dart.constFn(core.List$(T$0.MapOfString$dynamic())))(), + _FileResourceInfoToMapOfString$dynamic: () => (T$0._FileResourceInfoToMapOfString$dynamic = dart.constFn(dart.fnType(T$0.MapOfString$dynamic(), [io._FileResourceInfo])))(), + IdentityMapOfint$_FileResourceInfo: () => (T$0.IdentityMapOfint$_FileResourceInfo = dart.constFn(_js_helper.IdentityMap$(core.int, io._FileResourceInfo)))(), + _SpawnedProcessResourceInfoToMapOfString$dynamic: () => (T$0._SpawnedProcessResourceInfoToMapOfString$dynamic = dart.constFn(dart.fnType(T$0.MapOfString$dynamic(), [io._SpawnedProcessResourceInfo])))(), + LinkedMapOfint$_SpawnedProcessResourceInfo: () => (T$0.LinkedMapOfint$_SpawnedProcessResourceInfo = dart.constFn(_js_helper.LinkedMap$(core.int, io._SpawnedProcessResourceInfo)))(), + dynamicTo_Link: () => (T$0.dynamicTo_Link = dart.constFn(dart.fnType(io._Link, [dart.dynamic])))(), + FutureOfLink: () => (T$0.FutureOfLink = dart.constFn(async.Future$(io.Link)))(), + FileSystemEntityToFutureOfLink: () => (T$0.FileSystemEntityToFutureOfLink = dart.constFn(dart.fnType(T$0.FutureOfLink(), [io.FileSystemEntity])))(), + FileSystemEntityTo_Link: () => (T$0.FileSystemEntityTo_Link = dart.constFn(dart.fnType(io._Link, [io.FileSystemEntity])))(), + dynamicToLink: () => (T$0.dynamicToLink = dart.constFn(dart.fnType(io.Link, [dart.dynamic])))(), + _SocketStatisticToMapOfString$dynamic: () => (T$0._SocketStatisticToMapOfString$dynamic = dart.constFn(dart.fnType(T$0.MapOfString$dynamic(), [io._SocketStatistic])))(), + IdentityMapOfint$_SocketStatistic: () => (T$0.IdentityMapOfint$_SocketStatistic = dart.constFn(_js_helper.IdentityMap$(core.int, io._SocketStatistic)))(), + _SocketProfileTypeL: () => (T$0._SocketProfileTypeL = dart.constFn(dart.legacy(io._SocketProfileType)))(), + IOOverridesN: () => (T$0.IOOverridesN = dart.constFn(dart.nullable(io.IOOverrides)))(), + _CaseInsensitiveStringMapOfString: () => (T$0._CaseInsensitiveStringMapOfString = dart.constFn(io._CaseInsensitiveStringMap$(core.String)))(), + LinkedMapOfString$String: () => (T$0.LinkedMapOfString$String = dart.constFn(_js_helper.LinkedMap$(core.String, core.String)))(), + UnmodifiableMapViewOfString$String: () => (T$0.UnmodifiableMapViewOfString$String = dart.constFn(collection.UnmodifiableMapView$(core.String, core.String)))(), + ProcessStartModeL: () => (T$0.ProcessStartModeL = dart.constFn(dart.legacy(io.ProcessStartMode)))(), + RawSecureServerSocketToSecureServerSocket: () => (T$0.RawSecureServerSocketToSecureServerSocket = dart.constFn(dart.fnType(io.SecureServerSocket, [io.RawSecureServerSocket])))(), + RawSecureSocketToSecureSocket: () => (T$0.RawSecureSocketToSecureSocket = dart.constFn(dart.fnType(io.SecureSocket, [io.RawSecureSocket])))(), + ConnectionTaskOfSecureSocket: () => (T$0.ConnectionTaskOfSecureSocket = dart.constFn(io.ConnectionTask$(io.SecureSocket)))(), + ConnectionTaskOfRawSecureSocket: () => (T$0.ConnectionTaskOfRawSecureSocket = dart.constFn(io.ConnectionTask$(io.RawSecureSocket)))(), + ConnectionTaskOfRawSecureSocketToConnectionTaskOfSecureSocket: () => (T$0.ConnectionTaskOfRawSecureSocketToConnectionTaskOfSecureSocket = dart.constFn(dart.fnType(T$0.ConnectionTaskOfSecureSocket(), [T$0.ConnectionTaskOfRawSecureSocket()])))(), + StreamSubscriptionOfRawSocketEvent: () => (T$0.StreamSubscriptionOfRawSocketEvent = dart.constFn(async.StreamSubscription$(io.RawSocketEvent)))(), + StreamSubscriptionNOfRawSocketEvent: () => (T$0.StreamSubscriptionNOfRawSocketEvent = dart.constFn(dart.nullable(T$0.StreamSubscriptionOfRawSocketEvent())))(), + FutureOfRawSecureSocket: () => (T$0.FutureOfRawSecureSocket = dart.constFn(async.Future$(io.RawSecureSocket)))(), + dynamicToFutureOfRawSecureSocket: () => (T$0.dynamicToFutureOfRawSecureSocket = dart.constFn(dart.fnType(T$0.FutureOfRawSecureSocket(), [dart.dynamic])))(), + StreamControllerOfRawSecureSocket: () => (T$0.StreamControllerOfRawSecureSocket = dart.constFn(async.StreamController$(io.RawSecureSocket)))(), + RawServerSocketToRawSecureServerSocket: () => (T$0.RawServerSocketToRawSecureServerSocket = dart.constFn(dart.fnType(io.RawSecureServerSocket, [io.RawServerSocket])))(), + RawSecureSocketToNull: () => (T$0.RawSecureSocketToNull = dart.constFn(dart.fnType(core.Null, [io.RawSecureSocket])))(), + RawSocketToFutureOfRawSecureSocket: () => (T$0.RawSocketToFutureOfRawSecureSocket = dart.constFn(dart.fnType(T$0.FutureOfRawSecureSocket(), [io.RawSocket])))(), + ConnectionTaskOfRawSocket: () => (T$0.ConnectionTaskOfRawSocket = dart.constFn(io.ConnectionTask$(io.RawSocket)))(), + ConnectionTaskOfRawSocketToConnectionTaskOfRawSecureSocket: () => (T$0.ConnectionTaskOfRawSocketToConnectionTaskOfRawSecureSocket = dart.constFn(dart.fnType(T$0.ConnectionTaskOfRawSecureSocket(), [T$0.ConnectionTaskOfRawSocket()])))(), + CompleterOf_RawSecureSocket: () => (T$0.CompleterOf_RawSecureSocket = dart.constFn(async.Completer$(io._RawSecureSocket)))(), + StreamControllerOfRawSocketEvent: () => (T$0.StreamControllerOfRawSocketEvent = dart.constFn(async.StreamController$(io.RawSocketEvent)))(), + CompleterOfRawSecureSocket: () => (T$0.CompleterOfRawSecureSocket = dart.constFn(async.Completer$(io.RawSecureSocket)))(), + intToint: () => (T$0.intToint = dart.constFn(dart.fnType(core.int, [core.int])))(), + ListOfintAndStringTovoid: () => (T$0.ListOfintAndStringTovoid = dart.constFn(dart.fnType(dart.void, [T$0.ListOfint(), core.String])))(), + _RawSocketOptionsL: () => (T$0._RawSocketOptionsL = dart.constFn(dart.legacy(io._RawSocketOptions)))(), + JSArrayOf_DomainNetworkPolicy: () => (T$0.JSArrayOf_DomainNetworkPolicy = dart.constFn(_interceptors.JSArray$(io._DomainNetworkPolicy)))(), + StdoutN: () => (T$0.StdoutN = dart.constFn(dart.nullable(io.Stdout)))(), + Fn__ToR: () => (T$0.Fn__ToR = dart.constFn(dart.gFnType(R => [R, [dart.fnType(R, [])], {onError: T$.FunctionN(), zoneSpecification: T$.ZoneSpecificationN(), zoneValues: T$.MapNOfObjectN$ObjectN()}, {}], R => [T$.ObjectN()])))(), + LinkedMapOfSymbol$dynamic: () => (T$0.LinkedMapOfSymbol$dynamic = dart.constFn(_js_helper.LinkedMap$(core.Symbol, dart.dynamic)))(), + ObjectToObject: () => (T$0.ObjectToObject = dart.constFn(dart.fnType(core.Object, [core.Object])))(), + ObjectTo_DartObject: () => (T$0.ObjectTo_DartObject = dart.constFn(dart.fnType(js._DartObject, [core.Object])))(), + ObjectToJsObject: () => (T$0.ObjectToJsObject = dart.constFn(dart.fnType(js.JsObject, [core.Object])))(), + PointOfnum: () => (T$0.PointOfnum = dart.constFn(math.Point$(core.num)))(), + RectangleOfnum: () => (T$0.RectangleOfnum = dart.constFn(math.Rectangle$(core.num)))(), + EventL: () => (T$0.EventL = dart.constFn(dart.legacy(html$.Event)))(), + EventStreamProviderOfEventL: () => (T$0.EventStreamProviderOfEventL = dart.constFn(html$.EventStreamProvider$(T$0.EventL())))(), + VersionChangeEventL: () => (T$0.VersionChangeEventL = dart.constFn(dart.legacy(indexed_db.VersionChangeEvent)))(), + EventStreamProviderOfVersionChangeEventL: () => (T$0.EventStreamProviderOfVersionChangeEventL = dart.constFn(html$.EventStreamProvider$(T$0.VersionChangeEventL())))(), + FutureOfDatabase: () => (T$0.FutureOfDatabase = dart.constFn(async.Future$(indexed_db.Database)))(), + CompleterOfIdbFactory: () => (T$0.CompleterOfIdbFactory = dart.constFn(async.Completer$(indexed_db.IdbFactory)))(), + EventTovoid: () => (T$0.EventTovoid = dart.constFn(dart.fnType(dart.void, [html$.Event])))(), + FutureOfIdbFactory: () => (T$0.FutureOfIdbFactory = dart.constFn(async.Future$(indexed_db.IdbFactory)))(), + ObserverChangesTovoid: () => (T$0.ObserverChangesTovoid = dart.constFn(dart.fnType(dart.void, [indexed_db.ObserverChanges])))(), + CompleterOfDatabase: () => (T$0.CompleterOfDatabase = dart.constFn(async.Completer$(indexed_db.Database)))(), + EventToNull: () => (T$0.EventToNull = dart.constFn(dart.fnType(core.Null, [html$.Event])))(), + ElementN: () => (T$0.ElementN = dart.constFn(dart.nullable(html$.Element)))(), + JSArrayOfEventTarget: () => (T$0.JSArrayOfEventTarget = dart.constFn(_interceptors.JSArray$(html$.EventTarget)))(), + NodeTobool: () => (T$0.NodeTobool = dart.constFn(dart.fnType(core.bool, [html$.Node])))(), + CompleterOfScrollState: () => (T$0.CompleterOfScrollState = dart.constFn(async.Completer$(html$.ScrollState)))(), + ScrollStateTovoid: () => (T$0.ScrollStateTovoid = dart.constFn(dart.fnType(dart.void, [html$.ScrollState])))(), + MapOfString$dynamicTobool: () => (T$0.MapOfString$dynamicTobool = dart.constFn(dart.fnType(core.bool, [T$0.MapOfString$dynamic()])))(), + MapN: () => (T$0.MapN = dart.constFn(dart.nullable(core.Map)))(), + ObjectNToNvoid: () => (T$0.ObjectNToNvoid = dart.constFn(dart.nullable(T$.ObjectNTovoid())))(), + MapNAndFnTodynamic: () => (T$0.MapNAndFnTodynamic = dart.constFn(dart.fnType(dart.dynamic, [T$0.MapN()], [T$0.ObjectNToNvoid()])))(), + WheelEventL: () => (T$0.WheelEventL = dart.constFn(dart.legacy(html$.WheelEvent)))(), + _CustomEventStreamProviderOfWheelEventL: () => (T$0._CustomEventStreamProviderOfWheelEventL = dart.constFn(html$._CustomEventStreamProvider$(T$0.WheelEventL())))(), + EventTargetToString: () => (T$0.EventTargetToString = dart.constFn(dart.fnType(core.String, [html$.EventTarget])))(), + TransitionEventL: () => (T$0.TransitionEventL = dart.constFn(dart.legacy(html$.TransitionEvent)))(), + _CustomEventStreamProviderOfTransitionEventL: () => (T$0._CustomEventStreamProviderOfTransitionEventL = dart.constFn(html$._CustomEventStreamProvider$(T$0.TransitionEventL())))(), + MouseEventL: () => (T$0.MouseEventL = dart.constFn(dart.legacy(html$.MouseEvent)))(), + EventStreamProviderOfMouseEventL: () => (T$0.EventStreamProviderOfMouseEventL = dart.constFn(html$.EventStreamProvider$(T$0.MouseEventL())))(), + ClipboardEventL: () => (T$0.ClipboardEventL = dart.constFn(dart.legacy(html$.ClipboardEvent)))(), + EventStreamProviderOfClipboardEventL: () => (T$0.EventStreamProviderOfClipboardEventL = dart.constFn(html$.EventStreamProvider$(T$0.ClipboardEventL())))(), + KeyboardEventL: () => (T$0.KeyboardEventL = dart.constFn(dart.legacy(html$.KeyboardEvent)))(), + EventStreamProviderOfKeyboardEventL: () => (T$0.EventStreamProviderOfKeyboardEventL = dart.constFn(html$.EventStreamProvider$(T$0.KeyboardEventL())))(), + TouchEventL: () => (T$0.TouchEventL = dart.constFn(dart.legacy(html$.TouchEvent)))(), + EventStreamProviderOfTouchEventL: () => (T$0.EventStreamProviderOfTouchEventL = dart.constFn(html$.EventStreamProvider$(T$0.TouchEventL())))(), + EventStreamProviderOfWheelEventL: () => (T$0.EventStreamProviderOfWheelEventL = dart.constFn(html$.EventStreamProvider$(T$0.WheelEventL())))(), + ProgressEventL: () => (T$0.ProgressEventL = dart.constFn(dart.legacy(html$.ProgressEvent)))(), + EventStreamProviderOfProgressEventL: () => (T$0.EventStreamProviderOfProgressEventL = dart.constFn(html$.EventStreamProvider$(T$0.ProgressEventL())))(), + MessageEventL: () => (T$0.MessageEventL = dart.constFn(dart.legacy(html$.MessageEvent)))(), + EventStreamProviderOfMessageEventL: () => (T$0.EventStreamProviderOfMessageEventL = dart.constFn(html$.EventStreamProvider$(T$0.MessageEventL())))(), + PopStateEventL: () => (T$0.PopStateEventL = dart.constFn(dart.legacy(html$.PopStateEvent)))(), + EventStreamProviderOfPopStateEventL: () => (T$0.EventStreamProviderOfPopStateEventL = dart.constFn(html$.EventStreamProvider$(T$0.PopStateEventL())))(), + StorageEventL: () => (T$0.StorageEventL = dart.constFn(dart.legacy(html$.StorageEvent)))(), + EventStreamProviderOfStorageEventL: () => (T$0.EventStreamProviderOfStorageEventL = dart.constFn(html$.EventStreamProvider$(T$0.StorageEventL())))(), + CompleterOfBlob: () => (T$0.CompleterOfBlob = dart.constFn(async.Completer$(html$.Blob)))(), + BlobN: () => (T$0.BlobN = dart.constFn(dart.nullable(html$.Blob)))(), + BlobNTovoid: () => (T$0.BlobNTovoid = dart.constFn(dart.fnType(dart.void, [T$0.BlobN()])))(), + ContextEventL: () => (T$0.ContextEventL = dart.constFn(dart.legacy(web_gl.ContextEvent)))(), + EventStreamProviderOfContextEventL: () => (T$0.EventStreamProviderOfContextEventL = dart.constFn(html$.EventStreamProvider$(T$0.ContextEventL())))(), + JSArrayOfnum: () => (T$0.JSArrayOfnum = dart.constFn(_interceptors.JSArray$(core.num)))(), + dynamicToCssStyleDeclaration: () => (T$0.dynamicToCssStyleDeclaration = dart.constFn(dart.fnType(html$.CssStyleDeclaration, [dart.dynamic])))(), + CssStyleDeclarationTovoid: () => (T$0.CssStyleDeclarationTovoid = dart.constFn(dart.fnType(dart.void, [html$.CssStyleDeclaration])))(), + ListOfCssTransformComponent: () => (T$0.ListOfCssTransformComponent = dart.constFn(core.List$(html$.CssTransformComponent)))(), + CompleterOfEntry: () => (T$0.CompleterOfEntry = dart.constFn(async.Completer$(html$.Entry)))(), + EntryTovoid: () => (T$0.EntryTovoid = dart.constFn(dart.fnType(dart.void, [html$.Entry])))(), + DomExceptionTovoid: () => (T$0.DomExceptionTovoid = dart.constFn(dart.fnType(dart.void, [html$.DomException])))(), + CompleterOfMetadata: () => (T$0.CompleterOfMetadata = dart.constFn(async.Completer$(html$.Metadata)))(), + MetadataTovoid: () => (T$0.MetadataTovoid = dart.constFn(dart.fnType(dart.void, [html$.Metadata])))(), + ListOfEntry: () => (T$0.ListOfEntry = dart.constFn(core.List$(html$.Entry)))(), + CompleterOfListOfEntry: () => (T$0.CompleterOfListOfEntry = dart.constFn(async.Completer$(T$0.ListOfEntry())))(), + ListTovoid: () => (T$0.ListTovoid = dart.constFn(dart.fnType(dart.void, [core.List])))(), + SecurityPolicyViolationEventL: () => (T$0.SecurityPolicyViolationEventL = dart.constFn(dart.legacy(html$.SecurityPolicyViolationEvent)))(), + EventStreamProviderOfSecurityPolicyViolationEventL: () => (T$0.EventStreamProviderOfSecurityPolicyViolationEventL = dart.constFn(html$.EventStreamProvider$(T$0.SecurityPolicyViolationEventL())))(), + IterableOfElement: () => (T$0.IterableOfElement = dart.constFn(core.Iterable$(html$.Element)))(), + ListOfElement: () => (T$0.ListOfElement = dart.constFn(core.List$(html$.Element)))(), + ElementTobool: () => (T$0.ElementTobool = dart.constFn(dart.fnType(core.bool, [html$.Element])))(), + _EventStreamOfEvent: () => (T$0._EventStreamOfEvent = dart.constFn(html$._EventStream$(html$.Event)))(), + _ElementEventStreamImplOfEvent: () => (T$0._ElementEventStreamImplOfEvent = dart.constFn(html$._ElementEventStreamImpl$(html$.Event)))(), + CompleterOfFileWriter: () => (T$0.CompleterOfFileWriter = dart.constFn(async.Completer$(html$.FileWriter)))(), + FileWriterTovoid: () => (T$0.FileWriterTovoid = dart.constFn(dart.fnType(dart.void, [html$.FileWriter])))(), + CompleterOfFile: () => (T$0.CompleterOfFile = dart.constFn(async.Completer$(html$.File)))(), + FileN$1: () => (T$0.FileN$1 = dart.constFn(dart.nullable(html$.File)))(), + FileNTovoid: () => (T$0.FileNTovoid = dart.constFn(dart.fnType(dart.void, [T$0.FileN$1()])))(), + FontFaceSetLoadEventL: () => (T$0.FontFaceSetLoadEventL = dart.constFn(dart.legacy(html$.FontFaceSetLoadEvent)))(), + EventStreamProviderOfFontFaceSetLoadEventL: () => (T$0.EventStreamProviderOfFontFaceSetLoadEventL = dart.constFn(html$.EventStreamProvider$(T$0.FontFaceSetLoadEventL())))(), + CompleterOfGeoposition: () => (T$0.CompleterOfGeoposition = dart.constFn(async.Completer$(html$.Geoposition)))(), + GeopositionTovoid: () => (T$0.GeopositionTovoid = dart.constFn(dart.fnType(dart.void, [html$.Geoposition])))(), + PositionErrorTovoid: () => (T$0.PositionErrorTovoid = dart.constFn(dart.fnType(dart.void, [html$.PositionError])))(), + StreamControllerOfGeoposition: () => (T$0.StreamControllerOfGeoposition = dart.constFn(async.StreamController$(html$.Geoposition)))(), + _CustomEventStreamProviderOfEventL: () => (T$0._CustomEventStreamProviderOfEventL = dart.constFn(html$._CustomEventStreamProvider$(T$0.EventL())))(), + HttpRequestToString: () => (T$0.HttpRequestToString = dart.constFn(dart.fnType(core.String, [html$.HttpRequest])))(), + StringAndStringTovoid: () => (T$0.StringAndStringTovoid = dart.constFn(dart.fnType(dart.void, [core.String, core.String])))(), + CompleterOfHttpRequest: () => (T$0.CompleterOfHttpRequest = dart.constFn(async.Completer$(html$.HttpRequest)))(), + ProgressEventTovoid: () => (T$0.ProgressEventTovoid = dart.constFn(dart.fnType(dart.void, [html$.ProgressEvent])))(), + CompleterOfString: () => (T$0.CompleterOfString = dart.constFn(async.Completer$(core.String)))(), + FutureOrNOfString: () => (T$0.FutureOrNOfString = dart.constFn(dart.nullable(T$0.FutureOrOfString())))(), + ListAndIntersectionObserverTovoid: () => (T$0.ListAndIntersectionObserverTovoid = dart.constFn(dart.fnType(dart.void, [core.List, html$.IntersectionObserver])))(), + ListOfMediaStreamTrack: () => (T$0.ListOfMediaStreamTrack = dart.constFn(core.List$(html$.MediaStreamTrack)))(), + MessagePortL: () => (T$0.MessagePortL = dart.constFn(dart.legacy(html$.MessagePort)))(), + MidiMessageEventL: () => (T$0.MidiMessageEventL = dart.constFn(dart.legacy(html$.MidiMessageEvent)))(), + EventStreamProviderOfMidiMessageEventL: () => (T$0.EventStreamProviderOfMidiMessageEventL = dart.constFn(html$.EventStreamProvider$(T$0.MidiMessageEventL())))(), + MapTobool: () => (T$0.MapTobool = dart.constFn(dart.fnType(core.bool, [core.Map])))(), + JSArrayOfMap: () => (T$0.JSArrayOfMap = dart.constFn(_interceptors.JSArray$(core.Map)))(), + ListAndMutationObserverTovoid: () => (T$0.ListAndMutationObserverTovoid = dart.constFn(dart.fnType(dart.void, [core.List, html$.MutationObserver])))(), + ListAndMutationObserverToNvoid: () => (T$0.ListAndMutationObserverToNvoid = dart.constFn(dart.nullable(T$0.ListAndMutationObserverTovoid())))(), + boolL: () => (T$0.boolL = dart.constFn(dart.legacy(core.bool)))(), + CompleterOfMediaStream: () => (T$0.CompleterOfMediaStream = dart.constFn(async.Completer$(html$.MediaStream)))(), + MediaStreamTovoid: () => (T$0.MediaStreamTovoid = dart.constFn(dart.fnType(dart.void, [html$.MediaStream])))(), + NavigatorUserMediaErrorTovoid: () => (T$0.NavigatorUserMediaErrorTovoid = dart.constFn(dart.fnType(dart.void, [html$.NavigatorUserMediaError])))(), + IterableOfNode: () => (T$0.IterableOfNode = dart.constFn(core.Iterable$(html$.Node)))(), + NodeN$1: () => (T$0.NodeN$1 = dart.constFn(dart.nullable(html$.Node)))(), + PerformanceObserverEntryListAndPerformanceObserverTovoid: () => (T$0.PerformanceObserverEntryListAndPerformanceObserverTovoid = dart.constFn(dart.fnType(dart.void, [html$.PerformanceObserverEntryList, html$.PerformanceObserver])))(), + ListAndReportingObserverTovoid: () => (T$0.ListAndReportingObserverTovoid = dart.constFn(dart.fnType(dart.void, [core.List, html$.ReportingObserver])))(), + ListAndResizeObserverTovoid: () => (T$0.ListAndResizeObserverTovoid = dart.constFn(dart.fnType(dart.void, [core.List, html$.ResizeObserver])))(), + RtcDtmfToneChangeEventL: () => (T$0.RtcDtmfToneChangeEventL = dart.constFn(dart.legacy(html$.RtcDtmfToneChangeEvent)))(), + EventStreamProviderOfRtcDtmfToneChangeEventL: () => (T$0.EventStreamProviderOfRtcDtmfToneChangeEventL = dart.constFn(html$.EventStreamProvider$(T$0.RtcDtmfToneChangeEventL())))(), + JSArrayOfMapOfString$String: () => (T$0.JSArrayOfMapOfString$String = dart.constFn(_interceptors.JSArray$(T$0.MapOfString$String())))(), + CompleterOfRtcStatsResponse: () => (T$0.CompleterOfRtcStatsResponse = dart.constFn(async.Completer$(html$.RtcStatsResponse)))(), + RtcStatsResponseTovoid: () => (T$0.RtcStatsResponseTovoid = dart.constFn(dart.fnType(dart.void, [html$.RtcStatsResponse])))(), + MediaStreamEventL: () => (T$0.MediaStreamEventL = dart.constFn(dart.legacy(html$.MediaStreamEvent)))(), + EventStreamProviderOfMediaStreamEventL: () => (T$0.EventStreamProviderOfMediaStreamEventL = dart.constFn(html$.EventStreamProvider$(T$0.MediaStreamEventL())))(), + RtcDataChannelEventL: () => (T$0.RtcDataChannelEventL = dart.constFn(dart.legacy(html$.RtcDataChannelEvent)))(), + EventStreamProviderOfRtcDataChannelEventL: () => (T$0.EventStreamProviderOfRtcDataChannelEventL = dart.constFn(html$.EventStreamProvider$(T$0.RtcDataChannelEventL())))(), + RtcPeerConnectionIceEventL: () => (T$0.RtcPeerConnectionIceEventL = dart.constFn(dart.legacy(html$.RtcPeerConnectionIceEvent)))(), + EventStreamProviderOfRtcPeerConnectionIceEventL: () => (T$0.EventStreamProviderOfRtcPeerConnectionIceEventL = dart.constFn(html$.EventStreamProvider$(T$0.RtcPeerConnectionIceEventL())))(), + RtcTrackEventL: () => (T$0.RtcTrackEventL = dart.constFn(dart.legacy(html$.RtcTrackEvent)))(), + EventStreamProviderOfRtcTrackEventL: () => (T$0.EventStreamProviderOfRtcTrackEventL = dart.constFn(html$.EventStreamProvider$(T$0.RtcTrackEventL())))(), + UnmodifiableListViewOfOptionElement: () => (T$0.UnmodifiableListViewOfOptionElement = dart.constFn(collection.UnmodifiableListView$(html$.OptionElement)))(), + IterableOfOptionElement: () => (T$0.IterableOfOptionElement = dart.constFn(core.Iterable$(html$.OptionElement)))(), + OptionElementTobool: () => (T$0.OptionElementTobool = dart.constFn(dart.fnType(core.bool, [html$.OptionElement])))(), + JSArrayOfOptionElement: () => (T$0.JSArrayOfOptionElement = dart.constFn(_interceptors.JSArray$(html$.OptionElement)))(), + ForeignFetchEventL: () => (T$0.ForeignFetchEventL = dart.constFn(dart.legacy(html$.ForeignFetchEvent)))(), + EventStreamProviderOfForeignFetchEventL: () => (T$0.EventStreamProviderOfForeignFetchEventL = dart.constFn(html$.EventStreamProvider$(T$0.ForeignFetchEventL())))(), + SpeechRecognitionErrorL: () => (T$0.SpeechRecognitionErrorL = dart.constFn(dart.legacy(html$.SpeechRecognitionError)))(), + EventStreamProviderOfSpeechRecognitionErrorL: () => (T$0.EventStreamProviderOfSpeechRecognitionErrorL = dart.constFn(html$.EventStreamProvider$(T$0.SpeechRecognitionErrorL())))(), + SpeechRecognitionEventL: () => (T$0.SpeechRecognitionEventL = dart.constFn(dart.legacy(html$.SpeechRecognitionEvent)))(), + EventStreamProviderOfSpeechRecognitionEventL: () => (T$0.EventStreamProviderOfSpeechRecognitionEventL = dart.constFn(html$.EventStreamProvider$(T$0.SpeechRecognitionEventL())))(), + SpeechSynthesisEventL: () => (T$0.SpeechSynthesisEventL = dart.constFn(dart.legacy(html$.SpeechSynthesisEvent)))(), + EventStreamProviderOfSpeechSynthesisEventL: () => (T$0.EventStreamProviderOfSpeechSynthesisEventL = dart.constFn(html$.EventStreamProvider$(T$0.SpeechSynthesisEventL())))(), + _WrappedListOfTableSectionElement: () => (T$0._WrappedListOfTableSectionElement = dart.constFn(html$._WrappedList$(html$.TableSectionElement)))(), + _WrappedListOfTableRowElement: () => (T$0._WrappedListOfTableRowElement = dart.constFn(html$._WrappedList$(html$.TableRowElement)))(), + _WrappedListOfTableCellElement: () => (T$0._WrappedListOfTableCellElement = dart.constFn(html$._WrappedList$(html$.TableCellElement)))(), + TrackEventL: () => (T$0.TrackEventL = dart.constFn(dart.legacy(html$.TrackEvent)))(), + EventStreamProviderOfTrackEventL: () => (T$0.EventStreamProviderOfTrackEventL = dart.constFn(html$.EventStreamProvider$(T$0.TrackEventL())))(), + CloseEventL: () => (T$0.CloseEventL = dart.constFn(dart.legacy(html$.CloseEvent)))(), + EventStreamProviderOfCloseEventL: () => (T$0.EventStreamProviderOfCloseEventL = dart.constFn(html$.EventStreamProvider$(T$0.CloseEventL())))(), + CompleterOfnum: () => (T$0.CompleterOfnum = dart.constFn(async.Completer$(core.num)))(), + numTovoid: () => (T$0.numTovoid = dart.constFn(dart.fnType(dart.void, [core.num])))(), + IdleDeadlineTovoid: () => (T$0.IdleDeadlineTovoid = dart.constFn(dart.fnType(dart.void, [html$.IdleDeadline])))(), + CompleterOfFileSystem: () => (T$0.CompleterOfFileSystem = dart.constFn(async.Completer$(html$.FileSystem)))(), + FileSystemTovoid: () => (T$0.FileSystemTovoid = dart.constFn(dart.fnType(dart.void, [html$.FileSystem])))(), + DeviceMotionEventL: () => (T$0.DeviceMotionEventL = dart.constFn(dart.legacy(html$.DeviceMotionEvent)))(), + EventStreamProviderOfDeviceMotionEventL: () => (T$0.EventStreamProviderOfDeviceMotionEventL = dart.constFn(html$.EventStreamProvider$(T$0.DeviceMotionEventL())))(), + DeviceOrientationEventL: () => (T$0.DeviceOrientationEventL = dart.constFn(dart.legacy(html$.DeviceOrientationEvent)))(), + EventStreamProviderOfDeviceOrientationEventL: () => (T$0.EventStreamProviderOfDeviceOrientationEventL = dart.constFn(html$.EventStreamProvider$(T$0.DeviceOrientationEventL())))(), + AnimationEventL: () => (T$0.AnimationEventL = dart.constFn(dart.legacy(html$.AnimationEvent)))(), + EventStreamProviderOfAnimationEventL: () => (T$0.EventStreamProviderOfAnimationEventL = dart.constFn(html$.EventStreamProvider$(T$0.AnimationEventL())))(), + ListOfNode: () => (T$0.ListOfNode = dart.constFn(core.List$(html$.Node)))(), + _EventStreamOfBeforeUnloadEvent: () => (T$0._EventStreamOfBeforeUnloadEvent = dart.constFn(html$._EventStream$(html$.BeforeUnloadEvent)))(), + StreamControllerOfBeforeUnloadEvent: () => (T$0.StreamControllerOfBeforeUnloadEvent = dart.constFn(async.StreamController$(html$.BeforeUnloadEvent)))(), + BeforeUnloadEventTovoid: () => (T$0.BeforeUnloadEventTovoid = dart.constFn(dart.fnType(dart.void, [html$.BeforeUnloadEvent])))(), + _ElementEventStreamImplOfBeforeUnloadEvent: () => (T$0._ElementEventStreamImplOfBeforeUnloadEvent = dart.constFn(html$._ElementEventStreamImpl$(html$.BeforeUnloadEvent)))(), + _ElementListEventStreamImplOfBeforeUnloadEvent: () => (T$0._ElementListEventStreamImplOfBeforeUnloadEvent = dart.constFn(html$._ElementListEventStreamImpl$(html$.BeforeUnloadEvent)))(), + GamepadN: () => (T$0.GamepadN = dart.constFn(dart.nullable(html$.Gamepad)))(), + ElementTovoid: () => (T$0.ElementTovoid = dart.constFn(dart.fnType(dart.void, [html$.Element])))(), + ListOfCssClassSetImpl: () => (T$0.ListOfCssClassSetImpl = dart.constFn(core.List$(html_common.CssClassSetImpl)))(), + ElementToCssClassSet: () => (T$0.ElementToCssClassSet = dart.constFn(dart.fnType(html$.CssClassSet, [html$.Element])))(), + _IdentityHashSetOfString: () => (T$0._IdentityHashSetOfString = dart.constFn(collection._IdentityHashSet$(core.String)))(), + CssClassSetImplTovoid: () => (T$0.CssClassSetImplTovoid = dart.constFn(dart.fnType(dart.void, [html_common.CssClassSetImpl])))(), + boolAndCssClassSetImplTobool: () => (T$0.boolAndCssClassSetImplTobool = dart.constFn(dart.fnType(core.bool, [core.bool, html_common.CssClassSetImpl])))(), + StringAndStringToString: () => (T$0.StringAndStringToString = dart.constFn(dart.fnType(core.String, [core.String, core.String])))(), + SetOfString: () => (T$0.SetOfString = dart.constFn(core.Set$(core.String)))(), + SetOfStringTobool: () => (T$0.SetOfStringTobool = dart.constFn(dart.fnType(core.bool, [T$0.SetOfString()])))(), + IterableOfString: () => (T$0.IterableOfString = dart.constFn(core.Iterable$(core.String)))(), + SetOfStringTovoid: () => (T$0.SetOfStringTovoid = dart.constFn(dart.fnType(dart.void, [T$0.SetOfString()])))(), + VoidToNString: () => (T$0.VoidToNString = dart.constFn(dart.nullable(T$.VoidToString())))(), + EventTargetN: () => (T$0.EventTargetN = dart.constFn(dart.nullable(html$.EventTarget)))(), + ElementAndStringAndString__Tobool: () => (T$0.ElementAndStringAndString__Tobool = dart.constFn(dart.fnType(core.bool, [html$.Element, core.String, core.String, html$._Html5NodeValidator])))(), + LinkedHashSetOfString: () => (T$0.LinkedHashSetOfString = dart.constFn(collection.LinkedHashSet$(core.String)))(), + IdentityMapOfString$Function: () => (T$0.IdentityMapOfString$Function = dart.constFn(_js_helper.IdentityMap$(core.String, core.Function)))(), + JSArrayOfKeyEvent: () => (T$0.JSArrayOfKeyEvent = dart.constFn(_interceptors.JSArray$(html$.KeyEvent)))(), + KeyEventTobool: () => (T$0.KeyEventTobool = dart.constFn(dart.fnType(core.bool, [html$.KeyEvent])))(), + JSArrayOfNodeValidator: () => (T$0.JSArrayOfNodeValidator = dart.constFn(_interceptors.JSArray$(html$.NodeValidator)))(), + NodeValidatorTobool: () => (T$0.NodeValidatorTobool = dart.constFn(dart.fnType(core.bool, [html$.NodeValidator])))(), + NodeAndNodeToint: () => (T$0.NodeAndNodeToint = dart.constFn(dart.fnType(core.int, [html$.Node, html$.Node])))(), + NodeAndNodeNTovoid: () => (T$0.NodeAndNodeNTovoid = dart.constFn(dart.fnType(dart.void, [html$.Node, T$0.NodeN$1()])))(), + MapNOfString$dynamic: () => (T$0.MapNOfString$dynamic = dart.constFn(dart.nullable(T$0.MapOfString$dynamic())))(), + dynamicToMapNOfString$dynamic: () => (T$0.dynamicToMapNOfString$dynamic = dart.constFn(dart.fnType(T$0.MapNOfString$dynamic(), [dart.dynamic])))(), + TypeN: () => (T$0.TypeN = dart.constFn(dart.nullable(core.Type)))(), + dynamicAnddynamicTodynamic: () => (T$0.dynamicAnddynamicTodynamic = dart.constFn(dart.fnType(dart.dynamic, [dart.dynamic, dart.dynamic])))(), + NodeToElement: () => (T$0.NodeToElement = dart.constFn(dart.fnType(html$.Element, [html$.Node])))(), + CompleterOfAudioBuffer: () => (T$0.CompleterOfAudioBuffer = dart.constFn(async.Completer$(web_audio.AudioBuffer)))(), + AudioBufferTovoid: () => (T$0.AudioBufferTovoid = dart.constFn(dart.fnType(dart.void, [web_audio.AudioBuffer])))(), + AudioProcessingEventL: () => (T$0.AudioProcessingEventL = dart.constFn(dart.legacy(web_audio.AudioProcessingEvent)))(), + EventStreamProviderOfAudioProcessingEventL: () => (T$0.EventStreamProviderOfAudioProcessingEventL = dart.constFn(html$.EventStreamProvider$(T$0.AudioProcessingEventL())))(), + TypedDataN: () => (T$0.TypedDataN = dart.constFn(dart.nullable(typed_data.TypedData)))(), + CompleterOfSqlTransaction: () => (T$0.CompleterOfSqlTransaction = dart.constFn(async.Completer$(web_sql.SqlTransaction)))(), + SqlTransactionTovoid: () => (T$0.SqlTransactionTovoid = dart.constFn(dart.fnType(dart.void, [web_sql.SqlTransaction])))(), + SqlErrorTovoid: () => (T$0.SqlErrorTovoid = dart.constFn(dart.fnType(dart.void, [web_sql.SqlError])))(), + CompleterOfSqlResultSet: () => (T$0.CompleterOfSqlResultSet = dart.constFn(async.Completer$(web_sql.SqlResultSet)))(), + SqlTransactionAndSqlResultSetTovoid: () => (T$0.SqlTransactionAndSqlResultSetTovoid = dart.constFn(dart.fnType(dart.void, [web_sql.SqlTransaction, web_sql.SqlResultSet])))(), + SqlTransactionAndSqlErrorTovoid: () => (T$0.SqlTransactionAndSqlErrorTovoid = dart.constFn(dart.fnType(dart.void, [web_sql.SqlTransaction, web_sql.SqlError])))(), + intAndintToint: () => (T$0.intAndintToint = dart.constFn(dart.fnType(core.int, [core.int, core.int])))(), + StringNToint: () => (T$0.StringNToint = dart.constFn(dart.fnType(core.int, [T$.StringN()])))(), + intToString: () => (T$0.intToString = dart.constFn(dart.fnType(core.String, [core.int])))(), + SymbolAnddynamicTovoid: () => (T$0.SymbolAnddynamicTovoid = dart.constFn(dart.fnType(dart.void, [core.Symbol, dart.dynamic])))(), + MapOfSymbol$ObjectN: () => (T$0.MapOfSymbol$ObjectN = dart.constFn(core.Map$(core.Symbol, T$.ObjectN())))(), + MapOfString$StringAndStringToMapOfString$String: () => (T$0.MapOfString$StringAndStringToMapOfString$String = dart.constFn(dart.fnType(T$0.MapOfString$String(), [T$0.MapOfString$String(), core.String])))(), + StringAndintTovoid: () => (T$0.StringAndintTovoid = dart.constFn(dart.fnType(dart.void, [core.String, core.int])))(), + StringAnddynamicTovoid$1: () => (T$0.StringAnddynamicTovoid$1 = dart.constFn(dart.fnType(dart.void, [core.String], [dart.dynamic])))(), + ListOfStringL: () => (T$0.ListOfStringL = dart.constFn(core.List$(T$.StringL())))(), + ListLOfStringL: () => (T$0.ListLOfStringL = dart.constFn(dart.legacy(T$0.ListOfStringL())))(), + StringAndListOfStringToListOfString: () => (T$0.StringAndListOfStringToListOfString = dart.constFn(dart.fnType(T$.ListOfString(), [core.String, T$.ListOfString()])))(), + MapOfString$ListOfString: () => (T$0.MapOfString$ListOfString = dart.constFn(core.Map$(core.String, T$.ListOfString())))(), + StringAndStringNTovoid: () => (T$0.StringAndStringNTovoid = dart.constFn(dart.fnType(dart.void, [core.String, T$.StringN()])))(), + IdentityMapOfString$ListOfString: () => (T$0.IdentityMapOfString$ListOfString = dart.constFn(_js_helper.IdentityMap$(core.String, T$.ListOfString())))(), + VoidToListOfString: () => (T$0.VoidToListOfString = dart.constFn(dart.fnType(T$.ListOfString(), [])))(), + intAndintAndintTovoid: () => (T$0.intAndintAndintTovoid = dart.constFn(dart.fnType(dart.void, [core.int, core.int, core.int])))(), + _StringSinkConversionSinkOfStringSink: () => (T$0._StringSinkConversionSinkOfStringSink = dart.constFn(convert._StringSinkConversionSink$(core.StringSink)))(), + ListOfUint8List: () => (T$0.ListOfUint8List = dart.constFn(core.List$(typed_data.Uint8List)))(), + intToUint8List: () => (T$0.intToUint8List = dart.constFn(dart.fnType(typed_data.Uint8List, [core.int])))(), + dynamicAnddynamicToUint8List: () => (T$0.dynamicAnddynamicToUint8List = dart.constFn(dart.fnType(typed_data.Uint8List, [dart.dynamic, dart.dynamic])))(), + Uint8ListAndStringAndintTovoid: () => (T$0.Uint8ListAndStringAndintTovoid = dart.constFn(dart.fnType(dart.void, [typed_data.Uint8List, core.String, core.int])))(), + HttpClientResponseCompressionStateL: () => (T$0.HttpClientResponseCompressionStateL = dart.constFn(dart.legacy(_http.HttpClientResponseCompressionState)))(), + StringToint: () => (T$0.StringToint = dart.constFn(dart.fnType(core.int, [core.String])))(), + VoidToNever: () => (T$0.VoidToNever = dart.constFn(dart.fnType(dart.Never, [])))(), + StringAndListOfStringTovoid: () => (T$0.StringAndListOfStringTovoid = dart.constFn(dart.fnType(dart.void, [core.String, T$.ListOfString()])))(), + JSArrayOfCookie: () => (T$0.JSArrayOfCookie = dart.constFn(_interceptors.JSArray$(_http.Cookie)))(), + HashMapOfString$StringN: () => (T$0.HashMapOfString$StringN = dart.constFn(collection.HashMap$(core.String, T$.StringN())))(), + IdentityMapOfString$StringN: () => (T$0.IdentityMapOfString$StringN = dart.constFn(_js_helper.IdentityMap$(core.String, T$.StringN())))(), + UnmodifiableMapViewOfString$StringN: () => (T$0.UnmodifiableMapViewOfString$StringN = dart.constFn(collection.UnmodifiableMapView$(core.String, T$.StringN())))(), + StringNToString: () => (T$0.StringNToString = dart.constFn(dart.fnType(core.String, [T$.StringN()])))(), + JSArrayOfMapOfString$dynamic: () => (T$0.JSArrayOfMapOfString$dynamic = dart.constFn(_interceptors.JSArray$(T$0.MapOfString$dynamic())))(), + _HttpProfileDataTobool: () => (T$0._HttpProfileDataTobool = dart.constFn(dart.fnType(core.bool, [_http._HttpProfileData])))(), + IdentityMapOfint$_HttpProfileData: () => (T$0.IdentityMapOfint$_HttpProfileData = dart.constFn(_js_helper.IdentityMap$(core.int, _http._HttpProfileData)))(), + JSArrayOf_HttpProfileEvent: () => (T$0.JSArrayOf_HttpProfileEvent = dart.constFn(_interceptors.JSArray$(_http._HttpProfileEvent)))(), + VoidToListOfMapOfString$dynamic: () => (T$0.VoidToListOfMapOfString$dynamic = dart.constFn(dart.fnType(T$0.ListOfMapOfString$dynamic(), [])))(), + dynamicToNever: () => (T$0.dynamicToNever = dart.constFn(dart.fnType(dart.Never, [dart.dynamic])))(), + CookieTobool: () => (T$0.CookieTobool = dart.constFn(dart.fnType(core.bool, [_http.Cookie])))(), + CookieToString: () => (T$0.CookieToString = dart.constFn(dart.fnType(core.String, [_http.Cookie])))(), + FutureOfHttpClientResponse: () => (T$0.FutureOfHttpClientResponse = dart.constFn(async.Future$(_http.HttpClientResponse)))(), + _HttpClientRequestToFutureOfHttpClientResponse: () => (T$0._HttpClientRequestToFutureOfHttpClientResponse = dart.constFn(dart.fnType(T$0.FutureOfHttpClientResponse(), [_http._HttpClientRequest])))(), + _EmptyStreamOfUint8List: () => (T$0._EmptyStreamOfUint8List = dart.constFn(async._EmptyStream$(typed_data.Uint8List)))(), + Uint8ListToUint8List: () => (T$0.Uint8ListToUint8List = dart.constFn(dart.fnType(typed_data.Uint8List, [typed_data.Uint8List])))(), + dynamicToFutureOfHttpClientResponse: () => (T$0.dynamicToFutureOfHttpClientResponse = dart.constFn(dart.fnType(T$0.FutureOfHttpClientResponse(), [dart.dynamic])))(), + VoidToFutureOfHttpClientResponse: () => (T$0.VoidToFutureOfHttpClientResponse = dart.constFn(dart.fnType(T$0.FutureOfHttpClientResponse(), [])))(), + VoidToListNOfString: () => (T$0.VoidToListNOfString = dart.constFn(dart.fnType(T$.ListNOfString(), [])))(), + _CredentialsN: () => (T$0._CredentialsN = dart.constFn(dart.nullable(_http._Credentials)))(), + _AuthenticationSchemeTo_CredentialsN: () => (T$0._AuthenticationSchemeTo_CredentialsN = dart.constFn(dart.fnType(T$0._CredentialsN(), [_http._AuthenticationScheme])))(), + _CredentialsTovoid: () => (T$0._CredentialsTovoid = dart.constFn(dart.fnType(dart.void, [_http._Credentials])))(), + _AuthenticationSchemeAndStringNToFutureOfbool: () => (T$0._AuthenticationSchemeAndStringNToFutureOfbool = dart.constFn(dart.fnType(T$.FutureOfbool(), [_http._AuthenticationScheme, T$.StringN()])))(), + FutureOrOfHttpClientResponse: () => (T$0.FutureOrOfHttpClientResponse = dart.constFn(async.FutureOr$(_http.HttpClientResponse)))(), + boolToFutureOrOfHttpClientResponse: () => (T$0.boolToFutureOrOfHttpClientResponse = dart.constFn(dart.fnType(T$0.FutureOrOfHttpClientResponse(), [core.bool])))(), + SinkOfUint8List: () => (T$0.SinkOfUint8List = dart.constFn(core.Sink$(typed_data.Uint8List)))(), + CompleterOfvoid: () => (T$0.CompleterOfvoid = dart.constFn(async.Completer$(dart.void)))(), + EncodingN: () => (T$0.EncodingN = dart.constFn(dart.nullable(convert.Encoding)))(), + ListOfintToListOfint: () => (T$0.ListOfintToListOfint = dart.constFn(dart.fnType(T$0.ListOfint(), [T$0.ListOfint()])))(), + CookieTovoid: () => (T$0.CookieTovoid = dart.constFn(dart.fnType(dart.void, [_http.Cookie])))(), + CompleterOfHttpClientResponse: () => (T$0.CompleterOfHttpClientResponse = dart.constFn(async.Completer$(_http.HttpClientResponse)))(), + JSArrayOfRedirectInfo: () => (T$0.JSArrayOfRedirectInfo = dart.constFn(_interceptors.JSArray$(_http.RedirectInfo)))(), + HttpClientResponseToNull: () => (T$0.HttpClientResponseToNull = dart.constFn(dart.fnType(core.Null, [_http.HttpClientResponse])))(), + JSArrayOfFuture: () => (T$0.JSArrayOfFuture = dart.constFn(_interceptors.JSArray$(async.Future)))(), + ListToFutureOrOfHttpClientResponse: () => (T$0.ListToFutureOrOfHttpClientResponse = dart.constFn(dart.fnType(T$0.FutureOrOfHttpClientResponse(), [core.List])))(), + CompleterOfSocket: () => (T$0.CompleterOfSocket = dart.constFn(async.Completer$(io.Socket)))(), + StringToListOfString: () => (T$0.StringToListOfString = dart.constFn(dart.fnType(T$.ListOfString(), [core.String])))(), + voidTovoid: () => (T$0.voidTovoid = dart.constFn(dart.fnType(dart.void, [dart.void])))(), + voidToFuture: () => (T$0.voidToFuture = dart.constFn(dart.fnType(async.Future, [dart.void])))(), + StreamControllerOfListOfint: () => (T$0.StreamControllerOfListOfint = dart.constFn(async.StreamController$(T$0.ListOfint())))(), + _HttpOutboundMessageN: () => (T$0._HttpOutboundMessageN = dart.constFn(dart.nullable(_http._HttpOutboundMessage)))(), + dynamicTo_HttpOutboundMessageN: () => (T$0.dynamicTo_HttpOutboundMessageN = dart.constFn(dart.fnType(T$0._HttpOutboundMessageN(), [dart.dynamic])))(), + dynamicAnddynamicTo_HttpOutboundMessageN: () => (T$0.dynamicAnddynamicTo_HttpOutboundMessageN = dart.constFn(dart.fnType(T$0._HttpOutboundMessageN(), [dart.dynamic, dart.dynamic])))(), + dynamicTo_HttpOutboundMessage: () => (T$0.dynamicTo_HttpOutboundMessage = dart.constFn(dart.fnType(_http._HttpOutboundMessage, [dart.dynamic])))() +}; +var T = { + dynamicAnddynamicTo_HttpOutboundMessage: () => (T.dynamicAnddynamicTo_HttpOutboundMessage = dart.constFn(dart.fnType(_http._HttpOutboundMessage, [dart.dynamic, dart.dynamic])))(), + dynamicAndStackTraceToNull: () => (T.dynamicAndStackTraceToNull = dart.constFn(dart.fnType(core.Null, [dart.dynamic, core.StackTrace])))(), + _HttpIncomingTovoid: () => (T._HttpIncomingTovoid = dart.constFn(dart.fnType(dart.void, [_http._HttpIncoming])))(), + CompleterOf_HttpIncoming: () => (T.CompleterOf_HttpIncoming = dart.constFn(async.Completer$(_http._HttpIncoming)))(), + _HttpIncomingToNull: () => (T._HttpIncomingToNull = dart.constFn(dart.fnType(core.Null, [_http._HttpIncoming])))(), + SocketToSocket: () => (T.SocketToSocket = dart.constFn(dart.fnType(io.Socket, [io.Socket])))(), + SocketN: () => (T.SocketN = dart.constFn(dart.nullable(io.Socket)))(), + FutureOfSocketN: () => (T.FutureOfSocketN = dart.constFn(async.Future$(T.SocketN())))(), + SocketTo_DetachedSocket: () => (T.SocketTo_DetachedSocket = dart.constFn(dart.fnType(_http._DetachedSocket, [io.Socket])))(), + SocketTovoid: () => (T.SocketTovoid = dart.constFn(dart.fnType(dart.void, [io.Socket])))(), + FutureOfSecureSocket: () => (T.FutureOfSecureSocket = dart.constFn(async.Future$(io.SecureSocket)))(), + HttpClientResponseToFutureOfSecureSocket: () => (T.HttpClientResponseToFutureOfSecureSocket = dart.constFn(dart.fnType(T.FutureOfSecureSocket(), [_http.HttpClientResponse])))(), + SecureSocketTo_HttpClientConnection: () => (T.SecureSocketTo_HttpClientConnection = dart.constFn(dart.fnType(_http._HttpClientConnection, [io.SecureSocket])))(), + _HashSetOf_HttpClientConnection: () => (T._HashSetOf_HttpClientConnection = dart.constFn(collection._HashSet$(_http._HttpClientConnection)))(), + _HashSetOfConnectionTask: () => (T._HashSetOfConnectionTask = dart.constFn(collection._HashSet$(io.ConnectionTask)))(), + FutureOf_ConnectionInfo: () => (T.FutureOf_ConnectionInfo = dart.constFn(async.Future$(_http._ConnectionInfo)))(), + CompleterOf_ConnectionInfo: () => (T.CompleterOf_ConnectionInfo = dart.constFn(async.Completer$(_http._ConnectionInfo)))(), + X509CertificateTobool: () => (T.X509CertificateTobool = dart.constFn(dart.fnType(core.bool, [io.X509Certificate])))(), + _HttpClientConnectionTo_ConnectionInfo: () => (T._HttpClientConnectionTo_ConnectionInfo = dart.constFn(dart.fnType(_http._ConnectionInfo, [_http._HttpClientConnection])))(), + FutureOrOf_ConnectionInfo: () => (T.FutureOrOf_ConnectionInfo = dart.constFn(async.FutureOr$(_http._ConnectionInfo)))(), + dynamicToFutureOrOf_ConnectionInfo: () => (T.dynamicToFutureOrOf_ConnectionInfo = dart.constFn(dart.fnType(T.FutureOrOf_ConnectionInfo(), [dart.dynamic])))(), + ConnectionTaskToFutureOf_ConnectionInfo: () => (T.ConnectionTaskToFutureOf_ConnectionInfo = dart.constFn(dart.fnType(T.FutureOf_ConnectionInfo(), [io.ConnectionTask])))(), + IdentityMapOfString$_ConnectionTarget: () => (T.IdentityMapOfString$_ConnectionTarget = dart.constFn(_js_helper.IdentityMap$(core.String, _http._ConnectionTarget)))(), + JSArrayOf_Credentials: () => (T.JSArrayOf_Credentials = dart.constFn(_interceptors.JSArray$(_http._Credentials)))(), + JSArrayOf_ProxyCredentials: () => (T.JSArrayOf_ProxyCredentials = dart.constFn(_interceptors.JSArray$(_http._ProxyCredentials)))(), + MapNOfString$String: () => (T.MapNOfString$String = dart.constFn(dart.nullable(T$0.MapOfString$String())))(), + Uri__ToString: () => (T.Uri__ToString = dart.constFn(dart.fnType(core.String, [core.Uri], {environment: T.MapNOfString$String()}, {})))(), + _ConnectionTargetTobool: () => (T._ConnectionTargetTobool = dart.constFn(dart.fnType(core.bool, [_http._ConnectionTarget])))(), + _ProxyL: () => (T._ProxyL = dart.constFn(dart.legacy(_http._Proxy)))(), + FutureOf_HttpClientRequest: () => (T.FutureOf_HttpClientRequest = dart.constFn(async.Future$(_http._HttpClientRequest)))(), + _ConnectionInfoTo_HttpClientRequest: () => (T._ConnectionInfoTo_HttpClientRequest = dart.constFn(dart.fnType(_http._HttpClientRequest, [_http._ConnectionInfo])))(), + FutureOrOf_HttpClientRequest: () => (T.FutureOrOf_HttpClientRequest = dart.constFn(async.FutureOr$(_http._HttpClientRequest)))(), + _ConnectionInfoToFutureOrOf_HttpClientRequest: () => (T._ConnectionInfoToFutureOrOf_HttpClientRequest = dart.constFn(dart.fnType(T.FutureOrOf_HttpClientRequest(), [_http._ConnectionInfo])))(), + _HttpClientRequestTo_HttpClientRequest: () => (T._HttpClientRequestTo_HttpClientRequest = dart.constFn(dart.fnType(_http._HttpClientRequest, [_http._HttpClientRequest])))(), + VoidTo_ConnectionTarget: () => (T.VoidTo_ConnectionTarget = dart.constFn(dart.fnType(_http._ConnectionTarget, [])))(), + dynamicToFutureOf_ConnectionInfo: () => (T.dynamicToFutureOf_ConnectionInfo = dart.constFn(dart.fnType(T.FutureOf_ConnectionInfo(), [dart.dynamic])))(), + _SiteCredentialsN: () => (T._SiteCredentialsN = dart.constFn(dart.nullable(_http._SiteCredentials)))(), + _SiteCredentialsNAnd_CredentialsTo_SiteCredentialsN: () => (T._SiteCredentialsNAnd_CredentialsTo_SiteCredentialsN = dart.constFn(dart.fnType(T._SiteCredentialsN(), [T._SiteCredentialsN(), _http._Credentials])))(), + StringNToStringN: () => (T.StringNToStringN = dart.constFn(dart.fnType(T$.StringN(), [T$.StringN()])))(), + StreamOfUint8List: () => (T.StreamOfUint8List = dart.constFn(async.Stream$(typed_data.Uint8List)))(), + SocketToNull: () => (T.SocketToNull = dart.constFn(dart.fnType(core.Null, [io.Socket])))(), + dynamicTo_DetachedSocket: () => (T.dynamicTo_DetachedSocket = dart.constFn(dart.fnType(_http._DetachedSocket, [dart.dynamic])))(), + IdentityMapOfint$_HttpConnection: () => (T.IdentityMapOfint$_HttpConnection = dart.constFn(_js_helper.IdentityMap$(core.int, _http._HttpConnection)))(), + LinkedListOf_HttpConnection: () => (T.LinkedListOf_HttpConnection = dart.constFn(collection.LinkedList$(_http._HttpConnection)))(), + StreamControllerOfHttpRequest: () => (T.StreamControllerOfHttpRequest = dart.constFn(async.StreamController$(_http.HttpRequest)))(), + ServerSocketTo_HttpServer: () => (T.ServerSocketTo_HttpServer = dart.constFn(dart.fnType(_http._HttpServer, [io.ServerSocket])))(), + SecureServerSocketTo_HttpServer: () => (T.SecureServerSocketTo_HttpServer = dart.constFn(dart.fnType(_http._HttpServer, [io.SecureServerSocket])))(), + _HttpConnectionTovoid: () => (T._HttpConnectionTovoid = dart.constFn(dart.fnType(dart.void, [_http._HttpConnection])))(), + _HttpConnectionToMap: () => (T._HttpConnectionToMap = dart.constFn(dart.fnType(core.Map, [_http._HttpConnection])))(), + LinkedMapOfint$_HttpServer: () => (T.LinkedMapOfint$_HttpServer = dart.constFn(_js_helper.LinkedMap$(core.int, _http._HttpServer)))(), + JSArrayOf_Proxy: () => (T.JSArrayOf_Proxy = dart.constFn(_interceptors.JSArray$(_http._Proxy)))(), + StreamControllerOf_HttpIncoming: () => (T.StreamControllerOf_HttpIncoming = dart.constFn(async.StreamController$(_http._HttpIncoming)))(), + IterableOfMapEntry: () => (T.IterableOfMapEntry = dart.constFn(core.Iterable$(core.MapEntry)))(), + VoidToNdynamic: () => (T.VoidToNdynamic = dart.constFn(dart.nullable(T$.VoidTodynamic())))(), + IdentityMapOfString$_HttpSession: () => (T.IdentityMapOfString$_HttpSession = dart.constFn(_js_helper.IdentityMap$(core.String, _http._HttpSession)))(), + HttpOverridesN: () => (T.HttpOverridesN = dart.constFn(dart.nullable(_http.HttpOverrides)))(), + EventSinkTo_WebSocketProtocolTransformer: () => (T.EventSinkTo_WebSocketProtocolTransformer = dart.constFn(dart.fnType(_http._WebSocketProtocolTransformer, [async.EventSink])))(), + StreamControllerOfWebSocket: () => (T.StreamControllerOfWebSocket = dart.constFn(async.StreamController$(_http.WebSocket)))(), + StreamOfHttpRequest: () => (T.StreamOfHttpRequest = dart.constFn(async.Stream$(_http.HttpRequest)))(), + WebSocketTovoid: () => (T.WebSocketTovoid = dart.constFn(dart.fnType(dart.void, [_http.WebSocket])))(), + HttpRequestTovoid: () => (T.HttpRequestTovoid = dart.constFn(dart.fnType(dart.void, [_http.HttpRequest])))(), + FutureOfWebSocket: () => (T.FutureOfWebSocket = dart.constFn(async.Future$(_http.WebSocket)))(), + SocketTo_WebSocketImpl: () => (T.SocketTo_WebSocketImpl = dart.constFn(dart.fnType(_http._WebSocketImpl, [io.Socket])))(), + StringNToFutureOfWebSocket: () => (T.StringNToFutureOfWebSocket = dart.constFn(dart.fnType(T.FutureOfWebSocket(), [T$.StringN()])))(), + VoidToFutureOrOfString: () => (T.VoidToFutureOrOfString = dart.constFn(dart.fnType(T$0.FutureOrOfString(), [])))(), + EventSinkOfListOfint: () => (T.EventSinkOfListOfint = dart.constFn(async.EventSink$(T$0.ListOfint())))(), + EventSinkOfListOfintTo_WebSocketOutgoingTransformer: () => (T.EventSinkOfListOfintTo_WebSocketOutgoingTransformer = dart.constFn(dart.fnType(_http._WebSocketOutgoingTransformer, [T.EventSinkOfListOfint()])))(), + CompleterOfWebSocket: () => (T.CompleterOfWebSocket = dart.constFn(async.Completer$(_http.WebSocket)))(), + dynamicTo_WebSocketImpl: () => (T.dynamicTo_WebSocketImpl = dart.constFn(dart.fnType(_http._WebSocketImpl, [dart.dynamic])))(), + HttpClientRequestToFutureOfHttpClientResponse: () => (T.HttpClientRequestToFutureOfHttpClientResponse = dart.constFn(dart.fnType(T$0.FutureOfHttpClientResponse(), [_http.HttpClientRequest])))(), + StringToNever: () => (T.StringToNever = dart.constFn(dart.fnType(dart.Never, [core.String])))(), + HttpClientResponseToFutureOfWebSocket: () => (T.HttpClientResponseToFutureOfWebSocket = dart.constFn(dart.fnType(T.FutureOfWebSocket(), [_http.HttpClientResponse])))(), + dynamicToMap: () => (T.dynamicToMap = dart.constFn(dart.fnType(core.Map, [dart.dynamic])))(), + LinkedMapOfint$_WebSocketImpl: () => (T.LinkedMapOfint$_WebSocketImpl = dart.constFn(_js_helper.LinkedMap$(core.int, _http._WebSocketImpl)))() +}; +var S = { + _delete$1: dart.privateName(indexed_db, "_delete"), + $delete: dartx.delete = Symbol("dartx.delete"), + _update: dart.privateName(indexed_db, "_update"), + $next: dartx.next = Symbol("dartx.next"), + $direction: dartx.direction = Symbol("dartx.direction"), + $key: dartx.key = Symbol("dartx.key"), + $primaryKey: dartx.primaryKey = Symbol("dartx.primaryKey"), + $source: dartx.source = Symbol("dartx.source"), + $advance: dartx.advance = Symbol("dartx.advance"), + $continuePrimaryKey: dartx.continuePrimaryKey = Symbol("dartx.continuePrimaryKey"), + _update_1: dart.privateName(indexed_db, "_update_1"), + _get_value: dart.privateName(indexed_db, "_get_value"), + $value: dartx.value = Symbol("dartx.value"), + _createObjectStore: dart.privateName(indexed_db, "_createObjectStore"), + $createObjectStore: dartx.createObjectStore = Symbol("dartx.createObjectStore"), + _transaction: dart.privateName(indexed_db, "_transaction"), + $transaction: dartx.transaction = Symbol("dartx.transaction"), + $transactionStore: dartx.transactionStore = Symbol("dartx.transactionStore"), + $transactionList: dartx.transactionList = Symbol("dartx.transactionList"), + $transactionStores: dartx.transactionStores = Symbol("dartx.transactionStores"), + $objectStoreNames: dartx.objectStoreNames = Symbol("dartx.objectStoreNames"), + $version: dartx.version = Symbol("dartx.version"), + $close: dartx.close = Symbol("dartx.close"), + _createObjectStore_1: dart.privateName(indexed_db, "_createObjectStore_1"), + _createObjectStore_2: dart.privateName(indexed_db, "_createObjectStore_2"), + $deleteObjectStore: dartx.deleteObjectStore = Symbol("dartx.deleteObjectStore"), + $onAbort: dartx.onAbort = Symbol("dartx.onAbort"), + $onClose: dartx.onClose = Symbol("dartx.onClose"), + $onError: dartx.onError = Symbol("dartx.onError"), + $onVersionChange: dartx.onVersionChange = Symbol("dartx.onVersionChange"), + $on: dartx.on = Symbol("dartx.on"), + _addEventListener: dart.privateName(html$, "_addEventListener"), + $addEventListener: dartx.addEventListener = Symbol("dartx.addEventListener"), + _removeEventListener: dart.privateName(html$, "_removeEventListener"), + $removeEventListener: dartx.removeEventListener = Symbol("dartx.removeEventListener"), + $dispatchEvent: dartx.dispatchEvent = Symbol("dartx.dispatchEvent"), + EventStreamProvider__eventType: dart.privateName(html$, "EventStreamProvider._eventType"), + _open: dart.privateName(indexed_db, "_open"), + $onUpgradeNeeded: dartx.onUpgradeNeeded = Symbol("dartx.onUpgradeNeeded"), + $onBlocked: dartx.onBlocked = Symbol("dartx.onBlocked"), + $open: dartx.open = Symbol("dartx.open"), + _deleteDatabase: dart.privateName(indexed_db, "_deleteDatabase"), + $onSuccess: dartx.onSuccess = Symbol("dartx.onSuccess"), + $deleteDatabase: dartx.deleteDatabase = Symbol("dartx.deleteDatabase"), + $supportsDatabaseNames: dartx.supportsDatabaseNames = Symbol("dartx.supportsDatabaseNames"), + $cmp: dartx.cmp = Symbol("dartx.cmp"), + _count$2: dart.privateName(indexed_db, "_count"), + $count: dartx.count = Symbol("dartx.count"), + _get: dart.privateName(indexed_db, "_get"), + $get: dartx.get = Symbol("dartx.get"), + _getKey: dart.privateName(indexed_db, "_getKey"), + $getKey: dartx.getKey = Symbol("dartx.getKey"), + _openCursor: dart.privateName(indexed_db, "_openCursor"), + $openCursor: dartx.openCursor = Symbol("dartx.openCursor"), + _openKeyCursor: dart.privateName(indexed_db, "_openKeyCursor"), + $openKeyCursor: dartx.openKeyCursor = Symbol("dartx.openKeyCursor"), + $keyPath: dartx.keyPath = Symbol("dartx.keyPath"), + $multiEntry: dartx.multiEntry = Symbol("dartx.multiEntry"), + $objectStore: dartx.objectStore = Symbol("dartx.objectStore"), + $unique: dartx.unique = Symbol("dartx.unique"), + $getAll: dartx.getAll = Symbol("dartx.getAll"), + $getAllKeys: dartx.getAllKeys = Symbol("dartx.getAllKeys"), + $lower: dartx.lower = Symbol("dartx.lower"), + $lowerOpen: dartx.lowerOpen = Symbol("dartx.lowerOpen"), + $upper: dartx.upper = Symbol("dartx.upper"), + $upperOpen: dartx.upperOpen = Symbol("dartx.upperOpen"), + $includes: dartx.includes = Symbol("dartx.includes"), + _add$3: dart.privateName(indexed_db, "_add"), + _clear$2: dart.privateName(indexed_db, "_clear"), + _put: dart.privateName(indexed_db, "_put"), + $put: dartx.put = Symbol("dartx.put"), + $getObject: dartx.getObject = Symbol("dartx.getObject"), + _createIndex: dart.privateName(indexed_db, "_createIndex"), + $createIndex: dartx.createIndex = Symbol("dartx.createIndex"), + $autoIncrement: dartx.autoIncrement = Symbol("dartx.autoIncrement"), + $indexNames: dartx.indexNames = Symbol("dartx.indexNames"), + _add_1: dart.privateName(indexed_db, "_add_1"), + _add_2: dart.privateName(indexed_db, "_add_2"), + _createIndex_1: dart.privateName(indexed_db, "_createIndex_1"), + _createIndex_2: dart.privateName(indexed_db, "_createIndex_2"), + $deleteIndex: dartx.deleteIndex = Symbol("dartx.deleteIndex"), + $index: dartx.index = Symbol("dartx.index"), + _put_1: dart.privateName(indexed_db, "_put_1"), + _put_2: dart.privateName(indexed_db, "_put_2"), + $result: dartx.result = Symbol("dartx.result"), + $type: dartx.type = Symbol("dartx.type"), + _observe_1: dart.privateName(indexed_db, "_observe_1"), + $observe: dartx.observe = Symbol("dartx.observe"), + $unobserve: dartx.unobserve = Symbol("dartx.unobserve"), + $database: dartx.database = Symbol("dartx.database"), + $records: dartx.records = Symbol("dartx.records"), + $error: dartx.error = Symbol("dartx.error"), + $readyState: dartx.readyState = Symbol("dartx.readyState"), + _get_result: dart.privateName(indexed_db, "_get_result"), + $onComplete: dartx.onComplete = Symbol("dartx.onComplete"), + $completed: dartx.completed = Symbol("dartx.completed"), + $db: dartx.db = Symbol("dartx.db"), + $mode: dartx.mode = Symbol("dartx.mode"), + $abort: dartx.abort = Symbol("dartx.abort"), + $dataLoss: dartx.dataLoss = Symbol("dartx.dataLoss"), + $dataLossMessage: dartx.dataLossMessage = Symbol("dartx.dataLossMessage"), + $newVersion: dartx.newVersion = Symbol("dartx.newVersion"), + $oldVersion: dartx.oldVersion = Symbol("dartx.oldVersion"), + $target: dartx.target = Symbol("dartx.target"), + _createEvent: dart.privateName(html$, "_createEvent"), + _initEvent: dart.privateName(html$, "_initEvent"), + _selector: dart.privateName(html$, "_selector"), + $currentTarget: dartx.currentTarget = Symbol("dartx.currentTarget"), + $matches: dartx.matches = Symbol("dartx.matches"), + $parent: dartx.parent = Symbol("dartx.parent"), + $matchingTarget: dartx.matchingTarget = Symbol("dartx.matchingTarget"), + $path: dartx.path = Symbol("dartx.path"), + $bubbles: dartx.bubbles = Symbol("dartx.bubbles"), + $cancelable: dartx.cancelable = Symbol("dartx.cancelable"), + $composed: dartx.composed = Symbol("dartx.composed"), + _get_currentTarget: dart.privateName(html$, "_get_currentTarget"), + $defaultPrevented: dartx.defaultPrevented = Symbol("dartx.defaultPrevented"), + $eventPhase: dartx.eventPhase = Symbol("dartx.eventPhase"), + $isTrusted: dartx.isTrusted = Symbol("dartx.isTrusted"), + _get_target: dart.privateName(html$, "_get_target"), + $timeStamp: dartx.timeStamp = Symbol("dartx.timeStamp"), + $composedPath: dartx.composedPath = Symbol("dartx.composedPath"), + $preventDefault: dartx.preventDefault = Symbol("dartx.preventDefault"), + $stopImmediatePropagation: dartx.stopImmediatePropagation = Symbol("dartx.stopImmediatePropagation"), + $stopPropagation: dartx.stopPropagation = Symbol("dartx.stopPropagation"), + $nonce: dartx.nonce = Symbol("dartx.nonce"), + $createFragment: dartx.createFragment = Symbol("dartx.createFragment"), + $nodes: dartx.nodes = Symbol("dartx.nodes"), + $attributes: dartx.attributes = Symbol("dartx.attributes"), + _getAttribute: dart.privateName(html$, "_getAttribute"), + $getAttribute: dartx.getAttribute = Symbol("dartx.getAttribute"), + _getAttributeNS: dart.privateName(html$, "_getAttributeNS"), + $getAttributeNS: dartx.getAttributeNS = Symbol("dartx.getAttributeNS"), + _hasAttribute: dart.privateName(html$, "_hasAttribute"), + $hasAttribute: dartx.hasAttribute = Symbol("dartx.hasAttribute"), + _hasAttributeNS: dart.privateName(html$, "_hasAttributeNS"), + $hasAttributeNS: dartx.hasAttributeNS = Symbol("dartx.hasAttributeNS"), + _removeAttribute: dart.privateName(html$, "_removeAttribute"), + $removeAttribute: dartx.removeAttribute = Symbol("dartx.removeAttribute"), + _removeAttributeNS: dart.privateName(html$, "_removeAttributeNS"), + $removeAttributeNS: dartx.removeAttributeNS = Symbol("dartx.removeAttributeNS"), + _setAttribute: dart.privateName(html$, "_setAttribute"), + $setAttribute: dartx.setAttribute = Symbol("dartx.setAttribute"), + _setAttributeNS: dart.privateName(html$, "_setAttributeNS"), + $setAttributeNS: dartx.setAttributeNS = Symbol("dartx.setAttributeNS"), + $children: dartx.children = Symbol("dartx.children"), + _children: dart.privateName(html$, "_children"), + _querySelectorAll: dart.privateName(html$, "_querySelectorAll"), + $querySelectorAll: dartx.querySelectorAll = Symbol("dartx.querySelectorAll"), + _setApplyScroll: dart.privateName(html$, "_setApplyScroll"), + $setApplyScroll: dartx.setApplyScroll = Symbol("dartx.setApplyScroll"), + _setDistributeScroll: dart.privateName(html$, "_setDistributeScroll"), + $setDistributeScroll: dartx.setDistributeScroll = Symbol("dartx.setDistributeScroll"), + $classes: dartx.classes = Symbol("dartx.classes"), + $dataset: dartx.dataset = Symbol("dartx.dataset"), + $getNamespacedAttributes: dartx.getNamespacedAttributes = Symbol("dartx.getNamespacedAttributes"), + _getComputedStyle: dart.privateName(html$, "_getComputedStyle"), + $getComputedStyle: dartx.getComputedStyle = Symbol("dartx.getComputedStyle"), + $client: dartx.client = Symbol("dartx.client"), + $offsetLeft: dartx.offsetLeft = Symbol("dartx.offsetLeft"), + $offsetTop: dartx.offsetTop = Symbol("dartx.offsetTop"), + $offsetWidth: dartx.offsetWidth = Symbol("dartx.offsetWidth"), + $offsetHeight: dartx.offsetHeight = Symbol("dartx.offsetHeight"), + $offset: dartx.offset = Symbol("dartx.offset"), + $append: dartx.append = Symbol("dartx.append"), + $appendText: dartx.appendText = Symbol("dartx.appendText"), + $insertAdjacentHtml: dartx.insertAdjacentHtml = Symbol("dartx.insertAdjacentHtml"), + $appendHtml: dartx.appendHtml = Symbol("dartx.appendHtml"), + $enteredView: dartx.enteredView = Symbol("dartx.enteredView"), + $attached: dartx.attached = Symbol("dartx.attached"), + $leftView: dartx.leftView = Symbol("dartx.leftView"), + $detached: dartx.detached = Symbol("dartx.detached"), + _getClientRects: dart.privateName(html$, "_getClientRects"), + $getClientRects: dartx.getClientRects = Symbol("dartx.getClientRects"), + _animate: dart.privateName(html$, "_animate"), + $animate: dartx.animate = Symbol("dartx.animate"), + $attributeChanged: dartx.attributeChanged = Symbol("dartx.attributeChanged"), + _localName: dart.privateName(html$, "_localName"), + $localName: dartx.localName = Symbol("dartx.localName"), + _namespaceUri: dart.privateName(html$, "_namespaceUri"), + $namespaceUri: dartx.namespaceUri = Symbol("dartx.namespaceUri"), + _scrollIntoView: dart.privateName(html$, "_scrollIntoView"), + _scrollIntoViewIfNeeded: dart.privateName(html$, "_scrollIntoViewIfNeeded"), + $scrollIntoView: dartx.scrollIntoView = Symbol("dartx.scrollIntoView"), + _insertAdjacentText: dart.privateName(html$, "_insertAdjacentText"), + _insertAdjacentNode: dart.privateName(html$, "_insertAdjacentNode"), + $insertAdjacentText: dartx.insertAdjacentText = Symbol("dartx.insertAdjacentText"), + _insertAdjacentHtml: dart.privateName(html$, "_insertAdjacentHtml"), + _insertAdjacentElement: dart.privateName(html$, "_insertAdjacentElement"), + $insertAdjacentElement: dartx.insertAdjacentElement = Symbol("dartx.insertAdjacentElement"), + $nextNode: dartx.nextNode = Symbol("dartx.nextNode"), + $matchesWithAncestors: dartx.matchesWithAncestors = Symbol("dartx.matchesWithAncestors"), + $createShadowRoot: dartx.createShadowRoot = Symbol("dartx.createShadowRoot"), + $shadowRoot: dartx.shadowRoot = Symbol("dartx.shadowRoot"), + $contentEdge: dartx.contentEdge = Symbol("dartx.contentEdge"), + $paddingEdge: dartx.paddingEdge = Symbol("dartx.paddingEdge"), + $borderEdge: dartx.borderEdge = Symbol("dartx.borderEdge"), + $marginEdge: dartx.marginEdge = Symbol("dartx.marginEdge"), + $offsetTo: dartx.offsetTo = Symbol("dartx.offsetTo"), + $documentOffset: dartx.documentOffset = Symbol("dartx.documentOffset"), + $createHtmlDocument: dartx.createHtmlDocument = Symbol("dartx.createHtmlDocument"), + $createElement: dartx.createElement = Symbol("dartx.createElement"), + $baseUri: dartx.baseUri = Symbol("dartx.baseUri"), + $head: dartx.head = Symbol("dartx.head"), + _canBeUsedToCreateContextualFragment: dart.privateName(html$, "_canBeUsedToCreateContextualFragment"), + _innerHtml: dart.privateName(html$, "_innerHtml"), + _cannotBeUsedToCreateContextualFragment: dart.privateName(html$, "_cannotBeUsedToCreateContextualFragment"), + $setInnerHtml: dartx.setInnerHtml = Symbol("dartx.setInnerHtml"), + $innerHtml: dartx.innerHtml = Symbol("dartx.innerHtml"), + $text: dartx.text = Symbol("dartx.text"), + $innerText: dartx.innerText = Symbol("dartx.innerText"), + $offsetParent: dartx.offsetParent = Symbol("dartx.offsetParent"), + $scrollHeight: dartx.scrollHeight = Symbol("dartx.scrollHeight"), + $scrollLeft: dartx.scrollLeft = Symbol("dartx.scrollLeft"), + $scrollTop: dartx.scrollTop = Symbol("dartx.scrollTop"), + $scrollWidth: dartx.scrollWidth = Symbol("dartx.scrollWidth"), + $contentEditable: dartx.contentEditable = Symbol("dartx.contentEditable"), + $dir: dartx.dir = Symbol("dartx.dir"), + $draggable: dartx.draggable = Symbol("dartx.draggable"), + $hidden: dartx.hidden = Symbol("dartx.hidden"), + $inert: dartx.inert = Symbol("dartx.inert"), + $inputMode: dartx.inputMode = Symbol("dartx.inputMode"), + $isContentEditable: dartx.isContentEditable = Symbol("dartx.isContentEditable"), + $lang: dartx.lang = Symbol("dartx.lang"), + $spellcheck: dartx.spellcheck = Symbol("dartx.spellcheck"), + $style: dartx.style = Symbol("dartx.style"), + $tabIndex: dartx.tabIndex = Symbol("dartx.tabIndex"), + $title: dartx.title = Symbol("dartx.title"), + $translate: dartx.translate = Symbol("dartx.translate"), + $blur: dartx.blur = Symbol("dartx.blur"), + $click: dartx.click = Symbol("dartx.click"), + $focus: dartx.focus = Symbol("dartx.focus"), + $accessibleNode: dartx.accessibleNode = Symbol("dartx.accessibleNode"), + $assignedSlot: dartx.assignedSlot = Symbol("dartx.assignedSlot"), + _attributes$1: dart.privateName(html$, "_attributes"), + $className: dartx.className = Symbol("dartx.className"), + $clientHeight: dartx.clientHeight = Symbol("dartx.clientHeight"), + $clientLeft: dartx.clientLeft = Symbol("dartx.clientLeft"), + $clientTop: dartx.clientTop = Symbol("dartx.clientTop"), + $clientWidth: dartx.clientWidth = Symbol("dartx.clientWidth"), + $computedName: dartx.computedName = Symbol("dartx.computedName"), + $computedRole: dartx.computedRole = Symbol("dartx.computedRole"), + $id: dartx.id = Symbol("dartx.id"), + $outerHtml: dartx.outerHtml = Symbol("dartx.outerHtml"), + _scrollHeight: dart.privateName(html$, "_scrollHeight"), + _scrollLeft: dart.privateName(html$, "_scrollLeft"), + _scrollTop: dart.privateName(html$, "_scrollTop"), + _scrollWidth: dart.privateName(html$, "_scrollWidth"), + $slot: dartx.slot = Symbol("dartx.slot"), + $styleMap: dartx.styleMap = Symbol("dartx.styleMap"), + $tagName: dartx.tagName = Symbol("dartx.tagName"), + _attachShadow_1: dart.privateName(html$, "_attachShadow_1"), + $attachShadow: dartx.attachShadow = Symbol("dartx.attachShadow"), + $closest: dartx.closest = Symbol("dartx.closest"), + $getAnimations: dartx.getAnimations = Symbol("dartx.getAnimations"), + $getAttributeNames: dartx.getAttributeNames = Symbol("dartx.getAttributeNames"), + $getBoundingClientRect: dartx.getBoundingClientRect = Symbol("dartx.getBoundingClientRect"), + $getDestinationInsertionPoints: dartx.getDestinationInsertionPoints = Symbol("dartx.getDestinationInsertionPoints"), + $getElementsByClassName: dartx.getElementsByClassName = Symbol("dartx.getElementsByClassName"), + _getElementsByTagName: dart.privateName(html$, "_getElementsByTagName"), + $hasPointerCapture: dartx.hasPointerCapture = Symbol("dartx.hasPointerCapture"), + $releasePointerCapture: dartx.releasePointerCapture = Symbol("dartx.releasePointerCapture"), + $requestPointerLock: dartx.requestPointerLock = Symbol("dartx.requestPointerLock"), + _scroll_1: dart.privateName(html$, "_scroll_1"), + _scroll_2: dart.privateName(html$, "_scroll_2"), + _scroll_3: dart.privateName(html$, "_scroll_3"), + $scroll: dartx.scroll = Symbol("dartx.scroll"), + _scrollBy_1: dart.privateName(html$, "_scrollBy_1"), + _scrollBy_2: dart.privateName(html$, "_scrollBy_2"), + _scrollBy_3: dart.privateName(html$, "_scrollBy_3"), + $scrollBy: dartx.scrollBy = Symbol("dartx.scrollBy"), + _scrollTo_1: dart.privateName(html$, "_scrollTo_1"), + _scrollTo_2: dart.privateName(html$, "_scrollTo_2"), + _scrollTo_3: dart.privateName(html$, "_scrollTo_3"), + $scrollTo: dartx.scrollTo = Symbol("dartx.scrollTo"), + $setPointerCapture: dartx.setPointerCapture = Symbol("dartx.setPointerCapture"), + $requestFullscreen: dartx.requestFullscreen = Symbol("dartx.requestFullscreen"), + $after: dartx.after = Symbol("dartx.after"), + $before: dartx.before = Symbol("dartx.before"), + $nextElementSibling: dartx.nextElementSibling = Symbol("dartx.nextElementSibling"), + $previousElementSibling: dartx.previousElementSibling = Symbol("dartx.previousElementSibling"), + _childElementCount: dart.privateName(html$, "_childElementCount"), + _firstElementChild: dart.privateName(html$, "_firstElementChild"), + _lastElementChild: dart.privateName(html$, "_lastElementChild"), + $querySelector: dartx.querySelector = Symbol("dartx.querySelector"), + $onBeforeCopy: dartx.onBeforeCopy = Symbol("dartx.onBeforeCopy"), + $onBeforeCut: dartx.onBeforeCut = Symbol("dartx.onBeforeCut"), + $onBeforePaste: dartx.onBeforePaste = Symbol("dartx.onBeforePaste"), + $onBlur: dartx.onBlur = Symbol("dartx.onBlur"), + $onCanPlay: dartx.onCanPlay = Symbol("dartx.onCanPlay"), + $onCanPlayThrough: dartx.onCanPlayThrough = Symbol("dartx.onCanPlayThrough"), + $onChange: dartx.onChange = Symbol("dartx.onChange"), + $onClick: dartx.onClick = Symbol("dartx.onClick"), + $onContextMenu: dartx.onContextMenu = Symbol("dartx.onContextMenu"), + $onCopy: dartx.onCopy = Symbol("dartx.onCopy"), + $onCut: dartx.onCut = Symbol("dartx.onCut"), + $onDoubleClick: dartx.onDoubleClick = Symbol("dartx.onDoubleClick"), + $onDrag: dartx.onDrag = Symbol("dartx.onDrag"), + $onDragEnd: dartx.onDragEnd = Symbol("dartx.onDragEnd"), + $onDragEnter: dartx.onDragEnter = Symbol("dartx.onDragEnter"), + $onDragLeave: dartx.onDragLeave = Symbol("dartx.onDragLeave"), + $onDragOver: dartx.onDragOver = Symbol("dartx.onDragOver"), + $onDragStart: dartx.onDragStart = Symbol("dartx.onDragStart"), + $onDrop: dartx.onDrop = Symbol("dartx.onDrop"), + $onDurationChange: dartx.onDurationChange = Symbol("dartx.onDurationChange"), + $onEmptied: dartx.onEmptied = Symbol("dartx.onEmptied"), + $onEnded: dartx.onEnded = Symbol("dartx.onEnded"), + $onFocus: dartx.onFocus = Symbol("dartx.onFocus"), + $onInput: dartx.onInput = Symbol("dartx.onInput"), + $onInvalid: dartx.onInvalid = Symbol("dartx.onInvalid"), + $onKeyDown: dartx.onKeyDown = Symbol("dartx.onKeyDown"), + $onKeyPress: dartx.onKeyPress = Symbol("dartx.onKeyPress"), + $onKeyUp: dartx.onKeyUp = Symbol("dartx.onKeyUp"), + $onLoad: dartx.onLoad = Symbol("dartx.onLoad"), + $onLoadedData: dartx.onLoadedData = Symbol("dartx.onLoadedData"), + $onLoadedMetadata: dartx.onLoadedMetadata = Symbol("dartx.onLoadedMetadata"), + $onMouseDown: dartx.onMouseDown = Symbol("dartx.onMouseDown"), + $onMouseEnter: dartx.onMouseEnter = Symbol("dartx.onMouseEnter"), + $onMouseLeave: dartx.onMouseLeave = Symbol("dartx.onMouseLeave"), + $onMouseMove: dartx.onMouseMove = Symbol("dartx.onMouseMove"), + $onMouseOut: dartx.onMouseOut = Symbol("dartx.onMouseOut"), + $onMouseOver: dartx.onMouseOver = Symbol("dartx.onMouseOver"), + $onMouseUp: dartx.onMouseUp = Symbol("dartx.onMouseUp"), + $onMouseWheel: dartx.onMouseWheel = Symbol("dartx.onMouseWheel"), + $onPaste: dartx.onPaste = Symbol("dartx.onPaste"), + $onPause: dartx.onPause = Symbol("dartx.onPause"), + $onPlay: dartx.onPlay = Symbol("dartx.onPlay"), + $onPlaying: dartx.onPlaying = Symbol("dartx.onPlaying"), + $onRateChange: dartx.onRateChange = Symbol("dartx.onRateChange"), + $onReset: dartx.onReset = Symbol("dartx.onReset"), + $onResize: dartx.onResize = Symbol("dartx.onResize"), + $onScroll: dartx.onScroll = Symbol("dartx.onScroll"), + $onSearch: dartx.onSearch = Symbol("dartx.onSearch"), + $onSeeked: dartx.onSeeked = Symbol("dartx.onSeeked"), + $onSeeking: dartx.onSeeking = Symbol("dartx.onSeeking"), + $onSelect: dartx.onSelect = Symbol("dartx.onSelect"), + $onSelectStart: dartx.onSelectStart = Symbol("dartx.onSelectStart"), + $onStalled: dartx.onStalled = Symbol("dartx.onStalled"), + $onSubmit: dartx.onSubmit = Symbol("dartx.onSubmit") +}; +var S$ = { + $onSuspend: dartx.onSuspend = Symbol("dartx.onSuspend"), + $onTimeUpdate: dartx.onTimeUpdate = Symbol("dartx.onTimeUpdate"), + $onTouchCancel: dartx.onTouchCancel = Symbol("dartx.onTouchCancel"), + $onTouchEnd: dartx.onTouchEnd = Symbol("dartx.onTouchEnd"), + $onTouchEnter: dartx.onTouchEnter = Symbol("dartx.onTouchEnter"), + $onTouchLeave: dartx.onTouchLeave = Symbol("dartx.onTouchLeave"), + $onTouchMove: dartx.onTouchMove = Symbol("dartx.onTouchMove"), + $onTouchStart: dartx.onTouchStart = Symbol("dartx.onTouchStart"), + $onTransitionEnd: dartx.onTransitionEnd = Symbol("dartx.onTransitionEnd"), + $onVolumeChange: dartx.onVolumeChange = Symbol("dartx.onVolumeChange"), + $onWaiting: dartx.onWaiting = Symbol("dartx.onWaiting"), + $onFullscreenChange: dartx.onFullscreenChange = Symbol("dartx.onFullscreenChange"), + $onFullscreenError: dartx.onFullscreenError = Symbol("dartx.onFullscreenError"), + $onWheel: dartx.onWheel = Symbol("dartx.onWheel"), + _removeChild: dart.privateName(html$, "_removeChild"), + _replaceChild: dart.privateName(html$, "_replaceChild"), + $replaceWith: dartx.replaceWith = Symbol("dartx.replaceWith"), + _this: dart.privateName(html$, "_this"), + $insertAllBefore: dartx.insertAllBefore = Symbol("dartx.insertAllBefore"), + _clearChildren: dart.privateName(html$, "_clearChildren"), + $childNodes: dartx.childNodes = Symbol("dartx.childNodes"), + $firstChild: dartx.firstChild = Symbol("dartx.firstChild"), + $isConnected: dartx.isConnected = Symbol("dartx.isConnected"), + $lastChild: dartx.lastChild = Symbol("dartx.lastChild"), + $nodeName: dartx.nodeName = Symbol("dartx.nodeName"), + $nodeType: dartx.nodeType = Symbol("dartx.nodeType"), + $nodeValue: dartx.nodeValue = Symbol("dartx.nodeValue"), + $ownerDocument: dartx.ownerDocument = Symbol("dartx.ownerDocument"), + $parentNode: dartx.parentNode = Symbol("dartx.parentNode"), + $previousNode: dartx.previousNode = Symbol("dartx.previousNode"), + $clone: dartx.clone = Symbol("dartx.clone"), + _getRootNode_1: dart.privateName(html$, "_getRootNode_1"), + _getRootNode_2: dart.privateName(html$, "_getRootNode_2"), + $getRootNode: dartx.getRootNode = Symbol("dartx.getRootNode"), + $hasChildNodes: dartx.hasChildNodes = Symbol("dartx.hasChildNodes"), + $insertBefore: dartx.insertBefore = Symbol("dartx.insertBefore"), + _CustomEventStreamProvider__eventTypeGetter: dart.privateName(html$, "_CustomEventStreamProvider._eventTypeGetter"), + $respondWith: dartx.respondWith = Symbol("dartx.respondWith"), + $waitUntil: dartx.waitUntil = Symbol("dartx.waitUntil"), + $quaternion: dartx.quaternion = Symbol("dartx.quaternion"), + $populateMatrix: dartx.populateMatrix = Symbol("dartx.populateMatrix"), + $activated: dartx.activated = Symbol("dartx.activated"), + $hasReading: dartx.hasReading = Symbol("dartx.hasReading"), + $timestamp: dartx.timestamp = Symbol("dartx.timestamp"), + $start: dartx.start = Symbol("dartx.start"), + $stop: dartx.stop = Symbol("dartx.stop"), + $x: dartx.x = Symbol("dartx.x"), + $y: dartx.y = Symbol("dartx.y"), + $z: dartx.z = Symbol("dartx.z"), + $activeDescendant: dartx.activeDescendant = Symbol("dartx.activeDescendant"), + $atomic: dartx.atomic = Symbol("dartx.atomic"), + $autocomplete: dartx.autocomplete = Symbol("dartx.autocomplete"), + $busy: dartx.busy = Symbol("dartx.busy"), + $checked: dartx.checked = Symbol("dartx.checked"), + $colCount: dartx.colCount = Symbol("dartx.colCount"), + $colIndex: dartx.colIndex = Symbol("dartx.colIndex"), + $colSpan: dartx.colSpan = Symbol("dartx.colSpan"), + $controls: dartx.controls = Symbol("dartx.controls"), + $current: dartx.current = Symbol("dartx.current"), + $describedBy: dartx.describedBy = Symbol("dartx.describedBy"), + $details: dartx.details = Symbol("dartx.details"), + $disabled: dartx.disabled = Symbol("dartx.disabled"), + $errorMessage: dartx.errorMessage = Symbol("dartx.errorMessage"), + $expanded: dartx.expanded = Symbol("dartx.expanded"), + $flowTo: dartx.flowTo = Symbol("dartx.flowTo"), + $hasPopUp: dartx.hasPopUp = Symbol("dartx.hasPopUp"), + $invalid: dartx.invalid = Symbol("dartx.invalid"), + $keyShortcuts: dartx.keyShortcuts = Symbol("dartx.keyShortcuts"), + $label: dartx.label = Symbol("dartx.label"), + $labeledBy: dartx.labeledBy = Symbol("dartx.labeledBy"), + $level: dartx.level = Symbol("dartx.level"), + $live: dartx.live = Symbol("dartx.live"), + $modal: dartx.modal = Symbol("dartx.modal"), + $multiline: dartx.multiline = Symbol("dartx.multiline"), + $multiselectable: dartx.multiselectable = Symbol("dartx.multiselectable"), + $orientation: dartx.orientation = Symbol("dartx.orientation"), + $owns: dartx.owns = Symbol("dartx.owns"), + $placeholder: dartx.placeholder = Symbol("dartx.placeholder"), + $posInSet: dartx.posInSet = Symbol("dartx.posInSet"), + $pressed: dartx.pressed = Symbol("dartx.pressed"), + $readOnly: dartx.readOnly = Symbol("dartx.readOnly"), + $relevant: dartx.relevant = Symbol("dartx.relevant"), + $required: dartx.required = Symbol("dartx.required"), + $role: dartx.role = Symbol("dartx.role"), + $roleDescription: dartx.roleDescription = Symbol("dartx.roleDescription"), + $rowCount: dartx.rowCount = Symbol("dartx.rowCount"), + $rowIndex: dartx.rowIndex = Symbol("dartx.rowIndex"), + $rowSpan: dartx.rowSpan = Symbol("dartx.rowSpan"), + $selected: dartx.selected = Symbol("dartx.selected"), + $setSize: dartx.setSize = Symbol("dartx.setSize"), + $valueMax: dartx.valueMax = Symbol("dartx.valueMax"), + $valueMin: dartx.valueMin = Symbol("dartx.valueMin"), + $valueNow: dartx.valueNow = Symbol("dartx.valueNow"), + $valueText: dartx.valueText = Symbol("dartx.valueText"), + $appendChild: dartx.appendChild = Symbol("dartx.appendChild"), + $onAccessibleClick: dartx.onAccessibleClick = Symbol("dartx.onAccessibleClick"), + $onAccessibleContextMenu: dartx.onAccessibleContextMenu = Symbol("dartx.onAccessibleContextMenu"), + $onAccessibleDecrement: dartx.onAccessibleDecrement = Symbol("dartx.onAccessibleDecrement"), + $onAccessibleFocus: dartx.onAccessibleFocus = Symbol("dartx.onAccessibleFocus"), + $onAccessibleIncrement: dartx.onAccessibleIncrement = Symbol("dartx.onAccessibleIncrement"), + $onAccessibleScrollIntoView: dartx.onAccessibleScrollIntoView = Symbol("dartx.onAccessibleScrollIntoView"), + __setter__: dart.privateName(html$, "__setter__"), + $item: dartx.item = Symbol("dartx.item"), + $illuminance: dartx.illuminance = Symbol("dartx.illuminance"), + $download: dartx.download = Symbol("dartx.download"), + $hreflang: dartx.hreflang = Symbol("dartx.hreflang"), + $referrerPolicy: dartx.referrerPolicy = Symbol("dartx.referrerPolicy"), + $rel: dartx.rel = Symbol("dartx.rel"), + $hash: dartx.hash = Symbol("dartx.hash"), + $host: dartx.host = Symbol("dartx.host"), + $hostname: dartx.hostname = Symbol("dartx.hostname"), + $href: dartx.href = Symbol("dartx.href"), + $origin: dartx.origin = Symbol("dartx.origin"), + $password: dartx.password = Symbol("dartx.password"), + $pathname: dartx.pathname = Symbol("dartx.pathname"), + $port: dartx.port = Symbol("dartx.port"), + $protocol: dartx.protocol = Symbol("dartx.protocol"), + $search: dartx.search = Symbol("dartx.search"), + $username: dartx.username = Symbol("dartx.username"), + $currentTime: dartx.currentTime = Symbol("dartx.currentTime"), + $effect: dartx.effect = Symbol("dartx.effect"), + $finished: dartx.finished = Symbol("dartx.finished"), + $playState: dartx.playState = Symbol("dartx.playState"), + $playbackRate: dartx.playbackRate = Symbol("dartx.playbackRate"), + $ready: dartx.ready = Symbol("dartx.ready"), + $startTime: dartx.startTime = Symbol("dartx.startTime"), + $timeline: dartx.timeline = Symbol("dartx.timeline"), + $cancel: dartx.cancel = Symbol("dartx.cancel"), + $finish: dartx.finish = Symbol("dartx.finish"), + $pause: dartx.pause = Symbol("dartx.pause"), + $play: dartx.play = Symbol("dartx.play"), + $reverse: dartx.reverse = Symbol("dartx.reverse"), + $onCancel: dartx.onCancel = Symbol("dartx.onCancel"), + $onFinish: dartx.onFinish = Symbol("dartx.onFinish"), + $timing: dartx.timing = Symbol("dartx.timing"), + _getComputedTiming_1: dart.privateName(html$, "_getComputedTiming_1"), + $getComputedTiming: dartx.getComputedTiming = Symbol("dartx.getComputedTiming"), + $delay: dartx.delay = Symbol("dartx.delay"), + $duration: dartx.duration = Symbol("dartx.duration"), + $easing: dartx.easing = Symbol("dartx.easing"), + $endDelay: dartx.endDelay = Symbol("dartx.endDelay"), + $fill: dartx.fill = Symbol("dartx.fill"), + $iterationStart: dartx.iterationStart = Symbol("dartx.iterationStart"), + $iterations: dartx.iterations = Symbol("dartx.iterations"), + $animationName: dartx.animationName = Symbol("dartx.animationName"), + $elapsedTime: dartx.elapsedTime = Symbol("dartx.elapsedTime"), + $timelineTime: dartx.timelineTime = Symbol("dartx.timelineTime"), + $registerAnimator: dartx.registerAnimator = Symbol("dartx.registerAnimator"), + $status: dartx.status = Symbol("dartx.status"), + $swapCache: dartx.swapCache = Symbol("dartx.swapCache"), + $onCached: dartx.onCached = Symbol("dartx.onCached"), + $onChecking: dartx.onChecking = Symbol("dartx.onChecking"), + $onDownloading: dartx.onDownloading = Symbol("dartx.onDownloading"), + $onNoUpdate: dartx.onNoUpdate = Symbol("dartx.onNoUpdate"), + $onObsolete: dartx.onObsolete = Symbol("dartx.onObsolete"), + $onProgress: dartx.onProgress = Symbol("dartx.onProgress"), + $onUpdateReady: dartx.onUpdateReady = Symbol("dartx.onUpdateReady"), + $reason: dartx.reason = Symbol("dartx.reason"), + $url: dartx.url = Symbol("dartx.url"), + $alt: dartx.alt = Symbol("dartx.alt"), + $coords: dartx.coords = Symbol("dartx.coords"), + $shape: dartx.shape = Symbol("dartx.shape"), + $audioTracks: dartx.audioTracks = Symbol("dartx.audioTracks"), + $autoplay: dartx.autoplay = Symbol("dartx.autoplay"), + $buffered: dartx.buffered = Symbol("dartx.buffered"), + $controlsList: dartx.controlsList = Symbol("dartx.controlsList"), + $crossOrigin: dartx.crossOrigin = Symbol("dartx.crossOrigin"), + $currentSrc: dartx.currentSrc = Symbol("dartx.currentSrc"), + $defaultMuted: dartx.defaultMuted = Symbol("dartx.defaultMuted"), + $defaultPlaybackRate: dartx.defaultPlaybackRate = Symbol("dartx.defaultPlaybackRate"), + $disableRemotePlayback: dartx.disableRemotePlayback = Symbol("dartx.disableRemotePlayback"), + $ended: dartx.ended = Symbol("dartx.ended"), + $loop: dartx.loop = Symbol("dartx.loop"), + $mediaKeys: dartx.mediaKeys = Symbol("dartx.mediaKeys"), + $muted: dartx.muted = Symbol("dartx.muted"), + $networkState: dartx.networkState = Symbol("dartx.networkState"), + $paused: dartx.paused = Symbol("dartx.paused"), + $played: dartx.played = Symbol("dartx.played"), + $preload: dartx.preload = Symbol("dartx.preload"), + $remote: dartx.remote = Symbol("dartx.remote"), + $seekable: dartx.seekable = Symbol("dartx.seekable"), + $seeking: dartx.seeking = Symbol("dartx.seeking"), + $sinkId: dartx.sinkId = Symbol("dartx.sinkId"), + $src: dartx.src = Symbol("dartx.src"), + $srcObject: dartx.srcObject = Symbol("dartx.srcObject"), + $textTracks: dartx.textTracks = Symbol("dartx.textTracks"), + $videoTracks: dartx.videoTracks = Symbol("dartx.videoTracks"), + $volume: dartx.volume = Symbol("dartx.volume"), + $audioDecodedByteCount: dartx.audioDecodedByteCount = Symbol("dartx.audioDecodedByteCount"), + $videoDecodedByteCount: dartx.videoDecodedByteCount = Symbol("dartx.videoDecodedByteCount"), + $addTextTrack: dartx.addTextTrack = Symbol("dartx.addTextTrack"), + $canPlayType: dartx.canPlayType = Symbol("dartx.canPlayType"), + $captureStream: dartx.captureStream = Symbol("dartx.captureStream"), + $load: dartx.load = Symbol("dartx.load"), + $setMediaKeys: dartx.setMediaKeys = Symbol("dartx.setMediaKeys"), + $setSinkId: dartx.setSinkId = Symbol("dartx.setSinkId"), + $authenticatorData: dartx.authenticatorData = Symbol("dartx.authenticatorData"), + $signature: dartx.signature = Symbol("dartx.signature"), + $clientDataJson: dartx.clientDataJson = Symbol("dartx.clientDataJson"), + $attestationObject: dartx.attestationObject = Symbol("dartx.attestationObject"), + $state: dartx.state = Symbol("dartx.state"), + $fetches: dartx.fetches = Symbol("dartx.fetches"), + $request: dartx.request = Symbol("dartx.request"), + $fetch: dartx.fetch = Symbol("dartx.fetch"), + $getIds: dartx.getIds = Symbol("dartx.getIds"), + $downloadTotal: dartx.downloadTotal = Symbol("dartx.downloadTotal"), + $downloaded: dartx.downloaded = Symbol("dartx.downloaded"), + $totalDownloadSize: dartx.totalDownloadSize = Symbol("dartx.totalDownloadSize"), + $uploadTotal: dartx.uploadTotal = Symbol("dartx.uploadTotal"), + $uploaded: dartx.uploaded = Symbol("dartx.uploaded"), + $response: dartx.response = Symbol("dartx.response"), + $updateUI: dartx.updateUI = Symbol("dartx.updateUI"), + $visible: dartx.visible = Symbol("dartx.visible"), + $detect: dartx.detect = Symbol("dartx.detect"), + $charging: dartx.charging = Symbol("dartx.charging"), + $chargingTime: dartx.chargingTime = Symbol("dartx.chargingTime"), + $dischargingTime: dartx.dischargingTime = Symbol("dartx.dischargingTime"), + $platforms: dartx.platforms = Symbol("dartx.platforms"), + $userChoice: dartx.userChoice = Symbol("dartx.userChoice"), + $prompt: dartx.prompt = Symbol("dartx.prompt"), + $returnValue: dartx.returnValue = Symbol("dartx.returnValue"), + $size: dartx.size = Symbol("dartx.size"), + $slice: dartx.slice = Symbol("dartx.slice"), + $data: dartx.data = Symbol("dartx.data"), + $timecode: dartx.timecode = Symbol("dartx.timecode"), + $characteristic: dartx.characteristic = Symbol("dartx.characteristic"), + $uuid: dartx.uuid = Symbol("dartx.uuid"), + $readValue: dartx.readValue = Symbol("dartx.readValue"), + $writeValue: dartx.writeValue = Symbol("dartx.writeValue"), + $bodyUsed: dartx.bodyUsed = Symbol("dartx.bodyUsed"), + $arrayBuffer: dartx.arrayBuffer = Symbol("dartx.arrayBuffer"), + $blob: dartx.blob = Symbol("dartx.blob"), + $formData: dartx.formData = Symbol("dartx.formData"), + $json: dartx.json = Symbol("dartx.json"), + $onHashChange: dartx.onHashChange = Symbol("dartx.onHashChange"), + $onMessage: dartx.onMessage = Symbol("dartx.onMessage"), + $onOffline: dartx.onOffline = Symbol("dartx.onOffline"), + $onOnline: dartx.onOnline = Symbol("dartx.onOnline"), + $onPopState: dartx.onPopState = Symbol("dartx.onPopState"), + $onStorage: dartx.onStorage = Symbol("dartx.onStorage"), + $onUnload: dartx.onUnload = Symbol("dartx.onUnload"), + $postMessage: dartx.postMessage = Symbol("dartx.postMessage"), + $budgetAt: dartx.budgetAt = Symbol("dartx.budgetAt"), + $time: dartx.time = Symbol("dartx.time"), + $autofocus: dartx.autofocus = Symbol("dartx.autofocus"), + $form: dartx.form = Symbol("dartx.form"), + $formAction: dartx.formAction = Symbol("dartx.formAction"), + $formEnctype: dartx.formEnctype = Symbol("dartx.formEnctype"), + $formMethod: dartx.formMethod = Symbol("dartx.formMethod"), + $formNoValidate: dartx.formNoValidate = Symbol("dartx.formNoValidate"), + $formTarget: dartx.formTarget = Symbol("dartx.formTarget"), + $labels: dartx.labels = Symbol("dartx.labels"), + $validationMessage: dartx.validationMessage = Symbol("dartx.validationMessage"), + $validity: dartx.validity = Symbol("dartx.validity"), + $willValidate: dartx.willValidate = Symbol("dartx.willValidate"), + $checkValidity: dartx.checkValidity = Symbol("dartx.checkValidity"), + $reportValidity: dartx.reportValidity = Symbol("dartx.reportValidity"), + $setCustomValidity: dartx.setCustomValidity = Symbol("dartx.setCustomValidity"), + $wholeText: dartx.wholeText = Symbol("dartx.wholeText"), + $splitText: dartx.splitText = Symbol("dartx.splitText"), + $appendData: dartx.appendData = Symbol("dartx.appendData"), + $deleteData: dartx.deleteData = Symbol("dartx.deleteData"), + $insertData: dartx.insertData = Symbol("dartx.insertData"), + $replaceData: dartx.replaceData = Symbol("dartx.replaceData"), + $substringData: dartx.substringData = Symbol("dartx.substringData"), + $has: dartx.has = Symbol("dartx.has"), + $match: dartx.match = Symbol("dartx.match"), + $methodData: dartx.methodData = Symbol("dartx.methodData"), + $modifiers: dartx.modifiers = Symbol("dartx.modifiers"), + $paymentRequestOrigin: dartx.paymentRequestOrigin = Symbol("dartx.paymentRequestOrigin"), + $topLevelOrigin: dartx.topLevelOrigin = Symbol("dartx.topLevelOrigin"), + $canvas: dartx.canvas = Symbol("dartx.canvas"), + $requestFrame: dartx.requestFrame = Symbol("dartx.requestFrame"), + $contentHint: dartx.contentHint = Symbol("dartx.contentHint"), + $enabled: dartx.enabled = Symbol("dartx.enabled"), + $kind: dartx.kind = Symbol("dartx.kind"), + $applyConstraints: dartx.applyConstraints = Symbol("dartx.applyConstraints"), + _getCapabilities_1: dart.privateName(html$, "_getCapabilities_1"), + $getCapabilities: dartx.getCapabilities = Symbol("dartx.getCapabilities"), + _getConstraints_1: dart.privateName(html$, "_getConstraints_1"), + $getConstraints: dartx.getConstraints = Symbol("dartx.getConstraints"), + _getSettings_1: dart.privateName(html$, "_getSettings_1"), + $getSettings: dartx.getSettings = Symbol("dartx.getSettings"), + $onMute: dartx.onMute = Symbol("dartx.onMute"), + $onUnmute: dartx.onUnmute = Symbol("dartx.onUnmute"), + _getContext_1: dart.privateName(html$, "_getContext_1"), + _getContext_2: dart.privateName(html$, "_getContext_2"), + $getContext: dartx.getContext = Symbol("dartx.getContext"), + _toDataUrl: dart.privateName(html$, "_toDataUrl"), + $transferControlToOffscreen: dartx.transferControlToOffscreen = Symbol("dartx.transferControlToOffscreen"), + $onWebGlContextLost: dartx.onWebGlContextLost = Symbol("dartx.onWebGlContextLost"), + $onWebGlContextRestored: dartx.onWebGlContextRestored = Symbol("dartx.onWebGlContextRestored"), + $context2D: dartx.context2D = Symbol("dartx.context2D"), + $getContext3d: dartx.getContext3d = Symbol("dartx.getContext3d"), + $toDataUrl: dartx.toDataUrl = Symbol("dartx.toDataUrl"), + _toBlob: dart.privateName(html$, "_toBlob"), + $toBlob: dartx.toBlob = Symbol("dartx.toBlob"), + $addColorStop: dartx.addColorStop = Symbol("dartx.addColorStop"), + $setTransform: dartx.setTransform = Symbol("dartx.setTransform"), + $currentTransform: dartx.currentTransform = Symbol("dartx.currentTransform"), + $fillStyle: dartx.fillStyle = Symbol("dartx.fillStyle"), + $filter: dartx.filter = Symbol("dartx.filter"), + $font: dartx.font = Symbol("dartx.font"), + $globalAlpha: dartx.globalAlpha = Symbol("dartx.globalAlpha"), + $globalCompositeOperation: dartx.globalCompositeOperation = Symbol("dartx.globalCompositeOperation"), + $imageSmoothingEnabled: dartx.imageSmoothingEnabled = Symbol("dartx.imageSmoothingEnabled"), + $imageSmoothingQuality: dartx.imageSmoothingQuality = Symbol("dartx.imageSmoothingQuality"), + $lineCap: dartx.lineCap = Symbol("dartx.lineCap"), + $lineJoin: dartx.lineJoin = Symbol("dartx.lineJoin"), + $lineWidth: dartx.lineWidth = Symbol("dartx.lineWidth"), + $miterLimit: dartx.miterLimit = Symbol("dartx.miterLimit"), + $shadowBlur: dartx.shadowBlur = Symbol("dartx.shadowBlur"), + $shadowColor: dartx.shadowColor = Symbol("dartx.shadowColor"), + $shadowOffsetX: dartx.shadowOffsetX = Symbol("dartx.shadowOffsetX"), + $shadowOffsetY: dartx.shadowOffsetY = Symbol("dartx.shadowOffsetY"), + $strokeStyle: dartx.strokeStyle = Symbol("dartx.strokeStyle"), + $textAlign: dartx.textAlign = Symbol("dartx.textAlign"), + $textBaseline: dartx.textBaseline = Symbol("dartx.textBaseline"), + _addHitRegion_1: dart.privateName(html$, "_addHitRegion_1"), + _addHitRegion_2: dart.privateName(html$, "_addHitRegion_2"), + $addHitRegion: dartx.addHitRegion = Symbol("dartx.addHitRegion"), + $beginPath: dartx.beginPath = Symbol("dartx.beginPath"), + $clearHitRegions: dartx.clearHitRegions = Symbol("dartx.clearHitRegions"), + $clearRect: dartx.clearRect = Symbol("dartx.clearRect"), + $clip: dartx.clip = Symbol("dartx.clip"), + _createImageData_1: dart.privateName(html$, "_createImageData_1"), + _createImageData_2: dart.privateName(html$, "_createImageData_2"), + _createImageData_3: dart.privateName(html$, "_createImageData_3"), + _createImageData_4: dart.privateName(html$, "_createImageData_4"), + _createImageData_5: dart.privateName(html$, "_createImageData_5"), + $createImageData: dartx.createImageData = Symbol("dartx.createImageData"), + $createLinearGradient: dartx.createLinearGradient = Symbol("dartx.createLinearGradient"), + $createPattern: dartx.createPattern = Symbol("dartx.createPattern"), + $createRadialGradient: dartx.createRadialGradient = Symbol("dartx.createRadialGradient"), + $drawFocusIfNeeded: dartx.drawFocusIfNeeded = Symbol("dartx.drawFocusIfNeeded"), + $fillRect: dartx.fillRect = Symbol("dartx.fillRect"), + _getContextAttributes_1: dart.privateName(html$, "_getContextAttributes_1"), + $getContextAttributes: dartx.getContextAttributes = Symbol("dartx.getContextAttributes"), + _getImageData_1: dart.privateName(html$, "_getImageData_1"), + $getImageData: dartx.getImageData = Symbol("dartx.getImageData"), + _getLineDash: dart.privateName(html$, "_getLineDash"), + $isContextLost: dartx.isContextLost = Symbol("dartx.isContextLost"), + $isPointInPath: dartx.isPointInPath = Symbol("dartx.isPointInPath"), + $isPointInStroke: dartx.isPointInStroke = Symbol("dartx.isPointInStroke"), + $measureText: dartx.measureText = Symbol("dartx.measureText"), + _putImageData_1: dart.privateName(html$, "_putImageData_1"), + _putImageData_2: dart.privateName(html$, "_putImageData_2"), + $putImageData: dartx.putImageData = Symbol("dartx.putImageData"), + $removeHitRegion: dartx.removeHitRegion = Symbol("dartx.removeHitRegion"), + $resetTransform: dartx.resetTransform = Symbol("dartx.resetTransform"), + $restore: dartx.restore = Symbol("dartx.restore"), + $rotate: dartx.rotate = Symbol("dartx.rotate"), + $save: dartx.save = Symbol("dartx.save"), + $scale: dartx.scale = Symbol("dartx.scale"), + $scrollPathIntoView: dartx.scrollPathIntoView = Symbol("dartx.scrollPathIntoView"), + $stroke: dartx.stroke = Symbol("dartx.stroke"), + $strokeRect: dartx.strokeRect = Symbol("dartx.strokeRect"), + $strokeText: dartx.strokeText = Symbol("dartx.strokeText"), + $transform: dartx.transform = Symbol("dartx.transform"), + _arc: dart.privateName(html$, "_arc"), + $arcTo: dartx.arcTo = Symbol("dartx.arcTo"), + $bezierCurveTo: dartx.bezierCurveTo = Symbol("dartx.bezierCurveTo"), + $closePath: dartx.closePath = Symbol("dartx.closePath"), + $ellipse: dartx.ellipse = Symbol("dartx.ellipse"), + $lineTo: dartx.lineTo = Symbol("dartx.lineTo"), + $moveTo: dartx.moveTo = Symbol("dartx.moveTo"), + $quadraticCurveTo: dartx.quadraticCurveTo = Symbol("dartx.quadraticCurveTo"), + $rect: dartx.rect = Symbol("dartx.rect"), + $createImageDataFromImageData: dartx.createImageDataFromImageData = Symbol("dartx.createImageDataFromImageData"), + $setFillColorRgb: dartx.setFillColorRgb = Symbol("dartx.setFillColorRgb"), + $setFillColorHsl: dartx.setFillColorHsl = Symbol("dartx.setFillColorHsl"), + $setStrokeColorRgb: dartx.setStrokeColorRgb = Symbol("dartx.setStrokeColorRgb"), + $setStrokeColorHsl: dartx.setStrokeColorHsl = Symbol("dartx.setStrokeColorHsl"), + $arc: dartx.arc = Symbol("dartx.arc"), + $createPatternFromImage: dartx.createPatternFromImage = Symbol("dartx.createPatternFromImage"), + $drawImageScaled: dartx.drawImageScaled = Symbol("dartx.drawImageScaled"), + $drawImageScaledFromSource: dartx.drawImageScaledFromSource = Symbol("dartx.drawImageScaledFromSource"), + $drawImageToRect: dartx.drawImageToRect = Symbol("dartx.drawImageToRect"), + $drawImage: dartx.drawImage = Symbol("dartx.drawImage"), + $lineDashOffset: dartx.lineDashOffset = Symbol("dartx.lineDashOffset"), + $getLineDash: dartx.getLineDash = Symbol("dartx.getLineDash"), + $setLineDash: dartx.setLineDash = Symbol("dartx.setLineDash"), + $fillText: dartx.fillText = Symbol("dartx.fillText"), + $backingStorePixelRatio: dartx.backingStorePixelRatio = Symbol("dartx.backingStorePixelRatio"), + $frameType: dartx.frameType = Symbol("dartx.frameType"), + $claim: dartx.claim = Symbol("dartx.claim"), + $matchAll: dartx.matchAll = Symbol("dartx.matchAll"), + $openWindow: dartx.openWindow = Symbol("dartx.openWindow"), + $clipboardData: dartx.clipboardData = Symbol("dartx.clipboardData"), + $code: dartx.code = Symbol("dartx.code"), + $wasClean: dartx.wasClean = Symbol("dartx.wasClean"), + _initCompositionEvent: dart.privateName(html$, "_initCompositionEvent"), + _initUIEvent: dart.privateName(html$, "_initUIEvent"), + $detail: dartx.detail = Symbol("dartx.detail"), + $sourceCapabilities: dartx.sourceCapabilities = Symbol("dartx.sourceCapabilities"), + _get_view: dart.privateName(html$, "_get_view"), + $view: dartx.view = Symbol("dartx.view"), + _which: dart.privateName(html$, "_which"), + $select: dartx.select = Symbol("dartx.select"), + $getDistributedNodes: dartx.getDistributedNodes = Symbol("dartx.getDistributedNodes"), + $set: dartx.set = Symbol("dartx.set"), + $accuracy: dartx.accuracy = Symbol("dartx.accuracy"), + $altitude: dartx.altitude = Symbol("dartx.altitude"), + $altitudeAccuracy: dartx.altitudeAccuracy = Symbol("dartx.altitudeAccuracy"), + $heading: dartx.heading = Symbol("dartx.heading"), + $latitude: dartx.latitude = Symbol("dartx.latitude"), + $longitude: dartx.longitude = Symbol("dartx.longitude"), + $speed: dartx.speed = Symbol("dartx.speed"), + $iconUrl: dartx.iconUrl = Symbol("dartx.iconUrl"), + $create: dartx.create = Symbol("dartx.create"), + $preventSilentAccess: dartx.preventSilentAccess = Symbol("dartx.preventSilentAccess"), + $requireUserMediation: dartx.requireUserMediation = Symbol("dartx.requireUserMediation"), + $store: dartx.store = Symbol("dartx.store"), + _getRandomValues: dart.privateName(html$, "_getRandomValues"), + $getRandomValues: dartx.getRandomValues = Symbol("dartx.getRandomValues"), + $subtle: dartx.subtle = Symbol("dartx.subtle"), + $algorithm: dartx.algorithm = Symbol("dartx.algorithm"), + $extractable: dartx.extractable = Symbol("dartx.extractable"), + $usages: dartx.usages = Symbol("dartx.usages"), + $encoding: dartx.encoding = Symbol("dartx.encoding"), + $cssText: dartx.cssText = Symbol("dartx.cssText"), + $parentRule: dartx.parentRule = Symbol("dartx.parentRule"), + $parentStyleSheet: dartx.parentStyleSheet = Symbol("dartx.parentStyleSheet"), + $conditionText: dartx.conditionText = Symbol("dartx.conditionText"), + $cssRules: dartx.cssRules = Symbol("dartx.cssRules"), + $deleteRule: dartx.deleteRule = Symbol("dartx.deleteRule"), + $insertRule: dartx.insertRule = Symbol("dartx.insertRule"), + $intrinsicHeight: dartx.intrinsicHeight = Symbol("dartx.intrinsicHeight"), + $intrinsicRatio: dartx.intrinsicRatio = Symbol("dartx.intrinsicRatio"), + $intrinsicWidth: dartx.intrinsicWidth = Symbol("dartx.intrinsicWidth"), + $media: dartx.media = Symbol("dartx.media"), + $styleSheet: dartx.styleSheet = Symbol("dartx.styleSheet"), + $keyText: dartx.keyText = Symbol("dartx.keyText"), + __getter__: dart.privateName(html$, "__getter__"), + $appendRule: dartx.appendRule = Symbol("dartx.appendRule"), + $findRule: dartx.findRule = Symbol("dartx.findRule"), + $matrix: dartx.matrix = Symbol("dartx.matrix"), + $is2D: dartx.is2D = Symbol("dartx.is2D"), + $prefix: dartx.prefix = Symbol("dartx.prefix"), + $div: dartx.div = Symbol("dartx.div"), + $mul: dartx.mul = Symbol("dartx.mul"), + $sub: dartx.sub = Symbol("dartx.sub"), + $to: dartx.to = Symbol("dartx.to"), + $selectorText: dartx.selectorText = Symbol("dartx.selectorText"), + $angle: dartx.angle = Symbol("dartx.angle"), + $ax: dartx.ax = Symbol("dartx.ax"), + $ay: dartx.ay = Symbol("dartx.ay"), + _getPropertyValueHelper: dart.privateName(html$, "_getPropertyValueHelper"), + $getPropertyValue: dartx.getPropertyValue = Symbol("dartx.getPropertyValue"), + _browserPropertyName: dart.privateName(html$, "_browserPropertyName"), + _getPropertyValue: dart.privateName(html$, "_getPropertyValue"), + _supportsProperty: dart.privateName(html$, "_supportsProperty"), + $supportsProperty: dartx.supportsProperty = Symbol("dartx.supportsProperty"), + _setPropertyHelper: dart.privateName(html$, "_setPropertyHelper"), + $setProperty: dartx.setProperty = Symbol("dartx.setProperty"), + _supportedBrowserPropertyName: dart.privateName(html$, "_supportedBrowserPropertyName"), + $cssFloat: dartx.cssFloat = Symbol("dartx.cssFloat"), + $getPropertyPriority: dartx.getPropertyPriority = Symbol("dartx.getPropertyPriority"), + $removeProperty: dartx.removeProperty = Symbol("dartx.removeProperty"), + _background: dart.privateName(html$, "_background"), + $background: dartx.background = Symbol("dartx.background"), + _backgroundAttachment: dart.privateName(html$, "_backgroundAttachment"), + $backgroundAttachment: dartx.backgroundAttachment = Symbol("dartx.backgroundAttachment"), + _backgroundColor: dart.privateName(html$, "_backgroundColor"), + $backgroundColor: dartx.backgroundColor = Symbol("dartx.backgroundColor"), + _backgroundImage: dart.privateName(html$, "_backgroundImage"), + $backgroundImage: dartx.backgroundImage = Symbol("dartx.backgroundImage"), + _backgroundPosition: dart.privateName(html$, "_backgroundPosition"), + $backgroundPosition: dartx.backgroundPosition = Symbol("dartx.backgroundPosition"), + _backgroundRepeat: dart.privateName(html$, "_backgroundRepeat"), + $backgroundRepeat: dartx.backgroundRepeat = Symbol("dartx.backgroundRepeat"), + _border: dart.privateName(html$, "_border"), + $border: dartx.border = Symbol("dartx.border"), + _borderBottom: dart.privateName(html$, "_borderBottom"), + $borderBottom: dartx.borderBottom = Symbol("dartx.borderBottom"), + _borderBottomColor: dart.privateName(html$, "_borderBottomColor"), + $borderBottomColor: dartx.borderBottomColor = Symbol("dartx.borderBottomColor"), + _borderBottomStyle: dart.privateName(html$, "_borderBottomStyle"), + $borderBottomStyle: dartx.borderBottomStyle = Symbol("dartx.borderBottomStyle"), + _borderBottomWidth: dart.privateName(html$, "_borderBottomWidth"), + $borderBottomWidth: dartx.borderBottomWidth = Symbol("dartx.borderBottomWidth"), + _borderCollapse: dart.privateName(html$, "_borderCollapse"), + $borderCollapse: dartx.borderCollapse = Symbol("dartx.borderCollapse"), + _borderColor: dart.privateName(html$, "_borderColor"), + $borderColor: dartx.borderColor = Symbol("dartx.borderColor"), + _borderLeft: dart.privateName(html$, "_borderLeft"), + $borderLeft: dartx.borderLeft = Symbol("dartx.borderLeft"), + _borderLeftColor: dart.privateName(html$, "_borderLeftColor"), + $borderLeftColor: dartx.borderLeftColor = Symbol("dartx.borderLeftColor"), + _borderLeftStyle: dart.privateName(html$, "_borderLeftStyle"), + $borderLeftStyle: dartx.borderLeftStyle = Symbol("dartx.borderLeftStyle"), + _borderLeftWidth: dart.privateName(html$, "_borderLeftWidth"), + $borderLeftWidth: dartx.borderLeftWidth = Symbol("dartx.borderLeftWidth"), + _borderRight: dart.privateName(html$, "_borderRight"), + $borderRight: dartx.borderRight = Symbol("dartx.borderRight"), + _borderRightColor: dart.privateName(html$, "_borderRightColor"), + $borderRightColor: dartx.borderRightColor = Symbol("dartx.borderRightColor"), + _borderRightStyle: dart.privateName(html$, "_borderRightStyle"), + $borderRightStyle: dartx.borderRightStyle = Symbol("dartx.borderRightStyle"), + _borderRightWidth: dart.privateName(html$, "_borderRightWidth") +}; +var S$0 = { + $borderRightWidth: dartx.borderRightWidth = Symbol("dartx.borderRightWidth"), + _borderSpacing: dart.privateName(html$, "_borderSpacing"), + $borderSpacing: dartx.borderSpacing = Symbol("dartx.borderSpacing"), + _borderStyle: dart.privateName(html$, "_borderStyle"), + $borderStyle: dartx.borderStyle = Symbol("dartx.borderStyle"), + _borderTop: dart.privateName(html$, "_borderTop"), + $borderTop: dartx.borderTop = Symbol("dartx.borderTop"), + _borderTopColor: dart.privateName(html$, "_borderTopColor"), + $borderTopColor: dartx.borderTopColor = Symbol("dartx.borderTopColor"), + _borderTopStyle: dart.privateName(html$, "_borderTopStyle"), + $borderTopStyle: dartx.borderTopStyle = Symbol("dartx.borderTopStyle"), + _borderTopWidth: dart.privateName(html$, "_borderTopWidth"), + $borderTopWidth: dartx.borderTopWidth = Symbol("dartx.borderTopWidth"), + _borderWidth: dart.privateName(html$, "_borderWidth"), + $borderWidth: dartx.borderWidth = Symbol("dartx.borderWidth"), + _bottom: dart.privateName(html$, "_bottom"), + _captionSide: dart.privateName(html$, "_captionSide"), + $captionSide: dartx.captionSide = Symbol("dartx.captionSide"), + _clear$3: dart.privateName(html$, "_clear"), + _clip: dart.privateName(html$, "_clip"), + _color: dart.privateName(html$, "_color"), + $color: dartx.color = Symbol("dartx.color"), + _content: dart.privateName(html$, "_content"), + $content: dartx.content = Symbol("dartx.content"), + _cursor: dart.privateName(html$, "_cursor"), + $cursor: dartx.cursor = Symbol("dartx.cursor"), + _direction: dart.privateName(html$, "_direction"), + _display: dart.privateName(html$, "_display"), + $display: dartx.display = Symbol("dartx.display"), + _emptyCells: dart.privateName(html$, "_emptyCells"), + $emptyCells: dartx.emptyCells = Symbol("dartx.emptyCells"), + _font: dart.privateName(html$, "_font"), + _fontFamily: dart.privateName(html$, "_fontFamily"), + $fontFamily: dartx.fontFamily = Symbol("dartx.fontFamily"), + _fontSize: dart.privateName(html$, "_fontSize"), + $fontSize: dartx.fontSize = Symbol("dartx.fontSize"), + _fontStyle: dart.privateName(html$, "_fontStyle"), + $fontStyle: dartx.fontStyle = Symbol("dartx.fontStyle"), + _fontVariant: dart.privateName(html$, "_fontVariant"), + $fontVariant: dartx.fontVariant = Symbol("dartx.fontVariant"), + _fontWeight: dart.privateName(html$, "_fontWeight"), + $fontWeight: dartx.fontWeight = Symbol("dartx.fontWeight"), + _height$1: dart.privateName(html$, "_height"), + _left$2: dart.privateName(html$, "_left"), + _letterSpacing: dart.privateName(html$, "_letterSpacing"), + $letterSpacing: dartx.letterSpacing = Symbol("dartx.letterSpacing"), + _lineHeight: dart.privateName(html$, "_lineHeight"), + $lineHeight: dartx.lineHeight = Symbol("dartx.lineHeight"), + _listStyle: dart.privateName(html$, "_listStyle"), + $listStyle: dartx.listStyle = Symbol("dartx.listStyle"), + _listStyleImage: dart.privateName(html$, "_listStyleImage"), + $listStyleImage: dartx.listStyleImage = Symbol("dartx.listStyleImage"), + _listStylePosition: dart.privateName(html$, "_listStylePosition"), + $listStylePosition: dartx.listStylePosition = Symbol("dartx.listStylePosition"), + _listStyleType: dart.privateName(html$, "_listStyleType"), + $listStyleType: dartx.listStyleType = Symbol("dartx.listStyleType"), + _margin: dart.privateName(html$, "_margin"), + $margin: dartx.margin = Symbol("dartx.margin"), + _marginBottom: dart.privateName(html$, "_marginBottom"), + $marginBottom: dartx.marginBottom = Symbol("dartx.marginBottom"), + _marginLeft: dart.privateName(html$, "_marginLeft"), + $marginLeft: dartx.marginLeft = Symbol("dartx.marginLeft"), + _marginRight: dart.privateName(html$, "_marginRight"), + $marginRight: dartx.marginRight = Symbol("dartx.marginRight"), + _marginTop: dart.privateName(html$, "_marginTop"), + $marginTop: dartx.marginTop = Symbol("dartx.marginTop"), + _maxHeight: dart.privateName(html$, "_maxHeight"), + $maxHeight: dartx.maxHeight = Symbol("dartx.maxHeight"), + _maxWidth: dart.privateName(html$, "_maxWidth"), + $maxWidth: dartx.maxWidth = Symbol("dartx.maxWidth"), + _minHeight: dart.privateName(html$, "_minHeight"), + $minHeight: dartx.minHeight = Symbol("dartx.minHeight"), + _minWidth: dart.privateName(html$, "_minWidth"), + $minWidth: dartx.minWidth = Symbol("dartx.minWidth"), + _outline: dart.privateName(html$, "_outline"), + $outline: dartx.outline = Symbol("dartx.outline"), + _outlineColor: dart.privateName(html$, "_outlineColor"), + $outlineColor: dartx.outlineColor = Symbol("dartx.outlineColor"), + _outlineStyle: dart.privateName(html$, "_outlineStyle"), + $outlineStyle: dartx.outlineStyle = Symbol("dartx.outlineStyle"), + _outlineWidth: dart.privateName(html$, "_outlineWidth"), + $outlineWidth: dartx.outlineWidth = Symbol("dartx.outlineWidth"), + _overflow: dart.privateName(html$, "_overflow"), + $overflow: dartx.overflow = Symbol("dartx.overflow"), + _padding: dart.privateName(html$, "_padding"), + $padding: dartx.padding = Symbol("dartx.padding"), + _paddingBottom: dart.privateName(html$, "_paddingBottom"), + $paddingBottom: dartx.paddingBottom = Symbol("dartx.paddingBottom"), + _paddingLeft: dart.privateName(html$, "_paddingLeft"), + $paddingLeft: dartx.paddingLeft = Symbol("dartx.paddingLeft"), + _paddingRight: dart.privateName(html$, "_paddingRight"), + $paddingRight: dartx.paddingRight = Symbol("dartx.paddingRight"), + _paddingTop: dart.privateName(html$, "_paddingTop"), + $paddingTop: dartx.paddingTop = Symbol("dartx.paddingTop"), + _pageBreakAfter: dart.privateName(html$, "_pageBreakAfter"), + $pageBreakAfter: dartx.pageBreakAfter = Symbol("dartx.pageBreakAfter"), + _pageBreakBefore: dart.privateName(html$, "_pageBreakBefore"), + $pageBreakBefore: dartx.pageBreakBefore = Symbol("dartx.pageBreakBefore"), + _pageBreakInside: dart.privateName(html$, "_pageBreakInside"), + $pageBreakInside: dartx.pageBreakInside = Symbol("dartx.pageBreakInside"), + _position$2: dart.privateName(html$, "_position"), + $position: dartx.position = Symbol("dartx.position"), + _quotes: dart.privateName(html$, "_quotes"), + $quotes: dartx.quotes = Symbol("dartx.quotes"), + _right$2: dart.privateName(html$, "_right"), + _tableLayout: dart.privateName(html$, "_tableLayout"), + $tableLayout: dartx.tableLayout = Symbol("dartx.tableLayout"), + _textAlign: dart.privateName(html$, "_textAlign"), + _textDecoration: dart.privateName(html$, "_textDecoration"), + $textDecoration: dartx.textDecoration = Symbol("dartx.textDecoration"), + _textIndent: dart.privateName(html$, "_textIndent"), + $textIndent: dartx.textIndent = Symbol("dartx.textIndent"), + _textTransform: dart.privateName(html$, "_textTransform"), + $textTransform: dartx.textTransform = Symbol("dartx.textTransform"), + _top: dart.privateName(html$, "_top"), + _unicodeBidi: dart.privateName(html$, "_unicodeBidi"), + $unicodeBidi: dartx.unicodeBidi = Symbol("dartx.unicodeBidi"), + _verticalAlign: dart.privateName(html$, "_verticalAlign"), + $verticalAlign: dartx.verticalAlign = Symbol("dartx.verticalAlign"), + _visibility: dart.privateName(html$, "_visibility"), + $visibility: dartx.visibility = Symbol("dartx.visibility"), + _whiteSpace: dart.privateName(html$, "_whiteSpace"), + $whiteSpace: dartx.whiteSpace = Symbol("dartx.whiteSpace"), + _width$1: dart.privateName(html$, "_width"), + _wordSpacing: dart.privateName(html$, "_wordSpacing"), + $wordSpacing: dartx.wordSpacing = Symbol("dartx.wordSpacing"), + _zIndex: dart.privateName(html$, "_zIndex"), + $zIndex: dartx.zIndex = Symbol("dartx.zIndex"), + $alignContent: dartx.alignContent = Symbol("dartx.alignContent"), + $alignItems: dartx.alignItems = Symbol("dartx.alignItems"), + $alignSelf: dartx.alignSelf = Symbol("dartx.alignSelf"), + $animation: dartx.animation = Symbol("dartx.animation"), + $animationDelay: dartx.animationDelay = Symbol("dartx.animationDelay"), + $animationDirection: dartx.animationDirection = Symbol("dartx.animationDirection"), + $animationDuration: dartx.animationDuration = Symbol("dartx.animationDuration"), + $animationFillMode: dartx.animationFillMode = Symbol("dartx.animationFillMode"), + $animationIterationCount: dartx.animationIterationCount = Symbol("dartx.animationIterationCount"), + $animationPlayState: dartx.animationPlayState = Symbol("dartx.animationPlayState"), + $animationTimingFunction: dartx.animationTimingFunction = Symbol("dartx.animationTimingFunction"), + $appRegion: dartx.appRegion = Symbol("dartx.appRegion"), + $appearance: dartx.appearance = Symbol("dartx.appearance"), + $aspectRatio: dartx.aspectRatio = Symbol("dartx.aspectRatio"), + $backfaceVisibility: dartx.backfaceVisibility = Symbol("dartx.backfaceVisibility"), + $backgroundBlendMode: dartx.backgroundBlendMode = Symbol("dartx.backgroundBlendMode"), + $backgroundClip: dartx.backgroundClip = Symbol("dartx.backgroundClip"), + $backgroundComposite: dartx.backgroundComposite = Symbol("dartx.backgroundComposite"), + $backgroundOrigin: dartx.backgroundOrigin = Symbol("dartx.backgroundOrigin"), + $backgroundPositionX: dartx.backgroundPositionX = Symbol("dartx.backgroundPositionX"), + $backgroundPositionY: dartx.backgroundPositionY = Symbol("dartx.backgroundPositionY"), + $backgroundRepeatX: dartx.backgroundRepeatX = Symbol("dartx.backgroundRepeatX"), + $backgroundRepeatY: dartx.backgroundRepeatY = Symbol("dartx.backgroundRepeatY"), + $backgroundSize: dartx.backgroundSize = Symbol("dartx.backgroundSize"), + $borderAfter: dartx.borderAfter = Symbol("dartx.borderAfter"), + $borderAfterColor: dartx.borderAfterColor = Symbol("dartx.borderAfterColor"), + $borderAfterStyle: dartx.borderAfterStyle = Symbol("dartx.borderAfterStyle"), + $borderAfterWidth: dartx.borderAfterWidth = Symbol("dartx.borderAfterWidth"), + $borderBefore: dartx.borderBefore = Symbol("dartx.borderBefore"), + $borderBeforeColor: dartx.borderBeforeColor = Symbol("dartx.borderBeforeColor"), + $borderBeforeStyle: dartx.borderBeforeStyle = Symbol("dartx.borderBeforeStyle"), + $borderBeforeWidth: dartx.borderBeforeWidth = Symbol("dartx.borderBeforeWidth"), + $borderBottomLeftRadius: dartx.borderBottomLeftRadius = Symbol("dartx.borderBottomLeftRadius"), + $borderBottomRightRadius: dartx.borderBottomRightRadius = Symbol("dartx.borderBottomRightRadius"), + $borderEnd: dartx.borderEnd = Symbol("dartx.borderEnd"), + $borderEndColor: dartx.borderEndColor = Symbol("dartx.borderEndColor"), + $borderEndStyle: dartx.borderEndStyle = Symbol("dartx.borderEndStyle"), + $borderEndWidth: dartx.borderEndWidth = Symbol("dartx.borderEndWidth"), + $borderFit: dartx.borderFit = Symbol("dartx.borderFit"), + $borderHorizontalSpacing: dartx.borderHorizontalSpacing = Symbol("dartx.borderHorizontalSpacing"), + $borderImage: dartx.borderImage = Symbol("dartx.borderImage"), + $borderImageOutset: dartx.borderImageOutset = Symbol("dartx.borderImageOutset"), + $borderImageRepeat: dartx.borderImageRepeat = Symbol("dartx.borderImageRepeat"), + $borderImageSlice: dartx.borderImageSlice = Symbol("dartx.borderImageSlice"), + $borderImageSource: dartx.borderImageSource = Symbol("dartx.borderImageSource"), + $borderImageWidth: dartx.borderImageWidth = Symbol("dartx.borderImageWidth"), + $borderRadius: dartx.borderRadius = Symbol("dartx.borderRadius"), + $borderStart: dartx.borderStart = Symbol("dartx.borderStart"), + $borderStartColor: dartx.borderStartColor = Symbol("dartx.borderStartColor"), + $borderStartStyle: dartx.borderStartStyle = Symbol("dartx.borderStartStyle"), + $borderStartWidth: dartx.borderStartWidth = Symbol("dartx.borderStartWidth"), + $borderTopLeftRadius: dartx.borderTopLeftRadius = Symbol("dartx.borderTopLeftRadius"), + $borderTopRightRadius: dartx.borderTopRightRadius = Symbol("dartx.borderTopRightRadius"), + $borderVerticalSpacing: dartx.borderVerticalSpacing = Symbol("dartx.borderVerticalSpacing"), + $boxAlign: dartx.boxAlign = Symbol("dartx.boxAlign"), + $boxDecorationBreak: dartx.boxDecorationBreak = Symbol("dartx.boxDecorationBreak"), + $boxDirection: dartx.boxDirection = Symbol("dartx.boxDirection"), + $boxFlex: dartx.boxFlex = Symbol("dartx.boxFlex"), + $boxFlexGroup: dartx.boxFlexGroup = Symbol("dartx.boxFlexGroup"), + $boxLines: dartx.boxLines = Symbol("dartx.boxLines"), + $boxOrdinalGroup: dartx.boxOrdinalGroup = Symbol("dartx.boxOrdinalGroup"), + $boxOrient: dartx.boxOrient = Symbol("dartx.boxOrient"), + $boxPack: dartx.boxPack = Symbol("dartx.boxPack"), + $boxReflect: dartx.boxReflect = Symbol("dartx.boxReflect"), + $boxShadow: dartx.boxShadow = Symbol("dartx.boxShadow"), + $boxSizing: dartx.boxSizing = Symbol("dartx.boxSizing"), + $clipPath: dartx.clipPath = Symbol("dartx.clipPath"), + $columnBreakAfter: dartx.columnBreakAfter = Symbol("dartx.columnBreakAfter"), + $columnBreakBefore: dartx.columnBreakBefore = Symbol("dartx.columnBreakBefore"), + $columnBreakInside: dartx.columnBreakInside = Symbol("dartx.columnBreakInside"), + $columnCount: dartx.columnCount = Symbol("dartx.columnCount"), + $columnFill: dartx.columnFill = Symbol("dartx.columnFill"), + $columnGap: dartx.columnGap = Symbol("dartx.columnGap"), + $columnRule: dartx.columnRule = Symbol("dartx.columnRule"), + $columnRuleColor: dartx.columnRuleColor = Symbol("dartx.columnRuleColor"), + $columnRuleStyle: dartx.columnRuleStyle = Symbol("dartx.columnRuleStyle"), + $columnRuleWidth: dartx.columnRuleWidth = Symbol("dartx.columnRuleWidth"), + $columnSpan: dartx.columnSpan = Symbol("dartx.columnSpan"), + $columnWidth: dartx.columnWidth = Symbol("dartx.columnWidth"), + $columns: dartx.columns = Symbol("dartx.columns"), + $counterIncrement: dartx.counterIncrement = Symbol("dartx.counterIncrement"), + $counterReset: dartx.counterReset = Symbol("dartx.counterReset"), + $flex: dartx.flex = Symbol("dartx.flex"), + $flexBasis: dartx.flexBasis = Symbol("dartx.flexBasis"), + $flexDirection: dartx.flexDirection = Symbol("dartx.flexDirection"), + $flexFlow: dartx.flexFlow = Symbol("dartx.flexFlow"), + $flexGrow: dartx.flexGrow = Symbol("dartx.flexGrow"), + $flexShrink: dartx.flexShrink = Symbol("dartx.flexShrink"), + $flexWrap: dartx.flexWrap = Symbol("dartx.flexWrap"), + $float: dartx.float = Symbol("dartx.float"), + $fontFeatureSettings: dartx.fontFeatureSettings = Symbol("dartx.fontFeatureSettings"), + $fontKerning: dartx.fontKerning = Symbol("dartx.fontKerning"), + $fontSizeDelta: dartx.fontSizeDelta = Symbol("dartx.fontSizeDelta"), + $fontSmoothing: dartx.fontSmoothing = Symbol("dartx.fontSmoothing"), + $fontStretch: dartx.fontStretch = Symbol("dartx.fontStretch"), + $fontVariantLigatures: dartx.fontVariantLigatures = Symbol("dartx.fontVariantLigatures"), + $grid: dartx.grid = Symbol("dartx.grid"), + $gridArea: dartx.gridArea = Symbol("dartx.gridArea"), + $gridAutoColumns: dartx.gridAutoColumns = Symbol("dartx.gridAutoColumns"), + $gridAutoFlow: dartx.gridAutoFlow = Symbol("dartx.gridAutoFlow"), + $gridAutoRows: dartx.gridAutoRows = Symbol("dartx.gridAutoRows"), + $gridColumn: dartx.gridColumn = Symbol("dartx.gridColumn"), + $gridColumnEnd: dartx.gridColumnEnd = Symbol("dartx.gridColumnEnd"), + $gridColumnStart: dartx.gridColumnStart = Symbol("dartx.gridColumnStart"), + $gridRow: dartx.gridRow = Symbol("dartx.gridRow"), + $gridRowEnd: dartx.gridRowEnd = Symbol("dartx.gridRowEnd"), + $gridRowStart: dartx.gridRowStart = Symbol("dartx.gridRowStart"), + $gridTemplate: dartx.gridTemplate = Symbol("dartx.gridTemplate"), + $gridTemplateAreas: dartx.gridTemplateAreas = Symbol("dartx.gridTemplateAreas"), + $gridTemplateColumns: dartx.gridTemplateColumns = Symbol("dartx.gridTemplateColumns"), + $gridTemplateRows: dartx.gridTemplateRows = Symbol("dartx.gridTemplateRows"), + $highlight: dartx.highlight = Symbol("dartx.highlight"), + $hyphenateCharacter: dartx.hyphenateCharacter = Symbol("dartx.hyphenateCharacter"), + $imageRendering: dartx.imageRendering = Symbol("dartx.imageRendering"), + $isolation: dartx.isolation = Symbol("dartx.isolation"), + $justifyContent: dartx.justifyContent = Symbol("dartx.justifyContent"), + $justifySelf: dartx.justifySelf = Symbol("dartx.justifySelf"), + $lineBoxContain: dartx.lineBoxContain = Symbol("dartx.lineBoxContain"), + $lineBreak: dartx.lineBreak = Symbol("dartx.lineBreak"), + $lineClamp: dartx.lineClamp = Symbol("dartx.lineClamp"), + $locale: dartx.locale = Symbol("dartx.locale"), + $logicalHeight: dartx.logicalHeight = Symbol("dartx.logicalHeight"), + $logicalWidth: dartx.logicalWidth = Symbol("dartx.logicalWidth"), + $marginAfter: dartx.marginAfter = Symbol("dartx.marginAfter"), + $marginAfterCollapse: dartx.marginAfterCollapse = Symbol("dartx.marginAfterCollapse"), + $marginBefore: dartx.marginBefore = Symbol("dartx.marginBefore"), + $marginBeforeCollapse: dartx.marginBeforeCollapse = Symbol("dartx.marginBeforeCollapse"), + $marginBottomCollapse: dartx.marginBottomCollapse = Symbol("dartx.marginBottomCollapse"), + $marginCollapse: dartx.marginCollapse = Symbol("dartx.marginCollapse"), + $marginEnd: dartx.marginEnd = Symbol("dartx.marginEnd"), + $marginStart: dartx.marginStart = Symbol("dartx.marginStart"), + $marginTopCollapse: dartx.marginTopCollapse = Symbol("dartx.marginTopCollapse"), + $mask: dartx.mask = Symbol("dartx.mask"), + $maskBoxImage: dartx.maskBoxImage = Symbol("dartx.maskBoxImage"), + $maskBoxImageOutset: dartx.maskBoxImageOutset = Symbol("dartx.maskBoxImageOutset"), + $maskBoxImageRepeat: dartx.maskBoxImageRepeat = Symbol("dartx.maskBoxImageRepeat"), + $maskBoxImageSlice: dartx.maskBoxImageSlice = Symbol("dartx.maskBoxImageSlice"), + $maskBoxImageSource: dartx.maskBoxImageSource = Symbol("dartx.maskBoxImageSource"), + $maskBoxImageWidth: dartx.maskBoxImageWidth = Symbol("dartx.maskBoxImageWidth"), + $maskClip: dartx.maskClip = Symbol("dartx.maskClip"), + $maskComposite: dartx.maskComposite = Symbol("dartx.maskComposite"), + $maskImage: dartx.maskImage = Symbol("dartx.maskImage"), + $maskOrigin: dartx.maskOrigin = Symbol("dartx.maskOrigin"), + $maskPosition: dartx.maskPosition = Symbol("dartx.maskPosition"), + $maskPositionX: dartx.maskPositionX = Symbol("dartx.maskPositionX"), + $maskPositionY: dartx.maskPositionY = Symbol("dartx.maskPositionY"), + $maskRepeat: dartx.maskRepeat = Symbol("dartx.maskRepeat"), + $maskRepeatX: dartx.maskRepeatX = Symbol("dartx.maskRepeatX"), + $maskRepeatY: dartx.maskRepeatY = Symbol("dartx.maskRepeatY"), + $maskSize: dartx.maskSize = Symbol("dartx.maskSize"), + $maskSourceType: dartx.maskSourceType = Symbol("dartx.maskSourceType"), + $maxLogicalHeight: dartx.maxLogicalHeight = Symbol("dartx.maxLogicalHeight"), + $maxLogicalWidth: dartx.maxLogicalWidth = Symbol("dartx.maxLogicalWidth"), + $maxZoom: dartx.maxZoom = Symbol("dartx.maxZoom"), + $minLogicalHeight: dartx.minLogicalHeight = Symbol("dartx.minLogicalHeight"), + $minLogicalWidth: dartx.minLogicalWidth = Symbol("dartx.minLogicalWidth"), + $minZoom: dartx.minZoom = Symbol("dartx.minZoom"), + $mixBlendMode: dartx.mixBlendMode = Symbol("dartx.mixBlendMode"), + $objectFit: dartx.objectFit = Symbol("dartx.objectFit"), + $objectPosition: dartx.objectPosition = Symbol("dartx.objectPosition"), + $opacity: dartx.opacity = Symbol("dartx.opacity"), + $order: dartx.order = Symbol("dartx.order"), + $orphans: dartx.orphans = Symbol("dartx.orphans"), + $outlineOffset: dartx.outlineOffset = Symbol("dartx.outlineOffset"), + $overflowWrap: dartx.overflowWrap = Symbol("dartx.overflowWrap"), + $overflowX: dartx.overflowX = Symbol("dartx.overflowX"), + $overflowY: dartx.overflowY = Symbol("dartx.overflowY"), + $paddingAfter: dartx.paddingAfter = Symbol("dartx.paddingAfter"), + $paddingBefore: dartx.paddingBefore = Symbol("dartx.paddingBefore"), + $paddingEnd: dartx.paddingEnd = Symbol("dartx.paddingEnd"), + $paddingStart: dartx.paddingStart = Symbol("dartx.paddingStart"), + $page: dartx.page = Symbol("dartx.page"), + $perspective: dartx.perspective = Symbol("dartx.perspective"), + $perspectiveOrigin: dartx.perspectiveOrigin = Symbol("dartx.perspectiveOrigin"), + $perspectiveOriginX: dartx.perspectiveOriginX = Symbol("dartx.perspectiveOriginX"), + $perspectiveOriginY: dartx.perspectiveOriginY = Symbol("dartx.perspectiveOriginY"), + $pointerEvents: dartx.pointerEvents = Symbol("dartx.pointerEvents"), + $printColorAdjust: dartx.printColorAdjust = Symbol("dartx.printColorAdjust"), + $resize: dartx.resize = Symbol("dartx.resize"), + $rtlOrdering: dartx.rtlOrdering = Symbol("dartx.rtlOrdering"), + $rubyPosition: dartx.rubyPosition = Symbol("dartx.rubyPosition"), + $scrollBehavior: dartx.scrollBehavior = Symbol("dartx.scrollBehavior"), + $shapeImageThreshold: dartx.shapeImageThreshold = Symbol("dartx.shapeImageThreshold"), + $shapeMargin: dartx.shapeMargin = Symbol("dartx.shapeMargin"), + $shapeOutside: dartx.shapeOutside = Symbol("dartx.shapeOutside"), + $speak: dartx.speak = Symbol("dartx.speak"), + $tabSize: dartx.tabSize = Symbol("dartx.tabSize"), + $tapHighlightColor: dartx.tapHighlightColor = Symbol("dartx.tapHighlightColor"), + $textAlignLast: dartx.textAlignLast = Symbol("dartx.textAlignLast"), + $textCombine: dartx.textCombine = Symbol("dartx.textCombine"), + $textDecorationColor: dartx.textDecorationColor = Symbol("dartx.textDecorationColor"), + $textDecorationLine: dartx.textDecorationLine = Symbol("dartx.textDecorationLine"), + $textDecorationStyle: dartx.textDecorationStyle = Symbol("dartx.textDecorationStyle"), + $textDecorationsInEffect: dartx.textDecorationsInEffect = Symbol("dartx.textDecorationsInEffect"), + $textEmphasis: dartx.textEmphasis = Symbol("dartx.textEmphasis"), + $textEmphasisColor: dartx.textEmphasisColor = Symbol("dartx.textEmphasisColor"), + $textEmphasisPosition: dartx.textEmphasisPosition = Symbol("dartx.textEmphasisPosition"), + $textEmphasisStyle: dartx.textEmphasisStyle = Symbol("dartx.textEmphasisStyle"), + $textFillColor: dartx.textFillColor = Symbol("dartx.textFillColor"), + $textJustify: dartx.textJustify = Symbol("dartx.textJustify"), + $textLineThroughColor: dartx.textLineThroughColor = Symbol("dartx.textLineThroughColor"), + $textLineThroughMode: dartx.textLineThroughMode = Symbol("dartx.textLineThroughMode"), + $textLineThroughStyle: dartx.textLineThroughStyle = Symbol("dartx.textLineThroughStyle"), + $textLineThroughWidth: dartx.textLineThroughWidth = Symbol("dartx.textLineThroughWidth"), + $textOrientation: dartx.textOrientation = Symbol("dartx.textOrientation"), + $textOverflow: dartx.textOverflow = Symbol("dartx.textOverflow"), + $textOverlineColor: dartx.textOverlineColor = Symbol("dartx.textOverlineColor"), + $textOverlineMode: dartx.textOverlineMode = Symbol("dartx.textOverlineMode"), + $textOverlineStyle: dartx.textOverlineStyle = Symbol("dartx.textOverlineStyle"), + $textOverlineWidth: dartx.textOverlineWidth = Symbol("dartx.textOverlineWidth"), + $textRendering: dartx.textRendering = Symbol("dartx.textRendering"), + $textSecurity: dartx.textSecurity = Symbol("dartx.textSecurity"), + $textShadow: dartx.textShadow = Symbol("dartx.textShadow"), + $textStroke: dartx.textStroke = Symbol("dartx.textStroke"), + $textStrokeColor: dartx.textStrokeColor = Symbol("dartx.textStrokeColor"), + $textStrokeWidth: dartx.textStrokeWidth = Symbol("dartx.textStrokeWidth"), + $textUnderlineColor: dartx.textUnderlineColor = Symbol("dartx.textUnderlineColor"), + $textUnderlineMode: dartx.textUnderlineMode = Symbol("dartx.textUnderlineMode"), + $textUnderlinePosition: dartx.textUnderlinePosition = Symbol("dartx.textUnderlinePosition"), + $textUnderlineStyle: dartx.textUnderlineStyle = Symbol("dartx.textUnderlineStyle"), + $textUnderlineWidth: dartx.textUnderlineWidth = Symbol("dartx.textUnderlineWidth"), + $touchAction: dartx.touchAction = Symbol("dartx.touchAction"), + $touchActionDelay: dartx.touchActionDelay = Symbol("dartx.touchActionDelay"), + $transformOrigin: dartx.transformOrigin = Symbol("dartx.transformOrigin"), + $transformOriginX: dartx.transformOriginX = Symbol("dartx.transformOriginX"), + $transformOriginY: dartx.transformOriginY = Symbol("dartx.transformOriginY"), + $transformOriginZ: dartx.transformOriginZ = Symbol("dartx.transformOriginZ"), + $transformStyle: dartx.transformStyle = Symbol("dartx.transformStyle"), + $transition: dartx.transition = Symbol("dartx.transition"), + $transitionDelay: dartx.transitionDelay = Symbol("dartx.transitionDelay"), + $transitionDuration: dartx.transitionDuration = Symbol("dartx.transitionDuration"), + $transitionProperty: dartx.transitionProperty = Symbol("dartx.transitionProperty"), + $transitionTimingFunction: dartx.transitionTimingFunction = Symbol("dartx.transitionTimingFunction"), + $unicodeRange: dartx.unicodeRange = Symbol("dartx.unicodeRange"), + $userDrag: dartx.userDrag = Symbol("dartx.userDrag"), + $userModify: dartx.userModify = Symbol("dartx.userModify"), + $userSelect: dartx.userSelect = Symbol("dartx.userSelect"), + $userZoom: dartx.userZoom = Symbol("dartx.userZoom"), + $widows: dartx.widows = Symbol("dartx.widows"), + $willChange: dartx.willChange = Symbol("dartx.willChange"), + $wordBreak: dartx.wordBreak = Symbol("dartx.wordBreak"), + $wordWrap: dartx.wordWrap = Symbol("dartx.wordWrap"), + $wrapFlow: dartx.wrapFlow = Symbol("dartx.wrapFlow"), + $wrapThrough: dartx.wrapThrough = Symbol("dartx.wrapThrough"), + $writingMode: dartx.writingMode = Symbol("dartx.writingMode"), + $zoom: dartx.zoom = Symbol("dartx.zoom"), + _elementCssStyleDeclarationSetIterable: dart.privateName(html$, "_elementCssStyleDeclarationSetIterable"), + _elementIterable: dart.privateName(html$, "_elementIterable"), + _setAll: dart.privateName(html$, "_setAll"), + $ownerRule: dartx.ownerRule = Symbol("dartx.ownerRule"), + $rules: dartx.rules = Symbol("dartx.rules"), + $addRule: dartx.addRule = Symbol("dartx.addRule"), + $removeRule: dartx.removeRule = Symbol("dartx.removeRule"), + $ownerNode: dartx.ownerNode = Symbol("dartx.ownerNode"), + $componentAtIndex: dartx.componentAtIndex = Symbol("dartx.componentAtIndex"), + $toMatrix: dartx.toMatrix = Symbol("dartx.toMatrix"), + $unit: dartx.unit = Symbol("dartx.unit"), + $fragmentAtIndex: dartx.fragmentAtIndex = Symbol("dartx.fragmentAtIndex"), + $fallback: dartx.fallback = Symbol("dartx.fallback"), + $variable: dartx.variable = Symbol("dartx.variable"), + _define_1: dart.privateName(html$, "_define_1"), + _define_2: dart.privateName(html$, "_define_2"), + $define: dartx.define = Symbol("dartx.define"), + $whenDefined: dartx.whenDefined = Symbol("dartx.whenDefined"), + _dartDetail: dart.privateName(html$, "_dartDetail"), + _initCustomEvent: dart.privateName(html$, "_initCustomEvent"), + _detail: dart.privateName(html$, "_detail"), + _get__detail: dart.privateName(html$, "_get__detail"), + $options: dartx.options = Symbol("dartx.options"), + $dropEffect: dartx.dropEffect = Symbol("dartx.dropEffect"), + $effectAllowed: dartx.effectAllowed = Symbol("dartx.effectAllowed"), + $files: dartx.files = Symbol("dartx.files"), + $items: dartx.items = Symbol("dartx.items"), + $types: dartx.types = Symbol("dartx.types"), + $clearData: dartx.clearData = Symbol("dartx.clearData"), + $getData: dartx.getData = Symbol("dartx.getData"), + $setData: dartx.setData = Symbol("dartx.setData"), + $setDragImage: dartx.setDragImage = Symbol("dartx.setDragImage"), + _webkitGetAsEntry: dart.privateName(html$, "_webkitGetAsEntry"), + $getAsEntry: dartx.getAsEntry = Symbol("dartx.getAsEntry"), + $getAsFile: dartx.getAsFile = Symbol("dartx.getAsFile"), + $addData: dartx.addData = Symbol("dartx.addData"), + $addFile: dartx.addFile = Symbol("dartx.addFile"), + _postMessage_1: dart.privateName(html$, "_postMessage_1"), + _postMessage_2: dart.privateName(html$, "_postMessage_2"), + _webkitRequestFileSystem: dart.privateName(html$, "_webkitRequestFileSystem"), + $requestFileSystemSync: dartx.requestFileSystemSync = Symbol("dartx.requestFileSystemSync"), + $resolveLocalFileSystemSyncUrl: dartx.resolveLocalFileSystemSyncUrl = Symbol("dartx.resolveLocalFileSystemSyncUrl"), + _webkitResolveLocalFileSystemUrl: dart.privateName(html$, "_webkitResolveLocalFileSystemUrl"), + $addressSpace: dartx.addressSpace = Symbol("dartx.addressSpace"), + $caches: dartx.caches = Symbol("dartx.caches"), + $crypto: dartx.crypto = Symbol("dartx.crypto"), + $indexedDB: dartx.indexedDB = Symbol("dartx.indexedDB"), + $isSecureContext: dartx.isSecureContext = Symbol("dartx.isSecureContext"), + $location: dartx.location = Symbol("dartx.location"), + $navigator: dartx.navigator = Symbol("dartx.navigator"), + $performance: dartx.performance = Symbol("dartx.performance"), + $self: dartx.self = Symbol("dartx.self"), + $importScripts: dartx.importScripts = Symbol("dartx.importScripts"), + $atob: dartx.atob = Symbol("dartx.atob"), + $btoa: dartx.btoa = Symbol("dartx.btoa"), + _setInterval_String: dart.privateName(html$, "_setInterval_String"), + _setTimeout_String: dart.privateName(html$, "_setTimeout_String"), + _clearInterval: dart.privateName(html$, "_clearInterval"), + _clearTimeout: dart.privateName(html$, "_clearTimeout"), + _setInterval: dart.privateName(html$, "_setInterval"), + _setTimeout: dart.privateName(html$, "_setTimeout"), + $queryUsageAndQuota: dartx.queryUsageAndQuota = Symbol("dartx.queryUsageAndQuota"), + $requestQuota: dartx.requestQuota = Symbol("dartx.requestQuota"), + $lineNumber: dartx.lineNumber = Symbol("dartx.lineNumber"), + $sourceFile: dartx.sourceFile = Symbol("dartx.sourceFile"), + $cornerPoints: dartx.cornerPoints = Symbol("dartx.cornerPoints"), + $rawValue: dartx.rawValue = Symbol("dartx.rawValue"), + $landmarks: dartx.landmarks = Symbol("dartx.landmarks"), + $acceleration: dartx.acceleration = Symbol("dartx.acceleration"), + $accelerationIncludingGravity: dartx.accelerationIncludingGravity = Symbol("dartx.accelerationIncludingGravity"), + $interval: dartx.interval = Symbol("dartx.interval"), + $rotationRate: dartx.rotationRate = Symbol("dartx.rotationRate"), + $absolute: dartx.absolute = Symbol("dartx.absolute"), + $alpha: dartx.alpha = Symbol("dartx.alpha"), + $beta: dartx.beta = Symbol("dartx.beta"), + $gamma: dartx.gamma = Symbol("dartx.gamma"), + $show: dartx.show = Symbol("dartx.show"), + $showModal: dartx.showModal = Symbol("dartx.showModal"), + _getDirectory: dart.privateName(html$, "_getDirectory"), + $createDirectory: dartx.createDirectory = Symbol("dartx.createDirectory"), + _createReader: dart.privateName(html$, "_createReader"), + $createReader: dartx.createReader = Symbol("dartx.createReader"), + $getDirectory: dartx.getDirectory = Symbol("dartx.getDirectory"), + _getFile: dart.privateName(html$, "_getFile"), + $createFile: dartx.createFile = Symbol("dartx.createFile"), + $getFile: dartx.getFile = Symbol("dartx.getFile"), + __getDirectory_1: dart.privateName(html$, "__getDirectory_1"), + __getDirectory_2: dart.privateName(html$, "__getDirectory_2"), + __getDirectory_3: dart.privateName(html$, "__getDirectory_3"), + __getDirectory_4: dart.privateName(html$, "__getDirectory_4"), + __getDirectory: dart.privateName(html$, "__getDirectory"), + __getFile_1: dart.privateName(html$, "__getFile_1"), + __getFile_2: dart.privateName(html$, "__getFile_2"), + __getFile_3: dart.privateName(html$, "__getFile_3"), + __getFile_4: dart.privateName(html$, "__getFile_4"), + __getFile: dart.privateName(html$, "__getFile"), + _removeRecursively: dart.privateName(html$, "_removeRecursively"), + $removeRecursively: dartx.removeRecursively = Symbol("dartx.removeRecursively"), + $filesystem: dartx.filesystem = Symbol("dartx.filesystem"), + $fullPath: dartx.fullPath = Symbol("dartx.fullPath"), + $isDirectory: dartx.isDirectory = Symbol("dartx.isDirectory"), + $isFile: dartx.isFile = Symbol("dartx.isFile"), + _copyTo: dart.privateName(html$, "_copyTo"), + $copyTo: dartx.copyTo = Symbol("dartx.copyTo"), + _getMetadata: dart.privateName(html$, "_getMetadata"), + $getMetadata: dartx.getMetadata = Symbol("dartx.getMetadata"), + _getParent: dart.privateName(html$, "_getParent"), + $getParent: dartx.getParent = Symbol("dartx.getParent"), + _moveTo: dart.privateName(html$, "_moveTo"), + _remove$1: dart.privateName(html$, "_remove"), + $toUrl: dartx.toUrl = Symbol("dartx.toUrl"), + _readEntries: dart.privateName(html$, "_readEntries"), + $readEntries: dartx.readEntries = Symbol("dartx.readEntries"), + _body: dart.privateName(html$, "_body"), + $contentType: dartx.contentType = Symbol("dartx.contentType"), + $cookie: dartx.cookie = Symbol("dartx.cookie"), + $currentScript: dartx.currentScript = Symbol("dartx.currentScript"), + _get_window: dart.privateName(html$, "_get_window"), + $window: dartx.window = Symbol("dartx.window"), + $documentElement: dartx.documentElement = Symbol("dartx.documentElement"), + $domain: dartx.domain = Symbol("dartx.domain"), + $fullscreenEnabled: dartx.fullscreenEnabled = Symbol("dartx.fullscreenEnabled"), + _head$1: dart.privateName(html$, "_head"), + $implementation: dartx.implementation = Symbol("dartx.implementation"), + _lastModified: dart.privateName(html$, "_lastModified"), + _preferredStylesheetSet: dart.privateName(html$, "_preferredStylesheetSet") +}; +var S$1 = { + _referrer: dart.privateName(html$, "_referrer"), + $rootElement: dartx.rootElement = Symbol("dartx.rootElement"), + $rootScroller: dartx.rootScroller = Symbol("dartx.rootScroller"), + $scrollingElement: dartx.scrollingElement = Symbol("dartx.scrollingElement"), + _selectedStylesheetSet: dart.privateName(html$, "_selectedStylesheetSet"), + $suborigin: dartx.suborigin = Symbol("dartx.suborigin"), + _title: dart.privateName(html$, "_title"), + _visibilityState: dart.privateName(html$, "_visibilityState"), + _webkitFullscreenElement: dart.privateName(html$, "_webkitFullscreenElement"), + _webkitFullscreenEnabled: dart.privateName(html$, "_webkitFullscreenEnabled"), + _webkitHidden: dart.privateName(html$, "_webkitHidden"), + _webkitVisibilityState: dart.privateName(html$, "_webkitVisibilityState"), + $adoptNode: dartx.adoptNode = Symbol("dartx.adoptNode"), + _caretRangeFromPoint: dart.privateName(html$, "_caretRangeFromPoint"), + $createDocumentFragment: dartx.createDocumentFragment = Symbol("dartx.createDocumentFragment"), + _createElement: dart.privateName(html$, "_createElement"), + _createElementNS: dart.privateName(html$, "_createElementNS"), + $createRange: dartx.createRange = Symbol("dartx.createRange"), + _createTextNode: dart.privateName(html$, "_createTextNode"), + _createTouch_1: dart.privateName(html$, "_createTouch_1"), + _createTouch_2: dart.privateName(html$, "_createTouch_2"), + _createTouch_3: dart.privateName(html$, "_createTouch_3"), + _createTouch_4: dart.privateName(html$, "_createTouch_4"), + _createTouch_5: dart.privateName(html$, "_createTouch_5"), + _createTouch: dart.privateName(html$, "_createTouch"), + _createTouchList: dart.privateName(html$, "_createTouchList"), + $execCommand: dartx.execCommand = Symbol("dartx.execCommand"), + $exitFullscreen: dartx.exitFullscreen = Symbol("dartx.exitFullscreen"), + $exitPointerLock: dartx.exitPointerLock = Symbol("dartx.exitPointerLock"), + $getElementsByName: dartx.getElementsByName = Symbol("dartx.getElementsByName"), + $getElementsByTagName: dartx.getElementsByTagName = Symbol("dartx.getElementsByTagName"), + $importNode: dartx.importNode = Symbol("dartx.importNode"), + $queryCommandEnabled: dartx.queryCommandEnabled = Symbol("dartx.queryCommandEnabled"), + $queryCommandIndeterm: dartx.queryCommandIndeterm = Symbol("dartx.queryCommandIndeterm"), + $queryCommandState: dartx.queryCommandState = Symbol("dartx.queryCommandState"), + $queryCommandSupported: dartx.queryCommandSupported = Symbol("dartx.queryCommandSupported"), + $queryCommandValue: dartx.queryCommandValue = Symbol("dartx.queryCommandValue"), + _registerElement2_1: dart.privateName(html$, "_registerElement2_1"), + _registerElement2_2: dart.privateName(html$, "_registerElement2_2"), + $registerElement2: dartx.registerElement2 = Symbol("dartx.registerElement2"), + _webkitExitFullscreen: dart.privateName(html$, "_webkitExitFullscreen"), + $getElementById: dartx.getElementById = Symbol("dartx.getElementById"), + $activeElement: dartx.activeElement = Symbol("dartx.activeElement"), + $fullscreenElement: dartx.fullscreenElement = Symbol("dartx.fullscreenElement"), + $pointerLockElement: dartx.pointerLockElement = Symbol("dartx.pointerLockElement"), + _styleSheets: dart.privateName(html$, "_styleSheets"), + _elementFromPoint: dart.privateName(html$, "_elementFromPoint"), + $elementsFromPoint: dartx.elementsFromPoint = Symbol("dartx.elementsFromPoint"), + $fonts: dartx.fonts = Symbol("dartx.fonts"), + $onPointerLockChange: dartx.onPointerLockChange = Symbol("dartx.onPointerLockChange"), + $onPointerLockError: dartx.onPointerLockError = Symbol("dartx.onPointerLockError"), + $onReadyStateChange: dartx.onReadyStateChange = Symbol("dartx.onReadyStateChange"), + $onSecurityPolicyViolation: dartx.onSecurityPolicyViolation = Symbol("dartx.onSecurityPolicyViolation"), + $onSelectionChange: dartx.onSelectionChange = Symbol("dartx.onSelectionChange"), + $supportsRegisterElement: dartx.supportsRegisterElement = Symbol("dartx.supportsRegisterElement"), + $supportsRegister: dartx.supportsRegister = Symbol("dartx.supportsRegister"), + $registerElement: dartx.registerElement = Symbol("dartx.registerElement"), + _createElement_2: dart.privateName(html$, "_createElement_2"), + _createElementNS_2: dart.privateName(html$, "_createElementNS_2"), + $createElementNS: dartx.createElementNS = Symbol("dartx.createElementNS"), + _createNodeIterator: dart.privateName(html$, "_createNodeIterator"), + _createTreeWalker: dart.privateName(html$, "_createTreeWalker"), + $visibilityState: dartx.visibilityState = Symbol("dartx.visibilityState"), + _docChildren: dart.privateName(html$, "_docChildren"), + $styleSheets: dartx.styleSheets = Symbol("dartx.styleSheets"), + $elementFromPoint: dartx.elementFromPoint = Symbol("dartx.elementFromPoint"), + $getSelection: dartx.getSelection = Symbol("dartx.getSelection"), + $createDocument: dartx.createDocument = Symbol("dartx.createDocument"), + $createDocumentType: dartx.createDocumentType = Symbol("dartx.createDocumentType"), + $hasFeature: dartx.hasFeature = Symbol("dartx.hasFeature"), + $a: dartx.a = Symbol("dartx.a"), + $b: dartx.b = Symbol("dartx.b"), + $c: dartx.c = Symbol("dartx.c"), + $d: dartx.d = Symbol("dartx.d"), + $e: dartx.e = Symbol("dartx.e"), + $f: dartx.f = Symbol("dartx.f"), + $m11: dartx.m11 = Symbol("dartx.m11"), + $m12: dartx.m12 = Symbol("dartx.m12"), + $m13: dartx.m13 = Symbol("dartx.m13"), + $m14: dartx.m14 = Symbol("dartx.m14"), + $m21: dartx.m21 = Symbol("dartx.m21"), + $m22: dartx.m22 = Symbol("dartx.m22"), + $m23: dartx.m23 = Symbol("dartx.m23"), + $m24: dartx.m24 = Symbol("dartx.m24"), + $m31: dartx.m31 = Symbol("dartx.m31"), + $m32: dartx.m32 = Symbol("dartx.m32"), + $m33: dartx.m33 = Symbol("dartx.m33"), + $m34: dartx.m34 = Symbol("dartx.m34"), + $m41: dartx.m41 = Symbol("dartx.m41"), + $m42: dartx.m42 = Symbol("dartx.m42"), + $m43: dartx.m43 = Symbol("dartx.m43"), + $m44: dartx.m44 = Symbol("dartx.m44"), + $invertSelf: dartx.invertSelf = Symbol("dartx.invertSelf"), + _multiplySelf_1: dart.privateName(html$, "_multiplySelf_1"), + _multiplySelf_2: dart.privateName(html$, "_multiplySelf_2"), + $multiplySelf: dartx.multiplySelf = Symbol("dartx.multiplySelf"), + _preMultiplySelf_1: dart.privateName(html$, "_preMultiplySelf_1"), + _preMultiplySelf_2: dart.privateName(html$, "_preMultiplySelf_2"), + $preMultiplySelf: dartx.preMultiplySelf = Symbol("dartx.preMultiplySelf"), + $rotateAxisAngleSelf: dartx.rotateAxisAngleSelf = Symbol("dartx.rotateAxisAngleSelf"), + $rotateFromVectorSelf: dartx.rotateFromVectorSelf = Symbol("dartx.rotateFromVectorSelf"), + $rotateSelf: dartx.rotateSelf = Symbol("dartx.rotateSelf"), + $scale3dSelf: dartx.scale3dSelf = Symbol("dartx.scale3dSelf"), + $scaleSelf: dartx.scaleSelf = Symbol("dartx.scaleSelf"), + $setMatrixValue: dartx.setMatrixValue = Symbol("dartx.setMatrixValue"), + $skewXSelf: dartx.skewXSelf = Symbol("dartx.skewXSelf"), + $skewYSelf: dartx.skewYSelf = Symbol("dartx.skewYSelf"), + $translateSelf: dartx.translateSelf = Symbol("dartx.translateSelf"), + $isIdentity: dartx.isIdentity = Symbol("dartx.isIdentity"), + $flipX: dartx.flipX = Symbol("dartx.flipX"), + $flipY: dartx.flipY = Symbol("dartx.flipY"), + $inverse: dartx.inverse = Symbol("dartx.inverse"), + _multiply_1: dart.privateName(html$, "_multiply_1"), + _multiply_2: dart.privateName(html$, "_multiply_2"), + $multiply: dartx.multiply = Symbol("dartx.multiply"), + $rotateAxisAngle: dartx.rotateAxisAngle = Symbol("dartx.rotateAxisAngle"), + $rotateFromVector: dartx.rotateFromVector = Symbol("dartx.rotateFromVector"), + $scale3d: dartx.scale3d = Symbol("dartx.scale3d"), + $skewX: dartx.skewX = Symbol("dartx.skewX"), + $skewY: dartx.skewY = Symbol("dartx.skewY"), + $toFloat32Array: dartx.toFloat32Array = Symbol("dartx.toFloat32Array"), + $toFloat64Array: dartx.toFloat64Array = Symbol("dartx.toFloat64Array"), + _transformPoint_1: dart.privateName(html$, "_transformPoint_1"), + _transformPoint_2: dart.privateName(html$, "_transformPoint_2"), + $transformPoint: dartx.transformPoint = Symbol("dartx.transformPoint"), + $parseFromString: dartx.parseFromString = Symbol("dartx.parseFromString"), + $w: dartx.w = Symbol("dartx.w"), + _matrixTransform_1: dart.privateName(html$, "_matrixTransform_1"), + _matrixTransform_2: dart.privateName(html$, "_matrixTransform_2"), + $matrixTransform: dartx.matrixTransform = Symbol("dartx.matrixTransform"), + $p1: dartx.p1 = Symbol("dartx.p1"), + $p2: dartx.p2 = Symbol("dartx.p2"), + $p3: dartx.p3 = Symbol("dartx.p3"), + $p4: dartx.p4 = Symbol("dartx.p4"), + $getBounds: dartx.getBounds = Symbol("dartx.getBounds"), + __delete__: dart.privateName(html$, "__delete__"), + $replace: dartx.replace = Symbol("dartx.replace"), + $supports: dartx.supports = Symbol("dartx.supports"), + $toggle: dartx.toggle = Symbol("dartx.toggle"), + _childElements: dart.privateName(html$, "_childElements"), + _element$2: dart.privateName(html$, "_element"), + _filter$2: dart.privateName(html$, "_filter"), + _nodeList: dart.privateName(html$, "_nodeList"), + _forElementList: dart.privateName(html$, "_forElementList"), + _value$6: dart.privateName(html$, "ScrollAlignment._value"), + _value$7: dart.privateName(html$, "_value"), + $colno: dartx.colno = Symbol("dartx.colno"), + $filename: dartx.filename = Symbol("dartx.filename"), + $lineno: dartx.lineno = Symbol("dartx.lineno"), + $withCredentials: dartx.withCredentials = Symbol("dartx.withCredentials"), + $onOpen: dartx.onOpen = Symbol("dartx.onOpen"), + _ptr: dart.privateName(html$, "_ptr"), + $lastEventId: dartx.lastEventId = Symbol("dartx.lastEventId"), + $ports: dartx.ports = Symbol("dartx.ports"), + $AddSearchProvider: dartx.AddSearchProvider = Symbol("dartx.AddSearchProvider"), + $IsSearchProviderInstalled: dartx.IsSearchProviderInstalled = Symbol("dartx.IsSearchProviderInstalled"), + $provider: dartx.provider = Symbol("dartx.provider"), + $clientId: dartx.clientId = Symbol("dartx.clientId"), + $isReload: dartx.isReload = Symbol("dartx.isReload"), + $preloadResponse: dartx.preloadResponse = Symbol("dartx.preloadResponse"), + $elements: dartx.elements = Symbol("dartx.elements"), + $lastModified: dartx.lastModified = Symbol("dartx.lastModified"), + _get_lastModifiedDate: dart.privateName(html$, "_get_lastModifiedDate"), + $lastModifiedDate: dartx.lastModifiedDate = Symbol("dartx.lastModifiedDate"), + $relativePath: dartx.relativePath = Symbol("dartx.relativePath"), + _createWriter: dart.privateName(html$, "_createWriter"), + $createWriter: dartx.createWriter = Symbol("dartx.createWriter"), + _file$1: dart.privateName(html$, "_file"), + $file: dartx.file = Symbol("dartx.file"), + $readAsArrayBuffer: dartx.readAsArrayBuffer = Symbol("dartx.readAsArrayBuffer"), + $readAsDataUrl: dartx.readAsDataUrl = Symbol("dartx.readAsDataUrl"), + $readAsText: dartx.readAsText = Symbol("dartx.readAsText"), + $onLoadEnd: dartx.onLoadEnd = Symbol("dartx.onLoadEnd"), + $onLoadStart: dartx.onLoadStart = Symbol("dartx.onLoadStart"), + $root: dartx.root = Symbol("dartx.root"), + $seek: dartx.seek = Symbol("dartx.seek"), + $write: dartx.write = Symbol("dartx.write"), + $onWrite: dartx.onWrite = Symbol("dartx.onWrite"), + $onWriteEnd: dartx.onWriteEnd = Symbol("dartx.onWriteEnd"), + $onWriteStart: dartx.onWriteStart = Symbol("dartx.onWriteStart"), + _get_relatedTarget: dart.privateName(html$, "_get_relatedTarget"), + $relatedTarget: dartx.relatedTarget = Symbol("dartx.relatedTarget"), + $family: dartx.family = Symbol("dartx.family"), + $featureSettings: dartx.featureSettings = Symbol("dartx.featureSettings"), + $loaded: dartx.loaded = Symbol("dartx.loaded"), + $stretch: dartx.stretch = Symbol("dartx.stretch"), + $variant: dartx.variant = Symbol("dartx.variant"), + $weight: dartx.weight = Symbol("dartx.weight"), + $check: dartx.check = Symbol("dartx.check"), + $onLoading: dartx.onLoading = Symbol("dartx.onLoading"), + $onLoadingDone: dartx.onLoadingDone = Symbol("dartx.onLoadingDone"), + $onLoadingError: dartx.onLoadingError = Symbol("dartx.onLoadingError"), + $fontfaces: dartx.fontfaces = Symbol("dartx.fontfaces"), + $appendBlob: dartx.appendBlob = Symbol("dartx.appendBlob"), + $acceptCharset: dartx.acceptCharset = Symbol("dartx.acceptCharset"), + $action: dartx.action = Symbol("dartx.action"), + $enctype: dartx.enctype = Symbol("dartx.enctype"), + $method: dartx.method = Symbol("dartx.method"), + $noValidate: dartx.noValidate = Symbol("dartx.noValidate"), + _requestAutocomplete_1: dart.privateName(html$, "_requestAutocomplete_1"), + $requestAutocomplete: dartx.requestAutocomplete = Symbol("dartx.requestAutocomplete"), + $reset: dartx.reset = Symbol("dartx.reset"), + $submit: dartx.submit = Symbol("dartx.submit"), + $axes: dartx.axes = Symbol("dartx.axes"), + $buttons: dartx.buttons = Symbol("dartx.buttons"), + $connected: dartx.connected = Symbol("dartx.connected"), + $displayId: dartx.displayId = Symbol("dartx.displayId"), + $hand: dartx.hand = Symbol("dartx.hand"), + $mapping: dartx.mapping = Symbol("dartx.mapping"), + $pose: dartx.pose = Symbol("dartx.pose"), + $touched: dartx.touched = Symbol("dartx.touched"), + $gamepad: dartx.gamepad = Symbol("dartx.gamepad"), + $angularAcceleration: dartx.angularAcceleration = Symbol("dartx.angularAcceleration"), + $angularVelocity: dartx.angularVelocity = Symbol("dartx.angularVelocity"), + $hasOrientation: dartx.hasOrientation = Symbol("dartx.hasOrientation"), + $hasPosition: dartx.hasPosition = Symbol("dartx.hasPosition"), + $linearAcceleration: dartx.linearAcceleration = Symbol("dartx.linearAcceleration"), + $linearVelocity: dartx.linearVelocity = Symbol("dartx.linearVelocity"), + _ensurePosition: dart.privateName(html$, "_ensurePosition"), + _getCurrentPosition: dart.privateName(html$, "_getCurrentPosition"), + $getCurrentPosition: dartx.getCurrentPosition = Symbol("dartx.getCurrentPosition"), + _clearWatch: dart.privateName(html$, "_clearWatch"), + _watchPosition: dart.privateName(html$, "_watchPosition"), + $watchPosition: dartx.watchPosition = Symbol("dartx.watchPosition"), + _getCurrentPosition_1: dart.privateName(html$, "_getCurrentPosition_1"), + _getCurrentPosition_2: dart.privateName(html$, "_getCurrentPosition_2"), + _getCurrentPosition_3: dart.privateName(html$, "_getCurrentPosition_3"), + _watchPosition_1: dart.privateName(html$, "_watchPosition_1"), + _watchPosition_2: dart.privateName(html$, "_watchPosition_2"), + _watchPosition_3: dart.privateName(html$, "_watchPosition_3"), + $newUrl: dartx.newUrl = Symbol("dartx.newUrl"), + $oldUrl: dartx.oldUrl = Symbol("dartx.oldUrl"), + $scrollRestoration: dartx.scrollRestoration = Symbol("dartx.scrollRestoration"), + _get_state: dart.privateName(html$, "_get_state"), + $back: dartx.back = Symbol("dartx.back"), + $forward: dartx.forward = Symbol("dartx.forward"), + $go: dartx.go = Symbol("dartx.go"), + _pushState_1: dart.privateName(html$, "_pushState_1"), + $pushState: dartx.pushState = Symbol("dartx.pushState"), + _replaceState_1: dart.privateName(html$, "_replaceState_1"), + $replaceState: dartx.replaceState = Symbol("dartx.replaceState"), + $namedItem: dartx.namedItem = Symbol("dartx.namedItem"), + $body: dartx.body = Symbol("dartx.body"), + $caretRangeFromPoint: dartx.caretRangeFromPoint = Symbol("dartx.caretRangeFromPoint"), + $preferredStylesheetSet: dartx.preferredStylesheetSet = Symbol("dartx.preferredStylesheetSet"), + $referrer: dartx.referrer = Symbol("dartx.referrer"), + $selectedStylesheetSet: dartx.selectedStylesheetSet = Symbol("dartx.selectedStylesheetSet"), + $register: dartx.register = Symbol("dartx.register"), + $onVisibilityChange: dartx.onVisibilityChange = Symbol("dartx.onVisibilityChange"), + $createElementUpgrader: dartx.createElementUpgrader = Symbol("dartx.createElementUpgrader"), + _item: dart.privateName(html$, "_item"), + $responseHeaders: dartx.responseHeaders = Symbol("dartx.responseHeaders"), + _get_response: dart.privateName(html$, "_get_response"), + $responseText: dartx.responseText = Symbol("dartx.responseText"), + $responseType: dartx.responseType = Symbol("dartx.responseType"), + $responseUrl: dartx.responseUrl = Symbol("dartx.responseUrl"), + $responseXml: dartx.responseXml = Symbol("dartx.responseXml"), + $statusText: dartx.statusText = Symbol("dartx.statusText"), + $timeout: dartx.timeout = Symbol("dartx.timeout"), + $upload: dartx.upload = Symbol("dartx.upload"), + $getAllResponseHeaders: dartx.getAllResponseHeaders = Symbol("dartx.getAllResponseHeaders"), + $getResponseHeader: dartx.getResponseHeader = Symbol("dartx.getResponseHeader"), + $overrideMimeType: dartx.overrideMimeType = Symbol("dartx.overrideMimeType"), + $send: dartx.send = Symbol("dartx.send"), + $setRequestHeader: dartx.setRequestHeader = Symbol("dartx.setRequestHeader"), + $onTimeout: dartx.onTimeout = Symbol("dartx.onTimeout"), + $allow: dartx.allow = Symbol("dartx.allow"), + $allowFullscreen: dartx.allowFullscreen = Symbol("dartx.allowFullscreen"), + $allowPaymentRequest: dartx.allowPaymentRequest = Symbol("dartx.allowPaymentRequest"), + _get_contentWindow: dart.privateName(html$, "_get_contentWindow"), + $contentWindow: dartx.contentWindow = Symbol("dartx.contentWindow"), + $csp: dartx.csp = Symbol("dartx.csp"), + $sandbox: dartx.sandbox = Symbol("dartx.sandbox"), + $srcdoc: dartx.srcdoc = Symbol("dartx.srcdoc"), + $didTimeout: dartx.didTimeout = Symbol("dartx.didTimeout"), + $timeRemaining: dartx.timeRemaining = Symbol("dartx.timeRemaining"), + $transferFromImageBitmap: dartx.transferFromImageBitmap = Symbol("dartx.transferFromImageBitmap"), + $track: dartx.track = Symbol("dartx.track"), + $getPhotoCapabilities: dartx.getPhotoCapabilities = Symbol("dartx.getPhotoCapabilities"), + $getPhotoSettings: dartx.getPhotoSettings = Symbol("dartx.getPhotoSettings"), + $grabFrame: dartx.grabFrame = Symbol("dartx.grabFrame"), + $setOptions: dartx.setOptions = Symbol("dartx.setOptions"), + $takePhoto: dartx.takePhoto = Symbol("dartx.takePhoto"), + $async: dartx.async = Symbol("dartx.async"), + $complete: dartx.complete = Symbol("dartx.complete"), + $isMap: dartx.isMap = Symbol("dartx.isMap"), + $naturalHeight: dartx.naturalHeight = Symbol("dartx.naturalHeight"), + $naturalWidth: dartx.naturalWidth = Symbol("dartx.naturalWidth"), + $sizes: dartx.sizes = Symbol("dartx.sizes"), + $srcset: dartx.srcset = Symbol("dartx.srcset"), + $useMap: dartx.useMap = Symbol("dartx.useMap"), + $decode: dartx.decode = Symbol("dartx.decode"), + $firesTouchEvents: dartx.firesTouchEvents = Symbol("dartx.firesTouchEvents"), + $accept: dartx.accept = Symbol("dartx.accept"), + $autocapitalize: dartx.autocapitalize = Symbol("dartx.autocapitalize"), + $capture: dartx.capture = Symbol("dartx.capture"), + $defaultChecked: dartx.defaultChecked = Symbol("dartx.defaultChecked"), + $defaultValue: dartx.defaultValue = Symbol("dartx.defaultValue"), + $dirName: dartx.dirName = Symbol("dartx.dirName"), + $incremental: dartx.incremental = Symbol("dartx.incremental"), + $indeterminate: dartx.indeterminate = Symbol("dartx.indeterminate"), + $list: dartx.list = Symbol("dartx.list"), + $max: dartx.max = Symbol("dartx.max"), + $maxLength: dartx.maxLength = Symbol("dartx.maxLength"), + $min: dartx.min = Symbol("dartx.min"), + $minLength: dartx.minLength = Symbol("dartx.minLength"), + $multiple: dartx.multiple = Symbol("dartx.multiple"), + $pattern: dartx.pattern = Symbol("dartx.pattern"), + $selectionDirection: dartx.selectionDirection = Symbol("dartx.selectionDirection"), + $selectionEnd: dartx.selectionEnd = Symbol("dartx.selectionEnd"), + $selectionStart: dartx.selectionStart = Symbol("dartx.selectionStart"), + $step: dartx.step = Symbol("dartx.step"), + _get_valueAsDate: dart.privateName(html$, "_get_valueAsDate"), + $valueAsDate: dartx.valueAsDate = Symbol("dartx.valueAsDate"), + _set_valueAsDate: dart.privateName(html$, "_set_valueAsDate"), + $valueAsNumber: dartx.valueAsNumber = Symbol("dartx.valueAsNumber"), + $directory: dartx.directory = Symbol("dartx.directory"), + $setRangeText: dartx.setRangeText = Symbol("dartx.setRangeText"), + $setSelectionRange: dartx.setSelectionRange = Symbol("dartx.setSelectionRange"), + $stepDown: dartx.stepDown = Symbol("dartx.stepDown"), + $stepUp: dartx.stepUp = Symbol("dartx.stepUp"), + files: dart.privateName(html$, "FileUploadInputElement.files"), + _registerForeignFetch_1: dart.privateName(html$, "_registerForeignFetch_1"), + $registerForeignFetch: dartx.registerForeignFetch = Symbol("dartx.registerForeignFetch"), + $rootMargin: dartx.rootMargin = Symbol("dartx.rootMargin"), + $thresholds: dartx.thresholds = Symbol("dartx.thresholds"), + $disconnect: dartx.disconnect = Symbol("dartx.disconnect"), + $takeRecords: dartx.takeRecords = Symbol("dartx.takeRecords"), + $boundingClientRect: dartx.boundingClientRect = Symbol("dartx.boundingClientRect"), + $intersectionRatio: dartx.intersectionRatio = Symbol("dartx.intersectionRatio"), + $intersectionRect: dartx.intersectionRect = Symbol("dartx.intersectionRect"), + $isIntersecting: dartx.isIntersecting = Symbol("dartx.isIntersecting"), + $rootBounds: dartx.rootBounds = Symbol("dartx.rootBounds"), + _initKeyboardEvent: dart.privateName(html$, "_initKeyboardEvent"), + $keyCode: dartx.keyCode = Symbol("dartx.keyCode"), + $charCode: dartx.charCode = Symbol("dartx.charCode"), + $which: dartx.which = Symbol("dartx.which"), + $altKey: dartx.altKey = Symbol("dartx.altKey"), + _charCode: dart.privateName(html$, "_charCode"), + $ctrlKey: dartx.ctrlKey = Symbol("dartx.ctrlKey"), + $isComposing: dartx.isComposing = Symbol("dartx.isComposing"), + _keyCode: dart.privateName(html$, "_keyCode"), + $metaKey: dartx.metaKey = Symbol("dartx.metaKey"), + $repeat: dartx.repeat = Symbol("dartx.repeat"), + $shiftKey: dartx.shiftKey = Symbol("dartx.shiftKey"), + $getModifierState: dartx.getModifierState = Symbol("dartx.getModifierState"), + $control: dartx.control = Symbol("dartx.control"), + $htmlFor: dartx.htmlFor = Symbol("dartx.htmlFor"), + $as: dartx.as = Symbol("dartx.as"), + $import: dartx.import = Symbol("dartx.import"), + $integrity: dartx.integrity = Symbol("dartx.integrity"), + $relList: dartx.relList = Symbol("dartx.relList"), + $scope: dartx.scope = Symbol("dartx.scope"), + $sheet: dartx.sheet = Symbol("dartx.sheet"), + $supportsImport: dartx.supportsImport = Symbol("dartx.supportsImport"), + $ancestorOrigins: dartx.ancestorOrigins = Symbol("dartx.ancestorOrigins"), + $trustedHref: dartx.trustedHref = Symbol("dartx.trustedHref"), + $assign: dartx.assign = Symbol("dartx.assign"), + $reload: dartx.reload = Symbol("dartx.reload"), + $areas: dartx.areas = Symbol("dartx.areas"), + $decodingInfo: dartx.decodingInfo = Symbol("dartx.decodingInfo"), + $encodingInfo: dartx.encodingInfo = Symbol("dartx.encodingInfo"), + $powerEfficient: dartx.powerEfficient = Symbol("dartx.powerEfficient"), + $smooth: dartx.smooth = Symbol("dartx.smooth"), + $supported: dartx.supported = Symbol("dartx.supported"), + $deviceId: dartx.deviceId = Symbol("dartx.deviceId"), + $groupId: dartx.groupId = Symbol("dartx.groupId"), + $enumerateDevices: dartx.enumerateDevices = Symbol("dartx.enumerateDevices"), + _getSupportedConstraints_1: dart.privateName(html$, "_getSupportedConstraints_1"), + $getSupportedConstraints: dartx.getSupportedConstraints = Symbol("dartx.getSupportedConstraints"), + $getUserMedia: dartx.getUserMedia = Symbol("dartx.getUserMedia"), + $initData: dartx.initData = Symbol("dartx.initData"), + $initDataType: dartx.initDataType = Symbol("dartx.initDataType"), + $messageType: dartx.messageType = Symbol("dartx.messageType"), + $closed: dartx.closed = Symbol("dartx.closed"), + $expiration: dartx.expiration = Symbol("dartx.expiration"), + $keyStatuses: dartx.keyStatuses = Symbol("dartx.keyStatuses"), + $sessionId: dartx.sessionId = Symbol("dartx.sessionId"), + $generateRequest: dartx.generateRequest = Symbol("dartx.generateRequest"), + _update$1: dart.privateName(html$, "_update"), + $keySystem: dartx.keySystem = Symbol("dartx.keySystem"), + $createMediaKeys: dartx.createMediaKeys = Symbol("dartx.createMediaKeys"), + _getConfiguration_1: dart.privateName(html$, "_getConfiguration_1"), + $getConfiguration: dartx.getConfiguration = Symbol("dartx.getConfiguration"), + _createSession: dart.privateName(html$, "_createSession"), + $getStatusForPolicy: dartx.getStatusForPolicy = Symbol("dartx.getStatusForPolicy"), + $setServerCertificate: dartx.setServerCertificate = Symbol("dartx.setServerCertificate"), + $minHdcpVersion: dartx.minHdcpVersion = Symbol("dartx.minHdcpVersion"), + $mediaText: dartx.mediaText = Symbol("dartx.mediaText"), + $appendMedium: dartx.appendMedium = Symbol("dartx.appendMedium"), + $deleteMedium: dartx.deleteMedium = Symbol("dartx.deleteMedium"), + $album: dartx.album = Symbol("dartx.album"), + $artist: dartx.artist = Symbol("dartx.artist"), + $artwork: dartx.artwork = Symbol("dartx.artwork"), + $addListener: dartx.addListener = Symbol("dartx.addListener"), + $removeListener: dartx.removeListener = Symbol("dartx.removeListener"), + $audioBitsPerSecond: dartx.audioBitsPerSecond = Symbol("dartx.audioBitsPerSecond"), + $mimeType: dartx.mimeType = Symbol("dartx.mimeType"), + $stream: dartx.stream = Symbol("dartx.stream"), + $videoBitsPerSecond: dartx.videoBitsPerSecond = Symbol("dartx.videoBitsPerSecond"), + $requestData: dartx.requestData = Symbol("dartx.requestData"), + $resume: dartx.resume = Symbol("dartx.resume"), + $metadata: dartx.metadata = Symbol("dartx.metadata"), + $playbackState: dartx.playbackState = Symbol("dartx.playbackState"), + $setActionHandler: dartx.setActionHandler = Symbol("dartx.setActionHandler"), + $activeSourceBuffers: dartx.activeSourceBuffers = Symbol("dartx.activeSourceBuffers"), + $sourceBuffers: dartx.sourceBuffers = Symbol("dartx.sourceBuffers"), + $addSourceBuffer: dartx.addSourceBuffer = Symbol("dartx.addSourceBuffer"), + $clearLiveSeekableRange: dartx.clearLiveSeekableRange = Symbol("dartx.clearLiveSeekableRange"), + $endOfStream: dartx.endOfStream = Symbol("dartx.endOfStream"), + $removeSourceBuffer: dartx.removeSourceBuffer = Symbol("dartx.removeSourceBuffer"), + $setLiveSeekableRange: dartx.setLiveSeekableRange = Symbol("dartx.setLiveSeekableRange"), + $active: dartx.active = Symbol("dartx.active"), + $addTrack: dartx.addTrack = Symbol("dartx.addTrack"), + $getAudioTracks: dartx.getAudioTracks = Symbol("dartx.getAudioTracks"), + $getTrackById: dartx.getTrackById = Symbol("dartx.getTrackById"), + $getTracks: dartx.getTracks = Symbol("dartx.getTracks"), + $getVideoTracks: dartx.getVideoTracks = Symbol("dartx.getVideoTracks"), + $removeTrack: dartx.removeTrack = Symbol("dartx.removeTrack"), + $onAddTrack: dartx.onAddTrack = Symbol("dartx.onAddTrack"), + $onRemoveTrack: dartx.onRemoveTrack = Symbol("dartx.onRemoveTrack"), + $jsHeapSizeLimit: dartx.jsHeapSizeLimit = Symbol("dartx.jsHeapSizeLimit"), + $totalJSHeapSize: dartx.totalJSHeapSize = Symbol("dartx.totalJSHeapSize"), + $usedJSHeapSize: dartx.usedJSHeapSize = Symbol("dartx.usedJSHeapSize"), + $port1: dartx.port1 = Symbol("dartx.port1"), + $port2: dartx.port2 = Symbol("dartx.port2"), + _initMessageEvent: dart.privateName(html$, "_initMessageEvent"), + _get_data: dart.privateName(html$, "_get_data"), + _get_source: dart.privateName(html$, "_get_source"), + _initMessageEvent_1: dart.privateName(html$, "_initMessageEvent_1"), + _start$4: dart.privateName(html$, "_start"), + $httpEquiv: dartx.httpEquiv = Symbol("dartx.httpEquiv"), + _get_modificationTime: dart.privateName(html$, "_get_modificationTime"), + $modificationTime: dartx.modificationTime = Symbol("dartx.modificationTime"), + $high: dartx.high = Symbol("dartx.high"), + $low: dartx.low = Symbol("dartx.low"), + $optimum: dartx.optimum = Symbol("dartx.optimum"), + $inputs: dartx.inputs = Symbol("dartx.inputs"), + $outputs: dartx.outputs = Symbol("dartx.outputs"), + $sysexEnabled: dartx.sysexEnabled = Symbol("dartx.sysexEnabled"), + $onMidiMessage: dartx.onMidiMessage = Symbol("dartx.onMidiMessage"), + $connection: dartx.connection = Symbol("dartx.connection"), + $manufacturer: dartx.manufacturer = Symbol("dartx.manufacturer"), + _getItem: dart.privateName(html$, "_getItem"), + $description: dartx.description = Symbol("dartx.description"), + $enabledPlugin: dartx.enabledPlugin = Symbol("dartx.enabledPlugin"), + $suffixes: dartx.suffixes = Symbol("dartx.suffixes"), + $cite: dartx.cite = Symbol("dartx.cite"), + $dateTime: dartx.dateTime = Symbol("dartx.dateTime"), + _initMouseEvent: dart.privateName(html$, "_initMouseEvent"), + $button: dartx.button = Symbol("dartx.button"), + _clientX: dart.privateName(html$, "_clientX"), + _clientY: dart.privateName(html$, "_clientY"), + $fromElement: dartx.fromElement = Symbol("dartx.fromElement"), + _layerX: dart.privateName(html$, "_layerX"), + _layerY: dart.privateName(html$, "_layerY"), + _movementX: dart.privateName(html$, "_movementX"), + _movementY: dart.privateName(html$, "_movementY"), + _pageX: dart.privateName(html$, "_pageX"), + _pageY: dart.privateName(html$, "_pageY"), + $region: dartx.region = Symbol("dartx.region"), + _screenX: dart.privateName(html$, "_screenX"), + _screenY: dart.privateName(html$, "_screenY"), + $toElement: dartx.toElement = Symbol("dartx.toElement"), + _initMouseEvent_1: dart.privateName(html$, "_initMouseEvent_1"), + $movement: dartx.movement = Symbol("dartx.movement"), + $screen: dartx.screen = Symbol("dartx.screen"), + $layer: dartx.layer = Symbol("dartx.layer"), + $dataTransfer: dartx.dataTransfer = Symbol("dartx.dataTransfer"), + $attrChange: dartx.attrChange = Symbol("dartx.attrChange"), + $attrName: dartx.attrName = Symbol("dartx.attrName"), + $newValue: dartx.newValue = Symbol("dartx.newValue"), + $prevValue: dartx.prevValue = Symbol("dartx.prevValue"), + $relatedNode: dartx.relatedNode = Symbol("dartx.relatedNode"), + $initMutationEvent: dartx.initMutationEvent = Symbol("dartx.initMutationEvent"), + _observe_1$1: dart.privateName(html$, "_observe_1"), + _observe_2: dart.privateName(html$, "_observe_2"), + _observe: dart.privateName(html$, "_observe"), + _call: dart.privateName(html$, "_call"), + $addedNodes: dartx.addedNodes = Symbol("dartx.addedNodes"), + $attributeName: dartx.attributeName = Symbol("dartx.attributeName"), + $attributeNamespace: dartx.attributeNamespace = Symbol("dartx.attributeNamespace"), + $nextSibling: dartx.nextSibling = Symbol("dartx.nextSibling"), + $oldValue: dartx.oldValue = Symbol("dartx.oldValue"), + $previousSibling: dartx.previousSibling = Symbol("dartx.previousSibling"), + $removedNodes: dartx.removedNodes = Symbol("dartx.removedNodes"), + $disable: dartx.disable = Symbol("dartx.disable"), + $enable: dartx.enable = Symbol("dartx.enable"), + $getState: dartx.getState = Symbol("dartx.getState"), + _getGamepads: dart.privateName(html$, "_getGamepads"), + $getGamepads: dartx.getGamepads = Symbol("dartx.getGamepads"), + $language: dartx.language = Symbol("dartx.language"), + _ensureGetUserMedia: dart.privateName(html$, "_ensureGetUserMedia"), + _getUserMedia: dart.privateName(html$, "_getUserMedia"), + $budget: dartx.budget = Symbol("dartx.budget"), + $clipboard: dartx.clipboard = Symbol("dartx.clipboard"), + $credentials: dartx.credentials = Symbol("dartx.credentials"), + $deviceMemory: dartx.deviceMemory = Symbol("dartx.deviceMemory"), + $doNotTrack: dartx.doNotTrack = Symbol("dartx.doNotTrack"), + $geolocation: dartx.geolocation = Symbol("dartx.geolocation") +}; +var S$2 = { + $maxTouchPoints: dartx.maxTouchPoints = Symbol("dartx.maxTouchPoints"), + $mediaCapabilities: dartx.mediaCapabilities = Symbol("dartx.mediaCapabilities"), + $mediaDevices: dartx.mediaDevices = Symbol("dartx.mediaDevices"), + $mediaSession: dartx.mediaSession = Symbol("dartx.mediaSession"), + $mimeTypes: dartx.mimeTypes = Symbol("dartx.mimeTypes"), + $nfc: dartx.nfc = Symbol("dartx.nfc"), + $permissions: dartx.permissions = Symbol("dartx.permissions"), + $presentation: dartx.presentation = Symbol("dartx.presentation"), + $productSub: dartx.productSub = Symbol("dartx.productSub"), + $serviceWorker: dartx.serviceWorker = Symbol("dartx.serviceWorker"), + $storage: dartx.storage = Symbol("dartx.storage"), + $vendor: dartx.vendor = Symbol("dartx.vendor"), + $vendorSub: dartx.vendorSub = Symbol("dartx.vendorSub"), + $vr: dartx.vr = Symbol("dartx.vr"), + $persistentStorage: dartx.persistentStorage = Symbol("dartx.persistentStorage"), + $temporaryStorage: dartx.temporaryStorage = Symbol("dartx.temporaryStorage"), + $cancelKeyboardLock: dartx.cancelKeyboardLock = Symbol("dartx.cancelKeyboardLock"), + $getBattery: dartx.getBattery = Symbol("dartx.getBattery"), + $getInstalledRelatedApps: dartx.getInstalledRelatedApps = Symbol("dartx.getInstalledRelatedApps"), + $getVRDisplays: dartx.getVRDisplays = Symbol("dartx.getVRDisplays"), + $registerProtocolHandler: dartx.registerProtocolHandler = Symbol("dartx.registerProtocolHandler"), + _requestKeyboardLock_1: dart.privateName(html$, "_requestKeyboardLock_1"), + _requestKeyboardLock_2: dart.privateName(html$, "_requestKeyboardLock_2"), + $requestKeyboardLock: dartx.requestKeyboardLock = Symbol("dartx.requestKeyboardLock"), + $requestMidiAccess: dartx.requestMidiAccess = Symbol("dartx.requestMidiAccess"), + $requestMediaKeySystemAccess: dartx.requestMediaKeySystemAccess = Symbol("dartx.requestMediaKeySystemAccess"), + $sendBeacon: dartx.sendBeacon = Symbol("dartx.sendBeacon"), + $share: dartx.share = Symbol("dartx.share"), + $webdriver: dartx.webdriver = Symbol("dartx.webdriver"), + $cookieEnabled: dartx.cookieEnabled = Symbol("dartx.cookieEnabled"), + $appCodeName: dartx.appCodeName = Symbol("dartx.appCodeName"), + $appName: dartx.appName = Symbol("dartx.appName"), + $appVersion: dartx.appVersion = Symbol("dartx.appVersion"), + $dartEnabled: dartx.dartEnabled = Symbol("dartx.dartEnabled"), + $platform: dartx.platform = Symbol("dartx.platform"), + $product: dartx.product = Symbol("dartx.product"), + $userAgent: dartx.userAgent = Symbol("dartx.userAgent"), + $languages: dartx.languages = Symbol("dartx.languages"), + $onLine: dartx.onLine = Symbol("dartx.onLine"), + $hardwareConcurrency: dartx.hardwareConcurrency = Symbol("dartx.hardwareConcurrency"), + $constraintName: dartx.constraintName = Symbol("dartx.constraintName"), + $downlink: dartx.downlink = Symbol("dartx.downlink"), + $downlinkMax: dartx.downlinkMax = Symbol("dartx.downlinkMax"), + $effectiveType: dartx.effectiveType = Symbol("dartx.effectiveType"), + $rtt: dartx.rtt = Symbol("dartx.rtt"), + $pointerBeforeReferenceNode: dartx.pointerBeforeReferenceNode = Symbol("dartx.pointerBeforeReferenceNode"), + $referenceNode: dartx.referenceNode = Symbol("dartx.referenceNode"), + $whatToShow: dartx.whatToShow = Symbol("dartx.whatToShow"), + $detach: dartx.detach = Symbol("dartx.detach"), + $actions: dartx.actions = Symbol("dartx.actions"), + $badge: dartx.badge = Symbol("dartx.badge"), + $icon: dartx.icon = Symbol("dartx.icon"), + $image: dartx.image = Symbol("dartx.image"), + $renotify: dartx.renotify = Symbol("dartx.renotify"), + $requireInteraction: dartx.requireInteraction = Symbol("dartx.requireInteraction"), + $silent: dartx.silent = Symbol("dartx.silent"), + $tag: dartx.tag = Symbol("dartx.tag"), + $vibrate: dartx.vibrate = Symbol("dartx.vibrate"), + $onShow: dartx.onShow = Symbol("dartx.onShow"), + $notification: dartx.notification = Symbol("dartx.notification"), + $reply: dartx.reply = Symbol("dartx.reply"), + $convertToBlob: dartx.convertToBlob = Symbol("dartx.convertToBlob"), + $transferToImageBitmap: dartx.transferToImageBitmap = Symbol("dartx.transferToImageBitmap"), + $commit: dartx.commit = Symbol("dartx.commit"), + $defaultSelected: dartx.defaultSelected = Symbol("dartx.defaultSelected"), + $constraint: dartx.constraint = Symbol("dartx.constraint"), + $persisted: dartx.persisted = Symbol("dartx.persisted"), + $devicePixelRatio: dartx.devicePixelRatio = Symbol("dartx.devicePixelRatio"), + $registerPaint: dartx.registerPaint = Symbol("dartx.registerPaint"), + $additionalData: dartx.additionalData = Symbol("dartx.additionalData"), + $idName: dartx.idName = Symbol("dartx.idName"), + $passwordName: dartx.passwordName = Symbol("dartx.passwordName"), + $addPath: dartx.addPath = Symbol("dartx.addPath"), + $addressLine: dartx.addressLine = Symbol("dartx.addressLine"), + $city: dartx.city = Symbol("dartx.city"), + $country: dartx.country = Symbol("dartx.country"), + $dependentLocality: dartx.dependentLocality = Symbol("dartx.dependentLocality"), + $languageCode: dartx.languageCode = Symbol("dartx.languageCode"), + $organization: dartx.organization = Symbol("dartx.organization"), + $phone: dartx.phone = Symbol("dartx.phone"), + $postalCode: dartx.postalCode = Symbol("dartx.postalCode"), + $recipient: dartx.recipient = Symbol("dartx.recipient"), + $sortingCode: dartx.sortingCode = Symbol("dartx.sortingCode"), + $instruments: dartx.instruments = Symbol("dartx.instruments"), + $userHint: dartx.userHint = Symbol("dartx.userHint"), + $shippingAddress: dartx.shippingAddress = Symbol("dartx.shippingAddress"), + $shippingOption: dartx.shippingOption = Symbol("dartx.shippingOption"), + $shippingType: dartx.shippingType = Symbol("dartx.shippingType"), + $canMakePayment: dartx.canMakePayment = Symbol("dartx.canMakePayment"), + $instrumentKey: dartx.instrumentKey = Symbol("dartx.instrumentKey"), + $paymentRequestId: dartx.paymentRequestId = Symbol("dartx.paymentRequestId"), + $total: dartx.total = Symbol("dartx.total"), + $updateWith: dartx.updateWith = Symbol("dartx.updateWith"), + $methodName: dartx.methodName = Symbol("dartx.methodName"), + $payerEmail: dartx.payerEmail = Symbol("dartx.payerEmail"), + $payerName: dartx.payerName = Symbol("dartx.payerName"), + $payerPhone: dartx.payerPhone = Symbol("dartx.payerPhone"), + $requestId: dartx.requestId = Symbol("dartx.requestId"), + $memory: dartx.memory = Symbol("dartx.memory"), + $navigation: dartx.navigation = Symbol("dartx.navigation"), + $timeOrigin: dartx.timeOrigin = Symbol("dartx.timeOrigin"), + $clearMarks: dartx.clearMarks = Symbol("dartx.clearMarks"), + $clearMeasures: dartx.clearMeasures = Symbol("dartx.clearMeasures"), + $clearResourceTimings: dartx.clearResourceTimings = Symbol("dartx.clearResourceTimings"), + $getEntries: dartx.getEntries = Symbol("dartx.getEntries"), + $getEntriesByName: dartx.getEntriesByName = Symbol("dartx.getEntriesByName"), + $getEntriesByType: dartx.getEntriesByType = Symbol("dartx.getEntriesByType"), + $mark: dartx.mark = Symbol("dartx.mark"), + $measure: dartx.measure = Symbol("dartx.measure"), + $now: dartx.now = Symbol("dartx.now"), + $setResourceTimingBufferSize: dartx.setResourceTimingBufferSize = Symbol("dartx.setResourceTimingBufferSize"), + $entryType: dartx.entryType = Symbol("dartx.entryType"), + $attribution: dartx.attribution = Symbol("dartx.attribution"), + $redirectCount: dartx.redirectCount = Symbol("dartx.redirectCount"), + $domComplete: dartx.domComplete = Symbol("dartx.domComplete"), + $domContentLoadedEventEnd: dartx.domContentLoadedEventEnd = Symbol("dartx.domContentLoadedEventEnd"), + $domContentLoadedEventStart: dartx.domContentLoadedEventStart = Symbol("dartx.domContentLoadedEventStart"), + $domInteractive: dartx.domInteractive = Symbol("dartx.domInteractive"), + $loadEventEnd: dartx.loadEventEnd = Symbol("dartx.loadEventEnd"), + $loadEventStart: dartx.loadEventStart = Symbol("dartx.loadEventStart"), + $unloadEventEnd: dartx.unloadEventEnd = Symbol("dartx.unloadEventEnd"), + $unloadEventStart: dartx.unloadEventStart = Symbol("dartx.unloadEventStart"), + $connectEnd: dartx.connectEnd = Symbol("dartx.connectEnd"), + $connectStart: dartx.connectStart = Symbol("dartx.connectStart"), + $decodedBodySize: dartx.decodedBodySize = Symbol("dartx.decodedBodySize"), + $domainLookupEnd: dartx.domainLookupEnd = Symbol("dartx.domainLookupEnd"), + $domainLookupStart: dartx.domainLookupStart = Symbol("dartx.domainLookupStart"), + $encodedBodySize: dartx.encodedBodySize = Symbol("dartx.encodedBodySize"), + $fetchStart: dartx.fetchStart = Symbol("dartx.fetchStart"), + $initiatorType: dartx.initiatorType = Symbol("dartx.initiatorType"), + $nextHopProtocol: dartx.nextHopProtocol = Symbol("dartx.nextHopProtocol"), + $redirectEnd: dartx.redirectEnd = Symbol("dartx.redirectEnd"), + $redirectStart: dartx.redirectStart = Symbol("dartx.redirectStart"), + $requestStart: dartx.requestStart = Symbol("dartx.requestStart"), + $responseEnd: dartx.responseEnd = Symbol("dartx.responseEnd"), + $responseStart: dartx.responseStart = Symbol("dartx.responseStart"), + $secureConnectionStart: dartx.secureConnectionStart = Symbol("dartx.secureConnectionStart"), + $serverTiming: dartx.serverTiming = Symbol("dartx.serverTiming"), + $transferSize: dartx.transferSize = Symbol("dartx.transferSize"), + $workerStart: dartx.workerStart = Symbol("dartx.workerStart"), + $domLoading: dartx.domLoading = Symbol("dartx.domLoading"), + $navigationStart: dartx.navigationStart = Symbol("dartx.navigationStart"), + $query: dartx.query = Symbol("dartx.query"), + $requestAll: dartx.requestAll = Symbol("dartx.requestAll"), + $revoke: dartx.revoke = Symbol("dartx.revoke"), + $fillLightMode: dartx.fillLightMode = Symbol("dartx.fillLightMode"), + $imageHeight: dartx.imageHeight = Symbol("dartx.imageHeight"), + $imageWidth: dartx.imageWidth = Symbol("dartx.imageWidth"), + $redEyeReduction: dartx.redEyeReduction = Symbol("dartx.redEyeReduction"), + $refresh: dartx.refresh = Symbol("dartx.refresh"), + $isPrimary: dartx.isPrimary = Symbol("dartx.isPrimary"), + $pointerId: dartx.pointerId = Symbol("dartx.pointerId"), + $pointerType: dartx.pointerType = Symbol("dartx.pointerType"), + $pressure: dartx.pressure = Symbol("dartx.pressure"), + $tangentialPressure: dartx.tangentialPressure = Symbol("dartx.tangentialPressure"), + $tiltX: dartx.tiltX = Symbol("dartx.tiltX"), + $tiltY: dartx.tiltY = Symbol("dartx.tiltY"), + $twist: dartx.twist = Symbol("dartx.twist"), + $getCoalescedEvents: dartx.getCoalescedEvents = Symbol("dartx.getCoalescedEvents"), + $defaultRequest: dartx.defaultRequest = Symbol("dartx.defaultRequest"), + $receiver: dartx.receiver = Symbol("dartx.receiver"), + $binaryType: dartx.binaryType = Symbol("dartx.binaryType"), + $terminate: dartx.terminate = Symbol("dartx.terminate"), + $connections: dartx.connections = Symbol("dartx.connections"), + $connectionList: dartx.connectionList = Symbol("dartx.connectionList"), + $getAvailability: dartx.getAvailability = Symbol("dartx.getAvailability"), + $reconnect: dartx.reconnect = Symbol("dartx.reconnect"), + $lengthComputable: dartx.lengthComputable = Symbol("dartx.lengthComputable"), + $promise: dartx.promise = Symbol("dartx.promise"), + $rawId: dartx.rawId = Symbol("dartx.rawId"), + $getSubscription: dartx.getSubscription = Symbol("dartx.getSubscription"), + $permissionState: dartx.permissionState = Symbol("dartx.permissionState"), + $subscribe: dartx.subscribe = Symbol("dartx.subscribe"), + $endpoint: dartx.endpoint = Symbol("dartx.endpoint"), + $expirationTime: dartx.expirationTime = Symbol("dartx.expirationTime"), + $unsubscribe: dartx.unsubscribe = Symbol("dartx.unsubscribe"), + $applicationServerKey: dartx.applicationServerKey = Symbol("dartx.applicationServerKey"), + $userVisibleOnly: dartx.userVisibleOnly = Symbol("dartx.userVisibleOnly"), + $collapsed: dartx.collapsed = Symbol("dartx.collapsed"), + $commonAncestorContainer: dartx.commonAncestorContainer = Symbol("dartx.commonAncestorContainer"), + $endContainer: dartx.endContainer = Symbol("dartx.endContainer"), + $endOffset: dartx.endOffset = Symbol("dartx.endOffset"), + $startContainer: dartx.startContainer = Symbol("dartx.startContainer"), + $startOffset: dartx.startOffset = Symbol("dartx.startOffset"), + $cloneContents: dartx.cloneContents = Symbol("dartx.cloneContents"), + $cloneRange: dartx.cloneRange = Symbol("dartx.cloneRange"), + $collapse: dartx.collapse = Symbol("dartx.collapse"), + $compareBoundaryPoints: dartx.compareBoundaryPoints = Symbol("dartx.compareBoundaryPoints"), + $comparePoint: dartx.comparePoint = Symbol("dartx.comparePoint"), + $createContextualFragment: dartx.createContextualFragment = Symbol("dartx.createContextualFragment"), + $deleteContents: dartx.deleteContents = Symbol("dartx.deleteContents"), + $extractContents: dartx.extractContents = Symbol("dartx.extractContents"), + $insertNode: dartx.insertNode = Symbol("dartx.insertNode"), + $isPointInRange: dartx.isPointInRange = Symbol("dartx.isPointInRange"), + $selectNode: dartx.selectNode = Symbol("dartx.selectNode"), + $selectNodeContents: dartx.selectNodeContents = Symbol("dartx.selectNodeContents"), + $setEnd: dartx.setEnd = Symbol("dartx.setEnd"), + $setEndAfter: dartx.setEndAfter = Symbol("dartx.setEndAfter"), + $setEndBefore: dartx.setEndBefore = Symbol("dartx.setEndBefore"), + $setStart: dartx.setStart = Symbol("dartx.setStart"), + $setStartAfter: dartx.setStartAfter = Symbol("dartx.setStartAfter"), + $setStartBefore: dartx.setStartBefore = Symbol("dartx.setStartBefore"), + $surroundContents: dartx.surroundContents = Symbol("dartx.surroundContents"), + $cancelWatchAvailability: dartx.cancelWatchAvailability = Symbol("dartx.cancelWatchAvailability"), + $watchAvailability: dartx.watchAvailability = Symbol("dartx.watchAvailability"), + $contentRect: dartx.contentRect = Symbol("dartx.contentRect"), + $expires: dartx.expires = Symbol("dartx.expires"), + $getFingerprints: dartx.getFingerprints = Symbol("dartx.getFingerprints"), + $bufferedAmount: dartx.bufferedAmount = Symbol("dartx.bufferedAmount"), + $bufferedAmountLowThreshold: dartx.bufferedAmountLowThreshold = Symbol("dartx.bufferedAmountLowThreshold"), + $maxRetransmitTime: dartx.maxRetransmitTime = Symbol("dartx.maxRetransmitTime"), + $maxRetransmits: dartx.maxRetransmits = Symbol("dartx.maxRetransmits"), + $negotiated: dartx.negotiated = Symbol("dartx.negotiated"), + $ordered: dartx.ordered = Symbol("dartx.ordered"), + $reliable: dartx.reliable = Symbol("dartx.reliable"), + $sendBlob: dartx.sendBlob = Symbol("dartx.sendBlob"), + $sendByteBuffer: dartx.sendByteBuffer = Symbol("dartx.sendByteBuffer"), + $sendString: dartx.sendString = Symbol("dartx.sendString"), + $sendTypedData: dartx.sendTypedData = Symbol("dartx.sendTypedData"), + $channel: dartx.channel = Symbol("dartx.channel"), + $canInsertDtmf: dartx.canInsertDtmf = Symbol("dartx.canInsertDtmf"), + $interToneGap: dartx.interToneGap = Symbol("dartx.interToneGap"), + $toneBuffer: dartx.toneBuffer = Symbol("dartx.toneBuffer"), + $insertDtmf: dartx.insertDtmf = Symbol("dartx.insertDtmf"), + $onToneChange: dartx.onToneChange = Symbol("dartx.onToneChange"), + $tone: dartx.tone = Symbol("dartx.tone"), + $candidate: dartx.candidate = Symbol("dartx.candidate"), + $sdpMLineIndex: dartx.sdpMLineIndex = Symbol("dartx.sdpMLineIndex"), + $sdpMid: dartx.sdpMid = Symbol("dartx.sdpMid"), + _get_timestamp: dart.privateName(html$, "_get_timestamp"), + $names: dartx.names = Symbol("dartx.names"), + $stat: dartx.stat = Symbol("dartx.stat"), + _getStats: dart.privateName(html$, "_getStats"), + $getLegacyStats: dartx.getLegacyStats = Symbol("dartx.getLegacyStats"), + $iceConnectionState: dartx.iceConnectionState = Symbol("dartx.iceConnectionState"), + $iceGatheringState: dartx.iceGatheringState = Symbol("dartx.iceGatheringState"), + $localDescription: dartx.localDescription = Symbol("dartx.localDescription"), + $remoteDescription: dartx.remoteDescription = Symbol("dartx.remoteDescription"), + $signalingState: dartx.signalingState = Symbol("dartx.signalingState"), + $addIceCandidate: dartx.addIceCandidate = Symbol("dartx.addIceCandidate"), + _addStream_1: dart.privateName(html$, "_addStream_1"), + _addStream_2: dart.privateName(html$, "_addStream_2"), + $addStream: dartx.addStream = Symbol("dartx.addStream"), + $createAnswer: dartx.createAnswer = Symbol("dartx.createAnswer"), + $createDtmfSender: dartx.createDtmfSender = Symbol("dartx.createDtmfSender"), + _createDataChannel_1: dart.privateName(html$, "_createDataChannel_1"), + _createDataChannel_2: dart.privateName(html$, "_createDataChannel_2"), + $createDataChannel: dartx.createDataChannel = Symbol("dartx.createDataChannel"), + $createOffer: dartx.createOffer = Symbol("dartx.createOffer"), + $getLocalStreams: dartx.getLocalStreams = Symbol("dartx.getLocalStreams"), + $getReceivers: dartx.getReceivers = Symbol("dartx.getReceivers"), + $getRemoteStreams: dartx.getRemoteStreams = Symbol("dartx.getRemoteStreams"), + $getSenders: dartx.getSenders = Symbol("dartx.getSenders"), + $getStats: dartx.getStats = Symbol("dartx.getStats"), + $removeStream: dartx.removeStream = Symbol("dartx.removeStream"), + _setConfiguration_1: dart.privateName(html$, "_setConfiguration_1"), + $setConfiguration: dartx.setConfiguration = Symbol("dartx.setConfiguration"), + $setLocalDescription: dartx.setLocalDescription = Symbol("dartx.setLocalDescription"), + $setRemoteDescription: dartx.setRemoteDescription = Symbol("dartx.setRemoteDescription"), + $onAddStream: dartx.onAddStream = Symbol("dartx.onAddStream"), + $onDataChannel: dartx.onDataChannel = Symbol("dartx.onDataChannel"), + $onIceCandidate: dartx.onIceCandidate = Symbol("dartx.onIceCandidate"), + $onIceConnectionStateChange: dartx.onIceConnectionStateChange = Symbol("dartx.onIceConnectionStateChange"), + $onNegotiationNeeded: dartx.onNegotiationNeeded = Symbol("dartx.onNegotiationNeeded"), + $onRemoveStream: dartx.onRemoveStream = Symbol("dartx.onRemoveStream"), + $onSignalingStateChange: dartx.onSignalingStateChange = Symbol("dartx.onSignalingStateChange"), + $onTrack: dartx.onTrack = Symbol("dartx.onTrack"), + $getContributingSources: dartx.getContributingSources = Symbol("dartx.getContributingSources"), + $sdp: dartx.sdp = Symbol("dartx.sdp"), + $streams: dartx.streams = Symbol("dartx.streams"), + _availLeft: dart.privateName(html$, "_availLeft"), + _availTop: dart.privateName(html$, "_availTop"), + _availWidth: dart.privateName(html$, "_availWidth"), + _availHeight: dart.privateName(html$, "_availHeight"), + $available: dartx.available = Symbol("dartx.available"), + $colorDepth: dartx.colorDepth = Symbol("dartx.colorDepth"), + $keepAwake: dartx.keepAwake = Symbol("dartx.keepAwake"), + $pixelDepth: dartx.pixelDepth = Symbol("dartx.pixelDepth"), + $lock: dartx.lock = Symbol("dartx.lock"), + $unlock: dartx.unlock = Symbol("dartx.unlock"), + $charset: dartx.charset = Symbol("dartx.charset"), + $defer: dartx.defer = Symbol("dartx.defer"), + $noModule: dartx.noModule = Symbol("dartx.noModule"), + $deltaGranularity: dartx.deltaGranularity = Symbol("dartx.deltaGranularity"), + $deltaX: dartx.deltaX = Symbol("dartx.deltaX"), + $deltaY: dartx.deltaY = Symbol("dartx.deltaY"), + $fromUserInput: dartx.fromUserInput = Symbol("dartx.fromUserInput"), + $inInertialPhase: dartx.inInertialPhase = Symbol("dartx.inInertialPhase"), + $isBeginning: dartx.isBeginning = Symbol("dartx.isBeginning"), + $isDirectManipulation: dartx.isDirectManipulation = Symbol("dartx.isDirectManipulation"), + $isEnding: dartx.isEnding = Symbol("dartx.isEnding"), + $positionX: dartx.positionX = Symbol("dartx.positionX"), + $positionY: dartx.positionY = Symbol("dartx.positionY"), + $velocityX: dartx.velocityX = Symbol("dartx.velocityX"), + $velocityY: dartx.velocityY = Symbol("dartx.velocityY"), + $consumeDelta: dartx.consumeDelta = Symbol("dartx.consumeDelta"), + $distributeToScrollChainDescendant: dartx.distributeToScrollChainDescendant = Symbol("dartx.distributeToScrollChainDescendant"), + $scrollSource: dartx.scrollSource = Symbol("dartx.scrollSource"), + $timeRange: dartx.timeRange = Symbol("dartx.timeRange"), + $blockedUri: dartx.blockedUri = Symbol("dartx.blockedUri"), + $columnNumber: dartx.columnNumber = Symbol("dartx.columnNumber"), + $disposition: dartx.disposition = Symbol("dartx.disposition"), + $documentUri: dartx.documentUri = Symbol("dartx.documentUri"), + $effectiveDirective: dartx.effectiveDirective = Symbol("dartx.effectiveDirective"), + $originalPolicy: dartx.originalPolicy = Symbol("dartx.originalPolicy"), + $sample: dartx.sample = Symbol("dartx.sample"), + $statusCode: dartx.statusCode = Symbol("dartx.statusCode"), + $violatedDirective: dartx.violatedDirective = Symbol("dartx.violatedDirective"), + $selectedIndex: dartx.selectedIndex = Symbol("dartx.selectedIndex"), + $selectedOptions: dartx.selectedOptions = Symbol("dartx.selectedOptions"), + $anchorNode: dartx.anchorNode = Symbol("dartx.anchorNode"), + $anchorOffset: dartx.anchorOffset = Symbol("dartx.anchorOffset"), + $baseNode: dartx.baseNode = Symbol("dartx.baseNode"), + $baseOffset: dartx.baseOffset = Symbol("dartx.baseOffset"), + $extentNode: dartx.extentNode = Symbol("dartx.extentNode"), + $extentOffset: dartx.extentOffset = Symbol("dartx.extentOffset"), + $focusNode: dartx.focusNode = Symbol("dartx.focusNode"), + $focusOffset: dartx.focusOffset = Symbol("dartx.focusOffset"), + $isCollapsed: dartx.isCollapsed = Symbol("dartx.isCollapsed"), + $rangeCount: dartx.rangeCount = Symbol("dartx.rangeCount"), + $addRange: dartx.addRange = Symbol("dartx.addRange"), + $collapseToEnd: dartx.collapseToEnd = Symbol("dartx.collapseToEnd"), + $collapseToStart: dartx.collapseToStart = Symbol("dartx.collapseToStart"), + $containsNode: dartx.containsNode = Symbol("dartx.containsNode"), + $deleteFromDocument: dartx.deleteFromDocument = Symbol("dartx.deleteFromDocument"), + $empty: dartx.empty = Symbol("dartx.empty"), + $extend: dartx.extend = Symbol("dartx.extend"), + $getRangeAt: dartx.getRangeAt = Symbol("dartx.getRangeAt"), + $modify: dartx.modify = Symbol("dartx.modify"), + $removeAllRanges: dartx.removeAllRanges = Symbol("dartx.removeAllRanges"), + $selectAllChildren: dartx.selectAllChildren = Symbol("dartx.selectAllChildren"), + $setBaseAndExtent: dartx.setBaseAndExtent = Symbol("dartx.setBaseAndExtent"), + $setPosition: dartx.setPosition = Symbol("dartx.setPosition"), + $scriptUrl: dartx.scriptUrl = Symbol("dartx.scriptUrl"), + $controller: dartx.controller = Symbol("dartx.controller"), + $getRegistration: dartx.getRegistration = Symbol("dartx.getRegistration"), + $getRegistrations: dartx.getRegistrations = Symbol("dartx.getRegistrations"), + $clients: dartx.clients = Symbol("dartx.clients"), + $registration: dartx.registration = Symbol("dartx.registration"), + $skipWaiting: dartx.skipWaiting = Symbol("dartx.skipWaiting"), + $onActivate: dartx.onActivate = Symbol("dartx.onActivate"), + $onFetch: dartx.onFetch = Symbol("dartx.onFetch"), + $onForeignfetch: dartx.onForeignfetch = Symbol("dartx.onForeignfetch"), + $onInstall: dartx.onInstall = Symbol("dartx.onInstall"), + $backgroundFetch: dartx.backgroundFetch = Symbol("dartx.backgroundFetch"), + $installing: dartx.installing = Symbol("dartx.installing"), + $navigationPreload: dartx.navigationPreload = Symbol("dartx.navigationPreload"), + $paymentManager: dartx.paymentManager = Symbol("dartx.paymentManager"), + $pushManager: dartx.pushManager = Symbol("dartx.pushManager"), + $sync: dartx.sync = Symbol("dartx.sync"), + $waiting: dartx.waiting = Symbol("dartx.waiting"), + $getNotifications: dartx.getNotifications = Symbol("dartx.getNotifications"), + $showNotification: dartx.showNotification = Symbol("dartx.showNotification"), + $unregister: dartx.unregister = Symbol("dartx.unregister"), + $delegatesFocus: dartx.delegatesFocus = Symbol("dartx.delegatesFocus"), + $olderShadowRoot: dartx.olderShadowRoot = Symbol("dartx.olderShadowRoot"), + $console: dartx.console = Symbol("dartx.console"), + $resetStyleInheritance: dartx.resetStyleInheritance = Symbol("dartx.resetStyleInheritance"), + $applyAuthorStyles: dartx.applyAuthorStyles = Symbol("dartx.applyAuthorStyles"), + $byteLength: dartx.byteLength = Symbol("dartx.byteLength"), + $onConnect: dartx.onConnect = Symbol("dartx.onConnect"), + _assignedNodes_1: dart.privateName(html$, "_assignedNodes_1"), + _assignedNodes_2: dart.privateName(html$, "_assignedNodes_2"), + $assignedNodes: dartx.assignedNodes = Symbol("dartx.assignedNodes"), + $appendWindowEnd: dartx.appendWindowEnd = Symbol("dartx.appendWindowEnd"), + $appendWindowStart: dartx.appendWindowStart = Symbol("dartx.appendWindowStart"), + $timestampOffset: dartx.timestampOffset = Symbol("dartx.timestampOffset"), + $trackDefaults: dartx.trackDefaults = Symbol("dartx.trackDefaults"), + $updating: dartx.updating = Symbol("dartx.updating"), + $appendBuffer: dartx.appendBuffer = Symbol("dartx.appendBuffer"), + $appendTypedData: dartx.appendTypedData = Symbol("dartx.appendTypedData"), + $addFromString: dartx.addFromString = Symbol("dartx.addFromString"), + $addFromUri: dartx.addFromUri = Symbol("dartx.addFromUri"), + $audioTrack: dartx.audioTrack = Symbol("dartx.audioTrack"), + $continuous: dartx.continuous = Symbol("dartx.continuous"), + $grammars: dartx.grammars = Symbol("dartx.grammars"), + $interimResults: dartx.interimResults = Symbol("dartx.interimResults"), + $maxAlternatives: dartx.maxAlternatives = Symbol("dartx.maxAlternatives"), + $onAudioEnd: dartx.onAudioEnd = Symbol("dartx.onAudioEnd"), + $onAudioStart: dartx.onAudioStart = Symbol("dartx.onAudioStart"), + $onEnd: dartx.onEnd = Symbol("dartx.onEnd"), + $onNoMatch: dartx.onNoMatch = Symbol("dartx.onNoMatch"), + $onResult: dartx.onResult = Symbol("dartx.onResult"), + $onSoundEnd: dartx.onSoundEnd = Symbol("dartx.onSoundEnd"), + $onSoundStart: dartx.onSoundStart = Symbol("dartx.onSoundStart"), + $onSpeechEnd: dartx.onSpeechEnd = Symbol("dartx.onSpeechEnd"), + $onSpeechStart: dartx.onSpeechStart = Symbol("dartx.onSpeechStart"), + $onStart: dartx.onStart = Symbol("dartx.onStart"), + $confidence: dartx.confidence = Symbol("dartx.confidence"), + $transcript: dartx.transcript = Symbol("dartx.transcript"), + $emma: dartx.emma = Symbol("dartx.emma"), + $interpretation: dartx.interpretation = Symbol("dartx.interpretation"), + $resultIndex: dartx.resultIndex = Symbol("dartx.resultIndex"), + $results: dartx.results = Symbol("dartx.results"), + $isFinal: dartx.isFinal = Symbol("dartx.isFinal"), + _getVoices: dart.privateName(html$, "_getVoices"), + $getVoices: dartx.getVoices = Symbol("dartx.getVoices"), + $pending: dartx.pending = Symbol("dartx.pending"), + $speaking: dartx.speaking = Symbol("dartx.speaking"), + $charIndex: dartx.charIndex = Symbol("dartx.charIndex"), + $utterance: dartx.utterance = Symbol("dartx.utterance"), + $pitch: dartx.pitch = Symbol("dartx.pitch"), + $rate: dartx.rate = Symbol("dartx.rate"), + $voice: dartx.voice = Symbol("dartx.voice"), + $onBoundary: dartx.onBoundary = Symbol("dartx.onBoundary"), + $onMark: dartx.onMark = Symbol("dartx.onMark"), + $onResume: dartx.onResume = Symbol("dartx.onResume"), + $localService: dartx.localService = Symbol("dartx.localService"), + $voiceUri: dartx.voiceUri = Symbol("dartx.voiceUri"), + _setItem: dart.privateName(html$, "_setItem"), + _removeItem: dart.privateName(html$, "_removeItem"), + _key: dart.privateName(html$, "_key"), + _length$3: dart.privateName(html$, "_length"), + _initStorageEvent: dart.privateName(html$, "_initStorageEvent"), + $storageArea: dartx.storageArea = Symbol("dartx.storageArea"), + $estimate: dartx.estimate = Symbol("dartx.estimate"), + $persist: dartx.persist = Symbol("dartx.persist"), + $matchMedium: dartx.matchMedium = Symbol("dartx.matchMedium"), + $getProperties: dartx.getProperties = Symbol("dartx.getProperties"), + $lastChance: dartx.lastChance = Symbol("dartx.lastChance"), + $getTags: dartx.getTags = Symbol("dartx.getTags"), + $cellIndex: dartx.cellIndex = Symbol("dartx.cellIndex"), + $headers: dartx.headers = Symbol("dartx.headers"), + $span: dartx.span = Symbol("dartx.span"), + _tBodies: dart.privateName(html$, "_tBodies"), + $tBodies: dartx.tBodies = Symbol("dartx.tBodies"), + _rows: dart.privateName(html$, "_rows"), + $rows: dartx.rows = Symbol("dartx.rows"), + $insertRow: dartx.insertRow = Symbol("dartx.insertRow"), + $addRow: dartx.addRow = Symbol("dartx.addRow"), + _createCaption: dart.privateName(html$, "_createCaption"), + $createCaption: dartx.createCaption = Symbol("dartx.createCaption"), + _createTBody: dart.privateName(html$, "_createTBody"), + $createTBody: dartx.createTBody = Symbol("dartx.createTBody"), + _createTFoot: dart.privateName(html$, "_createTFoot"), + $createTFoot: dartx.createTFoot = Symbol("dartx.createTFoot"), + _createTHead: dart.privateName(html$, "_createTHead"), + $createTHead: dartx.createTHead = Symbol("dartx.createTHead"), + _insertRow: dart.privateName(html$, "_insertRow"), + _nativeCreateTBody: dart.privateName(html$, "_nativeCreateTBody"), + $caption: dartx.caption = Symbol("dartx.caption"), + $tFoot: dartx.tFoot = Symbol("dartx.tFoot"), + $tHead: dartx.tHead = Symbol("dartx.tHead"), + $deleteCaption: dartx.deleteCaption = Symbol("dartx.deleteCaption"), + $deleteRow: dartx.deleteRow = Symbol("dartx.deleteRow"), + $deleteTFoot: dartx.deleteTFoot = Symbol("dartx.deleteTFoot"), + $deleteTHead: dartx.deleteTHead = Symbol("dartx.deleteTHead"), + _cells: dart.privateName(html$, "_cells"), + $cells: dartx.cells = Symbol("dartx.cells"), + $insertCell: dartx.insertCell = Symbol("dartx.insertCell"), + $addCell: dartx.addCell = Symbol("dartx.addCell"), + _insertCell: dart.privateName(html$, "_insertCell"), + $sectionRowIndex: dartx.sectionRowIndex = Symbol("dartx.sectionRowIndex"), + $deleteCell: dartx.deleteCell = Symbol("dartx.deleteCell"), + $containerId: dartx.containerId = Symbol("dartx.containerId"), + $containerName: dartx.containerName = Symbol("dartx.containerName"), + $containerSrc: dartx.containerSrc = Symbol("dartx.containerSrc"), + $containerType: dartx.containerType = Symbol("dartx.containerType"), + $cols: dartx.cols = Symbol("dartx.cols"), + $textLength: dartx.textLength = Symbol("dartx.textLength"), + $wrap: dartx.wrap = Symbol("dartx.wrap"), + _initTextEvent: dart.privateName(html$, "_initTextEvent"), + $actualBoundingBoxAscent: dartx.actualBoundingBoxAscent = Symbol("dartx.actualBoundingBoxAscent"), + $actualBoundingBoxDescent: dartx.actualBoundingBoxDescent = Symbol("dartx.actualBoundingBoxDescent"), + $actualBoundingBoxLeft: dartx.actualBoundingBoxLeft = Symbol("dartx.actualBoundingBoxLeft"), + $actualBoundingBoxRight: dartx.actualBoundingBoxRight = Symbol("dartx.actualBoundingBoxRight"), + $alphabeticBaseline: dartx.alphabeticBaseline = Symbol("dartx.alphabeticBaseline"), + $emHeightAscent: dartx.emHeightAscent = Symbol("dartx.emHeightAscent"), + $emHeightDescent: dartx.emHeightDescent = Symbol("dartx.emHeightDescent"), + $fontBoundingBoxAscent: dartx.fontBoundingBoxAscent = Symbol("dartx.fontBoundingBoxAscent"), + $fontBoundingBoxDescent: dartx.fontBoundingBoxDescent = Symbol("dartx.fontBoundingBoxDescent"), + $hangingBaseline: dartx.hangingBaseline = Symbol("dartx.hangingBaseline"), + $ideographicBaseline: dartx.ideographicBaseline = Symbol("dartx.ideographicBaseline"), + $activeCues: dartx.activeCues = Symbol("dartx.activeCues"), + $cues: dartx.cues = Symbol("dartx.cues"), + $addCue: dartx.addCue = Symbol("dartx.addCue"), + $removeCue: dartx.removeCue = Symbol("dartx.removeCue"), + $onCueChange: dartx.onCueChange = Symbol("dartx.onCueChange"), + $endTime: dartx.endTime = Symbol("dartx.endTime"), + $pauseOnExit: dartx.pauseOnExit = Symbol("dartx.pauseOnExit"), + $onEnter: dartx.onEnter = Symbol("dartx.onEnter"), + $onExit: dartx.onExit = Symbol("dartx.onExit"), + $getCueById: dartx.getCueById = Symbol("dartx.getCueById"), + $end: dartx.end = Symbol("dartx.end"), + $force: dartx.force = Symbol("dartx.force"), + $identifier: dartx.identifier = Symbol("dartx.identifier"), + _radiusX: dart.privateName(html$, "_radiusX"), + _radiusY: dart.privateName(html$, "_radiusY"), + $rotationAngle: dartx.rotationAngle = Symbol("dartx.rotationAngle"), + __clientX: dart.privateName(html$, "__clientX"), + __clientY: dart.privateName(html$, "__clientY"), + __screenX: dart.privateName(html$, "__screenX"), + __screenY: dart.privateName(html$, "__screenY"), + __pageX: dart.privateName(html$, "__pageX"), + __pageY: dart.privateName(html$, "__pageY"), + __radiusX: dart.privateName(html$, "__radiusX"), + __radiusY: dart.privateName(html$, "__radiusY"), + $radiusX: dartx.radiusX = Symbol("dartx.radiusX"), + $radiusY: dartx.radiusY = Symbol("dartx.radiusY"), + $changedTouches: dartx.changedTouches = Symbol("dartx.changedTouches") +}; +var S$3 = { + $targetTouches: dartx.targetTouches = Symbol("dartx.targetTouches"), + $touches: dartx.touches = Symbol("dartx.touches"), + $byteStreamTrackID: dartx.byteStreamTrackID = Symbol("dartx.byteStreamTrackID"), + $kinds: dartx.kinds = Symbol("dartx.kinds"), + $srclang: dartx.srclang = Symbol("dartx.srclang"), + $propertyName: dartx.propertyName = Symbol("dartx.propertyName"), + $pseudoElement: dartx.pseudoElement = Symbol("dartx.pseudoElement"), + $currentNode: dartx.currentNode = Symbol("dartx.currentNode"), + $notifyLockAcquired: dartx.notifyLockAcquired = Symbol("dartx.notifyLockAcquired"), + $notifyLockReleased: dartx.notifyLockReleased = Symbol("dartx.notifyLockReleased"), + $pull: dartx.pull = Symbol("dartx.pull"), + $searchParams: dartx.searchParams = Symbol("dartx.searchParams"), + $getDevices: dartx.getDevices = Symbol("dartx.getDevices"), + $getTransformTo: dartx.getTransformTo = Symbol("dartx.getTransformTo"), + $deviceName: dartx.deviceName = Symbol("dartx.deviceName"), + $isExternal: dartx.isExternal = Symbol("dartx.isExternal"), + $requestSession: dartx.requestSession = Symbol("dartx.requestSession"), + $supportsSession: dartx.supportsSession = Symbol("dartx.supportsSession"), + $device: dartx.device = Symbol("dartx.device"), + $capabilities: dartx.capabilities = Symbol("dartx.capabilities"), + $depthFar: dartx.depthFar = Symbol("dartx.depthFar"), + $depthNear: dartx.depthNear = Symbol("dartx.depthNear"), + $displayName: dartx.displayName = Symbol("dartx.displayName"), + $isPresenting: dartx.isPresenting = Symbol("dartx.isPresenting"), + $stageParameters: dartx.stageParameters = Symbol("dartx.stageParameters"), + $cancelAnimationFrame: dartx.cancelAnimationFrame = Symbol("dartx.cancelAnimationFrame"), + $exitPresent: dartx.exitPresent = Symbol("dartx.exitPresent"), + $getEyeParameters: dartx.getEyeParameters = Symbol("dartx.getEyeParameters"), + $getFrameData: dartx.getFrameData = Symbol("dartx.getFrameData"), + $getLayers: dartx.getLayers = Symbol("dartx.getLayers"), + $requestAnimationFrame: dartx.requestAnimationFrame = Symbol("dartx.requestAnimationFrame"), + $requestPresent: dartx.requestPresent = Symbol("dartx.requestPresent"), + $submitFrame: dartx.submitFrame = Symbol("dartx.submitFrame"), + $canPresent: dartx.canPresent = Symbol("dartx.canPresent"), + $hasExternalDisplay: dartx.hasExternalDisplay = Symbol("dartx.hasExternalDisplay"), + $maxLayers: dartx.maxLayers = Symbol("dartx.maxLayers"), + $renderHeight: dartx.renderHeight = Symbol("dartx.renderHeight"), + $renderWidth: dartx.renderWidth = Symbol("dartx.renderWidth"), + $leftProjectionMatrix: dartx.leftProjectionMatrix = Symbol("dartx.leftProjectionMatrix"), + $leftViewMatrix: dartx.leftViewMatrix = Symbol("dartx.leftViewMatrix"), + $rightProjectionMatrix: dartx.rightProjectionMatrix = Symbol("dartx.rightProjectionMatrix"), + $rightViewMatrix: dartx.rightViewMatrix = Symbol("dartx.rightViewMatrix"), + $bounds: dartx.bounds = Symbol("dartx.bounds"), + $emulatedHeight: dartx.emulatedHeight = Symbol("dartx.emulatedHeight"), + $exclusive: dartx.exclusive = Symbol("dartx.exclusive"), + $requestFrameOfReference: dartx.requestFrameOfReference = Symbol("dartx.requestFrameOfReference"), + $session: dartx.session = Symbol("dartx.session"), + $geometry: dartx.geometry = Symbol("dartx.geometry"), + $sittingToStandingTransform: dartx.sittingToStandingTransform = Symbol("dartx.sittingToStandingTransform"), + $sizeX: dartx.sizeX = Symbol("dartx.sizeX"), + $sizeZ: dartx.sizeZ = Symbol("dartx.sizeZ"), + $badInput: dartx.badInput = Symbol("dartx.badInput"), + $customError: dartx.customError = Symbol("dartx.customError"), + $patternMismatch: dartx.patternMismatch = Symbol("dartx.patternMismatch"), + $rangeOverflow: dartx.rangeOverflow = Symbol("dartx.rangeOverflow"), + $rangeUnderflow: dartx.rangeUnderflow = Symbol("dartx.rangeUnderflow"), + $stepMismatch: dartx.stepMismatch = Symbol("dartx.stepMismatch"), + $tooLong: dartx.tooLong = Symbol("dartx.tooLong"), + $tooShort: dartx.tooShort = Symbol("dartx.tooShort"), + $typeMismatch: dartx.typeMismatch = Symbol("dartx.typeMismatch"), + $valid: dartx.valid = Symbol("dartx.valid"), + $valueMissing: dartx.valueMissing = Symbol("dartx.valueMissing"), + $poster: dartx.poster = Symbol("dartx.poster"), + $videoHeight: dartx.videoHeight = Symbol("dartx.videoHeight"), + $videoWidth: dartx.videoWidth = Symbol("dartx.videoWidth"), + $decodedFrameCount: dartx.decodedFrameCount = Symbol("dartx.decodedFrameCount"), + $droppedFrameCount: dartx.droppedFrameCount = Symbol("dartx.droppedFrameCount"), + $getVideoPlaybackQuality: dartx.getVideoPlaybackQuality = Symbol("dartx.getVideoPlaybackQuality"), + $enterFullscreen: dartx.enterFullscreen = Symbol("dartx.enterFullscreen"), + $corruptedVideoFrames: dartx.corruptedVideoFrames = Symbol("dartx.corruptedVideoFrames"), + $creationTime: dartx.creationTime = Symbol("dartx.creationTime"), + $droppedVideoFrames: dartx.droppedVideoFrames = Symbol("dartx.droppedVideoFrames"), + $totalVideoFrames: dartx.totalVideoFrames = Symbol("dartx.totalVideoFrames"), + $sourceBuffer: dartx.sourceBuffer = Symbol("dartx.sourceBuffer"), + $pageLeft: dartx.pageLeft = Symbol("dartx.pageLeft"), + $pageTop: dartx.pageTop = Symbol("dartx.pageTop"), + $align: dartx.align = Symbol("dartx.align"), + $line: dartx.line = Symbol("dartx.line"), + $snapToLines: dartx.snapToLines = Symbol("dartx.snapToLines"), + $vertical: dartx.vertical = Symbol("dartx.vertical"), + $getCueAsHtml: dartx.getCueAsHtml = Symbol("dartx.getCueAsHtml"), + $lines: dartx.lines = Symbol("dartx.lines"), + $regionAnchorX: dartx.regionAnchorX = Symbol("dartx.regionAnchorX"), + $regionAnchorY: dartx.regionAnchorY = Symbol("dartx.regionAnchorY"), + $viewportAnchorX: dartx.viewportAnchorX = Symbol("dartx.viewportAnchorX"), + $viewportAnchorY: dartx.viewportAnchorY = Symbol("dartx.viewportAnchorY"), + $extensions: dartx.extensions = Symbol("dartx.extensions"), + _deltaX: dart.privateName(html$, "_deltaX"), + _deltaY: dart.privateName(html$, "_deltaY"), + $deltaZ: dartx.deltaZ = Symbol("dartx.deltaZ"), + $deltaMode: dartx.deltaMode = Symbol("dartx.deltaMode"), + _wheelDelta: dart.privateName(html$, "_wheelDelta"), + _wheelDeltaX: dart.privateName(html$, "_wheelDeltaX"), + _hasInitMouseScrollEvent: dart.privateName(html$, "_hasInitMouseScrollEvent"), + _initMouseScrollEvent: dart.privateName(html$, "_initMouseScrollEvent"), + _hasInitWheelEvent: dart.privateName(html$, "_hasInitWheelEvent"), + _initWheelEvent: dart.privateName(html$, "_initWheelEvent"), + $animationFrame: dartx.animationFrame = Symbol("dartx.animationFrame"), + $document: dartx.document = Symbol("dartx.document"), + _open2: dart.privateName(html$, "_open2"), + _open3: dart.privateName(html$, "_open3"), + _location: dart.privateName(html$, "_location"), + _ensureRequestAnimationFrame: dart.privateName(html$, "_ensureRequestAnimationFrame"), + _requestAnimationFrame: dart.privateName(html$, "_requestAnimationFrame"), + _cancelAnimationFrame: dart.privateName(html$, "_cancelAnimationFrame"), + _requestFileSystem: dart.privateName(html$, "_requestFileSystem"), + $requestFileSystem: dartx.requestFileSystem = Symbol("dartx.requestFileSystem"), + $animationWorklet: dartx.animationWorklet = Symbol("dartx.animationWorklet"), + $applicationCache: dartx.applicationCache = Symbol("dartx.applicationCache"), + $audioWorklet: dartx.audioWorklet = Symbol("dartx.audioWorklet"), + $cookieStore: dartx.cookieStore = Symbol("dartx.cookieStore"), + $customElements: dartx.customElements = Symbol("dartx.customElements"), + $defaultStatus: dartx.defaultStatus = Symbol("dartx.defaultStatus"), + $defaultstatus: dartx.defaultstatus = Symbol("dartx.defaultstatus"), + $external: dartx.external = Symbol("dartx.external"), + $history: dartx.history = Symbol("dartx.history"), + $innerHeight: dartx.innerHeight = Symbol("dartx.innerHeight"), + $innerWidth: dartx.innerWidth = Symbol("dartx.innerWidth"), + $localStorage: dartx.localStorage = Symbol("dartx.localStorage"), + $locationbar: dartx.locationbar = Symbol("dartx.locationbar"), + $menubar: dartx.menubar = Symbol("dartx.menubar"), + $offscreenBuffering: dartx.offscreenBuffering = Symbol("dartx.offscreenBuffering"), + _get_opener: dart.privateName(html$, "_get_opener"), + $opener: dartx.opener = Symbol("dartx.opener"), + $outerHeight: dartx.outerHeight = Symbol("dartx.outerHeight"), + $outerWidth: dartx.outerWidth = Symbol("dartx.outerWidth"), + _pageXOffset: dart.privateName(html$, "_pageXOffset"), + _pageYOffset: dart.privateName(html$, "_pageYOffset"), + _get_parent: dart.privateName(html$, "_get_parent"), + $screenLeft: dartx.screenLeft = Symbol("dartx.screenLeft"), + $screenTop: dartx.screenTop = Symbol("dartx.screenTop"), + $screenX: dartx.screenX = Symbol("dartx.screenX"), + $screenY: dartx.screenY = Symbol("dartx.screenY"), + $scrollbars: dartx.scrollbars = Symbol("dartx.scrollbars"), + _get_self: dart.privateName(html$, "_get_self"), + $sessionStorage: dartx.sessionStorage = Symbol("dartx.sessionStorage"), + $speechSynthesis: dartx.speechSynthesis = Symbol("dartx.speechSynthesis"), + $statusbar: dartx.statusbar = Symbol("dartx.statusbar"), + $styleMedia: dartx.styleMedia = Symbol("dartx.styleMedia"), + $toolbar: dartx.toolbar = Symbol("dartx.toolbar"), + _get_top: dart.privateName(html$, "_get_top"), + $visualViewport: dartx.visualViewport = Symbol("dartx.visualViewport"), + __getter___1: dart.privateName(html$, "__getter___1"), + __getter___2: dart.privateName(html$, "__getter___2"), + $alert: dartx.alert = Symbol("dartx.alert"), + $cancelIdleCallback: dartx.cancelIdleCallback = Symbol("dartx.cancelIdleCallback"), + $confirm: dartx.confirm = Symbol("dartx.confirm"), + $find: dartx.find = Symbol("dartx.find"), + $getComputedStyleMap: dartx.getComputedStyleMap = Symbol("dartx.getComputedStyleMap"), + $getMatchedCssRules: dartx.getMatchedCssRules = Symbol("dartx.getMatchedCssRules"), + $matchMedia: dartx.matchMedia = Symbol("dartx.matchMedia"), + $moveBy: dartx.moveBy = Symbol("dartx.moveBy"), + _openDatabase: dart.privateName(html$, "_openDatabase"), + $print: dartx.print = Symbol("dartx.print"), + _requestIdleCallback_1: dart.privateName(html$, "_requestIdleCallback_1"), + _requestIdleCallback_2: dart.privateName(html$, "_requestIdleCallback_2"), + $requestIdleCallback: dartx.requestIdleCallback = Symbol("dartx.requestIdleCallback"), + $resizeBy: dartx.resizeBy = Symbol("dartx.resizeBy"), + $resizeTo: dartx.resizeTo = Symbol("dartx.resizeTo"), + _scroll_4: dart.privateName(html$, "_scroll_4"), + _scroll_5: dart.privateName(html$, "_scroll_5"), + _scrollBy_4: dart.privateName(html$, "_scrollBy_4"), + _scrollBy_5: dart.privateName(html$, "_scrollBy_5"), + _scrollTo_4: dart.privateName(html$, "_scrollTo_4"), + _scrollTo_5: dart.privateName(html$, "_scrollTo_5"), + __requestFileSystem: dart.privateName(html$, "__requestFileSystem"), + _resolveLocalFileSystemUrl: dart.privateName(html$, "_resolveLocalFileSystemUrl"), + $resolveLocalFileSystemUrl: dartx.resolveLocalFileSystemUrl = Symbol("dartx.resolveLocalFileSystemUrl"), + $onContentLoaded: dartx.onContentLoaded = Symbol("dartx.onContentLoaded"), + $onDeviceMotion: dartx.onDeviceMotion = Symbol("dartx.onDeviceMotion"), + $onDeviceOrientation: dartx.onDeviceOrientation = Symbol("dartx.onDeviceOrientation"), + $onPageHide: dartx.onPageHide = Symbol("dartx.onPageHide"), + $onPageShow: dartx.onPageShow = Symbol("dartx.onPageShow"), + $onAnimationEnd: dartx.onAnimationEnd = Symbol("dartx.onAnimationEnd"), + $onAnimationIteration: dartx.onAnimationIteration = Symbol("dartx.onAnimationIteration"), + $onAnimationStart: dartx.onAnimationStart = Symbol("dartx.onAnimationStart"), + $onBeforeUnload: dartx.onBeforeUnload = Symbol("dartx.onBeforeUnload"), + $openDatabase: dartx.openDatabase = Symbol("dartx.openDatabase"), + $pageXOffset: dartx.pageXOffset = Symbol("dartx.pageXOffset"), + $pageYOffset: dartx.pageYOffset = Symbol("dartx.pageYOffset"), + $scrollX: dartx.scrollX = Symbol("dartx.scrollX"), + $scrollY: dartx.scrollY = Symbol("dartx.scrollY"), + _BeforeUnloadEventStreamProvider__eventType: dart.privateName(html$, "_BeforeUnloadEventStreamProvider._eventType"), + _returnValue: dart.privateName(html$, "_returnValue"), + wrapped: dart.privateName(html$, "_WrappedEvent.wrapped"), + _eventType: dart.privateName(html$, "_BeforeUnloadEventStreamProvider._eventType"), + _eventType$1: dart.privateName(html$, "_eventType"), + $focused: dartx.focused = Symbol("dartx.focused"), + $navigate: dartx.navigate = Symbol("dartx.navigate"), + $createExpression: dartx.createExpression = Symbol("dartx.createExpression"), + $createNSResolver: dartx.createNSResolver = Symbol("dartx.createNSResolver"), + $evaluate: dartx.evaluate = Symbol("dartx.evaluate"), + $lookupNamespaceUri: dartx.lookupNamespaceUri = Symbol("dartx.lookupNamespaceUri"), + $booleanValue: dartx.booleanValue = Symbol("dartx.booleanValue"), + $invalidIteratorState: dartx.invalidIteratorState = Symbol("dartx.invalidIteratorState"), + $numberValue: dartx.numberValue = Symbol("dartx.numberValue"), + $resultType: dartx.resultType = Symbol("dartx.resultType"), + $singleNodeValue: dartx.singleNodeValue = Symbol("dartx.singleNodeValue"), + $snapshotLength: dartx.snapshotLength = Symbol("dartx.snapshotLength"), + $stringValue: dartx.stringValue = Symbol("dartx.stringValue"), + $iterateNext: dartx.iterateNext = Symbol("dartx.iterateNext"), + $snapshotItem: dartx.snapshotItem = Symbol("dartx.snapshotItem"), + $serializeToString: dartx.serializeToString = Symbol("dartx.serializeToString"), + $clearParameters: dartx.clearParameters = Symbol("dartx.clearParameters"), + $getParameter: dartx.getParameter = Symbol("dartx.getParameter"), + $importStylesheet: dartx.importStylesheet = Symbol("dartx.importStylesheet"), + $removeParameter: dartx.removeParameter = Symbol("dartx.removeParameter"), + $setParameter: dartx.setParameter = Symbol("dartx.setParameter"), + $transformToDocument: dartx.transformToDocument = Symbol("dartx.transformToDocument"), + $transformToFragment: dartx.transformToFragment = Symbol("dartx.transformToFragment"), + $getBudget: dartx.getBudget = Symbol("dartx.getBudget"), + $getCost: dartx.getCost = Symbol("dartx.getCost"), + $reserve: dartx.reserve = Symbol("dartx.reserve"), + $read: dartx.read = Symbol("dartx.read"), + $readText: dartx.readText = Symbol("dartx.readText"), + $writeText: dartx.writeText = Symbol("dartx.writeText"), + $getNamedItem: dartx.getNamedItem = Symbol("dartx.getNamedItem"), + $getNamedItemNS: dartx.getNamedItemNS = Symbol("dartx.getNamedItemNS"), + $removeNamedItem: dartx.removeNamedItem = Symbol("dartx.removeNamedItem"), + $removeNamedItemNS: dartx.removeNamedItemNS = Symbol("dartx.removeNamedItemNS"), + $setNamedItem: dartx.setNamedItem = Symbol("dartx.setNamedItem"), + $setNamedItemNS: dartx.setNamedItemNS = Symbol("dartx.setNamedItemNS"), + $cache: dartx.cache = Symbol("dartx.cache"), + $redirect: dartx.redirect = Symbol("dartx.redirect"), + _matches: dart.privateName(html$, "_matches"), + _namespace: dart.privateName(html$, "_namespace"), + _attr: dart.privateName(html$, "_attr"), + _strip: dart.privateName(html$, "_strip"), + _toHyphenedName: dart.privateName(html$, "_toHyphenedName"), + _toCamelCase: dart.privateName(html$, "_toCamelCase"), + _addOrSubtractToBoxModel: dart.privateName(html$, "_addOrSubtractToBoxModel"), + _elementList: dart.privateName(html$, "_elementList"), + _sets: dart.privateName(html$, "_sets"), + _validateToken: dart.privateName(html_common, "_validateToken"), + _unit: dart.privateName(html$, "_unit"), + _eventType$2: dart.privateName(html$, "EventStreamProvider._eventType"), + _target$2: dart.privateName(html$, "_target"), + _useCapture: dart.privateName(html$, "_useCapture"), + _targetList: dart.privateName(html$, "_targetList"), + _pauseCount$1: dart.privateName(html$, "_pauseCount"), + _onData$3: dart.privateName(html$, "_onData"), + _tryResume: dart.privateName(html$, "_tryResume"), + _canceled: dart.privateName(html$, "_canceled"), + _unlisten: dart.privateName(html$, "_unlisten"), + _type$5: dart.privateName(html$, "_type"), + _streamController: dart.privateName(html$, "_streamController"), + _parent$2: dart.privateName(html$, "_parent"), + _currentTarget: dart.privateName(html$, "_currentTarget"), + _shadowAltKey: dart.privateName(html$, "_shadowAltKey"), + _shadowCharCode: dart.privateName(html$, "_shadowCharCode"), + _shadowKeyCode: dart.privateName(html$, "_shadowKeyCode"), + _realAltKey: dart.privateName(html$, "_realAltKey"), + _realCharCode: dart.privateName(html$, "_realCharCode"), + _realKeyCode: dart.privateName(html$, "_realKeyCode"), + _shadowKeyIdentifier: dart.privateName(html$, "_shadowKeyIdentifier"), + _keyIdentifier: dart.privateName(html$, "_keyIdentifier"), + _controller$2: dart.privateName(html$, "_controller"), + _subscriptions: dart.privateName(html$, "_subscriptions"), + _eventTypeGetter: dart.privateName(html$, "_CustomEventStreamProvider._eventTypeGetter"), + _eventTypeGetter$1: dart.privateName(html$, "_eventTypeGetter"), + _keyDownList: dart.privateName(html$, "_keyDownList"), + _stream$3: dart.privateName(html$, "_stream"), + _capsLockOn: dart.privateName(html$, "_capsLockOn"), + _determineKeyCodeForKeypress: dart.privateName(html$, "_determineKeyCodeForKeypress"), + _findCharCodeKeyDown: dart.privateName(html$, "_findCharCodeKeyDown"), + _firesKeyPressEvent: dart.privateName(html$, "_firesKeyPressEvent"), + _normalizeKeyCodes: dart.privateName(html$, "_normalizeKeyCodes"), + _validators: dart.privateName(html$, "_validators"), + _templateAttrs: dart.privateName(html$, "_templateAttrs"), + _list$19: dart.privateName(html$, "_list"), + _iterator$3: dart.privateName(html$, "_iterator"), + _current$4: dart.privateName(html$, "_current"), + _array: dart.privateName(html$, "_array"), + _isConsoleDefined: dart.privateName(html$, "_isConsoleDefined"), + _interceptor: dart.privateName(html$, "_interceptor"), + _constructor: dart.privateName(html$, "_constructor"), + _nativeType: dart.privateName(html$, "_nativeType"), + _window: dart.privateName(html$, "_window"), + _history: dart.privateName(html$, "_history"), + _hiddenAnchor: dart.privateName(html$, "_hiddenAnchor"), + _loc: dart.privateName(html$, "_loc"), + _removeNode: dart.privateName(html$, "_removeNode"), + _sanitizeElement: dart.privateName(html$, "_sanitizeElement"), + _sanitizeUntrustedElement: dart.privateName(html$, "_sanitizeUntrustedElement"), + alpha: dart.privateName(html_common, "ContextAttributes.alpha"), + antialias: dart.privateName(html_common, "ContextAttributes.antialias"), + depth: dart.privateName(html_common, "ContextAttributes.depth"), + premultipliedAlpha: dart.privateName(html_common, "ContextAttributes.premultipliedAlpha"), + preserveDrawingBuffer: dart.privateName(html_common, "ContextAttributes.preserveDrawingBuffer"), + stencil: dart.privateName(html_common, "ContextAttributes.stencil"), + failIfMajorPerformanceCaveat: dart.privateName(html_common, "ContextAttributes.failIfMajorPerformanceCaveat"), + data$1: dart.privateName(html_common, "_TypedImageData.data"), + height$1: dart.privateName(html_common, "_TypedImageData.height"), + width$1: dart.privateName(html_common, "_TypedImageData.width"), + _childNodes: dart.privateName(html_common, "_childNodes"), + _node: dart.privateName(html_common, "_node"), + _iterable$2: dart.privateName(html_common, "_iterable"), + _filtered: dart.privateName(html_common, "_filtered"), + $farthestViewportElement: dartx.farthestViewportElement = Symbol("dartx.farthestViewportElement"), + $nearestViewportElement: dartx.nearestViewportElement = Symbol("dartx.nearestViewportElement"), + $getBBox: dartx.getBBox = Symbol("dartx.getBBox"), + $getCtm: dartx.getCtm = Symbol("dartx.getCtm"), + $getScreenCtm: dartx.getScreenCtm = Symbol("dartx.getScreenCtm"), + $requiredExtensions: dartx.requiredExtensions = Symbol("dartx.requiredExtensions"), + $systemLanguage: dartx.systemLanguage = Symbol("dartx.systemLanguage"), + _children$1: dart.privateName(svg$, "_children"), + _svgClassName: dart.privateName(svg$, "_svgClassName"), + $ownerSvgElement: dartx.ownerSvgElement = Symbol("dartx.ownerSvgElement"), + $viewportElement: dartx.viewportElement = Symbol("dartx.viewportElement"), + $unitType: dartx.unitType = Symbol("dartx.unitType"), + $valueAsString: dartx.valueAsString = Symbol("dartx.valueAsString"), + $valueInSpecifiedUnits: dartx.valueInSpecifiedUnits = Symbol("dartx.valueInSpecifiedUnits"), + $convertToSpecifiedUnits: dartx.convertToSpecifiedUnits = Symbol("dartx.convertToSpecifiedUnits"), + $newValueSpecifiedUnits: dartx.newValueSpecifiedUnits = Symbol("dartx.newValueSpecifiedUnits"), + $targetElement: dartx.targetElement = Symbol("dartx.targetElement"), + $beginElement: dartx.beginElement = Symbol("dartx.beginElement"), + $beginElementAt: dartx.beginElementAt = Symbol("dartx.beginElementAt"), + $endElement: dartx.endElement = Symbol("dartx.endElement"), + $endElementAt: dartx.endElementAt = Symbol("dartx.endElementAt"), + $getCurrentTime: dartx.getCurrentTime = Symbol("dartx.getCurrentTime"), + $getSimpleDuration: dartx.getSimpleDuration = Symbol("dartx.getSimpleDuration"), + $getStartTime: dartx.getStartTime = Symbol("dartx.getStartTime"), + $animVal: dartx.animVal = Symbol("dartx.animVal"), + $baseVal: dartx.baseVal = Symbol("dartx.baseVal"), + $cx: dartx.cx = Symbol("dartx.cx"), + $cy: dartx.cy = Symbol("dartx.cy"), + $r: dartx.r = Symbol("dartx.r"), + $pathLength: dartx.pathLength = Symbol("dartx.pathLength"), + $getPointAtLength: dartx.getPointAtLength = Symbol("dartx.getPointAtLength"), + $getTotalLength: dartx.getTotalLength = Symbol("dartx.getTotalLength"), + $isPointInFill: dartx.isPointInFill = Symbol("dartx.isPointInFill"), + $clipPathUnits: dartx.clipPathUnits = Symbol("dartx.clipPathUnits"), + $rx: dartx.rx = Symbol("dartx.rx"), + $ry: dartx.ry = Symbol("dartx.ry"), + $in1: dartx.in1 = Symbol("dartx.in1"), + $in2: dartx.in2 = Symbol("dartx.in2"), + $k1: dartx.k1 = Symbol("dartx.k1"), + $k2: dartx.k2 = Symbol("dartx.k2"), + $k3: dartx.k3 = Symbol("dartx.k3"), + $k4: dartx.k4 = Symbol("dartx.k4"), + $operator: dartx.operator = Symbol("dartx.operator"), + $bias: dartx.bias = Symbol("dartx.bias"), + $divisor: dartx.divisor = Symbol("dartx.divisor"), + $edgeMode: dartx.edgeMode = Symbol("dartx.edgeMode"), + $kernelMatrix: dartx.kernelMatrix = Symbol("dartx.kernelMatrix"), + $kernelUnitLengthX: dartx.kernelUnitLengthX = Symbol("dartx.kernelUnitLengthX"), + $kernelUnitLengthY: dartx.kernelUnitLengthY = Symbol("dartx.kernelUnitLengthY"), + $orderX: dartx.orderX = Symbol("dartx.orderX"), + $orderY: dartx.orderY = Symbol("dartx.orderY"), + $preserveAlpha: dartx.preserveAlpha = Symbol("dartx.preserveAlpha"), + $targetX: dartx.targetX = Symbol("dartx.targetX"), + $targetY: dartx.targetY = Symbol("dartx.targetY"), + $diffuseConstant: dartx.diffuseConstant = Symbol("dartx.diffuseConstant"), + $surfaceScale: dartx.surfaceScale = Symbol("dartx.surfaceScale"), + $xChannelSelector: dartx.xChannelSelector = Symbol("dartx.xChannelSelector"), + $yChannelSelector: dartx.yChannelSelector = Symbol("dartx.yChannelSelector"), + $azimuth: dartx.azimuth = Symbol("dartx.azimuth"), + $elevation: dartx.elevation = Symbol("dartx.elevation"), + $stdDeviationX: dartx.stdDeviationX = Symbol("dartx.stdDeviationX"), + $stdDeviationY: dartx.stdDeviationY = Symbol("dartx.stdDeviationY"), + $setStdDeviation: dartx.setStdDeviation = Symbol("dartx.setStdDeviation"), + $preserveAspectRatio: dartx.preserveAspectRatio = Symbol("dartx.preserveAspectRatio"), + $dx: dartx.dx = Symbol("dartx.dx"), + $dy: dartx.dy = Symbol("dartx.dy"), + $specularConstant: dartx.specularConstant = Symbol("dartx.specularConstant"), + $specularExponent: dartx.specularExponent = Symbol("dartx.specularExponent"), + $limitingConeAngle: dartx.limitingConeAngle = Symbol("dartx.limitingConeAngle"), + $pointsAtX: dartx.pointsAtX = Symbol("dartx.pointsAtX"), + $pointsAtY: dartx.pointsAtY = Symbol("dartx.pointsAtY"), + $pointsAtZ: dartx.pointsAtZ = Symbol("dartx.pointsAtZ"), + $baseFrequencyX: dartx.baseFrequencyX = Symbol("dartx.baseFrequencyX"), + $baseFrequencyY: dartx.baseFrequencyY = Symbol("dartx.baseFrequencyY"), + $numOctaves: dartx.numOctaves = Symbol("dartx.numOctaves"), + $seed: dartx.seed = Symbol("dartx.seed"), + $stitchTiles: dartx.stitchTiles = Symbol("dartx.stitchTiles"), + $filterUnits: dartx.filterUnits = Symbol("dartx.filterUnits"), + $primitiveUnits: dartx.primitiveUnits = Symbol("dartx.primitiveUnits"), + $viewBox: dartx.viewBox = Symbol("dartx.viewBox"), + $numberOfItems: dartx.numberOfItems = Symbol("dartx.numberOfItems"), + __setter__$1: dart.privateName(svg$, "__setter__"), + $appendItem: dartx.appendItem = Symbol("dartx.appendItem"), + $getItem: dartx.getItem = Symbol("dartx.getItem"), + $initialize: dartx.initialize = Symbol("dartx.initialize"), + $insertItemBefore: dartx.insertItemBefore = Symbol("dartx.insertItemBefore"), + $removeItem: dartx.removeItem = Symbol("dartx.removeItem"), + $replaceItem: dartx.replaceItem = Symbol("dartx.replaceItem"), + $x1: dartx.x1 = Symbol("dartx.x1"), + $x2: dartx.x2 = Symbol("dartx.x2"), + $y1: dartx.y1 = Symbol("dartx.y1"), + $y2: dartx.y2 = Symbol("dartx.y2"), + $gradientTransform: dartx.gradientTransform = Symbol("dartx.gradientTransform"), + $gradientUnits: dartx.gradientUnits = Symbol("dartx.gradientUnits"), + $spreadMethod: dartx.spreadMethod = Symbol("dartx.spreadMethod"), + $markerHeight: dartx.markerHeight = Symbol("dartx.markerHeight"), + $markerUnits: dartx.markerUnits = Symbol("dartx.markerUnits"), + $markerWidth: dartx.markerWidth = Symbol("dartx.markerWidth"), + $orientAngle: dartx.orientAngle = Symbol("dartx.orientAngle"), + $orientType: dartx.orientType = Symbol("dartx.orientType"), + $refX: dartx.refX = Symbol("dartx.refX"), + $refY: dartx.refY = Symbol("dartx.refY"), + $setOrientToAngle: dartx.setOrientToAngle = Symbol("dartx.setOrientToAngle"), + $setOrientToAuto: dartx.setOrientToAuto = Symbol("dartx.setOrientToAuto"), + $maskContentUnits: dartx.maskContentUnits = Symbol("dartx.maskContentUnits"), + $maskUnits: dartx.maskUnits = Symbol("dartx.maskUnits"), + $scaleNonUniform: dartx.scaleNonUniform = Symbol("dartx.scaleNonUniform"), + $patternContentUnits: dartx.patternContentUnits = Symbol("dartx.patternContentUnits"), + $patternTransform: dartx.patternTransform = Symbol("dartx.patternTransform"), + $patternUnits: dartx.patternUnits = Symbol("dartx.patternUnits"), + $animatedPoints: dartx.animatedPoints = Symbol("dartx.animatedPoints"), + $points: dartx.points = Symbol("dartx.points"), + $meetOrSlice: dartx.meetOrSlice = Symbol("dartx.meetOrSlice"), + $fr: dartx.fr = Symbol("dartx.fr"), + $fx: dartx.fx = Symbol("dartx.fx"), + $fy: dartx.fy = Symbol("dartx.fy"), + $gradientOffset: dartx.gradientOffset = Symbol("dartx.gradientOffset"), + _element$3: dart.privateName(svg$, "_element"), + $currentScale: dartx.currentScale = Symbol("dartx.currentScale"), + $currentTranslate: dartx.currentTranslate = Symbol("dartx.currentTranslate"), + $animationsPaused: dartx.animationsPaused = Symbol("dartx.animationsPaused"), + $checkEnclosure: dartx.checkEnclosure = Symbol("dartx.checkEnclosure"), + $checkIntersection: dartx.checkIntersection = Symbol("dartx.checkIntersection"), + $createSvgAngle: dartx.createSvgAngle = Symbol("dartx.createSvgAngle"), + $createSvgLength: dartx.createSvgLength = Symbol("dartx.createSvgLength"), + $createSvgMatrix: dartx.createSvgMatrix = Symbol("dartx.createSvgMatrix"), + $createSvgNumber: dartx.createSvgNumber = Symbol("dartx.createSvgNumber"), + $createSvgPoint: dartx.createSvgPoint = Symbol("dartx.createSvgPoint"), + $createSvgRect: dartx.createSvgRect = Symbol("dartx.createSvgRect"), + $createSvgTransform: dartx.createSvgTransform = Symbol("dartx.createSvgTransform"), + $createSvgTransformFromMatrix: dartx.createSvgTransformFromMatrix = Symbol("dartx.createSvgTransformFromMatrix"), + $deselectAll: dartx.deselectAll = Symbol("dartx.deselectAll"), + $forceRedraw: dartx.forceRedraw = Symbol("dartx.forceRedraw"), + $getEnclosureList: dartx.getEnclosureList = Symbol("dartx.getEnclosureList"), + $getIntersectionList: dartx.getIntersectionList = Symbol("dartx.getIntersectionList"), + $pauseAnimations: dartx.pauseAnimations = Symbol("dartx.pauseAnimations"), + $setCurrentTime: dartx.setCurrentTime = Symbol("dartx.setCurrentTime"), + $suspendRedraw: dartx.suspendRedraw = Symbol("dartx.suspendRedraw"), + $unpauseAnimations: dartx.unpauseAnimations = Symbol("dartx.unpauseAnimations"), + $unsuspendRedraw: dartx.unsuspendRedraw = Symbol("dartx.unsuspendRedraw"), + $unsuspendRedrawAll: dartx.unsuspendRedrawAll = Symbol("dartx.unsuspendRedrawAll"), + $zoomAndPan: dartx.zoomAndPan = Symbol("dartx.zoomAndPan"), + $lengthAdjust: dartx.lengthAdjust = Symbol("dartx.lengthAdjust"), + $getCharNumAtPosition: dartx.getCharNumAtPosition = Symbol("dartx.getCharNumAtPosition"), + $getComputedTextLength: dartx.getComputedTextLength = Symbol("dartx.getComputedTextLength"), + $getEndPositionOfChar: dartx.getEndPositionOfChar = Symbol("dartx.getEndPositionOfChar"), + $getExtentOfChar: dartx.getExtentOfChar = Symbol("dartx.getExtentOfChar"), + $getNumberOfChars: dartx.getNumberOfChars = Symbol("dartx.getNumberOfChars"), + $getRotationOfChar: dartx.getRotationOfChar = Symbol("dartx.getRotationOfChar"), + $getStartPositionOfChar: dartx.getStartPositionOfChar = Symbol("dartx.getStartPositionOfChar"), + $getSubStringLength: dartx.getSubStringLength = Symbol("dartx.getSubStringLength"), + $selectSubString: dartx.selectSubString = Symbol("dartx.selectSubString"), + $spacing: dartx.spacing = Symbol("dartx.spacing"), + $setMatrix: dartx.setMatrix = Symbol("dartx.setMatrix"), + $setRotate: dartx.setRotate = Symbol("dartx.setRotate"), + $setScale: dartx.setScale = Symbol("dartx.setScale"), + $setSkewX: dartx.setSkewX = Symbol("dartx.setSkewX"), + $setSkewY: dartx.setSkewY = Symbol("dartx.setSkewY"), + $setTranslate: dartx.setTranslate = Symbol("dartx.setTranslate"), + $consolidate: dartx.consolidate = Symbol("dartx.consolidate"), + $fftSize: dartx.fftSize = Symbol("dartx.fftSize"), + $frequencyBinCount: dartx.frequencyBinCount = Symbol("dartx.frequencyBinCount"), + $maxDecibels: dartx.maxDecibels = Symbol("dartx.maxDecibels"), + $minDecibels: dartx.minDecibels = Symbol("dartx.minDecibels"), + $smoothingTimeConstant: dartx.smoothingTimeConstant = Symbol("dartx.smoothingTimeConstant"), + $getByteFrequencyData: dartx.getByteFrequencyData = Symbol("dartx.getByteFrequencyData"), + $getByteTimeDomainData: dartx.getByteTimeDomainData = Symbol("dartx.getByteTimeDomainData"), + $getFloatFrequencyData: dartx.getFloatFrequencyData = Symbol("dartx.getFloatFrequencyData"), + $getFloatTimeDomainData: dartx.getFloatTimeDomainData = Symbol("dartx.getFloatTimeDomainData"), + $channelCount: dartx.channelCount = Symbol("dartx.channelCount"), + $channelCountMode: dartx.channelCountMode = Symbol("dartx.channelCountMode"), + $channelInterpretation: dartx.channelInterpretation = Symbol("dartx.channelInterpretation"), + $context: dartx.context = Symbol("dartx.context"), + $numberOfInputs: dartx.numberOfInputs = Symbol("dartx.numberOfInputs"), + $numberOfOutputs: dartx.numberOfOutputs = Symbol("dartx.numberOfOutputs"), + _connect: dart.privateName(web_audio, "_connect"), + $connectNode: dartx.connectNode = Symbol("dartx.connectNode"), + $connectParam: dartx.connectParam = Symbol("dartx.connectParam"), + $numberOfChannels: dartx.numberOfChannels = Symbol("dartx.numberOfChannels"), + $sampleRate: dartx.sampleRate = Symbol("dartx.sampleRate"), + $copyFromChannel: dartx.copyFromChannel = Symbol("dartx.copyFromChannel"), + $copyToChannel: dartx.copyToChannel = Symbol("dartx.copyToChannel"), + $getChannelData: dartx.getChannelData = Symbol("dartx.getChannelData"), + $detune: dartx.detune = Symbol("dartx.detune"), + $loopEnd: dartx.loopEnd = Symbol("dartx.loopEnd"), + $loopStart: dartx.loopStart = Symbol("dartx.loopStart"), + $start2: dartx.start2 = Symbol("dartx.start2"), + $baseLatency: dartx.baseLatency = Symbol("dartx.baseLatency"), + _getOutputTimestamp_1: dart.privateName(web_audio, "_getOutputTimestamp_1"), + $getOutputTimestamp: dartx.getOutputTimestamp = Symbol("dartx.getOutputTimestamp"), + $suspend: dartx.suspend = Symbol("dartx.suspend"), + $createGain: dartx.createGain = Symbol("dartx.createGain"), + $createScriptProcessor: dartx.createScriptProcessor = Symbol("dartx.createScriptProcessor"), + _decodeAudioData: dart.privateName(web_audio, "_decodeAudioData"), + $decodeAudioData: dartx.decodeAudioData = Symbol("dartx.decodeAudioData"), + $destination: dartx.destination = Symbol("dartx.destination"), + $listener: dartx.listener = Symbol("dartx.listener"), + $createAnalyser: dartx.createAnalyser = Symbol("dartx.createAnalyser"), + $createBiquadFilter: dartx.createBiquadFilter = Symbol("dartx.createBiquadFilter"), + $createBuffer: dartx.createBuffer = Symbol("dartx.createBuffer"), + $createBufferSource: dartx.createBufferSource = Symbol("dartx.createBufferSource"), + $createChannelMerger: dartx.createChannelMerger = Symbol("dartx.createChannelMerger") +}; +var S$4 = { + $createChannelSplitter: dartx.createChannelSplitter = Symbol("dartx.createChannelSplitter"), + $createConstantSource: dartx.createConstantSource = Symbol("dartx.createConstantSource"), + $createConvolver: dartx.createConvolver = Symbol("dartx.createConvolver"), + $createDelay: dartx.createDelay = Symbol("dartx.createDelay"), + $createDynamicsCompressor: dartx.createDynamicsCompressor = Symbol("dartx.createDynamicsCompressor"), + $createIirFilter: dartx.createIirFilter = Symbol("dartx.createIirFilter"), + $createMediaElementSource: dartx.createMediaElementSource = Symbol("dartx.createMediaElementSource"), + $createMediaStreamDestination: dartx.createMediaStreamDestination = Symbol("dartx.createMediaStreamDestination"), + $createMediaStreamSource: dartx.createMediaStreamSource = Symbol("dartx.createMediaStreamSource"), + $createOscillator: dartx.createOscillator = Symbol("dartx.createOscillator"), + $createPanner: dartx.createPanner = Symbol("dartx.createPanner"), + _createPeriodicWave_1: dart.privateName(web_audio, "_createPeriodicWave_1"), + _createPeriodicWave_2: dart.privateName(web_audio, "_createPeriodicWave_2"), + $createPeriodicWave: dartx.createPeriodicWave = Symbol("dartx.createPeriodicWave"), + $createStereoPanner: dartx.createStereoPanner = Symbol("dartx.createStereoPanner"), + $createWaveShaper: dartx.createWaveShaper = Symbol("dartx.createWaveShaper"), + $maxChannelCount: dartx.maxChannelCount = Symbol("dartx.maxChannelCount"), + $forwardX: dartx.forwardX = Symbol("dartx.forwardX"), + $forwardY: dartx.forwardY = Symbol("dartx.forwardY"), + $forwardZ: dartx.forwardZ = Symbol("dartx.forwardZ"), + $positionZ: dartx.positionZ = Symbol("dartx.positionZ"), + $upX: dartx.upX = Symbol("dartx.upX"), + $upY: dartx.upY = Symbol("dartx.upY"), + $upZ: dartx.upZ = Symbol("dartx.upZ"), + $setOrientation: dartx.setOrientation = Symbol("dartx.setOrientation"), + $maxValue: dartx.maxValue = Symbol("dartx.maxValue"), + $minValue: dartx.minValue = Symbol("dartx.minValue"), + $cancelAndHoldAtTime: dartx.cancelAndHoldAtTime = Symbol("dartx.cancelAndHoldAtTime"), + $cancelScheduledValues: dartx.cancelScheduledValues = Symbol("dartx.cancelScheduledValues"), + $exponentialRampToValueAtTime: dartx.exponentialRampToValueAtTime = Symbol("dartx.exponentialRampToValueAtTime"), + $linearRampToValueAtTime: dartx.linearRampToValueAtTime = Symbol("dartx.linearRampToValueAtTime"), + $setTargetAtTime: dartx.setTargetAtTime = Symbol("dartx.setTargetAtTime"), + $setValueAtTime: dartx.setValueAtTime = Symbol("dartx.setValueAtTime"), + $setValueCurveAtTime: dartx.setValueCurveAtTime = Symbol("dartx.setValueCurveAtTime"), + _getItem$1: dart.privateName(web_audio, "_getItem"), + $inputBuffer: dartx.inputBuffer = Symbol("dartx.inputBuffer"), + $outputBuffer: dartx.outputBuffer = Symbol("dartx.outputBuffer"), + $playbackTime: dartx.playbackTime = Symbol("dartx.playbackTime"), + __getter__$1: dart.privateName(web_audio, "__getter__"), + $registerProcessor: dartx.registerProcessor = Symbol("dartx.registerProcessor"), + $parameters: dartx.parameters = Symbol("dartx.parameters"), + $Q: dartx.Q = Symbol("dartx.Q"), + $frequency: dartx.frequency = Symbol("dartx.frequency"), + $gain: dartx.gain = Symbol("dartx.gain"), + $getFrequencyResponse: dartx.getFrequencyResponse = Symbol("dartx.getFrequencyResponse"), + $normalize: dartx.normalize = Symbol("dartx.normalize"), + $delayTime: dartx.delayTime = Symbol("dartx.delayTime"), + $attack: dartx.attack = Symbol("dartx.attack"), + $knee: dartx.knee = Symbol("dartx.knee"), + $ratio: dartx.ratio = Symbol("dartx.ratio"), + $reduction: dartx.reduction = Symbol("dartx.reduction"), + $release: dartx.release = Symbol("dartx.release"), + $threshold: dartx.threshold = Symbol("dartx.threshold"), + $mediaElement: dartx.mediaElement = Symbol("dartx.mediaElement"), + $mediaStream: dartx.mediaStream = Symbol("dartx.mediaStream"), + $renderedBuffer: dartx.renderedBuffer = Symbol("dartx.renderedBuffer"), + $startRendering: dartx.startRendering = Symbol("dartx.startRendering"), + $suspendFor: dartx.suspendFor = Symbol("dartx.suspendFor"), + $setPeriodicWave: dartx.setPeriodicWave = Symbol("dartx.setPeriodicWave"), + $coneInnerAngle: dartx.coneInnerAngle = Symbol("dartx.coneInnerAngle"), + $coneOuterAngle: dartx.coneOuterAngle = Symbol("dartx.coneOuterAngle"), + $coneOuterGain: dartx.coneOuterGain = Symbol("dartx.coneOuterGain"), + $distanceModel: dartx.distanceModel = Symbol("dartx.distanceModel"), + $maxDistance: dartx.maxDistance = Symbol("dartx.maxDistance"), + $orientationX: dartx.orientationX = Symbol("dartx.orientationX"), + $orientationY: dartx.orientationY = Symbol("dartx.orientationY"), + $orientationZ: dartx.orientationZ = Symbol("dartx.orientationZ"), + $panningModel: dartx.panningModel = Symbol("dartx.panningModel"), + $refDistance: dartx.refDistance = Symbol("dartx.refDistance"), + $rolloffFactor: dartx.rolloffFactor = Symbol("dartx.rolloffFactor"), + $bufferSize: dartx.bufferSize = Symbol("dartx.bufferSize"), + $setEventListener: dartx.setEventListener = Symbol("dartx.setEventListener"), + $onAudioProcess: dartx.onAudioProcess = Symbol("dartx.onAudioProcess"), + $pan: dartx.pan = Symbol("dartx.pan"), + $curve: dartx.curve = Symbol("dartx.curve"), + $oversample: dartx.oversample = Symbol("dartx.oversample"), + $drawArraysInstancedAngle: dartx.drawArraysInstancedAngle = Symbol("dartx.drawArraysInstancedAngle"), + $drawElementsInstancedAngle: dartx.drawElementsInstancedAngle = Symbol("dartx.drawElementsInstancedAngle"), + $vertexAttribDivisorAngle: dartx.vertexAttribDivisorAngle = Symbol("dartx.vertexAttribDivisorAngle"), + $offscreenCanvas: dartx.offscreenCanvas = Symbol("dartx.offscreenCanvas"), + $statusMessage: dartx.statusMessage = Symbol("dartx.statusMessage"), + $getTranslatedShaderSource: dartx.getTranslatedShaderSource = Symbol("dartx.getTranslatedShaderSource"), + $drawBuffersWebgl: dartx.drawBuffersWebgl = Symbol("dartx.drawBuffersWebgl"), + $beginQueryExt: dartx.beginQueryExt = Symbol("dartx.beginQueryExt"), + $createQueryExt: dartx.createQueryExt = Symbol("dartx.createQueryExt"), + $deleteQueryExt: dartx.deleteQueryExt = Symbol("dartx.deleteQueryExt"), + $endQueryExt: dartx.endQueryExt = Symbol("dartx.endQueryExt"), + $getQueryExt: dartx.getQueryExt = Symbol("dartx.getQueryExt"), + $getQueryObjectExt: dartx.getQueryObjectExt = Symbol("dartx.getQueryObjectExt"), + $isQueryExt: dartx.isQueryExt = Symbol("dartx.isQueryExt"), + $queryCounterExt: dartx.queryCounterExt = Symbol("dartx.queryCounterExt"), + $getBufferSubDataAsync: dartx.getBufferSubDataAsync = Symbol("dartx.getBufferSubDataAsync"), + $loseContext: dartx.loseContext = Symbol("dartx.loseContext"), + $restoreContext: dartx.restoreContext = Symbol("dartx.restoreContext"), + $bindVertexArray: dartx.bindVertexArray = Symbol("dartx.bindVertexArray"), + $createVertexArray: dartx.createVertexArray = Symbol("dartx.createVertexArray"), + $deleteVertexArray: dartx.deleteVertexArray = Symbol("dartx.deleteVertexArray"), + $isVertexArray: dartx.isVertexArray = Symbol("dartx.isVertexArray"), + $drawingBufferHeight: dartx.drawingBufferHeight = Symbol("dartx.drawingBufferHeight"), + $drawingBufferWidth: dartx.drawingBufferWidth = Symbol("dartx.drawingBufferWidth"), + $activeTexture: dartx.activeTexture = Symbol("dartx.activeTexture"), + $attachShader: dartx.attachShader = Symbol("dartx.attachShader"), + $bindAttribLocation: dartx.bindAttribLocation = Symbol("dartx.bindAttribLocation"), + $bindBuffer: dartx.bindBuffer = Symbol("dartx.bindBuffer"), + $bindFramebuffer: dartx.bindFramebuffer = Symbol("dartx.bindFramebuffer"), + $bindRenderbuffer: dartx.bindRenderbuffer = Symbol("dartx.bindRenderbuffer"), + $bindTexture: dartx.bindTexture = Symbol("dartx.bindTexture"), + $blendColor: dartx.blendColor = Symbol("dartx.blendColor"), + $blendEquation: dartx.blendEquation = Symbol("dartx.blendEquation"), + $blendEquationSeparate: dartx.blendEquationSeparate = Symbol("dartx.blendEquationSeparate"), + $blendFunc: dartx.blendFunc = Symbol("dartx.blendFunc"), + $blendFuncSeparate: dartx.blendFuncSeparate = Symbol("dartx.blendFuncSeparate"), + $bufferData: dartx.bufferData = Symbol("dartx.bufferData"), + $bufferSubData: dartx.bufferSubData = Symbol("dartx.bufferSubData"), + $checkFramebufferStatus: dartx.checkFramebufferStatus = Symbol("dartx.checkFramebufferStatus"), + $clearColor: dartx.clearColor = Symbol("dartx.clearColor"), + $clearDepth: dartx.clearDepth = Symbol("dartx.clearDepth"), + $clearStencil: dartx.clearStencil = Symbol("dartx.clearStencil"), + $colorMask: dartx.colorMask = Symbol("dartx.colorMask"), + $compileShader: dartx.compileShader = Symbol("dartx.compileShader"), + $compressedTexImage2D: dartx.compressedTexImage2D = Symbol("dartx.compressedTexImage2D"), + $compressedTexSubImage2D: dartx.compressedTexSubImage2D = Symbol("dartx.compressedTexSubImage2D"), + $copyTexImage2D: dartx.copyTexImage2D = Symbol("dartx.copyTexImage2D"), + $copyTexSubImage2D: dartx.copyTexSubImage2D = Symbol("dartx.copyTexSubImage2D"), + $createFramebuffer: dartx.createFramebuffer = Symbol("dartx.createFramebuffer"), + $createProgram: dartx.createProgram = Symbol("dartx.createProgram"), + $createRenderbuffer: dartx.createRenderbuffer = Symbol("dartx.createRenderbuffer"), + $createShader: dartx.createShader = Symbol("dartx.createShader"), + $createTexture: dartx.createTexture = Symbol("dartx.createTexture"), + $cullFace: dartx.cullFace = Symbol("dartx.cullFace"), + $deleteBuffer: dartx.deleteBuffer = Symbol("dartx.deleteBuffer"), + $deleteFramebuffer: dartx.deleteFramebuffer = Symbol("dartx.deleteFramebuffer"), + $deleteProgram: dartx.deleteProgram = Symbol("dartx.deleteProgram"), + $deleteRenderbuffer: dartx.deleteRenderbuffer = Symbol("dartx.deleteRenderbuffer"), + $deleteShader: dartx.deleteShader = Symbol("dartx.deleteShader"), + $deleteTexture: dartx.deleteTexture = Symbol("dartx.deleteTexture"), + $depthFunc: dartx.depthFunc = Symbol("dartx.depthFunc"), + $depthMask: dartx.depthMask = Symbol("dartx.depthMask"), + $depthRange: dartx.depthRange = Symbol("dartx.depthRange"), + $detachShader: dartx.detachShader = Symbol("dartx.detachShader"), + $disableVertexAttribArray: dartx.disableVertexAttribArray = Symbol("dartx.disableVertexAttribArray"), + $drawArrays: dartx.drawArrays = Symbol("dartx.drawArrays"), + $drawElements: dartx.drawElements = Symbol("dartx.drawElements"), + $enableVertexAttribArray: dartx.enableVertexAttribArray = Symbol("dartx.enableVertexAttribArray"), + $flush: dartx.flush = Symbol("dartx.flush"), + $framebufferRenderbuffer: dartx.framebufferRenderbuffer = Symbol("dartx.framebufferRenderbuffer"), + $framebufferTexture2D: dartx.framebufferTexture2D = Symbol("dartx.framebufferTexture2D"), + $frontFace: dartx.frontFace = Symbol("dartx.frontFace"), + $generateMipmap: dartx.generateMipmap = Symbol("dartx.generateMipmap"), + $getActiveAttrib: dartx.getActiveAttrib = Symbol("dartx.getActiveAttrib"), + $getActiveUniform: dartx.getActiveUniform = Symbol("dartx.getActiveUniform"), + $getAttachedShaders: dartx.getAttachedShaders = Symbol("dartx.getAttachedShaders"), + $getAttribLocation: dartx.getAttribLocation = Symbol("dartx.getAttribLocation"), + $getBufferParameter: dartx.getBufferParameter = Symbol("dartx.getBufferParameter"), + _getContextAttributes_1$1: dart.privateName(web_gl, "_getContextAttributes_1"), + $getError: dartx.getError = Symbol("dartx.getError"), + $getExtension: dartx.getExtension = Symbol("dartx.getExtension"), + $getFramebufferAttachmentParameter: dartx.getFramebufferAttachmentParameter = Symbol("dartx.getFramebufferAttachmentParameter"), + $getProgramInfoLog: dartx.getProgramInfoLog = Symbol("dartx.getProgramInfoLog"), + $getProgramParameter: dartx.getProgramParameter = Symbol("dartx.getProgramParameter"), + $getRenderbufferParameter: dartx.getRenderbufferParameter = Symbol("dartx.getRenderbufferParameter"), + $getShaderInfoLog: dartx.getShaderInfoLog = Symbol("dartx.getShaderInfoLog"), + $getShaderParameter: dartx.getShaderParameter = Symbol("dartx.getShaderParameter"), + $getShaderPrecisionFormat: dartx.getShaderPrecisionFormat = Symbol("dartx.getShaderPrecisionFormat"), + $getShaderSource: dartx.getShaderSource = Symbol("dartx.getShaderSource"), + $getSupportedExtensions: dartx.getSupportedExtensions = Symbol("dartx.getSupportedExtensions"), + $getTexParameter: dartx.getTexParameter = Symbol("dartx.getTexParameter"), + $getUniform: dartx.getUniform = Symbol("dartx.getUniform"), + $getUniformLocation: dartx.getUniformLocation = Symbol("dartx.getUniformLocation"), + $getVertexAttrib: dartx.getVertexAttrib = Symbol("dartx.getVertexAttrib"), + $getVertexAttribOffset: dartx.getVertexAttribOffset = Symbol("dartx.getVertexAttribOffset"), + $hint: dartx.hint = Symbol("dartx.hint"), + $isBuffer: dartx.isBuffer = Symbol("dartx.isBuffer"), + $isEnabled: dartx.isEnabled = Symbol("dartx.isEnabled"), + $isFramebuffer: dartx.isFramebuffer = Symbol("dartx.isFramebuffer"), + $isProgram: dartx.isProgram = Symbol("dartx.isProgram"), + $isRenderbuffer: dartx.isRenderbuffer = Symbol("dartx.isRenderbuffer"), + $isShader: dartx.isShader = Symbol("dartx.isShader"), + $isTexture: dartx.isTexture = Symbol("dartx.isTexture"), + $linkProgram: dartx.linkProgram = Symbol("dartx.linkProgram"), + $pixelStorei: dartx.pixelStorei = Symbol("dartx.pixelStorei"), + $polygonOffset: dartx.polygonOffset = Symbol("dartx.polygonOffset"), + _readPixels: dart.privateName(web_gl, "_readPixels"), + $renderbufferStorage: dartx.renderbufferStorage = Symbol("dartx.renderbufferStorage"), + $sampleCoverage: dartx.sampleCoverage = Symbol("dartx.sampleCoverage"), + $scissor: dartx.scissor = Symbol("dartx.scissor"), + $shaderSource: dartx.shaderSource = Symbol("dartx.shaderSource"), + $stencilFunc: dartx.stencilFunc = Symbol("dartx.stencilFunc"), + $stencilFuncSeparate: dartx.stencilFuncSeparate = Symbol("dartx.stencilFuncSeparate"), + $stencilMask: dartx.stencilMask = Symbol("dartx.stencilMask"), + $stencilMaskSeparate: dartx.stencilMaskSeparate = Symbol("dartx.stencilMaskSeparate"), + $stencilOp: dartx.stencilOp = Symbol("dartx.stencilOp"), + $stencilOpSeparate: dartx.stencilOpSeparate = Symbol("dartx.stencilOpSeparate"), + _texImage2D_1: dart.privateName(web_gl, "_texImage2D_1"), + _texImage2D_2: dart.privateName(web_gl, "_texImage2D_2"), + _texImage2D_3: dart.privateName(web_gl, "_texImage2D_3"), + _texImage2D_4: dart.privateName(web_gl, "_texImage2D_4"), + _texImage2D_5: dart.privateName(web_gl, "_texImage2D_5"), + _texImage2D_6: dart.privateName(web_gl, "_texImage2D_6"), + $texImage2D: dartx.texImage2D = Symbol("dartx.texImage2D"), + $texParameterf: dartx.texParameterf = Symbol("dartx.texParameterf"), + $texParameteri: dartx.texParameteri = Symbol("dartx.texParameteri"), + _texSubImage2D_1: dart.privateName(web_gl, "_texSubImage2D_1"), + _texSubImage2D_2: dart.privateName(web_gl, "_texSubImage2D_2"), + _texSubImage2D_3: dart.privateName(web_gl, "_texSubImage2D_3"), + _texSubImage2D_4: dart.privateName(web_gl, "_texSubImage2D_4"), + _texSubImage2D_5: dart.privateName(web_gl, "_texSubImage2D_5"), + _texSubImage2D_6: dart.privateName(web_gl, "_texSubImage2D_6"), + $texSubImage2D: dartx.texSubImage2D = Symbol("dartx.texSubImage2D"), + $uniform1f: dartx.uniform1f = Symbol("dartx.uniform1f"), + $uniform1fv: dartx.uniform1fv = Symbol("dartx.uniform1fv"), + $uniform1i: dartx.uniform1i = Symbol("dartx.uniform1i"), + $uniform1iv: dartx.uniform1iv = Symbol("dartx.uniform1iv"), + $uniform2f: dartx.uniform2f = Symbol("dartx.uniform2f"), + $uniform2fv: dartx.uniform2fv = Symbol("dartx.uniform2fv"), + $uniform2i: dartx.uniform2i = Symbol("dartx.uniform2i"), + $uniform2iv: dartx.uniform2iv = Symbol("dartx.uniform2iv"), + $uniform3f: dartx.uniform3f = Symbol("dartx.uniform3f"), + $uniform3fv: dartx.uniform3fv = Symbol("dartx.uniform3fv"), + $uniform3i: dartx.uniform3i = Symbol("dartx.uniform3i"), + $uniform3iv: dartx.uniform3iv = Symbol("dartx.uniform3iv"), + $uniform4f: dartx.uniform4f = Symbol("dartx.uniform4f"), + $uniform4fv: dartx.uniform4fv = Symbol("dartx.uniform4fv"), + $uniform4i: dartx.uniform4i = Symbol("dartx.uniform4i"), + $uniform4iv: dartx.uniform4iv = Symbol("dartx.uniform4iv"), + $uniformMatrix2fv: dartx.uniformMatrix2fv = Symbol("dartx.uniformMatrix2fv"), + $uniformMatrix3fv: dartx.uniformMatrix3fv = Symbol("dartx.uniformMatrix3fv"), + $uniformMatrix4fv: dartx.uniformMatrix4fv = Symbol("dartx.uniformMatrix4fv"), + $useProgram: dartx.useProgram = Symbol("dartx.useProgram"), + $validateProgram: dartx.validateProgram = Symbol("dartx.validateProgram"), + $vertexAttrib1f: dartx.vertexAttrib1f = Symbol("dartx.vertexAttrib1f"), + $vertexAttrib1fv: dartx.vertexAttrib1fv = Symbol("dartx.vertexAttrib1fv"), + $vertexAttrib2f: dartx.vertexAttrib2f = Symbol("dartx.vertexAttrib2f"), + $vertexAttrib2fv: dartx.vertexAttrib2fv = Symbol("dartx.vertexAttrib2fv"), + $vertexAttrib3f: dartx.vertexAttrib3f = Symbol("dartx.vertexAttrib3f"), + $vertexAttrib3fv: dartx.vertexAttrib3fv = Symbol("dartx.vertexAttrib3fv"), + $vertexAttrib4f: dartx.vertexAttrib4f = Symbol("dartx.vertexAttrib4f"), + $vertexAttrib4fv: dartx.vertexAttrib4fv = Symbol("dartx.vertexAttrib4fv"), + $vertexAttribPointer: dartx.vertexAttribPointer = Symbol("dartx.vertexAttribPointer"), + $viewport: dartx.viewport = Symbol("dartx.viewport"), + $readPixels: dartx.readPixels = Symbol("dartx.readPixels"), + $texImage2DUntyped: dartx.texImage2DUntyped = Symbol("dartx.texImage2DUntyped"), + $texImage2DTyped: dartx.texImage2DTyped = Symbol("dartx.texImage2DTyped"), + $texSubImage2DUntyped: dartx.texSubImage2DUntyped = Symbol("dartx.texSubImage2DUntyped"), + $texSubImage2DTyped: dartx.texSubImage2DTyped = Symbol("dartx.texSubImage2DTyped"), + $bufferDataTyped: dartx.bufferDataTyped = Symbol("dartx.bufferDataTyped"), + $bufferSubDataTyped: dartx.bufferSubDataTyped = Symbol("dartx.bufferSubDataTyped"), + $beginQuery: dartx.beginQuery = Symbol("dartx.beginQuery"), + $beginTransformFeedback: dartx.beginTransformFeedback = Symbol("dartx.beginTransformFeedback"), + $bindBufferBase: dartx.bindBufferBase = Symbol("dartx.bindBufferBase"), + $bindBufferRange: dartx.bindBufferRange = Symbol("dartx.bindBufferRange"), + $bindSampler: dartx.bindSampler = Symbol("dartx.bindSampler"), + $bindTransformFeedback: dartx.bindTransformFeedback = Symbol("dartx.bindTransformFeedback"), + $blitFramebuffer: dartx.blitFramebuffer = Symbol("dartx.blitFramebuffer"), + $bufferData2: dartx.bufferData2 = Symbol("dartx.bufferData2"), + $bufferSubData2: dartx.bufferSubData2 = Symbol("dartx.bufferSubData2"), + $clearBufferfi: dartx.clearBufferfi = Symbol("dartx.clearBufferfi"), + $clearBufferfv: dartx.clearBufferfv = Symbol("dartx.clearBufferfv"), + $clearBufferiv: dartx.clearBufferiv = Symbol("dartx.clearBufferiv"), + $clearBufferuiv: dartx.clearBufferuiv = Symbol("dartx.clearBufferuiv"), + $clientWaitSync: dartx.clientWaitSync = Symbol("dartx.clientWaitSync"), + $compressedTexImage2D2: dartx.compressedTexImage2D2 = Symbol("dartx.compressedTexImage2D2"), + $compressedTexImage2D3: dartx.compressedTexImage2D3 = Symbol("dartx.compressedTexImage2D3"), + $compressedTexImage3D: dartx.compressedTexImage3D = Symbol("dartx.compressedTexImage3D"), + $compressedTexImage3D2: dartx.compressedTexImage3D2 = Symbol("dartx.compressedTexImage3D2"), + $compressedTexSubImage2D2: dartx.compressedTexSubImage2D2 = Symbol("dartx.compressedTexSubImage2D2"), + $compressedTexSubImage2D3: dartx.compressedTexSubImage2D3 = Symbol("dartx.compressedTexSubImage2D3"), + $compressedTexSubImage3D: dartx.compressedTexSubImage3D = Symbol("dartx.compressedTexSubImage3D"), + $compressedTexSubImage3D2: dartx.compressedTexSubImage3D2 = Symbol("dartx.compressedTexSubImage3D2"), + $copyBufferSubData: dartx.copyBufferSubData = Symbol("dartx.copyBufferSubData"), + $copyTexSubImage3D: dartx.copyTexSubImage3D = Symbol("dartx.copyTexSubImage3D"), + $createQuery: dartx.createQuery = Symbol("dartx.createQuery"), + $createSampler: dartx.createSampler = Symbol("dartx.createSampler"), + $createTransformFeedback: dartx.createTransformFeedback = Symbol("dartx.createTransformFeedback"), + $deleteQuery: dartx.deleteQuery = Symbol("dartx.deleteQuery"), + $deleteSampler: dartx.deleteSampler = Symbol("dartx.deleteSampler"), + $deleteSync: dartx.deleteSync = Symbol("dartx.deleteSync"), + $deleteTransformFeedback: dartx.deleteTransformFeedback = Symbol("dartx.deleteTransformFeedback"), + $drawArraysInstanced: dartx.drawArraysInstanced = Symbol("dartx.drawArraysInstanced"), + $drawBuffers: dartx.drawBuffers = Symbol("dartx.drawBuffers"), + $drawElementsInstanced: dartx.drawElementsInstanced = Symbol("dartx.drawElementsInstanced"), + $drawRangeElements: dartx.drawRangeElements = Symbol("dartx.drawRangeElements"), + $endQuery: dartx.endQuery = Symbol("dartx.endQuery"), + $endTransformFeedback: dartx.endTransformFeedback = Symbol("dartx.endTransformFeedback"), + $fenceSync: dartx.fenceSync = Symbol("dartx.fenceSync"), + $framebufferTextureLayer: dartx.framebufferTextureLayer = Symbol("dartx.framebufferTextureLayer"), + $getActiveUniformBlockName: dartx.getActiveUniformBlockName = Symbol("dartx.getActiveUniformBlockName"), + $getActiveUniformBlockParameter: dartx.getActiveUniformBlockParameter = Symbol("dartx.getActiveUniformBlockParameter"), + $getActiveUniforms: dartx.getActiveUniforms = Symbol("dartx.getActiveUniforms"), + $getBufferSubData: dartx.getBufferSubData = Symbol("dartx.getBufferSubData"), + $getFragDataLocation: dartx.getFragDataLocation = Symbol("dartx.getFragDataLocation"), + $getIndexedParameter: dartx.getIndexedParameter = Symbol("dartx.getIndexedParameter"), + $getInternalformatParameter: dartx.getInternalformatParameter = Symbol("dartx.getInternalformatParameter"), + $getQuery: dartx.getQuery = Symbol("dartx.getQuery"), + $getQueryParameter: dartx.getQueryParameter = Symbol("dartx.getQueryParameter"), + $getSamplerParameter: dartx.getSamplerParameter = Symbol("dartx.getSamplerParameter"), + $getSyncParameter: dartx.getSyncParameter = Symbol("dartx.getSyncParameter"), + $getTransformFeedbackVarying: dartx.getTransformFeedbackVarying = Symbol("dartx.getTransformFeedbackVarying"), + $getUniformBlockIndex: dartx.getUniformBlockIndex = Symbol("dartx.getUniformBlockIndex"), + _getUniformIndices_1: dart.privateName(web_gl, "_getUniformIndices_1"), + $getUniformIndices: dartx.getUniformIndices = Symbol("dartx.getUniformIndices"), + $invalidateFramebuffer: dartx.invalidateFramebuffer = Symbol("dartx.invalidateFramebuffer"), + $invalidateSubFramebuffer: dartx.invalidateSubFramebuffer = Symbol("dartx.invalidateSubFramebuffer"), + $isQuery: dartx.isQuery = Symbol("dartx.isQuery"), + $isSampler: dartx.isSampler = Symbol("dartx.isSampler"), + $isSync: dartx.isSync = Symbol("dartx.isSync"), + $isTransformFeedback: dartx.isTransformFeedback = Symbol("dartx.isTransformFeedback"), + $pauseTransformFeedback: dartx.pauseTransformFeedback = Symbol("dartx.pauseTransformFeedback"), + $readBuffer: dartx.readBuffer = Symbol("dartx.readBuffer"), + $readPixels2: dartx.readPixels2 = Symbol("dartx.readPixels2"), + $renderbufferStorageMultisample: dartx.renderbufferStorageMultisample = Symbol("dartx.renderbufferStorageMultisample"), + $resumeTransformFeedback: dartx.resumeTransformFeedback = Symbol("dartx.resumeTransformFeedback"), + $samplerParameterf: dartx.samplerParameterf = Symbol("dartx.samplerParameterf"), + $samplerParameteri: dartx.samplerParameteri = Symbol("dartx.samplerParameteri"), + _texImage2D2_1: dart.privateName(web_gl, "_texImage2D2_1"), + _texImage2D2_2: dart.privateName(web_gl, "_texImage2D2_2"), + _texImage2D2_3: dart.privateName(web_gl, "_texImage2D2_3"), + _texImage2D2_4: dart.privateName(web_gl, "_texImage2D2_4"), + _texImage2D2_5: dart.privateName(web_gl, "_texImage2D2_5"), + _texImage2D2_6: dart.privateName(web_gl, "_texImage2D2_6"), + _texImage2D2_7: dart.privateName(web_gl, "_texImage2D2_7"), + $texImage2D2: dartx.texImage2D2 = Symbol("dartx.texImage2D2"), + _texImage3D_1: dart.privateName(web_gl, "_texImage3D_1"), + _texImage3D_2: dart.privateName(web_gl, "_texImage3D_2"), + _texImage3D_3: dart.privateName(web_gl, "_texImage3D_3"), + _texImage3D_4: dart.privateName(web_gl, "_texImage3D_4"), + _texImage3D_5: dart.privateName(web_gl, "_texImage3D_5"), + _texImage3D_6: dart.privateName(web_gl, "_texImage3D_6"), + _texImage3D_7: dart.privateName(web_gl, "_texImage3D_7"), + _texImage3D_8: dart.privateName(web_gl, "_texImage3D_8"), + $texImage3D: dartx.texImage3D = Symbol("dartx.texImage3D"), + $texStorage2D: dartx.texStorage2D = Symbol("dartx.texStorage2D"), + $texStorage3D: dartx.texStorage3D = Symbol("dartx.texStorage3D"), + _texSubImage2D2_1: dart.privateName(web_gl, "_texSubImage2D2_1"), + _texSubImage2D2_2: dart.privateName(web_gl, "_texSubImage2D2_2"), + _texSubImage2D2_3: dart.privateName(web_gl, "_texSubImage2D2_3"), + _texSubImage2D2_4: dart.privateName(web_gl, "_texSubImage2D2_4"), + _texSubImage2D2_5: dart.privateName(web_gl, "_texSubImage2D2_5"), + _texSubImage2D2_6: dart.privateName(web_gl, "_texSubImage2D2_6"), + _texSubImage2D2_7: dart.privateName(web_gl, "_texSubImage2D2_7"), + $texSubImage2D2: dartx.texSubImage2D2 = Symbol("dartx.texSubImage2D2"), + _texSubImage3D_1: dart.privateName(web_gl, "_texSubImage3D_1"), + _texSubImage3D_2: dart.privateName(web_gl, "_texSubImage3D_2"), + _texSubImage3D_3: dart.privateName(web_gl, "_texSubImage3D_3"), + _texSubImage3D_4: dart.privateName(web_gl, "_texSubImage3D_4"), + _texSubImage3D_5: dart.privateName(web_gl, "_texSubImage3D_5"), + _texSubImage3D_6: dart.privateName(web_gl, "_texSubImage3D_6"), + _texSubImage3D_7: dart.privateName(web_gl, "_texSubImage3D_7"), + _texSubImage3D_8: dart.privateName(web_gl, "_texSubImage3D_8"), + $texSubImage3D: dartx.texSubImage3D = Symbol("dartx.texSubImage3D"), + _transformFeedbackVaryings_1: dart.privateName(web_gl, "_transformFeedbackVaryings_1"), + $transformFeedbackVaryings: dartx.transformFeedbackVaryings = Symbol("dartx.transformFeedbackVaryings"), + $uniform1fv2: dartx.uniform1fv2 = Symbol("dartx.uniform1fv2"), + $uniform1iv2: dartx.uniform1iv2 = Symbol("dartx.uniform1iv2"), + $uniform1ui: dartx.uniform1ui = Symbol("dartx.uniform1ui"), + $uniform1uiv: dartx.uniform1uiv = Symbol("dartx.uniform1uiv"), + $uniform2fv2: dartx.uniform2fv2 = Symbol("dartx.uniform2fv2"), + $uniform2iv2: dartx.uniform2iv2 = Symbol("dartx.uniform2iv2"), + $uniform2ui: dartx.uniform2ui = Symbol("dartx.uniform2ui"), + $uniform2uiv: dartx.uniform2uiv = Symbol("dartx.uniform2uiv"), + $uniform3fv2: dartx.uniform3fv2 = Symbol("dartx.uniform3fv2"), + $uniform3iv2: dartx.uniform3iv2 = Symbol("dartx.uniform3iv2"), + $uniform3ui: dartx.uniform3ui = Symbol("dartx.uniform3ui"), + $uniform3uiv: dartx.uniform3uiv = Symbol("dartx.uniform3uiv"), + $uniform4fv2: dartx.uniform4fv2 = Symbol("dartx.uniform4fv2"), + $uniform4iv2: dartx.uniform4iv2 = Symbol("dartx.uniform4iv2"), + $uniform4ui: dartx.uniform4ui = Symbol("dartx.uniform4ui"), + $uniform4uiv: dartx.uniform4uiv = Symbol("dartx.uniform4uiv"), + $uniformBlockBinding: dartx.uniformBlockBinding = Symbol("dartx.uniformBlockBinding"), + $uniformMatrix2fv2: dartx.uniformMatrix2fv2 = Symbol("dartx.uniformMatrix2fv2"), + $uniformMatrix2x3fv: dartx.uniformMatrix2x3fv = Symbol("dartx.uniformMatrix2x3fv"), + $uniformMatrix2x4fv: dartx.uniformMatrix2x4fv = Symbol("dartx.uniformMatrix2x4fv"), + $uniformMatrix3fv2: dartx.uniformMatrix3fv2 = Symbol("dartx.uniformMatrix3fv2"), + $uniformMatrix3x2fv: dartx.uniformMatrix3x2fv = Symbol("dartx.uniformMatrix3x2fv"), + $uniformMatrix3x4fv: dartx.uniformMatrix3x4fv = Symbol("dartx.uniformMatrix3x4fv"), + $uniformMatrix4fv2: dartx.uniformMatrix4fv2 = Symbol("dartx.uniformMatrix4fv2"), + $uniformMatrix4x2fv: dartx.uniformMatrix4x2fv = Symbol("dartx.uniformMatrix4x2fv"), + $uniformMatrix4x3fv: dartx.uniformMatrix4x3fv = Symbol("dartx.uniformMatrix4x3fv"), + $vertexAttribDivisor: dartx.vertexAttribDivisor = Symbol("dartx.vertexAttribDivisor"), + $vertexAttribI4i: dartx.vertexAttribI4i = Symbol("dartx.vertexAttribI4i"), + $vertexAttribI4iv: dartx.vertexAttribI4iv = Symbol("dartx.vertexAttribI4iv"), + $vertexAttribI4ui: dartx.vertexAttribI4ui = Symbol("dartx.vertexAttribI4ui"), + $vertexAttribI4uiv: dartx.vertexAttribI4uiv = Symbol("dartx.vertexAttribI4uiv"), + $vertexAttribIPointer: dartx.vertexAttribIPointer = Symbol("dartx.vertexAttribIPointer"), + $waitSync: dartx.waitSync = Symbol("dartx.waitSync"), + $precision: dartx.precision = Symbol("dartx.precision"), + $rangeMax: dartx.rangeMax = Symbol("dartx.rangeMax"), + $rangeMin: dartx.rangeMin = Symbol("dartx.rangeMin"), + $lastUploadedVideoFrameWasSkipped: dartx.lastUploadedVideoFrameWasSkipped = Symbol("dartx.lastUploadedVideoFrameWasSkipped"), + $lastUploadedVideoHeight: dartx.lastUploadedVideoHeight = Symbol("dartx.lastUploadedVideoHeight"), + $lastUploadedVideoTimestamp: dartx.lastUploadedVideoTimestamp = Symbol("dartx.lastUploadedVideoTimestamp"), + $lastUploadedVideoWidth: dartx.lastUploadedVideoWidth = Symbol("dartx.lastUploadedVideoWidth"), + _changeVersion: dart.privateName(web_sql, "_changeVersion"), + $changeVersion: dartx.changeVersion = Symbol("dartx.changeVersion"), + _readTransaction: dart.privateName(web_sql, "_readTransaction"), + $readTransaction: dartx.readTransaction = Symbol("dartx.readTransaction"), + $transaction_future: dartx.transaction_future = Symbol("dartx.transaction_future"), + $insertId: dartx.insertId = Symbol("dartx.insertId"), + $rowsAffected: dartx.rowsAffected = Symbol("dartx.rowsAffected"), + _item_1: dart.privateName(web_sql, "_item_1"), + _executeSql: dart.privateName(web_sql, "_executeSql"), + $executeSql: dartx.executeSql = Symbol("dartx.executeSql") +}; +const CT = Object.create({ + _: () => (C, CT) +}); +var C = Array(490).fill(void 0); +var I = [ + "org-dartlang-sdk:///lib/_internal/js_dev_runtime/private/ddc_runtime/classes.dart", + "org-dartlang-sdk:///lib/_internal/js_dev_runtime/private/ddc_runtime/errors.dart", + "org-dartlang-sdk:///lib/_internal/js_dev_runtime/private/ddc_runtime/operations.dart", + "org-dartlang-sdk:///lib/_internal/js_dev_runtime/private/ddc_runtime/rtti.dart", + "org-dartlang-sdk:///lib/_internal/js_dev_runtime/private/ddc_runtime/runtime.dart", + "org-dartlang-sdk:///lib/_internal/js_dev_runtime/private/ddc_runtime/types.dart", + "org-dartlang-sdk:///lib/_internal/js_dev_runtime/private/ddc_runtime/utils.dart", + "org-dartlang-sdk:///lib/_internal/js_dev_runtime/patch/core_patch.dart", + "dart:core", + "dart:_runtime", + "org-dartlang-sdk:///lib/core/invocation.dart", + "org-dartlang-sdk:///lib/_internal/js_dev_runtime/private/debugger.dart", + "dart:_debugger", + "org-dartlang-sdk:///lib/_internal/js_dev_runtime/private/profile.dart", + "org-dartlang-sdk:///lib/_internal/js_dev_runtime/private/foreign_helper.dart", + "dart:_foreign_helper", + "dart:_interceptors", + "org-dartlang-sdk:///lib/_internal/js_dev_runtime/private/interceptors.dart", + "org-dartlang-sdk:///lib/_internal/js_dev_runtime/private/js_array.dart", + "org-dartlang-sdk:///lib/_internal/js_dev_runtime/private/js_number.dart", + "org-dartlang-sdk:///lib/_internal/js_dev_runtime/private/js_string.dart", + "org-dartlang-sdk:///lib/internal/internal.dart", + "org-dartlang-sdk:///lib/internal/list.dart", + "org-dartlang-sdk:///lib/collection/list.dart", + "dart:collection", + "dart:_internal", + "org-dartlang-sdk:///lib/core/num.dart", + "org-dartlang-sdk:///lib/internal/async_cast.dart", + "org-dartlang-sdk:///lib/async/stream.dart", + "dart:async", + "org-dartlang-sdk:///lib/convert/converter.dart", + "dart:convert", + "org-dartlang-sdk:///lib/internal/bytes_builder.dart", + "org-dartlang-sdk:///lib/internal/cast.dart", + "org-dartlang-sdk:///lib/core/iterable.dart", + "org-dartlang-sdk:///lib/collection/maps.dart", + "org-dartlang-sdk:///lib/internal/errors.dart", + "org-dartlang-sdk:///lib/internal/iterable.dart", + "org-dartlang-sdk:///lib/internal/linked_list.dart", + "org-dartlang-sdk:///lib/collection/iterable.dart", + "org-dartlang-sdk:///lib/internal/sort.dart", + "org-dartlang-sdk:///lib/_internal/js_dev_runtime/patch/internal_patch.dart", + "org-dartlang-sdk:///lib/internal/symbol.dart", + "org-dartlang-sdk:///lib/_internal/js_dev_runtime/private/isolate_helper.dart", + "dart:_isolate_helper", + "dart:_js_helper", + "org-dartlang-sdk:///lib/_internal/js_dev_runtime/private/js_helper.dart", + "org-dartlang-sdk:///lib/_internal/js_dev_runtime/private/annotations.dart", + "org-dartlang-sdk:///lib/_internal/js_dev_runtime/private/linked_hash_map.dart", + "org-dartlang-sdk:///lib/_internal/js_dev_runtime/private/identity_hash_map.dart", + "org-dartlang-sdk:///lib/_internal/js_dev_runtime/private/custom_hash_map.dart", + "org-dartlang-sdk:///lib/_internal/js_dev_runtime/private/regexp_helper.dart", + "org-dartlang-sdk:///lib/_internal/js_dev_runtime/private/string_helper.dart", + "org-dartlang-sdk:///lib/_internal/js_dev_runtime/private/js_rti.dart", + "org-dartlang-sdk:///lib/_internal/js_dev_runtime/private/native_helper.dart", + "org-dartlang-sdk:///lib/_internal/js_dev_runtime/private/js_primitives.dart", + "org-dartlang-sdk:///lib/html/html_common/metadata.dart", + "dart:_metadata", + "org-dartlang-sdk:///lib/_internal/js_dev_runtime/private/native_typed_data.dart", + "dart:_native_typed_data", + "dart:typed_data", + "org-dartlang-sdk:///lib/_internal/js_dev_runtime/patch/async_patch.dart", + "org-dartlang-sdk:///lib/async/async_error.dart", + "org-dartlang-sdk:///lib/async/broadcast_stream_controller.dart", + "org-dartlang-sdk:///lib/async/stream_controller.dart", + "org-dartlang-sdk:///lib/async/stream_impl.dart", + "org-dartlang-sdk:///lib/async/deferred_load.dart", + "org-dartlang-sdk:///lib/async/future.dart", + "org-dartlang-sdk:///lib/async/future_impl.dart", + "org-dartlang-sdk:///lib/async/schedule_microtask.dart", + "org-dartlang-sdk:///lib/async/stream_pipe.dart", + "org-dartlang-sdk:///lib/async/stream_transformers.dart", + "org-dartlang-sdk:///lib/async/timer.dart", + "org-dartlang-sdk:///lib/async/zone.dart", + "org-dartlang-sdk:///lib/_internal/js_dev_runtime/patch/collection_patch.dart", + "org-dartlang-sdk:///lib/collection/set.dart", + "org-dartlang-sdk:///lib/collection/collections.dart", + "org-dartlang-sdk:///lib/collection/hash_map.dart", + "org-dartlang-sdk:///lib/collection/hash_set.dart", + "org-dartlang-sdk:///lib/collection/iterator.dart", + "org-dartlang-sdk:///lib/collection/linked_hash_map.dart", + "org-dartlang-sdk:///lib/collection/linked_hash_set.dart", + "org-dartlang-sdk:///lib/collection/linked_list.dart", + "org-dartlang-sdk:///lib/collection/queue.dart", + "org-dartlang-sdk:///lib/collection/splay_tree.dart", + "org-dartlang-sdk:///lib/_internal/js_dev_runtime/patch/convert_patch.dart", + "org-dartlang-sdk:///lib/convert/string_conversion.dart", + "org-dartlang-sdk:///lib/convert/ascii.dart", + "org-dartlang-sdk:///lib/convert/encoding.dart", + "org-dartlang-sdk:///lib/convert/codec.dart", + "org-dartlang-sdk:///lib/core/list.dart", + "org-dartlang-sdk:///lib/convert/byte_conversion.dart", + "org-dartlang-sdk:///lib/convert/base64.dart", + "org-dartlang-sdk:///lib/convert/chunked_conversion.dart", + "org-dartlang-sdk:///lib/convert/html_escape.dart", + "org-dartlang-sdk:///lib/convert/json.dart", + "org-dartlang-sdk:///lib/convert/latin1.dart", + "org-dartlang-sdk:///lib/convert/line_splitter.dart", + "org-dartlang-sdk:///lib/convert/utf.dart", + "org-dartlang-sdk:///lib/_internal/js_dev_runtime/patch/developer_patch.dart", + "dart:developer", + "org-dartlang-sdk:///lib/developer/extension.dart", + "org-dartlang-sdk:///lib/developer/profiler.dart", + "org-dartlang-sdk:///lib/developer/service.dart", + "org-dartlang-sdk:///lib/developer/timeline.dart", + "dart:io", + "org-dartlang-sdk:///lib/io/common.dart", + "org-dartlang-sdk:///lib/_internal/js_dev_runtime/patch/io_patch.dart", + "org-dartlang-sdk:///lib/io/data_transformer.dart", + "org-dartlang-sdk:///lib/io/directory.dart", + "org-dartlang-sdk:///lib/io/directory_impl.dart", + "org-dartlang-sdk:///lib/io/file_system_entity.dart", + "org-dartlang-sdk:///lib/io/embedder_config.dart", + "org-dartlang-sdk:///lib/io/file.dart", + "org-dartlang-sdk:///lib/io/file_impl.dart", + "org-dartlang-sdk:///lib/io/io_resource_info.dart", + "org-dartlang-sdk:///lib/io/io_sink.dart", + "org-dartlang-sdk:///lib/io/link.dart", + "org-dartlang-sdk:///lib/io/network_policy.dart", + "org-dartlang-sdk:///lib/io/network_profiling.dart", + "org-dartlang-sdk:///lib/io/overrides.dart", + "org-dartlang-sdk:///lib/io/platform_impl.dart", + "org-dartlang-sdk:///lib/io/process.dart", + "org-dartlang-sdk:///lib/io/secure_server_socket.dart", + "org-dartlang-sdk:///lib/io/secure_socket.dart", + "org-dartlang-sdk:///lib/io/socket.dart", + "org-dartlang-sdk:///lib/io/security_context.dart", + "org-dartlang-sdk:///lib/io/service_object.dart", + "org-dartlang-sdk:///lib/io/stdio.dart", + "org-dartlang-sdk:///lib/io/string_transformer.dart", + "org-dartlang-sdk:///lib/_internal/js_dev_runtime/patch/isolate_patch.dart", + "dart:isolate", + "org-dartlang-sdk:///lib/isolate/isolate.dart", + "org-dartlang-sdk:///lib/_internal/js_dev_runtime/patch/js_patch.dart", + "dart:js", + "org-dartlang-sdk:///lib/js/js.dart", + "org-dartlang-sdk:///lib/js_util/js_util.dart", + "dart:js_util", + "org-dartlang-sdk:///lib/_internal/js_dev_runtime/patch/math_patch.dart", + "dart:math", + "org-dartlang-sdk:///lib/math/point.dart", + "org-dartlang-sdk:///lib/math/rectangle.dart", + "org-dartlang-sdk:///lib/typed_data/typed_data.dart", + "org-dartlang-sdk:///lib/_internal/js_dev_runtime/patch/typed_data_patch.dart", + "org-dartlang-sdk:///lib/typed_data/unmodifiable_typed_data.dart", + "org-dartlang-sdk:///lib/indexed_db/dart2js/indexed_db_dart2js.dart", + "dart:indexed_db", + "org-dartlang-sdk:///lib/html/dart2js/html_dart2js.dart", + "dart:html", + "org-dartlang-sdk:///lib/html/html_common/css_class_set.dart", + "dart:html_common", + "org-dartlang-sdk:///lib/html/html_common/conversions.dart", + "org-dartlang-sdk:///lib/html/html_common/conversions_dart2js.dart", + "org-dartlang-sdk:///lib/html/html_common/device.dart", + "org-dartlang-sdk:///lib/html/html_common/filtered_element_list.dart", + "org-dartlang-sdk:///lib/html/html_common/lists.dart", + "org-dartlang-sdk:///lib/svg/dart2js/svg_dart2js.dart", + "dart:svg", + "org-dartlang-sdk:///lib/web_audio/dart2js/web_audio_dart2js.dart", + "dart:web_audio", + "dart:web_gl", + "org-dartlang-sdk:///lib/web_gl/dart2js/web_gl_dart2js.dart", + "org-dartlang-sdk:///lib/web_sql/dart2js/web_sql_dart2js.dart", + "dart:web_sql", + "org-dartlang-sdk:///lib/core/map.dart", + "org-dartlang-sdk:///lib/core/annotations.dart", + "org-dartlang-sdk:///lib/core/bool.dart", + "org-dartlang-sdk:///lib/core/comparable.dart", + "org-dartlang-sdk:///lib/core/date_time.dart", + "org-dartlang-sdk:///lib/core/duration.dart", + "org-dartlang-sdk:///lib/core/errors.dart", + "org-dartlang-sdk:///lib/core/exceptions.dart", + "org-dartlang-sdk:///lib/core/set.dart", + "org-dartlang-sdk:///lib/core/stacktrace.dart", + "org-dartlang-sdk:///lib/core/string.dart", + "org-dartlang-sdk:///lib/core/uri.dart", + "org-dartlang-sdk:///lib/_http/http.dart", + "dart:_http", + "org-dartlang-sdk:///lib/_http/crypto.dart", + "org-dartlang-sdk:///lib/_http/http_date.dart", + "org-dartlang-sdk:///lib/_http/http_headers.dart", + "org-dartlang-sdk:///lib/_http/http_impl.dart", + "org-dartlang-sdk:///lib/_http/http_parser.dart", + "org-dartlang-sdk:///lib/_http/http_session.dart", + "org-dartlang-sdk:///lib/_http/overrides.dart", + "org-dartlang-sdk:///lib/_http/websocket.dart", + "org-dartlang-sdk:///lib/_http/websocket_impl.dart" +]; +var _jsError$ = dart.privateName(dart, "_jsError"); +var _type$ = dart.privateName(dart, "_type"); +dart.applyMixin = function applyMixin(to, from) { + to[dart._mixin] = from; + let toProto = to.prototype; + let fromProto = from.prototype; + dart._copyMembers(toProto, fromProto); + dart._mixinSignature(to, from, dart._methodSig); + dart._mixinSignature(to, from, dart._fieldSig); + dart._mixinSignature(to, from, dart._getterSig); + dart._mixinSignature(to, from, dart._setterSig); + let mixinOnFn = from[dart.mixinOn]; + if (mixinOnFn != null) { + let proto = mixinOnFn(to.__proto__).prototype; + dart._copyMembers(toProto, proto); + } +}; +dart._copyMembers = function _copyMembers(to, from) { + let names = dart.getOwnNamesAndSymbols(from); + for (let i = 0, n = names.length; i < n; i = i + 1) { + let name = names[i]; + if (name === "constructor") continue; + dart._copyMember(to, from, name); + } + return to; +}; +dart._copyMember = function _copyMember(to, from, name) { + let desc = dart.getOwnPropertyDescriptor(from, name); + if (name == Symbol.iterator) { + let existing = dart.getOwnPropertyDescriptor(to, name); + if (existing != null) { + if (existing.writable) { + to[name] = desc.value; + } + return; + } + } + let getter = desc.get; + let setter = desc.set; + if (getter != null) { + if (setter == null) { + let obj = desc.set = { + __proto__: to.__proto__, + set [name](x) { + return super[name] = x; + } + }; + desc.set = dart.getOwnPropertyDescriptor(obj, name).set; + } + } else if (setter != null) { + if (getter == null) { + let obj = desc.get = { + __proto__: to.__proto__, + get [name]() { + return super[name]; + } + }; + desc.get = dart.getOwnPropertyDescriptor(obj, name).get; + } + } + dart.defineProperty(to, name, desc); +}; +dart._mixinSignature = function _mixinSignature(to, from, kind) { + to[kind] = () => { + let baseMembers = dart._getMembers(to.__proto__, kind); + let fromMembers = dart._getMembers(from, kind); + if (fromMembers == null) return baseMembers; + let toSignature = {__proto__: baseMembers}; + dart.copyProperties(toSignature, fromMembers); + return toSignature; + }; +}; +dart.getMixin = function getMixin(clazz) { + return Object.hasOwnProperty.call(clazz, dart._mixin) ? clazz[dart._mixin] : null; +}; +dart.getImplements = function getImplements(clazz) { + return Object.hasOwnProperty.call(clazz, dart.implements) ? clazz[dart.implements] : null; +}; +dart.normalizeFutureOr = function normalizeFutureOr(typeConstructor, setBaseClass) { + let genericFutureOrType = dart.generic(typeConstructor, setBaseClass); + function normalize(typeArg) { + if (typeArg == void 0) return dart.dynamic; + if (dart._isTop(typeArg) || typeArg === core.Object || typeArg instanceof dart.LegacyType && typeArg.type === core.Object) { + return typeArg; + } + if (typeArg === dart.Never) { + return async.Future$(typeArg); + } + if (typeArg === core.Null) { + return dart.nullable(async.Future$(typeArg)); + } + let genericType = genericFutureOrType(typeArg); + genericType[dart._originalDeclaration] = normalize; + dart.addTypeCaches(genericType); + function is_FutureOr(obj) { + return typeArg.is(obj) || async.Future$(typeArg).is(obj); + } + genericType.is = is_FutureOr; + function as_FutureOr(obj) { + if (obj == null && typeArg instanceof dart.LegacyType) { + return obj; + } + if (typeArg.is(obj) || async.Future$(typeArg).is(obj)) { + return obj; + } + return dart.as(obj, async.FutureOr$(typeArg)); + } + genericType.as = as_FutureOr; + return genericType; + } + return normalize; +}; +dart.generic = function generic(typeConstructor, setBaseClass) { + let length = typeConstructor.length; + if (length < 1) { + dart.throwInternalError('must have at least one generic type argument'); + } + let resultMap = new Map(); + function makeGenericType(...args) { + if (args.length != length && args.length != 0) { + dart.throwInternalError('requires ' + length + ' or 0 type arguments'); + } + while (args.length < length) + args.push(dart.dynamic); + let value = resultMap; + for (let i = 0; i < length; i++) { + let arg = args[i]; + if (arg == null) { + dart.throwInternalError('type arguments should not be null: ' + typeConstructor); + } + let map = value; + value = map.get(arg); + if (value === void 0) { + if (i + 1 == length) { + value = typeConstructor.apply(null, args); + if (value) { + value[dart._typeArguments] = args; + value[dart._originalDeclaration] = makeGenericType; + } + map.set(arg, value); + if (setBaseClass != null) setBaseClass.apply(null, args); + } else { + value = new Map(); + map.set(arg, value); + } + } + } + return value; + } + makeGenericType[dart._genericTypeCtor] = typeConstructor; + dart.addTypeCaches(makeGenericType); + return makeGenericType; +}; +dart.getGenericClass = function getGenericClass(type) { + return dart.safeGetOwnProperty(type, dart._originalDeclaration); +}; +dart.getGenericArgs = function getGenericArgs(type) { + return dart.safeGetOwnProperty(type, dart._typeArguments); +}; +dart.getGenericArgVariances = function getGenericArgVariances(type) { + return dart.safeGetOwnProperty(type, dart._variances); +}; +dart.setGenericArgVariances = function setGenericArgVariances(f, variances) { + return f[dart._variances] = variances; +}; +dart.getGenericTypeFormals = function getGenericTypeFormals(genericClass) { + return dart._typeFormalsFromFunction(dart.getGenericTypeCtor(genericClass)); +}; +dart.instantiateClass = function instantiateClass(genericClass, typeArgs) { + if (genericClass == null) dart.nullFailed(I[0], 287, 32, "genericClass"); + if (typeArgs == null) dart.nullFailed(I[0], 287, 59, "typeArgs"); + return genericClass.apply(null, typeArgs); +}; +dart.getConstructors = function getConstructors(value) { + return dart._getMembers(value, dart._constructorSig); +}; +dart.getMethods = function getMethods(value) { + return dart._getMembers(value, dart._methodSig); +}; +dart.getFields = function getFields(value) { + return dart._getMembers(value, dart._fieldSig); +}; +dart.getGetters = function getGetters(value) { + return dart._getMembers(value, dart._getterSig); +}; +dart.getSetters = function getSetters(value) { + return dart._getMembers(value, dart._setterSig); +}; +dart.getStaticMethods = function getStaticMethods(value) { + return dart._getMembers(value, dart._staticMethodSig); +}; +dart.getStaticFields = function getStaticFields(value) { + return dart._getMembers(value, dart._staticFieldSig); +}; +dart.getStaticGetters = function getStaticGetters(value) { + return dart._getMembers(value, dart._staticGetterSig); +}; +dart.getStaticSetters = function getStaticSetters(value) { + return dart._getMembers(value, dart._staticSetterSig); +}; +dart.getGenericTypeCtor = function getGenericTypeCtor(value) { + return value[dart._genericTypeCtor]; +}; +dart.getType = function getType(obj) { + if (obj == null) return core.Object; + let constructor = obj.constructor; + return constructor ? constructor : dart.global.Object.prototype.constructor; +}; +dart.getLibraryUri = function getLibraryUri(value) { + return value[dart._libraryUri]; +}; +dart.setLibraryUri = function setLibraryUri(f, uri) { + return f[dart._libraryUri] = uri; +}; +dart.isJsInterop = function isJsInterop(obj) { + if (obj == null) return false; + if (typeof obj === "function") { + return obj[dart._runtimeType] == null; + } + if (typeof obj !== "object") return false; + if (obj[dart._extensionType] != null) return false; + return !(obj instanceof core.Object); +}; +dart.getMethodType = function getMethodType(type, name) { + let m = dart.getMethods(type); + return m != null ? m[name] : null; +}; +dart.getSetterType = function getSetterType(type, name) { + let setters = dart.getSetters(type); + if (setters != null) { + let type = setters[name]; + if (type != null) { + return type; + } + } + let fields = dart.getFields(type); + if (fields != null) { + let fieldInfo = fields[name]; + if (fieldInfo != null && !fieldInfo.isFinal) { + return fieldInfo.type; + } + } + return null; +}; +dart.finalFieldType = function finalFieldType(type, metadata) { + return {type: type, isFinal: true, metadata: metadata}; +}; +dart.fieldType = function fieldType(type, metadata) { + return {type: type, isFinal: false, metadata: metadata}; +}; +dart.classGetConstructorType = function classGetConstructorType(cls, name) { + if (cls == null) return null; + if (name == null) name = "new"; + let ctors = dart.getConstructors(cls); + return ctors != null ? ctors[name] : null; +}; +dart.setMethodSignature = function setMethodSignature(f, sigF) { + return f[dart._methodSig] = sigF; +}; +dart.setFieldSignature = function setFieldSignature(f, sigF) { + return f[dart._fieldSig] = sigF; +}; +dart.setGetterSignature = function setGetterSignature(f, sigF) { + return f[dart._getterSig] = sigF; +}; +dart.setSetterSignature = function setSetterSignature(f, sigF) { + return f[dart._setterSig] = sigF; +}; +dart.setConstructorSignature = function setConstructorSignature(f, sigF) { + return f[dart._constructorSig] = sigF; +}; +dart.setStaticMethodSignature = function setStaticMethodSignature(f, sigF) { + return f[dart._staticMethodSig] = sigF; +}; +dart.setStaticFieldSignature = function setStaticFieldSignature(f, sigF) { + return f[dart._staticFieldSig] = sigF; +}; +dart.setStaticGetterSignature = function setStaticGetterSignature(f, sigF) { + return f[dart._staticGetterSig] = sigF; +}; +dart.setStaticSetterSignature = function setStaticSetterSignature(f, sigF) { + return f[dart._staticSetterSig] = sigF; +}; +dart._getMembers = function _getMembers(type, kind) { + let sig = type[kind]; + return typeof sig == "function" ? type[kind] = sig() : sig; +}; +dart._hasMember = function _hasMember(type, kind, name) { + let sig = dart._getMembers(type, kind); + return sig != null && name in sig; +}; +dart.hasMethod = function hasMethod(type, name) { + return dart._hasMember(type, dart._methodSig, name); +}; +dart.hasGetter = function hasGetter(type, name) { + return dart._hasMember(type, dart._getterSig, name); +}; +dart.hasSetter = function hasSetter(type, name) { + return dart._hasMember(type, dart._setterSig, name); +}; +dart.hasField = function hasField(type, name) { + return dart._hasMember(type, dart._fieldSig, name); +}; +dart._installProperties = function _installProperties(jsProto, dartType, installedParent) { + if (dartType === core.Object) { + dart._installPropertiesForObject(jsProto); + return; + } + let dartSupertype = dartType.__proto__; + if (dartSupertype !== installedParent) { + dart._installProperties(jsProto, dartSupertype, installedParent); + } + let dartProto = dartType.prototype; + dart.copyTheseProperties(jsProto, dartProto, dart.getOwnPropertySymbols(dartProto)); +}; +dart._installPropertiesForObject = function _installPropertiesForObject(jsProto) { + let coreObjProto = core.Object.prototype; + let names = dart.getOwnPropertyNames(coreObjProto); + for (let i = 0, n = names.length; i < n; i = i + 1) { + let name = names[i]; + if (name === "constructor") continue; + let desc = dart.getOwnPropertyDescriptor(coreObjProto, name); + dart.defineProperty(jsProto, dart.dartx[name], desc); + } +}; +dart._installPropertiesForGlobalObject = function _installPropertiesForGlobalObject(jsProto) { + dart._installPropertiesForObject(jsProto); + jsProto[dartx.toString] = function() { + return this.toString(); + }; + dart.identityEquals == null ? dart.identityEquals = jsProto[dartx._equals] : null; +}; +dart._applyExtension = function _applyExtension(jsType, dartExtType) { + if (jsType == null) return; + let jsProto = jsType.prototype; + if (jsProto == null) return; + if (dartExtType === core.Object) { + dart._installPropertiesForGlobalObject(jsProto); + return; + } + if (jsType === dart.global.Object) { + let extName = dartExtType.name; + dart._warn("Attempting to install properties from non-Object type '" + extName + "' onto the native JS Object."); + return; + } + dart._installProperties(jsProto, dartExtType, jsProto[dart._extensionType]); + if (dartExtType !== _interceptors.JSFunction) { + jsProto[dart._extensionType] = dartExtType; + } + jsType[dart._methodSig] = dartExtType[dart._methodSig]; + jsType[dart._fieldSig] = dartExtType[dart._fieldSig]; + jsType[dart._getterSig] = dartExtType[dart._getterSig]; + jsType[dart._setterSig] = dartExtType[dart._setterSig]; +}; +dart.applyExtension = function applyExtension(name, nativeObject) { + let dartExtType = dart._extensionMap.get(name); + let jsType = nativeObject.constructor; + dart._applyExtension(jsType, dartExtType); +}; +dart.applyAllExtensions = function applyAllExtensions(global) { + dart._extensionMap.forEach((dartExtType, name) => dart._applyExtension(global[name], dartExtType)); +}; +dart.registerExtension = function registerExtension(name, dartExtType) { + dart._extensionMap.set(name, dartExtType); + let jsType = dart.global[name]; + dart._applyExtension(jsType, dartExtType); +}; +dart.applyExtensionForTesting = function applyExtensionForTesting(name) { + let dartExtType = dart._extensionMap.get(name); + let jsType = dart.global[name]; + dart._applyExtension(jsType, dartExtType); +}; +dart.defineExtensionMethods = function defineExtensionMethods(type, memberNames) { + if (memberNames == null) dart.nullFailed(I[0], 563, 39, "memberNames"); + let proto = type.prototype; + for (let name of memberNames) { + proto[dartx[name]] = proto[name]; + } +}; +dart.defineExtensionAccessors = function defineExtensionAccessors(type, memberNames) { + if (memberNames == null) dart.nullFailed(I[0], 571, 46, "memberNames"); + let proto = type.prototype; + for (let name of memberNames) { + let member = null; + let p = proto; + for (;; p = p.__proto__) { + member = dart.getOwnPropertyDescriptor(p, name); + if (member != null) break; + } + dart.defineProperty(proto, dartx[name], member); + } +}; +dart.definePrimitiveHashCode = function definePrimitiveHashCode(proto) { + dart.defineProperty(proto, dart.identityHashCode_, dart.getOwnPropertyDescriptor(proto, $hashCode)); +}; +dart.setBaseClass = function setBaseClass(derived, base) { + derived.prototype.__proto__ = base.prototype; + derived.__proto__ = base; +}; +dart.setExtensionBaseClass = function setExtensionBaseClass(dartType, jsType) { + let dartProto = dartType.prototype; + dartProto[dart._extensionType] = dartType; + dartProto.__proto__ = jsType.prototype; +}; +dart.addTypeTests = function addTypeTests(ctor, isClass) { + if (isClass == null) isClass = Symbol("_is_" + ctor.name); + ctor.prototype[isClass] = true; + ctor.is = function is_C(obj) { + return obj != null && (obj[isClass] || dart.is(obj, this)); + }; + ctor.as = function as_C(obj) { + if (obj != null && obj[isClass]) return obj; + return dart.as(obj, this); + }; +}; +dart.addTypeCaches = function addTypeCaches(type) { + type[dart._cachedLegacy] = void 0; + type[dart._cachedNullable] = void 0; + let subtypeCacheMap = new Map(); + type[dart._subtypeCache] = subtypeCacheMap; + dart._cacheMaps.push(subtypeCacheMap); +}; +dart.argumentError = function argumentError(value) { + dart.throw(new core.ArgumentError.value(value)); +}; +dart.throwUnimplementedError = function throwUnimplementedError(message) { + if (message == null) dart.nullFailed(I[1], 16, 32, "message"); + dart.throw(new core.UnimplementedError.new(message)); +}; +dart.throwDeferredIsLoadedError = function throwDeferredIsLoadedError(enclosingLibrary, importPrefix) { + dart.throw(new _js_helper.DeferredNotLoadedError.new(enclosingLibrary, importPrefix)); +}; +dart.assertFailed = function assertFailed(message, fileUri = null, line = null, column = null, conditionSource = null) { + dart.throw(new _js_helper.AssertionErrorImpl.new(message, fileUri, line, column, conditionSource)); +}; +dart._checkModuleNullSafetyMode = function _checkModuleNullSafetyMode(isModuleSound) { + if (isModuleSound !== false) { + let sdkMode = false ? "sound" : "unsound"; + let moduleMode = isModuleSound ? "sound" : "unsound"; + dart.throw(new core.AssertionError.new("The null safety mode of the Dart SDK module " + "(" + sdkMode + ") does not match the null safety mode of this module " + "(" + moduleMode + ").")); + } +}; +dart._nullFailedMessage = function _nullFailedMessage(variableName) { + return "A null value was passed into a non-nullable parameter: " + dart.str(variableName) + "."; +}; +dart.nullFailed = function nullFailed(fileUri, line, column, variable) { + if (dart._nonNullAsserts) { + dart.throw(new _js_helper.AssertionErrorImpl.new(dart._nullFailedMessage(variable), fileUri, line, column, dart.str(variable) + " != null")); + } + let key = dart.str(fileUri) + ":" + dart.str(line) + ":" + dart.str(column); + if (!dart._nullFailedSet.has(key)) { + dart._nullFailedSet.add(key); + dart._nullWarn(dart._nullFailedMessage(variable)); + } +}; +dart.throwLateInitializationError = function throwLateInitializationError(name) { + if (name == null) dart.nullFailed(I[1], 66, 37, "name"); + dart.throw(new _internal.LateError.new(name)); +}; +dart.throwCyclicInitializationError = function throwCyclicInitializationError(field = null) { + dart.throw(new core.CyclicInitializationError.new(field)); +}; +dart.throwNullValueError = function throwNullValueError() { + dart.throw(new core.NoSuchMethodError.new(null, new _internal.Symbol.new(""), null, null)); +}; +dart.castError = function castError(obj, expectedType) { + let actualType = dart.getReifiedType(obj); + let message = dart._castErrorMessage(actualType, expectedType); + dart.throw(new _js_helper.TypeErrorImpl.new(message)); +}; +dart._castErrorMessage = function _castErrorMessage(from, to) { + return "Expected a value of type '" + dart.typeName(to) + "', " + "but got one of type '" + dart.typeName(from) + "'"; +}; +dart.getThrown = function getThrown(error) { + if (error != null) { + let value = error[dart._thrownValue]; + if (value != null) return value; + } + return error; +}; +dart.stackTrace = function stackTrace(error) { + if (!(error instanceof Error)) { + return new dart._StackTrace.missing(error); + } + let trace = error[dart._stackTrace]; + if (trace != null) return trace; + return error[dart._stackTrace] = new dart._StackTrace.new(error); +}; +dart.stackTraceForError = function stackTraceForError(error) { + if (error == null) dart.nullFailed(I[1], 164, 37, "error"); + return dart.stackTrace(error[dart._jsError]); +}; +dart.rethrow = function rethrow_(error) { + if (error == null) dart.nullFailed(I[1], 173, 22, "error"); + throw error; +}; +dart.throw = function throw_(exception) { + throw new dart.DartError(exception); +}; +dart.createErrorWithStack = function createErrorWithStack(exception, trace) { + if (exception == null) dart.nullFailed(I[1], 256, 37, "exception"); + if (trace == null) { + let error = exception[dart._jsError]; + return error != null ? error : new dart.DartError(exception); + } + if (dart._StackTrace.is(trace)) { + let originalError = trace[_jsError$]; + if (core.identical(exception, dart.getThrown(originalError))) { + return originalError; + } + } + return new dart.RethrownDartError(exception, trace); +}; +dart.stackPrint = function stackPrint(error) { + if (error == null) dart.nullFailed(I[1], 274, 24, "error"); + console.log(error.stack ? error.stack : "No stack trace for: " + error); +}; +dart.bind = function bind(obj, name, method) { + if (obj == null) obj = _interceptors.jsNull; + if (method == null) method = obj[name]; + let f = method.bind(obj); + f._boundObject = obj; + f._boundMethod = method; + f[dart._runtimeType] = dart.getMethodType(dart.getType(obj), name); + return f; +}; +dart.bindCall = function bindCall(obj, name) { + if (obj == null) return null; + let ftype = dart.getMethodType(dart.getType(obj), name); + if (ftype == null) return null; + let method = obj[name]; + let f = method.bind(obj); + f._boundObject = obj; + f._boundMethod = method; + f[dart._runtimeType] = ftype; + return f; +}; +dart.gbind = function gbind(f, ...typeArgs) { + if (typeArgs == null) dart.nullFailed(I[2], 85, 29, "typeArgs"); + let type = f[dart._runtimeType]; + type.checkBounds(typeArgs); + let result = (...args) => f.apply(null, typeArgs.concat(args)); + return dart.fn(result, type.instantiate(typeArgs)); +}; +dart.dloadRepl = function dloadRepl(obj, field) { + return dart.dload(obj, dart.replNameLookup(obj, field)); +}; +dart.dload = function dload(obj, field) { + if (typeof obj == "function" && field == "call") { + return obj; + } + let f = dart._canonicalMember(obj, field); + _debugger.trackCall(obj); + if (f != null) { + let type = dart.getType(obj); + if (dart.test(dart.hasField(type, f)) || dart.test(dart.hasGetter(type, f))) return obj[f]; + if (dart.test(dart.hasMethod(type, f))) return dart.bind(obj, f, null); + if (dart.test(dart.isJsInterop(obj))) return obj[f]; + } + return dart.noSuchMethod(obj, new dart.InvocationImpl.new(field, [], {isGetter: true})); +}; +dart._stripGenericArguments = function _stripGenericArguments(type) { + let genericClass = dart.getGenericClass(type); + if (genericClass != null) return genericClass(); + return type; +}; +dart.dputRepl = function dputRepl(obj, field, value) { + return dart.dput(obj, dart.replNameLookup(obj, field), value); +}; +dart.dput = function dput(obj, field, value) { + let f = dart._canonicalMember(obj, field); + _debugger.trackCall(obj); + if (f != null) { + let setterType = dart.getSetterType(dart.getType(obj), f); + if (setterType != null) { + return obj[f] = setterType.as(value); + } + if (dart.test(dart.isJsInterop(obj))) return obj[f] = value; + } + dart.noSuchMethod(obj, new dart.InvocationImpl.new(field, [value], {isSetter: true})); + return value; +}; +dart._argumentErrors = function _argumentErrors(type, actuals, namedActuals) { + if (type == null) dart.nullFailed(I[2], 147, 38, "type"); + if (actuals == null) dart.nullFailed(I[2], 147, 49, "actuals"); + let actualsCount = actuals.length; + let required = type.args; + let requiredCount = required.length; + if (actualsCount < requiredCount) { + return "Dynamic call with too few arguments. " + "Expected: " + dart.str(requiredCount) + " Actual: " + dart.str(actualsCount); + } + let extras = actualsCount - requiredCount; + let optionals = type.optionals; + if (extras > optionals.length) { + return "Dynamic call with too many arguments. " + "Expected: " + dart.str(requiredCount) + " Actual: " + dart.str(actualsCount); + } + let names = null; + let named = type.named; + let requiredNamed = type.requiredNamed; + if (namedActuals != null) { + names = dart.getOwnPropertyNames(namedActuals); + for (let name of names) { + if (!(named.hasOwnProperty(name) || requiredNamed.hasOwnProperty(name))) { + return "Dynamic call with unexpected named argument '" + dart.str(name) + "'."; + } + } + } + let requiredNames = dart.getOwnPropertyNames(requiredNamed); + if (dart.test(requiredNames[$isNotEmpty])) { + let missingRequired = namedActuals == null ? requiredNames : requiredNames[$where](name => !namedActuals.hasOwnProperty(name)); + if (dart.test(missingRequired[$isNotEmpty])) { + let error = "Dynamic call with missing required named arguments: " + dart.str(missingRequired[$join](", ")) + "."; + if (!false) { + dart._nullWarn(error); + } else { + return error; + } + } + } + for (let i = 0; i < requiredCount; i = i + 1) { + required[i].as(actuals[i]); + } + for (let i = 0; i < extras; i = i + 1) { + optionals[i].as(actuals[i + requiredCount]); + } + if (names != null) { + for (let name of names) { + (named[name] || requiredNamed[name]).as(namedActuals[name]); + } + } + return null; +}; +dart._toSymbolName = function _toSymbolName(symbol) { + let str = symbol.toString(); + return str.substring(7, str.length - 1); +}; +dart._toDisplayName = function _toDisplayName(name) { + if (name[0] === '_') { + switch (name) { + case '_get': + { + return '[]'; + } + case '_set': + { + return '[]='; + } + case '_negate': + { + return 'unary-'; + } + case '_constructor': + case '_prototype': + { + return name.substring(1); + } + } + } + return name; +}; +dart._dartSymbol = function _dartSymbol(name) { + return typeof name === "symbol" ? dart.const(new _js_helper.PrivateSymbol.new(dart._toSymbolName(name), name)) : dart.const(new _internal.Symbol.new(dart._toDisplayName(name))); +}; +dart._setterSymbol = function _setterSymbol(name) { + return typeof name === "symbol" ? dart.const(new _js_helper.PrivateSymbol.new(dart._toSymbolName(name) + "=", name)) : dart.const(new _internal.Symbol.new(dart._toDisplayName(name) + "=")); +}; +dart._checkAndCall = function _checkAndCall(f, ftype, obj, typeArgs, args, named, displayName) { + _debugger.trackCall(obj); + let originalTarget = obj === void 0 ? f : obj; + function callNSM(errorMessage) { + return dart.noSuchMethod(originalTarget, new dart.InvocationImpl.new(displayName, args, {namedArguments: named, typeArguments: typeArgs || [], isMethod: true, failureMessage: errorMessage})); + } + if (f == null) return callNSM('Dynamic call of null.'); + if (!(f instanceof Function)) { + if (f != null) { + originalTarget = f; + f = dart.bindCall(f, dart._canonicalMember(f, "call")); + ftype = null; + displayName = "call"; + } + if (f == null) return callNSM("Dynamic call of object has no instance method 'call'."); + } + if (ftype == null) ftype = f[dart._runtimeType]; + if (ftype == null) { + if (typeArgs != null) { + dart.throwTypeError('call to JS object `' + obj + '` with type arguments <' + typeArgs + '> is not supported.'); + } + if (named != null) args.push(named); + return f.apply(obj, args); + } + if (ftype instanceof dart.GenericFunctionType) { + let formalCount = ftype.formalCount; + if (typeArgs == null) { + typeArgs = ftype.instantiateDefaultBounds(); + } else if (typeArgs.length != formalCount) { + return callNSM('Dynamic call with incorrect number of type arguments. ' + 'Expected: ' + formalCount + ' Actual: ' + typeArgs.length); + } else { + ftype.checkBounds(typeArgs); + } + ftype = ftype.instantiate(typeArgs); + } else if (typeArgs != null) { + return callNSM('Dynamic call with unexpected type arguments. ' + 'Expected: 0 Actual: ' + typeArgs.length); + } + let errorMessage = dart._argumentErrors(ftype, args, named); + if (errorMessage == null) { + if (typeArgs != null) args = typeArgs.concat(args); + if (named != null) args.push(named); + return f.apply(obj, args); + } + return callNSM(errorMessage); +}; +dart.dcall = function dcall(f, args, named = null) { + return dart._checkAndCall(f, null, void 0, null, args, named, f.name); +}; +dart.dgcall = function dgcall(f, typeArgs, args, named = null) { + return dart._checkAndCall(f, null, void 0, typeArgs, args, named, f.name || 'call'); +}; +dart.replNameLookup = function replNameLookup(object, field) { + let rawField = field; + if (typeof field == 'symbol') { + if (field in object) return field; + field = field.toString(); + field = field.substring('Symbol('.length, field.length - 1); + } else if (field.charAt(0) != '_') { + return field; + } + if (field in object) return field; + let proto = object; + while (proto !== null) { + let symbols = Object.getOwnPropertySymbols(proto); + let target = 'Symbol(' + field + ')'; + for (let s = 0; s < symbols.length; s++) { + let sym = symbols[s]; + if (target == sym.toString()) return sym; + } + proto = proto.__proto__; + } + return rawField; +}; +dart.callMethod = function callMethod(obj, name, typeArgs, args, named, displayName) { + if (typeof obj == "function" && name == "call") { + return dart.dgcall(obj, typeArgs, args, named); + } + let symbol = dart._canonicalMember(obj, name); + if (symbol == null) { + return dart.noSuchMethod(obj, new dart.InvocationImpl.new(displayName, T$.ListOfObjectN().as(args), {isMethod: true})); + } + let f = obj != null ? obj[symbol] : null; + let type = dart.getType(obj); + let ftype = dart.getMethodType(type, symbol); + return dart._checkAndCall(f, ftype, obj, typeArgs, args, named, displayName); +}; +dart.dsend = function dsend(obj, method, args, named = null) { + return dart.callMethod(obj, method, null, args, named, method); +}; +dart.dgsend = function dgsend(obj, typeArgs, method, args, named = null) { + return dart.callMethod(obj, method, typeArgs, args, named, method); +}; +dart.dsendRepl = function dsendRepl(obj, method, args, named = null) { + return dart.callMethod(obj, dart.replNameLookup(obj, method), null, args, named, method); +}; +dart.dgsendRepl = function dgsendRepl(obj, typeArgs, method, args, named = null) { + return dart.callMethod(obj, dart.replNameLookup(obj, method), typeArgs, args, named, method); +}; +dart.dindex = function dindex(obj, index) { + return dart.callMethod(obj, "_get", null, [index], null, "[]"); +}; +dart.dsetindex = function dsetindex(obj, index, value) { + return dart.callMethod(obj, "_set", null, [index, value], null, "[]="); +}; +dart.is = function instanceOf(obj, type) { + if (obj == null) { + return type === core.Null || dart._isTop(type) || type instanceof dart.NullableType; + } + return dart.isSubtypeOf(dart.getReifiedType(obj), type); +}; +dart.as = function cast(obj, type) { + if (obj == null && !false) { + dart._nullWarnOnType(type); + return obj; + } else { + let actual = dart.getReifiedType(obj); + if (dart.isSubtypeOf(actual, type)) return obj; + } + return dart.castError(obj, type); +}; +dart.test = function test(obj) { + if (obj == null) dart.throw(new _js_helper.BooleanConversionAssertionError.new()); + return obj; +}; +dart.dtest = function dtest(obj) { + if (!(typeof obj == 'boolean')) { + dart.booleanConversionFailed(false ? obj : dart.test(T$.boolN().as(obj))); + dart.throw(new _internal.ReachabilityError.new("`null` encountered as the result from expression with type `Never`.")); + } + return obj; +}; +dart.booleanConversionFailed = function booleanConversionFailed(obj) { + let actual = dart.typeName(dart.getReifiedType(obj)); + dart.throw(new _js_helper.TypeErrorImpl.new("type '" + actual + "' is not a 'bool' in boolean expression")); +}; +dart.asInt = function asInt(obj) { + if (Math.floor(obj) != obj) { + if (obj == null && !false) { + dart._nullWarnOnType(core.int); + return null; + } else { + dart.castError(obj, core.int); + } + } + return obj; +}; +dart.asNullableInt = function asNullableInt(obj) { + return obj == null ? null : dart.asInt(obj); +}; +dart.notNull = function _notNull(x) { + if (x == null) dart.throwNullValueError(); + return x; +}; +dart.nullCast = function nullCast(x, type) { + if (x == null) { + if (!false) { + dart._nullWarnOnType(type); + } else { + dart.castError(x, type); + } + } + return x; +}; +dart.nullCheck = function nullCheck(x) { + if (x == null) dart.throw(new _js_helper.TypeErrorImpl.new("Unexpected null value.")); + return x; +}; +dart._lookupNonTerminal = function _lookupNonTerminal(map, key) { + if (map == null) dart.nullFailed(I[2], 529, 34, "map"); + let result = map.get(key); + if (result != null) return result; + map.set(key, result = new Map()); + return dart.nullCheck(result); +}; +dart.constMap = function constMap(K, V, elements) { + if (elements == null) dart.nullFailed(I[2], 536, 34, "elements"); + let count = elements[$length]; + let map = dart._lookupNonTerminal(dart.constantMaps, count); + for (let i = 0; i < count; i = i + 1) { + map = dart._lookupNonTerminal(map, elements[i]); + } + map = dart._lookupNonTerminal(map, dart.wrapType(K)); + let result = map.get(V); + if (result != null) return result; + result = new (_js_helper.ImmutableMap$(K, V)).from(elements); + map.set(V, result); + return result; +}; +dart._createImmutableSet = function _createImmutableSet(E, elements) { + if (elements == null) dart.nullFailed(I[2], 554, 42, "elements"); + dart._immutableSetConstructor == null ? dart._immutableSetConstructor = dart.getLibrary("dart:collection")._ImmutableSet$ : null; + return new (dart._immutableSetConstructor(E)).from(elements); +}; +dart.constSet = function constSet(E, elements) { + if (elements == null) dart.nullFailed(I[2], 560, 31, "elements"); + let count = elements[$length]; + let map = dart._lookupNonTerminal(dart.constantSets, count); + for (let i = 0; i < count; i = i + 1) { + map = dart._lookupNonTerminal(map, elements[i]); + } + let result = map.get(E); + if (result != null) return result; + result = dart._createImmutableSet(E, elements); + map.set(E, result); + return result; +}; +dart.multiKeyPutIfAbsent = function multiKeyPutIfAbsent(map, keys, valueFn) { + for (let k of keys) { + let value = map.get(k); + if (!value) { + map.set(k, value = new Map()); + } + map = value; + } + if (map.has(dart._value)) return map.get(dart._value); + let value = valueFn(); + map.set(dart._value, value); + return value; +}; +dart.const = function const_(obj) { + let names = dart.getOwnNamesAndSymbols(obj); + let count = names.length; + let map = dart._lookupNonTerminal(dart.constants, count); + for (let i = 0; i < count; i++) { + let name = names[i]; + map = dart._lookupNonTerminal(map, name); + map = dart._lookupNonTerminal(map, obj[name]); + } + let type = dart.getReifiedType(obj); + let value = map.get(type); + if (value) return value; + map.set(type, obj); + return obj; +}; +dart.constList = function constList(elements, elementType) { + let count = elements.length; + let map = dart._lookupNonTerminal(dart.constantLists, count); + for (let i = 0; i < count; i++) { + map = dart._lookupNonTerminal(map, elements[i]); + } + let value = map.get(elementType); + if (value) return value; + _interceptors.JSArray$(elementType).unmodifiable(elements); + map.set(elementType, elements); + return elements; +}; +dart.constFn = function constFn(x) { + return () => x; +}; +dart.extensionSymbol = function extensionSymbol(name) { + if (name == null) dart.nullFailed(I[2], 678, 24, "name"); + return dartx[name]; +}; +dart.equals = function equals(x, y) { + return x == null ? y == null : x[$_equals](y); +}; +dart.hashCode = function hashCode(obj) { + return obj == null ? 0 : obj[$hashCode]; +}; +dart.toString = function _toString(obj) { + if (obj == null) return "null"; + if (typeof obj == 'string') return obj; + return obj[$toString](); +}; +dart.str = function str(obj) { + if (obj == null) return "null"; + if (typeof obj == 'string') return obj; + return core.String.as(dart.notNull(obj[$toString]())); +}; +dart.noSuchMethod = function noSuchMethod(obj, invocation) { + if (invocation == null) dart.nullFailed(I[2], 714, 30, "invocation"); + if (obj == null) dart.defaultNoSuchMethod(obj, invocation); + return obj[$noSuchMethod](invocation); +}; +dart.defaultNoSuchMethod = function defaultNoSuchMethod(obj, i) { + if (i == null) dart.nullFailed(I[2], 720, 37, "i"); + dart.throw(new core.NoSuchMethodError._withInvocation(obj, i)); +}; +dart.runtimeType = function runtimeType(obj) { + return obj == null ? dart.wrapType(core.Null) : obj[dartx.runtimeType]; +}; +dart._canonicalMember = function _canonicalMember(obj, name) { + if (typeof name === "symbol") return name; + if (obj != null && obj[dart._extensionType] != null) { + return dartx[name]; + } + if (name == "constructor" || name == "prototype") { + name = "+" + name; + } + return name; +}; +dart.loadLibrary = function loadLibrary(enclosingLibrary, importPrefix) { + let result = dart.deferredImports.get(enclosingLibrary); + if (dart.test(result === void 0)) { + dart.deferredImports.set(enclosingLibrary, result = new Set()); + } + result.add(importPrefix); + return async.Future.value(); +}; +dart.checkDeferredIsLoaded = function checkDeferredIsLoaded(enclosingLibrary, importPrefix) { + let loaded = dart.deferredImports.get(enclosingLibrary); + if (dart.test(loaded === void 0) || dart.test(!loaded.has(importPrefix))) { + dart.throwDeferredIsLoadedError(enclosingLibrary, importPrefix); + } +}; +dart.defineLazy = function defineLazy(to, from, useOldSemantics) { + if (useOldSemantics == null) dart.nullFailed(I[2], 795, 32, "useOldSemantics"); + for (let name of dart.getOwnNamesAndSymbols(from)) { + if (dart.test(useOldSemantics)) { + dart.defineLazyFieldOld(to, name, dart.getOwnPropertyDescriptor(from, name)); + } else { + dart.defineLazyField(to, name, dart.getOwnPropertyDescriptor(from, name)); + } + } +}; +dart.defineLazyField = function defineLazyField(to, name, desc) { + const initializer = desc.get; + const final = desc.set == null; + let initialized = false; + let init = initializer; + let value = null; + let savedLocals = false; + desc.get = function() { + if (init == null) return value; + if (final && initialized) dart.throwLateInitializationError(name); + if (!savedLocals) { + dart._resetFields.push(() => { + init = initializer; + value = null; + savedLocals = false; + initialized = false; + }); + savedLocals = true; + } + initialized = true; + try { + value = init(); + } catch (e) { + initialized = false; + throw e; + } + init = null; + return value; + }; + desc.configurable = true; + if (desc.set != null) { + desc.set = function(x) { + init = null; + value = x; + }; + } + return dart.defineProperty(to, name, desc); +}; +dart.defineLazyFieldOld = function defineLazyFieldOld(to, name, desc) { + const initializer = desc.get; + let init = initializer; + let value = null; + desc.get = function() { + if (init == null) return value; + let f = init; + init = dart.throwCyclicInitializationError; + if (f === init) f(name); + dart._resetFields.push(() => { + init = initializer; + value = null; + }); + try { + value = f(); + init = null; + return value; + } catch (e) { + init = null; + value = null; + throw e; + } + }; + desc.configurable = true; + if (desc.set != null) { + desc.set = function(x) { + init = null; + value = x; + }; + } + return dart.defineProperty(to, name, desc); +}; +dart.checkNativeNonNull = function checkNativeNonNull(variable) { + if (dart._nativeNonNullAsserts && variable == null) { + dart.throw(new _js_helper.TypeErrorImpl.new(" Unexpected null value encountered in Dart web platform libraries.\n This may be a bug in the Dart SDK APIs. If you would like to report a bug\n or disable this error, you can use the following instructions:\n https://github.com/dart-lang/sdk/tree/master/sdk/lib/html/doc/NATIVE_NULL_ASSERTIONS.md\n ")); + } + return variable; +}; +dart.fn = function fn(closure, type) { + closure[dart._runtimeType] = type; + return closure; +}; +dart.lazyFn = function lazyFn(closure, computeType) { + if (computeType == null) dart.nullFailed(I[3], 63, 35, "computeType"); + dart.defineAccessor(closure, dart._runtimeType, { + get: () => dart.defineValue(closure, dart._runtimeType, computeType()), + set: value => dart.defineValue(closure, dart._runtimeType, value), + configurable: true + }); + return closure; +}; +dart.getFunctionType = function getFunctionType(obj) { + let args = Array(obj.length).fill(dart.dynamic); + return dart.fnType(dart.bottom, args, void 0); +}; +dart.getReifiedType = function getReifiedType(obj) { + switch (typeof obj) { + case "object": + { + if (obj == null) return core.Null; + if (obj instanceof core.Object) { + return obj.constructor; + } + let result = obj[dart._extensionType]; + if (result == null) return dart.jsobject; + return result; + } + case "function": + { + let result = obj[dart._runtimeType]; + if (result != null) return result; + return dart.jsobject; + } + case "undefined": + { + return core.Null; + } + case "number": + { + return Math.floor(obj) == obj ? core.int : core.double; + } + case "boolean": + { + return core.bool; + } + case "string": + { + return core.String; + } + case "symbol": + default: + { + return dart.jsobject; + } + } +}; +dart.getModuleName = function getModuleName(module) { + if (module == null) dart.nullFailed(I[3], 117, 30, "module"); + return module[dart._moduleName]; +}; +dart.getModuleNames = function getModuleNames() { + return Array.from(dart._loadedModules.keys()); +}; +dart.getSourceMap = function getSourceMap(moduleName) { + if (moduleName == null) dart.nullFailed(I[3], 127, 29, "moduleName"); + return dart._loadedSourceMaps.get(moduleName); +}; +dart.getModuleLibraries = function getModuleLibraries(name) { + if (name == null) dart.nullFailed(I[3], 132, 27, "name"); + let module = dart._loadedModules.get(name); + if (module == null) return null; + module[dart._moduleName] = name; + return module; +}; +dart.getModulePartMap = function getModulePartMap(name) { + if (name == null) dart.nullFailed(I[3], 140, 25, "name"); + return dart._loadedPartMaps.get(name); +}; +dart.trackLibraries = function trackLibraries(moduleName, libraries, parts, sourceMap) { + if (moduleName == null) dart.nullFailed(I[3], 144, 12, "moduleName"); + if (libraries == null) dart.nullFailed(I[3], 144, 31, "libraries"); + if (parts == null) dart.nullFailed(I[3], 144, 49, "parts"); + if (typeof parts == 'string') { + sourceMap = parts; + parts = {}; + } + dart._loadedSourceMaps.set(moduleName, sourceMap); + dart._loadedModules.set(moduleName, libraries); + dart._loadedPartMaps.set(moduleName, parts); + dart._libraries = null; + dart._libraryObjects = null; + dart._parts = null; +}; +dart._computeLibraryMetadata = function _computeLibraryMetadata() { + dart._libraries = T$.JSArrayOfString().of([]); + dart._libraryObjects = new (T$.IdentityMapOfString$ObjectN()).new(); + dart._parts = new (T$.IdentityMapOfString$ListNOfString()).new(); + let modules = dart.getModuleNames(); + for (let name of modules) { + let module = dart.getModuleLibraries(name); + let libraries = dart.getOwnPropertyNames(module)[$cast](core.String); + dart.nullCheck(dart._libraries)[$addAll](libraries); + for (let library of libraries) { + dart.nullCheck(dart._libraryObjects)[$_set](library, module[library]); + } + let partMap = dart.getModulePartMap(name); + libraries = dart.getOwnPropertyNames(partMap)[$cast](core.String); + for (let library of libraries) { + dart.nullCheck(dart._parts)[$_set](library, T$.ListOfString().from(partMap[library])); + } + } +}; +dart.getLibrary = function getLibrary(uri) { + if (uri == null) dart.nullFailed(I[3], 192, 27, "uri"); + if (dart._libraryObjects == null) { + dart._computeLibraryMetadata(); + } + return dart.nullCheck(dart._libraryObjects)[$_get](uri); +}; +dart.getLibraries = function getLibraries() { + if (dart._libraries == null) { + dart._computeLibraryMetadata(); + } + return dart.nullCheck(dart._libraries); +}; +dart.getParts = function getParts(libraryUri) { + let t0; + if (libraryUri == null) dart.nullFailed(I[3], 222, 30, "libraryUri"); + if (dart._parts == null) { + dart._computeLibraryMetadata(); + } + t0 = dart.nullCheck(dart._parts)[$_get](libraryUri); + return t0 == null ? T$.JSArrayOfString().of([]) : t0; +}; +dart.polyfill = function polyfill(window) { + if (window[dart._polyfilled]) return false; + window[dart._polyfilled] = true; + if (typeof window.NodeList !== "undefined") { + window.NodeList.prototype.get = function(i) { + return this[i]; + }; + window.NamedNodeMap.prototype.get = function(i) { + return this[i]; + }; + window.DOMTokenList.prototype.get = function(i) { + return this[i]; + }; + window.HTMLCollection.prototype.get = function(i) { + return this[i]; + }; + if (typeof window.PannerNode == "undefined") { + let audioContext; + if (typeof window.AudioContext == "undefined" && typeof window.webkitAudioContext != "undefined") { + audioContext = new window.webkitAudioContext(); + } else { + audioContext = new window.AudioContext(); + window.StereoPannerNode = audioContext.createStereoPanner().constructor; + } + window.PannerNode = audioContext.createPanner().constructor; + } + if (typeof window.AudioSourceNode == "undefined") { + window.AudioSourceNode = MediaElementAudioSourceNode.__proto__; + } + if (typeof window.FontFaceSet == "undefined") { + if (typeof window.document.fonts != "undefined") { + window.FontFaceSet = window.document.fonts.__proto__.constructor; + } + } + if (typeof window.MemoryInfo == "undefined") { + if (typeof window.performance.memory != "undefined") { + window.MemoryInfo = function() { + }; + window.MemoryInfo.prototype = window.performance.memory.__proto__; + } + } + if (typeof window.Geolocation == "undefined") { + window.Geolocation == window.navigator.geolocation.constructor; + } + if (typeof window.Animation == "undefined") { + let d = window.document.createElement('div'); + if (typeof d.animate != "undefined") { + window.Animation = d.animate(d).constructor; + } + } + if (typeof window.SourceBufferList == "undefined") { + if ('MediaSource' in window) { + window.SourceBufferList = new window.MediaSource().sourceBuffers.constructor; + } + } + if (typeof window.SpeechRecognition == "undefined") { + window.SpeechRecognition = window.webkitSpeechRecognition; + window.SpeechRecognitionError = window.webkitSpeechRecognitionError; + window.SpeechRecognitionEvent = window.webkitSpeechRecognitionEvent; + } + } + return true; +}; +dart.trackProfile = function trackProfile(flag) { + if (flag == null) dart.nullFailed(I[4], 141, 24, "flag"); + dart.__trackProfile = flag; +}; +dart.setStartAsyncSynchronously = function setStartAsyncSynchronously(value = true) { + if (value == null) dart.nullFailed(I[4], 166, 39, "value"); + dart.startAsyncSynchronously = value; +}; +dart.hotRestart = function hotRestart() { + dart.hotRestartIteration = dart.notNull(dart.hotRestartIteration) + 1; + for (let f of dart._resetFields) + f(); + dart._resetFields[$clear](); + for (let m of dart._cacheMaps) + m.clear(); + dart._cacheMaps[$clear](); + dart._nullComparisonSet.clear(); + dart.constantMaps.clear(); + dart.deferredImports.clear(); +}; +dart._throwInvalidFlagError = function _throwInvalidFlagError(message) { + if (message == null) dart.nullFailed(I[5], 15, 31, "message"); + return dart.throw(new core.UnsupportedError.new("Invalid flag combination.\n" + dart.str(message))); +}; +dart.weakNullSafetyWarnings = function weakNullSafetyWarnings(showWarnings) { + if (showWarnings == null) dart.nullFailed(I[5], 25, 34, "showWarnings"); + if (dart.test(showWarnings) && false) { + dart._throwInvalidFlagError("Null safety violations cannot be shown as warnings when running with " + "sound null safety."); + } + dart._weakNullSafetyWarnings = showWarnings; +}; +dart.weakNullSafetyErrors = function weakNullSafetyErrors(showErrors) { + if (showErrors == null) dart.nullFailed(I[5], 42, 32, "showErrors"); + if (dart.test(showErrors) && false) { + dart._throwInvalidFlagError("Null safety violations are already thrown as errors when running with " + "sound null safety."); + } + if (dart.test(showErrors) && dart._weakNullSafetyWarnings) { + dart._throwInvalidFlagError("Null safety violations can be shown as warnings or thrown as errors, " + "not both."); + } + dart._weakNullSafetyErrors = showErrors; +}; +dart.nonNullAsserts = function nonNullAsserts(enable) { + if (enable == null) dart.nullFailed(I[5], 66, 26, "enable"); + dart._nonNullAsserts = enable; +}; +dart.nativeNonNullAsserts = function nativeNonNullAsserts(enable) { + if (enable == null) dart.nullFailed(I[5], 78, 32, "enable"); + dart._nativeNonNullAsserts = enable; +}; +dart._isJsObject = function _isJsObject(obj) { + return dart.getReifiedType(obj) === dart.jsobject; +}; +dart.assertInterop = function assertInterop(f) { + if (f == null) dart.nullFailed(I[5], 164, 39, "f"); + if (!(dart._isJsObject(f) || !(f instanceof dart.global.Function))) dart.assertFailed("Dart function requires `allowInterop` to be passed to JavaScript.", I[5], 166, 7, "_isJsObject(f) ||\n !JS('bool', '# instanceof #.Function', f, global_)"); + return f; +}; +dart.isDartFunction = function isDartFunction(obj) { + return obj instanceof Function && obj[dart._runtimeType] != null; +}; +dart.tearoffInterop = function tearoffInterop(f) { + if (!dart._isJsObject(f) || f == null) return f; + let ret = dart._assertInteropExpando._get(f); + if (ret == null) { + ret = function(...arguments$) { + var args = arguments$.map(dart.assertInterop); + return f.apply(this, args); + }; + dart._assertInteropExpando._set(f, ret); + } + return ret; +}; +dart._warn = function _warn(arg) { + console.warn(arg); +}; +dart._nullWarn = function _nullWarn(message) { + if (dart._weakNullSafetyWarnings) { + dart._warn(dart.str(message) + "\n" + "This will become a failure when runtime null safety is enabled."); + } else if (dart._weakNullSafetyErrors) { + dart.throw(new _js_helper.TypeErrorImpl.new(core.String.as(message))); + } +}; +dart._nullWarnOnType = function _nullWarnOnType(type) { + let result = dart._nullComparisonSet.has(type); + if (!dart.test(result)) { + dart._nullComparisonSet.add(type); + dart._nullWarn("Null is not a subtype of " + dart.str(type) + "."); + } +}; +dart.lazyJSType = function lazyJSType(getJSTypeCallback, name) { + if (getJSTypeCallback == null) dart.nullFailed(I[5], 304, 23, "getJSTypeCallback"); + if (name == null) dart.nullFailed(I[5], 304, 49, "name"); + let ret = dart._lazyJSTypes.get(name); + if (ret == null) { + ret = new dart.LazyJSType.new(getJSTypeCallback, name); + dart._lazyJSTypes.set(name, ret); + } + return ret; +}; +dart.anonymousJSType = function anonymousJSType(name) { + if (name == null) dart.nullFailed(I[5], 313, 24, "name"); + let ret = dart._anonymousJSTypes.get(name); + if (ret == null) { + ret = new dart.AnonymousJSType.new(name); + dart._anonymousJSTypes.set(name, ret); + } + return ret; +}; +dart.nullable = function nullable(type) { + let cached = type[dart._cachedNullable]; + if (cached !== void 0) { + return cached; + } + let cachedType = dart._computeNullable(type); + type[dart._cachedNullable] = cachedType; + return cachedType; +}; +dart._computeNullable = function _computeNullable(type) { + if (type instanceof dart.LegacyType) { + return dart.nullable(type.type); + } + if (type instanceof dart.NullableType || dart._isTop(type) || type === core.Null || dart._isFutureOr(type) && dart.getGenericArgs(type)[0] instanceof dart.NullableType) { + return type; + } + if (type === dart.Never) return core.Null; + return new dart.NullableType.new(type); +}; +dart.legacy = function legacy(type) { + let cached = type[dart._cachedLegacy]; + if (cached !== void 0) { + return cached; + } + let cachedType = dart._computeLegacy(type); + type[dart._cachedLegacy] = cachedType; + return cachedType; +}; +dart._computeLegacy = function _computeLegacy(type) { + if (type instanceof dart.LegacyType || type instanceof dart.NullableType || dart._isTop(type) || type === core.Null) { + return type; + } + return new dart.LegacyType.new(type); +}; +dart.wrapType = function wrapType(type, isNormalized = false) { + if (type.hasOwnProperty(dart._typeObject)) { + return type[dart._typeObject]; + } + let result = isNormalized ? new dart._Type.new(core.Object.as(type)) : type instanceof dart.LegacyType ? dart.wrapType(type.type) : dart._canonicalizeNormalizedTypeObject(type); + type[dart._typeObject] = result; + return result; +}; +dart._canonicalizeNormalizedTypeObject = function _canonicalizeNormalizedTypeObject(type) { + if (!!(type instanceof dart.LegacyType)) dart.assertFailed(null, I[5], 528, 10, "!_jsInstanceOf(type, LegacyType)"); + function normalizeHelper(a) { + return dart.unwrapType(dart.wrapType(a)); + } + if (type instanceof dart.GenericFunctionTypeIdentifier) { + return dart.wrapType(type, true); + } + if (type instanceof dart.FunctionType) { + let normReturnType = normalizeHelper(dart.dload(type, 'returnType')); + let normArgs = dart.dsend(dart.dsend(dart.dload(type, 'args'), 'map', [normalizeHelper]), 'toList', []); + if (dart.global.Object.keys(dart.dload(type, 'named')).length === 0 && dart.global.Object.keys(dart.dload(type, 'requiredNamed')).length === 0) { + if (dart.dtest(dart.dload(dart.dload(type, 'optionals'), 'isEmpty'))) { + let normType = dart.fnType(normReturnType, core.List.as(normArgs)); + return dart.wrapType(normType, true); + } + let normOptionals = dart.dsend(dart.dsend(dart.dload(type, 'optionals'), 'map', [normalizeHelper]), 'toList', []); + let normType = dart.fnType(normReturnType, core.List.as(normArgs), normOptionals); + return dart.wrapType(normType, true); + } + let normNamed = {}; + dart._transformJSObject(dart.dload(type, 'named'), normNamed, normalizeHelper); + let normRequiredNamed = {}; + dart._transformJSObject(dart.dload(type, 'requiredNamed'), normRequiredNamed, normalizeHelper); + let normType = dart.fnType(normReturnType, core.List.as(normArgs), normNamed, normRequiredNamed); + return dart.wrapType(normType, true); + } + if (type instanceof dart.GenericFunctionType) { + let formals = dart._getCanonicalTypeFormals(core.int.as(dart.dload(dart.dload(type, 'typeFormals'), 'length'))); + let normBounds = core.List.as(dart.dsend(dart.dsend(dart.dsend(type, 'instantiateTypeBounds', [formals]), 'map', [normalizeHelper]), 'toList', [])); + let substitutedTypes = []; + if (dart.test(normBounds[$contains](dart.Never))) { + for (let i = 0; i < dart.notNull(formals[$length]); i = i + 1) { + let substitutedType = normBounds[$_get](i); + while (dart.test(formals[$contains](substitutedType))) { + substitutedType = normBounds[$_get](formals[$indexOf](dart.TypeVariable.as(substitutedType))); + } + if (dart.equals(substitutedType, dart.Never)) { + substitutedTypes[$add](dart.Never); + } else { + substitutedTypes[$add](formals[$_get](i)); + } + } + } else { + substitutedTypes = formals; + } + let normFunc = dart.FunctionType.as(normalizeHelper(dart.dsend(type, 'instantiate', [substitutedTypes]))); + let typeObjectIdKey = []; + typeObjectIdKey.push(...normBounds); + typeObjectIdKey.push(normFunc); + let memoizedId = dart._memoizeArray(dart._gFnTypeTypeMap, typeObjectIdKey, () => new dart.GenericFunctionTypeIdentifier.new(formals, normBounds, normFunc)); + return dart.wrapType(memoizedId, true); + } + let args = dart.getGenericArgs(type); + let normType = null; + if (args == null || dart.test(args[$isEmpty])) { + normType = type; + } else { + let genericClass = dart.getGenericClass(type); + let normArgs = args[$map](core.Object, normalizeHelper)[$toList](); + normType = genericClass(...normArgs); + } + return dart.wrapType(normType, true); +}; +dart._transformJSObject = function _transformJSObject(srcObject, dstObject, transform) { + if (transform == null) dart.nullFailed(I[5], 610, 56, "transform"); + for (let key of dart.global.Object.keys(srcObject)) { + dstObject[key] = dart.dcall(transform, [srcObject[key]]); + } +}; +dart.unwrapType = function unwrapType(obj) { + if (obj == null) dart.nullFailed(I[5], 621, 24, "obj"); + return obj[_type$]; +}; +dart._getCanonicalTypeFormals = function _getCanonicalTypeFormals(count) { + if (count == null) dart.nullFailed(I[5], 666, 49, "count"); + while (dart.notNull(count) > dart.notNull(dart._typeVariablePool[$length])) { + dart._fillTypeVariable(); + } + return dart._typeVariablePool[$sublist](0, count); +}; +dart._fillTypeVariable = function _fillTypeVariable() { + if (dart.notNull(dart._typeVariablePool[$length]) < 26) { + dart._typeVariablePool[$add](new dart.TypeVariable.new(core.String.fromCharCode(65 + dart.notNull(dart._typeVariablePool[$length])))); + } else { + dart._typeVariablePool[$add](new dart.TypeVariable.new("T" + dart.str(dart.notNull(dart._typeVariablePool[$length]) - 26))); + } +}; +dart._memoizeArray = function _memoizeArray(map, arr, create) { + if (create == null) dart.nullFailed(I[5], 688, 32, "create"); + return (() => { + let len = arr.length; + map = dart._lookupNonTerminal(map, len); + for (var i = 0; i < len - 1; ++i) { + map = dart._lookupNonTerminal(map, arr[i]); + } + let result = map.get(arr[len - 1]); + if (result !== void 0) return result; + map.set(arr[len - 1], result = create()); + return result; + })(); +}; +dart._canonicalizeArray = function _canonicalizeArray(array, map) { + if (array == null) dart.nullFailed(I[5], 700, 30, "array"); + return dart._memoizeArray(map, array, () => array); +}; +dart._canonicalizeNamed = function _canonicalizeNamed(named, map) { + let key = []; + let names = dart.getOwnPropertyNames(named); + for (var i = 0; i < names.length; ++i) { + let name = names[i]; + let type = named[name]; + key.push(name); + key.push(type); + } + return dart._memoizeArray(map, key, () => named); +}; +dart._createSmall = function _createSmall(returnType, required) { + if (required == null) dart.nullFailed(I[5], 720, 44, "required"); + return (() => { + let count = required.length; + let map = dart._fnTypeSmallMap[count]; + for (var i = 0; i < count; ++i) { + map = dart._lookupNonTerminal(map, required[i]); + } + let result = map.get(returnType); + if (result !== void 0) return result; + result = new dart.FunctionType.new(core.Type.as(returnType), required, [], {}, {}); + map.set(returnType, result); + return result; + })(); +}; +dart._typeFormalsFromFunction = function _typeFormalsFromFunction(typeConstructor) { + let str = typeConstructor.toString(); + let hasParens = str[$_get](0) === "("; + let end = str[$indexOf](hasParens ? ")" : "=>"); + if (hasParens) { + return str[$substring](1, end)[$split](",")[$map](dart.TypeVariable, n => { + if (n == null) dart.nullFailed(I[5], 1152, 15, "n"); + return new dart.TypeVariable.new(n[$trim]()); + })[$toList](); + } else { + return T$.JSArrayOfTypeVariable().of([new dart.TypeVariable.new(str[$substring](0, end)[$trim]())]); + } +}; +dart.fnType = function fnType(returnType, args, optional = null, requiredNamed = null) { + if (args == null) dart.nullFailed(I[5], 1160, 38, "args"); + return dart.FunctionType.create(returnType, args, optional, requiredNamed); +}; +dart.gFnType = function gFnType(instantiateFn, typeBounds) { + return new dart.GenericFunctionType.new(instantiateFn, typeBounds); +}; +dart.isType = function isType(obj) { + return obj[dart._runtimeType] === core.Type; +}; +dart.checkTypeBound = function checkTypeBound(type, bound, name) { + if (!dart.isSubtypeOf(type, bound)) { + dart.throwTypeError("type `" + dart.str(type) + "` does not extend `" + dart.str(bound) + "` of `" + name + "`."); + } +}; +dart.typeName = function typeName(type) { + if (type === void 0) return "undefined type"; + if (type === null) return "null type"; + if (type instanceof dart.DartType) { + return type.toString(); + } + let tag = type[dart._runtimeType]; + if (tag === core.Type) { + let name = type.name; + let args = dart.getGenericArgs(type); + if (args == null) return name; + if (dart.getGenericClass(type) == _interceptors.JSArray$) name = 'List'; + let result = name; + result += '<'; + for (let i = 0; i < args.length; ++i) { + if (i > 0) result += ', '; + result += dart.typeName(args[i]); + } + result += '>'; + return result; + } + if (tag) return "Not a type: " + tag.name; + return "JSObject<" + type.name + ">"; +}; +dart._isFunctionSubtype = function _isFunctionSubtype(ft1, ft2, strictMode) { + let ret1 = ft1.returnType; + let ret2 = ft2.returnType; + let args1 = ft1.args; + let args2 = ft2.args; + if (args1.length > args2.length) { + return false; + } + for (let i = 0; i < args1.length; ++i) { + if (!dart._isSubtype(args2[i], args1[i], strictMode)) { + return false; + } + } + let optionals1 = ft1.optionals; + let optionals2 = ft2.optionals; + if (args1.length + optionals1.length < args2.length + optionals2.length) { + return false; + } + let j = 0; + for (let i = args1.length; i < args2.length; ++i, ++j) { + if (!dart._isSubtype(args2[i], optionals1[j], strictMode)) { + return false; + } + } + for (let i = 0; i < optionals2.length; ++i, ++j) { + if (!dart._isSubtype(optionals2[i], optionals1[j], strictMode)) { + return false; + } + } + let named1 = ft1.named; + let requiredNamed1 = ft1.requiredNamed; + let named2 = ft2.named; + let requiredNamed2 = ft2.requiredNamed; + if (!strictMode) { + named1 = Object.assign({}, named1, requiredNamed1); + named2 = Object.assign({}, named2, requiredNamed2); + requiredNamed1 = {}; + requiredNamed2 = {}; + } + let names = dart.getOwnPropertyNames(requiredNamed1); + for (let i = 0; i < names.length; ++i) { + let name = names[i]; + let n2 = requiredNamed2[name]; + if (n2 === void 0) { + return false; + } + } + names = dart.getOwnPropertyNames(named2); + for (let i = 0; i < names.length; ++i) { + let name = names[i]; + let n1 = named1[name]; + let n2 = named2[name]; + if (n1 === void 0) { + return false; + } + if (!dart._isSubtype(n2, n1, strictMode)) { + return false; + } + } + names = dart.getOwnPropertyNames(requiredNamed2); + for (let i = 0; i < names.length; ++i) { + let name = names[i]; + let n1 = named1[name] || requiredNamed1[name]; + let n2 = requiredNamed2[name]; + if (n1 === void 0) { + return false; + } + if (!dart._isSubtype(n2, n1, strictMode)) { + return false; + } + } + return dart._isSubtype(ret1, ret2, strictMode); +}; +dart.isSubtypeOf = function isSubtypeOf(t1, t2) { + let map = t1[dart._subtypeCache]; + let result = map.get(t2); + if (result !== void 0) return result; + let validSubtype = dart._isSubtype(t1, t2, true); + if (!validSubtype && !false) { + validSubtype = dart._isSubtype(t1, t2, false); + if (validSubtype) { + dart._nullWarn(dart.str(t1) + " is not a subtype of " + dart.str(t2) + "."); + } + } + map.set(t2, validSubtype); + return validSubtype; +}; +dart._isBottom = function _isBottom(type, strictMode) { + return type === dart.Never || !strictMode && type === core.Null; +}; +dart._isTop = function _isTop(type) { + if (type instanceof dart.NullableType) return type.type === core.Object; + return type === dart.dynamic || type === dart.void; +}; +dart._isFutureOr = function _isFutureOr(type) { + let genericClass = dart.getGenericClass(type); + return genericClass && genericClass === async.FutureOr$; +}; +dart._isSubtype = function _isSubtype(t1, t2, strictMode) { + if (!strictMode) { + if (t1 instanceof dart.NullableType) { + t1 = t1.type; + } + if (t2 instanceof dart.NullableType) { + t2 = t2.type; + } + } + if (t1 === t2) { + return true; + } + if (dart._isTop(t2) || dart._isBottom(t1, strictMode)) { + return true; + } + if (t1 === dart.dynamic || t1 === dart.void) { + return dart._isSubtype(dart.nullable(core.Object), t2, strictMode); + } + if (t2 === core.Object) { + if (dart._isFutureOr(t1)) { + let t1TypeArg = dart.getGenericArgs(t1)[0]; + return dart._isSubtype(t1TypeArg, core.Object, strictMode); + } + if (t1 instanceof dart.LegacyType) { + return dart._isSubtype(t1.type, t2, strictMode); + } + if (t1 === core.Null || t1 instanceof dart.NullableType) { + return false; + } + return true; + } + if (t1 === core.Null) { + if (dart._isFutureOr(t2)) { + let t2TypeArg = dart.getGenericArgs(t2)[0]; + return dart._isSubtype(core.Null, t2TypeArg, strictMode); + } + return t2 === core.Null || t2 instanceof dart.LegacyType || t2 instanceof dart.NullableType; + } + if (t1 instanceof dart.LegacyType) { + return dart._isSubtype(t1.type, t2, strictMode); + } + if (t2 instanceof dart.LegacyType) { + return dart._isSubtype(t1, dart.nullable(t2.type), strictMode); + } + if (dart._isFutureOr(t1)) { + let t1TypeArg = dart.getGenericArgs(t1)[0]; + if (dart._isFutureOr(t2)) { + let t2TypeArg = dart.getGenericArgs(t2)[0]; + if (dart._isSubtype(t1TypeArg, t2TypeArg, strictMode)) { + return true; + } + } + let t1Future = async.Future$(t1TypeArg); + return dart._isSubtype(t1Future, t2, strictMode) && dart._isSubtype(t1TypeArg, t2, strictMode); + } + if (t1 instanceof dart.NullableType) { + return dart._isSubtype(t1.type, t2, strictMode) && dart._isSubtype(core.Null, t2, strictMode); + } + if (dart._isFutureOr(t2)) { + let t2TypeArg = dart.getGenericArgs(t2)[0]; + let t2Future = async.Future$(t2TypeArg); + return dart._isSubtype(t1, t2Future, strictMode) || dart._isSubtype(t1, t2TypeArg, strictMode); + } + if (t2 instanceof dart.NullableType) { + return dart._isSubtype(t1, t2.type, strictMode) || dart._isSubtype(t1, core.Null, strictMode); + } + if (!(t2 instanceof dart.AbstractFunctionType)) { + if (t1 instanceof dart.AbstractFunctionType) { + return t2 === core.Function; + } + if (t1 === dart.jsobject && t2 instanceof dart.AnonymousJSType) { + return true; + } + return dart._isInterfaceSubtype(t1, t2, strictMode); + } + if (!(t1 instanceof dart.AbstractFunctionType)) { + return false; + } + if (t1 instanceof dart.GenericFunctionType) { + if (!(t2 instanceof dart.GenericFunctionType)) { + return false; + } + let formalCount = t1.formalCount; + if (formalCount !== t2.formalCount) { + return false; + } + let fresh = t2.typeFormals; + if (t1.hasTypeBounds || t2.hasTypeBounds) { + let t1Bounds = t1.instantiateTypeBounds(fresh); + let t2Bounds = t2.instantiateTypeBounds(fresh); + for (let i = 0; i < formalCount; i++) { + if (t1Bounds[i] != t2Bounds[i]) { + if (!(dart._isSubtype(t1Bounds[i], t2Bounds[i], strictMode) && dart._isSubtype(t2Bounds[i], t1Bounds[i], strictMode))) { + return false; + } + } + } + } + t1 = t1.instantiate(fresh); + t2 = t2.instantiate(fresh); + } else if (t2 instanceof dart.GenericFunctionType) { + return false; + } + return dart._isFunctionSubtype(t1, t2, strictMode); +}; +dart._isInterfaceSubtype = function _isInterfaceSubtype(t1, t2, strictMode) { + if (t1 instanceof dart.LazyJSType) t1 = t1.rawJSTypeForCheck(); + if (t2 instanceof dart.LazyJSType) t2 = t2.rawJSTypeForCheck(); + if (t1 === t2) { + return true; + } + if (t1 === core.Object) { + return false; + } + if (t1 === core.Function || t2 === core.Function) { + return false; + } + if (t1 == null) { + return t2 === core.Object || t2 === dart.dynamic; + } + let raw1 = dart.getGenericClass(t1); + let raw2 = dart.getGenericClass(t2); + if (raw1 != null && raw1 == raw2) { + let typeArguments1 = dart.getGenericArgs(t1); + let typeArguments2 = dart.getGenericArgs(t2); + if (typeArguments1.length != typeArguments2.length) { + dart.assertFailed(); + } + let variances = dart.getGenericArgVariances(t1); + for (let i = 0; i < typeArguments1.length; ++i) { + if (variances === void 0 || variances[i] == 1) { + if (!dart._isSubtype(typeArguments1[i], typeArguments2[i], strictMode)) { + return false; + } + } else if (variances[i] == 2) { + if (!dart._isSubtype(typeArguments2[i], typeArguments1[i], strictMode)) { + return false; + } + } else if (variances[i] == 3) { + if (!dart._isSubtype(typeArguments1[i], typeArguments2[i], strictMode) || !dart._isSubtype(typeArguments2[i], typeArguments1[i], strictMode)) { + return false; + } + } + } + return true; + } + if (dart._isInterfaceSubtype(t1.__proto__, t2, strictMode)) { + return true; + } + let m1 = dart.getMixin(t1); + if (m1 != null && dart._isInterfaceSubtype(m1, t2, strictMode)) { + return true; + } + let getInterfaces = dart.getImplements(t1); + if (getInterfaces) { + for (let i1 of getInterfaces()) { + if (dart._isInterfaceSubtype(i1, t2, strictMode)) { + return true; + } + } + } + return false; +}; +dart.extractTypeArguments = function extractTypeArguments(T, instance, f) { + if (f == null) dart.nullFailed(I[5], 1666, 54, "f"); + if (instance == null) { + dart.throw(new core.ArgumentError.new("Cannot extract type of null instance.")); + } + let type = T; + type = type.type || type; + if (dart.AbstractFunctionType.is(type) || dart._isFutureOr(type)) { + dart.throw(new core.ArgumentError.new("Cannot extract from non-class type (" + dart.str(type) + ").")); + } + let typeArguments = dart.getGenericArgs(type); + if (dart.test(dart.nullCheck(typeArguments)[$isEmpty])) { + dart.throw(new core.ArgumentError.new("Cannot extract from non-generic type (" + dart.str(type) + ").")); + } + let supertype = dart._getMatchingSupertype(dart.getReifiedType(instance), type); + if (!(supertype != null)) dart.assertFailed(null, I[5], 1684, 10, "supertype != null"); + let typeArgs = dart.getGenericArgs(supertype); + if (!(typeArgs != null && dart.test(typeArgs[$isNotEmpty]))) dart.assertFailed(null, I[5], 1686, 10, "typeArgs != null && typeArgs.isNotEmpty"); + return dart.dgcall(f, typeArgs, []); +}; +dart._getMatchingSupertype = function _getMatchingSupertype(subtype, supertype) { + if (supertype == null) dart.nullFailed(I[5], 2047, 55, "supertype"); + if (core.identical(subtype, supertype)) return supertype; + if (subtype == null || subtype === core.Object) return null; + let subclass = dart.getGenericClass(subtype); + let superclass = dart.getGenericClass(supertype); + if (subclass != null && core.identical(subclass, superclass)) { + return subtype; + } + let result = dart._getMatchingSupertype(subtype.__proto__, supertype); + if (result != null) return result; + let mixin = dart.getMixin(subtype); + if (mixin != null) { + result = dart._getMatchingSupertype(mixin, supertype); + if (result != null) return result; + } + let getInterfaces = dart.getImplements(subtype); + if (getInterfaces != null) { + for (let iface of getInterfaces()) { + result = dart._getMatchingSupertype(iface, supertype); + if (result != null) return result; + } + } + return null; +}; +dart.defineValue = function defineValue(obj, name, value) { + dart.defineAccessor(obj, name, {value: value, configurable: true, writable: true}); + return value; +}; +dart.throwTypeError = function throwTypeError(message) { + if (message == null) dart.nullFailed(I[6], 39, 28, "message"); + dart.throw(new _js_helper.TypeErrorImpl.new(message)); +}; +dart.throwInternalError = function throwInternalError(message) { + if (message == null) dart.nullFailed(I[6], 44, 32, "message"); + throw Error(message); +}; +dart.getOwnNamesAndSymbols = function getOwnNamesAndSymbols(obj) { + let names = dart.getOwnPropertyNames(obj); + let symbols = dart.getOwnPropertySymbols(obj); + return names.concat(symbols); +}; +dart.safeGetOwnProperty = function safeGetOwnProperty(obj, name) { + if (obj.hasOwnProperty(name)) return obj[name]; +}; +dart.copyTheseProperties = function copyTheseProperties(to, from, names) { + for (let i = 0, n = names.length; i < n; i = i + 1) { + let name = names[i]; + if (dart.equals(name, "constructor")) continue; + dart.copyProperty(to, from, name); + } + return to; +}; +dart.copyProperty = function copyProperty(to, from, name) { + let desc = dart.getOwnPropertyDescriptor(from, name); + if (name == Symbol.iterator) { + let existing = dart.getOwnPropertyDescriptor(to, name); + if (existing != null) { + if (existing.writable) { + to[name] = desc.value; + } + return; + } + } + dart.defineProperty(to, name, desc); +}; +dart.export = function exportProperty(to, from, name) { + return dart.copyProperty(to, from, name); +}; +dart.copyProperties = function copyProperties(to, from) { + return dart.copyTheseProperties(to, from, dart.getOwnNamesAndSymbols(from)); +}; +dart._polyfilled = Symbol("_polyfilled"); +dart.global = (function() { + var globalState = typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : null; + if (!globalState) { + globalState = new Function('return this;')(); + } + dart.polyfill(globalState); + if (globalState.Error) { + globalState.Error.stackTraceLimit = Infinity; + } + let settings = 'ddcSettings' in globalState ? globalState.ddcSettings : {}; + dart.trackProfile('trackProfile' in settings ? settings.trackProfile : false); + return globalState; +})(); +dart.JsSymbol = Symbol; +dart.libraryPrototype = dart.library; +dart.startAsyncSynchronously = true; +dart._cacheMaps = []; +dart._resetFields = []; +dart.hotRestartIteration = 0; +dart.addAsyncCallback = function() { +}; +dart.removeAsyncCallback = function() { +}; +dart.defineProperty = Object.defineProperty; +dart.defineAccessor = Object.defineProperty; +dart.getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor; +dart.getOwnPropertyNames = Object.getOwnPropertyNames; +dart.getOwnPropertySymbols = Object.getOwnPropertySymbols; +dart.getPrototypeOf = Object.getPrototypeOf; +dart._mixin = Symbol("mixin"); +dart.mixinOn = Symbol("mixinOn"); +dart.implements = Symbol("implements"); +dart._typeArguments = Symbol("typeArguments"); +dart._variances = Symbol("variances"); +dart._originalDeclaration = Symbol("originalDeclaration"); +dart.mixinNew = Symbol("dart.mixinNew"); +dart._constructorSig = Symbol("sigCtor"); +dart._methodSig = Symbol("sigMethod"); +dart._fieldSig = Symbol("sigField"); +dart._getterSig = Symbol("sigGetter"); +dart._setterSig = Symbol("sigSetter"); +dart._staticMethodSig = Symbol("sigStaticMethod"); +dart._staticFieldSig = Symbol("sigStaticField"); +dart._staticGetterSig = Symbol("sigStaticGetter"); +dart._staticSetterSig = Symbol("sigStaticSetter"); +dart._genericTypeCtor = Symbol("genericType"); +dart._libraryUri = Symbol("libraryUri"); +dart._extensionType = Symbol("extensionType"); +dart.dartx = dartx; +dart._extensionMap = new Map(); +dart.isFuture = Symbol("_is_Future"); +dart.isIterable = Symbol("_is_Iterable"); +dart.isList = Symbol("_is_List"); +dart.isMap = Symbol("_is_Map"); +dart.isStream = Symbol("_is_Stream"); +dart.isStreamSubscription = Symbol("_is_StreamSubscription"); +dart.identityEquals = null; +dart._runtimeType = Symbol("_runtimeType"); +dart._moduleName = Symbol("_moduleName"); +dart._loadedModules = new Map(); +dart._loadedPartMaps = new Map(); +dart._loadedSourceMaps = new Map(); +dart._libraries = null; +dart._libraryObjects = null; +dart._parts = null; +dart._weakNullSafetyWarnings = false; +dart._weakNullSafetyErrors = false; +dart._nonNullAsserts = false; +dart._nativeNonNullAsserts = false; +dart.metadata = Symbol("metadata"); +dart._nullComparisonSet = new Set(); +dart._lazyJSTypes = new Map(); +dart._anonymousJSTypes = new Map(); +dart._cachedNullable = Symbol("cachedNullable"); +dart._cachedLegacy = Symbol("cachedLegacy"); +dart._subtypeCache = Symbol("_subtypeCache"); +core.Object = class Object { + constructor() { + throw Error("use `new " + dart.typeName(dart.getReifiedType(this)) + ".new(...)` to create a Dart object"); + } + static is(o) { + return o != null; + } + static as(o) { + return o == null ? dart.as(o, core.Object) : o; + } + _equals(other) { + if (other == null) return false; + return this === other; + } + get hashCode() { + return core.identityHashCode(this); + } + toString() { + return "Instance of '" + dart.typeName(dart.getReifiedType(this)) + "'"; + } + noSuchMethod(invocation) { + if (invocation == null) dart.nullFailed(I[7], 60, 35, "invocation"); + return dart.defaultNoSuchMethod(this, invocation); + } + get runtimeType() { + return dart.wrapType(dart.getReifiedType(this)); + } +}; +(core.Object.new = function() { + ; +}).prototype = core.Object.prototype; +dart.addTypeCaches(core.Object); +dart.setMethodSignature(core.Object, () => ({ + __proto__: Object.create(null), + _equals: dart.fnType(core.bool, [core.Object]), + [$_equals]: dart.fnType(core.bool, [core.Object]), + toString: dart.fnType(core.String, []), + [$toString]: dart.fnType(core.String, []), + noSuchMethod: dart.fnType(dart.dynamic, [core.Invocation]), + [$noSuchMethod]: dart.fnType(dart.dynamic, [core.Invocation]) +})); +dart.setGetterSignature(core.Object, () => ({ + __proto__: Object.create(null), + hashCode: core.int, + [$hashCode]: core.int, + runtimeType: core.Type, + [$runtimeType]: core.Type +})); +dart.setLibraryUri(core.Object, I[8]); +dart.lazyFn(core.Object, () => core.Type); +dart.defineExtensionMethods(core.Object, ['_equals', 'toString', 'noSuchMethod']); +dart.defineExtensionAccessors(core.Object, ['hashCode', 'runtimeType']); +dart.registerExtension("Object", core.Object); +dart.DartType = class DartType extends core.Object { + get name() { + return this[$toString](); + } + is(object) { + return dart.is(object, this); + } + as(object) { + return dart.as(object, this); + } +}; +(dart.DartType.new = function() { + dart.addTypeCaches(this); +}).prototype = dart.DartType.prototype; +dart.addTypeTests(dart.DartType); +dart.addTypeCaches(dart.DartType); +dart.DartType[dart.implements] = () => [core.Type]; +dart.setMethodSignature(dart.DartType, () => ({ + __proto__: dart.getMethods(dart.DartType.__proto__), + is: dart.fnType(core.bool, [dart.dynamic]), + as: dart.fnType(dart.dynamic, [dart.dynamic]) +})); +dart.setGetterSignature(dart.DartType, () => ({ + __proto__: dart.getGetters(dart.DartType.__proto__), + name: core.String +})); +dart.setLibraryUri(dart.DartType, I[9]); +dart.NeverType = class NeverType extends dart.DartType { + toString() { + return "Never"; + } +}; +(dart.NeverType.new = function() { + dart.NeverType.__proto__.new.call(this); + ; +}).prototype = dart.NeverType.prototype; +dart.addTypeTests(dart.NeverType); +dart.addTypeCaches(dart.NeverType); +dart.setLibraryUri(dart.NeverType, I[9]); +dart.defineExtensionMethods(dart.NeverType, ['toString']); +dart.Never = new dart.NeverType.new(); +dart.DynamicType = class DynamicType extends dart.DartType { + toString() { + return "dynamic"; + } + is(object) { + return true; + } + as(object) { + return object; + } +}; +(dart.DynamicType.new = function() { + dart.DynamicType.__proto__.new.call(this); + ; +}).prototype = dart.DynamicType.prototype; +dart.addTypeTests(dart.DynamicType); +dart.addTypeCaches(dart.DynamicType); +dart.setMethodSignature(dart.DynamicType, () => ({ + __proto__: dart.getMethods(dart.DynamicType.__proto__), + as: dart.fnType(dart.nullable(core.Object), [dart.nullable(core.Object)]) +})); +dart.setLibraryUri(dart.DynamicType, I[9]); +dart.defineExtensionMethods(dart.DynamicType, ['toString']); +dart.dynamic = new dart.DynamicType.new(); +dart.VoidType = class VoidType extends dart.DartType { + toString() { + return "void"; + } + is(object) { + return true; + } + as(object) { + return object; + } +}; +(dart.VoidType.new = function() { + dart.VoidType.__proto__.new.call(this); + ; +}).prototype = dart.VoidType.prototype; +dart.addTypeTests(dart.VoidType); +dart.addTypeCaches(dart.VoidType); +dart.setMethodSignature(dart.VoidType, () => ({ + __proto__: dart.getMethods(dart.VoidType.__proto__), + as: dart.fnType(dart.nullable(core.Object), [dart.nullable(core.Object)]) +})); +dart.setLibraryUri(dart.VoidType, I[9]); +dart.defineExtensionMethods(dart.VoidType, ['toString']); +dart.void = new dart.VoidType.new(); +dart.JSObjectType = class JSObjectType extends dart.DartType { + toString() { + return "NativeJavaScriptObject"; + } +}; +(dart.JSObjectType.new = function() { + dart.JSObjectType.__proto__.new.call(this); + ; +}).prototype = dart.JSObjectType.prototype; +dart.addTypeTests(dart.JSObjectType); +dart.addTypeCaches(dart.JSObjectType); +dart.setLibraryUri(dart.JSObjectType, I[9]); +dart.defineExtensionMethods(dart.JSObjectType, ['toString']); +dart.jsobject = new dart.JSObjectType.new(); +dart._typeObject = Symbol("typeObject"); +dart._fnTypeNamedArgMap = new Map(); +dart._fnTypeArrayArgMap = new Map(); +dart._fnTypeTypeMap = new Map(); +dart._fnTypeSmallMap = [new Map(), new Map(), new Map()]; +dart._gFnTypeTypeMap = new Map(); +dart._nullFailedSet = new Set(); +dart._thrownValue = Symbol("_thrownValue"); +dart._jsError = Symbol("_jsError"); +dart._stackTrace = Symbol("_stackTrace"); +dart.DartError = class DartError extends Error { + constructor(error) { + super(); + if (error == null) error = new core.NullThrownError.new(); + this[dart._thrownValue] = error; + if (error != null && typeof error == "object" && error[dart._jsError] == null) { + error[dart._jsError] = this; + } + } + get message() { + return dart.toString(this[dart._thrownValue]); + } +}; +dart.RethrownDartError = class RethrownDartError extends dart.DartError { + constructor(error, stackTrace) { + super(error); + this[dart._stackTrace] = stackTrace; + } + get message() { + return super.message + "\n " + dart.toString(this[dart._stackTrace]) + "\n"; + } +}; +dart.constantMaps = new Map(); +dart.constantSets = new Map(); +dart._immutableSetConstructor = null; +dart._value = Symbol("_value"); +dart.constants = new Map(); +dart.constantLists = new Map(); +dart.identityHashCode_ = Symbol("_identityHashCode"); +dart.JsIterator = class JsIterator { + constructor(dartIterator) { + this.dartIterator = dartIterator; + } + next() { + let i = this.dartIterator; + let done = !i.moveNext(); + return {done: done, value: done ? void 0 : i.current}; + } +}; +dart.deferredImports = new Map(); +dart.defineLazy(dart, { + /*dart._assertInteropExpando*/get _assertInteropExpando() { + return new (T$.ExpandoOfFunction()).new(); + }, + set _assertInteropExpando(_) {}, + /*dart.bottom*/get bottom() { + return core.Null; + }, + /*dart._typeVariablePool*/get _typeVariablePool() { + return T$.JSArrayOfTypeVariable().of([]); + } +}, false); +var _rawJSType = dart.privateName(dart, "_rawJSType"); +var _getRawJSTypeFn$ = dart.privateName(dart, "_getRawJSTypeFn"); +var _dartName$ = dart.privateName(dart, "_dartName"); +var _getRawJSType = dart.privateName(dart, "_getRawJSType"); +dart.LazyJSType = class LazyJSType extends dart.DartType { + toString() { + let raw = this[_getRawJSType](); + return raw != null ? dart.typeName(raw) : "JSObject<" + this[_dartName$] + ">"; + } + [_getRawJSType]() { + let raw = this[_rawJSType]; + if (raw != null) return raw; + try { + raw = this[_getRawJSTypeFn$](); + } catch (e$) { + let e = dart.getThrown(e$); + if (core.Object.is(e)) { + } else + throw e$; + } + if (raw == null) { + dart._warn("Cannot find native JavaScript type (" + this[_dartName$] + ") for type check"); + } else { + this[_rawJSType] = raw; + dart._resetFields.push(() => this[_rawJSType] = null); + } + return raw; + } + rawJSTypeForCheck() { + let t1; + t1 = this[_getRawJSType](); + return t1 == null ? dart.jsobject : t1; + } + is(obj) { + return obj != null && (dart._isJsObject(obj) || dart.isSubtypeOf(dart.getReifiedType(obj), this)); + } + as(obj) { + return this.is(obj) ? obj : dart.castError(obj, this); + } +}; +(dart.LazyJSType.new = function(_getRawJSTypeFn, _dartName) { + if (_getRawJSTypeFn == null) dart.nullFailed(I[5], 211, 19, "_getRawJSTypeFn"); + if (_dartName == null) dart.nullFailed(I[5], 211, 41, "_dartName"); + this[_rawJSType] = null; + this[_getRawJSTypeFn$] = _getRawJSTypeFn; + this[_dartName$] = _dartName; + dart.LazyJSType.__proto__.new.call(this); + ; +}).prototype = dart.LazyJSType.prototype; +dart.addTypeTests(dart.LazyJSType); +dart.addTypeCaches(dart.LazyJSType); +dart.setMethodSignature(dart.LazyJSType, () => ({ + __proto__: dart.getMethods(dart.LazyJSType.__proto__), + [_getRawJSType]: dart.fnType(dart.nullable(core.Object), []), + rawJSTypeForCheck: dart.fnType(core.Object, []) +})); +dart.setLibraryUri(dart.LazyJSType, I[9]); +dart.setFieldSignature(dart.LazyJSType, () => ({ + __proto__: dart.getFields(dart.LazyJSType.__proto__), + [_getRawJSTypeFn$]: dart.fieldType(dart.fnType(dart.dynamic, [])), + [_dartName$]: dart.finalFieldType(core.String), + [_rawJSType]: dart.fieldType(dart.nullable(core.Object)) +})); +dart.defineExtensionMethods(dart.LazyJSType, ['toString']); +dart.AnonymousJSType = class AnonymousJSType extends dart.DartType { + toString() { + return this[_dartName$]; + } + is(obj) { + return obj != null && (dart._isJsObject(obj) || dart.isSubtypeOf(dart.getReifiedType(obj), this)); + } + as(obj) { + return dart.test(this.is(obj)) ? obj : dart.castError(obj, this); + } +}; +(dart.AnonymousJSType.new = function(_dartName) { + if (_dartName == null) dart.nullFailed(I[5], 257, 24, "_dartName"); + this[_dartName$] = _dartName; + dart.AnonymousJSType.__proto__.new.call(this); + ; +}).prototype = dart.AnonymousJSType.prototype; +dart.addTypeTests(dart.AnonymousJSType); +dart.addTypeCaches(dart.AnonymousJSType); +dart.setLibraryUri(dart.AnonymousJSType, I[9]); +dart.setFieldSignature(dart.AnonymousJSType, () => ({ + __proto__: dart.getFields(dart.AnonymousJSType.__proto__), + [_dartName$]: dart.finalFieldType(core.String) +})); +dart.defineExtensionMethods(dart.AnonymousJSType, ['toString']); +var type$ = dart.privateName(dart, "NullableType.type"); +dart.NullableType = class NullableType extends dart.DartType { + get type() { + return this[type$]; + } + set type(value) { + super.type = value; + } + get name() { + return this.type instanceof dart.FunctionType ? "(" + dart.str(this.type) + ")?" : dart.str(this.type) + "?"; + } + toString() { + return this.name; + } + is(obj) { + return obj == null || this.type.is(obj); + } + as(obj) { + return obj == null || this.type.is(obj) ? obj : dart.as(obj, this); + } +}; +(dart.NullableType.new = function(type) { + this[type$] = type; + dart.NullableType.__proto__.new.call(this); + ; +}).prototype = dart.NullableType.prototype; +dart.addTypeTests(dart.NullableType); +dart.addTypeCaches(dart.NullableType); +dart.setLibraryUri(dart.NullableType, I[9]); +dart.setFieldSignature(dart.NullableType, () => ({ + __proto__: dart.getFields(dart.NullableType.__proto__), + type: dart.finalFieldType(core.Type) +})); +dart.defineExtensionMethods(dart.NullableType, ['toString']); +var type$0 = dart.privateName(dart, "LegacyType.type"); +dart.LegacyType = class LegacyType extends dart.DartType { + get type() { + return this[type$0]; + } + set type(value) { + super.type = value; + } + get name() { + return dart.str(this.type); + } + toString() { + return this.name; + } + is(obj) { + if (obj == null) { + return this.type === core.Object || this.type === dart.Never; + } + return this.type.is(obj); + } + as(obj) { + return obj == null || this.type.is(obj) ? obj : dart.as(obj, this); + } +}; +(dart.LegacyType.new = function(type) { + this[type$0] = type; + dart.LegacyType.__proto__.new.call(this); + ; +}).prototype = dart.LegacyType.prototype; +dart.addTypeTests(dart.LegacyType); +dart.addTypeCaches(dart.LegacyType); +dart.setLibraryUri(dart.LegacyType, I[9]); +dart.setFieldSignature(dart.LegacyType, () => ({ + __proto__: dart.getFields(dart.LegacyType.__proto__), + type: dart.finalFieldType(core.Type) +})); +dart.defineExtensionMethods(dart.LegacyType, ['toString']); +dart.BottomType = class BottomType extends dart.DartType { + toString() { + return "bottom"; + } +}; +(dart.BottomType.new = function() { + dart.BottomType.__proto__.new.call(this); + ; +}).prototype = dart.BottomType.prototype; +dart.addTypeTests(dart.BottomType); +dart.addTypeCaches(dart.BottomType); +dart.setLibraryUri(dart.BottomType, I[9]); +dart.defineExtensionMethods(dart.BottomType, ['toString']); +core.Type = class Type extends core.Object {}; +(core.Type.new = function() { + ; +}).prototype = core.Type.prototype; +dart.addTypeTests(core.Type); +dart.addTypeCaches(core.Type); +dart.setLibraryUri(core.Type, I[8]); +dart._Type = class _Type extends core.Type { + toString() { + return dart.typeName(this[_type$]); + } + get runtimeType() { + return dart.wrapType(core.Type); + } +}; +(dart._Type.new = function(_type) { + if (_type == null) dart.nullFailed(I[5], 496, 14, "_type"); + this[_type$] = _type; + ; +}).prototype = dart._Type.prototype; +dart.addTypeTests(dart._Type); +dart.addTypeCaches(dart._Type); +dart.setLibraryUri(dart._Type, I[9]); +dart.setFieldSignature(dart._Type, () => ({ + __proto__: dart.getFields(dart._Type.__proto__), + [_type$]: dart.finalFieldType(core.Object) +})); +dart.defineExtensionMethods(dart._Type, ['toString']); +dart.defineExtensionAccessors(dart._Type, ['runtimeType']); +dart.AbstractFunctionType = class AbstractFunctionType extends dart.DartType {}; +(dart.AbstractFunctionType.new = function() { + dart.AbstractFunctionType.__proto__.new.call(this); + ; +}).prototype = dart.AbstractFunctionType.prototype; +dart.addTypeTests(dart.AbstractFunctionType); +dart.addTypeCaches(dart.AbstractFunctionType); +dart.setLibraryUri(dart.AbstractFunctionType, I[9]); +var returnType$ = dart.privateName(dart, "FunctionType.returnType"); +var args$ = dart.privateName(dart, "FunctionType.args"); +var optionals$ = dart.privateName(dart, "FunctionType.optionals"); +var named$ = dart.privateName(dart, "FunctionType.named"); +var requiredNamed$ = dart.privateName(dart, "FunctionType.requiredNamed"); +var _stringValue = dart.privateName(dart, "_stringValue"); +var _createNameMap = dart.privateName(dart, "_createNameMap"); +dart.FunctionType = class FunctionType extends dart.AbstractFunctionType { + get returnType() { + return this[returnType$]; + } + set returnType(value) { + super.returnType = value; + } + get args() { + return this[args$]; + } + set args(value) { + super.args = value; + } + get optionals() { + return this[optionals$]; + } + set optionals(value) { + super.optionals = value; + } + get named() { + return this[named$]; + } + set named(value) { + super.named = value; + } + get requiredNamed() { + return this[requiredNamed$]; + } + set requiredNamed(value) { + super.requiredNamed = value; + } + static create(returnType, args, optionalArgs, requiredNamedArgs) { + if (args == null) dart.nullFailed(I[5], 753, 24, "args"); + let noOptionalArgs = optionalArgs == null && requiredNamedArgs == null; + if (noOptionalArgs && args.length < 3) { + return dart._createSmall(returnType, args); + } + args = dart._canonicalizeArray(args, dart._fnTypeArrayArgMap); + let keys = []; + let create = null; + if (noOptionalArgs) { + keys = [returnType, args]; + create = () => new dart.FunctionType.new(core.Type.as(returnType), args, [], {}, {}); + } else if (optionalArgs instanceof Array) { + let optionals = dart._canonicalizeArray(optionalArgs, dart._fnTypeArrayArgMap); + keys = [returnType, args, optionals]; + create = () => new dart.FunctionType.new(core.Type.as(returnType), args, optionals, {}, {}); + } else { + let named = dart._canonicalizeNamed(optionalArgs, dart._fnTypeNamedArgMap); + let requiredNamed = dart._canonicalizeNamed(requiredNamedArgs, dart._fnTypeNamedArgMap); + keys = [returnType, args, named, requiredNamed]; + create = () => new dart.FunctionType.new(core.Type.as(returnType), args, [], named, requiredNamed); + } + return dart._memoizeArray(dart._fnTypeTypeMap, keys, create); + } + toString() { + return this.name; + } + get requiredParameterCount() { + return this.args[$length]; + } + get positionalParameterCount() { + return dart.notNull(this.args[$length]) + dart.notNull(this.optionals[$length]); + } + getPositionalParameter(i) { + if (i == null) dart.nullFailed(I[5], 792, 30, "i"); + let n = this.args[$length]; + return dart.notNull(i) < dart.notNull(n) ? this.args[$_get](i) : this.optionals[$_get](dart.notNull(i) + dart.notNull(n)); + } + [_createNameMap](names) { + if (names == null) dart.nullFailed(I[5], 798, 52, "names"); + let result = new (T$.IdentityMapOfString$Object()).new(); + names.sort(); + for (let i = 0; i < names.length; i = i + 1) { + let name = names[i]; + result[$_set](name, this.named[name]); + } + return result; + } + getNamedParameters() { + return this[_createNameMap](dart.getOwnPropertyNames(this.named)[$toList]()); + } + getRequiredNamedParameters() { + return this[_createNameMap](dart.getOwnPropertyNames(this.requiredNamed)[$toList]()); + } + get name() { + if (this[_stringValue] != null) return dart.nullCheck(this[_stringValue]); + let buffer = "("; + for (let i = 0; i < this.args.length; i = i + 1) { + if (i > 0) { + buffer = buffer + ", "; + } + buffer = buffer + dart.typeName(this.args[i]); + } + if (this.optionals.length > 0) { + if (this.args.length > 0) buffer = buffer + ", "; + buffer = buffer + "["; + for (let i = 0; i < this.optionals.length; i = i + 1) { + if (i > 0) { + buffer = buffer + ", "; + } + buffer = buffer + dart.typeName(this.optionals[i]); + } + buffer = buffer + "]"; + } else if (Object.keys(this.named).length > 0 || Object.keys(this.requiredNamed).length > 0) { + if (this.args.length > 0) buffer = buffer + ", "; + buffer = buffer + "{"; + let names = dart.getOwnPropertyNames(this.named); + names.sort(); + for (let i = 0; i < names.length; i = i + 1) { + if (i > 0) { + buffer = buffer + ", "; + } + let typeNameString = dart.typeName(this.named[names[i]]); + buffer = buffer + (typeNameString + " " + dart.str(names[i])); + } + if (Object.keys(this.requiredNamed).length > 0 && names.length > 0) buffer = buffer + ", "; + names = dart.getOwnPropertyNames(this.requiredNamed); + names.sort(); + for (let i = 0; i < names.length; i = i + 1) { + if (i > 0) { + buffer = buffer + ", "; + } + let typeNameString = dart.typeName(this.requiredNamed[names[i]]); + buffer = buffer + ("required " + typeNameString + " " + dart.str(names[i])); + } + buffer = buffer + "}"; + } + let returnTypeName = dart.typeName(this.returnType); + buffer = buffer + (") => " + returnTypeName); + this[_stringValue] = buffer; + return buffer; + } + is(obj) { + if (typeof obj == "function") { + let actual = obj[dart._runtimeType]; + return actual == null || dart.isSubtypeOf(actual, this); + } + return false; + } + as(obj) { + if (dart.test(this.is(obj))) return obj; + return dart.as(obj, this); + } +}; +(dart.FunctionType.new = function(returnType, args, optionals, named, requiredNamed) { + if (returnType == null) dart.nullFailed(I[5], 784, 21, "returnType"); + if (args == null) dart.nullFailed(I[5], 784, 38, "args"); + if (optionals == null) dart.nullFailed(I[5], 784, 49, "optionals"); + this[_stringValue] = null; + this[returnType$] = returnType; + this[args$] = args; + this[optionals$] = optionals; + this[named$] = named; + this[requiredNamed$] = requiredNamed; + dart.FunctionType.__proto__.new.call(this); + ; +}).prototype = dart.FunctionType.prototype; +dart.addTypeTests(dart.FunctionType); +dart.addTypeCaches(dart.FunctionType); +dart.setMethodSignature(dart.FunctionType, () => ({ + __proto__: dart.getMethods(dart.FunctionType.__proto__), + getPositionalParameter: dart.fnType(dart.dynamic, [core.int]), + [_createNameMap]: dart.fnType(core.Map$(core.String, core.Object), [core.List$(dart.nullable(core.Object))]), + getNamedParameters: dart.fnType(core.Map$(core.String, core.Object), []), + getRequiredNamedParameters: dart.fnType(core.Map$(core.String, core.Object), []) +})); +dart.setGetterSignature(dart.FunctionType, () => ({ + __proto__: dart.getGetters(dart.FunctionType.__proto__), + requiredParameterCount: core.int, + positionalParameterCount: core.int +})); +dart.setLibraryUri(dart.FunctionType, I[9]); +dart.setFieldSignature(dart.FunctionType, () => ({ + __proto__: dart.getFields(dart.FunctionType.__proto__), + returnType: dart.finalFieldType(core.Type), + args: dart.finalFieldType(core.List), + optionals: dart.finalFieldType(core.List), + named: dart.finalFieldType(dart.dynamic), + requiredNamed: dart.finalFieldType(dart.dynamic), + [_stringValue]: dart.fieldType(dart.nullable(core.String)) +})); +dart.defineExtensionMethods(dart.FunctionType, ['toString']); +var name$ = dart.privateName(dart, "TypeVariable.name"); +dart.TypeVariable = class TypeVariable extends dart.DartType { + get name() { + return this[name$]; + } + set name(value) { + super.name = value; + } + toString() { + return this.name; + } +}; +(dart.TypeVariable.new = function(name) { + if (name == null) dart.nullFailed(I[5], 893, 21, "name"); + this[name$] = name; + dart.TypeVariable.__proto__.new.call(this); + ; +}).prototype = dart.TypeVariable.prototype; +dart.addTypeTests(dart.TypeVariable); +dart.addTypeCaches(dart.TypeVariable); +dart.setLibraryUri(dart.TypeVariable, I[9]); +dart.setFieldSignature(dart.TypeVariable, () => ({ + __proto__: dart.getFields(dart.TypeVariable.__proto__), + name: dart.finalFieldType(core.String) +})); +dart.defineExtensionMethods(dart.TypeVariable, ['toString']); +dart.Variance = class Variance extends core.Object {}; +(dart.Variance.new = function() { + ; +}).prototype = dart.Variance.prototype; +dart.addTypeTests(dart.Variance); +dart.addTypeCaches(dart.Variance); +dart.setLibraryUri(dart.Variance, I[9]); +dart.defineLazy(dart.Variance, { + /*dart.Variance.unrelated*/get unrelated() { + return 0; + }, + /*dart.Variance.covariant*/get covariant() { + return 1; + }, + /*dart.Variance.contravariant*/get contravariant() { + return 2; + }, + /*dart.Variance.invariant*/get invariant() { + return 3; + } +}, false); +var typeFormals$ = dart.privateName(dart, "GenericFunctionTypeIdentifier.typeFormals"); +var typeBounds$ = dart.privateName(dart, "GenericFunctionTypeIdentifier.typeBounds"); +var $function$ = dart.privateName(dart, "GenericFunctionTypeIdentifier.function"); +dart.GenericFunctionTypeIdentifier = class GenericFunctionTypeIdentifier extends dart.AbstractFunctionType { + get typeFormals() { + return this[typeFormals$]; + } + set typeFormals(value) { + super.typeFormals = value; + } + get typeBounds() { + return this[typeBounds$]; + } + set typeBounds(value) { + super.typeBounds = value; + } + get function() { + return this[$function$]; + } + set function(value) { + super.function = value; + } + toString() { + if (this[_stringValue] != null) return dart.nullCheck(this[_stringValue]); + let s = "<"; + let typeFormals = this.typeFormals; + let typeBounds = this.typeBounds; + for (let i = 0, n = core.int.as(dart.dload(typeFormals, 'length')); i < dart.notNull(n); i = i + 1) { + if (i !== 0) s = s + ", "; + s = s + typeFormals[i].name; + let bound = dart.dsend(typeBounds, '_get', [i]); + if (bound === dart.dynamic || bound === dart.nullable(core.Object) || !false && bound === core.Object) { + continue; + } + s = s + (" extends " + dart.str(bound)); + } + s = s + (">" + dart.notNull(dart.toString(this.function))); + return this[_stringValue] = s; + } +}; +(dart.GenericFunctionTypeIdentifier.new = function(typeFormals, typeBounds, $function) { + if ($function == null) dart.nullFailed(I[5], 916, 47, "function"); + this[_stringValue] = null; + this[typeFormals$] = typeFormals; + this[typeBounds$] = typeBounds; + this[$function$] = $function; + dart.GenericFunctionTypeIdentifier.__proto__.new.call(this); + ; +}).prototype = dart.GenericFunctionTypeIdentifier.prototype; +dart.addTypeTests(dart.GenericFunctionTypeIdentifier); +dart.addTypeCaches(dart.GenericFunctionTypeIdentifier); +dart.setLibraryUri(dart.GenericFunctionTypeIdentifier, I[9]); +dart.setFieldSignature(dart.GenericFunctionTypeIdentifier, () => ({ + __proto__: dart.getFields(dart.GenericFunctionTypeIdentifier.__proto__), + typeFormals: dart.finalFieldType(dart.dynamic), + typeBounds: dart.finalFieldType(dart.dynamic), + function: dart.finalFieldType(dart.FunctionType), + [_stringValue]: dart.fieldType(dart.nullable(core.String)) +})); +dart.defineExtensionMethods(dart.GenericFunctionTypeIdentifier, ['toString']); +var formalCount = dart.privateName(dart, "GenericFunctionType.formalCount"); +var _instantiateTypeBounds$ = dart.privateName(dart, "_instantiateTypeBounds"); +var _instantiateTypeParts = dart.privateName(dart, "_instantiateTypeParts"); +var _typeFormals = dart.privateName(dart, "_typeFormals"); +dart.GenericFunctionType = class GenericFunctionType extends dart.AbstractFunctionType { + get formalCount() { + return this[formalCount]; + } + set formalCount(value) { + super.formalCount = value; + } + get typeFormals() { + return this[_typeFormals]; + } + get hasTypeBounds() { + return this[_instantiateTypeBounds$] != null; + } + checkBounds(typeArgs) { + if (typeArgs == null) dart.nullFailed(I[5], 964, 33, "typeArgs"); + if (!dart.test(this.hasTypeBounds)) return; + let bounds = this.instantiateTypeBounds(typeArgs); + let typeFormals = this.typeFormals; + for (let i = 0; i < dart.notNull(typeArgs[$length]); i = i + 1) { + dart.checkTypeBound(typeArgs[$_get](i), bounds[$_get](i), typeFormals[$_get](i).name); + } + } + instantiate(typeArgs) { + let parts = this[_instantiateTypeParts].apply(null, typeArgs); + return dart.FunctionType.create(parts[0], parts[1], parts[2], parts[3]); + } + instantiateTypeBounds(typeArgs) { + if (typeArgs == null) dart.nullFailed(I[5], 982, 43, "typeArgs"); + if (!dart.test(this.hasTypeBounds)) { + return T$.ListOfObject().filled(this.formalCount, dart.legacy(core.Object)); + } + return this[_instantiateTypeBounds$].apply(null, typeArgs); + } + toString() { + let s = "<"; + let typeFormals = this.typeFormals; + let typeBounds = this.instantiateTypeBounds(typeFormals); + for (let i = 0, n = typeFormals[$length]; i < dart.notNull(n); i = i + 1) { + if (i !== 0) s = s + ", "; + s = s + typeFormals[i].name; + let bound = typeBounds[$_get](i); + if (bound !== dart.dynamic && bound !== core.Object) { + s = s + (" extends " + dart.str(bound)); + } + } + s = s + (">" + dart.notNull(dart.toString(this.instantiate(typeFormals)))); + return s; + } + instantiateDefaultBounds() { + function defaultsToDynamic(type) { + if (type === dart.dynamic) return true; + if (type instanceof dart.NullableType || !false && type instanceof dart.LegacyType) { + return type.type === core.Object; + } + return false; + } + let typeFormals = this.typeFormals; + let all = new (T$.IdentityMapOfTypeVariable$int()).new(); + let defaults = T$.ListOfObjectN().filled(typeFormals[$length], null); + let partials = new (T$.IdentityMapOfTypeVariable$Object()).new(); + let typeBounds = this.instantiateTypeBounds(typeFormals); + for (let i = 0; i < dart.notNull(typeFormals[$length]); i = i + 1) { + let typeFormal = typeFormals[$_get](i); + let bound = typeBounds[$_get](i); + all[$_set](typeFormal, i); + if (dart.test(defaultsToDynamic(bound))) { + defaults[$_set](i, dart.dynamic); + } else { + defaults[$_set](i, typeFormal); + partials[$_set](typeFormal, bound); + } + } + function hasFreeFormal(t) { + if (dart.test(partials[$containsKey](t))) return true; + if (t instanceof dart.LegacyType || t instanceof dart.NullableType) { + return hasFreeFormal(t.type); + } + let typeArgs = dart.getGenericArgs(t); + if (typeArgs != null) return typeArgs[$any](hasFreeFormal); + if (dart.GenericFunctionType.is(t)) { + return hasFreeFormal(t.instantiate(t.typeFormals)); + } + if (dart.FunctionType.is(t)) { + return dart.test(hasFreeFormal(t.returnType)) || dart.test(t.args[$any](hasFreeFormal)); + } + return false; + } + let hasProgress = true; + while (hasProgress) { + hasProgress = false; + for (let typeFormal of partials[$keys]) { + let partialBound = dart.nullCheck(partials[$_get](typeFormal)); + if (!dart.test(hasFreeFormal(partialBound))) { + let index = dart.nullCheck(all[$_get](typeFormal)); + defaults[$_set](index, this.instantiateTypeBounds(defaults)[$_get](index)); + partials[$remove](typeFormal); + hasProgress = true; + break; + } + } + } + if (dart.test(partials[$isNotEmpty])) { + dart.throwTypeError("Instantiate to bounds failed for type with " + "recursive generic bounds: " + dart.typeName(this) + ". " + "Try passing explicit type arguments."); + } + return defaults; + } + is(obj) { + if (typeof obj == "function") { + let actual = obj[dart._runtimeType]; + return actual != null && dart.isSubtypeOf(actual, this); + } + return false; + } + as(obj) { + if (this.is(obj)) return obj; + return dart.as(obj, this); + } +}; +(dart.GenericFunctionType.new = function(instantiateTypeParts, _instantiateTypeBounds) { + this[_instantiateTypeBounds$] = _instantiateTypeBounds; + this[_instantiateTypeParts] = instantiateTypeParts; + this[formalCount] = instantiateTypeParts.length; + this[_typeFormals] = dart._typeFormalsFromFunction(instantiateTypeParts); + dart.GenericFunctionType.__proto__.new.call(this); + ; +}).prototype = dart.GenericFunctionType.prototype; +dart.addTypeTests(dart.GenericFunctionType); +dart.addTypeCaches(dart.GenericFunctionType); +dart.setMethodSignature(dart.GenericFunctionType, () => ({ + __proto__: dart.getMethods(dart.GenericFunctionType.__proto__), + checkBounds: dart.fnType(dart.void, [core.List$(core.Object)]), + instantiate: dart.fnType(dart.FunctionType, [dart.dynamic]), + instantiateTypeBounds: dart.fnType(core.List$(core.Object), [core.List]), + instantiateDefaultBounds: dart.fnType(core.List, []) +})); +dart.setGetterSignature(dart.GenericFunctionType, () => ({ + __proto__: dart.getGetters(dart.GenericFunctionType.__proto__), + typeFormals: core.List$(dart.TypeVariable), + hasTypeBounds: core.bool +})); +dart.setLibraryUri(dart.GenericFunctionType, I[9]); +dart.setFieldSignature(dart.GenericFunctionType, () => ({ + __proto__: dart.getFields(dart.GenericFunctionType.__proto__), + [_instantiateTypeParts]: dart.finalFieldType(dart.dynamic), + formalCount: dart.finalFieldType(core.int), + [_instantiateTypeBounds$]: dart.finalFieldType(dart.dynamic), + [_typeFormals]: dart.finalFieldType(core.List$(dart.TypeVariable)) +})); +dart.defineExtensionMethods(dart.GenericFunctionType, ['toString']); +var _typeVariables = dart.privateName(dart, "_typeVariables"); +var _isSubtypeMatch = dart.privateName(dart, "_isSubtypeMatch"); +var _constrainLower = dart.privateName(dart, "_constrainLower"); +var _constrainUpper = dart.privateName(dart, "_constrainUpper"); +var _isFunctionSubtypeMatch = dart.privateName(dart, "_isFunctionSubtypeMatch"); +var _isInterfaceSubtypeMatch = dart.privateName(dart, "_isInterfaceSubtypeMatch"); +var _isTop$ = dart.privateName(dart, "_isTop"); +dart._TypeInferrer = class _TypeInferrer extends core.Object { + getInferredTypes() { + let result = T$.JSArrayOfObject().of([]); + for (let constraint of this[_typeVariables][$values]) { + if (constraint.lower != null) { + result[$add](dart.nullCheck(constraint.lower)); + } else if (constraint.upper != null) { + result[$add](dart.nullCheck(constraint.upper)); + } else { + return null; + } + } + return result; + } + trySubtypeMatch(subtype, supertype) { + if (subtype == null) dart.nullFailed(I[5], 1722, 31, "subtype"); + if (supertype == null) dart.nullFailed(I[5], 1722, 47, "supertype"); + return this[_isSubtypeMatch](subtype, supertype); + } + [_constrainLower](parameter, lower) { + if (parameter == null) dart.nullFailed(I[5], 1725, 37, "parameter"); + if (lower == null) dart.nullFailed(I[5], 1725, 55, "lower"); + dart.nullCheck(this[_typeVariables][$_get](parameter))[_constrainLower](lower); + } + [_constrainUpper](parameter, upper) { + if (parameter == null) dart.nullFailed(I[5], 1729, 37, "parameter"); + if (upper == null) dart.nullFailed(I[5], 1729, 55, "upper"); + dart.nullCheck(this[_typeVariables][$_get](parameter))[_constrainUpper](upper); + } + [_isFunctionSubtypeMatch](subtype, supertype) { + let t7; + if (subtype == null) dart.nullFailed(I[5], 1733, 45, "subtype"); + if (supertype == null) dart.nullFailed(I[5], 1733, 67, "supertype"); + if (dart.notNull(subtype.requiredParameterCount) > dart.notNull(supertype.requiredParameterCount)) { + return false; + } + if (dart.notNull(subtype.positionalParameterCount) < dart.notNull(supertype.positionalParameterCount)) { + return false; + } + if (!dart.VoidType.is(supertype.returnType) && !dart.test(this[_isSubtypeMatch](subtype.returnType, supertype.returnType))) { + return false; + } + for (let i = 0, n = supertype.positionalParameterCount; i < dart.notNull(n); i = i + 1) { + if (!dart.test(this[_isSubtypeMatch](core.Object.as(supertype.getPositionalParameter(i)), core.Object.as(subtype.getPositionalParameter(i))))) { + return false; + } + } + let supertypeNamed = supertype.getNamedParameters(); + let supertypeRequiredNamed = supertype.getRequiredNamedParameters(); + let subtypeNamed = supertype.getNamedParameters(); + let subtypeRequiredNamed = supertype.getRequiredNamedParameters(); + if (!false) { + supertypeNamed = (() => { + let t1 = new (T$.IdentityMapOfString$Object()).new(); + for (let t2 of supertypeNamed[$entries]) + t1[$_set](t2.key, t2.value); + for (let t3 of supertypeRequiredNamed[$entries]) + t1[$_set](t3.key, t3.value); + return t1; + })(); + subtypeNamed = (() => { + let t4 = new (T$.IdentityMapOfString$Object()).new(); + for (let t5 of subtypeNamed[$entries]) + t4[$_set](t5.key, t5.value); + for (let t6 of subtypeRequiredNamed[$entries]) + t4[$_set](t6.key, t6.value); + return t4; + })(); + supertypeRequiredNamed = new (T$.IdentityMapOfString$Object()).new(); + subtypeRequiredNamed = new (T$.IdentityMapOfString$Object()).new(); + } + for (let name of subtypeRequiredNamed[$keys]) { + let supertypeParamType = supertypeRequiredNamed[$_get](name); + if (supertypeParamType == null) return false; + } + for (let name of supertypeNamed[$keys]) { + let subtypeParamType = subtypeNamed[$_get](name); + if (subtypeParamType == null) return false; + if (!dart.test(this[_isSubtypeMatch](dart.nullCheck(supertypeNamed[$_get](name)), subtypeParamType))) { + return false; + } + } + for (let name of supertypeRequiredNamed[$keys]) { + let subtypeParamType = (t7 = subtypeRequiredNamed[$_get](name), t7 == null ? dart.nullCheck(subtypeNamed[$_get](name)) : t7); + if (!dart.test(this[_isSubtypeMatch](dart.nullCheck(supertypeRequiredNamed[$_get](name)), subtypeParamType))) { + return false; + } + } + return true; + } + [_isInterfaceSubtypeMatch](subtype, supertype) { + if (subtype == null) dart.nullFailed(I[5], 1809, 40, "subtype"); + if (supertype == null) dart.nullFailed(I[5], 1809, 56, "supertype"); + let matchingSupertype = dart._getMatchingSupertype(subtype, supertype); + if (matchingSupertype == null) return false; + let matchingTypeArgs = dart.nullCheck(dart.getGenericArgs(matchingSupertype)); + let supertypeTypeArgs = dart.nullCheck(dart.getGenericArgs(supertype)); + for (let i = 0; i < dart.notNull(supertypeTypeArgs[$length]); i = i + 1) { + if (!dart.test(this[_isSubtypeMatch](core.Object.as(matchingTypeArgs[$_get](i)), core.Object.as(supertypeTypeArgs[$_get](i))))) { + return false; + } + } + return true; + } + [_isSubtypeMatch](subtype, supertype) { + if (subtype == null) dart.nullFailed(I[5], 1853, 31, "subtype"); + if (supertype == null) dart.nullFailed(I[5], 1853, 47, "supertype"); + if (dart.TypeVariable.is(subtype) && dart.test(this[_typeVariables][$containsKey](subtype))) { + this[_constrainUpper](subtype, supertype); + return true; + } + if (dart.TypeVariable.is(supertype) && dart.test(this[_typeVariables][$containsKey](supertype))) { + this[_constrainLower](supertype, subtype); + return true; + } + if (core.identical(subtype, supertype)) return true; + if (dart.test(this[_isTop$](supertype))) return true; + if (subtype === core.Null) return true; + if (dart._isFutureOr(subtype)) { + let subtypeArg = dart.nullCheck(dart.getGenericArgs(subtype))[$_get](0); + if (dart._isFutureOr(supertype)) { + let supertypeArg = dart.nullCheck(dart.getGenericArgs(supertype))[$_get](0); + return this[_isSubtypeMatch](core.Object.as(subtypeArg), core.Object.as(supertypeArg)); + } + let subtypeFuture = async.Future$(subtypeArg); + return dart.test(this[_isSubtypeMatch](subtypeFuture, supertype)) && dart.test(this[_isSubtypeMatch](core.Object.as(dart.nullCheck(subtypeArg)), supertype)); + } + if (dart._isFutureOr(supertype)) { + let supertypeArg = dart.nullCheck(dart.getGenericArgs(supertype))[$_get](0); + let supertypeFuture = async.Future$(supertypeArg); + return dart.test(this[_isSubtypeMatch](subtype, supertypeFuture)) || dart.test(this[_isSubtypeMatch](subtype, core.Object.as(supertypeArg))); + } + if (dart.TypeVariable.is(subtype)) { + return dart.TypeVariable.is(supertype) && subtype == supertype; + } + if (dart.GenericFunctionType.is(subtype)) { + if (dart.GenericFunctionType.is(supertype)) { + let formalCount = subtype.formalCount; + if (formalCount != supertype.formalCount) return false; + let fresh = supertype.typeFormals; + let t1Bounds = subtype.instantiateTypeBounds(fresh); + let t2Bounds = supertype.instantiateTypeBounds(fresh); + for (let i = 0; i < dart.notNull(formalCount); i = i + 1) { + if (!dart.test(this[_isSubtypeMatch](t2Bounds[$_get](i), t1Bounds[$_get](i)))) { + return false; + } + } + return this[_isFunctionSubtypeMatch](subtype.instantiate(fresh), supertype.instantiate(fresh)); + } else { + return false; + } + } else if (dart.GenericFunctionType.is(supertype)) { + return false; + } + if (dart.FunctionType.is(subtype)) { + if (!dart.FunctionType.is(supertype)) { + if (supertype === core.Function || supertype === core.Object) { + return true; + } else { + return false; + } + } + if (dart.FunctionType.is(supertype)) { + return this[_isFunctionSubtypeMatch](subtype, supertype); + } + } + return this[_isInterfaceSubtypeMatch](subtype, supertype); + } + [_isTop$](type) { + if (type == null) dart.nullFailed(I[5], 1996, 22, "type"); + return core.identical(type, dart.dynamic) || core.identical(type, dart.void) || type === core.Object; + } +}; +(dart._TypeInferrer.new = function(typeVariables) { + if (typeVariables == null) dart.nullFailed(I[5], 1697, 40, "typeVariables"); + this[_typeVariables] = T$.LinkedHashMapOfTypeVariable$TypeConstraint().fromIterables(typeVariables, typeVariables[$map](dart.TypeConstraint, _ => { + if (_ == null) dart.nullFailed(I[5], 1699, 47, "_"); + return new dart.TypeConstraint.new(); + })); + ; +}).prototype = dart._TypeInferrer.prototype; +dart.addTypeTests(dart._TypeInferrer); +dart.addTypeCaches(dart._TypeInferrer); +dart.setMethodSignature(dart._TypeInferrer, () => ({ + __proto__: dart.getMethods(dart._TypeInferrer.__proto__), + getInferredTypes: dart.fnType(dart.nullable(core.List$(core.Object)), []), + trySubtypeMatch: dart.fnType(core.bool, [core.Object, core.Object]), + [_constrainLower]: dart.fnType(dart.void, [dart.TypeVariable, core.Object]), + [_constrainUpper]: dart.fnType(dart.void, [dart.TypeVariable, core.Object]), + [_isFunctionSubtypeMatch]: dart.fnType(core.bool, [dart.FunctionType, dart.FunctionType]), + [_isInterfaceSubtypeMatch]: dart.fnType(core.bool, [core.Object, core.Object]), + [_isSubtypeMatch]: dart.fnType(core.bool, [core.Object, core.Object]), + [_isTop$]: dart.fnType(core.bool, [core.Object]) +})); +dart.setLibraryUri(dart._TypeInferrer, I[9]); +dart.setFieldSignature(dart._TypeInferrer, () => ({ + __proto__: dart.getFields(dart._TypeInferrer.__proto__), + [_typeVariables]: dart.finalFieldType(core.Map$(dart.TypeVariable, dart.TypeConstraint)) +})); +var lower = dart.privateName(dart, "TypeConstraint.lower"); +var upper = dart.privateName(dart, "TypeConstraint.upper"); +dart.TypeConstraint = class TypeConstraint extends core.Object { + get lower() { + return this[lower]; + } + set lower(value) { + this[lower] = value; + } + get upper() { + return this[upper]; + } + set upper(value) { + this[upper] = value; + } + [_constrainLower](type) { + if (type == null) dart.nullFailed(I[5], 2012, 31, "type"); + let _lower = this.lower; + if (_lower != null) { + if (dart.isSubtypeOf(_lower, type)) { + return; + } + if (!dart.isSubtypeOf(type, _lower)) { + type = core.Null; + } + } + this.lower = type; + } + [_constrainUpper](type) { + if (type == null) dart.nullFailed(I[5], 2027, 31, "type"); + let _upper = this.upper; + if (_upper != null) { + if (dart.isSubtypeOf(type, _upper)) { + return; + } + if (!dart.isSubtypeOf(_upper, type)) { + type = core.Object; + } + } + this.upper = type; + } + toString() { + return dart.typeName(this.lower) + " <: <: " + dart.typeName(this.upper); + } +}; +(dart.TypeConstraint.new = function() { + this[lower] = null; + this[upper] = null; + ; +}).prototype = dart.TypeConstraint.prototype; +dart.addTypeTests(dart.TypeConstraint); +dart.addTypeCaches(dart.TypeConstraint); +dart.setMethodSignature(dart.TypeConstraint, () => ({ + __proto__: dart.getMethods(dart.TypeConstraint.__proto__), + [_constrainLower]: dart.fnType(dart.void, [core.Object]), + [_constrainUpper]: dart.fnType(dart.void, [core.Object]) +})); +dart.setLibraryUri(dart.TypeConstraint, I[9]); +dart.setFieldSignature(dart.TypeConstraint, () => ({ + __proto__: dart.getFields(dart.TypeConstraint.__proto__), + lower: dart.fieldType(dart.nullable(core.Object)), + upper: dart.fieldType(dart.nullable(core.Object)) +})); +dart.defineExtensionMethods(dart.TypeConstraint, ['toString']); +var _trace = dart.privateName(dart, "_trace"); +var _jsObjectMissingTrace = dart.privateName(dart, "_jsObjectMissingTrace"); +dart._StackTrace = class _StackTrace extends core.Object { + toString() { + if (this[_trace] != null) return dart.nullCheck(this[_trace]); + let e = this[_jsError$]; + let trace = ""; + if (e != null && typeof e === "object") { + trace = _interceptors.NativeError.is(e) ? e[$dartStack]() : e.stack; + let mapper = _debugger.stackTraceMapper; + if (trace != null && mapper != null) { + trace = mapper(trace); + } + } + if (trace[$isEmpty] || this[_jsObjectMissingTrace] != null) { + let jsToString = null; + try { + jsToString = "" + this[_jsObjectMissingTrace]; + } catch (e$) { + let _ = dart.getThrown(e$); + if (core.Object.is(_)) { + jsToString = ""; + } else + throw e$; + } + trace = "Non-error `" + dart.str(jsToString) + "` thrown by JS does not have stack trace." + "\nCaught in Dart at:\n\n" + dart.str(trace); + } + return this[_trace] = trace; + } +}; +(dart._StackTrace.new = function(_jsError) { + this[_trace] = null; + this[_jsError$] = _jsError; + this[_jsObjectMissingTrace] = null; + ; +}).prototype = dart._StackTrace.prototype; +(dart._StackTrace.missing = function(caughtObj) { + this[_trace] = null; + this[_jsObjectMissingTrace] = caughtObj != null ? caughtObj : "null"; + this[_jsError$] = Error(); + ; +}).prototype = dart._StackTrace.prototype; +dart.addTypeTests(dart._StackTrace); +dart.addTypeCaches(dart._StackTrace); +dart._StackTrace[dart.implements] = () => [core.StackTrace]; +dart.setLibraryUri(dart._StackTrace, I[9]); +dart.setFieldSignature(dart._StackTrace, () => ({ + __proto__: dart.getFields(dart._StackTrace.__proto__), + [_jsError$]: dart.finalFieldType(dart.nullable(core.Object)), + [_jsObjectMissingTrace]: dart.finalFieldType(dart.nullable(core.Object)), + [_trace]: dart.fieldType(dart.nullable(core.String)) +})); +dart.defineExtensionMethods(dart._StackTrace, ['toString']); +var memberName$ = dart.privateName(dart, "InvocationImpl.memberName"); +var positionalArguments$ = dart.privateName(dart, "InvocationImpl.positionalArguments"); +var namedArguments$ = dart.privateName(dart, "InvocationImpl.namedArguments"); +var typeArguments$ = dart.privateName(dart, "InvocationImpl.typeArguments"); +var isMethod$ = dart.privateName(dart, "InvocationImpl.isMethod"); +var isGetter$ = dart.privateName(dart, "InvocationImpl.isGetter"); +var isSetter$ = dart.privateName(dart, "InvocationImpl.isSetter"); +var failureMessage$ = dart.privateName(dart, "InvocationImpl.failureMessage"); +let const$; +let const$0; +dart.defineLazy(CT, { + get C0() { + return C[0] = dart.constList([], T$.TypeL()); + }, + get C1() { + return C[1] = dart.const({ + __proto__: _debugger.JsonMLConfig.prototype, + [name$0]: "none" + }); + }, + get C2() { + return C[2] = dart.const({ + __proto__: _debugger.JsonMLConfig.prototype, + [name$0]: "skipDart" + }); + }, + get C3() { + return C[3] = dart.const({ + __proto__: _debugger.JsonMLConfig.prototype, + [name$0]: "keyToString" + }); + }, + get C4() { + return C[4] = dart.const({ + __proto__: _debugger.JsonMLConfig.prototype, + [name$0]: "asClass" + }); + }, + get C5() { + return C[5] = dart.const({ + __proto__: _debugger.JsonMLConfig.prototype, + [name$0]: "asObject" + }); + }, + get C6() { + return C[6] = dart.const({ + __proto__: _debugger.JsonMLConfig.prototype, + [name$0]: "asMap" + }); + }, + get C7() { + return C[7] = dart.fn(_debugger.getTypeName, T$.dynamicToString()); + }, + get C8() { + return C[8] = dart.const({ + __proto__: _foreign_helper._Rest.prototype + }); + }, + get C9() { + return C[9] = dart.const(new _js_helper.PrivateSymbol.new('_receiver', _receiver)); + }, + get C10() { + return C[10] = dart.const(new _js_helper.PrivateSymbol.new('_arguments', _arguments)); + }, + get C11() { + return C[11] = dart.const(new _js_helper.PrivateSymbol.new('_memberName', _memberName)); + }, + get C12() { + return C[12] = dart.const(new _js_helper.PrivateSymbol.new('_invocation', _invocation)); + }, + get C13() { + return C[13] = dart.const(new _js_helper.PrivateSymbol.new('_namedArguments', _namedArguments)); + }, + get C14() { + return C[14] = dart.const(new _js_helper.PrivateSymbol.new('_hasValue', _hasValue)); + }, + get C15() { + return C[15] = dart.const(new _js_helper.PrivateSymbol.new('_errorExplanation', _errorExplanation)); + }, + get C16() { + return C[16] = dart.const(new _js_helper.PrivateSymbol.new('_errorName', _errorName)); + }, + get C17() { + return C[17] = dart.const({ + __proto__: core.OutOfMemoryError.prototype + }); + }, + get C18() { + return C[18] = dart.fn(collection.ListMixin._compareAny, T$.dynamicAnddynamicToint()); + }, + get C19() { + return C[19] = dart.fn(collection.MapBase._id, T$.ObjectNToObjectN()); + }, + get C20() { + return C[20] = dart.const({ + __proto__: T$.EmptyIteratorOfNeverL().prototype + }); + }, + get C21() { + return C[21] = dart.constList([1, 10, 100, 1000, 10000, 100000, 1000000, 10000000, 100000000, 1000000000, 10000000000.0, 100000000000.0, 1000000000000.0, 10000000000000.0, 100000000000000.0, 1000000000000000.0, 10000000000000000.0, 100000000000000000.0, 1000000000000000000.0, 10000000000000000000.0, 100000000000000000000.0, 1e+21, 1e+22], T$.doubleL()); + }, + get C22() { + return C[22] = dart.fn(_js_helper.Primitives.dateNow, T$.VoidToint()); + }, + get C23() { + return C[23] = dart.const(new _js_helper.PrivateSymbol.new('_receiver', _receiver$1)); + }, + get C24() { + return C[24] = dart.const(new _js_helper.PrivateSymbol.new('_arguments', _arguments$0)); + }, + get C25() { + return C[25] = dart.const(new _js_helper.PrivateSymbol.new('_memberName', _memberName$0)); + }, + get C26() { + return C[26] = dart.const(new _js_helper.PrivateSymbol.new('_invocation', _invocation$0)); + }, + get C27() { + return C[27] = dart.const(new _js_helper.PrivateSymbol.new('_namedArguments', _namedArguments$0)); + }, + get C28() { + return C[28] = dart.applyExtensionForTesting; + }, + get C29() { + return C[29] = dart.fn(_js_helper.assertInterop, T$.ObjectNTovoid()); + }, + get C30() { + return C[30] = dart.fn(_js_helper._matchString, T$.MatchToString()); + }, + get C31() { + return C[31] = dart.fn(_js_helper._stringIdentity, T$.StringToString()); + }, + get C32() { + return C[32] = dart.const({ + __proto__: _js_helper._Patch.prototype + }); + }, + get C33() { + return C[33] = dart.const({ + __proto__: _js_helper._NotNull.prototype + }); + }, + get C34() { + return C[34] = dart.const({ + __proto__: _js_helper._Undefined.prototype + }); + }, + get C35() { + return C[35] = dart.const({ + __proto__: _js_helper._NullCheck.prototype + }); + }, + get C36() { + return C[36] = dart.const({ + __proto__: typed_data.Endian.prototype, + [Endian__littleEndian]: false + }); + }, + get C37() { + return C[37] = dart.fn(async._nullDataHandler, T$.dynamicTovoid()); + }, + get C38() { + return C[38] = dart.fn(async._nullErrorHandler, T$.ObjectAndStackTraceTovoid()); + }, + get C39() { + return C[39] = dart.fn(async._nullDoneHandler, T$.VoidTovoid()); + }, + get C40() { + return C[40] = dart.const({ + __proto__: async._DelayedDone.prototype + }); + }, + get C41() { + return C[41] = dart.fn(async.Future._kTrue, T$.ObjectNTobool()); + }, + get C42() { + return C[42] = async._AsyncRun._scheduleImmediateJSOverride; + }, + get C43() { + return C[43] = async._AsyncRun._scheduleImmediateWithPromise; + }, + get C44() { + return C[44] = dart.const({ + __proto__: async._RootZone.prototype + }); + }, + get C46() { + return C[46] = dart.fn(async._rootRun, T$.ZoneNAndZoneDelegateNAndZone__ToR()); + }, + get C45() { + return C[45] = dart.const({ + __proto__: async._RunNullaryZoneFunction.prototype, + [$function$1]: C[46] || CT.C46, + [zone$0]: C[44] || CT.C44 + }); + }, + get C48() { + return C[48] = dart.fn(async._rootRunUnary, T$.ZoneNAndZoneDelegateNAndZone__ToR$1()); + }, + get C47() { + return C[47] = dart.const({ + __proto__: async._RunUnaryZoneFunction.prototype, + [$function$2]: C[48] || CT.C48, + [zone$1]: C[44] || CT.C44 + }); + }, + get C50() { + return C[50] = dart.fn(async._rootRunBinary, T$.ZoneNAndZoneDelegateNAndZone__ToR$2()); + }, + get C49() { + return C[49] = dart.const({ + __proto__: async._RunBinaryZoneFunction.prototype, + [$function$3]: C[50] || CT.C50, + [zone$2]: C[44] || CT.C44 + }); + }, + get C52() { + return C[52] = dart.fn(async._rootRegisterCallback, T$.ZoneAndZoneDelegateAndZone__ToFn()); + }, + get C51() { + return C[51] = dart.const({ + __proto__: async._RegisterNullaryZoneFunction.prototype, + [$function$4]: C[52] || CT.C52, + [zone$3]: C[44] || CT.C44 + }); + }, + get C54() { + return C[54] = dart.fn(async._rootRegisterUnaryCallback, T$.ZoneAndZoneDelegateAndZone__ToFn$1()); + }, + get C53() { + return C[53] = dart.const({ + __proto__: async._RegisterUnaryZoneFunction.prototype, + [$function$5]: C[54] || CT.C54, + [zone$4]: C[44] || CT.C44 + }); + }, + get C56() { + return C[56] = dart.fn(async._rootRegisterBinaryCallback, T$.ZoneAndZoneDelegateAndZone__ToFn$2()); + }, + get C55() { + return C[55] = dart.const({ + __proto__: async._RegisterBinaryZoneFunction.prototype, + [$function$6]: C[56] || CT.C56, + [zone$5]: C[44] || CT.C44 + }); + }, + get C58() { + return C[58] = dart.fn(async._rootErrorCallback, T$.ZoneAndZoneDelegateAndZone__ToAsyncErrorN()); + }, + get C57() { + return C[57] = dart.const({ + __proto__: T$._ZoneFunctionOfZoneLAndZoneDelegateLAndZoneL__ToLAsyncErrorN().prototype, + [$function$0]: C[58] || CT.C58, + [zone$]: C[44] || CT.C44 + }); + }, + get C60() { + return C[60] = dart.fn(async._rootScheduleMicrotask, T$.ZoneNAndZoneDelegateNAndZone__Tovoid()); + }, + get C59() { + return C[59] = dart.const({ + __proto__: T$._ZoneFunctionOfZoneLAndZoneDelegateLAndZoneL__ToLvoid().prototype, + [$function$0]: C[60] || CT.C60, + [zone$]: C[44] || CT.C44 + }); + }, + get C62() { + return C[62] = dart.fn(async._rootCreateTimer, T$.ZoneAndZoneDelegateAndZone__ToTimer()); + }, + get C61() { + return C[61] = dart.const({ + __proto__: T$._ZoneFunctionOfZoneLAndZoneDelegateLAndZoneL__ToLTimerL().prototype, + [$function$0]: C[62] || CT.C62, + [zone$]: C[44] || CT.C44 + }); + }, + get C64() { + return C[64] = dart.fn(async._rootCreatePeriodicTimer, T$.ZoneAndZoneDelegateAndZone__ToTimer$1()); + }, + get C63() { + return C[63] = dart.const({ + __proto__: T$._ZoneFunctionOfZoneLAndZoneDelegateLAndZoneL__ToLTimerL$1().prototype, + [$function$0]: C[64] || CT.C64, + [zone$]: C[44] || CT.C44 + }); + }, + get C66() { + return C[66] = dart.fn(async._rootPrint, T$.ZoneAndZoneDelegateAndZone__Tovoid$1()); + }, + get C65() { + return C[65] = dart.const({ + __proto__: T$._ZoneFunctionOfZoneLAndZoneDelegateLAndZoneL__ToLvoid$1().prototype, + [$function$0]: C[66] || CT.C66, + [zone$]: C[44] || CT.C44 + }); + }, + get C68() { + return C[68] = dart.fn(async._rootFork, T$.ZoneNAndZoneDelegateNAndZone__ToZone()); + }, + get C67() { + return C[67] = dart.const({ + __proto__: T$._ZoneFunctionOfZoneLAndZoneDelegateLAndZoneL__ToLZoneL().prototype, + [$function$0]: C[68] || CT.C68, + [zone$]: C[44] || CT.C44 + }); + }, + get C70() { + return C[70] = dart.fn(async._rootHandleUncaughtError, T$.ZoneNAndZoneDelegateNAndZone__Tovoid$1()); + }, + get C69() { + return C[69] = dart.const({ + __proto__: T$._ZoneFunctionOfZoneLAndZoneDelegateLAndZoneL__ToLvoid$2().prototype, + [$function$0]: C[70] || CT.C70, + [zone$]: C[44] || CT.C44 + }); + }, + get C71() { + return C[71] = dart.fn(async._startMicrotaskLoop, T$.VoidTovoid()); + }, + get C72() { + return C[72] = dart.fn(async._printToZone, T$.StringTovoid()); + }, + get C73() { + return C[73] = dart.const({ + __proto__: async._ZoneSpecification.prototype, + [fork$]: null, + [print$]: null, + [createPeriodicTimer$]: null, + [createTimer$]: null, + [scheduleMicrotask$]: null, + [errorCallback$]: null, + [registerBinaryCallback$]: null, + [registerUnaryCallback$]: null, + [registerCallback$]: null, + [runBinary$]: null, + [runUnary$]: null, + [run$]: null, + [handleUncaughtError$]: null + }); + }, + get C74() { + return C[74] = dart.hashCode; + }, + get C75() { + return C[75] = dart.fn(core.identityHashCode, T$.ObjectNToint()); + }, + get C76() { + return C[76] = dart.fn(core.identical, T$.ObjectNAndObjectNTobool()); + }, + get C77() { + return C[77] = dart.equals; + }, + get C78() { + return C[78] = dart.fn(core.Comparable.compare, T$0.ComparableAndComparableToint()); + }, + get C79() { + return C[79] = dart.fn(collection._dynamicCompare, T$.dynamicAnddynamicToint()); + }, + get C80() { + return C[80] = dart.const({ + __proto__: convert.AsciiDecoder.prototype, + [_UnicodeSubsetDecoder__subsetMask]: 127, + [_UnicodeSubsetDecoder__allowInvalid]: true + }); + }, + get C81() { + return C[81] = dart.const({ + __proto__: convert.AsciiDecoder.prototype, + [_UnicodeSubsetDecoder__subsetMask]: 127, + [_UnicodeSubsetDecoder__allowInvalid]: false + }); + }, + get C82() { + return C[82] = dart.const({ + __proto__: convert.AsciiEncoder.prototype, + [_UnicodeSubsetEncoder__subsetMask]: 127 + }); + }, + get C83() { + return C[83] = dart.constList([239, 191, 189], T$0.intL()); + }, + get C84() { + return C[84] = dart.const({ + __proto__: convert.Base64Encoder.prototype, + [Base64Encoder__urlSafe]: false + }); + }, + get C85() { + return C[85] = dart.const({ + __proto__: convert.Base64Encoder.prototype, + [Base64Encoder__urlSafe]: true + }); + }, + get C86() { + return C[86] = dart.const({ + __proto__: convert.Base64Decoder.prototype + }); + }, + get C87() { + return C[87] = dart.constList([], T$0.intL()); + }, + get C88() { + return C[88] = dart.const({ + __proto__: convert.HtmlEscapeMode.prototype, + [escapeSlash$]: true, + [escapeApos$]: true, + [escapeQuot$]: true, + [escapeLtGt$]: true, + [_name$2]: "unknown" + }); + }, + get C89() { + return C[89] = dart.const({ + __proto__: convert.HtmlEscapeMode.prototype, + [escapeSlash$]: false, + [escapeApos$]: false, + [escapeQuot$]: true, + [escapeLtGt$]: true, + [_name$2]: "attribute" + }); + }, + get C90() { + return C[90] = dart.const({ + __proto__: convert.HtmlEscapeMode.prototype, + [escapeSlash$]: false, + [escapeApos$]: true, + [escapeQuot$]: false, + [escapeLtGt$]: true, + [_name$2]: "attribute" + }); + }, + get C91() { + return C[91] = dart.const({ + __proto__: convert.HtmlEscapeMode.prototype, + [escapeSlash$]: false, + [escapeApos$]: false, + [escapeQuot$]: false, + [escapeLtGt$]: true, + [_name$2]: "element" + }); + }, + get C92() { + return C[92] = dart.const({ + __proto__: convert.JsonEncoder.prototype, + [JsonEncoder__toEncodable]: null, + [JsonEncoder_indent]: null + }); + }, + get C93() { + return C[93] = dart.const({ + __proto__: convert.JsonDecoder.prototype, + [JsonDecoder__reviver]: null + }); + }, + get C94() { + return C[94] = dart.fn(convert._defaultToEncodable, T$.dynamicTodynamic()); + }, + get C95() { + return C[95] = dart.const({ + __proto__: convert.Latin1Decoder.prototype, + [_UnicodeSubsetDecoder__subsetMask]: 255, + [_UnicodeSubsetDecoder__allowInvalid]: true + }); + }, + get C96() { + return C[96] = dart.const({ + __proto__: convert.Latin1Decoder.prototype, + [_UnicodeSubsetDecoder__subsetMask]: 255, + [_UnicodeSubsetDecoder__allowInvalid]: false + }); + }, + get C97() { + return C[97] = dart.const({ + __proto__: convert.Latin1Encoder.prototype, + [_UnicodeSubsetEncoder__subsetMask]: 255 + }); + }, + get C98() { + return C[98] = dart.constList([65533], T$0.intL()); + }, + get C99() { + return C[99] = dart.const({ + __proto__: convert.Utf8Decoder.prototype, + [Utf8Decoder__allowMalformed]: true + }); + }, + get C100() { + return C[100] = dart.const({ + __proto__: convert.Utf8Decoder.prototype, + [Utf8Decoder__allowMalformed]: false + }); + }, + get C101() { + return C[101] = dart.const({ + __proto__: convert.Utf8Encoder.prototype + }); + }, + get C102() { + return C[102] = dart.const({ + __proto__: convert.AsciiCodec.prototype, + [_allowInvalid]: false + }); + }, + get C103() { + return C[103] = dart.const({ + __proto__: convert.Base64Codec.prototype, + [_encoder]: C[84] || CT.C84 + }); + }, + get C104() { + return C[104] = dart.const({ + __proto__: convert.Base64Codec.prototype, + [_encoder]: C[85] || CT.C85 + }); + }, + get C105() { + return C[105] = dart.const({ + __proto__: convert.HtmlEscape.prototype, + [mode$]: C[88] || CT.C88 + }); + }, + get C106() { + return C[106] = dart.const({ + __proto__: convert.JsonCodec.prototype, + [_toEncodable]: null, + [_reviver]: null + }); + }, + get C107() { + return C[107] = dart.const({ + __proto__: convert.Latin1Codec.prototype, + [_allowInvalid$1]: false + }); + }, + get C108() { + return C[108] = dart.const({ + __proto__: convert.Utf8Codec.prototype, + [_allowMalformed]: false + }); + }, + get C109() { + return C[109] = dart.const({ + __proto__: io.FileMode.prototype, + [_mode$]: 0 + }); + }, + get C110() { + return C[110] = dart.const({ + __proto__: io.FileMode.prototype, + [_mode$]: 1 + }); + }, + get C111() { + return C[111] = dart.const({ + __proto__: io.FileMode.prototype, + [_mode$]: 2 + }); + }, + get C112() { + return C[112] = dart.const({ + __proto__: io.FileMode.prototype, + [_mode$]: 3 + }); + }, + get C113() { + return C[113] = dart.const({ + __proto__: io.FileMode.prototype, + [_mode$]: 4 + }); + }, + get C114() { + return C[114] = dart.const({ + __proto__: io.FileLock.prototype, + [_type$1]: 1 + }); + }, + get C115() { + return C[115] = dart.const({ + __proto__: io.FileLock.prototype, + [_type$1]: 2 + }); + }, + get C116() { + return C[116] = dart.const({ + __proto__: io.FileLock.prototype, + [_type$1]: 3 + }); + }, + get C117() { + return C[117] = dart.const({ + __proto__: io.FileLock.prototype, + [_type$1]: 4 + }); + }, + get C118() { + return C[118] = dart.const({ + __proto__: convert.LineSplitter.prototype + }); + }, + get C119() { + return C[119] = dart.fn(io._FileResourceInfo.getOpenFiles, T$0.dynamicAnddynamicToFutureOfServiceExtensionResponse()); + }, + get C120() { + return C[120] = dart.fn(io._FileResourceInfo.getOpenFileInfoMapByID, T$0.dynamicAnddynamicToFutureOfServiceExtensionResponse()); + }, + get C121() { + return C[121] = dart.constList(["file", "directory", "link", "notFound"], T$.StringL()); + }, + get C122() { + return C[122] = dart.const({ + __proto__: io.FileSystemEntityType.prototype, + [_type$2]: 0 + }); + }, + get C123() { + return C[123] = dart.const({ + __proto__: io.FileSystemEntityType.prototype, + [_type$2]: 1 + }); + }, + get C124() { + return C[124] = dart.const({ + __proto__: io.FileSystemEntityType.prototype, + [_type$2]: 2 + }); + }, + get C125() { + return C[125] = dart.const({ + __proto__: io.FileSystemEntityType.prototype, + [_type$2]: 3 + }); + }, + get C126() { + return C[126] = dart.constList([C[122] || CT.C122, C[123] || CT.C123, C[124] || CT.C124, C[125] || CT.C125], T$0.FileSystemEntityTypeL()); + }, + get C127() { + return C[127] = dart.constList(["---", "--x", "-w-", "-wx", "r--", "r-x", "rw-", "rwx"], T$.StringL()); + }, + get C128() { + return C[128] = dart.fn(io._NetworkProfiling._serviceExtensionHandler, T$0.StringAndMapOfString$StringToFutureOfServiceExtensionResponse()); + }, + get C129() { + return C[129] = dart.const({ + __proto__: io._SocketProfileType.prototype, + [_name$4]: "_SocketProfileType.startTime", + index: 0 + }); + }, + get C130() { + return C[130] = dart.const({ + __proto__: io._SocketProfileType.prototype, + [_name$4]: "_SocketProfileType.endTime", + index: 1 + }); + }, + get C131() { + return C[131] = dart.const({ + __proto__: io._SocketProfileType.prototype, + [_name$4]: "_SocketProfileType.address", + index: 2 + }); + }, + get C132() { + return C[132] = dart.const({ + __proto__: io._SocketProfileType.prototype, + [_name$4]: "_SocketProfileType.port", + index: 3 + }); + }, + get C133() { + return C[133] = dart.const({ + __proto__: io._SocketProfileType.prototype, + [_name$4]: "_SocketProfileType.socketType", + index: 4 + }); + }, + get C134() { + return C[134] = dart.const({ + __proto__: io._SocketProfileType.prototype, + [_name$4]: "_SocketProfileType.readBytes", + index: 5 + }); + }, + get C135() { + return C[135] = dart.const({ + __proto__: io._SocketProfileType.prototype, + [_name$4]: "_SocketProfileType.writeBytes", + index: 6 + }); + }, + get C136() { + return C[136] = dart.constList([C[129] || CT.C129, C[130] || CT.C130, C[131] || CT.C131, C[132] || CT.C132, C[133] || CT.C133, C[134] || CT.C134, C[135] || CT.C135], T$0._SocketProfileTypeL()); + }, + get C138() { + return C[138] = dart.const({ + __proto__: io.ProcessStartMode.prototype, + [_mode$0]: 0 + }); + }, + get C139() { + return C[139] = dart.const({ + __proto__: io.ProcessStartMode.prototype, + [_mode$0]: 1 + }); + }, + get C140() { + return C[140] = dart.const({ + __proto__: io.ProcessStartMode.prototype, + [_mode$0]: 2 + }); + }, + get C141() { + return C[141] = dart.const({ + __proto__: io.ProcessStartMode.prototype, + [_mode$0]: 3 + }); + }, + get C137() { + return C[137] = dart.constList([C[138] || CT.C138, C[139] || CT.C139, C[140] || CT.C140, C[141] || CT.C141], T$0.ProcessStartModeL()); + }, + get C142() { + return C[142] = dart.constList(["normal", "inheritStdio", "detached", "detachedWithStdio"], T$.StringL()); + }, + get C143() { + return C[143] = dart.const({ + __proto__: io.SystemEncoding.prototype + }); + }, + get C144() { + return C[144] = dart.const({ + __proto__: io.ProcessSignal.prototype, + [ProcessSignal__name]: "SIGTERM", + [ProcessSignal__signalNumber]: 15 + }); + }, + get C145() { + return C[145] = dart.const({ + __proto__: io.ProcessSignal.prototype, + [ProcessSignal__name]: "SIGHUP", + [ProcessSignal__signalNumber]: 1 + }); + }, + get C146() { + return C[146] = dart.const({ + __proto__: io.ProcessSignal.prototype, + [ProcessSignal__name]: "SIGINT", + [ProcessSignal__signalNumber]: 2 + }); + }, + get C147() { + return C[147] = dart.const({ + __proto__: io.ProcessSignal.prototype, + [ProcessSignal__name]: "SIGQUIT", + [ProcessSignal__signalNumber]: 3 + }); + }, + get C148() { + return C[148] = dart.const({ + __proto__: io.ProcessSignal.prototype, + [ProcessSignal__name]: "SIGILL", + [ProcessSignal__signalNumber]: 4 + }); + }, + get C149() { + return C[149] = dart.const({ + __proto__: io.ProcessSignal.prototype, + [ProcessSignal__name]: "SIGTRAP", + [ProcessSignal__signalNumber]: 5 + }); + }, + get C150() { + return C[150] = dart.const({ + __proto__: io.ProcessSignal.prototype, + [ProcessSignal__name]: "SIGABRT", + [ProcessSignal__signalNumber]: 6 + }); + }, + get C151() { + return C[151] = dart.const({ + __proto__: io.ProcessSignal.prototype, + [ProcessSignal__name]: "SIGBUS", + [ProcessSignal__signalNumber]: 7 + }); + }, + get C152() { + return C[152] = dart.const({ + __proto__: io.ProcessSignal.prototype, + [ProcessSignal__name]: "SIGFPE", + [ProcessSignal__signalNumber]: 8 + }); + }, + get C153() { + return C[153] = dart.const({ + __proto__: io.ProcessSignal.prototype, + [ProcessSignal__name]: "SIGKILL", + [ProcessSignal__signalNumber]: 9 + }); + }, + get C154() { + return C[154] = dart.const({ + __proto__: io.ProcessSignal.prototype, + [ProcessSignal__name]: "SIGUSR1", + [ProcessSignal__signalNumber]: 10 + }); + }, + get C155() { + return C[155] = dart.const({ + __proto__: io.ProcessSignal.prototype, + [ProcessSignal__name]: "SIGSEGV", + [ProcessSignal__signalNumber]: 11 + }); + }, + get C156() { + return C[156] = dart.const({ + __proto__: io.ProcessSignal.prototype, + [ProcessSignal__name]: "SIGUSR2", + [ProcessSignal__signalNumber]: 12 + }); + }, + get C157() { + return C[157] = dart.const({ + __proto__: io.ProcessSignal.prototype, + [ProcessSignal__name]: "SIGPIPE", + [ProcessSignal__signalNumber]: 13 + }); + }, + get C158() { + return C[158] = dart.const({ + __proto__: io.ProcessSignal.prototype, + [ProcessSignal__name]: "SIGALRM", + [ProcessSignal__signalNumber]: 14 + }); + }, + get C159() { + return C[159] = dart.const({ + __proto__: io.ProcessSignal.prototype, + [ProcessSignal__name]: "SIGCHLD", + [ProcessSignal__signalNumber]: 17 + }); + }, + get C160() { + return C[160] = dart.const({ + __proto__: io.ProcessSignal.prototype, + [ProcessSignal__name]: "SIGCONT", + [ProcessSignal__signalNumber]: 18 + }); + }, + get C161() { + return C[161] = dart.const({ + __proto__: io.ProcessSignal.prototype, + [ProcessSignal__name]: "SIGSTOP", + [ProcessSignal__signalNumber]: 19 + }); + }, + get C162() { + return C[162] = dart.const({ + __proto__: io.ProcessSignal.prototype, + [ProcessSignal__name]: "SIGTSTP", + [ProcessSignal__signalNumber]: 20 + }); + }, + get C163() { + return C[163] = dart.const({ + __proto__: io.ProcessSignal.prototype, + [ProcessSignal__name]: "SIGTTIN", + [ProcessSignal__signalNumber]: 21 + }); + }, + get C164() { + return C[164] = dart.const({ + __proto__: io.ProcessSignal.prototype, + [ProcessSignal__name]: "SIGTTOU", + [ProcessSignal__signalNumber]: 22 + }); + }, + get C165() { + return C[165] = dart.const({ + __proto__: io.ProcessSignal.prototype, + [ProcessSignal__name]: "SIGURG", + [ProcessSignal__signalNumber]: 23 + }); + }, + get C166() { + return C[166] = dart.const({ + __proto__: io.ProcessSignal.prototype, + [ProcessSignal__name]: "SIGXCPU", + [ProcessSignal__signalNumber]: 24 + }); + }, + get C167() { + return C[167] = dart.const({ + __proto__: io.ProcessSignal.prototype, + [ProcessSignal__name]: "SIGXFSZ", + [ProcessSignal__signalNumber]: 25 + }); + }, + get C168() { + return C[168] = dart.const({ + __proto__: io.ProcessSignal.prototype, + [ProcessSignal__name]: "SIGVTALRM", + [ProcessSignal__signalNumber]: 26 + }); + }, + get C169() { + return C[169] = dart.const({ + __proto__: io.ProcessSignal.prototype, + [ProcessSignal__name]: "SIGPROF", + [ProcessSignal__signalNumber]: 27 + }); + }, + get C170() { + return C[170] = dart.const({ + __proto__: io.ProcessSignal.prototype, + [ProcessSignal__name]: "SIGWINCH", + [ProcessSignal__signalNumber]: 28 + }); + }, + get C171() { + return C[171] = dart.const({ + __proto__: io.ProcessSignal.prototype, + [ProcessSignal__name]: "SIGPOLL", + [ProcessSignal__signalNumber]: 29 + }); + }, + get C172() { + return C[172] = dart.const({ + __proto__: io.ProcessSignal.prototype, + [ProcessSignal__name]: "SIGSYS", + [ProcessSignal__signalNumber]: 31 + }); + }, + get C173() { + return C[173] = dart.constList(["RawSocketEvent.read", "RawSocketEvent.write", "RawSocketEvent.readClosed", "RawSocketEvent.closed"], T$.StringL()); + }, + get C174() { + return C[174] = dart.const({ + __proto__: io.RawSocketEvent.prototype, + [_value$]: 0 + }); + }, + get C175() { + return C[175] = dart.const({ + __proto__: io.RawSocketEvent.prototype, + [_value$]: 1 + }); + }, + get C176() { + return C[176] = dart.const({ + __proto__: io.RawSocketEvent.prototype, + [_value$]: 2 + }); + }, + get C177() { + return C[177] = dart.const({ + __proto__: io.RawSocketEvent.prototype, + [_value$]: 3 + }); + }, + get C178() { + return C[178] = dart.constList(["ANY", "IPv4", "IPv6", "Unix"], T$.StringL()); + }, + get C179() { + return C[179] = dart.const({ + __proto__: io.InternetAddressType.prototype, + [_value$1]: 0 + }); + }, + get C180() { + return C[180] = dart.const({ + __proto__: io.InternetAddressType.prototype, + [_value$1]: 1 + }); + }, + get C181() { + return C[181] = dart.const({ + __proto__: io.InternetAddressType.prototype, + [_value$1]: 2 + }); + }, + get C182() { + return C[182] = dart.const({ + __proto__: io.InternetAddressType.prototype, + [_value$1]: -1 + }); + }, + get C183() { + return C[183] = dart.const({ + __proto__: io.SocketDirection.prototype, + [_value$2]: 0 + }); + }, + get C184() { + return C[184] = dart.const({ + __proto__: io.SocketDirection.prototype, + [_value$2]: 1 + }); + }, + get C185() { + return C[185] = dart.const({ + __proto__: io.SocketDirection.prototype, + [_value$2]: 2 + }); + }, + get C186() { + return C[186] = dart.const({ + __proto__: io.SocketOption.prototype, + [_value$3]: 0 + }); + }, + get C187() { + return C[187] = dart.const({ + __proto__: io.SocketOption.prototype, + [_value$3]: 1 + }); + }, + get C188() { + return C[188] = dart.const({ + __proto__: io.SocketOption.prototype, + [_value$3]: 2 + }); + }, + get C189() { + return C[189] = dart.const({ + __proto__: io.SocketOption.prototype, + [_value$3]: 3 + }); + }, + get C190() { + return C[190] = dart.const({ + __proto__: io.SocketOption.prototype, + [_value$3]: 4 + }); + }, + get C191() { + return C[191] = dart.const({ + __proto__: io._RawSocketOptions.prototype, + [_name$4]: "_RawSocketOptions.SOL_SOCKET", + index: 0 + }); + }, + get C192() { + return C[192] = dart.const({ + __proto__: io._RawSocketOptions.prototype, + [_name$4]: "_RawSocketOptions.IPPROTO_IP", + index: 1 + }); + }, + get C193() { + return C[193] = dart.const({ + __proto__: io._RawSocketOptions.prototype, + [_name$4]: "_RawSocketOptions.IP_MULTICAST_IF", + index: 2 + }); + }, + get C194() { + return C[194] = dart.const({ + __proto__: io._RawSocketOptions.prototype, + [_name$4]: "_RawSocketOptions.IPPROTO_IPV6", + index: 3 + }); + }, + get C195() { + return C[195] = dart.const({ + __proto__: io._RawSocketOptions.prototype, + [_name$4]: "_RawSocketOptions.IPV6_MULTICAST_IF", + index: 4 + }); + }, + get C196() { + return C[196] = dart.const({ + __proto__: io._RawSocketOptions.prototype, + [_name$4]: "_RawSocketOptions.IPPROTO_TCP", + index: 5 + }); + }, + get C197() { + return C[197] = dart.const({ + __proto__: io._RawSocketOptions.prototype, + [_name$4]: "_RawSocketOptions.IPPROTO_UDP", + index: 6 + }); + }, + get C198() { + return C[198] = dart.constList([C[191] || CT.C191, C[192] || CT.C192, C[193] || CT.C193, C[194] || CT.C194, C[195] || CT.C195, C[196] || CT.C196, C[197] || CT.C197], T$0._RawSocketOptionsL()); + }, + get C199() { + return C[199] = dart.const({ + __proto__: io.StdioType.prototype, + [name$11]: "terminal" + }); + }, + get C200() { + return C[200] = dart.const({ + __proto__: io.StdioType.prototype, + [name$11]: "pipe" + }); + }, + get C201() { + return C[201] = dart.const({ + __proto__: io.StdioType.prototype, + [name$11]: "file" + }); + }, + get C202() { + return C[202] = dart.const({ + __proto__: io.StdioType.prototype, + [name$11]: "other" + }); + }, + get C203() { + return C[203] = dart.const({ + __proto__: io._WindowsCodePageEncoder.prototype + }); + }, + get C204() { + return C[204] = dart.const({ + __proto__: io._WindowsCodePageDecoder.prototype + }); + }, + get C205() { + return C[205] = dart.constList([1, 2, 3, 4, 0], T$0.intL()); + }, + get C206() { + return C[206] = dart.const({ + __proto__: io.ZLibCodec.prototype, + [dictionary$]: null, + [raw$]: false, + [windowBits$]: 15, + [strategy$]: 0, + [memLevel$]: 8, + [level$]: 6, + [gzip$]: false + }); + }, + get C207() { + return C[207] = dart.const({ + __proto__: io.GZipCodec.prototype, + [raw$0]: false, + [dictionary$0]: null, + [windowBits$0]: 15, + [strategy$0]: 0, + [memLevel$0]: 8, + [level$0]: 6, + [gzip$0]: true + }); + }, + get C208() { + return C[208] = dart.fn(async.runZoned, T$0.Fn__ToR()); + }, + get C209() { + return C[209] = dart.fn(js._convertToJS, T$.ObjectNToObjectN()); + }, + get C210() { + return C[210] = dart.fn(js._wrapDartFunction, T$0.ObjectToObject()); + }, + get C211() { + return C[211] = dart.fn(js._wrapToDartHelper, T$0.ObjectToJsObject()); + }, + get C212() { + return C[212] = dart.const({ + __proto__: math._JSRandom.prototype + }); + }, + get C213() { + return C[213] = dart.const({ + __proto__: typed_data.Endian.prototype, + [Endian__littleEndian]: true + }); + }, + get C214() { + return C[214] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "abort" + }); + }, + get C215() { + return C[215] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "close" + }); + }, + get C216() { + return C[216] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "error" + }); + }, + get C217() { + return C[217] = dart.const({ + __proto__: T$0.EventStreamProviderOfVersionChangeEventL().prototype, + [S.EventStreamProvider__eventType]: "versionchange" + }); + }, + get C218() { + return C[218] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "success" + }); + }, + get C219() { + return C[219] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "blocked" + }); + }, + get C220() { + return C[220] = dart.const({ + __proto__: T$0.EventStreamProviderOfVersionChangeEventL().prototype, + [S.EventStreamProvider__eventType]: "upgradeneeded" + }); + }, + get C221() { + return C[221] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "complete" + }); + }, + get C222() { + return C[222] = dart.const({ + __proto__: _js_helper.Creates.prototype, + [types$0]: "JSExtendableArray|=Object|num|String" + }); + }, + get C223() { + return C[223] = dart.const({ + __proto__: _js_helper.Returns.prototype, + [types$1]: "JSExtendableArray|=Object|num|String" + }); + }, + get C224() { + return C[224] = dart.fn(html_common.convertDartToNative_Dictionary, T$0.MapNAndFnTodynamic()); + }, + get C226() { + return C[226] = dart.fn(html$.Element._determineMouseWheelEventType, T$0.EventTargetToString()); + }, + get C225() { + return C[225] = dart.const({ + __proto__: T$0._CustomEventStreamProviderOfWheelEventL().prototype, + [S$._CustomEventStreamProvider__eventTypeGetter]: C[226] || CT.C226 + }); + }, + get C228() { + return C[228] = dart.fn(html$.Element._determineTransitionEventType, T$0.EventTargetToString()); + }, + get C227() { + return C[227] = dart.const({ + __proto__: T$0._CustomEventStreamProviderOfTransitionEventL().prototype, + [S$._CustomEventStreamProvider__eventTypeGetter]: C[228] || CT.C228 + }); + }, + get C229() { + return C[229] = dart.constList(["HEAD", "AREA", "BASE", "BASEFONT", "BR", "COL", "COLGROUP", "EMBED", "FRAME", "FRAMESET", "HR", "IMAGE", "IMG", "INPUT", "ISINDEX", "LINK", "META", "PARAM", "SOURCE", "STYLE", "TITLE", "WBR"], T$.StringL()); + }, + get C230() { + return C[230] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "beforecopy" + }); + }, + get C231() { + return C[231] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "beforecut" + }); + }, + get C232() { + return C[232] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "beforepaste" + }); + }, + get C233() { + return C[233] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "blur" + }); + }, + get C234() { + return C[234] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "canplay" + }); + }, + get C235() { + return C[235] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "canplaythrough" + }); + }, + get C236() { + return C[236] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "change" + }); + }, + get C237() { + return C[237] = dart.const({ + __proto__: T$0.EventStreamProviderOfMouseEventL().prototype, + [S.EventStreamProvider__eventType]: "click" + }); + }, + get C238() { + return C[238] = dart.const({ + __proto__: T$0.EventStreamProviderOfMouseEventL().prototype, + [S.EventStreamProvider__eventType]: "contextmenu" + }); + }, + get C239() { + return C[239] = dart.const({ + __proto__: T$0.EventStreamProviderOfClipboardEventL().prototype, + [S.EventStreamProvider__eventType]: "copy" + }); + }, + get C240() { + return C[240] = dart.const({ + __proto__: T$0.EventStreamProviderOfClipboardEventL().prototype, + [S.EventStreamProvider__eventType]: "cut" + }); + }, + get C241() { + return C[241] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "dblclick" + }); + }, + get C242() { + return C[242] = dart.const({ + __proto__: T$0.EventStreamProviderOfMouseEventL().prototype, + [S.EventStreamProvider__eventType]: "drag" + }); + }, + get C243() { + return C[243] = dart.const({ + __proto__: T$0.EventStreamProviderOfMouseEventL().prototype, + [S.EventStreamProvider__eventType]: "dragend" + }); + }, + get C244() { + return C[244] = dart.const({ + __proto__: T$0.EventStreamProviderOfMouseEventL().prototype, + [S.EventStreamProvider__eventType]: "dragenter" + }); + }, + get C245() { + return C[245] = dart.const({ + __proto__: T$0.EventStreamProviderOfMouseEventL().prototype, + [S.EventStreamProvider__eventType]: "dragleave" + }); + }, + get C246() { + return C[246] = dart.const({ + __proto__: T$0.EventStreamProviderOfMouseEventL().prototype, + [S.EventStreamProvider__eventType]: "dragover" + }); + }, + get C247() { + return C[247] = dart.const({ + __proto__: T$0.EventStreamProviderOfMouseEventL().prototype, + [S.EventStreamProvider__eventType]: "dragstart" + }); + }, + get C248() { + return C[248] = dart.const({ + __proto__: T$0.EventStreamProviderOfMouseEventL().prototype, + [S.EventStreamProvider__eventType]: "drop" + }); + }, + get C249() { + return C[249] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "durationchange" + }); + }, + get C250() { + return C[250] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "emptied" + }); + }, + get C251() { + return C[251] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "ended" + }); + }, + get C252() { + return C[252] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "focus" + }); + }, + get C253() { + return C[253] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "input" + }); + }, + get C254() { + return C[254] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "invalid" + }); + }, + get C255() { + return C[255] = dart.const({ + __proto__: T$0.EventStreamProviderOfKeyboardEventL().prototype, + [S.EventStreamProvider__eventType]: "keydown" + }); + }, + get C256() { + return C[256] = dart.const({ + __proto__: T$0.EventStreamProviderOfKeyboardEventL().prototype, + [S.EventStreamProvider__eventType]: "keypress" + }); + }, + get C257() { + return C[257] = dart.const({ + __proto__: T$0.EventStreamProviderOfKeyboardEventL().prototype, + [S.EventStreamProvider__eventType]: "keyup" + }); + }, + get C258() { + return C[258] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "load" + }); + }, + get C259() { + return C[259] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "loadeddata" + }); + }, + get C260() { + return C[260] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "loadedmetadata" + }); + }, + get C261() { + return C[261] = dart.const({ + __proto__: T$0.EventStreamProviderOfMouseEventL().prototype, + [S.EventStreamProvider__eventType]: "mousedown" + }); + }, + get C262() { + return C[262] = dart.const({ + __proto__: T$0.EventStreamProviderOfMouseEventL().prototype, + [S.EventStreamProvider__eventType]: "mouseenter" + }); + }, + get C263() { + return C[263] = dart.const({ + __proto__: T$0.EventStreamProviderOfMouseEventL().prototype, + [S.EventStreamProvider__eventType]: "mouseleave" + }); + }, + get C264() { + return C[264] = dart.const({ + __proto__: T$0.EventStreamProviderOfMouseEventL().prototype, + [S.EventStreamProvider__eventType]: "mousemove" + }); + }, + get C265() { + return C[265] = dart.const({ + __proto__: T$0.EventStreamProviderOfMouseEventL().prototype, + [S.EventStreamProvider__eventType]: "mouseout" + }); + }, + get C266() { + return C[266] = dart.const({ + __proto__: T$0.EventStreamProviderOfMouseEventL().prototype, + [S.EventStreamProvider__eventType]: "mouseover" + }); + }, + get C267() { + return C[267] = dart.const({ + __proto__: T$0.EventStreamProviderOfMouseEventL().prototype, + [S.EventStreamProvider__eventType]: "mouseup" + }); + }, + get C268() { + return C[268] = dart.const({ + __proto__: T$0.EventStreamProviderOfClipboardEventL().prototype, + [S.EventStreamProvider__eventType]: "paste" + }); + }, + get C269() { + return C[269] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "pause" + }); + }, + get C270() { + return C[270] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "play" + }); + }, + get C271() { + return C[271] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "playing" + }); + }, + get C272() { + return C[272] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "ratechange" + }); + }, + get C273() { + return C[273] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "reset" + }); + }, + get C274() { + return C[274] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "resize" + }); + }, + get C275() { + return C[275] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "scroll" + }); + }, + get C276() { + return C[276] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "search" + }); + }, + get C277() { + return C[277] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "seeked" + }); + }, + get C278() { + return C[278] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "seeking" + }); + }, + get C279() { + return C[279] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "select" + }); + }, + get C280() { + return C[280] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "selectstart" + }); + }, + get C281() { + return C[281] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "stalled" + }); + }, + get C282() { + return C[282] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "submit" + }); + }, + get C283() { + return C[283] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "suspend" + }); + }, + get C284() { + return C[284] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "timeupdate" + }); + }, + get C285() { + return C[285] = dart.const({ + __proto__: T$0.EventStreamProviderOfTouchEventL().prototype, + [S.EventStreamProvider__eventType]: "touchcancel" + }); + }, + get C286() { + return C[286] = dart.const({ + __proto__: T$0.EventStreamProviderOfTouchEventL().prototype, + [S.EventStreamProvider__eventType]: "touchend" + }); + }, + get C287() { + return C[287] = dart.const({ + __proto__: T$0.EventStreamProviderOfTouchEventL().prototype, + [S.EventStreamProvider__eventType]: "touchenter" + }); + }, + get C288() { + return C[288] = dart.const({ + __proto__: T$0.EventStreamProviderOfTouchEventL().prototype, + [S.EventStreamProvider__eventType]: "touchleave" + }); + }, + get C289() { + return C[289] = dart.const({ + __proto__: T$0.EventStreamProviderOfTouchEventL().prototype, + [S.EventStreamProvider__eventType]: "touchmove" + }); + }, + get C290() { + return C[290] = dart.const({ + __proto__: T$0.EventStreamProviderOfTouchEventL().prototype, + [S.EventStreamProvider__eventType]: "touchstart" + }); + }, + get C291() { + return C[291] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "volumechange" + }); + }, + get C292() { + return C[292] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "waiting" + }); + }, + get C293() { + return C[293] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "webkitfullscreenchange" + }); + }, + get C294() { + return C[294] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "webkitfullscreenerror" + }); + }, + get C295() { + return C[295] = dart.const({ + __proto__: T$0.EventStreamProviderOfWheelEventL().prototype, + [S.EventStreamProvider__eventType]: "wheel" + }); + }, + get C296() { + return C[296] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "accessibleclick" + }); + }, + get C297() { + return C[297] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "accessiblecontextmenu" + }); + }, + get C298() { + return C[298] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "accessibledecrement" + }); + }, + get C299() { + return C[299] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "accessiblefocus" + }); + }, + get C300() { + return C[300] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "accessibleincrement" + }); + }, + get C301() { + return C[301] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "accessiblescrollintoview" + }); + }, + get C302() { + return C[302] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "cancel" + }); + }, + get C303() { + return C[303] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "finish" + }); + }, + get C304() { + return C[304] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "cached" + }); + }, + get C305() { + return C[305] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "checking" + }); + }, + get C306() { + return C[306] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "downloading" + }); + }, + get C307() { + return C[307] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "noupdate" + }); + }, + get C308() { + return C[308] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "obsolete" + }); + }, + get C309() { + return C[309] = dart.const({ + __proto__: T$0.EventStreamProviderOfProgressEventL().prototype, + [S.EventStreamProvider__eventType]: "progress" + }); + }, + get C310() { + return C[310] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "updateready" + }); + }, + get C311() { + return C[311] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "hashchange" + }); + }, + get C312() { + return C[312] = dart.const({ + __proto__: T$0.EventStreamProviderOfMessageEventL().prototype, + [S.EventStreamProvider__eventType]: "message" + }); + }, + get C313() { + return C[313] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "offline" + }); + }, + get C314() { + return C[314] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "online" + }); + }, + get C315() { + return C[315] = dart.const({ + __proto__: T$0.EventStreamProviderOfPopStateEventL().prototype, + [S.EventStreamProvider__eventType]: "popstate" + }); + }, + get C316() { + return C[316] = dart.const({ + __proto__: T$0.EventStreamProviderOfStorageEventL().prototype, + [S.EventStreamProvider__eventType]: "storage" + }); + }, + get C317() { + return C[317] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "unload" + }); + }, + get C318() { + return C[318] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "mute" + }); + }, + get C319() { + return C[319] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "unmute" + }); + }, + get C320() { + return C[320] = dart.const({ + __proto__: T$0.EventStreamProviderOfContextEventL().prototype, + [S.EventStreamProvider__eventType]: "webglcontextlost" + }); + }, + get C321() { + return C[321] = dart.const({ + __proto__: T$0.EventStreamProviderOfContextEventL().prototype, + [S.EventStreamProvider__eventType]: "webglcontextrestored" + }); + }, + get C322() { + return C[322] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "pointerlockchange" + }); + }, + get C323() { + return C[323] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "pointerlockerror" + }); + }, + get C324() { + return C[324] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "readystatechange" + }); + }, + get C325() { + return C[325] = dart.const({ + __proto__: T$0.EventStreamProviderOfSecurityPolicyViolationEventL().prototype, + [S.EventStreamProvider__eventType]: "securitypolicyviolation" + }); + }, + get C326() { + return C[326] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "selectionchange" + }); + }, + get C327() { + return C[327] = dart.const({ + __proto__: html$.ScrollAlignment.prototype, + [S$1._value$6]: "TOP" + }); + }, + get C328() { + return C[328] = dart.const({ + __proto__: html$.ScrollAlignment.prototype, + [S$1._value$6]: "CENTER" + }); + }, + get C329() { + return C[329] = dart.const({ + __proto__: html$.ScrollAlignment.prototype, + [S$1._value$6]: "BOTTOM" + }); + }, + get C330() { + return C[330] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "open" + }); + }, + get C331() { + return C[331] = dart.const({ + __proto__: T$0.EventStreamProviderOfProgressEventL().prototype, + [S.EventStreamProvider__eventType]: "abort" + }); + }, + get C332() { + return C[332] = dart.const({ + __proto__: T$0.EventStreamProviderOfProgressEventL().prototype, + [S.EventStreamProvider__eventType]: "error" + }); + }, + get C333() { + return C[333] = dart.const({ + __proto__: T$0.EventStreamProviderOfProgressEventL().prototype, + [S.EventStreamProvider__eventType]: "load" + }); + }, + get C334() { + return C[334] = dart.const({ + __proto__: T$0.EventStreamProviderOfProgressEventL().prototype, + [S.EventStreamProvider__eventType]: "loadend" + }); + }, + get C335() { + return C[335] = dart.const({ + __proto__: T$0.EventStreamProviderOfProgressEventL().prototype, + [S.EventStreamProvider__eventType]: "loadstart" + }); + }, + get C336() { + return C[336] = dart.const({ + __proto__: T$0.EventStreamProviderOfProgressEventL().prototype, + [S.EventStreamProvider__eventType]: "write" + }); + }, + get C337() { + return C[337] = dart.const({ + __proto__: T$0.EventStreamProviderOfProgressEventL().prototype, + [S.EventStreamProvider__eventType]: "writeend" + }); + }, + get C338() { + return C[338] = dart.const({ + __proto__: T$0.EventStreamProviderOfProgressEventL().prototype, + [S.EventStreamProvider__eventType]: "writestart" + }); + }, + get C339() { + return C[339] = dart.const({ + __proto__: T$0.EventStreamProviderOfFontFaceSetLoadEventL().prototype, + [S.EventStreamProvider__eventType]: "loading" + }); + }, + get C340() { + return C[340] = dart.const({ + __proto__: T$0.EventStreamProviderOfFontFaceSetLoadEventL().prototype, + [S.EventStreamProvider__eventType]: "loadingdone" + }); + }, + get C341() { + return C[341] = dart.const({ + __proto__: T$0.EventStreamProviderOfFontFaceSetLoadEventL().prototype, + [S.EventStreamProvider__eventType]: "loadingerror" + }); + }, + get C342() { + return C[342] = dart.const({ + __proto__: T$0.EventStreamProviderOfWheelEventL().prototype, + [S.EventStreamProvider__eventType]: "mousewheel" + }); + }, + get C344() { + return C[344] = dart.fn(html$.HtmlDocument._determineVisibilityChangeEventType, T$0.EventTargetToString()); + }, + get C343() { + return C[343] = dart.const({ + __proto__: T$0._CustomEventStreamProviderOfEventL().prototype, + [S$._CustomEventStreamProvider__eventTypeGetter]: C[344] || CT.C344 + }); + }, + get C345() { + return C[345] = dart.const({ + __proto__: T$0.EventStreamProviderOfProgressEventL().prototype, + [S.EventStreamProvider__eventType]: "timeout" + }); + }, + get C346() { + return C[346] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "addtrack" + }); + }, + get C347() { + return C[347] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "removetrack" + }); + }, + get C348() { + return C[348] = dart.constList([], T$0.MessagePortL()); + }, + get C349() { + return C[349] = dart.const({ + __proto__: T$0.EventStreamProviderOfMidiMessageEventL().prototype, + [S.EventStreamProvider__eventType]: "midimessage" + }); + }, + get C350() { + return C[350] = dart.constMap(T$.StringL(), T$0.boolL(), ["childList", true, "attributes", true, "characterData", true, "subtree", true, "attributeOldValue", true, "characterDataOldValue", true]); + }, + get C351() { + return C[351] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "click" + }); + }, + get C352() { + return C[352] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "show" + }); + }, + get C353() { + return C[353] = dart.const({ + __proto__: T$0.EventStreamProviderOfRtcDtmfToneChangeEventL().prototype, + [S.EventStreamProvider__eventType]: "tonechange" + }); + }, + get C354() { + return C[354] = dart.const({ + __proto__: T$0.EventStreamProviderOfMediaStreamEventL().prototype, + [S.EventStreamProvider__eventType]: "addstream" + }); + }, + get C355() { + return C[355] = dart.const({ + __proto__: T$0.EventStreamProviderOfRtcDataChannelEventL().prototype, + [S.EventStreamProvider__eventType]: "datachannel" + }); + }, + get C356() { + return C[356] = dart.const({ + __proto__: T$0.EventStreamProviderOfRtcPeerConnectionIceEventL().prototype, + [S.EventStreamProvider__eventType]: "icecandidate" + }); + }, + get C357() { + return C[357] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "iceconnectionstatechange" + }); + }, + get C358() { + return C[358] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "negotiationneeded" + }); + }, + get C359() { + return C[359] = dart.const({ + __proto__: T$0.EventStreamProviderOfMediaStreamEventL().prototype, + [S.EventStreamProvider__eventType]: "removestream" + }); + }, + get C360() { + return C[360] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "signalingstatechange" + }); + }, + get C361() { + return C[361] = dart.const({ + __proto__: T$0.EventStreamProviderOfRtcTrackEventL().prototype, + [S.EventStreamProvider__eventType]: "track" + }); + }, + get C362() { + return C[362] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "activate" + }); + }, + get C363() { + return C[363] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "fetch" + }); + }, + get C364() { + return C[364] = dart.const({ + __proto__: T$0.EventStreamProviderOfForeignFetchEventL().prototype, + [S.EventStreamProvider__eventType]: "foreignfetch" + }); + }, + get C365() { + return C[365] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "install" + }); + }, + get C366() { + return C[366] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "connect" + }); + }, + get C367() { + return C[367] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "audioend" + }); + }, + get C368() { + return C[368] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "audiostart" + }); + }, + get C369() { + return C[369] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "end" + }); + }, + get C370() { + return C[370] = dart.const({ + __proto__: T$0.EventStreamProviderOfSpeechRecognitionErrorL().prototype, + [S.EventStreamProvider__eventType]: "error" + }); + }, + get C371() { + return C[371] = dart.const({ + __proto__: T$0.EventStreamProviderOfSpeechRecognitionEventL().prototype, + [S.EventStreamProvider__eventType]: "nomatch" + }); + }, + get C372() { + return C[372] = dart.const({ + __proto__: T$0.EventStreamProviderOfSpeechRecognitionEventL().prototype, + [S.EventStreamProvider__eventType]: "result" + }); + }, + get C373() { + return C[373] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "soundend" + }); + }, + get C374() { + return C[374] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "soundstart" + }); + }, + get C375() { + return C[375] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "speechend" + }); + }, + get C376() { + return C[376] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "speechstart" + }); + }, + get C377() { + return C[377] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "start" + }); + }, + get C378() { + return C[378] = dart.const({ + __proto__: T$0.EventStreamProviderOfSpeechSynthesisEventL().prototype, + [S.EventStreamProvider__eventType]: "boundary" + }); + }, + get C379() { + return C[379] = dart.const({ + __proto__: T$0.EventStreamProviderOfSpeechSynthesisEventL().prototype, + [S.EventStreamProvider__eventType]: "end" + }); + }, + get C380() { + return C[380] = dart.const({ + __proto__: T$0.EventStreamProviderOfSpeechSynthesisEventL().prototype, + [S.EventStreamProvider__eventType]: "mark" + }); + }, + get C381() { + return C[381] = dart.const({ + __proto__: T$0.EventStreamProviderOfSpeechSynthesisEventL().prototype, + [S.EventStreamProvider__eventType]: "resume" + }); + }, + get C382() { + return C[382] = dart.const({ + __proto__: T$0.EventStreamProviderOfSpeechSynthesisEventL().prototype, + [S.EventStreamProvider__eventType]: "start" + }); + }, + get C383() { + return C[383] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "cuechange" + }); + }, + get C384() { + return C[384] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "enter" + }); + }, + get C385() { + return C[385] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "exit" + }); + }, + get C386() { + return C[386] = dart.const({ + __proto__: T$0.EventStreamProviderOfTrackEventL().prototype, + [S.EventStreamProvider__eventType]: "addtrack" + }); + }, + get C387() { + return C[387] = dart.const({ + __proto__: T$0.EventStreamProviderOfCloseEventL().prototype, + [S.EventStreamProvider__eventType]: "close" + }); + }, + get C388() { + return C[388] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "DOMContentLoaded" + }); + }, + get C389() { + return C[389] = dart.const({ + __proto__: T$0.EventStreamProviderOfDeviceMotionEventL().prototype, + [S.EventStreamProvider__eventType]: "devicemotion" + }); + }, + get C390() { + return C[390] = dart.const({ + __proto__: T$0.EventStreamProviderOfDeviceOrientationEventL().prototype, + [S.EventStreamProvider__eventType]: "deviceorientation" + }); + }, + get C391() { + return C[391] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "loadstart" + }); + }, + get C392() { + return C[392] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "pagehide" + }); + }, + get C393() { + return C[393] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "pageshow" + }); + }, + get C394() { + return C[394] = dart.const({ + __proto__: T$0.EventStreamProviderOfEventL().prototype, + [S.EventStreamProvider__eventType]: "progress" + }); + }, + get C395() { + return C[395] = dart.const({ + __proto__: T$0.EventStreamProviderOfAnimationEventL().prototype, + [S.EventStreamProvider__eventType]: "webkitAnimationEnd" + }); + }, + get C396() { + return C[396] = dart.const({ + __proto__: T$0.EventStreamProviderOfAnimationEventL().prototype, + [S.EventStreamProvider__eventType]: "webkitAnimationIteration" + }); + }, + get C397() { + return C[397] = dart.const({ + __proto__: T$0.EventStreamProviderOfAnimationEventL().prototype, + [S.EventStreamProvider__eventType]: "webkitAnimationStart" + }); + }, + get C398() { + return C[398] = dart.const({ + __proto__: html$._BeforeUnloadEventStreamProvider.prototype, + [S$3._BeforeUnloadEventStreamProvider__eventType]: "beforeunload" + }); + }, + get C399() { + return C[399] = dart.fn(html$._Html5NodeValidator._standardAttributeValidator, T$0.ElementAndStringAndString__Tobool()); + }, + get C400() { + return C[400] = dart.fn(html$._Html5NodeValidator._uriAttributeValidator, T$0.ElementAndStringAndString__Tobool()); + }, + get C401() { + return C[401] = dart.constList(["*::class", "*::dir", "*::draggable", "*::hidden", "*::id", "*::inert", "*::itemprop", "*::itemref", "*::itemscope", "*::lang", "*::spellcheck", "*::title", "*::translate", "A::accesskey", "A::coords", "A::hreflang", "A::name", "A::shape", "A::tabindex", "A::target", "A::type", "AREA::accesskey", "AREA::alt", "AREA::coords", "AREA::nohref", "AREA::shape", "AREA::tabindex", "AREA::target", "AUDIO::controls", "AUDIO::loop", "AUDIO::mediagroup", "AUDIO::muted", "AUDIO::preload", "BDO::dir", "BODY::alink", "BODY::bgcolor", "BODY::link", "BODY::text", "BODY::vlink", "BR::clear", "BUTTON::accesskey", "BUTTON::disabled", "BUTTON::name", "BUTTON::tabindex", "BUTTON::type", "BUTTON::value", "CANVAS::height", "CANVAS::width", "CAPTION::align", "COL::align", "COL::char", "COL::charoff", "COL::span", "COL::valign", "COL::width", "COLGROUP::align", "COLGROUP::char", "COLGROUP::charoff", "COLGROUP::span", "COLGROUP::valign", "COLGROUP::width", "COMMAND::checked", "COMMAND::command", "COMMAND::disabled", "COMMAND::label", "COMMAND::radiogroup", "COMMAND::type", "DATA::value", "DEL::datetime", "DETAILS::open", "DIR::compact", "DIV::align", "DL::compact", "FIELDSET::disabled", "FONT::color", "FONT::face", "FONT::size", "FORM::accept", "FORM::autocomplete", "FORM::enctype", "FORM::method", "FORM::name", "FORM::novalidate", "FORM::target", "FRAME::name", "H1::align", "H2::align", "H3::align", "H4::align", "H5::align", "H6::align", "HR::align", "HR::noshade", "HR::size", "HR::width", "HTML::version", "IFRAME::align", "IFRAME::frameborder", "IFRAME::height", "IFRAME::marginheight", "IFRAME::marginwidth", "IFRAME::width", "IMG::align", "IMG::alt", "IMG::border", "IMG::height", "IMG::hspace", "IMG::ismap", "IMG::name", "IMG::usemap", "IMG::vspace", "IMG::width", "INPUT::accept", "INPUT::accesskey", "INPUT::align", "INPUT::alt", "INPUT::autocomplete", "INPUT::autofocus", "INPUT::checked", "INPUT::disabled", "INPUT::inputmode", "INPUT::ismap", "INPUT::list", "INPUT::max", "INPUT::maxlength", "INPUT::min", "INPUT::multiple", "INPUT::name", "INPUT::placeholder", "INPUT::readonly", "INPUT::required", "INPUT::size", "INPUT::step", "INPUT::tabindex", "INPUT::type", "INPUT::usemap", "INPUT::value", "INS::datetime", "KEYGEN::disabled", "KEYGEN::keytype", "KEYGEN::name", "LABEL::accesskey", "LABEL::for", "LEGEND::accesskey", "LEGEND::align", "LI::type", "LI::value", "LINK::sizes", "MAP::name", "MENU::compact", "MENU::label", "MENU::type", "METER::high", "METER::low", "METER::max", "METER::min", "METER::value", "OBJECT::typemustmatch", "OL::compact", "OL::reversed", "OL::start", "OL::type", "OPTGROUP::disabled", "OPTGROUP::label", "OPTION::disabled", "OPTION::label", "OPTION::selected", "OPTION::value", "OUTPUT::for", "OUTPUT::name", "P::align", "PRE::width", "PROGRESS::max", "PROGRESS::min", "PROGRESS::value", "SELECT::autocomplete", "SELECT::disabled", "SELECT::multiple", "SELECT::name", "SELECT::required", "SELECT::size", "SELECT::tabindex", "SOURCE::type", "TABLE::align", "TABLE::bgcolor", "TABLE::border", "TABLE::cellpadding", "TABLE::cellspacing", "TABLE::frame", "TABLE::rules", "TABLE::summary", "TABLE::width", "TBODY::align", "TBODY::char", "TBODY::charoff", "TBODY::valign", "TD::abbr", "TD::align", "TD::axis", "TD::bgcolor", "TD::char", "TD::charoff", "TD::colspan", "TD::headers", "TD::height", "TD::nowrap", "TD::rowspan", "TD::scope", "TD::valign", "TD::width", "TEXTAREA::accesskey", "TEXTAREA::autocomplete", "TEXTAREA::cols", "TEXTAREA::disabled", "TEXTAREA::inputmode", "TEXTAREA::name", "TEXTAREA::placeholder", "TEXTAREA::readonly", "TEXTAREA::required", "TEXTAREA::rows", "TEXTAREA::tabindex", "TEXTAREA::wrap", "TFOOT::align", "TFOOT::char", "TFOOT::charoff", "TFOOT::valign", "TH::abbr", "TH::align", "TH::axis", "TH::bgcolor", "TH::char", "TH::charoff", "TH::colspan", "TH::headers", "TH::height", "TH::nowrap", "TH::rowspan", "TH::scope", "TH::valign", "TH::width", "THEAD::align", "THEAD::char", "THEAD::charoff", "THEAD::valign", "TR::align", "TR::bgcolor", "TR::char", "TR::charoff", "TR::valign", "TRACK::default", "TRACK::kind", "TRACK::label", "TRACK::srclang", "UL::compact", "UL::type", "VIDEO::controls", "VIDEO::height", "VIDEO::loop", "VIDEO::mediagroup", "VIDEO::muted", "VIDEO::preload", "VIDEO::width"], T$.StringL()); + }, + get C402() { + return C[402] = dart.constList(["A::href", "AREA::href", "BLOCKQUOTE::cite", "BODY::background", "COMMAND::icon", "DEL::cite", "FORM::action", "IMG::src", "INPUT::src", "INS::cite", "Q::cite", "VIDEO::poster"], T$.StringL()); + }, + get C403() { + return C[403] = dart.constMap(T$.StringL(), T$0.intL(), ["Up", 38, "Down", 40, "Left", 37, "Right", 39, "Enter", 13, "F1", 112, "F2", 113, "F3", 114, "F4", 115, "F5", 116, "F6", 117, "F7", 118, "F8", 119, "F9", 120, "F10", 121, "F11", 122, "F12", 123, "U+007F", 46, "Home", 36, "End", 35, "PageUp", 33, "PageDown", 34, "Insert", 45]); + }, + get C404() { + return C[404] = dart.constList([], T$.StringL()); + }, + get C405() { + return C[405] = dart.constList(["A", "FORM"], T$.StringL()); + }, + get C406() { + return C[406] = dart.constList(["A::accesskey", "A::coords", "A::hreflang", "A::name", "A::shape", "A::tabindex", "A::target", "A::type", "FORM::accept", "FORM::autocomplete", "FORM::enctype", "FORM::method", "FORM::name", "FORM::novalidate", "FORM::target"], T$.StringL()); + }, + get C407() { + return C[407] = dart.constList(["A::href", "FORM::action"], T$.StringL()); + }, + get C408() { + return C[408] = dart.constList(["IMG"], T$.StringL()); + }, + get C409() { + return C[409] = dart.constList(["IMG::align", "IMG::alt", "IMG::border", "IMG::height", "IMG::hspace", "IMG::ismap", "IMG::name", "IMG::usemap", "IMG::vspace", "IMG::width"], T$.StringL()); + }, + get C410() { + return C[410] = dart.constList(["IMG::src"], T$.StringL()); + }, + get C411() { + return C[411] = dart.constList(["B", "BLOCKQUOTE", "BR", "EM", "H1", "H2", "H3", "H4", "H5", "H6", "HR", "I", "LI", "OL", "P", "SPAN", "UL"], T$.StringL()); + }, + get C412() { + return C[412] = dart.constList(["bind", "if", "ref", "repeat", "syntax"], T$.StringL()); + }, + get C413() { + return C[413] = dart.const({ + __proto__: html$.Console.prototype + }); + }, + get C414() { + return C[414] = dart.const({ + __proto__: html$._TrustedHtmlTreeSanitizer.prototype + }); + }, + get C415() { + return C[415] = dart.fn(html_common.convertNativeToDart_Dictionary, T$0.dynamicToMapNOfString$dynamic()); + }, + get C416() { + return C[416] = dart.const({ + __proto__: _js_helper.Creates.prototype, + [types$0]: "num|String|bool|JSExtendableArray|=Object|Blob|File|NativeByteBuffer|NativeTypedData|MessagePort" + }); + }, + get C417() { + return C[417] = dart.const({ + __proto__: _js_helper.Returns.prototype, + [types$1]: "num|String|bool|JSExtendableArray|=Object|Blob|File|NativeByteBuffer|NativeTypedData|MessagePort" + }); + }, + get C418() { + return C[418] = dart.const({ + __proto__: T$0.EventStreamProviderOfAudioProcessingEventL().prototype, + [S.EventStreamProvider__eventType]: "audioprocess" + }); + }, + get C419() { + return C[419] = dart.const({ + __proto__: core.IntegerDivisionByZeroException.prototype + }); + }, + get C420() { + return C[420] = dart.const({ + __proto__: core.Duration.prototype, + [_duration$]: 0 + }); + }, + get C421() { + return C[421] = dart.constList([], T$.ObjectN()); + }, + get C422() { + return C[422] = dart.constMap(T$.SymbolL(), T$.ObjectN(), []); + }, + get C423() { + return C[423] = dart.constList([], T$.ObjectL()); + }, + get C424() { + return C[424] = dart.constMap(T$.SymbolL(), T$.ObjectL(), []); + }, + get C425() { + return C[425] = dart.fn(core._GeneratorIterable._id, T$0.intToint()); + }, + get C426() { + return C[426] = dart.const({ + __proto__: core._StringStackTrace.prototype, + [_StringStackTrace__stackTrace]: "" + }); + }, + get C427() { + return C[427] = dart.const(new _internal.Symbol.new('unary-')); + }, + get C428() { + return C[428] = dart.const(new _internal.Symbol.new('')); + }, + get C429() { + return C[429] = dart.fn(core.Uri.decodeComponent, T$.StringToString()); + }, + get C430() { + return C[430] = dart.constMap(T$.StringL(), T$0.ListLOfStringL(), []); + }, + get C431() { + return C[431] = dart.fn(core._toUnmodifiableStringList, T$0.StringAndListOfStringToListOfString()); + }, + get C432() { + return C[432] = dart.fn(core._Uri._createList, T$0.VoidToListOfString()); + }, + get C433() { + return C[433] = dart.constList([0, 0, 24576, 1023, 65534, 34815, 65534, 18431], T$0.intL()); + }, + get C434() { + return C[434] = dart.constList([0, 0, 26498, 1023, 65534, 34815, 65534, 18431], T$0.intL()); + }, + get C435() { + return C[435] = dart.constList([0, 0, 65498, 45055, 65535, 34815, 65534, 18431], T$0.intL()); + }, + get C436() { + return C[436] = dart.constList([0, 0, 26624, 1023, 65534, 2047, 65534, 2047], T$0.intL()); + }, + get C437() { + return C[437] = dart.constList([0, 0, 32776, 33792, 1, 10240, 0, 0], T$0.intL()); + }, + get C438() { + return C[438] = dart.constList([0, 0, 32722, 12287, 65534, 34815, 65534, 18431], T$0.intL()); + }, + get C439() { + return C[439] = dart.constList([0, 0, 32754, 11263, 65534, 34815, 65534, 18431], T$0.intL()); + }, + get C440() { + return C[440] = dart.constList([0, 0, 32722, 12287, 65535, 34815, 65534, 18431], T$0.intL()); + }, + get C441() { + return C[441] = dart.constList([0, 0, 65490, 12287, 65535, 34815, 65534, 18431], T$0.intL()); + }, + get C442() { + return C[442] = dart.constList([0, 0, 65490, 45055, 65535, 34815, 65534, 18431], T$0.intL()); + }, + get C443() { + return C[443] = dart.constList([0, 0, 27858, 1023, 65534, 51199, 65535, 32767], T$0.intL()); + }, + get C444() { + return C[444] = dart.constMap(T$.StringL(), T$.StringL(), []); + }, + get C445() { + return C[445] = dart.const({ + __proto__: core.Deprecated.prototype, + [message$11]: "next release" + }); + }, + get C446() { + return C[446] = dart.const({ + __proto__: core._Override.prototype + }); + }, + get C447() { + return C[447] = dart.const({ + __proto__: core.Duration.prototype, + [_duration$]: 120000000 + }); + }, + get C448() { + return C[448] = dart.constList(["cache-control", "connection", "date", "pragma", "trailer", "transfer-encoding", "upgrade", "via", "warning"], T$.StringL()); + }, + get C449() { + return C[449] = dart.constList(["allow", "content-encoding", "content-language", "content-length", "content-location", "content-md5", "content-range", "content-type", "expires", "last-modified"], T$.StringL()); + }, + get C450() { + return C[450] = dart.constList(["accept-ranges", "age", "etag", "location", "proxy-authenticate", "retry-after", "server", "vary", "www-authenticate"], T$.StringL()); + }, + get C451() { + return C[451] = dart.constList(["accept", "accept-charset", "accept-encoding", "accept-language", "authorization", "expect", "from", "host", "if-match", "if-modified-since", "if-none-match", "if-range", "if-unmodified-since", "max-forwards", "proxy-authorization", "range", "referer", "te", "user-agent"], T$.StringL()); + }, + get C452() { + return C[452] = dart.constMap(T$.StringL(), T$.StringN(), []); + }, + get C453() { + return C[453] = dart.const({ + __proto__: core.Duration.prototype, + [_duration$]: 15000000 + }); + }, + get C454() { + return C[454] = dart.const({ + __proto__: _http.HttpClientResponseCompressionState.prototype, + [_name$7]: "HttpClientResponseCompressionState.notCompressed", + index: 0 + }); + }, + get C455() { + return C[455] = dart.const({ + __proto__: _http.HttpClientResponseCompressionState.prototype, + [_name$7]: "HttpClientResponseCompressionState.decompressed", + index: 1 + }); + }, + get C456() { + return C[456] = dart.const({ + __proto__: _http.HttpClientResponseCompressionState.prototype, + [_name$7]: "HttpClientResponseCompressionState.compressed", + index: 2 + }); + }, + get C457() { + return C[457] = dart.constList([C[454] || CT.C454, C[455] || CT.C455, C[456] || CT.C456], T$0.HttpClientResponseCompressionStateL()); + }, + get C458() { + return C[458] = dart.constList([-2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -1, -2, -2, -1, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, 62, -2, 62, -2, 63, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, -2, -2, -2, 0, -2, -2, -2, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, -2, -2, -2, -2, 63, -2, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2], T$0.intL()); + }, + get C459() { + return C[459] = dart.constList([3614090360.0, 3905402710.0, 606105819, 3250441966.0, 4118548399.0, 1200080426, 2821735955.0, 4249261313.0, 1770035416, 2336552879.0, 4294925233.0, 2304563134.0, 1804603682, 4254626195.0, 2792965006.0, 1236535329, 4129170786.0, 3225465664.0, 643717713, 3921069994.0, 3593408605.0, 38016083, 3634488961.0, 3889429448.0, 568446438, 3275163606.0, 4107603335.0, 1163531501, 2850285829.0, 4243563512.0, 1735328473, 2368359562.0, 4294588738.0, 2272392833.0, 1839030562, 4259657740.0, 2763975236.0, 1272893353, 4139469664.0, 3200236656.0, 681279174, 3936430074.0, 3572445317.0, 76029189, 3654602809.0, 3873151461.0, 530742520, 3299628645.0, 4096336452.0, 1126891415, 2878612391.0, 4237533241.0, 1700485571, 2399980690.0, 4293915773.0, 2240044497.0, 1873313359, 4264355552.0, 2734768916.0, 1309151649, 4149444226.0, 3174756917.0, 718787259, 3951481745.0], T$0.intL()); + }, + get C460() { + return C[460] = dart.constList([7, 12, 17, 22, 7, 12, 17, 22, 7, 12, 17, 22, 7, 12, 17, 22, 5, 9, 14, 20, 5, 9, 14, 20, 5, 9, 14, 20, 5, 9, 14, 20, 4, 11, 16, 23, 4, 11, 16, 23, 4, 11, 16, 23, 4, 11, 16, 23, 6, 10, 15, 21, 6, 10, 15, 21, 6, 10, 15, 21, 6, 10, 15, 21], T$0.intL()); + }, + get C461() { + return C[461] = dart.constList(["Mon", "Tue", "Wed", "Thu", "Fri", "Sat", "Sun"], dart.dynamic); + }, + get C462() { + return C[462] = dart.constList(["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"], dart.dynamic); + }, + get C463() { + return C[463] = dart.constList(["Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday", "Sunday"], dart.dynamic); + }, + get C464() { + return C[464] = dart.constList(["jan", "feb", "mar", "apr", "may", "jun", "jul", "aug", "sep", "oct", "nov", "dec"], dart.dynamic); + }, + get C465() { + return C[465] = dart.constList(["(", ")", "<", ">", "@", ",", ";", ":", "\\", "\"", "/", "[", "]", "?", "=", "{", "}"], T$.StringL()); + }, + get C466() { + return C[466] = dart.const({ + __proto__: _http._ToUint8List.prototype + }); + }, + get C467() { + return C[467] = dart.const(new _js_helper.PrivateSymbol.new('_#IOSink#encoding#isSet', __IOSink_encoding_isSet$)); + }, + get C468() { + return C[468] = dart.const(new _js_helper.PrivateSymbol.new('_#IOSink#encoding', __IOSink_encoding$)); + }, + get C469() { + return C[469] = dart.const(new _js_helper.PrivateSymbol.new('_#IOSink#encoding#isSet=', __IOSink_encoding_isSet_)); + }, + get C470() { + return C[470] = dart.const(new _js_helper.PrivateSymbol.new('_#IOSink#encoding=', __IOSink_encoding_)); + }, + get C471() { + return C[471] = dart.constList([48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 65, 66, 67, 68, 69, 70], T$0.intL()); + }, + get C472() { + return C[472] = dart.constList([13, 10, 48, 13, 10, 13, 10], T$0.intL()); + }, + get C473() { + return C[473] = dart.constList([48, 13, 10, 13, 10], T$0.intL()); + }, + get C474() { + return C[474] = dart.fn(_http.HttpClient.findProxyFromEnvironment, T.Uri__ToString()); + }, + get C477() { + return C[477] = dart.const({ + __proto__: _http._Proxy.prototype, + [_Proxy_isDirect]: true, + [_Proxy_password]: null, + [_Proxy_username]: null, + [_Proxy_port]: null, + [_Proxy_host]: null + }); + }, + get C476() { + return C[476] = dart.constList([C[477] || CT.C477], T._ProxyL()); + }, + get C475() { + return C[475] = dart.const({ + __proto__: _http._ProxyConfiguration.prototype, + [_ProxyConfiguration_proxies]: C[476] || CT.C476 + }); + }, + get C478() { + return C[478] = dart.const({ + __proto__: _http._AuthenticationScheme.prototype, + [_scheme$]: -1 + }); + }, + get C479() { + return C[479] = dart.const({ + __proto__: _http._AuthenticationScheme.prototype, + [_scheme$]: 0 + }); + }, + get C480() { + return C[480] = dart.const({ + __proto__: _http._AuthenticationScheme.prototype, + [_scheme$]: 1 + }); + }, + get C481() { + return C[481] = dart.constList([72, 84, 84, 80], T$0.intL()); + }, + get C482() { + return C[482] = dart.constList([72, 84, 84, 80, 47, 49, 46], T$0.intL()); + }, + get C483() { + return C[483] = dart.constList([72, 84, 84, 80, 47, 49, 46, 48], T$0.intL()); + }, + get C484() { + return C[484] = dart.constList([72, 84, 84, 80, 47, 49, 46, 49], T$0.intL()); + }, + get C485() { + return C[485] = dart.constList([false, false, false, false, false, false, false, false, false, true, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, true, false, true, false, false, false, false, false, true, true, false, false, true, false, false, true, false, false, false, false, false, false, false, false, false, false, true, true, true, true, true, true, true, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, true, true, true, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, true, false, true, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false], T$0.boolL()); + }, + get C486() { + return C[486] = dart.const({ + __proto__: _http.CompressionOptions.prototype, + [enabled$]: true, + [serverMaxWindowBits$]: null, + [clientMaxWindowBits$]: null, + [serverNoContextTakeover$]: false, + [clientNoContextTakeover$]: false + }); + }, + get C487() { + return C[487] = dart.const({ + __proto__: _http.CompressionOptions.prototype, + [enabled$]: false, + [serverMaxWindowBits$]: null, + [clientMaxWindowBits$]: null, + [serverNoContextTakeover$]: false, + [clientNoContextTakeover$]: false + }); + }, + get C488() { + return C[488] = dart.constList([0, 0, 255, 255], T$0.intL()); + }, + get C489() { + return C[489] = dart.const({ + __proto__: core.Duration.prototype, + [_duration$]: 5000000 + }); + } +}, false); +core.Invocation = class Invocation extends core.Object { + static method(memberName, positionalArguments, namedArguments = null) { + if (memberName == null) dart.nullFailed(I[10], 20, 18, "memberName"); + return new core._Invocation.method(memberName, null, positionalArguments, namedArguments); + } + static genericMethod(memberName, typeArguments, positionalArguments, namedArguments = null) { + if (memberName == null) dart.nullFailed(I[10], 31, 43, "memberName"); + return new core._Invocation.method(memberName, typeArguments, positionalArguments, namedArguments); + } + get typeArguments() { + return C[0] || CT.C0; + } + get isAccessor() { + return dart.test(this.isGetter) || dart.test(this.isSetter); + } +}; +(core.Invocation.new = function() { + ; +}).prototype = core.Invocation.prototype; +dart.addTypeTests(core.Invocation); +dart.addTypeCaches(core.Invocation); +dart.setGetterSignature(core.Invocation, () => ({ + __proto__: dart.getGetters(core.Invocation.__proto__), + typeArguments: core.List$(core.Type), + isAccessor: core.bool +})); +dart.setLibraryUri(core.Invocation, I[8]); +dart.InvocationImpl = class InvocationImpl extends core.Invocation { + get memberName() { + return this[memberName$]; + } + set memberName(value) { + super.memberName = value; + } + get positionalArguments() { + return this[positionalArguments$]; + } + set positionalArguments(value) { + super.positionalArguments = value; + } + get namedArguments() { + return this[namedArguments$]; + } + set namedArguments(value) { + super.namedArguments = value; + } + get typeArguments() { + return this[typeArguments$]; + } + set typeArguments(value) { + super.typeArguments = value; + } + get isMethod() { + return this[isMethod$]; + } + set isMethod(value) { + super.isMethod = value; + } + get isGetter() { + return this[isGetter$]; + } + set isGetter(value) { + super.isGetter = value; + } + get isSetter() { + return this[isSetter$]; + } + set isSetter(value) { + super.isSetter = value; + } + get failureMessage() { + return this[failureMessage$]; + } + set failureMessage(value) { + super.failureMessage = value; + } + static _namedArgsToSymbols(namedArgs) { + if (namedArgs == null) return const$0 || (const$0 = dart.constMap(T$.SymbolL(), dart.dynamic, [])); + return T$.MapOfSymbol$dynamic().unmodifiable(collection.LinkedHashMap.fromIterable(dart.getOwnPropertyNames(namedArgs), { + key: dart._dartSymbol, + value: k => namedArgs[k] + })); + } +}; +(dart.InvocationImpl.new = function(memberName, positionalArguments, opts) { + if (positionalArguments == null) dart.nullFailed(I[2], 20, 44, "positionalArguments"); + let namedArguments = opts && 'namedArguments' in opts ? opts.namedArguments : null; + let typeArguments = opts && 'typeArguments' in opts ? opts.typeArguments : const$ || (const$ = dart.constList([], dart.dynamic)); + if (typeArguments == null) dart.nullFailed(I[2], 22, 12, "typeArguments"); + let isMethod = opts && 'isMethod' in opts ? opts.isMethod : false; + if (isMethod == null) dart.nullFailed(I[2], 23, 12, "isMethod"); + let isGetter = opts && 'isGetter' in opts ? opts.isGetter : false; + if (isGetter == null) dart.nullFailed(I[2], 24, 12, "isGetter"); + let isSetter = opts && 'isSetter' in opts ? opts.isSetter : false; + if (isSetter == null) dart.nullFailed(I[2], 25, 12, "isSetter"); + let failureMessage = opts && 'failureMessage' in opts ? opts.failureMessage : "method not found"; + if (failureMessage == null) dart.nullFailed(I[2], 26, 12, "failureMessage"); + this[isMethod$] = isMethod; + this[isGetter$] = isGetter; + this[isSetter$] = isSetter; + this[failureMessage$] = failureMessage; + this[memberName$] = dart.test(isSetter) ? dart._setterSymbol(memberName) : dart._dartSymbol(memberName); + this[positionalArguments$] = core.List.unmodifiable(positionalArguments); + this[namedArguments$] = dart.InvocationImpl._namedArgsToSymbols(namedArguments); + this[typeArguments$] = T$.ListOfType().unmodifiable(typeArguments[$map](dart.dynamic, dart.wrapType)); + dart.InvocationImpl.__proto__.new.call(this); + ; +}).prototype = dart.InvocationImpl.prototype; +dart.addTypeTests(dart.InvocationImpl); +dart.addTypeCaches(dart.InvocationImpl); +dart.setLibraryUri(dart.InvocationImpl, I[9]); +dart.setFieldSignature(dart.InvocationImpl, () => ({ + __proto__: dart.getFields(dart.InvocationImpl.__proto__), + memberName: dart.finalFieldType(core.Symbol), + positionalArguments: dart.finalFieldType(core.List), + namedArguments: dart.finalFieldType(core.Map$(core.Symbol, dart.dynamic)), + typeArguments: dart.finalFieldType(core.List$(core.Type)), + isMethod: dart.finalFieldType(core.bool), + isGetter: dart.finalFieldType(core.bool), + isSetter: dart.finalFieldType(core.bool), + failureMessage: dart.finalFieldType(core.String) +})); +var name$0 = dart.privateName(_debugger, "JsonMLConfig.name"); +_debugger.JsonMLConfig = class JsonMLConfig extends core.Object { + get name() { + return this[name$0]; + } + set name(value) { + super.name = value; + } + toString() { + return "JsonMLConfig(" + dart.str(this.name) + ")"; + } +}; +(_debugger.JsonMLConfig.new = function(name) { + if (name == null) dart.nullFailed(I[11], 28, 27, "name"); + this[name$0] = name; + ; +}).prototype = _debugger.JsonMLConfig.prototype; +dart.addTypeTests(_debugger.JsonMLConfig); +dart.addTypeCaches(_debugger.JsonMLConfig); +dart.setLibraryUri(_debugger.JsonMLConfig, I[12]); +dart.setFieldSignature(_debugger.JsonMLConfig, () => ({ + __proto__: dart.getFields(_debugger.JsonMLConfig.__proto__), + name: dart.finalFieldType(core.String) +})); +dart.defineExtensionMethods(_debugger.JsonMLConfig, ['toString']); +dart.defineLazy(_debugger.JsonMLConfig, { + /*_debugger.JsonMLConfig.none*/get none() { + return C[1] || CT.C1; + }, + /*_debugger.JsonMLConfig.skipDart*/get skipDart() { + return C[2] || CT.C2; + }, + /*_debugger.JsonMLConfig.keyToString*/get keyToString() { + return C[3] || CT.C3; + }, + /*_debugger.JsonMLConfig.asClass*/get asClass() { + return C[4] || CT.C4; + }, + /*_debugger.JsonMLConfig.asObject*/get asObject() { + return C[5] || CT.C5; + }, + /*_debugger.JsonMLConfig.asMap*/get asMap() { + return C[6] || CT.C6; + } +}, false); +_debugger.JSNative = class JSNative extends core.Object { + static getProperty(object, name) { + return object[name]; + } + static setProperty(object, name, value) { + return object[name] = value; + } +}; +(_debugger.JSNative.new = function() { + ; +}).prototype = _debugger.JSNative.prototype; +dart.addTypeTests(_debugger.JSNative); +dart.addTypeCaches(_debugger.JSNative); +dart.setLibraryUri(_debugger.JSNative, I[12]); +var name$1 = dart.privateName(_debugger, "NameValuePair.name"); +var value$ = dart.privateName(_debugger, "NameValuePair.value"); +var config$ = dart.privateName(_debugger, "NameValuePair.config"); +var hideName$ = dart.privateName(_debugger, "NameValuePair.hideName"); +_debugger.NameValuePair = class NameValuePair extends core.Object { + get name() { + return this[name$1]; + } + set name(value) { + super.name = value; + } + get value() { + return this[value$]; + } + set value(value) { + super.value = value; + } + get config() { + return this[config$]; + } + set config(value) { + super.config = value; + } + get hideName() { + return this[hideName$]; + } + set hideName(value) { + super.hideName = value; + } + _equals(other) { + if (other == null) return false; + if (!_debugger.NameValuePair.is(other)) return false; + if (dart.test(this.hideName) || dart.test(other.hideName)) return this === other; + return other.name == this.name; + } + get hashCode() { + return dart.hashCode(this.name); + } + get displayName() { + return dart.test(this.hideName) ? "" : this.name; + } +}; +(_debugger.NameValuePair.new = function(opts) { + let name = opts && 'name' in opts ? opts.name : ""; + if (name == null) dart.nullFailed(I[11], 172, 13, "name"); + let value = opts && 'value' in opts ? opts.value : null; + let config = opts && 'config' in opts ? opts.config : C[1] || CT.C1; + if (config == null) dart.nullFailed(I[11], 174, 12, "config"); + let hideName = opts && 'hideName' in opts ? opts.hideName : false; + if (hideName == null) dart.nullFailed(I[11], 175, 12, "hideName"); + this[name$1] = name; + this[value$] = value; + this[config$] = config; + this[hideName$] = hideName; + ; +}).prototype = _debugger.NameValuePair.prototype; +dart.addTypeTests(_debugger.NameValuePair); +dart.addTypeCaches(_debugger.NameValuePair); +dart.setGetterSignature(_debugger.NameValuePair, () => ({ + __proto__: dart.getGetters(_debugger.NameValuePair.__proto__), + displayName: core.String +})); +dart.setLibraryUri(_debugger.NameValuePair, I[12]); +dart.setFieldSignature(_debugger.NameValuePair, () => ({ + __proto__: dart.getFields(_debugger.NameValuePair.__proto__), + name: dart.finalFieldType(core.String), + value: dart.finalFieldType(dart.nullable(core.Object)), + config: dart.finalFieldType(_debugger.JsonMLConfig), + hideName: dart.finalFieldType(core.bool) +})); +dart.defineExtensionMethods(_debugger.NameValuePair, ['_equals']); +dart.defineExtensionAccessors(_debugger.NameValuePair, ['hashCode']); +var key$ = dart.privateName(_debugger, "MapEntry.key"); +var value$0 = dart.privateName(_debugger, "MapEntry.value"); +_debugger.MapEntry = class MapEntry extends core.Object { + get key() { + return this[key$]; + } + set key(value) { + super.key = value; + } + get value() { + return this[value$0]; + } + set value(value) { + super.value = value; + } +}; +(_debugger.MapEntry.new = function(opts) { + let key = opts && 'key' in opts ? opts.key : null; + let value = opts && 'value' in opts ? opts.value : null; + this[key$] = key; + this[value$0] = value; + ; +}).prototype = _debugger.MapEntry.prototype; +dart.addTypeTests(_debugger.MapEntry); +dart.addTypeCaches(_debugger.MapEntry); +dart.setLibraryUri(_debugger.MapEntry, I[12]); +dart.setFieldSignature(_debugger.MapEntry, () => ({ + __proto__: dart.getFields(_debugger.MapEntry.__proto__), + key: dart.finalFieldType(dart.nullable(core.Object)), + value: dart.finalFieldType(dart.nullable(core.Object)) +})); +var start$ = dart.privateName(_debugger, "IterableSpan.start"); +var end$ = dart.privateName(_debugger, "IterableSpan.end"); +var iterable$ = dart.privateName(_debugger, "IterableSpan.iterable"); +_debugger.IterableSpan = class IterableSpan extends core.Object { + get start() { + return this[start$]; + } + set start(value) { + super.start = value; + } + get end() { + return this[end$]; + } + set end(value) { + super.end = value; + } + get iterable() { + return this[iterable$]; + } + set iterable(value) { + super.iterable = value; + } + get length() { + return dart.notNull(this.end) - dart.notNull(this.start); + } + get maxPowerOfSubsetSize() { + return (math.log(dart.notNull(this.length) - 0.5) / math.log(_debugger._maxSpanLength))[$truncate](); + } + get subsetSize() { + return math.pow(_debugger._maxSpanLength, this.maxPowerOfSubsetSize)[$toInt](); + } + asMap() { + return this.iterable[$skip](this.start)[$take](this.length)[$toList]()[$asMap](); + } + children() { + let children = T$.JSArrayOfNameValuePair().of([]); + if (dart.notNull(this.length) <= dart.notNull(_debugger._maxSpanLength)) { + this.asMap()[$forEach](dart.fn((i, element) => { + if (i == null) dart.nullFailed(I[11], 225, 24, "i"); + children[$add](new _debugger.NameValuePair.new({name: (dart.notNull(i) + dart.notNull(this.start))[$toString](), value: element})); + }, T$.intAnddynamicTovoid())); + } else { + for (let i = this.start; dart.notNull(i) < dart.notNull(this.end); i = dart.notNull(i) + dart.notNull(this.subsetSize)) { + let subSpan = new _debugger.IterableSpan.new(i, math.min(core.int, this.end, dart.notNull(this.subsetSize) + dart.notNull(i)), this.iterable); + if (subSpan.length === 1) { + children[$add](new _debugger.NameValuePair.new({name: dart.toString(i), value: this.iterable[$elementAt](i)})); + } else { + children[$add](new _debugger.NameValuePair.new({name: "[" + dart.str(i) + "..." + dart.str(dart.notNull(subSpan.end) - 1) + "]", value: subSpan, hideName: true})); + } + } + } + return children; + } +}; +(_debugger.IterableSpan.new = function(start, end, iterable) { + if (start == null) dart.nullFailed(I[11], 203, 21, "start"); + if (end == null) dart.nullFailed(I[11], 203, 33, "end"); + if (iterable == null) dart.nullFailed(I[11], 203, 43, "iterable"); + this[start$] = start; + this[end$] = end; + this[iterable$] = iterable; + ; +}).prototype = _debugger.IterableSpan.prototype; +dart.addTypeTests(_debugger.IterableSpan); +dart.addTypeCaches(_debugger.IterableSpan); +dart.setMethodSignature(_debugger.IterableSpan, () => ({ + __proto__: dart.getMethods(_debugger.IterableSpan.__proto__), + asMap: dart.fnType(core.Map$(core.int, dart.dynamic), []), + children: dart.fnType(core.List$(_debugger.NameValuePair), []) +})); +dart.setGetterSignature(_debugger.IterableSpan, () => ({ + __proto__: dart.getGetters(_debugger.IterableSpan.__proto__), + length: core.int, + maxPowerOfSubsetSize: core.int, + subsetSize: core.int +})); +dart.setLibraryUri(_debugger.IterableSpan, I[12]); +dart.setFieldSignature(_debugger.IterableSpan, () => ({ + __proto__: dart.getFields(_debugger.IterableSpan.__proto__), + start: dart.finalFieldType(core.int), + end: dart.finalFieldType(core.int), + iterable: dart.finalFieldType(core.Iterable) +})); +var name$2 = dart.privateName(_debugger, "Library.name"); +var object$ = dart.privateName(_debugger, "Library.object"); +_debugger.Library = class Library extends core.Object { + get name() { + return this[name$2]; + } + set name(value) { + super.name = value; + } + get object() { + return this[object$]; + } + set object(value) { + super.object = value; + } +}; +(_debugger.Library.new = function(name, object) { + if (name == null) dart.nullFailed(I[11], 248, 16, "name"); + if (object == null) dart.nullFailed(I[11], 248, 27, "object"); + this[name$2] = name; + this[object$] = object; + ; +}).prototype = _debugger.Library.prototype; +dart.addTypeTests(_debugger.Library); +dart.addTypeCaches(_debugger.Library); +dart.setLibraryUri(_debugger.Library, I[12]); +dart.setFieldSignature(_debugger.Library, () => ({ + __proto__: dart.getFields(_debugger.Library.__proto__), + name: dart.finalFieldType(core.String), + object: dart.finalFieldType(core.Object) +})); +var object$0 = dart.privateName(_debugger, "NamedConstructor.object"); +_debugger.NamedConstructor = class NamedConstructor extends core.Object { + get object() { + return this[object$0]; + } + set object(value) { + super.object = value; + } +}; +(_debugger.NamedConstructor.new = function(object) { + if (object == null) dart.nullFailed(I[11], 255, 25, "object"); + this[object$0] = object; + ; +}).prototype = _debugger.NamedConstructor.prototype; +dart.addTypeTests(_debugger.NamedConstructor); +dart.addTypeCaches(_debugger.NamedConstructor); +dart.setLibraryUri(_debugger.NamedConstructor, I[12]); +dart.setFieldSignature(_debugger.NamedConstructor, () => ({ + __proto__: dart.getFields(_debugger.NamedConstructor.__proto__), + object: dart.finalFieldType(core.Object) +})); +var name$3 = dart.privateName(_debugger, "HeritageClause.name"); +var types$ = dart.privateName(_debugger, "HeritageClause.types"); +_debugger.HeritageClause = class HeritageClause extends core.Object { + get name() { + return this[name$3]; + } + set name(value) { + super.name = value; + } + get types() { + return this[types$]; + } + set types(value) { + super.types = value; + } +}; +(_debugger.HeritageClause.new = function(name, types) { + if (name == null) dart.nullFailed(I[11], 261, 23, "name"); + if (types == null) dart.nullFailed(I[11], 261, 34, "types"); + this[name$3] = name; + this[types$] = types; + ; +}).prototype = _debugger.HeritageClause.prototype; +dart.addTypeTests(_debugger.HeritageClause); +dart.addTypeCaches(_debugger.HeritageClause); +dart.setLibraryUri(_debugger.HeritageClause, I[12]); +dart.setFieldSignature(_debugger.HeritageClause, () => ({ + __proto__: dart.getFields(_debugger.HeritageClause.__proto__), + name: dart.finalFieldType(core.String), + types: dart.finalFieldType(core.List) +})); +var _attributes = dart.privateName(_debugger, "_attributes"); +var __JsonMLElement__jsonML = dart.privateName(_debugger, "_#JsonMLElement#_jsonML"); +var __JsonMLElement__jsonML_isSet = dart.privateName(_debugger, "_#JsonMLElement#_jsonML#isSet"); +var _jsonML = dart.privateName(_debugger, "_jsonML"); +_debugger.JsonMLElement = class JsonMLElement extends core.Object { + get [_jsonML]() { + let t8; + return dart.test(this[__JsonMLElement__jsonML_isSet]) ? (t8 = this[__JsonMLElement__jsonML], t8) : dart.throw(new _internal.LateError.fieldNI("_jsonML")); + } + set [_jsonML](t8) { + if (t8 == null) dart.nullFailed(I[11], 285, 13, "null"); + this[__JsonMLElement__jsonML_isSet] = true; + this[__JsonMLElement__jsonML] = t8; + } + appendChild(element) { + this[_jsonML][$add](dart.dsend(element, 'toJsonML', [])); + } + createChild(tagName) { + if (tagName == null) dart.nullFailed(I[11], 296, 36, "tagName"); + let c = new _debugger.JsonMLElement.new(tagName); + this[_jsonML][$add](c.toJsonML()); + return c; + } + createObjectTag(object) { + let t9; + t9 = this.createChild("object"); + return (() => { + t9.addAttribute("object", object); + return t9; + })(); + } + setStyle(style) { + if (style == null) dart.nullFailed(I[11], 305, 24, "style"); + dart.dput(this[_attributes], 'style', style); + } + addStyle(style) { + let t9; + if (style == null) dart.nullFailed(I[11], 309, 19, "style"); + if (dart.dload(this[_attributes], 'style') == null) { + dart.dput(this[_attributes], 'style', style); + } else { + t9 = this[_attributes]; + dart.dput(t9, 'style', dart.dsend(dart.dload(t9, 'style'), '+', [style])); + } + } + addAttribute(key, value) { + _debugger.JSNative.setProperty(this[_attributes], key, value); + } + createTextChild(text) { + if (text == null) dart.nullFailed(I[11], 321, 26, "text"); + this[_jsonML][$add](text); + } + toJsonML() { + return this[_jsonML]; + } +}; +(_debugger.JsonMLElement.new = function(tagName) { + this[_attributes] = null; + this[__JsonMLElement__jsonML] = null; + this[__JsonMLElement__jsonML_isSet] = false; + this[_attributes] = {}; + this[_jsonML] = [tagName, this[_attributes]]; +}).prototype = _debugger.JsonMLElement.prototype; +dart.addTypeTests(_debugger.JsonMLElement); +dart.addTypeCaches(_debugger.JsonMLElement); +dart.setMethodSignature(_debugger.JsonMLElement, () => ({ + __proto__: dart.getMethods(_debugger.JsonMLElement.__proto__), + appendChild: dart.fnType(dart.dynamic, [dart.dynamic]), + createChild: dart.fnType(_debugger.JsonMLElement, [core.String]), + createObjectTag: dart.fnType(_debugger.JsonMLElement, [dart.dynamic]), + setStyle: dart.fnType(dart.void, [core.String]), + addStyle: dart.fnType(dart.dynamic, [core.String]), + addAttribute: dart.fnType(dart.dynamic, [dart.dynamic, dart.dynamic]), + createTextChild: dart.fnType(dart.dynamic, [core.String]), + toJsonML: dart.fnType(dart.dynamic, []) +})); +dart.setGetterSignature(_debugger.JsonMLElement, () => ({ + __proto__: dart.getGetters(_debugger.JsonMLElement.__proto__), + [_jsonML]: core.List +})); +dart.setSetterSignature(_debugger.JsonMLElement, () => ({ + __proto__: dart.getSetters(_debugger.JsonMLElement.__proto__), + [_jsonML]: core.List +})); +dart.setLibraryUri(_debugger.JsonMLElement, I[12]); +dart.setFieldSignature(_debugger.JsonMLElement, () => ({ + __proto__: dart.getFields(_debugger.JsonMLElement.__proto__), + [_attributes]: dart.fieldType(dart.dynamic), + [__JsonMLElement__jsonML]: dart.fieldType(dart.nullable(core.List)), + [__JsonMLElement__jsonML_isSet]: dart.fieldType(core.bool) +})); +var customFormattersOn = dart.privateName(_debugger, "JsonMLFormatter.customFormattersOn"); +var _simpleFormatter$ = dart.privateName(_debugger, "_simpleFormatter"); +_debugger.JsonMLFormatter = class JsonMLFormatter extends core.Object { + get customFormattersOn() { + return this[customFormattersOn]; + } + set customFormattersOn(value) { + this[customFormattersOn] = value; + } + setMaxSpanLengthForTestingOnly(spanLength) { + if (spanLength == null) dart.nullFailed(I[11], 363, 43, "spanLength"); + _debugger._maxSpanLength = spanLength; + } + header(object, config) { + let t9; + this.customFormattersOn = true; + if (dart.equals(config, _debugger.JsonMLConfig.skipDart) || dart.test(_debugger.isNativeJavaScriptObject(object))) { + return null; + } + let c = this[_simpleFormatter$].preview(object, config); + if (c == null) return null; + if (dart.equals(config, _debugger.JsonMLConfig.keyToString)) { + c = dart.toString(object); + } + let element = (t9 = new _debugger.JsonMLElement.new("span"), (() => { + t9.setStyle("background-color: #d9edf7;color: black"); + t9.createTextChild(c); + return t9; + })()); + return element.toJsonML(); + } + hasBody(object, config) { + return this[_simpleFormatter$].hasChildren(object, config); + } + body(object, config) { + let t9, t9$, t9$0, t9$1, t9$2; + let body = (t9 = new _debugger.JsonMLElement.new("ol"), (() => { + t9.setStyle("list-style-type: none;" + "padding-left: 0px;" + "margin-top: 0px;" + "margin-bottom: 0px;" + "margin-left: 12px;"); + return t9; + })()); + if (core.StackTrace.is(object)) { + body.addStyle("background-color: thistle;color: rgb(196, 26, 22);"); + } + let children = this[_simpleFormatter$].children(object, config); + if (children == null) return body.toJsonML(); + for (let child of children) { + let li = body.createChild("li"); + li.setStyle("padding-left: 13px;"); + let nameSpan = null; + let valueStyle = ""; + if (!dart.test(child.hideName)) { + nameSpan = (t9$ = new _debugger.JsonMLElement.new("span"), (() => { + t9$.createTextChild(child.displayName[$isNotEmpty] ? dart.str(child.displayName) + ": " : ""); + t9$.setStyle("background-color: thistle; color: rgb(136, 19, 145); margin-right: -13px"); + return t9$; + })()); + valueStyle = "margin-left: 13px"; + } + if (_debugger._typeof(child.value) === "object" || _debugger._typeof(child.value) === "function") { + let valueSpan = (t9$0 = new _debugger.JsonMLElement.new("span"), (() => { + t9$0.setStyle(valueStyle); + return t9$0; + })()); + t9$1 = valueSpan.createObjectTag(child.value); + (() => { + t9$1.addAttribute("config", child.config); + return t9$1; + })(); + if (nameSpan != null) { + li.appendChild(nameSpan); + } + li.appendChild(valueSpan); + } else { + let line = li.createChild("span"); + if (nameSpan != null) { + line.appendChild(nameSpan); + } + line.appendChild((t9$2 = new _debugger.JsonMLElement.new("span"), (() => { + t9$2.createTextChild(_debugger.safePreview(child.value, child.config)); + t9$2.setStyle(valueStyle); + return t9$2; + })())); + } + } + return body.toJsonML(); + } +}; +(_debugger.JsonMLFormatter.new = function(_simpleFormatter) { + if (_simpleFormatter == null) dart.nullFailed(I[11], 361, 24, "_simpleFormatter"); + this[customFormattersOn] = false; + this[_simpleFormatter$] = _simpleFormatter; + ; +}).prototype = _debugger.JsonMLFormatter.prototype; +dart.addTypeTests(_debugger.JsonMLFormatter); +dart.addTypeCaches(_debugger.JsonMLFormatter); +dart.setMethodSignature(_debugger.JsonMLFormatter, () => ({ + __proto__: dart.getMethods(_debugger.JsonMLFormatter.__proto__), + setMaxSpanLengthForTestingOnly: dart.fnType(dart.void, [core.int]), + header: dart.fnType(dart.dynamic, [dart.dynamic, dart.dynamic]), + hasBody: dart.fnType(core.bool, [dart.dynamic, dart.dynamic]), + body: dart.fnType(dart.dynamic, [dart.dynamic, dart.dynamic]) +})); +dart.setLibraryUri(_debugger.JsonMLFormatter, I[12]); +dart.setFieldSignature(_debugger.JsonMLFormatter, () => ({ + __proto__: dart.getFields(_debugger.JsonMLFormatter.__proto__), + [_simpleFormatter$]: dart.fieldType(_debugger.DartFormatter), + customFormattersOn: dart.fieldType(core.bool) +})); +_debugger.Formatter = class Formatter extends core.Object {}; +(_debugger.Formatter.new = function() { + ; +}).prototype = _debugger.Formatter.prototype; +dart.addTypeTests(_debugger.Formatter); +dart.addTypeCaches(_debugger.Formatter); +dart.setLibraryUri(_debugger.Formatter, I[12]); +var _formatters = dart.privateName(_debugger, "_formatters"); +var _printConsoleError = dart.privateName(_debugger, "_printConsoleError"); +_debugger.DartFormatter = class DartFormatter extends core.Object { + preview(object, config) { + try { + if (object == null || typeof object == 'number' || typeof object == 'string' || dart.test(_debugger.isNativeJavaScriptObject(object))) { + return dart.toString(object); + } + for (let formatter of this[_formatters]) { + if (dart.test(formatter.accept(object, config))) return formatter.preview(object); + } + } catch (e$) { + let e = dart.getThrown(e$); + let trace = dart.stackTrace(e$); + if (core.Object.is(e)) { + this[_printConsoleError]("Caught exception " + dart.str(e) + "\n trace:\n" + dart.str(trace)); + } else + throw e$; + } + return null; + } + hasChildren(object, config) { + if (object == null) return false; + try { + for (let formatter of this[_formatters]) { + if (dart.test(formatter.accept(object, config))) return formatter.hasChildren(object); + } + } catch (e$) { + let e = dart.getThrown(e$); + let trace = dart.stackTrace(e$); + if (core.Object.is(e)) { + this[_printConsoleError]("[hasChildren] Caught exception " + dart.str(e) + "\n trace:\n" + dart.str(trace)); + } else + throw e$; + } + return false; + } + children(object, config) { + try { + if (object != null) { + for (let formatter of this[_formatters]) { + if (dart.test(formatter.accept(object, config))) return formatter.children(object); + } + } + } catch (e$) { + let e = dart.getThrown(e$); + let trace = dart.stackTrace(e$); + if (core.Object.is(e)) { + this[_printConsoleError]("Caught exception " + dart.str(e) + "\n trace:\n" + dart.str(trace)); + } else + throw e$; + } + return T$.JSArrayOfNameValuePair().of([]); + } + [_printConsoleError](message) { + if (message == null) dart.nullFailed(I[11], 523, 34, "message"); + return window.console.error(message); + } +}; +(_debugger.DartFormatter.new = function() { + this[_formatters] = T$.JSArrayOfFormatter().of([new _debugger.ObjectInternalsFormatter.new(), new _debugger.ClassFormatter.new(), new _debugger.TypeFormatter.new(), new _debugger.NamedConstructorFormatter.new(), new _debugger.MapFormatter.new(), new _debugger.MapOverviewFormatter.new(), new _debugger.IterableFormatter.new(), new _debugger.IterableSpanFormatter.new(), new _debugger.MapEntryFormatter.new(), new _debugger.StackTraceFormatter.new(), new _debugger.ErrorAndExceptionFormatter.new(), new _debugger.FunctionFormatter.new(), new _debugger.HeritageClauseFormatter.new(), new _debugger.LibraryModuleFormatter.new(), new _debugger.LibraryFormatter.new(), new _debugger.ObjectFormatter.new()]); + ; +}).prototype = _debugger.DartFormatter.prototype; +dart.addTypeTests(_debugger.DartFormatter); +dart.addTypeCaches(_debugger.DartFormatter); +dart.setMethodSignature(_debugger.DartFormatter, () => ({ + __proto__: dart.getMethods(_debugger.DartFormatter.__proto__), + preview: dart.fnType(dart.nullable(core.String), [dart.dynamic, dart.dynamic]), + hasChildren: dart.fnType(core.bool, [dart.dynamic, dart.dynamic]), + children: dart.fnType(dart.nullable(core.List$(_debugger.NameValuePair)), [dart.dynamic, dart.dynamic]), + [_printConsoleError]: dart.fnType(dart.void, [core.String]) +})); +dart.setLibraryUri(_debugger.DartFormatter, I[12]); +dart.setFieldSignature(_debugger.DartFormatter, () => ({ + __proto__: dart.getFields(_debugger.DartFormatter.__proto__), + [_formatters]: dart.finalFieldType(core.List$(_debugger.Formatter)) +})); +_debugger.ObjectFormatter = class ObjectFormatter extends _debugger.Formatter { + accept(object, config) { + return !dart.test(_debugger.isNativeJavaScriptObject(object)); + } + preview(object) { + let typeName = _debugger.getObjectTypeName(object); + try { + let toString = dart.str(object); + if (toString.length > dart.notNull(_debugger.maxFormatterStringLength)) { + toString = toString[$substring](0, dart.notNull(_debugger.maxFormatterStringLength) - 3) + "..."; + } + if (toString[$contains](typeName)) { + return toString; + } else { + return toString + " (" + dart.str(typeName) + ")"; + } + } catch (e$) { + let e = dart.getThrown(e$); + if (core.Object.is(e)) { + } else + throw e$; + } + return typeName; + } + hasChildren(object) { + return true; + } + children(object) { + let type = dart.getType(object); + let ret = new (T$._HashSetOfNameValuePair()).new(); + let fields = new (T$._HashSetOfNameValuePair()).new(); + _debugger.addPropertiesFromSignature(dart.getFields(type), fields, object, true); + let getters = new (T$._HashSetOfNameValuePair()).new(); + _debugger.addPropertiesFromSignature(dart.getGetters(type), getters, object, true); + ret.addAll(_debugger.sortProperties(fields)); + ret.addAll(_debugger.sortProperties(getters)); + _debugger.addMetadataChildren(object, ret); + return ret[$toList](); + } +}; +(_debugger.ObjectFormatter.new = function() { + ; +}).prototype = _debugger.ObjectFormatter.prototype; +dart.addTypeTests(_debugger.ObjectFormatter); +dart.addTypeCaches(_debugger.ObjectFormatter); +dart.setMethodSignature(_debugger.ObjectFormatter, () => ({ + __proto__: dart.getMethods(_debugger.ObjectFormatter.__proto__), + accept: dart.fnType(core.bool, [dart.dynamic, dart.dynamic]), + preview: dart.fnType(core.String, [dart.dynamic]), + hasChildren: dart.fnType(core.bool, [dart.dynamic]), + children: dart.fnType(dart.nullable(core.List$(_debugger.NameValuePair)), [dart.dynamic]) +})); +dart.setLibraryUri(_debugger.ObjectFormatter, I[12]); +_debugger.ObjectInternalsFormatter = class ObjectInternalsFormatter extends _debugger.ObjectFormatter { + accept(object, config) { + return dart.test(super.accept(object, config)) && dart.equals(config, _debugger.JsonMLConfig.asObject); + } + preview(object) { + return _debugger.getObjectTypeName(object); + } +}; +(_debugger.ObjectInternalsFormatter.new = function() { + ; +}).prototype = _debugger.ObjectInternalsFormatter.prototype; +dart.addTypeTests(_debugger.ObjectInternalsFormatter); +dart.addTypeCaches(_debugger.ObjectInternalsFormatter); +dart.setLibraryUri(_debugger.ObjectInternalsFormatter, I[12]); +_debugger.LibraryModuleFormatter = class LibraryModuleFormatter extends core.Object { + accept(object, config) { + return dart.getModuleName(core.Object.as(object)) != null; + } + hasChildren(object) { + return true; + } + preview(object) { + let libraryNames = dart.nullCheck(dart.getModuleName(core.Object.as(object)))[$split]("/"); + if (dart.notNull(libraryNames[$length]) > 1 && libraryNames[$last] == libraryNames[$_get](dart.notNull(libraryNames[$length]) - 2)) { + libraryNames[$_set](dart.notNull(libraryNames[$length]) - 1, ""); + } + return "Library Module: " + dart.str(libraryNames[$join]("/")); + } + children(object) { + let children = new (T$._HashSetOfNameValuePair()).new(); + for (let name of _debugger.getOwnPropertyNames(object)) { + let value = _debugger.safeGetProperty(core.Object.as(object), name); + children.add(new _debugger.NameValuePair.new({name: name, value: new _debugger.Library.new(name, dart.nullCheck(value)), hideName: true})); + } + return children[$toList](); + } +}; +(_debugger.LibraryModuleFormatter.new = function() { + ; +}).prototype = _debugger.LibraryModuleFormatter.prototype; +dart.addTypeTests(_debugger.LibraryModuleFormatter); +dart.addTypeCaches(_debugger.LibraryModuleFormatter); +_debugger.LibraryModuleFormatter[dart.implements] = () => [_debugger.Formatter]; +dart.setMethodSignature(_debugger.LibraryModuleFormatter, () => ({ + __proto__: dart.getMethods(_debugger.LibraryModuleFormatter.__proto__), + accept: dart.fnType(core.bool, [dart.dynamic, dart.dynamic]), + hasChildren: dart.fnType(core.bool, [dart.dynamic]), + preview: dart.fnType(core.String, [dart.dynamic]), + children: dart.fnType(core.List$(_debugger.NameValuePair), [dart.dynamic]) +})); +dart.setLibraryUri(_debugger.LibraryModuleFormatter, I[12]); +var genericParameters = dart.privateName(_debugger, "LibraryFormatter.genericParameters"); +_debugger.LibraryFormatter = class LibraryFormatter extends core.Object { + get genericParameters() { + return this[genericParameters]; + } + set genericParameters(value) { + this[genericParameters] = value; + } + accept(object, config) { + return _debugger.Library.is(object); + } + hasChildren(object) { + return true; + } + preview(object) { + return core.String.as(dart.dload(object, 'name')); + } + children(object) { + let children = new (T$._HashSetOfNameValuePair()).new(); + let objectProperties = _debugger.safeProperties(dart.dload(object, 'object')); + dart.dsend(objectProperties, 'forEach', [dart.fn((name, value) => { + if (dart.getGenericTypeCtor(value) != null) return; + children.add(_debugger.NameValuePair.as(dart.isType(value) ? this.classChild(core.String.as(name), core.Object.as(value)) : new _debugger.NameValuePair.new({name: core.String.as(name), value: value}))); + }, T$.dynamicAnddynamicToNull())]); + return children[$toList](); + } + classChild(name, child) { + if (name == null) dart.nullFailed(I[11], 644, 21, "name"); + if (child == null) dart.nullFailed(I[11], 644, 34, "child"); + let typeName = _debugger.getTypeName(child); + return new _debugger.NameValuePair.new({name: typeName, value: child, config: _debugger.JsonMLConfig.asClass}); + } +}; +(_debugger.LibraryFormatter.new = function() { + this[genericParameters] = new (T$.IdentityMapOfString$String()).new(); + ; +}).prototype = _debugger.LibraryFormatter.prototype; +dart.addTypeTests(_debugger.LibraryFormatter); +dart.addTypeCaches(_debugger.LibraryFormatter); +_debugger.LibraryFormatter[dart.implements] = () => [_debugger.Formatter]; +dart.setMethodSignature(_debugger.LibraryFormatter, () => ({ + __proto__: dart.getMethods(_debugger.LibraryFormatter.__proto__), + accept: dart.fnType(core.bool, [dart.dynamic, dart.dynamic]), + hasChildren: dart.fnType(core.bool, [dart.dynamic]), + preview: dart.fnType(core.String, [dart.dynamic]), + children: dart.fnType(core.List$(_debugger.NameValuePair), [dart.dynamic]), + classChild: dart.fnType(dart.dynamic, [core.String, core.Object]) +})); +dart.setLibraryUri(_debugger.LibraryFormatter, I[12]); +dart.setFieldSignature(_debugger.LibraryFormatter, () => ({ + __proto__: dart.getFields(_debugger.LibraryFormatter.__proto__), + genericParameters: dart.fieldType(collection.HashMap$(core.String, core.String)) +})); +_debugger.FunctionFormatter = class FunctionFormatter extends core.Object { + accept(object, config) { + if (_debugger._typeof(object) !== "function") return false; + return dart.getReifiedType(object) != null; + } + hasChildren(object) { + return true; + } + preview(object) { + try { + return dart.typeName(dart.getReifiedType(object)); + } catch (e$) { + let e = dart.getThrown(e$); + if (core.Object.is(e)) { + return _debugger.safePreview(object, _debugger.JsonMLConfig.none); + } else + throw e$; + } + } + children(object) { + return T$.JSArrayOfNameValuePair().of([new _debugger.NameValuePair.new({name: "signature", value: this.preview(object)}), new _debugger.NameValuePair.new({name: "JavaScript Function", value: object, config: _debugger.JsonMLConfig.skipDart})]); + } +}; +(_debugger.FunctionFormatter.new = function() { + ; +}).prototype = _debugger.FunctionFormatter.prototype; +dart.addTypeTests(_debugger.FunctionFormatter); +dart.addTypeCaches(_debugger.FunctionFormatter); +_debugger.FunctionFormatter[dart.implements] = () => [_debugger.Formatter]; +dart.setMethodSignature(_debugger.FunctionFormatter, () => ({ + __proto__: dart.getMethods(_debugger.FunctionFormatter.__proto__), + accept: dart.fnType(core.bool, [dart.dynamic, dart.dynamic]), + hasChildren: dart.fnType(core.bool, [dart.dynamic]), + preview: dart.fnType(core.String, [dart.dynamic]), + children: dart.fnType(core.List$(_debugger.NameValuePair), [dart.dynamic]) +})); +dart.setLibraryUri(_debugger.FunctionFormatter, I[12]); +_debugger.MapOverviewFormatter = class MapOverviewFormatter extends core.Object { + accept(object, config) { + return core.Map.is(object); + } + hasChildren(object) { + return true; + } + preview(object) { + let map = core.Map.as(object); + try { + return dart.str(_debugger.getObjectTypeName(map)); + } catch (e$) { + let e = dart.getThrown(e$); + if (core.Object.is(e)) { + return _debugger.safePreview(object, _debugger.JsonMLConfig.none); + } else + throw e$; + } + } + children(object) { + return T$.JSArrayOfNameValuePair().of([new _debugger.NameValuePair.new({name: "[[instance view]]", value: object, config: _debugger.JsonMLConfig.asObject}), new _debugger.NameValuePair.new({name: "[[entries]]", value: object, config: _debugger.JsonMLConfig.asMap})]); + } +}; +(_debugger.MapOverviewFormatter.new = function() { + ; +}).prototype = _debugger.MapOverviewFormatter.prototype; +dart.addTypeTests(_debugger.MapOverviewFormatter); +dart.addTypeCaches(_debugger.MapOverviewFormatter); +_debugger.MapOverviewFormatter[dart.implements] = () => [_debugger.Formatter]; +dart.setMethodSignature(_debugger.MapOverviewFormatter, () => ({ + __proto__: dart.getMethods(_debugger.MapOverviewFormatter.__proto__), + accept: dart.fnType(core.bool, [dart.dynamic, dart.dynamic]), + hasChildren: dart.fnType(core.bool, [dart.dynamic]), + preview: dart.fnType(core.String, [dart.dynamic]), + children: dart.fnType(core.List$(_debugger.NameValuePair), [dart.dynamic]) +})); +dart.setLibraryUri(_debugger.MapOverviewFormatter, I[12]); +_debugger.MapFormatter = class MapFormatter extends core.Object { + accept(object, config) { + return _js_helper.InternalMap.is(object) || dart.equals(config, _debugger.JsonMLConfig.asMap); + } + hasChildren(object) { + return true; + } + preview(object) { + let map = core.Map.as(object); + try { + return dart.str(_debugger.getObjectTypeName(map)) + " length " + dart.str(map[$length]); + } catch (e$) { + let e = dart.getThrown(e$); + if (core.Object.is(e)) { + return _debugger.safePreview(object, _debugger.JsonMLConfig.none); + } else + throw e$; + } + } + children(object) { + let map = core.Map.as(object); + let entries = new (T$._HashSetOfNameValuePair()).new(); + map[$forEach](dart.fn((key, value) => { + let entryWrapper = new _debugger.MapEntry.new({key: key, value: value}); + entries.add(new _debugger.NameValuePair.new({name: dart.toString(entries[$length]), value: entryWrapper})); + }, T$.dynamicAnddynamicTovoid())); + _debugger.addMetadataChildren(object, entries); + return entries[$toList](); + } +}; +(_debugger.MapFormatter.new = function() { + ; +}).prototype = _debugger.MapFormatter.prototype; +dart.addTypeTests(_debugger.MapFormatter); +dart.addTypeCaches(_debugger.MapFormatter); +_debugger.MapFormatter[dart.implements] = () => [_debugger.Formatter]; +dart.setMethodSignature(_debugger.MapFormatter, () => ({ + __proto__: dart.getMethods(_debugger.MapFormatter.__proto__), + accept: dart.fnType(core.bool, [dart.dynamic, dart.dynamic]), + hasChildren: dart.fnType(core.bool, [dart.dynamic]), + preview: dart.fnType(core.String, [dart.dynamic]), + children: dart.fnType(core.List$(_debugger.NameValuePair), [dart.dynamic]) +})); +dart.setLibraryUri(_debugger.MapFormatter, I[12]); +_debugger.IterableFormatter = class IterableFormatter extends core.Object { + accept(object, config) { + return core.Iterable.is(object); + } + preview(object) { + let iterable = core.Iterable.as(object); + try { + let length = iterable[$length]; + return dart.str(_debugger.getObjectTypeName(iterable)) + " length " + dart.str(length); + } catch (e) { + let _ = dart.getThrown(e); + if (core.Object.is(_)) { + return dart.str(_debugger.getObjectTypeName(iterable)); + } else + throw e; + } + } + hasChildren(object) { + return true; + } + children(object) { + let children = new (T$._HashSetOfNameValuePair()).new(); + children.addAll(new _debugger.IterableSpan.new(0, core.int.as(dart.dload(object, 'length')), core.Iterable.as(object)).children()); + _debugger.addMetadataChildren(object, children); + return children[$toList](); + } +}; +(_debugger.IterableFormatter.new = function() { + ; +}).prototype = _debugger.IterableFormatter.prototype; +dart.addTypeTests(_debugger.IterableFormatter); +dart.addTypeCaches(_debugger.IterableFormatter); +_debugger.IterableFormatter[dart.implements] = () => [_debugger.Formatter]; +dart.setMethodSignature(_debugger.IterableFormatter, () => ({ + __proto__: dart.getMethods(_debugger.IterableFormatter.__proto__), + accept: dart.fnType(core.bool, [dart.dynamic, dart.dynamic]), + preview: dart.fnType(core.String, [dart.dynamic]), + hasChildren: dart.fnType(core.bool, [dart.dynamic]), + children: dart.fnType(core.List$(_debugger.NameValuePair), [dart.dynamic]) +})); +dart.setLibraryUri(_debugger.IterableFormatter, I[12]); +_debugger.NamedConstructorFormatter = class NamedConstructorFormatter extends core.Object { + accept(object, config) { + return _debugger.NamedConstructor.is(object); + } + preview(object) { + return "Named Constructor"; + } + hasChildren(object) { + return true; + } + children(object) { + return T$.JSArrayOfNameValuePair().of([new _debugger.NameValuePair.new({name: "JavaScript Function", value: object, config: _debugger.JsonMLConfig.skipDart})]); + } +}; +(_debugger.NamedConstructorFormatter.new = function() { + ; +}).prototype = _debugger.NamedConstructorFormatter.prototype; +dart.addTypeTests(_debugger.NamedConstructorFormatter); +dart.addTypeCaches(_debugger.NamedConstructorFormatter); +_debugger.NamedConstructorFormatter[dart.implements] = () => [_debugger.Formatter]; +dart.setMethodSignature(_debugger.NamedConstructorFormatter, () => ({ + __proto__: dart.getMethods(_debugger.NamedConstructorFormatter.__proto__), + accept: dart.fnType(core.bool, [dart.dynamic, dart.dynamic]), + preview: dart.fnType(core.String, [dart.dynamic]), + hasChildren: dart.fnType(core.bool, [dart.dynamic]), + children: dart.fnType(core.List$(_debugger.NameValuePair), [dart.dynamic]) +})); +dart.setLibraryUri(_debugger.NamedConstructorFormatter, I[12]); +_debugger.MapEntryFormatter = class MapEntryFormatter extends core.Object { + accept(object, config) { + return _debugger.MapEntry.is(object); + } + preview(object) { + let entry = _debugger.MapEntry.as(object); + return dart.str(_debugger.safePreview(entry.key, _debugger.JsonMLConfig.none)) + " => " + dart.str(_debugger.safePreview(entry.value, _debugger.JsonMLConfig.none)); + } + hasChildren(object) { + return true; + } + children(object) { + return T$.JSArrayOfNameValuePair().of([new _debugger.NameValuePair.new({name: "key", value: dart.dload(object, 'key'), config: _debugger.JsonMLConfig.keyToString}), new _debugger.NameValuePair.new({name: "value", value: dart.dload(object, 'value')})]); + } +}; +(_debugger.MapEntryFormatter.new = function() { + ; +}).prototype = _debugger.MapEntryFormatter.prototype; +dart.addTypeTests(_debugger.MapEntryFormatter); +dart.addTypeCaches(_debugger.MapEntryFormatter); +_debugger.MapEntryFormatter[dart.implements] = () => [_debugger.Formatter]; +dart.setMethodSignature(_debugger.MapEntryFormatter, () => ({ + __proto__: dart.getMethods(_debugger.MapEntryFormatter.__proto__), + accept: dart.fnType(core.bool, [dart.dynamic, dart.dynamic]), + preview: dart.fnType(core.String, [dart.dynamic]), + hasChildren: dart.fnType(core.bool, [dart.dynamic]), + children: dart.fnType(core.List$(_debugger.NameValuePair), [dart.dynamic]) +})); +dart.setLibraryUri(_debugger.MapEntryFormatter, I[12]); +_debugger.HeritageClauseFormatter = class HeritageClauseFormatter extends core.Object { + accept(object, config) { + return _debugger.HeritageClause.is(object); + } + preview(object) { + let clause = _debugger.HeritageClause.as(object); + let typeNames = clause.types[$map](core.String, C[7] || CT.C7); + return dart.str(clause.name) + " " + dart.str(typeNames[$join](", ")); + } + hasChildren(object) { + return true; + } + children(object) { + let clause = _debugger.HeritageClause.as(object); + let children = T$.JSArrayOfNameValuePair().of([]); + for (let type of clause.types) { + children[$add](new _debugger.NameValuePair.new({value: type, config: _debugger.JsonMLConfig.asClass})); + } + return children; + } +}; +(_debugger.HeritageClauseFormatter.new = function() { + ; +}).prototype = _debugger.HeritageClauseFormatter.prototype; +dart.addTypeTests(_debugger.HeritageClauseFormatter); +dart.addTypeCaches(_debugger.HeritageClauseFormatter); +_debugger.HeritageClauseFormatter[dart.implements] = () => [_debugger.Formatter]; +dart.setMethodSignature(_debugger.HeritageClauseFormatter, () => ({ + __proto__: dart.getMethods(_debugger.HeritageClauseFormatter.__proto__), + accept: dart.fnType(core.bool, [dart.dynamic, dart.dynamic]), + preview: dart.fnType(core.String, [dart.dynamic]), + hasChildren: dart.fnType(core.bool, [dart.dynamic]), + children: dart.fnType(core.List$(_debugger.NameValuePair), [dart.dynamic]) +})); +dart.setLibraryUri(_debugger.HeritageClauseFormatter, I[12]); +_debugger.IterableSpanFormatter = class IterableSpanFormatter extends core.Object { + accept(object, config) { + return _debugger.IterableSpan.is(object); + } + preview(object) { + return "[" + dart.str(dart.dload(object, 'start')) + "..." + dart.str(dart.dsend(dart.dload(object, 'end'), '-', [1])) + "]"; + } + hasChildren(object) { + return true; + } + children(object) { + return T$.ListOfNameValuePair().as(dart.dsend(object, 'children', [])); + } +}; +(_debugger.IterableSpanFormatter.new = function() { + ; +}).prototype = _debugger.IterableSpanFormatter.prototype; +dart.addTypeTests(_debugger.IterableSpanFormatter); +dart.addTypeCaches(_debugger.IterableSpanFormatter); +_debugger.IterableSpanFormatter[dart.implements] = () => [_debugger.Formatter]; +dart.setMethodSignature(_debugger.IterableSpanFormatter, () => ({ + __proto__: dart.getMethods(_debugger.IterableSpanFormatter.__proto__), + accept: dart.fnType(core.bool, [dart.dynamic, dart.dynamic]), + preview: dart.fnType(core.String, [dart.dynamic]), + hasChildren: dart.fnType(core.bool, [dart.dynamic]), + children: dart.fnType(core.List$(_debugger.NameValuePair), [dart.dynamic]) +})); +dart.setLibraryUri(_debugger.IterableSpanFormatter, I[12]); +_debugger.ErrorAndExceptionFormatter = class ErrorAndExceptionFormatter extends _debugger.ObjectFormatter { + accept(object, config) { + return core.Error.is(object) || core.Exception.is(object); + } + hasChildren(object) { + return true; + } + preview(object) { + let trace = dart.stackTrace(object); + let line = dart.str(trace)[$split]("\n")[$firstWhere](dart.fn(l => { + if (l == null) dart.nullFailed(I[11], 862, 10, "l"); + return l[$contains](_debugger.ErrorAndExceptionFormatter._pattern) && !l[$contains]("dart:sdk") && !l[$contains]("dart_sdk"); + }, T$.StringTobool()), {orElse: dart.fn(() => "", T$.VoidToString())}); + return line !== "" ? dart.str(object) + " at " + dart.str(line) : dart.str(object); + } + children(object) { + let trace = dart.stackTrace(object); + let entries = new (T$._HashSetOfNameValuePair()).new(); + entries.add(new _debugger.NameValuePair.new({name: "stackTrace", value: trace})); + this.addInstanceMembers(object, entries); + _debugger.addMetadataChildren(object, entries); + return entries[$toList](); + } + addInstanceMembers(object, ret) { + if (ret == null) dart.nullFailed(I[11], 880, 54, "ret"); + ret.add(new _debugger.NameValuePair.new({name: "[[instance members]]", value: object, config: _debugger.JsonMLConfig.asObject})); + } +}; +(_debugger.ErrorAndExceptionFormatter.new = function() { + ; +}).prototype = _debugger.ErrorAndExceptionFormatter.prototype; +dart.addTypeTests(_debugger.ErrorAndExceptionFormatter); +dart.addTypeCaches(_debugger.ErrorAndExceptionFormatter); +dart.setMethodSignature(_debugger.ErrorAndExceptionFormatter, () => ({ + __proto__: dart.getMethods(_debugger.ErrorAndExceptionFormatter.__proto__), + children: dart.fnType(core.List$(_debugger.NameValuePair), [dart.dynamic]), + addInstanceMembers: dart.fnType(dart.void, [dart.dynamic, core.Set$(_debugger.NameValuePair)]) +})); +dart.setLibraryUri(_debugger.ErrorAndExceptionFormatter, I[12]); +dart.defineLazy(_debugger.ErrorAndExceptionFormatter, { + /*_debugger.ErrorAndExceptionFormatter._pattern*/get _pattern() { + return core.RegExp.new("\\d+\\:\\d+"); + } +}, false); +_debugger.StackTraceFormatter = class StackTraceFormatter extends core.Object { + accept(object, config) { + return core.StackTrace.is(object); + } + preview(object) { + return "StackTrace"; + } + hasChildren(object) { + return true; + } + children(object) { + return dart.toString(object)[$split]("\n")[$map](_debugger.NameValuePair, dart.fn(line => { + if (line == null) dart.nullFailed(I[11], 901, 13, "line"); + return new _debugger.NameValuePair.new({value: line[$replaceFirst](core.RegExp.new("^\\s+at\\s"), ""), hideName: true}); + }, T$.StringToNameValuePair()))[$toList](); + } +}; +(_debugger.StackTraceFormatter.new = function() { + ; +}).prototype = _debugger.StackTraceFormatter.prototype; +dart.addTypeTests(_debugger.StackTraceFormatter); +dart.addTypeCaches(_debugger.StackTraceFormatter); +_debugger.StackTraceFormatter[dart.implements] = () => [_debugger.Formatter]; +dart.setMethodSignature(_debugger.StackTraceFormatter, () => ({ + __proto__: dart.getMethods(_debugger.StackTraceFormatter.__proto__), + accept: dart.fnType(core.bool, [dart.dynamic, dart.dynamic]), + preview: dart.fnType(core.String, [dart.dynamic]), + hasChildren: dart.fnType(core.bool, [dart.dynamic]), + children: dart.fnType(core.List$(_debugger.NameValuePair), [dart.dynamic]) +})); +dart.setLibraryUri(_debugger.StackTraceFormatter, I[12]); +_debugger.ClassFormatter = class ClassFormatter extends core.Object { + accept(object, config) { + return dart.equals(config, _debugger.JsonMLConfig.asClass); + } + preview(type) { + let $implements = dart.getImplements(type); + let typeName = _debugger.getTypeName(type); + if ($implements != null) { + let typeNames = $implements()[$map](core.String, C[7] || CT.C7); + return dart.str(typeName) + " implements " + dart.str(typeNames[$join](", ")); + } else { + return typeName; + } + } + hasChildren(object) { + return true; + } + children(type) { + let t17, t17$; + let ret = new (T$._HashSetOfNameValuePair()).new(); + let staticProperties = new (T$._HashSetOfNameValuePair()).new(); + let staticMethods = new (T$._HashSetOfNameValuePair()).new(); + _debugger.addPropertiesFromSignature(dart.getStaticFields(type), staticProperties, type, false); + _debugger.addPropertiesFromSignature(dart.getStaticGetters(type), staticProperties, type, false); + _debugger.addPropertiesFromSignature(dart.getStaticMethods(type), staticMethods, type, false); + if (dart.test(staticProperties[$isNotEmpty]) || dart.test(staticMethods[$isNotEmpty])) { + t17 = ret; + (() => { + t17.add(new _debugger.NameValuePair.new({value: "[[Static members]]", hideName: true})); + t17.addAll(_debugger.sortProperties(staticProperties)); + t17.addAll(_debugger.sortProperties(staticMethods)); + return t17; + })(); + } + let instanceMethods = new (T$._HashSetOfNameValuePair()).new(); + _debugger.addPropertiesFromSignature(dart.getMethods(type), instanceMethods, type.prototype, false, {tagTypes: true}); + if (dart.test(instanceMethods[$isNotEmpty])) { + t17$ = ret; + (() => { + t17$.add(new _debugger.NameValuePair.new({value: "[[Instance Methods]]", hideName: true})); + t17$.addAll(_debugger.sortProperties(instanceMethods)); + return t17$; + })(); + } + let mixin = dart.getMixin(type); + if (mixin != null) { + ret.add(new _debugger.NameValuePair.new({name: "[[Mixins]]", value: new _debugger.HeritageClause.new("mixins", [mixin])})); + } + let baseProto = type.__proto__; + if (baseProto != null && !dart.test(dart.isJsInterop(baseProto))) { + ret.add(new _debugger.NameValuePair.new({name: "[[base class]]", value: baseProto, config: _debugger.JsonMLConfig.asClass})); + } + return ret[$toList](); + } +}; +(_debugger.ClassFormatter.new = function() { + ; +}).prototype = _debugger.ClassFormatter.prototype; +dart.addTypeTests(_debugger.ClassFormatter); +dart.addTypeCaches(_debugger.ClassFormatter); +_debugger.ClassFormatter[dart.implements] = () => [_debugger.Formatter]; +dart.setMethodSignature(_debugger.ClassFormatter, () => ({ + __proto__: dart.getMethods(_debugger.ClassFormatter.__proto__), + accept: dart.fnType(core.bool, [dart.dynamic, dart.dynamic]), + preview: dart.fnType(core.String, [dart.dynamic]), + hasChildren: dart.fnType(core.bool, [dart.dynamic]), + children: dart.fnType(core.List$(_debugger.NameValuePair), [dart.dynamic]) +})); +dart.setLibraryUri(_debugger.ClassFormatter, I[12]); +_debugger.TypeFormatter = class TypeFormatter extends core.Object { + accept(object, config) { + return core.Type.is(object); + } + preview(object) { + return dart.toString(object); + } + hasChildren(object) { + return false; + } + children(object) { + return T$.JSArrayOfNameValuePair().of([]); + } +}; +(_debugger.TypeFormatter.new = function() { + ; +}).prototype = _debugger.TypeFormatter.prototype; +dart.addTypeTests(_debugger.TypeFormatter); +dart.addTypeCaches(_debugger.TypeFormatter); +_debugger.TypeFormatter[dart.implements] = () => [_debugger.Formatter]; +dart.setMethodSignature(_debugger.TypeFormatter, () => ({ + __proto__: dart.getMethods(_debugger.TypeFormatter.__proto__), + accept: dart.fnType(core.bool, [dart.dynamic, dart.dynamic]), + preview: dart.fnType(core.String, [dart.dynamic]), + hasChildren: dart.fnType(core.bool, [dart.dynamic]), + children: dart.fnType(core.List$(_debugger.NameValuePair), [dart.dynamic]) +})); +dart.setLibraryUri(_debugger.TypeFormatter, I[12]); +_debugger._MethodStats = class _MethodStats extends core.Object {}; +(_debugger._MethodStats.new = function(typeName, frame) { + if (typeName == null) dart.nullFailed(I[13], 13, 21, "typeName"); + if (frame == null) dart.nullFailed(I[13], 13, 36, "frame"); + this.count = 0.0; + this.typeName = typeName; + this.frame = frame; + ; +}).prototype = _debugger._MethodStats.prototype; +dart.addTypeTests(_debugger._MethodStats); +dart.addTypeCaches(_debugger._MethodStats); +dart.setLibraryUri(_debugger._MethodStats, I[12]); +dart.setFieldSignature(_debugger._MethodStats, () => ({ + __proto__: dart.getFields(_debugger._MethodStats.__proto__), + typeName: dart.finalFieldType(core.String), + frame: dart.finalFieldType(core.String), + count: dart.fieldType(core.double) +})); +_debugger._CallMethodRecord = class _CallMethodRecord extends core.Object {}; +(_debugger._CallMethodRecord.new = function(jsError, type) { + this.jsError = jsError; + this.type = type; + ; +}).prototype = _debugger._CallMethodRecord.prototype; +dart.addTypeTests(_debugger._CallMethodRecord); +dart.addTypeCaches(_debugger._CallMethodRecord); +dart.setLibraryUri(_debugger._CallMethodRecord, I[12]); +dart.setFieldSignature(_debugger._CallMethodRecord, () => ({ + __proto__: dart.getFields(_debugger._CallMethodRecord.__proto__), + jsError: dart.fieldType(dart.dynamic), + type: dart.fieldType(dart.dynamic) +})); +_debugger._typeof = function _typeof(object) { + return typeof object; +}; +_debugger.getOwnPropertyNames = function getOwnPropertyNames(object) { + return T$.JSArrayOfString().of(dart.getOwnPropertyNames(object)); +}; +_debugger.getOwnPropertySymbols = function getOwnPropertySymbols(object) { + return Object.getOwnPropertySymbols(object); +}; +_debugger.addMetadataChildren = function addMetadataChildren(object, ret) { + if (ret == null) dart.nullFailed(I[11], 63, 53, "ret"); + ret.add(new _debugger.NameValuePair.new({name: "[[class]]", value: dart.getReifiedType(object), config: _debugger.JsonMLConfig.asClass})); +}; +_debugger.addPropertiesFromSignature = function addPropertiesFromSignature(sig, properties, object, walkPrototypeChain, opts) { + let t17; + if (properties == null) dart.nullFailed(I[11], 75, 29, "properties"); + if (walkPrototypeChain == null) dart.nullFailed(I[11], 75, 54, "walkPrototypeChain"); + let tagTypes = opts && 'tagTypes' in opts ? opts.tagTypes : false; + let skippedNames = (t17 = new collection._HashSet.new(), (() => { + t17.add("hashCode"); + return t17; + })()); + let objectPrototype = Object.prototype; + while (sig != null && !core.identical(sig, objectPrototype)) { + for (let symbol of _debugger.getOwnPropertySymbols(sig)) { + let dartName = _debugger.symbolName(symbol); + let dartXPrefix = "dartx."; + if (dartName[$startsWith](dartXPrefix)) { + dartName = dartName[$substring](dartXPrefix.length); + } + if (dart.test(skippedNames.contains(dartName))) continue; + let value = _debugger.safeGetProperty(core.Object.as(object), core.Object.as(symbol)); + if (dart.dtest(tagTypes) && _debugger._typeof(value) === "function") { + dart.fn(value, sig[symbol]); + } + properties.add(new _debugger.NameValuePair.new({name: dartName, value: value})); + } + for (let name of _debugger.getOwnPropertyNames(sig)) { + let value = _debugger.safeGetProperty(core.Object.as(object), name); + if (dart.test(skippedNames.contains(name))) continue; + if (dart.dtest(tagTypes) && _debugger._typeof(value) === "function") { + dart.fn(value, sig[name]); + } + properties.add(new _debugger.NameValuePair.new({name: name, value: value})); + } + if (!dart.test(walkPrototypeChain)) break; + sig = dart.getPrototypeOf(sig); + } +}; +_debugger.sortProperties = function sortProperties(properties) { + if (properties == null) dart.nullFailed(I[11], 115, 60, "properties"); + let sortedProperties = properties[$toList](); + sortedProperties[$sort](dart.fn((a, b) => { + if (a == null) dart.nullFailed(I[11], 118, 26, "a"); + if (b == null) dart.nullFailed(I[11], 118, 29, "b"); + let aPrivate = a.name[$startsWith]("_"); + let bPrivate = b.name[$startsWith]("_"); + if (aPrivate !== bPrivate) return aPrivate ? 1 : -1; + return a.name[$compareTo](b.name); + }, T$.NameValuePairAndNameValuePairToint())); + return sortedProperties; +}; +_debugger.getObjectTypeName = function getObjectTypeName(object) { + let reifiedType = dart.getReifiedType(object); + if (reifiedType == null) { + if (_debugger._typeof(object) === "function") { + return "[[Raw JavaScript Function]]"; + } + return ""; + } + return _debugger.getTypeName(reifiedType); +}; +_debugger.getTypeName = function getTypeName(type) { + return dart.typeName(type); +}; +_debugger.safePreview = function safePreview(object, config) { + try { + let preview = _debugger._devtoolsFormatter[_simpleFormatter$].preview(object, config); + if (preview != null) return preview; + return dart.toString(object); + } catch (e$) { + let e = dart.getThrown(e$); + if (core.Object.is(e)) { + return " " + dart.str(e); + } else + throw e$; + } +}; +_debugger.symbolName = function symbolName(symbol) { + let name = dart.toString(symbol); + if (!name[$startsWith]("Symbol(")) dart.assertFailed(null, I[11], 157, 10, "name.startsWith('Symbol(')"); + return name[$substring]("Symbol(".length, name.length - 1); +}; +_debugger.hasMethod = function hasMethod$(object, name) { + if (name == null) dart.nullFailed(I[11], 161, 31, "name"); + try { + return dart.hasMethod(object, name); + } catch (e$) { + let e = dart.getThrown(e$); + if (core.Object.is(e)) { + return false; + } else + throw e$; + } +}; +_debugger.safeGetProperty = function safeGetProperty(protoChain, name) { + if (protoChain == null) dart.nullFailed(I[11], 267, 32, "protoChain"); + if (name == null) dart.nullFailed(I[11], 267, 51, "name"); + try { + return _debugger.JSNative.getProperty(protoChain, name); + } catch (e$) { + let e = dart.getThrown(e$); + if (core.Object.is(e)) { + return " " + dart.str(e); + } else + throw e$; + } +}; +_debugger.safeProperties = function safeProperties(object) { + return T$.LinkedHashMapOfdynamic$ObjectN().fromIterable(_debugger.getOwnPropertyNames(object)[$where](dart.fn(each => { + if (each == null) dart.nullFailed(I[11], 277, 17, "each"); + return _debugger.safeGetProperty(core.Object.as(object), each) != null; + }, T$.StringTobool())), {key: dart.fn(name => name, T$.dynamicTodynamic()), value: dart.fn(name => _debugger.safeGetProperty(core.Object.as(object), core.Object.as(name)), T$.dynamicToObjectN())}); +}; +_debugger.isNativeJavaScriptObject = function isNativeJavaScriptObject(object) { + let type = _debugger._typeof(object); + if (type !== "object" && type !== "function") return true; + if (dart.test(dart.isJsInterop(object)) && dart.getModuleName(core.Object.as(object)) == null) { + return true; + } + return object instanceof Node; +}; +_debugger.registerDevtoolsFormatter = function registerDevtoolsFormatter() { + dart.global.devtoolsFormatters = [_debugger._devtoolsFormatter]; +}; +_debugger.getModuleNames = function getModuleNames$() { + return dart.getModuleNames(); +}; +_debugger.getModuleLibraries = function getModuleLibraries$(name) { + if (name == null) dart.nullFailed(I[11], 1015, 27, "name"); + return dart.getModuleLibraries(name); +}; +_debugger.getDynamicStats = function getDynamicStats() { + let t20; + let callMethodStats = new (T$.IdentityMapOfString$_MethodStats()).new(); + if (dart.notNull(_debugger._callMethodRecords[$length]) > 0) { + let recordRatio = dart.notNull(_debugger._totalCallRecords) / dart.notNull(_debugger._callMethodRecords[$length]); + for (let record of _debugger._callMethodRecords) { + let stackStr = record.jsError.stack; + let frames = stackStr[$split]("\n"); + let src = frames[$skip](2)[$map](core.String, dart.fn(f => { + if (f == null) dart.nullFailed(I[13], 66, 17, "f"); + return _debugger._frameMappingCache[$putIfAbsent](f, dart.fn(() => dart.nullCheck(_debugger.stackTraceMapper)("\n" + dart.str(f)), T$.VoidToString())); + }, T$.StringToString()))[$firstWhere](dart.fn(f => { + if (f == null) dart.nullFailed(I[13], 68, 24, "f"); + return !f[$startsWith]("dart:"); + }, T$.StringTobool()), {orElse: dart.fn(() => "", T$.VoidToString())}); + let actualTypeName = dart.typeName(record.type); + t20 = callMethodStats[$putIfAbsent](actualTypeName + " <" + dart.str(src) + ">", dart.fn(() => new _debugger._MethodStats.new(actualTypeName, src), T$.VoidTo_MethodStats())); + t20.count = dart.notNull(t20.count) + recordRatio; + } + if (_debugger._totalCallRecords != _debugger._callMethodRecords[$length]) { + for (let k of callMethodStats[$keys][$toList]()) { + let stats = dart.nullCheck(callMethodStats[$_get](k)); + let threshold = dart.notNull(_debugger._minCount) * recordRatio; + if (dart.notNull(stats.count) + 0.001 < threshold) { + callMethodStats[$remove](k); + } + } + } + } + _debugger._callMethodRecords[$clear](); + _debugger._totalCallRecords = 0; + let keys = callMethodStats[$keys][$toList](); + keys[$sort](dart.fn((a, b) => { + if (a == null) dart.nullFailed(I[13], 94, 8, "a"); + if (b == null) dart.nullFailed(I[13], 94, 11, "b"); + return dart.nullCheck(callMethodStats[$_get](b)).count[$compareTo](dart.nullCheck(callMethodStats[$_get](a)).count); + }, T$.StringAndStringToint())); + let ret = T$.JSArrayOfListOfObject().of([]); + for (let key of keys) { + let stats = dart.nullCheck(callMethodStats[$_get](key)); + ret[$add](T$.JSArrayOfObject().of([stats.typeName, stats.frame, stats.count[$round]()])); + } + return ret; +}; +_debugger.clearDynamicStats = function clearDynamicStats() { + _debugger._callMethodRecords[$clear](); +}; +_debugger.trackCall = function trackCall(obj) { + if (!_debugger._trackProfile) return; + let index = -1; + _debugger._totalCallRecords = dart.notNull(_debugger._totalCallRecords) + 1; + if (_debugger._callMethodRecords[$length] == _debugger._callRecordSampleSize) { + index = Math.floor(Math.random() * _debugger._totalCallRecords); + if (index >= dart.notNull(_debugger._callMethodRecords[$length])) return; + } + let record = new _debugger._CallMethodRecord.new(new Error(), dart.getReifiedType(obj)); + if (index === -1) { + _debugger._callMethodRecords[$add](record); + } else { + _debugger._callMethodRecords[$_set](index, record); + } +}; +dart.copyProperties(_debugger, { + get stackTraceMapper() { + let _util = dart.global.$dartStackTraceUtility; + return _util != null ? _util.mapper : null; + }, + get _trackProfile() { + return dart.__trackProfile; + } +}); +dart.defineLazy(_debugger, { + /*_debugger._maxSpanLength*/get _maxSpanLength() { + return 100; + }, + set _maxSpanLength(_) {}, + /*_debugger._devtoolsFormatter*/get _devtoolsFormatter() { + return new _debugger.JsonMLFormatter.new(new _debugger.DartFormatter.new()); + }, + set _devtoolsFormatter(_) {}, + /*_debugger.maxFormatterStringLength*/get maxFormatterStringLength() { + return 100; + }, + set maxFormatterStringLength(_) {}, + /*_debugger._callRecordSampleSize*/get _callRecordSampleSize() { + return 5000; + }, + set _callRecordSampleSize(_) {}, + /*_debugger._callMethodRecords*/get _callMethodRecords() { + return T$.JSArrayOf_CallMethodRecord().of([]); + }, + set _callMethodRecords(_) {}, + /*_debugger._totalCallRecords*/get _totalCallRecords() { + return 0; + }, + set _totalCallRecords(_) {}, + /*_debugger._minCount*/get _minCount() { + return 2; + }, + set _minCount(_) {}, + /*_debugger._frameMappingCache*/get _frameMappingCache() { + return new (T$.IdentityMapOfString$String()).new(); + }, + set _frameMappingCache(_) {} +}, false); +var name$4 = dart.privateName(_foreign_helper, "JSExportName.name"); +_foreign_helper.JSExportName = class JSExportName extends core.Object { + get name() { + return this[name$4]; + } + set name(value) { + super.name = value; + } +}; +(_foreign_helper.JSExportName.new = function(name) { + if (name == null) dart.nullFailed(I[14], 139, 27, "name"); + this[name$4] = name; + ; +}).prototype = _foreign_helper.JSExportName.prototype; +dart.addTypeTests(_foreign_helper.JSExportName); +dart.addTypeCaches(_foreign_helper.JSExportName); +dart.setLibraryUri(_foreign_helper.JSExportName, I[15]); +dart.setFieldSignature(_foreign_helper.JSExportName, () => ({ + __proto__: dart.getFields(_foreign_helper.JSExportName.__proto__), + name: dart.finalFieldType(core.String) +})); +var code$ = dart.privateName(_foreign_helper, "JS_CONST.code"); +_foreign_helper.JS_CONST = class JS_CONST extends core.Object { + get code() { + return this[code$]; + } + set code(value) { + super.code = value; + } +}; +(_foreign_helper.JS_CONST.new = function(code) { + if (code == null) dart.nullFailed(I[14], 259, 23, "code"); + this[code$] = code; + ; +}).prototype = _foreign_helper.JS_CONST.prototype; +dart.addTypeTests(_foreign_helper.JS_CONST); +dart.addTypeCaches(_foreign_helper.JS_CONST); +dart.setLibraryUri(_foreign_helper.JS_CONST, I[15]); +dart.setFieldSignature(_foreign_helper.JS_CONST, () => ({ + __proto__: dart.getFields(_foreign_helper.JS_CONST.__proto__), + code: dart.finalFieldType(core.String) +})); +_foreign_helper._Rest = class _Rest extends core.Object {}; +(_foreign_helper._Rest.new = function() { + ; +}).prototype = _foreign_helper._Rest.prototype; +dart.addTypeTests(_foreign_helper._Rest); +dart.addTypeCaches(_foreign_helper._Rest); +dart.setLibraryUri(_foreign_helper._Rest, I[15]); +_foreign_helper.JS_DART_OBJECT_CONSTRUCTOR = function JS_DART_OBJECT_CONSTRUCTOR() { +}; +_foreign_helper.JS_INTERCEPTOR_CONSTANT = function JS_INTERCEPTOR_CONSTANT(type) { + if (type == null) dart.nullFailed(I[14], 157, 30, "type"); +}; +_foreign_helper.JS_EFFECT = function JS_EFFECT(code) { + if (code == null) dart.nullFailed(I[14], 244, 25, "code"); + dart.dcall(code, [null]); +}; +_foreign_helper.spread = function spread(args) { + dart.throw(new core.StateError.new("The spread function cannot be called, " + "it should be compiled away.")); +}; +dart.defineLazy(_foreign_helper, { + /*_foreign_helper.rest*/get rest() { + return C[8] || CT.C8; + } +}, false); +_interceptors.Interceptor = class Interceptor extends core.Object { + toString() { + return this.toString(); + } +}; +(_interceptors.Interceptor.new = function() { + ; +}).prototype = _interceptors.Interceptor.prototype; +dart.addTypeTests(_interceptors.Interceptor); +dart.addTypeCaches(_interceptors.Interceptor); +dart.setLibraryUri(_interceptors.Interceptor, I[16]); +dart.defineExtensionMethods(_interceptors.Interceptor, ['toString']); +_interceptors.JSBool = class JSBool extends _interceptors.Interceptor { + [$toString]() { + return String(this); + } + get [$hashCode]() { + return this ? 2 * 3 * 23 * 3761 : 269 * 811; + } + [$bitAnd](other) { + if (other == null) dart.argumentError(other); + return other && this; + } + [$bitOr](other) { + if (other == null) dart.argumentError(other); + return other || this; + } + [$bitXor](other) { + if (other == null) dart.argumentError(other); + return this !== other; + } + get [$runtimeType]() { + return dart.wrapType(core.bool); + } +}; +(_interceptors.JSBool.new = function() { + _interceptors.JSBool.__proto__.new.call(this); + ; +}).prototype = _interceptors.JSBool.prototype; +dart.addTypeTests(_interceptors.JSBool); +dart.addTypeCaches(_interceptors.JSBool); +_interceptors.JSBool[dart.implements] = () => [core.bool]; +dart.setMethodSignature(_interceptors.JSBool, () => ({ + __proto__: dart.getMethods(_interceptors.JSBool.__proto__), + [$bitAnd]: dart.fnType(core.bool, [core.bool]), + [$bitOr]: dart.fnType(core.bool, [core.bool]), + [$bitXor]: dart.fnType(core.bool, [core.bool]) +})); +dart.setLibraryUri(_interceptors.JSBool, I[16]); +dart.definePrimitiveHashCode(_interceptors.JSBool.prototype); +dart.registerExtension("Boolean", _interceptors.JSBool); +const _is_JSIndexable_default = Symbol('_is_JSIndexable_default'); +_interceptors.JSIndexable$ = dart.generic(E => { + class JSIndexable extends core.Object {} + (JSIndexable.new = function() { + ; + }).prototype = JSIndexable.prototype; + dart.addTypeTests(JSIndexable); + JSIndexable.prototype[_is_JSIndexable_default] = true; + dart.addTypeCaches(JSIndexable); + dart.setLibraryUri(JSIndexable, I[16]); + return JSIndexable; +}); +_interceptors.JSIndexable = _interceptors.JSIndexable$(); +dart.addTypeTests(_interceptors.JSIndexable, _is_JSIndexable_default); +const _is_JSMutableIndexable_default = Symbol('_is_JSMutableIndexable_default'); +_interceptors.JSMutableIndexable$ = dart.generic(E => { + class JSMutableIndexable extends _interceptors.JSIndexable$(E) {} + (JSMutableIndexable.new = function() { + ; + }).prototype = JSMutableIndexable.prototype; + dart.addTypeTests(JSMutableIndexable); + JSMutableIndexable.prototype[_is_JSMutableIndexable_default] = true; + dart.addTypeCaches(JSMutableIndexable); + dart.setLibraryUri(JSMutableIndexable, I[16]); + return JSMutableIndexable; +}); +_interceptors.JSMutableIndexable = _interceptors.JSMutableIndexable$(); +dart.addTypeTests(_interceptors.JSMutableIndexable, _is_JSMutableIndexable_default); +_interceptors.JSObject = class JSObject extends core.Object {}; +(_interceptors.JSObject.new = function() { + ; +}).prototype = _interceptors.JSObject.prototype; +dart.addTypeTests(_interceptors.JSObject); +dart.addTypeCaches(_interceptors.JSObject); +dart.setLibraryUri(_interceptors.JSObject, I[16]); +_interceptors.JavaScriptObject = class JavaScriptObject extends _interceptors.Interceptor { + get hashCode() { + return 0; + } + get runtimeType() { + return dart.wrapType(_interceptors.JSObject); + } +}; +(_interceptors.JavaScriptObject.new = function() { + _interceptors.JavaScriptObject.__proto__.new.call(this); + ; +}).prototype = _interceptors.JavaScriptObject.prototype; +dart.addTypeTests(_interceptors.JavaScriptObject); +dart.addTypeCaches(_interceptors.JavaScriptObject); +_interceptors.JavaScriptObject[dart.implements] = () => [_interceptors.JSObject]; +dart.setLibraryUri(_interceptors.JavaScriptObject, I[16]); +dart.defineExtensionAccessors(_interceptors.JavaScriptObject, ['hashCode', 'runtimeType']); +_interceptors.PlainJavaScriptObject = class PlainJavaScriptObject extends _interceptors.JavaScriptObject {}; +(_interceptors.PlainJavaScriptObject.new = function() { + _interceptors.PlainJavaScriptObject.__proto__.new.call(this); + ; +}).prototype = _interceptors.PlainJavaScriptObject.prototype; +dart.addTypeTests(_interceptors.PlainJavaScriptObject); +dart.addTypeCaches(_interceptors.PlainJavaScriptObject); +dart.setLibraryUri(_interceptors.PlainJavaScriptObject, I[16]); +_interceptors.UnknownJavaScriptObject = class UnknownJavaScriptObject extends _interceptors.JavaScriptObject { + toString() { + return String(this); + } +}; +(_interceptors.UnknownJavaScriptObject.new = function() { + _interceptors.UnknownJavaScriptObject.__proto__.new.call(this); + ; +}).prototype = _interceptors.UnknownJavaScriptObject.prototype; +dart.addTypeTests(_interceptors.UnknownJavaScriptObject); +dart.addTypeCaches(_interceptors.UnknownJavaScriptObject); +dart.setLibraryUri(_interceptors.UnknownJavaScriptObject, I[16]); +dart.defineExtensionMethods(_interceptors.UnknownJavaScriptObject, ['toString']); +_interceptors.NativeError = class NativeError extends _interceptors.Interceptor { + dartStack() { + return this.stack; + } +}; +(_interceptors.NativeError.new = function() { + _interceptors.NativeError.__proto__.new.call(this); + ; +}).prototype = _interceptors.NativeError.prototype; +dart.addTypeTests(_interceptors.NativeError); +dart.addTypeCaches(_interceptors.NativeError); +dart.setMethodSignature(_interceptors.NativeError, () => ({ + __proto__: dart.getMethods(_interceptors.NativeError.__proto__), + dartStack: dart.fnType(core.String, []), + [$dartStack]: dart.fnType(core.String, []) +})); +dart.setLibraryUri(_interceptors.NativeError, I[16]); +dart.defineExtensionMethods(_interceptors.NativeError, ['dartStack']); +var _fieldName = dart.privateName(_interceptors, "_fieldName"); +var _functionCallTarget = dart.privateName(_interceptors, "_functionCallTarget"); +var _receiver = dart.privateName(_interceptors, "_receiver"); +var _receiver$ = dart.privateName(core, "_receiver"); +var _arguments = dart.privateName(_interceptors, "_arguments"); +var _arguments$ = dart.privateName(core, "_arguments"); +var _memberName = dart.privateName(_interceptors, "_memberName"); +var _memberName$ = dart.privateName(core, "_memberName"); +var _invocation = dart.privateName(_interceptors, "_invocation"); +var _invocation$ = dart.privateName(core, "_invocation"); +var _namedArguments = dart.privateName(_interceptors, "_namedArguments"); +var _namedArguments$ = dart.privateName(core, "_namedArguments"); +_interceptors.JSNoSuchMethodError = class JSNoSuchMethodError extends _interceptors.NativeError { + [_fieldName](message) { + let t20; + if (message == null) dart.nullFailed(I[17], 131, 29, "message"); + let match = _interceptors.JSNoSuchMethodError._nullError.firstMatch(message); + if (match == null) return null; + let name = dart.nullCheck(match._get(1)); + match = (t20 = _interceptors.JSNoSuchMethodError._extensionName.firstMatch(name), t20 == null ? _interceptors.JSNoSuchMethodError._privateName.firstMatch(name) : t20); + return match != null ? match._get(1) : name; + } + [_functionCallTarget](message) { + if (message == null) dart.nullFailed(I[17], 139, 38, "message"); + let match = _interceptors.JSNoSuchMethodError._notAFunction.firstMatch(message); + return match != null ? match._get(1) : null; + } + [$dartStack]() { + let stack = super[$dartStack](); + stack = dart.notNull(this[$toString]()) + "\n" + dart.notNull(stack[$split]("\n")[$sublist](1)[$join]("\n")); + return stack; + } + get [$stackTrace]() { + return dart.stackTrace(this); + } + [$toString]() { + let message = this.message; + let callTarget = this[_functionCallTarget](message); + if (callTarget != null) { + return "NoSuchMethodError: tried to call a non-function, such as null: " + "'" + dart.str(callTarget) + "'"; + } + let name = this[_fieldName](message); + if (name == null) { + return this.toString(); + } + return "NoSuchMethodError: invalid member on null: '" + dart.str(name) + "'"; + } + get [_receiver$]() { + return this[$noSuchMethod](new core._Invocation.getter(C[9] || CT.C9)); + } + get [_arguments$]() { + return T$.ListN().as(this[$noSuchMethod](new core._Invocation.getter(C[10] || CT.C10))); + } + get [_memberName$]() { + return core.Symbol.as(this[$noSuchMethod](new core._Invocation.getter(C[11] || CT.C11))); + } + get [_invocation$]() { + return T$.InvocationN().as(this[$noSuchMethod](new core._Invocation.getter(C[12] || CT.C12))); + } + get [_namedArguments$]() { + return T$.MapNOfSymbol$dynamic().as(this[$noSuchMethod](new core._Invocation.getter(C[13] || CT.C13))); + } +}; +(_interceptors.JSNoSuchMethodError.new = function() { + _interceptors.JSNoSuchMethodError.__proto__.new.call(this); + ; +}).prototype = _interceptors.JSNoSuchMethodError.prototype; +dart.addTypeTests(_interceptors.JSNoSuchMethodError); +dart.addTypeCaches(_interceptors.JSNoSuchMethodError); +_interceptors.JSNoSuchMethodError[dart.implements] = () => [core.NoSuchMethodError]; +dart.setMethodSignature(_interceptors.JSNoSuchMethodError, () => ({ + __proto__: dart.getMethods(_interceptors.JSNoSuchMethodError.__proto__), + [_fieldName]: dart.fnType(dart.nullable(core.String), [core.String]), + [_functionCallTarget]: dart.fnType(dart.nullable(core.String), [core.String]) +})); +dart.setGetterSignature(_interceptors.JSNoSuchMethodError, () => ({ + __proto__: dart.getGetters(_interceptors.JSNoSuchMethodError.__proto__), + [$stackTrace]: core.StackTrace, + [_receiver$]: dart.nullable(core.Object), + [_arguments$]: dart.nullable(core.List), + [_memberName$]: core.Symbol, + [_invocation$]: dart.nullable(core.Invocation), + [_namedArguments$]: dart.nullable(core.Map$(core.Symbol, dart.dynamic)) +})); +dart.setLibraryUri(_interceptors.JSNoSuchMethodError, I[16]); +dart.defineLazy(_interceptors.JSNoSuchMethodError, { + /*_interceptors.JSNoSuchMethodError._nullError*/get _nullError() { + return core.RegExp.new("^Cannot read property '(.+)' of null$"); + }, + /*_interceptors.JSNoSuchMethodError._notAFunction*/get _notAFunction() { + return core.RegExp.new("^(.+) is not a function$"); + }, + /*_interceptors.JSNoSuchMethodError._extensionName*/get _extensionName() { + return core.RegExp.new("^Symbol\\(dartx\\.(.+)\\)$"); + }, + /*_interceptors.JSNoSuchMethodError._privateName*/get _privateName() { + return core.RegExp.new("^Symbol\\((_.+)\\)$"); + } +}, false); +dart.registerExtension("TypeError", _interceptors.JSNoSuchMethodError); +_interceptors.JSFunction = class JSFunction extends _interceptors.Interceptor { + [$toString]() { + if (dart.isType(this)) return dart.typeName(this); + return "Closure: " + dart.typeName(dart.getReifiedType(this)) + " from: " + this; + } + [$_equals](other) { + if (other == null) return false; + if (other == null) return false; + let boundObj = this._boundObject; + if (boundObj == null) return this === other; + return boundObj === other._boundObject && this._boundMethod === other._boundMethod; + } + get [$hashCode]() { + let boundObj = this._boundObject; + if (boundObj == null) return core.identityHashCode(this); + let boundMethod = this._boundMethod; + let hash = 17 * 31 + dart.notNull(dart.hashCode(boundObj)) & 536870911; + return hash * 31 + dart.notNull(core.identityHashCode(boundMethod)) & 536870911; + } + get [$runtimeType]() { + return dart.wrapType(dart.getReifiedType(this)); + } +}; +(_interceptors.JSFunction.new = function() { + _interceptors.JSFunction.__proto__.new.call(this); + ; +}).prototype = _interceptors.JSFunction.prototype; +dart.addTypeTests(_interceptors.JSFunction); +dart.addTypeCaches(_interceptors.JSFunction); +dart.setLibraryUri(_interceptors.JSFunction, I[16]); +dart.registerExtension("Function", _interceptors.JSFunction); +_interceptors.JSNull = class JSNull extends core.Object { + toString() { + return "null"; + } + noSuchMethod(i) { + if (i == null) dart.nullFailed(I[17], 215, 27, "i"); + return dart.defaultNoSuchMethod(null, i); + } +}; +(_interceptors.JSNull.new = function() { + ; +}).prototype = _interceptors.JSNull.prototype; +dart.addTypeTests(_interceptors.JSNull); +dart.addTypeCaches(_interceptors.JSNull); +dart.setLibraryUri(_interceptors.JSNull, I[16]); +dart.defineExtensionMethods(_interceptors.JSNull, ['toString', 'noSuchMethod']); +var _hasValue = dart.privateName(_interceptors, "_hasValue"); +var _hasValue$ = dart.privateName(core, "_hasValue"); +var _errorExplanation = dart.privateName(_interceptors, "_errorExplanation"); +var _errorExplanation$ = dart.privateName(core, "_errorExplanation"); +var _errorName = dart.privateName(_interceptors, "_errorName"); +var _errorName$ = dart.privateName(core, "_errorName"); +_interceptors.JSRangeError = class JSRangeError extends _interceptors.Interceptor { + get [$stackTrace]() { + return dart.stackTrace(this); + } + get [$invalidValue]() { + return null; + } + get [$name]() { + return null; + } + get [$message]() { + return this.message; + } + [$toString]() { + return "Invalid argument: " + dart.str(this[$message]); + } + get [_hasValue$]() { + return core.bool.as(this[$noSuchMethod](new core._Invocation.getter(C[14] || CT.C14))); + } + get [_errorExplanation$]() { + return core.String.as(this[$noSuchMethod](new core._Invocation.getter(C[15] || CT.C15))); + } + get [_errorName$]() { + return core.String.as(this[$noSuchMethod](new core._Invocation.getter(C[16] || CT.C16))); + } +}; +(_interceptors.JSRangeError.new = function() { + _interceptors.JSRangeError.__proto__.new.call(this); + ; +}).prototype = _interceptors.JSRangeError.prototype; +dart.addTypeTests(_interceptors.JSRangeError); +dart.addTypeCaches(_interceptors.JSRangeError); +_interceptors.JSRangeError[dart.implements] = () => [core.ArgumentError]; +dart.setGetterSignature(_interceptors.JSRangeError, () => ({ + __proto__: dart.getGetters(_interceptors.JSRangeError.__proto__), + [$stackTrace]: core.StackTrace, + [$invalidValue]: dart.dynamic, + [$name]: dart.nullable(core.String), + [$message]: dart.dynamic, + [_hasValue$]: core.bool, + [_errorExplanation$]: core.String, + [_errorName$]: core.String +})); +dart.setLibraryUri(_interceptors.JSRangeError, I[16]); +dart.registerExtension("RangeError", _interceptors.JSRangeError); +var _setLengthUnsafe = dart.privateName(_interceptors, "_setLengthUnsafe"); +var _removeWhere = dart.privateName(_interceptors, "_removeWhere"); +const _is_JSArray_default = Symbol('_is_JSArray_default'); +_interceptors.JSArray$ = dart.generic(E => { + var IterableOfE = () => (IterableOfE = dart.constFn(core.Iterable$(E)))(); + var WhereIterableOfE = () => (WhereIterableOfE = dart.constFn(_internal.WhereIterable$(E)))(); + var SubListIterableOfE = () => (SubListIterableOfE = dart.constFn(_internal.SubListIterable$(E)))(); + var TakeWhileIterableOfE = () => (TakeWhileIterableOfE = dart.constFn(_internal.TakeWhileIterable$(E)))(); + var SkipWhileIterableOfE = () => (SkipWhileIterableOfE = dart.constFn(_internal.SkipWhileIterable$(E)))(); + var EAndEToE = () => (EAndEToE = dart.constFn(dart.fnType(E, [E, E])))(); + var VoidToE = () => (VoidToE = dart.constFn(dart.fnType(E, [])))(); + var VoidToNE = () => (VoidToNE = dart.constFn(dart.nullable(VoidToE())))(); + var JSArrayOfE = () => (JSArrayOfE = dart.constFn(_interceptors.JSArray$(E)))(); + var ListOfE = () => (ListOfE = dart.constFn(core.List$(E)))(); + var EN = () => (EN = dart.constFn(dart.nullable(E)))(); + var ReversedListIterableOfE = () => (ReversedListIterableOfE = dart.constFn(_internal.ReversedListIterable$(E)))(); + var LinkedHashSetOfE = () => (LinkedHashSetOfE = dart.constFn(collection.LinkedHashSet$(E)))(); + var ArrayIteratorOfE = () => (ArrayIteratorOfE = dart.constFn(_interceptors.ArrayIterator$(E)))(); + var ListMapViewOfE = () => (ListMapViewOfE = dart.constFn(_internal.ListMapView$(E)))(); + var FollowedByIterableOfE = () => (FollowedByIterableOfE = dart.constFn(_internal.FollowedByIterable$(E)))(); + class JSArray extends core.Object { + constructor() { + return []; + } + static of(list) { + list.__proto__ = JSArray.prototype; + return list; + } + static fixed(list) { + list.__proto__ = JSArray.prototype; + list.fixed$length = Array; + return list; + } + static unmodifiable(list) { + list.__proto__ = JSArray.prototype; + list.fixed$length = Array; + list.immutable$list = Array; + return list; + } + static markFixedList(list) { + list.fixed$length = Array; + } + static markUnmodifiableList(list) { + list.fixed$length = Array; + list.immutable$list = Array; + } + [$checkMutable](reason) { + if (this.immutable$list) { + dart.throw(new core.UnsupportedError.new(core.String.as(reason))); + } + } + [$checkGrowable](reason) { + if (this.fixed$length) { + dart.throw(new core.UnsupportedError.new(core.String.as(reason))); + } + } + [$cast](R) { + return core.List.castFrom(E, R, this); + } + [$add](value) { + E.as(value); + this[$checkGrowable]("add"); + this.push(value); + } + [$removeAt](index) { + if (index == null) dart.argumentError(index); + this[$checkGrowable]("removeAt"); + if (index < 0 || index >= this[$length]) { + dart.throw(new core.RangeError.value(index)); + } + return this.splice(index, 1)[0]; + } + [$insert](index, value) { + if (index == null) dart.argumentError(index); + E.as(value); + this[$checkGrowable]("insert"); + if (index < 0 || index > this[$length]) { + dart.throw(new core.RangeError.value(index)); + } + this.splice(index, 0, value); + } + [$insertAll](index, iterable) { + if (index == null) dart.argumentError(index); + IterableOfE().as(iterable); + if (iterable == null) dart.nullFailed(I[18], 93, 52, "iterable"); + this[$checkGrowable]("insertAll"); + core.RangeError.checkValueInInterval(index, 0, this[$length], "index"); + if (!_internal.EfficientLengthIterable.is(iterable)) { + iterable = iterable[$toList](); + } + let insertionLength = dart.notNull(iterable[$length]); + this[_setLengthUnsafe](this[$length] + insertionLength); + let end = index + insertionLength; + this[$setRange](end, this[$length], this, index); + this[$setRange](index, end, iterable); + } + [$setAll](index, iterable) { + let t20; + if (index == null) dart.argumentError(index); + IterableOfE().as(iterable); + if (iterable == null) dart.nullFailed(I[18], 107, 49, "iterable"); + this[$checkMutable]("setAll"); + core.RangeError.checkValueInInterval(index, 0, this[$length], "index"); + for (let element of iterable) { + this[$_set]((t20 = index, index = t20 + 1, t20), element); + } + } + [$removeLast]() { + this[$checkGrowable]("removeLast"); + if (this[$length] === 0) dart.throw(_js_helper.diagnoseIndexError(this, -1)); + return this.pop(); + } + [$remove](element) { + this[$checkGrowable]("remove"); + let length = this[$length]; + for (let i = 0; i < length; i = i + 1) { + if (dart.equals(this[$_get](i), element)) { + this.splice(i, 1); + return true; + } + } + return false; + } + [$removeWhere](test) { + if (test == null) dart.nullFailed(I[18], 136, 37, "test"); + this[$checkGrowable]("removeWhere"); + this[_removeWhere](test, true); + } + [$retainWhere](test) { + if (test == null) dart.nullFailed(I[18], 141, 37, "test"); + this[$checkGrowable]("retainWhere"); + this[_removeWhere](test, false); + } + [_removeWhere](test, removeMatching) { + if (test == null) dart.nullFailed(I[18], 146, 38, "test"); + if (removeMatching == null) dart.nullFailed(I[18], 146, 49, "removeMatching"); + let retained = []; + let end = this[$length]; + for (let i = 0; i < end; i = i + 1) { + let element = this[i]; + if (!dart.test(test(element)) === removeMatching) { + retained.push(element); + } + if (this[$length] !== end) dart.throw(new core.ConcurrentModificationError.new(this)); + } + if (retained[$length] === end) return; + this[$length] = retained[$length]; + let length = dart.notNull(retained[$length]); + for (let i = 0; i < length; i = i + 1) { + this[i] = retained[i]; + } + } + [$where](f) { + if (f == null) dart.nullFailed(I[18], 175, 38, "f"); + return new (WhereIterableOfE()).new(this, f); + } + [$expand](T, f) { + if (f == null) dart.nullFailed(I[18], 179, 49, "f"); + return new (_internal.ExpandIterable$(E, T)).new(this, f); + } + [$addAll](collection) { + IterableOfE().as(collection); + if (collection == null) dart.nullFailed(I[18], 183, 27, "collection"); + let i = this[$length]; + this[$checkGrowable]("addAll"); + for (let e of collection) { + if (!(i === this[$length] || dart.throw(new core.ConcurrentModificationError.new(this)))) dart.assertFailed(null, I[18], 187, 14, "i == this.length || (throw ConcurrentModificationError(this))"); + i = i + 1; + this.push(e); + } + } + [$clear]() { + this[$length] = 0; + } + [$forEach](f) { + if (f == null) dart.nullFailed(I[18], 197, 33, "f"); + let end = this[$length]; + for (let i = 0; i < end; i = i + 1) { + let element = this[i]; + f(element); + if (this[$length] !== end) dart.throw(new core.ConcurrentModificationError.new(this)); + } + } + [$map](T, f) { + if (f == null) dart.nullFailed(I[18], 206, 36, "f"); + return new (_internal.MappedListIterable$(E, T)).new(this, f); + } + [$join](separator = "") { + if (separator == null) dart.nullFailed(I[18], 210, 23, "separator"); + let length = this[$length]; + let list = T$.ListOfString().filled(length, ""); + for (let i = 0; i < length; i = i + 1) { + list[$_set](i, dart.str(this[$_get](i))); + } + return list.join(separator); + } + [$take](n) { + if (n == null) dart.nullFailed(I[18], 219, 24, "n"); + return new (SubListIterableOfE()).new(this, 0, _internal.checkNotNullable(core.int, n, "count")); + } + [$takeWhile](test) { + if (test == null) dart.nullFailed(I[18], 223, 30, "test"); + return new (TakeWhileIterableOfE()).new(this, test); + } + [$skip](n) { + if (n == null) dart.nullFailed(I[18], 227, 24, "n"); + return new (SubListIterableOfE()).new(this, n, null); + } + [$skipWhile](test) { + if (test == null) dart.nullFailed(I[18], 231, 42, "test"); + return new (SkipWhileIterableOfE()).new(this, test); + } + [$reduce](combine) { + EAndEToE().as(combine); + if (combine == null) dart.nullFailed(I[18], 235, 14, "combine"); + let length = this[$length]; + if (length === 0) dart.throw(_internal.IterableElementError.noElement()); + let value = this[$_get](0); + for (let i = 1; i < length; i = i + 1) { + let element = this[i]; + value = combine(value, element); + if (length !== this[$length]) dart.throw(new core.ConcurrentModificationError.new(this)); + } + return value; + } + [$fold](T, initialValue, combine) { + if (combine == null) dart.nullFailed(I[18], 247, 68, "combine"); + let value = initialValue; + let length = this[$length]; + for (let i = 0; i < length; i = i + 1) { + let element = this[i]; + value = combine(value, element); + if (this[$length] !== length) dart.throw(new core.ConcurrentModificationError.new(this)); + } + return value; + } + [$firstWhere](test, opts) { + if (test == null) dart.nullFailed(I[18], 258, 33, "test"); + let orElse = opts && 'orElse' in opts ? opts.orElse : null; + VoidToNE().as(orElse); + let end = this[$length]; + for (let i = 0; i < end; i = i + 1) { + let element = this[i]; + if (dart.test(test(element))) return element; + if (this[$length] !== end) dart.throw(new core.ConcurrentModificationError.new(this)); + } + if (orElse != null) return orElse(); + dart.throw(_internal.IterableElementError.noElement()); + } + [$lastWhere](test, opts) { + if (test == null) dart.nullFailed(I[18], 269, 32, "test"); + let orElse = opts && 'orElse' in opts ? opts.orElse : null; + VoidToNE().as(orElse); + let length = this[$length]; + for (let i = length - 1; i >= 0; i = i - 1) { + let element = this[i]; + if (dart.test(test(element))) return element; + if (length !== this[$length]) { + dart.throw(new core.ConcurrentModificationError.new(this)); + } + } + if (orElse != null) return orElse(); + dart.throw(_internal.IterableElementError.noElement()); + } + [$singleWhere](test, opts) { + if (test == null) dart.nullFailed(I[18], 282, 34, "test"); + let orElse = opts && 'orElse' in opts ? opts.orElse : null; + VoidToNE().as(orElse); + let length = this[$length]; + let match = null; + let matchFound = false; + for (let i = 0; i < length; i = i + 1) { + let element = this[i]; + if (dart.test(test(element))) { + if (matchFound) { + dart.throw(_internal.IterableElementError.tooMany()); + } + matchFound = true; + match = element; + } + if (length !== this[$length]) { + dart.throw(new core.ConcurrentModificationError.new(this)); + } + } + if (matchFound) return E.as(match); + if (orElse != null) return orElse(); + dart.throw(_internal.IterableElementError.noElement()); + } + [$elementAt](index) { + if (index == null) dart.nullFailed(I[18], 304, 19, "index"); + return this[$_get](index); + } + [$sublist](start, end = null) { + if (start == null) dart.argumentError(start); + if (start < 0 || start > this[$length]) { + dart.throw(new core.RangeError.range(start, 0, this[$length], "start")); + } + if (end == null) { + end = this[$length]; + } else { + let _end = end; + if (_end < start || _end > this[$length]) { + dart.throw(new core.RangeError.range(end, start, this[$length], "end")); + } + } + if (start === end) return JSArrayOfE().of([]); + return JSArrayOfE().of(this.slice(start, end)); + } + [$getRange](start, end) { + if (start == null) dart.nullFailed(I[18], 325, 28, "start"); + if (end == null) dart.nullFailed(I[18], 325, 39, "end"); + core.RangeError.checkValidRange(start, end, this[$length]); + return new (SubListIterableOfE()).new(this, start, end); + } + get [$first]() { + if (this[$length] > 0) return this[$_get](0); + dart.throw(_internal.IterableElementError.noElement()); + } + get [$last]() { + if (this[$length] > 0) return this[$_get](this[$length] - 1); + dart.throw(_internal.IterableElementError.noElement()); + } + get [$single]() { + if (this[$length] === 1) return this[$_get](0); + if (this[$length] === 0) dart.throw(_internal.IterableElementError.noElement()); + dart.throw(_internal.IterableElementError.tooMany()); + } + [$removeRange](start, end) { + if (start == null) dart.argumentError(start); + if (end == null) dart.argumentError(end); + this[$checkGrowable]("removeRange"); + core.RangeError.checkValidRange(start, end, this[$length]); + let deleteCount = end - start; + this.splice(start, deleteCount); + } + [$setRange](start, end, iterable, skipCount = 0) { + if (start == null) dart.argumentError(start); + if (end == null) dart.argumentError(end); + IterableOfE().as(iterable); + if (iterable == null) dart.nullFailed(I[18], 353, 71, "iterable"); + if (skipCount == null) dart.argumentError(skipCount); + this[$checkMutable]("set range"); + core.RangeError.checkValidRange(start, end, this[$length]); + let length = end - start; + if (length === 0) return; + core.RangeError.checkNotNegative(skipCount, "skipCount"); + let otherList = JSArrayOfE().of([]); + let otherStart = 0; + if (ListOfE().is(iterable)) { + otherList = iterable; + otherStart = skipCount; + } else { + otherList = iterable[$skip](skipCount)[$toList]({growable: false}); + otherStart = 0; + } + if (otherStart + length > dart.notNull(otherList[$length])) { + dart.throw(_internal.IterableElementError.tooFew()); + } + if (otherStart < start) { + for (let i = length - 1; i >= 0; i = i - 1) { + let element = otherList[$_get](otherStart + i); + this[start + i] = element; + } + } else { + for (let i = 0; i < length; i = i + 1) { + let element = otherList[$_get](otherStart + i); + this[start + i] = element; + } + } + } + [$fillRange](start, end, fillValue = null) { + if (start == null) dart.argumentError(start); + if (end == null) dart.argumentError(end); + EN().as(fillValue); + this[$checkMutable]("fill range"); + core.RangeError.checkValidRange(start, end, this[$length]); + let checkedFillValue = E.as(fillValue); + for (let i = start; i < end; i = i + 1) { + this[i] = checkedFillValue; + } + } + [$replaceRange](start, end, replacement) { + if (start == null) dart.argumentError(start); + if (end == null) dart.argumentError(end); + IterableOfE().as(replacement); + if (replacement == null) dart.nullFailed(I[18], 404, 61, "replacement"); + this[$checkGrowable]("replace range"); + core.RangeError.checkValidRange(start, end, this[$length]); + if (!_internal.EfficientLengthIterable.is(replacement)) { + replacement = replacement[$toList](); + } + let removeLength = end - start; + let insertLength = dart.notNull(replacement[$length]); + if (removeLength >= insertLength) { + let delta = removeLength - insertLength; + let insertEnd = start + insertLength; + let newLength = this[$length] - delta; + this[$setRange](start, insertEnd, replacement); + if (delta !== 0) { + this[$setRange](insertEnd, newLength, this, end); + this[$length] = newLength; + } + } else { + let delta = insertLength - removeLength; + let newLength = this[$length] + delta; + let insertEnd = start + insertLength; + this[_setLengthUnsafe](newLength); + this[$setRange](insertEnd, newLength, this, end); + this[$setRange](start, insertEnd, replacement); + } + } + [$any](test) { + if (test == null) dart.nullFailed(I[18], 432, 29, "test"); + let end = this[$length]; + for (let i = 0; i < end; i = i + 1) { + let element = this[i]; + if (dart.test(test(element))) return true; + if (this[$length] !== end) dart.throw(new core.ConcurrentModificationError.new(this)); + } + return false; + } + [$every](test) { + if (test == null) dart.nullFailed(I[18], 442, 31, "test"); + let end = this[$length]; + for (let i = 0; i < end; i = i + 1) { + let element = this[i]; + if (!dart.test(test(element))) return false; + if (this[$length] !== end) dart.throw(new core.ConcurrentModificationError.new(this)); + } + return true; + } + get [$reversed]() { + return new (ReversedListIterableOfE()).new(this); + } + [$sort](compare = null) { + this[$checkMutable]("sort"); + if (compare == null) { + _internal.Sort.sort(E, this, dart.fn((a, b) => core.Comparable.compare(core.Comparable.as(a), core.Comparable.as(b)), T$.ObjectNAndObjectNToint())); + } else { + _internal.Sort.sort(E, this, compare); + } + } + [$shuffle](random = null) { + this[$checkMutable]("shuffle"); + if (random == null) random = math.Random.new(); + let length = this[$length]; + while (length > 1) { + let pos = random.nextInt(length); + length = length - 1; + let tmp = this[$_get](length); + this[$_set](length, this[$_get](pos)); + this[$_set](pos, tmp); + } + } + [$indexOf](element, start = 0) { + if (start == null) dart.argumentError(start); + let length = this[$length]; + if (start >= length) { + return -1; + } + if (start < 0) { + start = 0; + } + for (let i = start; i < length; i = i + 1) { + if (dart.equals(this[$_get](i), element)) { + return i; + } + } + return -1; + } + [$lastIndexOf](element, startIndex = null) { + let t20; + let start = (t20 = startIndex, t20 == null ? this[$length] - 1 : t20); + if (start >= this[$length]) { + start = this[$length] - 1; + } else if (start < 0) { + return -1; + } + for (let i = start; i >= 0; i = i - 1) { + if (dart.equals(this[$_get](i), element)) { + return i; + } + } + return -1; + } + [$contains](other) { + let length = this[$length]; + for (let i = 0; i < length; i = i + 1) { + let element = this[i]; + if (dart.equals(element, other)) return true; + } + return false; + } + get [$isEmpty]() { + return this[$length] === 0; + } + get [$isNotEmpty]() { + return !this[$isEmpty]; + } + [$toString]() { + return collection.ListBase.listToString(this); + } + [$toList](opts) { + let growable = opts && 'growable' in opts ? opts.growable : true; + if (growable == null) dart.argumentError(growable); + let list = this.slice(); + if (!growable) _interceptors.JSArray.markFixedList(list); + return JSArrayOfE().of(list); + } + [$toSet]() { + return LinkedHashSetOfE().from(this); + } + get [$iterator]() { + return new (ArrayIteratorOfE()).new(this); + } + get [$hashCode]() { + return core.identityHashCode(this); + } + [$_equals](other) { + if (other == null) return false; + return this === other; + } + get [$length]() { + return this.length; + } + set [$length](newLength) { + if (newLength == null) dart.argumentError(newLength); + this[$checkGrowable]("set length"); + if (newLength < 0) { + dart.throw(new core.RangeError.range(newLength, 0, null, "newLength")); + } + if (newLength > this[$length]) E.as(null); + this.length = newLength; + } + [_setLengthUnsafe](newLength) { + if (newLength == null) dart.nullFailed(I[18], 566, 29, "newLength"); + if (dart.notNull(newLength) < 0) { + dart.throw(new core.RangeError.range(newLength, 0, null, "newLength")); + } + this.length = newLength; + } + [$_get](index) { + if (index == null) dart.nullFailed(I[18], 576, 21, "index"); + if (index == null || index >= this.length || index < 0) { + dart.throw(_js_helper.diagnoseIndexError(this, index)); + } + return this[index]; + } + [$_set](index, value$) { + let value = value$; + if (index == null) dart.nullFailed(I[18], 586, 25, "index"); + E.as(value); + this[$checkMutable]("indexed set"); + if (index == null || index >= this.length || index < 0) { + dart.throw(_js_helper.diagnoseIndexError(this, index)); + } + this[index] = value; + return value$; + } + [$asMap]() { + return new (ListMapViewOfE()).new(this); + } + get [$runtimeType]() { + return dart.wrapType(core.List$(E)); + } + [$followedBy](other) { + IterableOfE().as(other); + if (other == null) dart.nullFailed(I[18], 603, 38, "other"); + return FollowedByIterableOfE().firstEfficient(this, other); + } + [$whereType](T) { + return new (_internal.WhereTypeIterable$(T)).new(this); + } + [$plus](other) { + ListOfE().as(other); + if (other == null) dart.nullFailed(I[18], 608, 30, "other"); + return (() => { + let t20 = ListOfE().of(this); + t20[$addAll](other); + return t20; + })(); + } + [$indexWhere](test, start = 0) { + if (test == null) dart.nullFailed(I[18], 610, 35, "test"); + if (start == null) dart.nullFailed(I[18], 610, 46, "start"); + if (dart.notNull(start) >= this[$length]) return -1; + if (dart.notNull(start) < 0) start = 0; + for (let i = start; dart.notNull(i) < this[$length]; i = dart.notNull(i) + 1) { + if (dart.test(test(this[$_get](i)))) return i; + } + return -1; + } + [$lastIndexWhere](test, start = null) { + if (test == null) dart.nullFailed(I[18], 619, 39, "test"); + if (start == null) start = this[$length] - 1; + if (dart.notNull(start) < 0) return -1; + for (let i = start; dart.notNull(i) >= 0; i = dart.notNull(i) - 1) { + if (dart.test(test(this[$_get](i)))) return i; + } + return -1; + } + set [$first](element) { + E.as(element); + if (this[$isEmpty]) dart.throw(new core.IndexError.new(0, this)); + this[$_set](0, element); + } + set [$last](element) { + E.as(element); + if (this[$isEmpty]) dart.throw(new core.IndexError.new(0, this)); + this[$_set](this[$length] - 1, element); + } + } + (JSArray.new = function() { + ; + }).prototype = JSArray.prototype; + dart.setExtensionBaseClass(JSArray, dart.global.Array); + JSArray.prototype[dart.isList] = true; + dart.addTypeTests(JSArray); + JSArray.prototype[_is_JSArray_default] = true; + dart.addTypeCaches(JSArray); + JSArray[dart.implements] = () => [core.List$(E), _interceptors.JSIndexable$(E)]; + dart.setMethodSignature(JSArray, () => ({ + __proto__: dart.getMethods(JSArray.__proto__), + [$checkMutable]: dart.fnType(dart.dynamic, [dart.dynamic]), + [$checkGrowable]: dart.fnType(dart.dynamic, [dart.dynamic]), + [$cast]: dart.gFnType(R => [core.List$(R), []], R => [dart.nullable(core.Object)]), + [$add]: dart.fnType(dart.void, [dart.nullable(core.Object)]), + [$removeAt]: dart.fnType(E, [core.int]), + [$insert]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), + [$insertAll]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), + [$setAll]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), + [$removeLast]: dart.fnType(E, []), + [$remove]: dart.fnType(core.bool, [dart.nullable(core.Object)]), + [$removeWhere]: dart.fnType(dart.void, [dart.fnType(core.bool, [E])]), + [$retainWhere]: dart.fnType(dart.void, [dart.fnType(core.bool, [E])]), + [_removeWhere]: dart.fnType(dart.void, [dart.fnType(core.bool, [E]), core.bool]), + [$where]: dart.fnType(core.Iterable$(E), [dart.fnType(core.bool, [E])]), + [$expand]: dart.gFnType(T => [core.Iterable$(T), [dart.fnType(core.Iterable$(T), [E])]], T => [dart.nullable(core.Object)]), + [$addAll]: dart.fnType(dart.void, [dart.nullable(core.Object)]), + [$clear]: dart.fnType(dart.void, []), + [$forEach]: dart.fnType(dart.void, [dart.fnType(dart.void, [E])]), + [$map]: dart.gFnType(T => [core.Iterable$(T), [dart.fnType(T, [E])]], T => [dart.nullable(core.Object)]), + [$join]: dart.fnType(core.String, [], [core.String]), + [$take]: dart.fnType(core.Iterable$(E), [core.int]), + [$takeWhile]: dart.fnType(core.Iterable$(E), [dart.fnType(core.bool, [E])]), + [$skip]: dart.fnType(core.Iterable$(E), [core.int]), + [$skipWhile]: dart.fnType(core.Iterable$(E), [dart.fnType(core.bool, [E])]), + [$reduce]: dart.fnType(E, [dart.nullable(core.Object)]), + [$fold]: dart.gFnType(T => [T, [T, dart.fnType(T, [T, E])]], T => [dart.nullable(core.Object)]), + [$firstWhere]: dart.fnType(E, [dart.fnType(core.bool, [E])], {orElse: dart.nullable(core.Object)}, {}), + [$lastWhere]: dart.fnType(E, [dart.fnType(core.bool, [E])], {orElse: dart.nullable(core.Object)}, {}), + [$singleWhere]: dart.fnType(E, [dart.fnType(core.bool, [E])], {orElse: dart.nullable(core.Object)}, {}), + [$elementAt]: dart.fnType(E, [core.int]), + [$sublist]: dart.fnType(core.List$(E), [core.int], [dart.nullable(core.int)]), + [$getRange]: dart.fnType(core.Iterable$(E), [core.int, core.int]), + [$removeRange]: dart.fnType(dart.void, [core.int, core.int]), + [$setRange]: dart.fnType(dart.void, [core.int, core.int, dart.nullable(core.Object)], [core.int]), + [$fillRange]: dart.fnType(dart.void, [core.int, core.int], [dart.nullable(core.Object)]), + [$replaceRange]: dart.fnType(dart.void, [core.int, core.int, dart.nullable(core.Object)]), + [$any]: dart.fnType(core.bool, [dart.fnType(core.bool, [E])]), + [$every]: dart.fnType(core.bool, [dart.fnType(core.bool, [E])]), + [$sort]: dart.fnType(dart.void, [], [dart.nullable(dart.fnType(core.int, [E, E]))]), + [$shuffle]: dart.fnType(dart.void, [], [dart.nullable(math.Random)]), + [$indexOf]: dart.fnType(core.int, [dart.nullable(core.Object)], [core.int]), + [$lastIndexOf]: dart.fnType(core.int, [dart.nullable(core.Object)], [dart.nullable(core.int)]), + [$contains]: dart.fnType(core.bool, [dart.nullable(core.Object)]), + [$toList]: dart.fnType(core.List$(E), [], {growable: core.bool}, {}), + [$toSet]: dart.fnType(core.Set$(E), []), + [_setLengthUnsafe]: dart.fnType(dart.void, [core.int]), + [$_get]: dart.fnType(E, [core.int]), + [$_set]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), + [$asMap]: dart.fnType(core.Map$(core.int, E), []), + [$followedBy]: dart.fnType(core.Iterable$(E), [dart.nullable(core.Object)]), + [$whereType]: dart.gFnType(T => [core.Iterable$(T), []], T => [dart.nullable(core.Object)]), + [$plus]: dart.fnType(core.List$(E), [dart.nullable(core.Object)]), + [$indexWhere]: dart.fnType(core.int, [dart.fnType(core.bool, [E])], [core.int]), + [$lastIndexWhere]: dart.fnType(core.int, [dart.fnType(core.bool, [E])], [dart.nullable(core.int)]) + })); + dart.setGetterSignature(JSArray, () => ({ + __proto__: dart.getGetters(JSArray.__proto__), + [$first]: E, + [$last]: E, + [$single]: E, + [$reversed]: core.Iterable$(E), + [$isEmpty]: core.bool, + [$isNotEmpty]: core.bool, + [$iterator]: core.Iterator$(E), + [$length]: core.int + })); + dart.setSetterSignature(JSArray, () => ({ + __proto__: dart.getSetters(JSArray.__proto__), + [$length]: core.int, + [$first]: dart.nullable(core.Object), + [$last]: dart.nullable(core.Object) + })); + dart.setLibraryUri(JSArray, I[16]); + return JSArray; +}); +_interceptors.JSArray = _interceptors.JSArray$(); +dart.addTypeTests(_interceptors.JSArray, _is_JSArray_default); +dart.registerExtension("Array", _interceptors.JSArray); +const _is_JSMutableArray_default = Symbol('_is_JSMutableArray_default'); +_interceptors.JSMutableArray$ = dart.generic(E => { + class JSMutableArray extends _interceptors.JSArray$(E) {} + (JSMutableArray.new = function() { + JSMutableArray.__proto__.new.call(this); + ; + }).prototype = JSMutableArray.prototype; + dart.addTypeTests(JSMutableArray); + JSMutableArray.prototype[_is_JSMutableArray_default] = true; + dart.addTypeCaches(JSMutableArray); + JSMutableArray[dart.implements] = () => [_interceptors.JSMutableIndexable$(E)]; + dart.setLibraryUri(JSMutableArray, I[16]); + return JSMutableArray; +}); +_interceptors.JSMutableArray = _interceptors.JSMutableArray$(); +dart.addTypeTests(_interceptors.JSMutableArray, _is_JSMutableArray_default); +const _is_JSFixedArray_default = Symbol('_is_JSFixedArray_default'); +_interceptors.JSFixedArray$ = dart.generic(E => { + class JSFixedArray extends _interceptors.JSMutableArray$(E) {} + (JSFixedArray.new = function() { + JSFixedArray.__proto__.new.call(this); + ; + }).prototype = JSFixedArray.prototype; + dart.addTypeTests(JSFixedArray); + JSFixedArray.prototype[_is_JSFixedArray_default] = true; + dart.addTypeCaches(JSFixedArray); + dart.setLibraryUri(JSFixedArray, I[16]); + return JSFixedArray; +}); +_interceptors.JSFixedArray = _interceptors.JSFixedArray$(); +dart.addTypeTests(_interceptors.JSFixedArray, _is_JSFixedArray_default); +const _is_JSExtendableArray_default = Symbol('_is_JSExtendableArray_default'); +_interceptors.JSExtendableArray$ = dart.generic(E => { + class JSExtendableArray extends _interceptors.JSMutableArray$(E) {} + (JSExtendableArray.new = function() { + JSExtendableArray.__proto__.new.call(this); + ; + }).prototype = JSExtendableArray.prototype; + dart.addTypeTests(JSExtendableArray); + JSExtendableArray.prototype[_is_JSExtendableArray_default] = true; + dart.addTypeCaches(JSExtendableArray); + dart.setLibraryUri(JSExtendableArray, I[16]); + return JSExtendableArray; +}); +_interceptors.JSExtendableArray = _interceptors.JSExtendableArray$(); +dart.addTypeTests(_interceptors.JSExtendableArray, _is_JSExtendableArray_default); +const _is_JSUnmodifiableArray_default = Symbol('_is_JSUnmodifiableArray_default'); +_interceptors.JSUnmodifiableArray$ = dart.generic(E => { + class JSUnmodifiableArray extends _interceptors.JSArray$(E) {} + (JSUnmodifiableArray.new = function() { + JSUnmodifiableArray.__proto__.new.call(this); + ; + }).prototype = JSUnmodifiableArray.prototype; + dart.addTypeTests(JSUnmodifiableArray); + JSUnmodifiableArray.prototype[_is_JSUnmodifiableArray_default] = true; + dart.addTypeCaches(JSUnmodifiableArray); + dart.setLibraryUri(JSUnmodifiableArray, I[16]); + return JSUnmodifiableArray; +}); +_interceptors.JSUnmodifiableArray = _interceptors.JSUnmodifiableArray$(); +dart.addTypeTests(_interceptors.JSUnmodifiableArray, _is_JSUnmodifiableArray_default); +var _current = dart.privateName(_interceptors, "_current"); +var _iterable = dart.privateName(_interceptors, "_iterable"); +var _length = dart.privateName(_interceptors, "_length"); +var _index = dart.privateName(_interceptors, "_index"); +const _is_ArrayIterator_default = Symbol('_is_ArrayIterator_default'); +_interceptors.ArrayIterator$ = dart.generic(E => { + class ArrayIterator extends core.Object { + get current() { + return E.as(this[_current]); + } + moveNext() { + let length = this[_iterable][$length]; + if (this[_length] !== length) { + dart.throw(_js_helper.throwConcurrentModificationError(this[_iterable])); + } + if (this[_index] >= length) { + this[_current] = null; + return false; + } + this[_current] = this[_iterable][$_get](this[_index]); + this[_index] = this[_index] + 1; + return true; + } + } + (ArrayIterator.new = function(iterable) { + if (iterable == null) dart.nullFailed(I[18], 668, 28, "iterable"); + this[_current] = null; + this[_iterable] = iterable; + this[_length] = iterable[$length]; + this[_index] = 0; + ; + }).prototype = ArrayIterator.prototype; + dart.addTypeTests(ArrayIterator); + ArrayIterator.prototype[_is_ArrayIterator_default] = true; + dart.addTypeCaches(ArrayIterator); + ArrayIterator[dart.implements] = () => [core.Iterator$(E)]; + dart.setMethodSignature(ArrayIterator, () => ({ + __proto__: dart.getMethods(ArrayIterator.__proto__), + moveNext: dart.fnType(core.bool, []) + })); + dart.setGetterSignature(ArrayIterator, () => ({ + __proto__: dart.getGetters(ArrayIterator.__proto__), + current: E + })); + dart.setLibraryUri(ArrayIterator, I[16]); + dart.setFieldSignature(ArrayIterator, () => ({ + __proto__: dart.getFields(ArrayIterator.__proto__), + [_iterable]: dart.finalFieldType(_interceptors.JSArray$(E)), + [_length]: dart.finalFieldType(core.int), + [_index]: dart.fieldType(core.int), + [_current]: dart.fieldType(dart.nullable(E)) + })); + return ArrayIterator; +}); +_interceptors.ArrayIterator = _interceptors.ArrayIterator$(); +dart.addTypeTests(_interceptors.ArrayIterator, _is_ArrayIterator_default); +var _isInt32 = dart.privateName(_interceptors, "_isInt32"); +var _tdivSlow = dart.privateName(_interceptors, "_tdivSlow"); +var _shlPositive = dart.privateName(_interceptors, "_shlPositive"); +var _shrOtherPositive = dart.privateName(_interceptors, "_shrOtherPositive"); +var _shrUnsigned = dart.privateName(_interceptors, "_shrUnsigned"); +_interceptors.JSNumber = class JSNumber extends _interceptors.Interceptor { + [$compareTo](b) { + core.num.as(b); + if (b == null) dart.argumentError(b); + if (this < b) { + return -1; + } else if (this > b) { + return 1; + } else if (this === b) { + if (this === 0) { + let bIsNegative = b[$isNegative]; + if (this[$isNegative] === bIsNegative) return 0; + if (this[$isNegative]) return -1; + return 1; + } + return 0; + } else if (this[$isNaN]) { + if (b[$isNaN]) { + return 0; + } + return 1; + } else { + return -1; + } + } + get [$isNegative]() { + return this === 0 ? 1 / this < 0 : this < 0; + } + get [$isNaN]() { + return isNaN(this); + } + get [$isInfinite]() { + return this == 1 / 0 || this == -1 / 0; + } + get [$isFinite]() { + return isFinite(this); + } + [$remainder](b) { + if (b == null) dart.argumentError(b); + return this % b; + } + [$abs]() { + return Math.abs(this); + } + get [$sign]() { + return _interceptors.JSNumber.as(this > 0 ? 1 : this < 0 ? -1 : this); + } + [$toInt]() { + if (this >= -2147483648 && this <= 2147483647) { + return this | 0; + } + if (isFinite(this)) { + return this[$truncateToDouble]() + 0; + } + dart.throw(new core.UnsupportedError.new("" + this)); + } + [$truncate]() { + return this[$toInt](); + } + [$ceil]() { + return this[$ceilToDouble]()[$toInt](); + } + [$floor]() { + return this[$floorToDouble]()[$toInt](); + } + [$round]() { + if (this > 0) { + if (this !== 1 / 0) { + return Math.round(this); + } + } else if (this > -1 / 0) { + return 0 - Math.round(0 - this); + } + dart.throw(new core.UnsupportedError.new("" + this)); + } + [$ceilToDouble]() { + return Math.ceil(this); + } + [$floorToDouble]() { + return Math.floor(this); + } + [$roundToDouble]() { + if (this < 0) { + return -Math.round(-this); + } else { + return Math.round(this); + } + } + [$truncateToDouble]() { + return this < 0 ? this[$ceilToDouble]() : this[$floorToDouble](); + } + [$clamp](lowerLimit, upperLimit) { + if (lowerLimit == null) dart.argumentError(lowerLimit); + if (upperLimit == null) dart.argumentError(upperLimit); + if (lowerLimit[$compareTo](upperLimit) > 0) { + dart.throw(_js_helper.argumentErrorValue(lowerLimit)); + } + if (this[$compareTo](lowerLimit) < 0) return lowerLimit; + if (this[$compareTo](upperLimit) > 0) return upperLimit; + return this; + } + [$toDouble]() { + return this; + } + [$toStringAsFixed](fractionDigits) { + if (fractionDigits == null) dart.argumentError(fractionDigits); + if (fractionDigits < 0 || fractionDigits > 20) { + dart.throw(new core.RangeError.range(fractionDigits, 0, 20, "fractionDigits")); + } + let result = this.toFixed(fractionDigits); + if (this === 0 && this[$isNegative]) return "-" + result; + return result; + } + [$toStringAsExponential](fractionDigits = null) { + let result = null; + if (fractionDigits != null) { + let _fractionDigits = fractionDigits; + if (_fractionDigits < 0 || _fractionDigits > 20) { + dart.throw(new core.RangeError.range(_fractionDigits, 0, 20, "fractionDigits")); + } + result = this.toExponential(_fractionDigits); + } else { + result = this.toExponential(); + } + if (this === 0 && this[$isNegative]) return "-" + dart.str(result); + return result; + } + [$toStringAsPrecision](precision) { + if (precision == null) dart.argumentError(precision); + if (precision < 1 || precision > 21) { + dart.throw(new core.RangeError.range(precision, 1, 21, "precision")); + } + let result = this.toPrecision(precision); + if (this === 0 && this[$isNegative]) return "-" + result; + return result; + } + [$toRadixString](radix) { + if (radix == null) dart.argumentError(radix); + if (radix < 2 || radix > 36) { + dart.throw(new core.RangeError.range(radix, 2, 36, "radix")); + } + let result = this.toString(radix); + if (result[$codeUnitAt](result.length - 1) !== 41) { + return result; + } + return _interceptors.JSNumber._handleIEtoString(result); + } + static _handleIEtoString(result) { + if (result == null) dart.nullFailed(I[19], 194, 42, "result"); + let match = /^([\da-z]+)(?:\.([\da-z]+))?\(e\+(\d+)\)$/.exec(result); + if (match == null) { + dart.throw(new core.UnsupportedError.new("Unexpected toString result: " + dart.str(result))); + } + result = match[$_get](1); + let exponent = +match[$_get](3); + if (match[$_get](2) != null) { + result = result + match[$_get](2); + exponent = exponent - match[$_get](2).length; + } + return dart.notNull(result) + "0"[$times](exponent); + } + [$toString]() { + if (this === 0 && 1 / this < 0) { + return "-0.0"; + } else { + return "" + this; + } + } + get [$hashCode]() { + let intValue = this | 0; + if (this === intValue) return 536870911 & intValue; + let absolute = Math.abs(this); + let lnAbsolute = Math.log(absolute); + let log2 = lnAbsolute / 0.6931471805599453; + let floorLog2 = log2 | 0; + let factor = Math.pow(2, floorLog2); + let scaled = absolute < 1 ? absolute / factor : factor / absolute; + let rescaled1 = scaled * 9007199254740992; + let rescaled2 = scaled * 3542243181176521; + let d1 = rescaled1 | 0; + let d2 = rescaled2 | 0; + let d3 = floorLog2; + let h = 536870911 & (d1 + d2) * (601 * 997) + d3 * 1259; + return h; + } + [$_negate]() { + return -this; + } + [$plus](other) { + if (other == null) dart.argumentError(other); + return this + other; + } + [$minus](other) { + if (other == null) dart.argumentError(other); + return this - other; + } + [$divide](other) { + if (other == null) dart.argumentError(other); + return this / other; + } + [$times](other) { + if (other == null) dart.argumentError(other); + return this * other; + } + [$modulo](other) { + if (other == null) dart.argumentError(other); + let result = this % other; + if (result === 0) return _interceptors.JSNumber.as(0); + if (result > 0) return result; + if (other < 0) { + return result - other; + } else { + return result + other; + } + } + [_isInt32](value) { + return (value | 0) === value; + } + [$floorDivide](other) { + if (other == null) dart.argumentError(other); + if (this[_isInt32](this) && this[_isInt32](other) && 0 !== other && -1 !== other) { + return this / other | 0; + } else { + return this[_tdivSlow](other); + } + } + [_tdivSlow](other) { + if (other == null) dart.nullFailed(I[19], 308, 21, "other"); + return (this / other)[$toInt](); + } + [$leftShift](other) { + if (other == null) dart.argumentError(other); + if (other < 0) _js_helper.throwArgumentErrorValue(other); + return this[_shlPositive](other); + } + [_shlPositive](other) { + return other > 31 ? 0 : this << other >>> 0; + } + [$rightShift](other) { + if (other == null) dart.argumentError(other); + if (other < 0) _js_helper.throwArgumentErrorValue(other); + return this[_shrOtherPositive](other); + } + [$tripleShift](other) { + if (other == null) dart.argumentError(other); + if (other < 0) _js_helper.throwArgumentErrorValue(other); + return this[_shrUnsigned](other); + } + [_shrOtherPositive](other) { + return this > 0 ? this[_shrUnsigned](other) : this >> (other > 31 ? 31 : other) >>> 0; + } + [_shrUnsigned](other) { + return other > 31 ? 0 : this >>> other; + } + [$bitAnd](other) { + if (other == null) dart.argumentError(other); + return (this & other) >>> 0; + } + [$bitOr](other) { + if (other == null) dart.argumentError(other); + return (this | other) >>> 0; + } + [$bitXor](other) { + if (other == null) dart.argumentError(other); + return (this ^ other) >>> 0; + } + [$lessThan](other) { + if (other == null) dart.argumentError(other); + return this < other; + } + [$greaterThan](other) { + if (other == null) dart.argumentError(other); + return this > other; + } + [$lessOrEquals](other) { + if (other == null) dart.argumentError(other); + return this <= other; + } + [$greaterOrEquals](other) { + if (other == null) dart.argumentError(other); + return this >= other; + } + get [$isEven]() { + return (this & 1) === 0; + } + get [$isOdd]() { + return (this & 1) === 1; + } + [$toUnsigned](width) { + if (width == null) dart.argumentError(width); + return (this & (1)[$leftShift](width) - 1) >>> 0; + } + [$toSigned](width) { + if (width == null) dart.argumentError(width); + let signMask = (1)[$leftShift](width - 1); + return ((this & signMask - 1) >>> 0) - ((this & signMask) >>> 0); + } + get [$bitLength]() { + let nonneg = this < 0 ? -this - 1 : this; + let wordBits = 32; + while (nonneg >= 4294967296) { + nonneg = (nonneg / 4294967296)[$truncate](); + wordBits = wordBits + 32; + } + return wordBits - _interceptors.JSNumber._clz32(nonneg); + } + static _clz32(uint32) { + return 32 - _interceptors.JSNumber._bitCount(_interceptors.JSNumber._spread(uint32)); + } + [$modPow](e, m) { + if (e == null) dart.argumentError(e); + if (m == null) dart.argumentError(m); + if (e < 0) dart.throw(new core.RangeError.range(e, 0, null, "exponent")); + if (m <= 0) dart.throw(new core.RangeError.range(m, 1, null, "modulus")); + if (e === 0) return 1; + if (this < -9007199254740991.0 || this > 9007199254740991.0) { + dart.throw(new core.RangeError.range(this, -9007199254740991.0, 9007199254740991.0, "receiver")); + } + if (e > 9007199254740991.0) { + dart.throw(new core.RangeError.range(e, 0, 9007199254740991.0, "exponent")); + } + if (m > 9007199254740991.0) { + dart.throw(new core.RangeError.range(e, 1, 9007199254740991.0, "modulus")); + } + if (m > 94906265) { + return core._BigIntImpl.from(this).modPow(core._BigIntImpl.from(e), core._BigIntImpl.from(m)).toInt(); + } + let b = this; + if (b < 0 || b > m) { + b = b[$modulo](m); + } + let r = 1; + while (e > 0) { + if (e[$isOdd]) { + r = (r * b)[$modulo](m); + } + e = (e / 2)[$truncate](); + b = (b * b)[$modulo](m); + } + return r; + } + static _binaryGcd(x, y, inv) { + let s = 1; + if (!inv) { + while (x[$isEven] && y[$isEven]) { + x = (x / 2)[$truncate](); + y = (y / 2)[$truncate](); + s = s * 2; + } + if (y[$isOdd]) { + let t = x; + x = y; + y = t; + } + } + let ac = x[$isEven]; + let u = x; + let v = y; + let a = 1; + let b = 0; + let c = 0; + let d = 1; + do { + while (u[$isEven]) { + u = (u / 2)[$truncate](); + if (ac) { + if (!a[$isEven] || !b[$isEven]) { + a = a + y; + b = b - x; + } + a = (a / 2)[$truncate](); + } else if (!b[$isEven]) { + b = b - x; + } + b = (b / 2)[$truncate](); + } + while (v[$isEven]) { + v = (v / 2)[$truncate](); + if (ac) { + if (!c[$isEven] || !d[$isEven]) { + c = c + y; + d = d - x; + } + c = (c / 2)[$truncate](); + } else if (!d[$isEven]) { + d = d - x; + } + d = (d / 2)[$truncate](); + } + if (u >= v) { + u = u - v; + if (ac) a = a - c; + b = b - d; + } else { + v = v - u; + if (ac) c = c - a; + d = d - b; + } + } while (u !== 0); + if (!inv) return s * v; + if (v !== 1) dart.throw(core.Exception.new("Not coprime")); + if (d < 0) { + d = d + x; + if (d < 0) d = d + x; + } else if (d > x) { + d = d - x; + if (d > x) d = d - x; + } + return d; + } + [$modInverse](m) { + if (m == null) dart.argumentError(m); + if (m <= 0) dart.throw(new core.RangeError.range(m, 1, null, "modulus")); + if (m === 1) return 0; + let t = this; + if (t < 0 || t >= m) t = t[$modulo](m); + if (t === 1) return 1; + if (t === 0 || t[$isEven] && m[$isEven]) { + dart.throw(core.Exception.new("Not coprime")); + } + return _interceptors.JSNumber._binaryGcd(m, t, true); + } + [$gcd](other) { + if (other == null) dart.argumentError(other); + if (!core.int.is(this)) _js_helper.throwArgumentErrorValue(this); + let x = this[$abs](); + let y = other[$abs](); + if (x === 0) return y; + if (y === 0) return x; + if (x === 1 || y === 1) return 1; + return _interceptors.JSNumber._binaryGcd(x, y, false); + } + static _bitCount(i) { + i = _interceptors.JSNumber._shru(i, 0) - (_interceptors.JSNumber._shru(i, 1) & 1431655765); + i = (i & 858993459) + (_interceptors.JSNumber._shru(i, 2) & 858993459); + i = 252645135 & i + _interceptors.JSNumber._shru(i, 4); + i = i + _interceptors.JSNumber._shru(i, 8); + i = i + _interceptors.JSNumber._shru(i, 16); + return i & 63; + } + static _shru(value, shift) { + if (value == null) dart.nullFailed(I[19], 613, 24, "value"); + if (shift == null) dart.nullFailed(I[19], 613, 35, "shift"); + return value >>> shift; + } + static _shrs(value, shift) { + if (value == null) dart.nullFailed(I[19], 616, 24, "value"); + if (shift == null) dart.nullFailed(I[19], 616, 35, "shift"); + return value >> shift; + } + static _ors(a, b) { + if (a == null) dart.nullFailed(I[19], 619, 23, "a"); + if (b == null) dart.nullFailed(I[19], 619, 30, "b"); + return a | b; + } + static _spread(i) { + i = _interceptors.JSNumber._ors(i, _interceptors.JSNumber._shrs(i, 1)); + i = _interceptors.JSNumber._ors(i, _interceptors.JSNumber._shrs(i, 2)); + i = _interceptors.JSNumber._ors(i, _interceptors.JSNumber._shrs(i, 4)); + i = _interceptors.JSNumber._ors(i, _interceptors.JSNumber._shrs(i, 8)); + i = _interceptors.JSNumber._shru(_interceptors.JSNumber._ors(i, _interceptors.JSNumber._shrs(i, 16)), 0); + return i; + } + [$bitNot]() { + return ~this >>> 0; + } +}; +(_interceptors.JSNumber.new = function() { + _interceptors.JSNumber.__proto__.new.call(this); + ; +}).prototype = _interceptors.JSNumber.prototype; +dart.addTypeTests(_interceptors.JSNumber); +dart.addTypeCaches(_interceptors.JSNumber); +_interceptors.JSNumber[dart.implements] = () => [core.int, core.double]; +dart.setMethodSignature(_interceptors.JSNumber, () => ({ + __proto__: dart.getMethods(_interceptors.JSNumber.__proto__), + [$compareTo]: dart.fnType(core.int, [dart.nullable(core.Object)]), + [$remainder]: dart.fnType(_interceptors.JSNumber, [core.num]), + [$abs]: dart.fnType(_interceptors.JSNumber, []), + [$toInt]: dart.fnType(core.int, []), + [$truncate]: dart.fnType(core.int, []), + [$ceil]: dart.fnType(core.int, []), + [$floor]: dart.fnType(core.int, []), + [$round]: dart.fnType(core.int, []), + [$ceilToDouble]: dart.fnType(core.double, []), + [$floorToDouble]: dart.fnType(core.double, []), + [$roundToDouble]: dart.fnType(core.double, []), + [$truncateToDouble]: dart.fnType(core.double, []), + [$clamp]: dart.fnType(core.num, [core.num, core.num]), + [$toDouble]: dart.fnType(core.double, []), + [$toStringAsFixed]: dart.fnType(core.String, [core.int]), + [$toStringAsExponential]: dart.fnType(core.String, [], [dart.nullable(core.int)]), + [$toStringAsPrecision]: dart.fnType(core.String, [core.int]), + [$toRadixString]: dart.fnType(core.String, [core.int]), + [$_negate]: dart.fnType(_interceptors.JSNumber, []), + [$plus]: dart.fnType(_interceptors.JSNumber, [core.num]), + [$minus]: dart.fnType(_interceptors.JSNumber, [core.num]), + [$divide]: dart.fnType(core.double, [core.num]), + [$times]: dart.fnType(_interceptors.JSNumber, [core.num]), + [$modulo]: dart.fnType(_interceptors.JSNumber, [core.num]), + [_isInt32]: dart.fnType(core.bool, [core.num]), + [$floorDivide]: dart.fnType(core.int, [core.num]), + [_tdivSlow]: dart.fnType(core.int, [core.num]), + [$leftShift]: dart.fnType(core.int, [core.num]), + [_shlPositive]: dart.fnType(core.int, [core.num]), + [$rightShift]: dart.fnType(core.int, [core.num]), + [$tripleShift]: dart.fnType(core.int, [core.num]), + [_shrOtherPositive]: dart.fnType(core.int, [core.num]), + [_shrUnsigned]: dart.fnType(core.int, [core.num]), + [$bitAnd]: dart.fnType(core.int, [core.num]), + [$bitOr]: dart.fnType(core.int, [core.num]), + [$bitXor]: dart.fnType(core.int, [core.num]), + [$lessThan]: dart.fnType(core.bool, [core.num]), + [$greaterThan]: dart.fnType(core.bool, [core.num]), + [$lessOrEquals]: dart.fnType(core.bool, [core.num]), + [$greaterOrEquals]: dart.fnType(core.bool, [core.num]), + [$toUnsigned]: dart.fnType(core.int, [core.int]), + [$toSigned]: dart.fnType(core.int, [core.int]), + [$modPow]: dart.fnType(core.int, [core.int, core.int]), + [$modInverse]: dart.fnType(core.int, [core.int]), + [$gcd]: dart.fnType(core.int, [core.int]), + [$bitNot]: dart.fnType(core.int, []) +})); +dart.setGetterSignature(_interceptors.JSNumber, () => ({ + __proto__: dart.getGetters(_interceptors.JSNumber.__proto__), + [$isNegative]: core.bool, + [$isNaN]: core.bool, + [$isInfinite]: core.bool, + [$isFinite]: core.bool, + [$sign]: _interceptors.JSNumber, + [$isEven]: core.bool, + [$isOdd]: core.bool, + [$bitLength]: core.int +})); +dart.setLibraryUri(_interceptors.JSNumber, I[16]); +dart.defineLazy(_interceptors.JSNumber, { + /*_interceptors.JSNumber._MIN_INT32*/get _MIN_INT32() { + return -2147483648; + }, + /*_interceptors.JSNumber._MAX_INT32*/get _MAX_INT32() { + return 2147483647; + } +}, false); +dart.definePrimitiveHashCode(_interceptors.JSNumber.prototype); +dart.registerExtension("Number", _interceptors.JSNumber); +var _defaultSplit = dart.privateName(_interceptors, "_defaultSplit"); +_interceptors.JSString = class JSString extends _interceptors.Interceptor { + [$codeUnitAt](index) { + if (index == null) dart.argumentError(index); + let len = this.length; + if (index < 0 || index >= len) { + dart.throw(new core.IndexError.new(index, this, "index", null, len)); + } + return this.charCodeAt(index); + } + [$allMatches](string, start = 0) { + if (string == null) dart.argumentError(string); + if (start == null) dart.argumentError(start); + let len = string.length; + if (0 > start || start > len) { + dart.throw(new core.RangeError.range(start, 0, len)); + } + return _js_helper.allMatchesInStringUnchecked(this, string, start); + } + [$matchAsPrefix](string, start = 0) { + if (string == null) dart.argumentError(string); + if (start == null) dart.argumentError(start); + let stringLength = string.length; + if (start < 0 || start > stringLength) { + dart.throw(new core.RangeError.range(start, 0, stringLength)); + } + let thisLength = this.length; + if (start + thisLength > stringLength) return null; + for (let i = 0; i < thisLength; i = i + 1) { + if (string[$codeUnitAt](start + i) !== this[$codeUnitAt](i)) { + return null; + } + } + return new _js_helper.StringMatch.new(start, string, this); + } + [$plus](other) { + if (other == null) dart.argumentError(other); + return this + other; + } + [$endsWith](other) { + if (other == null) dart.argumentError(other); + let otherLength = other.length; + let thisLength = this.length; + if (otherLength > thisLength) return false; + return other === this[$substring](thisLength - otherLength); + } + [$replaceAll](from, to) { + if (from == null) dart.nullFailed(I[20], 67, 29, "from"); + if (to == null) dart.argumentError(to); + return _js_helper.stringReplaceAllUnchecked(this, from, to); + } + [$replaceAllMapped](from, convert) { + if (from == null) dart.nullFailed(I[20], 72, 35, "from"); + if (convert == null) dart.nullFailed(I[20], 72, 64, "convert"); + return this[$splitMapJoin](from, {onMatch: convert}); + } + [$splitMapJoin](from, opts) { + if (from == null) dart.nullFailed(I[20], 77, 31, "from"); + let onMatch = opts && 'onMatch' in opts ? opts.onMatch : null; + let onNonMatch = opts && 'onNonMatch' in opts ? opts.onNonMatch : null; + return _js_helper.stringReplaceAllFuncUnchecked(this, from, onMatch, onNonMatch); + } + [$replaceFirst](from, to, startIndex = 0) { + if (from == null) dart.nullFailed(I[20], 83, 31, "from"); + if (to == null) dart.argumentError(to); + if (startIndex == null) dart.argumentError(startIndex); + core.RangeError.checkValueInInterval(startIndex, 0, this.length, "startIndex"); + return _js_helper.stringReplaceFirstUnchecked(this, from, to, startIndex); + } + [$replaceFirstMapped](from, replace, startIndex = 0) { + if (from == null) dart.nullFailed(I[20], 91, 15, "from"); + if (replace == null) dart.argumentError(replace); + if (startIndex == null) dart.argumentError(startIndex); + core.RangeError.checkValueInInterval(startIndex, 0, this.length, "startIndex"); + return _js_helper.stringReplaceFirstMappedUnchecked(this, from, replace, startIndex); + } + [$split](pattern) { + if (pattern == null) dart.argumentError(pattern); + if (typeof pattern == 'string') { + return T$.JSArrayOfString().of(this.split(pattern)); + } else if (_js_helper.JSSyntaxRegExp.is(pattern) && _js_helper.regExpCaptureCount(pattern) === 0) { + let re = _js_helper.regExpGetNative(pattern); + return T$.JSArrayOfString().of(this.split(re)); + } else { + return this[_defaultSplit](pattern); + } + } + [$replaceRange](start, end, replacement) { + if (start == null) dart.argumentError(start); + if (replacement == null) dart.argumentError(replacement); + let e = core.RangeError.checkValidRange(start, end, this.length); + return _js_helper.stringReplaceRangeUnchecked(this, start, e, replacement); + } + [_defaultSplit](pattern) { + if (pattern == null) dart.nullFailed(I[20], 117, 38, "pattern"); + let result = T$.JSArrayOfString().of([]); + let start = 0; + let length = 1; + for (let match of pattern[$allMatches](this)) { + let matchStart = match.start; + let matchEnd = match.end; + length = matchEnd - matchStart; + if (length === 0 && start === matchStart) { + continue; + } + let end = matchStart; + result[$add](this[$substring](start, end)); + start = matchEnd; + } + if (start < this.length || length > 0) { + result[$add](this[$substring](start)); + } + return result; + } + [$startsWith](pattern, index = 0) { + if (pattern == null) dart.nullFailed(I[20], 148, 27, "pattern"); + if (index == null) dart.argumentError(index); + let length = this.length; + if (index < 0 || index > length) { + dart.throw(new core.RangeError.range(index, 0, this.length)); + } + if (typeof pattern == 'string') { + let other = pattern; + let otherLength = other.length; + let endIndex = index + otherLength; + if (endIndex > length) return false; + return other === this.substring(index, endIndex); + } + return pattern[$matchAsPrefix](this, index) != null; + } + [$substring](startIndex, _endIndex = null) { + let t21; + if (startIndex == null) dart.argumentError(startIndex); + let length = this.length; + let endIndex = (t21 = _endIndex, t21 == null ? length : t21); + if (startIndex < 0) dart.throw(new core.RangeError.value(startIndex)); + if (startIndex > dart.notNull(endIndex)) dart.throw(new core.RangeError.value(startIndex)); + if (dart.notNull(endIndex) > length) dart.throw(new core.RangeError.value(endIndex)); + return this.substring(startIndex, endIndex); + } + [$toLowerCase]() { + return this.toLowerCase(); + } + [$toUpperCase]() { + return this.toUpperCase(); + } + static _isWhitespace(codeUnit) { + if (codeUnit < 256) { + switch (codeUnit) { + case 9: + case 10: + case 11: + case 12: + case 13: + case 32: + case 133: + case 160: + { + return true; + } + default: + { + return false; + } + } + } + switch (codeUnit) { + case 5760: + case 8192: + case 8193: + case 8194: + case 8195: + case 8196: + case 8197: + case 8198: + case 8199: + case 8200: + case 8201: + case 8202: + case 8232: + case 8233: + case 8239: + case 8287: + case 12288: + case 65279: + { + return true; + } + default: + { + return false; + } + } + } + static _skipLeadingWhitespace(string, index) { + if (string == null) dart.nullFailed(I[20], 247, 44, "string"); + if (index == null) dart.argumentError(index); + let stringLength = string.length; + while (index < stringLength) { + let codeUnit = string[$codeUnitAt](index); + if (codeUnit !== 32 && codeUnit !== 13 && !_interceptors.JSString._isWhitespace(codeUnit)) { + break; + } + index = index + 1; + } + return index; + } + static _skipTrailingWhitespace(string, index) { + if (string == null) dart.nullFailed(I[20], 266, 45, "string"); + if (index == null) dart.argumentError(index); + while (index > 0) { + let codeUnit = string[$codeUnitAt](index - 1); + if (codeUnit !== 32 && codeUnit !== 13 && !_interceptors.JSString._isWhitespace(codeUnit)) { + break; + } + index = index - 1; + } + return index; + } + [$trim]() { + let result = this.trim(); + let length = result.length; + if (length === 0) return result; + let firstCode = result[$codeUnitAt](0); + let startIndex = 0; + if (firstCode === 133) { + startIndex = _interceptors.JSString._skipLeadingWhitespace(result, 1); + if (startIndex === length) return ""; + } + let endIndex = length; + let lastCode = result[$codeUnitAt](endIndex - 1); + if (lastCode === 133) { + endIndex = _interceptors.JSString._skipTrailingWhitespace(result, endIndex - 1); + } + if (startIndex === 0 && endIndex === length) return result; + return result.substring(startIndex, endIndex); + } + [$trimLeft]() { + let result = null; + let startIndex = 0; + if (typeof this.trimLeft != "undefined") { + result = this.trimLeft(); + if (result.length === 0) return result; + let firstCode = result[$codeUnitAt](0); + if (firstCode === 133) { + startIndex = _interceptors.JSString._skipLeadingWhitespace(result, 1); + } + } else { + result = this; + startIndex = _interceptors.JSString._skipLeadingWhitespace(this, 0); + } + if (startIndex === 0) return result; + if (startIndex === result.length) return ""; + return result.substring(startIndex); + } + [$trimRight]() { + let result = null; + let endIndex = 0; + if (typeof this.trimRight != "undefined") { + result = this.trimRight(); + endIndex = result.length; + if (endIndex === 0) return result; + let lastCode = result[$codeUnitAt](endIndex - 1); + if (lastCode === 133) { + endIndex = _interceptors.JSString._skipTrailingWhitespace(result, endIndex - 1); + } + } else { + result = this; + endIndex = _interceptors.JSString._skipTrailingWhitespace(this, this.length); + } + if (endIndex === result.length) return result; + if (endIndex === 0) return ""; + return result.substring(0, endIndex); + } + [$times](times) { + if (times == null) dart.argumentError(times); + if (0 >= times) return ""; + if (times === 1 || this.length === 0) return this; + if (times !== times >>> 0) { + dart.throw(C[17] || CT.C17); + } + let result = ""; + let s = this; + while (true) { + if ((times & 1) === 1) result = s + result; + times = times >>> 1; + if (times === 0) break; + s = s + s; + } + return result; + } + [$padLeft](width, padding = " ") { + if (width == null) dart.argumentError(width); + if (padding == null) dart.nullFailed(I[20], 390, 48, "padding"); + let delta = width - this.length; + if (delta <= 0) return this; + return padding[$times](delta) + this; + } + [$padRight](width, padding = " ") { + if (width == null) dart.argumentError(width); + if (padding == null) dart.nullFailed(I[20], 397, 49, "padding"); + let delta = width - this.length; + if (delta <= 0) return this; + return this[$plus](padding[$times](delta)); + } + get [$codeUnits]() { + return new _internal.CodeUnits.new(this); + } + get [$runes]() { + return new core.Runes.new(this); + } + [$indexOf](pattern, start = 0) { + if (pattern == null) dart.argumentError(pattern); + if (start == null) dart.argumentError(start); + if (start < 0 || start > this.length) { + dart.throw(new core.RangeError.range(start, 0, this.length)); + } + if (typeof pattern == 'string') { + return _js_helper.stringIndexOfStringUnchecked(this, pattern, start); + } + if (_js_helper.JSSyntaxRegExp.is(pattern)) { + let re = pattern; + let match = _js_helper.firstMatchAfter(re, this, start); + return match == null ? -1 : match.start; + } + let length = this.length; + for (let i = start; i <= length; i = i + 1) { + if (pattern[$matchAsPrefix](this, i) != null) return i; + } + return -1; + } + [$lastIndexOf](pattern, _start = null) { + let t21; + if (pattern == null) dart.argumentError(pattern); + let length = this.length; + let start = (t21 = _start, t21 == null ? length : t21); + if (dart.notNull(start) < 0 || dart.notNull(start) > length) { + dart.throw(new core.RangeError.range(start, 0, length)); + } + if (typeof pattern == 'string') { + let other = pattern; + if (dart.notNull(start) + other.length > length) { + start = length - other.length; + } + return _js_helper.stringLastIndexOfUnchecked(this, other, start); + } + for (let i = start; dart.notNull(i) >= 0; i = dart.notNull(i) - 1) { + if (pattern[$matchAsPrefix](this, i) != null) return i; + } + return -1; + } + [$contains](other, startIndex = 0) { + if (other == null) dart.argumentError(other); + if (startIndex == null) dart.argumentError(startIndex); + if (startIndex < 0 || startIndex > this.length) { + dart.throw(new core.RangeError.range(startIndex, 0, this.length)); + } + return _js_helper.stringContainsUnchecked(this, other, startIndex); + } + get [$isEmpty]() { + return this.length === 0; + } + get [$isNotEmpty]() { + return !this[$isEmpty]; + } + [$compareTo](other) { + core.String.as(other); + if (other == null) dart.argumentError(other); + return this === other ? 0 : this < other ? -1 : 1; + } + [$toString]() { + return this; + } + get [$hashCode]() { + let hash = 0; + let length = this.length; + for (let i = 0; i < length; i = i + 1) { + hash = 536870911 & hash + this.charCodeAt(i); + hash = 536870911 & hash + ((524287 & hash) << 10); + hash = hash ^ hash >> 6; + } + hash = 536870911 & hash + ((67108863 & hash) << 3); + hash = hash ^ hash >> 11; + return 536870911 & hash + ((16383 & hash) << 15); + } + get [$runtimeType]() { + return dart.wrapType(core.String); + } + get [$length]() { + return this.length; + } + [$_get](index) { + if (index == null) dart.argumentError(index); + if (index >= this.length || index < 0) { + dart.throw(_js_helper.diagnoseIndexError(this, index)); + } + return this[index]; + } +}; +(_interceptors.JSString.new = function() { + _interceptors.JSString.__proto__.new.call(this); + ; +}).prototype = _interceptors.JSString.prototype; +dart.addTypeTests(_interceptors.JSString); +dart.addTypeCaches(_interceptors.JSString); +_interceptors.JSString[dart.implements] = () => [core.String, _interceptors.JSIndexable$(core.String)]; +dart.setMethodSignature(_interceptors.JSString, () => ({ + __proto__: dart.getMethods(_interceptors.JSString.__proto__), + [$codeUnitAt]: dart.fnType(core.int, [core.int]), + [$allMatches]: dart.fnType(core.Iterable$(core.Match), [core.String], [core.int]), + [$matchAsPrefix]: dart.fnType(dart.nullable(core.Match), [core.String], [core.int]), + [$plus]: dart.fnType(core.String, [core.String]), + [$endsWith]: dart.fnType(core.bool, [core.String]), + [$replaceAll]: dart.fnType(core.String, [core.Pattern, core.String]), + [$replaceAllMapped]: dart.fnType(core.String, [core.Pattern, dart.fnType(core.String, [core.Match])]), + [$splitMapJoin]: dart.fnType(core.String, [core.Pattern], {onMatch: dart.nullable(dart.fnType(core.String, [core.Match])), onNonMatch: dart.nullable(dart.fnType(core.String, [core.String]))}, {}), + [$replaceFirst]: dart.fnType(core.String, [core.Pattern, core.String], [core.int]), + [$replaceFirstMapped]: dart.fnType(core.String, [core.Pattern, dart.fnType(core.String, [core.Match])], [core.int]), + [$split]: dart.fnType(core.List$(core.String), [core.Pattern]), + [$replaceRange]: dart.fnType(core.String, [core.int, dart.nullable(core.int), core.String]), + [_defaultSplit]: dart.fnType(core.List$(core.String), [core.Pattern]), + [$startsWith]: dart.fnType(core.bool, [core.Pattern], [core.int]), + [$substring]: dart.fnType(core.String, [core.int], [dart.nullable(core.int)]), + [$toLowerCase]: dart.fnType(core.String, []), + [$toUpperCase]: dart.fnType(core.String, []), + [$trim]: dart.fnType(core.String, []), + [$trimLeft]: dart.fnType(core.String, []), + [$trimRight]: dart.fnType(core.String, []), + [$times]: dart.fnType(core.String, [core.int]), + [$padLeft]: dart.fnType(core.String, [core.int], [core.String]), + [$padRight]: dart.fnType(core.String, [core.int], [core.String]), + [$indexOf]: dart.fnType(core.int, [core.Pattern], [core.int]), + [$lastIndexOf]: dart.fnType(core.int, [core.Pattern], [dart.nullable(core.int)]), + [$contains]: dart.fnType(core.bool, [core.Pattern], [core.int]), + [$compareTo]: dart.fnType(core.int, [dart.nullable(core.Object)]), + [$_get]: dart.fnType(core.String, [core.int]) +})); +dart.setGetterSignature(_interceptors.JSString, () => ({ + __proto__: dart.getGetters(_interceptors.JSString.__proto__), + [$codeUnits]: core.List$(core.int), + [$runes]: core.Runes, + [$isEmpty]: core.bool, + [$isNotEmpty]: core.bool, + [$length]: core.int +})); +dart.setLibraryUri(_interceptors.JSString, I[16]); +dart.definePrimitiveHashCode(_interceptors.JSString.prototype); +dart.registerExtension("String", _interceptors.JSString); +_interceptors.getInterceptor = function getInterceptor(obj) { + return obj; +}; +_interceptors.findInterceptorConstructorForType = function findInterceptorConstructorForType(type) { +}; +_interceptors.findConstructorForNativeSubclassType = function findConstructorForNativeSubclassType(type, name) { + if (name == null) dart.nullFailed(I[17], 239, 57, "name"); +}; +_interceptors.getNativeInterceptor = function getNativeInterceptor(object) { +}; +_interceptors.setDispatchProperty = function setDispatchProperty(object, value) { +}; +_interceptors.findInterceptorForType = function findInterceptorForType(type) { +}; +dart.defineLazy(_interceptors, { + /*_interceptors.jsNull*/get jsNull() { + return new _interceptors.JSNull.new(); + } +}, false); +var _string$ = dart.privateName(_internal, "_string"); +var _closeGap = dart.privateName(collection, "_closeGap"); +var _filter = dart.privateName(collection, "_filter"); +const _is_ListMixin_default = Symbol('_is_ListMixin_default'); +collection.ListMixin$ = dart.generic(E => { + var ListIteratorOfE = () => (ListIteratorOfE = dart.constFn(_internal.ListIterator$(E)))(); + var IterableOfE = () => (IterableOfE = dart.constFn(core.Iterable$(E)))(); + var FollowedByIterableOfE = () => (FollowedByIterableOfE = dart.constFn(_internal.FollowedByIterable$(E)))(); + var VoidToE = () => (VoidToE = dart.constFn(dart.fnType(E, [])))(); + var VoidToNE = () => (VoidToNE = dart.constFn(dart.nullable(VoidToE())))(); + var ETodynamic = () => (ETodynamic = dart.constFn(dart.fnType(dart.dynamic, [E])))(); + var WhereIterableOfE = () => (WhereIterableOfE = dart.constFn(_internal.WhereIterable$(E)))(); + var EAndEToE = () => (EAndEToE = dart.constFn(dart.fnType(E, [E, E])))(); + var SubListIterableOfE = () => (SubListIterableOfE = dart.constFn(_internal.SubListIterable$(E)))(); + var SkipWhileIterableOfE = () => (SkipWhileIterableOfE = dart.constFn(_internal.SkipWhileIterable$(E)))(); + var TakeWhileIterableOfE = () => (TakeWhileIterableOfE = dart.constFn(_internal.TakeWhileIterable$(E)))(); + var ListOfE = () => (ListOfE = dart.constFn(core.List$(E)))(); + var _HashSetOfE = () => (_HashSetOfE = dart.constFn(collection._HashSet$(E)))(); + var JSArrayOfE = () => (JSArrayOfE = dart.constFn(_interceptors.JSArray$(E)))(); + var ListMapViewOfE = () => (ListMapViewOfE = dart.constFn(_internal.ListMapView$(E)))(); + var EN = () => (EN = dart.constFn(dart.nullable(E)))(); + var ReversedListIterableOfE = () => (ReversedListIterableOfE = dart.constFn(_internal.ReversedListIterable$(E)))(); + class ListMixin extends core.Object { + get iterator() { + return new (ListIteratorOfE()).new(this); + } + [Symbol.iterator]() { + return new dart.JsIterator(this[$iterator]); + } + elementAt(index) { + if (index == null) dart.nullFailed(I[23], 78, 19, "index"); + return this[$_get](index); + } + followedBy(other) { + IterableOfE().as(other); + if (other == null) dart.nullFailed(I[23], 80, 38, "other"); + return FollowedByIterableOfE().firstEfficient(this, other); + } + forEach(action) { + if (action == null) dart.nullFailed(I[23], 83, 21, "action"); + let length = this[$length]; + for (let i = 0; i < dart.notNull(length); i = i + 1) { + action(this[$_get](i)); + if (length != this[$length]) { + dart.throw(new core.ConcurrentModificationError.new(this)); + } + } + } + get isEmpty() { + return this[$length] === 0; + } + get isNotEmpty() { + return !dart.test(this[$isEmpty]); + } + get first() { + if (this[$length] === 0) dart.throw(_internal.IterableElementError.noElement()); + return this[$_get](0); + } + set first(value) { + E.as(value); + if (this[$length] === 0) dart.throw(_internal.IterableElementError.noElement()); + this[$_set](0, value); + } + get last() { + if (this[$length] === 0) dart.throw(_internal.IterableElementError.noElement()); + return this[$_get](dart.notNull(this[$length]) - 1); + } + set last(value) { + E.as(value); + if (this[$length] === 0) dart.throw(_internal.IterableElementError.noElement()); + this[$_set](dart.notNull(this[$length]) - 1, value); + } + get single() { + if (this[$length] === 0) dart.throw(_internal.IterableElementError.noElement()); + if (dart.notNull(this[$length]) > 1) dart.throw(_internal.IterableElementError.tooMany()); + return this[$_get](0); + } + contains(element) { + let length = this[$length]; + for (let i = 0; i < dart.notNull(length); i = i + 1) { + if (dart.equals(this[$_get](i), element)) return true; + if (length != this[$length]) { + dart.throw(new core.ConcurrentModificationError.new(this)); + } + } + return false; + } + every(test) { + if (test == null) dart.nullFailed(I[23], 135, 19, "test"); + let length = this[$length]; + for (let i = 0; i < dart.notNull(length); i = i + 1) { + if (!dart.test(test(this[$_get](i)))) return false; + if (length != this[$length]) { + dart.throw(new core.ConcurrentModificationError.new(this)); + } + } + return true; + } + any(test) { + if (test == null) dart.nullFailed(I[23], 146, 17, "test"); + let length = this[$length]; + for (let i = 0; i < dart.notNull(length); i = i + 1) { + if (dart.test(test(this[$_get](i)))) return true; + if (length != this[$length]) { + dart.throw(new core.ConcurrentModificationError.new(this)); + } + } + return false; + } + firstWhere(test, opts) { + if (test == null) dart.nullFailed(I[23], 157, 21, "test"); + let orElse = opts && 'orElse' in opts ? opts.orElse : null; + VoidToNE().as(orElse); + let length = this[$length]; + for (let i = 0; i < dart.notNull(length); i = i + 1) { + let element = this[$_get](i); + if (dart.test(test(element))) return element; + if (length != this[$length]) { + dart.throw(new core.ConcurrentModificationError.new(this)); + } + } + if (orElse != null) return orElse(); + dart.throw(_internal.IterableElementError.noElement()); + } + lastWhere(test, opts) { + if (test == null) dart.nullFailed(I[23], 170, 20, "test"); + let orElse = opts && 'orElse' in opts ? opts.orElse : null; + VoidToNE().as(orElse); + let length = this[$length]; + for (let i = dart.notNull(length) - 1; i >= 0; i = i - 1) { + let element = this[$_get](i); + if (dart.test(test(element))) return element; + if (length != this[$length]) { + dart.throw(new core.ConcurrentModificationError.new(this)); + } + } + if (orElse != null) return orElse(); + dart.throw(_internal.IterableElementError.noElement()); + } + singleWhere(test, opts) { + if (test == null) dart.nullFailed(I[23], 183, 22, "test"); + let orElse = opts && 'orElse' in opts ? opts.orElse : null; + VoidToNE().as(orElse); + let length = this[$length]; + let match = null; + let match$35isSet = false; + function match$35get() { + return match$35isSet ? match : dart.throw(new _internal.LateError.localNI("match")); + } + dart.fn(match$35get, VoidToE()); + function match$35set(t24) { + match$35isSet = true; + return match = t24; + } + dart.fn(match$35set, ETodynamic()); + let matchFound = false; + for (let i = 0; i < dart.notNull(length); i = i + 1) { + let element = this[$_get](i); + if (dart.test(test(element))) { + if (matchFound) { + dart.throw(_internal.IterableElementError.tooMany()); + } + matchFound = true; + match$35set(element); + } + if (length != this[$length]) { + dart.throw(new core.ConcurrentModificationError.new(this)); + } + } + if (matchFound) return match$35get(); + if (orElse != null) return orElse(); + dart.throw(_internal.IterableElementError.noElement()); + } + join(separator = "") { + let t26; + if (separator == null) dart.nullFailed(I[23], 205, 23, "separator"); + if (this[$length] === 0) return ""; + let buffer = (t26 = new core.StringBuffer.new(), (() => { + t26.writeAll(this, separator); + return t26; + })()); + return dart.toString(buffer); + } + where(test) { + if (test == null) dart.nullFailed(I[23], 211, 26, "test"); + return new (WhereIterableOfE()).new(this, test); + } + whereType(T) { + return new (_internal.WhereTypeIterable$(T)).new(this); + } + map(T, f) { + if (f == null) dart.nullFailed(I[23], 215, 24, "f"); + return new (_internal.MappedListIterable$(E, T)).new(this, f); + } + expand(T, f) { + if (f == null) dart.nullFailed(I[23], 217, 37, "f"); + return new (_internal.ExpandIterable$(E, T)).new(this, f); + } + reduce(combine) { + EAndEToE().as(combine); + if (combine == null) dart.nullFailed(I[23], 220, 14, "combine"); + let length = this[$length]; + if (length === 0) dart.throw(_internal.IterableElementError.noElement()); + let value = this[$_get](0); + for (let i = 1; i < dart.notNull(length); i = i + 1) { + value = combine(value, this[$_get](i)); + if (length != this[$length]) { + dart.throw(new core.ConcurrentModificationError.new(this)); + } + } + return value; + } + fold(T, initialValue, combine) { + if (combine == null) dart.nullFailed(I[23], 233, 31, "combine"); + let value = initialValue; + let length = this[$length]; + for (let i = 0; i < dart.notNull(length); i = i + 1) { + value = combine(value, this[$_get](i)); + if (length != this[$length]) { + dart.throw(new core.ConcurrentModificationError.new(this)); + } + } + return value; + } + skip(count) { + if (count == null) dart.nullFailed(I[23], 245, 24, "count"); + return new (SubListIterableOfE()).new(this, count, null); + } + skipWhile(test) { + if (test == null) dart.nullFailed(I[23], 247, 30, "test"); + return new (SkipWhileIterableOfE()).new(this, test); + } + take(count) { + if (count == null) dart.nullFailed(I[23], 251, 24, "count"); + return new (SubListIterableOfE()).new(this, 0, _internal.checkNotNullable(core.int, count, "count")); + } + takeWhile(test) { + if (test == null) dart.nullFailed(I[23], 254, 30, "test"); + return new (TakeWhileIterableOfE()).new(this, test); + } + toList(opts) { + let growable = opts && 'growable' in opts ? opts.growable : true; + if (growable == null) dart.nullFailed(I[23], 258, 24, "growable"); + if (dart.test(this[$isEmpty])) return ListOfE().empty({growable: growable}); + let first = this[$_get](0); + let result = ListOfE().filled(this[$length], first, {growable: growable}); + for (let i = 1; i < dart.notNull(this[$length]); i = i + 1) { + result[$_set](i, this[$_get](i)); + } + return result; + } + toSet() { + let result = new (_HashSetOfE()).new(); + for (let i = 0; i < dart.notNull(this[$length]); i = i + 1) { + result.add(this[$_get](i)); + } + return result; + } + add(element) { + let t26; + E.as(element); + this[$_set]((t26 = this[$length], this[$length] = dart.notNull(t26) + 1, t26), element); + } + addAll(iterable) { + IterableOfE().as(iterable); + if (iterable == null) dart.nullFailed(I[23], 282, 27, "iterable"); + let i = this[$length]; + for (let element of iterable) { + if (!(this[$length] == i || dart.throw(new core.ConcurrentModificationError.new(this)))) dart.assertFailed(null, I[23], 285, 14, "this.length == i || (throw ConcurrentModificationError(this))"); + this[$add](element); + i = dart.notNull(i) + 1; + } + } + remove(element) { + for (let i = 0; i < dart.notNull(this[$length]); i = i + 1) { + if (dart.equals(this[$_get](i), element)) { + this[_closeGap](i, i + 1); + return true; + } + } + return false; + } + [_closeGap](start, end) { + if (start == null) dart.nullFailed(I[23], 303, 22, "start"); + if (end == null) dart.nullFailed(I[23], 303, 33, "end"); + let length = this[$length]; + if (!(0 <= dart.notNull(start))) dart.assertFailed(null, I[23], 305, 12, "0 <= start"); + if (!(dart.notNull(start) < dart.notNull(end))) dart.assertFailed(null, I[23], 306, 12, "start < end"); + if (!(dart.notNull(end) <= dart.notNull(length))) dart.assertFailed(null, I[23], 307, 12, "end <= length"); + let size = dart.notNull(end) - dart.notNull(start); + for (let i = end; dart.notNull(i) < dart.notNull(length); i = dart.notNull(i) + 1) { + this[$_set](dart.notNull(i) - size, this[$_get](i)); + } + this[$length] = dart.notNull(length) - size; + } + removeWhere(test) { + if (test == null) dart.nullFailed(I[23], 315, 25, "test"); + this[_filter](test, false); + } + retainWhere(test) { + if (test == null) dart.nullFailed(I[23], 319, 25, "test"); + this[_filter](test, true); + } + [_filter](test, retainMatching) { + if (test == null) dart.nullFailed(I[23], 323, 21, "test"); + if (retainMatching == null) dart.nullFailed(I[23], 323, 43, "retainMatching"); + let retained = JSArrayOfE().of([]); + let length = this[$length]; + for (let i = 0; i < dart.notNull(length); i = i + 1) { + let element = this[$_get](i); + if (test(element) == retainMatching) { + retained[$add](element); + } + if (length != this[$length]) { + dart.throw(new core.ConcurrentModificationError.new(this)); + } + } + if (retained[$length] != this[$length]) { + this[$setRange](0, retained[$length], retained); + this[$length] = retained[$length]; + } + } + clear() { + this[$length] = 0; + } + cast(R) { + return core.List.castFrom(E, R, this); + } + removeLast() { + if (this[$length] === 0) { + dart.throw(_internal.IterableElementError.noElement()); + } + let result = this[$_get](dart.notNull(this[$length]) - 1); + this[$length] = dart.notNull(this[$length]) - 1; + return result; + } + sort(compare = null) { + let t26; + _internal.Sort.sort(E, this, (t26 = compare, t26 == null ? C[18] || CT.C18 : t26)); + } + static _compareAny(a, b) { + return core.Comparable.compare(core.Comparable.as(a), core.Comparable.as(b)); + } + shuffle(random = null) { + random == null ? random = math.Random.new() : null; + if (random == null) dart.throw("!"); + let length = this[$length]; + while (dart.notNull(length) > 1) { + let pos = random.nextInt(length); + length = dart.notNull(length) - 1; + let tmp = this[$_get](length); + this[$_set](length, this[$_get](pos)); + this[$_set](pos, tmp); + } + } + asMap() { + return new (ListMapViewOfE()).new(this); + } + ['+'](other) { + ListOfE().as(other); + if (other == null) dart.nullFailed(I[23], 381, 30, "other"); + return (() => { + let t26 = ListOfE().of(this); + t26[$addAll](other); + return t26; + })(); + } + sublist(start, end = null) { + if (start == null) dart.nullFailed(I[23], 383, 23, "start"); + let listLength = this[$length]; + end == null ? end = listLength : null; + if (end == null) dart.throw("!"); + core.RangeError.checkValidRange(start, end, listLength); + return ListOfE().from(this[$getRange](start, end)); + } + getRange(start, end) { + if (start == null) dart.nullFailed(I[23], 392, 28, "start"); + if (end == null) dart.nullFailed(I[23], 392, 39, "end"); + core.RangeError.checkValidRange(start, end, this[$length]); + return new (SubListIterableOfE()).new(this, start, end); + } + removeRange(start, end) { + if (start == null) dart.nullFailed(I[23], 397, 24, "start"); + if (end == null) dart.nullFailed(I[23], 397, 35, "end"); + core.RangeError.checkValidRange(start, end, this[$length]); + if (dart.notNull(end) > dart.notNull(start)) { + this[_closeGap](start, end); + } + } + fillRange(start, end, fill = null) { + if (start == null) dart.nullFailed(I[23], 404, 22, "start"); + if (end == null) dart.nullFailed(I[23], 404, 33, "end"); + EN().as(fill); + let value = E.as(fill); + core.RangeError.checkValidRange(start, end, this[$length]); + for (let i = start; dart.notNull(i) < dart.notNull(end); i = dart.notNull(i) + 1) { + this[$_set](i, value); + } + } + setRange(start, end, iterable, skipCount = 0) { + if (start == null) dart.nullFailed(I[23], 414, 21, "start"); + if (end == null) dart.nullFailed(I[23], 414, 32, "end"); + IterableOfE().as(iterable); + if (iterable == null) dart.nullFailed(I[23], 414, 49, "iterable"); + if (skipCount == null) dart.nullFailed(I[23], 414, 64, "skipCount"); + core.RangeError.checkValidRange(start, end, this[$length]); + let length = dart.notNull(end) - dart.notNull(start); + if (length === 0) return; + core.RangeError.checkNotNegative(skipCount, "skipCount"); + let otherList = null; + let otherStart = null; + if (ListOfE().is(iterable)) { + otherList = iterable; + otherStart = skipCount; + } else { + otherList = iterable[$skip](skipCount)[$toList]({growable: false}); + otherStart = 0; + } + if (dart.notNull(otherStart) + length > dart.notNull(otherList[$length])) { + dart.throw(_internal.IterableElementError.tooFew()); + } + if (dart.notNull(otherStart) < dart.notNull(start)) { + for (let i = length - 1; i >= 0; i = i - 1) { + this[$_set](dart.notNull(start) + i, otherList[$_get](dart.notNull(otherStart) + i)); + } + } else { + for (let i = 0; i < length; i = i + 1) { + this[$_set](dart.notNull(start) + i, otherList[$_get](dart.notNull(otherStart) + i)); + } + } + } + replaceRange(start, end, newContents) { + if (start == null) dart.nullFailed(I[23], 445, 25, "start"); + if (end == null) dart.nullFailed(I[23], 445, 36, "end"); + IterableOfE().as(newContents); + if (newContents == null) dart.nullFailed(I[23], 445, 53, "newContents"); + core.RangeError.checkValidRange(start, end, this[$length]); + if (start == this[$length]) { + this[$addAll](newContents); + return; + } + if (!_internal.EfficientLengthIterable.is(newContents)) { + newContents = newContents[$toList](); + } + let removeLength = dart.notNull(end) - dart.notNull(start); + let insertLength = newContents[$length]; + if (removeLength >= dart.notNull(insertLength)) { + let insertEnd = dart.notNull(start) + dart.notNull(insertLength); + this[$setRange](start, insertEnd, newContents); + if (removeLength > dart.notNull(insertLength)) { + this[_closeGap](insertEnd, end); + } + } else if (end == this[$length]) { + let i = start; + for (let element of newContents) { + if (dart.notNull(i) < dart.notNull(end)) { + this[$_set](i, element); + } else { + this[$add](element); + } + i = dart.notNull(i) + 1; + } + } else { + let delta = dart.notNull(insertLength) - removeLength; + let oldLength = this[$length]; + let insertEnd = dart.notNull(start) + dart.notNull(insertLength); + for (let i = dart.notNull(oldLength) - delta; i < dart.notNull(oldLength); i = i + 1) { + this[$add](this[$_get](i > 0 ? i : 0)); + } + if (insertEnd < dart.notNull(oldLength)) { + this[$setRange](insertEnd, oldLength, this, end); + } + this[$setRange](start, insertEnd, newContents); + } + } + indexOf(element, start = 0) { + if (start == null) dart.nullFailed(I[23], 486, 37, "start"); + if (dart.notNull(start) < 0) start = 0; + for (let i = start; dart.notNull(i) < dart.notNull(this[$length]); i = dart.notNull(i) + 1) { + if (dart.equals(this[$_get](i), element)) return i; + } + return -1; + } + indexWhere(test, start = 0) { + if (test == null) dart.nullFailed(I[23], 494, 23, "test"); + if (start == null) dart.nullFailed(I[23], 494, 45, "start"); + if (dart.notNull(start) < 0) start = 0; + for (let i = start; dart.notNull(i) < dart.notNull(this[$length]); i = dart.notNull(i) + 1) { + if (dart.test(test(this[$_get](i)))) return i; + } + return -1; + } + lastIndexOf(element, start = null) { + if (start == null || dart.notNull(start) >= dart.notNull(this[$length])) start = dart.notNull(this[$length]) - 1; + if (start == null) dart.throw("!"); + for (let i = start; dart.notNull(i) >= 0; i = dart.notNull(i) - 1) { + if (dart.equals(this[$_get](i), element)) return i; + } + return -1; + } + lastIndexWhere(test, start = null) { + if (test == null) dart.nullFailed(I[23], 514, 27, "test"); + if (start == null || dart.notNull(start) >= dart.notNull(this[$length])) start = dart.notNull(this[$length]) - 1; + if (start == null) dart.throw("!"); + for (let i = start; dart.notNull(i) >= 0; i = dart.notNull(i) - 1) { + if (dart.test(test(this[$_get](i)))) return i; + } + return -1; + } + insert(index, element) { + if (index == null) dart.nullFailed(I[23], 526, 19, "index"); + E.as(element); + _internal.checkNotNullable(core.int, index, "index"); + let length = this[$length]; + core.RangeError.checkValueInInterval(index, 0, length, "index"); + this[$add](element); + if (index != length) { + this[$setRange](dart.notNull(index) + 1, dart.notNull(length) + 1, this, index); + this[$_set](index, element); + } + } + removeAt(index) { + if (index == null) dart.nullFailed(I[23], 537, 18, "index"); + let result = this[$_get](index); + this[_closeGap](index, dart.notNull(index) + 1); + return result; + } + insertAll(index, iterable) { + if (index == null) dart.nullFailed(I[23], 543, 22, "index"); + IterableOfE().as(iterable); + if (iterable == null) dart.nullFailed(I[23], 543, 41, "iterable"); + core.RangeError.checkValueInInterval(index, 0, this[$length], "index"); + if (index == this[$length]) { + this[$addAll](iterable); + return; + } + if (!_internal.EfficientLengthIterable.is(iterable) || iterable === this) { + iterable = iterable[$toList](); + } + let insertionLength = iterable[$length]; + if (insertionLength === 0) { + return; + } + let oldLength = this[$length]; + for (let i = dart.notNull(oldLength) - dart.notNull(insertionLength); i < dart.notNull(oldLength); i = i + 1) { + this[$add](this[$_get](i > 0 ? i : 0)); + } + if (iterable[$length] != insertionLength) { + this[$length] = dart.notNull(this[$length]) - dart.notNull(insertionLength); + dart.throw(new core.ConcurrentModificationError.new(iterable)); + } + let oldCopyStart = dart.notNull(index) + dart.notNull(insertionLength); + if (oldCopyStart < dart.notNull(oldLength)) { + this[$setRange](oldCopyStart, oldLength, this, index); + } + this[$setAll](index, iterable); + } + setAll(index, iterable) { + let t27; + if (index == null) dart.nullFailed(I[23], 576, 19, "index"); + IterableOfE().as(iterable); + if (iterable == null) dart.nullFailed(I[23], 576, 38, "iterable"); + if (core.List.is(iterable)) { + this[$setRange](index, dart.notNull(index) + dart.notNull(iterable[$length]), iterable); + } else { + for (let element of iterable) { + this[$_set]((t27 = index, index = dart.notNull(t27) + 1, t27), element); + } + } + } + get reversed() { + return new (ReversedListIterableOfE()).new(this); + } + toString() { + return collection.IterableBase.iterableToFullString(this, "[", "]"); + } + } + (ListMixin.new = function() { + ; + }).prototype = ListMixin.prototype; + ListMixin.prototype[dart.isList] = true; + dart.addTypeTests(ListMixin); + ListMixin.prototype[_is_ListMixin_default] = true; + dart.addTypeCaches(ListMixin); + ListMixin[dart.implements] = () => [core.List$(E)]; + dart.setMethodSignature(ListMixin, () => ({ + __proto__: dart.getMethods(ListMixin.__proto__), + elementAt: dart.fnType(E, [core.int]), + [$elementAt]: dart.fnType(E, [core.int]), + followedBy: dart.fnType(core.Iterable$(E), [dart.nullable(core.Object)]), + [$followedBy]: dart.fnType(core.Iterable$(E), [dart.nullable(core.Object)]), + forEach: dart.fnType(dart.void, [dart.fnType(dart.void, [E])]), + [$forEach]: dart.fnType(dart.void, [dart.fnType(dart.void, [E])]), + contains: dart.fnType(core.bool, [dart.nullable(core.Object)]), + [$contains]: dart.fnType(core.bool, [dart.nullable(core.Object)]), + every: dart.fnType(core.bool, [dart.fnType(core.bool, [E])]), + [$every]: dart.fnType(core.bool, [dart.fnType(core.bool, [E])]), + any: dart.fnType(core.bool, [dart.fnType(core.bool, [E])]), + [$any]: dart.fnType(core.bool, [dart.fnType(core.bool, [E])]), + firstWhere: dart.fnType(E, [dart.fnType(core.bool, [E])], {orElse: dart.nullable(core.Object)}, {}), + [$firstWhere]: dart.fnType(E, [dart.fnType(core.bool, [E])], {orElse: dart.nullable(core.Object)}, {}), + lastWhere: dart.fnType(E, [dart.fnType(core.bool, [E])], {orElse: dart.nullable(core.Object)}, {}), + [$lastWhere]: dart.fnType(E, [dart.fnType(core.bool, [E])], {orElse: dart.nullable(core.Object)}, {}), + singleWhere: dart.fnType(E, [dart.fnType(core.bool, [E])], {orElse: dart.nullable(core.Object)}, {}), + [$singleWhere]: dart.fnType(E, [dart.fnType(core.bool, [E])], {orElse: dart.nullable(core.Object)}, {}), + join: dart.fnType(core.String, [], [core.String]), + [$join]: dart.fnType(core.String, [], [core.String]), + where: dart.fnType(core.Iterable$(E), [dart.fnType(core.bool, [E])]), + [$where]: dart.fnType(core.Iterable$(E), [dart.fnType(core.bool, [E])]), + whereType: dart.gFnType(T => [core.Iterable$(T), []], T => [dart.nullable(core.Object)]), + [$whereType]: dart.gFnType(T => [core.Iterable$(T), []], T => [dart.nullable(core.Object)]), + map: dart.gFnType(T => [core.Iterable$(T), [dart.fnType(T, [E])]], T => [dart.nullable(core.Object)]), + [$map]: dart.gFnType(T => [core.Iterable$(T), [dart.fnType(T, [E])]], T => [dart.nullable(core.Object)]), + expand: dart.gFnType(T => [core.Iterable$(T), [dart.fnType(core.Iterable$(T), [E])]], T => [dart.nullable(core.Object)]), + [$expand]: dart.gFnType(T => [core.Iterable$(T), [dart.fnType(core.Iterable$(T), [E])]], T => [dart.nullable(core.Object)]), + reduce: dart.fnType(E, [dart.nullable(core.Object)]), + [$reduce]: dart.fnType(E, [dart.nullable(core.Object)]), + fold: dart.gFnType(T => [T, [T, dart.fnType(T, [T, E])]], T => [dart.nullable(core.Object)]), + [$fold]: dart.gFnType(T => [T, [T, dart.fnType(T, [T, E])]], T => [dart.nullable(core.Object)]), + skip: dart.fnType(core.Iterable$(E), [core.int]), + [$skip]: dart.fnType(core.Iterable$(E), [core.int]), + skipWhile: dart.fnType(core.Iterable$(E), [dart.fnType(core.bool, [E])]), + [$skipWhile]: dart.fnType(core.Iterable$(E), [dart.fnType(core.bool, [E])]), + take: dart.fnType(core.Iterable$(E), [core.int]), + [$take]: dart.fnType(core.Iterable$(E), [core.int]), + takeWhile: dart.fnType(core.Iterable$(E), [dart.fnType(core.bool, [E])]), + [$takeWhile]: dart.fnType(core.Iterable$(E), [dart.fnType(core.bool, [E])]), + toList: dart.fnType(core.List$(E), [], {growable: core.bool}, {}), + [$toList]: dart.fnType(core.List$(E), [], {growable: core.bool}, {}), + toSet: dart.fnType(core.Set$(E), []), + [$toSet]: dart.fnType(core.Set$(E), []), + add: dart.fnType(dart.void, [dart.nullable(core.Object)]), + [$add]: dart.fnType(dart.void, [dart.nullable(core.Object)]), + addAll: dart.fnType(dart.void, [dart.nullable(core.Object)]), + [$addAll]: dart.fnType(dart.void, [dart.nullable(core.Object)]), + remove: dart.fnType(core.bool, [dart.nullable(core.Object)]), + [$remove]: dart.fnType(core.bool, [dart.nullable(core.Object)]), + [_closeGap]: dart.fnType(dart.void, [core.int, core.int]), + removeWhere: dart.fnType(dart.void, [dart.fnType(core.bool, [E])]), + [$removeWhere]: dart.fnType(dart.void, [dart.fnType(core.bool, [E])]), + retainWhere: dart.fnType(dart.void, [dart.fnType(core.bool, [E])]), + [$retainWhere]: dart.fnType(dart.void, [dart.fnType(core.bool, [E])]), + [_filter]: dart.fnType(dart.void, [dart.fnType(core.bool, [E]), core.bool]), + clear: dart.fnType(dart.void, []), + [$clear]: dart.fnType(dart.void, []), + cast: dart.gFnType(R => [core.List$(R), []], R => [dart.nullable(core.Object)]), + [$cast]: dart.gFnType(R => [core.List$(R), []], R => [dart.nullable(core.Object)]), + removeLast: dart.fnType(E, []), + [$removeLast]: dart.fnType(E, []), + sort: dart.fnType(dart.void, [], [dart.nullable(dart.fnType(core.int, [E, E]))]), + [$sort]: dart.fnType(dart.void, [], [dart.nullable(dart.fnType(core.int, [E, E]))]), + shuffle: dart.fnType(dart.void, [], [dart.nullable(math.Random)]), + [$shuffle]: dart.fnType(dart.void, [], [dart.nullable(math.Random)]), + asMap: dart.fnType(core.Map$(core.int, E), []), + [$asMap]: dart.fnType(core.Map$(core.int, E), []), + '+': dart.fnType(core.List$(E), [dart.nullable(core.Object)]), + [$plus]: dart.fnType(core.List$(E), [dart.nullable(core.Object)]), + sublist: dart.fnType(core.List$(E), [core.int], [dart.nullable(core.int)]), + [$sublist]: dart.fnType(core.List$(E), [core.int], [dart.nullable(core.int)]), + getRange: dart.fnType(core.Iterable$(E), [core.int, core.int]), + [$getRange]: dart.fnType(core.Iterable$(E), [core.int, core.int]), + removeRange: dart.fnType(dart.void, [core.int, core.int]), + [$removeRange]: dart.fnType(dart.void, [core.int, core.int]), + fillRange: dart.fnType(dart.void, [core.int, core.int], [dart.nullable(core.Object)]), + [$fillRange]: dart.fnType(dart.void, [core.int, core.int], [dart.nullable(core.Object)]), + setRange: dart.fnType(dart.void, [core.int, core.int, dart.nullable(core.Object)], [core.int]), + [$setRange]: dart.fnType(dart.void, [core.int, core.int, dart.nullable(core.Object)], [core.int]), + replaceRange: dart.fnType(dart.void, [core.int, core.int, dart.nullable(core.Object)]), + [$replaceRange]: dart.fnType(dart.void, [core.int, core.int, dart.nullable(core.Object)]), + indexOf: dart.fnType(core.int, [dart.nullable(core.Object)], [core.int]), + [$indexOf]: dart.fnType(core.int, [dart.nullable(core.Object)], [core.int]), + indexWhere: dart.fnType(core.int, [dart.fnType(core.bool, [E])], [core.int]), + [$indexWhere]: dart.fnType(core.int, [dart.fnType(core.bool, [E])], [core.int]), + lastIndexOf: dart.fnType(core.int, [dart.nullable(core.Object)], [dart.nullable(core.int)]), + [$lastIndexOf]: dart.fnType(core.int, [dart.nullable(core.Object)], [dart.nullable(core.int)]), + lastIndexWhere: dart.fnType(core.int, [dart.fnType(core.bool, [E])], [dart.nullable(core.int)]), + [$lastIndexWhere]: dart.fnType(core.int, [dart.fnType(core.bool, [E])], [dart.nullable(core.int)]), + insert: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), + [$insert]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), + removeAt: dart.fnType(E, [core.int]), + [$removeAt]: dart.fnType(E, [core.int]), + insertAll: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), + [$insertAll]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), + setAll: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), + [$setAll]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]) + })); + dart.setGetterSignature(ListMixin, () => ({ + __proto__: dart.getGetters(ListMixin.__proto__), + iterator: core.Iterator$(E), + [$iterator]: core.Iterator$(E), + isEmpty: core.bool, + [$isEmpty]: core.bool, + isNotEmpty: core.bool, + [$isNotEmpty]: core.bool, + first: E, + [$first]: E, + last: E, + [$last]: E, + single: E, + [$single]: E, + reversed: core.Iterable$(E), + [$reversed]: core.Iterable$(E) + })); + dart.setSetterSignature(ListMixin, () => ({ + __proto__: dart.getSetters(ListMixin.__proto__), + first: dart.nullable(core.Object), + [$first]: dart.nullable(core.Object), + last: dart.nullable(core.Object), + [$last]: dart.nullable(core.Object) + })); + dart.setLibraryUri(ListMixin, I[24]); + dart.defineExtensionMethods(ListMixin, [ + 'elementAt', + 'followedBy', + 'forEach', + 'contains', + 'every', + 'any', + 'firstWhere', + 'lastWhere', + 'singleWhere', + 'join', + 'where', + 'whereType', + 'map', + 'expand', + 'reduce', + 'fold', + 'skip', + 'skipWhile', + 'take', + 'takeWhile', + 'toList', + 'toSet', + 'add', + 'addAll', + 'remove', + 'removeWhere', + 'retainWhere', + 'clear', + 'cast', + 'removeLast', + 'sort', + 'shuffle', + 'asMap', + '+', + 'sublist', + 'getRange', + 'removeRange', + 'fillRange', + 'setRange', + 'replaceRange', + 'indexOf', + 'indexWhere', + 'lastIndexOf', + 'lastIndexWhere', + 'insert', + 'removeAt', + 'insertAll', + 'setAll', + 'toString' + ]); + dart.defineExtensionAccessors(ListMixin, [ + 'iterator', + 'isEmpty', + 'isNotEmpty', + 'first', + 'last', + 'single', + 'reversed' + ]); + return ListMixin; +}); +collection.ListMixin = collection.ListMixin$(); +dart.addTypeTests(collection.ListMixin, _is_ListMixin_default); +const _is_ListBase_default = Symbol('_is_ListBase_default'); +collection.ListBase$ = dart.generic(E => { + const Object_ListMixin$36 = class Object_ListMixin extends core.Object {}; + (Object_ListMixin$36.new = function() { + }).prototype = Object_ListMixin$36.prototype; + dart.applyMixin(Object_ListMixin$36, collection.ListMixin$(E)); + class ListBase extends Object_ListMixin$36 { + static listToString(list) { + if (list == null) dart.nullFailed(I[23], 42, 35, "list"); + return collection.IterableBase.iterableToFullString(list, "[", "]"); + } + } + (ListBase.new = function() { + ; + }).prototype = ListBase.prototype; + dart.addTypeTests(ListBase); + ListBase.prototype[_is_ListBase_default] = true; + dart.addTypeCaches(ListBase); + dart.setLibraryUri(ListBase, I[24]); + return ListBase; +}); +collection.ListBase = collection.ListBase$(); +dart.addTypeTests(collection.ListBase, _is_ListBase_default); +const _is_UnmodifiableListMixin_default = Symbol('_is_UnmodifiableListMixin_default'); +_internal.UnmodifiableListMixin$ = dart.generic(E => { + var IterableOfE = () => (IterableOfE = dart.constFn(core.Iterable$(E)))(); + var EN = () => (EN = dart.constFn(dart.nullable(E)))(); + class UnmodifiableListMixin extends core.Object { + _set(index, value$) { + let value = value$; + if (index == null) dart.nullFailed(I[22], 89, 25, "index"); + E.as(value); + dart.throw(new core.UnsupportedError.new("Cannot modify an unmodifiable list")); + return value$; + } + set length(newLength) { + if (newLength == null) dart.nullFailed(I[22], 94, 18, "newLength"); + dart.throw(new core.UnsupportedError.new("Cannot change the length of an unmodifiable list")); + } + set first(element) { + E.as(element); + dart.throw(new core.UnsupportedError.new("Cannot modify an unmodifiable list")); + } + set last(element) { + E.as(element); + dart.throw(new core.UnsupportedError.new("Cannot modify an unmodifiable list")); + } + setAll(at, iterable) { + if (at == null) dart.nullFailed(I[22], 108, 19, "at"); + IterableOfE().as(iterable); + if (iterable == null) dart.nullFailed(I[22], 108, 35, "iterable"); + dart.throw(new core.UnsupportedError.new("Cannot modify an unmodifiable list")); + } + add(value) { + E.as(value); + dart.throw(new core.UnsupportedError.new("Cannot add to an unmodifiable list")); + } + insert(index, element) { + if (index == null) dart.nullFailed(I[22], 118, 19, "index"); + E.as(element); + dart.throw(new core.UnsupportedError.new("Cannot add to an unmodifiable list")); + } + insertAll(at, iterable) { + if (at == null) dart.nullFailed(I[22], 123, 22, "at"); + IterableOfE().as(iterable); + if (iterable == null) dart.nullFailed(I[22], 123, 38, "iterable"); + dart.throw(new core.UnsupportedError.new("Cannot add to an unmodifiable list")); + } + addAll(iterable) { + IterableOfE().as(iterable); + if (iterable == null) dart.nullFailed(I[22], 128, 27, "iterable"); + dart.throw(new core.UnsupportedError.new("Cannot add to an unmodifiable list")); + } + remove(element) { + dart.throw(new core.UnsupportedError.new("Cannot remove from an unmodifiable list")); + } + removeWhere(test) { + if (test == null) dart.nullFailed(I[22], 138, 25, "test"); + dart.throw(new core.UnsupportedError.new("Cannot remove from an unmodifiable list")); + } + retainWhere(test) { + if (test == null) dart.nullFailed(I[22], 143, 25, "test"); + dart.throw(new core.UnsupportedError.new("Cannot remove from an unmodifiable list")); + } + sort(compare = null) { + dart.throw(new core.UnsupportedError.new("Cannot modify an unmodifiable list")); + } + shuffle(random = null) { + dart.throw(new core.UnsupportedError.new("Cannot modify an unmodifiable list")); + } + clear() { + dart.throw(new core.UnsupportedError.new("Cannot clear an unmodifiable list")); + } + removeAt(index) { + if (index == null) dart.nullFailed(I[22], 163, 18, "index"); + dart.throw(new core.UnsupportedError.new("Cannot remove from an unmodifiable list")); + } + removeLast() { + dart.throw(new core.UnsupportedError.new("Cannot remove from an unmodifiable list")); + } + setRange(start, end, iterable, skipCount = 0) { + if (start == null) dart.nullFailed(I[22], 173, 21, "start"); + if (end == null) dart.nullFailed(I[22], 173, 32, "end"); + IterableOfE().as(iterable); + if (iterable == null) dart.nullFailed(I[22], 173, 49, "iterable"); + if (skipCount == null) dart.nullFailed(I[22], 173, 64, "skipCount"); + dart.throw(new core.UnsupportedError.new("Cannot modify an unmodifiable list")); + } + removeRange(start, end) { + if (start == null) dart.nullFailed(I[22], 178, 24, "start"); + if (end == null) dart.nullFailed(I[22], 178, 35, "end"); + dart.throw(new core.UnsupportedError.new("Cannot remove from an unmodifiable list")); + } + replaceRange(start, end, iterable) { + if (start == null) dart.nullFailed(I[22], 183, 25, "start"); + if (end == null) dart.nullFailed(I[22], 183, 36, "end"); + IterableOfE().as(iterable); + if (iterable == null) dart.nullFailed(I[22], 183, 53, "iterable"); + dart.throw(new core.UnsupportedError.new("Cannot remove from an unmodifiable list")); + } + fillRange(start, end, fillValue = null) { + if (start == null) dart.nullFailed(I[22], 188, 22, "start"); + if (end == null) dart.nullFailed(I[22], 188, 33, "end"); + EN().as(fillValue); + dart.throw(new core.UnsupportedError.new("Cannot modify an unmodifiable list")); + } + [Symbol.iterator]() { + return new dart.JsIterator(this[$iterator]); + } + } + (UnmodifiableListMixin.new = function() { + ; + }).prototype = UnmodifiableListMixin.prototype; + UnmodifiableListMixin.prototype[dart.isList] = true; + dart.addTypeTests(UnmodifiableListMixin); + UnmodifiableListMixin.prototype[_is_UnmodifiableListMixin_default] = true; + dart.addTypeCaches(UnmodifiableListMixin); + UnmodifiableListMixin[dart.implements] = () => [core.List$(E)]; + dart.setMethodSignature(UnmodifiableListMixin, () => ({ + __proto__: dart.getMethods(UnmodifiableListMixin.__proto__), + _set: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), + [$_set]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), + setAll: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), + [$setAll]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), + add: dart.fnType(dart.void, [dart.nullable(core.Object)]), + [$add]: dart.fnType(dart.void, [dart.nullable(core.Object)]), + insert: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), + [$insert]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), + insertAll: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), + [$insertAll]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), + addAll: dart.fnType(dart.void, [dart.nullable(core.Object)]), + [$addAll]: dart.fnType(dart.void, [dart.nullable(core.Object)]), + remove: dart.fnType(core.bool, [dart.nullable(core.Object)]), + [$remove]: dart.fnType(core.bool, [dart.nullable(core.Object)]), + removeWhere: dart.fnType(dart.void, [dart.fnType(core.bool, [E])]), + [$removeWhere]: dart.fnType(dart.void, [dart.fnType(core.bool, [E])]), + retainWhere: dart.fnType(dart.void, [dart.fnType(core.bool, [E])]), + [$retainWhere]: dart.fnType(dart.void, [dart.fnType(core.bool, [E])]), + sort: dart.fnType(dart.void, [], [dart.nullable(dart.fnType(core.int, [E, E]))]), + [$sort]: dart.fnType(dart.void, [], [dart.nullable(dart.fnType(core.int, [E, E]))]), + shuffle: dart.fnType(dart.void, [], [dart.nullable(math.Random)]), + [$shuffle]: dart.fnType(dart.void, [], [dart.nullable(math.Random)]), + clear: dart.fnType(dart.void, []), + [$clear]: dart.fnType(dart.void, []), + removeAt: dart.fnType(E, [core.int]), + [$removeAt]: dart.fnType(E, [core.int]), + removeLast: dart.fnType(E, []), + [$removeLast]: dart.fnType(E, []), + setRange: dart.fnType(dart.void, [core.int, core.int, dart.nullable(core.Object)], [core.int]), + [$setRange]: dart.fnType(dart.void, [core.int, core.int, dart.nullable(core.Object)], [core.int]), + removeRange: dart.fnType(dart.void, [core.int, core.int]), + [$removeRange]: dart.fnType(dart.void, [core.int, core.int]), + replaceRange: dart.fnType(dart.void, [core.int, core.int, dart.nullable(core.Object)]), + [$replaceRange]: dart.fnType(dart.void, [core.int, core.int, dart.nullable(core.Object)]), + fillRange: dart.fnType(dart.void, [core.int, core.int], [dart.nullable(core.Object)]), + [$fillRange]: dart.fnType(dart.void, [core.int, core.int], [dart.nullable(core.Object)]) + })); + dart.setSetterSignature(UnmodifiableListMixin, () => ({ + __proto__: dart.getSetters(UnmodifiableListMixin.__proto__), + length: core.int, + [$length]: core.int, + first: dart.nullable(core.Object), + [$first]: dart.nullable(core.Object), + last: dart.nullable(core.Object), + [$last]: dart.nullable(core.Object) + })); + dart.setLibraryUri(UnmodifiableListMixin, I[25]); + dart.defineExtensionMethods(UnmodifiableListMixin, [ + '_set', + 'setAll', + 'add', + 'insert', + 'insertAll', + 'addAll', + 'remove', + 'removeWhere', + 'retainWhere', + 'sort', + 'shuffle', + 'clear', + 'removeAt', + 'removeLast', + 'setRange', + 'removeRange', + 'replaceRange', + 'fillRange' + ]); + dart.defineExtensionAccessors(UnmodifiableListMixin, ['length', 'first', 'last']); + return UnmodifiableListMixin; +}); +_internal.UnmodifiableListMixin = _internal.UnmodifiableListMixin$(); +dart.addTypeTests(_internal.UnmodifiableListMixin, _is_UnmodifiableListMixin_default); +const _is_UnmodifiableListBase_default = Symbol('_is_UnmodifiableListBase_default'); +_internal.UnmodifiableListBase$ = dart.generic(E => { + var IterableOfE = () => (IterableOfE = dart.constFn(core.Iterable$(E)))(); + var EN = () => (EN = dart.constFn(dart.nullable(E)))(); + const ListBase_UnmodifiableListMixin$36 = class ListBase_UnmodifiableListMixin extends collection.ListBase$(E) {}; + (ListBase_UnmodifiableListMixin$36.new = function() { + }).prototype = ListBase_UnmodifiableListMixin$36.prototype; + dart.applyMixin(ListBase_UnmodifiableListMixin$36, _internal.UnmodifiableListMixin$(E)); + class UnmodifiableListBase extends ListBase_UnmodifiableListMixin$36 { + set length(newLength) { + if (newLength == null) dart.nullFailed(I[22], 208, 16, "newLength"); + return super.length = newLength; + } + set first(element) { + E.as(element); + return super.first = element; + } + get first() { + return super.first; + } + set last(element) { + E.as(element); + return super.last = element; + } + get last() { + return super.last; + } + _set(index, value$) { + let value = value$; + if (index == null) dart.nullFailed(I[22], 208, 16, "index"); + E.as(value); + super._set(index, value); + return value$; + } + setAll(at, iterable) { + if (at == null) dart.nullFailed(I[22], 208, 16, "at"); + IterableOfE().as(iterable); + if (iterable == null) dart.nullFailed(I[22], 208, 16, "iterable"); + return super.setAll(at, iterable); + } + add(value) { + E.as(value); + return super.add(value); + } + insert(index, element) { + if (index == null) dart.nullFailed(I[22], 208, 16, "index"); + E.as(element); + return super.insert(index, element); + } + insertAll(at, iterable) { + if (at == null) dart.nullFailed(I[22], 208, 16, "at"); + IterableOfE().as(iterable); + if (iterable == null) dart.nullFailed(I[22], 208, 16, "iterable"); + return super.insertAll(at, iterable); + } + addAll(iterable) { + IterableOfE().as(iterable); + if (iterable == null) dart.nullFailed(I[22], 208, 16, "iterable"); + return super.addAll(iterable); + } + remove(element) { + return super.remove(element); + } + removeWhere(test) { + if (test == null) dart.nullFailed(I[22], 208, 16, "test"); + return super.removeWhere(test); + } + retainWhere(test) { + if (test == null) dart.nullFailed(I[22], 208, 16, "test"); + return super.retainWhere(test); + } + sort(compare = null) { + return super.sort(compare); + } + shuffle(random = null) { + return super.shuffle(random); + } + clear() { + return super.clear(); + } + removeAt(index) { + if (index == null) dart.nullFailed(I[22], 208, 16, "index"); + return super.removeAt(index); + } + removeLast() { + return super.removeLast(); + } + setRange(start, end, iterable, skipCount = 0) { + if (start == null) dart.nullFailed(I[22], 208, 16, "start"); + if (end == null) dart.nullFailed(I[22], 208, 16, "end"); + IterableOfE().as(iterable); + if (iterable == null) dart.nullFailed(I[22], 208, 16, "iterable"); + if (skipCount == null) dart.nullFailed(I[22], 208, 16, "skipCount"); + return super.setRange(start, end, iterable, skipCount); + } + removeRange(start, end) { + if (start == null) dart.nullFailed(I[22], 208, 16, "start"); + if (end == null) dart.nullFailed(I[22], 208, 16, "end"); + return super.removeRange(start, end); + } + replaceRange(start, end, iterable) { + if (start == null) dart.nullFailed(I[22], 208, 16, "start"); + if (end == null) dart.nullFailed(I[22], 208, 16, "end"); + IterableOfE().as(iterable); + if (iterable == null) dart.nullFailed(I[22], 208, 16, "iterable"); + return super.replaceRange(start, end, iterable); + } + fillRange(start, end, fillValue = null) { + if (start == null) dart.nullFailed(I[22], 208, 16, "start"); + if (end == null) dart.nullFailed(I[22], 208, 16, "end"); + EN().as(fillValue); + return super.fillRange(start, end, fillValue); + } + } + (UnmodifiableListBase.new = function() { + ; + }).prototype = UnmodifiableListBase.prototype; + dart.addTypeTests(UnmodifiableListBase); + UnmodifiableListBase.prototype[_is_UnmodifiableListBase_default] = true; + dart.addTypeCaches(UnmodifiableListBase); + dart.setMethodSignature(UnmodifiableListBase, () => ({ + __proto__: dart.getMethods(UnmodifiableListBase.__proto__), + _set: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), + [$_set]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]) + })); + dart.setSetterSignature(UnmodifiableListBase, () => ({ + __proto__: dart.getSetters(UnmodifiableListBase.__proto__), + length: core.int, + [$length]: core.int + })); + dart.setLibraryUri(UnmodifiableListBase, I[25]); + dart.defineExtensionMethods(UnmodifiableListBase, [ + '_set', + 'setAll', + 'add', + 'insert', + 'insertAll', + 'addAll', + 'remove', + 'removeWhere', + 'retainWhere', + 'sort', + 'shuffle', + 'clear', + 'removeAt', + 'removeLast', + 'setRange', + 'removeRange', + 'replaceRange', + 'fillRange' + ]); + dart.defineExtensionAccessors(UnmodifiableListBase, ['length', 'first', 'last']); + return UnmodifiableListBase; +}); +_internal.UnmodifiableListBase = _internal.UnmodifiableListBase$(); +dart.addTypeTests(_internal.UnmodifiableListBase, _is_UnmodifiableListBase_default); +core.num = class num extends core.Object { + static is(o) { + return typeof o == "number"; + } + static as(o) { + if (typeof o == "number") return o; + return dart.as(o, core.num); + } + static parse(input, onError = null) { + if (input == null) dart.nullFailed(I[26], 483, 27, "input"); + let result = core.num.tryParse(input); + if (result != null) return result; + if (onError == null) dart.throw(new core.FormatException.new(input)); + return onError(input); + } + static tryParse(input) { + let t27; + if (input == null) dart.nullFailed(I[26], 494, 31, "input"); + let source = input[$trim](); + t27 = core.int.tryParse(source); + return t27 == null ? core.double.tryParse(source) : t27; + } +}; +(core.num.new = function() { + ; +}).prototype = core.num.prototype; +dart.addTypeCaches(core.num); +core.num[dart.implements] = () => [core.Comparable$(core.num)]; +dart.setLibraryUri(core.num, I[8]); +core.int = class int extends core.num { + static is(o) { + return typeof o == "number" && Math.floor(o) == o; + } + static as(o) { + if (typeof o == "number" && Math.floor(o) == o) { + return o; + } + return dart.as(o, core.int); + } + static fromEnvironment(name, opts) { + if (name == null) dart.nullFailed(I[7], 187, 38, "name"); + let defaultValue = opts && 'defaultValue' in opts ? opts.defaultValue : 0; + if (defaultValue == null) dart.nullFailed(I[7], 187, 49, "defaultValue"); + dart.throw(new core.UnsupportedError.new("int.fromEnvironment can only be used as a const constructor")); + } + static parse(source, opts) { + if (source == null) dart.nullFailed(I[7], 173, 27, "source"); + let radix = opts && 'radix' in opts ? opts.radix : null; + let onError = opts && 'onError' in opts ? opts.onError : null; + let value = core.int.tryParse(source, {radix: radix}); + if (value != null) return value; + if (onError != null) return onError(source); + dart.throw(new core.FormatException.new(source)); + } + static tryParse(source, opts) { + if (source == null) dart.nullFailed(I[7], 182, 31, "source"); + let radix = opts && 'radix' in opts ? opts.radix : null; + return _js_helper.Primitives.parseInt(source, radix); + } +}; +dart.addTypeCaches(core.int); +dart.setLibraryUri(core.int, I[8]); +_internal.CodeUnits = class CodeUnits extends _internal.UnmodifiableListBase$(core.int) { + get length() { + return this[_string$].length; + } + set length(value) { + super.length = value; + } + _get(i) { + if (i == null) dart.nullFailed(I[21], 77, 23, "i"); + return this[_string$][$codeUnitAt](i); + } + static stringOf(u) { + if (u == null) dart.nullFailed(I[21], 79, 36, "u"); + return u[_string$]; + } +}; +(_internal.CodeUnits.new = function(_string) { + if (_string == null) dart.nullFailed(I[21], 74, 18, "_string"); + this[_string$] = _string; + ; +}).prototype = _internal.CodeUnits.prototype; +dart.addTypeTests(_internal.CodeUnits); +dart.addTypeCaches(_internal.CodeUnits); +dart.setMethodSignature(_internal.CodeUnits, () => ({ + __proto__: dart.getMethods(_internal.CodeUnits.__proto__), + _get: dart.fnType(core.int, [core.int]), + [$_get]: dart.fnType(core.int, [core.int]) +})); +dart.setGetterSignature(_internal.CodeUnits, () => ({ + __proto__: dart.getGetters(_internal.CodeUnits.__proto__), + length: core.int, + [$length]: core.int +})); +dart.setLibraryUri(_internal.CodeUnits, I[25]); +dart.setFieldSignature(_internal.CodeUnits, () => ({ + __proto__: dart.getFields(_internal.CodeUnits.__proto__), + [_string$]: dart.finalFieldType(core.String) +})); +dart.defineExtensionMethods(_internal.CodeUnits, ['_get']); +dart.defineExtensionAccessors(_internal.CodeUnits, ['length']); +var name$5 = dart.privateName(_internal, "ExternalName.name"); +_internal.ExternalName = class ExternalName extends core.Object { + get name() { + return this[name$5]; + } + set name(value) { + super.name = value; + } +}; +(_internal.ExternalName.new = function(name) { + if (name == null) dart.nullFailed(I[21], 92, 27, "name"); + this[name$5] = name; + ; +}).prototype = _internal.ExternalName.prototype; +dart.addTypeTests(_internal.ExternalName); +dart.addTypeCaches(_internal.ExternalName); +dart.setLibraryUri(_internal.ExternalName, I[25]); +dart.setFieldSignature(_internal.ExternalName, () => ({ + __proto__: dart.getFields(_internal.ExternalName.__proto__), + name: dart.finalFieldType(core.String) +})); +_internal.SystemHash = class SystemHash extends core.Object { + static combine(hash, value) { + if (hash == null) dart.nullFailed(I[21], 165, 26, "hash"); + if (value == null) dart.nullFailed(I[21], 165, 36, "value"); + hash = 536870911 & dart.notNull(hash) + dart.notNull(value); + hash = 536870911 & dart.notNull(hash) + ((524287 & dart.notNull(hash)) << 10); + return (dart.notNull(hash) ^ hash[$rightShift](6)) >>> 0; + } + static finish(hash) { + if (hash == null) dart.nullFailed(I[21], 171, 25, "hash"); + hash = 536870911 & dart.notNull(hash) + ((67108863 & dart.notNull(hash)) << 3); + hash = (dart.notNull(hash) ^ hash[$rightShift](11)) >>> 0; + return 536870911 & dart.notNull(hash) + ((16383 & dart.notNull(hash)) << 15); + } + static hash2(v1, v2) { + if (v1 == null) dart.nullFailed(I[21], 177, 24, "v1"); + if (v2 == null) dart.nullFailed(I[21], 177, 32, "v2"); + let hash = 0; + hash = _internal.SystemHash.combine(hash, v1); + hash = _internal.SystemHash.combine(hash, v2); + return _internal.SystemHash.finish(hash); + } + static hash3(v1, v2, v3) { + if (v1 == null) dart.nullFailed(I[21], 184, 24, "v1"); + if (v2 == null) dart.nullFailed(I[21], 184, 32, "v2"); + if (v3 == null) dart.nullFailed(I[21], 184, 40, "v3"); + let hash = 0; + hash = _internal.SystemHash.combine(hash, v1); + hash = _internal.SystemHash.combine(hash, v2); + hash = _internal.SystemHash.combine(hash, v3); + return _internal.SystemHash.finish(hash); + } + static hash4(v1, v2, v3, v4) { + if (v1 == null) dart.nullFailed(I[21], 192, 24, "v1"); + if (v2 == null) dart.nullFailed(I[21], 192, 32, "v2"); + if (v3 == null) dart.nullFailed(I[21], 192, 40, "v3"); + if (v4 == null) dart.nullFailed(I[21], 192, 48, "v4"); + let hash = 0; + hash = _internal.SystemHash.combine(hash, v1); + hash = _internal.SystemHash.combine(hash, v2); + hash = _internal.SystemHash.combine(hash, v3); + hash = _internal.SystemHash.combine(hash, v4); + return _internal.SystemHash.finish(hash); + } + static hash5(v1, v2, v3, v4, v5) { + if (v1 == null) dart.nullFailed(I[21], 201, 24, "v1"); + if (v2 == null) dart.nullFailed(I[21], 201, 32, "v2"); + if (v3 == null) dart.nullFailed(I[21], 201, 40, "v3"); + if (v4 == null) dart.nullFailed(I[21], 201, 48, "v4"); + if (v5 == null) dart.nullFailed(I[21], 201, 56, "v5"); + let hash = 0; + hash = _internal.SystemHash.combine(hash, v1); + hash = _internal.SystemHash.combine(hash, v2); + hash = _internal.SystemHash.combine(hash, v3); + hash = _internal.SystemHash.combine(hash, v4); + hash = _internal.SystemHash.combine(hash, v5); + return _internal.SystemHash.finish(hash); + } + static hash6(v1, v2, v3, v4, v5, v6) { + if (v1 == null) dart.nullFailed(I[21], 211, 24, "v1"); + if (v2 == null) dart.nullFailed(I[21], 211, 32, "v2"); + if (v3 == null) dart.nullFailed(I[21], 211, 40, "v3"); + if (v4 == null) dart.nullFailed(I[21], 211, 48, "v4"); + if (v5 == null) dart.nullFailed(I[21], 211, 56, "v5"); + if (v6 == null) dart.nullFailed(I[21], 211, 64, "v6"); + let hash = 0; + hash = _internal.SystemHash.combine(hash, v1); + hash = _internal.SystemHash.combine(hash, v2); + hash = _internal.SystemHash.combine(hash, v3); + hash = _internal.SystemHash.combine(hash, v4); + hash = _internal.SystemHash.combine(hash, v5); + hash = _internal.SystemHash.combine(hash, v6); + return _internal.SystemHash.finish(hash); + } + static hash7(v1, v2, v3, v4, v5, v6, v7) { + if (v1 == null) dart.nullFailed(I[21], 222, 24, "v1"); + if (v2 == null) dart.nullFailed(I[21], 222, 32, "v2"); + if (v3 == null) dart.nullFailed(I[21], 222, 40, "v3"); + if (v4 == null) dart.nullFailed(I[21], 222, 48, "v4"); + if (v5 == null) dart.nullFailed(I[21], 222, 56, "v5"); + if (v6 == null) dart.nullFailed(I[21], 222, 64, "v6"); + if (v7 == null) dart.nullFailed(I[21], 222, 72, "v7"); + let hash = 0; + hash = _internal.SystemHash.combine(hash, v1); + hash = _internal.SystemHash.combine(hash, v2); + hash = _internal.SystemHash.combine(hash, v3); + hash = _internal.SystemHash.combine(hash, v4); + hash = _internal.SystemHash.combine(hash, v5); + hash = _internal.SystemHash.combine(hash, v6); + hash = _internal.SystemHash.combine(hash, v7); + return _internal.SystemHash.finish(hash); + } + static hash8(v1, v2, v3, v4, v5, v6, v7, v8) { + if (v1 == null) dart.nullFailed(I[21], 235, 11, "v1"); + if (v2 == null) dart.nullFailed(I[21], 235, 19, "v2"); + if (v3 == null) dart.nullFailed(I[21], 235, 27, "v3"); + if (v4 == null) dart.nullFailed(I[21], 235, 35, "v4"); + if (v5 == null) dart.nullFailed(I[21], 235, 43, "v5"); + if (v6 == null) dart.nullFailed(I[21], 235, 51, "v6"); + if (v7 == null) dart.nullFailed(I[21], 235, 59, "v7"); + if (v8 == null) dart.nullFailed(I[21], 235, 67, "v8"); + let hash = 0; + hash = _internal.SystemHash.combine(hash, v1); + hash = _internal.SystemHash.combine(hash, v2); + hash = _internal.SystemHash.combine(hash, v3); + hash = _internal.SystemHash.combine(hash, v4); + hash = _internal.SystemHash.combine(hash, v5); + hash = _internal.SystemHash.combine(hash, v6); + hash = _internal.SystemHash.combine(hash, v7); + hash = _internal.SystemHash.combine(hash, v8); + return _internal.SystemHash.finish(hash); + } + static hash9(v1, v2, v3, v4, v5, v6, v7, v8, v9) { + if (v1 == null) dart.nullFailed(I[21], 249, 11, "v1"); + if (v2 == null) dart.nullFailed(I[21], 249, 19, "v2"); + if (v3 == null) dart.nullFailed(I[21], 249, 27, "v3"); + if (v4 == null) dart.nullFailed(I[21], 249, 35, "v4"); + if (v5 == null) dart.nullFailed(I[21], 249, 43, "v5"); + if (v6 == null) dart.nullFailed(I[21], 249, 51, "v6"); + if (v7 == null) dart.nullFailed(I[21], 249, 59, "v7"); + if (v8 == null) dart.nullFailed(I[21], 249, 67, "v8"); + if (v9 == null) dart.nullFailed(I[21], 249, 75, "v9"); + let hash = 0; + hash = _internal.SystemHash.combine(hash, v1); + hash = _internal.SystemHash.combine(hash, v2); + hash = _internal.SystemHash.combine(hash, v3); + hash = _internal.SystemHash.combine(hash, v4); + hash = _internal.SystemHash.combine(hash, v5); + hash = _internal.SystemHash.combine(hash, v6); + hash = _internal.SystemHash.combine(hash, v7); + hash = _internal.SystemHash.combine(hash, v8); + hash = _internal.SystemHash.combine(hash, v9); + return _internal.SystemHash.finish(hash); + } + static hash10(v1, v2, v3, v4, v5, v6, v7, v8, v9, v10) { + if (v1 == null) dart.nullFailed(I[21], 263, 25, "v1"); + if (v2 == null) dart.nullFailed(I[21], 263, 33, "v2"); + if (v3 == null) dart.nullFailed(I[21], 263, 41, "v3"); + if (v4 == null) dart.nullFailed(I[21], 263, 49, "v4"); + if (v5 == null) dart.nullFailed(I[21], 263, 57, "v5"); + if (v6 == null) dart.nullFailed(I[21], 263, 65, "v6"); + if (v7 == null) dart.nullFailed(I[21], 263, 73, "v7"); + if (v8 == null) dart.nullFailed(I[21], 264, 11, "v8"); + if (v9 == null) dart.nullFailed(I[21], 264, 19, "v9"); + if (v10 == null) dart.nullFailed(I[21], 264, 27, "v10"); + let hash = 0; + hash = _internal.SystemHash.combine(hash, v1); + hash = _internal.SystemHash.combine(hash, v2); + hash = _internal.SystemHash.combine(hash, v3); + hash = _internal.SystemHash.combine(hash, v4); + hash = _internal.SystemHash.combine(hash, v5); + hash = _internal.SystemHash.combine(hash, v6); + hash = _internal.SystemHash.combine(hash, v7); + hash = _internal.SystemHash.combine(hash, v8); + hash = _internal.SystemHash.combine(hash, v9); + hash = _internal.SystemHash.combine(hash, v10); + return _internal.SystemHash.finish(hash); + } + static smear(x) { + if (x == null) dart.nullFailed(I[21], 290, 24, "x"); + x = (dart.notNull(x) ^ x[$rightShift](16)) >>> 0; + x = (dart.notNull(x) * 2146121005 & 4294967295) >>> 0; + x = (dart.notNull(x) ^ x[$rightShift](15)) >>> 0; + x = (dart.notNull(x) * 2221713035 & 4294967295) >>> 0; + x = (dart.notNull(x) ^ x[$rightShift](16)) >>> 0; + return x; + } +}; +(_internal.SystemHash.new = function() { + ; +}).prototype = _internal.SystemHash.prototype; +dart.addTypeTests(_internal.SystemHash); +dart.addTypeCaches(_internal.SystemHash); +dart.setLibraryUri(_internal.SystemHash, I[25]); +var version$ = dart.privateName(_internal, "Since.version"); +_internal.Since = class Since extends core.Object { + get version() { + return this[version$]; + } + set version(value) { + super.version = value; + } +}; +(_internal.Since.new = function(version) { + if (version == null) dart.nullFailed(I[21], 389, 20, "version"); + this[version$] = version; + ; +}).prototype = _internal.Since.prototype; +dart.addTypeTests(_internal.Since); +dart.addTypeCaches(_internal.Since); +dart.setLibraryUri(_internal.Since, I[25]); +dart.setFieldSignature(_internal.Since, () => ({ + __proto__: dart.getFields(_internal.Since.__proto__), + version: dart.finalFieldType(core.String) +})); +var _name$ = dart.privateName(_internal, "_name"); +core.Error = class Error extends core.Object { + static safeToString(object) { + if (typeof object == 'number' || typeof object == 'boolean' || object == null) { + return dart.toString(object); + } + if (typeof object == 'string') { + return core.Error._stringToSafeString(object); + } + return core.Error._objectToString(object); + } + static _stringToSafeString(string) { + if (string == null) dart.nullFailed(I[7], 281, 44, "string"); + return JSON.stringify(string); + } + static _objectToString(object) { + if (object == null) dart.nullFailed(I[7], 276, 40, "object"); + return "Instance of '" + dart.typeName(dart.getReifiedType(object)) + "'"; + } + get stackTrace() { + return dart.stackTraceForError(this); + } +}; +(core.Error.new = function() { + ; +}).prototype = core.Error.prototype; +dart.addTypeTests(core.Error); +dart.addTypeCaches(core.Error); +dart.setGetterSignature(core.Error, () => ({ + __proto__: dart.getGetters(core.Error.__proto__), + stackTrace: dart.nullable(core.StackTrace), + [$stackTrace]: dart.nullable(core.StackTrace) +})); +dart.setLibraryUri(core.Error, I[8]); +dart.defineExtensionAccessors(core.Error, ['stackTrace']); +const _is_NotNullableError_default = Symbol('_is_NotNullableError_default'); +_internal.NotNullableError$ = dart.generic(T => { + class NotNullableError extends core.Error { + toString() { + return "Null is not a valid value for the parameter '" + dart.str(this[_name$]) + "' of type '" + dart.str(dart.wrapType(T)) + "'"; + } + } + (NotNullableError.new = function(_name) { + if (_name == null) dart.nullFailed(I[21], 412, 25, "_name"); + this[_name$] = _name; + NotNullableError.__proto__.new.call(this); + ; + }).prototype = NotNullableError.prototype; + dart.addTypeTests(NotNullableError); + NotNullableError.prototype[_is_NotNullableError_default] = true; + dart.addTypeCaches(NotNullableError); + NotNullableError[dart.implements] = () => [core.TypeError]; + dart.setLibraryUri(NotNullableError, I[25]); + dart.setFieldSignature(NotNullableError, () => ({ + __proto__: dart.getFields(NotNullableError.__proto__), + [_name$]: dart.finalFieldType(core.String) + })); + dart.defineExtensionMethods(NotNullableError, ['toString']); + return NotNullableError; +}); +_internal.NotNullableError = _internal.NotNullableError$(); +dart.addTypeTests(_internal.NotNullableError, _is_NotNullableError_default); +_internal.HttpStatus = class HttpStatus extends core.Object {}; +(_internal.HttpStatus.new = function() { + ; +}).prototype = _internal.HttpStatus.prototype; +dart.addTypeTests(_internal.HttpStatus); +dart.addTypeCaches(_internal.HttpStatus); +dart.setLibraryUri(_internal.HttpStatus, I[25]); +dart.defineLazy(_internal.HttpStatus, { + /*_internal.HttpStatus.continue__*/get continue__() { + return 100; + }, + /*_internal.HttpStatus.switchingProtocols*/get switchingProtocols() { + return 101; + }, + /*_internal.HttpStatus.processing*/get processing() { + return 102; + }, + /*_internal.HttpStatus.ok*/get ok() { + return 200; + }, + /*_internal.HttpStatus.created*/get created() { + return 201; + }, + /*_internal.HttpStatus.accepted*/get accepted() { + return 202; + }, + /*_internal.HttpStatus.nonAuthoritativeInformation*/get nonAuthoritativeInformation() { + return 203; + }, + /*_internal.HttpStatus.noContent*/get noContent() { + return 204; + }, + /*_internal.HttpStatus.resetContent*/get resetContent() { + return 205; + }, + /*_internal.HttpStatus.partialContent*/get partialContent() { + return 206; + }, + /*_internal.HttpStatus.multiStatus*/get multiStatus() { + return 207; + }, + /*_internal.HttpStatus.alreadyReported*/get alreadyReported() { + return 208; + }, + /*_internal.HttpStatus.imUsed*/get imUsed() { + return 226; + }, + /*_internal.HttpStatus.multipleChoices*/get multipleChoices() { + return 300; + }, + /*_internal.HttpStatus.movedPermanently*/get movedPermanently() { + return 301; + }, + /*_internal.HttpStatus.found*/get found() { + return 302; + }, + /*_internal.HttpStatus.movedTemporarily*/get movedTemporarily() { + return 302; + }, + /*_internal.HttpStatus.seeOther*/get seeOther() { + return 303; + }, + /*_internal.HttpStatus.notModified*/get notModified() { + return 304; + }, + /*_internal.HttpStatus.useProxy*/get useProxy() { + return 305; + }, + /*_internal.HttpStatus.temporaryRedirect*/get temporaryRedirect() { + return 307; + }, + /*_internal.HttpStatus.permanentRedirect*/get permanentRedirect() { + return 308; + }, + /*_internal.HttpStatus.badRequest*/get badRequest() { + return 400; + }, + /*_internal.HttpStatus.unauthorized*/get unauthorized() { + return 401; + }, + /*_internal.HttpStatus.paymentRequired*/get paymentRequired() { + return 402; + }, + /*_internal.HttpStatus.forbidden*/get forbidden() { + return 403; + }, + /*_internal.HttpStatus.notFound*/get notFound() { + return 404; + }, + /*_internal.HttpStatus.methodNotAllowed*/get methodNotAllowed() { + return 405; + }, + /*_internal.HttpStatus.notAcceptable*/get notAcceptable() { + return 406; + }, + /*_internal.HttpStatus.proxyAuthenticationRequired*/get proxyAuthenticationRequired() { + return 407; + }, + /*_internal.HttpStatus.requestTimeout*/get requestTimeout() { + return 408; + }, + /*_internal.HttpStatus.conflict*/get conflict() { + return 409; + }, + /*_internal.HttpStatus.gone*/get gone() { + return 410; + }, + /*_internal.HttpStatus.lengthRequired*/get lengthRequired() { + return 411; + }, + /*_internal.HttpStatus.preconditionFailed*/get preconditionFailed() { + return 412; + }, + /*_internal.HttpStatus.requestEntityTooLarge*/get requestEntityTooLarge() { + return 413; + }, + /*_internal.HttpStatus.requestUriTooLong*/get requestUriTooLong() { + return 414; + }, + /*_internal.HttpStatus.unsupportedMediaType*/get unsupportedMediaType() { + return 415; + }, + /*_internal.HttpStatus.requestedRangeNotSatisfiable*/get requestedRangeNotSatisfiable() { + return 416; + }, + /*_internal.HttpStatus.expectationFailed*/get expectationFailed() { + return 417; + }, + /*_internal.HttpStatus.misdirectedRequest*/get misdirectedRequest() { + return 421; + }, + /*_internal.HttpStatus.unprocessableEntity*/get unprocessableEntity() { + return 422; + }, + /*_internal.HttpStatus.locked*/get locked() { + return 423; + }, + /*_internal.HttpStatus.failedDependency*/get failedDependency() { + return 424; + }, + /*_internal.HttpStatus.upgradeRequired*/get upgradeRequired() { + return 426; + }, + /*_internal.HttpStatus.preconditionRequired*/get preconditionRequired() { + return 428; + }, + /*_internal.HttpStatus.tooManyRequests*/get tooManyRequests() { + return 429; + }, + /*_internal.HttpStatus.requestHeaderFieldsTooLarge*/get requestHeaderFieldsTooLarge() { + return 431; + }, + /*_internal.HttpStatus.connectionClosedWithoutResponse*/get connectionClosedWithoutResponse() { + return 444; + }, + /*_internal.HttpStatus.unavailableForLegalReasons*/get unavailableForLegalReasons() { + return 451; + }, + /*_internal.HttpStatus.clientClosedRequest*/get clientClosedRequest() { + return 499; + }, + /*_internal.HttpStatus.internalServerError*/get internalServerError() { + return 500; + }, + /*_internal.HttpStatus.notImplemented*/get notImplemented() { + return 501; + }, + /*_internal.HttpStatus.badGateway*/get badGateway() { + return 502; + }, + /*_internal.HttpStatus.serviceUnavailable*/get serviceUnavailable() { + return 503; + }, + /*_internal.HttpStatus.gatewayTimeout*/get gatewayTimeout() { + return 504; + }, + /*_internal.HttpStatus.httpVersionNotSupported*/get httpVersionNotSupported() { + return 505; + }, + /*_internal.HttpStatus.variantAlsoNegotiates*/get variantAlsoNegotiates() { + return 506; + }, + /*_internal.HttpStatus.insufficientStorage*/get insufficientStorage() { + return 507; + }, + /*_internal.HttpStatus.loopDetected*/get loopDetected() { + return 508; + }, + /*_internal.HttpStatus.notExtended*/get notExtended() { + return 510; + }, + /*_internal.HttpStatus.networkAuthenticationRequired*/get networkAuthenticationRequired() { + return 511; + }, + /*_internal.HttpStatus.networkConnectTimeoutError*/get networkConnectTimeoutError() { + return 599; + }, + /*_internal.HttpStatus.CONTINUE*/get CONTINUE() { + return 100; + }, + /*_internal.HttpStatus.SWITCHING_PROTOCOLS*/get SWITCHING_PROTOCOLS() { + return 101; + }, + /*_internal.HttpStatus.OK*/get OK() { + return 200; + }, + /*_internal.HttpStatus.CREATED*/get CREATED() { + return 201; + }, + /*_internal.HttpStatus.ACCEPTED*/get ACCEPTED() { + return 202; + }, + /*_internal.HttpStatus.NON_AUTHORITATIVE_INFORMATION*/get NON_AUTHORITATIVE_INFORMATION() { + return 203; + }, + /*_internal.HttpStatus.NO_CONTENT*/get NO_CONTENT() { + return 204; + }, + /*_internal.HttpStatus.RESET_CONTENT*/get RESET_CONTENT() { + return 205; + }, + /*_internal.HttpStatus.PARTIAL_CONTENT*/get PARTIAL_CONTENT() { + return 206; + }, + /*_internal.HttpStatus.MULTIPLE_CHOICES*/get MULTIPLE_CHOICES() { + return 300; + }, + /*_internal.HttpStatus.MOVED_PERMANENTLY*/get MOVED_PERMANENTLY() { + return 301; + }, + /*_internal.HttpStatus.FOUND*/get FOUND() { + return 302; + }, + /*_internal.HttpStatus.MOVED_TEMPORARILY*/get MOVED_TEMPORARILY() { + return 302; + }, + /*_internal.HttpStatus.SEE_OTHER*/get SEE_OTHER() { + return 303; + }, + /*_internal.HttpStatus.NOT_MODIFIED*/get NOT_MODIFIED() { + return 304; + }, + /*_internal.HttpStatus.USE_PROXY*/get USE_PROXY() { + return 305; + }, + /*_internal.HttpStatus.TEMPORARY_REDIRECT*/get TEMPORARY_REDIRECT() { + return 307; + }, + /*_internal.HttpStatus.BAD_REQUEST*/get BAD_REQUEST() { + return 400; + }, + /*_internal.HttpStatus.UNAUTHORIZED*/get UNAUTHORIZED() { + return 401; + }, + /*_internal.HttpStatus.PAYMENT_REQUIRED*/get PAYMENT_REQUIRED() { + return 402; + }, + /*_internal.HttpStatus.FORBIDDEN*/get FORBIDDEN() { + return 403; + }, + /*_internal.HttpStatus.NOT_FOUND*/get NOT_FOUND() { + return 404; + }, + /*_internal.HttpStatus.METHOD_NOT_ALLOWED*/get METHOD_NOT_ALLOWED() { + return 405; + }, + /*_internal.HttpStatus.NOT_ACCEPTABLE*/get NOT_ACCEPTABLE() { + return 406; + }, + /*_internal.HttpStatus.PROXY_AUTHENTICATION_REQUIRED*/get PROXY_AUTHENTICATION_REQUIRED() { + return 407; + }, + /*_internal.HttpStatus.REQUEST_TIMEOUT*/get REQUEST_TIMEOUT() { + return 408; + }, + /*_internal.HttpStatus.CONFLICT*/get CONFLICT() { + return 409; + }, + /*_internal.HttpStatus.GONE*/get GONE() { + return 410; + }, + /*_internal.HttpStatus.LENGTH_REQUIRED*/get LENGTH_REQUIRED() { + return 411; + }, + /*_internal.HttpStatus.PRECONDITION_FAILED*/get PRECONDITION_FAILED() { + return 412; + }, + /*_internal.HttpStatus.REQUEST_ENTITY_TOO_LARGE*/get REQUEST_ENTITY_TOO_LARGE() { + return 413; + }, + /*_internal.HttpStatus.REQUEST_URI_TOO_LONG*/get REQUEST_URI_TOO_LONG() { + return 414; + }, + /*_internal.HttpStatus.UNSUPPORTED_MEDIA_TYPE*/get UNSUPPORTED_MEDIA_TYPE() { + return 415; + }, + /*_internal.HttpStatus.REQUESTED_RANGE_NOT_SATISFIABLE*/get REQUESTED_RANGE_NOT_SATISFIABLE() { + return 416; + }, + /*_internal.HttpStatus.EXPECTATION_FAILED*/get EXPECTATION_FAILED() { + return 417; + }, + /*_internal.HttpStatus.UPGRADE_REQUIRED*/get UPGRADE_REQUIRED() { + return 426; + }, + /*_internal.HttpStatus.INTERNAL_SERVER_ERROR*/get INTERNAL_SERVER_ERROR() { + return 500; + }, + /*_internal.HttpStatus.NOT_IMPLEMENTED*/get NOT_IMPLEMENTED() { + return 501; + }, + /*_internal.HttpStatus.BAD_GATEWAY*/get BAD_GATEWAY() { + return 502; + }, + /*_internal.HttpStatus.SERVICE_UNAVAILABLE*/get SERVICE_UNAVAILABLE() { + return 503; + }, + /*_internal.HttpStatus.GATEWAY_TIMEOUT*/get GATEWAY_TIMEOUT() { + return 504; + }, + /*_internal.HttpStatus.HTTP_VERSION_NOT_SUPPORTED*/get HTTP_VERSION_NOT_SUPPORTED() { + return 505; + }, + /*_internal.HttpStatus.NETWORK_CONNECT_TIMEOUT_ERROR*/get NETWORK_CONNECT_TIMEOUT_ERROR() { + return 599; + } +}, false); +var _source$ = dart.privateName(_internal, "_source"); +var _add = dart.privateName(async, "_add"); +var _closeUnchecked = dart.privateName(async, "_closeUnchecked"); +var _addError = dart.privateName(async, "_addError"); +var _completeError = dart.privateName(async, "_completeError"); +var _complete = dart.privateName(async, "_complete"); +var _sink$ = dart.privateName(async, "_sink"); +async.Stream$ = dart.generic(T => { + var _AsBroadcastStreamOfT = () => (_AsBroadcastStreamOfT = dart.constFn(async._AsBroadcastStream$(T)))(); + var _WhereStreamOfT = () => (_WhereStreamOfT = dart.constFn(async._WhereStream$(T)))(); + var TTovoid = () => (TTovoid = dart.constFn(dart.fnType(dart.void, [T])))(); + var _HandleErrorStreamOfT = () => (_HandleErrorStreamOfT = dart.constFn(async._HandleErrorStream$(T)))(); + var StreamConsumerOfT = () => (StreamConsumerOfT = dart.constFn(async.StreamConsumer$(T)))(); + var TAndTToT = () => (TAndTToT = dart.constFn(dart.fnType(T, [T, T])))(); + var _FutureOfT = () => (_FutureOfT = dart.constFn(async._Future$(T)))(); + var VoidToT = () => (VoidToT = dart.constFn(dart.fnType(T, [])))(); + var TTodynamic = () => (TTodynamic = dart.constFn(dart.fnType(dart.dynamic, [T])))(); + var TToNull = () => (TToNull = dart.constFn(dart.fnType(core.Null, [T])))(); + var JSArrayOfT = () => (JSArrayOfT = dart.constFn(_interceptors.JSArray$(T)))(); + var ListOfT = () => (ListOfT = dart.constFn(core.List$(T)))(); + var _FutureOfListOfT = () => (_FutureOfListOfT = dart.constFn(async._Future$(ListOfT())))(); + var _HashSetOfT = () => (_HashSetOfT = dart.constFn(collection._HashSet$(T)))(); + var SetOfT = () => (SetOfT = dart.constFn(core.Set$(T)))(); + var _FutureOfSetOfT = () => (_FutureOfSetOfT = dart.constFn(async._Future$(SetOfT())))(); + var _TakeStreamOfT = () => (_TakeStreamOfT = dart.constFn(async._TakeStream$(T)))(); + var _TakeWhileStreamOfT = () => (_TakeWhileStreamOfT = dart.constFn(async._TakeWhileStream$(T)))(); + var _SkipStreamOfT = () => (_SkipStreamOfT = dart.constFn(async._SkipStream$(T)))(); + var _SkipWhileStreamOfT = () => (_SkipWhileStreamOfT = dart.constFn(async._SkipWhileStream$(T)))(); + var _DistinctStreamOfT = () => (_DistinctStreamOfT = dart.constFn(async._DistinctStream$(T)))(); + var VoidToNT = () => (VoidToNT = dart.constFn(dart.nullable(VoidToT())))(); + var _SyncBroadcastStreamControllerOfT = () => (_SyncBroadcastStreamControllerOfT = dart.constFn(async._SyncBroadcastStreamController$(T)))(); + var _SyncStreamControllerOfT = () => (_SyncStreamControllerOfT = dart.constFn(async._SyncStreamController$(T)))(); + var EventSinkOfT = () => (EventSinkOfT = dart.constFn(async.EventSink$(T)))(); + var _ControllerEventSinkWrapperOfT = () => (_ControllerEventSinkWrapperOfT = dart.constFn(async._ControllerEventSinkWrapper$(T)))(); + class Stream extends core.Object { + static value(value) { + let t27; + return (t27 = new (async._AsyncStreamController$(T)).new(null, null, null, null), (() => { + t27[_add](value); + t27[_closeUnchecked](); + return t27; + })()).stream; + } + static error(error, stackTrace = null) { + let t28, t27; + if (error == null) dart.nullFailed(I[28], 143, 31, "error"); + _internal.checkNotNullable(core.Object, error, "error"); + return (t27 = new (async._AsyncStreamController$(T)).new(null, null, null, null), (() => { + t27[_addError](error, (t28 = stackTrace, t28 == null ? async.AsyncError.defaultStackTrace(error) : t28)); + t27[_closeUnchecked](); + return t27; + })()).stream; + } + static fromFuture(future) { + if (future == null) dart.nullFailed(I[28], 156, 39, "future"); + let controller = new (async._SyncStreamController$(T)).new(null, null, null, null); + future.then(core.Null, dart.fn(value => { + controller[_add](value); + controller[_closeUnchecked](); + }, dart.fnType(core.Null, [T])), {onError: dart.fn((error, stackTrace) => { + controller[_addError](core.Object.as(error), core.StackTrace.as(stackTrace)); + controller[_closeUnchecked](); + }, T$.dynamicAnddynamicToNull())}); + return controller.stream; + } + static fromFutures(futures) { + if (futures == null) dart.nullFailed(I[28], 185, 50, "futures"); + let controller = new (async._SyncStreamController$(T)).new(null, null, null, null); + let count = 0; + function onValue(value) { + if (!dart.test(controller.isClosed)) { + controller[_add](value); + if ((count = count - 1) === 0) controller[_closeUnchecked](); + } + } + dart.fn(onValue, dart.fnType(dart.void, [T])); + function onError(error, stack) { + if (error == null) dart.nullFailed(I[28], 199, 25, "error"); + if (stack == null) dart.nullFailed(I[28], 199, 43, "stack"); + if (!dart.test(controller.isClosed)) { + controller[_addError](error, stack); + if ((count = count - 1) === 0) controller[_closeUnchecked](); + } + } + dart.fn(onError, T$.ObjectAndStackTraceTovoid()); + for (let future of futures) { + count = count + 1; + future.then(dart.void, onValue, {onError: onError}); + } + if (count === 0) async.scheduleMicrotask(dart.bind(controller, 'close')); + return controller.stream; + } + static fromIterable(elements) { + if (elements == null) dart.nullFailed(I[28], 229, 43, "elements"); + return new (async._GeneratedStreamImpl$(T)).new(dart.fn(() => new (async._IterablePendingEvents$(T)).new(elements), dart.fnType(async._IterablePendingEvents$(T), []))); + } + static multi(onListen, opts) { + if (onListen == null) dart.nullFailed(I[28], 298, 64, "onListen"); + let isBroadcast = opts && 'isBroadcast' in opts ? opts.isBroadcast : false; + if (isBroadcast == null) dart.nullFailed(I[28], 299, 13, "isBroadcast"); + return new (async._MultiStream$(T)).new(onListen, isBroadcast); + } + static periodic(period, computation = null) { + if (period == null) dart.nullFailed(I[28], 315, 36, "period"); + if (computation == null && !dart.test(_internal.typeAcceptsNull(T))) { + dart.throw(new core.ArgumentError.value(null, "computation", "Must not be omitted when the event type is non-nullable")); + } + let controller = new (async._SyncStreamController$(T)).new(null, null, null, null); + let watch = new core.Stopwatch.new(); + controller.onListen = dart.fn(() => { + let t28; + let computationCount = 0; + function sendEvent(_) { + let t27; + watch.reset(); + if (computation != null) { + let event = null; + try { + event = computation((t27 = computationCount, computationCount = t27 + 1, t27)); + } catch (e$) { + let e = dart.getThrown(e$); + let s = dart.stackTrace(e$); + if (core.Object.is(e)) { + controller.addError(e, s); + return; + } else + throw e$; + } + controller.add(event); + } else { + controller.add(T.as(null)); + } + } + dart.fn(sendEvent, T$.dynamicTovoid()); + let timer = async.Timer.periodic(period, sendEvent); + t28 = controller; + (() => { + t28.onCancel = dart.fn(() => { + timer.cancel(); + return async.Future._nullFuture; + }, T$.VoidTo_FutureOfNull()); + t28.onPause = dart.fn(() => { + watch.stop(); + timer.cancel(); + }, T$.VoidTovoid()); + t28.onResume = dart.fn(() => { + let elapsed = watch.elapsed; + watch.start(); + timer = async.Timer.new(period['-'](elapsed), dart.fn(() => { + timer = async.Timer.periodic(period, sendEvent); + sendEvent(null); + }, T$.VoidTovoid())); + }, T$.VoidTovoid()); + return t28; + })(); + }, T$.VoidTovoid()); + return controller.stream; + } + static eventTransformed(source, mapSink) { + if (source == null) dart.nullFailed(I[28], 403, 23, "source"); + if (mapSink == null) dart.nullFailed(I[28], 403, 50, "mapSink"); + return new (async._BoundSinkStream$(dart.dynamic, T)).new(source, mapSink); + } + static castFrom(S, T, source) { + if (source == null) dart.nullFailed(I[28], 413, 45, "source"); + return new (_internal.CastStream$(S, T)).new(source); + } + get isBroadcast() { + return false; + } + asBroadcastStream(opts) { + let onListen = opts && 'onListen' in opts ? opts.onListen : null; + let onCancel = opts && 'onCancel' in opts ? opts.onCancel : null; + return new (_AsBroadcastStreamOfT()).new(this, onListen, onCancel); + } + where(test) { + if (test == null) dart.nullFailed(I[28], 493, 24, "test"); + return new (_WhereStreamOfT()).new(this, test); + } + map(S, convert) { + if (convert == null) dart.nullFailed(I[28], 521, 22, "convert"); + return new (async._MapStream$(T, S)).new(this, convert); + } + asyncMap(E, convert) { + if (convert == null) dart.nullFailed(I[28], 533, 37, "convert"); + let controller = null; + if (dart.test(this.isBroadcast)) { + controller = new (async._SyncBroadcastStreamController$(E)).new(null, null); + } else { + controller = new (async._SyncStreamController$(E)).new(null, null, null, null); + } + controller.onListen = dart.fn(() => { + let t29; + let subscription = this.listen(null, {onError: dart.bind(controller, _addError), onDone: dart.bind(controller, 'close')}); + function add(value) { + controller.add(value); + } + dart.fn(add, dart.fnType(T$.FutureNOfNull(), [E])); + let addError = dart.bind(controller, _addError); + let resume = dart.bind(subscription, 'resume'); + subscription.onData(dart.fn(event => { + let newValue = null; + try { + newValue = convert(event); + } catch (e$) { + let e = dart.getThrown(e$); + let s = dart.stackTrace(e$); + if (core.Object.is(e)) { + controller.addError(e, s); + return; + } else + throw e$; + } + if (async.Future$(E).is(newValue)) { + subscription.pause(); + newValue.then(core.Null, add, {onError: addError}).whenComplete(resume); + } else { + controller.add(E.as(newValue)); + } + }, TTovoid())); + controller.onCancel = dart.bind(subscription, 'cancel'); + if (!dart.test(this.isBroadcast)) { + t29 = controller; + (() => { + t29.onPause = dart.bind(subscription, 'pause'); + t29.onResume = resume; + return t29; + })(); + } + }, T$.VoidTovoid()); + return controller.stream; + } + asyncExpand(E, convert) { + if (convert == null) dart.nullFailed(I[28], 593, 39, "convert"); + let controller = null; + if (dart.test(this.isBroadcast)) { + controller = new (async._SyncBroadcastStreamController$(E)).new(null, null); + } else { + controller = new (async._SyncStreamController$(E)).new(null, null, null, null); + } + controller.onListen = dart.fn(() => { + let t30; + let subscription = this.listen(null, {onError: dart.bind(controller, _addError), onDone: dart.bind(controller, 'close')}); + subscription.onData(dart.fn(event => { + let newStream = null; + try { + newStream = convert(event); + } catch (e$) { + let e = dart.getThrown(e$); + let s = dart.stackTrace(e$); + if (core.Object.is(e)) { + controller.addError(e, s); + return; + } else + throw e$; + } + if (newStream != null) { + subscription.pause(); + controller.addStream(newStream).whenComplete(dart.bind(subscription, 'resume')); + } + }, TTovoid())); + controller.onCancel = dart.bind(subscription, 'cancel'); + if (!dart.test(this.isBroadcast)) { + t30 = controller; + (() => { + t30.onPause = dart.bind(subscription, 'pause'); + t30.onResume = dart.bind(subscription, 'resume'); + return t30; + })(); + } + }, T$.VoidTovoid()); + return controller.stream; + } + handleError(onError, opts) { + if (onError == null) dart.nullFailed(I[28], 658, 34, "onError"); + let test = opts && 'test' in opts ? opts.test : null; + return new (_HandleErrorStreamOfT()).new(this, onError, test); + } + expand(S, convert) { + if (convert == null) dart.nullFailed(I[28], 679, 35, "convert"); + return new (async._ExpandStream$(T, S)).new(this, convert); + } + pipe(streamConsumer) { + StreamConsumerOfT().as(streamConsumer); + if (streamConsumer == null) dart.nullFailed(I[28], 697, 33, "streamConsumer"); + return streamConsumer.addStream(this).then(dart.dynamic, dart.fn(_ => streamConsumer.close(), T$.dynamicToFuture())); + } + transform(S, streamTransformer) { + async.StreamTransformer$(T, S).as(streamTransformer); + if (streamTransformer == null) dart.nullFailed(I[28], 726, 50, "streamTransformer"); + return streamTransformer.bind(this); + } + reduce(combine) { + TAndTToT().as(combine); + if (combine == null) dart.nullFailed(I[28], 747, 22, "combine"); + let result = new (_FutureOfT()).new(); + let seenFirst = false; + let value = null; + let value$35isSet = false; + function value$35get() { + return value$35isSet ? value : dart.throw(new _internal.LateError.localNI("value")); + } + dart.fn(value$35get, VoidToT()); + function value$35set(t33) { + value$35isSet = true; + return value = t33; + } + dart.fn(value$35set, TTodynamic()); + let subscription = this.listen(null, {onError: dart.bind(result, _completeError), onDone: dart.fn(() => { + if (!seenFirst) { + try { + dart.throw(_internal.IterableElementError.noElement()); + } catch (e$) { + let e = dart.getThrown(e$); + let s = dart.stackTrace(e$); + if (core.Object.is(e)) { + async._completeWithErrorCallback(result, e, s); + } else + throw e$; + } + } else { + result[_complete](value$35get()); + } + }, T$.VoidTovoid()), cancelOnError: true}); + subscription.onData(dart.fn(element => { + if (seenFirst) { + async._runUserCode(T, dart.fn(() => combine(value$35get(), element), VoidToT()), dart.fn(newValue => { + value$35set(newValue); + }, TToNull()), async._cancelAndErrorClosure(subscription, result)); + } else { + value$35set(element); + seenFirst = true; + } + }, TTovoid())); + return result; + } + fold(S, initialValue, combine) { + if (combine == null) dart.nullFailed(I[28], 794, 39, "combine"); + let result = new (async._Future$(S)).new(); + let value = initialValue; + let subscription = this.listen(null, {onError: dart.bind(result, _completeError), onDone: dart.fn(() => { + result[_complete](value); + }, T$.VoidTovoid()), cancelOnError: true}); + subscription.onData(dart.fn(element => { + async._runUserCode(S, dart.fn(() => combine(value, element), dart.fnType(S, [])), dart.fn(newValue => { + value = newValue; + }, dart.fnType(core.Null, [S])), async._cancelAndErrorClosure(subscription, result)); + }, TTovoid())); + return result; + } + join(separator = "") { + if (separator == null) dart.nullFailed(I[28], 821, 31, "separator"); + let result = new (T$._FutureOfString()).new(); + let buffer = new core.StringBuffer.new(); + let first = true; + let subscription = this.listen(null, {onError: dart.bind(result, _completeError), onDone: dart.fn(() => { + result[_complete](buffer.toString()); + }, T$.VoidTovoid()), cancelOnError: true}); + subscription.onData(separator[$isEmpty] ? dart.fn(element => { + try { + buffer.write(element); + } catch (e$) { + let e = dart.getThrown(e$); + let s = dart.stackTrace(e$); + if (core.Object.is(e)) { + async._cancelAndErrorWithReplacement(subscription, result, e, s); + } else + throw e$; + } + }, TTovoid()) : dart.fn(element => { + if (!first) { + buffer.write(separator); + } + first = false; + try { + buffer.write(element); + } catch (e$) { + let e = dart.getThrown(e$); + let s = dart.stackTrace(e$); + if (core.Object.is(e)) { + async._cancelAndErrorWithReplacement(subscription, result, e, s); + } else + throw e$; + } + }, TTovoid())); + return result; + } + contains(needle) { + let future = new (T$._FutureOfbool()).new(); + let subscription = this.listen(null, {onError: dart.bind(future, _completeError), onDone: dart.fn(() => { + future[_complete](false); + }, T$.VoidTovoid()), cancelOnError: true}); + subscription.onData(dart.fn(element => { + async._runUserCode(core.bool, dart.fn(() => dart.equals(element, needle), T$.VoidTobool()), dart.fn(isMatch => { + if (isMatch == null) dart.nullFailed(I[28], 868, 53, "isMatch"); + if (dart.test(isMatch)) { + async._cancelAndValue(subscription, future, true); + } + }, T$.boolToNull()), async._cancelAndErrorClosure(subscription, future)); + }, TTovoid())); + return future; + } + forEach(action) { + if (action == null) dart.nullFailed(I[28], 885, 23, "action"); + let future = new async._Future.new(); + let subscription = this.listen(null, {onError: dart.bind(future, _completeError), onDone: dart.fn(() => { + future[_complete](null); + }, T$.VoidTovoid()), cancelOnError: true}); + subscription.onData(dart.fn(element => { + async._runUserCode(dart.void, dart.fn(() => action(element), T$.VoidTovoid()), dart.fn(_ => { + }, T$.voidToNull()), async._cancelAndErrorClosure(subscription, future)); + }, TTovoid())); + return future; + } + every(test) { + if (test == null) dart.nullFailed(I[28], 910, 27, "test"); + let future = new (T$._FutureOfbool()).new(); + let subscription = this.listen(null, {onError: dart.bind(future, _completeError), onDone: dart.fn(() => { + future[_complete](true); + }, T$.VoidTovoid()), cancelOnError: true}); + subscription.onData(dart.fn(element => { + async._runUserCode(core.bool, dart.fn(() => test(element), T$.VoidTobool()), dart.fn(isMatch => { + if (isMatch == null) dart.nullFailed(I[28], 917, 47, "isMatch"); + if (!dart.test(isMatch)) { + async._cancelAndValue(subscription, future, false); + } + }, T$.boolToNull()), async._cancelAndErrorClosure(subscription, future)); + }, TTovoid())); + return future; + } + any(test) { + if (test == null) dart.nullFailed(I[28], 938, 25, "test"); + let future = new (T$._FutureOfbool()).new(); + let subscription = this.listen(null, {onError: dart.bind(future, _completeError), onDone: dart.fn(() => { + future[_complete](false); + }, T$.VoidTovoid()), cancelOnError: true}); + subscription.onData(dart.fn(element => { + async._runUserCode(core.bool, dart.fn(() => test(element), T$.VoidTobool()), dart.fn(isMatch => { + if (isMatch == null) dart.nullFailed(I[28], 945, 47, "isMatch"); + if (dart.test(isMatch)) { + async._cancelAndValue(subscription, future, true); + } + }, T$.boolToNull()), async._cancelAndErrorClosure(subscription, future)); + }, TTovoid())); + return future; + } + get length() { + let future = new (T$._FutureOfint()).new(); + let count = 0; + this.listen(dart.fn(_ => { + count = count + 1; + }, TTovoid()), {onError: dart.bind(future, _completeError), onDone: dart.fn(() => { + future[_complete](count); + }, T$.VoidTovoid()), cancelOnError: true}); + return future; + } + get isEmpty() { + let future = new (T$._FutureOfbool()).new(); + let subscription = this.listen(null, {onError: dart.bind(future, _completeError), onDone: dart.fn(() => { + future[_complete](true); + }, T$.VoidTovoid()), cancelOnError: true}); + subscription.onData(dart.fn(_ => { + async._cancelAndValue(subscription, future, false); + }, TTovoid())); + return future; + } + cast(R) { + return async.Stream.castFrom(T, R, this); + } + toList() { + let result = JSArrayOfT().of([]); + let future = new (_FutureOfListOfT()).new(); + this.listen(dart.fn(data => { + result[$add](data); + }, TTovoid()), {onError: dart.bind(future, _completeError), onDone: dart.fn(() => { + future[_complete](result); + }, T$.VoidTovoid()), cancelOnError: true}); + return future; + } + toSet() { + let result = new (_HashSetOfT()).new(); + let future = new (_FutureOfSetOfT()).new(); + this.listen(dart.fn(data => { + result.add(data); + }, TTovoid()), {onError: dart.bind(future, _completeError), onDone: dart.fn(() => { + future[_complete](result); + }, T$.VoidTovoid()), cancelOnError: true}); + return future; + } + drain(E, futureValue = null) { + if (futureValue == null) { + futureValue = E.as(futureValue); + } + return this.listen(null, {cancelOnError: true}).asFuture(E, futureValue); + } + take(count) { + if (count == null) dart.nullFailed(I[28], 1104, 22, "count"); + return new (_TakeStreamOfT()).new(this, count); + } + takeWhile(test) { + if (test == null) dart.nullFailed(I[28], 1128, 28, "test"); + return new (_TakeWhileStreamOfT()).new(this, test); + } + skip(count) { + if (count == null) dart.nullFailed(I[28], 1145, 22, "count"); + return new (_SkipStreamOfT()).new(this, count); + } + skipWhile(test) { + if (test == null) dart.nullFailed(I[28], 1165, 28, "test"); + return new (_SkipWhileStreamOfT()).new(this, test); + } + distinct(equals = null) { + return new (_DistinctStreamOfT()).new(this, equals); + } + get first() { + let future = new (_FutureOfT()).new(); + let subscription = this.listen(null, {onError: dart.bind(future, _completeError), onDone: dart.fn(() => { + try { + dart.throw(_internal.IterableElementError.noElement()); + } catch (e$) { + let e = dart.getThrown(e$); + let s = dart.stackTrace(e$); + if (core.Object.is(e)) { + async._completeWithErrorCallback(future, e, s); + } else + throw e$; + } + }, T$.VoidTovoid()), cancelOnError: true}); + subscription.onData(dart.fn(value => { + async._cancelAndValue(subscription, future, value); + }, TTovoid())); + return future; + } + get last() { + let future = new (_FutureOfT()).new(); + let result = null; + let result$35isSet = false; + function result$35get() { + return result$35isSet ? result : dart.throw(new _internal.LateError.localNI("result")); + } + dart.fn(result$35get, VoidToT()); + function result$35set(t42) { + result$35isSet = true; + return result = t42; + } + dart.fn(result$35set, TTodynamic()); + let foundResult = false; + this.listen(dart.fn(value => { + foundResult = true; + result$35set(value); + }, TTovoid()), {onError: dart.bind(future, _completeError), onDone: dart.fn(() => { + if (foundResult) { + future[_complete](result$35get()); + return; + } + try { + dart.throw(_internal.IterableElementError.noElement()); + } catch (e$) { + let e = dart.getThrown(e$); + let s = dart.stackTrace(e$); + if (core.Object.is(e)) { + async._completeWithErrorCallback(future, e, s); + } else + throw e$; + } + }, T$.VoidTovoid()), cancelOnError: true}); + return future; + } + get single() { + let future = new (_FutureOfT()).new(); + let result = null; + let result$35isSet = false; + function result$35get() { + return result$35isSet ? result : dart.throw(new _internal.LateError.localNI("result")); + } + dart.fn(result$35get, VoidToT()); + function result$35set(t48) { + result$35isSet = true; + return result = t48; + } + dart.fn(result$35set, TTodynamic()); + let foundResult = false; + let subscription = this.listen(null, {onError: dart.bind(future, _completeError), onDone: dart.fn(() => { + if (foundResult) { + future[_complete](result$35get()); + return; + } + try { + dart.throw(_internal.IterableElementError.noElement()); + } catch (e$) { + let e = dart.getThrown(e$); + let s = dart.stackTrace(e$); + if (core.Object.is(e)) { + async._completeWithErrorCallback(future, e, s); + } else + throw e$; + } + }, T$.VoidTovoid()), cancelOnError: true}); + subscription.onData(dart.fn(value => { + if (foundResult) { + try { + dart.throw(_internal.IterableElementError.tooMany()); + } catch (e$) { + let e = dart.getThrown(e$); + let s = dart.stackTrace(e$); + if (core.Object.is(e)) { + async._cancelAndErrorWithReplacement(subscription, future, e, s); + } else + throw e$; + } + return; + } + foundResult = true; + result$35set(value); + }, TTovoid())); + return future; + } + firstWhere(test, opts) { + if (test == null) dart.nullFailed(I[28], 1320, 29, "test"); + let orElse = opts && 'orElse' in opts ? opts.orElse : null; + VoidToNT().as(orElse); + let future = new (_FutureOfT()).new(); + let subscription = this.listen(null, {onError: dart.bind(future, _completeError), onDone: dart.fn(() => { + if (orElse != null) { + async._runUserCode(T, orElse, dart.bind(future, _complete), dart.bind(future, _completeError)); + return; + } + try { + dart.throw(_internal.IterableElementError.noElement()); + } catch (e$) { + let e = dart.getThrown(e$); + let s = dart.stackTrace(e$); + if (core.Object.is(e)) { + async._completeWithErrorCallback(future, e, s); + } else + throw e$; + } + }, T$.VoidTovoid()), cancelOnError: true}); + subscription.onData(dart.fn(value => { + async._runUserCode(core.bool, dart.fn(() => test(value), T$.VoidTobool()), dart.fn(isMatch => { + if (isMatch == null) dart.nullFailed(I[28], 1337, 45, "isMatch"); + if (dart.test(isMatch)) { + async._cancelAndValue(subscription, future, value); + } + }, T$.boolToNull()), async._cancelAndErrorClosure(subscription, future)); + }, TTovoid())); + return future; + } + lastWhere(test, opts) { + if (test == null) dart.nullFailed(I[28], 1355, 28, "test"); + let orElse = opts && 'orElse' in opts ? opts.orElse : null; + VoidToNT().as(orElse); + let future = new (_FutureOfT()).new(); + let result = null; + let result$35isSet = false; + function result$35get() { + return result$35isSet ? result : dart.throw(new _internal.LateError.localNI("result")); + } + dart.fn(result$35get, VoidToT()); + function result$35set(t56) { + result$35isSet = true; + return result = t56; + } + dart.fn(result$35set, TTodynamic()); + let foundResult = false; + let subscription = this.listen(null, {onError: dart.bind(future, _completeError), onDone: dart.fn(() => { + if (foundResult) { + future[_complete](result$35get()); + return; + } + if (orElse != null) { + async._runUserCode(T, orElse, dart.bind(future, _complete), dart.bind(future, _completeError)); + return; + } + try { + dart.throw(_internal.IterableElementError.noElement()); + } catch (e$) { + let e = dart.getThrown(e$); + let s = dart.stackTrace(e$); + if (core.Object.is(e)) { + async._completeWithErrorCallback(future, e, s); + } else + throw e$; + } + }, T$.VoidTovoid()), cancelOnError: true}); + subscription.onData(dart.fn(value => { + async._runUserCode(core.bool, dart.fn(() => test(value), T$.VoidTobool()), dart.fn(isMatch => { + if (isMatch == null) dart.nullFailed(I[28], 1377, 45, "isMatch"); + if (dart.test(isMatch)) { + foundResult = true; + result$35set(value); + } + }, T$.boolToNull()), async._cancelAndErrorClosure(subscription, future)); + }, TTovoid())); + return future; + } + singleWhere(test, opts) { + if (test == null) dart.nullFailed(I[28], 1391, 30, "test"); + let orElse = opts && 'orElse' in opts ? opts.orElse : null; + VoidToNT().as(orElse); + let future = new (_FutureOfT()).new(); + let result = null; + let result$35isSet = false; + function result$35get() { + return result$35isSet ? result : dart.throw(new _internal.LateError.localNI("result")); + } + dart.fn(result$35get, VoidToT()); + function result$35set(t62) { + result$35isSet = true; + return result = t62; + } + dart.fn(result$35set, TTodynamic()); + let foundResult = false; + let subscription = this.listen(null, {onError: dart.bind(future, _completeError), onDone: dart.fn(() => { + if (foundResult) { + future[_complete](result$35get()); + return; + } + if (orElse != null) { + async._runUserCode(T, orElse, dart.bind(future, _complete), dart.bind(future, _completeError)); + return; + } + try { + dart.throw(_internal.IterableElementError.noElement()); + } catch (e$) { + let e = dart.getThrown(e$); + let s = dart.stackTrace(e$); + if (core.Object.is(e)) { + async._completeWithErrorCallback(future, e, s); + } else + throw e$; + } + }, T$.VoidTovoid()), cancelOnError: true}); + subscription.onData(dart.fn(value => { + async._runUserCode(core.bool, dart.fn(() => test(value), T$.VoidTobool()), dart.fn(isMatch => { + if (isMatch == null) dart.nullFailed(I[28], 1413, 45, "isMatch"); + if (dart.test(isMatch)) { + if (foundResult) { + try { + dart.throw(_internal.IterableElementError.tooMany()); + } catch (e$) { + let e = dart.getThrown(e$); + let s = dart.stackTrace(e$); + if (core.Object.is(e)) { + async._cancelAndErrorWithReplacement(subscription, future, e, s); + } else + throw e$; + } + return; + } + foundResult = true; + result$35set(value); + } + }, T$.boolToNull()), async._cancelAndErrorClosure(subscription, future)); + }, TTovoid())); + return future; + } + elementAt(index) { + if (index == null) dart.nullFailed(I[28], 1445, 27, "index"); + core.RangeError.checkNotNegative(index, "index"); + let result = new (_FutureOfT()).new(); + let elementIndex = 0; + let subscription = null; + subscription = this.listen(null, {onError: dart.bind(result, _completeError), onDone: dart.fn(() => { + result[_completeError](new core.IndexError.new(index, this, "index", null, elementIndex), core.StackTrace.empty); + }, T$.VoidTovoid()), cancelOnError: true}); + subscription.onData(dart.fn(value => { + if (index === elementIndex) { + async._cancelAndValue(subscription, result, value); + return; + } + elementIndex = elementIndex + 1; + }, TTovoid())); + return result; + } + timeout(timeLimit, opts) { + if (timeLimit == null) dart.nullFailed(I[28], 1492, 30, "timeLimit"); + let onTimeout = opts && 'onTimeout' in opts ? opts.onTimeout : null; + let controller = null; + if (dart.test(this.isBroadcast)) { + controller = new (_SyncBroadcastStreamControllerOfT()).new(null, null); + } else { + controller = new (_SyncStreamControllerOfT()).new(null, null, null, null); + } + let zone = async.Zone.current; + let timeoutCallback = null; + if (onTimeout == null) { + timeoutCallback = dart.fn(() => { + controller.addError(new async.TimeoutException.new("No stream event", timeLimit), null); + }, T$.VoidTovoid()); + } else { + let registeredOnTimeout = zone.registerUnaryCallback(dart.void, EventSinkOfT(), onTimeout); + let wrapper = new (_ControllerEventSinkWrapperOfT()).new(null); + timeoutCallback = dart.fn(() => { + wrapper[_sink$] = controller; + zone.runUnaryGuarded(_ControllerEventSinkWrapperOfT(), registeredOnTimeout, wrapper); + wrapper[_sink$] = null; + }, T$.VoidTovoid()); + } + controller.onListen = dart.fn(() => { + let t66, t66$; + let timer = zone.createTimer(timeLimit, timeoutCallback); + let subscription = this.listen(null); + t66 = subscription; + (() => { + t66.onData(dart.fn(event => { + timer.cancel(); + timer = zone.createTimer(timeLimit, timeoutCallback); + controller.add(event); + }, TTovoid())); + t66.onError(dart.fn((error, stackTrace) => { + if (error == null) dart.nullFailed(I[28], 1536, 27, "error"); + if (stackTrace == null) dart.nullFailed(I[28], 1536, 45, "stackTrace"); + timer.cancel(); + timer = zone.createTimer(timeLimit, timeoutCallback); + controller[_addError](error, stackTrace); + }, T$.ObjectAndStackTraceToNull())); + t66.onDone(dart.fn(() => { + timer.cancel(); + controller.close(); + }, T$.VoidTovoid())); + return t66; + })(); + controller.onCancel = dart.fn(() => { + timer.cancel(); + return subscription.cancel(); + }, T$.VoidToFutureOfvoid()); + if (!dart.test(this.isBroadcast)) { + t66$ = controller; + (() => { + t66$.onPause = dart.fn(() => { + timer.cancel(); + subscription.pause(); + }, T$.VoidTovoid()); + t66$.onResume = dart.fn(() => { + subscription.resume(); + timer = zone.createTimer(timeLimit, timeoutCallback); + }, T$.VoidTovoid()); + return t66$; + })(); + } + }, T$.VoidTovoid()); + return controller.stream; + } + } + (Stream.new = function() { + ; + }).prototype = Stream.prototype; + (Stream._internal = function() { + ; + }).prototype = Stream.prototype; + dart.addTypeTests(Stream); + Stream.prototype[dart.isStream] = true; + dart.addTypeCaches(Stream); + dart.setMethodSignature(Stream, () => ({ + __proto__: dart.getMethods(Stream.__proto__), + asBroadcastStream: dart.fnType(async.Stream$(T), [], {onCancel: dart.nullable(dart.fnType(dart.void, [async.StreamSubscription$(T)])), onListen: dart.nullable(dart.fnType(dart.void, [async.StreamSubscription$(T)]))}, {}), + where: dart.fnType(async.Stream$(T), [dart.fnType(core.bool, [T])]), + map: dart.gFnType(S => [async.Stream$(S), [dart.fnType(S, [T])]], S => [dart.nullable(core.Object)]), + asyncMap: dart.gFnType(E => [async.Stream$(E), [dart.fnType(async.FutureOr$(E), [T])]], E => [dart.nullable(core.Object)]), + asyncExpand: dart.gFnType(E => [async.Stream$(E), [dart.fnType(dart.nullable(async.Stream$(E)), [T])]], E => [dart.nullable(core.Object)]), + handleError: dart.fnType(async.Stream$(T), [core.Function], {test: dart.nullable(dart.fnType(core.bool, [dart.dynamic]))}, {}), + expand: dart.gFnType(S => [async.Stream$(S), [dart.fnType(core.Iterable$(S), [T])]], S => [dart.nullable(core.Object)]), + pipe: dart.fnType(async.Future, [dart.nullable(core.Object)]), + transform: dart.gFnType(S => [async.Stream$(S), [dart.nullable(core.Object)]], S => [dart.nullable(core.Object)]), + reduce: dart.fnType(async.Future$(T), [dart.nullable(core.Object)]), + fold: dart.gFnType(S => [async.Future$(S), [S, dart.fnType(S, [S, T])]], S => [dart.nullable(core.Object)]), + join: dart.fnType(async.Future$(core.String), [], [core.String]), + contains: dart.fnType(async.Future$(core.bool), [dart.nullable(core.Object)]), + forEach: dart.fnType(async.Future, [dart.fnType(dart.void, [T])]), + every: dart.fnType(async.Future$(core.bool), [dart.fnType(core.bool, [T])]), + any: dart.fnType(async.Future$(core.bool), [dart.fnType(core.bool, [T])]), + cast: dart.gFnType(R => [async.Stream$(R), []], R => [dart.nullable(core.Object)]), + toList: dart.fnType(async.Future$(core.List$(T)), []), + toSet: dart.fnType(async.Future$(core.Set$(T)), []), + drain: dart.gFnType(E => [async.Future$(E), [], [dart.nullable(E)]], E => [dart.nullable(core.Object)]), + take: dart.fnType(async.Stream$(T), [core.int]), + takeWhile: dart.fnType(async.Stream$(T), [dart.fnType(core.bool, [T])]), + skip: dart.fnType(async.Stream$(T), [core.int]), + skipWhile: dart.fnType(async.Stream$(T), [dart.fnType(core.bool, [T])]), + distinct: dart.fnType(async.Stream$(T), [], [dart.nullable(dart.fnType(core.bool, [T, T]))]), + firstWhere: dart.fnType(async.Future$(T), [dart.fnType(core.bool, [T])], {orElse: dart.nullable(core.Object)}, {}), + lastWhere: dart.fnType(async.Future$(T), [dart.fnType(core.bool, [T])], {orElse: dart.nullable(core.Object)}, {}), + singleWhere: dart.fnType(async.Future$(T), [dart.fnType(core.bool, [T])], {orElse: dart.nullable(core.Object)}, {}), + elementAt: dart.fnType(async.Future$(T), [core.int]), + timeout: dart.fnType(async.Stream$(T), [core.Duration], {onTimeout: dart.nullable(dart.fnType(dart.void, [async.EventSink$(T)]))}, {}) + })); + dart.setGetterSignature(Stream, () => ({ + __proto__: dart.getGetters(Stream.__proto__), + isBroadcast: core.bool, + length: async.Future$(core.int), + isEmpty: async.Future$(core.bool), + first: async.Future$(T), + last: async.Future$(T), + single: async.Future$(T) + })); + dart.setLibraryUri(Stream, I[29]); + return Stream; +}); +async.Stream = async.Stream$(); +dart.addTypeTests(async.Stream, dart.isStream); +const _is_CastStream_default = Symbol('_is_CastStream_default'); +_internal.CastStream$ = dart.generic((S, T) => { + var CastStreamSubscriptionOfS$T = () => (CastStreamSubscriptionOfS$T = dart.constFn(_internal.CastStreamSubscription$(S, T)))(); + class CastStream extends async.Stream$(T) { + get isBroadcast() { + return this[_source$].isBroadcast; + } + listen(onData, opts) { + let t27; + let onError = opts && 'onError' in opts ? opts.onError : null; + let onDone = opts && 'onDone' in opts ? opts.onDone : null; + let cancelOnError = opts && 'cancelOnError' in opts ? opts.cancelOnError : null; + t27 = new (CastStreamSubscriptionOfS$T()).new(this[_source$].listen(null, {onDone: onDone, cancelOnError: cancelOnError})); + return (() => { + t27.onData(onData); + t27.onError(onError); + return t27; + })(); + } + cast(R) { + return new (_internal.CastStream$(S, R)).new(this[_source$]); + } + } + (CastStream.new = function(_source) { + if (_source == null) dart.nullFailed(I[27], 11, 19, "_source"); + this[_source$] = _source; + CastStream.__proto__.new.call(this); + ; + }).prototype = CastStream.prototype; + dart.addTypeTests(CastStream); + CastStream.prototype[_is_CastStream_default] = true; + dart.addTypeCaches(CastStream); + dart.setMethodSignature(CastStream, () => ({ + __proto__: dart.getMethods(CastStream.__proto__), + listen: dart.fnType(async.StreamSubscription$(T), [dart.nullable(dart.fnType(dart.void, [T]))], {cancelOnError: dart.nullable(core.bool), onDone: dart.nullable(dart.fnType(dart.void, [])), onError: dart.nullable(core.Function)}, {}), + cast: dart.gFnType(R => [async.Stream$(R), []], R => [dart.nullable(core.Object)]) + })); + dart.setLibraryUri(CastStream, I[25]); + dart.setFieldSignature(CastStream, () => ({ + __proto__: dart.getFields(CastStream.__proto__), + [_source$]: dart.finalFieldType(async.Stream$(S)) + })); + return CastStream; +}); +_internal.CastStream = _internal.CastStream$(); +dart.addTypeTests(_internal.CastStream, _is_CastStream_default); +var _zone = dart.privateName(_internal, "_zone"); +var _handleData = dart.privateName(_internal, "_handleData"); +var _handleError = dart.privateName(_internal, "_handleError"); +var _onData = dart.privateName(_internal, "_onData"); +const _is_CastStreamSubscription_default = Symbol('_is_CastStreamSubscription_default'); +_internal.CastStreamSubscription$ = dart.generic((S, T) => { + class CastStreamSubscription extends core.Object { + cancel() { + return this[_source$].cancel(); + } + onData(handleData) { + this[_handleData] = handleData == null ? null : this[_zone].registerUnaryCallback(dart.dynamic, T, handleData); + } + onError(handleError) { + this[_source$].onError(handleError); + if (handleError == null) { + this[_handleError] = null; + } else if (T$.ObjectAndStackTraceTovoid().is(handleError)) { + this[_handleError] = this[_zone].registerBinaryCallback(dart.dynamic, core.Object, core.StackTrace, handleError); + } else if (T$.ObjectTovoid().is(handleError)) { + this[_handleError] = this[_zone].registerUnaryCallback(dart.dynamic, core.Object, handleError); + } else { + dart.throw(new core.ArgumentError.new("handleError callback must take either an Object " + "(the error), or both an Object (the error) and a StackTrace.")); + } + } + onDone(handleDone) { + this[_source$].onDone(handleDone); + } + [_onData](data) { + S.as(data); + if (this[_handleData] == null) return; + let targetData = null; + try { + targetData = T.as(data); + } catch (e) { + let error = dart.getThrown(e); + let stack = dart.stackTrace(e); + if (core.Object.is(error)) { + let handleError = this[_handleError]; + if (handleError == null) { + this[_zone].handleUncaughtError(error, stack); + } else if (T$.ObjectAndStackTraceTovoid().is(handleError)) { + this[_zone].runBinaryGuarded(core.Object, core.StackTrace, handleError, error, stack); + } else { + this[_zone].runUnaryGuarded(core.Object, T$.ObjectTovoid().as(handleError), error); + } + return; + } else + throw e; + } + this[_zone].runUnaryGuarded(T, dart.nullCheck(this[_handleData]), targetData); + } + pause(resumeSignal = null) { + this[_source$].pause(resumeSignal); + } + resume() { + this[_source$].resume(); + } + get isPaused() { + return this[_source$].isPaused; + } + asFuture(E, futureValue = null) { + return this[_source$].asFuture(E, futureValue); + } + } + (CastStreamSubscription.new = function(_source) { + if (_source == null) dart.nullFailed(I[27], 37, 31, "_source"); + this[_zone] = async.Zone.current; + this[_handleData] = null; + this[_handleError] = null; + this[_source$] = _source; + this[_source$].onData(dart.bind(this, _onData)); + }).prototype = CastStreamSubscription.prototype; + CastStreamSubscription.prototype[dart.isStreamSubscription] = true; + dart.addTypeTests(CastStreamSubscription); + CastStreamSubscription.prototype[_is_CastStreamSubscription_default] = true; + dart.addTypeCaches(CastStreamSubscription); + CastStreamSubscription[dart.implements] = () => [async.StreamSubscription$(T)]; + dart.setMethodSignature(CastStreamSubscription, () => ({ + __proto__: dart.getMethods(CastStreamSubscription.__proto__), + cancel: dart.fnType(async.Future, []), + onData: dart.fnType(dart.void, [dart.nullable(dart.fnType(dart.void, [T]))]), + onError: dart.fnType(dart.void, [dart.nullable(core.Function)]), + onDone: dart.fnType(dart.void, [dart.nullable(dart.fnType(dart.void, []))]), + [_onData]: dart.fnType(dart.void, [dart.nullable(core.Object)]), + pause: dart.fnType(dart.void, [], [dart.nullable(async.Future)]), + resume: dart.fnType(dart.void, []), + asFuture: dart.gFnType(E => [async.Future$(E), [], [dart.nullable(E)]], E => [dart.nullable(core.Object)]) + })); + dart.setGetterSignature(CastStreamSubscription, () => ({ + __proto__: dart.getGetters(CastStreamSubscription.__proto__), + isPaused: core.bool + })); + dart.setLibraryUri(CastStreamSubscription, I[25]); + dart.setFieldSignature(CastStreamSubscription, () => ({ + __proto__: dart.getFields(CastStreamSubscription.__proto__), + [_source$]: dart.finalFieldType(async.StreamSubscription$(S)), + [_zone]: dart.finalFieldType(async.Zone), + [_handleData]: dart.fieldType(dart.nullable(dart.fnType(dart.void, [T]))), + [_handleError]: dart.fieldType(dart.nullable(core.Function)) + })); + return CastStreamSubscription; +}); +_internal.CastStreamSubscription = _internal.CastStreamSubscription$(); +dart.addTypeTests(_internal.CastStreamSubscription, _is_CastStreamSubscription_default); +const _is_StreamTransformerBase_default = Symbol('_is_StreamTransformerBase_default'); +async.StreamTransformerBase$ = dart.generic((S, T) => { + class StreamTransformerBase extends core.Object { + cast(RS, RT) { + return async.StreamTransformer.castFrom(S, T, RS, RT, this); + } + } + (StreamTransformerBase.new = function() { + ; + }).prototype = StreamTransformerBase.prototype; + dart.addTypeTests(StreamTransformerBase); + StreamTransformerBase.prototype[_is_StreamTransformerBase_default] = true; + dart.addTypeCaches(StreamTransformerBase); + StreamTransformerBase[dart.implements] = () => [async.StreamTransformer$(S, T)]; + dart.setMethodSignature(StreamTransformerBase, () => ({ + __proto__: dart.getMethods(StreamTransformerBase.__proto__), + cast: dart.gFnType((RS, RT) => [async.StreamTransformer$(RS, RT), []], (RS, RT) => [dart.nullable(core.Object), dart.nullable(core.Object)]) + })); + dart.setLibraryUri(StreamTransformerBase, I[29]); + return StreamTransformerBase; +}); +async.StreamTransformerBase = async.StreamTransformerBase$(); +dart.addTypeTests(async.StreamTransformerBase, _is_StreamTransformerBase_default); +const _is_CastStreamTransformer_default = Symbol('_is_CastStreamTransformer_default'); +_internal.CastStreamTransformer$ = dart.generic((SS, ST, TS, TT) => { + var StreamOfTS = () => (StreamOfTS = dart.constFn(async.Stream$(TS)))(); + class CastStreamTransformer extends async.StreamTransformerBase$(TS, TT) { + cast(RS, RT) { + return new (_internal.CastStreamTransformer$(SS, ST, RS, RT)).new(this[_source$]); + } + bind(stream) { + StreamOfTS().as(stream); + if (stream == null) dart.nullFailed(I[27], 108, 30, "stream"); + return this[_source$].bind(stream.cast(SS)).cast(TT); + } + } + (CastStreamTransformer.new = function(_source) { + if (_source == null) dart.nullFailed(I[27], 104, 30, "_source"); + this[_source$] = _source; + CastStreamTransformer.__proto__.new.call(this); + ; + }).prototype = CastStreamTransformer.prototype; + dart.addTypeTests(CastStreamTransformer); + CastStreamTransformer.prototype[_is_CastStreamTransformer_default] = true; + dart.addTypeCaches(CastStreamTransformer); + dart.setMethodSignature(CastStreamTransformer, () => ({ + __proto__: dart.getMethods(CastStreamTransformer.__proto__), + cast: dart.gFnType((RS, RT) => [async.StreamTransformer$(RS, RT), []], (RS, RT) => [dart.nullable(core.Object), dart.nullable(core.Object)]), + bind: dart.fnType(async.Stream$(TT), [dart.nullable(core.Object)]) + })); + dart.setLibraryUri(CastStreamTransformer, I[25]); + dart.setFieldSignature(CastStreamTransformer, () => ({ + __proto__: dart.getFields(CastStreamTransformer.__proto__), + [_source$]: dart.finalFieldType(async.StreamTransformer$(SS, ST)) + })); + return CastStreamTransformer; +}); +_internal.CastStreamTransformer = _internal.CastStreamTransformer$(); +dart.addTypeTests(_internal.CastStreamTransformer, _is_CastStreamTransformer_default); +const _is_Converter_default = Symbol('_is_Converter_default'); +convert.Converter$ = dart.generic((S, T) => { + var StreamOfS = () => (StreamOfS = dart.constFn(async.Stream$(S)))(); + var SinkOfT = () => (SinkOfT = dart.constFn(core.Sink$(T)))(); + var StreamOfT = () => (StreamOfT = dart.constFn(async.Stream$(T)))(); + class Converter extends async.StreamTransformerBase$(S, T) { + static castFrom(SS, ST, TS, TT, source) { + if (source == null) dart.nullFailed(I[30], 21, 71, "source"); + return new (_internal.CastConverter$(SS, ST, TS, TT)).new(source); + } + fuse(TT, other) { + convert.Converter$(T, TT).as(other); + if (other == null) dart.nullFailed(I[30], 31, 46, "other"); + return new (convert._FusedConverter$(S, T, TT)).new(this, other); + } + startChunkedConversion(sink) { + SinkOfT().as(sink); + if (sink == null) dart.nullFailed(I[30], 39, 42, "sink"); + dart.throw(new core.UnsupportedError.new("This converter does not support chunked conversions: " + dart.str(this))); + } + bind(stream) { + StreamOfS().as(stream); + if (stream == null) dart.nullFailed(I[30], 44, 28, "stream"); + return StreamOfT().eventTransformed(stream, dart.fn(sink => { + if (sink == null) dart.nullFailed(I[30], 46, 28, "sink"); + return new convert._ConverterStreamEventSink.new(this, sink); + }, T$.EventSinkTo_ConverterStreamEventSink())); + } + cast(RS, RT) { + return convert.Converter.castFrom(S, T, RS, RT, this); + } + } + (Converter.new = function() { + Converter.__proto__.new.call(this); + ; + }).prototype = Converter.prototype; + dart.addTypeTests(Converter); + Converter.prototype[_is_Converter_default] = true; + dart.addTypeCaches(Converter); + dart.setMethodSignature(Converter, () => ({ + __proto__: dart.getMethods(Converter.__proto__), + fuse: dart.gFnType(TT => [convert.Converter$(S, TT), [dart.nullable(core.Object)]], TT => [dart.nullable(core.Object)]), + startChunkedConversion: dart.fnType(core.Sink$(S), [dart.nullable(core.Object)]), + bind: dart.fnType(async.Stream$(T), [dart.nullable(core.Object)]), + cast: dart.gFnType((RS, RT) => [convert.Converter$(RS, RT), []], (RS, RT) => [dart.nullable(core.Object), dart.nullable(core.Object)]) + })); + dart.setLibraryUri(Converter, I[31]); + return Converter; +}); +convert.Converter = convert.Converter$(); +dart.addTypeTests(convert.Converter, _is_Converter_default); +const _is_CastConverter_default = Symbol('_is_CastConverter_default'); +_internal.CastConverter$ = dart.generic((SS, ST, TS, TT) => { + var StreamOfTS = () => (StreamOfTS = dart.constFn(async.Stream$(TS)))(); + class CastConverter extends convert.Converter$(TS, TT) { + convert(input) { + TS.as(input); + return TT.as(this[_source$].convert(SS.as(input))); + } + bind(stream) { + StreamOfTS().as(stream); + if (stream == null) dart.nullFailed(I[27], 120, 30, "stream"); + return this[_source$].bind(stream.cast(SS)).cast(TT); + } + cast(RS, RT) { + return new (_internal.CastConverter$(SS, ST, RS, RT)).new(this[_source$]); + } + } + (CastConverter.new = function(_source) { + if (_source == null) dart.nullFailed(I[27], 114, 22, "_source"); + this[_source$] = _source; + CastConverter.__proto__.new.call(this); + ; + }).prototype = CastConverter.prototype; + dart.addTypeTests(CastConverter); + CastConverter.prototype[_is_CastConverter_default] = true; + dart.addTypeCaches(CastConverter); + dart.setMethodSignature(CastConverter, () => ({ + __proto__: dart.getMethods(CastConverter.__proto__), + convert: dart.fnType(TT, [dart.nullable(core.Object)]), + cast: dart.gFnType((RS, RT) => [convert.Converter$(RS, RT), []], (RS, RT) => [dart.nullable(core.Object), dart.nullable(core.Object)]) + })); + dart.setLibraryUri(CastConverter, I[25]); + dart.setFieldSignature(CastConverter, () => ({ + __proto__: dart.getFields(CastConverter.__proto__), + [_source$]: dart.finalFieldType(convert.Converter$(SS, ST)) + })); + return CastConverter; +}); +_internal.CastConverter = _internal.CastConverter$(); +dart.addTypeTests(_internal.CastConverter, _is_CastConverter_default); +_internal.BytesBuilder = class BytesBuilder extends core.Object { + static new(opts) { + let copy = opts && 'copy' in opts ? opts.copy : true; + if (copy == null) dart.nullFailed(I[32], 30, 30, "copy"); + return dart.test(copy) ? new _internal._CopyingBytesBuilder.new() : new _internal._BytesBuilder.new(); + } +}; +(_internal.BytesBuilder[dart.mixinNew] = function() { +}).prototype = _internal.BytesBuilder.prototype; +dart.addTypeTests(_internal.BytesBuilder); +dart.addTypeCaches(_internal.BytesBuilder); +dart.setLibraryUri(_internal.BytesBuilder, I[25]); +var _length$ = dart.privateName(_internal, "_length"); +var _buffer = dart.privateName(_internal, "_buffer"); +var _grow = dart.privateName(_internal, "_grow"); +var _clear = dart.privateName(_internal, "_clear"); +_internal._CopyingBytesBuilder = class _CopyingBytesBuilder extends core.Object { + add(bytes) { + if (bytes == null) dart.nullFailed(I[32], 89, 22, "bytes"); + let byteCount = bytes[$length]; + if (byteCount === 0) return; + let required = dart.notNull(this[_length$]) + dart.notNull(byteCount); + if (dart.notNull(this[_buffer][$length]) < required) { + this[_grow](required); + } + if (!(dart.notNull(this[_buffer][$length]) >= required)) dart.assertFailed(null, I[32], 96, 12, "_buffer.length >= required"); + if (typed_data.Uint8List.is(bytes)) { + this[_buffer][$setRange](this[_length$], required, bytes); + } else { + for (let i = 0; i < dart.notNull(byteCount); i = i + 1) { + this[_buffer][$_set](dart.notNull(this[_length$]) + i, bytes[$_get](i)); + } + } + this[_length$] = required; + } + addByte(byte) { + if (byte == null) dart.nullFailed(I[32], 107, 20, "byte"); + if (this[_buffer][$length] == this[_length$]) { + this[_grow](this[_length$]); + } + if (!(dart.notNull(this[_buffer][$length]) > dart.notNull(this[_length$]))) dart.assertFailed(null, I[32], 113, 12, "_buffer.length > _length"); + this[_buffer][$_set](this[_length$], byte); + this[_length$] = dart.notNull(this[_length$]) + 1; + } + [_grow](required) { + if (required == null) dart.nullFailed(I[32], 118, 18, "required"); + let newSize = dart.notNull(required) * 2; + if (dart.notNull(newSize) < 1024) { + newSize = 1024; + } else { + newSize = _internal._CopyingBytesBuilder._pow2roundup(newSize); + } + let newBuffer = _native_typed_data.NativeUint8List.new(newSize); + newBuffer[$setRange](0, this[_buffer][$length], this[_buffer]); + this[_buffer] = newBuffer; + } + takeBytes() { + if (this[_length$] === 0) return _internal._CopyingBytesBuilder._emptyList; + let buffer = typed_data.Uint8List.view(this[_buffer][$buffer], this[_buffer][$offsetInBytes], this[_length$]); + this[_clear](); + return buffer; + } + toBytes() { + if (this[_length$] === 0) return _internal._CopyingBytesBuilder._emptyList; + return _native_typed_data.NativeUint8List.fromList(typed_data.Uint8List.view(this[_buffer][$buffer], this[_buffer][$offsetInBytes], this[_length$])); + } + get length() { + return this[_length$]; + } + get isEmpty() { + return this[_length$] === 0; + } + get isNotEmpty() { + return this[_length$] !== 0; + } + clear() { + this[_clear](); + } + [_clear]() { + this[_length$] = 0; + this[_buffer] = _internal._CopyingBytesBuilder._emptyList; + } + static _pow2roundup(x) { + if (x == null) dart.nullFailed(I[32], 161, 31, "x"); + if (!(dart.notNull(x) > 0)) dart.assertFailed(null, I[32], 162, 12, "x > 0"); + x = dart.notNull(x) - 1; + x = (dart.notNull(x) | x[$rightShift](1)) >>> 0; + x = (dart.notNull(x) | x[$rightShift](2)) >>> 0; + x = (dart.notNull(x) | x[$rightShift](4)) >>> 0; + x = (dart.notNull(x) | x[$rightShift](8)) >>> 0; + x = (dart.notNull(x) | x[$rightShift](16)) >>> 0; + return dart.notNull(x) + 1; + } +}; +(_internal._CopyingBytesBuilder.new = function() { + this[_length$] = 0; + this[_buffer] = _internal._CopyingBytesBuilder._emptyList; + ; +}).prototype = _internal._CopyingBytesBuilder.prototype; +dart.addTypeTests(_internal._CopyingBytesBuilder); +dart.addTypeCaches(_internal._CopyingBytesBuilder); +_internal._CopyingBytesBuilder[dart.implements] = () => [_internal.BytesBuilder]; +dart.setMethodSignature(_internal._CopyingBytesBuilder, () => ({ + __proto__: dart.getMethods(_internal._CopyingBytesBuilder.__proto__), + add: dart.fnType(dart.void, [core.List$(core.int)]), + addByte: dart.fnType(dart.void, [core.int]), + [_grow]: dart.fnType(dart.void, [core.int]), + takeBytes: dart.fnType(typed_data.Uint8List, []), + toBytes: dart.fnType(typed_data.Uint8List, []), + clear: dart.fnType(dart.void, []), + [_clear]: dart.fnType(dart.void, []) +})); +dart.setGetterSignature(_internal._CopyingBytesBuilder, () => ({ + __proto__: dart.getGetters(_internal._CopyingBytesBuilder.__proto__), + length: core.int, + isEmpty: core.bool, + isNotEmpty: core.bool +})); +dart.setLibraryUri(_internal._CopyingBytesBuilder, I[25]); +dart.setFieldSignature(_internal._CopyingBytesBuilder, () => ({ + __proto__: dart.getFields(_internal._CopyingBytesBuilder.__proto__), + [_length$]: dart.fieldType(core.int), + [_buffer]: dart.fieldType(typed_data.Uint8List) +})); +dart.defineLazy(_internal._CopyingBytesBuilder, { + /*_internal._CopyingBytesBuilder._initSize*/get _initSize() { + return 1024; + }, + /*_internal._CopyingBytesBuilder._emptyList*/get _emptyList() { + return _native_typed_data.NativeUint8List.new(0); + } +}, false); +var _chunks = dart.privateName(_internal, "_chunks"); +_internal._BytesBuilder = class _BytesBuilder extends core.Object { + add(bytes) { + if (bytes == null) dart.nullFailed(I[32], 181, 22, "bytes"); + let typedBytes = null; + if (typed_data.Uint8List.is(bytes)) { + typedBytes = bytes; + } else { + typedBytes = _native_typed_data.NativeUint8List.fromList(bytes); + } + this[_chunks][$add](typedBytes); + this[_length$] = dart.notNull(this[_length$]) + dart.notNull(typedBytes[$length]); + } + addByte(byte) { + let t67; + if (byte == null) dart.nullFailed(I[32], 192, 20, "byte"); + this[_chunks][$add]((t67 = _native_typed_data.NativeUint8List.new(1), (() => { + t67[$_set](0, byte); + return t67; + })())); + this[_length$] = dart.notNull(this[_length$]) + 1; + } + takeBytes() { + if (this[_length$] === 0) return _internal._CopyingBytesBuilder._emptyList; + if (this[_chunks][$length] === 1) { + let buffer = this[_chunks][$_get](0); + this[_clear](); + return buffer; + } + let buffer = _native_typed_data.NativeUint8List.new(this[_length$]); + let offset = 0; + for (let chunk of this[_chunks]) { + buffer[$setRange](offset, offset + dart.notNull(chunk[$length]), chunk); + offset = offset + dart.notNull(chunk[$length]); + } + this[_clear](); + return buffer; + } + toBytes() { + if (this[_length$] === 0) return _internal._CopyingBytesBuilder._emptyList; + let buffer = _native_typed_data.NativeUint8List.new(this[_length$]); + let offset = 0; + for (let chunk of this[_chunks]) { + buffer[$setRange](offset, offset + dart.notNull(chunk[$length]), chunk); + offset = offset + dart.notNull(chunk[$length]); + } + return buffer; + } + get length() { + return this[_length$]; + } + get isEmpty() { + return this[_length$] === 0; + } + get isNotEmpty() { + return this[_length$] !== 0; + } + clear() { + this[_clear](); + } + [_clear]() { + this[_length$] = 0; + this[_chunks][$clear](); + } +}; +(_internal._BytesBuilder.new = function() { + this[_length$] = 0; + this[_chunks] = T$.JSArrayOfUint8List().of([]); + ; +}).prototype = _internal._BytesBuilder.prototype; +dart.addTypeTests(_internal._BytesBuilder); +dart.addTypeCaches(_internal._BytesBuilder); +_internal._BytesBuilder[dart.implements] = () => [_internal.BytesBuilder]; +dart.setMethodSignature(_internal._BytesBuilder, () => ({ + __proto__: dart.getMethods(_internal._BytesBuilder.__proto__), + add: dart.fnType(dart.void, [core.List$(core.int)]), + addByte: dart.fnType(dart.void, [core.int]), + takeBytes: dart.fnType(typed_data.Uint8List, []), + toBytes: dart.fnType(typed_data.Uint8List, []), + clear: dart.fnType(dart.void, []), + [_clear]: dart.fnType(dart.void, []) +})); +dart.setGetterSignature(_internal._BytesBuilder, () => ({ + __proto__: dart.getGetters(_internal._BytesBuilder.__proto__), + length: core.int, + isEmpty: core.bool, + isNotEmpty: core.bool +})); +dart.setLibraryUri(_internal._BytesBuilder, I[25]); +dart.setFieldSignature(_internal._BytesBuilder, () => ({ + __proto__: dart.getFields(_internal._BytesBuilder.__proto__), + [_length$]: dart.fieldType(core.int), + [_chunks]: dart.finalFieldType(core.List$(typed_data.Uint8List)) +})); +core.Iterable$ = dart.generic(E => { + var IterableOfE = () => (IterableOfE = dart.constFn(core.Iterable$(E)))(); + var EfficientLengthIterableOfE = () => (EfficientLengthIterableOfE = dart.constFn(_internal.EfficientLengthIterable$(E)))(); + var FollowedByIterableOfE = () => (FollowedByIterableOfE = dart.constFn(_internal.FollowedByIterable$(E)))(); + var WhereIterableOfE = () => (WhereIterableOfE = dart.constFn(_internal.WhereIterable$(E)))(); + var EAndEToE = () => (EAndEToE = dart.constFn(dart.fnType(E, [E, E])))(); + var ListOfE = () => (ListOfE = dart.constFn(core.List$(E)))(); + var LinkedHashSetOfE = () => (LinkedHashSetOfE = dart.constFn(collection.LinkedHashSet$(E)))(); + var TakeIterableOfE = () => (TakeIterableOfE = dart.constFn(_internal.TakeIterable$(E)))(); + var TakeWhileIterableOfE = () => (TakeWhileIterableOfE = dart.constFn(_internal.TakeWhileIterable$(E)))(); + var SkipIterableOfE = () => (SkipIterableOfE = dart.constFn(_internal.SkipIterable$(E)))(); + var SkipWhileIterableOfE = () => (SkipWhileIterableOfE = dart.constFn(_internal.SkipWhileIterable$(E)))(); + var VoidToE = () => (VoidToE = dart.constFn(dart.fnType(E, [])))(); + var VoidToNE = () => (VoidToNE = dart.constFn(dart.nullable(VoidToE())))(); + var ETodynamic = () => (ETodynamic = dart.constFn(dart.fnType(dart.dynamic, [E])))(); + class Iterable extends core.Object { + static generate(count, generator = null) { + if (count == null) dart.nullFailed(I[34], 102, 33, "count"); + if (dart.notNull(count) <= 0) return new (_internal.EmptyIterable$(E)).new(); + return new (core._GeneratorIterable$(E)).new(count, generator); + } + static castFrom(S, T, source) { + if (source == null) dart.nullFailed(I[34], 119, 49, "source"); + return _internal.CastIterable$(S, T).new(source); + } + [Symbol.iterator]() { + return new dart.JsIterator(this[$iterator]); + } + cast(R) { + return core.Iterable.castFrom(E, R, this); + } + followedBy(other) { + IterableOfE().as(other); + if (other == null) dart.nullFailed(I[34], 165, 38, "other"); + let self = this; + if (EfficientLengthIterableOfE().is(self)) { + return FollowedByIterableOfE().firstEfficient(self, other); + } + return new (FollowedByIterableOfE()).new(this, other); + } + map(T, f) { + if (f == null) dart.nullFailed(I[34], 185, 24, "f"); + return _internal.MappedIterable$(E, T).new(this, f); + } + where(test) { + if (test == null) dart.nullFailed(I[34], 199, 26, "test"); + return new (WhereIterableOfE()).new(this, test); + } + whereType(T) { + return new (_internal.WhereTypeIterable$(T)).new(this); + } + expand(T, f) { + if (f == null) dart.nullFailed(I[34], 230, 37, "f"); + return new (_internal.ExpandIterable$(E, T)).new(this, f); + } + contains(element) { + for (let e of this) { + if (dart.equals(e, element)) return true; + } + return false; + } + forEach(f) { + if (f == null) dart.nullFailed(I[34], 256, 21, "f"); + for (let element of this) + f(element); + } + reduce(combine) { + EAndEToE().as(combine); + if (combine == null) dart.nullFailed(I[34], 280, 14, "combine"); + let iterator = this[$iterator]; + if (!dart.test(iterator.moveNext())) { + dart.throw(_internal.IterableElementError.noElement()); + } + let value = iterator.current; + while (dart.test(iterator.moveNext())) { + value = combine(value, iterator.current); + } + return value; + } + fold(T, initialValue, combine) { + if (combine == null) dart.nullFailed(I[34], 309, 31, "combine"); + let value = initialValue; + for (let element of this) + value = combine(value, element); + return value; + } + every(test) { + if (test == null) dart.nullFailed(I[34], 319, 19, "test"); + for (let element of this) { + if (!dart.test(test(element))) return false; + } + return true; + } + join(separator = "") { + if (separator == null) dart.nullFailed(I[34], 332, 23, "separator"); + let iterator = this[$iterator]; + if (!dart.test(iterator.moveNext())) return ""; + let buffer = new core.StringBuffer.new(); + if (separator == null || separator === "") { + do { + buffer.write(dart.toString(iterator.current)); + } while (dart.test(iterator.moveNext())); + } else { + buffer.write(dart.toString(iterator.current)); + while (dart.test(iterator.moveNext())) { + buffer.write(separator); + buffer.write(dart.toString(iterator.current)); + } + } + return buffer.toString(); + } + any(test) { + if (test == null) dart.nullFailed(I[34], 354, 17, "test"); + for (let element of this) { + if (dart.test(test(element))) return true; + } + return false; + } + toList(opts) { + let growable = opts && 'growable' in opts ? opts.growable : true; + if (growable == null) dart.nullFailed(I[34], 365, 24, "growable"); + return ListOfE().of(this, {growable: growable}); + } + toSet() { + return LinkedHashSetOfE().of(this); + } + get length() { + if (!!_internal.EfficientLengthIterable.is(this)) dart.assertFailed(null, I[34], 384, 12, "this is! EfficientLengthIterable"); + let count = 0; + let it = this[$iterator]; + while (dart.test(it.moveNext())) { + count = count + 1; + } + return count; + } + get isEmpty() { + return !dart.test(this[$iterator].moveNext()); + } + get isNotEmpty() { + return !dart.test(this[$isEmpty]); + } + take(count) { + if (count == null) dart.nullFailed(I[34], 412, 24, "count"); + return TakeIterableOfE().new(this, count); + } + takeWhile(test) { + if (test == null) dart.nullFailed(I[34], 424, 30, "test"); + return new (TakeWhileIterableOfE()).new(this, test); + } + skip(count) { + if (count == null) dart.nullFailed(I[34], 442, 24, "count"); + return SkipIterableOfE().new(this, count); + } + skipWhile(test) { + if (test == null) dart.nullFailed(I[34], 456, 30, "test"); + return new (SkipWhileIterableOfE()).new(this, test); + } + get first() { + let it = this[$iterator]; + if (!dart.test(it.moveNext())) { + dart.throw(_internal.IterableElementError.noElement()); + } + return it.current; + } + get last() { + let it = this[$iterator]; + if (!dart.test(it.moveNext())) { + dart.throw(_internal.IterableElementError.noElement()); + } + let result = null; + do { + result = it.current; + } while (dart.test(it.moveNext())); + return result; + } + get single() { + let it = this[$iterator]; + if (!dart.test(it.moveNext())) dart.throw(_internal.IterableElementError.noElement()); + let result = it.current; + if (dart.test(it.moveNext())) dart.throw(_internal.IterableElementError.tooMany()); + return result; + } + firstWhere(test, opts) { + if (test == null) dart.nullFailed(I[34], 511, 21, "test"); + let orElse = opts && 'orElse' in opts ? opts.orElse : null; + VoidToNE().as(orElse); + for (let element of this) { + if (dart.test(test(element))) return element; + } + if (orElse != null) return orElse(); + dart.throw(_internal.IterableElementError.noElement()); + } + lastWhere(test, opts) { + if (test == null) dart.nullFailed(I[34], 531, 20, "test"); + let orElse = opts && 'orElse' in opts ? opts.orElse : null; + VoidToNE().as(orElse); + let result = null; + let result$35isSet = false; + function result$35get() { + return result$35isSet ? result : dart.throw(new _internal.LateError.localNI("result")); + } + dart.fn(result$35get, VoidToE()); + function result$35set(t70) { + result$35isSet = true; + return result = t70; + } + dart.fn(result$35set, ETodynamic()); + let foundMatching = false; + for (let element of this) { + if (dart.test(test(element))) { + result$35set(element); + foundMatching = true; + } + } + if (foundMatching) return result$35get(); + if (orElse != null) return orElse(); + dart.throw(_internal.IterableElementError.noElement()); + } + singleWhere(test, opts) { + if (test == null) dart.nullFailed(I[34], 552, 22, "test"); + let orElse = opts && 'orElse' in opts ? opts.orElse : null; + VoidToNE().as(orElse); + let result = null; + let result$35isSet = false; + function result$35get() { + return result$35isSet ? result : dart.throw(new _internal.LateError.localNI("result")); + } + dart.fn(result$35get, VoidToE()); + function result$35set(t75) { + result$35isSet = true; + return result = t75; + } + dart.fn(result$35set, ETodynamic()); + let foundMatching = false; + for (let element of this) { + if (dart.test(test(element))) { + if (foundMatching) { + dart.throw(_internal.IterableElementError.tooMany()); + } + result$35set(element); + foundMatching = true; + } + } + if (foundMatching) return result$35get(); + if (orElse != null) return orElse(); + dart.throw(_internal.IterableElementError.noElement()); + } + elementAt(index) { + if (index == null) dart.nullFailed(I[34], 578, 19, "index"); + core.RangeError.checkNotNegative(index, "index"); + let elementIndex = 0; + for (let element of this) { + if (index === elementIndex) return element; + elementIndex = elementIndex + 1; + } + dart.throw(new core.IndexError.new(index, this, "index", null, elementIndex)); + } + toString() { + return collection.IterableBase.iterableToShortString(this, "(", ")"); + } + } + (Iterable.new = function() { + ; + }).prototype = Iterable.prototype; + dart.addTypeTests(Iterable); + Iterable.prototype[dart.isIterable] = true; + dart.addTypeCaches(Iterable); + dart.setMethodSignature(Iterable, () => ({ + __proto__: dart.getMethods(Iterable.__proto__), + cast: dart.gFnType(R => [core.Iterable$(R), []], R => [dart.nullable(core.Object)]), + [$cast]: dart.gFnType(R => [core.Iterable$(R), []], R => [dart.nullable(core.Object)]), + followedBy: dart.fnType(core.Iterable$(E), [dart.nullable(core.Object)]), + [$followedBy]: dart.fnType(core.Iterable$(E), [dart.nullable(core.Object)]), + map: dart.gFnType(T => [core.Iterable$(T), [dart.fnType(T, [E])]], T => [dart.nullable(core.Object)]), + [$map]: dart.gFnType(T => [core.Iterable$(T), [dart.fnType(T, [E])]], T => [dart.nullable(core.Object)]), + where: dart.fnType(core.Iterable$(E), [dart.fnType(core.bool, [E])]), + [$where]: dart.fnType(core.Iterable$(E), [dart.fnType(core.bool, [E])]), + whereType: dart.gFnType(T => [core.Iterable$(T), []], T => [dart.nullable(core.Object)]), + [$whereType]: dart.gFnType(T => [core.Iterable$(T), []], T => [dart.nullable(core.Object)]), + expand: dart.gFnType(T => [core.Iterable$(T), [dart.fnType(core.Iterable$(T), [E])]], T => [dart.nullable(core.Object)]), + [$expand]: dart.gFnType(T => [core.Iterable$(T), [dart.fnType(core.Iterable$(T), [E])]], T => [dart.nullable(core.Object)]), + contains: dart.fnType(core.bool, [dart.nullable(core.Object)]), + [$contains]: dart.fnType(core.bool, [dart.nullable(core.Object)]), + forEach: dart.fnType(dart.void, [dart.fnType(dart.void, [E])]), + [$forEach]: dart.fnType(dart.void, [dart.fnType(dart.void, [E])]), + reduce: dart.fnType(E, [dart.nullable(core.Object)]), + [$reduce]: dart.fnType(E, [dart.nullable(core.Object)]), + fold: dart.gFnType(T => [T, [T, dart.fnType(T, [T, E])]], T => [dart.nullable(core.Object)]), + [$fold]: dart.gFnType(T => [T, [T, dart.fnType(T, [T, E])]], T => [dart.nullable(core.Object)]), + every: dart.fnType(core.bool, [dart.fnType(core.bool, [E])]), + [$every]: dart.fnType(core.bool, [dart.fnType(core.bool, [E])]), + join: dart.fnType(core.String, [], [core.String]), + [$join]: dart.fnType(core.String, [], [core.String]), + any: dart.fnType(core.bool, [dart.fnType(core.bool, [E])]), + [$any]: dart.fnType(core.bool, [dart.fnType(core.bool, [E])]), + toList: dart.fnType(core.List$(E), [], {growable: core.bool}, {}), + [$toList]: dart.fnType(core.List$(E), [], {growable: core.bool}, {}), + toSet: dart.fnType(core.Set$(E), []), + [$toSet]: dart.fnType(core.Set$(E), []), + take: dart.fnType(core.Iterable$(E), [core.int]), + [$take]: dart.fnType(core.Iterable$(E), [core.int]), + takeWhile: dart.fnType(core.Iterable$(E), [dart.fnType(core.bool, [E])]), + [$takeWhile]: dart.fnType(core.Iterable$(E), [dart.fnType(core.bool, [E])]), + skip: dart.fnType(core.Iterable$(E), [core.int]), + [$skip]: dart.fnType(core.Iterable$(E), [core.int]), + skipWhile: dart.fnType(core.Iterable$(E), [dart.fnType(core.bool, [E])]), + [$skipWhile]: dart.fnType(core.Iterable$(E), [dart.fnType(core.bool, [E])]), + firstWhere: dart.fnType(E, [dart.fnType(core.bool, [E])], {orElse: dart.nullable(core.Object)}, {}), + [$firstWhere]: dart.fnType(E, [dart.fnType(core.bool, [E])], {orElse: dart.nullable(core.Object)}, {}), + lastWhere: dart.fnType(E, [dart.fnType(core.bool, [E])], {orElse: dart.nullable(core.Object)}, {}), + [$lastWhere]: dart.fnType(E, [dart.fnType(core.bool, [E])], {orElse: dart.nullable(core.Object)}, {}), + singleWhere: dart.fnType(E, [dart.fnType(core.bool, [E])], {orElse: dart.nullable(core.Object)}, {}), + [$singleWhere]: dart.fnType(E, [dart.fnType(core.bool, [E])], {orElse: dart.nullable(core.Object)}, {}), + elementAt: dart.fnType(E, [core.int]), + [$elementAt]: dart.fnType(E, [core.int]) + })); + dart.setGetterSignature(Iterable, () => ({ + __proto__: dart.getGetters(Iterable.__proto__), + length: core.int, + [$length]: core.int, + isEmpty: core.bool, + [$isEmpty]: core.bool, + isNotEmpty: core.bool, + [$isNotEmpty]: core.bool, + first: E, + [$first]: E, + last: E, + [$last]: E, + single: E, + [$single]: E + })); + dart.setLibraryUri(Iterable, I[8]); + dart.defineExtensionMethods(Iterable, [ + 'cast', + 'followedBy', + 'map', + 'where', + 'whereType', + 'expand', + 'contains', + 'forEach', + 'reduce', + 'fold', + 'every', + 'join', + 'any', + 'toList', + 'toSet', + 'take', + 'takeWhile', + 'skip', + 'skipWhile', + 'firstWhere', + 'lastWhere', + 'singleWhere', + 'elementAt', + 'toString' + ]); + dart.defineExtensionAccessors(Iterable, [ + 'length', + 'isEmpty', + 'isNotEmpty', + 'first', + 'last', + 'single' + ]); + return Iterable; +}); +core.Iterable = core.Iterable$(); +dart.addTypeTests(core.Iterable, dart.isIterable); +const _is__CastIterableBase_default = Symbol('_is__CastIterableBase_default'); +_internal._CastIterableBase$ = dart.generic((S, T) => { + var CastIteratorOfS$T = () => (CastIteratorOfS$T = dart.constFn(_internal.CastIterator$(S, T)))(); + var CastIterableOfS$T = () => (CastIterableOfS$T = dart.constFn(_internal.CastIterable$(S, T)))(); + var STobool = () => (STobool = dart.constFn(dart.fnType(core.bool, [S])))(); + var VoidToS = () => (VoidToS = dart.constFn(dart.fnType(S, [])))(); + var VoidToT = () => (VoidToT = dart.constFn(dart.fnType(T, [])))(); + var VoidToNT = () => (VoidToNT = dart.constFn(dart.nullable(VoidToT())))(); + class _CastIterableBase extends core.Iterable$(T) { + get iterator() { + return new (CastIteratorOfS$T()).new(this[_source$][$iterator]); + } + get length() { + return this[_source$][$length]; + } + get isEmpty() { + return this[_source$][$isEmpty]; + } + get isNotEmpty() { + return this[_source$][$isNotEmpty]; + } + skip(count) { + if (count == null) dart.nullFailed(I[33], 39, 24, "count"); + return CastIterableOfS$T().new(this[_source$][$skip](count)); + } + take(count) { + if (count == null) dart.nullFailed(I[33], 40, 24, "count"); + return CastIterableOfS$T().new(this[_source$][$take](count)); + } + elementAt(index) { + if (index == null) dart.nullFailed(I[33], 42, 19, "index"); + return T.as(this[_source$][$elementAt](index)); + } + get first() { + return T.as(this[_source$][$first]); + } + get last() { + return T.as(this[_source$][$last]); + } + get single() { + return T.as(this[_source$][$single]); + } + contains(other) { + return this[_source$][$contains](other); + } + lastWhere(test, opts) { + if (test == null) dart.nullFailed(I[33], 51, 20, "test"); + let orElse = opts && 'orElse' in opts ? opts.orElse : null; + VoidToNT().as(orElse); + return T.as(this[_source$][$lastWhere](dart.fn(element => test(T.as(element)), STobool()), {orElse: orElse == null ? null : dart.fn(() => S.as(orElse()), VoidToS())})); + } + toString() { + return dart.toString(this[_source$]); + } + } + (_CastIterableBase.new = function() { + _CastIterableBase.__proto__.new.call(this); + ; + }).prototype = _CastIterableBase.prototype; + dart.addTypeTests(_CastIterableBase); + _CastIterableBase.prototype[_is__CastIterableBase_default] = true; + dart.addTypeCaches(_CastIterableBase); + dart.setGetterSignature(_CastIterableBase, () => ({ + __proto__: dart.getGetters(_CastIterableBase.__proto__), + iterator: core.Iterator$(T), + [$iterator]: core.Iterator$(T) + })); + dart.setLibraryUri(_CastIterableBase, I[25]); + dart.defineExtensionMethods(_CastIterableBase, [ + 'skip', + 'take', + 'elementAt', + 'contains', + 'lastWhere', + 'toString' + ]); + dart.defineExtensionAccessors(_CastIterableBase, [ + 'iterator', + 'length', + 'isEmpty', + 'isNotEmpty', + 'first', + 'last', + 'single' + ]); + return _CastIterableBase; +}); +_internal._CastIterableBase = _internal._CastIterableBase$(); +dart.addTypeTests(_internal._CastIterableBase, _is__CastIterableBase_default); +const _is_CastIterator_default = Symbol('_is_CastIterator_default'); +_internal.CastIterator$ = dart.generic((S, T) => { + class CastIterator extends core.Object { + moveNext() { + return this[_source$].moveNext(); + } + get current() { + return T.as(this[_source$].current); + } + } + (CastIterator.new = function(_source) { + if (_source == null) dart.nullFailed(I[33], 60, 21, "_source"); + this[_source$] = _source; + ; + }).prototype = CastIterator.prototype; + dart.addTypeTests(CastIterator); + CastIterator.prototype[_is_CastIterator_default] = true; + dart.addTypeCaches(CastIterator); + CastIterator[dart.implements] = () => [core.Iterator$(T)]; + dart.setMethodSignature(CastIterator, () => ({ + __proto__: dart.getMethods(CastIterator.__proto__), + moveNext: dart.fnType(core.bool, []) + })); + dart.setGetterSignature(CastIterator, () => ({ + __proto__: dart.getGetters(CastIterator.__proto__), + current: T + })); + dart.setLibraryUri(CastIterator, I[25]); + dart.setFieldSignature(CastIterator, () => ({ + __proto__: dart.getFields(CastIterator.__proto__), + [_source$]: dart.fieldType(core.Iterator$(S)) + })); + return CastIterator; +}); +_internal.CastIterator = _internal.CastIterator$(); +dart.addTypeTests(_internal.CastIterator, _is_CastIterator_default); +var _source$0 = dart.privateName(_internal, "CastIterable._source"); +const _is_CastIterable_default = Symbol('_is_CastIterable_default'); +_internal.CastIterable$ = dart.generic((S, T) => { + class CastIterable extends _internal._CastIterableBase$(S, T) { + get [_source$]() { + return this[_source$0]; + } + set [_source$](value) { + super[_source$] = value; + } + static new(source) { + if (source == null) dart.nullFailed(I[33], 70, 36, "source"); + if (_internal.EfficientLengthIterable$(S).is(source)) { + return new (_internal._EfficientLengthCastIterable$(S, T)).new(source); + } + return new (_internal.CastIterable$(S, T)).__(source); + } + cast(R) { + return _internal.CastIterable$(S, R).new(this[_source$]); + } + } + (CastIterable.__ = function(_source) { + if (_source == null) dart.nullFailed(I[33], 68, 23, "_source"); + this[_source$0] = _source; + CastIterable.__proto__.new.call(this); + ; + }).prototype = CastIterable.prototype; + dart.addTypeTests(CastIterable); + CastIterable.prototype[_is_CastIterable_default] = true; + dart.addTypeCaches(CastIterable); + dart.setMethodSignature(CastIterable, () => ({ + __proto__: dart.getMethods(CastIterable.__proto__), + cast: dart.gFnType(R => [core.Iterable$(R), []], R => [dart.nullable(core.Object)]), + [$cast]: dart.gFnType(R => [core.Iterable$(R), []], R => [dart.nullable(core.Object)]) + })); + dart.setLibraryUri(CastIterable, I[25]); + dart.setFieldSignature(CastIterable, () => ({ + __proto__: dart.getFields(CastIterable.__proto__), + [_source$]: dart.finalFieldType(core.Iterable$(S)) + })); + dart.defineExtensionMethods(CastIterable, ['cast']); + return CastIterable; +}); +_internal.CastIterable = _internal.CastIterable$(); +dart.addTypeTests(_internal.CastIterable, _is_CastIterable_default); +const _is__EfficientLengthCastIterable_default = Symbol('_is__EfficientLengthCastIterable_default'); +_internal._EfficientLengthCastIterable$ = dart.generic((S, T) => { + class _EfficientLengthCastIterable extends _internal.CastIterable$(S, T) {} + (_EfficientLengthCastIterable.new = function(source) { + if (source == null) dart.nullFailed(I[33], 82, 59, "source"); + _EfficientLengthCastIterable.__proto__.__.call(this, source); + ; + }).prototype = _EfficientLengthCastIterable.prototype; + dart.addTypeTests(_EfficientLengthCastIterable); + _EfficientLengthCastIterable.prototype[_is__EfficientLengthCastIterable_default] = true; + dart.addTypeCaches(_EfficientLengthCastIterable); + _EfficientLengthCastIterable[dart.implements] = () => [_internal.EfficientLengthIterable$(T)]; + dart.setLibraryUri(_EfficientLengthCastIterable, I[25]); + return _EfficientLengthCastIterable; +}); +_internal._EfficientLengthCastIterable = _internal._EfficientLengthCastIterable$(); +dart.addTypeTests(_internal._EfficientLengthCastIterable, _is__EfficientLengthCastIterable_default); +const _is__CastListBase_default = Symbol('_is__CastListBase_default'); +_internal._CastListBase$ = dart.generic((S, T) => { + var CastIterableOfT$S = () => (CastIterableOfT$S = dart.constFn(_internal.CastIterable$(T, S)))(); + var SAndSToint = () => (SAndSToint = dart.constFn(dart.fnType(core.int, [S, S])))(); + var STobool = () => (STobool = dart.constFn(dart.fnType(core.bool, [S])))(); + var CastIterableOfS$T = () => (CastIterableOfS$T = dart.constFn(_internal.CastIterable$(S, T)))(); + var IterableOfT = () => (IterableOfT = dart.constFn(core.Iterable$(T)))(); + var TN = () => (TN = dart.constFn(dart.nullable(T)))(); + const _CastIterableBase_ListMixin$36 = class _CastIterableBase_ListMixin extends _internal._CastIterableBase$(S, T) {}; + (_CastIterableBase_ListMixin$36.new = function() { + _CastIterableBase_ListMixin$36.__proto__.new.call(this); + }).prototype = _CastIterableBase_ListMixin$36.prototype; + dart.applyMixin(_CastIterableBase_ListMixin$36, collection.ListMixin$(T)); + class _CastListBase extends _CastIterableBase_ListMixin$36 { + _get(index) { + if (index == null) dart.nullFailed(I[33], 99, 21, "index"); + return T.as(this[_source$][$_get](index)); + } + _set(index, value$) { + let value = value$; + if (index == null) dart.nullFailed(I[33], 101, 25, "index"); + T.as(value); + this[_source$][$_set](index, S.as(value)); + return value$; + } + set length(length) { + if (length == null) dart.nullFailed(I[33], 105, 23, "length"); + this[_source$][$length] = length; + } + get length() { + return super.length; + } + add(value) { + T.as(value); + this[_source$][$add](S.as(value)); + } + addAll(values) { + IterableOfT().as(values); + if (values == null) dart.nullFailed(I[33], 113, 27, "values"); + this[_source$][$addAll](CastIterableOfT$S().new(values)); + } + sort(compare = null) { + this[_source$][$sort](compare == null ? null : dart.fn((v1, v2) => compare(T.as(v1), T.as(v2)), SAndSToint())); + } + shuffle(random = null) { + this[_source$][$shuffle](random); + } + insert(index, element) { + if (index == null) dart.nullFailed(I[33], 126, 19, "index"); + T.as(element); + this[_source$][$insert](index, S.as(element)); + } + insertAll(index, elements) { + if (index == null) dart.nullFailed(I[33], 130, 22, "index"); + IterableOfT().as(elements); + if (elements == null) dart.nullFailed(I[33], 130, 41, "elements"); + this[_source$][$insertAll](index, CastIterableOfT$S().new(elements)); + } + setAll(index, elements) { + if (index == null) dart.nullFailed(I[33], 134, 19, "index"); + IterableOfT().as(elements); + if (elements == null) dart.nullFailed(I[33], 134, 38, "elements"); + this[_source$][$setAll](index, CastIterableOfT$S().new(elements)); + } + remove(value) { + return this[_source$][$remove](value); + } + removeAt(index) { + if (index == null) dart.nullFailed(I[33], 140, 18, "index"); + return T.as(this[_source$][$removeAt](index)); + } + removeLast() { + return T.as(this[_source$][$removeLast]()); + } + removeWhere(test) { + if (test == null) dart.nullFailed(I[33], 144, 25, "test"); + this[_source$][$removeWhere](dart.fn(element => test(T.as(element)), STobool())); + } + retainWhere(test) { + if (test == null) dart.nullFailed(I[33], 148, 25, "test"); + this[_source$][$retainWhere](dart.fn(element => test(T.as(element)), STobool())); + } + getRange(start, end) { + if (start == null) dart.nullFailed(I[33], 152, 28, "start"); + if (end == null) dart.nullFailed(I[33], 152, 39, "end"); + return CastIterableOfS$T().new(this[_source$][$getRange](start, end)); + } + setRange(start, end, iterable, skipCount = 0) { + if (start == null) dart.nullFailed(I[33], 155, 21, "start"); + if (end == null) dart.nullFailed(I[33], 155, 32, "end"); + IterableOfT().as(iterable); + if (iterable == null) dart.nullFailed(I[33], 155, 49, "iterable"); + if (skipCount == null) dart.nullFailed(I[33], 155, 64, "skipCount"); + this[_source$][$setRange](start, end, CastIterableOfT$S().new(iterable), skipCount); + } + removeRange(start, end) { + if (start == null) dart.nullFailed(I[33], 159, 24, "start"); + if (end == null) dart.nullFailed(I[33], 159, 35, "end"); + this[_source$][$removeRange](start, end); + } + fillRange(start, end, fillValue = null) { + if (start == null) dart.nullFailed(I[33], 163, 22, "start"); + if (end == null) dart.nullFailed(I[33], 163, 33, "end"); + TN().as(fillValue); + this[_source$][$fillRange](start, end, S.as(fillValue)); + } + replaceRange(start, end, replacement) { + if (start == null) dart.nullFailed(I[33], 167, 25, "start"); + if (end == null) dart.nullFailed(I[33], 167, 36, "end"); + IterableOfT().as(replacement); + if (replacement == null) dart.nullFailed(I[33], 167, 53, "replacement"); + this[_source$][$replaceRange](start, end, CastIterableOfT$S().new(replacement)); + } + } + (_CastListBase.new = function() { + _CastListBase.__proto__.new.call(this); + ; + }).prototype = _CastListBase.prototype; + dart.addTypeTests(_CastListBase); + _CastListBase.prototype[_is__CastListBase_default] = true; + dart.addTypeCaches(_CastListBase); + dart.setMethodSignature(_CastListBase, () => ({ + __proto__: dart.getMethods(_CastListBase.__proto__), + _get: dart.fnType(T, [core.int]), + [$_get]: dart.fnType(T, [core.int]), + _set: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), + [$_set]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]) + })); + dart.setSetterSignature(_CastListBase, () => ({ + __proto__: dart.getSetters(_CastListBase.__proto__), + length: core.int, + [$length]: core.int + })); + dart.setLibraryUri(_CastListBase, I[25]); + dart.defineExtensionMethods(_CastListBase, [ + '_get', + '_set', + 'add', + 'addAll', + 'sort', + 'shuffle', + 'insert', + 'insertAll', + 'setAll', + 'remove', + 'removeAt', + 'removeLast', + 'removeWhere', + 'retainWhere', + 'getRange', + 'setRange', + 'removeRange', + 'fillRange', + 'replaceRange' + ]); + dart.defineExtensionAccessors(_CastListBase, ['length']); + return _CastListBase; +}); +_internal._CastListBase = _internal._CastListBase$(); +dart.addTypeTests(_internal._CastListBase, _is__CastListBase_default); +var _source$1 = dart.privateName(_internal, "CastList._source"); +const _is_CastList_default = Symbol('_is_CastList_default'); +_internal.CastList$ = dart.generic((S, T) => { + class CastList extends _internal._CastListBase$(S, T) { + get [_source$]() { + return this[_source$1]; + } + set [_source$](value) { + super[_source$] = value; + } + cast(R) { + return new (_internal.CastList$(S, R)).new(this[_source$]); + } + } + (CastList.new = function(_source) { + if (_source == null) dart.nullFailed(I[33], 174, 17, "_source"); + this[_source$1] = _source; + CastList.__proto__.new.call(this); + ; + }).prototype = CastList.prototype; + dart.addTypeTests(CastList); + CastList.prototype[_is_CastList_default] = true; + dart.addTypeCaches(CastList); + dart.setMethodSignature(CastList, () => ({ + __proto__: dart.getMethods(CastList.__proto__), + cast: dart.gFnType(R => [core.List$(R), []], R => [dart.nullable(core.Object)]), + [$cast]: dart.gFnType(R => [core.List$(R), []], R => [dart.nullable(core.Object)]) + })); + dart.setLibraryUri(CastList, I[25]); + dart.setFieldSignature(CastList, () => ({ + __proto__: dart.getFields(CastList.__proto__), + [_source$]: dart.finalFieldType(core.List$(S)) + })); + dart.defineExtensionMethods(CastList, ['cast']); + return CastList; +}); +_internal.CastList = _internal.CastList$(); +dart.addTypeTests(_internal.CastList, _is_CastList_default); +var _source$2 = dart.privateName(_internal, "CastSet._source"); +var _emptySet$ = dart.privateName(_internal, "_emptySet"); +var _conditionalAdd = dart.privateName(_internal, "_conditionalAdd"); +var _clone = dart.privateName(_internal, "_clone"); +const _is_CastSet_default = Symbol('_is_CastSet_default'); +_internal.CastSet$ = dart.generic((S, T) => { + var CastIterableOfT$S = () => (CastIterableOfT$S = dart.constFn(_internal.CastIterable$(T, S)))(); + var STobool = () => (STobool = dart.constFn(dart.fnType(core.bool, [S])))(); + var CastSetOfS$T = () => (CastSetOfS$T = dart.constFn(_internal.CastSet$(S, T)))(); + var IterableOfT = () => (IterableOfT = dart.constFn(core.Iterable$(T)))(); + var _HashSetOfT = () => (_HashSetOfT = dart.constFn(collection._HashSet$(T)))(); + var SetOfT = () => (SetOfT = dart.constFn(core.Set$(T)))(); + class CastSet extends _internal._CastIterableBase$(S, T) { + get [_source$]() { + return this[_source$2]; + } + set [_source$](value) { + super[_source$] = value; + } + static _defaultEmptySet(R) { + return new (collection._HashSet$(R)).new(); + } + cast(R) { + return new (_internal.CastSet$(S, R)).new(this[_source$], this[_emptySet$]); + } + add(value) { + T.as(value); + return this[_source$].add(S.as(value)); + } + addAll(elements) { + IterableOfT().as(elements); + if (elements == null) dart.nullFailed(I[33], 194, 27, "elements"); + this[_source$].addAll(CastIterableOfT$S().new(elements)); + } + remove(object) { + return this[_source$].remove(object); + } + removeAll(objects) { + if (objects == null) dart.nullFailed(I[33], 200, 36, "objects"); + this[_source$].removeAll(objects); + } + retainAll(objects) { + if (objects == null) dart.nullFailed(I[33], 204, 36, "objects"); + this[_source$].retainAll(objects); + } + removeWhere(test) { + if (test == null) dart.nullFailed(I[33], 208, 25, "test"); + this[_source$].removeWhere(dart.fn(element => test(T.as(element)), STobool())); + } + retainWhere(test) { + if (test == null) dart.nullFailed(I[33], 212, 25, "test"); + this[_source$].retainWhere(dart.fn(element => test(T.as(element)), STobool())); + } + containsAll(objects) { + if (objects == null) dart.nullFailed(I[33], 216, 38, "objects"); + return this[_source$].containsAll(objects); + } + intersection(other) { + if (other == null) dart.nullFailed(I[33], 218, 36, "other"); + if (this[_emptySet$] != null) return this[_conditionalAdd](other, true); + return new (CastSetOfS$T()).new(this[_source$].intersection(other), null); + } + difference(other) { + if (other == null) dart.nullFailed(I[33], 223, 34, "other"); + if (this[_emptySet$] != null) return this[_conditionalAdd](other, false); + return new (CastSetOfS$T()).new(this[_source$].difference(other), null); + } + [_conditionalAdd](other, otherContains) { + if (other == null) dart.nullFailed(I[33], 228, 39, "other"); + if (otherContains == null) dart.nullFailed(I[33], 228, 51, "otherContains"); + let emptySet = this[_emptySet$]; + let result = emptySet == null ? new (_HashSetOfT()).new() : emptySet(T); + for (let element of this[_source$]) { + let castElement = T.as(element); + if (otherContains == other.contains(castElement)) result.add(castElement); + } + return result; + } + union(other) { + let t77; + SetOfT().as(other); + if (other == null) dart.nullFailed(I[33], 238, 23, "other"); + t77 = this[_clone](); + return (() => { + t77.addAll(other); + return t77; + })(); + } + clear() { + this[_source$].clear(); + } + [_clone]() { + let emptySet = this[_emptySet$]; + let result = emptySet == null ? new (_HashSetOfT()).new() : emptySet(T); + result.addAll(this); + return result; + } + toSet() { + return this[_clone](); + } + lookup(key) { + return T.as(this[_source$].lookup(key)); + } + } + (CastSet.new = function(_source, _emptySet) { + if (_source == null) dart.nullFailed(I[33], 187, 16, "_source"); + this[_source$2] = _source; + this[_emptySet$] = _emptySet; + CastSet.__proto__.new.call(this); + ; + }).prototype = CastSet.prototype; + dart.addTypeTests(CastSet); + CastSet.prototype[_is_CastSet_default] = true; + dart.addTypeCaches(CastSet); + CastSet[dart.implements] = () => [core.Set$(T)]; + dart.setMethodSignature(CastSet, () => ({ + __proto__: dart.getMethods(CastSet.__proto__), + cast: dart.gFnType(R => [core.Set$(R), []], R => [dart.nullable(core.Object)]), + [$cast]: dart.gFnType(R => [core.Set$(R), []], R => [dart.nullable(core.Object)]), + add: dart.fnType(core.bool, [dart.nullable(core.Object)]), + addAll: dart.fnType(dart.void, [dart.nullable(core.Object)]), + remove: dart.fnType(core.bool, [dart.nullable(core.Object)]), + removeAll: dart.fnType(dart.void, [core.Iterable$(dart.nullable(core.Object))]), + retainAll: dart.fnType(dart.void, [core.Iterable$(dart.nullable(core.Object))]), + removeWhere: dart.fnType(dart.void, [dart.fnType(core.bool, [T])]), + retainWhere: dart.fnType(dart.void, [dart.fnType(core.bool, [T])]), + containsAll: dart.fnType(core.bool, [core.Iterable$(dart.nullable(core.Object))]), + intersection: dart.fnType(core.Set$(T), [core.Set$(dart.nullable(core.Object))]), + difference: dart.fnType(core.Set$(T), [core.Set$(dart.nullable(core.Object))]), + [_conditionalAdd]: dart.fnType(core.Set$(T), [core.Set$(dart.nullable(core.Object)), core.bool]), + union: dart.fnType(core.Set$(T), [dart.nullable(core.Object)]), + clear: dart.fnType(dart.void, []), + [_clone]: dart.fnType(core.Set$(T), []), + lookup: dart.fnType(T, [dart.nullable(core.Object)]) + })); + dart.setLibraryUri(CastSet, I[25]); + dart.setFieldSignature(CastSet, () => ({ + __proto__: dart.getFields(CastSet.__proto__), + [_source$]: dart.finalFieldType(core.Set$(S)), + [_emptySet$]: dart.finalFieldType(dart.nullable(dart.gFnType(R => [core.Set$(R), []], R => [dart.nullable(core.Object)]))) + })); + dart.defineExtensionMethods(CastSet, ['cast', 'toSet']); + return CastSet; +}); +_internal.CastSet = _internal.CastSet$(); +dart.addTypeTests(_internal.CastSet, _is_CastSet_default); +const _is_MapMixin_default = Symbol('_is_MapMixin_default'); +collection.MapMixin$ = dart.generic((K, V) => { + var MapOfK$V = () => (MapOfK$V = dart.constFn(core.Map$(K, V)))(); + var KAndVToV = () => (KAndVToV = dart.constFn(dart.fnType(V, [K, V])))(); + var MapEntryOfK$V = () => (MapEntryOfK$V = dart.constFn(core.MapEntry$(K, V)))(); + var KToMapEntryOfK$V = () => (KToMapEntryOfK$V = dart.constFn(dart.fnType(MapEntryOfK$V(), [K])))(); + var IterableOfMapEntryOfK$V = () => (IterableOfMapEntryOfK$V = dart.constFn(core.Iterable$(MapEntryOfK$V())))(); + var JSArrayOfK = () => (JSArrayOfK = dart.constFn(_interceptors.JSArray$(K)))(); + var _MapBaseValueIterableOfK$V = () => (_MapBaseValueIterableOfK$V = dart.constFn(collection._MapBaseValueIterable$(K, V)))(); + var VoidToV = () => (VoidToV = dart.constFn(dart.fnType(V, [])))(); + var VToV = () => (VToV = dart.constFn(dart.fnType(V, [V])))(); + var VoidToNV = () => (VoidToNV = dart.constFn(dart.nullable(VoidToV())))(); + class MapMixin extends core.Object { + cast(RK, RV) { + return core.Map.castFrom(K, V, RK, RV, this); + } + forEach(action) { + if (action == null) dart.nullFailed(I[35], 121, 21, "action"); + for (let key of this[$keys]) { + action(key, V.as(this[$_get](key))); + } + } + addAll(other) { + MapOfK$V().as(other); + if (other == null) dart.nullFailed(I[35], 127, 25, "other"); + for (let key of other[$keys]) { + this[$_set](key, V.as(other[$_get](key))); + } + } + containsValue(value) { + for (let key of this[$keys]) { + if (dart.equals(this[$_get](key), value)) return true; + } + return false; + } + putIfAbsent(key, ifAbsent) { + let t78, t77; + K.as(key); + VoidToV().as(ifAbsent); + if (ifAbsent == null) dart.nullFailed(I[35], 140, 26, "ifAbsent"); + if (dart.test(this[$containsKey](key))) { + return V.as(this[$_get](key)); + } + t77 = key; + t78 = ifAbsent(); + this[$_set](t77, t78); + return t78; + } + update(key, update, opts) { + let t78, t77, t78$, t77$; + K.as(key); + VToV().as(update); + if (update == null) dart.nullFailed(I[35], 147, 21, "update"); + let ifAbsent = opts && 'ifAbsent' in opts ? opts.ifAbsent : null; + VoidToNV().as(ifAbsent); + if (dart.test(this[$containsKey](key))) { + t77 = key; + t78 = update(V.as(this[$_get](key))); + this[$_set](t77, t78); + return t78; + } + if (ifAbsent != null) { + t77$ = key; + t78$ = ifAbsent(); + this[$_set](t77$, t78$); + return t78$; + } + dart.throw(new core.ArgumentError.value(key, "key", "Key not in map.")); + } + updateAll(update) { + KAndVToV().as(update); + if (update == null) dart.nullFailed(I[35], 157, 20, "update"); + for (let key of this[$keys]) { + this[$_set](key, update(key, V.as(this[$_get](key)))); + } + } + get entries() { + return this[$keys][$map](MapEntryOfK$V(), dart.fn(key => new (MapEntryOfK$V()).__(key, V.as(this[$_get](key))), KToMapEntryOfK$V())); + } + map(K2, V2, transform) { + if (transform == null) dart.nullFailed(I[35], 167, 44, "transform"); + let result = new (_js_helper.LinkedMap$(K2, V2)).new(); + for (let key of this[$keys]) { + let entry = transform(key, V.as(this[$_get](key))); + result[$_set](entry.key, entry.value); + } + return result; + } + addEntries(newEntries) { + IterableOfMapEntryOfK$V().as(newEntries); + if (newEntries == null) dart.nullFailed(I[35], 176, 44, "newEntries"); + for (let entry of newEntries) { + this[$_set](entry.key, entry.value); + } + } + removeWhere(test) { + if (test == null) dart.nullFailed(I[35], 182, 25, "test"); + let keysToRemove = JSArrayOfK().of([]); + for (let key of this[$keys]) { + if (dart.test(test(key, V.as(this[$_get](key))))) keysToRemove[$add](key); + } + for (let key of keysToRemove) { + this[$remove](key); + } + } + containsKey(key) { + return this[$keys][$contains](key); + } + get length() { + return this[$keys][$length]; + } + get isEmpty() { + return this[$keys][$isEmpty]; + } + get isNotEmpty() { + return this[$keys][$isNotEmpty]; + } + get values() { + return new (_MapBaseValueIterableOfK$V()).new(this); + } + toString() { + return collection.MapBase.mapToString(this); + } + } + (MapMixin.new = function() { + ; + }).prototype = MapMixin.prototype; + MapMixin.prototype[dart.isMap] = true; + dart.addTypeTests(MapMixin); + MapMixin.prototype[_is_MapMixin_default] = true; + dart.addTypeCaches(MapMixin); + MapMixin[dart.implements] = () => [core.Map$(K, V)]; + dart.setMethodSignature(MapMixin, () => ({ + __proto__: dart.getMethods(MapMixin.__proto__), + cast: dart.gFnType((RK, RV) => [core.Map$(RK, RV), []], (RK, RV) => [dart.nullable(core.Object), dart.nullable(core.Object)]), + [$cast]: dart.gFnType((RK, RV) => [core.Map$(RK, RV), []], (RK, RV) => [dart.nullable(core.Object), dart.nullable(core.Object)]), + forEach: dart.fnType(dart.void, [dart.fnType(dart.void, [K, V])]), + [$forEach]: dart.fnType(dart.void, [dart.fnType(dart.void, [K, V])]), + addAll: dart.fnType(dart.void, [dart.nullable(core.Object)]), + [$addAll]: dart.fnType(dart.void, [dart.nullable(core.Object)]), + containsValue: dart.fnType(core.bool, [dart.nullable(core.Object)]), + [$containsValue]: dart.fnType(core.bool, [dart.nullable(core.Object)]), + putIfAbsent: dart.fnType(V, [dart.nullable(core.Object), dart.nullable(core.Object)]), + [$putIfAbsent]: dart.fnType(V, [dart.nullable(core.Object), dart.nullable(core.Object)]), + update: dart.fnType(V, [dart.nullable(core.Object), dart.nullable(core.Object)], {ifAbsent: dart.nullable(core.Object)}, {}), + [$update]: dart.fnType(V, [dart.nullable(core.Object), dart.nullable(core.Object)], {ifAbsent: dart.nullable(core.Object)}, {}), + updateAll: dart.fnType(dart.void, [dart.nullable(core.Object)]), + [$updateAll]: dart.fnType(dart.void, [dart.nullable(core.Object)]), + map: dart.gFnType((K2, V2) => [core.Map$(K2, V2), [dart.fnType(core.MapEntry$(K2, V2), [K, V])]], (K2, V2) => [dart.nullable(core.Object), dart.nullable(core.Object)]), + [$map]: dart.gFnType((K2, V2) => [core.Map$(K2, V2), [dart.fnType(core.MapEntry$(K2, V2), [K, V])]], (K2, V2) => [dart.nullable(core.Object), dart.nullable(core.Object)]), + addEntries: dart.fnType(dart.void, [dart.nullable(core.Object)]), + [$addEntries]: dart.fnType(dart.void, [dart.nullable(core.Object)]), + removeWhere: dart.fnType(dart.void, [dart.fnType(core.bool, [K, V])]), + [$removeWhere]: dart.fnType(dart.void, [dart.fnType(core.bool, [K, V])]), + containsKey: dart.fnType(core.bool, [dart.nullable(core.Object)]), + [$containsKey]: dart.fnType(core.bool, [dart.nullable(core.Object)]) + })); + dart.setGetterSignature(MapMixin, () => ({ + __proto__: dart.getGetters(MapMixin.__proto__), + entries: core.Iterable$(core.MapEntry$(K, V)), + [$entries]: core.Iterable$(core.MapEntry$(K, V)), + length: core.int, + [$length]: core.int, + isEmpty: core.bool, + [$isEmpty]: core.bool, + isNotEmpty: core.bool, + [$isNotEmpty]: core.bool, + values: core.Iterable$(V), + [$values]: core.Iterable$(V) + })); + dart.setLibraryUri(MapMixin, I[24]); + dart.defineExtensionMethods(MapMixin, [ + 'cast', + 'forEach', + 'addAll', + 'containsValue', + 'putIfAbsent', + 'update', + 'updateAll', + 'map', + 'addEntries', + 'removeWhere', + 'containsKey', + 'toString' + ]); + dart.defineExtensionAccessors(MapMixin, [ + 'entries', + 'length', + 'isEmpty', + 'isNotEmpty', + 'values' + ]); + return MapMixin; +}); +collection.MapMixin = collection.MapMixin$(); +dart.addTypeTests(collection.MapMixin, _is_MapMixin_default); +const _is_MapBase_default = Symbol('_is_MapBase_default'); +collection.MapBase$ = dart.generic((K, V) => { + class MapBase extends collection.MapMixin$(K, V) { + static mapToString(m) { + if (m == null) dart.nullFailed(I[35], 22, 51, "m"); + if (dart.test(collection._isToStringVisiting(m))) { + return "{...}"; + } + let result = new core.StringBuffer.new(); + try { + collection._toStringVisiting[$add](m); + result.write("{"); + let first = true; + m[$forEach](dart.fn((k, v) => { + if (!first) { + result.write(", "); + } + first = false; + result.write(k); + result.write(": "); + result.write(v); + }, T$.ObjectNAndObjectNTovoid())); + result.write("}"); + } finally { + if (!core.identical(collection._toStringVisiting[$last], m)) dart.assertFailed(null, I[35], 44, 14, "identical(_toStringVisiting.last, m)"); + collection._toStringVisiting[$removeLast](); + } + return result.toString(); + } + static _id(x) { + return x; + } + static _fillMapWithMappedIterable(map, iterable, key, value) { + if (map == null) dart.nullFailed(I[35], 58, 29, "map"); + if (iterable == null) dart.nullFailed(I[35], 59, 25, "iterable"); + key == null ? key = C[19] || CT.C19 : null; + value == null ? value = C[19] || CT.C19 : null; + if (key == null) dart.throw("!"); + if (value == null) dart.throw("!"); + for (let element of iterable) { + map[$_set](key(element), value(element)); + } + } + static _fillMapWithIterables(map, keys, values) { + if (map == null) dart.nullFailed(I[35], 77, 59, "map"); + if (keys == null) dart.nullFailed(I[35], 78, 25, "keys"); + if (values == null) dart.nullFailed(I[35], 78, 49, "values"); + let keyIterator = keys[$iterator]; + let valueIterator = values[$iterator]; + let hasNextKey = keyIterator.moveNext(); + let hasNextValue = valueIterator.moveNext(); + while (dart.test(hasNextKey) && dart.test(hasNextValue)) { + map[$_set](keyIterator.current, valueIterator.current); + hasNextKey = keyIterator.moveNext(); + hasNextValue = valueIterator.moveNext(); + } + if (dart.test(hasNextKey) || dart.test(hasNextValue)) { + dart.throw(new core.ArgumentError.new("Iterables do not have same length.")); + } + } + } + (MapBase.new = function() { + ; + }).prototype = MapBase.prototype; + dart.addTypeTests(MapBase); + MapBase.prototype[_is_MapBase_default] = true; + dart.addTypeCaches(MapBase); + dart.setLibraryUri(MapBase, I[24]); + return MapBase; +}); +collection.MapBase = collection.MapBase$(); +dart.addTypeTests(collection.MapBase, _is_MapBase_default); +const _is_CastMap_default = Symbol('_is_CastMap_default'); +_internal.CastMap$ = dart.generic((SK, SV, K, V) => { + var CastMapOfK$V$SK$SV = () => (CastMapOfK$V$SK$SV = dart.constFn(_internal.CastMap$(K, V, SK, SV)))(); + var SKAndSVTovoid = () => (SKAndSVTovoid = dart.constFn(dart.fnType(dart.void, [SK, SV])))(); + var CastIterableOfSK$K = () => (CastIterableOfSK$K = dart.constFn(_internal.CastIterable$(SK, K)))(); + var SKAndSVToSV = () => (SKAndSVToSV = dart.constFn(dart.fnType(SV, [SK, SV])))(); + var MapEntryOfSK$SV = () => (MapEntryOfSK$SV = dart.constFn(core.MapEntry$(SK, SV)))(); + var MapEntryOfSK$SVToMapEntryOfK$V = () => (MapEntryOfSK$SVToMapEntryOfK$V = dart.constFn(dart.fnType(MapEntryOfK$V(), [MapEntryOfSK$SV()])))(); + var SKAndSVTobool = () => (SKAndSVTobool = dart.constFn(dart.fnType(core.bool, [SK, SV])))(); + var VoidToSV = () => (VoidToSV = dart.constFn(dart.fnType(SV, [])))(); + var CastIterableOfSV$V = () => (CastIterableOfSV$V = dart.constFn(_internal.CastIterable$(SV, V)))(); + var SVToSV = () => (SVToSV = dart.constFn(dart.fnType(SV, [SV])))(); + var MapOfK$V = () => (MapOfK$V = dart.constFn(core.Map$(K, V)))(); + var KAndVToV = () => (KAndVToV = dart.constFn(dart.fnType(V, [K, V])))(); + var MapEntryOfK$V = () => (MapEntryOfK$V = dart.constFn(core.MapEntry$(K, V)))(); + var IterableOfMapEntryOfK$V = () => (IterableOfMapEntryOfK$V = dart.constFn(core.Iterable$(MapEntryOfK$V())))(); + var VN = () => (VN = dart.constFn(dart.nullable(V)))(); + var VoidToV = () => (VoidToV = dart.constFn(dart.fnType(V, [])))(); + var VToV = () => (VToV = dart.constFn(dart.fnType(V, [V])))(); + var VoidToNV = () => (VoidToNV = dart.constFn(dart.nullable(VoidToV())))(); + class CastMap extends collection.MapBase$(K, V) { + cast(RK, RV) { + return new (_internal.CastMap$(SK, SV, RK, RV)).new(this[_source$]); + } + containsValue(value) { + return this[_source$][$containsValue](value); + } + containsKey(key) { + return this[_source$][$containsKey](key); + } + _get(key) { + return VN().as(this[_source$][$_get](key)); + } + _set(key, value$) { + let value = value$; + K.as(key); + V.as(value); + this[_source$][$_set](SK.as(key), SV.as(value)); + return value$; + } + putIfAbsent(key, ifAbsent) { + K.as(key); + VoidToV().as(ifAbsent); + if (ifAbsent == null) dart.nullFailed(I[33], 273, 37, "ifAbsent"); + return V.as(this[_source$][$putIfAbsent](SK.as(key), dart.fn(() => SV.as(ifAbsent()), VoidToSV()))); + } + addAll(other) { + MapOfK$V().as(other); + if (other == null) dart.nullFailed(I[33], 276, 25, "other"); + this[_source$][$addAll](new (CastMapOfK$V$SK$SV()).new(other)); + } + remove(key) { + return VN().as(this[_source$][$remove](key)); + } + clear() { + this[_source$][$clear](); + } + forEach(f) { + if (f == null) dart.nullFailed(I[33], 286, 21, "f"); + this[_source$][$forEach](dart.fn((key, value) => { + f(K.as(key), V.as(value)); + }, SKAndSVTovoid())); + } + get keys() { + return CastIterableOfSK$K().new(this[_source$][$keys]); + } + get values() { + return CastIterableOfSV$V().new(this[_source$][$values]); + } + get length() { + return this[_source$][$length]; + } + get isEmpty() { + return this[_source$][$isEmpty]; + } + get isNotEmpty() { + return this[_source$][$isNotEmpty]; + } + update(key, update, opts) { + K.as(key); + VToV().as(update); + if (update == null) dart.nullFailed(I[33], 302, 21, "update"); + let ifAbsent = opts && 'ifAbsent' in opts ? opts.ifAbsent : null; + VoidToNV().as(ifAbsent); + return V.as(this[_source$][$update](SK.as(key), dart.fn(value => SV.as(update(V.as(value))), SVToSV()), {ifAbsent: ifAbsent == null ? null : dart.fn(() => SV.as(ifAbsent()), VoidToSV())})); + } + updateAll(update) { + KAndVToV().as(update); + if (update == null) dart.nullFailed(I[33], 307, 20, "update"); + this[_source$][$updateAll](dart.fn((key, value) => SV.as(update(K.as(key), V.as(value))), SKAndSVToSV())); + } + get entries() { + return this[_source$][$entries][$map](MapEntryOfK$V(), dart.fn(e => { + if (e == null) dart.nullFailed(I[33], 313, 27, "e"); + return new (MapEntryOfK$V()).__(K.as(e.key), V.as(e.value)); + }, MapEntryOfSK$SVToMapEntryOfK$V())); + } + addEntries(entries) { + IterableOfMapEntryOfK$V().as(entries); + if (entries == null) dart.nullFailed(I[33], 316, 44, "entries"); + for (let entry of entries) { + this[_source$][$_set](SK.as(entry.key), SV.as(entry.value)); + } + } + removeWhere(test) { + if (test == null) dart.nullFailed(I[33], 322, 25, "test"); + this[_source$][$removeWhere](dart.fn((key, value) => test(K.as(key), V.as(value)), SKAndSVTobool())); + } + } + (CastMap.new = function(_source) { + if (_source == null) dart.nullFailed(I[33], 259, 16, "_source"); + this[_source$] = _source; + ; + }).prototype = CastMap.prototype; + dart.addTypeTests(CastMap); + CastMap.prototype[_is_CastMap_default] = true; + dart.addTypeCaches(CastMap); + dart.setMethodSignature(CastMap, () => ({ + __proto__: dart.getMethods(CastMap.__proto__), + cast: dart.gFnType((RK, RV) => [core.Map$(RK, RV), []], (RK, RV) => [dart.nullable(core.Object), dart.nullable(core.Object)]), + [$cast]: dart.gFnType((RK, RV) => [core.Map$(RK, RV), []], (RK, RV) => [dart.nullable(core.Object), dart.nullable(core.Object)]), + _get: dart.fnType(dart.nullable(V), [dart.nullable(core.Object)]), + [$_get]: dart.fnType(dart.nullable(V), [dart.nullable(core.Object)]), + _set: dart.fnType(dart.void, [dart.nullable(core.Object), dart.nullable(core.Object)]), + [$_set]: dart.fnType(dart.void, [dart.nullable(core.Object), dart.nullable(core.Object)]), + remove: dart.fnType(dart.nullable(V), [dart.nullable(core.Object)]), + [$remove]: dart.fnType(dart.nullable(V), [dart.nullable(core.Object)]), + clear: dart.fnType(dart.void, []), + [$clear]: dart.fnType(dart.void, []) + })); + dart.setGetterSignature(CastMap, () => ({ + __proto__: dart.getGetters(CastMap.__proto__), + keys: core.Iterable$(K), + [$keys]: core.Iterable$(K) + })); + dart.setLibraryUri(CastMap, I[25]); + dart.setFieldSignature(CastMap, () => ({ + __proto__: dart.getFields(CastMap.__proto__), + [_source$]: dart.finalFieldType(core.Map$(SK, SV)) + })); + dart.defineExtensionMethods(CastMap, [ + 'cast', + 'containsValue', + 'containsKey', + '_get', + '_set', + 'putIfAbsent', + 'addAll', + 'remove', + 'clear', + 'forEach', + 'update', + 'updateAll', + 'addEntries', + 'removeWhere' + ]); + dart.defineExtensionAccessors(CastMap, [ + 'keys', + 'values', + 'length', + 'isEmpty', + 'isNotEmpty', + 'entries' + ]); + return CastMap; +}); +_internal.CastMap = _internal.CastMap$(); +dart.addTypeTests(_internal.CastMap, _is_CastMap_default); +var _source$3 = dart.privateName(_internal, "CastQueue._source"); +const _is_CastQueue_default = Symbol('_is_CastQueue_default'); +_internal.CastQueue$ = dart.generic((S, T) => { + var CastIterableOfT$S = () => (CastIterableOfT$S = dart.constFn(_internal.CastIterable$(T, S)))(); + var STobool = () => (STobool = dart.constFn(dart.fnType(core.bool, [S])))(); + var IterableOfT = () => (IterableOfT = dart.constFn(core.Iterable$(T)))(); + class CastQueue extends _internal._CastIterableBase$(S, T) { + get [_source$]() { + return this[_source$3]; + } + set [_source$](value) { + super[_source$] = value; + } + cast(R) { + return new (_internal.CastQueue$(S, R)).new(this[_source$]); + } + removeFirst() { + return T.as(this[_source$].removeFirst()); + } + removeLast() { + return T.as(this[_source$].removeLast()); + } + add(value) { + T.as(value); + this[_source$].add(S.as(value)); + } + addFirst(value) { + T.as(value); + this[_source$].addFirst(S.as(value)); + } + addLast(value) { + T.as(value); + this[_source$].addLast(S.as(value)); + } + remove(other) { + return this[_source$].remove(other); + } + addAll(elements) { + IterableOfT().as(elements); + if (elements == null) dart.nullFailed(I[33], 348, 27, "elements"); + this[_source$].addAll(CastIterableOfT$S().new(elements)); + } + removeWhere(test) { + if (test == null) dart.nullFailed(I[33], 352, 25, "test"); + this[_source$].removeWhere(dart.fn(element => test(T.as(element)), STobool())); + } + retainWhere(test) { + if (test == null) dart.nullFailed(I[33], 356, 25, "test"); + this[_source$].retainWhere(dart.fn(element => test(T.as(element)), STobool())); + } + clear() { + this[_source$].clear(); + } + } + (CastQueue.new = function(_source) { + if (_source == null) dart.nullFailed(I[33], 329, 18, "_source"); + this[_source$3] = _source; + CastQueue.__proto__.new.call(this); + ; + }).prototype = CastQueue.prototype; + dart.addTypeTests(CastQueue); + CastQueue.prototype[_is_CastQueue_default] = true; + dart.addTypeCaches(CastQueue); + CastQueue[dart.implements] = () => [collection.Queue$(T)]; + dart.setMethodSignature(CastQueue, () => ({ + __proto__: dart.getMethods(CastQueue.__proto__), + cast: dart.gFnType(R => [collection.Queue$(R), []], R => [dart.nullable(core.Object)]), + [$cast]: dart.gFnType(R => [collection.Queue$(R), []], R => [dart.nullable(core.Object)]), + removeFirst: dart.fnType(T, []), + removeLast: dart.fnType(T, []), + add: dart.fnType(dart.void, [dart.nullable(core.Object)]), + addFirst: dart.fnType(dart.void, [dart.nullable(core.Object)]), + addLast: dart.fnType(dart.void, [dart.nullable(core.Object)]), + remove: dart.fnType(core.bool, [dart.nullable(core.Object)]), + addAll: dart.fnType(dart.void, [dart.nullable(core.Object)]), + removeWhere: dart.fnType(dart.void, [dart.fnType(core.bool, [T])]), + retainWhere: dart.fnType(dart.void, [dart.fnType(core.bool, [T])]), + clear: dart.fnType(dart.void, []) + })); + dart.setLibraryUri(CastQueue, I[25]); + dart.setFieldSignature(CastQueue, () => ({ + __proto__: dart.getFields(CastQueue.__proto__), + [_source$]: dart.finalFieldType(collection.Queue$(S)) + })); + dart.defineExtensionMethods(CastQueue, ['cast']); + return CastQueue; +}); +_internal.CastQueue = _internal.CastQueue$(); +dart.addTypeTests(_internal.CastQueue, _is_CastQueue_default); +var _message$ = dart.privateName(_internal, "_message"); +_internal.LateError = class LateError extends core.Error { + toString() { + let message = this[_message$]; + return message != null ? "LateInitializationError: " + dart.str(message) : "LateInitializationError"; + } +}; +(_internal.LateError.new = function(_message = null) { + this[_message$] = _message; + _internal.LateError.__proto__.new.call(this); + ; +}).prototype = _internal.LateError.prototype; +(_internal.LateError.fieldADI = function(fieldName) { + if (fieldName == null) dart.nullFailed(I[36], 16, 29, "fieldName"); + this[_message$] = "Field '" + dart.str(fieldName) + "' has been assigned during initialization."; + _internal.LateError.__proto__.new.call(this); + ; +}).prototype = _internal.LateError.prototype; +(_internal.LateError.localADI = function(localName) { + if (localName == null) dart.nullFailed(I[36], 20, 29, "localName"); + this[_message$] = "Local '" + dart.str(localName) + "' has been assigned during initialization."; + _internal.LateError.__proto__.new.call(this); + ; +}).prototype = _internal.LateError.prototype; +(_internal.LateError.fieldNI = function(fieldName) { + if (fieldName == null) dart.nullFailed(I[36], 25, 28, "fieldName"); + this[_message$] = "Field '" + dart.str(fieldName) + "' has not been initialized."; + _internal.LateError.__proto__.new.call(this); + ; +}).prototype = _internal.LateError.prototype; +(_internal.LateError.localNI = function(localName) { + if (localName == null) dart.nullFailed(I[36], 28, 28, "localName"); + this[_message$] = "Local '" + dart.str(localName) + "' has not been initialized."; + _internal.LateError.__proto__.new.call(this); + ; +}).prototype = _internal.LateError.prototype; +(_internal.LateError.fieldAI = function(fieldName) { + if (fieldName == null) dart.nullFailed(I[36], 31, 28, "fieldName"); + this[_message$] = "Field '" + dart.str(fieldName) + "' has already been initialized."; + _internal.LateError.__proto__.new.call(this); + ; +}).prototype = _internal.LateError.prototype; +(_internal.LateError.localAI = function(localName) { + if (localName == null) dart.nullFailed(I[36], 34, 28, "localName"); + this[_message$] = "Local '" + dart.str(localName) + "' has already been initialized."; + _internal.LateError.__proto__.new.call(this); + ; +}).prototype = _internal.LateError.prototype; +dart.addTypeTests(_internal.LateError); +dart.addTypeCaches(_internal.LateError); +dart.setLibraryUri(_internal.LateError, I[25]); +dart.setFieldSignature(_internal.LateError, () => ({ + __proto__: dart.getFields(_internal.LateError.__proto__), + [_message$]: dart.finalFieldType(dart.nullable(core.String)) +})); +dart.defineExtensionMethods(_internal.LateError, ['toString']); +_internal.ReachabilityError = class ReachabilityError extends core.Error { + toString() { + let message = this[_message$]; + return message != null ? "ReachabilityError: " + dart.str(message) : "ReachabilityError"; + } +}; +(_internal.ReachabilityError.new = function(_message = null) { + this[_message$] = _message; + _internal.ReachabilityError.__proto__.new.call(this); + ; +}).prototype = _internal.ReachabilityError.prototype; +dart.addTypeTests(_internal.ReachabilityError); +dart.addTypeCaches(_internal.ReachabilityError); +dart.setLibraryUri(_internal.ReachabilityError, I[25]); +dart.setFieldSignature(_internal.ReachabilityError, () => ({ + __proto__: dart.getFields(_internal.ReachabilityError.__proto__), + [_message$]: dart.finalFieldType(dart.nullable(core.String)) +})); +dart.defineExtensionMethods(_internal.ReachabilityError, ['toString']); +const _is_EfficientLengthIterable_default = Symbol('_is_EfficientLengthIterable_default'); +_internal.EfficientLengthIterable$ = dart.generic(T => { + class EfficientLengthIterable extends core.Iterable$(T) {} + (EfficientLengthIterable.new = function() { + EfficientLengthIterable.__proto__.new.call(this); + ; + }).prototype = EfficientLengthIterable.prototype; + dart.addTypeTests(EfficientLengthIterable); + EfficientLengthIterable.prototype[_is_EfficientLengthIterable_default] = true; + dart.addTypeCaches(EfficientLengthIterable); + dart.setLibraryUri(EfficientLengthIterable, I[25]); + return EfficientLengthIterable; +}); +_internal.EfficientLengthIterable = _internal.EfficientLengthIterable$(); +dart.addTypeTests(_internal.EfficientLengthIterable, _is_EfficientLengthIterable_default); +const _is_ListIterable_default = Symbol('_is_ListIterable_default'); +_internal.ListIterable$ = dart.generic(E => { + var ListIteratorOfE = () => (ListIteratorOfE = dart.constFn(_internal.ListIterator$(E)))(); + var VoidToE = () => (VoidToE = dart.constFn(dart.fnType(E, [])))(); + var VoidToNE = () => (VoidToNE = dart.constFn(dart.nullable(VoidToE())))(); + var ETodynamic = () => (ETodynamic = dart.constFn(dart.fnType(dart.dynamic, [E])))(); + var EAndEToE = () => (EAndEToE = dart.constFn(dart.fnType(E, [E, E])))(); + var SubListIterableOfE = () => (SubListIterableOfE = dart.constFn(_internal.SubListIterable$(E)))(); + var ListOfE = () => (ListOfE = dart.constFn(core.List$(E)))(); + var _HashSetOfE = () => (_HashSetOfE = dart.constFn(collection._HashSet$(E)))(); + class ListIterable extends _internal.EfficientLengthIterable$(E) { + get iterator() { + return new (ListIteratorOfE()).new(this); + } + forEach(action) { + if (action == null) dart.nullFailed(I[37], 36, 21, "action"); + let length = this.length; + for (let i = 0; i < dart.notNull(length); i = i + 1) { + action(this.elementAt(i)); + if (length != this.length) { + dart.throw(new core.ConcurrentModificationError.new(this)); + } + } + } + get isEmpty() { + return this.length === 0; + } + get first() { + if (this.length === 0) dart.throw(_internal.IterableElementError.noElement()); + return this.elementAt(0); + } + get last() { + if (this.length === 0) dart.throw(_internal.IterableElementError.noElement()); + return this.elementAt(dart.notNull(this.length) - 1); + } + get single() { + if (this.length === 0) dart.throw(_internal.IterableElementError.noElement()); + if (dart.notNull(this.length) > 1) dart.throw(_internal.IterableElementError.tooMany()); + return this.elementAt(0); + } + contains(element) { + let length = this.length; + for (let i = 0; i < dart.notNull(length); i = i + 1) { + if (dart.equals(this.elementAt(i), element)) return true; + if (length != this.length) { + dart.throw(new core.ConcurrentModificationError.new(this)); + } + } + return false; + } + every(test) { + if (test == null) dart.nullFailed(I[37], 75, 19, "test"); + let length = this.length; + for (let i = 0; i < dart.notNull(length); i = i + 1) { + if (!dart.test(test(this.elementAt(i)))) return false; + if (length != this.length) { + dart.throw(new core.ConcurrentModificationError.new(this)); + } + } + return true; + } + any(test) { + if (test == null) dart.nullFailed(I[37], 86, 17, "test"); + let length = this.length; + for (let i = 0; i < dart.notNull(length); i = i + 1) { + if (dart.test(test(this.elementAt(i)))) return true; + if (length != this.length) { + dart.throw(new core.ConcurrentModificationError.new(this)); + } + } + return false; + } + firstWhere(test, opts) { + if (test == null) dart.nullFailed(I[37], 97, 21, "test"); + let orElse = opts && 'orElse' in opts ? opts.orElse : null; + VoidToNE().as(orElse); + let length = this.length; + for (let i = 0; i < dart.notNull(length); i = i + 1) { + let element = this.elementAt(i); + if (dart.test(test(element))) return element; + if (length != this.length) { + dart.throw(new core.ConcurrentModificationError.new(this)); + } + } + if (orElse != null) return orElse(); + dart.throw(_internal.IterableElementError.noElement()); + } + lastWhere(test, opts) { + if (test == null) dart.nullFailed(I[37], 110, 20, "test"); + let orElse = opts && 'orElse' in opts ? opts.orElse : null; + VoidToNE().as(orElse); + let length = this.length; + for (let i = dart.notNull(length) - 1; i >= 0; i = i - 1) { + let element = this.elementAt(i); + if (dart.test(test(element))) return element; + if (length != this.length) { + dart.throw(new core.ConcurrentModificationError.new(this)); + } + } + if (orElse != null) return orElse(); + dart.throw(_internal.IterableElementError.noElement()); + } + singleWhere(test, opts) { + if (test == null) dart.nullFailed(I[37], 123, 22, "test"); + let orElse = opts && 'orElse' in opts ? opts.orElse : null; + VoidToNE().as(orElse); + let length = this.length; + let match = null; + let match$35isSet = false; + function match$35get() { + return match$35isSet ? match : dart.throw(new _internal.LateError.localNI("match")); + } + dart.fn(match$35get, VoidToE()); + function match$35set(t80) { + match$35isSet = true; + return match = t80; + } + dart.fn(match$35set, ETodynamic()); + let matchFound = false; + for (let i = 0; i < dart.notNull(length); i = i + 1) { + let element = this.elementAt(i); + if (dart.test(test(element))) { + if (matchFound) { + dart.throw(_internal.IterableElementError.tooMany()); + } + matchFound = true; + match$35set(element); + } + if (length != this.length) { + dart.throw(new core.ConcurrentModificationError.new(this)); + } + } + if (matchFound) return match$35get(); + if (orElse != null) return orElse(); + dart.throw(_internal.IterableElementError.noElement()); + } + join(separator = "") { + if (separator == null) dart.nullFailed(I[37], 145, 23, "separator"); + let length = this.length; + if (!separator[$isEmpty]) { + if (length === 0) return ""; + let first = dart.str(this.elementAt(0)); + if (length != this.length) { + dart.throw(new core.ConcurrentModificationError.new(this)); + } + let buffer = new core.StringBuffer.new(first); + for (let i = 1; i < dart.notNull(length); i = i + 1) { + buffer.write(separator); + buffer.write(this.elementAt(i)); + if (length != this.length) { + dart.throw(new core.ConcurrentModificationError.new(this)); + } + } + return buffer.toString(); + } else { + let buffer = new core.StringBuffer.new(); + for (let i = 0; i < dart.notNull(length); i = i + 1) { + buffer.write(this.elementAt(i)); + if (length != this.length) { + dart.throw(new core.ConcurrentModificationError.new(this)); + } + } + return buffer.toString(); + } + } + where(test) { + if (test == null) dart.nullFailed(I[37], 174, 26, "test"); + return super[$where](test); + } + map(T, f) { + if (f == null) dart.nullFailed(I[37], 176, 24, "f"); + return new (_internal.MappedListIterable$(E, T)).new(this, f); + } + reduce(combine) { + EAndEToE().as(combine); + if (combine == null) dart.nullFailed(I[37], 178, 14, "combine"); + let length = this.length; + if (length === 0) dart.throw(_internal.IterableElementError.noElement()); + let value = this.elementAt(0); + for (let i = 1; i < dart.notNull(length); i = i + 1) { + value = combine(value, this.elementAt(i)); + if (length != this.length) { + dart.throw(new core.ConcurrentModificationError.new(this)); + } + } + return value; + } + fold(T, initialValue, combine) { + if (combine == null) dart.nullFailed(I[37], 191, 31, "combine"); + let value = initialValue; + let length = this.length; + for (let i = 0; i < dart.notNull(length); i = i + 1) { + value = combine(value, this.elementAt(i)); + if (length != this.length) { + dart.throw(new core.ConcurrentModificationError.new(this)); + } + } + return value; + } + skip(count) { + if (count == null) dart.nullFailed(I[37], 203, 24, "count"); + return new (SubListIterableOfE()).new(this, count, null); + } + skipWhile(test) { + if (test == null) dart.nullFailed(I[37], 205, 30, "test"); + return super[$skipWhile](test); + } + take(count) { + if (count == null) dart.nullFailed(I[37], 207, 24, "count"); + return new (SubListIterableOfE()).new(this, 0, _internal.checkNotNullable(core.int, count, "count")); + } + takeWhile(test) { + if (test == null) dart.nullFailed(I[37], 210, 30, "test"); + return super[$takeWhile](test); + } + toList(opts) { + let growable = opts && 'growable' in opts ? opts.growable : true; + if (growable == null) dart.nullFailed(I[37], 212, 24, "growable"); + return ListOfE().of(this, {growable: growable}); + } + toSet() { + let result = new (_HashSetOfE()).new(); + for (let i = 0; i < dart.notNull(this.length); i = i + 1) { + result.add(this.elementAt(i)); + } + return result; + } + } + (ListIterable.new = function() { + ListIterable.__proto__.new.call(this); + ; + }).prototype = ListIterable.prototype; + dart.addTypeTests(ListIterable); + ListIterable.prototype[_is_ListIterable_default] = true; + dart.addTypeCaches(ListIterable); + dart.setMethodSignature(ListIterable, () => ({ + __proto__: dart.getMethods(ListIterable.__proto__), + map: dart.gFnType(T => [core.Iterable$(T), [dart.fnType(T, [E])]], T => [dart.nullable(core.Object)]), + [$map]: dart.gFnType(T => [core.Iterable$(T), [dart.fnType(T, [E])]], T => [dart.nullable(core.Object)]), + fold: dart.gFnType(T => [T, [T, dart.fnType(T, [T, E])]], T => [dart.nullable(core.Object)]), + [$fold]: dart.gFnType(T => [T, [T, dart.fnType(T, [T, E])]], T => [dart.nullable(core.Object)]) + })); + dart.setGetterSignature(ListIterable, () => ({ + __proto__: dart.getGetters(ListIterable.__proto__), + iterator: core.Iterator$(E), + [$iterator]: core.Iterator$(E) + })); + dart.setLibraryUri(ListIterable, I[25]); + dart.defineExtensionMethods(ListIterable, [ + 'forEach', + 'contains', + 'every', + 'any', + 'firstWhere', + 'lastWhere', + 'singleWhere', + 'join', + 'where', + 'map', + 'reduce', + 'fold', + 'skip', + 'skipWhile', + 'take', + 'takeWhile', + 'toList', + 'toSet' + ]); + dart.defineExtensionAccessors(ListIterable, [ + 'iterator', + 'isEmpty', + 'first', + 'last', + 'single' + ]); + return ListIterable; +}); +_internal.ListIterable = _internal.ListIterable$(); +dart.addTypeTests(_internal.ListIterable, _is_ListIterable_default); +var _iterable$ = dart.privateName(_internal, "_iterable"); +var _start$ = dart.privateName(_internal, "_start"); +var _endOrLength$ = dart.privateName(_internal, "_endOrLength"); +var _endIndex = dart.privateName(_internal, "_endIndex"); +var _startIndex = dart.privateName(_internal, "_startIndex"); +const _is_SubListIterable_default = Symbol('_is_SubListIterable_default'); +_internal.SubListIterable$ = dart.generic(E => { + var EmptyIterableOfE = () => (EmptyIterableOfE = dart.constFn(_internal.EmptyIterable$(E)))(); + var SubListIterableOfE = () => (SubListIterableOfE = dart.constFn(_internal.SubListIterable$(E)))(); + var ListOfE = () => (ListOfE = dart.constFn(core.List$(E)))(); + class SubListIterable extends _internal.ListIterable$(E) { + get [_endIndex]() { + let length = this[_iterable$][$length]; + let endOrLength = this[_endOrLength$]; + if (endOrLength == null || dart.notNull(endOrLength) > dart.notNull(length)) return length; + return endOrLength; + } + get [_startIndex]() { + let length = this[_iterable$][$length]; + if (dart.notNull(this[_start$]) > dart.notNull(length)) return length; + return this[_start$]; + } + get length() { + let length = this[_iterable$][$length]; + if (dart.notNull(this[_start$]) >= dart.notNull(length)) return 0; + let endOrLength = this[_endOrLength$]; + if (endOrLength == null || dart.notNull(endOrLength) >= dart.notNull(length)) { + return dart.notNull(length) - dart.notNull(this[_start$]); + } + return dart.notNull(endOrLength) - dart.notNull(this[_start$]); + } + elementAt(index) { + if (index == null) dart.nullFailed(I[37], 263, 19, "index"); + let realIndex = dart.notNull(this[_startIndex]) + dart.notNull(index); + if (dart.notNull(index) < 0 || realIndex >= dart.notNull(this[_endIndex])) { + dart.throw(new core.IndexError.new(index, this, "index")); + } + return this[_iterable$][$elementAt](realIndex); + } + skip(count) { + if (count == null) dart.nullFailed(I[37], 271, 24, "count"); + core.RangeError.checkNotNegative(count, "count"); + let newStart = dart.notNull(this[_start$]) + dart.notNull(count); + let endOrLength = this[_endOrLength$]; + if (endOrLength != null && newStart >= dart.notNull(endOrLength)) { + return new (EmptyIterableOfE()).new(); + } + return new (SubListIterableOfE()).new(this[_iterable$], newStart, this[_endOrLength$]); + } + take(count) { + if (count == null) dart.nullFailed(I[37], 281, 24, "count"); + core.RangeError.checkNotNegative(count, "count"); + let endOrLength = this[_endOrLength$]; + if (endOrLength == null) { + return new (SubListIterableOfE()).new(this[_iterable$], this[_start$], dart.notNull(this[_start$]) + dart.notNull(count)); + } else { + let newEnd = dart.notNull(this[_start$]) + dart.notNull(count); + if (dart.notNull(endOrLength) < newEnd) return this; + return new (SubListIterableOfE()).new(this[_iterable$], this[_start$], newEnd); + } + } + toList(opts) { + let growable = opts && 'growable' in opts ? opts.growable : true; + if (growable == null) dart.nullFailed(I[37], 293, 24, "growable"); + let start = this[_start$]; + let end = this[_iterable$][$length]; + let endOrLength = this[_endOrLength$]; + if (endOrLength != null && dart.notNull(endOrLength) < dart.notNull(end)) end = endOrLength; + let length = dart.notNull(end) - dart.notNull(start); + if (length <= 0) return ListOfE().empty({growable: growable}); + let result = ListOfE().filled(length, this[_iterable$][$elementAt](start), {growable: growable}); + for (let i = 1; i < length; i = i + 1) { + result[$_set](i, this[_iterable$][$elementAt](dart.notNull(start) + i)); + if (dart.notNull(this[_iterable$][$length]) < dart.notNull(end)) dart.throw(new core.ConcurrentModificationError.new(this)); + } + return result; + } + } + (SubListIterable.new = function(_iterable, _start, _endOrLength) { + if (_iterable == null) dart.nullFailed(I[37], 229, 24, "_iterable"); + if (_start == null) dart.nullFailed(I[37], 229, 40, "_start"); + this[_iterable$] = _iterable; + this[_start$] = _start; + this[_endOrLength$] = _endOrLength; + SubListIterable.__proto__.new.call(this); + core.RangeError.checkNotNegative(this[_start$], "start"); + let endOrLength = this[_endOrLength$]; + if (endOrLength != null) { + core.RangeError.checkNotNegative(endOrLength, "end"); + if (dart.notNull(this[_start$]) > dart.notNull(endOrLength)) { + dart.throw(new core.RangeError.range(this[_start$], 0, endOrLength, "start")); + } + } + }).prototype = SubListIterable.prototype; + dart.addTypeTests(SubListIterable); + SubListIterable.prototype[_is_SubListIterable_default] = true; + dart.addTypeCaches(SubListIterable); + dart.setGetterSignature(SubListIterable, () => ({ + __proto__: dart.getGetters(SubListIterable.__proto__), + [_endIndex]: core.int, + [_startIndex]: core.int + })); + dart.setLibraryUri(SubListIterable, I[25]); + dart.setFieldSignature(SubListIterable, () => ({ + __proto__: dart.getFields(SubListIterable.__proto__), + [_iterable$]: dart.finalFieldType(core.Iterable$(E)), + [_start$]: dart.finalFieldType(core.int), + [_endOrLength$]: dart.finalFieldType(dart.nullable(core.int)) + })); + dart.defineExtensionMethods(SubListIterable, ['elementAt', 'skip', 'take', 'toList']); + dart.defineExtensionAccessors(SubListIterable, ['length']); + return SubListIterable; +}); +_internal.SubListIterable = _internal.SubListIterable$(); +dart.addTypeTests(_internal.SubListIterable, _is_SubListIterable_default); +var _current$ = dart.privateName(_internal, "_current"); +var _index$ = dart.privateName(_internal, "_index"); +const _is_ListIterator_default = Symbol('_is_ListIterator_default'); +_internal.ListIterator$ = dart.generic(E => { + class ListIterator extends core.Object { + get current() { + return E.as(this[_current$]); + } + moveNext() { + let length = this[_iterable$][$length]; + if (this[_length$] != length) { + dart.throw(new core.ConcurrentModificationError.new(this[_iterable$])); + } + if (dart.notNull(this[_index$]) >= dart.notNull(length)) { + this[_current$] = null; + return false; + } + this[_current$] = this[_iterable$][$elementAt](this[_index$]); + this[_index$] = dart.notNull(this[_index$]) + 1; + return true; + } + } + (ListIterator.new = function(iterable) { + if (iterable == null) dart.nullFailed(I[37], 324, 28, "iterable"); + this[_current$] = null; + this[_iterable$] = iterable; + this[_length$] = iterable[$length]; + this[_index$] = 0; + ; + }).prototype = ListIterator.prototype; + dart.addTypeTests(ListIterator); + ListIterator.prototype[_is_ListIterator_default] = true; + dart.addTypeCaches(ListIterator); + ListIterator[dart.implements] = () => [core.Iterator$(E)]; + dart.setMethodSignature(ListIterator, () => ({ + __proto__: dart.getMethods(ListIterator.__proto__), + moveNext: dart.fnType(core.bool, []) + })); + dart.setGetterSignature(ListIterator, () => ({ + __proto__: dart.getGetters(ListIterator.__proto__), + current: E + })); + dart.setLibraryUri(ListIterator, I[25]); + dart.setFieldSignature(ListIterator, () => ({ + __proto__: dart.getFields(ListIterator.__proto__), + [_iterable$]: dart.finalFieldType(core.Iterable$(E)), + [_length$]: dart.finalFieldType(core.int), + [_index$]: dart.fieldType(core.int), + [_current$]: dart.fieldType(dart.nullable(E)) + })); + return ListIterator; +}); +_internal.ListIterator = _internal.ListIterator$(); +dart.addTypeTests(_internal.ListIterator, _is_ListIterator_default); +var _f$ = dart.privateName(_internal, "_f"); +const _is_MappedIterable_default = Symbol('_is_MappedIterable_default'); +_internal.MappedIterable$ = dart.generic((S, T) => { + var MappedIteratorOfS$T = () => (MappedIteratorOfS$T = dart.constFn(_internal.MappedIterator$(S, T)))(); + class MappedIterable extends core.Iterable$(T) { + static new(iterable, $function) { + if (iterable == null) dart.nullFailed(I[37], 353, 38, "iterable"); + if ($function == null) dart.nullFailed(I[37], 353, 50, "function"); + if (_internal.EfficientLengthIterable.is(iterable)) { + return new (_internal.EfficientLengthMappedIterable$(S, T)).new(iterable, $function); + } + return new (_internal.MappedIterable$(S, T)).__(iterable, $function); + } + get iterator() { + return new (MappedIteratorOfS$T()).new(this[_iterable$][$iterator], this[_f$]); + } + get length() { + return this[_iterable$][$length]; + } + get isEmpty() { + return this[_iterable$][$isEmpty]; + } + get first() { + let t82; + t82 = this[_iterable$][$first]; + return this[_f$](t82); + } + get last() { + let t82; + t82 = this[_iterable$][$last]; + return this[_f$](t82); + } + get single() { + let t82; + t82 = this[_iterable$][$single]; + return this[_f$](t82); + } + elementAt(index) { + let t82; + if (index == null) dart.nullFailed(I[37], 372, 19, "index"); + t82 = this[_iterable$][$elementAt](index); + return this[_f$](t82); + } + } + (MappedIterable.__ = function(_iterable, _f) { + if (_iterable == null) dart.nullFailed(I[37], 360, 25, "_iterable"); + if (_f == null) dart.nullFailed(I[37], 360, 41, "_f"); + this[_iterable$] = _iterable; + this[_f$] = _f; + MappedIterable.__proto__.new.call(this); + ; + }).prototype = MappedIterable.prototype; + dart.addTypeTests(MappedIterable); + MappedIterable.prototype[_is_MappedIterable_default] = true; + dart.addTypeCaches(MappedIterable); + dart.setGetterSignature(MappedIterable, () => ({ + __proto__: dart.getGetters(MappedIterable.__proto__), + iterator: core.Iterator$(T), + [$iterator]: core.Iterator$(T) + })); + dart.setLibraryUri(MappedIterable, I[25]); + dart.setFieldSignature(MappedIterable, () => ({ + __proto__: dart.getFields(MappedIterable.__proto__), + [_iterable$]: dart.finalFieldType(core.Iterable$(S)), + [_f$]: dart.finalFieldType(dart.fnType(T, [S])) + })); + dart.defineExtensionMethods(MappedIterable, ['elementAt']); + dart.defineExtensionAccessors(MappedIterable, [ + 'iterator', + 'length', + 'isEmpty', + 'first', + 'last', + 'single' + ]); + return MappedIterable; +}); +_internal.MappedIterable = _internal.MappedIterable$(); +dart.addTypeTests(_internal.MappedIterable, _is_MappedIterable_default); +const _is_EfficientLengthMappedIterable_default = Symbol('_is_EfficientLengthMappedIterable_default'); +_internal.EfficientLengthMappedIterable$ = dart.generic((S, T) => { + class EfficientLengthMappedIterable extends _internal.MappedIterable$(S, T) {} + (EfficientLengthMappedIterable.new = function(iterable, $function) { + if (iterable == null) dart.nullFailed(I[37], 377, 45, "iterable"); + if ($function == null) dart.nullFailed(I[37], 377, 57, "function"); + EfficientLengthMappedIterable.__proto__.__.call(this, iterable, $function); + ; + }).prototype = EfficientLengthMappedIterable.prototype; + dart.addTypeTests(EfficientLengthMappedIterable); + EfficientLengthMappedIterable.prototype[_is_EfficientLengthMappedIterable_default] = true; + dart.addTypeCaches(EfficientLengthMappedIterable); + EfficientLengthMappedIterable[dart.implements] = () => [_internal.EfficientLengthIterable$(T)]; + dart.setLibraryUri(EfficientLengthMappedIterable, I[25]); + return EfficientLengthMappedIterable; +}); +_internal.EfficientLengthMappedIterable = _internal.EfficientLengthMappedIterable$(); +dart.addTypeTests(_internal.EfficientLengthMappedIterable, _is_EfficientLengthMappedIterable_default); +var _iterator$ = dart.privateName(_internal, "_iterator"); +const _is_Iterator_default = Symbol('_is_Iterator_default'); +core.Iterator$ = dart.generic(E => { + class Iterator extends core.Object {} + (Iterator.new = function() { + ; + }).prototype = Iterator.prototype; + dart.addTypeTests(Iterator); + Iterator.prototype[_is_Iterator_default] = true; + dart.addTypeCaches(Iterator); + dart.setLibraryUri(Iterator, I[8]); + return Iterator; +}); +core.Iterator = core.Iterator$(); +dart.addTypeTests(core.Iterator, _is_Iterator_default); +const _is_MappedIterator_default = Symbol('_is_MappedIterator_default'); +_internal.MappedIterator$ = dart.generic((S, T) => { + class MappedIterator extends core.Iterator$(T) { + moveNext() { + let t82; + if (dart.test(this[_iterator$].moveNext())) { + this[_current$] = (t82 = this[_iterator$].current, this[_f$](t82)); + return true; + } + this[_current$] = null; + return false; + } + get current() { + return T.as(this[_current$]); + } + } + (MappedIterator.new = function(_iterator, _f) { + if (_iterator == null) dart.nullFailed(I[37], 386, 23, "_iterator"); + if (_f == null) dart.nullFailed(I[37], 386, 39, "_f"); + this[_current$] = null; + this[_iterator$] = _iterator; + this[_f$] = _f; + ; + }).prototype = MappedIterator.prototype; + dart.addTypeTests(MappedIterator); + MappedIterator.prototype[_is_MappedIterator_default] = true; + dart.addTypeCaches(MappedIterator); + dart.setMethodSignature(MappedIterator, () => ({ + __proto__: dart.getMethods(MappedIterator.__proto__), + moveNext: dart.fnType(core.bool, []) + })); + dart.setGetterSignature(MappedIterator, () => ({ + __proto__: dart.getGetters(MappedIterator.__proto__), + current: T + })); + dart.setLibraryUri(MappedIterator, I[25]); + dart.setFieldSignature(MappedIterator, () => ({ + __proto__: dart.getFields(MappedIterator.__proto__), + [_current$]: dart.fieldType(dart.nullable(T)), + [_iterator$]: dart.finalFieldType(core.Iterator$(S)), + [_f$]: dart.finalFieldType(dart.fnType(T, [S])) + })); + return MappedIterator; +}); +_internal.MappedIterator = _internal.MappedIterator$(); +dart.addTypeTests(_internal.MappedIterator, _is_MappedIterator_default); +const _is_MappedListIterable_default = Symbol('_is_MappedListIterable_default'); +_internal.MappedListIterable$ = dart.generic((S, T) => { + class MappedListIterable extends _internal.ListIterable$(T) { + get length() { + return this[_source$][$length]; + } + elementAt(index) { + let t82; + if (index == null) dart.nullFailed(I[37], 412, 19, "index"); + t82 = this[_source$][$elementAt](index); + return this[_f$](t82); + } + } + (MappedListIterable.new = function(_source, _f) { + if (_source == null) dart.nullFailed(I[37], 409, 27, "_source"); + if (_f == null) dart.nullFailed(I[37], 409, 41, "_f"); + this[_source$] = _source; + this[_f$] = _f; + MappedListIterable.__proto__.new.call(this); + ; + }).prototype = MappedListIterable.prototype; + dart.addTypeTests(MappedListIterable); + MappedListIterable.prototype[_is_MappedListIterable_default] = true; + dart.addTypeCaches(MappedListIterable); + dart.setLibraryUri(MappedListIterable, I[25]); + dart.setFieldSignature(MappedListIterable, () => ({ + __proto__: dart.getFields(MappedListIterable.__proto__), + [_source$]: dart.finalFieldType(core.Iterable$(S)), + [_f$]: dart.finalFieldType(dart.fnType(T, [S])) + })); + dart.defineExtensionMethods(MappedListIterable, ['elementAt']); + dart.defineExtensionAccessors(MappedListIterable, ['length']); + return MappedListIterable; +}); +_internal.MappedListIterable = _internal.MappedListIterable$(); +dart.addTypeTests(_internal.MappedListIterable, _is_MappedListIterable_default); +const _is_WhereIterable_default = Symbol('_is_WhereIterable_default'); +_internal.WhereIterable$ = dart.generic(E => { + var WhereIteratorOfE = () => (WhereIteratorOfE = dart.constFn(_internal.WhereIterator$(E)))(); + class WhereIterable extends core.Iterable$(E) { + get iterator() { + return new (WhereIteratorOfE()).new(this[_iterable$][$iterator], this[_f$]); + } + map(T, f) { + if (f == null) dart.nullFailed(I[37], 426, 24, "f"); + return new (_internal.MappedIterable$(E, T)).__(this, f); + } + } + (WhereIterable.new = function(_iterable, _f) { + if (_iterable == null) dart.nullFailed(I[37], 421, 22, "_iterable"); + if (_f == null) dart.nullFailed(I[37], 421, 38, "_f"); + this[_iterable$] = _iterable; + this[_f$] = _f; + WhereIterable.__proto__.new.call(this); + ; + }).prototype = WhereIterable.prototype; + dart.addTypeTests(WhereIterable); + WhereIterable.prototype[_is_WhereIterable_default] = true; + dart.addTypeCaches(WhereIterable); + dart.setMethodSignature(WhereIterable, () => ({ + __proto__: dart.getMethods(WhereIterable.__proto__), + map: dart.gFnType(T => [core.Iterable$(T), [dart.fnType(T, [E])]], T => [dart.nullable(core.Object)]), + [$map]: dart.gFnType(T => [core.Iterable$(T), [dart.fnType(T, [E])]], T => [dart.nullable(core.Object)]) + })); + dart.setGetterSignature(WhereIterable, () => ({ + __proto__: dart.getGetters(WhereIterable.__proto__), + iterator: core.Iterator$(E), + [$iterator]: core.Iterator$(E) + })); + dart.setLibraryUri(WhereIterable, I[25]); + dart.setFieldSignature(WhereIterable, () => ({ + __proto__: dart.getFields(WhereIterable.__proto__), + [_iterable$]: dart.finalFieldType(core.Iterable$(E)), + [_f$]: dart.finalFieldType(dart.fnType(core.bool, [E])) + })); + dart.defineExtensionMethods(WhereIterable, ['map']); + dart.defineExtensionAccessors(WhereIterable, ['iterator']); + return WhereIterable; +}); +_internal.WhereIterable = _internal.WhereIterable$(); +dart.addTypeTests(_internal.WhereIterable, _is_WhereIterable_default); +const _is_WhereIterator_default = Symbol('_is_WhereIterator_default'); +_internal.WhereIterator$ = dart.generic(E => { + class WhereIterator extends core.Iterator$(E) { + moveNext() { + let t82; + while (dart.test(this[_iterator$].moveNext())) { + if (dart.test((t82 = this[_iterator$].current, this[_f$](t82)))) { + return true; + } + } + return false; + } + get current() { + return this[_iterator$].current; + } + } + (WhereIterator.new = function(_iterator, _f) { + if (_iterator == null) dart.nullFailed(I[37], 433, 22, "_iterator"); + if (_f == null) dart.nullFailed(I[37], 433, 38, "_f"); + this[_iterator$] = _iterator; + this[_f$] = _f; + ; + }).prototype = WhereIterator.prototype; + dart.addTypeTests(WhereIterator); + WhereIterator.prototype[_is_WhereIterator_default] = true; + dart.addTypeCaches(WhereIterator); + dart.setMethodSignature(WhereIterator, () => ({ + __proto__: dart.getMethods(WhereIterator.__proto__), + moveNext: dart.fnType(core.bool, []) + })); + dart.setGetterSignature(WhereIterator, () => ({ + __proto__: dart.getGetters(WhereIterator.__proto__), + current: E + })); + dart.setLibraryUri(WhereIterator, I[25]); + dart.setFieldSignature(WhereIterator, () => ({ + __proto__: dart.getFields(WhereIterator.__proto__), + [_iterator$]: dart.finalFieldType(core.Iterator$(E)), + [_f$]: dart.finalFieldType(dart.fnType(core.bool, [E])) + })); + return WhereIterator; +}); +_internal.WhereIterator = _internal.WhereIterator$(); +dart.addTypeTests(_internal.WhereIterator, _is_WhereIterator_default); +const _is_ExpandIterable_default = Symbol('_is_ExpandIterable_default'); +_internal.ExpandIterable$ = dart.generic((S, T) => { + var ExpandIteratorOfS$T = () => (ExpandIteratorOfS$T = dart.constFn(_internal.ExpandIterator$(S, T)))(); + class ExpandIterable extends core.Iterable$(T) { + get iterator() { + return new (ExpandIteratorOfS$T()).new(this[_iterable$][$iterator], this[_f$]); + } + } + (ExpandIterable.new = function(_iterable, _f) { + if (_iterable == null) dart.nullFailed(I[37], 453, 23, "_iterable"); + if (_f == null) dart.nullFailed(I[37], 453, 39, "_f"); + this[_iterable$] = _iterable; + this[_f$] = _f; + ExpandIterable.__proto__.new.call(this); + ; + }).prototype = ExpandIterable.prototype; + dart.addTypeTests(ExpandIterable); + ExpandIterable.prototype[_is_ExpandIterable_default] = true; + dart.addTypeCaches(ExpandIterable); + dart.setGetterSignature(ExpandIterable, () => ({ + __proto__: dart.getGetters(ExpandIterable.__proto__), + iterator: core.Iterator$(T), + [$iterator]: core.Iterator$(T) + })); + dart.setLibraryUri(ExpandIterable, I[25]); + dart.setFieldSignature(ExpandIterable, () => ({ + __proto__: dart.getFields(ExpandIterable.__proto__), + [_iterable$]: dart.finalFieldType(core.Iterable$(S)), + [_f$]: dart.finalFieldType(dart.fnType(core.Iterable$(T), [S])) + })); + dart.defineExtensionAccessors(ExpandIterable, ['iterator']); + return ExpandIterable; +}); +_internal.ExpandIterable = _internal.ExpandIterable$(); +dart.addTypeTests(_internal.ExpandIterable, _is_ExpandIterable_default); +var _currentExpansion = dart.privateName(_internal, "_currentExpansion"); +const _is_ExpandIterator_default = Symbol('_is_ExpandIterator_default'); +_internal.ExpandIterator$ = dart.generic((S, T) => { + class ExpandIterator extends core.Object { + get current() { + return T.as(this[_current$]); + } + moveNext() { + let t82; + if (this[_currentExpansion] == null) return false; + while (!dart.test(dart.nullCheck(this[_currentExpansion]).moveNext())) { + this[_current$] = null; + if (dart.test(this[_iterator$].moveNext())) { + this[_currentExpansion] = null; + this[_currentExpansion] = (t82 = this[_iterator$].current, this[_f$](t82))[$iterator]; + } else { + return false; + } + } + this[_current$] = dart.nullCheck(this[_currentExpansion]).current; + return true; + } + } + (ExpandIterator.new = function(_iterator, _f) { + if (_iterator == null) dart.nullFailed(I[37], 467, 23, "_iterator"); + if (_f == null) dart.nullFailed(I[37], 467, 39, "_f"); + this[_currentExpansion] = C[20] || CT.C20; + this[_current$] = null; + this[_iterator$] = _iterator; + this[_f$] = _f; + ; + }).prototype = ExpandIterator.prototype; + dart.addTypeTests(ExpandIterator); + ExpandIterator.prototype[_is_ExpandIterator_default] = true; + dart.addTypeCaches(ExpandIterator); + ExpandIterator[dart.implements] = () => [core.Iterator$(T)]; + dart.setMethodSignature(ExpandIterator, () => ({ + __proto__: dart.getMethods(ExpandIterator.__proto__), + moveNext: dart.fnType(core.bool, []) + })); + dart.setGetterSignature(ExpandIterator, () => ({ + __proto__: dart.getGetters(ExpandIterator.__proto__), + current: T + })); + dart.setLibraryUri(ExpandIterator, I[25]); + dart.setFieldSignature(ExpandIterator, () => ({ + __proto__: dart.getFields(ExpandIterator.__proto__), + [_iterator$]: dart.finalFieldType(core.Iterator$(S)), + [_f$]: dart.finalFieldType(dart.fnType(core.Iterable$(T), [S])), + [_currentExpansion]: dart.fieldType(dart.nullable(core.Iterator$(T))), + [_current$]: dart.fieldType(dart.nullable(T)) + })); + return ExpandIterator; +}); +_internal.ExpandIterator = _internal.ExpandIterator$(); +dart.addTypeTests(_internal.ExpandIterator, _is_ExpandIterator_default); +var _takeCount$ = dart.privateName(_internal, "_takeCount"); +const _is_TakeIterable_default = Symbol('_is_TakeIterable_default'); +_internal.TakeIterable$ = dart.generic(E => { + var TakeIteratorOfE = () => (TakeIteratorOfE = dart.constFn(_internal.TakeIterator$(E)))(); + class TakeIterable extends core.Iterable$(E) { + static new(iterable, takeCount) { + if (iterable == null) dart.nullFailed(I[37], 493, 36, "iterable"); + if (takeCount == null) dart.nullFailed(I[37], 493, 50, "takeCount"); + core.ArgumentError.checkNotNull(core.int, takeCount, "takeCount"); + core.RangeError.checkNotNegative(takeCount, "takeCount"); + if (_internal.EfficientLengthIterable.is(iterable)) { + return new (_internal.EfficientLengthTakeIterable$(E)).new(iterable, takeCount); + } + return new (_internal.TakeIterable$(E)).__(iterable, takeCount); + } + get iterator() { + return new (TakeIteratorOfE()).new(this[_iterable$][$iterator], this[_takeCount$]); + } + } + (TakeIterable.__ = function(_iterable, _takeCount) { + if (_iterable == null) dart.nullFailed(I[37], 502, 23, "_iterable"); + if (_takeCount == null) dart.nullFailed(I[37], 502, 39, "_takeCount"); + this[_iterable$] = _iterable; + this[_takeCount$] = _takeCount; + TakeIterable.__proto__.new.call(this); + ; + }).prototype = TakeIterable.prototype; + dart.addTypeTests(TakeIterable); + TakeIterable.prototype[_is_TakeIterable_default] = true; + dart.addTypeCaches(TakeIterable); + dart.setGetterSignature(TakeIterable, () => ({ + __proto__: dart.getGetters(TakeIterable.__proto__), + iterator: core.Iterator$(E), + [$iterator]: core.Iterator$(E) + })); + dart.setLibraryUri(TakeIterable, I[25]); + dart.setFieldSignature(TakeIterable, () => ({ + __proto__: dart.getFields(TakeIterable.__proto__), + [_iterable$]: dart.finalFieldType(core.Iterable$(E)), + [_takeCount$]: dart.finalFieldType(core.int) + })); + dart.defineExtensionAccessors(TakeIterable, ['iterator']); + return TakeIterable; +}); +_internal.TakeIterable = _internal.TakeIterable$(); +dart.addTypeTests(_internal.TakeIterable, _is_TakeIterable_default); +const _is_EfficientLengthTakeIterable_default = Symbol('_is_EfficientLengthTakeIterable_default'); +_internal.EfficientLengthTakeIterable$ = dart.generic(E => { + class EfficientLengthTakeIterable extends _internal.TakeIterable$(E) { + get length() { + let iterableLength = this[_iterable$][$length]; + if (dart.notNull(iterableLength) > dart.notNull(this[_takeCount$])) return this[_takeCount$]; + return iterableLength; + } + } + (EfficientLengthTakeIterable.new = function(iterable, takeCount) { + if (iterable == null) dart.nullFailed(I[37], 511, 43, "iterable"); + if (takeCount == null) dart.nullFailed(I[37], 511, 57, "takeCount"); + EfficientLengthTakeIterable.__proto__.__.call(this, iterable, takeCount); + ; + }).prototype = EfficientLengthTakeIterable.prototype; + dart.addTypeTests(EfficientLengthTakeIterable); + EfficientLengthTakeIterable.prototype[_is_EfficientLengthTakeIterable_default] = true; + dart.addTypeCaches(EfficientLengthTakeIterable); + EfficientLengthTakeIterable[dart.implements] = () => [_internal.EfficientLengthIterable$(E)]; + dart.setLibraryUri(EfficientLengthTakeIterable, I[25]); + dart.defineExtensionAccessors(EfficientLengthTakeIterable, ['length']); + return EfficientLengthTakeIterable; +}); +_internal.EfficientLengthTakeIterable = _internal.EfficientLengthTakeIterable$(); +dart.addTypeTests(_internal.EfficientLengthTakeIterable, _is_EfficientLengthTakeIterable_default); +var _remaining$ = dart.privateName(_internal, "_remaining"); +const _is_TakeIterator_default = Symbol('_is_TakeIterator_default'); +_internal.TakeIterator$ = dart.generic(E => { + class TakeIterator extends core.Iterator$(E) { + moveNext() { + this[_remaining$] = dart.notNull(this[_remaining$]) - 1; + if (dart.notNull(this[_remaining$]) >= 0) { + return this[_iterator$].moveNext(); + } + this[_remaining$] = -1; + return false; + } + get current() { + if (dart.notNull(this[_remaining$]) < 0) return E.as(null); + return this[_iterator$].current; + } + } + (TakeIterator.new = function(_iterator, _remaining) { + if (_iterator == null) dart.nullFailed(I[37], 525, 21, "_iterator"); + if (_remaining == null) dart.nullFailed(I[37], 525, 37, "_remaining"); + this[_iterator$] = _iterator; + this[_remaining$] = _remaining; + if (!(dart.notNull(this[_remaining$]) >= 0)) dart.assertFailed(null, I[37], 526, 12, "_remaining >= 0"); + }).prototype = TakeIterator.prototype; + dart.addTypeTests(TakeIterator); + TakeIterator.prototype[_is_TakeIterator_default] = true; + dart.addTypeCaches(TakeIterator); + dart.setMethodSignature(TakeIterator, () => ({ + __proto__: dart.getMethods(TakeIterator.__proto__), + moveNext: dart.fnType(core.bool, []) + })); + dart.setGetterSignature(TakeIterator, () => ({ + __proto__: dart.getGetters(TakeIterator.__proto__), + current: E + })); + dart.setLibraryUri(TakeIterator, I[25]); + dart.setFieldSignature(TakeIterator, () => ({ + __proto__: dart.getFields(TakeIterator.__proto__), + [_iterator$]: dart.finalFieldType(core.Iterator$(E)), + [_remaining$]: dart.fieldType(core.int) + })); + return TakeIterator; +}); +_internal.TakeIterator = _internal.TakeIterator$(); +dart.addTypeTests(_internal.TakeIterator, _is_TakeIterator_default); +const _is_TakeWhileIterable_default = Symbol('_is_TakeWhileIterable_default'); +_internal.TakeWhileIterable$ = dart.generic(E => { + var TakeWhileIteratorOfE = () => (TakeWhileIteratorOfE = dart.constFn(_internal.TakeWhileIterator$(E)))(); + class TakeWhileIterable extends core.Iterable$(E) { + get iterator() { + return new (TakeWhileIteratorOfE()).new(this[_iterable$][$iterator], this[_f$]); + } + } + (TakeWhileIterable.new = function(_iterable, _f) { + if (_iterable == null) dart.nullFailed(I[37], 552, 26, "_iterable"); + if (_f == null) dart.nullFailed(I[37], 552, 42, "_f"); + this[_iterable$] = _iterable; + this[_f$] = _f; + TakeWhileIterable.__proto__.new.call(this); + ; + }).prototype = TakeWhileIterable.prototype; + dart.addTypeTests(TakeWhileIterable); + TakeWhileIterable.prototype[_is_TakeWhileIterable_default] = true; + dart.addTypeCaches(TakeWhileIterable); + dart.setGetterSignature(TakeWhileIterable, () => ({ + __proto__: dart.getGetters(TakeWhileIterable.__proto__), + iterator: core.Iterator$(E), + [$iterator]: core.Iterator$(E) + })); + dart.setLibraryUri(TakeWhileIterable, I[25]); + dart.setFieldSignature(TakeWhileIterable, () => ({ + __proto__: dart.getFields(TakeWhileIterable.__proto__), + [_iterable$]: dart.finalFieldType(core.Iterable$(E)), + [_f$]: dart.finalFieldType(dart.fnType(core.bool, [E])) + })); + dart.defineExtensionAccessors(TakeWhileIterable, ['iterator']); + return TakeWhileIterable; +}); +_internal.TakeWhileIterable = _internal.TakeWhileIterable$(); +dart.addTypeTests(_internal.TakeWhileIterable, _is_TakeWhileIterable_default); +var _isFinished = dart.privateName(_internal, "_isFinished"); +const _is_TakeWhileIterator_default = Symbol('_is_TakeWhileIterator_default'); +_internal.TakeWhileIterator$ = dart.generic(E => { + class TakeWhileIterator extends core.Iterator$(E) { + moveNext() { + let t82; + if (dart.test(this[_isFinished])) return false; + if (!dart.test(this[_iterator$].moveNext()) || !dart.test((t82 = this[_iterator$].current, this[_f$](t82)))) { + this[_isFinished] = true; + return false; + } + return true; + } + get current() { + if (dart.test(this[_isFinished])) return E.as(null); + return this[_iterator$].current; + } + } + (TakeWhileIterator.new = function(_iterator, _f) { + if (_iterator == null) dart.nullFailed(I[37], 564, 26, "_iterator"); + if (_f == null) dart.nullFailed(I[37], 564, 42, "_f"); + this[_isFinished] = false; + this[_iterator$] = _iterator; + this[_f$] = _f; + ; + }).prototype = TakeWhileIterator.prototype; + dart.addTypeTests(TakeWhileIterator); + TakeWhileIterator.prototype[_is_TakeWhileIterator_default] = true; + dart.addTypeCaches(TakeWhileIterator); + dart.setMethodSignature(TakeWhileIterator, () => ({ + __proto__: dart.getMethods(TakeWhileIterator.__proto__), + moveNext: dart.fnType(core.bool, []) + })); + dart.setGetterSignature(TakeWhileIterator, () => ({ + __proto__: dart.getGetters(TakeWhileIterator.__proto__), + current: E + })); + dart.setLibraryUri(TakeWhileIterator, I[25]); + dart.setFieldSignature(TakeWhileIterator, () => ({ + __proto__: dart.getFields(TakeWhileIterator.__proto__), + [_iterator$]: dart.finalFieldType(core.Iterator$(E)), + [_f$]: dart.finalFieldType(dart.fnType(core.bool, [E])), + [_isFinished]: dart.fieldType(core.bool) + })); + return TakeWhileIterator; +}); +_internal.TakeWhileIterator = _internal.TakeWhileIterator$(); +dart.addTypeTests(_internal.TakeWhileIterator, _is_TakeWhileIterator_default); +var _skipCount$ = dart.privateName(_internal, "_skipCount"); +const _is_SkipIterable_default = Symbol('_is_SkipIterable_default'); +_internal.SkipIterable$ = dart.generic(E => { + var SkipIterableOfE = () => (SkipIterableOfE = dart.constFn(_internal.SkipIterable$(E)))(); + var SkipIteratorOfE = () => (SkipIteratorOfE = dart.constFn(_internal.SkipIterator$(E)))(); + class SkipIterable extends core.Iterable$(E) { + static new(iterable, count) { + if (iterable == null) dart.nullFailed(I[37], 585, 36, "iterable"); + if (count == null) dart.nullFailed(I[37], 585, 50, "count"); + if (_internal.EfficientLengthIterable.is(iterable)) { + return _internal.EfficientLengthSkipIterable$(E).new(iterable, count); + } + return new (_internal.SkipIterable$(E)).__(iterable, _internal._checkCount(count)); + } + skip(count) { + if (count == null) dart.nullFailed(I[37], 594, 24, "count"); + return new (SkipIterableOfE()).__(this[_iterable$], dart.notNull(this[_skipCount$]) + dart.notNull(_internal._checkCount(count))); + } + get iterator() { + return new (SkipIteratorOfE()).new(this[_iterable$][$iterator], this[_skipCount$]); + } + } + (SkipIterable.__ = function(_iterable, _skipCount) { + if (_iterable == null) dart.nullFailed(I[37], 592, 23, "_iterable"); + if (_skipCount == null) dart.nullFailed(I[37], 592, 39, "_skipCount"); + this[_iterable$] = _iterable; + this[_skipCount$] = _skipCount; + SkipIterable.__proto__.new.call(this); + ; + }).prototype = SkipIterable.prototype; + dart.addTypeTests(SkipIterable); + SkipIterable.prototype[_is_SkipIterable_default] = true; + dart.addTypeCaches(SkipIterable); + dart.setGetterSignature(SkipIterable, () => ({ + __proto__: dart.getGetters(SkipIterable.__proto__), + iterator: core.Iterator$(E), + [$iterator]: core.Iterator$(E) + })); + dart.setLibraryUri(SkipIterable, I[25]); + dart.setFieldSignature(SkipIterable, () => ({ + __proto__: dart.getFields(SkipIterable.__proto__), + [_iterable$]: dart.finalFieldType(core.Iterable$(E)), + [_skipCount$]: dart.finalFieldType(core.int) + })); + dart.defineExtensionMethods(SkipIterable, ['skip']); + dart.defineExtensionAccessors(SkipIterable, ['iterator']); + return SkipIterable; +}); +_internal.SkipIterable = _internal.SkipIterable$(); +dart.addTypeTests(_internal.SkipIterable, _is_SkipIterable_default); +const _is_EfficientLengthSkipIterable_default = Symbol('_is_EfficientLengthSkipIterable_default'); +_internal.EfficientLengthSkipIterable$ = dart.generic(E => { + var EfficientLengthSkipIterableOfE = () => (EfficientLengthSkipIterableOfE = dart.constFn(_internal.EfficientLengthSkipIterable$(E)))(); + class EfficientLengthSkipIterable extends _internal.SkipIterable$(E) { + static new(iterable, count) { + if (iterable == null) dart.nullFailed(I[37], 605, 51, "iterable"); + if (count == null) dart.nullFailed(I[37], 605, 65, "count"); + return new (_internal.EfficientLengthSkipIterable$(E)).__(iterable, _internal._checkCount(count)); + } + get length() { + let length = dart.notNull(this[_iterable$][$length]) - dart.notNull(this[_skipCount$]); + if (length >= 0) return length; + return 0; + } + skip(count) { + if (count == null) dart.nullFailed(I[37], 618, 24, "count"); + return new (EfficientLengthSkipIterableOfE()).__(this[_iterable$], dart.notNull(this[_skipCount$]) + dart.notNull(_internal._checkCount(count))); + } + } + (EfficientLengthSkipIterable.__ = function(iterable, count) { + if (iterable == null) dart.nullFailed(I[37], 609, 45, "iterable"); + if (count == null) dart.nullFailed(I[37], 609, 59, "count"); + EfficientLengthSkipIterable.__proto__.__.call(this, iterable, count); + ; + }).prototype = EfficientLengthSkipIterable.prototype; + dart.addTypeTests(EfficientLengthSkipIterable); + EfficientLengthSkipIterable.prototype[_is_EfficientLengthSkipIterable_default] = true; + dart.addTypeCaches(EfficientLengthSkipIterable); + EfficientLengthSkipIterable[dart.implements] = () => [_internal.EfficientLengthIterable$(E)]; + dart.setLibraryUri(EfficientLengthSkipIterable, I[25]); + dart.defineExtensionMethods(EfficientLengthSkipIterable, ['skip']); + dart.defineExtensionAccessors(EfficientLengthSkipIterable, ['length']); + return EfficientLengthSkipIterable; +}); +_internal.EfficientLengthSkipIterable = _internal.EfficientLengthSkipIterable$(); +dart.addTypeTests(_internal.EfficientLengthSkipIterable, _is_EfficientLengthSkipIterable_default); +const _is_SkipIterator_default = Symbol('_is_SkipIterator_default'); +_internal.SkipIterator$ = dart.generic(E => { + class SkipIterator extends core.Iterator$(E) { + moveNext() { + for (let i = 0; i < dart.notNull(this[_skipCount$]); i = i + 1) + this[_iterator$].moveNext(); + this[_skipCount$] = 0; + return this[_iterator$].moveNext(); + } + get current() { + return this[_iterator$].current; + } + } + (SkipIterator.new = function(_iterator, _skipCount) { + if (_iterator == null) dart.nullFailed(I[37], 634, 21, "_iterator"); + if (_skipCount == null) dart.nullFailed(I[37], 634, 37, "_skipCount"); + this[_iterator$] = _iterator; + this[_skipCount$] = _skipCount; + if (!(dart.notNull(this[_skipCount$]) >= 0)) dart.assertFailed(null, I[37], 635, 12, "_skipCount >= 0"); + }).prototype = SkipIterator.prototype; + dart.addTypeTests(SkipIterator); + SkipIterator.prototype[_is_SkipIterator_default] = true; + dart.addTypeCaches(SkipIterator); + dart.setMethodSignature(SkipIterator, () => ({ + __proto__: dart.getMethods(SkipIterator.__proto__), + moveNext: dart.fnType(core.bool, []) + })); + dart.setGetterSignature(SkipIterator, () => ({ + __proto__: dart.getGetters(SkipIterator.__proto__), + current: E + })); + dart.setLibraryUri(SkipIterator, I[25]); + dart.setFieldSignature(SkipIterator, () => ({ + __proto__: dart.getFields(SkipIterator.__proto__), + [_iterator$]: dart.finalFieldType(core.Iterator$(E)), + [_skipCount$]: dart.fieldType(core.int) + })); + return SkipIterator; +}); +_internal.SkipIterator = _internal.SkipIterator$(); +dart.addTypeTests(_internal.SkipIterator, _is_SkipIterator_default); +const _is_SkipWhileIterable_default = Symbol('_is_SkipWhileIterable_default'); +_internal.SkipWhileIterable$ = dart.generic(E => { + var SkipWhileIteratorOfE = () => (SkipWhileIteratorOfE = dart.constFn(_internal.SkipWhileIterator$(E)))(); + class SkipWhileIterable extends core.Iterable$(E) { + get iterator() { + return new (SkipWhileIteratorOfE()).new(this[_iterable$][$iterator], this[_f$]); + } + } + (SkipWhileIterable.new = function(_iterable, _f) { + if (_iterable == null) dart.nullFailed(I[37], 651, 26, "_iterable"); + if (_f == null) dart.nullFailed(I[37], 651, 42, "_f"); + this[_iterable$] = _iterable; + this[_f$] = _f; + SkipWhileIterable.__proto__.new.call(this); + ; + }).prototype = SkipWhileIterable.prototype; + dart.addTypeTests(SkipWhileIterable); + SkipWhileIterable.prototype[_is_SkipWhileIterable_default] = true; + dart.addTypeCaches(SkipWhileIterable); + dart.setGetterSignature(SkipWhileIterable, () => ({ + __proto__: dart.getGetters(SkipWhileIterable.__proto__), + iterator: core.Iterator$(E), + [$iterator]: core.Iterator$(E) + })); + dart.setLibraryUri(SkipWhileIterable, I[25]); + dart.setFieldSignature(SkipWhileIterable, () => ({ + __proto__: dart.getFields(SkipWhileIterable.__proto__), + [_iterable$]: dart.finalFieldType(core.Iterable$(E)), + [_f$]: dart.finalFieldType(dart.fnType(core.bool, [E])) + })); + dart.defineExtensionAccessors(SkipWhileIterable, ['iterator']); + return SkipWhileIterable; +}); +_internal.SkipWhileIterable = _internal.SkipWhileIterable$(); +dart.addTypeTests(_internal.SkipWhileIterable, _is_SkipWhileIterable_default); +var _hasSkipped = dart.privateName(_internal, "_hasSkipped"); +const _is_SkipWhileIterator_default = Symbol('_is_SkipWhileIterator_default'); +_internal.SkipWhileIterator$ = dart.generic(E => { + class SkipWhileIterator extends core.Iterator$(E) { + moveNext() { + let t82; + if (!dart.test(this[_hasSkipped])) { + this[_hasSkipped] = true; + while (dart.test(this[_iterator$].moveNext())) { + if (!dart.test((t82 = this[_iterator$].current, this[_f$](t82)))) return true; + } + } + return this[_iterator$].moveNext(); + } + get current() { + return this[_iterator$].current; + } + } + (SkipWhileIterator.new = function(_iterator, _f) { + if (_iterator == null) dart.nullFailed(I[37], 663, 26, "_iterator"); + if (_f == null) dart.nullFailed(I[37], 663, 42, "_f"); + this[_hasSkipped] = false; + this[_iterator$] = _iterator; + this[_f$] = _f; + ; + }).prototype = SkipWhileIterator.prototype; + dart.addTypeTests(SkipWhileIterator); + SkipWhileIterator.prototype[_is_SkipWhileIterator_default] = true; + dart.addTypeCaches(SkipWhileIterator); + dart.setMethodSignature(SkipWhileIterator, () => ({ + __proto__: dart.getMethods(SkipWhileIterator.__proto__), + moveNext: dart.fnType(core.bool, []) + })); + dart.setGetterSignature(SkipWhileIterator, () => ({ + __proto__: dart.getGetters(SkipWhileIterator.__proto__), + current: E + })); + dart.setLibraryUri(SkipWhileIterator, I[25]); + dart.setFieldSignature(SkipWhileIterator, () => ({ + __proto__: dart.getFields(SkipWhileIterator.__proto__), + [_iterator$]: dart.finalFieldType(core.Iterator$(E)), + [_f$]: dart.finalFieldType(dart.fnType(core.bool, [E])), + [_hasSkipped]: dart.fieldType(core.bool) + })); + return SkipWhileIterator; +}); +_internal.SkipWhileIterator = _internal.SkipWhileIterator$(); +dart.addTypeTests(_internal.SkipWhileIterator, _is_SkipWhileIterator_default); +const _is_EmptyIterable_default = Symbol('_is_EmptyIterable_default'); +_internal.EmptyIterable$ = dart.generic(E => { + var VoidToE = () => (VoidToE = dart.constFn(dart.fnType(E, [])))(); + var VoidToNE = () => (VoidToNE = dart.constFn(dart.nullable(VoidToE())))(); + var EAndEToE = () => (EAndEToE = dart.constFn(dart.fnType(E, [E, E])))(); + var ListOfE = () => (ListOfE = dart.constFn(core.List$(E)))(); + var _HashSetOfE = () => (_HashSetOfE = dart.constFn(collection._HashSet$(E)))(); + class EmptyIterable extends _internal.EfficientLengthIterable$(E) { + get iterator() { + return C[20] || CT.C20; + } + forEach(action) { + if (action == null) dart.nullFailed(I[37], 686, 21, "action"); + } + get isEmpty() { + return true; + } + get length() { + return 0; + } + get first() { + dart.throw(_internal.IterableElementError.noElement()); + } + get last() { + dart.throw(_internal.IterableElementError.noElement()); + } + get single() { + dart.throw(_internal.IterableElementError.noElement()); + } + elementAt(index) { + if (index == null) dart.nullFailed(I[37], 704, 19, "index"); + dart.throw(new core.RangeError.range(index, 0, 0, "index")); + } + contains(element) { + return false; + } + every(test) { + if (test == null) dart.nullFailed(I[37], 710, 19, "test"); + return true; + } + any(test) { + if (test == null) dart.nullFailed(I[37], 712, 17, "test"); + return false; + } + firstWhere(test, opts) { + if (test == null) dart.nullFailed(I[37], 714, 21, "test"); + let orElse = opts && 'orElse' in opts ? opts.orElse : null; + VoidToNE().as(orElse); + if (orElse != null) return orElse(); + dart.throw(_internal.IterableElementError.noElement()); + } + lastWhere(test, opts) { + if (test == null) dart.nullFailed(I[37], 719, 20, "test"); + let orElse = opts && 'orElse' in opts ? opts.orElse : null; + VoidToNE().as(orElse); + if (orElse != null) return orElse(); + dart.throw(_internal.IterableElementError.noElement()); + } + singleWhere(test, opts) { + if (test == null) dart.nullFailed(I[37], 724, 22, "test"); + let orElse = opts && 'orElse' in opts ? opts.orElse : null; + VoidToNE().as(orElse); + if (orElse != null) return orElse(); + dart.throw(_internal.IterableElementError.noElement()); + } + join(separator = "") { + if (separator == null) dart.nullFailed(I[37], 729, 23, "separator"); + return ""; + } + where(test) { + if (test == null) dart.nullFailed(I[37], 731, 26, "test"); + return this; + } + map(T, f) { + if (f == null) dart.nullFailed(I[37], 733, 24, "f"); + return new (_internal.EmptyIterable$(T)).new(); + } + reduce(combine) { + EAndEToE().as(combine); + if (combine == null) dart.nullFailed(I[37], 735, 14, "combine"); + dart.throw(_internal.IterableElementError.noElement()); + } + fold(T, initialValue, combine) { + if (combine == null) dart.nullFailed(I[37], 739, 31, "combine"); + return initialValue; + } + skip(count) { + if (count == null) dart.nullFailed(I[37], 743, 24, "count"); + core.RangeError.checkNotNegative(count, "count"); + return this; + } + skipWhile(test) { + if (test == null) dart.nullFailed(I[37], 748, 30, "test"); + return this; + } + take(count) { + if (count == null) dart.nullFailed(I[37], 750, 24, "count"); + core.RangeError.checkNotNegative(count, "count"); + return this; + } + takeWhile(test) { + if (test == null) dart.nullFailed(I[37], 755, 30, "test"); + return this; + } + toList(opts) { + let growable = opts && 'growable' in opts ? opts.growable : true; + if (growable == null) dart.nullFailed(I[37], 757, 24, "growable"); + return ListOfE().empty({growable: growable}); + } + toSet() { + return new (_HashSetOfE()).new(); + } + } + (EmptyIterable.new = function() { + EmptyIterable.__proto__.new.call(this); + ; + }).prototype = EmptyIterable.prototype; + dart.addTypeTests(EmptyIterable); + EmptyIterable.prototype[_is_EmptyIterable_default] = true; + dart.addTypeCaches(EmptyIterable); + dart.setMethodSignature(EmptyIterable, () => ({ + __proto__: dart.getMethods(EmptyIterable.__proto__), + map: dart.gFnType(T => [core.Iterable$(T), [dart.fnType(T, [E])]], T => [dart.nullable(core.Object)]), + [$map]: dart.gFnType(T => [core.Iterable$(T), [dart.fnType(T, [E])]], T => [dart.nullable(core.Object)]), + fold: dart.gFnType(T => [T, [T, dart.fnType(T, [T, E])]], T => [dart.nullable(core.Object)]), + [$fold]: dart.gFnType(T => [T, [T, dart.fnType(T, [T, E])]], T => [dart.nullable(core.Object)]) + })); + dart.setGetterSignature(EmptyIterable, () => ({ + __proto__: dart.getGetters(EmptyIterable.__proto__), + iterator: core.Iterator$(E), + [$iterator]: core.Iterator$(E) + })); + dart.setLibraryUri(EmptyIterable, I[25]); + dart.defineExtensionMethods(EmptyIterable, [ + 'forEach', + 'elementAt', + 'contains', + 'every', + 'any', + 'firstWhere', + 'lastWhere', + 'singleWhere', + 'join', + 'where', + 'map', + 'reduce', + 'fold', + 'skip', + 'skipWhile', + 'take', + 'takeWhile', + 'toList', + 'toSet' + ]); + dart.defineExtensionAccessors(EmptyIterable, [ + 'iterator', + 'isEmpty', + 'length', + 'first', + 'last', + 'single' + ]); + return EmptyIterable; +}); +_internal.EmptyIterable = _internal.EmptyIterable$(); +dart.addTypeTests(_internal.EmptyIterable, _is_EmptyIterable_default); +const _is_EmptyIterator_default = Symbol('_is_EmptyIterator_default'); +_internal.EmptyIterator$ = dart.generic(E => { + class EmptyIterator extends core.Object { + moveNext() { + return false; + } + get current() { + dart.throw(_internal.IterableElementError.noElement()); + } + } + (EmptyIterator.new = function() { + ; + }).prototype = EmptyIterator.prototype; + dart.addTypeTests(EmptyIterator); + EmptyIterator.prototype[_is_EmptyIterator_default] = true; + dart.addTypeCaches(EmptyIterator); + EmptyIterator[dart.implements] = () => [core.Iterator$(E)]; + dart.setMethodSignature(EmptyIterator, () => ({ + __proto__: dart.getMethods(EmptyIterator.__proto__), + moveNext: dart.fnType(core.bool, []) + })); + dart.setGetterSignature(EmptyIterator, () => ({ + __proto__: dart.getGetters(EmptyIterator.__proto__), + current: E + })); + dart.setLibraryUri(EmptyIterator, I[25]); + return EmptyIterator; +}); +_internal.EmptyIterator = _internal.EmptyIterator$(); +dart.addTypeTests(_internal.EmptyIterator, _is_EmptyIterator_default); +var _first$ = dart.privateName(_internal, "_first"); +var _second$ = dart.privateName(_internal, "_second"); +const _is_FollowedByIterable_default = Symbol('_is_FollowedByIterable_default'); +_internal.FollowedByIterable$ = dart.generic(E => { + var FollowedByIteratorOfE = () => (FollowedByIteratorOfE = dart.constFn(_internal.FollowedByIterator$(E)))(); + class FollowedByIterable extends core.Iterable$(E) { + static firstEfficient(first, second) { + if (first == null) dart.nullFailed(I[37], 777, 34, "first"); + if (second == null) dart.nullFailed(I[37], 777, 53, "second"); + if (_internal.EfficientLengthIterable$(E).is(second)) { + return new (_internal.EfficientLengthFollowedByIterable$(E)).new(first, second); + } + return new (_internal.FollowedByIterable$(E)).new(first, second); + } + get iterator() { + return new (FollowedByIteratorOfE()).new(this[_first$], this[_second$]); + } + get length() { + return dart.notNull(this[_first$][$length]) + dart.notNull(this[_second$][$length]); + } + get isEmpty() { + return dart.test(this[_first$][$isEmpty]) && dart.test(this[_second$][$isEmpty]); + } + get isNotEmpty() { + return dart.test(this[_first$][$isNotEmpty]) || dart.test(this[_second$][$isNotEmpty]); + } + contains(value) { + return dart.test(this[_first$][$contains](value)) || dart.test(this[_second$][$contains](value)); + } + get first() { + let iterator = this[_first$][$iterator]; + if (dart.test(iterator.moveNext())) return iterator.current; + return this[_second$][$first]; + } + get last() { + let iterator = this[_second$][$iterator]; + if (dart.test(iterator.moveNext())) { + let last = iterator.current; + while (dart.test(iterator.moveNext())) + last = iterator.current; + return last; + } + return this[_first$][$last]; + } + } + (FollowedByIterable.new = function(_first, _second) { + if (_first == null) dart.nullFailed(I[37], 774, 27, "_first"); + if (_second == null) dart.nullFailed(I[37], 774, 40, "_second"); + this[_first$] = _first; + this[_second$] = _second; + FollowedByIterable.__proto__.new.call(this); + ; + }).prototype = FollowedByIterable.prototype; + dart.addTypeTests(FollowedByIterable); + FollowedByIterable.prototype[_is_FollowedByIterable_default] = true; + dart.addTypeCaches(FollowedByIterable); + dart.setGetterSignature(FollowedByIterable, () => ({ + __proto__: dart.getGetters(FollowedByIterable.__proto__), + iterator: core.Iterator$(E), + [$iterator]: core.Iterator$(E) + })); + dart.setLibraryUri(FollowedByIterable, I[25]); + dart.setFieldSignature(FollowedByIterable, () => ({ + __proto__: dart.getFields(FollowedByIterable.__proto__), + [_first$]: dart.finalFieldType(core.Iterable$(E)), + [_second$]: dart.finalFieldType(core.Iterable$(E)) + })); + dart.defineExtensionMethods(FollowedByIterable, ['contains']); + dart.defineExtensionAccessors(FollowedByIterable, [ + 'iterator', + 'length', + 'isEmpty', + 'isNotEmpty', + 'first', + 'last' + ]); + return FollowedByIterable; +}); +_internal.FollowedByIterable = _internal.FollowedByIterable$(); +dart.addTypeTests(_internal.FollowedByIterable, _is_FollowedByIterable_default); +const _is_EfficientLengthFollowedByIterable_default = Symbol('_is_EfficientLengthFollowedByIterable_default'); +_internal.EfficientLengthFollowedByIterable$ = dart.generic(E => { + class EfficientLengthFollowedByIterable extends _internal.FollowedByIterable$(E) { + elementAt(index) { + if (index == null) dart.nullFailed(I[37], 820, 19, "index"); + let firstLength = this[_first$][$length]; + if (dart.notNull(index) < dart.notNull(firstLength)) return this[_first$][$elementAt](index); + return this[_second$][$elementAt](dart.notNull(index) - dart.notNull(firstLength)); + } + get first() { + if (dart.test(this[_first$][$isNotEmpty])) return this[_first$][$first]; + return this[_second$][$first]; + } + get last() { + if (dart.test(this[_second$][$isNotEmpty])) return this[_second$][$last]; + return this[_first$][$last]; + } + } + (EfficientLengthFollowedByIterable.new = function(first, second) { + if (first == null) dart.nullFailed(I[37], 817, 34, "first"); + if (second == null) dart.nullFailed(I[37], 817, 68, "second"); + EfficientLengthFollowedByIterable.__proto__.new.call(this, first, second); + ; + }).prototype = EfficientLengthFollowedByIterable.prototype; + dart.addTypeTests(EfficientLengthFollowedByIterable); + EfficientLengthFollowedByIterable.prototype[_is_EfficientLengthFollowedByIterable_default] = true; + dart.addTypeCaches(EfficientLengthFollowedByIterable); + EfficientLengthFollowedByIterable[dart.implements] = () => [_internal.EfficientLengthIterable$(E)]; + dart.setLibraryUri(EfficientLengthFollowedByIterable, I[25]); + dart.defineExtensionMethods(EfficientLengthFollowedByIterable, ['elementAt']); + dart.defineExtensionAccessors(EfficientLengthFollowedByIterable, ['first', 'last']); + return EfficientLengthFollowedByIterable; +}); +_internal.EfficientLengthFollowedByIterable = _internal.EfficientLengthFollowedByIterable$(); +dart.addTypeTests(_internal.EfficientLengthFollowedByIterable, _is_EfficientLengthFollowedByIterable_default); +var _nextIterable$ = dart.privateName(_internal, "_nextIterable"); +var _currentIterator = dart.privateName(_internal, "_currentIterator"); +const _is_FollowedByIterator_default = Symbol('_is_FollowedByIterator_default'); +_internal.FollowedByIterator$ = dart.generic(E => { + class FollowedByIterator extends core.Object { + moveNext() { + if (dart.test(this[_currentIterator].moveNext())) return true; + if (this[_nextIterable$] != null) { + this[_currentIterator] = dart.nullCheck(this[_nextIterable$])[$iterator]; + this[_nextIterable$] = null; + return this[_currentIterator].moveNext(); + } + return false; + } + get current() { + return this[_currentIterator].current; + } + } + (FollowedByIterator.new = function(first, _nextIterable) { + if (first == null) dart.nullFailed(I[37], 841, 34, "first"); + this[_nextIterable$] = _nextIterable; + this[_currentIterator] = first[$iterator]; + ; + }).prototype = FollowedByIterator.prototype; + dart.addTypeTests(FollowedByIterator); + FollowedByIterator.prototype[_is_FollowedByIterator_default] = true; + dart.addTypeCaches(FollowedByIterator); + FollowedByIterator[dart.implements] = () => [core.Iterator$(E)]; + dart.setMethodSignature(FollowedByIterator, () => ({ + __proto__: dart.getMethods(FollowedByIterator.__proto__), + moveNext: dart.fnType(core.bool, []) + })); + dart.setGetterSignature(FollowedByIterator, () => ({ + __proto__: dart.getGetters(FollowedByIterator.__proto__), + current: E + })); + dart.setLibraryUri(FollowedByIterator, I[25]); + dart.setFieldSignature(FollowedByIterator, () => ({ + __proto__: dart.getFields(FollowedByIterator.__proto__), + [_currentIterator]: dart.fieldType(core.Iterator$(E)), + [_nextIterable$]: dart.fieldType(dart.nullable(core.Iterable$(E))) + })); + return FollowedByIterator; +}); +_internal.FollowedByIterator = _internal.FollowedByIterator$(); +dart.addTypeTests(_internal.FollowedByIterator, _is_FollowedByIterator_default); +const _is_WhereTypeIterable_default = Symbol('_is_WhereTypeIterable_default'); +_internal.WhereTypeIterable$ = dart.generic(T => { + var WhereTypeIteratorOfT = () => (WhereTypeIteratorOfT = dart.constFn(_internal.WhereTypeIterator$(T)))(); + class WhereTypeIterable extends core.Iterable$(T) { + get iterator() { + return new (WhereTypeIteratorOfT()).new(this[_source$][$iterator]); + } + } + (WhereTypeIterable.new = function(_source) { + if (_source == null) dart.nullFailed(I[37], 859, 26, "_source"); + this[_source$] = _source; + WhereTypeIterable.__proto__.new.call(this); + ; + }).prototype = WhereTypeIterable.prototype; + dart.addTypeTests(WhereTypeIterable); + WhereTypeIterable.prototype[_is_WhereTypeIterable_default] = true; + dart.addTypeCaches(WhereTypeIterable); + dart.setGetterSignature(WhereTypeIterable, () => ({ + __proto__: dart.getGetters(WhereTypeIterable.__proto__), + iterator: core.Iterator$(T), + [$iterator]: core.Iterator$(T) + })); + dart.setLibraryUri(WhereTypeIterable, I[25]); + dart.setFieldSignature(WhereTypeIterable, () => ({ + __proto__: dart.getFields(WhereTypeIterable.__proto__), + [_source$]: dart.finalFieldType(core.Iterable$(dart.nullable(core.Object))) + })); + dart.defineExtensionAccessors(WhereTypeIterable, ['iterator']); + return WhereTypeIterable; +}); +_internal.WhereTypeIterable = _internal.WhereTypeIterable$(); +dart.addTypeTests(_internal.WhereTypeIterable, _is_WhereTypeIterable_default); +const _is_WhereTypeIterator_default = Symbol('_is_WhereTypeIterator_default'); +_internal.WhereTypeIterator$ = dart.generic(T => { + class WhereTypeIterator extends core.Object { + moveNext() { + while (dart.test(this[_source$].moveNext())) { + if (T.is(this[_source$].current)) return true; + } + return false; + } + get current() { + return T.as(this[_source$].current); + } + } + (WhereTypeIterator.new = function(_source) { + if (_source == null) dart.nullFailed(I[37], 865, 26, "_source"); + this[_source$] = _source; + ; + }).prototype = WhereTypeIterator.prototype; + dart.addTypeTests(WhereTypeIterator); + WhereTypeIterator.prototype[_is_WhereTypeIterator_default] = true; + dart.addTypeCaches(WhereTypeIterator); + WhereTypeIterator[dart.implements] = () => [core.Iterator$(T)]; + dart.setMethodSignature(WhereTypeIterator, () => ({ + __proto__: dart.getMethods(WhereTypeIterator.__proto__), + moveNext: dart.fnType(core.bool, []) + })); + dart.setGetterSignature(WhereTypeIterator, () => ({ + __proto__: dart.getGetters(WhereTypeIterator.__proto__), + current: T + })); + dart.setLibraryUri(WhereTypeIterator, I[25]); + dart.setFieldSignature(WhereTypeIterator, () => ({ + __proto__: dart.getFields(WhereTypeIterator.__proto__), + [_source$]: dart.finalFieldType(core.Iterator$(dart.nullable(core.Object))) + })); + return WhereTypeIterator; +}); +_internal.WhereTypeIterator = _internal.WhereTypeIterator$(); +dart.addTypeTests(_internal.WhereTypeIterator, _is_WhereTypeIterator_default); +_internal.IterableElementError = class IterableElementError extends core.Object { + static noElement() { + return new core.StateError.new("No element"); + } + static tooMany() { + return new core.StateError.new("Too many elements"); + } + static tooFew() { + return new core.StateError.new("Too few elements"); + } +}; +(_internal.IterableElementError.new = function() { + ; +}).prototype = _internal.IterableElementError.prototype; +dart.addTypeTests(_internal.IterableElementError); +dart.addTypeCaches(_internal.IterableElementError); +dart.setLibraryUri(_internal.IterableElementError, I[25]); +const _is_FixedLengthListMixin_default = Symbol('_is_FixedLengthListMixin_default'); +_internal.FixedLengthListMixin$ = dart.generic(E => { + var IterableOfE = () => (IterableOfE = dart.constFn(core.Iterable$(E)))(); + class FixedLengthListMixin extends core.Object { + set length(newLength) { + if (newLength == null) dart.nullFailed(I[22], 14, 18, "newLength"); + dart.throw(new core.UnsupportedError.new("Cannot change the length of a fixed-length list")); + } + add(value) { + E.as(value); + dart.throw(new core.UnsupportedError.new("Cannot add to a fixed-length list")); + } + insert(index, value) { + if (index == null) dart.nullFailed(I[22], 25, 19, "index"); + E.as(value); + dart.throw(new core.UnsupportedError.new("Cannot add to a fixed-length list")); + } + insertAll(at, iterable) { + if (at == null) dart.nullFailed(I[22], 30, 22, "at"); + IterableOfE().as(iterable); + if (iterable == null) dart.nullFailed(I[22], 30, 38, "iterable"); + dart.throw(new core.UnsupportedError.new("Cannot add to a fixed-length list")); + } + addAll(iterable) { + IterableOfE().as(iterable); + if (iterable == null) dart.nullFailed(I[22], 35, 27, "iterable"); + dart.throw(new core.UnsupportedError.new("Cannot add to a fixed-length list")); + } + remove(element) { + dart.throw(new core.UnsupportedError.new("Cannot remove from a fixed-length list")); + } + removeWhere(test) { + if (test == null) dart.nullFailed(I[22], 45, 25, "test"); + dart.throw(new core.UnsupportedError.new("Cannot remove from a fixed-length list")); + } + retainWhere(test) { + if (test == null) dart.nullFailed(I[22], 50, 25, "test"); + dart.throw(new core.UnsupportedError.new("Cannot remove from a fixed-length list")); + } + clear() { + dart.throw(new core.UnsupportedError.new("Cannot clear a fixed-length list")); + } + removeAt(index) { + if (index == null) dart.nullFailed(I[22], 60, 18, "index"); + dart.throw(new core.UnsupportedError.new("Cannot remove from a fixed-length list")); + } + removeLast() { + dart.throw(new core.UnsupportedError.new("Cannot remove from a fixed-length list")); + } + removeRange(start, end) { + if (start == null) dart.nullFailed(I[22], 70, 24, "start"); + if (end == null) dart.nullFailed(I[22], 70, 35, "end"); + dart.throw(new core.UnsupportedError.new("Cannot remove from a fixed-length list")); + } + replaceRange(start, end, iterable) { + if (start == null) dart.nullFailed(I[22], 75, 25, "start"); + if (end == null) dart.nullFailed(I[22], 75, 36, "end"); + IterableOfE().as(iterable); + if (iterable == null) dart.nullFailed(I[22], 75, 53, "iterable"); + dart.throw(new core.UnsupportedError.new("Cannot remove from a fixed-length list")); + } + } + (FixedLengthListMixin.new = function() { + ; + }).prototype = FixedLengthListMixin.prototype; + dart.addTypeTests(FixedLengthListMixin); + FixedLengthListMixin.prototype[_is_FixedLengthListMixin_default] = true; + dart.addTypeCaches(FixedLengthListMixin); + dart.setMethodSignature(FixedLengthListMixin, () => ({ + __proto__: dart.getMethods(FixedLengthListMixin.__proto__), + add: dart.fnType(dart.void, [dart.nullable(core.Object)]), + [$add]: dart.fnType(dart.void, [dart.nullable(core.Object)]), + insert: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), + [$insert]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), + insertAll: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), + [$insertAll]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), + addAll: dart.fnType(dart.void, [dart.nullable(core.Object)]), + [$addAll]: dart.fnType(dart.void, [dart.nullable(core.Object)]), + remove: dart.fnType(core.bool, [dart.nullable(core.Object)]), + [$remove]: dart.fnType(core.bool, [dart.nullable(core.Object)]), + removeWhere: dart.fnType(dart.void, [dart.fnType(core.bool, [E])]), + [$removeWhere]: dart.fnType(dart.void, [dart.fnType(core.bool, [E])]), + retainWhere: dart.fnType(dart.void, [dart.fnType(core.bool, [E])]), + [$retainWhere]: dart.fnType(dart.void, [dart.fnType(core.bool, [E])]), + clear: dart.fnType(dart.void, []), + [$clear]: dart.fnType(dart.void, []), + removeAt: dart.fnType(E, [core.int]), + [$removeAt]: dart.fnType(E, [core.int]), + removeLast: dart.fnType(E, []), + [$removeLast]: dart.fnType(E, []), + removeRange: dart.fnType(dart.void, [core.int, core.int]), + [$removeRange]: dart.fnType(dart.void, [core.int, core.int]), + replaceRange: dart.fnType(dart.void, [core.int, core.int, dart.nullable(core.Object)]), + [$replaceRange]: dart.fnType(dart.void, [core.int, core.int, dart.nullable(core.Object)]) + })); + dart.setSetterSignature(FixedLengthListMixin, () => ({ + __proto__: dart.getSetters(FixedLengthListMixin.__proto__), + length: core.int, + [$length]: core.int + })); + dart.setLibraryUri(FixedLengthListMixin, I[25]); + dart.defineExtensionMethods(FixedLengthListMixin, [ + 'add', + 'insert', + 'insertAll', + 'addAll', + 'remove', + 'removeWhere', + 'retainWhere', + 'clear', + 'removeAt', + 'removeLast', + 'removeRange', + 'replaceRange' + ]); + dart.defineExtensionAccessors(FixedLengthListMixin, ['length']); + return FixedLengthListMixin; +}); +_internal.FixedLengthListMixin = _internal.FixedLengthListMixin$(); +dart.addTypeTests(_internal.FixedLengthListMixin, _is_FixedLengthListMixin_default); +const _is_FixedLengthListBase_default = Symbol('_is_FixedLengthListBase_default'); +_internal.FixedLengthListBase$ = dart.generic(E => { + var IterableOfE = () => (IterableOfE = dart.constFn(core.Iterable$(E)))(); + const ListBase_FixedLengthListMixin$36 = class ListBase_FixedLengthListMixin extends collection.ListBase$(E) {}; + (ListBase_FixedLengthListMixin$36.new = function() { + }).prototype = ListBase_FixedLengthListMixin$36.prototype; + dart.applyMixin(ListBase_FixedLengthListMixin$36, _internal.FixedLengthListMixin$(E)); + class FixedLengthListBase extends ListBase_FixedLengthListMixin$36 { + set length(newLength) { + if (newLength == null) dart.nullFailed(I[22], 199, 16, "newLength"); + return super[$length] = newLength; + } + add(value) { + E.as(value); + return super[$add](value); + } + insert(index, value) { + if (index == null) dart.nullFailed(I[22], 199, 16, "index"); + E.as(value); + return super[$insert](index, value); + } + insertAll(at, iterable) { + if (at == null) dart.nullFailed(I[22], 199, 16, "at"); + IterableOfE().as(iterable); + if (iterable == null) dart.nullFailed(I[22], 199, 16, "iterable"); + return super[$insertAll](at, iterable); + } + addAll(iterable) { + IterableOfE().as(iterable); + if (iterable == null) dart.nullFailed(I[22], 199, 16, "iterable"); + return super[$addAll](iterable); + } + remove(element) { + return super[$remove](element); + } + removeWhere(test) { + if (test == null) dart.nullFailed(I[22], 199, 16, "test"); + return super[$removeWhere](test); + } + retainWhere(test) { + if (test == null) dart.nullFailed(I[22], 199, 16, "test"); + return super[$retainWhere](test); + } + clear() { + return super[$clear](); + } + removeAt(index) { + if (index == null) dart.nullFailed(I[22], 199, 16, "index"); + return super[$removeAt](index); + } + removeLast() { + return super[$removeLast](); + } + removeRange(start, end) { + if (start == null) dart.nullFailed(I[22], 199, 16, "start"); + if (end == null) dart.nullFailed(I[22], 199, 16, "end"); + return super[$removeRange](start, end); + } + replaceRange(start, end, iterable) { + if (start == null) dart.nullFailed(I[22], 199, 16, "start"); + if (end == null) dart.nullFailed(I[22], 199, 16, "end"); + IterableOfE().as(iterable); + if (iterable == null) dart.nullFailed(I[22], 199, 16, "iterable"); + return super[$replaceRange](start, end, iterable); + } + } + (FixedLengthListBase.new = function() { + ; + }).prototype = FixedLengthListBase.prototype; + dart.addTypeTests(FixedLengthListBase); + FixedLengthListBase.prototype[_is_FixedLengthListBase_default] = true; + dart.addTypeCaches(FixedLengthListBase); + dart.setSetterSignature(FixedLengthListBase, () => ({ + __proto__: dart.getSetters(FixedLengthListBase.__proto__), + length: core.int, + [$length]: core.int + })); + dart.setLibraryUri(FixedLengthListBase, I[25]); + dart.defineExtensionMethods(FixedLengthListBase, [ + 'add', + 'insert', + 'insertAll', + 'addAll', + 'remove', + 'removeWhere', + 'retainWhere', + 'clear', + 'removeAt', + 'removeLast', + 'removeRange', + 'replaceRange' + ]); + dart.defineExtensionAccessors(FixedLengthListBase, ['length']); + return FixedLengthListBase; +}); +_internal.FixedLengthListBase = _internal.FixedLengthListBase$(); +dart.addTypeTests(_internal.FixedLengthListBase, _is_FixedLengthListBase_default); +var _backedList$ = dart.privateName(_internal, "_backedList"); +_internal._ListIndicesIterable = class _ListIndicesIterable extends _internal.ListIterable$(core.int) { + get length() { + return this[_backedList$][$length]; + } + elementAt(index) { + if (index == null) dart.nullFailed(I[22], 217, 21, "index"); + core.RangeError.checkValidIndex(index, this); + return index; + } +}; +(_internal._ListIndicesIterable.new = function(_backedList) { + if (_backedList == null) dart.nullFailed(I[22], 214, 29, "_backedList"); + this[_backedList$] = _backedList; + _internal._ListIndicesIterable.__proto__.new.call(this); + ; +}).prototype = _internal._ListIndicesIterable.prototype; +dart.addTypeTests(_internal._ListIndicesIterable); +dart.addTypeCaches(_internal._ListIndicesIterable); +dart.setLibraryUri(_internal._ListIndicesIterable, I[25]); +dart.setFieldSignature(_internal._ListIndicesIterable, () => ({ + __proto__: dart.getFields(_internal._ListIndicesIterable.__proto__), + [_backedList$]: dart.fieldType(core.List) +})); +dart.defineExtensionMethods(_internal._ListIndicesIterable, ['elementAt']); +dart.defineExtensionAccessors(_internal._ListIndicesIterable, ['length']); +var _values$ = dart.privateName(_internal, "_values"); +const _is__UnmodifiableMapMixin_default = Symbol('_is__UnmodifiableMapMixin_default'); +collection._UnmodifiableMapMixin$ = dart.generic((K, V) => { + var MapOfK$V = () => (MapOfK$V = dart.constFn(core.Map$(K, V)))(); + var MapEntryOfK$V = () => (MapEntryOfK$V = dart.constFn(core.MapEntry$(K, V)))(); + var IterableOfMapEntryOfK$V = () => (IterableOfMapEntryOfK$V = dart.constFn(core.Iterable$(MapEntryOfK$V())))(); + var KAndVToV = () => (KAndVToV = dart.constFn(dart.fnType(V, [K, V])))(); + var VoidToV = () => (VoidToV = dart.constFn(dart.fnType(V, [])))(); + var VToV = () => (VToV = dart.constFn(dart.fnType(V, [V])))(); + var VoidToNV = () => (VoidToNV = dart.constFn(dart.nullable(VoidToV())))(); + class _UnmodifiableMapMixin extends core.Object { + _set(key, value$) { + let value = value$; + K.as(key); + V.as(value); + dart.throw(new core.UnsupportedError.new("Cannot modify unmodifiable map")); + return value$; + } + addAll(other) { + MapOfK$V().as(other); + if (other == null) dart.nullFailed(I[35], 273, 25, "other"); + dart.throw(new core.UnsupportedError.new("Cannot modify unmodifiable map")); + } + addEntries(entries) { + IterableOfMapEntryOfK$V().as(entries); + if (entries == null) dart.nullFailed(I[35], 278, 44, "entries"); + dart.throw(new core.UnsupportedError.new("Cannot modify unmodifiable map")); + } + clear() { + dart.throw(new core.UnsupportedError.new("Cannot modify unmodifiable map")); + } + remove(key) { + dart.throw(new core.UnsupportedError.new("Cannot modify unmodifiable map")); + } + removeWhere(test) { + if (test == null) dart.nullFailed(I[35], 293, 25, "test"); + dart.throw(new core.UnsupportedError.new("Cannot modify unmodifiable map")); + } + putIfAbsent(key, ifAbsent) { + K.as(key); + VoidToV().as(ifAbsent); + if (ifAbsent == null) dart.nullFailed(I[35], 298, 26, "ifAbsent"); + dart.throw(new core.UnsupportedError.new("Cannot modify unmodifiable map")); + } + update(key, update, opts) { + K.as(key); + VToV().as(update); + if (update == null) dart.nullFailed(I[35], 303, 21, "update"); + let ifAbsent = opts && 'ifAbsent' in opts ? opts.ifAbsent : null; + VoidToNV().as(ifAbsent); + dart.throw(new core.UnsupportedError.new("Cannot modify unmodifiable map")); + } + updateAll(update) { + KAndVToV().as(update); + if (update == null) dart.nullFailed(I[35], 308, 20, "update"); + dart.throw(new core.UnsupportedError.new("Cannot modify unmodifiable map")); + } + } + (_UnmodifiableMapMixin.new = function() { + ; + }).prototype = _UnmodifiableMapMixin.prototype; + _UnmodifiableMapMixin.prototype[dart.isMap] = true; + dart.addTypeTests(_UnmodifiableMapMixin); + _UnmodifiableMapMixin.prototype[_is__UnmodifiableMapMixin_default] = true; + dart.addTypeCaches(_UnmodifiableMapMixin); + _UnmodifiableMapMixin[dart.implements] = () => [core.Map$(K, V)]; + dart.setMethodSignature(_UnmodifiableMapMixin, () => ({ + __proto__: dart.getMethods(_UnmodifiableMapMixin.__proto__), + _set: dart.fnType(dart.void, [dart.nullable(core.Object), dart.nullable(core.Object)]), + [$_set]: dart.fnType(dart.void, [dart.nullable(core.Object), dart.nullable(core.Object)]), + addAll: dart.fnType(dart.void, [dart.nullable(core.Object)]), + [$addAll]: dart.fnType(dart.void, [dart.nullable(core.Object)]), + addEntries: dart.fnType(dart.void, [dart.nullable(core.Object)]), + [$addEntries]: dart.fnType(dart.void, [dart.nullable(core.Object)]), + clear: dart.fnType(dart.void, []), + [$clear]: dart.fnType(dart.void, []), + remove: dart.fnType(dart.nullable(V), [dart.nullable(core.Object)]), + [$remove]: dart.fnType(dart.nullable(V), [dart.nullable(core.Object)]), + removeWhere: dart.fnType(dart.void, [dart.fnType(core.bool, [K, V])]), + [$removeWhere]: dart.fnType(dart.void, [dart.fnType(core.bool, [K, V])]), + putIfAbsent: dart.fnType(V, [dart.nullable(core.Object), dart.nullable(core.Object)]), + [$putIfAbsent]: dart.fnType(V, [dart.nullable(core.Object), dart.nullable(core.Object)]), + update: dart.fnType(V, [dart.nullable(core.Object), dart.nullable(core.Object)], {ifAbsent: dart.nullable(core.Object)}, {}), + [$update]: dart.fnType(V, [dart.nullable(core.Object), dart.nullable(core.Object)], {ifAbsent: dart.nullable(core.Object)}, {}), + updateAll: dart.fnType(dart.void, [dart.nullable(core.Object)]), + [$updateAll]: dart.fnType(dart.void, [dart.nullable(core.Object)]) + })); + dart.setLibraryUri(_UnmodifiableMapMixin, I[24]); + dart.defineExtensionMethods(_UnmodifiableMapMixin, [ + '_set', + 'addAll', + 'addEntries', + 'clear', + 'remove', + 'removeWhere', + 'putIfAbsent', + 'update', + 'updateAll' + ]); + return _UnmodifiableMapMixin; +}); +collection._UnmodifiableMapMixin = collection._UnmodifiableMapMixin$(); +dart.addTypeTests(collection._UnmodifiableMapMixin, _is__UnmodifiableMapMixin_default); +const _is_UnmodifiableMapBase_default = Symbol('_is_UnmodifiableMapBase_default'); +collection.UnmodifiableMapBase$ = dart.generic((K, V) => { + var MapOfK$V = () => (MapOfK$V = dart.constFn(core.Map$(K, V)))(); + var MapEntryOfK$V = () => (MapEntryOfK$V = dart.constFn(core.MapEntry$(K, V)))(); + var IterableOfMapEntryOfK$V = () => (IterableOfMapEntryOfK$V = dart.constFn(core.Iterable$(MapEntryOfK$V())))(); + var KAndVToV = () => (KAndVToV = dart.constFn(dart.fnType(V, [K, V])))(); + var VoidToV = () => (VoidToV = dart.constFn(dart.fnType(V, [])))(); + var VToV = () => (VToV = dart.constFn(dart.fnType(V, [V])))(); + var VoidToNV = () => (VoidToNV = dart.constFn(dart.nullable(VoidToV())))(); + const MapBase__UnmodifiableMapMixin$36 = class MapBase__UnmodifiableMapMixin extends collection.MapBase$(K, V) {}; + (MapBase__UnmodifiableMapMixin$36.new = function() { + }).prototype = MapBase__UnmodifiableMapMixin$36.prototype; + dart.applyMixin(MapBase__UnmodifiableMapMixin$36, collection._UnmodifiableMapMixin$(K, V)); + class UnmodifiableMapBase extends MapBase__UnmodifiableMapMixin$36 { + _set(key, value$) { + let value = value$; + K.as(key); + V.as(value); + super._set(key, value); + return value$; + } + addAll(other) { + MapOfK$V().as(other); + if (other == null) dart.nullFailed(I[35], 217, 16, "other"); + return super.addAll(other); + } + addEntries(entries) { + IterableOfMapEntryOfK$V().as(entries); + if (entries == null) dart.nullFailed(I[35], 217, 16, "entries"); + return super.addEntries(entries); + } + clear() { + return super.clear(); + } + remove(key) { + return super.remove(key); + } + removeWhere(test) { + if (test == null) dart.nullFailed(I[35], 217, 16, "test"); + return super.removeWhere(test); + } + putIfAbsent(key, ifAbsent) { + K.as(key); + VoidToV().as(ifAbsent); + if (ifAbsent == null) dart.nullFailed(I[35], 217, 16, "ifAbsent"); + return super.putIfAbsent(key, ifAbsent); + } + update(key, update, opts) { + K.as(key); + VToV().as(update); + if (update == null) dart.nullFailed(I[35], 217, 16, "update"); + let ifAbsent = opts && 'ifAbsent' in opts ? opts.ifAbsent : null; + VoidToNV().as(ifAbsent); + return super.update(key, update, {ifAbsent: ifAbsent}); + } + updateAll(update) { + KAndVToV().as(update); + if (update == null) dart.nullFailed(I[35], 217, 16, "update"); + return super.updateAll(update); + } + } + (UnmodifiableMapBase.new = function() { + ; + }).prototype = UnmodifiableMapBase.prototype; + dart.addTypeTests(UnmodifiableMapBase); + UnmodifiableMapBase.prototype[_is_UnmodifiableMapBase_default] = true; + dart.addTypeCaches(UnmodifiableMapBase); + dart.setMethodSignature(UnmodifiableMapBase, () => ({ + __proto__: dart.getMethods(UnmodifiableMapBase.__proto__), + _set: dart.fnType(dart.void, [dart.nullable(core.Object), dart.nullable(core.Object)]), + [$_set]: dart.fnType(dart.void, [dart.nullable(core.Object), dart.nullable(core.Object)]), + clear: dart.fnType(dart.void, []), + [$clear]: dart.fnType(dart.void, []), + remove: dart.fnType(dart.nullable(V), [dart.nullable(core.Object)]), + [$remove]: dart.fnType(dart.nullable(V), [dart.nullable(core.Object)]) + })); + dart.setLibraryUri(UnmodifiableMapBase, I[24]); + dart.defineExtensionMethods(UnmodifiableMapBase, [ + '_set', + 'addAll', + 'addEntries', + 'clear', + 'remove', + 'removeWhere', + 'putIfAbsent', + 'update', + 'updateAll' + ]); + return UnmodifiableMapBase; +}); +collection.UnmodifiableMapBase = collection.UnmodifiableMapBase$(); +dart.addTypeTests(collection.UnmodifiableMapBase, _is_UnmodifiableMapBase_default); +const _is_ListMapView_default = Symbol('_is_ListMapView_default'); +_internal.ListMapView$ = dart.generic(E => { + var SubListIterableOfE = () => (SubListIterableOfE = dart.constFn(_internal.SubListIterable$(E)))(); + class ListMapView extends collection.UnmodifiableMapBase$(core.int, E) { + _get(key) { + return dart.test(this.containsKey(key)) ? this[_values$][$_get](core.int.as(key)) : null; + } + get length() { + return this[_values$][$length]; + } + get values() { + return new (SubListIterableOfE()).new(this[_values$], 0, null); + } + get keys() { + return new _internal._ListIndicesIterable.new(this[_values$]); + } + get isEmpty() { + return this[_values$][$isEmpty]; + } + get isNotEmpty() { + return this[_values$][$isNotEmpty]; + } + containsValue(value) { + return this[_values$][$contains](value); + } + containsKey(key) { + return core.int.is(key) && dart.notNull(key) >= 0 && dart.notNull(key) < dart.notNull(this.length); + } + forEach(f) { + if (f == null) dart.nullFailed(I[22], 239, 21, "f"); + let length = this[_values$][$length]; + for (let i = 0; i < dart.notNull(length); i = i + 1) { + f(i, this[_values$][$_get](i)); + if (length != this[_values$][$length]) { + dart.throw(new core.ConcurrentModificationError.new(this[_values$])); + } + } + } + } + (ListMapView.new = function(_values) { + if (_values == null) dart.nullFailed(I[22], 226, 20, "_values"); + this[_values$] = _values; + ; + }).prototype = ListMapView.prototype; + dart.addTypeTests(ListMapView); + ListMapView.prototype[_is_ListMapView_default] = true; + dart.addTypeCaches(ListMapView); + dart.setMethodSignature(ListMapView, () => ({ + __proto__: dart.getMethods(ListMapView.__proto__), + _get: dart.fnType(dart.nullable(E), [dart.nullable(core.Object)]), + [$_get]: dart.fnType(dart.nullable(E), [dart.nullable(core.Object)]) + })); + dart.setGetterSignature(ListMapView, () => ({ + __proto__: dart.getGetters(ListMapView.__proto__), + keys: core.Iterable$(core.int), + [$keys]: core.Iterable$(core.int) + })); + dart.setLibraryUri(ListMapView, I[25]); + dart.setFieldSignature(ListMapView, () => ({ + __proto__: dart.getFields(ListMapView.__proto__), + [_values$]: dart.fieldType(core.List$(E)) + })); + dart.defineExtensionMethods(ListMapView, ['_get', 'containsValue', 'containsKey', 'forEach']); + dart.defineExtensionAccessors(ListMapView, [ + 'length', + 'values', + 'keys', + 'isEmpty', + 'isNotEmpty' + ]); + return ListMapView; +}); +_internal.ListMapView = _internal.ListMapView$(); +dart.addTypeTests(_internal.ListMapView, _is_ListMapView_default); +const _is_ReversedListIterable_default = Symbol('_is_ReversedListIterable_default'); +_internal.ReversedListIterable$ = dart.generic(E => { + class ReversedListIterable extends _internal.ListIterable$(E) { + get length() { + return this[_source$][$length]; + } + elementAt(index) { + if (index == null) dart.nullFailed(I[22], 256, 19, "index"); + return this[_source$][$elementAt](dart.notNull(this[_source$][$length]) - 1 - dart.notNull(index)); + } + } + (ReversedListIterable.new = function(_source) { + if (_source == null) dart.nullFailed(I[22], 252, 29, "_source"); + this[_source$] = _source; + ReversedListIterable.__proto__.new.call(this); + ; + }).prototype = ReversedListIterable.prototype; + dart.addTypeTests(ReversedListIterable); + ReversedListIterable.prototype[_is_ReversedListIterable_default] = true; + dart.addTypeCaches(ReversedListIterable); + dart.setLibraryUri(ReversedListIterable, I[25]); + dart.setFieldSignature(ReversedListIterable, () => ({ + __proto__: dart.getFields(ReversedListIterable.__proto__), + [_source$]: dart.fieldType(core.Iterable$(E)) + })); + dart.defineExtensionMethods(ReversedListIterable, ['elementAt']); + dart.defineExtensionAccessors(ReversedListIterable, ['length']); + return ReversedListIterable; +}); +_internal.ReversedListIterable = _internal.ReversedListIterable$(); +dart.addTypeTests(_internal.ReversedListIterable, _is_ReversedListIterable_default); +_internal.UnmodifiableListError = class UnmodifiableListError extends core.Object { + static add() { + return new core.UnsupportedError.new("Cannot add to unmodifiable List"); + } + static change() { + return new core.UnsupportedError.new("Cannot change the content of an unmodifiable List"); + } + static length() { + return new core.UnsupportedError.new("Cannot change length of unmodifiable List"); + } + static remove() { + return new core.UnsupportedError.new("Cannot remove from unmodifiable List"); + } +}; +(_internal.UnmodifiableListError.new = function() { + ; +}).prototype = _internal.UnmodifiableListError.prototype; +dart.addTypeTests(_internal.UnmodifiableListError); +dart.addTypeCaches(_internal.UnmodifiableListError); +dart.setLibraryUri(_internal.UnmodifiableListError, I[25]); +_internal.NonGrowableListError = class NonGrowableListError extends core.Object { + static add() { + return new core.UnsupportedError.new("Cannot add to non-growable List"); + } + static length() { + return new core.UnsupportedError.new("Cannot change length of non-growable List"); + } + static remove() { + return new core.UnsupportedError.new("Cannot remove from non-growable List"); + } +}; +(_internal.NonGrowableListError.new = function() { + ; +}).prototype = _internal.NonGrowableListError.prototype; +dart.addTypeTests(_internal.NonGrowableListError); +dart.addTypeCaches(_internal.NonGrowableListError); +dart.setLibraryUri(_internal.NonGrowableListError, I[25]); +var length = dart.privateName(_internal, "LinkedList.length"); +var _last = dart.privateName(_internal, "_last"); +var _next = dart.privateName(_internal, "_next"); +var _previous = dart.privateName(_internal, "_previous"); +var _list = dart.privateName(_internal, "_list"); +const _is_IterableBase_default = Symbol('_is_IterableBase_default'); +collection.IterableBase$ = dart.generic(E => { + class IterableBase extends core.Iterable$(E) { + static iterableToShortString(iterable, leftDelimiter = "(", rightDelimiter = ")") { + let t82; + if (iterable == null) dart.nullFailed(I[39], 226, 48, "iterable"); + if (leftDelimiter == null) dart.nullFailed(I[39], 227, 15, "leftDelimiter"); + if (rightDelimiter == null) dart.nullFailed(I[39], 227, 43, "rightDelimiter"); + if (dart.test(collection._isToStringVisiting(iterable))) { + if (leftDelimiter === "(" && rightDelimiter === ")") { + return "(...)"; + } + return dart.str(leftDelimiter) + "..." + dart.str(rightDelimiter); + } + let parts = T$.JSArrayOfString().of([]); + collection._toStringVisiting[$add](iterable); + try { + collection._iterablePartsToStrings(iterable, parts); + } finally { + if (!core.identical(collection._toStringVisiting[$last], iterable)) dart.assertFailed(null, I[39], 240, 14, "identical(_toStringVisiting.last, iterable)"); + collection._toStringVisiting[$removeLast](); + } + return (t82 = new core.StringBuffer.new(leftDelimiter), (() => { + t82.writeAll(parts, ", "); + t82.write(rightDelimiter); + return t82; + })()).toString(); + } + static iterableToFullString(iterable, leftDelimiter = "(", rightDelimiter = ")") { + if (iterable == null) dart.nullFailed(I[39], 259, 47, "iterable"); + if (leftDelimiter == null) dart.nullFailed(I[39], 260, 15, "leftDelimiter"); + if (rightDelimiter == null) dart.nullFailed(I[39], 260, 43, "rightDelimiter"); + if (dart.test(collection._isToStringVisiting(iterable))) { + return dart.str(leftDelimiter) + "..." + dart.str(rightDelimiter); + } + let buffer = new core.StringBuffer.new(leftDelimiter); + collection._toStringVisiting[$add](iterable); + try { + buffer.writeAll(iterable, ", "); + } finally { + if (!core.identical(collection._toStringVisiting[$last], iterable)) dart.assertFailed(null, I[39], 269, 14, "identical(_toStringVisiting.last, iterable)"); + collection._toStringVisiting[$removeLast](); + } + buffer.write(rightDelimiter); + return buffer.toString(); + } + } + (IterableBase.new = function() { + IterableBase.__proto__.new.call(this); + ; + }).prototype = IterableBase.prototype; + dart.addTypeTests(IterableBase); + IterableBase.prototype[_is_IterableBase_default] = true; + dart.addTypeCaches(IterableBase); + dart.setLibraryUri(IterableBase, I[24]); + return IterableBase; +}); +collection.IterableBase = collection.IterableBase$(); +dart.addTypeTests(collection.IterableBase, _is_IterableBase_default); +const _is_LinkedList_default = Symbol('_is_LinkedList_default'); +_internal.LinkedList$ = dart.generic(T => { + var _LinkedListIteratorOfT = () => (_LinkedListIteratorOfT = dart.constFn(_internal._LinkedListIterator$(T)))(); + class LinkedList extends collection.IterableBase$(T) { + get length() { + return this[length]; + } + set length(value) { + this[length] = value; + } + get first() { + return dart.nullCast(this[_first$], T); + } + get last() { + return dart.nullCast(this[_last], T); + } + get isEmpty() { + return this.length === 0; + } + add(newLast) { + T.as(newLast); + if (newLast == null) dart.nullFailed(I[38], 22, 14, "newLast"); + if (!(newLast[_next] == null && newLast[_previous] == null)) dart.assertFailed(null, I[38], 23, 12, "newLast._next == null && newLast._previous == null"); + if (this[_last] != null) { + if (!(dart.nullCheck(this[_last])[_next] == null)) dart.assertFailed(null, I[38], 25, 14, "_last!._next == null"); + dart.nullCheck(this[_last])[_next] = newLast; + } else { + this[_first$] = newLast; + } + newLast[_previous] = this[_last]; + this[_last] = newLast; + dart.nullCheck(this[_last])[_list] = this; + this.length = dart.notNull(this.length) + 1; + } + addFirst(newFirst) { + T.as(newFirst); + if (newFirst == null) dart.nullFailed(I[38], 39, 19, "newFirst"); + if (this[_first$] != null) { + if (!(dart.nullCheck(this[_first$])[_previous] == null)) dart.assertFailed(null, I[38], 41, 14, "_first!._previous == null"); + dart.nullCheck(this[_first$])[_previous] = newFirst; + } else { + this[_last] = newFirst; + } + newFirst[_next] = this[_first$]; + this[_first$] = newFirst; + dart.nullCheck(this[_first$])[_list] = this; + this.length = dart.notNull(this.length) + 1; + } + remove(node) { + T.as(node); + if (node == null) dart.nullFailed(I[38], 59, 17, "node"); + if (!dart.equals(node[_list], this)) return; + this.length = dart.notNull(this.length) - 1; + if (node[_previous] == null) { + if (!(node == this[_first$])) dart.assertFailed(null, I[38], 63, 14, "identical(node, _first)"); + this[_first$] = node[_next]; + } else { + dart.nullCheck(node[_previous])[_next] = node[_next]; + } + if (node[_next] == null) { + if (!(node == this[_last])) dart.assertFailed(null, I[38], 69, 14, "identical(node, _last)"); + this[_last] = node[_previous]; + } else { + dart.nullCheck(node[_next])[_previous] = node[_previous]; + } + node[_next] = node[_previous] = null; + node[_list] = null; + } + get iterator() { + return new (_LinkedListIteratorOfT()).new(this); + } + } + (LinkedList.new = function() { + this[_first$] = null; + this[_last] = null; + this[length] = 0; + LinkedList.__proto__.new.call(this); + ; + }).prototype = LinkedList.prototype; + dart.addTypeTests(LinkedList); + LinkedList.prototype[_is_LinkedList_default] = true; + dart.addTypeCaches(LinkedList); + dart.setMethodSignature(LinkedList, () => ({ + __proto__: dart.getMethods(LinkedList.__proto__), + add: dart.fnType(dart.void, [dart.nullable(core.Object)]), + addFirst: dart.fnType(dart.void, [dart.nullable(core.Object)]), + remove: dart.fnType(dart.void, [dart.nullable(core.Object)]) + })); + dart.setGetterSignature(LinkedList, () => ({ + __proto__: dart.getGetters(LinkedList.__proto__), + iterator: core.Iterator$(T), + [$iterator]: core.Iterator$(T) + })); + dart.setLibraryUri(LinkedList, I[25]); + dart.setFieldSignature(LinkedList, () => ({ + __proto__: dart.getFields(LinkedList.__proto__), + [_first$]: dart.fieldType(dart.nullable(T)), + [_last]: dart.fieldType(dart.nullable(T)), + length: dart.fieldType(core.int) + })); + dart.defineExtensionAccessors(LinkedList, [ + 'length', + 'first', + 'last', + 'isEmpty', + 'iterator' + ]); + return LinkedList; +}); +_internal.LinkedList = _internal.LinkedList$(); +dart.addTypeTests(_internal.LinkedList, _is_LinkedList_default); +var _next$ = dart.privateName(_internal, "LinkedListEntry._next"); +var _previous$ = dart.privateName(_internal, "LinkedListEntry._previous"); +var _list$ = dart.privateName(_internal, "LinkedListEntry._list"); +const _is_LinkedListEntry_default = Symbol('_is_LinkedListEntry_default'); +_internal.LinkedListEntry$ = dart.generic(T => { + var TN = () => (TN = dart.constFn(dart.nullable(T)))(); + var LinkedListOfT = () => (LinkedListOfT = dart.constFn(_internal.LinkedList$(T)))(); + var LinkedListNOfT = () => (LinkedListNOfT = dart.constFn(dart.nullable(LinkedListOfT())))(); + class LinkedListEntry extends core.Object { + get [_next]() { + return this[_next$]; + } + set [_next](value) { + this[_next$] = TN().as(value); + } + get [_previous]() { + return this[_previous$]; + } + set [_previous](value) { + this[_previous$] = TN().as(value); + } + get [_list]() { + return this[_list$]; + } + set [_list](value) { + this[_list$] = LinkedListNOfT().as(value); + } + unlink() { + let t82; + t82 = this[_list]; + t82 == null ? null : t82.remove(T.as(this)); + } + } + (LinkedListEntry.new = function() { + this[_next$] = null; + this[_previous$] = null; + this[_list$] = null; + ; + }).prototype = LinkedListEntry.prototype; + dart.addTypeTests(LinkedListEntry); + LinkedListEntry.prototype[_is_LinkedListEntry_default] = true; + dart.addTypeCaches(LinkedListEntry); + dart.setMethodSignature(LinkedListEntry, () => ({ + __proto__: dart.getMethods(LinkedListEntry.__proto__), + unlink: dart.fnType(dart.void, []) + })); + dart.setLibraryUri(LinkedListEntry, I[25]); + dart.setFieldSignature(LinkedListEntry, () => ({ + __proto__: dart.getFields(LinkedListEntry.__proto__), + [_next]: dart.fieldType(dart.nullable(T)), + [_previous]: dart.fieldType(dart.nullable(T)), + [_list]: dart.fieldType(dart.nullable(_internal.LinkedList$(T))) + })); + return LinkedListEntry; +}); +_internal.LinkedListEntry = _internal.LinkedListEntry$(); +dart.addTypeTests(_internal.LinkedListEntry, _is_LinkedListEntry_default); +const _is__LinkedListIterator_default = Symbol('_is__LinkedListIterator_default'); +_internal._LinkedListIterator$ = dart.generic(T => { + class _LinkedListIterator extends core.Object { + get current() { + return dart.nullCast(this[_current$], T); + } + moveNext() { + if (this[_current$] == null) { + let list = this[_list]; + if (list == null) return false; + if (!(dart.notNull(list.length) > 0)) dart.assertFailed(null, I[38], 123, 14, "list.length > 0"); + this[_current$] = list.first; + this[_list] = null; + return true; + } + this[_current$] = dart.nullCheck(this[_current$])[_next]; + return this[_current$] != null; + } + } + (_LinkedListIterator.new = function(list) { + if (list == null) dart.nullFailed(I[38], 113, 37, "list"); + this[_current$] = null; + this[_list] = list; + if (list.length === 0) this[_list] = null; + }).prototype = _LinkedListIterator.prototype; + dart.addTypeTests(_LinkedListIterator); + _LinkedListIterator.prototype[_is__LinkedListIterator_default] = true; + dart.addTypeCaches(_LinkedListIterator); + _LinkedListIterator[dart.implements] = () => [core.Iterator$(T)]; + dart.setMethodSignature(_LinkedListIterator, () => ({ + __proto__: dart.getMethods(_LinkedListIterator.__proto__), + moveNext: dart.fnType(core.bool, []) + })); + dart.setGetterSignature(_LinkedListIterator, () => ({ + __proto__: dart.getGetters(_LinkedListIterator.__proto__), + current: T + })); + dart.setLibraryUri(_LinkedListIterator, I[25]); + dart.setFieldSignature(_LinkedListIterator, () => ({ + __proto__: dart.getFields(_LinkedListIterator.__proto__), + [_current$]: dart.fieldType(dart.nullable(T)), + [_list]: dart.fieldType(dart.nullable(_internal.LinkedList$(T))) + })); + return _LinkedListIterator; +}); +_internal._LinkedListIterator = _internal._LinkedListIterator$(); +dart.addTypeTests(_internal._LinkedListIterator, _is__LinkedListIterator_default); +_internal.Sort = class Sort extends core.Object { + static sort(E, a, compare) { + if (a == null) dart.nullFailed(I[40], 32, 31, "a"); + if (compare == null) dart.nullFailed(I[40], 32, 38, "compare"); + _internal.Sort._doSort(E, a, 0, dart.notNull(a[$length]) - 1, compare); + } + static sortRange(E, a, from, to, compare) { + if (a == null) dart.nullFailed(I[40], 45, 36, "a"); + if (from == null) dart.nullFailed(I[40], 45, 43, "from"); + if (to == null) dart.nullFailed(I[40], 45, 53, "to"); + if (compare == null) dart.nullFailed(I[40], 45, 61, "compare"); + if (dart.notNull(from) < 0 || dart.notNull(to) > dart.notNull(a[$length]) || dart.notNull(to) < dart.notNull(from)) { + dart.throw("OutOfRange"); + } + _internal.Sort._doSort(E, a, from, dart.notNull(to) - 1, compare); + } + static _doSort(E, a, left, right, compare) { + if (a == null) dart.nullFailed(I[40], 56, 15, "a"); + if (left == null) dart.nullFailed(I[40], 56, 22, "left"); + if (right == null) dart.nullFailed(I[40], 56, 32, "right"); + if (compare == null) dart.nullFailed(I[40], 56, 43, "compare"); + if (dart.notNull(right) - dart.notNull(left) <= 32) { + _internal.Sort._insertionSort(E, a, left, right, compare); + } else { + _internal.Sort._dualPivotQuicksort(E, a, left, right, compare); + } + } + static _insertionSort(E, a, left, right, compare) { + if (a == null) dart.nullFailed(I[40], 65, 15, "a"); + if (left == null) dart.nullFailed(I[40], 65, 22, "left"); + if (right == null) dart.nullFailed(I[40], 65, 32, "right"); + if (compare == null) dart.nullFailed(I[40], 65, 43, "compare"); + for (let i = dart.notNull(left) + 1; i <= dart.notNull(right); i = i + 1) { + let el = a[$_get](i); + let j = i; + while (j > dart.notNull(left) && dart.notNull(compare(a[$_get](j - 1), el)) > 0) { + a[$_set](j, a[$_get](j - 1)); + j = j - 1; + } + a[$_set](j, el); + } + } + static _dualPivotQuicksort(E, a, left, right, compare) { + let t82, t82$, t82$0, t82$1, t82$2, t82$3, t82$4, t82$5, t82$6; + if (a == null) dart.nullFailed(I[40], 78, 15, "a"); + if (left == null) dart.nullFailed(I[40], 78, 22, "left"); + if (right == null) dart.nullFailed(I[40], 78, 32, "right"); + if (compare == null) dart.nullFailed(I[40], 78, 43, "compare"); + if (!(dart.notNull(right) - dart.notNull(left) > 32)) dart.assertFailed(null, I[40], 79, 12, "right - left > _INSERTION_SORT_THRESHOLD"); + let sixth = ((dart.notNull(right) - dart.notNull(left) + 1) / 6)[$truncate](); + let index1 = dart.notNull(left) + sixth; + let index5 = dart.notNull(right) - sixth; + let index3 = ((dart.notNull(left) + dart.notNull(right)) / 2)[$truncate](); + let index2 = index3 - sixth; + let index4 = index3 + sixth; + let el1 = a[$_get](index1); + let el2 = a[$_get](index2); + let el3 = a[$_get](index3); + let el4 = a[$_get](index4); + let el5 = a[$_get](index5); + if (dart.notNull(compare(el1, el2)) > 0) { + let t = el1; + el1 = el2; + el2 = t; + } + if (dart.notNull(compare(el4, el5)) > 0) { + let t = el4; + el4 = el5; + el5 = t; + } + if (dart.notNull(compare(el1, el3)) > 0) { + let t = el1; + el1 = el3; + el3 = t; + } + if (dart.notNull(compare(el2, el3)) > 0) { + let t = el2; + el2 = el3; + el3 = t; + } + if (dart.notNull(compare(el1, el4)) > 0) { + let t = el1; + el1 = el4; + el4 = t; + } + if (dart.notNull(compare(el3, el4)) > 0) { + let t = el3; + el3 = el4; + el4 = t; + } + if (dart.notNull(compare(el2, el5)) > 0) { + let t = el2; + el2 = el5; + el5 = t; + } + if (dart.notNull(compare(el2, el3)) > 0) { + let t = el2; + el2 = el3; + el3 = t; + } + if (dart.notNull(compare(el4, el5)) > 0) { + let t = el4; + el4 = el5; + el5 = t; + } + let pivot1 = el2; + let pivot2 = el4; + a[$_set](index1, el1); + a[$_set](index3, el3); + a[$_set](index5, el5); + a[$_set](index2, a[$_get](left)); + a[$_set](index4, a[$_get](right)); + let less = dart.notNull(left) + 1; + let great = dart.notNull(right) - 1; + let pivots_are_equal = compare(pivot1, pivot2) === 0; + if (pivots_are_equal) { + let pivot = pivot1; + for (let k = less; k <= great; k = k + 1) { + let ak = a[$_get](k); + let comp = compare(ak, pivot); + if (comp === 0) continue; + if (dart.notNull(comp) < 0) { + if (k !== less) { + a[$_set](k, a[$_get](less)); + a[$_set](less, ak); + } + less = less + 1; + } else { + while (true) { + comp = compare(a[$_get](great), pivot); + if (dart.notNull(comp) > 0) { + great = great - 1; + continue; + } else if (dart.notNull(comp) < 0) { + a[$_set](k, a[$_get](less)); + a[$_set]((t82 = less, less = t82 + 1, t82), a[$_get](great)); + a[$_set]((t82$ = great, great = t82$ - 1, t82$), ak); + break; + } else { + a[$_set](k, a[$_get](great)); + a[$_set]((t82$0 = great, great = t82$0 - 1, t82$0), ak); + break; + } + } + } + } + } else { + for (let k = less; k <= great; k = k + 1) { + let ak = a[$_get](k); + let comp_pivot1 = compare(ak, pivot1); + if (dart.notNull(comp_pivot1) < 0) { + if (k !== less) { + a[$_set](k, a[$_get](less)); + a[$_set](less, ak); + } + less = less + 1; + } else { + let comp_pivot2 = compare(ak, pivot2); + if (dart.notNull(comp_pivot2) > 0) { + while (true) { + let comp = compare(a[$_get](great), pivot2); + if (dart.notNull(comp) > 0) { + great = great - 1; + if (great < k) break; + continue; + } else { + comp = compare(a[$_get](great), pivot1); + if (dart.notNull(comp) < 0) { + a[$_set](k, a[$_get](less)); + a[$_set]((t82$1 = less, less = t82$1 + 1, t82$1), a[$_get](great)); + a[$_set]((t82$2 = great, great = t82$2 - 1, t82$2), ak); + } else { + a[$_set](k, a[$_get](great)); + a[$_set]((t82$3 = great, great = t82$3 - 1, t82$3), ak); + } + break; + } + } + } + } + } + } + a[$_set](left, a[$_get](less - 1)); + a[$_set](less - 1, pivot1); + a[$_set](right, a[$_get](great + 1)); + a[$_set](great + 1, pivot2); + _internal.Sort._doSort(E, a, left, less - 2, compare); + _internal.Sort._doSort(E, a, great + 2, right, compare); + if (pivots_are_equal) { + return; + } + if (less < index1 && great > index5) { + while (compare(a[$_get](less), pivot1) === 0) { + less = less + 1; + } + while (compare(a[$_get](great), pivot2) === 0) { + great = great - 1; + } + for (let k = less; k <= great; k = k + 1) { + let ak = a[$_get](k); + let comp_pivot1 = compare(ak, pivot1); + if (comp_pivot1 === 0) { + if (k !== less) { + a[$_set](k, a[$_get](less)); + a[$_set](less, ak); + } + less = less + 1; + } else { + let comp_pivot2 = compare(ak, pivot2); + if (comp_pivot2 === 0) { + while (true) { + let comp = compare(a[$_get](great), pivot2); + if (comp === 0) { + great = great - 1; + if (great < k) break; + continue; + } else { + comp = compare(a[$_get](great), pivot1); + if (dart.notNull(comp) < 0) { + a[$_set](k, a[$_get](less)); + a[$_set]((t82$4 = less, less = t82$4 + 1, t82$4), a[$_get](great)); + a[$_set]((t82$5 = great, great = t82$5 - 1, t82$5), ak); + } else { + a[$_set](k, a[$_get](great)); + a[$_set]((t82$6 = great, great = t82$6 - 1, t82$6), ak); + } + break; + } + } + } + } + } + _internal.Sort._doSort(E, a, less, great, compare); + } else { + _internal.Sort._doSort(E, a, less, great, compare); + } + } +}; +(_internal.Sort.new = function() { + ; +}).prototype = _internal.Sort.prototype; +dart.addTypeTests(_internal.Sort); +dart.addTypeCaches(_internal.Sort); +dart.setLibraryUri(_internal.Sort, I[25]); +dart.defineLazy(_internal.Sort, { + /*_internal.Sort._INSERTION_SORT_THRESHOLD*/get _INSERTION_SORT_THRESHOLD() { + return 32; + } +}, false); +var _name$0 = dart.privateName(_internal, "Symbol._name"); +_internal.Symbol = class Symbol extends core.Object { + get [_name$]() { + return this[_name$0]; + } + set [_name$](value) { + super[_name$] = value; + } + _equals(other) { + if (other == null) return false; + return _internal.Symbol.is(other) && this[_name$] == other[_name$]; + } + get hashCode() { + let hash = this._hashCode; + if (hash != null) return hash; + hash = 536870911 & 664597 * dart.hashCode(this[_name$]); + this._hashCode = hash; + return hash; + } + toString() { + return "Symbol(\"" + dart.str(this[_name$]) + "\")"; + } + static getName(symbol) { + if (symbol == null) dart.nullFailed(I[42], 119, 32, "symbol"); + return symbol[_name$]; + } + static validatePublicSymbol(name) { + if (name == null) dart.nullFailed(I[42], 121, 45, "name"); + if (name[$isEmpty] || dart.test(_internal.Symbol.publicSymbolPattern.hasMatch(name))) return name; + if (name[$startsWith]("_")) { + dart.throw(new core.ArgumentError.new("\"" + dart.str(name) + "\" is a private identifier")); + } + dart.throw(new core.ArgumentError.new("\"" + dart.str(name) + "\" is not a valid (qualified) symbol name")); + } + static isValidSymbol(name) { + if (name == null) dart.nullFailed(I[42], 137, 36, "name"); + return name[$isEmpty] || dart.test(_internal.Symbol.symbolPattern.hasMatch(name)); + } + static computeUnmangledName(symbol) { + if (symbol == null) dart.nullFailed(I[41], 36, 45, "symbol"); + return symbol[_name$]; + } +}; +(_internal.Symbol.new = function(name) { + if (name == null) dart.nullFailed(I[41], 20, 23, "name"); + this[_name$0] = name; + ; +}).prototype = _internal.Symbol.prototype; +(_internal.Symbol.unvalidated = function(_name) { + if (_name == null) dart.nullFailed(I[42], 107, 33, "_name"); + this[_name$0] = _name; + ; +}).prototype = _internal.Symbol.prototype; +(_internal.Symbol.validated = function(name) { + if (name == null) dart.nullFailed(I[42], 110, 27, "name"); + this[_name$0] = _internal.Symbol.validatePublicSymbol(name); + ; +}).prototype = _internal.Symbol.prototype; +dart.addTypeTests(_internal.Symbol); +dart.addTypeCaches(_internal.Symbol); +_internal.Symbol[dart.implements] = () => [core.Symbol]; +dart.setMethodSignature(_internal.Symbol, () => ({ + __proto__: dart.getMethods(_internal.Symbol.__proto__), + toString: dart.fnType(dart.dynamic, []), + [$toString]: dart.fnType(dart.dynamic, []) +})); +dart.setLibraryUri(_internal.Symbol, I[25]); +dart.setFieldSignature(_internal.Symbol, () => ({ + __proto__: dart.getFields(_internal.Symbol.__proto__), + [_name$]: dart.finalFieldType(core.String) +})); +dart.defineExtensionMethods(_internal.Symbol, ['_equals', 'toString']); +dart.defineExtensionAccessors(_internal.Symbol, ['hashCode']); +dart.defineLazy(_internal.Symbol, { + /*_internal.Symbol.reservedWordRE*/get reservedWordRE() { + return "(?:assert|break|c(?:a(?:se|tch)|lass|on(?:st|tinue))|d(?:efault|o)|e(?:lse|num|xtends)|f(?:alse|inal(?:ly)?|or)|i[fns]|n(?:ew|ull)|ret(?:hrow|urn)|s(?:uper|witch)|t(?:h(?:is|row)|r(?:ue|y))|v(?:ar|oid)|w(?:hile|ith))"; + }, + /*_internal.Symbol.publicIdentifierRE*/get publicIdentifierRE() { + return "(?!(?:assert|break|c(?:a(?:se|tch)|lass|on(?:st|tinue))|d(?:efault|o)|e(?:lse|num|xtends)|f(?:alse|inal(?:ly)?|or)|i[fns]|n(?:ew|ull)|ret(?:hrow|urn)|s(?:uper|witch)|t(?:h(?:is|row)|r(?:ue|y))|v(?:ar|oid)|w(?:hile|ith))\\b(?!\\$))[a-zA-Z$][\\w$]*"; + }, + /*_internal.Symbol.identifierRE*/get identifierRE() { + return "(?!(?:assert|break|c(?:a(?:se|tch)|lass|on(?:st|tinue))|d(?:efault|o)|e(?:lse|num|xtends)|f(?:alse|inal(?:ly)?|or)|i[fns]|n(?:ew|ull)|ret(?:hrow|urn)|s(?:uper|witch)|t(?:h(?:is|row)|r(?:ue|y))|v(?:ar|oid)|w(?:hile|ith))\\b(?!\\$))[a-zA-Z$_][\\w$]*"; + }, + /*_internal.Symbol.operatorRE*/get operatorRE() { + return "(?:[\\-+*/%&|^]|\\[\\]=?|==|~/?|<[<=]?|>(?:|=|>>?)|unary-)"; + }, + /*_internal.Symbol.publicSymbolPattern*/get publicSymbolPattern() { + return core.RegExp.new("^(?:" + dart.str(_internal.Symbol.operatorRE) + "$|" + dart.str(_internal.Symbol.publicIdentifierRE) + "(?:=?$|[.](?!$)))+?$"); + }, + /*_internal.Symbol.symbolPattern*/get symbolPattern() { + return core.RegExp.new("^(?:" + dart.str(_internal.Symbol.operatorRE) + "$|" + dart.str(_internal.Symbol.identifierRE) + "(?:=?$|[.](?!$)))+?$"); + } +}, false); +_internal.createSentinel = function createSentinel(T) { + return dart.throw(new core.UnsupportedError.new("createSentinel")); +}; +_internal.isSentinel = function isSentinel(value) { + return dart.throw(new core.UnsupportedError.new("isSentinel")); +}; +_internal.typeAcceptsNull = function typeAcceptsNull(T) { + return !false || T.is(null); +}; +_internal.hexDigitValue = function hexDigitValue(char) { + if (char == null) dart.nullFailed(I[21], 100, 23, "char"); + if (!(dart.notNull(char) >= 0 && dart.notNull(char) <= 65535)) dart.assertFailed(null, I[21], 101, 10, "char >= 0 && char <= 0xFFFF"); + let digit = (dart.notNull(char) ^ 48) >>> 0; + if (digit <= 9) return digit; + let letter = (dart.notNull(char) | 32) >>> 0; + if (97 <= letter && letter <= 102) return letter - (97 - 10); + return -1; +}; +_internal.parseHexByte = function parseHexByte(source, index) { + if (source == null) dart.nullFailed(I[21], 115, 25, "source"); + if (index == null) dart.nullFailed(I[21], 115, 37, "index"); + if (!(dart.notNull(index) + 2 <= source.length)) dart.assertFailed(null, I[21], 116, 10, "index + 2 <= source.length"); + let digit1 = _internal.hexDigitValue(source[$codeUnitAt](index)); + let digit2 = _internal.hexDigitValue(source[$codeUnitAt](dart.notNull(index) + 1)); + return dart.notNull(digit1) * 16 + dart.notNull(digit2) - (dart.notNull(digit2) & 256); +}; +_internal.extractTypeArguments = function extractTypeArguments$(T, instance, extract) { + if (extract == null) dart.nullFailed(I[41], 57, 54, "extract"); + return dart.extractTypeArguments(T, instance, extract); +}; +_internal.checkNotNullable = function checkNotNullable(T, value, name) { + if (value == null) dart.nullFailed(I[21], 402, 40, "value"); + if (name == null) dart.nullFailed(I[21], 402, 54, "name"); + if (value == null) { + dart.throw(new (_internal.NotNullableError$(T)).new(name)); + } + return value; +}; +_internal.valueOfNonNullableParamWithDefault = function valueOfNonNullableParamWithDefault(T, value, defaultVal) { + if (value == null) dart.nullFailed(I[21], 427, 58, "value"); + if (defaultVal == null) dart.nullFailed(I[21], 427, 67, "defaultVal"); + if (value == null) { + return defaultVal; + } else { + return value; + } +}; +_internal._checkCount = function _checkCount(count) { + if (count == null) dart.nullFailed(I[37], 624, 21, "count"); + core.ArgumentError.checkNotNull(core.int, count, "count"); + core.RangeError.checkNotNegative(count, "count"); + return count; +}; +_internal.makeListFixedLength = function makeListFixedLength(T, growableList) { + if (growableList == null) dart.nullFailed(I[41], 45, 40, "growableList"); + _interceptors.JSArray.markFixedList(growableList); + return growableList; +}; +_internal.makeFixedListUnmodifiable = function makeFixedListUnmodifiable(T, fixedLengthList) { + if (fixedLengthList == null) dart.nullFailed(I[41], 51, 46, "fixedLengthList"); + _interceptors.JSArray.markUnmodifiableList(fixedLengthList); + return fixedLengthList; +}; +_internal.printToConsole = function printToConsole(line) { + if (line == null) dart.nullFailed(I[41], 40, 28, "line"); + _js_primitives.printString(dart.str(line)); +}; +dart.defineLazy(_internal, { + /*_internal.POWERS_OF_TEN*/get POWERS_OF_TEN() { + return C[21] || CT.C21; + }, + /*_internal.nullFuture*/get nullFuture() { + return async.Zone.root.run(T$.FutureOfNull(), dart.fn(() => T$.FutureOfNull().value(null), T$.VoidToFutureOfNull())); + }, + /*_internal.printToZone*/get printToZone() { + return null; + }, + set printToZone(_) {} +}, false); +var _handle = dart.privateName(_isolate_helper, "_handle"); +var _tick = dart.privateName(_isolate_helper, "_tick"); +var _once = dart.privateName(_isolate_helper, "_once"); +_isolate_helper.TimerImpl = class TimerImpl extends core.Object { + get tick() { + return this[_tick]; + } + cancel() { + if (dart.test(_isolate_helper.hasTimer())) { + if (this[_handle] == null) return; + dart.removeAsyncCallback(); + if (dart.test(this[_once])) { + _isolate_helper.global.clearTimeout(this[_handle]); + } else { + _isolate_helper.global.clearInterval(this[_handle]); + } + this[_handle] = null; + } else { + dart.throw(new core.UnsupportedError.new("Canceling a timer.")); + } + } + get isActive() { + return this[_handle] != null; + } +}; +(_isolate_helper.TimerImpl.new = function(milliseconds, callback) { + if (milliseconds == null) dart.nullFailed(I[43], 40, 17, "milliseconds"); + if (callback == null) dart.nullFailed(I[43], 40, 36, "callback"); + this[_handle] = null; + this[_tick] = 0; + this[_once] = true; + if (dart.test(_isolate_helper.hasTimer())) { + let currentHotRestartIteration = dart.hotRestartIteration; + const internalCallback = () => { + this[_handle] = null; + dart.removeAsyncCallback(); + this[_tick] = 1; + if (currentHotRestartIteration == dart.hotRestartIteration) { + callback(); + } + }; + dart.fn(internalCallback, T$.VoidTovoid()); + dart.addAsyncCallback(); + this[_handle] = _isolate_helper.global.setTimeout(internalCallback, milliseconds); + } else { + dart.throw(new core.UnsupportedError.new("`setTimeout()` not found.")); + } +}).prototype = _isolate_helper.TimerImpl.prototype; +(_isolate_helper.TimerImpl.periodic = function(milliseconds, callback) { + if (milliseconds == null) dart.nullFailed(I[43], 61, 26, "milliseconds"); + if (callback == null) dart.nullFailed(I[43], 61, 45, "callback"); + this[_handle] = null; + this[_tick] = 0; + this[_once] = false; + if (dart.test(_isolate_helper.hasTimer())) { + dart.addAsyncCallback(); + let start = Date.now(); + let currentHotRestartIteration = dart.hotRestartIteration; + this[_handle] = _isolate_helper.global.setInterval(dart.fn(() => { + if (currentHotRestartIteration != dart.hotRestartIteration) { + this.cancel(); + return; + } + let tick = dart.notNull(this[_tick]) + 1; + if (dart.notNull(milliseconds) > 0) { + let duration = Date.now() - start; + if (duration > (tick + 1) * dart.notNull(milliseconds)) { + tick = (duration / dart.notNull(milliseconds))[$truncate](); + } + } + this[_tick] = tick; + callback(this); + }, T$.VoidToNull()), milliseconds); + } else { + dart.throw(new core.UnsupportedError.new("Periodic timer.")); + } +}).prototype = _isolate_helper.TimerImpl.prototype; +dart.addTypeTests(_isolate_helper.TimerImpl); +dart.addTypeCaches(_isolate_helper.TimerImpl); +_isolate_helper.TimerImpl[dart.implements] = () => [async.Timer]; +dart.setMethodSignature(_isolate_helper.TimerImpl, () => ({ + __proto__: dart.getMethods(_isolate_helper.TimerImpl.__proto__), + cancel: dart.fnType(dart.void, []) +})); +dart.setGetterSignature(_isolate_helper.TimerImpl, () => ({ + __proto__: dart.getGetters(_isolate_helper.TimerImpl.__proto__), + tick: core.int, + isActive: core.bool +})); +dart.setLibraryUri(_isolate_helper.TimerImpl, I[44]); +dart.setFieldSignature(_isolate_helper.TimerImpl, () => ({ + __proto__: dart.getFields(_isolate_helper.TimerImpl.__proto__), + [_once]: dart.finalFieldType(core.bool), + [_handle]: dart.fieldType(dart.nullable(core.int)), + [_tick]: dart.fieldType(core.int) +})); +_isolate_helper.startRootIsolate = function startRootIsolate(main, args) { + if (args == null) args = T$.JSArrayOfString().of([]); + if (core.List.is(args)) { + if (!T$.ListOfString().is(args)) args = T$.ListOfString().from(args); + if (typeof main == "function") { + main(args, null); + } else { + dart.dcall(main, [args]); + } + } else { + dart.throw(new core.ArgumentError.new("Arguments to main must be a List: " + dart.str(args))); + } +}; +_isolate_helper.hasTimer = function hasTimer() { + return _isolate_helper.global.setTimeout != null; +}; +dart.defineLazy(_isolate_helper, { + /*_isolate_helper.global*/get global() { + return dart.global; + } +}, false); +_js_helper._Patch = class _Patch extends core.Object {}; +(_js_helper._Patch.new = function() { + ; +}).prototype = _js_helper._Patch.prototype; +dart.addTypeTests(_js_helper._Patch); +dart.addTypeCaches(_js_helper._Patch); +dart.setLibraryUri(_js_helper._Patch, I[45]); +var _current$0 = dart.privateName(_js_helper, "_current"); +var _jsIterator$ = dart.privateName(_js_helper, "_jsIterator"); +const _is_DartIterator_default = Symbol('_is_DartIterator_default'); +_js_helper.DartIterator$ = dart.generic(E => { + class DartIterator extends core.Object { + get current() { + return E.as(this[_current$0]); + } + moveNext() { + let ret = this[_jsIterator$].next(); + this[_current$0] = ret.value; + return !ret.done; + } + } + (DartIterator.new = function(_jsIterator) { + this[_current$0] = null; + this[_jsIterator$] = _jsIterator; + ; + }).prototype = DartIterator.prototype; + dart.addTypeTests(DartIterator); + DartIterator.prototype[_is_DartIterator_default] = true; + dart.addTypeCaches(DartIterator); + DartIterator[dart.implements] = () => [core.Iterator$(E)]; + dart.setMethodSignature(DartIterator, () => ({ + __proto__: dart.getMethods(DartIterator.__proto__), + moveNext: dart.fnType(core.bool, []) + })); + dart.setGetterSignature(DartIterator, () => ({ + __proto__: dart.getGetters(DartIterator.__proto__), + current: E + })); + dart.setLibraryUri(DartIterator, I[45]); + dart.setFieldSignature(DartIterator, () => ({ + __proto__: dart.getFields(DartIterator.__proto__), + [_jsIterator$]: dart.finalFieldType(dart.dynamic), + [_current$0]: dart.fieldType(dart.nullable(E)) + })); + return DartIterator; +}); +_js_helper.DartIterator = _js_helper.DartIterator$(); +dart.addTypeTests(_js_helper.DartIterator, _is_DartIterator_default); +var _initGenerator$ = dart.privateName(_js_helper, "_initGenerator"); +const _is_SyncIterable_default = Symbol('_is_SyncIterable_default'); +_js_helper.SyncIterable$ = dart.generic(E => { + var DartIteratorOfE = () => (DartIteratorOfE = dart.constFn(_js_helper.DartIterator$(E)))(); + class SyncIterable extends collection.IterableBase$(E) { + [Symbol.iterator]() { + return this[_initGenerator$](); + } + get iterator() { + return new (DartIteratorOfE()).new(this[_initGenerator$]()); + } + } + (SyncIterable.new = function(_initGenerator) { + if (_initGenerator == null) dart.nullFailed(I[46], 62, 21, "_initGenerator"); + this[_initGenerator$] = _initGenerator; + SyncIterable.__proto__.new.call(this); + ; + }).prototype = SyncIterable.prototype; + dart.addTypeTests(SyncIterable); + SyncIterable.prototype[_is_SyncIterable_default] = true; + dart.addTypeCaches(SyncIterable); + dart.setMethodSignature(SyncIterable, () => ({ + __proto__: dart.getMethods(SyncIterable.__proto__), + [Symbol.iterator]: dart.fnType(dart.dynamic, []) + })); + dart.setGetterSignature(SyncIterable, () => ({ + __proto__: dart.getGetters(SyncIterable.__proto__), + iterator: core.Iterator$(E), + [$iterator]: core.Iterator$(E) + })); + dart.setLibraryUri(SyncIterable, I[45]); + dart.setFieldSignature(SyncIterable, () => ({ + __proto__: dart.getFields(SyncIterable.__proto__), + [_initGenerator$]: dart.finalFieldType(dart.fnType(dart.dynamic, [])) + })); + dart.defineExtensionAccessors(SyncIterable, ['iterator']); + return SyncIterable; +}); +_js_helper.SyncIterable = _js_helper.SyncIterable$(); +dart.addTypeTests(_js_helper.SyncIterable, _is_SyncIterable_default); +_js_helper.Primitives = class Primitives extends core.Object { + static parseInt(source, _radix) { + if (source == null) dart.argumentError(source); + let re = /^\s*[+-]?((0x[a-f0-9]+)|(\d+)|([a-z0-9]+))\s*$/i; + let match = re.exec(source); + let digitsIndex = 1; + let hexIndex = 2; + let decimalIndex = 3; + if (match == null) { + return null; + } + let decimalMatch = match[$_get](decimalIndex); + if (_radix == null) { + if (decimalMatch != null) { + return parseInt(source, 10); + } + if (match[$_get](hexIndex) != null) { + return parseInt(source, 16); + } + return null; + } + let radix = _radix; + if (radix < 2 || radix > 36) { + dart.throw(new core.RangeError.range(radix, 2, 36, "radix")); + } + if (radix === 10 && decimalMatch != null) { + return parseInt(source, 10); + } + if (radix < 10 || decimalMatch == null) { + let maxCharCode = null; + if (radix <= 10) { + maxCharCode = 48 - 1 + radix; + } else { + maxCharCode = 97 - 10 - 1 + radix; + } + if (!(typeof match[$_get](digitsIndex) == 'string')) dart.assertFailed(null, I[46], 127, 14, "match[digitsIndex] is String"); + let digitsPart = match[digitsIndex]; + for (let i = 0; i < digitsPart.length; i = i + 1) { + let characterCode = (digitsPart[$codeUnitAt](i) | 32) >>> 0; + if (characterCode > dart.notNull(maxCharCode)) { + return null; + } + } + } + return parseInt(source, radix); + } + static parseDouble(source) { + if (source == null) dart.argumentError(source); + if (!/^\s*[+-]?(?:Infinity|NaN|(?:\.\d+|\d+(?:\.\d*)?)(?:[eE][+-]?\d+)?)\s*$/.test(source)) { + return null; + } + let result = parseFloat(source); + if (result[$isNaN]) { + let trimmed = source[$trim](); + if (trimmed === "NaN" || trimmed === "+NaN" || trimmed === "-NaN") { + return result; + } + return null; + } + return result; + } + static dateNow() { + return Date.now(); + } + static initTicker() { + if (_js_helper.Primitives.timerFrequency !== 0) return; + _js_helper.Primitives.timerFrequency = 1000; + if (typeof window == "undefined") return; + let jsWindow = window; + if (jsWindow == null) return; + let performance = jsWindow.performance; + if (performance == null) return; + if (typeof performance.now != "function") return; + _js_helper.Primitives.timerFrequency = 1000000; + _js_helper.Primitives.timerTicks = dart.fn(() => (1000 * performance.now())[$floor](), T$.VoidToint()); + } + static get isD8() { + return typeof version == "function" && typeof os == "object" && "system" in os; + } + static get isJsshell() { + return typeof version == "function" && typeof system == "function"; + } + static currentUri() { + if (!!dart.global.location) { + return dart.global.location.href; + } + return ""; + } + static _fromCharCodeApply(array) { + if (array == null) dart.nullFailed(I[46], 214, 46, "array"); + let end = dart.notNull(array[$length]); + if (end <= 500) { + return String.fromCharCode.apply(null, array); + } + let result = ""; + for (let i = 0; i < end; i = i + 500) { + let chunkEnd = i + 500 < end ? i + 500 : end; + result = result + String.fromCharCode.apply(null, array.slice(i, chunkEnd)); + } + return result; + } + static stringFromCodePoints(codePoints) { + if (codePoints == null) dart.nullFailed(I[46], 236, 51, "codePoints"); + let a = T$.JSArrayOfint().of([]); + for (let i of codePoints) { + if (i == null) dart.argumentError(i); + { + if (i <= 65535) { + a[$add](i); + } else if (i <= 1114111) { + a[$add](55296 + (i - 65536 >> 10 & 1023)); + a[$add](56320 + (i & 1023)); + } else { + dart.throw(_js_helper.argumentErrorValue(i)); + } + } + } + return _js_helper.Primitives._fromCharCodeApply(a); + } + static stringFromCharCodes(charCodes) { + if (charCodes == null) dart.nullFailed(I[46], 252, 50, "charCodes"); + for (let i of charCodes) { + if (i == null) dart.argumentError(i); + { + if (i < 0) dart.throw(_js_helper.argumentErrorValue(i)); + if (i > 65535) return _js_helper.Primitives.stringFromCodePoints(charCodes); + } + } + return _js_helper.Primitives._fromCharCodeApply(charCodes); + } + static stringFromNativeUint8List(charCodes, start, end) { + if (charCodes == null) dart.nullFailed(I[46], 263, 23, "charCodes"); + if (start == null) dart.argumentError(start); + if (end == null) dart.argumentError(end); + if (end <= 500 && start === 0 && end === charCodes[$length]) { + return String.fromCharCode.apply(null, charCodes); + } + let result = ""; + for (let i = start; i < end; i = i + 500) { + let chunkEnd = i + 500 < end ? i + 500 : end; + result = result + String.fromCharCode.apply(null, charCodes.subarray(i, chunkEnd)); + } + return result; + } + static stringFromCharCode(charCode) { + if (charCode == null) dart.argumentError(charCode); + if (0 <= charCode) { + if (charCode <= 65535) { + return String.fromCharCode(charCode); + } + if (charCode <= 1114111) { + let bits = charCode - 65536; + let low = 56320 | bits & 1023; + let high = (55296 | bits[$rightShift](10)) >>> 0; + return String.fromCharCode(high, low); + } + } + dart.throw(new core.RangeError.range(charCode, 0, 1114111)); + } + static flattenString(str) { + if (str == null) dart.nullFailed(I[46], 298, 38, "str"); + return str.charCodeAt(0) == 0 ? str : str; + } + static getTimeZoneName(receiver) { + if (receiver == null) dart.nullFailed(I[46], 302, 42, "receiver"); + let d = _js_helper.Primitives.lazyAsJsDate(receiver); + let match = /\((.*)\)/.exec(d.toString()); + if (match != null) return match[$_get](1); + match = /^[A-Z,a-z]{3}\s[A-Z,a-z]{3}\s\d+\s\d{2}:\d{2}:\d{2}\s([A-Z]{3,5})\s\d{4}$/.exec(d.toString()); + if (match != null) return match[$_get](1); + match = /(?:GMT|UTC)[+-]\d{4}/.exec(d.toString()); + if (match != null) return match[$_get](0); + return ""; + } + static getTimeZoneOffsetInMinutes(receiver) { + if (receiver == null) dart.nullFailed(I[46], 342, 50, "receiver"); + return -_js_helper.Primitives.lazyAsJsDate(receiver).getTimezoneOffset(); + } + static valueFromDecomposedDate(years, month, day, hours, minutes, seconds, milliseconds, isUtc) { + if (years == null) dart.argumentError(years); + if (month == null) dart.argumentError(month); + if (day == null) dart.argumentError(day); + if (hours == null) dart.argumentError(hours); + if (minutes == null) dart.argumentError(minutes); + if (seconds == null) dart.argumentError(seconds); + if (milliseconds == null) dart.argumentError(milliseconds); + if (isUtc == null) dart.argumentError(isUtc); + let MAX_MILLISECONDS_SINCE_EPOCH = 8640000000000000; + let jsMonth = month - 1; + if (0 <= years && years < 100) { + years = years + 400; + jsMonth = jsMonth - 400 * 12; + } + let value = null; + if (isUtc) { + value = Date.UTC(years, jsMonth, day, hours, minutes, seconds, milliseconds); + } else { + value = new Date(years, jsMonth, day, hours, minutes, seconds, milliseconds).valueOf(); + } + if (value[$isNaN] || dart.notNull(value) < -MAX_MILLISECONDS_SINCE_EPOCH || dart.notNull(value) > MAX_MILLISECONDS_SINCE_EPOCH) { + return null; + } + if (years <= 0 || years < 100) return _js_helper.Primitives.patchUpY2K(value, years, isUtc); + return value; + } + static patchUpY2K(value, years, isUtc) { + let date = new Date(value); + if (dart.dtest(isUtc)) { + date.setUTCFullYear(years); + } else { + date.setFullYear(years); + } + return date.valueOf(); + } + static lazyAsJsDate(receiver) { + if (receiver == null) dart.nullFailed(I[46], 394, 32, "receiver"); + if (receiver.date === void 0) { + receiver.date = new Date(receiver.millisecondsSinceEpoch); + } + return receiver.date; + } + static getYear(receiver) { + if (receiver == null) dart.nullFailed(I[46], 406, 31, "receiver"); + return dart.test(receiver.isUtc) ? _js_helper.Primitives.lazyAsJsDate(receiver).getUTCFullYear() + 0 : _js_helper.Primitives.lazyAsJsDate(receiver).getFullYear() + 0; + } + static getMonth(receiver) { + if (receiver == null) dart.nullFailed(I[46], 412, 32, "receiver"); + return dart.test(receiver.isUtc) ? _js_helper.Primitives.lazyAsJsDate(receiver).getUTCMonth() + 1 : _js_helper.Primitives.lazyAsJsDate(receiver).getMonth() + 1; + } + static getDay(receiver) { + if (receiver == null) dart.nullFailed(I[46], 418, 30, "receiver"); + return dart.test(receiver.isUtc) ? _js_helper.Primitives.lazyAsJsDate(receiver).getUTCDate() + 0 : _js_helper.Primitives.lazyAsJsDate(receiver).getDate() + 0; + } + static getHours(receiver) { + if (receiver == null) dart.nullFailed(I[46], 424, 32, "receiver"); + return dart.test(receiver.isUtc) ? _js_helper.Primitives.lazyAsJsDate(receiver).getUTCHours() + 0 : _js_helper.Primitives.lazyAsJsDate(receiver).getHours() + 0; + } + static getMinutes(receiver) { + if (receiver == null) dart.nullFailed(I[46], 430, 34, "receiver"); + return dart.test(receiver.isUtc) ? _js_helper.Primitives.lazyAsJsDate(receiver).getUTCMinutes() + 0 : _js_helper.Primitives.lazyAsJsDate(receiver).getMinutes() + 0; + } + static getSeconds(receiver) { + if (receiver == null) dart.nullFailed(I[46], 436, 34, "receiver"); + return dart.test(receiver.isUtc) ? _js_helper.Primitives.lazyAsJsDate(receiver).getUTCSeconds() + 0 : _js_helper.Primitives.lazyAsJsDate(receiver).getSeconds() + 0; + } + static getMilliseconds(receiver) { + if (receiver == null) dart.nullFailed(I[46], 442, 39, "receiver"); + return dart.test(receiver.isUtc) ? _js_helper.Primitives.lazyAsJsDate(receiver).getUTCMilliseconds() + 0 : _js_helper.Primitives.lazyAsJsDate(receiver).getMilliseconds() + 0; + } + static getWeekday(receiver) { + if (receiver == null) dart.nullFailed(I[46], 448, 34, "receiver"); + let weekday = dart.test(receiver.isUtc) ? _js_helper.Primitives.lazyAsJsDate(receiver).getUTCDay() + 0 : _js_helper.Primitives.lazyAsJsDate(receiver).getDay() + 0; + return (weekday + 6)[$modulo](7) + 1; + } + static valueFromDateString(str) { + if (!(typeof str == 'string')) dart.throw(_js_helper.argumentErrorValue(str)); + let value = Date.parse(str); + if (value[$isNaN]) dart.throw(_js_helper.argumentErrorValue(str)); + return value; + } + static getProperty(object, key) { + if (key == null) dart.nullFailed(I[46], 463, 53, "key"); + if (object == null || typeof object == 'boolean' || typeof object == 'number' || typeof object == 'string') { + dart.throw(_js_helper.argumentErrorValue(object)); + } + return object[key]; + } + static setProperty(object, key, value) { + if (object == null || typeof object == 'boolean' || typeof object == 'number' || typeof object == 'string') { + dart.throw(_js_helper.argumentErrorValue(object)); + } + object[key] = value; + } +}; +(_js_helper.Primitives.new = function() { + ; +}).prototype = _js_helper.Primitives.prototype; +dart.addTypeTests(_js_helper.Primitives); +dart.addTypeCaches(_js_helper.Primitives); +dart.setLibraryUri(_js_helper.Primitives, I[45]); +dart.defineLazy(_js_helper.Primitives, { + /*_js_helper.Primitives.DOLLAR_CHAR_VALUE*/get DOLLAR_CHAR_VALUE() { + return 36; + }, + /*_js_helper.Primitives.timerFrequency*/get timerFrequency() { + return 0; + }, + set timerFrequency(_) {}, + /*_js_helper.Primitives.timerTicks*/get timerTicks() { + return C[22] || CT.C22; + }, + set timerTicks(_) {} +}, false); +var _receiver$0 = dart.privateName(_js_helper, "JsNoSuchMethodError._receiver"); +var _message$0 = dart.privateName(_js_helper, "_message"); +var _method = dart.privateName(_js_helper, "_method"); +var _receiver$1 = dart.privateName(_js_helper, "_receiver"); +var _arguments$0 = dart.privateName(_js_helper, "_arguments"); +var _memberName$0 = dart.privateName(_js_helper, "_memberName"); +var _invocation$0 = dart.privateName(_js_helper, "_invocation"); +var _namedArguments$0 = dart.privateName(_js_helper, "_namedArguments"); +_js_helper.JsNoSuchMethodError = class JsNoSuchMethodError extends core.Error { + get [_receiver$1]() { + return this[_receiver$0]; + } + set [_receiver$1](value) { + super[_receiver$1] = value; + } + toString() { + if (this[_method] == null) return "NoSuchMethodError: " + dart.str(this[_message$0]); + if (this[_receiver$1] == null) { + return "NoSuchMethodError: method not found: '" + dart.str(this[_method]) + "' (" + dart.str(this[_message$0]) + ")"; + } + return "NoSuchMethodError: " + "method not found: '" + dart.str(this[_method]) + "' on '" + dart.str(this[_receiver$1]) + "' (" + dart.str(this[_message$0]) + ")"; + } + get [_receiver$]() { + return this[$noSuchMethod](new core._Invocation.getter(C[23] || CT.C23)); + } + get [_arguments$]() { + return T$.ListN().as(this[$noSuchMethod](new core._Invocation.getter(C[24] || CT.C24))); + } + get [_memberName$]() { + return core.Symbol.as(this[$noSuchMethod](new core._Invocation.getter(C[25] || CT.C25))); + } + get [_invocation$]() { + return T$.InvocationN().as(this[$noSuchMethod](new core._Invocation.getter(C[26] || CT.C26))); + } + get [_namedArguments$]() { + return T$.MapNOfSymbol$dynamic().as(this[$noSuchMethod](new core._Invocation.getter(C[27] || CT.C27))); + } +}; +(_js_helper.JsNoSuchMethodError.new = function(_message, match) { + this[_message$0] = _message; + this[_method] = match == null ? null : match.method; + this[_receiver$0] = match == null ? null : match.receiver; + _js_helper.JsNoSuchMethodError.__proto__.new.call(this); + ; +}).prototype = _js_helper.JsNoSuchMethodError.prototype; +dart.addTypeTests(_js_helper.JsNoSuchMethodError); +dart.addTypeCaches(_js_helper.JsNoSuchMethodError); +_js_helper.JsNoSuchMethodError[dart.implements] = () => [core.NoSuchMethodError]; +dart.setGetterSignature(_js_helper.JsNoSuchMethodError, () => ({ + __proto__: dart.getGetters(_js_helper.JsNoSuchMethodError.__proto__), + [_receiver$]: dart.nullable(core.Object), + [_arguments$]: dart.nullable(core.List), + [_memberName$]: core.Symbol, + [_invocation$]: dart.nullable(core.Invocation), + [_namedArguments$]: dart.nullable(core.Map$(core.Symbol, dart.dynamic)) +})); +dart.setLibraryUri(_js_helper.JsNoSuchMethodError, I[45]); +dart.setFieldSignature(_js_helper.JsNoSuchMethodError, () => ({ + __proto__: dart.getFields(_js_helper.JsNoSuchMethodError.__proto__), + [_message$0]: dart.finalFieldType(dart.nullable(core.String)), + [_method]: dart.finalFieldType(dart.nullable(core.String)), + [_receiver$1]: dart.finalFieldType(dart.nullable(core.String)) +})); +dart.defineExtensionMethods(_js_helper.JsNoSuchMethodError, ['toString']); +_js_helper.UnknownJsTypeError = class UnknownJsTypeError extends core.Error { + toString() { + return this[_message$0][$isEmpty] ? "Error" : "Error: " + dart.str(this[_message$0]); + } +}; +(_js_helper.UnknownJsTypeError.new = function(_message) { + if (_message == null) dart.nullFailed(I[46], 570, 27, "_message"); + this[_message$0] = _message; + _js_helper.UnknownJsTypeError.__proto__.new.call(this); + ; +}).prototype = _js_helper.UnknownJsTypeError.prototype; +dart.addTypeTests(_js_helper.UnknownJsTypeError); +dart.addTypeCaches(_js_helper.UnknownJsTypeError); +dart.setLibraryUri(_js_helper.UnknownJsTypeError, I[45]); +dart.setFieldSignature(_js_helper.UnknownJsTypeError, () => ({ + __proto__: dart.getFields(_js_helper.UnknownJsTypeError.__proto__), + [_message$0]: dart.finalFieldType(core.String) +})); +dart.defineExtensionMethods(_js_helper.UnknownJsTypeError, ['toString']); +var types$0 = dart.privateName(_js_helper, "Creates.types"); +_js_helper.Creates = class Creates extends core.Object { + get types() { + return this[types$0]; + } + set types(value) { + super.types = value; + } +}; +(_js_helper.Creates.new = function(types) { + if (types == null) dart.nullFailed(I[46], 644, 22, "types"); + this[types$0] = types; + ; +}).prototype = _js_helper.Creates.prototype; +dart.addTypeTests(_js_helper.Creates); +dart.addTypeCaches(_js_helper.Creates); +dart.setLibraryUri(_js_helper.Creates, I[45]); +dart.setFieldSignature(_js_helper.Creates, () => ({ + __proto__: dart.getFields(_js_helper.Creates.__proto__), + types: dart.finalFieldType(core.String) +})); +var types$1 = dart.privateName(_js_helper, "Returns.types"); +_js_helper.Returns = class Returns extends core.Object { + get types() { + return this[types$1]; + } + set types(value) { + super.types = value; + } +}; +(_js_helper.Returns.new = function(types) { + if (types == null) dart.nullFailed(I[46], 670, 22, "types"); + this[types$1] = types; + ; +}).prototype = _js_helper.Returns.prototype; +dart.addTypeTests(_js_helper.Returns); +dart.addTypeCaches(_js_helper.Returns); +dart.setLibraryUri(_js_helper.Returns, I[45]); +dart.setFieldSignature(_js_helper.Returns, () => ({ + __proto__: dart.getFields(_js_helper.Returns.__proto__), + types: dart.finalFieldType(core.String) +})); +var name$6 = dart.privateName(_js_helper, "JSName.name"); +_js_helper.JSName = class JSName extends core.Object { + get name() { + return this[name$6]; + } + set name(value) { + super.name = value; + } +}; +(_js_helper.JSName.new = function(name) { + if (name == null) dart.nullFailed(I[46], 687, 21, "name"); + this[name$6] = name; + ; +}).prototype = _js_helper.JSName.prototype; +dart.addTypeTests(_js_helper.JSName); +dart.addTypeCaches(_js_helper.JSName); +dart.setLibraryUri(_js_helper.JSName, I[45]); +dart.setFieldSignature(_js_helper.JSName, () => ({ + __proto__: dart.getFields(_js_helper.JSName.__proto__), + name: dart.finalFieldType(core.String) +})); +const _is_JavaScriptIndexingBehavior_default = Symbol('_is_JavaScriptIndexingBehavior_default'); +_js_helper.JavaScriptIndexingBehavior$ = dart.generic(E => { + class JavaScriptIndexingBehavior extends _interceptors.JSMutableIndexable$(E) {} + (JavaScriptIndexingBehavior.new = function() { + ; + }).prototype = JavaScriptIndexingBehavior.prototype; + dart.addTypeTests(JavaScriptIndexingBehavior); + JavaScriptIndexingBehavior.prototype[_is_JavaScriptIndexingBehavior_default] = true; + dart.addTypeCaches(JavaScriptIndexingBehavior); + dart.setLibraryUri(JavaScriptIndexingBehavior, I[45]); + return JavaScriptIndexingBehavior; +}); +_js_helper.JavaScriptIndexingBehavior = _js_helper.JavaScriptIndexingBehavior$(); +dart.addTypeTests(_js_helper.JavaScriptIndexingBehavior, _is_JavaScriptIndexingBehavior_default); +_js_helper.TypeErrorImpl = class TypeErrorImpl extends core.Error { + toString() { + return this[_message$0]; + } +}; +(_js_helper.TypeErrorImpl.new = function(_message) { + if (_message == null) dart.nullFailed(I[46], 701, 22, "_message"); + this[_message$0] = _message; + _js_helper.TypeErrorImpl.__proto__.new.call(this); + ; +}).prototype = _js_helper.TypeErrorImpl.prototype; +dart.addTypeTests(_js_helper.TypeErrorImpl); +dart.addTypeCaches(_js_helper.TypeErrorImpl); +_js_helper.TypeErrorImpl[dart.implements] = () => [core.TypeError, core.CastError]; +dart.setLibraryUri(_js_helper.TypeErrorImpl, I[45]); +dart.setFieldSignature(_js_helper.TypeErrorImpl, () => ({ + __proto__: dart.getFields(_js_helper.TypeErrorImpl.__proto__), + [_message$0]: dart.finalFieldType(core.String) +})); +dart.defineExtensionMethods(_js_helper.TypeErrorImpl, ['toString']); +_js_helper.CastErrorImpl = class CastErrorImpl extends core.Error { + toString() { + return this[_message$0]; + } +}; +(_js_helper.CastErrorImpl.new = function(_message) { + if (_message == null) dart.nullFailed(I[46], 710, 22, "_message"); + this[_message$0] = _message; + _js_helper.CastErrorImpl.__proto__.new.call(this); + ; +}).prototype = _js_helper.CastErrorImpl.prototype; +dart.addTypeTests(_js_helper.CastErrorImpl); +dart.addTypeCaches(_js_helper.CastErrorImpl); +_js_helper.CastErrorImpl[dart.implements] = () => [core.CastError, core.TypeError]; +dart.setLibraryUri(_js_helper.CastErrorImpl, I[45]); +dart.setFieldSignature(_js_helper.CastErrorImpl, () => ({ + __proto__: dart.getFields(_js_helper.CastErrorImpl.__proto__), + [_message$0]: dart.finalFieldType(core.String) +})); +dart.defineExtensionMethods(_js_helper.CastErrorImpl, ['toString']); +core.FallThroughError = class FallThroughError extends core.Error { + toString() { + return super[$toString](); + } +}; +(core.FallThroughError.new = function() { + core.FallThroughError.__proto__.new.call(this); + ; +}).prototype = core.FallThroughError.prototype; +(core.FallThroughError._create = function(url, line) { + if (url == null) dart.nullFailed(I[7], 292, 35, "url"); + if (line == null) dart.nullFailed(I[7], 292, 44, "line"); + core.FallThroughError.__proto__.new.call(this); + ; +}).prototype = core.FallThroughError.prototype; +dart.addTypeTests(core.FallThroughError); +dart.addTypeCaches(core.FallThroughError); +dart.setLibraryUri(core.FallThroughError, I[8]); +dart.defineExtensionMethods(core.FallThroughError, ['toString']); +_js_helper.FallThroughErrorImplementation = class FallThroughErrorImplementation extends core.FallThroughError { + toString() { + return "Switch case fall-through."; + } +}; +(_js_helper.FallThroughErrorImplementation.new = function() { + _js_helper.FallThroughErrorImplementation.__proto__.new.call(this); + ; +}).prototype = _js_helper.FallThroughErrorImplementation.prototype; +dart.addTypeTests(_js_helper.FallThroughErrorImplementation); +dart.addTypeCaches(_js_helper.FallThroughErrorImplementation); +dart.setLibraryUri(_js_helper.FallThroughErrorImplementation, I[45]); +dart.defineExtensionMethods(_js_helper.FallThroughErrorImplementation, ['toString']); +var message$ = dart.privateName(_js_helper, "RuntimeError.message"); +_js_helper.RuntimeError = class RuntimeError extends core.Error { + get message() { + return this[message$]; + } + set message(value) { + super.message = value; + } + toString() { + return "RuntimeError: " + dart.str(this.message); + } +}; +(_js_helper.RuntimeError.new = function(message) { + this[message$] = message; + _js_helper.RuntimeError.__proto__.new.call(this); + ; +}).prototype = _js_helper.RuntimeError.prototype; +dart.addTypeTests(_js_helper.RuntimeError); +dart.addTypeCaches(_js_helper.RuntimeError); +dart.setLibraryUri(_js_helper.RuntimeError, I[45]); +dart.setFieldSignature(_js_helper.RuntimeError, () => ({ + __proto__: dart.getFields(_js_helper.RuntimeError.__proto__), + message: dart.finalFieldType(dart.dynamic) +})); +dart.defineExtensionMethods(_js_helper.RuntimeError, ['toString']); +var enclosingLibrary$ = dart.privateName(_js_helper, "DeferredNotLoadedError.enclosingLibrary"); +var importPrefix$ = dart.privateName(_js_helper, "DeferredNotLoadedError.importPrefix"); +_js_helper.DeferredNotLoadedError = class DeferredNotLoadedError extends core.Error { + get enclosingLibrary() { + return this[enclosingLibrary$]; + } + set enclosingLibrary(value) { + this[enclosingLibrary$] = value; + } + get importPrefix() { + return this[importPrefix$]; + } + set importPrefix(value) { + this[importPrefix$] = value; + } + toString() { + return "Deferred import " + dart.str(this.importPrefix) + " (from " + dart.str(this.enclosingLibrary) + ") was not loaded."; + } + get [_receiver$]() { + return this[$noSuchMethod](new core._Invocation.getter(C[23] || CT.C23)); + } + get [_arguments$]() { + return T$.ListN().as(this[$noSuchMethod](new core._Invocation.getter(C[24] || CT.C24))); + } + get [_memberName$]() { + return core.Symbol.as(this[$noSuchMethod](new core._Invocation.getter(C[25] || CT.C25))); + } + get [_invocation$]() { + return T$.InvocationN().as(this[$noSuchMethod](new core._Invocation.getter(C[26] || CT.C26))); + } + get [_namedArguments$]() { + return T$.MapNOfSymbol$dynamic().as(this[$noSuchMethod](new core._Invocation.getter(C[27] || CT.C27))); + } +}; +(_js_helper.DeferredNotLoadedError.new = function(enclosingLibrary, importPrefix) { + if (enclosingLibrary == null) dart.nullFailed(I[46], 732, 31, "enclosingLibrary"); + if (importPrefix == null) dart.nullFailed(I[46], 732, 54, "importPrefix"); + this[enclosingLibrary$] = enclosingLibrary; + this[importPrefix$] = importPrefix; + _js_helper.DeferredNotLoadedError.__proto__.new.call(this); + ; +}).prototype = _js_helper.DeferredNotLoadedError.prototype; +dart.addTypeTests(_js_helper.DeferredNotLoadedError); +dart.addTypeCaches(_js_helper.DeferredNotLoadedError); +_js_helper.DeferredNotLoadedError[dart.implements] = () => [core.NoSuchMethodError]; +dart.setGetterSignature(_js_helper.DeferredNotLoadedError, () => ({ + __proto__: dart.getGetters(_js_helper.DeferredNotLoadedError.__proto__), + [_receiver$]: dart.nullable(core.Object), + [_arguments$]: dart.nullable(core.List), + [_memberName$]: core.Symbol, + [_invocation$]: dart.nullable(core.Invocation), + [_namedArguments$]: dart.nullable(core.Map$(core.Symbol, dart.dynamic)) +})); +dart.setLibraryUri(_js_helper.DeferredNotLoadedError, I[45]); +dart.setFieldSignature(_js_helper.DeferredNotLoadedError, () => ({ + __proto__: dart.getFields(_js_helper.DeferredNotLoadedError.__proto__), + enclosingLibrary: dart.fieldType(core.String), + importPrefix: dart.fieldType(core.String) +})); +dart.defineExtensionMethods(_js_helper.DeferredNotLoadedError, ['toString']); +var _fileUri$ = dart.privateName(_js_helper, "_fileUri"); +var _line$ = dart.privateName(_js_helper, "_line"); +var _column$ = dart.privateName(_js_helper, "_column"); +var _conditionSource$ = dart.privateName(_js_helper, "_conditionSource"); +var message$0 = dart.privateName(core, "AssertionError.message"); +core.AssertionError = class AssertionError extends core.Error { + get message() { + return this[message$0]; + } + set message(value) { + super.message = value; + } + toString() { + if (this.message != null) { + return "Assertion failed: " + dart.str(core.Error.safeToString(this.message)); + } + return "Assertion failed"; + } +}; +(core.AssertionError.new = function(message = null) { + this[message$0] = message; + core.AssertionError.__proto__.new.call(this); + ; +}).prototype = core.AssertionError.prototype; +dart.addTypeTests(core.AssertionError); +dart.addTypeCaches(core.AssertionError); +dart.setLibraryUri(core.AssertionError, I[8]); +dart.setFieldSignature(core.AssertionError, () => ({ + __proto__: dart.getFields(core.AssertionError.__proto__), + message: dart.finalFieldType(dart.nullable(core.Object)) +})); +dart.defineExtensionMethods(core.AssertionError, ['toString']); +_js_helper.AssertionErrorImpl = class AssertionErrorImpl extends core.AssertionError { + toString() { + let failureMessage = ""; + if (this[_fileUri$] != null && this[_line$] != null && this[_column$] != null && this[_conditionSource$] != null) { + failureMessage = failureMessage + (dart.str(this[_fileUri$]) + ":" + dart.str(this[_line$]) + ":" + dart.str(this[_column$]) + "\n" + dart.str(this[_conditionSource$]) + "\n"); + } + failureMessage = failureMessage + dart.notNull(this.message != null ? core.Error.safeToString(this.message) : "is not true"); + return "Assertion failed: " + failureMessage; + } +}; +(_js_helper.AssertionErrorImpl.new = function(message, _fileUri = null, _line = null, _column = null, _conditionSource = null) { + this[_fileUri$] = _fileUri; + this[_line$] = _line; + this[_column$] = _column; + this[_conditionSource$] = _conditionSource; + _js_helper.AssertionErrorImpl.__proto__.new.call(this, message); + ; +}).prototype = _js_helper.AssertionErrorImpl.prototype; +dart.addTypeTests(_js_helper.AssertionErrorImpl); +dart.addTypeCaches(_js_helper.AssertionErrorImpl); +dart.setLibraryUri(_js_helper.AssertionErrorImpl, I[45]); +dart.setFieldSignature(_js_helper.AssertionErrorImpl, () => ({ + __proto__: dart.getFields(_js_helper.AssertionErrorImpl.__proto__), + [_fileUri$]: dart.finalFieldType(dart.nullable(core.String)), + [_line$]: dart.finalFieldType(dart.nullable(core.int)), + [_column$]: dart.finalFieldType(dart.nullable(core.int)), + [_conditionSource$]: dart.finalFieldType(dart.nullable(core.String)) +})); +dart.defineExtensionMethods(_js_helper.AssertionErrorImpl, ['toString']); +_js_helper.BooleanConversionAssertionError = class BooleanConversionAssertionError extends core.AssertionError { + toString() { + return "Failed assertion: boolean expression must not be null"; + } +}; +(_js_helper.BooleanConversionAssertionError.new = function() { + _js_helper.BooleanConversionAssertionError.__proto__.new.call(this); + ; +}).prototype = _js_helper.BooleanConversionAssertionError.prototype; +dart.addTypeTests(_js_helper.BooleanConversionAssertionError); +dart.addTypeCaches(_js_helper.BooleanConversionAssertionError); +dart.setLibraryUri(_js_helper.BooleanConversionAssertionError, I[45]); +dart.defineExtensionMethods(_js_helper.BooleanConversionAssertionError, ['toString']); +var _name$1 = dart.privateName(_js_helper, "PrivateSymbol._name"); +var _nativeSymbol$ = dart.privateName(_js_helper, "PrivateSymbol._nativeSymbol"); +var _name = dart.privateName(_js_helper, "_name"); +var _nativeSymbol = dart.privateName(_js_helper, "_nativeSymbol"); +_js_helper.PrivateSymbol = class PrivateSymbol extends core.Object { + get [_name]() { + return this[_name$1]; + } + set [_name](value) { + super[_name] = value; + } + get [_nativeSymbol]() { + return this[_nativeSymbol$]; + } + set [_nativeSymbol](value) { + super[_nativeSymbol] = value; + } + static getName(symbol) { + if (symbol == null) dart.nullFailed(I[46], 815, 32, "symbol"); + return _js_helper.PrivateSymbol.as(symbol)[_name]; + } + static getNativeSymbol(symbol) { + if (symbol == null) dart.nullFailed(I[46], 817, 41, "symbol"); + if (_js_helper.PrivateSymbol.is(symbol)) return symbol[_nativeSymbol]; + return null; + } + _equals(other) { + if (other == null) return false; + return _js_helper.PrivateSymbol.is(other) && this[_name] == other[_name] && core.identical(this[_nativeSymbol], other[_nativeSymbol]); + } + get hashCode() { + return dart.hashCode(this[_name]); + } + toString() { + return "Symbol(\"" + dart.str(this[_name]) + "\")"; + } +}; +(_js_helper.PrivateSymbol.new = function(_name, _nativeSymbol) { + if (_name == null) dart.nullFailed(I[46], 813, 28, "_name"); + if (_nativeSymbol == null) dart.nullFailed(I[46], 813, 40, "_nativeSymbol"); + this[_name$1] = _name; + this[_nativeSymbol$] = _nativeSymbol; + ; +}).prototype = _js_helper.PrivateSymbol.prototype; +dart.addTypeTests(_js_helper.PrivateSymbol); +dart.addTypeCaches(_js_helper.PrivateSymbol); +_js_helper.PrivateSymbol[dart.implements] = () => [core.Symbol]; +dart.setLibraryUri(_js_helper.PrivateSymbol, I[45]); +dart.setFieldSignature(_js_helper.PrivateSymbol, () => ({ + __proto__: dart.getFields(_js_helper.PrivateSymbol.__proto__), + [_name]: dart.finalFieldType(core.String), + [_nativeSymbol]: dart.finalFieldType(core.Object) +})); +dart.defineExtensionMethods(_js_helper.PrivateSymbol, ['_equals', 'toString']); +dart.defineExtensionAccessors(_js_helper.PrivateSymbol, ['hashCode']); +_js_helper.ForceInline = class ForceInline extends core.Object {}; +(_js_helper.ForceInline.new = function() { + ; +}).prototype = _js_helper.ForceInline.prototype; +dart.addTypeTests(_js_helper.ForceInline); +dart.addTypeCaches(_js_helper.ForceInline); +dart.setLibraryUri(_js_helper.ForceInline, I[45]); +_js_helper._NotNull = class _NotNull extends core.Object {}; +(_js_helper._NotNull.new = function() { + ; +}).prototype = _js_helper._NotNull.prototype; +dart.addTypeTests(_js_helper._NotNull); +dart.addTypeCaches(_js_helper._NotNull); +dart.setLibraryUri(_js_helper._NotNull, I[45]); +_js_helper.NoReifyGeneric = class NoReifyGeneric extends core.Object {}; +(_js_helper.NoReifyGeneric.new = function() { + ; +}).prototype = _js_helper.NoReifyGeneric.prototype; +dart.addTypeTests(_js_helper.NoReifyGeneric); +dart.addTypeCaches(_js_helper.NoReifyGeneric); +dart.setLibraryUri(_js_helper.NoReifyGeneric, I[45]); +var value$1 = dart.privateName(_js_helper, "ReifyFunctionTypes.value"); +_js_helper.ReifyFunctionTypes = class ReifyFunctionTypes extends core.Object { + get value() { + return this[value$1]; + } + set value(value) { + super.value = value; + } +}; +(_js_helper.ReifyFunctionTypes.new = function(value) { + if (value == null) dart.nullFailed(I[47], 39, 33, "value"); + this[value$1] = value; + ; +}).prototype = _js_helper.ReifyFunctionTypes.prototype; +dart.addTypeTests(_js_helper.ReifyFunctionTypes); +dart.addTypeCaches(_js_helper.ReifyFunctionTypes); +dart.setLibraryUri(_js_helper.ReifyFunctionTypes, I[45]); +dart.setFieldSignature(_js_helper.ReifyFunctionTypes, () => ({ + __proto__: dart.getFields(_js_helper.ReifyFunctionTypes.__proto__), + value: dart.finalFieldType(core.bool) +})); +_js_helper._NullCheck = class _NullCheck extends core.Object {}; +(_js_helper._NullCheck.new = function() { + ; +}).prototype = _js_helper._NullCheck.prototype; +dart.addTypeTests(_js_helper._NullCheck); +dart.addTypeCaches(_js_helper._NullCheck); +dart.setLibraryUri(_js_helper._NullCheck, I[45]); +_js_helper._Undefined = class _Undefined extends core.Object {}; +(_js_helper._Undefined.new = function() { + ; +}).prototype = _js_helper._Undefined.prototype; +dart.addTypeTests(_js_helper._Undefined); +dart.addTypeCaches(_js_helper._Undefined); +dart.setLibraryUri(_js_helper._Undefined, I[45]); +_js_helper.NoThrows = class NoThrows extends core.Object {}; +(_js_helper.NoThrows.new = function() { + ; +}).prototype = _js_helper.NoThrows.prototype; +dart.addTypeTests(_js_helper.NoThrows); +dart.addTypeCaches(_js_helper.NoThrows); +dart.setLibraryUri(_js_helper.NoThrows, I[45]); +_js_helper.NoInline = class NoInline extends core.Object {}; +(_js_helper.NoInline.new = function() { + ; +}).prototype = _js_helper.NoInline.prototype; +dart.addTypeTests(_js_helper.NoInline); +dart.addTypeCaches(_js_helper.NoInline); +dart.setLibraryUri(_js_helper.NoInline, I[45]); +var name$7 = dart.privateName(_js_helper, "Native.name"); +_js_helper.Native = class Native extends core.Object { + get name() { + return this[name$7]; + } + set name(value) { + super.name = value; + } +}; +(_js_helper.Native.new = function(name) { + if (name == null) dart.nullFailed(I[47], 76, 21, "name"); + this[name$7] = name; + ; +}).prototype = _js_helper.Native.prototype; +dart.addTypeTests(_js_helper.Native); +dart.addTypeCaches(_js_helper.Native); +dart.setLibraryUri(_js_helper.Native, I[45]); +dart.setFieldSignature(_js_helper.Native, () => ({ + __proto__: dart.getFields(_js_helper.Native.__proto__), + name: dart.finalFieldType(core.String) +})); +var name$8 = dart.privateName(_js_helper, "JsPeerInterface.name"); +_js_helper.JsPeerInterface = class JsPeerInterface extends core.Object { + get name() { + return this[name$8]; + } + set name(value) { + super.name = value; + } +}; +(_js_helper.JsPeerInterface.new = function(opts) { + let name = opts && 'name' in opts ? opts.name : null; + if (name == null) dart.nullFailed(I[47], 84, 40, "name"); + this[name$8] = name; + ; +}).prototype = _js_helper.JsPeerInterface.prototype; +dart.addTypeTests(_js_helper.JsPeerInterface); +dart.addTypeCaches(_js_helper.JsPeerInterface); +dart.setLibraryUri(_js_helper.JsPeerInterface, I[45]); +dart.setFieldSignature(_js_helper.JsPeerInterface, () => ({ + __proto__: dart.getFields(_js_helper.JsPeerInterface.__proto__), + name: dart.finalFieldType(core.String) +})); +_js_helper.SupportJsExtensionMethods = class SupportJsExtensionMethods extends core.Object {}; +(_js_helper.SupportJsExtensionMethods.new = function() { + ; +}).prototype = _js_helper.SupportJsExtensionMethods.prototype; +dart.addTypeTests(_js_helper.SupportJsExtensionMethods); +dart.addTypeCaches(_js_helper.SupportJsExtensionMethods); +dart.setLibraryUri(_js_helper.SupportJsExtensionMethods, I[45]); +var _modifications = dart.privateName(_js_helper, "_modifications"); +var _map$ = dart.privateName(_js_helper, "_map"); +const _is_InternalMap_default = Symbol('_is_InternalMap_default'); +_js_helper.InternalMap$ = dart.generic((K, V) => { + class InternalMap extends collection.MapBase$(K, V) { + forEach(action) { + if (action == null) dart.nullFailed(I[48], 18, 21, "action"); + let modifications = this[_modifications]; + for (let entry of this[_map$].entries()) { + action(entry[0], entry[1]); + if (modifications !== this[_modifications]) { + dart.throw(new core.ConcurrentModificationError.new(this)); + } + } + } + } + (InternalMap.new = function() { + ; + }).prototype = InternalMap.prototype; + dart.addTypeTests(InternalMap); + InternalMap.prototype[_is_InternalMap_default] = true; + dart.addTypeCaches(InternalMap); + InternalMap[dart.implements] = () => [collection.LinkedHashMap$(K, V), collection.HashMap$(K, V)]; + dart.setLibraryUri(InternalMap, I[45]); + dart.defineExtensionMethods(InternalMap, ['forEach']); + return InternalMap; +}); +_js_helper.InternalMap = _js_helper.InternalMap$(); +dart.addTypeTests(_js_helper.InternalMap, _is_InternalMap_default); +var _map = dart.privateName(_js_helper, "LinkedMap._map"); +var _modifications$ = dart.privateName(_js_helper, "LinkedMap._modifications"); +var _keyMap = dart.privateName(_js_helper, "_keyMap"); +const _is_LinkedMap_default = Symbol('_is_LinkedMap_default'); +_js_helper.LinkedMap$ = dart.generic((K, V) => { + var _JSMapIterableOfK = () => (_JSMapIterableOfK = dart.constFn(_js_helper._JSMapIterable$(K)))(); + var MapOfK$V = () => (MapOfK$V = dart.constFn(core.Map$(K, V)))(); + var KAndVTovoid = () => (KAndVTovoid = dart.constFn(dart.fnType(dart.void, [K, V])))(); + var _JSMapIterableOfV = () => (_JSMapIterableOfV = dart.constFn(_js_helper._JSMapIterable$(V)))(); + var VoidToV = () => (VoidToV = dart.constFn(dart.fnType(V, [])))(); + class LinkedMap extends _js_helper.InternalMap$(K, V) { + get [_map$]() { + return this[_map]; + } + set [_map$](value) { + super[_map$] = value; + } + get [_modifications]() { + return this[_modifications$]; + } + set [_modifications](value) { + this[_modifications$] = value; + } + get length() { + return this[_map$].size; + } + get isEmpty() { + return this[_map$].size == 0; + } + get isNotEmpty() { + return this[_map$].size != 0; + } + get keys() { + return new (_JSMapIterableOfK()).new(this, true); + } + get values() { + return new (_JSMapIterableOfV()).new(this, false); + } + containsKey(key) { + if (key == null) { + key = null; + } else if (key[$_equals] !== dart.identityEquals) { + let buckets = this[_keyMap].get(dart.hashCode(key) & 0x3ffffff); + if (buckets != null) { + for (let i = 0, n = buckets.length; i < n; i = i + 1) { + let k = buckets[i]; + if (dart.equals(k, key)) return true; + } + } + return false; + } + return this[_map$].has(key); + } + containsValue(value) { + for (let v of this[_map$].values()) { + if (dart.equals(v, value)) return true; + } + return false; + } + addAll(other) { + MapOfK$V().as(other); + if (other == null) dart.nullFailed(I[48], 121, 25, "other"); + let map = this[_map$]; + let length = map.size; + other[$forEach](dart.fn((key, value) => { + if (key == null) { + key = null; + } else if (key[$_equals] !== dart.identityEquals) { + key = _js_helper.putLinkedMapKey(key, this[_keyMap]); + } + this[_map$].set(key, value); + }, KAndVTovoid())); + if (length !== map.size) { + this[_modifications] = this[_modifications] + 1 & 67108863; + } + } + _get(key) { + if (key == null) { + key = null; + } else if (key[$_equals] !== dart.identityEquals) { + let buckets = this[_keyMap].get(dart.hashCode(key) & 0x3ffffff); + if (buckets != null) { + for (let i = 0, n = buckets.length; i < n; i = i + 1) { + let k = buckets[i]; + if (dart.equals(k, key)) return this[_map$].get(k); + } + } + return null; + } + let value = this[_map$].get(key); + return value == null ? null : value; + } + _set(key, value$) { + let value = value$; + K.as(key); + V.as(value); + if (key == null) { + key = null; + } else if (key[$_equals] !== dart.identityEquals) { + key = _js_helper.putLinkedMapKey(key, this[_keyMap]); + } + let map = this[_map$]; + let length = map.size; + map.set(key, value); + if (length !== map.size) { + this[_modifications] = this[_modifications] + 1 & 67108863; + } + return value$; + } + putIfAbsent(key, ifAbsent) { + K.as(key); + VoidToV().as(ifAbsent); + if (ifAbsent == null) dart.nullFailed(I[48], 171, 26, "ifAbsent"); + let map = this[_map$]; + if (key == null) { + key = null; + if (map.has(null)) return map.get(null); + } else if (key[$_equals] !== dart.identityEquals) { + let k = key; + let hash = dart.hashCode(k) & 0x3ffffff; + let buckets = this[_keyMap].get(hash); + if (buckets == null) { + this[_keyMap].set(hash, [key]); + } else { + for (let i = 0, n = buckets.length; i < n; i = i + 1) { + k = buckets[i]; + if (dart.equals(k, key)) return map.get(k); + } + buckets.push(key); + } + } else if (map.has(key)) { + return map.get(key); + } + let value = ifAbsent(); + if (value == null) { + value = null; + } + map.set(key, value); + this[_modifications] = this[_modifications] + 1 & 67108863; + return value; + } + remove(key) { + if (key == null) { + key = null; + } else if (key[$_equals] !== dart.identityEquals) { + let hash = dart.hashCode(key) & 0x3ffffff; + let buckets = this[_keyMap].get(hash); + if (buckets == null) return null; + for (let i = 0, n = buckets.length;;) { + let k = buckets[i]; + if (dart.equals(k, key)) { + key = k; + if (n === 1) { + this[_keyMap].delete(hash); + } else { + buckets.splice(i, 1); + } + break; + } + if ((i = i + 1) >= n) return null; + } + } + let map = this[_map$]; + let value = map.get(key); + if (map.delete(key)) { + this[_modifications] = this[_modifications] + 1 & 67108863; + } + return value == null ? null : value; + } + clear() { + let map = this[_map$]; + if (map.size > 0) { + map.clear(); + this[_keyMap].clear(); + this[_modifications] = this[_modifications] + 1 & 67108863; + } + } + } + (LinkedMap.new = function() { + this[_map] = new Map(); + this[_keyMap] = new Map(); + this[_modifications$] = 0; + ; + }).prototype = LinkedMap.prototype; + (LinkedMap.from = function(entries) { + if (entries == null) dart.nullFailed(I[48], 68, 26, "entries"); + this[_map] = new Map(); + this[_keyMap] = new Map(); + this[_modifications$] = 0; + let map = this[_map$]; + let keyMap = this[_keyMap]; + for (let i = 0, n = entries.length; i < n; i = i + 2) { + let key = entries[i]; + let value = entries[i + 1]; + if (key == null) { + key = null; + } else if (key[$_equals] !== dart.identityEquals) { + key = _js_helper.putLinkedMapKey(key, keyMap); + } + map.set(key, value); + } + }).prototype = LinkedMap.prototype; + dart.addTypeTests(LinkedMap); + LinkedMap.prototype[_is_LinkedMap_default] = true; + dart.addTypeCaches(LinkedMap); + dart.setMethodSignature(LinkedMap, () => ({ + __proto__: dart.getMethods(LinkedMap.__proto__), + _get: dart.fnType(dart.nullable(V), [dart.nullable(core.Object)]), + [$_get]: dart.fnType(dart.nullable(V), [dart.nullable(core.Object)]), + _set: dart.fnType(dart.void, [dart.nullable(core.Object), dart.nullable(core.Object)]), + [$_set]: dart.fnType(dart.void, [dart.nullable(core.Object), dart.nullable(core.Object)]), + remove: dart.fnType(dart.nullable(V), [dart.nullable(core.Object)]), + [$remove]: dart.fnType(dart.nullable(V), [dart.nullable(core.Object)]), + clear: dart.fnType(dart.void, []), + [$clear]: dart.fnType(dart.void, []) + })); + dart.setGetterSignature(LinkedMap, () => ({ + __proto__: dart.getGetters(LinkedMap.__proto__), + keys: core.Iterable$(K), + [$keys]: core.Iterable$(K) + })); + dart.setLibraryUri(LinkedMap, I[45]); + dart.setFieldSignature(LinkedMap, () => ({ + __proto__: dart.getFields(LinkedMap.__proto__), + [_map$]: dart.finalFieldType(dart.dynamic), + [_keyMap]: dart.finalFieldType(dart.nullable(core.Object)), + [_modifications]: dart.fieldType(core.int) + })); + dart.defineExtensionMethods(LinkedMap, [ + 'containsKey', + 'containsValue', + 'addAll', + '_get', + '_set', + 'putIfAbsent', + 'remove', + 'clear' + ]); + dart.defineExtensionAccessors(LinkedMap, [ + 'length', + 'isEmpty', + 'isNotEmpty', + 'keys', + 'values' + ]); + return LinkedMap; +}); +_js_helper.LinkedMap = _js_helper.LinkedMap$(); +dart.addTypeTests(_js_helper.LinkedMap, _is_LinkedMap_default); +const _is_ImmutableMap_default = Symbol('_is_ImmutableMap_default'); +_js_helper.ImmutableMap$ = dart.generic((K, V) => { + var VoidToV = () => (VoidToV = dart.constFn(dart.fnType(V, [])))(); + class ImmutableMap extends _js_helper.LinkedMap$(K, V) { + _set(key, value$) { + let value = value$; + K.as(key); + V.as(value); + dart.throw(_js_helper.ImmutableMap._unsupported()); + return value$; + } + addAll(other) { + core.Object.as(other); + if (other == null) dart.nullFailed(I[48], 268, 22, "other"); + return dart.throw(_js_helper.ImmutableMap._unsupported()); + } + clear() { + return dart.throw(_js_helper.ImmutableMap._unsupported()); + } + remove(key) { + return dart.throw(_js_helper.ImmutableMap._unsupported()); + } + putIfAbsent(key, ifAbsent) { + K.as(key); + VoidToV().as(ifAbsent); + if (ifAbsent == null) dart.nullFailed(I[48], 271, 26, "ifAbsent"); + return dart.throw(_js_helper.ImmutableMap._unsupported()); + } + static _unsupported() { + return new core.UnsupportedError.new("Cannot modify unmodifiable map"); + } + } + (ImmutableMap.from = function(entries) { + if (entries == null) dart.nullFailed(I[48], 262, 29, "entries"); + ImmutableMap.__proto__.from.call(this, entries); + ; + }).prototype = ImmutableMap.prototype; + dart.addTypeTests(ImmutableMap); + ImmutableMap.prototype[_is_ImmutableMap_default] = true; + dart.addTypeCaches(ImmutableMap); + dart.setLibraryUri(ImmutableMap, I[45]); + dart.defineExtensionMethods(ImmutableMap, [ + '_set', + 'addAll', + 'clear', + 'remove', + 'putIfAbsent' + ]); + return ImmutableMap; +}); +_js_helper.ImmutableMap = _js_helper.ImmutableMap$(); +dart.addTypeTests(_js_helper.ImmutableMap, _is_ImmutableMap_default); +var _map$0 = dart.privateName(_js_helper, "IdentityMap._map"); +var _modifications$0 = dart.privateName(_js_helper, "IdentityMap._modifications"); +const _is_IdentityMap_default = Symbol('_is_IdentityMap_default'); +_js_helper.IdentityMap$ = dart.generic((K, V) => { + var _JSMapIterableOfK = () => (_JSMapIterableOfK = dart.constFn(_js_helper._JSMapIterable$(K)))(); + var MapOfK$V = () => (MapOfK$V = dart.constFn(core.Map$(K, V)))(); + var KAndVTovoid = () => (KAndVTovoid = dart.constFn(dart.fnType(dart.void, [K, V])))(); + var _JSMapIterableOfV = () => (_JSMapIterableOfV = dart.constFn(_js_helper._JSMapIterable$(V)))(); + var VoidToV = () => (VoidToV = dart.constFn(dart.fnType(V, [])))(); + class IdentityMap extends _js_helper.InternalMap$(K, V) { + get [_map$]() { + return this[_map$0]; + } + set [_map$](value) { + super[_map$] = value; + } + get [_modifications]() { + return this[_modifications$0]; + } + set [_modifications](value) { + this[_modifications$0] = value; + } + get length() { + return this[_map$].size; + } + get isEmpty() { + return this[_map$].size == 0; + } + get isNotEmpty() { + return this[_map$].size != 0; + } + get keys() { + return new (_JSMapIterableOfK()).new(this, true); + } + get values() { + return new (_JSMapIterableOfV()).new(this, false); + } + containsKey(key) { + return this[_map$].has(key); + } + containsValue(value) { + for (let v of this[_map$].values()) { + if (dart.equals(v, value)) return true; + } + return false; + } + addAll(other) { + MapOfK$V().as(other); + if (other == null) dart.nullFailed(I[49], 47, 25, "other"); + if (dart.test(other[$isNotEmpty])) { + let map = this[_map$]; + other[$forEach](dart.fn((key, value) => { + map.set(key, value); + }, KAndVTovoid())); + this[_modifications] = this[_modifications] + 1 & 67108863; + } + } + _get(key) { + let value = this[_map$].get(key); + return value == null ? null : value; + } + _set(key, value$) { + let value = value$; + K.as(key); + V.as(value); + let map = this[_map$]; + let length = map.size; + map.set(key, value); + if (length !== map.size) { + this[_modifications] = this[_modifications] + 1 & 67108863; + } + return value$; + } + putIfAbsent(key, ifAbsent) { + K.as(key); + VoidToV().as(ifAbsent); + if (ifAbsent == null) dart.nullFailed(I[49], 71, 26, "ifAbsent"); + if (this[_map$].has(key)) { + return this[_map$].get(key); + } + let value = ifAbsent(); + if (value == null) value = null; + this[_map$].set(key, value); + this[_modifications] = this[_modifications] + 1 & 67108863; + return value; + } + remove(key) { + let value = this[_map$].get(key); + if (this[_map$].delete(key)) { + this[_modifications] = this[_modifications] + 1 & 67108863; + } + return value == null ? null : value; + } + clear() { + if (this[_map$].size > 0) { + this[_map$].clear(); + this[_modifications] = this[_modifications] + 1 & 67108863; + } + } + } + (IdentityMap.new = function() { + this[_map$0] = new Map(); + this[_modifications$0] = 0; + ; + }).prototype = IdentityMap.prototype; + (IdentityMap.from = function(entries) { + if (entries == null) dart.nullFailed(I[49], 22, 28, "entries"); + this[_map$0] = new Map(); + this[_modifications$0] = 0; + let map = this[_map$]; + for (let i = 0, n = entries.length; i < n; i = i + 2) { + map.set(entries[i], entries[i + 1]); + } + }).prototype = IdentityMap.prototype; + dart.addTypeTests(IdentityMap); + IdentityMap.prototype[_is_IdentityMap_default] = true; + dart.addTypeCaches(IdentityMap); + dart.setMethodSignature(IdentityMap, () => ({ + __proto__: dart.getMethods(IdentityMap.__proto__), + _get: dart.fnType(dart.nullable(V), [dart.nullable(core.Object)]), + [$_get]: dart.fnType(dart.nullable(V), [dart.nullable(core.Object)]), + _set: dart.fnType(dart.void, [dart.nullable(core.Object), dart.nullable(core.Object)]), + [$_set]: dart.fnType(dart.void, [dart.nullable(core.Object), dart.nullable(core.Object)]), + remove: dart.fnType(dart.nullable(V), [dart.nullable(core.Object)]), + [$remove]: dart.fnType(dart.nullable(V), [dart.nullable(core.Object)]), + clear: dart.fnType(dart.void, []), + [$clear]: dart.fnType(dart.void, []) + })); + dart.setGetterSignature(IdentityMap, () => ({ + __proto__: dart.getGetters(IdentityMap.__proto__), + keys: core.Iterable$(K), + [$keys]: core.Iterable$(K) + })); + dart.setLibraryUri(IdentityMap, I[45]); + dart.setFieldSignature(IdentityMap, () => ({ + __proto__: dart.getFields(IdentityMap.__proto__), + [_map$]: dart.finalFieldType(dart.dynamic), + [_modifications]: dart.fieldType(core.int) + })); + dart.defineExtensionMethods(IdentityMap, [ + 'containsKey', + 'containsValue', + 'addAll', + '_get', + '_set', + 'putIfAbsent', + 'remove', + 'clear' + ]); + dart.defineExtensionAccessors(IdentityMap, [ + 'length', + 'isEmpty', + 'isNotEmpty', + 'keys', + 'values' + ]); + return IdentityMap; +}); +_js_helper.IdentityMap = _js_helper.IdentityMap$(); +dart.addTypeTests(_js_helper.IdentityMap, _is_IdentityMap_default); +var _isKeys$ = dart.privateName(_js_helper, "_isKeys"); +const _is__JSMapIterable_default = Symbol('_is__JSMapIterable_default'); +_js_helper._JSMapIterable$ = dart.generic(E => { + var DartIteratorOfE = () => (DartIteratorOfE = dart.constFn(_js_helper.DartIterator$(E)))(); + class _JSMapIterable extends _internal.EfficientLengthIterable$(E) { + get length() { + return this[_map$][$length]; + } + get isEmpty() { + return this[_map$][$isEmpty]; + } + [Symbol.iterator]() { + let map = this[_map$]; + let iterator = this[_isKeys$] ? map[_map$].keys() : map[_map$].values(); + let modifications = map[_modifications]; + return { + next() { + if (modifications != map[_modifications]) { + throw new core.ConcurrentModificationError.new(map); + } + return iterator.next(); + } + }; + } + get iterator() { + return new (DartIteratorOfE()).new(this[Symbol.iterator]()); + } + contains(element) { + return this[_isKeys$] ? this[_map$][$containsKey](element) : this[_map$][$containsValue](element); + } + forEach(f) { + if (f == null) dart.nullFailed(I[49], 134, 33, "f"); + for (let entry of this) + f(entry); + } + } + (_JSMapIterable.new = function(_map, _isKeys) { + if (_map == null) dart.nullFailed(I[49], 102, 23, "_map"); + if (_isKeys == null) dart.nullFailed(I[49], 102, 34, "_isKeys"); + this[_map$] = _map; + this[_isKeys$] = _isKeys; + _JSMapIterable.__proto__.new.call(this); + ; + }).prototype = _JSMapIterable.prototype; + dart.addTypeTests(_JSMapIterable); + _JSMapIterable.prototype[_is__JSMapIterable_default] = true; + dart.addTypeCaches(_JSMapIterable); + dart.setMethodSignature(_JSMapIterable, () => ({ + __proto__: dart.getMethods(_JSMapIterable.__proto__), + [Symbol.iterator]: dart.fnType(dart.dynamic, []) + })); + dart.setGetterSignature(_JSMapIterable, () => ({ + __proto__: dart.getGetters(_JSMapIterable.__proto__), + iterator: core.Iterator$(E), + [$iterator]: core.Iterator$(E) + })); + dart.setLibraryUri(_JSMapIterable, I[45]); + dart.setFieldSignature(_JSMapIterable, () => ({ + __proto__: dart.getFields(_JSMapIterable.__proto__), + [_map$]: dart.finalFieldType(_js_helper.InternalMap), + [_isKeys$]: dart.finalFieldType(core.bool) + })); + dart.defineExtensionMethods(_JSMapIterable, ['contains', 'forEach']); + dart.defineExtensionAccessors(_JSMapIterable, ['length', 'isEmpty', 'iterator']); + return _JSMapIterable; +}); +_js_helper._JSMapIterable = _js_helper._JSMapIterable$(); +dart.addTypeTests(_js_helper._JSMapIterable, _is__JSMapIterable_default); +var _validKey$ = dart.privateName(_js_helper, "_validKey"); +var _map$1 = dart.privateName(_js_helper, "CustomHashMap._map"); +var _modifications$1 = dart.privateName(_js_helper, "CustomHashMap._modifications"); +var _equals$ = dart.privateName(_js_helper, "_equals"); +var _hashCode$ = dart.privateName(_js_helper, "_hashCode"); +const _is_CustomHashMap_default = Symbol('_is_CustomHashMap_default'); +_js_helper.CustomHashMap$ = dart.generic((K, V) => { + var _JSMapIterableOfK = () => (_JSMapIterableOfK = dart.constFn(_js_helper._JSMapIterable$(K)))(); + var MapOfK$V = () => (MapOfK$V = dart.constFn(core.Map$(K, V)))(); + var KAndVTovoid = () => (KAndVTovoid = dart.constFn(dart.fnType(dart.void, [K, V])))(); + var _JSMapIterableOfV = () => (_JSMapIterableOfV = dart.constFn(_js_helper._JSMapIterable$(V)))(); + var VoidToV = () => (VoidToV = dart.constFn(dart.fnType(V, [])))(); + class CustomHashMap extends _js_helper.InternalMap$(K, V) { + get [_map$]() { + return this[_map$1]; + } + set [_map$](value) { + super[_map$] = value; + } + get [_modifications]() { + return this[_modifications$1]; + } + set [_modifications](value) { + this[_modifications$1] = value; + } + get length() { + return this[_map$].size; + } + get isEmpty() { + return this[_map$].size == 0; + } + get isNotEmpty() { + return this[_map$].size != 0; + } + get keys() { + return new (_JSMapIterableOfK()).new(this, true); + } + get values() { + return new (_JSMapIterableOfV()).new(this, false); + } + containsKey(key) { + let t82; + if (K.is(key)) { + let buckets = this[_keyMap].get((t82 = key, this[_hashCode$](t82)) & 0x3ffffff); + if (buckets != null) { + let equals = this[_equals$]; + for (let i = 0, n = buckets.length; i < n; i = i + 1) { + let k = buckets[i]; + if (dart.test(equals(k, key))) return true; + } + } + } + return false; + } + containsValue(value) { + for (let v of this[_map$].values()) { + if (dart.equals(value, v)) return true; + } + return false; + } + addAll(other) { + MapOfK$V().as(other); + if (other == null) dart.nullFailed(I[50], 91, 25, "other"); + other[$forEach](dart.fn((key, value) => { + this._set(key, value); + }, KAndVTovoid())); + } + _get(key) { + let t82; + if (K.is(key)) { + let buckets = this[_keyMap].get((t82 = key, this[_hashCode$](t82)) & 0x3ffffff); + if (buckets != null) { + let equals = this[_equals$]; + for (let i = 0, n = buckets.length; i < n; i = i + 1) { + let k = buckets[i]; + if (dart.test(equals(k, key))) { + let value = this[_map$].get(k); + return value == null ? null : value; + } + } + } + } + return null; + } + _set(key, value$) { + let value = value$; + let t82; + K.as(key); + V.as(value); + let keyMap = this[_keyMap]; + let hash = (t82 = key, this[_hashCode$](t82)) & 0x3ffffff; + let buckets = keyMap.get(hash); + if (buckets == null) { + keyMap.set(hash, [key]); + } else { + let equals = this[_equals$]; + for (let i = 0, n = buckets.length;;) { + let k = buckets[i]; + if (dart.test(equals(k, key))) { + key = k; + break; + } + if ((i = i + 1) >= n) { + buckets.push(key); + break; + } + } + } + this[_map$].set(key, value); + this[_modifications] = this[_modifications] + 1 & 67108863; + return value$; + } + putIfAbsent(key, ifAbsent) { + let t82; + K.as(key); + VoidToV().as(ifAbsent); + if (ifAbsent == null) dart.nullFailed(I[50], 138, 26, "ifAbsent"); + let keyMap = this[_keyMap]; + let hash = (t82 = key, this[_hashCode$](t82)) & 0x3ffffff; + let buckets = keyMap.get(hash); + if (buckets == null) { + keyMap.set(hash, [key]); + } else { + let equals = this[_equals$]; + for (let i = 0, n = buckets.length; i < n; i = i + 1) { + let k = buckets[i]; + if (dart.test(equals(k, key))) return this[_map$].get(k); + } + buckets.push(key); + } + let value = ifAbsent(); + if (value == null) value = null; + this[_map$].set(key, value); + this[_modifications] = this[_modifications] + 1 & 67108863; + return value; + } + remove(key) { + let t82; + if (K.is(key)) { + let hash = (t82 = key, this[_hashCode$](t82)) & 0x3ffffff; + let keyMap = this[_keyMap]; + let buckets = keyMap.get(hash); + if (buckets == null) return null; + let equals = this[_equals$]; + for (let i = 0, n = buckets.length; i < n; i = i + 1) { + let k = buckets[i]; + if (dart.test(equals(k, key))) { + if (n === 1) { + keyMap.delete(hash); + } else { + buckets.splice(i, 1); + } + let map = this[_map$]; + let value = map.get(k); + map.delete(k); + this[_modifications] = this[_modifications] + 1 & 67108863; + return value == null ? null : value; + } + } + } + return null; + } + clear() { + let map = this[_map$]; + if (map.size > 0) { + map.clear(); + this[_keyMap].clear(); + this[_modifications] = this[_modifications] + 1 & 67108863; + } + } + } + (CustomHashMap.new = function(_equals, _hashCode) { + if (_equals == null) dart.nullFailed(I[50], 55, 22, "_equals"); + if (_hashCode == null) dart.nullFailed(I[50], 55, 36, "_hashCode"); + this[_map$1] = new Map(); + this[_keyMap] = new Map(); + this[_modifications$1] = 0; + this[_equals$] = _equals; + this[_hashCode$] = _hashCode; + ; + }).prototype = CustomHashMap.prototype; + dart.addTypeTests(CustomHashMap); + CustomHashMap.prototype[_is_CustomHashMap_default] = true; + dart.addTypeCaches(CustomHashMap); + dart.setMethodSignature(CustomHashMap, () => ({ + __proto__: dart.getMethods(CustomHashMap.__proto__), + _get: dart.fnType(dart.nullable(V), [dart.nullable(core.Object)]), + [$_get]: dart.fnType(dart.nullable(V), [dart.nullable(core.Object)]), + _set: dart.fnType(dart.void, [dart.nullable(core.Object), dart.nullable(core.Object)]), + [$_set]: dart.fnType(dart.void, [dart.nullable(core.Object), dart.nullable(core.Object)]), + remove: dart.fnType(dart.nullable(V), [dart.nullable(core.Object)]), + [$remove]: dart.fnType(dart.nullable(V), [dart.nullable(core.Object)]), + clear: dart.fnType(dart.void, []), + [$clear]: dart.fnType(dart.void, []) + })); + dart.setGetterSignature(CustomHashMap, () => ({ + __proto__: dart.getGetters(CustomHashMap.__proto__), + keys: core.Iterable$(K), + [$keys]: core.Iterable$(K) + })); + dart.setLibraryUri(CustomHashMap, I[45]); + dart.setFieldSignature(CustomHashMap, () => ({ + __proto__: dart.getFields(CustomHashMap.__proto__), + [_map$]: dart.finalFieldType(dart.dynamic), + [_keyMap]: dart.finalFieldType(dart.nullable(core.Object)), + [_modifications]: dart.fieldType(core.int), + [_equals$]: dart.finalFieldType(dart.fnType(core.bool, [K, K])), + [_hashCode$]: dart.finalFieldType(dart.fnType(core.int, [K])) + })); + dart.defineExtensionMethods(CustomHashMap, [ + 'containsKey', + 'containsValue', + 'addAll', + '_get', + '_set', + 'putIfAbsent', + 'remove', + 'clear' + ]); + dart.defineExtensionAccessors(CustomHashMap, [ + 'length', + 'isEmpty', + 'isNotEmpty', + 'keys', + 'values' + ]); + return CustomHashMap; +}); +_js_helper.CustomHashMap = _js_helper.CustomHashMap$(); +dart.addTypeTests(_js_helper.CustomHashMap, _is_CustomHashMap_default); +const _is_CustomKeyHashMap_default = Symbol('_is_CustomKeyHashMap_default'); +_js_helper.CustomKeyHashMap$ = dart.generic((K, V) => { + class CustomKeyHashMap extends _js_helper.CustomHashMap$(K, V) { + containsKey(key) { + let t82; + if (!dart.test((t82 = key, this[_validKey$](t82)))) return false; + return super.containsKey(key); + } + _get(key) { + let t82; + if (!dart.test((t82 = key, this[_validKey$](t82)))) return null; + return super._get(key); + } + remove(key) { + let t82; + if (!dart.test((t82 = key, this[_validKey$](t82)))) return null; + return super.remove(key); + } + } + (CustomKeyHashMap.new = function(equals, hashCode, _validKey) { + if (equals == null) dart.nullFailed(I[50], 9, 33, "equals"); + if (hashCode == null) dart.nullFailed(I[50], 9, 52, "hashCode"); + if (_validKey == null) dart.nullFailed(I[50], 9, 67, "_validKey"); + this[_validKey$] = _validKey; + CustomKeyHashMap.__proto__.new.call(this, equals, hashCode); + ; + }).prototype = CustomKeyHashMap.prototype; + dart.addTypeTests(CustomKeyHashMap); + CustomKeyHashMap.prototype[_is_CustomKeyHashMap_default] = true; + dart.addTypeCaches(CustomKeyHashMap); + dart.setLibraryUri(CustomKeyHashMap, I[45]); + dart.setFieldSignature(CustomKeyHashMap, () => ({ + __proto__: dart.getFields(CustomKeyHashMap.__proto__), + [_validKey$]: dart.finalFieldType(dart.fnType(core.bool, [dart.nullable(core.Object)])) + })); + dart.defineExtensionMethods(CustomKeyHashMap, ['containsKey', '_get', 'remove']); + return CustomKeyHashMap; +}); +_js_helper.CustomKeyHashMap = _js_helper.CustomKeyHashMap$(); +dart.addTypeTests(_js_helper.CustomKeyHashMap, _is_CustomKeyHashMap_default); +var pattern = dart.privateName(_js_helper, "JSSyntaxRegExp.pattern"); +var _nativeGlobalRegExp = dart.privateName(_js_helper, "_nativeGlobalRegExp"); +var _nativeAnchoredRegExp = dart.privateName(_js_helper, "_nativeAnchoredRegExp"); +var _nativeRegExp = dart.privateName(_js_helper, "_nativeRegExp"); +var _isMultiLine = dart.privateName(_js_helper, "_isMultiLine"); +var _isCaseSensitive = dart.privateName(_js_helper, "_isCaseSensitive"); +var _isUnicode = dart.privateName(_js_helper, "_isUnicode"); +var _isDotAll = dart.privateName(_js_helper, "_isDotAll"); +var _nativeGlobalVersion = dart.privateName(_js_helper, "_nativeGlobalVersion"); +var _nativeAnchoredVersion = dart.privateName(_js_helper, "_nativeAnchoredVersion"); +var _execGlobal = dart.privateName(_js_helper, "_execGlobal"); +var _execAnchored = dart.privateName(_js_helper, "_execAnchored"); +_js_helper.JSSyntaxRegExp = class JSSyntaxRegExp extends core.Object { + get pattern() { + return this[pattern]; + } + set pattern(value) { + super.pattern = value; + } + toString() { + return "RegExp/" + dart.str(this.pattern) + "/" + this[_nativeRegExp].flags; + } + get [_nativeGlobalVersion]() { + if (this[_nativeGlobalRegExp] != null) return this[_nativeGlobalRegExp]; + return this[_nativeGlobalRegExp] = _js_helper.JSSyntaxRegExp.makeNative(this.pattern, this[_isMultiLine], this[_isCaseSensitive], this[_isUnicode], this[_isDotAll], true); + } + get [_nativeAnchoredVersion]() { + if (this[_nativeAnchoredRegExp] != null) return this[_nativeAnchoredRegExp]; + return this[_nativeAnchoredRegExp] = _js_helper.JSSyntaxRegExp.makeNative(dart.str(this.pattern) + "|()", this[_isMultiLine], this[_isCaseSensitive], this[_isUnicode], this[_isDotAll], true); + } + get [_isMultiLine]() { + return this[_nativeRegExp].multiline; + } + get [_isCaseSensitive]() { + return !this[_nativeRegExp].ignoreCase; + } + get [_isUnicode]() { + return this[_nativeRegExp].unicode; + } + get [_isDotAll]() { + return this[_nativeRegExp].dotAll == true; + } + static makeNative(source, multiLine, caseSensitive, unicode, dotAll, global) { + if (source == null) dart.argumentError(source); + if (multiLine == null) dart.nullFailed(I[51], 86, 52, "multiLine"); + if (caseSensitive == null) dart.nullFailed(I[51], 87, 12, "caseSensitive"); + if (unicode == null) dart.nullFailed(I[51], 87, 32, "unicode"); + if (dotAll == null) dart.nullFailed(I[51], 87, 46, "dotAll"); + if (global == null) dart.nullFailed(I[51], 87, 59, "global"); + let m = dart.test(multiLine) ? "m" : ""; + let i = dart.test(caseSensitive) ? "" : "i"; + let u = dart.test(unicode) ? "u" : ""; + let s = dart.test(dotAll) ? "s" : ""; + let g = dart.test(global) ? "g" : ""; + let regexp = (function() { + try { + return new RegExp(source, m + i + u + s + g); + } catch (e) { + return e; + } + })(); + if (regexp instanceof RegExp) return regexp; + let errorMessage = String(regexp); + dart.throw(new core.FormatException.new("Illegal RegExp pattern: " + source + ", " + errorMessage)); + } + firstMatch(string) { + if (string == null) dart.argumentError(string); + let m = this[_nativeRegExp].exec(string); + if (m == null) return null; + return new _js_helper._MatchImplementation.new(this, m); + } + hasMatch(string) { + if (string == null) dart.argumentError(string); + return this[_nativeRegExp].test(string); + } + stringMatch(string) { + if (string == null) dart.nullFailed(I[51], 131, 30, "string"); + let match = this.firstMatch(string); + if (match != null) return match.group(0); + return null; + } + allMatches(string, start = 0) { + if (string == null) dart.argumentError(string); + if (start == null) dart.argumentError(start); + if (start < 0 || start > string.length) { + dart.throw(new core.RangeError.range(start, 0, string.length)); + } + return new _js_helper._AllMatchesIterable.new(this, string, start); + } + [_execGlobal](string, start) { + if (string == null) dart.nullFailed(I[51], 145, 35, "string"); + if (start == null) dart.nullFailed(I[51], 145, 47, "start"); + let regexp = core.Object.as(this[_nativeGlobalVersion]); + regexp.lastIndex = start; + let match = regexp.exec(string); + if (match == null) return null; + return new _js_helper._MatchImplementation.new(this, match); + } + [_execAnchored](string, start) { + let t82; + if (string == null) dart.nullFailed(I[51], 155, 37, "string"); + if (start == null) dart.nullFailed(I[51], 155, 49, "start"); + let regexp = core.Object.as(this[_nativeAnchoredVersion]); + regexp.lastIndex = start; + let match = regexp.exec(string); + if (match == null) return null; + if (match[$_get](dart.notNull(match[$length]) - 1) != null) return null; + t82 = match; + t82[$length] = dart.notNull(t82[$length]) - 1; + return new _js_helper._MatchImplementation.new(this, match); + } + matchAsPrefix(string, start = 0) { + if (string == null) dart.nullFailed(I[51], 169, 31, "string"); + if (start == null) dart.nullFailed(I[51], 169, 44, "start"); + if (dart.notNull(start) < 0 || dart.notNull(start) > string.length) { + dart.throw(new core.RangeError.range(start, 0, string.length)); + } + return this[_execAnchored](string, start); + } + get isMultiLine() { + return this[_isMultiLine]; + } + get isCaseSensitive() { + return this[_isCaseSensitive]; + } + get isUnicode() { + return this[_isUnicode]; + } + get isDotAll() { + return this[_isDotAll]; + } +}; +(_js_helper.JSSyntaxRegExp.new = function(source, opts) { + if (source == null) dart.nullFailed(I[51], 53, 25, "source"); + let multiLine = opts && 'multiLine' in opts ? opts.multiLine : false; + if (multiLine == null) dart.nullFailed(I[51], 54, 13, "multiLine"); + let caseSensitive = opts && 'caseSensitive' in opts ? opts.caseSensitive : true; + if (caseSensitive == null) dart.nullFailed(I[51], 55, 12, "caseSensitive"); + let unicode = opts && 'unicode' in opts ? opts.unicode : false; + if (unicode == null) dart.nullFailed(I[51], 56, 12, "unicode"); + let dotAll = opts && 'dotAll' in opts ? opts.dotAll : false; + if (dotAll == null) dart.nullFailed(I[51], 57, 12, "dotAll"); + this[_nativeGlobalRegExp] = null; + this[_nativeAnchoredRegExp] = null; + this[pattern] = source; + this[_nativeRegExp] = _js_helper.JSSyntaxRegExp.makeNative(source, multiLine, caseSensitive, unicode, dotAll, false); + ; +}).prototype = _js_helper.JSSyntaxRegExp.prototype; +dart.addTypeTests(_js_helper.JSSyntaxRegExp); +dart.addTypeCaches(_js_helper.JSSyntaxRegExp); +_js_helper.JSSyntaxRegExp[dart.implements] = () => [core.RegExp]; +dart.setMethodSignature(_js_helper.JSSyntaxRegExp, () => ({ + __proto__: dart.getMethods(_js_helper.JSSyntaxRegExp.__proto__), + firstMatch: dart.fnType(dart.nullable(core.RegExpMatch), [core.String]), + hasMatch: dart.fnType(core.bool, [core.String]), + stringMatch: dart.fnType(dart.nullable(core.String), [core.String]), + allMatches: dart.fnType(core.Iterable$(core.RegExpMatch), [core.String], [core.int]), + [$allMatches]: dart.fnType(core.Iterable$(core.RegExpMatch), [core.String], [core.int]), + [_execGlobal]: dart.fnType(dart.nullable(core.RegExpMatch), [core.String, core.int]), + [_execAnchored]: dart.fnType(dart.nullable(core.RegExpMatch), [core.String, core.int]), + matchAsPrefix: dart.fnType(dart.nullable(core.Match), [core.String], [core.int]), + [$matchAsPrefix]: dart.fnType(dart.nullable(core.Match), [core.String], [core.int]) +})); +dart.setGetterSignature(_js_helper.JSSyntaxRegExp, () => ({ + __proto__: dart.getGetters(_js_helper.JSSyntaxRegExp.__proto__), + [_nativeGlobalVersion]: dart.dynamic, + [_nativeAnchoredVersion]: dart.dynamic, + [_isMultiLine]: core.bool, + [_isCaseSensitive]: core.bool, + [_isUnicode]: core.bool, + [_isDotAll]: core.bool, + isMultiLine: core.bool, + isCaseSensitive: core.bool, + isUnicode: core.bool, + isDotAll: core.bool +})); +dart.setLibraryUri(_js_helper.JSSyntaxRegExp, I[45]); +dart.setFieldSignature(_js_helper.JSSyntaxRegExp, () => ({ + __proto__: dart.getFields(_js_helper.JSSyntaxRegExp.__proto__), + pattern: dart.finalFieldType(core.String), + [_nativeRegExp]: dart.finalFieldType(dart.dynamic), + [_nativeGlobalRegExp]: dart.fieldType(dart.dynamic), + [_nativeAnchoredRegExp]: dart.fieldType(dart.dynamic) +})); +dart.defineExtensionMethods(_js_helper.JSSyntaxRegExp, ['toString', 'allMatches', 'matchAsPrefix']); +var _match$ = dart.privateName(_js_helper, "_match"); +_js_helper._MatchImplementation = class _MatchImplementation extends core.Object { + get input() { + return this[_match$].input; + } + get start() { + return this[_match$].index; + } + get end() { + return dart.notNull(this.start) + dart.nullCheck(this[_match$][$_get](0)).length; + } + group(index) { + if (index == null) dart.nullFailed(I[51], 200, 21, "index"); + return this[_match$][$_get](index); + } + _get(index) { + if (index == null) dart.nullFailed(I[51], 201, 27, "index"); + return this.group(index); + } + get groupCount() { + return dart.notNull(this[_match$][$length]) - 1; + } + groups(groups) { + if (groups == null) dart.nullFailed(I[51], 204, 34, "groups"); + let out = T$.JSArrayOfStringN().of([]); + for (let i of groups) { + out[$add](this.group(i)); + } + return out; + } + namedGroup(name) { + if (name == null) dart.nullFailed(I[51], 212, 29, "name"); + let groups = this[_match$].groups; + if (groups != null) { + let result = groups[name]; + if (result != null || name in groups) { + return result; + } + } + dart.throw(new core.ArgumentError.value(name, "name", "Not a capture group name")); + } + get groupNames() { + let groups = this[_match$].groups; + if (groups != null) { + let keys = T$.JSArrayOfString().of(Object.keys(groups)); + return new (T$.SubListIterableOfString()).new(keys, 0, null); + } + return new (T$.EmptyIterableOfString()).new(); + } +}; +(_js_helper._MatchImplementation.new = function(pattern, _match) { + if (pattern == null) dart.nullFailed(I[51], 191, 29, "pattern"); + if (_match == null) dart.nullFailed(I[51], 191, 43, "_match"); + this.pattern = pattern; + this[_match$] = _match; + if (!(typeof this[_match$].input == 'string')) dart.assertFailed(null, I[51], 192, 12, "JS(\"var\", \"#.input\", _match) is String"); + if (!core.int.is(this[_match$].index)) dart.assertFailed(null, I[51], 193, 12, "JS(\"var\", \"#.index\", _match) is int"); +}).prototype = _js_helper._MatchImplementation.prototype; +dart.addTypeTests(_js_helper._MatchImplementation); +dart.addTypeCaches(_js_helper._MatchImplementation); +_js_helper._MatchImplementation[dart.implements] = () => [core.RegExpMatch]; +dart.setMethodSignature(_js_helper._MatchImplementation, () => ({ + __proto__: dart.getMethods(_js_helper._MatchImplementation.__proto__), + group: dart.fnType(dart.nullable(core.String), [core.int]), + _get: dart.fnType(dart.nullable(core.String), [core.int]), + groups: dart.fnType(core.List$(dart.nullable(core.String)), [core.List$(core.int)]), + namedGroup: dart.fnType(dart.nullable(core.String), [core.String]) +})); +dart.setGetterSignature(_js_helper._MatchImplementation, () => ({ + __proto__: dart.getGetters(_js_helper._MatchImplementation.__proto__), + input: core.String, + start: core.int, + end: core.int, + groupCount: core.int, + groupNames: core.Iterable$(core.String) +})); +dart.setLibraryUri(_js_helper._MatchImplementation, I[45]); +dart.setFieldSignature(_js_helper._MatchImplementation, () => ({ + __proto__: dart.getFields(_js_helper._MatchImplementation.__proto__), + pattern: dart.finalFieldType(core.Pattern), + [_match$]: dart.finalFieldType(core.List$(dart.nullable(core.String))) +})); +var _re$ = dart.privateName(_js_helper, "_re"); +var _string$0 = dart.privateName(_js_helper, "_string"); +var _start$0 = dart.privateName(_js_helper, "_start"); +core.RegExpMatch = class RegExpMatch extends core.Object {}; +(core.RegExpMatch.new = function() { + ; +}).prototype = core.RegExpMatch.prototype; +dart.addTypeTests(core.RegExpMatch); +dart.addTypeCaches(core.RegExpMatch); +core.RegExpMatch[dart.implements] = () => [core.Match]; +dart.setLibraryUri(core.RegExpMatch, I[8]); +_js_helper._AllMatchesIterable = class _AllMatchesIterable extends collection.IterableBase$(core.RegExpMatch) { + get iterator() { + return new _js_helper._AllMatchesIterator.new(this[_re$], this[_string$0], this[_start$0]); + } +}; +(_js_helper._AllMatchesIterable.new = function(_re, _string, _start) { + if (_re == null) dart.nullFailed(I[51], 238, 28, "_re"); + if (_string == null) dart.nullFailed(I[51], 238, 38, "_string"); + if (_start == null) dart.nullFailed(I[51], 238, 52, "_start"); + this[_re$] = _re; + this[_string$0] = _string; + this[_start$0] = _start; + _js_helper._AllMatchesIterable.__proto__.new.call(this); + ; +}).prototype = _js_helper._AllMatchesIterable.prototype; +dart.addTypeTests(_js_helper._AllMatchesIterable); +dart.addTypeCaches(_js_helper._AllMatchesIterable); +dart.setGetterSignature(_js_helper._AllMatchesIterable, () => ({ + __proto__: dart.getGetters(_js_helper._AllMatchesIterable.__proto__), + iterator: core.Iterator$(core.RegExpMatch), + [$iterator]: core.Iterator$(core.RegExpMatch) +})); +dart.setLibraryUri(_js_helper._AllMatchesIterable, I[45]); +dart.setFieldSignature(_js_helper._AllMatchesIterable, () => ({ + __proto__: dart.getFields(_js_helper._AllMatchesIterable.__proto__), + [_re$]: dart.finalFieldType(_js_helper.JSSyntaxRegExp), + [_string$0]: dart.finalFieldType(core.String), + [_start$0]: dart.finalFieldType(core.int) +})); +dart.defineExtensionAccessors(_js_helper._AllMatchesIterable, ['iterator']); +var _regExp$ = dart.privateName(_js_helper, "_regExp"); +var _nextIndex$ = dart.privateName(_js_helper, "_nextIndex"); +_js_helper._AllMatchesIterator = class _AllMatchesIterator extends core.Object { + get current() { + return dart.nullCast(this[_current$0], core.RegExpMatch); + } + static _isLeadSurrogate(c) { + if (c == null) dart.nullFailed(I[51], 254, 36, "c"); + return dart.notNull(c) >= 55296 && dart.notNull(c) <= 56319; + } + static _isTrailSurrogate(c) { + if (c == null) dart.nullFailed(I[51], 258, 37, "c"); + return dart.notNull(c) >= 56320 && dart.notNull(c) <= 57343; + } + moveNext() { + let string = this[_string$0]; + if (string == null) return false; + if (dart.notNull(this[_nextIndex$]) <= string.length) { + let match = this[_regExp$][_execGlobal](string, this[_nextIndex$]); + if (match != null) { + this[_current$0] = match; + let nextIndex = match.end; + if (match.start == nextIndex) { + if (dart.test(this[_regExp$].isUnicode) && dart.notNull(this[_nextIndex$]) + 1 < string.length && dart.test(_js_helper._AllMatchesIterator._isLeadSurrogate(string[$codeUnitAt](this[_nextIndex$]))) && dart.test(_js_helper._AllMatchesIterator._isTrailSurrogate(string[$codeUnitAt](dart.notNull(this[_nextIndex$]) + 1)))) { + nextIndex = dart.notNull(nextIndex) + 1; + } + nextIndex = dart.notNull(nextIndex) + 1; + } + this[_nextIndex$] = nextIndex; + return true; + } + } + this[_current$0] = null; + this[_string$0] = null; + return false; + } +}; +(_js_helper._AllMatchesIterator.new = function(_regExp, _string, _nextIndex) { + if (_regExp == null) dart.nullFailed(I[51], 250, 28, "_regExp"); + if (_nextIndex == null) dart.nullFailed(I[51], 250, 56, "_nextIndex"); + this[_current$0] = null; + this[_regExp$] = _regExp; + this[_string$0] = _string; + this[_nextIndex$] = _nextIndex; + ; +}).prototype = _js_helper._AllMatchesIterator.prototype; +dart.addTypeTests(_js_helper._AllMatchesIterator); +dart.addTypeCaches(_js_helper._AllMatchesIterator); +_js_helper._AllMatchesIterator[dart.implements] = () => [core.Iterator$(core.RegExpMatch)]; +dart.setMethodSignature(_js_helper._AllMatchesIterator, () => ({ + __proto__: dart.getMethods(_js_helper._AllMatchesIterator.__proto__), + moveNext: dart.fnType(core.bool, []) +})); +dart.setGetterSignature(_js_helper._AllMatchesIterator, () => ({ + __proto__: dart.getGetters(_js_helper._AllMatchesIterator.__proto__), + current: core.RegExpMatch +})); +dart.setLibraryUri(_js_helper._AllMatchesIterator, I[45]); +dart.setFieldSignature(_js_helper._AllMatchesIterator, () => ({ + __proto__: dart.getFields(_js_helper._AllMatchesIterator.__proto__), + [_regExp$]: dart.finalFieldType(_js_helper.JSSyntaxRegExp), + [_string$0]: dart.fieldType(dart.nullable(core.String)), + [_nextIndex$]: dart.fieldType(core.int), + [_current$0]: dart.fieldType(dart.nullable(core.RegExpMatch)) +})); +var start$0 = dart.privateName(_js_helper, "StringMatch.start"); +var input$ = dart.privateName(_js_helper, "StringMatch.input"); +var pattern$ = dart.privateName(_js_helper, "StringMatch.pattern"); +_js_helper.StringMatch = class StringMatch extends core.Object { + get start() { + return this[start$0]; + } + set start(value) { + super.start = value; + } + get input() { + return this[input$]; + } + set input(value) { + super.input = value; + } + get pattern() { + return this[pattern$]; + } + set pattern(value) { + super.pattern = value; + } + get end() { + return dart.notNull(this.start) + this.pattern.length; + } + _get(g) { + if (g == null) dart.nullFailed(I[52], 31, 26, "g"); + return this.group(g); + } + get groupCount() { + return 0; + } + group(group_) { + if (group_ == null) dart.nullFailed(I[52], 34, 20, "group_"); + if (group_ !== 0) { + dart.throw(new core.RangeError.value(group_)); + } + return this.pattern; + } + groups(groups_) { + if (groups_ == null) dart.nullFailed(I[52], 41, 33, "groups_"); + let result = T$.JSArrayOfString().of([]); + for (let g of groups_) { + result[$add](this.group(g)); + } + return result; + } +}; +(_js_helper.StringMatch.new = function(start, input, pattern) { + if (start == null) dart.nullFailed(I[52], 28, 30, "start"); + if (input == null) dart.nullFailed(I[52], 28, 49, "input"); + if (pattern == null) dart.nullFailed(I[52], 28, 68, "pattern"); + this[start$0] = start; + this[input$] = input; + this[pattern$] = pattern; + ; +}).prototype = _js_helper.StringMatch.prototype; +dart.addTypeTests(_js_helper.StringMatch); +dart.addTypeCaches(_js_helper.StringMatch); +_js_helper.StringMatch[dart.implements] = () => [core.Match]; +dart.setMethodSignature(_js_helper.StringMatch, () => ({ + __proto__: dart.getMethods(_js_helper.StringMatch.__proto__), + _get: dart.fnType(core.String, [core.int]), + group: dart.fnType(core.String, [core.int]), + groups: dart.fnType(core.List$(core.String), [core.List$(core.int)]) +})); +dart.setGetterSignature(_js_helper.StringMatch, () => ({ + __proto__: dart.getGetters(_js_helper.StringMatch.__proto__), + end: core.int, + groupCount: core.int +})); +dart.setLibraryUri(_js_helper.StringMatch, I[45]); +dart.setFieldSignature(_js_helper.StringMatch, () => ({ + __proto__: dart.getFields(_js_helper.StringMatch.__proto__), + start: dart.finalFieldType(core.int), + input: dart.finalFieldType(core.String), + pattern: dart.finalFieldType(core.String) +})); +var _input$ = dart.privateName(_js_helper, "_input"); +var _pattern$ = dart.privateName(_js_helper, "_pattern"); +var _index$0 = dart.privateName(_js_helper, "_index"); +core.Match = class Match extends core.Object {}; +(core.Match.new = function() { + ; +}).prototype = core.Match.prototype; +dart.addTypeTests(core.Match); +dart.addTypeCaches(core.Match); +dart.setLibraryUri(core.Match, I[8]); +_js_helper._StringAllMatchesIterable = class _StringAllMatchesIterable extends core.Iterable$(core.Match) { + get iterator() { + return new _js_helper._StringAllMatchesIterator.new(this[_input$], this[_pattern$], this[_index$0]); + } + get first() { + let index = _js_helper.stringIndexOfStringUnchecked(this[_input$], this[_pattern$], this[_index$0]); + if (index >= 0) { + return new _js_helper.StringMatch.new(index, this[_input$], this[_pattern$]); + } + dart.throw(_internal.IterableElementError.noElement()); + } +}; +(_js_helper._StringAllMatchesIterable.new = function(_input, _pattern, _index) { + if (_input == null) dart.nullFailed(I[52], 64, 34, "_input"); + if (_pattern == null) dart.nullFailed(I[52], 64, 47, "_pattern"); + if (_index == null) dart.nullFailed(I[52], 64, 62, "_index"); + this[_input$] = _input; + this[_pattern$] = _pattern; + this[_index$0] = _index; + _js_helper._StringAllMatchesIterable.__proto__.new.call(this); + ; +}).prototype = _js_helper._StringAllMatchesIterable.prototype; +dart.addTypeTests(_js_helper._StringAllMatchesIterable); +dart.addTypeCaches(_js_helper._StringAllMatchesIterable); +dart.setGetterSignature(_js_helper._StringAllMatchesIterable, () => ({ + __proto__: dart.getGetters(_js_helper._StringAllMatchesIterable.__proto__), + iterator: core.Iterator$(core.Match), + [$iterator]: core.Iterator$(core.Match) +})); +dart.setLibraryUri(_js_helper._StringAllMatchesIterable, I[45]); +dart.setFieldSignature(_js_helper._StringAllMatchesIterable, () => ({ + __proto__: dart.getFields(_js_helper._StringAllMatchesIterable.__proto__), + [_input$]: dart.finalFieldType(core.String), + [_pattern$]: dart.finalFieldType(core.String), + [_index$0]: dart.finalFieldType(core.int) +})); +dart.defineExtensionAccessors(_js_helper._StringAllMatchesIterable, ['iterator', 'first']); +_js_helper._StringAllMatchesIterator = class _StringAllMatchesIterator extends core.Object { + moveNext() { + if (dart.notNull(this[_index$0]) + this[_pattern$].length > this[_input$].length) { + this[_current$0] = null; + return false; + } + let index = _js_helper.stringIndexOfStringUnchecked(this[_input$], this[_pattern$], this[_index$0]); + if (index < 0) { + this[_index$0] = this[_input$].length + 1; + this[_current$0] = null; + return false; + } + let end = index + this[_pattern$].length; + this[_current$0] = new _js_helper.StringMatch.new(index, this[_input$], this[_pattern$]); + if (end === this[_index$0]) end = end + 1; + this[_index$0] = end; + return true; + } + get current() { + return dart.nullCheck(this[_current$0]); + } +}; +(_js_helper._StringAllMatchesIterator.new = function(_input, _pattern, _index) { + if (_input == null) dart.nullFailed(I[52], 84, 34, "_input"); + if (_pattern == null) dart.nullFailed(I[52], 84, 47, "_pattern"); + if (_index == null) dart.nullFailed(I[52], 84, 62, "_index"); + this[_current$0] = null; + this[_input$] = _input; + this[_pattern$] = _pattern; + this[_index$0] = _index; + ; +}).prototype = _js_helper._StringAllMatchesIterator.prototype; +dart.addTypeTests(_js_helper._StringAllMatchesIterator); +dart.addTypeCaches(_js_helper._StringAllMatchesIterator); +_js_helper._StringAllMatchesIterator[dart.implements] = () => [core.Iterator$(core.Match)]; +dart.setMethodSignature(_js_helper._StringAllMatchesIterator, () => ({ + __proto__: dart.getMethods(_js_helper._StringAllMatchesIterator.__proto__), + moveNext: dart.fnType(core.bool, []) +})); +dart.setGetterSignature(_js_helper._StringAllMatchesIterator, () => ({ + __proto__: dart.getGetters(_js_helper._StringAllMatchesIterator.__proto__), + current: core.Match +})); +dart.setLibraryUri(_js_helper._StringAllMatchesIterator, I[45]); +dart.setFieldSignature(_js_helper._StringAllMatchesIterator, () => ({ + __proto__: dart.getFields(_js_helper._StringAllMatchesIterator.__proto__), + [_input$]: dart.finalFieldType(core.String), + [_pattern$]: dart.finalFieldType(core.String), + [_index$0]: dart.fieldType(core.int), + [_current$0]: dart.fieldType(dart.nullable(core.Match)) +})); +_js_helper.diagnoseIndexError = function diagnoseIndexError(indexable, index) { + if (index == null) dart.nullFailed(I[46], 483, 41, "index"); + let length = core.int.as(dart.dload(indexable, 'length')); + if (dart.notNull(index) < 0 || dart.notNull(index) >= dart.notNull(length)) { + return new core.IndexError.new(index, indexable, "index", null, length); + } + return new core.RangeError.value(index, "index"); +}; +_js_helper.diagnoseRangeError = function diagnoseRangeError(start, end, length) { + if (length == null) dart.nullFailed(I[46], 499, 52, "length"); + if (start == null) { + return new core.ArgumentError.value(start, "start"); + } + if (dart.notNull(start) < 0 || dart.notNull(start) > dart.notNull(length)) { + return new core.RangeError.range(start, 0, length, "start"); + } + if (end != null) { + if (dart.notNull(end) < dart.notNull(start) || dart.notNull(end) > dart.notNull(length)) { + return new core.RangeError.range(end, start, length, "end"); + } + } + return new core.ArgumentError.value(end, "end"); +}; +_js_helper.stringLastIndexOfUnchecked = function stringLastIndexOfUnchecked(receiver, element, start) { + return receiver.lastIndexOf(element, start); +}; +_js_helper.argumentErrorValue = function argumentErrorValue(object) { + return new core.ArgumentError.value(object); +}; +_js_helper.throwArgumentErrorValue = function throwArgumentErrorValue(value) { + dart.throw(_js_helper.argumentErrorValue(value)); +}; +_js_helper.checkInt = function checkInt(value) { + if (!core.int.is(value)) dart.throw(_js_helper.argumentErrorValue(value)); + return value; +}; +_js_helper.throwRuntimeError = function throwRuntimeError(message) { + dart.throw(new _js_helper.RuntimeError.new(message)); +}; +_js_helper.throwAbstractClassInstantiationError = function throwAbstractClassInstantiationError(className) { + dart.throw(new core.AbstractClassInstantiationError.new(core.String.as(className))); +}; +_js_helper.throwConcurrentModificationError = function throwConcurrentModificationError(collection) { + dart.throw(new core.ConcurrentModificationError.new(collection)); +}; +_js_helper.fillLiteralMap = function fillLiteralMap(keyValuePairs, result) { + let t82, t82$; + if (result == null) dart.nullFailed(I[46], 579, 35, "result"); + let index = 0; + let length = _js_helper.getLength(keyValuePairs); + while (index < dart.notNull(length)) { + let key = _js_helper.getIndex(keyValuePairs, (t82 = index, index = t82 + 1, t82)); + let value = _js_helper.getIndex(keyValuePairs, (t82$ = index, index = t82$ + 1, t82$)); + result[$_set](key, value); + } + return result; +}; +_js_helper.jsHasOwnProperty = function jsHasOwnProperty(jsObject, property) { + if (property == null) dart.nullFailed(I[46], 592, 40, "property"); + return jsObject.hasOwnProperty(property); +}; +_js_helper.jsPropertyAccess = function jsPropertyAccess(jsObject, property) { + if (property == null) dart.nullFailed(I[46], 596, 35, "property"); + return jsObject[property]; +}; +_js_helper.getFallThroughError = function getFallThroughError() { + return new _js_helper.FallThroughErrorImplementation.new(); +}; +_js_helper.random64 = function random64() { + let int32a = Math.random() * 0x100000000 >>> 0; + let int32b = Math.random() * 0x100000000 >>> 0; + return int32a + int32b * 4294967296; +}; +_js_helper.registerGlobalObject = function registerGlobalObject(object) { + try { + if (dart.test(dart.polyfill(object))) { + dart.applyAllExtensions(object); + } + } catch (e$) { + let e = dart.getThrown(e$); + if (core.Object.is(e)) { + } else + throw e$; + } +}; +_js_helper.applyExtension = function applyExtension$(name, nativeObject) { + dart.applyExtension(name, nativeObject); +}; +_js_helper.applyTestExtensions = function applyTestExtensions(names) { + if (names == null) dart.nullFailed(I[46], 802, 39, "names"); + names[$forEach](C[28] || CT.C28); +}; +_js_helper.assertInterop = function assertInterop$(value) { + if (core.Function.is(value)) dart.assertInterop(value); +}; +_js_helper.assertInteropArgs = function assertInteropArgs(args) { + if (args == null) dart.nullFailed(I[46], 843, 38, "args"); + return args[$forEach](C[29] || CT.C29); +}; +_js_helper.getRuntimeType = function getRuntimeType(object) { + return dart.getReifiedType(object); +}; +_js_helper.getIndex = function getIndex(array, index) { + if (index == null) dart.nullFailed(I[53], 13, 21, "index"); + if (!dart.test(_js_helper.isJsArray(array))) dart.assertFailed(null, I[53], 14, 10, "isJsArray(array)"); + return array[index]; +}; +_js_helper.getLength = function getLength(array) { + if (!dart.test(_js_helper.isJsArray(array))) dart.assertFailed(null, I[53], 20, 10, "isJsArray(array)"); + return array.length; +}; +_js_helper.isJsArray = function isJsArray(value) { + return _interceptors.JSArray.is(value); +}; +_js_helper.putLinkedMapKey = function putLinkedMapKey(key, keyMap) { + let hash = key[$hashCode] & 0x3ffffff; + let buckets = keyMap.get(hash); + if (buckets == null) { + keyMap.set(hash, [key]); + return key; + } + for (let i = 0, n = buckets.length; i < n; i = i + 1) { + let k = buckets[i]; + if (k[$_equals](key)) return k; + } + buckets.push(key); + return key; +}; +_js_helper.convertDartClosureToJS = function convertDartClosureToJS(F, closure, arity) { + if (arity == null) dart.nullFailed(I[54], 9, 44, "arity"); + return closure; +}; +_js_helper.setNativeSubclassDispatchRecord = function setNativeSubclassDispatchRecord(proto, interceptor) { +}; +_js_helper.findDispatchTagForInterceptorClass = function findDispatchTagForInterceptorClass(interceptorClassConstructor) { +}; +_js_helper.makeLeafDispatchRecord = function makeLeafDispatchRecord(interceptor) { +}; +_js_helper.regExpGetNative = function regExpGetNative(regexp) { + if (regexp == null) dart.nullFailed(I[51], 8, 32, "regexp"); + return regexp[_nativeRegExp]; +}; +_js_helper.regExpGetGlobalNative = function regExpGetGlobalNative(regexp) { + if (regexp == null) dart.nullFailed(I[51], 19, 38, "regexp"); + let nativeRegexp = regexp[_nativeGlobalVersion]; + nativeRegexp.lastIndex = 0; + return nativeRegexp; +}; +_js_helper.regExpCaptureCount = function regExpCaptureCount(regexp) { + if (regexp == null) dart.nullFailed(I[51], 35, 39, "regexp"); + let nativeAnchoredRegExp = regexp[_nativeAnchoredVersion]; + let match = nativeAnchoredRegExp.exec(''); + return match[$length] - 2; +}; +_js_helper.firstMatchAfter = function firstMatchAfter(regExp, string, start) { + if (regExp == null) dart.nullFailed(I[51], 293, 45, "regExp"); + if (string == null) dart.nullFailed(I[51], 293, 60, "string"); + if (start == null) dart.nullFailed(I[51], 293, 72, "start"); + return regExp[_execGlobal](string, start); +}; +_js_helper.stringIndexOfStringUnchecked = function stringIndexOfStringUnchecked(receiver, other, startIndex) { + return receiver.indexOf(other, startIndex); +}; +_js_helper.substring1Unchecked = function substring1Unchecked(receiver, startIndex) { + return receiver.substring(startIndex); +}; +_js_helper.substring2Unchecked = function substring2Unchecked(receiver, startIndex, endIndex) { + return receiver.substring(startIndex, endIndex); +}; +_js_helper.stringContainsStringUnchecked = function stringContainsStringUnchecked(receiver, other, startIndex) { + return _js_helper.stringIndexOfStringUnchecked(receiver, other, startIndex) >= 0; +}; +_js_helper.allMatchesInStringUnchecked = function allMatchesInStringUnchecked(pattern, string, startIndex) { + if (pattern == null) dart.nullFailed(I[52], 55, 12, "pattern"); + if (string == null) dart.nullFailed(I[52], 55, 28, "string"); + if (startIndex == null) dart.nullFailed(I[52], 55, 40, "startIndex"); + return new _js_helper._StringAllMatchesIterable.new(string, pattern, startIndex); +}; +_js_helper.stringContainsUnchecked = function stringContainsUnchecked(receiver, other, startIndex) { + if (startIndex == null) dart.nullFailed(I[52], 110, 51, "startIndex"); + if (typeof other == 'string') { + return _js_helper.stringContainsStringUnchecked(receiver, other, startIndex); + } else if (_js_helper.JSSyntaxRegExp.is(other)) { + return other.hasMatch(receiver[$substring](startIndex)); + } else { + let substr = receiver[$substring](startIndex); + return core.bool.as(dart.dload(dart.dsend(other, 'allMatches', [substr]), 'isNotEmpty')); + } +}; +_js_helper.stringReplaceJS = function stringReplaceJS(receiver, replacer, replacement) { + if (receiver == null) dart.nullFailed(I[52], 122, 31, "receiver"); + if (replacement == null) dart.nullFailed(I[52], 122, 58, "replacement"); + replacement = replacement.replace(/\$/g, "$$$$"); + return receiver.replace(replacer, replacement); +}; +_js_helper.stringReplaceFirstRE = function stringReplaceFirstRE(receiver, regexp, replacement, startIndex) { + if (regexp == null) dart.nullFailed(I[52], 131, 70, "regexp"); + if (replacement == null) dart.nullFailed(I[52], 132, 12, "replacement"); + if (startIndex == null) dart.nullFailed(I[52], 132, 29, "startIndex"); + let match = regexp[_execGlobal](receiver, startIndex); + if (match == null) return receiver; + let start = match.start; + let end = match.end; + return _js_helper.stringReplaceRangeUnchecked(receiver, start, end, replacement); +}; +_js_helper.quoteStringForRegExp = function quoteStringForRegExp(string) { + return string.replace(/[[\]{}()*+?.\\^$|]/g, "\\$&"); +}; +_js_helper.stringReplaceAllUnchecked = function stringReplaceAllUnchecked(receiver, pattern, replacement) { + if (pattern == null) dart.argumentError(pattern); + if (replacement == null) dart.argumentError(replacement); + if (typeof pattern == 'string') { + if (pattern === "") { + if (receiver === "") { + return replacement; + } else { + let result = new core.StringBuffer.new(); + let length = receiver.length; + result.write(replacement); + for (let i = 0; i < length; i = i + 1) { + result.write(receiver[$_get](i)); + result.write(replacement); + } + return result.toString(); + } + } else { + return receiver.split(pattern).join(replacement); + } + } else if (_js_helper.JSSyntaxRegExp.is(pattern)) { + let re = _js_helper.regExpGetGlobalNative(pattern); + return _js_helper.stringReplaceJS(receiver, re, replacement); + } else { + dart.throw("String.replaceAll(Pattern) UNIMPLEMENTED"); + } +}; +_js_helper._matchString = function _matchString(match) { + if (match == null) dart.nullFailed(I[52], 177, 27, "match"); + return dart.nullCheck(match._get(0)); +}; +_js_helper._stringIdentity = function _stringIdentity(string) { + if (string == null) dart.nullFailed(I[52], 178, 31, "string"); + return string; +}; +_js_helper.stringReplaceAllFuncUnchecked = function stringReplaceAllFuncUnchecked(receiver, pattern, onMatch, onNonMatch) { + if (receiver == null) dart.nullFailed(I[52], 182, 12, "receiver"); + if (pattern == null) dart.argumentError(pattern); + if (onMatch == null) onMatch = C[30] || CT.C30; + if (onNonMatch == null) onNonMatch = C[31] || CT.C31; + if (typeof pattern == 'string') { + return _js_helper.stringReplaceAllStringFuncUnchecked(receiver, pattern, onMatch, onNonMatch); + } + let buffer = new core.StringBuffer.new(); + let startIndex = 0; + for (let match of pattern[$allMatches](receiver)) { + buffer.write(onNonMatch(receiver[$substring](startIndex, match.start))); + buffer.write(onMatch(match)); + startIndex = match.end; + } + buffer.write(onNonMatch(receiver[$substring](startIndex))); + return buffer.toString(); +}; +_js_helper.stringReplaceAllEmptyFuncUnchecked = function stringReplaceAllEmptyFuncUnchecked(receiver, onMatch, onNonMatch) { + if (receiver == null) dart.nullFailed(I[52], 204, 50, "receiver"); + if (onMatch == null) dart.nullFailed(I[52], 205, 12, "onMatch"); + if (onNonMatch == null) dart.nullFailed(I[52], 205, 41, "onNonMatch"); + let buffer = new core.StringBuffer.new(); + let length = receiver.length; + let i = 0; + buffer.write(onNonMatch("")); + while (i < length) { + buffer.write(onMatch(new _js_helper.StringMatch.new(i, receiver, ""))); + let code = receiver[$codeUnitAt](i); + if ((code & ~1023 >>> 0) === 55296 && length > i + 1) { + code = receiver[$codeUnitAt](i + 1); + if ((code & ~1023 >>> 0) === 56320) { + buffer.write(onNonMatch(receiver[$substring](i, i + 2))); + i = i + 2; + continue; + } + } + buffer.write(onNonMatch(receiver[$_get](i))); + i = i + 1; + } + buffer.write(onMatch(new _js_helper.StringMatch.new(i, receiver, ""))); + buffer.write(onNonMatch("")); + return buffer.toString(); +}; +_js_helper.stringReplaceAllStringFuncUnchecked = function stringReplaceAllStringFuncUnchecked(receiver, pattern, onMatch, onNonMatch) { + if (receiver == null) dart.nullFailed(I[52], 234, 51, "receiver"); + if (pattern == null) dart.nullFailed(I[52], 234, 68, "pattern"); + if (onMatch == null) dart.nullFailed(I[52], 235, 12, "onMatch"); + if (onNonMatch == null) dart.nullFailed(I[52], 235, 41, "onNonMatch"); + let patternLength = pattern.length; + if (patternLength === 0) { + return _js_helper.stringReplaceAllEmptyFuncUnchecked(receiver, onMatch, onNonMatch); + } + let length = receiver.length; + let buffer = new core.StringBuffer.new(); + let startIndex = 0; + while (startIndex < length) { + let position = _js_helper.stringIndexOfStringUnchecked(receiver, pattern, startIndex); + if (position === -1) { + break; + } + buffer.write(onNonMatch(receiver[$substring](startIndex, position))); + buffer.write(onMatch(new _js_helper.StringMatch.new(position, receiver, pattern))); + startIndex = position + patternLength; + } + buffer.write(onNonMatch(receiver[$substring](startIndex))); + return buffer.toString(); +}; +_js_helper.stringReplaceFirstUnchecked = function stringReplaceFirstUnchecked(receiver, pattern, replacement, startIndex) { + if (pattern == null) dart.argumentError(pattern); + if (replacement == null) dart.nullFailed(I[52], 258, 40, "replacement"); + if (startIndex == null) dart.nullFailed(I[52], 258, 57, "startIndex"); + if (typeof pattern == 'string') { + let index = _js_helper.stringIndexOfStringUnchecked(receiver, pattern, startIndex); + if (index < 0) return receiver; + let end = index + pattern.length; + return _js_helper.stringReplaceRangeUnchecked(receiver, index, end, replacement); + } + if (_js_helper.JSSyntaxRegExp.is(pattern)) { + return startIndex === 0 ? _js_helper.stringReplaceJS(receiver, _js_helper.regExpGetNative(pattern), replacement) : _js_helper.stringReplaceFirstRE(receiver, pattern, replacement, startIndex); + } + let matches = pattern[$allMatches](receiver, startIndex)[$iterator]; + if (!dart.test(matches.moveNext())) return receiver; + let match = matches.current; + return receiver[$replaceRange](match.start, match.end, replacement); +}; +_js_helper.stringReplaceFirstMappedUnchecked = function stringReplaceFirstMappedUnchecked(receiver, pattern, replace, startIndex) { + if (receiver == null) dart.nullFailed(I[52], 277, 49, "receiver"); + if (pattern == null) dart.nullFailed(I[52], 277, 67, "pattern"); + if (replace == null) dart.nullFailed(I[52], 278, 12, "replace"); + if (startIndex == null) dart.nullFailed(I[52], 278, 40, "startIndex"); + let matches = pattern[$allMatches](receiver, startIndex)[$iterator]; + if (!dart.test(matches.moveNext())) return receiver; + let match = matches.current; + let replacement = dart.str(replace(match)); + return receiver[$replaceRange](match.start, match.end, replacement); +}; +_js_helper.stringJoinUnchecked = function stringJoinUnchecked(array, separator) { + return array.join(separator); +}; +_js_helper.stringReplaceRangeUnchecked = function stringReplaceRangeUnchecked(receiver, start, end, replacement) { + if (receiver == null) dart.nullFailed(I[52], 293, 12, "receiver"); + if (start == null) dart.nullFailed(I[52], 293, 26, "start"); + if (end == null) dart.nullFailed(I[52], 293, 37, "end"); + if (replacement == null) dart.nullFailed(I[52], 293, 49, "replacement"); + let prefix = receiver.substring(0, start); + let suffix = receiver.substring(end); + return prefix + dart.str(replacement) + suffix; +}; +dart.defineLazy(_js_helper, { + /*_js_helper.patch*/get patch() { + return C[32] || CT.C32; + }, + /*_js_helper.notNull*/get notNull() { + return C[33] || CT.C33; + }, + /*_js_helper.undefined*/get undefined() { + return C[34] || CT.C34; + }, + /*_js_helper.nullCheck*/get nullCheck() { + return C[35] || CT.C35; + } +}, false); +_js_primitives.printString = function printString(string) { + if (string == null) dart.nullFailed(I[55], 20, 25, "string"); + if (typeof dartPrint == "function") { + dartPrint(string); + return; + } + if (typeof console == "object" && typeof console.log != "undefined") { + console.log(string); + return; + } + if (typeof window == "object") { + return; + } + if (typeof print == "function") { + print(string); + return; + } + throw "Unable to print message: " + String(string); +}; +var browserName$ = dart.privateName(_metadata, "SupportedBrowser.browserName"); +var minimumVersion$ = dart.privateName(_metadata, "SupportedBrowser.minimumVersion"); +_metadata.SupportedBrowser = class SupportedBrowser extends core.Object { + get browserName() { + return this[browserName$]; + } + set browserName(value) { + super.browserName = value; + } + get minimumVersion() { + return this[minimumVersion$]; + } + set minimumVersion(value) { + super.minimumVersion = value; + } +}; +(_metadata.SupportedBrowser.new = function(browserName, minimumVersion = null) { + if (browserName == null) dart.nullFailed(I[56], 28, 31, "browserName"); + this[browserName$] = browserName; + this[minimumVersion$] = minimumVersion; + ; +}).prototype = _metadata.SupportedBrowser.prototype; +dart.addTypeTests(_metadata.SupportedBrowser); +dart.addTypeCaches(_metadata.SupportedBrowser); +dart.setLibraryUri(_metadata.SupportedBrowser, I[57]); +dart.setFieldSignature(_metadata.SupportedBrowser, () => ({ + __proto__: dart.getFields(_metadata.SupportedBrowser.__proto__), + browserName: dart.finalFieldType(core.String), + minimumVersion: dart.finalFieldType(dart.nullable(core.String)) +})); +dart.defineLazy(_metadata.SupportedBrowser, { + /*_metadata.SupportedBrowser.CHROME*/get CHROME() { + return "Chrome"; + }, + /*_metadata.SupportedBrowser.FIREFOX*/get FIREFOX() { + return "Firefox"; + }, + /*_metadata.SupportedBrowser.IE*/get IE() { + return "Internet Explorer"; + }, + /*_metadata.SupportedBrowser.OPERA*/get OPERA() { + return "Opera"; + }, + /*_metadata.SupportedBrowser.SAFARI*/get SAFARI() { + return "Safari"; + } +}, false); +_metadata.Experimental = class Experimental extends core.Object {}; +(_metadata.Experimental.new = function() { + ; +}).prototype = _metadata.Experimental.prototype; +dart.addTypeTests(_metadata.Experimental); +dart.addTypeCaches(_metadata.Experimental); +dart.setLibraryUri(_metadata.Experimental, I[57]); +var name$9 = dart.privateName(_metadata, "DomName.name"); +_metadata.DomName = class DomName extends core.Object { + get name() { + return this[name$9]; + } + set name(value) { + super.name = value; + } +}; +(_metadata.DomName.new = function(name) { + if (name == null) dart.nullFailed(I[56], 54, 22, "name"); + this[name$9] = name; + ; +}).prototype = _metadata.DomName.prototype; +dart.addTypeTests(_metadata.DomName); +dart.addTypeCaches(_metadata.DomName); +dart.setLibraryUri(_metadata.DomName, I[57]); +dart.setFieldSignature(_metadata.DomName, () => ({ + __proto__: dart.getFields(_metadata.DomName.__proto__), + name: dart.finalFieldType(core.String) +})); +_metadata.DocsEditable = class DocsEditable extends core.Object {}; +(_metadata.DocsEditable.new = function() { + ; +}).prototype = _metadata.DocsEditable.prototype; +dart.addTypeTests(_metadata.DocsEditable); +dart.addTypeCaches(_metadata.DocsEditable); +dart.setLibraryUri(_metadata.DocsEditable, I[57]); +_metadata.Unstable = class Unstable extends core.Object {}; +(_metadata.Unstable.new = function() { + ; +}).prototype = _metadata.Unstable.prototype; +dart.addTypeTests(_metadata.Unstable); +dart.addTypeCaches(_metadata.Unstable); +dart.setLibraryUri(_metadata.Unstable, I[57]); +_native_typed_data.NativeByteBuffer = class NativeByteBuffer extends core.Object { + get [$lengthInBytes]() { + return this.byteLength; + } + get [$runtimeType]() { + return dart.wrapType(typed_data.ByteBuffer); + } + [$asUint8List](offsetInBytes = 0, length = null) { + if (offsetInBytes == null) dart.nullFailed(I[58], 33, 30, "offsetInBytes"); + return _native_typed_data.NativeUint8List.view(this, offsetInBytes, length); + } + [$asInt8List](offsetInBytes = 0, length = null) { + if (offsetInBytes == null) dart.nullFailed(I[58], 37, 28, "offsetInBytes"); + return _native_typed_data.NativeInt8List.view(this, offsetInBytes, length); + } + [$asUint8ClampedList](offsetInBytes = 0, length = null) { + if (offsetInBytes == null) dart.nullFailed(I[58], 41, 44, "offsetInBytes"); + return _native_typed_data.NativeUint8ClampedList.view(this, offsetInBytes, length); + } + [$asUint16List](offsetInBytes = 0, length = null) { + if (offsetInBytes == null) dart.nullFailed(I[58], 45, 32, "offsetInBytes"); + return _native_typed_data.NativeUint16List.view(this, offsetInBytes, length); + } + [$asInt16List](offsetInBytes = 0, length = null) { + if (offsetInBytes == null) dart.nullFailed(I[58], 49, 30, "offsetInBytes"); + return _native_typed_data.NativeInt16List.view(this, offsetInBytes, length); + } + [$asUint32List](offsetInBytes = 0, length = null) { + if (offsetInBytes == null) dart.nullFailed(I[58], 53, 32, "offsetInBytes"); + return _native_typed_data.NativeUint32List.view(this, offsetInBytes, length); + } + [$asInt32List](offsetInBytes = 0, length = null) { + if (offsetInBytes == null) dart.nullFailed(I[58], 57, 30, "offsetInBytes"); + return _native_typed_data.NativeInt32List.view(this, offsetInBytes, length); + } + [$asUint64List](offsetInBytes = 0, length = null) { + if (offsetInBytes == null) dart.nullFailed(I[58], 61, 32, "offsetInBytes"); + dart.throw(new core.UnsupportedError.new("Uint64List not supported by dart2js.")); + } + [$asInt64List](offsetInBytes = 0, length = null) { + if (offsetInBytes == null) dart.nullFailed(I[58], 65, 30, "offsetInBytes"); + dart.throw(new core.UnsupportedError.new("Int64List not supported by dart2js.")); + } + [$asInt32x4List](offsetInBytes = 0, length = null) { + if (offsetInBytes == null) dart.nullFailed(I[58], 69, 34, "offsetInBytes"); + length == null ? length = ((dart.notNull(this[$lengthInBytes]) - dart.notNull(offsetInBytes)) / 16)[$truncate]() : null; + let storage = this[$asInt32List](offsetInBytes, dart.notNull(length) * 4); + return new _native_typed_data.NativeInt32x4List._externalStorage(storage); + } + [$asFloat32List](offsetInBytes = 0, length = null) { + if (offsetInBytes == null) dart.nullFailed(I[58], 75, 34, "offsetInBytes"); + return _native_typed_data.NativeFloat32List.view(this, offsetInBytes, length); + } + [$asFloat64List](offsetInBytes = 0, length = null) { + if (offsetInBytes == null) dart.nullFailed(I[58], 79, 34, "offsetInBytes"); + return _native_typed_data.NativeFloat64List.view(this, offsetInBytes, length); + } + [$asFloat32x4List](offsetInBytes = 0, length = null) { + if (offsetInBytes == null) dart.nullFailed(I[58], 83, 38, "offsetInBytes"); + length == null ? length = ((dart.notNull(this[$lengthInBytes]) - dart.notNull(offsetInBytes)) / 16)[$truncate]() : null; + let storage = this[$asFloat32List](offsetInBytes, dart.notNull(length) * 4); + return new _native_typed_data.NativeFloat32x4List._externalStorage(storage); + } + [$asFloat64x2List](offsetInBytes = 0, length = null) { + if (offsetInBytes == null) dart.nullFailed(I[58], 89, 38, "offsetInBytes"); + length == null ? length = ((dart.notNull(this[$lengthInBytes]) - dart.notNull(offsetInBytes)) / 16)[$truncate]() : null; + let storage = this[$asFloat64List](offsetInBytes, dart.notNull(length) * 2); + return new _native_typed_data.NativeFloat64x2List._externalStorage(storage); + } + [$asByteData](offsetInBytes = 0, length = null) { + if (offsetInBytes == null) dart.nullFailed(I[58], 95, 28, "offsetInBytes"); + return _native_typed_data.NativeByteData.view(this, offsetInBytes, length); + } +}; +(_native_typed_data.NativeByteBuffer.new = function() { + ; +}).prototype = _native_typed_data.NativeByteBuffer.prototype; +dart.addTypeTests(_native_typed_data.NativeByteBuffer); +dart.addTypeCaches(_native_typed_data.NativeByteBuffer); +_native_typed_data.NativeByteBuffer[dart.implements] = () => [typed_data.ByteBuffer]; +dart.setMethodSignature(_native_typed_data.NativeByteBuffer, () => ({ + __proto__: dart.getMethods(_native_typed_data.NativeByteBuffer.__proto__), + [$asUint8List]: dart.fnType(typed_data.Uint8List, [], [core.int, dart.nullable(core.int)]), + [$asInt8List]: dart.fnType(typed_data.Int8List, [], [core.int, dart.nullable(core.int)]), + [$asUint8ClampedList]: dart.fnType(typed_data.Uint8ClampedList, [], [core.int, dart.nullable(core.int)]), + [$asUint16List]: dart.fnType(typed_data.Uint16List, [], [core.int, dart.nullable(core.int)]), + [$asInt16List]: dart.fnType(typed_data.Int16List, [], [core.int, dart.nullable(core.int)]), + [$asUint32List]: dart.fnType(typed_data.Uint32List, [], [core.int, dart.nullable(core.int)]), + [$asInt32List]: dart.fnType(typed_data.Int32List, [], [core.int, dart.nullable(core.int)]), + [$asUint64List]: dart.fnType(typed_data.Uint64List, [], [core.int, dart.nullable(core.int)]), + [$asInt64List]: dart.fnType(typed_data.Int64List, [], [core.int, dart.nullable(core.int)]), + [$asInt32x4List]: dart.fnType(typed_data.Int32x4List, [], [core.int, dart.nullable(core.int)]), + [$asFloat32List]: dart.fnType(typed_data.Float32List, [], [core.int, dart.nullable(core.int)]), + [$asFloat64List]: dart.fnType(typed_data.Float64List, [], [core.int, dart.nullable(core.int)]), + [$asFloat32x4List]: dart.fnType(typed_data.Float32x4List, [], [core.int, dart.nullable(core.int)]), + [$asFloat64x2List]: dart.fnType(typed_data.Float64x2List, [], [core.int, dart.nullable(core.int)]), + [$asByteData]: dart.fnType(typed_data.ByteData, [], [core.int, dart.nullable(core.int)]) +})); +dart.setGetterSignature(_native_typed_data.NativeByteBuffer, () => ({ + __proto__: dart.getGetters(_native_typed_data.NativeByteBuffer.__proto__), + [$lengthInBytes]: core.int +})); +dart.setLibraryUri(_native_typed_data.NativeByteBuffer, I[59]); +dart.registerExtension("ArrayBuffer", _native_typed_data.NativeByteBuffer); +var _storage$ = dart.privateName(_native_typed_data, "_storage"); +typed_data.Float32x4 = class Float32x4 extends core.Object {}; +(typed_data.Float32x4[dart.mixinNew] = function() { +}).prototype = typed_data.Float32x4.prototype; +dart.addTypeTests(typed_data.Float32x4); +dart.addTypeCaches(typed_data.Float32x4); +dart.setLibraryUri(typed_data.Float32x4, I[60]); +dart.defineLazy(typed_data.Float32x4, { + /*typed_data.Float32x4.xxxx*/get xxxx() { + return 0; + }, + /*typed_data.Float32x4.xxxy*/get xxxy() { + return 64; + }, + /*typed_data.Float32x4.xxxz*/get xxxz() { + return 128; + }, + /*typed_data.Float32x4.xxxw*/get xxxw() { + return 192; + }, + /*typed_data.Float32x4.xxyx*/get xxyx() { + return 16; + }, + /*typed_data.Float32x4.xxyy*/get xxyy() { + return 80; + }, + /*typed_data.Float32x4.xxyz*/get xxyz() { + return 144; + }, + /*typed_data.Float32x4.xxyw*/get xxyw() { + return 208; + }, + /*typed_data.Float32x4.xxzx*/get xxzx() { + return 32; + }, + /*typed_data.Float32x4.xxzy*/get xxzy() { + return 96; + }, + /*typed_data.Float32x4.xxzz*/get xxzz() { + return 160; + }, + /*typed_data.Float32x4.xxzw*/get xxzw() { + return 224; + }, + /*typed_data.Float32x4.xxwx*/get xxwx() { + return 48; + }, + /*typed_data.Float32x4.xxwy*/get xxwy() { + return 112; + }, + /*typed_data.Float32x4.xxwz*/get xxwz() { + return 176; + }, + /*typed_data.Float32x4.xxww*/get xxww() { + return 240; + }, + /*typed_data.Float32x4.xyxx*/get xyxx() { + return 4; + }, + /*typed_data.Float32x4.xyxy*/get xyxy() { + return 68; + }, + /*typed_data.Float32x4.xyxz*/get xyxz() { + return 132; + }, + /*typed_data.Float32x4.xyxw*/get xyxw() { + return 196; + }, + /*typed_data.Float32x4.xyyx*/get xyyx() { + return 20; + }, + /*typed_data.Float32x4.xyyy*/get xyyy() { + return 84; + }, + /*typed_data.Float32x4.xyyz*/get xyyz() { + return 148; + }, + /*typed_data.Float32x4.xyyw*/get xyyw() { + return 212; + }, + /*typed_data.Float32x4.xyzx*/get xyzx() { + return 36; + }, + /*typed_data.Float32x4.xyzy*/get xyzy() { + return 100; + }, + /*typed_data.Float32x4.xyzz*/get xyzz() { + return 164; + }, + /*typed_data.Float32x4.xyzw*/get xyzw() { + return 228; + }, + /*typed_data.Float32x4.xywx*/get xywx() { + return 52; + }, + /*typed_data.Float32x4.xywy*/get xywy() { + return 116; + }, + /*typed_data.Float32x4.xywz*/get xywz() { + return 180; + }, + /*typed_data.Float32x4.xyww*/get xyww() { + return 244; + }, + /*typed_data.Float32x4.xzxx*/get xzxx() { + return 8; + }, + /*typed_data.Float32x4.xzxy*/get xzxy() { + return 72; + }, + /*typed_data.Float32x4.xzxz*/get xzxz() { + return 136; + }, + /*typed_data.Float32x4.xzxw*/get xzxw() { + return 200; + }, + /*typed_data.Float32x4.xzyx*/get xzyx() { + return 24; + }, + /*typed_data.Float32x4.xzyy*/get xzyy() { + return 88; + }, + /*typed_data.Float32x4.xzyz*/get xzyz() { + return 152; + }, + /*typed_data.Float32x4.xzyw*/get xzyw() { + return 216; + }, + /*typed_data.Float32x4.xzzx*/get xzzx() { + return 40; + }, + /*typed_data.Float32x4.xzzy*/get xzzy() { + return 104; + }, + /*typed_data.Float32x4.xzzz*/get xzzz() { + return 168; + }, + /*typed_data.Float32x4.xzzw*/get xzzw() { + return 232; + }, + /*typed_data.Float32x4.xzwx*/get xzwx() { + return 56; + }, + /*typed_data.Float32x4.xzwy*/get xzwy() { + return 120; + }, + /*typed_data.Float32x4.xzwz*/get xzwz() { + return 184; + }, + /*typed_data.Float32x4.xzww*/get xzww() { + return 248; + }, + /*typed_data.Float32x4.xwxx*/get xwxx() { + return 12; + }, + /*typed_data.Float32x4.xwxy*/get xwxy() { + return 76; + }, + /*typed_data.Float32x4.xwxz*/get xwxz() { + return 140; + }, + /*typed_data.Float32x4.xwxw*/get xwxw() { + return 204; + }, + /*typed_data.Float32x4.xwyx*/get xwyx() { + return 28; + }, + /*typed_data.Float32x4.xwyy*/get xwyy() { + return 92; + }, + /*typed_data.Float32x4.xwyz*/get xwyz() { + return 156; + }, + /*typed_data.Float32x4.xwyw*/get xwyw() { + return 220; + }, + /*typed_data.Float32x4.xwzx*/get xwzx() { + return 44; + }, + /*typed_data.Float32x4.xwzy*/get xwzy() { + return 108; + }, + /*typed_data.Float32x4.xwzz*/get xwzz() { + return 172; + }, + /*typed_data.Float32x4.xwzw*/get xwzw() { + return 236; + }, + /*typed_data.Float32x4.xwwx*/get xwwx() { + return 60; + }, + /*typed_data.Float32x4.xwwy*/get xwwy() { + return 124; + }, + /*typed_data.Float32x4.xwwz*/get xwwz() { + return 188; + }, + /*typed_data.Float32x4.xwww*/get xwww() { + return 252; + }, + /*typed_data.Float32x4.yxxx*/get yxxx() { + return 1; + }, + /*typed_data.Float32x4.yxxy*/get yxxy() { + return 65; + }, + /*typed_data.Float32x4.yxxz*/get yxxz() { + return 129; + }, + /*typed_data.Float32x4.yxxw*/get yxxw() { + return 193; + }, + /*typed_data.Float32x4.yxyx*/get yxyx() { + return 17; + }, + /*typed_data.Float32x4.yxyy*/get yxyy() { + return 81; + }, + /*typed_data.Float32x4.yxyz*/get yxyz() { + return 145; + }, + /*typed_data.Float32x4.yxyw*/get yxyw() { + return 209; + }, + /*typed_data.Float32x4.yxzx*/get yxzx() { + return 33; + }, + /*typed_data.Float32x4.yxzy*/get yxzy() { + return 97; + }, + /*typed_data.Float32x4.yxzz*/get yxzz() { + return 161; + }, + /*typed_data.Float32x4.yxzw*/get yxzw() { + return 225; + }, + /*typed_data.Float32x4.yxwx*/get yxwx() { + return 49; + }, + /*typed_data.Float32x4.yxwy*/get yxwy() { + return 113; + }, + /*typed_data.Float32x4.yxwz*/get yxwz() { + return 177; + }, + /*typed_data.Float32x4.yxww*/get yxww() { + return 241; + }, + /*typed_data.Float32x4.yyxx*/get yyxx() { + return 5; + }, + /*typed_data.Float32x4.yyxy*/get yyxy() { + return 69; + }, + /*typed_data.Float32x4.yyxz*/get yyxz() { + return 133; + }, + /*typed_data.Float32x4.yyxw*/get yyxw() { + return 197; + }, + /*typed_data.Float32x4.yyyx*/get yyyx() { + return 21; + }, + /*typed_data.Float32x4.yyyy*/get yyyy() { + return 85; + }, + /*typed_data.Float32x4.yyyz*/get yyyz() { + return 149; + }, + /*typed_data.Float32x4.yyyw*/get yyyw() { + return 213; + }, + /*typed_data.Float32x4.yyzx*/get yyzx() { + return 37; + }, + /*typed_data.Float32x4.yyzy*/get yyzy() { + return 101; + }, + /*typed_data.Float32x4.yyzz*/get yyzz() { + return 165; + }, + /*typed_data.Float32x4.yyzw*/get yyzw() { + return 229; + }, + /*typed_data.Float32x4.yywx*/get yywx() { + return 53; + }, + /*typed_data.Float32x4.yywy*/get yywy() { + return 117; + }, + /*typed_data.Float32x4.yywz*/get yywz() { + return 181; + }, + /*typed_data.Float32x4.yyww*/get yyww() { + return 245; + }, + /*typed_data.Float32x4.yzxx*/get yzxx() { + return 9; + }, + /*typed_data.Float32x4.yzxy*/get yzxy() { + return 73; + }, + /*typed_data.Float32x4.yzxz*/get yzxz() { + return 137; + }, + /*typed_data.Float32x4.yzxw*/get yzxw() { + return 201; + }, + /*typed_data.Float32x4.yzyx*/get yzyx() { + return 25; + }, + /*typed_data.Float32x4.yzyy*/get yzyy() { + return 89; + }, + /*typed_data.Float32x4.yzyz*/get yzyz() { + return 153; + }, + /*typed_data.Float32x4.yzyw*/get yzyw() { + return 217; + }, + /*typed_data.Float32x4.yzzx*/get yzzx() { + return 41; + }, + /*typed_data.Float32x4.yzzy*/get yzzy() { + return 105; + }, + /*typed_data.Float32x4.yzzz*/get yzzz() { + return 169; + }, + /*typed_data.Float32x4.yzzw*/get yzzw() { + return 233; + }, + /*typed_data.Float32x4.yzwx*/get yzwx() { + return 57; + }, + /*typed_data.Float32x4.yzwy*/get yzwy() { + return 121; + }, + /*typed_data.Float32x4.yzwz*/get yzwz() { + return 185; + }, + /*typed_data.Float32x4.yzww*/get yzww() { + return 249; + }, + /*typed_data.Float32x4.ywxx*/get ywxx() { + return 13; + }, + /*typed_data.Float32x4.ywxy*/get ywxy() { + return 77; + }, + /*typed_data.Float32x4.ywxz*/get ywxz() { + return 141; + }, + /*typed_data.Float32x4.ywxw*/get ywxw() { + return 205; + }, + /*typed_data.Float32x4.ywyx*/get ywyx() { + return 29; + }, + /*typed_data.Float32x4.ywyy*/get ywyy() { + return 93; + }, + /*typed_data.Float32x4.ywyz*/get ywyz() { + return 157; + }, + /*typed_data.Float32x4.ywyw*/get ywyw() { + return 221; + }, + /*typed_data.Float32x4.ywzx*/get ywzx() { + return 45; + }, + /*typed_data.Float32x4.ywzy*/get ywzy() { + return 109; + }, + /*typed_data.Float32x4.ywzz*/get ywzz() { + return 173; + }, + /*typed_data.Float32x4.ywzw*/get ywzw() { + return 237; + }, + /*typed_data.Float32x4.ywwx*/get ywwx() { + return 61; + }, + /*typed_data.Float32x4.ywwy*/get ywwy() { + return 125; + }, + /*typed_data.Float32x4.ywwz*/get ywwz() { + return 189; + }, + /*typed_data.Float32x4.ywww*/get ywww() { + return 253; + }, + /*typed_data.Float32x4.zxxx*/get zxxx() { + return 2; + }, + /*typed_data.Float32x4.zxxy*/get zxxy() { + return 66; + }, + /*typed_data.Float32x4.zxxz*/get zxxz() { + return 130; + }, + /*typed_data.Float32x4.zxxw*/get zxxw() { + return 194; + }, + /*typed_data.Float32x4.zxyx*/get zxyx() { + return 18; + }, + /*typed_data.Float32x4.zxyy*/get zxyy() { + return 82; + }, + /*typed_data.Float32x4.zxyz*/get zxyz() { + return 146; + }, + /*typed_data.Float32x4.zxyw*/get zxyw() { + return 210; + }, + /*typed_data.Float32x4.zxzx*/get zxzx() { + return 34; + }, + /*typed_data.Float32x4.zxzy*/get zxzy() { + return 98; + }, + /*typed_data.Float32x4.zxzz*/get zxzz() { + return 162; + }, + /*typed_data.Float32x4.zxzw*/get zxzw() { + return 226; + }, + /*typed_data.Float32x4.zxwx*/get zxwx() { + return 50; + }, + /*typed_data.Float32x4.zxwy*/get zxwy() { + return 114; + }, + /*typed_data.Float32x4.zxwz*/get zxwz() { + return 178; + }, + /*typed_data.Float32x4.zxww*/get zxww() { + return 242; + }, + /*typed_data.Float32x4.zyxx*/get zyxx() { + return 6; + }, + /*typed_data.Float32x4.zyxy*/get zyxy() { + return 70; + }, + /*typed_data.Float32x4.zyxz*/get zyxz() { + return 134; + }, + /*typed_data.Float32x4.zyxw*/get zyxw() { + return 198; + }, + /*typed_data.Float32x4.zyyx*/get zyyx() { + return 22; + }, + /*typed_data.Float32x4.zyyy*/get zyyy() { + return 86; + }, + /*typed_data.Float32x4.zyyz*/get zyyz() { + return 150; + }, + /*typed_data.Float32x4.zyyw*/get zyyw() { + return 214; + }, + /*typed_data.Float32x4.zyzx*/get zyzx() { + return 38; + }, + /*typed_data.Float32x4.zyzy*/get zyzy() { + return 102; + }, + /*typed_data.Float32x4.zyzz*/get zyzz() { + return 166; + }, + /*typed_data.Float32x4.zyzw*/get zyzw() { + return 230; + }, + /*typed_data.Float32x4.zywx*/get zywx() { + return 54; + }, + /*typed_data.Float32x4.zywy*/get zywy() { + return 118; + }, + /*typed_data.Float32x4.zywz*/get zywz() { + return 182; + }, + /*typed_data.Float32x4.zyww*/get zyww() { + return 246; + }, + /*typed_data.Float32x4.zzxx*/get zzxx() { + return 10; + }, + /*typed_data.Float32x4.zzxy*/get zzxy() { + return 74; + }, + /*typed_data.Float32x4.zzxz*/get zzxz() { + return 138; + }, + /*typed_data.Float32x4.zzxw*/get zzxw() { + return 202; + }, + /*typed_data.Float32x4.zzyx*/get zzyx() { + return 26; + }, + /*typed_data.Float32x4.zzyy*/get zzyy() { + return 90; + }, + /*typed_data.Float32x4.zzyz*/get zzyz() { + return 154; + }, + /*typed_data.Float32x4.zzyw*/get zzyw() { + return 218; + }, + /*typed_data.Float32x4.zzzx*/get zzzx() { + return 42; + }, + /*typed_data.Float32x4.zzzy*/get zzzy() { + return 106; + }, + /*typed_data.Float32x4.zzzz*/get zzzz() { + return 170; + }, + /*typed_data.Float32x4.zzzw*/get zzzw() { + return 234; + }, + /*typed_data.Float32x4.zzwx*/get zzwx() { + return 58; + }, + /*typed_data.Float32x4.zzwy*/get zzwy() { + return 122; + }, + /*typed_data.Float32x4.zzwz*/get zzwz() { + return 186; + }, + /*typed_data.Float32x4.zzww*/get zzww() { + return 250; + }, + /*typed_data.Float32x4.zwxx*/get zwxx() { + return 14; + }, + /*typed_data.Float32x4.zwxy*/get zwxy() { + return 78; + }, + /*typed_data.Float32x4.zwxz*/get zwxz() { + return 142; + }, + /*typed_data.Float32x4.zwxw*/get zwxw() { + return 206; + }, + /*typed_data.Float32x4.zwyx*/get zwyx() { + return 30; + }, + /*typed_data.Float32x4.zwyy*/get zwyy() { + return 94; + }, + /*typed_data.Float32x4.zwyz*/get zwyz() { + return 158; + }, + /*typed_data.Float32x4.zwyw*/get zwyw() { + return 222; + }, + /*typed_data.Float32x4.zwzx*/get zwzx() { + return 46; + }, + /*typed_data.Float32x4.zwzy*/get zwzy() { + return 110; + }, + /*typed_data.Float32x4.zwzz*/get zwzz() { + return 174; + }, + /*typed_data.Float32x4.zwzw*/get zwzw() { + return 238; + }, + /*typed_data.Float32x4.zwwx*/get zwwx() { + return 62; + }, + /*typed_data.Float32x4.zwwy*/get zwwy() { + return 126; + }, + /*typed_data.Float32x4.zwwz*/get zwwz() { + return 190; + }, + /*typed_data.Float32x4.zwww*/get zwww() { + return 254; + }, + /*typed_data.Float32x4.wxxx*/get wxxx() { + return 3; + }, + /*typed_data.Float32x4.wxxy*/get wxxy() { + return 67; + }, + /*typed_data.Float32x4.wxxz*/get wxxz() { + return 131; + }, + /*typed_data.Float32x4.wxxw*/get wxxw() { + return 195; + }, + /*typed_data.Float32x4.wxyx*/get wxyx() { + return 19; + }, + /*typed_data.Float32x4.wxyy*/get wxyy() { + return 83; + }, + /*typed_data.Float32x4.wxyz*/get wxyz() { + return 147; + }, + /*typed_data.Float32x4.wxyw*/get wxyw() { + return 211; + }, + /*typed_data.Float32x4.wxzx*/get wxzx() { + return 35; + }, + /*typed_data.Float32x4.wxzy*/get wxzy() { + return 99; + }, + /*typed_data.Float32x4.wxzz*/get wxzz() { + return 163; + }, + /*typed_data.Float32x4.wxzw*/get wxzw() { + return 227; + }, + /*typed_data.Float32x4.wxwx*/get wxwx() { + return 51; + }, + /*typed_data.Float32x4.wxwy*/get wxwy() { + return 115; + }, + /*typed_data.Float32x4.wxwz*/get wxwz() { + return 179; + }, + /*typed_data.Float32x4.wxww*/get wxww() { + return 243; + }, + /*typed_data.Float32x4.wyxx*/get wyxx() { + return 7; + }, + /*typed_data.Float32x4.wyxy*/get wyxy() { + return 71; + }, + /*typed_data.Float32x4.wyxz*/get wyxz() { + return 135; + }, + /*typed_data.Float32x4.wyxw*/get wyxw() { + return 199; + }, + /*typed_data.Float32x4.wyyx*/get wyyx() { + return 23; + }, + /*typed_data.Float32x4.wyyy*/get wyyy() { + return 87; + }, + /*typed_data.Float32x4.wyyz*/get wyyz() { + return 151; + }, + /*typed_data.Float32x4.wyyw*/get wyyw() { + return 215; + }, + /*typed_data.Float32x4.wyzx*/get wyzx() { + return 39; + }, + /*typed_data.Float32x4.wyzy*/get wyzy() { + return 103; + }, + /*typed_data.Float32x4.wyzz*/get wyzz() { + return 167; + }, + /*typed_data.Float32x4.wyzw*/get wyzw() { + return 231; + }, + /*typed_data.Float32x4.wywx*/get wywx() { + return 55; + }, + /*typed_data.Float32x4.wywy*/get wywy() { + return 119; + }, + /*typed_data.Float32x4.wywz*/get wywz() { + return 183; + }, + /*typed_data.Float32x4.wyww*/get wyww() { + return 247; + }, + /*typed_data.Float32x4.wzxx*/get wzxx() { + return 11; + }, + /*typed_data.Float32x4.wzxy*/get wzxy() { + return 75; + }, + /*typed_data.Float32x4.wzxz*/get wzxz() { + return 139; + }, + /*typed_data.Float32x4.wzxw*/get wzxw() { + return 203; + }, + /*typed_data.Float32x4.wzyx*/get wzyx() { + return 27; + }, + /*typed_data.Float32x4.wzyy*/get wzyy() { + return 91; + }, + /*typed_data.Float32x4.wzyz*/get wzyz() { + return 155; + }, + /*typed_data.Float32x4.wzyw*/get wzyw() { + return 219; + }, + /*typed_data.Float32x4.wzzx*/get wzzx() { + return 43; + }, + /*typed_data.Float32x4.wzzy*/get wzzy() { + return 107; + }, + /*typed_data.Float32x4.wzzz*/get wzzz() { + return 171; + }, + /*typed_data.Float32x4.wzzw*/get wzzw() { + return 235; + }, + /*typed_data.Float32x4.wzwx*/get wzwx() { + return 59; + }, + /*typed_data.Float32x4.wzwy*/get wzwy() { + return 123; + }, + /*typed_data.Float32x4.wzwz*/get wzwz() { + return 187; + }, + /*typed_data.Float32x4.wzww*/get wzww() { + return 251; + }, + /*typed_data.Float32x4.wwxx*/get wwxx() { + return 15; + }, + /*typed_data.Float32x4.wwxy*/get wwxy() { + return 79; + }, + /*typed_data.Float32x4.wwxz*/get wwxz() { + return 143; + }, + /*typed_data.Float32x4.wwxw*/get wwxw() { + return 207; + }, + /*typed_data.Float32x4.wwyx*/get wwyx() { + return 31; + }, + /*typed_data.Float32x4.wwyy*/get wwyy() { + return 95; + }, + /*typed_data.Float32x4.wwyz*/get wwyz() { + return 159; + }, + /*typed_data.Float32x4.wwyw*/get wwyw() { + return 223; + }, + /*typed_data.Float32x4.wwzx*/get wwzx() { + return 47; + }, + /*typed_data.Float32x4.wwzy*/get wwzy() { + return 111; + }, + /*typed_data.Float32x4.wwzz*/get wwzz() { + return 175; + }, + /*typed_data.Float32x4.wwzw*/get wwzw() { + return 239; + }, + /*typed_data.Float32x4.wwwx*/get wwwx() { + return 63; + }, + /*typed_data.Float32x4.wwwy*/get wwwy() { + return 127; + }, + /*typed_data.Float32x4.wwwz*/get wwwz() { + return 191; + }, + /*typed_data.Float32x4.wwww*/get wwww() { + return 255; + } +}, false); +const Object_ListMixin$36 = class Object_ListMixin extends core.Object {}; +(Object_ListMixin$36.new = function() { +}).prototype = Object_ListMixin$36.prototype; +dart.applyMixin(Object_ListMixin$36, collection.ListMixin$(typed_data.Float32x4)); +const Object_FixedLengthListMixin$36 = class Object_FixedLengthListMixin extends Object_ListMixin$36 {}; +(Object_FixedLengthListMixin$36.new = function() { +}).prototype = Object_FixedLengthListMixin$36.prototype; +dart.applyMixin(Object_FixedLengthListMixin$36, _internal.FixedLengthListMixin$(typed_data.Float32x4)); +_native_typed_data.NativeFloat32x4List = class NativeFloat32x4List extends Object_FixedLengthListMixin$36 { + get runtimeType() { + return dart.wrapType(typed_data.Float32x4List); + } + static fromList(list) { + if (list == null) dart.nullFailed(I[58], 129, 56, "list"); + if (_native_typed_data.NativeFloat32x4List.is(list)) { + return new _native_typed_data.NativeFloat32x4List._externalStorage(_native_typed_data.NativeFloat32List.fromList(list[_storage$])); + } else { + return new _native_typed_data.NativeFloat32x4List._slowFromList(list); + } + } + get buffer() { + return this[_storage$][$buffer]; + } + get lengthInBytes() { + return this[_storage$][$lengthInBytes]; + } + get offsetInBytes() { + return this[_storage$][$offsetInBytes]; + } + get elementSizeInBytes() { + return 16; + } + get length() { + return (dart.notNull(this[_storage$][$length]) / 4)[$truncate](); + } + set length(value) { + super.length = value; + } + _get(index) { + if (index == null) dart.nullFailed(I[58], 148, 29, "index"); + _native_typed_data._checkValidIndex(index, this, this.length); + let _x = this[_storage$][$_get](dart.notNull(index) * 4 + 0); + let _y = this[_storage$][$_get](dart.notNull(index) * 4 + 1); + let _z = this[_storage$][$_get](dart.notNull(index) * 4 + 2); + let _w = this[_storage$][$_get](dart.notNull(index) * 4 + 3); + return new _native_typed_data.NativeFloat32x4._truncated(_x, _y, _z, _w); + } + _set(index, value$) { + let value = value$; + if (index == null) dart.nullFailed(I[58], 157, 25, "index"); + typed_data.Float32x4.as(value); + if (value == null) dart.nullFailed(I[58], 157, 42, "value"); + _native_typed_data._checkValidIndex(index, this, this.length); + this[_storage$][$_set](dart.notNull(index) * 4 + 0, value.x); + this[_storage$][$_set](dart.notNull(index) * 4 + 1, value.y); + this[_storage$][$_set](dart.notNull(index) * 4 + 2, value.z); + this[_storage$][$_set](dart.notNull(index) * 4 + 3, value.w); + return value$; + } + sublist(start, end = null) { + if (start == null) dart.nullFailed(I[58], 165, 29, "start"); + let stop = _native_typed_data._checkValidRange(start, end, this.length); + return new _native_typed_data.NativeFloat32x4List._externalStorage(this[_storage$][$sublist](dart.notNull(start) * 4, dart.notNull(stop) * 4)); + } +}; +(_native_typed_data.NativeFloat32x4List.new = function(length) { + if (length == null) dart.nullFailed(I[58], 110, 27, "length"); + this[_storage$] = _native_typed_data.NativeFloat32List.new(dart.notNull(length) * 4); + ; +}).prototype = _native_typed_data.NativeFloat32x4List.prototype; +(_native_typed_data.NativeFloat32x4List._externalStorage = function(_storage) { + if (_storage == null) dart.nullFailed(I[58], 112, 45, "_storage"); + this[_storage$] = _storage; + ; +}).prototype = _native_typed_data.NativeFloat32x4List.prototype; +(_native_typed_data.NativeFloat32x4List._slowFromList = function(list) { + if (list == null) dart.nullFailed(I[58], 114, 53, "list"); + this[_storage$] = _native_typed_data.NativeFloat32List.new(dart.notNull(list[$length]) * 4); + for (let i = 0; i < dart.notNull(list[$length]); i = i + 1) { + let e = list[$_get](i); + this[_storage$][$_set](i * 4 + 0, e.x); + this[_storage$][$_set](i * 4 + 1, e.y); + this[_storage$][$_set](i * 4 + 2, e.z); + this[_storage$][$_set](i * 4 + 3, e.w); + } +}).prototype = _native_typed_data.NativeFloat32x4List.prototype; +dart.addTypeTests(_native_typed_data.NativeFloat32x4List); +dart.addTypeCaches(_native_typed_data.NativeFloat32x4List); +_native_typed_data.NativeFloat32x4List[dart.implements] = () => [typed_data.Float32x4List]; +dart.setMethodSignature(_native_typed_data.NativeFloat32x4List, () => ({ + __proto__: dart.getMethods(_native_typed_data.NativeFloat32x4List.__proto__), + _get: dart.fnType(typed_data.Float32x4, [core.int]), + [$_get]: dart.fnType(typed_data.Float32x4, [core.int]), + _set: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), + [$_set]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), + sublist: dart.fnType(typed_data.Float32x4List, [core.int], [dart.nullable(core.int)]), + [$sublist]: dart.fnType(typed_data.Float32x4List, [core.int], [dart.nullable(core.int)]) +})); +dart.setGetterSignature(_native_typed_data.NativeFloat32x4List, () => ({ + __proto__: dart.getGetters(_native_typed_data.NativeFloat32x4List.__proto__), + buffer: typed_data.ByteBuffer, + [$buffer]: typed_data.ByteBuffer, + lengthInBytes: core.int, + [$lengthInBytes]: core.int, + offsetInBytes: core.int, + [$offsetInBytes]: core.int, + elementSizeInBytes: core.int, + [$elementSizeInBytes]: core.int, + length: core.int, + [$length]: core.int +})); +dart.setLibraryUri(_native_typed_data.NativeFloat32x4List, I[59]); +dart.setFieldSignature(_native_typed_data.NativeFloat32x4List, () => ({ + __proto__: dart.getFields(_native_typed_data.NativeFloat32x4List.__proto__), + [_storage$]: dart.finalFieldType(typed_data.Float32List) +})); +dart.defineExtensionMethods(_native_typed_data.NativeFloat32x4List, ['_get', '_set', 'sublist']); +dart.defineExtensionAccessors(_native_typed_data.NativeFloat32x4List, [ + 'runtimeType', + 'buffer', + 'lengthInBytes', + 'offsetInBytes', + 'elementSizeInBytes', + 'length' +]); +typed_data.Int32x4 = class Int32x4 extends core.Object {}; +(typed_data.Int32x4[dart.mixinNew] = function() { +}).prototype = typed_data.Int32x4.prototype; +dart.addTypeTests(typed_data.Int32x4); +dart.addTypeCaches(typed_data.Int32x4); +dart.setLibraryUri(typed_data.Int32x4, I[60]); +dart.defineLazy(typed_data.Int32x4, { + /*typed_data.Int32x4.xxxx*/get xxxx() { + return 0; + }, + /*typed_data.Int32x4.xxxy*/get xxxy() { + return 64; + }, + /*typed_data.Int32x4.xxxz*/get xxxz() { + return 128; + }, + /*typed_data.Int32x4.xxxw*/get xxxw() { + return 192; + }, + /*typed_data.Int32x4.xxyx*/get xxyx() { + return 16; + }, + /*typed_data.Int32x4.xxyy*/get xxyy() { + return 80; + }, + /*typed_data.Int32x4.xxyz*/get xxyz() { + return 144; + }, + /*typed_data.Int32x4.xxyw*/get xxyw() { + return 208; + }, + /*typed_data.Int32x4.xxzx*/get xxzx() { + return 32; + }, + /*typed_data.Int32x4.xxzy*/get xxzy() { + return 96; + }, + /*typed_data.Int32x4.xxzz*/get xxzz() { + return 160; + }, + /*typed_data.Int32x4.xxzw*/get xxzw() { + return 224; + }, + /*typed_data.Int32x4.xxwx*/get xxwx() { + return 48; + }, + /*typed_data.Int32x4.xxwy*/get xxwy() { + return 112; + }, + /*typed_data.Int32x4.xxwz*/get xxwz() { + return 176; + }, + /*typed_data.Int32x4.xxww*/get xxww() { + return 240; + }, + /*typed_data.Int32x4.xyxx*/get xyxx() { + return 4; + }, + /*typed_data.Int32x4.xyxy*/get xyxy() { + return 68; + }, + /*typed_data.Int32x4.xyxz*/get xyxz() { + return 132; + }, + /*typed_data.Int32x4.xyxw*/get xyxw() { + return 196; + }, + /*typed_data.Int32x4.xyyx*/get xyyx() { + return 20; + }, + /*typed_data.Int32x4.xyyy*/get xyyy() { + return 84; + }, + /*typed_data.Int32x4.xyyz*/get xyyz() { + return 148; + }, + /*typed_data.Int32x4.xyyw*/get xyyw() { + return 212; + }, + /*typed_data.Int32x4.xyzx*/get xyzx() { + return 36; + }, + /*typed_data.Int32x4.xyzy*/get xyzy() { + return 100; + }, + /*typed_data.Int32x4.xyzz*/get xyzz() { + return 164; + }, + /*typed_data.Int32x4.xyzw*/get xyzw() { + return 228; + }, + /*typed_data.Int32x4.xywx*/get xywx() { + return 52; + }, + /*typed_data.Int32x4.xywy*/get xywy() { + return 116; + }, + /*typed_data.Int32x4.xywz*/get xywz() { + return 180; + }, + /*typed_data.Int32x4.xyww*/get xyww() { + return 244; + }, + /*typed_data.Int32x4.xzxx*/get xzxx() { + return 8; + }, + /*typed_data.Int32x4.xzxy*/get xzxy() { + return 72; + }, + /*typed_data.Int32x4.xzxz*/get xzxz() { + return 136; + }, + /*typed_data.Int32x4.xzxw*/get xzxw() { + return 200; + }, + /*typed_data.Int32x4.xzyx*/get xzyx() { + return 24; + }, + /*typed_data.Int32x4.xzyy*/get xzyy() { + return 88; + }, + /*typed_data.Int32x4.xzyz*/get xzyz() { + return 152; + }, + /*typed_data.Int32x4.xzyw*/get xzyw() { + return 216; + }, + /*typed_data.Int32x4.xzzx*/get xzzx() { + return 40; + }, + /*typed_data.Int32x4.xzzy*/get xzzy() { + return 104; + }, + /*typed_data.Int32x4.xzzz*/get xzzz() { + return 168; + }, + /*typed_data.Int32x4.xzzw*/get xzzw() { + return 232; + }, + /*typed_data.Int32x4.xzwx*/get xzwx() { + return 56; + }, + /*typed_data.Int32x4.xzwy*/get xzwy() { + return 120; + }, + /*typed_data.Int32x4.xzwz*/get xzwz() { + return 184; + }, + /*typed_data.Int32x4.xzww*/get xzww() { + return 248; + }, + /*typed_data.Int32x4.xwxx*/get xwxx() { + return 12; + }, + /*typed_data.Int32x4.xwxy*/get xwxy() { + return 76; + }, + /*typed_data.Int32x4.xwxz*/get xwxz() { + return 140; + }, + /*typed_data.Int32x4.xwxw*/get xwxw() { + return 204; + }, + /*typed_data.Int32x4.xwyx*/get xwyx() { + return 28; + }, + /*typed_data.Int32x4.xwyy*/get xwyy() { + return 92; + }, + /*typed_data.Int32x4.xwyz*/get xwyz() { + return 156; + }, + /*typed_data.Int32x4.xwyw*/get xwyw() { + return 220; + }, + /*typed_data.Int32x4.xwzx*/get xwzx() { + return 44; + }, + /*typed_data.Int32x4.xwzy*/get xwzy() { + return 108; + }, + /*typed_data.Int32x4.xwzz*/get xwzz() { + return 172; + }, + /*typed_data.Int32x4.xwzw*/get xwzw() { + return 236; + }, + /*typed_data.Int32x4.xwwx*/get xwwx() { + return 60; + }, + /*typed_data.Int32x4.xwwy*/get xwwy() { + return 124; + }, + /*typed_data.Int32x4.xwwz*/get xwwz() { + return 188; + }, + /*typed_data.Int32x4.xwww*/get xwww() { + return 252; + }, + /*typed_data.Int32x4.yxxx*/get yxxx() { + return 1; + }, + /*typed_data.Int32x4.yxxy*/get yxxy() { + return 65; + }, + /*typed_data.Int32x4.yxxz*/get yxxz() { + return 129; + }, + /*typed_data.Int32x4.yxxw*/get yxxw() { + return 193; + }, + /*typed_data.Int32x4.yxyx*/get yxyx() { + return 17; + }, + /*typed_data.Int32x4.yxyy*/get yxyy() { + return 81; + }, + /*typed_data.Int32x4.yxyz*/get yxyz() { + return 145; + }, + /*typed_data.Int32x4.yxyw*/get yxyw() { + return 209; + }, + /*typed_data.Int32x4.yxzx*/get yxzx() { + return 33; + }, + /*typed_data.Int32x4.yxzy*/get yxzy() { + return 97; + }, + /*typed_data.Int32x4.yxzz*/get yxzz() { + return 161; + }, + /*typed_data.Int32x4.yxzw*/get yxzw() { + return 225; + }, + /*typed_data.Int32x4.yxwx*/get yxwx() { + return 49; + }, + /*typed_data.Int32x4.yxwy*/get yxwy() { + return 113; + }, + /*typed_data.Int32x4.yxwz*/get yxwz() { + return 177; + }, + /*typed_data.Int32x4.yxww*/get yxww() { + return 241; + }, + /*typed_data.Int32x4.yyxx*/get yyxx() { + return 5; + }, + /*typed_data.Int32x4.yyxy*/get yyxy() { + return 69; + }, + /*typed_data.Int32x4.yyxz*/get yyxz() { + return 133; + }, + /*typed_data.Int32x4.yyxw*/get yyxw() { + return 197; + }, + /*typed_data.Int32x4.yyyx*/get yyyx() { + return 21; + }, + /*typed_data.Int32x4.yyyy*/get yyyy() { + return 85; + }, + /*typed_data.Int32x4.yyyz*/get yyyz() { + return 149; + }, + /*typed_data.Int32x4.yyyw*/get yyyw() { + return 213; + }, + /*typed_data.Int32x4.yyzx*/get yyzx() { + return 37; + }, + /*typed_data.Int32x4.yyzy*/get yyzy() { + return 101; + }, + /*typed_data.Int32x4.yyzz*/get yyzz() { + return 165; + }, + /*typed_data.Int32x4.yyzw*/get yyzw() { + return 229; + }, + /*typed_data.Int32x4.yywx*/get yywx() { + return 53; + }, + /*typed_data.Int32x4.yywy*/get yywy() { + return 117; + }, + /*typed_data.Int32x4.yywz*/get yywz() { + return 181; + }, + /*typed_data.Int32x4.yyww*/get yyww() { + return 245; + }, + /*typed_data.Int32x4.yzxx*/get yzxx() { + return 9; + }, + /*typed_data.Int32x4.yzxy*/get yzxy() { + return 73; + }, + /*typed_data.Int32x4.yzxz*/get yzxz() { + return 137; + }, + /*typed_data.Int32x4.yzxw*/get yzxw() { + return 201; + }, + /*typed_data.Int32x4.yzyx*/get yzyx() { + return 25; + }, + /*typed_data.Int32x4.yzyy*/get yzyy() { + return 89; + }, + /*typed_data.Int32x4.yzyz*/get yzyz() { + return 153; + }, + /*typed_data.Int32x4.yzyw*/get yzyw() { + return 217; + }, + /*typed_data.Int32x4.yzzx*/get yzzx() { + return 41; + }, + /*typed_data.Int32x4.yzzy*/get yzzy() { + return 105; + }, + /*typed_data.Int32x4.yzzz*/get yzzz() { + return 169; + }, + /*typed_data.Int32x4.yzzw*/get yzzw() { + return 233; + }, + /*typed_data.Int32x4.yzwx*/get yzwx() { + return 57; + }, + /*typed_data.Int32x4.yzwy*/get yzwy() { + return 121; + }, + /*typed_data.Int32x4.yzwz*/get yzwz() { + return 185; + }, + /*typed_data.Int32x4.yzww*/get yzww() { + return 249; + }, + /*typed_data.Int32x4.ywxx*/get ywxx() { + return 13; + }, + /*typed_data.Int32x4.ywxy*/get ywxy() { + return 77; + }, + /*typed_data.Int32x4.ywxz*/get ywxz() { + return 141; + }, + /*typed_data.Int32x4.ywxw*/get ywxw() { + return 205; + }, + /*typed_data.Int32x4.ywyx*/get ywyx() { + return 29; + }, + /*typed_data.Int32x4.ywyy*/get ywyy() { + return 93; + }, + /*typed_data.Int32x4.ywyz*/get ywyz() { + return 157; + }, + /*typed_data.Int32x4.ywyw*/get ywyw() { + return 221; + }, + /*typed_data.Int32x4.ywzx*/get ywzx() { + return 45; + }, + /*typed_data.Int32x4.ywzy*/get ywzy() { + return 109; + }, + /*typed_data.Int32x4.ywzz*/get ywzz() { + return 173; + }, + /*typed_data.Int32x4.ywzw*/get ywzw() { + return 237; + }, + /*typed_data.Int32x4.ywwx*/get ywwx() { + return 61; + }, + /*typed_data.Int32x4.ywwy*/get ywwy() { + return 125; + }, + /*typed_data.Int32x4.ywwz*/get ywwz() { + return 189; + }, + /*typed_data.Int32x4.ywww*/get ywww() { + return 253; + }, + /*typed_data.Int32x4.zxxx*/get zxxx() { + return 2; + }, + /*typed_data.Int32x4.zxxy*/get zxxy() { + return 66; + }, + /*typed_data.Int32x4.zxxz*/get zxxz() { + return 130; + }, + /*typed_data.Int32x4.zxxw*/get zxxw() { + return 194; + }, + /*typed_data.Int32x4.zxyx*/get zxyx() { + return 18; + }, + /*typed_data.Int32x4.zxyy*/get zxyy() { + return 82; + }, + /*typed_data.Int32x4.zxyz*/get zxyz() { + return 146; + }, + /*typed_data.Int32x4.zxyw*/get zxyw() { + return 210; + }, + /*typed_data.Int32x4.zxzx*/get zxzx() { + return 34; + }, + /*typed_data.Int32x4.zxzy*/get zxzy() { + return 98; + }, + /*typed_data.Int32x4.zxzz*/get zxzz() { + return 162; + }, + /*typed_data.Int32x4.zxzw*/get zxzw() { + return 226; + }, + /*typed_data.Int32x4.zxwx*/get zxwx() { + return 50; + }, + /*typed_data.Int32x4.zxwy*/get zxwy() { + return 114; + }, + /*typed_data.Int32x4.zxwz*/get zxwz() { + return 178; + }, + /*typed_data.Int32x4.zxww*/get zxww() { + return 242; + }, + /*typed_data.Int32x4.zyxx*/get zyxx() { + return 6; + }, + /*typed_data.Int32x4.zyxy*/get zyxy() { + return 70; + }, + /*typed_data.Int32x4.zyxz*/get zyxz() { + return 134; + }, + /*typed_data.Int32x4.zyxw*/get zyxw() { + return 198; + }, + /*typed_data.Int32x4.zyyx*/get zyyx() { + return 22; + }, + /*typed_data.Int32x4.zyyy*/get zyyy() { + return 86; + }, + /*typed_data.Int32x4.zyyz*/get zyyz() { + return 150; + }, + /*typed_data.Int32x4.zyyw*/get zyyw() { + return 214; + }, + /*typed_data.Int32x4.zyzx*/get zyzx() { + return 38; + }, + /*typed_data.Int32x4.zyzy*/get zyzy() { + return 102; + }, + /*typed_data.Int32x4.zyzz*/get zyzz() { + return 166; + }, + /*typed_data.Int32x4.zyzw*/get zyzw() { + return 230; + }, + /*typed_data.Int32x4.zywx*/get zywx() { + return 54; + }, + /*typed_data.Int32x4.zywy*/get zywy() { + return 118; + }, + /*typed_data.Int32x4.zywz*/get zywz() { + return 182; + }, + /*typed_data.Int32x4.zyww*/get zyww() { + return 246; + }, + /*typed_data.Int32x4.zzxx*/get zzxx() { + return 10; + }, + /*typed_data.Int32x4.zzxy*/get zzxy() { + return 74; + }, + /*typed_data.Int32x4.zzxz*/get zzxz() { + return 138; + }, + /*typed_data.Int32x4.zzxw*/get zzxw() { + return 202; + }, + /*typed_data.Int32x4.zzyx*/get zzyx() { + return 26; + }, + /*typed_data.Int32x4.zzyy*/get zzyy() { + return 90; + }, + /*typed_data.Int32x4.zzyz*/get zzyz() { + return 154; + }, + /*typed_data.Int32x4.zzyw*/get zzyw() { + return 218; + }, + /*typed_data.Int32x4.zzzx*/get zzzx() { + return 42; + }, + /*typed_data.Int32x4.zzzy*/get zzzy() { + return 106; + }, + /*typed_data.Int32x4.zzzz*/get zzzz() { + return 170; + }, + /*typed_data.Int32x4.zzzw*/get zzzw() { + return 234; + }, + /*typed_data.Int32x4.zzwx*/get zzwx() { + return 58; + }, + /*typed_data.Int32x4.zzwy*/get zzwy() { + return 122; + }, + /*typed_data.Int32x4.zzwz*/get zzwz() { + return 186; + }, + /*typed_data.Int32x4.zzww*/get zzww() { + return 250; + }, + /*typed_data.Int32x4.zwxx*/get zwxx() { + return 14; + }, + /*typed_data.Int32x4.zwxy*/get zwxy() { + return 78; + }, + /*typed_data.Int32x4.zwxz*/get zwxz() { + return 142; + }, + /*typed_data.Int32x4.zwxw*/get zwxw() { + return 206; + }, + /*typed_data.Int32x4.zwyx*/get zwyx() { + return 30; + }, + /*typed_data.Int32x4.zwyy*/get zwyy() { + return 94; + }, + /*typed_data.Int32x4.zwyz*/get zwyz() { + return 158; + }, + /*typed_data.Int32x4.zwyw*/get zwyw() { + return 222; + }, + /*typed_data.Int32x4.zwzx*/get zwzx() { + return 46; + }, + /*typed_data.Int32x4.zwzy*/get zwzy() { + return 110; + }, + /*typed_data.Int32x4.zwzz*/get zwzz() { + return 174; + }, + /*typed_data.Int32x4.zwzw*/get zwzw() { + return 238; + }, + /*typed_data.Int32x4.zwwx*/get zwwx() { + return 62; + }, + /*typed_data.Int32x4.zwwy*/get zwwy() { + return 126; + }, + /*typed_data.Int32x4.zwwz*/get zwwz() { + return 190; + }, + /*typed_data.Int32x4.zwww*/get zwww() { + return 254; + }, + /*typed_data.Int32x4.wxxx*/get wxxx() { + return 3; + }, + /*typed_data.Int32x4.wxxy*/get wxxy() { + return 67; + }, + /*typed_data.Int32x4.wxxz*/get wxxz() { + return 131; + }, + /*typed_data.Int32x4.wxxw*/get wxxw() { + return 195; + }, + /*typed_data.Int32x4.wxyx*/get wxyx() { + return 19; + }, + /*typed_data.Int32x4.wxyy*/get wxyy() { + return 83; + }, + /*typed_data.Int32x4.wxyz*/get wxyz() { + return 147; + }, + /*typed_data.Int32x4.wxyw*/get wxyw() { + return 211; + }, + /*typed_data.Int32x4.wxzx*/get wxzx() { + return 35; + }, + /*typed_data.Int32x4.wxzy*/get wxzy() { + return 99; + }, + /*typed_data.Int32x4.wxzz*/get wxzz() { + return 163; + }, + /*typed_data.Int32x4.wxzw*/get wxzw() { + return 227; + }, + /*typed_data.Int32x4.wxwx*/get wxwx() { + return 51; + }, + /*typed_data.Int32x4.wxwy*/get wxwy() { + return 115; + }, + /*typed_data.Int32x4.wxwz*/get wxwz() { + return 179; + }, + /*typed_data.Int32x4.wxww*/get wxww() { + return 243; + }, + /*typed_data.Int32x4.wyxx*/get wyxx() { + return 7; + }, + /*typed_data.Int32x4.wyxy*/get wyxy() { + return 71; + }, + /*typed_data.Int32x4.wyxz*/get wyxz() { + return 135; + }, + /*typed_data.Int32x4.wyxw*/get wyxw() { + return 199; + }, + /*typed_data.Int32x4.wyyx*/get wyyx() { + return 23; + }, + /*typed_data.Int32x4.wyyy*/get wyyy() { + return 87; + }, + /*typed_data.Int32x4.wyyz*/get wyyz() { + return 151; + }, + /*typed_data.Int32x4.wyyw*/get wyyw() { + return 215; + }, + /*typed_data.Int32x4.wyzx*/get wyzx() { + return 39; + }, + /*typed_data.Int32x4.wyzy*/get wyzy() { + return 103; + }, + /*typed_data.Int32x4.wyzz*/get wyzz() { + return 167; + }, + /*typed_data.Int32x4.wyzw*/get wyzw() { + return 231; + }, + /*typed_data.Int32x4.wywx*/get wywx() { + return 55; + }, + /*typed_data.Int32x4.wywy*/get wywy() { + return 119; + }, + /*typed_data.Int32x4.wywz*/get wywz() { + return 183; + }, + /*typed_data.Int32x4.wyww*/get wyww() { + return 247; + }, + /*typed_data.Int32x4.wzxx*/get wzxx() { + return 11; + }, + /*typed_data.Int32x4.wzxy*/get wzxy() { + return 75; + }, + /*typed_data.Int32x4.wzxz*/get wzxz() { + return 139; + }, + /*typed_data.Int32x4.wzxw*/get wzxw() { + return 203; + }, + /*typed_data.Int32x4.wzyx*/get wzyx() { + return 27; + }, + /*typed_data.Int32x4.wzyy*/get wzyy() { + return 91; + }, + /*typed_data.Int32x4.wzyz*/get wzyz() { + return 155; + }, + /*typed_data.Int32x4.wzyw*/get wzyw() { + return 219; + }, + /*typed_data.Int32x4.wzzx*/get wzzx() { + return 43; + }, + /*typed_data.Int32x4.wzzy*/get wzzy() { + return 107; + }, + /*typed_data.Int32x4.wzzz*/get wzzz() { + return 171; + }, + /*typed_data.Int32x4.wzzw*/get wzzw() { + return 235; + }, + /*typed_data.Int32x4.wzwx*/get wzwx() { + return 59; + }, + /*typed_data.Int32x4.wzwy*/get wzwy() { + return 123; + }, + /*typed_data.Int32x4.wzwz*/get wzwz() { + return 187; + }, + /*typed_data.Int32x4.wzww*/get wzww() { + return 251; + }, + /*typed_data.Int32x4.wwxx*/get wwxx() { + return 15; + }, + /*typed_data.Int32x4.wwxy*/get wwxy() { + return 79; + }, + /*typed_data.Int32x4.wwxz*/get wwxz() { + return 143; + }, + /*typed_data.Int32x4.wwxw*/get wwxw() { + return 207; + }, + /*typed_data.Int32x4.wwyx*/get wwyx() { + return 31; + }, + /*typed_data.Int32x4.wwyy*/get wwyy() { + return 95; + }, + /*typed_data.Int32x4.wwyz*/get wwyz() { + return 159; + }, + /*typed_data.Int32x4.wwyw*/get wwyw() { + return 223; + }, + /*typed_data.Int32x4.wwzx*/get wwzx() { + return 47; + }, + /*typed_data.Int32x4.wwzy*/get wwzy() { + return 111; + }, + /*typed_data.Int32x4.wwzz*/get wwzz() { + return 175; + }, + /*typed_data.Int32x4.wwzw*/get wwzw() { + return 239; + }, + /*typed_data.Int32x4.wwwx*/get wwwx() { + return 63; + }, + /*typed_data.Int32x4.wwwy*/get wwwy() { + return 127; + }, + /*typed_data.Int32x4.wwwz*/get wwwz() { + return 191; + }, + /*typed_data.Int32x4.wwww*/get wwww() { + return 255; + } +}, false); +const Object_ListMixin$36$ = class Object_ListMixin extends core.Object {}; +(Object_ListMixin$36$.new = function() { +}).prototype = Object_ListMixin$36$.prototype; +dart.applyMixin(Object_ListMixin$36$, collection.ListMixin$(typed_data.Int32x4)); +const Object_FixedLengthListMixin$36$ = class Object_FixedLengthListMixin extends Object_ListMixin$36$ {}; +(Object_FixedLengthListMixin$36$.new = function() { +}).prototype = Object_FixedLengthListMixin$36$.prototype; +dart.applyMixin(Object_FixedLengthListMixin$36$, _internal.FixedLengthListMixin$(typed_data.Int32x4)); +_native_typed_data.NativeInt32x4List = class NativeInt32x4List extends Object_FixedLengthListMixin$36$ { + get runtimeType() { + return dart.wrapType(typed_data.Int32x4List); + } + static fromList(list) { + if (list == null) dart.nullFailed(I[58], 201, 52, "list"); + if (_native_typed_data.NativeInt32x4List.is(list)) { + return new _native_typed_data.NativeInt32x4List._externalStorage(_native_typed_data.NativeInt32List.fromList(list[_storage$])); + } else { + return new _native_typed_data.NativeInt32x4List._slowFromList(list); + } + } + get buffer() { + return this[_storage$][$buffer]; + } + get lengthInBytes() { + return this[_storage$][$lengthInBytes]; + } + get offsetInBytes() { + return this[_storage$][$offsetInBytes]; + } + get elementSizeInBytes() { + return 16; + } + get length() { + return (dart.notNull(this[_storage$][$length]) / 4)[$truncate](); + } + set length(value) { + super.length = value; + } + _get(index) { + if (index == null) dart.nullFailed(I[58], 220, 27, "index"); + _native_typed_data._checkValidIndex(index, this, this.length); + let _x = this[_storage$][$_get](dart.notNull(index) * 4 + 0); + let _y = this[_storage$][$_get](dart.notNull(index) * 4 + 1); + let _z = this[_storage$][$_get](dart.notNull(index) * 4 + 2); + let _w = this[_storage$][$_get](dart.notNull(index) * 4 + 3); + return new _native_typed_data.NativeInt32x4._truncated(_x, _y, _z, _w); + } + _set(index, value$) { + let value = value$; + if (index == null) dart.nullFailed(I[58], 229, 25, "index"); + typed_data.Int32x4.as(value); + if (value == null) dart.nullFailed(I[58], 229, 40, "value"); + _native_typed_data._checkValidIndex(index, this, this.length); + this[_storage$][$_set](dart.notNull(index) * 4 + 0, value.x); + this[_storage$][$_set](dart.notNull(index) * 4 + 1, value.y); + this[_storage$][$_set](dart.notNull(index) * 4 + 2, value.z); + this[_storage$][$_set](dart.notNull(index) * 4 + 3, value.w); + return value$; + } + sublist(start, end = null) { + if (start == null) dart.nullFailed(I[58], 237, 27, "start"); + let stop = _native_typed_data._checkValidRange(start, end, this.length); + return new _native_typed_data.NativeInt32x4List._externalStorage(this[_storage$][$sublist](dart.notNull(start) * 4, dart.notNull(stop) * 4)); + } +}; +(_native_typed_data.NativeInt32x4List.new = function(length) { + if (length == null) dart.nullFailed(I[58], 182, 25, "length"); + this[_storage$] = _native_typed_data.NativeInt32List.new(dart.notNull(length) * 4); + ; +}).prototype = _native_typed_data.NativeInt32x4List.prototype; +(_native_typed_data.NativeInt32x4List._externalStorage = function(storage) { + if (storage == null) dart.nullFailed(I[58], 184, 48, "storage"); + this[_storage$] = storage; + ; +}).prototype = _native_typed_data.NativeInt32x4List.prototype; +(_native_typed_data.NativeInt32x4List._slowFromList = function(list) { + if (list == null) dart.nullFailed(I[58], 186, 49, "list"); + this[_storage$] = _native_typed_data.NativeInt32List.new(dart.notNull(list[$length]) * 4); + for (let i = 0; i < dart.notNull(list[$length]); i = i + 1) { + let e = list[$_get](i); + this[_storage$][$_set](i * 4 + 0, e.x); + this[_storage$][$_set](i * 4 + 1, e.y); + this[_storage$][$_set](i * 4 + 2, e.z); + this[_storage$][$_set](i * 4 + 3, e.w); + } +}).prototype = _native_typed_data.NativeInt32x4List.prototype; +dart.addTypeTests(_native_typed_data.NativeInt32x4List); +dart.addTypeCaches(_native_typed_data.NativeInt32x4List); +_native_typed_data.NativeInt32x4List[dart.implements] = () => [typed_data.Int32x4List]; +dart.setMethodSignature(_native_typed_data.NativeInt32x4List, () => ({ + __proto__: dart.getMethods(_native_typed_data.NativeInt32x4List.__proto__), + _get: dart.fnType(typed_data.Int32x4, [core.int]), + [$_get]: dart.fnType(typed_data.Int32x4, [core.int]), + _set: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), + [$_set]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), + sublist: dart.fnType(typed_data.Int32x4List, [core.int], [dart.nullable(core.int)]), + [$sublist]: dart.fnType(typed_data.Int32x4List, [core.int], [dart.nullable(core.int)]) +})); +dart.setGetterSignature(_native_typed_data.NativeInt32x4List, () => ({ + __proto__: dart.getGetters(_native_typed_data.NativeInt32x4List.__proto__), + buffer: typed_data.ByteBuffer, + [$buffer]: typed_data.ByteBuffer, + lengthInBytes: core.int, + [$lengthInBytes]: core.int, + offsetInBytes: core.int, + [$offsetInBytes]: core.int, + elementSizeInBytes: core.int, + [$elementSizeInBytes]: core.int, + length: core.int, + [$length]: core.int +})); +dart.setLibraryUri(_native_typed_data.NativeInt32x4List, I[59]); +dart.setFieldSignature(_native_typed_data.NativeInt32x4List, () => ({ + __proto__: dart.getFields(_native_typed_data.NativeInt32x4List.__proto__), + [_storage$]: dart.finalFieldType(typed_data.Int32List) +})); +dart.defineExtensionMethods(_native_typed_data.NativeInt32x4List, ['_get', '_set', 'sublist']); +dart.defineExtensionAccessors(_native_typed_data.NativeInt32x4List, [ + 'runtimeType', + 'buffer', + 'lengthInBytes', + 'offsetInBytes', + 'elementSizeInBytes', + 'length' +]); +typed_data.Float64x2 = class Float64x2 extends core.Object {}; +(typed_data.Float64x2[dart.mixinNew] = function() { +}).prototype = typed_data.Float64x2.prototype; +dart.addTypeTests(typed_data.Float64x2); +dart.addTypeCaches(typed_data.Float64x2); +dart.setLibraryUri(typed_data.Float64x2, I[60]); +const Object_ListMixin$36$0 = class Object_ListMixin extends core.Object {}; +(Object_ListMixin$36$0.new = function() { +}).prototype = Object_ListMixin$36$0.prototype; +dart.applyMixin(Object_ListMixin$36$0, collection.ListMixin$(typed_data.Float64x2)); +const Object_FixedLengthListMixin$36$0 = class Object_FixedLengthListMixin extends Object_ListMixin$36$0 {}; +(Object_FixedLengthListMixin$36$0.new = function() { +}).prototype = Object_FixedLengthListMixin$36$0.prototype; +dart.applyMixin(Object_FixedLengthListMixin$36$0, _internal.FixedLengthListMixin$(typed_data.Float64x2)); +_native_typed_data.NativeFloat64x2List = class NativeFloat64x2List extends Object_FixedLengthListMixin$36$0 { + static fromList(list) { + if (list == null) dart.nullFailed(I[58], 269, 56, "list"); + if (_native_typed_data.NativeFloat64x2List.is(list)) { + return new _native_typed_data.NativeFloat64x2List._externalStorage(_native_typed_data.NativeFloat64List.fromList(list[_storage$])); + } else { + return new _native_typed_data.NativeFloat64x2List._slowFromList(list); + } + } + get runtimeType() { + return dart.wrapType(typed_data.Float64x2List); + } + get buffer() { + return this[_storage$][$buffer]; + } + get lengthInBytes() { + return this[_storage$][$lengthInBytes]; + } + get offsetInBytes() { + return this[_storage$][$offsetInBytes]; + } + get elementSizeInBytes() { + return 16; + } + get length() { + return (dart.notNull(this[_storage$][$length]) / 2)[$truncate](); + } + set length(value) { + super.length = value; + } + _get(index) { + if (index == null) dart.nullFailed(I[58], 290, 29, "index"); + _native_typed_data._checkValidIndex(index, this, this.length); + let _x = this[_storage$][$_get](dart.notNull(index) * 2 + 0); + let _y = this[_storage$][$_get](dart.notNull(index) * 2 + 1); + return new _native_typed_data.NativeFloat64x2.new(_x, _y); + } + _set(index, value$) { + let value = value$; + if (index == null) dart.nullFailed(I[58], 297, 25, "index"); + typed_data.Float64x2.as(value); + if (value == null) dart.nullFailed(I[58], 297, 42, "value"); + _native_typed_data._checkValidIndex(index, this, this.length); + this[_storage$][$_set](dart.notNull(index) * 2 + 0, value.x); + this[_storage$][$_set](dart.notNull(index) * 2 + 1, value.y); + return value$; + } + sublist(start, end = null) { + if (start == null) dart.nullFailed(I[58], 303, 29, "start"); + let stop = _native_typed_data._checkValidRange(start, end, this.length); + return new _native_typed_data.NativeFloat64x2List._externalStorage(this[_storage$][$sublist](dart.notNull(start) * 2, dart.notNull(stop) * 2)); + } +}; +(_native_typed_data.NativeFloat64x2List.new = function(length) { + if (length == null) dart.nullFailed(I[58], 254, 27, "length"); + this[_storage$] = _native_typed_data.NativeFloat64List.new(dart.notNull(length) * 2); + ; +}).prototype = _native_typed_data.NativeFloat64x2List.prototype; +(_native_typed_data.NativeFloat64x2List._externalStorage = function(_storage) { + if (_storage == null) dart.nullFailed(I[58], 256, 45, "_storage"); + this[_storage$] = _storage; + ; +}).prototype = _native_typed_data.NativeFloat64x2List.prototype; +(_native_typed_data.NativeFloat64x2List._slowFromList = function(list) { + if (list == null) dart.nullFailed(I[58], 258, 53, "list"); + this[_storage$] = _native_typed_data.NativeFloat64List.new(dart.notNull(list[$length]) * 2); + for (let i = 0; i < dart.notNull(list[$length]); i = i + 1) { + let e = list[$_get](i); + this[_storage$][$_set](i * 2 + 0, e.x); + this[_storage$][$_set](i * 2 + 1, e.y); + } +}).prototype = _native_typed_data.NativeFloat64x2List.prototype; +dart.addTypeTests(_native_typed_data.NativeFloat64x2List); +dart.addTypeCaches(_native_typed_data.NativeFloat64x2List); +_native_typed_data.NativeFloat64x2List[dart.implements] = () => [typed_data.Float64x2List]; +dart.setMethodSignature(_native_typed_data.NativeFloat64x2List, () => ({ + __proto__: dart.getMethods(_native_typed_data.NativeFloat64x2List.__proto__), + _get: dart.fnType(typed_data.Float64x2, [core.int]), + [$_get]: dart.fnType(typed_data.Float64x2, [core.int]), + _set: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), + [$_set]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), + sublist: dart.fnType(typed_data.Float64x2List, [core.int], [dart.nullable(core.int)]), + [$sublist]: dart.fnType(typed_data.Float64x2List, [core.int], [dart.nullable(core.int)]) +})); +dart.setGetterSignature(_native_typed_data.NativeFloat64x2List, () => ({ + __proto__: dart.getGetters(_native_typed_data.NativeFloat64x2List.__proto__), + buffer: typed_data.ByteBuffer, + [$buffer]: typed_data.ByteBuffer, + lengthInBytes: core.int, + [$lengthInBytes]: core.int, + offsetInBytes: core.int, + [$offsetInBytes]: core.int, + elementSizeInBytes: core.int, + [$elementSizeInBytes]: core.int, + length: core.int, + [$length]: core.int +})); +dart.setLibraryUri(_native_typed_data.NativeFloat64x2List, I[59]); +dart.setFieldSignature(_native_typed_data.NativeFloat64x2List, () => ({ + __proto__: dart.getFields(_native_typed_data.NativeFloat64x2List.__proto__), + [_storage$]: dart.finalFieldType(typed_data.Float64List) +})); +dart.defineExtensionMethods(_native_typed_data.NativeFloat64x2List, ['_get', '_set', 'sublist']); +dart.defineExtensionAccessors(_native_typed_data.NativeFloat64x2List, [ + 'runtimeType', + 'buffer', + 'lengthInBytes', + 'offsetInBytes', + 'elementSizeInBytes', + 'length' +]); +var _invalidPosition = dart.privateName(_native_typed_data, "_invalidPosition"); +var _checkPosition = dart.privateName(_native_typed_data, "_checkPosition"); +_native_typed_data.NativeTypedData = class NativeTypedData extends core.Object { + get [$buffer]() { + return this.buffer; + } + get [$lengthInBytes]() { + return this.byteLength; + } + get [$offsetInBytes]() { + return this.byteOffset; + } + get [$elementSizeInBytes]() { + return this.BYTES_PER_ELEMENT; + } + [_invalidPosition](position, length, name) { + if (position == null) dart.nullFailed(I[58], 330, 29, "position"); + if (length == null) dart.nullFailed(I[58], 330, 43, "length"); + if (name == null) dart.nullFailed(I[58], 330, 58, "name"); + if (!core.int.is(position)) { + dart.throw(new core.ArgumentError.value(position, name, "Invalid list position")); + } else { + dart.throw(new core.RangeError.range(position, 0, length, name)); + } + } + [_checkPosition](position, length, name) { + if (position == null) dart.nullFailed(I[58], 338, 27, "position"); + if (length == null) dart.nullFailed(I[58], 338, 41, "length"); + if (name == null) dart.nullFailed(I[58], 338, 56, "name"); + if (position >>> 0 !== position || position > dart.notNull(length)) { + this[_invalidPosition](position, length, name); + } + } +}; +(_native_typed_data.NativeTypedData.new = function() { + ; +}).prototype = _native_typed_data.NativeTypedData.prototype; +dart.addTypeTests(_native_typed_data.NativeTypedData); +dart.addTypeCaches(_native_typed_data.NativeTypedData); +_native_typed_data.NativeTypedData[dart.implements] = () => [typed_data.TypedData]; +dart.setMethodSignature(_native_typed_data.NativeTypedData, () => ({ + __proto__: dart.getMethods(_native_typed_data.NativeTypedData.__proto__), + [_invalidPosition]: dart.fnType(dart.void, [core.int, core.int, core.String]), + [_checkPosition]: dart.fnType(dart.void, [core.int, core.int, core.String]) +})); +dart.setGetterSignature(_native_typed_data.NativeTypedData, () => ({ + __proto__: dart.getGetters(_native_typed_data.NativeTypedData.__proto__), + [$buffer]: typed_data.ByteBuffer, + [$lengthInBytes]: core.int, + [$offsetInBytes]: core.int, + [$elementSizeInBytes]: core.int +})); +dart.setLibraryUri(_native_typed_data.NativeTypedData, I[59]); +dart.registerExtension("ArrayBufferView", _native_typed_data.NativeTypedData); +var Endian__littleEndian = dart.privateName(typed_data, "Endian._littleEndian"); +var _getFloat32 = dart.privateName(_native_typed_data, "_getFloat32"); +var _getFloat64 = dart.privateName(_native_typed_data, "_getFloat64"); +var _getInt16 = dart.privateName(_native_typed_data, "_getInt16"); +var _getInt32 = dart.privateName(_native_typed_data, "_getInt32"); +var _getUint16 = dart.privateName(_native_typed_data, "_getUint16"); +var _getUint32 = dart.privateName(_native_typed_data, "_getUint32"); +var _setFloat32 = dart.privateName(_native_typed_data, "_setFloat32"); +var _setFloat64 = dart.privateName(_native_typed_data, "_setFloat64"); +var _setInt16 = dart.privateName(_native_typed_data, "_setInt16"); +var _setInt32 = dart.privateName(_native_typed_data, "_setInt32"); +var _setUint16 = dart.privateName(_native_typed_data, "_setUint16"); +var _setUint32 = dart.privateName(_native_typed_data, "_setUint32"); +_native_typed_data.NativeByteData = class NativeByteData extends _native_typed_data.NativeTypedData { + static new(length) { + if (length == null) dart.nullFailed(I[58], 386, 30, "length"); + return _native_typed_data.NativeByteData._create1(_native_typed_data._checkLength(length)); + } + static view(buffer, offsetInBytes, length) { + if (buffer == null) dart.nullFailed(I[58], 399, 18, "buffer"); + if (offsetInBytes == null) dart.nullFailed(I[58], 399, 30, "offsetInBytes"); + _native_typed_data._checkViewArguments(buffer, offsetInBytes, length); + return length == null ? _native_typed_data.NativeByteData._create2(buffer, offsetInBytes) : _native_typed_data.NativeByteData._create3(buffer, offsetInBytes, length); + } + get [$runtimeType]() { + return dart.wrapType(typed_data.ByteData); + } + get [$elementSizeInBytes]() { + return 1; + } + [$getFloat32](byteOffset, endian = C[36] || CT.C36) { + if (byteOffset == null) dart.nullFailed(I[58], 416, 25, "byteOffset"); + if (endian == null) dart.nullFailed(I[58], 416, 45, "endian"); + return this[_getFloat32](byteOffset, dart.equals(typed_data.Endian.little, endian)); + } + [_getFloat32](...args) { + return this.getFloat32.apply(this, args); + } + [$getFloat64](byteOffset, endian = C[36] || CT.C36) { + if (byteOffset == null) dart.nullFailed(I[58], 429, 25, "byteOffset"); + if (endian == null) dart.nullFailed(I[58], 429, 45, "endian"); + return this[_getFloat64](byteOffset, dart.equals(typed_data.Endian.little, endian)); + } + [_getFloat64](...args) { + return this.getFloat64.apply(this, args); + } + [$getInt16](byteOffset, endian = C[36] || CT.C36) { + if (byteOffset == null) dart.nullFailed(I[58], 444, 20, "byteOffset"); + if (endian == null) dart.nullFailed(I[58], 444, 40, "endian"); + return this[_getInt16](byteOffset, dart.equals(typed_data.Endian.little, endian)); + } + [_getInt16](...args) { + return this.getInt16.apply(this, args); + } + [$getInt32](byteOffset, endian = C[36] || CT.C36) { + if (byteOffset == null) dart.nullFailed(I[58], 459, 20, "byteOffset"); + if (endian == null) dart.nullFailed(I[58], 459, 40, "endian"); + return this[_getInt32](byteOffset, dart.equals(typed_data.Endian.little, endian)); + } + [_getInt32](...args) { + return this.getInt32.apply(this, args); + } + [$getInt64](byteOffset, endian = C[36] || CT.C36) { + if (byteOffset == null) dart.nullFailed(I[58], 474, 20, "byteOffset"); + if (endian == null) dart.nullFailed(I[58], 474, 40, "endian"); + dart.throw(new core.UnsupportedError.new("Int64 accessor not supported by dart2js.")); + } + [$getInt8](...args) { + return this.getInt8.apply(this, args); + } + [$getUint16](byteOffset, endian = C[36] || CT.C36) { + if (byteOffset == null) dart.nullFailed(I[58], 493, 21, "byteOffset"); + if (endian == null) dart.nullFailed(I[58], 493, 41, "endian"); + return this[_getUint16](byteOffset, dart.equals(typed_data.Endian.little, endian)); + } + [_getUint16](...args) { + return this.getUint16.apply(this, args); + } + [$getUint32](byteOffset, endian = C[36] || CT.C36) { + if (byteOffset == null) dart.nullFailed(I[58], 507, 21, "byteOffset"); + if (endian == null) dart.nullFailed(I[58], 507, 41, "endian"); + return this[_getUint32](byteOffset, dart.equals(typed_data.Endian.little, endian)); + } + [_getUint32](...args) { + return this.getUint32.apply(this, args); + } + [$getUint64](byteOffset, endian = C[36] || CT.C36) { + if (byteOffset == null) dart.nullFailed(I[58], 521, 21, "byteOffset"); + if (endian == null) dart.nullFailed(I[58], 521, 41, "endian"); + dart.throw(new core.UnsupportedError.new("Uint64 accessor not supported by dart2js.")); + } + [$getUint8](...args) { + return this.getUint8.apply(this, args); + } + [$setFloat32](byteOffset, value, endian = C[36] || CT.C36) { + if (byteOffset == null) dart.nullFailed(I[58], 548, 23, "byteOffset"); + if (value == null) dart.nullFailed(I[58], 548, 39, "value"); + if (endian == null) dart.nullFailed(I[58], 548, 54, "endian"); + return this[_setFloat32](byteOffset, value, dart.equals(typed_data.Endian.little, endian)); + } + [_setFloat32](...args) { + return this.setFloat32.apply(this, args); + } + [$setFloat64](byteOffset, value, endian = C[36] || CT.C36) { + if (byteOffset == null) dart.nullFailed(I[58], 560, 23, "byteOffset"); + if (value == null) dart.nullFailed(I[58], 560, 39, "value"); + if (endian == null) dart.nullFailed(I[58], 560, 54, "endian"); + return this[_setFloat64](byteOffset, value, dart.equals(typed_data.Endian.little, endian)); + } + [_setFloat64](...args) { + return this.setFloat64.apply(this, args); + } + [$setInt16](byteOffset, value, endian = C[36] || CT.C36) { + if (byteOffset == null) dart.nullFailed(I[58], 573, 21, "byteOffset"); + if (value == null) dart.nullFailed(I[58], 573, 37, "value"); + if (endian == null) dart.nullFailed(I[58], 573, 52, "endian"); + return this[_setInt16](byteOffset, value, dart.equals(typed_data.Endian.little, endian)); + } + [_setInt16](...args) { + return this.setInt16.apply(this, args); + } + [$setInt32](byteOffset, value, endian = C[36] || CT.C36) { + if (byteOffset == null) dart.nullFailed(I[58], 586, 21, "byteOffset"); + if (value == null) dart.nullFailed(I[58], 586, 37, "value"); + if (endian == null) dart.nullFailed(I[58], 586, 52, "endian"); + return this[_setInt32](byteOffset, value, dart.equals(typed_data.Endian.little, endian)); + } + [_setInt32](...args) { + return this.setInt32.apply(this, args); + } + [$setInt64](byteOffset, value, endian = C[36] || CT.C36) { + if (byteOffset == null) dart.nullFailed(I[58], 599, 21, "byteOffset"); + if (value == null) dart.nullFailed(I[58], 599, 37, "value"); + if (endian == null) dart.nullFailed(I[58], 599, 52, "endian"); + dart.throw(new core.UnsupportedError.new("Int64 accessor not supported by dart2js.")); + } + [$setInt8](...args) { + return this.setInt8.apply(this, args); + } + [$setUint16](byteOffset, value, endian = C[36] || CT.C36) { + if (byteOffset == null) dart.nullFailed(I[58], 619, 22, "byteOffset"); + if (value == null) dart.nullFailed(I[58], 619, 38, "value"); + if (endian == null) dart.nullFailed(I[58], 619, 53, "endian"); + return this[_setUint16](byteOffset, value, dart.equals(typed_data.Endian.little, endian)); + } + [_setUint16](...args) { + return this.setUint16.apply(this, args); + } + [$setUint32](byteOffset, value, endian = C[36] || CT.C36) { + if (byteOffset == null) dart.nullFailed(I[58], 632, 22, "byteOffset"); + if (value == null) dart.nullFailed(I[58], 632, 38, "value"); + if (endian == null) dart.nullFailed(I[58], 632, 53, "endian"); + return this[_setUint32](byteOffset, value, dart.equals(typed_data.Endian.little, endian)); + } + [_setUint32](...args) { + return this.setUint32.apply(this, args); + } + [$setUint64](byteOffset, value, endian = C[36] || CT.C36) { + if (byteOffset == null) dart.nullFailed(I[58], 645, 22, "byteOffset"); + if (value == null) dart.nullFailed(I[58], 645, 38, "value"); + if (endian == null) dart.nullFailed(I[58], 645, 53, "endian"); + dart.throw(new core.UnsupportedError.new("Uint64 accessor not supported by dart2js.")); + } + [$setUint8](...args) { + return this.setUint8.apply(this, args); + } + static _create1(arg) { + return new DataView(new ArrayBuffer(arg)); + } + static _create2(arg1, arg2) { + return new DataView(arg1, arg2); + } + static _create3(arg1, arg2, arg3) { + return new DataView(arg1, arg2, arg3); + } +}; +dart.addTypeTests(_native_typed_data.NativeByteData); +dart.addTypeCaches(_native_typed_data.NativeByteData); +_native_typed_data.NativeByteData[dart.implements] = () => [typed_data.ByteData]; +dart.setMethodSignature(_native_typed_data.NativeByteData, () => ({ + __proto__: dart.getMethods(_native_typed_data.NativeByteData.__proto__), + [$getFloat32]: dart.fnType(core.double, [core.int], [typed_data.Endian]), + [_getFloat32]: dart.fnType(core.double, [core.int], [dart.nullable(core.bool)]), + [$getFloat64]: dart.fnType(core.double, [core.int], [typed_data.Endian]), + [_getFloat64]: dart.fnType(core.double, [core.int], [dart.nullable(core.bool)]), + [$getInt16]: dart.fnType(core.int, [core.int], [typed_data.Endian]), + [_getInt16]: dart.fnType(core.int, [core.int], [dart.nullable(core.bool)]), + [$getInt32]: dart.fnType(core.int, [core.int], [typed_data.Endian]), + [_getInt32]: dart.fnType(core.int, [core.int], [dart.nullable(core.bool)]), + [$getInt64]: dart.fnType(core.int, [core.int], [typed_data.Endian]), + [$getInt8]: dart.fnType(core.int, [core.int]), + [$getUint16]: dart.fnType(core.int, [core.int], [typed_data.Endian]), + [_getUint16]: dart.fnType(core.int, [core.int], [dart.nullable(core.bool)]), + [$getUint32]: dart.fnType(core.int, [core.int], [typed_data.Endian]), + [_getUint32]: dart.fnType(core.int, [core.int], [dart.nullable(core.bool)]), + [$getUint64]: dart.fnType(core.int, [core.int], [typed_data.Endian]), + [$getUint8]: dart.fnType(core.int, [core.int]), + [$setFloat32]: dart.fnType(dart.void, [core.int, core.num], [typed_data.Endian]), + [_setFloat32]: dart.fnType(dart.void, [core.int, core.num], [dart.nullable(core.bool)]), + [$setFloat64]: dart.fnType(dart.void, [core.int, core.num], [typed_data.Endian]), + [_setFloat64]: dart.fnType(dart.void, [core.int, core.num], [dart.nullable(core.bool)]), + [$setInt16]: dart.fnType(dart.void, [core.int, core.int], [typed_data.Endian]), + [_setInt16]: dart.fnType(dart.void, [core.int, core.int], [dart.nullable(core.bool)]), + [$setInt32]: dart.fnType(dart.void, [core.int, core.int], [typed_data.Endian]), + [_setInt32]: dart.fnType(dart.void, [core.int, core.int], [dart.nullable(core.bool)]), + [$setInt64]: dart.fnType(dart.void, [core.int, core.int], [typed_data.Endian]), + [$setInt8]: dart.fnType(dart.void, [core.int, core.int]), + [$setUint16]: dart.fnType(dart.void, [core.int, core.int], [typed_data.Endian]), + [_setUint16]: dart.fnType(dart.void, [core.int, core.int], [dart.nullable(core.bool)]), + [$setUint32]: dart.fnType(dart.void, [core.int, core.int], [typed_data.Endian]), + [_setUint32]: dart.fnType(dart.void, [core.int, core.int], [dart.nullable(core.bool)]), + [$setUint64]: dart.fnType(dart.void, [core.int, core.int], [typed_data.Endian]), + [$setUint8]: dart.fnType(dart.void, [core.int, core.int]) +})); +dart.setLibraryUri(_native_typed_data.NativeByteData, I[59]); +dart.registerExtension("DataView", _native_typed_data.NativeByteData); +var _setRangeFast = dart.privateName(_native_typed_data, "_setRangeFast"); +const _is_NativeTypedArray_default = Symbol('_is_NativeTypedArray_default'); +_native_typed_data.NativeTypedArray$ = dart.generic(E => { + class NativeTypedArray extends _native_typed_data.NativeTypedData { + [_setRangeFast](start, end, source, skipCount) { + if (start == null) dart.nullFailed(I[58], 673, 11, "start"); + if (end == null) dart.nullFailed(I[58], 673, 22, "end"); + if (source == null) dart.nullFailed(I[58], 673, 44, "source"); + if (skipCount == null) dart.nullFailed(I[58], 673, 56, "skipCount"); + let targetLength = this[$length]; + this[_checkPosition](start, targetLength, "start"); + this[_checkPosition](end, targetLength, "end"); + if (dart.notNull(start) > dart.notNull(end)) dart.throw(new core.RangeError.range(start, 0, end)); + let count = dart.notNull(end) - dart.notNull(start); + if (dart.notNull(skipCount) < 0) dart.throw(new core.ArgumentError.new(skipCount)); + let sourceLength = source[$length]; + if (dart.notNull(sourceLength) - dart.notNull(skipCount) < count) { + dart.throw(new core.StateError.new("Not enough elements")); + } + if (skipCount !== 0 || sourceLength !== count) { + source = source.subarray(skipCount, dart.notNull(skipCount) + count); + } + this.set(source, start); + } + } + (NativeTypedArray.new = function() { + ; + }).prototype = NativeTypedArray.prototype; + dart.addTypeTests(NativeTypedArray); + NativeTypedArray.prototype[_is_NativeTypedArray_default] = true; + dart.addTypeCaches(NativeTypedArray); + NativeTypedArray[dart.implements] = () => [_js_helper.JavaScriptIndexingBehavior$(E)]; + dart.setMethodSignature(NativeTypedArray, () => ({ + __proto__: dart.getMethods(NativeTypedArray.__proto__), + [_setRangeFast]: dart.fnType(dart.void, [core.int, core.int, _native_typed_data.NativeTypedArray, core.int]) + })); + dart.setLibraryUri(NativeTypedArray, I[59]); + return NativeTypedArray; +}); +_native_typed_data.NativeTypedArray = _native_typed_data.NativeTypedArray$(); +dart.addTypeTests(_native_typed_data.NativeTypedArray, _is_NativeTypedArray_default); +core.double = class double extends core.num { + static is(o) { + return typeof o == "number"; + } + static as(o) { + if (typeof o == "number") return o; + return dart.as(o, core.double); + } + static parse(source, onError = null) { + if (source == null) dart.nullFailed(I[7], 211, 30, "source"); + let value = core.double.tryParse(source); + if (value != null) return value; + if (onError != null) return onError(source); + dart.throw(new core.FormatException.new("Invalid double", source)); + } + static tryParse(source) { + if (source == null) dart.nullFailed(I[7], 220, 34, "source"); + return _js_helper.Primitives.parseDouble(source); + } +}; +(core.double.new = function() { + ; +}).prototype = core.double.prototype; +dart.addTypeCaches(core.double); +dart.setLibraryUri(core.double, I[8]); +dart.defineLazy(core.double, { + /*core.double.nan*/get nan() { + return 0 / 0; + }, + /*core.double.infinity*/get infinity() { + return 1 / 0; + }, + /*core.double.negativeInfinity*/get negativeInfinity() { + return -1 / 0; + }, + /*core.double.minPositive*/get minPositive() { + return 5e-324; + }, + /*core.double.maxFinite*/get maxFinite() { + return 1.7976931348623157e+308; + } +}, false); +const NativeTypedArray_ListMixin$36 = class NativeTypedArray_ListMixin extends _native_typed_data.NativeTypedArray$(core.double) {}; +(NativeTypedArray_ListMixin$36.new = function() { +}).prototype = NativeTypedArray_ListMixin$36.prototype; +dart.applyMixin(NativeTypedArray_ListMixin$36, collection.ListMixin$(core.double)); +const NativeTypedArray_FixedLengthListMixin$36 = class NativeTypedArray_FixedLengthListMixin extends NativeTypedArray_ListMixin$36 {}; +(NativeTypedArray_FixedLengthListMixin$36.new = function() { +}).prototype = NativeTypedArray_FixedLengthListMixin$36.prototype; +dart.applyMixin(NativeTypedArray_FixedLengthListMixin$36, _internal.FixedLengthListMixin$(core.double)); +_native_typed_data.NativeTypedArrayOfDouble = class NativeTypedArrayOfDouble extends NativeTypedArray_FixedLengthListMixin$36 { + get length() { + return this.length; + } + set length(value) { + super.length = value; + } + _get(index) { + if (index == null) dart.nullFailed(I[58], 699, 26, "index"); + _native_typed_data._checkValidIndex(index, this, this[$length]); + return this[index]; + } + _set(index, value$) { + let value = value$; + if (index == null) dart.nullFailed(I[58], 704, 25, "index"); + core.num.as(value); + if (value == null) dart.nullFailed(I[58], 704, 36, "value"); + _native_typed_data._checkValidIndex(index, this, this[$length]); + this[index] = value; + return value$; + } + setRange(start, end, iterable, skipCount = 0) { + if (start == null) dart.nullFailed(I[58], 709, 21, "start"); + if (end == null) dart.nullFailed(I[58], 709, 32, "end"); + T$.IterableOfdouble().as(iterable); + if (iterable == null) dart.nullFailed(I[58], 709, 54, "iterable"); + if (skipCount == null) dart.nullFailed(I[58], 710, 12, "skipCount"); + if (_native_typed_data.NativeTypedArrayOfDouble.is(iterable)) { + this[_setRangeFast](start, end, iterable, skipCount); + return; + } + super[$setRange](start, end, iterable, skipCount); + } +}; +(_native_typed_data.NativeTypedArrayOfDouble.new = function() { + ; +}).prototype = _native_typed_data.NativeTypedArrayOfDouble.prototype; +dart.addTypeTests(_native_typed_data.NativeTypedArrayOfDouble); +dart.addTypeCaches(_native_typed_data.NativeTypedArrayOfDouble); +dart.setMethodSignature(_native_typed_data.NativeTypedArrayOfDouble, () => ({ + __proto__: dart.getMethods(_native_typed_data.NativeTypedArrayOfDouble.__proto__), + _get: dart.fnType(core.double, [core.int]), + [$_get]: dart.fnType(core.double, [core.int]), + _set: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), + [$_set]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]) +})); +dart.setGetterSignature(_native_typed_data.NativeTypedArrayOfDouble, () => ({ + __proto__: dart.getGetters(_native_typed_data.NativeTypedArrayOfDouble.__proto__), + length: core.int, + [$length]: core.int +})); +dart.setLibraryUri(_native_typed_data.NativeTypedArrayOfDouble, I[59]); +dart.defineExtensionMethods(_native_typed_data.NativeTypedArrayOfDouble, ['_get', '_set', 'setRange']); +dart.defineExtensionAccessors(_native_typed_data.NativeTypedArrayOfDouble, ['length']); +const NativeTypedArray_ListMixin$36$ = class NativeTypedArray_ListMixin extends _native_typed_data.NativeTypedArray$(core.int) {}; +(NativeTypedArray_ListMixin$36$.new = function() { +}).prototype = NativeTypedArray_ListMixin$36$.prototype; +dart.applyMixin(NativeTypedArray_ListMixin$36$, collection.ListMixin$(core.int)); +const NativeTypedArray_FixedLengthListMixin$36$ = class NativeTypedArray_FixedLengthListMixin extends NativeTypedArray_ListMixin$36$ {}; +(NativeTypedArray_FixedLengthListMixin$36$.new = function() { +}).prototype = NativeTypedArray_FixedLengthListMixin$36$.prototype; +dart.applyMixin(NativeTypedArray_FixedLengthListMixin$36$, _internal.FixedLengthListMixin$(core.int)); +_native_typed_data.NativeTypedArrayOfInt = class NativeTypedArrayOfInt extends NativeTypedArray_FixedLengthListMixin$36$ { + get length() { + return this.length; + } + set length(value) { + super.length = value; + } + _set(index, value$) { + let value = value$; + if (index == null) dart.nullFailed(I[58], 727, 25, "index"); + core.int.as(value); + if (value == null) dart.nullFailed(I[58], 727, 36, "value"); + _native_typed_data._checkValidIndex(index, this, this[$length]); + this[index] = value; + return value$; + } + setRange(start, end, iterable, skipCount = 0) { + if (start == null) dart.nullFailed(I[58], 732, 21, "start"); + if (end == null) dart.nullFailed(I[58], 732, 32, "end"); + T$.IterableOfint().as(iterable); + if (iterable == null) dart.nullFailed(I[58], 732, 51, "iterable"); + if (skipCount == null) dart.nullFailed(I[58], 733, 12, "skipCount"); + if (_native_typed_data.NativeTypedArrayOfInt.is(iterable)) { + this[_setRangeFast](start, end, iterable, skipCount); + return; + } + super[$setRange](start, end, iterable, skipCount); + } +}; +(_native_typed_data.NativeTypedArrayOfInt.new = function() { + ; +}).prototype = _native_typed_data.NativeTypedArrayOfInt.prototype; +_native_typed_data.NativeTypedArrayOfInt.prototype[dart.isList] = true; +dart.addTypeTests(_native_typed_data.NativeTypedArrayOfInt); +dart.addTypeCaches(_native_typed_data.NativeTypedArrayOfInt); +_native_typed_data.NativeTypedArrayOfInt[dart.implements] = () => [core.List$(core.int)]; +dart.setMethodSignature(_native_typed_data.NativeTypedArrayOfInt, () => ({ + __proto__: dart.getMethods(_native_typed_data.NativeTypedArrayOfInt.__proto__), + _set: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), + [$_set]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]) +})); +dart.setGetterSignature(_native_typed_data.NativeTypedArrayOfInt, () => ({ + __proto__: dart.getGetters(_native_typed_data.NativeTypedArrayOfInt.__proto__), + length: core.int, + [$length]: core.int +})); +dart.setLibraryUri(_native_typed_data.NativeTypedArrayOfInt, I[59]); +dart.defineExtensionMethods(_native_typed_data.NativeTypedArrayOfInt, ['_set', 'setRange']); +dart.defineExtensionAccessors(_native_typed_data.NativeTypedArrayOfInt, ['length']); +_native_typed_data.NativeFloat32List = class NativeFloat32List extends _native_typed_data.NativeTypedArrayOfDouble { + static new(length) { + if (length == null) dart.nullFailed(I[58], 745, 33, "length"); + return _native_typed_data.NativeFloat32List._create1(_native_typed_data._checkLength(length)); + } + static fromList(elements) { + if (elements == null) dart.nullFailed(I[58], 747, 51, "elements"); + return _native_typed_data.NativeFloat32List._create1(_native_typed_data._ensureNativeList(elements)); + } + static view(buffer, offsetInBytes, length) { + if (buffer == null) dart.nullFailed(I[58], 751, 18, "buffer"); + if (offsetInBytes == null) dart.nullFailed(I[58], 751, 30, "offsetInBytes"); + _native_typed_data._checkViewArguments(buffer, offsetInBytes, length); + length == null ? length = ((dart.notNull(buffer[$lengthInBytes]) - dart.notNull(offsetInBytes)) / 4)[$truncate]() : null; + return _native_typed_data.NativeFloat32List._create3(buffer, offsetInBytes, length); + } + get [$runtimeType]() { + return dart.wrapType(typed_data.Float32List); + } + [$sublist](start, end = null) { + if (start == null) dart.nullFailed(I[58], 760, 27, "start"); + let stop = _native_typed_data._checkValidRange(start, end, this[$length]); + let source = this.subarray(start, stop); + return _native_typed_data.NativeFloat32List._create1(source); + } + static _create1(arg) { + return new Float32Array(arg); + } + static _create3(arg1, arg2, arg3) { + return new Float32Array(arg1, arg2, arg3); + } +}; +dart.addTypeTests(_native_typed_data.NativeFloat32List); +dart.addTypeCaches(_native_typed_data.NativeFloat32List); +_native_typed_data.NativeFloat32List[dart.implements] = () => [typed_data.Float32List]; +dart.setMethodSignature(_native_typed_data.NativeFloat32List, () => ({ + __proto__: dart.getMethods(_native_typed_data.NativeFloat32List.__proto__), + [$sublist]: dart.fnType(typed_data.Float32List, [core.int], [dart.nullable(core.int)]) +})); +dart.setLibraryUri(_native_typed_data.NativeFloat32List, I[59]); +dart.registerExtension("Float32Array", _native_typed_data.NativeFloat32List); +_native_typed_data.NativeFloat64List = class NativeFloat64List extends _native_typed_data.NativeTypedArrayOfDouble { + static new(length) { + if (length == null) dart.nullFailed(I[58], 777, 33, "length"); + return _native_typed_data.NativeFloat64List._create1(_native_typed_data._checkLength(length)); + } + static fromList(elements) { + if (elements == null) dart.nullFailed(I[58], 779, 51, "elements"); + return _native_typed_data.NativeFloat64List._create1(_native_typed_data._ensureNativeList(elements)); + } + static view(buffer, offsetInBytes, length) { + if (buffer == null) dart.nullFailed(I[58], 783, 18, "buffer"); + if (offsetInBytes == null) dart.nullFailed(I[58], 783, 30, "offsetInBytes"); + _native_typed_data._checkViewArguments(buffer, offsetInBytes, length); + length == null ? length = ((dart.notNull(buffer[$lengthInBytes]) - dart.notNull(offsetInBytes)) / 8)[$truncate]() : null; + return _native_typed_data.NativeFloat64List._create3(buffer, offsetInBytes, length); + } + get [$runtimeType]() { + return dart.wrapType(typed_data.Float64List); + } + [$sublist](start, end = null) { + if (start == null) dart.nullFailed(I[58], 792, 27, "start"); + let stop = _native_typed_data._checkValidRange(start, end, this[$length]); + let source = this.subarray(start, stop); + return _native_typed_data.NativeFloat64List._create1(source); + } + static _create1(arg) { + return new Float64Array(arg); + } + static _create3(arg1, arg2, arg3) { + return new Float64Array(arg1, arg2, arg3); + } +}; +dart.addTypeTests(_native_typed_data.NativeFloat64List); +dart.addTypeCaches(_native_typed_data.NativeFloat64List); +_native_typed_data.NativeFloat64List[dart.implements] = () => [typed_data.Float64List]; +dart.setMethodSignature(_native_typed_data.NativeFloat64List, () => ({ + __proto__: dart.getMethods(_native_typed_data.NativeFloat64List.__proto__), + [$sublist]: dart.fnType(typed_data.Float64List, [core.int], [dart.nullable(core.int)]) +})); +dart.setLibraryUri(_native_typed_data.NativeFloat64List, I[59]); +dart.registerExtension("Float64Array", _native_typed_data.NativeFloat64List); +_native_typed_data.NativeInt16List = class NativeInt16List extends _native_typed_data.NativeTypedArrayOfInt { + static new(length) { + if (length == null) dart.nullFailed(I[58], 807, 31, "length"); + return _native_typed_data.NativeInt16List._create1(_native_typed_data._checkLength(length)); + } + static fromList(elements) { + if (elements == null) dart.nullFailed(I[58], 809, 46, "elements"); + return _native_typed_data.NativeInt16List._create1(_native_typed_data._ensureNativeList(elements)); + } + static view(buffer, offsetInBytes, length) { + if (buffer == null) dart.nullFailed(I[58], 813, 24, "buffer"); + if (offsetInBytes == null) dart.nullFailed(I[58], 813, 36, "offsetInBytes"); + _native_typed_data._checkViewArguments(buffer, offsetInBytes, length); + length == null ? length = ((dart.notNull(buffer[$lengthInBytes]) - dart.notNull(offsetInBytes)) / 2)[$truncate]() : null; + return _native_typed_data.NativeInt16List._create3(buffer, offsetInBytes, length); + } + get [$runtimeType]() { + return dart.wrapType(typed_data.Int16List); + } + [$_get](index) { + if (index == null) dart.nullFailed(I[58], 822, 23, "index"); + _native_typed_data._checkValidIndex(index, this, this[$length]); + return this[index]; + } + [$sublist](start, end = null) { + if (start == null) dart.nullFailed(I[58], 827, 25, "start"); + let stop = _native_typed_data._checkValidRange(start, end, this[$length]); + let source = this.subarray(start, stop); + return _native_typed_data.NativeInt16List._create1(source); + } + static _create1(arg) { + return new Int16Array(arg); + } + static _create3(arg1, arg2, arg3) { + return new Int16Array(arg1, arg2, arg3); + } +}; +dart.addTypeTests(_native_typed_data.NativeInt16List); +dart.addTypeCaches(_native_typed_data.NativeInt16List); +_native_typed_data.NativeInt16List[dart.implements] = () => [typed_data.Int16List]; +dart.setMethodSignature(_native_typed_data.NativeInt16List, () => ({ + __proto__: dart.getMethods(_native_typed_data.NativeInt16List.__proto__), + [$_get]: dart.fnType(core.int, [core.int]), + [$sublist]: dart.fnType(typed_data.Int16List, [core.int], [dart.nullable(core.int)]) +})); +dart.setLibraryUri(_native_typed_data.NativeInt16List, I[59]); +dart.registerExtension("Int16Array", _native_typed_data.NativeInt16List); +_native_typed_data.NativeInt32List = class NativeInt32List extends _native_typed_data.NativeTypedArrayOfInt { + static new(length) { + if (length == null) dart.nullFailed(I[58], 842, 31, "length"); + return _native_typed_data.NativeInt32List._create1(_native_typed_data._checkLength(length)); + } + static fromList(elements) { + if (elements == null) dart.nullFailed(I[58], 844, 46, "elements"); + return _native_typed_data.NativeInt32List._create1(_native_typed_data._ensureNativeList(elements)); + } + static view(buffer, offsetInBytes, length) { + if (buffer == null) dart.nullFailed(I[58], 848, 18, "buffer"); + if (offsetInBytes == null) dart.nullFailed(I[58], 848, 30, "offsetInBytes"); + _native_typed_data._checkViewArguments(buffer, offsetInBytes, length); + length == null ? length = ((dart.notNull(buffer[$lengthInBytes]) - dart.notNull(offsetInBytes)) / 4)[$truncate]() : null; + return _native_typed_data.NativeInt32List._create3(buffer, offsetInBytes, length); + } + get [$runtimeType]() { + return dart.wrapType(typed_data.Int32List); + } + [$_get](index) { + if (index == null) dart.nullFailed(I[58], 857, 23, "index"); + _native_typed_data._checkValidIndex(index, this, this[$length]); + return this[index]; + } + [$sublist](start, end = null) { + if (start == null) dart.nullFailed(I[58], 862, 25, "start"); + let stop = _native_typed_data._checkValidRange(start, end, this[$length]); + let source = this.subarray(start, stop); + return _native_typed_data.NativeInt32List._create1(source); + } + static _create1(arg) { + return new Int32Array(arg); + } + static _create3(arg1, arg2, arg3) { + return new Int32Array(arg1, arg2, arg3); + } +}; +dart.addTypeTests(_native_typed_data.NativeInt32List); +dart.addTypeCaches(_native_typed_data.NativeInt32List); +_native_typed_data.NativeInt32List[dart.implements] = () => [typed_data.Int32List]; +dart.setMethodSignature(_native_typed_data.NativeInt32List, () => ({ + __proto__: dart.getMethods(_native_typed_data.NativeInt32List.__proto__), + [$_get]: dart.fnType(core.int, [core.int]), + [$sublist]: dart.fnType(typed_data.Int32List, [core.int], [dart.nullable(core.int)]) +})); +dart.setLibraryUri(_native_typed_data.NativeInt32List, I[59]); +dart.registerExtension("Int32Array", _native_typed_data.NativeInt32List); +_native_typed_data.NativeInt8List = class NativeInt8List extends _native_typed_data.NativeTypedArrayOfInt { + static new(length) { + if (length == null) dart.nullFailed(I[58], 878, 30, "length"); + return _native_typed_data.NativeInt8List._create1(_native_typed_data._checkLength(length)); + } + static fromList(elements) { + if (elements == null) dart.nullFailed(I[58], 880, 45, "elements"); + return _native_typed_data.NativeInt8List._create1(_native_typed_data._ensureNativeList(elements)); + } + static view(buffer, offsetInBytes, length) { + if (buffer == null) dart.nullFailed(I[58], 884, 18, "buffer"); + if (offsetInBytes == null) dart.nullFailed(I[58], 884, 30, "offsetInBytes"); + _native_typed_data._checkViewArguments(buffer, offsetInBytes, length); + return length == null ? _native_typed_data.NativeInt8List._create2(buffer, offsetInBytes) : _native_typed_data.NativeInt8List._create3(buffer, offsetInBytes, length); + } + get [$runtimeType]() { + return dart.wrapType(typed_data.Int8List); + } + [$_get](index) { + if (index == null) dart.nullFailed(I[58], 893, 23, "index"); + _native_typed_data._checkValidIndex(index, this, this[$length]); + return this[index]; + } + [$sublist](start, end = null) { + if (start == null) dart.nullFailed(I[58], 898, 24, "start"); + let stop = _native_typed_data._checkValidRange(start, end, this[$length]); + let source = this.subarray(start, stop); + return _native_typed_data.NativeInt8List._create1(source); + } + static _create1(arg) { + return new Int8Array(arg); + } + static _create2(arg1, arg2) { + return new Int8Array(arg1, arg2); + } + static _create3(arg1, arg2, arg3) { + return new Int8Array(arg1, arg2, arg3); + } +}; +dart.addTypeTests(_native_typed_data.NativeInt8List); +dart.addTypeCaches(_native_typed_data.NativeInt8List); +_native_typed_data.NativeInt8List[dart.implements] = () => [typed_data.Int8List]; +dart.setMethodSignature(_native_typed_data.NativeInt8List, () => ({ + __proto__: dart.getMethods(_native_typed_data.NativeInt8List.__proto__), + [$_get]: dart.fnType(core.int, [core.int]), + [$sublist]: dart.fnType(typed_data.Int8List, [core.int], [dart.nullable(core.int)]) +})); +dart.setLibraryUri(_native_typed_data.NativeInt8List, I[59]); +dart.registerExtension("Int8Array", _native_typed_data.NativeInt8List); +_native_typed_data.NativeUint16List = class NativeUint16List extends _native_typed_data.NativeTypedArrayOfInt { + static new(length) { + if (length == null) dart.nullFailed(I[58], 916, 32, "length"); + return _native_typed_data.NativeUint16List._create1(_native_typed_data._checkLength(length)); + } + static fromList(list) { + if (list == null) dart.nullFailed(I[58], 918, 47, "list"); + return _native_typed_data.NativeUint16List._create1(_native_typed_data._ensureNativeList(list)); + } + static view(buffer, offsetInBytes, length) { + if (buffer == null) dart.nullFailed(I[58], 922, 18, "buffer"); + if (offsetInBytes == null) dart.nullFailed(I[58], 922, 30, "offsetInBytes"); + _native_typed_data._checkViewArguments(buffer, offsetInBytes, length); + length == null ? length = ((dart.notNull(buffer[$lengthInBytes]) - dart.notNull(offsetInBytes)) / 2)[$truncate]() : null; + return _native_typed_data.NativeUint16List._create3(buffer, offsetInBytes, length); + } + get [$runtimeType]() { + return dart.wrapType(typed_data.Uint16List); + } + [$_get](index) { + if (index == null) dart.nullFailed(I[58], 931, 23, "index"); + _native_typed_data._checkValidIndex(index, this, this[$length]); + return this[index]; + } + [$sublist](start, end = null) { + if (start == null) dart.nullFailed(I[58], 936, 26, "start"); + let stop = _native_typed_data._checkValidRange(start, end, this[$length]); + let source = this.subarray(start, stop); + return _native_typed_data.NativeUint16List._create1(source); + } + static _create1(arg) { + return new Uint16Array(arg); + } + static _create3(arg1, arg2, arg3) { + return new Uint16Array(arg1, arg2, arg3); + } +}; +dart.addTypeTests(_native_typed_data.NativeUint16List); +dart.addTypeCaches(_native_typed_data.NativeUint16List); +_native_typed_data.NativeUint16List[dart.implements] = () => [typed_data.Uint16List]; +dart.setMethodSignature(_native_typed_data.NativeUint16List, () => ({ + __proto__: dart.getMethods(_native_typed_data.NativeUint16List.__proto__), + [$_get]: dart.fnType(core.int, [core.int]), + [$sublist]: dart.fnType(typed_data.Uint16List, [core.int], [dart.nullable(core.int)]) +})); +dart.setLibraryUri(_native_typed_data.NativeUint16List, I[59]); +dart.registerExtension("Uint16Array", _native_typed_data.NativeUint16List); +_native_typed_data.NativeUint32List = class NativeUint32List extends _native_typed_data.NativeTypedArrayOfInt { + static new(length) { + if (length == null) dart.nullFailed(I[58], 952, 32, "length"); + return _native_typed_data.NativeUint32List._create1(_native_typed_data._checkLength(length)); + } + static fromList(elements) { + if (elements == null) dart.nullFailed(I[58], 954, 47, "elements"); + return _native_typed_data.NativeUint32List._create1(_native_typed_data._ensureNativeList(elements)); + } + static view(buffer, offsetInBytes, length) { + if (buffer == null) dart.nullFailed(I[58], 958, 18, "buffer"); + if (offsetInBytes == null) dart.nullFailed(I[58], 958, 30, "offsetInBytes"); + _native_typed_data._checkViewArguments(buffer, offsetInBytes, length); + length == null ? length = ((dart.notNull(buffer[$lengthInBytes]) - dart.notNull(offsetInBytes)) / 4)[$truncate]() : null; + return _native_typed_data.NativeUint32List._create3(buffer, offsetInBytes, length); + } + get [$runtimeType]() { + return dart.wrapType(typed_data.Uint32List); + } + [$_get](index) { + if (index == null) dart.nullFailed(I[58], 967, 23, "index"); + _native_typed_data._checkValidIndex(index, this, this[$length]); + return this[index]; + } + [$sublist](start, end = null) { + if (start == null) dart.nullFailed(I[58], 972, 26, "start"); + let stop = _native_typed_data._checkValidRange(start, end, this[$length]); + let source = this.subarray(start, stop); + return _native_typed_data.NativeUint32List._create1(source); + } + static _create1(arg) { + return new Uint32Array(arg); + } + static _create3(arg1, arg2, arg3) { + return new Uint32Array(arg1, arg2, arg3); + } +}; +dart.addTypeTests(_native_typed_data.NativeUint32List); +dart.addTypeCaches(_native_typed_data.NativeUint32List); +_native_typed_data.NativeUint32List[dart.implements] = () => [typed_data.Uint32List]; +dart.setMethodSignature(_native_typed_data.NativeUint32List, () => ({ + __proto__: dart.getMethods(_native_typed_data.NativeUint32List.__proto__), + [$_get]: dart.fnType(core.int, [core.int]), + [$sublist]: dart.fnType(typed_data.Uint32List, [core.int], [dart.nullable(core.int)]) +})); +dart.setLibraryUri(_native_typed_data.NativeUint32List, I[59]); +dart.registerExtension("Uint32Array", _native_typed_data.NativeUint32List); +_native_typed_data.NativeUint8ClampedList = class NativeUint8ClampedList extends _native_typed_data.NativeTypedArrayOfInt { + static new(length) { + if (length == null) dart.nullFailed(I[58], 989, 38, "length"); + return _native_typed_data.NativeUint8ClampedList._create1(_native_typed_data._checkLength(length)); + } + static fromList(elements) { + if (elements == null) dart.nullFailed(I[58], 991, 53, "elements"); + return _native_typed_data.NativeUint8ClampedList._create1(_native_typed_data._ensureNativeList(elements)); + } + static view(buffer, offsetInBytes, length) { + if (buffer == null) dart.nullFailed(I[58], 995, 18, "buffer"); + if (offsetInBytes == null) dart.nullFailed(I[58], 995, 30, "offsetInBytes"); + _native_typed_data._checkViewArguments(buffer, offsetInBytes, length); + return length == null ? _native_typed_data.NativeUint8ClampedList._create2(buffer, offsetInBytes) : _native_typed_data.NativeUint8ClampedList._create3(buffer, offsetInBytes, length); + } + get [$runtimeType]() { + return dart.wrapType(typed_data.Uint8ClampedList); + } + get [$length]() { + return this.length; + } + set [$length](value) { + super[$length] = value; + } + [$_get](index) { + if (index == null) dart.nullFailed(I[58], 1006, 23, "index"); + _native_typed_data._checkValidIndex(index, this, this[$length]); + return this[index]; + } + [$sublist](start, end = null) { + if (start == null) dart.nullFailed(I[58], 1011, 32, "start"); + let stop = _native_typed_data._checkValidRange(start, end, this[$length]); + let source = this.subarray(start, stop); + return _native_typed_data.NativeUint8ClampedList._create1(source); + } + static _create1(arg) { + return new Uint8ClampedArray(arg); + } + static _create2(arg1, arg2) { + return new Uint8ClampedArray(arg1, arg2); + } + static _create3(arg1, arg2, arg3) { + return new Uint8ClampedArray(arg1, arg2, arg3); + } +}; +dart.addTypeTests(_native_typed_data.NativeUint8ClampedList); +dart.addTypeCaches(_native_typed_data.NativeUint8ClampedList); +_native_typed_data.NativeUint8ClampedList[dart.implements] = () => [typed_data.Uint8ClampedList]; +dart.setMethodSignature(_native_typed_data.NativeUint8ClampedList, () => ({ + __proto__: dart.getMethods(_native_typed_data.NativeUint8ClampedList.__proto__), + [$_get]: dart.fnType(core.int, [core.int]), + [$sublist]: dart.fnType(typed_data.Uint8ClampedList, [core.int], [dart.nullable(core.int)]) +})); +dart.setLibraryUri(_native_typed_data.NativeUint8ClampedList, I[59]); +dart.registerExtension("Uint8ClampedArray", _native_typed_data.NativeUint8ClampedList); +dart.registerExtension("CanvasPixelArray", _native_typed_data.NativeUint8ClampedList); +_native_typed_data.NativeUint8List = class NativeUint8List extends _native_typed_data.NativeTypedArrayOfInt { + static new(length) { + if (length == null) dart.nullFailed(I[58], 1039, 31, "length"); + return _native_typed_data.NativeUint8List._create1(_native_typed_data._checkLength(length)); + } + static fromList(elements) { + if (elements == null) dart.nullFailed(I[58], 1041, 46, "elements"); + return _native_typed_data.NativeUint8List._create1(_native_typed_data._ensureNativeList(elements)); + } + static view(buffer, offsetInBytes, length) { + if (buffer == null) dart.nullFailed(I[58], 1045, 18, "buffer"); + if (offsetInBytes == null) dart.nullFailed(I[58], 1045, 30, "offsetInBytes"); + _native_typed_data._checkViewArguments(buffer, offsetInBytes, length); + return length == null ? _native_typed_data.NativeUint8List._create2(buffer, offsetInBytes) : _native_typed_data.NativeUint8List._create3(buffer, offsetInBytes, length); + } + get [$runtimeType]() { + return dart.wrapType(typed_data.Uint8List); + } + get [$length]() { + return this.length; + } + set [$length](value) { + super[$length] = value; + } + [$_get](index) { + if (index == null) dart.nullFailed(I[58], 1056, 23, "index"); + _native_typed_data._checkValidIndex(index, this, this[$length]); + return this[index]; + } + [$sublist](start, end = null) { + if (start == null) dart.nullFailed(I[58], 1061, 25, "start"); + let stop = _native_typed_data._checkValidRange(start, end, this[$length]); + let source = this.subarray(start, stop); + return _native_typed_data.NativeUint8List._create1(source); + } + static _create1(arg) { + return new Uint8Array(arg); + } + static _create2(arg1, arg2) { + return new Uint8Array(arg1, arg2); + } + static _create3(arg1, arg2, arg3) { + return new Uint8Array(arg1, arg2, arg3); + } +}; +dart.addTypeTests(_native_typed_data.NativeUint8List); +dart.addTypeCaches(_native_typed_data.NativeUint8List); +_native_typed_data.NativeUint8List[dart.implements] = () => [typed_data.Uint8List]; +dart.setMethodSignature(_native_typed_data.NativeUint8List, () => ({ + __proto__: dart.getMethods(_native_typed_data.NativeUint8List.__proto__), + [$_get]: dart.fnType(core.int, [core.int]), + [$sublist]: dart.fnType(typed_data.Uint8List, [core.int], [dart.nullable(core.int)]) +})); +dart.setLibraryUri(_native_typed_data.NativeUint8List, I[59]); +dart.registerExtension("Uint8Array", _native_typed_data.NativeUint8List); +var x$ = dart.privateName(_native_typed_data, "NativeFloat32x4.x"); +var y$ = dart.privateName(_native_typed_data, "NativeFloat32x4.y"); +var z$ = dart.privateName(_native_typed_data, "NativeFloat32x4.z"); +var w$ = dart.privateName(_native_typed_data, "NativeFloat32x4.w"); +_native_typed_data.NativeFloat32x4 = class NativeFloat32x4 extends core.Object { + get x() { + return this[x$]; + } + set x(value) { + super.x = value; + } + get y() { + return this[y$]; + } + set y(value) { + super.y = value; + } + get z() { + return this[z$]; + } + set z(value) { + super.z = value; + } + get w() { + return this[w$]; + } + set w(value) { + super.w = value; + } + static _truncate(x) { + _native_typed_data.NativeFloat32x4._list[$_set](0, core.num.as(x)); + return _native_typed_data.NativeFloat32x4._list[$_get](0); + } + static fromInt32x4Bits(i) { + if (i == null) dart.nullFailed(I[58], 1112, 51, "i"); + _native_typed_data.NativeFloat32x4._uint32view[$_set](0, i.x); + _native_typed_data.NativeFloat32x4._uint32view[$_set](1, i.y); + _native_typed_data.NativeFloat32x4._uint32view[$_set](2, i.z); + _native_typed_data.NativeFloat32x4._uint32view[$_set](3, i.w); + return new _native_typed_data.NativeFloat32x4._truncated(_native_typed_data.NativeFloat32x4._list[$_get](0), _native_typed_data.NativeFloat32x4._list[$_get](1), _native_typed_data.NativeFloat32x4._list[$_get](2), _native_typed_data.NativeFloat32x4._list[$_get](3)); + } + toString() { + return "[" + dart.str(this.x) + ", " + dart.str(this.y) + ", " + dart.str(this.z) + ", " + dart.str(this.w) + "]"; + } + ['+'](other) { + if (other == null) dart.nullFailed(I[58], 1144, 34, "other"); + let _x = dart.notNull(this.x) + dart.notNull(other.x); + let _y = dart.notNull(this.y) + dart.notNull(other.y); + let _z = dart.notNull(this.z) + dart.notNull(other.z); + let _w = dart.notNull(this.w) + dart.notNull(other.w); + return new _native_typed_data.NativeFloat32x4._doubles(_x, _y, _z, _w); + } + _negate() { + return new _native_typed_data.NativeFloat32x4._truncated(-dart.notNull(this.x), -dart.notNull(this.y), -dart.notNull(this.z), -dart.notNull(this.w)); + } + ['-'](other) { + if (other == null) dart.nullFailed(I[58], 1158, 34, "other"); + let _x = dart.notNull(this.x) - dart.notNull(other.x); + let _y = dart.notNull(this.y) - dart.notNull(other.y); + let _z = dart.notNull(this.z) - dart.notNull(other.z); + let _w = dart.notNull(this.w) - dart.notNull(other.w); + return new _native_typed_data.NativeFloat32x4._doubles(_x, _y, _z, _w); + } + ['*'](other) { + if (other == null) dart.nullFailed(I[58], 1167, 34, "other"); + let _x = dart.notNull(this.x) * dart.notNull(other.x); + let _y = dart.notNull(this.y) * dart.notNull(other.y); + let _z = dart.notNull(this.z) * dart.notNull(other.z); + let _w = dart.notNull(this.w) * dart.notNull(other.w); + return new _native_typed_data.NativeFloat32x4._doubles(_x, _y, _z, _w); + } + ['/'](other) { + if (other == null) dart.nullFailed(I[58], 1176, 34, "other"); + let _x = dart.notNull(this.x) / dart.notNull(other.x); + let _y = dart.notNull(this.y) / dart.notNull(other.y); + let _z = dart.notNull(this.z) / dart.notNull(other.z); + let _w = dart.notNull(this.w) / dart.notNull(other.w); + return new _native_typed_data.NativeFloat32x4._doubles(_x, _y, _z, _w); + } + lessThan(other) { + if (other == null) dart.nullFailed(I[58], 1185, 30, "other"); + let _cx = dart.notNull(this.x) < dart.notNull(other.x); + let _cy = dart.notNull(this.y) < dart.notNull(other.y); + let _cz = dart.notNull(this.z) < dart.notNull(other.z); + let _cw = dart.notNull(this.w) < dart.notNull(other.w); + return new _native_typed_data.NativeInt32x4._truncated(_cx ? -1 : 0, _cy ? -1 : 0, _cz ? -1 : 0, _cw ? -1 : 0); + } + lessThanOrEqual(other) { + if (other == null) dart.nullFailed(I[58], 1195, 37, "other"); + let _cx = dart.notNull(this.x) <= dart.notNull(other.x); + let _cy = dart.notNull(this.y) <= dart.notNull(other.y); + let _cz = dart.notNull(this.z) <= dart.notNull(other.z); + let _cw = dart.notNull(this.w) <= dart.notNull(other.w); + return new _native_typed_data.NativeInt32x4._truncated(_cx ? -1 : 0, _cy ? -1 : 0, _cz ? -1 : 0, _cw ? -1 : 0); + } + greaterThan(other) { + if (other == null) dart.nullFailed(I[58], 1205, 33, "other"); + let _cx = dart.notNull(this.x) > dart.notNull(other.x); + let _cy = dart.notNull(this.y) > dart.notNull(other.y); + let _cz = dart.notNull(this.z) > dart.notNull(other.z); + let _cw = dart.notNull(this.w) > dart.notNull(other.w); + return new _native_typed_data.NativeInt32x4._truncated(_cx ? -1 : 0, _cy ? -1 : 0, _cz ? -1 : 0, _cw ? -1 : 0); + } + greaterThanOrEqual(other) { + if (other == null) dart.nullFailed(I[58], 1215, 40, "other"); + let _cx = dart.notNull(this.x) >= dart.notNull(other.x); + let _cy = dart.notNull(this.y) >= dart.notNull(other.y); + let _cz = dart.notNull(this.z) >= dart.notNull(other.z); + let _cw = dart.notNull(this.w) >= dart.notNull(other.w); + return new _native_typed_data.NativeInt32x4._truncated(_cx ? -1 : 0, _cy ? -1 : 0, _cz ? -1 : 0, _cw ? -1 : 0); + } + equal(other) { + if (other == null) dart.nullFailed(I[58], 1225, 27, "other"); + let _cx = this.x == other.x; + let _cy = this.y == other.y; + let _cz = this.z == other.z; + let _cw = this.w == other.w; + return new _native_typed_data.NativeInt32x4._truncated(_cx ? -1 : 0, _cy ? -1 : 0, _cz ? -1 : 0, _cw ? -1 : 0); + } + notEqual(other) { + if (other == null) dart.nullFailed(I[58], 1235, 30, "other"); + let _cx = this.x != other.x; + let _cy = this.y != other.y; + let _cz = this.z != other.z; + let _cw = this.w != other.w; + return new _native_typed_data.NativeInt32x4._truncated(_cx ? -1 : 0, _cy ? -1 : 0, _cz ? -1 : 0, _cw ? -1 : 0); + } + scale(s) { + if (s == null) dart.nullFailed(I[58], 1245, 26, "s"); + let _x = dart.notNull(s) * dart.notNull(this.x); + let _y = dart.notNull(s) * dart.notNull(this.y); + let _z = dart.notNull(s) * dart.notNull(this.z); + let _w = dart.notNull(s) * dart.notNull(this.w); + return new _native_typed_data.NativeFloat32x4._doubles(_x, _y, _z, _w); + } + abs() { + let _x = this.x[$abs](); + let _y = this.y[$abs](); + let _z = this.z[$abs](); + let _w = this.w[$abs](); + return new _native_typed_data.NativeFloat32x4._truncated(_x, _y, _z, _w); + } + clamp(lowerLimit, upperLimit) { + if (lowerLimit == null) dart.nullFailed(I[58], 1263, 29, "lowerLimit"); + if (upperLimit == null) dart.nullFailed(I[58], 1263, 51, "upperLimit"); + let _lx = lowerLimit.x; + let _ly = lowerLimit.y; + let _lz = lowerLimit.z; + let _lw = lowerLimit.w; + let _ux = upperLimit.x; + let _uy = upperLimit.y; + let _uz = upperLimit.z; + let _uw = upperLimit.w; + let _x = this.x; + let _y = this.y; + let _z = this.z; + let _w = this.w; + _x = dart.notNull(_x) > dart.notNull(_ux) ? _ux : _x; + _y = dart.notNull(_y) > dart.notNull(_uy) ? _uy : _y; + _z = dart.notNull(_z) > dart.notNull(_uz) ? _uz : _z; + _w = dart.notNull(_w) > dart.notNull(_uw) ? _uw : _w; + _x = dart.notNull(_x) < dart.notNull(_lx) ? _lx : _x; + _y = dart.notNull(_y) < dart.notNull(_ly) ? _ly : _y; + _z = dart.notNull(_z) < dart.notNull(_lz) ? _lz : _z; + _w = dart.notNull(_w) < dart.notNull(_lw) ? _lw : _w; + return new _native_typed_data.NativeFloat32x4._truncated(_x, _y, _z, _w); + } + get signMask() { + let view = _native_typed_data.NativeFloat32x4._uint32view; + let mx = null; + let my = null; + let mz = null; + let mw = null; + _native_typed_data.NativeFloat32x4._list[$_set](0, this.x); + _native_typed_data.NativeFloat32x4._list[$_set](1, this.y); + _native_typed_data.NativeFloat32x4._list[$_set](2, this.z); + _native_typed_data.NativeFloat32x4._list[$_set](3, this.w); + mx = (dart.notNull(view[$_get](0)) & 2147483648) >>> 31; + my = (dart.notNull(view[$_get](1)) & 2147483648) >>> 30; + mz = (dart.notNull(view[$_get](2)) & 2147483648) >>> 29; + mw = (dart.notNull(view[$_get](3)) & 2147483648) >>> 28; + return core.int.as(dart.dsend(dart.dsend(dart.dsend(mx, '|', [my]), '|', [mz]), '|', [mw])); + } + shuffle(mask) { + if (mask == null) dart.nullFailed(I[58], 1305, 25, "mask"); + if (dart.notNull(mask) < 0 || dart.notNull(mask) > 255) { + dart.throw(new core.RangeError.range(mask, 0, 255, "mask")); + } + _native_typed_data.NativeFloat32x4._list[$_set](0, this.x); + _native_typed_data.NativeFloat32x4._list[$_set](1, this.y); + _native_typed_data.NativeFloat32x4._list[$_set](2, this.z); + _native_typed_data.NativeFloat32x4._list[$_set](3, this.w); + let _x = _native_typed_data.NativeFloat32x4._list[$_get](dart.notNull(mask) & 3); + let _y = _native_typed_data.NativeFloat32x4._list[$_get](dart.notNull(mask) >> 2 & 3); + let _z = _native_typed_data.NativeFloat32x4._list[$_get](dart.notNull(mask) >> 4 & 3); + let _w = _native_typed_data.NativeFloat32x4._list[$_get](dart.notNull(mask) >> 6 & 3); + return new _native_typed_data.NativeFloat32x4._truncated(_x, _y, _z, _w); + } + shuffleMix(other, mask) { + if (other == null) dart.nullFailed(I[58], 1324, 34, "other"); + if (mask == null) dart.nullFailed(I[58], 1324, 45, "mask"); + if (dart.notNull(mask) < 0 || dart.notNull(mask) > 255) { + dart.throw(new core.RangeError.range(mask, 0, 255, "mask")); + } + _native_typed_data.NativeFloat32x4._list[$_set](0, this.x); + _native_typed_data.NativeFloat32x4._list[$_set](1, this.y); + _native_typed_data.NativeFloat32x4._list[$_set](2, this.z); + _native_typed_data.NativeFloat32x4._list[$_set](3, this.w); + let _x = _native_typed_data.NativeFloat32x4._list[$_get](dart.notNull(mask) & 3); + let _y = _native_typed_data.NativeFloat32x4._list[$_get](dart.notNull(mask) >> 2 & 3); + _native_typed_data.NativeFloat32x4._list[$_set](0, other.x); + _native_typed_data.NativeFloat32x4._list[$_set](1, other.y); + _native_typed_data.NativeFloat32x4._list[$_set](2, other.z); + _native_typed_data.NativeFloat32x4._list[$_set](3, other.w); + let _z = _native_typed_data.NativeFloat32x4._list[$_get](dart.notNull(mask) >> 4 & 3); + let _w = _native_typed_data.NativeFloat32x4._list[$_get](dart.notNull(mask) >> 6 & 3); + return new _native_typed_data.NativeFloat32x4._truncated(_x, _y, _z, _w); + } + withX(newX) { + if (newX == null) dart.nullFailed(I[58], 1345, 26, "newX"); + core.ArgumentError.checkNotNull(core.double, newX); + return new _native_typed_data.NativeFloat32x4._truncated(core.double.as(_native_typed_data.NativeFloat32x4._truncate(newX)), this.y, this.z, this.w); + } + withY(newY) { + if (newY == null) dart.nullFailed(I[58], 1351, 26, "newY"); + core.ArgumentError.checkNotNull(core.double, newY); + return new _native_typed_data.NativeFloat32x4._truncated(this.x, core.double.as(_native_typed_data.NativeFloat32x4._truncate(newY)), this.z, this.w); + } + withZ(newZ) { + if (newZ == null) dart.nullFailed(I[58], 1357, 26, "newZ"); + core.ArgumentError.checkNotNull(core.double, newZ); + return new _native_typed_data.NativeFloat32x4._truncated(this.x, this.y, core.double.as(_native_typed_data.NativeFloat32x4._truncate(newZ)), this.w); + } + withW(newW) { + if (newW == null) dart.nullFailed(I[58], 1363, 26, "newW"); + core.ArgumentError.checkNotNull(core.double, newW); + return new _native_typed_data.NativeFloat32x4._truncated(this.x, this.y, this.z, core.double.as(_native_typed_data.NativeFloat32x4._truncate(newW))); + } + min(other) { + if (other == null) dart.nullFailed(I[58], 1369, 27, "other"); + let _x = dart.notNull(this.x) < dart.notNull(other.x) ? this.x : other.x; + let _y = dart.notNull(this.y) < dart.notNull(other.y) ? this.y : other.y; + let _z = dart.notNull(this.z) < dart.notNull(other.z) ? this.z : other.z; + let _w = dart.notNull(this.w) < dart.notNull(other.w) ? this.w : other.w; + return new _native_typed_data.NativeFloat32x4._truncated(_x, _y, _z, _w); + } + max(other) { + if (other == null) dart.nullFailed(I[58], 1378, 27, "other"); + let _x = dart.notNull(this.x) > dart.notNull(other.x) ? this.x : other.x; + let _y = dart.notNull(this.y) > dart.notNull(other.y) ? this.y : other.y; + let _z = dart.notNull(this.z) > dart.notNull(other.z) ? this.z : other.z; + let _w = dart.notNull(this.w) > dart.notNull(other.w) ? this.w : other.w; + return new _native_typed_data.NativeFloat32x4._truncated(_x, _y, _z, _w); + } + sqrt() { + let _x = math.sqrt(this.x); + let _y = math.sqrt(this.y); + let _z = math.sqrt(this.z); + let _w = math.sqrt(this.w); + return new _native_typed_data.NativeFloat32x4._doubles(_x, _y, _z, _w); + } + reciprocal() { + let _x = 1.0 / dart.notNull(this.x); + let _y = 1.0 / dart.notNull(this.y); + let _z = 1.0 / dart.notNull(this.z); + let _w = 1.0 / dart.notNull(this.w); + return new _native_typed_data.NativeFloat32x4._doubles(_x, _y, _z, _w); + } + reciprocalSqrt() { + let _x = math.sqrt(1.0 / dart.notNull(this.x)); + let _y = math.sqrt(1.0 / dart.notNull(this.y)); + let _z = math.sqrt(1.0 / dart.notNull(this.z)); + let _w = math.sqrt(1.0 / dart.notNull(this.w)); + return new _native_typed_data.NativeFloat32x4._doubles(_x, _y, _z, _w); + } +}; +(_native_typed_data.NativeFloat32x4.new = function(x, y, z, w) { + if (x == null) dart.nullFailed(I[58], 1095, 26, "x"); + if (y == null) dart.nullFailed(I[58], 1095, 36, "y"); + if (z == null) dart.nullFailed(I[58], 1095, 46, "z"); + if (w == null) dart.nullFailed(I[58], 1095, 56, "w"); + this[x$] = core.double.as(_native_typed_data.NativeFloat32x4._truncate(x)); + this[y$] = core.double.as(_native_typed_data.NativeFloat32x4._truncate(y)); + this[z$] = core.double.as(_native_typed_data.NativeFloat32x4._truncate(z)); + this[w$] = core.double.as(_native_typed_data.NativeFloat32x4._truncate(w)); + if (!(typeof x == 'number')) dart.throw(new core.ArgumentError.new(x)); + if (!(typeof y == 'number')) dart.throw(new core.ArgumentError.new(y)); + if (!(typeof z == 'number')) dart.throw(new core.ArgumentError.new(z)); + if (!(typeof w == 'number')) dart.throw(new core.ArgumentError.new(w)); +}).prototype = _native_typed_data.NativeFloat32x4.prototype; +(_native_typed_data.NativeFloat32x4.splat = function(v) { + if (v == null) dart.nullFailed(I[58], 1108, 32, "v"); + _native_typed_data.NativeFloat32x4.new.call(this, v, v, v, v); +}).prototype = _native_typed_data.NativeFloat32x4.prototype; +(_native_typed_data.NativeFloat32x4.zero = function() { + _native_typed_data.NativeFloat32x4._truncated.call(this, 0.0, 0.0, 0.0, 0.0); +}).prototype = _native_typed_data.NativeFloat32x4.prototype; +(_native_typed_data.NativeFloat32x4.fromFloat64x2 = function(v) { + if (v == null) dart.nullFailed(I[58], 1120, 43, "v"); + _native_typed_data.NativeFloat32x4._truncated.call(this, core.double.as(_native_typed_data.NativeFloat32x4._truncate(v.x)), core.double.as(_native_typed_data.NativeFloat32x4._truncate(v.y)), 0.0, 0.0); +}).prototype = _native_typed_data.NativeFloat32x4.prototype; +(_native_typed_data.NativeFloat32x4._doubles = function(x, y, z, w) { + if (x == null) dart.nullFailed(I[58], 1126, 35, "x"); + if (y == null) dart.nullFailed(I[58], 1126, 45, "y"); + if (z == null) dart.nullFailed(I[58], 1126, 55, "z"); + if (w == null) dart.nullFailed(I[58], 1126, 65, "w"); + this[x$] = core.double.as(_native_typed_data.NativeFloat32x4._truncate(x)); + this[y$] = core.double.as(_native_typed_data.NativeFloat32x4._truncate(y)); + this[z$] = core.double.as(_native_typed_data.NativeFloat32x4._truncate(z)); + this[w$] = core.double.as(_native_typed_data.NativeFloat32x4._truncate(w)); + ; +}).prototype = _native_typed_data.NativeFloat32x4.prototype; +(_native_typed_data.NativeFloat32x4._truncated = function(x, y, z, w) { + if (x == null) dart.nullFailed(I[58], 1137, 35, "x"); + if (y == null) dart.nullFailed(I[58], 1137, 43, "y"); + if (z == null) dart.nullFailed(I[58], 1137, 51, "z"); + if (w == null) dart.nullFailed(I[58], 1137, 59, "w"); + this[x$] = x; + this[y$] = y; + this[z$] = z; + this[w$] = w; + ; +}).prototype = _native_typed_data.NativeFloat32x4.prototype; +dart.addTypeTests(_native_typed_data.NativeFloat32x4); +dart.addTypeCaches(_native_typed_data.NativeFloat32x4); +_native_typed_data.NativeFloat32x4[dart.implements] = () => [typed_data.Float32x4]; +dart.setMethodSignature(_native_typed_data.NativeFloat32x4, () => ({ + __proto__: dart.getMethods(_native_typed_data.NativeFloat32x4.__proto__), + '+': dart.fnType(typed_data.Float32x4, [typed_data.Float32x4]), + _negate: dart.fnType(typed_data.Float32x4, []), + '-': dart.fnType(typed_data.Float32x4, [typed_data.Float32x4]), + '*': dart.fnType(typed_data.Float32x4, [typed_data.Float32x4]), + '/': dart.fnType(typed_data.Float32x4, [typed_data.Float32x4]), + lessThan: dart.fnType(typed_data.Int32x4, [typed_data.Float32x4]), + lessThanOrEqual: dart.fnType(typed_data.Int32x4, [typed_data.Float32x4]), + greaterThan: dart.fnType(typed_data.Int32x4, [typed_data.Float32x4]), + greaterThanOrEqual: dart.fnType(typed_data.Int32x4, [typed_data.Float32x4]), + equal: dart.fnType(typed_data.Int32x4, [typed_data.Float32x4]), + notEqual: dart.fnType(typed_data.Int32x4, [typed_data.Float32x4]), + scale: dart.fnType(typed_data.Float32x4, [core.double]), + abs: dart.fnType(typed_data.Float32x4, []), + clamp: dart.fnType(typed_data.Float32x4, [typed_data.Float32x4, typed_data.Float32x4]), + shuffle: dart.fnType(typed_data.Float32x4, [core.int]), + shuffleMix: dart.fnType(typed_data.Float32x4, [typed_data.Float32x4, core.int]), + withX: dart.fnType(typed_data.Float32x4, [core.double]), + withY: dart.fnType(typed_data.Float32x4, [core.double]), + withZ: dart.fnType(typed_data.Float32x4, [core.double]), + withW: dart.fnType(typed_data.Float32x4, [core.double]), + min: dart.fnType(typed_data.Float32x4, [typed_data.Float32x4]), + max: dart.fnType(typed_data.Float32x4, [typed_data.Float32x4]), + sqrt: dart.fnType(typed_data.Float32x4, []), + reciprocal: dart.fnType(typed_data.Float32x4, []), + reciprocalSqrt: dart.fnType(typed_data.Float32x4, []) +})); +dart.setGetterSignature(_native_typed_data.NativeFloat32x4, () => ({ + __proto__: dart.getGetters(_native_typed_data.NativeFloat32x4.__proto__), + signMask: core.int +})); +dart.setLibraryUri(_native_typed_data.NativeFloat32x4, I[59]); +dart.setFieldSignature(_native_typed_data.NativeFloat32x4, () => ({ + __proto__: dart.getFields(_native_typed_data.NativeFloat32x4.__proto__), + x: dart.finalFieldType(core.double), + y: dart.finalFieldType(core.double), + z: dart.finalFieldType(core.double), + w: dart.finalFieldType(core.double) +})); +dart.defineExtensionMethods(_native_typed_data.NativeFloat32x4, ['toString']); +dart.defineLazy(_native_typed_data.NativeFloat32x4, { + /*_native_typed_data.NativeFloat32x4._list*/get _list() { + return _native_typed_data.NativeFloat32List.new(4); + }, + /*_native_typed_data.NativeFloat32x4._uint32view*/get _uint32view() { + return _native_typed_data.NativeFloat32x4._list.buffer[$asUint32List](); + } +}, false); +var x$0 = dart.privateName(_native_typed_data, "NativeInt32x4.x"); +var y$0 = dart.privateName(_native_typed_data, "NativeInt32x4.y"); +var z$0 = dart.privateName(_native_typed_data, "NativeInt32x4.z"); +var w$0 = dart.privateName(_native_typed_data, "NativeInt32x4.w"); +_native_typed_data.NativeInt32x4 = class NativeInt32x4 extends core.Object { + get x() { + return this[x$0]; + } + set x(value) { + super.x = value; + } + get y() { + return this[y$0]; + } + set y(value) { + super.y = value; + } + get z() { + return this[z$0]; + } + set z(value) { + super.z = value; + } + get w() { + return this[w$0]; + } + set w(value) { + super.w = value; + } + static _truncate(x) { + _native_typed_data.NativeInt32x4._list[$_set](0, core.int.as(x)); + return _native_typed_data.NativeInt32x4._list[$_get](0); + } + static fromFloat32x4Bits(f) { + if (f == null) dart.nullFailed(I[58], 1448, 53, "f"); + let floatList = _native_typed_data.NativeFloat32x4._list; + floatList[$_set](0, f.x); + floatList[$_set](1, f.y); + floatList[$_set](2, f.z); + floatList[$_set](3, f.w); + let view = floatList.buffer[$asInt32List](); + return new _native_typed_data.NativeInt32x4._truncated(view[$_get](0), view[$_get](1), view[$_get](2), view[$_get](3)); + } + toString() { + return "[" + dart.str(this.x) + ", " + dart.str(this.y) + ", " + dart.str(this.z) + ", " + dart.str(this.w) + "]"; + } + ['|'](other) { + if (other == null) dart.nullFailed(I[58], 1463, 30, "other"); + return new _native_typed_data.NativeInt32x4._truncated(this.x | other.x, this.y | other.y, this.z | other.z, this.w | other.w); + } + ['&'](other) { + if (other == null) dart.nullFailed(I[58], 1474, 30, "other"); + return new _native_typed_data.NativeInt32x4._truncated(this.x & other.x, this.y & other.y, this.z & other.z, this.w & other.w); + } + ['^'](other) { + if (other == null) dart.nullFailed(I[58], 1485, 30, "other"); + return new _native_typed_data.NativeInt32x4._truncated(this.x ^ other.x, this.y ^ other.y, this.z ^ other.z, this.w ^ other.w); + } + ['+'](other) { + if (other == null) dart.nullFailed(I[58], 1495, 30, "other"); + return new _native_typed_data.NativeInt32x4._truncated(this.x + other.x | 0, this.y + other.y | 0, this.z + other.z | 0, this.w + other.w | 0); + } + ['-'](other) { + if (other == null) dart.nullFailed(I[58], 1504, 30, "other"); + return new _native_typed_data.NativeInt32x4._truncated(this.x - other.x | 0, this.y - other.y | 0, this.z - other.z | 0, this.w - other.w | 0); + } + _negate() { + return new _native_typed_data.NativeInt32x4._truncated(-this.x | 0, -this.y | 0, -this.z | 0, -this.w | 0); + } + get signMask() { + let mx = (dart.notNull(this.x) & 2147483648) >>> 31; + let my = (dart.notNull(this.y) & 2147483648) >>> 31; + let mz = (dart.notNull(this.z) & 2147483648) >>> 31; + let mw = (dart.notNull(this.w) & 2147483648) >>> 31; + return (mx | my << 1 >>> 0 | mz << 2 >>> 0 | mw << 3 >>> 0) >>> 0; + } + shuffle(mask) { + if (mask == null) dart.nullFailed(I[58], 1532, 23, "mask"); + if (dart.notNull(mask) < 0 || dart.notNull(mask) > 255) { + dart.throw(new core.RangeError.range(mask, 0, 255, "mask")); + } + _native_typed_data.NativeInt32x4._list[$_set](0, this.x); + _native_typed_data.NativeInt32x4._list[$_set](1, this.y); + _native_typed_data.NativeInt32x4._list[$_set](2, this.z); + _native_typed_data.NativeInt32x4._list[$_set](3, this.w); + let _x = _native_typed_data.NativeInt32x4._list[$_get](dart.notNull(mask) & 3); + let _y = _native_typed_data.NativeInt32x4._list[$_get](dart.notNull(mask) >> 2 & 3); + let _z = _native_typed_data.NativeInt32x4._list[$_get](dart.notNull(mask) >> 4 & 3); + let _w = _native_typed_data.NativeInt32x4._list[$_get](dart.notNull(mask) >> 6 & 3); + return new _native_typed_data.NativeInt32x4._truncated(_x, _y, _z, _w); + } + shuffleMix(other, mask) { + if (other == null) dart.nullFailed(I[58], 1550, 30, "other"); + if (mask == null) dart.nullFailed(I[58], 1550, 41, "mask"); + if (dart.notNull(mask) < 0 || dart.notNull(mask) > 255) { + dart.throw(new core.RangeError.range(mask, 0, 255, "mask")); + } + _native_typed_data.NativeInt32x4._list[$_set](0, this.x); + _native_typed_data.NativeInt32x4._list[$_set](1, this.y); + _native_typed_data.NativeInt32x4._list[$_set](2, this.z); + _native_typed_data.NativeInt32x4._list[$_set](3, this.w); + let _x = _native_typed_data.NativeInt32x4._list[$_get](dart.notNull(mask) & 3); + let _y = _native_typed_data.NativeInt32x4._list[$_get](dart.notNull(mask) >> 2 & 3); + _native_typed_data.NativeInt32x4._list[$_set](0, other.x); + _native_typed_data.NativeInt32x4._list[$_set](1, other.y); + _native_typed_data.NativeInt32x4._list[$_set](2, other.z); + _native_typed_data.NativeInt32x4._list[$_set](3, other.w); + let _z = _native_typed_data.NativeInt32x4._list[$_get](dart.notNull(mask) >> 4 & 3); + let _w = _native_typed_data.NativeInt32x4._list[$_get](dart.notNull(mask) >> 6 & 3); + return new _native_typed_data.NativeInt32x4._truncated(_x, _y, _z, _w); + } + withX(x) { + if (x == null) dart.nullFailed(I[58], 1571, 21, "x"); + core.ArgumentError.checkNotNull(core.int, x); + let _x = core.int.as(_native_typed_data.NativeInt32x4._truncate(x)); + return new _native_typed_data.NativeInt32x4._truncated(_x, this.y, this.z, this.w); + } + withY(y) { + if (y == null) dart.nullFailed(I[58], 1578, 21, "y"); + core.ArgumentError.checkNotNull(core.int, y); + let _y = core.int.as(_native_typed_data.NativeInt32x4._truncate(y)); + return new _native_typed_data.NativeInt32x4._truncated(this.x, _y, this.z, this.w); + } + withZ(z) { + if (z == null) dart.nullFailed(I[58], 1585, 21, "z"); + core.ArgumentError.checkNotNull(core.int, z); + let _z = core.int.as(_native_typed_data.NativeInt32x4._truncate(z)); + return new _native_typed_data.NativeInt32x4._truncated(this.x, this.y, _z, this.w); + } + withW(w) { + if (w == null) dart.nullFailed(I[58], 1592, 21, "w"); + core.ArgumentError.checkNotNull(core.int, w); + let _w = core.int.as(_native_typed_data.NativeInt32x4._truncate(w)); + return new _native_typed_data.NativeInt32x4._truncated(this.x, this.y, this.z, _w); + } + get flagX() { + return this.x !== 0; + } + get flagY() { + return this.y !== 0; + } + get flagZ() { + return this.z !== 0; + } + get flagW() { + return this.w !== 0; + } + withFlagX(flagX) { + if (flagX == null) dart.nullFailed(I[58], 1611, 26, "flagX"); + let _x = dart.test(flagX) ? -1 : 0; + return new _native_typed_data.NativeInt32x4._truncated(_x, this.y, this.z, this.w); + } + withFlagY(flagY) { + if (flagY == null) dart.nullFailed(I[58], 1617, 26, "flagY"); + let _y = dart.test(flagY) ? -1 : 0; + return new _native_typed_data.NativeInt32x4._truncated(this.x, _y, this.z, this.w); + } + withFlagZ(flagZ) { + if (flagZ == null) dart.nullFailed(I[58], 1623, 26, "flagZ"); + let _z = dart.test(flagZ) ? -1 : 0; + return new _native_typed_data.NativeInt32x4._truncated(this.x, this.y, _z, this.w); + } + withFlagW(flagW) { + if (flagW == null) dart.nullFailed(I[58], 1629, 26, "flagW"); + let _w = dart.test(flagW) ? -1 : 0; + return new _native_typed_data.NativeInt32x4._truncated(this.x, this.y, this.z, _w); + } + select(trueValue, falseValue) { + if (trueValue == null) dart.nullFailed(I[58], 1637, 30, "trueValue"); + if (falseValue == null) dart.nullFailed(I[58], 1637, 51, "falseValue"); + let floatList = _native_typed_data.NativeFloat32x4._list; + let intView = _native_typed_data.NativeFloat32x4._uint32view; + floatList[$_set](0, trueValue.x); + floatList[$_set](1, trueValue.y); + floatList[$_set](2, trueValue.z); + floatList[$_set](3, trueValue.w); + let stx = intView[$_get](0); + let sty = intView[$_get](1); + let stz = intView[$_get](2); + let stw = intView[$_get](3); + floatList[$_set](0, falseValue.x); + floatList[$_set](1, falseValue.y); + floatList[$_set](2, falseValue.z); + floatList[$_set](3, falseValue.w); + let sfx = intView[$_get](0); + let sfy = intView[$_get](1); + let sfz = intView[$_get](2); + let sfw = intView[$_get](3); + let _x = (dart.notNull(this.x) & dart.notNull(stx) | (~dart.notNull(this.x) & dart.notNull(sfx)) >>> 0) >>> 0; + let _y = (dart.notNull(this.y) & dart.notNull(sty) | (~dart.notNull(this.y) & dart.notNull(sfy)) >>> 0) >>> 0; + let _z = (dart.notNull(this.z) & dart.notNull(stz) | (~dart.notNull(this.z) & dart.notNull(sfz)) >>> 0) >>> 0; + let _w = (dart.notNull(this.w) & dart.notNull(stw) | (~dart.notNull(this.w) & dart.notNull(sfw)) >>> 0) >>> 0; + intView[$_set](0, _x); + intView[$_set](1, _y); + intView[$_set](2, _z); + intView[$_set](3, _w); + return new _native_typed_data.NativeFloat32x4._truncated(floatList[$_get](0), floatList[$_get](1), floatList[$_get](2), floatList[$_get](3)); + } +}; +(_native_typed_data.NativeInt32x4.new = function(x, y, z, w) { + if (x == null) dart.nullFailed(I[58], 1430, 21, "x"); + if (y == null) dart.nullFailed(I[58], 1430, 28, "y"); + if (z == null) dart.nullFailed(I[58], 1430, 35, "z"); + if (w == null) dart.nullFailed(I[58], 1430, 42, "w"); + this[x$0] = core.int.as(_native_typed_data.NativeInt32x4._truncate(x)); + this[y$0] = core.int.as(_native_typed_data.NativeInt32x4._truncate(y)); + this[z$0] = core.int.as(_native_typed_data.NativeInt32x4._truncate(z)); + this[w$0] = core.int.as(_native_typed_data.NativeInt32x4._truncate(w)); + if (x != this.x && !core.int.is(x)) dart.throw(new core.ArgumentError.new(x)); + if (y != this.y && !core.int.is(y)) dart.throw(new core.ArgumentError.new(y)); + if (z != this.z && !core.int.is(z)) dart.throw(new core.ArgumentError.new(z)); + if (w != this.w && !core.int.is(w)) dart.throw(new core.ArgumentError.new(w)); +}).prototype = _native_typed_data.NativeInt32x4.prototype; +(_native_typed_data.NativeInt32x4.bool = function(x, y, z, w) { + if (x == null) dart.nullFailed(I[58], 1441, 27, "x"); + if (y == null) dart.nullFailed(I[58], 1441, 35, "y"); + if (z == null) dart.nullFailed(I[58], 1441, 43, "z"); + if (w == null) dart.nullFailed(I[58], 1441, 51, "w"); + this[x$0] = dart.test(x) ? -1 : 0; + this[y$0] = dart.test(y) ? -1 : 0; + this[z$0] = dart.test(z) ? -1 : 0; + this[w$0] = dart.test(w) ? -1 : 0; + ; +}).prototype = _native_typed_data.NativeInt32x4.prototype; +(_native_typed_data.NativeInt32x4._truncated = function(x, y, z, w) { + if (x == null) dart.nullFailed(I[58], 1458, 33, "x"); + if (y == null) dart.nullFailed(I[58], 1458, 41, "y"); + if (z == null) dart.nullFailed(I[58], 1458, 49, "z"); + if (w == null) dart.nullFailed(I[58], 1458, 57, "w"); + this[x$0] = x; + this[y$0] = y; + this[z$0] = z; + this[w$0] = w; + ; +}).prototype = _native_typed_data.NativeInt32x4.prototype; +dart.addTypeTests(_native_typed_data.NativeInt32x4); +dart.addTypeCaches(_native_typed_data.NativeInt32x4); +_native_typed_data.NativeInt32x4[dart.implements] = () => [typed_data.Int32x4]; +dart.setMethodSignature(_native_typed_data.NativeInt32x4, () => ({ + __proto__: dart.getMethods(_native_typed_data.NativeInt32x4.__proto__), + '|': dart.fnType(typed_data.Int32x4, [typed_data.Int32x4]), + '&': dart.fnType(typed_data.Int32x4, [typed_data.Int32x4]), + '^': dart.fnType(typed_data.Int32x4, [typed_data.Int32x4]), + '+': dart.fnType(typed_data.Int32x4, [typed_data.Int32x4]), + '-': dart.fnType(typed_data.Int32x4, [typed_data.Int32x4]), + _negate: dart.fnType(typed_data.Int32x4, []), + shuffle: dart.fnType(typed_data.Int32x4, [core.int]), + shuffleMix: dart.fnType(typed_data.Int32x4, [typed_data.Int32x4, core.int]), + withX: dart.fnType(typed_data.Int32x4, [core.int]), + withY: dart.fnType(typed_data.Int32x4, [core.int]), + withZ: dart.fnType(typed_data.Int32x4, [core.int]), + withW: dart.fnType(typed_data.Int32x4, [core.int]), + withFlagX: dart.fnType(typed_data.Int32x4, [core.bool]), + withFlagY: dart.fnType(typed_data.Int32x4, [core.bool]), + withFlagZ: dart.fnType(typed_data.Int32x4, [core.bool]), + withFlagW: dart.fnType(typed_data.Int32x4, [core.bool]), + select: dart.fnType(typed_data.Float32x4, [typed_data.Float32x4, typed_data.Float32x4]) +})); +dart.setGetterSignature(_native_typed_data.NativeInt32x4, () => ({ + __proto__: dart.getGetters(_native_typed_data.NativeInt32x4.__proto__), + signMask: core.int, + flagX: core.bool, + flagY: core.bool, + flagZ: core.bool, + flagW: core.bool +})); +dart.setLibraryUri(_native_typed_data.NativeInt32x4, I[59]); +dart.setFieldSignature(_native_typed_data.NativeInt32x4, () => ({ + __proto__: dart.getFields(_native_typed_data.NativeInt32x4.__proto__), + x: dart.finalFieldType(core.int), + y: dart.finalFieldType(core.int), + z: dart.finalFieldType(core.int), + w: dart.finalFieldType(core.int) +})); +dart.defineExtensionMethods(_native_typed_data.NativeInt32x4, ['toString']); +dart.defineLazy(_native_typed_data.NativeInt32x4, { + /*_native_typed_data.NativeInt32x4._list*/get _list() { + return _native_typed_data.NativeInt32List.new(4); + } +}, false); +var x$1 = dart.privateName(_native_typed_data, "NativeFloat64x2.x"); +var y$1 = dart.privateName(_native_typed_data, "NativeFloat64x2.y"); +_native_typed_data.NativeFloat64x2 = class NativeFloat64x2 extends core.Object { + get x() { + return this[x$1]; + } + set x(value) { + super.x = value; + } + get y() { + return this[y$1]; + } + set y(value) { + super.y = value; + } + toString() { + return "[" + dart.str(this.x) + ", " + dart.str(this.y) + "]"; + } + ['+'](other) { + if (other == null) dart.nullFailed(I[58], 1695, 34, "other"); + return new _native_typed_data.NativeFloat64x2._doubles(dart.notNull(this.x) + dart.notNull(other.x), dart.notNull(this.y) + dart.notNull(other.y)); + } + _negate() { + return new _native_typed_data.NativeFloat64x2._doubles(-dart.notNull(this.x), -dart.notNull(this.y)); + } + ['-'](other) { + if (other == null) dart.nullFailed(I[58], 1705, 34, "other"); + return new _native_typed_data.NativeFloat64x2._doubles(dart.notNull(this.x) - dart.notNull(other.x), dart.notNull(this.y) - dart.notNull(other.y)); + } + ['*'](other) { + if (other == null) dart.nullFailed(I[58], 1710, 34, "other"); + return new _native_typed_data.NativeFloat64x2._doubles(dart.notNull(this.x) * dart.notNull(other.x), dart.notNull(this.y) * dart.notNull(other.y)); + } + ['/'](other) { + if (other == null) dart.nullFailed(I[58], 1715, 34, "other"); + return new _native_typed_data.NativeFloat64x2._doubles(dart.notNull(this.x) / dart.notNull(other.x), dart.notNull(this.y) / dart.notNull(other.y)); + } + scale(s) { + if (s == null) dart.nullFailed(I[58], 1720, 26, "s"); + return new _native_typed_data.NativeFloat64x2._doubles(dart.notNull(this.x) * dart.notNull(s), dart.notNull(this.y) * dart.notNull(s)); + } + abs() { + return new _native_typed_data.NativeFloat64x2._doubles(this.x[$abs](), this.y[$abs]()); + } + clamp(lowerLimit, upperLimit) { + if (lowerLimit == null) dart.nullFailed(I[58], 1730, 29, "lowerLimit"); + if (upperLimit == null) dart.nullFailed(I[58], 1730, 51, "upperLimit"); + let _lx = lowerLimit.x; + let _ly = lowerLimit.y; + let _ux = upperLimit.x; + let _uy = upperLimit.y; + let _x = this.x; + let _y = this.y; + _x = dart.notNull(_x) > dart.notNull(_ux) ? _ux : _x; + _y = dart.notNull(_y) > dart.notNull(_uy) ? _uy : _y; + _x = dart.notNull(_x) < dart.notNull(_lx) ? _lx : _x; + _y = dart.notNull(_y) < dart.notNull(_ly) ? _ly : _y; + return new _native_typed_data.NativeFloat64x2._doubles(_x, _y); + } + get signMask() { + let view = _native_typed_data.NativeFloat64x2._uint32View; + _native_typed_data.NativeFloat64x2._list[$_set](0, this.x); + _native_typed_data.NativeFloat64x2._list[$_set](1, this.y); + let mx = (dart.notNull(view[$_get](1)) & 2147483648) >>> 31; + let my = (dart.notNull(view[$_get](3)) & 2147483648) >>> 31; + return (mx | my << 1 >>> 0) >>> 0; + } + withX(x) { + if (x == null) dart.nullFailed(I[58], 1756, 26, "x"); + if (!(typeof x == 'number')) dart.throw(new core.ArgumentError.new(x)); + return new _native_typed_data.NativeFloat64x2._doubles(x, this.y); + } + withY(y) { + if (y == null) dart.nullFailed(I[58], 1762, 26, "y"); + if (!(typeof y == 'number')) dart.throw(new core.ArgumentError.new(y)); + return new _native_typed_data.NativeFloat64x2._doubles(this.x, y); + } + min(other) { + if (other == null) dart.nullFailed(I[58], 1768, 27, "other"); + return new _native_typed_data.NativeFloat64x2._doubles(dart.notNull(this.x) < dart.notNull(other.x) ? this.x : other.x, dart.notNull(this.y) < dart.notNull(other.y) ? this.y : other.y); + } + max(other) { + if (other == null) dart.nullFailed(I[58], 1774, 27, "other"); + return new _native_typed_data.NativeFloat64x2._doubles(dart.notNull(this.x) > dart.notNull(other.x) ? this.x : other.x, dart.notNull(this.y) > dart.notNull(other.y) ? this.y : other.y); + } + sqrt() { + return new _native_typed_data.NativeFloat64x2._doubles(math.sqrt(this.x), math.sqrt(this.y)); + } +}; +(_native_typed_data.NativeFloat64x2.new = function(x, y) { + if (x == null) dart.nullFailed(I[58], 1678, 24, "x"); + if (y == null) dart.nullFailed(I[58], 1678, 32, "y"); + this[x$1] = x; + this[y$1] = y; + if (!(typeof this.x == 'number')) dart.throw(new core.ArgumentError.new(this.x)); + if (!(typeof this.y == 'number')) dart.throw(new core.ArgumentError.new(this.y)); +}).prototype = _native_typed_data.NativeFloat64x2.prototype; +(_native_typed_data.NativeFloat64x2.splat = function(v) { + if (v == null) dart.nullFailed(I[58], 1683, 32, "v"); + _native_typed_data.NativeFloat64x2.new.call(this, v, v); +}).prototype = _native_typed_data.NativeFloat64x2.prototype; +(_native_typed_data.NativeFloat64x2.zero = function() { + _native_typed_data.NativeFloat64x2.splat.call(this, 0.0); +}).prototype = _native_typed_data.NativeFloat64x2.prototype; +(_native_typed_data.NativeFloat64x2.fromFloat32x4 = function(v) { + if (v == null) dart.nullFailed(I[58], 1687, 43, "v"); + _native_typed_data.NativeFloat64x2.new.call(this, v.x, v.y); +}).prototype = _native_typed_data.NativeFloat64x2.prototype; +(_native_typed_data.NativeFloat64x2._doubles = function(x, y) { + if (x == null) dart.nullFailed(I[58], 1690, 33, "x"); + if (y == null) dart.nullFailed(I[58], 1690, 41, "y"); + this[x$1] = x; + this[y$1] = y; + ; +}).prototype = _native_typed_data.NativeFloat64x2.prototype; +dart.addTypeTests(_native_typed_data.NativeFloat64x2); +dart.addTypeCaches(_native_typed_data.NativeFloat64x2); +_native_typed_data.NativeFloat64x2[dart.implements] = () => [typed_data.Float64x2]; +dart.setMethodSignature(_native_typed_data.NativeFloat64x2, () => ({ + __proto__: dart.getMethods(_native_typed_data.NativeFloat64x2.__proto__), + '+': dart.fnType(typed_data.Float64x2, [typed_data.Float64x2]), + _negate: dart.fnType(typed_data.Float64x2, []), + '-': dart.fnType(typed_data.Float64x2, [typed_data.Float64x2]), + '*': dart.fnType(typed_data.Float64x2, [typed_data.Float64x2]), + '/': dart.fnType(typed_data.Float64x2, [typed_data.Float64x2]), + scale: dart.fnType(typed_data.Float64x2, [core.double]), + abs: dart.fnType(typed_data.Float64x2, []), + clamp: dart.fnType(typed_data.Float64x2, [typed_data.Float64x2, typed_data.Float64x2]), + withX: dart.fnType(typed_data.Float64x2, [core.double]), + withY: dart.fnType(typed_data.Float64x2, [core.double]), + min: dart.fnType(typed_data.Float64x2, [typed_data.Float64x2]), + max: dart.fnType(typed_data.Float64x2, [typed_data.Float64x2]), + sqrt: dart.fnType(typed_data.Float64x2, []) +})); +dart.setGetterSignature(_native_typed_data.NativeFloat64x2, () => ({ + __proto__: dart.getGetters(_native_typed_data.NativeFloat64x2.__proto__), + signMask: core.int +})); +dart.setLibraryUri(_native_typed_data.NativeFloat64x2, I[59]); +dart.setFieldSignature(_native_typed_data.NativeFloat64x2, () => ({ + __proto__: dart.getFields(_native_typed_data.NativeFloat64x2.__proto__), + x: dart.finalFieldType(core.double), + y: dart.finalFieldType(core.double) +})); +dart.defineExtensionMethods(_native_typed_data.NativeFloat64x2, ['toString']); +dart.defineLazy(_native_typed_data.NativeFloat64x2, { + /*_native_typed_data.NativeFloat64x2._list*/get _list() { + return _native_typed_data.NativeFloat64List.new(2); + }, + set _list(_) {}, + /*_native_typed_data.NativeFloat64x2._uint32View*/get _uint32View() { + return _native_typed_data.NativeFloat64x2._list.buffer[$asUint32List](); + }, + set _uint32View(_) {} +}, false); +_native_typed_data._checkLength = function _checkLength(length) { + if (!core.int.is(length)) dart.throw(new core.ArgumentError.new("Invalid length " + dart.str(length))); + return length; +}; +_native_typed_data._checkViewArguments = function _checkViewArguments(buffer, offsetInBytes, length) { + if (!_native_typed_data.NativeByteBuffer.is(buffer)) { + dart.throw(new core.ArgumentError.new("Invalid view buffer")); + } + if (!core.int.is(offsetInBytes)) { + dart.throw(new core.ArgumentError.new("Invalid view offsetInBytes " + dart.str(offsetInBytes))); + } + if (!T$.intN().is(length)) { + dart.throw(new core.ArgumentError.new("Invalid view length " + dart.str(length))); + } +}; +_native_typed_data._ensureNativeList = function _ensureNativeList(list) { + if (list == null) dart.nullFailed(I[58], 373, 29, "list"); + if (_interceptors.JSIndexable.is(list)) return list; + let result = core.List.filled(list[$length], null); + for (let i = 0; i < dart.notNull(list[$length]); i = i + 1) { + result[$_set](i, list[$_get](i)); + } + return result; +}; +_native_typed_data._isInvalidArrayIndex = function _isInvalidArrayIndex(index) { + if (index == null) dart.nullFailed(I[58], 1787, 31, "index"); + return index >>> 0 !== index; +}; +_native_typed_data._checkValidIndex = function _checkValidIndex(index, list, length) { + if (index == null) dart.nullFailed(I[58], 1794, 27, "index"); + if (list == null) dart.nullFailed(I[58], 1794, 39, "list"); + if (length == null) dart.nullFailed(I[58], 1794, 49, "length"); + if (dart.test(_native_typed_data._isInvalidArrayIndex(index)) || index >= dart.notNull(length)) { + dart.throw(_js_helper.diagnoseIndexError(list, index)); + } +}; +_native_typed_data._checkValidRange = function _checkValidRange(start, end, length) { + if (start == null) dart.nullFailed(I[58], 1807, 26, "start"); + if (length == null) dart.nullFailed(I[58], 1807, 47, "length"); + if (dart.test(_native_typed_data._isInvalidArrayIndex(start)) || (end == null ? dart.notNull(start) > dart.notNull(length) : dart.test(_native_typed_data._isInvalidArrayIndex(end)) || dart.notNull(start) > dart.notNull(end) || dart.notNull(end) > dart.notNull(length))) { + dart.throw(_js_helper.diagnoseRangeError(start, end, length)); + } + if (end == null) return length; + return end; +}; +var ___AsyncStarImpl_controller = dart.privateName(async, "_#_AsyncStarImpl#controller"); +var ___AsyncStarImpl_controller_isSet = dart.privateName(async, "_#_AsyncStarImpl#controller#isSet"); +var ___AsyncStarImpl_jsIterator = dart.privateName(async, "_#_AsyncStarImpl#jsIterator"); +var ___AsyncStarImpl_jsIterator_isSet = dart.privateName(async, "_#_AsyncStarImpl#jsIterator#isSet"); +var _handleErrorCallback = dart.privateName(async, "_handleErrorCallback"); +var _runBodyCallback = dart.privateName(async, "_runBodyCallback"); +var _chainForeignFuture = dart.privateName(async, "_chainForeignFuture"); +var _thenAwait = dart.privateName(async, "_thenAwait"); +var _fatal = dart.privateName(async, "_fatal"); +const _is__AsyncStarImpl_default = Symbol('_is__AsyncStarImpl_default'); +async._AsyncStarImpl$ = dart.generic(T => { + var StreamControllerOfT = () => (StreamControllerOfT = dart.constFn(async.StreamController$(T)))(); + var StreamOfT = () => (StreamOfT = dart.constFn(async.Stream$(T)))(); + class _AsyncStarImpl extends core.Object { + get controller() { + let t83; + return dart.test(this[___AsyncStarImpl_controller_isSet]) ? (t83 = this[___AsyncStarImpl_controller], t83) : dart.throw(new _internal.LateError.fieldNI("controller")); + } + set controller(t83) { + StreamControllerOfT().as(t83); + if (t83 == null) dart.nullFailed(I[61], 229, 28, "null"); + this[___AsyncStarImpl_controller_isSet] = true; + this[___AsyncStarImpl_controller] = t83; + } + get jsIterator() { + let t84; + return dart.test(this[___AsyncStarImpl_jsIterator_isSet]) ? (t84 = this[___AsyncStarImpl_jsIterator], t84) : dart.throw(new _internal.LateError.fieldNI("jsIterator")); + } + set jsIterator(t84) { + if (t84 == null) dart.nullFailed(I[61], 245, 15, "null"); + this[___AsyncStarImpl_jsIterator_isSet] = true; + this[___AsyncStarImpl_jsIterator] = t84; + } + get stream() { + return this.controller.stream; + } + get handleError() { + if (this[_handleErrorCallback] == null) { + this[_handleErrorCallback] = dart.fn((error, stackTrace) => { + if (error == null) dart.nullFailed(I[61], 282, 31, "error"); + if (stackTrace == null) dart.nullFailed(I[61], 282, 49, "stackTrace"); + try { + this.jsIterator.throw(dart.createErrorWithStack(error, stackTrace)); + } catch (e$) { + let e = dart.getThrown(e$); + let newStack = dart.stackTrace(e$); + if (core.Object.is(e)) { + this.addError(e, newStack); + } else + throw e$; + } + }, T$.ObjectAndStackTraceToNull()); + let zone = async.Zone.current; + if (zone != async.Zone.root) { + this[_handleErrorCallback] = zone.bindBinaryCallback(core.Null, core.Object, core.StackTrace, dart.nullCheck(this[_handleErrorCallback])); + } + } + return dart.nullCheck(this[_handleErrorCallback]); + } + scheduleGenerator() { + if (this.isScheduled || dart.test(this.controller.isPaused) || this.isSuspendedAtYieldStar) { + return; + } + this.isScheduled = true; + let zone = async.Zone.current; + if (this[_runBodyCallback] == null) { + this[_runBodyCallback] = this.runBody.bind(this); + if (zone != async.Zone.root) { + let registered = zone.registerUnaryCallback(dart.void, T$.ObjectN(), dart.nullCheck(this[_runBodyCallback])); + this[_runBodyCallback] = dart.fn((arg = null) => zone.runUnaryGuarded(T$.ObjectN(), registered, arg), T$.ObjectNTovoid$1()); + } + } + zone.scheduleMicrotask(dart.nullCheck(this[_runBodyCallback])); + } + runBody(awaitValue) { + this.isScheduled = false; + this.isSuspendedAtYield = false; + this.isSuspendedAtAwait = false; + let iterResult = null; + try { + iterResult = this.jsIterator.next(awaitValue); + } catch (e$) { + let e = dart.getThrown(e$); + let s = dart.stackTrace(e$); + if (core.Object.is(e)) { + this.addError(e, s); + return; + } else + throw e$; + } + if (iterResult.done) { + this.close(); + return; + } + if (this.isSuspendedAtYield || this.isSuspendedAtYieldStar) return; + this.isSuspendedAtAwait = true; + let value = iterResult.value; + let f = null; + if (async._Future.is(value)) { + f = value; + } else if (async.Future.is(value)) { + f = new (T$._FutureOfObjectN()).new(); + f[_chainForeignFuture](value); + } else { + f = new (T$._FutureOfObjectN()).value(value); + } + f[_thenAwait](dart.void, dart.nullCheck(this[_runBodyCallback]), this.handleError); + } + add(event) { + T.as(event); + if (!this.onListenReceived) this[_fatal]("yield before stream is listened to"); + if (this.isSuspendedAtYield) this[_fatal]("unexpected yield"); + if (!dart.test(this.controller.hasListener)) { + return true; + } + this.controller.add(event); + this.scheduleGenerator(); + this.isSuspendedAtYield = true; + return false; + } + addStream(stream) { + StreamOfT().as(stream); + if (stream == null) dart.nullFailed(I[61], 402, 28, "stream"); + if (!this.onListenReceived) this[_fatal]("yield* before stream is listened to"); + if (!dart.test(this.controller.hasListener)) return true; + this.isSuspendedAtYieldStar = true; + let whenDoneAdding = this.controller.addStream(stream, {cancelOnError: false}); + whenDoneAdding.then(core.Null, dart.fn(_ => { + this.isSuspendedAtYieldStar = false; + this.scheduleGenerator(); + if (!this.isScheduled) this.isSuspendedAtYield = true; + }, T$.dynamicToNull()), {onError: this.handleError}); + return false; + } + addError(error, stackTrace) { + if (error == null) dart.nullFailed(I[61], 416, 24, "error"); + if (stackTrace == null) dart.nullFailed(I[61], 416, 42, "stackTrace"); + core.ArgumentError.checkNotNull(core.Object, error, "error"); + let completer = this.cancellationCompleter; + if (completer != null && !dart.test(completer.isCompleted)) { + completer.completeError(error, stackTrace); + } else if (dart.test(this.controller.hasListener)) { + this.controller.addError(error, stackTrace); + } + this.close(); + } + close() { + let completer = this.cancellationCompleter; + if (completer != null && !dart.test(completer.isCompleted)) { + completer.complete(); + } + this.controller.close(); + } + onListen() { + if (!!this.onListenReceived) dart.assertFailed(null, I[61], 444, 12, "!onListenReceived"); + this.onListenReceived = true; + this.scheduleGenerator(); + } + onResume() { + if (this.isSuspendedAtYield) { + this.scheduleGenerator(); + } + } + onCancel() { + if (dart.test(this.controller.isClosed)) { + return null; + } + if (this.cancellationCompleter == null) { + this.cancellationCompleter = async.Completer.new(); + if (this.isSuspendedAtYield) { + this.scheduleGenerator(); + } + } + return dart.nullCheck(this.cancellationCompleter).future; + } + [_fatal](message) { + if (message == null) dart.nullFailed(I[61], 471, 17, "message"); + return dart.throw(new core.StateError.new(message)); + } + } + (_AsyncStarImpl.new = function(initGenerator) { + if (initGenerator == null) dart.nullFailed(I[61], 250, 23, "initGenerator"); + this[___AsyncStarImpl_controller] = null; + this[___AsyncStarImpl_controller_isSet] = false; + this.isSuspendedAtYieldStar = false; + this.onListenReceived = false; + this.isScheduled = false; + this.isSuspendedAtYield = false; + this.isSuspendedAtAwait = false; + this.cancellationCompleter = null; + this[___AsyncStarImpl_jsIterator] = null; + this[___AsyncStarImpl_jsIterator_isSet] = false; + this[_handleErrorCallback] = null; + this[_runBodyCallback] = null; + this.initGenerator = initGenerator; + this.controller = StreamControllerOfT().new({onListen: this.onListen.bind(this), onResume: this.onResume.bind(this), onCancel: this.onCancel.bind(this)}); + this.jsIterator = this.initGenerator(this)[Symbol.iterator](); + }).prototype = _AsyncStarImpl.prototype; + dart.addTypeTests(_AsyncStarImpl); + _AsyncStarImpl.prototype[_is__AsyncStarImpl_default] = true; + dart.addTypeCaches(_AsyncStarImpl); + dart.setMethodSignature(_AsyncStarImpl, () => ({ + __proto__: dart.getMethods(_AsyncStarImpl.__proto__), + scheduleGenerator: dart.fnType(dart.void, []), + runBody: dart.fnType(dart.void, [dart.dynamic]), + add: dart.fnType(core.bool, [dart.nullable(core.Object)]), + addStream: dart.fnType(core.bool, [dart.nullable(core.Object)]), + addError: dart.fnType(dart.void, [core.Object, core.StackTrace]), + close: dart.fnType(dart.void, []), + onListen: dart.fnType(dart.dynamic, []), + onResume: dart.fnType(dart.dynamic, []), + onCancel: dart.fnType(dart.dynamic, []), + [_fatal]: dart.fnType(dart.dynamic, [core.String]) + })); + dart.setGetterSignature(_AsyncStarImpl, () => ({ + __proto__: dart.getGetters(_AsyncStarImpl.__proto__), + controller: async.StreamController$(T), + jsIterator: core.Object, + stream: async.Stream$(T), + handleError: dart.fnType(core.Null, [core.Object, core.StackTrace]) + })); + dart.setSetterSignature(_AsyncStarImpl, () => ({ + __proto__: dart.getSetters(_AsyncStarImpl.__proto__), + controller: dart.nullable(core.Object), + jsIterator: core.Object + })); + dart.setLibraryUri(_AsyncStarImpl, I[29]); + dart.setFieldSignature(_AsyncStarImpl, () => ({ + __proto__: dart.getFields(_AsyncStarImpl.__proto__), + [___AsyncStarImpl_controller]: dart.fieldType(dart.nullable(async.StreamController$(T))), + [___AsyncStarImpl_controller_isSet]: dart.fieldType(core.bool), + initGenerator: dart.fieldType(dart.fnType(core.Object, [async._AsyncStarImpl$(T)])), + isSuspendedAtYieldStar: dart.fieldType(core.bool), + onListenReceived: dart.fieldType(core.bool), + isScheduled: dart.fieldType(core.bool), + isSuspendedAtYield: dart.fieldType(core.bool), + isSuspendedAtAwait: dart.fieldType(core.bool), + cancellationCompleter: dart.fieldType(dart.nullable(async.Completer)), + [___AsyncStarImpl_jsIterator]: dart.fieldType(dart.nullable(core.Object)), + [___AsyncStarImpl_jsIterator_isSet]: dart.fieldType(core.bool), + [_handleErrorCallback]: dart.fieldType(dart.nullable(dart.fnType(core.Null, [core.Object, core.StackTrace]))), + [_runBodyCallback]: dart.fieldType(dart.nullable(dart.fnType(dart.void, [], [dart.nullable(core.Object)]))) + })); + return _AsyncStarImpl; +}); +async._AsyncStarImpl = async._AsyncStarImpl$(); +dart.addTypeTests(async._AsyncStarImpl, _is__AsyncStarImpl_default); +var error$ = dart.privateName(async, "AsyncError.error"); +var stackTrace$ = dart.privateName(async, "AsyncError.stackTrace"); +async.AsyncError = class AsyncError extends core.Object { + get error() { + return this[error$]; + } + set error(value) { + super.error = value; + } + get stackTrace() { + return this[stackTrace$]; + } + set stackTrace(value) { + super.stackTrace = value; + } + static defaultStackTrace(error) { + if (error == null) dart.nullFailed(I[62], 24, 46, "error"); + if (core.Error.is(error)) { + let stackTrace = error[$stackTrace]; + if (stackTrace != null) return stackTrace; + } + return core.StackTrace.empty; + } + toString() { + return dart.str(this.error); + } +}; +(async.AsyncError.new = function(error, stackTrace) { + let t87; + if (error == null) dart.nullFailed(I[62], 15, 21, "error"); + this[error$] = _internal.checkNotNullable(core.Object, error, "error"); + this[stackTrace$] = (t87 = stackTrace, t87 == null ? async.AsyncError.defaultStackTrace(error) : t87); + ; +}).prototype = async.AsyncError.prototype; +dart.addTypeTests(async.AsyncError); +dart.addTypeCaches(async.AsyncError); +async.AsyncError[dart.implements] = () => [core.Error]; +dart.setLibraryUri(async.AsyncError, I[29]); +dart.setFieldSignature(async.AsyncError, () => ({ + __proto__: dart.getFields(async.AsyncError.__proto__), + error: dart.finalFieldType(core.Object), + stackTrace: dart.finalFieldType(core.StackTrace) +})); +dart.defineExtensionMethods(async.AsyncError, ['toString']); +dart.defineExtensionAccessors(async.AsyncError, ['stackTrace']); +var _controller$ = dart.privateName(async, "_controller"); +var _subscribe = dart.privateName(async, "_subscribe"); +var _createSubscription = dart.privateName(async, "_createSubscription"); +var _onListen$ = dart.privateName(async, "_onListen"); +const _is__StreamImpl_default = Symbol('_is__StreamImpl_default'); +async._StreamImpl$ = dart.generic(T => { + var _BufferingStreamSubscriptionOfT = () => (_BufferingStreamSubscriptionOfT = dart.constFn(async._BufferingStreamSubscription$(T)))(); + class _StreamImpl extends async.Stream$(T) { + listen(onData, opts) { + let onError = opts && 'onError' in opts ? opts.onError : null; + let onDone = opts && 'onDone' in opts ? opts.onDone : null; + let cancelOnError = opts && 'cancelOnError' in opts ? opts.cancelOnError : null; + cancelOnError == null ? cancelOnError = false : null; + let subscription = this[_createSubscription](onData, onError, onDone, cancelOnError); + this[_onListen$](subscription); + return subscription; + } + [_createSubscription](onData, onError, onDone, cancelOnError) { + if (cancelOnError == null) dart.nullFailed(I[65], 481, 47, "cancelOnError"); + return new (_BufferingStreamSubscriptionOfT()).new(onData, onError, onDone, cancelOnError); + } + [_onListen$](subscription) { + if (subscription == null) dart.nullFailed(I[65], 487, 37, "subscription"); + } + } + (_StreamImpl.new = function() { + _StreamImpl.__proto__.new.call(this); + ; + }).prototype = _StreamImpl.prototype; + dart.addTypeTests(_StreamImpl); + _StreamImpl.prototype[_is__StreamImpl_default] = true; + dart.addTypeCaches(_StreamImpl); + dart.setMethodSignature(_StreamImpl, () => ({ + __proto__: dart.getMethods(_StreamImpl.__proto__), + listen: dart.fnType(async.StreamSubscription$(T), [dart.nullable(dart.fnType(dart.void, [T]))], {cancelOnError: dart.nullable(core.bool), onDone: dart.nullable(dart.fnType(dart.void, [])), onError: dart.nullable(core.Function)}, {}), + [_createSubscription]: dart.fnType(async.StreamSubscription$(T), [dart.nullable(dart.fnType(dart.void, [T])), dart.nullable(core.Function), dart.nullable(dart.fnType(dart.void, [])), core.bool]), + [_onListen$]: dart.fnType(dart.void, [async.StreamSubscription]) + })); + dart.setLibraryUri(_StreamImpl, I[29]); + return _StreamImpl; +}); +async._StreamImpl = async._StreamImpl$(); +dart.addTypeTests(async._StreamImpl, _is__StreamImpl_default); +const _is__ControllerStream_default = Symbol('_is__ControllerStream_default'); +async._ControllerStream$ = dart.generic(T => { + class _ControllerStream extends async._StreamImpl$(T) { + [_createSubscription](onData, onError, onDone, cancelOnError) { + if (cancelOnError == null) dart.nullFailed(I[64], 785, 51, "cancelOnError"); + return this[_controller$][_subscribe](onData, onError, onDone, cancelOnError); + } + get hashCode() { + return (dart.notNull(dart.hashCode(this[_controller$])) ^ 892482866) >>> 0; + } + _equals(other) { + if (other == null) return false; + if (this === other) return true; + return async._ControllerStream.is(other) && other[_controller$] == this[_controller$]; + } + } + (_ControllerStream.new = function(_controller) { + if (_controller == null) dart.nullFailed(I[64], 782, 26, "_controller"); + this[_controller$] = _controller; + _ControllerStream.__proto__.new.call(this); + ; + }).prototype = _ControllerStream.prototype; + dart.addTypeTests(_ControllerStream); + _ControllerStream.prototype[_is__ControllerStream_default] = true; + dart.addTypeCaches(_ControllerStream); + dart.setLibraryUri(_ControllerStream, I[29]); + dart.setFieldSignature(_ControllerStream, () => ({ + __proto__: dart.getFields(_ControllerStream.__proto__), + [_controller$]: dart.fieldType(async._StreamControllerLifecycle$(T)) + })); + dart.defineExtensionMethods(_ControllerStream, ['_equals']); + dart.defineExtensionAccessors(_ControllerStream, ['hashCode']); + return _ControllerStream; +}); +async._ControllerStream = async._ControllerStream$(); +dart.addTypeTests(async._ControllerStream, _is__ControllerStream_default); +const _is__BroadcastStream_default = Symbol('_is__BroadcastStream_default'); +async._BroadcastStream$ = dart.generic(T => { + class _BroadcastStream extends async._ControllerStream$(T) { + get isBroadcast() { + return true; + } + } + (_BroadcastStream.new = function(controller) { + if (controller == null) dart.nullFailed(I[63], 8, 50, "controller"); + _BroadcastStream.__proto__.new.call(this, controller); + ; + }).prototype = _BroadcastStream.prototype; + dart.addTypeTests(_BroadcastStream); + _BroadcastStream.prototype[_is__BroadcastStream_default] = true; + dart.addTypeCaches(_BroadcastStream); + dart.setLibraryUri(_BroadcastStream, I[29]); + return _BroadcastStream; +}); +async._BroadcastStream = async._BroadcastStream$(); +dart.addTypeTests(async._BroadcastStream, _is__BroadcastStream_default); +var _next$0 = dart.privateName(async, "_BroadcastSubscription._next"); +var _previous$0 = dart.privateName(async, "_BroadcastSubscription._previous"); +var _eventState = dart.privateName(async, "_eventState"); +var _next$1 = dart.privateName(async, "_next"); +var _previous$1 = dart.privateName(async, "_previous"); +var _expectsEvent = dart.privateName(async, "_expectsEvent"); +var _toggleEventId = dart.privateName(async, "_toggleEventId"); +var _isFiring = dart.privateName(async, "_isFiring"); +var _setRemoveAfterFiring = dart.privateName(async, "_setRemoveAfterFiring"); +var _removeAfterFiring = dart.privateName(async, "_removeAfterFiring"); +var _onPause = dart.privateName(async, "_onPause"); +var _onResume = dart.privateName(async, "_onResume"); +var _recordCancel = dart.privateName(async, "_recordCancel"); +var _onCancel = dart.privateName(async, "_onCancel"); +var _recordPause = dart.privateName(async, "_recordPause"); +var _recordResume = dart.privateName(async, "_recordResume"); +var _cancelFuture = dart.privateName(async, "_cancelFuture"); +var _pending$ = dart.privateName(async, "_pending"); +var _zone$ = dart.privateName(async, "_zone"); +var _state = dart.privateName(async, "_state"); +var _onData$ = dart.privateName(async, "_onData"); +var _onError = dart.privateName(async, "_onError"); +var _onDone$ = dart.privateName(async, "_onDone"); +var _setPendingEvents = dart.privateName(async, "_setPendingEvents"); +var _isCanceled = dart.privateName(async, "_isCanceled"); +var _isPaused = dart.privateName(async, "_isPaused"); +var _isInputPaused = dart.privateName(async, "_isInputPaused"); +var _inCallback = dart.privateName(async, "_inCallback"); +var _guardCallback = dart.privateName(async, "_guardCallback"); +var _decrementPauseCount = dart.privateName(async, "_decrementPauseCount"); +var _hasPending = dart.privateName(async, "_hasPending"); +var _mayResumeInput = dart.privateName(async, "_mayResumeInput"); +var _cancel = dart.privateName(async, "_cancel"); +var _isClosed = dart.privateName(async, "_isClosed"); +var _waitsForCancel = dart.privateName(async, "_waitsForCancel"); +var _canFire = dart.privateName(async, "_canFire"); +var _cancelOnError = dart.privateName(async, "_cancelOnError"); +var _sendData = dart.privateName(async, "_sendData"); +var _addPending = dart.privateName(async, "_addPending"); +var _sendError = dart.privateName(async, "_sendError"); +var _sendDone = dart.privateName(async, "_sendDone"); +var _close = dart.privateName(async, "_close"); +var _checkState = dart.privateName(async, "_checkState"); +const _is__BufferingStreamSubscription_default = Symbol('_is__BufferingStreamSubscription_default'); +async._BufferingStreamSubscription$ = dart.generic(T => { + var _PendingEventsOfT = () => (_PendingEventsOfT = dart.constFn(async._PendingEvents$(T)))(); + var _PendingEventsNOfT = () => (_PendingEventsNOfT = dart.constFn(dart.nullable(_PendingEventsOfT())))(); + var _DelayedDataOfT = () => (_DelayedDataOfT = dart.constFn(async._DelayedData$(T)))(); + var _StreamImplEventsOfT = () => (_StreamImplEventsOfT = dart.constFn(async._StreamImplEvents$(T)))(); + var _StreamImplEventsNOfT = () => (_StreamImplEventsNOfT = dart.constFn(dart.nullable(_StreamImplEventsOfT())))(); + class _BufferingStreamSubscription extends core.Object { + [_setPendingEvents](pendingEvents) { + _PendingEventsNOfT().as(pendingEvents); + if (!(this[_pending$] == null)) dart.assertFailed(null, I[65], 117, 12, "_pending == null"); + if (pendingEvents == null) return; + this[_pending$] = pendingEvents; + if (!dart.test(pendingEvents.isEmpty)) { + this[_state] = (dart.notNull(this[_state]) | 64) >>> 0; + pendingEvents.schedule(this); + } + } + onData(handleData) { + this[_onData$] = async._BufferingStreamSubscription._registerDataHandler(T, this[_zone$], handleData); + } + static _registerDataHandler(T, zone, handleData) { + let t87; + if (zone == null) dart.nullFailed(I[65], 133, 12, "zone"); + return zone.registerUnaryCallback(dart.void, T, (t87 = handleData, t87 == null ? C[37] || CT.C37 : t87)); + } + onError(handleError) { + this[_onError] = async._BufferingStreamSubscription._registerErrorHandler(this[_zone$], handleError); + } + static _registerErrorHandler(zone, handleError) { + if (zone == null) dart.nullFailed(I[65], 141, 46, "zone"); + handleError == null ? handleError = C[38] || CT.C38 : null; + if (T$.ObjectAndStackTraceTovoid().is(handleError)) { + return zone.registerBinaryCallback(dart.dynamic, core.Object, core.StackTrace, handleError); + } + if (T$.ObjectTovoid().is(handleError)) { + return zone.registerUnaryCallback(dart.dynamic, core.Object, handleError); + } + dart.throw(new core.ArgumentError.new("handleError callback must take either an Object " + "(the error), or both an Object (the error) and a StackTrace.")); + } + onDone(handleDone) { + this[_onDone$] = async._BufferingStreamSubscription._registerDoneHandler(this[_zone$], handleDone); + } + static _registerDoneHandler(zone, handleDone) { + let t87; + if (zone == null) dart.nullFailed(I[65], 160, 12, "zone"); + return zone.registerCallback(dart.void, (t87 = handleDone, t87 == null ? C[39] || CT.C39 : t87)); + } + pause(resumeSignal = null) { + let t87, t87$; + if (dart.test(this[_isCanceled])) return; + let wasPaused = this[_isPaused]; + let wasInputPaused = this[_isInputPaused]; + this[_state] = (dart.notNull(this[_state]) + 128 | 4) >>> 0; + t87 = resumeSignal; + t87 == null ? null : t87.whenComplete(dart.bind(this, 'resume')); + if (!dart.test(wasPaused)) { + t87$ = this[_pending$]; + t87$ == null ? null : t87$.cancelSchedule(); + } + if (!dart.test(wasInputPaused) && !dart.test(this[_inCallback])) this[_guardCallback](dart.bind(this, _onPause)); + } + resume() { + if (dart.test(this[_isCanceled])) return; + if (dart.test(this[_isPaused])) { + this[_decrementPauseCount](); + if (!dart.test(this[_isPaused])) { + if (dart.test(this[_hasPending]) && !dart.test(dart.nullCheck(this[_pending$]).isEmpty)) { + dart.nullCheck(this[_pending$]).schedule(this); + } else { + if (!dart.test(this[_mayResumeInput])) dart.assertFailed(null, I[65], 184, 18, "_mayResumeInput"); + this[_state] = (dart.notNull(this[_state]) & ~4 >>> 0) >>> 0; + if (!dart.test(this[_inCallback])) this[_guardCallback](dart.bind(this, _onResume)); + } + } + } + } + cancel() { + let t87; + this[_state] = (dart.notNull(this[_state]) & ~16 >>> 0) >>> 0; + if (!dart.test(this[_isCanceled])) { + this[_cancel](); + } + t87 = this[_cancelFuture]; + return t87 == null ? async.Future._nullFuture : t87; + } + asFuture(E, futureValue = null) { + let resultValue = null; + if (futureValue == null) { + if (!dart.test(_internal.typeAcceptsNull(E))) { + dart.throw(new core.ArgumentError.notNull("futureValue")); + } + resultValue = E.as(futureValue); + } else { + resultValue = futureValue; + } + let result = new (async._Future$(E)).new(); + this[_onDone$] = dart.fn(() => { + result[_complete](resultValue); + }, T$.VoidTovoid()); + this[_onError] = dart.fn((error, stackTrace) => { + if (error == null) dart.nullFailed(I[65], 218, 24, "error"); + if (stackTrace == null) dart.nullFailed(I[65], 218, 42, "stackTrace"); + let cancelFuture = this.cancel(); + if (cancelFuture != async.Future._nullFuture) { + cancelFuture.whenComplete(dart.fn(() => { + result[_completeError](error, stackTrace); + }, T$.VoidToNull())); + } else { + result[_completeError](error, stackTrace); + } + }, T$.ObjectAndStackTraceToNull()); + return result; + } + get [_isInputPaused]() { + return (dart.notNull(this[_state]) & 4) !== 0; + } + get [_isClosed]() { + return (dart.notNull(this[_state]) & 2) !== 0; + } + get [_isCanceled]() { + return (dart.notNull(this[_state]) & 8) !== 0; + } + get [_waitsForCancel]() { + return (dart.notNull(this[_state]) & 16) !== 0; + } + get [_inCallback]() { + return (dart.notNull(this[_state]) & 32) !== 0; + } + get [_hasPending]() { + return (dart.notNull(this[_state]) & 64) !== 0; + } + get [_isPaused]() { + return dart.notNull(this[_state]) >= 128; + } + get [_canFire]() { + return dart.notNull(this[_state]) < 32; + } + get [_mayResumeInput]() { + let t87, t87$; + return !dart.test(this[_isPaused]) && dart.test((t87$ = (t87 = this[_pending$], t87 == null ? null : t87.isEmpty), t87$ == null ? true : t87$)); + } + get [_cancelOnError]() { + return (dart.notNull(this[_state]) & 1) !== 0; + } + get isPaused() { + return this[_isPaused]; + } + [_cancel]() { + this[_state] = (dart.notNull(this[_state]) | 8) >>> 0; + if (dart.test(this[_hasPending])) { + dart.nullCheck(this[_pending$]).cancelSchedule(); + } + if (!dart.test(this[_inCallback])) this[_pending$] = null; + this[_cancelFuture] = this[_onCancel](); + } + [_decrementPauseCount]() { + if (!dart.test(this[_isPaused])) dart.assertFailed(null, I[65], 261, 12, "_isPaused"); + this[_state] = dart.notNull(this[_state]) - 128; + } + [_add](data) { + T.as(data); + if (!!dart.test(this[_isClosed])) dart.assertFailed(null, I[65], 268, 12, "!_isClosed"); + if (dart.test(this[_isCanceled])) return; + if (dart.test(this[_canFire])) { + this[_sendData](data); + } else { + this[_addPending](new (_DelayedDataOfT()).new(data)); + } + } + [_addError](error, stackTrace) { + if (error == null) dart.nullFailed(I[65], 277, 25, "error"); + if (stackTrace == null) dart.nullFailed(I[65], 277, 43, "stackTrace"); + if (dart.test(this[_isCanceled])) return; + if (dart.test(this[_canFire])) { + this[_sendError](error, stackTrace); + } else { + this[_addPending](new async._DelayedError.new(error, stackTrace)); + } + } + [_close]() { + if (!!dart.test(this[_isClosed])) dart.assertFailed(null, I[65], 287, 12, "!_isClosed"); + if (dart.test(this[_isCanceled])) return; + this[_state] = (dart.notNull(this[_state]) | 2) >>> 0; + if (dart.test(this[_canFire])) { + this[_sendDone](); + } else { + this[_addPending](C[40] || CT.C40); + } + } + [_onPause]() { + if (!dart.test(this[_isInputPaused])) dart.assertFailed(null, I[65], 302, 12, "_isInputPaused"); + } + [_onResume]() { + if (!!dart.test(this[_isInputPaused])) dart.assertFailed(null, I[65], 306, 12, "!_isInputPaused"); + } + [_onCancel]() { + if (!dart.test(this[_isCanceled])) dart.assertFailed(null, I[65], 310, 12, "_isCanceled"); + return null; + } + [_addPending](event) { + if (event == null) dart.nullFailed(I[65], 320, 34, "event"); + let pending = _StreamImplEventsNOfT().as(this[_pending$]); + pending == null ? pending = new (_StreamImplEventsOfT()).new() : null; + this[_pending$] = pending; + pending.add(event); + if (!dart.test(this[_hasPending])) { + this[_state] = (dart.notNull(this[_state]) | 64) >>> 0; + if (!dart.test(this[_isPaused])) { + pending.schedule(this); + } + } + } + [_sendData](data) { + if (!!dart.test(this[_isCanceled])) dart.assertFailed(null, I[65], 336, 12, "!_isCanceled"); + if (!!dart.test(this[_isPaused])) dart.assertFailed(null, I[65], 337, 12, "!_isPaused"); + if (!!dart.test(this[_inCallback])) dart.assertFailed(null, I[65], 338, 12, "!_inCallback"); + let wasInputPaused = this[_isInputPaused]; + this[_state] = (dart.notNull(this[_state]) | 32) >>> 0; + this[_zone$].runUnaryGuarded(T, this[_onData$], data); + this[_state] = (dart.notNull(this[_state]) & ~32 >>> 0) >>> 0; + this[_checkState](wasInputPaused); + } + [_sendError](error, stackTrace) { + if (error == null) dart.nullFailed(I[65], 346, 26, "error"); + if (stackTrace == null) dart.nullFailed(I[65], 346, 44, "stackTrace"); + if (!!dart.test(this[_isCanceled])) dart.assertFailed(null, I[65], 347, 12, "!_isCanceled"); + if (!!dart.test(this[_isPaused])) dart.assertFailed(null, I[65], 348, 12, "!_isPaused"); + if (!!dart.test(this[_inCallback])) dart.assertFailed(null, I[65], 349, 12, "!_inCallback"); + let wasInputPaused = this[_isInputPaused]; + const sendError = () => { + if (dart.test(this[_isCanceled]) && !dart.test(this[_waitsForCancel])) return; + this[_state] = (dart.notNull(this[_state]) | 32) >>> 0; + let onError = this[_onError]; + if (T$.ObjectAndStackTraceTovoid().is(onError)) { + this[_zone$].runBinaryGuarded(core.Object, core.StackTrace, onError, error, stackTrace); + } else { + this[_zone$].runUnaryGuarded(core.Object, T$.ObjectTovoid().as(this[_onError]), error); + } + this[_state] = (dart.notNull(this[_state]) & ~32 >>> 0) >>> 0; + }; + dart.fn(sendError, T$.VoidTovoid()); + if (dart.test(this[_cancelOnError])) { + this[_state] = (dart.notNull(this[_state]) | 16) >>> 0; + this[_cancel](); + let cancelFuture = this[_cancelFuture]; + if (cancelFuture != null && cancelFuture != async.Future._nullFuture) { + cancelFuture.whenComplete(sendError); + } else { + sendError(); + } + } else { + sendError(); + this[_checkState](wasInputPaused); + } + } + [_sendDone]() { + if (!!dart.test(this[_isCanceled])) dart.assertFailed(null, I[65], 385, 12, "!_isCanceled"); + if (!!dart.test(this[_isPaused])) dart.assertFailed(null, I[65], 386, 12, "!_isPaused"); + if (!!dart.test(this[_inCallback])) dart.assertFailed(null, I[65], 387, 12, "!_inCallback"); + const sendDone = () => { + if (!dart.test(this[_waitsForCancel])) return; + this[_state] = (dart.notNull(this[_state]) | (8 | 2 | 32) >>> 0) >>> 0; + this[_zone$].runGuarded(this[_onDone$]); + this[_state] = (dart.notNull(this[_state]) & ~32 >>> 0) >>> 0; + }; + dart.fn(sendDone, T$.VoidTovoid()); + this[_cancel](); + this[_state] = (dart.notNull(this[_state]) | 16) >>> 0; + let cancelFuture = this[_cancelFuture]; + if (cancelFuture != null && cancelFuture != async.Future._nullFuture) { + cancelFuture.whenComplete(sendDone); + } else { + sendDone(); + } + } + [_guardCallback](callback) { + if (callback == null) dart.nullFailed(I[65], 413, 39, "callback"); + if (!!dart.test(this[_inCallback])) dart.assertFailed(null, I[65], 414, 12, "!_inCallback"); + let wasInputPaused = this[_isInputPaused]; + this[_state] = (dart.notNull(this[_state]) | 32) >>> 0; + callback(); + this[_state] = (dart.notNull(this[_state]) & ~32 >>> 0) >>> 0; + this[_checkState](wasInputPaused); + } + [_checkState](wasInputPaused) { + if (wasInputPaused == null) dart.nullFailed(I[65], 430, 25, "wasInputPaused"); + if (!!dart.test(this[_inCallback])) dart.assertFailed(null, I[65], 431, 12, "!_inCallback"); + if (dart.test(this[_hasPending]) && dart.test(dart.nullCheck(this[_pending$]).isEmpty)) { + this[_state] = (dart.notNull(this[_state]) & ~64 >>> 0) >>> 0; + if (dart.test(this[_isInputPaused]) && dart.test(this[_mayResumeInput])) { + this[_state] = (dart.notNull(this[_state]) & ~4 >>> 0) >>> 0; + } + } + while (true) { + if (dart.test(this[_isCanceled])) { + this[_pending$] = null; + return; + } + let isInputPaused = this[_isInputPaused]; + if (wasInputPaused == isInputPaused) break; + this[_state] = (dart.notNull(this[_state]) ^ 32) >>> 0; + if (dart.test(isInputPaused)) { + this[_onPause](); + } else { + this[_onResume](); + } + this[_state] = (dart.notNull(this[_state]) & ~32 >>> 0) >>> 0; + wasInputPaused = isInputPaused; + } + if (dart.test(this[_hasPending]) && !dart.test(this[_isPaused])) { + dart.nullCheck(this[_pending$]).schedule(this); + } + } + } + (_BufferingStreamSubscription.new = function(onData, onError, onDone, cancelOnError) { + if (cancelOnError == null) dart.nullFailed(I[65], 102, 28, "cancelOnError"); + _BufferingStreamSubscription.zoned.call(this, async.Zone.current, onData, onError, onDone, cancelOnError); + }).prototype = _BufferingStreamSubscription.prototype; + (_BufferingStreamSubscription.zoned = function(_zone, onData, onError, onDone, cancelOnError) { + if (_zone == null) dart.nullFailed(I[65], 105, 43, "_zone"); + if (cancelOnError == null) dart.nullFailed(I[65], 106, 47, "cancelOnError"); + this[_cancelFuture] = null; + this[_pending$] = null; + this[_zone$] = _zone; + this[_state] = dart.test(cancelOnError) ? 1 : 0; + this[_onData$] = async._BufferingStreamSubscription._registerDataHandler(T, _zone, onData); + this[_onError] = async._BufferingStreamSubscription._registerErrorHandler(_zone, onError); + this[_onDone$] = async._BufferingStreamSubscription._registerDoneHandler(_zone, onDone); + ; + }).prototype = _BufferingStreamSubscription.prototype; + _BufferingStreamSubscription.prototype[dart.isStreamSubscription] = true; + dart.addTypeTests(_BufferingStreamSubscription); + _BufferingStreamSubscription.prototype[_is__BufferingStreamSubscription_default] = true; + dart.addTypeCaches(_BufferingStreamSubscription); + _BufferingStreamSubscription[dart.implements] = () => [async.StreamSubscription$(T), async._EventSink$(T), async._EventDispatch$(T)]; + dart.setMethodSignature(_BufferingStreamSubscription, () => ({ + __proto__: dart.getMethods(_BufferingStreamSubscription.__proto__), + [_setPendingEvents]: dart.fnType(dart.void, [dart.nullable(core.Object)]), + onData: dart.fnType(dart.void, [dart.nullable(dart.fnType(dart.void, [T]))]), + onError: dart.fnType(dart.void, [dart.nullable(core.Function)]), + onDone: dart.fnType(dart.void, [dart.nullable(dart.fnType(dart.void, []))]), + pause: dart.fnType(dart.void, [], [dart.nullable(async.Future$(dart.void))]), + resume: dart.fnType(dart.void, []), + cancel: dart.fnType(async.Future, []), + asFuture: dart.gFnType(E => [async.Future$(E), [], [dart.nullable(E)]], E => [dart.nullable(core.Object)]), + [_cancel]: dart.fnType(dart.void, []), + [_decrementPauseCount]: dart.fnType(dart.void, []), + [_add]: dart.fnType(dart.void, [dart.nullable(core.Object)]), + [_addError]: dart.fnType(dart.void, [core.Object, core.StackTrace]), + [_close]: dart.fnType(dart.void, []), + [_onPause]: dart.fnType(dart.void, []), + [_onResume]: dart.fnType(dart.void, []), + [_onCancel]: dart.fnType(dart.nullable(async.Future$(dart.void)), []), + [_addPending]: dart.fnType(dart.void, [async._DelayedEvent]), + [_sendData]: dart.fnType(dart.void, [T]), + [_sendError]: dart.fnType(dart.void, [core.Object, core.StackTrace]), + [_sendDone]: dart.fnType(dart.void, []), + [_guardCallback]: dart.fnType(dart.void, [dart.fnType(dart.void, [])]), + [_checkState]: dart.fnType(dart.void, [core.bool]) + })); + dart.setGetterSignature(_BufferingStreamSubscription, () => ({ + __proto__: dart.getGetters(_BufferingStreamSubscription.__proto__), + [_isInputPaused]: core.bool, + [_isClosed]: core.bool, + [_isCanceled]: core.bool, + [_waitsForCancel]: core.bool, + [_inCallback]: core.bool, + [_hasPending]: core.bool, + [_isPaused]: core.bool, + [_canFire]: core.bool, + [_mayResumeInput]: core.bool, + [_cancelOnError]: core.bool, + isPaused: core.bool + })); + dart.setLibraryUri(_BufferingStreamSubscription, I[29]); + dart.setFieldSignature(_BufferingStreamSubscription, () => ({ + __proto__: dart.getFields(_BufferingStreamSubscription.__proto__), + [_onData$]: dart.fieldType(dart.fnType(dart.void, [T])), + [_onError]: dart.fieldType(core.Function), + [_onDone$]: dart.fieldType(dart.fnType(dart.void, [])), + [_zone$]: dart.finalFieldType(async.Zone), + [_state]: dart.fieldType(core.int), + [_cancelFuture]: dart.fieldType(dart.nullable(async.Future)), + [_pending$]: dart.fieldType(dart.nullable(async._PendingEvents$(T))) + })); + return _BufferingStreamSubscription; +}); +async._BufferingStreamSubscription = async._BufferingStreamSubscription$(); +dart.defineLazy(async._BufferingStreamSubscription, { + /*async._BufferingStreamSubscription._STATE_CANCEL_ON_ERROR*/get _STATE_CANCEL_ON_ERROR() { + return 1; + }, + /*async._BufferingStreamSubscription._STATE_CLOSED*/get _STATE_CLOSED() { + return 2; + }, + /*async._BufferingStreamSubscription._STATE_INPUT_PAUSED*/get _STATE_INPUT_PAUSED() { + return 4; + }, + /*async._BufferingStreamSubscription._STATE_CANCELED*/get _STATE_CANCELED() { + return 8; + }, + /*async._BufferingStreamSubscription._STATE_WAIT_FOR_CANCEL*/get _STATE_WAIT_FOR_CANCEL() { + return 16; + }, + /*async._BufferingStreamSubscription._STATE_IN_CALLBACK*/get _STATE_IN_CALLBACK() { + return 32; + }, + /*async._BufferingStreamSubscription._STATE_HAS_PENDING*/get _STATE_HAS_PENDING() { + return 64; + }, + /*async._BufferingStreamSubscription._STATE_PAUSE_COUNT*/get _STATE_PAUSE_COUNT() { + return 128; + } +}, false); +dart.addTypeTests(async._BufferingStreamSubscription, _is__BufferingStreamSubscription_default); +const _is__ControllerSubscription_default = Symbol('_is__ControllerSubscription_default'); +async._ControllerSubscription$ = dart.generic(T => { + class _ControllerSubscription extends async._BufferingStreamSubscription$(T) { + [_onCancel]() { + return this[_controller$][_recordCancel](this); + } + [_onPause]() { + this[_controller$][_recordPause](this); + } + [_onResume]() { + this[_controller$][_recordResume](this); + } + } + (_ControllerSubscription.new = function(_controller, onData, onError, onDone, cancelOnError) { + if (_controller == null) dart.nullFailed(I[64], 804, 32, "_controller"); + if (cancelOnError == null) dart.nullFailed(I[64], 805, 47, "cancelOnError"); + this[_controller$] = _controller; + _ControllerSubscription.__proto__.new.call(this, onData, onError, onDone, cancelOnError); + ; + }).prototype = _ControllerSubscription.prototype; + dart.addTypeTests(_ControllerSubscription); + _ControllerSubscription.prototype[_is__ControllerSubscription_default] = true; + dart.addTypeCaches(_ControllerSubscription); + dart.setLibraryUri(_ControllerSubscription, I[29]); + dart.setFieldSignature(_ControllerSubscription, () => ({ + __proto__: dart.getFields(_ControllerSubscription.__proto__), + [_controller$]: dart.finalFieldType(async._StreamControllerLifecycle$(T)) + })); + return _ControllerSubscription; +}); +async._ControllerSubscription = async._ControllerSubscription$(); +dart.addTypeTests(async._ControllerSubscription, _is__ControllerSubscription_default); +const _is__BroadcastSubscription_default = Symbol('_is__BroadcastSubscription_default'); +async._BroadcastSubscription$ = dart.generic(T => { + var _BroadcastSubscriptionOfT = () => (_BroadcastSubscriptionOfT = dart.constFn(async._BroadcastSubscription$(T)))(); + var _BroadcastSubscriptionNOfT = () => (_BroadcastSubscriptionNOfT = dart.constFn(dart.nullable(_BroadcastSubscriptionOfT())))(); + class _BroadcastSubscription extends async._ControllerSubscription$(T) { + get [_next$1]() { + return this[_next$0]; + } + set [_next$1](value) { + this[_next$0] = _BroadcastSubscriptionNOfT().as(value); + } + get [_previous$1]() { + return this[_previous$0]; + } + set [_previous$1](value) { + this[_previous$0] = _BroadcastSubscriptionNOfT().as(value); + } + [_expectsEvent](eventId) { + if (eventId == null) dart.nullFailed(I[63], 36, 26, "eventId"); + return (dart.notNull(this[_eventState]) & 1) >>> 0 === eventId; + } + [_toggleEventId]() { + this[_eventState] = (dart.notNull(this[_eventState]) ^ 1) >>> 0; + } + get [_isFiring]() { + return (dart.notNull(this[_eventState]) & 2) !== 0; + } + [_setRemoveAfterFiring]() { + if (!dart.test(this[_isFiring])) dart.assertFailed(null, I[63], 45, 12, "_isFiring"); + this[_eventState] = (dart.notNull(this[_eventState]) | 4) >>> 0; + } + get [_removeAfterFiring]() { + return (dart.notNull(this[_eventState]) & 4) !== 0; + } + [_onPause]() { + } + [_onResume]() { + } + } + (_BroadcastSubscription.new = function(controller, onData, onError, onDone, cancelOnError) { + if (controller == null) dart.nullFailed(I[63], 27, 37, "controller"); + if (cancelOnError == null) dart.nullFailed(I[63], 31, 12, "cancelOnError"); + this[_eventState] = 0; + this[_next$0] = null; + this[_previous$0] = null; + _BroadcastSubscription.__proto__.new.call(this, controller, onData, onError, onDone, cancelOnError); + this[_next$1] = this[_previous$1] = this; + }).prototype = _BroadcastSubscription.prototype; + dart.addTypeTests(_BroadcastSubscription); + _BroadcastSubscription.prototype[_is__BroadcastSubscription_default] = true; + dart.addTypeCaches(_BroadcastSubscription); + dart.setMethodSignature(_BroadcastSubscription, () => ({ + __proto__: dart.getMethods(_BroadcastSubscription.__proto__), + [_expectsEvent]: dart.fnType(core.bool, [core.int]), + [_toggleEventId]: dart.fnType(dart.void, []), + [_setRemoveAfterFiring]: dart.fnType(dart.void, []) + })); + dart.setGetterSignature(_BroadcastSubscription, () => ({ + __proto__: dart.getGetters(_BroadcastSubscription.__proto__), + [_isFiring]: core.bool, + [_removeAfterFiring]: core.bool + })); + dart.setLibraryUri(_BroadcastSubscription, I[29]); + dart.setFieldSignature(_BroadcastSubscription, () => ({ + __proto__: dart.getFields(_BroadcastSubscription.__proto__), + [_eventState]: dart.fieldType(core.int), + [_next$1]: dart.fieldType(dart.nullable(async._BroadcastSubscription$(T))), + [_previous$1]: dart.fieldType(dart.nullable(async._BroadcastSubscription$(T))) + })); + return _BroadcastSubscription; +}); +async._BroadcastSubscription = async._BroadcastSubscription$(); +dart.defineLazy(async._BroadcastSubscription, { + /*async._BroadcastSubscription._STATE_EVENT_ID*/get _STATE_EVENT_ID() { + return 1; + }, + /*async._BroadcastSubscription._STATE_FIRING*/get _STATE_FIRING() { + return 2; + }, + /*async._BroadcastSubscription._STATE_REMOVE_AFTER_FIRING*/get _STATE_REMOVE_AFTER_FIRING() { + return 4; + } +}, false); +dart.addTypeTests(async._BroadcastSubscription, _is__BroadcastSubscription_default); +var _firstSubscription = dart.privateName(async, "_firstSubscription"); +var _lastSubscription = dart.privateName(async, "_lastSubscription"); +var _addStreamState = dart.privateName(async, "_addStreamState"); +var _doneFuture = dart.privateName(async, "_doneFuture"); +var _isEmpty = dart.privateName(async, "_isEmpty"); +var _hasOneListener = dart.privateName(async, "_hasOneListener"); +var _isAddingStream = dart.privateName(async, "_isAddingStream"); +var _mayAddEvent = dart.privateName(async, "_mayAddEvent"); +var _ensureDoneFuture = dart.privateName(async, "_ensureDoneFuture"); +var _addListener = dart.privateName(async, "_addListener"); +var _removeListener = dart.privateName(async, "_removeListener"); +var _callOnCancel = dart.privateName(async, "_callOnCancel"); +var _addEventError = dart.privateName(async, "_addEventError"); +var _forEachListener = dart.privateName(async, "_forEachListener"); +var _mayComplete = dart.privateName(async, "_mayComplete"); +var _asyncComplete = dart.privateName(async, "_asyncComplete"); +const _is__BroadcastStreamController_default = Symbol('_is__BroadcastStreamController_default'); +async._BroadcastStreamController$ = dart.generic(T => { + var _BroadcastStreamOfT = () => (_BroadcastStreamOfT = dart.constFn(async._BroadcastStream$(T)))(); + var _StreamSinkWrapperOfT = () => (_StreamSinkWrapperOfT = dart.constFn(async._StreamSinkWrapper$(T)))(); + var _DoneStreamSubscriptionOfT = () => (_DoneStreamSubscriptionOfT = dart.constFn(async._DoneStreamSubscription$(T)))(); + var _BroadcastSubscriptionOfT = () => (_BroadcastSubscriptionOfT = dart.constFn(async._BroadcastSubscription$(T)))(); + var StreamOfT = () => (StreamOfT = dart.constFn(async.Stream$(T)))(); + var _AddStreamStateOfT = () => (_AddStreamStateOfT = dart.constFn(async._AddStreamState$(T)))(); + class _BroadcastStreamController extends core.Object { + get onPause() { + dart.throw(new core.UnsupportedError.new("Broadcast stream controllers do not support pause callbacks")); + } + set onPause(onPauseHandler) { + dart.throw(new core.UnsupportedError.new("Broadcast stream controllers do not support pause callbacks")); + } + get onResume() { + dart.throw(new core.UnsupportedError.new("Broadcast stream controllers do not support pause callbacks")); + } + set onResume(onResumeHandler) { + dart.throw(new core.UnsupportedError.new("Broadcast stream controllers do not support pause callbacks")); + } + get stream() { + return new (_BroadcastStreamOfT()).new(this); + } + get sink() { + return new (_StreamSinkWrapperOfT()).new(this); + } + get isClosed() { + return (dart.notNull(this[_state]) & 4) !== 0; + } + get isPaused() { + return false; + } + get hasListener() { + return !dart.test(this[_isEmpty]); + } + get [_hasOneListener]() { + if (!!dart.test(this[_isEmpty])) dart.assertFailed(null, I[63], 141, 12, "!_isEmpty"); + return this[_firstSubscription] == this[_lastSubscription]; + } + get [_isFiring]() { + return (dart.notNull(this[_state]) & 2) !== 0; + } + get [_isAddingStream]() { + return (dart.notNull(this[_state]) & 8) !== 0; + } + get [_mayAddEvent]() { + return dart.notNull(this[_state]) < 4; + } + [_ensureDoneFuture]() { + let t87; + t87 = this[_doneFuture]; + return t87 == null ? this[_doneFuture] = new (T$._FutureOfvoid()).new() : t87; + } + get [_isEmpty]() { + return this[_firstSubscription] == null; + } + [_addListener](subscription) { + if (subscription == null) dart.nullFailed(I[63], 159, 47, "subscription"); + if (!(subscription[_next$1] == subscription)) dart.assertFailed(null, I[63], 160, 12, "identical(subscription._next, subscription)"); + subscription[_eventState] = (dart.notNull(this[_state]) & 1) >>> 0; + let oldLast = this[_lastSubscription]; + this[_lastSubscription] = subscription; + subscription[_next$1] = null; + subscription[_previous$1] = oldLast; + if (oldLast == null) { + this[_firstSubscription] = subscription; + } else { + oldLast[_next$1] = subscription; + } + } + [_removeListener](subscription) { + if (subscription == null) dart.nullFailed(I[63], 174, 50, "subscription"); + if (!(subscription[_controller$] === this)) dart.assertFailed(null, I[63], 175, 12, "identical(subscription._controller, this)"); + if (!(subscription[_next$1] != subscription)) dart.assertFailed(null, I[63], 176, 12, "!identical(subscription._next, subscription)"); + let previous = subscription[_previous$1]; + let next = subscription[_next$1]; + if (previous == null) { + this[_firstSubscription] = next; + } else { + previous[_next$1] = next; + } + if (next == null) { + this[_lastSubscription] = previous; + } else { + next[_previous$1] = previous; + } + subscription[_next$1] = subscription[_previous$1] = subscription; + } + [_subscribe](onData, onError, onDone, cancelOnError) { + if (cancelOnError == null) dart.nullFailed(I[63], 198, 28, "cancelOnError"); + if (dart.test(this.isClosed)) { + return new (_DoneStreamSubscriptionOfT()).new(onDone); + } + let subscription = new (_BroadcastSubscriptionOfT()).new(this, onData, onError, onDone, cancelOnError); + this[_addListener](subscription); + if (this[_firstSubscription] == this[_lastSubscription]) { + async._runGuarded(this.onListen); + } + return subscription; + } + [_recordCancel](sub) { + if (sub == null) dart.nullFailed(I[63], 212, 53, "sub"); + let subscription = _BroadcastSubscriptionOfT().as(sub); + if (subscription[_next$1] == subscription) return null; + if (dart.test(subscription[_isFiring])) { + subscription[_setRemoveAfterFiring](); + } else { + this[_removeListener](subscription); + if (!dart.test(this[_isFiring]) && dart.test(this[_isEmpty])) { + this[_callOnCancel](); + } + } + return null; + } + [_recordPause](subscription) { + if (subscription == null) dart.nullFailed(I[63], 229, 43, "subscription"); + } + [_recordResume](subscription) { + if (subscription == null) dart.nullFailed(I[63], 230, 44, "subscription"); + } + [_addEventError]() { + if (dart.test(this.isClosed)) { + return new core.StateError.new("Cannot add new events after calling close"); + } + if (!dart.test(this[_isAddingStream])) dart.assertFailed(null, I[63], 238, 12, "_isAddingStream"); + return new core.StateError.new("Cannot add new events while doing an addStream"); + } + add(data) { + T.as(data); + if (!dart.test(this[_mayAddEvent])) dart.throw(this[_addEventError]()); + this[_sendData](data); + } + addError(error, stackTrace = null) { + if (error == null) dart.nullFailed(I[63], 247, 24, "error"); + _internal.checkNotNullable(core.Object, error, "error"); + if (!dart.test(this[_mayAddEvent])) dart.throw(this[_addEventError]()); + let replacement = async.Zone.current.errorCallback(error, stackTrace); + if (replacement != null) { + error = replacement.error; + stackTrace = replacement.stackTrace; + } else { + stackTrace == null ? stackTrace = async.AsyncError.defaultStackTrace(error) : null; + } + if (stackTrace == null) dart.throw("unreachable"); + this[_sendError](error, stackTrace); + } + close() { + if (dart.test(this.isClosed)) { + if (!(this[_doneFuture] != null)) dart.assertFailed(null, I[63], 263, 14, "_doneFuture != null"); + return dart.nullCheck(this[_doneFuture]); + } + if (!dart.test(this[_mayAddEvent])) dart.throw(this[_addEventError]()); + this[_state] = (dart.notNull(this[_state]) | 4) >>> 0; + let doneFuture = this[_ensureDoneFuture](); + this[_sendDone](); + return doneFuture; + } + get done() { + return this[_ensureDoneFuture](); + } + addStream(stream, opts) { + let t87; + StreamOfT().as(stream); + if (stream == null) dart.nullFailed(I[63], 275, 30, "stream"); + let cancelOnError = opts && 'cancelOnError' in opts ? opts.cancelOnError : null; + if (!dart.test(this[_mayAddEvent])) dart.throw(this[_addEventError]()); + this[_state] = (dart.notNull(this[_state]) | 8) >>> 0; + let addStreamState = new (_AddStreamStateOfT()).new(this, stream, (t87 = cancelOnError, t87 == null ? false : t87)); + this[_addStreamState] = addStreamState; + return addStreamState.addStreamFuture; + } + [_add](data) { + this[_sendData](data); + } + [_addError](error, stackTrace) { + if (error == null) dart.nullFailed(I[63], 289, 25, "error"); + if (stackTrace == null) dart.nullFailed(I[63], 289, 43, "stackTrace"); + this[_sendError](error, stackTrace); + } + [_close]() { + if (!dart.test(this[_isAddingStream])) dart.assertFailed(null, I[63], 294, 12, "_isAddingStream"); + let addState = dart.nullCheck(this[_addStreamState]); + this[_addStreamState] = null; + this[_state] = (dart.notNull(this[_state]) & ~8 >>> 0) >>> 0; + addState.complete(); + } + [_forEachListener](action) { + let t87, t87$; + if (action == null) dart.nullFailed(I[63], 303, 12, "action"); + if (dart.test(this[_isFiring])) { + dart.throw(new core.StateError.new("Cannot fire new event. Controller is already firing an event")); + } + if (dart.test(this[_isEmpty])) return; + let id = (dart.notNull(this[_state]) & 1) >>> 0; + this[_state] = (dart.notNull(this[_state]) ^ (1 | 2) >>> 0) >>> 0; + let subscription = this[_firstSubscription]; + while (subscription != null) { + if (dart.test(subscription[_expectsEvent](id))) { + t87 = subscription; + t87[_eventState] = (dart.notNull(t87[_eventState]) | 2) >>> 0; + action(subscription); + subscription[_toggleEventId](); + let next = subscription[_next$1]; + if (dart.test(subscription[_removeAfterFiring])) { + this[_removeListener](subscription); + } + t87$ = subscription; + t87$[_eventState] = (dart.notNull(t87$[_eventState]) & ~2 >>> 0) >>> 0; + subscription = next; + } else { + subscription = subscription[_next$1]; + } + } + this[_state] = (dart.notNull(this[_state]) & ~2 >>> 0) >>> 0; + if (dart.test(this[_isEmpty])) { + this[_callOnCancel](); + } + } + [_callOnCancel]() { + if (!dart.test(this[_isEmpty])) dart.assertFailed(null, I[63], 343, 12, "_isEmpty"); + if (dart.test(this.isClosed)) { + let doneFuture = dart.nullCheck(this[_doneFuture]); + if (dart.test(doneFuture[_mayComplete])) { + doneFuture[_asyncComplete](null); + } + } + async._runGuarded(this.onCancel); + } + } + (_BroadcastStreamController.new = function(onListen, onCancel) { + this[_firstSubscription] = null; + this[_lastSubscription] = null; + this[_addStreamState] = null; + this[_doneFuture] = null; + this.onListen = onListen; + this.onCancel = onCancel; + this[_state] = 0; + ; + }).prototype = _BroadcastStreamController.prototype; + dart.addTypeTests(_BroadcastStreamController); + _BroadcastStreamController.prototype[_is__BroadcastStreamController_default] = true; + dart.addTypeCaches(_BroadcastStreamController); + _BroadcastStreamController[dart.implements] = () => [async._StreamControllerBase$(T)]; + dart.setMethodSignature(_BroadcastStreamController, () => ({ + __proto__: dart.getMethods(_BroadcastStreamController.__proto__), + [_ensureDoneFuture]: dart.fnType(async._Future$(dart.void), []), + [_addListener]: dart.fnType(dart.void, [async._BroadcastSubscription$(T)]), + [_removeListener]: dart.fnType(dart.void, [async._BroadcastSubscription$(T)]), + [_subscribe]: dart.fnType(async.StreamSubscription$(T), [dart.nullable(dart.fnType(dart.void, [T])), dart.nullable(core.Function), dart.nullable(dart.fnType(dart.void, [])), core.bool]), + [_recordCancel]: dart.fnType(dart.nullable(async.Future$(dart.void)), [async.StreamSubscription$(T)]), + [_recordPause]: dart.fnType(dart.void, [async.StreamSubscription$(T)]), + [_recordResume]: dart.fnType(dart.void, [async.StreamSubscription$(T)]), + [_addEventError]: dart.fnType(core.Error, []), + add: dart.fnType(dart.void, [dart.nullable(core.Object)]), + addError: dart.fnType(dart.void, [core.Object], [dart.nullable(core.StackTrace)]), + close: dart.fnType(async.Future, []), + addStream: dart.fnType(async.Future, [dart.nullable(core.Object)], {cancelOnError: dart.nullable(core.bool)}, {}), + [_add]: dart.fnType(dart.void, [T]), + [_addError]: dart.fnType(dart.void, [core.Object, core.StackTrace]), + [_close]: dart.fnType(dart.void, []), + [_forEachListener]: dart.fnType(dart.void, [dart.fnType(dart.void, [async._BufferingStreamSubscription$(T)])]), + [_callOnCancel]: dart.fnType(dart.void, []) + })); + dart.setGetterSignature(_BroadcastStreamController, () => ({ + __proto__: dart.getGetters(_BroadcastStreamController.__proto__), + onPause: dart.fnType(dart.void, []), + onResume: dart.fnType(dart.void, []), + stream: async.Stream$(T), + sink: async.StreamSink$(T), + isClosed: core.bool, + isPaused: core.bool, + hasListener: core.bool, + [_hasOneListener]: core.bool, + [_isFiring]: core.bool, + [_isAddingStream]: core.bool, + [_mayAddEvent]: core.bool, + [_isEmpty]: core.bool, + done: async.Future$(dart.void) + })); + dart.setSetterSignature(_BroadcastStreamController, () => ({ + __proto__: dart.getSetters(_BroadcastStreamController.__proto__), + onPause: dart.nullable(dart.fnType(dart.void, [])), + onResume: dart.nullable(dart.fnType(dart.void, [])) + })); + dart.setLibraryUri(_BroadcastStreamController, I[29]); + dart.setFieldSignature(_BroadcastStreamController, () => ({ + __proto__: dart.getFields(_BroadcastStreamController.__proto__), + onListen: dart.fieldType(dart.nullable(dart.fnType(dart.void, []))), + onCancel: dart.fieldType(dart.nullable(dart.fnType(dart.void, []))), + [_state]: dart.fieldType(core.int), + [_firstSubscription]: dart.fieldType(dart.nullable(async._BroadcastSubscription$(T))), + [_lastSubscription]: dart.fieldType(dart.nullable(async._BroadcastSubscription$(T))), + [_addStreamState]: dart.fieldType(dart.nullable(async._AddStreamState$(T))), + [_doneFuture]: dart.fieldType(dart.nullable(async._Future$(dart.void))) + })); + return _BroadcastStreamController; +}); +async._BroadcastStreamController = async._BroadcastStreamController$(); +dart.defineLazy(async._BroadcastStreamController, { + /*async._BroadcastStreamController._STATE_INITIAL*/get _STATE_INITIAL() { + return 0; + }, + /*async._BroadcastStreamController._STATE_EVENT_ID*/get _STATE_EVENT_ID() { + return 1; + }, + /*async._BroadcastStreamController._STATE_FIRING*/get _STATE_FIRING() { + return 2; + }, + /*async._BroadcastStreamController._STATE_CLOSED*/get _STATE_CLOSED() { + return 4; + }, + /*async._BroadcastStreamController._STATE_ADDSTREAM*/get _STATE_ADDSTREAM() { + return 8; + } +}, false); +dart.addTypeTests(async._BroadcastStreamController, _is__BroadcastStreamController_default); +const _is__SyncBroadcastStreamController_default = Symbol('_is__SyncBroadcastStreamController_default'); +async._SyncBroadcastStreamController$ = dart.generic(T => { + var _BroadcastSubscriptionOfT = () => (_BroadcastSubscriptionOfT = dart.constFn(async._BroadcastSubscription$(T)))(); + var _BufferingStreamSubscriptionOfT = () => (_BufferingStreamSubscriptionOfT = dart.constFn(async._BufferingStreamSubscription$(T)))(); + var _BufferingStreamSubscriptionOfTTovoid = () => (_BufferingStreamSubscriptionOfTTovoid = dart.constFn(dart.fnType(dart.void, [_BufferingStreamSubscriptionOfT()])))(); + class _SyncBroadcastStreamController extends async._BroadcastStreamController$(T) { + get [_mayAddEvent]() { + return dart.test(super[_mayAddEvent]) && !dart.test(this[_isFiring]); + } + [_addEventError]() { + if (dart.test(this[_isFiring])) { + return new core.StateError.new("Cannot fire new event. Controller is already firing an event"); + } + return super[_addEventError](); + } + [_sendData](data) { + if (dart.test(this[_isEmpty])) return; + if (dart.test(this[_hasOneListener])) { + this[_state] = (dart.notNull(this[_state]) | 2) >>> 0; + let firstSubscription = _BroadcastSubscriptionOfT().as(this[_firstSubscription]); + firstSubscription[_add](data); + this[_state] = (dart.notNull(this[_state]) & ~2 >>> 0) >>> 0; + if (dart.test(this[_isEmpty])) { + this[_callOnCancel](); + } + return; + } + this[_forEachListener](dart.fn(subscription => { + if (subscription == null) dart.nullFailed(I[63], 385, 55, "subscription"); + subscription[_add](data); + }, _BufferingStreamSubscriptionOfTTovoid())); + } + [_sendError](error, stackTrace) { + if (error == null) dart.nullFailed(I[63], 390, 26, "error"); + if (stackTrace == null) dart.nullFailed(I[63], 390, 44, "stackTrace"); + if (dart.test(this[_isEmpty])) return; + this[_forEachListener](dart.fn(subscription => { + if (subscription == null) dart.nullFailed(I[63], 392, 55, "subscription"); + subscription[_addError](error, stackTrace); + }, _BufferingStreamSubscriptionOfTTovoid())); + } + [_sendDone]() { + if (!dart.test(this[_isEmpty])) { + this[_forEachListener](dart.fn(subscription => { + if (subscription == null) dart.nullFailed(I[63], 399, 57, "subscription"); + subscription[_close](); + }, _BufferingStreamSubscriptionOfTTovoid())); + } else { + if (!(this[_doneFuture] != null && dart.test(dart.nullCheck(this[_doneFuture])[_mayComplete]))) dart.assertFailed(null, I[63], 403, 14, "_doneFuture != null && _doneFuture!._mayComplete"); + dart.nullCheck(this[_doneFuture])[_asyncComplete](null); + } + } + } + (_SyncBroadcastStreamController.new = function(onListen, onCancel) { + _SyncBroadcastStreamController.__proto__.new.call(this, onListen, onCancel); + ; + }).prototype = _SyncBroadcastStreamController.prototype; + dart.addTypeTests(_SyncBroadcastStreamController); + _SyncBroadcastStreamController.prototype[_is__SyncBroadcastStreamController_default] = true; + dart.addTypeCaches(_SyncBroadcastStreamController); + _SyncBroadcastStreamController[dart.implements] = () => [async.SynchronousStreamController$(T)]; + dart.setMethodSignature(_SyncBroadcastStreamController, () => ({ + __proto__: dart.getMethods(_SyncBroadcastStreamController.__proto__), + [_sendData]: dart.fnType(dart.void, [T]), + [_sendError]: dart.fnType(dart.void, [core.Object, core.StackTrace]), + [_sendDone]: dart.fnType(dart.void, []) + })); + dart.setLibraryUri(_SyncBroadcastStreamController, I[29]); + return _SyncBroadcastStreamController; +}); +async._SyncBroadcastStreamController = async._SyncBroadcastStreamController$(); +dart.addTypeTests(async._SyncBroadcastStreamController, _is__SyncBroadcastStreamController_default); +const _is__AsyncBroadcastStreamController_default = Symbol('_is__AsyncBroadcastStreamController_default'); +async._AsyncBroadcastStreamController$ = dart.generic(T => { + var _DelayedDataOfT = () => (_DelayedDataOfT = dart.constFn(async._DelayedData$(T)))(); + class _AsyncBroadcastStreamController extends async._BroadcastStreamController$(T) { + [_sendData](data) { + for (let subscription = this[_firstSubscription]; subscription != null; subscription = subscription[_next$1]) { + subscription[_addPending](new (_DelayedDataOfT()).new(data)); + } + } + [_sendError](error, stackTrace) { + if (error == null) dart.nullFailed(I[63], 423, 26, "error"); + if (stackTrace == null) dart.nullFailed(I[63], 423, 44, "stackTrace"); + for (let subscription = this[_firstSubscription]; subscription != null; subscription = subscription[_next$1]) { + subscription[_addPending](new async._DelayedError.new(error, stackTrace)); + } + } + [_sendDone]() { + if (!dart.test(this[_isEmpty])) { + for (let subscription = this[_firstSubscription]; subscription != null; subscription = subscription[_next$1]) { + subscription[_addPending](C[40] || CT.C40); + } + } else { + if (!(this[_doneFuture] != null && dart.test(dart.nullCheck(this[_doneFuture])[_mayComplete]))) dart.assertFailed(null, I[63], 439, 14, "_doneFuture != null && _doneFuture!._mayComplete"); + dart.nullCheck(this[_doneFuture])[_asyncComplete](null); + } + } + } + (_AsyncBroadcastStreamController.new = function(onListen, onCancel) { + _AsyncBroadcastStreamController.__proto__.new.call(this, onListen, onCancel); + ; + }).prototype = _AsyncBroadcastStreamController.prototype; + dart.addTypeTests(_AsyncBroadcastStreamController); + _AsyncBroadcastStreamController.prototype[_is__AsyncBroadcastStreamController_default] = true; + dart.addTypeCaches(_AsyncBroadcastStreamController); + dart.setMethodSignature(_AsyncBroadcastStreamController, () => ({ + __proto__: dart.getMethods(_AsyncBroadcastStreamController.__proto__), + [_sendData]: dart.fnType(dart.void, [T]), + [_sendError]: dart.fnType(dart.void, [core.Object, core.StackTrace]), + [_sendDone]: dart.fnType(dart.void, []) + })); + dart.setLibraryUri(_AsyncBroadcastStreamController, I[29]); + return _AsyncBroadcastStreamController; +}); +async._AsyncBroadcastStreamController = async._AsyncBroadcastStreamController$(); +dart.addTypeTests(async._AsyncBroadcastStreamController, _is__AsyncBroadcastStreamController_default); +var _addPendingEvent = dart.privateName(async, "_addPendingEvent"); +var _flushPending = dart.privateName(async, "_flushPending"); +const _is__AsBroadcastStreamController_default = Symbol('_is__AsBroadcastStreamController_default'); +async._AsBroadcastStreamController$ = dart.generic(T => { + var _StreamImplEventsOfT = () => (_StreamImplEventsOfT = dart.constFn(async._StreamImplEvents$(T)))(); + var _DelayedDataOfT = () => (_DelayedDataOfT = dart.constFn(async._DelayedData$(T)))(); + class _AsBroadcastStreamController extends async._SyncBroadcastStreamController$(T) { + get [_hasPending]() { + let pending = this[_pending$]; + return pending != null && !dart.test(pending.isEmpty); + } + [_addPendingEvent](event) { + let t87; + if (event == null) dart.nullFailed(I[63], 466, 39, "event"); + (t87 = this[_pending$], t87 == null ? this[_pending$] = new (_StreamImplEventsOfT()).new() : t87).add(event); + } + add(data) { + T.as(data); + if (!dart.test(this.isClosed) && dart.test(this[_isFiring])) { + this[_addPendingEvent](new (_DelayedDataOfT()).new(data)); + return; + } + super.add(data); + this[_flushPending](); + } + addError(error, stackTrace = null) { + if (error == null) dart.nullFailed(I[63], 479, 24, "error"); + _internal.checkNotNullable(core.Object, error, "error"); + stackTrace == null ? stackTrace = async.AsyncError.defaultStackTrace(error) : null; + if (!dart.test(this.isClosed) && dart.test(this[_isFiring])) { + this[_addPendingEvent](new async._DelayedError.new(error, stackTrace)); + return; + } + if (!dart.test(this[_mayAddEvent])) dart.throw(this[_addEventError]()); + this[_sendError](error, stackTrace); + this[_flushPending](); + } + [_flushPending]() { + let pending = this[_pending$]; + while (pending != null && !dart.test(pending.isEmpty)) { + pending.handleNext(this); + pending = this[_pending$]; + } + } + close() { + if (!dart.test(this.isClosed) && dart.test(this[_isFiring])) { + this[_addPendingEvent](C[40] || CT.C40); + this[_state] = (dart.notNull(this[_state]) | 4) >>> 0; + return super.done; + } + let result = super.close(); + if (!!dart.test(this[_hasPending])) dart.assertFailed(null, I[63], 506, 12, "!_hasPending"); + return result; + } + [_callOnCancel]() { + let pending = this[_pending$]; + if (pending != null) { + pending.clear(); + this[_pending$] = null; + } + super[_callOnCancel](); + } + } + (_AsBroadcastStreamController.new = function(onListen, onCancel) { + this[_pending$] = null; + _AsBroadcastStreamController.__proto__.new.call(this, onListen, onCancel); + ; + }).prototype = _AsBroadcastStreamController.prototype; + dart.addTypeTests(_AsBroadcastStreamController); + _AsBroadcastStreamController.prototype[_is__AsBroadcastStreamController_default] = true; + dart.addTypeCaches(_AsBroadcastStreamController); + _AsBroadcastStreamController[dart.implements] = () => [async._EventDispatch$(T)]; + dart.setMethodSignature(_AsBroadcastStreamController, () => ({ + __proto__: dart.getMethods(_AsBroadcastStreamController.__proto__), + [_addPendingEvent]: dart.fnType(dart.void, [async._DelayedEvent]), + [_flushPending]: dart.fnType(dart.void, []) + })); + dart.setGetterSignature(_AsBroadcastStreamController, () => ({ + __proto__: dart.getGetters(_AsBroadcastStreamController.__proto__), + [_hasPending]: core.bool + })); + dart.setLibraryUri(_AsBroadcastStreamController, I[29]); + dart.setFieldSignature(_AsBroadcastStreamController, () => ({ + __proto__: dart.getFields(_AsBroadcastStreamController.__proto__), + [_pending$]: dart.fieldType(dart.nullable(async._StreamImplEvents$(T))) + })); + return _AsBroadcastStreamController; +}); +async._AsBroadcastStreamController = async._AsBroadcastStreamController$(); +dart.addTypeTests(async._AsBroadcastStreamController, _is__AsBroadcastStreamController_default); +var libraryName$ = dart.privateName(async, "DeferredLibrary.libraryName"); +var uri$ = dart.privateName(async, "DeferredLibrary.uri"); +async.DeferredLibrary = class DeferredLibrary extends core.Object { + get libraryName() { + return this[libraryName$]; + } + set libraryName(value) { + super.libraryName = value; + } + get uri() { + return this[uri$]; + } + set uri(value) { + super.uri = value; + } + load() { + dart.throw("DeferredLibrary not supported. " + "please use the `import \"lib.dart\" deferred as lib` syntax."); + } +}; +(async.DeferredLibrary.new = function(libraryName, opts) { + if (libraryName == null) dart.nullFailed(I[66], 18, 30, "libraryName"); + let uri = opts && 'uri' in opts ? opts.uri : null; + this[libraryName$] = libraryName; + this[uri$] = uri; + ; +}).prototype = async.DeferredLibrary.prototype; +dart.addTypeTests(async.DeferredLibrary); +dart.addTypeCaches(async.DeferredLibrary); +dart.setMethodSignature(async.DeferredLibrary, () => ({ + __proto__: dart.getMethods(async.DeferredLibrary.__proto__), + load: dart.fnType(async.Future$(core.Null), []) +})); +dart.setLibraryUri(async.DeferredLibrary, I[29]); +dart.setFieldSignature(async.DeferredLibrary, () => ({ + __proto__: dart.getFields(async.DeferredLibrary.__proto__), + libraryName: dart.finalFieldType(core.String), + uri: dart.finalFieldType(dart.nullable(core.String)) +})); +var _s = dart.privateName(async, "_s"); +async.DeferredLoadException = class DeferredLoadException extends core.Object { + toString() { + return "DeferredLoadException: '" + dart.str(this[_s]) + "'"; + } +}; +(async.DeferredLoadException.new = function(message) { + if (message == null) dart.nullFailed(I[66], 29, 32, "message"); + this[_s] = message; + ; +}).prototype = async.DeferredLoadException.prototype; +dart.addTypeTests(async.DeferredLoadException); +dart.addTypeCaches(async.DeferredLoadException); +async.DeferredLoadException[dart.implements] = () => [core.Exception]; +dart.setLibraryUri(async.DeferredLoadException, I[29]); +dart.setFieldSignature(async.DeferredLoadException, () => ({ + __proto__: dart.getFields(async.DeferredLoadException.__proto__), + [_s]: dart.finalFieldType(core.String) +})); +dart.defineExtensionMethods(async.DeferredLoadException, ['toString']); +async.FutureOr$ = dart.normalizeFutureOr(T => { + class FutureOr extends core.Object {} + (FutureOr.__ = function() { + dart.throw(new core.UnsupportedError.new("FutureOr can't be instantiated")); + }).prototype = FutureOr.prototype; + dart.addTypeCaches(FutureOr); + dart.setLibraryUri(FutureOr, I[29]); + return FutureOr; +}); +async.FutureOr = async.FutureOr$(); +var _asyncCompleteError = dart.privateName(async, "_asyncCompleteError"); +var _completeWithValue = dart.privateName(async, "_completeWithValue"); +async.Future$ = dart.generic(T => { + class Future extends core.Object { + static new(computation) { + if (computation == null) dart.nullFailed(I[67], 170, 30, "computation"); + let result = new (async._Future$(T)).new(); + async.Timer.run(dart.fn(() => { + try { + result[_complete](computation()); + } catch (e$) { + let e = dart.getThrown(e$); + let s = dart.stackTrace(e$); + if (core.Object.is(e)) { + async._completeWithErrorCallback(result, e, s); + } else + throw e$; + } + }, T$.VoidTovoid())); + return result; + } + static microtask(computation) { + if (computation == null) dart.nullFailed(I[67], 194, 40, "computation"); + let result = new (async._Future$(T)).new(); + async.scheduleMicrotask(dart.fn(() => { + try { + result[_complete](computation()); + } catch (e$) { + let e = dart.getThrown(e$); + let s = dart.stackTrace(e$); + if (core.Object.is(e)) { + async._completeWithErrorCallback(result, e, s); + } else + throw e$; + } + }, T$.VoidTovoid())); + return result; + } + static sync(computation) { + if (computation == null) dart.nullFailed(I[67], 216, 35, "computation"); + try { + let result = computation(); + if (async.Future$(T).is(result)) { + return result; + } else { + return new (async._Future$(T)).value(T.as(result)); + } + } catch (e) { + let error = dart.getThrown(e); + let stackTrace = dart.stackTrace(e); + if (core.Object.is(error)) { + let future = new (async._Future$(T)).new(); + let replacement = async.Zone.current.errorCallback(error, stackTrace); + if (replacement != null) { + future[_asyncCompleteError](replacement.error, replacement.stackTrace); + } else { + future[_asyncCompleteError](error, stackTrace); + } + return future; + } else + throw e; + } + } + static value(value = null) { + return new (async._Future$(T)).immediate(value == null ? T.as(value) : value); + } + static error(error, stackTrace = null) { + if (error == null) dart.nullFailed(I[67], 267, 31, "error"); + _internal.checkNotNullable(core.Object, error, "error"); + if (async.Zone.current != async._rootZone) { + let replacement = async.Zone.current.errorCallback(error, stackTrace); + if (replacement != null) { + error = replacement.error; + stackTrace = replacement.stackTrace; + } + } + stackTrace == null ? stackTrace = async.AsyncError.defaultStackTrace(error) : null; + return new (async._Future$(T)).immediateError(error, stackTrace); + } + static delayed(duration, computation = null) { + if (duration == null) dart.nullFailed(I[67], 304, 35, "duration"); + if (computation == null && !dart.test(_internal.typeAcceptsNull(T))) { + dart.throw(new core.ArgumentError.value(null, "computation", "The type parameter is not nullable")); + } + let result = new (async._Future$(T)).new(); + async.Timer.new(duration, dart.fn(() => { + if (computation == null) { + result[_complete](T.as(null)); + } else { + try { + result[_complete](computation()); + } catch (e$) { + let e = dart.getThrown(e$); + let s = dart.stackTrace(e$); + if (core.Object.is(e)) { + async._completeWithErrorCallback(result, e, s); + } else + throw e$; + } + } + }, T$.VoidTovoid())); + return result; + } + static wait(T, futures, opts) { + let t101; + if (futures == null) dart.nullFailed(I[67], 352, 54, "futures"); + let eagerError = opts && 'eagerError' in opts ? opts.eagerError : false; + if (eagerError == null) dart.nullFailed(I[67], 353, 13, "eagerError"); + let cleanUp = opts && 'cleanUp' in opts ? opts.cleanUp : null; + let _future = new (async._Future$(core.List$(T))).new(); + let values = null; + let remaining = 0; + let error = null; + let error$35isSet = false; + function error$35get() { + return error$35isSet ? error : dart.throw(new _internal.LateError.localNI("error")); + } + dart.fn(error$35get, T$.VoidToObject()); + function error$35set(t94) { + if (t94 == null) dart.nullFailed(I[67], 359, 17, "null"); + error$35isSet = true; + return error = t94; + } + dart.fn(error$35set, T$.ObjectTodynamic()); + let stackTrace = null; + let stackTrace$35isSet = false; + function stackTrace$35get() { + return stackTrace$35isSet ? stackTrace : dart.throw(new _internal.LateError.localNI("stackTrace")); + } + dart.fn(stackTrace$35get, T$.VoidToStackTrace()); + function stackTrace$35set(t99) { + if (t99 == null) dart.nullFailed(I[67], 360, 21, "null"); + stackTrace$35isSet = true; + return stackTrace = t99; + } + dart.fn(stackTrace$35set, T$.StackTraceTodynamic()); + function handleError(theError, theStackTrace) { + if (theError == null) dart.nullFailed(I[67], 363, 29, "theError"); + if (theStackTrace == null) dart.nullFailed(I[67], 363, 50, "theStackTrace"); + remaining = remaining - 1; + let valueList = values; + if (valueList != null) { + if (cleanUp != null) { + for (let value of valueList) { + if (value != null) { + let cleanUpValue = value; + T$.FutureOfNull().sync(dart.fn(() => { + cleanUp(cleanUpValue); + }, T$.VoidToNull())); + } + } + } + values = null; + if (remaining === 0 || dart.test(eagerError)) { + _future[_completeError](theError, theStackTrace); + } else { + error$35set(theError); + stackTrace$35set(theStackTrace); + } + } else if (remaining === 0 && !dart.test(eagerError)) { + _future[_completeError](error$35get(), stackTrace$35get()); + } + } + dart.fn(handleError, T$.ObjectAndStackTraceTovoid()); + try { + for (let future of futures) { + let pos = remaining; + future.then(core.Null, dart.fn(value => { + remaining = remaining - 1; + let valueList = values; + if (valueList != null) { + valueList[$_set](pos, value); + if (remaining === 0) { + _future[_completeWithValue](core.List$(T).from(valueList)); + } + } else { + if (cleanUp != null && value != null) { + T$.FutureOfNull().sync(dart.fn(() => { + cleanUp(value); + }, T$.VoidToNull())); + } + if (remaining === 0 && !dart.test(eagerError)) { + _future[_completeError](error$35get(), stackTrace$35get()); + } + } + }, dart.fnType(core.Null, [T])), {onError: handleError}); + remaining = remaining + 1; + } + if (remaining === 0) { + t101 = _future; + return (() => { + t101[_completeWithValue](_interceptors.JSArray$(T).of([])); + return t101; + })(); + } + values = core.List$(dart.nullable(T)).filled(remaining, null); + } catch (e$) { + let e = dart.getThrown(e$); + let st = dart.stackTrace(e$); + if (core.Object.is(e)) { + if (remaining === 0 || dart.test(eagerError)) { + return async.Future$(core.List$(T)).error(e, st); + } else { + error$35set(e); + stackTrace$35set(st); + } + } else + throw e$; + } + return _future; + } + static any(T, futures) { + if (futures == null) dart.nullFailed(I[67], 459, 47, "futures"); + let completer = async.Completer$(T).sync(); + function onValue(value) { + if (!dart.test(completer.isCompleted)) completer.complete(value); + } + dart.fn(onValue, dart.fnType(dart.void, [T])); + function onError(error, stack) { + if (error == null) dart.nullFailed(I[67], 465, 25, "error"); + if (stack == null) dart.nullFailed(I[67], 465, 43, "stack"); + if (!dart.test(completer.isCompleted)) completer.completeError(error, stack); + } + dart.fn(onError, T$.ObjectAndStackTraceTovoid()); + for (let future of futures) { + future.then(dart.void, onValue, {onError: onError}); + } + return completer.future; + } + static forEach(T, elements, action) { + if (elements == null) dart.nullFailed(I[67], 491, 40, "elements"); + if (action == null) dart.nullFailed(I[67], 491, 59, "action"); + let iterator = elements[$iterator]; + return async.Future.doWhile(dart.fn(() => { + if (!dart.test(iterator.moveNext())) return false; + let result = action(iterator.current); + if (async.Future.is(result)) return result.then(core.bool, C[41] || CT.C41); + return true; + }, T$.VoidToFutureOrOfbool())); + } + static _kTrue(_) { + return true; + } + static doWhile(action) { + if (action == null) dart.nullFailed(I[67], 524, 40, "action"); + let doneSignal = new (T$._FutureOfvoid()).new(); + let nextIteration = null; + let nextIteration$35isSet = false; + function nextIteration$35get() { + return nextIteration$35isSet ? nextIteration : dart.throw(new _internal.LateError.localNI("nextIteration")); + } + dart.fn(nextIteration$35get, T$.VoidToFn()); + function nextIteration$35set(t105) { + if (t105 == null) dart.nullFailed(I[67], 526, 30, "null"); + nextIteration$35isSet = true; + return nextIteration = t105; + } + dart.fn(nextIteration$35set, T$.FnTodynamic()); + nextIteration$35set(async.Zone.current.bindUnaryCallbackGuarded(core.bool, dart.fn(keepGoing => { + if (keepGoing == null) dart.nullFailed(I[67], 531, 65, "keepGoing"); + while (dart.test(keepGoing)) { + let result = null; + try { + result = action(); + } catch (e) { + let error = dart.getThrown(e); + let stackTrace = dart.stackTrace(e); + if (core.Object.is(error)) { + async._asyncCompleteWithErrorCallback(doneSignal, error, stackTrace); + return; + } else + throw e; + } + if (T$.FutureOfbool().is(result)) { + result.then(dart.void, nextIteration$35get(), {onError: dart.bind(doneSignal, _completeError)}); + return; + } + keepGoing = result; + } + doneSignal[_complete](null); + }, T$.boolTovoid()))); + nextIteration$35get()(true); + return doneSignal; + } + } + (Future[dart.mixinNew] = function() { + }).prototype = Future.prototype; + dart.addTypeTests(Future); + Future.prototype[dart.isFuture] = true; + dart.addTypeCaches(Future); + dart.setLibraryUri(Future, I[29]); + return Future; +}); +async.Future = async.Future$(); +dart.defineLazy(async.Future, { + /*async.Future._nullFuture*/get _nullFuture() { + return T$._FutureOfNull().as(_internal.nullFuture); + }, + /*async.Future._falseFuture*/get _falseFuture() { + return new (T$._FutureOfbool()).zoneValue(false, async._rootZone); + } +}, false); +dart.addTypeTests(async.Future, dart.isFuture); +var message$1 = dart.privateName(async, "TimeoutException.message"); +var duration$ = dart.privateName(async, "TimeoutException.duration"); +async.TimeoutException = class TimeoutException extends core.Object { + get message() { + return this[message$1]; + } + set message(value) { + super.message = value; + } + get duration() { + return this[duration$]; + } + set duration(value) { + super.duration = value; + } + toString() { + let result = "TimeoutException"; + if (this.duration != null) result = "TimeoutException after " + dart.str(this.duration); + if (this.message != null) result = result + ": " + dart.str(this.message); + return result; + } +}; +(async.TimeoutException.new = function(message, duration = null) { + this[message$1] = message; + this[duration$] = duration; + ; +}).prototype = async.TimeoutException.prototype; +dart.addTypeTests(async.TimeoutException); +dart.addTypeCaches(async.TimeoutException); +async.TimeoutException[dart.implements] = () => [core.Exception]; +dart.setLibraryUri(async.TimeoutException, I[29]); +dart.setFieldSignature(async.TimeoutException, () => ({ + __proto__: dart.getFields(async.TimeoutException.__proto__), + message: dart.finalFieldType(dart.nullable(core.String)), + duration: dart.finalFieldType(dart.nullable(core.Duration)) +})); +dart.defineExtensionMethods(async.TimeoutException, ['toString']); +const _is_Completer_default = Symbol('_is_Completer_default'); +async.Completer$ = dart.generic(T => { + class Completer extends core.Object { + static new() { + return new (async._AsyncCompleter$(T)).new(); + } + static sync() { + return new (async._SyncCompleter$(T)).new(); + } + } + (Completer[dart.mixinNew] = function() { + }).prototype = Completer.prototype; + dart.addTypeTests(Completer); + Completer.prototype[_is_Completer_default] = true; + dart.addTypeCaches(Completer); + dart.setLibraryUri(Completer, I[29]); + return Completer; +}); +async.Completer = async.Completer$(); +dart.addTypeTests(async.Completer, _is_Completer_default); +const _is__Completer_default = Symbol('_is__Completer_default'); +async._Completer$ = dart.generic(T => { + var _FutureOfT = () => (_FutureOfT = dart.constFn(async._Future$(T)))(); + class _Completer extends core.Object { + completeError(error, stackTrace = null) { + if (error == null) dart.nullFailed(I[68], 21, 29, "error"); + _internal.checkNotNullable(core.Object, error, "error"); + if (!dart.test(this.future[_mayComplete])) dart.throw(new core.StateError.new("Future already completed")); + let replacement = async.Zone.current.errorCallback(error, stackTrace); + if (replacement != null) { + error = replacement.error; + stackTrace = replacement.stackTrace; + } else { + stackTrace == null ? stackTrace = async.AsyncError.defaultStackTrace(error) : null; + } + if (stackTrace == null) dart.throw("unreachable"); + this[_completeError](error, stackTrace); + } + get isCompleted() { + return !dart.test(this.future[_mayComplete]); + } + } + (_Completer.new = function() { + this.future = new (_FutureOfT()).new(); + ; + }).prototype = _Completer.prototype; + dart.addTypeTests(_Completer); + _Completer.prototype[_is__Completer_default] = true; + dart.addTypeCaches(_Completer); + _Completer[dart.implements] = () => [async.Completer$(T)]; + dart.setMethodSignature(_Completer, () => ({ + __proto__: dart.getMethods(_Completer.__proto__), + completeError: dart.fnType(dart.void, [core.Object], [dart.nullable(core.StackTrace)]) + })); + dart.setGetterSignature(_Completer, () => ({ + __proto__: dart.getGetters(_Completer.__proto__), + isCompleted: core.bool + })); + dart.setLibraryUri(_Completer, I[29]); + dart.setFieldSignature(_Completer, () => ({ + __proto__: dart.getFields(_Completer.__proto__), + future: dart.finalFieldType(async._Future$(T)) + })); + return _Completer; +}); +async._Completer = async._Completer$(); +dart.addTypeTests(async._Completer, _is__Completer_default); +const _is__AsyncCompleter_default = Symbol('_is__AsyncCompleter_default'); +async._AsyncCompleter$ = dart.generic(T => { + var FutureOrOfT = () => (FutureOrOfT = dart.constFn(async.FutureOr$(T)))(); + var FutureOrNOfT = () => (FutureOrNOfT = dart.constFn(dart.nullable(FutureOrOfT())))(); + class _AsyncCompleter extends async._Completer$(T) { + complete(value = null) { + FutureOrNOfT().as(value); + if (!dart.test(this.future[_mayComplete])) dart.throw(new core.StateError.new("Future already completed")); + this.future[_asyncComplete](FutureOrOfT().as(value == null ? value : value)); + } + [_completeError](error, stackTrace) { + if (error == null) dart.nullFailed(I[68], 49, 30, "error"); + if (stackTrace == null) dart.nullFailed(I[68], 49, 48, "stackTrace"); + this.future[_asyncCompleteError](error, stackTrace); + } + } + (_AsyncCompleter.new = function() { + _AsyncCompleter.__proto__.new.call(this); + ; + }).prototype = _AsyncCompleter.prototype; + dart.addTypeTests(_AsyncCompleter); + _AsyncCompleter.prototype[_is__AsyncCompleter_default] = true; + dart.addTypeCaches(_AsyncCompleter); + dart.setMethodSignature(_AsyncCompleter, () => ({ + __proto__: dart.getMethods(_AsyncCompleter.__proto__), + complete: dart.fnType(dart.void, [], [dart.nullable(core.Object)]), + [_completeError]: dart.fnType(dart.void, [core.Object, core.StackTrace]) + })); + dart.setLibraryUri(_AsyncCompleter, I[29]); + return _AsyncCompleter; +}); +async._AsyncCompleter = async._AsyncCompleter$(); +dart.addTypeTests(async._AsyncCompleter, _is__AsyncCompleter_default); +const _is__SyncCompleter_default = Symbol('_is__SyncCompleter_default'); +async._SyncCompleter$ = dart.generic(T => { + var FutureOrOfT = () => (FutureOrOfT = dart.constFn(async.FutureOr$(T)))(); + var FutureOrNOfT = () => (FutureOrNOfT = dart.constFn(dart.nullable(FutureOrOfT())))(); + class _SyncCompleter extends async._Completer$(T) { + complete(value = null) { + FutureOrNOfT().as(value); + if (!dart.test(this.future[_mayComplete])) dart.throw(new core.StateError.new("Future already completed")); + this.future[_complete](FutureOrOfT().as(value == null ? value : value)); + } + [_completeError](error, stackTrace) { + if (error == null) dart.nullFailed(I[68], 60, 30, "error"); + if (stackTrace == null) dart.nullFailed(I[68], 60, 48, "stackTrace"); + this.future[_completeError](error, stackTrace); + } + } + (_SyncCompleter.new = function() { + _SyncCompleter.__proto__.new.call(this); + ; + }).prototype = _SyncCompleter.prototype; + dart.addTypeTests(_SyncCompleter); + _SyncCompleter.prototype[_is__SyncCompleter_default] = true; + dart.addTypeCaches(_SyncCompleter); + dart.setMethodSignature(_SyncCompleter, () => ({ + __proto__: dart.getMethods(_SyncCompleter.__proto__), + complete: dart.fnType(dart.void, [], [dart.nullable(core.Object)]), + [_completeError]: dart.fnType(dart.void, [core.Object, core.StackTrace]) + })); + dart.setLibraryUri(_SyncCompleter, I[29]); + return _SyncCompleter; +}); +async._SyncCompleter = async._SyncCompleter$(); +dart.addTypeTests(async._SyncCompleter, _is__SyncCompleter_default); +var _nextListener = dart.privateName(async, "_nextListener"); +var _onValue = dart.privateName(async, "_onValue"); +var _errorTest = dart.privateName(async, "_errorTest"); +var _whenCompleteAction = dart.privateName(async, "_whenCompleteAction"); +const _is__FutureListener_default = Symbol('_is__FutureListener_default'); +async._FutureListener$ = dart.generic((S, T) => { + var SToFutureOrOfT = () => (SToFutureOrOfT = dart.constFn(dart.fnType(FutureOrOfT(), [S])))(); + var FutureOrOfT = () => (FutureOrOfT = dart.constFn(async.FutureOr$(T)))(); + var FutureOfT = () => (FutureOfT = dart.constFn(async.Future$(T)))(); + class _FutureListener extends core.Object { + get [_zone$]() { + return this.result[_zone$]; + } + get handlesValue() { + return (dart.notNull(this.state) & 1) !== 0; + } + get handlesError() { + return (dart.notNull(this.state) & 2) !== 0; + } + get hasErrorTest() { + return (dart.notNull(this.state) & 15) >>> 0 === 6; + } + get handlesComplete() { + return (dart.notNull(this.state) & 15) >>> 0 === 8; + } + get isAwait() { + return (dart.notNull(this.state) & 16) !== 0; + } + get [_onValue]() { + if (!dart.test(this.handlesValue)) dart.assertFailed(null, I[68], 128, 12, "handlesValue"); + return SToFutureOrOfT().as(this.callback); + } + get [_onError]() { + return this.errorCallback; + } + get [_errorTest]() { + if (!dart.test(this.hasErrorTest)) dart.assertFailed(null, I[68], 135, 12, "hasErrorTest"); + return T$.ObjectTobool().as(this.callback); + } + get [_whenCompleteAction]() { + if (!dart.test(this.handlesComplete)) dart.assertFailed(null, I[68], 140, 12, "handlesComplete"); + return T$.VoidTodynamic().as(this.callback); + } + get hasErrorCallback() { + if (!dart.test(this.handlesError)) dart.assertFailed(null, I[68], 148, 12, "handlesError"); + return this[_onError] != null; + } + handleValue(sourceResult) { + S.as(sourceResult); + return this[_zone$].runUnary(FutureOrOfT(), S, this[_onValue], sourceResult); + } + matchesErrorTest(asyncError) { + if (asyncError == null) dart.nullFailed(I[68], 158, 36, "asyncError"); + if (!dart.test(this.hasErrorTest)) return true; + return this[_zone$].runUnary(core.bool, core.Object, this[_errorTest], asyncError.error); + } + handleError(asyncError) { + if (asyncError == null) dart.nullFailed(I[68], 163, 38, "asyncError"); + if (!(dart.test(this.handlesError) && dart.test(this.hasErrorCallback))) dart.assertFailed(null, I[68], 164, 12, "handlesError && hasErrorCallback"); + let errorCallback = this.errorCallback; + if (T$.ObjectAndStackTraceTodynamic().is(errorCallback)) { + return FutureOrOfT().as(this[_zone$].runBinary(dart.dynamic, core.Object, core.StackTrace, errorCallback, asyncError.error, asyncError.stackTrace)); + } else { + return FutureOrOfT().as(this[_zone$].runUnary(dart.dynamic, core.Object, T$.ObjectTodynamic().as(errorCallback), asyncError.error)); + } + } + handleWhenComplete() { + if (!!dart.test(this.handlesError)) dart.assertFailed(null, I[68], 178, 12, "!handlesError"); + return this[_zone$].run(dart.dynamic, this[_whenCompleteAction]); + } + shouldChain(value) { + if (value == null) dart.nullFailed(I[68], 185, 36, "value"); + return FutureOfT().is(value) || !T.is(value); + } + } + (_FutureListener.then = function(result, onValue, errorCallback) { + if (result == null) dart.nullFailed(I[68], 100, 12, "result"); + if (onValue == null) dart.nullFailed(I[68], 100, 44, "onValue"); + this[_nextListener] = null; + this.result = result; + this.callback = onValue; + this.errorCallback = errorCallback; + this.state = errorCallback == null ? 1 : 3; + ; + }).prototype = _FutureListener.prototype; + (_FutureListener.thenAwait = function(result, onValue, errorCallback) { + if (result == null) dart.nullFailed(I[68], 106, 12, "result"); + if (onValue == null) dart.nullFailed(I[68], 106, 41, "onValue"); + if (errorCallback == null) dart.nullFailed(I[68], 106, 59, "errorCallback"); + this[_nextListener] = null; + this.result = result; + this.callback = onValue; + this.errorCallback = errorCallback; + this.state = ((errorCallback == null ? 1 : 3) | 16) >>> 0; + ; + }).prototype = _FutureListener.prototype; + (_FutureListener.catchError = function(result, errorCallback, callback) { + if (result == null) dart.nullFailed(I[68], 112, 35, "result"); + this[_nextListener] = null; + this.result = result; + this.errorCallback = errorCallback; + this.callback = callback; + this.state = callback == null ? 2 : 6; + ; + }).prototype = _FutureListener.prototype; + (_FutureListener.whenComplete = function(result, callback) { + if (result == null) dart.nullFailed(I[68], 115, 37, "result"); + this[_nextListener] = null; + this.result = result; + this.callback = callback; + this.errorCallback = null; + this.state = 8; + ; + }).prototype = _FutureListener.prototype; + dart.addTypeTests(_FutureListener); + _FutureListener.prototype[_is__FutureListener_default] = true; + dart.addTypeCaches(_FutureListener); + dart.setMethodSignature(_FutureListener, () => ({ + __proto__: dart.getMethods(_FutureListener.__proto__), + handleValue: dart.fnType(async.FutureOr$(T), [dart.nullable(core.Object)]), + matchesErrorTest: dart.fnType(core.bool, [async.AsyncError]), + handleError: dart.fnType(async.FutureOr$(T), [async.AsyncError]), + handleWhenComplete: dart.fnType(dart.dynamic, []), + shouldChain: dart.fnType(core.bool, [async.Future]) + })); + dart.setGetterSignature(_FutureListener, () => ({ + __proto__: dart.getGetters(_FutureListener.__proto__), + [_zone$]: async._Zone, + handlesValue: core.bool, + handlesError: core.bool, + hasErrorTest: core.bool, + handlesComplete: core.bool, + isAwait: core.bool, + [_onValue]: dart.fnType(async.FutureOr$(T), [S]), + [_onError]: dart.nullable(core.Function), + [_errorTest]: dart.fnType(core.bool, [core.Object]), + [_whenCompleteAction]: dart.fnType(dart.dynamic, []), + hasErrorCallback: core.bool + })); + dart.setLibraryUri(_FutureListener, I[29]); + dart.setFieldSignature(_FutureListener, () => ({ + __proto__: dart.getFields(_FutureListener.__proto__), + [_nextListener]: dart.fieldType(dart.nullable(async._FutureListener)), + result: dart.finalFieldType(async._Future$(T)), + state: dart.finalFieldType(core.int), + callback: dart.finalFieldType(dart.nullable(core.Function)), + errorCallback: dart.finalFieldType(dart.nullable(core.Function)) + })); + return _FutureListener; +}); +async._FutureListener = async._FutureListener$(); +dart.defineLazy(async._FutureListener, { + /*async._FutureListener.maskValue*/get maskValue() { + return 1; + }, + /*async._FutureListener.maskError*/get maskError() { + return 2; + }, + /*async._FutureListener.maskTestError*/get maskTestError() { + return 4; + }, + /*async._FutureListener.maskWhenComplete*/get maskWhenComplete() { + return 8; + }, + /*async._FutureListener.stateChain*/get stateChain() { + return 0; + }, + /*async._FutureListener.stateThen*/get stateThen() { + return 1; + }, + /*async._FutureListener.stateThenOnerror*/get stateThenOnerror() { + return 3; + }, + /*async._FutureListener.stateCatchError*/get stateCatchError() { + return 2; + }, + /*async._FutureListener.stateCatchErrorTest*/get stateCatchErrorTest() { + return 6; + }, + /*async._FutureListener.stateWhenComplete*/get stateWhenComplete() { + return 8; + }, + /*async._FutureListener.maskType*/get maskType() { + return 15; + }, + /*async._FutureListener.stateIsAwait*/get stateIsAwait() { + return 16; + } +}, false); +dart.addTypeTests(async._FutureListener, _is__FutureListener_default); +var _resultOrListeners = dart.privateName(async, "_resultOrListeners"); +var _setValue = dart.privateName(async, "_setValue"); +var _isPendingComplete = dart.privateName(async, "_isPendingComplete"); +var _mayAddListener = dart.privateName(async, "_mayAddListener"); +var _isChained = dart.privateName(async, "_isChained"); +var _isComplete = dart.privateName(async, "_isComplete"); +var _hasError = dart.privateName(async, "_hasError"); +var _setChained = dart.privateName(async, "_setChained"); +var _setPendingComplete = dart.privateName(async, "_setPendingComplete"); +var _clearPendingComplete = dart.privateName(async, "_clearPendingComplete"); +var _error = dart.privateName(async, "_error"); +var _chainSource = dart.privateName(async, "_chainSource"); +var _setErrorObject = dart.privateName(async, "_setErrorObject"); +var _setError = dart.privateName(async, "_setError"); +var _cloneResult = dart.privateName(async, "_cloneResult"); +var _prependListeners = dart.privateName(async, "_prependListeners"); +var _reverseListeners = dart.privateName(async, "_reverseListeners"); +var _removeListeners = dart.privateName(async, "_removeListeners"); +var _chainFuture = dart.privateName(async, "_chainFuture"); +var _asyncCompleteWithValue = dart.privateName(async, "_asyncCompleteWithValue"); +const _is__Future_default = Symbol('_is__Future_default'); +async._Future$ = dart.generic(T => { + var _FutureOfT = () => (_FutureOfT = dart.constFn(async._Future$(T)))(); + var _FutureListenerOfT$T = () => (_FutureListenerOfT$T = dart.constFn(async._FutureListener$(T, T)))(); + var StreamOfT = () => (StreamOfT = dart.constFn(async.Stream$(T)))(); + var FutureOrOfT = () => (FutureOrOfT = dart.constFn(async.FutureOr$(T)))(); + var FutureOfT = () => (FutureOfT = dart.constFn(async.Future$(T)))(); + var VoidToFutureOrOfT = () => (VoidToFutureOrOfT = dart.constFn(dart.fnType(FutureOrOfT(), [])))(); + var VoidToNFutureOrOfT = () => (VoidToNFutureOrOfT = dart.constFn(dart.nullable(VoidToFutureOrOfT())))(); + var TToNull = () => (TToNull = dart.constFn(dart.fnType(core.Null, [T])))(); + class _Future extends core.Object { + get [_mayComplete]() { + return this[_state] === 0; + } + get [_isPendingComplete]() { + return this[_state] === 1; + } + get [_mayAddListener]() { + return dart.notNull(this[_state]) <= 1; + } + get [_isChained]() { + return this[_state] === 2; + } + get [_isComplete]() { + return dart.notNull(this[_state]) >= 4; + } + get [_hasError]() { + return this[_state] === 8; + } + static _continuationFunctions(future) { + let t108; + if (future == null) dart.nullFailed(I[68], 263, 65, "future"); + let result = null; + while (true) { + if (dart.test(future[_mayAddListener])) return result; + if (!!dart.test(future[_isComplete])) dart.assertFailed(null, I[68], 267, 14, "!future._isComplete"); + if (!!dart.test(future[_isChained])) dart.assertFailed(null, I[68], 268, 14, "!future._isChained"); + let listener = T$._FutureListenerNOfObject$Object().as(future[_resultOrListeners]); + if (listener != null && listener[_nextListener] == null && dart.test(listener.isAwait)) { + (t108 = result, t108 == null ? result = T$.JSArrayOfFunction().of([]) : t108)[$add](dart.bind(listener, 'handleValue')); + future = listener.result; + if (!!dart.test(future[_isComplete])) dart.assertFailed(null, I[68], 276, 16, "!future._isComplete"); + } else { + break; + } + } + return result; + } + [_setChained](source) { + if (source == null) dart.nullFailed(I[68], 284, 28, "source"); + if (!dart.test(this[_mayAddListener])) dart.assertFailed(null, I[68], 285, 12, "_mayAddListener"); + this[_state] = 2; + this[_resultOrListeners] = source; + } + then(R, f, opts) { + if (f == null) dart.nullFailed(I[68], 290, 33, "f"); + let onError = opts && 'onError' in opts ? opts.onError : null; + let currentZone = async.Zone.current; + if (currentZone != async._rootZone) { + f = currentZone.registerUnaryCallback(async.FutureOr$(R), T, f); + if (onError != null) { + onError = async._registerErrorHandler(onError, currentZone); + } + } + let result = new (async._Future$(R)).new(); + this[_addListener](new (async._FutureListener$(T, R)).then(result, f, onError)); + return result; + } + [_thenAwait](E, f, onError) { + if (f == null) dart.nullFailed(I[68], 312, 39, "f"); + if (onError == null) dart.nullFailed(I[68], 312, 60, "onError"); + let result = new (async._Future$(E)).new(); + this[_addListener](new (async._FutureListener$(T, E)).thenAwait(result, f, onError)); + return result; + } + catchError(onError, opts) { + if (onError == null) dart.nullFailed(I[68], 318, 33, "onError"); + let test = opts && 'test' in opts ? opts.test : null; + let result = new (_FutureOfT()).new(); + if (result[_zone$] != async._rootZone) { + onError = async._registerErrorHandler(onError, result[_zone$]); + if (test != null) test = result[_zone$].registerUnaryCallback(core.bool, core.Object, test); + } + this[_addListener](new (_FutureListenerOfT$T()).catchError(result, onError, test)); + return result; + } + whenComplete(action) { + if (action == null) dart.nullFailed(I[68], 328, 34, "action"); + let result = new (_FutureOfT()).new(); + if (result[_zone$] != async._rootZone) { + action = result[_zone$].registerCallback(dart.dynamic, action); + } + this[_addListener](new (_FutureListenerOfT$T()).whenComplete(result, action)); + return result; + } + asStream() { + return StreamOfT().fromFuture(this); + } + [_setPendingComplete]() { + if (!dart.test(this[_mayComplete])) dart.assertFailed(null, I[68], 340, 12, "_mayComplete"); + this[_state] = 1; + } + [_clearPendingComplete]() { + if (!dart.test(this[_isPendingComplete])) dart.assertFailed(null, I[68], 345, 12, "_isPendingComplete"); + this[_state] = 0; + } + get [_error]() { + if (!dart.test(this[_hasError])) dart.assertFailed(null, I[68], 350, 12, "_hasError"); + return async.AsyncError.as(this[_resultOrListeners]); + } + get [_chainSource]() { + if (!dart.test(this[_isChained])) dart.assertFailed(null, I[68], 355, 12, "_isChained"); + return async._Future.as(this[_resultOrListeners]); + } + [_setValue](value) { + T.as(value); + if (!!dart.test(this[_isComplete])) dart.assertFailed(null, I[68], 361, 12, "!_isComplete"); + this[_state] = 4; + this[_resultOrListeners] = value; + } + [_setErrorObject](error) { + if (error == null) dart.nullFailed(I[68], 366, 35, "error"); + if (!!dart.test(this[_isComplete])) dart.assertFailed(null, I[68], 367, 12, "!_isComplete"); + this[_state] = 8; + this[_resultOrListeners] = error; + } + [_setError](error, stackTrace) { + if (error == null) dart.nullFailed(I[68], 372, 25, "error"); + if (stackTrace == null) dart.nullFailed(I[68], 372, 43, "stackTrace"); + this[_setErrorObject](new async.AsyncError.new(error, stackTrace)); + } + [_cloneResult](source) { + if (source == null) dart.nullFailed(I[68], 379, 29, "source"); + if (!!dart.test(this[_isComplete])) dart.assertFailed(null, I[68], 380, 12, "!_isComplete"); + if (!dart.test(source[_isComplete])) dart.assertFailed(null, I[68], 381, 12, "source._isComplete"); + this[_state] = source[_state]; + this[_resultOrListeners] = source[_resultOrListeners]; + } + [_addListener](listener) { + if (listener == null) dart.nullFailed(I[68], 386, 37, "listener"); + if (!(listener[_nextListener] == null)) dart.assertFailed(null, I[68], 387, 12, "listener._nextListener == null"); + if (dart.test(this[_mayAddListener])) { + listener[_nextListener] = T$._FutureListenerN().as(this[_resultOrListeners]); + this[_resultOrListeners] = listener; + } else { + if (dart.test(this[_isChained])) { + let source = this[_chainSource]; + if (!dart.test(source[_isComplete])) { + source[_addListener](listener); + return; + } + this[_cloneResult](source); + } + if (!dart.test(this[_isComplete])) dart.assertFailed(null, I[68], 403, 14, "_isComplete"); + this[_zone$].scheduleMicrotask(dart.fn(() => { + async._Future._propagateToListeners(this, listener); + }, T$.VoidTovoid())); + } + } + [_prependListeners](listeners) { + if (listeners == null) return; + if (dart.test(this[_mayAddListener])) { + let existingListeners = T$._FutureListenerN().as(this[_resultOrListeners]); + this[_resultOrListeners] = listeners; + if (existingListeners != null) { + let cursor = listeners; + let next = cursor[_nextListener]; + while (next != null) { + cursor = next; + next = cursor[_nextListener]; + } + cursor[_nextListener] = existingListeners; + } + } else { + if (dart.test(this[_isChained])) { + let source = this[_chainSource]; + if (!dart.test(source[_isComplete])) { + source[_prependListeners](listeners); + return; + } + this[_cloneResult](source); + } + if (!dart.test(this[_isComplete])) dart.assertFailed(null, I[68], 437, 14, "_isComplete"); + listeners = this[_reverseListeners](listeners); + this[_zone$].scheduleMicrotask(dart.fn(() => { + async._Future._propagateToListeners(this, listeners); + }, T$.VoidTovoid())); + } + } + [_removeListeners]() { + if (!!dart.test(this[_isComplete])) dart.assertFailed(null, I[68], 448, 12, "!_isComplete"); + let current = T$._FutureListenerN().as(this[_resultOrListeners]); + this[_resultOrListeners] = null; + return this[_reverseListeners](current); + } + [_reverseListeners](listeners) { + let prev = null; + let current = listeners; + while (current != null) { + let next = current[_nextListener]; + current[_nextListener] = prev; + prev = current; + current = next; + } + return prev; + } + [_chainForeignFuture](source) { + if (source == null) dart.nullFailed(I[68], 470, 35, "source"); + if (!!dart.test(this[_isComplete])) dart.assertFailed(null, I[68], 471, 12, "!_isComplete"); + if (!!async._Future.is(source)) dart.assertFailed(null, I[68], 472, 12, "source is! _Future"); + this[_setPendingComplete](); + try { + source.then(core.Null, dart.fn(value => { + if (!dart.test(this[_isPendingComplete])) dart.assertFailed(null, I[68], 478, 16, "_isPendingComplete"); + this[_clearPendingComplete](); + try { + this[_completeWithValue](T.as(value)); + } catch (e) { + let error = dart.getThrown(e); + let stackTrace = dart.stackTrace(e); + if (core.Object.is(error)) { + this[_completeError](error, stackTrace); + } else + throw e; + } + }, T$.dynamicToNull()), {onError: dart.fn((error, stackTrace) => { + if (error == null) dart.nullFailed(I[68], 485, 27, "error"); + if (stackTrace == null) dart.nullFailed(I[68], 485, 45, "stackTrace"); + if (!dart.test(this[_isPendingComplete])) dart.assertFailed(null, I[68], 486, 16, "_isPendingComplete"); + this[_completeError](error, stackTrace); + }, T$.ObjectAndStackTraceToNull())}); + } catch (e$) { + let e = dart.getThrown(e$); + let s = dart.stackTrace(e$); + if (core.Object.is(e)) { + async.scheduleMicrotask(dart.fn(() => { + this[_completeError](e, s); + }, T$.VoidTovoid())); + } else + throw e$; + } + } + static _chainCoreFuture(source, target) { + if (source == null) dart.nullFailed(I[68], 502, 40, "source"); + if (target == null) dart.nullFailed(I[68], 502, 56, "target"); + if (!dart.test(target[_mayAddListener])) dart.assertFailed(null, I[68], 503, 12, "target._mayAddListener"); + while (dart.test(source[_isChained])) { + source = source[_chainSource]; + } + if (dart.test(source[_isComplete])) { + let listeners = target[_removeListeners](); + target[_cloneResult](source); + async._Future._propagateToListeners(target, listeners); + } else { + let listeners = T$._FutureListenerN().as(target[_resultOrListeners]); + target[_setChained](source); + source[_prependListeners](listeners); + } + } + [_complete](value) { + FutureOrOfT().as(value); + if (!!dart.test(this[_isComplete])) dart.assertFailed(null, I[68], 519, 12, "!_isComplete"); + if (FutureOfT().is(value)) { + if (_FutureOfT().is(value)) { + async._Future._chainCoreFuture(value, this); + } else { + this[_chainForeignFuture](value); + } + } else { + let listeners = this[_removeListeners](); + this[_setValue](T.as(value)); + async._Future._propagateToListeners(this, listeners); + } + } + [_completeWithValue](value) { + T.as(value); + if (!!dart.test(this[_isComplete])) dart.assertFailed(null, I[68], 538, 12, "!_isComplete"); + let listeners = this[_removeListeners](); + this[_setValue](value); + async._Future._propagateToListeners(this, listeners); + } + [_completeError](error, stackTrace) { + if (error == null) dart.nullFailed(I[68], 545, 30, "error"); + if (stackTrace == null) dart.nullFailed(I[68], 545, 48, "stackTrace"); + if (!!dart.test(this[_isComplete])) dart.assertFailed(null, I[68], 546, 12, "!_isComplete"); + let listeners = this[_removeListeners](); + this[_setError](error, stackTrace); + async._Future._propagateToListeners(this, listeners); + } + [_asyncComplete](value) { + FutureOrOfT().as(value); + if (!!dart.test(this[_isComplete])) dart.assertFailed(null, I[68], 554, 12, "!_isComplete"); + if (FutureOfT().is(value)) { + this[_chainFuture](value); + return; + } + this[_asyncCompleteWithValue](T.as(value)); + } + [_asyncCompleteWithValue](value) { + T.as(value); + this[_setPendingComplete](); + this[_zone$].scheduleMicrotask(dart.fn(() => { + this[_completeWithValue](value); + }, T$.VoidTovoid())); + } + [_chainFuture](value) { + if (value == null) dart.nullFailed(I[68], 584, 31, "value"); + if (_FutureOfT().is(value)) { + if (dart.test(value[_hasError])) { + this[_setPendingComplete](); + this[_zone$].scheduleMicrotask(dart.fn(() => { + async._Future._chainCoreFuture(value, this); + }, T$.VoidTovoid())); + } else { + async._Future._chainCoreFuture(value, this); + } + return; + } + this[_chainForeignFuture](value); + } + [_asyncCompleteError](error, stackTrace) { + if (error == null) dart.nullFailed(I[68], 601, 35, "error"); + if (stackTrace == null) dart.nullFailed(I[68], 601, 53, "stackTrace"); + if (!!dart.test(this[_isComplete])) dart.assertFailed(null, I[68], 602, 12, "!_isComplete"); + this[_setPendingComplete](); + this[_zone$].scheduleMicrotask(dart.fn(() => { + this[_completeError](error, stackTrace); + }, T$.VoidTovoid())); + } + static _propagateToListeners(source, listeners) { + if (source == null) dart.nullFailed(I[68], 613, 15, "source"); + while (true) { + if (!dart.test(source[_isComplete])) dart.assertFailed(null, I[68], 615, 14, "source._isComplete"); + let hasError = source[_hasError]; + if (listeners == null) { + if (dart.test(hasError)) { + let asyncError = source[_error]; + source[_zone$].handleUncaughtError(asyncError.error, asyncError.stackTrace); + } + return; + } + let listener = listeners; + let nextListener = listener[_nextListener]; + while (nextListener != null) { + listener[_nextListener] = null; + async._Future._propagateToListeners(source, listener); + listener = nextListener; + nextListener = listener[_nextListener]; + } + let sourceResult = source[_resultOrListeners]; + let listenerHasError = hasError; + let listenerValueOrError = sourceResult; + if (dart.test(hasError) || dart.test(listener.handlesValue) || dart.test(listener.handlesComplete)) { + let zone = listener[_zone$]; + if (dart.test(hasError) && !dart.test(source[_zone$].inSameErrorZone(zone))) { + let asyncError = source[_error]; + source[_zone$].handleUncaughtError(asyncError.error, asyncError.stackTrace); + return; + } + let oldZone = null; + if (async.Zone._current != zone) { + oldZone = async.Zone._enter(zone); + } + function handleWhenCompleteCallback() { + if (!!dart.test(listener.handlesValue)) dart.assertFailed(null, I[68], 673, 18, "!listener.handlesValue"); + if (!!dart.test(listener.handlesError)) dart.assertFailed(null, I[68], 674, 18, "!listener.handlesError"); + let completeResult = null; + try { + completeResult = listener.handleWhenComplete(); + } catch (e$) { + let e = dart.getThrown(e$); + let s = dart.stackTrace(e$); + if (core.Object.is(e)) { + if (dart.test(hasError) && core.identical(source[_error].error, e)) { + listenerValueOrError = source[_error]; + } else { + listenerValueOrError = new async.AsyncError.new(e, s); + } + listenerHasError = true; + return; + } else + throw e$; + } + if (async._Future.is(completeResult) && dart.test(completeResult[_isComplete])) { + if (dart.test(completeResult[_hasError])) { + listenerValueOrError = completeResult[_error]; + listenerHasError = true; + } + return; + } + if (async.Future.is(completeResult)) { + let originalSource = source; + listenerValueOrError = completeResult.then(dart.dynamic, dart.fn(_ => originalSource, T$.dynamicTo_Future())); + listenerHasError = false; + } + } + dart.fn(handleWhenCompleteCallback, T$.VoidTovoid()); + function handleValueCallback() { + try { + listenerValueOrError = listener.handleValue(sourceResult); + } catch (e$) { + let e = dart.getThrown(e$); + let s = dart.stackTrace(e$); + if (core.Object.is(e)) { + listenerValueOrError = new async.AsyncError.new(e, s); + listenerHasError = true; + } else + throw e$; + } + } + dart.fn(handleValueCallback, T$.VoidTovoid()); + function handleError() { + try { + let asyncError = source[_error]; + if (dart.test(listener.matchesErrorTest(asyncError)) && dart.test(listener.hasErrorCallback)) { + listenerValueOrError = listener.handleError(asyncError); + listenerHasError = false; + } + } catch (e$) { + let e = dart.getThrown(e$); + let s = dart.stackTrace(e$); + if (core.Object.is(e)) { + if (core.identical(source[_error].error, e)) { + listenerValueOrError = source[_error]; + } else { + listenerValueOrError = new async.AsyncError.new(e, s); + } + listenerHasError = true; + } else + throw e$; + } + } + dart.fn(handleError, T$.VoidTovoid()); + if (dart.test(listener.handlesComplete)) { + handleWhenCompleteCallback(); + } else if (!dart.test(hasError)) { + if (dart.test(listener.handlesValue)) { + handleValueCallback(); + } + } else { + if (dart.test(listener.handlesError)) { + handleError(); + } + } + if (oldZone != null) async.Zone._leave(oldZone); + if (async.Future.is(listenerValueOrError) && dart.test(listener.shouldChain(async.Future.as(listenerValueOrError)))) { + let chainSource = async.Future.as(listenerValueOrError); + let result = listener.result; + if (async._Future.is(chainSource)) { + if (dart.test(chainSource[_isComplete])) { + listeners = result[_removeListeners](); + result[_cloneResult](chainSource); + source = chainSource; + continue; + } else { + async._Future._chainCoreFuture(chainSource, result); + } + } else { + result[_chainForeignFuture](chainSource); + } + return; + } + } + let result = listener.result; + listeners = result[_removeListeners](); + if (!dart.test(listenerHasError)) { + result[_setValue](listenerValueOrError); + } else { + let asyncError = async.AsyncError.as(listenerValueOrError); + result[_setErrorObject](asyncError); + } + source = result; + } + } + timeout(timeLimit, opts) { + if (timeLimit == null) dart.nullFailed(I[68], 786, 30, "timeLimit"); + let onTimeout = opts && 'onTimeout' in opts ? opts.onTimeout : null; + VoidToNFutureOrOfT().as(onTimeout); + if (dart.test(this[_isComplete])) return new (_FutureOfT()).immediate(this); + let _future = new (_FutureOfT()).new(); + let timer = null; + if (onTimeout == null) { + timer = async.Timer.new(timeLimit, dart.fn(() => { + _future[_completeError](new async.TimeoutException.new("Future not completed", timeLimit), core.StackTrace.empty); + }, T$.VoidTovoid())); + } else { + let zone = async.Zone.current; + let onTimeoutHandler = zone.registerCallback(FutureOrOfT(), onTimeout); + timer = async.Timer.new(timeLimit, dart.fn(() => { + try { + _future[_complete](zone.run(FutureOrOfT(), onTimeoutHandler)); + } catch (e$) { + let e = dart.getThrown(e$); + let s = dart.stackTrace(e$); + if (core.Object.is(e)) { + _future[_completeError](e, s); + } else + throw e$; + } + }, T$.VoidTovoid())); + } + this.then(core.Null, dart.fn(v => { + if (dart.test(timer.isActive)) { + timer.cancel(); + _future[_completeWithValue](v); + } + }, TToNull()), {onError: dart.fn((e, s) => { + if (e == null) dart.nullFailed(I[68], 816, 25, "e"); + if (s == null) dart.nullFailed(I[68], 816, 39, "s"); + if (dart.test(timer.isActive)) { + timer.cancel(); + _future[_completeError](e, s); + } + }, T$.ObjectAndStackTraceToNull())}); + return _future; + } + } + (_Future.new = function() { + this[_state] = 0; + this[_resultOrListeners] = null; + this[_zone$] = async.Zone._current; + ; + }).prototype = _Future.prototype; + (_Future.immediate = function(result) { + this[_state] = 0; + this[_resultOrListeners] = null; + this[_zone$] = async.Zone._current; + this[_asyncComplete](result); + }).prototype = _Future.prototype; + (_Future.zoneValue = function(value, _zone) { + if (_zone == null) dart.nullFailed(I[68], 244, 35, "_zone"); + this[_state] = 0; + this[_resultOrListeners] = null; + this[_zone$] = _zone; + this[_setValue](value); + }).prototype = _Future.prototype; + (_Future.immediateError = function(error, stackTrace) { + if (stackTrace == null) dart.nullFailed(I[68], 248, 48, "stackTrace"); + this[_state] = 0; + this[_resultOrListeners] = null; + this[_zone$] = async.Zone._current; + this[_asyncCompleteError](core.Object.as(error), stackTrace); + }).prototype = _Future.prototype; + (_Future.value = function(value) { + _Future.zoneValue.call(this, value, async.Zone._current); + }).prototype = _Future.prototype; + _Future.prototype[dart.isFuture] = true; + dart.addTypeTests(_Future); + _Future.prototype[_is__Future_default] = true; + dart.addTypeCaches(_Future); + _Future[dart.implements] = () => [async.Future$(T)]; + dart.setMethodSignature(_Future, () => ({ + __proto__: dart.getMethods(_Future.__proto__), + [_setChained]: dart.fnType(dart.void, [async._Future]), + then: dart.gFnType(R => [async.Future$(R), [dart.fnType(async.FutureOr$(R), [T])], {onError: dart.nullable(core.Function)}, {}], R => [dart.nullable(core.Object)]), + [_thenAwait]: dart.gFnType(E => [async.Future$(E), [dart.fnType(async.FutureOr$(E), [T]), core.Function]], E => [dart.nullable(core.Object)]), + catchError: dart.fnType(async.Future$(T), [core.Function], {test: dart.nullable(dart.fnType(core.bool, [core.Object]))}, {}), + whenComplete: dart.fnType(async.Future$(T), [dart.fnType(dart.dynamic, [])]), + asStream: dart.fnType(async.Stream$(T), []), + [_setPendingComplete]: dart.fnType(dart.void, []), + [_clearPendingComplete]: dart.fnType(dart.void, []), + [_setValue]: dart.fnType(dart.void, [dart.nullable(core.Object)]), + [_setErrorObject]: dart.fnType(dart.void, [async.AsyncError]), + [_setError]: dart.fnType(dart.void, [core.Object, core.StackTrace]), + [_cloneResult]: dart.fnType(dart.void, [async._Future]), + [_addListener]: dart.fnType(dart.void, [async._FutureListener]), + [_prependListeners]: dart.fnType(dart.void, [dart.nullable(async._FutureListener)]), + [_removeListeners]: dart.fnType(dart.nullable(async._FutureListener), []), + [_reverseListeners]: dart.fnType(dart.nullable(async._FutureListener), [dart.nullable(async._FutureListener)]), + [_chainForeignFuture]: dart.fnType(dart.void, [async.Future]), + [_complete]: dart.fnType(dart.void, [dart.nullable(core.Object)]), + [_completeWithValue]: dart.fnType(dart.void, [dart.nullable(core.Object)]), + [_completeError]: dart.fnType(dart.void, [core.Object, core.StackTrace]), + [_asyncComplete]: dart.fnType(dart.void, [dart.nullable(core.Object)]), + [_asyncCompleteWithValue]: dart.fnType(dart.void, [dart.nullable(core.Object)]), + [_chainFuture]: dart.fnType(dart.void, [async.Future$(T)]), + [_asyncCompleteError]: dart.fnType(dart.void, [core.Object, core.StackTrace]), + timeout: dart.fnType(async.Future$(T), [core.Duration], {onTimeout: dart.nullable(core.Object)}, {}) + })); + dart.setGetterSignature(_Future, () => ({ + __proto__: dart.getGetters(_Future.__proto__), + [_mayComplete]: core.bool, + [_isPendingComplete]: core.bool, + [_mayAddListener]: core.bool, + [_isChained]: core.bool, + [_isComplete]: core.bool, + [_hasError]: core.bool, + [_error]: async.AsyncError, + [_chainSource]: async._Future + })); + dart.setLibraryUri(_Future, I[29]); + dart.setFieldSignature(_Future, () => ({ + __proto__: dart.getFields(_Future.__proto__), + [_state]: dart.fieldType(core.int), + [_zone$]: dart.finalFieldType(async._Zone), + [_resultOrListeners]: dart.fieldType(dart.dynamic) + })); + return _Future; +}); +async._Future = async._Future$(); +dart.defineLazy(async._Future, { + /*async._Future._stateIncomplete*/get _stateIncomplete() { + return 0; + }, + /*async._Future._statePendingComplete*/get _statePendingComplete() { + return 1; + }, + /*async._Future._stateChained*/get _stateChained() { + return 2; + }, + /*async._Future._stateValue*/get _stateValue() { + return 4; + }, + /*async._Future._stateError*/get _stateError() { + return 8; + } +}, false); +dart.addTypeTests(async._Future, _is__Future_default); +async._AsyncCallbackEntry = class _AsyncCallbackEntry extends core.Object {}; +(async._AsyncCallbackEntry.new = function(callback) { + if (callback == null) dart.nullFailed(I[69], 12, 28, "callback"); + this.next = null; + this.callback = callback; + ; +}).prototype = async._AsyncCallbackEntry.prototype; +dart.addTypeTests(async._AsyncCallbackEntry); +dart.addTypeCaches(async._AsyncCallbackEntry); +dart.setLibraryUri(async._AsyncCallbackEntry, I[29]); +dart.setFieldSignature(async._AsyncCallbackEntry, () => ({ + __proto__: dart.getFields(async._AsyncCallbackEntry.__proto__), + callback: dart.finalFieldType(dart.fnType(dart.void, [])), + next: dart.fieldType(dart.nullable(async._AsyncCallbackEntry)) +})); +async._AsyncRun = class _AsyncRun extends core.Object { + static _initializeScheduleImmediate() { + if (dart.global.scheduleImmediate != null) { + return C[42] || CT.C42; + } + return C[43] || CT.C43; + } + static _scheduleImmediateJSOverride(callback) { + if (callback == null) dart.nullFailed(I[61], 153, 60, "callback"); + dart.addAsyncCallback(); + dart.global.scheduleImmediate(() => { + dart.removeAsyncCallback(); + callback(); + }); + } + static _scheduleImmediateWithPromise(callback) { + if (callback == null) dart.nullFailed(I[61], 162, 61, "callback"); + dart.addAsyncCallback(); + dart.global.Promise.resolve(null).then(() => { + dart.removeAsyncCallback(); + callback(); + }); + } + static _scheduleImmediate(callback) { + if (callback == null) dart.nullFailed(I[61], 135, 50, "callback"); + async._AsyncRun._scheduleImmediateClosure(callback); + } +}; +(async._AsyncRun.new = function() { + ; +}).prototype = async._AsyncRun.prototype; +dart.addTypeTests(async._AsyncRun); +dart.addTypeCaches(async._AsyncRun); +dart.setLibraryUri(async._AsyncRun, I[29]); +dart.defineLazy(async._AsyncRun, { + /*async._AsyncRun._scheduleImmediateClosure*/get _scheduleImmediateClosure() { + return async._AsyncRun._initializeScheduleImmediate(); + } +}, false); +async.StreamSubscription$ = dart.generic(T => { + class StreamSubscription extends core.Object {} + (StreamSubscription.new = function() { + ; + }).prototype = StreamSubscription.prototype; + dart.addTypeTests(StreamSubscription); + StreamSubscription.prototype[dart.isStreamSubscription] = true; + dart.addTypeCaches(StreamSubscription); + dart.setLibraryUri(StreamSubscription, I[29]); + return StreamSubscription; +}); +async.StreamSubscription = async.StreamSubscription$(); +dart.addTypeTests(async.StreamSubscription, dart.isStreamSubscription); +const _is_EventSink_default = Symbol('_is_EventSink_default'); +async.EventSink$ = dart.generic(T => { + class EventSink extends core.Object {} + (EventSink.new = function() { + ; + }).prototype = EventSink.prototype; + dart.addTypeTests(EventSink); + EventSink.prototype[_is_EventSink_default] = true; + dart.addTypeCaches(EventSink); + EventSink[dart.implements] = () => [core.Sink$(T)]; + dart.setLibraryUri(EventSink, I[29]); + return EventSink; +}); +async.EventSink = async.EventSink$(); +dart.addTypeTests(async.EventSink, _is_EventSink_default); +var _stream = dart.privateName(async, "StreamView._stream"); +var _stream$ = dart.privateName(async, "_stream"); +const _is_StreamView_default = Symbol('_is_StreamView_default'); +async.StreamView$ = dart.generic(T => { + class StreamView extends async.Stream$(T) { + get [_stream$]() { + return this[_stream]; + } + set [_stream$](value) { + super[_stream$] = value; + } + get isBroadcast() { + return this[_stream$].isBroadcast; + } + asBroadcastStream(opts) { + let onListen = opts && 'onListen' in opts ? opts.onListen : null; + let onCancel = opts && 'onCancel' in opts ? opts.onCancel : null; + return this[_stream$].asBroadcastStream({onListen: onListen, onCancel: onCancel}); + } + listen(onData, opts) { + let onError = opts && 'onError' in opts ? opts.onError : null; + let onDone = opts && 'onDone' in opts ? opts.onDone : null; + let cancelOnError = opts && 'cancelOnError' in opts ? opts.cancelOnError : null; + return this[_stream$].listen(onData, {onError: onError, onDone: onDone, cancelOnError: cancelOnError}); + } + } + (StreamView.new = function(stream) { + if (stream == null) dart.nullFailed(I[28], 1734, 30, "stream"); + this[_stream] = stream; + StreamView.__proto__._internal.call(this); + ; + }).prototype = StreamView.prototype; + dart.addTypeTests(StreamView); + StreamView.prototype[_is_StreamView_default] = true; + dart.addTypeCaches(StreamView); + dart.setMethodSignature(StreamView, () => ({ + __proto__: dart.getMethods(StreamView.__proto__), + listen: dart.fnType(async.StreamSubscription$(T), [dart.nullable(dart.fnType(dart.void, [T]))], {cancelOnError: dart.nullable(core.bool), onDone: dart.nullable(dart.fnType(dart.void, [])), onError: dart.nullable(core.Function)}, {}) + })); + dart.setLibraryUri(StreamView, I[29]); + dart.setFieldSignature(StreamView, () => ({ + __proto__: dart.getFields(StreamView.__proto__), + [_stream$]: dart.finalFieldType(async.Stream$(T)) + })); + return StreamView; +}); +async.StreamView = async.StreamView$(); +dart.addTypeTests(async.StreamView, _is_StreamView_default); +const _is_StreamConsumer_default = Symbol('_is_StreamConsumer_default'); +async.StreamConsumer$ = dart.generic(S => { + class StreamConsumer extends core.Object {} + (StreamConsumer.new = function() { + ; + }).prototype = StreamConsumer.prototype; + dart.addTypeTests(StreamConsumer); + StreamConsumer.prototype[_is_StreamConsumer_default] = true; + dart.addTypeCaches(StreamConsumer); + dart.setLibraryUri(StreamConsumer, I[29]); + return StreamConsumer; +}); +async.StreamConsumer = async.StreamConsumer$(); +dart.addTypeTests(async.StreamConsumer, _is_StreamConsumer_default); +const _is_StreamSink_default = Symbol('_is_StreamSink_default'); +async.StreamSink$ = dart.generic(S => { + class StreamSink extends core.Object {} + (StreamSink.new = function() { + ; + }).prototype = StreamSink.prototype; + dart.addTypeTests(StreamSink); + StreamSink.prototype[_is_StreamSink_default] = true; + dart.addTypeCaches(StreamSink); + StreamSink[dart.implements] = () => [async.EventSink$(S), async.StreamConsumer$(S)]; + dart.setLibraryUri(StreamSink, I[29]); + return StreamSink; +}); +async.StreamSink = async.StreamSink$(); +dart.addTypeTests(async.StreamSink, _is_StreamSink_default); +const _is_StreamTransformer_default = Symbol('_is_StreamTransformer_default'); +async.StreamTransformer$ = dart.generic((S, T) => { + class StreamTransformer extends core.Object { + static castFrom(SS, ST, TS, TT, source) { + if (source == null) dart.nullFailed(I[28], 2009, 33, "source"); + return new (_internal.CastStreamTransformer$(SS, ST, TS, TT)).new(source); + } + } + (StreamTransformer[dart.mixinNew] = function() { + }).prototype = StreamTransformer.prototype; + dart.addTypeTests(StreamTransformer); + StreamTransformer.prototype[_is_StreamTransformer_default] = true; + dart.addTypeCaches(StreamTransformer); + dart.setLibraryUri(StreamTransformer, I[29]); + return StreamTransformer; +}); +async.StreamTransformer = async.StreamTransformer$(); +dart.addTypeTests(async.StreamTransformer, _is_StreamTransformer_default); +const _is_StreamIterator_default = Symbol('_is_StreamIterator_default'); +async.StreamIterator$ = dart.generic(T => { + class StreamIterator extends core.Object { + static new(stream) { + if (stream == null) dart.nullFailed(I[28], 2073, 36, "stream"); + return new (async._StreamIterator$(T)).new(stream); + } + } + (StreamIterator[dart.mixinNew] = function() { + }).prototype = StreamIterator.prototype; + dart.addTypeTests(StreamIterator); + StreamIterator.prototype[_is_StreamIterator_default] = true; + dart.addTypeCaches(StreamIterator); + dart.setLibraryUri(StreamIterator, I[29]); + return StreamIterator; +}); +async.StreamIterator = async.StreamIterator$(); +dart.addTypeTests(async.StreamIterator, _is_StreamIterator_default); +var _ensureSink = dart.privateName(async, "_ensureSink"); +const _is__ControllerEventSinkWrapper_default = Symbol('_is__ControllerEventSinkWrapper_default'); +async._ControllerEventSinkWrapper$ = dart.generic(T => { + class _ControllerEventSinkWrapper extends core.Object { + [_ensureSink]() { + let sink = this[_sink$]; + if (sink == null) dart.throw(new core.StateError.new("Sink not available")); + return sink; + } + add(data) { + T.as(data); + this[_ensureSink]().add(data); + } + addError(error, stackTrace = null) { + if (error == null) dart.nullFailed(I[28], 2140, 17, "error"); + this[_ensureSink]().addError(error, stackTrace); + } + close() { + this[_ensureSink]().close(); + } + } + (_ControllerEventSinkWrapper.new = function(_sink) { + this[_sink$] = _sink; + ; + }).prototype = _ControllerEventSinkWrapper.prototype; + dart.addTypeTests(_ControllerEventSinkWrapper); + _ControllerEventSinkWrapper.prototype[_is__ControllerEventSinkWrapper_default] = true; + dart.addTypeCaches(_ControllerEventSinkWrapper); + _ControllerEventSinkWrapper[dart.implements] = () => [async.EventSink$(T)]; + dart.setMethodSignature(_ControllerEventSinkWrapper, () => ({ + __proto__: dart.getMethods(_ControllerEventSinkWrapper.__proto__), + [_ensureSink]: dart.fnType(async.EventSink, []), + add: dart.fnType(dart.void, [dart.nullable(core.Object)]), + addError: dart.fnType(dart.void, [core.Object], [dart.nullable(core.StackTrace)]), + close: dart.fnType(dart.void, []) + })); + dart.setLibraryUri(_ControllerEventSinkWrapper, I[29]); + dart.setFieldSignature(_ControllerEventSinkWrapper, () => ({ + __proto__: dart.getFields(_ControllerEventSinkWrapper.__proto__), + [_sink$]: dart.fieldType(dart.nullable(async.EventSink)) + })); + return _ControllerEventSinkWrapper; +}); +async._ControllerEventSinkWrapper = async._ControllerEventSinkWrapper$(); +dart.addTypeTests(async._ControllerEventSinkWrapper, _is__ControllerEventSinkWrapper_default); +const _is_MultiStreamController_default = Symbol('_is_MultiStreamController_default'); +async.MultiStreamController$ = dart.generic(T => { + class MultiStreamController extends core.Object {} + (MultiStreamController.new = function() { + ; + }).prototype = MultiStreamController.prototype; + dart.addTypeTests(MultiStreamController); + MultiStreamController.prototype[_is_MultiStreamController_default] = true; + dart.addTypeCaches(MultiStreamController); + MultiStreamController[dart.implements] = () => [async.StreamController$(T)]; + dart.setLibraryUri(MultiStreamController, I[29]); + return MultiStreamController; +}); +async.MultiStreamController = async.MultiStreamController$(); +dart.addTypeTests(async.MultiStreamController, _is_MultiStreamController_default); +const _is_StreamController_default = Symbol('_is_StreamController_default'); +async.StreamController$ = dart.generic(T => { + class StreamController extends core.Object { + static new(opts) { + let onListen = opts && 'onListen' in opts ? opts.onListen : null; + let onPause = opts && 'onPause' in opts ? opts.onPause : null; + let onResume = opts && 'onResume' in opts ? opts.onResume : null; + let onCancel = opts && 'onCancel' in opts ? opts.onCancel : null; + let sync = opts && 'sync' in opts ? opts.sync : false; + if (sync == null) dart.nullFailed(I[64], 73, 12, "sync"); + return dart.test(sync) ? new (async._SyncStreamController$(T)).new(onListen, onPause, onResume, onCancel) : new (async._AsyncStreamController$(T)).new(onListen, onPause, onResume, onCancel); + } + static broadcast(opts) { + let onListen = opts && 'onListen' in opts ? opts.onListen : null; + let onCancel = opts && 'onCancel' in opts ? opts.onCancel : null; + let sync = opts && 'sync' in opts ? opts.sync : false; + if (sync == null) dart.nullFailed(I[64], 129, 49, "sync"); + return dart.test(sync) ? new (async._SyncBroadcastStreamController$(T)).new(onListen, onCancel) : new (async._AsyncBroadcastStreamController$(T)).new(onListen, onCancel); + } + } + (StreamController[dart.mixinNew] = function() { + }).prototype = StreamController.prototype; + dart.addTypeTests(StreamController); + StreamController.prototype[_is_StreamController_default] = true; + dart.addTypeCaches(StreamController); + StreamController[dart.implements] = () => [async.StreamSink$(T)]; + dart.setLibraryUri(StreamController, I[29]); + return StreamController; +}); +async.StreamController = async.StreamController$(); +dart.addTypeTests(async.StreamController, _is_StreamController_default); +const _is_SynchronousStreamController_default = Symbol('_is_SynchronousStreamController_default'); +async.SynchronousStreamController$ = dart.generic(T => { + class SynchronousStreamController extends core.Object {} + (SynchronousStreamController.new = function() { + ; + }).prototype = SynchronousStreamController.prototype; + dart.addTypeTests(SynchronousStreamController); + SynchronousStreamController.prototype[_is_SynchronousStreamController_default] = true; + dart.addTypeCaches(SynchronousStreamController); + SynchronousStreamController[dart.implements] = () => [async.StreamController$(T)]; + dart.setLibraryUri(SynchronousStreamController, I[29]); + return SynchronousStreamController; +}); +async.SynchronousStreamController = async.SynchronousStreamController$(); +dart.addTypeTests(async.SynchronousStreamController, _is_SynchronousStreamController_default); +const _is__StreamControllerLifecycle_default = Symbol('_is__StreamControllerLifecycle_default'); +async._StreamControllerLifecycle$ = dart.generic(T => { + var StreamSubscriptionOfT = () => (StreamSubscriptionOfT = dart.constFn(async.StreamSubscription$(T)))(); + class _StreamControllerLifecycle extends core.Object { + [_recordPause](subscription) { + StreamSubscriptionOfT().as(subscription); + if (subscription == null) dart.nullFailed(I[64], 352, 43, "subscription"); + } + [_recordResume](subscription) { + StreamSubscriptionOfT().as(subscription); + if (subscription == null) dart.nullFailed(I[64], 353, 44, "subscription"); + } + [_recordCancel](subscription) { + StreamSubscriptionOfT().as(subscription); + if (subscription == null) dart.nullFailed(I[64], 354, 53, "subscription"); + return null; + } + } + (_StreamControllerLifecycle.new = function() { + ; + }).prototype = _StreamControllerLifecycle.prototype; + dart.addTypeTests(_StreamControllerLifecycle); + _StreamControllerLifecycle.prototype[_is__StreamControllerLifecycle_default] = true; + dart.addTypeCaches(_StreamControllerLifecycle); + dart.setMethodSignature(_StreamControllerLifecycle, () => ({ + __proto__: dart.getMethods(_StreamControllerLifecycle.__proto__), + [_recordPause]: dart.fnType(dart.void, [dart.nullable(core.Object)]), + [_recordResume]: dart.fnType(dart.void, [dart.nullable(core.Object)]), + [_recordCancel]: dart.fnType(dart.nullable(async.Future$(dart.void)), [dart.nullable(core.Object)]) + })); + dart.setLibraryUri(_StreamControllerLifecycle, I[29]); + return _StreamControllerLifecycle; +}); +async._StreamControllerLifecycle = async._StreamControllerLifecycle$(); +dart.addTypeTests(async._StreamControllerLifecycle, _is__StreamControllerLifecycle_default); +const _is__StreamControllerBase_default = Symbol('_is__StreamControllerBase_default'); +async._StreamControllerBase$ = dart.generic(T => { + class _StreamControllerBase extends core.Object {} + (_StreamControllerBase.new = function() { + ; + }).prototype = _StreamControllerBase.prototype; + dart.addTypeTests(_StreamControllerBase); + _StreamControllerBase.prototype[_is__StreamControllerBase_default] = true; + dart.addTypeCaches(_StreamControllerBase); + _StreamControllerBase[dart.implements] = () => [async.StreamController$(T), async._StreamControllerLifecycle$(T), async._EventSink$(T), async._EventDispatch$(T)]; + dart.setLibraryUri(_StreamControllerBase, I[29]); + return _StreamControllerBase; +}); +async._StreamControllerBase = async._StreamControllerBase$(); +dart.addTypeTests(async._StreamControllerBase, _is__StreamControllerBase_default); +var _varData = dart.privateName(async, "_varData"); +var _isInitialState = dart.privateName(async, "_isInitialState"); +var _subscription = dart.privateName(async, "_subscription"); +var _pendingEvents = dart.privateName(async, "_pendingEvents"); +var _ensurePendingEvents = dart.privateName(async, "_ensurePendingEvents"); +var _badEventState = dart.privateName(async, "_badEventState"); +const _is__StreamController_default = Symbol('_is__StreamController_default'); +async._StreamController$ = dart.generic(T => { + var _ControllerStreamOfT = () => (_ControllerStreamOfT = dart.constFn(async._ControllerStream$(T)))(); + var _StreamSinkWrapperOfT = () => (_StreamSinkWrapperOfT = dart.constFn(async._StreamSinkWrapper$(T)))(); + var _PendingEventsOfT = () => (_PendingEventsOfT = dart.constFn(async._PendingEvents$(T)))(); + var _PendingEventsNOfT = () => (_PendingEventsNOfT = dart.constFn(dart.nullable(_PendingEventsOfT())))(); + var _StreamControllerAddStreamStateOfT = () => (_StreamControllerAddStreamStateOfT = dart.constFn(async._StreamControllerAddStreamState$(T)))(); + var _StreamImplEventsOfT = () => (_StreamImplEventsOfT = dart.constFn(async._StreamImplEvents$(T)))(); + var _ControllerSubscriptionOfT = () => (_ControllerSubscriptionOfT = dart.constFn(async._ControllerSubscription$(T)))(); + var StreamOfT = () => (StreamOfT = dart.constFn(async.Stream$(T)))(); + var _DelayedDataOfT = () => (_DelayedDataOfT = dart.constFn(async._DelayedData$(T)))(); + class _StreamController extends core.Object { + get stream() { + return new (_ControllerStreamOfT()).new(this); + } + get sink() { + return new (_StreamSinkWrapperOfT()).new(this); + } + get [_isCanceled]() { + return (dart.notNull(this[_state]) & 2) !== 0; + } + get hasListener() { + return (dart.notNull(this[_state]) & 1) !== 0; + } + get [_isInitialState]() { + return (dart.notNull(this[_state]) & 3) >>> 0 === 0; + } + get isClosed() { + return (dart.notNull(this[_state]) & 4) !== 0; + } + get isPaused() { + return dart.test(this.hasListener) ? this[_subscription][_isInputPaused] : !dart.test(this[_isCanceled]); + } + get [_isAddingStream]() { + return (dart.notNull(this[_state]) & 8) !== 0; + } + get [_mayAddEvent]() { + return dart.notNull(this[_state]) < 4; + } + get [_pendingEvents]() { + if (!dart.test(this[_isInitialState])) dart.assertFailed(null, I[64], 479, 12, "_isInitialState"); + if (!dart.test(this[_isAddingStream])) { + return _PendingEventsNOfT().as(this[_varData]); + } + let state = _StreamControllerAddStreamStateOfT().as(this[_varData]); + return _PendingEventsNOfT().as(state.varData); + } + [_ensurePendingEvents]() { + if (!dart.test(this[_isInitialState])) dart.assertFailed(null, I[64], 489, 12, "_isInitialState"); + if (!dart.test(this[_isAddingStream])) { + let events = this[_varData]; + if (events == null) { + this[_varData] = events = new (_StreamImplEventsOfT()).new(); + } + return _StreamImplEventsOfT().as(events); + } + let state = _StreamControllerAddStreamStateOfT().as(this[_varData]); + let events = state.varData; + if (events == null) { + state.varData = events = new (_StreamImplEventsOfT()).new(); + } + return _StreamImplEventsOfT().as(events); + } + get [_subscription]() { + if (!dart.test(this.hasListener)) dart.assertFailed(null, I[64], 509, 12, "hasListener"); + let varData = this[_varData]; + if (dart.test(this[_isAddingStream])) { + let streamState = T$._StreamControllerAddStreamStateOfObjectN().as(varData); + varData = streamState.varData; + } + return _ControllerSubscriptionOfT().as(varData); + } + [_badEventState]() { + if (dart.test(this.isClosed)) { + return new core.StateError.new("Cannot add event after closing"); + } + if (!dart.test(this[_isAddingStream])) dart.assertFailed(null, I[64], 525, 12, "_isAddingStream"); + return new core.StateError.new("Cannot add event while adding a stream"); + } + addStream(source, opts) { + let t114; + StreamOfT().as(source); + if (source == null) dart.nullFailed(I[64], 530, 30, "source"); + let cancelOnError = opts && 'cancelOnError' in opts ? opts.cancelOnError : null; + if (!dart.test(this[_mayAddEvent])) dart.throw(this[_badEventState]()); + if (dart.test(this[_isCanceled])) return new async._Future.immediate(null); + let addState = new (_StreamControllerAddStreamStateOfT()).new(this, this[_varData], source, (t114 = cancelOnError, t114 == null ? false : t114)); + this[_varData] = addState; + this[_state] = (dart.notNull(this[_state]) | 8) >>> 0; + return addState.addStreamFuture; + } + get done() { + return this[_ensureDoneFuture](); + } + [_ensureDoneFuture]() { + let t114; + t114 = this[_doneFuture]; + return t114 == null ? this[_doneFuture] = dart.test(this[_isCanceled]) ? async.Future._nullFuture : new (T$._FutureOfvoid()).new() : t114; + } + add(value) { + T.as(value); + if (!dart.test(this[_mayAddEvent])) dart.throw(this[_badEventState]()); + this[_add](value); + } + addError(error, stackTrace = null) { + if (error == null) dart.nullFailed(I[64], 558, 24, "error"); + _internal.checkNotNullable(core.Object, error, "error"); + if (!dart.test(this[_mayAddEvent])) dart.throw(this[_badEventState]()); + let replacement = async.Zone.current.errorCallback(error, stackTrace); + if (replacement != null) { + error = replacement.error; + stackTrace = replacement.stackTrace; + } else { + stackTrace == null ? stackTrace = async.AsyncError.defaultStackTrace(error) : null; + } + if (stackTrace == null) dart.throw("unreachable"); + this[_addError](error, stackTrace); + } + close() { + if (dart.test(this.isClosed)) { + return this[_ensureDoneFuture](); + } + if (!dart.test(this[_mayAddEvent])) dart.throw(this[_badEventState]()); + this[_closeUnchecked](); + return this[_ensureDoneFuture](); + } + [_closeUnchecked]() { + this[_state] = (dart.notNull(this[_state]) | 4) >>> 0; + if (dart.test(this.hasListener)) { + this[_sendDone](); + } else if (dart.test(this[_isInitialState])) { + this[_ensurePendingEvents]().add(C[40] || CT.C40); + } + } + [_add](value) { + T.as(value); + if (dart.test(this.hasListener)) { + this[_sendData](value); + } else if (dart.test(this[_isInitialState])) { + this[_ensurePendingEvents]().add(new (_DelayedDataOfT()).new(value)); + } + } + [_addError](error, stackTrace) { + if (error == null) dart.nullFailed(I[64], 613, 25, "error"); + if (stackTrace == null) dart.nullFailed(I[64], 613, 43, "stackTrace"); + if (dart.test(this.hasListener)) { + this[_sendError](error, stackTrace); + } else if (dart.test(this[_isInitialState])) { + this[_ensurePendingEvents]().add(new async._DelayedError.new(error, stackTrace)); + } + } + [_close]() { + if (!dart.test(this[_isAddingStream])) dart.assertFailed(null, I[64], 623, 12, "_isAddingStream"); + let addState = _StreamControllerAddStreamStateOfT().as(this[_varData]); + this[_varData] = addState.varData; + this[_state] = (dart.notNull(this[_state]) & ~8 >>> 0) >>> 0; + addState.complete(); + } + [_subscribe](onData, onError, onDone, cancelOnError) { + if (cancelOnError == null) dart.nullFailed(I[64], 633, 28, "cancelOnError"); + if (!dart.test(this[_isInitialState])) { + dart.throw(new core.StateError.new("Stream has already been listened to.")); + } + let subscription = new (_ControllerSubscriptionOfT()).new(this, onData, onError, onDone, cancelOnError); + let pendingEvents = this[_pendingEvents]; + this[_state] = (dart.notNull(this[_state]) | 1) >>> 0; + if (dart.test(this[_isAddingStream])) { + let addState = _StreamControllerAddStreamStateOfT().as(this[_varData]); + addState.varData = subscription; + addState.resume(); + } else { + this[_varData] = subscription; + } + subscription[_setPendingEvents](pendingEvents); + subscription[_guardCallback](dart.fn(() => { + async._runGuarded(this.onListen); + }, T$.VoidTovoid())); + return subscription; + } + [_recordCancel](subscription) { + let t115; + if (subscription == null) dart.nullFailed(I[64], 657, 53, "subscription"); + let result = null; + if (dart.test(this[_isAddingStream])) { + let addState = _StreamControllerAddStreamStateOfT().as(this[_varData]); + result = addState.cancel(); + } + this[_varData] = null; + this[_state] = (dart.notNull(this[_state]) & ~(1 | 8) >>> 0 | 2) >>> 0; + let onCancel = this.onCancel; + if (onCancel != null) { + if (result == null) { + try { + let cancelResult = onCancel(); + if (T$.FutureOfvoid().is(cancelResult)) { + result = cancelResult; + } + } catch (e$) { + let e = dart.getThrown(e$); + let s = dart.stackTrace(e$); + if (core.Object.is(e)) { + result = (t115 = new (T$._FutureOfvoid()).new(), (() => { + t115[_asyncCompleteError](e, s); + return t115; + })()); + } else + throw e$; + } + } else { + result = result.whenComplete(onCancel); + } + } + const complete = () => { + let doneFuture = this[_doneFuture]; + if (doneFuture != null && dart.test(doneFuture[_mayComplete])) { + doneFuture[_asyncComplete](null); + } + }; + dart.fn(complete, T$.VoidTovoid()); + if (result != null) { + result = result.whenComplete(complete); + } else { + complete(); + } + return result; + } + [_recordPause](subscription) { + if (subscription == null) dart.nullFailed(I[64], 713, 43, "subscription"); + if (dart.test(this[_isAddingStream])) { + let addState = _StreamControllerAddStreamStateOfT().as(this[_varData]); + addState.pause(); + } + async._runGuarded(this.onPause); + } + [_recordResume](subscription) { + if (subscription == null) dart.nullFailed(I[64], 721, 44, "subscription"); + if (dart.test(this[_isAddingStream])) { + let addState = _StreamControllerAddStreamStateOfT().as(this[_varData]); + addState.resume(); + } + async._runGuarded(this.onResume); + } + } + (_StreamController.new = function(onListen, onPause, onResume, onCancel) { + this[_varData] = null; + this[_state] = 0; + this[_doneFuture] = null; + this.onListen = onListen; + this.onPause = onPause; + this.onResume = onResume; + this.onCancel = onCancel; + ; + }).prototype = _StreamController.prototype; + dart.addTypeTests(_StreamController); + _StreamController.prototype[_is__StreamController_default] = true; + dart.addTypeCaches(_StreamController); + _StreamController[dart.implements] = () => [async._StreamControllerBase$(T)]; + dart.setMethodSignature(_StreamController, () => ({ + __proto__: dart.getMethods(_StreamController.__proto__), + [_ensurePendingEvents]: dart.fnType(async._StreamImplEvents$(T), []), + [_badEventState]: dart.fnType(core.Error, []), + addStream: dart.fnType(async.Future, [dart.nullable(core.Object)], {cancelOnError: dart.nullable(core.bool)}, {}), + [_ensureDoneFuture]: dart.fnType(async.Future$(dart.void), []), + add: dart.fnType(dart.void, [dart.nullable(core.Object)]), + addError: dart.fnType(dart.void, [core.Object], [dart.nullable(core.StackTrace)]), + close: dart.fnType(async.Future, []), + [_closeUnchecked]: dart.fnType(dart.void, []), + [_add]: dart.fnType(dart.void, [dart.nullable(core.Object)]), + [_addError]: dart.fnType(dart.void, [core.Object, core.StackTrace]), + [_close]: dart.fnType(dart.void, []), + [_subscribe]: dart.fnType(async.StreamSubscription$(T), [dart.nullable(dart.fnType(dart.void, [T])), dart.nullable(core.Function), dart.nullable(dart.fnType(dart.void, [])), core.bool]), + [_recordCancel]: dart.fnType(dart.nullable(async.Future$(dart.void)), [async.StreamSubscription$(T)]), + [_recordPause]: dart.fnType(dart.void, [async.StreamSubscription$(T)]), + [_recordResume]: dart.fnType(dart.void, [async.StreamSubscription$(T)]) + })); + dart.setGetterSignature(_StreamController, () => ({ + __proto__: dart.getGetters(_StreamController.__proto__), + stream: async.Stream$(T), + sink: async.StreamSink$(T), + [_isCanceled]: core.bool, + hasListener: core.bool, + [_isInitialState]: core.bool, + isClosed: core.bool, + isPaused: core.bool, + [_isAddingStream]: core.bool, + [_mayAddEvent]: core.bool, + [_pendingEvents]: dart.nullable(async._PendingEvents$(T)), + [_subscription]: async._ControllerSubscription$(T), + done: async.Future$(dart.void) + })); + dart.setLibraryUri(_StreamController, I[29]); + dart.setFieldSignature(_StreamController, () => ({ + __proto__: dart.getFields(_StreamController.__proto__), + [_varData]: dart.fieldType(dart.nullable(core.Object)), + [_state]: dart.fieldType(core.int), + [_doneFuture]: dart.fieldType(dart.nullable(async._Future$(dart.void))), + onListen: dart.fieldType(dart.nullable(dart.fnType(dart.void, []))), + onPause: dart.fieldType(dart.nullable(dart.fnType(dart.void, []))), + onResume: dart.fieldType(dart.nullable(dart.fnType(dart.void, []))), + onCancel: dart.fieldType(dart.nullable(dart.fnType(dart.void, []))) + })); + return _StreamController; +}); +async._StreamController = async._StreamController$(); +dart.defineLazy(async._StreamController, { + /*async._StreamController._STATE_INITIAL*/get _STATE_INITIAL() { + return 0; + }, + /*async._StreamController._STATE_SUBSCRIBED*/get _STATE_SUBSCRIBED() { + return 1; + }, + /*async._StreamController._STATE_CANCELED*/get _STATE_CANCELED() { + return 2; + }, + /*async._StreamController._STATE_SUBSCRIPTION_MASK*/get _STATE_SUBSCRIPTION_MASK() { + return 3; + }, + /*async._StreamController._STATE_CLOSED*/get _STATE_CLOSED() { + return 4; + }, + /*async._StreamController._STATE_ADDSTREAM*/get _STATE_ADDSTREAM() { + return 8; + } +}, false); +dart.addTypeTests(async._StreamController, _is__StreamController_default); +const _is__SyncStreamControllerDispatch_default = Symbol('_is__SyncStreamControllerDispatch_default'); +async._SyncStreamControllerDispatch$ = dart.generic(T => { + class _SyncStreamControllerDispatch extends core.Object { + [_sendData](data) { + this[_subscription][_add](data); + } + [_sendError](error, stackTrace) { + if (error == null) dart.nullFailed(I[64], 736, 26, "error"); + if (stackTrace == null) dart.nullFailed(I[64], 736, 44, "stackTrace"); + this[_subscription][_addError](error, stackTrace); + } + [_sendDone]() { + this[_subscription][_close](); + } + } + (_SyncStreamControllerDispatch.new = function() { + ; + }).prototype = _SyncStreamControllerDispatch.prototype; + dart.addTypeTests(_SyncStreamControllerDispatch); + _SyncStreamControllerDispatch.prototype[_is__SyncStreamControllerDispatch_default] = true; + dart.addTypeCaches(_SyncStreamControllerDispatch); + _SyncStreamControllerDispatch[dart.implements] = () => [async._StreamController$(T), async.SynchronousStreamController$(T)]; + dart.setMethodSignature(_SyncStreamControllerDispatch, () => ({ + __proto__: dart.getMethods(_SyncStreamControllerDispatch.__proto__), + [_sendData]: dart.fnType(dart.void, [T]), + [_sendError]: dart.fnType(dart.void, [core.Object, core.StackTrace]), + [_sendDone]: dart.fnType(dart.void, []) + })); + dart.setLibraryUri(_SyncStreamControllerDispatch, I[29]); + return _SyncStreamControllerDispatch; +}); +async._SyncStreamControllerDispatch = async._SyncStreamControllerDispatch$(); +dart.addTypeTests(async._SyncStreamControllerDispatch, _is__SyncStreamControllerDispatch_default); +const _is__AsyncStreamControllerDispatch_default = Symbol('_is__AsyncStreamControllerDispatch_default'); +async._AsyncStreamControllerDispatch$ = dart.generic(T => { + var _DelayedDataOfT = () => (_DelayedDataOfT = dart.constFn(async._DelayedData$(T)))(); + class _AsyncStreamControllerDispatch extends core.Object { + [_sendData](data) { + this[_subscription][_addPending](new (_DelayedDataOfT()).new(data)); + } + [_sendError](error, stackTrace) { + if (error == null) dart.nullFailed(I[64], 751, 26, "error"); + if (stackTrace == null) dart.nullFailed(I[64], 751, 44, "stackTrace"); + this[_subscription][_addPending](new async._DelayedError.new(error, stackTrace)); + } + [_sendDone]() { + this[_subscription][_addPending](C[40] || CT.C40); + } + } + (_AsyncStreamControllerDispatch.new = function() { + ; + }).prototype = _AsyncStreamControllerDispatch.prototype; + dart.addTypeTests(_AsyncStreamControllerDispatch); + _AsyncStreamControllerDispatch.prototype[_is__AsyncStreamControllerDispatch_default] = true; + dart.addTypeCaches(_AsyncStreamControllerDispatch); + _AsyncStreamControllerDispatch[dart.implements] = () => [async._StreamController$(T)]; + dart.setMethodSignature(_AsyncStreamControllerDispatch, () => ({ + __proto__: dart.getMethods(_AsyncStreamControllerDispatch.__proto__), + [_sendData]: dart.fnType(dart.void, [T]), + [_sendError]: dart.fnType(dart.void, [core.Object, core.StackTrace]), + [_sendDone]: dart.fnType(dart.void, []) + })); + dart.setLibraryUri(_AsyncStreamControllerDispatch, I[29]); + return _AsyncStreamControllerDispatch; +}); +async._AsyncStreamControllerDispatch = async._AsyncStreamControllerDispatch$(); +dart.addTypeTests(async._AsyncStreamControllerDispatch, _is__AsyncStreamControllerDispatch_default); +const _is__AsyncStreamController_default = Symbol('_is__AsyncStreamController_default'); +async._AsyncStreamController$ = dart.generic(T => { + const _StreamController__AsyncStreamControllerDispatch$36 = class _StreamController__AsyncStreamControllerDispatch extends async._StreamController$(T) {}; + (_StreamController__AsyncStreamControllerDispatch$36.new = function(onListen, onPause, onResume, onCancel) { + _StreamController__AsyncStreamControllerDispatch$36.__proto__.new.call(this, onListen, onPause, onResume, onCancel); + }).prototype = _StreamController__AsyncStreamControllerDispatch$36.prototype; + dart.applyMixin(_StreamController__AsyncStreamControllerDispatch$36, async._AsyncStreamControllerDispatch$(T)); + class _AsyncStreamController extends _StreamController__AsyncStreamControllerDispatch$36 { + [_sendData](data) { + return super[_sendData](data); + } + [_sendError](error, stackTrace) { + if (error == null) dart.nullFailed(I[64], 764, 7, "error"); + if (stackTrace == null) dart.nullFailed(I[64], 764, 7, "stackTrace"); + return super[_sendError](error, stackTrace); + } + [_sendDone]() { + return super[_sendDone](); + } + } + (_AsyncStreamController.new = function(onListen, onPause, onResume, onCancel) { + _AsyncStreamController.__proto__.new.call(this, onListen, onPause, onResume, onCancel); + ; + }).prototype = _AsyncStreamController.prototype; + dart.addTypeTests(_AsyncStreamController); + _AsyncStreamController.prototype[_is__AsyncStreamController_default] = true; + dart.addTypeCaches(_AsyncStreamController); + dart.setMethodSignature(_AsyncStreamController, () => ({ + __proto__: dart.getMethods(_AsyncStreamController.__proto__), + [_sendData]: dart.fnType(dart.void, [T]), + [_sendError]: dart.fnType(dart.void, [core.Object, core.StackTrace]), + [_sendDone]: dart.fnType(dart.void, []) + })); + dart.setLibraryUri(_AsyncStreamController, I[29]); + return _AsyncStreamController; +}); +async._AsyncStreamController = async._AsyncStreamController$(); +dart.addTypeTests(async._AsyncStreamController, _is__AsyncStreamController_default); +const _is__SyncStreamController_default = Symbol('_is__SyncStreamController_default'); +async._SyncStreamController$ = dart.generic(T => { + const _StreamController__SyncStreamControllerDispatch$36 = class _StreamController__SyncStreamControllerDispatch extends async._StreamController$(T) {}; + (_StreamController__SyncStreamControllerDispatch$36.new = function(onListen, onPause, onResume, onCancel) { + _StreamController__SyncStreamControllerDispatch$36.__proto__.new.call(this, onListen, onPause, onResume, onCancel); + }).prototype = _StreamController__SyncStreamControllerDispatch$36.prototype; + dart.applyMixin(_StreamController__SyncStreamControllerDispatch$36, async._SyncStreamControllerDispatch$(T)); + class _SyncStreamController extends _StreamController__SyncStreamControllerDispatch$36 { + [_sendData](data) { + return super[_sendData](data); + } + [_sendError](error, stackTrace) { + if (error == null) dart.nullFailed(I[64], 767, 7, "error"); + if (stackTrace == null) dart.nullFailed(I[64], 767, 7, "stackTrace"); + return super[_sendError](error, stackTrace); + } + [_sendDone]() { + return super[_sendDone](); + } + } + (_SyncStreamController.new = function(onListen, onPause, onResume, onCancel) { + _SyncStreamController.__proto__.new.call(this, onListen, onPause, onResume, onCancel); + ; + }).prototype = _SyncStreamController.prototype; + dart.addTypeTests(_SyncStreamController); + _SyncStreamController.prototype[_is__SyncStreamController_default] = true; + dart.addTypeCaches(_SyncStreamController); + dart.setMethodSignature(_SyncStreamController, () => ({ + __proto__: dart.getMethods(_SyncStreamController.__proto__), + [_sendData]: dart.fnType(dart.void, [T]), + [_sendError]: dart.fnType(dart.void, [core.Object, core.StackTrace]), + [_sendDone]: dart.fnType(dart.void, []) + })); + dart.setLibraryUri(_SyncStreamController, I[29]); + return _SyncStreamController; +}); +async._SyncStreamController = async._SyncStreamController$(); +dart.addTypeTests(async._SyncStreamController, _is__SyncStreamController_default); +var _target$ = dart.privateName(async, "_target"); +const _is__StreamSinkWrapper_default = Symbol('_is__StreamSinkWrapper_default'); +async._StreamSinkWrapper$ = dart.generic(T => { + var StreamOfT = () => (StreamOfT = dart.constFn(async.Stream$(T)))(); + class _StreamSinkWrapper extends core.Object { + add(data) { + T.as(data); + this[_target$].add(data); + } + addError(error, stackTrace = null) { + if (error == null) dart.nullFailed(I[64], 829, 24, "error"); + this[_target$].addError(error, stackTrace); + } + close() { + return this[_target$].close(); + } + addStream(source) { + StreamOfT().as(source); + if (source == null) dart.nullFailed(I[64], 835, 30, "source"); + return this[_target$].addStream(source); + } + get done() { + return this[_target$].done; + } + } + (_StreamSinkWrapper.new = function(_target) { + if (_target == null) dart.nullFailed(I[64], 824, 27, "_target"); + this[_target$] = _target; + ; + }).prototype = _StreamSinkWrapper.prototype; + dart.addTypeTests(_StreamSinkWrapper); + _StreamSinkWrapper.prototype[_is__StreamSinkWrapper_default] = true; + dart.addTypeCaches(_StreamSinkWrapper); + _StreamSinkWrapper[dart.implements] = () => [async.StreamSink$(T)]; + dart.setMethodSignature(_StreamSinkWrapper, () => ({ + __proto__: dart.getMethods(_StreamSinkWrapper.__proto__), + add: dart.fnType(dart.void, [dart.nullable(core.Object)]), + addError: dart.fnType(dart.void, [core.Object], [dart.nullable(core.StackTrace)]), + close: dart.fnType(async.Future, []), + addStream: dart.fnType(async.Future, [dart.nullable(core.Object)]) + })); + dart.setGetterSignature(_StreamSinkWrapper, () => ({ + __proto__: dart.getGetters(_StreamSinkWrapper.__proto__), + done: async.Future + })); + dart.setLibraryUri(_StreamSinkWrapper, I[29]); + dart.setFieldSignature(_StreamSinkWrapper, () => ({ + __proto__: dart.getFields(_StreamSinkWrapper.__proto__), + [_target$]: dart.finalFieldType(async.StreamController) + })); + return _StreamSinkWrapper; +}); +async._StreamSinkWrapper = async._StreamSinkWrapper$(); +dart.addTypeTests(async._StreamSinkWrapper, _is__StreamSinkWrapper_default); +const _is__AddStreamState_default = Symbol('_is__AddStreamState_default'); +async._AddStreamState$ = dart.generic(T => { + class _AddStreamState extends core.Object { + static makeErrorHandler(controller) { + if (controller == null) dart.nullFailed(I[64], 858, 38, "controller"); + return dart.fn((e, s) => { + if (e == null) dart.nullFailed(I[64], 858, 61, "e"); + if (s == null) dart.nullFailed(I[64], 858, 75, "s"); + controller[_addError](e, s); + controller[_close](); + }, T$.ObjectAndStackTraceToNull()); + } + pause() { + this.addSubscription.pause(); + } + resume() { + this.addSubscription.resume(); + } + cancel() { + let cancel = this.addSubscription.cancel(); + if (cancel == null) { + this.addStreamFuture[_asyncComplete](null); + return async.Future._nullFuture; + } + return cancel.whenComplete(dart.fn(() => { + this.addStreamFuture[_asyncComplete](null); + }, T$.VoidToNull())); + } + complete() { + this.addStreamFuture[_asyncComplete](null); + } + } + (_AddStreamState.new = function(controller, source, cancelOnError) { + if (controller == null) dart.nullFailed(I[64], 849, 21, "controller"); + if (source == null) dart.nullFailed(I[64], 849, 43, "source"); + if (cancelOnError == null) dart.nullFailed(I[64], 849, 56, "cancelOnError"); + this.addStreamFuture = new async._Future.new(); + this.addSubscription = source.listen(dart.bind(controller, _add), {onError: T$.FunctionN().as(dart.test(cancelOnError) ? async._AddStreamState.makeErrorHandler(controller) : dart.bind(controller, _addError)), onDone: dart.bind(controller, _close), cancelOnError: cancelOnError}); + ; + }).prototype = _AddStreamState.prototype; + dart.addTypeTests(_AddStreamState); + _AddStreamState.prototype[_is__AddStreamState_default] = true; + dart.addTypeCaches(_AddStreamState); + dart.setMethodSignature(_AddStreamState, () => ({ + __proto__: dart.getMethods(_AddStreamState.__proto__), + pause: dart.fnType(dart.void, []), + resume: dart.fnType(dart.void, []), + cancel: dart.fnType(async.Future$(dart.void), []), + complete: dart.fnType(dart.void, []) + })); + dart.setLibraryUri(_AddStreamState, I[29]); + dart.setFieldSignature(_AddStreamState, () => ({ + __proto__: dart.getFields(_AddStreamState.__proto__), + addStreamFuture: dart.finalFieldType(async._Future), + addSubscription: dart.finalFieldType(async.StreamSubscription) + })); + return _AddStreamState; +}); +async._AddStreamState = async._AddStreamState$(); +dart.addTypeTests(async._AddStreamState, _is__AddStreamState_default); +const _is__StreamControllerAddStreamState_default = Symbol('_is__StreamControllerAddStreamState_default'); +async._StreamControllerAddStreamState$ = dart.generic(T => { + class _StreamControllerAddStreamState extends async._AddStreamState$(T) {} + (_StreamControllerAddStreamState.new = function(controller, varData, source, cancelOnError) { + if (controller == null) dart.nullFailed(I[64], 899, 56, "controller"); + if (source == null) dart.nullFailed(I[64], 900, 17, "source"); + if (cancelOnError == null) dart.nullFailed(I[64], 900, 30, "cancelOnError"); + this.varData = varData; + _StreamControllerAddStreamState.__proto__.new.call(this, controller, source, cancelOnError); + if (dart.test(controller.isPaused)) { + this.addSubscription.pause(); + } + }).prototype = _StreamControllerAddStreamState.prototype; + dart.addTypeTests(_StreamControllerAddStreamState); + _StreamControllerAddStreamState.prototype[_is__StreamControllerAddStreamState_default] = true; + dart.addTypeCaches(_StreamControllerAddStreamState); + dart.setLibraryUri(_StreamControllerAddStreamState, I[29]); + dart.setFieldSignature(_StreamControllerAddStreamState, () => ({ + __proto__: dart.getFields(_StreamControllerAddStreamState.__proto__), + varData: dart.fieldType(dart.dynamic) + })); + return _StreamControllerAddStreamState; +}); +async._StreamControllerAddStreamState = async._StreamControllerAddStreamState$(); +dart.addTypeTests(async._StreamControllerAddStreamState, _is__StreamControllerAddStreamState_default); +const _is__EventSink_default = Symbol('_is__EventSink_default'); +async._EventSink$ = dart.generic(T => { + class _EventSink extends core.Object {} + (_EventSink.new = function() { + ; + }).prototype = _EventSink.prototype; + dart.addTypeTests(_EventSink); + _EventSink.prototype[_is__EventSink_default] = true; + dart.addTypeCaches(_EventSink); + dart.setLibraryUri(_EventSink, I[29]); + return _EventSink; +}); +async._EventSink = async._EventSink$(); +dart.addTypeTests(async._EventSink, _is__EventSink_default); +const _is__EventDispatch_default = Symbol('_is__EventDispatch_default'); +async._EventDispatch$ = dart.generic(T => { + class _EventDispatch extends core.Object {} + (_EventDispatch.new = function() { + ; + }).prototype = _EventDispatch.prototype; + dart.addTypeTests(_EventDispatch); + _EventDispatch.prototype[_is__EventDispatch_default] = true; + dart.addTypeCaches(_EventDispatch); + dart.setLibraryUri(_EventDispatch, I[29]); + return _EventDispatch; +}); +async._EventDispatch = async._EventDispatch$(); +dart.addTypeTests(async._EventDispatch, _is__EventDispatch_default); +var _isUsed = dart.privateName(async, "_isUsed"); +const _is__GeneratedStreamImpl_default = Symbol('_is__GeneratedStreamImpl_default'); +async._GeneratedStreamImpl$ = dart.generic(T => { + var _BufferingStreamSubscriptionOfT = () => (_BufferingStreamSubscriptionOfT = dart.constFn(async._BufferingStreamSubscription$(T)))(); + class _GeneratedStreamImpl extends async._StreamImpl$(T) { + [_createSubscription](onData, onError, onDone, cancelOnError) { + let t115; + if (cancelOnError == null) dart.nullFailed(I[65], 504, 47, "cancelOnError"); + if (dart.test(this[_isUsed])) dart.throw(new core.StateError.new("Stream has already been listened to.")); + this[_isUsed] = true; + t115 = new (_BufferingStreamSubscriptionOfT()).new(onData, onError, onDone, cancelOnError); + return (() => { + t115[_setPendingEvents](this[_pending$]()); + return t115; + })(); + } + } + (_GeneratedStreamImpl.new = function(_pending) { + if (_pending == null) dart.nullFailed(I[65], 501, 29, "_pending"); + this[_isUsed] = false; + this[_pending$] = _pending; + _GeneratedStreamImpl.__proto__.new.call(this); + ; + }).prototype = _GeneratedStreamImpl.prototype; + dart.addTypeTests(_GeneratedStreamImpl); + _GeneratedStreamImpl.prototype[_is__GeneratedStreamImpl_default] = true; + dart.addTypeCaches(_GeneratedStreamImpl); + dart.setLibraryUri(_GeneratedStreamImpl, I[29]); + dart.setFieldSignature(_GeneratedStreamImpl, () => ({ + __proto__: dart.getFields(_GeneratedStreamImpl.__proto__), + [_pending$]: dart.finalFieldType(dart.fnType(async._PendingEvents$(T), [])), + [_isUsed]: dart.fieldType(core.bool) + })); + return _GeneratedStreamImpl; +}); +async._GeneratedStreamImpl = async._GeneratedStreamImpl$(); +dart.addTypeTests(async._GeneratedStreamImpl, _is__GeneratedStreamImpl_default); +var _iterator = dart.privateName(async, "_iterator"); +var _eventScheduled = dart.privateName(async, "_eventScheduled"); +const _is__PendingEvents_default = Symbol('_is__PendingEvents_default'); +async._PendingEvents$ = dart.generic(T => { + var _EventDispatchOfT = () => (_EventDispatchOfT = dart.constFn(async._EventDispatch$(T)))(); + class _PendingEvents extends core.Object { + get isScheduled() { + return this[_state] === 1; + } + get [_eventScheduled]() { + return dart.notNull(this[_state]) >= 1; + } + schedule(dispatch) { + _EventDispatchOfT().as(dispatch); + if (dispatch == null) dart.nullFailed(I[65], 651, 35, "dispatch"); + if (dart.test(this.isScheduled)) return; + if (!!dart.test(this.isEmpty)) dart.assertFailed(null, I[65], 653, 12, "!isEmpty"); + if (dart.test(this[_eventScheduled])) { + if (!(this[_state] === 3)) dart.assertFailed(null, I[65], 655, 14, "_state == _STATE_CANCELED"); + this[_state] = 1; + return; + } + async.scheduleMicrotask(dart.fn(() => { + let oldState = this[_state]; + this[_state] = 0; + if (oldState === 3) return; + this.handleNext(dispatch); + }, T$.VoidTovoid())); + this[_state] = 1; + } + cancelSchedule() { + if (dart.test(this.isScheduled)) this[_state] = 3; + } + } + (_PendingEvents.new = function() { + this[_state] = 0; + ; + }).prototype = _PendingEvents.prototype; + dart.addTypeTests(_PendingEvents); + _PendingEvents.prototype[_is__PendingEvents_default] = true; + dart.addTypeCaches(_PendingEvents); + dart.setMethodSignature(_PendingEvents, () => ({ + __proto__: dart.getMethods(_PendingEvents.__proto__), + schedule: dart.fnType(dart.void, [dart.nullable(core.Object)]), + cancelSchedule: dart.fnType(dart.void, []) + })); + dart.setGetterSignature(_PendingEvents, () => ({ + __proto__: dart.getGetters(_PendingEvents.__proto__), + isScheduled: core.bool, + [_eventScheduled]: core.bool + })); + dart.setLibraryUri(_PendingEvents, I[29]); + dart.setFieldSignature(_PendingEvents, () => ({ + __proto__: dart.getFields(_PendingEvents.__proto__), + [_state]: dart.fieldType(core.int) + })); + return _PendingEvents; +}); +async._PendingEvents = async._PendingEvents$(); +dart.defineLazy(async._PendingEvents, { + /*async._PendingEvents._STATE_UNSCHEDULED*/get _STATE_UNSCHEDULED() { + return 0; + }, + /*async._PendingEvents._STATE_SCHEDULED*/get _STATE_SCHEDULED() { + return 1; + }, + /*async._PendingEvents._STATE_CANCELED*/get _STATE_CANCELED() { + return 3; + } +}, false); +dart.addTypeTests(async._PendingEvents, _is__PendingEvents_default); +const _is__IterablePendingEvents_default = Symbol('_is__IterablePendingEvents_default'); +async._IterablePendingEvents$ = dart.generic(T => { + var _EventDispatchOfT = () => (_EventDispatchOfT = dart.constFn(async._EventDispatch$(T)))(); + class _IterablePendingEvents extends async._PendingEvents$(T) { + get isEmpty() { + return this[_iterator] == null; + } + handleNext(dispatch) { + _EventDispatchOfT().as(dispatch); + if (dispatch == null) dart.nullFailed(I[65], 523, 37, "dispatch"); + let iterator = this[_iterator]; + if (iterator == null) { + dart.throw(new core.StateError.new("No events pending.")); + } + let movedNext = false; + try { + if (dart.test(iterator.moveNext())) { + movedNext = true; + dispatch[_sendData](iterator.current); + } else { + this[_iterator] = null; + dispatch[_sendDone](); + } + } catch (e$) { + let e = dart.getThrown(e$); + let s = dart.stackTrace(e$); + if (core.Object.is(e)) { + if (!movedNext) { + this[_iterator] = C[20] || CT.C20; + } + dispatch[_sendError](e, s); + } else + throw e$; + } + } + clear() { + if (dart.test(this.isScheduled)) this.cancelSchedule(); + this[_iterator] = null; + } + } + (_IterablePendingEvents.new = function(data) { + if (data == null) dart.nullFailed(I[65], 519, 38, "data"); + this[_iterator] = data[$iterator]; + _IterablePendingEvents.__proto__.new.call(this); + ; + }).prototype = _IterablePendingEvents.prototype; + dart.addTypeTests(_IterablePendingEvents); + _IterablePendingEvents.prototype[_is__IterablePendingEvents_default] = true; + dart.addTypeCaches(_IterablePendingEvents); + dart.setMethodSignature(_IterablePendingEvents, () => ({ + __proto__: dart.getMethods(_IterablePendingEvents.__proto__), + handleNext: dart.fnType(dart.void, [dart.nullable(core.Object)]), + clear: dart.fnType(dart.void, []) + })); + dart.setGetterSignature(_IterablePendingEvents, () => ({ + __proto__: dart.getGetters(_IterablePendingEvents.__proto__), + isEmpty: core.bool + })); + dart.setLibraryUri(_IterablePendingEvents, I[29]); + dart.setFieldSignature(_IterablePendingEvents, () => ({ + __proto__: dart.getFields(_IterablePendingEvents.__proto__), + [_iterator]: dart.fieldType(dart.nullable(core.Iterator$(T))) + })); + return _IterablePendingEvents; +}); +async._IterablePendingEvents = async._IterablePendingEvents$(); +dart.addTypeTests(async._IterablePendingEvents, _is__IterablePendingEvents_default); +const _is__DelayedEvent_default = Symbol('_is__DelayedEvent_default'); +async._DelayedEvent$ = dart.generic(T => { + class _DelayedEvent extends core.Object {} + (_DelayedEvent.new = function() { + this.next = null; + ; + }).prototype = _DelayedEvent.prototype; + dart.addTypeTests(_DelayedEvent); + _DelayedEvent.prototype[_is__DelayedEvent_default] = true; + dart.addTypeCaches(_DelayedEvent); + dart.setLibraryUri(_DelayedEvent, I[29]); + dart.setFieldSignature(_DelayedEvent, () => ({ + __proto__: dart.getFields(_DelayedEvent.__proto__), + next: dart.fieldType(dart.nullable(async._DelayedEvent)) + })); + return _DelayedEvent; +}); +async._DelayedEvent = async._DelayedEvent$(); +dart.addTypeTests(async._DelayedEvent, _is__DelayedEvent_default); +const _is__DelayedData_default = Symbol('_is__DelayedData_default'); +async._DelayedData$ = dart.generic(T => { + var _EventDispatchOfT = () => (_EventDispatchOfT = dart.constFn(async._EventDispatch$(T)))(); + class _DelayedData extends async._DelayedEvent$(T) { + perform(dispatch) { + _EventDispatchOfT().as(dispatch); + if (dispatch == null) dart.nullFailed(I[65], 590, 34, "dispatch"); + dispatch[_sendData](this.value); + } + } + (_DelayedData.new = function(value) { + this.value = value; + _DelayedData.__proto__.new.call(this); + ; + }).prototype = _DelayedData.prototype; + dart.addTypeTests(_DelayedData); + _DelayedData.prototype[_is__DelayedData_default] = true; + dart.addTypeCaches(_DelayedData); + dart.setMethodSignature(_DelayedData, () => ({ + __proto__: dart.getMethods(_DelayedData.__proto__), + perform: dart.fnType(dart.void, [dart.nullable(core.Object)]) + })); + dart.setLibraryUri(_DelayedData, I[29]); + dart.setFieldSignature(_DelayedData, () => ({ + __proto__: dart.getFields(_DelayedData.__proto__), + value: dart.finalFieldType(T) + })); + return _DelayedData; +}); +async._DelayedData = async._DelayedData$(); +dart.addTypeTests(async._DelayedData, _is__DelayedData_default); +async._DelayedError = class _DelayedError extends async._DelayedEvent { + perform(dispatch) { + async._EventDispatch.as(dispatch); + if (dispatch == null) dart.nullFailed(I[65], 601, 31, "dispatch"); + dispatch[_sendError](this.error, this.stackTrace); + } +}; +(async._DelayedError.new = function(error, stackTrace) { + if (error == null) dart.nullFailed(I[65], 600, 22, "error"); + if (stackTrace == null) dart.nullFailed(I[65], 600, 34, "stackTrace"); + this.error = error; + this.stackTrace = stackTrace; + async._DelayedError.__proto__.new.call(this); + ; +}).prototype = async._DelayedError.prototype; +dart.addTypeTests(async._DelayedError); +dart.addTypeCaches(async._DelayedError); +dart.setMethodSignature(async._DelayedError, () => ({ + __proto__: dart.getMethods(async._DelayedError.__proto__), + perform: dart.fnType(dart.void, [dart.nullable(core.Object)]) +})); +dart.setLibraryUri(async._DelayedError, I[29]); +dart.setFieldSignature(async._DelayedError, () => ({ + __proto__: dart.getFields(async._DelayedError.__proto__), + error: dart.finalFieldType(core.Object), + stackTrace: dart.finalFieldType(core.StackTrace) +})); +async._DelayedDone = class _DelayedDone extends core.Object { + perform(dispatch) { + async._EventDispatch.as(dispatch); + if (dispatch == null) dart.nullFailed(I[65], 609, 31, "dispatch"); + dispatch[_sendDone](); + } + get next() { + return null; + } + set next(_) { + dart.throw(new core.StateError.new("No events after a done.")); + } +}; +(async._DelayedDone.new = function() { + ; +}).prototype = async._DelayedDone.prototype; +dart.addTypeTests(async._DelayedDone); +dart.addTypeCaches(async._DelayedDone); +async._DelayedDone[dart.implements] = () => [async._DelayedEvent]; +dart.setMethodSignature(async._DelayedDone, () => ({ + __proto__: dart.getMethods(async._DelayedDone.__proto__), + perform: dart.fnType(dart.void, [dart.nullable(core.Object)]) +})); +dart.setGetterSignature(async._DelayedDone, () => ({ + __proto__: dart.getGetters(async._DelayedDone.__proto__), + next: dart.nullable(async._DelayedEvent) +})); +dart.setSetterSignature(async._DelayedDone, () => ({ + __proto__: dart.getSetters(async._DelayedDone.__proto__), + next: dart.nullable(async._DelayedEvent) +})); +dart.setLibraryUri(async._DelayedDone, I[29]); +const _is__StreamImplEvents_default = Symbol('_is__StreamImplEvents_default'); +async._StreamImplEvents$ = dart.generic(T => { + var _EventDispatchOfT = () => (_EventDispatchOfT = dart.constFn(async._EventDispatch$(T)))(); + class _StreamImplEvents extends async._PendingEvents$(T) { + get isEmpty() { + return this.lastPendingEvent == null; + } + add(event) { + if (event == null) dart.nullFailed(I[65], 688, 26, "event"); + let lastEvent = this.lastPendingEvent; + if (lastEvent == null) { + this.firstPendingEvent = this.lastPendingEvent = event; + } else { + this.lastPendingEvent = lastEvent.next = event; + } + } + handleNext(dispatch) { + _EventDispatchOfT().as(dispatch); + if (dispatch == null) dart.nullFailed(I[65], 697, 37, "dispatch"); + if (!!dart.test(this.isScheduled)) dart.assertFailed(null, I[65], 698, 12, "!isScheduled"); + if (!!dart.test(this.isEmpty)) dart.assertFailed(null, I[65], 699, 12, "!isEmpty"); + let event = dart.nullCheck(this.firstPendingEvent); + let nextEvent = event.next; + this.firstPendingEvent = nextEvent; + if (nextEvent == null) { + this.lastPendingEvent = null; + } + event.perform(dispatch); + } + clear() { + if (dart.test(this.isScheduled)) this.cancelSchedule(); + this.firstPendingEvent = this.lastPendingEvent = null; + } + } + (_StreamImplEvents.new = function() { + this.firstPendingEvent = null; + this.lastPendingEvent = null; + _StreamImplEvents.__proto__.new.call(this); + ; + }).prototype = _StreamImplEvents.prototype; + dart.addTypeTests(_StreamImplEvents); + _StreamImplEvents.prototype[_is__StreamImplEvents_default] = true; + dart.addTypeCaches(_StreamImplEvents); + dart.setMethodSignature(_StreamImplEvents, () => ({ + __proto__: dart.getMethods(_StreamImplEvents.__proto__), + add: dart.fnType(dart.void, [async._DelayedEvent]), + handleNext: dart.fnType(dart.void, [dart.nullable(core.Object)]), + clear: dart.fnType(dart.void, []) + })); + dart.setGetterSignature(_StreamImplEvents, () => ({ + __proto__: dart.getGetters(_StreamImplEvents.__proto__), + isEmpty: core.bool + })); + dart.setLibraryUri(_StreamImplEvents, I[29]); + dart.setFieldSignature(_StreamImplEvents, () => ({ + __proto__: dart.getFields(_StreamImplEvents.__proto__), + firstPendingEvent: dart.fieldType(dart.nullable(async._DelayedEvent)), + lastPendingEvent: dart.fieldType(dart.nullable(async._DelayedEvent)) + })); + return _StreamImplEvents; +}); +async._StreamImplEvents = async._StreamImplEvents$(); +dart.addTypeTests(async._StreamImplEvents, _is__StreamImplEvents_default); +var _schedule = dart.privateName(async, "_schedule"); +var _isSent = dart.privateName(async, "_isSent"); +var _isScheduled = dart.privateName(async, "_isScheduled"); +const _is__DoneStreamSubscription_default = Symbol('_is__DoneStreamSubscription_default'); +async._DoneStreamSubscription$ = dart.generic(T => { + class _DoneStreamSubscription extends core.Object { + get [_isSent]() { + return (dart.notNull(this[_state]) & 1) !== 0; + } + get [_isScheduled]() { + return (dart.notNull(this[_state]) & 2) !== 0; + } + get isPaused() { + return dart.notNull(this[_state]) >= 4; + } + [_schedule]() { + if (dart.test(this[_isScheduled])) return; + this[_zone$].scheduleMicrotask(dart.bind(this, _sendDone)); + this[_state] = (dart.notNull(this[_state]) | 2) >>> 0; + } + onData(handleData) { + } + onError(handleError) { + } + onDone(handleDone) { + this[_onDone$] = handleDone; + } + pause(resumeSignal = null) { + this[_state] = dart.notNull(this[_state]) + 4; + if (resumeSignal != null) resumeSignal.whenComplete(dart.bind(this, 'resume')); + } + resume() { + if (dart.test(this.isPaused)) { + this[_state] = dart.notNull(this[_state]) - 4; + if (!dart.test(this.isPaused) && !dart.test(this[_isSent])) { + this[_schedule](); + } + } + } + cancel() { + return async.Future._nullFuture; + } + asFuture(E, futureValue = null) { + let resultValue = null; + if (futureValue == null) { + if (!dart.test(_internal.typeAcceptsNull(E))) { + dart.throw(new core.ArgumentError.notNull("futureValue")); + } + resultValue = E.as(futureValue); + } else { + resultValue = futureValue; + } + let result = new (async._Future$(E)).new(); + this[_onDone$] = dart.fn(() => { + result[_completeWithValue](resultValue); + }, T$.VoidTovoid()); + return result; + } + [_sendDone]() { + this[_state] = (dart.notNull(this[_state]) & ~2 >>> 0) >>> 0; + if (dart.test(this.isPaused)) return; + this[_state] = (dart.notNull(this[_state]) | 1) >>> 0; + let doneHandler = this[_onDone$]; + if (doneHandler != null) this[_zone$].runGuarded(doneHandler); + } + } + (_DoneStreamSubscription.new = function(_onDone) { + this[_state] = 0; + this[_onDone$] = _onDone; + this[_zone$] = async.Zone.current; + this[_schedule](); + }).prototype = _DoneStreamSubscription.prototype; + _DoneStreamSubscription.prototype[dart.isStreamSubscription] = true; + dart.addTypeTests(_DoneStreamSubscription); + _DoneStreamSubscription.prototype[_is__DoneStreamSubscription_default] = true; + dart.addTypeCaches(_DoneStreamSubscription); + _DoneStreamSubscription[dart.implements] = () => [async.StreamSubscription$(T)]; + dart.setMethodSignature(_DoneStreamSubscription, () => ({ + __proto__: dart.getMethods(_DoneStreamSubscription.__proto__), + [_schedule]: dart.fnType(dart.void, []), + onData: dart.fnType(dart.void, [dart.nullable(dart.fnType(dart.void, [T]))]), + onError: dart.fnType(dart.void, [dart.nullable(core.Function)]), + onDone: dart.fnType(dart.void, [dart.nullable(dart.fnType(dart.void, []))]), + pause: dart.fnType(dart.void, [], [dart.nullable(async.Future$(dart.void))]), + resume: dart.fnType(dart.void, []), + cancel: dart.fnType(async.Future, []), + asFuture: dart.gFnType(E => [async.Future$(E), [], [dart.nullable(E)]], E => [dart.nullable(core.Object)]), + [_sendDone]: dart.fnType(dart.void, []) + })); + dart.setGetterSignature(_DoneStreamSubscription, () => ({ + __proto__: dart.getGetters(_DoneStreamSubscription.__proto__), + [_isSent]: core.bool, + [_isScheduled]: core.bool, + isPaused: core.bool + })); + dart.setLibraryUri(_DoneStreamSubscription, I[29]); + dart.setFieldSignature(_DoneStreamSubscription, () => ({ + __proto__: dart.getFields(_DoneStreamSubscription.__proto__), + [_zone$]: dart.finalFieldType(async.Zone), + [_state]: dart.fieldType(core.int), + [_onDone$]: dart.fieldType(dart.nullable(dart.fnType(dart.void, []))) + })); + return _DoneStreamSubscription; +}); +async._DoneStreamSubscription = async._DoneStreamSubscription$(); +dart.defineLazy(async._DoneStreamSubscription, { + /*async._DoneStreamSubscription._DONE_SENT*/get _DONE_SENT() { + return 1; + }, + /*async._DoneStreamSubscription._SCHEDULED*/get _SCHEDULED() { + return 2; + }, + /*async._DoneStreamSubscription._PAUSED*/get _PAUSED() { + return 4; + } +}, false); +dart.addTypeTests(async._DoneStreamSubscription, _is__DoneStreamSubscription_default); +var _source$4 = dart.privateName(async, "_source"); +var _onListenHandler = dart.privateName(async, "_onListenHandler"); +var _onCancelHandler = dart.privateName(async, "_onCancelHandler"); +var _cancelSubscription = dart.privateName(async, "_cancelSubscription"); +var _pauseSubscription = dart.privateName(async, "_pauseSubscription"); +var _resumeSubscription = dart.privateName(async, "_resumeSubscription"); +var _isSubscriptionPaused = dart.privateName(async, "_isSubscriptionPaused"); +const _is__AsBroadcastStream_default = Symbol('_is__AsBroadcastStream_default'); +async._AsBroadcastStream$ = dart.generic(T => { + var StreamSubscriptionOfT = () => (StreamSubscriptionOfT = dart.constFn(async.StreamSubscription$(T)))(); + var _AsBroadcastStreamControllerOfT = () => (_AsBroadcastStreamControllerOfT = dart.constFn(async._AsBroadcastStreamController$(T)))(); + var _DoneStreamSubscriptionOfT = () => (_DoneStreamSubscriptionOfT = dart.constFn(async._DoneStreamSubscription$(T)))(); + var _BroadcastSubscriptionWrapperOfT = () => (_BroadcastSubscriptionWrapperOfT = dart.constFn(async._BroadcastSubscriptionWrapper$(T)))(); + class _AsBroadcastStream extends async.Stream$(T) { + get isBroadcast() { + return true; + } + listen(onData, opts) { + let t116; + let onError = opts && 'onError' in opts ? opts.onError : null; + let onDone = opts && 'onDone' in opts ? opts.onDone : null; + let cancelOnError = opts && 'cancelOnError' in opts ? opts.cancelOnError : null; + let controller = this[_controller$]; + if (controller == null || dart.test(controller.isClosed)) { + return new (_DoneStreamSubscriptionOfT()).new(onDone); + } + this[_subscription] == null ? this[_subscription] = this[_source$4].listen(dart.bind(controller, 'add'), {onError: dart.bind(controller, 'addError'), onDone: dart.bind(controller, 'close')}) : null; + return controller[_subscribe](onData, onError, onDone, (t116 = cancelOnError, t116 == null ? false : t116)); + } + [_onCancel]() { + let controller = this[_controller$]; + let shutdown = controller == null || dart.test(controller.isClosed); + let cancelHandler = this[_onCancelHandler]; + if (cancelHandler != null) { + this[_zone$].runUnary(dart.void, _BroadcastSubscriptionWrapperOfT(), cancelHandler, new (_BroadcastSubscriptionWrapperOfT()).new(this)); + } + if (shutdown) { + let subscription = this[_subscription]; + if (subscription != null) { + subscription.cancel(); + this[_subscription] = null; + } + } + } + [_onListen$]() { + let listenHandler = this[_onListenHandler]; + if (listenHandler != null) { + this[_zone$].runUnary(dart.void, _BroadcastSubscriptionWrapperOfT(), listenHandler, new (_BroadcastSubscriptionWrapperOfT()).new(this)); + } + } + [_cancelSubscription]() { + let subscription = this[_subscription]; + if (subscription != null) { + this[_subscription] = null; + this[_controller$] = null; + subscription.cancel(); + } + } + [_pauseSubscription](resumeSignal) { + let t116; + t116 = this[_subscription]; + t116 == null ? null : t116.pause(resumeSignal); + } + [_resumeSubscription]() { + let t116; + t116 = this[_subscription]; + t116 == null ? null : t116.resume(); + } + get [_isSubscriptionPaused]() { + let t116, t116$; + t116$ = (t116 = this[_subscription], t116 == null ? null : t116.isPaused); + return t116$ == null ? false : t116$; + } + } + (_AsBroadcastStream.new = function(_source, onListenHandler, onCancelHandler) { + if (_source == null) dart.nullFailed(I[65], 799, 12, "_source"); + this[_controller$] = null; + this[_subscription] = null; + this[_source$4] = _source; + this[_onListenHandler] = onListenHandler == null ? null : async.Zone.current.registerUnaryCallback(dart.void, StreamSubscriptionOfT(), onListenHandler); + this[_onCancelHandler] = onCancelHandler == null ? null : async.Zone.current.registerUnaryCallback(dart.void, StreamSubscriptionOfT(), onCancelHandler); + this[_zone$] = async.Zone.current; + _AsBroadcastStream.__proto__.new.call(this); + this[_controller$] = new (_AsBroadcastStreamControllerOfT()).new(dart.bind(this, _onListen$), dart.bind(this, _onCancel)); + }).prototype = _AsBroadcastStream.prototype; + dart.addTypeTests(_AsBroadcastStream); + _AsBroadcastStream.prototype[_is__AsBroadcastStream_default] = true; + dart.addTypeCaches(_AsBroadcastStream); + dart.setMethodSignature(_AsBroadcastStream, () => ({ + __proto__: dart.getMethods(_AsBroadcastStream.__proto__), + listen: dart.fnType(async.StreamSubscription$(T), [dart.nullable(dart.fnType(dart.void, [T]))], {cancelOnError: dart.nullable(core.bool), onDone: dart.nullable(dart.fnType(dart.void, [])), onError: dart.nullable(core.Function)}, {}), + [_onCancel]: dart.fnType(dart.void, []), + [_onListen$]: dart.fnType(dart.void, []), + [_cancelSubscription]: dart.fnType(dart.void, []), + [_pauseSubscription]: dart.fnType(dart.void, [dart.nullable(async.Future$(dart.void))]), + [_resumeSubscription]: dart.fnType(dart.void, []) + })); + dart.setGetterSignature(_AsBroadcastStream, () => ({ + __proto__: dart.getGetters(_AsBroadcastStream.__proto__), + [_isSubscriptionPaused]: core.bool + })); + dart.setLibraryUri(_AsBroadcastStream, I[29]); + dart.setFieldSignature(_AsBroadcastStream, () => ({ + __proto__: dart.getFields(_AsBroadcastStream.__proto__), + [_source$4]: dart.finalFieldType(async.Stream$(T)), + [_onListenHandler]: dart.finalFieldType(dart.nullable(dart.fnType(dart.void, [async.StreamSubscription$(T)]))), + [_onCancelHandler]: dart.finalFieldType(dart.nullable(dart.fnType(dart.void, [async.StreamSubscription$(T)]))), + [_zone$]: dart.finalFieldType(async.Zone), + [_controller$]: dart.fieldType(dart.nullable(async._AsBroadcastStreamController$(T))), + [_subscription]: dart.fieldType(dart.nullable(async.StreamSubscription$(T))) + })); + return _AsBroadcastStream; +}); +async._AsBroadcastStream = async._AsBroadcastStream$(); +dart.addTypeTests(async._AsBroadcastStream, _is__AsBroadcastStream_default); +const _is__BroadcastSubscriptionWrapper_default = Symbol('_is__BroadcastSubscriptionWrapper_default'); +async._BroadcastSubscriptionWrapper$ = dart.generic(T => { + class _BroadcastSubscriptionWrapper extends core.Object { + onData(handleData) { + dart.throw(new core.UnsupportedError.new("Cannot change handlers of asBroadcastStream source subscription.")); + } + onError(handleError) { + dart.throw(new core.UnsupportedError.new("Cannot change handlers of asBroadcastStream source subscription.")); + } + onDone(handleDone) { + dart.throw(new core.UnsupportedError.new("Cannot change handlers of asBroadcastStream source subscription.")); + } + pause(resumeSignal = null) { + this[_stream$][_pauseSubscription](resumeSignal); + } + resume() { + this[_stream$][_resumeSubscription](); + } + cancel() { + this[_stream$][_cancelSubscription](); + return async.Future._nullFuture; + } + get isPaused() { + return this[_stream$][_isSubscriptionPaused]; + } + asFuture(E, futureValue = null) { + dart.throw(new core.UnsupportedError.new("Cannot change handlers of asBroadcastStream source subscription.")); + } + } + (_BroadcastSubscriptionWrapper.new = function(_stream) { + if (_stream == null) dart.nullFailed(I[65], 881, 38, "_stream"); + this[_stream$] = _stream; + ; + }).prototype = _BroadcastSubscriptionWrapper.prototype; + _BroadcastSubscriptionWrapper.prototype[dart.isStreamSubscription] = true; + dart.addTypeTests(_BroadcastSubscriptionWrapper); + _BroadcastSubscriptionWrapper.prototype[_is__BroadcastSubscriptionWrapper_default] = true; + dart.addTypeCaches(_BroadcastSubscriptionWrapper); + _BroadcastSubscriptionWrapper[dart.implements] = () => [async.StreamSubscription$(T)]; + dart.setMethodSignature(_BroadcastSubscriptionWrapper, () => ({ + __proto__: dart.getMethods(_BroadcastSubscriptionWrapper.__proto__), + onData: dart.fnType(dart.void, [dart.nullable(dart.fnType(dart.void, [T]))]), + onError: dart.fnType(dart.void, [dart.nullable(core.Function)]), + onDone: dart.fnType(dart.void, [dart.nullable(dart.fnType(dart.void, []))]), + pause: dart.fnType(dart.void, [], [dart.nullable(async.Future$(dart.void))]), + resume: dart.fnType(dart.void, []), + cancel: dart.fnType(async.Future, []), + asFuture: dart.gFnType(E => [async.Future$(E), [], [dart.nullable(E)]], E => [dart.nullable(core.Object)]) + })); + dart.setGetterSignature(_BroadcastSubscriptionWrapper, () => ({ + __proto__: dart.getGetters(_BroadcastSubscriptionWrapper.__proto__), + isPaused: core.bool + })); + dart.setLibraryUri(_BroadcastSubscriptionWrapper, I[29]); + dart.setFieldSignature(_BroadcastSubscriptionWrapper, () => ({ + __proto__: dart.getFields(_BroadcastSubscriptionWrapper.__proto__), + [_stream$]: dart.finalFieldType(async._AsBroadcastStream) + })); + return _BroadcastSubscriptionWrapper; +}); +async._BroadcastSubscriptionWrapper = async._BroadcastSubscriptionWrapper$(); +dart.addTypeTests(async._BroadcastSubscriptionWrapper, _is__BroadcastSubscriptionWrapper_default); +var _hasValue$0 = dart.privateName(async, "_hasValue"); +var _stateData = dart.privateName(async, "_stateData"); +var _initializeOrDone = dart.privateName(async, "_initializeOrDone"); +const _is__StreamIterator_default = Symbol('_is__StreamIterator_default'); +async._StreamIterator$ = dart.generic(T => { + var StreamOfT = () => (StreamOfT = dart.constFn(async.Stream$(T)))(); + class _StreamIterator extends core.Object { + get current() { + if (dart.test(this[_hasValue$0])) return T.as(this[_stateData]); + return T.as(null); + } + moveNext() { + let subscription = this[_subscription]; + if (subscription != null) { + if (dart.test(this[_hasValue$0])) { + let future = new (T$._FutureOfbool()).new(); + this[_stateData] = future; + this[_hasValue$0] = false; + subscription.resume(); + return future; + } + dart.throw(new core.StateError.new("Already waiting for next.")); + } + return this[_initializeOrDone](); + } + [_initializeOrDone]() { + if (!(this[_subscription] == null)) dart.assertFailed(null, I[65], 1012, 12, "_subscription == null"); + let stateData = this[_stateData]; + if (stateData != null) { + let stream = StreamOfT().as(stateData); + let future = new (T$._FutureOfbool()).new(); + this[_stateData] = future; + let subscription = stream.listen(dart.bind(this, _onData$), {onError: dart.bind(this, _onError), onDone: dart.bind(this, _onDone$), cancelOnError: true}); + if (this[_stateData] != null) { + this[_subscription] = subscription; + } + return future; + } + return async.Future._falseFuture; + } + cancel() { + let subscription = this[_subscription]; + let stateData = this[_stateData]; + this[_stateData] = null; + if (subscription != null) { + this[_subscription] = null; + if (!dart.test(this[_hasValue$0])) { + let future = T$._FutureOfbool().as(stateData); + future[_asyncComplete](false); + } else { + this[_hasValue$0] = false; + } + return subscription.cancel(); + } + return async.Future._nullFuture; + } + [_onData$](data) { + let t116; + T.as(data); + if (this[_subscription] == null) return; + let moveNextFuture = T$._FutureOfbool().as(this[_stateData]); + this[_stateData] = data; + this[_hasValue$0] = true; + moveNextFuture[_complete](true); + if (dart.test(this[_hasValue$0])) { + t116 = this[_subscription]; + t116 == null ? null : t116.pause(); + } + } + [_onError](error, stackTrace) { + if (error == null) dart.nullFailed(I[65], 1066, 24, "error"); + if (stackTrace == null) dart.nullFailed(I[65], 1066, 42, "stackTrace"); + let subscription = this[_subscription]; + let moveNextFuture = T$._FutureOfbool().as(this[_stateData]); + this[_subscription] = null; + this[_stateData] = null; + if (subscription != null) { + moveNextFuture[_completeError](error, stackTrace); + } else { + moveNextFuture[_asyncCompleteError](error, stackTrace); + } + } + [_onDone$]() { + let subscription = this[_subscription]; + let moveNextFuture = T$._FutureOfbool().as(this[_stateData]); + this[_subscription] = null; + this[_stateData] = null; + if (subscription != null) { + moveNextFuture[_completeWithValue](false); + } else { + moveNextFuture[_asyncCompleteWithValue](false); + } + } + } + (_StreamIterator.new = function(stream) { + if (stream == null) dart.nullFailed(I[65], 983, 35, "stream"); + this[_subscription] = null; + this[_hasValue$0] = false; + this[_stateData] = _internal.checkNotNullable(core.Object, stream, "stream"); + ; + }).prototype = _StreamIterator.prototype; + dart.addTypeTests(_StreamIterator); + _StreamIterator.prototype[_is__StreamIterator_default] = true; + dart.addTypeCaches(_StreamIterator); + _StreamIterator[dart.implements] = () => [async.StreamIterator$(T)]; + dart.setMethodSignature(_StreamIterator, () => ({ + __proto__: dart.getMethods(_StreamIterator.__proto__), + moveNext: dart.fnType(async.Future$(core.bool), []), + [_initializeOrDone]: dart.fnType(async.Future$(core.bool), []), + cancel: dart.fnType(async.Future, []), + [_onData$]: dart.fnType(dart.void, [dart.nullable(core.Object)]), + [_onError]: dart.fnType(dart.void, [core.Object, core.StackTrace]), + [_onDone$]: dart.fnType(dart.void, []) + })); + dart.setGetterSignature(_StreamIterator, () => ({ + __proto__: dart.getGetters(_StreamIterator.__proto__), + current: T + })); + dart.setLibraryUri(_StreamIterator, I[29]); + dart.setFieldSignature(_StreamIterator, () => ({ + __proto__: dart.getFields(_StreamIterator.__proto__), + [_subscription]: dart.fieldType(dart.nullable(async.StreamSubscription$(T))), + [_stateData]: dart.fieldType(dart.nullable(core.Object)), + [_hasValue$0]: dart.fieldType(core.bool) + })); + return _StreamIterator; +}); +async._StreamIterator = async._StreamIterator$(); +dart.addTypeTests(async._StreamIterator, _is__StreamIterator_default); +const _is__EmptyStream_default = Symbol('_is__EmptyStream_default'); +async._EmptyStream$ = dart.generic(T => { + var _DoneStreamSubscriptionOfT = () => (_DoneStreamSubscriptionOfT = dart.constFn(async._DoneStreamSubscription$(T)))(); + class _EmptyStream extends async.Stream$(T) { + get isBroadcast() { + return true; + } + listen(onData, opts) { + let onError = opts && 'onError' in opts ? opts.onError : null; + let onDone = opts && 'onDone' in opts ? opts.onDone : null; + let cancelOnError = opts && 'cancelOnError' in opts ? opts.cancelOnError : null; + return new (_DoneStreamSubscriptionOfT()).new(onDone); + } + } + (_EmptyStream.new = function() { + _EmptyStream.__proto__._internal.call(this); + ; + }).prototype = _EmptyStream.prototype; + dart.addTypeTests(_EmptyStream); + _EmptyStream.prototype[_is__EmptyStream_default] = true; + dart.addTypeCaches(_EmptyStream); + dart.setMethodSignature(_EmptyStream, () => ({ + __proto__: dart.getMethods(_EmptyStream.__proto__), + listen: dart.fnType(async.StreamSubscription$(T), [dart.nullable(dart.fnType(dart.void, [T]))], {cancelOnError: dart.nullable(core.bool), onDone: dart.nullable(dart.fnType(dart.void, [])), onError: dart.nullable(core.Function)}, {}) + })); + dart.setLibraryUri(_EmptyStream, I[29]); + return _EmptyStream; +}); +async._EmptyStream = async._EmptyStream$(); +dart.addTypeTests(async._EmptyStream, _is__EmptyStream_default); +var isBroadcast$ = dart.privateName(async, "_MultiStream.isBroadcast"); +const _is__MultiStream_default = Symbol('_is__MultiStream_default'); +async._MultiStream$ = dart.generic(T => { + var _MultiStreamControllerOfT = () => (_MultiStreamControllerOfT = dart.constFn(async._MultiStreamController$(T)))(); + class _MultiStream extends async.Stream$(T) { + get isBroadcast() { + return this[isBroadcast$]; + } + set isBroadcast(value) { + super.isBroadcast = value; + } + listen(onData, opts) { + let t116; + let onError = opts && 'onError' in opts ? opts.onError : null; + let onDone = opts && 'onDone' in opts ? opts.onDone : null; + let cancelOnError = opts && 'cancelOnError' in opts ? opts.cancelOnError : null; + let controller = new (_MultiStreamControllerOfT()).new(); + controller.onListen = dart.fn(() => { + let t116; + t116 = controller; + this[_onListen$](t116); + }, T$.VoidTovoid()); + return controller[_subscribe](onData, onError, onDone, (t116 = cancelOnError, t116 == null ? false : t116)); + } + } + (_MultiStream.new = function(_onListen, isBroadcast) { + if (_onListen == null) dart.nullFailed(I[65], 1110, 21, "_onListen"); + if (isBroadcast == null) dart.nullFailed(I[65], 1110, 37, "isBroadcast"); + this[_onListen$] = _onListen; + this[isBroadcast$] = isBroadcast; + _MultiStream.__proto__.new.call(this); + ; + }).prototype = _MultiStream.prototype; + dart.addTypeTests(_MultiStream); + _MultiStream.prototype[_is__MultiStream_default] = true; + dart.addTypeCaches(_MultiStream); + dart.setMethodSignature(_MultiStream, () => ({ + __proto__: dart.getMethods(_MultiStream.__proto__), + listen: dart.fnType(async.StreamSubscription$(T), [dart.nullable(dart.fnType(dart.void, [T]))], {cancelOnError: dart.nullable(core.bool), onDone: dart.nullable(dart.fnType(dart.void, [])), onError: dart.nullable(core.Function)}, {}) + })); + dart.setLibraryUri(_MultiStream, I[29]); + dart.setFieldSignature(_MultiStream, () => ({ + __proto__: dart.getFields(_MultiStream.__proto__), + isBroadcast: dart.finalFieldType(core.bool), + [_onListen$]: dart.finalFieldType(dart.fnType(dart.void, [async.MultiStreamController$(T)])) + })); + return _MultiStream; +}); +async._MultiStream = async._MultiStream$(); +dart.addTypeTests(async._MultiStream, _is__MultiStream_default); +const _is__MultiStreamController_default = Symbol('_is__MultiStreamController_default'); +async._MultiStreamController$ = dart.generic(T => { + class _MultiStreamController extends async._AsyncStreamController$(T) { + addSync(data) { + T.as(data); + if (!dart.test(this[_mayAddEvent])) dart.throw(this[_badEventState]()); + if (dart.test(this.hasListener)) this[_subscription][_add](data); + } + addErrorSync(error, stackTrace = null) { + let t116; + if (error == null) dart.nullFailed(I[65], 1132, 28, "error"); + if (!dart.test(this[_mayAddEvent])) dart.throw(this[_badEventState]()); + if (dart.test(this.hasListener)) { + this[_subscription][_addError](error, (t116 = stackTrace, t116 == null ? core.StackTrace.empty : t116)); + } + } + closeSync() { + if (dart.test(this.isClosed)) return; + if (!dart.test(this[_mayAddEvent])) dart.throw(this[_badEventState]()); + this[_state] = (dart.notNull(this[_state]) | 4) >>> 0; + if (dart.test(this.hasListener)) this[_subscription][_close](); + } + get stream() { + dart.throw(new core.UnsupportedError.new("Not available")); + } + } + (_MultiStreamController.new = function() { + _MultiStreamController.__proto__.new.call(this, null, null, null, null); + ; + }).prototype = _MultiStreamController.prototype; + dart.addTypeTests(_MultiStreamController); + _MultiStreamController.prototype[_is__MultiStreamController_default] = true; + dart.addTypeCaches(_MultiStreamController); + _MultiStreamController[dart.implements] = () => [async.MultiStreamController$(T)]; + dart.setMethodSignature(_MultiStreamController, () => ({ + __proto__: dart.getMethods(_MultiStreamController.__proto__), + addSync: dart.fnType(dart.void, [dart.nullable(core.Object)]), + addErrorSync: dart.fnType(dart.void, [core.Object], [dart.nullable(core.StackTrace)]), + closeSync: dart.fnType(dart.void, []) + })); + dart.setLibraryUri(_MultiStreamController, I[29]); + return _MultiStreamController; +}); +async._MultiStreamController = async._MultiStreamController$(); +dart.addTypeTests(async._MultiStreamController, _is__MultiStreamController_default); +var _handleError$ = dart.privateName(async, "_handleError"); +var _handleDone$ = dart.privateName(async, "_handleDone"); +const _is__ForwardingStream_default = Symbol('_is__ForwardingStream_default'); +async._ForwardingStream$ = dart.generic((S, T) => { + var _ForwardingStreamSubscriptionOfS$T = () => (_ForwardingStreamSubscriptionOfS$T = dart.constFn(async._ForwardingStreamSubscription$(S, T)))(); + var _EventSinkOfT = () => (_EventSinkOfT = dart.constFn(async._EventSink$(T)))(); + class _ForwardingStream extends async.Stream$(T) { + get isBroadcast() { + return this[_source$4].isBroadcast; + } + listen(onData, opts) { + let t116; + let onError = opts && 'onError' in opts ? opts.onError : null; + let onDone = opts && 'onDone' in opts ? opts.onDone : null; + let cancelOnError = opts && 'cancelOnError' in opts ? opts.cancelOnError : null; + return this[_createSubscription](onData, onError, onDone, (t116 = cancelOnError, t116 == null ? false : t116)); + } + [_createSubscription](onData, onError, onDone, cancelOnError) { + if (cancelOnError == null) dart.nullFailed(I[70], 85, 47, "cancelOnError"); + return new (_ForwardingStreamSubscriptionOfS$T()).new(this, onData, onError, onDone, cancelOnError); + } + [_handleError$](error, stackTrace, sink) { + if (error == null) dart.nullFailed(I[70], 94, 28, "error"); + if (stackTrace == null) dart.nullFailed(I[70], 94, 46, "stackTrace"); + _EventSinkOfT().as(sink); + if (sink == null) dart.nullFailed(I[70], 94, 72, "sink"); + sink[_addError](error, stackTrace); + } + [_handleDone$](sink) { + _EventSinkOfT().as(sink); + if (sink == null) dart.nullFailed(I[70], 98, 34, "sink"); + sink[_close](); + } + } + (_ForwardingStream.new = function(_source) { + if (_source == null) dart.nullFailed(I[70], 75, 26, "_source"); + this[_source$4] = _source; + _ForwardingStream.__proto__.new.call(this); + ; + }).prototype = _ForwardingStream.prototype; + dart.addTypeTests(_ForwardingStream); + _ForwardingStream.prototype[_is__ForwardingStream_default] = true; + dart.addTypeCaches(_ForwardingStream); + dart.setMethodSignature(_ForwardingStream, () => ({ + __proto__: dart.getMethods(_ForwardingStream.__proto__), + listen: dart.fnType(async.StreamSubscription$(T), [dart.nullable(dart.fnType(dart.void, [T]))], {cancelOnError: dart.nullable(core.bool), onDone: dart.nullable(dart.fnType(dart.void, [])), onError: dart.nullable(core.Function)}, {}), + [_createSubscription]: dart.fnType(async.StreamSubscription$(T), [dart.nullable(dart.fnType(dart.void, [T])), dart.nullable(core.Function), dart.nullable(dart.fnType(dart.void, [])), core.bool]), + [_handleError$]: dart.fnType(dart.void, [core.Object, core.StackTrace, dart.nullable(core.Object)]), + [_handleDone$]: dart.fnType(dart.void, [dart.nullable(core.Object)]) + })); + dart.setLibraryUri(_ForwardingStream, I[29]); + dart.setFieldSignature(_ForwardingStream, () => ({ + __proto__: dart.getFields(_ForwardingStream.__proto__), + [_source$4]: dart.finalFieldType(async.Stream$(S)) + })); + return _ForwardingStream; +}); +async._ForwardingStream = async._ForwardingStream$(); +dart.addTypeTests(async._ForwardingStream, _is__ForwardingStream_default); +var _handleData$ = dart.privateName(async, "_handleData"); +const _is__ForwardingStreamSubscription_default = Symbol('_is__ForwardingStreamSubscription_default'); +async._ForwardingStreamSubscription$ = dart.generic((S, T) => { + class _ForwardingStreamSubscription extends async._BufferingStreamSubscription$(T) { + [_add](data) { + T.as(data); + if (dart.test(this[_isClosed])) return; + super[_add](data); + } + [_addError](error, stackTrace) { + if (error == null) dart.nullFailed(I[70], 126, 25, "error"); + if (stackTrace == null) dart.nullFailed(I[70], 126, 43, "stackTrace"); + if (dart.test(this[_isClosed])) return; + super[_addError](error, stackTrace); + } + [_onPause]() { + let t116; + t116 = this[_subscription]; + t116 == null ? null : t116.pause(); + } + [_onResume]() { + let t116; + t116 = this[_subscription]; + t116 == null ? null : t116.resume(); + } + [_onCancel]() { + let subscription = this[_subscription]; + if (subscription != null) { + this[_subscription] = null; + return subscription.cancel(); + } + return null; + } + [_handleData$](data) { + S.as(data); + this[_stream$][_handleData$](data, this); + } + [_handleError$](error, stackTrace) { + if (stackTrace == null) dart.nullFailed(I[70], 156, 39, "stackTrace"); + this[_stream$][_handleError$](core.Object.as(error), stackTrace, this); + } + [_handleDone$]() { + this[_stream$][_handleDone$](this); + } + } + (_ForwardingStreamSubscription.new = function(_stream, onData, onError, onDone, cancelOnError) { + if (_stream == null) dart.nullFailed(I[70], 110, 38, "_stream"); + if (cancelOnError == null) dart.nullFailed(I[70], 111, 47, "cancelOnError"); + this[_subscription] = null; + this[_stream$] = _stream; + _ForwardingStreamSubscription.__proto__.new.call(this, onData, onError, onDone, cancelOnError); + this[_subscription] = this[_stream$][_source$4].listen(dart.bind(this, _handleData$), {onError: dart.bind(this, _handleError$), onDone: dart.bind(this, _handleDone$)}); + }).prototype = _ForwardingStreamSubscription.prototype; + dart.addTypeTests(_ForwardingStreamSubscription); + _ForwardingStreamSubscription.prototype[_is__ForwardingStreamSubscription_default] = true; + dart.addTypeCaches(_ForwardingStreamSubscription); + dart.setMethodSignature(_ForwardingStreamSubscription, () => ({ + __proto__: dart.getMethods(_ForwardingStreamSubscription.__proto__), + [_handleData$]: dart.fnType(dart.void, [dart.nullable(core.Object)]), + [_handleError$]: dart.fnType(dart.void, [dart.dynamic, core.StackTrace]), + [_handleDone$]: dart.fnType(dart.void, []) + })); + dart.setLibraryUri(_ForwardingStreamSubscription, I[29]); + dart.setFieldSignature(_ForwardingStreamSubscription, () => ({ + __proto__: dart.getFields(_ForwardingStreamSubscription.__proto__), + [_stream$]: dart.finalFieldType(async._ForwardingStream$(S, T)), + [_subscription]: dart.fieldType(dart.nullable(async.StreamSubscription$(S))) + })); + return _ForwardingStreamSubscription; +}); +async._ForwardingStreamSubscription = async._ForwardingStreamSubscription$(); +dart.addTypeTests(async._ForwardingStreamSubscription, _is__ForwardingStreamSubscription_default); +var _test = dart.privateName(async, "_test"); +const _is__WhereStream_default = Symbol('_is__WhereStream_default'); +async._WhereStream$ = dart.generic(T => { + class _WhereStream extends async._ForwardingStream$(T, T) { + [_handleData$](inputEvent, sink) { + let t116; + if (sink == null) dart.nullFailed(I[70], 186, 48, "sink"); + let satisfies = null; + try { + satisfies = (t116 = inputEvent, this[_test](t116)); + } catch (e$) { + let e = dart.getThrown(e$); + let s = dart.stackTrace(e$); + if (core.Object.is(e)) { + async._addErrorWithReplacement(sink, e, s); + return; + } else + throw e$; + } + if (dart.test(satisfies)) { + sink[_add](inputEvent); + } + } + } + (_WhereStream.new = function(source, test) { + if (source == null) dart.nullFailed(I[70], 182, 26, "source"); + if (test == null) dart.nullFailed(I[70], 182, 39, "test"); + this[_test] = test; + _WhereStream.__proto__.new.call(this, source); + ; + }).prototype = _WhereStream.prototype; + dart.addTypeTests(_WhereStream); + _WhereStream.prototype[_is__WhereStream_default] = true; + dart.addTypeCaches(_WhereStream); + dart.setMethodSignature(_WhereStream, () => ({ + __proto__: dart.getMethods(_WhereStream.__proto__), + [_handleData$]: dart.fnType(dart.void, [T, async._EventSink$(T)]) + })); + dart.setLibraryUri(_WhereStream, I[29]); + dart.setFieldSignature(_WhereStream, () => ({ + __proto__: dart.getFields(_WhereStream.__proto__), + [_test]: dart.finalFieldType(dart.fnType(core.bool, [T])) + })); + return _WhereStream; +}); +async._WhereStream = async._WhereStream$(); +dart.addTypeTests(async._WhereStream, _is__WhereStream_default); +var _transform = dart.privateName(async, "_transform"); +const _is__MapStream_default = Symbol('_is__MapStream_default'); +async._MapStream$ = dart.generic((S, T) => { + class _MapStream extends async._ForwardingStream$(S, T) { + [_handleData$](inputEvent, sink) { + let t117; + if (sink == null) dart.nullFailed(I[70], 210, 48, "sink"); + let outputEvent = null; + try { + outputEvent = (t117 = inputEvent, this[_transform](t117)); + } catch (e$) { + let e = dart.getThrown(e$); + let s = dart.stackTrace(e$); + if (core.Object.is(e)) { + async._addErrorWithReplacement(sink, e, s); + return; + } else + throw e$; + } + sink[_add](outputEvent); + } + } + (_MapStream.new = function(source, transform) { + if (source == null) dart.nullFailed(I[70], 206, 24, "source"); + if (transform == null) dart.nullFailed(I[70], 206, 34, "transform"); + this[_transform] = transform; + _MapStream.__proto__.new.call(this, source); + ; + }).prototype = _MapStream.prototype; + dart.addTypeTests(_MapStream); + _MapStream.prototype[_is__MapStream_default] = true; + dart.addTypeCaches(_MapStream); + dart.setMethodSignature(_MapStream, () => ({ + __proto__: dart.getMethods(_MapStream.__proto__), + [_handleData$]: dart.fnType(dart.void, [S, async._EventSink$(T)]) + })); + dart.setLibraryUri(_MapStream, I[29]); + dart.setFieldSignature(_MapStream, () => ({ + __proto__: dart.getFields(_MapStream.__proto__), + [_transform]: dart.finalFieldType(dart.fnType(T, [S])) + })); + return _MapStream; +}); +async._MapStream = async._MapStream$(); +dart.addTypeTests(async._MapStream, _is__MapStream_default); +var _expand = dart.privateName(async, "_expand"); +const _is__ExpandStream_default = Symbol('_is__ExpandStream_default'); +async._ExpandStream$ = dart.generic((S, T) => { + class _ExpandStream extends async._ForwardingStream$(S, T) { + [_handleData$](inputEvent, sink) { + let t118; + if (sink == null) dart.nullFailed(I[70], 230, 48, "sink"); + try { + for (let value of (t118 = inputEvent, this[_expand](t118))) { + sink[_add](value); + } + } catch (e$) { + let e = dart.getThrown(e$); + let s = dart.stackTrace(e$); + if (core.Object.is(e)) { + async._addErrorWithReplacement(sink, e, s); + } else + throw e$; + } + } + } + (_ExpandStream.new = function(source, expand) { + if (source == null) dart.nullFailed(I[70], 226, 27, "source"); + if (expand == null) dart.nullFailed(I[70], 226, 47, "expand"); + this[_expand] = expand; + _ExpandStream.__proto__.new.call(this, source); + ; + }).prototype = _ExpandStream.prototype; + dart.addTypeTests(_ExpandStream); + _ExpandStream.prototype[_is__ExpandStream_default] = true; + dart.addTypeCaches(_ExpandStream); + dart.setMethodSignature(_ExpandStream, () => ({ + __proto__: dart.getMethods(_ExpandStream.__proto__), + [_handleData$]: dart.fnType(dart.void, [S, async._EventSink$(T)]) + })); + dart.setLibraryUri(_ExpandStream, I[29]); + dart.setFieldSignature(_ExpandStream, () => ({ + __proto__: dart.getFields(_ExpandStream.__proto__), + [_expand]: dart.finalFieldType(dart.fnType(core.Iterable$(T), [S])) + })); + return _ExpandStream; +}); +async._ExpandStream = async._ExpandStream$(); +dart.addTypeTests(async._ExpandStream, _is__ExpandStream_default); +const _is__HandleErrorStream_default = Symbol('_is__HandleErrorStream_default'); +async._HandleErrorStream$ = dart.generic(T => { + class _HandleErrorStream extends async._ForwardingStream$(T, T) { + [_handleData$](data, sink) { + if (sink == null) dart.nullFailed(I[70], 255, 42, "sink"); + sink[_add](data); + } + [_handleError$](error, stackTrace, sink) { + if (error == null) dart.nullFailed(I[70], 259, 28, "error"); + if (stackTrace == null) dart.nullFailed(I[70], 259, 46, "stackTrace"); + if (sink == null) dart.nullFailed(I[70], 259, 72, "sink"); + let matches = true; + let test = this[_test]; + if (test != null) { + try { + matches = test(error); + } catch (e$) { + let e = dart.getThrown(e$); + let s = dart.stackTrace(e$); + if (core.Object.is(e)) { + async._addErrorWithReplacement(sink, e, s); + return; + } else + throw e$; + } + } + if (dart.test(matches)) { + try { + async._invokeErrorHandler(this[_transform], error, stackTrace); + } catch (e$0) { + let e = dart.getThrown(e$0); + let s = dart.stackTrace(e$0); + if (core.Object.is(e)) { + if (core.identical(e, error)) { + sink[_addError](error, stackTrace); + } else { + async._addErrorWithReplacement(sink, e, s); + } + return; + } else + throw e$0; + } + } else { + sink[_addError](error, stackTrace); + } + } + } + (_HandleErrorStream.new = function(source, onError, test) { + if (source == null) dart.nullFailed(I[70], 250, 17, "source"); + if (onError == null) dart.nullFailed(I[70], 250, 34, "onError"); + this[_transform] = onError; + this[_test] = test; + _HandleErrorStream.__proto__.new.call(this, source); + ; + }).prototype = _HandleErrorStream.prototype; + dart.addTypeTests(_HandleErrorStream); + _HandleErrorStream.prototype[_is__HandleErrorStream_default] = true; + dart.addTypeCaches(_HandleErrorStream); + dart.setMethodSignature(_HandleErrorStream, () => ({ + __proto__: dart.getMethods(_HandleErrorStream.__proto__), + [_handleData$]: dart.fnType(dart.void, [T, async._EventSink$(T)]), + [_handleError$]: dart.fnType(dart.void, [core.Object, core.StackTrace, async._EventSink$(T)]) + })); + dart.setLibraryUri(_HandleErrorStream, I[29]); + dart.setFieldSignature(_HandleErrorStream, () => ({ + __proto__: dart.getFields(_HandleErrorStream.__proto__), + [_transform]: dart.finalFieldType(core.Function), + [_test]: dart.finalFieldType(dart.nullable(dart.fnType(core.bool, [core.Object]))) + })); + return _HandleErrorStream; +}); +async._HandleErrorStream = async._HandleErrorStream$(); +dart.addTypeTests(async._HandleErrorStream, _is__HandleErrorStream_default); +var _count = dart.privateName(async, "_count"); +var _subState = dart.privateName(async, "_subState"); +const _is__TakeStream_default = Symbol('_is__TakeStream_default'); +async._TakeStream$ = dart.generic(T => { + var _DoneStreamSubscriptionOfT = () => (_DoneStreamSubscriptionOfT = dart.constFn(async._DoneStreamSubscription$(T)))(); + var _StateStreamSubscriptionOfint$T = () => (_StateStreamSubscriptionOfint$T = dart.constFn(async._StateStreamSubscription$(core.int, T)))(); + class _TakeStream extends async._ForwardingStream$(T, T) { + [_createSubscription](onData, onError, onDone, cancelOnError) { + if (cancelOnError == null) dart.nullFailed(I[70], 295, 47, "cancelOnError"); + if (this[_count] === 0) { + this[_source$4].listen(null).cancel(); + return new (_DoneStreamSubscriptionOfT()).new(onDone); + } + return new (_StateStreamSubscriptionOfint$T()).new(this, onData, onError, onDone, cancelOnError, this[_count]); + } + [_handleData$](inputEvent, sink) { + if (sink == null) dart.nullFailed(I[70], 304, 48, "sink"); + let subscription = _StateStreamSubscriptionOfint$T().as(sink); + let count = subscription[_subState]; + if (dart.notNull(count) > 0) { + sink[_add](inputEvent); + count = dart.notNull(count) - 1; + subscription[_subState] = count; + if (count === 0) { + sink[_close](); + } + } + } + } + (_TakeStream.new = function(source, count) { + if (source == null) dart.nullFailed(I[70], 290, 25, "source"); + if (count == null) dart.nullFailed(I[70], 290, 37, "count"); + this[_count] = count; + _TakeStream.__proto__.new.call(this, source); + ; + }).prototype = _TakeStream.prototype; + dart.addTypeTests(_TakeStream); + _TakeStream.prototype[_is__TakeStream_default] = true; + dart.addTypeCaches(_TakeStream); + dart.setMethodSignature(_TakeStream, () => ({ + __proto__: dart.getMethods(_TakeStream.__proto__), + [_handleData$]: dart.fnType(dart.void, [T, async._EventSink$(T)]) + })); + dart.setLibraryUri(_TakeStream, I[29]); + dart.setFieldSignature(_TakeStream, () => ({ + __proto__: dart.getFields(_TakeStream.__proto__), + [_count]: dart.finalFieldType(core.int) + })); + return _TakeStream; +}); +async._TakeStream = async._TakeStream$(); +dart.addTypeTests(async._TakeStream, _is__TakeStream_default); +var _subState$ = dart.privateName(async, "_StateStreamSubscription._subState"); +const _is__StateStreamSubscription_default = Symbol('_is__StateStreamSubscription_default'); +async._StateStreamSubscription$ = dart.generic((S, T) => { + class _StateStreamSubscription extends async._ForwardingStreamSubscription$(T, T) { + get [_subState]() { + return this[_subState$]; + } + set [_subState](value) { + this[_subState$] = S.as(value); + } + } + (_StateStreamSubscription.new = function(stream, onData, onError, onDone, cancelOnError, _subState) { + if (stream == null) dart.nullFailed(I[70], 327, 52, "stream"); + if (cancelOnError == null) dart.nullFailed(I[70], 328, 47, "cancelOnError"); + this[_subState$] = _subState; + _StateStreamSubscription.__proto__.new.call(this, stream, onData, onError, onDone, cancelOnError); + ; + }).prototype = _StateStreamSubscription.prototype; + dart.addTypeTests(_StateStreamSubscription); + _StateStreamSubscription.prototype[_is__StateStreamSubscription_default] = true; + dart.addTypeCaches(_StateStreamSubscription); + dart.setLibraryUri(_StateStreamSubscription, I[29]); + dart.setFieldSignature(_StateStreamSubscription, () => ({ + __proto__: dart.getFields(_StateStreamSubscription.__proto__), + [_subState]: dart.fieldType(S) + })); + return _StateStreamSubscription; +}); +async._StateStreamSubscription = async._StateStreamSubscription$(); +dart.addTypeTests(async._StateStreamSubscription, _is__StateStreamSubscription_default); +const _is__TakeWhileStream_default = Symbol('_is__TakeWhileStream_default'); +async._TakeWhileStream$ = dart.generic(T => { + class _TakeWhileStream extends async._ForwardingStream$(T, T) { + [_handleData$](inputEvent, sink) { + let t121; + if (sink == null) dart.nullFailed(I[70], 339, 48, "sink"); + let satisfies = null; + try { + satisfies = (t121 = inputEvent, this[_test](t121)); + } catch (e$) { + let e = dart.getThrown(e$); + let s = dart.stackTrace(e$); + if (core.Object.is(e)) { + async._addErrorWithReplacement(sink, e, s); + sink[_close](); + return; + } else + throw e$; + } + if (dart.test(satisfies)) { + sink[_add](inputEvent); + } else { + sink[_close](); + } + } + } + (_TakeWhileStream.new = function(source, test) { + if (source == null) dart.nullFailed(I[70], 335, 30, "source"); + if (test == null) dart.nullFailed(I[70], 335, 43, "test"); + this[_test] = test; + _TakeWhileStream.__proto__.new.call(this, source); + ; + }).prototype = _TakeWhileStream.prototype; + dart.addTypeTests(_TakeWhileStream); + _TakeWhileStream.prototype[_is__TakeWhileStream_default] = true; + dart.addTypeCaches(_TakeWhileStream); + dart.setMethodSignature(_TakeWhileStream, () => ({ + __proto__: dart.getMethods(_TakeWhileStream.__proto__), + [_handleData$]: dart.fnType(dart.void, [T, async._EventSink$(T)]) + })); + dart.setLibraryUri(_TakeWhileStream, I[29]); + dart.setFieldSignature(_TakeWhileStream, () => ({ + __proto__: dart.getFields(_TakeWhileStream.__proto__), + [_test]: dart.finalFieldType(dart.fnType(core.bool, [T])) + })); + return _TakeWhileStream; +}); +async._TakeWhileStream = async._TakeWhileStream$(); +dart.addTypeTests(async._TakeWhileStream, _is__TakeWhileStream_default); +const _is__SkipStream_default = Symbol('_is__SkipStream_default'); +async._SkipStream$ = dart.generic(T => { + var _StateStreamSubscriptionOfint$T = () => (_StateStreamSubscriptionOfint$T = dart.constFn(async._StateStreamSubscription$(core.int, T)))(); + class _SkipStream extends async._ForwardingStream$(T, T) { + [_createSubscription](onData, onError, onDone, cancelOnError) { + if (cancelOnError == null) dart.nullFailed(I[70], 369, 47, "cancelOnError"); + return new (_StateStreamSubscriptionOfint$T()).new(this, onData, onError, onDone, cancelOnError, this[_count]); + } + [_handleData$](inputEvent, sink) { + if (sink == null) dart.nullFailed(I[70], 374, 48, "sink"); + let subscription = _StateStreamSubscriptionOfint$T().as(sink); + let count = subscription[_subState]; + if (dart.notNull(count) > 0) { + subscription[_subState] = dart.notNull(count) - 1; + return; + } + sink[_add](inputEvent); + } + } + (_SkipStream.new = function(source, count) { + if (source == null) dart.nullFailed(I[70], 360, 25, "source"); + if (count == null) dart.nullFailed(I[70], 360, 37, "count"); + this[_count] = count; + _SkipStream.__proto__.new.call(this, source); + core.RangeError.checkNotNegative(count, "count"); + }).prototype = _SkipStream.prototype; + dart.addTypeTests(_SkipStream); + _SkipStream.prototype[_is__SkipStream_default] = true; + dart.addTypeCaches(_SkipStream); + dart.setMethodSignature(_SkipStream, () => ({ + __proto__: dart.getMethods(_SkipStream.__proto__), + [_handleData$]: dart.fnType(dart.void, [T, async._EventSink$(T)]) + })); + dart.setLibraryUri(_SkipStream, I[29]); + dart.setFieldSignature(_SkipStream, () => ({ + __proto__: dart.getFields(_SkipStream.__proto__), + [_count]: dart.finalFieldType(core.int) + })); + return _SkipStream; +}); +async._SkipStream = async._SkipStream$(); +dart.addTypeTests(async._SkipStream, _is__SkipStream_default); +const _is__SkipWhileStream_default = Symbol('_is__SkipWhileStream_default'); +async._SkipWhileStream$ = dart.generic(T => { + var _StateStreamSubscriptionOfbool$T = () => (_StateStreamSubscriptionOfbool$T = dart.constFn(async._StateStreamSubscription$(core.bool, T)))(); + class _SkipWhileStream extends async._ForwardingStream$(T, T) { + [_createSubscription](onData, onError, onDone, cancelOnError) { + if (cancelOnError == null) dart.nullFailed(I[70], 393, 47, "cancelOnError"); + return new (_StateStreamSubscriptionOfbool$T()).new(this, onData, onError, onDone, cancelOnError, false); + } + [_handleData$](inputEvent, sink) { + let t122; + if (sink == null) dart.nullFailed(I[70], 398, 48, "sink"); + let subscription = _StateStreamSubscriptionOfbool$T().as(sink); + let hasFailed = subscription[_subState]; + if (dart.test(hasFailed)) { + sink[_add](inputEvent); + return; + } + let satisfies = null; + try { + satisfies = (t122 = inputEvent, this[_test](t122)); + } catch (e$) { + let e = dart.getThrown(e$); + let s = dart.stackTrace(e$); + if (core.Object.is(e)) { + async._addErrorWithReplacement(sink, e, s); + subscription[_subState] = true; + return; + } else + throw e$; + } + if (!dart.test(satisfies)) { + subscription[_subState] = true; + sink[_add](inputEvent); + } + } + } + (_SkipWhileStream.new = function(source, test) { + if (source == null) dart.nullFailed(I[70], 388, 30, "source"); + if (test == null) dart.nullFailed(I[70], 388, 43, "test"); + this[_test] = test; + _SkipWhileStream.__proto__.new.call(this, source); + ; + }).prototype = _SkipWhileStream.prototype; + dart.addTypeTests(_SkipWhileStream); + _SkipWhileStream.prototype[_is__SkipWhileStream_default] = true; + dart.addTypeCaches(_SkipWhileStream); + dart.setMethodSignature(_SkipWhileStream, () => ({ + __proto__: dart.getMethods(_SkipWhileStream.__proto__), + [_handleData$]: dart.fnType(dart.void, [T, async._EventSink$(T)]) + })); + dart.setLibraryUri(_SkipWhileStream, I[29]); + dart.setFieldSignature(_SkipWhileStream, () => ({ + __proto__: dart.getFields(_SkipWhileStream.__proto__), + [_test]: dart.finalFieldType(dart.fnType(core.bool, [T])) + })); + return _SkipWhileStream; +}); +async._SkipWhileStream = async._SkipWhileStream$(); +dart.addTypeTests(async._SkipWhileStream, _is__SkipWhileStream_default); +var _equals = dart.privateName(async, "_equals"); +const _is__DistinctStream_default = Symbol('_is__DistinctStream_default'); +async._DistinctStream$ = dart.generic(T => { + var _StateStreamSubscriptionOfObjectN$T = () => (_StateStreamSubscriptionOfObjectN$T = dart.constFn(async._StateStreamSubscription$(T$.ObjectN(), T)))(); + class _DistinctStream extends async._ForwardingStream$(T, T) { + [_createSubscription](onData, onError, onDone, cancelOnError) { + if (cancelOnError == null) dart.nullFailed(I[70], 431, 47, "cancelOnError"); + return new (_StateStreamSubscriptionOfObjectN$T()).new(this, onData, onError, onDone, cancelOnError, async._DistinctStream._SENTINEL); + } + [_handleData$](inputEvent, sink) { + if (sink == null) dart.nullFailed(I[70], 436, 48, "sink"); + let subscription = _StateStreamSubscriptionOfObjectN$T().as(sink); + let previous = subscription[_subState]; + if (core.identical(previous, async._DistinctStream._SENTINEL)) { + subscription[_subState] = inputEvent; + sink[_add](inputEvent); + } else { + let previousEvent = T.as(previous); + let equals = this[_equals]; + let isEqual = null; + try { + if (equals == null) { + isEqual = dart.equals(previousEvent, inputEvent); + } else { + isEqual = equals(previousEvent, inputEvent); + } + } catch (e$) { + let e = dart.getThrown(e$); + let s = dart.stackTrace(e$); + if (core.Object.is(e)) { + async._addErrorWithReplacement(sink, e, s); + return; + } else + throw e$; + } + if (!dart.test(isEqual)) { + sink[_add](inputEvent); + subscription[_subState] = inputEvent; + } + } + } + } + (_DistinctStream.new = function(source, equals) { + if (source == null) dart.nullFailed(I[70], 426, 29, "source"); + this[_equals] = equals; + _DistinctStream.__proto__.new.call(this, source); + ; + }).prototype = _DistinctStream.prototype; + dart.addTypeTests(_DistinctStream); + _DistinctStream.prototype[_is__DistinctStream_default] = true; + dart.addTypeCaches(_DistinctStream); + dart.setMethodSignature(_DistinctStream, () => ({ + __proto__: dart.getMethods(_DistinctStream.__proto__), + [_handleData$]: dart.fnType(dart.void, [T, async._EventSink$(T)]) + })); + dart.setLibraryUri(_DistinctStream, I[29]); + dart.setFieldSignature(_DistinctStream, () => ({ + __proto__: dart.getFields(_DistinctStream.__proto__), + [_equals]: dart.finalFieldType(dart.nullable(dart.fnType(core.bool, [T, T]))) + })); + return _DistinctStream; +}); +async._DistinctStream = async._DistinctStream$(); +dart.defineLazy(async._DistinctStream, { + /*async._DistinctStream._SENTINEL*/get _SENTINEL() { + return new core.Object.new(); + } +}, false); +dart.addTypeTests(async._DistinctStream, _is__DistinctStream_default); +const _is__EventSinkWrapper_default = Symbol('_is__EventSinkWrapper_default'); +async._EventSinkWrapper$ = dart.generic(T => { + class _EventSinkWrapper extends core.Object { + add(data) { + T.as(data); + this[_sink$][_add](data); + } + addError(error, stackTrace = null) { + let t124; + if (error == null) dart.nullFailed(I[71], 16, 24, "error"); + this[_sink$][_addError](error, (t124 = stackTrace, t124 == null ? async.AsyncError.defaultStackTrace(error) : t124)); + } + close() { + this[_sink$][_close](); + } + } + (_EventSinkWrapper.new = function(_sink) { + if (_sink == null) dart.nullFailed(I[71], 10, 26, "_sink"); + this[_sink$] = _sink; + ; + }).prototype = _EventSinkWrapper.prototype; + dart.addTypeTests(_EventSinkWrapper); + _EventSinkWrapper.prototype[_is__EventSinkWrapper_default] = true; + dart.addTypeCaches(_EventSinkWrapper); + _EventSinkWrapper[dart.implements] = () => [async.EventSink$(T)]; + dart.setMethodSignature(_EventSinkWrapper, () => ({ + __proto__: dart.getMethods(_EventSinkWrapper.__proto__), + add: dart.fnType(dart.void, [dart.nullable(core.Object)]), + addError: dart.fnType(dart.void, [core.Object], [dart.nullable(core.StackTrace)]), + close: dart.fnType(dart.void, []) + })); + dart.setLibraryUri(_EventSinkWrapper, I[29]); + dart.setFieldSignature(_EventSinkWrapper, () => ({ + __proto__: dart.getFields(_EventSinkWrapper.__proto__), + [_sink$]: dart.fieldType(async._EventSink$(T)) + })); + return _EventSinkWrapper; +}); +async._EventSinkWrapper = async._EventSinkWrapper$(); +dart.addTypeTests(async._EventSinkWrapper, _is__EventSinkWrapper_default); +var ___SinkTransformerStreamSubscription__transformerSink = dart.privateName(async, "_#_SinkTransformerStreamSubscription#_transformerSink"); +var ___SinkTransformerStreamSubscription__transformerSink_isSet = dart.privateName(async, "_#_SinkTransformerStreamSubscription#_transformerSink#isSet"); +var _transformerSink = dart.privateName(async, "_transformerSink"); +const _is__SinkTransformerStreamSubscription_default = Symbol('_is__SinkTransformerStreamSubscription_default'); +async._SinkTransformerStreamSubscription$ = dart.generic((S, T) => { + var _EventSinkWrapperOfT = () => (_EventSinkWrapperOfT = dart.constFn(async._EventSinkWrapper$(T)))(); + class _SinkTransformerStreamSubscription extends async._BufferingStreamSubscription$(T) { + get [_transformerSink]() { + let t124; + return dart.test(this[___SinkTransformerStreamSubscription__transformerSink_isSet]) ? (t124 = this[___SinkTransformerStreamSubscription__transformerSink], t124) : dart.throw(new _internal.LateError.fieldNI("_transformerSink")); + } + set [_transformerSink](t124) { + if (t124 == null) dart.nullFailed(I[71], 33, 21, "null"); + this[___SinkTransformerStreamSubscription__transformerSink_isSet] = true; + this[___SinkTransformerStreamSubscription__transformerSink] = t124; + } + [_add](data) { + if (dart.test(this[_isClosed])) { + dart.throw(new core.StateError.new("Stream is already closed")); + } + super[_add](data); + } + [_addError](error, stackTrace) { + if (error == null) dart.nullFailed(I[71], 71, 25, "error"); + if (stackTrace == null) dart.nullFailed(I[71], 71, 43, "stackTrace"); + if (dart.test(this[_isClosed])) { + dart.throw(new core.StateError.new("Stream is already closed")); + } + super[_addError](error, stackTrace); + } + [_close]() { + if (dart.test(this[_isClosed])) { + dart.throw(new core.StateError.new("Stream is already closed")); + } + super[_close](); + } + [_onPause]() { + let t125; + t125 = this[_subscription]; + t125 == null ? null : t125.pause(); + } + [_onResume]() { + let t125; + t125 = this[_subscription]; + t125 == null ? null : t125.resume(); + } + [_onCancel]() { + let subscription = this[_subscription]; + if (subscription != null) { + this[_subscription] = null; + return subscription.cancel(); + } + return null; + } + [_handleData$](data) { + S.as(data); + try { + this[_transformerSink].add(data); + } catch (e$) { + let e = dart.getThrown(e$); + let s = dart.stackTrace(e$); + if (core.Object.is(e)) { + this[_addError](e, s); + } else + throw e$; + } + } + [_handleError$](error, stackTrace) { + if (error == null) dart.nullFailed(I[71], 117, 28, "error"); + if (stackTrace == null) dart.nullFailed(I[71], 117, 46, "stackTrace"); + try { + this[_transformerSink].addError(error, stackTrace); + } catch (e$) { + let e = dart.getThrown(e$); + let s = dart.stackTrace(e$); + if (core.Object.is(e)) { + if (core.identical(e, error)) { + this[_addError](error, stackTrace); + } else { + this[_addError](e, s); + } + } else + throw e$; + } + } + [_handleDone$]() { + try { + this[_subscription] = null; + this[_transformerSink].close(); + } catch (e$) { + let e = dart.getThrown(e$); + let s = dart.stackTrace(e$); + if (core.Object.is(e)) { + this[_addError](e, s); + } else + throw e$; + } + } + } + (_SinkTransformerStreamSubscription.new = function(source, mapper, onData, onError, onDone, cancelOnError) { + if (source == null) dart.nullFailed(I[71], 39, 17, "source"); + if (mapper == null) dart.nullFailed(I[71], 40, 25, "mapper"); + if (cancelOnError == null) dart.nullFailed(I[71], 44, 12, "cancelOnError"); + this[___SinkTransformerStreamSubscription__transformerSink] = null; + this[___SinkTransformerStreamSubscription__transformerSink_isSet] = false; + this[_subscription] = null; + _SinkTransformerStreamSubscription.__proto__.new.call(this, onData, onError, onDone, cancelOnError); + this[_transformerSink] = mapper(new (_EventSinkWrapperOfT()).new(this)); + this[_subscription] = source.listen(dart.bind(this, _handleData$), {onError: dart.bind(this, _handleError$), onDone: dart.bind(this, _handleDone$)}); + }).prototype = _SinkTransformerStreamSubscription.prototype; + dart.addTypeTests(_SinkTransformerStreamSubscription); + _SinkTransformerStreamSubscription.prototype[_is__SinkTransformerStreamSubscription_default] = true; + dart.addTypeCaches(_SinkTransformerStreamSubscription); + dart.setMethodSignature(_SinkTransformerStreamSubscription, () => ({ + __proto__: dart.getMethods(_SinkTransformerStreamSubscription.__proto__), + [_add]: dart.fnType(dart.void, [T]), + [_handleData$]: dart.fnType(dart.void, [dart.nullable(core.Object)]), + [_handleError$]: dart.fnType(dart.void, [core.Object, core.StackTrace]), + [_handleDone$]: dart.fnType(dart.void, []) + })); + dart.setGetterSignature(_SinkTransformerStreamSubscription, () => ({ + __proto__: dart.getGetters(_SinkTransformerStreamSubscription.__proto__), + [_transformerSink]: async.EventSink$(S) + })); + dart.setSetterSignature(_SinkTransformerStreamSubscription, () => ({ + __proto__: dart.getSetters(_SinkTransformerStreamSubscription.__proto__), + [_transformerSink]: async.EventSink$(S) + })); + dart.setLibraryUri(_SinkTransformerStreamSubscription, I[29]); + dart.setFieldSignature(_SinkTransformerStreamSubscription, () => ({ + __proto__: dart.getFields(_SinkTransformerStreamSubscription.__proto__), + [___SinkTransformerStreamSubscription__transformerSink]: dart.fieldType(dart.nullable(async.EventSink$(S))), + [___SinkTransformerStreamSubscription__transformerSink_isSet]: dart.fieldType(core.bool), + [_subscription]: dart.fieldType(dart.nullable(async.StreamSubscription$(S))) + })); + return _SinkTransformerStreamSubscription; +}); +async._SinkTransformerStreamSubscription = async._SinkTransformerStreamSubscription$(); +dart.addTypeTests(async._SinkTransformerStreamSubscription, _is__SinkTransformerStreamSubscription_default); +var _sinkMapper$ = dart.privateName(async, "_StreamSinkTransformer._sinkMapper"); +var _sinkMapper$0 = dart.privateName(async, "_sinkMapper"); +const _is__StreamSinkTransformer_default = Symbol('_is__StreamSinkTransformer_default'); +async._StreamSinkTransformer$ = dart.generic((S, T) => { + var StreamOfS = () => (StreamOfS = dart.constFn(async.Stream$(S)))(); + var _BoundSinkStreamOfS$T = () => (_BoundSinkStreamOfS$T = dart.constFn(async._BoundSinkStream$(S, T)))(); + class _StreamSinkTransformer extends async.StreamTransformerBase$(S, T) { + get [_sinkMapper$0]() { + return this[_sinkMapper$]; + } + set [_sinkMapper$0](value) { + super[_sinkMapper$0] = value; + } + bind(stream) { + StreamOfS().as(stream); + if (stream == null) dart.nullFailed(I[71], 151, 28, "stream"); + return new (_BoundSinkStreamOfS$T()).new(stream, this[_sinkMapper$0]); + } + } + (_StreamSinkTransformer.new = function(_sinkMapper) { + if (_sinkMapper == null) dart.nullFailed(I[71], 149, 37, "_sinkMapper"); + this[_sinkMapper$] = _sinkMapper; + _StreamSinkTransformer.__proto__.new.call(this); + ; + }).prototype = _StreamSinkTransformer.prototype; + dart.addTypeTests(_StreamSinkTransformer); + _StreamSinkTransformer.prototype[_is__StreamSinkTransformer_default] = true; + dart.addTypeCaches(_StreamSinkTransformer); + dart.setMethodSignature(_StreamSinkTransformer, () => ({ + __proto__: dart.getMethods(_StreamSinkTransformer.__proto__), + bind: dart.fnType(async.Stream$(T), [dart.nullable(core.Object)]) + })); + dart.setLibraryUri(_StreamSinkTransformer, I[29]); + dart.setFieldSignature(_StreamSinkTransformer, () => ({ + __proto__: dart.getFields(_StreamSinkTransformer.__proto__), + [_sinkMapper$0]: dart.finalFieldType(dart.fnType(async.EventSink$(S), [async.EventSink$(T)])) + })); + return _StreamSinkTransformer; +}); +async._StreamSinkTransformer = async._StreamSinkTransformer$(); +dart.addTypeTests(async._StreamSinkTransformer, _is__StreamSinkTransformer_default); +const _is__BoundSinkStream_default = Symbol('_is__BoundSinkStream_default'); +async._BoundSinkStream$ = dart.generic((S, T) => { + var _SinkTransformerStreamSubscriptionOfS$T = () => (_SinkTransformerStreamSubscriptionOfS$T = dart.constFn(async._SinkTransformerStreamSubscription$(S, T)))(); + class _BoundSinkStream extends async.Stream$(T) { + get isBroadcast() { + return this[_stream$].isBroadcast; + } + listen(onData, opts) { + let t128; + let onError = opts && 'onError' in opts ? opts.onError : null; + let onDone = opts && 'onDone' in opts ? opts.onDone : null; + let cancelOnError = opts && 'cancelOnError' in opts ? opts.cancelOnError : null; + let subscription = new (_SinkTransformerStreamSubscriptionOfS$T()).new(this[_stream$], this[_sinkMapper$0], onData, onError, onDone, (t128 = cancelOnError, t128 == null ? false : t128)); + return subscription; + } + } + (_BoundSinkStream.new = function(_stream, _sinkMapper) { + if (_stream == null) dart.nullFailed(I[71], 166, 25, "_stream"); + if (_sinkMapper == null) dart.nullFailed(I[71], 166, 39, "_sinkMapper"); + this[_stream$] = _stream; + this[_sinkMapper$0] = _sinkMapper; + _BoundSinkStream.__proto__.new.call(this); + ; + }).prototype = _BoundSinkStream.prototype; + dart.addTypeTests(_BoundSinkStream); + _BoundSinkStream.prototype[_is__BoundSinkStream_default] = true; + dart.addTypeCaches(_BoundSinkStream); + dart.setMethodSignature(_BoundSinkStream, () => ({ + __proto__: dart.getMethods(_BoundSinkStream.__proto__), + listen: dart.fnType(async.StreamSubscription$(T), [dart.nullable(dart.fnType(dart.void, [T]))], {cancelOnError: dart.nullable(core.bool), onDone: dart.nullable(dart.fnType(dart.void, [])), onError: dart.nullable(core.Function)}, {}) + })); + dart.setLibraryUri(_BoundSinkStream, I[29]); + dart.setFieldSignature(_BoundSinkStream, () => ({ + __proto__: dart.getFields(_BoundSinkStream.__proto__), + [_sinkMapper$0]: dart.finalFieldType(dart.fnType(async.EventSink$(S), [async.EventSink$(T)])), + [_stream$]: dart.finalFieldType(async.Stream$(S)) + })); + return _BoundSinkStream; +}); +async._BoundSinkStream = async._BoundSinkStream$(); +dart.addTypeTests(async._BoundSinkStream, _is__BoundSinkStream_default); +const _is__HandlerEventSink_default = Symbol('_is__HandlerEventSink_default'); +async._HandlerEventSink$ = dart.generic((S, T) => { + class _HandlerEventSink extends core.Object { + add(data) { + S.as(data); + let sink = this[_sink$]; + if (sink == null) { + dart.throw(new core.StateError.new("Sink is closed")); + } + let handleData = this[_handleData$]; + if (handleData != null) { + handleData(data, sink); + } else { + sink.add(T.as(data)); + } + } + addError(error, stackTrace = null) { + if (error == null) dart.nullFailed(I[71], 215, 24, "error"); + _internal.checkNotNullable(core.Object, error, "error"); + let sink = this[_sink$]; + if (sink == null) { + dart.throw(new core.StateError.new("Sink is closed")); + } + let handleError = this[_handleError$]; + stackTrace == null ? stackTrace = async.AsyncError.defaultStackTrace(error) : null; + if (handleError != null) { + handleError(error, stackTrace, sink); + } else { + sink.addError(error, stackTrace); + } + } + close() { + let sink = this[_sink$]; + if (sink == null) return; + this[_sink$] = null; + let handleDone = this[_handleDone$]; + if (handleDone != null) { + handleDone(sink); + } else { + sink.close(); + } + } + } + (_HandlerEventSink.new = function(_handleData, _handleError, _handleDone, _sink) { + if (_sink == null) dart.nullFailed(I[71], 200, 25, "_sink"); + this[_handleData$] = _handleData; + this[_handleError$] = _handleError; + this[_handleDone$] = _handleDone; + this[_sink$] = _sink; + ; + }).prototype = _HandlerEventSink.prototype; + dart.addTypeTests(_HandlerEventSink); + _HandlerEventSink.prototype[_is__HandlerEventSink_default] = true; + dart.addTypeCaches(_HandlerEventSink); + _HandlerEventSink[dart.implements] = () => [async.EventSink$(S)]; + dart.setMethodSignature(_HandlerEventSink, () => ({ + __proto__: dart.getMethods(_HandlerEventSink.__proto__), + add: dart.fnType(dart.void, [dart.nullable(core.Object)]), + addError: dart.fnType(dart.void, [core.Object], [dart.nullable(core.StackTrace)]), + close: dart.fnType(dart.void, []) + })); + dart.setLibraryUri(_HandlerEventSink, I[29]); + dart.setFieldSignature(_HandlerEventSink, () => ({ + __proto__: dart.getFields(_HandlerEventSink.__proto__), + [_handleData$]: dart.finalFieldType(dart.nullable(dart.fnType(dart.void, [S, async.EventSink$(T)]))), + [_handleError$]: dart.finalFieldType(dart.nullable(dart.fnType(dart.void, [core.Object, core.StackTrace, async.EventSink$(T)]))), + [_handleDone$]: dart.finalFieldType(dart.nullable(dart.fnType(dart.void, [async.EventSink$(T)]))), + [_sink$]: dart.fieldType(dart.nullable(async.EventSink$(T))) + })); + return _HandlerEventSink; +}); +async._HandlerEventSink = async._HandlerEventSink$(); +dart.addTypeTests(async._HandlerEventSink, _is__HandlerEventSink_default); +const _is__StreamHandlerTransformer_default = Symbol('_is__StreamHandlerTransformer_default'); +async._StreamHandlerTransformer$ = dart.generic((S, T) => { + var _HandlerEventSinkOfS$T = () => (_HandlerEventSinkOfS$T = dart.constFn(async._HandlerEventSink$(S, T)))(); + var EventSinkOfTTo_HandlerEventSinkOfS$T = () => (EventSinkOfTTo_HandlerEventSinkOfS$T = dart.constFn(dart.fnType(_HandlerEventSinkOfS$T(), [EventSinkOfT()])))(); + var StreamOfS = () => (StreamOfS = dart.constFn(async.Stream$(S)))(); + var EventSinkOfT = () => (EventSinkOfT = dart.constFn(async.EventSink$(T)))(); + class _StreamHandlerTransformer extends async._StreamSinkTransformer$(S, T) { + bind(stream) { + StreamOfS().as(stream); + if (stream == null) dart.nullFailed(I[71], 256, 28, "stream"); + return super.bind(stream); + } + } + (_StreamHandlerTransformer.new = function(opts) { + let handleData = opts && 'handleData' in opts ? opts.handleData : null; + let handleError = opts && 'handleError' in opts ? opts.handleError : null; + let handleDone = opts && 'handleDone' in opts ? opts.handleDone : null; + _StreamHandlerTransformer.__proto__.new.call(this, dart.fn(outputSink => { + if (outputSink == null) dart.nullFailed(I[71], 251, 29, "outputSink"); + return new (_HandlerEventSinkOfS$T()).new(handleData, handleError, handleDone, outputSink); + }, EventSinkOfTTo_HandlerEventSinkOfS$T())); + ; + }).prototype = _StreamHandlerTransformer.prototype; + dart.addTypeTests(_StreamHandlerTransformer); + _StreamHandlerTransformer.prototype[_is__StreamHandlerTransformer_default] = true; + dart.addTypeCaches(_StreamHandlerTransformer); + dart.setLibraryUri(_StreamHandlerTransformer, I[29]); + return _StreamHandlerTransformer; +}); +async._StreamHandlerTransformer = async._StreamHandlerTransformer$(); +dart.addTypeTests(async._StreamHandlerTransformer, _is__StreamHandlerTransformer_default); +var _bind$ = dart.privateName(async, "_bind"); +const _is__StreamBindTransformer_default = Symbol('_is__StreamBindTransformer_default'); +async._StreamBindTransformer$ = dart.generic((S, T) => { + var StreamOfS = () => (StreamOfS = dart.constFn(async.Stream$(S)))(); + class _StreamBindTransformer extends async.StreamTransformerBase$(S, T) { + bind(stream) { + let t128; + StreamOfS().as(stream); + if (stream == null) dart.nullFailed(I[71], 266, 28, "stream"); + t128 = stream; + return this[_bind$](t128); + } + } + (_StreamBindTransformer.new = function(_bind) { + if (_bind == null) dart.nullFailed(I[71], 264, 31, "_bind"); + this[_bind$] = _bind; + _StreamBindTransformer.__proto__.new.call(this); + ; + }).prototype = _StreamBindTransformer.prototype; + dart.addTypeTests(_StreamBindTransformer); + _StreamBindTransformer.prototype[_is__StreamBindTransformer_default] = true; + dart.addTypeCaches(_StreamBindTransformer); + dart.setMethodSignature(_StreamBindTransformer, () => ({ + __proto__: dart.getMethods(_StreamBindTransformer.__proto__), + bind: dart.fnType(async.Stream$(T), [dart.nullable(core.Object)]) + })); + dart.setLibraryUri(_StreamBindTransformer, I[29]); + dart.setFieldSignature(_StreamBindTransformer, () => ({ + __proto__: dart.getFields(_StreamBindTransformer.__proto__), + [_bind$]: dart.finalFieldType(dart.fnType(async.Stream$(T), [async.Stream$(S)])) + })); + return _StreamBindTransformer; +}); +async._StreamBindTransformer = async._StreamBindTransformer$(); +dart.addTypeTests(async._StreamBindTransformer, _is__StreamBindTransformer_default); +var _onListen$0 = dart.privateName(async, "_StreamSubscriptionTransformer._onListen"); +const _is__StreamSubscriptionTransformer_default = Symbol('_is__StreamSubscriptionTransformer_default'); +async._StreamSubscriptionTransformer$ = dart.generic((S, T) => { + var StreamOfS = () => (StreamOfS = dart.constFn(async.Stream$(S)))(); + var _BoundSubscriptionStreamOfS$T = () => (_BoundSubscriptionStreamOfS$T = dart.constFn(async._BoundSubscriptionStream$(S, T)))(); + class _StreamSubscriptionTransformer extends async.StreamTransformerBase$(S, T) { + get [_onListen$]() { + return this[_onListen$0]; + } + set [_onListen$](value) { + super[_onListen$] = value; + } + bind(stream) { + StreamOfS().as(stream); + if (stream == null) dart.nullFailed(I[71], 288, 28, "stream"); + return new (_BoundSubscriptionStreamOfS$T()).new(stream, this[_onListen$]); + } + } + (_StreamSubscriptionTransformer.new = function(_onListen) { + if (_onListen == null) dart.nullFailed(I[71], 286, 45, "_onListen"); + this[_onListen$0] = _onListen; + _StreamSubscriptionTransformer.__proto__.new.call(this); + ; + }).prototype = _StreamSubscriptionTransformer.prototype; + dart.addTypeTests(_StreamSubscriptionTransformer); + _StreamSubscriptionTransformer.prototype[_is__StreamSubscriptionTransformer_default] = true; + dart.addTypeCaches(_StreamSubscriptionTransformer); + dart.setMethodSignature(_StreamSubscriptionTransformer, () => ({ + __proto__: dart.getMethods(_StreamSubscriptionTransformer.__proto__), + bind: dart.fnType(async.Stream$(T), [dart.nullable(core.Object)]) + })); + dart.setLibraryUri(_StreamSubscriptionTransformer, I[29]); + dart.setFieldSignature(_StreamSubscriptionTransformer, () => ({ + __proto__: dart.getFields(_StreamSubscriptionTransformer.__proto__), + [_onListen$]: dart.finalFieldType(dart.fnType(async.StreamSubscription$(T), [async.Stream$(S), core.bool])) + })); + return _StreamSubscriptionTransformer; +}); +async._StreamSubscriptionTransformer = async._StreamSubscriptionTransformer$(); +dart.addTypeTests(async._StreamSubscriptionTransformer, _is__StreamSubscriptionTransformer_default); +const _is__BoundSubscriptionStream_default = Symbol('_is__BoundSubscriptionStream_default'); +async._BoundSubscriptionStream$ = dart.generic((S, T) => { + class _BoundSubscriptionStream extends async.Stream$(T) { + get isBroadcast() { + return this[_stream$].isBroadcast; + } + listen(onData, opts) { + let t128, t129, t128$; + let onError = opts && 'onError' in opts ? opts.onError : null; + let onDone = opts && 'onDone' in opts ? opts.onDone : null; + let cancelOnError = opts && 'cancelOnError' in opts ? opts.cancelOnError : null; + let result = (t128$ = this[_stream$], t129 = (t128 = cancelOnError, t128 == null ? false : t128), this[_onListen$](t128$, t129)); + result.onData(onData); + result.onError(onError); + result.onDone(onDone); + return result; + } + } + (_BoundSubscriptionStream.new = function(_stream, _onListen) { + if (_stream == null) dart.nullFailed(I[71], 303, 33, "_stream"); + if (_onListen == null) dart.nullFailed(I[71], 303, 47, "_onListen"); + this[_stream$] = _stream; + this[_onListen$] = _onListen; + _BoundSubscriptionStream.__proto__.new.call(this); + ; + }).prototype = _BoundSubscriptionStream.prototype; + dart.addTypeTests(_BoundSubscriptionStream); + _BoundSubscriptionStream.prototype[_is__BoundSubscriptionStream_default] = true; + dart.addTypeCaches(_BoundSubscriptionStream); + dart.setMethodSignature(_BoundSubscriptionStream, () => ({ + __proto__: dart.getMethods(_BoundSubscriptionStream.__proto__), + listen: dart.fnType(async.StreamSubscription$(T), [dart.nullable(dart.fnType(dart.void, [T]))], {cancelOnError: dart.nullable(core.bool), onDone: dart.nullable(dart.fnType(dart.void, [])), onError: dart.nullable(core.Function)}, {}) + })); + dart.setLibraryUri(_BoundSubscriptionStream, I[29]); + dart.setFieldSignature(_BoundSubscriptionStream, () => ({ + __proto__: dart.getFields(_BoundSubscriptionStream.__proto__), + [_onListen$]: dart.finalFieldType(dart.fnType(async.StreamSubscription$(T), [async.Stream$(S), core.bool])), + [_stream$]: dart.finalFieldType(async.Stream$(S)) + })); + return _BoundSubscriptionStream; +}); +async._BoundSubscriptionStream = async._BoundSubscriptionStream$(); +dart.addTypeTests(async._BoundSubscriptionStream, _is__BoundSubscriptionStream_default); +async.Timer = class Timer extends core.Object { + static new(duration, callback) { + if (duration == null) dart.nullFailed(I[72], 41, 26, "duration"); + if (callback == null) dart.nullFailed(I[72], 41, 52, "callback"); + if (dart.equals(async.Zone.current, async.Zone.root)) { + return async.Zone.current.createTimer(duration, callback); + } + return async.Zone.current.createTimer(duration, async.Zone.current.bindCallbackGuarded(callback)); + } + static periodic(duration, callback) { + if (duration == null) dart.nullFailed(I[72], 67, 35, "duration"); + if (callback == null) dart.nullFailed(I[72], 67, 50, "callback"); + if (dart.equals(async.Zone.current, async.Zone.root)) { + return async.Zone.current.createPeriodicTimer(duration, callback); + } + let boundCallback = async.Zone.current.bindUnaryCallbackGuarded(async.Timer, callback); + return async.Zone.current.createPeriodicTimer(duration, boundCallback); + } + static run(callback) { + if (callback == null) dart.nullFailed(I[72], 80, 35, "callback"); + async.Timer.new(core.Duration.zero, callback); + } + static _createTimer(duration, callback) { + if (duration == null) dart.nullFailed(I[61], 183, 38, "duration"); + if (callback == null) dart.nullFailed(I[61], 183, 64, "callback"); + let milliseconds = duration.inMilliseconds; + if (dart.notNull(milliseconds) < 0) milliseconds = 0; + return new _isolate_helper.TimerImpl.new(milliseconds, callback); + } + static _createPeriodicTimer(duration, callback) { + if (duration == null) dart.nullFailed(I[61], 191, 16, "duration"); + if (callback == null) dart.nullFailed(I[61], 191, 31, "callback"); + let milliseconds = duration.inMilliseconds; + if (dart.notNull(milliseconds) < 0) milliseconds = 0; + return new _isolate_helper.TimerImpl.periodic(milliseconds, callback); + } +}; +(async.Timer[dart.mixinNew] = function() { +}).prototype = async.Timer.prototype; +dart.addTypeTests(async.Timer); +dart.addTypeCaches(async.Timer); +dart.setLibraryUri(async.Timer, I[29]); +var zone$ = dart.privateName(async, "_ZoneFunction.zone"); +var $function$0 = dart.privateName(async, "_ZoneFunction.function"); +const _is__ZoneFunction_default = Symbol('_is__ZoneFunction_default'); +async._ZoneFunction$ = dart.generic(T => { + class _ZoneFunction extends core.Object { + get zone() { + return this[zone$]; + } + set zone(value) { + super.zone = value; + } + get function() { + return this[$function$0]; + } + set function(value) { + super.function = value; + } + } + (_ZoneFunction.new = function(zone, $function) { + if (zone == null) dart.nullFailed(I[73], 244, 28, "zone"); + if ($function == null) dart.nullFailed(I[73], 244, 39, "function"); + this[zone$] = zone; + this[$function$0] = $function; + ; + }).prototype = _ZoneFunction.prototype; + dart.addTypeTests(_ZoneFunction); + _ZoneFunction.prototype[_is__ZoneFunction_default] = true; + dart.addTypeCaches(_ZoneFunction); + dart.setLibraryUri(_ZoneFunction, I[29]); + dart.setFieldSignature(_ZoneFunction, () => ({ + __proto__: dart.getFields(_ZoneFunction.__proto__), + zone: dart.finalFieldType(async._Zone), + function: dart.finalFieldType(T) + })); + return _ZoneFunction; +}); +async._ZoneFunction = async._ZoneFunction$(); +dart.addTypeTests(async._ZoneFunction, _is__ZoneFunction_default); +var zone$0 = dart.privateName(async, "_RunNullaryZoneFunction.zone"); +var $function$1 = dart.privateName(async, "_RunNullaryZoneFunction.function"); +async._RunNullaryZoneFunction = class _RunNullaryZoneFunction extends core.Object { + get zone() { + return this[zone$0]; + } + set zone(value) { + super.zone = value; + } + get function() { + return this[$function$1]; + } + set function(value) { + super.function = value; + } +}; +(async._RunNullaryZoneFunction.new = function(zone, $function) { + if (zone == null) dart.nullFailed(I[73], 250, 38, "zone"); + if ($function == null) dart.nullFailed(I[73], 250, 49, "function"); + this[zone$0] = zone; + this[$function$1] = $function; + ; +}).prototype = async._RunNullaryZoneFunction.prototype; +dart.addTypeTests(async._RunNullaryZoneFunction); +dart.addTypeCaches(async._RunNullaryZoneFunction); +dart.setLibraryUri(async._RunNullaryZoneFunction, I[29]); +dart.setFieldSignature(async._RunNullaryZoneFunction, () => ({ + __proto__: dart.getFields(async._RunNullaryZoneFunction.__proto__), + zone: dart.finalFieldType(async._Zone), + function: dart.finalFieldType(dart.gFnType(R => [R, [async.Zone, async.ZoneDelegate, async.Zone, dart.fnType(R, [])]], R => [dart.nullable(core.Object)])) +})); +var zone$1 = dart.privateName(async, "_RunUnaryZoneFunction.zone"); +var $function$2 = dart.privateName(async, "_RunUnaryZoneFunction.function"); +async._RunUnaryZoneFunction = class _RunUnaryZoneFunction extends core.Object { + get zone() { + return this[zone$1]; + } + set zone(value) { + super.zone = value; + } + get function() { + return this[$function$2]; + } + set function(value) { + super.function = value; + } +}; +(async._RunUnaryZoneFunction.new = function(zone, $function) { + if (zone == null) dart.nullFailed(I[73], 256, 36, "zone"); + if ($function == null) dart.nullFailed(I[73], 256, 47, "function"); + this[zone$1] = zone; + this[$function$2] = $function; + ; +}).prototype = async._RunUnaryZoneFunction.prototype; +dart.addTypeTests(async._RunUnaryZoneFunction); +dart.addTypeCaches(async._RunUnaryZoneFunction); +dart.setLibraryUri(async._RunUnaryZoneFunction, I[29]); +dart.setFieldSignature(async._RunUnaryZoneFunction, () => ({ + __proto__: dart.getFields(async._RunUnaryZoneFunction.__proto__), + zone: dart.finalFieldType(async._Zone), + function: dart.finalFieldType(dart.gFnType((R, T) => [R, [async.Zone, async.ZoneDelegate, async.Zone, dart.fnType(R, [T]), T]], (R, T) => [dart.nullable(core.Object), dart.nullable(core.Object)])) +})); +var zone$2 = dart.privateName(async, "_RunBinaryZoneFunction.zone"); +var $function$3 = dart.privateName(async, "_RunBinaryZoneFunction.function"); +async._RunBinaryZoneFunction = class _RunBinaryZoneFunction extends core.Object { + get zone() { + return this[zone$2]; + } + set zone(value) { + super.zone = value; + } + get function() { + return this[$function$3]; + } + set function(value) { + super.function = value; + } +}; +(async._RunBinaryZoneFunction.new = function(zone, $function) { + if (zone == null) dart.nullFailed(I[73], 262, 37, "zone"); + if ($function == null) dart.nullFailed(I[73], 262, 48, "function"); + this[zone$2] = zone; + this[$function$3] = $function; + ; +}).prototype = async._RunBinaryZoneFunction.prototype; +dart.addTypeTests(async._RunBinaryZoneFunction); +dart.addTypeCaches(async._RunBinaryZoneFunction); +dart.setLibraryUri(async._RunBinaryZoneFunction, I[29]); +dart.setFieldSignature(async._RunBinaryZoneFunction, () => ({ + __proto__: dart.getFields(async._RunBinaryZoneFunction.__proto__), + zone: dart.finalFieldType(async._Zone), + function: dart.finalFieldType(dart.gFnType((R, T1, T2) => [R, [async.Zone, async.ZoneDelegate, async.Zone, dart.fnType(R, [T1, T2]), T1, T2]], (R, T1, T2) => [dart.nullable(core.Object), dart.nullable(core.Object), dart.nullable(core.Object)])) +})); +var zone$3 = dart.privateName(async, "_RegisterNullaryZoneFunction.zone"); +var $function$4 = dart.privateName(async, "_RegisterNullaryZoneFunction.function"); +async._RegisterNullaryZoneFunction = class _RegisterNullaryZoneFunction extends core.Object { + get zone() { + return this[zone$3]; + } + set zone(value) { + super.zone = value; + } + get function() { + return this[$function$4]; + } + set function(value) { + super.function = value; + } +}; +(async._RegisterNullaryZoneFunction.new = function(zone, $function) { + if (zone == null) dart.nullFailed(I[73], 268, 43, "zone"); + if ($function == null) dart.nullFailed(I[73], 268, 54, "function"); + this[zone$3] = zone; + this[$function$4] = $function; + ; +}).prototype = async._RegisterNullaryZoneFunction.prototype; +dart.addTypeTests(async._RegisterNullaryZoneFunction); +dart.addTypeCaches(async._RegisterNullaryZoneFunction); +dart.setLibraryUri(async._RegisterNullaryZoneFunction, I[29]); +dart.setFieldSignature(async._RegisterNullaryZoneFunction, () => ({ + __proto__: dart.getFields(async._RegisterNullaryZoneFunction.__proto__), + zone: dart.finalFieldType(async._Zone), + function: dart.finalFieldType(dart.gFnType(R => [dart.fnType(R, []), [async.Zone, async.ZoneDelegate, async.Zone, dart.fnType(R, [])]], R => [dart.nullable(core.Object)])) +})); +var zone$4 = dart.privateName(async, "_RegisterUnaryZoneFunction.zone"); +var $function$5 = dart.privateName(async, "_RegisterUnaryZoneFunction.function"); +async._RegisterUnaryZoneFunction = class _RegisterUnaryZoneFunction extends core.Object { + get zone() { + return this[zone$4]; + } + set zone(value) { + super.zone = value; + } + get function() { + return this[$function$5]; + } + set function(value) { + super.function = value; + } +}; +(async._RegisterUnaryZoneFunction.new = function(zone, $function) { + if (zone == null) dart.nullFailed(I[73], 274, 41, "zone"); + if ($function == null) dart.nullFailed(I[73], 274, 52, "function"); + this[zone$4] = zone; + this[$function$5] = $function; + ; +}).prototype = async._RegisterUnaryZoneFunction.prototype; +dart.addTypeTests(async._RegisterUnaryZoneFunction); +dart.addTypeCaches(async._RegisterUnaryZoneFunction); +dart.setLibraryUri(async._RegisterUnaryZoneFunction, I[29]); +dart.setFieldSignature(async._RegisterUnaryZoneFunction, () => ({ + __proto__: dart.getFields(async._RegisterUnaryZoneFunction.__proto__), + zone: dart.finalFieldType(async._Zone), + function: dart.finalFieldType(dart.gFnType((R, T) => [dart.fnType(R, [T]), [async.Zone, async.ZoneDelegate, async.Zone, dart.fnType(R, [T])]], (R, T) => [dart.nullable(core.Object), dart.nullable(core.Object)])) +})); +var zone$5 = dart.privateName(async, "_RegisterBinaryZoneFunction.zone"); +var $function$6 = dart.privateName(async, "_RegisterBinaryZoneFunction.function"); +async._RegisterBinaryZoneFunction = class _RegisterBinaryZoneFunction extends core.Object { + get zone() { + return this[zone$5]; + } + set zone(value) { + super.zone = value; + } + get function() { + return this[$function$6]; + } + set function(value) { + super.function = value; + } +}; +(async._RegisterBinaryZoneFunction.new = function(zone, $function) { + if (zone == null) dart.nullFailed(I[73], 280, 42, "zone"); + if ($function == null) dart.nullFailed(I[73], 280, 53, "function"); + this[zone$5] = zone; + this[$function$6] = $function; + ; +}).prototype = async._RegisterBinaryZoneFunction.prototype; +dart.addTypeTests(async._RegisterBinaryZoneFunction); +dart.addTypeCaches(async._RegisterBinaryZoneFunction); +dart.setLibraryUri(async._RegisterBinaryZoneFunction, I[29]); +dart.setFieldSignature(async._RegisterBinaryZoneFunction, () => ({ + __proto__: dart.getFields(async._RegisterBinaryZoneFunction.__proto__), + zone: dart.finalFieldType(async._Zone), + function: dart.finalFieldType(dart.gFnType((R, T1, T2) => [dart.fnType(R, [T1, T2]), [async.Zone, async.ZoneDelegate, async.Zone, dart.fnType(R, [T1, T2])]], (R, T1, T2) => [dart.nullable(core.Object), dart.nullable(core.Object), dart.nullable(core.Object)])) +})); +async.ZoneSpecification = class ZoneSpecification extends core.Object { + static from(other, opts) { + let t128, t128$, t128$0, t128$1, t128$2, t128$3, t128$4, t128$5, t128$6, t128$7, t128$8, t128$9, t128$10; + if (other == null) dart.nullFailed(I[73], 331, 52, "other"); + let handleUncaughtError = opts && 'handleUncaughtError' in opts ? opts.handleUncaughtError : null; + let run = opts && 'run' in opts ? opts.run : null; + let runUnary = opts && 'runUnary' in opts ? opts.runUnary : null; + let runBinary = opts && 'runBinary' in opts ? opts.runBinary : null; + let registerCallback = opts && 'registerCallback' in opts ? opts.registerCallback : null; + let registerUnaryCallback = opts && 'registerUnaryCallback' in opts ? opts.registerUnaryCallback : null; + let registerBinaryCallback = opts && 'registerBinaryCallback' in opts ? opts.registerBinaryCallback : null; + let errorCallback = opts && 'errorCallback' in opts ? opts.errorCallback : null; + let scheduleMicrotask = opts && 'scheduleMicrotask' in opts ? opts.scheduleMicrotask : null; + let createTimer = opts && 'createTimer' in opts ? opts.createTimer : null; + let createPeriodicTimer = opts && 'createPeriodicTimer' in opts ? opts.createPeriodicTimer : null; + let print = opts && 'print' in opts ? opts.print : null; + let fork = opts && 'fork' in opts ? opts.fork : null; + return new async._ZoneSpecification.new({handleUncaughtError: (t128 = handleUncaughtError, t128 == null ? other.handleUncaughtError : t128), run: (t128$ = run, t128$ == null ? other.run : t128$), runUnary: (t128$0 = runUnary, t128$0 == null ? other.runUnary : t128$0), runBinary: (t128$1 = runBinary, t128$1 == null ? other.runBinary : t128$1), registerCallback: (t128$2 = registerCallback, t128$2 == null ? other.registerCallback : t128$2), registerUnaryCallback: (t128$3 = registerUnaryCallback, t128$3 == null ? other.registerUnaryCallback : t128$3), registerBinaryCallback: (t128$4 = registerBinaryCallback, t128$4 == null ? other.registerBinaryCallback : t128$4), errorCallback: (t128$5 = errorCallback, t128$5 == null ? other.errorCallback : t128$5), scheduleMicrotask: (t128$6 = scheduleMicrotask, t128$6 == null ? other.scheduleMicrotask : t128$6), createTimer: (t128$7 = createTimer, t128$7 == null ? other.createTimer : t128$7), createPeriodicTimer: (t128$8 = createPeriodicTimer, t128$8 == null ? other.createPeriodicTimer : t128$8), print: (t128$9 = print, t128$9 == null ? other.print : t128$9), fork: (t128$10 = fork, t128$10 == null ? other.fork : t128$10)}); + } +}; +(async.ZoneSpecification[dart.mixinNew] = function() { +}).prototype = async.ZoneSpecification.prototype; +dart.addTypeTests(async.ZoneSpecification); +dart.addTypeCaches(async.ZoneSpecification); +dart.setLibraryUri(async.ZoneSpecification, I[29]); +var handleUncaughtError$ = dart.privateName(async, "_ZoneSpecification.handleUncaughtError"); +var run$ = dart.privateName(async, "_ZoneSpecification.run"); +var runUnary$ = dart.privateName(async, "_ZoneSpecification.runUnary"); +var runBinary$ = dart.privateName(async, "_ZoneSpecification.runBinary"); +var registerCallback$ = dart.privateName(async, "_ZoneSpecification.registerCallback"); +var registerUnaryCallback$ = dart.privateName(async, "_ZoneSpecification.registerUnaryCallback"); +var registerBinaryCallback$ = dart.privateName(async, "_ZoneSpecification.registerBinaryCallback"); +var errorCallback$ = dart.privateName(async, "_ZoneSpecification.errorCallback"); +var scheduleMicrotask$ = dart.privateName(async, "_ZoneSpecification.scheduleMicrotask"); +var createTimer$ = dart.privateName(async, "_ZoneSpecification.createTimer"); +var createPeriodicTimer$ = dart.privateName(async, "_ZoneSpecification.createPeriodicTimer"); +var print$ = dart.privateName(async, "_ZoneSpecification.print"); +var fork$ = dart.privateName(async, "_ZoneSpecification.fork"); +async._ZoneSpecification = class _ZoneSpecification extends core.Object { + get handleUncaughtError() { + return this[handleUncaughtError$]; + } + set handleUncaughtError(value) { + super.handleUncaughtError = value; + } + get run() { + return this[run$]; + } + set run(value) { + super.run = value; + } + get runUnary() { + return this[runUnary$]; + } + set runUnary(value) { + super.runUnary = value; + } + get runBinary() { + return this[runBinary$]; + } + set runBinary(value) { + super.runBinary = value; + } + get registerCallback() { + return this[registerCallback$]; + } + set registerCallback(value) { + super.registerCallback = value; + } + get registerUnaryCallback() { + return this[registerUnaryCallback$]; + } + set registerUnaryCallback(value) { + super.registerUnaryCallback = value; + } + get registerBinaryCallback() { + return this[registerBinaryCallback$]; + } + set registerBinaryCallback(value) { + super.registerBinaryCallback = value; + } + get errorCallback() { + return this[errorCallback$]; + } + set errorCallback(value) { + super.errorCallback = value; + } + get scheduleMicrotask() { + return this[scheduleMicrotask$]; + } + set scheduleMicrotask(value) { + super.scheduleMicrotask = value; + } + get createTimer() { + return this[createTimer$]; + } + set createTimer(value) { + super.createTimer = value; + } + get createPeriodicTimer() { + return this[createPeriodicTimer$]; + } + set createPeriodicTimer(value) { + super.createPeriodicTimer = value; + } + get print() { + return this[print$]; + } + set print(value) { + super.print = value; + } + get fork() { + return this[fork$]; + } + set fork(value) { + super.fork = value; + } +}; +(async._ZoneSpecification.new = function(opts) { + let handleUncaughtError = opts && 'handleUncaughtError' in opts ? opts.handleUncaughtError : null; + let run = opts && 'run' in opts ? opts.run : null; + let runUnary = opts && 'runUnary' in opts ? opts.runUnary : null; + let runBinary = opts && 'runBinary' in opts ? opts.runBinary : null; + let registerCallback = opts && 'registerCallback' in opts ? opts.registerCallback : null; + let registerUnaryCallback = opts && 'registerUnaryCallback' in opts ? opts.registerUnaryCallback : null; + let registerBinaryCallback = opts && 'registerBinaryCallback' in opts ? opts.registerBinaryCallback : null; + let errorCallback = opts && 'errorCallback' in opts ? opts.errorCallback : null; + let scheduleMicrotask = opts && 'scheduleMicrotask' in opts ? opts.scheduleMicrotask : null; + let createTimer = opts && 'createTimer' in opts ? opts.createTimer : null; + let createPeriodicTimer = opts && 'createPeriodicTimer' in opts ? opts.createPeriodicTimer : null; + let print = opts && 'print' in opts ? opts.print : null; + let fork = opts && 'fork' in opts ? opts.fork : null; + this[handleUncaughtError$] = handleUncaughtError; + this[run$] = run; + this[runUnary$] = runUnary; + this[runBinary$] = runBinary; + this[registerCallback$] = registerCallback; + this[registerUnaryCallback$] = registerUnaryCallback; + this[registerBinaryCallback$] = registerBinaryCallback; + this[errorCallback$] = errorCallback; + this[scheduleMicrotask$] = scheduleMicrotask; + this[createTimer$] = createTimer; + this[createPeriodicTimer$] = createPeriodicTimer; + this[print$] = print; + this[fork$] = fork; + ; +}).prototype = async._ZoneSpecification.prototype; +dart.addTypeTests(async._ZoneSpecification); +dart.addTypeCaches(async._ZoneSpecification); +async._ZoneSpecification[dart.implements] = () => [async.ZoneSpecification]; +dart.setLibraryUri(async._ZoneSpecification, I[29]); +dart.setFieldSignature(async._ZoneSpecification, () => ({ + __proto__: dart.getFields(async._ZoneSpecification.__proto__), + handleUncaughtError: dart.finalFieldType(dart.nullable(dart.fnType(dart.void, [async.Zone, async.ZoneDelegate, async.Zone, core.Object, core.StackTrace]))), + run: dart.finalFieldType(dart.nullable(dart.gFnType(R => [R, [async.Zone, async.ZoneDelegate, async.Zone, dart.fnType(R, [])]], R => [dart.nullable(core.Object)]))), + runUnary: dart.finalFieldType(dart.nullable(dart.gFnType((R, T) => [R, [async.Zone, async.ZoneDelegate, async.Zone, dart.fnType(R, [T]), T]], (R, T) => [dart.nullable(core.Object), dart.nullable(core.Object)]))), + runBinary: dart.finalFieldType(dart.nullable(dart.gFnType((R, T1, T2) => [R, [async.Zone, async.ZoneDelegate, async.Zone, dart.fnType(R, [T1, T2]), T1, T2]], (R, T1, T2) => [dart.nullable(core.Object), dart.nullable(core.Object), dart.nullable(core.Object)]))), + registerCallback: dart.finalFieldType(dart.nullable(dart.gFnType(R => [dart.fnType(R, []), [async.Zone, async.ZoneDelegate, async.Zone, dart.fnType(R, [])]], R => [dart.nullable(core.Object)]))), + registerUnaryCallback: dart.finalFieldType(dart.nullable(dart.gFnType((R, T) => [dart.fnType(R, [T]), [async.Zone, async.ZoneDelegate, async.Zone, dart.fnType(R, [T])]], (R, T) => [dart.nullable(core.Object), dart.nullable(core.Object)]))), + registerBinaryCallback: dart.finalFieldType(dart.nullable(dart.gFnType((R, T1, T2) => [dart.fnType(R, [T1, T2]), [async.Zone, async.ZoneDelegate, async.Zone, dart.fnType(R, [T1, T2])]], (R, T1, T2) => [dart.nullable(core.Object), dart.nullable(core.Object), dart.nullable(core.Object)]))), + errorCallback: dart.finalFieldType(dart.nullable(dart.fnType(dart.nullable(async.AsyncError), [async.Zone, async.ZoneDelegate, async.Zone, core.Object, dart.nullable(core.StackTrace)]))), + scheduleMicrotask: dart.finalFieldType(dart.nullable(dart.fnType(dart.void, [async.Zone, async.ZoneDelegate, async.Zone, dart.fnType(dart.void, [])]))), + createTimer: dart.finalFieldType(dart.nullable(dart.fnType(async.Timer, [async.Zone, async.ZoneDelegate, async.Zone, core.Duration, dart.fnType(dart.void, [])]))), + createPeriodicTimer: dart.finalFieldType(dart.nullable(dart.fnType(async.Timer, [async.Zone, async.ZoneDelegate, async.Zone, core.Duration, dart.fnType(dart.void, [async.Timer])]))), + print: dart.finalFieldType(dart.nullable(dart.fnType(dart.void, [async.Zone, async.ZoneDelegate, async.Zone, core.String]))), + fork: dart.finalFieldType(dart.nullable(dart.fnType(async.Zone, [async.Zone, async.ZoneDelegate, async.Zone, dart.nullable(async.ZoneSpecification), dart.nullable(core.Map$(dart.nullable(core.Object), dart.nullable(core.Object)))]))) +})); +async.ZoneDelegate = class ZoneDelegate extends core.Object {}; +(async.ZoneDelegate.new = function() { + ; +}).prototype = async.ZoneDelegate.prototype; +dart.addTypeTests(async.ZoneDelegate); +dart.addTypeCaches(async.ZoneDelegate); +dart.setLibraryUri(async.ZoneDelegate, I[29]); +async.Zone = class Zone extends core.Object { + static get current() { + return async.Zone._current; + } + static _enter(zone) { + if (zone == null) dart.nullFailed(I[73], 885, 29, "zone"); + if (!(zone != async.Zone._current)) dart.assertFailed(null, I[73], 886, 12, "!identical(zone, _current)"); + let previous = async.Zone._current; + async.Zone._current = zone; + return previous; + } + static _leave(previous) { + if (previous == null) dart.nullFailed(I[73], 895, 28, "previous"); + if (!(previous != null)) dart.assertFailed(null, I[73], 896, 12, "previous != null"); + async.Zone._current = previous; + } +}; +(async.Zone.__ = function() { + ; +}).prototype = async.Zone.prototype; +dart.addTypeTests(async.Zone); +dart.addTypeCaches(async.Zone); +dart.setLibraryUri(async.Zone, I[29]); +dart.defineLazy(async.Zone, { + /*async.Zone.root*/get root() { + return C[44] || CT.C44; + }, + /*async.Zone._current*/get _current() { + return async._rootZone; + }, + set _current(_) {} +}, false); +var _delegationTarget$ = dart.privateName(async, "_delegationTarget"); +var _handleUncaughtError = dart.privateName(async, "_handleUncaughtError"); +var _parentDelegate = dart.privateName(async, "_parentDelegate"); +var _run = dart.privateName(async, "_run"); +var _runUnary = dart.privateName(async, "_runUnary"); +var _runBinary = dart.privateName(async, "_runBinary"); +var _registerCallback = dart.privateName(async, "_registerCallback"); +var _registerUnaryCallback = dart.privateName(async, "_registerUnaryCallback"); +var _registerBinaryCallback = dart.privateName(async, "_registerBinaryCallback"); +var _errorCallback = dart.privateName(async, "_errorCallback"); +var _scheduleMicrotask = dart.privateName(async, "_scheduleMicrotask"); +var _createTimer = dart.privateName(async, "_createTimer"); +var _createPeriodicTimer = dart.privateName(async, "_createPeriodicTimer"); +var _print = dart.privateName(async, "_print"); +var _fork = dart.privateName(async, "_fork"); +async._ZoneDelegate = class _ZoneDelegate extends core.Object { + handleUncaughtError(zone, error, stackTrace) { + if (zone == null) dart.nullFailed(I[73], 917, 33, "zone"); + if (error == null) dart.nullFailed(I[73], 917, 46, "error"); + if (stackTrace == null) dart.nullFailed(I[73], 917, 64, "stackTrace"); + let implementation = this[_delegationTarget$][_handleUncaughtError]; + let implZone = implementation.zone; + let handler = implementation.function; + return handler(implZone, implZone[_parentDelegate], zone, error, stackTrace); + } + run(R, zone, f) { + if (zone == null) dart.nullFailed(I[73], 924, 17, "zone"); + if (f == null) dart.nullFailed(I[73], 924, 25, "f"); + let implementation = this[_delegationTarget$][_run]; + let implZone = implementation.zone; + let handler = implementation.function; + return handler(R, implZone, implZone[_parentDelegate], zone, f); + } + runUnary(R, T, zone, f, arg) { + if (zone == null) dart.nullFailed(I[73], 931, 25, "zone"); + if (f == null) dart.nullFailed(I[73], 931, 33, "f"); + let implementation = this[_delegationTarget$][_runUnary]; + let implZone = implementation.zone; + let handler = implementation.function; + return handler(R, T, implZone, implZone[_parentDelegate], zone, f, arg); + } + runBinary(R, T1, T2, zone, f, arg1, arg2) { + if (zone == null) dart.nullFailed(I[73], 938, 31, "zone"); + if (f == null) dart.nullFailed(I[73], 938, 39, "f"); + let implementation = this[_delegationTarget$][_runBinary]; + let implZone = implementation.zone; + let handler = implementation.function; + return handler(R, T1, T2, implZone, implZone[_parentDelegate], zone, f, arg1, arg2); + } + registerCallback(R, zone, f) { + if (zone == null) dart.nullFailed(I[73], 945, 44, "zone"); + if (f == null) dart.nullFailed(I[73], 945, 52, "f"); + let implementation = this[_delegationTarget$][_registerCallback]; + let implZone = implementation.zone; + let handler = implementation.function; + return handler(R, implZone, implZone[_parentDelegate], zone, f); + } + registerUnaryCallback(R, T, zone, f) { + if (zone == null) dart.nullFailed(I[73], 952, 60, "zone"); + if (f == null) dart.nullFailed(I[73], 952, 68, "f"); + let implementation = this[_delegationTarget$][_registerUnaryCallback]; + let implZone = implementation.zone; + let handler = implementation.function; + return handler(R, T, implZone, implZone[_parentDelegate], zone, f); + } + registerBinaryCallback(R, T1, T2, zone, f) { + if (zone == null) dart.nullFailed(I[73], 960, 12, "zone"); + if (f == null) dart.nullFailed(I[73], 960, 20, "f"); + let implementation = this[_delegationTarget$][_registerBinaryCallback]; + let implZone = implementation.zone; + let handler = implementation.function; + return handler(R, T1, T2, implZone, implZone[_parentDelegate], zone, f); + } + errorCallback(zone, error, stackTrace) { + if (zone == null) dart.nullFailed(I[73], 967, 34, "zone"); + if (error == null) dart.nullFailed(I[73], 967, 47, "error"); + _internal.checkNotNullable(core.Object, error, "error"); + let implementation = this[_delegationTarget$][_errorCallback]; + let implZone = implementation.zone; + if (implZone == async._rootZone) return null; + let handler = implementation.function; + return handler(implZone, implZone[_parentDelegate], zone, error, stackTrace); + } + scheduleMicrotask(zone, f) { + if (zone == null) dart.nullFailed(I[73], 976, 31, "zone"); + if (f == null) dart.nullFailed(I[73], 976, 37, "f"); + let implementation = this[_delegationTarget$][_scheduleMicrotask]; + let implZone = implementation.zone; + let handler = implementation.function; + handler(implZone, implZone[_parentDelegate], zone, f); + } + createTimer(zone, duration, f) { + if (zone == null) dart.nullFailed(I[73], 983, 26, "zone"); + if (duration == null) dart.nullFailed(I[73], 983, 41, "duration"); + if (f == null) dart.nullFailed(I[73], 983, 56, "f"); + let implementation = this[_delegationTarget$][_createTimer]; + let implZone = implementation.zone; + let handler = implementation.function; + return handler(implZone, implZone[_parentDelegate], zone, duration, f); + } + createPeriodicTimer(zone, period, f) { + if (zone == null) dart.nullFailed(I[73], 990, 34, "zone"); + if (period == null) dart.nullFailed(I[73], 990, 49, "period"); + if (f == null) dart.nullFailed(I[73], 990, 62, "f"); + let implementation = this[_delegationTarget$][_createPeriodicTimer]; + let implZone = implementation.zone; + let handler = implementation.function; + return handler(implZone, implZone[_parentDelegate], zone, period, f); + } + print(zone, line) { + if (zone == null) dart.nullFailed(I[73], 997, 19, "zone"); + if (line == null) dart.nullFailed(I[73], 997, 32, "line"); + let implementation = this[_delegationTarget$][_print]; + let implZone = implementation.zone; + let handler = implementation.function; + handler(implZone, implZone[_parentDelegate], zone, line); + } + fork(zone, specification, zoneValues) { + if (zone == null) dart.nullFailed(I[73], 1004, 18, "zone"); + let implementation = this[_delegationTarget$][_fork]; + let implZone = implementation.zone; + let handler = implementation.function; + return handler(implZone, implZone[_parentDelegate], zone, specification, zoneValues); + } +}; +(async._ZoneDelegate.new = function(_delegationTarget) { + if (_delegationTarget == null) dart.nullFailed(I[73], 915, 22, "_delegationTarget"); + this[_delegationTarget$] = _delegationTarget; + ; +}).prototype = async._ZoneDelegate.prototype; +dart.addTypeTests(async._ZoneDelegate); +dart.addTypeCaches(async._ZoneDelegate); +async._ZoneDelegate[dart.implements] = () => [async.ZoneDelegate]; +dart.setMethodSignature(async._ZoneDelegate, () => ({ + __proto__: dart.getMethods(async._ZoneDelegate.__proto__), + handleUncaughtError: dart.fnType(dart.void, [async.Zone, core.Object, core.StackTrace]), + run: dart.gFnType(R => [R, [async.Zone, dart.fnType(R, [])]], R => [dart.nullable(core.Object)]), + runUnary: dart.gFnType((R, T) => [R, [async.Zone, dart.fnType(R, [T]), T]], (R, T) => [dart.nullable(core.Object), dart.nullable(core.Object)]), + runBinary: dart.gFnType((R, T1, T2) => [R, [async.Zone, dart.fnType(R, [T1, T2]), T1, T2]], (R, T1, T2) => [dart.nullable(core.Object), dart.nullable(core.Object), dart.nullable(core.Object)]), + registerCallback: dart.gFnType(R => [dart.fnType(R, []), [async.Zone, dart.fnType(R, [])]], R => [dart.nullable(core.Object)]), + registerUnaryCallback: dart.gFnType((R, T) => [dart.fnType(R, [T]), [async.Zone, dart.fnType(R, [T])]], (R, T) => [dart.nullable(core.Object), dart.nullable(core.Object)]), + registerBinaryCallback: dart.gFnType((R, T1, T2) => [dart.fnType(R, [T1, T2]), [async.Zone, dart.fnType(R, [T1, T2])]], (R, T1, T2) => [dart.nullable(core.Object), dart.nullable(core.Object), dart.nullable(core.Object)]), + errorCallback: dart.fnType(dart.nullable(async.AsyncError), [async.Zone, core.Object, dart.nullable(core.StackTrace)]), + scheduleMicrotask: dart.fnType(dart.void, [async.Zone, dart.fnType(dart.dynamic, [])]), + createTimer: dart.fnType(async.Timer, [async.Zone, core.Duration, dart.fnType(dart.void, [])]), + createPeriodicTimer: dart.fnType(async.Timer, [async.Zone, core.Duration, dart.fnType(dart.void, [async.Timer])]), + print: dart.fnType(dart.void, [async.Zone, core.String]), + fork: dart.fnType(async.Zone, [async.Zone, dart.nullable(async.ZoneSpecification), dart.nullable(core.Map$(dart.nullable(core.Object), dart.nullable(core.Object)))]) +})); +dart.setLibraryUri(async._ZoneDelegate, I[29]); +dart.setFieldSignature(async._ZoneDelegate, () => ({ + __proto__: dart.getFields(async._ZoneDelegate.__proto__), + [_delegationTarget$]: dart.finalFieldType(async._Zone) +})); +async._Zone = class _Zone extends core.Object { + inSameErrorZone(otherZone) { + if (otherZone == null) dart.nullFailed(I[73], 1039, 29, "otherZone"); + return this === otherZone || this.errorZone == otherZone.errorZone; + } +}; +(async._Zone.new = function() { + ; +}).prototype = async._Zone.prototype; +dart.addTypeTests(async._Zone); +dart.addTypeCaches(async._Zone); +async._Zone[dart.implements] = () => [async.Zone]; +dart.setMethodSignature(async._Zone, () => ({ + __proto__: dart.getMethods(async._Zone.__proto__), + inSameErrorZone: dart.fnType(core.bool, [async.Zone]) +})); +dart.setLibraryUri(async._Zone, I[29]); +var _run$ = dart.privateName(async, "_CustomZone._run"); +var _runUnary$ = dart.privateName(async, "_CustomZone._runUnary"); +var _runBinary$ = dart.privateName(async, "_CustomZone._runBinary"); +var _registerCallback$ = dart.privateName(async, "_CustomZone._registerCallback"); +var _registerUnaryCallback$ = dart.privateName(async, "_CustomZone._registerUnaryCallback"); +var _registerBinaryCallback$ = dart.privateName(async, "_CustomZone._registerBinaryCallback"); +var _errorCallback$ = dart.privateName(async, "_CustomZone._errorCallback"); +var _scheduleMicrotask$ = dart.privateName(async, "_CustomZone._scheduleMicrotask"); +var _createTimer$ = dart.privateName(async, "_CustomZone._createTimer"); +var _createPeriodicTimer$ = dart.privateName(async, "_CustomZone._createPeriodicTimer"); +var _print$ = dart.privateName(async, "_CustomZone._print"); +var _fork$ = dart.privateName(async, "_CustomZone._fork"); +var _handleUncaughtError$ = dart.privateName(async, "_CustomZone._handleUncaughtError"); +var parent$ = dart.privateName(async, "_CustomZone.parent"); +var _map$2 = dart.privateName(async, "_CustomZone._map"); +var _delegateCache = dart.privateName(async, "_delegateCache"); +var _map$3 = dart.privateName(async, "_map"); +var _delegate = dart.privateName(async, "_delegate"); +async._CustomZone = class _CustomZone extends async._Zone { + get [_run]() { + return this[_run$]; + } + set [_run](value) { + this[_run$] = value; + } + get [_runUnary]() { + return this[_runUnary$]; + } + set [_runUnary](value) { + this[_runUnary$] = value; + } + get [_runBinary]() { + return this[_runBinary$]; + } + set [_runBinary](value) { + this[_runBinary$] = value; + } + get [_registerCallback]() { + return this[_registerCallback$]; + } + set [_registerCallback](value) { + this[_registerCallback$] = value; + } + get [_registerUnaryCallback]() { + return this[_registerUnaryCallback$]; + } + set [_registerUnaryCallback](value) { + this[_registerUnaryCallback$] = value; + } + get [_registerBinaryCallback]() { + return this[_registerBinaryCallback$]; + } + set [_registerBinaryCallback](value) { + this[_registerBinaryCallback$] = value; + } + get [_errorCallback]() { + return this[_errorCallback$]; + } + set [_errorCallback](value) { + this[_errorCallback$] = value; + } + get [_scheduleMicrotask]() { + return this[_scheduleMicrotask$]; + } + set [_scheduleMicrotask](value) { + this[_scheduleMicrotask$] = value; + } + get [_createTimer]() { + return this[_createTimer$]; + } + set [_createTimer](value) { + this[_createTimer$] = value; + } + get [_createPeriodicTimer]() { + return this[_createPeriodicTimer$]; + } + set [_createPeriodicTimer](value) { + this[_createPeriodicTimer$] = value; + } + get [_print]() { + return this[_print$]; + } + set [_print](value) { + this[_print$] = value; + } + get [_fork]() { + return this[_fork$]; + } + set [_fork](value) { + this[_fork$] = value; + } + get [_handleUncaughtError]() { + return this[_handleUncaughtError$]; + } + set [_handleUncaughtError](value) { + this[_handleUncaughtError$] = value; + } + get parent() { + return this[parent$]; + } + set parent(value) { + super.parent = value; + } + get [_map$3]() { + return this[_map$2]; + } + set [_map$3](value) { + super[_map$3] = value; + } + get [_delegate]() { + let t128; + t128 = this[_delegateCache]; + return t128 == null ? this[_delegateCache] = new async._ZoneDelegate.new(this) : t128; + } + get [_parentDelegate]() { + return this.parent[_delegate]; + } + get errorZone() { + return this[_handleUncaughtError].zone; + } + runGuarded(f) { + if (f == null) dart.nullFailed(I[73], 1160, 24, "f"); + try { + this.run(dart.void, f); + } catch (e$) { + let e = dart.getThrown(e$); + let s = dart.stackTrace(e$); + if (core.Object.is(e)) { + this.handleUncaughtError(e, s); + } else + throw e$; + } + } + runUnaryGuarded(T, f, arg) { + if (f == null) dart.nullFailed(I[73], 1168, 32, "f"); + try { + this.runUnary(dart.void, T, f, arg); + } catch (e$) { + let e = dart.getThrown(e$); + let s = dart.stackTrace(e$); + if (core.Object.is(e)) { + this.handleUncaughtError(e, s); + } else + throw e$; + } + } + runBinaryGuarded(T1, T2, f, arg1, arg2) { + if (f == null) dart.nullFailed(I[73], 1176, 38, "f"); + try { + this.runBinary(dart.void, T1, T2, f, arg1, arg2); + } catch (e$) { + let e = dart.getThrown(e$); + let s = dart.stackTrace(e$); + if (core.Object.is(e)) { + this.handleUncaughtError(e, s); + } else + throw e$; + } + } + bindCallback(R, f) { + if (f == null) dart.nullFailed(I[73], 1184, 37, "f"); + let registered = this.registerCallback(R, f); + return dart.fn(() => this.run(R, registered), dart.fnType(R, [])); + } + bindUnaryCallback(R, T, f) { + if (f == null) dart.nullFailed(I[73], 1189, 53, "f"); + let registered = this.registerUnaryCallback(R, T, f); + return dart.fn(arg => this.runUnary(R, T, registered, arg), dart.fnType(R, [T])); + } + bindBinaryCallback(R, T1, T2, f) { + if (f == null) dart.nullFailed(I[73], 1195, 9, "f"); + let registered = this.registerBinaryCallback(R, T1, T2, f); + return dart.fn((arg1, arg2) => this.runBinary(R, T1, T2, registered, arg1, arg2), dart.fnType(R, [T1, T2])); + } + bindCallbackGuarded(f) { + if (f == null) dart.nullFailed(I[73], 1200, 44, "f"); + let registered = this.registerCallback(dart.void, f); + return dart.fn(() => this.runGuarded(registered), T$.VoidTovoid()); + } + bindUnaryCallbackGuarded(T, f) { + if (f == null) dart.nullFailed(I[73], 1205, 53, "f"); + let registered = this.registerUnaryCallback(dart.void, T, f); + return dart.fn(arg => this.runUnaryGuarded(T, registered, arg), dart.fnType(dart.void, [T])); + } + bindBinaryCallbackGuarded(T1, T2, f) { + if (f == null) dart.nullFailed(I[73], 1211, 12, "f"); + let registered = this.registerBinaryCallback(dart.void, T1, T2, f); + return dart.fn((arg1, arg2) => this.runBinaryGuarded(T1, T2, registered, arg1, arg2), dart.fnType(dart.void, [T1, T2])); + } + _get(key) { + let result = this[_map$3][$_get](key); + if (result != null || dart.test(this[_map$3][$containsKey](key))) return result; + if (this.parent != null) { + let value = this.parent._get(key); + if (value != null) { + this[_map$3][$_set](key, value); + } + return value; + } + if (!this[$_equals](async._rootZone)) dart.assertFailed(null, I[73], 1231, 12, "this == _rootZone"); + return null; + } + handleUncaughtError(error, stackTrace) { + if (error == null) dart.nullFailed(I[73], 1237, 35, "error"); + if (stackTrace == null) dart.nullFailed(I[73], 1237, 53, "stackTrace"); + let implementation = this[_handleUncaughtError]; + let parentDelegate = implementation.zone[_parentDelegate]; + let handler = implementation.function; + return handler(implementation.zone, parentDelegate, this, error, stackTrace); + } + fork(opts) { + let specification = opts && 'specification' in opts ? opts.specification : null; + let zoneValues = opts && 'zoneValues' in opts ? opts.zoneValues : null; + let implementation = this[_fork]; + let parentDelegate = implementation.zone[_parentDelegate]; + let handler = implementation.function; + return handler(implementation.zone, parentDelegate, this, specification, zoneValues); + } + run(R, f) { + if (f == null) dart.nullFailed(I[73], 1254, 14, "f"); + let implementation = this[_run]; + let parentDelegate = implementation.zone[_parentDelegate]; + let handler = implementation.function; + return handler(R, implementation.zone, parentDelegate, this, f); + } + runUnary(R, T, f, arg) { + if (f == null) dart.nullFailed(I[73], 1261, 22, "f"); + let implementation = this[_runUnary]; + let parentDelegate = implementation.zone[_parentDelegate]; + let handler = implementation.function; + return handler(R, T, implementation.zone, parentDelegate, this, f, arg); + } + runBinary(R, T1, T2, f, arg1, arg2) { + if (f == null) dart.nullFailed(I[73], 1268, 28, "f"); + let implementation = this[_runBinary]; + let parentDelegate = implementation.zone[_parentDelegate]; + let handler = implementation.function; + return handler(R, T1, T2, implementation.zone, parentDelegate, this, f, arg1, arg2); + } + registerCallback(R, callback) { + if (callback == null) dart.nullFailed(I[73], 1275, 41, "callback"); + let implementation = this[_registerCallback]; + let parentDelegate = implementation.zone[_parentDelegate]; + let handler = implementation.function; + return handler(R, implementation.zone, parentDelegate, this, callback); + } + registerUnaryCallback(R, T, callback) { + if (callback == null) dart.nullFailed(I[73], 1282, 57, "callback"); + let implementation = this[_registerUnaryCallback]; + let parentDelegate = implementation.zone[_parentDelegate]; + let handler = implementation.function; + return handler(R, T, implementation.zone, parentDelegate, this, callback); + } + registerBinaryCallback(R, T1, T2, callback) { + if (callback == null) dart.nullFailed(I[73], 1290, 9, "callback"); + let implementation = this[_registerBinaryCallback]; + let parentDelegate = implementation.zone[_parentDelegate]; + let handler = implementation.function; + return handler(R, T1, T2, implementation.zone, parentDelegate, this, callback); + } + errorCallback(error, stackTrace) { + if (error == null) dart.nullFailed(I[73], 1297, 36, "error"); + _internal.checkNotNullable(core.Object, error, "error"); + let implementation = this[_errorCallback]; + let implementationZone = implementation.zone; + if (implementationZone == async._rootZone) return null; + let parentDelegate = implementationZone[_parentDelegate]; + let handler = implementation.function; + return handler(implementationZone, parentDelegate, this, error, stackTrace); + } + scheduleMicrotask(f) { + if (f == null) dart.nullFailed(I[73], 1307, 31, "f"); + let implementation = this[_scheduleMicrotask]; + let parentDelegate = implementation.zone[_parentDelegate]; + let handler = implementation.function; + return handler(implementation.zone, parentDelegate, this, f); + } + createTimer(duration, f) { + if (duration == null) dart.nullFailed(I[73], 1314, 30, "duration"); + if (f == null) dart.nullFailed(I[73], 1314, 45, "f"); + let implementation = this[_createTimer]; + let parentDelegate = implementation.zone[_parentDelegate]; + let handler = implementation.function; + return handler(implementation.zone, parentDelegate, this, duration, f); + } + createPeriodicTimer(duration, f) { + if (duration == null) dart.nullFailed(I[73], 1321, 38, "duration"); + if (f == null) dart.nullFailed(I[73], 1321, 53, "f"); + let implementation = this[_createPeriodicTimer]; + let parentDelegate = implementation.zone[_parentDelegate]; + let handler = implementation.function; + return handler(implementation.zone, parentDelegate, this, duration, f); + } + print(line) { + if (line == null) dart.nullFailed(I[73], 1328, 21, "line"); + let implementation = this[_print]; + let parentDelegate = implementation.zone[_parentDelegate]; + let handler = implementation.function; + return handler(implementation.zone, parentDelegate, this, line); + } +}; +(async._CustomZone.new = function(parent, specification, _map) { + if (parent == null) dart.nullFailed(I[73], 1078, 20, "parent"); + if (specification == null) dart.nullFailed(I[73], 1078, 46, "specification"); + if (_map == null) dart.nullFailed(I[73], 1078, 66, "_map"); + this[_delegateCache] = null; + this[parent$] = parent; + this[_map$2] = _map; + this[_run$] = parent[_run]; + this[_runUnary$] = parent[_runUnary]; + this[_runBinary$] = parent[_runBinary]; + this[_registerCallback$] = parent[_registerCallback]; + this[_registerUnaryCallback$] = parent[_registerUnaryCallback]; + this[_registerBinaryCallback$] = parent[_registerBinaryCallback]; + this[_errorCallback$] = parent[_errorCallback]; + this[_scheduleMicrotask$] = parent[_scheduleMicrotask]; + this[_createTimer$] = parent[_createTimer]; + this[_createPeriodicTimer$] = parent[_createPeriodicTimer]; + this[_print$] = parent[_print]; + this[_fork$] = parent[_fork]; + this[_handleUncaughtError$] = parent[_handleUncaughtError]; + async._CustomZone.__proto__.new.call(this); + let run = specification.run; + if (run != null) { + this[_run] = new async._RunNullaryZoneFunction.new(this, run); + } + let runUnary = specification.runUnary; + if (runUnary != null) { + this[_runUnary] = new async._RunUnaryZoneFunction.new(this, runUnary); + } + let runBinary = specification.runBinary; + if (runBinary != null) { + this[_runBinary] = new async._RunBinaryZoneFunction.new(this, runBinary); + } + let registerCallback = specification.registerCallback; + if (registerCallback != null) { + this[_registerCallback] = new async._RegisterNullaryZoneFunction.new(this, registerCallback); + } + let registerUnaryCallback = specification.registerUnaryCallback; + if (registerUnaryCallback != null) { + this[_registerUnaryCallback] = new async._RegisterUnaryZoneFunction.new(this, registerUnaryCallback); + } + let registerBinaryCallback = specification.registerBinaryCallback; + if (registerBinaryCallback != null) { + this[_registerBinaryCallback] = new async._RegisterBinaryZoneFunction.new(this, registerBinaryCallback); + } + let errorCallback = specification.errorCallback; + if (errorCallback != null) { + this[_errorCallback] = new (T$._ZoneFunctionOfZoneAndZoneDelegateAndZone__ToAsyncErrorN()).new(this, errorCallback); + } + let scheduleMicrotask = specification.scheduleMicrotask; + if (scheduleMicrotask != null) { + this[_scheduleMicrotask] = new (T$._ZoneFunctionOfZoneAndZoneDelegateAndZone__Tovoid()).new(this, scheduleMicrotask); + } + let createTimer = specification.createTimer; + if (createTimer != null) { + this[_createTimer] = new (T$._ZoneFunctionOfZoneAndZoneDelegateAndZone__ToTimer()).new(this, createTimer); + } + let createPeriodicTimer = specification.createPeriodicTimer; + if (createPeriodicTimer != null) { + this[_createPeriodicTimer] = new (T$._ZoneFunctionOfZoneAndZoneDelegateAndZone__ToTimer$1()).new(this, createPeriodicTimer); + } + let print = specification.print; + if (print != null) { + this[_print] = new (T$._ZoneFunctionOfZoneAndZoneDelegateAndZone__Tovoid$1()).new(this, print); + } + let fork = specification.fork; + if (fork != null) { + this[_fork] = new (T$._ZoneFunctionOfZoneAndZoneDelegateAndZone__ToZone()).new(this, fork); + } + let handleUncaughtError = specification.handleUncaughtError; + if (handleUncaughtError != null) { + this[_handleUncaughtError] = new (T$._ZoneFunctionOfZoneAndZoneDelegateAndZone__Tovoid$2()).new(this, handleUncaughtError); + } +}).prototype = async._CustomZone.prototype; +dart.addTypeTests(async._CustomZone); +dart.addTypeCaches(async._CustomZone); +dart.setMethodSignature(async._CustomZone, () => ({ + __proto__: dart.getMethods(async._CustomZone.__proto__), + runGuarded: dart.fnType(dart.void, [dart.fnType(dart.void, [])]), + runUnaryGuarded: dart.gFnType(T => [dart.void, [dart.fnType(dart.void, [T]), T]], T => [dart.nullable(core.Object)]), + runBinaryGuarded: dart.gFnType((T1, T2) => [dart.void, [dart.fnType(dart.void, [T1, T2]), T1, T2]], (T1, T2) => [dart.nullable(core.Object), dart.nullable(core.Object)]), + bindCallback: dart.gFnType(R => [dart.fnType(R, []), [dart.fnType(R, [])]], R => [dart.nullable(core.Object)]), + bindUnaryCallback: dart.gFnType((R, T) => [dart.fnType(R, [T]), [dart.fnType(R, [T])]], (R, T) => [dart.nullable(core.Object), dart.nullable(core.Object)]), + bindBinaryCallback: dart.gFnType((R, T1, T2) => [dart.fnType(R, [T1, T2]), [dart.fnType(R, [T1, T2])]], (R, T1, T2) => [dart.nullable(core.Object), dart.nullable(core.Object), dart.nullable(core.Object)]), + bindCallbackGuarded: dart.fnType(dart.fnType(dart.void, []), [dart.fnType(dart.void, [])]), + bindUnaryCallbackGuarded: dart.gFnType(T => [dart.fnType(dart.void, [T]), [dart.fnType(dart.void, [T])]], T => [dart.nullable(core.Object)]), + bindBinaryCallbackGuarded: dart.gFnType((T1, T2) => [dart.fnType(dart.void, [T1, T2]), [dart.fnType(dart.void, [T1, T2])]], (T1, T2) => [dart.nullable(core.Object), dart.nullable(core.Object)]), + _get: dart.fnType(dart.dynamic, [dart.nullable(core.Object)]), + handleUncaughtError: dart.fnType(dart.void, [core.Object, core.StackTrace]), + fork: dart.fnType(async.Zone, [], {specification: dart.nullable(async.ZoneSpecification), zoneValues: dart.nullable(core.Map$(dart.nullable(core.Object), dart.nullable(core.Object)))}, {}), + run: dart.gFnType(R => [R, [dart.fnType(R, [])]], R => [dart.nullable(core.Object)]), + runUnary: dart.gFnType((R, T) => [R, [dart.fnType(R, [T]), T]], (R, T) => [dart.nullable(core.Object), dart.nullable(core.Object)]), + runBinary: dart.gFnType((R, T1, T2) => [R, [dart.fnType(R, [T1, T2]), T1, T2]], (R, T1, T2) => [dart.nullable(core.Object), dart.nullable(core.Object), dart.nullable(core.Object)]), + registerCallback: dart.gFnType(R => [dart.fnType(R, []), [dart.fnType(R, [])]], R => [dart.nullable(core.Object)]), + registerUnaryCallback: dart.gFnType((R, T) => [dart.fnType(R, [T]), [dart.fnType(R, [T])]], (R, T) => [dart.nullable(core.Object), dart.nullable(core.Object)]), + registerBinaryCallback: dart.gFnType((R, T1, T2) => [dart.fnType(R, [T1, T2]), [dart.fnType(R, [T1, T2])]], (R, T1, T2) => [dart.nullable(core.Object), dart.nullable(core.Object), dart.nullable(core.Object)]), + errorCallback: dart.fnType(dart.nullable(async.AsyncError), [core.Object, dart.nullable(core.StackTrace)]), + scheduleMicrotask: dart.fnType(dart.void, [dart.fnType(dart.void, [])]), + createTimer: dart.fnType(async.Timer, [core.Duration, dart.fnType(dart.void, [])]), + createPeriodicTimer: dart.fnType(async.Timer, [core.Duration, dart.fnType(dart.void, [async.Timer])]), + print: dart.fnType(dart.void, [core.String]) +})); +dart.setGetterSignature(async._CustomZone, () => ({ + __proto__: dart.getGetters(async._CustomZone.__proto__), + [_delegate]: async.ZoneDelegate, + [_parentDelegate]: async.ZoneDelegate, + errorZone: async.Zone +})); +dart.setLibraryUri(async._CustomZone, I[29]); +dart.setFieldSignature(async._CustomZone, () => ({ + __proto__: dart.getFields(async._CustomZone.__proto__), + [_run]: dart.fieldType(async._RunNullaryZoneFunction), + [_runUnary]: dart.fieldType(async._RunUnaryZoneFunction), + [_runBinary]: dart.fieldType(async._RunBinaryZoneFunction), + [_registerCallback]: dart.fieldType(async._RegisterNullaryZoneFunction), + [_registerUnaryCallback]: dart.fieldType(async._RegisterUnaryZoneFunction), + [_registerBinaryCallback]: dart.fieldType(async._RegisterBinaryZoneFunction), + [_errorCallback]: dart.fieldType(async._ZoneFunction$(dart.fnType(dart.nullable(async.AsyncError), [async.Zone, async.ZoneDelegate, async.Zone, core.Object, dart.nullable(core.StackTrace)]))), + [_scheduleMicrotask]: dart.fieldType(async._ZoneFunction$(dart.fnType(dart.void, [async.Zone, async.ZoneDelegate, async.Zone, dart.fnType(dart.void, [])]))), + [_createTimer]: dart.fieldType(async._ZoneFunction$(dart.fnType(async.Timer, [async.Zone, async.ZoneDelegate, async.Zone, core.Duration, dart.fnType(dart.void, [])]))), + [_createPeriodicTimer]: dart.fieldType(async._ZoneFunction$(dart.fnType(async.Timer, [async.Zone, async.ZoneDelegate, async.Zone, core.Duration, dart.fnType(dart.void, [async.Timer])]))), + [_print]: dart.fieldType(async._ZoneFunction$(dart.fnType(dart.void, [async.Zone, async.ZoneDelegate, async.Zone, core.String]))), + [_fork]: dart.fieldType(async._ZoneFunction$(dart.fnType(async.Zone, [async.Zone, async.ZoneDelegate, async.Zone, dart.nullable(async.ZoneSpecification), dart.nullable(core.Map$(dart.nullable(core.Object), dart.nullable(core.Object)))]))), + [_handleUncaughtError]: dart.fieldType(async._ZoneFunction$(dart.fnType(dart.void, [async.Zone, async.ZoneDelegate, async.Zone, core.Object, core.StackTrace]))), + [_delegateCache]: dart.fieldType(dart.nullable(async.ZoneDelegate)), + parent: dart.finalFieldType(async._Zone), + [_map$3]: dart.finalFieldType(core.Map$(dart.nullable(core.Object), dart.nullable(core.Object))) +})); +async._RootZone = class _RootZone extends async._Zone { + get [_run]() { + return C[45] || CT.C45; + } + get [_runUnary]() { + return C[47] || CT.C47; + } + get [_runBinary]() { + return C[49] || CT.C49; + } + get [_registerCallback]() { + return C[51] || CT.C51; + } + get [_registerUnaryCallback]() { + return C[53] || CT.C53; + } + get [_registerBinaryCallback]() { + return C[55] || CT.C55; + } + get [_errorCallback]() { + return C[57] || CT.C57; + } + get [_scheduleMicrotask]() { + return C[59] || CT.C59; + } + get [_createTimer]() { + return C[61] || CT.C61; + } + get [_createPeriodicTimer]() { + return C[63] || CT.C63; + } + get [_print]() { + return C[65] || CT.C65; + } + get [_fork]() { + return C[67] || CT.C67; + } + get [_handleUncaughtError]() { + return C[69] || CT.C69; + } + get parent() { + return null; + } + get [_map$3]() { + return async._RootZone._rootMap; + } + get [_delegate]() { + let t131; + t131 = async._RootZone._rootDelegate; + return t131 == null ? async._RootZone._rootDelegate = new async._ZoneDelegate.new(this) : t131; + } + get [_parentDelegate]() { + return this[_delegate]; + } + get errorZone() { + return this; + } + runGuarded(f) { + if (f == null) dart.nullFailed(I[73], 1531, 24, "f"); + try { + if (async._rootZone == async.Zone._current) { + f(); + return; + } + async._rootRun(dart.void, null, null, this, f); + } catch (e$) { + let e = dart.getThrown(e$); + let s = dart.stackTrace(e$); + if (core.Object.is(e)) { + this.handleUncaughtError(e, s); + } else + throw e$; + } + } + runUnaryGuarded(T, f, arg) { + if (f == null) dart.nullFailed(I[73], 1543, 32, "f"); + try { + if (async._rootZone == async.Zone._current) { + f(arg); + return; + } + async._rootRunUnary(dart.void, T, null, null, this, f, arg); + } catch (e$) { + let e = dart.getThrown(e$); + let s = dart.stackTrace(e$); + if (core.Object.is(e)) { + this.handleUncaughtError(e, s); + } else + throw e$; + } + } + runBinaryGuarded(T1, T2, f, arg1, arg2) { + if (f == null) dart.nullFailed(I[73], 1555, 38, "f"); + try { + if (async._rootZone == async.Zone._current) { + f(arg1, arg2); + return; + } + async._rootRunBinary(dart.void, T1, T2, null, null, this, f, arg1, arg2); + } catch (e$) { + let e = dart.getThrown(e$); + let s = dart.stackTrace(e$); + if (core.Object.is(e)) { + this.handleUncaughtError(e, s); + } else + throw e$; + } + } + bindCallback(R, f) { + if (f == null) dart.nullFailed(I[73], 1567, 37, "f"); + return dart.fn(() => this.run(R, f), dart.fnType(R, [])); + } + bindUnaryCallback(R, T, f) { + if (f == null) dart.nullFailed(I[73], 1571, 53, "f"); + return dart.fn(arg => this.runUnary(R, T, f, arg), dart.fnType(R, [T])); + } + bindBinaryCallback(R, T1, T2, f) { + if (f == null) dart.nullFailed(I[73], 1576, 9, "f"); + return dart.fn((arg1, arg2) => this.runBinary(R, T1, T2, f, arg1, arg2), dart.fnType(R, [T1, T2])); + } + bindCallbackGuarded(f) { + if (f == null) dart.nullFailed(I[73], 1580, 44, "f"); + return dart.fn(() => this.runGuarded(f), T$.VoidTovoid()); + } + bindUnaryCallbackGuarded(T, f) { + if (f == null) dart.nullFailed(I[73], 1584, 53, "f"); + return dart.fn(arg => this.runUnaryGuarded(T, f, arg), dart.fnType(dart.void, [T])); + } + bindBinaryCallbackGuarded(T1, T2, f) { + if (f == null) dart.nullFailed(I[73], 1589, 12, "f"); + return dart.fn((arg1, arg2) => this.runBinaryGuarded(T1, T2, f, arg1, arg2), dart.fnType(dart.void, [T1, T2])); + } + _get(key) { + return null; + } + handleUncaughtError(error, stackTrace) { + if (error == null) dart.nullFailed(I[73], 1597, 35, "error"); + if (stackTrace == null) dart.nullFailed(I[73], 1597, 53, "stackTrace"); + async._rootHandleUncaughtError(null, null, this, error, stackTrace); + } + fork(opts) { + let specification = opts && 'specification' in opts ? opts.specification : null; + let zoneValues = opts && 'zoneValues' in opts ? opts.zoneValues : null; + return async._rootFork(null, null, this, specification, zoneValues); + } + run(R, f) { + if (f == null) dart.nullFailed(I[73], 1606, 14, "f"); + if (async.Zone._current == async._rootZone) return f(); + return async._rootRun(R, null, null, this, f); + } + runUnary(R, T, f, arg) { + if (f == null) dart.nullFailed(I[73], 1612, 22, "f"); + if (async.Zone._current == async._rootZone) return f(arg); + return async._rootRunUnary(R, T, null, null, this, f, arg); + } + runBinary(R, T1, T2, f, arg1, arg2) { + if (f == null) dart.nullFailed(I[73], 1617, 28, "f"); + if (async.Zone._current == async._rootZone) return f(arg1, arg2); + return async._rootRunBinary(R, T1, T2, null, null, this, f, arg1, arg2); + } + registerCallback(R, f) { + if (f == null) dart.nullFailed(I[73], 1622, 41, "f"); + return f; + } + registerUnaryCallback(R, T, f) { + if (f == null) dart.nullFailed(I[73], 1624, 57, "f"); + return f; + } + registerBinaryCallback(R, T1, T2, f) { + if (f == null) dart.nullFailed(I[73], 1627, 13, "f"); + return f; + } + errorCallback(error, stackTrace) { + if (error == null) dart.nullFailed(I[73], 1630, 36, "error"); + return null; + } + scheduleMicrotask(f) { + if (f == null) dart.nullFailed(I[73], 1632, 31, "f"); + async._rootScheduleMicrotask(null, null, this, f); + } + createTimer(duration, f) { + if (duration == null) dart.nullFailed(I[73], 1636, 30, "duration"); + if (f == null) dart.nullFailed(I[73], 1636, 45, "f"); + return async.Timer._createTimer(duration, f); + } + createPeriodicTimer(duration, f) { + if (duration == null) dart.nullFailed(I[73], 1640, 38, "duration"); + if (f == null) dart.nullFailed(I[73], 1640, 53, "f"); + return async.Timer._createPeriodicTimer(duration, f); + } + print(line) { + if (line == null) dart.nullFailed(I[73], 1644, 21, "line"); + _internal.printToConsole(line); + } +}; +(async._RootZone.new = function() { + async._RootZone.__proto__.new.call(this); + ; +}).prototype = async._RootZone.prototype; +dart.addTypeTests(async._RootZone); +dart.addTypeCaches(async._RootZone); +dart.setMethodSignature(async._RootZone, () => ({ + __proto__: dart.getMethods(async._RootZone.__proto__), + runGuarded: dart.fnType(dart.void, [dart.fnType(dart.void, [])]), + runUnaryGuarded: dart.gFnType(T => [dart.void, [dart.fnType(dart.void, [T]), T]], T => [dart.nullable(core.Object)]), + runBinaryGuarded: dart.gFnType((T1, T2) => [dart.void, [dart.fnType(dart.void, [T1, T2]), T1, T2]], (T1, T2) => [dart.nullable(core.Object), dart.nullable(core.Object)]), + bindCallback: dart.gFnType(R => [dart.fnType(R, []), [dart.fnType(R, [])]], R => [dart.nullable(core.Object)]), + bindUnaryCallback: dart.gFnType((R, T) => [dart.fnType(R, [T]), [dart.fnType(R, [T])]], (R, T) => [dart.nullable(core.Object), dart.nullable(core.Object)]), + bindBinaryCallback: dart.gFnType((R, T1, T2) => [dart.fnType(R, [T1, T2]), [dart.fnType(R, [T1, T2])]], (R, T1, T2) => [dart.nullable(core.Object), dart.nullable(core.Object), dart.nullable(core.Object)]), + bindCallbackGuarded: dart.fnType(dart.fnType(dart.void, []), [dart.fnType(dart.void, [])]), + bindUnaryCallbackGuarded: dart.gFnType(T => [dart.fnType(dart.void, [T]), [dart.fnType(dart.void, [T])]], T => [dart.nullable(core.Object)]), + bindBinaryCallbackGuarded: dart.gFnType((T1, T2) => [dart.fnType(dart.void, [T1, T2]), [dart.fnType(dart.void, [T1, T2])]], (T1, T2) => [dart.nullable(core.Object), dart.nullable(core.Object)]), + _get: dart.fnType(dart.dynamic, [dart.nullable(core.Object)]), + handleUncaughtError: dart.fnType(dart.void, [core.Object, core.StackTrace]), + fork: dart.fnType(async.Zone, [], {specification: dart.nullable(async.ZoneSpecification), zoneValues: dart.nullable(core.Map$(dart.nullable(core.Object), dart.nullable(core.Object)))}, {}), + run: dart.gFnType(R => [R, [dart.fnType(R, [])]], R => [dart.nullable(core.Object)]), + runUnary: dart.gFnType((R, T) => [R, [dart.fnType(R, [T]), T]], (R, T) => [dart.nullable(core.Object), dart.nullable(core.Object)]), + runBinary: dart.gFnType((R, T1, T2) => [R, [dart.fnType(R, [T1, T2]), T1, T2]], (R, T1, T2) => [dart.nullable(core.Object), dart.nullable(core.Object), dart.nullable(core.Object)]), + registerCallback: dart.gFnType(R => [dart.fnType(R, []), [dart.fnType(R, [])]], R => [dart.nullable(core.Object)]), + registerUnaryCallback: dart.gFnType((R, T) => [dart.fnType(R, [T]), [dart.fnType(R, [T])]], (R, T) => [dart.nullable(core.Object), dart.nullable(core.Object)]), + registerBinaryCallback: dart.gFnType((R, T1, T2) => [dart.fnType(R, [T1, T2]), [dart.fnType(R, [T1, T2])]], (R, T1, T2) => [dart.nullable(core.Object), dart.nullable(core.Object), dart.nullable(core.Object)]), + errorCallback: dart.fnType(dart.nullable(async.AsyncError), [core.Object, dart.nullable(core.StackTrace)]), + scheduleMicrotask: dart.fnType(dart.void, [dart.fnType(dart.void, [])]), + createTimer: dart.fnType(async.Timer, [core.Duration, dart.fnType(dart.void, [])]), + createPeriodicTimer: dart.fnType(async.Timer, [core.Duration, dart.fnType(dart.void, [async.Timer])]), + print: dart.fnType(dart.void, [core.String]) +})); +dart.setGetterSignature(async._RootZone, () => ({ + __proto__: dart.getGetters(async._RootZone.__proto__), + [_run]: async._RunNullaryZoneFunction, + [_runUnary]: async._RunUnaryZoneFunction, + [_runBinary]: async._RunBinaryZoneFunction, + [_registerCallback]: async._RegisterNullaryZoneFunction, + [_registerUnaryCallback]: async._RegisterUnaryZoneFunction, + [_registerBinaryCallback]: async._RegisterBinaryZoneFunction, + [_errorCallback]: async._ZoneFunction$(dart.fnType(dart.nullable(async.AsyncError), [async.Zone, async.ZoneDelegate, async.Zone, core.Object, dart.nullable(core.StackTrace)])), + [_scheduleMicrotask]: async._ZoneFunction$(dart.fnType(dart.void, [async.Zone, async.ZoneDelegate, async.Zone, dart.fnType(dart.void, [])])), + [_createTimer]: async._ZoneFunction$(dart.fnType(async.Timer, [async.Zone, async.ZoneDelegate, async.Zone, core.Duration, dart.fnType(dart.void, [])])), + [_createPeriodicTimer]: async._ZoneFunction$(dart.fnType(async.Timer, [async.Zone, async.ZoneDelegate, async.Zone, core.Duration, dart.fnType(dart.void, [async.Timer])])), + [_print]: async._ZoneFunction$(dart.fnType(dart.void, [async.Zone, async.ZoneDelegate, async.Zone, core.String])), + [_fork]: async._ZoneFunction$(dart.fnType(async.Zone, [async.Zone, async.ZoneDelegate, async.Zone, dart.nullable(async.ZoneSpecification), dart.nullable(core.Map$(dart.nullable(core.Object), dart.nullable(core.Object)))])), + [_handleUncaughtError]: async._ZoneFunction$(dart.fnType(dart.void, [async.Zone, async.ZoneDelegate, async.Zone, core.Object, core.StackTrace])), + parent: dart.nullable(async._Zone), + [_map$3]: core.Map$(dart.nullable(core.Object), dart.nullable(core.Object)), + [_delegate]: async.ZoneDelegate, + [_parentDelegate]: async.ZoneDelegate, + errorZone: async.Zone +})); +dart.setLibraryUri(async._RootZone, I[29]); +dart.defineLazy(async._RootZone, { + /*async._RootZone._rootMap*/get _rootMap() { + return new _js_helper.LinkedMap.new(); + }, + /*async._RootZone._rootDelegate*/get _rootDelegate() { + return null; + }, + set _rootDelegate(_) {} +}, false); +async.async = function _async(T, initGenerator) { + if (initGenerator == null) dart.nullFailed(I[61], 25, 22, "initGenerator"); + let iter = null; + let onValue = null; + let onValue$35isSet = false; + function onValue$35get() { + return onValue$35isSet ? onValue : dart.throw(new _internal.LateError.localNI("onValue")); + } + function onValue$35set(t137) { + if (t137 == null) dart.nullFailed(I[61], 27, 34, "null"); + onValue$35isSet = true; + return onValue = t137; + } + let onError = null; + let onError$35isSet = false; + function onError$35get() { + return onError$35isSet ? onError : dart.throw(new _internal.LateError.localNI("onError")); + } + function onError$35set(t142) { + if (t142 == null) dart.nullFailed(I[61], 28, 45, "null"); + onError$35isSet = true; + return onError = t142; + } + function onAwait(value) { + let f = null; + if (async._Future.is(value)) { + f = value; + } else if (async.Future.is(value)) { + f = new (T$._FutureOfObjectN()).new(); + f[_chainForeignFuture](value); + } else { + f = new (T$._FutureOfObjectN()).value(value); + } + f = f[_thenAwait](T$.ObjectN(), onValue$35get(), onError$35get()); + return f; + } + onValue$35set(value => { + let iteratorResult = iter.next(value); + value = iteratorResult.value; + return iteratorResult.done ? value : onAwait(value); + }); + onError$35set((value, stackTrace) => { + if (value == null) dart.nullFailed(I[61], 58, 14, "value"); + let iteratorResult = iter.throw(dart.createErrorWithStack(value, stackTrace)); + value = iteratorResult.value; + return iteratorResult.done ? value : onAwait(value); + }); + let zone = async.Zone.current; + if (zone != async._rootZone) { + onValue$35set(zone.registerUnaryCallback(T$.ObjectN(), T$.ObjectN(), onValue$35get())); + onError$35set(zone.registerBinaryCallback(core.Object, core.Object, T$.StackTraceN(), onError$35get())); + } + let asyncFuture = new (async._Future$(T)).new(); + let isRunningAsEvent = false; + function runBody() { + try { + iter = initGenerator()[Symbol.iterator](); + let iteratorValue = iter.next(null); + let value = iteratorValue.value; + if (iteratorValue.done) { + if (async.Future.is(value)) { + if (async._Future.is(value)) { + async._Future._chainCoreFuture(value, asyncFuture); + } else { + asyncFuture[_chainForeignFuture](value); + } + } else if (isRunningAsEvent) { + asyncFuture[_completeWithValue](value); + } else { + asyncFuture[_asyncComplete](value); + } + } else { + async._Future._chainCoreFuture(onAwait(value), asyncFuture); + } + } catch (e$) { + let e = dart.getThrown(e$); + let s = dart.stackTrace(e$); + if (core.Object.is(e)) { + if (isRunningAsEvent) { + async._completeWithErrorCallback(asyncFuture, e, s); + } else { + async._asyncCompleteWithErrorCallback(asyncFuture, e, s); + } + } else + throw e$; + } + } + if (dart.test(dart.startAsyncSynchronously)) { + runBody(); + isRunningAsEvent = true; + } else { + isRunningAsEvent = true; + async.scheduleMicrotask(runBody); + } + return asyncFuture; +}; +async._invokeErrorHandler = function _invokeErrorHandler(errorHandler, error, stackTrace) { + if (errorHandler == null) dart.nullFailed(I[62], 37, 14, "errorHandler"); + if (error == null) dart.nullFailed(I[62], 37, 35, "error"); + if (stackTrace == null) dart.nullFailed(I[62], 37, 53, "stackTrace"); + let handler = errorHandler; + if (T$.NeverAndNeverTodynamic().is(handler)) { + return dart.dcall(errorHandler, [error, stackTrace]); + } else { + return dart.dcall(errorHandler, [error]); + } +}; +async['FutureExtensions|onError'] = function FutureExtensions$124onError(T, E, $this, handleError, opts) { + if ($this == null) dart.nullFailed(I[67], 763, 13, "#this"); + if (handleError == null) dart.nullFailed(I[67], 764, 19, "handleError"); + let test = opts && 'test' in opts ? opts.test : null; + return $this.catchError(dart.fn((error, stackTrace) => { + if (error == null) dart.nullFailed(I[67], 769, 17, "error"); + if (stackTrace == null) dart.nullFailed(I[67], 769, 35, "stackTrace"); + return handleError(E.as(error), stackTrace); + }, dart.fnType(async.FutureOr$(T), [core.Object, core.StackTrace])), {test: dart.fn(error => { + if (error == null) dart.nullFailed(I[67], 771, 23, "error"); + return E.is(error) && (test == null || dart.test(test(error))); + }, T$.ObjectTobool())}); +}; +async['FutureExtensions|get#onError'] = function FutureExtensions$124get$35onError(T, $this) { + if ($this == null) dart.nullFailed(I[67], 763, 13, "#this"); + return dart.fn((E, handleError, opts) => { + if (handleError == null) dart.nullFailed(I[67], 764, 19, "handleError"); + let test = opts && 'test' in opts ? opts.test : null; + return async['FutureExtensions|onError'](T, E, $this, handleError, {test: test}); + }, dart.gFnType(E => { + var ETobool = () => (ETobool = dart.constFn(dart.fnType(core.bool, [E])))(); + var EToNbool = () => (EToNbool = dart.constFn(dart.nullable(ETobool())))(); + return [async.Future$(T), [dart.fnType(async.FutureOr$(T), [E, core.StackTrace])], {test: EToNbool()}, {}]; + }, E => { + var ETobool = () => (ETobool = dart.constFn(dart.fnType(core.bool, [E])))(); + var EToNbool = () => (EToNbool = dart.constFn(dart.nullable(ETobool())))(); + return [core.Object]; + })); +}; +async._completeWithErrorCallback = function _completeWithErrorCallback(result, error, stackTrace) { + if (result == null) dart.nullFailed(I[67], 963, 13, "result"); + if (error == null) dart.nullFailed(I[67], 963, 28, "error"); + let replacement = async.Zone.current.errorCallback(error, stackTrace); + if (replacement != null) { + error = replacement.error; + stackTrace = replacement.stackTrace; + } else { + stackTrace == null ? stackTrace = async.AsyncError.defaultStackTrace(error) : null; + } + if (stackTrace == null) dart.throw("unreachable"); + result[_completeError](error, stackTrace); +}; +async._asyncCompleteWithErrorCallback = function _asyncCompleteWithErrorCallback(result, error, stackTrace) { + if (result == null) dart.nullFailed(I[67], 977, 13, "result"); + if (error == null) dart.nullFailed(I[67], 977, 28, "error"); + let replacement = async.Zone.current.errorCallback(error, stackTrace); + if (replacement != null) { + error = replacement.error; + stackTrace = replacement.stackTrace; + } else { + stackTrace == null ? stackTrace = async.AsyncError.defaultStackTrace(error) : null; + } + if (stackTrace == null) { + dart.throw("unreachable"); + } + result[_asyncCompleteError](error, stackTrace); +}; +async._registerErrorHandler = function _registerErrorHandler(errorHandler, zone) { + if (errorHandler == null) dart.nullFailed(I[68], 837, 41, "errorHandler"); + if (zone == null) dart.nullFailed(I[68], 837, 60, "zone"); + if (T$.ObjectAndStackTraceTodynamic().is(errorHandler)) { + return zone.registerBinaryCallback(dart.dynamic, core.Object, core.StackTrace, errorHandler); + } + if (T$.ObjectTodynamic().is(errorHandler)) { + return zone.registerUnaryCallback(dart.dynamic, core.Object, errorHandler); + } + dart.throw(new core.ArgumentError.value(errorHandler, "onError", "Error handler must accept one Object or one Object and a StackTrace" + " as arguments, and return a valid result")); +}; +async._microtaskLoop = function _microtaskLoop() { + for (let entry = async._nextCallback; entry != null; entry = async._nextCallback) { + async._lastPriorityCallback = null; + let next = entry.next; + async._nextCallback = next; + if (next == null) async._lastCallback = null; + entry.callback(); + } +}; +async._startMicrotaskLoop = function _startMicrotaskLoop() { + async._isInCallbackLoop = true; + try { + async._microtaskLoop(); + } finally { + async._lastPriorityCallback = null; + async._isInCallbackLoop = false; + if (async._nextCallback != null) { + async._AsyncRun._scheduleImmediate(C[71] || CT.C71); + } + } +}; +async._scheduleAsyncCallback = function _scheduleAsyncCallback(callback) { + if (callback == null) dart.nullFailed(I[69], 63, 44, "callback"); + let newEntry = new async._AsyncCallbackEntry.new(callback); + let lastCallback = async._lastCallback; + if (lastCallback == null) { + async._nextCallback = async._lastCallback = newEntry; + if (!dart.test(async._isInCallbackLoop)) { + async._AsyncRun._scheduleImmediate(C[71] || CT.C71); + } + } else { + lastCallback.next = newEntry; + async._lastCallback = newEntry; + } +}; +async._schedulePriorityAsyncCallback = function _schedulePriorityAsyncCallback(callback) { + if (callback == null) dart.nullFailed(I[69], 83, 52, "callback"); + if (async._nextCallback == null) { + async._scheduleAsyncCallback(callback); + async._lastPriorityCallback = async._lastCallback; + return; + } + let entry = new async._AsyncCallbackEntry.new(callback); + let lastPriorityCallback = async._lastPriorityCallback; + if (lastPriorityCallback == null) { + entry.next = async._nextCallback; + async._nextCallback = async._lastPriorityCallback = entry; + } else { + let next = lastPriorityCallback.next; + entry.next = next; + lastPriorityCallback.next = entry; + async._lastPriorityCallback = entry; + if (next == null) { + async._lastCallback = entry; + } + } +}; +async.scheduleMicrotask = function scheduleMicrotask(callback) { + if (callback == null) dart.nullFailed(I[69], 129, 40, "callback"); + let currentZone = async.Zone._current; + if (async._rootZone == currentZone) { + async._rootScheduleMicrotask(null, null, async._rootZone, callback); + return; + } + let implementation = currentZone[_scheduleMicrotask]; + if (async._rootZone == implementation.zone && dart.test(async._rootZone.inSameErrorZone(currentZone))) { + async._rootScheduleMicrotask(null, null, currentZone, currentZone.registerCallback(dart.void, callback)); + return; + } + async.Zone.current.scheduleMicrotask(async.Zone.current.bindCallbackGuarded(callback)); +}; +async._runGuarded = function _runGuarded(notificationHandler) { + if (notificationHandler == null) return; + try { + notificationHandler(); + } catch (e$) { + let e = dart.getThrown(e$); + let s = dart.stackTrace(e$); + if (core.Object.is(e)) { + async.Zone.current.handleUncaughtError(e, s); + } else + throw e$; + } +}; +async._nullDataHandler = function _nullDataHandler(value) { +}; +async._nullErrorHandler = function _nullErrorHandler(error, stackTrace) { + if (error == null) dart.nullFailed(I[65], 570, 31, "error"); + if (stackTrace == null) dart.nullFailed(I[65], 570, 49, "stackTrace"); + async.Zone.current.handleUncaughtError(error, stackTrace); +}; +async._nullDoneHandler = function _nullDoneHandler() { +}; +async._runUserCode = function _runUserCode(T, userCode, onSuccess, onError) { + if (userCode == null) dart.nullFailed(I[70], 8, 19, "userCode"); + if (onSuccess == null) dart.nullFailed(I[70], 8, 31, "onSuccess"); + if (onError == null) dart.nullFailed(I[70], 9, 5, "onError"); + try { + onSuccess(userCode()); + } catch (e$) { + let e = dart.getThrown(e$); + let s = dart.stackTrace(e$); + if (core.Object.is(e)) { + let replacement = async.Zone.current.errorCallback(e, s); + if (replacement == null) { + onError(e, s); + } else { + let error = replacement.error; + let stackTrace = replacement.stackTrace; + onError(error, stackTrace); + } + } else + throw e$; + } +}; +async._cancelAndError = function _cancelAndError(subscription, future, error, stackTrace) { + if (subscription == null) dart.nullFailed(I[70], 26, 41, "subscription"); + if (future == null) dart.nullFailed(I[70], 26, 63, "future"); + if (error == null) dart.nullFailed(I[70], 27, 12, "error"); + if (stackTrace == null) dart.nullFailed(I[70], 27, 30, "stackTrace"); + let cancelFuture = subscription.cancel(); + if (cancelFuture != null && cancelFuture != async.Future._nullFuture) { + cancelFuture.whenComplete(dart.fn(() => future[_completeError](error, stackTrace), T$.VoidTovoid())); + } else { + future[_completeError](error, stackTrace); + } +}; +async._cancelAndErrorWithReplacement = function _cancelAndErrorWithReplacement(subscription, future, error, stackTrace) { + if (subscription == null) dart.nullFailed(I[70], 36, 56, "subscription"); + if (future == null) dart.nullFailed(I[70], 37, 13, "future"); + if (error == null) dart.nullFailed(I[70], 37, 28, "error"); + if (stackTrace == null) dart.nullFailed(I[70], 37, 46, "stackTrace"); + let replacement = async.Zone.current.errorCallback(error, stackTrace); + if (replacement != null) { + error = replacement.error; + stackTrace = replacement.stackTrace; + } + async._cancelAndError(subscription, future, error, stackTrace); +}; +async._cancelAndErrorClosure = function _cancelAndErrorClosure(subscription, future) { + if (subscription == null) dart.nullFailed(I[70], 48, 24, "subscription"); + if (future == null) dart.nullFailed(I[70], 48, 46, "future"); + return dart.fn((error, stackTrace) => { + if (error == null) dart.nullFailed(I[70], 49, 18, "error"); + if (stackTrace == null) dart.nullFailed(I[70], 49, 36, "stackTrace"); + async._cancelAndError(subscription, future, error, stackTrace); + }, T$.ObjectAndStackTraceTovoid()); +}; +async._cancelAndValue = function _cancelAndValue(subscription, future, value) { + if (subscription == null) dart.nullFailed(I[70], 56, 41, "subscription"); + if (future == null) dart.nullFailed(I[70], 56, 63, "future"); + let cancelFuture = subscription.cancel(); + if (cancelFuture != null && cancelFuture != async.Future._nullFuture) { + cancelFuture.whenComplete(dart.fn(() => future[_complete](value), T$.VoidTovoid())); + } else { + future[_complete](value); + } +}; +async._addErrorWithReplacement = function _addErrorWithReplacement(sink, error, stackTrace) { + if (sink == null) dart.nullFailed(I[70], 170, 16, "sink"); + if (error == null) dart.nullFailed(I[70], 170, 29, "error"); + if (stackTrace == null) dart.nullFailed(I[70], 170, 47, "stackTrace"); + let replacement = async.Zone.current.errorCallback(error, stackTrace); + if (replacement != null) { + error = replacement.error; + stackTrace = replacement.stackTrace; + } + sink[_addError](error, stackTrace); +}; +async._rootHandleUncaughtError = function _rootHandleUncaughtError(self, parent, zone, error, stackTrace) { + if (zone == null) dart.nullFailed(I[73], 1336, 70, "zone"); + if (error == null) dart.nullFailed(I[73], 1337, 12, "error"); + if (stackTrace == null) dart.nullFailed(I[73], 1337, 30, "stackTrace"); + async._schedulePriorityAsyncCallback(dart.fn(() => { + async._rethrow(error, stackTrace); + }, T$.VoidTovoid())); +}; +async._rethrow = function _rethrow(error, stackTrace) { + if (error == null) dart.nullFailed(I[61], 199, 22, "error"); + if (stackTrace == null) dart.nullFailed(I[61], 199, 40, "stackTrace"); + throw dart.createErrorWithStack(error, stackTrace); +}; +async._rootRun = function _rootRun(R, self, parent, zone, f) { + if (zone == null) dart.nullFailed(I[73], 1345, 54, "zone"); + if (f == null) dart.nullFailed(I[73], 1345, 62, "f"); + if (async.Zone._current == zone) return f(); + if (!async._Zone.is(zone)) { + dart.throw(new core.ArgumentError.value(zone, "zone", "Can only run in platform zones")); + } + let old = async.Zone._enter(zone); + try { + return f(); + } finally { + async.Zone._leave(old); + } +}; +async._rootRunUnary = function _rootRunUnary(R, T, self, parent, zone, f, arg) { + if (zone == null) dart.nullFailed(I[73], 1361, 44, "zone"); + if (f == null) dart.nullFailed(I[73], 1361, 52, "f"); + if (async.Zone._current == zone) return f(arg); + if (!async._Zone.is(zone)) { + dart.throw(new core.ArgumentError.value(zone, "zone", "Can only run in platform zones")); + } + let old = async.Zone._enter(zone); + try { + return f(arg); + } finally { + async.Zone._leave(old); + } +}; +async._rootRunBinary = function _rootRunBinary(R, T1, T2, self, parent, zone, f, arg1, arg2) { + if (zone == null) dart.nullFailed(I[73], 1376, 68, "zone"); + if (f == null) dart.nullFailed(I[73], 1377, 7, "f"); + if (async.Zone._current == zone) return f(arg1, arg2); + if (!async._Zone.is(zone)) { + dart.throw(new core.ArgumentError.value(zone, "zone", "Can only run in platform zones")); + } + let old = async.Zone._enter(zone); + try { + return f(arg1, arg2); + } finally { + async.Zone._leave(old); + } +}; +async._rootRegisterCallback = function _rootRegisterCallback(R, self, parent, zone, f) { + if (self == null) dart.nullFailed(I[73], 1393, 10, "self"); + if (parent == null) dart.nullFailed(I[73], 1393, 29, "parent"); + if (zone == null) dart.nullFailed(I[73], 1393, 42, "zone"); + if (f == null) dart.nullFailed(I[73], 1393, 50, "f"); + return f; +}; +async._rootRegisterUnaryCallback = function _rootRegisterUnaryCallback(R, T, self, parent, zone, f) { + if (self == null) dart.nullFailed(I[73], 1398, 10, "self"); + if (parent == null) dart.nullFailed(I[73], 1398, 29, "parent"); + if (zone == null) dart.nullFailed(I[73], 1398, 42, "zone"); + if (f == null) dart.nullFailed(I[73], 1398, 50, "f"); + return f; +}; +async._rootRegisterBinaryCallback = function _rootRegisterBinaryCallback(R, T1, T2, self, parent, zone, f) { + if (self == null) dart.nullFailed(I[73], 1403, 10, "self"); + if (parent == null) dart.nullFailed(I[73], 1403, 29, "parent"); + if (zone == null) dart.nullFailed(I[73], 1403, 42, "zone"); + if (f == null) dart.nullFailed(I[73], 1403, 50, "f"); + return f; +}; +async._rootErrorCallback = function _rootErrorCallback(self, parent, zone, error, stackTrace) { + if (self == null) dart.nullFailed(I[73], 1407, 37, "self"); + if (parent == null) dart.nullFailed(I[73], 1407, 56, "parent"); + if (zone == null) dart.nullFailed(I[73], 1407, 69, "zone"); + if (error == null) dart.nullFailed(I[73], 1408, 16, "error"); + return null; +}; +async._rootScheduleMicrotask = function _rootScheduleMicrotask(self, parent, zone, f) { + if (zone == null) dart.nullFailed(I[73], 1412, 44, "zone"); + if (f == null) dart.nullFailed(I[73], 1412, 55, "f"); + if (async._rootZone != zone) { + let hasErrorHandler = !dart.test(async._rootZone.inSameErrorZone(zone)); + if (hasErrorHandler) { + f = zone.bindCallbackGuarded(f); + } else { + f = zone.bindCallback(dart.void, f); + } + } + async._scheduleAsyncCallback(f); +}; +async._rootCreateTimer = function _rootCreateTimer(self, parent, zone, duration, callback) { + if (self == null) dart.nullFailed(I[73], 1424, 29, "self"); + if (parent == null) dart.nullFailed(I[73], 1424, 48, "parent"); + if (zone == null) dart.nullFailed(I[73], 1424, 61, "zone"); + if (duration == null) dart.nullFailed(I[73], 1425, 14, "duration"); + if (callback == null) dart.nullFailed(I[73], 1425, 40, "callback"); + if (async._rootZone != zone) { + callback = zone.bindCallback(dart.void, callback); + } + return async.Timer._createTimer(duration, callback); +}; +async._rootCreatePeriodicTimer = function _rootCreatePeriodicTimer(self, parent, zone, duration, callback) { + if (self == null) dart.nullFailed(I[73], 1432, 37, "self"); + if (parent == null) dart.nullFailed(I[73], 1432, 56, "parent"); + if (zone == null) dart.nullFailed(I[73], 1432, 69, "zone"); + if (duration == null) dart.nullFailed(I[73], 1433, 14, "duration"); + if (callback == null) dart.nullFailed(I[73], 1433, 29, "callback"); + if (async._rootZone != zone) { + callback = zone.bindUnaryCallback(dart.void, async.Timer, callback); + } + return async.Timer._createPeriodicTimer(duration, callback); +}; +async._rootPrint = function _rootPrint(self, parent, zone, line) { + if (self == null) dart.nullFailed(I[73], 1440, 22, "self"); + if (parent == null) dart.nullFailed(I[73], 1440, 41, "parent"); + if (zone == null) dart.nullFailed(I[73], 1440, 54, "zone"); + if (line == null) dart.nullFailed(I[73], 1440, 67, "line"); + _internal.printToConsole(line); +}; +async._printToZone = function _printToZone(line) { + if (line == null) dart.nullFailed(I[73], 1444, 26, "line"); + async.Zone.current.print(line); +}; +async._rootFork = function _rootFork(self, parent, zone, specification, zoneValues) { + if (zone == null) dart.nullFailed(I[73], 1448, 55, "zone"); + if (!async._Zone.is(zone)) { + dart.throw(new core.ArgumentError.value(zone, "zone", "Can only fork a platform zone")); + } + _internal.printToZone = C[72] || CT.C72; + if (specification == null) { + specification = C[73] || CT.C73; + } else if (!async._ZoneSpecification.is(specification)) { + specification = async.ZoneSpecification.from(specification); + } + let valueMap = null; + if (zoneValues == null) { + valueMap = zone[_map$3]; + } else { + valueMap = T$.HashMapOfObjectN$ObjectN().from(zoneValues); + } + if (specification == null) dart.throw("unreachable"); + return new async._CustomZone.new(zone, specification, valueMap); +}; +async.runZoned = function runZoned(R, body, opts) { + if (body == null) dart.nullFailed(I[73], 1692, 17, "body"); + let zoneValues = opts && 'zoneValues' in opts ? opts.zoneValues : null; + let zoneSpecification = opts && 'zoneSpecification' in opts ? opts.zoneSpecification : null; + let onError = opts && 'onError' in opts ? opts.onError : null; + _internal.checkNotNullable(dart.fnType(R, []), body, "body"); + if (onError != null) { + if (!T$.ObjectAndStackTraceTovoid().is(onError)) { + if (T$.ObjectTovoid().is(onError)) { + let originalOnError = onError; + onError = dart.fn((error, stack) => { + if (error == null) dart.nullFailed(I[73], 1702, 27, "error"); + if (stack == null) dart.nullFailed(I[73], 1702, 45, "stack"); + return originalOnError(error); + }, T$.ObjectAndStackTraceTovoid()); + } else { + dart.throw(new core.ArgumentError.value(onError, "onError", "Must be Function(Object) or Function(Object, StackTrace)")); + } + } + return R.as(async.runZonedGuarded(R, body, onError, {zoneSpecification: zoneSpecification, zoneValues: zoneValues})); + } + return async._runZoned(R, body, zoneValues, zoneSpecification); +}; +async.runZonedGuarded = function runZonedGuarded(R, body, onError, opts) { + if (body == null) dart.nullFailed(I[73], 1752, 25, "body"); + if (onError == null) dart.nullFailed(I[73], 1752, 38, "onError"); + let zoneValues = opts && 'zoneValues' in opts ? opts.zoneValues : null; + let zoneSpecification = opts && 'zoneSpecification' in opts ? opts.zoneSpecification : null; + _internal.checkNotNullable(dart.fnType(R, []), body, "body"); + _internal.checkNotNullable(T$.ObjectAndStackTraceTovoid(), onError, "onError"); + let parentZone = async.Zone._current; + let errorHandler = dart.fn((self, parent, zone, error, stackTrace) => { + if (self == null) dart.nullFailed(I[73], 1757, 51, "self"); + if (parent == null) dart.nullFailed(I[73], 1757, 70, "parent"); + if (zone == null) dart.nullFailed(I[73], 1758, 12, "zone"); + if (error == null) dart.nullFailed(I[73], 1758, 25, "error"); + if (stackTrace == null) dart.nullFailed(I[73], 1758, 43, "stackTrace"); + try { + parentZone.runBinary(dart.void, core.Object, core.StackTrace, onError, error, stackTrace); + } catch (e$) { + let e = dart.getThrown(e$); + let s = dart.stackTrace(e$); + if (core.Object.is(e)) { + if (core.identical(e, error)) { + parent.handleUncaughtError(zone, error, stackTrace); + } else { + parent.handleUncaughtError(zone, e, s); + } + } else + throw e$; + } + }, T$.ZoneAndZoneDelegateAndZone__Tovoid$2()); + if (zoneSpecification == null) { + zoneSpecification = new async._ZoneSpecification.new({handleUncaughtError: errorHandler}); + } else { + zoneSpecification = async.ZoneSpecification.from(zoneSpecification, {handleUncaughtError: errorHandler}); + } + try { + return async._runZoned(R, body, zoneValues, zoneSpecification); + } catch (e) { + let error = dart.getThrown(e); + let stackTrace = dart.stackTrace(e); + if (core.Object.is(error)) { + onError(error, stackTrace); + } else + throw e; + } + return null; +}; +async._runZoned = function _runZoned(R, body, zoneValues, specification) { + if (body == null) dart.nullFailed(I[73], 1785, 18, "body"); + return async.Zone.current.fork({specification: specification, zoneValues: zoneValues}).run(R, body); +}; +dart.defineLazy(async, { + /*async._nextCallback*/get _nextCallback() { + return null; + }, + set _nextCallback(_) {}, + /*async._lastCallback*/get _lastCallback() { + return null; + }, + set _lastCallback(_) {}, + /*async._lastPriorityCallback*/get _lastPriorityCallback() { + return null; + }, + set _lastPriorityCallback(_) {}, + /*async._isInCallbackLoop*/get _isInCallbackLoop() { + return false; + }, + set _isInCallbackLoop(_) {}, + /*async._rootZone*/get _rootZone() { + return C[44] || CT.C44; + } +}, false); +var _map$4 = dart.privateName(collection, "_HashSet._map"); +var _modifications$2 = dart.privateName(collection, "_HashSet._modifications"); +var _keyMap$ = dart.privateName(collection, "_keyMap"); +var _map$5 = dart.privateName(collection, "_map"); +var _modifications$3 = dart.privateName(collection, "_modifications"); +var _newSet = dart.privateName(collection, "_newSet"); +var _newSimilarSet = dart.privateName(collection, "_newSimilarSet"); +const _is_SetMixin_default = Symbol('_is_SetMixin_default'); +collection.SetMixin$ = dart.generic(E => { + var IterableOfE = () => (IterableOfE = dart.constFn(core.Iterable$(E)))(); + var FollowedByIterableOfE = () => (FollowedByIterableOfE = dart.constFn(_internal.FollowedByIterable$(E)))(); + var SetOfE = () => (SetOfE = dart.constFn(core.Set$(E)))(); + var ListOfE = () => (ListOfE = dart.constFn(core.List$(E)))(); + var WhereIterableOfE = () => (WhereIterableOfE = dart.constFn(_internal.WhereIterable$(E)))(); + var EAndEToE = () => (EAndEToE = dart.constFn(dart.fnType(E, [E, E])))(); + var TakeIterableOfE = () => (TakeIterableOfE = dart.constFn(_internal.TakeIterable$(E)))(); + var TakeWhileIterableOfE = () => (TakeWhileIterableOfE = dart.constFn(_internal.TakeWhileIterable$(E)))(); + var SkipIterableOfE = () => (SkipIterableOfE = dart.constFn(_internal.SkipIterable$(E)))(); + var SkipWhileIterableOfE = () => (SkipWhileIterableOfE = dart.constFn(_internal.SkipWhileIterable$(E)))(); + var VoidToE = () => (VoidToE = dart.constFn(dart.fnType(E, [])))(); + var VoidToNE = () => (VoidToNE = dart.constFn(dart.nullable(VoidToE())))(); + var ETodynamic = () => (ETodynamic = dart.constFn(dart.fnType(dart.dynamic, [E])))(); + class SetMixin extends core.Object { + [Symbol.iterator]() { + return new dart.JsIterator(this[$iterator]); + } + get isEmpty() { + return this.length === 0; + } + get isNotEmpty() { + return this.length !== 0; + } + cast(R) { + return core.Set.castFrom(E, R, this); + } + followedBy(other) { + IterableOfE().as(other); + if (other == null) dart.nullFailed(I[75], 47, 38, "other"); + return FollowedByIterableOfE().firstEfficient(this, other); + } + whereType(T) { + return new (_internal.WhereTypeIterable$(T)).new(this); + } + clear() { + this.removeAll(this.toList()); + } + addAll(elements) { + IterableOfE().as(elements); + if (elements == null) dart.nullFailed(I[75], 56, 27, "elements"); + for (let element of elements) + this.add(element); + } + removeAll(elements) { + if (elements == null) dart.nullFailed(I[75], 60, 36, "elements"); + for (let element of elements) + this.remove(element); + } + retainAll(elements) { + if (elements == null) dart.nullFailed(I[75], 64, 36, "elements"); + let toRemove = this.toSet(); + for (let o of elements) { + toRemove.remove(o); + } + this.removeAll(toRemove); + } + removeWhere(test) { + if (test == null) dart.nullFailed(I[75], 74, 25, "test"); + let toRemove = T$.JSArrayOfObjectN().of([]); + for (let element of this) { + if (dart.test(test(element))) toRemove[$add](element); + } + this.removeAll(toRemove); + } + retainWhere(test) { + if (test == null) dart.nullFailed(I[75], 82, 25, "test"); + let toRemove = T$.JSArrayOfObjectN().of([]); + for (let element of this) { + if (!dart.test(test(element))) toRemove[$add](element); + } + this.removeAll(toRemove); + } + containsAll(other) { + if (other == null) dart.nullFailed(I[75], 90, 38, "other"); + for (let o of other) { + if (!dart.test(this.contains(o))) return false; + } + return true; + } + union(other) { + let t151; + SetOfE().as(other); + if (other == null) dart.nullFailed(I[75], 97, 23, "other"); + t151 = this.toSet(); + return (() => { + t151.addAll(other); + return t151; + })(); + } + intersection(other) { + if (other == null) dart.nullFailed(I[75], 101, 36, "other"); + let result = this.toSet(); + for (let element of this) { + if (!dart.test(other.contains(element))) result.remove(element); + } + return result; + } + difference(other) { + if (other == null) dart.nullFailed(I[75], 109, 34, "other"); + let result = this.toSet(); + for (let element of this) { + if (dart.test(other.contains(element))) result.remove(element); + } + return result; + } + toList(opts) { + let growable = opts && 'growable' in opts ? opts.growable : true; + if (growable == null) dart.nullFailed(I[75], 117, 24, "growable"); + return ListOfE().of(this, {growable: growable}); + } + map(T, f) { + if (f == null) dart.nullFailed(I[75], 120, 24, "f"); + return new (_internal.EfficientLengthMappedIterable$(E, T)).new(this, f); + } + get single() { + if (dart.notNull(this.length) > 1) dart.throw(_internal.IterableElementError.tooMany()); + let it = this.iterator; + if (!dart.test(it.moveNext())) dart.throw(_internal.IterableElementError.noElement()); + let result = it.current; + return result; + } + toString() { + return collection.IterableBase.iterableToFullString(this, "{", "}"); + } + where(f) { + if (f == null) dart.nullFailed(I[75], 136, 26, "f"); + return new (WhereIterableOfE()).new(this, f); + } + expand(T, f) { + if (f == null) dart.nullFailed(I[75], 138, 37, "f"); + return new (_internal.ExpandIterable$(E, T)).new(this, f); + } + forEach(f) { + if (f == null) dart.nullFailed(I[75], 141, 21, "f"); + for (let element of this) + f(element); + } + reduce(combine) { + EAndEToE().as(combine); + if (combine == null) dart.nullFailed(I[75], 145, 14, "combine"); + let iterator = this.iterator; + if (!dart.test(iterator.moveNext())) { + dart.throw(_internal.IterableElementError.noElement()); + } + let value = iterator.current; + while (dart.test(iterator.moveNext())) { + value = combine(value, iterator.current); + } + return value; + } + fold(T, initialValue, combine) { + if (combine == null) dart.nullFailed(I[75], 157, 31, "combine"); + let value = initialValue; + for (let element of this) + value = combine(value, element); + return value; + } + every(f) { + if (f == null) dart.nullFailed(I[75], 163, 19, "f"); + for (let element of this) { + if (!dart.test(f(element))) return false; + } + return true; + } + join(separator = "") { + if (separator == null) dart.nullFailed(I[75], 170, 23, "separator"); + let iterator = this.iterator; + if (!dart.test(iterator.moveNext())) return ""; + let buffer = new core.StringBuffer.new(); + if (separator == null || separator === "") { + do { + buffer.write(iterator.current); + } while (dart.test(iterator.moveNext())); + } else { + buffer.write(iterator.current); + while (dart.test(iterator.moveNext())) { + buffer.write(separator); + buffer.write(iterator.current); + } + } + return buffer.toString(); + } + any(test) { + if (test == null) dart.nullFailed(I[75], 188, 17, "test"); + for (let element of this) { + if (dart.test(test(element))) return true; + } + return false; + } + take(n) { + if (n == null) dart.nullFailed(I[75], 195, 24, "n"); + return TakeIterableOfE().new(this, n); + } + takeWhile(test) { + if (test == null) dart.nullFailed(I[75], 199, 30, "test"); + return new (TakeWhileIterableOfE()).new(this, test); + } + skip(n) { + if (n == null) dart.nullFailed(I[75], 203, 24, "n"); + return SkipIterableOfE().new(this, n); + } + skipWhile(test) { + if (test == null) dart.nullFailed(I[75], 207, 30, "test"); + return new (SkipWhileIterableOfE()).new(this, test); + } + get first() { + let it = this.iterator; + if (!dart.test(it.moveNext())) { + dart.throw(_internal.IterableElementError.noElement()); + } + return it.current; + } + get last() { + let it = this.iterator; + if (!dart.test(it.moveNext())) { + dart.throw(_internal.IterableElementError.noElement()); + } + let result = null; + do { + result = it.current; + } while (dart.test(it.moveNext())); + return result; + } + firstWhere(test, opts) { + if (test == null) dart.nullFailed(I[75], 231, 21, "test"); + let orElse = opts && 'orElse' in opts ? opts.orElse : null; + VoidToNE().as(orElse); + for (let element of this) { + if (dart.test(test(element))) return element; + } + if (orElse != null) return orElse(); + dart.throw(_internal.IterableElementError.noElement()); + } + lastWhere(test, opts) { + if (test == null) dart.nullFailed(I[75], 239, 20, "test"); + let orElse = opts && 'orElse' in opts ? opts.orElse : null; + VoidToNE().as(orElse); + let result = null; + let result$35isSet = false; + function result$35get() { + return result$35isSet ? result : dart.throw(new _internal.LateError.localNI("result")); + } + dart.fn(result$35get, VoidToE()); + function result$35set(t154) { + result$35isSet = true; + return result = t154; + } + dart.fn(result$35set, ETodynamic()); + let foundMatching = false; + for (let element of this) { + if (dart.test(test(element))) { + result$35set(element); + foundMatching = true; + } + } + if (foundMatching) return result$35get(); + if (orElse != null) return orElse(); + dart.throw(_internal.IterableElementError.noElement()); + } + singleWhere(test, opts) { + if (test == null) dart.nullFailed(I[75], 253, 22, "test"); + let orElse = opts && 'orElse' in opts ? opts.orElse : null; + VoidToNE().as(orElse); + let result = null; + let result$35isSet = false; + function result$35get() { + return result$35isSet ? result : dart.throw(new _internal.LateError.localNI("result")); + } + dart.fn(result$35get, VoidToE()); + function result$35set(t159) { + result$35isSet = true; + return result = t159; + } + dart.fn(result$35set, ETodynamic()); + let foundMatching = false; + for (let element of this) { + if (dart.test(test(element))) { + if (foundMatching) { + dart.throw(_internal.IterableElementError.tooMany()); + } + result$35set(element); + foundMatching = true; + } + } + if (foundMatching) return result$35get(); + if (orElse != null) return orElse(); + dart.throw(_internal.IterableElementError.noElement()); + } + elementAt(index) { + if (index == null) dart.nullFailed(I[75], 270, 19, "index"); + _internal.checkNotNullable(core.int, index, "index"); + core.RangeError.checkNotNegative(index, "index"); + let elementIndex = 0; + for (let element of this) { + if (index === elementIndex) return element; + elementIndex = elementIndex + 1; + } + dart.throw(new core.IndexError.new(index, this, "index", null, elementIndex)); + } + } + (SetMixin.new = function() { + ; + }).prototype = SetMixin.prototype; + dart.addTypeTests(SetMixin); + SetMixin.prototype[_is_SetMixin_default] = true; + dart.addTypeCaches(SetMixin); + SetMixin[dart.implements] = () => [core.Set$(E)]; + dart.setMethodSignature(SetMixin, () => ({ + __proto__: dart.getMethods(SetMixin.__proto__), + cast: dart.gFnType(R => [core.Set$(R), []], R => [dart.nullable(core.Object)]), + [$cast]: dart.gFnType(R => [core.Set$(R), []], R => [dart.nullable(core.Object)]), + followedBy: dart.fnType(core.Iterable$(E), [dart.nullable(core.Object)]), + [$followedBy]: dart.fnType(core.Iterable$(E), [dart.nullable(core.Object)]), + whereType: dart.gFnType(T => [core.Iterable$(T), []], T => [dart.nullable(core.Object)]), + [$whereType]: dart.gFnType(T => [core.Iterable$(T), []], T => [dart.nullable(core.Object)]), + clear: dart.fnType(dart.void, []), + addAll: dart.fnType(dart.void, [dart.nullable(core.Object)]), + removeAll: dart.fnType(dart.void, [core.Iterable$(dart.nullable(core.Object))]), + retainAll: dart.fnType(dart.void, [core.Iterable$(dart.nullable(core.Object))]), + removeWhere: dart.fnType(dart.void, [dart.fnType(core.bool, [E])]), + retainWhere: dart.fnType(dart.void, [dart.fnType(core.bool, [E])]), + containsAll: dart.fnType(core.bool, [core.Iterable$(dart.nullable(core.Object))]), + union: dart.fnType(core.Set$(E), [dart.nullable(core.Object)]), + intersection: dart.fnType(core.Set$(E), [core.Set$(dart.nullable(core.Object))]), + difference: dart.fnType(core.Set$(E), [core.Set$(dart.nullable(core.Object))]), + toList: dart.fnType(core.List$(E), [], {growable: core.bool}, {}), + [$toList]: dart.fnType(core.List$(E), [], {growable: core.bool}, {}), + map: dart.gFnType(T => [core.Iterable$(T), [dart.fnType(T, [E])]], T => [dart.nullable(core.Object)]), + [$map]: dart.gFnType(T => [core.Iterable$(T), [dart.fnType(T, [E])]], T => [dart.nullable(core.Object)]), + where: dart.fnType(core.Iterable$(E), [dart.fnType(core.bool, [E])]), + [$where]: dart.fnType(core.Iterable$(E), [dart.fnType(core.bool, [E])]), + expand: dart.gFnType(T => [core.Iterable$(T), [dart.fnType(core.Iterable$(T), [E])]], T => [dart.nullable(core.Object)]), + [$expand]: dart.gFnType(T => [core.Iterable$(T), [dart.fnType(core.Iterable$(T), [E])]], T => [dart.nullable(core.Object)]), + forEach: dart.fnType(dart.void, [dart.fnType(dart.void, [E])]), + [$forEach]: dart.fnType(dart.void, [dart.fnType(dart.void, [E])]), + reduce: dart.fnType(E, [dart.nullable(core.Object)]), + [$reduce]: dart.fnType(E, [dart.nullable(core.Object)]), + fold: dart.gFnType(T => [T, [T, dart.fnType(T, [T, E])]], T => [dart.nullable(core.Object)]), + [$fold]: dart.gFnType(T => [T, [T, dart.fnType(T, [T, E])]], T => [dart.nullable(core.Object)]), + every: dart.fnType(core.bool, [dart.fnType(core.bool, [E])]), + [$every]: dart.fnType(core.bool, [dart.fnType(core.bool, [E])]), + join: dart.fnType(core.String, [], [core.String]), + [$join]: dart.fnType(core.String, [], [core.String]), + any: dart.fnType(core.bool, [dart.fnType(core.bool, [E])]), + [$any]: dart.fnType(core.bool, [dart.fnType(core.bool, [E])]), + take: dart.fnType(core.Iterable$(E), [core.int]), + [$take]: dart.fnType(core.Iterable$(E), [core.int]), + takeWhile: dart.fnType(core.Iterable$(E), [dart.fnType(core.bool, [E])]), + [$takeWhile]: dart.fnType(core.Iterable$(E), [dart.fnType(core.bool, [E])]), + skip: dart.fnType(core.Iterable$(E), [core.int]), + [$skip]: dart.fnType(core.Iterable$(E), [core.int]), + skipWhile: dart.fnType(core.Iterable$(E), [dart.fnType(core.bool, [E])]), + [$skipWhile]: dart.fnType(core.Iterable$(E), [dart.fnType(core.bool, [E])]), + firstWhere: dart.fnType(E, [dart.fnType(core.bool, [E])], {orElse: dart.nullable(core.Object)}, {}), + [$firstWhere]: dart.fnType(E, [dart.fnType(core.bool, [E])], {orElse: dart.nullable(core.Object)}, {}), + lastWhere: dart.fnType(E, [dart.fnType(core.bool, [E])], {orElse: dart.nullable(core.Object)}, {}), + [$lastWhere]: dart.fnType(E, [dart.fnType(core.bool, [E])], {orElse: dart.nullable(core.Object)}, {}), + singleWhere: dart.fnType(E, [dart.fnType(core.bool, [E])], {orElse: dart.nullable(core.Object)}, {}), + [$singleWhere]: dart.fnType(E, [dart.fnType(core.bool, [E])], {orElse: dart.nullable(core.Object)}, {}), + elementAt: dart.fnType(E, [core.int]), + [$elementAt]: dart.fnType(E, [core.int]) + })); + dart.setGetterSignature(SetMixin, () => ({ + __proto__: dart.getGetters(SetMixin.__proto__), + isEmpty: core.bool, + [$isEmpty]: core.bool, + isNotEmpty: core.bool, + [$isNotEmpty]: core.bool, + single: E, + [$single]: E, + first: E, + [$first]: E, + last: E, + [$last]: E + })); + dart.setLibraryUri(SetMixin, I[24]); + dart.defineExtensionMethods(SetMixin, [ + 'cast', + 'followedBy', + 'whereType', + 'toList', + 'map', + 'toString', + 'where', + 'expand', + 'forEach', + 'reduce', + 'fold', + 'every', + 'join', + 'any', + 'take', + 'takeWhile', + 'skip', + 'skipWhile', + 'firstWhere', + 'lastWhere', + 'singleWhere', + 'elementAt' + ]); + dart.defineExtensionAccessors(SetMixin, [ + 'isEmpty', + 'isNotEmpty', + 'single', + 'first', + 'last' + ]); + return SetMixin; +}); +collection.SetMixin = collection.SetMixin$(); +dart.addTypeTests(collection.SetMixin, _is_SetMixin_default); +const _is__SetBase_default = Symbol('_is__SetBase_default'); +collection._SetBase$ = dart.generic(E => { + const Object_SetMixin$36 = class Object_SetMixin extends core.Object {}; + (Object_SetMixin$36.new = function() { + }).prototype = Object_SetMixin$36.prototype; + dart.applyMixin(Object_SetMixin$36, collection.SetMixin$(E)); + class _SetBase extends Object_SetMixin$36 { + cast(R) { + return core.Set.castFrom(E, R, this, {newSet: dart.bind(this, _newSimilarSet)}); + } + difference(other) { + if (other == null) dart.nullFailed(I[75], 323, 34, "other"); + let result = this[_newSet](); + for (let element of this) { + if (!dart.test(other.contains(element))) result.add(element); + } + return result; + } + intersection(other) { + if (other == null) dart.nullFailed(I[75], 331, 36, "other"); + let result = this[_newSet](); + for (let element of this) { + if (dart.test(other.contains(element))) result.add(element); + } + return result; + } + toSet() { + let t151; + t151 = this[_newSet](); + return (() => { + t151.addAll(this); + return t151; + })(); + } + } + (_SetBase.new = function() { + ; + }).prototype = _SetBase.prototype; + dart.addTypeTests(_SetBase); + _SetBase.prototype[_is__SetBase_default] = true; + dart.addTypeCaches(_SetBase); + dart.setMethodSignature(_SetBase, () => ({ + __proto__: dart.getMethods(_SetBase.__proto__), + cast: dart.gFnType(R => [core.Set$(R), []], R => [dart.nullable(core.Object)]), + [$cast]: dart.gFnType(R => [core.Set$(R), []], R => [dart.nullable(core.Object)]), + toSet: dart.fnType(core.Set$(E), []), + [$toSet]: dart.fnType(core.Set$(E), []) + })); + dart.setLibraryUri(_SetBase, I[24]); + dart.defineExtensionMethods(_SetBase, ['cast', 'toSet']); + return _SetBase; +}); +collection._SetBase = collection._SetBase$(); +dart.addTypeTests(collection._SetBase, _is__SetBase_default); +const _is__InternalSet_default = Symbol('_is__InternalSet_default'); +collection._InternalSet$ = dart.generic(E => { + var DartIteratorOfE = () => (DartIteratorOfE = dart.constFn(_js_helper.DartIterator$(E)))(); + class _InternalSet extends collection._SetBase$(E) { + get length() { + return this[_map$5].size; + } + get isEmpty() { + return this[_map$5].size == 0; + } + get isNotEmpty() { + return this[_map$5].size != 0; + } + get iterator() { + return new (DartIteratorOfE()).new(this[Symbol.iterator]()); + } + [Symbol.iterator]() { + let self = this; + let iterator = self[_map$5].values(); + let modifications = self[_modifications$3]; + return { + next() { + if (modifications != self[_modifications$3]) { + throw new core.ConcurrentModificationError.new(self); + } + return iterator.next(); + } + }; + } + } + (_InternalSet.new = function() { + _InternalSet.__proto__.new.call(this); + ; + }).prototype = _InternalSet.prototype; + dart.addTypeTests(_InternalSet); + _InternalSet.prototype[_is__InternalSet_default] = true; + dart.addTypeCaches(_InternalSet); + dart.setMethodSignature(_InternalSet, () => ({ + __proto__: dart.getMethods(_InternalSet.__proto__), + [Symbol.iterator]: dart.fnType(dart.dynamic, []) + })); + dart.setGetterSignature(_InternalSet, () => ({ + __proto__: dart.getGetters(_InternalSet.__proto__), + length: core.int, + [$length]: core.int, + iterator: core.Iterator$(E), + [$iterator]: core.Iterator$(E) + })); + dart.setLibraryUri(_InternalSet, I[24]); + dart.defineExtensionAccessors(_InternalSet, ['length', 'isEmpty', 'isNotEmpty', 'iterator']); + return _InternalSet; +}); +collection._InternalSet = collection._InternalSet$(); +dart.addTypeTests(collection._InternalSet, _is__InternalSet_default); +const _is__HashSet_default = Symbol('_is__HashSet_default'); +collection._HashSet$ = dart.generic(E => { + var _HashSetOfE = () => (_HashSetOfE = dart.constFn(collection._HashSet$(E)))(); + var IterableOfE = () => (IterableOfE = dart.constFn(core.Iterable$(E)))(); + class _HashSet extends collection._InternalSet$(E) { + get [_map$5]() { + return this[_map$4]; + } + set [_map$5](value) { + super[_map$5] = value; + } + get [_modifications$3]() { + return this[_modifications$2]; + } + set [_modifications$3](value) { + this[_modifications$2] = value; + } + [_newSet]() { + return new (_HashSetOfE()).new(); + } + [_newSimilarSet](R) { + return new (collection._HashSet$(R)).new(); + } + contains(key) { + if (key == null) { + key = null; + } else if (key[$_equals] !== dart.identityEquals) { + let k = key; + let buckets = this[_keyMap$].get(dart.hashCode(k) & 0x3ffffff); + if (buckets != null) { + for (let i = 0, n = buckets.length; i < n; i = i + 1) { + k = buckets[i]; + if (dart.equals(k, key)) return true; + } + } + return false; + } + return this[_map$5].has(key); + } + lookup(key) { + if (key == null) return null; + if (key[$_equals] !== dart.identityEquals) { + let k = key; + let buckets = this[_keyMap$].get(dart.hashCode(k) & 0x3ffffff); + if (buckets != null) { + for (let i = 0, n = buckets.length; i < n; i = i + 1) { + k = buckets[i]; + if (dart.equals(k, key)) return k; + } + } + return null; + } + return this[_map$5].has(key) ? key : null; + } + add(key) { + E.as(key); + let map = this[_map$5]; + if (key == null) { + if (dart.test(map.has(null))) return false; + key = null; + } else if (key[$_equals] !== dart.identityEquals) { + let keyMap = this[_keyMap$]; + let k = key; + let hash = dart.hashCode(k) & 0x3ffffff; + let buckets = keyMap.get(hash); + if (buckets == null) { + keyMap.set(hash, [key]); + } else { + for (let i = 0, n = buckets.length; i < n; i = i + 1) { + k = buckets[i]; + if (dart.equals(k, key)) return false; + } + buckets.push(key); + } + } else if (dart.test(map.has(key))) { + return false; + } + map.add(key); + this[_modifications$3] = this[_modifications$3] + 1 & 67108863; + return true; + } + addAll(objects) { + IterableOfE().as(objects); + if (objects == null) dart.nullFailed(I[74], 247, 27, "objects"); + let map = this[_map$5]; + let length = map.size; + for (let key of objects) { + if (key == null) { + key = null; + } else if (key[$_equals] !== dart.identityEquals) { + key = _js_helper.putLinkedMapKey(key, this[_keyMap$]); + } + map.add(key); + } + if (length !== map.size) { + this[_modifications$3] = this[_modifications$3] + 1 & 67108863; + } + } + remove(key) { + if (key == null) { + key = null; + } else if (key[$_equals] !== dart.identityEquals) { + let k = key; + let hash = dart.hashCode(k) & 0x3ffffff; + let buckets = this[_keyMap$].get(hash); + if (buckets == null) return false; + for (let i = 0, n = buckets.length;;) { + k = buckets[i]; + if (dart.equals(k, key)) { + key = k; + if (n === 1) { + this[_keyMap$].delete(hash); + } else { + buckets.splice(i, 1); + } + break; + } + if ((i = i + 1) >= n) return false; + } + } + let map = this[_map$5]; + if (map.delete(key)) { + this[_modifications$3] = this[_modifications$3] + 1 & 67108863; + return true; + } + return false; + } + clear() { + let map = this[_map$5]; + if (map.size > 0) { + map.clear(); + this[_keyMap$].clear(); + this[_modifications$3] = this[_modifications$3] + 1 & 67108863; + } + } + } + (_HashSet.new = function() { + this[_map$4] = new Set(); + this[_keyMap$] = new Map(); + this[_modifications$2] = 0; + _HashSet.__proto__.new.call(this); + ; + }).prototype = _HashSet.prototype; + dart.addTypeTests(_HashSet); + _HashSet.prototype[_is__HashSet_default] = true; + dart.addTypeCaches(_HashSet); + _HashSet[dart.implements] = () => [collection.HashSet$(E), collection.LinkedHashSet$(E)]; + dart.setMethodSignature(_HashSet, () => ({ + __proto__: dart.getMethods(_HashSet.__proto__), + [_newSet]: dart.fnType(core.Set$(E), []), + [_newSimilarSet]: dart.gFnType(R => [core.Set$(R), []], R => [dart.nullable(core.Object)]), + contains: dart.fnType(core.bool, [dart.nullable(core.Object)]), + [$contains]: dart.fnType(core.bool, [dart.nullable(core.Object)]), + lookup: dart.fnType(dart.nullable(E), [dart.nullable(core.Object)]), + add: dart.fnType(core.bool, [dart.nullable(core.Object)]), + remove: dart.fnType(core.bool, [dart.nullable(core.Object)]) + })); + dart.setLibraryUri(_HashSet, I[24]); + dart.setFieldSignature(_HashSet, () => ({ + __proto__: dart.getFields(_HashSet.__proto__), + [_map$5]: dart.finalFieldType(dart.dynamic), + [_keyMap$]: dart.finalFieldType(dart.nullable(core.Object)), + [_modifications$3]: dart.fieldType(core.int) + })); + dart.defineExtensionMethods(_HashSet, ['contains']); + return _HashSet; +}); +collection._HashSet = collection._HashSet$(); +dart.addTypeTests(collection._HashSet, _is__HashSet_default); +const _is__ImmutableSet_default = Symbol('_is__ImmutableSet_default'); +collection._ImmutableSet$ = dart.generic(E => { + var IterableOfE = () => (IterableOfE = dart.constFn(core.Iterable$(E)))(); + class _ImmutableSet extends collection._HashSet$(E) { + add(value) { + E.as(value); + return dart.throw(collection._ImmutableSet._unsupported()); + } + addAll(elements) { + IterableOfE().as(elements); + if (elements == null) dart.nullFailed(I[74], 325, 27, "elements"); + return dart.throw(collection._ImmutableSet._unsupported()); + } + clear() { + return dart.throw(collection._ImmutableSet._unsupported()); + } + remove(value) { + return dart.throw(collection._ImmutableSet._unsupported()); + } + static _unsupported() { + return new core.UnsupportedError.new("Cannot modify unmodifiable set"); + } + } + (_ImmutableSet.from = function(entries) { + if (entries == null) dart.nullFailed(I[74], 310, 33, "entries"); + _ImmutableSet.__proto__.new.call(this); + let map = this[_map$5]; + for (let key of entries) { + if (key == null) { + key = null; + } else if (key[$_equals] !== dart.identityEquals) { + key = _js_helper.putLinkedMapKey(key, this[_keyMap$]); + } + map.add(key); + } + }).prototype = _ImmutableSet.prototype; + dart.addTypeTests(_ImmutableSet); + _ImmutableSet.prototype[_is__ImmutableSet_default] = true; + dart.addTypeCaches(_ImmutableSet); + dart.setLibraryUri(_ImmutableSet, I[24]); + return _ImmutableSet; +}); +collection._ImmutableSet = collection._ImmutableSet$(); +dart.addTypeTests(collection._ImmutableSet, _is__ImmutableSet_default); +var _map$6 = dart.privateName(collection, "_IdentityHashSet._map"); +var _modifications$4 = dart.privateName(collection, "_IdentityHashSet._modifications"); +const _is__IdentityHashSet_default = Symbol('_is__IdentityHashSet_default'); +collection._IdentityHashSet$ = dart.generic(E => { + var _IdentityHashSetOfE = () => (_IdentityHashSetOfE = dart.constFn(collection._IdentityHashSet$(E)))(); + var IterableOfE = () => (IterableOfE = dart.constFn(core.Iterable$(E)))(); + class _IdentityHashSet extends collection._InternalSet$(E) { + get [_map$5]() { + return this[_map$6]; + } + set [_map$5](value) { + super[_map$5] = value; + } + get [_modifications$3]() { + return this[_modifications$4]; + } + set [_modifications$3](value) { + this[_modifications$4] = value; + } + [_newSet]() { + return new (_IdentityHashSetOfE()).new(); + } + [_newSimilarSet](R) { + return new (collection._IdentityHashSet$(R)).new(); + } + contains(element) { + return this[_map$5].has(element); + } + lookup(element) { + return E.is(element) && this[_map$5].has(element) ? element : null; + } + add(element) { + E.as(element); + let map = this[_map$5]; + if (map.has(element)) return false; + map.add(element); + this[_modifications$3] = this[_modifications$3] + 1 & 67108863; + return true; + } + addAll(objects) { + IterableOfE().as(objects); + if (objects == null) dart.nullFailed(I[74], 366, 27, "objects"); + let map = this[_map$5]; + let length = map.size; + for (let key of objects) { + map.add(key); + } + if (length !== map.size) { + this[_modifications$3] = this[_modifications$3] + 1 & 67108863; + } + } + remove(element) { + if (this[_map$5].delete(element)) { + this[_modifications$3] = this[_modifications$3] + 1 & 67108863; + return true; + } + return false; + } + clear() { + let map = this[_map$5]; + if (map.size > 0) { + map.clear(); + this[_modifications$3] = this[_modifications$3] + 1 & 67108863; + } + } + } + (_IdentityHashSet.new = function() { + this[_map$6] = new Set(); + this[_modifications$4] = 0; + _IdentityHashSet.__proto__.new.call(this); + ; + }).prototype = _IdentityHashSet.prototype; + dart.addTypeTests(_IdentityHashSet); + _IdentityHashSet.prototype[_is__IdentityHashSet_default] = true; + dart.addTypeCaches(_IdentityHashSet); + _IdentityHashSet[dart.implements] = () => [collection.HashSet$(E), collection.LinkedHashSet$(E)]; + dart.setMethodSignature(_IdentityHashSet, () => ({ + __proto__: dart.getMethods(_IdentityHashSet.__proto__), + [_newSet]: dart.fnType(core.Set$(E), []), + [_newSimilarSet]: dart.gFnType(R => [core.Set$(R), []], R => [dart.nullable(core.Object)]), + contains: dart.fnType(core.bool, [dart.nullable(core.Object)]), + [$contains]: dart.fnType(core.bool, [dart.nullable(core.Object)]), + lookup: dart.fnType(dart.nullable(E), [dart.nullable(core.Object)]), + add: dart.fnType(core.bool, [dart.nullable(core.Object)]), + remove: dart.fnType(core.bool, [dart.nullable(core.Object)]) + })); + dart.setLibraryUri(_IdentityHashSet, I[24]); + dart.setFieldSignature(_IdentityHashSet, () => ({ + __proto__: dart.getFields(_IdentityHashSet.__proto__), + [_map$5]: dart.finalFieldType(dart.dynamic), + [_modifications$3]: dart.fieldType(core.int) + })); + dart.defineExtensionMethods(_IdentityHashSet, ['contains']); + return _IdentityHashSet; +}); +collection._IdentityHashSet = collection._IdentityHashSet$(); +dart.addTypeTests(collection._IdentityHashSet, _is__IdentityHashSet_default); +var _validKey$0 = dart.privateName(collection, "_validKey"); +var _equals$0 = dart.privateName(collection, "_equals"); +var _hashCode$0 = dart.privateName(collection, "_hashCode"); +var _modifications$5 = dart.privateName(collection, "_CustomHashSet._modifications"); +var _map$7 = dart.privateName(collection, "_CustomHashSet._map"); +const _is__CustomHashSet_default = Symbol('_is__CustomHashSet_default'); +collection._CustomHashSet$ = dart.generic(E => { + var _CustomHashSetOfE = () => (_CustomHashSetOfE = dart.constFn(collection._CustomHashSet$(E)))(); + var IterableOfE = () => (IterableOfE = dart.constFn(core.Iterable$(E)))(); + class _CustomHashSet extends collection._InternalSet$(E) { + get [_modifications$3]() { + return this[_modifications$5]; + } + set [_modifications$3](value) { + this[_modifications$5] = value; + } + get [_map$5]() { + return this[_map$7]; + } + set [_map$5](value) { + super[_map$5] = value; + } + [_newSet]() { + return new (_CustomHashSetOfE()).new(this[_equals$0], this[_hashCode$0]); + } + [_newSimilarSet](R) { + return new (collection._HashSet$(R)).new(); + } + contains(key) { + let t161; + if (E.is(key)) { + let buckets = this[_keyMap$].get((t161 = key, this[_hashCode$0](t161)) & 0x3ffffff); + if (buckets != null) { + let equals = this[_equals$0]; + for (let i = 0, n = buckets.length; i < n; i = i + 1) { + let k = buckets[i]; + if (dart.test(equals(k, key))) return true; + } + } + } + return false; + } + lookup(key) { + let t161; + if (E.is(key)) { + let buckets = this[_keyMap$].get((t161 = key, this[_hashCode$0](t161)) & 0x3ffffff); + if (buckets != null) { + let equals = this[_equals$0]; + for (let i = 0, n = buckets.length; i < n; i = i + 1) { + let k = buckets[i]; + if (dart.test(equals(k, key))) return k; + } + } + } + return null; + } + add(key) { + let t161; + E.as(key); + let keyMap = this[_keyMap$]; + let hash = (t161 = key, this[_hashCode$0](t161)) & 0x3ffffff; + let buckets = keyMap.get(hash); + if (buckets == null) { + keyMap.set(hash, [key]); + } else { + let equals = this[_equals$0]; + for (let i = 0, n = buckets.length; i < n; i = i + 1) { + let k = buckets[i]; + if (dart.test(equals(k, key))) return false; + } + buckets.push(key); + } + this[_map$5].add(key); + this[_modifications$3] = this[_modifications$3] + 1 & 67108863; + return true; + } + addAll(objects) { + IterableOfE().as(objects); + if (objects == null) dart.nullFailed(I[74], 500, 27, "objects"); + for (let element of objects) + this.add(element); + } + remove(key) { + let t161; + if (E.is(key)) { + let hash = (t161 = key, this[_hashCode$0](t161)) & 0x3ffffff; + let keyMap = this[_keyMap$]; + let buckets = keyMap.get(hash); + if (buckets == null) return false; + let equals = this[_equals$0]; + for (let i = 0, n = buckets.length; i < n; i = i + 1) { + let k = buckets[i]; + if (dart.test(equals(k, key))) { + if (n === 1) { + keyMap.delete(hash); + } else { + buckets.splice(i, 1); + } + this[_map$5].delete(k); + this[_modifications$3] = this[_modifications$3] + 1 & 67108863; + return true; + } + } + } + return false; + } + clear() { + let map = this[_map$5]; + if (map.size > 0) { + map.clear(); + this[_keyMap$].clear(); + this[_modifications$3] = this[_modifications$3] + 1 & 67108863; + } + } + } + (_CustomHashSet.new = function(_equals, _hashCode) { + if (_equals == null) dart.nullFailed(I[74], 448, 23, "_equals"); + if (_hashCode == null) dart.nullFailed(I[74], 448, 37, "_hashCode"); + this[_modifications$5] = 0; + this[_map$7] = new Set(); + this[_keyMap$] = new Map(); + this[_equals$0] = _equals; + this[_hashCode$0] = _hashCode; + _CustomHashSet.__proto__.new.call(this); + ; + }).prototype = _CustomHashSet.prototype; + dart.addTypeTests(_CustomHashSet); + _CustomHashSet.prototype[_is__CustomHashSet_default] = true; + dart.addTypeCaches(_CustomHashSet); + _CustomHashSet[dart.implements] = () => [collection.HashSet$(E), collection.LinkedHashSet$(E)]; + dart.setMethodSignature(_CustomHashSet, () => ({ + __proto__: dart.getMethods(_CustomHashSet.__proto__), + [_newSet]: dart.fnType(core.Set$(E), []), + [_newSimilarSet]: dart.gFnType(R => [core.Set$(R), []], R => [dart.nullable(core.Object)]), + contains: dart.fnType(core.bool, [dart.nullable(core.Object)]), + [$contains]: dart.fnType(core.bool, [dart.nullable(core.Object)]), + lookup: dart.fnType(dart.nullable(E), [dart.nullable(core.Object)]), + add: dart.fnType(core.bool, [dart.nullable(core.Object)]), + remove: dart.fnType(core.bool, [dart.nullable(core.Object)]) + })); + dart.setLibraryUri(_CustomHashSet, I[24]); + dart.setFieldSignature(_CustomHashSet, () => ({ + __proto__: dart.getFields(_CustomHashSet.__proto__), + [_equals$0]: dart.fieldType(dart.fnType(core.bool, [E, E])), + [_hashCode$0]: dart.fieldType(dart.fnType(core.int, [E])), + [_modifications$3]: dart.fieldType(core.int), + [_map$5]: dart.finalFieldType(dart.dynamic), + [_keyMap$]: dart.finalFieldType(dart.nullable(core.Object)) + })); + dart.defineExtensionMethods(_CustomHashSet, ['contains']); + return _CustomHashSet; +}); +collection._CustomHashSet = collection._CustomHashSet$(); +dart.addTypeTests(collection._CustomHashSet, _is__CustomHashSet_default); +const _is__CustomKeyHashSet_default = Symbol('_is__CustomKeyHashSet_default'); +collection._CustomKeyHashSet$ = dart.generic(E => { + var _CustomKeyHashSetOfE = () => (_CustomKeyHashSetOfE = dart.constFn(collection._CustomKeyHashSet$(E)))(); + class _CustomKeyHashSet extends collection._CustomHashSet$(E) { + [_newSet]() { + return new (_CustomKeyHashSetOfE()).new(this[_equals$0], this[_hashCode$0], this[_validKey$0]); + } + [_newSimilarSet](R) { + return new (collection._HashSet$(R)).new(); + } + contains(element) { + let t161; + if (!dart.test((t161 = element, this[_validKey$0](t161)))) return false; + return super.contains(element); + } + lookup(element) { + let t161; + if (!dart.test((t161 = element, this[_validKey$0](t161)))) return null; + return super.lookup(element); + } + remove(element) { + let t161; + if (!dart.test((t161 = element, this[_validKey$0](t161)))) return false; + return super.remove(element); + } + } + (_CustomKeyHashSet.new = function(equals, hashCode, _validKey) { + if (equals == null) dart.nullFailed(I[74], 396, 34, "equals"); + if (hashCode == null) dart.nullFailed(I[74], 396, 53, "hashCode"); + if (_validKey == null) dart.nullFailed(I[74], 396, 68, "_validKey"); + this[_validKey$0] = _validKey; + _CustomKeyHashSet.__proto__.new.call(this, equals, hashCode); + ; + }).prototype = _CustomKeyHashSet.prototype; + dart.addTypeTests(_CustomKeyHashSet); + _CustomKeyHashSet.prototype[_is__CustomKeyHashSet_default] = true; + dart.addTypeCaches(_CustomKeyHashSet); + dart.setMethodSignature(_CustomKeyHashSet, () => ({ + __proto__: dart.getMethods(_CustomKeyHashSet.__proto__), + [_newSimilarSet]: dart.gFnType(R => [core.Set$(R), []], R => [dart.nullable(core.Object)]) + })); + dart.setLibraryUri(_CustomKeyHashSet, I[24]); + dart.setFieldSignature(_CustomKeyHashSet, () => ({ + __proto__: dart.getFields(_CustomKeyHashSet.__proto__), + [_validKey$0]: dart.fieldType(dart.fnType(core.bool, [dart.nullable(core.Object)])) + })); + dart.defineExtensionMethods(_CustomKeyHashSet, ['contains']); + return _CustomKeyHashSet; +}); +collection._CustomKeyHashSet = collection._CustomKeyHashSet$(); +dart.addTypeTests(collection._CustomKeyHashSet, _is__CustomKeyHashSet_default); +var _source = dart.privateName(collection, "_source"); +const _is_UnmodifiableListView_default = Symbol('_is_UnmodifiableListView_default'); +collection.UnmodifiableListView$ = dart.generic(E => { + class UnmodifiableListView extends _internal.UnmodifiableListBase$(E) { + cast(R) { + return new (collection.UnmodifiableListView$(R)).new(this[_source][$cast](R)); + } + get length() { + return this[_source][$length]; + } + set length(value) { + super.length = value; + } + _get(index) { + if (index == null) dart.nullFailed(I[76], 23, 21, "index"); + return this[_source][$elementAt](index); + } + } + (UnmodifiableListView.new = function(source) { + if (source == null) dart.nullFailed(I[76], 18, 36, "source"); + this[_source] = source; + ; + }).prototype = UnmodifiableListView.prototype; + dart.addTypeTests(UnmodifiableListView); + UnmodifiableListView.prototype[_is_UnmodifiableListView_default] = true; + dart.addTypeCaches(UnmodifiableListView); + dart.setMethodSignature(UnmodifiableListView, () => ({ + __proto__: dart.getMethods(UnmodifiableListView.__proto__), + cast: dart.gFnType(R => [core.List$(R), []], R => [dart.nullable(core.Object)]), + [$cast]: dart.gFnType(R => [core.List$(R), []], R => [dart.nullable(core.Object)]), + _get: dart.fnType(E, [core.int]), + [$_get]: dart.fnType(E, [core.int]) + })); + dart.setGetterSignature(UnmodifiableListView, () => ({ + __proto__: dart.getGetters(UnmodifiableListView.__proto__), + length: core.int, + [$length]: core.int + })); + dart.setLibraryUri(UnmodifiableListView, I[24]); + dart.setFieldSignature(UnmodifiableListView, () => ({ + __proto__: dart.getFields(UnmodifiableListView.__proto__), + [_source]: dart.finalFieldType(core.Iterable$(E)) + })); + dart.defineExtensionMethods(UnmodifiableListView, ['cast', '_get']); + dart.defineExtensionAccessors(UnmodifiableListView, ['length']); + return UnmodifiableListView; +}); +collection.UnmodifiableListView = collection.UnmodifiableListView$(); +dart.addTypeTests(collection.UnmodifiableListView, _is_UnmodifiableListView_default); +const _is_HashMap_default = Symbol('_is_HashMap_default'); +collection.HashMap$ = dart.generic((K, V) => { + class HashMap extends core.Object { + static new(opts) { + let t161, t161$, t161$0; + let equals = opts && 'equals' in opts ? opts.equals : null; + let hashCode = opts && 'hashCode' in opts ? opts.hashCode : null; + let isValidKey = opts && 'isValidKey' in opts ? opts.isValidKey : null; + if (isValidKey == null) { + if (hashCode == null) { + if (equals == null) { + if (dart.wrapType(K) === dart.wrapType(core.String) || dart.wrapType(K) === dart.wrapType(core.int)) { + return new (_js_helper.IdentityMap$(K, V)).new(); + } + return new (_js_helper.LinkedMap$(K, V)).new(); + } + hashCode = C[74] || CT.C74; + } else if ((C[75] || CT.C75) === hashCode && (C[76] || CT.C76) === equals) { + return new (_js_helper.IdentityMap$(K, V)).new(); + } + return new (_js_helper.CustomHashMap$(K, V)).new((t161 = equals, t161 == null ? C[77] || CT.C77 : t161), hashCode); + } + return new (_js_helper.CustomKeyHashMap$(K, V)).new((t161$ = equals, t161$ == null ? C[77] || CT.C77 : t161$), (t161$0 = hashCode, t161$0 == null ? C[74] || CT.C74 : t161$0), isValidKey); + } + static from(other) { + if (other == null) dart.nullFailed(I[77], 101, 46, "other"); + let result = new (_js_helper.LinkedMap$(K, V)).new(); + other[$forEach](dart.fn((k, v) => { + result[$_set](K.as(k), V.as(v)); + }, T$.dynamicAnddynamicTovoid())); + return result; + } + static of(other) { + let t161; + if (other == null) dart.nullFailed(I[77], 110, 32, "other"); + t161 = new (_js_helper.LinkedMap$(K, V)).new(); + return (() => { + t161[$addAll](other); + return t161; + })(); + } + static fromIterable(iterable, opts) { + if (iterable == null) dart.nullFailed(I[77], 123, 41, "iterable"); + let key = opts && 'key' in opts ? opts.key : null; + let value = opts && 'value' in opts ? opts.value : null; + let map = new (_js_helper.LinkedMap$(K, V)).new(); + collection.MapBase._fillMapWithMappedIterable(map, iterable, key, value); + return map; + } + static fromIterables(keys, values) { + if (keys == null) dart.nullFailed(I[77], 139, 45, "keys"); + if (values == null) dart.nullFailed(I[77], 139, 63, "values"); + let map = new (_js_helper.LinkedMap$(K, V)).new(); + collection.MapBase._fillMapWithIterables(map, keys, values); + return map; + } + static fromEntries(entries) { + let t161; + if (entries == null) dart.nullFailed(I[77], 153, 56, "entries"); + t161 = new (_js_helper.LinkedMap$(K, V)).new(); + return (() => { + t161[$addEntries](entries); + return t161; + })(); + } + } + (HashMap[dart.mixinNew] = function() { + }).prototype = HashMap.prototype; + HashMap.prototype[dart.isMap] = true; + dart.addTypeTests(HashMap); + HashMap.prototype[_is_HashMap_default] = true; + dart.addTypeCaches(HashMap); + HashMap[dart.implements] = () => [core.Map$(K, V)]; + dart.setLibraryUri(HashMap, I[24]); + return HashMap; +}); +collection.HashMap = collection.HashMap$(); +dart.addTypeTests(collection.HashMap, _is_HashMap_default); +const _is_HashSet_default = Symbol('_is_HashSet_default'); +collection.HashSet$ = dart.generic(E => { + class HashSet extends core.Object { + static new(opts) { + let t161, t161$, t161$0, t161$1; + let equals = opts && 'equals' in opts ? opts.equals : null; + let hashCode = opts && 'hashCode' in opts ? opts.hashCode : null; + let isValidKey = opts && 'isValidKey' in opts ? opts.isValidKey : null; + if (isValidKey == null) { + if (hashCode == null) { + if (equals == null) { + if (dart.wrapType(E) === dart.wrapType(core.String) || dart.wrapType(E) === dart.wrapType(core.int)) { + return new (collection._IdentityHashSet$(E)).new(); + } + return new (collection._HashSet$(E)).new(); + } + } else if ((C[75] || CT.C75) === hashCode && (C[76] || CT.C76) === equals) { + return new (collection._IdentityHashSet$(E)).new(); + } + return new (collection._CustomHashSet$(E)).new((t161 = equals, t161 == null ? C[77] || CT.C77 : t161), (t161$ = hashCode, t161$ == null ? C[74] || CT.C74 : t161$)); + } + return new (collection._CustomKeyHashSet$(E)).new((t161$0 = equals, t161$0 == null ? C[77] || CT.C77 : t161$0), (t161$1 = hashCode, t161$1 == null ? C[74] || CT.C74 : t161$1), isValidKey); + } + static from(elements) { + if (elements == null) dart.nullFailed(I[78], 93, 42, "elements"); + let result = new (collection._HashSet$(E)).new(); + for (let e of elements) { + result.add(E.as(e)); + } + return result; + } + static of(elements) { + let t161; + if (elements == null) dart.nullFailed(I[78], 107, 34, "elements"); + t161 = new (collection._HashSet$(E)).new(); + return (() => { + t161.addAll(elements); + return t161; + })(); + } + [Symbol.iterator]() { + return new dart.JsIterator(this[$iterator]); + } + } + (HashSet[dart.mixinNew] = function() { + }).prototype = HashSet.prototype; + dart.addTypeTests(HashSet); + HashSet.prototype[_is_HashSet_default] = true; + dart.addTypeCaches(HashSet); + HashSet[dart.implements] = () => [core.Set$(E)]; + dart.setLibraryUri(HashSet, I[24]); + return HashSet; +}); +collection.HashSet = collection.HashSet$(); +dart.addTypeTests(collection.HashSet, _is_HashSet_default); +const _is_IterableMixin_default = Symbol('_is_IterableMixin_default'); +collection.IterableMixin$ = dart.generic(E => { + var WhereIterableOfE = () => (WhereIterableOfE = dart.constFn(_internal.WhereIterable$(E)))(); + var IterableOfE = () => (IterableOfE = dart.constFn(core.Iterable$(E)))(); + var EfficientLengthIterableOfE = () => (EfficientLengthIterableOfE = dart.constFn(_internal.EfficientLengthIterable$(E)))(); + var FollowedByIterableOfE = () => (FollowedByIterableOfE = dart.constFn(_internal.FollowedByIterable$(E)))(); + var EAndEToE = () => (EAndEToE = dart.constFn(dart.fnType(E, [E, E])))(); + var ListOfE = () => (ListOfE = dart.constFn(core.List$(E)))(); + var LinkedHashSetOfE = () => (LinkedHashSetOfE = dart.constFn(collection.LinkedHashSet$(E)))(); + var TakeIterableOfE = () => (TakeIterableOfE = dart.constFn(_internal.TakeIterable$(E)))(); + var TakeWhileIterableOfE = () => (TakeWhileIterableOfE = dart.constFn(_internal.TakeWhileIterable$(E)))(); + var SkipIterableOfE = () => (SkipIterableOfE = dart.constFn(_internal.SkipIterable$(E)))(); + var SkipWhileIterableOfE = () => (SkipWhileIterableOfE = dart.constFn(_internal.SkipWhileIterable$(E)))(); + var VoidToE = () => (VoidToE = dart.constFn(dart.fnType(E, [])))(); + var VoidToNE = () => (VoidToNE = dart.constFn(dart.nullable(VoidToE())))(); + var ETodynamic = () => (ETodynamic = dart.constFn(dart.fnType(dart.dynamic, [E])))(); + class IterableMixin extends core.Object { + cast(R) { + return core.Iterable.castFrom(E, R, this); + } + map(T, f) { + if (f == null) dart.nullFailed(I[39], 17, 24, "f"); + return _internal.MappedIterable$(E, T).new(this, f); + } + where(f) { + if (f == null) dart.nullFailed(I[39], 19, 26, "f"); + return new (WhereIterableOfE()).new(this, f); + } + whereType(T) { + return new (_internal.WhereTypeIterable$(T)).new(this); + } + expand(T, f) { + if (f == null) dart.nullFailed(I[39], 23, 37, "f"); + return new (_internal.ExpandIterable$(E, T)).new(this, f); + } + followedBy(other) { + IterableOfE().as(other); + if (other == null) dart.nullFailed(I[39], 26, 38, "other"); + let self = this; + if (EfficientLengthIterableOfE().is(self)) { + return FollowedByIterableOfE().firstEfficient(self, other); + } + return new (FollowedByIterableOfE()).new(this, other); + } + contains(element) { + for (let e of this) { + if (dart.equals(e, element)) return true; + } + return false; + } + forEach(f) { + if (f == null) dart.nullFailed(I[39], 43, 21, "f"); + for (let element of this) + f(element); + } + reduce(combine) { + EAndEToE().as(combine); + if (combine == null) dart.nullFailed(I[39], 47, 14, "combine"); + let iterator = this[$iterator]; + if (!dart.test(iterator.moveNext())) { + dart.throw(_internal.IterableElementError.noElement()); + } + let value = iterator.current; + while (dart.test(iterator.moveNext())) { + value = combine(value, iterator.current); + } + return value; + } + fold(T, initialValue, combine) { + if (combine == null) dart.nullFailed(I[39], 59, 31, "combine"); + let value = initialValue; + for (let element of this) + value = combine(value, element); + return value; + } + every(f) { + if (f == null) dart.nullFailed(I[39], 65, 19, "f"); + for (let element of this) { + if (!dart.test(f(element))) return false; + } + return true; + } + join(separator = "") { + if (separator == null) dart.nullFailed(I[39], 72, 23, "separator"); + let iterator = this[$iterator]; + if (!dart.test(iterator.moveNext())) return ""; + let buffer = new core.StringBuffer.new(); + if (separator == null || separator === "") { + do { + buffer.write(dart.str(iterator.current)); + } while (dart.test(iterator.moveNext())); + } else { + buffer.write(dart.str(iterator.current)); + while (dart.test(iterator.moveNext())) { + buffer.write(separator); + buffer.write(dart.str(iterator.current)); + } + } + return buffer.toString(); + } + any(test) { + if (test == null) dart.nullFailed(I[39], 90, 17, "test"); + for (let element of this) { + if (dart.test(test(element))) return true; + } + return false; + } + toList(opts) { + let growable = opts && 'growable' in opts ? opts.growable : true; + if (growable == null) dart.nullFailed(I[39], 97, 24, "growable"); + return ListOfE().from(this, {growable: growable}); + } + toSet() { + return LinkedHashSetOfE().from(this); + } + get length() { + if (!!_internal.EfficientLengthIterable.is(this)) dart.assertFailed(null, I[39], 103, 12, "this is! EfficientLengthIterable"); + let count = 0; + let it = this[$iterator]; + while (dart.test(it.moveNext())) { + count = count + 1; + } + return count; + } + get isEmpty() { + return !dart.test(this[$iterator].moveNext()); + } + get isNotEmpty() { + return !dart.test(this.isEmpty); + } + take(count) { + if (count == null) dart.nullFailed(I[39], 116, 24, "count"); + return TakeIterableOfE().new(this, count); + } + takeWhile(test) { + if (test == null) dart.nullFailed(I[39], 120, 30, "test"); + return new (TakeWhileIterableOfE()).new(this, test); + } + skip(count) { + if (count == null) dart.nullFailed(I[39], 124, 24, "count"); + return SkipIterableOfE().new(this, count); + } + skipWhile(test) { + if (test == null) dart.nullFailed(I[39], 128, 30, "test"); + return new (SkipWhileIterableOfE()).new(this, test); + } + get first() { + let it = this[$iterator]; + if (!dart.test(it.moveNext())) { + dart.throw(_internal.IterableElementError.noElement()); + } + return it.current; + } + get last() { + let it = this[$iterator]; + if (!dart.test(it.moveNext())) { + dart.throw(_internal.IterableElementError.noElement()); + } + let result = null; + do { + result = it.current; + } while (dart.test(it.moveNext())); + return result; + } + get single() { + let it = this[$iterator]; + if (!dart.test(it.moveNext())) dart.throw(_internal.IterableElementError.noElement()); + let result = it.current; + if (dart.test(it.moveNext())) dart.throw(_internal.IterableElementError.tooMany()); + return result; + } + firstWhere(test, opts) { + if (test == null) dart.nullFailed(I[39], 160, 21, "test"); + let orElse = opts && 'orElse' in opts ? opts.orElse : null; + VoidToNE().as(orElse); + for (let element of this) { + if (dart.test(test(element))) return element; + } + if (orElse != null) return orElse(); + dart.throw(_internal.IterableElementError.noElement()); + } + lastWhere(test, opts) { + if (test == null) dart.nullFailed(I[39], 168, 20, "test"); + let orElse = opts && 'orElse' in opts ? opts.orElse : null; + VoidToNE().as(orElse); + let result = null; + let result$35isSet = false; + function result$35get() { + return result$35isSet ? result : dart.throw(new _internal.LateError.localNI("result")); + } + dart.fn(result$35get, VoidToE()); + function result$35set(t164) { + result$35isSet = true; + return result = t164; + } + dart.fn(result$35set, ETodynamic()); + let foundMatching = false; + for (let element of this) { + if (dart.test(test(element))) { + result$35set(element); + foundMatching = true; + } + } + if (foundMatching) return result$35get(); + if (orElse != null) return orElse(); + dart.throw(_internal.IterableElementError.noElement()); + } + singleWhere(test, opts) { + if (test == null) dart.nullFailed(I[39], 182, 22, "test"); + let orElse = opts && 'orElse' in opts ? opts.orElse : null; + VoidToNE().as(orElse); + let result = null; + let result$35isSet = false; + function result$35get() { + return result$35isSet ? result : dart.throw(new _internal.LateError.localNI("result")); + } + dart.fn(result$35get, VoidToE()); + function result$35set(t169) { + result$35isSet = true; + return result = t169; + } + dart.fn(result$35set, ETodynamic()); + let foundMatching = false; + for (let element of this) { + if (dart.test(test(element))) { + if (foundMatching) { + dart.throw(_internal.IterableElementError.tooMany()); + } + result$35set(element); + foundMatching = true; + } + } + if (foundMatching) return result$35get(); + if (orElse != null) return orElse(); + dart.throw(_internal.IterableElementError.noElement()); + } + elementAt(index) { + if (index == null) dart.nullFailed(I[39], 199, 19, "index"); + _internal.checkNotNullable(core.int, index, "index"); + core.RangeError.checkNotNegative(index, "index"); + let elementIndex = 0; + for (let element of this) { + if (index === elementIndex) return element; + elementIndex = elementIndex + 1; + } + dart.throw(new core.IndexError.new(index, this, "index", null, elementIndex)); + } + toString() { + return collection.IterableBase.iterableToShortString(this, "(", ")"); + } + [Symbol.iterator]() { + return new dart.JsIterator(this[$iterator]); + } + } + (IterableMixin.new = function() { + ; + }).prototype = IterableMixin.prototype; + IterableMixin.prototype[dart.isIterable] = true; + dart.addTypeTests(IterableMixin); + IterableMixin.prototype[_is_IterableMixin_default] = true; + dart.addTypeCaches(IterableMixin); + IterableMixin[dart.implements] = () => [core.Iterable$(E)]; + dart.setMethodSignature(IterableMixin, () => ({ + __proto__: dart.getMethods(IterableMixin.__proto__), + cast: dart.gFnType(R => [core.Iterable$(R), []], R => [dart.nullable(core.Object)]), + [$cast]: dart.gFnType(R => [core.Iterable$(R), []], R => [dart.nullable(core.Object)]), + map: dart.gFnType(T => [core.Iterable$(T), [dart.fnType(T, [E])]], T => [dart.nullable(core.Object)]), + [$map]: dart.gFnType(T => [core.Iterable$(T), [dart.fnType(T, [E])]], T => [dart.nullable(core.Object)]), + where: dart.fnType(core.Iterable$(E), [dart.fnType(core.bool, [E])]), + [$where]: dart.fnType(core.Iterable$(E), [dart.fnType(core.bool, [E])]), + whereType: dart.gFnType(T => [core.Iterable$(T), []], T => [dart.nullable(core.Object)]), + [$whereType]: dart.gFnType(T => [core.Iterable$(T), []], T => [dart.nullable(core.Object)]), + expand: dart.gFnType(T => [core.Iterable$(T), [dart.fnType(core.Iterable$(T), [E])]], T => [dart.nullable(core.Object)]), + [$expand]: dart.gFnType(T => [core.Iterable$(T), [dart.fnType(core.Iterable$(T), [E])]], T => [dart.nullable(core.Object)]), + followedBy: dart.fnType(core.Iterable$(E), [dart.nullable(core.Object)]), + [$followedBy]: dart.fnType(core.Iterable$(E), [dart.nullable(core.Object)]), + contains: dart.fnType(core.bool, [dart.nullable(core.Object)]), + [$contains]: dart.fnType(core.bool, [dart.nullable(core.Object)]), + forEach: dart.fnType(dart.void, [dart.fnType(dart.void, [E])]), + [$forEach]: dart.fnType(dart.void, [dart.fnType(dart.void, [E])]), + reduce: dart.fnType(E, [dart.nullable(core.Object)]), + [$reduce]: dart.fnType(E, [dart.nullable(core.Object)]), + fold: dart.gFnType(T => [T, [T, dart.fnType(T, [T, E])]], T => [dart.nullable(core.Object)]), + [$fold]: dart.gFnType(T => [T, [T, dart.fnType(T, [T, E])]], T => [dart.nullable(core.Object)]), + every: dart.fnType(core.bool, [dart.fnType(core.bool, [E])]), + [$every]: dart.fnType(core.bool, [dart.fnType(core.bool, [E])]), + join: dart.fnType(core.String, [], [core.String]), + [$join]: dart.fnType(core.String, [], [core.String]), + any: dart.fnType(core.bool, [dart.fnType(core.bool, [E])]), + [$any]: dart.fnType(core.bool, [dart.fnType(core.bool, [E])]), + toList: dart.fnType(core.List$(E), [], {growable: core.bool}, {}), + [$toList]: dart.fnType(core.List$(E), [], {growable: core.bool}, {}), + toSet: dart.fnType(core.Set$(E), []), + [$toSet]: dart.fnType(core.Set$(E), []), + take: dart.fnType(core.Iterable$(E), [core.int]), + [$take]: dart.fnType(core.Iterable$(E), [core.int]), + takeWhile: dart.fnType(core.Iterable$(E), [dart.fnType(core.bool, [E])]), + [$takeWhile]: dart.fnType(core.Iterable$(E), [dart.fnType(core.bool, [E])]), + skip: dart.fnType(core.Iterable$(E), [core.int]), + [$skip]: dart.fnType(core.Iterable$(E), [core.int]), + skipWhile: dart.fnType(core.Iterable$(E), [dart.fnType(core.bool, [E])]), + [$skipWhile]: dart.fnType(core.Iterable$(E), [dart.fnType(core.bool, [E])]), + firstWhere: dart.fnType(E, [dart.fnType(core.bool, [E])], {orElse: dart.nullable(core.Object)}, {}), + [$firstWhere]: dart.fnType(E, [dart.fnType(core.bool, [E])], {orElse: dart.nullable(core.Object)}, {}), + lastWhere: dart.fnType(E, [dart.fnType(core.bool, [E])], {orElse: dart.nullable(core.Object)}, {}), + [$lastWhere]: dart.fnType(E, [dart.fnType(core.bool, [E])], {orElse: dart.nullable(core.Object)}, {}), + singleWhere: dart.fnType(E, [dart.fnType(core.bool, [E])], {orElse: dart.nullable(core.Object)}, {}), + [$singleWhere]: dart.fnType(E, [dart.fnType(core.bool, [E])], {orElse: dart.nullable(core.Object)}, {}), + elementAt: dart.fnType(E, [core.int]), + [$elementAt]: dart.fnType(E, [core.int]) + })); + dart.setGetterSignature(IterableMixin, () => ({ + __proto__: dart.getGetters(IterableMixin.__proto__), + length: core.int, + [$length]: core.int, + isEmpty: core.bool, + [$isEmpty]: core.bool, + isNotEmpty: core.bool, + [$isNotEmpty]: core.bool, + first: E, + [$first]: E, + last: E, + [$last]: E, + single: E, + [$single]: E + })); + dart.setLibraryUri(IterableMixin, I[24]); + dart.defineExtensionMethods(IterableMixin, [ + 'cast', + 'map', + 'where', + 'whereType', + 'expand', + 'followedBy', + 'contains', + 'forEach', + 'reduce', + 'fold', + 'every', + 'join', + 'any', + 'toList', + 'toSet', + 'take', + 'takeWhile', + 'skip', + 'skipWhile', + 'firstWhere', + 'lastWhere', + 'singleWhere', + 'elementAt', + 'toString' + ]); + dart.defineExtensionAccessors(IterableMixin, [ + 'length', + 'isEmpty', + 'isNotEmpty', + 'first', + 'last', + 'single' + ]); + return IterableMixin; +}); +collection.IterableMixin = collection.IterableMixin$(); +dart.addTypeTests(collection.IterableMixin, _is_IterableMixin_default); +var _state$ = dart.privateName(collection, "_state"); +var _iterator$0 = dart.privateName(collection, "_iterator"); +var _move = dart.privateName(collection, "_move"); +const _is_HasNextIterator_default = Symbol('_is_HasNextIterator_default'); +collection.HasNextIterator$ = dart.generic(E => { + class HasNextIterator extends core.Object { + get hasNext() { + if (this[_state$] === 2) this[_move](); + return this[_state$] === 0; + } + next() { + if (!dart.test(this.hasNext)) dart.throw(new core.StateError.new("No more elements")); + if (!(this[_state$] === 0)) dart.assertFailed(null, I[79], 30, 12, "_state == _HAS_NEXT_AND_NEXT_IN_CURRENT"); + let result = this[_iterator$0].current; + this[_move](); + return result; + } + [_move]() { + if (dart.test(this[_iterator$0].moveNext())) { + this[_state$] = 0; + } else { + this[_state$] = 1; + } + } + } + (HasNextIterator.new = function(_iterator) { + if (_iterator == null) dart.nullFailed(I[79], 19, 24, "_iterator"); + this[_state$] = 2; + this[_iterator$0] = _iterator; + ; + }).prototype = HasNextIterator.prototype; + dart.addTypeTests(HasNextIterator); + HasNextIterator.prototype[_is_HasNextIterator_default] = true; + dart.addTypeCaches(HasNextIterator); + dart.setMethodSignature(HasNextIterator, () => ({ + __proto__: dart.getMethods(HasNextIterator.__proto__), + next: dart.fnType(E, []), + [_move]: dart.fnType(dart.void, []) + })); + dart.setGetterSignature(HasNextIterator, () => ({ + __proto__: dart.getGetters(HasNextIterator.__proto__), + hasNext: core.bool + })); + dart.setLibraryUri(HasNextIterator, I[24]); + dart.setFieldSignature(HasNextIterator, () => ({ + __proto__: dart.getFields(HasNextIterator.__proto__), + [_iterator$0]: dart.fieldType(core.Iterator$(E)), + [_state$]: dart.fieldType(core.int) + })); + return HasNextIterator; +}); +collection.HasNextIterator = collection.HasNextIterator$(); +dart.defineLazy(collection.HasNextIterator, { + /*collection.HasNextIterator._HAS_NEXT_AND_NEXT_IN_CURRENT*/get _HAS_NEXT_AND_NEXT_IN_CURRENT() { + return 0; + }, + /*collection.HasNextIterator._NO_NEXT*/get _NO_NEXT() { + return 1; + }, + /*collection.HasNextIterator._NOT_MOVED_YET*/get _NOT_MOVED_YET() { + return 2; + } +}, false); +dart.addTypeTests(collection.HasNextIterator, _is_HasNextIterator_default); +const _is_LinkedHashMap_default = Symbol('_is_LinkedHashMap_default'); +collection.LinkedHashMap$ = dart.generic((K, V) => { + class LinkedHashMap extends core.Object { + static new(opts) { + let t171, t171$, t171$0; + let equals = opts && 'equals' in opts ? opts.equals : null; + let hashCode = opts && 'hashCode' in opts ? opts.hashCode : null; + let isValidKey = opts && 'isValidKey' in opts ? opts.isValidKey : null; + if (isValidKey == null) { + if (hashCode == null) { + if (equals == null) { + if (dart.wrapType(K) === dart.wrapType(core.String) || dart.wrapType(K) === dart.wrapType(core.int)) { + return new (_js_helper.IdentityMap$(K, V)).new(); + } + return new (_js_helper.LinkedMap$(K, V)).new(); + } + hashCode = C[74] || CT.C74; + } else if ((C[75] || CT.C75) === hashCode && (C[76] || CT.C76) === equals) { + return new (_js_helper.IdentityMap$(K, V)).new(); + } + return new (_js_helper.CustomHashMap$(K, V)).new((t171 = equals, t171 == null ? C[77] || CT.C77 : t171), hashCode); + } + return new (_js_helper.CustomKeyHashMap$(K, V)).new((t171$ = equals, t171$ == null ? C[77] || CT.C77 : t171$), (t171$0 = hashCode, t171$0 == null ? C[74] || CT.C74 : t171$0), isValidKey); + } + static from(other) { + if (other == null) dart.nullFailed(I[80], 85, 52, "other"); + let result = new (_js_helper.LinkedMap$(K, V)).new(); + other[$forEach](dart.fn((k, v) => { + result[$_set](K.as(k), V.as(v)); + }, T$.dynamicAnddynamicTovoid())); + return result; + } + static of(other) { + let t171; + if (other == null) dart.nullFailed(I[80], 94, 38, "other"); + t171 = new (_js_helper.LinkedMap$(K, V)).new(); + return (() => { + t171[$addAll](other); + return t171; + })(); + } + static fromIterable(iterable, opts) { + if (iterable == null) dart.nullFailed(I[80], 108, 47, "iterable"); + let key = opts && 'key' in opts ? opts.key : null; + let value = opts && 'value' in opts ? opts.value : null; + let map = new (_js_helper.LinkedMap$(K, V)).new(); + collection.MapBase._fillMapWithMappedIterable(map, iterable, key, value); + return map; + } + static fromIterables(keys, values) { + if (keys == null) dart.nullFailed(I[80], 124, 51, "keys"); + if (values == null) dart.nullFailed(I[80], 124, 69, "values"); + let map = new (_js_helper.LinkedMap$(K, V)).new(); + collection.MapBase._fillMapWithIterables(map, keys, values); + return map; + } + static fromEntries(entries) { + let t171; + if (entries == null) dart.nullFailed(I[80], 138, 62, "entries"); + t171 = new (_js_helper.LinkedMap$(K, V)).new(); + return (() => { + t171[$addEntries](entries); + return t171; + })(); + } + } + (LinkedHashMap[dart.mixinNew] = function() { + }).prototype = LinkedHashMap.prototype; + LinkedHashMap.prototype[dart.isMap] = true; + dart.addTypeTests(LinkedHashMap); + LinkedHashMap.prototype[_is_LinkedHashMap_default] = true; + dart.addTypeCaches(LinkedHashMap); + LinkedHashMap[dart.implements] = () => [core.Map$(K, V)]; + dart.setLibraryUri(LinkedHashMap, I[24]); + return LinkedHashMap; +}); +collection.LinkedHashMap = collection.LinkedHashMap$(); +dart.addTypeTests(collection.LinkedHashMap, _is_LinkedHashMap_default); +const _is_LinkedHashSet_default = Symbol('_is_LinkedHashSet_default'); +collection.LinkedHashSet$ = dart.generic(E => { + class LinkedHashSet extends core.Object { + static new(opts) { + let t171, t171$, t171$0; + let equals = opts && 'equals' in opts ? opts.equals : null; + let hashCode = opts && 'hashCode' in opts ? opts.hashCode : null; + let isValidKey = opts && 'isValidKey' in opts ? opts.isValidKey : null; + if (isValidKey == null) { + if (hashCode == null) { + if (equals == null) { + if (dart.wrapType(E) === dart.wrapType(core.String) || dart.wrapType(E) === dart.wrapType(core.int)) { + return new (collection._IdentityHashSet$(E)).new(); + } + return new (collection._HashSet$(E)).new(); + } + hashCode = C[74] || CT.C74; + } else if ((C[75] || CT.C75) === hashCode && (C[76] || CT.C76) === equals) { + return new (collection._IdentityHashSet$(E)).new(); + } + return new (collection._CustomHashSet$(E)).new((t171 = equals, t171 == null ? C[77] || CT.C77 : t171), hashCode); + } + return new (collection._CustomKeyHashSet$(E)).new((t171$ = equals, t171$ == null ? C[77] || CT.C77 : t171$), (t171$0 = hashCode, t171$0 == null ? C[74] || CT.C74 : t171$0), isValidKey); + } + static from(elements) { + if (elements == null) dart.nullFailed(I[81], 98, 48, "elements"); + let result = new (collection._HashSet$(E)).new(); + for (let element of elements) { + result.add(E.as(element)); + } + return result; + } + static of(elements) { + let t171; + if (elements == null) dart.nullFailed(I[81], 110, 40, "elements"); + t171 = new (collection._HashSet$(E)).new(); + return (() => { + t171.addAll(elements); + return t171; + })(); + } + [Symbol.iterator]() { + return new dart.JsIterator(this[$iterator]); + } + } + (LinkedHashSet[dart.mixinNew] = function() { + }).prototype = LinkedHashSet.prototype; + dart.addTypeTests(LinkedHashSet); + LinkedHashSet.prototype[_is_LinkedHashSet_default] = true; + dart.addTypeCaches(LinkedHashSet); + LinkedHashSet[dart.implements] = () => [core.Set$(E)]; + dart.setLibraryUri(LinkedHashSet, I[24]); + return LinkedHashSet; +}); +collection.LinkedHashSet = collection.LinkedHashSet$(); +dart.addTypeTests(collection.LinkedHashSet, _is_LinkedHashSet_default); +var _modificationCount = dart.privateName(collection, "_modificationCount"); +var _length$0 = dart.privateName(collection, "_length"); +var _first = dart.privateName(collection, "_first"); +var _insertBefore = dart.privateName(collection, "_insertBefore"); +var _list$0 = dart.privateName(collection, "_list"); +var _unlink = dart.privateName(collection, "_unlink"); +var _next$2 = dart.privateName(collection, "_next"); +var _previous$2 = dart.privateName(collection, "_previous"); +const _is_LinkedList_default$ = Symbol('_is_LinkedList_default'); +collection.LinkedList$ = dart.generic(E => { + var IterableOfE = () => (IterableOfE = dart.constFn(core.Iterable$(E)))(); + var _LinkedListIteratorOfE = () => (_LinkedListIteratorOfE = dart.constFn(collection._LinkedListIterator$(E)))(); + var EN = () => (EN = dart.constFn(dart.nullable(E)))(); + class LinkedList extends core.Iterable$(E) { + addFirst(entry) { + E.as(entry); + if (entry == null) dart.nullFailed(I[82], 40, 19, "entry"); + this[_insertBefore](this[_first], entry, {updateFirst: true}); + this[_first] = entry; + } + add(entry) { + E.as(entry); + if (entry == null) dart.nullFailed(I[82], 46, 14, "entry"); + this[_insertBefore](this[_first], entry, {updateFirst: false}); + } + addAll(entries) { + IterableOfE().as(entries); + if (entries == null) dart.nullFailed(I[82], 51, 27, "entries"); + entries[$forEach](dart.bind(this, 'add')); + } + remove(entry) { + E.as(entry); + if (entry == null) dart.nullFailed(I[82], 61, 17, "entry"); + if (!dart.equals(entry[_list$0], this)) return false; + this[_unlink](entry); + return true; + } + contains(entry) { + return T$.LinkedListEntryOfLinkedListEntry().is(entry) && this === entry.list; + } + get iterator() { + return new (_LinkedListIteratorOfE()).new(this); + } + get length() { + return this[_length$0]; + } + clear() { + this[_modificationCount] = dart.notNull(this[_modificationCount]) + 1; + if (dart.test(this.isEmpty)) return; + let next = dart.nullCheck(this[_first]); + do { + let entry = next; + next = dart.nullCheck(entry[_next$2]); + entry[_next$2] = entry[_previous$2] = entry[_list$0] = null; + } while (next !== this[_first]); + this[_first] = null; + this[_length$0] = 0; + } + get first() { + if (dart.test(this.isEmpty)) { + dart.throw(new core.StateError.new("No such element")); + } + return dart.nullCheck(this[_first]); + } + get last() { + if (dart.test(this.isEmpty)) { + dart.throw(new core.StateError.new("No such element")); + } + return dart.nullCheck(dart.nullCheck(this[_first])[_previous$2]); + } + get single() { + if (dart.test(this.isEmpty)) { + dart.throw(new core.StateError.new("No such element")); + } + if (dart.notNull(this[_length$0]) > 1) { + dart.throw(new core.StateError.new("Too many elements")); + } + return dart.nullCheck(this[_first]); + } + forEach(action) { + if (action == null) dart.nullFailed(I[82], 121, 21, "action"); + let modificationCount = this[_modificationCount]; + if (dart.test(this.isEmpty)) return; + let current = dart.nullCheck(this[_first]); + do { + action(current); + if (modificationCount != this[_modificationCount]) { + dart.throw(new core.ConcurrentModificationError.new(this)); + } + current = dart.nullCheck(current[_next$2]); + } while (current !== this[_first]); + } + get isEmpty() { + return this[_length$0] === 0; + } + [_insertBefore](entry, newEntry, opts) { + EN().as(entry); + E.as(newEntry); + if (newEntry == null) dart.nullFailed(I[82], 141, 34, "newEntry"); + let updateFirst = opts && 'updateFirst' in opts ? opts.updateFirst : null; + if (updateFirst == null) dart.nullFailed(I[82], 141, 59, "updateFirst"); + if (newEntry.list != null) { + dart.throw(new core.StateError.new("LinkedListEntry is already in a LinkedList")); + } + this[_modificationCount] = dart.notNull(this[_modificationCount]) + 1; + newEntry[_list$0] = this; + if (dart.test(this.isEmpty)) { + if (!(entry == null)) dart.assertFailed(null, I[82], 149, 14, "entry == null"); + newEntry[_previous$2] = newEntry[_next$2] = newEntry; + this[_first] = newEntry; + this[_length$0] = dart.notNull(this[_length$0]) + 1; + return; + } + let predecessor = dart.nullCheck(dart.nullCheck(entry)[_previous$2]); + let successor = entry; + newEntry[_previous$2] = predecessor; + newEntry[_next$2] = successor; + predecessor[_next$2] = newEntry; + successor[_previous$2] = newEntry; + if (dart.test(updateFirst) && entry == this[_first]) { + this[_first] = newEntry; + } + this[_length$0] = dart.notNull(this[_length$0]) + 1; + } + [_unlink](entry) { + E.as(entry); + if (entry == null) dart.nullFailed(I[82], 167, 18, "entry"); + this[_modificationCount] = dart.notNull(this[_modificationCount]) + 1; + dart.nullCheck(entry[_next$2])[_previous$2] = entry[_previous$2]; + let next = dart.nullCheck(entry[_previous$2])[_next$2] = entry[_next$2]; + this[_length$0] = dart.notNull(this[_length$0]) - 1; + entry[_list$0] = entry[_next$2] = entry[_previous$2] = null; + if (dart.test(this.isEmpty)) { + this[_first] = null; + } else if (entry == this[_first]) { + this[_first] = next; + } + } + } + (LinkedList.new = function() { + this[_modificationCount] = 0; + this[_length$0] = 0; + this[_first] = null; + LinkedList.__proto__.new.call(this); + ; + }).prototype = LinkedList.prototype; + dart.addTypeTests(LinkedList); + LinkedList.prototype[_is_LinkedList_default$] = true; + dart.addTypeCaches(LinkedList); + dart.setMethodSignature(LinkedList, () => ({ + __proto__: dart.getMethods(LinkedList.__proto__), + addFirst: dart.fnType(dart.void, [dart.nullable(core.Object)]), + add: dart.fnType(dart.void, [dart.nullable(core.Object)]), + addAll: dart.fnType(dart.void, [dart.nullable(core.Object)]), + remove: dart.fnType(core.bool, [dart.nullable(core.Object)]), + clear: dart.fnType(dart.void, []), + [_insertBefore]: dart.fnType(dart.void, [dart.nullable(core.Object), dart.nullable(core.Object)], {updateFirst: core.bool}, {}), + [_unlink]: dart.fnType(dart.void, [dart.nullable(core.Object)]) + })); + dart.setGetterSignature(LinkedList, () => ({ + __proto__: dart.getGetters(LinkedList.__proto__), + iterator: core.Iterator$(E), + [$iterator]: core.Iterator$(E) + })); + dart.setLibraryUri(LinkedList, I[24]); + dart.setFieldSignature(LinkedList, () => ({ + __proto__: dart.getFields(LinkedList.__proto__), + [_modificationCount]: dart.fieldType(core.int), + [_length$0]: dart.fieldType(core.int), + [_first]: dart.fieldType(dart.nullable(E)) + })); + dart.defineExtensionMethods(LinkedList, ['contains', 'forEach']); + dart.defineExtensionAccessors(LinkedList, [ + 'iterator', + 'length', + 'first', + 'last', + 'single', + 'isEmpty' + ]); + return LinkedList; +}); +collection.LinkedList = collection.LinkedList$(); +dart.addTypeTests(collection.LinkedList, _is_LinkedList_default$); +var _current$1 = dart.privateName(collection, "_current"); +var _visitedFirst = dart.privateName(collection, "_visitedFirst"); +const _is__LinkedListIterator_default$ = Symbol('_is__LinkedListIterator_default'); +collection._LinkedListIterator$ = dart.generic(E => { + class _LinkedListIterator extends core.Object { + get current() { + return dart.nullCast(this[_current$1], E); + } + moveNext() { + if (this[_modificationCount] != this[_list$0][_modificationCount]) { + dart.throw(new core.ConcurrentModificationError.new(this)); + } + if (dart.test(this[_list$0].isEmpty) || dart.test(this[_visitedFirst]) && this[_next$2] == this[_list$0].first) { + this[_current$1] = null; + return false; + } + this[_visitedFirst] = true; + this[_current$1] = this[_next$2]; + this[_next$2] = dart.nullCheck(this[_next$2])[_next$2]; + return true; + } + } + (_LinkedListIterator.new = function(list) { + if (list == null) dart.nullFailed(I[82], 188, 37, "list"); + this[_current$1] = null; + this[_list$0] = list; + this[_modificationCount] = list[_modificationCount]; + this[_next$2] = list[_first]; + this[_visitedFirst] = false; + ; + }).prototype = _LinkedListIterator.prototype; + dart.addTypeTests(_LinkedListIterator); + _LinkedListIterator.prototype[_is__LinkedListIterator_default$] = true; + dart.addTypeCaches(_LinkedListIterator); + _LinkedListIterator[dart.implements] = () => [core.Iterator$(E)]; + dart.setMethodSignature(_LinkedListIterator, () => ({ + __proto__: dart.getMethods(_LinkedListIterator.__proto__), + moveNext: dart.fnType(core.bool, []) + })); + dart.setGetterSignature(_LinkedListIterator, () => ({ + __proto__: dart.getGetters(_LinkedListIterator.__proto__), + current: E + })); + dart.setLibraryUri(_LinkedListIterator, I[24]); + dart.setFieldSignature(_LinkedListIterator, () => ({ + __proto__: dart.getFields(_LinkedListIterator.__proto__), + [_list$0]: dart.finalFieldType(collection.LinkedList$(E)), + [_modificationCount]: dart.finalFieldType(core.int), + [_current$1]: dart.fieldType(dart.nullable(E)), + [_next$2]: dart.fieldType(dart.nullable(E)), + [_visitedFirst]: dart.fieldType(core.bool) + })); + return _LinkedListIterator; +}); +collection._LinkedListIterator = collection._LinkedListIterator$(); +dart.addTypeTests(collection._LinkedListIterator, _is__LinkedListIterator_default$); +var _list$1 = dart.privateName(collection, "LinkedListEntry._list"); +var _next$3 = dart.privateName(collection, "LinkedListEntry._next"); +var _previous$3 = dart.privateName(collection, "LinkedListEntry._previous"); +const _is_LinkedListEntry_default$ = Symbol('_is_LinkedListEntry_default'); +collection.LinkedListEntry$ = dart.generic(E => { + var LinkedListOfE = () => (LinkedListOfE = dart.constFn(collection.LinkedList$(E)))(); + var LinkedListNOfE = () => (LinkedListNOfE = dart.constFn(dart.nullable(LinkedListOfE())))(); + var EN = () => (EN = dart.constFn(dart.nullable(E)))(); + class LinkedListEntry extends core.Object { + get [_list$0]() { + return this[_list$1]; + } + set [_list$0](value) { + this[_list$1] = LinkedListNOfE().as(value); + } + get [_next$2]() { + return this[_next$3]; + } + set [_next$2](value) { + this[_next$3] = EN().as(value); + } + get [_previous$2]() { + return this[_previous$3]; + } + set [_previous$2](value) { + this[_previous$3] = EN().as(value); + } + get list() { + return this[_list$0]; + } + unlink() { + dart.nullCheck(this[_list$0])[_unlink](E.as(this)); + } + get next() { + if (this[_list$0] == null || dart.nullCheck(this[_list$0]).first == this[_next$2]) return null; + return this[_next$2]; + } + get previous() { + if (this[_list$0] == null || this === dart.nullCheck(this[_list$0]).first) return null; + return this[_previous$2]; + } + insertAfter(entry) { + E.as(entry); + if (entry == null) dart.nullFailed(I[82], 262, 22, "entry"); + dart.nullCheck(this[_list$0])[_insertBefore](this[_next$2], entry, {updateFirst: false}); + } + insertBefore(entry) { + E.as(entry); + if (entry == null) dart.nullFailed(I[82], 270, 23, "entry"); + dart.nullCheck(this[_list$0])[_insertBefore](E.as(this), entry, {updateFirst: true}); + } + } + (LinkedListEntry.new = function() { + this[_list$1] = null; + this[_next$3] = null; + this[_previous$3] = null; + ; + }).prototype = LinkedListEntry.prototype; + dart.addTypeTests(LinkedListEntry); + LinkedListEntry.prototype[_is_LinkedListEntry_default$] = true; + dart.addTypeCaches(LinkedListEntry); + dart.setMethodSignature(LinkedListEntry, () => ({ + __proto__: dart.getMethods(LinkedListEntry.__proto__), + unlink: dart.fnType(dart.void, []), + insertAfter: dart.fnType(dart.void, [dart.nullable(core.Object)]), + insertBefore: dart.fnType(dart.void, [dart.nullable(core.Object)]) + })); + dart.setGetterSignature(LinkedListEntry, () => ({ + __proto__: dart.getGetters(LinkedListEntry.__proto__), + list: dart.nullable(collection.LinkedList$(E)), + next: dart.nullable(E), + previous: dart.nullable(E) + })); + dart.setLibraryUri(LinkedListEntry, I[24]); + dart.setFieldSignature(LinkedListEntry, () => ({ + __proto__: dart.getFields(LinkedListEntry.__proto__), + [_list$0]: dart.fieldType(dart.nullable(collection.LinkedList$(E))), + [_next$2]: dart.fieldType(dart.nullable(E)), + [_previous$2]: dart.fieldType(dart.nullable(E)) + })); + return LinkedListEntry; +}); +collection.LinkedListEntry = collection.LinkedListEntry$(); +dart.addTypeTests(collection.LinkedListEntry, _is_LinkedListEntry_default$); +const _is__MapBaseValueIterable_default = Symbol('_is__MapBaseValueIterable_default'); +collection._MapBaseValueIterable$ = dart.generic((K, V) => { + var _MapBaseValueIteratorOfK$V = () => (_MapBaseValueIteratorOfK$V = dart.constFn(collection._MapBaseValueIterator$(K, V)))(); + class _MapBaseValueIterable extends _internal.EfficientLengthIterable$(V) { + get length() { + return this[_map$5][$length]; + } + get isEmpty() { + return this[_map$5][$isEmpty]; + } + get isNotEmpty() { + return this[_map$5][$isNotEmpty]; + } + get first() { + return V.as(this[_map$5][$_get](this[_map$5][$keys][$first])); + } + get single() { + return V.as(this[_map$5][$_get](this[_map$5][$keys][$single])); + } + get last() { + return V.as(this[_map$5][$_get](this[_map$5][$keys][$last])); + } + get iterator() { + return new (_MapBaseValueIteratorOfK$V()).new(this[_map$5]); + } + } + (_MapBaseValueIterable.new = function(_map) { + if (_map == null) dart.nullFailed(I[35], 227, 30, "_map"); + this[_map$5] = _map; + _MapBaseValueIterable.__proto__.new.call(this); + ; + }).prototype = _MapBaseValueIterable.prototype; + dart.addTypeTests(_MapBaseValueIterable); + _MapBaseValueIterable.prototype[_is__MapBaseValueIterable_default] = true; + dart.addTypeCaches(_MapBaseValueIterable); + dart.setGetterSignature(_MapBaseValueIterable, () => ({ + __proto__: dart.getGetters(_MapBaseValueIterable.__proto__), + iterator: core.Iterator$(V), + [$iterator]: core.Iterator$(V) + })); + dart.setLibraryUri(_MapBaseValueIterable, I[24]); + dart.setFieldSignature(_MapBaseValueIterable, () => ({ + __proto__: dart.getFields(_MapBaseValueIterable.__proto__), + [_map$5]: dart.finalFieldType(core.Map$(K, V)) + })); + dart.defineExtensionAccessors(_MapBaseValueIterable, [ + 'length', + 'isEmpty', + 'isNotEmpty', + 'first', + 'single', + 'last', + 'iterator' + ]); + return _MapBaseValueIterable; +}); +collection._MapBaseValueIterable = collection._MapBaseValueIterable$(); +dart.addTypeTests(collection._MapBaseValueIterable, _is__MapBaseValueIterable_default); +var _keys = dart.privateName(collection, "_keys"); +const _is__MapBaseValueIterator_default = Symbol('_is__MapBaseValueIterator_default'); +collection._MapBaseValueIterator$ = dart.generic((K, V) => { + class _MapBaseValueIterator extends core.Object { + moveNext() { + if (dart.test(this[_keys].moveNext())) { + this[_current$1] = this[_map$5][$_get](this[_keys].current); + return true; + } + this[_current$1] = null; + return false; + } + get current() { + return V.as(this[_current$1]); + } + } + (_MapBaseValueIterator.new = function(map) { + if (map == null) dart.nullFailed(I[35], 248, 35, "map"); + this[_current$1] = null; + this[_map$5] = map; + this[_keys] = map[$keys][$iterator]; + ; + }).prototype = _MapBaseValueIterator.prototype; + dart.addTypeTests(_MapBaseValueIterator); + _MapBaseValueIterator.prototype[_is__MapBaseValueIterator_default] = true; + dart.addTypeCaches(_MapBaseValueIterator); + _MapBaseValueIterator[dart.implements] = () => [core.Iterator$(V)]; + dart.setMethodSignature(_MapBaseValueIterator, () => ({ + __proto__: dart.getMethods(_MapBaseValueIterator.__proto__), + moveNext: dart.fnType(core.bool, []) + })); + dart.setGetterSignature(_MapBaseValueIterator, () => ({ + __proto__: dart.getGetters(_MapBaseValueIterator.__proto__), + current: V + })); + dart.setLibraryUri(_MapBaseValueIterator, I[24]); + dart.setFieldSignature(_MapBaseValueIterator, () => ({ + __proto__: dart.getFields(_MapBaseValueIterator.__proto__), + [_keys]: dart.finalFieldType(core.Iterator$(K)), + [_map$5]: dart.finalFieldType(core.Map$(K, V)), + [_current$1]: dart.fieldType(dart.nullable(V)) + })); + return _MapBaseValueIterator; +}); +collection._MapBaseValueIterator = collection._MapBaseValueIterator$(); +dart.addTypeTests(collection._MapBaseValueIterator, _is__MapBaseValueIterator_default); +var _map$8 = dart.privateName(collection, "MapView._map"); +const _is_MapView_default = Symbol('_is_MapView_default'); +collection.MapView$ = dart.generic((K, V) => { + var MapOfK$V = () => (MapOfK$V = dart.constFn(core.Map$(K, V)))(); + var MapEntryOfK$V = () => (MapEntryOfK$V = dart.constFn(core.MapEntry$(K, V)))(); + var IterableOfMapEntryOfK$V = () => (IterableOfMapEntryOfK$V = dart.constFn(core.Iterable$(MapEntryOfK$V())))(); + var KAndVToV = () => (KAndVToV = dart.constFn(dart.fnType(V, [K, V])))(); + var VoidToV = () => (VoidToV = dart.constFn(dart.fnType(V, [])))(); + var VToV = () => (VToV = dart.constFn(dart.fnType(V, [V])))(); + var VoidToNV = () => (VoidToNV = dart.constFn(dart.nullable(VoidToV())))(); + class MapView extends core.Object { + get [_map$5]() { + return this[_map$8]; + } + set [_map$5](value) { + super[_map$5] = value; + } + cast(RK, RV) { + return this[_map$5][$cast](RK, RV); + } + _get(key) { + return this[_map$5][$_get](key); + } + _set(key, value$) { + let value = value$; + K.as(key); + V.as(value); + this[_map$5][$_set](key, value); + return value$; + } + addAll(other) { + MapOfK$V().as(other); + if (other == null) dart.nullFailed(I[35], 330, 25, "other"); + this[_map$5][$addAll](other); + } + clear() { + this[_map$5][$clear](); + } + putIfAbsent(key, ifAbsent) { + K.as(key); + VoidToV().as(ifAbsent); + if (ifAbsent == null) dart.nullFailed(I[35], 338, 26, "ifAbsent"); + return this[_map$5][$putIfAbsent](key, ifAbsent); + } + containsKey(key) { + return this[_map$5][$containsKey](key); + } + containsValue(value) { + return this[_map$5][$containsValue](value); + } + forEach(action) { + if (action == null) dart.nullFailed(I[35], 341, 21, "action"); + this[_map$5][$forEach](action); + } + get isEmpty() { + return this[_map$5][$isEmpty]; + } + get isNotEmpty() { + return this[_map$5][$isNotEmpty]; + } + get length() { + return this[_map$5][$length]; + } + get keys() { + return this[_map$5][$keys]; + } + remove(key) { + return this[_map$5][$remove](key); + } + toString() { + return dart.toString(this[_map$5]); + } + get values() { + return this[_map$5][$values]; + } + get entries() { + return this[_map$5][$entries]; + } + addEntries(entries) { + IterableOfMapEntryOfK$V().as(entries); + if (entries == null) dart.nullFailed(I[35], 355, 44, "entries"); + this[_map$5][$addEntries](entries); + } + map(K2, V2, transform) { + if (transform == null) dart.nullFailed(I[35], 359, 44, "transform"); + return this[_map$5][$map](K2, V2, transform); + } + update(key, update, opts) { + K.as(key); + VToV().as(update); + if (update == null) dart.nullFailed(I[35], 362, 21, "update"); + let ifAbsent = opts && 'ifAbsent' in opts ? opts.ifAbsent : null; + VoidToNV().as(ifAbsent); + return this[_map$5][$update](key, update, {ifAbsent: ifAbsent}); + } + updateAll(update) { + KAndVToV().as(update); + if (update == null) dart.nullFailed(I[35], 365, 20, "update"); + this[_map$5][$updateAll](update); + } + removeWhere(test) { + if (test == null) dart.nullFailed(I[35], 369, 25, "test"); + this[_map$5][$removeWhere](test); + } + } + (MapView.new = function(map) { + if (map == null) dart.nullFailed(I[35], 322, 27, "map"); + this[_map$8] = map; + ; + }).prototype = MapView.prototype; + MapView.prototype[dart.isMap] = true; + dart.addTypeTests(MapView); + MapView.prototype[_is_MapView_default] = true; + dart.addTypeCaches(MapView); + MapView[dart.implements] = () => [core.Map$(K, V)]; + dart.setMethodSignature(MapView, () => ({ + __proto__: dart.getMethods(MapView.__proto__), + cast: dart.gFnType((RK, RV) => [core.Map$(RK, RV), []], (RK, RV) => [dart.nullable(core.Object), dart.nullable(core.Object)]), + [$cast]: dart.gFnType((RK, RV) => [core.Map$(RK, RV), []], (RK, RV) => [dart.nullable(core.Object), dart.nullable(core.Object)]), + _get: dart.fnType(dart.nullable(V), [dart.nullable(core.Object)]), + [$_get]: dart.fnType(dart.nullable(V), [dart.nullable(core.Object)]), + _set: dart.fnType(dart.void, [dart.nullable(core.Object), dart.nullable(core.Object)]), + [$_set]: dart.fnType(dart.void, [dart.nullable(core.Object), dart.nullable(core.Object)]), + addAll: dart.fnType(dart.void, [dart.nullable(core.Object)]), + [$addAll]: dart.fnType(dart.void, [dart.nullable(core.Object)]), + clear: dart.fnType(dart.void, []), + [$clear]: dart.fnType(dart.void, []), + putIfAbsent: dart.fnType(V, [dart.nullable(core.Object), dart.nullable(core.Object)]), + [$putIfAbsent]: dart.fnType(V, [dart.nullable(core.Object), dart.nullable(core.Object)]), + containsKey: dart.fnType(core.bool, [dart.nullable(core.Object)]), + [$containsKey]: dart.fnType(core.bool, [dart.nullable(core.Object)]), + containsValue: dart.fnType(core.bool, [dart.nullable(core.Object)]), + [$containsValue]: dart.fnType(core.bool, [dart.nullable(core.Object)]), + forEach: dart.fnType(dart.void, [dart.fnType(dart.void, [K, V])]), + [$forEach]: dart.fnType(dart.void, [dart.fnType(dart.void, [K, V])]), + remove: dart.fnType(dart.nullable(V), [dart.nullable(core.Object)]), + [$remove]: dart.fnType(dart.nullable(V), [dart.nullable(core.Object)]), + addEntries: dart.fnType(dart.void, [dart.nullable(core.Object)]), + [$addEntries]: dart.fnType(dart.void, [dart.nullable(core.Object)]), + map: dart.gFnType((K2, V2) => [core.Map$(K2, V2), [dart.fnType(core.MapEntry$(K2, V2), [K, V])]], (K2, V2) => [dart.nullable(core.Object), dart.nullable(core.Object)]), + [$map]: dart.gFnType((K2, V2) => [core.Map$(K2, V2), [dart.fnType(core.MapEntry$(K2, V2), [K, V])]], (K2, V2) => [dart.nullable(core.Object), dart.nullable(core.Object)]), + update: dart.fnType(V, [dart.nullable(core.Object), dart.nullable(core.Object)], {ifAbsent: dart.nullable(core.Object)}, {}), + [$update]: dart.fnType(V, [dart.nullable(core.Object), dart.nullable(core.Object)], {ifAbsent: dart.nullable(core.Object)}, {}), + updateAll: dart.fnType(dart.void, [dart.nullable(core.Object)]), + [$updateAll]: dart.fnType(dart.void, [dart.nullable(core.Object)]), + removeWhere: dart.fnType(dart.void, [dart.fnType(core.bool, [K, V])]), + [$removeWhere]: dart.fnType(dart.void, [dart.fnType(core.bool, [K, V])]) + })); + dart.setGetterSignature(MapView, () => ({ + __proto__: dart.getGetters(MapView.__proto__), + isEmpty: core.bool, + [$isEmpty]: core.bool, + isNotEmpty: core.bool, + [$isNotEmpty]: core.bool, + length: core.int, + [$length]: core.int, + keys: core.Iterable$(K), + [$keys]: core.Iterable$(K), + values: core.Iterable$(V), + [$values]: core.Iterable$(V), + entries: core.Iterable$(core.MapEntry$(K, V)), + [$entries]: core.Iterable$(core.MapEntry$(K, V)) + })); + dart.setLibraryUri(MapView, I[24]); + dart.setFieldSignature(MapView, () => ({ + __proto__: dart.getFields(MapView.__proto__), + [_map$5]: dart.finalFieldType(core.Map$(K, V)) + })); + dart.defineExtensionMethods(MapView, [ + 'cast', + '_get', + '_set', + 'addAll', + 'clear', + 'putIfAbsent', + 'containsKey', + 'containsValue', + 'forEach', + 'remove', + 'toString', + 'addEntries', + 'map', + 'update', + 'updateAll', + 'removeWhere' + ]); + dart.defineExtensionAccessors(MapView, [ + 'isEmpty', + 'isNotEmpty', + 'length', + 'keys', + 'values', + 'entries' + ]); + return MapView; +}); +collection.MapView = collection.MapView$(); +dart.addTypeTests(collection.MapView, _is_MapView_default); +const _is_UnmodifiableMapView_default = Symbol('_is_UnmodifiableMapView_default'); +collection.UnmodifiableMapView$ = dart.generic((K, V) => { + const MapView__UnmodifiableMapMixin$36 = class MapView__UnmodifiableMapMixin extends collection.MapView$(K, V) {}; + (MapView__UnmodifiableMapMixin$36.new = function(map) { + MapView__UnmodifiableMapMixin$36.__proto__.new.call(this, map); + }).prototype = MapView__UnmodifiableMapMixin$36.prototype; + dart.applyMixin(MapView__UnmodifiableMapMixin$36, collection._UnmodifiableMapMixin$(K, V)); + class UnmodifiableMapView extends MapView__UnmodifiableMapMixin$36 { + cast(RK, RV) { + return new (collection.UnmodifiableMapView$(RK, RV)).new(this[_map$5][$cast](RK, RV)); + } + } + (UnmodifiableMapView.new = function(map) { + if (map == null) dart.nullFailed(I[35], 381, 33, "map"); + UnmodifiableMapView.__proto__.new.call(this, map); + ; + }).prototype = UnmodifiableMapView.prototype; + dart.addTypeTests(UnmodifiableMapView); + UnmodifiableMapView.prototype[_is_UnmodifiableMapView_default] = true; + dart.addTypeCaches(UnmodifiableMapView); + dart.setMethodSignature(UnmodifiableMapView, () => ({ + __proto__: dart.getMethods(UnmodifiableMapView.__proto__), + cast: dart.gFnType((RK, RV) => [core.Map$(RK, RV), []], (RK, RV) => [dart.nullable(core.Object), dart.nullable(core.Object)]), + [$cast]: dart.gFnType((RK, RV) => [core.Map$(RK, RV), []], (RK, RV) => [dart.nullable(core.Object), dart.nullable(core.Object)]) + })); + dart.setLibraryUri(UnmodifiableMapView, I[24]); + dart.defineExtensionMethods(UnmodifiableMapView, ['cast']); + return UnmodifiableMapView; +}); +collection.UnmodifiableMapView = collection.UnmodifiableMapView$(); +dart.addTypeTests(collection.UnmodifiableMapView, _is_UnmodifiableMapView_default); +const _is_Queue_default = Symbol('_is_Queue_default'); +collection.Queue$ = dart.generic(E => { + class Queue extends core.Object { + static castFrom(S, T, source) { + if (source == null) dart.nullFailed(I[83], 55, 43, "source"); + return new (_internal.CastQueue$(S, T)).new(source); + } + [Symbol.iterator]() { + return new dart.JsIterator(this[$iterator]); + } + } + (Queue[dart.mixinNew] = function() { + }).prototype = Queue.prototype; + dart.addTypeTests(Queue); + Queue.prototype[_is_Queue_default] = true; + dart.addTypeCaches(Queue); + Queue[dart.implements] = () => [_internal.EfficientLengthIterable$(E)]; + dart.setLibraryUri(Queue, I[24]); + return Queue; +}); +collection.Queue = collection.Queue$(); +dart.addTypeTests(collection.Queue, _is_Queue_default); +var _previousLink = dart.privateName(collection, "_DoubleLink._previousLink"); +var _nextLink = dart.privateName(collection, "_DoubleLink._nextLink"); +var _previousLink$ = dart.privateName(collection, "_previousLink"); +var _nextLink$ = dart.privateName(collection, "_nextLink"); +var _link = dart.privateName(collection, "_link"); +const _is__DoubleLink_default = Symbol('_is__DoubleLink_default'); +collection._DoubleLink$ = dart.generic(Link => { + var LinkN = () => (LinkN = dart.constFn(dart.nullable(Link)))(); + class _DoubleLink extends core.Object { + get [_previousLink$]() { + return this[_previousLink]; + } + set [_previousLink$](value) { + this[_previousLink] = LinkN().as(value); + } + get [_nextLink$]() { + return this[_nextLink]; + } + set [_nextLink$](value) { + this[_nextLink] = LinkN().as(value); + } + [_link](previous, next) { + this[_nextLink$] = next; + this[_previousLink$] = previous; + if (previous != null) previous[_nextLink$] = Link.as(this); + if (next != null) next[_previousLink$] = Link.as(this); + } + [_unlink]() { + if (this[_previousLink$] != null) dart.nullCheck(this[_previousLink$])[_nextLink$] = this[_nextLink$]; + if (this[_nextLink$] != null) dart.nullCheck(this[_nextLink$])[_previousLink$] = this[_previousLink$]; + this[_nextLink$] = null; + this[_previousLink$] = null; + } + } + (_DoubleLink.new = function() { + this[_previousLink] = null; + this[_nextLink] = null; + ; + }).prototype = _DoubleLink.prototype; + dart.addTypeTests(_DoubleLink); + _DoubleLink.prototype[_is__DoubleLink_default] = true; + dart.addTypeCaches(_DoubleLink); + dart.setMethodSignature(_DoubleLink, () => ({ + __proto__: dart.getMethods(_DoubleLink.__proto__), + [_link]: dart.fnType(dart.void, [dart.nullable(Link), dart.nullable(Link)]), + [_unlink]: dart.fnType(dart.void, []) + })); + dart.setLibraryUri(_DoubleLink, I[24]); + dart.setFieldSignature(_DoubleLink, () => ({ + __proto__: dart.getFields(_DoubleLink.__proto__), + [_previousLink$]: dart.fieldType(dart.nullable(Link)), + [_nextLink$]: dart.fieldType(dart.nullable(Link)) + })); + return _DoubleLink; +}); +collection._DoubleLink = collection._DoubleLink$(); +dart.addTypeTests(collection._DoubleLink, _is__DoubleLink_default); +var _element$ = dart.privateName(collection, "DoubleLinkedQueueEntry._element"); +var _element = dart.privateName(collection, "_element"); +const _is_DoubleLinkedQueueEntry_default = Symbol('_is_DoubleLinkedQueueEntry_default'); +collection.DoubleLinkedQueueEntry$ = dart.generic(E => { + var DoubleLinkedQueueEntryOfE = () => (DoubleLinkedQueueEntryOfE = dart.constFn(collection.DoubleLinkedQueueEntry$(E)))(); + class DoubleLinkedQueueEntry extends collection._DoubleLink { + get [_element]() { + return this[_element$]; + } + set [_element](value) { + this[_element$] = value; + } + get element() { + return E.as(this[_element]); + } + set element(element) { + E.as(element); + this[_element] = element; + } + append(e) { + E.as(e); + new (DoubleLinkedQueueEntryOfE()).new(e)[_link](this, this[_nextLink$]); + } + prepend(e) { + E.as(e); + new (DoubleLinkedQueueEntryOfE()).new(e)[_link](this[_previousLink$], this); + } + remove() { + this[_unlink](); + return this.element; + } + previousEntry() { + return this[_previousLink$]; + } + nextEntry() { + return this[_nextLink$]; + } + } + (DoubleLinkedQueueEntry.new = function(_element) { + this[_element$] = _element; + DoubleLinkedQueueEntry.__proto__.new.call(this); + ; + }).prototype = DoubleLinkedQueueEntry.prototype; + dart.addTypeTests(DoubleLinkedQueueEntry); + DoubleLinkedQueueEntry.prototype[_is_DoubleLinkedQueueEntry_default] = true; + dart.addTypeCaches(DoubleLinkedQueueEntry); + dart.setMethodSignature(DoubleLinkedQueueEntry, () => ({ + __proto__: dart.getMethods(DoubleLinkedQueueEntry.__proto__), + append: dart.fnType(dart.void, [dart.nullable(core.Object)]), + prepend: dart.fnType(dart.void, [dart.nullable(core.Object)]), + remove: dart.fnType(E, []), + previousEntry: dart.fnType(dart.nullable(collection.DoubleLinkedQueueEntry$(E)), []), + nextEntry: dart.fnType(dart.nullable(collection.DoubleLinkedQueueEntry$(E)), []) + })); + dart.setGetterSignature(DoubleLinkedQueueEntry, () => ({ + __proto__: dart.getGetters(DoubleLinkedQueueEntry.__proto__), + element: E + })); + dart.setSetterSignature(DoubleLinkedQueueEntry, () => ({ + __proto__: dart.getSetters(DoubleLinkedQueueEntry.__proto__), + element: dart.nullable(core.Object) + })); + dart.setLibraryUri(DoubleLinkedQueueEntry, I[24]); + dart.setFieldSignature(DoubleLinkedQueueEntry, () => ({ + __proto__: dart.getFields(DoubleLinkedQueueEntry.__proto__), + [_element]: dart.fieldType(dart.nullable(E)) + })); + return DoubleLinkedQueueEntry; +}, E => { + dart.setBaseClass(collection.DoubleLinkedQueueEntry$(E), collection._DoubleLink$(collection.DoubleLinkedQueueEntry$(E))); +}); +collection.DoubleLinkedQueueEntry = collection.DoubleLinkedQueueEntry$(); +dart.addTypeTests(collection.DoubleLinkedQueueEntry, _is_DoubleLinkedQueueEntry_default); +var _queue$ = dart.privateName(collection, "_queue"); +var _append = dart.privateName(collection, "_append"); +var _prepend = dart.privateName(collection, "_prepend"); +var _asNonSentinelEntry = dart.privateName(collection, "_asNonSentinelEntry"); +const _is__DoubleLinkedQueueEntry_default = Symbol('_is__DoubleLinkedQueueEntry_default'); +collection._DoubleLinkedQueueEntry$ = dart.generic(E => { + var _DoubleLinkedQueueElementOfE = () => (_DoubleLinkedQueueElementOfE = dart.constFn(collection._DoubleLinkedQueueElement$(E)))(); + var _DoubleLinkedQueueEntryOfE = () => (_DoubleLinkedQueueEntryOfE = dart.constFn(collection._DoubleLinkedQueueEntry$(E)))(); + class _DoubleLinkedQueueEntry extends collection.DoubleLinkedQueueEntry$(E) { + [_append](e) { + E.as(e); + new (_DoubleLinkedQueueElementOfE()).new(e, this[_queue$])[_link](this, this[_nextLink$]); + } + [_prepend](e) { + E.as(e); + new (_DoubleLinkedQueueElementOfE()).new(e, this[_queue$])[_link](this[_previousLink$], this); + } + get [_element]() { + return E.as(super[_element]); + } + set [_element](value) { + super[_element] = value; + } + nextEntry() { + let entry = _DoubleLinkedQueueEntryOfE().as(this[_nextLink$]); + return entry[_asNonSentinelEntry](); + } + previousEntry() { + let entry = _DoubleLinkedQueueEntryOfE().as(this[_previousLink$]); + return entry[_asNonSentinelEntry](); + } + } + (_DoubleLinkedQueueEntry.new = function(element, _queue) { + this[_queue$] = _queue; + _DoubleLinkedQueueEntry.__proto__.new.call(this, element); + ; + }).prototype = _DoubleLinkedQueueEntry.prototype; + dart.addTypeTests(_DoubleLinkedQueueEntry); + _DoubleLinkedQueueEntry.prototype[_is__DoubleLinkedQueueEntry_default] = true; + dart.addTypeCaches(_DoubleLinkedQueueEntry); + dart.setMethodSignature(_DoubleLinkedQueueEntry, () => ({ + __proto__: dart.getMethods(_DoubleLinkedQueueEntry.__proto__), + [_append]: dart.fnType(dart.void, [dart.nullable(core.Object)]), + [_prepend]: dart.fnType(dart.void, [dart.nullable(core.Object)]) + })); + dart.setGetterSignature(_DoubleLinkedQueueEntry, () => ({ + __proto__: dart.getGetters(_DoubleLinkedQueueEntry.__proto__), + [_element]: E + })); + dart.setLibraryUri(_DoubleLinkedQueueEntry, I[24]); + dart.setFieldSignature(_DoubleLinkedQueueEntry, () => ({ + __proto__: dart.getFields(_DoubleLinkedQueueEntry.__proto__), + [_queue$]: dart.fieldType(dart.nullable(collection.DoubleLinkedQueue$(E))) + })); + return _DoubleLinkedQueueEntry; +}); +collection._DoubleLinkedQueueEntry = collection._DoubleLinkedQueueEntry$(); +dart.addTypeTests(collection._DoubleLinkedQueueEntry, _is__DoubleLinkedQueueEntry_default); +var _elementCount = dart.privateName(collection, "_elementCount"); +var _remove = dart.privateName(collection, "_remove"); +const _is__DoubleLinkedQueueElement_default = Symbol('_is__DoubleLinkedQueueElement_default'); +collection._DoubleLinkedQueueElement$ = dart.generic(E => { + class _DoubleLinkedQueueElement extends collection._DoubleLinkedQueueEntry$(E) { + append(e) { + let t171; + E.as(e); + this[_append](e); + if (this[_queue$] != null) { + t171 = dart.nullCheck(this[_queue$]); + t171[_elementCount] = dart.notNull(t171[_elementCount]) + 1; + } + } + prepend(e) { + let t171; + E.as(e); + this[_prepend](e); + if (this[_queue$] != null) { + t171 = dart.nullCheck(this[_queue$]); + t171[_elementCount] = dart.notNull(t171[_elementCount]) + 1; + } + } + [_remove]() { + this[_queue$] = null; + this[_unlink](); + return this.element; + } + remove() { + let t171; + if (this[_queue$] != null) { + t171 = dart.nullCheck(this[_queue$]); + t171[_elementCount] = dart.notNull(t171[_elementCount]) - 1; + } + return this[_remove](); + } + [_asNonSentinelEntry]() { + return this; + } + } + (_DoubleLinkedQueueElement.new = function(element, queue) { + _DoubleLinkedQueueElement.__proto__.new.call(this, element, queue); + ; + }).prototype = _DoubleLinkedQueueElement.prototype; + dart.addTypeTests(_DoubleLinkedQueueElement); + _DoubleLinkedQueueElement.prototype[_is__DoubleLinkedQueueElement_default] = true; + dart.addTypeCaches(_DoubleLinkedQueueElement); + dart.setMethodSignature(_DoubleLinkedQueueElement, () => ({ + __proto__: dart.getMethods(_DoubleLinkedQueueElement.__proto__), + [_remove]: dart.fnType(E, []), + [_asNonSentinelEntry]: dart.fnType(dart.nullable(collection._DoubleLinkedQueueElement$(E)), []) + })); + dart.setLibraryUri(_DoubleLinkedQueueElement, I[24]); + return _DoubleLinkedQueueElement; +}); +collection._DoubleLinkedQueueElement = collection._DoubleLinkedQueueElement$(); +dart.addTypeTests(collection._DoubleLinkedQueueElement, _is__DoubleLinkedQueueElement_default); +const _is__DoubleLinkedQueueSentinel_default = Symbol('_is__DoubleLinkedQueueSentinel_default'); +collection._DoubleLinkedQueueSentinel$ = dart.generic(E => { + class _DoubleLinkedQueueSentinel extends collection._DoubleLinkedQueueEntry$(E) { + [_asNonSentinelEntry]() { + return null; + } + [_remove]() { + dart.throw(_internal.IterableElementError.noElement()); + } + get [_element]() { + dart.throw(_internal.IterableElementError.noElement()); + } + set [_element](value) { + super[_element] = value; + } + } + (_DoubleLinkedQueueSentinel.new = function(queue) { + if (queue == null) dart.nullFailed(I[83], 247, 51, "queue"); + _DoubleLinkedQueueSentinel.__proto__.new.call(this, null, queue); + this[_previousLink$] = this; + this[_nextLink$] = this; + }).prototype = _DoubleLinkedQueueSentinel.prototype; + dart.addTypeTests(_DoubleLinkedQueueSentinel); + _DoubleLinkedQueueSentinel.prototype[_is__DoubleLinkedQueueSentinel_default] = true; + dart.addTypeCaches(_DoubleLinkedQueueSentinel); + dart.setMethodSignature(_DoubleLinkedQueueSentinel, () => ({ + __proto__: dart.getMethods(_DoubleLinkedQueueSentinel.__proto__), + [_asNonSentinelEntry]: dart.fnType(dart.nullable(collection.DoubleLinkedQueueEntry$(E)), []), + [_remove]: dart.fnType(E, []) + })); + dart.setLibraryUri(_DoubleLinkedQueueSentinel, I[24]); + return _DoubleLinkedQueueSentinel; +}); +collection._DoubleLinkedQueueSentinel = collection._DoubleLinkedQueueSentinel$(); +dart.addTypeTests(collection._DoubleLinkedQueueSentinel, _is__DoubleLinkedQueueSentinel_default); +var __DoubleLinkedQueue__sentinel = dart.privateName(collection, "_#DoubleLinkedQueue#_sentinel"); +var __DoubleLinkedQueue__sentinel_isSet = dart.privateName(collection, "_#DoubleLinkedQueue#_sentinel#isSet"); +var _sentinel = dart.privateName(collection, "_sentinel"); +const _is_DoubleLinkedQueue_default = Symbol('_is_DoubleLinkedQueue_default'); +collection.DoubleLinkedQueue$ = dart.generic(E => { + var _DoubleLinkedQueueSentinelOfE = () => (_DoubleLinkedQueueSentinelOfE = dart.constFn(collection._DoubleLinkedQueueSentinel$(E)))(); + var IterableOfE = () => (IterableOfE = dart.constFn(core.Iterable$(E)))(); + var _DoubleLinkedQueueEntryOfE = () => (_DoubleLinkedQueueEntryOfE = dart.constFn(collection._DoubleLinkedQueueEntry$(E)))(); + var _DoubleLinkedQueueElementOfE = () => (_DoubleLinkedQueueElementOfE = dart.constFn(collection._DoubleLinkedQueueElement$(E)))(); + var _DoubleLinkedQueueIteratorOfE = () => (_DoubleLinkedQueueIteratorOfE = dart.constFn(collection._DoubleLinkedQueueIterator$(E)))(); + class DoubleLinkedQueue extends core.Iterable$(E) { + get [_sentinel]() { + let t171; + if (!dart.test(this[__DoubleLinkedQueue__sentinel_isSet])) { + this[__DoubleLinkedQueue__sentinel] = new (_DoubleLinkedQueueSentinelOfE()).new(this); + this[__DoubleLinkedQueue__sentinel_isSet] = true; + } + t171 = this[__DoubleLinkedQueue__sentinel]; + return t171; + } + set [_sentinel](t171) { + if (t171 == null) dart.nullFailed(I[83], 271, 38, "null"); + this[__DoubleLinkedQueue__sentinel_isSet] = true; + this[__DoubleLinkedQueue__sentinel] = t171; + } + static from(elements) { + if (elements == null) dart.nullFailed(I[83], 291, 52, "elements"); + let list = new (collection.DoubleLinkedQueue$(E)).new(); + for (let e of elements) { + list.addLast(E.as(e)); + } + return list; + } + static of(elements) { + let t172; + if (elements == null) dart.nullFailed(I[83], 303, 44, "elements"); + t172 = new (collection.DoubleLinkedQueue$(E)).new(); + return (() => { + t172.addAll(elements); + return t172; + })(); + } + cast(R) { + return collection.Queue.castFrom(E, R, this); + } + get length() { + return this[_elementCount]; + } + addLast(value) { + E.as(value); + this[_sentinel][_prepend](value); + this[_elementCount] = dart.notNull(this[_elementCount]) + 1; + } + addFirst(value) { + E.as(value); + this[_sentinel][_append](value); + this[_elementCount] = dart.notNull(this[_elementCount]) + 1; + } + add(value) { + E.as(value); + this[_sentinel][_prepend](value); + this[_elementCount] = dart.notNull(this[_elementCount]) + 1; + } + addAll(iterable) { + IterableOfE().as(iterable); + if (iterable == null) dart.nullFailed(I[83], 324, 27, "iterable"); + for (let value of iterable) { + this[_sentinel][_prepend](value); + this[_elementCount] = dart.notNull(this[_elementCount]) + 1; + } + } + removeLast() { + let lastEntry = _DoubleLinkedQueueEntryOfE().as(this[_sentinel][_previousLink$]); + let result = lastEntry[_remove](); + this[_elementCount] = dart.notNull(this[_elementCount]) - 1; + return result; + } + removeFirst() { + let firstEntry = _DoubleLinkedQueueEntryOfE().as(this[_sentinel][_nextLink$]); + let result = firstEntry[_remove](); + this[_elementCount] = dart.notNull(this[_elementCount]) - 1; + return result; + } + remove(o) { + let entry = _DoubleLinkedQueueEntryOfE().as(this[_sentinel][_nextLink$]); + while (entry != this[_sentinel]) { + let equals = dart.equals(entry[_element], o); + if (this !== entry[_queue$]) { + dart.throw(new core.ConcurrentModificationError.new(this)); + } + if (equals) { + entry[_remove](); + this[_elementCount] = dart.notNull(this[_elementCount]) - 1; + return true; + } + entry = _DoubleLinkedQueueEntryOfE().as(entry[_nextLink$]); + } + return false; + } + [_filter](test, removeMatching) { + if (test == null) dart.nullFailed(I[83], 366, 21, "test"); + if (removeMatching == null) dart.nullFailed(I[83], 366, 43, "removeMatching"); + let entry = _DoubleLinkedQueueEntryOfE().as(this[_sentinel][_nextLink$]); + while (entry != this[_sentinel]) { + let matches = test(entry[_element]); + if (this !== entry[_queue$]) { + dart.throw(new core.ConcurrentModificationError.new(this)); + } + let next = dart.nullCheck(entry[_nextLink$]); + if (removeMatching == matches) { + entry[_remove](); + this[_elementCount] = dart.notNull(this[_elementCount]) - 1; + } + entry = _DoubleLinkedQueueEntryOfE().as(next); + } + } + removeWhere(test) { + if (test == null) dart.nullFailed(I[83], 384, 25, "test"); + this[_filter](test, true); + } + retainWhere(test) { + if (test == null) dart.nullFailed(I[83], 388, 25, "test"); + this[_filter](test, false); + } + get first() { + let firstEntry = dart.nullCheck(this[_sentinel][_nextLink$]); + return E.as(firstEntry[_element]); + } + get last() { + let lastEntry = dart.nullCheck(this[_sentinel][_previousLink$]); + return E.as(lastEntry[_element]); + } + get single() { + if (this[_sentinel][_nextLink$] == this[_sentinel][_previousLink$]) { + let entry = dart.nullCheck(this[_sentinel][_nextLink$]); + return E.as(entry[_element]); + } + dart.throw(_internal.IterableElementError.tooMany()); + } + firstEntry() { + return this[_sentinel].nextEntry(); + } + lastEntry() { + return this[_sentinel].previousEntry(); + } + get isEmpty() { + return this[_sentinel][_nextLink$] == this[_sentinel]; + } + clear() { + this[_sentinel][_nextLink$] = this[_sentinel]; + this[_sentinel][_previousLink$] = this[_sentinel]; + this[_elementCount] = 0; + } + forEachEntry(action) { + if (action == null) dart.nullFailed(I[83], 466, 26, "action"); + let entry = _DoubleLinkedQueueEntryOfE().as(this[_sentinel][_nextLink$]); + while (entry != this[_sentinel]) { + let element = _DoubleLinkedQueueElementOfE().as(entry); + let next = _DoubleLinkedQueueEntryOfE().as(element[_nextLink$]); + action(element); + if (this === entry[_queue$]) { + next = _DoubleLinkedQueueEntryOfE().as(entry[_nextLink$]); + } else if (this !== next[_queue$]) { + dart.throw(new core.ConcurrentModificationError.new(this)); + } + entry = next; + } + } + get iterator() { + return new (_DoubleLinkedQueueIteratorOfE()).new(this[_sentinel]); + } + toString() { + return collection.IterableBase.iterableToFullString(this, "{", "}"); + } + } + (DoubleLinkedQueue.new = function() { + this[__DoubleLinkedQueue__sentinel] = null; + this[__DoubleLinkedQueue__sentinel_isSet] = false; + this[_elementCount] = 0; + DoubleLinkedQueue.__proto__.new.call(this); + ; + }).prototype = DoubleLinkedQueue.prototype; + dart.addTypeTests(DoubleLinkedQueue); + DoubleLinkedQueue.prototype[_is_DoubleLinkedQueue_default] = true; + dart.addTypeCaches(DoubleLinkedQueue); + DoubleLinkedQueue[dart.implements] = () => [collection.Queue$(E)]; + dart.setMethodSignature(DoubleLinkedQueue, () => ({ + __proto__: dart.getMethods(DoubleLinkedQueue.__proto__), + cast: dart.gFnType(R => [collection.Queue$(R), []], R => [dart.nullable(core.Object)]), + [$cast]: dart.gFnType(R => [collection.Queue$(R), []], R => [dart.nullable(core.Object)]), + addLast: dart.fnType(dart.void, [dart.nullable(core.Object)]), + addFirst: dart.fnType(dart.void, [dart.nullable(core.Object)]), + add: dart.fnType(dart.void, [dart.nullable(core.Object)]), + addAll: dart.fnType(dart.void, [dart.nullable(core.Object)]), + removeLast: dart.fnType(E, []), + removeFirst: dart.fnType(E, []), + remove: dart.fnType(core.bool, [dart.nullable(core.Object)]), + [_filter]: dart.fnType(dart.void, [dart.fnType(core.bool, [E]), core.bool]), + removeWhere: dart.fnType(dart.void, [dart.fnType(core.bool, [E])]), + retainWhere: dart.fnType(dart.void, [dart.fnType(core.bool, [E])]), + firstEntry: dart.fnType(dart.nullable(collection.DoubleLinkedQueueEntry$(E)), []), + lastEntry: dart.fnType(dart.nullable(collection.DoubleLinkedQueueEntry$(E)), []), + clear: dart.fnType(dart.void, []), + forEachEntry: dart.fnType(dart.void, [dart.fnType(dart.void, [collection.DoubleLinkedQueueEntry$(E)])]) + })); + dart.setGetterSignature(DoubleLinkedQueue, () => ({ + __proto__: dart.getGetters(DoubleLinkedQueue.__proto__), + [_sentinel]: collection._DoubleLinkedQueueSentinel$(E), + iterator: collection._DoubleLinkedQueueIterator$(E), + [$iterator]: collection._DoubleLinkedQueueIterator$(E) + })); + dart.setSetterSignature(DoubleLinkedQueue, () => ({ + __proto__: dart.getSetters(DoubleLinkedQueue.__proto__), + [_sentinel]: collection._DoubleLinkedQueueSentinel$(E) + })); + dart.setLibraryUri(DoubleLinkedQueue, I[24]); + dart.setFieldSignature(DoubleLinkedQueue, () => ({ + __proto__: dart.getFields(DoubleLinkedQueue.__proto__), + [__DoubleLinkedQueue__sentinel]: dart.fieldType(dart.nullable(collection._DoubleLinkedQueueSentinel$(E))), + [__DoubleLinkedQueue__sentinel_isSet]: dart.fieldType(core.bool), + [_elementCount]: dart.fieldType(core.int) + })); + dart.defineExtensionMethods(DoubleLinkedQueue, ['cast', 'toString']); + dart.defineExtensionAccessors(DoubleLinkedQueue, [ + 'length', + 'first', + 'last', + 'single', + 'isEmpty', + 'iterator' + ]); + return DoubleLinkedQueue; +}); +collection.DoubleLinkedQueue = collection.DoubleLinkedQueue$(); +dart.addTypeTests(collection.DoubleLinkedQueue, _is_DoubleLinkedQueue_default); +var _nextEntry = dart.privateName(collection, "_nextEntry"); +const _is__DoubleLinkedQueueIterator_default = Symbol('_is__DoubleLinkedQueueIterator_default'); +collection._DoubleLinkedQueueIterator$ = dart.generic(E => { + var _DoubleLinkedQueueEntryOfE = () => (_DoubleLinkedQueueEntryOfE = dart.constFn(collection._DoubleLinkedQueueEntry$(E)))(); + class _DoubleLinkedQueueIterator extends core.Object { + moveNext() { + if (this[_nextEntry] == this[_sentinel]) { + this[_current$1] = null; + this[_nextEntry] = null; + this[_sentinel] = null; + return false; + } + let elementEntry = _DoubleLinkedQueueEntryOfE().as(this[_nextEntry]); + if (dart.nullCheck(this[_sentinel])[_queue$] != elementEntry[_queue$]) { + dart.throw(new core.ConcurrentModificationError.new(dart.nullCheck(this[_sentinel])[_queue$])); + } + this[_current$1] = elementEntry[_element]; + this[_nextEntry] = elementEntry[_nextLink$]; + return true; + } + get current() { + return E.as(this[_current$1]); + } + } + (_DoubleLinkedQueueIterator.new = function(sentinel) { + if (sentinel == null) dart.nullFailed(I[83], 500, 60, "sentinel"); + this[_current$1] = null; + this[_sentinel] = sentinel; + this[_nextEntry] = sentinel[_nextLink$]; + ; + }).prototype = _DoubleLinkedQueueIterator.prototype; + dart.addTypeTests(_DoubleLinkedQueueIterator); + _DoubleLinkedQueueIterator.prototype[_is__DoubleLinkedQueueIterator_default] = true; + dart.addTypeCaches(_DoubleLinkedQueueIterator); + _DoubleLinkedQueueIterator[dart.implements] = () => [core.Iterator$(E)]; + dart.setMethodSignature(_DoubleLinkedQueueIterator, () => ({ + __proto__: dart.getMethods(_DoubleLinkedQueueIterator.__proto__), + moveNext: dart.fnType(core.bool, []) + })); + dart.setGetterSignature(_DoubleLinkedQueueIterator, () => ({ + __proto__: dart.getGetters(_DoubleLinkedQueueIterator.__proto__), + current: E + })); + dart.setLibraryUri(_DoubleLinkedQueueIterator, I[24]); + dart.setFieldSignature(_DoubleLinkedQueueIterator, () => ({ + __proto__: dart.getFields(_DoubleLinkedQueueIterator.__proto__), + [_sentinel]: dart.fieldType(dart.nullable(collection._DoubleLinkedQueueSentinel$(E))), + [_nextEntry]: dart.fieldType(dart.nullable(collection.DoubleLinkedQueueEntry$(E))), + [_current$1]: dart.fieldType(dart.nullable(E)) + })); + return _DoubleLinkedQueueIterator; +}); +collection._DoubleLinkedQueueIterator = collection._DoubleLinkedQueueIterator$(); +dart.addTypeTests(collection._DoubleLinkedQueueIterator, _is__DoubleLinkedQueueIterator_default); +var _head = dart.privateName(collection, "_head"); +var _tail = dart.privateName(collection, "_tail"); +var _table = dart.privateName(collection, "_table"); +var _checkModification = dart.privateName(collection, "_checkModification"); +var _add$ = dart.privateName(collection, "_add"); +var _preGrow = dart.privateName(collection, "_preGrow"); +var _filterWhere = dart.privateName(collection, "_filterWhere"); +var _grow$ = dart.privateName(collection, "_grow"); +var _writeToList = dart.privateName(collection, "_writeToList"); +const _is_ListQueue_default = Symbol('_is_ListQueue_default'); +collection.ListQueue$ = dart.generic(E => { + var EN = () => (EN = dart.constFn(dart.nullable(E)))(); + var ListOfEN = () => (ListOfEN = dart.constFn(core.List$(EN())))(); + var _ListQueueIteratorOfE = () => (_ListQueueIteratorOfE = dart.constFn(collection._ListQueueIterator$(E)))(); + var ListOfE = () => (ListOfE = dart.constFn(core.List$(E)))(); + var IterableOfE = () => (IterableOfE = dart.constFn(core.Iterable$(E)))(); + class ListQueue extends _internal.ListIterable$(E) { + static _calculateCapacity(initialCapacity) { + if (initialCapacity == null || dart.notNull(initialCapacity) < 8) { + return 8; + } else if (!dart.test(collection.ListQueue._isPowerOf2(initialCapacity))) { + return collection.ListQueue._nextPowerOf2(initialCapacity); + } + if (!dart.test(collection.ListQueue._isPowerOf2(initialCapacity))) dart.assertFailed(null, I[83], 553, 12, "_isPowerOf2(initialCapacity)"); + return initialCapacity; + } + static from(elements) { + if (elements == null) dart.nullFailed(I[83], 570, 44, "elements"); + if (core.List.is(elements)) { + let length = elements[$length]; + let queue = new (collection.ListQueue$(E)).new(dart.notNull(length) + 1); + if (!(dart.notNull(queue[_table][$length]) > dart.notNull(length))) dart.assertFailed(null, I[83], 574, 14, "queue._table.length > length"); + for (let i = 0; i < dart.notNull(length); i = i + 1) { + queue[_table][$_set](i, E.as(elements[$_get](i))); + } + queue[_tail] = length; + return queue; + } else { + let capacity = 8; + if (_internal.EfficientLengthIterable.is(elements)) { + capacity = elements[$length]; + } + let result = new (collection.ListQueue$(E)).new(capacity); + for (let element of elements) { + result.addLast(E.as(element)); + } + return result; + } + } + static of(elements) { + let t172; + if (elements == null) dart.nullFailed(I[83], 597, 36, "elements"); + t172 = new (collection.ListQueue$(E)).new(); + return (() => { + t172.addAll(elements); + return t172; + })(); + } + cast(R) { + return collection.Queue.castFrom(E, R, this); + } + get iterator() { + return new (_ListQueueIteratorOfE()).new(this); + } + forEach(f) { + if (f == null) dart.nullFailed(I[83], 605, 21, "f"); + let modificationCount = this[_modificationCount]; + for (let i = this[_head]; i != this[_tail]; i = (dart.notNull(i) + 1 & dart.notNull(this[_table][$length]) - 1) >>> 0) { + f(E.as(this[_table][$_get](i))); + this[_checkModification](modificationCount); + } + } + get isEmpty() { + return this[_head] == this[_tail]; + } + get length() { + return (dart.notNull(this[_tail]) - dart.notNull(this[_head]) & dart.notNull(this[_table][$length]) - 1) >>> 0; + } + get first() { + if (this[_head] == this[_tail]) dart.throw(_internal.IterableElementError.noElement()); + return E.as(this[_table][$_get](this[_head])); + } + get last() { + if (this[_head] == this[_tail]) dart.throw(_internal.IterableElementError.noElement()); + return E.as(this[_table][$_get]((dart.notNull(this[_tail]) - 1 & dart.notNull(this[_table][$length]) - 1) >>> 0)); + } + get single() { + if (this[_head] == this[_tail]) dart.throw(_internal.IterableElementError.noElement()); + if (dart.notNull(this.length) > 1) dart.throw(_internal.IterableElementError.tooMany()); + return E.as(this[_table][$_get](this[_head])); + } + elementAt(index) { + if (index == null) dart.nullFailed(I[83], 633, 19, "index"); + core.RangeError.checkValidIndex(index, this); + return E.as(this[_table][$_get]((dart.notNull(this[_head]) + dart.notNull(index) & dart.notNull(this[_table][$length]) - 1) >>> 0)); + } + toList(opts) { + let growable = opts && 'growable' in opts ? opts.growable : true; + if (growable == null) dart.nullFailed(I[83], 638, 24, "growable"); + let mask = dart.notNull(this[_table][$length]) - 1; + let length = (dart.notNull(this[_tail]) - dart.notNull(this[_head]) & mask) >>> 0; + if (length === 0) return ListOfE().empty({growable: growable}); + let list = ListOfE().filled(length, this.first, {growable: growable}); + for (let i = 0; i < length; i = i + 1) { + list[$_set](i, E.as(this[_table][$_get]((dart.notNull(this[_head]) + i & mask) >>> 0))); + } + return list; + } + add(value) { + E.as(value); + this[_add$](value); + } + addAll(elements) { + IterableOfE().as(elements); + if (elements == null) dart.nullFailed(I[83], 656, 27, "elements"); + if (ListOfE().is(elements)) { + let list = elements; + let addCount = list[$length]; + let length = this.length; + if (dart.notNull(length) + dart.notNull(addCount) >= dart.notNull(this[_table][$length])) { + this[_preGrow](dart.notNull(length) + dart.notNull(addCount)); + this[_table][$setRange](length, dart.notNull(length) + dart.notNull(addCount), list, 0); + this[_tail] = dart.notNull(this[_tail]) + dart.notNull(addCount); + } else { + let endSpace = dart.notNull(this[_table][$length]) - dart.notNull(this[_tail]); + if (dart.notNull(addCount) < endSpace) { + this[_table][$setRange](this[_tail], dart.notNull(this[_tail]) + dart.notNull(addCount), list, 0); + this[_tail] = dart.notNull(this[_tail]) + dart.notNull(addCount); + } else { + let preSpace = dart.notNull(addCount) - endSpace; + this[_table][$setRange](this[_tail], dart.notNull(this[_tail]) + endSpace, list, 0); + this[_table][$setRange](0, preSpace, list, endSpace); + this[_tail] = preSpace; + } + } + this[_modificationCount] = dart.notNull(this[_modificationCount]) + 1; + } else { + for (let element of elements) + this[_add$](element); + } + } + remove(value) { + for (let i = this[_head]; i != this[_tail]; i = (dart.notNull(i) + 1 & dart.notNull(this[_table][$length]) - 1) >>> 0) { + let element = this[_table][$_get](i); + if (dart.equals(element, value)) { + this[_remove](i); + this[_modificationCount] = dart.notNull(this[_modificationCount]) + 1; + return true; + } + } + return false; + } + [_filterWhere](test, removeMatching) { + if (test == null) dart.nullFailed(I[83], 697, 26, "test"); + if (removeMatching == null) dart.nullFailed(I[83], 697, 48, "removeMatching"); + let modificationCount = this[_modificationCount]; + let i = this[_head]; + while (i != this[_tail]) { + let element = E.as(this[_table][$_get](i)); + let remove = removeMatching == test(element); + this[_checkModification](modificationCount); + if (remove) { + i = this[_remove](i); + modificationCount = this[_modificationCount] = dart.notNull(this[_modificationCount]) + 1; + } else { + i = (dart.notNull(i) + 1 & dart.notNull(this[_table][$length]) - 1) >>> 0; + } + } + } + removeWhere(test) { + if (test == null) dart.nullFailed(I[83], 717, 25, "test"); + this[_filterWhere](test, true); + } + retainWhere(test) { + if (test == null) dart.nullFailed(I[83], 725, 25, "test"); + this[_filterWhere](test, false); + } + clear() { + if (this[_head] != this[_tail]) { + for (let i = this[_head]; i != this[_tail]; i = (dart.notNull(i) + 1 & dart.notNull(this[_table][$length]) - 1) >>> 0) { + this[_table][$_set](i, null); + } + this[_head] = this[_tail] = 0; + this[_modificationCount] = dart.notNull(this[_modificationCount]) + 1; + } + } + toString() { + return collection.IterableBase.iterableToFullString(this, "{", "}"); + } + addLast(value) { + E.as(value); + this[_add$](value); + } + addFirst(value) { + E.as(value); + this[_head] = (dart.notNull(this[_head]) - 1 & dart.notNull(this[_table][$length]) - 1) >>> 0; + this[_table][$_set](this[_head], value); + if (this[_head] == this[_tail]) this[_grow$](); + this[_modificationCount] = dart.notNull(this[_modificationCount]) + 1; + } + removeFirst() { + if (this[_head] == this[_tail]) dart.throw(_internal.IterableElementError.noElement()); + this[_modificationCount] = dart.notNull(this[_modificationCount]) + 1; + let result = E.as(this[_table][$_get](this[_head])); + this[_table][$_set](this[_head], null); + this[_head] = (dart.notNull(this[_head]) + 1 & dart.notNull(this[_table][$length]) - 1) >>> 0; + return result; + } + removeLast() { + if (this[_head] == this[_tail]) dart.throw(_internal.IterableElementError.noElement()); + this[_modificationCount] = dart.notNull(this[_modificationCount]) + 1; + this[_tail] = (dart.notNull(this[_tail]) - 1 & dart.notNull(this[_table][$length]) - 1) >>> 0; + let result = E.as(this[_table][$_get](this[_tail])); + this[_table][$_set](this[_tail], null); + return result; + } + static _isPowerOf2(number) { + if (number == null) dart.nullFailed(I[83], 777, 31, "number"); + return (dart.notNull(number) & dart.notNull(number) - 1) === 0; + } + static _nextPowerOf2(number) { + if (number == null) dart.nullFailed(I[83], 784, 32, "number"); + if (!(dart.notNull(number) > 0)) dart.assertFailed(null, I[83], 785, 12, "number > 0"); + number = (dart.notNull(number) << 1 >>> 0) - 1; + for (;;) { + let nextNumber = (dart.notNull(number) & dart.notNull(number) - 1) >>> 0; + if (nextNumber === 0) return number; + number = nextNumber; + } + } + [_checkModification](expectedModificationCount) { + if (expectedModificationCount == null) dart.nullFailed(I[83], 795, 31, "expectedModificationCount"); + if (expectedModificationCount != this[_modificationCount]) { + dart.throw(new core.ConcurrentModificationError.new(this)); + } + } + [_add$](element) { + this[_table][$_set](this[_tail], element); + this[_tail] = (dart.notNull(this[_tail]) + 1 & dart.notNull(this[_table][$length]) - 1) >>> 0; + if (this[_head] == this[_tail]) this[_grow$](); + this[_modificationCount] = dart.notNull(this[_modificationCount]) + 1; + } + [_remove](offset) { + if (offset == null) dart.nullFailed(I[83], 817, 19, "offset"); + let mask = dart.notNull(this[_table][$length]) - 1; + let startDistance = (dart.notNull(offset) - dart.notNull(this[_head]) & mask) >>> 0; + let endDistance = (dart.notNull(this[_tail]) - dart.notNull(offset) & mask) >>> 0; + if (startDistance < endDistance) { + let i = offset; + while (i != this[_head]) { + let prevOffset = (dart.notNull(i) - 1 & mask) >>> 0; + this[_table][$_set](i, this[_table][$_get](prevOffset)); + i = prevOffset; + } + this[_table][$_set](this[_head], null); + this[_head] = (dart.notNull(this[_head]) + 1 & mask) >>> 0; + return (dart.notNull(offset) + 1 & mask) >>> 0; + } else { + this[_tail] = (dart.notNull(this[_tail]) - 1 & mask) >>> 0; + let i = offset; + while (i != this[_tail]) { + let nextOffset = (dart.notNull(i) + 1 & mask) >>> 0; + this[_table][$_set](i, this[_table][$_get](nextOffset)); + i = nextOffset; + } + this[_table][$_set](this[_tail], null); + return offset; + } + } + [_grow$]() { + let newTable = ListOfEN().filled(dart.notNull(this[_table][$length]) * 2, null); + let split = dart.notNull(this[_table][$length]) - dart.notNull(this[_head]); + newTable[$setRange](0, split, this[_table], this[_head]); + newTable[$setRange](split, split + dart.notNull(this[_head]), this[_table], 0); + this[_head] = 0; + this[_tail] = this[_table][$length]; + this[_table] = newTable; + } + [_writeToList](target) { + if (target == null) dart.nullFailed(I[83], 856, 29, "target"); + if (!(dart.notNull(target[$length]) >= dart.notNull(this.length))) dart.assertFailed(null, I[83], 857, 12, "target.length >= length"); + if (dart.notNull(this[_head]) <= dart.notNull(this[_tail])) { + let length = dart.notNull(this[_tail]) - dart.notNull(this[_head]); + target[$setRange](0, length, this[_table], this[_head]); + return length; + } else { + let firstPartSize = dart.notNull(this[_table][$length]) - dart.notNull(this[_head]); + target[$setRange](0, firstPartSize, this[_table], this[_head]); + target[$setRange](firstPartSize, firstPartSize + dart.notNull(this[_tail]), this[_table], 0); + return dart.notNull(this[_tail]) + firstPartSize; + } + } + [_preGrow](newElementCount) { + if (newElementCount == null) dart.nullFailed(I[83], 871, 21, "newElementCount"); + if (!(dart.notNull(newElementCount) >= dart.notNull(this.length))) dart.assertFailed(null, I[83], 872, 12, "newElementCount >= length"); + newElementCount = dart.notNull(newElementCount) + newElementCount[$rightShift](1); + let newCapacity = collection.ListQueue._nextPowerOf2(newElementCount); + let newTable = ListOfEN().filled(newCapacity, null); + this[_tail] = this[_writeToList](newTable); + this[_table] = newTable; + this[_head] = 0; + } + } + (ListQueue.new = function(initialCapacity = null) { + this[_modificationCount] = 0; + this[_head] = 0; + this[_tail] = 0; + this[_table] = ListOfEN().filled(collection.ListQueue._calculateCapacity(initialCapacity), null); + ListQueue.__proto__.new.call(this); + ; + }).prototype = ListQueue.prototype; + dart.addTypeTests(ListQueue); + ListQueue.prototype[_is_ListQueue_default] = true; + dart.addTypeCaches(ListQueue); + ListQueue[dart.implements] = () => [collection.Queue$(E)]; + dart.setMethodSignature(ListQueue, () => ({ + __proto__: dart.getMethods(ListQueue.__proto__), + cast: dart.gFnType(R => [collection.Queue$(R), []], R => [dart.nullable(core.Object)]), + [$cast]: dart.gFnType(R => [collection.Queue$(R), []], R => [dart.nullable(core.Object)]), + add: dart.fnType(dart.void, [dart.nullable(core.Object)]), + addAll: dart.fnType(dart.void, [dart.nullable(core.Object)]), + remove: dart.fnType(core.bool, [dart.nullable(core.Object)]), + [_filterWhere]: dart.fnType(dart.void, [dart.fnType(core.bool, [E]), core.bool]), + removeWhere: dart.fnType(dart.void, [dart.fnType(core.bool, [E])]), + retainWhere: dart.fnType(dart.void, [dart.fnType(core.bool, [E])]), + clear: dart.fnType(dart.void, []), + addLast: dart.fnType(dart.void, [dart.nullable(core.Object)]), + addFirst: dart.fnType(dart.void, [dart.nullable(core.Object)]), + removeFirst: dart.fnType(E, []), + removeLast: dart.fnType(E, []), + [_checkModification]: dart.fnType(dart.void, [core.int]), + [_add$]: dart.fnType(dart.void, [E]), + [_remove]: dart.fnType(core.int, [core.int]), + [_grow$]: dart.fnType(dart.void, []), + [_writeToList]: dart.fnType(core.int, [core.List$(dart.nullable(E))]), + [_preGrow]: dart.fnType(dart.void, [core.int]) + })); + dart.setLibraryUri(ListQueue, I[24]); + dart.setFieldSignature(ListQueue, () => ({ + __proto__: dart.getFields(ListQueue.__proto__), + [_table]: dart.fieldType(core.List$(dart.nullable(E))), + [_head]: dart.fieldType(core.int), + [_tail]: dart.fieldType(core.int), + [_modificationCount]: dart.fieldType(core.int) + })); + dart.defineExtensionMethods(ListQueue, [ + 'cast', + 'forEach', + 'elementAt', + 'toList', + 'toString' + ]); + dart.defineExtensionAccessors(ListQueue, [ + 'iterator', + 'isEmpty', + 'length', + 'first', + 'last', + 'single' + ]); + return ListQueue; +}); +collection.ListQueue = collection.ListQueue$(); +dart.defineLazy(collection.ListQueue, { + /*collection.ListQueue._INITIAL_CAPACITY*/get _INITIAL_CAPACITY() { + return 8; + } +}, false); +dart.addTypeTests(collection.ListQueue, _is_ListQueue_default); +var _end = dart.privateName(collection, "_end"); +var _position = dart.privateName(collection, "_position"); +const _is__ListQueueIterator_default = Symbol('_is__ListQueueIterator_default'); +collection._ListQueueIterator$ = dart.generic(E => { + class _ListQueueIterator extends core.Object { + get current() { + return E.as(this[_current$1]); + } + moveNext() { + this[_queue$][_checkModification](this[_modificationCount]); + if (this[_position] == this[_end]) { + this[_current$1] = null; + return false; + } + this[_current$1] = this[_queue$][_table][$_get](this[_position]); + this[_position] = (dart.notNull(this[_position]) + 1 & dart.notNull(this[_queue$][_table][$length]) - 1) >>> 0; + return true; + } + } + (_ListQueueIterator.new = function(queue) { + if (queue == null) dart.nullFailed(I[83], 895, 35, "queue"); + this[_current$1] = null; + this[_queue$] = queue; + this[_end] = queue[_tail]; + this[_modificationCount] = queue[_modificationCount]; + this[_position] = queue[_head]; + ; + }).prototype = _ListQueueIterator.prototype; + dart.addTypeTests(_ListQueueIterator); + _ListQueueIterator.prototype[_is__ListQueueIterator_default] = true; + dart.addTypeCaches(_ListQueueIterator); + _ListQueueIterator[dart.implements] = () => [core.Iterator$(E)]; + dart.setMethodSignature(_ListQueueIterator, () => ({ + __proto__: dart.getMethods(_ListQueueIterator.__proto__), + moveNext: dart.fnType(core.bool, []) + })); + dart.setGetterSignature(_ListQueueIterator, () => ({ + __proto__: dart.getGetters(_ListQueueIterator.__proto__), + current: E + })); + dart.setLibraryUri(_ListQueueIterator, I[24]); + dart.setFieldSignature(_ListQueueIterator, () => ({ + __proto__: dart.getFields(_ListQueueIterator.__proto__), + [_queue$]: dart.finalFieldType(collection.ListQueue$(E)), + [_end]: dart.finalFieldType(core.int), + [_modificationCount]: dart.finalFieldType(core.int), + [_position]: dart.fieldType(core.int), + [_current$1]: dart.fieldType(dart.nullable(E)) + })); + return _ListQueueIterator; +}); +collection._ListQueueIterator = collection._ListQueueIterator$(); +dart.addTypeTests(collection._ListQueueIterator, _is__ListQueueIterator_default); +const _is_SetBase_default = Symbol('_is_SetBase_default'); +collection.SetBase$ = dart.generic(E => { + const Object_SetMixin$36 = class Object_SetMixin extends core.Object {}; + (Object_SetMixin$36.new = function() { + }).prototype = Object_SetMixin$36.prototype; + dart.applyMixin(Object_SetMixin$36, collection.SetMixin$(E)); + class SetBase extends Object_SetMixin$36 { + static setToString(set) { + if (set == null) dart.nullFailed(I[75], 306, 33, "set"); + return collection.IterableBase.iterableToFullString(set, "{", "}"); + } + } + (SetBase.new = function() { + ; + }).prototype = SetBase.prototype; + dart.addTypeTests(SetBase); + SetBase.prototype[_is_SetBase_default] = true; + dart.addTypeCaches(SetBase); + dart.setLibraryUri(SetBase, I[24]); + return SetBase; +}); +collection.SetBase = collection.SetBase$(); +dart.addTypeTests(collection.SetBase, _is_SetBase_default); +const _is__UnmodifiableSetMixin_default = Symbol('_is__UnmodifiableSetMixin_default'); +collection._UnmodifiableSetMixin$ = dart.generic(E => { + var IterableOfE = () => (IterableOfE = dart.constFn(core.Iterable$(E)))(); + class _UnmodifiableSetMixin extends core.Object { + static _throwUnmodifiable() { + dart.throw(new core.UnsupportedError.new("Cannot change an unmodifiable set")); + } + add(value) { + E.as(value); + collection._UnmodifiableSetMixin._throwUnmodifiable(); + return dart.throw(new _internal.ReachabilityError.new("`null` encountered as the result from expression with type `Never`.")); + } + clear() { + collection._UnmodifiableSetMixin._throwUnmodifiable(); + return dart.throw(new _internal.ReachabilityError.new("`null` encountered as the result from expression with type `Never`.")); + } + addAll(elements) { + IterableOfE().as(elements); + if (elements == null) dart.nullFailed(I[75], 355, 27, "elements"); + collection._UnmodifiableSetMixin._throwUnmodifiable(); + return dart.throw(new _internal.ReachabilityError.new("`null` encountered as the result from expression with type `Never`.")); + } + removeAll(elements) { + if (elements == null) dart.nullFailed(I[75], 358, 36, "elements"); + collection._UnmodifiableSetMixin._throwUnmodifiable(); + return dart.throw(new _internal.ReachabilityError.new("`null` encountered as the result from expression with type `Never`.")); + } + retainAll(elements) { + if (elements == null) dart.nullFailed(I[75], 361, 36, "elements"); + collection._UnmodifiableSetMixin._throwUnmodifiable(); + return dart.throw(new _internal.ReachabilityError.new("`null` encountered as the result from expression with type `Never`.")); + } + removeWhere(test) { + if (test == null) dart.nullFailed(I[75], 364, 25, "test"); + collection._UnmodifiableSetMixin._throwUnmodifiable(); + return dart.throw(new _internal.ReachabilityError.new("`null` encountered as the result from expression with type `Never`.")); + } + retainWhere(test) { + if (test == null) dart.nullFailed(I[75], 367, 25, "test"); + collection._UnmodifiableSetMixin._throwUnmodifiable(); + return dart.throw(new _internal.ReachabilityError.new("`null` encountered as the result from expression with type `Never`.")); + } + remove(value) { + collection._UnmodifiableSetMixin._throwUnmodifiable(); + return dart.throw(new _internal.ReachabilityError.new("`null` encountered as the result from expression with type `Never`.")); + } + [Symbol.iterator]() { + return new dart.JsIterator(this[$iterator]); + } + } + (_UnmodifiableSetMixin.new = function() { + ; + }).prototype = _UnmodifiableSetMixin.prototype; + dart.addTypeTests(_UnmodifiableSetMixin); + _UnmodifiableSetMixin.prototype[_is__UnmodifiableSetMixin_default] = true; + dart.addTypeCaches(_UnmodifiableSetMixin); + _UnmodifiableSetMixin[dart.implements] = () => [core.Set$(E)]; + dart.setMethodSignature(_UnmodifiableSetMixin, () => ({ + __proto__: dart.getMethods(_UnmodifiableSetMixin.__proto__), + add: dart.fnType(core.bool, [dart.nullable(core.Object)]), + clear: dart.fnType(dart.void, []), + addAll: dart.fnType(dart.void, [dart.nullable(core.Object)]), + removeAll: dart.fnType(dart.void, [core.Iterable$(dart.nullable(core.Object))]), + retainAll: dart.fnType(dart.void, [core.Iterable$(dart.nullable(core.Object))]), + removeWhere: dart.fnType(dart.void, [dart.fnType(core.bool, [E])]), + retainWhere: dart.fnType(dart.void, [dart.fnType(core.bool, [E])]), + remove: dart.fnType(core.bool, [dart.nullable(core.Object)]) + })); + dart.setLibraryUri(_UnmodifiableSetMixin, I[24]); + return _UnmodifiableSetMixin; +}); +collection._UnmodifiableSetMixin = collection._UnmodifiableSetMixin$(); +dart.addTypeTests(collection._UnmodifiableSetMixin, _is__UnmodifiableSetMixin_default); +var _map$9 = dart.privateName(collection, "_UnmodifiableSet._map"); +const _is__UnmodifiableSet_default = Symbol('_is__UnmodifiableSet_default'); +collection._UnmodifiableSet$ = dart.generic(E => { + var _HashSetOfE = () => (_HashSetOfE = dart.constFn(collection._HashSet$(E)))(); + const _SetBase__UnmodifiableSetMixin$36 = class _SetBase__UnmodifiableSetMixin extends collection._SetBase$(E) {}; + (_SetBase__UnmodifiableSetMixin$36.new = function() { + _SetBase__UnmodifiableSetMixin$36.__proto__.new.call(this); + }).prototype = _SetBase__UnmodifiableSetMixin$36.prototype; + dart.applyMixin(_SetBase__UnmodifiableSetMixin$36, collection._UnmodifiableSetMixin$(E)); + class _UnmodifiableSet extends _SetBase__UnmodifiableSetMixin$36 { + get [_map$5]() { + return this[_map$9]; + } + set [_map$5](value) { + super[_map$5] = value; + } + [_newSet]() { + return new (_HashSetOfE()).new(); + } + [_newSimilarSet](R) { + return new (collection._HashSet$(R)).new(); + } + contains(element) { + return this[_map$5][$containsKey](element); + } + get iterator() { + return this[_map$5][$keys][$iterator]; + } + get length() { + return this[_map$5][$length]; + } + lookup(element) { + for (let key of this[_map$5][$keys]) { + if (dart.equals(key, element)) return key; + } + return null; + } + } + (_UnmodifiableSet.new = function(_map) { + if (_map == null) dart.nullFailed(I[75], 377, 31, "_map"); + this[_map$9] = _map; + _UnmodifiableSet.__proto__.new.call(this); + ; + }).prototype = _UnmodifiableSet.prototype; + dart.addTypeTests(_UnmodifiableSet); + _UnmodifiableSet.prototype[_is__UnmodifiableSet_default] = true; + dart.addTypeCaches(_UnmodifiableSet); + dart.setMethodSignature(_UnmodifiableSet, () => ({ + __proto__: dart.getMethods(_UnmodifiableSet.__proto__), + [_newSet]: dart.fnType(core.Set$(E), []), + [_newSimilarSet]: dart.gFnType(R => [core.Set$(R), []], R => [dart.nullable(core.Object)]), + contains: dart.fnType(core.bool, [dart.nullable(core.Object)]), + [$contains]: dart.fnType(core.bool, [dart.nullable(core.Object)]), + lookup: dart.fnType(dart.nullable(E), [dart.nullable(core.Object)]) + })); + dart.setGetterSignature(_UnmodifiableSet, () => ({ + __proto__: dart.getGetters(_UnmodifiableSet.__proto__), + iterator: core.Iterator$(E), + [$iterator]: core.Iterator$(E), + length: core.int, + [$length]: core.int + })); + dart.setLibraryUri(_UnmodifiableSet, I[24]); + dart.setFieldSignature(_UnmodifiableSet, () => ({ + __proto__: dart.getFields(_UnmodifiableSet.__proto__), + [_map$5]: dart.finalFieldType(core.Map$(E, core.Null)) + })); + dart.defineExtensionMethods(_UnmodifiableSet, ['contains']); + dart.defineExtensionAccessors(_UnmodifiableSet, ['iterator', 'length']); + return _UnmodifiableSet; +}); +collection._UnmodifiableSet = collection._UnmodifiableSet$(); +dart.addTypeTests(collection._UnmodifiableSet, _is__UnmodifiableSet_default); +const _is_UnmodifiableSetView_default = Symbol('_is_UnmodifiableSetView_default'); +collection.UnmodifiableSetView$ = dart.generic(E => { + const SetBase__UnmodifiableSetMixin$36 = class SetBase__UnmodifiableSetMixin extends collection.SetBase$(E) {}; + (SetBase__UnmodifiableSetMixin$36.new = function() { + }).prototype = SetBase__UnmodifiableSetMixin$36.prototype; + dart.applyMixin(SetBase__UnmodifiableSetMixin$36, collection._UnmodifiableSetMixin$(E)); + class UnmodifiableSetView extends SetBase__UnmodifiableSetMixin$36 { + contains(element) { + return this[_source].contains(element); + } + lookup(element) { + return this[_source].lookup(element); + } + get length() { + return this[_source][$length]; + } + get iterator() { + return this[_source].iterator; + } + toSet() { + return this[_source].toSet(); + } + } + (UnmodifiableSetView.new = function(source) { + if (source == null) dart.nullFailed(I[75], 408, 30, "source"); + this[_source] = source; + ; + }).prototype = UnmodifiableSetView.prototype; + dart.addTypeTests(UnmodifiableSetView); + UnmodifiableSetView.prototype[_is_UnmodifiableSetView_default] = true; + dart.addTypeCaches(UnmodifiableSetView); + dart.setMethodSignature(UnmodifiableSetView, () => ({ + __proto__: dart.getMethods(UnmodifiableSetView.__proto__), + contains: dart.fnType(core.bool, [dart.nullable(core.Object)]), + [$contains]: dart.fnType(core.bool, [dart.nullable(core.Object)]), + lookup: dart.fnType(dart.nullable(E), [dart.nullable(core.Object)]), + toSet: dart.fnType(core.Set$(E), []), + [$toSet]: dart.fnType(core.Set$(E), []) + })); + dart.setGetterSignature(UnmodifiableSetView, () => ({ + __proto__: dart.getGetters(UnmodifiableSetView.__proto__), + length: core.int, + [$length]: core.int, + iterator: core.Iterator$(E), + [$iterator]: core.Iterator$(E) + })); + dart.setLibraryUri(UnmodifiableSetView, I[24]); + dart.setFieldSignature(UnmodifiableSetView, () => ({ + __proto__: dart.getFields(UnmodifiableSetView.__proto__), + [_source]: dart.finalFieldType(core.Set$(E)) + })); + dart.defineExtensionMethods(UnmodifiableSetView, ['contains', 'toSet']); + dart.defineExtensionAccessors(UnmodifiableSetView, ['length', 'iterator']); + return UnmodifiableSetView; +}); +collection.UnmodifiableSetView = collection.UnmodifiableSetView$(); +dart.addTypeTests(collection.UnmodifiableSetView, _is_UnmodifiableSetView_default); +var _left = dart.privateName(collection, "_SplayTreeNode._left"); +var _right = dart.privateName(collection, "_SplayTreeNode._right"); +var _left$ = dart.privateName(collection, "_left"); +var _right$ = dart.privateName(collection, "_right"); +const _is__SplayTreeNode_default = Symbol('_is__SplayTreeNode_default'); +collection._SplayTreeNode$ = dart.generic((K, Node) => { + var NodeN = () => (NodeN = dart.constFn(dart.nullable(Node)))(); + class _SplayTreeNode extends core.Object { + get [_left$]() { + return this[_left]; + } + set [_left$](value) { + this[_left] = NodeN().as(value); + } + get [_right$]() { + return this[_right]; + } + set [_right$](value) { + this[_right] = NodeN().as(value); + } + } + (_SplayTreeNode.new = function(key) { + this[_left] = null; + this[_right] = null; + this.key = key; + ; + }).prototype = _SplayTreeNode.prototype; + dart.addTypeTests(_SplayTreeNode); + _SplayTreeNode.prototype[_is__SplayTreeNode_default] = true; + dart.addTypeCaches(_SplayTreeNode); + dart.setLibraryUri(_SplayTreeNode, I[24]); + dart.setFieldSignature(_SplayTreeNode, () => ({ + __proto__: dart.getFields(_SplayTreeNode.__proto__), + key: dart.finalFieldType(K), + [_left$]: dart.fieldType(dart.nullable(Node)), + [_right$]: dart.fieldType(dart.nullable(Node)) + })); + return _SplayTreeNode; +}); +collection._SplayTreeNode = collection._SplayTreeNode$(); +dart.addTypeTests(collection._SplayTreeNode, _is__SplayTreeNode_default); +const _is__SplayTreeSetNode_default = Symbol('_is__SplayTreeSetNode_default'); +collection._SplayTreeSetNode$ = dart.generic(K => { + class _SplayTreeSetNode extends collection._SplayTreeNode {} + (_SplayTreeSetNode.new = function(key) { + _SplayTreeSetNode.__proto__.new.call(this, key); + ; + }).prototype = _SplayTreeSetNode.prototype; + dart.addTypeTests(_SplayTreeSetNode); + _SplayTreeSetNode.prototype[_is__SplayTreeSetNode_default] = true; + dart.addTypeCaches(_SplayTreeSetNode); + dart.setLibraryUri(_SplayTreeSetNode, I[24]); + return _SplayTreeSetNode; +}, K => { + dart.setBaseClass(collection._SplayTreeSetNode$(K), collection._SplayTreeNode$(K, collection._SplayTreeSetNode$(K))); +}); +collection._SplayTreeSetNode = collection._SplayTreeSetNode$(); +dart.addTypeTests(collection._SplayTreeSetNode, _is__SplayTreeSetNode_default); +var _replaceValue = dart.privateName(collection, "_replaceValue"); +const _is__SplayTreeMapNode_default = Symbol('_is__SplayTreeMapNode_default'); +collection._SplayTreeMapNode$ = dart.generic((K, V) => { + var _SplayTreeMapNodeOfK$V = () => (_SplayTreeMapNodeOfK$V = dart.constFn(collection._SplayTreeMapNode$(K, V)))(); + class _SplayTreeMapNode extends collection._SplayTreeNode { + [_replaceValue](value) { + let t172; + V.as(value); + t172 = new (_SplayTreeMapNodeOfK$V()).new(this.key, value); + return (() => { + t172[_left$] = this[_left$]; + t172[_right$] = this[_right$]; + return t172; + })(); + } + toString() { + return "MapEntry(" + dart.str(this.key) + ": " + dart.str(this.value) + ")"; + } + } + (_SplayTreeMapNode.new = function(key, value) { + this.value = value; + _SplayTreeMapNode.__proto__.new.call(this, key); + ; + }).prototype = _SplayTreeMapNode.prototype; + dart.addTypeTests(_SplayTreeMapNode); + _SplayTreeMapNode.prototype[_is__SplayTreeMapNode_default] = true; + dart.addTypeCaches(_SplayTreeMapNode); + _SplayTreeMapNode[dart.implements] = () => [core.MapEntry$(K, V)]; + dart.setMethodSignature(_SplayTreeMapNode, () => ({ + __proto__: dart.getMethods(_SplayTreeMapNode.__proto__), + [_replaceValue]: dart.fnType(collection._SplayTreeMapNode$(K, V), [dart.nullable(core.Object)]) + })); + dart.setLibraryUri(_SplayTreeMapNode, I[24]); + dart.setFieldSignature(_SplayTreeMapNode, () => ({ + __proto__: dart.getFields(_SplayTreeMapNode.__proto__), + value: dart.finalFieldType(V) + })); + dart.defineExtensionMethods(_SplayTreeMapNode, ['toString']); + return _SplayTreeMapNode; +}, (K, V) => { + dart.setBaseClass(collection._SplayTreeMapNode$(K, V), collection._SplayTreeNode$(K, collection._SplayTreeMapNode$(K, V))); +}); +collection._SplayTreeMapNode = collection._SplayTreeMapNode$(); +dart.addTypeTests(collection._SplayTreeMapNode, _is__SplayTreeMapNode_default); +var _count$ = dart.privateName(collection, "_count"); +var _splayCount = dart.privateName(collection, "_splayCount"); +var _root = dart.privateName(collection, "_root"); +var _compare = dart.privateName(collection, "_compare"); +var _splay = dart.privateName(collection, "_splay"); +var _splayMin = dart.privateName(collection, "_splayMin"); +var _splayMax = dart.privateName(collection, "_splayMax"); +var _addNewRoot = dart.privateName(collection, "_addNewRoot"); +var _last$ = dart.privateName(collection, "_last"); +var _clear$ = dart.privateName(collection, "_clear"); +var _containsKey = dart.privateName(collection, "_containsKey"); +const _is__SplayTree_default = Symbol('_is__SplayTree_default'); +collection._SplayTree$ = dart.generic((K, Node) => { + class _SplayTree extends core.Object { + [_splay](key) { + let t173, t172; + K.as(key); + let root = this[_root]; + if (root == null) { + t172 = key; + t173 = key; + this[_compare](t172, t173); + return -1; + } + let right = null; + let newTreeRight = null; + let left = null; + let newTreeLeft = null; + let current = root; + let compare = this[_compare]; + let comp = null; + while (true) { + comp = compare(current.key, key); + if (dart.notNull(comp) > 0) { + let currentLeft = current[_left$]; + if (currentLeft == null) break; + comp = compare(currentLeft.key, key); + if (dart.notNull(comp) > 0) { + current[_left$] = currentLeft[_right$]; + currentLeft[_right$] = current; + current = currentLeft; + currentLeft = current[_left$]; + if (currentLeft == null) break; + } + if (right == null) { + newTreeRight = current; + } else { + right[_left$] = current; + } + right = current; + current = currentLeft; + } else if (dart.notNull(comp) < 0) { + let currentRight = current[_right$]; + if (currentRight == null) break; + comp = compare(currentRight.key, key); + if (dart.notNull(comp) < 0) { + current[_right$] = currentRight[_left$]; + currentRight[_left$] = current; + current = currentRight; + currentRight = current[_right$]; + if (currentRight == null) break; + } + if (left == null) { + newTreeLeft = current; + } else { + left[_right$] = current; + } + left = current; + current = currentRight; + } else { + break; + } + } + if (left != null) { + left[_right$] = current[_left$]; + current[_left$] = newTreeLeft; + } + if (right != null) { + right[_left$] = current[_right$]; + current[_right$] = newTreeRight; + } + if (this[_root] != current) { + this[_root] = current; + this[_splayCount] = dart.notNull(this[_splayCount]) + 1; + } + return comp; + } + [_splayMin](node) { + if (node == null) dart.nullFailed(I[84], 173, 23, "node"); + let current = node; + let nextLeft = current[_left$]; + while (nextLeft != null) { + let left = nextLeft; + current[_left$] = left[_right$]; + left[_right$] = current; + current = left; + nextLeft = current[_left$]; + } + return current; + } + [_splayMax](node) { + if (node == null) dart.nullFailed(I[84], 191, 23, "node"); + let current = node; + let nextRight = current[_right$]; + while (nextRight != null) { + let right = nextRight; + current[_right$] = right[_left$]; + right[_left$] = current; + current = right; + nextRight = current[_right$]; + } + return current; + } + [_remove](key) { + if (this[_root] == null) return null; + let comp = this[_splay](key); + if (comp !== 0) return null; + let root = dart.nullCheck(this[_root]); + let result = root; + let left = root[_left$]; + this[_count$] = dart.notNull(this[_count$]) - 1; + if (left == null) { + this[_root] = root[_right$]; + } else { + let right = root[_right$]; + root = this[_splayMax](left); + root[_right$] = right; + this[_root] = root; + } + this[_modificationCount] = dart.notNull(this[_modificationCount]) + 1; + return result; + } + [_addNewRoot](node, comp) { + if (node == null) dart.nullFailed(I[84], 233, 25, "node"); + if (comp == null) dart.nullFailed(I[84], 233, 35, "comp"); + this[_count$] = dart.notNull(this[_count$]) + 1; + this[_modificationCount] = dart.notNull(this[_modificationCount]) + 1; + let root = this[_root]; + if (root == null) { + this[_root] = node; + return; + } + if (dart.notNull(comp) < 0) { + node[_left$] = root; + node[_right$] = root[_right$]; + root[_right$] = null; + } else { + node[_right$] = root; + node[_left$] = root[_left$]; + root[_left$] = null; + } + this[_root] = node; + } + get [_first]() { + let root = this[_root]; + if (root == null) return null; + this[_root] = this[_splayMin](root); + return this[_root]; + } + get [_last$]() { + let root = this[_root]; + if (root == null) return null; + this[_root] = this[_splayMax](root); + return this[_root]; + } + [_clear$]() { + this[_root] = null; + this[_count$] = 0; + this[_modificationCount] = dart.notNull(this[_modificationCount]) + 1; + } + [_containsKey](key) { + let t172; + return dart.test((t172 = key, this[_validKey$0](t172))) && this[_splay](K.as(key)) === 0; + } + } + (_SplayTree.new = function() { + this[_count$] = 0; + this[_modificationCount] = 0; + this[_splayCount] = 0; + ; + }).prototype = _SplayTree.prototype; + dart.addTypeTests(_SplayTree); + _SplayTree.prototype[_is__SplayTree_default] = true; + dart.addTypeCaches(_SplayTree); + dart.setMethodSignature(_SplayTree, () => ({ + __proto__: dart.getMethods(_SplayTree.__proto__), + [_splay]: dart.fnType(core.int, [dart.nullable(core.Object)]), + [_splayMin]: dart.fnType(Node, [Node]), + [_splayMax]: dart.fnType(Node, [Node]), + [_remove]: dart.fnType(dart.nullable(Node), [K]), + [_addNewRoot]: dart.fnType(dart.void, [Node, core.int]), + [_clear$]: dart.fnType(dart.void, []), + [_containsKey]: dart.fnType(core.bool, [dart.nullable(core.Object)]) + })); + dart.setGetterSignature(_SplayTree, () => ({ + __proto__: dart.getGetters(_SplayTree.__proto__), + [_first]: dart.nullable(Node), + [_last$]: dart.nullable(Node) + })); + dart.setLibraryUri(_SplayTree, I[24]); + dart.setFieldSignature(_SplayTree, () => ({ + __proto__: dart.getFields(_SplayTree.__proto__), + [_count$]: dart.fieldType(core.int), + [_modificationCount]: dart.fieldType(core.int), + [_splayCount]: dart.fieldType(core.int) + })); + return _SplayTree; +}); +collection._SplayTree = collection._SplayTree$(); +dart.addTypeTests(collection._SplayTree, _is__SplayTree_default); +var _root$ = dart.privateName(collection, "SplayTreeMap._root"); +var _compare$ = dart.privateName(collection, "SplayTreeMap._compare"); +var _validKey = dart.privateName(collection, "SplayTreeMap._validKey"); +const _is_SplayTreeMap_default = Symbol('_is_SplayTreeMap_default'); +collection.SplayTreeMap$ = dart.generic((K, V) => { + var _SplayTreeMapNodeOfK$V = () => (_SplayTreeMapNodeOfK$V = dart.constFn(collection._SplayTreeMapNode$(K, V)))(); + var KAndVToV = () => (KAndVToV = dart.constFn(dart.fnType(V, [K, V])))(); + var _SplayTreeMapEntryIteratorOfK$V = () => (_SplayTreeMapEntryIteratorOfK$V = dart.constFn(collection._SplayTreeMapEntryIterator$(K, V)))(); + var MapOfK$V = () => (MapOfK$V = dart.constFn(core.Map$(K, V)))(); + var KAndVTovoid = () => (KAndVTovoid = dart.constFn(dart.fnType(dart.void, [K, V])))(); + var _SplayTreeMapNodeNOfK$V = () => (_SplayTreeMapNodeNOfK$V = dart.constFn(dart.nullable(_SplayTreeMapNodeOfK$V())))(); + var _SplayTreeMapNodeNOfK$VTobool = () => (_SplayTreeMapNodeNOfK$VTobool = dart.constFn(dart.fnType(core.bool, [_SplayTreeMapNodeNOfK$V()])))(); + var _SplayTreeKeyIterableOfK$_SplayTreeMapNodeOfK$V = () => (_SplayTreeKeyIterableOfK$_SplayTreeMapNodeOfK$V = dart.constFn(collection._SplayTreeKeyIterable$(K, _SplayTreeMapNodeOfK$V())))(); + var _SplayTreeValueIterableOfK$V = () => (_SplayTreeValueIterableOfK$V = dart.constFn(collection._SplayTreeValueIterable$(K, V)))(); + var _SplayTreeMapEntryIterableOfK$V = () => (_SplayTreeMapEntryIterableOfK$V = dart.constFn(collection._SplayTreeMapEntryIterable$(K, V)))(); + var VoidToV = () => (VoidToV = dart.constFn(dart.fnType(V, [])))(); + var VToV = () => (VToV = dart.constFn(dart.fnType(V, [V])))(); + var VoidToNV = () => (VoidToNV = dart.constFn(dart.nullable(VoidToV())))(); + const _SplayTree_MapMixin$36 = class _SplayTree_MapMixin extends collection._SplayTree$(K, collection._SplayTreeMapNode$(K, V)) {}; + (_SplayTree_MapMixin$36.new = function() { + _SplayTree_MapMixin$36.__proto__.new.call(this); + }).prototype = _SplayTree_MapMixin$36.prototype; + dart.applyMixin(_SplayTree_MapMixin$36, collection.MapMixin$(K, V)); + class SplayTreeMap extends _SplayTree_MapMixin$36 { + get [_root]() { + return this[_root$]; + } + set [_root](value) { + this[_root$] = value; + } + get [_compare]() { + return this[_compare$]; + } + set [_compare](value) { + this[_compare$] = value; + } + get [_validKey$0]() { + return this[_validKey]; + } + set [_validKey$0](value) { + this[_validKey] = value; + } + static from(other, compare = null, isValidKey = null) { + if (other == null) dart.nullFailed(I[84], 330, 51, "other"); + if (core.Map$(K, V).is(other)) { + return collection.SplayTreeMap$(K, V).of(other, compare, isValidKey); + } + let result = new (collection.SplayTreeMap$(K, V)).new(compare, isValidKey); + other[$forEach](dart.fn((k, v) => { + result._set(K.as(k), V.as(v)); + }, T$.dynamicAnddynamicTovoid())); + return result; + } + static of(other, compare = null, isValidKey = null) { + let t172; + if (other == null) dart.nullFailed(I[84], 344, 37, "other"); + t172 = new (collection.SplayTreeMap$(K, V)).new(compare, isValidKey); + return (() => { + t172.addAll(other); + return t172; + })(); + } + static fromIterable(iterable, opts) { + if (iterable == null) dart.nullFailed(I[84], 360, 46, "iterable"); + let key = opts && 'key' in opts ? opts.key : null; + let value = opts && 'value' in opts ? opts.value : null; + let compare = opts && 'compare' in opts ? opts.compare : null; + let isValidKey = opts && 'isValidKey' in opts ? opts.isValidKey : null; + let map = new (collection.SplayTreeMap$(K, V)).new(compare, isValidKey); + collection.MapBase._fillMapWithMappedIterable(map, iterable, key, value); + return map; + } + static fromIterables(keys, values, compare = null, isValidKey = null) { + if (keys == null) dart.nullFailed(I[84], 379, 50, "keys"); + if (values == null) dart.nullFailed(I[84], 379, 68, "values"); + let map = new (collection.SplayTreeMap$(K, V)).new(compare, isValidKey); + collection.MapBase._fillMapWithIterables(map, keys, values); + return map; + } + _get(key) { + let t172; + if (!dart.test((t172 = key, this[_validKey$0](t172)))) return null; + if (this[_root] != null) { + let comp = this[_splay](K.as(key)); + if (comp === 0) { + return dart.nullCheck(this[_root]).value; + } + } + return null; + } + remove(key) { + let t172; + if (!dart.test((t172 = key, this[_validKey$0](t172)))) return null; + let mapRoot = this[_remove](K.as(key)); + if (mapRoot != null) return mapRoot.value; + return null; + } + _set(key, value$) { + let value = value$; + K.as(key); + V.as(value); + let comp = this[_splay](key); + if (comp === 0) { + this[_root] = dart.nullCheck(this[_root])[_replaceValue](value); + this[_splayCount] = dart.notNull(this[_splayCount]) + 1; + return value$; + } + this[_addNewRoot](new (_SplayTreeMapNodeOfK$V()).new(key, value), comp); + return value$; + } + putIfAbsent(key, ifAbsent) { + K.as(key); + VoidToV().as(ifAbsent); + if (ifAbsent == null) dart.nullFailed(I[84], 418, 26, "ifAbsent"); + let comp = this[_splay](key); + if (comp === 0) { + return dart.nullCheck(this[_root]).value; + } + let modificationCount = this[_modificationCount]; + let splayCount = this[_splayCount]; + let value = ifAbsent(); + if (modificationCount != this[_modificationCount]) { + dart.throw(new core.ConcurrentModificationError.new(this)); + } + if (splayCount != this[_splayCount]) { + comp = this[_splay](key); + if (!(comp !== 0)) dart.assertFailed(null, I[84], 432, 14, "comp != 0"); + } + this[_addNewRoot](new (_SplayTreeMapNodeOfK$V()).new(key, value), comp); + return value; + } + update(key, update, opts) { + K.as(key); + VToV().as(update); + if (update == null) dart.nullFailed(I[84], 438, 21, "update"); + let ifAbsent = opts && 'ifAbsent' in opts ? opts.ifAbsent : null; + VoidToNV().as(ifAbsent); + let comp = this[_splay](key); + if (comp === 0) { + let modificationCount = this[_modificationCount]; + let splayCount = this[_splayCount]; + let newValue = update(dart.nullCheck(this[_root]).value); + if (modificationCount != this[_modificationCount]) { + dart.throw(new core.ConcurrentModificationError.new(this)); + } + if (splayCount != this[_splayCount]) { + this[_splay](key); + } + this[_root] = dart.nullCheck(this[_root])[_replaceValue](newValue); + this[_splayCount] = dart.notNull(this[_splayCount]) + 1; + return newValue; + } + if (ifAbsent != null) { + let modificationCount = this[_modificationCount]; + let splayCount = this[_splayCount]; + let newValue = ifAbsent(); + if (modificationCount != this[_modificationCount]) { + dart.throw(new core.ConcurrentModificationError.new(this)); + } + if (splayCount != this[_splayCount]) { + comp = this[_splay](key); + } + this[_addNewRoot](new (_SplayTreeMapNodeOfK$V()).new(key, newValue), comp); + return newValue; + } + dart.throw(new core.ArgumentError.value(key, "key", "Key not in map.")); + } + updateAll(update) { + KAndVToV().as(update); + if (update == null) dart.nullFailed(I[84], 470, 20, "update"); + let root = this[_root]; + if (root == null) return; + let iterator = new (_SplayTreeMapEntryIteratorOfK$V()).new(this); + while (dart.test(iterator.moveNext())) { + let node = iterator.current; + let newValue = update(node.key, node.value); + iterator[_replaceValue](newValue); + } + } + addAll(other) { + MapOfK$V().as(other); + if (other == null) dart.nullFailed(I[84], 481, 25, "other"); + other[$forEach](dart.fn((key, value) => { + this._set(key, value); + }, KAndVTovoid())); + } + get isEmpty() { + return this[_root] == null; + } + get isNotEmpty() { + return !dart.test(this.isEmpty); + } + forEach(f) { + if (f == null) dart.nullFailed(I[84], 493, 21, "f"); + let nodes = new (_SplayTreeMapEntryIteratorOfK$V()).new(this); + while (dart.test(nodes.moveNext())) { + let node = nodes.current; + f(node.key, node.value); + } + } + get length() { + return this[_count$]; + } + clear() { + this[_clear$](); + } + containsKey(key) { + return this[_containsKey](key); + } + containsValue(value) { + let initialSplayCount = this[_splayCount]; + const visit = node => { + while (node != null) { + if (dart.equals(node.value, value)) return true; + if (initialSplayCount != this[_splayCount]) { + dart.throw(new core.ConcurrentModificationError.new(this)); + } + if (node[_right$] != null && dart.test(visit(node[_right$]))) { + return true; + } + node = node[_left$]; + } + return false; + }; + dart.fn(visit, _SplayTreeMapNodeNOfK$VTobool()); + return visit(this[_root]); + } + get keys() { + return new (_SplayTreeKeyIterableOfK$_SplayTreeMapNodeOfK$V()).new(this); + } + get values() { + return new (_SplayTreeValueIterableOfK$V()).new(this); + } + get entries() { + return new (_SplayTreeMapEntryIterableOfK$V()).new(this); + } + firstKey() { + if (this[_root] == null) return null; + return dart.nullCheck(this[_first]).key; + } + lastKey() { + if (this[_root] == null) return null; + return dart.nullCheck(this[_last$]).key; + } + lastKeyBefore(key) { + K.as(key); + if (key == null) dart.throw(new core.ArgumentError.new(key)); + if (this[_root] == null) return null; + let comp = this[_splay](key); + if (dart.notNull(comp) < 0) return dart.nullCheck(this[_root]).key; + let node = dart.nullCheck(this[_root])[_left$]; + if (node == null) return null; + let nodeRight = node[_right$]; + while (nodeRight != null) { + node = nodeRight; + nodeRight = node[_right$]; + } + return dart.nullCheck(node).key; + } + firstKeyAfter(key) { + K.as(key); + if (key == null) dart.throw(new core.ArgumentError.new(key)); + if (this[_root] == null) return null; + let comp = this[_splay](key); + if (dart.notNull(comp) > 0) return dart.nullCheck(this[_root]).key; + let node = dart.nullCheck(this[_root])[_right$]; + if (node == null) return null; + let nodeLeft = node[_left$]; + while (nodeLeft != null) { + node = nodeLeft; + nodeLeft = node[_left$]; + } + return dart.nullCheck(node).key; + } + } + (SplayTreeMap.new = function(compare = null, isValidKey = null) { + let t172, t172$; + this[_root$] = null; + this[_compare$] = (t172 = compare, t172 == null ? collection._defaultCompare(K) : t172); + this[_validKey] = (t172$ = isValidKey, t172$ == null ? dart.fn(a => K.is(a), T$0.dynamicTobool()) : t172$); + SplayTreeMap.__proto__.new.call(this); + ; + }).prototype = SplayTreeMap.prototype; + dart.addTypeTests(SplayTreeMap); + SplayTreeMap.prototype[_is_SplayTreeMap_default] = true; + dart.addTypeCaches(SplayTreeMap); + dart.setMethodSignature(SplayTreeMap, () => ({ + __proto__: dart.getMethods(SplayTreeMap.__proto__), + _get: dart.fnType(dart.nullable(V), [dart.nullable(core.Object)]), + [$_get]: dart.fnType(dart.nullable(V), [dart.nullable(core.Object)]), + remove: dart.fnType(dart.nullable(V), [dart.nullable(core.Object)]), + [$remove]: dart.fnType(dart.nullable(V), [dart.nullable(core.Object)]), + _set: dart.fnType(dart.void, [dart.nullable(core.Object), dart.nullable(core.Object)]), + [$_set]: dart.fnType(dart.void, [dart.nullable(core.Object), dart.nullable(core.Object)]), + clear: dart.fnType(dart.void, []), + [$clear]: dart.fnType(dart.void, []), + firstKey: dart.fnType(dart.nullable(K), []), + lastKey: dart.fnType(dart.nullable(K), []), + lastKeyBefore: dart.fnType(dart.nullable(K), [dart.nullable(core.Object)]), + firstKeyAfter: dart.fnType(dart.nullable(K), [dart.nullable(core.Object)]) + })); + dart.setGetterSignature(SplayTreeMap, () => ({ + __proto__: dart.getGetters(SplayTreeMap.__proto__), + keys: core.Iterable$(K), + [$keys]: core.Iterable$(K) + })); + dart.setLibraryUri(SplayTreeMap, I[24]); + dart.setFieldSignature(SplayTreeMap, () => ({ + __proto__: dart.getFields(SplayTreeMap.__proto__), + [_root]: dart.fieldType(dart.nullable(collection._SplayTreeMapNode$(K, V))), + [_compare]: dart.fieldType(dart.fnType(core.int, [K, K])), + [_validKey$0]: dart.fieldType(dart.fnType(core.bool, [dart.dynamic])) + })); + dart.defineExtensionMethods(SplayTreeMap, [ + '_get', + 'remove', + '_set', + 'putIfAbsent', + 'update', + 'updateAll', + 'addAll', + 'forEach', + 'clear', + 'containsKey', + 'containsValue' + ]); + dart.defineExtensionAccessors(SplayTreeMap, [ + 'isEmpty', + 'isNotEmpty', + 'length', + 'keys', + 'values', + 'entries' + ]); + return SplayTreeMap; +}); +collection.SplayTreeMap = collection.SplayTreeMap$(); +dart.addTypeTests(collection.SplayTreeMap, _is_SplayTreeMap_default); +var _path = dart.privateName(collection, "_path"); +var _tree$ = dart.privateName(collection, "_tree"); +var _getValue = dart.privateName(collection, "_getValue"); +var _rebuildPath = dart.privateName(collection, "_rebuildPath"); +var _findLeftMostDescendent = dart.privateName(collection, "_findLeftMostDescendent"); +const _is__SplayTreeIterator_default = Symbol('_is__SplayTreeIterator_default'); +collection._SplayTreeIterator$ = dart.generic((K, Node, T) => { + var JSArrayOfNode = () => (JSArrayOfNode = dart.constFn(_interceptors.JSArray$(Node)))(); + class _SplayTreeIterator extends core.Object { + get current() { + if (dart.test(this[_path][$isEmpty])) return T.as(null); + let node = this[_path][$last]; + return this[_getValue](node); + } + [_rebuildPath](key) { + this[_path][$clear](); + this[_tree$][_splay](key); + this[_path][$add](dart.nullCheck(this[_tree$][_root])); + this[_splayCount] = this[_tree$][_splayCount]; + } + [_findLeftMostDescendent](node) { + while (node != null) { + this[_path][$add](node); + node = node[_left$]; + } + } + moveNext() { + if (this[_modificationCount] != this[_tree$][_modificationCount]) { + if (this[_modificationCount] == null) { + this[_modificationCount] = this[_tree$][_modificationCount]; + let node = this[_tree$][_root]; + while (node != null) { + this[_path][$add](node); + node = node[_left$]; + } + return this[_path][$isNotEmpty]; + } + dart.throw(new core.ConcurrentModificationError.new(this[_tree$])); + } + if (dart.test(this[_path][$isEmpty])) return false; + if (this[_splayCount] != this[_tree$][_splayCount]) { + this[_rebuildPath](this[_path][$last].key); + } + let node = this[_path][$last]; + let next = node[_right$]; + if (next != null) { + while (next != null) { + this[_path][$add](next); + next = next[_left$]; + } + return true; + } + this[_path][$removeLast](); + while (dart.test(this[_path][$isNotEmpty]) && this[_path][$last][_right$] == node) { + node = this[_path][$removeLast](); + } + return this[_path][$isNotEmpty]; + } + } + (_SplayTreeIterator.new = function(tree) { + if (tree == null) dart.nullFailed(I[84], 615, 42, "tree"); + this[_path] = JSArrayOfNode().of([]); + this[_modificationCount] = null; + this[_tree$] = tree; + this[_splayCount] = tree[_splayCount]; + ; + }).prototype = _SplayTreeIterator.prototype; + dart.addTypeTests(_SplayTreeIterator); + _SplayTreeIterator.prototype[_is__SplayTreeIterator_default] = true; + dart.addTypeCaches(_SplayTreeIterator); + _SplayTreeIterator[dart.implements] = () => [core.Iterator$(T)]; + dart.setMethodSignature(_SplayTreeIterator, () => ({ + __proto__: dart.getMethods(_SplayTreeIterator.__proto__), + [_rebuildPath]: dart.fnType(dart.void, [K]), + [_findLeftMostDescendent]: dart.fnType(dart.void, [dart.nullable(Node)]), + moveNext: dart.fnType(core.bool, []) + })); + dart.setGetterSignature(_SplayTreeIterator, () => ({ + __proto__: dart.getGetters(_SplayTreeIterator.__proto__), + current: T + })); + dart.setLibraryUri(_SplayTreeIterator, I[24]); + dart.setFieldSignature(_SplayTreeIterator, () => ({ + __proto__: dart.getFields(_SplayTreeIterator.__proto__), + [_tree$]: dart.finalFieldType(collection._SplayTree$(K, Node)), + [_path]: dart.finalFieldType(core.List$(Node)), + [_modificationCount]: dart.fieldType(dart.nullable(core.int)), + [_splayCount]: dart.fieldType(core.int) + })); + return _SplayTreeIterator; +}); +collection._SplayTreeIterator = collection._SplayTreeIterator$(); +dart.addTypeTests(collection._SplayTreeIterator, _is__SplayTreeIterator_default); +var _copyNode = dart.privateName(collection, "_copyNode"); +const _is__SplayTreeKeyIterable_default = Symbol('_is__SplayTreeKeyIterable_default'); +collection._SplayTreeKeyIterable$ = dart.generic((K, Node) => { + var _SplayTreeKeyIteratorOfK$Node = () => (_SplayTreeKeyIteratorOfK$Node = dart.constFn(collection._SplayTreeKeyIterator$(K, Node)))(); + var SplayTreeSetOfK = () => (SplayTreeSetOfK = dart.constFn(collection.SplayTreeSet$(K)))(); + var KAndKToint = () => (KAndKToint = dart.constFn(dart.fnType(core.int, [K, K])))(); + class _SplayTreeKeyIterable extends _internal.EfficientLengthIterable$(K) { + get length() { + return this[_tree$][_count$]; + } + get isEmpty() { + return this[_tree$][_count$] === 0; + } + get iterator() { + return new (_SplayTreeKeyIteratorOfK$Node()).new(this[_tree$]); + } + contains(o) { + return this[_tree$][_containsKey](o); + } + toSet() { + let set = new (SplayTreeSetOfK()).new(KAndKToint().as(this[_tree$][_compare]), this[_tree$][_validKey$0]); + set[_count$] = this[_tree$][_count$]; + set[_root] = set[_copyNode](Node, this[_tree$][_root]); + return set; + } + } + (_SplayTreeKeyIterable.new = function(_tree) { + if (_tree == null) dart.nullFailed(I[84], 684, 30, "_tree"); + this[_tree$] = _tree; + _SplayTreeKeyIterable.__proto__.new.call(this); + ; + }).prototype = _SplayTreeKeyIterable.prototype; + dart.addTypeTests(_SplayTreeKeyIterable); + _SplayTreeKeyIterable.prototype[_is__SplayTreeKeyIterable_default] = true; + dart.addTypeCaches(_SplayTreeKeyIterable); + dart.setGetterSignature(_SplayTreeKeyIterable, () => ({ + __proto__: dart.getGetters(_SplayTreeKeyIterable.__proto__), + iterator: core.Iterator$(K), + [$iterator]: core.Iterator$(K) + })); + dart.setLibraryUri(_SplayTreeKeyIterable, I[24]); + dart.setFieldSignature(_SplayTreeKeyIterable, () => ({ + __proto__: dart.getFields(_SplayTreeKeyIterable.__proto__), + [_tree$]: dart.fieldType(collection._SplayTree$(K, Node)) + })); + dart.defineExtensionMethods(_SplayTreeKeyIterable, ['contains', 'toSet']); + dart.defineExtensionAccessors(_SplayTreeKeyIterable, ['length', 'isEmpty', 'iterator']); + return _SplayTreeKeyIterable; +}); +collection._SplayTreeKeyIterable = collection._SplayTreeKeyIterable$(); +dart.addTypeTests(collection._SplayTreeKeyIterable, _is__SplayTreeKeyIterable_default); +const _is__SplayTreeValueIterable_default = Symbol('_is__SplayTreeValueIterable_default'); +collection._SplayTreeValueIterable$ = dart.generic((K, V) => { + var _SplayTreeValueIteratorOfK$V = () => (_SplayTreeValueIteratorOfK$V = dart.constFn(collection._SplayTreeValueIterator$(K, V)))(); + class _SplayTreeValueIterable extends _internal.EfficientLengthIterable$(V) { + get length() { + return this[_map$5][_count$]; + } + get isEmpty() { + return this[_map$5][_count$] === 0; + } + get iterator() { + return new (_SplayTreeValueIteratorOfK$V()).new(this[_map$5]); + } + } + (_SplayTreeValueIterable.new = function(_map) { + if (_map == null) dart.nullFailed(I[84], 701, 32, "_map"); + this[_map$5] = _map; + _SplayTreeValueIterable.__proto__.new.call(this); + ; + }).prototype = _SplayTreeValueIterable.prototype; + dart.addTypeTests(_SplayTreeValueIterable); + _SplayTreeValueIterable.prototype[_is__SplayTreeValueIterable_default] = true; + dart.addTypeCaches(_SplayTreeValueIterable); + dart.setGetterSignature(_SplayTreeValueIterable, () => ({ + __proto__: dart.getGetters(_SplayTreeValueIterable.__proto__), + iterator: core.Iterator$(V), + [$iterator]: core.Iterator$(V) + })); + dart.setLibraryUri(_SplayTreeValueIterable, I[24]); + dart.setFieldSignature(_SplayTreeValueIterable, () => ({ + __proto__: dart.getFields(_SplayTreeValueIterable.__proto__), + [_map$5]: dart.fieldType(collection.SplayTreeMap$(K, V)) + })); + dart.defineExtensionAccessors(_SplayTreeValueIterable, ['length', 'isEmpty', 'iterator']); + return _SplayTreeValueIterable; +}); +collection._SplayTreeValueIterable = collection._SplayTreeValueIterable$(); +dart.addTypeTests(collection._SplayTreeValueIterable, _is__SplayTreeValueIterable_default); +var key$0 = dart.privateName(core, "MapEntry.key"); +var value$2 = dart.privateName(core, "MapEntry.value"); +const _is_MapEntry_default = Symbol('_is_MapEntry_default'); +core.MapEntry$ = dart.generic((K, V) => { + class MapEntry extends core.Object { + get key() { + return this[key$0]; + } + set key(value) { + super.key = value; + } + get value() { + return this[value$2]; + } + set value(value) { + super.value = value; + } + toString() { + return "MapEntry(" + dart.str(this.key) + ": " + dart.str(this.value) + ")"; + } + } + (MapEntry.__ = function(key, value) { + this[key$0] = key; + this[value$2] = value; + ; + }).prototype = MapEntry.prototype; + dart.addTypeTests(MapEntry); + MapEntry.prototype[_is_MapEntry_default] = true; + dart.addTypeCaches(MapEntry); + dart.setLibraryUri(MapEntry, I[8]); + dart.setFieldSignature(MapEntry, () => ({ + __proto__: dart.getFields(MapEntry.__proto__), + key: dart.finalFieldType(K), + value: dart.finalFieldType(V) + })); + dart.defineExtensionMethods(MapEntry, ['toString']); + return MapEntry; +}); +core.MapEntry = core.MapEntry$(); +dart.addTypeTests(core.MapEntry, _is_MapEntry_default); +const _is__SplayTreeMapEntryIterable_default = Symbol('_is__SplayTreeMapEntryIterable_default'); +collection._SplayTreeMapEntryIterable$ = dart.generic((K, V) => { + var _SplayTreeMapEntryIteratorOfK$V = () => (_SplayTreeMapEntryIteratorOfK$V = dart.constFn(collection._SplayTreeMapEntryIterator$(K, V)))(); + class _SplayTreeMapEntryIterable extends _internal.EfficientLengthIterable$(core.MapEntry$(K, V)) { + get length() { + return this[_map$5][_count$]; + } + get isEmpty() { + return this[_map$5][_count$] === 0; + } + get iterator() { + return new (_SplayTreeMapEntryIteratorOfK$V()).new(this[_map$5]); + } + } + (_SplayTreeMapEntryIterable.new = function(_map) { + if (_map == null) dart.nullFailed(I[84], 710, 35, "_map"); + this[_map$5] = _map; + _SplayTreeMapEntryIterable.__proto__.new.call(this); + ; + }).prototype = _SplayTreeMapEntryIterable.prototype; + dart.addTypeTests(_SplayTreeMapEntryIterable); + _SplayTreeMapEntryIterable.prototype[_is__SplayTreeMapEntryIterable_default] = true; + dart.addTypeCaches(_SplayTreeMapEntryIterable); + dart.setGetterSignature(_SplayTreeMapEntryIterable, () => ({ + __proto__: dart.getGetters(_SplayTreeMapEntryIterable.__proto__), + iterator: core.Iterator$(core.MapEntry$(K, V)), + [$iterator]: core.Iterator$(core.MapEntry$(K, V)) + })); + dart.setLibraryUri(_SplayTreeMapEntryIterable, I[24]); + dart.setFieldSignature(_SplayTreeMapEntryIterable, () => ({ + __proto__: dart.getFields(_SplayTreeMapEntryIterable.__proto__), + [_map$5]: dart.fieldType(collection.SplayTreeMap$(K, V)) + })); + dart.defineExtensionAccessors(_SplayTreeMapEntryIterable, ['length', 'isEmpty', 'iterator']); + return _SplayTreeMapEntryIterable; +}); +collection._SplayTreeMapEntryIterable = collection._SplayTreeMapEntryIterable$(); +dart.addTypeTests(collection._SplayTreeMapEntryIterable, _is__SplayTreeMapEntryIterable_default); +const _is__SplayTreeKeyIterator_default = Symbol('_is__SplayTreeKeyIterator_default'); +collection._SplayTreeKeyIterator$ = dart.generic((K, Node) => { + class _SplayTreeKeyIterator extends collection._SplayTreeIterator$(K, Node, K) { + [_getValue](node) { + if (node == null) dart.nullFailed(I[84], 720, 20, "node"); + return node.key; + } + } + (_SplayTreeKeyIterator.new = function(map) { + if (map == null) dart.nullFailed(I[84], 719, 45, "map"); + _SplayTreeKeyIterator.__proto__.new.call(this, map); + ; + }).prototype = _SplayTreeKeyIterator.prototype; + dart.addTypeTests(_SplayTreeKeyIterator); + _SplayTreeKeyIterator.prototype[_is__SplayTreeKeyIterator_default] = true; + dart.addTypeCaches(_SplayTreeKeyIterator); + dart.setMethodSignature(_SplayTreeKeyIterator, () => ({ + __proto__: dart.getMethods(_SplayTreeKeyIterator.__proto__), + [_getValue]: dart.fnType(K, [Node]) + })); + dart.setLibraryUri(_SplayTreeKeyIterator, I[24]); + return _SplayTreeKeyIterator; +}); +collection._SplayTreeKeyIterator = collection._SplayTreeKeyIterator$(); +dart.addTypeTests(collection._SplayTreeKeyIterator, _is__SplayTreeKeyIterator_default); +const _is__SplayTreeValueIterator_default = Symbol('_is__SplayTreeValueIterator_default'); +collection._SplayTreeValueIterator$ = dart.generic((K, V) => { + class _SplayTreeValueIterator extends collection._SplayTreeIterator$(K, collection._SplayTreeMapNode$(K, V), V) { + [_getValue](node) { + if (node == null) dart.nullFailed(I[84], 726, 39, "node"); + return node.value; + } + } + (_SplayTreeValueIterator.new = function(map) { + if (map == null) dart.nullFailed(I[84], 725, 46, "map"); + _SplayTreeValueIterator.__proto__.new.call(this, map); + ; + }).prototype = _SplayTreeValueIterator.prototype; + dart.addTypeTests(_SplayTreeValueIterator); + _SplayTreeValueIterator.prototype[_is__SplayTreeValueIterator_default] = true; + dart.addTypeCaches(_SplayTreeValueIterator); + dart.setMethodSignature(_SplayTreeValueIterator, () => ({ + __proto__: dart.getMethods(_SplayTreeValueIterator.__proto__), + [_getValue]: dart.fnType(V, [collection._SplayTreeMapNode$(K, V)]) + })); + dart.setLibraryUri(_SplayTreeValueIterator, I[24]); + return _SplayTreeValueIterator; +}); +collection._SplayTreeValueIterator = collection._SplayTreeValueIterator$(); +dart.addTypeTests(collection._SplayTreeValueIterator, _is__SplayTreeValueIterator_default); +const _is__SplayTreeMapEntryIterator_default = Symbol('_is__SplayTreeMapEntryIterator_default'); +collection._SplayTreeMapEntryIterator$ = dart.generic((K, V) => { + class _SplayTreeMapEntryIterator extends collection._SplayTreeIterator$(K, collection._SplayTreeMapNode$(K, V), core.MapEntry$(K, V)) { + [_getValue](node) { + if (node == null) dart.nullFailed(I[84], 732, 52, "node"); + return node; + } + [_replaceValue](value) { + let t172; + V.as(value); + if (!dart.test(this[_path][$isNotEmpty])) dart.assertFailed(null, I[84], 736, 12, "_path.isNotEmpty"); + if (this[_modificationCount] != this[_tree$][_modificationCount]) { + dart.throw(new core.ConcurrentModificationError.new(this[_tree$])); + } + if (this[_splayCount] != this[_tree$][_splayCount]) { + this[_rebuildPath](this[_path][$last].key); + } + let last = this[_path][$removeLast](); + let newLast = last[_replaceValue](value); + if (dart.test(this[_path][$isEmpty])) { + this[_tree$][_root] = newLast; + } else { + let parent = this[_path][$last]; + if (last == parent[_left$]) { + parent[_left$] = newLast; + } else { + if (!(last == parent[_right$])) dart.assertFailed(null, I[84], 752, 16, "identical(last, parent._right)"); + parent[_right$] = newLast; + } + } + this[_path][$add](newLast); + this[_splayCount] = (t172 = this[_tree$], t172[_splayCount] = dart.notNull(t172[_splayCount]) + 1); + } + } + (_SplayTreeMapEntryIterator.new = function(tree) { + if (tree == null) dart.nullFailed(I[84], 731, 49, "tree"); + _SplayTreeMapEntryIterator.__proto__.new.call(this, tree); + ; + }).prototype = _SplayTreeMapEntryIterator.prototype; + dart.addTypeTests(_SplayTreeMapEntryIterator); + _SplayTreeMapEntryIterator.prototype[_is__SplayTreeMapEntryIterator_default] = true; + dart.addTypeCaches(_SplayTreeMapEntryIterator); + dart.setMethodSignature(_SplayTreeMapEntryIterator, () => ({ + __proto__: dart.getMethods(_SplayTreeMapEntryIterator.__proto__), + [_getValue]: dart.fnType(core.MapEntry$(K, V), [collection._SplayTreeMapNode$(K, V)]), + [_replaceValue]: dart.fnType(dart.void, [dart.nullable(core.Object)]) + })); + dart.setLibraryUri(_SplayTreeMapEntryIterator, I[24]); + return _SplayTreeMapEntryIterator; +}); +collection._SplayTreeMapEntryIterator = collection._SplayTreeMapEntryIterator$(); +dart.addTypeTests(collection._SplayTreeMapEntryIterator, _is__SplayTreeMapEntryIterator_default); +var _root$0 = dart.privateName(collection, "SplayTreeSet._root"); +var _compare$0 = dart.privateName(collection, "SplayTreeSet._compare"); +var _validKey$1 = dart.privateName(collection, "SplayTreeSet._validKey"); +var _clone$ = dart.privateName(collection, "_clone"); +const _is_SplayTreeSet_default = Symbol('_is_SplayTreeSet_default'); +collection.SplayTreeSet$ = dart.generic(E => { + var _SplayTreeSetNodeOfE = () => (_SplayTreeSetNodeOfE = dart.constFn(collection._SplayTreeSetNode$(E)))(); + var _SplayTreeSetNodeNOfE = () => (_SplayTreeSetNodeNOfE = dart.constFn(dart.nullable(_SplayTreeSetNodeOfE())))(); + var _SplayTreeKeyIteratorOfE$_SplayTreeSetNodeOfE = () => (_SplayTreeKeyIteratorOfE$_SplayTreeSetNodeOfE = dart.constFn(collection._SplayTreeKeyIterator$(E, _SplayTreeSetNodeOfE())))(); + var IterableOfE = () => (IterableOfE = dart.constFn(core.Iterable$(E)))(); + var SplayTreeSetOfE = () => (SplayTreeSetOfE = dart.constFn(collection.SplayTreeSet$(E)))(); + var SetOfE = () => (SetOfE = dart.constFn(core.Set$(E)))(); + const _SplayTree_IterableMixin$36 = class _SplayTree_IterableMixin extends collection._SplayTree$(E, collection._SplayTreeSetNode$(E)) {}; + (_SplayTree_IterableMixin$36.new = function() { + _SplayTree_IterableMixin$36.__proto__.new.call(this); + }).prototype = _SplayTree_IterableMixin$36.prototype; + dart.applyMixin(_SplayTree_IterableMixin$36, collection.IterableMixin$(E)); + const _SplayTree_SetMixin$36 = class _SplayTree_SetMixin extends _SplayTree_IterableMixin$36 {}; + (_SplayTree_SetMixin$36.new = function() { + _SplayTree_SetMixin$36.__proto__.new.call(this); + }).prototype = _SplayTree_SetMixin$36.prototype; + dart.applyMixin(_SplayTree_SetMixin$36, collection.SetMixin$(E)); + class SplayTreeSet extends _SplayTree_SetMixin$36 { + get [_root]() { + return this[_root$0]; + } + set [_root](value) { + this[_root$0] = _SplayTreeSetNodeNOfE().as(value); + } + get [_compare]() { + return this[_compare$0]; + } + set [_compare](value) { + this[_compare$0] = value; + } + get [_validKey$0]() { + return this[_validKey$1]; + } + set [_validKey$0](value) { + this[_validKey$1] = value; + } + static from(elements, compare = null, isValidKey = null) { + if (elements == null) dart.nullFailed(I[84], 823, 38, "elements"); + if (core.Iterable$(E).is(elements)) { + return collection.SplayTreeSet$(E).of(elements, compare, isValidKey); + } + let result = new (collection.SplayTreeSet$(E)).new(compare, isValidKey); + for (let element of elements) { + result.add(E.as(element)); + } + return result; + } + static of(elements, compare = null, isValidKey = null) { + let t172; + if (elements == null) dart.nullFailed(I[84], 841, 39, "elements"); + t172 = new (collection.SplayTreeSet$(E)).new(compare, isValidKey); + return (() => { + t172.addAll(elements); + return t172; + })(); + } + [_newSet](T) { + return new (collection.SplayTreeSet$(T)).new(dart.fn((a, b) => { + let t173, t172; + t172 = E.as(a); + t173 = E.as(b); + return this[_compare](t172, t173); + }, dart.fnType(core.int, [T, T])), this[_validKey$0]); + } + cast(R) { + return core.Set.castFrom(E, R, this, {newSet: dart.bind(this, _newSet)}); + } + get iterator() { + return new (_SplayTreeKeyIteratorOfE$_SplayTreeSetNodeOfE()).new(this); + } + get length() { + return this[_count$]; + } + get isEmpty() { + return this[_root] == null; + } + get isNotEmpty() { + return this[_root] != null; + } + get first() { + if (this[_count$] === 0) dart.throw(_internal.IterableElementError.noElement()); + return dart.nullCheck(this[_first]).key; + } + get last() { + if (this[_count$] === 0) dart.throw(_internal.IterableElementError.noElement()); + return dart.nullCheck(this[_last$]).key; + } + get single() { + if (this[_count$] === 0) dart.throw(_internal.IterableElementError.noElement()); + if (dart.notNull(this[_count$]) > 1) dart.throw(_internal.IterableElementError.tooMany()); + return dart.nullCheck(this[_root]).key; + } + contains(element) { + let t172; + return dart.test((t172 = element, this[_validKey$0](t172))) && this[_splay](E.as(element)) === 0; + } + add(element) { + E.as(element); + return this[_add$](element); + } + [_add$](element) { + let compare = this[_splay](element); + if (compare === 0) return false; + this[_addNewRoot](new (_SplayTreeSetNodeOfE()).new(element), compare); + return true; + } + remove(object) { + let t172; + if (!dart.test((t172 = object, this[_validKey$0](t172)))) return false; + return this[_remove](E.as(object)) != null; + } + addAll(elements) { + IterableOfE().as(elements); + if (elements == null) dart.nullFailed(I[84], 895, 27, "elements"); + for (let element of elements) { + this[_add$](element); + } + } + removeAll(elements) { + let t172; + if (elements == null) dart.nullFailed(I[84], 901, 36, "elements"); + for (let element of elements) { + if (dart.test((t172 = element, this[_validKey$0](t172)))) this[_remove](E.as(element)); + } + } + retainAll(elements) { + let t172; + if (elements == null) dart.nullFailed(I[84], 907, 36, "elements"); + let retainSet = new (SplayTreeSetOfE()).new(this[_compare], this[_validKey$0]); + let modificationCount = this[_modificationCount]; + for (let object of elements) { + if (modificationCount != this[_modificationCount]) { + dart.throw(new core.ConcurrentModificationError.new(this)); + } + if (dart.test((t172 = object, this[_validKey$0](t172))) && this[_splay](E.as(object)) === 0) { + retainSet.add(dart.nullCheck(this[_root]).key); + } + } + if (retainSet[_count$] != this[_count$]) { + this[_root] = retainSet[_root]; + this[_count$] = retainSet[_count$]; + this[_modificationCount] = dart.notNull(this[_modificationCount]) + 1; + } + } + lookup(object) { + let t172; + if (!dart.test((t172 = object, this[_validKey$0](t172)))) return null; + let comp = this[_splay](E.as(object)); + if (comp !== 0) return null; + return dart.nullCheck(this[_root]).key; + } + intersection(other) { + if (other == null) dart.nullFailed(I[84], 936, 36, "other"); + let result = new (SplayTreeSetOfE()).new(this[_compare], this[_validKey$0]); + for (let element of this) { + if (dart.test(other.contains(element))) result.add(element); + } + return result; + } + difference(other) { + if (other == null) dart.nullFailed(I[84], 944, 34, "other"); + let result = new (SplayTreeSetOfE()).new(this[_compare], this[_validKey$0]); + for (let element of this) { + if (!dart.test(other.contains(element))) result.add(element); + } + return result; + } + union(other) { + let t172; + SetOfE().as(other); + if (other == null) dart.nullFailed(I[84], 952, 23, "other"); + t172 = this[_clone$](); + return (() => { + t172.addAll(other); + return t172; + })(); + } + [_clone$]() { + let set = new (SplayTreeSetOfE()).new(this[_compare], this[_validKey$0]); + set[_count$] = this[_count$]; + set[_root] = this[_copyNode](_SplayTreeSetNodeOfE(), this[_root]); + return set; + } + [_copyNode](Node, node) { + dart.checkTypeBound(Node, collection._SplayTreeNode$(E, Node), 'Node'); + if (node == null) return null; + function copyChildren(node, dest) { + if (node == null) dart.nullFailed(I[84], 972, 28, "node"); + if (dest == null) dart.nullFailed(I[84], 972, 55, "dest"); + let left = null; + let right = null; + do { + left = node[_left$]; + right = node[_right$]; + if (left != null) { + let newLeft = new (_SplayTreeSetNodeOfE()).new(left.key); + dest[_left$] = newLeft; + copyChildren(left, newLeft); + } + if (right != null) { + let newRight = new (_SplayTreeSetNodeOfE()).new(right.key); + dest[_right$] = newRight; + node = right; + dest = newRight; + } + } while (right != null); + } + dart.fn(copyChildren, dart.fnType(dart.void, [Node, _SplayTreeSetNodeOfE()])); + let result = new (_SplayTreeSetNodeOfE()).new(node.key); + copyChildren(node, result); + return result; + } + clear() { + this[_clear$](); + } + toSet() { + return this[_clone$](); + } + toString() { + return collection.IterableBase.iterableToFullString(this, "{", "}"); + } + } + (SplayTreeSet.new = function(compare = null, isValidKey = null) { + let t172, t172$; + this[_root$0] = null; + this[_compare$0] = (t172 = compare, t172 == null ? collection._defaultCompare(E) : t172); + this[_validKey$1] = (t172$ = isValidKey, t172$ == null ? dart.fn(v => E.is(v), T$0.dynamicTobool()) : t172$); + SplayTreeSet.__proto__.new.call(this); + ; + }).prototype = SplayTreeSet.prototype; + dart.addTypeTests(SplayTreeSet); + SplayTreeSet.prototype[_is_SplayTreeSet_default] = true; + dart.addTypeCaches(SplayTreeSet); + dart.setMethodSignature(SplayTreeSet, () => ({ + __proto__: dart.getMethods(SplayTreeSet.__proto__), + [_newSet]: dart.gFnType(T => [core.Set$(T), []], T => [dart.nullable(core.Object)]), + cast: dart.gFnType(R => [core.Set$(R), []], R => [dart.nullable(core.Object)]), + [$cast]: dart.gFnType(R => [core.Set$(R), []], R => [dart.nullable(core.Object)]), + add: dart.fnType(core.bool, [dart.nullable(core.Object)]), + [_add$]: dart.fnType(core.bool, [E]), + remove: dart.fnType(core.bool, [dart.nullable(core.Object)]), + lookup: dart.fnType(dart.nullable(E), [dart.nullable(core.Object)]), + [_clone$]: dart.fnType(collection.SplayTreeSet$(E), []), + [_copyNode]: dart.gFnType(Node => [dart.nullable(collection._SplayTreeSetNode$(E)), [dart.nullable(Node)]], Node => [collection._SplayTreeNode$(E, Node)]) + })); + dart.setGetterSignature(SplayTreeSet, () => ({ + __proto__: dart.getGetters(SplayTreeSet.__proto__), + iterator: core.Iterator$(E), + [$iterator]: core.Iterator$(E) + })); + dart.setLibraryUri(SplayTreeSet, I[24]); + dart.setFieldSignature(SplayTreeSet, () => ({ + __proto__: dart.getFields(SplayTreeSet.__proto__), + [_root]: dart.fieldType(dart.nullable(collection._SplayTreeSetNode$(E))), + [_compare]: dart.fieldType(dart.fnType(core.int, [E, E])), + [_validKey$0]: dart.fieldType(dart.fnType(core.bool, [dart.dynamic])) + })); + dart.defineExtensionMethods(SplayTreeSet, ['cast', 'contains', 'toSet', 'toString']); + dart.defineExtensionAccessors(SplayTreeSet, [ + 'iterator', + 'length', + 'isEmpty', + 'isNotEmpty', + 'first', + 'last', + 'single' + ]); + return SplayTreeSet; +}); +collection.SplayTreeSet = collection.SplayTreeSet$(); +dart.addTypeTests(collection.SplayTreeSet, _is_SplayTreeSet_default); +collection._defaultEquals = function _defaultEquals(a, b) { + return dart.equals(a, b); +}; +collection._defaultHashCode = function _defaultHashCode(a) { + return dart.hashCode(a); +}; +collection._isToStringVisiting = function _isToStringVisiting(o) { + if (o == null) dart.nullFailed(I[39], 281, 33, "o"); + for (let i = 0; i < dart.notNull(collection._toStringVisiting[$length]); i = i + 1) { + if (core.identical(o, collection._toStringVisiting[$_get](i))) return true; + } + return false; +}; +collection._iterablePartsToStrings = function _iterablePartsToStrings(iterable, parts) { + if (iterable == null) dart.nullFailed(I[39], 289, 48, "iterable"); + if (parts == null) dart.nullFailed(I[39], 289, 71, "parts"); + let length = 0; + let count = 0; + let it = iterable[$iterator]; + while (length < 80 || count < 3) { + if (!dart.test(it.moveNext())) return; + let next = dart.str(it.current); + parts[$add](next); + length = length + (next.length + 2); + count = count + 1; + } + let penultimateString = null; + let ultimateString = null; + if (!dart.test(it.moveNext())) { + if (count <= 3 + 2) return; + ultimateString = parts[$removeLast](); + penultimateString = parts[$removeLast](); + } else { + let penultimate = it.current; + count = count + 1; + if (!dart.test(it.moveNext())) { + if (count <= 3 + 1) { + parts[$add](dart.str(penultimate)); + return; + } + ultimateString = dart.str(penultimate); + penultimateString = parts[$removeLast](); + length = length + (ultimateString.length + 2); + } else { + let ultimate = it.current; + count = count + 1; + if (!(count < 100)) dart.assertFailed(null, I[39], 349, 14, "count < maxCount"); + while (dart.test(it.moveNext())) { + penultimate = ultimate; + ultimate = it.current; + count = count + 1; + if (count > 100) { + while (length > 80 - 3 - 2 && count > 3) { + length = length - (parts[$removeLast]().length + 2); + count = count - 1; + } + parts[$add]("..."); + return; + } + } + penultimateString = dart.str(penultimate); + ultimateString = dart.str(ultimate); + length = length + (ultimateString.length + penultimateString.length + 2 * 2); + } + } + let elision = null; + if (count > dart.notNull(parts[$length]) + 2) { + elision = "..."; + length = length + (3 + 2); + } + while (length > 80 && dart.notNull(parts[$length]) > 3) { + length = length - (parts[$removeLast]().length + 2); + if (elision == null) { + elision = "..."; + length = length + (3 + 2); + } + } + if (elision != null) { + parts[$add](elision); + } + parts[$add](penultimateString); + parts[$add](ultimateString); +}; +collection._dynamicCompare = function _dynamicCompare(a, b) { + return core.Comparable.compare(core.Comparable.as(a), core.Comparable.as(b)); +}; +collection._defaultCompare = function _defaultCompare(K) { + let compare = C[78] || CT.C78; + if (dart.fnType(core.int, [K, K]).is(compare)) { + return compare; + } + return C[79] || CT.C79; +}; +dart.defineLazy(collection, { + /*collection._toStringVisiting*/get _toStringVisiting() { + return T$.JSArrayOfObject().of([]); + } +}, false); +var _processed = dart.privateName(convert, "_processed"); +var _data = dart.privateName(convert, "_data"); +var _original$ = dart.privateName(convert, "_original"); +var _isUpgraded = dart.privateName(convert, "_isUpgraded"); +var _upgradedMap = dart.privateName(convert, "_upgradedMap"); +var _process = dart.privateName(convert, "_process"); +var _computeKeys = dart.privateName(convert, "_computeKeys"); +var _upgrade = dart.privateName(convert, "_upgrade"); +core.String = class String extends core.Object { + static _stringFromJSArray(list, start, endOrNull) { + if (start == null) dart.nullFailed(I[7], 598, 11, "start"); + let len = core.int.as(dart.dload(list, 'length')); + let end = core.RangeError.checkValidRange(start, endOrNull, len); + if (dart.notNull(start) > 0 || dart.notNull(end) < dart.notNull(len)) { + list = dart.dsend(list, 'sublist', [start, end]); + } + return _js_helper.Primitives.stringFromCharCodes(T$.JSArrayOfint().as(list)); + } + static _stringFromUint8List(charCodes, start, endOrNull) { + if (charCodes == null) dart.nullFailed(I[7], 609, 23, "charCodes"); + if (start == null) dart.nullFailed(I[7], 609, 38, "start"); + let len = charCodes[$length]; + let end = core.RangeError.checkValidRange(start, endOrNull, len); + return _js_helper.Primitives.stringFromNativeUint8List(charCodes, start, end); + } + static _stringFromIterable(charCodes, start, end) { + if (charCodes == null) dart.nullFailed(I[7], 616, 21, "charCodes"); + if (start == null) dart.nullFailed(I[7], 616, 36, "start"); + if (dart.notNull(start) < 0) dart.throw(new core.RangeError.range(start, 0, charCodes[$length])); + if (end != null && dart.notNull(end) < dart.notNull(start)) { + dart.throw(new core.RangeError.range(end, start, charCodes[$length])); + } + let it = charCodes[$iterator]; + for (let i = 0; i < dart.notNull(start); i = i + 1) { + if (!dart.test(it.moveNext())) { + dart.throw(new core.RangeError.range(start, 0, i)); + } + } + let list = T$.JSArrayOfint().of(new Array()); + if (end == null) { + while (dart.test(it.moveNext())) + list[$add](it.current); + } else { + for (let i = start; dart.notNull(i) < dart.notNull(end); i = dart.notNull(i) + 1) { + if (!dart.test(it.moveNext())) { + dart.throw(new core.RangeError.range(end, start, i)); + } + list[$add](it.current); + } + } + return _js_helper.Primitives.stringFromCharCodes(list); + } + static is(o) { + return typeof o == "string"; + } + static as(o) { + if (typeof o == "string") return o; + return dart.as(o, core.String); + } + static fromCharCodes(charCodes, start = 0, end = null) { + if (charCodes == null) dart.nullFailed(I[7], 573, 46, "charCodes"); + if (start == null) dart.nullFailed(I[7], 574, 12, "start"); + if (_interceptors.JSArray.is(charCodes)) { + return core.String._stringFromJSArray(charCodes, start, end); + } + if (_native_typed_data.NativeUint8List.is(charCodes)) { + return core.String._stringFromUint8List(charCodes, start, end); + } + return core.String._stringFromIterable(charCodes, start, end); + } + static fromCharCode(charCode) { + if (charCode == null) dart.nullFailed(I[7], 585, 35, "charCode"); + return _js_helper.Primitives.stringFromCharCode(charCode); + } + static fromEnvironment(name, opts) { + if (name == null) dart.nullFailed(I[7], 590, 41, "name"); + let defaultValue = opts && 'defaultValue' in opts ? opts.defaultValue : ""; + if (defaultValue == null) dart.nullFailed(I[7], 590, 55, "defaultValue"); + dart.throw(new core.UnsupportedError.new("String.fromEnvironment can only be used as a const constructor")); + } +}; +(core.String[dart.mixinNew] = function() { +}).prototype = core.String.prototype; +dart.addTypeCaches(core.String); +core.String[dart.implements] = () => [core.Comparable$(core.String), core.Pattern]; +dart.setLibraryUri(core.String, I[8]); +convert._JsonMap = class _JsonMap extends collection.MapBase$(core.String, dart.dynamic) { + _get(key) { + if (dart.test(this[_isUpgraded])) { + return this[_upgradedMap][$_get](key); + } else if (!(typeof key == 'string')) { + return null; + } else { + let result = convert._JsonMap._getProperty(this[_processed], key); + if (dart.test(convert._JsonMap._isUnprocessed(result))) result = this[_process](key); + return result; + } + } + get length() { + return dart.test(this[_isUpgraded]) ? this[_upgradedMap][$length] : this[_computeKeys]()[$length]; + } + get isEmpty() { + return this.length === 0; + } + get isNotEmpty() { + return dart.notNull(this.length) > 0; + } + get keys() { + if (dart.test(this[_isUpgraded])) return this[_upgradedMap][$keys]; + return new convert._JsonMapKeyIterable.new(this); + } + get values() { + if (dart.test(this[_isUpgraded])) return this[_upgradedMap][$values]; + return T$0.MappedIterableOfString$dynamic().new(this[_computeKeys](), dart.fn(each => this._get(each), T$0.ObjectNTodynamic())); + } + _set(key, value$) { + let value = value$; + core.String.as(key); + if (key == null) dart.nullFailed(I[85], 170, 16, "key"); + if (dart.test(this[_isUpgraded])) { + this[_upgradedMap][$_set](key, value); + } else if (dart.test(this.containsKey(key))) { + let processed = this[_processed]; + convert._JsonMap._setProperty(processed, key, value); + let original = this[_original$]; + if (!core.identical(original, processed)) { + convert._JsonMap._setProperty(original, key, null); + } + } else { + this[_upgrade]()[$_set](key, value); + } + return value$; + } + addAll(other) { + T$0.MapOfString$dynamic().as(other); + if (other == null) dart.nullFailed(I[85], 185, 36, "other"); + other[$forEach](dart.fn((key, value) => { + if (key == null) dart.nullFailed(I[85], 186, 20, "key"); + this._set(key, value); + }, T$0.StringAnddynamicTovoid())); + } + containsValue(value) { + if (dart.test(this[_isUpgraded])) return this[_upgradedMap][$containsValue](value); + let keys = this[_computeKeys](); + for (let i = 0; i < dart.notNull(keys[$length]); i = i + 1) { + let key = keys[$_get](i); + if (dart.equals(this._get(key), value)) return true; + } + return false; + } + containsKey(key) { + if (dart.test(this[_isUpgraded])) return this[_upgradedMap][$containsKey](key); + if (!(typeof key == 'string')) return false; + return convert._JsonMap._hasProperty(this[_original$], key); + } + putIfAbsent(key, ifAbsent) { + core.String.as(key); + if (key == null) dart.nullFailed(I[85], 207, 15, "key"); + T$.VoidTodynamic().as(ifAbsent); + if (ifAbsent == null) dart.nullFailed(I[85], 207, 20, "ifAbsent"); + if (dart.test(this.containsKey(key))) return this._get(key); + let value = ifAbsent(); + this._set(key, value); + return value; + } + remove(key) { + if (!dart.test(this[_isUpgraded]) && !dart.test(this.containsKey(key))) return null; + return this[_upgrade]()[$remove](key); + } + clear() { + if (dart.test(this[_isUpgraded])) { + this[_upgradedMap][$clear](); + } else { + if (this[_data] != null) { + dart.dsend(this[_data], 'clear', []); + } + this[_original$] = this[_processed] = null; + this[_data] = new _js_helper.LinkedMap.new(); + } + } + forEach(f) { + if (f == null) dart.nullFailed(I[85], 234, 21, "f"); + if (dart.test(this[_isUpgraded])) return this[_upgradedMap][$forEach](f); + let keys = this[_computeKeys](); + for (let i = 0; i < dart.notNull(keys[$length]); i = i + 1) { + let key = keys[$_get](i); + let value = convert._JsonMap._getProperty(this[_processed], key); + if (dart.test(convert._JsonMap._isUnprocessed(value))) { + value = convert._convertJsonToDartLazy(convert._JsonMap._getProperty(this[_original$], key)); + convert._JsonMap._setProperty(this[_processed], key, value); + } + f(key, value); + if (!core.identical(keys, this[_data])) { + dart.throw(new core.ConcurrentModificationError.new(this)); + } + } + } + get [_isUpgraded]() { + return this[_processed] == null; + } + get [_upgradedMap]() { + if (!dart.test(this[_isUpgraded])) dart.assertFailed(null, I[85], 266, 12, "_isUpgraded"); + return this[_data]; + } + [_computeKeys]() { + if (!!dart.test(this[_isUpgraded])) dart.assertFailed(null, I[85], 274, 12, "!_isUpgraded"); + let keys = T$.ListN().as(this[_data]); + if (keys == null) { + keys = this[_data] = convert._JsonMap._getPropertyNames(this[_original$]); + } + return keys; + } + [_upgrade]() { + if (dart.test(this[_isUpgraded])) return this[_upgradedMap]; + let result = new (T$0.IdentityMapOfString$dynamic()).new(); + let keys = this[_computeKeys](); + for (let i = 0; i < dart.notNull(keys[$length]); i = i + 1) { + let key = keys[$_get](i); + result[$_set](key, this._get(key)); + } + if (dart.test(keys[$isEmpty])) { + keys[$add](""); + } else { + keys[$clear](); + } + this[_original$] = this[_processed] = null; + this[_data] = result; + if (!dart.test(this[_isUpgraded])) dart.assertFailed(null, I[85], 307, 12, "_isUpgraded"); + return result; + } + [_process](key) { + if (key == null) dart.nullFailed(I[85], 311, 19, "key"); + if (!dart.test(convert._JsonMap._hasProperty(this[_original$], key))) return null; + let result = convert._convertJsonToDartLazy(convert._JsonMap._getProperty(this[_original$], key)); + return convert._JsonMap._setProperty(this[_processed], key, result); + } + static _hasProperty(object, key) { + if (key == null) dart.nullFailed(I[85], 321, 43, "key"); + return Object.prototype.hasOwnProperty.call(object, key); + } + static _getProperty(object, key) { + if (key == null) dart.nullFailed(I[85], 323, 38, "key"); + return object[key]; + } + static _setProperty(object, key, value) { + if (key == null) dart.nullFailed(I[85], 324, 38, "key"); + return object[key] = value; + } + static _getPropertyNames(object) { + return Object.keys(object); + } + static _isUnprocessed(object) { + return typeof object == "undefined"; + } + static _newJavaScriptObject() { + return Object.create(null); + } +}; +(convert._JsonMap.new = function(_original) { + this[_processed] = convert._JsonMap._newJavaScriptObject(); + this[_data] = null; + this[_original$] = _original; + ; +}).prototype = convert._JsonMap.prototype; +dart.addTypeTests(convert._JsonMap); +dart.addTypeCaches(convert._JsonMap); +dart.setMethodSignature(convert._JsonMap, () => ({ + __proto__: dart.getMethods(convert._JsonMap.__proto__), + _get: dart.fnType(dart.dynamic, [dart.nullable(core.Object)]), + [$_get]: dart.fnType(dart.dynamic, [dart.nullable(core.Object)]), + _set: dart.fnType(dart.void, [dart.nullable(core.Object), dart.nullable(core.Object)]), + [$_set]: dart.fnType(dart.void, [dart.nullable(core.Object), dart.nullable(core.Object)]), + remove: dart.fnType(dart.dynamic, [dart.nullable(core.Object)]), + [$remove]: dart.fnType(dart.dynamic, [dart.nullable(core.Object)]), + clear: dart.fnType(dart.void, []), + [$clear]: dart.fnType(dart.void, []), + [_computeKeys]: dart.fnType(core.List$(core.String), []), + [_upgrade]: dart.fnType(core.Map$(core.String, dart.dynamic), []), + [_process]: dart.fnType(dart.dynamic, [core.String]) +})); +dart.setGetterSignature(convert._JsonMap, () => ({ + __proto__: dart.getGetters(convert._JsonMap.__proto__), + keys: core.Iterable$(core.String), + [$keys]: core.Iterable$(core.String), + [_isUpgraded]: core.bool, + [_upgradedMap]: core.Map$(core.String, dart.dynamic) +})); +dart.setLibraryUri(convert._JsonMap, I[31]); +dart.setFieldSignature(convert._JsonMap, () => ({ + __proto__: dart.getFields(convert._JsonMap.__proto__), + [_original$]: dart.fieldType(dart.dynamic), + [_processed]: dart.fieldType(dart.dynamic), + [_data]: dart.fieldType(dart.dynamic) +})); +dart.defineExtensionMethods(convert._JsonMap, [ + '_get', + '_set', + 'addAll', + 'containsValue', + 'containsKey', + 'putIfAbsent', + 'remove', + 'clear', + 'forEach' +]); +dart.defineExtensionAccessors(convert._JsonMap, [ + 'length', + 'isEmpty', + 'isNotEmpty', + 'keys', + 'values' +]); +var _parent$ = dart.privateName(convert, "_parent"); +convert._JsonMapKeyIterable = class _JsonMapKeyIterable extends _internal.ListIterable$(core.String) { + get length() { + return this[_parent$].length; + } + elementAt(index) { + if (index == null) dart.nullFailed(I[85], 340, 24, "index"); + return dart.test(this[_parent$][_isUpgraded]) ? this[_parent$].keys[$elementAt](index) : this[_parent$][_computeKeys]()[$_get](index); + } + get iterator() { + return dart.test(this[_parent$][_isUpgraded]) ? this[_parent$].keys[$iterator] : this[_parent$][_computeKeys]()[$iterator]; + } + contains(key) { + return this[_parent$].containsKey(key); + } +}; +(convert._JsonMapKeyIterable.new = function(_parent) { + if (_parent == null) dart.nullFailed(I[85], 336, 28, "_parent"); + this[_parent$] = _parent; + convert._JsonMapKeyIterable.__proto__.new.call(this); + ; +}).prototype = convert._JsonMapKeyIterable.prototype; +dart.addTypeTests(convert._JsonMapKeyIterable); +dart.addTypeCaches(convert._JsonMapKeyIterable); +dart.setLibraryUri(convert._JsonMapKeyIterable, I[31]); +dart.setFieldSignature(convert._JsonMapKeyIterable, () => ({ + __proto__: dart.getFields(convert._JsonMapKeyIterable.__proto__), + [_parent$]: dart.finalFieldType(convert._JsonMap) +})); +dart.defineExtensionMethods(convert._JsonMapKeyIterable, ['elementAt', 'contains']); +dart.defineExtensionAccessors(convert._JsonMapKeyIterable, ['length', 'iterator']); +var _reviver$ = dart.privateName(convert, "_reviver"); +var _sink$0 = dart.privateName(convert, "_sink"); +var _stringSink$ = dart.privateName(convert, "_stringSink"); +convert.StringConversionSinkMixin = class StringConversionSinkMixin extends core.Object { + add(str) { + core.String.as(str); + if (str == null) dart.nullFailed(I[86], 162, 19, "str"); + this.addSlice(str, 0, str.length, false); + } + asUtf8Sink(allowMalformed) { + if (allowMalformed == null) dart.nullFailed(I[86], 166, 38, "allowMalformed"); + return new convert._Utf8ConversionSink.new(this, allowMalformed); + } + asStringSink() { + return new convert._StringConversionSinkAsStringSinkAdapter.new(this); + } +}; +(convert.StringConversionSinkMixin.new = function() { + ; +}).prototype = convert.StringConversionSinkMixin.prototype; +dart.addTypeTests(convert.StringConversionSinkMixin); +dart.addTypeCaches(convert.StringConversionSinkMixin); +convert.StringConversionSinkMixin[dart.implements] = () => [convert.StringConversionSink]; +dart.setMethodSignature(convert.StringConversionSinkMixin, () => ({ + __proto__: dart.getMethods(convert.StringConversionSinkMixin.__proto__), + add: dart.fnType(dart.void, [dart.nullable(core.Object)]), + asUtf8Sink: dart.fnType(convert.ByteConversionSink, [core.bool]), + asStringSink: dart.fnType(convert.ClosableStringSink, []) +})); +dart.setLibraryUri(convert.StringConversionSinkMixin, I[31]); +convert.StringConversionSinkBase = class StringConversionSinkBase extends convert.StringConversionSinkMixin {}; +(convert.StringConversionSinkBase.new = function() { + ; +}).prototype = convert.StringConversionSinkBase.prototype; +dart.addTypeTests(convert.StringConversionSinkBase); +dart.addTypeCaches(convert.StringConversionSinkBase); +dart.setLibraryUri(convert.StringConversionSinkBase, I[31]); +const _is__StringSinkConversionSink_default = Symbol('_is__StringSinkConversionSink_default'); +convert._StringSinkConversionSink$ = dart.generic(TStringSink => { + class _StringSinkConversionSink extends convert.StringConversionSinkBase { + close() { + } + addSlice(str, start, end, isLast) { + if (str == null) dart.nullFailed(I[86], 183, 24, "str"); + if (start == null) dart.nullFailed(I[86], 183, 33, "start"); + if (end == null) dart.nullFailed(I[86], 183, 44, "end"); + if (isLast == null) dart.nullFailed(I[86], 183, 54, "isLast"); + if (start !== 0 || end !== str.length) { + for (let i = start; dart.notNull(i) < dart.notNull(end); i = dart.notNull(i) + 1) { + this[_stringSink$].writeCharCode(str[$codeUnitAt](i)); + } + } else { + this[_stringSink$].write(str); + } + if (dart.test(isLast)) this.close(); + } + add(str) { + core.String.as(str); + if (str == null) dart.nullFailed(I[86], 194, 19, "str"); + this[_stringSink$].write(str); + } + asUtf8Sink(allowMalformed) { + if (allowMalformed == null) dart.nullFailed(I[86], 198, 38, "allowMalformed"); + return new convert._Utf8StringSinkAdapter.new(this, this[_stringSink$], allowMalformed); + } + asStringSink() { + return new convert._ClosableStringSink.new(this[_stringSink$], dart.bind(this, 'close')); + } + } + (_StringSinkConversionSink.new = function(_stringSink) { + if (_stringSink == null) dart.nullFailed(I[86], 179, 34, "_stringSink"); + this[_stringSink$] = _stringSink; + ; + }).prototype = _StringSinkConversionSink.prototype; + dart.addTypeTests(_StringSinkConversionSink); + _StringSinkConversionSink.prototype[_is__StringSinkConversionSink_default] = true; + dart.addTypeCaches(_StringSinkConversionSink); + dart.setMethodSignature(_StringSinkConversionSink, () => ({ + __proto__: dart.getMethods(_StringSinkConversionSink.__proto__), + close: dart.fnType(dart.void, []), + addSlice: dart.fnType(dart.void, [core.String, core.int, core.int, core.bool]) + })); + dart.setLibraryUri(_StringSinkConversionSink, I[31]); + dart.setFieldSignature(_StringSinkConversionSink, () => ({ + __proto__: dart.getFields(_StringSinkConversionSink.__proto__), + [_stringSink$]: dart.finalFieldType(TStringSink) + })); + return _StringSinkConversionSink; +}); +convert._StringSinkConversionSink = convert._StringSinkConversionSink$(); +dart.addTypeTests(convert._StringSinkConversionSink, _is__StringSinkConversionSink_default); +var _contents = dart.privateName(core, "_contents"); +var _writeString = dart.privateName(core, "_writeString"); +core.StringBuffer = class StringBuffer extends core.Object { + [_writeString](str) { + this[_contents] = this[_contents] + str; + } + static _writeAll(string, objects, separator) { + if (string == null) dart.nullFailed(I[7], 751, 34, "string"); + if (objects == null) dart.nullFailed(I[7], 751, 51, "objects"); + if (separator == null) dart.nullFailed(I[7], 751, 67, "separator"); + let iterator = objects[$iterator]; + if (!dart.test(iterator.moveNext())) return string; + if (separator[$isEmpty]) { + do { + string = core.StringBuffer._writeOne(string, iterator.current); + } while (dart.test(iterator.moveNext())); + } else { + string = core.StringBuffer._writeOne(string, iterator.current); + while (dart.test(iterator.moveNext())) { + string = core.StringBuffer._writeOne(string, separator); + string = core.StringBuffer._writeOne(string, iterator.current); + } + } + return string; + } + static _writeOne(string, obj) { + return string + dart.str(obj); + } + get length() { + return this[_contents].length; + } + get isEmpty() { + return this.length === 0; + } + get isNotEmpty() { + return !dart.test(this.isEmpty); + } + write(obj) { + this[_writeString](dart.str(obj)); + } + writeCharCode(charCode) { + if (charCode == null) dart.nullFailed(I[7], 725, 26, "charCode"); + this[_writeString](core.String.fromCharCode(charCode)); + } + writeAll(objects, separator = "") { + if (objects == null) dart.nullFailed(I[7], 730, 35, "objects"); + if (separator == null) dart.nullFailed(I[7], 730, 52, "separator"); + this[_contents] = core.StringBuffer._writeAll(this[_contents], objects, separator); + } + writeln(obj = "") { + this[_writeString](dart.str(obj) + "\n"); + } + clear() { + this[_contents] = ""; + } + toString() { + return _js_helper.Primitives.flattenString(this[_contents]); + } +}; +(core.StringBuffer.new = function(content = "") { + if (content == null) dart.nullFailed(I[7], 714, 24, "content"); + this[_contents] = dart.str(content); + ; +}).prototype = core.StringBuffer.prototype; +dart.addTypeTests(core.StringBuffer); +dart.addTypeCaches(core.StringBuffer); +core.StringBuffer[dart.implements] = () => [core.StringSink]; +dart.setMethodSignature(core.StringBuffer, () => ({ + __proto__: dart.getMethods(core.StringBuffer.__proto__), + [_writeString]: dart.fnType(dart.void, [core.String]), + write: dart.fnType(dart.void, [dart.nullable(core.Object)]), + writeCharCode: dart.fnType(dart.void, [core.int]), + writeAll: dart.fnType(dart.void, [core.Iterable], [core.String]), + writeln: dart.fnType(dart.void, [], [dart.nullable(core.Object)]), + clear: dart.fnType(dart.void, []) +})); +dart.setGetterSignature(core.StringBuffer, () => ({ + __proto__: dart.getGetters(core.StringBuffer.__proto__), + length: core.int, + isEmpty: core.bool, + isNotEmpty: core.bool +})); +dart.setLibraryUri(core.StringBuffer, I[8]); +dart.setFieldSignature(core.StringBuffer, () => ({ + __proto__: dart.getFields(core.StringBuffer.__proto__), + [_contents]: dart.fieldType(core.String) +})); +dart.defineExtensionMethods(core.StringBuffer, ['toString']); +convert._JsonDecoderSink = class _JsonDecoderSink extends convert._StringSinkConversionSink$(core.StringBuffer) { + close() { + super.close(); + let accumulated = dart.toString(this[_stringSink$]); + this[_stringSink$].clear(); + let decoded = convert._parseJson(accumulated, this[_reviver$]); + this[_sink$0].add(decoded); + this[_sink$0].close(); + } +}; +(convert._JsonDecoderSink.new = function(_reviver, _sink) { + if (_sink == null) dart.nullFailed(I[85], 379, 40, "_sink"); + this[_reviver$] = _reviver; + this[_sink$0] = _sink; + convert._JsonDecoderSink.__proto__.new.call(this, new core.StringBuffer.new("")); + ; +}).prototype = convert._JsonDecoderSink.prototype; +dart.addTypeTests(convert._JsonDecoderSink); +dart.addTypeCaches(convert._JsonDecoderSink); +dart.setLibraryUri(convert._JsonDecoderSink, I[31]); +dart.setFieldSignature(convert._JsonDecoderSink, () => ({ + __proto__: dart.getFields(convert._JsonDecoderSink.__proto__), + [_reviver$]: dart.finalFieldType(dart.nullable(dart.fnType(dart.nullable(core.Object), [dart.nullable(core.Object), dart.nullable(core.Object)]))), + [_sink$0]: dart.finalFieldType(core.Sink$(dart.nullable(core.Object))) +})); +var _allowInvalid = dart.privateName(convert, "AsciiCodec._allowInvalid"); +var _allowInvalid$ = dart.privateName(convert, "_allowInvalid"); +var _UnicodeSubsetDecoder__subsetMask = dart.privateName(convert, "_UnicodeSubsetDecoder._subsetMask"); +var _UnicodeSubsetDecoder__allowInvalid = dart.privateName(convert, "_UnicodeSubsetDecoder._allowInvalid"); +var _UnicodeSubsetEncoder__subsetMask = dart.privateName(convert, "_UnicodeSubsetEncoder._subsetMask"); +const _is_Codec_default = Symbol('_is_Codec_default'); +convert.Codec$ = dart.generic((S, T) => { + var _InvertedCodecOfT$S = () => (_InvertedCodecOfT$S = dart.constFn(convert._InvertedCodec$(T, S)))(); + class Codec extends core.Object { + encode(input) { + S.as(input); + return this.encoder.convert(input); + } + decode(encoded) { + T.as(encoded); + return this.decoder.convert(encoded); + } + fuse(R, other) { + convert.Codec$(T, R).as(other); + if (other == null) dart.nullFailed(I[89], 64, 35, "other"); + return new (convert._FusedCodec$(S, T, R)).new(this, other); + } + get inverted() { + return new (_InvertedCodecOfT$S()).new(this); + } + } + (Codec.new = function() { + ; + }).prototype = Codec.prototype; + dart.addTypeTests(Codec); + Codec.prototype[_is_Codec_default] = true; + dart.addTypeCaches(Codec); + dart.setMethodSignature(Codec, () => ({ + __proto__: dart.getMethods(Codec.__proto__), + encode: dart.fnType(T, [dart.nullable(core.Object)]), + decode: dart.fnType(S, [dart.nullable(core.Object)]), + fuse: dart.gFnType(R => [convert.Codec$(S, R), [dart.nullable(core.Object)]], R => [dart.nullable(core.Object)]) + })); + dart.setGetterSignature(Codec, () => ({ + __proto__: dart.getGetters(Codec.__proto__), + inverted: convert.Codec$(T, S) + })); + dart.setLibraryUri(Codec, I[31]); + return Codec; +}); +convert.Codec = convert.Codec$(); +dart.addTypeTests(convert.Codec, _is_Codec_default); +core.List$ = dart.generic(E => { + class List extends core.Object { + static new(length = null) { + let list = null; + if (length === void 0) { + list = []; + } else { + let _length = length; + if (length == null || _length < 0) { + dart.throw(new core.ArgumentError.new("Length must be a non-negative integer: " + dart.str(_length))); + } + list = new Array(_length); + list.fill(null); + _interceptors.JSArray.markFixedList(list); + } + return _interceptors.JSArray$(E).of(list); + } + static filled(length, fill, opts) { + if (length == null) dart.argumentError(length); + let growable = opts && 'growable' in opts ? opts.growable : false; + if (growable == null) dart.nullFailed(I[7], 497, 60, "growable"); + let list = _interceptors.JSArray$(E).of(new Array(length)); + list.fill(fill); + if (!dart.test(growable)) _interceptors.JSArray.markFixedList(list); + return list; + } + static empty(opts) { + let growable = opts && 'growable' in opts ? opts.growable : false; + if (growable == null) dart.nullFailed(I[7], 490, 28, "growable"); + let list = _interceptors.JSArray$(E).of(new Array()); + if (!dart.test(growable)) _interceptors.JSArray.markFixedList(list); + return list; + } + static from(elements, opts) { + if (elements == null) dart.nullFailed(I[7], 505, 30, "elements"); + let growable = opts && 'growable' in opts ? opts.growable : true; + if (growable == null) dart.nullFailed(I[7], 505, 46, "growable"); + let list = _interceptors.JSArray$(E).of([]); + if (core.Iterable$(E).is(elements)) { + for (let e of elements) { + list.push(e); + } + } else { + for (let e of elements) { + list.push(E.as(e)); + } + } + if (!dart.test(growable)) _interceptors.JSArray.markFixedList(list); + return list; + } + static of(elements, opts) { + if (elements == null) dart.nullFailed(I[7], 527, 31, "elements"); + let growable = opts && 'growable' in opts ? opts.growable : true; + if (growable == null) dart.nullFailed(I[7], 527, 47, "growable"); + let list = _interceptors.JSArray$(E).of([]); + for (let e of elements) { + list.push(e); + } + if (!dart.test(growable)) _interceptors.JSArray.markFixedList(list); + return list; + } + static generate(length, generator, opts) { + if (length == null) dart.nullFailed(I[7], 539, 29, "length"); + if (generator == null) dart.nullFailed(I[7], 539, 39, "generator"); + let growable = opts && 'growable' in opts ? opts.growable : true; + if (growable == null) dart.nullFailed(I[7], 540, 13, "growable"); + let result = _interceptors.JSArray$(E).of(new Array(length)); + if (!dart.test(growable)) _interceptors.JSArray.markFixedList(result); + for (let i = 0; i < dart.notNull(length); i = i + 1) { + result[i] = generator(i); + } + return result; + } + static unmodifiable(elements) { + if (elements == null) dart.nullFailed(I[7], 552, 38, "elements"); + let list = core.List$(E).from(elements); + _interceptors.JSArray.markUnmodifiableList(list); + return list; + } + static castFrom(S, T, source) { + if (source == null) dart.nullFailed(I[90], 190, 41, "source"); + return new (_internal.CastList$(S, T)).new(source); + } + static copyRange(T, target, at, source, start = null, end = null) { + if (target == null) dart.nullFailed(I[90], 206, 36, "target"); + if (at == null) dart.nullFailed(I[90], 206, 48, "at"); + if (source == null) dart.nullFailed(I[90], 206, 60, "source"); + start == null ? start = 0 : null; + end = core.RangeError.checkValidRange(start, end, source[$length]); + if (end == null) { + dart.throw("unreachable"); + } + let length = dart.notNull(end) - dart.notNull(start); + if (dart.notNull(target[$length]) < dart.notNull(at) + length) { + dart.throw(new core.ArgumentError.value(target, "target", "Not big enough to hold " + dart.str(length) + " elements at position " + dart.str(at))); + } + if (source != target || dart.notNull(start) >= dart.notNull(at)) { + for (let i = 0; i < length; i = i + 1) { + target[$_set](dart.notNull(at) + i, source[$_get](dart.notNull(start) + i)); + } + } else { + for (let i = length; (i = i - 1) >= 0;) { + target[$_set](dart.notNull(at) + i, source[$_get](dart.notNull(start) + i)); + } + } + } + static writeIterable(T, target, at, source) { + if (target == null) dart.nullFailed(I[90], 241, 40, "target"); + if (at == null) dart.nullFailed(I[90], 241, 52, "at"); + if (source == null) dart.nullFailed(I[90], 241, 68, "source"); + core.RangeError.checkValueInInterval(at, 0, target[$length], "at"); + let index = at; + let targetLength = target[$length]; + for (let element of source) { + if (index == targetLength) { + dart.throw(new core.IndexError.new(targetLength, target)); + } + target[$_set](index, element); + index = dart.notNull(index) + 1; + } + } + [Symbol.iterator]() { + return new dart.JsIterator(this[$iterator]); + } + } + (List[dart.mixinNew] = function() { + }).prototype = List.prototype; + dart.addTypeTests(List); + List.prototype[dart.isList] = true; + dart.addTypeCaches(List); + List[dart.implements] = () => [_internal.EfficientLengthIterable$(E)]; + dart.setLibraryUri(List, I[8]); + return List; +}); +core.List = core.List$(); +dart.addTypeTests(core.List, dart.isList); +convert.Encoding = class Encoding extends convert.Codec$(core.String, core.List$(core.int)) { + decodeStream(byteStream) { + if (byteStream == null) dart.nullFailed(I[88], 21, 49, "byteStream"); + return this.decoder.bind(byteStream).fold(core.StringBuffer, new core.StringBuffer.new(), dart.fn((buffer, string) => { + let t172; + if (buffer == null) dart.nullFailed(I[88], 25, 27, "buffer"); + if (string == null) dart.nullFailed(I[88], 25, 42, "string"); + t172 = buffer; + return (() => { + t172.write(string); + return t172; + })(); + }, T$0.StringBufferAndStringToStringBuffer())).then(core.String, dart.fn(buffer => { + if (buffer == null) dart.nullFailed(I[88], 26, 29, "buffer"); + return dart.toString(buffer); + }, T$0.StringBufferToString())); + } + static getByName(name) { + if (name == null) return null; + return convert.Encoding._nameToEncoding[$_get](name[$toLowerCase]()); + } +}; +(convert.Encoding.new = function() { + convert.Encoding.__proto__.new.call(this); + ; +}).prototype = convert.Encoding.prototype; +dart.addTypeTests(convert.Encoding); +dart.addTypeCaches(convert.Encoding); +dart.setMethodSignature(convert.Encoding, () => ({ + __proto__: dart.getMethods(convert.Encoding.__proto__), + decodeStream: dart.fnType(async.Future$(core.String), [async.Stream$(core.List$(core.int))]) +})); +dart.setLibraryUri(convert.Encoding, I[31]); +dart.defineLazy(convert.Encoding, { + /*convert.Encoding._nameToEncoding*/get _nameToEncoding() { + return new (T$0.IdentityMapOfString$Encoding()).from(["iso_8859-1:1987", convert.latin1, "iso-ir-100", convert.latin1, "iso_8859-1", convert.latin1, "iso-8859-1", convert.latin1, "latin1", convert.latin1, "l1", convert.latin1, "ibm819", convert.latin1, "cp819", convert.latin1, "csisolatin1", convert.latin1, "iso-ir-6", convert.ascii, "ansi_x3.4-1968", convert.ascii, "ansi_x3.4-1986", convert.ascii, "iso_646.irv:1991", convert.ascii, "iso646-us", convert.ascii, "us-ascii", convert.ascii, "us", convert.ascii, "ibm367", convert.ascii, "cp367", convert.ascii, "csascii", convert.ascii, "ascii", convert.ascii, "csutf8", convert.utf8, "utf-8", convert.utf8]); + } +}, false); +convert.AsciiCodec = class AsciiCodec extends convert.Encoding { + get [_allowInvalid$]() { + return this[_allowInvalid]; + } + set [_allowInvalid$](value) { + super[_allowInvalid$] = value; + } + get name() { + return "us-ascii"; + } + encode(source) { + core.String.as(source); + if (source == null) dart.nullFailed(I[87], 41, 27, "source"); + return this.encoder.convert(source); + } + decode(bytes, opts) { + let t172; + T$0.ListOfint().as(bytes); + if (bytes == null) dart.nullFailed(I[87], 51, 27, "bytes"); + let allowInvalid = opts && 'allowInvalid' in opts ? opts.allowInvalid : null; + if (dart.test((t172 = allowInvalid, t172 == null ? this[_allowInvalid$] : t172))) { + return (C[80] || CT.C80).convert(bytes); + } else { + return (C[81] || CT.C81).convert(bytes); + } + } + get encoder() { + return C[82] || CT.C82; + } + get decoder() { + return dart.test(this[_allowInvalid$]) ? C[80] || CT.C80 : C[81] || CT.C81; + } +}; +(convert.AsciiCodec.new = function(opts) { + let allowInvalid = opts && 'allowInvalid' in opts ? opts.allowInvalid : false; + if (allowInvalid == null) dart.nullFailed(I[87], 36, 26, "allowInvalid"); + this[_allowInvalid] = allowInvalid; + convert.AsciiCodec.__proto__.new.call(this); + ; +}).prototype = convert.AsciiCodec.prototype; +dart.addTypeTests(convert.AsciiCodec); +dart.addTypeCaches(convert.AsciiCodec); +dart.setMethodSignature(convert.AsciiCodec, () => ({ + __proto__: dart.getMethods(convert.AsciiCodec.__proto__), + encode: dart.fnType(typed_data.Uint8List, [dart.nullable(core.Object)]), + decode: dart.fnType(core.String, [dart.nullable(core.Object)], {allowInvalid: dart.nullable(core.bool)}, {}) +})); +dart.setGetterSignature(convert.AsciiCodec, () => ({ + __proto__: dart.getGetters(convert.AsciiCodec.__proto__), + name: core.String, + encoder: convert.AsciiEncoder, + decoder: convert.AsciiDecoder +})); +dart.setLibraryUri(convert.AsciiCodec, I[31]); +dart.setFieldSignature(convert.AsciiCodec, () => ({ + __proto__: dart.getFields(convert.AsciiCodec.__proto__), + [_allowInvalid$]: dart.finalFieldType(core.bool) +})); +var _subsetMask$ = dart.privateName(convert, "_subsetMask"); +const _subsetMask$0 = _UnicodeSubsetEncoder__subsetMask; +convert._UnicodeSubsetEncoder = class _UnicodeSubsetEncoder extends convert.Converter$(core.String, core.List$(core.int)) { + get [_subsetMask$]() { + return this[_subsetMask$0]; + } + set [_subsetMask$](value) { + super[_subsetMask$] = value; + } + convert(string, start = 0, end = null) { + core.String.as(string); + if (string == null) dart.nullFailed(I[87], 77, 28, "string"); + if (start == null) dart.nullFailed(I[87], 77, 41, "start"); + let stringLength = string.length; + end = core.RangeError.checkValidRange(start, end, stringLength); + if (end == null) { + dart.throw(new core.RangeError.new("Invalid range")); + } + let length = dart.notNull(end) - dart.notNull(start); + let result = _native_typed_data.NativeUint8List.new(length); + for (let i = 0; i < length; i = i + 1) { + let codeUnit = string[$codeUnitAt](dart.notNull(start) + i); + if ((codeUnit & ~dart.notNull(this[_subsetMask$]) >>> 0) !== 0) { + dart.throw(new core.ArgumentError.value(string, "string", "Contains invalid characters.")); + } + result[$_set](i, codeUnit); + } + return result; + } + startChunkedConversion(sink) { + T$0.SinkOfListOfint().as(sink); + if (sink == null) dart.nullFailed(I[87], 101, 63, "sink"); + return new convert._UnicodeSubsetEncoderSink.new(this[_subsetMask$], convert.ByteConversionSink.is(sink) ? sink : new convert._ByteAdapterSink.new(sink)); + } + bind(stream) { + T$0.StreamOfString().as(stream); + if (stream == null) dart.nullFailed(I[87], 107, 41, "stream"); + return super.bind(stream); + } +}; +(convert._UnicodeSubsetEncoder.new = function(_subsetMask) { + if (_subsetMask == null) dart.nullFailed(I[87], 71, 36, "_subsetMask"); + this[_subsetMask$0] = _subsetMask; + convert._UnicodeSubsetEncoder.__proto__.new.call(this); + ; +}).prototype = convert._UnicodeSubsetEncoder.prototype; +dart.addTypeTests(convert._UnicodeSubsetEncoder); +dart.addTypeCaches(convert._UnicodeSubsetEncoder); +dart.setMethodSignature(convert._UnicodeSubsetEncoder, () => ({ + __proto__: dart.getMethods(convert._UnicodeSubsetEncoder.__proto__), + convert: dart.fnType(typed_data.Uint8List, [dart.nullable(core.Object)], [core.int, dart.nullable(core.int)]), + startChunkedConversion: dart.fnType(convert.StringConversionSink, [dart.nullable(core.Object)]) +})); +dart.setLibraryUri(convert._UnicodeSubsetEncoder, I[31]); +dart.setFieldSignature(convert._UnicodeSubsetEncoder, () => ({ + __proto__: dart.getFields(convert._UnicodeSubsetEncoder.__proto__), + [_subsetMask$]: dart.finalFieldType(core.int) +})); +convert.AsciiEncoder = class AsciiEncoder extends convert._UnicodeSubsetEncoder {}; +(convert.AsciiEncoder.new = function() { + convert.AsciiEncoder.__proto__.new.call(this, 127); + ; +}).prototype = convert.AsciiEncoder.prototype; +dart.addTypeTests(convert.AsciiEncoder); +dart.addTypeCaches(convert.AsciiEncoder); +dart.setLibraryUri(convert.AsciiEncoder, I[31]); +convert._UnicodeSubsetEncoderSink = class _UnicodeSubsetEncoderSink extends convert.StringConversionSinkBase { + close() { + this[_sink$0].close(); + } + addSlice(source, start, end, isLast) { + if (source == null) dart.nullFailed(I[87], 127, 24, "source"); + if (start == null) dart.nullFailed(I[87], 127, 36, "start"); + if (end == null) dart.nullFailed(I[87], 127, 47, "end"); + if (isLast == null) dart.nullFailed(I[87], 127, 57, "isLast"); + core.RangeError.checkValidRange(start, end, source.length); + for (let i = start; dart.notNull(i) < dart.notNull(end); i = dart.notNull(i) + 1) { + let codeUnit = source[$codeUnitAt](i); + if ((codeUnit & ~dart.notNull(this[_subsetMask$]) >>> 0) !== 0) { + dart.throw(new core.ArgumentError.new("Source contains invalid character with code point: " + dart.str(codeUnit) + ".")); + } + } + this[_sink$0].add(source[$codeUnits][$sublist](start, end)); + if (dart.test(isLast)) { + this.close(); + } + } +}; +(convert._UnicodeSubsetEncoderSink.new = function(_subsetMask, _sink) { + if (_subsetMask == null) dart.nullFailed(I[87], 121, 34, "_subsetMask"); + if (_sink == null) dart.nullFailed(I[87], 121, 52, "_sink"); + this[_subsetMask$] = _subsetMask; + this[_sink$0] = _sink; + ; +}).prototype = convert._UnicodeSubsetEncoderSink.prototype; +dart.addTypeTests(convert._UnicodeSubsetEncoderSink); +dart.addTypeCaches(convert._UnicodeSubsetEncoderSink); +dart.setMethodSignature(convert._UnicodeSubsetEncoderSink, () => ({ + __proto__: dart.getMethods(convert._UnicodeSubsetEncoderSink.__proto__), + close: dart.fnType(dart.void, []), + addSlice: dart.fnType(dart.void, [core.String, core.int, core.int, core.bool]) +})); +dart.setLibraryUri(convert._UnicodeSubsetEncoderSink, I[31]); +dart.setFieldSignature(convert._UnicodeSubsetEncoderSink, () => ({ + __proto__: dart.getFields(convert._UnicodeSubsetEncoderSink.__proto__), + [_sink$0]: dart.finalFieldType(convert.ByteConversionSink), + [_subsetMask$]: dart.finalFieldType(core.int) +})); +var _convertInvalid = dart.privateName(convert, "_convertInvalid"); +const _allowInvalid$0 = _UnicodeSubsetDecoder__allowInvalid; +const _subsetMask$1 = _UnicodeSubsetDecoder__subsetMask; +convert._UnicodeSubsetDecoder = class _UnicodeSubsetDecoder extends convert.Converter$(core.List$(core.int), core.String) { + get [_allowInvalid$]() { + return this[_allowInvalid$0]; + } + set [_allowInvalid$](value) { + super[_allowInvalid$] = value; + } + get [_subsetMask$]() { + return this[_subsetMask$1]; + } + set [_subsetMask$](value) { + super[_subsetMask$] = value; + } + convert(bytes, start = 0, end = null) { + T$0.ListOfint().as(bytes); + if (bytes == null) dart.nullFailed(I[87], 168, 28, "bytes"); + if (start == null) dart.nullFailed(I[87], 168, 40, "start"); + end = core.RangeError.checkValidRange(start, end, bytes[$length]); + if (end == null) { + dart.throw(new core.RangeError.new("Invalid range")); + } + for (let i = start; dart.notNull(i) < dart.notNull(end); i = dart.notNull(i) + 1) { + let byte = bytes[$_get](i); + if ((dart.notNull(byte) & ~dart.notNull(this[_subsetMask$]) >>> 0) !== 0) { + if (!dart.test(this[_allowInvalid$])) { + dart.throw(new core.FormatException.new("Invalid value in input: " + dart.str(byte))); + } + return this[_convertInvalid](bytes, start, end); + } + } + return core.String.fromCharCodes(bytes, start, end); + } + [_convertInvalid](bytes, start, end) { + if (bytes == null) dart.nullFailed(I[87], 186, 36, "bytes"); + if (start == null) dart.nullFailed(I[87], 186, 47, "start"); + if (end == null) dart.nullFailed(I[87], 186, 58, "end"); + let buffer = new core.StringBuffer.new(); + for (let i = start; dart.notNull(i) < dart.notNull(end); i = dart.notNull(i) + 1) { + let value = bytes[$_get](i); + if ((dart.notNull(value) & ~dart.notNull(this[_subsetMask$]) >>> 0) !== 0) value = 65533; + buffer.writeCharCode(value); + } + return buffer.toString(); + } + bind(stream) { + T$0.StreamOfListOfint().as(stream); + if (stream == null) dart.nullFailed(I[87], 203, 41, "stream"); + return super.bind(stream); + } +}; +(convert._UnicodeSubsetDecoder.new = function(_allowInvalid, _subsetMask) { + if (_allowInvalid == null) dart.nullFailed(I[87], 161, 36, "_allowInvalid"); + if (_subsetMask == null) dart.nullFailed(I[87], 161, 56, "_subsetMask"); + this[_allowInvalid$0] = _allowInvalid; + this[_subsetMask$1] = _subsetMask; + convert._UnicodeSubsetDecoder.__proto__.new.call(this); + ; +}).prototype = convert._UnicodeSubsetDecoder.prototype; +dart.addTypeTests(convert._UnicodeSubsetDecoder); +dart.addTypeCaches(convert._UnicodeSubsetDecoder); +dart.setMethodSignature(convert._UnicodeSubsetDecoder, () => ({ + __proto__: dart.getMethods(convert._UnicodeSubsetDecoder.__proto__), + convert: dart.fnType(core.String, [dart.nullable(core.Object)], [core.int, dart.nullable(core.int)]), + [_convertInvalid]: dart.fnType(core.String, [core.List$(core.int), core.int, core.int]) +})); +dart.setLibraryUri(convert._UnicodeSubsetDecoder, I[31]); +dart.setFieldSignature(convert._UnicodeSubsetDecoder, () => ({ + __proto__: dart.getFields(convert._UnicodeSubsetDecoder.__proto__), + [_allowInvalid$]: dart.finalFieldType(core.bool), + [_subsetMask$]: dart.finalFieldType(core.int) +})); +convert.AsciiDecoder = class AsciiDecoder extends convert._UnicodeSubsetDecoder { + startChunkedConversion(sink) { + T$0.SinkOfString().as(sink); + if (sink == null) dart.nullFailed(I[87], 214, 58, "sink"); + let stringSink = null; + if (convert.StringConversionSink.is(sink)) { + stringSink = sink; + } else { + stringSink = new convert._StringAdapterSink.new(sink); + } + if (dart.test(this[_allowInvalid$])) { + return new convert._ErrorHandlingAsciiDecoderSink.new(stringSink.asUtf8Sink(false)); + } else { + return new convert._SimpleAsciiDecoderSink.new(stringSink); + } + } +}; +(convert.AsciiDecoder.new = function(opts) { + let allowInvalid = opts && 'allowInvalid' in opts ? opts.allowInvalid : false; + if (allowInvalid == null) dart.nullFailed(I[87], 207, 28, "allowInvalid"); + convert.AsciiDecoder.__proto__.new.call(this, allowInvalid, 127); + ; +}).prototype = convert.AsciiDecoder.prototype; +dart.addTypeTests(convert.AsciiDecoder); +dart.addTypeCaches(convert.AsciiDecoder); +dart.setMethodSignature(convert.AsciiDecoder, () => ({ + __proto__: dart.getMethods(convert.AsciiDecoder.__proto__), + startChunkedConversion: dart.fnType(convert.ByteConversionSink, [dart.nullable(core.Object)]) +})); +dart.setLibraryUri(convert.AsciiDecoder, I[31]); +var _utf8Sink$ = dart.privateName(convert, "_utf8Sink"); +const _is_ChunkedConversionSink_default = Symbol('_is_ChunkedConversionSink_default'); +convert.ChunkedConversionSink$ = dart.generic(T => { + class ChunkedConversionSink extends core.Object {} + (ChunkedConversionSink.new = function() { + ; + }).prototype = ChunkedConversionSink.prototype; + dart.addTypeTests(ChunkedConversionSink); + ChunkedConversionSink.prototype[_is_ChunkedConversionSink_default] = true; + dart.addTypeCaches(ChunkedConversionSink); + ChunkedConversionSink[dart.implements] = () => [core.Sink$(T)]; + dart.setLibraryUri(ChunkedConversionSink, I[31]); + return ChunkedConversionSink; +}); +convert.ChunkedConversionSink = convert.ChunkedConversionSink$(); +dart.addTypeTests(convert.ChunkedConversionSink, _is_ChunkedConversionSink_default); +convert.ByteConversionSink = class ByteConversionSink extends convert.ChunkedConversionSink$(core.List$(core.int)) {}; +(convert.ByteConversionSink.new = function() { + convert.ByteConversionSink.__proto__.new.call(this); + ; +}).prototype = convert.ByteConversionSink.prototype; +dart.addTypeTests(convert.ByteConversionSink); +dart.addTypeCaches(convert.ByteConversionSink); +dart.setLibraryUri(convert.ByteConversionSink, I[31]); +convert.ByteConversionSinkBase = class ByteConversionSinkBase extends convert.ByteConversionSink { + addSlice(chunk, start, end, isLast) { + if (chunk == null) dart.nullFailed(I[91], 42, 27, "chunk"); + if (start == null) dart.nullFailed(I[91], 42, 38, "start"); + if (end == null) dart.nullFailed(I[91], 42, 49, "end"); + if (isLast == null) dart.nullFailed(I[91], 42, 59, "isLast"); + this.add(chunk[$sublist](start, end)); + if (dart.test(isLast)) this.close(); + } +}; +(convert.ByteConversionSinkBase.new = function() { + convert.ByteConversionSinkBase.__proto__.new.call(this); + ; +}).prototype = convert.ByteConversionSinkBase.prototype; +dart.addTypeTests(convert.ByteConversionSinkBase); +dart.addTypeCaches(convert.ByteConversionSinkBase); +dart.setMethodSignature(convert.ByteConversionSinkBase, () => ({ + __proto__: dart.getMethods(convert.ByteConversionSinkBase.__proto__), + addSlice: dart.fnType(dart.void, [core.List$(core.int), core.int, core.int, core.bool]) +})); +dart.setLibraryUri(convert.ByteConversionSinkBase, I[31]); +convert._ErrorHandlingAsciiDecoderSink = class _ErrorHandlingAsciiDecoderSink extends convert.ByteConversionSinkBase { + close() { + this[_utf8Sink$].close(); + } + add(source) { + T$0.ListOfint().as(source); + if (source == null) dart.nullFailed(I[87], 241, 22, "source"); + this.addSlice(source, 0, source[$length], false); + } + addSlice(source, start, end, isLast) { + if (source == null) dart.nullFailed(I[87], 245, 27, "source"); + if (start == null) dart.nullFailed(I[87], 245, 39, "start"); + if (end == null) dart.nullFailed(I[87], 245, 50, "end"); + if (isLast == null) dart.nullFailed(I[87], 245, 60, "isLast"); + core.RangeError.checkValidRange(start, end, source[$length]); + for (let i = start; dart.notNull(i) < dart.notNull(end); i = dart.notNull(i) + 1) { + if ((dart.notNull(source[$_get](i)) & ~127 >>> 0) !== 0) { + if (dart.notNull(i) > dart.notNull(start)) this[_utf8Sink$].addSlice(source, start, i, false); + this[_utf8Sink$].add(C[83] || CT.C83); + start = dart.notNull(i) + 1; + } + } + if (dart.notNull(start) < dart.notNull(end)) { + this[_utf8Sink$].addSlice(source, start, end, isLast); + } else if (dart.test(isLast)) { + this.close(); + } + } +}; +(convert._ErrorHandlingAsciiDecoderSink.new = function(_utf8Sink) { + if (_utf8Sink == null) dart.nullFailed(I[87], 235, 39, "_utf8Sink"); + this[_utf8Sink$] = _utf8Sink; + convert._ErrorHandlingAsciiDecoderSink.__proto__.new.call(this); + ; +}).prototype = convert._ErrorHandlingAsciiDecoderSink.prototype; +dart.addTypeTests(convert._ErrorHandlingAsciiDecoderSink); +dart.addTypeCaches(convert._ErrorHandlingAsciiDecoderSink); +dart.setMethodSignature(convert._ErrorHandlingAsciiDecoderSink, () => ({ + __proto__: dart.getMethods(convert._ErrorHandlingAsciiDecoderSink.__proto__), + close: dart.fnType(dart.void, []), + add: dart.fnType(dart.void, [dart.nullable(core.Object)]) +})); +dart.setLibraryUri(convert._ErrorHandlingAsciiDecoderSink, I[31]); +dart.setFieldSignature(convert._ErrorHandlingAsciiDecoderSink, () => ({ + __proto__: dart.getFields(convert._ErrorHandlingAsciiDecoderSink.__proto__), + [_utf8Sink$]: dart.fieldType(convert.ByteConversionSink) +})); +convert._SimpleAsciiDecoderSink = class _SimpleAsciiDecoderSink extends convert.ByteConversionSinkBase { + close() { + this[_sink$0].close(); + } + add(source) { + T$0.ListOfint().as(source); + if (source == null) dart.nullFailed(I[87], 271, 22, "source"); + for (let i = 0; i < dart.notNull(source[$length]); i = i + 1) { + if ((dart.notNull(source[$_get](i)) & ~127 >>> 0) !== 0) { + dart.throw(new core.FormatException.new("Source contains non-ASCII bytes.")); + } + } + this[_sink$0].add(core.String.fromCharCodes(source)); + } + addSlice(source, start, end, isLast) { + if (source == null) dart.nullFailed(I[87], 280, 27, "source"); + if (start == null) dart.nullFailed(I[87], 280, 39, "start"); + if (end == null) dart.nullFailed(I[87], 280, 50, "end"); + if (isLast == null) dart.nullFailed(I[87], 280, 60, "isLast"); + let length = source[$length]; + core.RangeError.checkValidRange(start, end, length); + if (dart.notNull(start) < dart.notNull(end)) { + if (start !== 0 || end != length) { + source = source[$sublist](start, end); + } + this.add(source); + } + if (dart.test(isLast)) this.close(); + } +}; +(convert._SimpleAsciiDecoderSink.new = function(_sink) { + if (_sink == null) dart.nullFailed(I[87], 265, 32, "_sink"); + this[_sink$0] = _sink; + convert._SimpleAsciiDecoderSink.__proto__.new.call(this); + ; +}).prototype = convert._SimpleAsciiDecoderSink.prototype; +dart.addTypeTests(convert._SimpleAsciiDecoderSink); +dart.addTypeCaches(convert._SimpleAsciiDecoderSink); +dart.setMethodSignature(convert._SimpleAsciiDecoderSink, () => ({ + __proto__: dart.getMethods(convert._SimpleAsciiDecoderSink.__proto__), + close: dart.fnType(dart.void, []), + add: dart.fnType(dart.void, [dart.nullable(core.Object)]) +})); +dart.setLibraryUri(convert._SimpleAsciiDecoderSink, I[31]); +dart.setFieldSignature(convert._SimpleAsciiDecoderSink, () => ({ + __proto__: dart.getFields(convert._SimpleAsciiDecoderSink.__proto__), + [_sink$0]: dart.fieldType(core.Sink) +})); +var _encoder = dart.privateName(convert, "Base64Codec._encoder"); +var Base64Encoder__urlSafe = dart.privateName(convert, "Base64Encoder._urlSafe"); +var _encoder$ = dart.privateName(convert, "_encoder"); +convert.Base64Codec = class Base64Codec extends convert.Codec$(core.List$(core.int), core.String) { + get [_encoder$]() { + return this[_encoder]; + } + set [_encoder$](value) { + super[_encoder$] = value; + } + get encoder() { + return this[_encoder$]; + } + get decoder() { + return C[86] || CT.C86; + } + decode(encoded) { + core.String.as(encoded); + if (encoded == null) dart.nullFailed(I[92], 83, 27, "encoded"); + return this.decoder.convert(encoded); + } + normalize(source, start = 0, end = null) { + let t172, t172$, t172$0, t172$1, t172$2; + if (source == null) dart.nullFailed(I[92], 97, 27, "source"); + if (start == null) dart.nullFailed(I[92], 97, 40, "start"); + end = core.RangeError.checkValidRange(start, end, source.length); + if (end == null) { + dart.throw(new core.RangeError.new("Invalid range")); + } + let buffer = null; + let sliceStart = start; + let alphabet = convert._Base64Encoder._base64Alphabet; + let inverseAlphabet = convert._Base64Decoder._inverseAlphabet; + let firstPadding = -1; + let firstPaddingSourceIndex = -1; + let paddingCount = 0; + for (let i = start; dart.notNull(i) < dart.notNull(end);) { + let sliceEnd = i; + let char = source[$codeUnitAt]((t172 = i, i = dart.notNull(t172) + 1, t172)); + let originalChar = char; + if (char === 37) { + if (dart.notNull(i) + 2 <= dart.notNull(end)) { + char = _internal.parseHexByte(source, i); + i = dart.notNull(i) + 2; + if (char === 37) char = -1; + } else { + char = -1; + } + } + if (0 <= dart.notNull(char) && dart.notNull(char) <= 127) { + let value = inverseAlphabet[$_get](char); + if (dart.notNull(value) >= 0) { + char = alphabet[$codeUnitAt](value); + if (char == originalChar) continue; + } else if (value === -1) { + if (firstPadding < 0) { + firstPadding = dart.notNull((t172$0 = (t172$ = buffer, t172$ == null ? null : t172$.length), t172$0 == null ? 0 : t172$0)) + (dart.notNull(sliceEnd) - dart.notNull(sliceStart)); + firstPaddingSourceIndex = sliceEnd; + } + paddingCount = paddingCount + 1; + if (originalChar === 61) continue; + } + if (value !== -2) { + t172$2 = (t172$1 = buffer, t172$1 == null ? buffer = new core.StringBuffer.new() : t172$1); + (() => { + t172$2.write(source[$substring](sliceStart, sliceEnd)); + t172$2.writeCharCode(char); + return t172$2; + })(); + sliceStart = i; + continue; + } + } + dart.throw(new core.FormatException.new("Invalid base64 data", source, sliceEnd)); + } + if (buffer != null) { + buffer.write(source[$substring](sliceStart, end)); + if (firstPadding >= 0) { + convert.Base64Codec._checkPadding(source, firstPaddingSourceIndex, end, firstPadding, paddingCount, buffer.length); + } else { + let endLength = (dart.notNull(buffer.length) - 1)[$modulo](4) + 1; + if (endLength === 1) { + dart.throw(new core.FormatException.new("Invalid base64 encoding length ", source, end)); + } + while (endLength < 4) { + buffer.write("="); + endLength = endLength + 1; + } + } + return source[$replaceRange](start, end, dart.toString(buffer)); + } + let length = dart.notNull(end) - dart.notNull(start); + if (firstPadding >= 0) { + convert.Base64Codec._checkPadding(source, firstPaddingSourceIndex, end, firstPadding, paddingCount, length); + } else { + let endLength = length[$modulo](4); + if (endLength === 1) { + dart.throw(new core.FormatException.new("Invalid base64 encoding length ", source, end)); + } + if (endLength > 1) { + source = source[$replaceRange](end, end, endLength === 2 ? "==" : "="); + } + } + return source; + } + static _checkPadding(source, sourceIndex, sourceEnd, firstPadding, paddingCount, length) { + if (source == null) dart.nullFailed(I[92], 199, 36, "source"); + if (sourceIndex == null) dart.nullFailed(I[92], 199, 48, "sourceIndex"); + if (sourceEnd == null) dart.nullFailed(I[92], 199, 65, "sourceEnd"); + if (firstPadding == null) dart.nullFailed(I[92], 200, 11, "firstPadding"); + if (paddingCount == null) dart.nullFailed(I[92], 200, 29, "paddingCount"); + if (length == null) dart.nullFailed(I[92], 200, 47, "length"); + if (length[$modulo](4) !== 0) { + dart.throw(new core.FormatException.new("Invalid base64 padding, padded length must be multiple of four, " + "is " + dart.str(length), source, sourceEnd)); + } + if (dart.notNull(firstPadding) + dart.notNull(paddingCount) !== length) { + dart.throw(new core.FormatException.new("Invalid base64 padding, '=' not at the end", source, sourceIndex)); + } + if (dart.notNull(paddingCount) > 2) { + dart.throw(new core.FormatException.new("Invalid base64 padding, more than two '=' characters", source, sourceIndex)); + } + } +}; +(convert.Base64Codec.new = function() { + this[_encoder] = C[84] || CT.C84; + convert.Base64Codec.__proto__.new.call(this); + ; +}).prototype = convert.Base64Codec.prototype; +(convert.Base64Codec.urlSafe = function() { + this[_encoder] = C[85] || CT.C85; + convert.Base64Codec.__proto__.new.call(this); + ; +}).prototype = convert.Base64Codec.prototype; +dart.addTypeTests(convert.Base64Codec); +dart.addTypeCaches(convert.Base64Codec); +dart.setMethodSignature(convert.Base64Codec, () => ({ + __proto__: dart.getMethods(convert.Base64Codec.__proto__), + decode: dart.fnType(typed_data.Uint8List, [dart.nullable(core.Object)]), + normalize: dart.fnType(core.String, [core.String], [core.int, dart.nullable(core.int)]) +})); +dart.setGetterSignature(convert.Base64Codec, () => ({ + __proto__: dart.getGetters(convert.Base64Codec.__proto__), + encoder: convert.Base64Encoder, + decoder: convert.Base64Decoder +})); +dart.setLibraryUri(convert.Base64Codec, I[31]); +dart.setFieldSignature(convert.Base64Codec, () => ({ + __proto__: dart.getFields(convert.Base64Codec.__proto__), + [_encoder$]: dart.finalFieldType(convert.Base64Encoder) +})); +var _urlSafe = dart.privateName(convert, "_urlSafe"); +const _urlSafe$ = Base64Encoder__urlSafe; +convert.Base64Encoder = class Base64Encoder extends convert.Converter$(core.List$(core.int), core.String) { + get [_urlSafe]() { + return this[_urlSafe$]; + } + set [_urlSafe](value) { + super[_urlSafe] = value; + } + convert(input) { + T$0.ListOfint().as(input); + if (input == null) dart.nullFailed(I[92], 236, 28, "input"); + if (dart.test(input[$isEmpty])) return ""; + let encoder = new convert._Base64Encoder.new(this[_urlSafe]); + let buffer = dart.nullCheck(encoder.encode(input, 0, input[$length], true)); + return core.String.fromCharCodes(buffer); + } + startChunkedConversion(sink) { + T$0.SinkOfString().as(sink); + if (sink == null) dart.nullFailed(I[92], 243, 58, "sink"); + if (convert.StringConversionSink.is(sink)) { + return new convert._Utf8Base64EncoderSink.new(sink.asUtf8Sink(false), this[_urlSafe]); + } + return new convert._AsciiBase64EncoderSink.new(sink, this[_urlSafe]); + } +}; +(convert.Base64Encoder.new = function() { + this[_urlSafe$] = false; + convert.Base64Encoder.__proto__.new.call(this); + ; +}).prototype = convert.Base64Encoder.prototype; +(convert.Base64Encoder.urlSafe = function() { + this[_urlSafe$] = true; + convert.Base64Encoder.__proto__.new.call(this); + ; +}).prototype = convert.Base64Encoder.prototype; +dart.addTypeTests(convert.Base64Encoder); +dart.addTypeCaches(convert.Base64Encoder); +dart.setMethodSignature(convert.Base64Encoder, () => ({ + __proto__: dart.getMethods(convert.Base64Encoder.__proto__), + convert: dart.fnType(core.String, [dart.nullable(core.Object)]), + startChunkedConversion: dart.fnType(convert.ByteConversionSink, [dart.nullable(core.Object)]) +})); +dart.setLibraryUri(convert.Base64Encoder, I[31]); +dart.setFieldSignature(convert.Base64Encoder, () => ({ + __proto__: dart.getFields(convert.Base64Encoder.__proto__), + [_urlSafe]: dart.finalFieldType(core.bool) +})); +var _state$0 = dart.privateName(convert, "_state"); +var _alphabet = dart.privateName(convert, "_alphabet"); +convert._Base64Encoder = class _Base64Encoder extends core.Object { + static _encodeState(count, bits) { + if (count == null) dart.nullFailed(I[92], 283, 31, "count"); + if (bits == null) dart.nullFailed(I[92], 283, 42, "bits"); + if (!(dart.notNull(count) <= 3)) dart.assertFailed(null, I[92], 284, 12, "count <= _countMask"); + return (bits[$leftShift](2) | dart.notNull(count)) >>> 0; + } + static _stateBits(state) { + if (state == null) dart.nullFailed(I[92], 289, 29, "state"); + return state[$rightShift](2); + } + static _stateCount(state) { + if (state == null) dart.nullFailed(I[92], 292, 30, "state"); + return (dart.notNull(state) & 3) >>> 0; + } + createBuffer(bufferLength) { + if (bufferLength == null) dart.nullFailed(I[92], 295, 30, "bufferLength"); + return _native_typed_data.NativeUint8List.new(bufferLength); + } + encode(bytes, start, end, isLast) { + if (bytes == null) dart.nullFailed(I[92], 308, 31, "bytes"); + if (start == null) dart.nullFailed(I[92], 308, 42, "start"); + if (end == null) dart.nullFailed(I[92], 308, 53, "end"); + if (isLast == null) dart.nullFailed(I[92], 308, 63, "isLast"); + if (!(0 <= dart.notNull(start))) dart.assertFailed(null, I[92], 309, 12, "0 <= start"); + if (!(dart.notNull(start) <= dart.notNull(end))) dart.assertFailed(null, I[92], 310, 12, "start <= end"); + if (!(dart.notNull(end) <= dart.notNull(bytes[$length]))) dart.assertFailed(null, I[92], 311, 12, "end <= bytes.length"); + let length = dart.notNull(end) - dart.notNull(start); + let count = convert._Base64Encoder._stateCount(this[_state$0]); + let byteCount = dart.notNull(count) + length; + let fullChunks = (byteCount / 3)[$truncate](); + let partialChunkLength = byteCount - fullChunks * 3; + let bufferLength = fullChunks * 4; + if (dart.test(isLast) && partialChunkLength > 0) { + bufferLength = bufferLength + 4; + } + let output = this.createBuffer(bufferLength); + this[_state$0] = convert._Base64Encoder.encodeChunk(this[_alphabet], bytes, start, end, isLast, output, 0, this[_state$0]); + if (bufferLength > 0) return output; + return null; + } + static encodeChunk(alphabet, bytes, start, end, isLast, output, outputIndex, state) { + let t172, t172$, t172$0, t172$1; + if (alphabet == null) dart.nullFailed(I[92], 331, 33, "alphabet"); + if (bytes == null) dart.nullFailed(I[92], 331, 53, "bytes"); + if (start == null) dart.nullFailed(I[92], 331, 64, "start"); + if (end == null) dart.nullFailed(I[92], 331, 75, "end"); + if (isLast == null) dart.nullFailed(I[92], 332, 12, "isLast"); + if (output == null) dart.nullFailed(I[92], 332, 30, "output"); + if (outputIndex == null) dart.nullFailed(I[92], 332, 42, "outputIndex"); + if (state == null) dart.nullFailed(I[92], 332, 59, "state"); + let bits = convert._Base64Encoder._stateBits(state); + let expectedChars = 3 - dart.notNull(convert._Base64Encoder._stateCount(state)); + let byteOr = 0; + for (let i = start; dart.notNull(i) < dart.notNull(end); i = dart.notNull(i) + 1) { + let byte = bytes[$_get](i); + byteOr = (byteOr | dart.notNull(byte)) >>> 0; + bits = (dart.notNull(bits) << 8 | dart.notNull(byte)) & 16777215; + expectedChars = expectedChars - 1; + if (expectedChars === 0) { + output[$_set]((t172 = outputIndex, outputIndex = dart.notNull(t172) + 1, t172), alphabet[$codeUnitAt]((bits[$rightShift](18) & 63) >>> 0)); + output[$_set]((t172$ = outputIndex, outputIndex = dart.notNull(t172$) + 1, t172$), alphabet[$codeUnitAt]((bits[$rightShift](12) & 63) >>> 0)); + output[$_set]((t172$0 = outputIndex, outputIndex = dart.notNull(t172$0) + 1, t172$0), alphabet[$codeUnitAt]((bits[$rightShift](6) & 63) >>> 0)); + output[$_set]((t172$1 = outputIndex, outputIndex = dart.notNull(t172$1) + 1, t172$1), alphabet[$codeUnitAt]((dart.notNull(bits) & 63) >>> 0)); + expectedChars = 3; + bits = 0; + } + } + if (byteOr >= 0 && byteOr <= 255) { + if (dart.test(isLast) && expectedChars < 3) { + convert._Base64Encoder.writeFinalChunk(alphabet, output, outputIndex, 3 - expectedChars, bits); + return 0; + } + return convert._Base64Encoder._encodeState(3 - expectedChars, bits); + } + let i = start; + while (dart.notNull(i) < dart.notNull(end)) { + let byte = bytes[$_get](i); + if (dart.notNull(byte) < 0 || dart.notNull(byte) > 255) break; + i = dart.notNull(i) + 1; + } + dart.throw(new core.ArgumentError.value(bytes, "Not a byte value at index " + dart.str(i) + ": 0x" + bytes[$_get](i)[$toRadixString](16))); + } + static writeFinalChunk(alphabet, output, outputIndex, count, bits) { + let t172, t172$, t172$0, t172$1, t172$2, t172$3, t172$4, t172$5; + if (alphabet == null) dart.nullFailed(I[92], 379, 14, "alphabet"); + if (output == null) dart.nullFailed(I[92], 379, 34, "output"); + if (outputIndex == null) dart.nullFailed(I[92], 379, 46, "outputIndex"); + if (count == null) dart.nullFailed(I[92], 379, 63, "count"); + if (bits == null) dart.nullFailed(I[92], 379, 74, "bits"); + if (!(dart.notNull(count) > 0)) dart.assertFailed(null, I[92], 380, 12, "count > 0"); + if (count === 1) { + output[$_set]((t172 = outputIndex, outputIndex = dart.notNull(t172) + 1, t172), alphabet[$codeUnitAt]((bits[$rightShift](2) & 63) >>> 0)); + output[$_set]((t172$ = outputIndex, outputIndex = dart.notNull(t172$) + 1, t172$), alphabet[$codeUnitAt]((dart.notNull(bits) << 4 & 63) >>> 0)); + output[$_set]((t172$0 = outputIndex, outputIndex = dart.notNull(t172$0) + 1, t172$0), 61); + output[$_set]((t172$1 = outputIndex, outputIndex = dart.notNull(t172$1) + 1, t172$1), 61); + } else { + if (!(count === 2)) dart.assertFailed(null, I[92], 387, 14, "count == 2"); + output[$_set]((t172$2 = outputIndex, outputIndex = dart.notNull(t172$2) + 1, t172$2), alphabet[$codeUnitAt]((bits[$rightShift](10) & 63) >>> 0)); + output[$_set]((t172$3 = outputIndex, outputIndex = dart.notNull(t172$3) + 1, t172$3), alphabet[$codeUnitAt]((bits[$rightShift](4) & 63) >>> 0)); + output[$_set]((t172$4 = outputIndex, outputIndex = dart.notNull(t172$4) + 1, t172$4), alphabet[$codeUnitAt]((dart.notNull(bits) << 2 & 63) >>> 0)); + output[$_set]((t172$5 = outputIndex, outputIndex = dart.notNull(t172$5) + 1, t172$5), 61); + } + } +}; +(convert._Base64Encoder.new = function(urlSafe) { + if (urlSafe == null) dart.nullFailed(I[92], 279, 23, "urlSafe"); + this[_state$0] = 0; + this[_alphabet] = dart.test(urlSafe) ? convert._Base64Encoder._base64UrlAlphabet : convert._Base64Encoder._base64Alphabet; + ; +}).prototype = convert._Base64Encoder.prototype; +dart.addTypeTests(convert._Base64Encoder); +dart.addTypeCaches(convert._Base64Encoder); +dart.setMethodSignature(convert._Base64Encoder, () => ({ + __proto__: dart.getMethods(convert._Base64Encoder.__proto__), + createBuffer: dart.fnType(typed_data.Uint8List, [core.int]), + encode: dart.fnType(dart.nullable(typed_data.Uint8List), [core.List$(core.int), core.int, core.int, core.bool]) +})); +dart.setLibraryUri(convert._Base64Encoder, I[31]); +dart.setFieldSignature(convert._Base64Encoder, () => ({ + __proto__: dart.getFields(convert._Base64Encoder.__proto__), + [_state$0]: dart.fieldType(core.int), + [_alphabet]: dart.finalFieldType(core.String) +})); +dart.defineLazy(convert._Base64Encoder, { + /*convert._Base64Encoder._base64Alphabet*/get _base64Alphabet() { + return "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"; + }, + /*convert._Base64Encoder._base64UrlAlphabet*/get _base64UrlAlphabet() { + return "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"; + }, + /*convert._Base64Encoder._valueShift*/get _valueShift() { + return 2; + }, + /*convert._Base64Encoder._countMask*/get _countMask() { + return 3; + }, + /*convert._Base64Encoder._sixBitMask*/get _sixBitMask() { + return 63; + } +}, false); +convert._BufferCachingBase64Encoder = class _BufferCachingBase64Encoder extends convert._Base64Encoder { + createBuffer(bufferLength) { + if (bufferLength == null) dart.nullFailed(I[92], 405, 30, "bufferLength"); + let buffer = this.bufferCache; + if (buffer == null || dart.notNull(buffer[$length]) < dart.notNull(bufferLength)) { + this.bufferCache = buffer = _native_typed_data.NativeUint8List.new(bufferLength); + } + if (buffer == null) { + dart.throw("unreachable"); + } + return typed_data.Uint8List.view(buffer[$buffer], buffer[$offsetInBytes], bufferLength); + } +}; +(convert._BufferCachingBase64Encoder.new = function(urlSafe) { + if (urlSafe == null) dart.nullFailed(I[92], 403, 36, "urlSafe"); + this.bufferCache = null; + convert._BufferCachingBase64Encoder.__proto__.new.call(this, urlSafe); + ; +}).prototype = convert._BufferCachingBase64Encoder.prototype; +dart.addTypeTests(convert._BufferCachingBase64Encoder); +dart.addTypeCaches(convert._BufferCachingBase64Encoder); +dart.setLibraryUri(convert._BufferCachingBase64Encoder, I[31]); +dart.setFieldSignature(convert._BufferCachingBase64Encoder, () => ({ + __proto__: dart.getFields(convert._BufferCachingBase64Encoder.__proto__), + bufferCache: dart.fieldType(dart.nullable(typed_data.Uint8List)) +})); +var _add$0 = dart.privateName(convert, "_add"); +convert._Base64EncoderSink = class _Base64EncoderSink extends convert.ByteConversionSinkBase { + add(source) { + T$0.ListOfint().as(source); + if (source == null) dart.nullFailed(I[92], 420, 22, "source"); + this[_add$0](source, 0, source[$length], false); + } + close() { + this[_add$0](C[87] || CT.C87, 0, 0, true); + } + addSlice(source, start, end, isLast) { + if (source == null) dart.nullFailed(I[92], 428, 27, "source"); + if (start == null) dart.nullFailed(I[92], 428, 39, "start"); + if (end == null) dart.nullFailed(I[92], 428, 50, "end"); + if (isLast == null) dart.nullFailed(I[92], 428, 60, "isLast"); + if (end == null) dart.throw(new core.ArgumentError.notNull("end")); + core.RangeError.checkValidRange(start, end, source[$length]); + this[_add$0](source, start, end, isLast); + } +}; +(convert._Base64EncoderSink.new = function() { + convert._Base64EncoderSink.__proto__.new.call(this); + ; +}).prototype = convert._Base64EncoderSink.prototype; +dart.addTypeTests(convert._Base64EncoderSink); +dart.addTypeCaches(convert._Base64EncoderSink); +dart.setMethodSignature(convert._Base64EncoderSink, () => ({ + __proto__: dart.getMethods(convert._Base64EncoderSink.__proto__), + add: dart.fnType(dart.void, [dart.nullable(core.Object)]), + close: dart.fnType(dart.void, []) +})); +dart.setLibraryUri(convert._Base64EncoderSink, I[31]); +convert._AsciiBase64EncoderSink = class _AsciiBase64EncoderSink extends convert._Base64EncoderSink { + [_add$0](source, start, end, isLast) { + if (source == null) dart.nullFailed(I[92], 444, 23, "source"); + if (start == null) dart.nullFailed(I[92], 444, 35, "start"); + if (end == null) dart.nullFailed(I[92], 444, 46, "end"); + if (isLast == null) dart.nullFailed(I[92], 444, 56, "isLast"); + let buffer = this[_encoder$].encode(source, start, end, isLast); + if (buffer != null) { + let string = core.String.fromCharCodes(buffer); + this[_sink$0].add(string); + } + if (dart.test(isLast)) { + this[_sink$0].close(); + } + } +}; +(convert._AsciiBase64EncoderSink.new = function(_sink, urlSafe) { + if (_sink == null) dart.nullFailed(I[92], 441, 32, "_sink"); + if (urlSafe == null) dart.nullFailed(I[92], 441, 44, "urlSafe"); + this[_sink$0] = _sink; + this[_encoder$] = new convert._BufferCachingBase64Encoder.new(urlSafe); + convert._AsciiBase64EncoderSink.__proto__.new.call(this); + ; +}).prototype = convert._AsciiBase64EncoderSink.prototype; +dart.addTypeTests(convert._AsciiBase64EncoderSink); +dart.addTypeCaches(convert._AsciiBase64EncoderSink); +dart.setMethodSignature(convert._AsciiBase64EncoderSink, () => ({ + __proto__: dart.getMethods(convert._AsciiBase64EncoderSink.__proto__), + [_add$0]: dart.fnType(dart.void, [core.List$(core.int), core.int, core.int, core.bool]) +})); +dart.setLibraryUri(convert._AsciiBase64EncoderSink, I[31]); +dart.setFieldSignature(convert._AsciiBase64EncoderSink, () => ({ + __proto__: dart.getFields(convert._AsciiBase64EncoderSink.__proto__), + [_sink$0]: dart.finalFieldType(core.Sink$(core.String)), + [_encoder$]: dart.finalFieldType(convert._Base64Encoder) +})); +convert._Utf8Base64EncoderSink = class _Utf8Base64EncoderSink extends convert._Base64EncoderSink { + [_add$0](source, start, end, isLast) { + if (source == null) dart.nullFailed(I[92], 463, 23, "source"); + if (start == null) dart.nullFailed(I[92], 463, 35, "start"); + if (end == null) dart.nullFailed(I[92], 463, 46, "end"); + if (isLast == null) dart.nullFailed(I[92], 463, 56, "isLast"); + let buffer = this[_encoder$].encode(source, start, end, isLast); + if (buffer != null) { + this[_sink$0].addSlice(buffer, 0, buffer[$length], isLast); + } + } +}; +(convert._Utf8Base64EncoderSink.new = function(_sink, urlSafe) { + if (_sink == null) dart.nullFailed(I[92], 460, 31, "_sink"); + if (urlSafe == null) dart.nullFailed(I[92], 460, 43, "urlSafe"); + this[_sink$0] = _sink; + this[_encoder$] = new convert._Base64Encoder.new(urlSafe); + convert._Utf8Base64EncoderSink.__proto__.new.call(this); + ; +}).prototype = convert._Utf8Base64EncoderSink.prototype; +dart.addTypeTests(convert._Utf8Base64EncoderSink); +dart.addTypeCaches(convert._Utf8Base64EncoderSink); +dart.setMethodSignature(convert._Utf8Base64EncoderSink, () => ({ + __proto__: dart.getMethods(convert._Utf8Base64EncoderSink.__proto__), + [_add$0]: dart.fnType(dart.void, [core.List$(core.int), core.int, core.int, core.bool]) +})); +dart.setLibraryUri(convert._Utf8Base64EncoderSink, I[31]); +dart.setFieldSignature(convert._Utf8Base64EncoderSink, () => ({ + __proto__: dart.getFields(convert._Utf8Base64EncoderSink.__proto__), + [_sink$0]: dart.finalFieldType(convert.ByteConversionSink), + [_encoder$]: dart.finalFieldType(convert._Base64Encoder) +})); +convert.Base64Decoder = class Base64Decoder extends convert.Converter$(core.String, core.List$(core.int)) { + convert(input, start = 0, end = null) { + core.String.as(input); + if (input == null) dart.nullFailed(I[92], 491, 28, "input"); + if (start == null) dart.nullFailed(I[92], 491, 40, "start"); + end = core.RangeError.checkValidRange(start, end, input.length); + if (end == null) { + dart.throw(new core.RangeError.new("Invalid range")); + } + if (start == end) return _native_typed_data.NativeUint8List.new(0); + let decoder = new convert._Base64Decoder.new(); + let buffer = dart.nullCheck(decoder.decode(input, start, end)); + decoder.close(input, end); + return buffer; + } + startChunkedConversion(sink) { + T$0.SinkOfListOfint().as(sink); + if (sink == null) dart.nullFailed(I[92], 504, 63, "sink"); + return new convert._Base64DecoderSink.new(sink); + } +}; +(convert.Base64Decoder.new = function() { + convert.Base64Decoder.__proto__.new.call(this); + ; +}).prototype = convert.Base64Decoder.prototype; +dart.addTypeTests(convert.Base64Decoder); +dart.addTypeCaches(convert.Base64Decoder); +dart.setMethodSignature(convert.Base64Decoder, () => ({ + __proto__: dart.getMethods(convert.Base64Decoder.__proto__), + convert: dart.fnType(typed_data.Uint8List, [dart.nullable(core.Object)], [core.int, dart.nullable(core.int)]), + startChunkedConversion: dart.fnType(convert.StringConversionSink, [dart.nullable(core.Object)]) +})); +dart.setLibraryUri(convert.Base64Decoder, I[31]); +convert._Base64Decoder = class _Base64Decoder extends core.Object { + static _encodeCharacterState(count, bits) { + if (count == null) dart.nullFailed(I[92], 572, 40, "count"); + if (bits == null) dart.nullFailed(I[92], 572, 51, "bits"); + if (!(count === (dart.notNull(count) & 3) >>> 0)) dart.assertFailed(null, I[92], 573, 12, "count == (count & _countMask)"); + return (bits[$leftShift](2) | dart.notNull(count)) >>> 0; + } + static _stateCount(state) { + if (state == null) dart.nullFailed(I[92], 578, 30, "state"); + if (!(dart.notNull(state) >= 0)) dart.assertFailed(null, I[92], 579, 12, "state >= 0"); + return (dart.notNull(state) & 3) >>> 0; + } + static _stateBits(state) { + if (state == null) dart.nullFailed(I[92], 584, 29, "state"); + if (!(dart.notNull(state) >= 0)) dart.assertFailed(null, I[92], 585, 12, "state >= 0"); + return state[$rightShift](2); + } + static _encodePaddingState(expectedPadding) { + if (expectedPadding == null) dart.nullFailed(I[92], 590, 38, "expectedPadding"); + if (!(dart.notNull(expectedPadding) >= 0)) dart.assertFailed(null, I[92], 591, 12, "expectedPadding >= 0"); + if (!(dart.notNull(expectedPadding) <= 5)) dart.assertFailed(null, I[92], 592, 12, "expectedPadding <= 5"); + return -dart.notNull(expectedPadding) - 1; + } + static _statePadding(state) { + if (state == null) dart.nullFailed(I[92], 597, 32, "state"); + if (!(dart.notNull(state) < 0)) dart.assertFailed(null, I[92], 598, 12, "state < 0"); + return -dart.notNull(state) - 1; + } + static _hasSeenPadding(state) { + if (state == null) dart.nullFailed(I[92], 602, 35, "state"); + return dart.notNull(state) < 0; + } + decode(input, start, end) { + if (input == null) dart.nullFailed(I[92], 609, 28, "input"); + if (start == null) dart.nullFailed(I[92], 609, 39, "start"); + if (end == null) dart.nullFailed(I[92], 609, 50, "end"); + if (!(0 <= dart.notNull(start))) dart.assertFailed(null, I[92], 610, 12, "0 <= start"); + if (!(dart.notNull(start) <= dart.notNull(end))) dart.assertFailed(null, I[92], 611, 12, "start <= end"); + if (!(dart.notNull(end) <= input.length)) dart.assertFailed(null, I[92], 612, 12, "end <= input.length"); + if (dart.test(convert._Base64Decoder._hasSeenPadding(this[_state$0]))) { + this[_state$0] = convert._Base64Decoder._checkPadding(input, start, end, this[_state$0]); + return null; + } + if (start == end) return _native_typed_data.NativeUint8List.new(0); + let buffer = convert._Base64Decoder._allocateBuffer(input, start, end, this[_state$0]); + this[_state$0] = convert._Base64Decoder.decodeChunk(input, start, end, buffer, 0, this[_state$0]); + return buffer; + } + close(input, end) { + if (dart.notNull(this[_state$0]) < dart.notNull(convert._Base64Decoder._encodePaddingState(0))) { + dart.throw(new core.FormatException.new("Missing padding character", input, end)); + } + if (dart.notNull(this[_state$0]) > 0) { + dart.throw(new core.FormatException.new("Invalid length, must be multiple of four", input, end)); + } + this[_state$0] = convert._Base64Decoder._encodePaddingState(0); + } + static decodeChunk(input, start, end, output, outIndex, state) { + let t172, t172$, t172$0, t172$1, t172$2, t172$3; + if (input == null) dart.nullFailed(I[92], 640, 33, "input"); + if (start == null) dart.nullFailed(I[92], 640, 44, "start"); + if (end == null) dart.nullFailed(I[92], 640, 55, "end"); + if (output == null) dart.nullFailed(I[92], 640, 70, "output"); + if (outIndex == null) dart.nullFailed(I[92], 641, 11, "outIndex"); + if (state == null) dart.nullFailed(I[92], 641, 25, "state"); + if (!!dart.test(convert._Base64Decoder._hasSeenPadding(state))) dart.assertFailed(null, I[92], 642, 12, "!_hasSeenPadding(state)"); + let bits = convert._Base64Decoder._stateBits(state); + let count = convert._Base64Decoder._stateCount(state); + let charOr = 0; + let inverseAlphabet = convert._Base64Decoder._inverseAlphabet; + for (let i = start; dart.notNull(i) < dart.notNull(end); i = dart.notNull(i) + 1) { + let char = input[$codeUnitAt](i); + charOr = (charOr | char) >>> 0; + let code = inverseAlphabet[$_get]((char & 127) >>> 0); + if (dart.notNull(code) >= 0) { + bits = (bits[$leftShift](6) | dart.notNull(code)) & 16777215; + count = dart.notNull(count) + 1 & 3; + if (count === 0) { + if (!(dart.notNull(outIndex) + 3 <= dart.notNull(output[$length]))) dart.assertFailed(null, I[92], 664, 18, "outIndex + 3 <= output.length"); + output[$_set]((t172 = outIndex, outIndex = dart.notNull(t172) + 1, t172), (bits[$rightShift](16) & 255) >>> 0); + output[$_set]((t172$ = outIndex, outIndex = dart.notNull(t172$) + 1, t172$), (bits[$rightShift](8) & 255) >>> 0); + output[$_set]((t172$0 = outIndex, outIndex = dart.notNull(t172$0) + 1, t172$0), (dart.notNull(bits) & 255) >>> 0); + bits = 0; + } + continue; + } else if (code === -1 && dart.notNull(count) > 1) { + if (charOr < 0 || charOr > 127) break; + if (count === 3) { + if ((dart.notNull(bits) & 3) !== 0) { + dart.throw(new core.FormatException.new("Invalid encoding before padding", input, i)); + } + output[$_set]((t172$1 = outIndex, outIndex = dart.notNull(t172$1) + 1, t172$1), bits[$rightShift](10)); + output[$_set]((t172$2 = outIndex, outIndex = dart.notNull(t172$2) + 1, t172$2), bits[$rightShift](2)); + } else { + if ((dart.notNull(bits) & 15) !== 0) { + dart.throw(new core.FormatException.new("Invalid encoding before padding", input, i)); + } + output[$_set]((t172$3 = outIndex, outIndex = dart.notNull(t172$3) + 1, t172$3), bits[$rightShift](4)); + } + let expectedPadding = (3 - dart.notNull(count)) * 3; + if (char === 37) expectedPadding = expectedPadding + 2; + state = convert._Base64Decoder._encodePaddingState(expectedPadding); + return convert._Base64Decoder._checkPadding(input, dart.notNull(i) + 1, end, state); + } + dart.throw(new core.FormatException.new("Invalid character", input, i)); + } + if (charOr >= 0 && charOr <= 127) { + return convert._Base64Decoder._encodeCharacterState(count, bits); + } + let i = null; + for (let t172$4 = i = start; dart.notNull(i) < dart.notNull(end); i = dart.notNull(i) + 1) { + let char = input[$codeUnitAt](i); + if (char < 0 || char > 127) break; + } + dart.throw(new core.FormatException.new("Invalid character", input, i)); + } + static _allocateBuffer(input, start, end, state) { + if (input == null) dart.nullFailed(I[92], 715, 14, "input"); + if (start == null) dart.nullFailed(I[92], 715, 25, "start"); + if (end == null) dart.nullFailed(I[92], 715, 36, "end"); + if (state == null) dart.nullFailed(I[92], 715, 45, "state"); + if (!(dart.notNull(state) >= 0)) dart.assertFailed(null, I[92], 716, 12, "state >= 0"); + let paddingStart = convert._Base64Decoder._trimPaddingChars(input, start, end); + let length = dart.notNull(convert._Base64Decoder._stateCount(state)) + (dart.notNull(paddingStart) - dart.notNull(start)); + let bufferLength = length[$rightShift](2) * 3; + let remainderLength = length & 3; + if (remainderLength !== 0 && dart.notNull(paddingStart) < dart.notNull(end)) { + bufferLength = bufferLength + (remainderLength - 1); + } + if (bufferLength > 0) return _native_typed_data.NativeUint8List.new(bufferLength); + return convert._Base64Decoder._emptyBuffer; + } + static _trimPaddingChars(input, start, end) { + if (input == null) dart.nullFailed(I[92], 744, 39, "input"); + if (start == null) dart.nullFailed(I[92], 744, 50, "start"); + if (end == null) dart.nullFailed(I[92], 744, 61, "end"); + let padding = 0; + let index = end; + let newEnd = end; + while (dart.notNull(index) > dart.notNull(start) && padding < 2) { + index = dart.notNull(index) - 1; + let char = input[$codeUnitAt](index); + if (char === 61) { + padding = padding + 1; + newEnd = index; + continue; + } + if ((char | 32) >>> 0 === 100) { + if (index == start) break; + index = dart.notNull(index) - 1; + char = input[$codeUnitAt](index); + } + if (char === 51) { + if (index == start) break; + index = dart.notNull(index) - 1; + char = input[$codeUnitAt](index); + } + if (char === 37) { + padding = padding + 1; + newEnd = index; + continue; + } + break; + } + return newEnd; + } + static _checkPadding(input, start, end, state) { + if (input == null) dart.nullFailed(I[92], 796, 35, "input"); + if (start == null) dart.nullFailed(I[92], 796, 46, "start"); + if (end == null) dart.nullFailed(I[92], 796, 57, "end"); + if (state == null) dart.nullFailed(I[92], 796, 66, "state"); + if (!dart.test(convert._Base64Decoder._hasSeenPadding(state))) dart.assertFailed(null, I[92], 797, 12, "_hasSeenPadding(state)"); + if (start == end) return state; + let expectedPadding = convert._Base64Decoder._statePadding(state); + if (!(dart.notNull(expectedPadding) >= 0)) dart.assertFailed(null, I[92], 800, 12, "expectedPadding >= 0"); + if (!(dart.notNull(expectedPadding) < 6)) dart.assertFailed(null, I[92], 801, 12, "expectedPadding < 6"); + while (dart.notNull(expectedPadding) > 0) { + let char = input[$codeUnitAt](start); + if (expectedPadding === 3) { + if (char === 61) { + expectedPadding = dart.notNull(expectedPadding) - 3; + start = dart.notNull(start) + 1; + break; + } + if (char === 37) { + expectedPadding = dart.notNull(expectedPadding) - 1; + start = dart.notNull(start) + 1; + if (start == end) break; + char = input[$codeUnitAt](start); + } else { + break; + } + } + let expectedPartialPadding = expectedPadding; + if (dart.notNull(expectedPartialPadding) > 3) expectedPartialPadding = dart.notNull(expectedPartialPadding) - 3; + if (expectedPartialPadding === 2) { + if (char !== 51) break; + start = dart.notNull(start) + 1; + expectedPadding = dart.notNull(expectedPadding) - 1; + if (start == end) break; + char = input[$codeUnitAt](start); + } + if ((char | 32) >>> 0 !== 100) break; + start = dart.notNull(start) + 1; + expectedPadding = dart.notNull(expectedPadding) - 1; + if (start == end) break; + } + if (start != end) { + dart.throw(new core.FormatException.new("Invalid padding character", input, start)); + } + return convert._Base64Decoder._encodePaddingState(expectedPadding); + } +}; +(convert._Base64Decoder.new = function() { + this[_state$0] = 0; + ; +}).prototype = convert._Base64Decoder.prototype; +dart.addTypeTests(convert._Base64Decoder); +dart.addTypeCaches(convert._Base64Decoder); +dart.setMethodSignature(convert._Base64Decoder, () => ({ + __proto__: dart.getMethods(convert._Base64Decoder.__proto__), + decode: dart.fnType(dart.nullable(typed_data.Uint8List), [core.String, core.int, core.int]), + close: dart.fnType(dart.void, [dart.nullable(core.String), dart.nullable(core.int)]) +})); +dart.setLibraryUri(convert._Base64Decoder, I[31]); +dart.setFieldSignature(convert._Base64Decoder, () => ({ + __proto__: dart.getFields(convert._Base64Decoder.__proto__), + [_state$0]: dart.fieldType(core.int) +})); +dart.defineLazy(convert._Base64Decoder, { + /*convert._Base64Decoder._valueShift*/get _valueShift() { + return 2; + }, + /*convert._Base64Decoder._countMask*/get _countMask() { + return 3; + }, + /*convert._Base64Decoder._invalid*/get _invalid() { + return -2; + }, + /*convert._Base64Decoder._padding*/get _padding() { + return -1; + }, + /*convert._Base64Decoder.___*/get ___() { + return -2; + }, + /*convert._Base64Decoder._p*/get _p() { + return -1; + }, + /*convert._Base64Decoder._inverseAlphabet*/get _inverseAlphabet() { + return _native_typed_data.NativeInt8List.fromList(T$.JSArrayOfint().of([-2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -1, -2, -2, -2, -2, -2, 62, -2, 62, -2, 63, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, -2, -2, -2, -1, -2, -2, -2, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, -2, -2, -2, -2, 63, -2, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, -2, -2, -2, -2, -2])); + }, + /*convert._Base64Decoder._char_percent*/get _char_percent() { + return 37; + }, + /*convert._Base64Decoder._char_3*/get _char_3() { + return 51; + }, + /*convert._Base64Decoder._char_d*/get _char_d() { + return 100; + }, + /*convert._Base64Decoder._emptyBuffer*/get _emptyBuffer() { + return _native_typed_data.NativeUint8List.new(0); + }, + set _emptyBuffer(_) {} +}, false); +var _decoder = dart.privateName(convert, "_decoder"); +convert._Base64DecoderSink = class _Base64DecoderSink extends convert.StringConversionSinkBase { + add(string) { + core.String.as(string); + if (string == null) dart.nullFailed(I[92], 850, 19, "string"); + if (string[$isEmpty]) return; + let buffer = this[_decoder].decode(string, 0, string.length); + if (buffer != null) this[_sink$0].add(buffer); + } + close() { + this[_decoder].close(null, null); + this[_sink$0].close(); + } + addSlice(string, start, end, isLast) { + if (string == null) dart.nullFailed(I[92], 861, 24, "string"); + if (start == null) dart.nullFailed(I[92], 861, 36, "start"); + if (end == null) dart.nullFailed(I[92], 861, 47, "end"); + if (isLast == null) dart.nullFailed(I[92], 861, 57, "isLast"); + core.RangeError.checkValidRange(start, end, string.length); + if (start == end) return; + let buffer = this[_decoder].decode(string, start, end); + if (buffer != null) this[_sink$0].add(buffer); + if (dart.test(isLast)) { + this[_decoder].close(string, end); + this[_sink$0].close(); + } + } +}; +(convert._Base64DecoderSink.new = function(_sink) { + if (_sink == null) dart.nullFailed(I[92], 848, 27, "_sink"); + this[_decoder] = new convert._Base64Decoder.new(); + this[_sink$0] = _sink; + ; +}).prototype = convert._Base64DecoderSink.prototype; +dart.addTypeTests(convert._Base64DecoderSink); +dart.addTypeCaches(convert._Base64DecoderSink); +dart.setMethodSignature(convert._Base64DecoderSink, () => ({ + __proto__: dart.getMethods(convert._Base64DecoderSink.__proto__), + close: dart.fnType(dart.void, []), + addSlice: dart.fnType(dart.void, [core.String, core.int, core.int, core.bool]) +})); +dart.setLibraryUri(convert._Base64DecoderSink, I[31]); +dart.setFieldSignature(convert._Base64DecoderSink, () => ({ + __proto__: dart.getFields(convert._Base64DecoderSink.__proto__), + [_sink$0]: dart.finalFieldType(core.Sink$(core.List$(core.int))), + [_decoder]: dart.finalFieldType(convert._Base64Decoder) +})); +convert._ByteAdapterSink = class _ByteAdapterSink extends convert.ByteConversionSinkBase { + add(chunk) { + T$0.ListOfint().as(chunk); + if (chunk == null) dart.nullFailed(I[91], 57, 22, "chunk"); + this[_sink$0].add(chunk); + } + close() { + this[_sink$0].close(); + } +}; +(convert._ByteAdapterSink.new = function(_sink) { + if (_sink == null) dart.nullFailed(I[91], 55, 25, "_sink"); + this[_sink$0] = _sink; + convert._ByteAdapterSink.__proto__.new.call(this); + ; +}).prototype = convert._ByteAdapterSink.prototype; +dart.addTypeTests(convert._ByteAdapterSink); +dart.addTypeCaches(convert._ByteAdapterSink); +dart.setMethodSignature(convert._ByteAdapterSink, () => ({ + __proto__: dart.getMethods(convert._ByteAdapterSink.__proto__), + add: dart.fnType(dart.void, [dart.nullable(core.Object)]), + close: dart.fnType(dart.void, []) +})); +dart.setLibraryUri(convert._ByteAdapterSink, I[31]); +dart.setFieldSignature(convert._ByteAdapterSink, () => ({ + __proto__: dart.getFields(convert._ByteAdapterSink.__proto__), + [_sink$0]: dart.finalFieldType(core.Sink$(core.List$(core.int))) +})); +var _buffer$ = dart.privateName(convert, "_buffer"); +var _bufferIndex = dart.privateName(convert, "_bufferIndex"); +var _callback$ = dart.privateName(convert, "_callback"); +convert._ByteCallbackSink = class _ByteCallbackSink extends convert.ByteConversionSinkBase { + add(chunk) { + T$.IterableOfint().as(chunk); + if (chunk == null) dart.nullFailed(I[91], 80, 26, "chunk"); + let freeCount = dart.notNull(this[_buffer$][$length]) - dart.notNull(this[_bufferIndex]); + if (dart.notNull(chunk[$length]) > freeCount) { + let oldLength = this[_buffer$][$length]; + let newLength = dart.notNull(convert._ByteCallbackSink._roundToPowerOf2(dart.notNull(chunk[$length]) + dart.notNull(oldLength))) * 2; + let grown = _native_typed_data.NativeUint8List.new(newLength); + grown[$setRange](0, this[_buffer$][$length], this[_buffer$]); + this[_buffer$] = grown; + } + this[_buffer$][$setRange](this[_bufferIndex], dart.notNull(this[_bufferIndex]) + dart.notNull(chunk[$length]), chunk); + this[_bufferIndex] = dart.notNull(this[_bufferIndex]) + dart.notNull(chunk[$length]); + } + static _roundToPowerOf2(v) { + if (v == null) dart.nullFailed(I[91], 94, 35, "v"); + if (!(dart.notNull(v) > 0)) dart.assertFailed(null, I[91], 95, 12, "v > 0"); + v = dart.notNull(v) - 1; + v = (dart.notNull(v) | v[$rightShift](1)) >>> 0; + v = (dart.notNull(v) | v[$rightShift](2)) >>> 0; + v = (dart.notNull(v) | v[$rightShift](4)) >>> 0; + v = (dart.notNull(v) | v[$rightShift](8)) >>> 0; + v = (dart.notNull(v) | v[$rightShift](16)) >>> 0; + v = dart.notNull(v) + 1; + return v; + } + close() { + let t173; + t173 = this[_buffer$][$sublist](0, this[_bufferIndex]); + this[_callback$](t173); + } +}; +(convert._ByteCallbackSink.new = function(callback) { + if (callback == null) dart.nullFailed(I[91], 77, 26, "callback"); + this[_buffer$] = _native_typed_data.NativeUint8List.new(1024); + this[_bufferIndex] = 0; + this[_callback$] = callback; + convert._ByteCallbackSink.__proto__.new.call(this); + ; +}).prototype = convert._ByteCallbackSink.prototype; +dart.addTypeTests(convert._ByteCallbackSink); +dart.addTypeCaches(convert._ByteCallbackSink); +dart.setMethodSignature(convert._ByteCallbackSink, () => ({ + __proto__: dart.getMethods(convert._ByteCallbackSink.__proto__), + add: dart.fnType(dart.void, [dart.nullable(core.Object)]), + close: dart.fnType(dart.void, []) +})); +dart.setLibraryUri(convert._ByteCallbackSink, I[31]); +dart.setFieldSignature(convert._ByteCallbackSink, () => ({ + __proto__: dart.getFields(convert._ByteCallbackSink.__proto__), + [_callback$]: dart.finalFieldType(dart.fnType(dart.void, [core.List$(core.int)])), + [_buffer$]: dart.fieldType(core.List$(core.int)), + [_bufferIndex]: dart.fieldType(core.int) +})); +dart.defineLazy(convert._ByteCallbackSink, { + /*convert._ByteCallbackSink._INITIAL_BUFFER_SIZE*/get _INITIAL_BUFFER_SIZE() { + return 1024; + } +}, false); +var _accumulated = dart.privateName(convert, "_accumulated"); +const _is__SimpleCallbackSink_default = Symbol('_is__SimpleCallbackSink_default'); +convert._SimpleCallbackSink$ = dart.generic(T => { + var JSArrayOfT = () => (JSArrayOfT = dart.constFn(_interceptors.JSArray$(T)))(); + class _SimpleCallbackSink extends convert.ChunkedConversionSink$(T) { + add(chunk) { + T.as(chunk); + this[_accumulated][$add](chunk); + } + close() { + let t173; + t173 = this[_accumulated]; + this[_callback$](t173); + } + } + (_SimpleCallbackSink.new = function(_callback) { + if (_callback == null) dart.nullFailed(I[93], 41, 28, "_callback"); + this[_accumulated] = JSArrayOfT().of([]); + this[_callback$] = _callback; + _SimpleCallbackSink.__proto__.new.call(this); + ; + }).prototype = _SimpleCallbackSink.prototype; + dart.addTypeTests(_SimpleCallbackSink); + _SimpleCallbackSink.prototype[_is__SimpleCallbackSink_default] = true; + dart.addTypeCaches(_SimpleCallbackSink); + dart.setMethodSignature(_SimpleCallbackSink, () => ({ + __proto__: dart.getMethods(_SimpleCallbackSink.__proto__), + add: dart.fnType(dart.void, [dart.nullable(core.Object)]), + close: dart.fnType(dart.void, []) + })); + dart.setLibraryUri(_SimpleCallbackSink, I[31]); + dart.setFieldSignature(_SimpleCallbackSink, () => ({ + __proto__: dart.getFields(_SimpleCallbackSink.__proto__), + [_callback$]: dart.finalFieldType(dart.fnType(dart.void, [core.List$(T)])), + [_accumulated]: dart.finalFieldType(core.List$(T)) + })); + return _SimpleCallbackSink; +}); +convert._SimpleCallbackSink = convert._SimpleCallbackSink$(); +dart.addTypeTests(convert._SimpleCallbackSink, _is__SimpleCallbackSink_default); +var _eventSink = dart.privateName(convert, "_eventSink"); +var _chunkedSink$ = dart.privateName(convert, "_chunkedSink"); +const _is__ConverterStreamEventSink_default = Symbol('_is__ConverterStreamEventSink_default'); +convert._ConverterStreamEventSink$ = dart.generic((S, T) => { + class _ConverterStreamEventSink extends core.Object { + add(o) { + S.as(o); + this[_chunkedSink$].add(o); + } + addError(error, stackTrace = null) { + if (error == null) dart.nullFailed(I[93], 75, 24, "error"); + _internal.checkNotNullable(core.Object, error, "error"); + this[_eventSink].addError(error, stackTrace); + } + close() { + this[_chunkedSink$].close(); + } + } + (_ConverterStreamEventSink.new = function(converter, sink) { + if (converter == null) dart.nullFailed(I[93], 67, 45, "converter"); + if (sink == null) dart.nullFailed(I[93], 67, 69, "sink"); + this[_eventSink] = sink; + this[_chunkedSink$] = converter.startChunkedConversion(sink); + ; + }).prototype = _ConverterStreamEventSink.prototype; + dart.addTypeTests(_ConverterStreamEventSink); + _ConverterStreamEventSink.prototype[_is__ConverterStreamEventSink_default] = true; + dart.addTypeCaches(_ConverterStreamEventSink); + _ConverterStreamEventSink[dart.implements] = () => [async.EventSink$(S)]; + dart.setMethodSignature(_ConverterStreamEventSink, () => ({ + __proto__: dart.getMethods(_ConverterStreamEventSink.__proto__), + add: dart.fnType(dart.void, [dart.nullable(core.Object)]), + addError: dart.fnType(dart.void, [core.Object], [dart.nullable(core.StackTrace)]), + close: dart.fnType(dart.void, []) + })); + dart.setLibraryUri(_ConverterStreamEventSink, I[31]); + dart.setFieldSignature(_ConverterStreamEventSink, () => ({ + __proto__: dart.getFields(_ConverterStreamEventSink.__proto__), + [_eventSink]: dart.finalFieldType(async.EventSink$(T)), + [_chunkedSink$]: dart.finalFieldType(core.Sink$(S)) + })); + return _ConverterStreamEventSink; +}); +convert._ConverterStreamEventSink = convert._ConverterStreamEventSink$(); +dart.addTypeTests(convert._ConverterStreamEventSink, _is__ConverterStreamEventSink_default); +var _first$0 = dart.privateName(convert, "_first"); +var _second$0 = dart.privateName(convert, "_second"); +const _is__FusedCodec_default = Symbol('_is__FusedCodec_default'); +convert._FusedCodec$ = dart.generic((S, M, T) => { + class _FusedCodec extends convert.Codec$(S, T) { + get encoder() { + return this[_first$0].encoder.fuse(T, this[_second$0].encoder); + } + get decoder() { + return this[_second$0].decoder.fuse(S, this[_first$0].decoder); + } + } + (_FusedCodec.new = function(_first, _second) { + if (_first == null) dart.nullFailed(I[89], 85, 20, "_first"); + if (_second == null) dart.nullFailed(I[89], 85, 33, "_second"); + this[_first$0] = _first; + this[_second$0] = _second; + _FusedCodec.__proto__.new.call(this); + ; + }).prototype = _FusedCodec.prototype; + dart.addTypeTests(_FusedCodec); + _FusedCodec.prototype[_is__FusedCodec_default] = true; + dart.addTypeCaches(_FusedCodec); + dart.setGetterSignature(_FusedCodec, () => ({ + __proto__: dart.getGetters(_FusedCodec.__proto__), + encoder: convert.Converter$(S, T), + decoder: convert.Converter$(T, S) + })); + dart.setLibraryUri(_FusedCodec, I[31]); + dart.setFieldSignature(_FusedCodec, () => ({ + __proto__: dart.getFields(_FusedCodec.__proto__), + [_first$0]: dart.finalFieldType(convert.Codec$(S, M)), + [_second$0]: dart.finalFieldType(convert.Codec$(M, T)) + })); + return _FusedCodec; +}); +convert._FusedCodec = convert._FusedCodec$(); +dart.addTypeTests(convert._FusedCodec, _is__FusedCodec_default); +var _codec = dart.privateName(convert, "_codec"); +const _is__InvertedCodec_default = Symbol('_is__InvertedCodec_default'); +convert._InvertedCodec$ = dart.generic((T, S) => { + class _InvertedCodec extends convert.Codec$(T, S) { + get encoder() { + return this[_codec].decoder; + } + get decoder() { + return this[_codec].encoder; + } + get inverted() { + return this[_codec]; + } + } + (_InvertedCodec.new = function(codec) { + if (codec == null) dart.nullFailed(I[89], 91, 30, "codec"); + this[_codec] = codec; + _InvertedCodec.__proto__.new.call(this); + ; + }).prototype = _InvertedCodec.prototype; + dart.addTypeTests(_InvertedCodec); + _InvertedCodec.prototype[_is__InvertedCodec_default] = true; + dart.addTypeCaches(_InvertedCodec); + dart.setGetterSignature(_InvertedCodec, () => ({ + __proto__: dart.getGetters(_InvertedCodec.__proto__), + encoder: convert.Converter$(T, S), + decoder: convert.Converter$(S, T) + })); + dart.setLibraryUri(_InvertedCodec, I[31]); + dart.setFieldSignature(_InvertedCodec, () => ({ + __proto__: dart.getFields(_InvertedCodec.__proto__), + [_codec]: dart.finalFieldType(convert.Codec$(S, T)) + })); + return _InvertedCodec; +}); +convert._InvertedCodec = convert._InvertedCodec$(); +dart.addTypeTests(convert._InvertedCodec, _is__InvertedCodec_default); +const _is__FusedConverter_default = Symbol('_is__FusedConverter_default'); +convert._FusedConverter$ = dart.generic((S, M, T) => { + var SinkOfT = () => (SinkOfT = dart.constFn(core.Sink$(T)))(); + class _FusedConverter extends convert.Converter$(S, T) { + convert(input) { + S.as(input); + return this[_second$0].convert(this[_first$0].convert(input)); + } + startChunkedConversion(sink) { + SinkOfT().as(sink); + if (sink == null) dart.nullFailed(I[30], 69, 42, "sink"); + return this[_first$0].startChunkedConversion(this[_second$0].startChunkedConversion(sink)); + } + } + (_FusedConverter.new = function(_first, _second) { + if (_first == null) dart.nullFailed(I[30], 65, 24, "_first"); + if (_second == null) dart.nullFailed(I[30], 65, 37, "_second"); + this[_first$0] = _first; + this[_second$0] = _second; + _FusedConverter.__proto__.new.call(this); + ; + }).prototype = _FusedConverter.prototype; + dart.addTypeTests(_FusedConverter); + _FusedConverter.prototype[_is__FusedConverter_default] = true; + dart.addTypeCaches(_FusedConverter); + dart.setMethodSignature(_FusedConverter, () => ({ + __proto__: dart.getMethods(_FusedConverter.__proto__), + convert: dart.fnType(T, [dart.nullable(core.Object)]) + })); + dart.setLibraryUri(_FusedConverter, I[31]); + dart.setFieldSignature(_FusedConverter, () => ({ + __proto__: dart.getFields(_FusedConverter.__proto__), + [_first$0]: dart.finalFieldType(convert.Converter$(S, M)), + [_second$0]: dart.finalFieldType(convert.Converter$(M, T)) + })); + return _FusedConverter; +}); +convert._FusedConverter = convert._FusedConverter$(); +dart.addTypeTests(convert._FusedConverter, _is__FusedConverter_default); +var _name$2 = dart.privateName(convert, "HtmlEscapeMode._name"); +var escapeLtGt$ = dart.privateName(convert, "HtmlEscapeMode.escapeLtGt"); +var escapeQuot$ = dart.privateName(convert, "HtmlEscapeMode.escapeQuot"); +var escapeApos$ = dart.privateName(convert, "HtmlEscapeMode.escapeApos"); +var escapeSlash$ = dart.privateName(convert, "HtmlEscapeMode.escapeSlash"); +var _name$3 = dart.privateName(convert, "_name"); +convert.HtmlEscapeMode = class HtmlEscapeMode extends core.Object { + get [_name$3]() { + return this[_name$2]; + } + set [_name$3](value) { + super[_name$3] = value; + } + get escapeLtGt() { + return this[escapeLtGt$]; + } + set escapeLtGt(value) { + super.escapeLtGt = value; + } + get escapeQuot() { + return this[escapeQuot$]; + } + set escapeQuot(value) { + super.escapeQuot = value; + } + get escapeApos() { + return this[escapeApos$]; + } + set escapeApos(value) { + super.escapeApos = value; + } + get escapeSlash() { + return this[escapeSlash$]; + } + set escapeSlash(value) { + super.escapeSlash = value; + } + toString() { + return this[_name$3]; + } +}; +(convert.HtmlEscapeMode.__ = function(_name, escapeLtGt, escapeQuot, escapeApos, escapeSlash) { + if (_name == null) dart.nullFailed(I[94], 102, 31, "_name"); + if (escapeLtGt == null) dart.nullFailed(I[94], 102, 43, "escapeLtGt"); + if (escapeQuot == null) dart.nullFailed(I[94], 102, 60, "escapeQuot"); + if (escapeApos == null) dart.nullFailed(I[94], 103, 12, "escapeApos"); + if (escapeSlash == null) dart.nullFailed(I[94], 103, 29, "escapeSlash"); + this[_name$2] = _name; + this[escapeLtGt$] = escapeLtGt; + this[escapeQuot$] = escapeQuot; + this[escapeApos$] = escapeApos; + this[escapeSlash$] = escapeSlash; + ; +}).prototype = convert.HtmlEscapeMode.prototype; +(convert.HtmlEscapeMode.new = function(opts) { + let name = opts && 'name' in opts ? opts.name : "custom"; + if (name == null) dart.nullFailed(I[94], 111, 15, "name"); + let escapeLtGt = opts && 'escapeLtGt' in opts ? opts.escapeLtGt : false; + if (escapeLtGt == null) dart.nullFailed(I[94], 112, 12, "escapeLtGt"); + let escapeQuot = opts && 'escapeQuot' in opts ? opts.escapeQuot : false; + if (escapeQuot == null) dart.nullFailed(I[94], 113, 12, "escapeQuot"); + let escapeApos = opts && 'escapeApos' in opts ? opts.escapeApos : false; + if (escapeApos == null) dart.nullFailed(I[94], 114, 12, "escapeApos"); + let escapeSlash = opts && 'escapeSlash' in opts ? opts.escapeSlash : false; + if (escapeSlash == null) dart.nullFailed(I[94], 115, 12, "escapeSlash"); + this[escapeLtGt$] = escapeLtGt; + this[escapeQuot$] = escapeQuot; + this[escapeApos$] = escapeApos; + this[escapeSlash$] = escapeSlash; + this[_name$2] = name; + ; +}).prototype = convert.HtmlEscapeMode.prototype; +dart.addTypeTests(convert.HtmlEscapeMode); +dart.addTypeCaches(convert.HtmlEscapeMode); +dart.setLibraryUri(convert.HtmlEscapeMode, I[31]); +dart.setFieldSignature(convert.HtmlEscapeMode, () => ({ + __proto__: dart.getFields(convert.HtmlEscapeMode.__proto__), + [_name$3]: dart.finalFieldType(core.String), + escapeLtGt: dart.finalFieldType(core.bool), + escapeQuot: dart.finalFieldType(core.bool), + escapeApos: dart.finalFieldType(core.bool), + escapeSlash: dart.finalFieldType(core.bool) +})); +dart.defineExtensionMethods(convert.HtmlEscapeMode, ['toString']); +dart.defineLazy(convert.HtmlEscapeMode, { + /*convert.HtmlEscapeMode.unknown*/get unknown() { + return C[88] || CT.C88; + }, + /*convert.HtmlEscapeMode.attribute*/get attribute() { + return C[89] || CT.C89; + }, + /*convert.HtmlEscapeMode.sqAttribute*/get sqAttribute() { + return C[90] || CT.C90; + }, + /*convert.HtmlEscapeMode.element*/get element() { + return C[91] || CT.C91; + } +}, false); +var mode$ = dart.privateName(convert, "HtmlEscape.mode"); +var _convert = dart.privateName(convert, "_convert"); +convert.HtmlEscape = class HtmlEscape extends convert.Converter$(core.String, core.String) { + get mode() { + return this[mode$]; + } + set mode(value) { + super.mode = value; + } + convert(text) { + core.String.as(text); + if (text == null) dart.nullFailed(I[94], 152, 25, "text"); + let val = this[_convert](text, 0, text.length); + return val == null ? text : val; + } + [_convert](text, start, end) { + if (text == null) dart.nullFailed(I[94], 161, 27, "text"); + if (start == null) dart.nullFailed(I[94], 161, 37, "start"); + if (end == null) dart.nullFailed(I[94], 161, 48, "end"); + let result = null; + for (let i = start; dart.notNull(i) < dart.notNull(end); i = dart.notNull(i) + 1) { + let ch = text[$_get](i); + let replacement = null; + switch (ch) { + case "&": + { + replacement = "&"; + break; + } + case "\"": + { + if (dart.test(this.mode.escapeQuot)) replacement = """; + break; + } + case "'": + { + if (dart.test(this.mode.escapeApos)) replacement = "'"; + break; + } + case "<": + { + if (dart.test(this.mode.escapeLtGt)) replacement = "<"; + break; + } + case ">": + { + if (dart.test(this.mode.escapeLtGt)) replacement = ">"; + break; + } + case "/": + { + if (dart.test(this.mode.escapeSlash)) replacement = "/"; + break; + } + } + if (replacement != null) { + result == null ? result = new core.StringBuffer.new() : null; + if (result == null) { + dart.throw("unreachable"); + } + if (dart.notNull(i) > dart.notNull(start)) result.write(text[$substring](start, i)); + result.write(replacement); + start = dart.notNull(i) + 1; + } + } + if (result == null) return null; + if (dart.notNull(end) > dart.notNull(start)) result.write(text[$substring](start, end)); + return dart.toString(result); + } + startChunkedConversion(sink) { + T$0.SinkOfString().as(sink); + if (sink == null) dart.nullFailed(I[94], 203, 60, "sink"); + return new convert._HtmlEscapeSink.new(this, convert.StringConversionSink.is(sink) ? sink : new convert._StringAdapterSink.new(sink)); + } +}; +(convert.HtmlEscape.new = function(mode = C[88] || CT.C88) { + if (mode == null) dart.nullFailed(I[94], 150, 26, "mode"); + this[mode$] = mode; + convert.HtmlEscape.__proto__.new.call(this); + ; +}).prototype = convert.HtmlEscape.prototype; +dart.addTypeTests(convert.HtmlEscape); +dart.addTypeCaches(convert.HtmlEscape); +dart.setMethodSignature(convert.HtmlEscape, () => ({ + __proto__: dart.getMethods(convert.HtmlEscape.__proto__), + convert: dart.fnType(core.String, [dart.nullable(core.Object)]), + [_convert]: dart.fnType(dart.nullable(core.String), [core.String, core.int, core.int]), + startChunkedConversion: dart.fnType(convert.StringConversionSink, [dart.nullable(core.Object)]) +})); +dart.setLibraryUri(convert.HtmlEscape, I[31]); +dart.setFieldSignature(convert.HtmlEscape, () => ({ + __proto__: dart.getFields(convert.HtmlEscape.__proto__), + mode: dart.finalFieldType(convert.HtmlEscapeMode) +})); +var _escape$ = dart.privateName(convert, "_escape"); +convert._HtmlEscapeSink = class _HtmlEscapeSink extends convert.StringConversionSinkBase { + addSlice(chunk, start, end, isLast) { + if (chunk == null) dart.nullFailed(I[94], 215, 24, "chunk"); + if (start == null) dart.nullFailed(I[94], 215, 35, "start"); + if (end == null) dart.nullFailed(I[94], 215, 46, "end"); + if (isLast == null) dart.nullFailed(I[94], 215, 56, "isLast"); + let val = this[_escape$][_convert](chunk, start, end); + if (val == null) { + this[_sink$0].addSlice(chunk, start, end, isLast); + } else { + this[_sink$0].add(val); + if (dart.test(isLast)) this[_sink$0].close(); + } + } + close() { + this[_sink$0].close(); + } +}; +(convert._HtmlEscapeSink.new = function(_escape, _sink) { + if (_escape == null) dart.nullFailed(I[94], 213, 24, "_escape"); + if (_sink == null) dart.nullFailed(I[94], 213, 38, "_sink"); + this[_escape$] = _escape; + this[_sink$0] = _sink; + ; +}).prototype = convert._HtmlEscapeSink.prototype; +dart.addTypeTests(convert._HtmlEscapeSink); +dart.addTypeCaches(convert._HtmlEscapeSink); +dart.setMethodSignature(convert._HtmlEscapeSink, () => ({ + __proto__: dart.getMethods(convert._HtmlEscapeSink.__proto__), + addSlice: dart.fnType(dart.void, [core.String, core.int, core.int, core.bool]), + close: dart.fnType(dart.void, []) +})); +dart.setLibraryUri(convert._HtmlEscapeSink, I[31]); +dart.setFieldSignature(convert._HtmlEscapeSink, () => ({ + __proto__: dart.getFields(convert._HtmlEscapeSink.__proto__), + [_escape$]: dart.finalFieldType(convert.HtmlEscape), + [_sink$0]: dart.finalFieldType(convert.StringConversionSink) +})); +var unsupportedObject$ = dart.privateName(convert, "JsonUnsupportedObjectError.unsupportedObject"); +var cause$ = dart.privateName(convert, "JsonUnsupportedObjectError.cause"); +var partialResult$ = dart.privateName(convert, "JsonUnsupportedObjectError.partialResult"); +convert.JsonUnsupportedObjectError = class JsonUnsupportedObjectError extends core.Error { + get unsupportedObject() { + return this[unsupportedObject$]; + } + set unsupportedObject(value) { + super.unsupportedObject = value; + } + get cause() { + return this[cause$]; + } + set cause(value) { + super.cause = value; + } + get partialResult() { + return this[partialResult$]; + } + set partialResult(value) { + super.partialResult = value; + } + toString() { + let safeString = core.Error.safeToString(this.unsupportedObject); + let prefix = null; + if (this.cause != null) { + prefix = "Converting object to an encodable object failed:"; + } else { + prefix = "Converting object did not return an encodable object:"; + } + return dart.str(prefix) + " " + dart.str(safeString); + } +}; +(convert.JsonUnsupportedObjectError.new = function(unsupportedObject, opts) { + let cause = opts && 'cause' in opts ? opts.cause : null; + let partialResult = opts && 'partialResult' in opts ? opts.partialResult : null; + this[unsupportedObject$] = unsupportedObject; + this[cause$] = cause; + this[partialResult$] = partialResult; + convert.JsonUnsupportedObjectError.__proto__.new.call(this); + ; +}).prototype = convert.JsonUnsupportedObjectError.prototype; +dart.addTypeTests(convert.JsonUnsupportedObjectError); +dart.addTypeCaches(convert.JsonUnsupportedObjectError); +dart.setLibraryUri(convert.JsonUnsupportedObjectError, I[31]); +dart.setFieldSignature(convert.JsonUnsupportedObjectError, () => ({ + __proto__: dart.getFields(convert.JsonUnsupportedObjectError.__proto__), + unsupportedObject: dart.finalFieldType(dart.nullable(core.Object)), + cause: dart.finalFieldType(dart.nullable(core.Object)), + partialResult: dart.finalFieldType(dart.nullable(core.String)) +})); +dart.defineExtensionMethods(convert.JsonUnsupportedObjectError, ['toString']); +convert.JsonCyclicError = class JsonCyclicError extends convert.JsonUnsupportedObjectError { + toString() { + return "Cyclic error in JSON stringify"; + } +}; +(convert.JsonCyclicError.new = function(object) { + convert.JsonCyclicError.__proto__.new.call(this, object); + ; +}).prototype = convert.JsonCyclicError.prototype; +dart.addTypeTests(convert.JsonCyclicError); +dart.addTypeCaches(convert.JsonCyclicError); +dart.setLibraryUri(convert.JsonCyclicError, I[31]); +dart.defineExtensionMethods(convert.JsonCyclicError, ['toString']); +var _reviver = dart.privateName(convert, "JsonCodec._reviver"); +var _toEncodable = dart.privateName(convert, "JsonCodec._toEncodable"); +var _toEncodable$ = dart.privateName(convert, "_toEncodable"); +var JsonEncoder__toEncodable = dart.privateName(convert, "JsonEncoder._toEncodable"); +var JsonEncoder_indent = dart.privateName(convert, "JsonEncoder.indent"); +var JsonDecoder__reviver = dart.privateName(convert, "JsonDecoder._reviver"); +convert.JsonCodec = class JsonCodec extends convert.Codec$(dart.nullable(core.Object), core.String) { + get [_reviver$]() { + return this[_reviver]; + } + set [_reviver$](value) { + super[_reviver$] = value; + } + get [_toEncodable$]() { + return this[_toEncodable]; + } + set [_toEncodable$](value) { + super[_toEncodable$] = value; + } + decode(source, opts) { + core.String.as(source); + if (source == null) dart.nullFailed(I[95], 154, 25, "source"); + let reviver = opts && 'reviver' in opts ? opts.reviver : null; + reviver == null ? reviver = this[_reviver$] : null; + if (reviver == null) return this.decoder.convert(source); + return new convert.JsonDecoder.new(reviver).convert(source); + } + encode(value, opts) { + let toEncodable = opts && 'toEncodable' in opts ? opts.toEncodable : null; + toEncodable == null ? toEncodable = this[_toEncodable$] : null; + if (toEncodable == null) return this.encoder.convert(value); + return new convert.JsonEncoder.new(toEncodable).convert(value); + } + get encoder() { + if (this[_toEncodable$] == null) return C[92] || CT.C92; + return new convert.JsonEncoder.new(this[_toEncodable$]); + } + get decoder() { + if (this[_reviver$] == null) return C[93] || CT.C93; + return new convert.JsonDecoder.new(this[_reviver$]); + } +}; +(convert.JsonCodec.new = function(opts) { + let reviver = opts && 'reviver' in opts ? opts.reviver : null; + let toEncodable = opts && 'toEncodable' in opts ? opts.toEncodable : null; + this[_reviver] = reviver; + this[_toEncodable] = toEncodable; + convert.JsonCodec.__proto__.new.call(this); + ; +}).prototype = convert.JsonCodec.prototype; +(convert.JsonCodec.withReviver = function(reviver) { + if (reviver == null) dart.nullFailed(I[95], 143, 33, "reviver"); + convert.JsonCodec.new.call(this, {reviver: reviver}); +}).prototype = convert.JsonCodec.prototype; +dart.addTypeTests(convert.JsonCodec); +dart.addTypeCaches(convert.JsonCodec); +dart.setMethodSignature(convert.JsonCodec, () => ({ + __proto__: dart.getMethods(convert.JsonCodec.__proto__), + decode: dart.fnType(dart.dynamic, [dart.nullable(core.Object)], {reviver: dart.nullable(dart.fnType(dart.nullable(core.Object), [dart.nullable(core.Object), dart.nullable(core.Object)]))}, {}), + encode: dart.fnType(core.String, [dart.nullable(core.Object)], {toEncodable: dart.nullable(dart.fnType(dart.nullable(core.Object), [dart.dynamic]))}, {}) +})); +dart.setGetterSignature(convert.JsonCodec, () => ({ + __proto__: dart.getGetters(convert.JsonCodec.__proto__), + encoder: convert.JsonEncoder, + decoder: convert.JsonDecoder +})); +dart.setLibraryUri(convert.JsonCodec, I[31]); +dart.setFieldSignature(convert.JsonCodec, () => ({ + __proto__: dart.getFields(convert.JsonCodec.__proto__), + [_reviver$]: dart.finalFieldType(dart.nullable(dart.fnType(dart.nullable(core.Object), [dart.nullable(core.Object), dart.nullable(core.Object)]))), + [_toEncodable$]: dart.finalFieldType(dart.nullable(dart.fnType(dart.nullable(core.Object), [dart.dynamic]))) +})); +const indent$ = JsonEncoder_indent; +const _toEncodable$0 = JsonEncoder__toEncodable; +convert.JsonEncoder = class JsonEncoder extends convert.Converter$(dart.nullable(core.Object), core.String) { + get indent() { + return this[indent$]; + } + set indent(value) { + super.indent = value; + } + get [_toEncodable$]() { + return this[_toEncodable$0]; + } + set [_toEncodable$](value) { + super[_toEncodable$] = value; + } + convert(object) { + return convert._JsonStringStringifier.stringify(object, this[_toEncodable$], this.indent); + } + startChunkedConversion(sink) { + T$0.SinkOfString().as(sink); + if (sink == null) dart.nullFailed(I[95], 271, 70, "sink"); + if (convert._Utf8EncoderSink.is(sink)) { + return new convert._JsonUtf8EncoderSink.new(sink[_sink$0], this[_toEncodable$], convert.JsonUtf8Encoder._utf8Encode(this.indent), 256); + } + return new convert._JsonEncoderSink.new(convert.StringConversionSink.is(sink) ? sink : new convert._StringAdapterSink.new(sink), this[_toEncodable$], this.indent); + } + bind(stream) { + T$0.StreamOfObjectN().as(stream); + if (stream == null) dart.nullFailed(I[95], 286, 39, "stream"); + return super.bind(stream); + } + fuse(T, other) { + convert.Converter$(core.String, T).as(other); + if (other == null) dart.nullFailed(I[95], 288, 54, "other"); + if (convert.Utf8Encoder.is(other)) { + return convert.Converter$(T$.ObjectN(), T).as(new convert.JsonUtf8Encoder.new(this.indent, this[_toEncodable$])); + } + return super.fuse(T, other); + } +}; +(convert.JsonEncoder.new = function(toEncodable = null) { + this[indent$] = null; + this[_toEncodable$0] = toEncodable; + convert.JsonEncoder.__proto__.new.call(this); + ; +}).prototype = convert.JsonEncoder.prototype; +(convert.JsonEncoder.withIndent = function(indent, toEncodable = null) { + this[indent$] = indent; + this[_toEncodable$0] = toEncodable; + convert.JsonEncoder.__proto__.new.call(this); + ; +}).prototype = convert.JsonEncoder.prototype; +dart.addTypeTests(convert.JsonEncoder); +dart.addTypeCaches(convert.JsonEncoder); +dart.setMethodSignature(convert.JsonEncoder, () => ({ + __proto__: dart.getMethods(convert.JsonEncoder.__proto__), + convert: dart.fnType(core.String, [dart.nullable(core.Object)]), + startChunkedConversion: dart.fnType(convert.ChunkedConversionSink$(dart.nullable(core.Object)), [dart.nullable(core.Object)]), + fuse: dart.gFnType(T => [convert.Converter$(dart.nullable(core.Object), T), [dart.nullable(core.Object)]], T => [dart.nullable(core.Object)]) +})); +dart.setLibraryUri(convert.JsonEncoder, I[31]); +dart.setFieldSignature(convert.JsonEncoder, () => ({ + __proto__: dart.getFields(convert.JsonEncoder.__proto__), + indent: dart.finalFieldType(dart.nullable(core.String)), + [_toEncodable$]: dart.finalFieldType(dart.nullable(dart.fnType(dart.nullable(core.Object), [dart.dynamic]))) +})); +var _indent$ = dart.privateName(convert, "_indent"); +var _bufferSize$ = dart.privateName(convert, "_bufferSize"); +convert.JsonUtf8Encoder = class JsonUtf8Encoder extends convert.Converter$(dart.nullable(core.Object), core.List$(core.int)) { + static _utf8Encode(string) { + if (string == null) return null; + if (string[$isEmpty]) return _native_typed_data.NativeUint8List.new(0); + L0: { + for (let i = 0; i < string.length; i = i + 1) { + if (string[$codeUnitAt](i) >= 128) break L0; + } + return string[$codeUnits]; + } + return convert.utf8.encode(string); + } + convert(object) { + let bytes = T$0.JSArrayOfListOfint().of([]); + function addChunk(chunk, start, end) { + if (chunk == null) dart.nullFailed(I[95], 365, 29, "chunk"); + if (start == null) dart.nullFailed(I[95], 365, 40, "start"); + if (end == null) dart.nullFailed(I[95], 365, 51, "end"); + if (dart.notNull(start) > 0 || dart.notNull(end) < dart.notNull(chunk[$length])) { + let length = dart.notNull(end) - dart.notNull(start); + chunk = typed_data.Uint8List.view(chunk[$buffer], dart.notNull(chunk[$offsetInBytes]) + dart.notNull(start), length); + } + bytes[$add](chunk); + } + dart.fn(addChunk, T$0.Uint8ListAndintAndintTovoid()); + convert._JsonUtf8Stringifier.stringify(object, this[_indent$], this[_toEncodable$], this[_bufferSize$], addChunk); + if (bytes[$length] === 1) return bytes[$_get](0); + let length = 0; + for (let i = 0; i < dart.notNull(bytes[$length]); i = i + 1) { + length = length + dart.notNull(bytes[$_get](i)[$length]); + } + let result = _native_typed_data.NativeUint8List.new(length); + for (let i = 0, offset = 0; i < dart.notNull(bytes[$length]); i = i + 1) { + let byteList = bytes[$_get](i); + let end = offset + dart.notNull(byteList[$length]); + result[$setRange](offset, end, byteList); + offset = end; + } + return result; + } + startChunkedConversion(sink) { + T$0.SinkOfListOfint().as(sink); + if (sink == null) dart.nullFailed(I[95], 397, 73, "sink"); + let byteSink = null; + if (convert.ByteConversionSink.is(sink)) { + byteSink = sink; + } else { + byteSink = new convert._ByteAdapterSink.new(sink); + } + return new convert._JsonUtf8EncoderSink.new(byteSink, this[_toEncodable$], this[_indent$], this[_bufferSize$]); + } + bind(stream) { + T$0.StreamOfObjectN().as(stream); + if (stream == null) dart.nullFailed(I[95], 408, 42, "stream"); + return super.bind(stream); + } +}; +(convert.JsonUtf8Encoder.new = function(indent = null, toEncodable = null, bufferSize = null) { + let t173; + this[_indent$] = convert.JsonUtf8Encoder._utf8Encode(indent); + this[_toEncodable$] = toEncodable; + this[_bufferSize$] = (t173 = bufferSize, t173 == null ? 256 : t173); + convert.JsonUtf8Encoder.__proto__.new.call(this); + ; +}).prototype = convert.JsonUtf8Encoder.prototype; +dart.addTypeTests(convert.JsonUtf8Encoder); +dart.addTypeCaches(convert.JsonUtf8Encoder); +dart.setMethodSignature(convert.JsonUtf8Encoder, () => ({ + __proto__: dart.getMethods(convert.JsonUtf8Encoder.__proto__), + convert: dart.fnType(core.List$(core.int), [dart.nullable(core.Object)]), + startChunkedConversion: dart.fnType(convert.ChunkedConversionSink$(dart.nullable(core.Object)), [dart.nullable(core.Object)]) +})); +dart.setLibraryUri(convert.JsonUtf8Encoder, I[31]); +dart.setFieldSignature(convert.JsonUtf8Encoder, () => ({ + __proto__: dart.getFields(convert.JsonUtf8Encoder.__proto__), + [_indent$]: dart.finalFieldType(dart.nullable(core.List$(core.int))), + [_toEncodable$]: dart.finalFieldType(dart.nullable(dart.fnType(dart.nullable(core.Object), [dart.dynamic]))), + [_bufferSize$]: dart.finalFieldType(core.int) +})); +dart.defineLazy(convert.JsonUtf8Encoder, { + /*convert.JsonUtf8Encoder._defaultBufferSize*/get _defaultBufferSize() { + return 256; + }, + /*convert.JsonUtf8Encoder.DEFAULT_BUFFER_SIZE*/get DEFAULT_BUFFER_SIZE() { + return 256; + } +}, false); +var _isDone = dart.privateName(convert, "_isDone"); +convert._JsonEncoderSink = class _JsonEncoderSink extends convert.ChunkedConversionSink$(dart.nullable(core.Object)) { + add(o) { + if (dart.test(this[_isDone])) { + dart.throw(new core.StateError.new("Only one call to add allowed")); + } + this[_isDone] = true; + let stringSink = this[_sink$0].asStringSink(); + convert._JsonStringStringifier.printOn(o, stringSink, this[_toEncodable$], this[_indent$]); + stringSink.close(); + } + close() { + } +}; +(convert._JsonEncoderSink.new = function(_sink, _toEncodable, _indent) { + if (_sink == null) dart.nullFailed(I[95], 422, 25, "_sink"); + this[_isDone] = false; + this[_sink$0] = _sink; + this[_toEncodable$] = _toEncodable; + this[_indent$] = _indent; + convert._JsonEncoderSink.__proto__.new.call(this); + ; +}).prototype = convert._JsonEncoderSink.prototype; +dart.addTypeTests(convert._JsonEncoderSink); +dart.addTypeCaches(convert._JsonEncoderSink); +dart.setMethodSignature(convert._JsonEncoderSink, () => ({ + __proto__: dart.getMethods(convert._JsonEncoderSink.__proto__), + add: dart.fnType(dart.void, [dart.nullable(core.Object)]), + close: dart.fnType(dart.void, []) +})); +dart.setLibraryUri(convert._JsonEncoderSink, I[31]); +dart.setFieldSignature(convert._JsonEncoderSink, () => ({ + __proto__: dart.getFields(convert._JsonEncoderSink.__proto__), + [_indent$]: dart.finalFieldType(dart.nullable(core.String)), + [_toEncodable$]: dart.finalFieldType(dart.nullable(dart.fnType(dart.nullable(core.Object), [dart.dynamic]))), + [_sink$0]: dart.finalFieldType(convert.StringConversionSink), + [_isDone]: dart.fieldType(core.bool) +})); +var _addChunk = dart.privateName(convert, "_addChunk"); +convert._JsonUtf8EncoderSink = class _JsonUtf8EncoderSink extends convert.ChunkedConversionSink$(dart.nullable(core.Object)) { + [_addChunk](chunk, start, end) { + if (chunk == null) dart.nullFailed(I[95], 454, 28, "chunk"); + if (start == null) dart.nullFailed(I[95], 454, 39, "start"); + if (end == null) dart.nullFailed(I[95], 454, 50, "end"); + this[_sink$0].addSlice(chunk, start, end, false); + } + add(object) { + if (dart.test(this[_isDone])) { + dart.throw(new core.StateError.new("Only one call to add allowed")); + } + this[_isDone] = true; + convert._JsonUtf8Stringifier.stringify(object, this[_indent$], this[_toEncodable$], this[_bufferSize$], dart.bind(this, _addChunk)); + this[_sink$0].close(); + } + close() { + if (!dart.test(this[_isDone])) { + this[_isDone] = true; + this[_sink$0].close(); + } + } +}; +(convert._JsonUtf8EncoderSink.new = function(_sink, _toEncodable, _indent, _bufferSize) { + if (_sink == null) dart.nullFailed(I[95], 451, 12, "_sink"); + if (_bufferSize == null) dart.nullFailed(I[95], 451, 57, "_bufferSize"); + this[_isDone] = false; + this[_sink$0] = _sink; + this[_toEncodable$] = _toEncodable; + this[_indent$] = _indent; + this[_bufferSize$] = _bufferSize; + convert._JsonUtf8EncoderSink.__proto__.new.call(this); + ; +}).prototype = convert._JsonUtf8EncoderSink.prototype; +dart.addTypeTests(convert._JsonUtf8EncoderSink); +dart.addTypeCaches(convert._JsonUtf8EncoderSink); +dart.setMethodSignature(convert._JsonUtf8EncoderSink, () => ({ + __proto__: dart.getMethods(convert._JsonUtf8EncoderSink.__proto__), + [_addChunk]: dart.fnType(dart.void, [typed_data.Uint8List, core.int, core.int]), + add: dart.fnType(dart.void, [dart.nullable(core.Object)]), + close: dart.fnType(dart.void, []) +})); +dart.setLibraryUri(convert._JsonUtf8EncoderSink, I[31]); +dart.setFieldSignature(convert._JsonUtf8EncoderSink, () => ({ + __proto__: dart.getFields(convert._JsonUtf8EncoderSink.__proto__), + [_sink$0]: dart.finalFieldType(convert.ByteConversionSink), + [_indent$]: dart.finalFieldType(dart.nullable(core.List$(core.int))), + [_toEncodable$]: dart.finalFieldType(dart.nullable(dart.fnType(dart.nullable(core.Object), [dart.dynamic]))), + [_bufferSize$]: dart.finalFieldType(core.int), + [_isDone]: dart.fieldType(core.bool) +})); +const _reviver$0 = JsonDecoder__reviver; +convert.JsonDecoder = class JsonDecoder extends convert.Converter$(core.String, dart.nullable(core.Object)) { + get [_reviver$]() { + return this[_reviver$0]; + } + set [_reviver$](value) { + super[_reviver$] = value; + } + convert(input) { + core.String.as(input); + if (input == null) dart.nullFailed(I[95], 506, 26, "input"); + return convert._parseJson(input, this[_reviver$]); + } + startChunkedConversion(sink) { + if (sink == null) dart.nullFailed(I[85], 363, 61, "sink"); + return new convert._JsonDecoderSink.new(this[_reviver$], sink); + } + bind(stream) { + T$0.StreamOfString().as(stream); + if (stream == null) dart.nullFailed(I[95], 514, 39, "stream"); + return super.bind(stream); + } +}; +(convert.JsonDecoder.new = function(reviver = null) { + this[_reviver$0] = reviver; + convert.JsonDecoder.__proto__.new.call(this); + ; +}).prototype = convert.JsonDecoder.prototype; +dart.addTypeTests(convert.JsonDecoder); +dart.addTypeCaches(convert.JsonDecoder); +dart.setMethodSignature(convert.JsonDecoder, () => ({ + __proto__: dart.getMethods(convert.JsonDecoder.__proto__), + convert: dart.fnType(dart.dynamic, [dart.nullable(core.Object)]), + startChunkedConversion: dart.fnType(convert.StringConversionSink, [core.Sink$(dart.nullable(core.Object))]) +})); +dart.setLibraryUri(convert.JsonDecoder, I[31]); +dart.setFieldSignature(convert.JsonDecoder, () => ({ + __proto__: dart.getFields(convert.JsonDecoder.__proto__), + [_reviver$]: dart.finalFieldType(dart.nullable(dart.fnType(dart.nullable(core.Object), [dart.nullable(core.Object), dart.nullable(core.Object)]))) +})); +var _seen = dart.privateName(convert, "_seen"); +var _checkCycle = dart.privateName(convert, "_checkCycle"); +var _removeSeen = dart.privateName(convert, "_removeSeen"); +var _partialResult = dart.privateName(convert, "_partialResult"); +convert._JsonStringifier = class _JsonStringifier extends core.Object { + static hexDigit(x) { + if (x == null) dart.nullFailed(I[95], 574, 27, "x"); + return dart.notNull(x) < 10 ? 48 + dart.notNull(x) : 87 + dart.notNull(x); + } + writeStringContent(s) { + if (s == null) dart.nullFailed(I[95], 577, 34, "s"); + let offset = 0; + let length = s.length; + for (let i = 0; i < length; i = i + 1) { + let charCode = s[$codeUnitAt](i); + if (charCode > 92) { + if (charCode >= 55296) { + if ((charCode & 64512) >>> 0 === 55296 && !(i + 1 < length && (s[$codeUnitAt](i + 1) & 64512) >>> 0 === 56320) || (charCode & 64512) >>> 0 === 56320 && !(i - 1 >= 0 && (s[$codeUnitAt](i - 1) & 64512) >>> 0 === 55296)) { + if (i > offset) this.writeStringSlice(s, offset, i); + offset = i + 1; + this.writeCharCode(92); + this.writeCharCode(117); + this.writeCharCode(100); + this.writeCharCode(convert._JsonStringifier.hexDigit(charCode >> 8 & 15)); + this.writeCharCode(convert._JsonStringifier.hexDigit(charCode >> 4 & 15)); + this.writeCharCode(convert._JsonStringifier.hexDigit(charCode & 15)); + } + } + continue; + } + if (charCode < 32) { + if (i > offset) this.writeStringSlice(s, offset, i); + offset = i + 1; + this.writeCharCode(92); + switch (charCode) { + case 8: + { + this.writeCharCode(98); + break; + } + case 9: + { + this.writeCharCode(116); + break; + } + case 10: + { + this.writeCharCode(110); + break; + } + case 12: + { + this.writeCharCode(102); + break; + } + case 13: + { + this.writeCharCode(114); + break; + } + default: + { + this.writeCharCode(117); + this.writeCharCode(48); + this.writeCharCode(48); + this.writeCharCode(convert._JsonStringifier.hexDigit(charCode >> 4 & 15)); + this.writeCharCode(convert._JsonStringifier.hexDigit(charCode & 15)); + break; + } + } + } else if (charCode === 34 || charCode === 92) { + if (i > offset) this.writeStringSlice(s, offset, i); + offset = i + 1; + this.writeCharCode(92); + this.writeCharCode(charCode); + } + } + if (offset === 0) { + this.writeString(s); + } else if (offset < length) { + this.writeStringSlice(s, offset, length); + } + } + [_checkCycle](object) { + for (let i = 0; i < dart.notNull(this[_seen][$length]); i = i + 1) { + if (core.identical(object, this[_seen][$_get](i))) { + dart.throw(new convert.JsonCyclicError.new(object)); + } + } + this[_seen][$add](object); + } + [_removeSeen](object) { + if (!dart.test(this[_seen][$isNotEmpty])) dart.assertFailed(null, I[95], 666, 12, "_seen.isNotEmpty"); + if (!core.identical(this[_seen][$last], object)) dart.assertFailed(null, I[95], 667, 12, "identical(_seen.last, object)"); + this[_seen][$removeLast](); + } + writeObject(object) { + let t173; + if (dart.test(this.writeJsonValue(object))) return; + this[_checkCycle](object); + try { + let customJson = (t173 = object, this[_toEncodable$](t173)); + if (!dart.test(this.writeJsonValue(customJson))) { + dart.throw(new convert.JsonUnsupportedObjectError.new(object, {partialResult: this[_partialResult]})); + } + this[_removeSeen](object); + } catch (e$) { + let e = dart.getThrown(e$); + if (core.Object.is(e)) { + dart.throw(new convert.JsonUnsupportedObjectError.new(object, {cause: e, partialResult: this[_partialResult]})); + } else + throw e$; + } + } + writeJsonValue(object) { + if (typeof object == 'number') { + if (!object[$isFinite]) return false; + this.writeNumber(object); + return true; + } else if (object === true) { + this.writeString("true"); + return true; + } else if (object === false) { + this.writeString("false"); + return true; + } else if (object == null) { + this.writeString("null"); + return true; + } else if (typeof object == 'string') { + this.writeString("\""); + this.writeStringContent(object); + this.writeString("\""); + return true; + } else if (core.List.is(object)) { + this[_checkCycle](object); + this.writeList(object); + this[_removeSeen](object); + return true; + } else if (core.Map.is(object)) { + this[_checkCycle](object); + let success = this.writeMap(object); + this[_removeSeen](object); + return success; + } else { + return false; + } + } + writeList(list) { + if (list == null) dart.nullFailed(I[95], 733, 32, "list"); + this.writeString("["); + if (dart.test(list[$isNotEmpty])) { + this.writeObject(list[$_get](0)); + for (let i = 1; i < dart.notNull(list[$length]); i = i + 1) { + this.writeString(","); + this.writeObject(list[$_get](i)); + } + } + this.writeString("]"); + } + writeMap(map) { + if (map == null) dart.nullFailed(I[95], 746, 39, "map"); + if (dart.test(map[$isEmpty])) { + this.writeString("{}"); + return true; + } + let keyValueList = T$.ListOfObjectN().filled(dart.notNull(map[$length]) * 2, null); + let i = 0; + let allStringKeys = true; + map[$forEach](dart.fn((key, value) => { + let t174, t174$; + if (!(typeof key == 'string')) { + allStringKeys = false; + } + keyValueList[$_set]((t174 = i, i = t174 + 1, t174), key); + keyValueList[$_set]((t174$ = i, i = t174$ + 1, t174$), value); + }, T$.ObjectNAndObjectNTovoid())); + if (!allStringKeys) return false; + this.writeString("{"); + let separator = "\""; + for (let i = 0; i < dart.notNull(keyValueList[$length]); i = i + 2) { + this.writeString(separator); + separator = ",\""; + this.writeStringContent(core.String.as(keyValueList[$_get](i))); + this.writeString("\":"); + this.writeObject(keyValueList[$_get](i + 1)); + } + this.writeString("}"); + return true; + } +}; +(convert._JsonStringifier.new = function(toEncodable) { + let t173; + this[_seen] = []; + this[_toEncodable$] = (t173 = toEncodable, t173 == null ? C[94] || CT.C94 : t173); + ; +}).prototype = convert._JsonStringifier.prototype; +dart.addTypeTests(convert._JsonStringifier); +dart.addTypeCaches(convert._JsonStringifier); +dart.setMethodSignature(convert._JsonStringifier, () => ({ + __proto__: dart.getMethods(convert._JsonStringifier.__proto__), + writeStringContent: dart.fnType(dart.void, [core.String]), + [_checkCycle]: dart.fnType(dart.void, [dart.nullable(core.Object)]), + [_removeSeen]: dart.fnType(dart.void, [dart.nullable(core.Object)]), + writeObject: dart.fnType(dart.void, [dart.nullable(core.Object)]), + writeJsonValue: dart.fnType(core.bool, [dart.nullable(core.Object)]), + writeList: dart.fnType(dart.void, [core.List$(dart.nullable(core.Object))]), + writeMap: dart.fnType(core.bool, [core.Map$(dart.nullable(core.Object), dart.nullable(core.Object))]) +})); +dart.setLibraryUri(convert._JsonStringifier, I[31]); +dart.setFieldSignature(convert._JsonStringifier, () => ({ + __proto__: dart.getFields(convert._JsonStringifier.__proto__), + [_seen]: dart.finalFieldType(core.List), + [_toEncodable$]: dart.finalFieldType(dart.fnType(dart.dynamic, [dart.dynamic])) +})); +dart.defineLazy(convert._JsonStringifier, { + /*convert._JsonStringifier.backspace*/get backspace() { + return 8; + }, + /*convert._JsonStringifier.tab*/get tab() { + return 9; + }, + /*convert._JsonStringifier.newline*/get newline() { + return 10; + }, + /*convert._JsonStringifier.carriageReturn*/get carriageReturn() { + return 13; + }, + /*convert._JsonStringifier.formFeed*/get formFeed() { + return 12; + }, + /*convert._JsonStringifier.quote*/get quote() { + return 34; + }, + /*convert._JsonStringifier.char_0*/get char_0() { + return 48; + }, + /*convert._JsonStringifier.backslash*/get backslash() { + return 92; + }, + /*convert._JsonStringifier.char_b*/get char_b() { + return 98; + }, + /*convert._JsonStringifier.char_d*/get char_d() { + return 100; + }, + /*convert._JsonStringifier.char_f*/get char_f() { + return 102; + }, + /*convert._JsonStringifier.char_n*/get char_n() { + return 110; + }, + /*convert._JsonStringifier.char_r*/get char_r() { + return 114; + }, + /*convert._JsonStringifier.char_t*/get char_t() { + return 116; + }, + /*convert._JsonStringifier.char_u*/get char_u() { + return 117; + }, + /*convert._JsonStringifier.surrogateMin*/get surrogateMin() { + return 55296; + }, + /*convert._JsonStringifier.surrogateMask*/get surrogateMask() { + return 64512; + }, + /*convert._JsonStringifier.surrogateLead*/get surrogateLead() { + return 55296; + }, + /*convert._JsonStringifier.surrogateTrail*/get surrogateTrail() { + return 56320; + } +}, false); +var _indentLevel = dart.privateName(convert, "_JsonPrettyPrintMixin._indentLevel"); +var _indentLevel$ = dart.privateName(convert, "_indentLevel"); +convert._JsonPrettyPrintMixin = class _JsonPrettyPrintMixin extends core.Object { + get [_indentLevel$]() { + return this[_indentLevel]; + } + set [_indentLevel$](value) { + this[_indentLevel] = value; + } + writeList(list) { + if (list == null) dart.nullFailed(I[95], 786, 32, "list"); + if (dart.test(list[$isEmpty])) { + this.writeString("[]"); + } else { + this.writeString("[\n"); + this[_indentLevel$] = dart.notNull(this[_indentLevel$]) + 1; + this.writeIndentation(this[_indentLevel$]); + this.writeObject(list[$_get](0)); + for (let i = 1; i < dart.notNull(list[$length]); i = i + 1) { + this.writeString(",\n"); + this.writeIndentation(this[_indentLevel$]); + this.writeObject(list[$_get](i)); + } + this.writeString("\n"); + this[_indentLevel$] = dart.notNull(this[_indentLevel$]) - 1; + this.writeIndentation(this[_indentLevel$]); + this.writeString("]"); + } + } + writeMap(map) { + if (map == null) dart.nullFailed(I[95], 806, 39, "map"); + if (dart.test(map[$isEmpty])) { + this.writeString("{}"); + return true; + } + let keyValueList = T$.ListOfObjectN().filled(dart.notNull(map[$length]) * 2, null); + let i = 0; + let allStringKeys = true; + map[$forEach](dart.fn((key, value) => { + let t174, t174$; + if (!(typeof key == 'string')) { + allStringKeys = false; + } + keyValueList[$_set]((t174 = i, i = t174 + 1, t174), key); + keyValueList[$_set]((t174$ = i, i = t174$ + 1, t174$), value); + }, T$.ObjectNAndObjectNTovoid())); + if (!allStringKeys) return false; + this.writeString("{\n"); + this[_indentLevel$] = dart.notNull(this[_indentLevel$]) + 1; + let separator = ""; + for (let i = 0; i < dart.notNull(keyValueList[$length]); i = i + 2) { + this.writeString(separator); + separator = ",\n"; + this.writeIndentation(this[_indentLevel$]); + this.writeString("\""); + this.writeStringContent(core.String.as(keyValueList[$_get](i))); + this.writeString("\": "); + this.writeObject(keyValueList[$_get](i + 1)); + } + this.writeString("\n"); + this[_indentLevel$] = dart.notNull(this[_indentLevel$]) - 1; + this.writeIndentation(this[_indentLevel$]); + this.writeString("}"); + return true; + } +}; +(convert._JsonPrettyPrintMixin.new = function() { + this[_indentLevel] = 0; + ; +}).prototype = convert._JsonPrettyPrintMixin.prototype; +dart.addTypeTests(convert._JsonPrettyPrintMixin); +dart.addTypeCaches(convert._JsonPrettyPrintMixin); +convert._JsonPrettyPrintMixin[dart.implements] = () => [convert._JsonStringifier]; +dart.setMethodSignature(convert._JsonPrettyPrintMixin, () => ({ + __proto__: dart.getMethods(convert._JsonPrettyPrintMixin.__proto__), + writeList: dart.fnType(dart.void, [core.List$(dart.nullable(core.Object))]), + writeMap: dart.fnType(core.bool, [core.Map$(dart.nullable(core.Object), dart.nullable(core.Object))]) +})); +dart.setLibraryUri(convert._JsonPrettyPrintMixin, I[31]); +dart.setFieldSignature(convert._JsonPrettyPrintMixin, () => ({ + __proto__: dart.getFields(convert._JsonPrettyPrintMixin.__proto__), + [_indentLevel$]: dart.fieldType(core.int) +})); +convert._JsonStringStringifier = class _JsonStringStringifier extends convert._JsonStringifier { + static stringify(object, toEncodable, indent) { + let output = new core.StringBuffer.new(); + convert._JsonStringStringifier.printOn(object, output, toEncodable, indent); + return output.toString(); + } + static printOn(object, output, toEncodable, indent) { + if (output == null) dart.nullFailed(I[95], 869, 50, "output"); + let stringifier = null; + if (indent == null) { + stringifier = new convert._JsonStringStringifier.new(output, toEncodable); + } else { + stringifier = new convert._JsonStringStringifierPretty.new(output, toEncodable, indent); + } + stringifier.writeObject(object); + } + get [_partialResult]() { + return core.StringBuffer.is(this[_sink$0]) ? dart.toString(this[_sink$0]) : null; + } + writeNumber(number) { + if (number == null) dart.nullFailed(I[95], 882, 24, "number"); + this[_sink$0].write(dart.toString(number)); + } + writeString(string) { + if (string == null) dart.nullFailed(I[95], 886, 27, "string"); + this[_sink$0].write(string); + } + writeStringSlice(string, start, end) { + if (string == null) dart.nullFailed(I[95], 890, 32, "string"); + if (start == null) dart.nullFailed(I[95], 890, 44, "start"); + if (end == null) dart.nullFailed(I[95], 890, 55, "end"); + this[_sink$0].write(string[$substring](start, end)); + } + writeCharCode(charCode) { + if (charCode == null) dart.nullFailed(I[95], 894, 26, "charCode"); + this[_sink$0].writeCharCode(charCode); + } +}; +(convert._JsonStringStringifier.new = function(_sink, _toEncodable) { + if (_sink == null) dart.nullFailed(I[95], 847, 12, "_sink"); + this[_sink$0] = _sink; + convert._JsonStringStringifier.__proto__.new.call(this, _toEncodable); + ; +}).prototype = convert._JsonStringStringifier.prototype; +dart.addTypeTests(convert._JsonStringStringifier); +dart.addTypeCaches(convert._JsonStringStringifier); +dart.setMethodSignature(convert._JsonStringStringifier, () => ({ + __proto__: dart.getMethods(convert._JsonStringStringifier.__proto__), + writeNumber: dart.fnType(dart.void, [core.num]), + writeString: dart.fnType(dart.void, [core.String]), + writeStringSlice: dart.fnType(dart.void, [core.String, core.int, core.int]), + writeCharCode: dart.fnType(dart.void, [core.int]) +})); +dart.setGetterSignature(convert._JsonStringStringifier, () => ({ + __proto__: dart.getGetters(convert._JsonStringStringifier.__proto__), + [_partialResult]: dart.nullable(core.String) +})); +dart.setLibraryUri(convert._JsonStringStringifier, I[31]); +dart.setFieldSignature(convert._JsonStringStringifier, () => ({ + __proto__: dart.getFields(convert._JsonStringStringifier.__proto__), + [_sink$0]: dart.finalFieldType(core.StringSink) +})); +const _JsonStringStringifier__JsonPrettyPrintMixin$36 = class _JsonStringStringifier__JsonPrettyPrintMixin extends convert._JsonStringStringifier {}; +(_JsonStringStringifier__JsonPrettyPrintMixin$36.new = function(_sink, _toEncodable) { + convert._JsonPrettyPrintMixin.new.call(this); + _JsonStringStringifier__JsonPrettyPrintMixin$36.__proto__.new.call(this, _sink, _toEncodable); +}).prototype = _JsonStringStringifier__JsonPrettyPrintMixin$36.prototype; +dart.applyMixin(_JsonStringStringifier__JsonPrettyPrintMixin$36, convert._JsonPrettyPrintMixin); +convert._JsonStringStringifierPretty = class _JsonStringStringifierPretty extends _JsonStringStringifier__JsonPrettyPrintMixin$36 { + writeIndentation(count) { + if (count == null) dart.nullFailed(I[95], 907, 29, "count"); + for (let i = 0; i < dart.notNull(count); i = i + 1) + this.writeString(this[_indent$]); + } +}; +(convert._JsonStringStringifierPretty.new = function(sink, toEncodable, _indent) { + if (sink == null) dart.nullFailed(I[95], 904, 18, "sink"); + if (_indent == null) dart.nullFailed(I[95], 904, 62, "_indent"); + this[_indent$] = _indent; + convert._JsonStringStringifierPretty.__proto__.new.call(this, sink, toEncodable); + ; +}).prototype = convert._JsonStringStringifierPretty.prototype; +dart.addTypeTests(convert._JsonStringStringifierPretty); +dart.addTypeCaches(convert._JsonStringStringifierPretty); +dart.setMethodSignature(convert._JsonStringStringifierPretty, () => ({ + __proto__: dart.getMethods(convert._JsonStringStringifierPretty.__proto__), + writeIndentation: dart.fnType(dart.void, [core.int]) +})); +dart.setLibraryUri(convert._JsonStringStringifierPretty, I[31]); +dart.setFieldSignature(convert._JsonStringStringifierPretty, () => ({ + __proto__: dart.getFields(convert._JsonStringStringifierPretty.__proto__), + [_indent$]: dart.finalFieldType(core.String) +})); +convert._JsonUtf8Stringifier = class _JsonUtf8Stringifier extends convert._JsonStringifier { + static stringify(object, indent, toEncodable, bufferSize, addChunk) { + if (bufferSize == null) dart.nullFailed(I[95], 940, 11, "bufferSize"); + if (addChunk == null) dart.nullFailed(I[95], 941, 12, "addChunk"); + let stringifier = null; + if (indent != null) { + stringifier = new convert._JsonUtf8StringifierPretty.new(toEncodable, indent, bufferSize, addChunk); + } else { + stringifier = new convert._JsonUtf8Stringifier.new(toEncodable, bufferSize, addChunk); + } + stringifier.writeObject(object); + stringifier.flush(); + } + flush() { + let t176, t175, t174; + if (dart.notNull(this.index) > 0) { + t174 = this.buffer; + t175 = 0; + t176 = this.index; + this.addChunk(t174, t175, t176); + } + this.buffer = _native_typed_data.NativeUint8List.new(0); + this.index = 0; + } + get [_partialResult]() { + return null; + } + writeNumber(number) { + if (number == null) dart.nullFailed(I[95], 965, 24, "number"); + this.writeAsciiString(dart.toString(number)); + } + writeAsciiString(string) { + if (string == null) dart.nullFailed(I[95], 970, 32, "string"); + for (let i = 0; i < string.length; i = i + 1) { + let char = string[$codeUnitAt](i); + if (!(char <= 127)) dart.assertFailed(null, I[95], 975, 14, "char <= 0x7f"); + this.writeByte(char); + } + } + writeString(string) { + if (string == null) dart.nullFailed(I[95], 980, 27, "string"); + this.writeStringSlice(string, 0, string.length); + } + writeStringSlice(string, start, end) { + if (string == null) dart.nullFailed(I[95], 984, 32, "string"); + if (start == null) dart.nullFailed(I[95], 984, 44, "start"); + if (end == null) dart.nullFailed(I[95], 984, 55, "end"); + for (let i = start; dart.notNull(i) < dart.notNull(end); i = dart.notNull(i) + 1) { + let char = string[$codeUnitAt](i); + if (char <= 127) { + this.writeByte(char); + } else { + if ((char & 63488) === 55296) { + if (char < 56320 && dart.notNull(i) + 1 < dart.notNull(end)) { + let nextChar = string[$codeUnitAt](dart.notNull(i) + 1); + if ((nextChar & 64512) === 56320) { + char = 65536 + ((char & 1023) << 10) + (nextChar & 1023); + this.writeFourByteCharCode(char); + i = dart.notNull(i) + 1; + continue; + } + } + this.writeMultiByteCharCode(65533); + continue; + } + this.writeMultiByteCharCode(char); + } + } + } + writeCharCode(charCode) { + if (charCode == null) dart.nullFailed(I[95], 1015, 26, "charCode"); + if (dart.notNull(charCode) <= 127) { + this.writeByte(charCode); + return; + } + this.writeMultiByteCharCode(charCode); + } + writeMultiByteCharCode(charCode) { + if (charCode == null) dart.nullFailed(I[95], 1023, 35, "charCode"); + if (dart.notNull(charCode) <= 2047) { + this.writeByte((192 | charCode[$rightShift](6)) >>> 0); + this.writeByte(128 | dart.notNull(charCode) & 63); + return; + } + if (dart.notNull(charCode) <= 65535) { + this.writeByte((224 | charCode[$rightShift](12)) >>> 0); + this.writeByte(128 | dart.notNull(charCode) >> 6 & 63); + this.writeByte(128 | dart.notNull(charCode) & 63); + return; + } + this.writeFourByteCharCode(charCode); + } + writeFourByteCharCode(charCode) { + if (charCode == null) dart.nullFailed(I[95], 1038, 34, "charCode"); + if (!(dart.notNull(charCode) <= 1114111)) dart.assertFailed(null, I[95], 1039, 12, "charCode <= 0x10ffff"); + this.writeByte((240 | charCode[$rightShift](18)) >>> 0); + this.writeByte(128 | dart.notNull(charCode) >> 12 & 63); + this.writeByte(128 | dart.notNull(charCode) >> 6 & 63); + this.writeByte(128 | dart.notNull(charCode) & 63); + } + writeByte(byte) { + let t176, t175, t174, t174$; + if (byte == null) dart.nullFailed(I[95], 1046, 22, "byte"); + if (!(dart.notNull(byte) <= 255)) dart.assertFailed(null, I[95], 1047, 12, "byte <= 0xff"); + if (this.index == this.buffer[$length]) { + t174 = this.buffer; + t175 = 0; + t176 = this.index; + this.addChunk(t174, t175, t176); + this.buffer = _native_typed_data.NativeUint8List.new(this.bufferSize); + this.index = 0; + } + this.buffer[$_set]((t174$ = this.index, this.index = dart.notNull(t174$) + 1, t174$), byte); + } +}; +(convert._JsonUtf8Stringifier.new = function(toEncodable, bufferSize, addChunk) { + if (bufferSize == null) dart.nullFailed(I[95], 923, 45, "bufferSize"); + if (addChunk == null) dart.nullFailed(I[95], 923, 62, "addChunk"); + this.index = 0; + this.bufferSize = bufferSize; + this.addChunk = addChunk; + this.buffer = _native_typed_data.NativeUint8List.new(bufferSize); + convert._JsonUtf8Stringifier.__proto__.new.call(this, toEncodable); + ; +}).prototype = convert._JsonUtf8Stringifier.prototype; +dart.addTypeTests(convert._JsonUtf8Stringifier); +dart.addTypeCaches(convert._JsonUtf8Stringifier); +dart.setMethodSignature(convert._JsonUtf8Stringifier, () => ({ + __proto__: dart.getMethods(convert._JsonUtf8Stringifier.__proto__), + flush: dart.fnType(dart.void, []), + writeNumber: dart.fnType(dart.void, [core.num]), + writeAsciiString: dart.fnType(dart.void, [core.String]), + writeString: dart.fnType(dart.void, [core.String]), + writeStringSlice: dart.fnType(dart.void, [core.String, core.int, core.int]), + writeCharCode: dart.fnType(dart.void, [core.int]), + writeMultiByteCharCode: dart.fnType(dart.void, [core.int]), + writeFourByteCharCode: dart.fnType(dart.void, [core.int]), + writeByte: dart.fnType(dart.void, [core.int]) +})); +dart.setGetterSignature(convert._JsonUtf8Stringifier, () => ({ + __proto__: dart.getGetters(convert._JsonUtf8Stringifier.__proto__), + [_partialResult]: dart.nullable(core.String) +})); +dart.setLibraryUri(convert._JsonUtf8Stringifier, I[31]); +dart.setFieldSignature(convert._JsonUtf8Stringifier, () => ({ + __proto__: dart.getFields(convert._JsonUtf8Stringifier.__proto__), + bufferSize: dart.finalFieldType(core.int), + addChunk: dart.finalFieldType(dart.fnType(dart.void, [typed_data.Uint8List, core.int, core.int])), + buffer: dart.fieldType(typed_data.Uint8List), + index: dart.fieldType(core.int) +})); +const _JsonUtf8Stringifier__JsonPrettyPrintMixin$36 = class _JsonUtf8Stringifier__JsonPrettyPrintMixin extends convert._JsonUtf8Stringifier {}; +(_JsonUtf8Stringifier__JsonPrettyPrintMixin$36.new = function(toEncodable, bufferSize, addChunk) { + convert._JsonPrettyPrintMixin.new.call(this); + _JsonUtf8Stringifier__JsonPrettyPrintMixin$36.__proto__.new.call(this, toEncodable, bufferSize, addChunk); +}).prototype = _JsonUtf8Stringifier__JsonPrettyPrintMixin$36.prototype; +dart.applyMixin(_JsonUtf8Stringifier__JsonPrettyPrintMixin$36, convert._JsonPrettyPrintMixin); +convert._JsonUtf8StringifierPretty = class _JsonUtf8StringifierPretty extends _JsonUtf8Stringifier__JsonPrettyPrintMixin$36 { + writeIndentation(count) { + if (count == null) dart.nullFailed(I[95], 1065, 29, "count"); + let indent = this.indent; + let indentLength = indent[$length]; + if (indentLength === 1) { + let char = indent[$_get](0); + while (dart.notNull(count) > 0) { + this.writeByte(char); + count = dart.notNull(count) - 1; + } + return; + } + while (dart.notNull(count) > 0) { + count = dart.notNull(count) - 1; + let end = dart.notNull(this.index) + dart.notNull(indentLength); + if (end <= dart.notNull(this.buffer[$length])) { + this.buffer[$setRange](this.index, end, indent); + this.index = end; + } else { + for (let i = 0; i < dart.notNull(indentLength); i = i + 1) { + this.writeByte(indent[$_get](i)); + } + } + } + } +}; +(convert._JsonUtf8StringifierPretty.new = function(toEncodable, indent, bufferSize, addChunk) { + if (indent == null) dart.nullFailed(I[95], 1061, 68, "indent"); + if (bufferSize == null) dart.nullFailed(I[95], 1062, 11, "bufferSize"); + if (addChunk == null) dart.nullFailed(I[95], 1062, 28, "addChunk"); + this.indent = indent; + convert._JsonUtf8StringifierPretty.__proto__.new.call(this, toEncodable, bufferSize, addChunk); + ; +}).prototype = convert._JsonUtf8StringifierPretty.prototype; +dart.addTypeTests(convert._JsonUtf8StringifierPretty); +dart.addTypeCaches(convert._JsonUtf8StringifierPretty); +dart.setMethodSignature(convert._JsonUtf8StringifierPretty, () => ({ + __proto__: dart.getMethods(convert._JsonUtf8StringifierPretty.__proto__), + writeIndentation: dart.fnType(dart.void, [core.int]) +})); +dart.setLibraryUri(convert._JsonUtf8StringifierPretty, I[31]); +dart.setFieldSignature(convert._JsonUtf8StringifierPretty, () => ({ + __proto__: dart.getFields(convert._JsonUtf8StringifierPretty.__proto__), + indent: dart.finalFieldType(core.List$(core.int)) +})); +var _allowInvalid$1 = dart.privateName(convert, "Latin1Codec._allowInvalid"); +convert.Latin1Codec = class Latin1Codec extends convert.Encoding { + get [_allowInvalid$]() { + return this[_allowInvalid$1]; + } + set [_allowInvalid$](value) { + super[_allowInvalid$] = value; + } + get name() { + return "iso-8859-1"; + } + encode(source) { + core.String.as(source); + if (source == null) dart.nullFailed(I[96], 40, 27, "source"); + return this.encoder.convert(source); + } + decode(bytes, opts) { + let t174; + T$0.ListOfint().as(bytes); + if (bytes == null) dart.nullFailed(I[96], 50, 27, "bytes"); + let allowInvalid = opts && 'allowInvalid' in opts ? opts.allowInvalid : null; + if (dart.test((t174 = allowInvalid, t174 == null ? this[_allowInvalid$] : t174))) { + return (C[95] || CT.C95).convert(bytes); + } else { + return (C[96] || CT.C96).convert(bytes); + } + } + get encoder() { + return C[97] || CT.C97; + } + get decoder() { + return dart.test(this[_allowInvalid$]) ? C[95] || CT.C95 : C[96] || CT.C96; + } +}; +(convert.Latin1Codec.new = function(opts) { + let allowInvalid = opts && 'allowInvalid' in opts ? opts.allowInvalid : false; + if (allowInvalid == null) dart.nullFailed(I[96], 35, 27, "allowInvalid"); + this[_allowInvalid$1] = allowInvalid; + convert.Latin1Codec.__proto__.new.call(this); + ; +}).prototype = convert.Latin1Codec.prototype; +dart.addTypeTests(convert.Latin1Codec); +dart.addTypeCaches(convert.Latin1Codec); +dart.setMethodSignature(convert.Latin1Codec, () => ({ + __proto__: dart.getMethods(convert.Latin1Codec.__proto__), + encode: dart.fnType(typed_data.Uint8List, [dart.nullable(core.Object)]), + decode: dart.fnType(core.String, [dart.nullable(core.Object)], {allowInvalid: dart.nullable(core.bool)}, {}) +})); +dart.setGetterSignature(convert.Latin1Codec, () => ({ + __proto__: dart.getGetters(convert.Latin1Codec.__proto__), + name: core.String, + encoder: convert.Latin1Encoder, + decoder: convert.Latin1Decoder +})); +dart.setLibraryUri(convert.Latin1Codec, I[31]); +dart.setFieldSignature(convert.Latin1Codec, () => ({ + __proto__: dart.getFields(convert.Latin1Codec.__proto__), + [_allowInvalid$]: dart.finalFieldType(core.bool) +})); +convert.Latin1Encoder = class Latin1Encoder extends convert._UnicodeSubsetEncoder {}; +(convert.Latin1Encoder.new = function() { + convert.Latin1Encoder.__proto__.new.call(this, 255); + ; +}).prototype = convert.Latin1Encoder.prototype; +dart.addTypeTests(convert.Latin1Encoder); +dart.addTypeCaches(convert.Latin1Encoder); +dart.setLibraryUri(convert.Latin1Encoder, I[31]); +convert.Latin1Decoder = class Latin1Decoder extends convert._UnicodeSubsetDecoder { + startChunkedConversion(sink) { + T$0.SinkOfString().as(sink); + if (sink == null) dart.nullFailed(I[96], 88, 58, "sink"); + let stringSink = null; + if (convert.StringConversionSink.is(sink)) { + stringSink = sink; + } else { + stringSink = new convert._StringAdapterSink.new(sink); + } + if (!dart.test(this[_allowInvalid$])) return new convert._Latin1DecoderSink.new(stringSink); + return new convert._Latin1AllowInvalidDecoderSink.new(stringSink); + } +}; +(convert.Latin1Decoder.new = function(opts) { + let allowInvalid = opts && 'allowInvalid' in opts ? opts.allowInvalid : false; + if (allowInvalid == null) dart.nullFailed(I[96], 81, 29, "allowInvalid"); + convert.Latin1Decoder.__proto__.new.call(this, allowInvalid, 255); + ; +}).prototype = convert.Latin1Decoder.prototype; +dart.addTypeTests(convert.Latin1Decoder); +dart.addTypeCaches(convert.Latin1Decoder); +dart.setMethodSignature(convert.Latin1Decoder, () => ({ + __proto__: dart.getMethods(convert.Latin1Decoder.__proto__), + startChunkedConversion: dart.fnType(convert.ByteConversionSink, [dart.nullable(core.Object)]) +})); +dart.setLibraryUri(convert.Latin1Decoder, I[31]); +var _addSliceToSink = dart.privateName(convert, "_addSliceToSink"); +convert._Latin1DecoderSink = class _Latin1DecoderSink extends convert.ByteConversionSinkBase { + close() { + dart.nullCheck(this[_sink$0]).close(); + this[_sink$0] = null; + } + add(source) { + T$0.ListOfint().as(source); + if (source == null) dart.nullFailed(I[96], 110, 22, "source"); + this.addSlice(source, 0, source[$length], false); + } + [_addSliceToSink](source, start, end, isLast) { + if (source == null) dart.nullFailed(I[96], 114, 34, "source"); + if (start == null) dart.nullFailed(I[96], 114, 46, "start"); + if (end == null) dart.nullFailed(I[96], 114, 57, "end"); + if (isLast == null) dart.nullFailed(I[96], 114, 67, "isLast"); + dart.nullCheck(this[_sink$0]).add(core.String.fromCharCodes(source, start, end)); + if (dart.test(isLast)) this.close(); + } + addSlice(source, start, end, isLast) { + if (source == null) dart.nullFailed(I[96], 123, 27, "source"); + if (start == null) dart.nullFailed(I[96], 123, 39, "start"); + if (end == null) dart.nullFailed(I[96], 123, 50, "end"); + if (isLast == null) dart.nullFailed(I[96], 123, 60, "isLast"); + core.RangeError.checkValidRange(start, end, source[$length]); + if (start == end) return; + if (!typed_data.Uint8List.is(source)) { + convert._Latin1DecoderSink._checkValidLatin1(source, start, end); + } + this[_addSliceToSink](source, start, end, isLast); + } + static _checkValidLatin1(source, start, end) { + if (source == null) dart.nullFailed(I[96], 135, 43, "source"); + if (start == null) dart.nullFailed(I[96], 135, 55, "start"); + if (end == null) dart.nullFailed(I[96], 135, 66, "end"); + let mask = 0; + for (let i = start; dart.notNull(i) < dart.notNull(end); i = dart.notNull(i) + 1) { + mask = (mask | dart.notNull(source[$_get](i))) >>> 0; + } + if (mask >= 0 && mask <= 255) { + return; + } + convert._Latin1DecoderSink._reportInvalidLatin1(source, start, end); + } + static _reportInvalidLatin1(source, start, end) { + if (source == null) dart.nullFailed(I[96], 146, 46, "source"); + if (start == null) dart.nullFailed(I[96], 146, 58, "start"); + if (end == null) dart.nullFailed(I[96], 146, 69, "end"); + for (let i = start; dart.notNull(i) < dart.notNull(end); i = dart.notNull(i) + 1) { + let char = source[$_get](i); + if (dart.notNull(char) < 0 || dart.notNull(char) > 255) { + dart.throw(new core.FormatException.new("Source contains non-Latin-1 characters.", source, i)); + } + } + if (!false) dart.assertFailed(null, I[96], 156, 12, "false"); + } +}; +(convert._Latin1DecoderSink.new = function(_sink) { + this[_sink$0] = _sink; + convert._Latin1DecoderSink.__proto__.new.call(this); + ; +}).prototype = convert._Latin1DecoderSink.prototype; +dart.addTypeTests(convert._Latin1DecoderSink); +dart.addTypeCaches(convert._Latin1DecoderSink); +dart.setMethodSignature(convert._Latin1DecoderSink, () => ({ + __proto__: dart.getMethods(convert._Latin1DecoderSink.__proto__), + close: dart.fnType(dart.void, []), + add: dart.fnType(dart.void, [dart.nullable(core.Object)]), + [_addSliceToSink]: dart.fnType(dart.void, [core.List$(core.int), core.int, core.int, core.bool]) +})); +dart.setLibraryUri(convert._Latin1DecoderSink, I[31]); +dart.setFieldSignature(convert._Latin1DecoderSink, () => ({ + __proto__: dart.getFields(convert._Latin1DecoderSink.__proto__), + [_sink$0]: dart.fieldType(dart.nullable(convert.StringConversionSink)) +})); +convert._Latin1AllowInvalidDecoderSink = class _Latin1AllowInvalidDecoderSink extends convert._Latin1DecoderSink { + addSlice(source, start, end, isLast) { + if (source == null) dart.nullFailed(I[96], 163, 27, "source"); + if (start == null) dart.nullFailed(I[96], 163, 39, "start"); + if (end == null) dart.nullFailed(I[96], 163, 50, "end"); + if (isLast == null) dart.nullFailed(I[96], 163, 60, "isLast"); + core.RangeError.checkValidRange(start, end, source[$length]); + for (let i = start; dart.notNull(i) < dart.notNull(end); i = dart.notNull(i) + 1) { + let char = source[$_get](i); + if (dart.notNull(char) > 255 || dart.notNull(char) < 0) { + if (dart.notNull(i) > dart.notNull(start)) this[_addSliceToSink](source, start, i, false); + this[_addSliceToSink](C[98] || CT.C98, 0, 1, false); + start = dart.notNull(i) + 1; + } + } + if (dart.notNull(start) < dart.notNull(end)) { + this[_addSliceToSink](source, start, end, isLast); + } + if (dart.test(isLast)) { + this.close(); + } + } +}; +(convert._Latin1AllowInvalidDecoderSink.new = function(sink) { + if (sink == null) dart.nullFailed(I[96], 161, 55, "sink"); + convert._Latin1AllowInvalidDecoderSink.__proto__.new.call(this, sink); + ; +}).prototype = convert._Latin1AllowInvalidDecoderSink.prototype; +dart.addTypeTests(convert._Latin1AllowInvalidDecoderSink); +dart.addTypeCaches(convert._Latin1AllowInvalidDecoderSink); +dart.setLibraryUri(convert._Latin1AllowInvalidDecoderSink, I[31]); +convert.LineSplitter = class LineSplitter extends async.StreamTransformerBase$(core.String, core.String) { + static split(lines, start = 0, end = null) { + if (lines == null) dart.nullFailed(I[97], 28, 40, "lines"); + if (start == null) dart.nullFailed(I[97], 28, 52, "start"); + return new (T$0.SyncIterableOfString()).new(() => (function* split(end) { + end = core.RangeError.checkValidRange(start, end, lines.length); + if (end == null) { + dart.throw(new core.RangeError.new("Invalid range")); + } + let sliceStart = start; + let char = 0; + for (let i = start; dart.notNull(i) < dart.notNull(end); i = dart.notNull(i) + 1) { + let previousChar = char; + char = lines[$codeUnitAt](i); + if (char !== 13) { + if (char !== 10) continue; + if (previousChar === 13) { + sliceStart = dart.notNull(i) + 1; + continue; + } + } + yield lines[$substring](sliceStart, i); + sliceStart = dart.notNull(i) + 1; + } + if (dart.notNull(sliceStart) < dart.notNull(end)) { + yield lines[$substring](sliceStart, end); + } + })(end)); + } + convert(data) { + if (data == null) dart.nullFailed(I[97], 54, 31, "data"); + let lines = T$.JSArrayOfString().of([]); + let end = data.length; + let sliceStart = 0; + let char = 0; + for (let i = 0; i < end; i = i + 1) { + let previousChar = char; + char = data[$codeUnitAt](i); + if (char !== 13) { + if (char !== 10) continue; + if (previousChar === 13) { + sliceStart = i + 1; + continue; + } + } + lines[$add](data[$substring](sliceStart, i)); + sliceStart = i + 1; + } + if (sliceStart < end) { + lines[$add](data[$substring](sliceStart, end)); + } + return lines; + } + startChunkedConversion(sink) { + if (sink == null) dart.nullFailed(I[97], 78, 60, "sink"); + return new convert._LineSplitterSink.new(convert.StringConversionSink.is(sink) ? sink : new convert._StringAdapterSink.new(sink)); + } + bind(stream) { + T$0.StreamOfString().as(stream); + if (stream == null) dart.nullFailed(I[97], 83, 38, "stream"); + return T$0.StreamOfString().eventTransformed(stream, dart.fn(sink => { + if (sink == null) dart.nullFailed(I[97], 85, 36, "sink"); + return new convert._LineSplitterEventSink.new(sink); + }, T$0.EventSinkOfStringTo_LineSplitterEventSink())); + } +}; +(convert.LineSplitter.new = function() { + convert.LineSplitter.__proto__.new.call(this); + ; +}).prototype = convert.LineSplitter.prototype; +dart.addTypeTests(convert.LineSplitter); +dart.addTypeCaches(convert.LineSplitter); +dart.setMethodSignature(convert.LineSplitter, () => ({ + __proto__: dart.getMethods(convert.LineSplitter.__proto__), + convert: dart.fnType(core.List$(core.String), [core.String]), + startChunkedConversion: dart.fnType(convert.StringConversionSink, [core.Sink$(core.String)]), + bind: dart.fnType(async.Stream$(core.String), [dart.nullable(core.Object)]) +})); +dart.setLibraryUri(convert.LineSplitter, I[31]); +var _carry = dart.privateName(convert, "_carry"); +var _skipLeadingLF = dart.privateName(convert, "_skipLeadingLF"); +var _addLines = dart.privateName(convert, "_addLines"); +convert._LineSplitterSink = class _LineSplitterSink extends convert.StringConversionSinkBase { + addSlice(chunk, start, end, isLast) { + if (chunk == null) dart.nullFailed(I[97], 109, 24, "chunk"); + if (start == null) dart.nullFailed(I[97], 109, 35, "start"); + if (end == null) dart.nullFailed(I[97], 109, 46, "end"); + if (isLast == null) dart.nullFailed(I[97], 109, 56, "isLast"); + end = core.RangeError.checkValidRange(start, end, chunk.length); + if (dart.notNull(start) >= dart.notNull(end)) { + if (dart.test(isLast)) this.close(); + return; + } + let carry = this[_carry]; + if (carry != null) { + if (!!dart.test(this[_skipLeadingLF])) dart.assertFailed(null, I[97], 119, 14, "!_skipLeadingLF"); + chunk = dart.notNull(carry) + chunk[$substring](start, end); + start = 0; + end = chunk.length; + this[_carry] = null; + } else if (dart.test(this[_skipLeadingLF])) { + if (chunk[$codeUnitAt](start) === 10) { + start = dart.notNull(start) + 1; + } + this[_skipLeadingLF] = false; + } + this[_addLines](chunk, start, end); + if (dart.test(isLast)) this.close(); + } + close() { + if (this[_carry] != null) { + this[_sink$0].add(dart.nullCheck(this[_carry])); + this[_carry] = null; + } + this[_sink$0].close(); + } + [_addLines](lines, start, end) { + if (lines == null) dart.nullFailed(I[97], 142, 25, "lines"); + if (start == null) dart.nullFailed(I[97], 142, 36, "start"); + if (end == null) dart.nullFailed(I[97], 142, 47, "end"); + let sliceStart = start; + let char = 0; + for (let i = start; dart.notNull(i) < dart.notNull(end); i = dart.notNull(i) + 1) { + let previousChar = char; + char = lines[$codeUnitAt](i); + if (char !== 13) { + if (char !== 10) continue; + if (previousChar === 13) { + sliceStart = dart.notNull(i) + 1; + continue; + } + } + this[_sink$0].add(lines[$substring](sliceStart, i)); + sliceStart = dart.notNull(i) + 1; + } + if (dart.notNull(sliceStart) < dart.notNull(end)) { + this[_carry] = lines[$substring](sliceStart, end); + } else { + this[_skipLeadingLF] = char === 13; + } + } +}; +(convert._LineSplitterSink.new = function(_sink) { + if (_sink == null) dart.nullFailed(I[97], 107, 26, "_sink"); + this[_carry] = null; + this[_skipLeadingLF] = false; + this[_sink$0] = _sink; + ; +}).prototype = convert._LineSplitterSink.prototype; +dart.addTypeTests(convert._LineSplitterSink); +dart.addTypeCaches(convert._LineSplitterSink); +dart.setMethodSignature(convert._LineSplitterSink, () => ({ + __proto__: dart.getMethods(convert._LineSplitterSink.__proto__), + addSlice: dart.fnType(dart.void, [core.String, core.int, core.int, core.bool]), + close: dart.fnType(dart.void, []), + [_addLines]: dart.fnType(dart.void, [core.String, core.int, core.int]) +})); +dart.setLibraryUri(convert._LineSplitterSink, I[31]); +dart.setFieldSignature(convert._LineSplitterSink, () => ({ + __proto__: dart.getFields(convert._LineSplitterSink.__proto__), + [_sink$0]: dart.finalFieldType(convert.StringConversionSink), + [_carry]: dart.fieldType(dart.nullable(core.String)), + [_skipLeadingLF]: dart.fieldType(core.bool) +})); +convert._LineSplitterEventSink = class _LineSplitterEventSink extends convert._LineSplitterSink { + addError(o, stackTrace = null) { + if (o == null) dart.nullFailed(I[97], 174, 24, "o"); + this[_eventSink].addError(o, stackTrace); + } +}; +(convert._LineSplitterEventSink.new = function(eventSink) { + if (eventSink == null) dart.nullFailed(I[97], 170, 44, "eventSink"); + this[_eventSink] = eventSink; + convert._LineSplitterEventSink.__proto__.new.call(this, new convert._StringAdapterSink.new(eventSink)); + ; +}).prototype = convert._LineSplitterEventSink.prototype; +dart.addTypeTests(convert._LineSplitterEventSink); +dart.addTypeCaches(convert._LineSplitterEventSink); +convert._LineSplitterEventSink[dart.implements] = () => [async.EventSink$(core.String)]; +dart.setMethodSignature(convert._LineSplitterEventSink, () => ({ + __proto__: dart.getMethods(convert._LineSplitterEventSink.__proto__), + addError: dart.fnType(dart.void, [core.Object], [dart.nullable(core.StackTrace)]) +})); +dart.setLibraryUri(convert._LineSplitterEventSink, I[31]); +dart.setFieldSignature(convert._LineSplitterEventSink, () => ({ + __proto__: dart.getFields(convert._LineSplitterEventSink.__proto__), + [_eventSink]: dart.finalFieldType(async.EventSink$(core.String)) +})); +convert.StringConversionSink = class StringConversionSink extends convert.ChunkedConversionSink$(core.String) {}; +(convert.StringConversionSink.new = function() { + convert.StringConversionSink.__proto__.new.call(this); + ; +}).prototype = convert.StringConversionSink.prototype; +dart.addTypeTests(convert.StringConversionSink); +dart.addTypeCaches(convert.StringConversionSink); +dart.setLibraryUri(convert.StringConversionSink, I[31]); +core.StringSink = class StringSink extends core.Object {}; +(core.StringSink.new = function() { + ; +}).prototype = core.StringSink.prototype; +dart.addTypeTests(core.StringSink); +dart.addTypeCaches(core.StringSink); +dart.setLibraryUri(core.StringSink, I[8]); +convert.ClosableStringSink = class ClosableStringSink extends core.StringSink {}; +dart.addTypeTests(convert.ClosableStringSink); +dart.addTypeCaches(convert.ClosableStringSink); +dart.setLibraryUri(convert.ClosableStringSink, I[31]); +convert._ClosableStringSink = class _ClosableStringSink extends core.Object { + close() { + this[_callback$](); + } + writeCharCode(charCode) { + if (charCode == null) dart.nullFailed(I[86], 78, 26, "charCode"); + this[_sink$0].writeCharCode(charCode); + } + write(o) { + this[_sink$0].write(o); + } + writeln(o = "") { + this[_sink$0].writeln(o); + } + writeAll(objects, separator = "") { + if (objects == null) dart.nullFailed(I[86], 90, 26, "objects"); + if (separator == null) dart.nullFailed(I[86], 90, 43, "separator"); + this[_sink$0].writeAll(objects, separator); + } +}; +(convert._ClosableStringSink.new = function(_sink, _callback) { + if (_sink == null) dart.nullFailed(I[86], 72, 28, "_sink"); + if (_callback == null) dart.nullFailed(I[86], 72, 40, "_callback"); + this[_sink$0] = _sink; + this[_callback$] = _callback; + ; +}).prototype = convert._ClosableStringSink.prototype; +dart.addTypeTests(convert._ClosableStringSink); +dart.addTypeCaches(convert._ClosableStringSink); +convert._ClosableStringSink[dart.implements] = () => [convert.ClosableStringSink]; +dart.setMethodSignature(convert._ClosableStringSink, () => ({ + __proto__: dart.getMethods(convert._ClosableStringSink.__proto__), + close: dart.fnType(dart.void, []), + writeCharCode: dart.fnType(dart.void, [core.int]), + write: dart.fnType(dart.void, [dart.nullable(core.Object)]), + writeln: dart.fnType(dart.void, [], [dart.nullable(core.Object)]), + writeAll: dart.fnType(dart.void, [core.Iterable], [core.String]) +})); +dart.setLibraryUri(convert._ClosableStringSink, I[31]); +dart.setFieldSignature(convert._ClosableStringSink, () => ({ + __proto__: dart.getFields(convert._ClosableStringSink.__proto__), + [_callback$]: dart.finalFieldType(dart.fnType(dart.void, [])), + [_sink$0]: dart.finalFieldType(core.StringSink) +})); +var _flush = dart.privateName(convert, "_flush"); +convert._StringConversionSinkAsStringSinkAdapter = class _StringConversionSinkAsStringSinkAdapter extends core.Object { + close() { + if (dart.test(this[_buffer$].isNotEmpty)) this[_flush](); + this[_chunkedSink$].close(); + } + writeCharCode(charCode) { + if (charCode == null) dart.nullFailed(I[86], 113, 26, "charCode"); + this[_buffer$].writeCharCode(charCode); + if (dart.notNull(this[_buffer$].length) > 16) this[_flush](); + } + write(o) { + if (dart.test(this[_buffer$].isNotEmpty)) this[_flush](); + this[_chunkedSink$].add(dart.toString(o)); + } + writeln(o = "") { + this[_buffer$].writeln(o); + if (dart.notNull(this[_buffer$].length) > 16) this[_flush](); + } + writeAll(objects, separator = "") { + if (objects == null) dart.nullFailed(I[86], 128, 26, "objects"); + if (separator == null) dart.nullFailed(I[86], 128, 43, "separator"); + if (dart.test(this[_buffer$].isNotEmpty)) this[_flush](); + let iterator = objects[$iterator]; + if (!dart.test(iterator.moveNext())) return; + if (separator[$isEmpty]) { + do { + this[_chunkedSink$].add(dart.toString(iterator.current)); + } while (dart.test(iterator.moveNext())); + } else { + this[_chunkedSink$].add(dart.toString(iterator.current)); + while (dart.test(iterator.moveNext())) { + this.write(separator); + this[_chunkedSink$].add(dart.toString(iterator.current)); + } + } + } + [_flush]() { + let accumulated = dart.toString(this[_buffer$]); + this[_buffer$].clear(); + this[_chunkedSink$].add(accumulated); + } +}; +(convert._StringConversionSinkAsStringSinkAdapter.new = function(_chunkedSink) { + if (_chunkedSink == null) dart.nullFailed(I[86], 105, 49, "_chunkedSink"); + this[_chunkedSink$] = _chunkedSink; + this[_buffer$] = new core.StringBuffer.new(); + ; +}).prototype = convert._StringConversionSinkAsStringSinkAdapter.prototype; +dart.addTypeTests(convert._StringConversionSinkAsStringSinkAdapter); +dart.addTypeCaches(convert._StringConversionSinkAsStringSinkAdapter); +convert._StringConversionSinkAsStringSinkAdapter[dart.implements] = () => [convert.ClosableStringSink]; +dart.setMethodSignature(convert._StringConversionSinkAsStringSinkAdapter, () => ({ + __proto__: dart.getMethods(convert._StringConversionSinkAsStringSinkAdapter.__proto__), + close: dart.fnType(dart.void, []), + writeCharCode: dart.fnType(dart.void, [core.int]), + write: dart.fnType(dart.void, [dart.nullable(core.Object)]), + writeln: dart.fnType(dart.void, [], [dart.nullable(core.Object)]), + writeAll: dart.fnType(dart.void, [core.Iterable], [core.String]), + [_flush]: dart.fnType(dart.void, []) +})); +dart.setLibraryUri(convert._StringConversionSinkAsStringSinkAdapter, I[31]); +dart.setFieldSignature(convert._StringConversionSinkAsStringSinkAdapter, () => ({ + __proto__: dart.getFields(convert._StringConversionSinkAsStringSinkAdapter.__proto__), + [_buffer$]: dart.finalFieldType(core.StringBuffer), + [_chunkedSink$]: dart.finalFieldType(convert.StringConversionSink) +})); +dart.defineLazy(convert._StringConversionSinkAsStringSinkAdapter, { + /*convert._StringConversionSinkAsStringSinkAdapter._MIN_STRING_SIZE*/get _MIN_STRING_SIZE() { + return 16; + } +}, false); +convert._StringCallbackSink = class _StringCallbackSink extends convert._StringSinkConversionSink$(core.StringBuffer) { + close() { + let t174; + let accumulated = dart.toString(this[_stringSink$]); + this[_stringSink$].clear(); + t174 = accumulated; + this[_callback$](t174); + } + asUtf8Sink(allowMalformed) { + if (allowMalformed == null) dart.nullFailed(I[86], 222, 38, "allowMalformed"); + return new convert._Utf8StringSinkAdapter.new(this, this[_stringSink$], allowMalformed); + } +}; +(convert._StringCallbackSink.new = function(_callback) { + if (_callback == null) dart.nullFailed(I[86], 214, 28, "_callback"); + this[_callback$] = _callback; + convert._StringCallbackSink.__proto__.new.call(this, new core.StringBuffer.new()); + ; +}).prototype = convert._StringCallbackSink.prototype; +dart.addTypeTests(convert._StringCallbackSink); +dart.addTypeCaches(convert._StringCallbackSink); +dart.setLibraryUri(convert._StringCallbackSink, I[31]); +dart.setFieldSignature(convert._StringCallbackSink, () => ({ + __proto__: dart.getFields(convert._StringCallbackSink.__proto__), + [_callback$]: dart.finalFieldType(dart.fnType(dart.void, [core.String])) +})); +convert._StringAdapterSink = class _StringAdapterSink extends convert.StringConversionSinkBase { + add(str) { + core.String.as(str); + if (str == null) dart.nullFailed(I[86], 237, 19, "str"); + this[_sink$0].add(str); + } + addSlice(str, start, end, isLast) { + if (str == null) dart.nullFailed(I[86], 241, 24, "str"); + if (start == null) dart.nullFailed(I[86], 241, 33, "start"); + if (end == null) dart.nullFailed(I[86], 241, 44, "end"); + if (isLast == null) dart.nullFailed(I[86], 241, 54, "isLast"); + if (start === 0 && end === str.length) { + this.add(str); + } else { + this.add(str[$substring](start, end)); + } + if (dart.test(isLast)) this.close(); + } + close() { + this[_sink$0].close(); + } +}; +(convert._StringAdapterSink.new = function(_sink) { + if (_sink == null) dart.nullFailed(I[86], 235, 27, "_sink"); + this[_sink$0] = _sink; + ; +}).prototype = convert._StringAdapterSink.prototype; +dart.addTypeTests(convert._StringAdapterSink); +dart.addTypeCaches(convert._StringAdapterSink); +dart.setMethodSignature(convert._StringAdapterSink, () => ({ + __proto__: dart.getMethods(convert._StringAdapterSink.__proto__), + addSlice: dart.fnType(dart.void, [core.String, core.int, core.int, core.bool]), + close: dart.fnType(dart.void, []) +})); +dart.setLibraryUri(convert._StringAdapterSink, I[31]); +dart.setFieldSignature(convert._StringAdapterSink, () => ({ + __proto__: dart.getFields(convert._StringAdapterSink.__proto__), + [_sink$0]: dart.finalFieldType(core.Sink$(core.String)) +})); +convert._Utf8StringSinkAdapter = class _Utf8StringSinkAdapter extends convert.ByteConversionSink { + close() { + this[_decoder].flush(this[_stringSink$]); + this[_sink$0].close(); + } + add(chunk) { + T$0.ListOfint().as(chunk); + if (chunk == null) dart.nullFailed(I[86], 271, 22, "chunk"); + this.addSlice(chunk, 0, chunk[$length], false); + } + addSlice(codeUnits, startIndex, endIndex, isLast) { + if (codeUnits == null) dart.nullFailed(I[86], 276, 17, "codeUnits"); + if (startIndex == null) dart.nullFailed(I[86], 276, 32, "startIndex"); + if (endIndex == null) dart.nullFailed(I[86], 276, 48, "endIndex"); + if (isLast == null) dart.nullFailed(I[86], 276, 63, "isLast"); + this[_stringSink$].write(this[_decoder].convertChunked(codeUnits, startIndex, endIndex)); + if (dart.test(isLast)) this.close(); + } +}; +(convert._Utf8StringSinkAdapter.new = function(_sink, _stringSink, allowMalformed) { + if (_sink == null) dart.nullFailed(I[86], 263, 31, "_sink"); + if (_stringSink == null) dart.nullFailed(I[86], 263, 43, "_stringSink"); + if (allowMalformed == null) dart.nullFailed(I[86], 263, 61, "allowMalformed"); + this[_sink$0] = _sink; + this[_stringSink$] = _stringSink; + this[_decoder] = new convert._Utf8Decoder.new(allowMalformed); + convert._Utf8StringSinkAdapter.__proto__.new.call(this); + ; +}).prototype = convert._Utf8StringSinkAdapter.prototype; +dart.addTypeTests(convert._Utf8StringSinkAdapter); +dart.addTypeCaches(convert._Utf8StringSinkAdapter); +dart.setMethodSignature(convert._Utf8StringSinkAdapter, () => ({ + __proto__: dart.getMethods(convert._Utf8StringSinkAdapter.__proto__), + close: dart.fnType(dart.void, []), + add: dart.fnType(dart.void, [dart.nullable(core.Object)]), + addSlice: dart.fnType(dart.void, [core.List$(core.int), core.int, core.int, core.bool]) +})); +dart.setLibraryUri(convert._Utf8StringSinkAdapter, I[31]); +dart.setFieldSignature(convert._Utf8StringSinkAdapter, () => ({ + __proto__: dart.getFields(convert._Utf8StringSinkAdapter.__proto__), + [_decoder]: dart.finalFieldType(convert._Utf8Decoder), + [_sink$0]: dart.finalFieldType(core.Sink$(dart.nullable(core.Object))), + [_stringSink$]: dart.finalFieldType(core.StringSink) +})); +convert._Utf8ConversionSink = class _Utf8ConversionSink extends convert.ByteConversionSink { + close() { + this[_decoder].flush(this[_buffer$]); + if (dart.test(this[_buffer$].isNotEmpty)) { + let accumulated = dart.toString(this[_buffer$]); + this[_buffer$].clear(); + this[_chunkedSink$].addSlice(accumulated, 0, accumulated.length, true); + } else { + this[_chunkedSink$].close(); + } + } + add(chunk) { + T$0.ListOfint().as(chunk); + if (chunk == null) dart.nullFailed(I[86], 309, 22, "chunk"); + this.addSlice(chunk, 0, chunk[$length], false); + } + addSlice(chunk, startIndex, endIndex, isLast) { + if (chunk == null) dart.nullFailed(I[86], 313, 27, "chunk"); + if (startIndex == null) dart.nullFailed(I[86], 313, 38, "startIndex"); + if (endIndex == null) dart.nullFailed(I[86], 313, 54, "endIndex"); + if (isLast == null) dart.nullFailed(I[86], 313, 69, "isLast"); + this[_buffer$].write(this[_decoder].convertChunked(chunk, startIndex, endIndex)); + if (dart.test(this[_buffer$].isNotEmpty)) { + let accumulated = dart.toString(this[_buffer$]); + this[_chunkedSink$].addSlice(accumulated, 0, accumulated.length, isLast); + this[_buffer$].clear(); + return; + } + if (dart.test(isLast)) this.close(); + } +}; +(convert._Utf8ConversionSink.new = function(sink, allowMalformed) { + if (sink == null) dart.nullFailed(I[86], 290, 44, "sink"); + if (allowMalformed == null) dart.nullFailed(I[86], 290, 55, "allowMalformed"); + convert._Utf8ConversionSink.__.call(this, sink, new core.StringBuffer.new(), allowMalformed); +}).prototype = convert._Utf8ConversionSink.prototype; +(convert._Utf8ConversionSink.__ = function(_chunkedSink, stringBuffer, allowMalformed) { + if (_chunkedSink == null) dart.nullFailed(I[86], 294, 12, "_chunkedSink"); + if (stringBuffer == null) dart.nullFailed(I[86], 294, 39, "stringBuffer"); + if (allowMalformed == null) dart.nullFailed(I[86], 294, 58, "allowMalformed"); + this[_chunkedSink$] = _chunkedSink; + this[_decoder] = new convert._Utf8Decoder.new(allowMalformed); + this[_buffer$] = stringBuffer; + convert._Utf8ConversionSink.__proto__.new.call(this); + ; +}).prototype = convert._Utf8ConversionSink.prototype; +dart.addTypeTests(convert._Utf8ConversionSink); +dart.addTypeCaches(convert._Utf8ConversionSink); +dart.setMethodSignature(convert._Utf8ConversionSink, () => ({ + __proto__: dart.getMethods(convert._Utf8ConversionSink.__proto__), + close: dart.fnType(dart.void, []), + add: dart.fnType(dart.void, [dart.nullable(core.Object)]), + addSlice: dart.fnType(dart.void, [core.List$(core.int), core.int, core.int, core.bool]) +})); +dart.setLibraryUri(convert._Utf8ConversionSink, I[31]); +dart.setFieldSignature(convert._Utf8ConversionSink, () => ({ + __proto__: dart.getFields(convert._Utf8ConversionSink.__proto__), + [_decoder]: dart.finalFieldType(convert._Utf8Decoder), + [_chunkedSink$]: dart.finalFieldType(convert.StringConversionSink), + [_buffer$]: dart.finalFieldType(core.StringBuffer) +})); +var _allowMalformed = dart.privateName(convert, "Utf8Codec._allowMalformed"); +var _allowMalformed$ = dart.privateName(convert, "_allowMalformed"); +var Utf8Decoder__allowMalformed = dart.privateName(convert, "Utf8Decoder._allowMalformed"); +convert.Utf8Codec = class Utf8Codec extends convert.Encoding { + get [_allowMalformed$]() { + return this[_allowMalformed]; + } + set [_allowMalformed$](value) { + super[_allowMalformed$] = value; + } + get name() { + return "utf-8"; + } + decode(codeUnits, opts) { + let t174; + T$0.ListOfint().as(codeUnits); + if (codeUnits == null) dart.nullFailed(I[98], 58, 27, "codeUnits"); + let allowMalformed = opts && 'allowMalformed' in opts ? opts.allowMalformed : null; + let decoder = dart.test((t174 = allowMalformed, t174 == null ? this[_allowMalformed$] : t174)) ? C[99] || CT.C99 : C[100] || CT.C100; + return decoder.convert(codeUnits); + } + get encoder() { + return C[101] || CT.C101; + } + get decoder() { + return dart.test(this[_allowMalformed$]) ? C[99] || CT.C99 : C[100] || CT.C100; + } +}; +(convert.Utf8Codec.new = function(opts) { + let allowMalformed = opts && 'allowMalformed' in opts ? opts.allowMalformed : false; + if (allowMalformed == null) dart.nullFailed(I[98], 40, 25, "allowMalformed"); + this[_allowMalformed] = allowMalformed; + convert.Utf8Codec.__proto__.new.call(this); + ; +}).prototype = convert.Utf8Codec.prototype; +dart.addTypeTests(convert.Utf8Codec); +dart.addTypeCaches(convert.Utf8Codec); +dart.setMethodSignature(convert.Utf8Codec, () => ({ + __proto__: dart.getMethods(convert.Utf8Codec.__proto__), + decode: dart.fnType(core.String, [dart.nullable(core.Object)], {allowMalformed: dart.nullable(core.bool)}, {}) +})); +dart.setGetterSignature(convert.Utf8Codec, () => ({ + __proto__: dart.getGetters(convert.Utf8Codec.__proto__), + name: core.String, + encoder: convert.Utf8Encoder, + decoder: convert.Utf8Decoder +})); +dart.setLibraryUri(convert.Utf8Codec, I[31]); +dart.setFieldSignature(convert.Utf8Codec, () => ({ + __proto__: dart.getFields(convert.Utf8Codec.__proto__), + [_allowMalformed$]: dart.finalFieldType(core.bool) +})); +var _fillBuffer = dart.privateName(convert, "_fillBuffer"); +var _writeReplacementCharacter = dart.privateName(convert, "_writeReplacementCharacter"); +convert.Utf8Encoder = class Utf8Encoder extends convert.Converter$(core.String, core.List$(core.int)) { + convert(string, start = 0, end = null) { + core.String.as(string); + if (string == null) dart.nullFailed(I[98], 88, 28, "string"); + if (start == null) dart.nullFailed(I[98], 88, 41, "start"); + let stringLength = string.length; + end = core.RangeError.checkValidRange(start, end, stringLength); + if (end == null) { + dart.throw(new core.RangeError.new("Invalid range")); + } + let length = dart.notNull(end) - dart.notNull(start); + if (length === 0) return _native_typed_data.NativeUint8List.new(0); + let encoder = new convert._Utf8Encoder.withBufferSize(length * 3); + let endPosition = encoder[_fillBuffer](string, start, end); + if (!(dart.notNull(endPosition) >= dart.notNull(end) - 1)) dart.assertFailed(null, I[98], 101, 12, "endPosition >= end - 1"); + if (endPosition != end) { + let lastCodeUnit = string[$codeUnitAt](dart.notNull(end) - 1); + if (!dart.test(convert._isLeadSurrogate(lastCodeUnit))) dart.assertFailed(null, I[98], 107, 14, "_isLeadSurrogate(lastCodeUnit)"); + encoder[_writeReplacementCharacter](); + } + return encoder[_buffer$][$sublist](0, encoder[_bufferIndex]); + } + startChunkedConversion(sink) { + T$0.SinkOfListOfint().as(sink); + if (sink == null) dart.nullFailed(I[98], 118, 63, "sink"); + return new convert._Utf8EncoderSink.new(convert.ByteConversionSink.is(sink) ? sink : new convert._ByteAdapterSink.new(sink)); + } + bind(stream) { + T$0.StreamOfString().as(stream); + if (stream == null) dart.nullFailed(I[98], 124, 41, "stream"); + return super.bind(stream); + } +}; +(convert.Utf8Encoder.new = function() { + convert.Utf8Encoder.__proto__.new.call(this); + ; +}).prototype = convert.Utf8Encoder.prototype; +dart.addTypeTests(convert.Utf8Encoder); +dart.addTypeCaches(convert.Utf8Encoder); +dart.setMethodSignature(convert.Utf8Encoder, () => ({ + __proto__: dart.getMethods(convert.Utf8Encoder.__proto__), + convert: dart.fnType(typed_data.Uint8List, [dart.nullable(core.Object)], [core.int, dart.nullable(core.int)]), + startChunkedConversion: dart.fnType(convert.StringConversionSink, [dart.nullable(core.Object)]) +})); +dart.setLibraryUri(convert.Utf8Encoder, I[31]); +var _writeSurrogate = dart.privateName(convert, "_writeSurrogate"); +convert._Utf8Encoder = class _Utf8Encoder extends core.Object { + static _createBuffer(size) { + if (size == null) dart.nullFailed(I[98], 142, 38, "size"); + return _native_typed_data.NativeUint8List.new(size); + } + [_writeReplacementCharacter]() { + let t174, t174$, t174$0; + this[_buffer$][$_set]((t174 = this[_bufferIndex], this[_bufferIndex] = dart.notNull(t174) + 1, t174), 239); + this[_buffer$][$_set]((t174$ = this[_bufferIndex], this[_bufferIndex] = dart.notNull(t174$) + 1, t174$), 191); + this[_buffer$][$_set]((t174$0 = this[_bufferIndex], this[_bufferIndex] = dart.notNull(t174$0) + 1, t174$0), 189); + } + [_writeSurrogate](leadingSurrogate, nextCodeUnit) { + let t174, t174$, t174$0, t174$1; + if (leadingSurrogate == null) dart.nullFailed(I[98], 160, 28, "leadingSurrogate"); + if (nextCodeUnit == null) dart.nullFailed(I[98], 160, 50, "nextCodeUnit"); + if (dart.test(convert._isTailSurrogate(nextCodeUnit))) { + let rune = convert._combineSurrogatePair(leadingSurrogate, nextCodeUnit); + if (!(dart.notNull(rune) > 65535)) dart.assertFailed(null, I[98], 165, 14, "rune > _THREE_BYTE_LIMIT"); + if (!(dart.notNull(rune) <= 1114111)) dart.assertFailed(null, I[98], 166, 14, "rune <= _FOUR_BYTE_LIMIT"); + this[_buffer$][$_set]((t174 = this[_bufferIndex], this[_bufferIndex] = dart.notNull(t174) + 1, t174), (240 | rune[$rightShift](18)) >>> 0); + this[_buffer$][$_set]((t174$ = this[_bufferIndex], this[_bufferIndex] = dart.notNull(t174$) + 1, t174$), 128 | dart.notNull(rune) >> 12 & 63); + this[_buffer$][$_set]((t174$0 = this[_bufferIndex], this[_bufferIndex] = dart.notNull(t174$0) + 1, t174$0), 128 | dart.notNull(rune) >> 6 & 63); + this[_buffer$][$_set]((t174$1 = this[_bufferIndex], this[_bufferIndex] = dart.notNull(t174$1) + 1, t174$1), 128 | dart.notNull(rune) & 63); + return true; + } else { + this[_writeReplacementCharacter](); + return false; + } + } + [_fillBuffer](str, start, end) { + let t175, t175$, t175$0, t175$1, t175$2, t175$3; + if (str == null) dart.nullFailed(I[98], 186, 26, "str"); + if (start == null) dart.nullFailed(I[98], 186, 35, "start"); + if (end == null) dart.nullFailed(I[98], 186, 46, "end"); + if (start != end && dart.test(convert._isLeadSurrogate(str[$codeUnitAt](dart.notNull(end) - 1)))) { + end = dart.notNull(end) - 1; + } + let stringIndex = null; + for (let t174 = stringIndex = start; dart.notNull(stringIndex) < dart.notNull(end); stringIndex = dart.notNull(stringIndex) + 1) { + let codeUnit = str[$codeUnitAt](stringIndex); + if (codeUnit <= 127) { + if (dart.notNull(this[_bufferIndex]) >= dart.notNull(this[_buffer$][$length])) break; + this[_buffer$][$_set]((t175 = this[_bufferIndex], this[_bufferIndex] = dart.notNull(t175) + 1, t175), codeUnit); + } else if (dart.test(convert._isLeadSurrogate(codeUnit))) { + if (dart.notNull(this[_bufferIndex]) + 4 > dart.notNull(this[_buffer$][$length])) break; + let nextCodeUnit = str[$codeUnitAt](dart.notNull(stringIndex) + 1); + let wasCombined = this[_writeSurrogate](codeUnit, nextCodeUnit); + if (dart.test(wasCombined)) stringIndex = dart.notNull(stringIndex) + 1; + } else if (dart.test(convert._isTailSurrogate(codeUnit))) { + if (dart.notNull(this[_bufferIndex]) + 3 > dart.notNull(this[_buffer$][$length])) break; + this[_writeReplacementCharacter](); + } else { + let rune = codeUnit; + if (rune <= 2047) { + if (dart.notNull(this[_bufferIndex]) + 1 >= dart.notNull(this[_buffer$][$length])) break; + this[_buffer$][$_set]((t175$ = this[_bufferIndex], this[_bufferIndex] = dart.notNull(t175$) + 1, t175$), (192 | rune[$rightShift](6)) >>> 0); + this[_buffer$][$_set]((t175$0 = this[_bufferIndex], this[_bufferIndex] = dart.notNull(t175$0) + 1, t175$0), 128 | rune & 63); + } else { + if (!(rune <= 65535)) dart.assertFailed(null, I[98], 217, 18, "rune <= _THREE_BYTE_LIMIT"); + if (dart.notNull(this[_bufferIndex]) + 2 >= dart.notNull(this[_buffer$][$length])) break; + this[_buffer$][$_set]((t175$1 = this[_bufferIndex], this[_bufferIndex] = dart.notNull(t175$1) + 1, t175$1), (224 | rune[$rightShift](12)) >>> 0); + this[_buffer$][$_set]((t175$2 = this[_bufferIndex], this[_bufferIndex] = dart.notNull(t175$2) + 1, t175$2), 128 | rune >> 6 & 63); + this[_buffer$][$_set]((t175$3 = this[_bufferIndex], this[_bufferIndex] = dart.notNull(t175$3) + 1, t175$3), 128 | rune & 63); + } + } + } + return stringIndex; + } +}; +(convert._Utf8Encoder.new = function() { + convert._Utf8Encoder.withBufferSize.call(this, 1024); +}).prototype = convert._Utf8Encoder.prototype; +(convert._Utf8Encoder.withBufferSize = function(bufferSize) { + if (bufferSize == null) dart.nullFailed(I[98], 138, 35, "bufferSize"); + this[_carry] = 0; + this[_bufferIndex] = 0; + this[_buffer$] = convert._Utf8Encoder._createBuffer(bufferSize); + ; +}).prototype = convert._Utf8Encoder.prototype; +dart.addTypeTests(convert._Utf8Encoder); +dart.addTypeCaches(convert._Utf8Encoder); +dart.setMethodSignature(convert._Utf8Encoder, () => ({ + __proto__: dart.getMethods(convert._Utf8Encoder.__proto__), + [_writeReplacementCharacter]: dart.fnType(dart.void, []), + [_writeSurrogate]: dart.fnType(core.bool, [core.int, core.int]), + [_fillBuffer]: dart.fnType(core.int, [core.String, core.int, core.int]) +})); +dart.setLibraryUri(convert._Utf8Encoder, I[31]); +dart.setFieldSignature(convert._Utf8Encoder, () => ({ + __proto__: dart.getFields(convert._Utf8Encoder.__proto__), + [_carry]: dart.fieldType(core.int), + [_bufferIndex]: dart.fieldType(core.int), + [_buffer$]: dart.finalFieldType(typed_data.Uint8List) +})); +dart.defineLazy(convert._Utf8Encoder, { + /*convert._Utf8Encoder._DEFAULT_BYTE_BUFFER_SIZE*/get _DEFAULT_BYTE_BUFFER_SIZE() { + return 1024; + } +}, false); +const _Utf8Encoder_StringConversionSinkMixin$36 = class _Utf8Encoder_StringConversionSinkMixin extends convert._Utf8Encoder {}; +(_Utf8Encoder_StringConversionSinkMixin$36.new = function() { + _Utf8Encoder_StringConversionSinkMixin$36.__proto__.new.call(this); +}).prototype = _Utf8Encoder_StringConversionSinkMixin$36.prototype; +(_Utf8Encoder_StringConversionSinkMixin$36.withBufferSize = function(bufferSize) { + _Utf8Encoder_StringConversionSinkMixin$36.__proto__.withBufferSize.call(this, bufferSize); +}).prototype = _Utf8Encoder_StringConversionSinkMixin$36.prototype; +dart.applyMixin(_Utf8Encoder_StringConversionSinkMixin$36, convert.StringConversionSinkMixin); +convert._Utf8EncoderSink = class _Utf8EncoderSink extends _Utf8Encoder_StringConversionSinkMixin$36 { + close() { + if (this[_carry] !== 0) { + this.addSlice("", 0, 0, true); + return; + } + this[_sink$0].close(); + } + addSlice(str, start, end, isLast) { + if (str == null) dart.nullFailed(I[98], 245, 24, "str"); + if (start == null) dart.nullFailed(I[98], 245, 33, "start"); + if (end == null) dart.nullFailed(I[98], 245, 44, "end"); + if (isLast == null) dart.nullFailed(I[98], 245, 54, "isLast"); + this[_bufferIndex] = 0; + if (start == end && !dart.test(isLast)) { + return; + } + if (this[_carry] !== 0) { + let nextCodeUnit = 0; + if (start != end) { + nextCodeUnit = str[$codeUnitAt](start); + } else { + if (!dart.test(isLast)) dart.assertFailed(null, I[98], 257, 16, "isLast"); + } + let wasCombined = this[_writeSurrogate](this[_carry], nextCodeUnit); + if (!(!dart.test(wasCombined) || start != end)) dart.assertFailed(null, I[98], 261, 14, "!wasCombined || start != end"); + if (dart.test(wasCombined)) start = dart.notNull(start) + 1; + this[_carry] = 0; + } + do { + start = this[_fillBuffer](str, start, end); + let isLastSlice = dart.test(isLast) && start == end; + if (start === dart.notNull(end) - 1 && dart.test(convert._isLeadSurrogate(str[$codeUnitAt](start)))) { + if (dart.test(isLast) && dart.notNull(this[_bufferIndex]) < dart.notNull(this[_buffer$][$length]) - 3) { + this[_writeReplacementCharacter](); + } else { + this[_carry] = str[$codeUnitAt](start); + } + start = dart.notNull(start) + 1; + } + this[_sink$0].addSlice(this[_buffer$], 0, this[_bufferIndex], isLastSlice); + this[_bufferIndex] = 0; + } while (dart.notNull(start) < dart.notNull(end)); + if (dart.test(isLast)) this.close(); + } +}; +(convert._Utf8EncoderSink.new = function(_sink) { + if (_sink == null) dart.nullFailed(I[98], 234, 25, "_sink"); + this[_sink$0] = _sink; + convert._Utf8EncoderSink.__proto__.new.call(this); + ; +}).prototype = convert._Utf8EncoderSink.prototype; +dart.addTypeTests(convert._Utf8EncoderSink); +dart.addTypeCaches(convert._Utf8EncoderSink); +dart.setMethodSignature(convert._Utf8EncoderSink, () => ({ + __proto__: dart.getMethods(convert._Utf8EncoderSink.__proto__), + close: dart.fnType(dart.void, []), + addSlice: dart.fnType(dart.void, [core.String, core.int, core.int, core.bool]) +})); +dart.setLibraryUri(convert._Utf8EncoderSink, I[31]); +dart.setFieldSignature(convert._Utf8EncoderSink, () => ({ + __proto__: dart.getFields(convert._Utf8EncoderSink.__proto__), + [_sink$0]: dart.finalFieldType(convert.ByteConversionSink) +})); +const _allowMalformed$0 = Utf8Decoder__allowMalformed; +convert.Utf8Decoder = class Utf8Decoder extends convert.Converter$(core.List$(core.int), core.String) { + get [_allowMalformed$]() { + return this[_allowMalformed$0]; + } + set [_allowMalformed$](value) { + super[_allowMalformed$] = value; + } + static _convertInterceptedUint8List(allowMalformed, codeUnits, start, end) { + if (allowMalformed == null) dart.nullFailed(I[85], 433, 12, "allowMalformed"); + if (codeUnits == null) dart.nullFailed(I[85], 433, 44, "codeUnits"); + if (start == null) dart.nullFailed(I[85], 433, 59, "start"); + if (end == null) dart.nullFailed(I[85], 433, 70, "end"); + let decoder = dart.test(allowMalformed) ? convert.Utf8Decoder._decoderNonfatal : convert.Utf8Decoder._decoder; + if (decoder == null) return null; + if (0 === start && end == codeUnits[$length]) { + return convert.Utf8Decoder._useTextDecoder(decoder, codeUnits); + } + let length = codeUnits[$length]; + end = core.RangeError.checkValidRange(start, end, length); + return convert.Utf8Decoder._useTextDecoder(decoder, codeUnits.subarray(start, end)); + } + static _useTextDecoder(decoder, codeUnits) { + if (codeUnits == null) dart.nullFailed(I[85], 447, 59, "codeUnits"); + try { + return decoder.decode(codeUnits); + } catch (e$) { + let e = dart.getThrown(e$); + if (core.Object.is(e)) { + } else + throw e$; + } + return null; + } + convert(codeUnits, start = 0, end = null) { + T$0.ListOfint().as(codeUnits); + if (codeUnits == null) dart.nullFailed(I[98], 314, 28, "codeUnits"); + if (start == null) dart.nullFailed(I[98], 314, 44, "start"); + let result = convert.Utf8Decoder._convertIntercepted(this[_allowMalformed$], codeUnits, start, end); + if (result != null) { + return result; + } + return new convert._Utf8Decoder.new(this[_allowMalformed$]).convertSingle(codeUnits, start, end); + } + startChunkedConversion(sink) { + T$0.SinkOfString().as(sink); + if (sink == null) dart.nullFailed(I[98], 329, 58, "sink"); + let stringSink = null; + if (convert.StringConversionSink.is(sink)) { + stringSink = sink; + } else { + stringSink = new convert._StringAdapterSink.new(sink); + } + return stringSink.asUtf8Sink(this[_allowMalformed$]); + } + bind(stream) { + T$0.StreamOfListOfint().as(stream); + if (stream == null) dart.nullFailed(I[98], 340, 41, "stream"); + return super.bind(stream); + } + fuse(T, next) { + if (next == null) dart.nullFailed(I[85], 398, 56, "next"); + return super.fuse(T, next); + } + static _convertIntercepted(allowMalformed, codeUnits, start, end) { + if (allowMalformed == null) dart.nullFailed(I[85], 405, 12, "allowMalformed"); + if (codeUnits == null) dart.nullFailed(I[85], 405, 38, "codeUnits"); + if (start == null) dart.nullFailed(I[85], 405, 53, "start"); + if (codeUnits instanceof Uint8Array) { + let casted = codeUnits; + end == null ? end = casted[$length] : null; + if (dart.notNull(end) - dart.notNull(start) < 15) { + return null; + } + let result = convert.Utf8Decoder._convertInterceptedUint8List(allowMalformed, casted, start, end); + if (result != null && dart.test(allowMalformed)) { + if (result.indexOf("�") >= 0) { + return null; + } + } + return result; + } + return null; + } +}; +(convert.Utf8Decoder.new = function(opts) { + let allowMalformed = opts && 'allowMalformed' in opts ? opts.allowMalformed : false; + if (allowMalformed == null) dart.nullFailed(I[98], 303, 27, "allowMalformed"); + this[_allowMalformed$0] = allowMalformed; + convert.Utf8Decoder.__proto__.new.call(this); + ; +}).prototype = convert.Utf8Decoder.prototype; +dart.addTypeTests(convert.Utf8Decoder); +dart.addTypeCaches(convert.Utf8Decoder); +dart.setMethodSignature(convert.Utf8Decoder, () => ({ + __proto__: dart.getMethods(convert.Utf8Decoder.__proto__), + convert: dart.fnType(core.String, [dart.nullable(core.Object)], [core.int, dart.nullable(core.int)]), + startChunkedConversion: dart.fnType(convert.ByteConversionSink, [dart.nullable(core.Object)]), + fuse: dart.gFnType(T => [convert.Converter$(core.List$(core.int), T), [convert.Converter$(core.String, T)]], T => [dart.nullable(core.Object)]) +})); +dart.setLibraryUri(convert.Utf8Decoder, I[31]); +dart.setFieldSignature(convert.Utf8Decoder, () => ({ + __proto__: dart.getFields(convert.Utf8Decoder.__proto__), + [_allowMalformed$]: dart.finalFieldType(core.bool) +})); +dart.defineLazy(convert.Utf8Decoder, { + /*convert.Utf8Decoder._shortInputThreshold*/get _shortInputThreshold() { + return 15; + }, + /*convert.Utf8Decoder._decoder*/get _decoder() { + return dart.fn(() => { + try { + return new TextDecoder("utf-8", {fatal: true}); + } catch (e$) { + let e = dart.getThrown(e$); + if (core.Object.is(e)) { + } else + throw e$; + } + return null; + }, T$0.VoidToObjectN())(); + }, + /*convert.Utf8Decoder._decoderNonfatal*/get _decoderNonfatal() { + return dart.fn(() => { + try { + return new TextDecoder("utf-8", {fatal: false}); + } catch (e$) { + let e = dart.getThrown(e$); + if (core.Object.is(e)) { + } else + throw e$; + } + return null; + }, T$0.VoidToObjectN())(); + } +}, false); +var _charOrIndex = dart.privateName(convert, "_charOrIndex"); +var _convertRecursive = dart.privateName(convert, "_convertRecursive"); +convert._Utf8Decoder = class _Utf8Decoder extends core.Object { + static isErrorState(state) { + if (state == null) dart.nullFailed(I[98], 499, 32, "state"); + return (dart.notNull(state) & 1) !== 0; + } + static errorDescription(state) { + if (state == null) dart.nullFailed(I[98], 501, 38, "state"); + switch (state) { + case 65: + { + return "Missing extension byte"; + } + case 67: + { + return "Unexpected extension byte"; + } + case 69: + { + return "Invalid UTF-8 byte"; + } + case 71: + { + return "Overlong encoding"; + } + case 73: + { + return "Out of unicode range"; + } + case 75: + { + return "Encoded surrogate"; + } + case 77: + { + return "Unfinished UTF-8 octet sequence"; + } + default: + { + return ""; + } + } + } + convertSingle(codeUnits, start, maybeEnd) { + if (codeUnits == null) dart.nullFailed(I[85], 479, 34, "codeUnits"); + if (start == null) dart.nullFailed(I[85], 479, 49, "start"); + return this.convertGeneral(codeUnits, start, maybeEnd, true); + } + convertChunked(codeUnits, start, maybeEnd) { + if (codeUnits == null) dart.nullFailed(I[85], 484, 35, "codeUnits"); + if (start == null) dart.nullFailed(I[85], 484, 50, "start"); + return this.convertGeneral(codeUnits, start, maybeEnd, false); + } + convertGeneral(codeUnits, start, maybeEnd, single) { + if (codeUnits == null) dart.nullFailed(I[98], 529, 17, "codeUnits"); + if (start == null) dart.nullFailed(I[98], 529, 32, "start"); + if (single == null) dart.nullFailed(I[98], 529, 59, "single"); + let end = core.RangeError.checkValidRange(start, maybeEnd, codeUnits[$length]); + if (start == end) return ""; + let bytes = null; + let errorOffset = null; + if (typed_data.Uint8List.is(codeUnits)) { + bytes = codeUnits; + errorOffset = 0; + } else { + bytes = convert._Utf8Decoder._makeUint8List(codeUnits, start, end); + errorOffset = start; + end = dart.notNull(end) - dart.notNull(start); + start = 0; + } + let result = this[_convertRecursive](bytes, start, end, single); + if (dart.test(convert._Utf8Decoder.isErrorState(this[_state$0]))) { + let message = convert._Utf8Decoder.errorDescription(this[_state$0]); + this[_state$0] = 0; + dart.throw(new core.FormatException.new(message, codeUnits, dart.notNull(errorOffset) + dart.notNull(this[_charOrIndex]))); + } + return result; + } + [_convertRecursive](bytes, start, end, single) { + if (bytes == null) dart.nullFailed(I[98], 556, 38, "bytes"); + if (start == null) dart.nullFailed(I[98], 556, 49, "start"); + if (end == null) dart.nullFailed(I[98], 556, 60, "end"); + if (single == null) dart.nullFailed(I[98], 556, 70, "single"); + if (dart.notNull(end) - dart.notNull(start) > 1000) { + let mid = ((dart.notNull(start) + dart.notNull(end)) / 2)[$truncate](); + let s1 = this[_convertRecursive](bytes, start, mid, false); + if (dart.test(convert._Utf8Decoder.isErrorState(this[_state$0]))) return s1; + let s2 = this[_convertRecursive](bytes, mid, end, single); + return dart.notNull(s1) + dart.notNull(s2); + } + return this.decodeGeneral(bytes, start, end, single); + } + flush(sink) { + if (sink == null) dart.nullFailed(I[98], 573, 25, "sink"); + let state = this[_state$0]; + this[_state$0] = 0; + if (dart.notNull(state) <= 32) { + return; + } + if (dart.test(this.allowMalformed)) { + sink.writeCharCode(65533); + } else { + dart.throw(new core.FormatException.new(convert._Utf8Decoder.errorDescription(77), null, null)); + } + } + decodeGeneral(bytes, start, end, single) { + let t178, t178$, t178$0, t178$1; + if (bytes == null) dart.nullFailed(I[98], 587, 34, "bytes"); + if (start == null) dart.nullFailed(I[98], 587, 45, "start"); + if (end == null) dart.nullFailed(I[98], 587, 56, "end"); + if (single == null) dart.nullFailed(I[98], 587, 66, "single"); + let typeTable = convert._Utf8Decoder.typeTable; + let transitionTable = convert._Utf8Decoder.transitionTable; + let state = this[_state$0]; + let char = this[_charOrIndex]; + let buffer = new core.StringBuffer.new(); + let i = start; + let byte = bytes[$_get]((t178 = i, i = dart.notNull(t178) + 1, t178)); + L1: + while (true) { + while (true) { + let type = (typeTable[$codeUnitAt](byte) & 31) >>> 0; + char = dart.notNull(state) <= 32 ? (dart.notNull(byte) & (61694)[$rightShift](type)) >>> 0 : (dart.notNull(byte) & 63 | dart.notNull(char) << 6 >>> 0) >>> 0; + state = transitionTable[$codeUnitAt](dart.notNull(state) + type); + if (state === 0) { + buffer.writeCharCode(char); + if (i == end) break L1; + break; + } else if (dart.test(convert._Utf8Decoder.isErrorState(state))) { + if (dart.test(this.allowMalformed)) { + switch (state) { + case 69: + case 67: + { + buffer.writeCharCode(65533); + break; + } + case 65: + { + buffer.writeCharCode(65533); + i = dart.notNull(i) - 1; + break; + } + default: + { + buffer.writeCharCode(65533); + buffer.writeCharCode(65533); + break; + } + } + state = 0; + } else { + this[_state$0] = state; + this[_charOrIndex] = dart.notNull(i) - 1; + return ""; + } + } + if (i == end) break L1; + byte = bytes[$_get]((t178$ = i, i = dart.notNull(t178$) + 1, t178$)); + } + let markStart = i; + byte = bytes[$_get]((t178$0 = i, i = dart.notNull(t178$0) + 1, t178$0)); + if (dart.notNull(byte) < 128) { + let markEnd = end; + while (dart.notNull(i) < dart.notNull(end)) { + byte = bytes[$_get]((t178$1 = i, i = dart.notNull(t178$1) + 1, t178$1)); + if (dart.notNull(byte) >= 128) { + markEnd = dart.notNull(i) - 1; + break; + } + } + if (!(dart.notNull(markStart) < dart.notNull(markEnd))) dart.assertFailed(null, I[98], 652, 16, "markStart < markEnd"); + if (dart.notNull(markEnd) - dart.notNull(markStart) < 20) { + for (let m = markStart; dart.notNull(m) < dart.notNull(markEnd); m = dart.notNull(m) + 1) { + buffer.writeCharCode(bytes[$_get](m)); + } + } else { + buffer.write(core.String.fromCharCodes(bytes, markStart, markEnd)); + } + if (markEnd == end) break; + } + } + if (dart.test(single) && dart.notNull(state) > 32) { + if (dart.test(this.allowMalformed)) { + buffer.writeCharCode(65533); + } else { + this[_state$0] = 77; + this[_charOrIndex] = end; + return ""; + } + } + this[_state$0] = state; + this[_charOrIndex] = char; + return buffer.toString(); + } + static _makeUint8List(codeUnits, start, end) { + if (codeUnits == null) dart.nullFailed(I[98], 679, 45, "codeUnits"); + if (start == null) dart.nullFailed(I[98], 679, 60, "start"); + if (end == null) dart.nullFailed(I[98], 679, 71, "end"); + let length = dart.notNull(end) - dart.notNull(start); + let bytes = _native_typed_data.NativeUint8List.new(length); + for (let i = 0; i < length; i = i + 1) { + let b = codeUnits[$_get](dart.notNull(start) + i); + if ((dart.notNull(b) & ~255 >>> 0) !== 0) { + b = 255; + } + bytes[$_set](i, b); + } + return bytes; + } +}; +(convert._Utf8Decoder.new = function(allowMalformed) { + if (allowMalformed == null) dart.nullFailed(I[85], 476, 21, "allowMalformed"); + this[_charOrIndex] = 0; + this.allowMalformed = allowMalformed; + this[_state$0] = 16; + ; +}).prototype = convert._Utf8Decoder.prototype; +dart.addTypeTests(convert._Utf8Decoder); +dart.addTypeCaches(convert._Utf8Decoder); +dart.setMethodSignature(convert._Utf8Decoder, () => ({ + __proto__: dart.getMethods(convert._Utf8Decoder.__proto__), + convertSingle: dart.fnType(core.String, [core.List$(core.int), core.int, dart.nullable(core.int)]), + convertChunked: dart.fnType(core.String, [core.List$(core.int), core.int, dart.nullable(core.int)]), + convertGeneral: dart.fnType(core.String, [core.List$(core.int), core.int, dart.nullable(core.int), core.bool]), + [_convertRecursive]: dart.fnType(core.String, [typed_data.Uint8List, core.int, core.int, core.bool]), + flush: dart.fnType(dart.void, [core.StringSink]), + decodeGeneral: dart.fnType(core.String, [typed_data.Uint8List, core.int, core.int, core.bool]) +})); +dart.setLibraryUri(convert._Utf8Decoder, I[31]); +dart.setFieldSignature(convert._Utf8Decoder, () => ({ + __proto__: dart.getFields(convert._Utf8Decoder.__proto__), + allowMalformed: dart.finalFieldType(core.bool), + [_state$0]: dart.fieldType(core.int), + [_charOrIndex]: dart.fieldType(core.int) +})); +dart.defineLazy(convert._Utf8Decoder, { + /*convert._Utf8Decoder.typeMask*/get typeMask() { + return 31; + }, + /*convert._Utf8Decoder.shiftedByteMask*/get shiftedByteMask() { + return 61694; + }, + /*convert._Utf8Decoder.typeTable*/get typeTable() { + return "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFFFFFFFFFFFFFFFFGGGGGGGGGGGGGGGGHHHHHHHHHHHHHHHHHHHHHHHHHHHIHHHJEEBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBKCCCCCCCCCCCCDCLONNNMEEEEEEEEEEE"; + }, + /*convert._Utf8Decoder.IA*/get IA() { + return 0; + }, + /*convert._Utf8Decoder.BB*/get BB() { + return 16; + }, + /*convert._Utf8Decoder.AB*/get AB() { + return 32; + }, + /*convert._Utf8Decoder.X1*/get X1() { + return 48; + }, + /*convert._Utf8Decoder.X2*/get X2() { + return 58; + }, + /*convert._Utf8Decoder.X3*/get X3() { + return 68; + }, + /*convert._Utf8Decoder.TO*/get TO() { + return 78; + }, + /*convert._Utf8Decoder.TS*/get TS() { + return 88; + }, + /*convert._Utf8Decoder.QO*/get QO() { + return 98; + }, + /*convert._Utf8Decoder.QR*/get QR() { + return 108; + }, + /*convert._Utf8Decoder.B1*/get B1() { + return 118; + }, + /*convert._Utf8Decoder.B2*/get B2() { + return 128; + }, + /*convert._Utf8Decoder.E1*/get E1() { + return 65; + }, + /*convert._Utf8Decoder.E2*/get E2() { + return 67; + }, + /*convert._Utf8Decoder.E3*/get E3() { + return 69; + }, + /*convert._Utf8Decoder.E4*/get E4() { + return 71; + }, + /*convert._Utf8Decoder.E5*/get E5() { + return 73; + }, + /*convert._Utf8Decoder.E6*/get E6() { + return 75; + }, + /*convert._Utf8Decoder.E7*/get E7() { + return 77; + }, + /*convert._Utf8Decoder._IA*/get _IA() { + return ""; + }, + /*convert._Utf8Decoder._BB*/get _BB() { + return ""; + }, + /*convert._Utf8Decoder._AB*/get _AB() { + return " "; + }, + /*convert._Utf8Decoder._X1*/get _X1() { + return "0"; + }, + /*convert._Utf8Decoder._X2*/get _X2() { + return ":"; + }, + /*convert._Utf8Decoder._X3*/get _X3() { + return "D"; + }, + /*convert._Utf8Decoder._TO*/get _TO() { + return "N"; + }, + /*convert._Utf8Decoder._TS*/get _TS() { + return "X"; + }, + /*convert._Utf8Decoder._QO*/get _QO() { + return "b"; + }, + /*convert._Utf8Decoder._QR*/get _QR() { + return "l"; + }, + /*convert._Utf8Decoder._B1*/get _B1() { + return "v"; + }, + /*convert._Utf8Decoder._B2*/get _B2() { + return "€"; + }, + /*convert._Utf8Decoder._E1*/get _E1() { + return "A"; + }, + /*convert._Utf8Decoder._E2*/get _E2() { + return "C"; + }, + /*convert._Utf8Decoder._E3*/get _E3() { + return "E"; + }, + /*convert._Utf8Decoder._E4*/get _E4() { + return "G"; + }, + /*convert._Utf8Decoder._E5*/get _E5() { + return "I"; + }, + /*convert._Utf8Decoder._E6*/get _E6() { + return "K"; + }, + /*convert._Utf8Decoder._E7*/get _E7() { + return "M"; + }, + /*convert._Utf8Decoder.transitionTable*/get transitionTable() { + return " 0:XECCCCCN:lDb 0:XECCCCCNvlDb 0:XECCCCCN:lDb AAAAAAAAAA00000AAAAA:::::AAAAAGG000AAAAA00KKKAAAAAG::::AAAAA:IIIIAAAAA000€0AAAAA AAAAA"; + }, + /*convert._Utf8Decoder.initial*/get initial() { + return 0; + }, + /*convert._Utf8Decoder.accept*/get accept() { + return 0; + }, + /*convert._Utf8Decoder.beforeBom*/get beforeBom() { + return 16; + }, + /*convert._Utf8Decoder.afterBom*/get afterBom() { + return 32; + }, + /*convert._Utf8Decoder.errorMissingExtension*/get errorMissingExtension() { + return 65; + }, + /*convert._Utf8Decoder.errorUnexpectedExtension*/get errorUnexpectedExtension() { + return 67; + }, + /*convert._Utf8Decoder.errorInvalid*/get errorInvalid() { + return 69; + }, + /*convert._Utf8Decoder.errorOverlong*/get errorOverlong() { + return 71; + }, + /*convert._Utf8Decoder.errorOutOfRange*/get errorOutOfRange() { + return 73; + }, + /*convert._Utf8Decoder.errorSurrogate*/get errorSurrogate() { + return 75; + }, + /*convert._Utf8Decoder.errorUnfinished*/get errorUnfinished() { + return 77; + } +}, false); +convert._convertJsonToDart = function _convertJsonToDart(json, reviver) { + if (reviver == null) dart.nullFailed(I[85], 54, 26, "reviver"); + function walk(e) { + if (e == null || typeof e != "object") { + return e; + } + if (Object.getPrototypeOf(e) === Array.prototype) { + for (let i = 0; i < e.length; i = i + 1) { + let item = e[i]; + e[i] = reviver(i, walk(item)); + } + return e; + } + let map = new convert._JsonMap.new(e); + let processed = map[_processed]; + let keys = map[_computeKeys](); + for (let i = 0; i < dart.notNull(keys[$length]); i = i + 1) { + let key = keys[$_get](i); + let revived = reviver(key, walk(e[key])); + processed[key] = revived; + } + map[_original$] = processed; + return map; + } + dart.fn(walk, T$.dynamicTodynamic()); + return reviver(null, walk(json)); +}; +convert._convertJsonToDartLazy = function _convertJsonToDartLazy(object) { + if (object == null) return null; + if (typeof object != "object") { + return object; + } + if (Object.getPrototypeOf(object) !== Array.prototype) { + return new convert._JsonMap.new(object); + } + for (let i = 0; i < object.length; i = i + 1) { + let item = object[i]; + object[i] = convert._convertJsonToDartLazy(item); + } + return object; +}; +convert.base64Encode = function base64Encode(bytes) { + if (bytes == null) dart.nullFailed(I[92], 41, 31, "bytes"); + return convert.base64.encode(bytes); +}; +convert.base64UrlEncode = function base64UrlEncode(bytes) { + if (bytes == null) dart.nullFailed(I[92], 46, 34, "bytes"); + return convert.base64Url.encode(bytes); +}; +convert.base64Decode = function base64Decode(source) { + if (source == null) dart.nullFailed(I[92], 52, 31, "source"); + return convert.base64.decode(source); +}; +convert.jsonEncode = function jsonEncode(object, opts) { + let toEncodable = opts && 'toEncodable' in opts ? opts.toEncodable : null; + return convert.json.encode(object, {toEncodable: toEncodable}); +}; +convert.jsonDecode = function jsonDecode(source, opts) { + if (source == null) dart.nullFailed(I[95], 94, 27, "source"); + let reviver = opts && 'reviver' in opts ? opts.reviver : null; + return convert.json.decode(source, {reviver: reviver}); +}; +convert._parseJson = function _parseJson(source, reviver) { + if (source == null) dart.nullFailed(I[85], 31, 19, "source"); + if (!(typeof source == 'string')) dart.throw(_js_helper.argumentErrorValue(source)); + let parsed = null; + try { + parsed = JSON.parse(source); + } catch (e$) { + let e = dart.getThrown(e$); + if (core.Object.is(e)) { + dart.throw(new core.FormatException.new(String(e))); + } else + throw e$; + } + if (reviver == null) { + return convert._convertJsonToDartLazy(parsed); + } else { + return convert._convertJsonToDart(parsed, reviver); + } +}; +convert._defaultToEncodable = function _defaultToEncodable(object) { + return dart.dsend(object, 'toJson', []); +}; +convert._isLeadSurrogate = function _isLeadSurrogate(codeUnit) { + if (codeUnit == null) dart.nullFailed(I[98], 360, 27, "codeUnit"); + return (dart.notNull(codeUnit) & 64512) >>> 0 === 55296; +}; +convert._isTailSurrogate = function _isTailSurrogate(codeUnit) { + if (codeUnit == null) dart.nullFailed(I[98], 362, 27, "codeUnit"); + return (dart.notNull(codeUnit) & 64512) >>> 0 === 56320; +}; +convert._combineSurrogatePair = function _combineSurrogatePair(lead, tail) { + if (lead == null) dart.nullFailed(I[98], 364, 31, "lead"); + if (tail == null) dart.nullFailed(I[98], 364, 41, "tail"); + return (65536 + ((dart.notNull(lead) & 1023) >>> 0 << 10 >>> 0) | (dart.notNull(tail) & 1023) >>> 0) >>> 0; +}; +dart.defineLazy(convert, { + /*convert.ascii*/get ascii() { + return C[102] || CT.C102; + }, + /*convert._asciiMask*/get _asciiMask() { + return 127; + }, + /*convert.base64*/get base64() { + return C[103] || CT.C103; + }, + /*convert.base64Url*/get base64Url() { + return C[104] || CT.C104; + }, + /*convert._paddingChar*/get _paddingChar() { + return 61; + }, + /*convert.htmlEscape*/get htmlEscape() { + return C[105] || CT.C105; + }, + /*convert.json*/get json() { + return C[106] || CT.C106; + }, + /*convert.latin1*/get latin1() { + return C[107] || CT.C107; + }, + /*convert._latin1Mask*/get _latin1Mask() { + return 255; + }, + /*convert._LF*/get _LF() { + return 10; + }, + /*convert._CR*/get _CR() { + return 13; + }, + /*convert.unicodeReplacementCharacterRune*/get unicodeReplacementCharacterRune() { + return 65533; + }, + /*convert.unicodeBomCharacterRune*/get unicodeBomCharacterRune() { + return 65279; + }, + /*convert.utf8*/get utf8() { + return C[108] || CT.C108; + }, + /*convert._ONE_BYTE_LIMIT*/get _ONE_BYTE_LIMIT() { + return 127; + }, + /*convert._TWO_BYTE_LIMIT*/get _TWO_BYTE_LIMIT() { + return 2047; + }, + /*convert._THREE_BYTE_LIMIT*/get _THREE_BYTE_LIMIT() { + return 65535; + }, + /*convert._FOUR_BYTE_LIMIT*/get _FOUR_BYTE_LIMIT() { + return 1114111; + }, + /*convert._SURROGATE_TAG_MASK*/get _SURROGATE_TAG_MASK() { + return 64512; + }, + /*convert._SURROGATE_VALUE_MASK*/get _SURROGATE_VALUE_MASK() { + return 1023; + }, + /*convert._LEAD_SURROGATE_MIN*/get _LEAD_SURROGATE_MIN() { + return 55296; + }, + /*convert._TAIL_SURROGATE_MIN*/get _TAIL_SURROGATE_MIN() { + return 56320; + } +}, false); +developer._FakeUserTag = class _FakeUserTag extends core.Object { + static new(label) { + let t181, t180, t179; + if (label == null) dart.nullFailed(I[99], 173, 31, "label"); + let existingTag = developer._FakeUserTag._instances[$_get](label); + if (existingTag != null) { + return existingTag; + } + if (developer._FakeUserTag._instances[$length] === 64) { + dart.throw(new core.UnsupportedError.new("UserTag instance limit (" + dart.str(64) + ") reached.")); + } + t179 = developer._FakeUserTag._instances; + t180 = label; + t181 = new developer._FakeUserTag.real(label); + t179[$_set](t180, t181); + return t181; + } + makeCurrent() { + let old = developer._currentTag; + developer._currentTag = this; + return old; + } +}; +(developer._FakeUserTag.real = function(label) { + if (label == null) dart.nullFailed(I[99], 171, 26, "label"); + this.label = label; + ; +}).prototype = developer._FakeUserTag.prototype; +dart.addTypeTests(developer._FakeUserTag); +dart.addTypeCaches(developer._FakeUserTag); +developer._FakeUserTag[dart.implements] = () => [developer.UserTag]; +dart.setMethodSignature(developer._FakeUserTag, () => ({ + __proto__: dart.getMethods(developer._FakeUserTag.__proto__), + makeCurrent: dart.fnType(developer.UserTag, []) +})); +dart.setLibraryUri(developer._FakeUserTag, I[100]); +dart.setFieldSignature(developer._FakeUserTag, () => ({ + __proto__: dart.getFields(developer._FakeUserTag.__proto__), + label: dart.finalFieldType(core.String) +})); +dart.defineLazy(developer._FakeUserTag, { + /*developer._FakeUserTag._instances*/get _instances() { + return new (T$0.IdentityMapOfString$_FakeUserTag()).new(); + }, + /*developer._FakeUserTag._defaultTag*/get _defaultTag() { + return developer._FakeUserTag.new("Default"); + } +}, false); +var result$ = dart.privateName(developer, "ServiceExtensionResponse.result"); +var errorCode$ = dart.privateName(developer, "ServiceExtensionResponse.errorCode"); +var errorDetail$ = dart.privateName(developer, "ServiceExtensionResponse.errorDetail"); +var _toString$ = dart.privateName(developer, "_toString"); +developer.ServiceExtensionResponse = class ServiceExtensionResponse extends core.Object { + get result() { + return this[result$]; + } + set result(value) { + super.result = value; + } + get errorCode() { + return this[errorCode$]; + } + set errorCode(value) { + super.errorCode = value; + } + get errorDetail() { + return this[errorDetail$]; + } + set errorDetail(value) { + super.errorDetail = value; + } + static _errorCodeMessage(errorCode) { + if (errorCode == null) dart.nullFailed(I[101], 76, 39, "errorCode"); + developer.ServiceExtensionResponse._validateErrorCode(errorCode); + if (errorCode === -32602) { + return "Invalid params"; + } + return "Server error"; + } + static _validateErrorCode(errorCode) { + if (errorCode == null) dart.nullFailed(I[101], 84, 33, "errorCode"); + core.ArgumentError.checkNotNull(core.int, errorCode, "errorCode"); + if (errorCode === -32602) return; + if (dart.notNull(errorCode) >= -32016 && dart.notNull(errorCode) <= -32000) { + return; + } + dart.throw(new core.ArgumentError.value(errorCode, "errorCode", "Out of range")); + } + isError() { + return this.errorCode != null && this.errorDetail != null; + } + [_toString$]() { + let t179; + t179 = this.result; + return t179 == null ? convert.json.encode(new (T$.IdentityMapOfString$Object()).from(["code", dart.nullCheck(this.errorCode), "message", developer.ServiceExtensionResponse._errorCodeMessage(dart.nullCheck(this.errorCode)), "data", new (T$.IdentityMapOfString$String()).from(["details", dart.nullCheck(this.errorDetail)])])) : t179; + } +}; +(developer.ServiceExtensionResponse.result = function(result) { + if (result == null) dart.nullFailed(I[101], 25, 42, "result"); + this[result$] = result; + this[errorCode$] = null; + this[errorDetail$] = null; + core.ArgumentError.checkNotNull(core.String, result, "result"); +}).prototype = developer.ServiceExtensionResponse.prototype; +(developer.ServiceExtensionResponse.error = function(errorCode, errorDetail) { + if (errorCode == null) dart.nullFailed(I[101], 39, 38, "errorCode"); + if (errorDetail == null) dart.nullFailed(I[101], 39, 56, "errorDetail"); + this[result$] = null; + this[errorCode$] = errorCode; + this[errorDetail$] = errorDetail; + developer.ServiceExtensionResponse._validateErrorCode(errorCode); + core.ArgumentError.checkNotNull(core.String, errorDetail, "errorDetail"); +}).prototype = developer.ServiceExtensionResponse.prototype; +dart.addTypeTests(developer.ServiceExtensionResponse); +dart.addTypeCaches(developer.ServiceExtensionResponse); +dart.setMethodSignature(developer.ServiceExtensionResponse, () => ({ + __proto__: dart.getMethods(developer.ServiceExtensionResponse.__proto__), + isError: dart.fnType(core.bool, []), + [_toString$]: dart.fnType(core.String, []) +})); +dart.setLibraryUri(developer.ServiceExtensionResponse, I[100]); +dart.setFieldSignature(developer.ServiceExtensionResponse, () => ({ + __proto__: dart.getFields(developer.ServiceExtensionResponse.__proto__), + result: dart.finalFieldType(dart.nullable(core.String)), + errorCode: dart.finalFieldType(dart.nullable(core.int)), + errorDetail: dart.finalFieldType(dart.nullable(core.String)) +})); +dart.defineLazy(developer.ServiceExtensionResponse, { + /*developer.ServiceExtensionResponse.kInvalidParams*/get kInvalidParams() { + return -32602; + }, + /*developer.ServiceExtensionResponse.kExtensionError*/get kExtensionError() { + return -32000; + }, + /*developer.ServiceExtensionResponse.kExtensionErrorMax*/get kExtensionErrorMax() { + return -32000; + }, + /*developer.ServiceExtensionResponse.kExtensionErrorMin*/get kExtensionErrorMin() { + return -32016; + }, + /*developer.ServiceExtensionResponse.invalidParams*/get invalidParams() { + return -32602; + }, + /*developer.ServiceExtensionResponse.extensionError*/get extensionError() { + return -32000; + }, + /*developer.ServiceExtensionResponse.extensionErrorMax*/get extensionErrorMax() { + return -32000; + }, + /*developer.ServiceExtensionResponse.extensionErrorMin*/get extensionErrorMin() { + return -32016; + } +}, false); +developer.UserTag = class UserTag extends core.Object { + static get defaultTag() { + return developer._FakeUserTag._defaultTag; + } +}; +(developer.UserTag[dart.mixinNew] = function() { +}).prototype = developer.UserTag.prototype; +dart.addTypeTests(developer.UserTag); +dart.addTypeCaches(developer.UserTag); +dart.setLibraryUri(developer.UserTag, I[100]); +dart.defineLazy(developer.UserTag, { + /*developer.UserTag.MAX_USER_TAGS*/get MAX_USER_TAGS() { + return 64; + } +}, false); +var name$10 = dart.privateName(developer, "Metric.name"); +var description$ = dart.privateName(developer, "Metric.description"); +developer.Metric = class Metric extends core.Object { + get name() { + return this[name$10]; + } + set name(value) { + super.name = value; + } + get description() { + return this[description$]; + } + set description(value) { + super.description = value; + } +}; +(developer.Metric.new = function(name, description) { + if (name == null) dart.nullFailed(I[102], 39, 15, "name"); + if (description == null) dart.nullFailed(I[102], 39, 26, "description"); + this[name$10] = name; + this[description$] = description; + if (this.name === "vm" || this.name[$contains]("/")) { + dart.throw(new core.ArgumentError.new("Invalid Metric name.")); + } +}).prototype = developer.Metric.prototype; +dart.addTypeTests(developer.Metric); +dart.addTypeCaches(developer.Metric); +dart.setLibraryUri(developer.Metric, I[100]); +dart.setFieldSignature(developer.Metric, () => ({ + __proto__: dart.getFields(developer.Metric.__proto__), + name: dart.finalFieldType(core.String), + description: dart.finalFieldType(core.String) +})); +var min$ = dart.privateName(developer, "Gauge.min"); +var max$ = dart.privateName(developer, "Gauge.max"); +var _value = dart.privateName(developer, "_value"); +var _toJSON = dart.privateName(developer, "_toJSON"); +developer.Gauge = class Gauge extends developer.Metric { + get min() { + return this[min$]; + } + set min(value) { + super.min = value; + } + get max() { + return this[max$]; + } + set max(value) { + super.max = value; + } + get value() { + return this[_value]; + } + set value(v) { + if (v == null) dart.nullFailed(I[102], 56, 20, "v"); + if (dart.notNull(v) < dart.notNull(this.min)) { + v = this.min; + } else if (dart.notNull(v) > dart.notNull(this.max)) { + v = this.max; + } + this[_value] = v; + } + [_toJSON]() { + let map = new (T$.IdentityMapOfString$Object()).from(["type", "Gauge", "id", "metrics/" + dart.str(this.name), "name", this.name, "description", this.description, "value", this.value, "min", this.min, "max", this.max]); + return map; + } +}; +(developer.Gauge.new = function(name, description, min, max) { + if (name == null) dart.nullFailed(I[102], 65, 16, "name"); + if (description == null) dart.nullFailed(I[102], 65, 29, "description"); + if (min == null) dart.nullFailed(I[102], 65, 47, "min"); + if (max == null) dart.nullFailed(I[102], 65, 57, "max"); + this[min$] = min; + this[max$] = max; + this[_value] = min; + developer.Gauge.__proto__.new.call(this, name, description); + core.ArgumentError.checkNotNull(core.double, this.min, "min"); + core.ArgumentError.checkNotNull(core.double, this.max, "max"); + if (!(dart.notNull(this.min) < dart.notNull(this.max))) dart.throw(new core.ArgumentError.new("min must be less than max")); +}).prototype = developer.Gauge.prototype; +dart.addTypeTests(developer.Gauge); +dart.addTypeCaches(developer.Gauge); +dart.setMethodSignature(developer.Gauge, () => ({ + __proto__: dart.getMethods(developer.Gauge.__proto__), + [_toJSON]: dart.fnType(core.Map, []) +})); +dart.setGetterSignature(developer.Gauge, () => ({ + __proto__: dart.getGetters(developer.Gauge.__proto__), + value: core.double +})); +dart.setSetterSignature(developer.Gauge, () => ({ + __proto__: dart.getSetters(developer.Gauge.__proto__), + value: core.double +})); +dart.setLibraryUri(developer.Gauge, I[100]); +dart.setFieldSignature(developer.Gauge, () => ({ + __proto__: dart.getFields(developer.Gauge.__proto__), + min: dart.finalFieldType(core.double), + max: dart.finalFieldType(core.double), + [_value]: dart.fieldType(core.double) +})); +developer.Counter = class Counter extends developer.Metric { + get value() { + return this[_value]; + } + set value(v) { + if (v == null) dart.nullFailed(I[102], 94, 20, "v"); + this[_value] = v; + } + [_toJSON]() { + let map = new (T$.IdentityMapOfString$Object()).from(["type", "Counter", "id", "metrics/" + dart.str(this.name), "name", this.name, "description", this.description, "value", this.value]); + return map; + } +}; +(developer.Counter.new = function(name, description) { + if (name == null) dart.nullFailed(I[102], 90, 18, "name"); + if (description == null) dart.nullFailed(I[102], 90, 31, "description"); + this[_value] = 0.0; + developer.Counter.__proto__.new.call(this, name, description); + ; +}).prototype = developer.Counter.prototype; +dart.addTypeTests(developer.Counter); +dart.addTypeCaches(developer.Counter); +dart.setMethodSignature(developer.Counter, () => ({ + __proto__: dart.getMethods(developer.Counter.__proto__), + [_toJSON]: dart.fnType(core.Map, []) +})); +dart.setGetterSignature(developer.Counter, () => ({ + __proto__: dart.getGetters(developer.Counter.__proto__), + value: core.double +})); +dart.setSetterSignature(developer.Counter, () => ({ + __proto__: dart.getSetters(developer.Counter.__proto__), + value: core.double +})); +dart.setLibraryUri(developer.Counter, I[100]); +dart.setFieldSignature(developer.Counter, () => ({ + __proto__: dart.getFields(developer.Counter.__proto__), + [_value]: dart.fieldType(core.double) +})); +developer.Metrics = class Metrics extends core.Object { + static register(metric) { + if (metric == null) dart.nullFailed(I[102], 114, 31, "metric"); + core.ArgumentError.checkNotNull(developer.Metric, metric, "metric"); + if (developer.Metrics._metrics[$_get](metric.name) != null) { + dart.throw(new core.ArgumentError.new("Registered metrics have unique names")); + } + developer.Metrics._metrics[$_set](metric.name, metric); + } + static deregister(metric) { + if (metric == null) dart.nullFailed(I[102], 124, 33, "metric"); + core.ArgumentError.checkNotNull(developer.Metric, metric, "metric"); + developer.Metrics._metrics[$remove](metric.name); + } + static _printMetric(id) { + if (id == null) dart.nullFailed(I[102], 132, 38, "id"); + let metric = developer.Metrics._metrics[$_get](id); + if (metric == null) { + return null; + } + return convert.json.encode(metric[_toJSON]()); + } + static _printMetrics() { + let metrics = []; + for (let metric of developer.Metrics._metrics[$values]) { + metrics[$add](metric[_toJSON]()); + } + let map = new (T$.IdentityMapOfString$Object()).from(["type", "MetricList", "metrics", metrics]); + return convert.json.encode(map); + } +}; +(developer.Metrics.new = function() { + ; +}).prototype = developer.Metrics.prototype; +dart.addTypeTests(developer.Metrics); +dart.addTypeCaches(developer.Metrics); +dart.setLibraryUri(developer.Metrics, I[100]); +dart.defineLazy(developer.Metrics, { + /*developer.Metrics._metrics*/get _metrics() { + return new (T$0.LinkedMapOfString$Metric()).new(); + } +}, false); +var majorVersion = dart.privateName(developer, "ServiceProtocolInfo.majorVersion"); +var minorVersion = dart.privateName(developer, "ServiceProtocolInfo.minorVersion"); +var serverUri$ = dart.privateName(developer, "ServiceProtocolInfo.serverUri"); +developer.ServiceProtocolInfo = class ServiceProtocolInfo extends core.Object { + get majorVersion() { + return this[majorVersion]; + } + set majorVersion(value) { + super.majorVersion = value; + } + get minorVersion() { + return this[minorVersion]; + } + set minorVersion(value) { + super.minorVersion = value; + } + get serverUri() { + return this[serverUri$]; + } + set serverUri(value) { + super.serverUri = value; + } + toString() { + if (this.serverUri != null) { + return "Dart VM Service Protocol v" + dart.str(this.majorVersion) + "." + dart.str(this.minorVersion) + " " + "listening on " + dart.str(this.serverUri); + } else { + return "Dart VM Service Protocol v" + dart.str(this.majorVersion) + "." + dart.str(this.minorVersion); + } + } +}; +(developer.ServiceProtocolInfo.new = function(serverUri) { + this[majorVersion] = developer._getServiceMajorVersion(); + this[minorVersion] = developer._getServiceMinorVersion(); + this[serverUri$] = serverUri; + ; +}).prototype = developer.ServiceProtocolInfo.prototype; +dart.addTypeTests(developer.ServiceProtocolInfo); +dart.addTypeCaches(developer.ServiceProtocolInfo); +dart.setLibraryUri(developer.ServiceProtocolInfo, I[100]); +dart.setFieldSignature(developer.ServiceProtocolInfo, () => ({ + __proto__: dart.getFields(developer.ServiceProtocolInfo.__proto__), + majorVersion: dart.finalFieldType(core.int), + minorVersion: dart.finalFieldType(core.int), + serverUri: dart.finalFieldType(dart.nullable(core.Uri)) +})); +dart.defineExtensionMethods(developer.ServiceProtocolInfo, ['toString']); +developer.Service = class Service extends core.Object { + static getInfo() { + return async.async(developer.ServiceProtocolInfo, function* getInfo() { + let receivePort = isolate$.RawReceivePort.new(null, "Service.getInfo"); + let uriCompleter = T$0.CompleterOfUriN().new(); + receivePort.handler = dart.fn(uri => uriCompleter.complete(uri), T$0.UriNTovoid()); + developer._getServerInfo(receivePort.sendPort); + let uri = (yield uriCompleter.future); + receivePort.close(); + return new developer.ServiceProtocolInfo.new(uri); + }); + } + static controlWebServer(opts) { + let enable = opts && 'enable' in opts ? opts.enable : false; + if (enable == null) dart.nullFailed(I[103], 62, 13, "enable"); + let silenceOutput = opts && 'silenceOutput' in opts ? opts.silenceOutput : null; + return async.async(developer.ServiceProtocolInfo, function* controlWebServer() { + core.ArgumentError.checkNotNull(core.bool, enable, "enable"); + let receivePort = isolate$.RawReceivePort.new(null, "Service.controlWebServer"); + let uriCompleter = T$0.CompleterOfUri().new(); + receivePort.handler = dart.fn(uri => { + if (uri == null) dart.nullFailed(I[103], 69, 32, "uri"); + return uriCompleter.complete(uri); + }, T$0.UriTovoid()); + developer._webServerControl(receivePort.sendPort, enable, silenceOutput); + let uri = (yield uriCompleter.future); + receivePort.close(); + return new developer.ServiceProtocolInfo.new(uri); + }); + } + static getIsolateID(isolate) { + if (isolate == null) dart.nullFailed(I[103], 83, 39, "isolate"); + core.ArgumentError.checkNotNull(isolate$.Isolate, isolate, "isolate"); + return developer._getIsolateIDFromSendPort(isolate.controlPort); + } +}; +(developer.Service.new = function() { + ; +}).prototype = developer.Service.prototype; +dart.addTypeTests(developer.Service); +dart.addTypeCaches(developer.Service); +dart.setLibraryUri(developer.Service, I[100]); +var id$ = dart.privateName(developer, "Flow.id"); +var _type$0 = dart.privateName(developer, "_type"); +developer.Flow = class Flow extends core.Object { + get id() { + return this[id$]; + } + set id(value) { + super.id = value; + } + static begin(opts) { + let t179; + let id = opts && 'id' in opts ? opts.id : null; + return new developer.Flow.__(9, (t179 = id, t179 == null ? developer._getNextAsyncId() : t179)); + } + static step(id) { + if (id == null) dart.nullFailed(I[104], 68, 24, "id"); + return new developer.Flow.__(10, id); + } + static end(id) { + if (id == null) dart.nullFailed(I[104], 75, 23, "id"); + return new developer.Flow.__(11, id); + } +}; +(developer.Flow.__ = function(_type, id) { + if (_type == null) dart.nullFailed(I[104], 52, 15, "_type"); + if (id == null) dart.nullFailed(I[104], 52, 27, "id"); + this[_type$0] = _type; + this[id$] = id; + ; +}).prototype = developer.Flow.prototype; +dart.addTypeTests(developer.Flow); +dart.addTypeCaches(developer.Flow); +dart.setLibraryUri(developer.Flow, I[100]); +dart.setFieldSignature(developer.Flow, () => ({ + __proto__: dart.getFields(developer.Flow.__proto__), + [_type$0]: dart.finalFieldType(core.int), + id: dart.finalFieldType(core.int) +})); +dart.defineLazy(developer.Flow, { + /*developer.Flow._begin*/get _begin() { + return 9; + }, + /*developer.Flow._step*/get _step() { + return 10; + }, + /*developer.Flow._end*/get _end() { + return 11; + } +}, false); +var _arguments$1 = dart.privateName(developer, "_arguments"); +var _startSync = dart.privateName(developer, "_startSync"); +developer.Timeline = class Timeline extends core.Object { + static startSync(name, opts) { + if (name == null) dart.nullFailed(I[104], 103, 32, "name"); + let $arguments = opts && 'arguments' in opts ? opts.arguments : null; + let flow = opts && 'flow' in opts ? opts.flow : null; + if (!true) return; + core.ArgumentError.checkNotNull(core.String, name, "name"); + if (!dart.test(developer._isDartStreamEnabled())) { + developer.Timeline._stack[$add](null); + return; + } + let block = new developer._SyncBlock.__(name); + if ($arguments != null) { + block[_arguments$1] = $arguments; + } + if (flow != null) { + block.flow = flow; + } + developer.Timeline._stack[$add](block); + block[_startSync](); + } + static finishSync() { + if (!true) { + return; + } + if (developer.Timeline._stack[$length] === 0) { + dart.throw(new core.StateError.new("Uneven calls to startSync and finishSync")); + } + let block = developer.Timeline._stack[$removeLast](); + if (block == null) { + return; + } + block.finish(); + } + static instantSync(name, opts) { + if (name == null) dart.nullFailed(I[104], 142, 34, "name"); + let $arguments = opts && 'arguments' in opts ? opts.arguments : null; + if (!true) return; + core.ArgumentError.checkNotNull(core.String, name, "name"); + if (!dart.test(developer._isDartStreamEnabled())) { + return; + } + let instantArguments = null; + if ($arguments != null) { + instantArguments = collection.LinkedHashMap.from($arguments); + } + developer._reportInstantEvent("Dart", name, developer._argumentsAsJson(instantArguments)); + } + static timeSync(T, name, $function, opts) { + if (name == null) dart.nullFailed(I[104], 159, 31, "name"); + if ($function == null) dart.nullFailed(I[104], 159, 61, "function"); + let $arguments = opts && 'arguments' in opts ? opts.arguments : null; + let flow = opts && 'flow' in opts ? opts.flow : null; + developer.Timeline.startSync(name, {arguments: $arguments, flow: flow}); + try { + return $function(); + } finally { + developer.Timeline.finishSync(); + } + } + static get now() { + return developer._getTraceClock(); + } +}; +(developer.Timeline.new = function() { + ; +}).prototype = developer.Timeline.prototype; +dart.addTypeTests(developer.Timeline); +dart.addTypeCaches(developer.Timeline); +dart.setLibraryUri(developer.Timeline, I[100]); +dart.defineLazy(developer.Timeline, { + /*developer.Timeline._stack*/get _stack() { + return T$0.JSArrayOf_SyncBlockN().of([]); + } +}, false); +var _stack = dart.privateName(developer, "_stack"); +var _parent = dart.privateName(developer, "_parent"); +var _filterKey = dart.privateName(developer, "_filterKey"); +var _taskId$ = dart.privateName(developer, "_taskId"); +var _start = dart.privateName(developer, "_start"); +var _finish = dart.privateName(developer, "_finish"); +developer.TimelineTask = class TimelineTask extends core.Object { + start(name, opts) { + if (name == null) dart.nullFailed(I[104], 218, 21, "name"); + let $arguments = opts && 'arguments' in opts ? opts.arguments : null; + if (!true) return; + core.ArgumentError.checkNotNull(core.String, name, "name"); + let block = new developer._AsyncBlock.__(name, this[_taskId$]); + this[_stack][$add](block); + let map = new (T$0.LinkedMapOfObjectN$ObjectN()).new(); + if ($arguments != null) { + for (let key of $arguments[$keys]) { + map[$_set](key, $arguments[$_get](key)); + } + } + if (this[_parent] != null) map[$_set]("parentId", dart.nullCheck(this[_parent])[_taskId$][$toRadixString](16)); + if (this[_filterKey] != null) map[$_set]("filterKey", this[_filterKey]); + block[_start](map); + } + instant(name, opts) { + if (name == null) dart.nullFailed(I[104], 241, 23, "name"); + let $arguments = opts && 'arguments' in opts ? opts.arguments : null; + if (!true) return; + core.ArgumentError.checkNotNull(core.String, name, "name"); + let instantArguments = null; + if ($arguments != null) { + instantArguments = collection.LinkedHashMap.from($arguments); + } + if (this[_filterKey] != null) { + instantArguments == null ? instantArguments = new _js_helper.LinkedMap.new() : null; + instantArguments[$_set]("filterKey", this[_filterKey]); + } + developer._reportTaskEvent(this[_taskId$], "n", "Dart", name, developer._argumentsAsJson(instantArguments)); + } + finish(opts) { + let $arguments = opts && 'arguments' in opts ? opts.arguments : null; + if (!true) { + return; + } + if (this[_stack][$length] === 0) { + dart.throw(new core.StateError.new("Uneven calls to start and finish")); + } + if (this[_filterKey] != null) { + $arguments == null ? $arguments = new _js_helper.LinkedMap.new() : null; + $arguments[$_set]("filterKey", this[_filterKey]); + } + let block = this[_stack][$removeLast](); + block[_finish]($arguments); + } + pass() { + if (dart.notNull(this[_stack][$length]) > 0) { + dart.throw(new core.StateError.new("You cannot pass a TimelineTask without finishing all started " + "operations")); + } + let r = this[_taskId$]; + return r; + } +}; +(developer.TimelineTask.new = function(opts) { + let parent = opts && 'parent' in opts ? opts.parent : null; + let filterKey = opts && 'filterKey' in opts ? opts.filterKey : null; + this[_stack] = T$0.JSArrayOf_AsyncBlock().of([]); + this[_parent] = parent; + this[_filterKey] = filterKey; + this[_taskId$] = developer._getNextAsyncId(); +}).prototype = developer.TimelineTask.prototype; +(developer.TimelineTask.withTaskId = function(taskId, opts) { + if (taskId == null) dart.nullFailed(I[104], 208, 31, "taskId"); + let filterKey = opts && 'filterKey' in opts ? opts.filterKey : null; + this[_stack] = T$0.JSArrayOf_AsyncBlock().of([]); + this[_parent] = null; + this[_filterKey] = filterKey; + this[_taskId$] = taskId; + core.ArgumentError.checkNotNull(core.int, taskId, "taskId"); +}).prototype = developer.TimelineTask.prototype; +dart.addTypeTests(developer.TimelineTask); +dart.addTypeCaches(developer.TimelineTask); +dart.setMethodSignature(developer.TimelineTask, () => ({ + __proto__: dart.getMethods(developer.TimelineTask.__proto__), + start: dart.fnType(dart.void, [core.String], {arguments: dart.nullable(core.Map)}, {}), + instant: dart.fnType(dart.void, [core.String], {arguments: dart.nullable(core.Map)}, {}), + finish: dart.fnType(dart.void, [], {arguments: dart.nullable(core.Map)}, {}), + pass: dart.fnType(core.int, []) +})); +dart.setLibraryUri(developer.TimelineTask, I[100]); +dart.setFieldSignature(developer.TimelineTask, () => ({ + __proto__: dart.getFields(developer.TimelineTask.__proto__), + [_parent]: dart.finalFieldType(dart.nullable(developer.TimelineTask)), + [_filterKey]: dart.finalFieldType(dart.nullable(core.String)), + [_taskId$]: dart.finalFieldType(core.int), + [_stack]: dart.finalFieldType(core.List$(developer._AsyncBlock)) +})); +dart.defineLazy(developer.TimelineTask, { + /*developer.TimelineTask._kFilterKey*/get _kFilterKey() { + return "filterKey"; + } +}, false); +developer._AsyncBlock = class _AsyncBlock extends core.Object { + [_start]($arguments) { + if ($arguments == null) dart.nullFailed(I[104], 309, 19, "arguments"); + developer._reportTaskEvent(this[_taskId$], "b", this.category, this.name, developer._argumentsAsJson($arguments)); + } + [_finish]($arguments) { + developer._reportTaskEvent(this[_taskId$], "e", this.category, this.name, developer._argumentsAsJson($arguments)); + } +}; +(developer._AsyncBlock.__ = function(name, _taskId) { + if (name == null) dart.nullFailed(I[104], 306, 22, "name"); + if (_taskId == null) dart.nullFailed(I[104], 306, 33, "_taskId"); + this.category = "Dart"; + this.name = name; + this[_taskId$] = _taskId; + ; +}).prototype = developer._AsyncBlock.prototype; +dart.addTypeTests(developer._AsyncBlock); +dart.addTypeCaches(developer._AsyncBlock); +dart.setMethodSignature(developer._AsyncBlock, () => ({ + __proto__: dart.getMethods(developer._AsyncBlock.__proto__), + [_start]: dart.fnType(dart.void, [core.Map]), + [_finish]: dart.fnType(dart.void, [dart.nullable(core.Map)]) +})); +dart.setLibraryUri(developer._AsyncBlock, I[100]); +dart.setFieldSignature(developer._AsyncBlock, () => ({ + __proto__: dart.getFields(developer._AsyncBlock.__proto__), + category: dart.finalFieldType(core.String), + name: dart.finalFieldType(core.String), + [_taskId$]: dart.finalFieldType(core.int) +})); +var _flow = dart.privateName(developer, "_flow"); +developer._SyncBlock = class _SyncBlock extends core.Object { + [_startSync]() { + developer._reportTaskEvent(0, "B", this.category, this.name, developer._argumentsAsJson(this[_arguments$1])); + } + finish() { + developer._reportTaskEvent(0, "E", this.category, this.name, developer._argumentsAsJson(this[_arguments$1])); + if (this[_flow] != null) { + developer._reportFlowEvent(this.category, dart.str(dart.nullCheck(this[_flow]).id), dart.nullCheck(this[_flow])[_type$0], dart.nullCheck(this[_flow]).id, developer._argumentsAsJson(null)); + } + } + set flow(f) { + if (f == null) dart.nullFailed(I[104], 353, 22, "f"); + this[_flow] = f; + } +}; +(developer._SyncBlock.__ = function(name) { + if (name == null) dart.nullFailed(I[104], 335, 21, "name"); + this.category = "Dart"; + this[_arguments$1] = null; + this[_flow] = null; + this.name = name; + ; +}).prototype = developer._SyncBlock.prototype; +dart.addTypeTests(developer._SyncBlock); +dart.addTypeCaches(developer._SyncBlock); +dart.setMethodSignature(developer._SyncBlock, () => ({ + __proto__: dart.getMethods(developer._SyncBlock.__proto__), + [_startSync]: dart.fnType(dart.void, []), + finish: dart.fnType(dart.void, []) +})); +dart.setSetterSignature(developer._SyncBlock, () => ({ + __proto__: dart.getSetters(developer._SyncBlock.__proto__), + flow: developer.Flow +})); +dart.setLibraryUri(developer._SyncBlock, I[100]); +dart.setFieldSignature(developer._SyncBlock, () => ({ + __proto__: dart.getFields(developer._SyncBlock.__proto__), + category: dart.finalFieldType(core.String), + name: dart.finalFieldType(core.String), + [_arguments$1]: dart.fieldType(dart.nullable(core.Map)), + [_flow]: dart.fieldType(dart.nullable(developer.Flow)) +})); +developer.invokeExtension = function _invokeExtension(methodName, encodedJson) { + if (methodName == null) dart.nullFailed(I[99], 77, 25, "methodName"); + if (encodedJson == null) dart.nullFailed(I[99], 77, 44, "encodedJson"); + return new dart.global.Promise((resolve, reject) => { + if (resolve == null) dart.nullFailed(I[99], 80, 25, "resolve"); + if (reject == null) dart.nullFailed(I[99], 80, 51, "reject"); + return async.async(core.Null, function*() { + try { + let method = dart.nullCheck(developer._lookupExtension(methodName)); + let parameters = core.Map.as(convert.json.decode(encodedJson))[$cast](core.String, core.String); + let result = (yield method(methodName, parameters)); + resolve(result[_toString$]()); + } catch (e$) { + let e = dart.getThrown(e$); + if (core.Object.is(e)) { + reject(dart.str(e)); + } else + throw e$; + } + }); + }); +}; +developer.debugger = function $debugger(opts) { + let when = opts && 'when' in opts ? opts.when : true; + if (when == null) dart.nullFailed(I[99], 16, 21, "when"); + let message = opts && 'message' in opts ? opts.message : null; + if (dart.test(when)) { + debugger; + } + return when; +}; +developer.inspect = function inspect(object) { + console.debug("dart.developer.inspect", object); + return object; +}; +developer.log = function log(message, opts) { + if (message == null) dart.nullFailed(I[99], 32, 17, "message"); + let time = opts && 'time' in opts ? opts.time : null; + let sequenceNumber = opts && 'sequenceNumber' in opts ? opts.sequenceNumber : null; + let level = opts && 'level' in opts ? opts.level : 0; + if (level == null) dart.nullFailed(I[99], 35, 9, "level"); + let name = opts && 'name' in opts ? opts.name : ""; + if (name == null) dart.nullFailed(I[99], 36, 12, "name"); + let zone = opts && 'zone' in opts ? opts.zone : null; + let error = opts && 'error' in opts ? opts.error : null; + let stackTrace = opts && 'stackTrace' in opts ? opts.stackTrace : null; + let items = {message: message, name: name, level: level}; + if (time != null) items.time = time; + if (sequenceNumber != null) { + items.sequenceNumber = sequenceNumber; + } + if (zone != null) items.zone = zone; + if (error != null) items.error = error; + if (stackTrace != null) items.stackTrace = stackTrace; + console.debug("dart.developer.log", items); +}; +developer.registerExtension = function registerExtension$(method, handler) { + if (method == null) dart.nullFailed(I[101], 130, 31, "method"); + if (handler == null) dart.nullFailed(I[101], 130, 63, "handler"); + core.ArgumentError.checkNotNull(core.String, method, "method"); + if (!method[$startsWith]("ext.")) { + dart.throw(new core.ArgumentError.value(method, "method", "Must begin with ext.")); + } + if (developer._lookupExtension(method) != null) { + dart.throw(new core.ArgumentError.new("Extension already registered: " + dart.str(method))); + } + core.ArgumentError.checkNotNull(T$0.StringAndMapOfString$StringToFutureOfServiceExtensionResponse(), handler, "handler"); + developer._registerExtension(method, handler); +}; +developer.postEvent = function postEvent(eventKind, eventData) { + if (eventKind == null) dart.nullFailed(I[101], 146, 23, "eventKind"); + if (eventData == null) dart.nullFailed(I[101], 146, 38, "eventData"); + core.ArgumentError.checkNotNull(core.String, eventKind, "eventKind"); + core.ArgumentError.checkNotNull(core.Map, eventData, "eventData"); + let eventDataAsString = convert.json.encode(eventData); + developer._postEvent(eventKind, eventDataAsString); +}; +developer._postEvent = function _postEvent(eventKind, eventData) { + if (eventKind == null) dart.nullFailed(I[99], 94, 24, "eventKind"); + if (eventData == null) dart.nullFailed(I[99], 94, 42, "eventData"); + console.debug("dart.developer.postEvent", eventKind, eventData); +}; +developer._lookupExtension = function _lookupExtension(method) { + if (method == null) dart.nullFailed(I[99], 56, 50, "method"); + return developer._extensions[$_get](method); +}; +developer._registerExtension = function _registerExtension(method, handler) { + if (method == null) dart.nullFailed(I[99], 61, 27, "method"); + if (handler == null) dart.nullFailed(I[99], 61, 59, "handler"); + developer._extensions[$_set](method, handler); + console.debug("dart.developer.registerExtension", method); +}; +developer.getCurrentTag = function getCurrentTag() { + return developer._currentTag; +}; +developer._getServerInfo = function _getServerInfo(sendPort) { + if (sendPort == null) dart.nullFailed(I[99], 145, 30, "sendPort"); + sendPort.send(null); +}; +developer._webServerControl = function _webServerControl(sendPort, enable, silenceOutput) { + if (sendPort == null) dart.nullFailed(I[99], 150, 33, "sendPort"); + if (enable == null) dart.nullFailed(I[99], 150, 48, "enable"); + sendPort.send(null); +}; +developer._getServiceMajorVersion = function _getServiceMajorVersion() { + return 0; +}; +developer._getServiceMinorVersion = function _getServiceMinorVersion() { + return 0; +}; +developer._getIsolateIDFromSendPort = function _getIsolateIDFromSendPort(sendPort) { + if (sendPort == null) dart.nullFailed(I[99], 155, 44, "sendPort"); + return null; +}; +developer._argumentsAsJson = function _argumentsAsJson($arguments) { + if ($arguments == null || $arguments[$length] === 0) { + return "{}"; + } + return convert.json.encode($arguments); +}; +developer._isDartStreamEnabled = function _isDartStreamEnabled() { + return false; +}; +developer._getNextAsyncId = function _getNextAsyncId() { + return 0; +}; +developer._getTraceClock = function _getTraceClock() { + let t180; + t180 = developer._clockValue; + developer._clockValue = dart.notNull(t180) + 1; + return t180; +}; +developer._reportTaskEvent = function _reportTaskEvent(taskId, phase, category, name, argumentsAsJson) { + if (taskId == null) dart.nullFailed(I[99], 129, 27, "taskId"); + if (phase == null) dart.nullFailed(I[99], 129, 42, "phase"); + if (category == null) dart.nullFailed(I[99], 129, 56, "category"); + if (name == null) dart.nullFailed(I[99], 129, 73, "name"); + if (argumentsAsJson == null) dart.nullFailed(I[99], 130, 12, "argumentsAsJson"); +}; +developer._reportFlowEvent = function _reportFlowEvent(category, name, type, id, argumentsAsJson) { + if (category == null) dart.nullFailed(I[99], 114, 12, "category"); + if (name == null) dart.nullFailed(I[99], 114, 29, "name"); + if (type == null) dart.nullFailed(I[99], 114, 39, "type"); + if (id == null) dart.nullFailed(I[99], 114, 49, "id"); + if (argumentsAsJson == null) dart.nullFailed(I[99], 114, 60, "argumentsAsJson"); +}; +developer._reportInstantEvent = function _reportInstantEvent(category, name, argumentsAsJson) { + if (category == null) dart.nullFailed(I[99], 119, 33, "category"); + if (name == null) dart.nullFailed(I[99], 119, 50, "name"); + if (argumentsAsJson == null) dart.nullFailed(I[99], 119, 63, "argumentsAsJson"); +}; +dart.defineLazy(developer, { + /*developer._extensions*/get _extensions() { + return new (T$0.IdentityMapOfString$StringAndMapOfString$StringToFutureOfServiceExtensionResponse()).new(); + }, + /*developer._clockValue*/get _clockValue() { + return 0; + }, + set _clockValue(_) {}, + /*developer._currentTag*/get _currentTag() { + return developer._FakeUserTag._defaultTag; + }, + set _currentTag(_) {}, + /*developer._hasTimeline*/get _hasTimeline() { + return true; + } +}, false); +io.IOException = class IOException extends core.Object { + toString() { + return "IOException"; + } +}; +(io.IOException.new = function() { + ; +}).prototype = io.IOException.prototype; +dart.addTypeTests(io.IOException); +dart.addTypeCaches(io.IOException); +io.IOException[dart.implements] = () => [core.Exception]; +dart.setLibraryUri(io.IOException, I[105]); +dart.defineExtensionMethods(io.IOException, ['toString']); +var message$2 = dart.privateName(io, "OSError.message"); +var errorCode$0 = dart.privateName(io, "OSError.errorCode"); +io.OSError = class OSError extends core.Object { + get message() { + return this[message$2]; + } + set message(value) { + super.message = value; + } + get errorCode() { + return this[errorCode$0]; + } + set errorCode(value) { + super.errorCode = value; + } + toString() { + let t180, t180$, t180$0; + let sb = new core.StringBuffer.new(); + sb.write("OS Error"); + if (this.message[$isNotEmpty]) { + t180 = sb; + (() => { + t180.write(": "); + t180.write(this.message); + return t180; + })(); + if (this.errorCode !== -1) { + t180$ = sb; + (() => { + t180$.write(", errno = "); + t180$.write(dart.toString(this.errorCode)); + return t180$; + })(); + } + } else if (this.errorCode !== -1) { + t180$0 = sb; + (() => { + t180$0.write(": errno = "); + t180$0.write(dart.toString(this.errorCode)); + return t180$0; + })(); + } + return sb.toString(); + } +}; +(io.OSError.new = function(message = "", errorCode = -1) { + if (message == null) dart.nullFailed(I[106], 63, 23, "message"); + if (errorCode == null) dart.nullFailed(I[106], 63, 42, "errorCode"); + this[message$2] = message; + this[errorCode$0] = errorCode; + ; +}).prototype = io.OSError.prototype; +dart.addTypeTests(io.OSError); +dart.addTypeCaches(io.OSError); +io.OSError[dart.implements] = () => [core.Exception]; +dart.setLibraryUri(io.OSError, I[105]); +dart.setFieldSignature(io.OSError, () => ({ + __proto__: dart.getFields(io.OSError.__proto__), + message: dart.finalFieldType(core.String), + errorCode: dart.finalFieldType(core.int) +})); +dart.defineExtensionMethods(io.OSError, ['toString']); +dart.defineLazy(io.OSError, { + /*io.OSError.noErrorCode*/get noErrorCode() { + return -1; + } +}, false); +io._BufferAndStart = class _BufferAndStart extends core.Object {}; +(io._BufferAndStart.new = function(buffer, start) { + if (buffer == null) dart.nullFailed(I[106], 85, 24, "buffer"); + if (start == null) dart.nullFailed(I[106], 85, 37, "start"); + this.buffer = buffer; + this.start = start; + ; +}).prototype = io._BufferAndStart.prototype; +dart.addTypeTests(io._BufferAndStart); +dart.addTypeCaches(io._BufferAndStart); +dart.setLibraryUri(io._BufferAndStart, I[105]); +dart.setFieldSignature(io._BufferAndStart, () => ({ + __proto__: dart.getFields(io._BufferAndStart.__proto__), + buffer: dart.fieldType(core.List$(core.int)), + start: dart.fieldType(core.int) +})); +io._IOCrypto = class _IOCrypto extends core.Object { + static getRandomBytes(count) { + if (count == null) dart.nullFailed(I[107], 225, 39, "count"); + dart.throw(new core.UnsupportedError.new("_IOCrypto.getRandomBytes")); + } +}; +(io._IOCrypto.new = function() { + ; +}).prototype = io._IOCrypto.prototype; +dart.addTypeTests(io._IOCrypto); +dart.addTypeCaches(io._IOCrypto); +dart.setLibraryUri(io._IOCrypto, I[105]); +io.ZLibOption = class ZLibOption extends core.Object {}; +(io.ZLibOption.new = function() { + ; +}).prototype = io.ZLibOption.prototype; +dart.addTypeTests(io.ZLibOption); +dart.addTypeCaches(io.ZLibOption); +dart.setLibraryUri(io.ZLibOption, I[105]); +dart.defineLazy(io.ZLibOption, { + /*io.ZLibOption.minWindowBits*/get minWindowBits() { + return 8; + }, + /*io.ZLibOption.MIN_WINDOW_BITS*/get MIN_WINDOW_BITS() { + return 8; + }, + /*io.ZLibOption.maxWindowBits*/get maxWindowBits() { + return 15; + }, + /*io.ZLibOption.MAX_WINDOW_BITS*/get MAX_WINDOW_BITS() { + return 15; + }, + /*io.ZLibOption.defaultWindowBits*/get defaultWindowBits() { + return 15; + }, + /*io.ZLibOption.DEFAULT_WINDOW_BITS*/get DEFAULT_WINDOW_BITS() { + return 15; + }, + /*io.ZLibOption.minLevel*/get minLevel() { + return -1; + }, + /*io.ZLibOption.MIN_LEVEL*/get MIN_LEVEL() { + return -1; + }, + /*io.ZLibOption.maxLevel*/get maxLevel() { + return 9; + }, + /*io.ZLibOption.MAX_LEVEL*/get MAX_LEVEL() { + return 9; + }, + /*io.ZLibOption.defaultLevel*/get defaultLevel() { + return 6; + }, + /*io.ZLibOption.DEFAULT_LEVEL*/get DEFAULT_LEVEL() { + return 6; + }, + /*io.ZLibOption.minMemLevel*/get minMemLevel() { + return 1; + }, + /*io.ZLibOption.MIN_MEM_LEVEL*/get MIN_MEM_LEVEL() { + return 1; + }, + /*io.ZLibOption.maxMemLevel*/get maxMemLevel() { + return 9; + }, + /*io.ZLibOption.MAX_MEM_LEVEL*/get MAX_MEM_LEVEL() { + return 9; + }, + /*io.ZLibOption.defaultMemLevel*/get defaultMemLevel() { + return 8; + }, + /*io.ZLibOption.DEFAULT_MEM_LEVEL*/get DEFAULT_MEM_LEVEL() { + return 8; + }, + /*io.ZLibOption.strategyFiltered*/get strategyFiltered() { + return 1; + }, + /*io.ZLibOption.STRATEGY_FILTERED*/get STRATEGY_FILTERED() { + return 1; + }, + /*io.ZLibOption.strategyHuffmanOnly*/get strategyHuffmanOnly() { + return 2; + }, + /*io.ZLibOption.STRATEGY_HUFFMAN_ONLY*/get STRATEGY_HUFFMAN_ONLY() { + return 2; + }, + /*io.ZLibOption.strategyRle*/get strategyRle() { + return 3; + }, + /*io.ZLibOption.STRATEGY_RLE*/get STRATEGY_RLE() { + return 3; + }, + /*io.ZLibOption.strategyFixed*/get strategyFixed() { + return 4; + }, + /*io.ZLibOption.STRATEGY_FIXED*/get STRATEGY_FIXED() { + return 4; + }, + /*io.ZLibOption.strategyDefault*/get strategyDefault() { + return 0; + }, + /*io.ZLibOption.STRATEGY_DEFAULT*/get STRATEGY_DEFAULT() { + return 0; + } +}, false); +var gzip$ = dart.privateName(io, "ZLibCodec.gzip"); +var level$ = dart.privateName(io, "ZLibCodec.level"); +var memLevel$ = dart.privateName(io, "ZLibCodec.memLevel"); +var strategy$ = dart.privateName(io, "ZLibCodec.strategy"); +var windowBits$ = dart.privateName(io, "ZLibCodec.windowBits"); +var raw$ = dart.privateName(io, "ZLibCodec.raw"); +var dictionary$ = dart.privateName(io, "ZLibCodec.dictionary"); +io.ZLibCodec = class ZLibCodec extends convert.Codec$(core.List$(core.int), core.List$(core.int)) { + get gzip() { + return this[gzip$]; + } + set gzip(value) { + super.gzip = value; + } + get level() { + return this[level$]; + } + set level(value) { + super.level = value; + } + get memLevel() { + return this[memLevel$]; + } + set memLevel(value) { + super.memLevel = value; + } + get strategy() { + return this[strategy$]; + } + set strategy(value) { + super.strategy = value; + } + get windowBits() { + return this[windowBits$]; + } + set windowBits(value) { + super.windowBits = value; + } + get raw() { + return this[raw$]; + } + set raw(value) { + super.raw = value; + } + get dictionary() { + return this[dictionary$]; + } + set dictionary(value) { + super.dictionary = value; + } + get encoder() { + return new io.ZLibEncoder.new({gzip: false, level: this.level, windowBits: this.windowBits, memLevel: this.memLevel, strategy: this.strategy, dictionary: this.dictionary, raw: this.raw}); + } + get decoder() { + return new io.ZLibDecoder.new({windowBits: this.windowBits, dictionary: this.dictionary, raw: this.raw}); + } +}; +(io.ZLibCodec.new = function(opts) { + let level = opts && 'level' in opts ? opts.level : 6; + if (level == null) dart.nullFailed(I[108], 140, 13, "level"); + let windowBits = opts && 'windowBits' in opts ? opts.windowBits : 15; + if (windowBits == null) dart.nullFailed(I[108], 141, 12, "windowBits"); + let memLevel = opts && 'memLevel' in opts ? opts.memLevel : 8; + if (memLevel == null) dart.nullFailed(I[108], 142, 12, "memLevel"); + let strategy = opts && 'strategy' in opts ? opts.strategy : 0; + if (strategy == null) dart.nullFailed(I[108], 143, 12, "strategy"); + let dictionary = opts && 'dictionary' in opts ? opts.dictionary : null; + let raw = opts && 'raw' in opts ? opts.raw : false; + if (raw == null) dart.nullFailed(I[108], 145, 12, "raw"); + let gzip = opts && 'gzip' in opts ? opts.gzip : false; + if (gzip == null) dart.nullFailed(I[108], 146, 12, "gzip"); + this[level$] = level; + this[windowBits$] = windowBits; + this[memLevel$] = memLevel; + this[strategy$] = strategy; + this[dictionary$] = dictionary; + this[raw$] = raw; + this[gzip$] = gzip; + io.ZLibCodec.__proto__.new.call(this); + io._validateZLibeLevel(this.level); + io._validateZLibMemLevel(this.memLevel); + io._validateZLibStrategy(this.strategy); + io._validateZLibWindowBits(this.windowBits); +}).prototype = io.ZLibCodec.prototype; +(io.ZLibCodec._default = function() { + this[level$] = 6; + this[windowBits$] = 15; + this[memLevel$] = 8; + this[strategy$] = 0; + this[raw$] = false; + this[gzip$] = false; + this[dictionary$] = null; + io.ZLibCodec.__proto__.new.call(this); + ; +}).prototype = io.ZLibCodec.prototype; +dart.addTypeTests(io.ZLibCodec); +dart.addTypeCaches(io.ZLibCodec); +dart.setGetterSignature(io.ZLibCodec, () => ({ + __proto__: dart.getGetters(io.ZLibCodec.__proto__), + encoder: io.ZLibEncoder, + decoder: io.ZLibDecoder +})); +dart.setLibraryUri(io.ZLibCodec, I[105]); +dart.setFieldSignature(io.ZLibCodec, () => ({ + __proto__: dart.getFields(io.ZLibCodec.__proto__), + gzip: dart.finalFieldType(core.bool), + level: dart.finalFieldType(core.int), + memLevel: dart.finalFieldType(core.int), + strategy: dart.finalFieldType(core.int), + windowBits: dart.finalFieldType(core.int), + raw: dart.finalFieldType(core.bool), + dictionary: dart.finalFieldType(dart.nullable(core.List$(core.int))) +})); +var gzip$0 = dart.privateName(io, "GZipCodec.gzip"); +var level$0 = dart.privateName(io, "GZipCodec.level"); +var memLevel$0 = dart.privateName(io, "GZipCodec.memLevel"); +var strategy$0 = dart.privateName(io, "GZipCodec.strategy"); +var windowBits$0 = dart.privateName(io, "GZipCodec.windowBits"); +var dictionary$0 = dart.privateName(io, "GZipCodec.dictionary"); +var raw$0 = dart.privateName(io, "GZipCodec.raw"); +io.GZipCodec = class GZipCodec extends convert.Codec$(core.List$(core.int), core.List$(core.int)) { + get gzip() { + return this[gzip$0]; + } + set gzip(value) { + super.gzip = value; + } + get level() { + return this[level$0]; + } + set level(value) { + super.level = value; + } + get memLevel() { + return this[memLevel$0]; + } + set memLevel(value) { + super.memLevel = value; + } + get strategy() { + return this[strategy$0]; + } + set strategy(value) { + super.strategy = value; + } + get windowBits() { + return this[windowBits$0]; + } + set windowBits(value) { + super.windowBits = value; + } + get dictionary() { + return this[dictionary$0]; + } + set dictionary(value) { + super.dictionary = value; + } + get raw() { + return this[raw$0]; + } + set raw(value) { + super.raw = value; + } + get encoder() { + return new io.ZLibEncoder.new({gzip: true, level: this.level, windowBits: this.windowBits, memLevel: this.memLevel, strategy: this.strategy, dictionary: this.dictionary, raw: this.raw}); + } + get decoder() { + return new io.ZLibDecoder.new({windowBits: this.windowBits, dictionary: this.dictionary, raw: this.raw}); + } +}; +(io.GZipCodec.new = function(opts) { + let level = opts && 'level' in opts ? opts.level : 6; + if (level == null) dart.nullFailed(I[108], 236, 13, "level"); + let windowBits = opts && 'windowBits' in opts ? opts.windowBits : 15; + if (windowBits == null) dart.nullFailed(I[108], 237, 12, "windowBits"); + let memLevel = opts && 'memLevel' in opts ? opts.memLevel : 8; + if (memLevel == null) dart.nullFailed(I[108], 238, 12, "memLevel"); + let strategy = opts && 'strategy' in opts ? opts.strategy : 0; + if (strategy == null) dart.nullFailed(I[108], 239, 12, "strategy"); + let dictionary = opts && 'dictionary' in opts ? opts.dictionary : null; + let raw = opts && 'raw' in opts ? opts.raw : false; + if (raw == null) dart.nullFailed(I[108], 241, 12, "raw"); + let gzip = opts && 'gzip' in opts ? opts.gzip : true; + if (gzip == null) dart.nullFailed(I[108], 242, 12, "gzip"); + this[level$0] = level; + this[windowBits$0] = windowBits; + this[memLevel$0] = memLevel; + this[strategy$0] = strategy; + this[dictionary$0] = dictionary; + this[raw$0] = raw; + this[gzip$0] = gzip; + io.GZipCodec.__proto__.new.call(this); + io._validateZLibeLevel(this.level); + io._validateZLibMemLevel(this.memLevel); + io._validateZLibStrategy(this.strategy); + io._validateZLibWindowBits(this.windowBits); +}).prototype = io.GZipCodec.prototype; +(io.GZipCodec._default = function() { + this[level$0] = 6; + this[windowBits$0] = 15; + this[memLevel$0] = 8; + this[strategy$0] = 0; + this[raw$0] = false; + this[gzip$0] = true; + this[dictionary$0] = null; + io.GZipCodec.__proto__.new.call(this); + ; +}).prototype = io.GZipCodec.prototype; +dart.addTypeTests(io.GZipCodec); +dart.addTypeCaches(io.GZipCodec); +dart.setGetterSignature(io.GZipCodec, () => ({ + __proto__: dart.getGetters(io.GZipCodec.__proto__), + encoder: io.ZLibEncoder, + decoder: io.ZLibDecoder +})); +dart.setLibraryUri(io.GZipCodec, I[105]); +dart.setFieldSignature(io.GZipCodec, () => ({ + __proto__: dart.getFields(io.GZipCodec.__proto__), + gzip: dart.finalFieldType(core.bool), + level: dart.finalFieldType(core.int), + memLevel: dart.finalFieldType(core.int), + strategy: dart.finalFieldType(core.int), + windowBits: dart.finalFieldType(core.int), + dictionary: dart.finalFieldType(dart.nullable(core.List$(core.int))), + raw: dart.finalFieldType(core.bool) +})); +var gzip$1 = dart.privateName(io, "ZLibEncoder.gzip"); +var level$1 = dart.privateName(io, "ZLibEncoder.level"); +var memLevel$1 = dart.privateName(io, "ZLibEncoder.memLevel"); +var strategy$1 = dart.privateName(io, "ZLibEncoder.strategy"); +var windowBits$1 = dart.privateName(io, "ZLibEncoder.windowBits"); +var dictionary$1 = dart.privateName(io, "ZLibEncoder.dictionary"); +var raw$1 = dart.privateName(io, "ZLibEncoder.raw"); +io.ZLibEncoder = class ZLibEncoder extends convert.Converter$(core.List$(core.int), core.List$(core.int)) { + get gzip() { + return this[gzip$1]; + } + set gzip(value) { + super.gzip = value; + } + get level() { + return this[level$1]; + } + set level(value) { + super.level = value; + } + get memLevel() { + return this[memLevel$1]; + } + set memLevel(value) { + super.memLevel = value; + } + get strategy() { + return this[strategy$1]; + } + set strategy(value) { + super.strategy = value; + } + get windowBits() { + return this[windowBits$1]; + } + set windowBits(value) { + super.windowBits = value; + } + get dictionary() { + return this[dictionary$1]; + } + set dictionary(value) { + super.dictionary = value; + } + get raw() { + return this[raw$1]; + } + set raw(value) { + super.raw = value; + } + convert(bytes) { + let t180; + T$0.ListOfint().as(bytes); + if (bytes == null) dart.nullFailed(I[108], 339, 31, "bytes"); + let sink = new io._BufferSink.new(); + t180 = this.startChunkedConversion(sink); + (() => { + t180.add(bytes); + t180.close(); + return t180; + })(); + return sink.builder.takeBytes(); + } + startChunkedConversion(sink) { + T$0.SinkOfListOfint().as(sink); + if (sink == null) dart.nullFailed(I[108], 353, 61, "sink"); + if (!convert.ByteConversionSink.is(sink)) { + sink = new convert._ByteAdapterSink.new(sink); + } + return new io._ZLibEncoderSink.__(sink, this.gzip, this.level, this.windowBits, this.memLevel, this.strategy, this.dictionary, this.raw); + } +}; +(io.ZLibEncoder.new = function(opts) { + let gzip = opts && 'gzip' in opts ? opts.gzip : false; + if (gzip == null) dart.nullFailed(I[108], 324, 13, "gzip"); + let level = opts && 'level' in opts ? opts.level : 6; + if (level == null) dart.nullFailed(I[108], 325, 12, "level"); + let windowBits = opts && 'windowBits' in opts ? opts.windowBits : 15; + if (windowBits == null) dart.nullFailed(I[108], 326, 12, "windowBits"); + let memLevel = opts && 'memLevel' in opts ? opts.memLevel : 8; + if (memLevel == null) dart.nullFailed(I[108], 327, 12, "memLevel"); + let strategy = opts && 'strategy' in opts ? opts.strategy : 0; + if (strategy == null) dart.nullFailed(I[108], 328, 12, "strategy"); + let dictionary = opts && 'dictionary' in opts ? opts.dictionary : null; + let raw = opts && 'raw' in opts ? opts.raw : false; + if (raw == null) dart.nullFailed(I[108], 330, 12, "raw"); + this[gzip$1] = gzip; + this[level$1] = level; + this[windowBits$1] = windowBits; + this[memLevel$1] = memLevel; + this[strategy$1] = strategy; + this[dictionary$1] = dictionary; + this[raw$1] = raw; + io.ZLibEncoder.__proto__.new.call(this); + io._validateZLibeLevel(this.level); + io._validateZLibMemLevel(this.memLevel); + io._validateZLibStrategy(this.strategy); + io._validateZLibWindowBits(this.windowBits); +}).prototype = io.ZLibEncoder.prototype; +dart.addTypeTests(io.ZLibEncoder); +dart.addTypeCaches(io.ZLibEncoder); +dart.setMethodSignature(io.ZLibEncoder, () => ({ + __proto__: dart.getMethods(io.ZLibEncoder.__proto__), + convert: dart.fnType(core.List$(core.int), [dart.nullable(core.Object)]), + startChunkedConversion: dart.fnType(convert.ByteConversionSink, [dart.nullable(core.Object)]) +})); +dart.setLibraryUri(io.ZLibEncoder, I[105]); +dart.setFieldSignature(io.ZLibEncoder, () => ({ + __proto__: dart.getFields(io.ZLibEncoder.__proto__), + gzip: dart.finalFieldType(core.bool), + level: dart.finalFieldType(core.int), + memLevel: dart.finalFieldType(core.int), + strategy: dart.finalFieldType(core.int), + windowBits: dart.finalFieldType(core.int), + dictionary: dart.finalFieldType(dart.nullable(core.List$(core.int))), + raw: dart.finalFieldType(core.bool) +})); +var windowBits$2 = dart.privateName(io, "ZLibDecoder.windowBits"); +var dictionary$2 = dart.privateName(io, "ZLibDecoder.dictionary"); +var raw$2 = dart.privateName(io, "ZLibDecoder.raw"); +io.ZLibDecoder = class ZLibDecoder extends convert.Converter$(core.List$(core.int), core.List$(core.int)) { + get windowBits() { + return this[windowBits$2]; + } + set windowBits(value) { + super.windowBits = value; + } + get dictionary() { + return this[dictionary$2]; + } + set dictionary(value) { + super.dictionary = value; + } + get raw() { + return this[raw$2]; + } + set raw(value) { + super.raw = value; + } + convert(bytes) { + let t180; + T$0.ListOfint().as(bytes); + if (bytes == null) dart.nullFailed(I[108], 392, 31, "bytes"); + let sink = new io._BufferSink.new(); + t180 = this.startChunkedConversion(sink); + (() => { + t180.add(bytes); + t180.close(); + return t180; + })(); + return sink.builder.takeBytes(); + } + startChunkedConversion(sink) { + T$0.SinkOfListOfint().as(sink); + if (sink == null) dart.nullFailed(I[108], 405, 61, "sink"); + if (!convert.ByteConversionSink.is(sink)) { + sink = new convert._ByteAdapterSink.new(sink); + } + return new io._ZLibDecoderSink.__(sink, this.windowBits, this.dictionary, this.raw); + } +}; +(io.ZLibDecoder.new = function(opts) { + let windowBits = opts && 'windowBits' in opts ? opts.windowBits : 15; + if (windowBits == null) dart.nullFailed(I[108], 384, 13, "windowBits"); + let dictionary = opts && 'dictionary' in opts ? opts.dictionary : null; + let raw = opts && 'raw' in opts ? opts.raw : false; + if (raw == null) dart.nullFailed(I[108], 386, 12, "raw"); + this[windowBits$2] = windowBits; + this[dictionary$2] = dictionary; + this[raw$2] = raw; + io.ZLibDecoder.__proto__.new.call(this); + io._validateZLibWindowBits(this.windowBits); +}).prototype = io.ZLibDecoder.prototype; +dart.addTypeTests(io.ZLibDecoder); +dart.addTypeCaches(io.ZLibDecoder); +dart.setMethodSignature(io.ZLibDecoder, () => ({ + __proto__: dart.getMethods(io.ZLibDecoder.__proto__), + convert: dart.fnType(core.List$(core.int), [dart.nullable(core.Object)]), + startChunkedConversion: dart.fnType(convert.ByteConversionSink, [dart.nullable(core.Object)]) +})); +dart.setLibraryUri(io.ZLibDecoder, I[105]); +dart.setFieldSignature(io.ZLibDecoder, () => ({ + __proto__: dart.getFields(io.ZLibDecoder.__proto__), + windowBits: dart.finalFieldType(core.int), + dictionary: dart.finalFieldType(dart.nullable(core.List$(core.int))), + raw: dart.finalFieldType(core.bool) +})); +io.RawZLibFilter = class RawZLibFilter extends core.Object { + static deflateFilter(opts) { + let gzip = opts && 'gzip' in opts ? opts.gzip : false; + if (gzip == null) dart.nullFailed(I[108], 418, 10, "gzip"); + let level = opts && 'level' in opts ? opts.level : 6; + if (level == null) dart.nullFailed(I[108], 419, 9, "level"); + let windowBits = opts && 'windowBits' in opts ? opts.windowBits : 15; + if (windowBits == null) dart.nullFailed(I[108], 420, 9, "windowBits"); + let memLevel = opts && 'memLevel' in opts ? opts.memLevel : 8; + if (memLevel == null) dart.nullFailed(I[108], 421, 9, "memLevel"); + let strategy = opts && 'strategy' in opts ? opts.strategy : 0; + if (strategy == null) dart.nullFailed(I[108], 422, 9, "strategy"); + let dictionary = opts && 'dictionary' in opts ? opts.dictionary : null; + let raw = opts && 'raw' in opts ? opts.raw : false; + if (raw == null) dart.nullFailed(I[108], 424, 10, "raw"); + return io.RawZLibFilter._makeZLibDeflateFilter(gzip, level, windowBits, memLevel, strategy, dictionary, raw); + } + static inflateFilter(opts) { + let windowBits = opts && 'windowBits' in opts ? opts.windowBits : 15; + if (windowBits == null) dart.nullFailed(I[108], 433, 9, "windowBits"); + let dictionary = opts && 'dictionary' in opts ? opts.dictionary : null; + let raw = opts && 'raw' in opts ? opts.raw : false; + if (raw == null) dart.nullFailed(I[108], 435, 10, "raw"); + return io.RawZLibFilter._makeZLibInflateFilter(windowBits, dictionary, raw); + } + static _makeZLibDeflateFilter(gzip, level, windowBits, memLevel, strategy, dictionary, raw) { + if (gzip == null) dart.nullFailed(I[107], 614, 12, "gzip"); + if (level == null) dart.nullFailed(I[107], 615, 11, "level"); + if (windowBits == null) dart.nullFailed(I[107], 616, 11, "windowBits"); + if (memLevel == null) dart.nullFailed(I[107], 617, 11, "memLevel"); + if (strategy == null) dart.nullFailed(I[107], 618, 11, "strategy"); + if (raw == null) dart.nullFailed(I[107], 620, 12, "raw"); + dart.throw(new core.UnsupportedError.new("_newZLibDeflateFilter")); + } + static _makeZLibInflateFilter(windowBits, dictionary, raw) { + if (windowBits == null) dart.nullFailed(I[107], 626, 11, "windowBits"); + if (raw == null) dart.nullFailed(I[107], 626, 51, "raw"); + dart.throw(new core.UnsupportedError.new("_newZLibInflateFilter")); + } +}; +(io.RawZLibFilter[dart.mixinNew] = function() { +}).prototype = io.RawZLibFilter.prototype; +dart.addTypeTests(io.RawZLibFilter); +dart.addTypeCaches(io.RawZLibFilter); +dart.setLibraryUri(io.RawZLibFilter, I[105]); +io._BufferSink = class _BufferSink extends convert.ByteConversionSink { + add(chunk) { + T$0.ListOfint().as(chunk); + if (chunk == null) dart.nullFailed(I[108], 472, 22, "chunk"); + this.builder.add(chunk); + } + addSlice(chunk, start, end, isLast) { + if (chunk == null) dart.nullFailed(I[108], 476, 27, "chunk"); + if (start == null) dart.nullFailed(I[108], 476, 38, "start"); + if (end == null) dart.nullFailed(I[108], 476, 49, "end"); + if (isLast == null) dart.nullFailed(I[108], 476, 59, "isLast"); + if (typed_data.Uint8List.is(chunk)) { + let list = chunk; + this.builder.add(typed_data.Uint8List.view(list[$buffer], dart.notNull(list[$offsetInBytes]) + dart.notNull(start), dart.notNull(end) - dart.notNull(start))); + } else { + this.builder.add(chunk[$sublist](start, end)); + } + } + close() { + } +}; +(io._BufferSink.new = function() { + this.builder = _internal.BytesBuilder.new({copy: false}); + io._BufferSink.__proto__.new.call(this); + ; +}).prototype = io._BufferSink.prototype; +dart.addTypeTests(io._BufferSink); +dart.addTypeCaches(io._BufferSink); +dart.setMethodSignature(io._BufferSink, () => ({ + __proto__: dart.getMethods(io._BufferSink.__proto__), + add: dart.fnType(dart.void, [dart.nullable(core.Object)]), + addSlice: dart.fnType(dart.void, [core.List$(core.int), core.int, core.int, core.bool]), + close: dart.fnType(dart.void, []) +})); +dart.setLibraryUri(io._BufferSink, I[105]); +dart.setFieldSignature(io._BufferSink, () => ({ + __proto__: dart.getFields(io._BufferSink.__proto__), + builder: dart.finalFieldType(_internal.BytesBuilder) +})); +var _closed = dart.privateName(io, "_closed"); +var _empty = dart.privateName(io, "_empty"); +var _sink$1 = dart.privateName(io, "_sink"); +var _filter$ = dart.privateName(io, "_filter"); +io._FilterSink = class _FilterSink extends convert.ByteConversionSink { + add(data) { + T$0.ListOfint().as(data); + if (data == null) dart.nullFailed(I[108], 520, 22, "data"); + this.addSlice(data, 0, data[$length], false); + } + addSlice(data, start, end, isLast) { + if (data == null) dart.nullFailed(I[108], 524, 27, "data"); + if (start == null) dart.nullFailed(I[108], 524, 37, "start"); + if (end == null) dart.nullFailed(I[108], 524, 48, "end"); + if (isLast == null) dart.nullFailed(I[108], 524, 58, "isLast"); + core.ArgumentError.checkNotNull(core.int, end, "end"); + if (dart.test(this[_closed])) return; + core.RangeError.checkValidRange(start, end, data[$length]); + try { + this[_empty] = false; + let bufferAndStart = io._ensureFastAndSerializableByteData(data, start, end); + this[_filter$].process(bufferAndStart.buffer, bufferAndStart.start, dart.notNull(end) - (dart.notNull(start) - dart.notNull(bufferAndStart.start))); + let out = null; + while (true) { + let out = this[_filter$].processed({flush: false}); + if (out == null) break; + this[_sink$1].add(out); + } + } catch (e$) { + let e = dart.getThrown(e$); + if (core.Object.is(e)) { + this[_closed] = true; + dart.rethrow(e$); + } else + throw e$; + } + if (dart.test(isLast)) this.close(); + } + close() { + if (dart.test(this[_closed])) return; + if (dart.test(this[_empty])) this[_filter$].process(C[87] || CT.C87, 0, 0); + try { + while (true) { + let out = this[_filter$].processed({end: true}); + if (out == null) break; + this[_sink$1].add(out); + } + } catch (e$) { + let e = dart.getThrown(e$); + if (core.Object.is(e)) { + this[_closed] = true; + dart.throw(e); + } else + throw e$; + } + this[_closed] = true; + this[_sink$1].close(); + } +}; +(io._FilterSink.new = function(_sink, _filter) { + if (_sink == null) dart.nullFailed(I[108], 518, 20, "_sink"); + if (_filter == null) dart.nullFailed(I[108], 518, 32, "_filter"); + this[_closed] = false; + this[_empty] = true; + this[_sink$1] = _sink; + this[_filter$] = _filter; + io._FilterSink.__proto__.new.call(this); + ; +}).prototype = io._FilterSink.prototype; +dart.addTypeTests(io._FilterSink); +dart.addTypeCaches(io._FilterSink); +dart.setMethodSignature(io._FilterSink, () => ({ + __proto__: dart.getMethods(io._FilterSink.__proto__), + add: dart.fnType(dart.void, [dart.nullable(core.Object)]), + addSlice: dart.fnType(dart.void, [core.List$(core.int), core.int, core.int, core.bool]), + close: dart.fnType(dart.void, []) +})); +dart.setLibraryUri(io._FilterSink, I[105]); +dart.setFieldSignature(io._FilterSink, () => ({ + __proto__: dart.getFields(io._FilterSink.__proto__), + [_filter$]: dart.finalFieldType(io.RawZLibFilter), + [_sink$1]: dart.finalFieldType(convert.ByteConversionSink), + [_closed]: dart.fieldType(core.bool), + [_empty]: dart.fieldType(core.bool) +})); +io._ZLibEncoderSink = class _ZLibEncoderSink extends io._FilterSink {}; +(io._ZLibEncoderSink.__ = function(sink, gzip, level, windowBits, memLevel, strategy, dictionary, raw) { + if (sink == null) dart.nullFailed(I[108], 491, 26, "sink"); + if (gzip == null) dart.nullFailed(I[108], 492, 12, "gzip"); + if (level == null) dart.nullFailed(I[108], 493, 11, "level"); + if (windowBits == null) dart.nullFailed(I[108], 494, 11, "windowBits"); + if (memLevel == null) dart.nullFailed(I[108], 495, 11, "memLevel"); + if (strategy == null) dart.nullFailed(I[108], 496, 11, "strategy"); + if (raw == null) dart.nullFailed(I[108], 498, 12, "raw"); + io._ZLibEncoderSink.__proto__.new.call(this, sink, io.RawZLibFilter._makeZLibDeflateFilter(gzip, level, windowBits, memLevel, strategy, dictionary, raw)); + ; +}).prototype = io._ZLibEncoderSink.prototype; +dart.addTypeTests(io._ZLibEncoderSink); +dart.addTypeCaches(io._ZLibEncoderSink); +dart.setLibraryUri(io._ZLibEncoderSink, I[105]); +io._ZLibDecoderSink = class _ZLibDecoderSink extends io._FilterSink {}; +(io._ZLibDecoderSink.__ = function(sink, windowBits, dictionary, raw) { + if (sink == null) dart.nullFailed(I[108], 507, 26, "sink"); + if (windowBits == null) dart.nullFailed(I[108], 507, 36, "windowBits"); + if (raw == null) dart.nullFailed(I[108], 507, 76, "raw"); + io._ZLibDecoderSink.__proto__.new.call(this, sink, io.RawZLibFilter._makeZLibInflateFilter(windowBits, dictionary, raw)); + ; +}).prototype = io._ZLibDecoderSink.prototype; +dart.addTypeTests(io._ZLibDecoderSink); +dart.addTypeCaches(io._ZLibDecoderSink); +dart.setLibraryUri(io._ZLibDecoderSink, I[105]); +io.Directory = class Directory extends core.Object { + static new(path) { + if (path == null) dart.nullFailed(I[109], 112, 28, "path"); + let overrides = io.IOOverrides.current; + if (overrides == null) { + return new io._Directory.new(path); + } + return overrides.createDirectory(path); + } + static fromRawPath(path) { + if (path == null) dart.nullFailed(I[109], 121, 43, "path"); + return new io._Directory.fromRawPath(path); + } + static fromUri(uri) { + if (uri == null) dart.nullFailed(I[109], 129, 33, "uri"); + return io.Directory.new(uri.toFilePath()); + } + static get current() { + let overrides = io.IOOverrides.current; + if (overrides == null) { + return io._Directory.current; + } + return overrides.getCurrentDirectory(); + } + static set current(path) { + let overrides = io.IOOverrides.current; + if (overrides == null) { + io._Directory.current = path; + return; + } + overrides.setCurrentDirectory(core.String.as(path)); + } + static get systemTemp() { + let overrides = io.IOOverrides.current; + if (overrides == null) { + return io._Directory.systemTemp; + } + return overrides.getSystemTempDirectory(); + } +}; +(io.Directory[dart.mixinNew] = function() { +}).prototype = io.Directory.prototype; +dart.addTypeTests(io.Directory); +dart.addTypeCaches(io.Directory); +io.Directory[dart.implements] = () => [io.FileSystemEntity]; +dart.setLibraryUri(io.Directory, I[105]); +var _path$ = dart.privateName(io, "_Directory._path"); +var _rawPath = dart.privateName(io, "_Directory._rawPath"); +var _path$0 = dart.privateName(io, "_path"); +var _rawPath$ = dart.privateName(io, "_rawPath"); +var _isErrorResponse = dart.privateName(io, "_isErrorResponse"); +var _exceptionOrErrorFromResponse = dart.privateName(io, "_exceptionOrErrorFromResponse"); +var _absolutePath = dart.privateName(io, "_absolutePath"); +var _delete = dart.privateName(io, "_delete"); +var _deleteSync = dart.privateName(io, "_deleteSync"); +io.FileSystemEntity = class FileSystemEntity extends core.Object { + get uri() { + return core._Uri.file(this.path); + } + resolveSymbolicLinks() { + return io._File._dispatchWithNamespace(6, [null, this[_rawPath$]]).then(core.String, dart.fn(response => { + if (dart.test(io._isErrorResponse(response))) { + dart.throw(io._exceptionFromResponse(response, "Cannot resolve symbolic links", this.path)); + } + return T$0.FutureOrOfString().as(response); + }, T$0.dynamicToFutureOrOfString())); + } + resolveSymbolicLinksSync() { + let result = io.FileSystemEntity._resolveSymbolicLinks(io._Namespace._namespace, this[_rawPath$]); + io.FileSystemEntity._throwIfError(core.Object.as(result), "Cannot resolve symbolic links", this.path); + return core.String.as(result); + } + stat() { + return io.FileStat.stat(this.path); + } + statSync() { + return io.FileStat.statSync(this.path); + } + delete(opts) { + let recursive = opts && 'recursive' in opts ? opts.recursive : false; + if (recursive == null) dart.nullFailed(I[111], 390, 41, "recursive"); + return this[_delete]({recursive: recursive}); + } + deleteSync(opts) { + let recursive = opts && 'recursive' in opts ? opts.recursive : false; + if (recursive == null) dart.nullFailed(I[111], 407, 25, "recursive"); + return this[_deleteSync]({recursive: recursive}); + } + watch(opts) { + let events = opts && 'events' in opts ? opts.events : 15; + if (events == null) dart.nullFailed(I[111], 442, 12, "events"); + let recursive = opts && 'recursive' in opts ? opts.recursive : false; + if (recursive == null) dart.nullFailed(I[111], 442, 47, "recursive"); + let trimmedPath = io.FileSystemEntity._trimTrailingPathSeparators(this.path); + let overrides = io.IOOverrides.current; + if (overrides == null) { + return io._FileSystemWatcher._watch(trimmedPath, events, recursive); + } + return overrides.fsWatch(trimmedPath, events, recursive); + } + static _identical(path1, path2) { + if (path1 == null) dart.nullFailed(I[111], 455, 41, "path1"); + if (path2 == null) dart.nullFailed(I[111], 455, 55, "path2"); + return io._File._dispatchWithNamespace(28, [null, path1, path2]).then(core.bool, dart.fn(response => { + if (dart.test(io._isErrorResponse(response))) { + dart.throw(io._exceptionFromResponse(response, "Error in FileSystemEntity.identical(" + dart.str(path1) + ", " + dart.str(path2) + ")", "")); + } + return T$.FutureOrOfbool().as(response); + }, T$0.dynamicToFutureOrOfbool())); + } + static identical(path1, path2) { + if (path1 == null) dart.nullFailed(I[111], 478, 40, "path1"); + if (path2 == null) dart.nullFailed(I[111], 478, 54, "path2"); + let overrides = io.IOOverrides.current; + if (overrides == null) { + return io.FileSystemEntity._identical(path1, path2); + } + return overrides.fseIdentical(path1, path2); + } + get isAbsolute() { + return io.FileSystemEntity._isAbsolute(this.path); + } + static _isAbsolute(path) { + if (path == null) dart.nullFailed(I[111], 509, 34, "path"); + if (dart.test(io.Platform.isWindows)) { + return path[$startsWith](io.FileSystemEntity._absoluteWindowsPathPattern); + } else { + return path[$startsWith]("/"); + } + } + get [_absolutePath]() { + if (dart.test(this.isAbsolute)) return this.path; + if (dart.test(io.Platform.isWindows)) return io.FileSystemEntity._absoluteWindowsPath(this.path); + let current = io.Directory.current.path; + if (current[$endsWith]("/")) { + return dart.str(current) + dart.str(this.path); + } else { + return dart.str(current) + dart.str(io.Platform.pathSeparator) + dart.str(this.path); + } + } + static _windowsDriveLetter(path) { + if (path == null) dart.nullFailed(I[111], 544, 41, "path"); + if (path[$isEmpty] || !path[$startsWith](":", 1)) return -1; + let first = (path[$codeUnitAt](0) & ~32 >>> 0) >>> 0; + if (first >= 65 && first <= 91) return first; + return -1; + } + static _absoluteWindowsPath(path) { + if (path == null) dart.nullFailed(I[111], 552, 45, "path"); + if (!dart.test(io.Platform.isWindows)) dart.assertFailed(null, I[111], 553, 12, "Platform.isWindows"); + if (!!dart.test(io.FileSystemEntity._isAbsolute(path))) dart.assertFailed(null, I[111], 554, 12, "!_isAbsolute(path)"); + let current = io.Directory.current.path; + if (path[$startsWith]("\\")) { + if (!!path[$startsWith]("\\", 1)) dart.assertFailed(null, I[111], 559, 14, "!path.startsWith(r'\\', 1)"); + let currentDrive = io.FileSystemEntity._windowsDriveLetter(current); + if (dart.notNull(currentDrive) >= 0) { + return current[$_get](0) + ":" + dart.str(path); + } + if (current[$startsWith]("\\\\")) { + let serverEnd = current[$indexOf]("\\", 2); + if (serverEnd >= 0) { + let shareEnd = current[$indexOf]("\\", serverEnd + 1); + if (shareEnd < 0) shareEnd = current.length; + return current[$substring](0, shareEnd) + dart.str(path); + } + } + return path; + } + let entityDrive = io.FileSystemEntity._windowsDriveLetter(path); + if (dart.notNull(entityDrive) >= 0) { + if (entityDrive != io.FileSystemEntity._windowsDriveLetter(current)) { + return path[$_get](0) + ":\\" + dart.str(path); + } + path = path[$substring](2); + if (!!path[$startsWith]("\\\\")) dart.assertFailed(null, I[111], 596, 14, "!path.startsWith(r'\\\\')"); + } + if (current[$endsWith]("\\") || current[$endsWith]("/")) { + return dart.str(current) + dart.str(path); + } + return dart.str(current) + "\\" + dart.str(path); + } + static _identicalSync(path1, path2) { + if (path1 == null) dart.nullFailed(I[111], 604, 37, "path1"); + if (path2 == null) dart.nullFailed(I[111], 604, 51, "path2"); + let result = io.FileSystemEntity._identicalNative(io._Namespace._namespace, path1, path2); + io.FileSystemEntity._throwIfError(core.Object.as(result), "Error in FileSystemEntity.identicalSync"); + return core.bool.as(result); + } + static identicalSync(path1, path2) { + if (path1 == null) dart.nullFailed(I[111], 620, 36, "path1"); + if (path2 == null) dart.nullFailed(I[111], 620, 50, "path2"); + let overrides = io.IOOverrides.current; + if (overrides == null) { + return io.FileSystemEntity._identicalSync(path1, path2); + } + return overrides.fseIdenticalSync(path1, path2); + } + static get isWatchSupported() { + let overrides = io.IOOverrides.current; + if (overrides == null) { + return io._FileSystemWatcher.isSupported; + } + return overrides.fsWatchIsSupported(); + } + static _toUtf8Array(s) { + if (s == null) dart.nullFailed(I[111], 641, 40, "s"); + return io.FileSystemEntity._toNullTerminatedUtf8Array(convert.utf8.encoder.convert(s)); + } + static _toNullTerminatedUtf8Array(l) { + if (l == null) dart.nullFailed(I[111], 644, 57, "l"); + if (dart.test(l[$isNotEmpty]) && l[$last] !== 0) { + let tmp = _native_typed_data.NativeUint8List.new(dart.notNull(l[$length]) + 1); + tmp[$setRange](0, l[$length], l); + return tmp; + } else { + return l; + } + } + static _toStringFromUtf8Array(l) { + if (l == null) dart.nullFailed(I[111], 654, 50, "l"); + let nonNullTerminated = l; + if (l[$last] === 0) { + nonNullTerminated = typed_data.Uint8List.view(l[$buffer], l[$offsetInBytes], dart.notNull(l[$length]) - 1); + } + return convert.utf8.decode(nonNullTerminated, {allowMalformed: true}); + } + static type(path, opts) { + if (path == null) dart.nullFailed(I[111], 667, 51, "path"); + let followLinks = opts && 'followLinks' in opts ? opts.followLinks : true; + if (followLinks == null) dart.nullFailed(I[111], 668, 13, "followLinks"); + return io.FileSystemEntity._getType(io.FileSystemEntity._toUtf8Array(path), followLinks); + } + static typeSync(path, opts) { + if (path == null) dart.nullFailed(I[111], 679, 47, "path"); + let followLinks = opts && 'followLinks' in opts ? opts.followLinks : true; + if (followLinks == null) dart.nullFailed(I[111], 679, 59, "followLinks"); + return io.FileSystemEntity._getTypeSync(io.FileSystemEntity._toUtf8Array(path), followLinks); + } + static isLink(path) { + if (path == null) dart.nullFailed(I[111], 687, 37, "path"); + return io.FileSystemEntity._isLinkRaw(io.FileSystemEntity._toUtf8Array(path)); + } + static _isLinkRaw(rawPath) { + if (rawPath == null) dart.nullFailed(I[111], 689, 44, "rawPath"); + return io.FileSystemEntity._getType(rawPath, false).then(core.bool, dart.fn(type => { + if (type == null) dart.nullFailed(I[111], 690, 14, "type"); + return dart.equals(type, io.FileSystemEntityType.link); + }, T$0.FileSystemEntityTypeTobool())); + } + static isFile(path) { + if (path == null) dart.nullFailed(I[111], 695, 37, "path"); + return io.FileSystemEntity._getType(io.FileSystemEntity._toUtf8Array(path), true).then(core.bool, dart.fn(type => { + if (type == null) dart.nullFailed(I[111], 696, 14, "type"); + return dart.equals(type, io.FileSystemEntityType.file); + }, T$0.FileSystemEntityTypeTobool())); + } + static isDirectory(path) { + if (path == null) dart.nullFailed(I[111], 701, 42, "path"); + return io.FileSystemEntity._getType(io.FileSystemEntity._toUtf8Array(path), true).then(core.bool, dart.fn(type => { + if (type == null) dart.nullFailed(I[111], 703, 18, "type"); + return dart.equals(type, io.FileSystemEntityType.directory); + }, T$0.FileSystemEntityTypeTobool())); + } + static isLinkSync(path) { + if (path == null) dart.nullFailed(I[111], 709, 33, "path"); + return io.FileSystemEntity._isLinkRawSync(io.FileSystemEntity._toUtf8Array(path)); + } + static _isLinkRawSync(rawPath) { + return dart.equals(io.FileSystemEntity._getTypeSync(typed_data.Uint8List.as(rawPath), false), io.FileSystemEntityType.link); + } + static isFileSync(path) { + if (path == null) dart.nullFailed(I[111], 718, 33, "path"); + return dart.equals(io.FileSystemEntity._getTypeSync(io.FileSystemEntity._toUtf8Array(path), true), io.FileSystemEntityType.file); + } + static isDirectorySync(path) { + if (path == null) dart.nullFailed(I[111], 725, 38, "path"); + return dart.equals(io.FileSystemEntity._getTypeSync(io.FileSystemEntity._toUtf8Array(path), true), io.FileSystemEntityType.directory); + } + static _getTypeNative(namespace, rawPath, followLinks) { + if (namespace == null) dart.nullFailed(I[107], 93, 18, "namespace"); + if (rawPath == null) dart.nullFailed(I[107], 93, 39, "rawPath"); + if (followLinks == null) dart.nullFailed(I[107], 93, 53, "followLinks"); + dart.throw(new core.UnsupportedError.new("FileSystemEntity._getType")); + } + static _identicalNative(namespace, path1, path2) { + if (namespace == null) dart.nullFailed(I[107], 98, 38, "namespace"); + if (path1 == null) dart.nullFailed(I[107], 98, 56, "path1"); + if (path2 == null) dart.nullFailed(I[107], 98, 70, "path2"); + dart.throw(new core.UnsupportedError.new("FileSystemEntity._identical")); + } + static _resolveSymbolicLinks(namespace, rawPath) { + if (namespace == null) dart.nullFailed(I[107], 103, 43, "namespace"); + if (rawPath == null) dart.nullFailed(I[107], 103, 64, "rawPath"); + dart.throw(new core.UnsupportedError.new("FileSystemEntity._resolveSymbolicLinks")); + } + static parentOf(path) { + if (path == null) dart.nullFailed(I[111], 749, 33, "path"); + let rootEnd = -1; + if (dart.test(io.Platform.isWindows)) { + if (path[$startsWith](io.FileSystemEntity._absoluteWindowsPathPattern)) { + rootEnd = path[$indexOf](core.RegExp.new("[/\\\\]"), 2); + if (rootEnd === -1) return path; + } else if (path[$startsWith]("\\") || path[$startsWith]("/")) { + rootEnd = 0; + } + } else if (path[$startsWith]("/")) { + rootEnd = 0; + } + let pos = path[$lastIndexOf](io.FileSystemEntity._parentRegExp); + if (pos > rootEnd) { + return path[$substring](0, pos + 1); + } else if (rootEnd > -1) { + return path[$substring](0, rootEnd + 1); + } else { + return "."; + } + } + get parent() { + return io.Directory.new(io.FileSystemEntity.parentOf(this.path)); + } + static _getTypeSyncHelper(rawPath, followLinks) { + if (rawPath == null) dart.nullFailed(I[111], 778, 17, "rawPath"); + if (followLinks == null) dart.nullFailed(I[111], 778, 31, "followLinks"); + let result = io.FileSystemEntity._getTypeNative(io._Namespace._namespace, rawPath, followLinks); + io.FileSystemEntity._throwIfError(core.Object.as(result), "Error getting type of FileSystemEntity"); + return io.FileSystemEntityType._lookup(core.int.as(result)); + } + static _getTypeSync(rawPath, followLinks) { + if (rawPath == null) dart.nullFailed(I[111], 785, 17, "rawPath"); + if (followLinks == null) dart.nullFailed(I[111], 785, 31, "followLinks"); + let overrides = io.IOOverrides.current; + if (overrides == null) { + return io.FileSystemEntity._getTypeSyncHelper(rawPath, followLinks); + } + return overrides.fseGetTypeSync(convert.utf8.decode(rawPath, {allowMalformed: true}), followLinks); + } + static _getTypeRequest(rawPath, followLinks) { + if (rawPath == null) dart.nullFailed(I[111], 795, 17, "rawPath"); + if (followLinks == null) dart.nullFailed(I[111], 795, 31, "followLinks"); + return io._File._dispatchWithNamespace(27, [null, rawPath, followLinks]).then(io.FileSystemEntityType, dart.fn(response => { + if (dart.test(io._isErrorResponse(response))) { + dart.throw(io._exceptionFromResponse(response, "Error getting type", convert.utf8.decode(rawPath, {allowMalformed: true}))); + } + return io.FileSystemEntityType._lookup(core.int.as(response)); + }, T$0.dynamicToFileSystemEntityType())); + } + static _getType(rawPath, followLinks) { + if (rawPath == null) dart.nullFailed(I[111], 807, 17, "rawPath"); + if (followLinks == null) dart.nullFailed(I[111], 807, 31, "followLinks"); + let overrides = io.IOOverrides.current; + if (overrides == null) { + return io.FileSystemEntity._getTypeRequest(rawPath, followLinks); + } + return overrides.fseGetType(convert.utf8.decode(rawPath, {allowMalformed: true}), followLinks); + } + static _throwIfError(result, msg, path = null) { + if (result == null) dart.nullFailed(I[111], 816, 31, "result"); + if (msg == null) dart.nullFailed(I[111], 816, 46, "msg"); + if (io.OSError.is(result)) { + dart.throw(new io.FileSystemException.new(msg, path, result)); + } else if (core.ArgumentError.is(result)) { + dart.throw(result); + } + } + static _trimTrailingPathSeparators(path) { + if (path == null) dart.nullFailed(I[111], 825, 52, "path"); + core.ArgumentError.checkNotNull(core.String, path, "path"); + if (dart.test(io.Platform.isWindows)) { + while (path.length > 1 && (path[$endsWith](io.Platform.pathSeparator) || path[$endsWith]("/"))) { + path = path[$substring](0, path.length - 1); + } + } else { + while (path.length > 1 && path[$endsWith](io.Platform.pathSeparator)) { + path = path[$substring](0, path.length - 1); + } + } + return path; + } + static _ensureTrailingPathSeparators(path) { + if (path == null) dart.nullFailed(I[111], 842, 54, "path"); + if (path[$isEmpty]) path = "."; + if (dart.test(io.Platform.isWindows)) { + while (!path[$endsWith](io.Platform.pathSeparator) && !path[$endsWith]("/")) { + path = dart.str(path) + dart.str(io.Platform.pathSeparator); + } + } else { + while (!path[$endsWith](io.Platform.pathSeparator)) { + path = dart.str(path) + dart.str(io.Platform.pathSeparator); + } + } + return path; + } +}; +(io.FileSystemEntity.new = function() { + ; +}).prototype = io.FileSystemEntity.prototype; +dart.addTypeTests(io.FileSystemEntity); +dart.addTypeCaches(io.FileSystemEntity); +dart.setMethodSignature(io.FileSystemEntity, () => ({ + __proto__: dart.getMethods(io.FileSystemEntity.__proto__), + resolveSymbolicLinks: dart.fnType(async.Future$(core.String), []), + resolveSymbolicLinksSync: dart.fnType(core.String, []), + stat: dart.fnType(async.Future$(io.FileStat), []), + statSync: dart.fnType(io.FileStat, []), + delete: dart.fnType(async.Future$(io.FileSystemEntity), [], {recursive: core.bool}, {}), + deleteSync: dart.fnType(dart.void, [], {recursive: core.bool}, {}), + watch: dart.fnType(async.Stream$(io.FileSystemEvent), [], {events: core.int, recursive: core.bool}, {}) +})); +dart.setGetterSignature(io.FileSystemEntity, () => ({ + __proto__: dart.getGetters(io.FileSystemEntity.__proto__), + uri: core.Uri, + isAbsolute: core.bool, + [_absolutePath]: core.String, + parent: io.Directory +})); +dart.setLibraryUri(io.FileSystemEntity, I[105]); +dart.defineLazy(io.FileSystemEntity, { + /*io.FileSystemEntity._backslashChar*/get _backslashChar() { + return 92; + }, + /*io.FileSystemEntity._slashChar*/get _slashChar() { + return 47; + }, + /*io.FileSystemEntity._colonChar*/get _colonChar() { + return 58; + }, + /*io.FileSystemEntity._absoluteWindowsPathPattern*/get _absoluteWindowsPathPattern() { + return core.RegExp.new("^(?:\\\\\\\\|[a-zA-Z]:[/\\\\])"); + }, + /*io.FileSystemEntity._parentRegExp*/get _parentRegExp() { + return dart.test(io.Platform.isWindows) ? core.RegExp.new("[^/\\\\][/\\\\]+[^/\\\\]") : core.RegExp.new("[^/]/+[^/]"); + } +}, false); +io._Directory = class _Directory extends io.FileSystemEntity { + get [_path$0]() { + return this[_path$]; + } + set [_path$0](value) { + super[_path$0] = value; + } + get [_rawPath$]() { + return this[_rawPath]; + } + set [_rawPath$](value) { + super[_rawPath$] = value; + } + get path() { + return this[_path$0]; + } + static _current(namespace) { + if (namespace == null) dart.nullFailed(I[107], 14, 30, "namespace"); + dart.throw(new core.UnsupportedError.new("Directory._current")); + } + static _setCurrent(namespace, rawPath) { + if (namespace == null) dart.nullFailed(I[107], 19, 33, "namespace"); + if (rawPath == null) dart.nullFailed(I[107], 19, 54, "rawPath"); + dart.throw(new core.UnsupportedError.new("Directory_SetCurrent")); + } + static _createTemp(namespace, rawPath) { + if (namespace == null) dart.nullFailed(I[107], 24, 33, "namespace"); + if (rawPath == null) dart.nullFailed(I[107], 24, 54, "rawPath"); + dart.throw(new core.UnsupportedError.new("Directory._createTemp")); + } + static _systemTemp(namespace) { + if (namespace == null) dart.nullFailed(I[107], 29, 40, "namespace"); + dart.throw(new core.UnsupportedError.new("Directory._systemTemp")); + } + static _exists(namespace, rawPath) { + if (namespace == null) dart.nullFailed(I[107], 34, 29, "namespace"); + if (rawPath == null) dart.nullFailed(I[107], 34, 50, "rawPath"); + dart.throw(new core.UnsupportedError.new("Directory._exists")); + } + static _create(namespace, rawPath) { + if (namespace == null) dart.nullFailed(I[107], 39, 29, "namespace"); + if (rawPath == null) dart.nullFailed(I[107], 39, 50, "rawPath"); + dart.throw(new core.UnsupportedError.new("Directory._create")); + } + static _deleteNative(namespace, rawPath, recursive) { + if (namespace == null) dart.nullFailed(I[107], 45, 18, "namespace"); + if (rawPath == null) dart.nullFailed(I[107], 45, 39, "rawPath"); + if (recursive == null) dart.nullFailed(I[107], 45, 53, "recursive"); + dart.throw(new core.UnsupportedError.new("Directory._deleteNative")); + } + static _rename(namespace, rawPath, newPath) { + if (namespace == null) dart.nullFailed(I[107], 50, 29, "namespace"); + if (rawPath == null) dart.nullFailed(I[107], 50, 50, "rawPath"); + if (newPath == null) dart.nullFailed(I[107], 50, 66, "newPath"); + dart.throw(new core.UnsupportedError.new("Directory._rename")); + } + static _fillWithDirectoryListing(namespace, list, rawPath, recursive, followLinks) { + if (namespace == null) dart.nullFailed(I[107], 56, 18, "namespace"); + if (list == null) dart.nullFailed(I[107], 57, 30, "list"); + if (rawPath == null) dart.nullFailed(I[107], 58, 17, "rawPath"); + if (recursive == null) dart.nullFailed(I[107], 59, 12, "recursive"); + if (followLinks == null) dart.nullFailed(I[107], 60, 12, "followLinks"); + dart.throw(new core.UnsupportedError.new("Directory._fillWithDirectoryListing")); + } + static get current() { + let result = io._Directory._current(io._Namespace._namespace); + if (io.OSError.is(result)) { + dart.throw(new io.FileSystemException.new("Getting current working directory failed", "", result)); + } + return new io._Directory.new(core.String.as(result)); + } + static set current(path) { + let _rawPath = null; + let _rawPath$35isSet = false; + function _rawPath$35get() { + return _rawPath$35isSet ? _rawPath : dart.throw(new _internal.LateError.localNI("_rawPath")); + } + dart.fn(_rawPath$35get, T$0.VoidToUint8List()); + function _rawPath$35set(t185) { + if (t185 == null) dart.nullFailed(I[110], 49, 20, "null"); + _rawPath$35isSet = true; + return _rawPath = t185; + } + dart.fn(_rawPath$35set, T$0.Uint8ListTodynamic()); + if (io._Directory.is(path)) { + _rawPath$35set(path[_rawPath$]); + } else if (io.Directory.is(path)) { + _rawPath$35set(io.FileSystemEntity._toUtf8Array(path.path)); + } else if (typeof path == 'string') { + _rawPath$35set(io.FileSystemEntity._toUtf8Array(path)); + } else { + dart.throw(new core.ArgumentError.new(dart.str(core.Error.safeToString(path)) + " is not a String or" + " Directory")); + } + if (!dart.test(io._EmbedderConfig._mayChdir)) { + dart.throw(new core.UnsupportedError.new("This embedder disallows setting Directory.current")); + } + let result = io._Directory._setCurrent(io._Namespace._namespace, _rawPath$35get()); + if (core.ArgumentError.is(result)) dart.throw(result); + if (io.OSError.is(result)) { + dart.throw(new io.FileSystemException.new("Setting current working directory failed", dart.toString(path), result)); + } + } + get uri() { + return core._Uri.directory(this.path); + } + exists() { + return io._File._dispatchWithNamespace(36, [null, this[_rawPath$]]).then(core.bool, dart.fn(response => { + if (dart.test(this[_isErrorResponse](response))) { + dart.throw(this[_exceptionOrErrorFromResponse](response, "Exists failed")); + } + return dart.equals(response, 1); + }, T$0.dynamicTobool())); + } + existsSync() { + let result = io._Directory._exists(io._Namespace._namespace, this[_rawPath$]); + if (io.OSError.is(result)) { + dart.throw(new io.FileSystemException.new("Exists failed", this.path, result)); + } + return dart.equals(result, 1); + } + get absolute() { + return io.Directory.new(this[_absolutePath]); + } + create(opts) { + let recursive = opts && 'recursive' in opts ? opts.recursive : false; + if (recursive == null) dart.nullFailed(I[110], 101, 34, "recursive"); + if (dart.test(recursive)) { + return this.exists().then(io.Directory, dart.fn(exists => { + if (exists == null) dart.nullFailed(I[110], 103, 29, "exists"); + if (dart.test(exists)) return this; + if (this.path != this.parent.path) { + return this.parent.create({recursive: true}).then(io.Directory, dart.fn(_ => { + if (_ == null) dart.nullFailed(I[110], 106, 55, "_"); + return this.create(); + }, T$0.DirectoryToFutureOfDirectory())); + } else { + return this.create(); + } + }, T$0.boolToFutureOrOfDirectory())); + } else { + return io._File._dispatchWithNamespace(34, [null, this[_rawPath$]]).then(io.Directory, dart.fn(response => { + if (dart.test(this[_isErrorResponse](response))) { + dart.throw(this[_exceptionOrErrorFromResponse](response, "Creation failed")); + } + return this; + }, T$0.dynamicTo_Directory())); + } + } + createSync(opts) { + let recursive = opts && 'recursive' in opts ? opts.recursive : false; + if (recursive == null) dart.nullFailed(I[110], 124, 25, "recursive"); + if (dart.test(recursive)) { + if (dart.test(this.existsSync())) return; + if (this.path != this.parent.path) { + this.parent.createSync({recursive: true}); + } + } + let result = io._Directory._create(io._Namespace._namespace, this[_rawPath$]); + if (io.OSError.is(result)) { + dart.throw(new io.FileSystemException.new("Creation failed", this.path, result)); + } + } + static get systemTemp() { + return io.Directory.new(io._Directory._systemTemp(io._Namespace._namespace)); + } + createTemp(prefix = null) { + prefix == null ? prefix = "" : null; + if (this.path === "") { + dart.throw(new core.ArgumentError.new("Directory.createTemp called with an empty path. " + "To use the system temp directory, use Directory.systemTemp")); + } + let fullPrefix = null; + if (this.path[$endsWith]("/") || dart.test(io.Platform.isWindows) && this.path[$endsWith]("\\")) { + fullPrefix = dart.str(this.path) + dart.str(prefix); + } else { + fullPrefix = dart.str(this.path) + dart.str(io.Platform.pathSeparator) + dart.str(prefix); + } + return io._File._dispatchWithNamespace(37, [null, io.FileSystemEntity._toUtf8Array(fullPrefix)]).then(io.Directory, dart.fn(response => { + if (dart.test(this[_isErrorResponse](response))) { + dart.throw(this[_exceptionOrErrorFromResponse](response, "Creation of temporary directory failed")); + } + return io.Directory.new(core.String.as(response)); + }, T$0.dynamicToDirectory())); + } + createTempSync(prefix = null) { + prefix == null ? prefix = "" : null; + if (this.path === "") { + dart.throw(new core.ArgumentError.new("Directory.createTemp called with an empty path. " + "To use the system temp directory, use Directory.systemTemp")); + } + let fullPrefix = null; + if (this.path[$endsWith]("/") || dart.test(io.Platform.isWindows) && this.path[$endsWith]("\\")) { + fullPrefix = dart.str(this.path) + dart.str(prefix); + } else { + fullPrefix = dart.str(this.path) + dart.str(io.Platform.pathSeparator) + dart.str(prefix); + } + let result = io._Directory._createTemp(io._Namespace._namespace, io.FileSystemEntity._toUtf8Array(fullPrefix)); + if (io.OSError.is(result)) { + dart.throw(new io.FileSystemException.new("Creation of temporary directory failed", fullPrefix, result)); + } + return io.Directory.new(core.String.as(result)); + } + [_delete](opts) { + let recursive = opts && 'recursive' in opts ? opts.recursive : false; + if (recursive == null) dart.nullFailed(I[110], 187, 35, "recursive"); + return io._File._dispatchWithNamespace(35, [null, this[_rawPath$], recursive]).then(io.Directory, dart.fn(response => { + if (dart.test(this[_isErrorResponse](response))) { + dart.throw(this[_exceptionOrErrorFromResponse](response, "Deletion failed")); + } + return this; + }, T$0.dynamicTo_Directory())); + } + [_deleteSync](opts) { + let recursive = opts && 'recursive' in opts ? opts.recursive : false; + if (recursive == null) dart.nullFailed(I[110], 198, 26, "recursive"); + let result = io._Directory._deleteNative(io._Namespace._namespace, this[_rawPath$], recursive); + if (io.OSError.is(result)) { + dart.throw(new io.FileSystemException.new("Deletion failed", this.path, result)); + } + } + rename(newPath) { + if (newPath == null) dart.nullFailed(I[110], 205, 35, "newPath"); + return io._File._dispatchWithNamespace(41, [null, this[_rawPath$], newPath]).then(io.Directory, dart.fn(response => { + if (dart.test(this[_isErrorResponse](response))) { + dart.throw(this[_exceptionOrErrorFromResponse](response, "Rename failed")); + } + return io.Directory.new(newPath); + }, T$0.dynamicToDirectory())); + } + renameSync(newPath) { + if (newPath == null) dart.nullFailed(I[110], 215, 31, "newPath"); + core.ArgumentError.checkNotNull(core.String, newPath, "newPath"); + let result = io._Directory._rename(io._Namespace._namespace, this[_rawPath$], newPath); + if (io.OSError.is(result)) { + dart.throw(new io.FileSystemException.new("Rename failed", this.path, result)); + } + return io.Directory.new(newPath); + } + list(opts) { + let recursive = opts && 'recursive' in opts ? opts.recursive : false; + if (recursive == null) dart.nullFailed(I[110], 226, 13, "recursive"); + let followLinks = opts && 'followLinks' in opts ? opts.followLinks : true; + if (followLinks == null) dart.nullFailed(I[110], 226, 37, "followLinks"); + return new io._AsyncDirectoryLister.new(io.FileSystemEntity._toUtf8Array(io.FileSystemEntity._ensureTrailingPathSeparators(this.path)), recursive, followLinks).stream; + } + listSync(opts) { + let recursive = opts && 'recursive' in opts ? opts.recursive : false; + if (recursive == null) dart.nullFailed(I[110], 238, 13, "recursive"); + let followLinks = opts && 'followLinks' in opts ? opts.followLinks : true; + if (followLinks == null) dart.nullFailed(I[110], 238, 37, "followLinks"); + core.ArgumentError.checkNotNull(core.bool, recursive, "recursive"); + core.ArgumentError.checkNotNull(core.bool, followLinks, "followLinks"); + let result = T$0.JSArrayOfFileSystemEntity().of([]); + io._Directory._fillWithDirectoryListing(io._Namespace._namespace, result, io.FileSystemEntity._toUtf8Array(io.FileSystemEntity._ensureTrailingPathSeparators(this.path)), recursive, followLinks); + return result; + } + toString() { + return "Directory: '" + dart.str(this.path) + "'"; + } + [_isErrorResponse](response) { + return core.List.is(response) && !dart.equals(response[$_get](0), 0); + } + [_exceptionOrErrorFromResponse](response, message) { + if (message == null) dart.nullFailed(I[110], 260, 50, "message"); + if (!dart.test(this[_isErrorResponse](response))) dart.assertFailed(null, I[110], 261, 12, "_isErrorResponse(response)"); + switch (dart.dsend(response, '_get', [0])) { + case 1: + { + return new core.ArgumentError.new(); + } + case 2: + { + let err = new io.OSError.new(core.String.as(dart.dsend(response, '_get', [2])), core.int.as(dart.dsend(response, '_get', [1]))); + return new io.FileSystemException.new(message, this.path, err); + } + default: + { + return core.Exception.new("Unknown error"); + } + } + } + static _checkNotNull(T, t, name) { + if (name == null) dart.nullFailed(I[110], 275, 41, "name"); + core.ArgumentError.checkNotNull(T, t, name); + return t; + } +}; +(io._Directory.new = function(path) { + if (path == null) dart.nullFailed(I[110], 11, 21, "path"); + this[_path$] = io._Directory._checkNotNull(core.String, path, "path"); + this[_rawPath] = io.FileSystemEntity._toUtf8Array(path); + ; +}).prototype = io._Directory.prototype; +(io._Directory.fromRawPath = function(rawPath) { + if (rawPath == null) dart.nullFailed(I[110], 15, 36, "rawPath"); + this[_rawPath] = io.FileSystemEntity._toNullTerminatedUtf8Array(io._Directory._checkNotNull(typed_data.Uint8List, rawPath, "rawPath")); + this[_path$] = io.FileSystemEntity._toStringFromUtf8Array(rawPath); + ; +}).prototype = io._Directory.prototype; +dart.addTypeTests(io._Directory); +dart.addTypeCaches(io._Directory); +io._Directory[dart.implements] = () => [io.Directory]; +dart.setMethodSignature(io._Directory, () => ({ + __proto__: dart.getMethods(io._Directory.__proto__), + exists: dart.fnType(async.Future$(core.bool), []), + existsSync: dart.fnType(core.bool, []), + create: dart.fnType(async.Future$(io.Directory), [], {recursive: core.bool}, {}), + createSync: dart.fnType(dart.void, [], {recursive: core.bool}, {}), + createTemp: dart.fnType(async.Future$(io.Directory), [], [dart.nullable(core.String)]), + createTempSync: dart.fnType(io.Directory, [], [dart.nullable(core.String)]), + [_delete]: dart.fnType(async.Future$(io.Directory), [], {recursive: core.bool}, {}), + [_deleteSync]: dart.fnType(dart.void, [], {recursive: core.bool}, {}), + rename: dart.fnType(async.Future$(io.Directory), [core.String]), + renameSync: dart.fnType(io.Directory, [core.String]), + list: dart.fnType(async.Stream$(io.FileSystemEntity), [], {followLinks: core.bool, recursive: core.bool}, {}), + listSync: dart.fnType(core.List$(io.FileSystemEntity), [], {followLinks: core.bool, recursive: core.bool}, {}), + [_isErrorResponse]: dart.fnType(core.bool, [dart.dynamic]), + [_exceptionOrErrorFromResponse]: dart.fnType(dart.dynamic, [dart.dynamic, core.String]) +})); +dart.setGetterSignature(io._Directory, () => ({ + __proto__: dart.getGetters(io._Directory.__proto__), + path: core.String, + absolute: io.Directory +})); +dart.setLibraryUri(io._Directory, I[105]); +dart.setFieldSignature(io._Directory, () => ({ + __proto__: dart.getFields(io._Directory.__proto__), + [_path$0]: dart.finalFieldType(core.String), + [_rawPath$]: dart.finalFieldType(typed_data.Uint8List) +})); +dart.defineExtensionMethods(io._Directory, ['toString']); +io._AsyncDirectoryListerOps = class _AsyncDirectoryListerOps extends core.Object { + static new(pointer) { + if (pointer == null) dart.nullFailed(I[107], 68, 40, "pointer"); + dart.throw(new core.UnsupportedError.new("Directory._list")); + } +}; +(io._AsyncDirectoryListerOps[dart.mixinNew] = function() { +}).prototype = io._AsyncDirectoryListerOps.prototype; +dart.addTypeTests(io._AsyncDirectoryListerOps); +dart.addTypeCaches(io._AsyncDirectoryListerOps); +dart.setLibraryUri(io._AsyncDirectoryListerOps, I[105]); +var _ops = dart.privateName(io, "_ops"); +var _pointer = dart.privateName(io, "_pointer"); +var _cleanup = dart.privateName(io, "_cleanup"); +io._AsyncDirectoryLister = class _AsyncDirectoryLister extends core.Object { + [_pointer]() { + let t187; + t187 = this[_ops]; + return t187 == null ? null : t187.getPointer(); + } + get stream() { + return this.controller.stream; + } + onListen() { + io._File._dispatchWithNamespace(38, [null, this.rawPath, this.recursive, this.followLinks]).then(core.Null, dart.fn(response => { + if (core.int.is(response)) { + this[_ops] = io._AsyncDirectoryListerOps.new(response); + this.next(); + } else if (core.Error.is(response)) { + this.controller.addError(response, response[$stackTrace]); + this.close(); + } else { + this.error(response); + this.close(); + } + }, T$.dynamicToNull())); + } + onResume() { + if (!dart.test(this.nextRunning)) { + this.next(); + } + } + onCancel() { + this.canceled = true; + if (!dart.test(this.nextRunning)) { + this.close(); + } + return this.closeCompleter.future; + } + next() { + if (dart.test(this.canceled)) { + this.close(); + return; + } + if (dart.test(this.controller.isPaused) || dart.test(this.nextRunning)) { + return; + } + let pointer = this[_pointer](); + if (pointer == null) { + return; + } + this.nextRunning = true; + io._IOService._dispatch(39, [pointer]).then(core.Null, dart.fn(result => { + let t187; + this.nextRunning = false; + if (core.List.is(result)) { + this.next(); + if (!(result[$length][$modulo](2) === 0)) dart.assertFailed(null, I[110], 378, 16, "result.length % 2 == 0"); + for (let i = 0; i < dart.notNull(result[$length]); i = i + 1) { + if (!(i[$modulo](2) === 0)) dart.assertFailed(null, I[110], 380, 18, "i % 2 == 0"); + switch (result[$_get]((t187 = i, i = t187 + 1, t187))) { + case 0: + { + this.controller.add(io.File.fromRawPath(typed_data.Uint8List.as(result[$_get](i)))); + break; + } + case 1: + { + this.controller.add(io.Directory.fromRawPath(typed_data.Uint8List.as(result[$_get](i)))); + break; + } + case 2: + { + this.controller.add(io.Link.fromRawPath(typed_data.Uint8List.as(result[$_get](i)))); + break; + } + case 3: + { + this.error(result[$_get](i)); + break; + } + case 4: + { + this.canceled = true; + return; + } + } + } + } else { + this.controller.addError(new io.FileSystemException.new("Internal error")); + } + }, T$.dynamicToNull())); + } + [_cleanup]() { + this.controller.close(); + this.closeCompleter.complete(); + this[_ops] = null; + } + close() { + if (dart.test(this.closed)) { + return; + } + if (dart.test(this.nextRunning)) { + return; + } + this.closed = true; + let pointer = this[_pointer](); + if (pointer == null) { + this[_cleanup](); + } else { + io._IOService._dispatch(40, [pointer]).whenComplete(dart.bind(this, _cleanup)); + } + } + error(message) { + let errorType = dart.dsend(dart.dsend(message, '_get', [2]), '_get', [0]); + if (dart.equals(errorType, 1)) { + this.controller.addError(new core.ArgumentError.new()); + } else if (dart.equals(errorType, 2)) { + let responseErrorInfo = dart.dsend(message, '_get', [2]); + let err = new io.OSError.new(core.String.as(dart.dsend(responseErrorInfo, '_get', [2])), core.int.as(dart.dsend(responseErrorInfo, '_get', [1]))); + let errorPath = dart.dsend(message, '_get', [1]); + if (errorPath == null) { + errorPath = convert.utf8.decode(this.rawPath, {allowMalformed: true}); + } else if (typed_data.Uint8List.is(errorPath)) { + errorPath = convert.utf8.decode(T$0.ListOfint().as(dart.dsend(message, '_get', [1])), {allowMalformed: true}); + } + this.controller.addError(new io.FileSystemException.new("Directory listing failed", T$.StringN().as(errorPath), err)); + } else { + this.controller.addError(new io.FileSystemException.new("Internal error")); + } + } +}; +(io._AsyncDirectoryLister.new = function(rawPath, recursive, followLinks) { + let t187; + if (rawPath == null) dart.nullFailed(I[110], 310, 30, "rawPath"); + if (recursive == null) dart.nullFailed(I[110], 310, 44, "recursive"); + if (followLinks == null) dart.nullFailed(I[110], 310, 60, "followLinks"); + this.controller = T$0.StreamControllerOfFileSystemEntity().new({sync: true}); + this.canceled = false; + this.nextRunning = false; + this.closed = false; + this[_ops] = null; + this.closeCompleter = async.Completer.new(); + this.rawPath = rawPath; + this.recursive = recursive; + this.followLinks = followLinks; + t187 = this.controller; + (() => { + t187.onListen = dart.bind(this, 'onListen'); + t187.onResume = dart.bind(this, 'onResume'); + t187.onCancel = dart.bind(this, 'onCancel'); + return t187; + })(); +}).prototype = io._AsyncDirectoryLister.prototype; +dart.addTypeTests(io._AsyncDirectoryLister); +dart.addTypeCaches(io._AsyncDirectoryLister); +dart.setMethodSignature(io._AsyncDirectoryLister, () => ({ + __proto__: dart.getMethods(io._AsyncDirectoryLister.__proto__), + [_pointer]: dart.fnType(dart.nullable(core.int), []), + onListen: dart.fnType(dart.void, []), + onResume: dart.fnType(dart.void, []), + onCancel: dart.fnType(async.Future, []), + next: dart.fnType(dart.void, []), + [_cleanup]: dart.fnType(dart.void, []), + close: dart.fnType(dart.void, []), + error: dart.fnType(dart.void, [dart.dynamic]) +})); +dart.setGetterSignature(io._AsyncDirectoryLister, () => ({ + __proto__: dart.getGetters(io._AsyncDirectoryLister.__proto__), + stream: async.Stream$(io.FileSystemEntity) +})); +dart.setLibraryUri(io._AsyncDirectoryLister, I[105]); +dart.setFieldSignature(io._AsyncDirectoryLister, () => ({ + __proto__: dart.getFields(io._AsyncDirectoryLister.__proto__), + rawPath: dart.finalFieldType(typed_data.Uint8List), + recursive: dart.finalFieldType(core.bool), + followLinks: dart.finalFieldType(core.bool), + controller: dart.finalFieldType(async.StreamController$(io.FileSystemEntity)), + canceled: dart.fieldType(core.bool), + nextRunning: dart.fieldType(core.bool), + closed: dart.fieldType(core.bool), + [_ops]: dart.fieldType(dart.nullable(io._AsyncDirectoryListerOps)), + closeCompleter: dart.fieldType(async.Completer) +})); +dart.defineLazy(io._AsyncDirectoryLister, { + /*io._AsyncDirectoryLister.listFile*/get listFile() { + return 0; + }, + /*io._AsyncDirectoryLister.listDirectory*/get listDirectory() { + return 1; + }, + /*io._AsyncDirectoryLister.listLink*/get listLink() { + return 2; + }, + /*io._AsyncDirectoryLister.listError*/get listError() { + return 3; + }, + /*io._AsyncDirectoryLister.listDone*/get listDone() { + return 4; + }, + /*io._AsyncDirectoryLister.responseType*/get responseType() { + return 0; + }, + /*io._AsyncDirectoryLister.responsePath*/get responsePath() { + return 1; + }, + /*io._AsyncDirectoryLister.responseComplete*/get responseComplete() { + return 1; + }, + /*io._AsyncDirectoryLister.responseError*/get responseError() { + return 2; + } +}, false); +io._EmbedderConfig = class _EmbedderConfig extends core.Object { + static _setDomainPolicies(domainNetworkPolicyJson) { + if (domainNetworkPolicyJson == null) dart.nullFailed(I[112], 44, 41, "domainNetworkPolicyJson"); + io._domainPolicies = io._constructDomainPolicies(domainNetworkPolicyJson); + } +}; +(io._EmbedderConfig.new = function() { + ; +}).prototype = io._EmbedderConfig.prototype; +dart.addTypeTests(io._EmbedderConfig); +dart.addTypeCaches(io._EmbedderConfig); +dart.setLibraryUri(io._EmbedderConfig, I[105]); +dart.defineLazy(io._EmbedderConfig, { + /*io._EmbedderConfig._mayChdir*/get _mayChdir() { + return true; + }, + set _mayChdir(_) {}, + /*io._EmbedderConfig._mayExit*/get _mayExit() { + return true; + }, + set _mayExit(_) {}, + /*io._EmbedderConfig._maySetEchoMode*/get _maySetEchoMode() { + return true; + }, + set _maySetEchoMode(_) {}, + /*io._EmbedderConfig._maySetLineMode*/get _maySetLineMode() { + return true; + }, + set _maySetLineMode(_) {}, + /*io._EmbedderConfig._maySleep*/get _maySleep() { + return true; + }, + set _maySleep(_) {}, + /*io._EmbedderConfig._mayInsecurelyConnectToAllDomains*/get _mayInsecurelyConnectToAllDomains() { + return true; + }, + set _mayInsecurelyConnectToAllDomains(_) {} +}, false); +io._EventHandler = class _EventHandler extends core.Object { + static _sendData(sender, sendPort, data) { + if (sendPort == null) dart.nullFailed(I[107], 76, 50, "sendPort"); + if (data == null) dart.nullFailed(I[107], 76, 64, "data"); + dart.throw(new core.UnsupportedError.new("EventHandler._sendData")); + } +}; +(io._EventHandler.new = function() { + ; +}).prototype = io._EventHandler.prototype; +dart.addTypeTests(io._EventHandler); +dart.addTypeCaches(io._EventHandler); +dart.setLibraryUri(io._EventHandler, I[105]); +var _mode$ = dart.privateName(io, "FileMode._mode"); +var _mode = dart.privateName(io, "_mode"); +io.FileMode = class FileMode extends core.Object { + get [_mode]() { + return this[_mode$]; + } + set [_mode](value) { + super[_mode] = value; + } +}; +(io.FileMode._internal = function(_mode) { + if (_mode == null) dart.nullFailed(I[113], 42, 33, "_mode"); + this[_mode$] = _mode; + ; +}).prototype = io.FileMode.prototype; +dart.addTypeTests(io.FileMode); +dart.addTypeCaches(io.FileMode); +dart.setLibraryUri(io.FileMode, I[105]); +dart.setFieldSignature(io.FileMode, () => ({ + __proto__: dart.getFields(io.FileMode.__proto__), + [_mode]: dart.finalFieldType(core.int) +})); +dart.defineLazy(io.FileMode, { + /*io.FileMode.read*/get read() { + return C[109] || CT.C109; + }, + /*io.FileMode.READ*/get READ() { + return C[109] || CT.C109; + }, + /*io.FileMode.write*/get write() { + return C[110] || CT.C110; + }, + /*io.FileMode.WRITE*/get WRITE() { + return C[110] || CT.C110; + }, + /*io.FileMode.append*/get append() { + return C[111] || CT.C111; + }, + /*io.FileMode.APPEND*/get APPEND() { + return C[111] || CT.C111; + }, + /*io.FileMode.writeOnly*/get writeOnly() { + return C[112] || CT.C112; + }, + /*io.FileMode.WRITE_ONLY*/get WRITE_ONLY() { + return C[112] || CT.C112; + }, + /*io.FileMode.writeOnlyAppend*/get writeOnlyAppend() { + return C[113] || CT.C113; + }, + /*io.FileMode.WRITE_ONLY_APPEND*/get WRITE_ONLY_APPEND() { + return C[113] || CT.C113; + } +}, false); +var _type$1 = dart.privateName(io, "FileLock._type"); +var _type = dart.privateName(io, "_type"); +io.FileLock = class FileLock extends core.Object { + get [_type]() { + return this[_type$1]; + } + set [_type](value) { + super[_type] = value; + } +}; +(io.FileLock._internal = function(_type) { + if (_type == null) dart.nullFailed(I[113], 95, 33, "_type"); + this[_type$1] = _type; + ; +}).prototype = io.FileLock.prototype; +dart.addTypeTests(io.FileLock); +dart.addTypeCaches(io.FileLock); +dart.setLibraryUri(io.FileLock, I[105]); +dart.setFieldSignature(io.FileLock, () => ({ + __proto__: dart.getFields(io.FileLock.__proto__), + [_type]: dart.finalFieldType(core.int) +})); +dart.defineLazy(io.FileLock, { + /*io.FileLock.shared*/get shared() { + return C[114] || CT.C114; + }, + /*io.FileLock.SHARED*/get SHARED() { + return C[114] || CT.C114; + }, + /*io.FileLock.exclusive*/get exclusive() { + return C[115] || CT.C115; + }, + /*io.FileLock.EXCLUSIVE*/get EXCLUSIVE() { + return C[115] || CT.C115; + }, + /*io.FileLock.blockingShared*/get blockingShared() { + return C[116] || CT.C116; + }, + /*io.FileLock.BLOCKING_SHARED*/get BLOCKING_SHARED() { + return C[116] || CT.C116; + }, + /*io.FileLock.blockingExclusive*/get blockingExclusive() { + return C[117] || CT.C117; + }, + /*io.FileLock.BLOCKING_EXCLUSIVE*/get BLOCKING_EXCLUSIVE() { + return C[117] || CT.C117; + } +}, false); +io.File = class File extends core.Object { + static new(path) { + if (path == null) dart.nullFailed(I[113], 237, 23, "path"); + let overrides = io.IOOverrides.current; + if (overrides == null) { + return new io._File.new(path); + } + return overrides.createFile(path); + } + static fromUri(uri) { + if (uri == null) dart.nullFailed(I[113], 248, 28, "uri"); + return io.File.new(uri.toFilePath()); + } + static fromRawPath(rawPath) { + if (rawPath == null) dart.nullFailed(I[113], 254, 38, "rawPath"); + return new io._File.fromRawPath(rawPath); + } +}; +(io.File[dart.mixinNew] = function() { +}).prototype = io.File.prototype; +dart.addTypeTests(io.File); +dart.addTypeCaches(io.File); +io.File[dart.implements] = () => [io.FileSystemEntity]; +dart.setLibraryUri(io.File, I[105]); +io.RandomAccessFile = class RandomAccessFile extends core.Object {}; +(io.RandomAccessFile.new = function() { + ; +}).prototype = io.RandomAccessFile.prototype; +dart.addTypeTests(io.RandomAccessFile); +dart.addTypeCaches(io.RandomAccessFile); +dart.setLibraryUri(io.RandomAccessFile, I[105]); +var message$3 = dart.privateName(io, "FileSystemException.message"); +var path$ = dart.privateName(io, "FileSystemException.path"); +var osError$ = dart.privateName(io, "FileSystemException.osError"); +io.FileSystemException = class FileSystemException extends core.Object { + get message() { + return this[message$3]; + } + set message(value) { + super.message = value; + } + get path() { + return this[path$]; + } + set path(value) { + super.path = value; + } + get osError() { + return this[osError$]; + } + set osError(value) { + super.osError = value; + } + toString() { + let sb = new core.StringBuffer.new(); + sb.write("FileSystemException"); + if (this.message[$isNotEmpty]) { + sb.write(": " + dart.str(this.message)); + if (this.path != null) { + sb.write(", path = '" + dart.str(this.path) + "'"); + } + if (this.osError != null) { + sb.write(" (" + dart.str(this.osError) + ")"); + } + } else if (this.osError != null) { + sb.write(": " + dart.str(this.osError)); + if (this.path != null) { + sb.write(", path = '" + dart.str(this.path) + "'"); + } + } else if (this.path != null) { + sb.write(": " + dart.str(this.path)); + } + return sb.toString(); + } +}; +(io.FileSystemException.new = function(message = "", path = "", osError = null) { + if (message == null) dart.nullFailed(I[113], 926, 35, "message"); + this[message$3] = message; + this[path$] = path; + this[osError$] = osError; + ; +}).prototype = io.FileSystemException.prototype; +dart.addTypeTests(io.FileSystemException); +dart.addTypeCaches(io.FileSystemException); +io.FileSystemException[dart.implements] = () => [io.IOException]; +dart.setLibraryUri(io.FileSystemException, I[105]); +dart.setFieldSignature(io.FileSystemException, () => ({ + __proto__: dart.getFields(io.FileSystemException.__proto__), + message: dart.finalFieldType(core.String), + path: dart.finalFieldType(dart.nullable(core.String)), + osError: dart.finalFieldType(dart.nullable(io.OSError)) +})); +dart.defineExtensionMethods(io.FileSystemException, ['toString']); +var ___FileStream__controller = dart.privateName(io, "_#_FileStream#_controller"); +var ___FileStream__controller_isSet = dart.privateName(io, "_#_FileStream#_controller#isSet"); +var ___FileStream__openedFile = dart.privateName(io, "_#_FileStream#_openedFile"); +var ___FileStream__openedFile_isSet = dart.privateName(io, "_#_FileStream#_openedFile#isSet"); +var _closeCompleter = dart.privateName(io, "_closeCompleter"); +var _unsubscribed = dart.privateName(io, "_unsubscribed"); +var _readInProgress = dart.privateName(io, "_readInProgress"); +var _atEnd = dart.privateName(io, "_atEnd"); +var _end$ = dart.privateName(io, "_end"); +var _position$ = dart.privateName(io, "_position"); +var _controller = dart.privateName(io, "_controller"); +var _openedFile = dart.privateName(io, "_openedFile"); +var _start$1 = dart.privateName(io, "_start"); +var _readBlock = dart.privateName(io, "_readBlock"); +var _closeFile = dart.privateName(io, "_closeFile"); +io._FileStream = class _FileStream extends async.Stream$(core.List$(core.int)) { + get [_controller]() { + let t187; + return dart.test(this[___FileStream__controller_isSet]) ? (t187 = this[___FileStream__controller], t187) : dart.throw(new _internal.LateError.fieldNI("_controller")); + } + set [_controller](t187) { + if (t187 == null) dart.nullFailed(I[114], 12, 36, "null"); + this[___FileStream__controller_isSet] = true; + this[___FileStream__controller] = t187; + } + get [_openedFile]() { + let t188; + return dart.test(this[___FileStream__openedFile_isSet]) ? (t188 = this[___FileStream__openedFile], t188) : dart.throw(new _internal.LateError.fieldNI("_openedFile")); + } + set [_openedFile](t188) { + if (t188 == null) dart.nullFailed(I[114], 16, 25, "null"); + this[___FileStream__openedFile_isSet] = true; + this[___FileStream__openedFile] = t188; + } + listen(onData, opts) { + let onError = opts && 'onError' in opts ? opts.onError : null; + let onDone = opts && 'onDone' in opts ? opts.onDone : null; + let cancelOnError = opts && 'cancelOnError' in opts ? opts.cancelOnError : null; + this[_controller] = T$0.StreamControllerOfUint8List().new({sync: true, onListen: dart.bind(this, _start$1), onResume: dart.bind(this, _readBlock), onCancel: dart.fn(() => { + this[_unsubscribed] = true; + return this[_closeFile](); + }, T$0.VoidToFuture())}); + return this[_controller].stream.listen(onData, {onError: onError, onDone: onDone, cancelOnError: cancelOnError}); + } + [_closeFile]() { + if (dart.test(this[_readInProgress]) || dart.test(this[_closed])) { + return this[_closeCompleter].future; + } + this[_closed] = true; + const done = () => { + this[_closeCompleter].complete(); + this[_controller].close(); + }; + dart.fn(done, T$.VoidTovoid()); + this[_openedFile].close().catchError(dart.bind(this[_controller], 'addError')).whenComplete(done); + return this[_closeCompleter].future; + } + [_readBlock]() { + if (dart.test(this[_readInProgress])) return; + if (dart.test(this[_atEnd])) { + this[_closeFile](); + return; + } + this[_readInProgress] = true; + let readBytes = 65536; + let end = this[_end$]; + if (end != null) { + readBytes = math.min(core.int, readBytes, dart.notNull(end) - dart.notNull(this[_position$])); + if (readBytes < 0) { + this[_readInProgress] = false; + if (!dart.test(this[_unsubscribed])) { + this[_controller].addError(new core.RangeError.new("Bad end position: " + dart.str(end))); + this[_closeFile](); + this[_unsubscribed] = true; + } + return; + } + } + this[_openedFile].read(readBytes).then(core.Null, dart.fn(block => { + if (block == null) dart.nullFailed(I[114], 85, 39, "block"); + this[_readInProgress] = false; + if (dart.test(this[_unsubscribed])) { + this[_closeFile](); + return; + } + this[_position$] = dart.notNull(this[_position$]) + dart.notNull(block[$length]); + if (dart.notNull(block[$length]) < readBytes || this[_end$] != null && this[_position$] == this[_end$]) { + this[_atEnd] = true; + } + if (!dart.test(this[_atEnd]) && !dart.test(this[_controller].isPaused)) { + this[_readBlock](); + } + this[_controller].add(block); + if (dart.test(this[_atEnd])) { + this[_closeFile](); + } + }, T$0.Uint8ListToNull())).catchError(dart.fn((e, s) => { + if (!dart.test(this[_unsubscribed])) { + this[_controller].addError(core.Object.as(e), T$.StackTraceN().as(s)); + this[_closeFile](); + this[_unsubscribed] = true; + } + }, T$.dynamicAnddynamicToNull())); + } + [_start$1]() { + if (dart.notNull(this[_position$]) < 0) { + this[_controller].addError(new core.RangeError.new("Bad start position: " + dart.str(this[_position$]))); + this[_controller].close(); + this[_closeCompleter].complete(); + return; + } + const onReady = file => { + if (file == null) dart.nullFailed(I[114], 119, 35, "file"); + this[_openedFile] = file; + this[_readInProgress] = false; + this[_readBlock](); + }; + dart.fn(onReady, T$0.RandomAccessFileTovoid()); + const onOpenFile = file => { + if (file == null) dart.nullFailed(I[114], 125, 38, "file"); + if (dart.notNull(this[_position$]) > 0) { + file.setPosition(this[_position$]).then(dart.void, onReady, {onError: dart.fn((e, s) => { + this[_controller].addError(core.Object.as(e), T$.StackTraceN().as(s)); + this[_readInProgress] = false; + this[_closeFile](); + }, T$.dynamicAnddynamicToNull())}); + } else { + onReady(file); + } + }; + dart.fn(onOpenFile, T$0.RandomAccessFileTovoid()); + const openFailed = (error, stackTrace) => { + this[_controller].addError(core.Object.as(error), T$.StackTraceN().as(stackTrace)); + this[_controller].close(); + this[_closeCompleter].complete(); + }; + dart.fn(openFailed, T$.dynamicAnddynamicTovoid()); + let path = this[_path$0]; + if (path != null) { + io.File.new(path).open({mode: io.FileMode.read}).then(dart.void, onOpenFile, {onError: openFailed}); + } else { + try { + onOpenFile(io._File._openStdioSync(0)); + } catch (e$) { + let e = dart.getThrown(e$); + let s = dart.stackTrace(e$); + if (core.Object.is(e)) { + openFailed(e, s); + } else + throw e$; + } + } + } +}; +(io._FileStream.new = function(_path, position, _end) { + let t187; + this[___FileStream__controller] = null; + this[___FileStream__controller_isSet] = false; + this[___FileStream__openedFile] = null; + this[___FileStream__openedFile_isSet] = false; + this[_closeCompleter] = async.Completer.new(); + this[_unsubscribed] = false; + this[_readInProgress] = true; + this[_closed] = false; + this[_atEnd] = false; + this[_path$0] = _path; + this[_end$] = _end; + this[_position$] = (t187 = position, t187 == null ? 0 : t187); + io._FileStream.__proto__.new.call(this); + ; +}).prototype = io._FileStream.prototype; +(io._FileStream.forStdin = function() { + this[___FileStream__controller] = null; + this[___FileStream__controller_isSet] = false; + this[___FileStream__openedFile] = null; + this[___FileStream__openedFile_isSet] = false; + this[_closeCompleter] = async.Completer.new(); + this[_unsubscribed] = false; + this[_readInProgress] = true; + this[_closed] = false; + this[_atEnd] = false; + this[_end$] = null; + this[_path$0] = null; + this[_position$] = 0; + io._FileStream.__proto__.new.call(this); + ; +}).prototype = io._FileStream.prototype; +dart.addTypeTests(io._FileStream); +dart.addTypeCaches(io._FileStream); +dart.setMethodSignature(io._FileStream, () => ({ + __proto__: dart.getMethods(io._FileStream.__proto__), + listen: dart.fnType(async.StreamSubscription$(typed_data.Uint8List), [dart.nullable(dart.fnType(dart.void, [typed_data.Uint8List]))], {cancelOnError: dart.nullable(core.bool), onDone: dart.nullable(dart.fnType(dart.void, [])), onError: dart.nullable(core.Function)}, {}), + [_closeFile]: dart.fnType(async.Future, []), + [_readBlock]: dart.fnType(dart.void, []), + [_start$1]: dart.fnType(dart.void, []) +})); +dart.setGetterSignature(io._FileStream, () => ({ + __proto__: dart.getGetters(io._FileStream.__proto__), + [_controller]: async.StreamController$(typed_data.Uint8List), + [_openedFile]: io.RandomAccessFile +})); +dart.setSetterSignature(io._FileStream, () => ({ + __proto__: dart.getSetters(io._FileStream.__proto__), + [_controller]: async.StreamController$(typed_data.Uint8List), + [_openedFile]: io.RandomAccessFile +})); +dart.setLibraryUri(io._FileStream, I[105]); +dart.setFieldSignature(io._FileStream, () => ({ + __proto__: dart.getFields(io._FileStream.__proto__), + [___FileStream__controller]: dart.fieldType(dart.nullable(async.StreamController$(typed_data.Uint8List))), + [___FileStream__controller_isSet]: dart.fieldType(core.bool), + [_path$0]: dart.fieldType(dart.nullable(core.String)), + [___FileStream__openedFile]: dart.fieldType(dart.nullable(io.RandomAccessFile)), + [___FileStream__openedFile_isSet]: dart.fieldType(core.bool), + [_position$]: dart.fieldType(core.int), + [_end$]: dart.fieldType(dart.nullable(core.int)), + [_closeCompleter]: dart.finalFieldType(async.Completer), + [_unsubscribed]: dart.fieldType(core.bool), + [_readInProgress]: dart.fieldType(core.bool), + [_closed]: dart.fieldType(core.bool), + [_atEnd]: dart.fieldType(core.bool) +})); +var _file = dart.privateName(io, "_file"); +var _openFuture = dart.privateName(io, "_openFuture"); +io._FileStreamConsumer = class _FileStreamConsumer extends async.StreamConsumer$(core.List$(core.int)) { + addStream(stream) { + T$0.StreamOfListOfint().as(stream); + if (stream == null) dart.nullFailed(I[114], 169, 45, "stream"); + let completer = T$0.CompleterOfFileN().sync(); + this[_openFuture].then(core.Null, dart.fn(openedFile => { + if (openedFile == null) dart.nullFailed(I[114], 171, 23, "openedFile"); + let _subscription = null; + let _subscription$35isSet = false; + function _subscription$35get() { + return _subscription$35isSet ? _subscription : dart.throw(new _internal.LateError.localNI("_subscription")); + } + dart.fn(_subscription$35get, T$0.VoidToStreamSubscriptionOfListOfint()); + function _subscription$35set(t193) { + if (t193 == null) dart.nullFailed(I[114], 172, 42, "null"); + _subscription$35isSet = true; + return _subscription = t193; + } + dart.fn(_subscription$35set, T$0.StreamSubscriptionOfListOfintTodynamic()); + function error(e, stackTrace) { + if (stackTrace == null) dart.nullFailed(I[114], 173, 32, "stackTrace"); + _subscription$35get().cancel(); + openedFile.close(); + completer.completeError(core.Object.as(e), stackTrace); + } + dart.fn(error, T$0.dynamicAndStackTraceTovoid()); + _subscription$35set(stream.listen(dart.fn(d => { + if (d == null) dart.nullFailed(I[114], 179, 38, "d"); + _subscription$35get().pause(); + try { + openedFile.writeFrom(d, 0, d[$length]).then(dart.void, dart.fn(_ => { + if (_ == null) dart.nullFailed(I[114], 184, 22, "_"); + return _subscription$35get().resume(); + }, T$0.RandomAccessFileTovoid()), {onError: error}); + } catch (e$) { + let e = dart.getThrown(e$); + let stackTrace = dart.stackTrace(e$); + if (core.Object.is(e)) { + error(e, stackTrace); + } else + throw e$; + } + }, T$0.ListOfintTovoid()), {onDone: dart.fn(() => { + completer.complete(this[_file]); + }, T$.VoidTovoid()), onError: error, cancelOnError: true})); + }, T$0.RandomAccessFileToNull())).catchError(dart.bind(completer, 'completeError')); + return completer.future; + } + close() { + return this[_openFuture].then(dart.void, dart.fn(openedFile => { + if (openedFile == null) dart.nullFailed(I[114], 196, 25, "openedFile"); + return openedFile.close(); + }, T$0.RandomAccessFileToFutureOfvoid())).then(T$0.FileN(), dart.fn(_ => this[_file], T$0.voidToFileN())); + } +}; +(io._FileStreamConsumer.new = function(file, mode) { + if (file == null) dart.nullFailed(I[114], 162, 28, "file"); + if (mode == null) dart.nullFailed(I[114], 162, 43, "mode"); + this[_file] = file; + this[_openFuture] = file.open({mode: mode}); + ; +}).prototype = io._FileStreamConsumer.prototype; +(io._FileStreamConsumer.fromStdio = function(fd) { + if (fd == null) dart.nullFailed(I[114], 166, 37, "fd"); + this[_file] = null; + this[_openFuture] = T$0.FutureOfRandomAccessFile().value(io._File._openStdioSync(fd)); + ; +}).prototype = io._FileStreamConsumer.prototype; +dart.addTypeTests(io._FileStreamConsumer); +dart.addTypeCaches(io._FileStreamConsumer); +dart.setMethodSignature(io._FileStreamConsumer, () => ({ + __proto__: dart.getMethods(io._FileStreamConsumer.__proto__), + addStream: dart.fnType(async.Future$(dart.nullable(io.File)), [dart.nullable(core.Object)]), + close: dart.fnType(async.Future$(dart.nullable(io.File)), []) +})); +dart.setLibraryUri(io._FileStreamConsumer, I[105]); +dart.setFieldSignature(io._FileStreamConsumer, () => ({ + __proto__: dart.getFields(io._FileStreamConsumer.__proto__), + [_file]: dart.fieldType(dart.nullable(io.File)), + [_openFuture]: dart.fieldType(async.Future$(io.RandomAccessFile)) +})); +var _path$1 = dart.privateName(io, "_File._path"); +var _rawPath$0 = dart.privateName(io, "_File._rawPath"); +var _tryDecode = dart.privateName(io, "_tryDecode"); +io._File = class _File extends io.FileSystemEntity { + get [_path$0]() { + return this[_path$1]; + } + set [_path$0](value) { + super[_path$0] = value; + } + get [_rawPath$]() { + return this[_rawPath$0]; + } + set [_rawPath$](value) { + super[_rawPath$] = value; + } + get path() { + return this[_path$0]; + } + static _namespacePointer() { + return io._Namespace._namespacePointer; + } + static _dispatchWithNamespace(request, data) { + if (request == null) dart.nullFailed(I[114], 222, 44, "request"); + if (data == null) dart.nullFailed(I[114], 222, 58, "data"); + data[$_set](0, io._File._namespacePointer()); + return io._IOService._dispatch(request, data); + } + exists() { + return io._File._dispatchWithNamespace(0, [null, this[_rawPath$]]).then(core.bool, dart.fn(response => { + if (dart.test(io._isErrorResponse(response))) { + dart.throw(io._exceptionFromResponse(response, "Cannot check existence", this.path)); + } + return T$.FutureOrOfbool().as(response); + }, T$0.dynamicToFutureOrOfbool())); + } + static _exists(namespace, rawPath) { + if (namespace == null) dart.nullFailed(I[107], 111, 29, "namespace"); + if (rawPath == null) dart.nullFailed(I[107], 111, 50, "rawPath"); + dart.throw(new core.UnsupportedError.new("File._exists")); + } + existsSync() { + let result = io._File._exists(io._Namespace._namespace, this[_rawPath$]); + io._File.throwIfError(core.Object.as(result), "Cannot check existence of file", this.path); + return core.bool.as(result); + } + get absolute() { + return io.File.new(this[_absolutePath]); + } + create(opts) { + let recursive = opts && 'recursive' in opts ? opts.recursive : false; + if (recursive == null) dart.nullFailed(I[114], 247, 29, "recursive"); + let result = dart.test(recursive) ? this.parent.create({recursive: true}) : T$.FutureOfNull().value(null); + return result.then(dart.dynamic, dart.fn(_ => io._File._dispatchWithNamespace(1, [null, this[_rawPath$]]), T$0.DirectoryNToFuture())).then(io.File, dart.fn(response => { + if (dart.test(io._isErrorResponse(response))) { + dart.throw(io._exceptionFromResponse(response, "Cannot create file", this.path)); + } + return this; + }, T$0.dynamicTo_File())); + } + static _create(namespace, rawPath) { + if (namespace == null) dart.nullFailed(I[107], 116, 29, "namespace"); + if (rawPath == null) dart.nullFailed(I[107], 116, 50, "rawPath"); + dart.throw(new core.UnsupportedError.new("File._create")); + } + static _createLink(namespace, rawPath, target) { + if (namespace == null) dart.nullFailed(I[107], 121, 33, "namespace"); + if (rawPath == null) dart.nullFailed(I[107], 121, 54, "rawPath"); + if (target == null) dart.nullFailed(I[107], 121, 70, "target"); + dart.throw(new core.UnsupportedError.new("File._createLink")); + } + static _linkTarget(namespace, rawPath) { + if (namespace == null) dart.nullFailed(I[107], 126, 33, "namespace"); + if (rawPath == null) dart.nullFailed(I[107], 126, 54, "rawPath"); + dart.throw(new core.UnsupportedError.new("File._linkTarget")); + } + createSync(opts) { + let recursive = opts && 'recursive' in opts ? opts.recursive : false; + if (recursive == null) dart.nullFailed(I[114], 268, 25, "recursive"); + if (dart.test(recursive)) { + this.parent.createSync({recursive: true}); + } + let result = io._File._create(io._Namespace._namespace, this[_rawPath$]); + io._File.throwIfError(core.Object.as(result), "Cannot create file", this.path); + } + [_delete](opts) { + let recursive = opts && 'recursive' in opts ? opts.recursive : false; + if (recursive == null) dart.nullFailed(I[114], 276, 30, "recursive"); + if (dart.test(recursive)) { + return io.Directory.new(this.path).delete({recursive: true}).then(io.File, dart.fn(_ => { + if (_ == null) dart.nullFailed(I[114], 278, 64, "_"); + return this; + }, T$0.FileSystemEntityTo_File())); + } + return io._File._dispatchWithNamespace(2, [null, this[_rawPath$]]).then(io.File, dart.fn(response => { + if (dart.test(io._isErrorResponse(response))) { + dart.throw(io._exceptionFromResponse(response, "Cannot delete file", this.path)); + } + return this; + }, T$0.dynamicTo_File())); + } + static _deleteNative(namespace, rawPath) { + if (namespace == null) dart.nullFailed(I[107], 131, 35, "namespace"); + if (rawPath == null) dart.nullFailed(I[107], 131, 56, "rawPath"); + dart.throw(new core.UnsupportedError.new("File._deleteNative")); + } + static _deleteLinkNative(namespace, rawPath) { + if (namespace == null) dart.nullFailed(I[107], 136, 39, "namespace"); + if (rawPath == null) dart.nullFailed(I[107], 136, 60, "rawPath"); + dart.throw(new core.UnsupportedError.new("File._deleteLinkNative")); + } + [_deleteSync](opts) { + let recursive = opts && 'recursive' in opts ? opts.recursive : false; + if (recursive == null) dart.nullFailed(I[114], 293, 26, "recursive"); + if (dart.test(recursive)) { + return io.Directory.fromRawPath(this[_rawPath$]).deleteSync({recursive: true}); + } + let result = io._File._deleteNative(io._Namespace._namespace, this[_rawPath$]); + io._File.throwIfError(core.Object.as(result), "Cannot delete file", this.path); + } + rename(newPath) { + if (newPath == null) dart.nullFailed(I[114], 301, 30, "newPath"); + return io._File._dispatchWithNamespace(3, [null, this[_rawPath$], newPath]).then(io.File, dart.fn(response => { + if (dart.test(io._isErrorResponse(response))) { + dart.throw(io._exceptionFromResponse(response, "Cannot rename file to '" + dart.str(newPath) + "'", this.path)); + } + return io.File.new(newPath); + }, T$0.dynamicToFile())); + } + static _rename(namespace, oldPath, newPath) { + if (namespace == null) dart.nullFailed(I[107], 141, 29, "namespace"); + if (oldPath == null) dart.nullFailed(I[107], 141, 50, "oldPath"); + if (newPath == null) dart.nullFailed(I[107], 141, 66, "newPath"); + dart.throw(new core.UnsupportedError.new("File._rename")); + } + static _renameLink(namespace, oldPath, newPath) { + if (namespace == null) dart.nullFailed(I[107], 146, 33, "namespace"); + if (oldPath == null) dart.nullFailed(I[107], 146, 54, "oldPath"); + if (newPath == null) dart.nullFailed(I[107], 146, 70, "newPath"); + dart.throw(new core.UnsupportedError.new("File._renameLink")); + } + renameSync(newPath) { + if (newPath == null) dart.nullFailed(I[114], 318, 26, "newPath"); + let result = io._File._rename(io._Namespace._namespace, this[_rawPath$], newPath); + io._File.throwIfError(core.Object.as(result), "Cannot rename file to '" + dart.str(newPath) + "'", this.path); + return io.File.new(newPath); + } + copy(newPath) { + if (newPath == null) dart.nullFailed(I[114], 324, 28, "newPath"); + return io._File._dispatchWithNamespace(4, [null, this[_rawPath$], newPath]).then(io.File, dart.fn(response => { + if (dart.test(io._isErrorResponse(response))) { + dart.throw(io._exceptionFromResponse(response, "Cannot copy file to '" + dart.str(newPath) + "'", this.path)); + } + return io.File.new(newPath); + }, T$0.dynamicToFile())); + } + static _copy(namespace, oldPath, newPath) { + if (namespace == null) dart.nullFailed(I[107], 151, 27, "namespace"); + if (oldPath == null) dart.nullFailed(I[107], 151, 48, "oldPath"); + if (newPath == null) dart.nullFailed(I[107], 151, 64, "newPath"); + dart.throw(new core.UnsupportedError.new("File._copy")); + } + copySync(newPath) { + if (newPath == null) dart.nullFailed(I[114], 338, 24, "newPath"); + let result = io._File._copy(io._Namespace._namespace, this[_rawPath$], newPath); + io._File.throwIfError(core.Object.as(result), "Cannot copy file to '" + dart.str(newPath) + "'", this.path); + return io.File.new(newPath); + } + open(opts) { + let mode = opts && 'mode' in opts ? opts.mode : C[109] || CT.C109; + if (mode == null) dart.nullFailed(I[114], 344, 43, "mode"); + if (!dart.equals(mode, io.FileMode.read) && !dart.equals(mode, io.FileMode.write) && !dart.equals(mode, io.FileMode.append) && !dart.equals(mode, io.FileMode.writeOnly) && !dart.equals(mode, io.FileMode.writeOnlyAppend)) { + return T$0.FutureOfRandomAccessFile().error(new core.ArgumentError.new("Invalid file mode for this operation")); + } + return io._File._dispatchWithNamespace(5, [null, this[_rawPath$], mode[_mode]]).then(io.RandomAccessFile, dart.fn(response => { + if (dart.test(io._isErrorResponse(response))) { + dart.throw(io._exceptionFromResponse(response, "Cannot open file", this.path)); + } + return new io._RandomAccessFile.new(core.int.as(response), this.path); + }, T$0.dynamicTo_RandomAccessFile())); + } + length() { + return io._File._dispatchWithNamespace(12, [null, this[_rawPath$]]).then(core.int, dart.fn(response => { + if (dart.test(io._isErrorResponse(response))) { + dart.throw(io._exceptionFromResponse(response, "Cannot retrieve length of file", this.path)); + } + return T$0.FutureOrOfint().as(response); + }, T$0.dynamicToFutureOrOfint())); + } + static _lengthFromPath(namespace, rawPath) { + if (namespace == null) dart.nullFailed(I[107], 156, 37, "namespace"); + if (rawPath == null) dart.nullFailed(I[107], 156, 58, "rawPath"); + dart.throw(new core.UnsupportedError.new("File._lengthFromPath")); + } + lengthSync() { + let result = io._File._lengthFromPath(io._Namespace._namespace, this[_rawPath$]); + io._File.throwIfError(core.Object.as(result), "Cannot retrieve length of file", this.path); + return core.int.as(result); + } + lastAccessed() { + return io._File._dispatchWithNamespace(13, [null, this[_rawPath$]]).then(core.DateTime, dart.fn(response => { + if (dart.test(io._isErrorResponse(response))) { + dart.throw(io._exceptionFromResponse(response, "Cannot retrieve access time", this.path)); + } + return new core.DateTime.fromMillisecondsSinceEpoch(core.int.as(response)); + }, T$0.dynamicToDateTime())); + } + static _lastAccessed(namespace, rawPath) { + if (namespace == null) dart.nullFailed(I[107], 166, 35, "namespace"); + if (rawPath == null) dart.nullFailed(I[107], 166, 56, "rawPath"); + dart.throw(new core.UnsupportedError.new("File._lastAccessed")); + } + lastAccessedSync() { + let ms = io._File._lastAccessed(io._Namespace._namespace, this[_rawPath$]); + io._File.throwIfError(core.Object.as(ms), "Cannot retrieve access time", this.path); + return new core.DateTime.fromMillisecondsSinceEpoch(core.int.as(ms)); + } + setLastAccessed(time) { + if (time == null) dart.nullFailed(I[114], 400, 35, "time"); + let millis = time.millisecondsSinceEpoch; + return io._File._dispatchWithNamespace(14, [null, this[_rawPath$], millis]).then(dart.dynamic, dart.fn(response => { + if (dart.test(io._isErrorResponse(response))) { + dart.throw(io._exceptionFromResponse(response, "Cannot set access time", this.path)); + } + return null; + }, T$.dynamicToNull())); + } + static _setLastAccessed(namespace, rawPath, millis) { + if (namespace == null) dart.nullFailed(I[107], 176, 38, "namespace"); + if (rawPath == null) dart.nullFailed(I[107], 176, 59, "rawPath"); + if (millis == null) dart.nullFailed(I[107], 176, 72, "millis"); + dart.throw(new core.UnsupportedError.new("File._setLastAccessed")); + } + setLastAccessedSync(time) { + if (time == null) dart.nullFailed(I[114], 415, 37, "time"); + let millis = time.millisecondsSinceEpoch; + let result = io._File._setLastAccessed(io._Namespace._namespace, this[_rawPath$], millis); + if (io.OSError.is(result)) { + dart.throw(new io.FileSystemException.new("Failed to set file access time", this.path, result)); + } + } + lastModified() { + return io._File._dispatchWithNamespace(15, [null, this[_rawPath$]]).then(core.DateTime, dart.fn(response => { + if (dart.test(io._isErrorResponse(response))) { + dart.throw(io._exceptionFromResponse(response, "Cannot retrieve modification time", this.path)); + } + return new core.DateTime.fromMillisecondsSinceEpoch(core.int.as(response)); + }, T$0.dynamicToDateTime())); + } + static _lastModified(namespace, rawPath) { + if (namespace == null) dart.nullFailed(I[107], 161, 35, "namespace"); + if (rawPath == null) dart.nullFailed(I[107], 161, 56, "rawPath"); + dart.throw(new core.UnsupportedError.new("File._lastModified")); + } + lastModifiedSync() { + let ms = io._File._lastModified(io._Namespace._namespace, this[_rawPath$]); + io._File.throwIfError(core.Object.as(ms), "Cannot retrieve modification time", this.path); + return new core.DateTime.fromMillisecondsSinceEpoch(core.int.as(ms)); + } + setLastModified(time) { + if (time == null) dart.nullFailed(I[114], 443, 35, "time"); + let millis = time.millisecondsSinceEpoch; + return io._File._dispatchWithNamespace(16, [null, this[_rawPath$], millis]).then(dart.dynamic, dart.fn(response => { + if (dart.test(io._isErrorResponse(response))) { + dart.throw(io._exceptionFromResponse(response, "Cannot set modification time", this.path)); + } + return null; + }, T$.dynamicToNull())); + } + static _setLastModified(namespace, rawPath, millis) { + if (namespace == null) dart.nullFailed(I[107], 171, 38, "namespace"); + if (rawPath == null) dart.nullFailed(I[107], 171, 59, "rawPath"); + if (millis == null) dart.nullFailed(I[107], 171, 72, "millis"); + dart.throw(new core.UnsupportedError.new("File._setLastModified")); + } + setLastModifiedSync(time) { + if (time == null) dart.nullFailed(I[114], 459, 37, "time"); + let millis = time.millisecondsSinceEpoch; + let result = io._File._setLastModified(io._Namespace._namespace, this[_rawPath$], millis); + if (io.OSError.is(result)) { + dart.throw(new io.FileSystemException.new("Failed to set file modification time", this.path, result)); + } + } + static _open(namespace, rawPath, mode) { + if (namespace == null) dart.nullFailed(I[107], 181, 27, "namespace"); + if (rawPath == null) dart.nullFailed(I[107], 181, 48, "rawPath"); + if (mode == null) dart.nullFailed(I[107], 181, 61, "mode"); + dart.throw(new core.UnsupportedError.new("File._open")); + } + openSync(opts) { + let mode = opts && 'mode' in opts ? opts.mode : C[109] || CT.C109; + if (mode == null) dart.nullFailed(I[114], 470, 39, "mode"); + if (!dart.equals(mode, io.FileMode.read) && !dart.equals(mode, io.FileMode.write) && !dart.equals(mode, io.FileMode.append) && !dart.equals(mode, io.FileMode.writeOnly) && !dart.equals(mode, io.FileMode.writeOnlyAppend)) { + dart.throw(new core.ArgumentError.new("Invalid file mode for this operation")); + } + let id = io._File._open(io._Namespace._namespace, this[_rawPath$], mode[_mode]); + io._File.throwIfError(core.Object.as(id), "Cannot open file", this.path); + return new io._RandomAccessFile.new(core.int.as(id), this[_path$0]); + } + static _openStdio(fd) { + if (fd == null) dart.nullFailed(I[107], 186, 29, "fd"); + dart.throw(new core.UnsupportedError.new("File._openStdio")); + } + static _openStdioSync(fd) { + if (fd == null) dart.nullFailed(I[114], 485, 46, "fd"); + let id = io._File._openStdio(fd); + if (id === 0) { + dart.throw(new io.FileSystemException.new("Cannot open stdio file for: " + dart.str(fd))); + } + return new io._RandomAccessFile.new(id, ""); + } + openRead(start = null, end = null) { + return new io._FileStream.new(this.path, start, end); + } + openWrite(opts) { + let mode = opts && 'mode' in opts ? opts.mode : C[110] || CT.C110; + if (mode == null) dart.nullFailed(I[114], 497, 30, "mode"); + let encoding = opts && 'encoding' in opts ? opts.encoding : C[108] || CT.C108; + if (encoding == null) dart.nullFailed(I[114], 497, 62, "encoding"); + if (!dart.equals(mode, io.FileMode.write) && !dart.equals(mode, io.FileMode.append) && !dart.equals(mode, io.FileMode.writeOnly) && !dart.equals(mode, io.FileMode.writeOnlyAppend)) { + dart.throw(new core.ArgumentError.new("Invalid file mode for this operation")); + } + let consumer = new io._FileStreamConsumer.new(this, mode); + return io.IOSink.new(consumer, {encoding: encoding}); + } + readAsBytes() { + function readDataChunked(file) { + if (file == null) dart.nullFailed(I[114], 509, 56, "file"); + let builder = _internal.BytesBuilder.new({copy: false}); + let completer = T$0.CompleterOfUint8List().new(); + function read() { + file.read(65536).then(core.Null, dart.fn(data => { + if (data == null) dart.nullFailed(I[114], 513, 37, "data"); + if (dart.notNull(data[$length]) > 0) { + builder.add(data); + read(); + } else { + completer.complete(builder.takeBytes()); + } + }, T$0.Uint8ListToNull()), {onError: dart.bind(completer, 'completeError')}); + } + dart.fn(read, T$.VoidTovoid()); + read(); + return completer.future; + } + dart.fn(readDataChunked, T$0.RandomAccessFileToFutureOfUint8List()); + return this.open().then(typed_data.Uint8List, dart.fn(file => { + if (file == null) dart.nullFailed(I[114], 527, 25, "file"); + return file.length().then(typed_data.Uint8List, dart.fn(length => { + if (length == null) dart.nullFailed(I[114], 528, 34, "length"); + if (length === 0) { + return readDataChunked(file); + } + return file.read(length); + }, T$0.intToFutureOfUint8List())).whenComplete(dart.bind(file, 'close')); + }, T$0.RandomAccessFileToFutureOfUint8List())); + } + readAsBytesSync() { + let opened = this.openSync(); + try { + let data = null; + let length = opened.lengthSync(); + if (length === 0) { + let builder = _internal.BytesBuilder.new({copy: false}); + do { + data = opened.readSync(65536); + if (dart.notNull(data[$length]) > 0) builder.add(data); + } while (dart.notNull(data[$length]) > 0); + data = builder.takeBytes(); + } else { + data = opened.readSync(length); + } + return data; + } finally { + opened.closeSync(); + } + } + [_tryDecode](bytes, encoding) { + if (bytes == null) dart.nullFailed(I[114], 560, 31, "bytes"); + if (encoding == null) dart.nullFailed(I[114], 560, 47, "encoding"); + try { + return encoding.decode(bytes); + } catch (e) { + let _ = dart.getThrown(e); + if (core.Object.is(_)) { + dart.throw(new io.FileSystemException.new("Failed to decode data using encoding '" + dart.str(encoding.name) + "'", this.path)); + } else + throw e; + } + } + readAsString(opts) { + let encoding = opts && 'encoding' in opts ? opts.encoding : C[108] || CT.C108; + if (encoding == null) dart.nullFailed(I[114], 569, 41, "encoding"); + let stack = core.StackTrace.current; + return this.readAsBytes().then(core.String, dart.fn(bytes => { + if (bytes == null) dart.nullFailed(I[114], 574, 32, "bytes"); + try { + return this[_tryDecode](bytes, encoding); + } catch (e$) { + let e = dart.getThrown(e$); + if (core.Object.is(e)) { + return T$0.FutureOfString().error(e, stack); + } else + throw e$; + } + }, T$0.Uint8ListToFutureOrOfString())); + } + readAsStringSync(opts) { + let encoding = opts && 'encoding' in opts ? opts.encoding : C[108] || CT.C108; + if (encoding == null) dart.nullFailed(I[114], 583, 37, "encoding"); + return this[_tryDecode](this.readAsBytesSync(), encoding); + } + readAsLines(opts) { + let encoding = opts && 'encoding' in opts ? opts.encoding : C[108] || CT.C108; + if (encoding == null) dart.nullFailed(I[114], 586, 46, "encoding"); + return this.readAsString({encoding: encoding}).then(T$.ListOfString(), dart.bind(C[118] || CT.C118, 'convert')); + } + readAsLinesSync(opts) { + let encoding = opts && 'encoding' in opts ? opts.encoding : C[108] || CT.C108; + if (encoding == null) dart.nullFailed(I[114], 589, 42, "encoding"); + return (C[118] || CT.C118).convert(this.readAsStringSync({encoding: encoding})); + } + writeAsBytes(bytes, opts) { + if (bytes == null) dart.nullFailed(I[114], 592, 39, "bytes"); + let mode = opts && 'mode' in opts ? opts.mode : C[110] || CT.C110; + if (mode == null) dart.nullFailed(I[114], 593, 17, "mode"); + let flush = opts && 'flush' in opts ? opts.flush : false; + if (flush == null) dart.nullFailed(I[114], 593, 45, "flush"); + return this.open({mode: mode}).then(io.File, dart.fn(file => { + if (file == null) dart.nullFailed(I[114], 594, 35, "file"); + return file.writeFrom(bytes, 0, bytes[$length]).then(io.File, dart.fn(_ => { + if (_ == null) dart.nullFailed(I[114], 595, 65, "_"); + if (dart.test(flush)) return file.flush().then(io.File, dart.fn(_ => { + if (_ == null) dart.nullFailed(I[114], 596, 46, "_"); + return this; + }, T$0.RandomAccessFileTo_File())); + return this; + }, T$0.RandomAccessFileToFutureOrOfFile())).whenComplete(dart.bind(file, 'close')); + }, T$0.RandomAccessFileToFutureOfFile())); + } + writeAsBytesSync(bytes, opts) { + if (bytes == null) dart.nullFailed(I[114], 602, 35, "bytes"); + let mode = opts && 'mode' in opts ? opts.mode : C[110] || CT.C110; + if (mode == null) dart.nullFailed(I[114], 603, 17, "mode"); + let flush = opts && 'flush' in opts ? opts.flush : false; + if (flush == null) dart.nullFailed(I[114], 603, 45, "flush"); + let opened = this.openSync({mode: mode}); + try { + opened.writeFromSync(bytes, 0, bytes[$length]); + if (dart.test(flush)) opened.flushSync(); + } finally { + opened.closeSync(); + } + } + writeAsString(contents, opts) { + if (contents == null) dart.nullFailed(I[114], 613, 37, "contents"); + let mode = opts && 'mode' in opts ? opts.mode : C[110] || CT.C110; + if (mode == null) dart.nullFailed(I[114], 614, 17, "mode"); + let encoding = opts && 'encoding' in opts ? opts.encoding : C[108] || CT.C108; + if (encoding == null) dart.nullFailed(I[114], 615, 16, "encoding"); + let flush = opts && 'flush' in opts ? opts.flush : false; + if (flush == null) dart.nullFailed(I[114], 616, 12, "flush"); + try { + return this.writeAsBytes(encoding.encode(contents), {mode: mode, flush: flush}); + } catch (e$) { + let e = dart.getThrown(e$); + if (core.Object.is(e)) { + return T$0.FutureOfFile().error(e); + } else + throw e$; + } + } + writeAsStringSync(contents, opts) { + if (contents == null) dart.nullFailed(I[114], 624, 33, "contents"); + let mode = opts && 'mode' in opts ? opts.mode : C[110] || CT.C110; + if (mode == null) dart.nullFailed(I[114], 625, 17, "mode"); + let encoding = opts && 'encoding' in opts ? opts.encoding : C[108] || CT.C108; + if (encoding == null) dart.nullFailed(I[114], 626, 16, "encoding"); + let flush = opts && 'flush' in opts ? opts.flush : false; + if (flush == null) dart.nullFailed(I[114], 627, 12, "flush"); + this.writeAsBytesSync(encoding.encode(contents), {mode: mode, flush: flush}); + } + toString() { + return "File: '" + dart.str(this.path) + "'"; + } + static throwIfError(result, msg, path) { + if (result == null) dart.nullFailed(I[114], 633, 30, "result"); + if (msg == null) dart.nullFailed(I[114], 633, 45, "msg"); + if (path == null) dart.nullFailed(I[114], 633, 57, "path"); + if (io.OSError.is(result)) { + dart.throw(new io.FileSystemException.new(msg, path, result)); + } + } + static _checkNotNull(T, t, name) { + if (name == null) dart.nullFailed(I[114], 640, 41, "name"); + core.ArgumentError.checkNotNull(T, t, name); + return t; + } +}; +(io._File.new = function(path) { + if (path == null) dart.nullFailed(I[114], 204, 16, "path"); + this[_path$1] = io._File._checkNotNull(core.String, path, "path"); + this[_rawPath$0] = io.FileSystemEntity._toUtf8Array(path); + ; +}).prototype = io._File.prototype; +(io._File.fromRawPath = function(rawPath) { + if (rawPath == null) dart.nullFailed(I[114], 208, 31, "rawPath"); + this[_rawPath$0] = io.FileSystemEntity._toNullTerminatedUtf8Array(io._File._checkNotNull(typed_data.Uint8List, rawPath, "rawPath")); + this[_path$1] = io.FileSystemEntity._toStringFromUtf8Array(rawPath); + ; +}).prototype = io._File.prototype; +dart.addTypeTests(io._File); +dart.addTypeCaches(io._File); +io._File[dart.implements] = () => [io.File]; +dart.setMethodSignature(io._File, () => ({ + __proto__: dart.getMethods(io._File.__proto__), + exists: dart.fnType(async.Future$(core.bool), []), + existsSync: dart.fnType(core.bool, []), + create: dart.fnType(async.Future$(io.File), [], {recursive: core.bool}, {}), + createSync: dart.fnType(dart.void, [], {recursive: core.bool}, {}), + [_delete]: dart.fnType(async.Future$(io.File), [], {recursive: core.bool}, {}), + [_deleteSync]: dart.fnType(dart.void, [], {recursive: core.bool}, {}), + rename: dart.fnType(async.Future$(io.File), [core.String]), + renameSync: dart.fnType(io.File, [core.String]), + copy: dart.fnType(async.Future$(io.File), [core.String]), + copySync: dart.fnType(io.File, [core.String]), + open: dart.fnType(async.Future$(io.RandomAccessFile), [], {mode: io.FileMode}, {}), + length: dart.fnType(async.Future$(core.int), []), + lengthSync: dart.fnType(core.int, []), + lastAccessed: dart.fnType(async.Future$(core.DateTime), []), + lastAccessedSync: dart.fnType(core.DateTime, []), + setLastAccessed: dart.fnType(async.Future, [core.DateTime]), + setLastAccessedSync: dart.fnType(dart.void, [core.DateTime]), + lastModified: dart.fnType(async.Future$(core.DateTime), []), + lastModifiedSync: dart.fnType(core.DateTime, []), + setLastModified: dart.fnType(async.Future, [core.DateTime]), + setLastModifiedSync: dart.fnType(dart.void, [core.DateTime]), + openSync: dart.fnType(io.RandomAccessFile, [], {mode: io.FileMode}, {}), + openRead: dart.fnType(async.Stream$(core.List$(core.int)), [], [dart.nullable(core.int), dart.nullable(core.int)]), + openWrite: dart.fnType(io.IOSink, [], {encoding: convert.Encoding, mode: io.FileMode}, {}), + readAsBytes: dart.fnType(async.Future$(typed_data.Uint8List), []), + readAsBytesSync: dart.fnType(typed_data.Uint8List, []), + [_tryDecode]: dart.fnType(core.String, [core.List$(core.int), convert.Encoding]), + readAsString: dart.fnType(async.Future$(core.String), [], {encoding: convert.Encoding}, {}), + readAsStringSync: dart.fnType(core.String, [], {encoding: convert.Encoding}, {}), + readAsLines: dart.fnType(async.Future$(core.List$(core.String)), [], {encoding: convert.Encoding}, {}), + readAsLinesSync: dart.fnType(core.List$(core.String), [], {encoding: convert.Encoding}, {}), + writeAsBytes: dart.fnType(async.Future$(io.File), [core.List$(core.int)], {flush: core.bool, mode: io.FileMode}, {}), + writeAsBytesSync: dart.fnType(dart.void, [core.List$(core.int)], {flush: core.bool, mode: io.FileMode}, {}), + writeAsString: dart.fnType(async.Future$(io.File), [core.String], {encoding: convert.Encoding, flush: core.bool, mode: io.FileMode}, {}), + writeAsStringSync: dart.fnType(dart.void, [core.String], {encoding: convert.Encoding, flush: core.bool, mode: io.FileMode}, {}) +})); +dart.setGetterSignature(io._File, () => ({ + __proto__: dart.getGetters(io._File.__proto__), + path: core.String, + absolute: io.File +})); +dart.setLibraryUri(io._File, I[105]); +dart.setFieldSignature(io._File, () => ({ + __proto__: dart.getFields(io._File.__proto__), + [_path$0]: dart.finalFieldType(core.String), + [_rawPath$]: dart.finalFieldType(typed_data.Uint8List) +})); +dart.defineExtensionMethods(io._File, ['toString']); +io._RandomAccessFileOps = class _RandomAccessFileOps extends core.Object { + static new(pointer) { + if (pointer == null) dart.nullFailed(I[107], 212, 36, "pointer"); + dart.throw(new core.UnsupportedError.new("RandomAccessFile")); + } +}; +(io._RandomAccessFileOps[dart.mixinNew] = function() { +}).prototype = io._RandomAccessFileOps.prototype; +dart.addTypeTests(io._RandomAccessFileOps); +dart.addTypeCaches(io._RandomAccessFileOps); +dart.setLibraryUri(io._RandomAccessFileOps, I[105]); +var _asyncDispatched = dart.privateName(io, "_asyncDispatched"); +var ___RandomAccessFile__resourceInfo = dart.privateName(io, "_#_RandomAccessFile#_resourceInfo"); +var ___RandomAccessFile__resourceInfo_isSet = dart.privateName(io, "_#_RandomAccessFile#_resourceInfo#isSet"); +var _resourceInfo = dart.privateName(io, "_resourceInfo"); +var _maybeConnectHandler = dart.privateName(io, "_maybeConnectHandler"); +var _maybePerformCleanup = dart.privateName(io, "_maybePerformCleanup"); +var _dispatch = dart.privateName(io, "_dispatch"); +var _checkAvailable = dart.privateName(io, "_checkAvailable"); +var _fileLockValue = dart.privateName(io, "_fileLockValue"); +io._RandomAccessFile = class _RandomAccessFile extends core.Object { + get [_resourceInfo]() { + let t199; + return dart.test(this[___RandomAccessFile__resourceInfo_isSet]) ? (t199 = this[___RandomAccessFile__resourceInfo], t199) : dart.throw(new _internal.LateError.fieldNI("_resourceInfo")); + } + set [_resourceInfo](t199) { + if (t199 == null) dart.nullFailed(I[114], 671, 26, "null"); + this[___RandomAccessFile__resourceInfo_isSet] = true; + this[___RandomAccessFile__resourceInfo] = t199; + } + [_maybePerformCleanup]() { + if (dart.test(this.closed)) { + io._FileResourceInfo.fileClosed(this[_resourceInfo]); + } + } + [_maybeConnectHandler]() { + if (!dart.test(io._RandomAccessFile._connectedResourceHandler)) { + developer.registerExtension("ext.dart.io.getOpenFiles", C[119] || CT.C119); + developer.registerExtension("ext.dart.io.getOpenFileById", C[120] || CT.C120); + io._RandomAccessFile._connectedResourceHandler = true; + } + } + close() { + return this[_dispatch](7, [null], {markClosed: true}).then(dart.void, dart.fn(result => { + if (dart.equals(result, -1)) { + dart.throw(new io.FileSystemException.new("Cannot close file", this.path)); + } + this.closed = dart.test(this.closed) || dart.equals(result, 0); + this[_maybePerformCleanup](); + }, T$.dynamicToNull())); + } + closeSync() { + this[_checkAvailable](); + let id = this[_ops].close(); + if (id === -1) { + dart.throw(new io.FileSystemException.new("Cannot close file", this.path)); + } + this.closed = dart.test(this.closed) || id === 0; + this[_maybePerformCleanup](); + } + readByte() { + return this[_dispatch](18, [null]).then(core.int, dart.fn(response => { + if (dart.test(io._isErrorResponse(response))) { + dart.throw(io._exceptionFromResponse(response, "readByte failed", this.path)); + } + this[_resourceInfo].addRead(1); + return T$0.FutureOrOfint().as(response); + }, T$0.dynamicToFutureOrOfint())); + } + readByteSync() { + this[_checkAvailable](); + let result = this[_ops].readByte(); + if (io.OSError.is(result)) { + dart.throw(new io.FileSystemException.new("readByte failed", this.path, result)); + } + this[_resourceInfo].addRead(1); + return core.int.as(result); + } + read(bytes) { + if (bytes == null) dart.nullFailed(I[114], 741, 30, "bytes"); + core.ArgumentError.checkNotNull(core.int, bytes, "bytes"); + return this[_dispatch](20, [null, bytes]).then(typed_data.Uint8List, dart.fn(response => { + if (dart.test(io._isErrorResponse(response))) { + dart.throw(io._exceptionFromResponse(response, "read failed", this.path)); + } + this[_resourceInfo].addRead(core.int.as(dart.dload(dart.dsend(response, '_get', [1]), 'length'))); + let result = typed_data.Uint8List.as(dart.dsend(response, '_get', [1])); + return result; + }, T$0.dynamicToUint8List())); + } + readSync(bytes) { + if (bytes == null) dart.nullFailed(I[114], 754, 26, "bytes"); + core.ArgumentError.checkNotNull(core.int, bytes, "bytes"); + this[_checkAvailable](); + let result = this[_ops].read(bytes); + if (io.OSError.is(result)) { + dart.throw(new io.FileSystemException.new("readSync failed", this.path, result)); + } + this[_resourceInfo].addRead(core.int.as(dart.dload(result, 'length'))); + return typed_data.Uint8List.as(result); + } + readInto(buffer, start = 0, end = null) { + if (buffer == null) dart.nullFailed(I[114], 766, 34, "buffer"); + if (start == null) dart.nullFailed(I[114], 766, 47, "start"); + core.ArgumentError.checkNotNull(T$0.ListOfint(), buffer, "buffer"); + end = core.RangeError.checkValidRange(start, end, buffer[$length]); + if (end == start) { + return T$0.FutureOfint().value(0); + } + let length = dart.notNull(end) - dart.notNull(start); + return this[_dispatch](21, [null, length]).then(core.int, dart.fn(response => { + if (dart.test(io._isErrorResponse(response))) { + dart.throw(io._exceptionFromResponse(response, "readInto failed", this.path)); + } + let read = core.int.as(dart.dsend(response, '_get', [1])); + let data = T$0.ListOfint().as(dart.dsend(response, '_get', [2])); + buffer[$setRange](start, dart.notNull(start) + dart.notNull(read), data); + this[_resourceInfo].addRead(read); + return read; + }, T$0.dynamicToint())); + } + readIntoSync(buffer, start = 0, end = null) { + if (buffer == null) dart.nullFailed(I[114], 786, 30, "buffer"); + if (start == null) dart.nullFailed(I[114], 786, 43, "start"); + core.ArgumentError.checkNotNull(T$0.ListOfint(), buffer, "buffer"); + this[_checkAvailable](); + end = core.RangeError.checkValidRange(start, end, buffer[$length]); + if (end == start) { + return 0; + } + let result = this[_ops].readInto(buffer, start, end); + if (io.OSError.is(result)) { + dart.throw(new io.FileSystemException.new("readInto failed", this.path, result)); + } + this[_resourceInfo].addRead(core.int.as(result)); + return core.int.as(result); + } + writeByte(value) { + if (value == null) dart.nullFailed(I[114], 802, 42, "value"); + core.ArgumentError.checkNotNull(core.int, value, "value"); + return this[_dispatch](19, [null, value]).then(io.RandomAccessFile, dart.fn(response => { + if (dart.test(io._isErrorResponse(response))) { + dart.throw(io._exceptionFromResponse(response, "writeByte failed", this.path)); + } + this[_resourceInfo].addWrite(1); + return this; + }, T$0.dynamicTo_RandomAccessFile())); + } + writeByteSync(value) { + if (value == null) dart.nullFailed(I[114], 814, 25, "value"); + this[_checkAvailable](); + core.ArgumentError.checkNotNull(core.int, value, "value"); + let result = this[_ops].writeByte(value); + if (io.OSError.is(result)) { + dart.throw(new io.FileSystemException.new("writeByte failed", this.path, result)); + } + this[_resourceInfo].addWrite(1); + return core.int.as(result); + } + writeFrom(buffer, start = 0, end = null) { + if (buffer == null) dart.nullFailed(I[114], 826, 48, "buffer"); + if (start == null) dart.nullFailed(I[114], 827, 12, "start"); + core.ArgumentError.checkNotNull(T$0.ListOfint(), buffer, "buffer"); + core.ArgumentError.checkNotNull(core.int, start, "start"); + end = core.RangeError.checkValidRange(start, end, buffer[$length]); + if (end == start) { + return T$0.FutureOfRandomAccessFile().value(this); + } + let result = null; + try { + result = io._ensureFastAndSerializableByteData(buffer, start, end); + } catch (e$) { + let e = dart.getThrown(e$); + if (core.Object.is(e)) { + return T$0.FutureOfRandomAccessFile().error(e); + } else + throw e$; + } + let request = core.List.filled(4, null); + request[$_set](0, null); + request[$_set](1, result.buffer); + request[$_set](2, result.start); + request[$_set](3, dart.notNull(end) - (dart.notNull(start) - dart.notNull(result.start))); + return this[_dispatch](22, request).then(io.RandomAccessFile, dart.fn(response => { + if (dart.test(io._isErrorResponse(response))) { + dart.throw(io._exceptionFromResponse(response, "writeFrom failed", this.path)); + } + this[_resourceInfo].addWrite(dart.nullCheck(end) - (dart.notNull(start) - dart.notNull(result.start))); + return this; + }, T$0.dynamicTo_RandomAccessFile())); + } + writeFromSync(buffer, start = 0, end = null) { + if (buffer == null) dart.nullFailed(I[114], 856, 32, "buffer"); + if (start == null) dart.nullFailed(I[114], 856, 45, "start"); + this[_checkAvailable](); + core.ArgumentError.checkNotNull(T$0.ListOfint(), buffer, "buffer"); + core.ArgumentError.checkNotNull(core.int, start, "start"); + end = core.RangeError.checkValidRange(start, end, buffer[$length]); + if (end == start) { + return; + } + let bufferAndStart = io._ensureFastAndSerializableByteData(buffer, start, end); + let result = this[_ops].writeFrom(bufferAndStart.buffer, bufferAndStart.start, dart.notNull(end) - (dart.notNull(start) - dart.notNull(bufferAndStart.start))); + if (io.OSError.is(result)) { + dart.throw(new io.FileSystemException.new("writeFrom failed", this.path, result)); + } + this[_resourceInfo].addWrite(dart.notNull(end) - (dart.notNull(start) - dart.notNull(bufferAndStart.start))); + } + writeString(string, opts) { + if (string == null) dart.nullFailed(I[114], 875, 47, "string"); + let encoding = opts && 'encoding' in opts ? opts.encoding : C[108] || CT.C108; + if (encoding == null) dart.nullFailed(I[114], 876, 17, "encoding"); + core.ArgumentError.checkNotNull(convert.Encoding, encoding, "encoding"); + let data = encoding.encode(string); + return this.writeFrom(data, 0, data[$length]); + } + writeStringSync(string, opts) { + if (string == null) dart.nullFailed(I[114], 883, 31, "string"); + let encoding = opts && 'encoding' in opts ? opts.encoding : C[108] || CT.C108; + if (encoding == null) dart.nullFailed(I[114], 883, 49, "encoding"); + core.ArgumentError.checkNotNull(convert.Encoding, encoding, "encoding"); + let data = encoding.encode(string); + this.writeFromSync(data, 0, data[$length]); + } + position() { + return this[_dispatch](8, [null]).then(core.int, dart.fn(response => { + if (dart.test(io._isErrorResponse(response))) { + dart.throw(io._exceptionFromResponse(response, "position failed", this.path)); + } + return T$0.FutureOrOfint().as(response); + }, T$0.dynamicToFutureOrOfint())); + } + positionSync() { + this[_checkAvailable](); + let result = this[_ops].position(); + if (io.OSError.is(result)) { + dart.throw(new io.FileSystemException.new("position failed", this.path, result)); + } + return core.int.as(result); + } + setPosition(position) { + if (position == null) dart.nullFailed(I[114], 908, 44, "position"); + return this[_dispatch](9, [null, position]).then(io.RandomAccessFile, dart.fn(response => { + if (dart.test(io._isErrorResponse(response))) { + dart.throw(io._exceptionFromResponse(response, "setPosition failed", this.path)); + } + return this; + }, T$0.dynamicTo_RandomAccessFile())); + } + setPositionSync(position) { + if (position == null) dart.nullFailed(I[114], 918, 28, "position"); + this[_checkAvailable](); + let result = this[_ops].setPosition(position); + if (io.OSError.is(result)) { + dart.throw(new io.FileSystemException.new("setPosition failed", this.path, result)); + } + } + truncate(length) { + if (length == null) dart.nullFailed(I[114], 926, 41, "length"); + return this[_dispatch](10, [null, length]).then(io.RandomAccessFile, dart.fn(response => { + if (dart.test(io._isErrorResponse(response))) { + dart.throw(io._exceptionFromResponse(response, "truncate failed", this.path)); + } + return this; + }, T$0.dynamicTo_RandomAccessFile())); + } + truncateSync(length) { + if (length == null) dart.nullFailed(I[114], 935, 25, "length"); + this[_checkAvailable](); + let result = this[_ops].truncate(length); + if (io.OSError.is(result)) { + dart.throw(new io.FileSystemException.new("truncate failed", this.path, result)); + } + } + length() { + return this[_dispatch](11, [null]).then(core.int, dart.fn(response => { + if (dart.test(io._isErrorResponse(response))) { + dart.throw(io._exceptionFromResponse(response, "length failed", this.path)); + } + return T$0.FutureOrOfint().as(response); + }, T$0.dynamicToFutureOrOfint())); + } + lengthSync() { + this[_checkAvailable](); + let result = this[_ops].length(); + if (io.OSError.is(result)) { + dart.throw(new io.FileSystemException.new("length failed", this.path, result)); + } + return core.int.as(result); + } + flush() { + return this[_dispatch](17, [null]).then(io.RandomAccessFile, dart.fn(response => { + if (dart.test(io._isErrorResponse(response))) { + dart.throw(io._exceptionFromResponse(response, "flush failed", this.path)); + } + return this; + }, T$0.dynamicTo_RandomAccessFile())); + } + flushSync() { + this[_checkAvailable](); + let result = this[_ops].flush(); + if (io.OSError.is(result)) { + dart.throw(new io.FileSystemException.new("flush failed", this.path, result)); + } + } + [_fileLockValue](fl) { + if (fl == null) dart.nullFailed(I[114], 984, 31, "fl"); + return fl[_type]; + } + lock(mode = C[115] || CT.C115, start = 0, end = -1) { + if (mode == null) dart.nullFailed(I[114], 987, 17, "mode"); + if (start == null) dart.nullFailed(I[114], 987, 48, "start"); + if (end == null) dart.nullFailed(I[114], 987, 63, "end"); + core.ArgumentError.checkNotNull(io.FileLock, mode, "mode"); + core.ArgumentError.checkNotNull(core.int, start, "start"); + core.ArgumentError.checkNotNull(core.int, end, "end"); + if (dart.notNull(start) < 0 || dart.notNull(end) < -1 || end !== -1 && dart.notNull(start) >= dart.notNull(end)) { + dart.throw(new core.ArgumentError.new()); + } + let lock = this[_fileLockValue](mode); + return this[_dispatch](30, [null, lock, start, end]).then(io.RandomAccessFile, dart.fn(response => { + if (dart.test(io._isErrorResponse(response))) { + dart.throw(io._exceptionFromResponse(response, "lock failed", this.path)); + } + return this; + }, T$0.dynamicTo_RandomAccessFile())); + } + unlock(start = 0, end = -1) { + if (start == null) dart.nullFailed(I[114], 1005, 40, "start"); + if (end == null) dart.nullFailed(I[114], 1005, 55, "end"); + core.ArgumentError.checkNotNull(core.int, start, "start"); + core.ArgumentError.checkNotNull(core.int, end, "end"); + if (start == end) { + dart.throw(new core.ArgumentError.new()); + } + return this[_dispatch](30, [null, 0, start, end]).then(io.RandomAccessFile, dart.fn(response => { + if (dart.test(io._isErrorResponse(response))) { + dart.throw(io._exceptionFromResponse(response, "unlock failed", this.path)); + } + return this; + }, T$0.dynamicTo_RandomAccessFile())); + } + lockSync(mode = C[115] || CT.C115, start = 0, end = -1) { + if (mode == null) dart.nullFailed(I[114], 1022, 17, "mode"); + if (start == null) dart.nullFailed(I[114], 1022, 48, "start"); + if (end == null) dart.nullFailed(I[114], 1022, 63, "end"); + this[_checkAvailable](); + core.ArgumentError.checkNotNull(io.FileLock, mode, "mode"); + core.ArgumentError.checkNotNull(core.int, start, "start"); + core.ArgumentError.checkNotNull(core.int, end, "end"); + if (dart.notNull(start) < 0 || dart.notNull(end) < -1 || end !== -1 && dart.notNull(start) >= dart.notNull(end)) { + dart.throw(new core.ArgumentError.new()); + } + let lock = this[_fileLockValue](mode); + let result = this[_ops].lock(lock, start, end); + if (io.OSError.is(result)) { + dart.throw(new io.FileSystemException.new("lock failed", this.path, result)); + } + } + unlockSync(start = 0, end = -1) { + if (start == null) dart.nullFailed(I[114], 1038, 24, "start"); + if (end == null) dart.nullFailed(I[114], 1038, 39, "end"); + this[_checkAvailable](); + core.ArgumentError.checkNotNull(core.int, start, "start"); + core.ArgumentError.checkNotNull(core.int, end, "end"); + if (start == end) { + dart.throw(new core.ArgumentError.new()); + } + let result = this[_ops].lock(0, start, end); + if (io.OSError.is(result)) { + dart.throw(new io.FileSystemException.new("unlock failed", this.path, result)); + } + } + [_pointer]() { + return this[_ops].getPointer(); + } + [_dispatch](request, data, opts) { + if (request == null) dart.nullFailed(I[114], 1061, 24, "request"); + if (data == null) dart.nullFailed(I[114], 1061, 38, "data"); + let markClosed = opts && 'markClosed' in opts ? opts.markClosed : false; + if (markClosed == null) dart.nullFailed(I[114], 1061, 50, "markClosed"); + if (dart.test(this.closed)) { + return async.Future.error(new io.FileSystemException.new("File closed", this.path)); + } + if (dart.test(this[_asyncDispatched])) { + let msg = "An async operation is currently pending"; + return async.Future.error(new io.FileSystemException.new(msg, this.path)); + } + if (dart.test(markClosed)) { + this.closed = true; + } + this[_asyncDispatched] = true; + data[$_set](0, this[_pointer]()); + return io._IOService._dispatch(request, data).whenComplete(dart.fn(() => { + this[_asyncDispatched] = false; + }, T$.VoidToNull())); + } + [_checkAvailable]() { + if (dart.test(this[_asyncDispatched])) { + dart.throw(new io.FileSystemException.new("An async operation is currently pending", this.path)); + } + if (dart.test(this.closed)) { + dart.throw(new io.FileSystemException.new("File closed", this.path)); + } + } +}; +(io._RandomAccessFile.new = function(pointer, path) { + if (pointer == null) dart.nullFailed(I[114], 674, 25, "pointer"); + if (path == null) dart.nullFailed(I[114], 674, 39, "path"); + this[_asyncDispatched] = false; + this[___RandomAccessFile__resourceInfo] = null; + this[___RandomAccessFile__resourceInfo_isSet] = false; + this.closed = false; + this.path = path; + this[_ops] = io._RandomAccessFileOps.new(pointer); + this[_resourceInfo] = new io._FileResourceInfo.new(this); + this[_maybeConnectHandler](); +}).prototype = io._RandomAccessFile.prototype; +dart.addTypeTests(io._RandomAccessFile); +dart.addTypeCaches(io._RandomAccessFile); +io._RandomAccessFile[dart.implements] = () => [io.RandomAccessFile]; +dart.setMethodSignature(io._RandomAccessFile, () => ({ + __proto__: dart.getMethods(io._RandomAccessFile.__proto__), + [_maybePerformCleanup]: dart.fnType(dart.void, []), + [_maybeConnectHandler]: dart.fnType(dart.dynamic, []), + close: dart.fnType(async.Future$(dart.void), []), + closeSync: dart.fnType(dart.void, []), + readByte: dart.fnType(async.Future$(core.int), []), + readByteSync: dart.fnType(core.int, []), + read: dart.fnType(async.Future$(typed_data.Uint8List), [core.int]), + readSync: dart.fnType(typed_data.Uint8List, [core.int]), + readInto: dart.fnType(async.Future$(core.int), [core.List$(core.int)], [core.int, dart.nullable(core.int)]), + readIntoSync: dart.fnType(core.int, [core.List$(core.int)], [core.int, dart.nullable(core.int)]), + writeByte: dart.fnType(async.Future$(io.RandomAccessFile), [core.int]), + writeByteSync: dart.fnType(core.int, [core.int]), + writeFrom: dart.fnType(async.Future$(io.RandomAccessFile), [core.List$(core.int)], [core.int, dart.nullable(core.int)]), + writeFromSync: dart.fnType(dart.void, [core.List$(core.int)], [core.int, dart.nullable(core.int)]), + writeString: dart.fnType(async.Future$(io.RandomAccessFile), [core.String], {encoding: convert.Encoding}, {}), + writeStringSync: dart.fnType(dart.void, [core.String], {encoding: convert.Encoding}, {}), + position: dart.fnType(async.Future$(core.int), []), + positionSync: dart.fnType(core.int, []), + setPosition: dart.fnType(async.Future$(io.RandomAccessFile), [core.int]), + setPositionSync: dart.fnType(dart.void, [core.int]), + truncate: dart.fnType(async.Future$(io.RandomAccessFile), [core.int]), + truncateSync: dart.fnType(dart.void, [core.int]), + length: dart.fnType(async.Future$(core.int), []), + lengthSync: dart.fnType(core.int, []), + flush: dart.fnType(async.Future$(io.RandomAccessFile), []), + flushSync: dart.fnType(dart.void, []), + [_fileLockValue]: dart.fnType(core.int, [io.FileLock]), + lock: dart.fnType(async.Future$(io.RandomAccessFile), [], [io.FileLock, core.int, core.int]), + unlock: dart.fnType(async.Future$(io.RandomAccessFile), [], [core.int, core.int]), + lockSync: dart.fnType(dart.void, [], [io.FileLock, core.int, core.int]), + unlockSync: dart.fnType(dart.void, [], [core.int, core.int]), + [_pointer]: dart.fnType(core.int, []), + [_dispatch]: dart.fnType(async.Future, [core.int, core.List], {markClosed: core.bool}, {}), + [_checkAvailable]: dart.fnType(dart.void, []) +})); +dart.setGetterSignature(io._RandomAccessFile, () => ({ + __proto__: dart.getGetters(io._RandomAccessFile.__proto__), + [_resourceInfo]: io._FileResourceInfo +})); +dart.setSetterSignature(io._RandomAccessFile, () => ({ + __proto__: dart.getSetters(io._RandomAccessFile.__proto__), + [_resourceInfo]: io._FileResourceInfo +})); +dart.setLibraryUri(io._RandomAccessFile, I[105]); +dart.setFieldSignature(io._RandomAccessFile, () => ({ + __proto__: dart.getFields(io._RandomAccessFile.__proto__), + path: dart.finalFieldType(core.String), + [_asyncDispatched]: dart.fieldType(core.bool), + [___RandomAccessFile__resourceInfo]: dart.fieldType(dart.nullable(io._FileResourceInfo)), + [___RandomAccessFile__resourceInfo_isSet]: dart.fieldType(core.bool), + [_ops]: dart.fieldType(io._RandomAccessFileOps), + closed: dart.fieldType(core.bool) +})); +dart.defineLazy(io._RandomAccessFile, { + /*io._RandomAccessFile._connectedResourceHandler*/get _connectedResourceHandler() { + return false; + }, + set _connectedResourceHandler(_) {}, + /*io._RandomAccessFile.lockUnlock*/get lockUnlock() { + return 0; + } +}, false); +var _type$2 = dart.privateName(io, "FileSystemEntityType._type"); +io.FileSystemEntityType = class FileSystemEntityType extends core.Object { + get [_type]() { + return this[_type$2]; + } + set [_type](value) { + super[_type] = value; + } + static _lookup(type) { + if (type == null) dart.nullFailed(I[111], 39, 43, "type"); + return io.FileSystemEntityType._typeList[$_get](type); + } + toString() { + return (C[121] || CT.C121)[$_get](this[_type]); + } +}; +(io.FileSystemEntityType._internal = function(_type) { + if (_type == null) dart.nullFailed(I[111], 37, 45, "_type"); + this[_type$2] = _type; + ; +}).prototype = io.FileSystemEntityType.prototype; +dart.addTypeTests(io.FileSystemEntityType); +dart.addTypeCaches(io.FileSystemEntityType); +dart.setLibraryUri(io.FileSystemEntityType, I[105]); +dart.setFieldSignature(io.FileSystemEntityType, () => ({ + __proto__: dart.getFields(io.FileSystemEntityType.__proto__), + [_type]: dart.finalFieldType(core.int) +})); +dart.defineExtensionMethods(io.FileSystemEntityType, ['toString']); +dart.defineLazy(io.FileSystemEntityType, { + /*io.FileSystemEntityType.file*/get file() { + return C[122] || CT.C122; + }, + /*io.FileSystemEntityType.FILE*/get FILE() { + return C[122] || CT.C122; + }, + /*io.FileSystemEntityType.directory*/get directory() { + return C[123] || CT.C123; + }, + /*io.FileSystemEntityType.DIRECTORY*/get DIRECTORY() { + return C[123] || CT.C123; + }, + /*io.FileSystemEntityType.link*/get link() { + return C[124] || CT.C124; + }, + /*io.FileSystemEntityType.LINK*/get LINK() { + return C[124] || CT.C124; + }, + /*io.FileSystemEntityType.notFound*/get notFound() { + return C[125] || CT.C125; + }, + /*io.FileSystemEntityType.NOT_FOUND*/get NOT_FOUND() { + return C[125] || CT.C125; + }, + /*io.FileSystemEntityType._typeList*/get _typeList() { + return C[126] || CT.C126; + } +}, false); +var changed$ = dart.privateName(io, "FileStat.changed"); +var modified$ = dart.privateName(io, "FileStat.modified"); +var accessed$ = dart.privateName(io, "FileStat.accessed"); +var type$1 = dart.privateName(io, "FileStat.type"); +var mode$0 = dart.privateName(io, "FileStat.mode"); +var size$ = dart.privateName(io, "FileStat.size"); +io.FileStat = class FileStat extends core.Object { + get changed() { + return this[changed$]; + } + set changed(value) { + super.changed = value; + } + get modified() { + return this[modified$]; + } + set modified(value) { + super.modified = value; + } + get accessed() { + return this[accessed$]; + } + set accessed(value) { + super.accessed = value; + } + get type() { + return this[type$1]; + } + set type(value) { + super.type = value; + } + get mode() { + return this[mode$0]; + } + set mode(value) { + super.mode = value; + } + get size() { + return this[size$]; + } + set size(value) { + super.size = value; + } + static _statSync(namespace, path) { + if (namespace == null) dart.nullFailed(I[107], 84, 31, "namespace"); + if (path == null) dart.nullFailed(I[107], 84, 49, "path"); + dart.throw(new core.UnsupportedError.new("FileStat.stat")); + } + static statSync(path) { + if (path == null) dart.nullFailed(I[111], 99, 35, "path"); + let overrides = io.IOOverrides.current; + if (overrides == null) { + return io.FileStat._statSyncInternal(path); + } + return overrides.statSync(path); + } + static _statSyncInternal(path) { + if (path == null) dart.nullFailed(I[111], 107, 44, "path"); + if (dart.test(io.Platform.isWindows)) { + path = io.FileSystemEntity._trimTrailingPathSeparators(path); + } + let data = io.FileStat._statSync(io._Namespace._namespace, path); + if (io.OSError.is(data)) return io.FileStat._notFound; + return new io.FileStat._internal(new core.DateTime.fromMillisecondsSinceEpoch(core.int.as(dart.dsend(data, '_get', [1]))), new core.DateTime.fromMillisecondsSinceEpoch(core.int.as(dart.dsend(data, '_get', [2]))), new core.DateTime.fromMillisecondsSinceEpoch(core.int.as(dart.dsend(data, '_get', [3]))), io.FileSystemEntityType._lookup(core.int.as(dart.dsend(data, '_get', [0]))), core.int.as(dart.dsend(data, '_get', [4])), core.int.as(dart.dsend(data, '_get', [5]))); + } + static stat(path) { + if (path == null) dart.nullFailed(I[111], 127, 39, "path"); + let overrides = io.IOOverrides.current; + if (overrides == null) { + return io.FileStat._stat(path); + } + return overrides.stat(path); + } + static _stat(path) { + if (path == null) dart.nullFailed(I[111], 135, 40, "path"); + if (dart.test(io.Platform.isWindows)) { + path = io.FileSystemEntity._trimTrailingPathSeparators(path); + } + return io._File._dispatchWithNamespace(29, [null, path]).then(io.FileStat, dart.fn(response => { + if (dart.test(io._isErrorResponse(response))) { + return io.FileStat._notFound; + } + let data = core.List.as(dart.dsend(response, '_get', [1])); + return new io.FileStat._internal(new core.DateTime.fromMillisecondsSinceEpoch(core.int.as(data[$_get](1))), new core.DateTime.fromMillisecondsSinceEpoch(core.int.as(data[$_get](2))), new core.DateTime.fromMillisecondsSinceEpoch(core.int.as(data[$_get](3))), io.FileSystemEntityType._lookup(core.int.as(data[$_get](0))), core.int.as(data[$_get](4)), core.int.as(data[$_get](5))); + }, T$0.dynamicToFileStat())); + } + toString() { + return "FileStat: type " + dart.str(this.type) + "\n changed " + dart.str(this.changed) + "\n modified " + dart.str(this.modified) + "\n accessed " + dart.str(this.accessed) + "\n mode " + dart.str(this.modeString()) + "\n size " + dart.str(this.size); + } + modeString() { + let t201; + let permissions = dart.notNull(this.mode) & 4095; + let codes = C[127] || CT.C127; + let result = []; + if ((permissions & 2048) !== 0) result[$add]("(suid) "); + if ((permissions & 1024) !== 0) result[$add]("(guid) "); + if ((permissions & 512) !== 0) result[$add]("(sticky) "); + t201 = result; + (() => { + t201[$add](codes[$_get](permissions >> 6 & 7)); + t201[$add](codes[$_get](permissions >> 3 & 7)); + t201[$add](codes[$_get](permissions & 7)); + return t201; + })(); + return result[$join](); + } +}; +(io.FileStat._internal = function(changed, modified, accessed, type, mode, size) { + if (changed == null) dart.nullFailed(I[111], 89, 27, "changed"); + if (modified == null) dart.nullFailed(I[111], 89, 41, "modified"); + if (accessed == null) dart.nullFailed(I[111], 89, 56, "accessed"); + if (type == null) dart.nullFailed(I[111], 89, 71, "type"); + if (mode == null) dart.nullFailed(I[111], 90, 12, "mode"); + if (size == null) dart.nullFailed(I[111], 90, 23, "size"); + this[changed$] = changed; + this[modified$] = modified; + this[accessed$] = accessed; + this[type$1] = type; + this[mode$0] = mode; + this[size$] = size; + ; +}).prototype = io.FileStat.prototype; +dart.addTypeTests(io.FileStat); +dart.addTypeCaches(io.FileStat); +dart.setMethodSignature(io.FileStat, () => ({ + __proto__: dart.getMethods(io.FileStat.__proto__), + modeString: dart.fnType(core.String, []) +})); +dart.setLibraryUri(io.FileStat, I[105]); +dart.setFieldSignature(io.FileStat, () => ({ + __proto__: dart.getFields(io.FileStat.__proto__), + changed: dart.finalFieldType(core.DateTime), + modified: dart.finalFieldType(core.DateTime), + accessed: dart.finalFieldType(core.DateTime), + type: dart.finalFieldType(io.FileSystemEntityType), + mode: dart.finalFieldType(core.int), + size: dart.finalFieldType(core.int) +})); +dart.defineExtensionMethods(io.FileStat, ['toString']); +dart.defineLazy(io.FileStat, { + /*io.FileStat._type*/get _type() { + return 0; + }, + /*io.FileStat._changedTime*/get _changedTime() { + return 1; + }, + /*io.FileStat._modifiedTime*/get _modifiedTime() { + return 2; + }, + /*io.FileStat._accessedTime*/get _accessedTime() { + return 3; + }, + /*io.FileStat._mode*/get _mode() { + return 4; + }, + /*io.FileStat._size*/get _size() { + return 5; + }, + /*io.FileStat._epoch*/get _epoch() { + return new core.DateTime.fromMillisecondsSinceEpoch(0, {isUtc: true}); + }, + /*io.FileStat._notFound*/get _notFound() { + return new io.FileStat._internal(io.FileStat._epoch, io.FileStat._epoch, io.FileStat._epoch, io.FileSystemEntityType.notFound, 0, -1); + } +}, false); +var type$2 = dart.privateName(io, "FileSystemEvent.type"); +var path$0 = dart.privateName(io, "FileSystemEvent.path"); +var isDirectory$ = dart.privateName(io, "FileSystemEvent.isDirectory"); +io.FileSystemEvent = class FileSystemEvent extends core.Object { + get type() { + return this[type$2]; + } + set type(value) { + super.type = value; + } + get path() { + return this[path$0]; + } + set path(value) { + super.path = value; + } + get isDirectory() { + return this[isDirectory$]; + } + set isDirectory(value) { + super.isDirectory = value; + } +}; +(io.FileSystemEvent.__ = function(type, path, isDirectory) { + if (type == null) dart.nullFailed(I[111], 905, 26, "type"); + if (path == null) dart.nullFailed(I[111], 905, 37, "path"); + if (isDirectory == null) dart.nullFailed(I[111], 905, 48, "isDirectory"); + this[type$2] = type; + this[path$0] = path; + this[isDirectory$] = isDirectory; + ; +}).prototype = io.FileSystemEvent.prototype; +dart.addTypeTests(io.FileSystemEvent); +dart.addTypeCaches(io.FileSystemEvent); +dart.setLibraryUri(io.FileSystemEvent, I[105]); +dart.setFieldSignature(io.FileSystemEvent, () => ({ + __proto__: dart.getFields(io.FileSystemEvent.__proto__), + type: dart.finalFieldType(core.int), + path: dart.finalFieldType(core.String), + isDirectory: dart.finalFieldType(core.bool) +})); +dart.defineLazy(io.FileSystemEvent, { + /*io.FileSystemEvent.create*/get create() { + return 1; + }, + /*io.FileSystemEvent.CREATE*/get CREATE() { + return 1; + }, + /*io.FileSystemEvent.modify*/get modify() { + return 2; + }, + /*io.FileSystemEvent.MODIFY*/get MODIFY() { + return 2; + }, + /*io.FileSystemEvent.delete*/get delete() { + return 4; + }, + /*io.FileSystemEvent.DELETE*/get DELETE() { + return 4; + }, + /*io.FileSystemEvent.move*/get move() { + return 8; + }, + /*io.FileSystemEvent.MOVE*/get MOVE() { + return 8; + }, + /*io.FileSystemEvent.all*/get all() { + return 15; + }, + /*io.FileSystemEvent.ALL*/get ALL() { + return 15; + }, + /*io.FileSystemEvent._modifyAttributes*/get _modifyAttributes() { + return 16; + }, + /*io.FileSystemEvent._deleteSelf*/get _deleteSelf() { + return 32; + }, + /*io.FileSystemEvent._isDir*/get _isDir() { + return 64; + } +}, false); +io.FileSystemCreateEvent = class FileSystemCreateEvent extends io.FileSystemEvent { + toString() { + return "FileSystemCreateEvent('" + dart.str(this.path) + "')"; + } +}; +(io.FileSystemCreateEvent.__ = function(path, isDirectory) { + io.FileSystemCreateEvent.__proto__.__.call(this, 1, core.String.as(path), core.bool.as(isDirectory)); + ; +}).prototype = io.FileSystemCreateEvent.prototype; +dart.addTypeTests(io.FileSystemCreateEvent); +dart.addTypeCaches(io.FileSystemCreateEvent); +dart.setLibraryUri(io.FileSystemCreateEvent, I[105]); +dart.defineExtensionMethods(io.FileSystemCreateEvent, ['toString']); +var contentChanged$ = dart.privateName(io, "FileSystemModifyEvent.contentChanged"); +io.FileSystemModifyEvent = class FileSystemModifyEvent extends io.FileSystemEvent { + get contentChanged() { + return this[contentChanged$]; + } + set contentChanged(value) { + super.contentChanged = value; + } + toString() { + return "FileSystemModifyEvent('" + dart.str(this.path) + "', contentChanged=" + dart.str(this.contentChanged) + ")"; + } +}; +(io.FileSystemModifyEvent.__ = function(path, isDirectory, contentChanged) { + if (contentChanged == null) dart.nullFailed(I[111], 922, 51, "contentChanged"); + this[contentChanged$] = contentChanged; + io.FileSystemModifyEvent.__proto__.__.call(this, 2, core.String.as(path), core.bool.as(isDirectory)); + ; +}).prototype = io.FileSystemModifyEvent.prototype; +dart.addTypeTests(io.FileSystemModifyEvent); +dart.addTypeCaches(io.FileSystemModifyEvent); +dart.setLibraryUri(io.FileSystemModifyEvent, I[105]); +dart.setFieldSignature(io.FileSystemModifyEvent, () => ({ + __proto__: dart.getFields(io.FileSystemModifyEvent.__proto__), + contentChanged: dart.finalFieldType(core.bool) +})); +dart.defineExtensionMethods(io.FileSystemModifyEvent, ['toString']); +io.FileSystemDeleteEvent = class FileSystemDeleteEvent extends io.FileSystemEvent { + toString() { + return "FileSystemDeleteEvent('" + dart.str(this.path) + "')"; + } +}; +(io.FileSystemDeleteEvent.__ = function(path, isDirectory) { + io.FileSystemDeleteEvent.__proto__.__.call(this, 4, core.String.as(path), core.bool.as(isDirectory)); + ; +}).prototype = io.FileSystemDeleteEvent.prototype; +dart.addTypeTests(io.FileSystemDeleteEvent); +dart.addTypeCaches(io.FileSystemDeleteEvent); +dart.setLibraryUri(io.FileSystemDeleteEvent, I[105]); +dart.defineExtensionMethods(io.FileSystemDeleteEvent, ['toString']); +var destination$ = dart.privateName(io, "FileSystemMoveEvent.destination"); +io.FileSystemMoveEvent = class FileSystemMoveEvent extends io.FileSystemEvent { + get destination() { + return this[destination$]; + } + set destination(value) { + super.destination = value; + } + toString() { + let buffer = new core.StringBuffer.new(); + buffer.write("FileSystemMoveEvent('" + dart.str(this.path) + "'"); + if (this.destination != null) buffer.write(", '" + dart.str(this.destination) + "'"); + buffer.write(")"); + return buffer.toString(); + } +}; +(io.FileSystemMoveEvent.__ = function(path, isDirectory, destination) { + this[destination$] = destination; + io.FileSystemMoveEvent.__proto__.__.call(this, 8, core.String.as(path), core.bool.as(isDirectory)); + ; +}).prototype = io.FileSystemMoveEvent.prototype; +dart.addTypeTests(io.FileSystemMoveEvent); +dart.addTypeCaches(io.FileSystemMoveEvent); +dart.setLibraryUri(io.FileSystemMoveEvent, I[105]); +dart.setFieldSignature(io.FileSystemMoveEvent, () => ({ + __proto__: dart.getFields(io.FileSystemMoveEvent.__proto__), + destination: dart.finalFieldType(dart.nullable(core.String)) +})); +dart.defineExtensionMethods(io.FileSystemMoveEvent, ['toString']); +io._FileSystemWatcher = class _FileSystemWatcher extends core.Object { + static _watch(path, events, recursive) { + if (path == null) dart.nullFailed(I[107], 691, 14, "path"); + if (events == null) dart.nullFailed(I[107], 691, 24, "events"); + if (recursive == null) dart.nullFailed(I[107], 691, 37, "recursive"); + dart.throw(new core.UnsupportedError.new("_FileSystemWatcher.watch")); + } + static get isSupported() { + dart.throw(new core.UnsupportedError.new("_FileSystemWatcher.isSupported")); + } +}; +(io._FileSystemWatcher.new = function() { + ; +}).prototype = io._FileSystemWatcher.prototype; +dart.addTypeTests(io._FileSystemWatcher); +dart.addTypeCaches(io._FileSystemWatcher); +dart.setLibraryUri(io._FileSystemWatcher, I[105]); +io._IOResourceInfo = class _IOResourceInfo extends core.Object { + static get timestamp() { + return dart.notNull(io._IOResourceInfo._startTime) + (dart.notNull(io._IOResourceInfo._sw.elapsedMicroseconds) / 1000)[$truncate](); + } + get referenceValueMap() { + return new (T$0.IdentityMapOfString$dynamic()).from(["type", "@" + dart.str(this.type), "id", this.id, "name", this.name]); + } + static getNextID() { + let t201; + t201 = io._IOResourceInfo._count; + io._IOResourceInfo._count = dart.notNull(t201) + 1; + return t201; + } +}; +(io._IOResourceInfo.new = function(type) { + if (type == null) dart.nullFailed(I[115], 18, 24, "type"); + this.type = type; + this.id = io._IOResourceInfo.getNextID(); + ; +}).prototype = io._IOResourceInfo.prototype; +dart.addTypeTests(io._IOResourceInfo); +dart.addTypeCaches(io._IOResourceInfo); +dart.setGetterSignature(io._IOResourceInfo, () => ({ + __proto__: dart.getGetters(io._IOResourceInfo.__proto__), + referenceValueMap: core.Map$(core.String, dart.dynamic) +})); +dart.setLibraryUri(io._IOResourceInfo, I[105]); +dart.setFieldSignature(io._IOResourceInfo, () => ({ + __proto__: dart.getFields(io._IOResourceInfo.__proto__), + type: dart.finalFieldType(core.String), + id: dart.finalFieldType(core.int) +})); +dart.defineLazy(io._IOResourceInfo, { + /*io._IOResourceInfo._count*/get _count() { + return 0; + }, + set _count(_) {}, + /*io._IOResourceInfo._sw*/get _sw() { + let t201; + return t201 = new core.Stopwatch.new(), (() => { + t201.start(); + return t201; + })(); + }, + /*io._IOResourceInfo._startTime*/get _startTime() { + return new core.DateTime.now().millisecondsSinceEpoch; + } +}, false); +io._ReadWriteResourceInfo = class _ReadWriteResourceInfo extends io._IOResourceInfo { + addRead(bytes) { + if (bytes == null) dart.nullFailed(I[115], 47, 20, "bytes"); + this.readBytes = dart.notNull(this.readBytes) + dart.notNull(bytes); + this.readCount = dart.notNull(this.readCount) + 1; + this.lastReadTime = io._IOResourceInfo.timestamp; + } + didRead() { + this.addRead(0); + } + addWrite(bytes) { + if (bytes == null) dart.nullFailed(I[115], 60, 21, "bytes"); + this.writeBytes = dart.notNull(this.writeBytes) + dart.notNull(bytes); + this.writeCount = dart.notNull(this.writeCount) + 1; + this.lastWriteTime = io._IOResourceInfo.timestamp; + } + get fullValueMap() { + return new (T$0.IdentityMapOfString$dynamic()).from(["type", this.type, "id", this.id, "name", this.name, "readBytes", this.readBytes, "writeBytes", this.writeBytes, "readCount", this.readCount, "writeCount", this.writeCount, "lastReadTime", this.lastReadTime, "lastWriteTime", this.lastWriteTime]); + } +}; +(io._ReadWriteResourceInfo.new = function(type) { + if (type == null) dart.nullFailed(I[115], 66, 33, "type"); + this.readBytes = 0; + this.writeBytes = 0; + this.readCount = 0; + this.writeCount = 0; + this.lastReadTime = 0; + this.lastWriteTime = 0; + io._ReadWriteResourceInfo.__proto__.new.call(this, type); + ; +}).prototype = io._ReadWriteResourceInfo.prototype; +dart.addTypeTests(io._ReadWriteResourceInfo); +dart.addTypeCaches(io._ReadWriteResourceInfo); +dart.setMethodSignature(io._ReadWriteResourceInfo, () => ({ + __proto__: dart.getMethods(io._ReadWriteResourceInfo.__proto__), + addRead: dart.fnType(dart.void, [core.int]), + didRead: dart.fnType(dart.void, []), + addWrite: dart.fnType(dart.void, [core.int]) +})); +dart.setGetterSignature(io._ReadWriteResourceInfo, () => ({ + __proto__: dart.getGetters(io._ReadWriteResourceInfo.__proto__), + fullValueMap: core.Map$(core.String, dart.dynamic) +})); +dart.setLibraryUri(io._ReadWriteResourceInfo, I[105]); +dart.setFieldSignature(io._ReadWriteResourceInfo, () => ({ + __proto__: dart.getFields(io._ReadWriteResourceInfo.__proto__), + readBytes: dart.fieldType(core.int), + writeBytes: dart.fieldType(core.int), + readCount: dart.fieldType(core.int), + writeCount: dart.fieldType(core.int), + lastReadTime: dart.fieldType(core.int), + lastWriteTime: dart.fieldType(core.int) +})); +io._FileResourceInfo = class _FileResourceInfo extends io._ReadWriteResourceInfo { + static fileOpened(info) { + if (info == null) dart.nullFailed(I[115], 99, 39, "info"); + if (!!dart.test(io._FileResourceInfo.openFiles[$containsKey](info.id))) dart.assertFailed(null, I[115], 100, 12, "!openFiles.containsKey(info.id)"); + io._FileResourceInfo.openFiles[$_set](info.id, info); + } + static fileClosed(info) { + if (info == null) dart.nullFailed(I[115], 104, 39, "info"); + if (!dart.test(io._FileResourceInfo.openFiles[$containsKey](info.id))) dart.assertFailed(null, I[115], 105, 12, "openFiles.containsKey(info.id)"); + io._FileResourceInfo.openFiles[$remove](info.id); + } + static getOpenFilesList() { + return T$0.ListOfMapOfString$dynamic().from(io._FileResourceInfo.openFiles[$values][$map](dart.dynamic, dart.fn(e => { + if (e == null) dart.nullFailed(I[115], 111, 8, "e"); + return e.referenceValueMap; + }, T$0._FileResourceInfoToMapOfString$dynamic()))); + } + static getOpenFiles($function, params) { + if (!dart.equals($function, "ext.dart.io.getOpenFiles")) dart.assertFailed(null, I[115], 116, 12, "function == 'ext.dart.io.getOpenFiles'"); + let data = new (T$.IdentityMapOfString$Object()).from(["type", "OpenFileList", "files", io._FileResourceInfo.getOpenFilesList()]); + let jsonValue = convert.json.encode(data); + return T$0.FutureOfServiceExtensionResponse().value(new developer.ServiceExtensionResponse.result(jsonValue)); + } + get fileInfoMap() { + return this.fullValueMap; + } + static getOpenFileInfoMapByID($function, params) { + let id = core.int.parse(core.String.as(dart.nullCheck(dart.dsend(params, '_get', ["id"])))); + let result = dart.test(io._FileResourceInfo.openFiles[$containsKey](id)) ? dart.nullCheck(io._FileResourceInfo.openFiles[$_get](id)).fileInfoMap : new _js_helper.LinkedMap.new(); + let jsonValue = convert.json.encode(result); + return T$0.FutureOfServiceExtensionResponse().value(new developer.ServiceExtensionResponse.result(jsonValue)); + } + get name() { + return core.String.as(dart.dload(this.file, 'path')); + } +}; +(io._FileResourceInfo.new = function(file) { + this.file = file; + io._FileResourceInfo.__proto__.new.call(this, "OpenFile"); + io._FileResourceInfo.fileOpened(this); +}).prototype = io._FileResourceInfo.prototype; +dart.addTypeTests(io._FileResourceInfo); +dart.addTypeCaches(io._FileResourceInfo); +dart.setGetterSignature(io._FileResourceInfo, () => ({ + __proto__: dart.getGetters(io._FileResourceInfo.__proto__), + fileInfoMap: core.Map$(core.String, dart.dynamic), + name: core.String +})); +dart.setLibraryUri(io._FileResourceInfo, I[105]); +dart.setFieldSignature(io._FileResourceInfo, () => ({ + __proto__: dart.getFields(io._FileResourceInfo.__proto__), + file: dart.finalFieldType(dart.dynamic) +})); +dart.defineLazy(io._FileResourceInfo, { + /*io._FileResourceInfo._type*/get _type() { + return "OpenFile"; + }, + /*io._FileResourceInfo.openFiles*/get openFiles() { + return new (T$0.IdentityMapOfint$_FileResourceInfo()).new(); + }, + set openFiles(_) {} +}, false); +var _arguments$2 = dart.privateName(io, "_arguments"); +var _workingDirectory = dart.privateName(io, "_workingDirectory"); +io._SpawnedProcessResourceInfo = class _SpawnedProcessResourceInfo extends io._IOResourceInfo { + get name() { + return core.String.as(dart.dload(this.process, _path$0)); + } + stopped() { + return io._SpawnedProcessResourceInfo.processStopped(this); + } + get fullValueMap() { + return new (T$0.IdentityMapOfString$dynamic()).from(["type", this.type, "id", this.id, "name", this.name, "pid", dart.dload(this.process, 'pid'), "startedAt", this.startedAt, "arguments", dart.dload(this.process, _arguments$2), "workingDirectory", dart.dload(this.process, _workingDirectory) == null ? "." : dart.dload(this.process, _workingDirectory)]); + } + static processStarted(info) { + if (info == null) dart.nullFailed(I[115], 167, 53, "info"); + if (!!dart.test(io._SpawnedProcessResourceInfo.startedProcesses[$containsKey](info.id))) dart.assertFailed(null, I[115], 168, 12, "!startedProcesses.containsKey(info.id)"); + io._SpawnedProcessResourceInfo.startedProcesses[$_set](info.id, info); + } + static processStopped(info) { + if (info == null) dart.nullFailed(I[115], 172, 53, "info"); + if (!dart.test(io._SpawnedProcessResourceInfo.startedProcesses[$containsKey](info.id))) dart.assertFailed(null, I[115], 173, 12, "startedProcesses.containsKey(info.id)"); + io._SpawnedProcessResourceInfo.startedProcesses[$remove](info.id); + } + static getStartedProcessesList() { + return T$0.ListOfMapOfString$dynamic().from(io._SpawnedProcessResourceInfo.startedProcesses[$values][$map](dart.dynamic, dart.fn(e => { + if (e == null) dart.nullFailed(I[115], 179, 10, "e"); + return e.referenceValueMap; + }, T$0._SpawnedProcessResourceInfoToMapOfString$dynamic()))); + } + static getStartedProcesses($function, params) { + if ($function == null) dart.nullFailed(I[115], 183, 14, "function"); + if (params == null) dart.nullFailed(I[115], 183, 44, "params"); + if (!($function === "ext.dart.io.getSpawnedProcesses")) dart.assertFailed(null, I[115], 184, 12, "function == 'ext.dart.io.getSpawnedProcesses'"); + let data = new (T$.IdentityMapOfString$Object()).from(["type", "SpawnedProcessList", "processes", io._SpawnedProcessResourceInfo.getStartedProcessesList()]); + let jsonValue = convert.json.encode(data); + return T$0.FutureOfServiceExtensionResponse().value(new developer.ServiceExtensionResponse.result(jsonValue)); + } + static getProcessInfoMapById($function, params) { + if ($function == null) dart.nullFailed(I[115], 194, 14, "function"); + if (params == null) dart.nullFailed(I[115], 194, 44, "params"); + let id = core.int.parse(dart.nullCheck(params[$_get]("id"))); + let result = dart.test(io._SpawnedProcessResourceInfo.startedProcesses[$containsKey](id)) ? dart.nullCheck(io._SpawnedProcessResourceInfo.startedProcesses[$_get](id)).fullValueMap : new _js_helper.LinkedMap.new(); + let jsonValue = convert.json.encode(result); + return T$0.FutureOfServiceExtensionResponse().value(new developer.ServiceExtensionResponse.result(jsonValue)); + } +}; +(io._SpawnedProcessResourceInfo.new = function(process) { + this.process = process; + this.startedAt = io._IOResourceInfo.timestamp; + io._SpawnedProcessResourceInfo.__proto__.new.call(this, "SpawnedProcess"); + io._SpawnedProcessResourceInfo.processStarted(this); +}).prototype = io._SpawnedProcessResourceInfo.prototype; +dart.addTypeTests(io._SpawnedProcessResourceInfo); +dart.addTypeCaches(io._SpawnedProcessResourceInfo); +dart.setMethodSignature(io._SpawnedProcessResourceInfo, () => ({ + __proto__: dart.getMethods(io._SpawnedProcessResourceInfo.__proto__), + stopped: dart.fnType(dart.void, []) +})); +dart.setGetterSignature(io._SpawnedProcessResourceInfo, () => ({ + __proto__: dart.getGetters(io._SpawnedProcessResourceInfo.__proto__), + name: core.String, + fullValueMap: core.Map$(core.String, dart.dynamic) +})); +dart.setLibraryUri(io._SpawnedProcessResourceInfo, I[105]); +dart.setFieldSignature(io._SpawnedProcessResourceInfo, () => ({ + __proto__: dart.getFields(io._SpawnedProcessResourceInfo.__proto__), + process: dart.finalFieldType(dart.dynamic), + startedAt: dart.finalFieldType(core.int) +})); +dart.defineLazy(io._SpawnedProcessResourceInfo, { + /*io._SpawnedProcessResourceInfo._type*/get _type() { + return "SpawnedProcess"; + }, + /*io._SpawnedProcessResourceInfo.startedProcesses*/get startedProcesses() { + return new (T$0.LinkedMapOfint$_SpawnedProcessResourceInfo()).new(); + }, + set startedProcesses(_) {} +}, false); +var __IOSink_encoding = dart.privateName(io, "_#IOSink#encoding"); +var __IOSink_encoding_isSet = dart.privateName(io, "_#IOSink#encoding#isSet"); +io.IOSink = class IOSink extends core.Object { + static new(target, opts) { + if (target == null) dart.nullFailed(I[116], 23, 44, "target"); + let encoding = opts && 'encoding' in opts ? opts.encoding : C[108] || CT.C108; + if (encoding == null) dart.nullFailed(I[116], 24, 21, "encoding"); + return new io._IOSinkImpl.new(target, encoding); + } + get encoding() { + let t201; + return dart.test(this[__IOSink_encoding_isSet]) ? (t201 = this[__IOSink_encoding], t201) : dart.throw(new _internal.LateError.fieldNI("encoding")); + } + set encoding(t201) { + if (t201 == null) dart.nullFailed(I[116], 30, 17, "null"); + this[__IOSink_encoding_isSet] = true; + this[__IOSink_encoding] = t201; + } +}; +(io.IOSink[dart.mixinNew] = function() { + this[__IOSink_encoding] = null; + this[__IOSink_encoding_isSet] = false; +}).prototype = io.IOSink.prototype; +dart.addTypeTests(io.IOSink); +dart.addTypeCaches(io.IOSink); +io.IOSink[dart.implements] = () => [async.StreamSink$(core.List$(core.int)), core.StringSink]; +dart.setGetterSignature(io.IOSink, () => ({ + __proto__: dart.getGetters(io.IOSink.__proto__), + encoding: convert.Encoding +})); +dart.setSetterSignature(io.IOSink, () => ({ + __proto__: dart.getSetters(io.IOSink.__proto__), + encoding: convert.Encoding +})); +dart.setLibraryUri(io.IOSink, I[105]); +dart.setFieldSignature(io.IOSink, () => ({ + __proto__: dart.getFields(io.IOSink.__proto__), + [__IOSink_encoding]: dart.fieldType(dart.nullable(convert.Encoding)), + [__IOSink_encoding_isSet]: dart.fieldType(core.bool) +})); +var _doneCompleter = dart.privateName(io, "_doneCompleter"); +var _controllerInstance = dart.privateName(io, "_controllerInstance"); +var _controllerCompleter = dart.privateName(io, "_controllerCompleter"); +var _isClosed$ = dart.privateName(io, "_isClosed"); +var _isBound = dart.privateName(io, "_isBound"); +var _hasError$ = dart.privateName(io, "_hasError"); +var _target$0 = dart.privateName(io, "_target"); +var _closeTarget = dart.privateName(io, "_closeTarget"); +var _completeDoneValue = dart.privateName(io, "_completeDoneValue"); +var _completeDoneError = dart.privateName(io, "_completeDoneError"); +const _is__StreamSinkImpl_default = Symbol('_is__StreamSinkImpl_default'); +io._StreamSinkImpl$ = dart.generic(T => { + var StreamOfT = () => (StreamOfT = dart.constFn(async.Stream$(T)))(); + var StreamControllerOfT = () => (StreamControllerOfT = dart.constFn(async.StreamController$(T)))(); + class _StreamSinkImpl extends core.Object { + add(data) { + T.as(data); + if (dart.test(this[_isClosed$])) { + dart.throw(new core.StateError.new("StreamSink is closed")); + } + this[_controller].add(data); + } + addError(error, stackTrace = null) { + if (error == null) dart.nullFailed(I[116], 139, 17, "error"); + if (dart.test(this[_isClosed$])) { + dart.throw(new core.StateError.new("StreamSink is closed")); + } + this[_controller].addError(error, stackTrace); + } + addStream(stream) { + let t202; + StreamOfT().as(stream); + if (stream == null) dart.nullFailed(I[116], 146, 30, "stream"); + if (dart.test(this[_isBound])) { + dart.throw(new core.StateError.new("StreamSink is already bound to a stream")); + } + if (dart.test(this[_hasError$])) return this.done; + this[_isBound] = true; + let future = this[_controllerCompleter] == null ? this[_target$0].addStream(stream) : dart.nullCheck(this[_controllerCompleter]).future.then(dart.dynamic, dart.fn(_ => this[_target$0].addStream(stream), T$.dynamicToFuture())); + t202 = this[_controllerInstance]; + t202 == null ? null : t202.close(); + return future.whenComplete(dart.fn(() => { + this[_isBound] = false; + }, T$.VoidToNull())); + } + flush() { + if (dart.test(this[_isBound])) { + dart.throw(new core.StateError.new("StreamSink is bound to a stream")); + } + if (this[_controllerInstance] == null) return async.Future.value(this); + this[_isBound] = true; + let future = dart.nullCheck(this[_controllerCompleter]).future; + dart.nullCheck(this[_controllerInstance]).close(); + return future.whenComplete(dart.fn(() => { + this[_isBound] = false; + }, T$.VoidToNull())); + } + close() { + if (dart.test(this[_isBound])) { + dart.throw(new core.StateError.new("StreamSink is bound to a stream")); + } + if (!dart.test(this[_isClosed$])) { + this[_isClosed$] = true; + if (this[_controllerInstance] != null) { + dart.nullCheck(this[_controllerInstance]).close(); + } else { + this[_closeTarget](); + } + } + return this.done; + } + [_closeTarget]() { + this[_target$0].close().then(dart.void, dart.bind(this, _completeDoneValue), {onError: dart.bind(this, _completeDoneError)}); + } + get done() { + return this[_doneCompleter].future; + } + [_completeDoneValue](value) { + if (!dart.test(this[_doneCompleter].isCompleted)) { + this[_doneCompleter].complete(value); + } + } + [_completeDoneError](error, stackTrace) { + if (!dart.test(this[_doneCompleter].isCompleted)) { + this[_hasError$] = true; + this[_doneCompleter].completeError(core.Object.as(error), stackTrace); + } + } + get [_controller]() { + if (dart.test(this[_isBound])) { + dart.throw(new core.StateError.new("StreamSink is bound to a stream")); + } + if (dart.test(this[_isClosed$])) { + dart.throw(new core.StateError.new("StreamSink is closed")); + } + if (this[_controllerInstance] == null) { + this[_controllerInstance] = StreamControllerOfT().new({sync: true}); + this[_controllerCompleter] = async.Completer.new(); + this[_target$0].addStream(this[_controller].stream).then(core.Null, dart.fn(_ => { + if (dart.test(this[_isBound])) { + dart.nullCheck(this[_controllerCompleter]).complete(this); + this[_controllerCompleter] = null; + this[_controllerInstance] = null; + } else { + this[_closeTarget](); + } + }, T$.dynamicToNull()), {onError: dart.fn((error, stackTrace) => { + if (dart.test(this[_isBound])) { + dart.nullCheck(this[_controllerCompleter]).completeError(core.Object.as(error), T$.StackTraceN().as(stackTrace)); + this[_controllerCompleter] = null; + this[_controllerInstance] = null; + } else { + this[_completeDoneError](error, T$.StackTraceN().as(stackTrace)); + } + }, T$.dynamicAnddynamicToNull())}); + } + return dart.nullCheck(this[_controllerInstance]); + } + } + (_StreamSinkImpl.new = function(_target) { + if (_target == null) dart.nullFailed(I[116], 130, 24, "_target"); + this[_doneCompleter] = async.Completer.new(); + this[_controllerInstance] = null; + this[_controllerCompleter] = null; + this[_isClosed$] = false; + this[_isBound] = false; + this[_hasError$] = false; + this[_target$0] = _target; + ; + }).prototype = _StreamSinkImpl.prototype; + dart.addTypeTests(_StreamSinkImpl); + _StreamSinkImpl.prototype[_is__StreamSinkImpl_default] = true; + dart.addTypeCaches(_StreamSinkImpl); + _StreamSinkImpl[dart.implements] = () => [async.StreamSink$(T)]; + dart.setMethodSignature(_StreamSinkImpl, () => ({ + __proto__: dart.getMethods(_StreamSinkImpl.__proto__), + add: dart.fnType(dart.void, [dart.nullable(core.Object)]), + addError: dart.fnType(dart.void, [core.Object], [dart.nullable(core.StackTrace)]), + addStream: dart.fnType(async.Future, [dart.nullable(core.Object)]), + flush: dart.fnType(async.Future, []), + close: dart.fnType(async.Future, []), + [_closeTarget]: dart.fnType(dart.void, []), + [_completeDoneValue]: dart.fnType(dart.void, [dart.dynamic]), + [_completeDoneError]: dart.fnType(dart.void, [dart.dynamic, dart.nullable(core.StackTrace)]) + })); + dart.setGetterSignature(_StreamSinkImpl, () => ({ + __proto__: dart.getGetters(_StreamSinkImpl.__proto__), + done: async.Future, + [_controller]: async.StreamController$(T) + })); + dart.setLibraryUri(_StreamSinkImpl, I[105]); + dart.setFieldSignature(_StreamSinkImpl, () => ({ + __proto__: dart.getFields(_StreamSinkImpl.__proto__), + [_target$0]: dart.finalFieldType(async.StreamConsumer$(T)), + [_doneCompleter]: dart.finalFieldType(async.Completer), + [_controllerInstance]: dart.fieldType(dart.nullable(async.StreamController$(T))), + [_controllerCompleter]: dart.fieldType(dart.nullable(async.Completer)), + [_isClosed$]: dart.fieldType(core.bool), + [_isBound]: dart.fieldType(core.bool), + [_hasError$]: dart.fieldType(core.bool) + })); + return _StreamSinkImpl; +}); +io._StreamSinkImpl = io._StreamSinkImpl$(); +dart.addTypeTests(io._StreamSinkImpl, _is__StreamSinkImpl_default); +var _encodingMutable = dart.privateName(io, "_encodingMutable"); +var _encoding$ = dart.privateName(io, "_encoding"); +io._IOSinkImpl = class _IOSinkImpl extends io._StreamSinkImpl$(core.List$(core.int)) { + get encoding() { + return this[_encoding$]; + } + set encoding(value) { + if (value == null) dart.nullFailed(I[116], 259, 30, "value"); + if (!dart.test(this[_encodingMutable])) { + dart.throw(new core.StateError.new("IOSink encoding is not mutable")); + } + this[_encoding$] = value; + } + write(obj) { + let string = dart.str(obj); + if (string[$isEmpty]) return; + this.add(this[_encoding$].encode(string)); + } + writeAll(objects, separator = "") { + if (objects == null) dart.nullFailed(I[116], 272, 26, "objects"); + if (separator == null) dart.nullFailed(I[116], 272, 43, "separator"); + let iterator = objects[$iterator]; + if (!dart.test(iterator.moveNext())) return; + if (separator[$isEmpty]) { + do { + this.write(iterator.current); + } while (dart.test(iterator.moveNext())); + } else { + this.write(iterator.current); + while (dart.test(iterator.moveNext())) { + this.write(separator); + this.write(iterator.current); + } + } + } + writeln(object = "") { + this.write(object); + this.write("\n"); + } + writeCharCode(charCode) { + if (charCode == null) dart.nullFailed(I[116], 293, 26, "charCode"); + this.write(core.String.fromCharCode(charCode)); + } +}; +(io._IOSinkImpl.new = function(target, _encoding) { + if (target == null) dart.nullFailed(I[116], 255, 41, "target"); + if (_encoding == null) dart.nullFailed(I[116], 255, 54, "_encoding"); + this[_encodingMutable] = true; + this[_encoding$] = _encoding; + io._IOSinkImpl.__proto__.new.call(this, target); + ; +}).prototype = io._IOSinkImpl.prototype; +dart.addTypeTests(io._IOSinkImpl); +dart.addTypeCaches(io._IOSinkImpl); +io._IOSinkImpl[dart.implements] = () => [io.IOSink]; +dart.setMethodSignature(io._IOSinkImpl, () => ({ + __proto__: dart.getMethods(io._IOSinkImpl.__proto__), + write: dart.fnType(dart.void, [dart.nullable(core.Object)]), + writeAll: dart.fnType(dart.void, [core.Iterable], [core.String]), + writeln: dart.fnType(dart.void, [], [dart.nullable(core.Object)]), + writeCharCode: dart.fnType(dart.void, [core.int]) +})); +dart.setGetterSignature(io._IOSinkImpl, () => ({ + __proto__: dart.getGetters(io._IOSinkImpl.__proto__), + encoding: convert.Encoding +})); +dart.setSetterSignature(io._IOSinkImpl, () => ({ + __proto__: dart.getSetters(io._IOSinkImpl.__proto__), + encoding: convert.Encoding +})); +dart.setLibraryUri(io._IOSinkImpl, I[105]); +dart.setFieldSignature(io._IOSinkImpl, () => ({ + __proto__: dart.getFields(io._IOSinkImpl.__proto__), + [_encoding$]: dart.fieldType(convert.Encoding), + [_encodingMutable]: dart.fieldType(core.bool) +})); +io._IOService = class _IOService extends core.Object { + static _dispatch(request, data) { + if (request == null) dart.nullFailed(I[107], 704, 31, "request"); + if (data == null) dart.nullFailed(I[107], 704, 45, "data"); + dart.throw(new core.UnsupportedError.new("_IOService._dispatch")); + } +}; +(io._IOService.new = function() { + ; +}).prototype = io._IOService.prototype; +dart.addTypeTests(io._IOService); +dart.addTypeCaches(io._IOService); +dart.setLibraryUri(io._IOService, I[105]); +dart.defineLazy(io._IOService, { + /*io._IOService.fileExists*/get fileExists() { + return 0; + }, + /*io._IOService.fileCreate*/get fileCreate() { + return 1; + }, + /*io._IOService.fileDelete*/get fileDelete() { + return 2; + }, + /*io._IOService.fileRename*/get fileRename() { + return 3; + }, + /*io._IOService.fileCopy*/get fileCopy() { + return 4; + }, + /*io._IOService.fileOpen*/get fileOpen() { + return 5; + }, + /*io._IOService.fileResolveSymbolicLinks*/get fileResolveSymbolicLinks() { + return 6; + }, + /*io._IOService.fileClose*/get fileClose() { + return 7; + }, + /*io._IOService.filePosition*/get filePosition() { + return 8; + }, + /*io._IOService.fileSetPosition*/get fileSetPosition() { + return 9; + }, + /*io._IOService.fileTruncate*/get fileTruncate() { + return 10; + }, + /*io._IOService.fileLength*/get fileLength() { + return 11; + }, + /*io._IOService.fileLengthFromPath*/get fileLengthFromPath() { + return 12; + }, + /*io._IOService.fileLastAccessed*/get fileLastAccessed() { + return 13; + }, + /*io._IOService.fileSetLastAccessed*/get fileSetLastAccessed() { + return 14; + }, + /*io._IOService.fileLastModified*/get fileLastModified() { + return 15; + }, + /*io._IOService.fileSetLastModified*/get fileSetLastModified() { + return 16; + }, + /*io._IOService.fileFlush*/get fileFlush() { + return 17; + }, + /*io._IOService.fileReadByte*/get fileReadByte() { + return 18; + }, + /*io._IOService.fileWriteByte*/get fileWriteByte() { + return 19; + }, + /*io._IOService.fileRead*/get fileRead() { + return 20; + }, + /*io._IOService.fileReadInto*/get fileReadInto() { + return 21; + }, + /*io._IOService.fileWriteFrom*/get fileWriteFrom() { + return 22; + }, + /*io._IOService.fileCreateLink*/get fileCreateLink() { + return 23; + }, + /*io._IOService.fileDeleteLink*/get fileDeleteLink() { + return 24; + }, + /*io._IOService.fileRenameLink*/get fileRenameLink() { + return 25; + }, + /*io._IOService.fileLinkTarget*/get fileLinkTarget() { + return 26; + }, + /*io._IOService.fileType*/get fileType() { + return 27; + }, + /*io._IOService.fileIdentical*/get fileIdentical() { + return 28; + }, + /*io._IOService.fileStat*/get fileStat() { + return 29; + }, + /*io._IOService.fileLock*/get fileLock() { + return 30; + }, + /*io._IOService.socketLookup*/get socketLookup() { + return 31; + }, + /*io._IOService.socketListInterfaces*/get socketListInterfaces() { + return 32; + }, + /*io._IOService.socketReverseLookup*/get socketReverseLookup() { + return 33; + }, + /*io._IOService.directoryCreate*/get directoryCreate() { + return 34; + }, + /*io._IOService.directoryDelete*/get directoryDelete() { + return 35; + }, + /*io._IOService.directoryExists*/get directoryExists() { + return 36; + }, + /*io._IOService.directoryCreateTemp*/get directoryCreateTemp() { + return 37; + }, + /*io._IOService.directoryListStart*/get directoryListStart() { + return 38; + }, + /*io._IOService.directoryListNext*/get directoryListNext() { + return 39; + }, + /*io._IOService.directoryListStop*/get directoryListStop() { + return 40; + }, + /*io._IOService.directoryRename*/get directoryRename() { + return 41; + }, + /*io._IOService.sslProcessFilter*/get sslProcessFilter() { + return 42; + } +}, false); +io.Link = class Link extends core.Object { + static new(path) { + if (path == null) dart.nullFailed(I[117], 12, 23, "path"); + let overrides = io.IOOverrides.current; + if (overrides == null) { + return new io._Link.new(path); + } + return overrides.createLink(path); + } + static fromRawPath(rawPath) { + if (rawPath == null) dart.nullFailed(I[117], 21, 38, "rawPath"); + return new io._Link.fromRawPath(rawPath); + } + static fromUri(uri) { + if (uri == null) dart.nullFailed(I[117], 33, 28, "uri"); + return io.Link.new(uri.toFilePath()); + } +}; +(io.Link[dart.mixinNew] = function() { +}).prototype = io.Link.prototype; +dart.addTypeTests(io.Link); +dart.addTypeCaches(io.Link); +io.Link[dart.implements] = () => [io.FileSystemEntity]; +dart.setLibraryUri(io.Link, I[105]); +var _path$2 = dart.privateName(io, "_Link._path"); +var _rawPath$1 = dart.privateName(io, "_Link._rawPath"); +var _exceptionFromResponse = dart.privateName(io, "_exceptionFromResponse"); +io._Link = class _Link extends io.FileSystemEntity { + get [_path$0]() { + return this[_path$2]; + } + set [_path$0](value) { + super[_path$0] = value; + } + get [_rawPath$]() { + return this[_rawPath$1]; + } + set [_rawPath$](value) { + super[_rawPath$] = value; + } + get path() { + return this[_path$0]; + } + toString() { + return "Link: '" + dart.str(this.path) + "'"; + } + exists() { + return io.FileSystemEntity._isLinkRaw(this[_rawPath$]); + } + existsSync() { + return io.FileSystemEntity._isLinkRawSync(this[_rawPath$]); + } + get absolute() { + return dart.test(this.isAbsolute) ? this : new io._Link.new(this[_absolutePath]); + } + create(target, opts) { + if (target == null) dart.nullFailed(I[117], 164, 30, "target"); + let recursive = opts && 'recursive' in opts ? opts.recursive : false; + if (recursive == null) dart.nullFailed(I[117], 164, 44, "recursive"); + let result = dart.test(recursive) ? this.parent.create({recursive: true}) : T$.FutureOfNull().value(null); + return result.then(dart.dynamic, dart.fn(_ => io._File._dispatchWithNamespace(23, [null, this[_rawPath$], target]), T$0.DirectoryNToFuture())).then(io.Link, dart.fn(response => { + if (dart.test(this[_isErrorResponse](response))) { + dart.throw(this[_exceptionFromResponse](response, "Cannot create link to target '" + dart.str(target) + "'", this.path)); + } + return this; + }, T$0.dynamicTo_Link())); + } + createSync(target, opts) { + if (target == null) dart.nullFailed(I[117], 179, 26, "target"); + let recursive = opts && 'recursive' in opts ? opts.recursive : false; + if (recursive == null) dart.nullFailed(I[117], 179, 40, "recursive"); + if (dart.test(recursive)) { + this.parent.createSync({recursive: true}); + } + let result = io._File._createLink(io._Namespace._namespace, this[_rawPath$], target); + io._Link.throwIfError(result, "Cannot create link", this.path); + } + updateSync(target) { + if (target == null) dart.nullFailed(I[117], 187, 26, "target"); + this.deleteSync(); + this.createSync(target); + } + update(target) { + if (target == null) dart.nullFailed(I[117], 196, 30, "target"); + return this.delete().then(io.Link, dart.fn(_ => { + if (_ == null) dart.nullFailed(I[117], 201, 33, "_"); + return this.create(target); + }, T$0.FileSystemEntityToFutureOfLink())); + } + [_delete](opts) { + let recursive = opts && 'recursive' in opts ? opts.recursive : false; + if (recursive == null) dart.nullFailed(I[117], 204, 30, "recursive"); + if (dart.test(recursive)) { + return io.Directory.fromRawPath(this[_rawPath$]).delete({recursive: true}).then(io.Link, dart.fn(_ => { + if (_ == null) dart.nullFailed(I[117], 208, 18, "_"); + return this; + }, T$0.FileSystemEntityTo_Link())); + } + return io._File._dispatchWithNamespace(24, [null, this[_rawPath$]]).then(io.Link, dart.fn(response => { + if (dart.test(this[_isErrorResponse](response))) { + dart.throw(this[_exceptionFromResponse](response, "Cannot delete link", this.path)); + } + return this; + }, T$0.dynamicTo_Link())); + } + [_deleteSync](opts) { + let recursive = opts && 'recursive' in opts ? opts.recursive : false; + if (recursive == null) dart.nullFailed(I[117], 219, 26, "recursive"); + if (dart.test(recursive)) { + return io.Directory.fromRawPath(this[_rawPath$]).deleteSync({recursive: true}); + } + let result = io._File._deleteLinkNative(io._Namespace._namespace, this[_rawPath$]); + io._Link.throwIfError(result, "Cannot delete link", this.path); + } + rename(newPath) { + if (newPath == null) dart.nullFailed(I[117], 227, 30, "newPath"); + return io._File._dispatchWithNamespace(25, [null, this[_rawPath$], newPath]).then(io.Link, dart.fn(response => { + if (dart.test(this[_isErrorResponse](response))) { + dart.throw(this[_exceptionFromResponse](response, "Cannot rename link to '" + dart.str(newPath) + "'", this.path)); + } + return io.Link.new(newPath); + }, T$0.dynamicToLink())); + } + renameSync(newPath) { + if (newPath == null) dart.nullFailed(I[117], 238, 26, "newPath"); + let result = io._File._renameLink(io._Namespace._namespace, this[_rawPath$], newPath); + io._Link.throwIfError(result, "Cannot rename link '" + dart.str(this.path) + "' to '" + dart.str(newPath) + "'"); + return io.Link.new(newPath); + } + target() { + return io._File._dispatchWithNamespace(26, [null, this[_rawPath$]]).then(core.String, dart.fn(response => { + if (dart.test(this[_isErrorResponse](response))) { + dart.throw(this[_exceptionFromResponse](response, "Cannot get target of link", this.path)); + } + return T$0.FutureOrOfString().as(response); + }, T$0.dynamicToFutureOrOfString())); + } + targetSync() { + let result = io._File._linkTarget(io._Namespace._namespace, this[_rawPath$]); + io._Link.throwIfError(result, "Cannot read link", this.path); + return core.String.as(result); + } + static throwIfError(result, msg, path = "") { + if (msg == null) dart.nullFailed(I[117], 261, 46, "msg"); + if (path == null) dart.nullFailed(I[117], 261, 59, "path"); + if (io.OSError.is(result)) { + dart.throw(new io.FileSystemException.new(msg, path, result)); + } + } + [_isErrorResponse](response) { + return core.List.is(response) && !dart.equals(response[$_get](0), 0); + } + [_exceptionFromResponse](response, message, path) { + if (message == null) dart.nullFailed(I[117], 271, 43, "message"); + if (path == null) dart.nullFailed(I[117], 271, 59, "path"); + if (!dart.test(this[_isErrorResponse](response))) dart.assertFailed(null, I[117], 272, 12, "_isErrorResponse(response)"); + switch (dart.dsend(response, '_get', [0])) { + case 1: + { + return new core.ArgumentError.new(); + } + case 2: + { + let err = new io.OSError.new(core.String.as(dart.dsend(response, '_get', [2])), core.int.as(dart.dsend(response, '_get', [1]))); + return new io.FileSystemException.new(message, path, err); + } + default: + { + return core.Exception.new("Unknown error"); + } + } + } +}; +(io._Link.new = function(path) { + if (path == null) dart.nullFailed(I[117], 146, 16, "path"); + this[_path$2] = path; + this[_rawPath$1] = io.FileSystemEntity._toUtf8Array(path); + ; +}).prototype = io._Link.prototype; +(io._Link.fromRawPath = function(rawPath) { + if (rawPath == null) dart.nullFailed(I[117], 150, 31, "rawPath"); + this[_rawPath$1] = io.FileSystemEntity._toNullTerminatedUtf8Array(rawPath); + this[_path$2] = io.FileSystemEntity._toStringFromUtf8Array(rawPath); + ; +}).prototype = io._Link.prototype; +dart.addTypeTests(io._Link); +dart.addTypeCaches(io._Link); +io._Link[dart.implements] = () => [io.Link]; +dart.setMethodSignature(io._Link, () => ({ + __proto__: dart.getMethods(io._Link.__proto__), + exists: dart.fnType(async.Future$(core.bool), []), + existsSync: dart.fnType(core.bool, []), + create: dart.fnType(async.Future$(io.Link), [core.String], {recursive: core.bool}, {}), + createSync: dart.fnType(dart.void, [core.String], {recursive: core.bool}, {}), + updateSync: dart.fnType(dart.void, [core.String]), + update: dart.fnType(async.Future$(io.Link), [core.String]), + [_delete]: dart.fnType(async.Future$(io.Link), [], {recursive: core.bool}, {}), + [_deleteSync]: dart.fnType(dart.void, [], {recursive: core.bool}, {}), + rename: dart.fnType(async.Future$(io.Link), [core.String]), + renameSync: dart.fnType(io.Link, [core.String]), + target: dart.fnType(async.Future$(core.String), []), + targetSync: dart.fnType(core.String, []), + [_isErrorResponse]: dart.fnType(core.bool, [dart.dynamic]), + [_exceptionFromResponse]: dart.fnType(dart.dynamic, [dart.dynamic, core.String, core.String]) +})); +dart.setGetterSignature(io._Link, () => ({ + __proto__: dart.getGetters(io._Link.__proto__), + path: core.String, + absolute: io.Link +})); +dart.setLibraryUri(io._Link, I[105]); +dart.setFieldSignature(io._Link, () => ({ + __proto__: dart.getFields(io._Link.__proto__), + [_path$0]: dart.finalFieldType(core.String), + [_rawPath$]: dart.finalFieldType(typed_data.Uint8List) +})); +dart.defineExtensionMethods(io._Link, ['toString']); +io._Namespace = class _Namespace extends core.Object { + static get _namespace() { + dart.throw(new core.UnsupportedError.new("_Namespace")); + } + static get _namespacePointer() { + dart.throw(new core.UnsupportedError.new("_Namespace")); + } + static _setupNamespace(namespace) { + dart.throw(new core.UnsupportedError.new("_Namespace")); + } +}; +(io._Namespace.new = function() { + ; +}).prototype = io._Namespace.prototype; +dart.addTypeTests(io._Namespace); +dart.addTypeCaches(io._Namespace); +dart.setLibraryUri(io._Namespace, I[105]); +io._DomainNetworkPolicy = class _DomainNetworkPolicy extends core.Object { + matchScore(host) { + if (host == null) dart.nullFailed(I[118], 100, 25, "host"); + let domainLength = this.domain.length; + let hostLength = host.length; + let lengthDelta = hostLength - domainLength; + if (host[$endsWith](this.domain) && (lengthDelta === 0 || dart.test(this.includesSubDomains) && host[$codeUnitAt](lengthDelta - 1) === 46)) { + return domainLength * 2 + (dart.test(this.includesSubDomains) ? 0 : 1); + } + return -1; + } + checkConflict(existingPolicies) { + if (existingPolicies == null) dart.nullFailed(I[118], 118, 49, "existingPolicies"); + for (let existingPolicy of existingPolicies) { + if (this.includesSubDomains == existingPolicy.includesSubDomains && this.domain == existingPolicy.domain) { + if (this.allowInsecureConnections == existingPolicy.allowInsecureConnections) { + return false; + } + dart.throw(new core.StateError.new("Contradiction in the domain security policies: " + "'" + dart.str(this) + "' contradicts '" + dart.str(existingPolicy) + "'")); + } + } + return true; + } + toString() { + let subDomainPrefix = dart.test(this.includesSubDomains) ? "*." : ""; + let insecureConnectionPermission = dart.test(this.allowInsecureConnections) ? "Allows" : "Disallows"; + return subDomainPrefix + dart.str(this.domain) + ": " + insecureConnectionPermission + " insecure connections"; + } +}; +(io._DomainNetworkPolicy.new = function(domain, opts) { + if (domain == null) dart.nullFailed(I[118], 81, 29, "domain"); + let includesSubDomains = opts && 'includesSubDomains' in opts ? opts.includesSubDomains : false; + if (includesSubDomains == null) dart.nullFailed(I[118], 82, 13, "includesSubDomains"); + let allowInsecureConnections = opts && 'allowInsecureConnections' in opts ? opts.allowInsecureConnections : false; + if (allowInsecureConnections == null) dart.nullFailed(I[118], 83, 12, "allowInsecureConnections"); + this.domain = domain; + this.includesSubDomains = includesSubDomains; + this.allowInsecureConnections = allowInsecureConnections; + if (this.domain.length > 255 || !dart.test(io._DomainNetworkPolicy._domainMatcher.hasMatch(this.domain))) { + dart.throw(new core.ArgumentError.value(this.domain, "domain", "Invalid domain name")); + } +}).prototype = io._DomainNetworkPolicy.prototype; +dart.addTypeTests(io._DomainNetworkPolicy); +dart.addTypeCaches(io._DomainNetworkPolicy); +dart.setMethodSignature(io._DomainNetworkPolicy, () => ({ + __proto__: dart.getMethods(io._DomainNetworkPolicy.__proto__), + matchScore: dart.fnType(core.int, [core.String]), + checkConflict: dart.fnType(core.bool, [core.List$(io._DomainNetworkPolicy)]) +})); +dart.setLibraryUri(io._DomainNetworkPolicy, I[105]); +dart.setFieldSignature(io._DomainNetworkPolicy, () => ({ + __proto__: dart.getFields(io._DomainNetworkPolicy.__proto__), + domain: dart.finalFieldType(core.String), + allowInsecureConnections: dart.finalFieldType(core.bool), + includesSubDomains: dart.finalFieldType(core.bool) +})); +dart.defineExtensionMethods(io._DomainNetworkPolicy, ['toString']); +dart.defineLazy(io._DomainNetworkPolicy, { + /*io._DomainNetworkPolicy._domainMatcher*/get _domainMatcher() { + return core.RegExp.new("^(?:[a-z\\d-]{1,63}\\.)+[a-z][a-z\\d-]{0,62}$", {caseSensitive: false}); + } +}, false); +io._NetworkProfiling = class _NetworkProfiling extends core.Object { + static _registerServiceExtension() { + developer.registerExtension(io._NetworkProfiling._kGetHttpEnableTimelineLogging, C[128] || CT.C128); + developer.registerExtension(io._NetworkProfiling._kSetHttpEnableTimelineLogging, C[128] || CT.C128); + developer.registerExtension(io._NetworkProfiling._kHttpEnableTimelineLogging, C[128] || CT.C128); + developer.registerExtension("ext.dart.io.getSocketProfile", C[128] || CT.C128); + developer.registerExtension(io._NetworkProfiling._kStartSocketProfilingRPC, C[128] || CT.C128); + developer.registerExtension(io._NetworkProfiling._kPauseSocketProfilingRPC, C[128] || CT.C128); + developer.registerExtension(io._NetworkProfiling._kSocketProfilingEnabledRPC, C[128] || CT.C128); + developer.registerExtension("ext.dart.io.clearSocketProfile", C[128] || CT.C128); + developer.registerExtension("ext.dart.io.getVersion", C[128] || CT.C128); + developer.registerExtension("ext.dart.io.getHttpProfile", C[128] || CT.C128); + developer.registerExtension(io._NetworkProfiling._kGetHttpProfileRequestRPC, C[128] || CT.C128); + developer.registerExtension("ext.dart.io.clearHttpProfile", C[128] || CT.C128); + } + static _serviceExtensionHandler(method, parameters) { + if (method == null) dart.nullFailed(I[119], 60, 14, "method"); + if (parameters == null) dart.nullFailed(I[119], 60, 42, "parameters"); + try { + let responseJson = null; + switch (method) { + case "ext.dart.io.getHttpEnableTimelineLogging": + { + responseJson = io._getHttpEnableTimelineLogging(); + break; + } + case "ext.dart.io.setHttpEnableTimelineLogging": + { + responseJson = io._setHttpEnableTimelineLogging(parameters); + break; + } + case "ext.dart.io.httpEnableTimelineLogging": + { + if (dart.test(parameters[$containsKey]("enabled")) || dart.test(parameters[$containsKey]("enable"))) { + if (!(1 === 1)) dart.assertFailed("'enable' is deprecated and should be removed (See #43638)", I[119], 75, 20, "_versionMajor == 1"); + if (dart.test(parameters[$containsKey]("enabled"))) { + parameters[$_set]("enable", dart.nullCheck(parameters[$_get]("enabled"))); + } + io._setHttpEnableTimelineLogging(parameters); + } + responseJson = io._getHttpEnableTimelineLogging(); + break; + } + case "ext.dart.io.getHttpProfile": + { + responseJson = _http.HttpProfiler.toJson(dart.test(parameters[$containsKey]("updatedSince")) ? core.int.tryParse(dart.nullCheck(parameters[$_get]("updatedSince"))) : null); + break; + } + case "ext.dart.io.getHttpProfileRequest": + { + responseJson = io._getHttpProfileRequest(parameters); + break; + } + case "ext.dart.io.clearHttpProfile": + { + _http.HttpProfiler.clear(); + responseJson = io._success(); + break; + } + case "ext.dart.io.getSocketProfile": + { + responseJson = io._SocketProfile.toJson(); + break; + } + case "ext.dart.io.socketProfilingEnabled": + { + responseJson = io._socketProfilingEnabled(parameters); + break; + } + case "ext.dart.io.startSocketProfiling": + { + responseJson = io._SocketProfile.start(); + break; + } + case "ext.dart.io.pauseSocketProfiling": + { + responseJson = io._SocketProfile.pause(); + break; + } + case "ext.dart.io.clearSocketProfile": + { + responseJson = io._SocketProfile.clear(); + break; + } + case "ext.dart.io.getVersion": + { + responseJson = io._NetworkProfiling.getVersion(); + break; + } + default: + { + return T$0.FutureOfServiceExtensionResponse().value(new developer.ServiceExtensionResponse.error(-32000, "Method " + dart.str(method) + " does not exist")); + } + } + return T$0.FutureOfServiceExtensionResponse().value(new developer.ServiceExtensionResponse.result(responseJson)); + } catch (e) { + let errorMessage = dart.getThrown(e); + if (core.Object.is(errorMessage)) { + return T$0.FutureOfServiceExtensionResponse().value(new developer.ServiceExtensionResponse.error(-32602, dart.toString(errorMessage))); + } else + throw e; + } + } + static getVersion() { + return convert.json.encode(new (T$.IdentityMapOfString$Object()).from(["type", "Version", "major", 1, "minor", 6])); + } +}; +(io._NetworkProfiling.new = function() { + ; +}).prototype = io._NetworkProfiling.prototype; +dart.addTypeTests(io._NetworkProfiling); +dart.addTypeCaches(io._NetworkProfiling); +dart.setLibraryUri(io._NetworkProfiling, I[105]); +dart.defineLazy(io._NetworkProfiling, { + /*io._NetworkProfiling._kGetHttpEnableTimelineLogging*/get _kGetHttpEnableTimelineLogging() { + return "ext.dart.io.getHttpEnableTimelineLogging"; + }, + /*io._NetworkProfiling._kSetHttpEnableTimelineLogging*/get _kSetHttpEnableTimelineLogging() { + return "ext.dart.io.setHttpEnableTimelineLogging"; + }, + /*io._NetworkProfiling._kHttpEnableTimelineLogging*/get _kHttpEnableTimelineLogging() { + return "ext.dart.io.httpEnableTimelineLogging"; + }, + /*io._NetworkProfiling._kGetHttpProfileRPC*/get _kGetHttpProfileRPC() { + return "ext.dart.io.getHttpProfile"; + }, + /*io._NetworkProfiling._kGetHttpProfileRequestRPC*/get _kGetHttpProfileRequestRPC() { + return "ext.dart.io.getHttpProfileRequest"; + }, + /*io._NetworkProfiling._kClearHttpProfileRPC*/get _kClearHttpProfileRPC() { + return "ext.dart.io.clearHttpProfile"; + }, + /*io._NetworkProfiling._kClearSocketProfileRPC*/get _kClearSocketProfileRPC() { + return "ext.dart.io.clearSocketProfile"; + }, + /*io._NetworkProfiling._kGetSocketProfileRPC*/get _kGetSocketProfileRPC() { + return "ext.dart.io.getSocketProfile"; + }, + /*io._NetworkProfiling._kSocketProfilingEnabledRPC*/get _kSocketProfilingEnabledRPC() { + return "ext.dart.io.socketProfilingEnabled"; + }, + /*io._NetworkProfiling._kPauseSocketProfilingRPC*/get _kPauseSocketProfilingRPC() { + return "ext.dart.io.pauseSocketProfiling"; + }, + /*io._NetworkProfiling._kStartSocketProfilingRPC*/get _kStartSocketProfilingRPC() { + return "ext.dart.io.startSocketProfiling"; + }, + /*io._NetworkProfiling._kGetVersionRPC*/get _kGetVersionRPC() { + return "ext.dart.io.getVersion"; + } +}, false); +var _name$4 = dart.privateName(io, "_name"); +io._SocketProfile = class _SocketProfile extends core.Object { + static set enableSocketProfiling(enabled) { + if (enabled == null) dart.nullFailed(I[119], 205, 41, "enabled"); + if (enabled != io._SocketProfile._enableSocketProfiling) { + developer.postEvent("SocketProfilingStateChange", new _js_helper.LinkedMap.from(["isolateId", developer.Service.getIsolateID(isolate$.Isolate.current), "enabled", enabled])); + io._SocketProfile._enableSocketProfiling = enabled; + } + } + static get enableSocketProfiling() { + return io._SocketProfile._enableSocketProfiling; + } + static toJson() { + return convert.json.encode(new (T$.IdentityMapOfString$Object()).from(["type", "SocketProfile", "sockets", io._SocketProfile._idToSocketStatistic[$values][$map](T$0.MapOfString$dynamic(), dart.fn(f => { + if (f == null) dart.nullFailed(I[119], 222, 53, "f"); + return f.toMap(); + }, T$0._SocketStatisticToMapOfString$dynamic()))[$toList]()])); + } + static collectNewSocket(id, type, addr, port) { + if (id == null) dart.nullFailed(I[119], 226, 11, "id"); + if (type == null) dart.nullFailed(I[119], 226, 22, "type"); + if (addr == null) dart.nullFailed(I[119], 226, 44, "addr"); + if (port == null) dart.nullFailed(I[119], 226, 54, "port"); + io._SocketProfile.collectStatistic(id, io._SocketProfileType.startTime); + io._SocketProfile.collectStatistic(id, io._SocketProfileType.socketType, type); + io._SocketProfile.collectStatistic(id, io._SocketProfileType.address, addr); + io._SocketProfile.collectStatistic(id, io._SocketProfileType.port, port); + } + static collectStatistic(id, type, object = null) { + let t206, t205, t204, t203, t203$, t203$0; + if (id == null) dart.nullFailed(I[119], 233, 36, "id"); + if (type == null) dart.nullFailed(I[119], 233, 59, "type"); + if (!dart.test(io._SocketProfile._enableSocketProfiling)) { + return; + } + if (!dart.test(io._SocketProfile._idToSocketStatistic[$containsKey](id)) && type != io._SocketProfileType.startTime) return; + let stats = (t203 = io._SocketProfile._idToSocketStatistic, t204 = id, t205 = t203[$_get](t204), t205 == null ? (t206 = new io._SocketStatistic.new(id), t203[$_set](t204, t206), t206) : t205); + switch (type) { + case C[129] || CT.C129: + { + stats.startTime = developer.Timeline.now; + break; + } + case C[130] || CT.C130: + { + stats.endTime = developer.Timeline.now; + break; + } + case C[131] || CT.C131: + { + if (!io.InternetAddress.is(object)) dart.assertFailed(null, I[119], 250, 16, "object is InternetAddress"); + stats.address = dart.toString(io.InternetAddress.as(object)); + break; + } + case C[132] || CT.C132: + { + if (!core.int.is(object)) dart.assertFailed(null, I[119], 254, 16, "object is int"); + stats.port = T$.intN().as(object); + break; + } + case C[133] || CT.C133: + { + if (!(typeof object == 'string')) dart.assertFailed(null, I[119], 258, 16, "object is String"); + stats.socketType = T$.StringN().as(object); + break; + } + case C[134] || CT.C134: + { + if (object == null) return; + t203$ = stats; + t203$.readBytes = dart.notNull(t203$.readBytes) + dart.notNull(core.int.as(object)); + stats.lastReadTime = developer.Timeline.now; + break; + } + case C[135] || CT.C135: + { + if (object == null) return; + t203$0 = stats; + t203$0.writeBytes = dart.notNull(t203$0.writeBytes) + dart.notNull(core.int.as(object)); + stats.lastWriteTime = developer.Timeline.now; + break; + } + default: + { + dart.throw(new core.ArgumentError.new("type " + dart.str(type) + " does not exist")); + } + } + } + static start() { + io._SocketProfile.enableSocketProfiling = true; + return io._success(); + } + static pause() { + io._SocketProfile.enableSocketProfiling = false; + return io._success(); + } + static clear() { + io._SocketProfile._idToSocketStatistic[$clear](); + return io._success(); + } +}; +(io._SocketProfile.new = function() { + ; +}).prototype = io._SocketProfile.prototype; +dart.addTypeTests(io._SocketProfile); +dart.addTypeCaches(io._SocketProfile); +dart.setLibraryUri(io._SocketProfile, I[105]); +dart.defineLazy(io._SocketProfile, { + /*io._SocketProfile._kType*/get _kType() { + return "SocketProfile"; + }, + /*io._SocketProfile._enableSocketProfiling*/get _enableSocketProfiling() { + return false; + }, + set _enableSocketProfiling(_) {}, + /*io._SocketProfile._idToSocketStatistic*/get _idToSocketStatistic() { + return new (T$0.IdentityMapOfint$_SocketStatistic()).new(); + }, + set _idToSocketStatistic(_) {} +}, false); +io._SocketProfileType = class _SocketProfileType extends core.Object { + toString() { + return this[_name$4]; + } +}; +(io._SocketProfileType.new = function(index, _name) { + if (index == null) dart.nullFailed(I[119], 295, 6, "index"); + if (_name == null) dart.nullFailed(I[119], 295, 6, "_name"); + this.index = index; + this[_name$4] = _name; + ; +}).prototype = io._SocketProfileType.prototype; +dart.addTypeTests(io._SocketProfileType); +dart.addTypeCaches(io._SocketProfileType); +dart.setLibraryUri(io._SocketProfileType, I[105]); +dart.setFieldSignature(io._SocketProfileType, () => ({ + __proto__: dart.getFields(io._SocketProfileType.__proto__), + index: dart.finalFieldType(core.int), + [_name$4]: dart.finalFieldType(core.String) +})); +dart.defineExtensionMethods(io._SocketProfileType, ['toString']); +io._SocketProfileType.startTime = C[129] || CT.C129; +io._SocketProfileType.endTime = C[130] || CT.C130; +io._SocketProfileType.address = C[131] || CT.C131; +io._SocketProfileType.port = C[132] || CT.C132; +io._SocketProfileType.socketType = C[133] || CT.C133; +io._SocketProfileType.readBytes = C[134] || CT.C134; +io._SocketProfileType.writeBytes = C[135] || CT.C135; +io._SocketProfileType.values = C[136] || CT.C136; +var _setIfNotNull = dart.privateName(io, "_setIfNotNull"); +io._SocketStatistic = class _SocketStatistic extends core.Object { + toMap() { + let map = new (T$0.IdentityMapOfString$dynamic()).from(["id", this.id]); + this[_setIfNotNull](map, "startTime", this.startTime); + this[_setIfNotNull](map, "endTime", this.endTime); + this[_setIfNotNull](map, "address", this.address); + this[_setIfNotNull](map, "port", this.port); + this[_setIfNotNull](map, "socketType", this.socketType); + this[_setIfNotNull](map, "readBytes", this.readBytes); + this[_setIfNotNull](map, "writeBytes", this.writeBytes); + this[_setIfNotNull](map, "lastWriteTime", this.lastWriteTime); + this[_setIfNotNull](map, "lastReadTime", this.lastReadTime); + return map; + } + [_setIfNotNull](json, key, value) { + if (json == null) dart.nullFailed(I[119], 336, 43, "json"); + if (key == null) dart.nullFailed(I[119], 336, 56, "key"); + if (value == null) return; + json[$_set](key, value); + } +}; +(io._SocketStatistic.new = function(id) { + if (id == null) dart.nullFailed(I[119], 318, 25, "id"); + this.startTime = null; + this.endTime = null; + this.address = null; + this.port = null; + this.socketType = null; + this.readBytes = 0; + this.writeBytes = 0; + this.lastWriteTime = null; + this.lastReadTime = null; + this.id = id; + ; +}).prototype = io._SocketStatistic.prototype; +dart.addTypeTests(io._SocketStatistic); +dart.addTypeCaches(io._SocketStatistic); +dart.setMethodSignature(io._SocketStatistic, () => ({ + __proto__: dart.getMethods(io._SocketStatistic.__proto__), + toMap: dart.fnType(core.Map$(core.String, dart.dynamic), []), + [_setIfNotNull]: dart.fnType(dart.void, [core.Map$(core.String, dart.dynamic), core.String, dart.nullable(core.Object)]) +})); +dart.setLibraryUri(io._SocketStatistic, I[105]); +dart.setFieldSignature(io._SocketStatistic, () => ({ + __proto__: dart.getFields(io._SocketStatistic.__proto__), + id: dart.finalFieldType(core.int), + startTime: dart.fieldType(dart.nullable(core.int)), + endTime: dart.fieldType(dart.nullable(core.int)), + address: dart.fieldType(dart.nullable(core.String)), + port: dart.fieldType(dart.nullable(core.int)), + socketType: dart.fieldType(dart.nullable(core.String)), + readBytes: dart.fieldType(core.int), + writeBytes: dart.fieldType(core.int), + lastWriteTime: dart.fieldType(dart.nullable(core.int)), + lastReadTime: dart.fieldType(dart.nullable(core.int)) +})); +io.IOOverrides = class IOOverrides extends core.Object { + static get current() { + let t203; + return T$0.IOOverridesN().as((t203 = async.Zone.current._get(io._ioOverridesToken), t203 == null ? io.IOOverrides._global : t203)); + } + static set global(overrides) { + io.IOOverrides._global = overrides; + } + static runZoned(R, body, opts) { + if (body == null) dart.nullFailed(I[120], 54, 26, "body"); + let createDirectory = opts && 'createDirectory' in opts ? opts.createDirectory : null; + let getCurrentDirectory = opts && 'getCurrentDirectory' in opts ? opts.getCurrentDirectory : null; + let setCurrentDirectory = opts && 'setCurrentDirectory' in opts ? opts.setCurrentDirectory : null; + let getSystemTempDirectory = opts && 'getSystemTempDirectory' in opts ? opts.getSystemTempDirectory : null; + let createFile = opts && 'createFile' in opts ? opts.createFile : null; + let stat = opts && 'stat' in opts ? opts.stat : null; + let statSync = opts && 'statSync' in opts ? opts.statSync : null; + let fseIdentical = opts && 'fseIdentical' in opts ? opts.fseIdentical : null; + let fseIdenticalSync = opts && 'fseIdenticalSync' in opts ? opts.fseIdenticalSync : null; + let fseGetType = opts && 'fseGetType' in opts ? opts.fseGetType : null; + let fseGetTypeSync = opts && 'fseGetTypeSync' in opts ? opts.fseGetTypeSync : null; + let fsWatch = opts && 'fsWatch' in opts ? opts.fsWatch : null; + let fsWatchIsSupported = opts && 'fsWatchIsSupported' in opts ? opts.fsWatchIsSupported : null; + let createLink = opts && 'createLink' in opts ? opts.createLink : null; + let socketConnect = opts && 'socketConnect' in opts ? opts.socketConnect : null; + let socketStartConnect = opts && 'socketStartConnect' in opts ? opts.socketStartConnect : null; + let serverSocketBind = opts && 'serverSocketBind' in opts ? opts.serverSocketBind : null; + let overrides = new io._IOOverridesScope.new(createDirectory, getCurrentDirectory, setCurrentDirectory, getSystemTempDirectory, createFile, stat, statSync, fseIdentical, fseIdenticalSync, fseGetType, fseGetTypeSync, fsWatch, fsWatchIsSupported, createLink, socketConnect, socketStartConnect, serverSocketBind); + return io._asyncRunZoned(R, body, {zoneValues: new (T$0.LinkedMapOfObjectN$ObjectN()).from([io._ioOverridesToken, overrides])}); + } + static runWithIOOverrides(R, body, overrides) { + if (body == null) dart.nullFailed(I[120], 135, 36, "body"); + if (overrides == null) dart.nullFailed(I[120], 135, 56, "overrides"); + return io._asyncRunZoned(R, body, {zoneValues: new (T$0.LinkedMapOfObjectN$ObjectN()).from([io._ioOverridesToken, overrides])}); + } + createDirectory(path) { + if (path == null) dart.nullFailed(I[120], 145, 36, "path"); + return new io._Directory.new(path); + } + getCurrentDirectory() { + return io._Directory.current; + } + setCurrentDirectory(path) { + if (path == null) dart.nullFailed(I[120], 157, 35, "path"); + io._Directory.current = path; + } + getSystemTempDirectory() { + return io._Directory.systemTemp; + } + createFile(path) { + if (path == null) dart.nullFailed(I[120], 173, 26, "path"); + return new io._File.new(path); + } + stat(path) { + if (path == null) dart.nullFailed(I[120], 181, 32, "path"); + return io.FileStat._stat(path); + } + statSync(path) { + if (path == null) dart.nullFailed(I[120], 189, 28, "path"); + return io.FileStat._statSyncInternal(path); + } + fseIdentical(path1, path2) { + if (path1 == null) dart.nullFailed(I[120], 200, 36, "path1"); + if (path2 == null) dart.nullFailed(I[120], 200, 50, "path2"); + return io.FileSystemEntity._identical(path1, path2); + } + fseIdenticalSync(path1, path2) { + if (path1 == null) dart.nullFailed(I[120], 209, 32, "path1"); + if (path2 == null) dart.nullFailed(I[120], 209, 46, "path2"); + return io.FileSystemEntity._identicalSync(path1, path2); + } + fseGetType(path, followLinks) { + if (path == null) dart.nullFailed(I[120], 217, 50, "path"); + if (followLinks == null) dart.nullFailed(I[120], 217, 61, "followLinks"); + return io.FileSystemEntity._getTypeRequest(convert.utf8.encoder.convert(path), followLinks); + } + fseGetTypeSync(path, followLinks) { + if (path == null) dart.nullFailed(I[120], 226, 46, "path"); + if (followLinks == null) dart.nullFailed(I[120], 226, 57, "followLinks"); + return io.FileSystemEntity._getTypeSyncHelper(convert.utf8.encoder.convert(path), followLinks); + } + fsWatch(path, events, recursive) { + if (path == null) dart.nullFailed(I[120], 237, 42, "path"); + if (events == null) dart.nullFailed(I[120], 237, 52, "events"); + if (recursive == null) dart.nullFailed(I[120], 237, 65, "recursive"); + return io._FileSystemWatcher._watch(path, events, recursive); + } + fsWatchIsSupported() { + return io._FileSystemWatcher.isSupported; + } + createLink(path) { + if (path == null) dart.nullFailed(I[120], 253, 26, "path"); + return new io._Link.new(path); + } + socketConnect(host, port, opts) { + if (port == null) dart.nullFailed(I[120], 261, 42, "port"); + let sourceAddress = opts && 'sourceAddress' in opts ? opts.sourceAddress : null; + let timeout = opts && 'timeout' in opts ? opts.timeout : null; + return io.Socket._connect(host, port, {sourceAddress: sourceAddress, timeout: timeout}); + } + socketStartConnect(host, port, opts) { + if (port == null) dart.nullFailed(I[120], 272, 63, "port"); + let sourceAddress = opts && 'sourceAddress' in opts ? opts.sourceAddress : null; + return io.Socket._startConnect(host, port, {sourceAddress: sourceAddress}); + } + serverSocketBind(address, port, opts) { + if (port == null) dart.nullFailed(I[120], 284, 54, "port"); + let backlog = opts && 'backlog' in opts ? opts.backlog : 0; + if (backlog == null) dart.nullFailed(I[120], 285, 12, "backlog"); + let v6Only = opts && 'v6Only' in opts ? opts.v6Only : false; + if (v6Only == null) dart.nullFailed(I[120], 285, 30, "v6Only"); + let shared = opts && 'shared' in opts ? opts.shared : false; + if (shared == null) dart.nullFailed(I[120], 285, 51, "shared"); + return io.ServerSocket._bind(address, port, {backlog: backlog, v6Only: v6Only, shared: shared}); + } +}; +(io.IOOverrides.new = function() { + ; +}).prototype = io.IOOverrides.prototype; +dart.addTypeTests(io.IOOverrides); +dart.addTypeCaches(io.IOOverrides); +dart.setMethodSignature(io.IOOverrides, () => ({ + __proto__: dart.getMethods(io.IOOverrides.__proto__), + createDirectory: dart.fnType(io.Directory, [core.String]), + getCurrentDirectory: dart.fnType(io.Directory, []), + setCurrentDirectory: dart.fnType(dart.void, [core.String]), + getSystemTempDirectory: dart.fnType(io.Directory, []), + createFile: dart.fnType(io.File, [core.String]), + stat: dart.fnType(async.Future$(io.FileStat), [core.String]), + statSync: dart.fnType(io.FileStat, [core.String]), + fseIdentical: dart.fnType(async.Future$(core.bool), [core.String, core.String]), + fseIdenticalSync: dart.fnType(core.bool, [core.String, core.String]), + fseGetType: dart.fnType(async.Future$(io.FileSystemEntityType), [core.String, core.bool]), + fseGetTypeSync: dart.fnType(io.FileSystemEntityType, [core.String, core.bool]), + fsWatch: dart.fnType(async.Stream$(io.FileSystemEvent), [core.String, core.int, core.bool]), + fsWatchIsSupported: dart.fnType(core.bool, []), + createLink: dart.fnType(io.Link, [core.String]), + socketConnect: dart.fnType(async.Future$(io.Socket), [dart.dynamic, core.int], {sourceAddress: dart.dynamic, timeout: dart.nullable(core.Duration)}, {}), + socketStartConnect: dart.fnType(async.Future$(io.ConnectionTask$(io.Socket)), [dart.dynamic, core.int], {sourceAddress: dart.dynamic}, {}), + serverSocketBind: dart.fnType(async.Future$(io.ServerSocket), [dart.dynamic, core.int], {backlog: core.int, shared: core.bool, v6Only: core.bool}, {}) +})); +dart.setLibraryUri(io.IOOverrides, I[105]); +dart.defineLazy(io.IOOverrides, { + /*io.IOOverrides._global*/get _global() { + return null; + }, + set _global(_) {} +}, false); +var _previous$4 = dart.privateName(io, "_previous"); +var _createDirectory$ = dart.privateName(io, "_createDirectory"); +var _getCurrentDirectory$ = dart.privateName(io, "_getCurrentDirectory"); +var _setCurrentDirectory$ = dart.privateName(io, "_setCurrentDirectory"); +var _getSystemTempDirectory$ = dart.privateName(io, "_getSystemTempDirectory"); +var _createFile$ = dart.privateName(io, "_createFile"); +var _stat$ = dart.privateName(io, "_stat"); +var _statSync$ = dart.privateName(io, "_statSync"); +var _fseIdentical$ = dart.privateName(io, "_fseIdentical"); +var _fseIdenticalSync$ = dart.privateName(io, "_fseIdenticalSync"); +var _fseGetType$ = dart.privateName(io, "_fseGetType"); +var _fseGetTypeSync$ = dart.privateName(io, "_fseGetTypeSync"); +var _fsWatch$ = dart.privateName(io, "_fsWatch"); +var _fsWatchIsSupported$ = dart.privateName(io, "_fsWatchIsSupported"); +var _createLink$ = dart.privateName(io, "_createLink"); +var _socketConnect$ = dart.privateName(io, "_socketConnect"); +var _socketStartConnect$ = dart.privateName(io, "_socketStartConnect"); +var _serverSocketBind$ = dart.privateName(io, "_serverSocketBind"); +io._IOOverridesScope = class _IOOverridesScope extends io.IOOverrides { + createDirectory(path) { + if (path == null) dart.nullFailed(I[120], 367, 36, "path"); + if (this[_createDirectory$] != null) return dart.nullCheck(this[_createDirectory$])(path); + if (this[_previous$4] != null) return dart.nullCheck(this[_previous$4]).createDirectory(path); + return super.createDirectory(path); + } + getCurrentDirectory() { + if (this[_getCurrentDirectory$] != null) return dart.nullCheck(this[_getCurrentDirectory$])(); + if (this[_previous$4] != null) return dart.nullCheck(this[_previous$4]).getCurrentDirectory(); + return super.getCurrentDirectory(); + } + setCurrentDirectory(path) { + if (path == null) dart.nullFailed(I[120], 381, 35, "path"); + if (this[_setCurrentDirectory$] != null) + dart.nullCheck(this[_setCurrentDirectory$])(path); + else if (this[_previous$4] != null) + dart.nullCheck(this[_previous$4]).setCurrentDirectory(path); + else + super.setCurrentDirectory(path); + } + getSystemTempDirectory() { + if (this[_getSystemTempDirectory$] != null) return dart.nullCheck(this[_getSystemTempDirectory$])(); + if (this[_previous$4] != null) return dart.nullCheck(this[_previous$4]).getSystemTempDirectory(); + return super.getSystemTempDirectory(); + } + createFile(path) { + if (path == null) dart.nullFailed(I[120], 399, 26, "path"); + if (this[_createFile$] != null) return dart.nullCheck(this[_createFile$])(path); + if (this[_previous$4] != null) return dart.nullCheck(this[_previous$4]).createFile(path); + return super.createFile(path); + } + stat(path) { + if (path == null) dart.nullFailed(I[120], 407, 32, "path"); + if (this[_stat$] != null) return dart.nullCheck(this[_stat$])(path); + if (this[_previous$4] != null) return dart.nullCheck(this[_previous$4]).stat(path); + return super.stat(path); + } + statSync(path) { + if (path == null) dart.nullFailed(I[120], 414, 28, "path"); + if (this[_stat$] != null) return dart.nullCheck(this[_statSync$])(path); + if (this[_previous$4] != null) return dart.nullCheck(this[_previous$4]).statSync(path); + return super.statSync(path); + } + fseIdentical(path1, path2) { + if (path1 == null) dart.nullFailed(I[120], 422, 36, "path1"); + if (path2 == null) dart.nullFailed(I[120], 422, 50, "path2"); + if (this[_fseIdentical$] != null) return dart.nullCheck(this[_fseIdentical$])(path1, path2); + if (this[_previous$4] != null) return dart.nullCheck(this[_previous$4]).fseIdentical(path1, path2); + return super.fseIdentical(path1, path2); + } + fseIdenticalSync(path1, path2) { + if (path1 == null) dart.nullFailed(I[120], 429, 32, "path1"); + if (path2 == null) dart.nullFailed(I[120], 429, 46, "path2"); + if (this[_fseIdenticalSync$] != null) return dart.nullCheck(this[_fseIdenticalSync$])(path1, path2); + if (this[_previous$4] != null) return dart.nullCheck(this[_previous$4]).fseIdenticalSync(path1, path2); + return super.fseIdenticalSync(path1, path2); + } + fseGetType(path, followLinks) { + if (path == null) dart.nullFailed(I[120], 436, 50, "path"); + if (followLinks == null) dart.nullFailed(I[120], 436, 61, "followLinks"); + if (this[_fseGetType$] != null) return dart.nullCheck(this[_fseGetType$])(path, followLinks); + if (this[_previous$4] != null) return dart.nullCheck(this[_previous$4]).fseGetType(path, followLinks); + return super.fseGetType(path, followLinks); + } + fseGetTypeSync(path, followLinks) { + if (path == null) dart.nullFailed(I[120], 443, 46, "path"); + if (followLinks == null) dart.nullFailed(I[120], 443, 57, "followLinks"); + if (this[_fseGetTypeSync$] != null) return dart.nullCheck(this[_fseGetTypeSync$])(path, followLinks); + if (this[_previous$4] != null) return dart.nullCheck(this[_previous$4]).fseGetTypeSync(path, followLinks); + return super.fseGetTypeSync(path, followLinks); + } + fsWatch(path, events, recursive) { + if (path == null) dart.nullFailed(I[120], 451, 42, "path"); + if (events == null) dart.nullFailed(I[120], 451, 52, "events"); + if (recursive == null) dart.nullFailed(I[120], 451, 65, "recursive"); + if (this[_fsWatch$] != null) return dart.nullCheck(this[_fsWatch$])(path, events, recursive); + if (this[_previous$4] != null) return dart.nullCheck(this[_previous$4]).fsWatch(path, events, recursive); + return super.fsWatch(path, events, recursive); + } + fsWatchIsSupported() { + if (this[_fsWatchIsSupported$] != null) return dart.nullCheck(this[_fsWatchIsSupported$])(); + if (this[_previous$4] != null) return dart.nullCheck(this[_previous$4]).fsWatchIsSupported(); + return super.fsWatchIsSupported(); + } + createLink(path) { + if (path == null) dart.nullFailed(I[120], 466, 26, "path"); + if (this[_createLink$] != null) return dart.nullCheck(this[_createLink$])(path); + if (this[_previous$4] != null) return dart.nullCheck(this[_previous$4]).createLink(path); + return super.createLink(path); + } + socketConnect(host, port, opts) { + if (port == null) dart.nullFailed(I[120], 474, 42, "port"); + let sourceAddress = opts && 'sourceAddress' in opts ? opts.sourceAddress : null; + let timeout = opts && 'timeout' in opts ? opts.timeout : null; + if (this[_socketConnect$] != null) { + return dart.nullCheck(this[_socketConnect$])(host, port, {sourceAddress: sourceAddress, timeout: timeout}); + } + if (this[_previous$4] != null) { + return dart.nullCheck(this[_previous$4]).socketConnect(host, port, {sourceAddress: sourceAddress, timeout: timeout}); + } + return super.socketConnect(host, port, {sourceAddress: sourceAddress, timeout: timeout}); + } + socketStartConnect(host, port, opts) { + if (port == null) dart.nullFailed(I[120], 489, 63, "port"); + let sourceAddress = opts && 'sourceAddress' in opts ? opts.sourceAddress : null; + if (this[_socketStartConnect$] != null) { + return dart.nullCheck(this[_socketStartConnect$])(host, port, {sourceAddress: sourceAddress}); + } + if (this[_previous$4] != null) { + return dart.nullCheck(this[_previous$4]).socketStartConnect(host, port, {sourceAddress: sourceAddress}); + } + return super.socketStartConnect(host, port, {sourceAddress: sourceAddress}); + } + serverSocketBind(address, port, opts) { + if (port == null) dart.nullFailed(I[120], 504, 54, "port"); + let backlog = opts && 'backlog' in opts ? opts.backlog : 0; + if (backlog == null) dart.nullFailed(I[120], 505, 12, "backlog"); + let v6Only = opts && 'v6Only' in opts ? opts.v6Only : false; + if (v6Only == null) dart.nullFailed(I[120], 505, 30, "v6Only"); + let shared = opts && 'shared' in opts ? opts.shared : false; + if (shared == null) dart.nullFailed(I[120], 505, 51, "shared"); + if (this[_serverSocketBind$] != null) { + return dart.nullCheck(this[_serverSocketBind$])(address, port, {backlog: backlog, v6Only: v6Only, shared: shared}); + } + if (this[_previous$4] != null) { + return dart.nullCheck(this[_previous$4]).serverSocketBind(address, port, {backlog: backlog, v6Only: v6Only, shared: shared}); + } + return super.serverSocketBind(address, port, {backlog: backlog, v6Only: v6Only, shared: shared}); + } +}; +(io._IOOverridesScope.new = function(_createDirectory, _getCurrentDirectory, _setCurrentDirectory, _getSystemTempDirectory, _createFile, _stat, _statSync, _fseIdentical, _fseIdenticalSync, _fseGetType, _fseGetTypeSync, _fsWatch, _fsWatchIsSupported, _createLink, _socketConnect, _socketStartConnect, _serverSocketBind) { + this[_previous$4] = io.IOOverrides.current; + this[_createDirectory$] = _createDirectory; + this[_getCurrentDirectory$] = _getCurrentDirectory; + this[_setCurrentDirectory$] = _setCurrentDirectory; + this[_getSystemTempDirectory$] = _getSystemTempDirectory; + this[_createFile$] = _createFile; + this[_stat$] = _stat; + this[_statSync$] = _statSync; + this[_fseIdentical$] = _fseIdentical; + this[_fseIdenticalSync$] = _fseIdenticalSync; + this[_fseGetType$] = _fseGetType; + this[_fseGetTypeSync$] = _fseGetTypeSync; + this[_fsWatch$] = _fsWatch; + this[_fsWatchIsSupported$] = _fsWatchIsSupported; + this[_createLink$] = _createLink; + this[_socketConnect$] = _socketConnect; + this[_socketStartConnect$] = _socketStartConnect; + this[_serverSocketBind$] = _serverSocketBind; + ; +}).prototype = io._IOOverridesScope.prototype; +dart.addTypeTests(io._IOOverridesScope); +dart.addTypeCaches(io._IOOverridesScope); +dart.setLibraryUri(io._IOOverridesScope, I[105]); +dart.setFieldSignature(io._IOOverridesScope, () => ({ + __proto__: dart.getFields(io._IOOverridesScope.__proto__), + [_previous$4]: dart.finalFieldType(dart.nullable(io.IOOverrides)), + [_createDirectory$]: dart.fieldType(dart.nullable(dart.fnType(io.Directory, [core.String]))), + [_getCurrentDirectory$]: dart.fieldType(dart.nullable(dart.fnType(io.Directory, []))), + [_setCurrentDirectory$]: dart.fieldType(dart.nullable(dart.fnType(dart.void, [core.String]))), + [_getSystemTempDirectory$]: dart.fieldType(dart.nullable(dart.fnType(io.Directory, []))), + [_createFile$]: dart.fieldType(dart.nullable(dart.fnType(io.File, [core.String]))), + [_stat$]: dart.fieldType(dart.nullable(dart.fnType(async.Future$(io.FileStat), [core.String]))), + [_statSync$]: dart.fieldType(dart.nullable(dart.fnType(io.FileStat, [core.String]))), + [_fseIdentical$]: dart.fieldType(dart.nullable(dart.fnType(async.Future$(core.bool), [core.String, core.String]))), + [_fseIdenticalSync$]: dart.fieldType(dart.nullable(dart.fnType(core.bool, [core.String, core.String]))), + [_fseGetType$]: dart.fieldType(dart.nullable(dart.fnType(async.Future$(io.FileSystemEntityType), [core.String, core.bool]))), + [_fseGetTypeSync$]: dart.fieldType(dart.nullable(dart.fnType(io.FileSystemEntityType, [core.String, core.bool]))), + [_fsWatch$]: dart.fieldType(dart.nullable(dart.fnType(async.Stream$(io.FileSystemEvent), [core.String, core.int, core.bool]))), + [_fsWatchIsSupported$]: dart.fieldType(dart.nullable(dart.fnType(core.bool, []))), + [_createLink$]: dart.fieldType(dart.nullable(dart.fnType(io.Link, [core.String]))), + [_socketConnect$]: dart.fieldType(dart.nullable(dart.fnType(async.Future$(io.Socket), [dart.dynamic, core.int], {sourceAddress: dart.dynamic, timeout: dart.nullable(core.Duration)}, {}))), + [_socketStartConnect$]: dart.fieldType(dart.nullable(dart.fnType(async.Future$(io.ConnectionTask$(io.Socket)), [dart.dynamic, core.int], {sourceAddress: dart.dynamic}, {}))), + [_serverSocketBind$]: dart.fieldType(dart.nullable(dart.fnType(async.Future$(io.ServerSocket), [dart.dynamic, core.int], {backlog: core.int, shared: core.bool, v6Only: core.bool}, {}))) +})); +io.Platform = class Platform extends core.Object { + static get numberOfProcessors() { + return io.Platform._numberOfProcessors; + } + static get pathSeparator() { + return io.Platform._pathSeparator; + } + static get localeName() { + return io._Platform.localeName(); + } + static get operatingSystem() { + return io.Platform._operatingSystem; + } + static get operatingSystemVersion() { + return io.Platform._operatingSystemVersion; + } + static get localHostname() { + return io.Platform._localHostname; + } + static get environment() { + return io._Platform.environment; + } + static get executable() { + return io._Platform.executable; + } + static get resolvedExecutable() { + return io._Platform.resolvedExecutable; + } + static get script() { + return io._Platform.script; + } + static get executableArguments() { + return io._Platform.executableArguments; + } + static get packageRoot() { + return null; + } + static get packageConfig() { + return io._Platform.packageConfig; + } + static get version() { + return io.Platform._version; + } +}; +(io.Platform.new = function() { + ; +}).prototype = io.Platform.prototype; +dart.addTypeTests(io.Platform); +dart.addTypeCaches(io.Platform); +dart.setLibraryUri(io.Platform, I[105]); +dart.defineLazy(io.Platform, { + /*io.Platform._numberOfProcessors*/get _numberOfProcessors() { + return io._Platform.numberOfProcessors; + }, + /*io.Platform._pathSeparator*/get _pathSeparator() { + return io._Platform.pathSeparator; + }, + /*io.Platform._operatingSystem*/get _operatingSystem() { + return io._Platform.operatingSystem; + }, + /*io.Platform._operatingSystemVersion*/get _operatingSystemVersion() { + return io._Platform.operatingSystemVersion; + }, + /*io.Platform._localHostname*/get _localHostname() { + return io._Platform.localHostname; + }, + /*io.Platform._version*/get _version() { + return io._Platform.version; + }, + /*io.Platform.isLinux*/get isLinux() { + return io.Platform._operatingSystem === "linux"; + }, + /*io.Platform.isMacOS*/get isMacOS() { + return io.Platform._operatingSystem === "macos"; + }, + /*io.Platform.isWindows*/get isWindows() { + return io.Platform._operatingSystem === "windows"; + }, + /*io.Platform.isAndroid*/get isAndroid() { + return io.Platform._operatingSystem === "android"; + }, + /*io.Platform.isIOS*/get isIOS() { + return io.Platform._operatingSystem === "ios"; + }, + /*io.Platform.isFuchsia*/get isFuchsia() { + return io.Platform._operatingSystem === "fuchsia"; + } +}, false); +io._Platform = class _Platform extends core.Object { + static _packageRoot() { + dart.throw(new core.UnsupportedError.new("Platform._packageRoot")); + } + static _numberOfProcessors() { + dart.throw(new core.UnsupportedError.new("Platform._numberOfProcessors")); + } + static _pathSeparator() { + dart.throw(new core.UnsupportedError.new("Platform._pathSeparator")); + } + static _operatingSystem() { + dart.throw(new core.UnsupportedError.new("Platform._operatingSystem")); + } + static _operatingSystemVersion() { + dart.throw(new core.UnsupportedError.new("Platform._operatingSystemVersion")); + } + static _localHostname() { + dart.throw(new core.UnsupportedError.new("Platform._localHostname")); + } + static _executable() { + dart.throw(new core.UnsupportedError.new("Platform._executable")); + } + static _resolvedExecutable() { + dart.throw(new core.UnsupportedError.new("Platform._resolvedExecutable")); + } + static _environment() { + dart.throw(new core.UnsupportedError.new("Platform._environment")); + } + static _executableArguments() { + dart.throw(new core.UnsupportedError.new("Platform._executableArguments")); + } + static _packageConfig() { + dart.throw(new core.UnsupportedError.new("Platform._packageConfig")); + } + static _version() { + dart.throw(new core.UnsupportedError.new("Platform._version")); + } + static _localeName() { + dart.throw(new core.UnsupportedError.new("Platform._localeName")); + } + static _script() { + dart.throw(new core.UnsupportedError.new("Platform._script")); + } + static localeName() { + let result = io._Platform._localeClosure == null ? io._Platform._localeName() : dart.nullCheck(io._Platform._localeClosure)(); + if (io.OSError.is(result)) { + dart.throw(result); + } + return result; + } + static get numberOfProcessors() { + return io._Platform._numberOfProcessors(); + } + static get pathSeparator() { + return io._Platform._pathSeparator(); + } + static get operatingSystem() { + return io._Platform._operatingSystem(); + } + static get script() { + return io._Platform._script(); + } + static get operatingSystemVersion() { + if (io._Platform._cachedOSVersion == null) { + let result = io._Platform._operatingSystemVersion(); + if (io.OSError.is(result)) { + dart.throw(result); + } + io._Platform._cachedOSVersion = T$.StringN().as(result); + } + return dart.nullCheck(io._Platform._cachedOSVersion); + } + static get localHostname() { + let result = io._Platform._localHostname(); + if (io.OSError.is(result)) { + dart.throw(result); + } + return core.String.as(result); + } + static get executableArguments() { + return io._Platform._executableArguments(); + } + static get environment() { + if (io._Platform._environmentCache == null) { + let env = io._Platform._environment(); + if (!io.OSError.is(env)) { + let isWindows = io._Platform.operatingSystem === "windows"; + let result = isWindows ? new (T$0._CaseInsensitiveStringMapOfString()).new() : new (T$0.LinkedMapOfString$String()).new(); + for (let str of core.Iterable.as(env)) { + if (str == null) { + continue; + } + let equalsIndex = dart.dsend(str, 'indexOf', ["="]); + if (dart.dtest(dart.dsend(equalsIndex, '>', [0]))) { + result[$_set](core.String.as(dart.dsend(str, 'substring', [0, equalsIndex])), core.String.as(dart.dsend(str, 'substring', [dart.dsend(equalsIndex, '+', [1])]))); + } + } + io._Platform._environmentCache = new (T$0.UnmodifiableMapViewOfString$String()).new(result); + } else { + io._Platform._environmentCache = env; + } + } + if (io.OSError.is(io._Platform._environmentCache)) { + dart.throw(io._Platform._environmentCache); + } else { + return T$0.MapOfString$String().as(dart.nullCheck(io._Platform._environmentCache)); + } + } + static get version() { + return io._Platform._version(); + } +}; +(io._Platform.new = function() { + ; +}).prototype = io._Platform.prototype; +dart.addTypeTests(io._Platform); +dart.addTypeCaches(io._Platform); +dart.setLibraryUri(io._Platform, I[105]); +dart.defineLazy(io._Platform, { + /*io._Platform.executable*/get executable() { + return core.String.as(io._Platform._executable()); + }, + set executable(_) {}, + /*io._Platform.resolvedExecutable*/get resolvedExecutable() { + return core.String.as(io._Platform._resolvedExecutable()); + }, + set resolvedExecutable(_) {}, + /*io._Platform.packageConfig*/get packageConfig() { + return io._Platform._packageConfig(); + }, + set packageConfig(_) {}, + /*io._Platform._localeClosure*/get _localeClosure() { + return null; + }, + set _localeClosure(_) {}, + /*io._Platform._environmentCache*/get _environmentCache() { + return null; + }, + set _environmentCache(_) {}, + /*io._Platform._cachedOSVersion*/get _cachedOSVersion() { + return null; + }, + set _cachedOSVersion(_) {} +}, false); +var _map$10 = dart.privateName(io, "_map"); +const _is__CaseInsensitiveStringMap_default = Symbol('_is__CaseInsensitiveStringMap_default'); +io._CaseInsensitiveStringMap$ = dart.generic(V => { + var LinkedMapOfString$V = () => (LinkedMapOfString$V = dart.constFn(_js_helper.LinkedMap$(core.String, V)))(); + var VoidToV = () => (VoidToV = dart.constFn(dart.fnType(V, [])))(); + var MapOfString$V = () => (MapOfString$V = dart.constFn(core.Map$(core.String, V)))(); + var StringAndVTovoid = () => (StringAndVTovoid = dart.constFn(dart.fnType(dart.void, [core.String, V])))(); + var VToV = () => (VToV = dart.constFn(dart.fnType(V, [V])))(); + var VoidToNV = () => (VoidToNV = dart.constFn(dart.nullable(VoidToV())))(); + var StringAndVToV = () => (StringAndVToV = dart.constFn(dart.fnType(V, [core.String, V])))(); + class _CaseInsensitiveStringMap extends collection.MapBase$(core.String, V) { + containsKey(key) { + return typeof key == 'string' && dart.test(this[_map$10][$containsKey](key[$toUpperCase]())); + } + containsValue(value) { + return this[_map$10][$containsValue](value); + } + _get(key) { + return typeof key == 'string' ? this[_map$10][$_get](key[$toUpperCase]()) : null; + } + _set(key, value$) { + let value = value$; + core.String.as(key); + if (key == null) dart.nullFailed(I[121], 129, 28, "key"); + V.as(value); + this[_map$10][$_set](key[$toUpperCase](), value); + return value$; + } + putIfAbsent(key, ifAbsent) { + core.String.as(key); + if (key == null) dart.nullFailed(I[121], 133, 24, "key"); + VoidToV().as(ifAbsent); + if (ifAbsent == null) dart.nullFailed(I[121], 133, 31, "ifAbsent"); + return this[_map$10][$putIfAbsent](key[$toUpperCase](), ifAbsent); + } + addAll(other) { + MapOfString$V().as(other); + if (other == null) dart.nullFailed(I[121], 137, 30, "other"); + other[$forEach](dart.fn((key, value) => { + let t204, t203; + if (key == null) dart.nullFailed(I[121], 138, 20, "key"); + t203 = key[$toUpperCase](); + t204 = value; + this._set(t203, t204); + return t204; + }, StringAndVTovoid())); + } + remove(key) { + return typeof key == 'string' ? this[_map$10][$remove](key[$toUpperCase]()) : null; + } + clear() { + this[_map$10][$clear](); + } + forEach(f) { + if (f == null) dart.nullFailed(I[121], 148, 21, "f"); + this[_map$10][$forEach](f); + } + get keys() { + return this[_map$10][$keys]; + } + get values() { + return this[_map$10][$values]; + } + get length() { + return this[_map$10][$length]; + } + get isEmpty() { + return this[_map$10][$isEmpty]; + } + get isNotEmpty() { + return this[_map$10][$isNotEmpty]; + } + get entries() { + return this[_map$10][$entries]; + } + map(K2, V2, transform) { + if (transform == null) dart.nullFailed(I[121], 160, 44, "transform"); + return this[_map$10][$map](K2, V2, transform); + } + update(key, update, opts) { + core.String.as(key); + if (key == null) dart.nullFailed(I[121], 163, 19, "key"); + VToV().as(update); + if (update == null) dart.nullFailed(I[121], 163, 26, "update"); + let ifAbsent = opts && 'ifAbsent' in opts ? opts.ifAbsent : null; + VoidToNV().as(ifAbsent); + return this[_map$10][$update](key[$toUpperCase](), update, {ifAbsent: ifAbsent}); + } + updateAll(update) { + StringAndVToV().as(update); + if (update == null) dart.nullFailed(I[121], 166, 20, "update"); + this[_map$10][$updateAll](update); + } + removeWhere(test) { + if (test == null) dart.nullFailed(I[121], 170, 25, "test"); + this[_map$10][$removeWhere](test); + } + toString() { + return dart.toString(this[_map$10]); + } + } + (_CaseInsensitiveStringMap.new = function() { + this[_map$10] = new (LinkedMapOfString$V()).new(); + ; + }).prototype = _CaseInsensitiveStringMap.prototype; + dart.addTypeTests(_CaseInsensitiveStringMap); + _CaseInsensitiveStringMap.prototype[_is__CaseInsensitiveStringMap_default] = true; + dart.addTypeCaches(_CaseInsensitiveStringMap); + dart.setMethodSignature(_CaseInsensitiveStringMap, () => ({ + __proto__: dart.getMethods(_CaseInsensitiveStringMap.__proto__), + _get: dart.fnType(dart.nullable(V), [dart.nullable(core.Object)]), + [$_get]: dart.fnType(dart.nullable(V), [dart.nullable(core.Object)]), + _set: dart.fnType(dart.void, [dart.nullable(core.Object), dart.nullable(core.Object)]), + [$_set]: dart.fnType(dart.void, [dart.nullable(core.Object), dart.nullable(core.Object)]), + remove: dart.fnType(dart.nullable(V), [dart.nullable(core.Object)]), + [$remove]: dart.fnType(dart.nullable(V), [dart.nullable(core.Object)]), + clear: dart.fnType(dart.void, []), + [$clear]: dart.fnType(dart.void, []), + map: dart.gFnType((K2, V2) => [core.Map$(K2, V2), [dart.fnType(core.MapEntry$(K2, V2), [core.String, V])]], (K2, V2) => [dart.nullable(core.Object), dart.nullable(core.Object)]), + [$map]: dart.gFnType((K2, V2) => [core.Map$(K2, V2), [dart.fnType(core.MapEntry$(K2, V2), [core.String, V])]], (K2, V2) => [dart.nullable(core.Object), dart.nullable(core.Object)]) + })); + dart.setGetterSignature(_CaseInsensitiveStringMap, () => ({ + __proto__: dart.getGetters(_CaseInsensitiveStringMap.__proto__), + keys: core.Iterable$(core.String), + [$keys]: core.Iterable$(core.String) + })); + dart.setLibraryUri(_CaseInsensitiveStringMap, I[105]); + dart.setFieldSignature(_CaseInsensitiveStringMap, () => ({ + __proto__: dart.getFields(_CaseInsensitiveStringMap.__proto__), + [_map$10]: dart.finalFieldType(core.Map$(core.String, V)) + })); + dart.defineExtensionMethods(_CaseInsensitiveStringMap, [ + 'containsKey', + 'containsValue', + '_get', + '_set', + 'putIfAbsent', + 'addAll', + 'remove', + 'clear', + 'forEach', + 'map', + 'update', + 'updateAll', + 'removeWhere', + 'toString' + ]); + dart.defineExtensionAccessors(_CaseInsensitiveStringMap, [ + 'keys', + 'values', + 'length', + 'isEmpty', + 'isNotEmpty', + 'entries' + ]); + return _CaseInsensitiveStringMap; +}); +io._CaseInsensitiveStringMap = io._CaseInsensitiveStringMap$(); +dart.addTypeTests(io._CaseInsensitiveStringMap, _is__CaseInsensitiveStringMap_default); +io._ProcessUtils = class _ProcessUtils extends core.Object { + static _exit(status) { + if (status == null) dart.nullFailed(I[107], 306, 26, "status"); + dart.throw(new core.UnsupportedError.new("ProcessUtils._exit")); + } + static _setExitCode(status) { + if (status == null) dart.nullFailed(I[107], 311, 32, "status"); + dart.throw(new core.UnsupportedError.new("ProcessUtils._setExitCode")); + } + static _getExitCode() { + dart.throw(new core.UnsupportedError.new("ProcessUtils._getExitCode")); + } + static _sleep(millis) { + if (millis == null) dart.nullFailed(I[107], 321, 26, "millis"); + dart.throw(new core.UnsupportedError.new("ProcessUtils._sleep")); + } + static _pid(process) { + dart.throw(new core.UnsupportedError.new("ProcessUtils._pid")); + } + static _watchSignal(signal) { + if (signal == null) dart.nullFailed(I[107], 331, 59, "signal"); + dart.throw(new core.UnsupportedError.new("ProcessUtils._watchSignal")); + } +}; +(io._ProcessUtils.new = function() { + ; +}).prototype = io._ProcessUtils.prototype; +dart.addTypeTests(io._ProcessUtils); +dart.addTypeCaches(io._ProcessUtils); +dart.setLibraryUri(io._ProcessUtils, I[105]); +io.ProcessInfo = class ProcessInfo extends core.Object { + static get currentRss() { + dart.throw(new core.UnsupportedError.new("ProcessInfo.currentRss")); + } + static get maxRss() { + dart.throw(new core.UnsupportedError.new("ProcessInfo.maxRss")); + } +}; +(io.ProcessInfo.new = function() { + ; +}).prototype = io.ProcessInfo.prototype; +dart.addTypeTests(io.ProcessInfo); +dart.addTypeCaches(io.ProcessInfo); +dart.setLibraryUri(io.ProcessInfo, I[105]); +var _mode$0 = dart.privateName(io, "ProcessStartMode._mode"); +io.ProcessStartMode = class ProcessStartMode extends core.Object { + get [_mode]() { + return this[_mode$0]; + } + set [_mode](value) { + super[_mode] = value; + } + static get values() { + return C[137] || CT.C137; + } + toString() { + return (C[142] || CT.C142)[$_get](this[_mode]); + } +}; +(io.ProcessStartMode._internal = function(_mode) { + if (_mode == null) dart.nullFailed(I[122], 156, 41, "_mode"); + this[_mode$0] = _mode; + ; +}).prototype = io.ProcessStartMode.prototype; +dart.addTypeTests(io.ProcessStartMode); +dart.addTypeCaches(io.ProcessStartMode); +dart.setLibraryUri(io.ProcessStartMode, I[105]); +dart.setFieldSignature(io.ProcessStartMode, () => ({ + __proto__: dart.getFields(io.ProcessStartMode.__proto__), + [_mode]: dart.finalFieldType(core.int) +})); +dart.defineExtensionMethods(io.ProcessStartMode, ['toString']); +dart.defineLazy(io.ProcessStartMode, { + /*io.ProcessStartMode.normal*/get normal() { + return C[138] || CT.C138; + }, + /*io.ProcessStartMode.NORMAL*/get NORMAL() { + return C[138] || CT.C138; + }, + /*io.ProcessStartMode.inheritStdio*/get inheritStdio() { + return C[139] || CT.C139; + }, + /*io.ProcessStartMode.INHERIT_STDIO*/get INHERIT_STDIO() { + return C[139] || CT.C139; + }, + /*io.ProcessStartMode.detached*/get detached() { + return C[140] || CT.C140; + }, + /*io.ProcessStartMode.DETACHED*/get DETACHED() { + return C[140] || CT.C140; + }, + /*io.ProcessStartMode.detachedWithStdio*/get detachedWithStdio() { + return C[141] || CT.C141; + }, + /*io.ProcessStartMode.DETACHED_WITH_STDIO*/get DETACHED_WITH_STDIO() { + return C[141] || CT.C141; + } +}, false); +var ProcessSignal__name = dart.privateName(io, "ProcessSignal._name"); +var ProcessSignal__signalNumber = dart.privateName(io, "ProcessSignal._signalNumber"); +io.Process = class Process extends core.Object { + static start(executable, $arguments, opts) { + if (executable == null) dart.nullFailed(I[107], 352, 39, "executable"); + if ($arguments == null) dart.nullFailed(I[107], 352, 64, "arguments"); + let workingDirectory = opts && 'workingDirectory' in opts ? opts.workingDirectory : null; + let environment = opts && 'environment' in opts ? opts.environment : null; + let includeParentEnvironment = opts && 'includeParentEnvironment' in opts ? opts.includeParentEnvironment : true; + if (includeParentEnvironment == null) dart.nullFailed(I[107], 355, 12, "includeParentEnvironment"); + let runInShell = opts && 'runInShell' in opts ? opts.runInShell : false; + if (runInShell == null) dart.nullFailed(I[107], 356, 12, "runInShell"); + let mode = opts && 'mode' in opts ? opts.mode : C[138] || CT.C138; + if (mode == null) dart.nullFailed(I[107], 357, 24, "mode"); + dart.throw(new core.UnsupportedError.new("Process.start")); + } + static run(executable, $arguments, opts) { + if (executable == null) dart.nullFailed(I[107], 362, 43, "executable"); + if ($arguments == null) dart.nullFailed(I[107], 362, 68, "arguments"); + let workingDirectory = opts && 'workingDirectory' in opts ? opts.workingDirectory : null; + let environment = opts && 'environment' in opts ? opts.environment : null; + let includeParentEnvironment = opts && 'includeParentEnvironment' in opts ? opts.includeParentEnvironment : true; + if (includeParentEnvironment == null) dart.nullFailed(I[107], 365, 12, "includeParentEnvironment"); + let runInShell = opts && 'runInShell' in opts ? opts.runInShell : false; + if (runInShell == null) dart.nullFailed(I[107], 366, 12, "runInShell"); + let stdoutEncoding = opts && 'stdoutEncoding' in opts ? opts.stdoutEncoding : C[143] || CT.C143; + if (stdoutEncoding == null) dart.nullFailed(I[107], 367, 16, "stdoutEncoding"); + let stderrEncoding = opts && 'stderrEncoding' in opts ? opts.stderrEncoding : C[143] || CT.C143; + if (stderrEncoding == null) dart.nullFailed(I[107], 368, 16, "stderrEncoding"); + dart.throw(new core.UnsupportedError.new("Process.run")); + } + static runSync(executable, $arguments, opts) { + if (executable == null) dart.nullFailed(I[107], 373, 39, "executable"); + if ($arguments == null) dart.nullFailed(I[107], 373, 64, "arguments"); + let workingDirectory = opts && 'workingDirectory' in opts ? opts.workingDirectory : null; + let environment = opts && 'environment' in opts ? opts.environment : null; + let includeParentEnvironment = opts && 'includeParentEnvironment' in opts ? opts.includeParentEnvironment : true; + if (includeParentEnvironment == null) dart.nullFailed(I[107], 376, 12, "includeParentEnvironment"); + let runInShell = opts && 'runInShell' in opts ? opts.runInShell : false; + if (runInShell == null) dart.nullFailed(I[107], 377, 12, "runInShell"); + let stdoutEncoding = opts && 'stdoutEncoding' in opts ? opts.stdoutEncoding : C[143] || CT.C143; + if (stdoutEncoding == null) dart.nullFailed(I[107], 378, 16, "stdoutEncoding"); + let stderrEncoding = opts && 'stderrEncoding' in opts ? opts.stderrEncoding : C[143] || CT.C143; + if (stderrEncoding == null) dart.nullFailed(I[107], 379, 16, "stderrEncoding"); + dart.throw(new core.UnsupportedError.new("Process.runSync")); + } + static killPid(pid, signal = C[144] || CT.C144) { + if (pid == null) dart.nullFailed(I[107], 384, 27, "pid"); + if (signal == null) dart.nullFailed(I[107], 384, 47, "signal"); + dart.throw(new core.UnsupportedError.new("Process.killPid")); + } +}; +(io.Process.new = function() { + ; +}).prototype = io.Process.prototype; +dart.addTypeTests(io.Process); +dart.addTypeCaches(io.Process); +dart.setLibraryUri(io.Process, I[105]); +var exitCode$ = dart.privateName(io, "ProcessResult.exitCode"); +var stdout$ = dart.privateName(io, "ProcessResult.stdout"); +var stderr$ = dart.privateName(io, "ProcessResult.stderr"); +var pid$ = dart.privateName(io, "ProcessResult.pid"); +io.ProcessResult = class ProcessResult extends core.Object { + get exitCode() { + return this[exitCode$]; + } + set exitCode(value) { + super.exitCode = value; + } + get stdout() { + return this[stdout$]; + } + set stdout(value) { + super.stdout = value; + } + get stderr() { + return this[stderr$]; + } + set stderr(value) { + super.stderr = value; + } + get pid() { + return this[pid$]; + } + set pid(value) { + super.pid = value; + } +}; +(io.ProcessResult.new = function(pid, exitCode, stdout, stderr) { + if (pid == null) dart.nullFailed(I[122], 469, 22, "pid"); + if (exitCode == null) dart.nullFailed(I[122], 469, 32, "exitCode"); + this[pid$] = pid; + this[exitCode$] = exitCode; + this[stdout$] = stdout; + this[stderr$] = stderr; + ; +}).prototype = io.ProcessResult.prototype; +dart.addTypeTests(io.ProcessResult); +dart.addTypeCaches(io.ProcessResult); +dart.setLibraryUri(io.ProcessResult, I[105]); +dart.setFieldSignature(io.ProcessResult, () => ({ + __proto__: dart.getFields(io.ProcessResult.__proto__), + exitCode: dart.finalFieldType(core.int), + stdout: dart.finalFieldType(dart.dynamic), + stderr: dart.finalFieldType(dart.dynamic), + pid: dart.finalFieldType(core.int) +})); +var _signalNumber = dart.privateName(io, "_signalNumber"); +const _signalNumber$ = ProcessSignal__signalNumber; +const _name$5 = ProcessSignal__name; +io.ProcessSignal = class ProcessSignal extends core.Object { + get [_signalNumber]() { + return this[_signalNumber$]; + } + set [_signalNumber](value) { + super[_signalNumber] = value; + } + get [_name$4]() { + return this[_name$5]; + } + set [_name$4](value) { + super[_name$4] = value; + } + toString() { + return this[_name$4]; + } + watch() { + return io._ProcessUtils._watchSignal(this); + } +}; +(io.ProcessSignal.__ = function(_signalNumber, _name) { + if (_signalNumber == null) dart.nullFailed(I[122], 571, 30, "_signalNumber"); + if (_name == null) dart.nullFailed(I[122], 571, 50, "_name"); + this[_signalNumber$] = _signalNumber; + this[_name$5] = _name; + ; +}).prototype = io.ProcessSignal.prototype; +dart.addTypeTests(io.ProcessSignal); +dart.addTypeCaches(io.ProcessSignal); +dart.setMethodSignature(io.ProcessSignal, () => ({ + __proto__: dart.getMethods(io.ProcessSignal.__proto__), + watch: dart.fnType(async.Stream$(io.ProcessSignal), []) +})); +dart.setLibraryUri(io.ProcessSignal, I[105]); +dart.setFieldSignature(io.ProcessSignal, () => ({ + __proto__: dart.getFields(io.ProcessSignal.__proto__), + [_signalNumber]: dart.finalFieldType(core.int), + [_name$4]: dart.finalFieldType(core.String) +})); +dart.defineExtensionMethods(io.ProcessSignal, ['toString']); +dart.defineLazy(io.ProcessSignal, { + /*io.ProcessSignal.sighup*/get sighup() { + return C[145] || CT.C145; + }, + /*io.ProcessSignal.sigint*/get sigint() { + return C[146] || CT.C146; + }, + /*io.ProcessSignal.sigquit*/get sigquit() { + return C[147] || CT.C147; + }, + /*io.ProcessSignal.sigill*/get sigill() { + return C[148] || CT.C148; + }, + /*io.ProcessSignal.sigtrap*/get sigtrap() { + return C[149] || CT.C149; + }, + /*io.ProcessSignal.sigabrt*/get sigabrt() { + return C[150] || CT.C150; + }, + /*io.ProcessSignal.sigbus*/get sigbus() { + return C[151] || CT.C151; + }, + /*io.ProcessSignal.sigfpe*/get sigfpe() { + return C[152] || CT.C152; + }, + /*io.ProcessSignal.sigkill*/get sigkill() { + return C[153] || CT.C153; + }, + /*io.ProcessSignal.sigusr1*/get sigusr1() { + return C[154] || CT.C154; + }, + /*io.ProcessSignal.sigsegv*/get sigsegv() { + return C[155] || CT.C155; + }, + /*io.ProcessSignal.sigusr2*/get sigusr2() { + return C[156] || CT.C156; + }, + /*io.ProcessSignal.sigpipe*/get sigpipe() { + return C[157] || CT.C157; + }, + /*io.ProcessSignal.sigalrm*/get sigalrm() { + return C[158] || CT.C158; + }, + /*io.ProcessSignal.sigterm*/get sigterm() { + return C[144] || CT.C144; + }, + /*io.ProcessSignal.sigchld*/get sigchld() { + return C[159] || CT.C159; + }, + /*io.ProcessSignal.sigcont*/get sigcont() { + return C[160] || CT.C160; + }, + /*io.ProcessSignal.sigstop*/get sigstop() { + return C[161] || CT.C161; + }, + /*io.ProcessSignal.sigtstp*/get sigtstp() { + return C[162] || CT.C162; + }, + /*io.ProcessSignal.sigttin*/get sigttin() { + return C[163] || CT.C163; + }, + /*io.ProcessSignal.sigttou*/get sigttou() { + return C[164] || CT.C164; + }, + /*io.ProcessSignal.sigurg*/get sigurg() { + return C[165] || CT.C165; + }, + /*io.ProcessSignal.sigxcpu*/get sigxcpu() { + return C[166] || CT.C166; + }, + /*io.ProcessSignal.sigxfsz*/get sigxfsz() { + return C[167] || CT.C167; + }, + /*io.ProcessSignal.sigvtalrm*/get sigvtalrm() { + return C[168] || CT.C168; + }, + /*io.ProcessSignal.sigprof*/get sigprof() { + return C[169] || CT.C169; + }, + /*io.ProcessSignal.sigwinch*/get sigwinch() { + return C[170] || CT.C170; + }, + /*io.ProcessSignal.sigpoll*/get sigpoll() { + return C[171] || CT.C171; + }, + /*io.ProcessSignal.sigsys*/get sigsys() { + return C[172] || CT.C172; + }, + /*io.ProcessSignal.SIGHUP*/get SIGHUP() { + return C[145] || CT.C145; + }, + /*io.ProcessSignal.SIGINT*/get SIGINT() { + return C[146] || CT.C146; + }, + /*io.ProcessSignal.SIGQUIT*/get SIGQUIT() { + return C[147] || CT.C147; + }, + /*io.ProcessSignal.SIGILL*/get SIGILL() { + return C[148] || CT.C148; + }, + /*io.ProcessSignal.SIGTRAP*/get SIGTRAP() { + return C[149] || CT.C149; + }, + /*io.ProcessSignal.SIGABRT*/get SIGABRT() { + return C[150] || CT.C150; + }, + /*io.ProcessSignal.SIGBUS*/get SIGBUS() { + return C[151] || CT.C151; + }, + /*io.ProcessSignal.SIGFPE*/get SIGFPE() { + return C[152] || CT.C152; + }, + /*io.ProcessSignal.SIGKILL*/get SIGKILL() { + return C[153] || CT.C153; + }, + /*io.ProcessSignal.SIGUSR1*/get SIGUSR1() { + return C[154] || CT.C154; + }, + /*io.ProcessSignal.SIGSEGV*/get SIGSEGV() { + return C[155] || CT.C155; + }, + /*io.ProcessSignal.SIGUSR2*/get SIGUSR2() { + return C[156] || CT.C156; + }, + /*io.ProcessSignal.SIGPIPE*/get SIGPIPE() { + return C[157] || CT.C157; + }, + /*io.ProcessSignal.SIGALRM*/get SIGALRM() { + return C[158] || CT.C158; + }, + /*io.ProcessSignal.SIGTERM*/get SIGTERM() { + return C[144] || CT.C144; + }, + /*io.ProcessSignal.SIGCHLD*/get SIGCHLD() { + return C[159] || CT.C159; + }, + /*io.ProcessSignal.SIGCONT*/get SIGCONT() { + return C[160] || CT.C160; + }, + /*io.ProcessSignal.SIGSTOP*/get SIGSTOP() { + return C[161] || CT.C161; + }, + /*io.ProcessSignal.SIGTSTP*/get SIGTSTP() { + return C[162] || CT.C162; + }, + /*io.ProcessSignal.SIGTTIN*/get SIGTTIN() { + return C[163] || CT.C163; + }, + /*io.ProcessSignal.SIGTTOU*/get SIGTTOU() { + return C[164] || CT.C164; + }, + /*io.ProcessSignal.SIGURG*/get SIGURG() { + return C[165] || CT.C165; + }, + /*io.ProcessSignal.SIGXCPU*/get SIGXCPU() { + return C[166] || CT.C166; + }, + /*io.ProcessSignal.SIGXFSZ*/get SIGXFSZ() { + return C[167] || CT.C167; + }, + /*io.ProcessSignal.SIGVTALRM*/get SIGVTALRM() { + return C[168] || CT.C168; + }, + /*io.ProcessSignal.SIGPROF*/get SIGPROF() { + return C[169] || CT.C169; + }, + /*io.ProcessSignal.SIGWINCH*/get SIGWINCH() { + return C[170] || CT.C170; + }, + /*io.ProcessSignal.SIGPOLL*/get SIGPOLL() { + return C[171] || CT.C171; + }, + /*io.ProcessSignal.SIGSYS*/get SIGSYS() { + return C[172] || CT.C172; + } +}, false); +var message$4 = dart.privateName(io, "SignalException.message"); +var osError$0 = dart.privateName(io, "SignalException.osError"); +io.SignalException = class SignalException extends core.Object { + get message() { + return this[message$4]; + } + set message(value) { + super.message = value; + } + get osError() { + return this[osError$0]; + } + set osError(value) { + super.osError = value; + } + toString() { + let msg = ""; + if (this.osError != null) { + msg = ", osError: " + dart.str(this.osError); + } + return "SignalException: " + dart.str(this.message) + msg; + } +}; +(io.SignalException.new = function(message, osError = null) { + if (message == null) dart.nullFailed(I[122], 597, 30, "message"); + this[message$4] = message; + this[osError$0] = osError; + ; +}).prototype = io.SignalException.prototype; +dart.addTypeTests(io.SignalException); +dart.addTypeCaches(io.SignalException); +io.SignalException[dart.implements] = () => [io.IOException]; +dart.setLibraryUri(io.SignalException, I[105]); +dart.setFieldSignature(io.SignalException, () => ({ + __proto__: dart.getFields(io.SignalException.__proto__), + message: dart.finalFieldType(core.String), + osError: dart.finalFieldType(dart.dynamic) +})); +dart.defineExtensionMethods(io.SignalException, ['toString']); +var executable$ = dart.privateName(io, "ProcessException.executable"); +var $arguments$ = dart.privateName(io, "ProcessException.arguments"); +var message$5 = dart.privateName(io, "ProcessException.message"); +var errorCode$1 = dart.privateName(io, "ProcessException.errorCode"); +io.ProcessException = class ProcessException extends core.Object { + get executable() { + return this[executable$]; + } + set executable(value) { + super.executable = value; + } + get arguments() { + return this[$arguments$]; + } + set arguments(value) { + super.arguments = value; + } + get message() { + return this[message$5]; + } + set message(value) { + super.message = value; + } + get errorCode() { + return this[errorCode$1]; + } + set errorCode(value) { + super.errorCode = value; + } + toString() { + let args = this.arguments[$join](" "); + return "ProcessException: " + dart.str(this.message) + "\n Command: " + dart.str(this.executable) + " " + dart.str(args); + } +}; +(io.ProcessException.new = function(executable, $arguments, message = "", errorCode = 0) { + if (executable == null) dart.nullFailed(I[122], 625, 31, "executable"); + if ($arguments == null) dart.nullFailed(I[122], 625, 48, "arguments"); + if (message == null) dart.nullFailed(I[122], 626, 13, "message"); + if (errorCode == null) dart.nullFailed(I[122], 626, 32, "errorCode"); + this[executable$] = executable; + this[$arguments$] = $arguments; + this[message$5] = message; + this[errorCode$1] = errorCode; + ; +}).prototype = io.ProcessException.prototype; +dart.addTypeTests(io.ProcessException); +dart.addTypeCaches(io.ProcessException); +io.ProcessException[dart.implements] = () => [io.IOException]; +dart.setLibraryUri(io.ProcessException, I[105]); +dart.setFieldSignature(io.ProcessException, () => ({ + __proto__: dart.getFields(io.ProcessException.__proto__), + executable: dart.finalFieldType(core.String), + arguments: dart.finalFieldType(core.List$(core.String)), + message: dart.finalFieldType(core.String), + errorCode: dart.finalFieldType(core.int) +})); +dart.defineExtensionMethods(io.ProcessException, ['toString']); +var _socket$ = dart.privateName(io, "_socket"); +var _owner = dart.privateName(io, "_owner"); +var _onCancel$ = dart.privateName(io, "_onCancel"); +var _detachRaw = dart.privateName(io, "_detachRaw"); +io.SecureSocket = class SecureSocket extends core.Object { + static connect(host, port, opts) { + if (port == null) dart.nullFailed(I[124], 40, 49, "port"); + let context = opts && 'context' in opts ? opts.context : null; + let onBadCertificate = opts && 'onBadCertificate' in opts ? opts.onBadCertificate : null; + let supportedProtocols = opts && 'supportedProtocols' in opts ? opts.supportedProtocols : null; + let timeout = opts && 'timeout' in opts ? opts.timeout : null; + return io.RawSecureSocket.connect(host, port, {context: context, onBadCertificate: onBadCertificate, supportedProtocols: supportedProtocols, timeout: timeout}).then(io.SecureSocket, dart.fn(rawSocket => { + if (rawSocket == null) dart.nullFailed(I[124], 50, 16, "rawSocket"); + return io.SecureSocket.__(rawSocket); + }, T$0.RawSecureSocketToSecureSocket())); + } + static startConnect(host, port, opts) { + if (port == null) dart.nullFailed(I[124], 56, 70, "port"); + let context = opts && 'context' in opts ? opts.context : null; + let onBadCertificate = opts && 'onBadCertificate' in opts ? opts.onBadCertificate : null; + let supportedProtocols = opts && 'supportedProtocols' in opts ? opts.supportedProtocols : null; + return io.RawSecureSocket.startConnect(host, port, {context: context, onBadCertificate: onBadCertificate, supportedProtocols: supportedProtocols}).then(T$0.ConnectionTaskOfSecureSocket(), dart.fn(rawState => { + if (rawState == null) dart.nullFailed(I[124], 64, 16, "rawState"); + let socket = rawState.socket.then(io.SecureSocket, dart.fn(rawSocket => { + if (rawSocket == null) dart.nullFailed(I[124], 66, 33, "rawSocket"); + return io.SecureSocket.__(rawSocket); + }, T$0.RawSecureSocketToSecureSocket())); + return new (T$0.ConnectionTaskOfSecureSocket()).__(socket, rawState[_onCancel$]); + }, T$0.ConnectionTaskOfRawSecureSocketToConnectionTaskOfSecureSocket())); + } + static secure(socket, opts) { + if (socket == null) dart.nullFailed(I[124], 103, 45, "socket"); + let host = opts && 'host' in opts ? opts.host : null; + let context = opts && 'context' in opts ? opts.context : null; + let onBadCertificate = opts && 'onBadCertificate' in opts ? opts.onBadCertificate : null; + let supportedProtocols = opts && 'supportedProtocols' in opts ? opts.supportedProtocols : null; + return async.Future.as(dart.dsend(socket, _detachRaw, [])).then(io.RawSecureSocket, dart.fn(detachedRaw => io.RawSecureSocket.secure(io.RawSocket.as(dart.dsend(detachedRaw, '_get', [0])), {subscription: T$0.StreamSubscriptionNOfRawSocketEvent().as(dart.dsend(detachedRaw, '_get', [1])), host: host, context: context, onBadCertificate: onBadCertificate, supportedProtocols: supportedProtocols}), T$0.dynamicToFutureOfRawSecureSocket())).then(io.SecureSocket, dart.fn(raw => { + if (raw == null) dart.nullFailed(I[124], 116, 28, "raw"); + return io.SecureSocket.__(raw); + }, T$0.RawSecureSocketToSecureSocket())); + } + static secureServer(socket, context, opts) { + if (socket == null) dart.nullFailed(I[124], 140, 14, "socket"); + let bufferedData = opts && 'bufferedData' in opts ? opts.bufferedData : null; + let requestClientCertificate = opts && 'requestClientCertificate' in opts ? opts.requestClientCertificate : false; + if (requestClientCertificate == null) dart.nullFailed(I[124], 142, 12, "requestClientCertificate"); + let requireClientCertificate = opts && 'requireClientCertificate' in opts ? opts.requireClientCertificate : false; + if (requireClientCertificate == null) dart.nullFailed(I[124], 143, 12, "requireClientCertificate"); + let supportedProtocols = opts && 'supportedProtocols' in opts ? opts.supportedProtocols : null; + return async.Future.as(dart.dsend(socket, _detachRaw, [])).then(io.RawSecureSocket, dart.fn(detachedRaw => io.RawSecureSocket.secureServer(io.RawSocket.as(dart.dsend(detachedRaw, '_get', [0])), context, {subscription: T$0.StreamSubscriptionNOfRawSocketEvent().as(dart.dsend(detachedRaw, '_get', [1])), bufferedData: bufferedData, requestClientCertificate: requestClientCertificate, requireClientCertificate: requireClientCertificate, supportedProtocols: supportedProtocols}), T$0.dynamicToFutureOfRawSecureSocket())).then(io.SecureSocket, dart.fn(raw => { + if (raw == null) dart.nullFailed(I[124], 153, 28, "raw"); + return io.SecureSocket.__(raw); + }, T$0.RawSecureSocketToSecureSocket())); + } +}; +(io.SecureSocket[dart.mixinNew] = function() { +}).prototype = io.SecureSocket.prototype; +dart.addTypeTests(io.SecureSocket); +dart.addTypeCaches(io.SecureSocket); +io.SecureSocket[dart.implements] = () => [io.Socket]; +dart.setLibraryUri(io.SecureSocket, I[105]); +io.SecureServerSocket = class SecureServerSocket extends async.Stream$(io.SecureSocket) { + static bind(address, port, context, opts) { + if (port == null) dart.nullFailed(I[123], 66, 20, "port"); + let backlog = opts && 'backlog' in opts ? opts.backlog : 0; + if (backlog == null) dart.nullFailed(I[123], 67, 12, "backlog"); + let v6Only = opts && 'v6Only' in opts ? opts.v6Only : false; + if (v6Only == null) dart.nullFailed(I[123], 68, 12, "v6Only"); + let requestClientCertificate = opts && 'requestClientCertificate' in opts ? opts.requestClientCertificate : false; + if (requestClientCertificate == null) dart.nullFailed(I[123], 69, 12, "requestClientCertificate"); + let requireClientCertificate = opts && 'requireClientCertificate' in opts ? opts.requireClientCertificate : false; + if (requireClientCertificate == null) dart.nullFailed(I[123], 70, 12, "requireClientCertificate"); + let supportedProtocols = opts && 'supportedProtocols' in opts ? opts.supportedProtocols : null; + let shared = opts && 'shared' in opts ? opts.shared : false; + if (shared == null) dart.nullFailed(I[123], 72, 12, "shared"); + return io.RawSecureServerSocket.bind(address, port, context, {backlog: backlog, v6Only: v6Only, requestClientCertificate: requestClientCertificate, requireClientCertificate: requireClientCertificate, supportedProtocols: supportedProtocols, shared: shared}).then(io.SecureServerSocket, dart.fn(serverSocket => { + if (serverSocket == null) dart.nullFailed(I[123], 80, 16, "serverSocket"); + return new io.SecureServerSocket.__(serverSocket); + }, T$0.RawSecureServerSocketToSecureServerSocket())); + } + listen(onData, opts) { + let onError = opts && 'onError' in opts ? opts.onError : null; + let onDone = opts && 'onDone' in opts ? opts.onDone : null; + let cancelOnError = opts && 'cancelOnError' in opts ? opts.cancelOnError : null; + return this[_socket$].map(io.SecureSocket, dart.fn(rawSocket => { + if (rawSocket == null) dart.nullFailed(I[123], 85, 25, "rawSocket"); + return io.SecureSocket.__(rawSocket); + }, T$0.RawSecureSocketToSecureSocket())).listen(onData, {onError: onError, onDone: onDone, cancelOnError: cancelOnError}); + } + get port() { + return this[_socket$].port; + } + get address() { + return this[_socket$].address; + } + close() { + return this[_socket$].close().then(io.SecureServerSocket, dart.fn(_ => { + if (_ == null) dart.nullFailed(I[123], 102, 63, "_"); + return this; + }, T$0.RawSecureServerSocketToSecureServerSocket())); + } + set [_owner](owner) { + this[_socket$][_owner] = owner; + } +}; +(io.SecureServerSocket.__ = function(_socket) { + if (_socket == null) dart.nullFailed(I[123], 13, 29, "_socket"); + this[_socket$] = _socket; + io.SecureServerSocket.__proto__.new.call(this); + ; +}).prototype = io.SecureServerSocket.prototype; +dart.addTypeTests(io.SecureServerSocket); +dart.addTypeCaches(io.SecureServerSocket); +dart.setMethodSignature(io.SecureServerSocket, () => ({ + __proto__: dart.getMethods(io.SecureServerSocket.__proto__), + listen: dart.fnType(async.StreamSubscription$(io.SecureSocket), [dart.nullable(dart.fnType(dart.void, [io.SecureSocket]))], {cancelOnError: dart.nullable(core.bool), onDone: dart.nullable(dart.fnType(dart.void, [])), onError: dart.nullable(core.Function)}, {}), + close: dart.fnType(async.Future$(io.SecureServerSocket), []) +})); +dart.setGetterSignature(io.SecureServerSocket, () => ({ + __proto__: dart.getGetters(io.SecureServerSocket.__proto__), + port: core.int, + address: io.InternetAddress +})); +dart.setSetterSignature(io.SecureServerSocket, () => ({ + __proto__: dart.getSetters(io.SecureServerSocket.__proto__), + [_owner]: dart.dynamic +})); +dart.setLibraryUri(io.SecureServerSocket, I[105]); +dart.setFieldSignature(io.SecureServerSocket, () => ({ + __proto__: dart.getFields(io.SecureServerSocket.__proto__), + [_socket$]: dart.finalFieldType(io.RawSecureServerSocket) +})); +var requestClientCertificate$ = dart.privateName(io, "RawSecureServerSocket.requestClientCertificate"); +var requireClientCertificate$ = dart.privateName(io, "RawSecureServerSocket.requireClientCertificate"); +var supportedProtocols$ = dart.privateName(io, "RawSecureServerSocket.supportedProtocols"); +var __RawSecureServerSocket__controller = dart.privateName(io, "_#RawSecureServerSocket#_controller"); +var __RawSecureServerSocket__controller_isSet = dart.privateName(io, "_#RawSecureServerSocket#_controller#isSet"); +var _subscription$ = dart.privateName(io, "_subscription"); +var _context$ = dart.privateName(io, "_context"); +var _onSubscriptionStateChange = dart.privateName(io, "_onSubscriptionStateChange"); +var _onPauseStateChange = dart.privateName(io, "_onPauseStateChange"); +var _onData$0 = dart.privateName(io, "_onData"); +io.RawSecureSocket = class RawSecureSocket extends core.Object { + static connect(host, port, opts) { + if (port == null) dart.nullFailed(I[124], 216, 52, "port"); + let context = opts && 'context' in opts ? opts.context : null; + let onBadCertificate = opts && 'onBadCertificate' in opts ? opts.onBadCertificate : null; + let supportedProtocols = opts && 'supportedProtocols' in opts ? opts.supportedProtocols : null; + let timeout = opts && 'timeout' in opts ? opts.timeout : null; + io._RawSecureSocket._verifyFields(host, port, false, false); + return io.RawSocket.connect(host, port, {timeout: timeout}).then(io.RawSecureSocket, dart.fn(socket => { + if (socket == null) dart.nullFailed(I[124], 222, 66, "socket"); + return io.RawSecureSocket.secure(socket, {context: context, onBadCertificate: onBadCertificate, supportedProtocols: supportedProtocols}); + }, T$0.RawSocketToFutureOfRawSecureSocket())); + } + static startConnect(host, port, opts) { + if (port == null) dart.nullFailed(I[124], 233, 73, "port"); + let context = opts && 'context' in opts ? opts.context : null; + let onBadCertificate = opts && 'onBadCertificate' in opts ? opts.onBadCertificate : null; + let supportedProtocols = opts && 'supportedProtocols' in opts ? opts.supportedProtocols : null; + return io.RawSocket.startConnect(host, port).then(T$0.ConnectionTaskOfRawSecureSocket(), dart.fn(rawState => { + if (rawState == null) dart.nullFailed(I[124], 238, 42, "rawState"); + let socket = rawState.socket.then(io.RawSecureSocket, dart.fn(rawSocket => { + if (rawSocket == null) dart.nullFailed(I[124], 239, 62, "rawSocket"); + return io.RawSecureSocket.secure(rawSocket, {context: context, onBadCertificate: onBadCertificate, supportedProtocols: supportedProtocols}); + }, T$0.RawSocketToFutureOfRawSecureSocket())); + return new (T$0.ConnectionTaskOfRawSecureSocket()).__(socket, rawState[_onCancel$]); + }, T$0.ConnectionTaskOfRawSocketToConnectionTaskOfRawSecureSocket())); + } + static secure(socket, opts) { + if (socket == null) dart.nullFailed(I[124], 281, 51, "socket"); + let subscription = opts && 'subscription' in opts ? opts.subscription : null; + let host = opts && 'host' in opts ? opts.host : null; + let context = opts && 'context' in opts ? opts.context : null; + let onBadCertificate = opts && 'onBadCertificate' in opts ? opts.onBadCertificate : null; + let supportedProtocols = opts && 'supportedProtocols' in opts ? opts.supportedProtocols : null; + socket.readEventsEnabled = false; + socket.writeEventsEnabled = false; + return io._RawSecureSocket.connect(host != null ? host : socket.address.host, socket.port, false, socket, {subscription: subscription, context: context, onBadCertificate: onBadCertificate, supportedProtocols: supportedProtocols}); + } + static secureServer(socket, context, opts) { + if (socket == null) dart.nullFailed(I[124], 320, 17, "socket"); + let subscription = opts && 'subscription' in opts ? opts.subscription : null; + let bufferedData = opts && 'bufferedData' in opts ? opts.bufferedData : null; + let requestClientCertificate = opts && 'requestClientCertificate' in opts ? opts.requestClientCertificate : false; + if (requestClientCertificate == null) dart.nullFailed(I[124], 323, 12, "requestClientCertificate"); + let requireClientCertificate = opts && 'requireClientCertificate' in opts ? opts.requireClientCertificate : false; + if (requireClientCertificate == null) dart.nullFailed(I[124], 324, 12, "requireClientCertificate"); + let supportedProtocols = opts && 'supportedProtocols' in opts ? opts.supportedProtocols : null; + socket.readEventsEnabled = false; + socket.writeEventsEnabled = false; + return io._RawSecureSocket.connect(socket.address, socket.remotePort, true, socket, {context: context, subscription: subscription, bufferedData: bufferedData, requestClientCertificate: requestClientCertificate, requireClientCertificate: requireClientCertificate, supportedProtocols: supportedProtocols}); + } +}; +(io.RawSecureSocket.new = function() { + ; +}).prototype = io.RawSecureSocket.prototype; +dart.addTypeTests(io.RawSecureSocket); +dart.addTypeCaches(io.RawSecureSocket); +io.RawSecureSocket[dart.implements] = () => [io.RawSocket]; +dart.setLibraryUri(io.RawSecureSocket, I[105]); +io.RawSecureServerSocket = class RawSecureServerSocket extends async.Stream$(io.RawSecureSocket) { + get requestClientCertificate() { + return this[requestClientCertificate$]; + } + set requestClientCertificate(value) { + super.requestClientCertificate = value; + } + get requireClientCertificate() { + return this[requireClientCertificate$]; + } + set requireClientCertificate(value) { + super.requireClientCertificate = value; + } + get supportedProtocols() { + return this[supportedProtocols$]; + } + set supportedProtocols(value) { + super.supportedProtocols = value; + } + get [_controller]() { + let t203; + return dart.test(this[__RawSecureServerSocket__controller_isSet]) ? (t203 = this[__RawSecureServerSocket__controller], t203) : dart.throw(new _internal.LateError.fieldNI("_controller")); + } + set [_controller](t203) { + if (t203 == null) dart.nullFailed(I[123], 114, 42, "null"); + this[__RawSecureServerSocket__controller_isSet] = true; + this[__RawSecureServerSocket__controller] = t203; + } + static bind(address, port, context, opts) { + if (port == null) dart.nullFailed(I[123], 186, 20, "port"); + let backlog = opts && 'backlog' in opts ? opts.backlog : 0; + if (backlog == null) dart.nullFailed(I[123], 187, 12, "backlog"); + let v6Only = opts && 'v6Only' in opts ? opts.v6Only : false; + if (v6Only == null) dart.nullFailed(I[123], 188, 12, "v6Only"); + let requestClientCertificate = opts && 'requestClientCertificate' in opts ? opts.requestClientCertificate : false; + if (requestClientCertificate == null) dart.nullFailed(I[123], 189, 12, "requestClientCertificate"); + let requireClientCertificate = opts && 'requireClientCertificate' in opts ? opts.requireClientCertificate : false; + if (requireClientCertificate == null) dart.nullFailed(I[123], 190, 12, "requireClientCertificate"); + let supportedProtocols = opts && 'supportedProtocols' in opts ? opts.supportedProtocols : null; + let shared = opts && 'shared' in opts ? opts.shared : false; + if (shared == null) dart.nullFailed(I[123], 192, 12, "shared"); + return io.RawServerSocket.bind(address, port, {backlog: backlog, v6Only: v6Only, shared: shared}).then(io.RawSecureServerSocket, dart.fn(serverSocket => { + if (serverSocket == null) dart.nullFailed(I[123], 195, 16, "serverSocket"); + return new io.RawSecureServerSocket.__(serverSocket, context, requestClientCertificate, requireClientCertificate, supportedProtocols); + }, T$0.RawServerSocketToRawSecureServerSocket())); + } + listen(onData, opts) { + let onError = opts && 'onError' in opts ? opts.onError : null; + let onDone = opts && 'onDone' in opts ? opts.onDone : null; + let cancelOnError = opts && 'cancelOnError' in opts ? opts.cancelOnError : null; + return this[_controller].stream.listen(onData, {onError: onError, onDone: onDone, cancelOnError: cancelOnError}); + } + get port() { + return this[_socket$].port; + } + get address() { + return this[_socket$].address; + } + close() { + this[_closed] = true; + return this[_socket$].close().then(io.RawSecureServerSocket, dart.fn(_ => { + if (_ == null) dart.nullFailed(I[123], 221, 34, "_"); + return this; + }, T$0.RawServerSocketToRawSecureServerSocket())); + } + [_onData$0](connection) { + if (connection == null) dart.nullFailed(I[123], 224, 26, "connection"); + let remotePort = null; + try { + remotePort = connection.remotePort; + } catch (e$) { + let e = dart.getThrown(e$); + if (core.Object.is(e)) { + return; + } else + throw e$; + } + io._RawSecureSocket.connect(connection.address, core.int.as(remotePort), true, connection, {context: this[_context$], requestClientCertificate: this.requestClientCertificate, requireClientCertificate: this.requireClientCertificate, supportedProtocols: this.supportedProtocols}).then(core.Null, dart.fn(secureConnection => { + if (secureConnection == null) dart.nullFailed(I[123], 238, 32, "secureConnection"); + if (dart.test(this[_closed])) { + secureConnection.close(); + } else { + this[_controller].add(secureConnection); + } + }, T$0.RawSecureSocketToNull())).catchError(dart.fn((e, s) => { + if (!dart.test(this[_closed])) { + this[_controller].addError(core.Object.as(e), T$.StackTraceN().as(s)); + } + }, T$.dynamicAnddynamicToNull())); + } + [_onPauseStateChange]() { + if (dart.test(this[_controller].isPaused)) { + dart.nullCheck(this[_subscription$]).pause(); + } else { + dart.nullCheck(this[_subscription$]).resume(); + } + } + [_onSubscriptionStateChange]() { + if (dart.test(this[_controller].hasListener)) { + this[_subscription$] = this[_socket$].listen(dart.bind(this, _onData$0), {onError: dart.bind(this[_controller], 'addError'), onDone: dart.bind(this[_controller], 'close')}); + } else { + this.close(); + } + } + set [_owner](owner) { + dart.dput(this[_socket$], _owner, owner); + } +}; +(io.RawSecureServerSocket.__ = function(_socket, _context, requestClientCertificate, requireClientCertificate, supportedProtocols) { + if (_socket == null) dart.nullFailed(I[123], 123, 12, "_socket"); + if (requestClientCertificate == null) dart.nullFailed(I[123], 125, 12, "requestClientCertificate"); + if (requireClientCertificate == null) dart.nullFailed(I[123], 126, 12, "requireClientCertificate"); + this[__RawSecureServerSocket__controller] = null; + this[__RawSecureServerSocket__controller_isSet] = false; + this[_subscription$] = null; + this[_closed] = false; + this[_socket$] = _socket; + this[_context$] = _context; + this[requestClientCertificate$] = requestClientCertificate; + this[requireClientCertificate$] = requireClientCertificate; + this[supportedProtocols$] = supportedProtocols; + io.RawSecureServerSocket.__proto__.new.call(this); + this[_controller] = T$0.StreamControllerOfRawSecureSocket().new({sync: true, onListen: dart.bind(this, _onSubscriptionStateChange), onPause: dart.bind(this, _onPauseStateChange), onResume: dart.bind(this, _onPauseStateChange), onCancel: dart.bind(this, _onSubscriptionStateChange)}); +}).prototype = io.RawSecureServerSocket.prototype; +dart.addTypeTests(io.RawSecureServerSocket); +dart.addTypeCaches(io.RawSecureServerSocket); +dart.setMethodSignature(io.RawSecureServerSocket, () => ({ + __proto__: dart.getMethods(io.RawSecureServerSocket.__proto__), + listen: dart.fnType(async.StreamSubscription$(io.RawSecureSocket), [dart.nullable(dart.fnType(dart.void, [io.RawSecureSocket]))], {cancelOnError: dart.nullable(core.bool), onDone: dart.nullable(dart.fnType(dart.void, [])), onError: dart.nullable(core.Function)}, {}), + close: dart.fnType(async.Future$(io.RawSecureServerSocket), []), + [_onData$0]: dart.fnType(dart.void, [io.RawSocket]), + [_onPauseStateChange]: dart.fnType(dart.void, []), + [_onSubscriptionStateChange]: dart.fnType(dart.void, []) +})); +dart.setGetterSignature(io.RawSecureServerSocket, () => ({ + __proto__: dart.getGetters(io.RawSecureServerSocket.__proto__), + [_controller]: async.StreamController$(io.RawSecureSocket), + port: core.int, + address: io.InternetAddress +})); +dart.setSetterSignature(io.RawSecureServerSocket, () => ({ + __proto__: dart.getSetters(io.RawSecureServerSocket.__proto__), + [_controller]: async.StreamController$(io.RawSecureSocket), + [_owner]: dart.dynamic +})); +dart.setLibraryUri(io.RawSecureServerSocket, I[105]); +dart.setFieldSignature(io.RawSecureServerSocket, () => ({ + __proto__: dart.getFields(io.RawSecureServerSocket.__proto__), + [_socket$]: dart.finalFieldType(io.RawServerSocket), + [__RawSecureServerSocket__controller]: dart.fieldType(dart.nullable(async.StreamController$(io.RawSecureSocket))), + [__RawSecureServerSocket__controller_isSet]: dart.fieldType(core.bool), + [_subscription$]: dart.fieldType(dart.nullable(async.StreamSubscription$(io.RawSocket))), + [_context$]: dart.finalFieldType(dart.nullable(io.SecurityContext)), + requestClientCertificate: dart.finalFieldType(core.bool), + requireClientCertificate: dart.finalFieldType(core.bool), + supportedProtocols: dart.finalFieldType(dart.nullable(core.List$(core.String))), + [_closed]: dart.fieldType(core.bool) +})); +io.X509Certificate = class X509Certificate extends core.Object {}; +(io.X509Certificate[dart.mixinNew] = function() { +}).prototype = io.X509Certificate.prototype; +dart.addTypeTests(io.X509Certificate); +dart.addTypeCaches(io.X509Certificate); +dart.setLibraryUri(io.X509Certificate, I[105]); +io._FilterStatus = class _FilterStatus extends core.Object {}; +(io._FilterStatus.new = function() { + this.progress = false; + this.readEmpty = true; + this.writeEmpty = true; + this.readPlaintextNoLongerEmpty = false; + this.writePlaintextNoLongerFull = false; + this.readEncryptedNoLongerFull = false; + this.writeEncryptedNoLongerEmpty = false; + ; +}).prototype = io._FilterStatus.prototype; +dart.addTypeTests(io._FilterStatus); +dart.addTypeCaches(io._FilterStatus); +dart.setLibraryUri(io._FilterStatus, I[105]); +dart.setFieldSignature(io._FilterStatus, () => ({ + __proto__: dart.getFields(io._FilterStatus.__proto__), + progress: dart.fieldType(core.bool), + readEmpty: dart.fieldType(core.bool), + writeEmpty: dart.fieldType(core.bool), + readPlaintextNoLongerEmpty: dart.fieldType(core.bool), + writePlaintextNoLongerFull: dart.fieldType(core.bool), + readEncryptedNoLongerFull: dart.fieldType(core.bool), + writeEncryptedNoLongerEmpty: dart.fieldType(core.bool) +})); +var _handshakeComplete = dart.privateName(io, "_handshakeComplete"); +var ___RawSecureSocket__socketSubscription = dart.privateName(io, "_#_RawSecureSocket#_socketSubscription"); +var ___RawSecureSocket__socketSubscription_isSet = dart.privateName(io, "_#_RawSecureSocket#_socketSubscription#isSet"); +var _bufferedDataIndex = dart.privateName(io, "_bufferedDataIndex"); +var _status = dart.privateName(io, "_status"); +var _writeEventsEnabled = dart.privateName(io, "_writeEventsEnabled"); +var _readEventsEnabled = dart.privateName(io, "_readEventsEnabled"); +var _pauseCount = dart.privateName(io, "_pauseCount"); +var _pendingReadEvent = dart.privateName(io, "_pendingReadEvent"); +var _socketClosedRead = dart.privateName(io, "_socketClosedRead"); +var _socketClosedWrite = dart.privateName(io, "_socketClosedWrite"); +var _closedRead = dart.privateName(io, "_closedRead"); +var _closedWrite = dart.privateName(io, "_closedWrite"); +var _filterStatus = dart.privateName(io, "_filterStatus"); +var _connectPending = dart.privateName(io, "_connectPending"); +var _filterPending = dart.privateName(io, "_filterPending"); +var _filterActive = dart.privateName(io, "_filterActive"); +var _secureFilter = dart.privateName(io, "_secureFilter"); +var _selectedProtocol = dart.privateName(io, "_selectedProtocol"); +var _bufferedData$ = dart.privateName(io, "_bufferedData"); +var _secureHandshakeCompleteHandler = dart.privateName(io, "_secureHandshakeCompleteHandler"); +var _onBadCertificateWrapper = dart.privateName(io, "_onBadCertificateWrapper"); +var _socketSubscription = dart.privateName(io, "_socketSubscription"); +var _eventDispatcher = dart.privateName(io, "_eventDispatcher"); +var _reportError = dart.privateName(io, "_reportError"); +var _doneHandler = dart.privateName(io, "_doneHandler"); +var _secureHandshake = dart.privateName(io, "_secureHandshake"); +var _sendWriteEvent = dart.privateName(io, "_sendWriteEvent"); +var _completeCloseCompleter = dart.privateName(io, "_completeCloseCompleter"); +var _close$ = dart.privateName(io, "_close"); +var _scheduleReadEvent = dart.privateName(io, "_scheduleReadEvent"); +var _scheduleFilter = dart.privateName(io, "_scheduleFilter"); +var _readHandler = dart.privateName(io, "_readHandler"); +var _writeHandler = dart.privateName(io, "_writeHandler"); +var _closeHandler = dart.privateName(io, "_closeHandler"); +var _readSocket = dart.privateName(io, "_readSocket"); +var _writeSocket = dart.privateName(io, "_writeSocket"); +var _tryFilter = dart.privateName(io, "_tryFilter"); +var _pushAllFilterStages = dart.privateName(io, "_pushAllFilterStages"); +var _readSocketOrBufferedData = dart.privateName(io, "_readSocketOrBufferedData"); +var _sendReadEvent = dart.privateName(io, "_sendReadEvent"); +var _value$ = dart.privateName(io, "RawSocketEvent._value"); +var _value$0 = dart.privateName(io, "_value"); +io.RawSocketEvent = class RawSocketEvent extends core.Object { + get [_value$0]() { + return this[_value$]; + } + set [_value$0](value) { + super[_value$0] = value; + } + toString() { + return (C[173] || CT.C173)[$_get](this[_value$0]); + } +}; +(io.RawSocketEvent.__ = function(_value) { + if (_value == null) dart.nullFailed(I[125], 518, 31, "_value"); + this[_value$] = _value; + ; +}).prototype = io.RawSocketEvent.prototype; +dart.addTypeTests(io.RawSocketEvent); +dart.addTypeCaches(io.RawSocketEvent); +dart.setLibraryUri(io.RawSocketEvent, I[105]); +dart.setFieldSignature(io.RawSocketEvent, () => ({ + __proto__: dart.getFields(io.RawSocketEvent.__proto__), + [_value$0]: dart.finalFieldType(core.int) +})); +dart.defineExtensionMethods(io.RawSocketEvent, ['toString']); +dart.defineLazy(io.RawSocketEvent, { + /*io.RawSocketEvent.read*/get read() { + return C[174] || CT.C174; + }, + /*io.RawSocketEvent.write*/get write() { + return C[175] || CT.C175; + }, + /*io.RawSocketEvent.readClosed*/get readClosed() { + return C[176] || CT.C176; + }, + /*io.RawSocketEvent.closed*/get closed() { + return C[177] || CT.C177; + }, + /*io.RawSocketEvent.READ*/get READ() { + return C[174] || CT.C174; + }, + /*io.RawSocketEvent.WRITE*/get WRITE() { + return C[175] || CT.C175; + }, + /*io.RawSocketEvent.READ_CLOSED*/get READ_CLOSED() { + return C[176] || CT.C176; + }, + /*io.RawSocketEvent.CLOSED*/get CLOSED() { + return C[177] || CT.C177; + } +}, false); +io._RawSecureSocket = class _RawSecureSocket extends async.Stream$(io.RawSocketEvent) { + static _isBufferEncrypted(identifier) { + if (identifier == null) dart.nullFailed(I[124], 414, 38, "identifier"); + return dart.notNull(identifier) >= 2; + } + get [_socketSubscription]() { + let t206; + return dart.test(this[___RawSecureSocket__socketSubscription_isSet]) ? (t206 = this[___RawSecureSocket__socketSubscription], t206) : dart.throw(new _internal.LateError.fieldNI("_socketSubscription")); + } + set [_socketSubscription](t206) { + if (t206 == null) dart.nullFailed(I[124], 421, 49, "null"); + if (dart.test(this[___RawSecureSocket__socketSubscription_isSet])) + dart.throw(new _internal.LateError.fieldAI("_socketSubscription")); + else { + this[___RawSecureSocket__socketSubscription_isSet] = true; + this[___RawSecureSocket__socketSubscription] = t206; + } + } + static connect(host, requestedPort, isServer, socket, opts) { + let t207; + if (requestedPort == null) dart.nullFailed(I[124], 452, 11, "requestedPort"); + if (isServer == null) dart.nullFailed(I[124], 453, 12, "isServer"); + if (socket == null) dart.nullFailed(I[124], 454, 17, "socket"); + let context = opts && 'context' in opts ? opts.context : null; + let subscription = opts && 'subscription' in opts ? opts.subscription : null; + let bufferedData = opts && 'bufferedData' in opts ? opts.bufferedData : null; + let requestClientCertificate = opts && 'requestClientCertificate' in opts ? opts.requestClientCertificate : false; + if (requestClientCertificate == null) dart.nullFailed(I[124], 458, 12, "requestClientCertificate"); + let requireClientCertificate = opts && 'requireClientCertificate' in opts ? opts.requireClientCertificate : false; + if (requireClientCertificate == null) dart.nullFailed(I[124], 459, 12, "requireClientCertificate"); + let onBadCertificate = opts && 'onBadCertificate' in opts ? opts.onBadCertificate : null; + let supportedProtocols = opts && 'supportedProtocols' in opts ? opts.supportedProtocols : null; + io._RawSecureSocket._verifyFields(host, requestedPort, requestClientCertificate, requireClientCertificate); + if (io.InternetAddress.is(host)) host = host.host; + let address = socket.address; + if (host != null) { + address = io.InternetAddress._cloneWithNewHost(address, core.String.as(host)); + } + return new io._RawSecureSocket.new(address, requestedPort, isServer, (t207 = context, t207 == null ? io.SecurityContext.defaultContext : t207), socket, subscription, bufferedData, requestClientCertificate, requireClientCertificate, onBadCertificate, supportedProtocols)[_handshakeComplete].future; + } + listen(onData, opts) { + let onError = opts && 'onError' in opts ? opts.onError : null; + let onDone = opts && 'onDone' in opts ? opts.onDone : null; + let cancelOnError = opts && 'cancelOnError' in opts ? opts.cancelOnError : null; + this[_sendWriteEvent](); + return this[_controller].stream.listen(onData, {onError: onError, onDone: onDone, cancelOnError: cancelOnError}); + } + static _verifyFields(host, requestedPort, requestClientCertificate, requireClientCertificate) { + if (requestedPort == null) dart.nullFailed(I[124], 558, 39, "requestedPort"); + if (requestClientCertificate == null) dart.nullFailed(I[124], 559, 12, "requestClientCertificate"); + if (requireClientCertificate == null) dart.nullFailed(I[124], 559, 43, "requireClientCertificate"); + if (!(typeof host == 'string') && !io.InternetAddress.is(host)) { + dart.throw(new core.ArgumentError.new("host is not a String or an InternetAddress")); + } + core.ArgumentError.checkNotNull(core.int, requestedPort, "requestedPort"); + if (dart.notNull(requestedPort) < 0 || dart.notNull(requestedPort) > 65535) { + dart.throw(new core.ArgumentError.new("requestedPort is not in the range 0..65535")); + } + core.ArgumentError.checkNotNull(core.bool, requestClientCertificate, "requestClientCertificate"); + core.ArgumentError.checkNotNull(core.bool, requireClientCertificate, "requireClientCertificate"); + } + get port() { + return this[_socket$].port; + } + get remoteAddress() { + return this[_socket$].remoteAddress; + } + get remotePort() { + return this[_socket$].remotePort; + } + set [_owner](owner) { + dart.dput(this[_socket$], _owner, owner); + } + available() { + return this[_status] !== 202 ? 0 : dart.nullCheck(dart.nullCheck(this[_secureFilter]).buffers)[$_get](0).length; + } + close() { + this.shutdown(io.SocketDirection.both); + return this[_closeCompleter].future; + } + [_completeCloseCompleter](dummy = null) { + if (!dart.test(this[_closeCompleter].isCompleted)) this[_closeCompleter].complete(this); + } + [_close$]() { + this[_closedWrite] = true; + this[_closedRead] = true; + this[_socket$].close().then(dart.void, dart.bind(this, _completeCloseCompleter)); + this[_socketClosedWrite] = true; + this[_socketClosedRead] = true; + if (!dart.test(this[_filterActive]) && this[_secureFilter] != null) { + dart.nullCheck(this[_secureFilter]).destroy(); + this[_secureFilter] = null; + } + if (this[_socketSubscription] != null) { + this[_socketSubscription].cancel(); + } + this[_controller].close(); + this[_status] = 203; + } + shutdown(direction) { + if (direction == null) dart.nullFailed(I[124], 617, 33, "direction"); + if (dart.equals(direction, io.SocketDirection.send) || dart.equals(direction, io.SocketDirection.both)) { + this[_closedWrite] = true; + if (dart.test(this[_filterStatus].writeEmpty)) { + this[_socket$].shutdown(io.SocketDirection.send); + this[_socketClosedWrite] = true; + if (dart.test(this[_closedRead])) { + this[_close$](); + } + } + } + if (dart.equals(direction, io.SocketDirection.receive) || dart.equals(direction, io.SocketDirection.both)) { + this[_closedRead] = true; + this[_socketClosedRead] = true; + this[_socket$].shutdown(io.SocketDirection.receive); + if (dart.test(this[_socketClosedWrite])) { + this[_close$](); + } + } + } + get writeEventsEnabled() { + return this[_writeEventsEnabled]; + } + set writeEventsEnabled(value) { + if (value == null) dart.nullFailed(I[124], 642, 36, "value"); + this[_writeEventsEnabled] = value; + if (dart.test(value)) { + async.Timer.run(dart.fn(() => this[_sendWriteEvent](), T$.VoidTovoid())); + } + } + get readEventsEnabled() { + return this[_readEventsEnabled]; + } + set readEventsEnabled(value) { + if (value == null) dart.nullFailed(I[124], 651, 35, "value"); + this[_readEventsEnabled] = value; + this[_scheduleReadEvent](); + } + read(length = null) { + if (length != null && dart.notNull(length) < 0) { + dart.throw(new core.ArgumentError.new("Invalid length parameter in SecureSocket.read (length: " + dart.str(length) + ")")); + } + if (dart.test(this[_closedRead])) { + dart.throw(new io.SocketException.new("Reading from a closed socket")); + } + if (this[_status] !== 202) { + return null; + } + let result = dart.nullCheck(dart.nullCheck(this[_secureFilter]).buffers)[$_get](0).read(length); + this[_scheduleFilter](); + return result; + } + static _fixOffset(offset) { + let t207; + t207 = offset; + return t207 == null ? 0 : t207; + } + write(data, offset = 0, bytes = null) { + if (data == null) dart.nullFailed(I[124], 675, 23, "data"); + if (offset == null) dart.nullFailed(I[124], 675, 34, "offset"); + if (bytes != null && dart.notNull(bytes) < 0) { + dart.throw(new core.ArgumentError.new("Invalid bytes parameter in SecureSocket.read (bytes: " + dart.str(bytes) + ")")); + } + offset = io._RawSecureSocket._fixOffset(offset); + if (dart.notNull(offset) < 0) { + dart.throw(new core.ArgumentError.new("Invalid offset parameter in SecureSocket.read (offset: " + dart.str(offset) + ")")); + } + if (dart.test(this[_closedWrite])) { + this[_controller].addError(new io.SocketException.new("Writing to a closed socket")); + return 0; + } + if (this[_status] !== 202) return 0; + bytes == null ? bytes = dart.notNull(data[$length]) - dart.notNull(offset) : null; + let written = dart.nullCheck(dart.nullCheck(this[_secureFilter]).buffers)[$_get](1).write(data, offset, bytes); + if (dart.notNull(written) > 0) { + this[_filterStatus].writeEmpty = false; + } + this[_scheduleFilter](); + return written; + } + get peerCertificate() { + return dart.nullCheck(this[_secureFilter]).peerCertificate; + } + get selectedProtocol() { + return this[_selectedProtocol]; + } + [_onBadCertificateWrapper](certificate) { + if (certificate == null) dart.nullFailed(I[124], 706, 49, "certificate"); + if (this.onBadCertificate == null) return false; + return dart.nullCheck(this.onBadCertificate)(certificate); + } + setOption(option, enabled) { + if (option == null) dart.nullFailed(I[124], 711, 31, "option"); + if (enabled == null) dart.nullFailed(I[124], 711, 44, "enabled"); + return this[_socket$].setOption(option, enabled); + } + getRawOption(option) { + if (option == null) dart.nullFailed(I[124], 715, 42, "option"); + return this[_socket$].getRawOption(option); + } + setRawOption(option) { + if (option == null) dart.nullFailed(I[124], 719, 37, "option"); + this[_socket$].setRawOption(option); + } + [_eventDispatcher](event) { + if (event == null) dart.nullFailed(I[124], 723, 40, "event"); + try { + if (dart.equals(event, io.RawSocketEvent.read)) { + this[_readHandler](); + } else if (dart.equals(event, io.RawSocketEvent.write)) { + this[_writeHandler](); + } else if (dart.equals(event, io.RawSocketEvent.readClosed)) { + this[_closeHandler](); + } + } catch (e$) { + let e = dart.getThrown(e$); + let stackTrace = dart.stackTrace(e$); + if (core.Object.is(e)) { + this[_reportError](e, stackTrace); + } else + throw e$; + } + } + [_readHandler]() { + this[_readSocket](); + this[_scheduleFilter](); + } + [_writeHandler]() { + this[_writeSocket](); + this[_scheduleFilter](); + } + [_doneHandler]() { + if (dart.test(this[_filterStatus].readEmpty)) { + this[_close$](); + } + } + [_reportError](e, stackTrace = null) { + if (this[_status] === 203) { + return; + } else if (dart.test(this[_connectPending])) { + this[_handshakeComplete].completeError(core.Object.as(e), stackTrace); + } else { + this[_controller].addError(core.Object.as(e), stackTrace); + } + this[_close$](); + } + [_closeHandler]() { + return async.async(dart.void, (function* _closeHandler() { + if (this[_status] === 202) { + if (dart.test(this[_closedRead])) return; + this[_socketClosedRead] = true; + if (dart.test(this[_filterStatus].readEmpty)) { + this[_closedRead] = true; + this[_controller].add(io.RawSocketEvent.readClosed); + if (dart.test(this[_socketClosedWrite])) { + this[_close$](); + } + } else { + yield this[_scheduleFilter](); + } + } else if (this[_status] === 201) { + this[_socketClosedRead] = true; + if (dart.test(this[_filterStatus].readEmpty)) { + this[_reportError](new io.HandshakeException.new("Connection terminated during handshake"), null); + } else { + yield this[_secureHandshake](); + } + } + }).bind(this)); + } + [_secureHandshake]() { + return async.async(dart.void, (function* _secureHandshake$() { + try { + let needRetryHandshake = (yield dart.nullCheck(this[_secureFilter]).handshake()); + if (dart.test(needRetryHandshake)) { + yield this[_secureHandshake](); + } else { + this[_filterStatus].writeEmpty = false; + this[_readSocket](); + this[_writeSocket](); + yield this[_scheduleFilter](); + } + } catch (e$) { + let e = dart.getThrown(e$); + let stackTrace = dart.stackTrace(e$); + if (core.Object.is(e)) { + this[_reportError](e, stackTrace); + } else + throw e$; + } + }).bind(this)); + } + renegotiate(opts) { + let useSessionCache = opts && 'useSessionCache' in opts ? opts.useSessionCache : true; + if (useSessionCache == null) dart.nullFailed(I[124], 810, 13, "useSessionCache"); + let requestClientCertificate = opts && 'requestClientCertificate' in opts ? opts.requestClientCertificate : false; + if (requestClientCertificate == null) dart.nullFailed(I[124], 811, 12, "requestClientCertificate"); + let requireClientCertificate = opts && 'requireClientCertificate' in opts ? opts.requireClientCertificate : false; + if (requireClientCertificate == null) dart.nullFailed(I[124], 812, 12, "requireClientCertificate"); + if (this[_status] !== 202) { + dart.throw(new io.HandshakeException.new("Called renegotiate on a non-connected socket")); + } + dart.nullCheck(this[_secureFilter]).renegotiate(useSessionCache, requestClientCertificate, requireClientCertificate); + this[_status] = 201; + this[_filterStatus].writeEmpty = false; + this[_scheduleFilter](); + } + [_secureHandshakeCompleteHandler]() { + this[_status] = 202; + if (dart.test(this[_connectPending])) { + this[_connectPending] = false; + try { + this[_selectedProtocol] = dart.nullCheck(this[_secureFilter]).selectedProtocol(); + async.Timer.run(dart.fn(() => this[_handshakeComplete].complete(this), T$.VoidTovoid())); + } catch (e) { + let error = dart.getThrown(e); + let stack = dart.stackTrace(e); + if (core.Object.is(error)) { + this[_handshakeComplete].completeError(error, stack); + } else + throw e; + } + } + } + [_onPauseStateChange]() { + if (dart.test(this[_controller].isPaused)) { + this[_pauseCount] = dart.notNull(this[_pauseCount]) + 1; + } else { + this[_pauseCount] = dart.notNull(this[_pauseCount]) - 1; + if (this[_pauseCount] === 0) { + this[_scheduleReadEvent](); + this[_sendWriteEvent](); + } + } + if (!dart.test(this[_socketClosedRead]) || !dart.test(this[_socketClosedWrite])) { + if (dart.test(this[_controller].isPaused)) { + this[_socketSubscription].pause(); + } else { + this[_socketSubscription].resume(); + } + } + } + [_onSubscriptionStateChange]() { + if (dart.test(this[_controller].hasListener)) { + } + } + [_scheduleFilter]() { + this[_filterPending] = true; + return this[_tryFilter](); + } + [_tryFilter]() { + return async.async(dart.void, (function* _tryFilter() { + try { + while (true) { + if (this[_status] === 203) { + return; + } + if (!dart.test(this[_filterPending]) || dart.test(this[_filterActive])) { + return; + } + this[_filterActive] = true; + this[_filterPending] = false; + this[_filterStatus] = (yield this[_pushAllFilterStages]()); + this[_filterActive] = false; + if (this[_status] === 203) { + dart.nullCheck(this[_secureFilter]).destroy(); + this[_secureFilter] = null; + return; + } + this[_socket$].readEventsEnabled = true; + if (dart.test(this[_filterStatus].writeEmpty) && dart.test(this[_closedWrite]) && !dart.test(this[_socketClosedWrite])) { + this.shutdown(io.SocketDirection.send); + if (this[_status] === 203) { + return; + } + } + if (dart.test(this[_filterStatus].readEmpty) && dart.test(this[_socketClosedRead]) && !dart.test(this[_closedRead])) { + if (this[_status] === 201) { + dart.nullCheck(this[_secureFilter]).handshake(); + if (this[_status] === 201) { + dart.throw(new io.HandshakeException.new("Connection terminated during handshake")); + } + } + this[_closeHandler](); + } + if (this[_status] === 203) { + return; + } + if (dart.test(this[_filterStatus].progress)) { + this[_filterPending] = true; + if (dart.test(this[_filterStatus].writeEncryptedNoLongerEmpty)) { + this[_writeSocket](); + } + if (dart.test(this[_filterStatus].writePlaintextNoLongerFull)) { + this[_sendWriteEvent](); + } + if (dart.test(this[_filterStatus].readEncryptedNoLongerFull)) { + this[_readSocket](); + } + if (dart.test(this[_filterStatus].readPlaintextNoLongerEmpty)) { + this[_scheduleReadEvent](); + } + if (this[_status] === 201) { + yield this[_secureHandshake](); + } + } + } + } catch (e$) { + let e = dart.getThrown(e$); + let st = dart.stackTrace(e$); + if (core.Object.is(e)) { + this[_reportError](e, st); + } else + throw e$; + } + }).bind(this)); + } + [_readSocketOrBufferedData](bytes) { + if (bytes == null) dart.nullFailed(I[124], 933, 44, "bytes"); + let bufferedData = this[_bufferedData$]; + if (bufferedData != null) { + if (dart.notNull(bytes) > dart.notNull(bufferedData[$length]) - dart.notNull(this[_bufferedDataIndex])) { + bytes = dart.notNull(bufferedData[$length]) - dart.notNull(this[_bufferedDataIndex]); + } + let result = bufferedData[$sublist](this[_bufferedDataIndex], dart.notNull(this[_bufferedDataIndex]) + dart.notNull(bytes)); + this[_bufferedDataIndex] = dart.notNull(this[_bufferedDataIndex]) + dart.notNull(bytes); + if (bufferedData[$length] == this[_bufferedDataIndex]) { + this[_bufferedData$] = null; + } + return result; + } else if (!dart.test(this[_socketClosedRead])) { + return this[_socket$].read(bytes); + } else { + return null; + } + } + [_readSocket]() { + if (this[_status] === 203) return; + let buffer = dart.nullCheck(dart.nullCheck(this[_secureFilter]).buffers)[$_get](2); + if (dart.notNull(buffer.writeFromSource(dart.bind(this, _readSocketOrBufferedData))) > 0) { + this[_filterStatus].readEmpty = false; + } else { + this[_socket$].readEventsEnabled = false; + } + } + [_writeSocket]() { + if (dart.test(this[_socketClosedWrite])) return; + let buffer = dart.nullCheck(dart.nullCheck(this[_secureFilter]).buffers)[$_get](3); + if (dart.test(buffer.readToSocket(this[_socket$]))) { + this[_socket$].writeEventsEnabled = true; + } + } + [_scheduleReadEvent]() { + if (!dart.test(this[_pendingReadEvent]) && dart.test(this[_readEventsEnabled]) && this[_pauseCount] === 0 && this[_secureFilter] != null && !dart.test(dart.nullCheck(dart.nullCheck(this[_secureFilter]).buffers)[$_get](0).isEmpty)) { + this[_pendingReadEvent] = true; + async.Timer.run(dart.bind(this, _sendReadEvent)); + } + } + [_sendReadEvent]() { + this[_pendingReadEvent] = false; + if (this[_status] !== 203 && dart.test(this[_readEventsEnabled]) && this[_pauseCount] === 0 && this[_secureFilter] != null && !dart.test(dart.nullCheck(dart.nullCheck(this[_secureFilter]).buffers)[$_get](0).isEmpty)) { + this[_controller].add(io.RawSocketEvent.read); + this[_scheduleReadEvent](); + } + } + [_sendWriteEvent]() { + if (!dart.test(this[_closedWrite]) && dart.test(this[_writeEventsEnabled]) && this[_pauseCount] === 0 && this[_secureFilter] != null && dart.notNull(dart.nullCheck(dart.nullCheck(this[_secureFilter]).buffers)[$_get](1).free) > 0) { + this[_writeEventsEnabled] = false; + this[_controller].add(io.RawSocketEvent.write); + } + } + [_pushAllFilterStages]() { + return async.async(io._FilterStatus, (function* _pushAllFilterStages() { + let wasInHandshake = this[_status] !== 202; + let args = core.List.filled(2 + 4 * 2, null); + args[$_set](0, dart.nullCheck(this[_secureFilter])[_pointer]()); + args[$_set](1, wasInHandshake); + let bufs = dart.nullCheck(dart.nullCheck(this[_secureFilter]).buffers); + for (let i = 0; i < 4; i = i + 1) { + args[$_set](2 * i + 2, bufs[$_get](i).start); + args[$_set](2 * i + 3, bufs[$_get](i).end); + } + let response = (yield io._IOService._dispatch(42, args)); + if (dart.equals(dart.dload(response, 'length'), 2)) { + if (wasInHandshake) { + this[_reportError](new io.HandshakeException.new(dart.str(dart.dsend(response, '_get', [1])) + " error " + dart.str(dart.dsend(response, '_get', [0]))), null); + } else { + this[_reportError](new io.TlsException.new(dart.str(dart.dsend(response, '_get', [1])) + " error " + dart.str(dart.dsend(response, '_get', [0]))), null); + } + } + function start(index) { + if (index == null) dart.nullFailed(I[124], 1033, 19, "index"); + return core.int.as(dart.dsend(response, '_get', [2 * dart.notNull(index)])); + } + dart.fn(start, T$0.intToint()); + function end(index) { + if (index == null) dart.nullFailed(I[124], 1034, 17, "index"); + return core.int.as(dart.dsend(response, '_get', [2 * dart.notNull(index) + 1])); + } + dart.fn(end, T$0.intToint()); + let status = new io._FilterStatus.new(); + status.writeEmpty = dart.test(bufs[$_get](1).isEmpty) && start(3) == end(3); + if (wasInHandshake) status.writeEmpty = false; + status.readEmpty = dart.test(bufs[$_get](2).isEmpty) && start(0) == end(0); + let buffer = bufs[$_get](1); + let new_start = start(1); + if (new_start != buffer.start) { + status.progress = true; + if (buffer.free === 0) { + status.writePlaintextNoLongerFull = true; + } + buffer.start = new_start; + } + buffer = bufs[$_get](2); + new_start = start(2); + if (new_start != buffer.start) { + status.progress = true; + if (buffer.free === 0) { + status.readEncryptedNoLongerFull = true; + } + buffer.start = new_start; + } + buffer = bufs[$_get](3); + let new_end = end(3); + if (new_end != buffer.end) { + status.progress = true; + if (buffer.length === 0) { + status.writeEncryptedNoLongerEmpty = true; + } + buffer.end = new_end; + } + buffer = bufs[$_get](0); + new_end = end(0); + if (new_end != buffer.end) { + status.progress = true; + if (buffer.length === 0) { + status.readPlaintextNoLongerEmpty = true; + } + buffer.end = new_end; + } + return status; + }).bind(this)); + } +}; +(io._RawSecureSocket.new = function(address, requestedPort, isServer, context, _socket, subscription, _bufferedData, requestClientCertificate, requireClientCertificate, onBadCertificate, supportedProtocols) { + let t205, t205$; + if (address == null) dart.nullFailed(I[124], 486, 12, "address"); + if (requestedPort == null) dart.nullFailed(I[124], 487, 11, "requestedPort"); + if (isServer == null) dart.nullFailed(I[124], 488, 12, "isServer"); + if (context == null) dart.nullFailed(I[124], 489, 12, "context"); + if (_socket == null) dart.nullFailed(I[124], 490, 12, "_socket"); + if (requestClientCertificate == null) dart.nullFailed(I[124], 493, 12, "requestClientCertificate"); + if (requireClientCertificate == null) dart.nullFailed(I[124], 494, 12, "requireClientCertificate"); + this[_handshakeComplete] = T$0.CompleterOf_RawSecureSocket().new(); + this[_controller] = T$0.StreamControllerOfRawSocketEvent().new({sync: true}); + this[___RawSecureSocket__socketSubscription] = null; + this[___RawSecureSocket__socketSubscription_isSet] = false; + this[_bufferedDataIndex] = 0; + this[_status] = 201; + this[_writeEventsEnabled] = true; + this[_readEventsEnabled] = true; + this[_pauseCount] = 0; + this[_pendingReadEvent] = false; + this[_socketClosedRead] = false; + this[_socketClosedWrite] = false; + this[_closedRead] = false; + this[_closedWrite] = false; + this[_closeCompleter] = T$0.CompleterOfRawSecureSocket().new(); + this[_filterStatus] = new io._FilterStatus.new(); + this[_connectPending] = true; + this[_filterPending] = false; + this[_filterActive] = false; + this[_secureFilter] = io._SecureFilter.__(); + this[_selectedProtocol] = null; + this.address = address; + this.isServer = isServer; + this.context = context; + this[_socket$] = _socket; + this[_bufferedData$] = _bufferedData; + this.requestClientCertificate = requestClientCertificate; + this.requireClientCertificate = requireClientCertificate; + this.onBadCertificate = onBadCertificate; + io._RawSecureSocket.__proto__.new.call(this); + t205 = this[_controller]; + (() => { + t205.onListen = dart.bind(this, _onSubscriptionStateChange); + t205.onPause = dart.bind(this, _onPauseStateChange); + t205.onResume = dart.bind(this, _onPauseStateChange); + t205.onCancel = dart.bind(this, _onSubscriptionStateChange); + return t205; + })(); + let secureFilter = dart.nullCheck(this[_secureFilter]); + secureFilter.init(); + secureFilter.registerHandshakeCompleteCallback(dart.bind(this, _secureHandshakeCompleteHandler)); + if (this.onBadCertificate != null) { + secureFilter.registerBadCertificateCallback(dart.bind(this, _onBadCertificateWrapper)); + } + this[_socket$].readEventsEnabled = true; + this[_socket$].writeEventsEnabled = false; + if (subscription == null) { + this[_socketSubscription] = this[_socket$].listen(dart.bind(this, _eventDispatcher), {onError: dart.bind(this, _reportError), onDone: dart.bind(this, _doneHandler)}); + } else { + this[_socketSubscription] = subscription; + if (dart.test(this[_socketSubscription].isPaused)) { + this[_socket$].close(); + dart.throw(new core.ArgumentError.new("Subscription passed to TLS upgrade is paused")); + } + let s = this[_socket$]; + if (dart.dtest(dart.dload(dart.dload(s, _socket$), 'closedReadEventSent'))) { + this[_eventDispatcher](io.RawSocketEvent.readClosed); + } + t205$ = this[_socketSubscription]; + (() => { + t205$.onData(dart.bind(this, _eventDispatcher)); + t205$.onError(dart.bind(this, _reportError)); + t205$.onDone(dart.bind(this, _doneHandler)); + return t205$; + })(); + } + try { + let encodedProtocols = io.SecurityContext._protocolsToLengthEncoding(supportedProtocols); + secureFilter.connect(this.address.host, this.context, this.isServer, dart.test(this.requestClientCertificate) || dart.test(this.requireClientCertificate), this.requireClientCertificate, encodedProtocols); + this[_secureHandshake](); + } catch (e$) { + let e = dart.getThrown(e$); + let s = dart.stackTrace(e$); + if (core.Object.is(e)) { + this[_reportError](e, s); + } else + throw e$; + } +}).prototype = io._RawSecureSocket.prototype; +dart.addTypeTests(io._RawSecureSocket); +dart.addTypeCaches(io._RawSecureSocket); +io._RawSecureSocket[dart.implements] = () => [io.RawSecureSocket]; +dart.setMethodSignature(io._RawSecureSocket, () => ({ + __proto__: dart.getMethods(io._RawSecureSocket.__proto__), + listen: dart.fnType(async.StreamSubscription$(io.RawSocketEvent), [dart.nullable(dart.fnType(dart.void, [io.RawSocketEvent]))], {cancelOnError: dart.nullable(core.bool), onDone: dart.nullable(dart.fnType(dart.void, [])), onError: dart.nullable(core.Function)}, {}), + available: dart.fnType(core.int, []), + close: dart.fnType(async.Future$(io.RawSecureSocket), []), + [_completeCloseCompleter]: dart.fnType(dart.void, [], [dart.nullable(io.RawSocket)]), + [_close$]: dart.fnType(dart.void, []), + shutdown: dart.fnType(dart.void, [io.SocketDirection]), + read: dart.fnType(dart.nullable(typed_data.Uint8List), [], [dart.nullable(core.int)]), + write: dart.fnType(core.int, [core.List$(core.int)], [core.int, dart.nullable(core.int)]), + [_onBadCertificateWrapper]: dart.fnType(core.bool, [io.X509Certificate]), + setOption: dart.fnType(core.bool, [io.SocketOption, core.bool]), + getRawOption: dart.fnType(typed_data.Uint8List, [io.RawSocketOption]), + setRawOption: dart.fnType(dart.void, [io.RawSocketOption]), + [_eventDispatcher]: dart.fnType(dart.void, [io.RawSocketEvent]), + [_readHandler]: dart.fnType(dart.void, []), + [_writeHandler]: dart.fnType(dart.void, []), + [_doneHandler]: dart.fnType(dart.void, []), + [_reportError]: dart.fnType(dart.void, [dart.dynamic], [dart.nullable(core.StackTrace)]), + [_closeHandler]: dart.fnType(dart.void, []), + [_secureHandshake]: dart.fnType(async.Future$(dart.void), []), + renegotiate: dart.fnType(dart.void, [], {requestClientCertificate: core.bool, requireClientCertificate: core.bool, useSessionCache: core.bool}, {}), + [_secureHandshakeCompleteHandler]: dart.fnType(dart.void, []), + [_onPauseStateChange]: dart.fnType(dart.void, []), + [_onSubscriptionStateChange]: dart.fnType(dart.void, []), + [_scheduleFilter]: dart.fnType(async.Future$(dart.void), []), + [_tryFilter]: dart.fnType(async.Future$(dart.void), []), + [_readSocketOrBufferedData]: dart.fnType(dart.nullable(core.List$(core.int)), [core.int]), + [_readSocket]: dart.fnType(dart.void, []), + [_writeSocket]: dart.fnType(dart.void, []), + [_scheduleReadEvent]: dart.fnType(dart.dynamic, []), + [_sendReadEvent]: dart.fnType(dart.dynamic, []), + [_sendWriteEvent]: dart.fnType(dart.dynamic, []), + [_pushAllFilterStages]: dart.fnType(async.Future$(io._FilterStatus), []) +})); +dart.setGetterSignature(io._RawSecureSocket, () => ({ + __proto__: dart.getGetters(io._RawSecureSocket.__proto__), + [_socketSubscription]: async.StreamSubscription$(io.RawSocketEvent), + port: core.int, + remoteAddress: io.InternetAddress, + remotePort: core.int, + writeEventsEnabled: core.bool, + readEventsEnabled: core.bool, + peerCertificate: dart.nullable(io.X509Certificate), + selectedProtocol: dart.nullable(core.String) +})); +dart.setSetterSignature(io._RawSecureSocket, () => ({ + __proto__: dart.getSetters(io._RawSecureSocket.__proto__), + [_socketSubscription]: async.StreamSubscription$(io.RawSocketEvent), + [_owner]: dart.dynamic, + writeEventsEnabled: core.bool, + readEventsEnabled: core.bool +})); +dart.setLibraryUri(io._RawSecureSocket, I[105]); +dart.setFieldSignature(io._RawSecureSocket, () => ({ + __proto__: dart.getFields(io._RawSecureSocket.__proto__), + [_socket$]: dart.finalFieldType(io.RawSocket), + [_handshakeComplete]: dart.finalFieldType(async.Completer$(io._RawSecureSocket)), + [_controller]: dart.finalFieldType(async.StreamController$(io.RawSocketEvent)), + [___RawSecureSocket__socketSubscription]: dart.fieldType(dart.nullable(async.StreamSubscription$(io.RawSocketEvent))), + [___RawSecureSocket__socketSubscription_isSet]: dart.fieldType(core.bool), + [_bufferedData$]: dart.fieldType(dart.nullable(core.List$(core.int))), + [_bufferedDataIndex]: dart.fieldType(core.int), + address: dart.finalFieldType(io.InternetAddress), + isServer: dart.finalFieldType(core.bool), + context: dart.finalFieldType(io.SecurityContext), + requestClientCertificate: dart.finalFieldType(core.bool), + requireClientCertificate: dart.finalFieldType(core.bool), + onBadCertificate: dart.finalFieldType(dart.nullable(dart.fnType(core.bool, [io.X509Certificate]))), + [_status]: dart.fieldType(core.int), + [_writeEventsEnabled]: dart.fieldType(core.bool), + [_readEventsEnabled]: dart.fieldType(core.bool), + [_pauseCount]: dart.fieldType(core.int), + [_pendingReadEvent]: dart.fieldType(core.bool), + [_socketClosedRead]: dart.fieldType(core.bool), + [_socketClosedWrite]: dart.fieldType(core.bool), + [_closedRead]: dart.fieldType(core.bool), + [_closedWrite]: dart.fieldType(core.bool), + [_closeCompleter]: dart.fieldType(async.Completer$(io.RawSecureSocket)), + [_filterStatus]: dart.fieldType(io._FilterStatus), + [_connectPending]: dart.fieldType(core.bool), + [_filterPending]: dart.fieldType(core.bool), + [_filterActive]: dart.fieldType(core.bool), + [_secureFilter]: dart.fieldType(dart.nullable(io._SecureFilter)), + [_selectedProtocol]: dart.fieldType(dart.nullable(core.String)) +})); +dart.defineLazy(io._RawSecureSocket, { + /*io._RawSecureSocket.handshakeStatus*/get handshakeStatus() { + return 201; + }, + /*io._RawSecureSocket.connectedStatus*/get connectedStatus() { + return 202; + }, + /*io._RawSecureSocket.closedStatus*/get closedStatus() { + return 203; + }, + /*io._RawSecureSocket.readPlaintextId*/get readPlaintextId() { + return 0; + }, + /*io._RawSecureSocket.writePlaintextId*/get writePlaintextId() { + return 1; + }, + /*io._RawSecureSocket.readEncryptedId*/get readEncryptedId() { + return 2; + }, + /*io._RawSecureSocket.writeEncryptedId*/get writeEncryptedId() { + return 3; + }, + /*io._RawSecureSocket.bufferCount*/get bufferCount() { + return 4; + } +}, false); +io._ExternalBuffer = class _ExternalBuffer extends core.Object { + advanceStart(bytes) { + if (bytes == null) dart.nullFailed(I[124], 1111, 25, "bytes"); + if (!(dart.notNull(this.start) > dart.notNull(this.end) || dart.notNull(this.start) + dart.notNull(bytes) <= dart.notNull(this.end))) dart.assertFailed(null, I[124], 1112, 12, "start > end || start + bytes <= end"); + this.start = dart.notNull(this.start) + dart.notNull(bytes); + if (dart.notNull(this.start) >= dart.notNull(this.size)) { + this.start = dart.notNull(this.start) - dart.notNull(this.size); + if (!(dart.notNull(this.start) <= dart.notNull(this.end))) dart.assertFailed(null, I[124], 1116, 14, "start <= end"); + if (!(dart.notNull(this.start) < dart.notNull(this.size))) dart.assertFailed(null, I[124], 1117, 14, "start < size"); + } + } + advanceEnd(bytes) { + if (bytes == null) dart.nullFailed(I[124], 1121, 23, "bytes"); + if (!(dart.notNull(this.start) <= dart.notNull(this.end) || dart.notNull(this.start) > dart.notNull(this.end) + dart.notNull(bytes))) dart.assertFailed(null, I[124], 1122, 12, "start <= end || start > end + bytes"); + this.end = dart.notNull(this.end) + dart.notNull(bytes); + if (dart.notNull(this.end) >= dart.notNull(this.size)) { + this.end = dart.notNull(this.end) - dart.notNull(this.size); + if (!(dart.notNull(this.end) < dart.notNull(this.start))) dart.assertFailed(null, I[124], 1126, 14, "end < start"); + if (!(dart.notNull(this.end) < dart.notNull(this.size))) dart.assertFailed(null, I[124], 1127, 14, "end < size"); + } + } + get isEmpty() { + return this.end == this.start; + } + get length() { + return dart.notNull(this.start) > dart.notNull(this.end) ? dart.notNull(this.size) + dart.notNull(this.end) - dart.notNull(this.start) : dart.notNull(this.end) - dart.notNull(this.start); + } + get linearLength() { + return dart.notNull(this.start) > dart.notNull(this.end) ? dart.notNull(this.size) - dart.notNull(this.start) : dart.notNull(this.end) - dart.notNull(this.start); + } + get free() { + return dart.notNull(this.start) > dart.notNull(this.end) ? dart.notNull(this.start) - dart.notNull(this.end) - 1 : dart.notNull(this.size) + dart.notNull(this.start) - dart.notNull(this.end) - 1; + } + get linearFree() { + if (dart.notNull(this.start) > dart.notNull(this.end)) return dart.notNull(this.start) - dart.notNull(this.end) - 1; + if (this.start === 0) return dart.notNull(this.size) - dart.notNull(this.end) - 1; + return dart.notNull(this.size) - dart.notNull(this.end); + } + read(bytes) { + if (bytes == null) { + bytes = this.length; + } else { + bytes = math.min(core.int, bytes, this.length); + } + if (bytes === 0) return null; + let result = _native_typed_data.NativeUint8List.new(bytes); + let bytesRead = 0; + while (bytesRead < dart.notNull(bytes)) { + let toRead = math.min(core.int, dart.notNull(bytes) - bytesRead, this.linearLength); + result[$setRange](bytesRead, bytesRead + toRead, dart.nullCheck(this.data), this.start); + this.advanceStart(toRead); + bytesRead = bytesRead + toRead; + } + return result; + } + write(inputData, offset, bytes) { + if (inputData == null) dart.nullFailed(I[124], 1164, 23, "inputData"); + if (offset == null) dart.nullFailed(I[124], 1164, 38, "offset"); + if (bytes == null) dart.nullFailed(I[124], 1164, 50, "bytes"); + if (dart.notNull(bytes) > dart.notNull(this.free)) { + bytes = this.free; + } + let written = 0; + let toWrite = math.min(core.int, bytes, this.linearFree); + while (toWrite > 0) { + dart.nullCheck(this.data)[$setRange](this.end, dart.notNull(this.end) + toWrite, inputData, offset); + this.advanceEnd(toWrite); + offset = dart.notNull(offset) + toWrite; + written = written + toWrite; + toWrite = math.min(core.int, dart.notNull(bytes) - written, this.linearFree); + } + return written; + } + writeFromSource(getData) { + if (getData == null) dart.nullFailed(I[124], 1181, 34, "getData"); + let written = 0; + let toWrite = this.linearFree; + while (dart.notNull(toWrite) > 0) { + let inputData = getData(toWrite); + if (inputData == null || inputData[$length] === 0) break; + let len = inputData[$length]; + dart.nullCheck(this.data)[$setRange](this.end, dart.notNull(this.end) + dart.notNull(len), inputData); + this.advanceEnd(len); + written = written + dart.notNull(len); + toWrite = this.linearFree; + } + return written; + } + readToSocket(socket) { + if (socket == null) dart.nullFailed(I[124], 1198, 31, "socket"); + while (true) { + let toWrite = this.linearLength; + if (toWrite === 0) return false; + let bytes = socket.write(dart.nullCheck(this.data), this.start, toWrite); + this.advanceStart(bytes); + if (dart.notNull(bytes) < dart.notNull(toWrite)) { + return true; + } + } + } +}; +(io._ExternalBuffer.new = function(size) { + if (size == null) dart.nullFailed(I[124], 1106, 23, "size"); + this.data = null; + this.size = size; + this.start = (dart.notNull(size) / 2)[$truncate](); + this.end = (dart.notNull(size) / 2)[$truncate](); + ; +}).prototype = io._ExternalBuffer.prototype; +dart.addTypeTests(io._ExternalBuffer); +dart.addTypeCaches(io._ExternalBuffer); +dart.setMethodSignature(io._ExternalBuffer, () => ({ + __proto__: dart.getMethods(io._ExternalBuffer.__proto__), + advanceStart: dart.fnType(dart.void, [core.int]), + advanceEnd: dart.fnType(dart.void, [core.int]), + read: dart.fnType(dart.nullable(typed_data.Uint8List), [dart.nullable(core.int)]), + write: dart.fnType(core.int, [core.List$(core.int), core.int, core.int]), + writeFromSource: dart.fnType(core.int, [dart.fnType(dart.nullable(core.List$(core.int)), [core.int])]), + readToSocket: dart.fnType(core.bool, [io.RawSocket]) +})); +dart.setGetterSignature(io._ExternalBuffer, () => ({ + __proto__: dart.getGetters(io._ExternalBuffer.__proto__), + isEmpty: core.bool, + length: core.int, + linearLength: core.int, + free: core.int, + linearFree: core.int +})); +dart.setLibraryUri(io._ExternalBuffer, I[105]); +dart.setFieldSignature(io._ExternalBuffer, () => ({ + __proto__: dart.getFields(io._ExternalBuffer.__proto__), + data: dart.fieldType(dart.nullable(core.List$(core.int))), + start: dart.fieldType(core.int), + end: dart.fieldType(core.int), + size: dart.finalFieldType(core.int) +})); +io._SecureFilter = class _SecureFilter extends core.Object {}; +(io._SecureFilter[dart.mixinNew] = function() { +}).prototype = io._SecureFilter.prototype; +dart.addTypeTests(io._SecureFilter); +dart.addTypeCaches(io._SecureFilter); +dart.setLibraryUri(io._SecureFilter, I[105]); +var type$3 = dart.privateName(io, "TlsException.type"); +var message$6 = dart.privateName(io, "TlsException.message"); +var osError$1 = dart.privateName(io, "TlsException.osError"); +io.TlsException = class TlsException extends core.Object { + get type() { + return this[type$3]; + } + set type(value) { + super.type = value; + } + get message() { + return this[message$6]; + } + set message(value) { + super.message = value; + } + get osError() { + return this[osError$1]; + } + set osError(value) { + super.osError = value; + } + toString() { + let sb = new core.StringBuffer.new(); + sb.write(this.type); + if (this.message[$isNotEmpty]) { + sb.write(": " + dart.str(this.message)); + if (this.osError != null) { + sb.write(" (" + dart.str(this.osError) + ")"); + } + } else if (this.osError != null) { + sb.write(": " + dart.str(this.osError)); + } + return sb.toString(); + } +}; +(io.TlsException.new = function(message = "", osError = null) { + if (message == null) dart.nullFailed(I[124], 1251, 30, "message"); + io.TlsException.__.call(this, "TlsException", message, osError); +}).prototype = io.TlsException.prototype; +(io.TlsException.__ = function(type, message, osError) { + if (type == null) dart.nullFailed(I[124], 1254, 29, "type"); + if (message == null) dart.nullFailed(I[124], 1254, 40, "message"); + this[type$3] = type; + this[message$6] = message; + this[osError$1] = osError; + ; +}).prototype = io.TlsException.prototype; +dart.addTypeTests(io.TlsException); +dart.addTypeCaches(io.TlsException); +io.TlsException[dart.implements] = () => [io.IOException]; +dart.setLibraryUri(io.TlsException, I[105]); +dart.setFieldSignature(io.TlsException, () => ({ + __proto__: dart.getFields(io.TlsException.__proto__), + type: dart.finalFieldType(core.String), + message: dart.finalFieldType(core.String), + osError: dart.finalFieldType(dart.nullable(io.OSError)) +})); +dart.defineExtensionMethods(io.TlsException, ['toString']); +io.HandshakeException = class HandshakeException extends io.TlsException {}; +(io.HandshakeException.new = function(message = "", osError = null) { + if (message == null) dart.nullFailed(I[124], 1276, 36, "message"); + io.HandshakeException.__proto__.__.call(this, "HandshakeException", message, osError); + ; +}).prototype = io.HandshakeException.prototype; +dart.addTypeTests(io.HandshakeException); +dart.addTypeCaches(io.HandshakeException); +dart.setLibraryUri(io.HandshakeException, I[105]); +io.CertificateException = class CertificateException extends io.TlsException {}; +(io.CertificateException.new = function(message = "", osError = null) { + if (message == null) dart.nullFailed(I[124], 1285, 38, "message"); + io.CertificateException.__proto__.__.call(this, "CertificateException", message, osError); + ; +}).prototype = io.CertificateException.prototype; +dart.addTypeTests(io.CertificateException); +dart.addTypeCaches(io.CertificateException); +dart.setLibraryUri(io.CertificateException, I[105]); +io.SecurityContext = class SecurityContext extends core.Object { + static new(opts) { + let withTrustedRoots = opts && 'withTrustedRoots' in opts ? opts.withTrustedRoots : false; + if (withTrustedRoots == null) dart.nullFailed(I[107], 531, 33, "withTrustedRoots"); + dart.throw(new core.UnsupportedError.new("SecurityContext constructor")); + } + static get defaultContext() { + dart.throw(new core.UnsupportedError.new("default SecurityContext getter")); + } + static get alpnSupported() { + dart.throw(new core.UnsupportedError.new("SecurityContext alpnSupported getter")); + } + static _protocolsToLengthEncoding(protocols) { + let t211, t211$; + if (protocols == null || protocols[$length] === 0) { + return _native_typed_data.NativeUint8List.new(0); + } + let protocolsLength = protocols[$length]; + let expectedLength = protocolsLength; + for (let i = 0; i < dart.notNull(protocolsLength); i = i + 1) { + let length = protocols[$_get](i).length; + if (length > 0 && length <= 255) { + expectedLength = dart.notNull(expectedLength) + length; + } else { + dart.throw(new core.ArgumentError.new("Length of protocol must be between 1 and 255 (was: " + dart.str(length) + ").")); + } + } + if (dart.notNull(expectedLength) >= 1 << 13) { + dart.throw(new core.ArgumentError.new("The maximum message length supported is 2^13-1.")); + } + let bytes = _native_typed_data.NativeUint8List.new(expectedLength); + let bytesOffset = 0; + for (let i = 0; i < dart.notNull(protocolsLength); i = i + 1) { + let proto = protocols[$_get](i); + bytes[$_set]((t211 = bytesOffset, bytesOffset = t211 + 1, t211), proto.length); + let bits = 0; + for (let j = 0; j < proto.length; j = j + 1) { + let char = proto[$codeUnitAt](j); + bits = (bits | char) >>> 0; + bytes[$_set]((t211$ = bytesOffset, bytesOffset = t211$ + 1, t211$), char & 255); + } + if (bits > 127) { + return io.SecurityContext._protocolsToLengthEncodingNonAsciiBailout(protocols); + } + } + return bytes; + } + static _protocolsToLengthEncodingNonAsciiBailout(protocols) { + if (protocols == null) dart.nullFailed(I[126], 233, 20, "protocols"); + function addProtocol(outBytes, protocol) { + if (outBytes == null) dart.nullFailed(I[126], 234, 32, "outBytes"); + if (protocol == null) dart.nullFailed(I[126], 234, 49, "protocol"); + let protocolBytes = convert.utf8.encode(protocol); + let len = protocolBytes[$length]; + if (dart.notNull(len) > 255) { + dart.throw(new core.ArgumentError.new("Length of protocol must be between 1 and 255 (was: " + dart.str(len) + ")")); + } + outBytes[$add](len); + outBytes[$addAll](protocolBytes); + } + dart.fn(addProtocol, T$0.ListOfintAndStringTovoid()); + let bytes = T$.JSArrayOfint().of([]); + for (let i = 0; i < dart.notNull(protocols[$length]); i = i + 1) { + addProtocol(bytes, protocols[$_get](i)); + } + if (dart.notNull(bytes[$length]) >= 1 << 13) { + dart.throw(new core.ArgumentError.new("The maximum message length supported is 2^13-1.")); + } + return _native_typed_data.NativeUint8List.fromList(bytes); + } +}; +(io.SecurityContext[dart.mixinNew] = function() { +}).prototype = io.SecurityContext.prototype; +dart.addTypeTests(io.SecurityContext); +dart.addTypeCaches(io.SecurityContext); +dart.setLibraryUri(io.SecurityContext, I[105]); +var __serviceId = dart.privateName(io, "__serviceId"); +var _serviceId = dart.privateName(io, "_serviceId"); +var _serviceTypePath = dart.privateName(io, "_serviceTypePath"); +var _servicePath = dart.privateName(io, "_servicePath"); +var _serviceTypeName = dart.privateName(io, "_serviceTypeName"); +var _serviceType = dart.privateName(io, "_serviceType"); +io._ServiceObject = class _ServiceObject extends core.Object { + get [_serviceId]() { + let t211; + if (this[__serviceId] === 0) this[__serviceId] = (t211 = io._nextServiceId, io._nextServiceId = dart.notNull(t211) + 1, t211); + return this[__serviceId]; + } + get [_servicePath]() { + return dart.str(this[_serviceTypePath]) + "/" + dart.str(this[_serviceId]); + } + [_serviceType](ref) { + if (ref == null) dart.nullFailed(I[127], 25, 28, "ref"); + if (dart.test(ref)) return "@" + dart.str(this[_serviceTypeName]); + return this[_serviceTypeName]; + } +}; +(io._ServiceObject.new = function() { + this[__serviceId] = 0; + ; +}).prototype = io._ServiceObject.prototype; +dart.addTypeTests(io._ServiceObject); +dart.addTypeCaches(io._ServiceObject); +dart.setMethodSignature(io._ServiceObject, () => ({ + __proto__: dart.getMethods(io._ServiceObject.__proto__), + [_serviceType]: dart.fnType(core.String, [core.bool]) +})); +dart.setGetterSignature(io._ServiceObject, () => ({ + __proto__: dart.getGetters(io._ServiceObject.__proto__), + [_serviceId]: core.int, + [_servicePath]: core.String +})); +dart.setLibraryUri(io._ServiceObject, I[105]); +dart.setFieldSignature(io._ServiceObject, () => ({ + __proto__: dart.getFields(io._ServiceObject.__proto__), + [__serviceId]: dart.fieldType(core.int) +})); +var _value$1 = dart.privateName(io, "InternetAddressType._value"); +io.InternetAddressType = class InternetAddressType extends core.Object { + get [_value$0]() { + return this[_value$1]; + } + set [_value$0](value) { + super[_value$0] = value; + } + static _from(value) { + if (value == null) dart.nullFailed(I[125], 30, 41, "value"); + if (value == io.InternetAddressType.IPv4[_value$0]) return io.InternetAddressType.IPv4; + if (value == io.InternetAddressType.IPv6[_value$0]) return io.InternetAddressType.IPv6; + if (value == io.InternetAddressType.unix[_value$0]) return io.InternetAddressType.unix; + dart.throw(new core.ArgumentError.new("Invalid type: " + dart.str(value))); + } + get name() { + return (C[178] || CT.C178)[$_get](dart.notNull(this[_value$0]) + 1); + } + toString() { + return "InternetAddressType: " + dart.str(this.name); + } +}; +(io.InternetAddressType.__ = function(_value) { + if (_value == null) dart.nullFailed(I[125], 28, 36, "_value"); + this[_value$1] = _value; + ; +}).prototype = io.InternetAddressType.prototype; +dart.addTypeTests(io.InternetAddressType); +dart.addTypeCaches(io.InternetAddressType); +dart.setGetterSignature(io.InternetAddressType, () => ({ + __proto__: dart.getGetters(io.InternetAddressType.__proto__), + name: core.String +})); +dart.setLibraryUri(io.InternetAddressType, I[105]); +dart.setFieldSignature(io.InternetAddressType, () => ({ + __proto__: dart.getFields(io.InternetAddressType.__proto__), + [_value$0]: dart.finalFieldType(core.int) +})); +dart.defineExtensionMethods(io.InternetAddressType, ['toString']); +dart.defineLazy(io.InternetAddressType, { + /*io.InternetAddressType.IPv4*/get IPv4() { + return C[179] || CT.C179; + }, + /*io.InternetAddressType.IPv6*/get IPv6() { + return C[180] || CT.C180; + }, + /*io.InternetAddressType.unix*/get unix() { + return C[181] || CT.C181; + }, + /*io.InternetAddressType.any*/get any() { + return C[182] || CT.C182; + }, + /*io.InternetAddressType.IP_V4*/get IP_V4() { + return C[179] || CT.C179; + }, + /*io.InternetAddressType.IP_V6*/get IP_V6() { + return C[180] || CT.C180; + }, + /*io.InternetAddressType.ANY*/get ANY() { + return C[182] || CT.C182; + } +}, false); +io.InternetAddress = class InternetAddress extends core.Object { + static get loopbackIPv4() { + return io.InternetAddress.LOOPBACK_IP_V4; + } + static get LOOPBACK_IP_V4() { + dart.throw(new core.UnsupportedError.new("InternetAddress.LOOPBACK_IP_V4")); + } + static get loopbackIPv6() { + return io.InternetAddress.LOOPBACK_IP_V6; + } + static get LOOPBACK_IP_V6() { + dart.throw(new core.UnsupportedError.new("InternetAddress.LOOPBACK_IP_V6")); + } + static get anyIPv4() { + return io.InternetAddress.ANY_IP_V4; + } + static get ANY_IP_V4() { + dart.throw(new core.UnsupportedError.new("InternetAddress.ANY_IP_V4")); + } + static get anyIPv6() { + return io.InternetAddress.ANY_IP_V6; + } + static get ANY_IP_V6() { + dart.throw(new core.UnsupportedError.new("InternetAddress.ANY_IP_V6")); + } + static new(address, opts) { + if (address == null) dart.nullFailed(I[107], 412, 34, "address"); + let type = opts && 'type' in opts ? opts.type : null; + dart.throw(new core.UnsupportedError.new("InternetAddress")); + } + static fromRawAddress(rawAddress, opts) { + if (rawAddress == null) dart.nullFailed(I[107], 417, 52, "rawAddress"); + let type = opts && 'type' in opts ? opts.type : null; + dart.throw(new core.UnsupportedError.new("InternetAddress.fromRawAddress")); + } + static lookup(host, opts) { + if (host == null) dart.nullFailed(I[107], 423, 54, "host"); + let type = opts && 'type' in opts ? opts.type : C[182] || CT.C182; + if (type == null) dart.nullFailed(I[107], 424, 28, "type"); + dart.throw(new core.UnsupportedError.new("InternetAddress.lookup")); + } + static _cloneWithNewHost(address, host) { + if (address == null) dart.nullFailed(I[107], 430, 23, "address"); + if (host == null) dart.nullFailed(I[107], 430, 39, "host"); + dart.throw(new core.UnsupportedError.new("InternetAddress._cloneWithNewHost")); + } + static tryParse(address) { + if (address == null) dart.nullFailed(I[107], 435, 43, "address"); + dart.throw(new core.UnsupportedError.new("InternetAddress.tryParse")); + } +}; +(io.InternetAddress[dart.mixinNew] = function() { +}).prototype = io.InternetAddress.prototype; +dart.addTypeTests(io.InternetAddress); +dart.addTypeCaches(io.InternetAddress); +dart.setLibraryUri(io.InternetAddress, I[105]); +io.NetworkInterface = class NetworkInterface extends core.Object { + static get listSupported() { + dart.throw(new core.UnsupportedError.new("NetworkInterface.listSupported")); + } + static list(opts) { + let includeLoopback = opts && 'includeLoopback' in opts ? opts.includeLoopback : false; + if (includeLoopback == null) dart.nullFailed(I[107], 449, 13, "includeLoopback"); + let includeLinkLocal = opts && 'includeLinkLocal' in opts ? opts.includeLinkLocal : false; + if (includeLinkLocal == null) dart.nullFailed(I[107], 450, 12, "includeLinkLocal"); + let type = opts && 'type' in opts ? opts.type : C[182] || CT.C182; + if (type == null) dart.nullFailed(I[107], 451, 27, "type"); + dart.throw(new core.UnsupportedError.new("NetworkInterface.list")); + } +}; +(io.NetworkInterface.new = function() { + ; +}).prototype = io.NetworkInterface.prototype; +dart.addTypeTests(io.NetworkInterface); +dart.addTypeCaches(io.NetworkInterface); +dart.setLibraryUri(io.NetworkInterface, I[105]); +io.RawServerSocket = class RawServerSocket extends core.Object { + static bind(address, port, opts) { + if (port == null) dart.nullFailed(I[107], 459, 52, "port"); + let backlog = opts && 'backlog' in opts ? opts.backlog : 0; + if (backlog == null) dart.nullFailed(I[107], 460, 12, "backlog"); + let v6Only = opts && 'v6Only' in opts ? opts.v6Only : false; + if (v6Only == null) dart.nullFailed(I[107], 460, 30, "v6Only"); + let shared = opts && 'shared' in opts ? opts.shared : false; + if (shared == null) dart.nullFailed(I[107], 460, 51, "shared"); + dart.throw(new core.UnsupportedError.new("RawServerSocket.bind")); + } +}; +(io.RawServerSocket.new = function() { + ; +}).prototype = io.RawServerSocket.prototype; +io.RawServerSocket.prototype[dart.isStream] = true; +dart.addTypeTests(io.RawServerSocket); +dart.addTypeCaches(io.RawServerSocket); +io.RawServerSocket[dart.implements] = () => [async.Stream$(io.RawSocket)]; +dart.setLibraryUri(io.RawServerSocket, I[105]); +io.ServerSocket = class ServerSocket extends core.Object { + static bind(address, port, opts) { + if (port == null) dart.nullFailed(I[125], 318, 49, "port"); + let backlog = opts && 'backlog' in opts ? opts.backlog : 0; + if (backlog == null) dart.nullFailed(I[125], 319, 12, "backlog"); + let v6Only = opts && 'v6Only' in opts ? opts.v6Only : false; + if (v6Only == null) dart.nullFailed(I[125], 319, 30, "v6Only"); + let shared = opts && 'shared' in opts ? opts.shared : false; + if (shared == null) dart.nullFailed(I[125], 319, 51, "shared"); + let overrides = io.IOOverrides.current; + if (overrides == null) { + return io.ServerSocket._bind(address, port, {backlog: backlog, v6Only: v6Only, shared: shared}); + } + return overrides.serverSocketBind(address, port, {backlog: backlog, v6Only: v6Only, shared: shared}); + } + static _bind(address, port, opts) { + if (port == null) dart.nullFailed(I[107], 468, 50, "port"); + let backlog = opts && 'backlog' in opts ? opts.backlog : 0; + if (backlog == null) dart.nullFailed(I[107], 469, 12, "backlog"); + let v6Only = opts && 'v6Only' in opts ? opts.v6Only : false; + if (v6Only == null) dart.nullFailed(I[107], 469, 30, "v6Only"); + let shared = opts && 'shared' in opts ? opts.shared : false; + if (shared == null) dart.nullFailed(I[107], 469, 51, "shared"); + dart.throw(new core.UnsupportedError.new("ServerSocket.bind")); + } +}; +(io.ServerSocket.new = function() { + ; +}).prototype = io.ServerSocket.prototype; +io.ServerSocket.prototype[dart.isStream] = true; +dart.addTypeTests(io.ServerSocket); +dart.addTypeCaches(io.ServerSocket); +io.ServerSocket[dart.implements] = () => [async.Stream$(io.Socket)]; +dart.setLibraryUri(io.ServerSocket, I[105]); +var _value$2 = dart.privateName(io, "SocketDirection._value"); +io.SocketDirection = class SocketDirection extends core.Object { + get [_value$0]() { + return this[_value$2]; + } + set [_value$0](value) { + super[_value$0] = value; + } +}; +(io.SocketDirection.__ = function(_value) { + this[_value$2] = _value; + ; +}).prototype = io.SocketDirection.prototype; +dart.addTypeTests(io.SocketDirection); +dart.addTypeCaches(io.SocketDirection); +dart.setLibraryUri(io.SocketDirection, I[105]); +dart.setFieldSignature(io.SocketDirection, () => ({ + __proto__: dart.getFields(io.SocketDirection.__proto__), + [_value$0]: dart.finalFieldType(dart.dynamic) +})); +dart.defineLazy(io.SocketDirection, { + /*io.SocketDirection.receive*/get receive() { + return C[183] || CT.C183; + }, + /*io.SocketDirection.send*/get send() { + return C[184] || CT.C184; + }, + /*io.SocketDirection.both*/get both() { + return C[185] || CT.C185; + }, + /*io.SocketDirection.RECEIVE*/get RECEIVE() { + return C[183] || CT.C183; + }, + /*io.SocketDirection.SEND*/get SEND() { + return C[184] || CT.C184; + }, + /*io.SocketDirection.BOTH*/get BOTH() { + return C[185] || CT.C185; + } +}, false); +var _value$3 = dart.privateName(io, "SocketOption._value"); +io.SocketOption = class SocketOption extends core.Object { + get [_value$0]() { + return this[_value$3]; + } + set [_value$0](value) { + super[_value$0] = value; + } +}; +(io.SocketOption.__ = function(_value) { + this[_value$3] = _value; + ; +}).prototype = io.SocketOption.prototype; +dart.addTypeTests(io.SocketOption); +dart.addTypeCaches(io.SocketOption); +dart.setLibraryUri(io.SocketOption, I[105]); +dart.setFieldSignature(io.SocketOption, () => ({ + __proto__: dart.getFields(io.SocketOption.__proto__), + [_value$0]: dart.finalFieldType(dart.dynamic) +})); +dart.defineLazy(io.SocketOption, { + /*io.SocketOption.tcpNoDelay*/get tcpNoDelay() { + return C[186] || CT.C186; + }, + /*io.SocketOption.TCP_NODELAY*/get TCP_NODELAY() { + return C[186] || CT.C186; + }, + /*io.SocketOption._ipMulticastLoop*/get _ipMulticastLoop() { + return C[187] || CT.C187; + }, + /*io.SocketOption._ipMulticastHops*/get _ipMulticastHops() { + return C[188] || CT.C188; + }, + /*io.SocketOption._ipMulticastIf*/get _ipMulticastIf() { + return C[189] || CT.C189; + }, + /*io.SocketOption._ipBroadcast*/get _ipBroadcast() { + return C[190] || CT.C190; + } +}, false); +io._RawSocketOptions = class _RawSocketOptions extends core.Object { + toString() { + return this[_name$4]; + } +}; +(io._RawSocketOptions.new = function(index, _name) { + if (index == null) dart.nullFailed(I[125], 390, 6, "index"); + if (_name == null) dart.nullFailed(I[125], 390, 6, "_name"); + this.index = index; + this[_name$4] = _name; + ; +}).prototype = io._RawSocketOptions.prototype; +dart.addTypeTests(io._RawSocketOptions); +dart.addTypeCaches(io._RawSocketOptions); +dart.setLibraryUri(io._RawSocketOptions, I[105]); +dart.setFieldSignature(io._RawSocketOptions, () => ({ + __proto__: dart.getFields(io._RawSocketOptions.__proto__), + index: dart.finalFieldType(core.int), + [_name$4]: dart.finalFieldType(core.String) +})); +dart.defineExtensionMethods(io._RawSocketOptions, ['toString']); +io._RawSocketOptions.SOL_SOCKET = C[191] || CT.C191; +io._RawSocketOptions.IPPROTO_IP = C[192] || CT.C192; +io._RawSocketOptions.IP_MULTICAST_IF = C[193] || CT.C193; +io._RawSocketOptions.IPPROTO_IPV6 = C[194] || CT.C194; +io._RawSocketOptions.IPV6_MULTICAST_IF = C[195] || CT.C195; +io._RawSocketOptions.IPPROTO_TCP = C[196] || CT.C196; +io._RawSocketOptions.IPPROTO_UDP = C[197] || CT.C197; +io._RawSocketOptions.values = C[198] || CT.C198; +var level$2 = dart.privateName(io, "RawSocketOption.level"); +var option$ = dart.privateName(io, "RawSocketOption.option"); +var value$3 = dart.privateName(io, "RawSocketOption.value"); +io.RawSocketOption = class RawSocketOption extends core.Object { + get level() { + return this[level$2]; + } + set level(value) { + super.level = value; + } + get option() { + return this[option$]; + } + set option(value) { + super.option = value; + } + get value() { + return this[value$3]; + } + set value(value) { + super.value = value; + } + static fromInt(level, option, value) { + if (level == null) dart.nullFailed(I[125], 426, 39, "level"); + if (option == null) dart.nullFailed(I[125], 426, 50, "option"); + if (value == null) dart.nullFailed(I[125], 426, 62, "value"); + let list = _native_typed_data.NativeUint8List.new(4); + let buffer = typed_data.ByteData.view(list[$buffer], list[$offsetInBytes]); + buffer[$setInt32](0, value, typed_data.Endian.host); + return new io.RawSocketOption.new(level, option, list); + } + static fromBool(level, option, value) { + if (level == null) dart.nullFailed(I[125], 434, 40, "level"); + if (option == null) dart.nullFailed(I[125], 434, 51, "option"); + if (value == null) dart.nullFailed(I[125], 434, 64, "value"); + return io.RawSocketOption.fromInt(level, option, dart.test(value) ? 1 : 0); + } + static get levelSocket() { + return io.RawSocketOption._getOptionValue(io._RawSocketOptions.SOL_SOCKET.index); + } + static get levelIPv4() { + return io.RawSocketOption._getOptionValue(io._RawSocketOptions.IPPROTO_IP.index); + } + static get IPv4MulticastInterface() { + return io.RawSocketOption._getOptionValue(io._RawSocketOptions.IP_MULTICAST_IF.index); + } + static get levelIPv6() { + return io.RawSocketOption._getOptionValue(io._RawSocketOptions.IPPROTO_IPV6.index); + } + static get IPv6MulticastInterface() { + return io.RawSocketOption._getOptionValue(io._RawSocketOptions.IPV6_MULTICAST_IF.index); + } + static get levelTcp() { + return io.RawSocketOption._getOptionValue(io._RawSocketOptions.IPPROTO_TCP.index); + } + static get levelUdp() { + return io.RawSocketOption._getOptionValue(io._RawSocketOptions.IPPROTO_UDP.index); + } + static _getOptionValue(key) { + if (key == null) dart.nullFailed(I[107], 523, 34, "key"); + dart.throw(new core.UnsupportedError.new("RawSocketOption._getOptionValue")); + } +}; +(io.RawSocketOption.new = function(level, option, value) { + if (level == null) dart.nullFailed(I[125], 423, 30, "level"); + if (option == null) dart.nullFailed(I[125], 423, 42, "option"); + if (value == null) dart.nullFailed(I[125], 423, 55, "value"); + this[level$2] = level; + this[option$] = option; + this[value$3] = value; + ; +}).prototype = io.RawSocketOption.prototype; +dart.addTypeTests(io.RawSocketOption); +dart.addTypeCaches(io.RawSocketOption); +dart.setLibraryUri(io.RawSocketOption, I[105]); +dart.setFieldSignature(io.RawSocketOption, () => ({ + __proto__: dart.getFields(io.RawSocketOption.__proto__), + level: dart.finalFieldType(core.int), + option: dart.finalFieldType(core.int), + value: dart.finalFieldType(typed_data.Uint8List) +})); +var socket$ = dart.privateName(io, "ConnectionTask.socket"); +const _is_ConnectionTask_default = Symbol('_is_ConnectionTask_default'); +io.ConnectionTask$ = dart.generic(S => { + class ConnectionTask extends core.Object { + get socket() { + return this[socket$]; + } + set socket(value) { + super.socket = value; + } + cancel() { + this[_onCancel$](); + } + } + (ConnectionTask.__ = function(socket, onCancel) { + if (socket == null) dart.nullFailed(I[125], 542, 35, "socket"); + if (onCancel == null) dart.nullFailed(I[125], 542, 59, "onCancel"); + this[socket$] = socket; + this[_onCancel$] = onCancel; + ; + }).prototype = ConnectionTask.prototype; + dart.addTypeTests(ConnectionTask); + ConnectionTask.prototype[_is_ConnectionTask_default] = true; + dart.addTypeCaches(ConnectionTask); + dart.setMethodSignature(ConnectionTask, () => ({ + __proto__: dart.getMethods(ConnectionTask.__proto__), + cancel: dart.fnType(dart.void, []) + })); + dart.setLibraryUri(ConnectionTask, I[105]); + dart.setFieldSignature(ConnectionTask, () => ({ + __proto__: dart.getFields(ConnectionTask.__proto__), + socket: dart.finalFieldType(async.Future$(S)), + [_onCancel$]: dart.finalFieldType(dart.fnType(dart.void, [])) + })); + return ConnectionTask; +}); +io.ConnectionTask = io.ConnectionTask$(); +dart.addTypeTests(io.ConnectionTask, _is_ConnectionTask_default); +io.RawSocket = class RawSocket extends core.Object { + static connect(host, port, opts) { + if (port == null) dart.nullFailed(I[107], 477, 54, "port"); + let sourceAddress = opts && 'sourceAddress' in opts ? opts.sourceAddress : null; + let timeout = opts && 'timeout' in opts ? opts.timeout : null; + dart.throw(new core.UnsupportedError.new("RawSocket constructor")); + } + static startConnect(host, port, opts) { + if (port == null) dart.nullFailed(I[107], 483, 75, "port"); + let sourceAddress = opts && 'sourceAddress' in opts ? opts.sourceAddress : null; + dart.throw(new core.UnsupportedError.new("RawSocket constructor")); + } +}; +(io.RawSocket.new = function() { + ; +}).prototype = io.RawSocket.prototype; +io.RawSocket.prototype[dart.isStream] = true; +dart.addTypeTests(io.RawSocket); +dart.addTypeCaches(io.RawSocket); +io.RawSocket[dart.implements] = () => [async.Stream$(io.RawSocketEvent)]; +dart.setLibraryUri(io.RawSocket, I[105]); +io.Socket = class Socket extends core.Object { + static connect(host, port, opts) { + if (port == null) dart.nullFailed(I[125], 720, 43, "port"); + let sourceAddress = opts && 'sourceAddress' in opts ? opts.sourceAddress : null; + let timeout = opts && 'timeout' in opts ? opts.timeout : null; + let overrides = io.IOOverrides.current; + if (overrides == null) { + return io.Socket._connect(host, port, {sourceAddress: sourceAddress, timeout: timeout}); + } + return overrides.socketConnect(host, port, {sourceAddress: sourceAddress, timeout: timeout}); + } + static startConnect(host, port, opts) { + if (port == null) dart.nullFailed(I[125], 734, 64, "port"); + let sourceAddress = opts && 'sourceAddress' in opts ? opts.sourceAddress : null; + let overrides = io.IOOverrides.current; + if (overrides == null) { + return io.Socket._startConnect(host, port, {sourceAddress: sourceAddress}); + } + return overrides.socketStartConnect(host, port, {sourceAddress: sourceAddress}); + } + static _connect(host, port, opts) { + if (port == null) dart.nullFailed(I[107], 492, 52, "port"); + let sourceAddress = opts && 'sourceAddress' in opts ? opts.sourceAddress : null; + let timeout = opts && 'timeout' in opts ? opts.timeout : null; + dart.throw(new core.UnsupportedError.new("Socket constructor")); + } + static _startConnect(host, port, opts) { + if (port == null) dart.nullFailed(I[107], 498, 73, "port"); + let sourceAddress = opts && 'sourceAddress' in opts ? opts.sourceAddress : null; + dart.throw(new core.UnsupportedError.new("Socket constructor")); + } +}; +(io.Socket.new = function() { + ; +}).prototype = io.Socket.prototype; +io.Socket.prototype[dart.isStream] = true; +dart.addTypeTests(io.Socket); +dart.addTypeCaches(io.Socket); +io.Socket[dart.implements] = () => [async.Stream$(typed_data.Uint8List), io.IOSink]; +dart.setLibraryUri(io.Socket, I[105]); +var data$ = dart.privateName(io, "Datagram.data"); +var address$ = dart.privateName(io, "Datagram.address"); +var port$ = dart.privateName(io, "Datagram.port"); +io.Datagram = class Datagram extends core.Object { + get data() { + return this[data$]; + } + set data(value) { + this[data$] = value; + } + get address() { + return this[address$]; + } + set address(value) { + this[address$] = value; + } + get port() { + return this[port$]; + } + set port(value) { + this[port$] = value; + } +}; +(io.Datagram.new = function(data, address, port) { + if (data == null) dart.nullFailed(I[125], 825, 17, "data"); + if (address == null) dart.nullFailed(I[125], 825, 28, "address"); + if (port == null) dart.nullFailed(I[125], 825, 42, "port"); + this[data$] = data; + this[address$] = address; + this[port$] = port; + ; +}).prototype = io.Datagram.prototype; +dart.addTypeTests(io.Datagram); +dart.addTypeCaches(io.Datagram); +dart.setLibraryUri(io.Datagram, I[105]); +dart.setFieldSignature(io.Datagram, () => ({ + __proto__: dart.getFields(io.Datagram.__proto__), + data: dart.fieldType(typed_data.Uint8List), + address: dart.fieldType(io.InternetAddress), + port: dart.fieldType(core.int) +})); +var multicastInterface = dart.privateName(io, "RawDatagramSocket.multicastInterface"); +io.RawDatagramSocket = class RawDatagramSocket extends async.Stream$(io.RawSocketEvent) { + get multicastInterface() { + return this[multicastInterface]; + } + set multicastInterface(value) { + this[multicastInterface] = value; + } + static bind(host, port, opts) { + if (port == null) dart.nullFailed(I[107], 557, 59, "port"); + let reuseAddress = opts && 'reuseAddress' in opts ? opts.reuseAddress : true; + if (reuseAddress == null) dart.nullFailed(I[107], 558, 13, "reuseAddress"); + let reusePort = opts && 'reusePort' in opts ? opts.reusePort : false; + if (reusePort == null) dart.nullFailed(I[107], 558, 39, "reusePort"); + let ttl = opts && 'ttl' in opts ? opts.ttl : 1; + if (ttl == null) dart.nullFailed(I[107], 558, 62, "ttl"); + dart.throw(new core.UnsupportedError.new("RawDatagramSocket.bind")); + } +}; +(io.RawDatagramSocket.new = function() { + this[multicastInterface] = null; + io.RawDatagramSocket.__proto__.new.call(this); + ; +}).prototype = io.RawDatagramSocket.prototype; +dart.addTypeTests(io.RawDatagramSocket); +dart.addTypeCaches(io.RawDatagramSocket); +dart.setLibraryUri(io.RawDatagramSocket, I[105]); +dart.setFieldSignature(io.RawDatagramSocket, () => ({ + __proto__: dart.getFields(io.RawDatagramSocket.__proto__), + multicastInterface: dart.fieldType(dart.nullable(io.NetworkInterface)) +})); +var message$7 = dart.privateName(io, "SocketException.message"); +var osError$2 = dart.privateName(io, "SocketException.osError"); +var address$0 = dart.privateName(io, "SocketException.address"); +var port$0 = dart.privateName(io, "SocketException.port"); +io.SocketException = class SocketException extends core.Object { + get message() { + return this[message$7]; + } + set message(value) { + super.message = value; + } + get osError() { + return this[osError$2]; + } + set osError(value) { + super.osError = value; + } + get address() { + return this[address$0]; + } + set address(value) { + super.address = value; + } + get port() { + return this[port$0]; + } + set port(value) { + super.port = value; + } + toString() { + let sb = new core.StringBuffer.new(); + sb.write("SocketException"); + if (this.message[$isNotEmpty]) { + sb.write(": " + dart.str(this.message)); + if (this.osError != null) { + sb.write(" (" + dart.str(this.osError) + ")"); + } + } else if (this.osError != null) { + sb.write(": " + dart.str(this.osError)); + } + if (this.address != null) { + sb.write(", address = " + dart.str(dart.nullCheck(this.address).host)); + } + if (this.port != null) { + sb.write(", port = " + dart.str(this.port)); + } + return sb.toString(); + } +}; +(io.SocketException.new = function(message, opts) { + if (message == null) dart.nullFailed(I[125], 985, 30, "message"); + let osError = opts && 'osError' in opts ? opts.osError : null; + let address = opts && 'address' in opts ? opts.address : null; + let port = opts && 'port' in opts ? opts.port : null; + this[message$7] = message; + this[osError$2] = osError; + this[address$0] = address; + this[port$0] = port; + ; +}).prototype = io.SocketException.prototype; +(io.SocketException.closed = function() { + this[message$7] = "Socket has been closed"; + this[osError$2] = null; + this[address$0] = null; + this[port$0] = null; + ; +}).prototype = io.SocketException.prototype; +dart.addTypeTests(io.SocketException); +dart.addTypeCaches(io.SocketException); +io.SocketException[dart.implements] = () => [io.IOException]; +dart.setLibraryUri(io.SocketException, I[105]); +dart.setFieldSignature(io.SocketException, () => ({ + __proto__: dart.getFields(io.SocketException.__proto__), + message: dart.finalFieldType(core.String), + osError: dart.finalFieldType(dart.nullable(io.OSError)), + address: dart.finalFieldType(dart.nullable(io.InternetAddress)), + port: dart.finalFieldType(dart.nullable(core.int)) +})); +dart.defineExtensionMethods(io.SocketException, ['toString']); +var _stream$0 = dart.privateName(io, "_stream"); +io._StdStream = class _StdStream extends async.Stream$(core.List$(core.int)) { + listen(onData, opts) { + let onError = opts && 'onError' in opts ? opts.onError : null; + let onDone = opts && 'onDone' in opts ? opts.onDone : null; + let cancelOnError = opts && 'cancelOnError' in opts ? opts.cancelOnError : null; + return this[_stream$0].listen(onData, {onError: onError, onDone: onDone, cancelOnError: cancelOnError}); + } +}; +(io._StdStream.new = function(_stream) { + if (_stream == null) dart.nullFailed(I[128], 18, 19, "_stream"); + this[_stream$0] = _stream; + io._StdStream.__proto__.new.call(this); + ; +}).prototype = io._StdStream.prototype; +dart.addTypeTests(io._StdStream); +dart.addTypeCaches(io._StdStream); +dart.setMethodSignature(io._StdStream, () => ({ + __proto__: dart.getMethods(io._StdStream.__proto__), + listen: dart.fnType(async.StreamSubscription$(core.List$(core.int)), [dart.nullable(dart.fnType(dart.void, [core.List$(core.int)]))], {cancelOnError: dart.nullable(core.bool), onDone: dart.nullable(dart.fnType(dart.void, [])), onError: dart.nullable(core.Function)}, {}) +})); +dart.setLibraryUri(io._StdStream, I[105]); +dart.setFieldSignature(io._StdStream, () => ({ + __proto__: dart.getFields(io._StdStream.__proto__), + [_stream$0]: dart.finalFieldType(async.Stream$(core.List$(core.int))) +})); +var _fd$ = dart.privateName(io, "_fd"); +io.Stdin = class Stdin extends io._StdStream { + readLineSync(opts) { + let encoding = opts && 'encoding' in opts ? opts.encoding : C[143] || CT.C143; + if (encoding == null) dart.nullFailed(I[128], 57, 17, "encoding"); + let retainNewlines = opts && 'retainNewlines' in opts ? opts.retainNewlines : false; + if (retainNewlines == null) dart.nullFailed(I[128], 57, 49, "retainNewlines"); + let line = T$.JSArrayOfint().of([]); + let crIsNewline = dart.test(io.Platform.isWindows) && dart.equals(io.stdioType(io.stdin), io.StdioType.terminal) && !dart.test(this.lineMode); + if (dart.test(retainNewlines)) { + let byte = null; + do { + byte = this.readByteSync(); + if (dart.notNull(byte) < 0) { + break; + } + line[$add](byte); + } while (byte !== 10 && !(byte === 13 && crIsNewline)); + if (dart.test(line[$isEmpty])) { + return null; + } + } else if (crIsNewline) { + while (true) { + let byte = this.readByteSync(); + if (dart.notNull(byte) < 0) { + if (dart.test(line[$isEmpty])) return null; + break; + } + if (byte === 10 || byte === 13) break; + line[$add](byte); + } + } else { + L2: + while (true) { + let byte = this.readByteSync(); + if (byte === 10) break; + if (byte === 13) { + do { + byte = this.readByteSync(); + if (byte === 10) break L2; + line[$add](13); + } while (byte === 13); + } + if (dart.notNull(byte) < 0) { + if (dart.test(line[$isEmpty])) return null; + break; + } + line[$add](byte); + } + } + return encoding.decode(line); + } + get echoMode() { + dart.throw(new core.UnsupportedError.new("Stdin.echoMode")); + } + set echoMode(enabled) { + if (enabled == null) dart.nullFailed(I[107], 644, 26, "enabled"); + dart.throw(new core.UnsupportedError.new("Stdin.echoMode")); + } + get lineMode() { + dart.throw(new core.UnsupportedError.new("Stdin.lineMode")); + } + set lineMode(enabled) { + if (enabled == null) dart.nullFailed(I[107], 654, 26, "enabled"); + dart.throw(new core.UnsupportedError.new("Stdin.lineMode")); + } + get supportsAnsiEscapes() { + dart.throw(new core.UnsupportedError.new("Stdin.supportsAnsiEscapes")); + } + readByteSync() { + dart.throw(new core.UnsupportedError.new("Stdin.readByteSync")); + } + get hasTerminal() { + try { + return dart.equals(io.stdioType(this), io.StdioType.terminal); + } catch (e) { + let _ = dart.getThrown(e); + if (io.FileSystemException.is(_)) { + return false; + } else + throw e; + } + } +}; +(io.Stdin.__ = function(stream, _fd) { + if (stream == null) dart.nullFailed(I[128], 36, 29, "stream"); + if (_fd == null) dart.nullFailed(I[128], 36, 42, "_fd"); + this[_fd$] = _fd; + io.Stdin.__proto__.new.call(this, stream); + ; +}).prototype = io.Stdin.prototype; +io.Stdin.prototype[dart.isStream] = true; +dart.addTypeTests(io.Stdin); +dart.addTypeCaches(io.Stdin); +io.Stdin[dart.implements] = () => [async.Stream$(core.List$(core.int))]; +dart.setMethodSignature(io.Stdin, () => ({ + __proto__: dart.getMethods(io.Stdin.__proto__), + readLineSync: dart.fnType(dart.nullable(core.String), [], {encoding: convert.Encoding, retainNewlines: core.bool}, {}), + readByteSync: dart.fnType(core.int, []) +})); +dart.setGetterSignature(io.Stdin, () => ({ + __proto__: dart.getGetters(io.Stdin.__proto__), + echoMode: core.bool, + lineMode: core.bool, + supportsAnsiEscapes: core.bool, + hasTerminal: core.bool +})); +dart.setSetterSignature(io.Stdin, () => ({ + __proto__: dart.getSetters(io.Stdin.__proto__), + echoMode: core.bool, + lineMode: core.bool +})); +dart.setLibraryUri(io.Stdin, I[105]); +dart.setFieldSignature(io.Stdin, () => ({ + __proto__: dart.getFields(io.Stdin.__proto__), + [_fd$]: dart.fieldType(core.int) +})); +var _nonBlocking = dart.privateName(io, "_nonBlocking"); +var _hasTerminal = dart.privateName(io, "_hasTerminal"); +var _terminalColumns = dart.privateName(io, "_terminalColumns"); +var _terminalLines = dart.privateName(io, "_terminalLines"); +io._StdSink = class _StdSink extends core.Object { + get encoding() { + return this[_sink$1].encoding; + } + set encoding(encoding) { + if (encoding == null) dart.nullFailed(I[128], 310, 30, "encoding"); + this[_sink$1].encoding = encoding; + } + write(object) { + this[_sink$1].write(object); + } + writeln(object = "") { + this[_sink$1].writeln(object); + } + writeAll(objects, sep = "") { + if (objects == null) dart.nullFailed(I[128], 322, 26, "objects"); + if (sep == null) dart.nullFailed(I[128], 322, 43, "sep"); + this[_sink$1].writeAll(objects, sep); + } + add(data) { + T$0.ListOfint().as(data); + if (data == null) dart.nullFailed(I[128], 326, 22, "data"); + this[_sink$1].add(data); + } + addError(error, stackTrace = null) { + if (error == null) dart.nullFailed(I[128], 330, 17, "error"); + this[_sink$1].addError(error, stackTrace); + } + writeCharCode(charCode) { + if (charCode == null) dart.nullFailed(I[128], 334, 26, "charCode"); + this[_sink$1].writeCharCode(charCode); + } + addStream(stream) { + T$0.StreamOfListOfint().as(stream); + if (stream == null) dart.nullFailed(I[128], 338, 38, "stream"); + return this[_sink$1].addStream(stream); + } + flush() { + return this[_sink$1].flush(); + } + close() { + return this[_sink$1].close(); + } + get done() { + return this[_sink$1].done; + } +}; +(io._StdSink.new = function(_sink) { + if (_sink == null) dart.nullFailed(I[128], 307, 17, "_sink"); + this[_sink$1] = _sink; + ; +}).prototype = io._StdSink.prototype; +dart.addTypeTests(io._StdSink); +dart.addTypeCaches(io._StdSink); +io._StdSink[dart.implements] = () => [io.IOSink]; +dart.setMethodSignature(io._StdSink, () => ({ + __proto__: dart.getMethods(io._StdSink.__proto__), + write: dart.fnType(dart.void, [dart.nullable(core.Object)]), + writeln: dart.fnType(dart.void, [], [dart.nullable(core.Object)]), + writeAll: dart.fnType(dart.void, [core.Iterable], [core.String]), + add: dart.fnType(dart.void, [dart.nullable(core.Object)]), + addError: dart.fnType(dart.void, [core.Object], [dart.nullable(core.StackTrace)]), + writeCharCode: dart.fnType(dart.void, [core.int]), + addStream: dart.fnType(async.Future, [dart.nullable(core.Object)]), + flush: dart.fnType(async.Future, []), + close: dart.fnType(async.Future, []) +})); +dart.setGetterSignature(io._StdSink, () => ({ + __proto__: dart.getGetters(io._StdSink.__proto__), + encoding: convert.Encoding, + done: async.Future +})); +dart.setSetterSignature(io._StdSink, () => ({ + __proto__: dart.getSetters(io._StdSink.__proto__), + encoding: convert.Encoding +})); +dart.setLibraryUri(io._StdSink, I[105]); +dart.setFieldSignature(io._StdSink, () => ({ + __proto__: dart.getFields(io._StdSink.__proto__), + [_sink$1]: dart.finalFieldType(io.IOSink) +})); +io.Stdout = class Stdout extends io._StdSink { + get hasTerminal() { + return this[_hasTerminal](this[_fd$]); + } + get terminalColumns() { + return this[_terminalColumns](this[_fd$]); + } + get terminalLines() { + return this[_terminalLines](this[_fd$]); + } + get supportsAnsiEscapes() { + return io.Stdout._supportsAnsiEscapes(this[_fd$]); + } + [_hasTerminal](fd) { + if (fd == null) dart.nullFailed(I[107], 667, 25, "fd"); + dart.throw(new core.UnsupportedError.new("Stdout.hasTerminal")); + } + [_terminalColumns](fd) { + if (fd == null) dart.nullFailed(I[107], 672, 28, "fd"); + dart.throw(new core.UnsupportedError.new("Stdout.terminalColumns")); + } + [_terminalLines](fd) { + if (fd == null) dart.nullFailed(I[107], 677, 26, "fd"); + dart.throw(new core.UnsupportedError.new("Stdout.terminalLines")); + } + static _supportsAnsiEscapes(fd) { + if (fd == null) dart.nullFailed(I[107], 682, 40, "fd"); + dart.throw(new core.UnsupportedError.new("Stdout.supportsAnsiEscapes")); + } + get nonBlocking() { + let t212; + t212 = this[_nonBlocking]; + return t212 == null ? this[_nonBlocking] = io.IOSink.new(new io._FileStreamConsumer.fromStdio(this[_fd$])) : t212; + } +}; +(io.Stdout.__ = function(sink, _fd) { + if (sink == null) dart.nullFailed(I[128], 196, 19, "sink"); + if (_fd == null) dart.nullFailed(I[128], 196, 30, "_fd"); + this[_nonBlocking] = null; + this[_fd$] = _fd; + io.Stdout.__proto__.new.call(this, sink); + ; +}).prototype = io.Stdout.prototype; +dart.addTypeTests(io.Stdout); +dart.addTypeCaches(io.Stdout); +io.Stdout[dart.implements] = () => [io.IOSink]; +dart.setMethodSignature(io.Stdout, () => ({ + __proto__: dart.getMethods(io.Stdout.__proto__), + [_hasTerminal]: dart.fnType(core.bool, [core.int]), + [_terminalColumns]: dart.fnType(core.int, [core.int]), + [_terminalLines]: dart.fnType(core.int, [core.int]) +})); +dart.setGetterSignature(io.Stdout, () => ({ + __proto__: dart.getGetters(io.Stdout.__proto__), + hasTerminal: core.bool, + terminalColumns: core.int, + terminalLines: core.int, + supportsAnsiEscapes: core.bool, + nonBlocking: io.IOSink +})); +dart.setLibraryUri(io.Stdout, I[105]); +dart.setFieldSignature(io.Stdout, () => ({ + __proto__: dart.getFields(io.Stdout.__proto__), + [_fd$]: dart.finalFieldType(core.int), + [_nonBlocking]: dart.fieldType(dart.nullable(io.IOSink)) +})); +var message$8 = dart.privateName(io, "StdoutException.message"); +var osError$3 = dart.privateName(io, "StdoutException.osError"); +io.StdoutException = class StdoutException extends core.Object { + get message() { + return this[message$8]; + } + set message(value) { + super.message = value; + } + get osError() { + return this[osError$3]; + } + set osError(value) { + super.osError = value; + } + toString() { + return "StdoutException: " + dart.str(this.message) + (this.osError == null ? "" : ", " + dart.str(this.osError)); + } +}; +(io.StdoutException.new = function(message, osError = null) { + if (message == null) dart.nullFailed(I[128], 254, 30, "message"); + this[message$8] = message; + this[osError$3] = osError; + ; +}).prototype = io.StdoutException.prototype; +dart.addTypeTests(io.StdoutException); +dart.addTypeCaches(io.StdoutException); +io.StdoutException[dart.implements] = () => [io.IOException]; +dart.setLibraryUri(io.StdoutException, I[105]); +dart.setFieldSignature(io.StdoutException, () => ({ + __proto__: dart.getFields(io.StdoutException.__proto__), + message: dart.finalFieldType(core.String), + osError: dart.finalFieldType(dart.nullable(io.OSError)) +})); +dart.defineExtensionMethods(io.StdoutException, ['toString']); +var message$9 = dart.privateName(io, "StdinException.message"); +var osError$4 = dart.privateName(io, "StdinException.osError"); +io.StdinException = class StdinException extends core.Object { + get message() { + return this[message$9]; + } + set message(value) { + super.message = value; + } + get osError() { + return this[osError$4]; + } + set osError(value) { + super.osError = value; + } + toString() { + return "StdinException: " + dart.str(this.message) + (this.osError == null ? "" : ", " + dart.str(this.osError)); + } +}; +(io.StdinException.new = function(message, osError = null) { + if (message == null) dart.nullFailed(I[128], 269, 29, "message"); + this[message$9] = message; + this[osError$4] = osError; + ; +}).prototype = io.StdinException.prototype; +dart.addTypeTests(io.StdinException); +dart.addTypeCaches(io.StdinException); +io.StdinException[dart.implements] = () => [io.IOException]; +dart.setLibraryUri(io.StdinException, I[105]); +dart.setFieldSignature(io.StdinException, () => ({ + __proto__: dart.getFields(io.StdinException.__proto__), + message: dart.finalFieldType(core.String), + osError: dart.finalFieldType(dart.nullable(io.OSError)) +})); +dart.defineExtensionMethods(io.StdinException, ['toString']); +io._StdConsumer = class _StdConsumer extends core.Object { + addStream(stream) { + T$0.StreamOfListOfint().as(stream); + if (stream == null) dart.nullFailed(I[128], 281, 38, "stream"); + let completer = async.Completer.new(); + let sub = null; + sub = stream.listen(dart.fn(data => { + if (data == null) dart.nullFailed(I[128], 284, 26, "data"); + try { + dart.dsend(this[_file], 'writeFromSync', [data]); + } catch (e$) { + let e = dart.getThrown(e$); + let s = dart.stackTrace(e$); + if (core.Object.is(e)) { + dart.dsend(sub, 'cancel', []); + completer.completeError(e, s); + } else + throw e$; + } + }, T$0.ListOfintTovoid()), {onError: dart.bind(completer, 'completeError'), onDone: dart.bind(completer, 'complete'), cancelOnError: true}); + return completer.future; + } + close() { + dart.dsend(this[_file], 'closeSync', []); + return async.Future.value(); + } +}; +(io._StdConsumer.new = function(fd) { + if (fd == null) dart.nullFailed(I[128], 279, 20, "fd"); + this[_file] = io._File._openStdioSync(fd); + ; +}).prototype = io._StdConsumer.prototype; +dart.addTypeTests(io._StdConsumer); +dart.addTypeCaches(io._StdConsumer); +io._StdConsumer[dart.implements] = () => [async.StreamConsumer$(core.List$(core.int))]; +dart.setMethodSignature(io._StdConsumer, () => ({ + __proto__: dart.getMethods(io._StdConsumer.__proto__), + addStream: dart.fnType(async.Future, [dart.nullable(core.Object)]), + close: dart.fnType(async.Future, []) +})); +dart.setLibraryUri(io._StdConsumer, I[105]); +dart.setFieldSignature(io._StdConsumer, () => ({ + __proto__: dart.getFields(io._StdConsumer.__proto__), + [_file]: dart.finalFieldType(dart.dynamic) +})); +var name$11 = dart.privateName(io, "StdioType.name"); +io.StdioType = class StdioType extends core.Object { + get name() { + return this[name$11]; + } + set name(value) { + super.name = value; + } + toString() { + return "StdioType: " + dart.str(this.name); + } +}; +(io.StdioType.__ = function(name) { + if (name == null) dart.nullFailed(I[128], 361, 26, "name"); + this[name$11] = name; + ; +}).prototype = io.StdioType.prototype; +dart.addTypeTests(io.StdioType); +dart.addTypeCaches(io.StdioType); +dart.setLibraryUri(io.StdioType, I[105]); +dart.setFieldSignature(io.StdioType, () => ({ + __proto__: dart.getFields(io.StdioType.__proto__), + name: dart.finalFieldType(core.String) +})); +dart.defineExtensionMethods(io.StdioType, ['toString']); +dart.defineLazy(io.StdioType, { + /*io.StdioType.terminal*/get terminal() { + return C[199] || CT.C199; + }, + /*io.StdioType.pipe*/get pipe() { + return C[200] || CT.C200; + }, + /*io.StdioType.file*/get file() { + return C[201] || CT.C201; + }, + /*io.StdioType.other*/get other() { + return C[202] || CT.C202; + }, + /*io.StdioType.TERMINAL*/get TERMINAL() { + return C[199] || CT.C199; + }, + /*io.StdioType.PIPE*/get PIPE() { + return C[200] || CT.C200; + }, + /*io.StdioType.FILE*/get FILE() { + return C[201] || CT.C201; + }, + /*io.StdioType.OTHER*/get OTHER() { + return C[202] || CT.C202; + } +}, false); +io._StdIOUtils = class _StdIOUtils extends core.Object { + static _getStdioOutputStream(fd) { + if (fd == null) dart.nullFailed(I[107], 579, 36, "fd"); + dart.throw(new core.UnsupportedError.new("StdIOUtils._getStdioOutputStream")); + } + static _getStdioInputStream(fd) { + if (fd == null) dart.nullFailed(I[107], 574, 41, "fd"); + dart.throw(new core.UnsupportedError.new("StdIOUtils._getStdioInputStream")); + } + static _socketType(socket) { + if (socket == null) dart.nullFailed(I[107], 584, 33, "socket"); + dart.throw(new core.UnsupportedError.new("StdIOUtils._socketType")); + } + static _getStdioHandleType(fd) { + if (fd == null) dart.nullFailed(I[107], 589, 34, "fd"); + dart.throw(new core.UnsupportedError.new("StdIOUtils._getStdioHandleType")); + } +}; +(io._StdIOUtils.new = function() { + ; +}).prototype = io._StdIOUtils.prototype; +dart.addTypeTests(io._StdIOUtils); +dart.addTypeCaches(io._StdIOUtils); +dart.setLibraryUri(io._StdIOUtils, I[105]); +io.SystemEncoding = class SystemEncoding extends convert.Encoding { + get name() { + return "system"; + } + encode(input) { + core.String.as(input); + if (input == null) dart.nullFailed(I[129], 28, 27, "input"); + return this.encoder.convert(input); + } + decode(encoded) { + T$0.ListOfint().as(encoded); + if (encoded == null) dart.nullFailed(I[129], 29, 27, "encoded"); + return this.decoder.convert(encoded); + } + get encoder() { + if (io.Platform.operatingSystem === "windows") { + return C[203] || CT.C203; + } else { + return C[101] || CT.C101; + } + } + get decoder() { + if (io.Platform.operatingSystem === "windows") { + return C[204] || CT.C204; + } else { + return C[100] || CT.C100; + } + } +}; +(io.SystemEncoding.new = function() { + io.SystemEncoding.__proto__.new.call(this); + ; +}).prototype = io.SystemEncoding.prototype; +dart.addTypeTests(io.SystemEncoding); +dart.addTypeCaches(io.SystemEncoding); +dart.setGetterSignature(io.SystemEncoding, () => ({ + __proto__: dart.getGetters(io.SystemEncoding.__proto__), + name: core.String, + encoder: convert.Converter$(core.String, core.List$(core.int)), + decoder: convert.Converter$(core.List$(core.int), core.String) +})); +dart.setLibraryUri(io.SystemEncoding, I[105]); +io._WindowsCodePageEncoder = class _WindowsCodePageEncoder extends convert.Converter$(core.String, core.List$(core.int)) { + convert(input) { + core.String.as(input); + if (input == null) dart.nullFailed(I[129], 51, 28, "input"); + let encoded = io._WindowsCodePageEncoder._encodeString(input); + if (encoded == null) { + dart.throw(new core.FormatException.new("Invalid character for encoding")); + } + return encoded; + } + startChunkedConversion(sink) { + T$0.SinkOfListOfint().as(sink); + if (sink == null) dart.nullFailed(I[129], 60, 63, "sink"); + return new io._WindowsCodePageEncoderSink.new(sink); + } + static _encodeString(string) { + if (string == null) dart.nullFailed(I[107], 605, 41, "string"); + dart.throw(new core.UnsupportedError.new("_WindowsCodePageEncoder._encodeString")); + } +}; +(io._WindowsCodePageEncoder.new = function() { + io._WindowsCodePageEncoder.__proto__.new.call(this); + ; +}).prototype = io._WindowsCodePageEncoder.prototype; +dart.addTypeTests(io._WindowsCodePageEncoder); +dart.addTypeCaches(io._WindowsCodePageEncoder); +dart.setMethodSignature(io._WindowsCodePageEncoder, () => ({ + __proto__: dart.getMethods(io._WindowsCodePageEncoder.__proto__), + convert: dart.fnType(core.List$(core.int), [dart.nullable(core.Object)]), + startChunkedConversion: dart.fnType(convert.StringConversionSink, [dart.nullable(core.Object)]) +})); +dart.setLibraryUri(io._WindowsCodePageEncoder, I[105]); +io._WindowsCodePageEncoderSink = class _WindowsCodePageEncoderSink extends convert.StringConversionSinkBase { + close() { + this[_sink$1].close(); + } + add(string) { + core.String.as(string); + if (string == null) dart.nullFailed(I[129], 79, 19, "string"); + let encoded = io._WindowsCodePageEncoder._encodeString(string); + if (encoded == null) { + dart.throw(new core.FormatException.new("Invalid character for encoding")); + } + this[_sink$1].add(encoded); + } + addSlice(source, start, end, isLast) { + if (source == null) dart.nullFailed(I[129], 87, 24, "source"); + if (start == null) dart.nullFailed(I[129], 87, 36, "start"); + if (end == null) dart.nullFailed(I[129], 87, 47, "end"); + if (isLast == null) dart.nullFailed(I[129], 87, 57, "isLast"); + if (start !== 0 || end !== source.length) { + source = source[$substring](start, end); + } + this.add(source); + if (dart.test(isLast)) this.close(); + } +}; +(io._WindowsCodePageEncoderSink.new = function(_sink) { + if (_sink == null) dart.nullFailed(I[129], 73, 36, "_sink"); + this[_sink$1] = _sink; + ; +}).prototype = io._WindowsCodePageEncoderSink.prototype; +dart.addTypeTests(io._WindowsCodePageEncoderSink); +dart.addTypeCaches(io._WindowsCodePageEncoderSink); +dart.setMethodSignature(io._WindowsCodePageEncoderSink, () => ({ + __proto__: dart.getMethods(io._WindowsCodePageEncoderSink.__proto__), + close: dart.fnType(dart.void, []), + addSlice: dart.fnType(dart.void, [core.String, core.int, core.int, core.bool]) +})); +dart.setLibraryUri(io._WindowsCodePageEncoderSink, I[105]); +dart.setFieldSignature(io._WindowsCodePageEncoderSink, () => ({ + __proto__: dart.getFields(io._WindowsCodePageEncoderSink.__proto__), + [_sink$1]: dart.finalFieldType(core.Sink$(core.List$(core.int))) +})); +io._WindowsCodePageDecoder = class _WindowsCodePageDecoder extends convert.Converter$(core.List$(core.int), core.String) { + convert(input) { + T$0.ListOfint().as(input); + if (input == null) dart.nullFailed(I[129], 99, 28, "input"); + return io._WindowsCodePageDecoder._decodeBytes(input); + } + startChunkedConversion(sink) { + T$0.SinkOfString().as(sink); + if (sink == null) dart.nullFailed(I[129], 104, 58, "sink"); + return new io._WindowsCodePageDecoderSink.new(sink); + } + static _decodeBytes(bytes) { + if (bytes == null) dart.nullFailed(I[107], 597, 40, "bytes"); + dart.throw(new core.UnsupportedError.new("_WindowsCodePageDecoder._decodeBytes")); + } +}; +(io._WindowsCodePageDecoder.new = function() { + io._WindowsCodePageDecoder.__proto__.new.call(this); + ; +}).prototype = io._WindowsCodePageDecoder.prototype; +dart.addTypeTests(io._WindowsCodePageDecoder); +dart.addTypeCaches(io._WindowsCodePageDecoder); +dart.setMethodSignature(io._WindowsCodePageDecoder, () => ({ + __proto__: dart.getMethods(io._WindowsCodePageDecoder.__proto__), + convert: dart.fnType(core.String, [dart.nullable(core.Object)]), + startChunkedConversion: dart.fnType(convert.ByteConversionSink, [dart.nullable(core.Object)]) +})); +dart.setLibraryUri(io._WindowsCodePageDecoder, I[105]); +io._WindowsCodePageDecoderSink = class _WindowsCodePageDecoderSink extends convert.ByteConversionSinkBase { + close() { + this[_sink$1].close(); + } + add(bytes) { + T$0.ListOfint().as(bytes); + if (bytes == null) dart.nullFailed(I[129], 123, 22, "bytes"); + this[_sink$1].add(io._WindowsCodePageDecoder._decodeBytes(bytes)); + } +}; +(io._WindowsCodePageDecoderSink.new = function(_sink) { + if (_sink == null) dart.nullFailed(I[129], 117, 36, "_sink"); + this[_sink$1] = _sink; + io._WindowsCodePageDecoderSink.__proto__.new.call(this); + ; +}).prototype = io._WindowsCodePageDecoderSink.prototype; +dart.addTypeTests(io._WindowsCodePageDecoderSink); +dart.addTypeCaches(io._WindowsCodePageDecoderSink); +dart.setMethodSignature(io._WindowsCodePageDecoderSink, () => ({ + __proto__: dart.getMethods(io._WindowsCodePageDecoderSink.__proto__), + close: dart.fnType(dart.void, []), + add: dart.fnType(dart.void, [dart.nullable(core.Object)]) +})); +dart.setLibraryUri(io._WindowsCodePageDecoderSink, I[105]); +dart.setFieldSignature(io._WindowsCodePageDecoderSink, () => ({ + __proto__: dart.getFields(io._WindowsCodePageDecoderSink.__proto__), + [_sink$1]: dart.finalFieldType(core.Sink$(core.String)) +})); +io.RawSynchronousSocket = class RawSynchronousSocket extends core.Object { + static connectSync(host, port) { + if (port == null) dart.nullFailed(I[107], 515, 61, "port"); + dart.throw(new core.UnsupportedError.new("RawSynchronousSocket.connectSync")); + } +}; +(io.RawSynchronousSocket.new = function() { + ; +}).prototype = io.RawSynchronousSocket.prototype; +dart.addTypeTests(io.RawSynchronousSocket); +dart.addTypeCaches(io.RawSynchronousSocket); +dart.setLibraryUri(io.RawSynchronousSocket, I[105]); +io._isErrorResponse = function _isErrorResponse$(response) { + return core.List.is(response) && !dart.equals(response[$_get](0), 0); +}; +io._exceptionFromResponse = function _exceptionFromResponse$(response, message, path) { + if (message == null) dart.nullFailed(I[106], 23, 41, "message"); + if (path == null) dart.nullFailed(I[106], 23, 57, "path"); + if (!dart.test(io._isErrorResponse(response))) dart.assertFailed(null, I[106], 24, 10, "_isErrorResponse(response)"); + switch (dart.dsend(response, '_get', [0])) { + case 1: + { + return new core.ArgumentError.new(dart.str(message) + ": " + dart.str(path)); + } + case 2: + { + let err = new io.OSError.new(core.String.as(dart.dsend(response, '_get', [2])), core.int.as(dart.dsend(response, '_get', [1]))); + return new io.FileSystemException.new(message, path, err); + } + case 3: + { + return new io.FileSystemException.new("File closed", path); + } + default: + { + return core.Exception.new("Unknown error"); + } + } +}; +io._ensureFastAndSerializableByteData = function _ensureFastAndSerializableByteData(buffer, start, end) { + if (buffer == null) dart.nullFailed(I[106], 93, 15, "buffer"); + if (start == null) dart.nullFailed(I[106], 93, 27, "start"); + if (end == null) dart.nullFailed(I[106], 93, 38, "end"); + if (dart.test(io._isDirectIOCapableTypedList(buffer))) { + return new io._BufferAndStart.new(buffer, start); + } + let length = dart.notNull(end) - dart.notNull(start); + let newBuffer = _native_typed_data.NativeUint8List.new(length); + newBuffer[$setRange](0, length, buffer, start); + return new io._BufferAndStart.new(newBuffer, 0); +}; +io._isDirectIOCapableTypedList = function _isDirectIOCapableTypedList(buffer) { + if (buffer == null) dart.nullFailed(I[107], 218, 44, "buffer"); + dart.throw(new core.UnsupportedError.new("_isDirectIOCapableTypedList")); +}; +io._validateZLibWindowBits = function _validateZLibWindowBits(windowBits) { + if (windowBits == null) dart.nullFailed(I[108], 570, 34, "windowBits"); + if (8 > dart.notNull(windowBits) || 15 < dart.notNull(windowBits)) { + dart.throw(new core.RangeError.range(windowBits, 8, 15)); + } +}; +io._validateZLibeLevel = function _validateZLibeLevel(level) { + if (level == null) dart.nullFailed(I[108], 578, 30, "level"); + if (-1 > dart.notNull(level) || 9 < dart.notNull(level)) { + dart.throw(new core.RangeError.range(level, -1, 9)); + } +}; +io._validateZLibMemLevel = function _validateZLibMemLevel(memLevel) { + if (memLevel == null) dart.nullFailed(I[108], 584, 32, "memLevel"); + if (1 > dart.notNull(memLevel) || 9 < dart.notNull(memLevel)) { + dart.throw(new core.RangeError.range(memLevel, 1, 9)); + } +}; +io._validateZLibStrategy = function _validateZLibStrategy(strategy) { + if (strategy == null) dart.nullFailed(I[108], 591, 32, "strategy"); + let strategies = C[205] || CT.C205; + if (strategies[$indexOf](strategy) === -1) { + dart.throw(new core.ArgumentError.new("Unsupported 'strategy'")); + } +}; +io.isInsecureConnectionAllowed = function isInsecureConnectionAllowed(host) { + let t215, t215$; + let hostString = null; + if (typeof host == 'string') { + try { + if ("localhost" === host || dart.test(io.InternetAddress.new(host).isLoopback)) return true; + } catch (e) { + let ex = dart.getThrown(e); + if (core.ArgumentError.is(ex)) { + } else + throw e; + } + hostString = host; + } else if (io.InternetAddress.is(host)) { + if (dart.test(host.isLoopback)) return true; + hostString = host.host; + } else { + dart.throw(new core.ArgumentError.value(host, "host", "Must be a String or InternetAddress")); + } + let topMatchedPolicy = io._findBestDomainNetworkPolicy(hostString); + let envOverride = core.bool.fromEnvironment("dart.library.io.may_insecurely_connect_to_all_domains", {defaultValue: true}); + t215$ = (t215 = topMatchedPolicy, t215 == null ? null : t215.allowInsecureConnections); + return t215$ == null ? dart.test(envOverride) && dart.test(io._EmbedderConfig._mayInsecurelyConnectToAllDomains) : t215$; +}; +io._findBestDomainNetworkPolicy = function _findBestDomainNetworkPolicy(domain) { + if (domain == null) dart.nullFailed(I[118], 154, 59, "domain"); + let topScore = 0; + let topPolicy = null; + for (let policy of io._domainPolicies) { + let score = policy.matchScore(domain); + if (dart.notNull(score) > dart.notNull(topScore)) { + topScore = score; + topPolicy = policy; + } + } + return topPolicy; +}; +io._constructDomainPolicies = function _constructDomainPolicies(domainPoliciesString) { + let domainPolicies = T$0.JSArrayOf_DomainNetworkPolicy().of([]); + domainPoliciesString == null ? domainPoliciesString = core.String.fromEnvironment("dart.library.io.domain_network_policies", {defaultValue: ""}) : null; + if (domainPoliciesString[$isNotEmpty]) { + let policiesJson = core.List.as(convert.json.decode(domainPoliciesString)); + for (let t215 of policiesJson) { + let policyJson = core.List.as(t215); + if (!(policyJson[$length] === 3)) dart.assertFailed(null, I[118], 180, 14, "policyJson.length == 3"); + let policy = new io._DomainNetworkPolicy.new(core.String.as(policyJson[$_get](0)), {includesSubDomains: core.bool.as(policyJson[$_get](1)), allowInsecureConnections: core.bool.as(policyJson[$_get](2))}); + if (dart.test(policy.checkConflict(domainPolicies))) { + domainPolicies[$add](policy); + } + } + } + return domainPolicies; +}; +io._success = function _success() { + return convert.json.encode(new (T$.IdentityMapOfString$String()).from(["type", "Success"])); +}; +io._invalidArgument = function _invalidArgument(argument, value) { + if (argument == null) dart.nullFailed(I[119], 148, 32, "argument"); + return "Value for parameter '" + dart.str(argument) + "' is not valid: " + dart.str(value); +}; +io._missingArgument = function _missingArgument(argument) { + if (argument == null) dart.nullFailed(I[119], 151, 32, "argument"); + return "Parameter '" + dart.str(argument) + "' is required"; +}; +io._getHttpEnableTimelineLogging = function _getHttpEnableTimelineLogging() { + return convert.json.encode(new (T$.IdentityMapOfString$Object()).from(["type", "HttpTimelineLoggingState", "enabled", _http.HttpClient.enableTimelineLogging])); +}; +io._setHttpEnableTimelineLogging = function _setHttpEnableTimelineLogging(parameters) { + if (parameters == null) dart.nullFailed(I[119], 158, 58, "parameters"); + if (!dart.test(parameters[$containsKey]("enable"))) { + dart.throw(io._missingArgument("enable")); + } + let enable = dart.nullCheck(parameters[$_get]("enable"))[$toLowerCase](); + if (enable !== "true" && enable !== "false") { + dart.throw(io._invalidArgument("enable", enable)); + } + _http.HttpClient.enableTimelineLogging = enable === "true"; + return io._success(); +}; +io._getHttpProfileRequest = function _getHttpProfileRequest(parameters) { + if (parameters == null) dart.nullFailed(I[119], 171, 51, "parameters"); + if (!dart.test(parameters[$containsKey]("id"))) { + dart.throw(io._missingArgument("id")); + } + let id = core.int.tryParse(dart.nullCheck(parameters[$_get]("id"))); + if (id == null) { + dart.throw(io._invalidArgument("id", dart.nullCheck(parameters[$_get]("id")))); + } + let request = _http.HttpProfiler.getHttpProfileRequest(id); + if (request == null) { + dart.throw("Unable to find request with id: '" + dart.str(id) + "'"); + } + return convert.json.encode(request.toJson({ref: false})); +}; +io._socketProfilingEnabled = function _socketProfilingEnabled(parameters) { + if (parameters == null) dart.nullFailed(I[119], 188, 52, "parameters"); + if (dart.test(parameters[$containsKey]("enabled"))) { + let enable = dart.nullCheck(parameters[$_get]("enabled"))[$toLowerCase](); + if (enable !== "true" && enable !== "false") { + dart.throw(io._invalidArgument("enabled", enable)); + } + enable === "true" ? io._SocketProfile.start() : io._SocketProfile.pause(); + } + return convert.json.encode(new (T$.IdentityMapOfString$Object()).from(["type", "SocketProfilingState", "enabled", io._SocketProfile.enableSocketProfiling])); +}; +io.exit = function exit(code) { + if (code == null) dart.nullFailed(I[122], 50, 16, "code"); + core.ArgumentError.checkNotNull(core.int, code, "code"); + if (!dart.test(io._EmbedderConfig._mayExit)) { + dart.throw(new core.UnsupportedError.new("This embedder disallows calling dart:io's exit()")); + } + io._ProcessUtils._exit(code); + dart.throw(new _internal.ReachabilityError.new("`null` encountered as the result from expression with type `Never`.")); +}; +io.sleep = function sleep(duration) { + if (duration == null) dart.nullFailed(I[122], 88, 21, "duration"); + let milliseconds = duration.inMilliseconds; + if (dart.notNull(milliseconds) < 0) { + dart.throw(new core.ArgumentError.new("sleep: duration cannot be negative")); + } + if (!dart.test(io._EmbedderConfig._maySleep)) { + dart.throw(new core.UnsupportedError.new("This embedder disallows calling dart:io's sleep()")); + } + io._ProcessUtils._sleep(milliseconds); +}; +io._setStdioFDs = function _setStdioFDs(stdin, stdout, stderr) { + if (stdin == null) dart.nullFailed(I[128], 376, 23, "stdin"); + if (stdout == null) dart.nullFailed(I[128], 376, 34, "stdout"); + if (stderr == null) dart.nullFailed(I[128], 376, 46, "stderr"); + io._stdinFD = stdin; + io._stdoutFD = stdout; + io._stderrFD = stderr; +}; +io.stdioType = function stdioType(object) { + if (io._StdStream.is(object)) { + object = object[_stream$0]; + } else if (dart.equals(object, io.stdout) || dart.equals(object, io.stderr)) { + let stdiofd = dart.equals(object, io.stdout) ? io._stdoutFD : io._stderrFD; + let type = io._StdIOUtils._getStdioHandleType(stdiofd); + if (io.OSError.is(type)) { + dart.throw(new io.FileSystemException.new("Failed to get type of stdio handle (fd " + dart.str(stdiofd) + ")", "", type)); + } + switch (type) { + case 0: + { + return io.StdioType.terminal; + } + case 1: + { + return io.StdioType.pipe; + } + case 2: + { + return io.StdioType.file; + } + } + } + if (io._FileStream.is(object)) { + return io.StdioType.file; + } + if (io.Socket.is(object)) { + let socketType = io._StdIOUtils._socketType(object); + if (socketType == null) return io.StdioType.other; + switch (socketType) { + case 0: + { + return io.StdioType.terminal; + } + case 1: + { + return io.StdioType.pipe; + } + case 2: + { + return io.StdioType.file; + } + } + } + if (io._IOSinkImpl.is(object)) { + try { + if (io._FileStreamConsumer.is(object[_target$0])) { + return io.StdioType.file; + } + } catch (e$) { + let e = dart.getThrown(e$); + if (core.Object.is(e)) { + } else + throw e$; + } + } + return io.StdioType.other; +}; +dart.copyProperties(io, { + get _domainPolicies() { + let t217; + if (!dart.test(io['_#_domainPolicies#isSet'])) { + io['_#_domainPolicies'] = io._constructDomainPolicies(null); + io['_#_domainPolicies#isSet'] = true; + } + t217 = io['_#_domainPolicies']; + return t217; + }, + set _domainPolicies(t217) { + if (t217 == null) dart.nullFailed(I[118], 168, 33, "null"); + io['_#_domainPolicies#isSet'] = true; + io['_#_domainPolicies'] = t217; + }, + set exitCode(code) { + if (code == null) dart.nullFailed(I[122], 69, 23, "code"); + core.ArgumentError.checkNotNull(core.int, code, "code"); + io._ProcessUtils._setExitCode(code); + }, + get exitCode() { + return io._ProcessUtils._getExitCode(); + }, + get pid() { + return io._ProcessUtils._pid(null); + }, + get stdin() { + let t218; + t218 = io._stdin; + return t218 == null ? io._stdin = io._StdIOUtils._getStdioInputStream(io._stdinFD) : t218; + }, + get stdout() { + let t218; + return io.Stdout.as((t218 = io._stdout, t218 == null ? io._stdout = T$0.StdoutN().as(io._StdIOUtils._getStdioOutputStream(io._stdoutFD)) : t218)); + }, + get stderr() { + let t218; + return io.Stdout.as((t218 = io._stderr, t218 == null ? io._stderr = T$0.StdoutN().as(io._StdIOUtils._getStdioOutputStream(io._stderrFD)) : t218)); + } +}); +dart.defineLazy(io, { + /*io._successResponse*/get _successResponse() { + return 0; + }, + /*io._illegalArgumentResponse*/get _illegalArgumentResponse() { + return 1; + }, + /*io._osErrorResponse*/get _osErrorResponse() { + return 2; + }, + /*io._fileClosedResponse*/get _fileClosedResponse() { + return 3; + }, + /*io._errorResponseErrorType*/get _errorResponseErrorType() { + return 0; + }, + /*io._osErrorResponseErrorCode*/get _osErrorResponseErrorCode() { + return 1; + }, + /*io._osErrorResponseMessage*/get _osErrorResponseMessage() { + return 2; + }, + /*io.zlib*/get zlib() { + return C[206] || CT.C206; + }, + /*io.ZLIB*/get ZLIB() { + return C[206] || CT.C206; + }, + /*io.gzip*/get gzip() { + return C[207] || CT.C207; + }, + /*io.GZIP*/get GZIP() { + return C[207] || CT.C207; + }, + /*io.READ*/get READ() { + return C[109] || CT.C109; + }, + /*io.WRITE*/get WRITE() { + return C[110] || CT.C110; + }, + /*io.APPEND*/get APPEND() { + return C[111] || CT.C111; + }, + /*io.WRITE_ONLY*/get WRITE_ONLY() { + return C[112] || CT.C112; + }, + /*io.WRITE_ONLY_APPEND*/get WRITE_ONLY_APPEND() { + return C[113] || CT.C113; + }, + /*io._blockSize*/get _blockSize() { + return 65536; + }, + /*io['_#_domainPolicies']*/get ['_#_domainPolicies']() { + return null; + }, + set ['_#_domainPolicies'](_) {}, + /*io['_#_domainPolicies#isSet']*/get ['_#_domainPolicies#isSet']() { + return false; + }, + set ['_#_domainPolicies#isSet'](_) {}, + /*io._versionMajor*/get _versionMajor() { + return 1; + }, + /*io._versionMinor*/get _versionMinor() { + return 6; + }, + /*io._tcpSocket*/get _tcpSocket() { + return "tcp"; + }, + /*io._udpSocket*/get _udpSocket() { + return "udp"; + }, + /*io._ioOverridesToken*/get _ioOverridesToken() { + return new core.Object.new(); + }, + /*io._asyncRunZoned*/get _asyncRunZoned() { + return C[208] || CT.C208; + }, + /*io._nextServiceId*/get _nextServiceId() { + return 1; + }, + set _nextServiceId(_) {}, + /*io._stdioHandleTypeTerminal*/get _stdioHandleTypeTerminal() { + return 0; + }, + /*io._stdioHandleTypePipe*/get _stdioHandleTypePipe() { + return 1; + }, + /*io._stdioHandleTypeFile*/get _stdioHandleTypeFile() { + return 2; + }, + /*io._stdioHandleTypeSocket*/get _stdioHandleTypeSocket() { + return 3; + }, + /*io._stdioHandleTypeOther*/get _stdioHandleTypeOther() { + return 4; + }, + /*io._stdioHandleTypeError*/get _stdioHandleTypeError() { + return 5; + }, + /*io._stdin*/get _stdin() { + return null; + }, + set _stdin(_) {}, + /*io._stdout*/get _stdout() { + return null; + }, + set _stdout(_) {}, + /*io._stderr*/get _stderr() { + return null; + }, + set _stderr(_) {}, + /*io._stdinFD*/get _stdinFD() { + return 0; + }, + set _stdinFD(_) {}, + /*io._stdoutFD*/get _stdoutFD() { + return 1; + }, + set _stdoutFD(_) {}, + /*io._stderrFD*/get _stderrFD() { + return 2; + }, + set _stderrFD(_) {}, + /*io.systemEncoding*/get systemEncoding() { + return C[143] || CT.C143; + }, + /*io.SYSTEM_ENCODING*/get SYSTEM_ENCODING() { + return C[143] || CT.C143; + } +}, false); +isolate$._ReceivePort = class _ReceivePort extends async.Stream { + close() { + } + get sendPort() { + return isolate$._unsupported(); + } + listen(onData, opts) { + let onError = opts && 'onError' in opts ? opts.onError : null; + let onDone = opts && 'onDone' in opts ? opts.onDone : null; + let cancelOnError = opts && 'cancelOnError' in opts ? opts.cancelOnError : true; + return isolate$._unsupported(); + } +}; +(isolate$._ReceivePort.new = function(debugName = "") { + if (debugName == null) dart.nullFailed(I[130], 97, 24, "debugName"); + isolate$._ReceivePort.__proto__.new.call(this); + ; +}).prototype = isolate$._ReceivePort.prototype; +dart.addTypeTests(isolate$._ReceivePort); +dart.addTypeCaches(isolate$._ReceivePort); +isolate$._ReceivePort[dart.implements] = () => [isolate$.ReceivePort]; +dart.setMethodSignature(isolate$._ReceivePort, () => ({ + __proto__: dart.getMethods(isolate$._ReceivePort.__proto__), + close: dart.fnType(dart.void, []), + listen: dart.fnType(async.StreamSubscription, [dart.nullable(dart.fnType(dart.void, [dart.dynamic]))], {cancelOnError: dart.nullable(core.bool), onDone: dart.nullable(dart.fnType(dart.void, [])), onError: dart.nullable(core.Function)}, {}) +})); +dart.setGetterSignature(isolate$._ReceivePort, () => ({ + __proto__: dart.getGetters(isolate$._ReceivePort.__proto__), + sendPort: isolate$.SendPort +})); +dart.setLibraryUri(isolate$._ReceivePort, I[131]); +var message$10 = dart.privateName(isolate$, "IsolateSpawnException.message"); +isolate$.IsolateSpawnException = class IsolateSpawnException extends core.Object { + get message() { + return this[message$10]; + } + set message(value) { + super.message = value; + } + toString() { + return "IsolateSpawnException: " + dart.str(this.message); + } +}; +(isolate$.IsolateSpawnException.new = function(message) { + if (message == null) dart.nullFailed(I[132], 28, 30, "message"); + this[message$10] = message; + ; +}).prototype = isolate$.IsolateSpawnException.prototype; +dart.addTypeTests(isolate$.IsolateSpawnException); +dart.addTypeCaches(isolate$.IsolateSpawnException); +isolate$.IsolateSpawnException[dart.implements] = () => [core.Exception]; +dart.setLibraryUri(isolate$.IsolateSpawnException, I[131]); +dart.setFieldSignature(isolate$.IsolateSpawnException, () => ({ + __proto__: dart.getFields(isolate$.IsolateSpawnException.__proto__), + message: dart.finalFieldType(core.String) +})); +dart.defineExtensionMethods(isolate$.IsolateSpawnException, ['toString']); +var controlPort$ = dart.privateName(isolate$, "Isolate.controlPort"); +var pauseCapability$ = dart.privateName(isolate$, "Isolate.pauseCapability"); +var terminateCapability$ = dart.privateName(isolate$, "Isolate.terminateCapability"); +var _pause = dart.privateName(isolate$, "_pause"); +isolate$.Isolate = class Isolate extends core.Object { + get controlPort() { + return this[controlPort$]; + } + set controlPort(value) { + super.controlPort = value; + } + get pauseCapability() { + return this[pauseCapability$]; + } + set pauseCapability(value) { + super.pauseCapability = value; + } + get terminateCapability() { + return this[terminateCapability$]; + } + set terminateCapability(value) { + super.terminateCapability = value; + } + get debugName() { + return isolate$._unsupported(); + } + static get current() { + return isolate$._unsupported(); + } + static get packageRoot() { + return isolate$._unsupported(); + } + static get packageConfig() { + return isolate$._unsupported(); + } + static resolvePackageUri(packageUri) { + if (packageUri == null) dart.nullFailed(I[130], 28, 45, "packageUri"); + return isolate$._unsupported(); + } + static spawn(T, entryPoint, message, opts) { + if (entryPoint == null) dart.nullFailed(I[130], 31, 40, "entryPoint"); + let paused = opts && 'paused' in opts ? opts.paused : false; + if (paused == null) dart.nullFailed(I[130], 32, 17, "paused"); + let errorsAreFatal = opts && 'errorsAreFatal' in opts ? opts.errorsAreFatal : true; + if (errorsAreFatal == null) dart.nullFailed(I[130], 33, 16, "errorsAreFatal"); + let onExit = opts && 'onExit' in opts ? opts.onExit : null; + let onError = opts && 'onError' in opts ? opts.onError : null; + return isolate$._unsupported(); + } + static spawnUri(uri, args, message, opts) { + if (uri == null) dart.nullFailed(I[130], 39, 39, "uri"); + if (args == null) dart.nullFailed(I[130], 39, 57, "args"); + let paused = opts && 'paused' in opts ? opts.paused : false; + if (paused == null) dart.nullFailed(I[130], 40, 17, "paused"); + let onExit = opts && 'onExit' in opts ? opts.onExit : null; + let onError = opts && 'onError' in opts ? opts.onError : null; + let errorsAreFatal = opts && 'errorsAreFatal' in opts ? opts.errorsAreFatal : true; + if (errorsAreFatal == null) dart.nullFailed(I[130], 43, 16, "errorsAreFatal"); + let checked = opts && 'checked' in opts ? opts.checked : null; + let environment = opts && 'environment' in opts ? opts.environment : null; + let packageRoot = opts && 'packageRoot' in opts ? opts.packageRoot : null; + let packageConfig = opts && 'packageConfig' in opts ? opts.packageConfig : null; + let automaticPackageResolution = opts && 'automaticPackageResolution' in opts ? opts.automaticPackageResolution : false; + if (automaticPackageResolution == null) dart.nullFailed(I[130], 48, 16, "automaticPackageResolution"); + let debugName = opts && 'debugName' in opts ? opts.debugName : null; + return isolate$._unsupported(); + } + pause(resumeCapability = null) { + resumeCapability == null ? resumeCapability = isolate$.Capability.new() : null; + this[_pause](resumeCapability); + return resumeCapability; + } + [_pause](resumeCapability) { + if (resumeCapability == null) dart.nullFailed(I[130], 53, 26, "resumeCapability"); + return isolate$._unsupported(); + } + resume(resumeCapability) { + if (resumeCapability == null) dart.nullFailed(I[130], 56, 26, "resumeCapability"); + return isolate$._unsupported(); + } + addOnExitListener(responsePort, opts) { + if (responsePort == null) dart.nullFailed(I[130], 59, 35, "responsePort"); + let response = opts && 'response' in opts ? opts.response : null; + return isolate$._unsupported(); + } + removeOnExitListener(responsePort) { + if (responsePort == null) dart.nullFailed(I[130], 63, 38, "responsePort"); + return isolate$._unsupported(); + } + setErrorsFatal(errorsAreFatal) { + if (errorsAreFatal == null) dart.nullFailed(I[130], 66, 28, "errorsAreFatal"); + return isolate$._unsupported(); + } + kill(opts) { + let priority = opts && 'priority' in opts ? opts.priority : 1; + if (priority == null) dart.nullFailed(I[130], 69, 18, "priority"); + return isolate$._unsupported(); + } + ping(responsePort, opts) { + if (responsePort == null) dart.nullFailed(I[130], 71, 22, "responsePort"); + let response = opts && 'response' in opts ? opts.response : null; + let priority = opts && 'priority' in opts ? opts.priority : 0; + if (priority == null) dart.nullFailed(I[130], 72, 34, "priority"); + return isolate$._unsupported(); + } + addErrorListener(port) { + if (port == null) dart.nullFailed(I[130], 76, 34, "port"); + return isolate$._unsupported(); + } + removeErrorListener(port) { + if (port == null) dart.nullFailed(I[130], 79, 37, "port"); + return isolate$._unsupported(); + } + get errors() { + let controller = async.StreamController.broadcast({sync: true}); + let port = null; + function handleError(message) { + let listMessage = T$.ListOfObjectN().as(message); + let errorDescription = core.String.as(listMessage[$_get](0)); + let stackDescription = core.String.as(listMessage[$_get](1)); + let error = new isolate$.RemoteError.new(errorDescription, stackDescription); + controller.addError(error, error.stackTrace); + } + dart.fn(handleError, T$.ObjectNTovoid()); + controller.onListen = dart.fn(() => { + let receivePort = isolate$.RawReceivePort.new(handleError); + port = receivePort; + this.addErrorListener(receivePort.sendPort); + }, T$.VoidTovoid()); + controller.onCancel = dart.fn(() => { + let listenPort = dart.nullCheck(port); + port = null; + this.removeErrorListener(listenPort.sendPort); + listenPort.close(); + }, T$.VoidToNull()); + return controller.stream; + } +}; +(isolate$.Isolate.new = function(controlPort, opts) { + if (controlPort == null) dart.nullFailed(I[132], 141, 16, "controlPort"); + let pauseCapability = opts && 'pauseCapability' in opts ? opts.pauseCapability : null; + let terminateCapability = opts && 'terminateCapability' in opts ? opts.terminateCapability : null; + this[controlPort$] = controlPort; + this[pauseCapability$] = pauseCapability; + this[terminateCapability$] = terminateCapability; + ; +}).prototype = isolate$.Isolate.prototype; +dart.addTypeTests(isolate$.Isolate); +dart.addTypeCaches(isolate$.Isolate); +dart.setMethodSignature(isolate$.Isolate, () => ({ + __proto__: dart.getMethods(isolate$.Isolate.__proto__), + pause: dart.fnType(isolate$.Capability, [], [dart.nullable(isolate$.Capability)]), + [_pause]: dart.fnType(dart.void, [isolate$.Capability]), + resume: dart.fnType(dart.void, [isolate$.Capability]), + addOnExitListener: dart.fnType(dart.void, [isolate$.SendPort], {response: dart.nullable(core.Object)}, {}), + removeOnExitListener: dart.fnType(dart.void, [isolate$.SendPort]), + setErrorsFatal: dart.fnType(dart.void, [core.bool]), + kill: dart.fnType(dart.void, [], {priority: core.int}, {}), + ping: dart.fnType(dart.void, [isolate$.SendPort], {priority: core.int, response: dart.nullable(core.Object)}, {}), + addErrorListener: dart.fnType(dart.void, [isolate$.SendPort]), + removeErrorListener: dart.fnType(dart.void, [isolate$.SendPort]) +})); +dart.setGetterSignature(isolate$.Isolate, () => ({ + __proto__: dart.getGetters(isolate$.Isolate.__proto__), + debugName: dart.nullable(core.String), + errors: async.Stream +})); +dart.setLibraryUri(isolate$.Isolate, I[131]); +dart.setFieldSignature(isolate$.Isolate, () => ({ + __proto__: dart.getFields(isolate$.Isolate.__proto__), + controlPort: dart.finalFieldType(isolate$.SendPort), + pauseCapability: dart.finalFieldType(dart.nullable(isolate$.Capability)), + terminateCapability: dart.finalFieldType(dart.nullable(isolate$.Capability)) +})); +dart.defineLazy(isolate$.Isolate, { + /*isolate$.Isolate.immediate*/get immediate() { + return 0; + }, + /*isolate$.Isolate.beforeNextEvent*/get beforeNextEvent() { + return 1; + } +}, false); +isolate$.SendPort = class SendPort extends core.Object {}; +(isolate$.SendPort.new = function() { + ; +}).prototype = isolate$.SendPort.prototype; +dart.addTypeTests(isolate$.SendPort); +dart.addTypeCaches(isolate$.SendPort); +isolate$.SendPort[dart.implements] = () => [isolate$.Capability]; +dart.setLibraryUri(isolate$.SendPort, I[131]); +isolate$.ReceivePort = class ReceivePort extends core.Object { + static fromRawReceivePort(rawPort) { + if (rawPort == null) dart.nullFailed(I[130], 89, 57, "rawPort"); + return isolate$._unsupported(); + } +}; +(isolate$.ReceivePort[dart.mixinNew] = function() { +}).prototype = isolate$.ReceivePort.prototype; +isolate$.ReceivePort.prototype[dart.isStream] = true; +dart.addTypeTests(isolate$.ReceivePort); +dart.addTypeCaches(isolate$.ReceivePort); +isolate$.ReceivePort[dart.implements] = () => [async.Stream]; +dart.setLibraryUri(isolate$.ReceivePort, I[131]); +isolate$.RawReceivePort = class RawReceivePort extends core.Object { + static new(handler = null, debugName = "") { + if (debugName == null) dart.nullFailed(I[130], 113, 53, "debugName"); + return isolate$._unsupported(); + } +}; +(isolate$.RawReceivePort[dart.mixinNew] = function() { +}).prototype = isolate$.RawReceivePort.prototype; +dart.addTypeTests(isolate$.RawReceivePort); +dart.addTypeCaches(isolate$.RawReceivePort); +dart.setLibraryUri(isolate$.RawReceivePort, I[131]); +var stackTrace$0 = dart.privateName(isolate$, "RemoteError.stackTrace"); +var _description = dart.privateName(isolate$, "_description"); +isolate$.RemoteError = class RemoteError extends core.Object { + get stackTrace() { + return this[stackTrace$0]; + } + set stackTrace(value) { + super.stackTrace = value; + } + toString() { + return this[_description]; + } +}; +(isolate$.RemoteError.new = function(description, stackDescription) { + if (description == null) dart.nullFailed(I[132], 714, 22, "description"); + if (stackDescription == null) dart.nullFailed(I[132], 714, 42, "stackDescription"); + this[_description] = description; + this[stackTrace$0] = new core._StringStackTrace.new(stackDescription); + ; +}).prototype = isolate$.RemoteError.prototype; +dart.addTypeTests(isolate$.RemoteError); +dart.addTypeCaches(isolate$.RemoteError); +isolate$.RemoteError[dart.implements] = () => [core.Error]; +dart.setLibraryUri(isolate$.RemoteError, I[131]); +dart.setFieldSignature(isolate$.RemoteError, () => ({ + __proto__: dart.getFields(isolate$.RemoteError.__proto__), + [_description]: dart.finalFieldType(core.String), + stackTrace: dart.finalFieldType(core.StackTrace) +})); +dart.defineExtensionMethods(isolate$.RemoteError, ['toString']); +dart.defineExtensionAccessors(isolate$.RemoteError, ['stackTrace']); +isolate$.TransferableTypedData = class TransferableTypedData extends core.Object { + static fromList(list) { + if (list == null) dart.nullFailed(I[130], 126, 58, "list"); + return isolate$._unsupported(); + } +}; +(isolate$.TransferableTypedData[dart.mixinNew] = function() { +}).prototype = isolate$.TransferableTypedData.prototype; +dart.addTypeTests(isolate$.TransferableTypedData); +dart.addTypeCaches(isolate$.TransferableTypedData); +dart.setLibraryUri(isolate$.TransferableTypedData, I[131]); +isolate$.Capability = class Capability extends core.Object { + static new() { + return isolate$._unsupported(); + } +}; +(isolate$.Capability[dart.mixinNew] = function() { +}).prototype = isolate$.Capability.prototype; +dart.addTypeTests(isolate$.Capability); +dart.addTypeCaches(isolate$.Capability); +dart.setLibraryUri(isolate$.Capability, I[131]); +isolate$._unsupported = function _unsupported() { + dart.throw(new core.UnsupportedError.new("dart:isolate is not supported on dart4web")); +}; +var _dartObj$ = dart.privateName(js, "_dartObj"); +js._DartObject = class _DartObject extends core.Object {}; +(js._DartObject.new = function(_dartObj) { + if (_dartObj == null) dart.nullFailed(I[133], 327, 20, "_dartObj"); + this[_dartObj$] = _dartObj; + ; +}).prototype = js._DartObject.prototype; +dart.addTypeTests(js._DartObject); +dart.addTypeCaches(js._DartObject); +dart.setLibraryUri(js._DartObject, I[134]); +dart.setFieldSignature(js._DartObject, () => ({ + __proto__: dart.getFields(js._DartObject.__proto__), + [_dartObj$]: dart.finalFieldType(core.Object) +})); +var _jsObject$ = dart.privateName(js, "_jsObject"); +js.JsObject = class JsObject extends core.Object { + static _convertDataTree(data) { + if (data == null) dart.nullFailed(I[133], 55, 34, "data"); + let _convertedObjects = new _js_helper.IdentityMap.new(); + function _convert(o) { + if (dart.test(_convertedObjects[$containsKey](o))) { + return _convertedObjects[$_get](o); + } + if (core.Map.is(o)) { + let convertedMap = {}; + _convertedObjects[$_set](o, convertedMap); + for (let key of o[$keys]) { + convertedMap[key] = _convert(o[$_get](key)); + } + return convertedMap; + } else if (core.Iterable.is(o)) { + let convertedList = []; + _convertedObjects[$_set](o, convertedList); + convertedList[$addAll](o[$map](dart.dynamic, _convert)); + return convertedList; + } else { + return js._convertToJS(o); + } + } + dart.fn(_convert, T$0.ObjectNTodynamic()); + return _convert(data); + } + static new(constructor, $arguments = null) { + if (constructor == null) dart.nullFailed(I[133], 30, 31, "constructor"); + let ctor = constructor[_jsObject$]; + if ($arguments == null) { + return js._wrapToDart(new ctor()); + } + let unwrapped = core.List.from($arguments[$map](dart.dynamic, C[209] || CT.C209)); + return js._wrapToDart(new ctor(...unwrapped)); + } + static fromBrowserObject(object) { + if (object == null) dart.nullFailed(I[133], 40, 45, "object"); + if (typeof object == 'number' || typeof object == 'string' || typeof object == 'boolean' || object == null) { + dart.throw(new core.ArgumentError.new("object cannot be a num, string, bool, or null")); + } + return js._wrapToDart(dart.nullCheck(js._convertToJS(object))); + } + static jsify(object) { + if (object == null) dart.nullFailed(I[133], 48, 33, "object"); + if (!core.Map.is(object) && !core.Iterable.is(object)) { + dart.throw(new core.ArgumentError.new("object must be a Map or Iterable")); + } + return js._wrapToDart(core.Object.as(js.JsObject._convertDataTree(object))); + } + _get(property) { + if (property == null) dart.nullFailed(I[133], 83, 30, "property"); + if (!(typeof property == 'string') && !(typeof property == 'number')) { + dart.throw(new core.ArgumentError.new("property is not a String or num")); + } + return js._convertToDart(this[_jsObject$][property]); + } + _set(property, value$) { + let value = value$; + if (property == null) dart.nullFailed(I[133], 91, 28, "property"); + if (!(typeof property == 'string') && !(typeof property == 'number')) { + dart.throw(new core.ArgumentError.new("property is not a String or num")); + } + this[_jsObject$][property] = js._convertToJS(value); + return value$; + } + get hashCode() { + return 0; + } + _equals(other) { + if (other == null) return false; + return js.JsObject.is(other) && this[_jsObject$] === other[_jsObject$]; + } + hasProperty(property) { + if (property == null) dart.nullFailed(I[133], 103, 27, "property"); + if (!(typeof property == 'string') && !(typeof property == 'number')) { + dart.throw(new core.ArgumentError.new("property is not a String or num")); + } + return property in this[_jsObject$]; + } + deleteProperty(property) { + if (property == null) dart.nullFailed(I[133], 111, 30, "property"); + if (!(typeof property == 'string') && !(typeof property == 'number')) { + dart.throw(new core.ArgumentError.new("property is not a String or num")); + } + delete this[_jsObject$][property]; + } + instanceof(type) { + if (type == null) dart.nullFailed(I[133], 119, 30, "type"); + return this[_jsObject$] instanceof js._convertToJS(type); + } + toString() { + try { + return String(this[_jsObject$]); + } catch (e$) { + let e = dart.getThrown(e$); + if (core.Object.is(e)) { + return super[$toString](); + } else + throw e$; + } + } + callMethod(method, args = null) { + if (method == null) dart.nullFailed(I[133], 133, 29, "method"); + if (!(typeof method == 'string') && !(typeof method == 'number')) { + dart.throw(new core.ArgumentError.new("method is not a String or num")); + } + if (args != null) args = core.List.from(args[$map](dart.dynamic, C[209] || CT.C209)); + let fn = this[_jsObject$][method]; + if (typeof fn !== "function") { + dart.throw(new core.NoSuchMethodError.new(this[_jsObject$], new _internal.Symbol.new(dart.str(method)), args, new (T$0.LinkedMapOfSymbol$dynamic()).new())); + } + return js._convertToDart(fn.apply(this[_jsObject$], args)); + } +}; +(js.JsObject._fromJs = function(_jsObject) { + if (_jsObject == null) dart.nullFailed(I[133], 25, 25, "_jsObject"); + this[_jsObject$] = _jsObject; + if (!(this[_jsObject$] != null)) dart.assertFailed(null, I[133], 26, 12, "_jsObject != null"); +}).prototype = js.JsObject.prototype; +dart.addTypeTests(js.JsObject); +dart.addTypeCaches(js.JsObject); +dart.setMethodSignature(js.JsObject, () => ({ + __proto__: dart.getMethods(js.JsObject.__proto__), + _get: dart.fnType(dart.dynamic, [core.Object]), + _set: dart.fnType(dart.void, [core.Object, dart.nullable(core.Object)]), + hasProperty: dart.fnType(core.bool, [core.Object]), + deleteProperty: dart.fnType(dart.void, [core.Object]), + instanceof: dart.fnType(core.bool, [js.JsFunction]), + callMethod: dart.fnType(dart.dynamic, [core.Object], [dart.nullable(core.List)]) +})); +dart.setLibraryUri(js.JsObject, I[134]); +dart.setFieldSignature(js.JsObject, () => ({ + __proto__: dart.getFields(js.JsObject.__proto__), + [_jsObject$]: dart.finalFieldType(core.Object) +})); +dart.defineExtensionMethods(js.JsObject, ['_equals', 'toString']); +dart.defineExtensionAccessors(js.JsObject, ['hashCode']); +js.JsFunction = class JsFunction extends js.JsObject { + static withThis(f) { + if (f == null) dart.nullFailed(I[133], 149, 40, "f"); + return new js.JsFunction._fromJs(function() { + let args = [js._convertToDart(this)]; + for (let arg of arguments) { + args.push(js._convertToDart(arg)); + } + return js._convertToJS(f(...args)); + }); + } + apply(args, opts) { + if (args == null) dart.nullFailed(I[133], 168, 22, "args"); + let thisArg = opts && 'thisArg' in opts ? opts.thisArg : null; + return js._convertToDart(this[_jsObject$].apply(js._convertToJS(thisArg), args == null ? null : core.List.from(args[$map](dart.dynamic, js._convertToJS)))); + } +}; +(js.JsFunction._fromJs = function(jsObject) { + if (jsObject == null) dart.nullFailed(I[133], 165, 29, "jsObject"); + js.JsFunction.__proto__._fromJs.call(this, jsObject); + ; +}).prototype = js.JsFunction.prototype; +dart.addTypeTests(js.JsFunction); +dart.addTypeCaches(js.JsFunction); +dart.setMethodSignature(js.JsFunction, () => ({ + __proto__: dart.getMethods(js.JsFunction.__proto__), + apply: dart.fnType(dart.dynamic, [core.List], {thisArg: dart.dynamic}, {}) +})); +dart.setLibraryUri(js.JsFunction, I[134]); +var _checkIndex = dart.privateName(js, "_checkIndex"); +var _checkInsertIndex = dart.privateName(js, "_checkInsertIndex"); +const _is_JsArray_default = Symbol('_is_JsArray_default'); +js.JsArray$ = dart.generic(E => { + var IterableOfE = () => (IterableOfE = dart.constFn(core.Iterable$(E)))(); + const JsObject_ListMixin$36 = class JsObject_ListMixin extends js.JsObject { + _set(property, value$) { + let value = value$; + if (property == null) dart.nullFailed(I[135], 175, 7, "property"); + super._set(property, value); + return value$; + } + }; + (JsObject_ListMixin$36._fromJs = function(_jsObject) { + JsObject_ListMixin$36.__proto__._fromJs.call(this, _jsObject); + }).prototype = JsObject_ListMixin$36.prototype; + dart.applyMixin(JsObject_ListMixin$36, collection.ListMixin$(E)); + class JsArray extends JsObject_ListMixin$36 { + [_checkIndex](index) { + if (index == null) dart.nullFailed(I[133], 188, 19, "index"); + if (dart.notNull(index) < 0 || dart.notNull(index) >= dart.notNull(this.length)) { + dart.throw(new core.RangeError.range(index, 0, this.length)); + } + } + [_checkInsertIndex](index) { + if (index == null) dart.nullFailed(I[133], 194, 25, "index"); + if (dart.notNull(index) < 0 || dart.notNull(index) >= dart.notNull(this.length) + 1) { + dart.throw(new core.RangeError.range(index, 0, this.length)); + } + } + static _checkRange(start, end, length) { + if (start == null) dart.nullFailed(I[133], 200, 26, "start"); + if (end == null) dart.nullFailed(I[133], 200, 37, "end"); + if (length == null) dart.nullFailed(I[133], 200, 46, "length"); + if (dart.notNull(start) < 0 || dart.notNull(start) > dart.notNull(length)) { + dart.throw(new core.RangeError.range(start, 0, length)); + } + if (dart.notNull(end) < dart.notNull(start) || dart.notNull(end) > dart.notNull(length)) { + dart.throw(new core.RangeError.range(end, start, length)); + } + } + static new() { + return new (js.JsArray$(E))._fromJs([]); + } + static from(other) { + let t219; + if (other == null) dart.nullFailed(I[133], 183, 36, "other"); + return new (js.JsArray$(E))._fromJs((t219 = [], (() => { + t219[$addAll](other[$map](dart.dynamic, C[209] || CT.C209)); + return t219; + })())); + } + _get(index) { + if (index == null) dart.nullFailed(I[133], 210, 24, "index"); + if (core.int.is(index)) { + this[_checkIndex](index); + } + return E.as(super._get(index)); + } + _set(index, value$) { + let value = value$; + if (index == null) dart.nullFailed(I[133], 218, 28, "index"); + if (core.int.is(index)) { + this[_checkIndex](index); + } + super._set(index, value); + return value$; + } + get length() { + let len = this[_jsObject$].length; + if (typeof len === "number" && len >>> 0 === len) { + return len; + } + dart.throw(new core.StateError.new("Bad JsArray length")); + } + set length(length) { + if (length == null) dart.nullFailed(I[133], 238, 23, "length"); + super._set("length", length); + } + add(value) { + E.as(value); + this.callMethod("push", [value]); + } + addAll(iterable) { + IterableOfE().as(iterable); + if (iterable == null) dart.nullFailed(I[133], 248, 27, "iterable"); + let list = iterable instanceof Array ? iterable : core.List.from(iterable); + this.callMethod("push", list); + } + insert(index, element) { + if (index == null) dart.nullFailed(I[133], 256, 19, "index"); + E.as(element); + this[_checkInsertIndex](index); + this.callMethod("splice", [index, 0, element]); + } + removeAt(index) { + if (index == null) dart.nullFailed(I[133], 262, 18, "index"); + this[_checkIndex](index); + return E.as(dart.dsend(this.callMethod("splice", [index, 1]), '_get', [0])); + } + removeLast() { + if (this.length === 0) dart.throw(new core.RangeError.new(-1)); + return E.as(this.callMethod("pop")); + } + removeRange(start, end) { + if (start == null) dart.nullFailed(I[133], 274, 24, "start"); + if (end == null) dart.nullFailed(I[133], 274, 35, "end"); + js.JsArray._checkRange(start, end, this.length); + this.callMethod("splice", [start, dart.notNull(end) - dart.notNull(start)]); + } + setRange(start, end, iterable, skipCount = 0) { + let t219; + if (start == null) dart.nullFailed(I[133], 280, 21, "start"); + if (end == null) dart.nullFailed(I[133], 280, 32, "end"); + IterableOfE().as(iterable); + if (iterable == null) dart.nullFailed(I[133], 280, 49, "iterable"); + if (skipCount == null) dart.nullFailed(I[133], 280, 64, "skipCount"); + js.JsArray._checkRange(start, end, this.length); + let length = dart.notNull(end) - dart.notNull(start); + if (length === 0) return; + if (dart.notNull(skipCount) < 0) dart.throw(new core.ArgumentError.new(skipCount)); + let args = (t219 = T$.JSArrayOfObjectN().of([start, length]), (() => { + t219[$addAll](iterable[$skip](skipCount)[$take](length)); + return t219; + })()); + this.callMethod("splice", args); + } + sort(compare = null) { + this.callMethod("sort", compare == null ? [] : [compare]); + } + } + (JsArray._fromJs = function(jsObject) { + if (jsObject == null) dart.nullFailed(I[133], 186, 26, "jsObject"); + JsArray.__proto__._fromJs.call(this, jsObject); + ; + }).prototype = JsArray.prototype; + dart.addTypeTests(JsArray); + JsArray.prototype[_is_JsArray_default] = true; + dart.addTypeCaches(JsArray); + dart.setMethodSignature(JsArray, () => ({ + __proto__: dart.getMethods(JsArray.__proto__), + [_checkIndex]: dart.fnType(dart.dynamic, [core.int]), + [_checkInsertIndex]: dart.fnType(dart.dynamic, [core.int]), + _get: dart.fnType(E, [core.Object]), + [$_get]: dart.fnType(E, [core.Object]), + _set: dart.fnType(dart.void, [core.Object, dart.dynamic]), + [$_set]: dart.fnType(dart.void, [core.Object, dart.dynamic]) + })); + dart.setGetterSignature(JsArray, () => ({ + __proto__: dart.getGetters(JsArray.__proto__), + length: core.int, + [$length]: core.int + })); + dart.setSetterSignature(JsArray, () => ({ + __proto__: dart.getSetters(JsArray.__proto__), + length: core.int, + [$length]: core.int + })); + dart.setLibraryUri(JsArray, I[134]); + dart.defineExtensionMethods(JsArray, [ + '_get', + '_set', + 'add', + 'addAll', + 'insert', + 'removeAt', + 'removeLast', + 'removeRange', + 'setRange', + 'sort' + ]); + dart.defineExtensionAccessors(JsArray, ['length']); + return JsArray; +}); +js.JsArray = js.JsArray$(); +dart.addTypeTests(js.JsArray, _is_JsArray_default); +js._isBrowserType = function _isBrowserType(o) { + if (o == null) dart.nullFailed(I[133], 301, 28, "o"); + return o instanceof Object && (o instanceof Blob || o instanceof Event || window.KeyRange && o instanceof KeyRange || window.IDBKeyRange && o instanceof IDBKeyRange || o instanceof ImageData || o instanceof Node || window.DataView && o instanceof DataView || window.Int8Array && o instanceof Int8Array.__proto__ || o instanceof Window); +}; +js._convertToJS = function _convertToJS(o) { + if (o == null || typeof o == 'string' || typeof o == 'number' || typeof o == 'boolean' || dart.test(js._isBrowserType(o))) { + return o; + } else if (core.DateTime.is(o)) { + return _js_helper.Primitives.lazyAsJsDate(o); + } else if (js.JsObject.is(o)) { + return o[_jsObject$]; + } else if (core.Function.is(o)) { + return js._putIfAbsent(js._jsProxies, o, C[210] || CT.C210); + } else { + return js._putIfAbsent(js._jsProxies, o, dart.fn(o => { + if (o == null) dart.nullFailed(I[133], 342, 41, "o"); + return new js._DartObject.new(o); + }, T$0.ObjectTo_DartObject())); + } +}; +js._wrapDartFunction = function _wrapDartFunction(f) { + if (f == null) dart.nullFailed(I[133], 346, 33, "f"); + let wrapper = function() { + let args = Array.prototype.map.call(arguments, js._convertToDart); + return js._convertToJS(f(...args)); + }; + js._dartProxies.set(wrapper, f); + return wrapper; +}; +js._convertToDart = function _convertToDart(o) { + if (o == null || typeof o == 'string' || typeof o == 'number' || typeof o == 'boolean' || dart.test(js._isBrowserType(o))) { + return o; + } else if (o instanceof Date) { + let ms = o.getTime(); + return new core.DateTime.fromMillisecondsSinceEpoch(ms); + } else if (js._DartObject.is(o) && !core.identical(dart.getReifiedType(o), dart.jsobject)) { + return o[_dartObj$]; + } else { + return js._wrapToDart(o); + } +}; +js._wrapToDart = function _wrapToDart(o) { + if (o == null) dart.nullFailed(I[133], 377, 29, "o"); + return js._putIfAbsent(js._dartProxies, o, C[211] || CT.C211); +}; +js._wrapToDartHelper = function _wrapToDartHelper(o) { + if (o == null) dart.nullFailed(I[133], 380, 35, "o"); + if (typeof o == "function") { + return new js.JsFunction._fromJs(o); + } + if (o instanceof Array) { + return new js.JsArray._fromJs(o); + } + return new js.JsObject._fromJs(o); +}; +js._putIfAbsent = function _putIfAbsent(weakMap, o, getValue) { + if (weakMap == null) dart.nullFailed(I[133], 394, 26, "weakMap"); + if (o == null) dart.nullFailed(I[133], 394, 42, "o"); + if (getValue == null) dart.nullFailed(I[133], 394, 47, "getValue"); + let value = weakMap.get(o); + if (value == null) { + value = getValue(o); + weakMap.set(o, value); + } + return value; +}; +js.allowInterop = function allowInterop(F, f) { + if (f == null) dart.nullFailed(I[133], 407, 38, "f"); + if (!dart.test(dart.isDartFunction(f))) return f; + let ret = dart.nullable(F).as(js._interopExpando._get(f)); + if (ret == null) { + ret = function(...args) { + return dart.dcall(f, args); + }; + js._interopExpando._set(f, ret); + } + return ret; +}; +js.allowInteropCaptureThis = function allowInteropCaptureThis(f) { + if (f == null) dart.nullFailed(I[133], 426, 43, "f"); + if (!dart.test(dart.isDartFunction(f))) return f; + let ret = js._interopCaptureThisExpando._get(f); + if (ret == null) { + ret = function(...arguments$) { + let args = [this]; + args.push.apply(args, arguments$); + return dart.dcall(f, args); + }; + js._interopCaptureThisExpando._set(f, ret); + } + return ret; +}; +dart.copyProperties(js, { + get context() { + return js._context; + } +}); +dart.defineLazy(js, { + /*js._context*/get _context() { + return js._wrapToDart(dart.global); + }, + /*js._dartProxies*/get _dartProxies() { + return new WeakMap(); + }, + /*js._jsProxies*/get _jsProxies() { + return new WeakMap(); + }, + /*js._interopExpando*/get _interopExpando() { + return new (T$.ExpandoOfFunction()).new(); + }, + set _interopExpando(_) {}, + /*js._interopCaptureThisExpando*/get _interopCaptureThisExpando() { + return new (T$.ExpandoOfFunction()).new(); + }, + set _interopCaptureThisExpando(_) {} +}, false); +var isUndefined$ = dart.privateName(js_util, "NullRejectionException.isUndefined"); +js_util.NullRejectionException = class NullRejectionException extends core.Object { + get isUndefined() { + return this[isUndefined$]; + } + set isUndefined(value) { + super.isUndefined = value; + } + toString() { + let value = dart.test(this.isUndefined) ? "undefined" : "null"; + return "Promise was rejected with a value of `" + value + "`."; + } +}; +(js_util.NullRejectionException.__ = function(isUndefined) { + if (isUndefined == null) dart.nullFailed(I[136], 161, 33, "isUndefined"); + this[isUndefined$] = isUndefined; + ; +}).prototype = js_util.NullRejectionException.prototype; +dart.addTypeTests(js_util.NullRejectionException); +dart.addTypeCaches(js_util.NullRejectionException); +js_util.NullRejectionException[dart.implements] = () => [core.Exception]; +dart.setLibraryUri(js_util.NullRejectionException, I[137]); +dart.setFieldSignature(js_util.NullRejectionException, () => ({ + __proto__: dart.getFields(js_util.NullRejectionException.__proto__), + isUndefined: dart.finalFieldType(core.bool) +})); +dart.defineExtensionMethods(js_util.NullRejectionException, ['toString']); +js_util.jsify = function jsify(object) { + if (object == null) dart.nullFailed(I[136], 33, 22, "object"); + if (!core.Map.is(object) && !core.Iterable.is(object)) { + dart.throw(new core.ArgumentError.new("object must be a Map or Iterable")); + } + return js_util._convertDataTree(object); +}; +js_util._convertDataTree = function _convertDataTree(data) { + if (data == null) dart.nullFailed(I[136], 40, 32, "data"); + let _convertedObjects = new _js_helper.IdentityMap.new(); + function _convert(o) { + if (dart.test(_convertedObjects[$containsKey](o))) { + return _convertedObjects[$_get](o); + } + if (core.Map.is(o)) { + let convertedMap = {}; + _convertedObjects[$_set](o, convertedMap); + for (let key of o[$keys]) { + convertedMap[key] = _convert(o[$_get](key)); + } + return convertedMap; + } else if (core.Iterable.is(o)) { + let convertedList = []; + _convertedObjects[$_set](o, convertedList); + convertedList[$addAll](o[$map](dart.dynamic, _convert)); + return convertedList; + } else { + return o; + } + } + dart.fn(_convert, T$.ObjectNToObjectN()); + return dart.nullCheck(_convert(data)); +}; +js_util.newObject = function newObject() { + return {}; +}; +js_util.hasProperty = function hasProperty(o, name) { + if (o == null) dart.nullFailed(I[136], 69, 25, "o"); + if (name == null) dart.nullFailed(I[136], 69, 35, "name"); + return name in o; +}; +js_util.getProperty = function getProperty(o, name) { + if (o == null) dart.nullFailed(I[136], 71, 28, "o"); + if (name == null) dart.nullFailed(I[136], 71, 38, "name"); + return o[name]; +}; +js_util.setProperty = function setProperty(o, name, value) { + if (o == null) dart.nullFailed(I[136], 74, 28, "o"); + if (name == null) dart.nullFailed(I[136], 74, 38, "name"); + _js_helper.assertInterop(value); + return o[name] = value; +}; +js_util.callMethod = function callMethod$(o, method, args) { + if (o == null) dart.nullFailed(I[136], 79, 27, "o"); + if (method == null) dart.nullFailed(I[136], 79, 37, "method"); + if (args == null) dart.nullFailed(I[136], 79, 59, "args"); + _js_helper.assertInteropArgs(args); + return o[method].apply(o, args); +}; +js_util.instanceof = function $instanceof(o, type) { + if (type == null) dart.nullFailed(I[136], 88, 35, "type"); + return o instanceof type; +}; +js_util.callConstructor = function callConstructor(constr, $arguments) { + let t219; + if (constr == null) dart.nullFailed(I[136], 91, 32, "constr"); + if ($arguments == null) { + return new constr(); + } else { + _js_helper.assertInteropArgs($arguments); + } + if ($arguments instanceof Array) { + let argumentCount = $arguments.length; + switch (argumentCount) { + case 0: + { + return new constr(); + } + case 1: + { + let arg0 = $arguments[0]; + return new constr(arg0); + } + case 2: + { + let arg0 = $arguments[0]; + let arg1 = $arguments[1]; + return new constr(arg0, arg1); + } + case 3: + { + let arg0 = $arguments[0]; + let arg1 = $arguments[1]; + let arg2 = $arguments[2]; + return new constr(arg0, arg1, arg2); + } + case 4: + { + let arg0 = $arguments[0]; + let arg1 = $arguments[1]; + let arg2 = $arguments[2]; + let arg3 = $arguments[3]; + return new constr(arg0, arg1, arg2, arg3); + } + } + } + let args = (t219 = [null], (() => { + t219[$addAll]($arguments); + return t219; + })()); + let factoryFunction = constr.bind.apply(constr, args); + String(factoryFunction); + return new factoryFunction(); +}; +js_util.promiseToFuture = function promiseToFuture(T, jsPromise) { + if (jsPromise == null) dart.nullFailed(I[136], 180, 37, "jsPromise"); + let completer = async.Completer$(T).new(); + let success = _js_helper.convertDartClosureToJS(T$.dynamicTovoid(), dart.fn(r => completer.complete(dart.nullable(async.FutureOr$(T)).as(r)), T$.dynamicTovoid()), 1); + let error = _js_helper.convertDartClosureToJS(T$.dynamicTovoid(), dart.fn(e => { + if (e == null) { + return completer.completeError(new js_util.NullRejectionException.__(e === undefined)); + } + return completer.completeError(core.Object.as(e)); + }, T$.dynamicTovoid()), 1); + jsPromise.then(success, error); + return completer.future; +}; +math._JSRandom = class _JSRandom extends core.Object { + nextInt(max) { + if (max == null) dart.nullFailed(I[138], 85, 19, "max"); + if (dart.notNull(max) <= 0 || dart.notNull(max) > 4294967296.0) { + dart.throw(new core.RangeError.new("max must be in range 0 < max ≤ 2^32, was " + dart.str(max))); + } + return Math.random() * max >>> 0; + } + nextDouble() { + return Math.random(); + } + nextBool() { + return Math.random() < 0.5; + } +}; +(math._JSRandom.new = function() { + ; +}).prototype = math._JSRandom.prototype; +dart.addTypeTests(math._JSRandom); +dart.addTypeCaches(math._JSRandom); +math._JSRandom[dart.implements] = () => [math.Random]; +dart.setMethodSignature(math._JSRandom, () => ({ + __proto__: dart.getMethods(math._JSRandom.__proto__), + nextInt: dart.fnType(core.int, [core.int]), + nextDouble: dart.fnType(core.double, []), + nextBool: dart.fnType(core.bool, []) +})); +dart.setLibraryUri(math._JSRandom, I[139]); +var _lo = dart.privateName(math, "_lo"); +var _hi = dart.privateName(math, "_hi"); +var _nextState = dart.privateName(math, "_nextState"); +math._Random = class _Random extends core.Object { + [_nextState]() { + let tmpHi = 4294901760 * this[_lo]; + let tmpHiLo = (tmpHi & 4294967295.0) >>> 0; + let tmpHiHi = tmpHi - tmpHiLo; + let tmpLo = 55905 * this[_lo]; + let tmpLoLo = (tmpLo & 4294967295.0) >>> 0; + let tmpLoHi = tmpLo - tmpLoLo; + let newLo = tmpLoLo + tmpHiLo + this[_hi]; + this[_lo] = (newLo & 4294967295.0) >>> 0; + let newLoHi = newLo - this[_lo]; + this[_hi] = (((tmpLoHi + tmpHiHi + newLoHi) / 4294967296.0)[$truncate]() & 4294967295.0) >>> 0; + if (!(this[_lo] < 4294967296.0)) dart.assertFailed(null, I[138], 221, 12, "_lo < _POW2_32"); + if (!(this[_hi] < 4294967296.0)) dart.assertFailed(null, I[138], 222, 12, "_hi < _POW2_32"); + } + nextInt(max) { + if (max == null) dart.argumentError(max); + if (max <= 0 || max > 4294967296.0) { + dart.throw(new core.RangeError.new("max must be in range 0 < max ≤ 2^32, was " + dart.str(max))); + } + if ((max & max - 1) === 0) { + this[_nextState](); + return (this[_lo] & max - 1) >>> 0; + } + let rnd32 = null; + let result = null; + do { + this[_nextState](); + rnd32 = this[_lo]; + result = rnd32[$remainder](max)[$toInt](); + } while (dart.notNull(rnd32) - dart.notNull(result) + max >= 4294967296.0); + return result; + } + nextDouble() { + this[_nextState](); + let bits26 = (this[_lo] & (1 << 26) - 1) >>> 0; + this[_nextState](); + let bits27 = (this[_lo] & (1 << 27) - 1) >>> 0; + return (bits26 * 134217728 + bits27) / 9007199254740992.0; + } + nextBool() { + this[_nextState](); + return (this[_lo] & 1) === 0; + } +}; +(math._Random.new = function(seed) { + if (seed == null) dart.nullFailed(I[138], 130, 15, "seed"); + this[_lo] = 0; + this[_hi] = 0; + let empty_seed = 0; + if (dart.notNull(seed) < 0) { + empty_seed = -1; + } + do { + let low = (dart.notNull(seed) & 4294967295.0) >>> 0; + seed = ((dart.notNull(seed) - low) / 4294967296.0)[$truncate](); + let high = (dart.notNull(seed) & 4294967295.0) >>> 0; + seed = ((dart.notNull(seed) - high) / 4294967296.0)[$truncate](); + let tmplow = low << 21 >>> 0; + let tmphigh = (high << 21 | low[$rightShift](11)) >>> 0; + tmplow = ((~low & 4294967295.0) >>> 0) + tmplow; + low = (tmplow & 4294967295.0) >>> 0; + high = ((~high >>> 0) + tmphigh + ((tmplow - low) / 4294967296)[$truncate]() & 4294967295.0) >>> 0; + tmphigh = high[$rightShift](24); + tmplow = (low[$rightShift](24) | high << 8 >>> 0) >>> 0; + low = (low ^ tmplow) >>> 0; + high = (high ^ tmphigh) >>> 0; + tmplow = low * 265; + low = (tmplow & 4294967295.0) >>> 0; + high = (high * 265 + ((tmplow - low) / 4294967296)[$truncate]() & 4294967295.0) >>> 0; + tmphigh = high[$rightShift](14); + tmplow = (low[$rightShift](14) | high << 18 >>> 0) >>> 0; + low = (low ^ tmplow) >>> 0; + high = (high ^ tmphigh) >>> 0; + tmplow = low * 21; + low = (tmplow & 4294967295.0) >>> 0; + high = (high * 21 + ((tmplow - low) / 4294967296)[$truncate]() & 4294967295.0) >>> 0; + tmphigh = high[$rightShift](28); + tmplow = (low[$rightShift](28) | high << 4 >>> 0) >>> 0; + low = (low ^ tmplow) >>> 0; + high = (high ^ tmphigh) >>> 0; + tmplow = low << 31 >>> 0; + tmphigh = (high << 31 | low[$rightShift](1)) >>> 0; + tmplow = tmplow + low; + low = (tmplow & 4294967295.0) >>> 0; + high = (high + tmphigh + ((tmplow - low) / 4294967296)[$truncate]() & 4294967295.0) >>> 0; + tmplow = this[_lo] * 1037; + this[_lo] = (tmplow & 4294967295.0) >>> 0; + this[_hi] = (this[_hi] * 1037 + ((tmplow - this[_lo]) / 4294967296)[$truncate]() & 4294967295.0) >>> 0; + this[_lo] = (this[_lo] ^ low) >>> 0; + this[_hi] = (this[_hi] ^ high) >>> 0; + } while (seed !== empty_seed); + if (this[_hi] === 0 && this[_lo] === 0) { + this[_lo] = 23063; + } + this[_nextState](); + this[_nextState](); + this[_nextState](); + this[_nextState](); +}).prototype = math._Random.prototype; +dart.addTypeTests(math._Random); +dart.addTypeCaches(math._Random); +math._Random[dart.implements] = () => [math.Random]; +dart.setMethodSignature(math._Random, () => ({ + __proto__: dart.getMethods(math._Random.__proto__), + [_nextState]: dart.fnType(dart.void, []), + nextInt: dart.fnType(core.int, [core.int]), + nextDouble: dart.fnType(core.double, []), + nextBool: dart.fnType(core.bool, []) +})); +dart.setLibraryUri(math._Random, I[139]); +dart.setFieldSignature(math._Random, () => ({ + __proto__: dart.getFields(math._Random.__proto__), + [_lo]: dart.fieldType(core.int), + [_hi]: dart.fieldType(core.int) +})); +dart.defineLazy(math._Random, { + /*math._Random._POW2_53_D*/get _POW2_53_D() { + return 9007199254740992.0; + }, + /*math._Random._POW2_27_D*/get _POW2_27_D() { + return 134217728; + }, + /*math._Random._MASK32*/get _MASK32() { + return 4294967295.0; + } +}, false); +var _buffer$0 = dart.privateName(math, "_buffer"); +var _getRandomBytes = dart.privateName(math, "_getRandomBytes"); +math._JSSecureRandom = class _JSSecureRandom extends core.Object { + [_getRandomBytes](start, length) { + if (start == null) dart.nullFailed(I[138], 279, 28, "start"); + if (length == null) dart.nullFailed(I[138], 279, 39, "length"); + crypto.getRandomValues(this[_buffer$0][$buffer][$asUint8List](start, length)); + } + nextBool() { + this[_getRandomBytes](0, 1); + return this[_buffer$0][$getUint8](0)[$isOdd]; + } + nextDouble() { + this[_getRandomBytes](1, 7); + this[_buffer$0][$setUint8](0, 63); + let highByte = this[_buffer$0][$getUint8](1); + this[_buffer$0][$setUint8](1, (dart.notNull(highByte) | 240) >>> 0); + let result = dart.notNull(this[_buffer$0][$getFloat64](0)) - 1.0; + if ((dart.notNull(highByte) & 16) !== 0) { + result = result + 1.1102230246251565e-16; + } + return result; + } + nextInt(max) { + if (max == null) dart.argumentError(max); + if (max <= 0 || max > 4294967296.0) { + dart.throw(new core.RangeError.new("max must be in range 0 < max ≤ 2^32, was " + dart.str(max))); + } + let byteCount = 1; + if (max > 255) { + byteCount = byteCount + 1; + if (max > 65535) { + byteCount = byteCount + 1; + if (max > 16777215) { + byteCount = byteCount + 1; + } + } + } + this[_buffer$0][$setUint32](0, 0); + let start = 4 - byteCount; + let randomLimit = math.pow(256, byteCount)[$toInt](); + while (true) { + this[_getRandomBytes](start, byteCount); + let random = this[_buffer$0][$getUint32](0); + if ((max & max - 1) === 0) { + return (dart.notNull(random) & max - 1) >>> 0; + } + let result = random[$remainder](max)[$toInt](); + if (dart.notNull(random) - result + max < randomLimit) { + return result; + } + } + } +}; +(math._JSSecureRandom.new = function() { + this[_buffer$0] = _native_typed_data.NativeByteData.new(8); + let crypto = self.crypto; + if (crypto != null) { + let getRandomValues = crypto.getRandomValues; + if (getRandomValues != null) { + return; + } + } + dart.throw(new core.UnsupportedError.new("No source of cryptographically secure random numbers available.")); +}).prototype = math._JSSecureRandom.prototype; +dart.addTypeTests(math._JSSecureRandom); +dart.addTypeCaches(math._JSSecureRandom); +math._JSSecureRandom[dart.implements] = () => [math.Random]; +dart.setMethodSignature(math._JSSecureRandom, () => ({ + __proto__: dart.getMethods(math._JSSecureRandom.__proto__), + [_getRandomBytes]: dart.fnType(dart.void, [core.int, core.int]), + nextBool: dart.fnType(core.bool, []), + nextDouble: dart.fnType(core.double, []), + nextInt: dart.fnType(core.int, [core.int]) +})); +dart.setLibraryUri(math._JSSecureRandom, I[139]); +dart.setFieldSignature(math._JSSecureRandom, () => ({ + __proto__: dart.getFields(math._JSSecureRandom.__proto__), + [_buffer$0]: dart.finalFieldType(typed_data.ByteData) +})); +var x$2 = dart.privateName(math, "Point.x"); +var y$2 = dart.privateName(math, "Point.y"); +const _is_Point_default = Symbol('_is_Point_default'); +math.Point$ = dart.generic(T => { + var PointOfT = () => (PointOfT = dart.constFn(math.Point$(T)))(); + class Point extends core.Object { + get x() { + return this[x$2]; + } + set x(value) { + super.x = value; + } + get y() { + return this[y$2]; + } + set y(value) { + super.y = value; + } + toString() { + return "Point(" + dart.str(this.x) + ", " + dart.str(this.y) + ")"; + } + _equals(other) { + if (other == null) return false; + return T$0.PointOfnum().is(other) && this.x == other.x && this.y == other.y; + } + get hashCode() { + return _internal.SystemHash.hash2(dart.hashCode(this.x), dart.hashCode(this.y)); + } + ['+'](other) { + PointOfT().as(other); + if (other == null) dart.nullFailed(I[140], 32, 32, "other"); + return new (PointOfT()).new(T.as(dart.notNull(this.x) + dart.notNull(other.x)), T.as(dart.notNull(this.y) + dart.notNull(other.y))); + } + ['-'](other) { + PointOfT().as(other); + if (other == null) dart.nullFailed(I[140], 39, 32, "other"); + return new (PointOfT()).new(T.as(dart.notNull(this.x) - dart.notNull(other.x)), T.as(dart.notNull(this.y) - dart.notNull(other.y))); + } + ['*'](factor) { + if (factor == null) dart.nullFailed(I[140], 50, 37, "factor"); + return new (PointOfT()).new(T.as(dart.notNull(this.x) * dart.notNull(factor)), T.as(dart.notNull(this.y) * dart.notNull(factor))); + } + get magnitude() { + return math.sqrt(dart.notNull(this.x) * dart.notNull(this.x) + dart.notNull(this.y) * dart.notNull(this.y)); + } + distanceTo(other) { + PointOfT().as(other); + if (other == null) dart.nullFailed(I[140], 59, 30, "other"); + let dx = dart.notNull(this.x) - dart.notNull(other.x); + let dy = dart.notNull(this.y) - dart.notNull(other.y); + return math.sqrt(dx * dx + dy * dy); + } + squaredDistanceTo(other) { + PointOfT().as(other); + if (other == null) dart.nullFailed(I[140], 69, 32, "other"); + let dx = dart.notNull(this.x) - dart.notNull(other.x); + let dy = dart.notNull(this.y) - dart.notNull(other.y); + return T.as(dx * dx + dy * dy); + } + } + (Point.new = function(x, y) { + if (x == null) dart.nullFailed(I[140], 13, 17, "x"); + if (y == null) dart.nullFailed(I[140], 13, 22, "y"); + this[x$2] = x; + this[y$2] = y; + ; + }).prototype = Point.prototype; + dart.addTypeTests(Point); + Point.prototype[_is_Point_default] = true; + dart.addTypeCaches(Point); + dart.setMethodSignature(Point, () => ({ + __proto__: dart.getMethods(Point.__proto__), + '+': dart.fnType(math.Point$(T), [dart.nullable(core.Object)]), + '-': dart.fnType(math.Point$(T), [dart.nullable(core.Object)]), + '*': dart.fnType(math.Point$(T), [core.num]), + distanceTo: dart.fnType(core.double, [dart.nullable(core.Object)]), + squaredDistanceTo: dart.fnType(T, [dart.nullable(core.Object)]) + })); + dart.setGetterSignature(Point, () => ({ + __proto__: dart.getGetters(Point.__proto__), + magnitude: core.double + })); + dart.setLibraryUri(Point, I[139]); + dart.setFieldSignature(Point, () => ({ + __proto__: dart.getFields(Point.__proto__), + x: dart.finalFieldType(T), + y: dart.finalFieldType(T) + })); + dart.defineExtensionMethods(Point, ['toString', '_equals']); + dart.defineExtensionAccessors(Point, ['hashCode']); + return Point; +}); +math.Point = math.Point$(); +dart.addTypeTests(math.Point, _is_Point_default); +math.Random = class Random extends core.Object { + static new(seed = null) { + return seed == null ? C[212] || CT.C212 : new math._Random.new(seed); + } + static secure() { + let t219; + t219 = math.Random._secureRandom; + return t219 == null ? math.Random._secureRandom = new math._JSSecureRandom.new() : t219; + } +}; +(math.Random[dart.mixinNew] = function() { +}).prototype = math.Random.prototype; +dart.addTypeTests(math.Random); +dart.addTypeCaches(math.Random); +dart.setLibraryUri(math.Random, I[139]); +dart.defineLazy(math.Random, { + /*math.Random._secureRandom*/get _secureRandom() { + return null; + }, + set _secureRandom(_) {} +}, false); +const _is__RectangleBase_default = Symbol('_is__RectangleBase_default'); +math._RectangleBase$ = dart.generic(T => { + var RectangleOfT = () => (RectangleOfT = dart.constFn(math.Rectangle$(T)))(); + var PointOfT = () => (PointOfT = dart.constFn(math.Point$(T)))(); + class _RectangleBase extends core.Object { + get right() { + return T.as(dart.notNull(this[$left]) + dart.notNull(this[$width])); + } + get bottom() { + return T.as(dart.notNull(this[$top]) + dart.notNull(this[$height])); + } + toString() { + return "Rectangle (" + dart.str(this[$left]) + ", " + dart.str(this[$top]) + ") " + dart.str(this[$width]) + " x " + dart.str(this[$height]); + } + _equals(other) { + if (other == null) return false; + return T$0.RectangleOfnum().is(other) && this[$left] == other[$left] && this[$top] == other[$top] && this[$right] == other[$right] && this[$bottom] == other[$bottom]; + } + get hashCode() { + return _internal.SystemHash.hash4(dart.hashCode(this[$left]), dart.hashCode(this[$top]), dart.hashCode(this[$right]), dart.hashCode(this[$bottom])); + } + intersection(other) { + RectangleOfT().as(other); + if (other == null) dart.nullFailed(I[141], 61, 43, "other"); + let x0 = math.max(T, this[$left], other[$left]); + let x1 = math.min(core.num, dart.notNull(this[$left]) + dart.notNull(this[$width]), dart.notNull(other[$left]) + dart.notNull(other[$width])); + if (x0 <= x1) { + let y0 = math.max(T, this[$top], other[$top]); + let y1 = math.min(core.num, dart.notNull(this[$top]) + dart.notNull(this[$height]), dart.notNull(other[$top]) + dart.notNull(other[$height])); + if (y0 <= y1) { + return new (RectangleOfT()).new(x0, y0, T.as(x1 - x0), T.as(y1 - y0)); + } + } + return null; + } + intersects(other) { + if (other == null) dart.nullFailed(I[141], 77, 34, "other"); + return dart.notNull(this[$left]) <= dart.notNull(other[$left]) + dart.notNull(other[$width]) && dart.notNull(other[$left]) <= dart.notNull(this[$left]) + dart.notNull(this[$width]) && dart.notNull(this[$top]) <= dart.notNull(other[$top]) + dart.notNull(other[$height]) && dart.notNull(other[$top]) <= dart.notNull(this[$top]) + dart.notNull(this[$height]); + } + boundingBox(other) { + RectangleOfT().as(other); + if (other == null) dart.nullFailed(I[141], 85, 41, "other"); + let right = math.max(core.num, dart.notNull(this[$left]) + dart.notNull(this[$width]), dart.notNull(other[$left]) + dart.notNull(other[$width])); + let bottom = math.max(core.num, dart.notNull(this[$top]) + dart.notNull(this[$height]), dart.notNull(other[$top]) + dart.notNull(other[$height])); + let left = math.min(T, this[$left], other[$left]); + let top = math.min(T, this[$top], other[$top]); + return new (RectangleOfT()).new(left, top, T.as(right - left), T.as(bottom - top)); + } + containsRectangle(another) { + if (another == null) dart.nullFailed(I[141], 96, 41, "another"); + return dart.notNull(this[$left]) <= dart.notNull(another[$left]) && dart.notNull(this[$left]) + dart.notNull(this[$width]) >= dart.notNull(another[$left]) + dart.notNull(another[$width]) && dart.notNull(this[$top]) <= dart.notNull(another[$top]) && dart.notNull(this[$top]) + dart.notNull(this[$height]) >= dart.notNull(another[$top]) + dart.notNull(another[$height]); + } + containsPoint(another) { + if (another == null) dart.nullFailed(I[141], 104, 33, "another"); + return dart.notNull(another.x) >= dart.notNull(this[$left]) && dart.notNull(another.x) <= dart.notNull(this[$left]) + dart.notNull(this[$width]) && dart.notNull(another.y) >= dart.notNull(this[$top]) && dart.notNull(another.y) <= dart.notNull(this[$top]) + dart.notNull(this[$height]); + } + get topLeft() { + return new (PointOfT()).new(this[$left], this[$top]); + } + get topRight() { + return new (PointOfT()).new(T.as(dart.notNull(this[$left]) + dart.notNull(this[$width])), this[$top]); + } + get bottomRight() { + return new (PointOfT()).new(T.as(dart.notNull(this[$left]) + dart.notNull(this[$width])), T.as(dart.notNull(this[$top]) + dart.notNull(this[$height]))); + } + get bottomLeft() { + return new (PointOfT()).new(this[$left], T.as(dart.notNull(this[$top]) + dart.notNull(this[$height]))); + } + } + (_RectangleBase.new = function() { + ; + }).prototype = _RectangleBase.prototype; + dart.addTypeTests(_RectangleBase); + _RectangleBase.prototype[_is__RectangleBase_default] = true; + dart.addTypeCaches(_RectangleBase); + dart.setMethodSignature(_RectangleBase, () => ({ + __proto__: dart.getMethods(_RectangleBase.__proto__), + intersection: dart.fnType(dart.nullable(math.Rectangle$(T)), [dart.nullable(core.Object)]), + [$intersection]: dart.fnType(dart.nullable(math.Rectangle$(T)), [dart.nullable(core.Object)]), + intersects: dart.fnType(core.bool, [math.Rectangle$(core.num)]), + [$intersects]: dart.fnType(core.bool, [math.Rectangle$(core.num)]), + boundingBox: dart.fnType(math.Rectangle$(T), [dart.nullable(core.Object)]), + [$boundingBox]: dart.fnType(math.Rectangle$(T), [dart.nullable(core.Object)]), + containsRectangle: dart.fnType(core.bool, [math.Rectangle$(core.num)]), + [$containsRectangle]: dart.fnType(core.bool, [math.Rectangle$(core.num)]), + containsPoint: dart.fnType(core.bool, [math.Point$(core.num)]), + [$containsPoint]: dart.fnType(core.bool, [math.Point$(core.num)]) + })); + dart.setGetterSignature(_RectangleBase, () => ({ + __proto__: dart.getGetters(_RectangleBase.__proto__), + right: T, + [$right]: T, + bottom: T, + [$bottom]: T, + topLeft: math.Point$(T), + [$topLeft]: math.Point$(T), + topRight: math.Point$(T), + [$topRight]: math.Point$(T), + bottomRight: math.Point$(T), + [$bottomRight]: math.Point$(T), + bottomLeft: math.Point$(T), + [$bottomLeft]: math.Point$(T) + })); + dart.setLibraryUri(_RectangleBase, I[139]); + dart.defineExtensionMethods(_RectangleBase, [ + 'toString', + '_equals', + 'intersection', + 'intersects', + 'boundingBox', + 'containsRectangle', + 'containsPoint' + ]); + dart.defineExtensionAccessors(_RectangleBase, [ + 'right', + 'bottom', + 'hashCode', + 'topLeft', + 'topRight', + 'bottomRight', + 'bottomLeft' + ]); + return _RectangleBase; +}); +math._RectangleBase = math._RectangleBase$(); +dart.addTypeTests(math._RectangleBase, _is__RectangleBase_default); +var left$ = dart.privateName(math, "Rectangle.left"); +var top$ = dart.privateName(math, "Rectangle.top"); +var width$ = dart.privateName(math, "Rectangle.width"); +var height$ = dart.privateName(math, "Rectangle.height"); +const _is_Rectangle_default = Symbol('_is_Rectangle_default'); +math.Rectangle$ = dart.generic(T => { + class Rectangle extends math._RectangleBase$(T) { + get left() { + return this[left$]; + } + set left(value) { + super.left = value; + } + get top() { + return this[top$]; + } + set top(value) { + super.top = value; + } + get width() { + return this[width$]; + } + set width(value) { + super.width = value; + } + get height() { + return this[height$]; + } + set height(value) { + super.height = value; + } + static fromPoints(a, b) { + if (a == null) dart.nullFailed(I[141], 154, 41, "a"); + if (b == null) dart.nullFailed(I[141], 154, 53, "b"); + let left = math.min(T, a.x, b.x); + let width = T.as(math.max(T, a.x, b.x) - left); + let top = math.min(T, a.y, b.y); + let height = T.as(math.max(T, a.y, b.y) - top); + return new (math.Rectangle$(T)).new(left, top, width, height); + } + } + (Rectangle.new = function(left, top, width, height) { + if (left == null) dart.nullFailed(I[141], 138, 24, "left"); + if (top == null) dart.nullFailed(I[141], 138, 35, "top"); + if (width == null) dart.nullFailed(I[141], 138, 42, "width"); + if (height == null) dart.nullFailed(I[141], 138, 51, "height"); + this[left$] = left; + this[top$] = top; + this[width$] = T.as(dart.notNull(width) < 0 ? -dart.notNull(width) * 0 : width); + this[height$] = T.as(dart.notNull(height) < 0 ? -dart.notNull(height) * 0 : height); + Rectangle.__proto__.new.call(this); + ; + }).prototype = Rectangle.prototype; + dart.addTypeTests(Rectangle); + Rectangle.prototype[_is_Rectangle_default] = true; + dart.addTypeCaches(Rectangle); + dart.setLibraryUri(Rectangle, I[139]); + dart.setFieldSignature(Rectangle, () => ({ + __proto__: dart.getFields(Rectangle.__proto__), + left: dart.finalFieldType(T), + top: dart.finalFieldType(T), + width: dart.finalFieldType(T), + height: dart.finalFieldType(T) + })); + dart.defineExtensionAccessors(Rectangle, ['left', 'top', 'width', 'height']); + return Rectangle; +}); +math.Rectangle = math.Rectangle$(); +dart.addTypeTests(math.Rectangle, _is_Rectangle_default); +var left$0 = dart.privateName(math, "MutableRectangle.left"); +var top$0 = dart.privateName(math, "MutableRectangle.top"); +var _width = dart.privateName(math, "_width"); +var _height = dart.privateName(math, "_height"); +const _is_MutableRectangle_default = Symbol('_is_MutableRectangle_default'); +math.MutableRectangle$ = dart.generic(T => { + class MutableRectangle extends math._RectangleBase$(T) { + get left() { + return this[left$0]; + } + set left(value) { + this[left$0] = T.as(value); + } + get top() { + return this[top$0]; + } + set top(value) { + this[top$0] = T.as(value); + } + static fromPoints(a, b) { + if (a == null) dart.nullFailed(I[141], 205, 48, "a"); + if (b == null) dart.nullFailed(I[141], 205, 60, "b"); + let left = math.min(T, a.x, b.x); + let width = T.as(math.max(T, a.x, b.x) - left); + let top = math.min(T, a.y, b.y); + let height = T.as(math.max(T, a.y, b.y) - top); + return new (math.MutableRectangle$(T)).new(left, top, width, height); + } + get width() { + return this[_width]; + } + set width(width) { + T.as(width); + if (width == null) dart.nullFailed(I[141], 222, 15, "width"); + if (dart.notNull(width) < 0) width = math._clampToZero(T, width); + this[_width] = width; + } + get height() { + return this[_height]; + } + set height(height) { + T.as(height); + if (height == null) dart.nullFailed(I[141], 236, 16, "height"); + if (dart.notNull(height) < 0) height = math._clampToZero(T, height); + this[_height] = height; + } + } + (MutableRectangle.new = function(left, top, width, height) { + if (left == null) dart.nullFailed(I[141], 191, 25, "left"); + if (top == null) dart.nullFailed(I[141], 191, 36, "top"); + if (width == null) dart.nullFailed(I[141], 191, 43, "width"); + if (height == null) dart.nullFailed(I[141], 191, 52, "height"); + this[left$0] = left; + this[top$0] = top; + this[_width] = dart.notNull(width) < 0 ? math._clampToZero(T, width) : width; + this[_height] = dart.notNull(height) < 0 ? math._clampToZero(T, height) : height; + MutableRectangle.__proto__.new.call(this); + ; + }).prototype = MutableRectangle.prototype; + dart.addTypeTests(MutableRectangle); + MutableRectangle.prototype[_is_MutableRectangle_default] = true; + dart.addTypeCaches(MutableRectangle); + MutableRectangle[dart.implements] = () => [math.Rectangle$(T)]; + dart.setGetterSignature(MutableRectangle, () => ({ + __proto__: dart.getGetters(MutableRectangle.__proto__), + width: T, + [$width]: T, + height: T, + [$height]: T + })); + dart.setSetterSignature(MutableRectangle, () => ({ + __proto__: dart.getSetters(MutableRectangle.__proto__), + width: dart.nullable(core.Object), + [$width]: dart.nullable(core.Object), + height: dart.nullable(core.Object), + [$height]: dart.nullable(core.Object) + })); + dart.setLibraryUri(MutableRectangle, I[139]); + dart.setFieldSignature(MutableRectangle, () => ({ + __proto__: dart.getFields(MutableRectangle.__proto__), + left: dart.fieldType(T), + top: dart.fieldType(T), + [_width]: dart.fieldType(T), + [_height]: dart.fieldType(T) + })); + dart.defineExtensionAccessors(MutableRectangle, ['left', 'top', 'width', 'height']); + return MutableRectangle; +}); +math.MutableRectangle = math.MutableRectangle$(); +dart.addTypeTests(math.MutableRectangle, _is_MutableRectangle_default); +math.min = function min(T, a, b) { + if (a == null) dart.argumentError(a); + if (b == null) dart.argumentError(b); + return Math.min(a, b); +}; +math.max = function max(T, a, b) { + if (a == null) dart.argumentError(a); + if (b == null) dart.argumentError(b); + return Math.max(a, b); +}; +math.atan2 = function atan2(a, b) { + if (a == null) dart.argumentError(a); + if (b == null) dart.argumentError(b); + return Math.atan2(a, b); +}; +math.pow = function pow(x, exponent) { + if (x == null) dart.argumentError(x); + if (exponent == null) dart.argumentError(exponent); + return Math.pow(x, exponent); +}; +math.sin = function sin(radians) { + if (radians == null) dart.argumentError(radians); + return Math.sin(radians); +}; +math.cos = function cos(radians) { + if (radians == null) dart.argumentError(radians); + return Math.cos(radians); +}; +math.tan = function tan(radians) { + if (radians == null) dart.argumentError(radians); + return Math.tan(radians); +}; +math.acos = function acos(x) { + if (x == null) dart.argumentError(x); + return Math.acos(x); +}; +math.asin = function asin(x) { + if (x == null) dart.argumentError(x); + return Math.asin(x); +}; +math.atan = function atan(x) { + if (x == null) dart.argumentError(x); + return Math.atan(x); +}; +math.sqrt = function sqrt(x) { + if (x == null) dart.argumentError(x); + return Math.sqrt(x); +}; +math.exp = function exp(x) { + if (x == null) dart.argumentError(x); + return Math.exp(x); +}; +math.log = function log$(x) { + if (x == null) dart.argumentError(x); + return Math.log(x); +}; +math._clampToZero = function _clampToZero(T, value) { + if (value == null) dart.nullFailed(I[141], 245, 33, "value"); + if (!(dart.notNull(value) < 0)) dart.assertFailed(null, I[141], 246, 10, "value < 0"); + return T.as(-dart.notNull(value) * 0); +}; +dart.defineLazy(math, { + /*math._POW2_32*/get _POW2_32() { + return 4294967296.0; + }, + /*math.e*/get e() { + return 2.718281828459045; + }, + /*math.ln10*/get ln10() { + return 2.302585092994046; + }, + /*math.ln2*/get ln2() { + return 0.6931471805599453; + }, + /*math.log2e*/get log2e() { + return 1.4426950408889634; + }, + /*math.log10e*/get log10e() { + return 0.4342944819032518; + }, + /*math.pi*/get pi() { + return 3.141592653589793; + }, + /*math.sqrt1_2*/get sqrt1_2() { + return 0.7071067811865476; + }, + /*math.sqrt2*/get sqrt2() { + return 1.4142135623730951; + } +}, false); +typed_data.ByteBuffer = class ByteBuffer extends core.Object {}; +(typed_data.ByteBuffer.new = function() { + ; +}).prototype = typed_data.ByteBuffer.prototype; +dart.addTypeTests(typed_data.ByteBuffer); +dart.addTypeCaches(typed_data.ByteBuffer); +dart.setLibraryUri(typed_data.ByteBuffer, I[60]); +typed_data.TypedData = class TypedData extends core.Object {}; +(typed_data.TypedData.new = function() { + ; +}).prototype = typed_data.TypedData.prototype; +dart.addTypeTests(typed_data.TypedData); +dart.addTypeCaches(typed_data.TypedData); +dart.setLibraryUri(typed_data.TypedData, I[60]); +typed_data._TypedIntList = class _TypedIntList extends typed_data.TypedData {}; +(typed_data._TypedIntList.new = function() { + ; +}).prototype = typed_data._TypedIntList.prototype; +dart.addTypeTests(typed_data._TypedIntList); +dart.addTypeCaches(typed_data._TypedIntList); +dart.setLibraryUri(typed_data._TypedIntList, I[60]); +typed_data._TypedFloatList = class _TypedFloatList extends typed_data.TypedData {}; +(typed_data._TypedFloatList.new = function() { + ; +}).prototype = typed_data._TypedFloatList.prototype; +dart.addTypeTests(typed_data._TypedFloatList); +dart.addTypeCaches(typed_data._TypedFloatList); +dart.setLibraryUri(typed_data._TypedFloatList, I[60]); +var _littleEndian = dart.privateName(typed_data, "_littleEndian"); +const _littleEndian$ = Endian__littleEndian; +typed_data.Endian = class Endian extends core.Object { + get [_littleEndian]() { + return this[_littleEndian$]; + } + set [_littleEndian](value) { + super[_littleEndian] = value; + } +}; +(typed_data.Endian.__ = function(_littleEndian) { + if (_littleEndian == null) dart.nullFailed(I[142], 375, 23, "_littleEndian"); + this[_littleEndian$] = _littleEndian; + ; +}).prototype = typed_data.Endian.prototype; +dart.addTypeTests(typed_data.Endian); +dart.addTypeCaches(typed_data.Endian); +dart.setLibraryUri(typed_data.Endian, I[60]); +dart.setFieldSignature(typed_data.Endian, () => ({ + __proto__: dart.getFields(typed_data.Endian.__proto__), + [_littleEndian]: dart.finalFieldType(core.bool) +})); +dart.defineLazy(typed_data.Endian, { + /*typed_data.Endian.big*/get big() { + return C[36] || CT.C36; + }, + /*typed_data.Endian.little*/get little() { + return C[213] || CT.C213; + }, + /*typed_data.Endian.host*/get host() { + return typed_data.ByteData.view(_native_typed_data.NativeUint16List.fromList(T$.JSArrayOfint().of([1]))[$buffer])[$getInt8](0) === 1 ? typed_data.Endian.little : typed_data.Endian.big; + } +}, false); +typed_data.ByteData = class ByteData extends core.Object { + static view(buffer, offsetInBytes = 0, length = null) { + if (buffer == null) dart.nullFailed(I[142], 452, 36, "buffer"); + if (offsetInBytes == null) dart.nullFailed(I[142], 453, 12, "offsetInBytes"); + return buffer[$asByteData](offsetInBytes, length); + } + static sublistView(data, start = 0, end = null) { + if (data == null) dart.nullFailed(I[142], 474, 42, "data"); + if (start == null) dart.nullFailed(I[142], 474, 53, "start"); + let elementSize = data[$elementSizeInBytes]; + end = core.RangeError.checkValidRange(start, end, (dart.notNull(data[$lengthInBytes]) / dart.notNull(elementSize))[$truncate]()); + if (end == null) dart.throw("unreachable"); + return data[$buffer][$asByteData](dart.notNull(data[$offsetInBytes]) + dart.notNull(start) * dart.notNull(elementSize), (dart.notNull(end) - dart.notNull(start)) * dart.notNull(elementSize)); + } +}; +(typed_data.ByteData[dart.mixinNew] = function() { +}).prototype = typed_data.ByteData.prototype; +dart.addTypeTests(typed_data.ByteData); +dart.addTypeCaches(typed_data.ByteData); +typed_data.ByteData[dart.implements] = () => [typed_data.TypedData]; +dart.setLibraryUri(typed_data.ByteData, I[60]); +typed_data.Int8List = class Int8List extends core.Object { + static view(buffer, offsetInBytes = 0, length = null) { + if (buffer == null) dart.nullFailed(I[142], 748, 36, "buffer"); + if (offsetInBytes == null) dart.nullFailed(I[142], 749, 12, "offsetInBytes"); + return buffer[$asInt8List](offsetInBytes, length); + } + static sublistView(data, start = 0, end = null) { + if (data == null) dart.nullFailed(I[142], 770, 42, "data"); + if (start == null) dart.nullFailed(I[142], 770, 53, "start"); + let elementSize = data[$elementSizeInBytes]; + end = core.RangeError.checkValidRange(start, end, (dart.notNull(data[$lengthInBytes]) / dart.notNull(elementSize))[$truncate]()); + if (end == null) dart.throw("unreachable"); + return data[$buffer][$asInt8List](dart.notNull(data[$offsetInBytes]) + dart.notNull(start) * dart.notNull(elementSize), (dart.notNull(end) - dart.notNull(start)) * dart.notNull(elementSize)); + } + [Symbol.iterator]() { + return new dart.JsIterator(this[$iterator]); + } +}; +(typed_data.Int8List[dart.mixinNew] = function() { +}).prototype = typed_data.Int8List.prototype; +typed_data.Int8List.prototype[dart.isList] = true; +dart.addTypeTests(typed_data.Int8List); +dart.addTypeCaches(typed_data.Int8List); +typed_data.Int8List[dart.implements] = () => [core.List$(core.int), typed_data._TypedIntList]; +dart.setLibraryUri(typed_data.Int8List, I[60]); +dart.defineLazy(typed_data.Int8List, { + /*typed_data.Int8List.bytesPerElement*/get bytesPerElement() { + return 1; + } +}, false); +typed_data.Uint8List = class Uint8List extends core.Object { + static view(buffer, offsetInBytes = 0, length = null) { + if (buffer == null) dart.nullFailed(I[142], 859, 37, "buffer"); + if (offsetInBytes == null) dart.nullFailed(I[142], 860, 12, "offsetInBytes"); + return buffer[$asUint8List](offsetInBytes, length); + } + static sublistView(data, start = 0, end = null) { + if (data == null) dart.nullFailed(I[142], 881, 43, "data"); + if (start == null) dart.nullFailed(I[142], 881, 54, "start"); + let elementSize = data[$elementSizeInBytes]; + end = core.RangeError.checkValidRange(start, end, (dart.notNull(data[$lengthInBytes]) / dart.notNull(elementSize))[$truncate]()); + if (end == null) dart.throw("unreachable"); + return data[$buffer][$asUint8List](dart.notNull(data[$offsetInBytes]) + dart.notNull(start) * dart.notNull(elementSize), (dart.notNull(end) - dart.notNull(start)) * dart.notNull(elementSize)); + } + [Symbol.iterator]() { + return new dart.JsIterator(this[$iterator]); + } +}; +(typed_data.Uint8List[dart.mixinNew] = function() { +}).prototype = typed_data.Uint8List.prototype; +typed_data.Uint8List.prototype[dart.isList] = true; +dart.addTypeTests(typed_data.Uint8List); +dart.addTypeCaches(typed_data.Uint8List); +typed_data.Uint8List[dart.implements] = () => [core.List$(core.int), typed_data._TypedIntList]; +dart.setLibraryUri(typed_data.Uint8List, I[60]); +dart.defineLazy(typed_data.Uint8List, { + /*typed_data.Uint8List.bytesPerElement*/get bytesPerElement() { + return 1; + } +}, false); +typed_data.Uint8ClampedList = class Uint8ClampedList extends core.Object { + static view(buffer, offsetInBytes = 0, length = null) { + if (buffer == null) dart.nullFailed(I[142], 978, 44, "buffer"); + if (offsetInBytes == null) dart.nullFailed(I[142], 979, 12, "offsetInBytes"); + return buffer[$asUint8ClampedList](offsetInBytes, length); + } + static sublistView(data, start = 0, end = null) { + if (data == null) dart.nullFailed(I[142], 1000, 50, "data"); + if (start == null) dart.nullFailed(I[142], 1001, 12, "start"); + let elementSize = data[$elementSizeInBytes]; + end = core.RangeError.checkValidRange(start, end, (dart.notNull(data[$lengthInBytes]) / dart.notNull(elementSize))[$truncate]()); + if (end == null) dart.throw("unreachable"); + return data[$buffer][$asUint8ClampedList](dart.notNull(data[$offsetInBytes]) + dart.notNull(start) * dart.notNull(elementSize), (dart.notNull(end) - dart.notNull(start)) * dart.notNull(elementSize)); + } + [Symbol.iterator]() { + return new dart.JsIterator(this[$iterator]); + } +}; +(typed_data.Uint8ClampedList[dart.mixinNew] = function() { +}).prototype = typed_data.Uint8ClampedList.prototype; +typed_data.Uint8ClampedList.prototype[dart.isList] = true; +dart.addTypeTests(typed_data.Uint8ClampedList); +dart.addTypeCaches(typed_data.Uint8ClampedList); +typed_data.Uint8ClampedList[dart.implements] = () => [core.List$(core.int), typed_data._TypedIntList]; +dart.setLibraryUri(typed_data.Uint8ClampedList, I[60]); +dart.defineLazy(typed_data.Uint8ClampedList, { + /*typed_data.Uint8ClampedList.bytesPerElement*/get bytesPerElement() { + return 1; + } +}, false); +typed_data.Int16List = class Int16List extends core.Object { + static view(buffer, offsetInBytes = 0, length = null) { + if (buffer == null) dart.nullFailed(I[142], 1094, 37, "buffer"); + if (offsetInBytes == null) dart.nullFailed(I[142], 1095, 12, "offsetInBytes"); + return buffer[$asInt16List](offsetInBytes, length); + } + static sublistView(data, start = 0, end = null) { + if (data == null) dart.nullFailed(I[142], 1119, 43, "data"); + if (start == null) dart.nullFailed(I[142], 1119, 54, "start"); + let elementSize = data[$elementSizeInBytes]; + end = core.RangeError.checkValidRange(start, end, (dart.notNull(data[$lengthInBytes]) / dart.notNull(elementSize))[$truncate]()); + if (end == null) dart.throw("unreachable"); + let byteLength = (dart.notNull(end) - dart.notNull(start)) * dart.notNull(elementSize); + if (byteLength[$modulo](2) !== 0) { + dart.throw(new core.ArgumentError.new("The number of bytes to view must be a multiple of " + dart.str(2))); + } + return data[$buffer][$asInt16List](dart.notNull(data[$offsetInBytes]) + dart.notNull(start) * dart.notNull(elementSize), (byteLength / 2)[$truncate]()); + } + [Symbol.iterator]() { + return new dart.JsIterator(this[$iterator]); + } +}; +(typed_data.Int16List[dart.mixinNew] = function() { +}).prototype = typed_data.Int16List.prototype; +typed_data.Int16List.prototype[dart.isList] = true; +dart.addTypeTests(typed_data.Int16List); +dart.addTypeCaches(typed_data.Int16List); +typed_data.Int16List[dart.implements] = () => [core.List$(core.int), typed_data._TypedIntList]; +dart.setLibraryUri(typed_data.Int16List, I[60]); +dart.defineLazy(typed_data.Int16List, { + /*typed_data.Int16List.bytesPerElement*/get bytesPerElement() { + return 2; + } +}, false); +typed_data.Uint16List = class Uint16List extends core.Object { + static view(buffer, offsetInBytes = 0, length = null) { + if (buffer == null) dart.nullFailed(I[142], 1218, 38, "buffer"); + if (offsetInBytes == null) dart.nullFailed(I[142], 1219, 12, "offsetInBytes"); + return buffer[$asUint16List](offsetInBytes, length); + } + static sublistView(data, start = 0, end = null) { + if (data == null) dart.nullFailed(I[142], 1243, 44, "data"); + if (start == null) dart.nullFailed(I[142], 1243, 55, "start"); + let elementSize = data[$elementSizeInBytes]; + end = core.RangeError.checkValidRange(start, end, (dart.notNull(data[$lengthInBytes]) / dart.notNull(elementSize))[$truncate]()); + if (end == null) dart.throw("unreachable"); + let byteLength = (dart.notNull(end) - dart.notNull(start)) * dart.notNull(elementSize); + if (byteLength[$modulo](2) !== 0) { + dart.throw(new core.ArgumentError.new("The number of bytes to view must be a multiple of " + dart.str(2))); + } + return data[$buffer][$asUint16List](dart.notNull(data[$offsetInBytes]) + dart.notNull(start) * dart.notNull(elementSize), (byteLength / 2)[$truncate]()); + } + [Symbol.iterator]() { + return new dart.JsIterator(this[$iterator]); + } +}; +(typed_data.Uint16List[dart.mixinNew] = function() { +}).prototype = typed_data.Uint16List.prototype; +typed_data.Uint16List.prototype[dart.isList] = true; +dart.addTypeTests(typed_data.Uint16List); +dart.addTypeCaches(typed_data.Uint16List); +typed_data.Uint16List[dart.implements] = () => [core.List$(core.int), typed_data._TypedIntList]; +dart.setLibraryUri(typed_data.Uint16List, I[60]); +dart.defineLazy(typed_data.Uint16List, { + /*typed_data.Uint16List.bytesPerElement*/get bytesPerElement() { + return 2; + } +}, false); +typed_data.Int32List = class Int32List extends core.Object { + static view(buffer, offsetInBytes = 0, length = null) { + if (buffer == null) dart.nullFailed(I[142], 1341, 37, "buffer"); + if (offsetInBytes == null) dart.nullFailed(I[142], 1342, 12, "offsetInBytes"); + return buffer[$asInt32List](offsetInBytes, length); + } + static sublistView(data, start = 0, end = null) { + if (data == null) dart.nullFailed(I[142], 1366, 43, "data"); + if (start == null) dart.nullFailed(I[142], 1366, 54, "start"); + let elementSize = data[$elementSizeInBytes]; + end = core.RangeError.checkValidRange(start, end, (dart.notNull(data[$lengthInBytes]) / dart.notNull(elementSize))[$truncate]()); + if (end == null) dart.throw("unreachable"); + let byteLength = (dart.notNull(end) - dart.notNull(start)) * dart.notNull(elementSize); + if (byteLength[$modulo](4) !== 0) { + dart.throw(new core.ArgumentError.new("The number of bytes to view must be a multiple of " + dart.str(4))); + } + return data[$buffer][$asInt32List](dart.notNull(data[$offsetInBytes]) + dart.notNull(start) * dart.notNull(elementSize), (byteLength / 4)[$truncate]()); + } + [Symbol.iterator]() { + return new dart.JsIterator(this[$iterator]); + } +}; +(typed_data.Int32List[dart.mixinNew] = function() { +}).prototype = typed_data.Int32List.prototype; +typed_data.Int32List.prototype[dart.isList] = true; +dart.addTypeTests(typed_data.Int32List); +dart.addTypeCaches(typed_data.Int32List); +typed_data.Int32List[dart.implements] = () => [core.List$(core.int), typed_data._TypedIntList]; +dart.setLibraryUri(typed_data.Int32List, I[60]); +dart.defineLazy(typed_data.Int32List, { + /*typed_data.Int32List.bytesPerElement*/get bytesPerElement() { + return 4; + } +}, false); +typed_data.Uint32List = class Uint32List extends core.Object { + static view(buffer, offsetInBytes = 0, length = null) { + if (buffer == null) dart.nullFailed(I[142], 1465, 38, "buffer"); + if (offsetInBytes == null) dart.nullFailed(I[142], 1466, 12, "offsetInBytes"); + return buffer[$asUint32List](offsetInBytes, length); + } + static sublistView(data, start = 0, end = null) { + if (data == null) dart.nullFailed(I[142], 1490, 44, "data"); + if (start == null) dart.nullFailed(I[142], 1490, 55, "start"); + let elementSize = data[$elementSizeInBytes]; + end = core.RangeError.checkValidRange(start, end, (dart.notNull(data[$lengthInBytes]) / dart.notNull(elementSize))[$truncate]()); + if (end == null) dart.throw("unreachable"); + let byteLength = (dart.notNull(end) - dart.notNull(start)) * dart.notNull(elementSize); + if (byteLength[$modulo](4) !== 0) { + dart.throw(new core.ArgumentError.new("The number of bytes to view must be a multiple of " + dart.str(4))); + } + return data[$buffer][$asUint32List](dart.notNull(data[$offsetInBytes]) + dart.notNull(start) * dart.notNull(elementSize), (byteLength / 4)[$truncate]()); + } + [Symbol.iterator]() { + return new dart.JsIterator(this[$iterator]); + } +}; +(typed_data.Uint32List[dart.mixinNew] = function() { +}).prototype = typed_data.Uint32List.prototype; +typed_data.Uint32List.prototype[dart.isList] = true; +dart.addTypeTests(typed_data.Uint32List); +dart.addTypeCaches(typed_data.Uint32List); +typed_data.Uint32List[dart.implements] = () => [core.List$(core.int), typed_data._TypedIntList]; +dart.setLibraryUri(typed_data.Uint32List, I[60]); +dart.defineLazy(typed_data.Uint32List, { + /*typed_data.Uint32List.bytesPerElement*/get bytesPerElement() { + return 4; + } +}, false); +typed_data.Int64List = class Int64List extends core.Object { + static new(length) { + if (length == null) dart.nullFailed(I[143], 101, 25, "length"); + dart.throw(new core.UnsupportedError.new("Int64List not supported on the web.")); + } + static fromList(elements) { + if (elements == null) dart.nullFailed(I[143], 106, 40, "elements"); + dart.throw(new core.UnsupportedError.new("Int64List not supported on the web.")); + } + static view(buffer, offsetInBytes = 0, length = null) { + if (buffer == null) dart.nullFailed(I[142], 1588, 37, "buffer"); + if (offsetInBytes == null) dart.nullFailed(I[142], 1589, 12, "offsetInBytes"); + return buffer[$asInt64List](offsetInBytes, length); + } + static sublistView(data, start = 0, end = null) { + if (data == null) dart.nullFailed(I[142], 1613, 43, "data"); + if (start == null) dart.nullFailed(I[142], 1613, 54, "start"); + let elementSize = data[$elementSizeInBytes]; + end = core.RangeError.checkValidRange(start, end, (dart.notNull(data[$lengthInBytes]) / dart.notNull(elementSize))[$truncate]()); + if (end == null) dart.throw("unreachable"); + let byteLength = (dart.notNull(end) - dart.notNull(start)) * dart.notNull(elementSize); + if (byteLength[$modulo](8) !== 0) { + dart.throw(new core.ArgumentError.new("The number of bytes to view must be a multiple of " + dart.str(8))); + } + return data[$buffer][$asInt64List](dart.notNull(data[$offsetInBytes]) + dart.notNull(start) * dart.notNull(elementSize), (byteLength / 8)[$truncate]()); + } + [Symbol.iterator]() { + return new dart.JsIterator(this[$iterator]); + } +}; +(typed_data.Int64List[dart.mixinNew] = function() { +}).prototype = typed_data.Int64List.prototype; +typed_data.Int64List.prototype[dart.isList] = true; +dart.addTypeTests(typed_data.Int64List); +dart.addTypeCaches(typed_data.Int64List); +typed_data.Int64List[dart.implements] = () => [core.List$(core.int), typed_data._TypedIntList]; +dart.setLibraryUri(typed_data.Int64List, I[60]); +dart.defineLazy(typed_data.Int64List, { + /*typed_data.Int64List.bytesPerElement*/get bytesPerElement() { + return 8; + } +}, false); +typed_data.Uint64List = class Uint64List extends core.Object { + static new(length) { + if (length == null) dart.nullFailed(I[143], 114, 26, "length"); + dart.throw(new core.UnsupportedError.new("Uint64List not supported on the web.")); + } + static fromList(elements) { + if (elements == null) dart.nullFailed(I[143], 119, 41, "elements"); + dart.throw(new core.UnsupportedError.new("Uint64List not supported on the web.")); + } + static view(buffer, offsetInBytes = 0, length = null) { + if (buffer == null) dart.nullFailed(I[142], 1712, 38, "buffer"); + if (offsetInBytes == null) dart.nullFailed(I[142], 1713, 12, "offsetInBytes"); + return buffer[$asUint64List](offsetInBytes, length); + } + static sublistView(data, start = 0, end = null) { + if (data == null) dart.nullFailed(I[142], 1737, 44, "data"); + if (start == null) dart.nullFailed(I[142], 1737, 55, "start"); + let elementSize = data[$elementSizeInBytes]; + end = core.RangeError.checkValidRange(start, end, (dart.notNull(data[$lengthInBytes]) / dart.notNull(elementSize))[$truncate]()); + if (end == null) dart.throw("unreachable"); + let byteLength = (dart.notNull(end) - dart.notNull(start)) * dart.notNull(elementSize); + if (byteLength[$modulo](8) !== 0) { + dart.throw(new core.ArgumentError.new("The number of bytes to view must be a multiple of " + dart.str(8))); + } + return data[$buffer][$asUint64List](dart.notNull(data[$offsetInBytes]) + dart.notNull(start) * dart.notNull(elementSize), (byteLength / 8)[$truncate]()); + } + [Symbol.iterator]() { + return new dart.JsIterator(this[$iterator]); + } +}; +(typed_data.Uint64List[dart.mixinNew] = function() { +}).prototype = typed_data.Uint64List.prototype; +typed_data.Uint64List.prototype[dart.isList] = true; +dart.addTypeTests(typed_data.Uint64List); +dart.addTypeCaches(typed_data.Uint64List); +typed_data.Uint64List[dart.implements] = () => [core.List$(core.int), typed_data._TypedIntList]; +dart.setLibraryUri(typed_data.Uint64List, I[60]); +dart.defineLazy(typed_data.Uint64List, { + /*typed_data.Uint64List.bytesPerElement*/get bytesPerElement() { + return 8; + } +}, false); +typed_data.Float32List = class Float32List extends core.Object { + static view(buffer, offsetInBytes = 0, length = null) { + if (buffer == null) dart.nullFailed(I[142], 1836, 39, "buffer"); + if (offsetInBytes == null) dart.nullFailed(I[142], 1837, 12, "offsetInBytes"); + return buffer[$asFloat32List](offsetInBytes, length); + } + static sublistView(data, start = 0, end = null) { + if (data == null) dart.nullFailed(I[142], 1861, 45, "data"); + if (start == null) dart.nullFailed(I[142], 1861, 56, "start"); + let elementSize = data[$elementSizeInBytes]; + end = core.RangeError.checkValidRange(start, end, (dart.notNull(data[$lengthInBytes]) / dart.notNull(elementSize))[$truncate]()); + if (end == null) dart.throw("unreachable"); + let byteLength = (dart.notNull(end) - dart.notNull(start)) * dart.notNull(elementSize); + if (byteLength[$modulo](4) !== 0) { + dart.throw(new core.ArgumentError.new("The number of bytes to view must be a multiple of " + dart.str(4))); + } + return data[$buffer][$asFloat32List](dart.notNull(data[$offsetInBytes]) + dart.notNull(start) * dart.notNull(elementSize), (byteLength / 4)[$truncate]()); + } + [Symbol.iterator]() { + return new dart.JsIterator(this[$iterator]); + } +}; +(typed_data.Float32List[dart.mixinNew] = function() { +}).prototype = typed_data.Float32List.prototype; +typed_data.Float32List.prototype[dart.isList] = true; +dart.addTypeTests(typed_data.Float32List); +dart.addTypeCaches(typed_data.Float32List); +typed_data.Float32List[dart.implements] = () => [core.List$(core.double), typed_data._TypedFloatList]; +dart.setLibraryUri(typed_data.Float32List, I[60]); +dart.defineLazy(typed_data.Float32List, { + /*typed_data.Float32List.bytesPerElement*/get bytesPerElement() { + return 4; + } +}, false); +typed_data.Float64List = class Float64List extends core.Object { + static view(buffer, offsetInBytes = 0, length = null) { + if (buffer == null) dart.nullFailed(I[142], 1953, 39, "buffer"); + if (offsetInBytes == null) dart.nullFailed(I[142], 1954, 12, "offsetInBytes"); + return buffer[$asFloat64List](offsetInBytes, length); + } + static sublistView(data, start = 0, end = null) { + if (data == null) dart.nullFailed(I[142], 1978, 45, "data"); + if (start == null) dart.nullFailed(I[142], 1978, 56, "start"); + let elementSize = data[$elementSizeInBytes]; + end = core.RangeError.checkValidRange(start, end, (dart.notNull(data[$lengthInBytes]) / dart.notNull(elementSize))[$truncate]()); + if (end == null) dart.throw("unreachable"); + let byteLength = (dart.notNull(end) - dart.notNull(start)) * dart.notNull(elementSize); + if (byteLength[$modulo](8) !== 0) { + dart.throw(new core.ArgumentError.new("The number of bytes to view must be a multiple of " + dart.str(8))); + } + return data[$buffer][$asFloat64List](dart.notNull(data[$offsetInBytes]) + dart.notNull(start) * dart.notNull(elementSize), (byteLength / 8)[$truncate]()); + } + [Symbol.iterator]() { + return new dart.JsIterator(this[$iterator]); + } +}; +(typed_data.Float64List[dart.mixinNew] = function() { +}).prototype = typed_data.Float64List.prototype; +typed_data.Float64List.prototype[dart.isList] = true; +dart.addTypeTests(typed_data.Float64List); +dart.addTypeCaches(typed_data.Float64List); +typed_data.Float64List[dart.implements] = () => [core.List$(core.double), typed_data._TypedFloatList]; +dart.setLibraryUri(typed_data.Float64List, I[60]); +dart.defineLazy(typed_data.Float64List, { + /*typed_data.Float64List.bytesPerElement*/get bytesPerElement() { + return 8; + } +}, false); +typed_data.Float32x4List = class Float32x4List extends core.Object { + static view(buffer, offsetInBytes = 0, length = null) { + if (buffer == null) dart.nullFailed(I[142], 2069, 41, "buffer"); + if (offsetInBytes == null) dart.nullFailed(I[142], 2070, 12, "offsetInBytes"); + return buffer[$asFloat32x4List](offsetInBytes, length); + } + static sublistView(data, start = 0, end = null) { + if (data == null) dart.nullFailed(I[142], 2094, 47, "data"); + if (start == null) dart.nullFailed(I[142], 2094, 58, "start"); + let elementSize = data[$elementSizeInBytes]; + end = core.RangeError.checkValidRange(start, end, (dart.notNull(data[$lengthInBytes]) / dart.notNull(elementSize))[$truncate]()); + if (end == null) dart.throw("unreachable"); + let byteLength = (dart.notNull(end) - dart.notNull(start)) * dart.notNull(elementSize); + if (byteLength[$modulo](16) !== 0) { + dart.throw(new core.ArgumentError.new("The number of bytes to view must be a multiple of " + dart.str(16))); + } + return data[$buffer][$asFloat32x4List](dart.notNull(data[$offsetInBytes]) + dart.notNull(start) * dart.notNull(elementSize), (byteLength / 16)[$truncate]()); + } + [Symbol.iterator]() { + return new dart.JsIterator(this[$iterator]); + } +}; +(typed_data.Float32x4List[dart.mixinNew] = function() { +}).prototype = typed_data.Float32x4List.prototype; +typed_data.Float32x4List.prototype[dart.isList] = true; +dart.addTypeTests(typed_data.Float32x4List); +dart.addTypeCaches(typed_data.Float32x4List); +typed_data.Float32x4List[dart.implements] = () => [core.List$(typed_data.Float32x4), typed_data.TypedData]; +dart.setLibraryUri(typed_data.Float32x4List, I[60]); +dart.defineLazy(typed_data.Float32x4List, { + /*typed_data.Float32x4List.bytesPerElement*/get bytesPerElement() { + return 16; + } +}, false); +typed_data.Int32x4List = class Int32x4List extends core.Object { + static view(buffer, offsetInBytes = 0, length = null) { + if (buffer == null) dart.nullFailed(I[142], 2191, 39, "buffer"); + if (offsetInBytes == null) dart.nullFailed(I[142], 2192, 12, "offsetInBytes"); + return buffer[$asInt32x4List](offsetInBytes, length); + } + static sublistView(data, start = 0, end = null) { + if (data == null) dart.nullFailed(I[142], 2216, 45, "data"); + if (start == null) dart.nullFailed(I[142], 2216, 56, "start"); + let elementSize = data[$elementSizeInBytes]; + end = core.RangeError.checkValidRange(start, end, (dart.notNull(data[$lengthInBytes]) / dart.notNull(elementSize))[$truncate]()); + if (end == null) dart.throw("unreachable"); + let byteLength = (dart.notNull(end) - dart.notNull(start)) * dart.notNull(elementSize); + if (byteLength[$modulo](16) !== 0) { + dart.throw(new core.ArgumentError.new("The number of bytes to view must be a multiple of " + dart.str(16))); + } + return data[$buffer][$asInt32x4List](dart.notNull(data[$offsetInBytes]) + dart.notNull(start) * dart.notNull(elementSize), (byteLength / 16)[$truncate]()); + } + [Symbol.iterator]() { + return new dart.JsIterator(this[$iterator]); + } +}; +(typed_data.Int32x4List[dart.mixinNew] = function() { +}).prototype = typed_data.Int32x4List.prototype; +typed_data.Int32x4List.prototype[dart.isList] = true; +dart.addTypeTests(typed_data.Int32x4List); +dart.addTypeCaches(typed_data.Int32x4List); +typed_data.Int32x4List[dart.implements] = () => [core.List$(typed_data.Int32x4), typed_data.TypedData]; +dart.setLibraryUri(typed_data.Int32x4List, I[60]); +dart.defineLazy(typed_data.Int32x4List, { + /*typed_data.Int32x4List.bytesPerElement*/get bytesPerElement() { + return 16; + } +}, false); +typed_data.Float64x2List = class Float64x2List extends core.Object { + static view(buffer, offsetInBytes = 0, length = null) { + if (buffer == null) dart.nullFailed(I[142], 2319, 41, "buffer"); + if (offsetInBytes == null) dart.nullFailed(I[142], 2320, 12, "offsetInBytes"); + return buffer[$asFloat64x2List](offsetInBytes, length); + } + static sublistView(data, start = 0, end = null) { + if (data == null) dart.nullFailed(I[142], 2344, 47, "data"); + if (start == null) dart.nullFailed(I[142], 2344, 58, "start"); + let elementSize = data[$elementSizeInBytes]; + end = core.RangeError.checkValidRange(start, end, (dart.notNull(data[$lengthInBytes]) / dart.notNull(elementSize))[$truncate]()); + if (end == null) dart.throw("unreachable"); + let byteLength = (dart.notNull(end) - dart.notNull(start)) * dart.notNull(elementSize); + if (byteLength[$modulo](16) !== 0) { + dart.throw(new core.ArgumentError.new("The number of bytes to view must be a multiple of " + dart.str(16))); + } + return data[$buffer][$asFloat64x2List](dart.notNull(data[$offsetInBytes]) + dart.notNull(start) * dart.notNull(elementSize), (byteLength / 16)[$truncate]()); + } + [Symbol.iterator]() { + return new dart.JsIterator(this[$iterator]); + } +}; +(typed_data.Float64x2List[dart.mixinNew] = function() { +}).prototype = typed_data.Float64x2List.prototype; +typed_data.Float64x2List.prototype[dart.isList] = true; +dart.addTypeTests(typed_data.Float64x2List); +dart.addTypeCaches(typed_data.Float64x2List); +typed_data.Float64x2List[dart.implements] = () => [core.List$(typed_data.Float64x2), typed_data.TypedData]; +dart.setLibraryUri(typed_data.Float64x2List, I[60]); +dart.defineLazy(typed_data.Float64x2List, { + /*typed_data.Float64x2List.bytesPerElement*/get bytesPerElement() { + return 16; + } +}, false); +var _data$ = dart.privateName(typed_data, "_data"); +typed_data.UnmodifiableByteBufferView = class UnmodifiableByteBufferView extends core.Object { + get lengthInBytes() { + return this[_data$][$lengthInBytes]; + } + asUint8List(offsetInBytes = 0, length = null) { + if (offsetInBytes == null) dart.nullFailed(I[144], 15, 30, "offsetInBytes"); + return new typed_data.UnmodifiableUint8ListView.new(this[_data$][$asUint8List](offsetInBytes, length)); + } + asInt8List(offsetInBytes = 0, length = null) { + if (offsetInBytes == null) dart.nullFailed(I[144], 18, 28, "offsetInBytes"); + return new typed_data.UnmodifiableInt8ListView.new(this[_data$][$asInt8List](offsetInBytes, length)); + } + asUint8ClampedList(offsetInBytes = 0, length = null) { + if (offsetInBytes == null) dart.nullFailed(I[144], 21, 44, "offsetInBytes"); + return new typed_data.UnmodifiableUint8ClampedListView.new(this[_data$][$asUint8ClampedList](offsetInBytes, length)); + } + asUint16List(offsetInBytes = 0, length = null) { + if (offsetInBytes == null) dart.nullFailed(I[144], 25, 32, "offsetInBytes"); + return new typed_data.UnmodifiableUint16ListView.new(this[_data$][$asUint16List](offsetInBytes, length)); + } + asInt16List(offsetInBytes = 0, length = null) { + if (offsetInBytes == null) dart.nullFailed(I[144], 28, 30, "offsetInBytes"); + return new typed_data.UnmodifiableInt16ListView.new(this[_data$][$asInt16List](offsetInBytes, length)); + } + asUint32List(offsetInBytes = 0, length = null) { + if (offsetInBytes == null) dart.nullFailed(I[144], 31, 32, "offsetInBytes"); + return new typed_data.UnmodifiableUint32ListView.new(this[_data$][$asUint32List](offsetInBytes, length)); + } + asInt32List(offsetInBytes = 0, length = null) { + if (offsetInBytes == null) dart.nullFailed(I[144], 34, 30, "offsetInBytes"); + return new typed_data.UnmodifiableInt32ListView.new(this[_data$][$asInt32List](offsetInBytes, length)); + } + asUint64List(offsetInBytes = 0, length = null) { + if (offsetInBytes == null) dart.nullFailed(I[144], 37, 32, "offsetInBytes"); + return new typed_data.UnmodifiableUint64ListView.new(this[_data$][$asUint64List](offsetInBytes, length)); + } + asInt64List(offsetInBytes = 0, length = null) { + if (offsetInBytes == null) dart.nullFailed(I[144], 40, 30, "offsetInBytes"); + return new typed_data.UnmodifiableInt64ListView.new(this[_data$][$asInt64List](offsetInBytes, length)); + } + asInt32x4List(offsetInBytes = 0, length = null) { + if (offsetInBytes == null) dart.nullFailed(I[144], 43, 34, "offsetInBytes"); + return new typed_data.UnmodifiableInt32x4ListView.new(this[_data$][$asInt32x4List](offsetInBytes, length)); + } + asFloat32List(offsetInBytes = 0, length = null) { + if (offsetInBytes == null) dart.nullFailed(I[144], 47, 34, "offsetInBytes"); + return new typed_data.UnmodifiableFloat32ListView.new(this[_data$][$asFloat32List](offsetInBytes, length)); + } + asFloat64List(offsetInBytes = 0, length = null) { + if (offsetInBytes == null) dart.nullFailed(I[144], 51, 34, "offsetInBytes"); + return new typed_data.UnmodifiableFloat64ListView.new(this[_data$][$asFloat64List](offsetInBytes, length)); + } + asFloat32x4List(offsetInBytes = 0, length = null) { + if (offsetInBytes == null) dart.nullFailed(I[144], 55, 38, "offsetInBytes"); + return new typed_data.UnmodifiableFloat32x4ListView.new(this[_data$][$asFloat32x4List](offsetInBytes, length)); + } + asFloat64x2List(offsetInBytes = 0, length = null) { + if (offsetInBytes == null) dart.nullFailed(I[144], 59, 38, "offsetInBytes"); + return new typed_data.UnmodifiableFloat64x2ListView.new(this[_data$][$asFloat64x2List](offsetInBytes, length)); + } + asByteData(offsetInBytes = 0, length = null) { + if (offsetInBytes == null) dart.nullFailed(I[144], 63, 28, "offsetInBytes"); + return new typed_data.UnmodifiableByteDataView.new(this[_data$][$asByteData](offsetInBytes, length)); + } +}; +(typed_data.UnmodifiableByteBufferView.new = function(data) { + if (data == null) dart.nullFailed(I[144], 11, 41, "data"); + this[_data$] = data; + ; +}).prototype = typed_data.UnmodifiableByteBufferView.prototype; +dart.addTypeTests(typed_data.UnmodifiableByteBufferView); +dart.addTypeCaches(typed_data.UnmodifiableByteBufferView); +typed_data.UnmodifiableByteBufferView[dart.implements] = () => [typed_data.ByteBuffer]; +dart.setMethodSignature(typed_data.UnmodifiableByteBufferView, () => ({ + __proto__: dart.getMethods(typed_data.UnmodifiableByteBufferView.__proto__), + asUint8List: dart.fnType(typed_data.Uint8List, [], [core.int, dart.nullable(core.int)]), + [$asUint8List]: dart.fnType(typed_data.Uint8List, [], [core.int, dart.nullable(core.int)]), + asInt8List: dart.fnType(typed_data.Int8List, [], [core.int, dart.nullable(core.int)]), + [$asInt8List]: dart.fnType(typed_data.Int8List, [], [core.int, dart.nullable(core.int)]), + asUint8ClampedList: dart.fnType(typed_data.Uint8ClampedList, [], [core.int, dart.nullable(core.int)]), + [$asUint8ClampedList]: dart.fnType(typed_data.Uint8ClampedList, [], [core.int, dart.nullable(core.int)]), + asUint16List: dart.fnType(typed_data.Uint16List, [], [core.int, dart.nullable(core.int)]), + [$asUint16List]: dart.fnType(typed_data.Uint16List, [], [core.int, dart.nullable(core.int)]), + asInt16List: dart.fnType(typed_data.Int16List, [], [core.int, dart.nullable(core.int)]), + [$asInt16List]: dart.fnType(typed_data.Int16List, [], [core.int, dart.nullable(core.int)]), + asUint32List: dart.fnType(typed_data.Uint32List, [], [core.int, dart.nullable(core.int)]), + [$asUint32List]: dart.fnType(typed_data.Uint32List, [], [core.int, dart.nullable(core.int)]), + asInt32List: dart.fnType(typed_data.Int32List, [], [core.int, dart.nullable(core.int)]), + [$asInt32List]: dart.fnType(typed_data.Int32List, [], [core.int, dart.nullable(core.int)]), + asUint64List: dart.fnType(typed_data.Uint64List, [], [core.int, dart.nullable(core.int)]), + [$asUint64List]: dart.fnType(typed_data.Uint64List, [], [core.int, dart.nullable(core.int)]), + asInt64List: dart.fnType(typed_data.Int64List, [], [core.int, dart.nullable(core.int)]), + [$asInt64List]: dart.fnType(typed_data.Int64List, [], [core.int, dart.nullable(core.int)]), + asInt32x4List: dart.fnType(typed_data.Int32x4List, [], [core.int, dart.nullable(core.int)]), + [$asInt32x4List]: dart.fnType(typed_data.Int32x4List, [], [core.int, dart.nullable(core.int)]), + asFloat32List: dart.fnType(typed_data.Float32List, [], [core.int, dart.nullable(core.int)]), + [$asFloat32List]: dart.fnType(typed_data.Float32List, [], [core.int, dart.nullable(core.int)]), + asFloat64List: dart.fnType(typed_data.Float64List, [], [core.int, dart.nullable(core.int)]), + [$asFloat64List]: dart.fnType(typed_data.Float64List, [], [core.int, dart.nullable(core.int)]), + asFloat32x4List: dart.fnType(typed_data.Float32x4List, [], [core.int, dart.nullable(core.int)]), + [$asFloat32x4List]: dart.fnType(typed_data.Float32x4List, [], [core.int, dart.nullable(core.int)]), + asFloat64x2List: dart.fnType(typed_data.Float64x2List, [], [core.int, dart.nullable(core.int)]), + [$asFloat64x2List]: dart.fnType(typed_data.Float64x2List, [], [core.int, dart.nullable(core.int)]), + asByteData: dart.fnType(typed_data.ByteData, [], [core.int, dart.nullable(core.int)]), + [$asByteData]: dart.fnType(typed_data.ByteData, [], [core.int, dart.nullable(core.int)]) +})); +dart.setGetterSignature(typed_data.UnmodifiableByteBufferView, () => ({ + __proto__: dart.getGetters(typed_data.UnmodifiableByteBufferView.__proto__), + lengthInBytes: core.int, + [$lengthInBytes]: core.int +})); +dart.setLibraryUri(typed_data.UnmodifiableByteBufferView, I[60]); +dart.setFieldSignature(typed_data.UnmodifiableByteBufferView, () => ({ + __proto__: dart.getFields(typed_data.UnmodifiableByteBufferView.__proto__), + [_data$]: dart.finalFieldType(typed_data.ByteBuffer) +})); +dart.defineExtensionMethods(typed_data.UnmodifiableByteBufferView, [ + 'asUint8List', + 'asInt8List', + 'asUint8ClampedList', + 'asUint16List', + 'asInt16List', + 'asUint32List', + 'asInt32List', + 'asUint64List', + 'asInt64List', + 'asInt32x4List', + 'asFloat32List', + 'asFloat64List', + 'asFloat32x4List', + 'asFloat64x2List', + 'asByteData' +]); +dart.defineExtensionAccessors(typed_data.UnmodifiableByteBufferView, ['lengthInBytes']); +var _unsupported$ = dart.privateName(typed_data, "_unsupported"); +typed_data.UnmodifiableByteDataView = class UnmodifiableByteDataView extends core.Object { + getInt8(byteOffset) { + if (byteOffset == null) dart.nullFailed(I[144], 73, 19, "byteOffset"); + return this[_data$][$getInt8](byteOffset); + } + setInt8(byteOffset, value) { + if (byteOffset == null) dart.nullFailed(I[144], 75, 20, "byteOffset"); + if (value == null) dart.nullFailed(I[144], 75, 36, "value"); + return this[_unsupported$](); + } + getUint8(byteOffset) { + if (byteOffset == null) dart.nullFailed(I[144], 77, 20, "byteOffset"); + return this[_data$][$getUint8](byteOffset); + } + setUint8(byteOffset, value) { + if (byteOffset == null) dart.nullFailed(I[144], 79, 21, "byteOffset"); + if (value == null) dart.nullFailed(I[144], 79, 37, "value"); + return this[_unsupported$](); + } + getInt16(byteOffset, endian = C[36] || CT.C36) { + if (byteOffset == null) dart.nullFailed(I[144], 81, 20, "byteOffset"); + if (endian == null) dart.nullFailed(I[144], 81, 40, "endian"); + return this[_data$][$getInt16](byteOffset, endian); + } + setInt16(byteOffset, value, endian = C[36] || CT.C36) { + if (byteOffset == null) dart.nullFailed(I[144], 84, 21, "byteOffset"); + if (value == null) dart.nullFailed(I[144], 84, 37, "value"); + if (endian == null) dart.nullFailed(I[144], 84, 52, "endian"); + return this[_unsupported$](); + } + getUint16(byteOffset, endian = C[36] || CT.C36) { + if (byteOffset == null) dart.nullFailed(I[144], 87, 21, "byteOffset"); + if (endian == null) dart.nullFailed(I[144], 87, 41, "endian"); + return this[_data$][$getUint16](byteOffset, endian); + } + setUint16(byteOffset, value, endian = C[36] || CT.C36) { + if (byteOffset == null) dart.nullFailed(I[144], 90, 22, "byteOffset"); + if (value == null) dart.nullFailed(I[144], 90, 38, "value"); + if (endian == null) dart.nullFailed(I[144], 90, 53, "endian"); + return this[_unsupported$](); + } + getInt32(byteOffset, endian = C[36] || CT.C36) { + if (byteOffset == null) dart.nullFailed(I[144], 93, 20, "byteOffset"); + if (endian == null) dart.nullFailed(I[144], 93, 40, "endian"); + return this[_data$][$getInt32](byteOffset, endian); + } + setInt32(byteOffset, value, endian = C[36] || CT.C36) { + if (byteOffset == null) dart.nullFailed(I[144], 96, 21, "byteOffset"); + if (value == null) dart.nullFailed(I[144], 96, 37, "value"); + if (endian == null) dart.nullFailed(I[144], 96, 52, "endian"); + return this[_unsupported$](); + } + getUint32(byteOffset, endian = C[36] || CT.C36) { + if (byteOffset == null) dart.nullFailed(I[144], 99, 21, "byteOffset"); + if (endian == null) dart.nullFailed(I[144], 99, 41, "endian"); + return this[_data$][$getUint32](byteOffset, endian); + } + setUint32(byteOffset, value, endian = C[36] || CT.C36) { + if (byteOffset == null) dart.nullFailed(I[144], 102, 22, "byteOffset"); + if (value == null) dart.nullFailed(I[144], 102, 38, "value"); + if (endian == null) dart.nullFailed(I[144], 102, 53, "endian"); + return this[_unsupported$](); + } + getInt64(byteOffset, endian = C[36] || CT.C36) { + if (byteOffset == null) dart.nullFailed(I[144], 105, 20, "byteOffset"); + if (endian == null) dart.nullFailed(I[144], 105, 40, "endian"); + return this[_data$][$getInt64](byteOffset, endian); + } + setInt64(byteOffset, value, endian = C[36] || CT.C36) { + if (byteOffset == null) dart.nullFailed(I[144], 108, 21, "byteOffset"); + if (value == null) dart.nullFailed(I[144], 108, 37, "value"); + if (endian == null) dart.nullFailed(I[144], 108, 52, "endian"); + return this[_unsupported$](); + } + getUint64(byteOffset, endian = C[36] || CT.C36) { + if (byteOffset == null) dart.nullFailed(I[144], 111, 21, "byteOffset"); + if (endian == null) dart.nullFailed(I[144], 111, 41, "endian"); + return this[_data$][$getUint64](byteOffset, endian); + } + setUint64(byteOffset, value, endian = C[36] || CT.C36) { + if (byteOffset == null) dart.nullFailed(I[144], 114, 22, "byteOffset"); + if (value == null) dart.nullFailed(I[144], 114, 38, "value"); + if (endian == null) dart.nullFailed(I[144], 114, 53, "endian"); + return this[_unsupported$](); + } + getFloat32(byteOffset, endian = C[36] || CT.C36) { + if (byteOffset == null) dart.nullFailed(I[144], 117, 25, "byteOffset"); + if (endian == null) dart.nullFailed(I[144], 117, 45, "endian"); + return this[_data$][$getFloat32](byteOffset, endian); + } + setFloat32(byteOffset, value, endian = C[36] || CT.C36) { + if (byteOffset == null) dart.nullFailed(I[144], 120, 23, "byteOffset"); + if (value == null) dart.nullFailed(I[144], 120, 42, "value"); + if (endian == null) dart.nullFailed(I[144], 120, 57, "endian"); + return this[_unsupported$](); + } + getFloat64(byteOffset, endian = C[36] || CT.C36) { + if (byteOffset == null) dart.nullFailed(I[144], 123, 25, "byteOffset"); + if (endian == null) dart.nullFailed(I[144], 123, 45, "endian"); + return this[_data$][$getFloat64](byteOffset, endian); + } + setFloat64(byteOffset, value, endian = C[36] || CT.C36) { + if (byteOffset == null) dart.nullFailed(I[144], 126, 23, "byteOffset"); + if (value == null) dart.nullFailed(I[144], 126, 42, "value"); + if (endian == null) dart.nullFailed(I[144], 126, 57, "endian"); + return this[_unsupported$](); + } + get elementSizeInBytes() { + return this[_data$][$elementSizeInBytes]; + } + get offsetInBytes() { + return this[_data$][$offsetInBytes]; + } + get lengthInBytes() { + return this[_data$][$lengthInBytes]; + } + get buffer() { + return new typed_data.UnmodifiableByteBufferView.new(this[_data$][$buffer]); + } + [_unsupported$]() { + dart.throw(new core.UnsupportedError.new("An UnmodifiableByteDataView may not be modified")); + } +}; +(typed_data.UnmodifiableByteDataView.new = function(data) { + if (data == null) dart.nullFailed(I[144], 71, 37, "data"); + this[_data$] = data; + ; +}).prototype = typed_data.UnmodifiableByteDataView.prototype; +dart.addTypeTests(typed_data.UnmodifiableByteDataView); +dart.addTypeCaches(typed_data.UnmodifiableByteDataView); +typed_data.UnmodifiableByteDataView[dart.implements] = () => [typed_data.ByteData]; +dart.setMethodSignature(typed_data.UnmodifiableByteDataView, () => ({ + __proto__: dart.getMethods(typed_data.UnmodifiableByteDataView.__proto__), + getInt8: dart.fnType(core.int, [core.int]), + [$getInt8]: dart.fnType(core.int, [core.int]), + setInt8: dart.fnType(dart.void, [core.int, core.int]), + [$setInt8]: dart.fnType(dart.void, [core.int, core.int]), + getUint8: dart.fnType(core.int, [core.int]), + [$getUint8]: dart.fnType(core.int, [core.int]), + setUint8: dart.fnType(dart.void, [core.int, core.int]), + [$setUint8]: dart.fnType(dart.void, [core.int, core.int]), + getInt16: dart.fnType(core.int, [core.int], [typed_data.Endian]), + [$getInt16]: dart.fnType(core.int, [core.int], [typed_data.Endian]), + setInt16: dart.fnType(dart.void, [core.int, core.int], [typed_data.Endian]), + [$setInt16]: dart.fnType(dart.void, [core.int, core.int], [typed_data.Endian]), + getUint16: dart.fnType(core.int, [core.int], [typed_data.Endian]), + [$getUint16]: dart.fnType(core.int, [core.int], [typed_data.Endian]), + setUint16: dart.fnType(dart.void, [core.int, core.int], [typed_data.Endian]), + [$setUint16]: dart.fnType(dart.void, [core.int, core.int], [typed_data.Endian]), + getInt32: dart.fnType(core.int, [core.int], [typed_data.Endian]), + [$getInt32]: dart.fnType(core.int, [core.int], [typed_data.Endian]), + setInt32: dart.fnType(dart.void, [core.int, core.int], [typed_data.Endian]), + [$setInt32]: dart.fnType(dart.void, [core.int, core.int], [typed_data.Endian]), + getUint32: dart.fnType(core.int, [core.int], [typed_data.Endian]), + [$getUint32]: dart.fnType(core.int, [core.int], [typed_data.Endian]), + setUint32: dart.fnType(dart.void, [core.int, core.int], [typed_data.Endian]), + [$setUint32]: dart.fnType(dart.void, [core.int, core.int], [typed_data.Endian]), + getInt64: dart.fnType(core.int, [core.int], [typed_data.Endian]), + [$getInt64]: dart.fnType(core.int, [core.int], [typed_data.Endian]), + setInt64: dart.fnType(dart.void, [core.int, core.int], [typed_data.Endian]), + [$setInt64]: dart.fnType(dart.void, [core.int, core.int], [typed_data.Endian]), + getUint64: dart.fnType(core.int, [core.int], [typed_data.Endian]), + [$getUint64]: dart.fnType(core.int, [core.int], [typed_data.Endian]), + setUint64: dart.fnType(dart.void, [core.int, core.int], [typed_data.Endian]), + [$setUint64]: dart.fnType(dart.void, [core.int, core.int], [typed_data.Endian]), + getFloat32: dart.fnType(core.double, [core.int], [typed_data.Endian]), + [$getFloat32]: dart.fnType(core.double, [core.int], [typed_data.Endian]), + setFloat32: dart.fnType(dart.void, [core.int, core.double], [typed_data.Endian]), + [$setFloat32]: dart.fnType(dart.void, [core.int, core.double], [typed_data.Endian]), + getFloat64: dart.fnType(core.double, [core.int], [typed_data.Endian]), + [$getFloat64]: dart.fnType(core.double, [core.int], [typed_data.Endian]), + setFloat64: dart.fnType(dart.void, [core.int, core.double], [typed_data.Endian]), + [$setFloat64]: dart.fnType(dart.void, [core.int, core.double], [typed_data.Endian]), + [_unsupported$]: dart.fnType(dart.void, []) +})); +dart.setGetterSignature(typed_data.UnmodifiableByteDataView, () => ({ + __proto__: dart.getGetters(typed_data.UnmodifiableByteDataView.__proto__), + elementSizeInBytes: core.int, + [$elementSizeInBytes]: core.int, + offsetInBytes: core.int, + [$offsetInBytes]: core.int, + lengthInBytes: core.int, + [$lengthInBytes]: core.int, + buffer: typed_data.ByteBuffer, + [$buffer]: typed_data.ByteBuffer +})); +dart.setLibraryUri(typed_data.UnmodifiableByteDataView, I[60]); +dart.setFieldSignature(typed_data.UnmodifiableByteDataView, () => ({ + __proto__: dart.getFields(typed_data.UnmodifiableByteDataView.__proto__), + [_data$]: dart.finalFieldType(typed_data.ByteData) +})); +dart.defineExtensionMethods(typed_data.UnmodifiableByteDataView, [ + 'getInt8', + 'setInt8', + 'getUint8', + 'setUint8', + 'getInt16', + 'setInt16', + 'getUint16', + 'setUint16', + 'getInt32', + 'setInt32', + 'getUint32', + 'setUint32', + 'getInt64', + 'setInt64', + 'getUint64', + 'setUint64', + 'getFloat32', + 'setFloat32', + 'getFloat64', + 'setFloat64' +]); +dart.defineExtensionAccessors(typed_data.UnmodifiableByteDataView, ['elementSizeInBytes', 'offsetInBytes', 'lengthInBytes', 'buffer']); +var _list$2 = dart.privateName(typed_data, "_list"); +var _createList = dart.privateName(typed_data, "_createList"); +const _is__UnmodifiableListMixin_default = Symbol('_is__UnmodifiableListMixin_default'); +typed_data._UnmodifiableListMixin$ = dart.generic((N, L, TD) => { + class _UnmodifiableListMixin extends core.Object { + get [_data$]() { + return TD.as(this[_list$2]); + } + get length() { + return this[_list$2][$length]; + } + _get(index) { + if (index == null) dart.nullFailed(I[144], 150, 21, "index"); + return this[_list$2][$_get](index); + } + get elementSizeInBytes() { + return this[_data$][$elementSizeInBytes]; + } + get offsetInBytes() { + return this[_data$][$offsetInBytes]; + } + get lengthInBytes() { + return this[_data$][$lengthInBytes]; + } + get buffer() { + return new typed_data.UnmodifiableByteBufferView.new(this[_data$][$buffer]); + } + sublist(start, end = null) { + if (start == null) dart.nullFailed(I[144], 162, 17, "start"); + let endIndex = core.RangeError.checkValidRange(start, dart.nullCheck(end), this.length); + let sublistLength = dart.notNull(endIndex) - dart.notNull(start); + let result = this[_createList](sublistLength); + result[$setRange](0, sublistLength, this[_list$2], start); + return result; + } + } + (_UnmodifiableListMixin.new = function() { + ; + }).prototype = _UnmodifiableListMixin.prototype; + dart.addTypeTests(_UnmodifiableListMixin); + _UnmodifiableListMixin.prototype[_is__UnmodifiableListMixin_default] = true; + dart.addTypeCaches(_UnmodifiableListMixin); + dart.setMethodSignature(_UnmodifiableListMixin, () => ({ + __proto__: dart.getMethods(_UnmodifiableListMixin.__proto__), + _get: dart.fnType(N, [core.int]), + sublist: dart.fnType(L, [core.int], [dart.nullable(core.int)]) + })); + dart.setGetterSignature(_UnmodifiableListMixin, () => ({ + __proto__: dart.getGetters(_UnmodifiableListMixin.__proto__), + [_data$]: TD, + length: core.int, + elementSizeInBytes: core.int, + offsetInBytes: core.int, + lengthInBytes: core.int, + buffer: typed_data.ByteBuffer + })); + dart.setLibraryUri(_UnmodifiableListMixin, I[60]); + return _UnmodifiableListMixin; +}); +typed_data._UnmodifiableListMixin = typed_data._UnmodifiableListMixin$(); +dart.addTypeTests(typed_data._UnmodifiableListMixin, _is__UnmodifiableListMixin_default); +var _list$3 = dart.privateName(typed_data, "UnmodifiableUint8ListView._list"); +const UnmodifiableListBase__UnmodifiableListMixin$36 = class UnmodifiableListBase__UnmodifiableListMixin extends _internal.UnmodifiableListBase$(core.int) {}; +(UnmodifiableListBase__UnmodifiableListMixin$36.new = function() { +}).prototype = UnmodifiableListBase__UnmodifiableListMixin$36.prototype; +dart.applyMixin(UnmodifiableListBase__UnmodifiableListMixin$36, typed_data._UnmodifiableListMixin$(core.int, typed_data.Uint8List, typed_data.Uint8List)); +typed_data.UnmodifiableUint8ListView = class UnmodifiableUint8ListView extends UnmodifiableListBase__UnmodifiableListMixin$36 { + get [_list$2]() { + return this[_list$3]; + } + set [_list$2](value) { + super[_list$2] = value; + } + [_createList](length) { + if (length == null) dart.nullFailed(I[144], 179, 29, "length"); + return _native_typed_data.NativeUint8List.new(length); + } +}; +(typed_data.UnmodifiableUint8ListView.new = function(list) { + if (list == null) dart.nullFailed(I[144], 177, 39, "list"); + this[_list$3] = list; + ; +}).prototype = typed_data.UnmodifiableUint8ListView.prototype; +dart.addTypeTests(typed_data.UnmodifiableUint8ListView); +dart.addTypeCaches(typed_data.UnmodifiableUint8ListView); +typed_data.UnmodifiableUint8ListView[dart.implements] = () => [typed_data.Uint8List]; +dart.setMethodSignature(typed_data.UnmodifiableUint8ListView, () => ({ + __proto__: dart.getMethods(typed_data.UnmodifiableUint8ListView.__proto__), + [_createList]: dart.fnType(typed_data.Uint8List, [core.int]) +})); +dart.setLibraryUri(typed_data.UnmodifiableUint8ListView, I[60]); +dart.setFieldSignature(typed_data.UnmodifiableUint8ListView, () => ({ + __proto__: dart.getFields(typed_data.UnmodifiableUint8ListView.__proto__), + [_list$2]: dart.finalFieldType(typed_data.Uint8List) +})); +dart.defineExtensionMethods(typed_data.UnmodifiableUint8ListView, ['_get', 'sublist']); +dart.defineExtensionAccessors(typed_data.UnmodifiableUint8ListView, [ + 'length', + 'elementSizeInBytes', + 'offsetInBytes', + 'lengthInBytes', + 'buffer' +]); +var _list$4 = dart.privateName(typed_data, "UnmodifiableInt8ListView._list"); +const UnmodifiableListBase__UnmodifiableListMixin$36$ = class UnmodifiableListBase__UnmodifiableListMixin extends _internal.UnmodifiableListBase$(core.int) {}; +(UnmodifiableListBase__UnmodifiableListMixin$36$.new = function() { +}).prototype = UnmodifiableListBase__UnmodifiableListMixin$36$.prototype; +dart.applyMixin(UnmodifiableListBase__UnmodifiableListMixin$36$, typed_data._UnmodifiableListMixin$(core.int, typed_data.Int8List, typed_data.Int8List)); +typed_data.UnmodifiableInt8ListView = class UnmodifiableInt8ListView extends UnmodifiableListBase__UnmodifiableListMixin$36$ { + get [_list$2]() { + return this[_list$4]; + } + set [_list$2](value) { + super[_list$2] = value; + } + [_createList](length) { + if (length == null) dart.nullFailed(I[144], 189, 28, "length"); + return _native_typed_data.NativeInt8List.new(length); + } +}; +(typed_data.UnmodifiableInt8ListView.new = function(list) { + if (list == null) dart.nullFailed(I[144], 187, 37, "list"); + this[_list$4] = list; + ; +}).prototype = typed_data.UnmodifiableInt8ListView.prototype; +dart.addTypeTests(typed_data.UnmodifiableInt8ListView); +dart.addTypeCaches(typed_data.UnmodifiableInt8ListView); +typed_data.UnmodifiableInt8ListView[dart.implements] = () => [typed_data.Int8List]; +dart.setMethodSignature(typed_data.UnmodifiableInt8ListView, () => ({ + __proto__: dart.getMethods(typed_data.UnmodifiableInt8ListView.__proto__), + [_createList]: dart.fnType(typed_data.Int8List, [core.int]) +})); +dart.setLibraryUri(typed_data.UnmodifiableInt8ListView, I[60]); +dart.setFieldSignature(typed_data.UnmodifiableInt8ListView, () => ({ + __proto__: dart.getFields(typed_data.UnmodifiableInt8ListView.__proto__), + [_list$2]: dart.finalFieldType(typed_data.Int8List) +})); +dart.defineExtensionMethods(typed_data.UnmodifiableInt8ListView, ['_get', 'sublist']); +dart.defineExtensionAccessors(typed_data.UnmodifiableInt8ListView, [ + 'length', + 'elementSizeInBytes', + 'offsetInBytes', + 'lengthInBytes', + 'buffer' +]); +var _list$5 = dart.privateName(typed_data, "UnmodifiableUint8ClampedListView._list"); +const UnmodifiableListBase__UnmodifiableListMixin$36$0 = class UnmodifiableListBase__UnmodifiableListMixin extends _internal.UnmodifiableListBase$(core.int) {}; +(UnmodifiableListBase__UnmodifiableListMixin$36$0.new = function() { +}).prototype = UnmodifiableListBase__UnmodifiableListMixin$36$0.prototype; +dart.applyMixin(UnmodifiableListBase__UnmodifiableListMixin$36$0, typed_data._UnmodifiableListMixin$(core.int, typed_data.Uint8ClampedList, typed_data.Uint8ClampedList)); +typed_data.UnmodifiableUint8ClampedListView = class UnmodifiableUint8ClampedListView extends UnmodifiableListBase__UnmodifiableListMixin$36$0 { + get [_list$2]() { + return this[_list$5]; + } + set [_list$2](value) { + super[_list$2] = value; + } + [_createList](length) { + if (length == null) dart.nullFailed(I[144], 199, 36, "length"); + return _native_typed_data.NativeUint8ClampedList.new(length); + } +}; +(typed_data.UnmodifiableUint8ClampedListView.new = function(list) { + if (list == null) dart.nullFailed(I[144], 197, 53, "list"); + this[_list$5] = list; + ; +}).prototype = typed_data.UnmodifiableUint8ClampedListView.prototype; +dart.addTypeTests(typed_data.UnmodifiableUint8ClampedListView); +dart.addTypeCaches(typed_data.UnmodifiableUint8ClampedListView); +typed_data.UnmodifiableUint8ClampedListView[dart.implements] = () => [typed_data.Uint8ClampedList]; +dart.setMethodSignature(typed_data.UnmodifiableUint8ClampedListView, () => ({ + __proto__: dart.getMethods(typed_data.UnmodifiableUint8ClampedListView.__proto__), + [_createList]: dart.fnType(typed_data.Uint8ClampedList, [core.int]) +})); +dart.setLibraryUri(typed_data.UnmodifiableUint8ClampedListView, I[60]); +dart.setFieldSignature(typed_data.UnmodifiableUint8ClampedListView, () => ({ + __proto__: dart.getFields(typed_data.UnmodifiableUint8ClampedListView.__proto__), + [_list$2]: dart.finalFieldType(typed_data.Uint8ClampedList) +})); +dart.defineExtensionMethods(typed_data.UnmodifiableUint8ClampedListView, ['_get', 'sublist']); +dart.defineExtensionAccessors(typed_data.UnmodifiableUint8ClampedListView, [ + 'length', + 'elementSizeInBytes', + 'offsetInBytes', + 'lengthInBytes', + 'buffer' +]); +var _list$6 = dart.privateName(typed_data, "UnmodifiableUint16ListView._list"); +const UnmodifiableListBase__UnmodifiableListMixin$36$1 = class UnmodifiableListBase__UnmodifiableListMixin extends _internal.UnmodifiableListBase$(core.int) {}; +(UnmodifiableListBase__UnmodifiableListMixin$36$1.new = function() { +}).prototype = UnmodifiableListBase__UnmodifiableListMixin$36$1.prototype; +dart.applyMixin(UnmodifiableListBase__UnmodifiableListMixin$36$1, typed_data._UnmodifiableListMixin$(core.int, typed_data.Uint16List, typed_data.Uint16List)); +typed_data.UnmodifiableUint16ListView = class UnmodifiableUint16ListView extends UnmodifiableListBase__UnmodifiableListMixin$36$1 { + get [_list$2]() { + return this[_list$6]; + } + set [_list$2](value) { + super[_list$2] = value; + } + [_createList](length) { + if (length == null) dart.nullFailed(I[144], 209, 30, "length"); + return _native_typed_data.NativeUint16List.new(length); + } +}; +(typed_data.UnmodifiableUint16ListView.new = function(list) { + if (list == null) dart.nullFailed(I[144], 207, 41, "list"); + this[_list$6] = list; + ; +}).prototype = typed_data.UnmodifiableUint16ListView.prototype; +dart.addTypeTests(typed_data.UnmodifiableUint16ListView); +dart.addTypeCaches(typed_data.UnmodifiableUint16ListView); +typed_data.UnmodifiableUint16ListView[dart.implements] = () => [typed_data.Uint16List]; +dart.setMethodSignature(typed_data.UnmodifiableUint16ListView, () => ({ + __proto__: dart.getMethods(typed_data.UnmodifiableUint16ListView.__proto__), + [_createList]: dart.fnType(typed_data.Uint16List, [core.int]) +})); +dart.setLibraryUri(typed_data.UnmodifiableUint16ListView, I[60]); +dart.setFieldSignature(typed_data.UnmodifiableUint16ListView, () => ({ + __proto__: dart.getFields(typed_data.UnmodifiableUint16ListView.__proto__), + [_list$2]: dart.finalFieldType(typed_data.Uint16List) +})); +dart.defineExtensionMethods(typed_data.UnmodifiableUint16ListView, ['_get', 'sublist']); +dart.defineExtensionAccessors(typed_data.UnmodifiableUint16ListView, [ + 'length', + 'elementSizeInBytes', + 'offsetInBytes', + 'lengthInBytes', + 'buffer' +]); +var _list$7 = dart.privateName(typed_data, "UnmodifiableInt16ListView._list"); +const UnmodifiableListBase__UnmodifiableListMixin$36$2 = class UnmodifiableListBase__UnmodifiableListMixin extends _internal.UnmodifiableListBase$(core.int) {}; +(UnmodifiableListBase__UnmodifiableListMixin$36$2.new = function() { +}).prototype = UnmodifiableListBase__UnmodifiableListMixin$36$2.prototype; +dart.applyMixin(UnmodifiableListBase__UnmodifiableListMixin$36$2, typed_data._UnmodifiableListMixin$(core.int, typed_data.Int16List, typed_data.Int16List)); +typed_data.UnmodifiableInt16ListView = class UnmodifiableInt16ListView extends UnmodifiableListBase__UnmodifiableListMixin$36$2 { + get [_list$2]() { + return this[_list$7]; + } + set [_list$2](value) { + super[_list$2] = value; + } + [_createList](length) { + if (length == null) dart.nullFailed(I[144], 219, 29, "length"); + return _native_typed_data.NativeInt16List.new(length); + } +}; +(typed_data.UnmodifiableInt16ListView.new = function(list) { + if (list == null) dart.nullFailed(I[144], 217, 39, "list"); + this[_list$7] = list; + ; +}).prototype = typed_data.UnmodifiableInt16ListView.prototype; +dart.addTypeTests(typed_data.UnmodifiableInt16ListView); +dart.addTypeCaches(typed_data.UnmodifiableInt16ListView); +typed_data.UnmodifiableInt16ListView[dart.implements] = () => [typed_data.Int16List]; +dart.setMethodSignature(typed_data.UnmodifiableInt16ListView, () => ({ + __proto__: dart.getMethods(typed_data.UnmodifiableInt16ListView.__proto__), + [_createList]: dart.fnType(typed_data.Int16List, [core.int]) +})); +dart.setLibraryUri(typed_data.UnmodifiableInt16ListView, I[60]); +dart.setFieldSignature(typed_data.UnmodifiableInt16ListView, () => ({ + __proto__: dart.getFields(typed_data.UnmodifiableInt16ListView.__proto__), + [_list$2]: dart.finalFieldType(typed_data.Int16List) +})); +dart.defineExtensionMethods(typed_data.UnmodifiableInt16ListView, ['_get', 'sublist']); +dart.defineExtensionAccessors(typed_data.UnmodifiableInt16ListView, [ + 'length', + 'elementSizeInBytes', + 'offsetInBytes', + 'lengthInBytes', + 'buffer' +]); +var _list$8 = dart.privateName(typed_data, "UnmodifiableUint32ListView._list"); +const UnmodifiableListBase__UnmodifiableListMixin$36$3 = class UnmodifiableListBase__UnmodifiableListMixin extends _internal.UnmodifiableListBase$(core.int) {}; +(UnmodifiableListBase__UnmodifiableListMixin$36$3.new = function() { +}).prototype = UnmodifiableListBase__UnmodifiableListMixin$36$3.prototype; +dart.applyMixin(UnmodifiableListBase__UnmodifiableListMixin$36$3, typed_data._UnmodifiableListMixin$(core.int, typed_data.Uint32List, typed_data.Uint32List)); +typed_data.UnmodifiableUint32ListView = class UnmodifiableUint32ListView extends UnmodifiableListBase__UnmodifiableListMixin$36$3 { + get [_list$2]() { + return this[_list$8]; + } + set [_list$2](value) { + super[_list$2] = value; + } + [_createList](length) { + if (length == null) dart.nullFailed(I[144], 229, 30, "length"); + return _native_typed_data.NativeUint32List.new(length); + } +}; +(typed_data.UnmodifiableUint32ListView.new = function(list) { + if (list == null) dart.nullFailed(I[144], 227, 41, "list"); + this[_list$8] = list; + ; +}).prototype = typed_data.UnmodifiableUint32ListView.prototype; +dart.addTypeTests(typed_data.UnmodifiableUint32ListView); +dart.addTypeCaches(typed_data.UnmodifiableUint32ListView); +typed_data.UnmodifiableUint32ListView[dart.implements] = () => [typed_data.Uint32List]; +dart.setMethodSignature(typed_data.UnmodifiableUint32ListView, () => ({ + __proto__: dart.getMethods(typed_data.UnmodifiableUint32ListView.__proto__), + [_createList]: dart.fnType(typed_data.Uint32List, [core.int]) +})); +dart.setLibraryUri(typed_data.UnmodifiableUint32ListView, I[60]); +dart.setFieldSignature(typed_data.UnmodifiableUint32ListView, () => ({ + __proto__: dart.getFields(typed_data.UnmodifiableUint32ListView.__proto__), + [_list$2]: dart.finalFieldType(typed_data.Uint32List) +})); +dart.defineExtensionMethods(typed_data.UnmodifiableUint32ListView, ['_get', 'sublist']); +dart.defineExtensionAccessors(typed_data.UnmodifiableUint32ListView, [ + 'length', + 'elementSizeInBytes', + 'offsetInBytes', + 'lengthInBytes', + 'buffer' +]); +var _list$9 = dart.privateName(typed_data, "UnmodifiableInt32ListView._list"); +const UnmodifiableListBase__UnmodifiableListMixin$36$4 = class UnmodifiableListBase__UnmodifiableListMixin extends _internal.UnmodifiableListBase$(core.int) {}; +(UnmodifiableListBase__UnmodifiableListMixin$36$4.new = function() { +}).prototype = UnmodifiableListBase__UnmodifiableListMixin$36$4.prototype; +dart.applyMixin(UnmodifiableListBase__UnmodifiableListMixin$36$4, typed_data._UnmodifiableListMixin$(core.int, typed_data.Int32List, typed_data.Int32List)); +typed_data.UnmodifiableInt32ListView = class UnmodifiableInt32ListView extends UnmodifiableListBase__UnmodifiableListMixin$36$4 { + get [_list$2]() { + return this[_list$9]; + } + set [_list$2](value) { + super[_list$2] = value; + } + [_createList](length) { + if (length == null) dart.nullFailed(I[144], 239, 29, "length"); + return _native_typed_data.NativeInt32List.new(length); + } +}; +(typed_data.UnmodifiableInt32ListView.new = function(list) { + if (list == null) dart.nullFailed(I[144], 237, 39, "list"); + this[_list$9] = list; + ; +}).prototype = typed_data.UnmodifiableInt32ListView.prototype; +dart.addTypeTests(typed_data.UnmodifiableInt32ListView); +dart.addTypeCaches(typed_data.UnmodifiableInt32ListView); +typed_data.UnmodifiableInt32ListView[dart.implements] = () => [typed_data.Int32List]; +dart.setMethodSignature(typed_data.UnmodifiableInt32ListView, () => ({ + __proto__: dart.getMethods(typed_data.UnmodifiableInt32ListView.__proto__), + [_createList]: dart.fnType(typed_data.Int32List, [core.int]) +})); +dart.setLibraryUri(typed_data.UnmodifiableInt32ListView, I[60]); +dart.setFieldSignature(typed_data.UnmodifiableInt32ListView, () => ({ + __proto__: dart.getFields(typed_data.UnmodifiableInt32ListView.__proto__), + [_list$2]: dart.finalFieldType(typed_data.Int32List) +})); +dart.defineExtensionMethods(typed_data.UnmodifiableInt32ListView, ['_get', 'sublist']); +dart.defineExtensionAccessors(typed_data.UnmodifiableInt32ListView, [ + 'length', + 'elementSizeInBytes', + 'offsetInBytes', + 'lengthInBytes', + 'buffer' +]); +var _list$10 = dart.privateName(typed_data, "UnmodifiableUint64ListView._list"); +const UnmodifiableListBase__UnmodifiableListMixin$36$5 = class UnmodifiableListBase__UnmodifiableListMixin extends _internal.UnmodifiableListBase$(core.int) {}; +(UnmodifiableListBase__UnmodifiableListMixin$36$5.new = function() { +}).prototype = UnmodifiableListBase__UnmodifiableListMixin$36$5.prototype; +dart.applyMixin(UnmodifiableListBase__UnmodifiableListMixin$36$5, typed_data._UnmodifiableListMixin$(core.int, typed_data.Uint64List, typed_data.Uint64List)); +typed_data.UnmodifiableUint64ListView = class UnmodifiableUint64ListView extends UnmodifiableListBase__UnmodifiableListMixin$36$5 { + get [_list$2]() { + return this[_list$10]; + } + set [_list$2](value) { + super[_list$2] = value; + } + [_createList](length) { + if (length == null) dart.nullFailed(I[144], 249, 30, "length"); + return typed_data.Uint64List.new(length); + } +}; +(typed_data.UnmodifiableUint64ListView.new = function(list) { + if (list == null) dart.nullFailed(I[144], 247, 41, "list"); + this[_list$10] = list; + ; +}).prototype = typed_data.UnmodifiableUint64ListView.prototype; +dart.addTypeTests(typed_data.UnmodifiableUint64ListView); +dart.addTypeCaches(typed_data.UnmodifiableUint64ListView); +typed_data.UnmodifiableUint64ListView[dart.implements] = () => [typed_data.Uint64List]; +dart.setMethodSignature(typed_data.UnmodifiableUint64ListView, () => ({ + __proto__: dart.getMethods(typed_data.UnmodifiableUint64ListView.__proto__), + [_createList]: dart.fnType(typed_data.Uint64List, [core.int]) +})); +dart.setLibraryUri(typed_data.UnmodifiableUint64ListView, I[60]); +dart.setFieldSignature(typed_data.UnmodifiableUint64ListView, () => ({ + __proto__: dart.getFields(typed_data.UnmodifiableUint64ListView.__proto__), + [_list$2]: dart.finalFieldType(typed_data.Uint64List) +})); +dart.defineExtensionMethods(typed_data.UnmodifiableUint64ListView, ['_get', 'sublist']); +dart.defineExtensionAccessors(typed_data.UnmodifiableUint64ListView, [ + 'length', + 'elementSizeInBytes', + 'offsetInBytes', + 'lengthInBytes', + 'buffer' +]); +var _list$11 = dart.privateName(typed_data, "UnmodifiableInt64ListView._list"); +const UnmodifiableListBase__UnmodifiableListMixin$36$6 = class UnmodifiableListBase__UnmodifiableListMixin extends _internal.UnmodifiableListBase$(core.int) {}; +(UnmodifiableListBase__UnmodifiableListMixin$36$6.new = function() { +}).prototype = UnmodifiableListBase__UnmodifiableListMixin$36$6.prototype; +dart.applyMixin(UnmodifiableListBase__UnmodifiableListMixin$36$6, typed_data._UnmodifiableListMixin$(core.int, typed_data.Int64List, typed_data.Int64List)); +typed_data.UnmodifiableInt64ListView = class UnmodifiableInt64ListView extends UnmodifiableListBase__UnmodifiableListMixin$36$6 { + get [_list$2]() { + return this[_list$11]; + } + set [_list$2](value) { + super[_list$2] = value; + } + [_createList](length) { + if (length == null) dart.nullFailed(I[144], 259, 29, "length"); + return typed_data.Int64List.new(length); + } +}; +(typed_data.UnmodifiableInt64ListView.new = function(list) { + if (list == null) dart.nullFailed(I[144], 257, 39, "list"); + this[_list$11] = list; + ; +}).prototype = typed_data.UnmodifiableInt64ListView.prototype; +dart.addTypeTests(typed_data.UnmodifiableInt64ListView); +dart.addTypeCaches(typed_data.UnmodifiableInt64ListView); +typed_data.UnmodifiableInt64ListView[dart.implements] = () => [typed_data.Int64List]; +dart.setMethodSignature(typed_data.UnmodifiableInt64ListView, () => ({ + __proto__: dart.getMethods(typed_data.UnmodifiableInt64ListView.__proto__), + [_createList]: dart.fnType(typed_data.Int64List, [core.int]) +})); +dart.setLibraryUri(typed_data.UnmodifiableInt64ListView, I[60]); +dart.setFieldSignature(typed_data.UnmodifiableInt64ListView, () => ({ + __proto__: dart.getFields(typed_data.UnmodifiableInt64ListView.__proto__), + [_list$2]: dart.finalFieldType(typed_data.Int64List) +})); +dart.defineExtensionMethods(typed_data.UnmodifiableInt64ListView, ['_get', 'sublist']); +dart.defineExtensionAccessors(typed_data.UnmodifiableInt64ListView, [ + 'length', + 'elementSizeInBytes', + 'offsetInBytes', + 'lengthInBytes', + 'buffer' +]); +var _list$12 = dart.privateName(typed_data, "UnmodifiableInt32x4ListView._list"); +const UnmodifiableListBase__UnmodifiableListMixin$36$7 = class UnmodifiableListBase__UnmodifiableListMixin extends _internal.UnmodifiableListBase$(typed_data.Int32x4) {}; +(UnmodifiableListBase__UnmodifiableListMixin$36$7.new = function() { +}).prototype = UnmodifiableListBase__UnmodifiableListMixin$36$7.prototype; +dart.applyMixin(UnmodifiableListBase__UnmodifiableListMixin$36$7, typed_data._UnmodifiableListMixin$(typed_data.Int32x4, typed_data.Int32x4List, typed_data.Int32x4List)); +typed_data.UnmodifiableInt32x4ListView = class UnmodifiableInt32x4ListView extends UnmodifiableListBase__UnmodifiableListMixin$36$7 { + get [_list$2]() { + return this[_list$12]; + } + set [_list$2](value) { + super[_list$2] = value; + } + [_createList](length) { + if (length == null) dart.nullFailed(I[144], 269, 31, "length"); + return new _native_typed_data.NativeInt32x4List.new(length); + } +}; +(typed_data.UnmodifiableInt32x4ListView.new = function(list) { + if (list == null) dart.nullFailed(I[144], 267, 43, "list"); + this[_list$12] = list; + ; +}).prototype = typed_data.UnmodifiableInt32x4ListView.prototype; +dart.addTypeTests(typed_data.UnmodifiableInt32x4ListView); +dart.addTypeCaches(typed_data.UnmodifiableInt32x4ListView); +typed_data.UnmodifiableInt32x4ListView[dart.implements] = () => [typed_data.Int32x4List]; +dart.setMethodSignature(typed_data.UnmodifiableInt32x4ListView, () => ({ + __proto__: dart.getMethods(typed_data.UnmodifiableInt32x4ListView.__proto__), + [_createList]: dart.fnType(typed_data.Int32x4List, [core.int]) +})); +dart.setLibraryUri(typed_data.UnmodifiableInt32x4ListView, I[60]); +dart.setFieldSignature(typed_data.UnmodifiableInt32x4ListView, () => ({ + __proto__: dart.getFields(typed_data.UnmodifiableInt32x4ListView.__proto__), + [_list$2]: dart.finalFieldType(typed_data.Int32x4List) +})); +dart.defineExtensionMethods(typed_data.UnmodifiableInt32x4ListView, ['_get', 'sublist']); +dart.defineExtensionAccessors(typed_data.UnmodifiableInt32x4ListView, [ + 'length', + 'elementSizeInBytes', + 'offsetInBytes', + 'lengthInBytes', + 'buffer' +]); +var _list$13 = dart.privateName(typed_data, "UnmodifiableFloat32x4ListView._list"); +const UnmodifiableListBase__UnmodifiableListMixin$36$8 = class UnmodifiableListBase__UnmodifiableListMixin extends _internal.UnmodifiableListBase$(typed_data.Float32x4) {}; +(UnmodifiableListBase__UnmodifiableListMixin$36$8.new = function() { +}).prototype = UnmodifiableListBase__UnmodifiableListMixin$36$8.prototype; +dart.applyMixin(UnmodifiableListBase__UnmodifiableListMixin$36$8, typed_data._UnmodifiableListMixin$(typed_data.Float32x4, typed_data.Float32x4List, typed_data.Float32x4List)); +typed_data.UnmodifiableFloat32x4ListView = class UnmodifiableFloat32x4ListView extends UnmodifiableListBase__UnmodifiableListMixin$36$8 { + get [_list$2]() { + return this[_list$13]; + } + set [_list$2](value) { + super[_list$2] = value; + } + [_createList](length) { + if (length == null) dart.nullFailed(I[144], 279, 33, "length"); + return new _native_typed_data.NativeFloat32x4List.new(length); + } +}; +(typed_data.UnmodifiableFloat32x4ListView.new = function(list) { + if (list == null) dart.nullFailed(I[144], 277, 47, "list"); + this[_list$13] = list; + ; +}).prototype = typed_data.UnmodifiableFloat32x4ListView.prototype; +dart.addTypeTests(typed_data.UnmodifiableFloat32x4ListView); +dart.addTypeCaches(typed_data.UnmodifiableFloat32x4ListView); +typed_data.UnmodifiableFloat32x4ListView[dart.implements] = () => [typed_data.Float32x4List]; +dart.setMethodSignature(typed_data.UnmodifiableFloat32x4ListView, () => ({ + __proto__: dart.getMethods(typed_data.UnmodifiableFloat32x4ListView.__proto__), + [_createList]: dart.fnType(typed_data.Float32x4List, [core.int]) +})); +dart.setLibraryUri(typed_data.UnmodifiableFloat32x4ListView, I[60]); +dart.setFieldSignature(typed_data.UnmodifiableFloat32x4ListView, () => ({ + __proto__: dart.getFields(typed_data.UnmodifiableFloat32x4ListView.__proto__), + [_list$2]: dart.finalFieldType(typed_data.Float32x4List) +})); +dart.defineExtensionMethods(typed_data.UnmodifiableFloat32x4ListView, ['_get', 'sublist']); +dart.defineExtensionAccessors(typed_data.UnmodifiableFloat32x4ListView, [ + 'length', + 'elementSizeInBytes', + 'offsetInBytes', + 'lengthInBytes', + 'buffer' +]); +var _list$14 = dart.privateName(typed_data, "UnmodifiableFloat64x2ListView._list"); +const UnmodifiableListBase__UnmodifiableListMixin$36$9 = class UnmodifiableListBase__UnmodifiableListMixin extends _internal.UnmodifiableListBase$(typed_data.Float64x2) {}; +(UnmodifiableListBase__UnmodifiableListMixin$36$9.new = function() { +}).prototype = UnmodifiableListBase__UnmodifiableListMixin$36$9.prototype; +dart.applyMixin(UnmodifiableListBase__UnmodifiableListMixin$36$9, typed_data._UnmodifiableListMixin$(typed_data.Float64x2, typed_data.Float64x2List, typed_data.Float64x2List)); +typed_data.UnmodifiableFloat64x2ListView = class UnmodifiableFloat64x2ListView extends UnmodifiableListBase__UnmodifiableListMixin$36$9 { + get [_list$2]() { + return this[_list$14]; + } + set [_list$2](value) { + super[_list$2] = value; + } + [_createList](length) { + if (length == null) dart.nullFailed(I[144], 289, 33, "length"); + return new _native_typed_data.NativeFloat64x2List.new(length); + } +}; +(typed_data.UnmodifiableFloat64x2ListView.new = function(list) { + if (list == null) dart.nullFailed(I[144], 287, 47, "list"); + this[_list$14] = list; + ; +}).prototype = typed_data.UnmodifiableFloat64x2ListView.prototype; +dart.addTypeTests(typed_data.UnmodifiableFloat64x2ListView); +dart.addTypeCaches(typed_data.UnmodifiableFloat64x2ListView); +typed_data.UnmodifiableFloat64x2ListView[dart.implements] = () => [typed_data.Float64x2List]; +dart.setMethodSignature(typed_data.UnmodifiableFloat64x2ListView, () => ({ + __proto__: dart.getMethods(typed_data.UnmodifiableFloat64x2ListView.__proto__), + [_createList]: dart.fnType(typed_data.Float64x2List, [core.int]) +})); +dart.setLibraryUri(typed_data.UnmodifiableFloat64x2ListView, I[60]); +dart.setFieldSignature(typed_data.UnmodifiableFloat64x2ListView, () => ({ + __proto__: dart.getFields(typed_data.UnmodifiableFloat64x2ListView.__proto__), + [_list$2]: dart.finalFieldType(typed_data.Float64x2List) +})); +dart.defineExtensionMethods(typed_data.UnmodifiableFloat64x2ListView, ['_get', 'sublist']); +dart.defineExtensionAccessors(typed_data.UnmodifiableFloat64x2ListView, [ + 'length', + 'elementSizeInBytes', + 'offsetInBytes', + 'lengthInBytes', + 'buffer' +]); +var _list$15 = dart.privateName(typed_data, "UnmodifiableFloat32ListView._list"); +const UnmodifiableListBase__UnmodifiableListMixin$36$10 = class UnmodifiableListBase__UnmodifiableListMixin extends _internal.UnmodifiableListBase$(core.double) {}; +(UnmodifiableListBase__UnmodifiableListMixin$36$10.new = function() { +}).prototype = UnmodifiableListBase__UnmodifiableListMixin$36$10.prototype; +dart.applyMixin(UnmodifiableListBase__UnmodifiableListMixin$36$10, typed_data._UnmodifiableListMixin$(core.double, typed_data.Float32List, typed_data.Float32List)); +typed_data.UnmodifiableFloat32ListView = class UnmodifiableFloat32ListView extends UnmodifiableListBase__UnmodifiableListMixin$36$10 { + get [_list$2]() { + return this[_list$15]; + } + set [_list$2](value) { + super[_list$2] = value; + } + [_createList](length) { + if (length == null) dart.nullFailed(I[144], 299, 31, "length"); + return _native_typed_data.NativeFloat32List.new(length); + } +}; +(typed_data.UnmodifiableFloat32ListView.new = function(list) { + if (list == null) dart.nullFailed(I[144], 297, 43, "list"); + this[_list$15] = list; + ; +}).prototype = typed_data.UnmodifiableFloat32ListView.prototype; +dart.addTypeTests(typed_data.UnmodifiableFloat32ListView); +dart.addTypeCaches(typed_data.UnmodifiableFloat32ListView); +typed_data.UnmodifiableFloat32ListView[dart.implements] = () => [typed_data.Float32List]; +dart.setMethodSignature(typed_data.UnmodifiableFloat32ListView, () => ({ + __proto__: dart.getMethods(typed_data.UnmodifiableFloat32ListView.__proto__), + [_createList]: dart.fnType(typed_data.Float32List, [core.int]) +})); +dart.setLibraryUri(typed_data.UnmodifiableFloat32ListView, I[60]); +dart.setFieldSignature(typed_data.UnmodifiableFloat32ListView, () => ({ + __proto__: dart.getFields(typed_data.UnmodifiableFloat32ListView.__proto__), + [_list$2]: dart.finalFieldType(typed_data.Float32List) +})); +dart.defineExtensionMethods(typed_data.UnmodifiableFloat32ListView, ['_get', 'sublist']); +dart.defineExtensionAccessors(typed_data.UnmodifiableFloat32ListView, [ + 'length', + 'elementSizeInBytes', + 'offsetInBytes', + 'lengthInBytes', + 'buffer' +]); +var _list$16 = dart.privateName(typed_data, "UnmodifiableFloat64ListView._list"); +const UnmodifiableListBase__UnmodifiableListMixin$36$11 = class UnmodifiableListBase__UnmodifiableListMixin extends _internal.UnmodifiableListBase$(core.double) {}; +(UnmodifiableListBase__UnmodifiableListMixin$36$11.new = function() { +}).prototype = UnmodifiableListBase__UnmodifiableListMixin$36$11.prototype; +dart.applyMixin(UnmodifiableListBase__UnmodifiableListMixin$36$11, typed_data._UnmodifiableListMixin$(core.double, typed_data.Float64List, typed_data.Float64List)); +typed_data.UnmodifiableFloat64ListView = class UnmodifiableFloat64ListView extends UnmodifiableListBase__UnmodifiableListMixin$36$11 { + get [_list$2]() { + return this[_list$16]; + } + set [_list$2](value) { + super[_list$2] = value; + } + [_createList](length) { + if (length == null) dart.nullFailed(I[144], 309, 31, "length"); + return _native_typed_data.NativeFloat64List.new(length); + } +}; +(typed_data.UnmodifiableFloat64ListView.new = function(list) { + if (list == null) dart.nullFailed(I[144], 307, 43, "list"); + this[_list$16] = list; + ; +}).prototype = typed_data.UnmodifiableFloat64ListView.prototype; +dart.addTypeTests(typed_data.UnmodifiableFloat64ListView); +dart.addTypeCaches(typed_data.UnmodifiableFloat64ListView); +typed_data.UnmodifiableFloat64ListView[dart.implements] = () => [typed_data.Float64List]; +dart.setMethodSignature(typed_data.UnmodifiableFloat64ListView, () => ({ + __proto__: dart.getMethods(typed_data.UnmodifiableFloat64ListView.__proto__), + [_createList]: dart.fnType(typed_data.Float64List, [core.int]) +})); +dart.setLibraryUri(typed_data.UnmodifiableFloat64ListView, I[60]); +dart.setFieldSignature(typed_data.UnmodifiableFloat64ListView, () => ({ + __proto__: dart.getFields(typed_data.UnmodifiableFloat64ListView.__proto__), + [_list$2]: dart.finalFieldType(typed_data.Float64List) +})); +dart.defineExtensionMethods(typed_data.UnmodifiableFloat64ListView, ['_get', 'sublist']); +dart.defineExtensionAccessors(typed_data.UnmodifiableFloat64ListView, [ + 'length', + 'elementSizeInBytes', + 'offsetInBytes', + 'lengthInBytes', + 'buffer' +]); +indexed_db._KeyRangeFactoryProvider = class _KeyRangeFactoryProvider extends core.Object { + static createKeyRange_only(value) { + return indexed_db._KeyRangeFactoryProvider._only(indexed_db._KeyRangeFactoryProvider._class(), indexed_db._KeyRangeFactoryProvider._translateKey(value)); + } + static createKeyRange_lowerBound(bound, open = false) { + if (open == null) dart.nullFailed(I[145], 96, 17, "open"); + return indexed_db._KeyRangeFactoryProvider._lowerBound(indexed_db._KeyRangeFactoryProvider._class(), indexed_db._KeyRangeFactoryProvider._translateKey(bound), open); + } + static createKeyRange_upperBound(bound, open = false) { + if (open == null) dart.nullFailed(I[145], 101, 17, "open"); + return indexed_db._KeyRangeFactoryProvider._upperBound(indexed_db._KeyRangeFactoryProvider._class(), indexed_db._KeyRangeFactoryProvider._translateKey(bound), open); + } + static createKeyRange_bound(lower, upper, lowerOpen = false, upperOpen = false) { + if (lowerOpen == null) dart.nullFailed(I[145], 105, 17, "lowerOpen"); + if (upperOpen == null) dart.nullFailed(I[145], 105, 41, "upperOpen"); + return indexed_db._KeyRangeFactoryProvider._bound(indexed_db._KeyRangeFactoryProvider._class(), indexed_db._KeyRangeFactoryProvider._translateKey(lower), indexed_db._KeyRangeFactoryProvider._translateKey(upper), lowerOpen, upperOpen); + } + static _class() { + if (indexed_db._KeyRangeFactoryProvider._cachedClass != null) return indexed_db._KeyRangeFactoryProvider._cachedClass; + return indexed_db._KeyRangeFactoryProvider._cachedClass = indexed_db._KeyRangeFactoryProvider._uncachedClass(); + } + static _uncachedClass() { + return window.webkitIDBKeyRange || window.mozIDBKeyRange || window.msIDBKeyRange || window.IDBKeyRange; + } + static _translateKey(idbkey) { + return idbkey; + } + static _only(cls, value) { + return cls.only(value); + } + static _lowerBound(cls, bound, open) { + return cls.lowerBound(bound, open); + } + static _upperBound(cls, bound, open) { + return cls.upperBound(bound, open); + } + static _bound(cls, lower, upper, lowerOpen, upperOpen) { + return cls.bound(lower, upper, lowerOpen, upperOpen); + } +}; +(indexed_db._KeyRangeFactoryProvider.new = function() { + ; +}).prototype = indexed_db._KeyRangeFactoryProvider.prototype; +dart.addTypeTests(indexed_db._KeyRangeFactoryProvider); +dart.addTypeCaches(indexed_db._KeyRangeFactoryProvider); +dart.setLibraryUri(indexed_db._KeyRangeFactoryProvider, I[146]); +dart.defineLazy(indexed_db._KeyRangeFactoryProvider, { + /*indexed_db._KeyRangeFactoryProvider._cachedClass*/get _cachedClass() { + return null; + }, + set _cachedClass(_) {} +}, false); +indexed_db.Cursor = class Cursor extends _interceptors.Interceptor { + [S.$delete]() { + try { + return indexed_db._completeRequest(dart.dynamic, this[S._delete$1]()); + } catch (e$) { + let e = dart.getThrown(e$); + let stacktrace = dart.stackTrace(e$); + if (core.Object.is(e)) { + return async.Future.error(e, stacktrace); + } else + throw e$; + } + } + [$update](value) { + try { + return indexed_db._completeRequest(dart.dynamic, this[S._update](value)); + } catch (e$) { + let e = dart.getThrown(e$); + let stacktrace = dart.stackTrace(e$); + if (core.Object.is(e)) { + return async.Future.error(e, stacktrace); + } else + throw e$; + } + } + [S.$next](key = null) { + if (key == null) { + this.continue(); + } else { + this.continue(key); + } + } + get [S.$direction]() { + return this.direction; + } + get [S.$key]() { + return this.key; + } + get [S.$primaryKey]() { + return this.primaryKey; + } + get [S.$source]() { + return this.source; + } + [S.$advance](...args) { + return this.advance.apply(this, args); + } + [S.$continuePrimaryKey](...args) { + return this.continuePrimaryKey.apply(this, args); + } + [S._delete$1](...args) { + return this.delete.apply(this, args); + } + [S._update](value) { + let value_1 = html_common.convertDartToNative_SerializedScriptValue(value); + return this[S._update_1](value_1); + } + [S._update_1](...args) { + return this.update.apply(this, args); + } +}; +dart.addTypeTests(indexed_db.Cursor); +dart.addTypeCaches(indexed_db.Cursor); +dart.setMethodSignature(indexed_db.Cursor, () => ({ + __proto__: dart.getMethods(indexed_db.Cursor.__proto__), + [S.$delete]: dart.fnType(async.Future, []), + [$update]: dart.fnType(async.Future, [dart.dynamic]), + [S.$next]: dart.fnType(dart.void, [], [dart.nullable(core.Object)]), + [S.$advance]: dart.fnType(dart.void, [core.int]), + [S.$continuePrimaryKey]: dart.fnType(dart.void, [core.Object, core.Object]), + [S._delete$1]: dart.fnType(indexed_db.Request, []), + [S._update]: dart.fnType(indexed_db.Request, [dart.dynamic]), + [S._update_1]: dart.fnType(indexed_db.Request, [dart.dynamic]) +})); +dart.setGetterSignature(indexed_db.Cursor, () => ({ + __proto__: dart.getGetters(indexed_db.Cursor.__proto__), + [S.$direction]: dart.nullable(core.String), + [S.$key]: dart.nullable(core.Object), + [S.$primaryKey]: dart.nullable(core.Object), + [S.$source]: dart.nullable(core.Object) +})); +dart.setLibraryUri(indexed_db.Cursor, I[146]); +dart.registerExtension("IDBCursor", indexed_db.Cursor); +indexed_db.CursorWithValue = class CursorWithValue extends indexed_db.Cursor { + get [S.$value]() { + return indexed_db._convertNativeToDart_IDBAny(this[S._get_value]); + } + get [S._get_value]() { + return this.value; + } +}; +dart.addTypeTests(indexed_db.CursorWithValue); +dart.addTypeCaches(indexed_db.CursorWithValue); +dart.setGetterSignature(indexed_db.CursorWithValue, () => ({ + __proto__: dart.getGetters(indexed_db.CursorWithValue.__proto__), + [S.$value]: dart.dynamic, + [S._get_value]: dart.dynamic +})); +dart.setLibraryUri(indexed_db.CursorWithValue, I[146]); +dart.registerExtension("IDBCursorWithValue", indexed_db.CursorWithValue); +html$.EventTarget = class EventTarget extends _interceptors.Interceptor { + get [S.$on]() { + return new html$.Events.new(this); + } + [S.$addEventListener](type, listener, useCapture = null) { + if (type == null) dart.nullFailed(I[147], 15797, 32, "type"); + if (listener != null) { + this[S._addEventListener](type, listener, useCapture); + } + } + [S.$removeEventListener](type, listener, useCapture = null) { + if (type == null) dart.nullFailed(I[147], 15807, 35, "type"); + if (listener != null) { + this[S._removeEventListener](type, listener, useCapture); + } + } + [S._addEventListener](...args) { + return this.addEventListener.apply(this, args); + } + [S.$dispatchEvent](...args) { + return this.dispatchEvent.apply(this, args); + } + [S._removeEventListener](...args) { + return this.removeEventListener.apply(this, args); + } +}; +(html$.EventTarget._created = function() { + html$.EventTarget.__proto__.new.call(this); + ; +}).prototype = html$.EventTarget.prototype; +dart.addTypeTests(html$.EventTarget); +dart.addTypeCaches(html$.EventTarget); +dart.setMethodSignature(html$.EventTarget, () => ({ + __proto__: dart.getMethods(html$.EventTarget.__proto__), + [S.$addEventListener]: dart.fnType(dart.void, [core.String, dart.nullable(dart.fnType(dart.dynamic, [html$.Event]))], [dart.nullable(core.bool)]), + [S.$removeEventListener]: dart.fnType(dart.void, [core.String, dart.nullable(dart.fnType(dart.dynamic, [html$.Event]))], [dart.nullable(core.bool)]), + [S._addEventListener]: dart.fnType(dart.void, [core.String, dart.nullable(dart.fnType(dart.dynamic, [html$.Event]))], [dart.nullable(core.bool)]), + [S.$dispatchEvent]: dart.fnType(core.bool, [html$.Event]), + [S._removeEventListener]: dart.fnType(dart.void, [core.String, dart.nullable(dart.fnType(dart.dynamic, [html$.Event]))], [dart.nullable(core.bool)]) +})); +dart.setGetterSignature(html$.EventTarget, () => ({ + __proto__: dart.getGetters(html$.EventTarget.__proto__), + [S.$on]: html$.Events +})); +dart.setLibraryUri(html$.EventTarget, I[148]); +dart.registerExtension("EventTarget", html$.EventTarget); +indexed_db.Database = class Database extends html$.EventTarget { + [S.$createObjectStore](name, opts) { + if (name == null) dart.nullFailed(I[145], 304, 40, "name"); + let keyPath = opts && 'keyPath' in opts ? opts.keyPath : null; + let autoIncrement = opts && 'autoIncrement' in opts ? opts.autoIncrement : null; + let options = new _js_helper.LinkedMap.new(); + if (keyPath != null) { + options[$_set]("keyPath", keyPath); + } + if (autoIncrement != null) { + options[$_set]("autoIncrement", autoIncrement); + } + return this[S._createObjectStore](name, options); + } + [S.$transaction](storeName_OR_storeNames, mode) { + if (mode == null) dart.nullFailed(I[145], 316, 59, "mode"); + if (mode !== "readonly" && mode !== "readwrite") { + dart.throw(new core.ArgumentError.new(mode)); + } + return this[S._transaction](storeName_OR_storeNames, mode); + } + [S.$transactionStore](storeName, mode) { + if (storeName == null) dart.nullFailed(I[145], 330, 39, "storeName"); + if (mode == null) dart.nullFailed(I[145], 330, 57, "mode"); + if (mode !== "readonly" && mode !== "readwrite") { + dart.throw(new core.ArgumentError.new(mode)); + } + return this[S._transaction](storeName, mode); + } + [S.$transactionList](storeNames, mode) { + if (storeNames == null) dart.nullFailed(I[145], 340, 44, "storeNames"); + if (mode == null) dart.nullFailed(I[145], 340, 63, "mode"); + if (mode !== "readonly" && mode !== "readwrite") { + dart.throw(new core.ArgumentError.new(mode)); + } + let storeNames_1 = html_common.convertDartToNative_StringArray(storeNames); + return this[S._transaction](storeNames_1, mode); + } + [S.$transactionStores](storeNames, mode) { + if (storeNames == null) dart.nullFailed(I[145], 348, 47, "storeNames"); + if (mode == null) dart.nullFailed(I[145], 348, 66, "mode"); + if (mode !== "readonly" && mode !== "readwrite") { + dart.throw(new core.ArgumentError.new(mode)); + } + return this[S._transaction](storeNames, mode); + } + [S._transaction](...args) { + return this.transaction.apply(this, args); + } + get [$name]() { + return this.name; + } + get [S.$objectStoreNames]() { + return this.objectStoreNames; + } + get [S.$version]() { + return this.version; + } + [S.$close](...args) { + return this.close.apply(this, args); + } + [S._createObjectStore](name, options = null) { + if (name == null) dart.nullFailed(I[145], 411, 41, "name"); + if (options != null) { + let options_1 = html_common.convertDartToNative_Dictionary(options); + return this[S._createObjectStore_1](name, options_1); + } + return this[S._createObjectStore_2](name); + } + [S._createObjectStore_1](...args) { + return this.createObjectStore.apply(this, args); + } + [S._createObjectStore_2](...args) { + return this.createObjectStore.apply(this, args); + } + [S.$deleteObjectStore](...args) { + return this.deleteObjectStore.apply(this, args); + } + get [S.$onAbort]() { + return indexed_db.Database.abortEvent.forTarget(this); + } + get [S.$onClose]() { + return indexed_db.Database.closeEvent.forTarget(this); + } + get [S.$onError]() { + return indexed_db.Database.errorEvent.forTarget(this); + } + get [S.$onVersionChange]() { + return indexed_db.Database.versionChangeEvent.forTarget(this); + } +}; +dart.addTypeTests(indexed_db.Database); +dart.addTypeCaches(indexed_db.Database); +dart.setMethodSignature(indexed_db.Database, () => ({ + __proto__: dart.getMethods(indexed_db.Database.__proto__), + [S.$createObjectStore]: dart.fnType(indexed_db.ObjectStore, [core.String], {autoIncrement: dart.nullable(core.bool), keyPath: dart.dynamic}, {}), + [S.$transaction]: dart.fnType(indexed_db.Transaction, [dart.dynamic, core.String]), + [S.$transactionStore]: dart.fnType(indexed_db.Transaction, [core.String, core.String]), + [S.$transactionList]: dart.fnType(indexed_db.Transaction, [core.List$(core.String), core.String]), + [S.$transactionStores]: dart.fnType(indexed_db.Transaction, [html$.DomStringList, core.String]), + [S._transaction]: dart.fnType(indexed_db.Transaction, [dart.dynamic, dart.dynamic]), + [S.$close]: dart.fnType(dart.void, []), + [S._createObjectStore]: dart.fnType(indexed_db.ObjectStore, [core.String], [dart.nullable(core.Map)]), + [S._createObjectStore_1]: dart.fnType(indexed_db.ObjectStore, [dart.dynamic, dart.dynamic]), + [S._createObjectStore_2]: dart.fnType(indexed_db.ObjectStore, [dart.dynamic]), + [S.$deleteObjectStore]: dart.fnType(dart.void, [core.String]) +})); +dart.setGetterSignature(indexed_db.Database, () => ({ + __proto__: dart.getGetters(indexed_db.Database.__proto__), + [$name]: dart.nullable(core.String), + [S.$objectStoreNames]: dart.nullable(core.List$(core.String)), + [S.$version]: dart.nullable(core.int), + [S.$onAbort]: async.Stream$(html$.Event), + [S.$onClose]: async.Stream$(html$.Event), + [S.$onError]: async.Stream$(html$.Event), + [S.$onVersionChange]: async.Stream$(indexed_db.VersionChangeEvent) +})); +dart.setLibraryUri(indexed_db.Database, I[146]); +dart.defineLazy(indexed_db.Database, { + /*indexed_db.Database.abortEvent*/get abortEvent() { + return C[214] || CT.C214; + }, + /*indexed_db.Database.closeEvent*/get closeEvent() { + return C[215] || CT.C215; + }, + /*indexed_db.Database.errorEvent*/get errorEvent() { + return C[216] || CT.C216; + }, + /*indexed_db.Database.versionChangeEvent*/get versionChangeEvent() { + return C[217] || CT.C217; + } +}, false); +dart.registerExtension("IDBDatabase", indexed_db.Database); +indexed_db.IdbFactory = class IdbFactory extends _interceptors.Interceptor { + static get supported() { + return !!(window.indexedDB || window.webkitIndexedDB || window.mozIndexedDB); + } + [S.$open](name, opts) { + if (name == null) dart.nullFailed(I[145], 467, 32, "name"); + let version = opts && 'version' in opts ? opts.version : null; + let onUpgradeNeeded = opts && 'onUpgradeNeeded' in opts ? opts.onUpgradeNeeded : null; + let onBlocked = opts && 'onBlocked' in opts ? opts.onBlocked : null; + if (version == null !== (onUpgradeNeeded == null)) { + return T$0.FutureOfDatabase().error(new core.ArgumentError.new("version and onUpgradeNeeded must be specified together")); + } + try { + let request = null; + if (version != null) { + request = this[S._open](name, version); + } else { + request = this[S._open](name); + } + if (onUpgradeNeeded != null) { + request[S.$onUpgradeNeeded].listen(onUpgradeNeeded); + } + if (onBlocked != null) { + request[S.$onBlocked].listen(onBlocked); + } + return indexed_db._completeRequest(indexed_db.Database, request); + } catch (e$) { + let e = dart.getThrown(e$); + let stacktrace = dart.stackTrace(e$); + if (core.Object.is(e)) { + return T$0.FutureOfDatabase().error(e, stacktrace); + } else + throw e$; + } + } + [S.$deleteDatabase](name, opts) { + if (name == null) dart.nullFailed(I[145], 495, 44, "name"); + let onBlocked = opts && 'onBlocked' in opts ? opts.onBlocked : null; + try { + let request = this[S._deleteDatabase](name); + if (onBlocked != null) { + request[S.$onBlocked].listen(onBlocked); + } + let completer = T$0.CompleterOfIdbFactory().sync(); + request[S.$onSuccess].listen(dart.fn(e => { + if (e == null) dart.nullFailed(I[145], 503, 33, "e"); + completer.complete(this); + }, T$0.EventTovoid())); + request[S.$onError].listen(dart.bind(completer, 'completeError')); + return completer.future; + } catch (e$) { + let e = dart.getThrown(e$); + let stacktrace = dart.stackTrace(e$); + if (core.Object.is(e)) { + return T$0.FutureOfIdbFactory().error(e, stacktrace); + } else + throw e$; + } + } + get [S.$supportsDatabaseNames]() { + return dart.test(indexed_db.IdbFactory.supported) && !!(this.getDatabaseNames || this.webkitGetDatabaseNames); + } + [S.$cmp](...args) { + return this.cmp.apply(this, args); + } + [S._deleteDatabase](...args) { + return this.deleteDatabase.apply(this, args); + } + [S._open](...args) { + return this.open.apply(this, args); + } +}; +dart.addTypeTests(indexed_db.IdbFactory); +dart.addTypeCaches(indexed_db.IdbFactory); +dart.setMethodSignature(indexed_db.IdbFactory, () => ({ + __proto__: dart.getMethods(indexed_db.IdbFactory.__proto__), + [S.$open]: dart.fnType(async.Future$(indexed_db.Database), [core.String], {onBlocked: dart.nullable(dart.fnType(dart.void, [html$.Event])), onUpgradeNeeded: dart.nullable(dart.fnType(dart.void, [indexed_db.VersionChangeEvent])), version: dart.nullable(core.int)}, {}), + [S.$deleteDatabase]: dart.fnType(async.Future$(indexed_db.IdbFactory), [core.String], {onBlocked: dart.nullable(dart.fnType(dart.void, [html$.Event]))}, {}), + [S.$cmp]: dart.fnType(core.int, [core.Object, core.Object]), + [S._deleteDatabase]: dart.fnType(indexed_db.OpenDBRequest, [core.String]), + [S._open]: dart.fnType(indexed_db.OpenDBRequest, [core.String], [dart.nullable(core.int)]) +})); +dart.setGetterSignature(indexed_db.IdbFactory, () => ({ + __proto__: dart.getGetters(indexed_db.IdbFactory.__proto__), + [S.$supportsDatabaseNames]: core.bool +})); +dart.setLibraryUri(indexed_db.IdbFactory, I[146]); +dart.registerExtension("IDBFactory", indexed_db.IdbFactory); +indexed_db.Index = class Index extends _interceptors.Interceptor { + [S.$count](key_OR_range = null) { + try { + let request = this[S._count$2](key_OR_range); + return indexed_db._completeRequest(core.int, request); + } catch (e$) { + let e = dart.getThrown(e$); + let stacktrace = dart.stackTrace(e$); + if (core.Object.is(e)) { + return T$0.FutureOfint().error(e, stacktrace); + } else + throw e$; + } + } + [S.$get](key) { + try { + let request = this[S._get](core.Object.as(key)); + return indexed_db._completeRequest(dart.dynamic, request); + } catch (e$) { + let e = dart.getThrown(e$); + let stacktrace = dart.stackTrace(e$); + if (core.Object.is(e)) { + return async.Future.error(e, stacktrace); + } else + throw e$; + } + } + [S.$getKey](key) { + try { + let request = this[S._getKey](core.Object.as(key)); + return indexed_db._completeRequest(dart.dynamic, request); + } catch (e$) { + let e = dart.getThrown(e$); + let stacktrace = dart.stackTrace(e$); + if (core.Object.is(e)) { + return async.Future.error(e, stacktrace); + } else + throw e$; + } + } + [S.$openCursor](opts) { + let key = opts && 'key' in opts ? opts.key : null; + let range = opts && 'range' in opts ? opts.range : null; + let direction = opts && 'direction' in opts ? opts.direction : null; + let autoAdvance = opts && 'autoAdvance' in opts ? opts.autoAdvance : null; + let key_OR_range = null; + if (key != null) { + if (range != null) { + dart.throw(new core.ArgumentError.new("Cannot specify both key and range.")); + } + key_OR_range = key; + } else { + key_OR_range = range; + } + let request = null; + if (direction == null) { + request = this[S._openCursor](key_OR_range, "next"); + } else { + request = this[S._openCursor](key_OR_range, direction); + } + return indexed_db.ObjectStore._cursorStreamFromResult(indexed_db.CursorWithValue, indexed_db.Request.as(request), autoAdvance); + } + [S.$openKeyCursor](opts) { + let key = opts && 'key' in opts ? opts.key : null; + let range = opts && 'range' in opts ? opts.range : null; + let direction = opts && 'direction' in opts ? opts.direction : null; + let autoAdvance = opts && 'autoAdvance' in opts ? opts.autoAdvance : null; + let key_OR_range = null; + if (key != null) { + if (range != null) { + dart.throw(new core.ArgumentError.new("Cannot specify both key and range.")); + } + key_OR_range = key; + } else { + key_OR_range = range; + } + let request = null; + if (direction == null) { + request = this[S._openKeyCursor](key_OR_range, "next"); + } else { + request = this[S._openKeyCursor](key_OR_range, direction); + } + return indexed_db.ObjectStore._cursorStreamFromResult(indexed_db.Cursor, indexed_db.Request.as(request), autoAdvance); + } + get [S.$keyPath]() { + return this.keyPath; + } + get [S.$multiEntry]() { + return this.multiEntry; + } + get [$name]() { + return this.name; + } + set [$name](value) { + this.name = value; + } + get [S.$objectStore]() { + return this.objectStore; + } + get [S.$unique]() { + return this.unique; + } + [S._count$2](...args) { + return this.count.apply(this, args); + } + [S._get](...args) { + return this.get.apply(this, args); + } + [S.$getAll](...args) { + return this.getAll.apply(this, args); + } + [S.$getAllKeys](...args) { + return this.getAllKeys.apply(this, args); + } + [S._getKey](...args) { + return this.getKey.apply(this, args); + } + [S._openCursor](...args) { + return this.openCursor.apply(this, args); + } + [S._openKeyCursor](...args) { + return this.openKeyCursor.apply(this, args); + } +}; +dart.addTypeTests(indexed_db.Index); +dart.addTypeCaches(indexed_db.Index); +dart.setMethodSignature(indexed_db.Index, () => ({ + __proto__: dart.getMethods(indexed_db.Index.__proto__), + [S.$count]: dart.fnType(async.Future$(core.int), [], [dart.dynamic]), + [S.$get]: dart.fnType(async.Future, [dart.dynamic]), + [S.$getKey]: dart.fnType(async.Future, [dart.dynamic]), + [S.$openCursor]: dart.fnType(async.Stream$(indexed_db.CursorWithValue), [], {autoAdvance: dart.nullable(core.bool), direction: dart.nullable(core.String), key: dart.dynamic, range: dart.nullable(indexed_db.KeyRange)}, {}), + [S.$openKeyCursor]: dart.fnType(async.Stream$(indexed_db.Cursor), [], {autoAdvance: dart.nullable(core.bool), direction: dart.nullable(core.String), key: dart.dynamic, range: dart.nullable(indexed_db.KeyRange)}, {}), + [S._count$2]: dart.fnType(indexed_db.Request, [dart.nullable(core.Object)]), + [S._get]: dart.fnType(indexed_db.Request, [core.Object]), + [S.$getAll]: dart.fnType(indexed_db.Request, [dart.nullable(core.Object)], [dart.nullable(core.int)]), + [S.$getAllKeys]: dart.fnType(indexed_db.Request, [dart.nullable(core.Object)], [dart.nullable(core.int)]), + [S._getKey]: dart.fnType(indexed_db.Request, [core.Object]), + [S._openCursor]: dart.fnType(indexed_db.Request, [dart.nullable(core.Object)], [dart.nullable(core.String)]), + [S._openKeyCursor]: dart.fnType(indexed_db.Request, [dart.nullable(core.Object)], [dart.nullable(core.String)]) +})); +dart.setGetterSignature(indexed_db.Index, () => ({ + __proto__: dart.getGetters(indexed_db.Index.__proto__), + [S.$keyPath]: dart.nullable(core.Object), + [S.$multiEntry]: dart.nullable(core.bool), + [$name]: dart.nullable(core.String), + [S.$objectStore]: dart.nullable(indexed_db.ObjectStore), + [S.$unique]: dart.nullable(core.bool) +})); +dart.setSetterSignature(indexed_db.Index, () => ({ + __proto__: dart.getSetters(indexed_db.Index.__proto__), + [$name]: dart.nullable(core.String) +})); +dart.setLibraryUri(indexed_db.Index, I[146]); +dart.registerExtension("IDBIndex", indexed_db.Index); +indexed_db.KeyRange = class KeyRange extends _interceptors.Interceptor { + static only(value) { + return indexed_db._KeyRangeFactoryProvider.createKeyRange_only(value); + } + static lowerBound(bound, open = false) { + if (open == null) dart.nullFailed(I[145], 707, 52, "open"); + return indexed_db._KeyRangeFactoryProvider.createKeyRange_lowerBound(bound, open); + } + static upperBound(bound, open = false) { + if (open == null) dart.nullFailed(I[145], 710, 52, "open"); + return indexed_db._KeyRangeFactoryProvider.createKeyRange_upperBound(bound, open); + } + static bound(lower, upper, lowerOpen = false, upperOpen = false) { + if (lowerOpen == null) dart.nullFailed(I[145], 714, 17, "lowerOpen"); + if (upperOpen == null) dart.nullFailed(I[145], 714, 41, "upperOpen"); + return indexed_db._KeyRangeFactoryProvider.createKeyRange_bound(lower, upper, lowerOpen, upperOpen); + } + get [S.$lower]() { + return this.lower; + } + get [S.$lowerOpen]() { + return this.lowerOpen; + } + get [S.$upper]() { + return this.upper; + } + get [S.$upperOpen]() { + return this.upperOpen; + } + [S.$includes](...args) { + return this.includes.apply(this, args); + } +}; +dart.addTypeTests(indexed_db.KeyRange); +dart.addTypeCaches(indexed_db.KeyRange); +dart.setMethodSignature(indexed_db.KeyRange, () => ({ + __proto__: dart.getMethods(indexed_db.KeyRange.__proto__), + [S.$includes]: dart.fnType(core.bool, [core.Object]) +})); +dart.setGetterSignature(indexed_db.KeyRange, () => ({ + __proto__: dart.getGetters(indexed_db.KeyRange.__proto__), + [S.$lower]: dart.nullable(core.Object), + [S.$lowerOpen]: dart.nullable(core.bool), + [S.$upper]: dart.nullable(core.Object), + [S.$upperOpen]: dart.nullable(core.bool) +})); +dart.setLibraryUri(indexed_db.KeyRange, I[146]); +dart.registerExtension("IDBKeyRange", indexed_db.KeyRange); +indexed_db.ObjectStore = class ObjectStore extends _interceptors.Interceptor { + [$add](value, key = null) { + try { + let request = null; + if (key != null) { + request = this[S._add$3](value, key); + } else { + request = this[S._add$3](value); + } + return indexed_db._completeRequest(dart.dynamic, indexed_db.Request.as(request)); + } catch (e$) { + let e = dart.getThrown(e$); + let stacktrace = dart.stackTrace(e$); + if (core.Object.is(e)) { + return async.Future.error(e, stacktrace); + } else + throw e$; + } + } + [$clear]() { + try { + return indexed_db._completeRequest(dart.dynamic, this[S._clear$2]()); + } catch (e$) { + let e = dart.getThrown(e$); + let stacktrace = dart.stackTrace(e$); + if (core.Object.is(e)) { + return async.Future.error(e, stacktrace); + } else + throw e$; + } + } + [S.$delete](key_OR_keyRange) { + try { + return indexed_db._completeRequest(dart.dynamic, this[S._delete$1](core.Object.as(key_OR_keyRange))); + } catch (e$) { + let e = dart.getThrown(e$); + let stacktrace = dart.stackTrace(e$); + if (core.Object.is(e)) { + return async.Future.error(e, stacktrace); + } else + throw e$; + } + } + [S.$count](key_OR_range = null) { + try { + let request = this[S._count$2](key_OR_range); + return indexed_db._completeRequest(core.int, request); + } catch (e$) { + let e = dart.getThrown(e$); + let stacktrace = dart.stackTrace(e$); + if (core.Object.is(e)) { + return T$0.FutureOfint().error(e, stacktrace); + } else + throw e$; + } + } + [S.$put](value, key = null) { + try { + let request = null; + if (key != null) { + request = this[S._put](value, key); + } else { + request = this[S._put](value); + } + return indexed_db._completeRequest(dart.dynamic, indexed_db.Request.as(request)); + } catch (e$) { + let e = dart.getThrown(e$); + let stacktrace = dart.stackTrace(e$); + if (core.Object.is(e)) { + return async.Future.error(e, stacktrace); + } else + throw e$; + } + } + [S.$getObject](key) { + try { + let request = this[S._get](core.Object.as(key)); + return indexed_db._completeRequest(dart.dynamic, request); + } catch (e$) { + let e = dart.getThrown(e$); + let stacktrace = dart.stackTrace(e$); + if (core.Object.is(e)) { + return async.Future.error(e, stacktrace); + } else + throw e$; + } + } + [S.$openCursor](opts) { + let key = opts && 'key' in opts ? opts.key : null; + let range = opts && 'range' in opts ? opts.range : null; + let direction = opts && 'direction' in opts ? opts.direction : null; + let autoAdvance = opts && 'autoAdvance' in opts ? opts.autoAdvance : null; + let key_OR_range = null; + if (key != null) { + if (range != null) { + dart.throw(new core.ArgumentError.new("Cannot specify both key and range.")); + } + key_OR_range = key; + } else { + key_OR_range = range; + } + let request = null; + if (direction == null) { + request = this[S._openCursor](key_OR_range); + } else { + request = this[S._openCursor](key_OR_range, direction); + } + return indexed_db.ObjectStore._cursorStreamFromResult(indexed_db.CursorWithValue, indexed_db.Request.as(request), autoAdvance); + } + [S.$createIndex](name, keyPath, opts) { + if (name == null) dart.nullFailed(I[145], 861, 28, "name"); + let unique = opts && 'unique' in opts ? opts.unique : null; + let multiEntry = opts && 'multiEntry' in opts ? opts.multiEntry : null; + let options = new _js_helper.LinkedMap.new(); + if (unique != null) { + options[$_set]("unique", unique); + } + if (multiEntry != null) { + options[$_set]("multiEntry", multiEntry); + } + return this[S._createIndex](name, core.Object.as(keyPath), options); + } + get [S.$autoIncrement]() { + return this.autoIncrement; + } + get [S.$indexNames]() { + return this.indexNames; + } + get [S.$keyPath]() { + return this.keyPath; + } + get [$name]() { + return this.name; + } + set [$name](value) { + this.name = value; + } + get [S.$transaction]() { + return this.transaction; + } + [S._add$3](value, key = null) { + if (key != null) { + let value_1 = html_common.convertDartToNative_SerializedScriptValue(value); + let key_2 = html_common.convertDartToNative_SerializedScriptValue(key); + return this[S._add_1](value_1, key_2); + } + let value_1 = html_common.convertDartToNative_SerializedScriptValue(value); + return this[S._add_2](value_1); + } + [S._add_1](...args) { + return this.add.apply(this, args); + } + [S._add_2](...args) { + return this.add.apply(this, args); + } + [S._clear$2](...args) { + return this.clear.apply(this, args); + } + [S._count$2](...args) { + return this.count.apply(this, args); + } + [S._createIndex](name, keyPath, options = null) { + if (name == null) dart.nullFailed(I[145], 923, 29, "name"); + if (keyPath == null) dart.nullFailed(I[145], 923, 42, "keyPath"); + if (options != null) { + let options_1 = html_common.convertDartToNative_Dictionary(options); + return this[S._createIndex_1](name, keyPath, options_1); + } + return this[S._createIndex_2](name, keyPath); + } + [S._createIndex_1](...args) { + return this.createIndex.apply(this, args); + } + [S._createIndex_2](...args) { + return this.createIndex.apply(this, args); + } + [S._delete$1](...args) { + return this.delete.apply(this, args); + } + [S.$deleteIndex](...args) { + return this.deleteIndex.apply(this, args); + } + [S._get](...args) { + return this.get.apply(this, args); + } + [S.$getAll](...args) { + return this.getAll.apply(this, args); + } + [S.$getAllKeys](...args) { + return this.getAllKeys.apply(this, args); + } + [S.$getKey](...args) { + return this.getKey.apply(this, args); + } + [S.$index](...args) { + return this.index.apply(this, args); + } + [S._openCursor](...args) { + return this.openCursor.apply(this, args); + } + [S.$openKeyCursor](...args) { + return this.openKeyCursor.apply(this, args); + } + [S._put](value, key = null) { + if (key != null) { + let value_1 = html_common.convertDartToNative_SerializedScriptValue(value); + let key_2 = html_common.convertDartToNative_SerializedScriptValue(key); + return this[S._put_1](value_1, key_2); + } + let value_1 = html_common.convertDartToNative_SerializedScriptValue(value); + return this[S._put_2](value_1); + } + [S._put_1](...args) { + return this.put.apply(this, args); + } + [S._put_2](...args) { + return this.put.apply(this, args); + } + static _cursorStreamFromResult(T, request, autoAdvance) { + if (request == null) dart.nullFailed(I[145], 991, 15, "request"); + let controller = async.StreamController$(T).new({sync: true}); + request[S.$onError].listen(dart.bind(controller, 'addError')); + request[S.$onSuccess].listen(dart.fn(e => { + if (e == null) dart.nullFailed(I[145], 1000, 31, "e"); + let cursor = dart.nullable(T).as(request[S.$result]); + if (cursor == null) { + controller.close(); + } else { + controller.add(cursor); + if (autoAdvance === true && dart.test(controller.hasListener)) { + cursor[S.$next](); + } + } + }, T$0.EventTovoid())); + return controller.stream; + } +}; +dart.addTypeTests(indexed_db.ObjectStore); +dart.addTypeCaches(indexed_db.ObjectStore); +dart.setMethodSignature(indexed_db.ObjectStore, () => ({ + __proto__: dart.getMethods(indexed_db.ObjectStore.__proto__), + [$add]: dart.fnType(async.Future, [dart.dynamic], [dart.dynamic]), + [$clear]: dart.fnType(async.Future, []), + [S.$delete]: dart.fnType(async.Future, [dart.dynamic]), + [S.$count]: dart.fnType(async.Future$(core.int), [], [dart.dynamic]), + [S.$put]: dart.fnType(async.Future, [dart.dynamic], [dart.dynamic]), + [S.$getObject]: dart.fnType(async.Future, [dart.dynamic]), + [S.$openCursor]: dart.fnType(async.Stream$(indexed_db.CursorWithValue), [], {autoAdvance: dart.nullable(core.bool), direction: dart.nullable(core.String), key: dart.dynamic, range: dart.nullable(indexed_db.KeyRange)}, {}), + [S.$createIndex]: dart.fnType(indexed_db.Index, [core.String, dart.dynamic], {multiEntry: dart.nullable(core.bool), unique: dart.nullable(core.bool)}, {}), + [S._add$3]: dart.fnType(indexed_db.Request, [dart.dynamic], [dart.dynamic]), + [S._add_1]: dart.fnType(indexed_db.Request, [dart.dynamic, dart.dynamic]), + [S._add_2]: dart.fnType(indexed_db.Request, [dart.dynamic]), + [S._clear$2]: dart.fnType(indexed_db.Request, []), + [S._count$2]: dart.fnType(indexed_db.Request, [dart.nullable(core.Object)]), + [S._createIndex]: dart.fnType(indexed_db.Index, [core.String, core.Object], [dart.nullable(core.Map)]), + [S._createIndex_1]: dart.fnType(indexed_db.Index, [dart.dynamic, dart.dynamic, dart.dynamic]), + [S._createIndex_2]: dart.fnType(indexed_db.Index, [dart.dynamic, dart.dynamic]), + [S._delete$1]: dart.fnType(indexed_db.Request, [core.Object]), + [S.$deleteIndex]: dart.fnType(dart.void, [core.String]), + [S._get]: dart.fnType(indexed_db.Request, [core.Object]), + [S.$getAll]: dart.fnType(indexed_db.Request, [dart.nullable(core.Object)], [dart.nullable(core.int)]), + [S.$getAllKeys]: dart.fnType(indexed_db.Request, [dart.nullable(core.Object)], [dart.nullable(core.int)]), + [S.$getKey]: dart.fnType(indexed_db.Request, [core.Object]), + [S.$index]: dart.fnType(indexed_db.Index, [core.String]), + [S._openCursor]: dart.fnType(indexed_db.Request, [dart.nullable(core.Object)], [dart.nullable(core.String)]), + [S.$openKeyCursor]: dart.fnType(indexed_db.Request, [dart.nullable(core.Object)], [dart.nullable(core.String)]), + [S._put]: dart.fnType(indexed_db.Request, [dart.dynamic], [dart.dynamic]), + [S._put_1]: dart.fnType(indexed_db.Request, [dart.dynamic, dart.dynamic]), + [S._put_2]: dart.fnType(indexed_db.Request, [dart.dynamic]) +})); +dart.setGetterSignature(indexed_db.ObjectStore, () => ({ + __proto__: dart.getGetters(indexed_db.ObjectStore.__proto__), + [S.$autoIncrement]: dart.nullable(core.bool), + [S.$indexNames]: dart.nullable(core.List$(core.String)), + [S.$keyPath]: dart.nullable(core.Object), + [$name]: dart.nullable(core.String), + [S.$transaction]: dart.nullable(indexed_db.Transaction) +})); +dart.setSetterSignature(indexed_db.ObjectStore, () => ({ + __proto__: dart.getSetters(indexed_db.ObjectStore.__proto__), + [$name]: dart.nullable(core.String) +})); +dart.setLibraryUri(indexed_db.ObjectStore, I[146]); +dart.registerExtension("IDBObjectStore", indexed_db.ObjectStore); +indexed_db.Observation = class Observation extends _interceptors.Interceptor { + get [S.$key]() { + return this.key; + } + get [S.$type]() { + return this.type; + } + get [S.$value]() { + return this.value; + } +}; +dart.addTypeTests(indexed_db.Observation); +dart.addTypeCaches(indexed_db.Observation); +dart.setGetterSignature(indexed_db.Observation, () => ({ + __proto__: dart.getGetters(indexed_db.Observation.__proto__), + [S.$key]: dart.nullable(core.Object), + [S.$type]: dart.nullable(core.String), + [S.$value]: dart.nullable(core.Object) +})); +dart.setLibraryUri(indexed_db.Observation, I[146]); +dart.registerExtension("IDBObservation", indexed_db.Observation); +indexed_db.Observer = class Observer extends _interceptors.Interceptor { + static new(callback) { + if (callback == null) dart.nullFailed(I[145], 1042, 37, "callback"); + let callback_1 = _js_helper.convertDartClosureToJS(T$0.ObserverChangesTovoid(), callback, 1); + return indexed_db.Observer._create_1(callback_1); + } + static _create_1(callback) { + return new IDBObserver(callback); + } + [S.$observe](db, tx, options) { + if (db == null) dart.nullFailed(I[145], 1049, 25, "db"); + if (tx == null) dart.nullFailed(I[145], 1049, 41, "tx"); + if (options == null) dart.nullFailed(I[145], 1049, 49, "options"); + let options_1 = html_common.convertDartToNative_Dictionary(options); + this[S._observe_1](db, tx, options_1); + return; + } + [S._observe_1](...args) { + return this.observe.apply(this, args); + } + [S.$unobserve](...args) { + return this.unobserve.apply(this, args); + } +}; +dart.addTypeTests(indexed_db.Observer); +dart.addTypeCaches(indexed_db.Observer); +dart.setMethodSignature(indexed_db.Observer, () => ({ + __proto__: dart.getMethods(indexed_db.Observer.__proto__), + [S.$observe]: dart.fnType(dart.void, [indexed_db.Database, indexed_db.Transaction, core.Map]), + [S._observe_1]: dart.fnType(dart.void, [indexed_db.Database, indexed_db.Transaction, dart.dynamic]), + [S.$unobserve]: dart.fnType(dart.void, [indexed_db.Database]) +})); +dart.setLibraryUri(indexed_db.Observer, I[146]); +dart.registerExtension("IDBObserver", indexed_db.Observer); +indexed_db.ObserverChanges = class ObserverChanges extends _interceptors.Interceptor { + get [S.$database]() { + return this.database; + } + get [S.$records]() { + return this.records; + } + get [S.$transaction]() { + return this.transaction; + } +}; +dart.addTypeTests(indexed_db.ObserverChanges); +dart.addTypeCaches(indexed_db.ObserverChanges); +dart.setGetterSignature(indexed_db.ObserverChanges, () => ({ + __proto__: dart.getGetters(indexed_db.ObserverChanges.__proto__), + [S.$database]: dart.nullable(indexed_db.Database), + [S.$records]: dart.nullable(core.Object), + [S.$transaction]: dart.nullable(indexed_db.Transaction) +})); +dart.setLibraryUri(indexed_db.ObserverChanges, I[146]); +dart.registerExtension("IDBObserverChanges", indexed_db.ObserverChanges); +indexed_db.Request = class Request extends html$.EventTarget { + get [S.$error]() { + return this.error; + } + get [S.$readyState]() { + return this.readyState; + } + get [S.$result]() { + return indexed_db._convertNativeToDart_IDBAny(this[S._get_result]); + } + get [S._get_result]() { + return this.result; + } + get [S.$source]() { + return this.source; + } + get [S.$transaction]() { + return this.transaction; + } + get [S.$onError]() { + return indexed_db.Request.errorEvent.forTarget(this); + } + get [S.$onSuccess]() { + return indexed_db.Request.successEvent.forTarget(this); + } +}; +dart.addTypeTests(indexed_db.Request); +dart.addTypeCaches(indexed_db.Request); +dart.setGetterSignature(indexed_db.Request, () => ({ + __proto__: dart.getGetters(indexed_db.Request.__proto__), + [S.$error]: dart.nullable(html$.DomException), + [S.$readyState]: dart.nullable(core.String), + [S.$result]: dart.dynamic, + [S._get_result]: dart.dynamic, + [S.$source]: dart.nullable(core.Object), + [S.$transaction]: dart.nullable(indexed_db.Transaction), + [S.$onError]: async.Stream$(html$.Event), + [S.$onSuccess]: async.Stream$(html$.Event) +})); +dart.setLibraryUri(indexed_db.Request, I[146]); +dart.defineLazy(indexed_db.Request, { + /*indexed_db.Request.errorEvent*/get errorEvent() { + return C[216] || CT.C216; + }, + /*indexed_db.Request.successEvent*/get successEvent() { + return C[218] || CT.C218; + } +}, false); +dart.registerExtension("IDBRequest", indexed_db.Request); +indexed_db.OpenDBRequest = class OpenDBRequest extends indexed_db.Request { + get [S.$onBlocked]() { + return indexed_db.OpenDBRequest.blockedEvent.forTarget(this); + } + get [S.$onUpgradeNeeded]() { + return indexed_db.OpenDBRequest.upgradeNeededEvent.forTarget(this); + } +}; +dart.addTypeTests(indexed_db.OpenDBRequest); +dart.addTypeCaches(indexed_db.OpenDBRequest); +dart.setGetterSignature(indexed_db.OpenDBRequest, () => ({ + __proto__: dart.getGetters(indexed_db.OpenDBRequest.__proto__), + [S.$onBlocked]: async.Stream$(html$.Event), + [S.$onUpgradeNeeded]: async.Stream$(indexed_db.VersionChangeEvent) +})); +dart.setLibraryUri(indexed_db.OpenDBRequest, I[146]); +dart.defineLazy(indexed_db.OpenDBRequest, { + /*indexed_db.OpenDBRequest.blockedEvent*/get blockedEvent() { + return C[219] || CT.C219; + }, + /*indexed_db.OpenDBRequest.upgradeNeededEvent*/get upgradeNeededEvent() { + return C[220] || CT.C220; + } +}, false); +dart.registerExtension("IDBOpenDBRequest", indexed_db.OpenDBRequest); +dart.registerExtension("IDBVersionChangeRequest", indexed_db.OpenDBRequest); +indexed_db.Transaction = class Transaction extends html$.EventTarget { + get [S.$completed]() { + let completer = T$0.CompleterOfDatabase().new(); + this[S.$onComplete].first.then(core.Null, dart.fn(_ => { + if (_ == null) dart.nullFailed(I[145], 1181, 33, "_"); + completer.complete(this.db); + }, T$0.EventToNull())); + this[S.$onError].first.then(core.Null, dart.fn(e => { + if (e == null) dart.nullFailed(I[145], 1185, 30, "e"); + completer.completeError(e); + }, T$0.EventToNull())); + this[S.$onAbort].first.then(core.Null, dart.fn(e => { + if (e == null) dart.nullFailed(I[145], 1189, 30, "e"); + if (!dart.test(completer.isCompleted)) { + completer.completeError(e); + } + }, T$0.EventToNull())); + return completer.future; + } + get [S.$db]() { + return this.db; + } + get [S.$error]() { + return this.error; + } + get [S.$mode]() { + return this.mode; + } + get [S.$objectStoreNames]() { + return this.objectStoreNames; + } + [S.$abort](...args) { + return this.abort.apply(this, args); + } + [S.$objectStore](...args) { + return this.objectStore.apply(this, args); + } + get [S.$onAbort]() { + return indexed_db.Transaction.abortEvent.forTarget(this); + } + get [S.$onComplete]() { + return indexed_db.Transaction.completeEvent.forTarget(this); + } + get [S.$onError]() { + return indexed_db.Transaction.errorEvent.forTarget(this); + } +}; +dart.addTypeTests(indexed_db.Transaction); +dart.addTypeCaches(indexed_db.Transaction); +dart.setMethodSignature(indexed_db.Transaction, () => ({ + __proto__: dart.getMethods(indexed_db.Transaction.__proto__), + [S.$abort]: dart.fnType(dart.void, []), + [S.$objectStore]: dart.fnType(indexed_db.ObjectStore, [core.String]) +})); +dart.setGetterSignature(indexed_db.Transaction, () => ({ + __proto__: dart.getGetters(indexed_db.Transaction.__proto__), + [S.$completed]: async.Future$(indexed_db.Database), + [S.$db]: dart.nullable(indexed_db.Database), + [S.$error]: dart.nullable(html$.DomException), + [S.$mode]: dart.nullable(core.String), + [S.$objectStoreNames]: dart.nullable(core.List$(core.String)), + [S.$onAbort]: async.Stream$(html$.Event), + [S.$onComplete]: async.Stream$(html$.Event), + [S.$onError]: async.Stream$(html$.Event) +})); +dart.setLibraryUri(indexed_db.Transaction, I[146]); +dart.defineLazy(indexed_db.Transaction, { + /*indexed_db.Transaction.abortEvent*/get abortEvent() { + return C[214] || CT.C214; + }, + /*indexed_db.Transaction.completeEvent*/get completeEvent() { + return C[221] || CT.C221; + }, + /*indexed_db.Transaction.errorEvent*/get errorEvent() { + return C[216] || CT.C216; + } +}, false); +dart.registerExtension("IDBTransaction", indexed_db.Transaction); +html$.Event = class Event$ extends _interceptors.Interceptor { + static new(type, opts) { + if (type == null) dart.nullFailed(I[147], 15487, 24, "type"); + let canBubble = opts && 'canBubble' in opts ? opts.canBubble : true; + if (canBubble == null) dart.nullFailed(I[147], 15487, 36, "canBubble"); + let cancelable = opts && 'cancelable' in opts ? opts.cancelable : true; + if (cancelable == null) dart.nullFailed(I[147], 15487, 58, "cancelable"); + return html$.Event.eventType("Event", type, {canBubble: canBubble, cancelable: cancelable}); + } + static eventType(type, name, opts) { + if (type == null) dart.nullFailed(I[147], 15500, 34, "type"); + if (name == null) dart.nullFailed(I[147], 15500, 47, "name"); + let canBubble = opts && 'canBubble' in opts ? opts.canBubble : true; + if (canBubble == null) dart.nullFailed(I[147], 15501, 13, "canBubble"); + let cancelable = opts && 'cancelable' in opts ? opts.cancelable : true; + if (cancelable == null) dart.nullFailed(I[147], 15501, 35, "cancelable"); + let e = html$.document[S._createEvent](type); + e[S._initEvent](name, canBubble, cancelable); + return e; + } + get [S._selector]() { + return this._selector; + } + set [S._selector](value) { + this._selector = value; + } + get [S.$matchingTarget]() { + if (this[S._selector] == null) { + dart.throw(new core.UnsupportedError.new("Cannot call matchingTarget if this Event did" + " not arise as a result of event delegation.")); + } + let currentTarget = T$0.ElementN().as(this[S.$currentTarget]); + let target = T$0.ElementN().as(this[S.$target]); + let matchedTarget = null; + do { + if (dart.test(dart.nullCheck(target)[S.$matches](dart.nullCheck(this[S._selector])))) return target; + target = target[S.$parent]; + } while (target != null && !dart.equals(target, dart.nullCheck(currentTarget)[S.$parent])); + dart.throw(new core.StateError.new("No selector matched for populating matchedTarget.")); + } + get [S.$path]() { + return !!this.composedPath ? this.composedPath() : T$0.JSArrayOfEventTarget().of([]); + } + static __(type, eventInitDict = null) { + if (type == null) dart.nullFailed(I[147], 15534, 26, "type"); + if (eventInitDict != null) { + let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); + return html$.Event._create_1(type, eventInitDict_1); + } + return html$.Event._create_2(type); + } + static _create_1(type, eventInitDict) { + return new Event(type, eventInitDict); + } + static _create_2(type) { + return new Event(type); + } + get [S.$bubbles]() { + return this.bubbles; + } + get [S.$cancelable]() { + return this.cancelable; + } + get [S.$composed]() { + return this.composed; + } + get [S.$currentTarget]() { + return html$._convertNativeToDart_EventTarget(this[S._get_currentTarget]); + } + get [S._get_currentTarget]() { + return this.currentTarget; + } + get [S.$defaultPrevented]() { + return this.defaultPrevented; + } + get [S.$eventPhase]() { + return this.eventPhase; + } + get [S.$isTrusted]() { + return this.isTrusted; + } + get [S.$target]() { + return html$._convertNativeToDart_EventTarget(this[S._get_target]); + } + get [S._get_target]() { + return this.target; + } + get [S.$timeStamp]() { + return this.timeStamp; + } + get [S.$type]() { + return this.type; + } + [S.$composedPath](...args) { + return this.composedPath.apply(this, args); + } + [S._initEvent](...args) { + return this.initEvent.apply(this, args); + } + [S.$preventDefault](...args) { + return this.preventDefault.apply(this, args); + } + [S.$stopImmediatePropagation](...args) { + return this.stopImmediatePropagation.apply(this, args); + } + [S.$stopPropagation](...args) { + return this.stopPropagation.apply(this, args); + } +}; +dart.addTypeTests(html$.Event); +dart.addTypeCaches(html$.Event); +dart.setMethodSignature(html$.Event, () => ({ + __proto__: dart.getMethods(html$.Event.__proto__), + [S.$composedPath]: dart.fnType(core.List$(html$.EventTarget), []), + [S._initEvent]: dart.fnType(dart.void, [core.String], [dart.nullable(core.bool), dart.nullable(core.bool)]), + [S.$preventDefault]: dart.fnType(dart.void, []), + [S.$stopImmediatePropagation]: dart.fnType(dart.void, []), + [S.$stopPropagation]: dart.fnType(dart.void, []) +})); +dart.setGetterSignature(html$.Event, () => ({ + __proto__: dart.getGetters(html$.Event.__proto__), + [S._selector]: dart.nullable(core.String), + [S.$matchingTarget]: html$.Element, + [S.$path]: core.List$(html$.EventTarget), + [S.$bubbles]: dart.nullable(core.bool), + [S.$cancelable]: dart.nullable(core.bool), + [S.$composed]: dart.nullable(core.bool), + [S.$currentTarget]: dart.nullable(html$.EventTarget), + [S._get_currentTarget]: dart.dynamic, + [S.$defaultPrevented]: core.bool, + [S.$eventPhase]: core.int, + [S.$isTrusted]: dart.nullable(core.bool), + [S.$target]: dart.nullable(html$.EventTarget), + [S._get_target]: dart.dynamic, + [S.$timeStamp]: dart.nullable(core.num), + [S.$type]: core.String +})); +dart.setSetterSignature(html$.Event, () => ({ + __proto__: dart.getSetters(html$.Event.__proto__), + [S._selector]: dart.nullable(core.String) +})); +dart.setLibraryUri(html$.Event, I[148]); +dart.defineLazy(html$.Event, { + /*html$.Event.AT_TARGET*/get AT_TARGET() { + return 2; + }, + /*html$.Event.BUBBLING_PHASE*/get BUBBLING_PHASE() { + return 3; + }, + /*html$.Event.CAPTURING_PHASE*/get CAPTURING_PHASE() { + return 1; + } +}, false); +dart.registerExtension("Event", html$.Event); +dart.registerExtension("InputEvent", html$.Event); +dart.registerExtension("SubmitEvent", html$.Event); +indexed_db.VersionChangeEvent = class VersionChangeEvent extends html$.Event { + static new(type, eventInitDict = null) { + if (type == null) dart.nullFailed(I[145], 1266, 37, "type"); + if (eventInitDict != null) { + let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); + return indexed_db.VersionChangeEvent._create_1(type, eventInitDict_1); + } + return indexed_db.VersionChangeEvent._create_2(type); + } + static _create_1(type, eventInitDict) { + return new IDBVersionChangeEvent(type, eventInitDict); + } + static _create_2(type) { + return new IDBVersionChangeEvent(type); + } + get [S.$dataLoss]() { + return this.dataLoss; + } + get [S.$dataLossMessage]() { + return this.dataLossMessage; + } + get [S.$newVersion]() { + return this.newVersion; + } + get [S.$oldVersion]() { + return this.oldVersion; + } + get [S.$target]() { + return this.target; + } +}; +dart.addTypeTests(indexed_db.VersionChangeEvent); +dart.addTypeCaches(indexed_db.VersionChangeEvent); +dart.setGetterSignature(indexed_db.VersionChangeEvent, () => ({ + __proto__: dart.getGetters(indexed_db.VersionChangeEvent.__proto__), + [S.$dataLoss]: dart.nullable(core.String), + [S.$dataLossMessage]: dart.nullable(core.String), + [S.$newVersion]: dart.nullable(core.int), + [S.$oldVersion]: dart.nullable(core.int), + [S.$target]: indexed_db.OpenDBRequest +})); +dart.setLibraryUri(indexed_db.VersionChangeEvent, I[146]); +dart.registerExtension("IDBVersionChangeEvent", indexed_db.VersionChangeEvent); +indexed_db._convertNativeToDart_IDBKey = function _convertNativeToDart_IDBKey(nativeKey) { + function containsDate(object) { + if (dart.test(html_common.isJavaScriptDate(object))) return true; + if (core.List.is(object)) { + for (let i = 0; i < dart.notNull(object[$length]); i = i + 1) { + if (dart.dtest(containsDate(object[$_get](i)))) return true; + } + } + return false; + } + dart.fn(containsDate, T$0.dynamicTobool()); + if (dart.test(containsDate(nativeKey))) { + dart.throw(new core.UnimplementedError.new("Key containing DateTime")); + } + return nativeKey; +}; +indexed_db._convertDartToNative_IDBKey = function _convertDartToNative_IDBKey(dartKey) { + return dartKey; +}; +indexed_db._convertNativeToDart_IDBAny = function _convertNativeToDart_IDBAny(object) { + return html_common.convertNativeToDart_AcceptStructuredClone(object, {mustCopy: false}); +}; +indexed_db._completeRequest = function _completeRequest(T, request) { + if (request == null) dart.nullFailed(I[145], 544, 39, "request"); + let completer = async.Completer$(T).sync(); + request[S.$onSuccess].listen(dart.fn(e => { + if (e == null) dart.nullFailed(I[145], 548, 29, "e"); + let result = T.as(request[S.$result]); + completer.complete(result); + }, T$0.EventTovoid())); + request[S.$onError].listen(dart.bind(completer, 'completeError')); + return completer.future; +}; +dart.defineLazy(indexed_db, { + /*indexed_db._idbKey*/get _idbKey() { + return "JSExtendableArray|=Object|num|String"; + }, + /*indexed_db._annotation_Creates_IDBKey*/get _annotation_Creates_IDBKey() { + return C[222] || CT.C222; + }, + /*indexed_db._annotation_Returns_IDBKey*/get _annotation_Returns_IDBKey() { + return C[223] || CT.C223; + } +}, false); +html$.Node = class Node extends html$.EventTarget { + get [S.$nodes]() { + return new html$._ChildNodeListLazy.new(this); + } + set [S.$nodes](value) { + if (value == null) dart.nullFailed(I[147], 23177, 28, "value"); + let copy = value[$toList](); + this[S.$text] = ""; + for (let node of copy) { + this[S.$append](node); + } + } + [$remove]() { + if (this.parentNode != null) { + let parent = dart.nullCheck(this.parentNode); + parent[S$._removeChild](this); + } + } + [S$.$replaceWith](otherNode) { + if (otherNode == null) dart.nullFailed(I[147], 23202, 25, "otherNode"); + try { + let parent = dart.nullCheck(this.parentNode); + parent[S$._replaceChild](otherNode, this); + } catch (e$) { + let e = dart.getThrown(e$); + if (core.Object.is(e)) { + } else + throw e$; + } + return this; + } + [S$.$insertAllBefore](newNodes, refChild) { + if (newNodes == null) dart.nullFailed(I[147], 23217, 39, "newNodes"); + if (refChild == null) dart.nullFailed(I[147], 23217, 54, "refChild"); + if (html$._ChildNodeListLazy.is(newNodes)) { + let otherList = newNodes; + if (otherList[S$._this] === this) { + dart.throw(new core.ArgumentError.new(newNodes)); + } + for (let i = 0, len = otherList.length; i < dart.notNull(len); i = i + 1) { + this.insertBefore(dart.nullCheck(otherList[S$._this].firstChild), refChild); + } + } else { + for (let node of newNodes) { + this.insertBefore(node, refChild); + } + } + } + [S$._clearChildren]() { + while (this.firstChild != null) { + this[S$._removeChild](dart.nullCheck(this.firstChild)); + } + } + [$toString]() { + let value = this.nodeValue; + return value == null ? super[$toString]() : value; + } + get [S$.$childNodes]() { + return this.childNodes; + } + get [S.$baseUri]() { + return this.baseURI; + } + get [S$.$firstChild]() { + return this.firstChild; + } + get [S$.$isConnected]() { + return this.isConnected; + } + get [S$.$lastChild]() { + return this.lastChild; + } + get [S.$nextNode]() { + return this.nextSibling; + } + get [S$.$nodeName]() { + return this.nodeName; + } + get [S$.$nodeType]() { + return this.nodeType; + } + get [S$.$nodeValue]() { + return this.nodeValue; + } + get [S$.$ownerDocument]() { + return this.ownerDocument; + } + get [S.$parent]() { + return this.parentElement; + } + get [S$.$parentNode]() { + return this.parentNode; + } + get [S$.$previousNode]() { + return this.previousSibling; + } + get [S.$text]() { + return this.textContent; + } + set [S.$text](value) { + this.textContent = value; + } + [S.$append](...args) { + return this.appendChild.apply(this, args); + } + [S$.$clone](...args) { + return this.cloneNode.apply(this, args); + } + [$contains](...args) { + return this.contains.apply(this, args); + } + [S$.$getRootNode](options = null) { + if (options != null) { + let options_1 = html_common.convertDartToNative_Dictionary(options); + return this[S$._getRootNode_1](options_1); + } + return this[S$._getRootNode_2](); + } + [S$._getRootNode_1](...args) { + return this.getRootNode.apply(this, args); + } + [S$._getRootNode_2](...args) { + return this.getRootNode.apply(this, args); + } + [S$.$hasChildNodes](...args) { + return this.hasChildNodes.apply(this, args); + } + [S$.$insertBefore](...args) { + return this.insertBefore.apply(this, args); + } + [S$._removeChild](...args) { + return this.removeChild.apply(this, args); + } + [S$._replaceChild](...args) { + return this.replaceChild.apply(this, args); + } +}; +(html$.Node._created = function() { + html$.Node.__proto__._created.call(this); + ; +}).prototype = html$.Node.prototype; +dart.addTypeTests(html$.Node); +dart.addTypeCaches(html$.Node); +dart.setMethodSignature(html$.Node, () => ({ + __proto__: dart.getMethods(html$.Node.__proto__), + [$remove]: dart.fnType(dart.void, []), + [S$.$replaceWith]: dart.fnType(html$.Node, [html$.Node]), + [S$.$insertAllBefore]: dart.fnType(dart.void, [core.Iterable$(html$.Node), html$.Node]), + [S$._clearChildren]: dart.fnType(dart.void, []), + [S.$append]: dart.fnType(html$.Node, [html$.Node]), + [S$.$clone]: dart.fnType(html$.Node, [dart.nullable(core.bool)]), + [$contains]: dart.fnType(core.bool, [dart.nullable(html$.Node)]), + [S$.$getRootNode]: dart.fnType(html$.Node, [], [dart.nullable(core.Map)]), + [S$._getRootNode_1]: dart.fnType(html$.Node, [dart.dynamic]), + [S$._getRootNode_2]: dart.fnType(html$.Node, []), + [S$.$hasChildNodes]: dart.fnType(core.bool, []), + [S$.$insertBefore]: dart.fnType(html$.Node, [html$.Node, dart.nullable(html$.Node)]), + [S$._removeChild]: dart.fnType(html$.Node, [html$.Node]), + [S$._replaceChild]: dart.fnType(html$.Node, [html$.Node, html$.Node]) +})); +dart.setGetterSignature(html$.Node, () => ({ + __proto__: dart.getGetters(html$.Node.__proto__), + [S.$nodes]: core.List$(html$.Node), + [S$.$childNodes]: core.List$(html$.Node), + [S.$baseUri]: dart.nullable(core.String), + [S$.$firstChild]: dart.nullable(html$.Node), + [S$.$isConnected]: dart.nullable(core.bool), + [S$.$lastChild]: dart.nullable(html$.Node), + [S.$nextNode]: dart.nullable(html$.Node), + [S$.$nodeName]: dart.nullable(core.String), + [S$.$nodeType]: core.int, + [S$.$nodeValue]: dart.nullable(core.String), + [S$.$ownerDocument]: dart.nullable(html$.Document), + [S.$parent]: dart.nullable(html$.Element), + [S$.$parentNode]: dart.nullable(html$.Node), + [S$.$previousNode]: dart.nullable(html$.Node), + [S.$text]: dart.nullable(core.String) +})); +dart.setSetterSignature(html$.Node, () => ({ + __proto__: dart.getSetters(html$.Node.__proto__), + [S.$nodes]: core.Iterable$(html$.Node), + [S.$text]: dart.nullable(core.String) +})); +dart.setLibraryUri(html$.Node, I[148]); +dart.defineLazy(html$.Node, { + /*html$.Node.ATTRIBUTE_NODE*/get ATTRIBUTE_NODE() { + return 2; + }, + /*html$.Node.CDATA_SECTION_NODE*/get CDATA_SECTION_NODE() { + return 4; + }, + /*html$.Node.COMMENT_NODE*/get COMMENT_NODE() { + return 8; + }, + /*html$.Node.DOCUMENT_FRAGMENT_NODE*/get DOCUMENT_FRAGMENT_NODE() { + return 11; + }, + /*html$.Node.DOCUMENT_NODE*/get DOCUMENT_NODE() { + return 9; + }, + /*html$.Node.DOCUMENT_TYPE_NODE*/get DOCUMENT_TYPE_NODE() { + return 10; + }, + /*html$.Node.ELEMENT_NODE*/get ELEMENT_NODE() { + return 1; + }, + /*html$.Node.ENTITY_NODE*/get ENTITY_NODE() { + return 6; + }, + /*html$.Node.ENTITY_REFERENCE_NODE*/get ENTITY_REFERENCE_NODE() { + return 5; + }, + /*html$.Node.NOTATION_NODE*/get NOTATION_NODE() { + return 12; + }, + /*html$.Node.PROCESSING_INSTRUCTION_NODE*/get PROCESSING_INSTRUCTION_NODE() { + return 7; + }, + /*html$.Node.TEXT_NODE*/get TEXT_NODE() { + return 3; + } +}, false); +dart.registerExtension("Node", html$.Node); +html$.Element = class Element extends html$.Node { + static html(html, opts) { + let validator = opts && 'validator' in opts ? opts.validator : null; + let treeSanitizer = opts && 'treeSanitizer' in opts ? opts.treeSanitizer : null; + let fragment = dart.nullCheck(html$.document.body)[S.$createFragment](html, {validator: validator, treeSanitizer: treeSanitizer}); + return html$.Element.as(fragment[S.$nodes][$where](dart.fn(e => { + if (e == null) dart.nullFailed(I[147], 12731, 34, "e"); + return html$.Element.is(e); + }, T$0.NodeTobool()))[$single]); + } + static tag(tag, typeExtension = null) { + if (tag == null) dart.nullFailed(I[147], 12776, 30, "tag"); + return html$.Element.as(html$._ElementFactoryProvider.createElement_tag(tag, typeExtension)); + } + static a() { + return html$.AnchorElement.new(); + } + static article() { + return html$.Element.tag("article"); + } + static aside() { + return html$.Element.tag("aside"); + } + static audio() { + return html$.Element.tag("audio"); + } + static br() { + return html$.BRElement.new(); + } + static canvas() { + return html$.CanvasElement.new(); + } + static div() { + return html$.DivElement.new(); + } + static footer() { + return html$.Element.tag("footer"); + } + static header() { + return html$.Element.tag("header"); + } + static hr() { + return html$.Element.tag("hr"); + } + static iframe() { + return html$.Element.tag("iframe"); + } + static img() { + return html$.Element.tag("img"); + } + static li() { + return html$.Element.tag("li"); + } + static nav() { + return html$.Element.tag("nav"); + } + static ol() { + return html$.Element.tag("ol"); + } + static option() { + return html$.Element.tag("option"); + } + static p() { + return html$.Element.tag("p"); + } + static pre() { + return html$.Element.tag("pre"); + } + static section() { + return html$.Element.tag("section"); + } + static select() { + return html$.Element.tag("select"); + } + static span() { + return html$.Element.tag("span"); + } + static svg() { + return html$.Element.tag("svg"); + } + static table() { + return html$.Element.tag("table"); + } + static td() { + return html$.Element.tag("td"); + } + static textarea() { + return html$.Element.tag("textarea"); + } + static th() { + return html$.Element.tag("th"); + } + static tr() { + return html$.Element.tag("tr"); + } + static ul() { + return html$.Element.tag("ul"); + } + static video() { + return html$.Element.tag("video"); + } + get [S.$attributes]() { + return new html$._ElementAttributeMap.new(this); + } + set [S.$attributes](value) { + if (value == null) dart.nullFailed(I[147], 12936, 38, "value"); + let attributes = this[S.$attributes]; + attributes[$clear](); + for (let key of value[$keys]) { + attributes[$_set](key, dart.nullCheck(value[$_get](key))); + } + } + [S.$getAttribute](name) { + if (name == null) dart.nullFailed(I[147], 12945, 31, "name"); + if (!(name != null)) dart.assertFailed("Attribute name cannot be null", I[147], 12948, 12, "name != null"); + return this[S._getAttribute](name); + } + [S.$getAttributeNS](namespaceURI, name) { + if (name == null) dart.nullFailed(I[147], 12953, 55, "name"); + if (!(name != null)) dart.assertFailed("Attribute name cannot be null", I[147], 12957, 12, "name != null"); + return this[S._getAttributeNS](namespaceURI, name); + } + [S.$hasAttribute](name) { + if (name == null) dart.nullFailed(I[147], 12962, 28, "name"); + if (!(name != null)) dart.assertFailed("Attribute name cannot be null", I[147], 12965, 12, "name != null"); + return this[S._hasAttribute](name); + } + [S.$hasAttributeNS](namespaceURI, name) { + if (name == null) dart.nullFailed(I[147], 12970, 52, "name"); + if (!(name != null)) dart.assertFailed("Attribute name cannot be null", I[147], 12974, 12, "name != null"); + return this[S._hasAttributeNS](namespaceURI, name); + } + [S.$removeAttribute](name) { + if (name == null) dart.nullFailed(I[147], 12979, 31, "name"); + if (!(name != null)) dart.assertFailed("Attribute name cannot be null", I[147], 12982, 12, "name != null"); + this[S._removeAttribute](name); + } + [S.$removeAttributeNS](namespaceURI, name) { + if (name == null) dart.nullFailed(I[147], 12987, 55, "name"); + if (!(name != null)) dart.assertFailed("Attribute name cannot be null", I[147], 12990, 12, "name != null"); + this[S._removeAttributeNS](namespaceURI, name); + } + [S.$setAttribute](name, value) { + if (name == null) dart.nullFailed(I[147], 12995, 28, "name"); + if (value == null) dart.nullFailed(I[147], 12995, 41, "value"); + if (!(name != null)) dart.assertFailed("Attribute name cannot be null", I[147], 12998, 12, "name != null"); + this[S._setAttribute](name, value); + } + [S.$setAttributeNS](namespaceURI, name, value) { + if (name == null) dart.nullFailed(I[147], 13004, 52, "name"); + if (value == null) dart.nullFailed(I[147], 13004, 65, "value"); + if (!(name != null)) dart.assertFailed("Attribute name cannot be null", I[147], 13007, 12, "name != null"); + this[S._setAttributeNS](namespaceURI, name, value); + } + get [S.$children]() { + return new html$._ChildrenElementList._wrap(this); + } + get [S._children]() { + return this.children; + } + set [S.$children](value) { + if (value == null) dart.nullFailed(I[147], 13036, 30, "value"); + let copy = value[$toList](); + let children = this[S.$children]; + children[$clear](); + children[$addAll](copy); + } + [S.$querySelectorAll](T, selectors) { + if (selectors == null) dart.nullFailed(I[147], 13055, 61, "selectors"); + return new (html$._FrozenElementList$(T))._wrap(this[S._querySelectorAll](selectors)); + } + [S._setApplyScroll](...args) { + return this.setApplyScroll.apply(this, args); + } + [S.$setApplyScroll](nativeScrollBehavior) { + if (nativeScrollBehavior == null) dart.nullFailed(I[147], 13062, 45, "nativeScrollBehavior"); + let completer = T$0.CompleterOfScrollState().new(); + this[S._setApplyScroll](dart.fn(value => { + if (value == null) dart.nullFailed(I[147], 13064, 22, "value"); + completer.complete(value); + }, T$0.ScrollStateTovoid()), nativeScrollBehavior); + return completer.future; + } + [S._setDistributeScroll](...args) { + return this.setDistributeScroll.apply(this, args); + } + [S.$setDistributeScroll](nativeScrollBehavior) { + if (nativeScrollBehavior == null) dart.nullFailed(I[147], 13074, 50, "nativeScrollBehavior"); + let completer = T$0.CompleterOfScrollState().new(); + this[S._setDistributeScroll](dart.fn(value => { + if (value == null) dart.nullFailed(I[147], 13076, 27, "value"); + completer.complete(value); + }, T$0.ScrollStateTovoid()), nativeScrollBehavior); + return completer.future; + } + get [S.$classes]() { + return new html$._ElementCssClassSet.new(this); + } + set [S.$classes](value) { + if (value == null) dart.nullFailed(I[147], 13094, 32, "value"); + let classSet = this[S.$classes]; + classSet.clear(); + classSet.addAll(value); + } + get [S.$dataset]() { + return new html$._DataAttributeMap.new(this[S.$attributes]); + } + set [S.$dataset](value) { + if (value == null) dart.nullFailed(I[147], 13128, 35, "value"); + let data = this[S.$dataset]; + data[$clear](); + for (let key of value[$keys]) { + data[$_set](key, dart.nullCheck(value[$_get](key))); + } + } + [S.$getNamespacedAttributes](namespace) { + if (namespace == null) dart.nullFailed(I[147], 13141, 54, "namespace"); + return new html$._NamespacedAttributeMap.new(this, namespace); + } + [S.$getComputedStyle](pseudoElement = null) { + if (pseudoElement == null) { + pseudoElement = ""; + } + return html$.window[S._getComputedStyle](this, pseudoElement); + } + get [S.$client]() { + return new (T$0.RectangleOfnum()).new(dart.nullCheck(this.clientLeft), dart.nullCheck(this.clientTop), this.clientWidth, this.clientHeight); + } + get [S.$offset]() { + return new (T$0.RectangleOfnum()).new(this[S.$offsetLeft], this[S.$offsetTop], this[S.$offsetWidth], this[S.$offsetHeight]); + } + [S.$appendText](text) { + if (text == null) dart.nullFailed(I[147], 13187, 26, "text"); + this[S.$append](html$.Text.new(text)); + } + [S.$appendHtml](text, opts) { + if (text == null) dart.nullFailed(I[147], 13195, 26, "text"); + let validator = opts && 'validator' in opts ? opts.validator : null; + let treeSanitizer = opts && 'treeSanitizer' in opts ? opts.treeSanitizer : null; + this[S.$insertAdjacentHtml]("beforeend", text, {validator: validator, treeSanitizer: treeSanitizer}); + } + static isTagSupported(tag) { + if (tag == null) dart.nullFailed(I[147], 13206, 37, "tag"); + let e = html$._ElementFactoryProvider.createElement_tag(tag, null); + return html$.Element.is(e) && !html$.UnknownElement.is(e); + } + [S.$attached]() { + this[S.$enteredView](); + } + [S.$detached]() { + this[S.$leftView](); + } + [S.$enteredView]() { + } + [S.$getClientRects]() { + let value = this[S._getClientRects](); + let jsProto = value.prototype; + if (jsProto == null) { + value.prototype = Object.create(null); + } + _js_helper.applyExtension("DOMRectList", value); + return value; + } + [S.$leftView]() { + } + [S.$animate](frames, timing = null) { + if (frames == null) dart.nullFailed(I[147], 13282, 52, "frames"); + if (!core.Iterable.is(frames) || !dart.test(frames[$every](dart.fn(x => { + if (x == null) dart.nullFailed(I[147], 13283, 48, "x"); + return core.Map.is(x); + }, T$0.MapOfString$dynamicTobool())))) { + dart.throw(new core.ArgumentError.new("The frames parameter should be a List of Maps " + "with frame information")); + } + let convertedFrames = null; + if (core.Iterable.is(frames)) { + convertedFrames = frames[$map](dart.dynamic, C[224] || CT.C224)[$toList](); + } else { + convertedFrames = frames; + } + let convertedTiming = core.Map.is(timing) ? html_common.convertDartToNative_Dictionary(timing) : timing; + return convertedTiming == null ? this[S._animate](core.Object.as(convertedFrames)) : this[S._animate](core.Object.as(convertedFrames), convertedTiming); + } + [S._animate](...args) { + return this.animate.apply(this, args); + } + [S.$attributeChanged](name, oldValue, newValue) { + if (name == null) dart.nullFailed(I[147], 13305, 32, "name"); + if (oldValue == null) dart.nullFailed(I[147], 13305, 45, "oldValue"); + if (newValue == null) dart.nullFailed(I[147], 13305, 62, "newValue"); + } + get [S.$localName]() { + return this[S._localName]; + } + get [S.$namespaceUri]() { + return this[S._namespaceUri]; + } + [$toString]() { + return this[S.$localName]; + } + [S.$scrollIntoView](alignment = null) { + let hasScrollIntoViewIfNeeded = true; + hasScrollIntoViewIfNeeded = !!this.scrollIntoViewIfNeeded; + if (dart.equals(alignment, html$.ScrollAlignment.TOP)) { + this[S._scrollIntoView](true); + } else if (dart.equals(alignment, html$.ScrollAlignment.BOTTOM)) { + this[S._scrollIntoView](false); + } else if (hasScrollIntoViewIfNeeded) { + if (dart.equals(alignment, html$.ScrollAlignment.CENTER)) { + this[S._scrollIntoViewIfNeeded](true); + } else { + this[S._scrollIntoViewIfNeeded](); + } + } else { + this[S._scrollIntoView](); + } + } + static _determineMouseWheelEventType(e) { + if (e == null) dart.nullFailed(I[147], 13378, 59, "e"); + return "wheel"; + } + static _determineTransitionEventType(e) { + if (e == null) dart.nullFailed(I[147], 13390, 59, "e"); + if (dart.test(html_common.Device.isWebKit)) { + return "webkitTransitionEnd"; + } else if (dart.test(html_common.Device.isOpera)) { + return "oTransitionEnd"; + } + return "transitionend"; + } + [S.$insertAdjacentText](where, text) { + if (where == null) dart.nullFailed(I[147], 13410, 34, "where"); + if (text == null) dart.nullFailed(I[147], 13410, 48, "text"); + if (!!this.insertAdjacentText) { + this[S._insertAdjacentText](where, text); + } else { + this[S._insertAdjacentNode](where, html$.Text.new(text)); + } + } + [S._insertAdjacentText](...args) { + return this.insertAdjacentText.apply(this, args); + } + [S.$insertAdjacentHtml](where, html, opts) { + if (where == null) dart.nullFailed(I[147], 13443, 34, "where"); + if (html == null) dart.nullFailed(I[147], 13443, 48, "html"); + let validator = opts && 'validator' in opts ? opts.validator : null; + let treeSanitizer = opts && 'treeSanitizer' in opts ? opts.treeSanitizer : null; + if (html$._TrustedHtmlTreeSanitizer.is(treeSanitizer)) { + this[S._insertAdjacentHtml](where, html); + } else { + this[S._insertAdjacentNode](where, this[S.$createFragment](html, {validator: validator, treeSanitizer: treeSanitizer})); + } + } + [S._insertAdjacentHtml](...args) { + return this.insertAdjacentHTML.apply(this, args); + } + [S.$insertAdjacentElement](where, element) { + if (where == null) dart.nullFailed(I[147], 13468, 40, "where"); + if (element == null) dart.nullFailed(I[147], 13468, 55, "element"); + if (!!this.insertAdjacentElement) { + this[S._insertAdjacentElement](where, element); + } else { + this[S._insertAdjacentNode](where, element); + } + return element; + } + [S._insertAdjacentElement](...args) { + return this.insertAdjacentElement.apply(this, args); + } + [S._insertAdjacentNode](where, node) { + if (where == null) dart.nullFailed(I[147], 13480, 35, "where"); + if (node == null) dart.nullFailed(I[147], 13480, 47, "node"); + switch (where[$toLowerCase]()) { + case "beforebegin": + { + dart.nullCheck(this.parentNode).insertBefore(node, this); + break; + } + case "afterbegin": + { + let first = dart.notNull(this[S.$nodes][$length]) > 0 ? this[S.$nodes][$_get](0) : null; + this.insertBefore(node, first); + break; + } + case "beforeend": + { + this[S.$append](node); + break; + } + case "afterend": + { + dart.nullCheck(this.parentNode).insertBefore(node, this[S.$nextNode]); + break; + } + default: + { + dart.throw(new core.ArgumentError.new("Invalid position " + dart.str(where))); + } + } + } + [S.$matches](selectors) { + if (selectors == null) dart.nullFailed(I[147], 13503, 23, "selectors"); + if (!!this.matches) { + return this.matches(selectors); + } else if (!!this.webkitMatchesSelector) { + return this.webkitMatchesSelector(selectors); + } else if (!!this.mozMatchesSelector) { + return this.mozMatchesSelector(selectors); + } else if (!!this.msMatchesSelector) { + return this.msMatchesSelector(selectors); + } else if (!!this.oMatchesSelector) { + return this.oMatchesSelector(selectors); + } else { + dart.throw(new core.UnsupportedError.new("Not supported on this platform")); + } + } + [S.$matchesWithAncestors](selectors) { + if (selectors == null) dart.nullFailed(I[147], 13520, 36, "selectors"); + let elem = this; + do { + if (dart.test(dart.nullCheck(elem)[S.$matches](selectors))) return true; + elem = elem[S.$parent]; + } while (elem != null); + return false; + } + [S.$createShadowRoot]() { + return (this.createShadowRoot || this.webkitCreateShadowRoot).call(this); + } + get [S.$shadowRoot]() { + return this.shadowRoot || this.webkitShadowRoot; + } + get [S.$contentEdge]() { + return new html$._ContentCssRect.new(this); + } + get [S.$paddingEdge]() { + return new html$._PaddingCssRect.new(this); + } + get [S.$borderEdge]() { + return new html$._BorderCssRect.new(this); + } + get [S.$marginEdge]() { + return new html$._MarginCssRect.new(this); + } + get [S.$documentOffset]() { + return this[S.$offsetTo](dart.nullCheck(html$.document.documentElement)); + } + [S.$offsetTo](parent) { + if (parent == null) dart.nullFailed(I[147], 13652, 26, "parent"); + return html$.Element._offsetToHelper(this, parent); + } + static _offsetToHelper(current, parent) { + if (parent == null) dart.nullFailed(I[147], 13656, 58, "parent"); + let sameAsParent = current == parent; + let foundAsParent = sameAsParent || parent.tagName === "HTML"; + if (current == null || sameAsParent) { + if (foundAsParent) return new (T$0.PointOfnum()).new(0, 0); + dart.throw(new core.ArgumentError.new("Specified element is not a transitive offset " + "parent of this element.")); + } + let parentOffset = current.offsetParent; + let p = html$.Element._offsetToHelper(parentOffset, parent); + return new (T$0.PointOfnum()).new(dart.notNull(p.x) + dart.notNull(current[S.$offsetLeft]), dart.notNull(p.y) + dart.notNull(current[S.$offsetTop])); + } + [S.$createFragment](html, opts) { + let t232; + let validator = opts && 'validator' in opts ? opts.validator : null; + let treeSanitizer = opts && 'treeSanitizer' in opts ? opts.treeSanitizer : null; + if (treeSanitizer == null) { + if (validator == null) { + if (html$.Element._defaultValidator == null) { + html$.Element._defaultValidator = new html$.NodeValidatorBuilder.common(); + } + validator = html$.Element._defaultValidator; + } + if (html$.Element._defaultSanitizer == null) { + html$.Element._defaultSanitizer = new html$._ValidatingTreeSanitizer.new(dart.nullCheck(validator)); + } else { + dart.nullCheck(html$.Element._defaultSanitizer).validator = dart.nullCheck(validator); + } + treeSanitizer = html$.Element._defaultSanitizer; + } else if (validator != null) { + dart.throw(new core.ArgumentError.new("validator can only be passed if treeSanitizer is null")); + } + if (html$.Element._parseDocument == null) { + html$.Element._parseDocument = dart.nullCheck(html$.document.implementation)[S.$createHtmlDocument](""); + html$.Element._parseRange = dart.nullCheck(html$.Element._parseDocument).createRange(); + let base = html$.BaseElement.as(dart.nullCheck(html$.Element._parseDocument)[S.$createElement]("base")); + base.href = dart.nullCheck(html$.document[S.$baseUri]); + dart.nullCheck(dart.nullCheck(html$.Element._parseDocument)[S.$head])[S.$append](base); + } + if (dart.nullCheck(html$.Element._parseDocument).body == null) { + dart.nullCheck(html$.Element._parseDocument).body = html$.BodyElement.as(dart.nullCheck(html$.Element._parseDocument)[S.$createElement]("body")); + } + let contextElement = null; + if (html$.BodyElement.is(this)) { + contextElement = dart.nullCheck(dart.nullCheck(html$.Element._parseDocument).body); + } else { + contextElement = dart.nullCheck(html$.Element._parseDocument)[S.$createElement](this.tagName); + dart.nullCheck(dart.nullCheck(html$.Element._parseDocument).body)[S.$append](html$.Node.as(contextElement)); + } + let fragment = null; + if (dart.test(html$.Range.supportsCreateContextualFragment) && dart.test(this[S._canBeUsedToCreateContextualFragment])) { + dart.nullCheck(html$.Element._parseRange).selectNodeContents(html$.Node.as(contextElement)); + fragment = dart.nullCheck(html$.Element._parseRange).createContextualFragment((t232 = html, t232 == null ? "null" : t232)); + } else { + dart.dput(contextElement, S._innerHtml, html); + fragment = dart.nullCheck(html$.Element._parseDocument).createDocumentFragment(); + while (dart.dload(contextElement, 'firstChild') != null) { + fragment[S.$append](html$.Node.as(dart.dload(contextElement, 'firstChild'))); + } + } + if (!dart.equals(contextElement, dart.nullCheck(html$.Element._parseDocument).body)) { + dart.dsend(contextElement, 'remove', []); + } + dart.nullCheck(treeSanitizer).sanitizeTree(fragment); + html$.document.adoptNode(fragment); + return fragment; + } + get [S._canBeUsedToCreateContextualFragment]() { + return !dart.test(this[S._cannotBeUsedToCreateContextualFragment]); + } + get [S._cannotBeUsedToCreateContextualFragment]() { + return html$.Element._tagsForWhichCreateContextualFragmentIsNotSupported[$contains](this.tagName); + } + set [S.$innerHtml](html) { + this[S.$setInnerHtml](html); + } + [S.$setInnerHtml](html, opts) { + let validator = opts && 'validator' in opts ? opts.validator : null; + let treeSanitizer = opts && 'treeSanitizer' in opts ? opts.treeSanitizer : null; + this[S.$text] = null; + if (html$._TrustedHtmlTreeSanitizer.is(treeSanitizer)) { + this[S._innerHtml] = html; + } else { + this[S.$append](this[S.$createFragment](html, {validator: validator, treeSanitizer: treeSanitizer})); + } + } + get [S.$innerHtml]() { + return this[S._innerHtml]; + } + get [S.$innerText]() { + return this.innerText; + } + set [S.$innerText](value) { + this.innerText = value; + } + get [S.$on]() { + return new html$.ElementEvents.new(this); + } + static _hasCorruptedAttributes(element) { + if (element == null) dart.nullFailed(I[147], 13865, 47, "element"); + return (function(element) { + if (!(element.attributes instanceof NamedNodeMap)) { + return true; + } + if (element.id == 'lastChild' || element.name == 'lastChild' || element.id == 'previousSibling' || element.name == 'previousSibling' || element.id == 'children' || element.name == 'children') { + return true; + } + var childNodes = element.childNodes; + if (element.lastChild && element.lastChild !== childNodes[childNodes.length - 1]) { + return true; + } + if (element.children) { + if (!(element.children instanceof HTMLCollection || element.children instanceof NodeList)) { + return true; + } + } + var length = 0; + if (element.children) { + length = element.children.length; + } + for (var i = 0; i < length; i++) { + var child = element.children[i]; + if (child.id == 'attributes' || child.name == 'attributes' || child.id == 'lastChild' || child.name == 'lastChild' || child.id == 'previousSibling' || child.name == 'previousSibling' || child.id == 'children' || child.name == 'children') { + return true; + } + } + return false; + })(element); + } + static _hasCorruptedAttributesAdditionalCheck(element) { + if (element == null) dart.nullFailed(I[147], 13917, 62, "element"); + return !(element.attributes instanceof NamedNodeMap); + } + static _safeTagName(element) { + let result = "element tag unavailable"; + try { + if (typeof dart.dload(element, 'tagName') == 'string') { + result = core.String.as(dart.dload(element, 'tagName')); + } + } catch (e$) { + let e = dart.getThrown(e$); + if (core.Object.is(e)) { + } else + throw e$; + } + return result; + } + get [S.$offsetParent]() { + return this.offsetParent; + } + get [S.$offsetHeight]() { + return this.offsetHeight[$round](); + } + get [S.$offsetLeft]() { + return this.offsetLeft[$round](); + } + get [S.$offsetTop]() { + return this.offsetTop[$round](); + } + get [S.$offsetWidth]() { + return this.offsetWidth[$round](); + } + get [S.$scrollHeight]() { + return this.scrollHeight[$round](); + } + get [S.$scrollLeft]() { + return this.scrollLeft[$round](); + } + set [S.$scrollLeft](value) { + if (value == null) dart.nullFailed(I[147], 13944, 22, "value"); + this.scrollLeft = value[$round](); + } + get [S.$scrollTop]() { + return this.scrollTop[$round](); + } + set [S.$scrollTop](value) { + if (value == null) dart.nullFailed(I[147], 13950, 21, "value"); + this.scrollTop = value[$round](); + } + get [S.$scrollWidth]() { + return this.scrollWidth[$round](); + } + get [S.$contentEditable]() { + return this.contentEditable; + } + set [S.$contentEditable](value) { + this.contentEditable = value; + } + get [S.$dir]() { + return this.dir; + } + set [S.$dir](value) { + this.dir = value; + } + get [S.$draggable]() { + return this.draggable; + } + set [S.$draggable](value) { + this.draggable = value; + } + get [S.$hidden]() { + return this.hidden; + } + set [S.$hidden](value) { + this.hidden = value; + } + get [S.$inert]() { + return this.inert; + } + set [S.$inert](value) { + this.inert = value; + } + get [S.$inputMode]() { + return this.inputMode; + } + set [S.$inputMode](value) { + this.inputMode = value; + } + get [S.$isContentEditable]() { + return this.isContentEditable; + } + get [S.$lang]() { + return this.lang; + } + set [S.$lang](value) { + this.lang = value; + } + get [S.$spellcheck]() { + return this.spellcheck; + } + set [S.$spellcheck](value) { + this.spellcheck = value; + } + get [S.$style]() { + return this.style; + } + get [S.$tabIndex]() { + return this.tabIndex; + } + set [S.$tabIndex](value) { + this.tabIndex = value; + } + get [S.$title]() { + return this.title; + } + set [S.$title](value) { + this.title = value; + } + get [S.$translate]() { + return this.translate; + } + set [S.$translate](value) { + this.translate = value; + } + [S.$blur](...args) { + return this.blur.apply(this, args); + } + [S.$click](...args) { + return this.click.apply(this, args); + } + [S.$focus](...args) { + return this.focus.apply(this, args); + } + get [S.$accessibleNode]() { + return this.accessibleNode; + } + get [S.$assignedSlot]() { + return this.assignedSlot; + } + get [S._attributes$1]() { + return this.attributes; + } + get [S.$className]() { + return this.className; + } + set [S.$className](value) { + this.className = value; + } + get [S.$clientHeight]() { + return this.clientHeight; + } + get [S.$clientLeft]() { + return this.clientLeft; + } + get [S.$clientTop]() { + return this.clientTop; + } + get [S.$clientWidth]() { + return this.clientWidth; + } + get [S.$computedName]() { + return this.computedName; + } + get [S.$computedRole]() { + return this.computedRole; + } + get [S.$id]() { + return this.id; + } + set [S.$id](value) { + this.id = value; + } + get [S._innerHtml]() { + return this.innerHTML; + } + set [S._innerHtml](value) { + this.innerHTML = value; + } + get [S._localName]() { + return this.localName; + } + get [S._namespaceUri]() { + return this.namespaceURI; + } + get [S.$outerHtml]() { + return this.outerHTML; + } + get [S._scrollHeight]() { + return this.scrollHeight; + } + get [S._scrollLeft]() { + return this.scrollLeft; + } + set [S._scrollLeft](value) { + this.scrollLeft = value; + } + get [S._scrollTop]() { + return this.scrollTop; + } + set [S._scrollTop](value) { + this.scrollTop = value; + } + get [S._scrollWidth]() { + return this.scrollWidth; + } + get [S.$slot]() { + return this.slot; + } + set [S.$slot](value) { + this.slot = value; + } + get [S.$styleMap]() { + return this.styleMap; + } + get [S.$tagName]() { + return this.tagName; + } + [S.$attachShadow](shadowRootInitDict) { + if (shadowRootInitDict == null) dart.nullFailed(I[147], 14673, 31, "shadowRootInitDict"); + let shadowRootInitDict_1 = html_common.convertDartToNative_Dictionary(shadowRootInitDict); + return this[S._attachShadow_1](shadowRootInitDict_1); + } + [S._attachShadow_1](...args) { + return this.attachShadow.apply(this, args); + } + [S.$closest](...args) { + return this.closest.apply(this, args); + } + [S.$getAnimations](...args) { + return this.getAnimations.apply(this, args); + } + [S._getAttribute](...args) { + return this.getAttribute.apply(this, args); + } + [S._getAttributeNS](...args) { + return this.getAttributeNS.apply(this, args); + } + [S.$getAttributeNames](...args) { + return this.getAttributeNames.apply(this, args); + } + [S.$getBoundingClientRect](...args) { + return this.getBoundingClientRect.apply(this, args); + } + [S._getClientRects](...args) { + return this.getClientRects.apply(this, args); + } + [S.$getDestinationInsertionPoints](...args) { + return this.getDestinationInsertionPoints.apply(this, args); + } + [S.$getElementsByClassName](...args) { + return this.getElementsByClassName.apply(this, args); + } + [S._getElementsByTagName](...args) { + return this.getElementsByTagName.apply(this, args); + } + [S._hasAttribute](...args) { + return this.hasAttribute.apply(this, args); + } + [S._hasAttributeNS](...args) { + return this.hasAttributeNS.apply(this, args); + } + [S.$hasPointerCapture](...args) { + return this.hasPointerCapture.apply(this, args); + } + [S.$releasePointerCapture](...args) { + return this.releasePointerCapture.apply(this, args); + } + [S._removeAttribute](...args) { + return this.removeAttribute.apply(this, args); + } + [S._removeAttributeNS](...args) { + return this.removeAttributeNS.apply(this, args); + } + [S.$requestPointerLock](...args) { + return this.requestPointerLock.apply(this, args); + } + [S.$scroll](options_OR_x = null, y = null) { + if (options_OR_x == null && y == null) { + this[S._scroll_1](); + return; + } + if (core.Map.is(options_OR_x) && y == null) { + let options_1 = html_common.convertDartToNative_Dictionary(options_OR_x); + this[S._scroll_2](options_1); + return; + } + if (y != null && typeof options_OR_x == 'number') { + this[S._scroll_3](options_OR_x, y); + return; + } + dart.throw(new core.ArgumentError.new("Incorrect number or type of arguments")); + } + [S._scroll_1](...args) { + return this.scroll.apply(this, args); + } + [S._scroll_2](...args) { + return this.scroll.apply(this, args); + } + [S._scroll_3](...args) { + return this.scroll.apply(this, args); + } + [S.$scrollBy](options_OR_x = null, y = null) { + if (options_OR_x == null && y == null) { + this[S._scrollBy_1](); + return; + } + if (core.Map.is(options_OR_x) && y == null) { + let options_1 = html_common.convertDartToNative_Dictionary(options_OR_x); + this[S._scrollBy_2](options_1); + return; + } + if (y != null && typeof options_OR_x == 'number') { + this[S._scrollBy_3](options_OR_x, y); + return; + } + dart.throw(new core.ArgumentError.new("Incorrect number or type of arguments")); + } + [S._scrollBy_1](...args) { + return this.scrollBy.apply(this, args); + } + [S._scrollBy_2](...args) { + return this.scrollBy.apply(this, args); + } + [S._scrollBy_3](...args) { + return this.scrollBy.apply(this, args); + } + [S._scrollIntoView](...args) { + return this.scrollIntoView.apply(this, args); + } + [S._scrollIntoViewIfNeeded](...args) { + return this.scrollIntoViewIfNeeded.apply(this, args); + } + [S.$scrollTo](options_OR_x = null, y = null) { + if (options_OR_x == null && y == null) { + this[S._scrollTo_1](); + return; + } + if (core.Map.is(options_OR_x) && y == null) { + let options_1 = html_common.convertDartToNative_Dictionary(options_OR_x); + this[S._scrollTo_2](options_1); + return; + } + if (y != null && typeof options_OR_x == 'number') { + this[S._scrollTo_3](options_OR_x, y); + return; + } + dart.throw(new core.ArgumentError.new("Incorrect number or type of arguments")); + } + [S._scrollTo_1](...args) { + return this.scrollTo.apply(this, args); + } + [S._scrollTo_2](...args) { + return this.scrollTo.apply(this, args); + } + [S._scrollTo_3](...args) { + return this.scrollTo.apply(this, args); + } + [S._setAttribute](...args) { + return this.setAttribute.apply(this, args); + } + [S._setAttributeNS](...args) { + return this.setAttributeNS.apply(this, args); + } + [S.$setPointerCapture](...args) { + return this.setPointerCapture.apply(this, args); + } + [S.$requestFullscreen](...args) { + return this.webkitRequestFullscreen.apply(this, args); + } + [S.$after](...args) { + return this.after.apply(this, args); + } + [S.$before](...args) { + return this.before.apply(this, args); + } + get [S.$nextElementSibling]() { + return this.nextElementSibling; + } + get [S.$previousElementSibling]() { + return this.previousElementSibling; + } + get [S._childElementCount]() { + return this.childElementCount; + } + get [S._firstElementChild]() { + return this.firstElementChild; + } + get [S._lastElementChild]() { + return this.lastElementChild; + } + [S.$querySelector](...args) { + return this.querySelector.apply(this, args); + } + [S._querySelectorAll](...args) { + return this.querySelectorAll.apply(this, args); + } + get [S.$onAbort]() { + return html$.Element.abortEvent.forElement(this); + } + get [S.$onBeforeCopy]() { + return html$.Element.beforeCopyEvent.forElement(this); + } + get [S.$onBeforeCut]() { + return html$.Element.beforeCutEvent.forElement(this); + } + get [S.$onBeforePaste]() { + return html$.Element.beforePasteEvent.forElement(this); + } + get [S.$onBlur]() { + return html$.Element.blurEvent.forElement(this); + } + get [S.$onCanPlay]() { + return html$.Element.canPlayEvent.forElement(this); + } + get [S.$onCanPlayThrough]() { + return html$.Element.canPlayThroughEvent.forElement(this); + } + get [S.$onChange]() { + return html$.Element.changeEvent.forElement(this); + } + get [S.$onClick]() { + return html$.Element.clickEvent.forElement(this); + } + get [S.$onContextMenu]() { + return html$.Element.contextMenuEvent.forElement(this); + } + get [S.$onCopy]() { + return html$.Element.copyEvent.forElement(this); + } + get [S.$onCut]() { + return html$.Element.cutEvent.forElement(this); + } + get [S.$onDoubleClick]() { + return html$.Element.doubleClickEvent.forElement(this); + } + get [S.$onDrag]() { + return html$.Element.dragEvent.forElement(this); + } + get [S.$onDragEnd]() { + return html$.Element.dragEndEvent.forElement(this); + } + get [S.$onDragEnter]() { + return html$.Element.dragEnterEvent.forElement(this); + } + get [S.$onDragLeave]() { + return html$.Element.dragLeaveEvent.forElement(this); + } + get [S.$onDragOver]() { + return html$.Element.dragOverEvent.forElement(this); + } + get [S.$onDragStart]() { + return html$.Element.dragStartEvent.forElement(this); + } + get [S.$onDrop]() { + return html$.Element.dropEvent.forElement(this); + } + get [S.$onDurationChange]() { + return html$.Element.durationChangeEvent.forElement(this); + } + get [S.$onEmptied]() { + return html$.Element.emptiedEvent.forElement(this); + } + get [S.$onEnded]() { + return html$.Element.endedEvent.forElement(this); + } + get [S.$onError]() { + return html$.Element.errorEvent.forElement(this); + } + get [S.$onFocus]() { + return html$.Element.focusEvent.forElement(this); + } + get [S.$onInput]() { + return html$.Element.inputEvent.forElement(this); + } + get [S.$onInvalid]() { + return html$.Element.invalidEvent.forElement(this); + } + get [S.$onKeyDown]() { + return html$.Element.keyDownEvent.forElement(this); + } + get [S.$onKeyPress]() { + return html$.Element.keyPressEvent.forElement(this); + } + get [S.$onKeyUp]() { + return html$.Element.keyUpEvent.forElement(this); + } + get [S.$onLoad]() { + return html$.Element.loadEvent.forElement(this); + } + get [S.$onLoadedData]() { + return html$.Element.loadedDataEvent.forElement(this); + } + get [S.$onLoadedMetadata]() { + return html$.Element.loadedMetadataEvent.forElement(this); + } + get [S.$onMouseDown]() { + return html$.Element.mouseDownEvent.forElement(this); + } + get [S.$onMouseEnter]() { + return html$.Element.mouseEnterEvent.forElement(this); + } + get [S.$onMouseLeave]() { + return html$.Element.mouseLeaveEvent.forElement(this); + } + get [S.$onMouseMove]() { + return html$.Element.mouseMoveEvent.forElement(this); + } + get [S.$onMouseOut]() { + return html$.Element.mouseOutEvent.forElement(this); + } + get [S.$onMouseOver]() { + return html$.Element.mouseOverEvent.forElement(this); + } + get [S.$onMouseUp]() { + return html$.Element.mouseUpEvent.forElement(this); + } + get [S.$onMouseWheel]() { + return html$.Element.mouseWheelEvent.forElement(this); + } + get [S.$onPaste]() { + return html$.Element.pasteEvent.forElement(this); + } + get [S.$onPause]() { + return html$.Element.pauseEvent.forElement(this); + } + get [S.$onPlay]() { + return html$.Element.playEvent.forElement(this); + } + get [S.$onPlaying]() { + return html$.Element.playingEvent.forElement(this); + } + get [S.$onRateChange]() { + return html$.Element.rateChangeEvent.forElement(this); + } + get [S.$onReset]() { + return html$.Element.resetEvent.forElement(this); + } + get [S.$onResize]() { + return html$.Element.resizeEvent.forElement(this); + } + get [S.$onScroll]() { + return html$.Element.scrollEvent.forElement(this); + } + get [S.$onSearch]() { + return html$.Element.searchEvent.forElement(this); + } + get [S.$onSeeked]() { + return html$.Element.seekedEvent.forElement(this); + } + get [S.$onSeeking]() { + return html$.Element.seekingEvent.forElement(this); + } + get [S.$onSelect]() { + return html$.Element.selectEvent.forElement(this); + } + get [S.$onSelectStart]() { + return html$.Element.selectStartEvent.forElement(this); + } + get [S.$onStalled]() { + return html$.Element.stalledEvent.forElement(this); + } + get [S.$onSubmit]() { + return html$.Element.submitEvent.forElement(this); + } + get [S$.$onSuspend]() { + return html$.Element.suspendEvent.forElement(this); + } + get [S$.$onTimeUpdate]() { + return html$.Element.timeUpdateEvent.forElement(this); + } + get [S$.$onTouchCancel]() { + return html$.Element.touchCancelEvent.forElement(this); + } + get [S$.$onTouchEnd]() { + return html$.Element.touchEndEvent.forElement(this); + } + get [S$.$onTouchEnter]() { + return html$.Element.touchEnterEvent.forElement(this); + } + get [S$.$onTouchLeave]() { + return html$.Element.touchLeaveEvent.forElement(this); + } + get [S$.$onTouchMove]() { + return html$.Element.touchMoveEvent.forElement(this); + } + get [S$.$onTouchStart]() { + return html$.Element.touchStartEvent.forElement(this); + } + get [S$.$onTransitionEnd]() { + return html$.Element.transitionEndEvent.forElement(this); + } + get [S$.$onVolumeChange]() { + return html$.Element.volumeChangeEvent.forElement(this); + } + get [S$.$onWaiting]() { + return html$.Element.waitingEvent.forElement(this); + } + get [S$.$onFullscreenChange]() { + return html$.Element.fullscreenChangeEvent.forElement(this); + } + get [S$.$onFullscreenError]() { + return html$.Element.fullscreenErrorEvent.forElement(this); + } + get [S$.$onWheel]() { + return html$.Element.wheelEvent.forElement(this); + } +}; +(html$.Element.created = function() { + html$.Element.__proto__._created.call(this); + ; +}).prototype = html$.Element.prototype; +dart.addTypeTests(html$.Element); +dart.addTypeCaches(html$.Element); +html$.Element[dart.implements] = () => [html$.NonDocumentTypeChildNode, html$.GlobalEventHandlers, html$.ParentNode, html$.ChildNode]; +dart.setMethodSignature(html$.Element, () => ({ + __proto__: dart.getMethods(html$.Element.__proto__), + [S.$getAttribute]: dart.fnType(dart.nullable(core.String), [core.String]), + [S.$getAttributeNS]: dart.fnType(dart.nullable(core.String), [dart.nullable(core.String), core.String]), + [S.$hasAttribute]: dart.fnType(core.bool, [core.String]), + [S.$hasAttributeNS]: dart.fnType(core.bool, [dart.nullable(core.String), core.String]), + [S.$removeAttribute]: dart.fnType(dart.void, [core.String]), + [S.$removeAttributeNS]: dart.fnType(dart.void, [dart.nullable(core.String), core.String]), + [S.$setAttribute]: dart.fnType(dart.void, [core.String, core.String]), + [S.$setAttributeNS]: dart.fnType(dart.void, [dart.nullable(core.String), core.String, core.String]), + [S.$querySelectorAll]: dart.gFnType(T => [html$.ElementList$(T), [core.String]], T => [html$.Element]), + [S._setApplyScroll]: dart.fnType(dart.void, [dart.fnType(dart.void, [html$.ScrollState]), core.String]), + [S.$setApplyScroll]: dart.fnType(async.Future$(html$.ScrollState), [core.String]), + [S._setDistributeScroll]: dart.fnType(dart.void, [dart.fnType(dart.void, [html$.ScrollState]), core.String]), + [S.$setDistributeScroll]: dart.fnType(async.Future$(html$.ScrollState), [core.String]), + [S.$getNamespacedAttributes]: dart.fnType(core.Map$(core.String, core.String), [core.String]), + [S.$getComputedStyle]: dart.fnType(html$.CssStyleDeclaration, [], [dart.nullable(core.String)]), + [S.$appendText]: dart.fnType(dart.void, [core.String]), + [S.$appendHtml]: dart.fnType(dart.void, [core.String], {treeSanitizer: dart.nullable(html$.NodeTreeSanitizer), validator: dart.nullable(html$.NodeValidator)}, {}), + [S.$attached]: dart.fnType(dart.void, []), + [S.$detached]: dart.fnType(dart.void, []), + [S.$enteredView]: dart.fnType(dart.void, []), + [S.$getClientRects]: dart.fnType(core.List$(math.Rectangle$(core.num)), []), + [S.$leftView]: dart.fnType(dart.void, []), + [S.$animate]: dart.fnType(html$.Animation, [core.Iterable$(core.Map$(core.String, dart.dynamic))], [dart.dynamic]), + [S._animate]: dart.fnType(html$.Animation, [core.Object], [dart.dynamic]), + [S.$attributeChanged]: dart.fnType(dart.void, [core.String, core.String, core.String]), + [S.$scrollIntoView]: dart.fnType(dart.void, [], [dart.nullable(html$.ScrollAlignment)]), + [S.$insertAdjacentText]: dart.fnType(dart.void, [core.String, core.String]), + [S._insertAdjacentText]: dart.fnType(dart.void, [core.String, core.String]), + [S.$insertAdjacentHtml]: dart.fnType(dart.void, [core.String, core.String], {treeSanitizer: dart.nullable(html$.NodeTreeSanitizer), validator: dart.nullable(html$.NodeValidator)}, {}), + [S._insertAdjacentHtml]: dart.fnType(dart.void, [core.String, core.String]), + [S.$insertAdjacentElement]: dart.fnType(html$.Element, [core.String, html$.Element]), + [S._insertAdjacentElement]: dart.fnType(dart.void, [core.String, html$.Element]), + [S._insertAdjacentNode]: dart.fnType(dart.void, [core.String, html$.Node]), + [S.$matches]: dart.fnType(core.bool, [core.String]), + [S.$matchesWithAncestors]: dart.fnType(core.bool, [core.String]), + [S.$createShadowRoot]: dart.fnType(html$.ShadowRoot, []), + [S.$offsetTo]: dart.fnType(math.Point$(core.num), [html$.Element]), + [S.$createFragment]: dart.fnType(html$.DocumentFragment, [dart.nullable(core.String)], {treeSanitizer: dart.nullable(html$.NodeTreeSanitizer), validator: dart.nullable(html$.NodeValidator)}, {}), + [S.$setInnerHtml]: dart.fnType(dart.void, [dart.nullable(core.String)], {treeSanitizer: dart.nullable(html$.NodeTreeSanitizer), validator: dart.nullable(html$.NodeValidator)}, {}), + [S.$blur]: dart.fnType(dart.void, []), + [S.$click]: dart.fnType(dart.void, []), + [S.$focus]: dart.fnType(dart.void, []), + [S.$attachShadow]: dart.fnType(html$.ShadowRoot, [core.Map]), + [S._attachShadow_1]: dart.fnType(html$.ShadowRoot, [dart.dynamic]), + [S.$closest]: dart.fnType(dart.nullable(html$.Element), [core.String]), + [S.$getAnimations]: dart.fnType(core.List$(html$.Animation), []), + [S._getAttribute]: dart.fnType(dart.nullable(core.String), [core.String]), + [S._getAttributeNS]: dart.fnType(dart.nullable(core.String), [dart.nullable(core.String), core.String]), + [S.$getAttributeNames]: dart.fnType(core.List$(core.String), []), + [S.$getBoundingClientRect]: dart.fnType(math.Rectangle$(core.num), []), + [S._getClientRects]: dart.fnType(core.List$(math.Rectangle$(core.num)), []), + [S.$getDestinationInsertionPoints]: dart.fnType(core.List$(html$.Node), []), + [S.$getElementsByClassName]: dart.fnType(core.List$(html$.Node), [core.String]), + [S._getElementsByTagName]: dart.fnType(core.List$(html$.Node), [core.String]), + [S._hasAttribute]: dart.fnType(core.bool, [core.String]), + [S._hasAttributeNS]: dart.fnType(core.bool, [dart.nullable(core.String), core.String]), + [S.$hasPointerCapture]: dart.fnType(core.bool, [core.int]), + [S.$releasePointerCapture]: dart.fnType(dart.void, [core.int]), + [S._removeAttribute]: dart.fnType(dart.void, [core.String]), + [S._removeAttributeNS]: dart.fnType(dart.void, [dart.nullable(core.String), core.String]), + [S.$requestPointerLock]: dart.fnType(dart.void, []), + [S.$scroll]: dart.fnType(dart.void, [], [dart.dynamic, dart.nullable(core.num)]), + [S._scroll_1]: dart.fnType(dart.void, []), + [S._scroll_2]: dart.fnType(dart.void, [dart.dynamic]), + [S._scroll_3]: dart.fnType(dart.void, [dart.nullable(core.num), dart.dynamic]), + [S.$scrollBy]: dart.fnType(dart.void, [], [dart.dynamic, dart.nullable(core.num)]), + [S._scrollBy_1]: dart.fnType(dart.void, []), + [S._scrollBy_2]: dart.fnType(dart.void, [dart.dynamic]), + [S._scrollBy_3]: dart.fnType(dart.void, [dart.nullable(core.num), dart.dynamic]), + [S._scrollIntoView]: dart.fnType(dart.void, [], [dart.nullable(core.Object)]), + [S._scrollIntoViewIfNeeded]: dart.fnType(dart.void, [], [dart.nullable(core.bool)]), + [S.$scrollTo]: dart.fnType(dart.void, [], [dart.dynamic, dart.nullable(core.num)]), + [S._scrollTo_1]: dart.fnType(dart.void, []), + [S._scrollTo_2]: dart.fnType(dart.void, [dart.dynamic]), + [S._scrollTo_3]: dart.fnType(dart.void, [dart.nullable(core.num), dart.dynamic]), + [S._setAttribute]: dart.fnType(dart.void, [core.String, core.String]), + [S._setAttributeNS]: dart.fnType(dart.void, [dart.nullable(core.String), core.String, core.String]), + [S.$setPointerCapture]: dart.fnType(dart.void, [core.int]), + [S.$requestFullscreen]: dart.fnType(dart.void, []), + [S.$after]: dart.fnType(dart.void, [core.Object]), + [S.$before]: dart.fnType(dart.void, [core.Object]), + [S.$querySelector]: dart.fnType(dart.nullable(html$.Element), [core.String]), + [S._querySelectorAll]: dart.fnType(core.List$(html$.Node), [core.String]) +})); +dart.setGetterSignature(html$.Element, () => ({ + __proto__: dart.getGetters(html$.Element.__proto__), + [S.$attributes]: core.Map$(core.String, core.String), + [S.$children]: core.List$(html$.Element), + [S._children]: core.List$(html$.Node), + [S.$classes]: html$.CssClassSet, + [S.$dataset]: core.Map$(core.String, core.String), + [S.$client]: math.Rectangle$(core.num), + [S.$offset]: math.Rectangle$(core.num), + [S.$localName]: core.String, + [S.$namespaceUri]: dart.nullable(core.String), + [S.$shadowRoot]: dart.nullable(html$.ShadowRoot), + [S.$contentEdge]: html$.CssRect, + [S.$paddingEdge]: html$.CssRect, + [S.$borderEdge]: html$.CssRect, + [S.$marginEdge]: html$.CssRect, + [S.$documentOffset]: math.Point$(core.num), + [S._canBeUsedToCreateContextualFragment]: core.bool, + [S._cannotBeUsedToCreateContextualFragment]: core.bool, + [S.$innerHtml]: dart.nullable(core.String), + [S.$innerText]: core.String, + [S.$on]: html$.ElementEvents, + [S.$offsetParent]: dart.nullable(html$.Element), + [S.$offsetHeight]: core.int, + [S.$offsetLeft]: core.int, + [S.$offsetTop]: core.int, + [S.$offsetWidth]: core.int, + [S.$scrollHeight]: core.int, + [S.$scrollLeft]: core.int, + [S.$scrollTop]: core.int, + [S.$scrollWidth]: core.int, + [S.$contentEditable]: core.String, + [S.$dir]: dart.nullable(core.String), + [S.$draggable]: core.bool, + [S.$hidden]: core.bool, + [S.$inert]: dart.nullable(core.bool), + [S.$inputMode]: dart.nullable(core.String), + [S.$isContentEditable]: dart.nullable(core.bool), + [S.$lang]: dart.nullable(core.String), + [S.$spellcheck]: dart.nullable(core.bool), + [S.$style]: html$.CssStyleDeclaration, + [S.$tabIndex]: dart.nullable(core.int), + [S.$title]: dart.nullable(core.String), + [S.$translate]: dart.nullable(core.bool), + [S.$accessibleNode]: dart.nullable(html$.AccessibleNode), + [S.$assignedSlot]: dart.nullable(html$.SlotElement), + [S._attributes$1]: dart.nullable(html$._NamedNodeMap), + [S.$className]: core.String, + [S.$clientHeight]: core.int, + [S.$clientLeft]: dart.nullable(core.int), + [S.$clientTop]: dart.nullable(core.int), + [S.$clientWidth]: core.int, + [S.$computedName]: dart.nullable(core.String), + [S.$computedRole]: dart.nullable(core.String), + [S.$id]: core.String, + [S._innerHtml]: dart.nullable(core.String), + [S._localName]: dart.nullable(core.String), + [S._namespaceUri]: dart.nullable(core.String), + [S.$outerHtml]: dart.nullable(core.String), + [S._scrollHeight]: dart.nullable(core.int), + [S._scrollLeft]: core.num, + [S._scrollTop]: core.num, + [S._scrollWidth]: dart.nullable(core.int), + [S.$slot]: dart.nullable(core.String), + [S.$styleMap]: dart.nullable(html$.StylePropertyMap), + [S.$tagName]: core.String, + [S.$nextElementSibling]: dart.nullable(html$.Element), + [S.$previousElementSibling]: dart.nullable(html$.Element), + [S._childElementCount]: core.int, + [S._firstElementChild]: dart.nullable(html$.Element), + [S._lastElementChild]: dart.nullable(html$.Element), + [S.$onAbort]: html$.ElementStream$(html$.Event), + [S.$onBeforeCopy]: html$.ElementStream$(html$.Event), + [S.$onBeforeCut]: html$.ElementStream$(html$.Event), + [S.$onBeforePaste]: html$.ElementStream$(html$.Event), + [S.$onBlur]: html$.ElementStream$(html$.Event), + [S.$onCanPlay]: html$.ElementStream$(html$.Event), + [S.$onCanPlayThrough]: html$.ElementStream$(html$.Event), + [S.$onChange]: html$.ElementStream$(html$.Event), + [S.$onClick]: html$.ElementStream$(html$.MouseEvent), + [S.$onContextMenu]: html$.ElementStream$(html$.MouseEvent), + [S.$onCopy]: html$.ElementStream$(html$.ClipboardEvent), + [S.$onCut]: html$.ElementStream$(html$.ClipboardEvent), + [S.$onDoubleClick]: html$.ElementStream$(html$.Event), + [S.$onDrag]: html$.ElementStream$(html$.MouseEvent), + [S.$onDragEnd]: html$.ElementStream$(html$.MouseEvent), + [S.$onDragEnter]: html$.ElementStream$(html$.MouseEvent), + [S.$onDragLeave]: html$.ElementStream$(html$.MouseEvent), + [S.$onDragOver]: html$.ElementStream$(html$.MouseEvent), + [S.$onDragStart]: html$.ElementStream$(html$.MouseEvent), + [S.$onDrop]: html$.ElementStream$(html$.MouseEvent), + [S.$onDurationChange]: html$.ElementStream$(html$.Event), + [S.$onEmptied]: html$.ElementStream$(html$.Event), + [S.$onEnded]: html$.ElementStream$(html$.Event), + [S.$onError]: html$.ElementStream$(html$.Event), + [S.$onFocus]: html$.ElementStream$(html$.Event), + [S.$onInput]: html$.ElementStream$(html$.Event), + [S.$onInvalid]: html$.ElementStream$(html$.Event), + [S.$onKeyDown]: html$.ElementStream$(html$.KeyboardEvent), + [S.$onKeyPress]: html$.ElementStream$(html$.KeyboardEvent), + [S.$onKeyUp]: html$.ElementStream$(html$.KeyboardEvent), + [S.$onLoad]: html$.ElementStream$(html$.Event), + [S.$onLoadedData]: html$.ElementStream$(html$.Event), + [S.$onLoadedMetadata]: html$.ElementStream$(html$.Event), + [S.$onMouseDown]: html$.ElementStream$(html$.MouseEvent), + [S.$onMouseEnter]: html$.ElementStream$(html$.MouseEvent), + [S.$onMouseLeave]: html$.ElementStream$(html$.MouseEvent), + [S.$onMouseMove]: html$.ElementStream$(html$.MouseEvent), + [S.$onMouseOut]: html$.ElementStream$(html$.MouseEvent), + [S.$onMouseOver]: html$.ElementStream$(html$.MouseEvent), + [S.$onMouseUp]: html$.ElementStream$(html$.MouseEvent), + [S.$onMouseWheel]: html$.ElementStream$(html$.WheelEvent), + [S.$onPaste]: html$.ElementStream$(html$.ClipboardEvent), + [S.$onPause]: html$.ElementStream$(html$.Event), + [S.$onPlay]: html$.ElementStream$(html$.Event), + [S.$onPlaying]: html$.ElementStream$(html$.Event), + [S.$onRateChange]: html$.ElementStream$(html$.Event), + [S.$onReset]: html$.ElementStream$(html$.Event), + [S.$onResize]: html$.ElementStream$(html$.Event), + [S.$onScroll]: html$.ElementStream$(html$.Event), + [S.$onSearch]: html$.ElementStream$(html$.Event), + [S.$onSeeked]: html$.ElementStream$(html$.Event), + [S.$onSeeking]: html$.ElementStream$(html$.Event), + [S.$onSelect]: html$.ElementStream$(html$.Event), + [S.$onSelectStart]: html$.ElementStream$(html$.Event), + [S.$onStalled]: html$.ElementStream$(html$.Event), + [S.$onSubmit]: html$.ElementStream$(html$.Event), + [S$.$onSuspend]: html$.ElementStream$(html$.Event), + [S$.$onTimeUpdate]: html$.ElementStream$(html$.Event), + [S$.$onTouchCancel]: html$.ElementStream$(html$.TouchEvent), + [S$.$onTouchEnd]: html$.ElementStream$(html$.TouchEvent), + [S$.$onTouchEnter]: html$.ElementStream$(html$.TouchEvent), + [S$.$onTouchLeave]: html$.ElementStream$(html$.TouchEvent), + [S$.$onTouchMove]: html$.ElementStream$(html$.TouchEvent), + [S$.$onTouchStart]: html$.ElementStream$(html$.TouchEvent), + [S$.$onTransitionEnd]: html$.ElementStream$(html$.TransitionEvent), + [S$.$onVolumeChange]: html$.ElementStream$(html$.Event), + [S$.$onWaiting]: html$.ElementStream$(html$.Event), + [S$.$onFullscreenChange]: html$.ElementStream$(html$.Event), + [S$.$onFullscreenError]: html$.ElementStream$(html$.Event), + [S$.$onWheel]: html$.ElementStream$(html$.WheelEvent) +})); +dart.setSetterSignature(html$.Element, () => ({ + __proto__: dart.getSetters(html$.Element.__proto__), + [S.$attributes]: core.Map$(core.String, core.String), + [S.$children]: core.List$(html$.Element), + [S.$classes]: core.Iterable$(core.String), + [S.$dataset]: core.Map$(core.String, core.String), + [S.$innerHtml]: dart.nullable(core.String), + [S.$innerText]: core.String, + [S.$scrollLeft]: core.int, + [S.$scrollTop]: core.int, + [S.$contentEditable]: core.String, + [S.$dir]: dart.nullable(core.String), + [S.$draggable]: core.bool, + [S.$hidden]: core.bool, + [S.$inert]: dart.nullable(core.bool), + [S.$inputMode]: dart.nullable(core.String), + [S.$lang]: dart.nullable(core.String), + [S.$spellcheck]: dart.nullable(core.bool), + [S.$tabIndex]: dart.nullable(core.int), + [S.$title]: dart.nullable(core.String), + [S.$translate]: dart.nullable(core.bool), + [S.$className]: core.String, + [S.$id]: core.String, + [S._innerHtml]: dart.nullable(core.String), + [S._scrollLeft]: core.num, + [S._scrollTop]: core.num, + [S.$slot]: dart.nullable(core.String) +})); +dart.setLibraryUri(html$.Element, I[148]); +dart.defineLazy(html$.Element, { + /*html$.Element.mouseWheelEvent*/get mouseWheelEvent() { + return C[225] || CT.C225; + }, + /*html$.Element.transitionEndEvent*/get transitionEndEvent() { + return C[227] || CT.C227; + }, + /*html$.Element._parseDocument*/get _parseDocument() { + return null; + }, + set _parseDocument(_) {}, + /*html$.Element._parseRange*/get _parseRange() { + return null; + }, + set _parseRange(_) {}, + /*html$.Element._defaultValidator*/get _defaultValidator() { + return null; + }, + set _defaultValidator(_) {}, + /*html$.Element._defaultSanitizer*/get _defaultSanitizer() { + return null; + }, + set _defaultSanitizer(_) {}, + /*html$.Element._tagsForWhichCreateContextualFragmentIsNotSupported*/get _tagsForWhichCreateContextualFragmentIsNotSupported() { + return C[229] || CT.C229; + }, + /*html$.Element.abortEvent*/get abortEvent() { + return C[214] || CT.C214; + }, + /*html$.Element.beforeCopyEvent*/get beforeCopyEvent() { + return C[230] || CT.C230; + }, + /*html$.Element.beforeCutEvent*/get beforeCutEvent() { + return C[231] || CT.C231; + }, + /*html$.Element.beforePasteEvent*/get beforePasteEvent() { + return C[232] || CT.C232; + }, + /*html$.Element.blurEvent*/get blurEvent() { + return C[233] || CT.C233; + }, + /*html$.Element.canPlayEvent*/get canPlayEvent() { + return C[234] || CT.C234; + }, + /*html$.Element.canPlayThroughEvent*/get canPlayThroughEvent() { + return C[235] || CT.C235; + }, + /*html$.Element.changeEvent*/get changeEvent() { + return C[236] || CT.C236; + }, + /*html$.Element.clickEvent*/get clickEvent() { + return C[237] || CT.C237; + }, + /*html$.Element.contextMenuEvent*/get contextMenuEvent() { + return C[238] || CT.C238; + }, + /*html$.Element.copyEvent*/get copyEvent() { + return C[239] || CT.C239; + }, + /*html$.Element.cutEvent*/get cutEvent() { + return C[240] || CT.C240; + }, + /*html$.Element.doubleClickEvent*/get doubleClickEvent() { + return C[241] || CT.C241; + }, + /*html$.Element.dragEvent*/get dragEvent() { + return C[242] || CT.C242; + }, + /*html$.Element.dragEndEvent*/get dragEndEvent() { + return C[243] || CT.C243; + }, + /*html$.Element.dragEnterEvent*/get dragEnterEvent() { + return C[244] || CT.C244; + }, + /*html$.Element.dragLeaveEvent*/get dragLeaveEvent() { + return C[245] || CT.C245; + }, + /*html$.Element.dragOverEvent*/get dragOverEvent() { + return C[246] || CT.C246; + }, + /*html$.Element.dragStartEvent*/get dragStartEvent() { + return C[247] || CT.C247; + }, + /*html$.Element.dropEvent*/get dropEvent() { + return C[248] || CT.C248; + }, + /*html$.Element.durationChangeEvent*/get durationChangeEvent() { + return C[249] || CT.C249; + }, + /*html$.Element.emptiedEvent*/get emptiedEvent() { + return C[250] || CT.C250; + }, + /*html$.Element.endedEvent*/get endedEvent() { + return C[251] || CT.C251; + }, + /*html$.Element.errorEvent*/get errorEvent() { + return C[216] || CT.C216; + }, + /*html$.Element.focusEvent*/get focusEvent() { + return C[252] || CT.C252; + }, + /*html$.Element.inputEvent*/get inputEvent() { + return C[253] || CT.C253; + }, + /*html$.Element.invalidEvent*/get invalidEvent() { + return C[254] || CT.C254; + }, + /*html$.Element.keyDownEvent*/get keyDownEvent() { + return C[255] || CT.C255; + }, + /*html$.Element.keyPressEvent*/get keyPressEvent() { + return C[256] || CT.C256; + }, + /*html$.Element.keyUpEvent*/get keyUpEvent() { + return C[257] || CT.C257; + }, + /*html$.Element.loadEvent*/get loadEvent() { + return C[258] || CT.C258; + }, + /*html$.Element.loadedDataEvent*/get loadedDataEvent() { + return C[259] || CT.C259; + }, + /*html$.Element.loadedMetadataEvent*/get loadedMetadataEvent() { + return C[260] || CT.C260; + }, + /*html$.Element.mouseDownEvent*/get mouseDownEvent() { + return C[261] || CT.C261; + }, + /*html$.Element.mouseEnterEvent*/get mouseEnterEvent() { + return C[262] || CT.C262; + }, + /*html$.Element.mouseLeaveEvent*/get mouseLeaveEvent() { + return C[263] || CT.C263; + }, + /*html$.Element.mouseMoveEvent*/get mouseMoveEvent() { + return C[264] || CT.C264; + }, + /*html$.Element.mouseOutEvent*/get mouseOutEvent() { + return C[265] || CT.C265; + }, + /*html$.Element.mouseOverEvent*/get mouseOverEvent() { + return C[266] || CT.C266; + }, + /*html$.Element.mouseUpEvent*/get mouseUpEvent() { + return C[267] || CT.C267; + }, + /*html$.Element.pasteEvent*/get pasteEvent() { + return C[268] || CT.C268; + }, + /*html$.Element.pauseEvent*/get pauseEvent() { + return C[269] || CT.C269; + }, + /*html$.Element.playEvent*/get playEvent() { + return C[270] || CT.C270; + }, + /*html$.Element.playingEvent*/get playingEvent() { + return C[271] || CT.C271; + }, + /*html$.Element.rateChangeEvent*/get rateChangeEvent() { + return C[272] || CT.C272; + }, + /*html$.Element.resetEvent*/get resetEvent() { + return C[273] || CT.C273; + }, + /*html$.Element.resizeEvent*/get resizeEvent() { + return C[274] || CT.C274; + }, + /*html$.Element.scrollEvent*/get scrollEvent() { + return C[275] || CT.C275; + }, + /*html$.Element.searchEvent*/get searchEvent() { + return C[276] || CT.C276; + }, + /*html$.Element.seekedEvent*/get seekedEvent() { + return C[277] || CT.C277; + }, + /*html$.Element.seekingEvent*/get seekingEvent() { + return C[278] || CT.C278; + }, + /*html$.Element.selectEvent*/get selectEvent() { + return C[279] || CT.C279; + }, + /*html$.Element.selectStartEvent*/get selectStartEvent() { + return C[280] || CT.C280; + }, + /*html$.Element.stalledEvent*/get stalledEvent() { + return C[281] || CT.C281; + }, + /*html$.Element.submitEvent*/get submitEvent() { + return C[282] || CT.C282; + }, + /*html$.Element.suspendEvent*/get suspendEvent() { + return C[283] || CT.C283; + }, + /*html$.Element.timeUpdateEvent*/get timeUpdateEvent() { + return C[284] || CT.C284; + }, + /*html$.Element.touchCancelEvent*/get touchCancelEvent() { + return C[285] || CT.C285; + }, + /*html$.Element.touchEndEvent*/get touchEndEvent() { + return C[286] || CT.C286; + }, + /*html$.Element.touchEnterEvent*/get touchEnterEvent() { + return C[287] || CT.C287; + }, + /*html$.Element.touchLeaveEvent*/get touchLeaveEvent() { + return C[288] || CT.C288; + }, + /*html$.Element.touchMoveEvent*/get touchMoveEvent() { + return C[289] || CT.C289; + }, + /*html$.Element.touchStartEvent*/get touchStartEvent() { + return C[290] || CT.C290; + }, + /*html$.Element.volumeChangeEvent*/get volumeChangeEvent() { + return C[291] || CT.C291; + }, + /*html$.Element.waitingEvent*/get waitingEvent() { + return C[292] || CT.C292; + }, + /*html$.Element.fullscreenChangeEvent*/get fullscreenChangeEvent() { + return C[293] || CT.C293; + }, + /*html$.Element.fullscreenErrorEvent*/get fullscreenErrorEvent() { + return C[294] || CT.C294; + }, + /*html$.Element.wheelEvent*/get wheelEvent() { + return C[295] || CT.C295; + } +}, false); +dart.registerExtension("Element", html$.Element); +html$.HtmlElement = class HtmlElement extends html$.Element { + static new() { + dart.throw(new core.UnsupportedError.new("Not supported")); + } + get [S.$nonce]() { + return this.nonce; + } + set [S.$nonce](value) { + this.nonce = value; + } +}; +(html$.HtmlElement.created = function() { + html$.HtmlElement.__proto__.created.call(this); + ; +}).prototype = html$.HtmlElement.prototype; +dart.addTypeTests(html$.HtmlElement); +dart.addTypeCaches(html$.HtmlElement); +html$.HtmlElement[dart.implements] = () => [html$.NoncedElement]; +dart.setGetterSignature(html$.HtmlElement, () => ({ + __proto__: dart.getGetters(html$.HtmlElement.__proto__), + [S.$nonce]: dart.nullable(core.String) +})); +dart.setSetterSignature(html$.HtmlElement, () => ({ + __proto__: dart.getSetters(html$.HtmlElement.__proto__), + [S.$nonce]: dart.nullable(core.String) +})); +dart.setLibraryUri(html$.HtmlElement, I[148]); +dart.registerExtension("HTMLElement", html$.HtmlElement); +html$.ExtendableEvent = class ExtendableEvent$ extends html$.Event { + static new(type, eventInitDict = null) { + if (type == null) dart.nullFailed(I[147], 15843, 34, "type"); + if (eventInitDict != null) { + let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); + return html$.ExtendableEvent._create_1(type, eventInitDict_1); + } + return html$.ExtendableEvent._create_2(type); + } + static _create_1(type, eventInitDict) { + return new ExtendableEvent(type, eventInitDict); + } + static _create_2(type) { + return new ExtendableEvent(type); + } + [S$.$waitUntil](...args) { + return this.waitUntil.apply(this, args); + } +}; +dart.addTypeTests(html$.ExtendableEvent); +dart.addTypeCaches(html$.ExtendableEvent); +dart.setMethodSignature(html$.ExtendableEvent, () => ({ + __proto__: dart.getMethods(html$.ExtendableEvent.__proto__), + [S$.$waitUntil]: dart.fnType(dart.void, [async.Future]) +})); +dart.setLibraryUri(html$.ExtendableEvent, I[148]); +dart.registerExtension("ExtendableEvent", html$.ExtendableEvent); +html$.AbortPaymentEvent = class AbortPaymentEvent$ extends html$.ExtendableEvent { + static new(type, eventInitDict) { + if (type == null) dart.nullFailed(I[147], 141, 36, "type"); + if (eventInitDict == null) dart.nullFailed(I[147], 141, 46, "eventInitDict"); + let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); + return html$.AbortPaymentEvent._create_1(type, eventInitDict_1); + } + static _create_1(type, eventInitDict) { + return new AbortPaymentEvent(type, eventInitDict); + } + [S$.$respondWith](...args) { + return this.respondWith.apply(this, args); + } +}; +dart.addTypeTests(html$.AbortPaymentEvent); +dart.addTypeCaches(html$.AbortPaymentEvent); +dart.setMethodSignature(html$.AbortPaymentEvent, () => ({ + __proto__: dart.getMethods(html$.AbortPaymentEvent.__proto__), + [S$.$respondWith]: dart.fnType(dart.void, [async.Future]) +})); +dart.setLibraryUri(html$.AbortPaymentEvent, I[148]); +dart.registerExtension("AbortPaymentEvent", html$.AbortPaymentEvent); +html$.Sensor = class Sensor extends html$.EventTarget { + get [S$.$activated]() { + return this.activated; + } + get [S$.$hasReading]() { + return this.hasReading; + } + get [S$.$timestamp]() { + return this.timestamp; + } + [S$.$start](...args) { + return this.start.apply(this, args); + } + [S$.$stop](...args) { + return this.stop.apply(this, args); + } + get [S.$onError]() { + return html$.Sensor.errorEvent.forTarget(this); + } +}; +dart.addTypeTests(html$.Sensor); +dart.addTypeCaches(html$.Sensor); +dart.setMethodSignature(html$.Sensor, () => ({ + __proto__: dart.getMethods(html$.Sensor.__proto__), + [S$.$start]: dart.fnType(dart.void, []), + [S$.$stop]: dart.fnType(dart.void, []) +})); +dart.setGetterSignature(html$.Sensor, () => ({ + __proto__: dart.getGetters(html$.Sensor.__proto__), + [S$.$activated]: dart.nullable(core.bool), + [S$.$hasReading]: dart.nullable(core.bool), + [S$.$timestamp]: dart.nullable(core.num), + [S.$onError]: async.Stream$(html$.Event) +})); +dart.setLibraryUri(html$.Sensor, I[148]); +dart.defineLazy(html$.Sensor, { + /*html$.Sensor.errorEvent*/get errorEvent() { + return C[216] || CT.C216; + } +}, false); +dart.registerExtension("Sensor", html$.Sensor); +html$.OrientationSensor = class OrientationSensor extends html$.Sensor { + get [S$.$quaternion]() { + return this.quaternion; + } + [S$.$populateMatrix](...args) { + return this.populateMatrix.apply(this, args); + } +}; +dart.addTypeTests(html$.OrientationSensor); +dart.addTypeCaches(html$.OrientationSensor); +dart.setMethodSignature(html$.OrientationSensor, () => ({ + __proto__: dart.getMethods(html$.OrientationSensor.__proto__), + [S$.$populateMatrix]: dart.fnType(dart.void, [core.Object]) +})); +dart.setGetterSignature(html$.OrientationSensor, () => ({ + __proto__: dart.getGetters(html$.OrientationSensor.__proto__), + [S$.$quaternion]: dart.nullable(core.List$(core.num)) +})); +dart.setLibraryUri(html$.OrientationSensor, I[148]); +dart.registerExtension("OrientationSensor", html$.OrientationSensor); +html$.AbsoluteOrientationSensor = class AbsoluteOrientationSensor$ extends html$.OrientationSensor { + static new(sensorOptions = null) { + if (sensorOptions != null) { + let sensorOptions_1 = html_common.convertDartToNative_Dictionary(sensorOptions); + return html$.AbsoluteOrientationSensor._create_1(sensorOptions_1); + } + return html$.AbsoluteOrientationSensor._create_2(); + } + static _create_1(sensorOptions) { + return new AbsoluteOrientationSensor(sensorOptions); + } + static _create_2() { + return new AbsoluteOrientationSensor(); + } +}; +dart.addTypeTests(html$.AbsoluteOrientationSensor); +dart.addTypeCaches(html$.AbsoluteOrientationSensor); +dart.setLibraryUri(html$.AbsoluteOrientationSensor, I[148]); +dart.registerExtension("AbsoluteOrientationSensor", html$.AbsoluteOrientationSensor); +html$.AbstractWorker = class AbstractWorker extends _interceptors.Interceptor { + get onError() { + return html$.AbstractWorker.errorEvent.forTarget(this); + } +}; +dart.addTypeTests(html$.AbstractWorker); +dart.addTypeCaches(html$.AbstractWorker); +html$.AbstractWorker[dart.implements] = () => [html$.EventTarget]; +dart.setGetterSignature(html$.AbstractWorker, () => ({ + __proto__: dart.getGetters(html$.AbstractWorker.__proto__), + onError: async.Stream$(html$.Event), + [S.$onError]: async.Stream$(html$.Event) +})); +dart.setLibraryUri(html$.AbstractWorker, I[148]); +dart.defineExtensionAccessors(html$.AbstractWorker, ['onError']); +dart.defineLazy(html$.AbstractWorker, { + /*html$.AbstractWorker.errorEvent*/get errorEvent() { + return C[216] || CT.C216; + } +}, false); +html$.Accelerometer = class Accelerometer$ extends html$.Sensor { + static new(sensorOptions = null) { + if (sensorOptions != null) { + let sensorOptions_1 = html_common.convertDartToNative_Dictionary(sensorOptions); + return html$.Accelerometer._create_1(sensorOptions_1); + } + return html$.Accelerometer._create_2(); + } + static _create_1(sensorOptions) { + return new Accelerometer(sensorOptions); + } + static _create_2() { + return new Accelerometer(); + } + get [S$.$x]() { + return this.x; + } + get [S$.$y]() { + return this.y; + } + get [S$.$z]() { + return this.z; + } +}; +dart.addTypeTests(html$.Accelerometer); +dart.addTypeCaches(html$.Accelerometer); +dart.setGetterSignature(html$.Accelerometer, () => ({ + __proto__: dart.getGetters(html$.Accelerometer.__proto__), + [S$.$x]: dart.nullable(core.num), + [S$.$y]: dart.nullable(core.num), + [S$.$z]: dart.nullable(core.num) +})); +dart.setLibraryUri(html$.Accelerometer, I[148]); +dart.registerExtension("Accelerometer", html$.Accelerometer); +html$.AccessibleNode = class AccessibleNode$ extends html$.EventTarget { + static new() { + return html$.AccessibleNode._create_1(); + } + static _create_1() { + return new AccessibleNode(); + } + get [S$.$activeDescendant]() { + return this.activeDescendant; + } + set [S$.$activeDescendant](value) { + this.activeDescendant = value; + } + get [S$.$atomic]() { + return this.atomic; + } + set [S$.$atomic](value) { + this.atomic = value; + } + get [S$.$autocomplete]() { + return this.autocomplete; + } + set [S$.$autocomplete](value) { + this.autocomplete = value; + } + get [S$.$busy]() { + return this.busy; + } + set [S$.$busy](value) { + this.busy = value; + } + get [S$.$checked]() { + return this.checked; + } + set [S$.$checked](value) { + this.checked = value; + } + get [S$.$colCount]() { + return this.colCount; + } + set [S$.$colCount](value) { + this.colCount = value; + } + get [S$.$colIndex]() { + return this.colIndex; + } + set [S$.$colIndex](value) { + this.colIndex = value; + } + get [S$.$colSpan]() { + return this.colSpan; + } + set [S$.$colSpan](value) { + this.colSpan = value; + } + get [S$.$controls]() { + return this.controls; + } + set [S$.$controls](value) { + this.controls = value; + } + get [S$.$current]() { + return this.current; + } + set [S$.$current](value) { + this.current = value; + } + get [S$.$describedBy]() { + return this.describedBy; + } + set [S$.$describedBy](value) { + this.describedBy = value; + } + get [S$.$details]() { + return this.details; + } + set [S$.$details](value) { + this.details = value; + } + get [S$.$disabled]() { + return this.disabled; + } + set [S$.$disabled](value) { + this.disabled = value; + } + get [S$.$errorMessage]() { + return this.errorMessage; + } + set [S$.$errorMessage](value) { + this.errorMessage = value; + } + get [S$.$expanded]() { + return this.expanded; + } + set [S$.$expanded](value) { + this.expanded = value; + } + get [S$.$flowTo]() { + return this.flowTo; + } + set [S$.$flowTo](value) { + this.flowTo = value; + } + get [S$.$hasPopUp]() { + return this.hasPopUp; + } + set [S$.$hasPopUp](value) { + this.hasPopUp = value; + } + get [S.$hidden]() { + return this.hidden; + } + set [S.$hidden](value) { + this.hidden = value; + } + get [S$.$invalid]() { + return this.invalid; + } + set [S$.$invalid](value) { + this.invalid = value; + } + get [S$.$keyShortcuts]() { + return this.keyShortcuts; + } + set [S$.$keyShortcuts](value) { + this.keyShortcuts = value; + } + get [S$.$label]() { + return this.label; + } + set [S$.$label](value) { + this.label = value; + } + get [S$.$labeledBy]() { + return this.labeledBy; + } + set [S$.$labeledBy](value) { + this.labeledBy = value; + } + get [S$.$level]() { + return this.level; + } + set [S$.$level](value) { + this.level = value; + } + get [S$.$live]() { + return this.live; + } + set [S$.$live](value) { + this.live = value; + } + get [S$.$modal]() { + return this.modal; + } + set [S$.$modal](value) { + this.modal = value; + } + get [S$.$multiline]() { + return this.multiline; + } + set [S$.$multiline](value) { + this.multiline = value; + } + get [S$.$multiselectable]() { + return this.multiselectable; + } + set [S$.$multiselectable](value) { + this.multiselectable = value; + } + get [S$.$orientation]() { + return this.orientation; + } + set [S$.$orientation](value) { + this.orientation = value; + } + get [S$.$owns]() { + return this.owns; + } + set [S$.$owns](value) { + this.owns = value; + } + get [S$.$placeholder]() { + return this.placeholder; + } + set [S$.$placeholder](value) { + this.placeholder = value; + } + get [S$.$posInSet]() { + return this.posInSet; + } + set [S$.$posInSet](value) { + this.posInSet = value; + } + get [S$.$pressed]() { + return this.pressed; + } + set [S$.$pressed](value) { + this.pressed = value; + } + get [S$.$readOnly]() { + return this.readOnly; + } + set [S$.$readOnly](value) { + this.readOnly = value; + } + get [S$.$relevant]() { + return this.relevant; + } + set [S$.$relevant](value) { + this.relevant = value; + } + get [S$.$required]() { + return this.required; + } + set [S$.$required](value) { + this.required = value; + } + get [S$.$role]() { + return this.role; + } + set [S$.$role](value) { + this.role = value; + } + get [S$.$roleDescription]() { + return this.roleDescription; + } + set [S$.$roleDescription](value) { + this.roleDescription = value; + } + get [S$.$rowCount]() { + return this.rowCount; + } + set [S$.$rowCount](value) { + this.rowCount = value; + } + get [S$.$rowIndex]() { + return this.rowIndex; + } + set [S$.$rowIndex](value) { + this.rowIndex = value; + } + get [S$.$rowSpan]() { + return this.rowSpan; + } + set [S$.$rowSpan](value) { + this.rowSpan = value; + } + get [S$.$selected]() { + return this.selected; + } + set [S$.$selected](value) { + this.selected = value; + } + get [S$.$setSize]() { + return this.setSize; + } + set [S$.$setSize](value) { + this.setSize = value; + } + get [$sort]() { + return this.sort; + } + set [$sort](value) { + this.sort = value; + } + get [S$.$valueMax]() { + return this.valueMax; + } + set [S$.$valueMax](value) { + this.valueMax = value; + } + get [S$.$valueMin]() { + return this.valueMin; + } + set [S$.$valueMin](value) { + this.valueMin = value; + } + get [S$.$valueNow]() { + return this.valueNow; + } + set [S$.$valueNow](value) { + this.valueNow = value; + } + get [S$.$valueText]() { + return this.valueText; + } + set [S$.$valueText](value) { + this.valueText = value; + } + [S$.$appendChild](...args) { + return this.appendChild.apply(this, args); + } + get [S$.$onAccessibleClick]() { + return html$.AccessibleNode.accessibleClickEvent.forTarget(this); + } + get [S$.$onAccessibleContextMenu]() { + return html$.AccessibleNode.accessibleContextMenuEvent.forTarget(this); + } + get [S$.$onAccessibleDecrement]() { + return html$.AccessibleNode.accessibleDecrementEvent.forTarget(this); + } + get [S$.$onAccessibleFocus]() { + return html$.AccessibleNode.accessibleFocusEvent.forTarget(this); + } + get [S$.$onAccessibleIncrement]() { + return html$.AccessibleNode.accessibleIncrementEvent.forTarget(this); + } + get [S$.$onAccessibleScrollIntoView]() { + return html$.AccessibleNode.accessibleScrollIntoViewEvent.forTarget(this); + } +}; +dart.addTypeTests(html$.AccessibleNode); +dart.addTypeCaches(html$.AccessibleNode); +dart.setMethodSignature(html$.AccessibleNode, () => ({ + __proto__: dart.getMethods(html$.AccessibleNode.__proto__), + [S$.$appendChild]: dart.fnType(dart.void, [html$.AccessibleNode]) +})); +dart.setGetterSignature(html$.AccessibleNode, () => ({ + __proto__: dart.getGetters(html$.AccessibleNode.__proto__), + [S$.$activeDescendant]: dart.nullable(html$.AccessibleNode), + [S$.$atomic]: dart.nullable(core.bool), + [S$.$autocomplete]: dart.nullable(core.String), + [S$.$busy]: dart.nullable(core.bool), + [S$.$checked]: dart.nullable(core.String), + [S$.$colCount]: dart.nullable(core.int), + [S$.$colIndex]: dart.nullable(core.int), + [S$.$colSpan]: dart.nullable(core.int), + [S$.$controls]: dart.nullable(html$.AccessibleNodeList), + [S$.$current]: dart.nullable(core.String), + [S$.$describedBy]: dart.nullable(html$.AccessibleNodeList), + [S$.$details]: dart.nullable(html$.AccessibleNode), + [S$.$disabled]: dart.nullable(core.bool), + [S$.$errorMessage]: dart.nullable(html$.AccessibleNode), + [S$.$expanded]: dart.nullable(core.bool), + [S$.$flowTo]: dart.nullable(html$.AccessibleNodeList), + [S$.$hasPopUp]: dart.nullable(core.String), + [S.$hidden]: dart.nullable(core.bool), + [S$.$invalid]: dart.nullable(core.String), + [S$.$keyShortcuts]: dart.nullable(core.String), + [S$.$label]: dart.nullable(core.String), + [S$.$labeledBy]: dart.nullable(html$.AccessibleNodeList), + [S$.$level]: dart.nullable(core.int), + [S$.$live]: dart.nullable(core.String), + [S$.$modal]: dart.nullable(core.bool), + [S$.$multiline]: dart.nullable(core.bool), + [S$.$multiselectable]: dart.nullable(core.bool), + [S$.$orientation]: dart.nullable(core.String), + [S$.$owns]: dart.nullable(html$.AccessibleNodeList), + [S$.$placeholder]: dart.nullable(core.String), + [S$.$posInSet]: dart.nullable(core.int), + [S$.$pressed]: dart.nullable(core.String), + [S$.$readOnly]: dart.nullable(core.bool), + [S$.$relevant]: dart.nullable(core.String), + [S$.$required]: dart.nullable(core.bool), + [S$.$role]: dart.nullable(core.String), + [S$.$roleDescription]: dart.nullable(core.String), + [S$.$rowCount]: dart.nullable(core.int), + [S$.$rowIndex]: dart.nullable(core.int), + [S$.$rowSpan]: dart.nullable(core.int), + [S$.$selected]: dart.nullable(core.bool), + [S$.$setSize]: dart.nullable(core.int), + [$sort]: dart.nullable(core.String), + [S$.$valueMax]: dart.nullable(core.num), + [S$.$valueMin]: dart.nullable(core.num), + [S$.$valueNow]: dart.nullable(core.num), + [S$.$valueText]: dart.nullable(core.String), + [S$.$onAccessibleClick]: async.Stream$(html$.Event), + [S$.$onAccessibleContextMenu]: async.Stream$(html$.Event), + [S$.$onAccessibleDecrement]: async.Stream$(html$.Event), + [S$.$onAccessibleFocus]: async.Stream$(html$.Event), + [S$.$onAccessibleIncrement]: async.Stream$(html$.Event), + [S$.$onAccessibleScrollIntoView]: async.Stream$(html$.Event) +})); +dart.setSetterSignature(html$.AccessibleNode, () => ({ + __proto__: dart.getSetters(html$.AccessibleNode.__proto__), + [S$.$activeDescendant]: dart.nullable(html$.AccessibleNode), + [S$.$atomic]: dart.nullable(core.bool), + [S$.$autocomplete]: dart.nullable(core.String), + [S$.$busy]: dart.nullable(core.bool), + [S$.$checked]: dart.nullable(core.String), + [S$.$colCount]: dart.nullable(core.int), + [S$.$colIndex]: dart.nullable(core.int), + [S$.$colSpan]: dart.nullable(core.int), + [S$.$controls]: dart.nullable(html$.AccessibleNodeList), + [S$.$current]: dart.nullable(core.String), + [S$.$describedBy]: dart.nullable(html$.AccessibleNodeList), + [S$.$details]: dart.nullable(html$.AccessibleNode), + [S$.$disabled]: dart.nullable(core.bool), + [S$.$errorMessage]: dart.nullable(html$.AccessibleNode), + [S$.$expanded]: dart.nullable(core.bool), + [S$.$flowTo]: dart.nullable(html$.AccessibleNodeList), + [S$.$hasPopUp]: dart.nullable(core.String), + [S.$hidden]: dart.nullable(core.bool), + [S$.$invalid]: dart.nullable(core.String), + [S$.$keyShortcuts]: dart.nullable(core.String), + [S$.$label]: dart.nullable(core.String), + [S$.$labeledBy]: dart.nullable(html$.AccessibleNodeList), + [S$.$level]: dart.nullable(core.int), + [S$.$live]: dart.nullable(core.String), + [S$.$modal]: dart.nullable(core.bool), + [S$.$multiline]: dart.nullable(core.bool), + [S$.$multiselectable]: dart.nullable(core.bool), + [S$.$orientation]: dart.nullable(core.String), + [S$.$owns]: dart.nullable(html$.AccessibleNodeList), + [S$.$placeholder]: dart.nullable(core.String), + [S$.$posInSet]: dart.nullable(core.int), + [S$.$pressed]: dart.nullable(core.String), + [S$.$readOnly]: dart.nullable(core.bool), + [S$.$relevant]: dart.nullable(core.String), + [S$.$required]: dart.nullable(core.bool), + [S$.$role]: dart.nullable(core.String), + [S$.$roleDescription]: dart.nullable(core.String), + [S$.$rowCount]: dart.nullable(core.int), + [S$.$rowIndex]: dart.nullable(core.int), + [S$.$rowSpan]: dart.nullable(core.int), + [S$.$selected]: dart.nullable(core.bool), + [S$.$setSize]: dart.nullable(core.int), + [$sort]: dart.nullable(core.String), + [S$.$valueMax]: dart.nullable(core.num), + [S$.$valueMin]: dart.nullable(core.num), + [S$.$valueNow]: dart.nullable(core.num), + [S$.$valueText]: dart.nullable(core.String) +})); +dart.setLibraryUri(html$.AccessibleNode, I[148]); +dart.defineLazy(html$.AccessibleNode, { + /*html$.AccessibleNode.accessibleClickEvent*/get accessibleClickEvent() { + return C[296] || CT.C296; + }, + /*html$.AccessibleNode.accessibleContextMenuEvent*/get accessibleContextMenuEvent() { + return C[297] || CT.C297; + }, + /*html$.AccessibleNode.accessibleDecrementEvent*/get accessibleDecrementEvent() { + return C[298] || CT.C298; + }, + /*html$.AccessibleNode.accessibleFocusEvent*/get accessibleFocusEvent() { + return C[299] || CT.C299; + }, + /*html$.AccessibleNode.accessibleIncrementEvent*/get accessibleIncrementEvent() { + return C[300] || CT.C300; + }, + /*html$.AccessibleNode.accessibleScrollIntoViewEvent*/get accessibleScrollIntoViewEvent() { + return C[301] || CT.C301; + } +}, false); +dart.registerExtension("AccessibleNode", html$.AccessibleNode); +html$.AccessibleNodeList = class AccessibleNodeList$ extends _interceptors.Interceptor { + static new(nodes = null) { + if (nodes != null) { + return html$.AccessibleNodeList._create_1(nodes); + } + return html$.AccessibleNodeList._create_2(); + } + static _create_1(nodes) { + return new AccessibleNodeList(nodes); + } + static _create_2() { + return new AccessibleNodeList(); + } + get [$length]() { + return this.length; + } + set [$length](value) { + this.length = value; + } + [S$.__setter__](...args) { + return this.__setter__.apply(this, args); + } + [$add](...args) { + return this.add.apply(this, args); + } + [S$.$item](...args) { + return this.item.apply(this, args); + } + [$remove](...args) { + return this.remove.apply(this, args); + } +}; +dart.addTypeTests(html$.AccessibleNodeList); +dart.addTypeCaches(html$.AccessibleNodeList); +dart.setMethodSignature(html$.AccessibleNodeList, () => ({ + __proto__: dart.getMethods(html$.AccessibleNodeList.__proto__), + [S$.__setter__]: dart.fnType(dart.void, [core.int, html$.AccessibleNode]), + [$add]: dart.fnType(dart.void, [html$.AccessibleNode, dart.nullable(html$.AccessibleNode)]), + [S$.$item]: dart.fnType(dart.nullable(html$.AccessibleNode), [core.int]), + [$remove]: dart.fnType(dart.void, [core.int]) +})); +dart.setGetterSignature(html$.AccessibleNodeList, () => ({ + __proto__: dart.getGetters(html$.AccessibleNodeList.__proto__), + [$length]: dart.nullable(core.int) +})); +dart.setSetterSignature(html$.AccessibleNodeList, () => ({ + __proto__: dart.getSetters(html$.AccessibleNodeList.__proto__), + [$length]: dart.nullable(core.int) +})); +dart.setLibraryUri(html$.AccessibleNodeList, I[148]); +dart.registerExtension("AccessibleNodeList", html$.AccessibleNodeList); +html$.AmbientLightSensor = class AmbientLightSensor$ extends html$.Sensor { + static new(sensorOptions = null) { + if (sensorOptions != null) { + let sensorOptions_1 = html_common.convertDartToNative_Dictionary(sensorOptions); + return html$.AmbientLightSensor._create_1(sensorOptions_1); + } + return html$.AmbientLightSensor._create_2(); + } + static _create_1(sensorOptions) { + return new AmbientLightSensor(sensorOptions); + } + static _create_2() { + return new AmbientLightSensor(); + } + get [S$.$illuminance]() { + return this.illuminance; + } +}; +dart.addTypeTests(html$.AmbientLightSensor); +dart.addTypeCaches(html$.AmbientLightSensor); +dart.setGetterSignature(html$.AmbientLightSensor, () => ({ + __proto__: dart.getGetters(html$.AmbientLightSensor.__proto__), + [S$.$illuminance]: dart.nullable(core.num) +})); +dart.setLibraryUri(html$.AmbientLightSensor, I[148]); +dart.registerExtension("AmbientLightSensor", html$.AmbientLightSensor); +html$.AnchorElement = class AnchorElement extends html$.HtmlElement { + static new(opts) { + let href = opts && 'href' in opts ? opts.href : null; + let e = html$.document.createElement("a"); + if (href != null) e.href = href; + return e; + } + get [S$.$download]() { + return this.download; + } + set [S$.$download](value) { + this.download = value; + } + get [S$.$hreflang]() { + return this.hreflang; + } + set [S$.$hreflang](value) { + this.hreflang = value; + } + get [S$.$referrerPolicy]() { + return this.referrerPolicy; + } + set [S$.$referrerPolicy](value) { + this.referrerPolicy = value; + } + get [S$.$rel]() { + return this.rel; + } + set [S$.$rel](value) { + this.rel = value; + } + get [S.$target]() { + return this.target; + } + set [S.$target](value) { + this.target = value; + } + get [S.$type]() { + return this.type; + } + set [S.$type](value) { + this.type = value; + } + get [S$.$hash]() { + return this.hash; + } + set [S$.$hash](value) { + this.hash = value; + } + get [S$.$host]() { + return this.host; + } + set [S$.$host](value) { + this.host = value; + } + get [S$.$hostname]() { + return this.hostname; + } + set [S$.$hostname](value) { + this.hostname = value; + } + get [S$.$href]() { + return this.href; + } + set [S$.$href](value) { + this.href = value; + } + get [S$.$origin]() { + return this.origin; + } + get [S$.$password]() { + return this.password; + } + set [S$.$password](value) { + this.password = value; + } + get [S$.$pathname]() { + return this.pathname; + } + set [S$.$pathname](value) { + this.pathname = value; + } + get [S$.$port]() { + return this.port; + } + set [S$.$port](value) { + this.port = value; + } + get [S$.$protocol]() { + return this.protocol; + } + set [S$.$protocol](value) { + this.protocol = value; + } + get [S$.$search]() { + return this.search; + } + set [S$.$search](value) { + this.search = value; + } + get [S$.$username]() { + return this.username; + } + set [S$.$username](value) { + this.username = value; + } + [$toString]() { + return String(this); + } +}; +(html$.AnchorElement.created = function() { + html$.AnchorElement.__proto__.created.call(this); + ; +}).prototype = html$.AnchorElement.prototype; +dart.addTypeTests(html$.AnchorElement); +dart.addTypeCaches(html$.AnchorElement); +html$.AnchorElement[dart.implements] = () => [html$.HtmlHyperlinkElementUtils]; +dart.setGetterSignature(html$.AnchorElement, () => ({ + __proto__: dart.getGetters(html$.AnchorElement.__proto__), + [S$.$download]: dart.nullable(core.String), + [S$.$hreflang]: core.String, + [S$.$referrerPolicy]: dart.nullable(core.String), + [S$.$rel]: core.String, + [S.$target]: core.String, + [S.$type]: core.String, + [S$.$hash]: dart.nullable(core.String), + [S$.$host]: dart.nullable(core.String), + [S$.$hostname]: dart.nullable(core.String), + [S$.$href]: dart.nullable(core.String), + [S$.$origin]: dart.nullable(core.String), + [S$.$password]: dart.nullable(core.String), + [S$.$pathname]: dart.nullable(core.String), + [S$.$port]: dart.nullable(core.String), + [S$.$protocol]: dart.nullable(core.String), + [S$.$search]: dart.nullable(core.String), + [S$.$username]: dart.nullable(core.String) +})); +dart.setSetterSignature(html$.AnchorElement, () => ({ + __proto__: dart.getSetters(html$.AnchorElement.__proto__), + [S$.$download]: dart.nullable(core.String), + [S$.$hreflang]: core.String, + [S$.$referrerPolicy]: dart.nullable(core.String), + [S$.$rel]: core.String, + [S.$target]: core.String, + [S.$type]: core.String, + [S$.$hash]: dart.nullable(core.String), + [S$.$host]: dart.nullable(core.String), + [S$.$hostname]: dart.nullable(core.String), + [S$.$href]: dart.nullable(core.String), + [S$.$password]: dart.nullable(core.String), + [S$.$pathname]: dart.nullable(core.String), + [S$.$port]: dart.nullable(core.String), + [S$.$protocol]: dart.nullable(core.String), + [S$.$search]: dart.nullable(core.String), + [S$.$username]: dart.nullable(core.String) +})); +dart.setLibraryUri(html$.AnchorElement, I[148]); +dart.registerExtension("HTMLAnchorElement", html$.AnchorElement); +html$.Animation = class Animation$ extends html$.EventTarget { + static new(effect = null, timeline = null) { + if (timeline != null) { + return html$.Animation._create_1(effect, timeline); + } + if (effect != null) { + return html$.Animation._create_2(effect); + } + return html$.Animation._create_3(); + } + static _create_1(effect, timeline) { + return new Animation(effect, timeline); + } + static _create_2(effect) { + return new Animation(effect); + } + static _create_3() { + return new Animation(); + } + static get supported() { + return !!document.body.animate; + } + get [S$.$currentTime]() { + return this.currentTime; + } + set [S$.$currentTime](value) { + this.currentTime = value; + } + get [S$.$effect]() { + return this.effect; + } + set [S$.$effect](value) { + this.effect = value; + } + get [S$.$finished]() { + return js_util.promiseToFuture(html$.Animation, this.finished); + } + get [S.$id]() { + return this.id; + } + set [S.$id](value) { + this.id = value; + } + get [S$.$playState]() { + return this.playState; + } + get [S$.$playbackRate]() { + return this.playbackRate; + } + set [S$.$playbackRate](value) { + this.playbackRate = value; + } + get [S$.$ready]() { + return js_util.promiseToFuture(html$.Animation, this.ready); + } + get [S$.$startTime]() { + return this.startTime; + } + set [S$.$startTime](value) { + this.startTime = value; + } + get [S$.$timeline]() { + return this.timeline; + } + [S$.$cancel](...args) { + return this.cancel.apply(this, args); + } + [S$.$finish](...args) { + return this.finish.apply(this, args); + } + [S$.$pause](...args) { + return this.pause.apply(this, args); + } + [S$.$play](...args) { + return this.play.apply(this, args); + } + [S$.$reverse](...args) { + return this.reverse.apply(this, args); + } + get [S$.$onCancel]() { + return html$.Animation.cancelEvent.forTarget(this); + } + get [S$.$onFinish]() { + return html$.Animation.finishEvent.forTarget(this); + } +}; +dart.addTypeTests(html$.Animation); +dart.addTypeCaches(html$.Animation); +dart.setMethodSignature(html$.Animation, () => ({ + __proto__: dart.getMethods(html$.Animation.__proto__), + [S$.$cancel]: dart.fnType(dart.void, []), + [S$.$finish]: dart.fnType(dart.void, []), + [S$.$pause]: dart.fnType(dart.void, []), + [S$.$play]: dart.fnType(dart.void, []), + [S$.$reverse]: dart.fnType(dart.void, []) +})); +dart.setGetterSignature(html$.Animation, () => ({ + __proto__: dart.getGetters(html$.Animation.__proto__), + [S$.$currentTime]: dart.nullable(core.num), + [S$.$effect]: dart.nullable(html$.AnimationEffectReadOnly), + [S$.$finished]: async.Future$(html$.Animation), + [S.$id]: dart.nullable(core.String), + [S$.$playState]: dart.nullable(core.String), + [S$.$playbackRate]: dart.nullable(core.num), + [S$.$ready]: async.Future$(html$.Animation), + [S$.$startTime]: dart.nullable(core.num), + [S$.$timeline]: dart.nullable(html$.AnimationTimeline), + [S$.$onCancel]: async.Stream$(html$.Event), + [S$.$onFinish]: async.Stream$(html$.Event) +})); +dart.setSetterSignature(html$.Animation, () => ({ + __proto__: dart.getSetters(html$.Animation.__proto__), + [S$.$currentTime]: dart.nullable(core.num), + [S$.$effect]: dart.nullable(html$.AnimationEffectReadOnly), + [S.$id]: dart.nullable(core.String), + [S$.$playbackRate]: dart.nullable(core.num), + [S$.$startTime]: dart.nullable(core.num) +})); +dart.setLibraryUri(html$.Animation, I[148]); +dart.defineLazy(html$.Animation, { + /*html$.Animation.cancelEvent*/get cancelEvent() { + return C[302] || CT.C302; + }, + /*html$.Animation.finishEvent*/get finishEvent() { + return C[303] || CT.C303; + } +}, false); +dart.registerExtension("Animation", html$.Animation); +html$.AnimationEffectReadOnly = class AnimationEffectReadOnly extends _interceptors.Interceptor { + get [S$.$timing]() { + return this.timing; + } + [S$.$getComputedTiming]() { + return dart.nullCheck(html_common.convertNativeToDart_Dictionary(this[S$._getComputedTiming_1]())); + } + [S$._getComputedTiming_1](...args) { + return this.getComputedTiming.apply(this, args); + } +}; +dart.addTypeTests(html$.AnimationEffectReadOnly); +dart.addTypeCaches(html$.AnimationEffectReadOnly); +dart.setMethodSignature(html$.AnimationEffectReadOnly, () => ({ + __proto__: dart.getMethods(html$.AnimationEffectReadOnly.__proto__), + [S$.$getComputedTiming]: dart.fnType(core.Map, []), + [S$._getComputedTiming_1]: dart.fnType(dart.dynamic, []) +})); +dart.setGetterSignature(html$.AnimationEffectReadOnly, () => ({ + __proto__: dart.getGetters(html$.AnimationEffectReadOnly.__proto__), + [S$.$timing]: dart.nullable(html$.AnimationEffectTimingReadOnly) +})); +dart.setLibraryUri(html$.AnimationEffectReadOnly, I[148]); +dart.registerExtension("AnimationEffectReadOnly", html$.AnimationEffectReadOnly); +html$.AnimationEffectTimingReadOnly = class AnimationEffectTimingReadOnly extends _interceptors.Interceptor { + get [S$.$delay]() { + return this.delay; + } + get [S.$direction]() { + return this.direction; + } + get [S$.$duration]() { + return this.duration; + } + get [S$.$easing]() { + return this.easing; + } + get [S$.$endDelay]() { + return this.endDelay; + } + get [S$.$fill]() { + return this.fill; + } + get [S$.$iterationStart]() { + return this.iterationStart; + } + get [S$.$iterations]() { + return this.iterations; + } +}; +dart.addTypeTests(html$.AnimationEffectTimingReadOnly); +dart.addTypeCaches(html$.AnimationEffectTimingReadOnly); +dart.setGetterSignature(html$.AnimationEffectTimingReadOnly, () => ({ + __proto__: dart.getGetters(html$.AnimationEffectTimingReadOnly.__proto__), + [S$.$delay]: dart.nullable(core.num), + [S.$direction]: dart.nullable(core.String), + [S$.$duration]: dart.nullable(core.Object), + [S$.$easing]: dart.nullable(core.String), + [S$.$endDelay]: dart.nullable(core.num), + [S$.$fill]: dart.nullable(core.String), + [S$.$iterationStart]: dart.nullable(core.num), + [S$.$iterations]: dart.nullable(core.num) +})); +dart.setLibraryUri(html$.AnimationEffectTimingReadOnly, I[148]); +dart.registerExtension("AnimationEffectTimingReadOnly", html$.AnimationEffectTimingReadOnly); +html$.AnimationEffectTiming = class AnimationEffectTiming extends html$.AnimationEffectTimingReadOnly { + get [S$.$delay]() { + return this.delay; + } + set [S$.$delay](value) { + this.delay = value; + } + get [S.$direction]() { + return this.direction; + } + set [S.$direction](value) { + this.direction = value; + } + get [S$.$duration]() { + return this.duration; + } + set [S$.$duration](value) { + this.duration = value; + } + get [S$.$easing]() { + return this.easing; + } + set [S$.$easing](value) { + this.easing = value; + } + get [S$.$endDelay]() { + return this.endDelay; + } + set [S$.$endDelay](value) { + this.endDelay = value; + } + get [S$.$fill]() { + return this.fill; + } + set [S$.$fill](value) { + this.fill = value; + } + get [S$.$iterationStart]() { + return this.iterationStart; + } + set [S$.$iterationStart](value) { + this.iterationStart = value; + } + get [S$.$iterations]() { + return this.iterations; + } + set [S$.$iterations](value) { + this.iterations = value; + } +}; +dart.addTypeTests(html$.AnimationEffectTiming); +dart.addTypeCaches(html$.AnimationEffectTiming); +dart.setSetterSignature(html$.AnimationEffectTiming, () => ({ + __proto__: dart.getSetters(html$.AnimationEffectTiming.__proto__), + [S$.$delay]: dart.nullable(core.num), + [S.$direction]: dart.nullable(core.String), + [S$.$duration]: dart.nullable(core.Object), + [S$.$easing]: dart.nullable(core.String), + [S$.$endDelay]: dart.nullable(core.num), + [S$.$fill]: dart.nullable(core.String), + [S$.$iterationStart]: dart.nullable(core.num), + [S$.$iterations]: dart.nullable(core.num) +})); +dart.setLibraryUri(html$.AnimationEffectTiming, I[148]); +dart.registerExtension("AnimationEffectTiming", html$.AnimationEffectTiming); +html$.AnimationEvent = class AnimationEvent$ extends html$.Event { + static new(type, eventInitDict = null) { + if (type == null) dart.nullFailed(I[147], 821, 33, "type"); + if (eventInitDict != null) { + let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); + return html$.AnimationEvent._create_1(type, eventInitDict_1); + } + return html$.AnimationEvent._create_2(type); + } + static _create_1(type, eventInitDict) { + return new AnimationEvent(type, eventInitDict); + } + static _create_2(type) { + return new AnimationEvent(type); + } + get [S$.$animationName]() { + return this.animationName; + } + get [S$.$elapsedTime]() { + return this.elapsedTime; + } +}; +dart.addTypeTests(html$.AnimationEvent); +dart.addTypeCaches(html$.AnimationEvent); +dart.setGetterSignature(html$.AnimationEvent, () => ({ + __proto__: dart.getGetters(html$.AnimationEvent.__proto__), + [S$.$animationName]: dart.nullable(core.String), + [S$.$elapsedTime]: dart.nullable(core.num) +})); +dart.setLibraryUri(html$.AnimationEvent, I[148]); +dart.registerExtension("AnimationEvent", html$.AnimationEvent); +html$.AnimationPlaybackEvent = class AnimationPlaybackEvent$ extends html$.Event { + static new(type, eventInitDict = null) { + if (type == null) dart.nullFailed(I[147], 848, 41, "type"); + if (eventInitDict != null) { + let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); + return html$.AnimationPlaybackEvent._create_1(type, eventInitDict_1); + } + return html$.AnimationPlaybackEvent._create_2(type); + } + static _create_1(type, eventInitDict) { + return new AnimationPlaybackEvent(type, eventInitDict); + } + static _create_2(type) { + return new AnimationPlaybackEvent(type); + } + get [S$.$currentTime]() { + return this.currentTime; + } + get [S$.$timelineTime]() { + return this.timelineTime; + } +}; +dart.addTypeTests(html$.AnimationPlaybackEvent); +dart.addTypeCaches(html$.AnimationPlaybackEvent); +dart.setGetterSignature(html$.AnimationPlaybackEvent, () => ({ + __proto__: dart.getGetters(html$.AnimationPlaybackEvent.__proto__), + [S$.$currentTime]: dart.nullable(core.num), + [S$.$timelineTime]: dart.nullable(core.num) +})); +dart.setLibraryUri(html$.AnimationPlaybackEvent, I[148]); +dart.registerExtension("AnimationPlaybackEvent", html$.AnimationPlaybackEvent); +html$.AnimationTimeline = class AnimationTimeline extends _interceptors.Interceptor { + get [S$.$currentTime]() { + return this.currentTime; + } +}; +dart.addTypeTests(html$.AnimationTimeline); +dart.addTypeCaches(html$.AnimationTimeline); +dart.setGetterSignature(html$.AnimationTimeline, () => ({ + __proto__: dart.getGetters(html$.AnimationTimeline.__proto__), + [S$.$currentTime]: dart.nullable(core.num) +})); +dart.setLibraryUri(html$.AnimationTimeline, I[148]); +dart.registerExtension("AnimationTimeline", html$.AnimationTimeline); +html$.WorkletGlobalScope = class WorkletGlobalScope extends _interceptors.Interceptor {}; +dart.addTypeTests(html$.WorkletGlobalScope); +dart.addTypeCaches(html$.WorkletGlobalScope); +dart.setLibraryUri(html$.WorkletGlobalScope, I[148]); +dart.registerExtension("WorkletGlobalScope", html$.WorkletGlobalScope); +html$.AnimationWorkletGlobalScope = class AnimationWorkletGlobalScope extends html$.WorkletGlobalScope { + [S$.$registerAnimator](...args) { + return this.registerAnimator.apply(this, args); + } +}; +dart.addTypeTests(html$.AnimationWorkletGlobalScope); +dart.addTypeCaches(html$.AnimationWorkletGlobalScope); +dart.setMethodSignature(html$.AnimationWorkletGlobalScope, () => ({ + __proto__: dart.getMethods(html$.AnimationWorkletGlobalScope.__proto__), + [S$.$registerAnimator]: dart.fnType(dart.void, [core.String, core.Object]) +})); +dart.setLibraryUri(html$.AnimationWorkletGlobalScope, I[148]); +dart.registerExtension("AnimationWorkletGlobalScope", html$.AnimationWorkletGlobalScope); +html$.ApplicationCache = class ApplicationCache extends html$.EventTarget { + static get supported() { + return !!window.applicationCache; + } + get [S$.$status]() { + return this.status; + } + [S.$abort](...args) { + return this.abort.apply(this, args); + } + [S$.$swapCache](...args) { + return this.swapCache.apply(this, args); + } + [$update](...args) { + return this.update.apply(this, args); + } + get [S$.$onCached]() { + return html$.ApplicationCache.cachedEvent.forTarget(this); + } + get [S$.$onChecking]() { + return html$.ApplicationCache.checkingEvent.forTarget(this); + } + get [S$.$onDownloading]() { + return html$.ApplicationCache.downloadingEvent.forTarget(this); + } + get [S.$onError]() { + return html$.ApplicationCache.errorEvent.forTarget(this); + } + get [S$.$onNoUpdate]() { + return html$.ApplicationCache.noUpdateEvent.forTarget(this); + } + get [S$.$onObsolete]() { + return html$.ApplicationCache.obsoleteEvent.forTarget(this); + } + get [S$.$onProgress]() { + return html$.ApplicationCache.progressEvent.forTarget(this); + } + get [S$.$onUpdateReady]() { + return html$.ApplicationCache.updateReadyEvent.forTarget(this); + } +}; +dart.addTypeTests(html$.ApplicationCache); +dart.addTypeCaches(html$.ApplicationCache); +dart.setMethodSignature(html$.ApplicationCache, () => ({ + __proto__: dart.getMethods(html$.ApplicationCache.__proto__), + [S.$abort]: dart.fnType(dart.void, []), + [S$.$swapCache]: dart.fnType(dart.void, []), + [$update]: dart.fnType(dart.void, []) +})); +dart.setGetterSignature(html$.ApplicationCache, () => ({ + __proto__: dart.getGetters(html$.ApplicationCache.__proto__), + [S$.$status]: dart.nullable(core.int), + [S$.$onCached]: async.Stream$(html$.Event), + [S$.$onChecking]: async.Stream$(html$.Event), + [S$.$onDownloading]: async.Stream$(html$.Event), + [S.$onError]: async.Stream$(html$.Event), + [S$.$onNoUpdate]: async.Stream$(html$.Event), + [S$.$onObsolete]: async.Stream$(html$.Event), + [S$.$onProgress]: async.Stream$(html$.ProgressEvent), + [S$.$onUpdateReady]: async.Stream$(html$.Event) +})); +dart.setLibraryUri(html$.ApplicationCache, I[148]); +dart.defineLazy(html$.ApplicationCache, { + /*html$.ApplicationCache.cachedEvent*/get cachedEvent() { + return C[304] || CT.C304; + }, + /*html$.ApplicationCache.checkingEvent*/get checkingEvent() { + return C[305] || CT.C305; + }, + /*html$.ApplicationCache.downloadingEvent*/get downloadingEvent() { + return C[306] || CT.C306; + }, + /*html$.ApplicationCache.errorEvent*/get errorEvent() { + return C[216] || CT.C216; + }, + /*html$.ApplicationCache.noUpdateEvent*/get noUpdateEvent() { + return C[307] || CT.C307; + }, + /*html$.ApplicationCache.obsoleteEvent*/get obsoleteEvent() { + return C[308] || CT.C308; + }, + /*html$.ApplicationCache.progressEvent*/get progressEvent() { + return C[309] || CT.C309; + }, + /*html$.ApplicationCache.updateReadyEvent*/get updateReadyEvent() { + return C[310] || CT.C310; + }, + /*html$.ApplicationCache.CHECKING*/get CHECKING() { + return 2; + }, + /*html$.ApplicationCache.DOWNLOADING*/get DOWNLOADING() { + return 3; + }, + /*html$.ApplicationCache.IDLE*/get IDLE() { + return 1; + }, + /*html$.ApplicationCache.OBSOLETE*/get OBSOLETE() { + return 5; + }, + /*html$.ApplicationCache.UNCACHED*/get UNCACHED() { + return 0; + }, + /*html$.ApplicationCache.UPDATEREADY*/get UPDATEREADY() { + return 4; + } +}, false); +dart.registerExtension("ApplicationCache", html$.ApplicationCache); +dart.registerExtension("DOMApplicationCache", html$.ApplicationCache); +dart.registerExtension("OfflineResourceList", html$.ApplicationCache); +html$.ApplicationCacheErrorEvent = class ApplicationCacheErrorEvent$ extends html$.Event { + static new(type, eventInitDict = null) { + if (type == null) dart.nullFailed(I[147], 1043, 45, "type"); + if (eventInitDict != null) { + let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); + return html$.ApplicationCacheErrorEvent._create_1(type, eventInitDict_1); + } + return html$.ApplicationCacheErrorEvent._create_2(type); + } + static _create_1(type, eventInitDict) { + return new ApplicationCacheErrorEvent(type, eventInitDict); + } + static _create_2(type) { + return new ApplicationCacheErrorEvent(type); + } + get [$message]() { + return this.message; + } + get [S$.$reason]() { + return this.reason; + } + get [S$.$status]() { + return this.status; + } + get [S$.$url]() { + return this.url; + } +}; +dart.addTypeTests(html$.ApplicationCacheErrorEvent); +dart.addTypeCaches(html$.ApplicationCacheErrorEvent); +dart.setGetterSignature(html$.ApplicationCacheErrorEvent, () => ({ + __proto__: dart.getGetters(html$.ApplicationCacheErrorEvent.__proto__), + [$message]: dart.nullable(core.String), + [S$.$reason]: dart.nullable(core.String), + [S$.$status]: dart.nullable(core.int), + [S$.$url]: dart.nullable(core.String) +})); +dart.setLibraryUri(html$.ApplicationCacheErrorEvent, I[148]); +dart.registerExtension("ApplicationCacheErrorEvent", html$.ApplicationCacheErrorEvent); +html$.AreaElement = class AreaElement extends html$.HtmlElement { + static new() { + return html$.document.createElement("area"); + } + get [S$.$alt]() { + return this.alt; + } + set [S$.$alt](value) { + this.alt = value; + } + get [S$.$coords]() { + return this.coords; + } + set [S$.$coords](value) { + this.coords = value; + } + get [S$.$download]() { + return this.download; + } + set [S$.$download](value) { + this.download = value; + } + get [S$.$referrerPolicy]() { + return this.referrerPolicy; + } + set [S$.$referrerPolicy](value) { + this.referrerPolicy = value; + } + get [S$.$rel]() { + return this.rel; + } + set [S$.$rel](value) { + this.rel = value; + } + get [S$.$shape]() { + return this.shape; + } + set [S$.$shape](value) { + this.shape = value; + } + get [S.$target]() { + return this.target; + } + set [S.$target](value) { + this.target = value; + } + get [S$.$hash]() { + return this.hash; + } + set [S$.$hash](value) { + this.hash = value; + } + get [S$.$host]() { + return this.host; + } + set [S$.$host](value) { + this.host = value; + } + get [S$.$hostname]() { + return this.hostname; + } + set [S$.$hostname](value) { + this.hostname = value; + } + get [S$.$href]() { + return this.href; + } + set [S$.$href](value) { + this.href = value; + } + get [S$.$origin]() { + return this.origin; + } + get [S$.$password]() { + return this.password; + } + set [S$.$password](value) { + this.password = value; + } + get [S$.$pathname]() { + return this.pathname; + } + set [S$.$pathname](value) { + this.pathname = value; + } + get [S$.$port]() { + return this.port; + } + set [S$.$port](value) { + this.port = value; + } + get [S$.$protocol]() { + return this.protocol; + } + set [S$.$protocol](value) { + this.protocol = value; + } + get [S$.$search]() { + return this.search; + } + set [S$.$search](value) { + this.search = value; + } + get [S$.$username]() { + return this.username; + } + set [S$.$username](value) { + this.username = value; + } + [$toString]() { + return String(this); + } +}; +(html$.AreaElement.created = function() { + html$.AreaElement.__proto__.created.call(this); + ; +}).prototype = html$.AreaElement.prototype; +dart.addTypeTests(html$.AreaElement); +dart.addTypeCaches(html$.AreaElement); +html$.AreaElement[dart.implements] = () => [html$.HtmlHyperlinkElementUtils]; +dart.setGetterSignature(html$.AreaElement, () => ({ + __proto__: dart.getGetters(html$.AreaElement.__proto__), + [S$.$alt]: core.String, + [S$.$coords]: core.String, + [S$.$download]: dart.nullable(core.String), + [S$.$referrerPolicy]: dart.nullable(core.String), + [S$.$rel]: core.String, + [S$.$shape]: core.String, + [S.$target]: core.String, + [S$.$hash]: dart.nullable(core.String), + [S$.$host]: dart.nullable(core.String), + [S$.$hostname]: dart.nullable(core.String), + [S$.$href]: dart.nullable(core.String), + [S$.$origin]: dart.nullable(core.String), + [S$.$password]: dart.nullable(core.String), + [S$.$pathname]: dart.nullable(core.String), + [S$.$port]: dart.nullable(core.String), + [S$.$protocol]: dart.nullable(core.String), + [S$.$search]: dart.nullable(core.String), + [S$.$username]: dart.nullable(core.String) +})); +dart.setSetterSignature(html$.AreaElement, () => ({ + __proto__: dart.getSetters(html$.AreaElement.__proto__), + [S$.$alt]: core.String, + [S$.$coords]: core.String, + [S$.$download]: dart.nullable(core.String), + [S$.$referrerPolicy]: dart.nullable(core.String), + [S$.$rel]: core.String, + [S$.$shape]: core.String, + [S.$target]: core.String, + [S$.$hash]: dart.nullable(core.String), + [S$.$host]: dart.nullable(core.String), + [S$.$hostname]: dart.nullable(core.String), + [S$.$href]: dart.nullable(core.String), + [S$.$password]: dart.nullable(core.String), + [S$.$pathname]: dart.nullable(core.String), + [S$.$port]: dart.nullable(core.String), + [S$.$protocol]: dart.nullable(core.String), + [S$.$search]: dart.nullable(core.String), + [S$.$username]: dart.nullable(core.String) +})); +dart.setLibraryUri(html$.AreaElement, I[148]); +dart.registerExtension("HTMLAreaElement", html$.AreaElement); +html$.MediaElement = class MediaElement extends html$.HtmlElement { + get [S$.$audioTracks]() { + return this.audioTracks; + } + get [S$.$autoplay]() { + return this.autoplay; + } + set [S$.$autoplay](value) { + this.autoplay = value; + } + get [S$.$buffered]() { + return this.buffered; + } + get [S$.$controls]() { + return this.controls; + } + set [S$.$controls](value) { + this.controls = value; + } + get [S$.$controlsList]() { + return this.controlsList; + } + get [S$.$crossOrigin]() { + return this.crossOrigin; + } + set [S$.$crossOrigin](value) { + this.crossOrigin = value; + } + get [S$.$currentSrc]() { + return this.currentSrc; + } + get [S$.$currentTime]() { + return this.currentTime; + } + set [S$.$currentTime](value) { + this.currentTime = value; + } + get [S$.$defaultMuted]() { + return this.defaultMuted; + } + set [S$.$defaultMuted](value) { + this.defaultMuted = value; + } + get [S$.$defaultPlaybackRate]() { + return this.defaultPlaybackRate; + } + set [S$.$defaultPlaybackRate](value) { + this.defaultPlaybackRate = value; + } + get [S$.$disableRemotePlayback]() { + return this.disableRemotePlayback; + } + set [S$.$disableRemotePlayback](value) { + this.disableRemotePlayback = value; + } + get [S$.$duration]() { + return this.duration; + } + get [S$.$ended]() { + return this.ended; + } + get [S.$error]() { + return this.error; + } + get [S$.$loop]() { + return this.loop; + } + set [S$.$loop](value) { + this.loop = value; + } + get [S$.$mediaKeys]() { + return this.mediaKeys; + } + get [S$.$muted]() { + return this.muted; + } + set [S$.$muted](value) { + this.muted = value; + } + get [S$.$networkState]() { + return this.networkState; + } + get [S$.$paused]() { + return this.paused; + } + get [S$.$playbackRate]() { + return this.playbackRate; + } + set [S$.$playbackRate](value) { + this.playbackRate = value; + } + get [S$.$played]() { + return this.played; + } + get [S$.$preload]() { + return this.preload; + } + set [S$.$preload](value) { + this.preload = value; + } + get [S.$readyState]() { + return this.readyState; + } + get [S$.$remote]() { + return this.remote; + } + get [S$.$seekable]() { + return this.seekable; + } + get [S$.$seeking]() { + return this.seeking; + } + get [S$.$sinkId]() { + return this.sinkId; + } + get [S$.$src]() { + return this.src; + } + set [S$.$src](value) { + this.src = value; + } + get [S$.$srcObject]() { + return this.srcObject; + } + set [S$.$srcObject](value) { + this.srcObject = value; + } + get [S$.$textTracks]() { + return this.textTracks; + } + get [S$.$videoTracks]() { + return this.videoTracks; + } + get [S$.$volume]() { + return this.volume; + } + set [S$.$volume](value) { + this.volume = value; + } + get [S$.$audioDecodedByteCount]() { + return this.webkitAudioDecodedByteCount; + } + get [S$.$videoDecodedByteCount]() { + return this.webkitVideoDecodedByteCount; + } + [S$.$addTextTrack](...args) { + return this.addTextTrack.apply(this, args); + } + [S$.$canPlayType](...args) { + return this.canPlayType.apply(this, args); + } + [S$.$captureStream](...args) { + return this.captureStream.apply(this, args); + } + [S$.$load](...args) { + return this.load.apply(this, args); + } + [S$.$pause](...args) { + return this.pause.apply(this, args); + } + [S$.$play]() { + return js_util.promiseToFuture(dart.dynamic, this.play()); + } + [S$.$setMediaKeys](mediaKeys) { + return js_util.promiseToFuture(dart.dynamic, this.setMediaKeys(mediaKeys)); + } + [S$.$setSinkId](sinkId) { + if (sinkId == null) dart.nullFailed(I[147], 20715, 27, "sinkId"); + return js_util.promiseToFuture(dart.dynamic, this.setSinkId(sinkId)); + } +}; +(html$.MediaElement.created = function() { + html$.MediaElement.__proto__.created.call(this); + ; +}).prototype = html$.MediaElement.prototype; +dart.addTypeTests(html$.MediaElement); +dart.addTypeCaches(html$.MediaElement); +dart.setMethodSignature(html$.MediaElement, () => ({ + __proto__: dart.getMethods(html$.MediaElement.__proto__), + [S$.$addTextTrack]: dart.fnType(html$.TextTrack, [core.String], [dart.nullable(core.String), dart.nullable(core.String)]), + [S$.$canPlayType]: dart.fnType(core.String, [dart.nullable(core.String)], [dart.nullable(core.String)]), + [S$.$captureStream]: dart.fnType(html$.MediaStream, []), + [S$.$load]: dart.fnType(dart.void, []), + [S$.$pause]: dart.fnType(dart.void, []), + [S$.$play]: dart.fnType(async.Future, []), + [S$.$setMediaKeys]: dart.fnType(async.Future, [dart.nullable(html$.MediaKeys)]), + [S$.$setSinkId]: dart.fnType(async.Future, [core.String]) +})); +dart.setGetterSignature(html$.MediaElement, () => ({ + __proto__: dart.getGetters(html$.MediaElement.__proto__), + [S$.$audioTracks]: dart.nullable(web_audio.AudioTrackList), + [S$.$autoplay]: core.bool, + [S$.$buffered]: html$.TimeRanges, + [S$.$controls]: core.bool, + [S$.$controlsList]: dart.nullable(html$.DomTokenList), + [S$.$crossOrigin]: dart.nullable(core.String), + [S$.$currentSrc]: core.String, + [S$.$currentTime]: core.num, + [S$.$defaultMuted]: dart.nullable(core.bool), + [S$.$defaultPlaybackRate]: core.num, + [S$.$disableRemotePlayback]: core.bool, + [S$.$duration]: core.num, + [S$.$ended]: core.bool, + [S.$error]: dart.nullable(html$.MediaError), + [S$.$loop]: core.bool, + [S$.$mediaKeys]: dart.nullable(html$.MediaKeys), + [S$.$muted]: core.bool, + [S$.$networkState]: dart.nullable(core.int), + [S$.$paused]: core.bool, + [S$.$playbackRate]: core.num, + [S$.$played]: html$.TimeRanges, + [S$.$preload]: core.String, + [S.$readyState]: core.int, + [S$.$remote]: dart.nullable(html$.RemotePlayback), + [S$.$seekable]: html$.TimeRanges, + [S$.$seeking]: core.bool, + [S$.$sinkId]: dart.nullable(core.String), + [S$.$src]: core.String, + [S$.$srcObject]: dart.nullable(html$.MediaStream), + [S$.$textTracks]: dart.nullable(html$.TextTrackList), + [S$.$videoTracks]: dart.nullable(html$.VideoTrackList), + [S$.$volume]: core.num, + [S$.$audioDecodedByteCount]: dart.nullable(core.int), + [S$.$videoDecodedByteCount]: dart.nullable(core.int) +})); +dart.setSetterSignature(html$.MediaElement, () => ({ + __proto__: dart.getSetters(html$.MediaElement.__proto__), + [S$.$autoplay]: core.bool, + [S$.$controls]: core.bool, + [S$.$crossOrigin]: dart.nullable(core.String), + [S$.$currentTime]: core.num, + [S$.$defaultMuted]: dart.nullable(core.bool), + [S$.$defaultPlaybackRate]: core.num, + [S$.$disableRemotePlayback]: core.bool, + [S$.$loop]: core.bool, + [S$.$muted]: core.bool, + [S$.$playbackRate]: core.num, + [S$.$preload]: core.String, + [S$.$src]: core.String, + [S$.$srcObject]: dart.nullable(html$.MediaStream), + [S$.$volume]: core.num +})); +dart.setLibraryUri(html$.MediaElement, I[148]); +dart.defineLazy(html$.MediaElement, { + /*html$.MediaElement.HAVE_CURRENT_DATA*/get HAVE_CURRENT_DATA() { + return 2; + }, + /*html$.MediaElement.HAVE_ENOUGH_DATA*/get HAVE_ENOUGH_DATA() { + return 4; + }, + /*html$.MediaElement.HAVE_FUTURE_DATA*/get HAVE_FUTURE_DATA() { + return 3; + }, + /*html$.MediaElement.HAVE_METADATA*/get HAVE_METADATA() { + return 1; + }, + /*html$.MediaElement.HAVE_NOTHING*/get HAVE_NOTHING() { + return 0; + }, + /*html$.MediaElement.NETWORK_EMPTY*/get NETWORK_EMPTY() { + return 0; + }, + /*html$.MediaElement.NETWORK_IDLE*/get NETWORK_IDLE() { + return 1; + }, + /*html$.MediaElement.NETWORK_LOADING*/get NETWORK_LOADING() { + return 2; + }, + /*html$.MediaElement.NETWORK_NO_SOURCE*/get NETWORK_NO_SOURCE() { + return 3; + } +}, false); +dart.registerExtension("HTMLMediaElement", html$.MediaElement); +html$.AudioElement = class AudioElement extends html$.MediaElement { + static __(src = null) { + if (src != null) { + return html$.AudioElement._create_1(src); + } + return html$.AudioElement._create_2(); + } + static _create_1(src) { + return new Audio(src); + } + static _create_2() { + return new Audio(); + } + static new(src = null) { + return html$.AudioElement.__(src); + } +}; +(html$.AudioElement.created = function() { + html$.AudioElement.__proto__.created.call(this); + ; +}).prototype = html$.AudioElement.prototype; +dart.addTypeTests(html$.AudioElement); +dart.addTypeCaches(html$.AudioElement); +dart.setLibraryUri(html$.AudioElement, I[148]); +dart.registerExtension("HTMLAudioElement", html$.AudioElement); +html$.AuthenticatorResponse = class AuthenticatorResponse extends _interceptors.Interceptor { + get [S$.$clientDataJson]() { + return this.clientDataJSON; + } +}; +dart.addTypeTests(html$.AuthenticatorResponse); +dart.addTypeCaches(html$.AuthenticatorResponse); +dart.setGetterSignature(html$.AuthenticatorResponse, () => ({ + __proto__: dart.getGetters(html$.AuthenticatorResponse.__proto__), + [S$.$clientDataJson]: dart.nullable(typed_data.ByteBuffer) +})); +dart.setLibraryUri(html$.AuthenticatorResponse, I[148]); +dart.registerExtension("AuthenticatorResponse", html$.AuthenticatorResponse); +html$.AuthenticatorAssertionResponse = class AuthenticatorAssertionResponse extends html$.AuthenticatorResponse { + get [S$.$authenticatorData]() { + return this.authenticatorData; + } + get [S$.$signature]() { + return this.signature; + } +}; +dart.addTypeTests(html$.AuthenticatorAssertionResponse); +dart.addTypeCaches(html$.AuthenticatorAssertionResponse); +dart.setGetterSignature(html$.AuthenticatorAssertionResponse, () => ({ + __proto__: dart.getGetters(html$.AuthenticatorAssertionResponse.__proto__), + [S$.$authenticatorData]: dart.nullable(typed_data.ByteBuffer), + [S$.$signature]: dart.nullable(typed_data.ByteBuffer) +})); +dart.setLibraryUri(html$.AuthenticatorAssertionResponse, I[148]); +dart.registerExtension("AuthenticatorAssertionResponse", html$.AuthenticatorAssertionResponse); +html$.AuthenticatorAttestationResponse = class AuthenticatorAttestationResponse extends html$.AuthenticatorResponse { + get [S$.$attestationObject]() { + return this.attestationObject; + } +}; +dart.addTypeTests(html$.AuthenticatorAttestationResponse); +dart.addTypeCaches(html$.AuthenticatorAttestationResponse); +dart.setGetterSignature(html$.AuthenticatorAttestationResponse, () => ({ + __proto__: dart.getGetters(html$.AuthenticatorAttestationResponse.__proto__), + [S$.$attestationObject]: dart.nullable(typed_data.ByteBuffer) +})); +dart.setLibraryUri(html$.AuthenticatorAttestationResponse, I[148]); +dart.registerExtension("AuthenticatorAttestationResponse", html$.AuthenticatorAttestationResponse); +html$.BRElement = class BRElement extends html$.HtmlElement { + static new() { + return html$.document.createElement("br"); + } +}; +(html$.BRElement.created = function() { + html$.BRElement.__proto__.created.call(this); + ; +}).prototype = html$.BRElement.prototype; +dart.addTypeTests(html$.BRElement); +dart.addTypeCaches(html$.BRElement); +dart.setLibraryUri(html$.BRElement, I[148]); +dart.registerExtension("HTMLBRElement", html$.BRElement); +html$.BackgroundFetchEvent = class BackgroundFetchEvent$ extends html$.ExtendableEvent { + static new(type, init) { + if (type == null) dart.nullFailed(I[147], 1295, 39, "type"); + if (init == null) dart.nullFailed(I[147], 1295, 49, "init"); + let init_1 = html_common.convertDartToNative_Dictionary(init); + return html$.BackgroundFetchEvent._create_1(type, init_1); + } + static _create_1(type, init) { + return new BackgroundFetchEvent(type, init); + } + get [S.$id]() { + return this.id; + } +}; +dart.addTypeTests(html$.BackgroundFetchEvent); +dart.addTypeCaches(html$.BackgroundFetchEvent); +dart.setGetterSignature(html$.BackgroundFetchEvent, () => ({ + __proto__: dart.getGetters(html$.BackgroundFetchEvent.__proto__), + [S.$id]: dart.nullable(core.String) +})); +dart.setLibraryUri(html$.BackgroundFetchEvent, I[148]); +dart.registerExtension("BackgroundFetchEvent", html$.BackgroundFetchEvent); +html$.BackgroundFetchClickEvent = class BackgroundFetchClickEvent$ extends html$.BackgroundFetchEvent { + static new(type, init) { + if (type == null) dart.nullFailed(I[147], 1272, 44, "type"); + if (init == null) dart.nullFailed(I[147], 1272, 54, "init"); + let init_1 = html_common.convertDartToNative_Dictionary(init); + return html$.BackgroundFetchClickEvent._create_1(type, init_1); + } + static _create_1(type, init) { + return new BackgroundFetchClickEvent(type, init); + } + get [S$.$state]() { + return this.state; + } +}; +dart.addTypeTests(html$.BackgroundFetchClickEvent); +dart.addTypeCaches(html$.BackgroundFetchClickEvent); +dart.setGetterSignature(html$.BackgroundFetchClickEvent, () => ({ + __proto__: dart.getGetters(html$.BackgroundFetchClickEvent.__proto__), + [S$.$state]: dart.nullable(core.String) +})); +dart.setLibraryUri(html$.BackgroundFetchClickEvent, I[148]); +dart.registerExtension("BackgroundFetchClickEvent", html$.BackgroundFetchClickEvent); +html$.BackgroundFetchFailEvent = class BackgroundFetchFailEvent$ extends html$.BackgroundFetchEvent { + static new(type, init) { + if (type == null) dart.nullFailed(I[147], 1315, 43, "type"); + if (init == null) dart.nullFailed(I[147], 1315, 53, "init"); + let init_1 = html_common.convertDartToNative_Dictionary(init); + return html$.BackgroundFetchFailEvent._create_1(type, init_1); + } + static _create_1(type, init) { + return new BackgroundFetchFailEvent(type, init); + } + get [S$.$fetches]() { + return this.fetches; + } +}; +dart.addTypeTests(html$.BackgroundFetchFailEvent); +dart.addTypeCaches(html$.BackgroundFetchFailEvent); +dart.setGetterSignature(html$.BackgroundFetchFailEvent, () => ({ + __proto__: dart.getGetters(html$.BackgroundFetchFailEvent.__proto__), + [S$.$fetches]: dart.nullable(core.List$(html$.BackgroundFetchSettledFetch)) +})); +dart.setLibraryUri(html$.BackgroundFetchFailEvent, I[148]); +dart.registerExtension("BackgroundFetchFailEvent", html$.BackgroundFetchFailEvent); +html$.BackgroundFetchFetch = class BackgroundFetchFetch extends _interceptors.Interceptor { + get [S$.$request]() { + return this.request; + } +}; +dart.addTypeTests(html$.BackgroundFetchFetch); +dart.addTypeCaches(html$.BackgroundFetchFetch); +dart.setGetterSignature(html$.BackgroundFetchFetch, () => ({ + __proto__: dart.getGetters(html$.BackgroundFetchFetch.__proto__), + [S$.$request]: dart.nullable(html$._Request) +})); +dart.setLibraryUri(html$.BackgroundFetchFetch, I[148]); +dart.registerExtension("BackgroundFetchFetch", html$.BackgroundFetchFetch); +html$.BackgroundFetchManager = class BackgroundFetchManager extends _interceptors.Interceptor { + [S$.$fetch](id, requests, options = null) { + if (id == null) dart.nullFailed(I[147], 1351, 52, "id"); + if (requests == null) dart.nullFailed(I[147], 1351, 63, "requests"); + let options_dict = null; + if (options != null) { + options_dict = html_common.convertDartToNative_Dictionary(options); + } + return js_util.promiseToFuture(html$.BackgroundFetchRegistration, this.fetch(id, requests, options_dict)); + } + [S.$get](id) { + if (id == null) dart.nullFailed(I[147], 1366, 50, "id"); + return js_util.promiseToFuture(html$.BackgroundFetchRegistration, this.get(id)); + } + [S$.$getIds]() { + return js_util.promiseToFuture(core.List, this.getIds()); + } +}; +dart.addTypeTests(html$.BackgroundFetchManager); +dart.addTypeCaches(html$.BackgroundFetchManager); +dart.setMethodSignature(html$.BackgroundFetchManager, () => ({ + __proto__: dart.getMethods(html$.BackgroundFetchManager.__proto__), + [S$.$fetch]: dart.fnType(async.Future$(html$.BackgroundFetchRegistration), [core.String, core.Object], [dart.nullable(core.Map)]), + [S.$get]: dart.fnType(async.Future$(html$.BackgroundFetchRegistration), [core.String]), + [S$.$getIds]: dart.fnType(async.Future$(core.List), []) +})); +dart.setLibraryUri(html$.BackgroundFetchManager, I[148]); +dart.registerExtension("BackgroundFetchManager", html$.BackgroundFetchManager); +html$.BackgroundFetchRegistration = class BackgroundFetchRegistration extends html$.EventTarget { + get [S$.$downloadTotal]() { + return this.downloadTotal; + } + get [S$.$downloaded]() { + return this.downloaded; + } + get [S.$id]() { + return this.id; + } + get [S.$title]() { + return this.title; + } + get [S$.$totalDownloadSize]() { + return this.totalDownloadSize; + } + get [S$.$uploadTotal]() { + return this.uploadTotal; + } + get [S$.$uploaded]() { + return this.uploaded; + } + [S.$abort]() { + return js_util.promiseToFuture(core.bool, this.abort()); + } +}; +dart.addTypeTests(html$.BackgroundFetchRegistration); +dart.addTypeCaches(html$.BackgroundFetchRegistration); +dart.setMethodSignature(html$.BackgroundFetchRegistration, () => ({ + __proto__: dart.getMethods(html$.BackgroundFetchRegistration.__proto__), + [S.$abort]: dart.fnType(async.Future$(core.bool), []) +})); +dart.setGetterSignature(html$.BackgroundFetchRegistration, () => ({ + __proto__: dart.getGetters(html$.BackgroundFetchRegistration.__proto__), + [S$.$downloadTotal]: dart.nullable(core.int), + [S$.$downloaded]: dart.nullable(core.int), + [S.$id]: dart.nullable(core.String), + [S.$title]: dart.nullable(core.String), + [S$.$totalDownloadSize]: dart.nullable(core.int), + [S$.$uploadTotal]: dart.nullable(core.int), + [S$.$uploaded]: dart.nullable(core.int) +})); +dart.setLibraryUri(html$.BackgroundFetchRegistration, I[148]); +dart.registerExtension("BackgroundFetchRegistration", html$.BackgroundFetchRegistration); +html$.BackgroundFetchSettledFetch = class BackgroundFetchSettledFetch$ extends html$.BackgroundFetchFetch { + static new(request, response) { + if (request == null) dart.nullFailed(I[147], 1411, 48, "request"); + if (response == null) dart.nullFailed(I[147], 1411, 67, "response"); + return html$.BackgroundFetchSettledFetch._create_1(request, response); + } + static _create_1(request, response) { + return new BackgroundFetchSettledFetch(request, response); + } + get [S$.$response]() { + return this.response; + } +}; +dart.addTypeTests(html$.BackgroundFetchSettledFetch); +dart.addTypeCaches(html$.BackgroundFetchSettledFetch); +dart.setGetterSignature(html$.BackgroundFetchSettledFetch, () => ({ + __proto__: dart.getGetters(html$.BackgroundFetchSettledFetch.__proto__), + [S$.$response]: dart.nullable(html$._Response) +})); +dart.setLibraryUri(html$.BackgroundFetchSettledFetch, I[148]); +dart.registerExtension("BackgroundFetchSettledFetch", html$.BackgroundFetchSettledFetch); +html$.BackgroundFetchedEvent = class BackgroundFetchedEvent$ extends html$.BackgroundFetchEvent { + static new(type, init) { + if (type == null) dart.nullFailed(I[147], 1433, 41, "type"); + if (init == null) dart.nullFailed(I[147], 1433, 51, "init"); + let init_1 = html_common.convertDartToNative_Dictionary(init); + return html$.BackgroundFetchedEvent._create_1(type, init_1); + } + static _create_1(type, init) { + return new BackgroundFetchedEvent(type, init); + } + get [S$.$fetches]() { + return this.fetches; + } + [S$.$updateUI](title) { + if (title == null) dart.nullFailed(I[147], 1442, 26, "title"); + return js_util.promiseToFuture(dart.dynamic, this.updateUI(title)); + } +}; +dart.addTypeTests(html$.BackgroundFetchedEvent); +dart.addTypeCaches(html$.BackgroundFetchedEvent); +dart.setMethodSignature(html$.BackgroundFetchedEvent, () => ({ + __proto__: dart.getMethods(html$.BackgroundFetchedEvent.__proto__), + [S$.$updateUI]: dart.fnType(async.Future, [core.String]) +})); +dart.setGetterSignature(html$.BackgroundFetchedEvent, () => ({ + __proto__: dart.getGetters(html$.BackgroundFetchedEvent.__proto__), + [S$.$fetches]: dart.nullable(core.List$(html$.BackgroundFetchSettledFetch)) +})); +dart.setLibraryUri(html$.BackgroundFetchedEvent, I[148]); +dart.registerExtension("BackgroundFetchedEvent", html$.BackgroundFetchedEvent); +html$.BarProp = class BarProp extends _interceptors.Interceptor { + get [S$.$visible]() { + return this.visible; + } +}; +dart.addTypeTests(html$.BarProp); +dart.addTypeCaches(html$.BarProp); +dart.setGetterSignature(html$.BarProp, () => ({ + __proto__: dart.getGetters(html$.BarProp.__proto__), + [S$.$visible]: dart.nullable(core.bool) +})); +dart.setLibraryUri(html$.BarProp, I[148]); +dart.registerExtension("BarProp", html$.BarProp); +html$.BarcodeDetector = class BarcodeDetector$ extends _interceptors.Interceptor { + static new() { + return html$.BarcodeDetector._create_1(); + } + static _create_1() { + return new BarcodeDetector(); + } + [S$.$detect](image) { + return js_util.promiseToFuture(core.List, this.detect(image)); + } +}; +dart.addTypeTests(html$.BarcodeDetector); +dart.addTypeCaches(html$.BarcodeDetector); +dart.setMethodSignature(html$.BarcodeDetector, () => ({ + __proto__: dart.getMethods(html$.BarcodeDetector.__proto__), + [S$.$detect]: dart.fnType(async.Future$(core.List), [dart.dynamic]) +})); +dart.setLibraryUri(html$.BarcodeDetector, I[148]); +dart.registerExtension("BarcodeDetector", html$.BarcodeDetector); +html$.BaseElement = class BaseElement extends html$.HtmlElement { + static new() { + return html$.document.createElement("base"); + } + get [S$.$href]() { + return this.href; + } + set [S$.$href](value) { + this.href = value; + } + get [S.$target]() { + return this.target; + } + set [S.$target](value) { + this.target = value; + } +}; +(html$.BaseElement.created = function() { + html$.BaseElement.__proto__.created.call(this); + ; +}).prototype = html$.BaseElement.prototype; +dart.addTypeTests(html$.BaseElement); +dart.addTypeCaches(html$.BaseElement); +dart.setGetterSignature(html$.BaseElement, () => ({ + __proto__: dart.getGetters(html$.BaseElement.__proto__), + [S$.$href]: core.String, + [S.$target]: core.String +})); +dart.setSetterSignature(html$.BaseElement, () => ({ + __proto__: dart.getSetters(html$.BaseElement.__proto__), + [S$.$href]: core.String, + [S.$target]: core.String +})); +dart.setLibraryUri(html$.BaseElement, I[148]); +dart.registerExtension("HTMLBaseElement", html$.BaseElement); +html$.BatteryManager = class BatteryManager extends html$.EventTarget { + get [S$.$charging]() { + return this.charging; + } + get [S$.$chargingTime]() { + return this.chargingTime; + } + get [S$.$dischargingTime]() { + return this.dischargingTime; + } + get [S$.$level]() { + return this.level; + } +}; +dart.addTypeTests(html$.BatteryManager); +dart.addTypeCaches(html$.BatteryManager); +dart.setGetterSignature(html$.BatteryManager, () => ({ + __proto__: dart.getGetters(html$.BatteryManager.__proto__), + [S$.$charging]: dart.nullable(core.bool), + [S$.$chargingTime]: dart.nullable(core.num), + [S$.$dischargingTime]: dart.nullable(core.num), + [S$.$level]: dart.nullable(core.num) +})); +dart.setLibraryUri(html$.BatteryManager, I[148]); +dart.registerExtension("BatteryManager", html$.BatteryManager); +html$.BeforeInstallPromptEvent = class BeforeInstallPromptEvent$ extends html$.Event { + static new(type, eventInitDict = null) { + if (type == null) dart.nullFailed(I[147], 1541, 43, "type"); + if (eventInitDict != null) { + let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); + return html$.BeforeInstallPromptEvent._create_1(type, eventInitDict_1); + } + return html$.BeforeInstallPromptEvent._create_2(type); + } + static _create_1(type, eventInitDict) { + return new BeforeInstallPromptEvent(type, eventInitDict); + } + static _create_2(type) { + return new BeforeInstallPromptEvent(type); + } + get [S$.$platforms]() { + return this.platforms; + } + get [S$.$userChoice]() { + return html$.promiseToFutureAsMap(this.userChoice); + } + [S$.$prompt]() { + return js_util.promiseToFuture(dart.dynamic, this.prompt()); + } +}; +dart.addTypeTests(html$.BeforeInstallPromptEvent); +dart.addTypeCaches(html$.BeforeInstallPromptEvent); +dart.setMethodSignature(html$.BeforeInstallPromptEvent, () => ({ + __proto__: dart.getMethods(html$.BeforeInstallPromptEvent.__proto__), + [S$.$prompt]: dart.fnType(async.Future, []) +})); +dart.setGetterSignature(html$.BeforeInstallPromptEvent, () => ({ + __proto__: dart.getGetters(html$.BeforeInstallPromptEvent.__proto__), + [S$.$platforms]: dart.nullable(core.List$(core.String)), + [S$.$userChoice]: async.Future$(dart.nullable(core.Map$(core.String, dart.dynamic))) +})); +dart.setLibraryUri(html$.BeforeInstallPromptEvent, I[148]); +dart.registerExtension("BeforeInstallPromptEvent", html$.BeforeInstallPromptEvent); +html$.BeforeUnloadEvent = class BeforeUnloadEvent extends html$.Event { + get [S$.$returnValue]() { + return this.returnValue; + } + set [S$.$returnValue](value) { + this.returnValue = value; + } +}; +dart.addTypeTests(html$.BeforeUnloadEvent); +dart.addTypeCaches(html$.BeforeUnloadEvent); +dart.setGetterSignature(html$.BeforeUnloadEvent, () => ({ + __proto__: dart.getGetters(html$.BeforeUnloadEvent.__proto__), + [S$.$returnValue]: dart.nullable(core.String) +})); +dart.setSetterSignature(html$.BeforeUnloadEvent, () => ({ + __proto__: dart.getSetters(html$.BeforeUnloadEvent.__proto__), + [S$.$returnValue]: dart.nullable(core.String) +})); +dart.setLibraryUri(html$.BeforeUnloadEvent, I[148]); +dart.registerExtension("BeforeUnloadEvent", html$.BeforeUnloadEvent); +html$.Blob = class Blob extends _interceptors.Interceptor { + get [S$.$size]() { + return this.size; + } + get [S.$type]() { + return this.type; + } + [S$.$slice](...args) { + return this.slice.apply(this, args); + } + static new(blobParts, type = null, endings = null) { + if (blobParts == null) dart.nullFailed(I[147], 1597, 21, "blobParts"); + if (type == null && endings == null) { + return html$.Blob.as(html$.Blob._create_1(blobParts)); + } + let bag = html$.Blob._create_bag(); + if (type != null) html$.Blob._bag_set(bag, "type", type); + if (endings != null) html$.Blob._bag_set(bag, "endings", endings); + return html$.Blob.as(html$.Blob._create_2(blobParts, bag)); + } + static _create_1(parts) { + return new self.Blob(parts); + } + static _create_2(parts, bag) { + return new self.Blob(parts, bag); + } + static _create_bag() { + return {}; + } + static _bag_set(bag, key, value) { + bag[key] = value; + } +}; +dart.addTypeTests(html$.Blob); +dart.addTypeCaches(html$.Blob); +dart.setMethodSignature(html$.Blob, () => ({ + __proto__: dart.getMethods(html$.Blob.__proto__), + [S$.$slice]: dart.fnType(html$.Blob, [], [dart.nullable(core.int), dart.nullable(core.int), dart.nullable(core.String)]) +})); +dart.setGetterSignature(html$.Blob, () => ({ + __proto__: dart.getGetters(html$.Blob.__proto__), + [S$.$size]: core.int, + [S.$type]: core.String +})); +dart.setLibraryUri(html$.Blob, I[148]); +dart.registerExtension("Blob", html$.Blob); +html$.BlobEvent = class BlobEvent$ extends html$.Event { + static new(type, eventInitDict) { + if (type == null) dart.nullFailed(I[147], 1636, 28, "type"); + if (eventInitDict == null) dart.nullFailed(I[147], 1636, 38, "eventInitDict"); + let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); + return html$.BlobEvent._create_1(type, eventInitDict_1); + } + static _create_1(type, eventInitDict) { + return new BlobEvent(type, eventInitDict); + } + get [S$.$data]() { + return this.data; + } + get [S$.$timecode]() { + return this.timecode; + } +}; +dart.addTypeTests(html$.BlobEvent); +dart.addTypeCaches(html$.BlobEvent); +dart.setGetterSignature(html$.BlobEvent, () => ({ + __proto__: dart.getGetters(html$.BlobEvent.__proto__), + [S$.$data]: dart.nullable(html$.Blob), + [S$.$timecode]: dart.nullable(core.num) +})); +dart.setLibraryUri(html$.BlobEvent, I[148]); +dart.registerExtension("BlobEvent", html$.BlobEvent); +html$.BluetoothRemoteGattDescriptor = class BluetoothRemoteGattDescriptor extends _interceptors.Interceptor { + get [S$.$characteristic]() { + return this.characteristic; + } + get [S$.$uuid]() { + return this.uuid; + } + get [S.$value]() { + return this.value; + } + [S$.$readValue]() { + return js_util.promiseToFuture(dart.dynamic, this.readValue()); + } + [S$.$writeValue](value) { + return js_util.promiseToFuture(dart.dynamic, this.writeValue(value)); + } +}; +dart.addTypeTests(html$.BluetoothRemoteGattDescriptor); +dart.addTypeCaches(html$.BluetoothRemoteGattDescriptor); +dart.setMethodSignature(html$.BluetoothRemoteGattDescriptor, () => ({ + __proto__: dart.getMethods(html$.BluetoothRemoteGattDescriptor.__proto__), + [S$.$readValue]: dart.fnType(async.Future, []), + [S$.$writeValue]: dart.fnType(async.Future, [dart.dynamic]) +})); +dart.setGetterSignature(html$.BluetoothRemoteGattDescriptor, () => ({ + __proto__: dart.getGetters(html$.BluetoothRemoteGattDescriptor.__proto__), + [S$.$characteristic]: dart.nullable(html$._BluetoothRemoteGATTCharacteristic), + [S$.$uuid]: dart.nullable(core.String), + [S.$value]: dart.nullable(typed_data.ByteData) +})); +dart.setLibraryUri(html$.BluetoothRemoteGattDescriptor, I[148]); +dart.registerExtension("BluetoothRemoteGATTDescriptor", html$.BluetoothRemoteGattDescriptor); +html$.Body = class Body extends _interceptors.Interceptor { + get [S$.$bodyUsed]() { + return this.bodyUsed; + } + [S$.$arrayBuffer]() { + return js_util.promiseToFuture(dart.dynamic, this.arrayBuffer()); + } + [S$.$blob]() { + return js_util.promiseToFuture(html$.Blob, this.blob()); + } + [S$.$formData]() { + return js_util.promiseToFuture(html$.FormData, this.formData()); + } + [S$.$json]() { + return js_util.promiseToFuture(dart.dynamic, this.json()); + } + [S.$text]() { + return js_util.promiseToFuture(core.String, this.text()); + } +}; +dart.addTypeTests(html$.Body); +dart.addTypeCaches(html$.Body); +dart.setMethodSignature(html$.Body, () => ({ + __proto__: dart.getMethods(html$.Body.__proto__), + [S$.$arrayBuffer]: dart.fnType(async.Future, []), + [S$.$blob]: dart.fnType(async.Future$(html$.Blob), []), + [S$.$formData]: dart.fnType(async.Future$(html$.FormData), []), + [S$.$json]: dart.fnType(async.Future, []), + [S.$text]: dart.fnType(async.Future$(core.String), []) +})); +dart.setGetterSignature(html$.Body, () => ({ + __proto__: dart.getGetters(html$.Body.__proto__), + [S$.$bodyUsed]: dart.nullable(core.bool) +})); +dart.setLibraryUri(html$.Body, I[148]); +dart.registerExtension("Body", html$.Body); +html$.BodyElement = class BodyElement extends html$.HtmlElement { + static new() { + return html$.document.createElement("body"); + } + get [S.$onBlur]() { + return html$.BodyElement.blurEvent.forElement(this); + } + get [S.$onError]() { + return html$.BodyElement.errorEvent.forElement(this); + } + get [S.$onFocus]() { + return html$.BodyElement.focusEvent.forElement(this); + } + get [S$.$onHashChange]() { + return html$.BodyElement.hashChangeEvent.forElement(this); + } + get [S.$onLoad]() { + return html$.BodyElement.loadEvent.forElement(this); + } + get [S$.$onMessage]() { + return html$.BodyElement.messageEvent.forElement(this); + } + get [S$.$onOffline]() { + return html$.BodyElement.offlineEvent.forElement(this); + } + get [S$.$onOnline]() { + return html$.BodyElement.onlineEvent.forElement(this); + } + get [S$.$onPopState]() { + return html$.BodyElement.popStateEvent.forElement(this); + } + get [S.$onResize]() { + return html$.BodyElement.resizeEvent.forElement(this); + } + get [S.$onScroll]() { + return html$.BodyElement.scrollEvent.forElement(this); + } + get [S$.$onStorage]() { + return html$.BodyElement.storageEvent.forElement(this); + } + get [S$.$onUnload]() { + return html$.BodyElement.unloadEvent.forElement(this); + } +}; +(html$.BodyElement.created = function() { + html$.BodyElement.__proto__.created.call(this); + ; +}).prototype = html$.BodyElement.prototype; +dart.addTypeTests(html$.BodyElement); +dart.addTypeCaches(html$.BodyElement); +html$.BodyElement[dart.implements] = () => [html$.WindowEventHandlers]; +dart.setGetterSignature(html$.BodyElement, () => ({ + __proto__: dart.getGetters(html$.BodyElement.__proto__), + [S$.$onHashChange]: html$.ElementStream$(html$.Event), + [S$.$onMessage]: html$.ElementStream$(html$.MessageEvent), + [S$.$onOffline]: html$.ElementStream$(html$.Event), + [S$.$onOnline]: html$.ElementStream$(html$.Event), + [S$.$onPopState]: html$.ElementStream$(html$.PopStateEvent), + [S$.$onStorage]: html$.ElementStream$(html$.StorageEvent), + [S$.$onUnload]: html$.ElementStream$(html$.Event) +})); +dart.setLibraryUri(html$.BodyElement, I[148]); +dart.defineLazy(html$.BodyElement, { + /*html$.BodyElement.blurEvent*/get blurEvent() { + return C[233] || CT.C233; + }, + /*html$.BodyElement.errorEvent*/get errorEvent() { + return C[216] || CT.C216; + }, + /*html$.BodyElement.focusEvent*/get focusEvent() { + return C[252] || CT.C252; + }, + /*html$.BodyElement.hashChangeEvent*/get hashChangeEvent() { + return C[311] || CT.C311; + }, + /*html$.BodyElement.loadEvent*/get loadEvent() { + return C[258] || CT.C258; + }, + /*html$.BodyElement.messageEvent*/get messageEvent() { + return C[312] || CT.C312; + }, + /*html$.BodyElement.offlineEvent*/get offlineEvent() { + return C[313] || CT.C313; + }, + /*html$.BodyElement.onlineEvent*/get onlineEvent() { + return C[314] || CT.C314; + }, + /*html$.BodyElement.popStateEvent*/get popStateEvent() { + return C[315] || CT.C315; + }, + /*html$.BodyElement.resizeEvent*/get resizeEvent() { + return C[274] || CT.C274; + }, + /*html$.BodyElement.scrollEvent*/get scrollEvent() { + return C[275] || CT.C275; + }, + /*html$.BodyElement.storageEvent*/get storageEvent() { + return C[316] || CT.C316; + }, + /*html$.BodyElement.unloadEvent*/get unloadEvent() { + return C[317] || CT.C317; + } +}, false); +dart.registerExtension("HTMLBodyElement", html$.BodyElement); +html$.BroadcastChannel = class BroadcastChannel$ extends html$.EventTarget { + static new(name) { + if (name == null) dart.nullFailed(I[147], 1880, 35, "name"); + return html$.BroadcastChannel._create_1(name); + } + static _create_1(name) { + return new BroadcastChannel(name); + } + get [$name]() { + return this.name; + } + [S.$close](...args) { + return this.close.apply(this, args); + } + [S$.$postMessage](...args) { + return this.postMessage.apply(this, args); + } + get [S$.$onMessage]() { + return html$.BroadcastChannel.messageEvent.forTarget(this); + } +}; +dart.addTypeTests(html$.BroadcastChannel); +dart.addTypeCaches(html$.BroadcastChannel); +dart.setMethodSignature(html$.BroadcastChannel, () => ({ + __proto__: dart.getMethods(html$.BroadcastChannel.__proto__), + [S.$close]: dart.fnType(dart.void, []), + [S$.$postMessage]: dart.fnType(dart.void, [core.Object]) +})); +dart.setGetterSignature(html$.BroadcastChannel, () => ({ + __proto__: dart.getGetters(html$.BroadcastChannel.__proto__), + [$name]: dart.nullable(core.String), + [S$.$onMessage]: async.Stream$(html$.MessageEvent) +})); +dart.setLibraryUri(html$.BroadcastChannel, I[148]); +dart.defineLazy(html$.BroadcastChannel, { + /*html$.BroadcastChannel.messageEvent*/get messageEvent() { + return C[312] || CT.C312; + } +}, false); +dart.registerExtension("BroadcastChannel", html$.BroadcastChannel); +html$.BudgetState = class BudgetState extends _interceptors.Interceptor { + get [S$.$budgetAt]() { + return this.budgetAt; + } + get [S$.$time]() { + return this.time; + } +}; +dart.addTypeTests(html$.BudgetState); +dart.addTypeCaches(html$.BudgetState); +dart.setGetterSignature(html$.BudgetState, () => ({ + __proto__: dart.getGetters(html$.BudgetState.__proto__), + [S$.$budgetAt]: dart.nullable(core.num), + [S$.$time]: dart.nullable(core.int) +})); +dart.setLibraryUri(html$.BudgetState, I[148]); +dart.registerExtension("BudgetState", html$.BudgetState); +html$.ButtonElement = class ButtonElement extends html$.HtmlElement { + static new() { + return html$.document.createElement("button"); + } + get [S$.$autofocus]() { + return this.autofocus; + } + set [S$.$autofocus](value) { + this.autofocus = value; + } + get [S$.$disabled]() { + return this.disabled; + } + set [S$.$disabled](value) { + this.disabled = value; + } + get [S$.$form]() { + return this.form; + } + get [S$.$formAction]() { + return this.formAction; + } + set [S$.$formAction](value) { + this.formAction = value; + } + get [S$.$formEnctype]() { + return this.formEnctype; + } + set [S$.$formEnctype](value) { + this.formEnctype = value; + } + get [S$.$formMethod]() { + return this.formMethod; + } + set [S$.$formMethod](value) { + this.formMethod = value; + } + get [S$.$formNoValidate]() { + return this.formNoValidate; + } + set [S$.$formNoValidate](value) { + this.formNoValidate = value; + } + get [S$.$formTarget]() { + return this.formTarget; + } + set [S$.$formTarget](value) { + this.formTarget = value; + } + get [S$.$labels]() { + return this.labels; + } + get [$name]() { + return this.name; + } + set [$name](value) { + this.name = value; + } + get [S.$type]() { + return this.type; + } + set [S.$type](value) { + this.type = value; + } + get [S$.$validationMessage]() { + return this.validationMessage; + } + get [S$.$validity]() { + return this.validity; + } + get [S.$value]() { + return this.value; + } + set [S.$value](value) { + this.value = value; + } + get [S$.$willValidate]() { + return this.willValidate; + } + [S$.$checkValidity](...args) { + return this.checkValidity.apply(this, args); + } + [S$.$reportValidity](...args) { + return this.reportValidity.apply(this, args); + } + [S$.$setCustomValidity](...args) { + return this.setCustomValidity.apply(this, args); + } +}; +(html$.ButtonElement.created = function() { + html$.ButtonElement.__proto__.created.call(this); + ; +}).prototype = html$.ButtonElement.prototype; +dart.addTypeTests(html$.ButtonElement); +dart.addTypeCaches(html$.ButtonElement); +dart.setMethodSignature(html$.ButtonElement, () => ({ + __proto__: dart.getMethods(html$.ButtonElement.__proto__), + [S$.$checkValidity]: dart.fnType(core.bool, []), + [S$.$reportValidity]: dart.fnType(core.bool, []), + [S$.$setCustomValidity]: dart.fnType(dart.void, [core.String]) +})); +dart.setGetterSignature(html$.ButtonElement, () => ({ + __proto__: dart.getGetters(html$.ButtonElement.__proto__), + [S$.$autofocus]: core.bool, + [S$.$disabled]: core.bool, + [S$.$form]: dart.nullable(html$.FormElement), + [S$.$formAction]: dart.nullable(core.String), + [S$.$formEnctype]: dart.nullable(core.String), + [S$.$formMethod]: dart.nullable(core.String), + [S$.$formNoValidate]: core.bool, + [S$.$formTarget]: core.String, + [S$.$labels]: dart.nullable(core.List$(html$.Node)), + [$name]: core.String, + [S.$type]: core.String, + [S$.$validationMessage]: core.String, + [S$.$validity]: html$.ValidityState, + [S.$value]: core.String, + [S$.$willValidate]: core.bool +})); +dart.setSetterSignature(html$.ButtonElement, () => ({ + __proto__: dart.getSetters(html$.ButtonElement.__proto__), + [S$.$autofocus]: core.bool, + [S$.$disabled]: core.bool, + [S$.$formAction]: dart.nullable(core.String), + [S$.$formEnctype]: dart.nullable(core.String), + [S$.$formMethod]: dart.nullable(core.String), + [S$.$formNoValidate]: core.bool, + [S$.$formTarget]: core.String, + [$name]: core.String, + [S.$type]: core.String, + [S.$value]: core.String +})); +dart.setLibraryUri(html$.ButtonElement, I[148]); +dart.registerExtension("HTMLButtonElement", html$.ButtonElement); +html$.CharacterData = class CharacterData extends html$.Node { + get [S$.$data]() { + return this.data; + } + set [S$.$data](value) { + this.data = value; + } + get [$length]() { + return this.length; + } + [S$.$appendData](...args) { + return this.appendData.apply(this, args); + } + [S$.$deleteData](...args) { + return this.deleteData.apply(this, args); + } + [S$.$insertData](...args) { + return this.insertData.apply(this, args); + } + [S$.$replaceData](...args) { + return this.replaceData.apply(this, args); + } + [S$.$substringData](...args) { + return this.substringData.apply(this, args); + } + [S.$after](...args) { + return this.after.apply(this, args); + } + [S.$before](...args) { + return this.before.apply(this, args); + } + get [S.$nextElementSibling]() { + return this.nextElementSibling; + } + get [S.$previousElementSibling]() { + return this.previousElementSibling; + } +}; +dart.addTypeTests(html$.CharacterData); +dart.addTypeCaches(html$.CharacterData); +html$.CharacterData[dart.implements] = () => [html$.NonDocumentTypeChildNode, html$.ChildNode]; +dart.setMethodSignature(html$.CharacterData, () => ({ + __proto__: dart.getMethods(html$.CharacterData.__proto__), + [S$.$appendData]: dart.fnType(dart.void, [core.String]), + [S$.$deleteData]: dart.fnType(dart.void, [core.int, core.int]), + [S$.$insertData]: dart.fnType(dart.void, [core.int, core.String]), + [S$.$replaceData]: dart.fnType(dart.void, [core.int, core.int, core.String]), + [S$.$substringData]: dart.fnType(core.String, [core.int, core.int]), + [S.$after]: dart.fnType(dart.void, [core.Object]), + [S.$before]: dart.fnType(dart.void, [core.Object]) +})); +dart.setGetterSignature(html$.CharacterData, () => ({ + __proto__: dart.getGetters(html$.CharacterData.__proto__), + [S$.$data]: dart.nullable(core.String), + [$length]: dart.nullable(core.int), + [S.$nextElementSibling]: dart.nullable(html$.Element), + [S.$previousElementSibling]: dart.nullable(html$.Element) +})); +dart.setSetterSignature(html$.CharacterData, () => ({ + __proto__: dart.getSetters(html$.CharacterData.__proto__), + [S$.$data]: dart.nullable(core.String) +})); +dart.setLibraryUri(html$.CharacterData, I[148]); +dart.registerExtension("CharacterData", html$.CharacterData); +html$.Text = class Text extends html$.CharacterData { + static new(data) { + if (data == null) dart.nullFailed(I[147], 29705, 23, "data"); + return html$.document.createTextNode(data); + } + get [S.$assignedSlot]() { + return this.assignedSlot; + } + get [S$.$wholeText]() { + return this.wholeText; + } + [S.$getDestinationInsertionPoints](...args) { + return this.getDestinationInsertionPoints.apply(this, args); + } + [S$.$splitText](...args) { + return this.splitText.apply(this, args); + } +}; +dart.addTypeTests(html$.Text); +dart.addTypeCaches(html$.Text); +dart.setMethodSignature(html$.Text, () => ({ + __proto__: dart.getMethods(html$.Text.__proto__), + [S.$getDestinationInsertionPoints]: dart.fnType(core.List$(html$.Node), []), + [S$.$splitText]: dart.fnType(html$.Text, [core.int]) +})); +dart.setGetterSignature(html$.Text, () => ({ + __proto__: dart.getGetters(html$.Text.__proto__), + [S.$assignedSlot]: dart.nullable(html$.SlotElement), + [S$.$wholeText]: core.String +})); +dart.setLibraryUri(html$.Text, I[148]); +dart.registerExtension("Text", html$.Text); +html$.CDataSection = class CDataSection extends html$.Text {}; +dart.addTypeTests(html$.CDataSection); +dart.addTypeCaches(html$.CDataSection); +dart.setLibraryUri(html$.CDataSection, I[148]); +dart.registerExtension("CDATASection", html$.CDataSection); +html$.CacheStorage = class CacheStorage extends _interceptors.Interceptor { + [S.$delete](cacheName) { + if (cacheName == null) dart.nullFailed(I[147], 2015, 24, "cacheName"); + return js_util.promiseToFuture(dart.dynamic, this.delete(cacheName)); + } + [S$.$has](cacheName) { + if (cacheName == null) dart.nullFailed(I[147], 2018, 21, "cacheName"); + return js_util.promiseToFuture(dart.dynamic, this.has(cacheName)); + } + [$keys]() { + return js_util.promiseToFuture(dart.dynamic, this.keys()); + } + [S$.$match](request, options = null) { + let options_dict = null; + if (options != null) { + options_dict = html_common.convertDartToNative_Dictionary(options); + } + return js_util.promiseToFuture(dart.dynamic, this.match(request, options_dict)); + } + [S.$open](cacheName) { + if (cacheName == null) dart.nullFailed(I[147], 2032, 22, "cacheName"); + return js_util.promiseToFuture(dart.dynamic, this.open(cacheName)); + } +}; +dart.addTypeTests(html$.CacheStorage); +dart.addTypeCaches(html$.CacheStorage); +dart.setMethodSignature(html$.CacheStorage, () => ({ + __proto__: dart.getMethods(html$.CacheStorage.__proto__), + [S.$delete]: dart.fnType(async.Future, [core.String]), + [S$.$has]: dart.fnType(async.Future, [core.String]), + [$keys]: dart.fnType(async.Future, []), + [S$.$match]: dart.fnType(async.Future, [dart.dynamic], [dart.nullable(core.Map)]), + [S.$open]: dart.fnType(async.Future, [core.String]) +})); +dart.setLibraryUri(html$.CacheStorage, I[148]); +dart.registerExtension("CacheStorage", html$.CacheStorage); +html$.CanMakePaymentEvent = class CanMakePaymentEvent$ extends html$.ExtendableEvent { + static new(type, eventInitDict) { + if (type == null) dart.nullFailed(I[147], 2046, 38, "type"); + if (eventInitDict == null) dart.nullFailed(I[147], 2046, 48, "eventInitDict"); + let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); + return html$.CanMakePaymentEvent._create_1(type, eventInitDict_1); + } + static _create_1(type, eventInitDict) { + return new CanMakePaymentEvent(type, eventInitDict); + } + get [S$.$methodData]() { + return this.methodData; + } + get [S$.$modifiers]() { + return this.modifiers; + } + get [S$.$paymentRequestOrigin]() { + return this.paymentRequestOrigin; + } + get [S$.$topLevelOrigin]() { + return this.topLevelOrigin; + } + [S$.$respondWith](...args) { + return this.respondWith.apply(this, args); + } +}; +dart.addTypeTests(html$.CanMakePaymentEvent); +dart.addTypeCaches(html$.CanMakePaymentEvent); +dart.setMethodSignature(html$.CanMakePaymentEvent, () => ({ + __proto__: dart.getMethods(html$.CanMakePaymentEvent.__proto__), + [S$.$respondWith]: dart.fnType(dart.void, [async.Future]) +})); +dart.setGetterSignature(html$.CanMakePaymentEvent, () => ({ + __proto__: dart.getGetters(html$.CanMakePaymentEvent.__proto__), + [S$.$methodData]: dart.nullable(core.List), + [S$.$modifiers]: dart.nullable(core.List), + [S$.$paymentRequestOrigin]: dart.nullable(core.String), + [S$.$topLevelOrigin]: dart.nullable(core.String) +})); +dart.setLibraryUri(html$.CanMakePaymentEvent, I[148]); +dart.registerExtension("CanMakePaymentEvent", html$.CanMakePaymentEvent); +html$.MediaStreamTrack = class MediaStreamTrack extends html$.EventTarget { + get [S$.$contentHint]() { + return this.contentHint; + } + set [S$.$contentHint](value) { + this.contentHint = value; + } + get [S$.$enabled]() { + return this.enabled; + } + set [S$.$enabled](value) { + this.enabled = value; + } + get [S.$id]() { + return this.id; + } + get [S$.$kind]() { + return this.kind; + } + get [S$.$label]() { + return this.label; + } + get [S$.$muted]() { + return this.muted; + } + get [S.$readyState]() { + return this.readyState; + } + [S$.$applyConstraints](constraints = null) { + let constraints_dict = null; + if (constraints != null) { + constraints_dict = html_common.convertDartToNative_Dictionary(constraints); + } + return js_util.promiseToFuture(dart.dynamic, this.applyConstraints(constraints_dict)); + } + [S$.$clone](...args) { + return this.clone.apply(this, args); + } + [S$.$getCapabilities]() { + return dart.nullCheck(html_common.convertNativeToDart_Dictionary(this[S$._getCapabilities_1]())); + } + [S$._getCapabilities_1](...args) { + return this.getCapabilities.apply(this, args); + } + [S$.$getConstraints]() { + return dart.nullCheck(html_common.convertNativeToDart_Dictionary(this[S$._getConstraints_1]())); + } + [S$._getConstraints_1](...args) { + return this.getConstraints.apply(this, args); + } + [S$.$getSettings]() { + return dart.nullCheck(html_common.convertNativeToDart_Dictionary(this[S$._getSettings_1]())); + } + [S$._getSettings_1](...args) { + return this.getSettings.apply(this, args); + } + [S$.$stop](...args) { + return this.stop.apply(this, args); + } + get [S.$onEnded]() { + return html$.MediaStreamTrack.endedEvent.forTarget(this); + } + get [S$.$onMute]() { + return html$.MediaStreamTrack.muteEvent.forTarget(this); + } + get [S$.$onUnmute]() { + return html$.MediaStreamTrack.unmuteEvent.forTarget(this); + } +}; +dart.addTypeTests(html$.MediaStreamTrack); +dart.addTypeCaches(html$.MediaStreamTrack); +dart.setMethodSignature(html$.MediaStreamTrack, () => ({ + __proto__: dart.getMethods(html$.MediaStreamTrack.__proto__), + [S$.$applyConstraints]: dart.fnType(async.Future, [], [dart.nullable(core.Map)]), + [S$.$clone]: dart.fnType(html$.MediaStreamTrack, []), + [S$.$getCapabilities]: dart.fnType(core.Map, []), + [S$._getCapabilities_1]: dart.fnType(dart.dynamic, []), + [S$.$getConstraints]: dart.fnType(core.Map, []), + [S$._getConstraints_1]: dart.fnType(dart.dynamic, []), + [S$.$getSettings]: dart.fnType(core.Map, []), + [S$._getSettings_1]: dart.fnType(dart.dynamic, []), + [S$.$stop]: dart.fnType(dart.void, []) +})); +dart.setGetterSignature(html$.MediaStreamTrack, () => ({ + __proto__: dart.getGetters(html$.MediaStreamTrack.__proto__), + [S$.$contentHint]: dart.nullable(core.String), + [S$.$enabled]: dart.nullable(core.bool), + [S.$id]: dart.nullable(core.String), + [S$.$kind]: dart.nullable(core.String), + [S$.$label]: dart.nullable(core.String), + [S$.$muted]: dart.nullable(core.bool), + [S.$readyState]: dart.nullable(core.String), + [S.$onEnded]: async.Stream$(html$.Event), + [S$.$onMute]: async.Stream$(html$.Event), + [S$.$onUnmute]: async.Stream$(html$.Event) +})); +dart.setSetterSignature(html$.MediaStreamTrack, () => ({ + __proto__: dart.getSetters(html$.MediaStreamTrack.__proto__), + [S$.$contentHint]: dart.nullable(core.String), + [S$.$enabled]: dart.nullable(core.bool) +})); +dart.setLibraryUri(html$.MediaStreamTrack, I[148]); +dart.defineLazy(html$.MediaStreamTrack, { + /*html$.MediaStreamTrack.endedEvent*/get endedEvent() { + return C[251] || CT.C251; + }, + /*html$.MediaStreamTrack.muteEvent*/get muteEvent() { + return C[318] || CT.C318; + }, + /*html$.MediaStreamTrack.unmuteEvent*/get unmuteEvent() { + return C[319] || CT.C319; + } +}, false); +dart.registerExtension("MediaStreamTrack", html$.MediaStreamTrack); +html$.CanvasCaptureMediaStreamTrack = class CanvasCaptureMediaStreamTrack extends html$.MediaStreamTrack { + get [S$.$canvas]() { + return this.canvas; + } + [S$.$requestFrame](...args) { + return this.requestFrame.apply(this, args); + } +}; +dart.addTypeTests(html$.CanvasCaptureMediaStreamTrack); +dart.addTypeCaches(html$.CanvasCaptureMediaStreamTrack); +dart.setMethodSignature(html$.CanvasCaptureMediaStreamTrack, () => ({ + __proto__: dart.getMethods(html$.CanvasCaptureMediaStreamTrack.__proto__), + [S$.$requestFrame]: dart.fnType(dart.void, []) +})); +dart.setGetterSignature(html$.CanvasCaptureMediaStreamTrack, () => ({ + __proto__: dart.getGetters(html$.CanvasCaptureMediaStreamTrack.__proto__), + [S$.$canvas]: dart.nullable(html$.CanvasElement) +})); +dart.setLibraryUri(html$.CanvasCaptureMediaStreamTrack, I[148]); +dart.registerExtension("CanvasCaptureMediaStreamTrack", html$.CanvasCaptureMediaStreamTrack); +html$.CanvasElement = class CanvasElement extends html$.HtmlElement { + static new(opts) { + let width = opts && 'width' in opts ? opts.width : null; + let height = opts && 'height' in opts ? opts.height : null; + let e = html$.document.createElement("canvas"); + if (width != null) e.width = width; + if (height != null) e.height = height; + return e; + } + get [$height]() { + return this.height; + } + set [$height](value) { + this.height = value; + } + get [$width]() { + return this.width; + } + set [$width](value) { + this.width = value; + } + [S$.$captureStream](...args) { + return this.captureStream.apply(this, args); + } + [S$.$getContext](contextId, attributes = null) { + if (contextId == null) dart.nullFailed(I[147], 2143, 29, "contextId"); + if (attributes != null) { + let attributes_1 = html_common.convertDartToNative_Dictionary(attributes); + return this[S$._getContext_1](contextId, attributes_1); + } + return this[S$._getContext_2](contextId); + } + [S$._getContext_1](...args) { + return this.getContext.apply(this, args); + } + [S$._getContext_2](...args) { + return this.getContext.apply(this, args); + } + [S$._toDataUrl](...args) { + return this.toDataURL.apply(this, args); + } + [S$.$transferControlToOffscreen](...args) { + return this.transferControlToOffscreen.apply(this, args); + } + get [S$.$onWebGlContextLost]() { + return html$.CanvasElement.webGlContextLostEvent.forElement(this); + } + get [S$.$onWebGlContextRestored]() { + return html$.CanvasElement.webGlContextRestoredEvent.forElement(this); + } + get [S$.$context2D]() { + return this.getContext("2d"); + } + [S$.$getContext3d](opts) { + let alpha = opts && 'alpha' in opts ? opts.alpha : true; + let depth = opts && 'depth' in opts ? opts.depth : true; + let stencil = opts && 'stencil' in opts ? opts.stencil : false; + let antialias = opts && 'antialias' in opts ? opts.antialias : true; + let premultipliedAlpha = opts && 'premultipliedAlpha' in opts ? opts.premultipliedAlpha : true; + let preserveDrawingBuffer = opts && 'preserveDrawingBuffer' in opts ? opts.preserveDrawingBuffer : false; + let options = new (T$0.IdentityMapOfString$dynamic()).from(["alpha", alpha, "depth", depth, "stencil", stencil, "antialias", antialias, "premultipliedAlpha", premultipliedAlpha, "preserveDrawingBuffer", preserveDrawingBuffer]); + let context = this[S$.$getContext]("webgl", options); + if (context == null) { + context = this[S$.$getContext]("experimental-webgl", options); + } + return web_gl.RenderingContext.as(context); + } + [S$.$toDataUrl](type = "image/png", quality = null) { + if (type == null) dart.nullFailed(I[147], 2251, 28, "type"); + return this[S$._toDataUrl](type, quality); + } + [S$._toBlob](...args) { + return this.toBlob.apply(this, args); + } + [S$.$toBlob](type = null, $arguments = null) { + let completer = T$0.CompleterOfBlob().new(); + this[S$._toBlob](dart.fn(value => { + completer.complete(value); + }, T$0.BlobNTovoid()), type, $arguments); + return completer.future; + } +}; +(html$.CanvasElement.created = function() { + html$.CanvasElement.__proto__.created.call(this); + ; +}).prototype = html$.CanvasElement.prototype; +dart.addTypeTests(html$.CanvasElement); +dart.addTypeCaches(html$.CanvasElement); +html$.CanvasElement[dart.implements] = () => [html$.CanvasImageSource]; +dart.setMethodSignature(html$.CanvasElement, () => ({ + __proto__: dart.getMethods(html$.CanvasElement.__proto__), + [S$.$captureStream]: dart.fnType(html$.MediaStream, [], [dart.nullable(core.num)]), + [S$.$getContext]: dart.fnType(dart.nullable(core.Object), [core.String], [dart.nullable(core.Map)]), + [S$._getContext_1]: dart.fnType(dart.nullable(core.Object), [dart.dynamic, dart.dynamic]), + [S$._getContext_2]: dart.fnType(dart.nullable(core.Object), [dart.dynamic]), + [S$._toDataUrl]: dart.fnType(core.String, [dart.nullable(core.String)], [dart.dynamic]), + [S$.$transferControlToOffscreen]: dart.fnType(html$.OffscreenCanvas, []), + [S$.$getContext3d]: dart.fnType(web_gl.RenderingContext, [], {alpha: dart.dynamic, antialias: dart.dynamic, depth: dart.dynamic, premultipliedAlpha: dart.dynamic, preserveDrawingBuffer: dart.dynamic, stencil: dart.dynamic}, {}), + [S$.$toDataUrl]: dart.fnType(core.String, [], [core.String, dart.nullable(core.num)]), + [S$._toBlob]: dart.fnType(dart.void, [dart.fnType(dart.void, [dart.nullable(html$.Blob)])], [dart.nullable(core.String), dart.nullable(core.Object)]), + [S$.$toBlob]: dart.fnType(async.Future$(html$.Blob), [], [dart.nullable(core.String), dart.nullable(core.Object)]) +})); +dart.setGetterSignature(html$.CanvasElement, () => ({ + __proto__: dart.getGetters(html$.CanvasElement.__proto__), + [$height]: dart.nullable(core.int), + [$width]: dart.nullable(core.int), + [S$.$onWebGlContextLost]: html$.ElementStream$(web_gl.ContextEvent), + [S$.$onWebGlContextRestored]: html$.ElementStream$(web_gl.ContextEvent), + [S$.$context2D]: html$.CanvasRenderingContext2D +})); +dart.setSetterSignature(html$.CanvasElement, () => ({ + __proto__: dart.getSetters(html$.CanvasElement.__proto__), + [$height]: dart.nullable(core.int), + [$width]: dart.nullable(core.int) +})); +dart.setLibraryUri(html$.CanvasElement, I[148]); +dart.defineLazy(html$.CanvasElement, { + /*html$.CanvasElement.webGlContextLostEvent*/get webGlContextLostEvent() { + return C[320] || CT.C320; + }, + /*html$.CanvasElement.webGlContextRestoredEvent*/get webGlContextRestoredEvent() { + return C[321] || CT.C321; + } +}, false); +dart.registerExtension("HTMLCanvasElement", html$.CanvasElement); +html$.CanvasGradient = class CanvasGradient extends _interceptors.Interceptor { + [S$.$addColorStop](...args) { + return this.addColorStop.apply(this, args); + } +}; +dart.addTypeTests(html$.CanvasGradient); +dart.addTypeCaches(html$.CanvasGradient); +dart.setMethodSignature(html$.CanvasGradient, () => ({ + __proto__: dart.getMethods(html$.CanvasGradient.__proto__), + [S$.$addColorStop]: dart.fnType(dart.void, [core.num, core.String]) +})); +dart.setLibraryUri(html$.CanvasGradient, I[148]); +dart.registerExtension("CanvasGradient", html$.CanvasGradient); +html$.CanvasPattern = class CanvasPattern extends _interceptors.Interceptor { + [S$.$setTransform](...args) { + return this.setTransform.apply(this, args); + } +}; +dart.addTypeTests(html$.CanvasPattern); +dart.addTypeCaches(html$.CanvasPattern); +dart.setMethodSignature(html$.CanvasPattern, () => ({ + __proto__: dart.getMethods(html$.CanvasPattern.__proto__), + [S$.$setTransform]: dart.fnType(dart.void, [svg$.Matrix]) +})); +dart.setLibraryUri(html$.CanvasPattern, I[148]); +dart.registerExtension("CanvasPattern", html$.CanvasPattern); +html$.CanvasRenderingContext = class CanvasRenderingContext extends core.Object {}; +(html$.CanvasRenderingContext.new = function() { + ; +}).prototype = html$.CanvasRenderingContext.prototype; +dart.addTypeTests(html$.CanvasRenderingContext); +dart.addTypeCaches(html$.CanvasRenderingContext); +dart.setLibraryUri(html$.CanvasRenderingContext, I[148]); +html$.CanvasRenderingContext2D = class CanvasRenderingContext2D extends _interceptors.Interceptor { + get [S$.$canvas]() { + return this.canvas; + } + get [S$.$currentTransform]() { + return this.currentTransform; + } + set [S$.$currentTransform](value) { + this.currentTransform = value; + } + get [S.$direction]() { + return this.direction; + } + set [S.$direction](value) { + this.direction = value; + } + get [S$.$fillStyle]() { + return this.fillStyle; + } + set [S$.$fillStyle](value) { + this.fillStyle = value; + } + get [S$.$filter]() { + return this.filter; + } + set [S$.$filter](value) { + this.filter = value; + } + get [S$.$font]() { + return this.font; + } + set [S$.$font](value) { + this.font = value; + } + get [S$.$globalAlpha]() { + return this.globalAlpha; + } + set [S$.$globalAlpha](value) { + this.globalAlpha = value; + } + get [S$.$globalCompositeOperation]() { + return this.globalCompositeOperation; + } + set [S$.$globalCompositeOperation](value) { + this.globalCompositeOperation = value; + } + get [S$.$imageSmoothingEnabled]() { + return this.imageSmoothingEnabled; + } + set [S$.$imageSmoothingEnabled](value) { + this.imageSmoothingEnabled = value; + } + get [S$.$imageSmoothingQuality]() { + return this.imageSmoothingQuality; + } + set [S$.$imageSmoothingQuality](value) { + this.imageSmoothingQuality = value; + } + get [S$.$lineCap]() { + return this.lineCap; + } + set [S$.$lineCap](value) { + this.lineCap = value; + } + get [S$.$lineJoin]() { + return this.lineJoin; + } + set [S$.$lineJoin](value) { + this.lineJoin = value; + } + get [S$.$lineWidth]() { + return this.lineWidth; + } + set [S$.$lineWidth](value) { + this.lineWidth = value; + } + get [S$.$miterLimit]() { + return this.miterLimit; + } + set [S$.$miterLimit](value) { + this.miterLimit = value; + } + get [S$.$shadowBlur]() { + return this.shadowBlur; + } + set [S$.$shadowBlur](value) { + this.shadowBlur = value; + } + get [S$.$shadowColor]() { + return this.shadowColor; + } + set [S$.$shadowColor](value) { + this.shadowColor = value; + } + get [S$.$shadowOffsetX]() { + return this.shadowOffsetX; + } + set [S$.$shadowOffsetX](value) { + this.shadowOffsetX = value; + } + get [S$.$shadowOffsetY]() { + return this.shadowOffsetY; + } + set [S$.$shadowOffsetY](value) { + this.shadowOffsetY = value; + } + get [S$.$strokeStyle]() { + return this.strokeStyle; + } + set [S$.$strokeStyle](value) { + this.strokeStyle = value; + } + get [S$.$textAlign]() { + return this.textAlign; + } + set [S$.$textAlign](value) { + this.textAlign = value; + } + get [S$.$textBaseline]() { + return this.textBaseline; + } + set [S$.$textBaseline](value) { + this.textBaseline = value; + } + [S$.$addHitRegion](options = null) { + if (options != null) { + let options_1 = html_common.convertDartToNative_Dictionary(options); + this[S$._addHitRegion_1](options_1); + return; + } + this[S$._addHitRegion_2](); + return; + } + [S$._addHitRegion_1](...args) { + return this.addHitRegion.apply(this, args); + } + [S$._addHitRegion_2](...args) { + return this.addHitRegion.apply(this, args); + } + [S$.$beginPath](...args) { + return this.beginPath.apply(this, args); + } + [S$.$clearHitRegions](...args) { + return this.clearHitRegions.apply(this, args); + } + [S$.$clearRect](...args) { + return this.clearRect.apply(this, args); + } + [S$.$clip](...args) { + return this.clip.apply(this, args); + } + [S$.$createImageData](data_OR_imagedata_OR_sw, sh_OR_sw = null, imageDataColorSettings_OR_sh = null, imageDataColorSettings = null) { + if (html$.ImageData.is(data_OR_imagedata_OR_sw) && sh_OR_sw == null && imageDataColorSettings_OR_sh == null && imageDataColorSettings == null) { + let imagedata_1 = html_common.convertDartToNative_ImageData(data_OR_imagedata_OR_sw); + return html_common.convertNativeToDart_ImageData(this[S$._createImageData_1](imagedata_1)); + } + if (sh_OR_sw != null && core.int.is(data_OR_imagedata_OR_sw) && imageDataColorSettings_OR_sh == null && imageDataColorSettings == null) { + return html_common.convertNativeToDart_ImageData(this[S$._createImageData_2](data_OR_imagedata_OR_sw, sh_OR_sw)); + } + if (core.Map.is(imageDataColorSettings_OR_sh) && sh_OR_sw != null && core.int.is(data_OR_imagedata_OR_sw) && imageDataColorSettings == null) { + let imageDataColorSettings_1 = html_common.convertDartToNative_Dictionary(imageDataColorSettings_OR_sh); + return html_common.convertNativeToDart_ImageData(this[S$._createImageData_3](data_OR_imagedata_OR_sw, sh_OR_sw, imageDataColorSettings_1)); + } + if (core.int.is(imageDataColorSettings_OR_sh) && sh_OR_sw != null && data_OR_imagedata_OR_sw != null && imageDataColorSettings == null) { + return html_common.convertNativeToDart_ImageData(this[S$._createImageData_4](data_OR_imagedata_OR_sw, sh_OR_sw, imageDataColorSettings_OR_sh)); + } + if (imageDataColorSettings != null && core.int.is(imageDataColorSettings_OR_sh) && sh_OR_sw != null && data_OR_imagedata_OR_sw != null) { + let imageDataColorSettings_1 = html_common.convertDartToNative_Dictionary(imageDataColorSettings); + return html_common.convertNativeToDart_ImageData(this[S$._createImageData_5](data_OR_imagedata_OR_sw, sh_OR_sw, imageDataColorSettings_OR_sh, imageDataColorSettings_1)); + } + dart.throw(new core.ArgumentError.new("Incorrect number or type of arguments")); + } + [S$._createImageData_1](...args) { + return this.createImageData.apply(this, args); + } + [S$._createImageData_2](...args) { + return this.createImageData.apply(this, args); + } + [S$._createImageData_3](...args) { + return this.createImageData.apply(this, args); + } + [S$._createImageData_4](...args) { + return this.createImageData.apply(this, args); + } + [S$._createImageData_5](...args) { + return this.createImageData.apply(this, args); + } + [S$.$createLinearGradient](...args) { + return this.createLinearGradient.apply(this, args); + } + [S$.$createPattern](...args) { + return this.createPattern.apply(this, args); + } + [S$.$createRadialGradient](...args) { + return this.createRadialGradient.apply(this, args); + } + [S$.$drawFocusIfNeeded](...args) { + return this.drawFocusIfNeeded.apply(this, args); + } + [S$.$fill](...args) { + return this.fill.apply(this, args); + } + [S$.$fillRect](...args) { + return this.fillRect.apply(this, args); + } + [S$.$getContextAttributes]() { + return dart.nullCheck(html_common.convertNativeToDart_Dictionary(this[S$._getContextAttributes_1]())); + } + [S$._getContextAttributes_1](...args) { + return this.getContextAttributes.apply(this, args); + } + [S$.$getImageData](sx, sy, sw, sh) { + if (sx == null) dart.nullFailed(I[147], 2581, 30, "sx"); + if (sy == null) dart.nullFailed(I[147], 2581, 38, "sy"); + if (sw == null) dart.nullFailed(I[147], 2581, 46, "sw"); + if (sh == null) dart.nullFailed(I[147], 2581, 54, "sh"); + return html_common.convertNativeToDart_ImageData(this[S$._getImageData_1](sx, sy, sw, sh)); + } + [S$._getImageData_1](...args) { + return this.getImageData.apply(this, args); + } + [S$._getLineDash](...args) { + return this.getLineDash.apply(this, args); + } + [S$.$isContextLost](...args) { + return this.isContextLost.apply(this, args); + } + [S$.$isPointInPath](...args) { + return this.isPointInPath.apply(this, args); + } + [S$.$isPointInStroke](...args) { + return this.isPointInStroke.apply(this, args); + } + [S$.$measureText](...args) { + return this.measureText.apply(this, args); + } + [S$.$putImageData](imagedata, dx, dy, dirtyX = null, dirtyY = null, dirtyWidth = null, dirtyHeight = null) { + if (imagedata == null) dart.nullFailed(I[147], 2601, 31, "imagedata"); + if (dx == null) dart.nullFailed(I[147], 2601, 46, "dx"); + if (dy == null) dart.nullFailed(I[147], 2601, 54, "dy"); + if (dirtyX == null && dirtyY == null && dirtyWidth == null && dirtyHeight == null) { + let imagedata_1 = html_common.convertDartToNative_ImageData(imagedata); + this[S$._putImageData_1](imagedata_1, dx, dy); + return; + } + if (dirtyHeight != null && dirtyWidth != null && dirtyY != null && dirtyX != null) { + let imagedata_1 = html_common.convertDartToNative_ImageData(imagedata); + this[S$._putImageData_2](imagedata_1, dx, dy, dirtyX, dirtyY, dirtyWidth, dirtyHeight); + return; + } + dart.throw(new core.ArgumentError.new("Incorrect number or type of arguments")); + } + [S$._putImageData_1](...args) { + return this.putImageData.apply(this, args); + } + [S$._putImageData_2](...args) { + return this.putImageData.apply(this, args); + } + [S$.$removeHitRegion](...args) { + return this.removeHitRegion.apply(this, args); + } + [S$.$resetTransform](...args) { + return this.resetTransform.apply(this, args); + } + [S$.$restore](...args) { + return this.restore.apply(this, args); + } + [S$.$rotate](...args) { + return this.rotate.apply(this, args); + } + [S$.$save](...args) { + return this.save.apply(this, args); + } + [S$.$scale](...args) { + return this.scale.apply(this, args); + } + [S$.$scrollPathIntoView](...args) { + return this.scrollPathIntoView.apply(this, args); + } + [S$.$setTransform](...args) { + return this.setTransform.apply(this, args); + } + [S$.$stroke](...args) { + return this.stroke.apply(this, args); + } + [S$.$strokeRect](...args) { + return this.strokeRect.apply(this, args); + } + [S$.$strokeText](...args) { + return this.strokeText.apply(this, args); + } + [S$.$transform](...args) { + return this.transform.apply(this, args); + } + [S.$translate](...args) { + return this.translate.apply(this, args); + } + [S$._arc](...args) { + return this.arc.apply(this, args); + } + [S$.$arcTo](...args) { + return this.arcTo.apply(this, args); + } + [S$.$bezierCurveTo](...args) { + return this.bezierCurveTo.apply(this, args); + } + [S$.$closePath](...args) { + return this.closePath.apply(this, args); + } + [S$.$ellipse](...args) { + return this.ellipse.apply(this, args); + } + [S$.$lineTo](...args) { + return this.lineTo.apply(this, args); + } + [S$.$moveTo](...args) { + return this.moveTo.apply(this, args); + } + [S$.$quadraticCurveTo](...args) { + return this.quadraticCurveTo.apply(this, args); + } + [S$.$rect](...args) { + return this.rect.apply(this, args); + } + [S$.$createImageDataFromImageData](imagedata) { + if (imagedata == null) dart.nullFailed(I[147], 2679, 52, "imagedata"); + return this.createImageData(imagedata); + } + [S$.$setFillColorRgb](r, g, b, a = 1) { + if (r == null) dart.nullFailed(I[147], 2686, 28, "r"); + if (g == null) dart.nullFailed(I[147], 2686, 35, "g"); + if (b == null) dart.nullFailed(I[147], 2686, 42, "b"); + if (a == null) dart.nullFailed(I[147], 2686, 50, "a"); + this.fillStyle = "rgba(" + dart.str(r) + ", " + dart.str(g) + ", " + dart.str(b) + ", " + dart.str(a) + ")"; + } + [S$.$setFillColorHsl](h, s, l, a = 1) { + if (h == null) dart.nullFailed(I[147], 2696, 28, "h"); + if (s == null) dart.nullFailed(I[147], 2696, 35, "s"); + if (l == null) dart.nullFailed(I[147], 2696, 42, "l"); + if (a == null) dart.nullFailed(I[147], 2696, 50, "a"); + this.fillStyle = "hsla(" + dart.str(h) + ", " + dart.str(s) + "%, " + dart.str(l) + "%, " + dart.str(a) + ")"; + } + [S$.$setStrokeColorRgb](r, g, b, a = 1) { + if (r == null) dart.nullFailed(I[147], 2704, 30, "r"); + if (g == null) dart.nullFailed(I[147], 2704, 37, "g"); + if (b == null) dart.nullFailed(I[147], 2704, 44, "b"); + if (a == null) dart.nullFailed(I[147], 2704, 52, "a"); + this.strokeStyle = "rgba(" + dart.str(r) + ", " + dart.str(g) + ", " + dart.str(b) + ", " + dart.str(a) + ")"; + } + [S$.$setStrokeColorHsl](h, s, l, a = 1) { + if (h == null) dart.nullFailed(I[147], 2714, 30, "h"); + if (s == null) dart.nullFailed(I[147], 2714, 37, "s"); + if (l == null) dart.nullFailed(I[147], 2714, 44, "l"); + if (a == null) dart.nullFailed(I[147], 2714, 52, "a"); + this.strokeStyle = "hsla(" + dart.str(h) + ", " + dart.str(s) + "%, " + dart.str(l) + "%, " + dart.str(a) + ")"; + } + [S$.$arc](x, y, radius, startAngle, endAngle, anticlockwise = false) { + if (x == null) dart.nullFailed(I[147], 2718, 16, "x"); + if (y == null) dart.nullFailed(I[147], 2718, 23, "y"); + if (radius == null) dart.nullFailed(I[147], 2718, 30, "radius"); + if (startAngle == null) dart.nullFailed(I[147], 2718, 42, "startAngle"); + if (endAngle == null) dart.nullFailed(I[147], 2718, 58, "endAngle"); + if (anticlockwise == null) dart.nullFailed(I[147], 2719, 13, "anticlockwise"); + this.arc(x, y, radius, startAngle, endAngle, anticlockwise); + } + [S$.$createPatternFromImage](image, repetitionType) { + if (image == null) dart.nullFailed(I[147], 2726, 24, "image"); + if (repetitionType == null) dart.nullFailed(I[147], 2726, 38, "repetitionType"); + return this.createPattern(image, repetitionType); + } + [S$.$drawImageToRect](source, destRect, opts) { + if (source == null) dart.nullFailed(I[147], 2769, 42, "source"); + if (destRect == null) dart.nullFailed(I[147], 2769, 60, "destRect"); + let sourceRect = opts && 'sourceRect' in opts ? opts.sourceRect : null; + if (sourceRect == null) { + this[S$.$drawImageScaled](source, destRect[$left], destRect[$top], destRect[$width], destRect[$height]); + } else { + this[S$.$drawImageScaledFromSource](source, sourceRect[$left], sourceRect[$top], sourceRect[$width], sourceRect[$height], destRect[$left], destRect[$top], destRect[$width], destRect[$height]); + } + } + [S$.$drawImage](...args) { + return this.drawImage.apply(this, args); + } + [S$.$drawImageScaled](...args) { + return this.drawImage.apply(this, args); + } + [S$.$drawImageScaledFromSource](...args) { + return this.drawImage.apply(this, args); + } + get [S$.$lineDashOffset]() { + return this.lineDashOffset || this.webkitLineDashOffset; + } + set [S$.$lineDashOffset](value) { + if (value == null) dart.nullFailed(I[147], 2906, 26, "value"); + typeof this.lineDashOffset != "undefined" ? this.lineDashOffset = value : this.webkitLineDashOffset = value; + } + [S$.$getLineDash]() { + if (!!this.getLineDash) { + return this.getLineDash(); + } else if (!!this.webkitLineDash) { + return this.webkitLineDash; + } + return T$0.JSArrayOfnum().of([]); + } + [S$.$setLineDash](dash) { + if (dash == null) dart.nullFailed(I[147], 2937, 30, "dash"); + if (!!this.setLineDash) { + this.setLineDash(dash); + } else if (!!this.webkitLineDash) { + this.webkitLineDash = dash; + } + } + [S$.$fillText](text, x, y, maxWidth = null) { + if (text == null) dart.nullFailed(I[147], 2961, 24, "text"); + if (x == null) dart.nullFailed(I[147], 2961, 34, "x"); + if (y == null) dart.nullFailed(I[147], 2961, 41, "y"); + if (maxWidth != null) { + this.fillText(text, x, y, maxWidth); + } else { + this.fillText(text, x, y); + } + } + get [S$.$backingStorePixelRatio]() { + return 1.0; + } +}; +dart.addTypeTests(html$.CanvasRenderingContext2D); +dart.addTypeCaches(html$.CanvasRenderingContext2D); +html$.CanvasRenderingContext2D[dart.implements] = () => [html$.CanvasRenderingContext]; +dart.setMethodSignature(html$.CanvasRenderingContext2D, () => ({ + __proto__: dart.getMethods(html$.CanvasRenderingContext2D.__proto__), + [S$.$addHitRegion]: dart.fnType(dart.void, [], [dart.nullable(core.Map)]), + [S$._addHitRegion_1]: dart.fnType(dart.void, [dart.dynamic]), + [S$._addHitRegion_2]: dart.fnType(dart.void, []), + [S$.$beginPath]: dart.fnType(dart.void, []), + [S$.$clearHitRegions]: dart.fnType(dart.void, []), + [S$.$clearRect]: dart.fnType(dart.void, [core.num, core.num, core.num, core.num]), + [S$.$clip]: dart.fnType(dart.void, [], [dart.dynamic, dart.nullable(core.String)]), + [S$.$createImageData]: dart.fnType(html$.ImageData, [dart.dynamic], [dart.nullable(core.int), dart.dynamic, dart.nullable(core.Map)]), + [S$._createImageData_1]: dart.fnType(dart.dynamic, [dart.dynamic]), + [S$._createImageData_2]: dart.fnType(dart.dynamic, [core.int, dart.dynamic]), + [S$._createImageData_3]: dart.fnType(dart.dynamic, [core.int, dart.dynamic, dart.dynamic]), + [S$._createImageData_4]: dart.fnType(dart.dynamic, [dart.dynamic, dart.dynamic, dart.nullable(core.int)]), + [S$._createImageData_5]: dart.fnType(dart.dynamic, [dart.dynamic, dart.dynamic, dart.nullable(core.int), dart.dynamic]), + [S$.$createLinearGradient]: dart.fnType(html$.CanvasGradient, [core.num, core.num, core.num, core.num]), + [S$.$createPattern]: dart.fnType(dart.nullable(html$.CanvasPattern), [core.Object, core.String]), + [S$.$createRadialGradient]: dart.fnType(html$.CanvasGradient, [core.num, core.num, core.num, core.num, core.num, core.num]), + [S$.$drawFocusIfNeeded]: dart.fnType(dart.void, [dart.dynamic], [dart.nullable(html$.Element)]), + [S$.$fill]: dart.fnType(dart.void, [], [dart.dynamic, dart.nullable(core.String)]), + [S$.$fillRect]: dart.fnType(dart.void, [core.num, core.num, core.num, core.num]), + [S$.$getContextAttributes]: dart.fnType(core.Map, []), + [S$._getContextAttributes_1]: dart.fnType(dart.dynamic, []), + [S$.$getImageData]: dart.fnType(html$.ImageData, [core.int, core.int, core.int, core.int]), + [S$._getImageData_1]: dart.fnType(dart.dynamic, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic]), + [S$._getLineDash]: dart.fnType(core.List$(core.num), []), + [S$.$isContextLost]: dart.fnType(core.bool, []), + [S$.$isPointInPath]: dart.fnType(core.bool, [dart.dynamic, core.num], [dart.dynamic, dart.nullable(core.String)]), + [S$.$isPointInStroke]: dart.fnType(core.bool, [dart.dynamic, core.num], [dart.nullable(core.num)]), + [S$.$measureText]: dart.fnType(html$.TextMetrics, [core.String]), + [S$.$putImageData]: dart.fnType(dart.void, [html$.ImageData, core.int, core.int], [dart.nullable(core.int), dart.nullable(core.int), dart.nullable(core.int), dart.nullable(core.int)]), + [S$._putImageData_1]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic]), + [S$._putImageData_2]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic]), + [S$.$removeHitRegion]: dart.fnType(dart.void, [core.String]), + [S$.$resetTransform]: dart.fnType(dart.void, []), + [S$.$restore]: dart.fnType(dart.void, []), + [S$.$rotate]: dart.fnType(dart.void, [core.num]), + [S$.$save]: dart.fnType(dart.void, []), + [S$.$scale]: dart.fnType(dart.void, [core.num, core.num]), + [S$.$scrollPathIntoView]: dart.fnType(dart.void, [], [dart.nullable(html$.Path2D)]), + [S$.$setTransform]: dart.fnType(dart.void, [core.num, core.num, core.num, core.num, core.num, core.num]), + [S$.$stroke]: dart.fnType(dart.void, [], [dart.nullable(html$.Path2D)]), + [S$.$strokeRect]: dart.fnType(dart.void, [core.num, core.num, core.num, core.num]), + [S$.$strokeText]: dart.fnType(dart.void, [core.String, core.num, core.num], [dart.nullable(core.num)]), + [S$.$transform]: dart.fnType(dart.void, [core.num, core.num, core.num, core.num, core.num, core.num]), + [S.$translate]: dart.fnType(dart.void, [core.num, core.num]), + [S$._arc]: dart.fnType(dart.void, [core.num, core.num, core.num, core.num, core.num, dart.nullable(core.bool)]), + [S$.$arcTo]: dart.fnType(dart.void, [core.num, core.num, core.num, core.num, core.num]), + [S$.$bezierCurveTo]: dart.fnType(dart.void, [core.num, core.num, core.num, core.num, core.num, core.num]), + [S$.$closePath]: dart.fnType(dart.void, []), + [S$.$ellipse]: dart.fnType(dart.void, [core.num, core.num, core.num, core.num, core.num, core.num, core.num, dart.nullable(core.bool)]), + [S$.$lineTo]: dart.fnType(dart.void, [core.num, core.num]), + [S$.$moveTo]: dart.fnType(dart.void, [core.num, core.num]), + [S$.$quadraticCurveTo]: dart.fnType(dart.void, [core.num, core.num, core.num, core.num]), + [S$.$rect]: dart.fnType(dart.void, [core.num, core.num, core.num, core.num]), + [S$.$createImageDataFromImageData]: dart.fnType(html$.ImageData, [html$.ImageData]), + [S$.$setFillColorRgb]: dart.fnType(dart.void, [core.int, core.int, core.int], [core.num]), + [S$.$setFillColorHsl]: dart.fnType(dart.void, [core.int, core.num, core.num], [core.num]), + [S$.$setStrokeColorRgb]: dart.fnType(dart.void, [core.int, core.int, core.int], [core.num]), + [S$.$setStrokeColorHsl]: dart.fnType(dart.void, [core.int, core.num, core.num], [core.num]), + [S$.$arc]: dart.fnType(dart.void, [core.num, core.num, core.num, core.num, core.num], [core.bool]), + [S$.$createPatternFromImage]: dart.fnType(html$.CanvasPattern, [html$.ImageElement, core.String]), + [S$.$drawImageToRect]: dart.fnType(dart.void, [html$.CanvasImageSource, math.Rectangle$(core.num)], {sourceRect: dart.nullable(math.Rectangle$(core.num))}, {}), + [S$.$drawImage]: dart.fnType(dart.void, [html$.CanvasImageSource, core.num, core.num]), + [S$.$drawImageScaled]: dart.fnType(dart.void, [html$.CanvasImageSource, core.num, core.num, core.num, core.num]), + [S$.$drawImageScaledFromSource]: dart.fnType(dart.void, [html$.CanvasImageSource, core.num, core.num, core.num, core.num, core.num, core.num, core.num, core.num]), + [S$.$getLineDash]: dart.fnType(core.List$(core.num), []), + [S$.$setLineDash]: dart.fnType(dart.void, [core.List$(core.num)]), + [S$.$fillText]: dart.fnType(dart.void, [core.String, core.num, core.num], [dart.nullable(core.num)]) +})); +dart.setGetterSignature(html$.CanvasRenderingContext2D, () => ({ + __proto__: dart.getGetters(html$.CanvasRenderingContext2D.__proto__), + [S$.$canvas]: html$.CanvasElement, + [S$.$currentTransform]: dart.nullable(svg$.Matrix), + [S.$direction]: dart.nullable(core.String), + [S$.$fillStyle]: dart.nullable(core.Object), + [S$.$filter]: dart.nullable(core.String), + [S$.$font]: core.String, + [S$.$globalAlpha]: core.num, + [S$.$globalCompositeOperation]: core.String, + [S$.$imageSmoothingEnabled]: dart.nullable(core.bool), + [S$.$imageSmoothingQuality]: dart.nullable(core.String), + [S$.$lineCap]: core.String, + [S$.$lineJoin]: core.String, + [S$.$lineWidth]: core.num, + [S$.$miterLimit]: core.num, + [S$.$shadowBlur]: core.num, + [S$.$shadowColor]: core.String, + [S$.$shadowOffsetX]: core.num, + [S$.$shadowOffsetY]: core.num, + [S$.$strokeStyle]: dart.nullable(core.Object), + [S$.$textAlign]: core.String, + [S$.$textBaseline]: core.String, + [S$.$lineDashOffset]: core.num, + [S$.$backingStorePixelRatio]: core.double +})); +dart.setSetterSignature(html$.CanvasRenderingContext2D, () => ({ + __proto__: dart.getSetters(html$.CanvasRenderingContext2D.__proto__), + [S$.$currentTransform]: dart.nullable(svg$.Matrix), + [S.$direction]: dart.nullable(core.String), + [S$.$fillStyle]: dart.nullable(core.Object), + [S$.$filter]: dart.nullable(core.String), + [S$.$font]: core.String, + [S$.$globalAlpha]: core.num, + [S$.$globalCompositeOperation]: core.String, + [S$.$imageSmoothingEnabled]: dart.nullable(core.bool), + [S$.$imageSmoothingQuality]: dart.nullable(core.String), + [S$.$lineCap]: core.String, + [S$.$lineJoin]: core.String, + [S$.$lineWidth]: core.num, + [S$.$miterLimit]: core.num, + [S$.$shadowBlur]: core.num, + [S$.$shadowColor]: core.String, + [S$.$shadowOffsetX]: core.num, + [S$.$shadowOffsetY]: core.num, + [S$.$strokeStyle]: dart.nullable(core.Object), + [S$.$textAlign]: core.String, + [S$.$textBaseline]: core.String, + [S$.$lineDashOffset]: core.num +})); +dart.setLibraryUri(html$.CanvasRenderingContext2D, I[148]); +dart.registerExtension("CanvasRenderingContext2D", html$.CanvasRenderingContext2D); +html$.ChildNode = class ChildNode extends _interceptors.Interceptor {}; +dart.addTypeTests(html$.ChildNode); +dart.addTypeCaches(html$.ChildNode); +dart.setLibraryUri(html$.ChildNode, I[148]); +html$.Client = class Client extends _interceptors.Interceptor { + get [S$.$frameType]() { + return this.frameType; + } + get [S.$id]() { + return this.id; + } + get [S.$type]() { + return this.type; + } + get [S$.$url]() { + return this.url; + } + [S$.$postMessage](...args) { + return this.postMessage.apply(this, args); + } +}; +dart.addTypeTests(html$.Client); +dart.addTypeCaches(html$.Client); +dart.setMethodSignature(html$.Client, () => ({ + __proto__: dart.getMethods(html$.Client.__proto__), + [S$.$postMessage]: dart.fnType(dart.void, [core.Object], [dart.nullable(core.List$(core.Object))]) +})); +dart.setGetterSignature(html$.Client, () => ({ + __proto__: dart.getGetters(html$.Client.__proto__), + [S$.$frameType]: dart.nullable(core.String), + [S.$id]: dart.nullable(core.String), + [S.$type]: dart.nullable(core.String), + [S$.$url]: dart.nullable(core.String) +})); +dart.setLibraryUri(html$.Client, I[148]); +dart.registerExtension("Client", html$.Client); +html$.Clients = class Clients extends _interceptors.Interceptor { + [S$.$claim]() { + return js_util.promiseToFuture(dart.dynamic, this.claim()); + } + [S.$get](id) { + if (id == null) dart.nullFailed(I[147], 3063, 21, "id"); + return js_util.promiseToFuture(dart.dynamic, this.get(id)); + } + [S$.$matchAll](options = null) { + let options_dict = null; + if (options != null) { + options_dict = html_common.convertDartToNative_Dictionary(options); + } + return js_util.promiseToFuture(core.List, this.matchAll(options_dict)); + } + [S$.$openWindow](url) { + if (url == null) dart.nullFailed(I[147], 3074, 42, "url"); + return js_util.promiseToFuture(html$.WindowClient, this.openWindow(url)); + } +}; +dart.addTypeTests(html$.Clients); +dart.addTypeCaches(html$.Clients); +dart.setMethodSignature(html$.Clients, () => ({ + __proto__: dart.getMethods(html$.Clients.__proto__), + [S$.$claim]: dart.fnType(async.Future, []), + [S.$get]: dart.fnType(async.Future, [core.String]), + [S$.$matchAll]: dart.fnType(async.Future$(core.List), [], [dart.nullable(core.Map)]), + [S$.$openWindow]: dart.fnType(async.Future$(html$.WindowClient), [core.String]) +})); +dart.setLibraryUri(html$.Clients, I[148]); +dart.registerExtension("Clients", html$.Clients); +html$.ClipboardEvent = class ClipboardEvent$ extends html$.Event { + static new(type, eventInitDict = null) { + if (type == null) dart.nullFailed(I[147], 3088, 33, "type"); + if (eventInitDict != null) { + let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); + return html$.ClipboardEvent._create_1(type, eventInitDict_1); + } + return html$.ClipboardEvent._create_2(type); + } + static _create_1(type, eventInitDict) { + return new ClipboardEvent(type, eventInitDict); + } + static _create_2(type) { + return new ClipboardEvent(type); + } + get [S$.$clipboardData]() { + return this.clipboardData; + } +}; +dart.addTypeTests(html$.ClipboardEvent); +dart.addTypeCaches(html$.ClipboardEvent); +dart.setGetterSignature(html$.ClipboardEvent, () => ({ + __proto__: dart.getGetters(html$.ClipboardEvent.__proto__), + [S$.$clipboardData]: dart.nullable(html$.DataTransfer) +})); +dart.setLibraryUri(html$.ClipboardEvent, I[148]); +dart.registerExtension("ClipboardEvent", html$.ClipboardEvent); +html$.CloseEvent = class CloseEvent$ extends html$.Event { + static new(type, eventInitDict = null) { + if (type == null) dart.nullFailed(I[147], 3113, 29, "type"); + if (eventInitDict != null) { + let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); + return html$.CloseEvent._create_1(type, eventInitDict_1); + } + return html$.CloseEvent._create_2(type); + } + static _create_1(type, eventInitDict) { + return new CloseEvent(type, eventInitDict); + } + static _create_2(type) { + return new CloseEvent(type); + } + get [S$.$code]() { + return this.code; + } + get [S$.$reason]() { + return this.reason; + } + get [S$.$wasClean]() { + return this.wasClean; + } +}; +dart.addTypeTests(html$.CloseEvent); +dart.addTypeCaches(html$.CloseEvent); +dart.setGetterSignature(html$.CloseEvent, () => ({ + __proto__: dart.getGetters(html$.CloseEvent.__proto__), + [S$.$code]: dart.nullable(core.int), + [S$.$reason]: dart.nullable(core.String), + [S$.$wasClean]: dart.nullable(core.bool) +})); +dart.setLibraryUri(html$.CloseEvent, I[148]); +dart.registerExtension("CloseEvent", html$.CloseEvent); +html$.Comment = class Comment extends html$.CharacterData { + static new(data = null) { + return html$.document.createComment(data == null ? "" : data); + } +}; +dart.addTypeTests(html$.Comment); +dart.addTypeCaches(html$.Comment); +dart.setLibraryUri(html$.Comment, I[148]); +dart.registerExtension("Comment", html$.Comment); +html$.UIEvent = class UIEvent$ extends html$.Event { + static new(type, opts) { + if (type == null) dart.nullFailed(I[147], 30716, 26, "type"); + let view = opts && 'view' in opts ? opts.view : null; + let detail = opts && 'detail' in opts ? opts.detail : 0; + if (detail == null) dart.nullFailed(I[147], 30718, 11, "detail"); + let canBubble = opts && 'canBubble' in opts ? opts.canBubble : true; + if (canBubble == null) dart.nullFailed(I[147], 30719, 12, "canBubble"); + let cancelable = opts && 'cancelable' in opts ? opts.cancelable : true; + if (cancelable == null) dart.nullFailed(I[147], 30720, 12, "cancelable"); + if (view == null) { + view = html$.window; + } + let e = html$.UIEvent.as(html$.document[S._createEvent]("UIEvent")); + e[S$._initUIEvent](type, canBubble, cancelable, view, detail); + return e; + } + static __(type, eventInitDict = null) { + if (type == null) dart.nullFailed(I[147], 30729, 28, "type"); + if (eventInitDict != null) { + let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); + return html$.UIEvent._create_1(type, eventInitDict_1); + } + return html$.UIEvent._create_2(type); + } + static _create_1(type, eventInitDict) { + return new UIEvent(type, eventInitDict); + } + static _create_2(type) { + return new UIEvent(type); + } + get [S$.$detail]() { + return this.detail; + } + get [S$.$sourceCapabilities]() { + return this.sourceCapabilities; + } + get [S$.$view]() { + return html$._convertNativeToDart_Window(this[S$._get_view]); + } + get [S$._get_view]() { + return this.view; + } + get [S$._which]() { + return this.which; + } + [S$._initUIEvent](...args) { + return this.initUIEvent.apply(this, args); + } +}; +dart.addTypeTests(html$.UIEvent); +dart.addTypeCaches(html$.UIEvent); +dart.setMethodSignature(html$.UIEvent, () => ({ + __proto__: dart.getMethods(html$.UIEvent.__proto__), + [S$._initUIEvent]: dart.fnType(dart.void, [core.String, core.bool, core.bool, dart.nullable(html$.Window), core.int]) +})); +dart.setGetterSignature(html$.UIEvent, () => ({ + __proto__: dart.getGetters(html$.UIEvent.__proto__), + [S$.$detail]: dart.nullable(core.int), + [S$.$sourceCapabilities]: dart.nullable(html$.InputDeviceCapabilities), + [S$.$view]: dart.nullable(html$.WindowBase), + [S$._get_view]: dart.dynamic, + [S$._which]: dart.nullable(core.int) +})); +dart.setLibraryUri(html$.UIEvent, I[148]); +dart.registerExtension("UIEvent", html$.UIEvent); +html$.CompositionEvent = class CompositionEvent$ extends html$.UIEvent { + static new(type, opts) { + if (type == null) dart.nullFailed(I[147], 3154, 35, "type"); + let canBubble = opts && 'canBubble' in opts ? opts.canBubble : false; + if (canBubble == null) dart.nullFailed(I[147], 3155, 13, "canBubble"); + let cancelable = opts && 'cancelable' in opts ? opts.cancelable : false; + if (cancelable == null) dart.nullFailed(I[147], 3156, 12, "cancelable"); + let view = opts && 'view' in opts ? opts.view : null; + let data = opts && 'data' in opts ? opts.data : null; + let locale = opts && 'locale' in opts ? opts.locale : null; + if (view == null) { + view = html$.window; + } + let e = html$.CompositionEvent.as(html$.document[S._createEvent]("CompositionEvent")); + if (dart.test(html_common.Device.isFirefox)) { + e.initCompositionEvent(type, canBubble, cancelable, view, data, locale); + } else { + e[S$._initCompositionEvent](type, canBubble, cancelable, view, data); + } + return e; + } + static __(type, eventInitDict = null) { + if (type == null) dart.nullFailed(I[147], 3177, 37, "type"); + if (eventInitDict != null) { + let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); + return html$.CompositionEvent._create_1(type, eventInitDict_1); + } + return html$.CompositionEvent._create_2(type); + } + static _create_1(type, eventInitDict) { + return new CompositionEvent(type, eventInitDict); + } + static _create_2(type) { + return new CompositionEvent(type); + } + get [S$.$data]() { + return this.data; + } + [S$._initCompositionEvent](...args) { + return this.initCompositionEvent.apply(this, args); + } +}; +dart.addTypeTests(html$.CompositionEvent); +dart.addTypeCaches(html$.CompositionEvent); +dart.setMethodSignature(html$.CompositionEvent, () => ({ + __proto__: dart.getMethods(html$.CompositionEvent.__proto__), + [S$._initCompositionEvent]: dart.fnType(dart.void, [dart.nullable(core.String), dart.nullable(core.bool), dart.nullable(core.bool), dart.nullable(html$.Window), dart.nullable(core.String)]) +})); +dart.setGetterSignature(html$.CompositionEvent, () => ({ + __proto__: dart.getGetters(html$.CompositionEvent.__proto__), + [S$.$data]: dart.nullable(core.String) +})); +dart.setLibraryUri(html$.CompositionEvent, I[148]); +dart.registerExtension("CompositionEvent", html$.CompositionEvent); +html$.ContentElement = class ContentElement extends html$.HtmlElement { + static new() { + return html$.ContentElement.as(html$.document[S.$createElement]("content")); + } + static get supported() { + return html$.Element.isTagSupported("content"); + } + get [S$.$select]() { + return this.select; + } + set [S$.$select](value) { + this.select = value; + } + [S$.$getDistributedNodes](...args) { + return this.getDistributedNodes.apply(this, args); + } +}; +(html$.ContentElement.created = function() { + html$.ContentElement.__proto__.created.call(this); + ; +}).prototype = html$.ContentElement.prototype; +dart.addTypeTests(html$.ContentElement); +dart.addTypeCaches(html$.ContentElement); +dart.setMethodSignature(html$.ContentElement, () => ({ + __proto__: dart.getMethods(html$.ContentElement.__proto__), + [S$.$getDistributedNodes]: dart.fnType(core.List$(html$.Node), []) +})); +dart.setGetterSignature(html$.ContentElement, () => ({ + __proto__: dart.getGetters(html$.ContentElement.__proto__), + [S$.$select]: dart.nullable(core.String) +})); +dart.setSetterSignature(html$.ContentElement, () => ({ + __proto__: dart.getSetters(html$.ContentElement.__proto__), + [S$.$select]: dart.nullable(core.String) +})); +dart.setLibraryUri(html$.ContentElement, I[148]); +dart.registerExtension("HTMLContentElement", html$.ContentElement); +html$.CookieStore = class CookieStore extends _interceptors.Interceptor { + [S.$getAll](options = null) { + let options_dict = null; + if (options != null) { + options_dict = html_common.convertDartToNative_Dictionary(options); + } + return js_util.promiseToFuture(dart.dynamic, this.getAll(options_dict)); + } + [S$.$set](name, value, options = null) { + if (name == null) dart.nullFailed(I[147], 3246, 21, "name"); + if (value == null) dart.nullFailed(I[147], 3246, 34, "value"); + let options_dict = null; + if (options != null) { + options_dict = html_common.convertDartToNative_Dictionary(options); + } + return js_util.promiseToFuture(dart.dynamic, this.set(name, value, options_dict)); + } +}; +dart.addTypeTests(html$.CookieStore); +dart.addTypeCaches(html$.CookieStore); +dart.setMethodSignature(html$.CookieStore, () => ({ + __proto__: dart.getMethods(html$.CookieStore.__proto__), + [S.$getAll]: dart.fnType(async.Future, [], [dart.nullable(core.Map)]), + [S$.$set]: dart.fnType(async.Future, [core.String, core.String], [dart.nullable(core.Map)]) +})); +dart.setLibraryUri(html$.CookieStore, I[148]); +dart.registerExtension("CookieStore", html$.CookieStore); +html$.Coordinates = class Coordinates extends _interceptors.Interceptor { + get [S$.$accuracy]() { + return this.accuracy; + } + get [S$.$altitude]() { + return this.altitude; + } + get [S$.$altitudeAccuracy]() { + return this.altitudeAccuracy; + } + get [S$.$heading]() { + return this.heading; + } + get [S$.$latitude]() { + return this.latitude; + } + get [S$.$longitude]() { + return this.longitude; + } + get [S$.$speed]() { + return this.speed; + } +}; +dart.addTypeTests(html$.Coordinates); +dart.addTypeCaches(html$.Coordinates); +dart.setGetterSignature(html$.Coordinates, () => ({ + __proto__: dart.getGetters(html$.Coordinates.__proto__), + [S$.$accuracy]: dart.nullable(core.num), + [S$.$altitude]: dart.nullable(core.num), + [S$.$altitudeAccuracy]: dart.nullable(core.num), + [S$.$heading]: dart.nullable(core.num), + [S$.$latitude]: dart.nullable(core.num), + [S$.$longitude]: dart.nullable(core.num), + [S$.$speed]: dart.nullable(core.num) +})); +dart.setLibraryUri(html$.Coordinates, I[148]); +dart.registerExtension("Coordinates", html$.Coordinates); +html$.Credential = class Credential extends _interceptors.Interceptor { + get [S.$id]() { + return this.id; + } + get [S.$type]() { + return this.type; + } +}; +dart.addTypeTests(html$.Credential); +dart.addTypeCaches(html$.Credential); +dart.setGetterSignature(html$.Credential, () => ({ + __proto__: dart.getGetters(html$.Credential.__proto__), + [S.$id]: dart.nullable(core.String), + [S.$type]: dart.nullable(core.String) +})); +dart.setLibraryUri(html$.Credential, I[148]); +dart.registerExtension("Credential", html$.Credential); +html$.CredentialUserData = class CredentialUserData extends _interceptors.Interceptor { + get [S$.$iconUrl]() { + return this.iconURL; + } + get [$name]() { + return this.name; + } +}; +dart.addTypeTests(html$.CredentialUserData); +dart.addTypeCaches(html$.CredentialUserData); +dart.setGetterSignature(html$.CredentialUserData, () => ({ + __proto__: dart.getGetters(html$.CredentialUserData.__proto__), + [S$.$iconUrl]: dart.nullable(core.String), + [$name]: dart.nullable(core.String) +})); +dart.setLibraryUri(html$.CredentialUserData, I[148]); +dart.registerExtension("CredentialUserData", html$.CredentialUserData); +html$.CredentialsContainer = class CredentialsContainer extends _interceptors.Interceptor { + [S$.$create](options = null) { + let options_dict = null; + if (options != null) { + options_dict = html_common.convertDartToNative_Dictionary(options); + } + return js_util.promiseToFuture(dart.dynamic, this.create(options_dict)); + } + [S.$get](options = null) { + let options_dict = null; + if (options != null) { + options_dict = html_common.convertDartToNative_Dictionary(options); + } + return js_util.promiseToFuture(dart.dynamic, this.get(options_dict)); + } + [S$.$preventSilentAccess]() { + return js_util.promiseToFuture(dart.dynamic, this.preventSilentAccess()); + } + [S$.$requireUserMediation]() { + return js_util.promiseToFuture(dart.dynamic, this.requireUserMediation()); + } + [S$.$store](credential) { + if (credential == null) dart.nullFailed(I[147], 3346, 27, "credential"); + return js_util.promiseToFuture(dart.dynamic, this.store(credential)); + } +}; +dart.addTypeTests(html$.CredentialsContainer); +dart.addTypeCaches(html$.CredentialsContainer); +dart.setMethodSignature(html$.CredentialsContainer, () => ({ + __proto__: dart.getMethods(html$.CredentialsContainer.__proto__), + [S$.$create]: dart.fnType(async.Future, [], [dart.nullable(core.Map)]), + [S.$get]: dart.fnType(async.Future, [], [dart.nullable(core.Map)]), + [S$.$preventSilentAccess]: dart.fnType(async.Future, []), + [S$.$requireUserMediation]: dart.fnType(async.Future, []), + [S$.$store]: dart.fnType(async.Future, [html$.Credential]) +})); +dart.setLibraryUri(html$.CredentialsContainer, I[148]); +dart.registerExtension("CredentialsContainer", html$.CredentialsContainer); +html$.Crypto = class Crypto extends _interceptors.Interceptor { + [S$.$getRandomValues](array) { + if (array == null) dart.nullFailed(I[147], 3357, 39, "array"); + return this[S$._getRandomValues](array); + } + static get supported() { + return !!(window.crypto && window.crypto.getRandomValues); + } + get [S$.$subtle]() { + return this.subtle; + } + [S$._getRandomValues](...args) { + return this.getRandomValues.apply(this, args); + } +}; +dart.addTypeTests(html$.Crypto); +dart.addTypeCaches(html$.Crypto); +dart.setMethodSignature(html$.Crypto, () => ({ + __proto__: dart.getMethods(html$.Crypto.__proto__), + [S$.$getRandomValues]: dart.fnType(typed_data.TypedData, [typed_data.TypedData]), + [S$._getRandomValues]: dart.fnType(typed_data.TypedData, [typed_data.TypedData]) +})); +dart.setGetterSignature(html$.Crypto, () => ({ + __proto__: dart.getGetters(html$.Crypto.__proto__), + [S$.$subtle]: dart.nullable(html$._SubtleCrypto) +})); +dart.setLibraryUri(html$.Crypto, I[148]); +dart.registerExtension("Crypto", html$.Crypto); +html$.CryptoKey = class CryptoKey extends _interceptors.Interceptor { + get [S$.$algorithm]() { + return this.algorithm; + } + get [S$.$extractable]() { + return this.extractable; + } + get [S.$type]() { + return this.type; + } + get [S$.$usages]() { + return this.usages; + } +}; +dart.addTypeTests(html$.CryptoKey); +dart.addTypeCaches(html$.CryptoKey); +dart.setGetterSignature(html$.CryptoKey, () => ({ + __proto__: dart.getGetters(html$.CryptoKey.__proto__), + [S$.$algorithm]: dart.nullable(core.Object), + [S$.$extractable]: dart.nullable(core.bool), + [S.$type]: dart.nullable(core.String), + [S$.$usages]: dart.nullable(core.Object) +})); +dart.setLibraryUri(html$.CryptoKey, I[148]); +dart.registerExtension("CryptoKey", html$.CryptoKey); +html$.Css = class Css extends _interceptors.Interceptor { + static registerProperty(descriptor) { + if (descriptor == null) dart.nullFailed(I[147], 3455, 36, "descriptor"); + let descriptor_1 = html_common.convertDartToNative_Dictionary(descriptor); + dart.global.CSS.registerProperty(descriptor_1); + return; + } +}; +dart.addTypeTests(html$.Css); +dart.addTypeCaches(html$.Css); +dart.setLibraryUri(html$.Css, I[148]); +dart.registerExtension("CSS", html$.Css); +html$.CssRule = class CssRule extends _interceptors.Interceptor { + get [S$.$cssText]() { + return this.cssText; + } + set [S$.$cssText](value) { + this.cssText = value; + } + get [S$.$parentRule]() { + return this.parentRule; + } + get [S$.$parentStyleSheet]() { + return this.parentStyleSheet; + } + get [S.$type]() { + return this.type; + } +}; +dart.addTypeTests(html$.CssRule); +dart.addTypeCaches(html$.CssRule); +dart.setGetterSignature(html$.CssRule, () => ({ + __proto__: dart.getGetters(html$.CssRule.__proto__), + [S$.$cssText]: dart.nullable(core.String), + [S$.$parentRule]: dart.nullable(html$.CssRule), + [S$.$parentStyleSheet]: dart.nullable(html$.CssStyleSheet), + [S.$type]: dart.nullable(core.int) +})); +dart.setSetterSignature(html$.CssRule, () => ({ + __proto__: dart.getSetters(html$.CssRule.__proto__), + [S$.$cssText]: dart.nullable(core.String) +})); +dart.setLibraryUri(html$.CssRule, I[148]); +dart.defineLazy(html$.CssRule, { + /*html$.CssRule.CHARSET_RULE*/get CHARSET_RULE() { + return 2; + }, + /*html$.CssRule.FONT_FACE_RULE*/get FONT_FACE_RULE() { + return 5; + }, + /*html$.CssRule.IMPORT_RULE*/get IMPORT_RULE() { + return 3; + }, + /*html$.CssRule.KEYFRAMES_RULE*/get KEYFRAMES_RULE() { + return 7; + }, + /*html$.CssRule.KEYFRAME_RULE*/get KEYFRAME_RULE() { + return 8; + }, + /*html$.CssRule.MEDIA_RULE*/get MEDIA_RULE() { + return 4; + }, + /*html$.CssRule.NAMESPACE_RULE*/get NAMESPACE_RULE() { + return 10; + }, + /*html$.CssRule.PAGE_RULE*/get PAGE_RULE() { + return 6; + }, + /*html$.CssRule.STYLE_RULE*/get STYLE_RULE() { + return 1; + }, + /*html$.CssRule.SUPPORTS_RULE*/get SUPPORTS_RULE() { + return 12; + }, + /*html$.CssRule.VIEWPORT_RULE*/get VIEWPORT_RULE() { + return 15; + } +}, false); +dart.registerExtension("CSSRule", html$.CssRule); +html$.CssCharsetRule = class CssCharsetRule extends html$.CssRule { + get [S$.$encoding]() { + return this.encoding; + } + set [S$.$encoding](value) { + this.encoding = value; + } +}; +dart.addTypeTests(html$.CssCharsetRule); +dart.addTypeCaches(html$.CssCharsetRule); +dart.setGetterSignature(html$.CssCharsetRule, () => ({ + __proto__: dart.getGetters(html$.CssCharsetRule.__proto__), + [S$.$encoding]: dart.nullable(core.String) +})); +dart.setSetterSignature(html$.CssCharsetRule, () => ({ + __proto__: dart.getSetters(html$.CssCharsetRule.__proto__), + [S$.$encoding]: dart.nullable(core.String) +})); +dart.setLibraryUri(html$.CssCharsetRule, I[148]); +dart.registerExtension("CSSCharsetRule", html$.CssCharsetRule); +html$.CssGroupingRule = class CssGroupingRule extends html$.CssRule { + get [S$.$cssRules]() { + return this.cssRules; + } + [S$.$deleteRule](...args) { + return this.deleteRule.apply(this, args); + } + [S$.$insertRule](...args) { + return this.insertRule.apply(this, args); + } +}; +dart.addTypeTests(html$.CssGroupingRule); +dart.addTypeCaches(html$.CssGroupingRule); +dart.setMethodSignature(html$.CssGroupingRule, () => ({ + __proto__: dart.getMethods(html$.CssGroupingRule.__proto__), + [S$.$deleteRule]: dart.fnType(dart.void, [core.int]), + [S$.$insertRule]: dart.fnType(core.int, [core.String, core.int]) +})); +dart.setGetterSignature(html$.CssGroupingRule, () => ({ + __proto__: dart.getGetters(html$.CssGroupingRule.__proto__), + [S$.$cssRules]: dart.nullable(core.List$(html$.CssRule)) +})); +dart.setLibraryUri(html$.CssGroupingRule, I[148]); +dart.registerExtension("CSSGroupingRule", html$.CssGroupingRule); +html$.CssConditionRule = class CssConditionRule extends html$.CssGroupingRule { + get [S$.$conditionText]() { + return this.conditionText; + } +}; +dart.addTypeTests(html$.CssConditionRule); +dart.addTypeCaches(html$.CssConditionRule); +dart.setGetterSignature(html$.CssConditionRule, () => ({ + __proto__: dart.getGetters(html$.CssConditionRule.__proto__), + [S$.$conditionText]: dart.nullable(core.String) +})); +dart.setLibraryUri(html$.CssConditionRule, I[148]); +dart.registerExtension("CSSConditionRule", html$.CssConditionRule); +html$.CssFontFaceRule = class CssFontFaceRule extends html$.CssRule { + get [S.$style]() { + return this.style; + } +}; +dart.addTypeTests(html$.CssFontFaceRule); +dart.addTypeCaches(html$.CssFontFaceRule); +dart.setGetterSignature(html$.CssFontFaceRule, () => ({ + __proto__: dart.getGetters(html$.CssFontFaceRule.__proto__), + [S.$style]: dart.nullable(html$.CssStyleDeclaration) +})); +dart.setLibraryUri(html$.CssFontFaceRule, I[148]); +dart.registerExtension("CSSFontFaceRule", html$.CssFontFaceRule); +html$.CssStyleValue = class CssStyleValue extends _interceptors.Interceptor {}; +dart.addTypeTests(html$.CssStyleValue); +dart.addTypeCaches(html$.CssStyleValue); +dart.setLibraryUri(html$.CssStyleValue, I[148]); +dart.registerExtension("CSSStyleValue", html$.CssStyleValue); +html$.CssResourceValue = class CssResourceValue extends html$.CssStyleValue { + get [S$.$state]() { + return this.state; + } +}; +dart.addTypeTests(html$.CssResourceValue); +dart.addTypeCaches(html$.CssResourceValue); +dart.setGetterSignature(html$.CssResourceValue, () => ({ + __proto__: dart.getGetters(html$.CssResourceValue.__proto__), + [S$.$state]: dart.nullable(core.String) +})); +dart.setLibraryUri(html$.CssResourceValue, I[148]); +dart.registerExtension("CSSResourceValue", html$.CssResourceValue); +html$.CssImageValue = class CssImageValue extends html$.CssResourceValue { + get [S$.$intrinsicHeight]() { + return this.intrinsicHeight; + } + get [S$.$intrinsicRatio]() { + return this.intrinsicRatio; + } + get [S$.$intrinsicWidth]() { + return this.intrinsicWidth; + } +}; +dart.addTypeTests(html$.CssImageValue); +dart.addTypeCaches(html$.CssImageValue); +dart.setGetterSignature(html$.CssImageValue, () => ({ + __proto__: dart.getGetters(html$.CssImageValue.__proto__), + [S$.$intrinsicHeight]: dart.nullable(core.num), + [S$.$intrinsicRatio]: dart.nullable(core.num), + [S$.$intrinsicWidth]: dart.nullable(core.num) +})); +dart.setLibraryUri(html$.CssImageValue, I[148]); +dart.registerExtension("CSSImageValue", html$.CssImageValue); +html$.CssImportRule = class CssImportRule extends html$.CssRule { + get [S$.$href]() { + return this.href; + } + get [S$.$media]() { + return this.media; + } + get [S$.$styleSheet]() { + return this.styleSheet; + } +}; +dart.addTypeTests(html$.CssImportRule); +dart.addTypeCaches(html$.CssImportRule); +dart.setGetterSignature(html$.CssImportRule, () => ({ + __proto__: dart.getGetters(html$.CssImportRule.__proto__), + [S$.$href]: dart.nullable(core.String), + [S$.$media]: dart.nullable(html$.MediaList), + [S$.$styleSheet]: dart.nullable(html$.CssStyleSheet) +})); +dart.setLibraryUri(html$.CssImportRule, I[148]); +dart.registerExtension("CSSImportRule", html$.CssImportRule); +html$.CssKeyframeRule = class CssKeyframeRule extends html$.CssRule { + get [S$.$keyText]() { + return this.keyText; + } + set [S$.$keyText](value) { + this.keyText = value; + } + get [S.$style]() { + return this.style; + } +}; +dart.addTypeTests(html$.CssKeyframeRule); +dart.addTypeCaches(html$.CssKeyframeRule); +dart.setGetterSignature(html$.CssKeyframeRule, () => ({ + __proto__: dart.getGetters(html$.CssKeyframeRule.__proto__), + [S$.$keyText]: dart.nullable(core.String), + [S.$style]: dart.nullable(html$.CssStyleDeclaration) +})); +dart.setSetterSignature(html$.CssKeyframeRule, () => ({ + __proto__: dart.getSetters(html$.CssKeyframeRule.__proto__), + [S$.$keyText]: dart.nullable(core.String) +})); +dart.setLibraryUri(html$.CssKeyframeRule, I[148]); +dart.registerExtension("CSSKeyframeRule", html$.CssKeyframeRule); +dart.registerExtension("MozCSSKeyframeRule", html$.CssKeyframeRule); +dart.registerExtension("WebKitCSSKeyframeRule", html$.CssKeyframeRule); +html$.CssKeyframesRule = class CssKeyframesRule extends html$.CssRule { + get [S$.$cssRules]() { + return this.cssRules; + } + get [$name]() { + return this.name; + } + set [$name](value) { + this.name = value; + } + [S$.__getter__](...args) { + return this.__getter__.apply(this, args); + } + [S$.$appendRule](...args) { + return this.appendRule.apply(this, args); + } + [S$.$deleteRule](...args) { + return this.deleteRule.apply(this, args); + } + [S$.$findRule](...args) { + return this.findRule.apply(this, args); + } +}; +dart.addTypeTests(html$.CssKeyframesRule); +dart.addTypeCaches(html$.CssKeyframesRule); +dart.setMethodSignature(html$.CssKeyframesRule, () => ({ + __proto__: dart.getMethods(html$.CssKeyframesRule.__proto__), + [S$.__getter__]: dart.fnType(html$.CssKeyframeRule, [core.int]), + [S$.$appendRule]: dart.fnType(dart.void, [core.String]), + [S$.$deleteRule]: dart.fnType(dart.void, [core.String]), + [S$.$findRule]: dart.fnType(dart.nullable(html$.CssKeyframeRule), [core.String]) +})); +dart.setGetterSignature(html$.CssKeyframesRule, () => ({ + __proto__: dart.getGetters(html$.CssKeyframesRule.__proto__), + [S$.$cssRules]: dart.nullable(core.List$(html$.CssRule)), + [$name]: dart.nullable(core.String) +})); +dart.setSetterSignature(html$.CssKeyframesRule, () => ({ + __proto__: dart.getSetters(html$.CssKeyframesRule.__proto__), + [$name]: dart.nullable(core.String) +})); +dart.setLibraryUri(html$.CssKeyframesRule, I[148]); +dart.registerExtension("CSSKeyframesRule", html$.CssKeyframesRule); +dart.registerExtension("MozCSSKeyframesRule", html$.CssKeyframesRule); +dart.registerExtension("WebKitCSSKeyframesRule", html$.CssKeyframesRule); +html$.CssKeywordValue = class CssKeywordValue extends html$.CssStyleValue { + static new(keyword) { + if (keyword == null) dart.nullFailed(I[147], 3632, 34, "keyword"); + return html$.CssKeywordValue._create_1(keyword); + } + static _create_1(keyword) { + return new CSSKeywordValue(keyword); + } + get [S.$value]() { + return this.value; + } + set [S.$value](value) { + this.value = value; + } +}; +dart.addTypeTests(html$.CssKeywordValue); +dart.addTypeCaches(html$.CssKeywordValue); +dart.setGetterSignature(html$.CssKeywordValue, () => ({ + __proto__: dart.getGetters(html$.CssKeywordValue.__proto__), + [S.$value]: dart.nullable(core.String) +})); +dart.setSetterSignature(html$.CssKeywordValue, () => ({ + __proto__: dart.getSetters(html$.CssKeywordValue.__proto__), + [S.$value]: dart.nullable(core.String) +})); +dart.setLibraryUri(html$.CssKeywordValue, I[148]); +dart.registerExtension("CSSKeywordValue", html$.CssKeywordValue); +html$.CssTransformComponent = class CssTransformComponent extends _interceptors.Interceptor { + get [S$.$is2D]() { + return this.is2D; + } + set [S$.$is2D](value) { + this.is2D = value; + } +}; +dart.addTypeTests(html$.CssTransformComponent); +dart.addTypeCaches(html$.CssTransformComponent); +dart.setGetterSignature(html$.CssTransformComponent, () => ({ + __proto__: dart.getGetters(html$.CssTransformComponent.__proto__), + [S$.$is2D]: dart.nullable(core.bool) +})); +dart.setSetterSignature(html$.CssTransformComponent, () => ({ + __proto__: dart.getSetters(html$.CssTransformComponent.__proto__), + [S$.$is2D]: dart.nullable(core.bool) +})); +dart.setLibraryUri(html$.CssTransformComponent, I[148]); +dart.registerExtension("CSSTransformComponent", html$.CssTransformComponent); +html$.CssMatrixComponent = class CssMatrixComponent extends html$.CssTransformComponent { + static new(matrix, options = null) { + if (matrix == null) dart.nullFailed(I[147], 3653, 48, "matrix"); + if (options != null) { + let options_1 = html_common.convertDartToNative_Dictionary(options); + return html$.CssMatrixComponent._create_1(matrix, options_1); + } + return html$.CssMatrixComponent._create_2(matrix); + } + static _create_1(matrix, options) { + return new CSSMatrixComponent(matrix, options); + } + static _create_2(matrix) { + return new CSSMatrixComponent(matrix); + } + get [S$.$matrix]() { + return this.matrix; + } + set [S$.$matrix](value) { + this.matrix = value; + } +}; +dart.addTypeTests(html$.CssMatrixComponent); +dart.addTypeCaches(html$.CssMatrixComponent); +dart.setGetterSignature(html$.CssMatrixComponent, () => ({ + __proto__: dart.getGetters(html$.CssMatrixComponent.__proto__), + [S$.$matrix]: dart.nullable(html$.DomMatrix) +})); +dart.setSetterSignature(html$.CssMatrixComponent, () => ({ + __proto__: dart.getSetters(html$.CssMatrixComponent.__proto__), + [S$.$matrix]: dart.nullable(html$.DomMatrix) +})); +dart.setLibraryUri(html$.CssMatrixComponent, I[148]); +dart.registerExtension("CSSMatrixComponent", html$.CssMatrixComponent); +html$.CssMediaRule = class CssMediaRule extends html$.CssConditionRule { + get [S$.$media]() { + return this.media; + } +}; +dart.addTypeTests(html$.CssMediaRule); +dart.addTypeCaches(html$.CssMediaRule); +dart.setGetterSignature(html$.CssMediaRule, () => ({ + __proto__: dart.getGetters(html$.CssMediaRule.__proto__), + [S$.$media]: dart.nullable(html$.MediaList) +})); +dart.setLibraryUri(html$.CssMediaRule, I[148]); +dart.registerExtension("CSSMediaRule", html$.CssMediaRule); +html$.CssNamespaceRule = class CssNamespaceRule extends html$.CssRule { + get [S.$namespaceUri]() { + return this.namespaceURI; + } + get [S$.$prefix]() { + return this.prefix; + } +}; +dart.addTypeTests(html$.CssNamespaceRule); +dart.addTypeCaches(html$.CssNamespaceRule); +dart.setGetterSignature(html$.CssNamespaceRule, () => ({ + __proto__: dart.getGetters(html$.CssNamespaceRule.__proto__), + [S.$namespaceUri]: dart.nullable(core.String), + [S$.$prefix]: dart.nullable(core.String) +})); +dart.setLibraryUri(html$.CssNamespaceRule, I[148]); +dart.registerExtension("CSSNamespaceRule", html$.CssNamespaceRule); +html$.CssNumericValue = class CssNumericValue extends html$.CssStyleValue { + [$add](...args) { + return this.add.apply(this, args); + } + [S$.$div](...args) { + return this.div.apply(this, args); + } + [S$.$mul](...args) { + return this.mul.apply(this, args); + } + [S$.$sub](...args) { + return this.sub.apply(this, args); + } + [S$.$to](...args) { + return this.to.apply(this, args); + } +}; +dart.addTypeTests(html$.CssNumericValue); +dart.addTypeCaches(html$.CssNumericValue); +dart.setMethodSignature(html$.CssNumericValue, () => ({ + __proto__: dart.getMethods(html$.CssNumericValue.__proto__), + [$add]: dart.fnType(html$.CssNumericValue, [html$.CssNumericValue]), + [S$.$div]: dart.fnType(html$.CssNumericValue, [core.num]), + [S$.$mul]: dart.fnType(html$.CssNumericValue, [core.num]), + [S$.$sub]: dart.fnType(html$.CssNumericValue, [html$.CssNumericValue]), + [S$.$to]: dart.fnType(html$.CssNumericValue, [core.String]) +})); +dart.setLibraryUri(html$.CssNumericValue, I[148]); +dart.registerExtension("CSSNumericValue", html$.CssNumericValue); +html$.CssPageRule = class CssPageRule extends html$.CssRule { + get [S$.$selectorText]() { + return this.selectorText; + } + set [S$.$selectorText](value) { + this.selectorText = value; + } + get [S.$style]() { + return this.style; + } +}; +dart.addTypeTests(html$.CssPageRule); +dart.addTypeCaches(html$.CssPageRule); +dart.setGetterSignature(html$.CssPageRule, () => ({ + __proto__: dart.getGetters(html$.CssPageRule.__proto__), + [S$.$selectorText]: dart.nullable(core.String), + [S.$style]: dart.nullable(html$.CssStyleDeclaration) +})); +dart.setSetterSignature(html$.CssPageRule, () => ({ + __proto__: dart.getSetters(html$.CssPageRule.__proto__), + [S$.$selectorText]: dart.nullable(core.String) +})); +dart.setLibraryUri(html$.CssPageRule, I[148]); +dart.registerExtension("CSSPageRule", html$.CssPageRule); +html$.CssPerspective = class CssPerspective extends html$.CssTransformComponent { + static new(length) { + if (length == null) dart.nullFailed(I[147], 3749, 42, "length"); + return html$.CssPerspective._create_1(length); + } + static _create_1(length) { + return new CSSPerspective(length); + } + get [$length]() { + return this.length; + } + set [$length](value) { + this.length = value; + } +}; +dart.addTypeTests(html$.CssPerspective); +dart.addTypeCaches(html$.CssPerspective); +dart.setGetterSignature(html$.CssPerspective, () => ({ + __proto__: dart.getGetters(html$.CssPerspective.__proto__), + [$length]: dart.nullable(html$.CssNumericValue) +})); +dart.setSetterSignature(html$.CssPerspective, () => ({ + __proto__: dart.getSetters(html$.CssPerspective.__proto__), + [$length]: dart.nullable(html$.CssNumericValue) +})); +dart.setLibraryUri(html$.CssPerspective, I[148]); +dart.registerExtension("CSSPerspective", html$.CssPerspective); +html$.CssPositionValue = class CssPositionValue extends html$.CssStyleValue { + static new(x, y) { + if (x == null) dart.nullFailed(I[147], 3770, 44, "x"); + if (y == null) dart.nullFailed(I[147], 3770, 63, "y"); + return html$.CssPositionValue._create_1(x, y); + } + static _create_1(x, y) { + return new CSSPositionValue(x, y); + } + get [S$.$x]() { + return this.x; + } + set [S$.$x](value) { + this.x = value; + } + get [S$.$y]() { + return this.y; + } + set [S$.$y](value) { + this.y = value; + } +}; +dart.addTypeTests(html$.CssPositionValue); +dart.addTypeCaches(html$.CssPositionValue); +dart.setGetterSignature(html$.CssPositionValue, () => ({ + __proto__: dart.getGetters(html$.CssPositionValue.__proto__), + [S$.$x]: dart.nullable(html$.CssNumericValue), + [S$.$y]: dart.nullable(html$.CssNumericValue) +})); +dart.setSetterSignature(html$.CssPositionValue, () => ({ + __proto__: dart.getSetters(html$.CssPositionValue.__proto__), + [S$.$x]: dart.nullable(html$.CssNumericValue), + [S$.$y]: dart.nullable(html$.CssNumericValue) +})); +dart.setLibraryUri(html$.CssPositionValue, I[148]); +dart.registerExtension("CSSPositionValue", html$.CssPositionValue); +html$.CssRotation = class CssRotation extends html$.CssTransformComponent { + static new(angleValue_OR_x, y = null, z = null, angle = null) { + if (html$.CssNumericValue.is(angleValue_OR_x) && y == null && z == null && angle == null) { + return html$.CssRotation._create_1(angleValue_OR_x); + } + if (html$.CssNumericValue.is(angle) && typeof z == 'number' && typeof y == 'number' && typeof angleValue_OR_x == 'number') { + return html$.CssRotation._create_2(angleValue_OR_x, y, z, angle); + } + dart.throw(new core.ArgumentError.new("Incorrect number or type of arguments")); + } + static _create_1(angleValue_OR_x) { + return new CSSRotation(angleValue_OR_x); + } + static _create_2(angleValue_OR_x, y, z, angle) { + return new CSSRotation(angleValue_OR_x, y, z, angle); + } + get [S$.$angle]() { + return this.angle; + } + set [S$.$angle](value) { + this.angle = value; + } + get [S$.$x]() { + return this.x; + } + set [S$.$x](value) { + this.x = value; + } + get [S$.$y]() { + return this.y; + } + set [S$.$y](value) { + this.y = value; + } + get [S$.$z]() { + return this.z; + } + set [S$.$z](value) { + this.z = value; + } +}; +dart.addTypeTests(html$.CssRotation); +dart.addTypeCaches(html$.CssRotation); +dart.setGetterSignature(html$.CssRotation, () => ({ + __proto__: dart.getGetters(html$.CssRotation.__proto__), + [S$.$angle]: dart.nullable(html$.CssNumericValue), + [S$.$x]: dart.nullable(core.num), + [S$.$y]: dart.nullable(core.num), + [S$.$z]: dart.nullable(core.num) +})); +dart.setSetterSignature(html$.CssRotation, () => ({ + __proto__: dart.getSetters(html$.CssRotation.__proto__), + [S$.$angle]: dart.nullable(html$.CssNumericValue), + [S$.$x]: dart.nullable(core.num), + [S$.$y]: dart.nullable(core.num), + [S$.$z]: dart.nullable(core.num) +})); +dart.setLibraryUri(html$.CssRotation, I[148]); +dart.registerExtension("CSSRotation", html$.CssRotation); +html$.CssScale = class CssScale extends html$.CssTransformComponent { + static new(x, y, z = null) { + if (x == null) dart.nullFailed(I[147], 3899, 24, "x"); + if (y == null) dart.nullFailed(I[147], 3899, 31, "y"); + if (typeof y == 'number' && typeof x == 'number' && z == null) { + return html$.CssScale._create_1(x, y); + } + if (typeof z == 'number' && typeof y == 'number' && typeof x == 'number') { + return html$.CssScale._create_2(x, y, z); + } + dart.throw(new core.ArgumentError.new("Incorrect number or type of arguments")); + } + static _create_1(x, y) { + return new CSSScale(x, y); + } + static _create_2(x, y, z) { + return new CSSScale(x, y, z); + } + get [S$.$x]() { + return this.x; + } + set [S$.$x](value) { + this.x = value; + } + get [S$.$y]() { + return this.y; + } + set [S$.$y](value) { + this.y = value; + } + get [S$.$z]() { + return this.z; + } + set [S$.$z](value) { + this.z = value; + } +}; +dart.addTypeTests(html$.CssScale); +dart.addTypeCaches(html$.CssScale); +dart.setGetterSignature(html$.CssScale, () => ({ + __proto__: dart.getGetters(html$.CssScale.__proto__), + [S$.$x]: dart.nullable(core.num), + [S$.$y]: dart.nullable(core.num), + [S$.$z]: dart.nullable(core.num) +})); +dart.setSetterSignature(html$.CssScale, () => ({ + __proto__: dart.getSetters(html$.CssScale.__proto__), + [S$.$x]: dart.nullable(core.num), + [S$.$y]: dart.nullable(core.num), + [S$.$z]: dart.nullable(core.num) +})); +dart.setLibraryUri(html$.CssScale, I[148]); +dart.registerExtension("CSSScale", html$.CssScale); +html$.CssSkew = class CssSkew extends html$.CssTransformComponent { + static new(ax, ay) { + if (ax == null) dart.nullFailed(I[147], 3935, 35, "ax"); + if (ay == null) dart.nullFailed(I[147], 3935, 55, "ay"); + return html$.CssSkew._create_1(ax, ay); + } + static _create_1(ax, ay) { + return new CSSSkew(ax, ay); + } + get [S$.$ax]() { + return this.ax; + } + set [S$.$ax](value) { + this.ax = value; + } + get [S$.$ay]() { + return this.ay; + } + set [S$.$ay](value) { + this.ay = value; + } +}; +dart.addTypeTests(html$.CssSkew); +dart.addTypeCaches(html$.CssSkew); +dart.setGetterSignature(html$.CssSkew, () => ({ + __proto__: dart.getGetters(html$.CssSkew.__proto__), + [S$.$ax]: dart.nullable(html$.CssNumericValue), + [S$.$ay]: dart.nullable(html$.CssNumericValue) +})); +dart.setSetterSignature(html$.CssSkew, () => ({ + __proto__: dart.getSetters(html$.CssSkew.__proto__), + [S$.$ax]: dart.nullable(html$.CssNumericValue), + [S$.$ay]: dart.nullable(html$.CssNumericValue) +})); +dart.setLibraryUri(html$.CssSkew, I[148]); +dart.registerExtension("CSSSkew", html$.CssSkew); +html$.CssStyleDeclarationBase = class CssStyleDeclarationBase extends core.Object { + get alignContent() { + return this[S$.$getPropertyValue]("align-content"); + } + set alignContent(value) { + if (value == null) dart.nullFailed(I[147], 5921, 27, "value"); + this[S$.$setProperty]("align-content", value, ""); + } + get alignItems() { + return this[S$.$getPropertyValue]("align-items"); + } + set alignItems(value) { + if (value == null) dart.nullFailed(I[147], 5929, 25, "value"); + this[S$.$setProperty]("align-items", value, ""); + } + get alignSelf() { + return this[S$.$getPropertyValue]("align-self"); + } + set alignSelf(value) { + if (value == null) dart.nullFailed(I[147], 5937, 24, "value"); + this[S$.$setProperty]("align-self", value, ""); + } + get animation() { + return this[S$.$getPropertyValue]("animation"); + } + set animation(value) { + if (value == null) dart.nullFailed(I[147], 5945, 24, "value"); + this[S$.$setProperty]("animation", value, ""); + } + get animationDelay() { + return this[S$.$getPropertyValue]("animation-delay"); + } + set animationDelay(value) { + if (value == null) dart.nullFailed(I[147], 5953, 29, "value"); + this[S$.$setProperty]("animation-delay", value, ""); + } + get animationDirection() { + return this[S$.$getPropertyValue]("animation-direction"); + } + set animationDirection(value) { + if (value == null) dart.nullFailed(I[147], 5961, 33, "value"); + this[S$.$setProperty]("animation-direction", value, ""); + } + get animationDuration() { + return this[S$.$getPropertyValue]("animation-duration"); + } + set animationDuration(value) { + if (value == null) dart.nullFailed(I[147], 5969, 32, "value"); + this[S$.$setProperty]("animation-duration", value, ""); + } + get animationFillMode() { + return this[S$.$getPropertyValue]("animation-fill-mode"); + } + set animationFillMode(value) { + if (value == null) dart.nullFailed(I[147], 5977, 32, "value"); + this[S$.$setProperty]("animation-fill-mode", value, ""); + } + get animationIterationCount() { + return this[S$.$getPropertyValue]("animation-iteration-count"); + } + set animationIterationCount(value) { + if (value == null) dart.nullFailed(I[147], 5986, 38, "value"); + this[S$.$setProperty]("animation-iteration-count", value, ""); + } + get animationName() { + return this[S$.$getPropertyValue]("animation-name"); + } + set animationName(value) { + if (value == null) dart.nullFailed(I[147], 5994, 28, "value"); + this[S$.$setProperty]("animation-name", value, ""); + } + get animationPlayState() { + return this[S$.$getPropertyValue]("animation-play-state"); + } + set animationPlayState(value) { + if (value == null) dart.nullFailed(I[147], 6002, 33, "value"); + this[S$.$setProperty]("animation-play-state", value, ""); + } + get animationTimingFunction() { + return this[S$.$getPropertyValue]("animation-timing-function"); + } + set animationTimingFunction(value) { + if (value == null) dart.nullFailed(I[147], 6011, 38, "value"); + this[S$.$setProperty]("animation-timing-function", value, ""); + } + get appRegion() { + return this[S$.$getPropertyValue]("app-region"); + } + set appRegion(value) { + if (value == null) dart.nullFailed(I[147], 6019, 24, "value"); + this[S$.$setProperty]("app-region", value, ""); + } + get appearance() { + return this[S$.$getPropertyValue]("appearance"); + } + set appearance(value) { + if (value == null) dart.nullFailed(I[147], 6027, 25, "value"); + this[S$.$setProperty]("appearance", value, ""); + } + get aspectRatio() { + return this[S$.$getPropertyValue]("aspect-ratio"); + } + set aspectRatio(value) { + if (value == null) dart.nullFailed(I[147], 6035, 26, "value"); + this[S$.$setProperty]("aspect-ratio", value, ""); + } + get backfaceVisibility() { + return this[S$.$getPropertyValue]("backface-visibility"); + } + set backfaceVisibility(value) { + if (value == null) dart.nullFailed(I[147], 6043, 33, "value"); + this[S$.$setProperty]("backface-visibility", value, ""); + } + get background() { + return this[S$.$getPropertyValue]("background"); + } + set background(value) { + if (value == null) dart.nullFailed(I[147], 6051, 25, "value"); + this[S$.$setProperty]("background", value, ""); + } + get backgroundAttachment() { + return this[S$.$getPropertyValue]("background-attachment"); + } + set backgroundAttachment(value) { + if (value == null) dart.nullFailed(I[147], 6059, 35, "value"); + this[S$.$setProperty]("background-attachment", value, ""); + } + get backgroundBlendMode() { + return this[S$.$getPropertyValue]("background-blend-mode"); + } + set backgroundBlendMode(value) { + if (value == null) dart.nullFailed(I[147], 6067, 34, "value"); + this[S$.$setProperty]("background-blend-mode", value, ""); + } + get backgroundClip() { + return this[S$.$getPropertyValue]("background-clip"); + } + set backgroundClip(value) { + if (value == null) dart.nullFailed(I[147], 6075, 29, "value"); + this[S$.$setProperty]("background-clip", value, ""); + } + get backgroundColor() { + return this[S$.$getPropertyValue]("background-color"); + } + set backgroundColor(value) { + if (value == null) dart.nullFailed(I[147], 6083, 30, "value"); + this[S$.$setProperty]("background-color", value, ""); + } + get backgroundComposite() { + return this[S$.$getPropertyValue]("background-composite"); + } + set backgroundComposite(value) { + if (value == null) dart.nullFailed(I[147], 6091, 34, "value"); + this[S$.$setProperty]("background-composite", value, ""); + } + get backgroundImage() { + return this[S$.$getPropertyValue]("background-image"); + } + set backgroundImage(value) { + if (value == null) dart.nullFailed(I[147], 6099, 30, "value"); + this[S$.$setProperty]("background-image", value, ""); + } + get backgroundOrigin() { + return this[S$.$getPropertyValue]("background-origin"); + } + set backgroundOrigin(value) { + if (value == null) dart.nullFailed(I[147], 6107, 31, "value"); + this[S$.$setProperty]("background-origin", value, ""); + } + get backgroundPosition() { + return this[S$.$getPropertyValue]("background-position"); + } + set backgroundPosition(value) { + if (value == null) dart.nullFailed(I[147], 6115, 33, "value"); + this[S$.$setProperty]("background-position", value, ""); + } + get backgroundPositionX() { + return this[S$.$getPropertyValue]("background-position-x"); + } + set backgroundPositionX(value) { + if (value == null) dart.nullFailed(I[147], 6123, 34, "value"); + this[S$.$setProperty]("background-position-x", value, ""); + } + get backgroundPositionY() { + return this[S$.$getPropertyValue]("background-position-y"); + } + set backgroundPositionY(value) { + if (value == null) dart.nullFailed(I[147], 6131, 34, "value"); + this[S$.$setProperty]("background-position-y", value, ""); + } + get backgroundRepeat() { + return this[S$.$getPropertyValue]("background-repeat"); + } + set backgroundRepeat(value) { + if (value == null) dart.nullFailed(I[147], 6139, 31, "value"); + this[S$.$setProperty]("background-repeat", value, ""); + } + get backgroundRepeatX() { + return this[S$.$getPropertyValue]("background-repeat-x"); + } + set backgroundRepeatX(value) { + if (value == null) dart.nullFailed(I[147], 6147, 32, "value"); + this[S$.$setProperty]("background-repeat-x", value, ""); + } + get backgroundRepeatY() { + return this[S$.$getPropertyValue]("background-repeat-y"); + } + set backgroundRepeatY(value) { + if (value == null) dart.nullFailed(I[147], 6155, 32, "value"); + this[S$.$setProperty]("background-repeat-y", value, ""); + } + get backgroundSize() { + return this[S$.$getPropertyValue]("background-size"); + } + set backgroundSize(value) { + if (value == null) dart.nullFailed(I[147], 6163, 29, "value"); + this[S$.$setProperty]("background-size", value, ""); + } + get border() { + return this[S$.$getPropertyValue]("border"); + } + set border(value) { + if (value == null) dart.nullFailed(I[147], 6171, 21, "value"); + this[S$.$setProperty]("border", value, ""); + } + get borderAfter() { + return this[S$.$getPropertyValue]("border-after"); + } + set borderAfter(value) { + if (value == null) dart.nullFailed(I[147], 6179, 26, "value"); + this[S$.$setProperty]("border-after", value, ""); + } + get borderAfterColor() { + return this[S$.$getPropertyValue]("border-after-color"); + } + set borderAfterColor(value) { + if (value == null) dart.nullFailed(I[147], 6187, 31, "value"); + this[S$.$setProperty]("border-after-color", value, ""); + } + get borderAfterStyle() { + return this[S$.$getPropertyValue]("border-after-style"); + } + set borderAfterStyle(value) { + if (value == null) dart.nullFailed(I[147], 6195, 31, "value"); + this[S$.$setProperty]("border-after-style", value, ""); + } + get borderAfterWidth() { + return this[S$.$getPropertyValue]("border-after-width"); + } + set borderAfterWidth(value) { + if (value == null) dart.nullFailed(I[147], 6203, 31, "value"); + this[S$.$setProperty]("border-after-width", value, ""); + } + get borderBefore() { + return this[S$.$getPropertyValue]("border-before"); + } + set borderBefore(value) { + if (value == null) dart.nullFailed(I[147], 6211, 27, "value"); + this[S$.$setProperty]("border-before", value, ""); + } + get borderBeforeColor() { + return this[S$.$getPropertyValue]("border-before-color"); + } + set borderBeforeColor(value) { + if (value == null) dart.nullFailed(I[147], 6219, 32, "value"); + this[S$.$setProperty]("border-before-color", value, ""); + } + get borderBeforeStyle() { + return this[S$.$getPropertyValue]("border-before-style"); + } + set borderBeforeStyle(value) { + if (value == null) dart.nullFailed(I[147], 6227, 32, "value"); + this[S$.$setProperty]("border-before-style", value, ""); + } + get borderBeforeWidth() { + return this[S$.$getPropertyValue]("border-before-width"); + } + set borderBeforeWidth(value) { + if (value == null) dart.nullFailed(I[147], 6235, 32, "value"); + this[S$.$setProperty]("border-before-width", value, ""); + } + get borderBottom() { + return this[S$.$getPropertyValue]("border-bottom"); + } + set borderBottom(value) { + if (value == null) dart.nullFailed(I[147], 6243, 27, "value"); + this[S$.$setProperty]("border-bottom", value, ""); + } + get borderBottomColor() { + return this[S$.$getPropertyValue]("border-bottom-color"); + } + set borderBottomColor(value) { + if (value == null) dart.nullFailed(I[147], 6251, 32, "value"); + this[S$.$setProperty]("border-bottom-color", value, ""); + } + get borderBottomLeftRadius() { + return this[S$.$getPropertyValue]("border-bottom-left-radius"); + } + set borderBottomLeftRadius(value) { + if (value == null) dart.nullFailed(I[147], 6260, 37, "value"); + this[S$.$setProperty]("border-bottom-left-radius", value, ""); + } + get borderBottomRightRadius() { + return this[S$.$getPropertyValue]("border-bottom-right-radius"); + } + set borderBottomRightRadius(value) { + if (value == null) dart.nullFailed(I[147], 6269, 38, "value"); + this[S$.$setProperty]("border-bottom-right-radius", value, ""); + } + get borderBottomStyle() { + return this[S$.$getPropertyValue]("border-bottom-style"); + } + set borderBottomStyle(value) { + if (value == null) dart.nullFailed(I[147], 6277, 32, "value"); + this[S$.$setProperty]("border-bottom-style", value, ""); + } + get borderBottomWidth() { + return this[S$.$getPropertyValue]("border-bottom-width"); + } + set borderBottomWidth(value) { + if (value == null) dart.nullFailed(I[147], 6285, 32, "value"); + this[S$.$setProperty]("border-bottom-width", value, ""); + } + get borderCollapse() { + return this[S$.$getPropertyValue]("border-collapse"); + } + set borderCollapse(value) { + if (value == null) dart.nullFailed(I[147], 6293, 29, "value"); + this[S$.$setProperty]("border-collapse", value, ""); + } + get borderColor() { + return this[S$.$getPropertyValue]("border-color"); + } + set borderColor(value) { + if (value == null) dart.nullFailed(I[147], 6301, 26, "value"); + this[S$.$setProperty]("border-color", value, ""); + } + get borderEnd() { + return this[S$.$getPropertyValue]("border-end"); + } + set borderEnd(value) { + if (value == null) dart.nullFailed(I[147], 6309, 24, "value"); + this[S$.$setProperty]("border-end", value, ""); + } + get borderEndColor() { + return this[S$.$getPropertyValue]("border-end-color"); + } + set borderEndColor(value) { + if (value == null) dart.nullFailed(I[147], 6317, 29, "value"); + this[S$.$setProperty]("border-end-color", value, ""); + } + get borderEndStyle() { + return this[S$.$getPropertyValue]("border-end-style"); + } + set borderEndStyle(value) { + if (value == null) dart.nullFailed(I[147], 6325, 29, "value"); + this[S$.$setProperty]("border-end-style", value, ""); + } + get borderEndWidth() { + return this[S$.$getPropertyValue]("border-end-width"); + } + set borderEndWidth(value) { + if (value == null) dart.nullFailed(I[147], 6333, 29, "value"); + this[S$.$setProperty]("border-end-width", value, ""); + } + get borderFit() { + return this[S$.$getPropertyValue]("border-fit"); + } + set borderFit(value) { + if (value == null) dart.nullFailed(I[147], 6341, 24, "value"); + this[S$.$setProperty]("border-fit", value, ""); + } + get borderHorizontalSpacing() { + return this[S$.$getPropertyValue]("border-horizontal-spacing"); + } + set borderHorizontalSpacing(value) { + if (value == null) dart.nullFailed(I[147], 6350, 38, "value"); + this[S$.$setProperty]("border-horizontal-spacing", value, ""); + } + get borderImage() { + return this[S$.$getPropertyValue]("border-image"); + } + set borderImage(value) { + if (value == null) dart.nullFailed(I[147], 6358, 26, "value"); + this[S$.$setProperty]("border-image", value, ""); + } + get borderImageOutset() { + return this[S$.$getPropertyValue]("border-image-outset"); + } + set borderImageOutset(value) { + if (value == null) dart.nullFailed(I[147], 6366, 32, "value"); + this[S$.$setProperty]("border-image-outset", value, ""); + } + get borderImageRepeat() { + return this[S$.$getPropertyValue]("border-image-repeat"); + } + set borderImageRepeat(value) { + if (value == null) dart.nullFailed(I[147], 6374, 32, "value"); + this[S$.$setProperty]("border-image-repeat", value, ""); + } + get borderImageSlice() { + return this[S$.$getPropertyValue]("border-image-slice"); + } + set borderImageSlice(value) { + if (value == null) dart.nullFailed(I[147], 6382, 31, "value"); + this[S$.$setProperty]("border-image-slice", value, ""); + } + get borderImageSource() { + return this[S$.$getPropertyValue]("border-image-source"); + } + set borderImageSource(value) { + if (value == null) dart.nullFailed(I[147], 6390, 32, "value"); + this[S$.$setProperty]("border-image-source", value, ""); + } + get borderImageWidth() { + return this[S$.$getPropertyValue]("border-image-width"); + } + set borderImageWidth(value) { + if (value == null) dart.nullFailed(I[147], 6398, 31, "value"); + this[S$.$setProperty]("border-image-width", value, ""); + } + get borderLeft() { + return this[S$.$getPropertyValue]("border-left"); + } + set borderLeft(value) { + if (value == null) dart.nullFailed(I[147], 6406, 25, "value"); + this[S$.$setProperty]("border-left", value, ""); + } + get borderLeftColor() { + return this[S$.$getPropertyValue]("border-left-color"); + } + set borderLeftColor(value) { + if (value == null) dart.nullFailed(I[147], 6414, 30, "value"); + this[S$.$setProperty]("border-left-color", value, ""); + } + get borderLeftStyle() { + return this[S$.$getPropertyValue]("border-left-style"); + } + set borderLeftStyle(value) { + if (value == null) dart.nullFailed(I[147], 6422, 30, "value"); + this[S$.$setProperty]("border-left-style", value, ""); + } + get borderLeftWidth() { + return this[S$.$getPropertyValue]("border-left-width"); + } + set borderLeftWidth(value) { + if (value == null) dart.nullFailed(I[147], 6430, 30, "value"); + this[S$.$setProperty]("border-left-width", value, ""); + } + get borderRadius() { + return this[S$.$getPropertyValue]("border-radius"); + } + set borderRadius(value) { + if (value == null) dart.nullFailed(I[147], 6438, 27, "value"); + this[S$.$setProperty]("border-radius", value, ""); + } + get borderRight() { + return this[S$.$getPropertyValue]("border-right"); + } + set borderRight(value) { + if (value == null) dart.nullFailed(I[147], 6446, 26, "value"); + this[S$.$setProperty]("border-right", value, ""); + } + get borderRightColor() { + return this[S$.$getPropertyValue]("border-right-color"); + } + set borderRightColor(value) { + if (value == null) dart.nullFailed(I[147], 6454, 31, "value"); + this[S$.$setProperty]("border-right-color", value, ""); + } + get borderRightStyle() { + return this[S$.$getPropertyValue]("border-right-style"); + } + set borderRightStyle(value) { + if (value == null) dart.nullFailed(I[147], 6462, 31, "value"); + this[S$.$setProperty]("border-right-style", value, ""); + } + get borderRightWidth() { + return this[S$.$getPropertyValue]("border-right-width"); + } + set borderRightWidth(value) { + if (value == null) dart.nullFailed(I[147], 6470, 31, "value"); + this[S$.$setProperty]("border-right-width", value, ""); + } + get borderSpacing() { + return this[S$.$getPropertyValue]("border-spacing"); + } + set borderSpacing(value) { + if (value == null) dart.nullFailed(I[147], 6478, 28, "value"); + this[S$.$setProperty]("border-spacing", value, ""); + } + get borderStart() { + return this[S$.$getPropertyValue]("border-start"); + } + set borderStart(value) { + if (value == null) dart.nullFailed(I[147], 6486, 26, "value"); + this[S$.$setProperty]("border-start", value, ""); + } + get borderStartColor() { + return this[S$.$getPropertyValue]("border-start-color"); + } + set borderStartColor(value) { + if (value == null) dart.nullFailed(I[147], 6494, 31, "value"); + this[S$.$setProperty]("border-start-color", value, ""); + } + get borderStartStyle() { + return this[S$.$getPropertyValue]("border-start-style"); + } + set borderStartStyle(value) { + if (value == null) dart.nullFailed(I[147], 6502, 31, "value"); + this[S$.$setProperty]("border-start-style", value, ""); + } + get borderStartWidth() { + return this[S$.$getPropertyValue]("border-start-width"); + } + set borderStartWidth(value) { + if (value == null) dart.nullFailed(I[147], 6510, 31, "value"); + this[S$.$setProperty]("border-start-width", value, ""); + } + get borderStyle() { + return this[S$.$getPropertyValue]("border-style"); + } + set borderStyle(value) { + if (value == null) dart.nullFailed(I[147], 6518, 26, "value"); + this[S$.$setProperty]("border-style", value, ""); + } + get borderTop() { + return this[S$.$getPropertyValue]("border-top"); + } + set borderTop(value) { + if (value == null) dart.nullFailed(I[147], 6526, 24, "value"); + this[S$.$setProperty]("border-top", value, ""); + } + get borderTopColor() { + return this[S$.$getPropertyValue]("border-top-color"); + } + set borderTopColor(value) { + if (value == null) dart.nullFailed(I[147], 6534, 29, "value"); + this[S$.$setProperty]("border-top-color", value, ""); + } + get borderTopLeftRadius() { + return this[S$.$getPropertyValue]("border-top-left-radius"); + } + set borderTopLeftRadius(value) { + if (value == null) dart.nullFailed(I[147], 6542, 34, "value"); + this[S$.$setProperty]("border-top-left-radius", value, ""); + } + get borderTopRightRadius() { + return this[S$.$getPropertyValue]("border-top-right-radius"); + } + set borderTopRightRadius(value) { + if (value == null) dart.nullFailed(I[147], 6551, 35, "value"); + this[S$.$setProperty]("border-top-right-radius", value, ""); + } + get borderTopStyle() { + return this[S$.$getPropertyValue]("border-top-style"); + } + set borderTopStyle(value) { + if (value == null) dart.nullFailed(I[147], 6559, 29, "value"); + this[S$.$setProperty]("border-top-style", value, ""); + } + get borderTopWidth() { + return this[S$.$getPropertyValue]("border-top-width"); + } + set borderTopWidth(value) { + if (value == null) dart.nullFailed(I[147], 6567, 29, "value"); + this[S$.$setProperty]("border-top-width", value, ""); + } + get borderVerticalSpacing() { + return this[S$.$getPropertyValue]("border-vertical-spacing"); + } + set borderVerticalSpacing(value) { + if (value == null) dart.nullFailed(I[147], 6576, 36, "value"); + this[S$.$setProperty]("border-vertical-spacing", value, ""); + } + get borderWidth() { + return this[S$.$getPropertyValue]("border-width"); + } + set borderWidth(value) { + if (value == null) dart.nullFailed(I[147], 6584, 26, "value"); + this[S$.$setProperty]("border-width", value, ""); + } + get bottom() { + return this[S$.$getPropertyValue]("bottom"); + } + set bottom(value) { + if (value == null) dart.nullFailed(I[147], 6592, 21, "value"); + this[S$.$setProperty]("bottom", value, ""); + } + get boxAlign() { + return this[S$.$getPropertyValue]("box-align"); + } + set boxAlign(value) { + if (value == null) dart.nullFailed(I[147], 6600, 23, "value"); + this[S$.$setProperty]("box-align", value, ""); + } + get boxDecorationBreak() { + return this[S$.$getPropertyValue]("box-decoration-break"); + } + set boxDecorationBreak(value) { + if (value == null) dart.nullFailed(I[147], 6608, 33, "value"); + this[S$.$setProperty]("box-decoration-break", value, ""); + } + get boxDirection() { + return this[S$.$getPropertyValue]("box-direction"); + } + set boxDirection(value) { + if (value == null) dart.nullFailed(I[147], 6616, 27, "value"); + this[S$.$setProperty]("box-direction", value, ""); + } + get boxFlex() { + return this[S$.$getPropertyValue]("box-flex"); + } + set boxFlex(value) { + if (value == null) dart.nullFailed(I[147], 6624, 22, "value"); + this[S$.$setProperty]("box-flex", value, ""); + } + get boxFlexGroup() { + return this[S$.$getPropertyValue]("box-flex-group"); + } + set boxFlexGroup(value) { + if (value == null) dart.nullFailed(I[147], 6632, 27, "value"); + this[S$.$setProperty]("box-flex-group", value, ""); + } + get boxLines() { + return this[S$.$getPropertyValue]("box-lines"); + } + set boxLines(value) { + if (value == null) dart.nullFailed(I[147], 6640, 23, "value"); + this[S$.$setProperty]("box-lines", value, ""); + } + get boxOrdinalGroup() { + return this[S$.$getPropertyValue]("box-ordinal-group"); + } + set boxOrdinalGroup(value) { + if (value == null) dart.nullFailed(I[147], 6648, 30, "value"); + this[S$.$setProperty]("box-ordinal-group", value, ""); + } + get boxOrient() { + return this[S$.$getPropertyValue]("box-orient"); + } + set boxOrient(value) { + if (value == null) dart.nullFailed(I[147], 6656, 24, "value"); + this[S$.$setProperty]("box-orient", value, ""); + } + get boxPack() { + return this[S$.$getPropertyValue]("box-pack"); + } + set boxPack(value) { + if (value == null) dart.nullFailed(I[147], 6664, 22, "value"); + this[S$.$setProperty]("box-pack", value, ""); + } + get boxReflect() { + return this[S$.$getPropertyValue]("box-reflect"); + } + set boxReflect(value) { + if (value == null) dart.nullFailed(I[147], 6672, 25, "value"); + this[S$.$setProperty]("box-reflect", value, ""); + } + get boxShadow() { + return this[S$.$getPropertyValue]("box-shadow"); + } + set boxShadow(value) { + if (value == null) dart.nullFailed(I[147], 6680, 24, "value"); + this[S$.$setProperty]("box-shadow", value, ""); + } + get boxSizing() { + return this[S$.$getPropertyValue]("box-sizing"); + } + set boxSizing(value) { + if (value == null) dart.nullFailed(I[147], 6688, 24, "value"); + this[S$.$setProperty]("box-sizing", value, ""); + } + get captionSide() { + return this[S$.$getPropertyValue]("caption-side"); + } + set captionSide(value) { + if (value == null) dart.nullFailed(I[147], 6696, 26, "value"); + this[S$.$setProperty]("caption-side", value, ""); + } + get clear() { + return this[S$.$getPropertyValue]("clear"); + } + set clear(value) { + if (value == null) dart.nullFailed(I[147], 6704, 20, "value"); + this[S$.$setProperty]("clear", value, ""); + } + get clip() { + return this[S$.$getPropertyValue]("clip"); + } + set clip(value) { + if (value == null) dart.nullFailed(I[147], 6712, 19, "value"); + this[S$.$setProperty]("clip", value, ""); + } + get clipPath() { + return this[S$.$getPropertyValue]("clip-path"); + } + set clipPath(value) { + if (value == null) dart.nullFailed(I[147], 6720, 23, "value"); + this[S$.$setProperty]("clip-path", value, ""); + } + get color() { + return this[S$.$getPropertyValue]("color"); + } + set color(value) { + if (value == null) dart.nullFailed(I[147], 6728, 20, "value"); + this[S$.$setProperty]("color", value, ""); + } + get columnBreakAfter() { + return this[S$.$getPropertyValue]("column-break-after"); + } + set columnBreakAfter(value) { + if (value == null) dart.nullFailed(I[147], 6736, 31, "value"); + this[S$.$setProperty]("column-break-after", value, ""); + } + get columnBreakBefore() { + return this[S$.$getPropertyValue]("column-break-before"); + } + set columnBreakBefore(value) { + if (value == null) dart.nullFailed(I[147], 6744, 32, "value"); + this[S$.$setProperty]("column-break-before", value, ""); + } + get columnBreakInside() { + return this[S$.$getPropertyValue]("column-break-inside"); + } + set columnBreakInside(value) { + if (value == null) dart.nullFailed(I[147], 6752, 32, "value"); + this[S$.$setProperty]("column-break-inside", value, ""); + } + get columnCount() { + return this[S$.$getPropertyValue]("column-count"); + } + set columnCount(value) { + if (value == null) dart.nullFailed(I[147], 6760, 26, "value"); + this[S$.$setProperty]("column-count", value, ""); + } + get columnFill() { + return this[S$.$getPropertyValue]("column-fill"); + } + set columnFill(value) { + if (value == null) dart.nullFailed(I[147], 6768, 25, "value"); + this[S$.$setProperty]("column-fill", value, ""); + } + get columnGap() { + return this[S$.$getPropertyValue]("column-gap"); + } + set columnGap(value) { + if (value == null) dart.nullFailed(I[147], 6776, 24, "value"); + this[S$.$setProperty]("column-gap", value, ""); + } + get columnRule() { + return this[S$.$getPropertyValue]("column-rule"); + } + set columnRule(value) { + if (value == null) dart.nullFailed(I[147], 6784, 25, "value"); + this[S$.$setProperty]("column-rule", value, ""); + } + get columnRuleColor() { + return this[S$.$getPropertyValue]("column-rule-color"); + } + set columnRuleColor(value) { + if (value == null) dart.nullFailed(I[147], 6792, 30, "value"); + this[S$.$setProperty]("column-rule-color", value, ""); + } + get columnRuleStyle() { + return this[S$.$getPropertyValue]("column-rule-style"); + } + set columnRuleStyle(value) { + if (value == null) dart.nullFailed(I[147], 6800, 30, "value"); + this[S$.$setProperty]("column-rule-style", value, ""); + } + get columnRuleWidth() { + return this[S$.$getPropertyValue]("column-rule-width"); + } + set columnRuleWidth(value) { + if (value == null) dart.nullFailed(I[147], 6808, 30, "value"); + this[S$.$setProperty]("column-rule-width", value, ""); + } + get columnSpan() { + return this[S$.$getPropertyValue]("column-span"); + } + set columnSpan(value) { + if (value == null) dart.nullFailed(I[147], 6816, 25, "value"); + this[S$.$setProperty]("column-span", value, ""); + } + get columnWidth() { + return this[S$.$getPropertyValue]("column-width"); + } + set columnWidth(value) { + if (value == null) dart.nullFailed(I[147], 6824, 26, "value"); + this[S$.$setProperty]("column-width", value, ""); + } + get columns() { + return this[S$.$getPropertyValue]("columns"); + } + set columns(value) { + if (value == null) dart.nullFailed(I[147], 6832, 22, "value"); + this[S$.$setProperty]("columns", value, ""); + } + get content() { + return this[S$.$getPropertyValue]("content"); + } + set content(value) { + if (value == null) dart.nullFailed(I[147], 6840, 22, "value"); + this[S$.$setProperty]("content", value, ""); + } + get counterIncrement() { + return this[S$.$getPropertyValue]("counter-increment"); + } + set counterIncrement(value) { + if (value == null) dart.nullFailed(I[147], 6848, 31, "value"); + this[S$.$setProperty]("counter-increment", value, ""); + } + get counterReset() { + return this[S$.$getPropertyValue]("counter-reset"); + } + set counterReset(value) { + if (value == null) dart.nullFailed(I[147], 6856, 27, "value"); + this[S$.$setProperty]("counter-reset", value, ""); + } + get cursor() { + return this[S$.$getPropertyValue]("cursor"); + } + set cursor(value) { + if (value == null) dart.nullFailed(I[147], 6864, 21, "value"); + this[S$.$setProperty]("cursor", value, ""); + } + get direction() { + return this[S$.$getPropertyValue]("direction"); + } + set direction(value) { + if (value == null) dart.nullFailed(I[147], 6872, 24, "value"); + this[S$.$setProperty]("direction", value, ""); + } + get display() { + return this[S$.$getPropertyValue]("display"); + } + set display(value) { + if (value == null) dart.nullFailed(I[147], 6880, 22, "value"); + this[S$.$setProperty]("display", value, ""); + } + get emptyCells() { + return this[S$.$getPropertyValue]("empty-cells"); + } + set emptyCells(value) { + if (value == null) dart.nullFailed(I[147], 6888, 25, "value"); + this[S$.$setProperty]("empty-cells", value, ""); + } + get filter() { + return this[S$.$getPropertyValue]("filter"); + } + set filter(value) { + if (value == null) dart.nullFailed(I[147], 6896, 21, "value"); + this[S$.$setProperty]("filter", value, ""); + } + get flex() { + return this[S$.$getPropertyValue]("flex"); + } + set flex(value) { + if (value == null) dart.nullFailed(I[147], 6904, 19, "value"); + this[S$.$setProperty]("flex", value, ""); + } + get flexBasis() { + return this[S$.$getPropertyValue]("flex-basis"); + } + set flexBasis(value) { + if (value == null) dart.nullFailed(I[147], 6912, 24, "value"); + this[S$.$setProperty]("flex-basis", value, ""); + } + get flexDirection() { + return this[S$.$getPropertyValue]("flex-direction"); + } + set flexDirection(value) { + if (value == null) dart.nullFailed(I[147], 6920, 28, "value"); + this[S$.$setProperty]("flex-direction", value, ""); + } + get flexFlow() { + return this[S$.$getPropertyValue]("flex-flow"); + } + set flexFlow(value) { + if (value == null) dart.nullFailed(I[147], 6928, 23, "value"); + this[S$.$setProperty]("flex-flow", value, ""); + } + get flexGrow() { + return this[S$.$getPropertyValue]("flex-grow"); + } + set flexGrow(value) { + if (value == null) dart.nullFailed(I[147], 6936, 23, "value"); + this[S$.$setProperty]("flex-grow", value, ""); + } + get flexShrink() { + return this[S$.$getPropertyValue]("flex-shrink"); + } + set flexShrink(value) { + if (value == null) dart.nullFailed(I[147], 6944, 25, "value"); + this[S$.$setProperty]("flex-shrink", value, ""); + } + get flexWrap() { + return this[S$.$getPropertyValue]("flex-wrap"); + } + set flexWrap(value) { + if (value == null) dart.nullFailed(I[147], 6952, 23, "value"); + this[S$.$setProperty]("flex-wrap", value, ""); + } + get float() { + return this[S$.$getPropertyValue]("float"); + } + set float(value) { + if (value == null) dart.nullFailed(I[147], 6960, 20, "value"); + this[S$.$setProperty]("float", value, ""); + } + get font() { + return this[S$.$getPropertyValue]("font"); + } + set font(value) { + if (value == null) dart.nullFailed(I[147], 6968, 19, "value"); + this[S$.$setProperty]("font", value, ""); + } + get fontFamily() { + return this[S$.$getPropertyValue]("font-family"); + } + set fontFamily(value) { + if (value == null) dart.nullFailed(I[147], 6976, 25, "value"); + this[S$.$setProperty]("font-family", value, ""); + } + get fontFeatureSettings() { + return this[S$.$getPropertyValue]("font-feature-settings"); + } + set fontFeatureSettings(value) { + if (value == null) dart.nullFailed(I[147], 6984, 34, "value"); + this[S$.$setProperty]("font-feature-settings", value, ""); + } + get fontKerning() { + return this[S$.$getPropertyValue]("font-kerning"); + } + set fontKerning(value) { + if (value == null) dart.nullFailed(I[147], 6992, 26, "value"); + this[S$.$setProperty]("font-kerning", value, ""); + } + get fontSize() { + return this[S$.$getPropertyValue]("font-size"); + } + set fontSize(value) { + if (value == null) dart.nullFailed(I[147], 7000, 23, "value"); + this[S$.$setProperty]("font-size", value, ""); + } + get fontSizeDelta() { + return this[S$.$getPropertyValue]("font-size-delta"); + } + set fontSizeDelta(value) { + if (value == null) dart.nullFailed(I[147], 7008, 28, "value"); + this[S$.$setProperty]("font-size-delta", value, ""); + } + get fontSmoothing() { + return this[S$.$getPropertyValue]("font-smoothing"); + } + set fontSmoothing(value) { + if (value == null) dart.nullFailed(I[147], 7016, 28, "value"); + this[S$.$setProperty]("font-smoothing", value, ""); + } + get fontStretch() { + return this[S$.$getPropertyValue]("font-stretch"); + } + set fontStretch(value) { + if (value == null) dart.nullFailed(I[147], 7024, 26, "value"); + this[S$.$setProperty]("font-stretch", value, ""); + } + get fontStyle() { + return this[S$.$getPropertyValue]("font-style"); + } + set fontStyle(value) { + if (value == null) dart.nullFailed(I[147], 7032, 24, "value"); + this[S$.$setProperty]("font-style", value, ""); + } + get fontVariant() { + return this[S$.$getPropertyValue]("font-variant"); + } + set fontVariant(value) { + if (value == null) dart.nullFailed(I[147], 7040, 26, "value"); + this[S$.$setProperty]("font-variant", value, ""); + } + get fontVariantLigatures() { + return this[S$.$getPropertyValue]("font-variant-ligatures"); + } + set fontVariantLigatures(value) { + if (value == null) dart.nullFailed(I[147], 7048, 35, "value"); + this[S$.$setProperty]("font-variant-ligatures", value, ""); + } + get fontWeight() { + return this[S$.$getPropertyValue]("font-weight"); + } + set fontWeight(value) { + if (value == null) dart.nullFailed(I[147], 7056, 25, "value"); + this[S$.$setProperty]("font-weight", value, ""); + } + get grid() { + return this[S$.$getPropertyValue]("grid"); + } + set grid(value) { + if (value == null) dart.nullFailed(I[147], 7064, 19, "value"); + this[S$.$setProperty]("grid", value, ""); + } + get gridArea() { + return this[S$.$getPropertyValue]("grid-area"); + } + set gridArea(value) { + if (value == null) dart.nullFailed(I[147], 7072, 23, "value"); + this[S$.$setProperty]("grid-area", value, ""); + } + get gridAutoColumns() { + return this[S$.$getPropertyValue]("grid-auto-columns"); + } + set gridAutoColumns(value) { + if (value == null) dart.nullFailed(I[147], 7080, 30, "value"); + this[S$.$setProperty]("grid-auto-columns", value, ""); + } + get gridAutoFlow() { + return this[S$.$getPropertyValue]("grid-auto-flow"); + } + set gridAutoFlow(value) { + if (value == null) dart.nullFailed(I[147], 7088, 27, "value"); + this[S$.$setProperty]("grid-auto-flow", value, ""); + } + get gridAutoRows() { + return this[S$.$getPropertyValue]("grid-auto-rows"); + } + set gridAutoRows(value) { + if (value == null) dart.nullFailed(I[147], 7096, 27, "value"); + this[S$.$setProperty]("grid-auto-rows", value, ""); + } + get gridColumn() { + return this[S$.$getPropertyValue]("grid-column"); + } + set gridColumn(value) { + if (value == null) dart.nullFailed(I[147], 7104, 25, "value"); + this[S$.$setProperty]("grid-column", value, ""); + } + get gridColumnEnd() { + return this[S$.$getPropertyValue]("grid-column-end"); + } + set gridColumnEnd(value) { + if (value == null) dart.nullFailed(I[147], 7112, 28, "value"); + this[S$.$setProperty]("grid-column-end", value, ""); + } + get gridColumnStart() { + return this[S$.$getPropertyValue]("grid-column-start"); + } + set gridColumnStart(value) { + if (value == null) dart.nullFailed(I[147], 7120, 30, "value"); + this[S$.$setProperty]("grid-column-start", value, ""); + } + get gridRow() { + return this[S$.$getPropertyValue]("grid-row"); + } + set gridRow(value) { + if (value == null) dart.nullFailed(I[147], 7128, 22, "value"); + this[S$.$setProperty]("grid-row", value, ""); + } + get gridRowEnd() { + return this[S$.$getPropertyValue]("grid-row-end"); + } + set gridRowEnd(value) { + if (value == null) dart.nullFailed(I[147], 7136, 25, "value"); + this[S$.$setProperty]("grid-row-end", value, ""); + } + get gridRowStart() { + return this[S$.$getPropertyValue]("grid-row-start"); + } + set gridRowStart(value) { + if (value == null) dart.nullFailed(I[147], 7144, 27, "value"); + this[S$.$setProperty]("grid-row-start", value, ""); + } + get gridTemplate() { + return this[S$.$getPropertyValue]("grid-template"); + } + set gridTemplate(value) { + if (value == null) dart.nullFailed(I[147], 7152, 27, "value"); + this[S$.$setProperty]("grid-template", value, ""); + } + get gridTemplateAreas() { + return this[S$.$getPropertyValue]("grid-template-areas"); + } + set gridTemplateAreas(value) { + if (value == null) dart.nullFailed(I[147], 7160, 32, "value"); + this[S$.$setProperty]("grid-template-areas", value, ""); + } + get gridTemplateColumns() { + return this[S$.$getPropertyValue]("grid-template-columns"); + } + set gridTemplateColumns(value) { + if (value == null) dart.nullFailed(I[147], 7168, 34, "value"); + this[S$.$setProperty]("grid-template-columns", value, ""); + } + get gridTemplateRows() { + return this[S$.$getPropertyValue]("grid-template-rows"); + } + set gridTemplateRows(value) { + if (value == null) dart.nullFailed(I[147], 7176, 31, "value"); + this[S$.$setProperty]("grid-template-rows", value, ""); + } + get height() { + return this[S$.$getPropertyValue]("height"); + } + set height(value) { + if (value == null) dart.nullFailed(I[147], 7184, 21, "value"); + this[S$.$setProperty]("height", value, ""); + } + get highlight() { + return this[S$.$getPropertyValue]("highlight"); + } + set highlight(value) { + if (value == null) dart.nullFailed(I[147], 7192, 24, "value"); + this[S$.$setProperty]("highlight", value, ""); + } + get hyphenateCharacter() { + return this[S$.$getPropertyValue]("hyphenate-character"); + } + set hyphenateCharacter(value) { + if (value == null) dart.nullFailed(I[147], 7200, 33, "value"); + this[S$.$setProperty]("hyphenate-character", value, ""); + } + get imageRendering() { + return this[S$.$getPropertyValue]("image-rendering"); + } + set imageRendering(value) { + if (value == null) dart.nullFailed(I[147], 7208, 29, "value"); + this[S$.$setProperty]("image-rendering", value, ""); + } + get isolation() { + return this[S$.$getPropertyValue]("isolation"); + } + set isolation(value) { + if (value == null) dart.nullFailed(I[147], 7216, 24, "value"); + this[S$.$setProperty]("isolation", value, ""); + } + get justifyContent() { + return this[S$.$getPropertyValue]("justify-content"); + } + set justifyContent(value) { + if (value == null) dart.nullFailed(I[147], 7224, 29, "value"); + this[S$.$setProperty]("justify-content", value, ""); + } + get justifySelf() { + return this[S$.$getPropertyValue]("justify-self"); + } + set justifySelf(value) { + if (value == null) dart.nullFailed(I[147], 7232, 26, "value"); + this[S$.$setProperty]("justify-self", value, ""); + } + get left() { + return this[S$.$getPropertyValue]("left"); + } + set left(value) { + if (value == null) dart.nullFailed(I[147], 7240, 19, "value"); + this[S$.$setProperty]("left", value, ""); + } + get letterSpacing() { + return this[S$.$getPropertyValue]("letter-spacing"); + } + set letterSpacing(value) { + if (value == null) dart.nullFailed(I[147], 7248, 28, "value"); + this[S$.$setProperty]("letter-spacing", value, ""); + } + get lineBoxContain() { + return this[S$.$getPropertyValue]("line-box-contain"); + } + set lineBoxContain(value) { + if (value == null) dart.nullFailed(I[147], 7256, 29, "value"); + this[S$.$setProperty]("line-box-contain", value, ""); + } + get lineBreak() { + return this[S$.$getPropertyValue]("line-break"); + } + set lineBreak(value) { + if (value == null) dart.nullFailed(I[147], 7264, 24, "value"); + this[S$.$setProperty]("line-break", value, ""); + } + get lineClamp() { + return this[S$.$getPropertyValue]("line-clamp"); + } + set lineClamp(value) { + if (value == null) dart.nullFailed(I[147], 7272, 24, "value"); + this[S$.$setProperty]("line-clamp", value, ""); + } + get lineHeight() { + return this[S$.$getPropertyValue]("line-height"); + } + set lineHeight(value) { + if (value == null) dart.nullFailed(I[147], 7280, 25, "value"); + this[S$.$setProperty]("line-height", value, ""); + } + get listStyle() { + return this[S$.$getPropertyValue]("list-style"); + } + set listStyle(value) { + if (value == null) dart.nullFailed(I[147], 7288, 24, "value"); + this[S$.$setProperty]("list-style", value, ""); + } + get listStyleImage() { + return this[S$.$getPropertyValue]("list-style-image"); + } + set listStyleImage(value) { + if (value == null) dart.nullFailed(I[147], 7296, 29, "value"); + this[S$.$setProperty]("list-style-image", value, ""); + } + get listStylePosition() { + return this[S$.$getPropertyValue]("list-style-position"); + } + set listStylePosition(value) { + if (value == null) dart.nullFailed(I[147], 7304, 32, "value"); + this[S$.$setProperty]("list-style-position", value, ""); + } + get listStyleType() { + return this[S$.$getPropertyValue]("list-style-type"); + } + set listStyleType(value) { + if (value == null) dart.nullFailed(I[147], 7312, 28, "value"); + this[S$.$setProperty]("list-style-type", value, ""); + } + get locale() { + return this[S$.$getPropertyValue]("locale"); + } + set locale(value) { + if (value == null) dart.nullFailed(I[147], 7320, 21, "value"); + this[S$.$setProperty]("locale", value, ""); + } + get logicalHeight() { + return this[S$.$getPropertyValue]("logical-height"); + } + set logicalHeight(value) { + if (value == null) dart.nullFailed(I[147], 7328, 28, "value"); + this[S$.$setProperty]("logical-height", value, ""); + } + get logicalWidth() { + return this[S$.$getPropertyValue]("logical-width"); + } + set logicalWidth(value) { + if (value == null) dart.nullFailed(I[147], 7336, 27, "value"); + this[S$.$setProperty]("logical-width", value, ""); + } + get margin() { + return this[S$.$getPropertyValue]("margin"); + } + set margin(value) { + if (value == null) dart.nullFailed(I[147], 7344, 21, "value"); + this[S$.$setProperty]("margin", value, ""); + } + get marginAfter() { + return this[S$.$getPropertyValue]("margin-after"); + } + set marginAfter(value) { + if (value == null) dart.nullFailed(I[147], 7352, 26, "value"); + this[S$.$setProperty]("margin-after", value, ""); + } + get marginAfterCollapse() { + return this[S$.$getPropertyValue]("margin-after-collapse"); + } + set marginAfterCollapse(value) { + if (value == null) dart.nullFailed(I[147], 7360, 34, "value"); + this[S$.$setProperty]("margin-after-collapse", value, ""); + } + get marginBefore() { + return this[S$.$getPropertyValue]("margin-before"); + } + set marginBefore(value) { + if (value == null) dart.nullFailed(I[147], 7368, 27, "value"); + this[S$.$setProperty]("margin-before", value, ""); + } + get marginBeforeCollapse() { + return this[S$.$getPropertyValue]("margin-before-collapse"); + } + set marginBeforeCollapse(value) { + if (value == null) dart.nullFailed(I[147], 7376, 35, "value"); + this[S$.$setProperty]("margin-before-collapse", value, ""); + } + get marginBottom() { + return this[S$.$getPropertyValue]("margin-bottom"); + } + set marginBottom(value) { + if (value == null) dart.nullFailed(I[147], 7384, 27, "value"); + this[S$.$setProperty]("margin-bottom", value, ""); + } + get marginBottomCollapse() { + return this[S$.$getPropertyValue]("margin-bottom-collapse"); + } + set marginBottomCollapse(value) { + if (value == null) dart.nullFailed(I[147], 7392, 35, "value"); + this[S$.$setProperty]("margin-bottom-collapse", value, ""); + } + get marginCollapse() { + return this[S$.$getPropertyValue]("margin-collapse"); + } + set marginCollapse(value) { + if (value == null) dart.nullFailed(I[147], 7400, 29, "value"); + this[S$.$setProperty]("margin-collapse", value, ""); + } + get marginEnd() { + return this[S$.$getPropertyValue]("margin-end"); + } + set marginEnd(value) { + if (value == null) dart.nullFailed(I[147], 7408, 24, "value"); + this[S$.$setProperty]("margin-end", value, ""); + } + get marginLeft() { + return this[S$.$getPropertyValue]("margin-left"); + } + set marginLeft(value) { + if (value == null) dart.nullFailed(I[147], 7416, 25, "value"); + this[S$.$setProperty]("margin-left", value, ""); + } + get marginRight() { + return this[S$.$getPropertyValue]("margin-right"); + } + set marginRight(value) { + if (value == null) dart.nullFailed(I[147], 7424, 26, "value"); + this[S$.$setProperty]("margin-right", value, ""); + } + get marginStart() { + return this[S$.$getPropertyValue]("margin-start"); + } + set marginStart(value) { + if (value == null) dart.nullFailed(I[147], 7432, 26, "value"); + this[S$.$setProperty]("margin-start", value, ""); + } + get marginTop() { + return this[S$.$getPropertyValue]("margin-top"); + } + set marginTop(value) { + if (value == null) dart.nullFailed(I[147], 7440, 24, "value"); + this[S$.$setProperty]("margin-top", value, ""); + } + get marginTopCollapse() { + return this[S$.$getPropertyValue]("margin-top-collapse"); + } + set marginTopCollapse(value) { + if (value == null) dart.nullFailed(I[147], 7448, 32, "value"); + this[S$.$setProperty]("margin-top-collapse", value, ""); + } + get mask() { + return this[S$.$getPropertyValue]("mask"); + } + set mask(value) { + if (value == null) dart.nullFailed(I[147], 7456, 19, "value"); + this[S$.$setProperty]("mask", value, ""); + } + get maskBoxImage() { + return this[S$.$getPropertyValue]("mask-box-image"); + } + set maskBoxImage(value) { + if (value == null) dart.nullFailed(I[147], 7464, 27, "value"); + this[S$.$setProperty]("mask-box-image", value, ""); + } + get maskBoxImageOutset() { + return this[S$.$getPropertyValue]("mask-box-image-outset"); + } + set maskBoxImageOutset(value) { + if (value == null) dart.nullFailed(I[147], 7472, 33, "value"); + this[S$.$setProperty]("mask-box-image-outset", value, ""); + } + get maskBoxImageRepeat() { + return this[S$.$getPropertyValue]("mask-box-image-repeat"); + } + set maskBoxImageRepeat(value) { + if (value == null) dart.nullFailed(I[147], 7480, 33, "value"); + this[S$.$setProperty]("mask-box-image-repeat", value, ""); + } + get maskBoxImageSlice() { + return this[S$.$getPropertyValue]("mask-box-image-slice"); + } + set maskBoxImageSlice(value) { + if (value == null) dart.nullFailed(I[147], 7488, 32, "value"); + this[S$.$setProperty]("mask-box-image-slice", value, ""); + } + get maskBoxImageSource() { + return this[S$.$getPropertyValue]("mask-box-image-source"); + } + set maskBoxImageSource(value) { + if (value == null) dart.nullFailed(I[147], 7496, 33, "value"); + this[S$.$setProperty]("mask-box-image-source", value, ""); + } + get maskBoxImageWidth() { + return this[S$.$getPropertyValue]("mask-box-image-width"); + } + set maskBoxImageWidth(value) { + if (value == null) dart.nullFailed(I[147], 7504, 32, "value"); + this[S$.$setProperty]("mask-box-image-width", value, ""); + } + get maskClip() { + return this[S$.$getPropertyValue]("mask-clip"); + } + set maskClip(value) { + if (value == null) dart.nullFailed(I[147], 7512, 23, "value"); + this[S$.$setProperty]("mask-clip", value, ""); + } + get maskComposite() { + return this[S$.$getPropertyValue]("mask-composite"); + } + set maskComposite(value) { + if (value == null) dart.nullFailed(I[147], 7520, 28, "value"); + this[S$.$setProperty]("mask-composite", value, ""); + } + get maskImage() { + return this[S$.$getPropertyValue]("mask-image"); + } + set maskImage(value) { + if (value == null) dart.nullFailed(I[147], 7528, 24, "value"); + this[S$.$setProperty]("mask-image", value, ""); + } + get maskOrigin() { + return this[S$.$getPropertyValue]("mask-origin"); + } + set maskOrigin(value) { + if (value == null) dart.nullFailed(I[147], 7536, 25, "value"); + this[S$.$setProperty]("mask-origin", value, ""); + } + get maskPosition() { + return this[S$.$getPropertyValue]("mask-position"); + } + set maskPosition(value) { + if (value == null) dart.nullFailed(I[147], 7544, 27, "value"); + this[S$.$setProperty]("mask-position", value, ""); + } + get maskPositionX() { + return this[S$.$getPropertyValue]("mask-position-x"); + } + set maskPositionX(value) { + if (value == null) dart.nullFailed(I[147], 7552, 28, "value"); + this[S$.$setProperty]("mask-position-x", value, ""); + } + get maskPositionY() { + return this[S$.$getPropertyValue]("mask-position-y"); + } + set maskPositionY(value) { + if (value == null) dart.nullFailed(I[147], 7560, 28, "value"); + this[S$.$setProperty]("mask-position-y", value, ""); + } + get maskRepeat() { + return this[S$.$getPropertyValue]("mask-repeat"); + } + set maskRepeat(value) { + if (value == null) dart.nullFailed(I[147], 7568, 25, "value"); + this[S$.$setProperty]("mask-repeat", value, ""); + } + get maskRepeatX() { + return this[S$.$getPropertyValue]("mask-repeat-x"); + } + set maskRepeatX(value) { + if (value == null) dart.nullFailed(I[147], 7576, 26, "value"); + this[S$.$setProperty]("mask-repeat-x", value, ""); + } + get maskRepeatY() { + return this[S$.$getPropertyValue]("mask-repeat-y"); + } + set maskRepeatY(value) { + if (value == null) dart.nullFailed(I[147], 7584, 26, "value"); + this[S$.$setProperty]("mask-repeat-y", value, ""); + } + get maskSize() { + return this[S$.$getPropertyValue]("mask-size"); + } + set maskSize(value) { + if (value == null) dart.nullFailed(I[147], 7592, 23, "value"); + this[S$.$setProperty]("mask-size", value, ""); + } + get maskSourceType() { + return this[S$.$getPropertyValue]("mask-source-type"); + } + set maskSourceType(value) { + if (value == null) dart.nullFailed(I[147], 7600, 29, "value"); + this[S$.$setProperty]("mask-source-type", value, ""); + } + get maxHeight() { + return this[S$.$getPropertyValue]("max-height"); + } + set maxHeight(value) { + if (value == null) dart.nullFailed(I[147], 7608, 24, "value"); + this[S$.$setProperty]("max-height", value, ""); + } + get maxLogicalHeight() { + return this[S$.$getPropertyValue]("max-logical-height"); + } + set maxLogicalHeight(value) { + if (value == null) dart.nullFailed(I[147], 7616, 31, "value"); + this[S$.$setProperty]("max-logical-height", value, ""); + } + get maxLogicalWidth() { + return this[S$.$getPropertyValue]("max-logical-width"); + } + set maxLogicalWidth(value) { + if (value == null) dart.nullFailed(I[147], 7624, 30, "value"); + this[S$.$setProperty]("max-logical-width", value, ""); + } + get maxWidth() { + return this[S$.$getPropertyValue]("max-width"); + } + set maxWidth(value) { + if (value == null) dart.nullFailed(I[147], 7632, 23, "value"); + this[S$.$setProperty]("max-width", value, ""); + } + get maxZoom() { + return this[S$.$getPropertyValue]("max-zoom"); + } + set maxZoom(value) { + if (value == null) dart.nullFailed(I[147], 7640, 22, "value"); + this[S$.$setProperty]("max-zoom", value, ""); + } + get minHeight() { + return this[S$.$getPropertyValue]("min-height"); + } + set minHeight(value) { + if (value == null) dart.nullFailed(I[147], 7648, 24, "value"); + this[S$.$setProperty]("min-height", value, ""); + } + get minLogicalHeight() { + return this[S$.$getPropertyValue]("min-logical-height"); + } + set minLogicalHeight(value) { + if (value == null) dart.nullFailed(I[147], 7656, 31, "value"); + this[S$.$setProperty]("min-logical-height", value, ""); + } + get minLogicalWidth() { + return this[S$.$getPropertyValue]("min-logical-width"); + } + set minLogicalWidth(value) { + if (value == null) dart.nullFailed(I[147], 7664, 30, "value"); + this[S$.$setProperty]("min-logical-width", value, ""); + } + get minWidth() { + return this[S$.$getPropertyValue]("min-width"); + } + set minWidth(value) { + if (value == null) dart.nullFailed(I[147], 7672, 23, "value"); + this[S$.$setProperty]("min-width", value, ""); + } + get minZoom() { + return this[S$.$getPropertyValue]("min-zoom"); + } + set minZoom(value) { + if (value == null) dart.nullFailed(I[147], 7680, 22, "value"); + this[S$.$setProperty]("min-zoom", value, ""); + } + get mixBlendMode() { + return this[S$.$getPropertyValue]("mix-blend-mode"); + } + set mixBlendMode(value) { + if (value == null) dart.nullFailed(I[147], 7688, 27, "value"); + this[S$.$setProperty]("mix-blend-mode", value, ""); + } + get objectFit() { + return this[S$.$getPropertyValue]("object-fit"); + } + set objectFit(value) { + if (value == null) dart.nullFailed(I[147], 7696, 24, "value"); + this[S$.$setProperty]("object-fit", value, ""); + } + get objectPosition() { + return this[S$.$getPropertyValue]("object-position"); + } + set objectPosition(value) { + if (value == null) dart.nullFailed(I[147], 7704, 29, "value"); + this[S$.$setProperty]("object-position", value, ""); + } + get opacity() { + return this[S$.$getPropertyValue]("opacity"); + } + set opacity(value) { + if (value == null) dart.nullFailed(I[147], 7712, 22, "value"); + this[S$.$setProperty]("opacity", value, ""); + } + get order() { + return this[S$.$getPropertyValue]("order"); + } + set order(value) { + if (value == null) dart.nullFailed(I[147], 7720, 20, "value"); + this[S$.$setProperty]("order", value, ""); + } + get orientation() { + return this[S$.$getPropertyValue]("orientation"); + } + set orientation(value) { + if (value == null) dart.nullFailed(I[147], 7728, 26, "value"); + this[S$.$setProperty]("orientation", value, ""); + } + get orphans() { + return this[S$.$getPropertyValue]("orphans"); + } + set orphans(value) { + if (value == null) dart.nullFailed(I[147], 7736, 22, "value"); + this[S$.$setProperty]("orphans", value, ""); + } + get outline() { + return this[S$.$getPropertyValue]("outline"); + } + set outline(value) { + if (value == null) dart.nullFailed(I[147], 7744, 22, "value"); + this[S$.$setProperty]("outline", value, ""); + } + get outlineColor() { + return this[S$.$getPropertyValue]("outline-color"); + } + set outlineColor(value) { + if (value == null) dart.nullFailed(I[147], 7752, 27, "value"); + this[S$.$setProperty]("outline-color", value, ""); + } + get outlineOffset() { + return this[S$.$getPropertyValue]("outline-offset"); + } + set outlineOffset(value) { + if (value == null) dart.nullFailed(I[147], 7760, 28, "value"); + this[S$.$setProperty]("outline-offset", value, ""); + } + get outlineStyle() { + return this[S$.$getPropertyValue]("outline-style"); + } + set outlineStyle(value) { + if (value == null) dart.nullFailed(I[147], 7768, 27, "value"); + this[S$.$setProperty]("outline-style", value, ""); + } + get outlineWidth() { + return this[S$.$getPropertyValue]("outline-width"); + } + set outlineWidth(value) { + if (value == null) dart.nullFailed(I[147], 7776, 27, "value"); + this[S$.$setProperty]("outline-width", value, ""); + } + get overflow() { + return this[S$.$getPropertyValue]("overflow"); + } + set overflow(value) { + if (value == null) dart.nullFailed(I[147], 7784, 23, "value"); + this[S$.$setProperty]("overflow", value, ""); + } + get overflowWrap() { + return this[S$.$getPropertyValue]("overflow-wrap"); + } + set overflowWrap(value) { + if (value == null) dart.nullFailed(I[147], 7792, 27, "value"); + this[S$.$setProperty]("overflow-wrap", value, ""); + } + get overflowX() { + return this[S$.$getPropertyValue]("overflow-x"); + } + set overflowX(value) { + if (value == null) dart.nullFailed(I[147], 7800, 24, "value"); + this[S$.$setProperty]("overflow-x", value, ""); + } + get overflowY() { + return this[S$.$getPropertyValue]("overflow-y"); + } + set overflowY(value) { + if (value == null) dart.nullFailed(I[147], 7808, 24, "value"); + this[S$.$setProperty]("overflow-y", value, ""); + } + get padding() { + return this[S$.$getPropertyValue]("padding"); + } + set padding(value) { + if (value == null) dart.nullFailed(I[147], 7816, 22, "value"); + this[S$.$setProperty]("padding", value, ""); + } + get paddingAfter() { + return this[S$.$getPropertyValue]("padding-after"); + } + set paddingAfter(value) { + if (value == null) dart.nullFailed(I[147], 7824, 27, "value"); + this[S$.$setProperty]("padding-after", value, ""); + } + get paddingBefore() { + return this[S$.$getPropertyValue]("padding-before"); + } + set paddingBefore(value) { + if (value == null) dart.nullFailed(I[147], 7832, 28, "value"); + this[S$.$setProperty]("padding-before", value, ""); + } + get paddingBottom() { + return this[S$.$getPropertyValue]("padding-bottom"); + } + set paddingBottom(value) { + if (value == null) dart.nullFailed(I[147], 7840, 28, "value"); + this[S$.$setProperty]("padding-bottom", value, ""); + } + get paddingEnd() { + return this[S$.$getPropertyValue]("padding-end"); + } + set paddingEnd(value) { + if (value == null) dart.nullFailed(I[147], 7848, 25, "value"); + this[S$.$setProperty]("padding-end", value, ""); + } + get paddingLeft() { + return this[S$.$getPropertyValue]("padding-left"); + } + set paddingLeft(value) { + if (value == null) dart.nullFailed(I[147], 7856, 26, "value"); + this[S$.$setProperty]("padding-left", value, ""); + } + get paddingRight() { + return this[S$.$getPropertyValue]("padding-right"); + } + set paddingRight(value) { + if (value == null) dart.nullFailed(I[147], 7864, 27, "value"); + this[S$.$setProperty]("padding-right", value, ""); + } + get paddingStart() { + return this[S$.$getPropertyValue]("padding-start"); + } + set paddingStart(value) { + if (value == null) dart.nullFailed(I[147], 7872, 27, "value"); + this[S$.$setProperty]("padding-start", value, ""); + } + get paddingTop() { + return this[S$.$getPropertyValue]("padding-top"); + } + set paddingTop(value) { + if (value == null) dart.nullFailed(I[147], 7880, 25, "value"); + this[S$.$setProperty]("padding-top", value, ""); + } + get page() { + return this[S$.$getPropertyValue]("page"); + } + set page(value) { + if (value == null) dart.nullFailed(I[147], 7888, 19, "value"); + this[S$.$setProperty]("page", value, ""); + } + get pageBreakAfter() { + return this[S$.$getPropertyValue]("page-break-after"); + } + set pageBreakAfter(value) { + if (value == null) dart.nullFailed(I[147], 7896, 29, "value"); + this[S$.$setProperty]("page-break-after", value, ""); + } + get pageBreakBefore() { + return this[S$.$getPropertyValue]("page-break-before"); + } + set pageBreakBefore(value) { + if (value == null) dart.nullFailed(I[147], 7904, 30, "value"); + this[S$.$setProperty]("page-break-before", value, ""); + } + get pageBreakInside() { + return this[S$.$getPropertyValue]("page-break-inside"); + } + set pageBreakInside(value) { + if (value == null) dart.nullFailed(I[147], 7912, 30, "value"); + this[S$.$setProperty]("page-break-inside", value, ""); + } + get perspective() { + return this[S$.$getPropertyValue]("perspective"); + } + set perspective(value) { + if (value == null) dart.nullFailed(I[147], 7920, 26, "value"); + this[S$.$setProperty]("perspective", value, ""); + } + get perspectiveOrigin() { + return this[S$.$getPropertyValue]("perspective-origin"); + } + set perspectiveOrigin(value) { + if (value == null) dart.nullFailed(I[147], 7928, 32, "value"); + this[S$.$setProperty]("perspective-origin", value, ""); + } + get perspectiveOriginX() { + return this[S$.$getPropertyValue]("perspective-origin-x"); + } + set perspectiveOriginX(value) { + if (value == null) dart.nullFailed(I[147], 7936, 33, "value"); + this[S$.$setProperty]("perspective-origin-x", value, ""); + } + get perspectiveOriginY() { + return this[S$.$getPropertyValue]("perspective-origin-y"); + } + set perspectiveOriginY(value) { + if (value == null) dart.nullFailed(I[147], 7944, 33, "value"); + this[S$.$setProperty]("perspective-origin-y", value, ""); + } + get pointerEvents() { + return this[S$.$getPropertyValue]("pointer-events"); + } + set pointerEvents(value) { + if (value == null) dart.nullFailed(I[147], 7952, 28, "value"); + this[S$.$setProperty]("pointer-events", value, ""); + } + get position() { + return this[S$.$getPropertyValue]("position"); + } + set position(value) { + if (value == null) dart.nullFailed(I[147], 7960, 23, "value"); + this[S$.$setProperty]("position", value, ""); + } + get printColorAdjust() { + return this[S$.$getPropertyValue]("print-color-adjust"); + } + set printColorAdjust(value) { + if (value == null) dart.nullFailed(I[147], 7968, 31, "value"); + this[S$.$setProperty]("print-color-adjust", value, ""); + } + get quotes() { + return this[S$.$getPropertyValue]("quotes"); + } + set quotes(value) { + if (value == null) dart.nullFailed(I[147], 7976, 21, "value"); + this[S$.$setProperty]("quotes", value, ""); + } + get resize() { + return this[S$.$getPropertyValue]("resize"); + } + set resize(value) { + if (value == null) dart.nullFailed(I[147], 7984, 21, "value"); + this[S$.$setProperty]("resize", value, ""); + } + get right() { + return this[S$.$getPropertyValue]("right"); + } + set right(value) { + if (value == null) dart.nullFailed(I[147], 7992, 20, "value"); + this[S$.$setProperty]("right", value, ""); + } + get rtlOrdering() { + return this[S$.$getPropertyValue]("rtl-ordering"); + } + set rtlOrdering(value) { + if (value == null) dart.nullFailed(I[147], 8000, 26, "value"); + this[S$.$setProperty]("rtl-ordering", value, ""); + } + get rubyPosition() { + return this[S$.$getPropertyValue]("ruby-position"); + } + set rubyPosition(value) { + if (value == null) dart.nullFailed(I[147], 8008, 27, "value"); + this[S$.$setProperty]("ruby-position", value, ""); + } + get scrollBehavior() { + return this[S$.$getPropertyValue]("scroll-behavior"); + } + set scrollBehavior(value) { + if (value == null) dart.nullFailed(I[147], 8016, 29, "value"); + this[S$.$setProperty]("scroll-behavior", value, ""); + } + get shapeImageThreshold() { + return this[S$.$getPropertyValue]("shape-image-threshold"); + } + set shapeImageThreshold(value) { + if (value == null) dart.nullFailed(I[147], 8024, 34, "value"); + this[S$.$setProperty]("shape-image-threshold", value, ""); + } + get shapeMargin() { + return this[S$.$getPropertyValue]("shape-margin"); + } + set shapeMargin(value) { + if (value == null) dart.nullFailed(I[147], 8032, 26, "value"); + this[S$.$setProperty]("shape-margin", value, ""); + } + get shapeOutside() { + return this[S$.$getPropertyValue]("shape-outside"); + } + set shapeOutside(value) { + if (value == null) dart.nullFailed(I[147], 8040, 27, "value"); + this[S$.$setProperty]("shape-outside", value, ""); + } + get size() { + return this[S$.$getPropertyValue]("size"); + } + set size(value) { + if (value == null) dart.nullFailed(I[147], 8048, 19, "value"); + this[S$.$setProperty]("size", value, ""); + } + get speak() { + return this[S$.$getPropertyValue]("speak"); + } + set speak(value) { + if (value == null) dart.nullFailed(I[147], 8056, 20, "value"); + this[S$.$setProperty]("speak", value, ""); + } + get src() { + return this[S$.$getPropertyValue]("src"); + } + set src(value) { + if (value == null) dart.nullFailed(I[147], 8064, 18, "value"); + this[S$.$setProperty]("src", value, ""); + } + get tabSize() { + return this[S$.$getPropertyValue]("tab-size"); + } + set tabSize(value) { + if (value == null) dart.nullFailed(I[147], 8072, 22, "value"); + this[S$.$setProperty]("tab-size", value, ""); + } + get tableLayout() { + return this[S$.$getPropertyValue]("table-layout"); + } + set tableLayout(value) { + if (value == null) dart.nullFailed(I[147], 8080, 26, "value"); + this[S$.$setProperty]("table-layout", value, ""); + } + get tapHighlightColor() { + return this[S$.$getPropertyValue]("tap-highlight-color"); + } + set tapHighlightColor(value) { + if (value == null) dart.nullFailed(I[147], 8088, 32, "value"); + this[S$.$setProperty]("tap-highlight-color", value, ""); + } + get textAlign() { + return this[S$.$getPropertyValue]("text-align"); + } + set textAlign(value) { + if (value == null) dart.nullFailed(I[147], 8096, 24, "value"); + this[S$.$setProperty]("text-align", value, ""); + } + get textAlignLast() { + return this[S$.$getPropertyValue]("text-align-last"); + } + set textAlignLast(value) { + if (value == null) dart.nullFailed(I[147], 8104, 28, "value"); + this[S$.$setProperty]("text-align-last", value, ""); + } + get textCombine() { + return this[S$.$getPropertyValue]("text-combine"); + } + set textCombine(value) { + if (value == null) dart.nullFailed(I[147], 8112, 26, "value"); + this[S$.$setProperty]("text-combine", value, ""); + } + get textDecoration() { + return this[S$.$getPropertyValue]("text-decoration"); + } + set textDecoration(value) { + if (value == null) dart.nullFailed(I[147], 8120, 29, "value"); + this[S$.$setProperty]("text-decoration", value, ""); + } + get textDecorationColor() { + return this[S$.$getPropertyValue]("text-decoration-color"); + } + set textDecorationColor(value) { + if (value == null) dart.nullFailed(I[147], 8128, 34, "value"); + this[S$.$setProperty]("text-decoration-color", value, ""); + } + get textDecorationLine() { + return this[S$.$getPropertyValue]("text-decoration-line"); + } + set textDecorationLine(value) { + if (value == null) dart.nullFailed(I[147], 8136, 33, "value"); + this[S$.$setProperty]("text-decoration-line", value, ""); + } + get textDecorationStyle() { + return this[S$.$getPropertyValue]("text-decoration-style"); + } + set textDecorationStyle(value) { + if (value == null) dart.nullFailed(I[147], 8144, 34, "value"); + this[S$.$setProperty]("text-decoration-style", value, ""); + } + get textDecorationsInEffect() { + return this[S$.$getPropertyValue]("text-decorations-in-effect"); + } + set textDecorationsInEffect(value) { + if (value == null) dart.nullFailed(I[147], 8153, 38, "value"); + this[S$.$setProperty]("text-decorations-in-effect", value, ""); + } + get textEmphasis() { + return this[S$.$getPropertyValue]("text-emphasis"); + } + set textEmphasis(value) { + if (value == null) dart.nullFailed(I[147], 8161, 27, "value"); + this[S$.$setProperty]("text-emphasis", value, ""); + } + get textEmphasisColor() { + return this[S$.$getPropertyValue]("text-emphasis-color"); + } + set textEmphasisColor(value) { + if (value == null) dart.nullFailed(I[147], 8169, 32, "value"); + this[S$.$setProperty]("text-emphasis-color", value, ""); + } + get textEmphasisPosition() { + return this[S$.$getPropertyValue]("text-emphasis-position"); + } + set textEmphasisPosition(value) { + if (value == null) dart.nullFailed(I[147], 8177, 35, "value"); + this[S$.$setProperty]("text-emphasis-position", value, ""); + } + get textEmphasisStyle() { + return this[S$.$getPropertyValue]("text-emphasis-style"); + } + set textEmphasisStyle(value) { + if (value == null) dart.nullFailed(I[147], 8185, 32, "value"); + this[S$.$setProperty]("text-emphasis-style", value, ""); + } + get textFillColor() { + return this[S$.$getPropertyValue]("text-fill-color"); + } + set textFillColor(value) { + if (value == null) dart.nullFailed(I[147], 8193, 28, "value"); + this[S$.$setProperty]("text-fill-color", value, ""); + } + get textIndent() { + return this[S$.$getPropertyValue]("text-indent"); + } + set textIndent(value) { + if (value == null) dart.nullFailed(I[147], 8201, 25, "value"); + this[S$.$setProperty]("text-indent", value, ""); + } + get textJustify() { + return this[S$.$getPropertyValue]("text-justify"); + } + set textJustify(value) { + if (value == null) dart.nullFailed(I[147], 8209, 26, "value"); + this[S$.$setProperty]("text-justify", value, ""); + } + get textLineThroughColor() { + return this[S$.$getPropertyValue]("text-line-through-color"); + } + set textLineThroughColor(value) { + if (value == null) dart.nullFailed(I[147], 8218, 35, "value"); + this[S$.$setProperty]("text-line-through-color", value, ""); + } + get textLineThroughMode() { + return this[S$.$getPropertyValue]("text-line-through-mode"); + } + set textLineThroughMode(value) { + if (value == null) dart.nullFailed(I[147], 8226, 34, "value"); + this[S$.$setProperty]("text-line-through-mode", value, ""); + } + get textLineThroughStyle() { + return this[S$.$getPropertyValue]("text-line-through-style"); + } + set textLineThroughStyle(value) { + if (value == null) dart.nullFailed(I[147], 8235, 35, "value"); + this[S$.$setProperty]("text-line-through-style", value, ""); + } + get textLineThroughWidth() { + return this[S$.$getPropertyValue]("text-line-through-width"); + } + set textLineThroughWidth(value) { + if (value == null) dart.nullFailed(I[147], 8244, 35, "value"); + this[S$.$setProperty]("text-line-through-width", value, ""); + } + get textOrientation() { + return this[S$.$getPropertyValue]("text-orientation"); + } + set textOrientation(value) { + if (value == null) dart.nullFailed(I[147], 8252, 30, "value"); + this[S$.$setProperty]("text-orientation", value, ""); + } + get textOverflow() { + return this[S$.$getPropertyValue]("text-overflow"); + } + set textOverflow(value) { + if (value == null) dart.nullFailed(I[147], 8260, 27, "value"); + this[S$.$setProperty]("text-overflow", value, ""); + } + get textOverlineColor() { + return this[S$.$getPropertyValue]("text-overline-color"); + } + set textOverlineColor(value) { + if (value == null) dart.nullFailed(I[147], 8268, 32, "value"); + this[S$.$setProperty]("text-overline-color", value, ""); + } + get textOverlineMode() { + return this[S$.$getPropertyValue]("text-overline-mode"); + } + set textOverlineMode(value) { + if (value == null) dart.nullFailed(I[147], 8276, 31, "value"); + this[S$.$setProperty]("text-overline-mode", value, ""); + } + get textOverlineStyle() { + return this[S$.$getPropertyValue]("text-overline-style"); + } + set textOverlineStyle(value) { + if (value == null) dart.nullFailed(I[147], 8284, 32, "value"); + this[S$.$setProperty]("text-overline-style", value, ""); + } + get textOverlineWidth() { + return this[S$.$getPropertyValue]("text-overline-width"); + } + set textOverlineWidth(value) { + if (value == null) dart.nullFailed(I[147], 8292, 32, "value"); + this[S$.$setProperty]("text-overline-width", value, ""); + } + get textRendering() { + return this[S$.$getPropertyValue]("text-rendering"); + } + set textRendering(value) { + if (value == null) dart.nullFailed(I[147], 8300, 28, "value"); + this[S$.$setProperty]("text-rendering", value, ""); + } + get textSecurity() { + return this[S$.$getPropertyValue]("text-security"); + } + set textSecurity(value) { + if (value == null) dart.nullFailed(I[147], 8308, 27, "value"); + this[S$.$setProperty]("text-security", value, ""); + } + get textShadow() { + return this[S$.$getPropertyValue]("text-shadow"); + } + set textShadow(value) { + if (value == null) dart.nullFailed(I[147], 8316, 25, "value"); + this[S$.$setProperty]("text-shadow", value, ""); + } + get textStroke() { + return this[S$.$getPropertyValue]("text-stroke"); + } + set textStroke(value) { + if (value == null) dart.nullFailed(I[147], 8324, 25, "value"); + this[S$.$setProperty]("text-stroke", value, ""); + } + get textStrokeColor() { + return this[S$.$getPropertyValue]("text-stroke-color"); + } + set textStrokeColor(value) { + if (value == null) dart.nullFailed(I[147], 8332, 30, "value"); + this[S$.$setProperty]("text-stroke-color", value, ""); + } + get textStrokeWidth() { + return this[S$.$getPropertyValue]("text-stroke-width"); + } + set textStrokeWidth(value) { + if (value == null) dart.nullFailed(I[147], 8340, 30, "value"); + this[S$.$setProperty]("text-stroke-width", value, ""); + } + get textTransform() { + return this[S$.$getPropertyValue]("text-transform"); + } + set textTransform(value) { + if (value == null) dart.nullFailed(I[147], 8348, 28, "value"); + this[S$.$setProperty]("text-transform", value, ""); + } + get textUnderlineColor() { + return this[S$.$getPropertyValue]("text-underline-color"); + } + set textUnderlineColor(value) { + if (value == null) dart.nullFailed(I[147], 8356, 33, "value"); + this[S$.$setProperty]("text-underline-color", value, ""); + } + get textUnderlineMode() { + return this[S$.$getPropertyValue]("text-underline-mode"); + } + set textUnderlineMode(value) { + if (value == null) dart.nullFailed(I[147], 8364, 32, "value"); + this[S$.$setProperty]("text-underline-mode", value, ""); + } + get textUnderlinePosition() { + return this[S$.$getPropertyValue]("text-underline-position"); + } + set textUnderlinePosition(value) { + if (value == null) dart.nullFailed(I[147], 8373, 36, "value"); + this[S$.$setProperty]("text-underline-position", value, ""); + } + get textUnderlineStyle() { + return this[S$.$getPropertyValue]("text-underline-style"); + } + set textUnderlineStyle(value) { + if (value == null) dart.nullFailed(I[147], 8381, 33, "value"); + this[S$.$setProperty]("text-underline-style", value, ""); + } + get textUnderlineWidth() { + return this[S$.$getPropertyValue]("text-underline-width"); + } + set textUnderlineWidth(value) { + if (value == null) dart.nullFailed(I[147], 8389, 33, "value"); + this[S$.$setProperty]("text-underline-width", value, ""); + } + get top() { + return this[S$.$getPropertyValue]("top"); + } + set top(value) { + if (value == null) dart.nullFailed(I[147], 8397, 18, "value"); + this[S$.$setProperty]("top", value, ""); + } + get touchAction() { + return this[S$.$getPropertyValue]("touch-action"); + } + set touchAction(value) { + if (value == null) dart.nullFailed(I[147], 8405, 26, "value"); + this[S$.$setProperty]("touch-action", value, ""); + } + get touchActionDelay() { + return this[S$.$getPropertyValue]("touch-action-delay"); + } + set touchActionDelay(value) { + if (value == null) dart.nullFailed(I[147], 8413, 31, "value"); + this[S$.$setProperty]("touch-action-delay", value, ""); + } + get transform() { + return this[S$.$getPropertyValue]("transform"); + } + set transform(value) { + if (value == null) dart.nullFailed(I[147], 8421, 24, "value"); + this[S$.$setProperty]("transform", value, ""); + } + get transformOrigin() { + return this[S$.$getPropertyValue]("transform-origin"); + } + set transformOrigin(value) { + if (value == null) dart.nullFailed(I[147], 8429, 30, "value"); + this[S$.$setProperty]("transform-origin", value, ""); + } + get transformOriginX() { + return this[S$.$getPropertyValue]("transform-origin-x"); + } + set transformOriginX(value) { + if (value == null) dart.nullFailed(I[147], 8437, 31, "value"); + this[S$.$setProperty]("transform-origin-x", value, ""); + } + get transformOriginY() { + return this[S$.$getPropertyValue]("transform-origin-y"); + } + set transformOriginY(value) { + if (value == null) dart.nullFailed(I[147], 8445, 31, "value"); + this[S$.$setProperty]("transform-origin-y", value, ""); + } + get transformOriginZ() { + return this[S$.$getPropertyValue]("transform-origin-z"); + } + set transformOriginZ(value) { + if (value == null) dart.nullFailed(I[147], 8453, 31, "value"); + this[S$.$setProperty]("transform-origin-z", value, ""); + } + get transformStyle() { + return this[S$.$getPropertyValue]("transform-style"); + } + set transformStyle(value) { + if (value == null) dart.nullFailed(I[147], 8461, 29, "value"); + this[S$.$setProperty]("transform-style", value, ""); + } + get transition() { + return this[S$.$getPropertyValue]("transition"); + } + set transition(value) { + if (value == null) dart.nullFailed(I[147], 8477, 25, "value"); + this[S$.$setProperty]("transition", value, ""); + } + get transitionDelay() { + return this[S$.$getPropertyValue]("transition-delay"); + } + set transitionDelay(value) { + if (value == null) dart.nullFailed(I[147], 8485, 30, "value"); + this[S$.$setProperty]("transition-delay", value, ""); + } + get transitionDuration() { + return this[S$.$getPropertyValue]("transition-duration"); + } + set transitionDuration(value) { + if (value == null) dart.nullFailed(I[147], 8493, 33, "value"); + this[S$.$setProperty]("transition-duration", value, ""); + } + get transitionProperty() { + return this[S$.$getPropertyValue]("transition-property"); + } + set transitionProperty(value) { + if (value == null) dart.nullFailed(I[147], 8501, 33, "value"); + this[S$.$setProperty]("transition-property", value, ""); + } + get transitionTimingFunction() { + return this[S$.$getPropertyValue]("transition-timing-function"); + } + set transitionTimingFunction(value) { + if (value == null) dart.nullFailed(I[147], 8510, 39, "value"); + this[S$.$setProperty]("transition-timing-function", value, ""); + } + get unicodeBidi() { + return this[S$.$getPropertyValue]("unicode-bidi"); + } + set unicodeBidi(value) { + if (value == null) dart.nullFailed(I[147], 8518, 26, "value"); + this[S$.$setProperty]("unicode-bidi", value, ""); + } + get unicodeRange() { + return this[S$.$getPropertyValue]("unicode-range"); + } + set unicodeRange(value) { + if (value == null) dart.nullFailed(I[147], 8526, 27, "value"); + this[S$.$setProperty]("unicode-range", value, ""); + } + get userDrag() { + return this[S$.$getPropertyValue]("user-drag"); + } + set userDrag(value) { + if (value == null) dart.nullFailed(I[147], 8534, 23, "value"); + this[S$.$setProperty]("user-drag", value, ""); + } + get userModify() { + return this[S$.$getPropertyValue]("user-modify"); + } + set userModify(value) { + if (value == null) dart.nullFailed(I[147], 8542, 25, "value"); + this[S$.$setProperty]("user-modify", value, ""); + } + get userSelect() { + return this[S$.$getPropertyValue]("user-select"); + } + set userSelect(value) { + if (value == null) dart.nullFailed(I[147], 8550, 25, "value"); + this[S$.$setProperty]("user-select", value, ""); + } + get userZoom() { + return this[S$.$getPropertyValue]("user-zoom"); + } + set userZoom(value) { + if (value == null) dart.nullFailed(I[147], 8558, 23, "value"); + this[S$.$setProperty]("user-zoom", value, ""); + } + get verticalAlign() { + return this[S$.$getPropertyValue]("vertical-align"); + } + set verticalAlign(value) { + if (value == null) dart.nullFailed(I[147], 8566, 28, "value"); + this[S$.$setProperty]("vertical-align", value, ""); + } + get visibility() { + return this[S$.$getPropertyValue]("visibility"); + } + set visibility(value) { + if (value == null) dart.nullFailed(I[147], 8574, 25, "value"); + this[S$.$setProperty]("visibility", value, ""); + } + get whiteSpace() { + return this[S$.$getPropertyValue]("white-space"); + } + set whiteSpace(value) { + if (value == null) dart.nullFailed(I[147], 8582, 25, "value"); + this[S$.$setProperty]("white-space", value, ""); + } + get widows() { + return this[S$.$getPropertyValue]("widows"); + } + set widows(value) { + if (value == null) dart.nullFailed(I[147], 8590, 21, "value"); + this[S$.$setProperty]("widows", value, ""); + } + get width() { + return this[S$.$getPropertyValue]("width"); + } + set width(value) { + if (value == null) dart.nullFailed(I[147], 8598, 20, "value"); + this[S$.$setProperty]("width", value, ""); + } + get willChange() { + return this[S$.$getPropertyValue]("will-change"); + } + set willChange(value) { + if (value == null) dart.nullFailed(I[147], 8606, 25, "value"); + this[S$.$setProperty]("will-change", value, ""); + } + get wordBreak() { + return this[S$.$getPropertyValue]("word-break"); + } + set wordBreak(value) { + if (value == null) dart.nullFailed(I[147], 8614, 24, "value"); + this[S$.$setProperty]("word-break", value, ""); + } + get wordSpacing() { + return this[S$.$getPropertyValue]("word-spacing"); + } + set wordSpacing(value) { + if (value == null) dart.nullFailed(I[147], 8622, 26, "value"); + this[S$.$setProperty]("word-spacing", value, ""); + } + get wordWrap() { + return this[S$.$getPropertyValue]("word-wrap"); + } + set wordWrap(value) { + if (value == null) dart.nullFailed(I[147], 8630, 23, "value"); + this[S$.$setProperty]("word-wrap", value, ""); + } + get wrapFlow() { + return this[S$.$getPropertyValue]("wrap-flow"); + } + set wrapFlow(value) { + if (value == null) dart.nullFailed(I[147], 8638, 23, "value"); + this[S$.$setProperty]("wrap-flow", value, ""); + } + get wrapThrough() { + return this[S$.$getPropertyValue]("wrap-through"); + } + set wrapThrough(value) { + if (value == null) dart.nullFailed(I[147], 8646, 26, "value"); + this[S$.$setProperty]("wrap-through", value, ""); + } + get writingMode() { + return this[S$.$getPropertyValue]("writing-mode"); + } + set writingMode(value) { + if (value == null) dart.nullFailed(I[147], 8654, 26, "value"); + this[S$.$setProperty]("writing-mode", value, ""); + } + get zIndex() { + return this[S$.$getPropertyValue]("z-index"); + } + set zIndex(value) { + if (value == null) dart.nullFailed(I[147], 8662, 21, "value"); + this[S$.$setProperty]("z-index", value, ""); + } + get zoom() { + return this[S$.$getPropertyValue]("zoom"); + } + set zoom(value) { + if (value == null) dart.nullFailed(I[147], 8670, 19, "value"); + this[S$.$setProperty]("zoom", value, ""); + } +}; +(html$.CssStyleDeclarationBase.new = function() { + ; +}).prototype = html$.CssStyleDeclarationBase.prototype; +dart.addTypeTests(html$.CssStyleDeclarationBase); +dart.addTypeCaches(html$.CssStyleDeclarationBase); +dart.setGetterSignature(html$.CssStyleDeclarationBase, () => ({ + __proto__: dart.getGetters(html$.CssStyleDeclarationBase.__proto__), + alignContent: core.String, + [S$0.$alignContent]: core.String, + alignItems: core.String, + [S$0.$alignItems]: core.String, + alignSelf: core.String, + [S$0.$alignSelf]: core.String, + animation: core.String, + [S$0.$animation]: core.String, + animationDelay: core.String, + [S$0.$animationDelay]: core.String, + animationDirection: core.String, + [S$0.$animationDirection]: core.String, + animationDuration: core.String, + [S$0.$animationDuration]: core.String, + animationFillMode: core.String, + [S$0.$animationFillMode]: core.String, + animationIterationCount: core.String, + [S$0.$animationIterationCount]: core.String, + animationName: core.String, + [S$.$animationName]: core.String, + animationPlayState: core.String, + [S$0.$animationPlayState]: core.String, + animationTimingFunction: core.String, + [S$0.$animationTimingFunction]: core.String, + appRegion: core.String, + [S$0.$appRegion]: core.String, + appearance: core.String, + [S$0.$appearance]: core.String, + aspectRatio: core.String, + [S$0.$aspectRatio]: core.String, + backfaceVisibility: core.String, + [S$0.$backfaceVisibility]: core.String, + background: core.String, + [S$.$background]: core.String, + backgroundAttachment: core.String, + [S$.$backgroundAttachment]: core.String, + backgroundBlendMode: core.String, + [S$0.$backgroundBlendMode]: core.String, + backgroundClip: core.String, + [S$0.$backgroundClip]: core.String, + backgroundColor: core.String, + [S$.$backgroundColor]: core.String, + backgroundComposite: core.String, + [S$0.$backgroundComposite]: core.String, + backgroundImage: core.String, + [S$.$backgroundImage]: core.String, + backgroundOrigin: core.String, + [S$0.$backgroundOrigin]: core.String, + backgroundPosition: core.String, + [S$.$backgroundPosition]: core.String, + backgroundPositionX: core.String, + [S$0.$backgroundPositionX]: core.String, + backgroundPositionY: core.String, + [S$0.$backgroundPositionY]: core.String, + backgroundRepeat: core.String, + [S$.$backgroundRepeat]: core.String, + backgroundRepeatX: core.String, + [S$0.$backgroundRepeatX]: core.String, + backgroundRepeatY: core.String, + [S$0.$backgroundRepeatY]: core.String, + backgroundSize: core.String, + [S$0.$backgroundSize]: core.String, + border: core.String, + [S$.$border]: core.String, + borderAfter: core.String, + [S$0.$borderAfter]: core.String, + borderAfterColor: core.String, + [S$0.$borderAfterColor]: core.String, + borderAfterStyle: core.String, + [S$0.$borderAfterStyle]: core.String, + borderAfterWidth: core.String, + [S$0.$borderAfterWidth]: core.String, + borderBefore: core.String, + [S$0.$borderBefore]: core.String, + borderBeforeColor: core.String, + [S$0.$borderBeforeColor]: core.String, + borderBeforeStyle: core.String, + [S$0.$borderBeforeStyle]: core.String, + borderBeforeWidth: core.String, + [S$0.$borderBeforeWidth]: core.String, + borderBottom: core.String, + [S$.$borderBottom]: core.String, + borderBottomColor: core.String, + [S$.$borderBottomColor]: core.String, + borderBottomLeftRadius: core.String, + [S$0.$borderBottomLeftRadius]: core.String, + borderBottomRightRadius: core.String, + [S$0.$borderBottomRightRadius]: core.String, + borderBottomStyle: core.String, + [S$.$borderBottomStyle]: core.String, + borderBottomWidth: core.String, + [S$.$borderBottomWidth]: core.String, + borderCollapse: core.String, + [S$.$borderCollapse]: core.String, + borderColor: core.String, + [S$.$borderColor]: core.String, + borderEnd: core.String, + [S$0.$borderEnd]: core.String, + borderEndColor: core.String, + [S$0.$borderEndColor]: core.String, + borderEndStyle: core.String, + [S$0.$borderEndStyle]: core.String, + borderEndWidth: core.String, + [S$0.$borderEndWidth]: core.String, + borderFit: core.String, + [S$0.$borderFit]: core.String, + borderHorizontalSpacing: core.String, + [S$0.$borderHorizontalSpacing]: core.String, + borderImage: core.String, + [S$0.$borderImage]: core.String, + borderImageOutset: core.String, + [S$0.$borderImageOutset]: core.String, + borderImageRepeat: core.String, + [S$0.$borderImageRepeat]: core.String, + borderImageSlice: core.String, + [S$0.$borderImageSlice]: core.String, + borderImageSource: core.String, + [S$0.$borderImageSource]: core.String, + borderImageWidth: core.String, + [S$0.$borderImageWidth]: core.String, + borderLeft: core.String, + [S$.$borderLeft]: core.String, + borderLeftColor: core.String, + [S$.$borderLeftColor]: core.String, + borderLeftStyle: core.String, + [S$.$borderLeftStyle]: core.String, + borderLeftWidth: core.String, + [S$.$borderLeftWidth]: core.String, + borderRadius: core.String, + [S$0.$borderRadius]: core.String, + borderRight: core.String, + [S$.$borderRight]: core.String, + borderRightColor: core.String, + [S$.$borderRightColor]: core.String, + borderRightStyle: core.String, + [S$.$borderRightStyle]: core.String, + borderRightWidth: core.String, + [S$0.$borderRightWidth]: core.String, + borderSpacing: core.String, + [S$0.$borderSpacing]: core.String, + borderStart: core.String, + [S$0.$borderStart]: core.String, + borderStartColor: core.String, + [S$0.$borderStartColor]: core.String, + borderStartStyle: core.String, + [S$0.$borderStartStyle]: core.String, + borderStartWidth: core.String, + [S$0.$borderStartWidth]: core.String, + borderStyle: core.String, + [S$0.$borderStyle]: core.String, + borderTop: core.String, + [S$0.$borderTop]: core.String, + borderTopColor: core.String, + [S$0.$borderTopColor]: core.String, + borderTopLeftRadius: core.String, + [S$0.$borderTopLeftRadius]: core.String, + borderTopRightRadius: core.String, + [S$0.$borderTopRightRadius]: core.String, + borderTopStyle: core.String, + [S$0.$borderTopStyle]: core.String, + borderTopWidth: core.String, + [S$0.$borderTopWidth]: core.String, + borderVerticalSpacing: core.String, + [S$0.$borderVerticalSpacing]: core.String, + borderWidth: core.String, + [S$0.$borderWidth]: core.String, + bottom: core.String, + [$bottom]: core.String, + boxAlign: core.String, + [S$0.$boxAlign]: core.String, + boxDecorationBreak: core.String, + [S$0.$boxDecorationBreak]: core.String, + boxDirection: core.String, + [S$0.$boxDirection]: core.String, + boxFlex: core.String, + [S$0.$boxFlex]: core.String, + boxFlexGroup: core.String, + [S$0.$boxFlexGroup]: core.String, + boxLines: core.String, + [S$0.$boxLines]: core.String, + boxOrdinalGroup: core.String, + [S$0.$boxOrdinalGroup]: core.String, + boxOrient: core.String, + [S$0.$boxOrient]: core.String, + boxPack: core.String, + [S$0.$boxPack]: core.String, + boxReflect: core.String, + [S$0.$boxReflect]: core.String, + boxShadow: core.String, + [S$0.$boxShadow]: core.String, + boxSizing: core.String, + [S$0.$boxSizing]: core.String, + captionSide: core.String, + [S$0.$captionSide]: core.String, + clear: core.String, + [$clear]: core.String, + clip: core.String, + [S$.$clip]: core.String, + clipPath: core.String, + [S$0.$clipPath]: core.String, + color: core.String, + [S$0.$color]: core.String, + columnBreakAfter: core.String, + [S$0.$columnBreakAfter]: core.String, + columnBreakBefore: core.String, + [S$0.$columnBreakBefore]: core.String, + columnBreakInside: core.String, + [S$0.$columnBreakInside]: core.String, + columnCount: core.String, + [S$0.$columnCount]: core.String, + columnFill: core.String, + [S$0.$columnFill]: core.String, + columnGap: core.String, + [S$0.$columnGap]: core.String, + columnRule: core.String, + [S$0.$columnRule]: core.String, + columnRuleColor: core.String, + [S$0.$columnRuleColor]: core.String, + columnRuleStyle: core.String, + [S$0.$columnRuleStyle]: core.String, + columnRuleWidth: core.String, + [S$0.$columnRuleWidth]: core.String, + columnSpan: core.String, + [S$0.$columnSpan]: core.String, + columnWidth: core.String, + [S$0.$columnWidth]: core.String, + columns: core.String, + [S$0.$columns]: core.String, + content: core.String, + [S$0.$content]: core.String, + counterIncrement: core.String, + [S$0.$counterIncrement]: core.String, + counterReset: core.String, + [S$0.$counterReset]: core.String, + cursor: core.String, + [S$0.$cursor]: core.String, + direction: core.String, + [S.$direction]: core.String, + display: core.String, + [S$0.$display]: core.String, + emptyCells: core.String, + [S$0.$emptyCells]: core.String, + filter: core.String, + [S$.$filter]: core.String, + flex: core.String, + [S$0.$flex]: core.String, + flexBasis: core.String, + [S$0.$flexBasis]: core.String, + flexDirection: core.String, + [S$0.$flexDirection]: core.String, + flexFlow: core.String, + [S$0.$flexFlow]: core.String, + flexGrow: core.String, + [S$0.$flexGrow]: core.String, + flexShrink: core.String, + [S$0.$flexShrink]: core.String, + flexWrap: core.String, + [S$0.$flexWrap]: core.String, + float: core.String, + [S$0.$float]: core.String, + font: core.String, + [S$.$font]: core.String, + fontFamily: core.String, + [S$0.$fontFamily]: core.String, + fontFeatureSettings: core.String, + [S$0.$fontFeatureSettings]: core.String, + fontKerning: core.String, + [S$0.$fontKerning]: core.String, + fontSize: core.String, + [S$0.$fontSize]: core.String, + fontSizeDelta: core.String, + [S$0.$fontSizeDelta]: core.String, + fontSmoothing: core.String, + [S$0.$fontSmoothing]: core.String, + fontStretch: core.String, + [S$0.$fontStretch]: core.String, + fontStyle: core.String, + [S$0.$fontStyle]: core.String, + fontVariant: core.String, + [S$0.$fontVariant]: core.String, + fontVariantLigatures: core.String, + [S$0.$fontVariantLigatures]: core.String, + fontWeight: core.String, + [S$0.$fontWeight]: core.String, + grid: core.String, + [S$0.$grid]: core.String, + gridArea: core.String, + [S$0.$gridArea]: core.String, + gridAutoColumns: core.String, + [S$0.$gridAutoColumns]: core.String, + gridAutoFlow: core.String, + [S$0.$gridAutoFlow]: core.String, + gridAutoRows: core.String, + [S$0.$gridAutoRows]: core.String, + gridColumn: core.String, + [S$0.$gridColumn]: core.String, + gridColumnEnd: core.String, + [S$0.$gridColumnEnd]: core.String, + gridColumnStart: core.String, + [S$0.$gridColumnStart]: core.String, + gridRow: core.String, + [S$0.$gridRow]: core.String, + gridRowEnd: core.String, + [S$0.$gridRowEnd]: core.String, + gridRowStart: core.String, + [S$0.$gridRowStart]: core.String, + gridTemplate: core.String, + [S$0.$gridTemplate]: core.String, + gridTemplateAreas: core.String, + [S$0.$gridTemplateAreas]: core.String, + gridTemplateColumns: core.String, + [S$0.$gridTemplateColumns]: core.String, + gridTemplateRows: core.String, + [S$0.$gridTemplateRows]: core.String, + height: core.String, + [$height]: core.String, + highlight: core.String, + [S$0.$highlight]: core.String, + hyphenateCharacter: core.String, + [S$0.$hyphenateCharacter]: core.String, + imageRendering: core.String, + [S$0.$imageRendering]: core.String, + isolation: core.String, + [S$0.$isolation]: core.String, + justifyContent: core.String, + [S$0.$justifyContent]: core.String, + justifySelf: core.String, + [S$0.$justifySelf]: core.String, + left: core.String, + [$left]: core.String, + letterSpacing: core.String, + [S$0.$letterSpacing]: core.String, + lineBoxContain: core.String, + [S$0.$lineBoxContain]: core.String, + lineBreak: core.String, + [S$0.$lineBreak]: core.String, + lineClamp: core.String, + [S$0.$lineClamp]: core.String, + lineHeight: core.String, + [S$0.$lineHeight]: core.String, + listStyle: core.String, + [S$0.$listStyle]: core.String, + listStyleImage: core.String, + [S$0.$listStyleImage]: core.String, + listStylePosition: core.String, + [S$0.$listStylePosition]: core.String, + listStyleType: core.String, + [S$0.$listStyleType]: core.String, + locale: core.String, + [S$0.$locale]: core.String, + logicalHeight: core.String, + [S$0.$logicalHeight]: core.String, + logicalWidth: core.String, + [S$0.$logicalWidth]: core.String, + margin: core.String, + [S$0.$margin]: core.String, + marginAfter: core.String, + [S$0.$marginAfter]: core.String, + marginAfterCollapse: core.String, + [S$0.$marginAfterCollapse]: core.String, + marginBefore: core.String, + [S$0.$marginBefore]: core.String, + marginBeforeCollapse: core.String, + [S$0.$marginBeforeCollapse]: core.String, + marginBottom: core.String, + [S$0.$marginBottom]: core.String, + marginBottomCollapse: core.String, + [S$0.$marginBottomCollapse]: core.String, + marginCollapse: core.String, + [S$0.$marginCollapse]: core.String, + marginEnd: core.String, + [S$0.$marginEnd]: core.String, + marginLeft: core.String, + [S$0.$marginLeft]: core.String, + marginRight: core.String, + [S$0.$marginRight]: core.String, + marginStart: core.String, + [S$0.$marginStart]: core.String, + marginTop: core.String, + [S$0.$marginTop]: core.String, + marginTopCollapse: core.String, + [S$0.$marginTopCollapse]: core.String, + mask: core.String, + [S$0.$mask]: core.String, + maskBoxImage: core.String, + [S$0.$maskBoxImage]: core.String, + maskBoxImageOutset: core.String, + [S$0.$maskBoxImageOutset]: core.String, + maskBoxImageRepeat: core.String, + [S$0.$maskBoxImageRepeat]: core.String, + maskBoxImageSlice: core.String, + [S$0.$maskBoxImageSlice]: core.String, + maskBoxImageSource: core.String, + [S$0.$maskBoxImageSource]: core.String, + maskBoxImageWidth: core.String, + [S$0.$maskBoxImageWidth]: core.String, + maskClip: core.String, + [S$0.$maskClip]: core.String, + maskComposite: core.String, + [S$0.$maskComposite]: core.String, + maskImage: core.String, + [S$0.$maskImage]: core.String, + maskOrigin: core.String, + [S$0.$maskOrigin]: core.String, + maskPosition: core.String, + [S$0.$maskPosition]: core.String, + maskPositionX: core.String, + [S$0.$maskPositionX]: core.String, + maskPositionY: core.String, + [S$0.$maskPositionY]: core.String, + maskRepeat: core.String, + [S$0.$maskRepeat]: core.String, + maskRepeatX: core.String, + [S$0.$maskRepeatX]: core.String, + maskRepeatY: core.String, + [S$0.$maskRepeatY]: core.String, + maskSize: core.String, + [S$0.$maskSize]: core.String, + maskSourceType: core.String, + [S$0.$maskSourceType]: core.String, + maxHeight: core.String, + [S$0.$maxHeight]: core.String, + maxLogicalHeight: core.String, + [S$0.$maxLogicalHeight]: core.String, + maxLogicalWidth: core.String, + [S$0.$maxLogicalWidth]: core.String, + maxWidth: core.String, + [S$0.$maxWidth]: core.String, + maxZoom: core.String, + [S$0.$maxZoom]: core.String, + minHeight: core.String, + [S$0.$minHeight]: core.String, + minLogicalHeight: core.String, + [S$0.$minLogicalHeight]: core.String, + minLogicalWidth: core.String, + [S$0.$minLogicalWidth]: core.String, + minWidth: core.String, + [S$0.$minWidth]: core.String, + minZoom: core.String, + [S$0.$minZoom]: core.String, + mixBlendMode: core.String, + [S$0.$mixBlendMode]: core.String, + objectFit: core.String, + [S$0.$objectFit]: core.String, + objectPosition: core.String, + [S$0.$objectPosition]: core.String, + opacity: core.String, + [S$0.$opacity]: core.String, + order: core.String, + [S$0.$order]: core.String, + orientation: core.String, + [S$.$orientation]: core.String, + orphans: core.String, + [S$0.$orphans]: core.String, + outline: core.String, + [S$0.$outline]: core.String, + outlineColor: core.String, + [S$0.$outlineColor]: core.String, + outlineOffset: core.String, + [S$0.$outlineOffset]: core.String, + outlineStyle: core.String, + [S$0.$outlineStyle]: core.String, + outlineWidth: core.String, + [S$0.$outlineWidth]: core.String, + overflow: core.String, + [S$0.$overflow]: core.String, + overflowWrap: core.String, + [S$0.$overflowWrap]: core.String, + overflowX: core.String, + [S$0.$overflowX]: core.String, + overflowY: core.String, + [S$0.$overflowY]: core.String, + padding: core.String, + [S$0.$padding]: core.String, + paddingAfter: core.String, + [S$0.$paddingAfter]: core.String, + paddingBefore: core.String, + [S$0.$paddingBefore]: core.String, + paddingBottom: core.String, + [S$0.$paddingBottom]: core.String, + paddingEnd: core.String, + [S$0.$paddingEnd]: core.String, + paddingLeft: core.String, + [S$0.$paddingLeft]: core.String, + paddingRight: core.String, + [S$0.$paddingRight]: core.String, + paddingStart: core.String, + [S$0.$paddingStart]: core.String, + paddingTop: core.String, + [S$0.$paddingTop]: core.String, + page: core.String, + [S$0.$page]: core.String, + pageBreakAfter: core.String, + [S$0.$pageBreakAfter]: core.String, + pageBreakBefore: core.String, + [S$0.$pageBreakBefore]: core.String, + pageBreakInside: core.String, + [S$0.$pageBreakInside]: core.String, + perspective: core.String, + [S$0.$perspective]: core.String, + perspectiveOrigin: core.String, + [S$0.$perspectiveOrigin]: core.String, + perspectiveOriginX: core.String, + [S$0.$perspectiveOriginX]: core.String, + perspectiveOriginY: core.String, + [S$0.$perspectiveOriginY]: core.String, + pointerEvents: core.String, + [S$0.$pointerEvents]: core.String, + position: core.String, + [S$0.$position]: core.String, + printColorAdjust: core.String, + [S$0.$printColorAdjust]: core.String, + quotes: core.String, + [S$0.$quotes]: core.String, + resize: core.String, + [S$0.$resize]: core.String, + right: core.String, + [$right]: core.String, + rtlOrdering: core.String, + [S$0.$rtlOrdering]: core.String, + rubyPosition: core.String, + [S$0.$rubyPosition]: core.String, + scrollBehavior: core.String, + [S$0.$scrollBehavior]: core.String, + shapeImageThreshold: core.String, + [S$0.$shapeImageThreshold]: core.String, + shapeMargin: core.String, + [S$0.$shapeMargin]: core.String, + shapeOutside: core.String, + [S$0.$shapeOutside]: core.String, + size: core.String, + [S$.$size]: core.String, + speak: core.String, + [S$0.$speak]: core.String, + src: core.String, + [S$.$src]: core.String, + tabSize: core.String, + [S$0.$tabSize]: core.String, + tableLayout: core.String, + [S$0.$tableLayout]: core.String, + tapHighlightColor: core.String, + [S$0.$tapHighlightColor]: core.String, + textAlign: core.String, + [S$.$textAlign]: core.String, + textAlignLast: core.String, + [S$0.$textAlignLast]: core.String, + textCombine: core.String, + [S$0.$textCombine]: core.String, + textDecoration: core.String, + [S$0.$textDecoration]: core.String, + textDecorationColor: core.String, + [S$0.$textDecorationColor]: core.String, + textDecorationLine: core.String, + [S$0.$textDecorationLine]: core.String, + textDecorationStyle: core.String, + [S$0.$textDecorationStyle]: core.String, + textDecorationsInEffect: core.String, + [S$0.$textDecorationsInEffect]: core.String, + textEmphasis: core.String, + [S$0.$textEmphasis]: core.String, + textEmphasisColor: core.String, + [S$0.$textEmphasisColor]: core.String, + textEmphasisPosition: core.String, + [S$0.$textEmphasisPosition]: core.String, + textEmphasisStyle: core.String, + [S$0.$textEmphasisStyle]: core.String, + textFillColor: core.String, + [S$0.$textFillColor]: core.String, + textIndent: core.String, + [S$0.$textIndent]: core.String, + textJustify: core.String, + [S$0.$textJustify]: core.String, + textLineThroughColor: core.String, + [S$0.$textLineThroughColor]: core.String, + textLineThroughMode: core.String, + [S$0.$textLineThroughMode]: core.String, + textLineThroughStyle: core.String, + [S$0.$textLineThroughStyle]: core.String, + textLineThroughWidth: core.String, + [S$0.$textLineThroughWidth]: core.String, + textOrientation: core.String, + [S$0.$textOrientation]: core.String, + textOverflow: core.String, + [S$0.$textOverflow]: core.String, + textOverlineColor: core.String, + [S$0.$textOverlineColor]: core.String, + textOverlineMode: core.String, + [S$0.$textOverlineMode]: core.String, + textOverlineStyle: core.String, + [S$0.$textOverlineStyle]: core.String, + textOverlineWidth: core.String, + [S$0.$textOverlineWidth]: core.String, + textRendering: core.String, + [S$0.$textRendering]: core.String, + textSecurity: core.String, + [S$0.$textSecurity]: core.String, + textShadow: core.String, + [S$0.$textShadow]: core.String, + textStroke: core.String, + [S$0.$textStroke]: core.String, + textStrokeColor: core.String, + [S$0.$textStrokeColor]: core.String, + textStrokeWidth: core.String, + [S$0.$textStrokeWidth]: core.String, + textTransform: core.String, + [S$0.$textTransform]: core.String, + textUnderlineColor: core.String, + [S$0.$textUnderlineColor]: core.String, + textUnderlineMode: core.String, + [S$0.$textUnderlineMode]: core.String, + textUnderlinePosition: core.String, + [S$0.$textUnderlinePosition]: core.String, + textUnderlineStyle: core.String, + [S$0.$textUnderlineStyle]: core.String, + textUnderlineWidth: core.String, + [S$0.$textUnderlineWidth]: core.String, + top: core.String, + [$top]: core.String, + touchAction: core.String, + [S$0.$touchAction]: core.String, + touchActionDelay: core.String, + [S$0.$touchActionDelay]: core.String, + transform: core.String, + [S$.$transform]: core.String, + transformOrigin: core.String, + [S$0.$transformOrigin]: core.String, + transformOriginX: core.String, + [S$0.$transformOriginX]: core.String, + transformOriginY: core.String, + [S$0.$transformOriginY]: core.String, + transformOriginZ: core.String, + [S$0.$transformOriginZ]: core.String, + transformStyle: core.String, + [S$0.$transformStyle]: core.String, + transition: core.String, + [S$0.$transition]: core.String, + transitionDelay: core.String, + [S$0.$transitionDelay]: core.String, + transitionDuration: core.String, + [S$0.$transitionDuration]: core.String, + transitionProperty: core.String, + [S$0.$transitionProperty]: core.String, + transitionTimingFunction: core.String, + [S$0.$transitionTimingFunction]: core.String, + unicodeBidi: core.String, + [S$0.$unicodeBidi]: core.String, + unicodeRange: core.String, + [S$0.$unicodeRange]: core.String, + userDrag: core.String, + [S$0.$userDrag]: core.String, + userModify: core.String, + [S$0.$userModify]: core.String, + userSelect: core.String, + [S$0.$userSelect]: core.String, + userZoom: core.String, + [S$0.$userZoom]: core.String, + verticalAlign: core.String, + [S$0.$verticalAlign]: core.String, + visibility: core.String, + [S$0.$visibility]: core.String, + whiteSpace: core.String, + [S$0.$whiteSpace]: core.String, + widows: core.String, + [S$0.$widows]: core.String, + width: core.String, + [$width]: core.String, + willChange: core.String, + [S$0.$willChange]: core.String, + wordBreak: core.String, + [S$0.$wordBreak]: core.String, + wordSpacing: core.String, + [S$0.$wordSpacing]: core.String, + wordWrap: core.String, + [S$0.$wordWrap]: core.String, + wrapFlow: core.String, + [S$0.$wrapFlow]: core.String, + wrapThrough: core.String, + [S$0.$wrapThrough]: core.String, + writingMode: core.String, + [S$0.$writingMode]: core.String, + zIndex: core.String, + [S$0.$zIndex]: core.String, + zoom: core.String, + [S$0.$zoom]: core.String +})); +dart.setSetterSignature(html$.CssStyleDeclarationBase, () => ({ + __proto__: dart.getSetters(html$.CssStyleDeclarationBase.__proto__), + alignContent: core.String, + [S$0.$alignContent]: core.String, + alignItems: core.String, + [S$0.$alignItems]: core.String, + alignSelf: core.String, + [S$0.$alignSelf]: core.String, + animation: core.String, + [S$0.$animation]: core.String, + animationDelay: core.String, + [S$0.$animationDelay]: core.String, + animationDirection: core.String, + [S$0.$animationDirection]: core.String, + animationDuration: core.String, + [S$0.$animationDuration]: core.String, + animationFillMode: core.String, + [S$0.$animationFillMode]: core.String, + animationIterationCount: core.String, + [S$0.$animationIterationCount]: core.String, + animationName: core.String, + [S$.$animationName]: core.String, + animationPlayState: core.String, + [S$0.$animationPlayState]: core.String, + animationTimingFunction: core.String, + [S$0.$animationTimingFunction]: core.String, + appRegion: core.String, + [S$0.$appRegion]: core.String, + appearance: core.String, + [S$0.$appearance]: core.String, + aspectRatio: core.String, + [S$0.$aspectRatio]: core.String, + backfaceVisibility: core.String, + [S$0.$backfaceVisibility]: core.String, + background: core.String, + [S$.$background]: core.String, + backgroundAttachment: core.String, + [S$.$backgroundAttachment]: core.String, + backgroundBlendMode: core.String, + [S$0.$backgroundBlendMode]: core.String, + backgroundClip: core.String, + [S$0.$backgroundClip]: core.String, + backgroundColor: core.String, + [S$.$backgroundColor]: core.String, + backgroundComposite: core.String, + [S$0.$backgroundComposite]: core.String, + backgroundImage: core.String, + [S$.$backgroundImage]: core.String, + backgroundOrigin: core.String, + [S$0.$backgroundOrigin]: core.String, + backgroundPosition: core.String, + [S$.$backgroundPosition]: core.String, + backgroundPositionX: core.String, + [S$0.$backgroundPositionX]: core.String, + backgroundPositionY: core.String, + [S$0.$backgroundPositionY]: core.String, + backgroundRepeat: core.String, + [S$.$backgroundRepeat]: core.String, + backgroundRepeatX: core.String, + [S$0.$backgroundRepeatX]: core.String, + backgroundRepeatY: core.String, + [S$0.$backgroundRepeatY]: core.String, + backgroundSize: core.String, + [S$0.$backgroundSize]: core.String, + border: core.String, + [S$.$border]: core.String, + borderAfter: core.String, + [S$0.$borderAfter]: core.String, + borderAfterColor: core.String, + [S$0.$borderAfterColor]: core.String, + borderAfterStyle: core.String, + [S$0.$borderAfterStyle]: core.String, + borderAfterWidth: core.String, + [S$0.$borderAfterWidth]: core.String, + borderBefore: core.String, + [S$0.$borderBefore]: core.String, + borderBeforeColor: core.String, + [S$0.$borderBeforeColor]: core.String, + borderBeforeStyle: core.String, + [S$0.$borderBeforeStyle]: core.String, + borderBeforeWidth: core.String, + [S$0.$borderBeforeWidth]: core.String, + borderBottom: core.String, + [S$.$borderBottom]: core.String, + borderBottomColor: core.String, + [S$.$borderBottomColor]: core.String, + borderBottomLeftRadius: core.String, + [S$0.$borderBottomLeftRadius]: core.String, + borderBottomRightRadius: core.String, + [S$0.$borderBottomRightRadius]: core.String, + borderBottomStyle: core.String, + [S$.$borderBottomStyle]: core.String, + borderBottomWidth: core.String, + [S$.$borderBottomWidth]: core.String, + borderCollapse: core.String, + [S$.$borderCollapse]: core.String, + borderColor: core.String, + [S$.$borderColor]: core.String, + borderEnd: core.String, + [S$0.$borderEnd]: core.String, + borderEndColor: core.String, + [S$0.$borderEndColor]: core.String, + borderEndStyle: core.String, + [S$0.$borderEndStyle]: core.String, + borderEndWidth: core.String, + [S$0.$borderEndWidth]: core.String, + borderFit: core.String, + [S$0.$borderFit]: core.String, + borderHorizontalSpacing: core.String, + [S$0.$borderHorizontalSpacing]: core.String, + borderImage: core.String, + [S$0.$borderImage]: core.String, + borderImageOutset: core.String, + [S$0.$borderImageOutset]: core.String, + borderImageRepeat: core.String, + [S$0.$borderImageRepeat]: core.String, + borderImageSlice: core.String, + [S$0.$borderImageSlice]: core.String, + borderImageSource: core.String, + [S$0.$borderImageSource]: core.String, + borderImageWidth: core.String, + [S$0.$borderImageWidth]: core.String, + borderLeft: core.String, + [S$.$borderLeft]: core.String, + borderLeftColor: core.String, + [S$.$borderLeftColor]: core.String, + borderLeftStyle: core.String, + [S$.$borderLeftStyle]: core.String, + borderLeftWidth: core.String, + [S$.$borderLeftWidth]: core.String, + borderRadius: core.String, + [S$0.$borderRadius]: core.String, + borderRight: core.String, + [S$.$borderRight]: core.String, + borderRightColor: core.String, + [S$.$borderRightColor]: core.String, + borderRightStyle: core.String, + [S$.$borderRightStyle]: core.String, + borderRightWidth: core.String, + [S$0.$borderRightWidth]: core.String, + borderSpacing: core.String, + [S$0.$borderSpacing]: core.String, + borderStart: core.String, + [S$0.$borderStart]: core.String, + borderStartColor: core.String, + [S$0.$borderStartColor]: core.String, + borderStartStyle: core.String, + [S$0.$borderStartStyle]: core.String, + borderStartWidth: core.String, + [S$0.$borderStartWidth]: core.String, + borderStyle: core.String, + [S$0.$borderStyle]: core.String, + borderTop: core.String, + [S$0.$borderTop]: core.String, + borderTopColor: core.String, + [S$0.$borderTopColor]: core.String, + borderTopLeftRadius: core.String, + [S$0.$borderTopLeftRadius]: core.String, + borderTopRightRadius: core.String, + [S$0.$borderTopRightRadius]: core.String, + borderTopStyle: core.String, + [S$0.$borderTopStyle]: core.String, + borderTopWidth: core.String, + [S$0.$borderTopWidth]: core.String, + borderVerticalSpacing: core.String, + [S$0.$borderVerticalSpacing]: core.String, + borderWidth: core.String, + [S$0.$borderWidth]: core.String, + bottom: core.String, + [$bottom]: core.String, + boxAlign: core.String, + [S$0.$boxAlign]: core.String, + boxDecorationBreak: core.String, + [S$0.$boxDecorationBreak]: core.String, + boxDirection: core.String, + [S$0.$boxDirection]: core.String, + boxFlex: core.String, + [S$0.$boxFlex]: core.String, + boxFlexGroup: core.String, + [S$0.$boxFlexGroup]: core.String, + boxLines: core.String, + [S$0.$boxLines]: core.String, + boxOrdinalGroup: core.String, + [S$0.$boxOrdinalGroup]: core.String, + boxOrient: core.String, + [S$0.$boxOrient]: core.String, + boxPack: core.String, + [S$0.$boxPack]: core.String, + boxReflect: core.String, + [S$0.$boxReflect]: core.String, + boxShadow: core.String, + [S$0.$boxShadow]: core.String, + boxSizing: core.String, + [S$0.$boxSizing]: core.String, + captionSide: core.String, + [S$0.$captionSide]: core.String, + clear: core.String, + [$clear]: core.String, + clip: core.String, + [S$.$clip]: core.String, + clipPath: core.String, + [S$0.$clipPath]: core.String, + color: core.String, + [S$0.$color]: core.String, + columnBreakAfter: core.String, + [S$0.$columnBreakAfter]: core.String, + columnBreakBefore: core.String, + [S$0.$columnBreakBefore]: core.String, + columnBreakInside: core.String, + [S$0.$columnBreakInside]: core.String, + columnCount: core.String, + [S$0.$columnCount]: core.String, + columnFill: core.String, + [S$0.$columnFill]: core.String, + columnGap: core.String, + [S$0.$columnGap]: core.String, + columnRule: core.String, + [S$0.$columnRule]: core.String, + columnRuleColor: core.String, + [S$0.$columnRuleColor]: core.String, + columnRuleStyle: core.String, + [S$0.$columnRuleStyle]: core.String, + columnRuleWidth: core.String, + [S$0.$columnRuleWidth]: core.String, + columnSpan: core.String, + [S$0.$columnSpan]: core.String, + columnWidth: core.String, + [S$0.$columnWidth]: core.String, + columns: core.String, + [S$0.$columns]: core.String, + content: core.String, + [S$0.$content]: core.String, + counterIncrement: core.String, + [S$0.$counterIncrement]: core.String, + counterReset: core.String, + [S$0.$counterReset]: core.String, + cursor: core.String, + [S$0.$cursor]: core.String, + direction: core.String, + [S.$direction]: core.String, + display: core.String, + [S$0.$display]: core.String, + emptyCells: core.String, + [S$0.$emptyCells]: core.String, + filter: core.String, + [S$.$filter]: core.String, + flex: core.String, + [S$0.$flex]: core.String, + flexBasis: core.String, + [S$0.$flexBasis]: core.String, + flexDirection: core.String, + [S$0.$flexDirection]: core.String, + flexFlow: core.String, + [S$0.$flexFlow]: core.String, + flexGrow: core.String, + [S$0.$flexGrow]: core.String, + flexShrink: core.String, + [S$0.$flexShrink]: core.String, + flexWrap: core.String, + [S$0.$flexWrap]: core.String, + float: core.String, + [S$0.$float]: core.String, + font: core.String, + [S$.$font]: core.String, + fontFamily: core.String, + [S$0.$fontFamily]: core.String, + fontFeatureSettings: core.String, + [S$0.$fontFeatureSettings]: core.String, + fontKerning: core.String, + [S$0.$fontKerning]: core.String, + fontSize: core.String, + [S$0.$fontSize]: core.String, + fontSizeDelta: core.String, + [S$0.$fontSizeDelta]: core.String, + fontSmoothing: core.String, + [S$0.$fontSmoothing]: core.String, + fontStretch: core.String, + [S$0.$fontStretch]: core.String, + fontStyle: core.String, + [S$0.$fontStyle]: core.String, + fontVariant: core.String, + [S$0.$fontVariant]: core.String, + fontVariantLigatures: core.String, + [S$0.$fontVariantLigatures]: core.String, + fontWeight: core.String, + [S$0.$fontWeight]: core.String, + grid: core.String, + [S$0.$grid]: core.String, + gridArea: core.String, + [S$0.$gridArea]: core.String, + gridAutoColumns: core.String, + [S$0.$gridAutoColumns]: core.String, + gridAutoFlow: core.String, + [S$0.$gridAutoFlow]: core.String, + gridAutoRows: core.String, + [S$0.$gridAutoRows]: core.String, + gridColumn: core.String, + [S$0.$gridColumn]: core.String, + gridColumnEnd: core.String, + [S$0.$gridColumnEnd]: core.String, + gridColumnStart: core.String, + [S$0.$gridColumnStart]: core.String, + gridRow: core.String, + [S$0.$gridRow]: core.String, + gridRowEnd: core.String, + [S$0.$gridRowEnd]: core.String, + gridRowStart: core.String, + [S$0.$gridRowStart]: core.String, + gridTemplate: core.String, + [S$0.$gridTemplate]: core.String, + gridTemplateAreas: core.String, + [S$0.$gridTemplateAreas]: core.String, + gridTemplateColumns: core.String, + [S$0.$gridTemplateColumns]: core.String, + gridTemplateRows: core.String, + [S$0.$gridTemplateRows]: core.String, + height: core.String, + [$height]: core.String, + highlight: core.String, + [S$0.$highlight]: core.String, + hyphenateCharacter: core.String, + [S$0.$hyphenateCharacter]: core.String, + imageRendering: core.String, + [S$0.$imageRendering]: core.String, + isolation: core.String, + [S$0.$isolation]: core.String, + justifyContent: core.String, + [S$0.$justifyContent]: core.String, + justifySelf: core.String, + [S$0.$justifySelf]: core.String, + left: core.String, + [$left]: core.String, + letterSpacing: core.String, + [S$0.$letterSpacing]: core.String, + lineBoxContain: core.String, + [S$0.$lineBoxContain]: core.String, + lineBreak: core.String, + [S$0.$lineBreak]: core.String, + lineClamp: core.String, + [S$0.$lineClamp]: core.String, + lineHeight: core.String, + [S$0.$lineHeight]: core.String, + listStyle: core.String, + [S$0.$listStyle]: core.String, + listStyleImage: core.String, + [S$0.$listStyleImage]: core.String, + listStylePosition: core.String, + [S$0.$listStylePosition]: core.String, + listStyleType: core.String, + [S$0.$listStyleType]: core.String, + locale: core.String, + [S$0.$locale]: core.String, + logicalHeight: core.String, + [S$0.$logicalHeight]: core.String, + logicalWidth: core.String, + [S$0.$logicalWidth]: core.String, + margin: core.String, + [S$0.$margin]: core.String, + marginAfter: core.String, + [S$0.$marginAfter]: core.String, + marginAfterCollapse: core.String, + [S$0.$marginAfterCollapse]: core.String, + marginBefore: core.String, + [S$0.$marginBefore]: core.String, + marginBeforeCollapse: core.String, + [S$0.$marginBeforeCollapse]: core.String, + marginBottom: core.String, + [S$0.$marginBottom]: core.String, + marginBottomCollapse: core.String, + [S$0.$marginBottomCollapse]: core.String, + marginCollapse: core.String, + [S$0.$marginCollapse]: core.String, + marginEnd: core.String, + [S$0.$marginEnd]: core.String, + marginLeft: core.String, + [S$0.$marginLeft]: core.String, + marginRight: core.String, + [S$0.$marginRight]: core.String, + marginStart: core.String, + [S$0.$marginStart]: core.String, + marginTop: core.String, + [S$0.$marginTop]: core.String, + marginTopCollapse: core.String, + [S$0.$marginTopCollapse]: core.String, + mask: core.String, + [S$0.$mask]: core.String, + maskBoxImage: core.String, + [S$0.$maskBoxImage]: core.String, + maskBoxImageOutset: core.String, + [S$0.$maskBoxImageOutset]: core.String, + maskBoxImageRepeat: core.String, + [S$0.$maskBoxImageRepeat]: core.String, + maskBoxImageSlice: core.String, + [S$0.$maskBoxImageSlice]: core.String, + maskBoxImageSource: core.String, + [S$0.$maskBoxImageSource]: core.String, + maskBoxImageWidth: core.String, + [S$0.$maskBoxImageWidth]: core.String, + maskClip: core.String, + [S$0.$maskClip]: core.String, + maskComposite: core.String, + [S$0.$maskComposite]: core.String, + maskImage: core.String, + [S$0.$maskImage]: core.String, + maskOrigin: core.String, + [S$0.$maskOrigin]: core.String, + maskPosition: core.String, + [S$0.$maskPosition]: core.String, + maskPositionX: core.String, + [S$0.$maskPositionX]: core.String, + maskPositionY: core.String, + [S$0.$maskPositionY]: core.String, + maskRepeat: core.String, + [S$0.$maskRepeat]: core.String, + maskRepeatX: core.String, + [S$0.$maskRepeatX]: core.String, + maskRepeatY: core.String, + [S$0.$maskRepeatY]: core.String, + maskSize: core.String, + [S$0.$maskSize]: core.String, + maskSourceType: core.String, + [S$0.$maskSourceType]: core.String, + maxHeight: core.String, + [S$0.$maxHeight]: core.String, + maxLogicalHeight: core.String, + [S$0.$maxLogicalHeight]: core.String, + maxLogicalWidth: core.String, + [S$0.$maxLogicalWidth]: core.String, + maxWidth: core.String, + [S$0.$maxWidth]: core.String, + maxZoom: core.String, + [S$0.$maxZoom]: core.String, + minHeight: core.String, + [S$0.$minHeight]: core.String, + minLogicalHeight: core.String, + [S$0.$minLogicalHeight]: core.String, + minLogicalWidth: core.String, + [S$0.$minLogicalWidth]: core.String, + minWidth: core.String, + [S$0.$minWidth]: core.String, + minZoom: core.String, + [S$0.$minZoom]: core.String, + mixBlendMode: core.String, + [S$0.$mixBlendMode]: core.String, + objectFit: core.String, + [S$0.$objectFit]: core.String, + objectPosition: core.String, + [S$0.$objectPosition]: core.String, + opacity: core.String, + [S$0.$opacity]: core.String, + order: core.String, + [S$0.$order]: core.String, + orientation: core.String, + [S$.$orientation]: core.String, + orphans: core.String, + [S$0.$orphans]: core.String, + outline: core.String, + [S$0.$outline]: core.String, + outlineColor: core.String, + [S$0.$outlineColor]: core.String, + outlineOffset: core.String, + [S$0.$outlineOffset]: core.String, + outlineStyle: core.String, + [S$0.$outlineStyle]: core.String, + outlineWidth: core.String, + [S$0.$outlineWidth]: core.String, + overflow: core.String, + [S$0.$overflow]: core.String, + overflowWrap: core.String, + [S$0.$overflowWrap]: core.String, + overflowX: core.String, + [S$0.$overflowX]: core.String, + overflowY: core.String, + [S$0.$overflowY]: core.String, + padding: core.String, + [S$0.$padding]: core.String, + paddingAfter: core.String, + [S$0.$paddingAfter]: core.String, + paddingBefore: core.String, + [S$0.$paddingBefore]: core.String, + paddingBottom: core.String, + [S$0.$paddingBottom]: core.String, + paddingEnd: core.String, + [S$0.$paddingEnd]: core.String, + paddingLeft: core.String, + [S$0.$paddingLeft]: core.String, + paddingRight: core.String, + [S$0.$paddingRight]: core.String, + paddingStart: core.String, + [S$0.$paddingStart]: core.String, + paddingTop: core.String, + [S$0.$paddingTop]: core.String, + page: core.String, + [S$0.$page]: core.String, + pageBreakAfter: core.String, + [S$0.$pageBreakAfter]: core.String, + pageBreakBefore: core.String, + [S$0.$pageBreakBefore]: core.String, + pageBreakInside: core.String, + [S$0.$pageBreakInside]: core.String, + perspective: core.String, + [S$0.$perspective]: core.String, + perspectiveOrigin: core.String, + [S$0.$perspectiveOrigin]: core.String, + perspectiveOriginX: core.String, + [S$0.$perspectiveOriginX]: core.String, + perspectiveOriginY: core.String, + [S$0.$perspectiveOriginY]: core.String, + pointerEvents: core.String, + [S$0.$pointerEvents]: core.String, + position: core.String, + [S$0.$position]: core.String, + printColorAdjust: core.String, + [S$0.$printColorAdjust]: core.String, + quotes: core.String, + [S$0.$quotes]: core.String, + resize: core.String, + [S$0.$resize]: core.String, + right: core.String, + [$right]: core.String, + rtlOrdering: core.String, + [S$0.$rtlOrdering]: core.String, + rubyPosition: core.String, + [S$0.$rubyPosition]: core.String, + scrollBehavior: core.String, + [S$0.$scrollBehavior]: core.String, + shapeImageThreshold: core.String, + [S$0.$shapeImageThreshold]: core.String, + shapeMargin: core.String, + [S$0.$shapeMargin]: core.String, + shapeOutside: core.String, + [S$0.$shapeOutside]: core.String, + size: core.String, + [S$.$size]: core.String, + speak: core.String, + [S$0.$speak]: core.String, + src: core.String, + [S$.$src]: core.String, + tabSize: core.String, + [S$0.$tabSize]: core.String, + tableLayout: core.String, + [S$0.$tableLayout]: core.String, + tapHighlightColor: core.String, + [S$0.$tapHighlightColor]: core.String, + textAlign: core.String, + [S$.$textAlign]: core.String, + textAlignLast: core.String, + [S$0.$textAlignLast]: core.String, + textCombine: core.String, + [S$0.$textCombine]: core.String, + textDecoration: core.String, + [S$0.$textDecoration]: core.String, + textDecorationColor: core.String, + [S$0.$textDecorationColor]: core.String, + textDecorationLine: core.String, + [S$0.$textDecorationLine]: core.String, + textDecorationStyle: core.String, + [S$0.$textDecorationStyle]: core.String, + textDecorationsInEffect: core.String, + [S$0.$textDecorationsInEffect]: core.String, + textEmphasis: core.String, + [S$0.$textEmphasis]: core.String, + textEmphasisColor: core.String, + [S$0.$textEmphasisColor]: core.String, + textEmphasisPosition: core.String, + [S$0.$textEmphasisPosition]: core.String, + textEmphasisStyle: core.String, + [S$0.$textEmphasisStyle]: core.String, + textFillColor: core.String, + [S$0.$textFillColor]: core.String, + textIndent: core.String, + [S$0.$textIndent]: core.String, + textJustify: core.String, + [S$0.$textJustify]: core.String, + textLineThroughColor: core.String, + [S$0.$textLineThroughColor]: core.String, + textLineThroughMode: core.String, + [S$0.$textLineThroughMode]: core.String, + textLineThroughStyle: core.String, + [S$0.$textLineThroughStyle]: core.String, + textLineThroughWidth: core.String, + [S$0.$textLineThroughWidth]: core.String, + textOrientation: core.String, + [S$0.$textOrientation]: core.String, + textOverflow: core.String, + [S$0.$textOverflow]: core.String, + textOverlineColor: core.String, + [S$0.$textOverlineColor]: core.String, + textOverlineMode: core.String, + [S$0.$textOverlineMode]: core.String, + textOverlineStyle: core.String, + [S$0.$textOverlineStyle]: core.String, + textOverlineWidth: core.String, + [S$0.$textOverlineWidth]: core.String, + textRendering: core.String, + [S$0.$textRendering]: core.String, + textSecurity: core.String, + [S$0.$textSecurity]: core.String, + textShadow: core.String, + [S$0.$textShadow]: core.String, + textStroke: core.String, + [S$0.$textStroke]: core.String, + textStrokeColor: core.String, + [S$0.$textStrokeColor]: core.String, + textStrokeWidth: core.String, + [S$0.$textStrokeWidth]: core.String, + textTransform: core.String, + [S$0.$textTransform]: core.String, + textUnderlineColor: core.String, + [S$0.$textUnderlineColor]: core.String, + textUnderlineMode: core.String, + [S$0.$textUnderlineMode]: core.String, + textUnderlinePosition: core.String, + [S$0.$textUnderlinePosition]: core.String, + textUnderlineStyle: core.String, + [S$0.$textUnderlineStyle]: core.String, + textUnderlineWidth: core.String, + [S$0.$textUnderlineWidth]: core.String, + top: core.String, + [$top]: core.String, + touchAction: core.String, + [S$0.$touchAction]: core.String, + touchActionDelay: core.String, + [S$0.$touchActionDelay]: core.String, + transform: core.String, + [S$.$transform]: core.String, + transformOrigin: core.String, + [S$0.$transformOrigin]: core.String, + transformOriginX: core.String, + [S$0.$transformOriginX]: core.String, + transformOriginY: core.String, + [S$0.$transformOriginY]: core.String, + transformOriginZ: core.String, + [S$0.$transformOriginZ]: core.String, + transformStyle: core.String, + [S$0.$transformStyle]: core.String, + transition: core.String, + [S$0.$transition]: core.String, + transitionDelay: core.String, + [S$0.$transitionDelay]: core.String, + transitionDuration: core.String, + [S$0.$transitionDuration]: core.String, + transitionProperty: core.String, + [S$0.$transitionProperty]: core.String, + transitionTimingFunction: core.String, + [S$0.$transitionTimingFunction]: core.String, + unicodeBidi: core.String, + [S$0.$unicodeBidi]: core.String, + unicodeRange: core.String, + [S$0.$unicodeRange]: core.String, + userDrag: core.String, + [S$0.$userDrag]: core.String, + userModify: core.String, + [S$0.$userModify]: core.String, + userSelect: core.String, + [S$0.$userSelect]: core.String, + userZoom: core.String, + [S$0.$userZoom]: core.String, + verticalAlign: core.String, + [S$0.$verticalAlign]: core.String, + visibility: core.String, + [S$0.$visibility]: core.String, + whiteSpace: core.String, + [S$0.$whiteSpace]: core.String, + widows: core.String, + [S$0.$widows]: core.String, + width: core.String, + [$width]: core.String, + willChange: core.String, + [S$0.$willChange]: core.String, + wordBreak: core.String, + [S$0.$wordBreak]: core.String, + wordSpacing: core.String, + [S$0.$wordSpacing]: core.String, + wordWrap: core.String, + [S$0.$wordWrap]: core.String, + wrapFlow: core.String, + [S$0.$wrapFlow]: core.String, + wrapThrough: core.String, + [S$0.$wrapThrough]: core.String, + writingMode: core.String, + [S$0.$writingMode]: core.String, + zIndex: core.String, + [S$0.$zIndex]: core.String, + zoom: core.String, + [S$0.$zoom]: core.String +})); +dart.setLibraryUri(html$.CssStyleDeclarationBase, I[148]); +dart.defineExtensionAccessors(html$.CssStyleDeclarationBase, [ + 'alignContent', + 'alignItems', + 'alignSelf', + 'animation', + 'animationDelay', + 'animationDirection', + 'animationDuration', + 'animationFillMode', + 'animationIterationCount', + 'animationName', + 'animationPlayState', + 'animationTimingFunction', + 'appRegion', + 'appearance', + 'aspectRatio', + 'backfaceVisibility', + 'background', + 'backgroundAttachment', + 'backgroundBlendMode', + 'backgroundClip', + 'backgroundColor', + 'backgroundComposite', + 'backgroundImage', + 'backgroundOrigin', + 'backgroundPosition', + 'backgroundPositionX', + 'backgroundPositionY', + 'backgroundRepeat', + 'backgroundRepeatX', + 'backgroundRepeatY', + 'backgroundSize', + 'border', + 'borderAfter', + 'borderAfterColor', + 'borderAfterStyle', + 'borderAfterWidth', + 'borderBefore', + 'borderBeforeColor', + 'borderBeforeStyle', + 'borderBeforeWidth', + 'borderBottom', + 'borderBottomColor', + 'borderBottomLeftRadius', + 'borderBottomRightRadius', + 'borderBottomStyle', + 'borderBottomWidth', + 'borderCollapse', + 'borderColor', + 'borderEnd', + 'borderEndColor', + 'borderEndStyle', + 'borderEndWidth', + 'borderFit', + 'borderHorizontalSpacing', + 'borderImage', + 'borderImageOutset', + 'borderImageRepeat', + 'borderImageSlice', + 'borderImageSource', + 'borderImageWidth', + 'borderLeft', + 'borderLeftColor', + 'borderLeftStyle', + 'borderLeftWidth', + 'borderRadius', + 'borderRight', + 'borderRightColor', + 'borderRightStyle', + 'borderRightWidth', + 'borderSpacing', + 'borderStart', + 'borderStartColor', + 'borderStartStyle', + 'borderStartWidth', + 'borderStyle', + 'borderTop', + 'borderTopColor', + 'borderTopLeftRadius', + 'borderTopRightRadius', + 'borderTopStyle', + 'borderTopWidth', + 'borderVerticalSpacing', + 'borderWidth', + 'bottom', + 'boxAlign', + 'boxDecorationBreak', + 'boxDirection', + 'boxFlex', + 'boxFlexGroup', + 'boxLines', + 'boxOrdinalGroup', + 'boxOrient', + 'boxPack', + 'boxReflect', + 'boxShadow', + 'boxSizing', + 'captionSide', + 'clear', + 'clip', + 'clipPath', + 'color', + 'columnBreakAfter', + 'columnBreakBefore', + 'columnBreakInside', + 'columnCount', + 'columnFill', + 'columnGap', + 'columnRule', + 'columnRuleColor', + 'columnRuleStyle', + 'columnRuleWidth', + 'columnSpan', + 'columnWidth', + 'columns', + 'content', + 'counterIncrement', + 'counterReset', + 'cursor', + 'direction', + 'display', + 'emptyCells', + 'filter', + 'flex', + 'flexBasis', + 'flexDirection', + 'flexFlow', + 'flexGrow', + 'flexShrink', + 'flexWrap', + 'float', + 'font', + 'fontFamily', + 'fontFeatureSettings', + 'fontKerning', + 'fontSize', + 'fontSizeDelta', + 'fontSmoothing', + 'fontStretch', + 'fontStyle', + 'fontVariant', + 'fontVariantLigatures', + 'fontWeight', + 'grid', + 'gridArea', + 'gridAutoColumns', + 'gridAutoFlow', + 'gridAutoRows', + 'gridColumn', + 'gridColumnEnd', + 'gridColumnStart', + 'gridRow', + 'gridRowEnd', + 'gridRowStart', + 'gridTemplate', + 'gridTemplateAreas', + 'gridTemplateColumns', + 'gridTemplateRows', + 'height', + 'highlight', + 'hyphenateCharacter', + 'imageRendering', + 'isolation', + 'justifyContent', + 'justifySelf', + 'left', + 'letterSpacing', + 'lineBoxContain', + 'lineBreak', + 'lineClamp', + 'lineHeight', + 'listStyle', + 'listStyleImage', + 'listStylePosition', + 'listStyleType', + 'locale', + 'logicalHeight', + 'logicalWidth', + 'margin', + 'marginAfter', + 'marginAfterCollapse', + 'marginBefore', + 'marginBeforeCollapse', + 'marginBottom', + 'marginBottomCollapse', + 'marginCollapse', + 'marginEnd', + 'marginLeft', + 'marginRight', + 'marginStart', + 'marginTop', + 'marginTopCollapse', + 'mask', + 'maskBoxImage', + 'maskBoxImageOutset', + 'maskBoxImageRepeat', + 'maskBoxImageSlice', + 'maskBoxImageSource', + 'maskBoxImageWidth', + 'maskClip', + 'maskComposite', + 'maskImage', + 'maskOrigin', + 'maskPosition', + 'maskPositionX', + 'maskPositionY', + 'maskRepeat', + 'maskRepeatX', + 'maskRepeatY', + 'maskSize', + 'maskSourceType', + 'maxHeight', + 'maxLogicalHeight', + 'maxLogicalWidth', + 'maxWidth', + 'maxZoom', + 'minHeight', + 'minLogicalHeight', + 'minLogicalWidth', + 'minWidth', + 'minZoom', + 'mixBlendMode', + 'objectFit', + 'objectPosition', + 'opacity', + 'order', + 'orientation', + 'orphans', + 'outline', + 'outlineColor', + 'outlineOffset', + 'outlineStyle', + 'outlineWidth', + 'overflow', + 'overflowWrap', + 'overflowX', + 'overflowY', + 'padding', + 'paddingAfter', + 'paddingBefore', + 'paddingBottom', + 'paddingEnd', + 'paddingLeft', + 'paddingRight', + 'paddingStart', + 'paddingTop', + 'page', + 'pageBreakAfter', + 'pageBreakBefore', + 'pageBreakInside', + 'perspective', + 'perspectiveOrigin', + 'perspectiveOriginX', + 'perspectiveOriginY', + 'pointerEvents', + 'position', + 'printColorAdjust', + 'quotes', + 'resize', + 'right', + 'rtlOrdering', + 'rubyPosition', + 'scrollBehavior', + 'shapeImageThreshold', + 'shapeMargin', + 'shapeOutside', + 'size', + 'speak', + 'src', + 'tabSize', + 'tableLayout', + 'tapHighlightColor', + 'textAlign', + 'textAlignLast', + 'textCombine', + 'textDecoration', + 'textDecorationColor', + 'textDecorationLine', + 'textDecorationStyle', + 'textDecorationsInEffect', + 'textEmphasis', + 'textEmphasisColor', + 'textEmphasisPosition', + 'textEmphasisStyle', + 'textFillColor', + 'textIndent', + 'textJustify', + 'textLineThroughColor', + 'textLineThroughMode', + 'textLineThroughStyle', + 'textLineThroughWidth', + 'textOrientation', + 'textOverflow', + 'textOverlineColor', + 'textOverlineMode', + 'textOverlineStyle', + 'textOverlineWidth', + 'textRendering', + 'textSecurity', + 'textShadow', + 'textStroke', + 'textStrokeColor', + 'textStrokeWidth', + 'textTransform', + 'textUnderlineColor', + 'textUnderlineMode', + 'textUnderlinePosition', + 'textUnderlineStyle', + 'textUnderlineWidth', + 'top', + 'touchAction', + 'touchActionDelay', + 'transform', + 'transformOrigin', + 'transformOriginX', + 'transformOriginY', + 'transformOriginZ', + 'transformStyle', + 'transition', + 'transitionDelay', + 'transitionDuration', + 'transitionProperty', + 'transitionTimingFunction', + 'unicodeBidi', + 'unicodeRange', + 'userDrag', + 'userModify', + 'userSelect', + 'userZoom', + 'verticalAlign', + 'visibility', + 'whiteSpace', + 'widows', + 'width', + 'willChange', + 'wordBreak', + 'wordSpacing', + 'wordWrap', + 'wrapFlow', + 'wrapThrough', + 'writingMode', + 'zIndex', + 'zoom' +]); +const Interceptor_CssStyleDeclarationBase$36 = class Interceptor_CssStyleDeclarationBase extends _interceptors.Interceptor {}; +(Interceptor_CssStyleDeclarationBase$36.new = function() { + Interceptor_CssStyleDeclarationBase$36.__proto__.new.call(this); +}).prototype = Interceptor_CssStyleDeclarationBase$36.prototype; +dart.applyMixin(Interceptor_CssStyleDeclarationBase$36, html$.CssStyleDeclarationBase); +html$.CssStyleDeclaration = class CssStyleDeclaration extends Interceptor_CssStyleDeclarationBase$36 { + static new() { + return html$.CssStyleDeclaration.css(""); + } + static css(css) { + if (css == null) dart.nullFailed(I[147], 3963, 42, "css"); + let style = html$.DivElement.new().style; + style.cssText = css; + return style; + } + [S$.$getPropertyValue](propertyName) { + if (propertyName == null) dart.nullFailed(I[147], 3974, 34, "propertyName"); + return this[S$._getPropertyValueHelper](propertyName); + } + [S$._getPropertyValueHelper](propertyName) { + if (propertyName == null) dart.nullFailed(I[147], 3978, 41, "propertyName"); + return this[S$._getPropertyValue](this[S$._browserPropertyName](propertyName)); + } + [S$.$supportsProperty](propertyName) { + if (propertyName == null) dart.nullFailed(I[147], 3990, 32, "propertyName"); + return dart.test(this[S$._supportsProperty](propertyName)) || dart.test(this[S$._supportsProperty](html$.CssStyleDeclaration._camelCase(dart.str(html_common.Device.cssPrefix) + dart.str(propertyName)))); + } + [S$._supportsProperty](propertyName) { + if (propertyName == null) dart.nullFailed(I[147], 3995, 33, "propertyName"); + return propertyName in this; + } + [S$.$setProperty](propertyName, value, priority = null) { + if (propertyName == null) dart.nullFailed(I[147], 3999, 27, "propertyName"); + return this[S$._setPropertyHelper](this[S$._browserPropertyName](propertyName), value, priority); + } + [S$._browserPropertyName](propertyName) { + if (propertyName == null) dart.nullFailed(I[147], 4004, 38, "propertyName"); + let name = html$.CssStyleDeclaration._readCache(propertyName); + if (typeof name == 'string') return name; + name = this[S$._supportedBrowserPropertyName](propertyName); + html$.CssStyleDeclaration._writeCache(propertyName, name); + return name; + } + [S$._supportedBrowserPropertyName](propertyName) { + if (propertyName == null) dart.nullFailed(I[147], 4012, 47, "propertyName"); + if (dart.test(this[S$._supportsProperty](html$.CssStyleDeclaration._camelCase(propertyName)))) { + return propertyName; + } + let prefixed = dart.str(html_common.Device.cssPrefix) + dart.str(propertyName); + if (dart.test(this[S$._supportsProperty](prefixed))) { + return prefixed; + } + return propertyName; + } + static _readCache(key) { + if (key == null) dart.nullFailed(I[147], 4025, 36, "key"); + return html$.CssStyleDeclaration._propertyCache[key]; + } + static _writeCache(key, value) { + if (key == null) dart.nullFailed(I[147], 4027, 34, "key"); + if (value == null) dart.nullFailed(I[147], 4027, 46, "value"); + html$.CssStyleDeclaration._propertyCache[key] = value; + } + static _camelCase(hyphenated) { + if (hyphenated == null) dart.nullFailed(I[147], 4031, 35, "hyphenated"); + let replacedMs = hyphenated.replace(/^-ms-/, "ms-"); + return replacedMs.replace(/-([\da-z])/ig, function(_, letter) { + return letter.toUpperCase(); + }); + } + [S$._setPropertyHelper](propertyName, value, priority = null) { + if (propertyName == null) dart.nullFailed(I[147], 4040, 34, "propertyName"); + if (value == null) value = ""; + if (priority == null) priority = ""; + this.setProperty(propertyName, value, priority); + } + static get supportsTransitions() { + return dart.nullCheck(html$.document.body).style[S$.$supportsProperty]("transition"); + } + get [S$.$cssFloat]() { + return this.cssFloat; + } + set [S$.$cssFloat](value) { + this.cssFloat = value; + } + get [S$.$cssText]() { + return this.cssText; + } + set [S$.$cssText](value) { + this.cssText = value; + } + get [$length]() { + return this.length; + } + get [S$.$parentRule]() { + return this.parentRule; + } + [S$.$getPropertyPriority](...args) { + return this.getPropertyPriority.apply(this, args); + } + [S$._getPropertyValue](...args) { + return this.getPropertyValue.apply(this, args); + } + [S$.$item](...args) { + return this.item.apply(this, args); + } + [S$.$removeProperty](...args) { + return this.removeProperty.apply(this, args); + } + get [S$.$background]() { + return this[S$._background]; + } + set [S$.$background](value) { + this[S$._background] = value == null ? "" : value; + } + get [S$._background]() { + return this.background; + } + set [S$._background](value) { + this.background = value; + } + get [S$.$backgroundAttachment]() { + return this[S$._backgroundAttachment]; + } + set [S$.$backgroundAttachment](value) { + this[S$._backgroundAttachment] = value == null ? "" : value; + } + get [S$._backgroundAttachment]() { + return this.backgroundAttachment; + } + set [S$._backgroundAttachment](value) { + this.backgroundAttachment = value; + } + get [S$.$backgroundColor]() { + return this[S$._backgroundColor]; + } + set [S$.$backgroundColor](value) { + this[S$._backgroundColor] = value == null ? "" : value; + } + get [S$._backgroundColor]() { + return this.backgroundColor; + } + set [S$._backgroundColor](value) { + this.backgroundColor = value; + } + get [S$.$backgroundImage]() { + return this[S$._backgroundImage]; + } + set [S$.$backgroundImage](value) { + this[S$._backgroundImage] = value == null ? "" : value; + } + get [S$._backgroundImage]() { + return this.backgroundImage; + } + set [S$._backgroundImage](value) { + this.backgroundImage = value; + } + get [S$.$backgroundPosition]() { + return this[S$._backgroundPosition]; + } + set [S$.$backgroundPosition](value) { + this[S$._backgroundPosition] = value == null ? "" : value; + } + get [S$._backgroundPosition]() { + return this.backgroundPosition; + } + set [S$._backgroundPosition](value) { + this.backgroundPosition = value; + } + get [S$.$backgroundRepeat]() { + return this[S$._backgroundRepeat]; + } + set [S$.$backgroundRepeat](value) { + this[S$._backgroundRepeat] = value == null ? "" : value; + } + get [S$._backgroundRepeat]() { + return this.backgroundRepeat; + } + set [S$._backgroundRepeat](value) { + this.backgroundRepeat = value; + } + get [S$.$border]() { + return this[S$._border]; + } + set [S$.$border](value) { + this[S$._border] = value == null ? "" : value; + } + get [S$._border]() { + return this.border; + } + set [S$._border](value) { + this.border = value; + } + get [S$.$borderBottom]() { + return this[S$._borderBottom]; + } + set [S$.$borderBottom](value) { + this[S$._borderBottom] = value == null ? "" : value; + } + get [S$._borderBottom]() { + return this.borderBottom; + } + set [S$._borderBottom](value) { + this.borderBottom = value; + } + get [S$.$borderBottomColor]() { + return this[S$._borderBottomColor]; + } + set [S$.$borderBottomColor](value) { + this[S$._borderBottomColor] = value == null ? "" : value; + } + get [S$._borderBottomColor]() { + return this.borderBottomColor; + } + set [S$._borderBottomColor](value) { + this.borderBottomColor = value; + } + get [S$.$borderBottomStyle]() { + return this[S$._borderBottomStyle]; + } + set [S$.$borderBottomStyle](value) { + this[S$._borderBottomStyle] = value == null ? "" : value; + } + get [S$._borderBottomStyle]() { + return this.borderBottomStyle; + } + set [S$._borderBottomStyle](value) { + this.borderBottomStyle = value; + } + get [S$.$borderBottomWidth]() { + return this[S$._borderBottomWidth]; + } + set [S$.$borderBottomWidth](value) { + this[S$._borderBottomWidth] = value == null ? "" : value; + } + get [S$._borderBottomWidth]() { + return this.borderBottomWidth; + } + set [S$._borderBottomWidth](value) { + this.borderBottomWidth = value; + } + get [S$.$borderCollapse]() { + return this[S$._borderCollapse]; + } + set [S$.$borderCollapse](value) { + this[S$._borderCollapse] = value == null ? "" : value; + } + get [S$._borderCollapse]() { + return this.borderCollapse; + } + set [S$._borderCollapse](value) { + this.borderCollapse = value; + } + get [S$.$borderColor]() { + return this[S$._borderColor]; + } + set [S$.$borderColor](value) { + this[S$._borderColor] = value == null ? "" : value; + } + get [S$._borderColor]() { + return this.borderColor; + } + set [S$._borderColor](value) { + this.borderColor = value; + } + get [S$.$borderLeft]() { + return this[S$._borderLeft]; + } + set [S$.$borderLeft](value) { + this[S$._borderLeft] = value == null ? "" : value; + } + get [S$._borderLeft]() { + return this.borderLeft; + } + set [S$._borderLeft](value) { + this.borderLeft = value; + } + get [S$.$borderLeftColor]() { + return this[S$._borderLeftColor]; + } + set [S$.$borderLeftColor](value) { + this[S$._borderLeftColor] = value == null ? "" : value; + } + get [S$._borderLeftColor]() { + return this.borderLeftColor; + } + set [S$._borderLeftColor](value) { + this.borderLeftColor = value; + } + get [S$.$borderLeftStyle]() { + return this[S$._borderLeftStyle]; + } + set [S$.$borderLeftStyle](value) { + this[S$._borderLeftStyle] = value == null ? "" : value; + } + get [S$._borderLeftStyle]() { + return this.borderLeftStyle; + } + set [S$._borderLeftStyle](value) { + this.borderLeftStyle = value; + } + get [S$.$borderLeftWidth]() { + return this[S$._borderLeftWidth]; + } + set [S$.$borderLeftWidth](value) { + this[S$._borderLeftWidth] = value == null ? "" : value; + } + get [S$._borderLeftWidth]() { + return this.borderLeftWidth; + } + set [S$._borderLeftWidth](value) { + this.borderLeftWidth = value; + } + get [S$.$borderRight]() { + return this[S$._borderRight]; + } + set [S$.$borderRight](value) { + this[S$._borderRight] = value == null ? "" : value; + } + get [S$._borderRight]() { + return this.borderRight; + } + set [S$._borderRight](value) { + this.borderRight = value; + } + get [S$.$borderRightColor]() { + return this[S$._borderRightColor]; + } + set [S$.$borderRightColor](value) { + this[S$._borderRightColor] = value == null ? "" : value; + } + get [S$._borderRightColor]() { + return this.borderRightColor; + } + set [S$._borderRightColor](value) { + this.borderRightColor = value; + } + get [S$.$borderRightStyle]() { + return this[S$._borderRightStyle]; + } + set [S$.$borderRightStyle](value) { + this[S$._borderRightStyle] = value == null ? "" : value; + } + get [S$._borderRightStyle]() { + return this.borderRightStyle; + } + set [S$._borderRightStyle](value) { + this.borderRightStyle = value; + } + get [S$0.$borderRightWidth]() { + return this[S$._borderRightWidth]; + } + set [S$0.$borderRightWidth](value) { + this[S$._borderRightWidth] = value == null ? "" : value; + } + get [S$._borderRightWidth]() { + return this.borderRightWidth; + } + set [S$._borderRightWidth](value) { + this.borderRightWidth = value; + } + get [S$0.$borderSpacing]() { + return this[S$0._borderSpacing]; + } + set [S$0.$borderSpacing](value) { + this[S$0._borderSpacing] = value == null ? "" : value; + } + get [S$0._borderSpacing]() { + return this.borderSpacing; + } + set [S$0._borderSpacing](value) { + this.borderSpacing = value; + } + get [S$0.$borderStyle]() { + return this[S$0._borderStyle]; + } + set [S$0.$borderStyle](value) { + this[S$0._borderStyle] = value == null ? "" : value; + } + get [S$0._borderStyle]() { + return this.borderStyle; + } + set [S$0._borderStyle](value) { + this.borderStyle = value; + } + get [S$0.$borderTop]() { + return this[S$0._borderTop]; + } + set [S$0.$borderTop](value) { + this[S$0._borderTop] = value == null ? "" : value; + } + get [S$0._borderTop]() { + return this.borderTop; + } + set [S$0._borderTop](value) { + this.borderTop = value; + } + get [S$0.$borderTopColor]() { + return this[S$0._borderTopColor]; + } + set [S$0.$borderTopColor](value) { + this[S$0._borderTopColor] = value == null ? "" : value; + } + get [S$0._borderTopColor]() { + return this.borderTopColor; + } + set [S$0._borderTopColor](value) { + this.borderTopColor = value; + } + get [S$0.$borderTopStyle]() { + return this[S$0._borderTopStyle]; + } + set [S$0.$borderTopStyle](value) { + this[S$0._borderTopStyle] = value == null ? "" : value; + } + get [S$0._borderTopStyle]() { + return this.borderTopStyle; + } + set [S$0._borderTopStyle](value) { + this.borderTopStyle = value; + } + get [S$0.$borderTopWidth]() { + return this[S$0._borderTopWidth]; + } + set [S$0.$borderTopWidth](value) { + this[S$0._borderTopWidth] = value == null ? "" : value; + } + get [S$0._borderTopWidth]() { + return this.borderTopWidth; + } + set [S$0._borderTopWidth](value) { + this.borderTopWidth = value; + } + get [S$0.$borderWidth]() { + return this[S$0._borderWidth]; + } + set [S$0.$borderWidth](value) { + this[S$0._borderWidth] = value == null ? "" : value; + } + get [S$0._borderWidth]() { + return this.borderWidth; + } + set [S$0._borderWidth](value) { + this.borderWidth = value; + } + get [$bottom]() { + return this[S$0._bottom]; + } + set [$bottom](value) { + this[S$0._bottom] = value == null ? "" : value; + } + get [S$0._bottom]() { + return this.bottom; + } + set [S$0._bottom](value) { + this.bottom = value; + } + get [S$0.$captionSide]() { + return this[S$0._captionSide]; + } + set [S$0.$captionSide](value) { + this[S$0._captionSide] = value == null ? "" : value; + } + get [S$0._captionSide]() { + return this.captionSide; + } + set [S$0._captionSide](value) { + this.captionSide = value; + } + get [$clear]() { + return this[S$0._clear$3]; + } + set [$clear](value) { + this[S$0._clear$3] = value == null ? "" : value; + } + get [S$0._clear$3]() { + return this.clear; + } + set [S$0._clear$3](value) { + this.clear = value; + } + get [S$.$clip]() { + return this[S$0._clip]; + } + set [S$.$clip](value) { + this[S$0._clip] = value == null ? "" : value; + } + get [S$0._clip]() { + return this.clip; + } + set [S$0._clip](value) { + this.clip = value; + } + get [S$0.$color]() { + return this[S$0._color]; + } + set [S$0.$color](value) { + this[S$0._color] = value == null ? "" : value; + } + get [S$0._color]() { + return this.color; + } + set [S$0._color](value) { + this.color = value; + } + get [S$0.$content]() { + return this[S$0._content]; + } + set [S$0.$content](value) { + this[S$0._content] = value == null ? "" : value; + } + get [S$0._content]() { + return this.content; + } + set [S$0._content](value) { + this.content = value; + } + get [S$0.$cursor]() { + return this[S$0._cursor]; + } + set [S$0.$cursor](value) { + this[S$0._cursor] = value == null ? "" : value; + } + get [S$0._cursor]() { + return this.cursor; + } + set [S$0._cursor](value) { + this.cursor = value; + } + get [S.$direction]() { + return this[S$0._direction]; + } + set [S.$direction](value) { + this[S$0._direction] = value == null ? "" : value; + } + get [S$0._direction]() { + return this.direction; + } + set [S$0._direction](value) { + this.direction = value; + } + get [S$0.$display]() { + return this[S$0._display]; + } + set [S$0.$display](value) { + this[S$0._display] = value == null ? "" : value; + } + get [S$0._display]() { + return this.display; + } + set [S$0._display](value) { + this.display = value; + } + get [S$0.$emptyCells]() { + return this[S$0._emptyCells]; + } + set [S$0.$emptyCells](value) { + this[S$0._emptyCells] = value == null ? "" : value; + } + get [S$0._emptyCells]() { + return this.emptyCells; + } + set [S$0._emptyCells](value) { + this.emptyCells = value; + } + get [S$.$font]() { + return this[S$0._font]; + } + set [S$.$font](value) { + this[S$0._font] = value == null ? "" : value; + } + get [S$0._font]() { + return this.font; + } + set [S$0._font](value) { + this.font = value; + } + get [S$0.$fontFamily]() { + return this[S$0._fontFamily]; + } + set [S$0.$fontFamily](value) { + this[S$0._fontFamily] = value == null ? "" : value; + } + get [S$0._fontFamily]() { + return this.fontFamily; + } + set [S$0._fontFamily](value) { + this.fontFamily = value; + } + get [S$0.$fontSize]() { + return this[S$0._fontSize]; + } + set [S$0.$fontSize](value) { + this[S$0._fontSize] = value == null ? "" : value; + } + get [S$0._fontSize]() { + return this.fontSize; + } + set [S$0._fontSize](value) { + this.fontSize = value; + } + get [S$0.$fontStyle]() { + return this[S$0._fontStyle]; + } + set [S$0.$fontStyle](value) { + this[S$0._fontStyle] = value == null ? "" : value; + } + get [S$0._fontStyle]() { + return this.fontStyle; + } + set [S$0._fontStyle](value) { + this.fontStyle = value; + } + get [S$0.$fontVariant]() { + return this[S$0._fontVariant]; + } + set [S$0.$fontVariant](value) { + this[S$0._fontVariant] = value == null ? "" : value; + } + get [S$0._fontVariant]() { + return this.fontVariant; + } + set [S$0._fontVariant](value) { + this.fontVariant = value; + } + get [S$0.$fontWeight]() { + return this[S$0._fontWeight]; + } + set [S$0.$fontWeight](value) { + this[S$0._fontWeight] = value == null ? "" : value; + } + get [S$0._fontWeight]() { + return this.fontWeight; + } + set [S$0._fontWeight](value) { + this.fontWeight = value; + } + get [$height]() { + return this[S$0._height$1]; + } + set [$height](value) { + this[S$0._height$1] = value == null ? "" : value; + } + get [S$0._height$1]() { + return this.height; + } + set [S$0._height$1](value) { + this.height = value; + } + get [$left]() { + return this[S$0._left$2]; + } + set [$left](value) { + this[S$0._left$2] = value == null ? "" : value; + } + get [S$0._left$2]() { + return this.left; + } + set [S$0._left$2](value) { + this.left = value; + } + get [S$0.$letterSpacing]() { + return this[S$0._letterSpacing]; + } + set [S$0.$letterSpacing](value) { + this[S$0._letterSpacing] = value == null ? "" : value; + } + get [S$0._letterSpacing]() { + return this.letterSpacing; + } + set [S$0._letterSpacing](value) { + this.letterSpacing = value; + } + get [S$0.$lineHeight]() { + return this[S$0._lineHeight]; + } + set [S$0.$lineHeight](value) { + this[S$0._lineHeight] = value == null ? "" : value; + } + get [S$0._lineHeight]() { + return this.lineHeight; + } + set [S$0._lineHeight](value) { + this.lineHeight = value; + } + get [S$0.$listStyle]() { + return this[S$0._listStyle]; + } + set [S$0.$listStyle](value) { + this[S$0._listStyle] = value == null ? "" : value; + } + get [S$0._listStyle]() { + return this.listStyle; + } + set [S$0._listStyle](value) { + this.listStyle = value; + } + get [S$0.$listStyleImage]() { + return this[S$0._listStyleImage]; + } + set [S$0.$listStyleImage](value) { + this[S$0._listStyleImage] = value == null ? "" : value; + } + get [S$0._listStyleImage]() { + return this.listStyleImage; + } + set [S$0._listStyleImage](value) { + this.listStyleImage = value; + } + get [S$0.$listStylePosition]() { + return this[S$0._listStylePosition]; + } + set [S$0.$listStylePosition](value) { + this[S$0._listStylePosition] = value == null ? "" : value; + } + get [S$0._listStylePosition]() { + return this.listStylePosition; + } + set [S$0._listStylePosition](value) { + this.listStylePosition = value; + } + get [S$0.$listStyleType]() { + return this[S$0._listStyleType]; + } + set [S$0.$listStyleType](value) { + this[S$0._listStyleType] = value == null ? "" : value; + } + get [S$0._listStyleType]() { + return this.listStyleType; + } + set [S$0._listStyleType](value) { + this.listStyleType = value; + } + get [S$0.$margin]() { + return this[S$0._margin]; + } + set [S$0.$margin](value) { + this[S$0._margin] = value == null ? "" : value; + } + get [S$0._margin]() { + return this.margin; + } + set [S$0._margin](value) { + this.margin = value; + } + get [S$0.$marginBottom]() { + return this[S$0._marginBottom]; + } + set [S$0.$marginBottom](value) { + this[S$0._marginBottom] = value == null ? "" : value; + } + get [S$0._marginBottom]() { + return this.marginBottom; + } + set [S$0._marginBottom](value) { + this.marginBottom = value; + } + get [S$0.$marginLeft]() { + return this[S$0._marginLeft]; + } + set [S$0.$marginLeft](value) { + this[S$0._marginLeft] = value == null ? "" : value; + } + get [S$0._marginLeft]() { + return this.marginLeft; + } + set [S$0._marginLeft](value) { + this.marginLeft = value; + } + get [S$0.$marginRight]() { + return this[S$0._marginRight]; + } + set [S$0.$marginRight](value) { + this[S$0._marginRight] = value == null ? "" : value; + } + get [S$0._marginRight]() { + return this.marginRight; + } + set [S$0._marginRight](value) { + this.marginRight = value; + } + get [S$0.$marginTop]() { + return this[S$0._marginTop]; + } + set [S$0.$marginTop](value) { + this[S$0._marginTop] = value == null ? "" : value; + } + get [S$0._marginTop]() { + return this.marginTop; + } + set [S$0._marginTop](value) { + this.marginTop = value; + } + get [S$0.$maxHeight]() { + return this[S$0._maxHeight]; + } + set [S$0.$maxHeight](value) { + this[S$0._maxHeight] = value == null ? "" : value; + } + get [S$0._maxHeight]() { + return this.maxHeight; + } + set [S$0._maxHeight](value) { + this.maxHeight = value; + } + get [S$0.$maxWidth]() { + return this[S$0._maxWidth]; + } + set [S$0.$maxWidth](value) { + this[S$0._maxWidth] = value == null ? "" : value; + } + get [S$0._maxWidth]() { + return this.maxWidth; + } + set [S$0._maxWidth](value) { + this.maxWidth = value; + } + get [S$0.$minHeight]() { + return this[S$0._minHeight]; + } + set [S$0.$minHeight](value) { + this[S$0._minHeight] = value == null ? "" : value; + } + get [S$0._minHeight]() { + return this.minHeight; + } + set [S$0._minHeight](value) { + this.minHeight = value; + } + get [S$0.$minWidth]() { + return this[S$0._minWidth]; + } + set [S$0.$minWidth](value) { + this[S$0._minWidth] = value == null ? "" : value; + } + get [S$0._minWidth]() { + return this.minWidth; + } + set [S$0._minWidth](value) { + this.minWidth = value; + } + get [S$0.$outline]() { + return this[S$0._outline]; + } + set [S$0.$outline](value) { + this[S$0._outline] = value == null ? "" : value; + } + get [S$0._outline]() { + return this.outline; + } + set [S$0._outline](value) { + this.outline = value; + } + get [S$0.$outlineColor]() { + return this[S$0._outlineColor]; + } + set [S$0.$outlineColor](value) { + this[S$0._outlineColor] = value == null ? "" : value; + } + get [S$0._outlineColor]() { + return this.outlineColor; + } + set [S$0._outlineColor](value) { + this.outlineColor = value; + } + get [S$0.$outlineStyle]() { + return this[S$0._outlineStyle]; + } + set [S$0.$outlineStyle](value) { + this[S$0._outlineStyle] = value == null ? "" : value; + } + get [S$0._outlineStyle]() { + return this.outlineStyle; + } + set [S$0._outlineStyle](value) { + this.outlineStyle = value; + } + get [S$0.$outlineWidth]() { + return this[S$0._outlineWidth]; + } + set [S$0.$outlineWidth](value) { + this[S$0._outlineWidth] = value == null ? "" : value; + } + get [S$0._outlineWidth]() { + return this.outlineWidth; + } + set [S$0._outlineWidth](value) { + this.outlineWidth = value; + } + get [S$0.$overflow]() { + return this[S$0._overflow]; + } + set [S$0.$overflow](value) { + this[S$0._overflow] = value == null ? "" : value; + } + get [S$0._overflow]() { + return this.overflow; + } + set [S$0._overflow](value) { + this.overflow = value; + } + get [S$0.$padding]() { + return this[S$0._padding]; + } + set [S$0.$padding](value) { + this[S$0._padding] = value == null ? "" : value; + } + get [S$0._padding]() { + return this.padding; + } + set [S$0._padding](value) { + this.padding = value; + } + get [S$0.$paddingBottom]() { + return this[S$0._paddingBottom]; + } + set [S$0.$paddingBottom](value) { + this[S$0._paddingBottom] = value == null ? "" : value; + } + get [S$0._paddingBottom]() { + return this.paddingBottom; + } + set [S$0._paddingBottom](value) { + this.paddingBottom = value; + } + get [S$0.$paddingLeft]() { + return this[S$0._paddingLeft]; + } + set [S$0.$paddingLeft](value) { + this[S$0._paddingLeft] = value == null ? "" : value; + } + get [S$0._paddingLeft]() { + return this.paddingLeft; + } + set [S$0._paddingLeft](value) { + this.paddingLeft = value; + } + get [S$0.$paddingRight]() { + return this[S$0._paddingRight]; + } + set [S$0.$paddingRight](value) { + this[S$0._paddingRight] = value == null ? "" : value; + } + get [S$0._paddingRight]() { + return this.paddingRight; + } + set [S$0._paddingRight](value) { + this.paddingRight = value; + } + get [S$0.$paddingTop]() { + return this[S$0._paddingTop]; + } + set [S$0.$paddingTop](value) { + this[S$0._paddingTop] = value == null ? "" : value; + } + get [S$0._paddingTop]() { + return this.paddingTop; + } + set [S$0._paddingTop](value) { + this.paddingTop = value; + } + get [S$0.$pageBreakAfter]() { + return this[S$0._pageBreakAfter]; + } + set [S$0.$pageBreakAfter](value) { + this[S$0._pageBreakAfter] = value == null ? "" : value; + } + get [S$0._pageBreakAfter]() { + return this.pageBreakAfter; + } + set [S$0._pageBreakAfter](value) { + this.pageBreakAfter = value; + } + get [S$0.$pageBreakBefore]() { + return this[S$0._pageBreakBefore]; + } + set [S$0.$pageBreakBefore](value) { + this[S$0._pageBreakBefore] = value == null ? "" : value; + } + get [S$0._pageBreakBefore]() { + return this.pageBreakBefore; + } + set [S$0._pageBreakBefore](value) { + this.pageBreakBefore = value; + } + get [S$0.$pageBreakInside]() { + return this[S$0._pageBreakInside]; + } + set [S$0.$pageBreakInside](value) { + this[S$0._pageBreakInside] = value == null ? "" : value; + } + get [S$0._pageBreakInside]() { + return this.pageBreakInside; + } + set [S$0._pageBreakInside](value) { + this.pageBreakInside = value; + } + get [S$0.$position]() { + return this[S$0._position$2]; + } + set [S$0.$position](value) { + this[S$0._position$2] = value == null ? "" : value; + } + get [S$0._position$2]() { + return this.position; + } + set [S$0._position$2](value) { + this.position = value; + } + get [S$0.$quotes]() { + return this[S$0._quotes]; + } + set [S$0.$quotes](value) { + this[S$0._quotes] = value == null ? "" : value; + } + get [S$0._quotes]() { + return this.quotes; + } + set [S$0._quotes](value) { + this.quotes = value; + } + get [$right]() { + return this[S$0._right$2]; + } + set [$right](value) { + this[S$0._right$2] = value == null ? "" : value; + } + get [S$0._right$2]() { + return this.right; + } + set [S$0._right$2](value) { + this.right = value; + } + get [S$0.$tableLayout]() { + return this[S$0._tableLayout]; + } + set [S$0.$tableLayout](value) { + this[S$0._tableLayout] = value == null ? "" : value; + } + get [S$0._tableLayout]() { + return this.tableLayout; + } + set [S$0._tableLayout](value) { + this.tableLayout = value; + } + get [S$.$textAlign]() { + return this[S$0._textAlign]; + } + set [S$.$textAlign](value) { + this[S$0._textAlign] = value == null ? "" : value; + } + get [S$0._textAlign]() { + return this.textAlign; + } + set [S$0._textAlign](value) { + this.textAlign = value; + } + get [S$0.$textDecoration]() { + return this[S$0._textDecoration]; + } + set [S$0.$textDecoration](value) { + this[S$0._textDecoration] = value == null ? "" : value; + } + get [S$0._textDecoration]() { + return this.textDecoration; + } + set [S$0._textDecoration](value) { + this.textDecoration = value; + } + get [S$0.$textIndent]() { + return this[S$0._textIndent]; + } + set [S$0.$textIndent](value) { + this[S$0._textIndent] = value == null ? "" : value; + } + get [S$0._textIndent]() { + return this.textIndent; + } + set [S$0._textIndent](value) { + this.textIndent = value; + } + get [S$0.$textTransform]() { + return this[S$0._textTransform]; + } + set [S$0.$textTransform](value) { + this[S$0._textTransform] = value == null ? "" : value; + } + get [S$0._textTransform]() { + return this.textTransform; + } + set [S$0._textTransform](value) { + this.textTransform = value; + } + get [$top]() { + return this[S$0._top]; + } + set [$top](value) { + this[S$0._top] = value == null ? "" : value; + } + get [S$0._top]() { + return this.top; + } + set [S$0._top](value) { + this.top = value; + } + get [S$0.$unicodeBidi]() { + return this[S$0._unicodeBidi]; + } + set [S$0.$unicodeBidi](value) { + this[S$0._unicodeBidi] = value == null ? "" : value; + } + get [S$0._unicodeBidi]() { + return this.unicodeBidi; + } + set [S$0._unicodeBidi](value) { + this.unicodeBidi = value; + } + get [S$0.$verticalAlign]() { + return this[S$0._verticalAlign]; + } + set [S$0.$verticalAlign](value) { + this[S$0._verticalAlign] = value == null ? "" : value; + } + get [S$0._verticalAlign]() { + return this.verticalAlign; + } + set [S$0._verticalAlign](value) { + this.verticalAlign = value; + } + get [S$0.$visibility]() { + return this[S$0._visibility]; + } + set [S$0.$visibility](value) { + this[S$0._visibility] = value == null ? "" : value; + } + get [S$0._visibility]() { + return this.visibility; + } + set [S$0._visibility](value) { + this.visibility = value; + } + get [S$0.$whiteSpace]() { + return this[S$0._whiteSpace]; + } + set [S$0.$whiteSpace](value) { + this[S$0._whiteSpace] = value == null ? "" : value; + } + get [S$0._whiteSpace]() { + return this.whiteSpace; + } + set [S$0._whiteSpace](value) { + this.whiteSpace = value; + } + get [$width]() { + return this[S$0._width$1]; + } + set [$width](value) { + this[S$0._width$1] = value == null ? "" : value; + } + get [S$0._width$1]() { + return this.width; + } + set [S$0._width$1](value) { + this.width = value; + } + get [S$0.$wordSpacing]() { + return this[S$0._wordSpacing]; + } + set [S$0.$wordSpacing](value) { + this[S$0._wordSpacing] = value == null ? "" : value; + } + get [S$0._wordSpacing]() { + return this.wordSpacing; + } + set [S$0._wordSpacing](value) { + this.wordSpacing = value; + } + get [S$0.$zIndex]() { + return this[S$0._zIndex]; + } + set [S$0.$zIndex](value) { + this[S$0._zIndex] = value == null ? "" : value; + } + get [S$0._zIndex]() { + return this.zIndex; + } + set [S$0._zIndex](value) { + this.zIndex = value; + } +}; +dart.addTypeTests(html$.CssStyleDeclaration); +dart.addTypeCaches(html$.CssStyleDeclaration); +dart.setMethodSignature(html$.CssStyleDeclaration, () => ({ + __proto__: dart.getMethods(html$.CssStyleDeclaration.__proto__), + [S$.$getPropertyValue]: dart.fnType(core.String, [core.String]), + [S$._getPropertyValueHelper]: dart.fnType(core.String, [core.String]), + [S$.$supportsProperty]: dart.fnType(core.bool, [core.String]), + [S$._supportsProperty]: dart.fnType(core.bool, [core.String]), + [S$.$setProperty]: dart.fnType(dart.void, [core.String, dart.nullable(core.String)], [dart.nullable(core.String)]), + [S$._browserPropertyName]: dart.fnType(core.String, [core.String]), + [S$._supportedBrowserPropertyName]: dart.fnType(core.String, [core.String]), + [S$._setPropertyHelper]: dart.fnType(dart.void, [core.String, dart.nullable(core.String)], [dart.nullable(core.String)]), + [S$.$getPropertyPriority]: dart.fnType(core.String, [core.String]), + [S$._getPropertyValue]: dart.fnType(core.String, [core.String]), + [S$.$item]: dart.fnType(core.String, [core.int]), + [S$.$removeProperty]: dart.fnType(core.String, [core.String]) +})); +dart.setGetterSignature(html$.CssStyleDeclaration, () => ({ + __proto__: dart.getGetters(html$.CssStyleDeclaration.__proto__), + [S$.$cssFloat]: dart.nullable(core.String), + [S$.$cssText]: dart.nullable(core.String), + [$length]: core.int, + [S$.$parentRule]: dart.nullable(html$.CssRule), + [S$._background]: core.String, + [S$._backgroundAttachment]: core.String, + [S$._backgroundColor]: core.String, + [S$._backgroundImage]: core.String, + [S$._backgroundPosition]: core.String, + [S$._backgroundRepeat]: core.String, + [S$._border]: core.String, + [S$._borderBottom]: core.String, + [S$._borderBottomColor]: core.String, + [S$._borderBottomStyle]: core.String, + [S$._borderBottomWidth]: core.String, + [S$._borderCollapse]: core.String, + [S$._borderColor]: core.String, + [S$._borderLeft]: core.String, + [S$._borderLeftColor]: core.String, + [S$._borderLeftStyle]: core.String, + [S$._borderLeftWidth]: core.String, + [S$._borderRight]: core.String, + [S$._borderRightColor]: core.String, + [S$._borderRightStyle]: core.String, + [S$._borderRightWidth]: core.String, + [S$0._borderSpacing]: core.String, + [S$0._borderStyle]: core.String, + [S$0._borderTop]: core.String, + [S$0._borderTopColor]: core.String, + [S$0._borderTopStyle]: core.String, + [S$0._borderTopWidth]: core.String, + [S$0._borderWidth]: core.String, + [S$0._bottom]: core.String, + [S$0._captionSide]: core.String, + [S$0._clear$3]: core.String, + [S$0._clip]: core.String, + [S$0._color]: core.String, + [S$0._content]: core.String, + [S$0._cursor]: core.String, + [S$0._direction]: core.String, + [S$0._display]: core.String, + [S$0._emptyCells]: core.String, + [S$0._font]: core.String, + [S$0._fontFamily]: core.String, + [S$0._fontSize]: core.String, + [S$0._fontStyle]: core.String, + [S$0._fontVariant]: core.String, + [S$0._fontWeight]: core.String, + [S$0._height$1]: core.String, + [S$0._left$2]: core.String, + [S$0._letterSpacing]: core.String, + [S$0._lineHeight]: core.String, + [S$0._listStyle]: core.String, + [S$0._listStyleImage]: core.String, + [S$0._listStylePosition]: core.String, + [S$0._listStyleType]: core.String, + [S$0._margin]: core.String, + [S$0._marginBottom]: core.String, + [S$0._marginLeft]: core.String, + [S$0._marginRight]: core.String, + [S$0._marginTop]: core.String, + [S$0._maxHeight]: core.String, + [S$0._maxWidth]: core.String, + [S$0._minHeight]: core.String, + [S$0._minWidth]: core.String, + [S$0._outline]: core.String, + [S$0._outlineColor]: core.String, + [S$0._outlineStyle]: core.String, + [S$0._outlineWidth]: core.String, + [S$0._overflow]: core.String, + [S$0._padding]: core.String, + [S$0._paddingBottom]: core.String, + [S$0._paddingLeft]: core.String, + [S$0._paddingRight]: core.String, + [S$0._paddingTop]: core.String, + [S$0._pageBreakAfter]: core.String, + [S$0._pageBreakBefore]: core.String, + [S$0._pageBreakInside]: core.String, + [S$0._position$2]: core.String, + [S$0._quotes]: core.String, + [S$0._right$2]: core.String, + [S$0._tableLayout]: core.String, + [S$0._textAlign]: core.String, + [S$0._textDecoration]: core.String, + [S$0._textIndent]: core.String, + [S$0._textTransform]: core.String, + [S$0._top]: core.String, + [S$0._unicodeBidi]: core.String, + [S$0._verticalAlign]: core.String, + [S$0._visibility]: core.String, + [S$0._whiteSpace]: core.String, + [S$0._width$1]: core.String, + [S$0._wordSpacing]: core.String, + [S$0._zIndex]: core.String +})); +dart.setSetterSignature(html$.CssStyleDeclaration, () => ({ + __proto__: dart.getSetters(html$.CssStyleDeclaration.__proto__), + [S$.$cssFloat]: dart.nullable(core.String), + [S$.$cssText]: dart.nullable(core.String), + [S$.$background]: dart.nullable(core.String), + [S$._background]: core.String, + [S$.$backgroundAttachment]: dart.nullable(core.String), + [S$._backgroundAttachment]: core.String, + [S$.$backgroundColor]: dart.nullable(core.String), + [S$._backgroundColor]: core.String, + [S$.$backgroundImage]: dart.nullable(core.String), + [S$._backgroundImage]: core.String, + [S$.$backgroundPosition]: dart.nullable(core.String), + [S$._backgroundPosition]: core.String, + [S$.$backgroundRepeat]: dart.nullable(core.String), + [S$._backgroundRepeat]: core.String, + [S$.$border]: dart.nullable(core.String), + [S$._border]: core.String, + [S$.$borderBottom]: dart.nullable(core.String), + [S$._borderBottom]: core.String, + [S$.$borderBottomColor]: dart.nullable(core.String), + [S$._borderBottomColor]: core.String, + [S$.$borderBottomStyle]: dart.nullable(core.String), + [S$._borderBottomStyle]: core.String, + [S$.$borderBottomWidth]: dart.nullable(core.String), + [S$._borderBottomWidth]: core.String, + [S$.$borderCollapse]: dart.nullable(core.String), + [S$._borderCollapse]: core.String, + [S$.$borderColor]: dart.nullable(core.String), + [S$._borderColor]: core.String, + [S$.$borderLeft]: dart.nullable(core.String), + [S$._borderLeft]: core.String, + [S$.$borderLeftColor]: dart.nullable(core.String), + [S$._borderLeftColor]: core.String, + [S$.$borderLeftStyle]: dart.nullable(core.String), + [S$._borderLeftStyle]: core.String, + [S$.$borderLeftWidth]: dart.nullable(core.String), + [S$._borderLeftWidth]: core.String, + [S$.$borderRight]: dart.nullable(core.String), + [S$._borderRight]: core.String, + [S$.$borderRightColor]: dart.nullable(core.String), + [S$._borderRightColor]: core.String, + [S$.$borderRightStyle]: dart.nullable(core.String), + [S$._borderRightStyle]: core.String, + [S$0.$borderRightWidth]: dart.nullable(core.String), + [S$._borderRightWidth]: core.String, + [S$0.$borderSpacing]: dart.nullable(core.String), + [S$0._borderSpacing]: core.String, + [S$0.$borderStyle]: dart.nullable(core.String), + [S$0._borderStyle]: core.String, + [S$0.$borderTop]: dart.nullable(core.String), + [S$0._borderTop]: core.String, + [S$0.$borderTopColor]: dart.nullable(core.String), + [S$0._borderTopColor]: core.String, + [S$0.$borderTopStyle]: dart.nullable(core.String), + [S$0._borderTopStyle]: core.String, + [S$0.$borderTopWidth]: dart.nullable(core.String), + [S$0._borderTopWidth]: core.String, + [S$0.$borderWidth]: dart.nullable(core.String), + [S$0._borderWidth]: core.String, + [$bottom]: dart.nullable(core.String), + [S$0._bottom]: core.String, + [S$0.$captionSide]: dart.nullable(core.String), + [S$0._captionSide]: core.String, + [$clear]: dart.nullable(core.String), + [S$0._clear$3]: core.String, + [S$.$clip]: dart.nullable(core.String), + [S$0._clip]: core.String, + [S$0.$color]: dart.nullable(core.String), + [S$0._color]: core.String, + [S$0.$content]: dart.nullable(core.String), + [S$0._content]: core.String, + [S$0.$cursor]: dart.nullable(core.String), + [S$0._cursor]: core.String, + [S.$direction]: dart.nullable(core.String), + [S$0._direction]: core.String, + [S$0.$display]: dart.nullable(core.String), + [S$0._display]: core.String, + [S$0.$emptyCells]: dart.nullable(core.String), + [S$0._emptyCells]: core.String, + [S$.$font]: dart.nullable(core.String), + [S$0._font]: core.String, + [S$0.$fontFamily]: dart.nullable(core.String), + [S$0._fontFamily]: core.String, + [S$0.$fontSize]: dart.nullable(core.String), + [S$0._fontSize]: core.String, + [S$0.$fontStyle]: dart.nullable(core.String), + [S$0._fontStyle]: core.String, + [S$0.$fontVariant]: dart.nullable(core.String), + [S$0._fontVariant]: core.String, + [S$0.$fontWeight]: dart.nullable(core.String), + [S$0._fontWeight]: core.String, + [$height]: dart.nullable(core.String), + [S$0._height$1]: core.String, + [$left]: dart.nullable(core.String), + [S$0._left$2]: core.String, + [S$0.$letterSpacing]: dart.nullable(core.String), + [S$0._letterSpacing]: core.String, + [S$0.$lineHeight]: dart.nullable(core.String), + [S$0._lineHeight]: core.String, + [S$0.$listStyle]: dart.nullable(core.String), + [S$0._listStyle]: core.String, + [S$0.$listStyleImage]: dart.nullable(core.String), + [S$0._listStyleImage]: core.String, + [S$0.$listStylePosition]: dart.nullable(core.String), + [S$0._listStylePosition]: core.String, + [S$0.$listStyleType]: dart.nullable(core.String), + [S$0._listStyleType]: core.String, + [S$0.$margin]: dart.nullable(core.String), + [S$0._margin]: core.String, + [S$0.$marginBottom]: dart.nullable(core.String), + [S$0._marginBottom]: core.String, + [S$0.$marginLeft]: dart.nullable(core.String), + [S$0._marginLeft]: core.String, + [S$0.$marginRight]: dart.nullable(core.String), + [S$0._marginRight]: core.String, + [S$0.$marginTop]: dart.nullable(core.String), + [S$0._marginTop]: core.String, + [S$0.$maxHeight]: dart.nullable(core.String), + [S$0._maxHeight]: core.String, + [S$0.$maxWidth]: dart.nullable(core.String), + [S$0._maxWidth]: core.String, + [S$0.$minHeight]: dart.nullable(core.String), + [S$0._minHeight]: core.String, + [S$0.$minWidth]: dart.nullable(core.String), + [S$0._minWidth]: core.String, + [S$0.$outline]: dart.nullable(core.String), + [S$0._outline]: core.String, + [S$0.$outlineColor]: dart.nullable(core.String), + [S$0._outlineColor]: core.String, + [S$0.$outlineStyle]: dart.nullable(core.String), + [S$0._outlineStyle]: core.String, + [S$0.$outlineWidth]: dart.nullable(core.String), + [S$0._outlineWidth]: core.String, + [S$0.$overflow]: dart.nullable(core.String), + [S$0._overflow]: core.String, + [S$0.$padding]: dart.nullable(core.String), + [S$0._padding]: core.String, + [S$0.$paddingBottom]: dart.nullable(core.String), + [S$0._paddingBottom]: core.String, + [S$0.$paddingLeft]: dart.nullable(core.String), + [S$0._paddingLeft]: core.String, + [S$0.$paddingRight]: dart.nullable(core.String), + [S$0._paddingRight]: core.String, + [S$0.$paddingTop]: dart.nullable(core.String), + [S$0._paddingTop]: core.String, + [S$0.$pageBreakAfter]: dart.nullable(core.String), + [S$0._pageBreakAfter]: core.String, + [S$0.$pageBreakBefore]: dart.nullable(core.String), + [S$0._pageBreakBefore]: core.String, + [S$0.$pageBreakInside]: dart.nullable(core.String), + [S$0._pageBreakInside]: core.String, + [S$0.$position]: dart.nullable(core.String), + [S$0._position$2]: core.String, + [S$0.$quotes]: dart.nullable(core.String), + [S$0._quotes]: core.String, + [$right]: dart.nullable(core.String), + [S$0._right$2]: core.String, + [S$0.$tableLayout]: dart.nullable(core.String), + [S$0._tableLayout]: core.String, + [S$.$textAlign]: dart.nullable(core.String), + [S$0._textAlign]: core.String, + [S$0.$textDecoration]: dart.nullable(core.String), + [S$0._textDecoration]: core.String, + [S$0.$textIndent]: dart.nullable(core.String), + [S$0._textIndent]: core.String, + [S$0.$textTransform]: dart.nullable(core.String), + [S$0._textTransform]: core.String, + [$top]: dart.nullable(core.String), + [S$0._top]: core.String, + [S$0.$unicodeBidi]: dart.nullable(core.String), + [S$0._unicodeBidi]: core.String, + [S$0.$verticalAlign]: dart.nullable(core.String), + [S$0._verticalAlign]: core.String, + [S$0.$visibility]: dart.nullable(core.String), + [S$0._visibility]: core.String, + [S$0.$whiteSpace]: dart.nullable(core.String), + [S$0._whiteSpace]: core.String, + [$width]: dart.nullable(core.String), + [S$0._width$1]: core.String, + [S$0.$wordSpacing]: dart.nullable(core.String), + [S$0._wordSpacing]: core.String, + [S$0.$zIndex]: dart.nullable(core.String), + [S$0._zIndex]: core.String +})); +dart.setLibraryUri(html$.CssStyleDeclaration, I[148]); +dart.defineLazy(html$.CssStyleDeclaration, { + /*html$.CssStyleDeclaration._propertyCache*/get _propertyCache() { + return {}; + } +}, false); +dart.registerExtension("CSSStyleDeclaration", html$.CssStyleDeclaration); +dart.registerExtension("MSStyleCSSProperties", html$.CssStyleDeclaration); +dart.registerExtension("CSS2Properties", html$.CssStyleDeclaration); +const Object_CssStyleDeclarationBase$36 = class Object_CssStyleDeclarationBase extends core.Object {}; +(Object_CssStyleDeclarationBase$36.new = function() { +}).prototype = Object_CssStyleDeclarationBase$36.prototype; +dart.applyMixin(Object_CssStyleDeclarationBase$36, html$.CssStyleDeclarationBase); +html$._CssStyleDeclarationSet = class _CssStyleDeclarationSet extends Object_CssStyleDeclarationBase$36 { + getPropertyValue(propertyName) { + if (propertyName == null) dart.nullFailed(I[147], 5440, 34, "propertyName"); + return dart.nullCheck(this[S$0._elementCssStyleDeclarationSetIterable])[$first][S$.$getPropertyValue](propertyName); + } + setProperty(propertyName, value, priority = null) { + if (propertyName == null) dart.nullFailed(I[147], 5444, 27, "propertyName"); + dart.nullCheck(this[S$0._elementCssStyleDeclarationSetIterable])[$forEach](dart.fn(e => { + if (e == null) dart.nullFailed(I[147], 5446, 19, "e"); + return e[S$.$setProperty](propertyName, value, priority); + }, T$0.CssStyleDeclarationTovoid())); + } + [S$0._setAll](propertyName, value) { + if (propertyName == null) dart.nullFailed(I[147], 5449, 23, "propertyName"); + value = value == null ? "" : value; + for (let element of this[S$0._elementIterable]) { + element.style[propertyName] = value; + } + } + set background(value) { + if (value == null) dart.nullFailed(I[147], 5457, 25, "value"); + this[S$0._setAll]("background", value); + } + get background() { + return super.background; + } + set backgroundAttachment(value) { + if (value == null) dart.nullFailed(I[147], 5462, 35, "value"); + this[S$0._setAll]("backgroundAttachment", value); + } + get backgroundAttachment() { + return super.backgroundAttachment; + } + set backgroundColor(value) { + if (value == null) dart.nullFailed(I[147], 5467, 30, "value"); + this[S$0._setAll]("backgroundColor", value); + } + get backgroundColor() { + return super.backgroundColor; + } + set backgroundImage(value) { + if (value == null) dart.nullFailed(I[147], 5472, 30, "value"); + this[S$0._setAll]("backgroundImage", value); + } + get backgroundImage() { + return super.backgroundImage; + } + set backgroundPosition(value) { + if (value == null) dart.nullFailed(I[147], 5477, 33, "value"); + this[S$0._setAll]("backgroundPosition", value); + } + get backgroundPosition() { + return super.backgroundPosition; + } + set backgroundRepeat(value) { + if (value == null) dart.nullFailed(I[147], 5482, 31, "value"); + this[S$0._setAll]("backgroundRepeat", value); + } + get backgroundRepeat() { + return super.backgroundRepeat; + } + set border(value) { + if (value == null) dart.nullFailed(I[147], 5487, 21, "value"); + this[S$0._setAll]("border", value); + } + get border() { + return super.border; + } + set borderBottom(value) { + if (value == null) dart.nullFailed(I[147], 5492, 27, "value"); + this[S$0._setAll]("borderBottom", value); + } + get borderBottom() { + return super.borderBottom; + } + set borderBottomColor(value) { + if (value == null) dart.nullFailed(I[147], 5497, 32, "value"); + this[S$0._setAll]("borderBottomColor", value); + } + get borderBottomColor() { + return super.borderBottomColor; + } + set borderBottomStyle(value) { + if (value == null) dart.nullFailed(I[147], 5502, 32, "value"); + this[S$0._setAll]("borderBottomStyle", value); + } + get borderBottomStyle() { + return super.borderBottomStyle; + } + set borderBottomWidth(value) { + if (value == null) dart.nullFailed(I[147], 5507, 32, "value"); + this[S$0._setAll]("borderBottomWidth", value); + } + get borderBottomWidth() { + return super.borderBottomWidth; + } + set borderCollapse(value) { + if (value == null) dart.nullFailed(I[147], 5512, 29, "value"); + this[S$0._setAll]("borderCollapse", value); + } + get borderCollapse() { + return super.borderCollapse; + } + set borderColor(value) { + if (value == null) dart.nullFailed(I[147], 5517, 26, "value"); + this[S$0._setAll]("borderColor", value); + } + get borderColor() { + return super.borderColor; + } + set borderLeft(value) { + if (value == null) dart.nullFailed(I[147], 5522, 25, "value"); + this[S$0._setAll]("borderLeft", value); + } + get borderLeft() { + return super.borderLeft; + } + set borderLeftColor(value) { + if (value == null) dart.nullFailed(I[147], 5527, 30, "value"); + this[S$0._setAll]("borderLeftColor", value); + } + get borderLeftColor() { + return super.borderLeftColor; + } + set borderLeftStyle(value) { + if (value == null) dart.nullFailed(I[147], 5532, 30, "value"); + this[S$0._setAll]("borderLeftStyle", value); + } + get borderLeftStyle() { + return super.borderLeftStyle; + } + set borderLeftWidth(value) { + if (value == null) dart.nullFailed(I[147], 5537, 30, "value"); + this[S$0._setAll]("borderLeftWidth", value); + } + get borderLeftWidth() { + return super.borderLeftWidth; + } + set borderRight(value) { + if (value == null) dart.nullFailed(I[147], 5542, 26, "value"); + this[S$0._setAll]("borderRight", value); + } + get borderRight() { + return super.borderRight; + } + set borderRightColor(value) { + if (value == null) dart.nullFailed(I[147], 5547, 31, "value"); + this[S$0._setAll]("borderRightColor", value); + } + get borderRightColor() { + return super.borderRightColor; + } + set borderRightStyle(value) { + if (value == null) dart.nullFailed(I[147], 5552, 31, "value"); + this[S$0._setAll]("borderRightStyle", value); + } + get borderRightStyle() { + return super.borderRightStyle; + } + set borderRightWidth(value) { + if (value == null) dart.nullFailed(I[147], 5557, 31, "value"); + this[S$0._setAll]("borderRightWidth", value); + } + get borderRightWidth() { + return super.borderRightWidth; + } + set borderSpacing(value) { + if (value == null) dart.nullFailed(I[147], 5562, 28, "value"); + this[S$0._setAll]("borderSpacing", value); + } + get borderSpacing() { + return super.borderSpacing; + } + set borderStyle(value) { + if (value == null) dart.nullFailed(I[147], 5567, 26, "value"); + this[S$0._setAll]("borderStyle", value); + } + get borderStyle() { + return super.borderStyle; + } + set borderTop(value) { + if (value == null) dart.nullFailed(I[147], 5572, 24, "value"); + this[S$0._setAll]("borderTop", value); + } + get borderTop() { + return super.borderTop; + } + set borderTopColor(value) { + if (value == null) dart.nullFailed(I[147], 5577, 29, "value"); + this[S$0._setAll]("borderTopColor", value); + } + get borderTopColor() { + return super.borderTopColor; + } + set borderTopStyle(value) { + if (value == null) dart.nullFailed(I[147], 5582, 29, "value"); + this[S$0._setAll]("borderTopStyle", value); + } + get borderTopStyle() { + return super.borderTopStyle; + } + set borderTopWidth(value) { + if (value == null) dart.nullFailed(I[147], 5587, 29, "value"); + this[S$0._setAll]("borderTopWidth", value); + } + get borderTopWidth() { + return super.borderTopWidth; + } + set borderWidth(value) { + if (value == null) dart.nullFailed(I[147], 5592, 26, "value"); + this[S$0._setAll]("borderWidth", value); + } + get borderWidth() { + return super.borderWidth; + } + set bottom(value) { + if (value == null) dart.nullFailed(I[147], 5597, 21, "value"); + this[S$0._setAll]("bottom", value); + } + get bottom() { + return super.bottom; + } + set captionSide(value) { + if (value == null) dart.nullFailed(I[147], 5602, 26, "value"); + this[S$0._setAll]("captionSide", value); + } + get captionSide() { + return super.captionSide; + } + set clear(value) { + if (value == null) dart.nullFailed(I[147], 5607, 20, "value"); + this[S$0._setAll]("clear", value); + } + get clear() { + return super.clear; + } + set clip(value) { + if (value == null) dart.nullFailed(I[147], 5612, 19, "value"); + this[S$0._setAll]("clip", value); + } + get clip() { + return super.clip; + } + set color(value) { + if (value == null) dart.nullFailed(I[147], 5617, 20, "value"); + this[S$0._setAll]("color", value); + } + get color() { + return super.color; + } + set content(value) { + if (value == null) dart.nullFailed(I[147], 5622, 22, "value"); + this[S$0._setAll]("content", value); + } + get content() { + return super.content; + } + set cursor(value) { + if (value == null) dart.nullFailed(I[147], 5627, 21, "value"); + this[S$0._setAll]("cursor", value); + } + get cursor() { + return super.cursor; + } + set direction(value) { + if (value == null) dart.nullFailed(I[147], 5632, 24, "value"); + this[S$0._setAll]("direction", value); + } + get direction() { + return super.direction; + } + set display(value) { + if (value == null) dart.nullFailed(I[147], 5637, 22, "value"); + this[S$0._setAll]("display", value); + } + get display() { + return super.display; + } + set emptyCells(value) { + if (value == null) dart.nullFailed(I[147], 5642, 25, "value"); + this[S$0._setAll]("emptyCells", value); + } + get emptyCells() { + return super.emptyCells; + } + set font(value) { + if (value == null) dart.nullFailed(I[147], 5647, 19, "value"); + this[S$0._setAll]("font", value); + } + get font() { + return super.font; + } + set fontFamily(value) { + if (value == null) dart.nullFailed(I[147], 5652, 25, "value"); + this[S$0._setAll]("fontFamily", value); + } + get fontFamily() { + return super.fontFamily; + } + set fontSize(value) { + if (value == null) dart.nullFailed(I[147], 5657, 23, "value"); + this[S$0._setAll]("fontSize", value); + } + get fontSize() { + return super.fontSize; + } + set fontStyle(value) { + if (value == null) dart.nullFailed(I[147], 5662, 24, "value"); + this[S$0._setAll]("fontStyle", value); + } + get fontStyle() { + return super.fontStyle; + } + set fontVariant(value) { + if (value == null) dart.nullFailed(I[147], 5667, 26, "value"); + this[S$0._setAll]("fontVariant", value); + } + get fontVariant() { + return super.fontVariant; + } + set fontWeight(value) { + if (value == null) dart.nullFailed(I[147], 5672, 25, "value"); + this[S$0._setAll]("fontWeight", value); + } + get fontWeight() { + return super.fontWeight; + } + set height(value) { + if (value == null) dart.nullFailed(I[147], 5677, 21, "value"); + this[S$0._setAll]("height", value); + } + get height() { + return super.height; + } + set left(value) { + if (value == null) dart.nullFailed(I[147], 5682, 19, "value"); + this[S$0._setAll]("left", value); + } + get left() { + return super.left; + } + set letterSpacing(value) { + if (value == null) dart.nullFailed(I[147], 5687, 28, "value"); + this[S$0._setAll]("letterSpacing", value); + } + get letterSpacing() { + return super.letterSpacing; + } + set lineHeight(value) { + if (value == null) dart.nullFailed(I[147], 5692, 25, "value"); + this[S$0._setAll]("lineHeight", value); + } + get lineHeight() { + return super.lineHeight; + } + set listStyle(value) { + if (value == null) dart.nullFailed(I[147], 5697, 24, "value"); + this[S$0._setAll]("listStyle", value); + } + get listStyle() { + return super.listStyle; + } + set listStyleImage(value) { + if (value == null) dart.nullFailed(I[147], 5702, 29, "value"); + this[S$0._setAll]("listStyleImage", value); + } + get listStyleImage() { + return super.listStyleImage; + } + set listStylePosition(value) { + if (value == null) dart.nullFailed(I[147], 5707, 32, "value"); + this[S$0._setAll]("listStylePosition", value); + } + get listStylePosition() { + return super.listStylePosition; + } + set listStyleType(value) { + if (value == null) dart.nullFailed(I[147], 5712, 28, "value"); + this[S$0._setAll]("listStyleType", value); + } + get listStyleType() { + return super.listStyleType; + } + set margin(value) { + if (value == null) dart.nullFailed(I[147], 5717, 21, "value"); + this[S$0._setAll]("margin", value); + } + get margin() { + return super.margin; + } + set marginBottom(value) { + if (value == null) dart.nullFailed(I[147], 5722, 27, "value"); + this[S$0._setAll]("marginBottom", value); + } + get marginBottom() { + return super.marginBottom; + } + set marginLeft(value) { + if (value == null) dart.nullFailed(I[147], 5727, 25, "value"); + this[S$0._setAll]("marginLeft", value); + } + get marginLeft() { + return super.marginLeft; + } + set marginRight(value) { + if (value == null) dart.nullFailed(I[147], 5732, 26, "value"); + this[S$0._setAll]("marginRight", value); + } + get marginRight() { + return super.marginRight; + } + set marginTop(value) { + if (value == null) dart.nullFailed(I[147], 5737, 24, "value"); + this[S$0._setAll]("marginTop", value); + } + get marginTop() { + return super.marginTop; + } + set maxHeight(value) { + if (value == null) dart.nullFailed(I[147], 5742, 24, "value"); + this[S$0._setAll]("maxHeight", value); + } + get maxHeight() { + return super.maxHeight; + } + set maxWidth(value) { + if (value == null) dart.nullFailed(I[147], 5747, 23, "value"); + this[S$0._setAll]("maxWidth", value); + } + get maxWidth() { + return super.maxWidth; + } + set minHeight(value) { + if (value == null) dart.nullFailed(I[147], 5752, 24, "value"); + this[S$0._setAll]("minHeight", value); + } + get minHeight() { + return super.minHeight; + } + set minWidth(value) { + if (value == null) dart.nullFailed(I[147], 5757, 23, "value"); + this[S$0._setAll]("minWidth", value); + } + get minWidth() { + return super.minWidth; + } + set outline(value) { + if (value == null) dart.nullFailed(I[147], 5762, 22, "value"); + this[S$0._setAll]("outline", value); + } + get outline() { + return super.outline; + } + set outlineColor(value) { + if (value == null) dart.nullFailed(I[147], 5767, 27, "value"); + this[S$0._setAll]("outlineColor", value); + } + get outlineColor() { + return super.outlineColor; + } + set outlineStyle(value) { + if (value == null) dart.nullFailed(I[147], 5772, 27, "value"); + this[S$0._setAll]("outlineStyle", value); + } + get outlineStyle() { + return super.outlineStyle; + } + set outlineWidth(value) { + if (value == null) dart.nullFailed(I[147], 5777, 27, "value"); + this[S$0._setAll]("outlineWidth", value); + } + get outlineWidth() { + return super.outlineWidth; + } + set overflow(value) { + if (value == null) dart.nullFailed(I[147], 5782, 23, "value"); + this[S$0._setAll]("overflow", value); + } + get overflow() { + return super.overflow; + } + set padding(value) { + if (value == null) dart.nullFailed(I[147], 5787, 22, "value"); + this[S$0._setAll]("padding", value); + } + get padding() { + return super.padding; + } + set paddingBottom(value) { + if (value == null) dart.nullFailed(I[147], 5792, 28, "value"); + this[S$0._setAll]("paddingBottom", value); + } + get paddingBottom() { + return super.paddingBottom; + } + set paddingLeft(value) { + if (value == null) dart.nullFailed(I[147], 5797, 26, "value"); + this[S$0._setAll]("paddingLeft", value); + } + get paddingLeft() { + return super.paddingLeft; + } + set paddingRight(value) { + if (value == null) dart.nullFailed(I[147], 5802, 27, "value"); + this[S$0._setAll]("paddingRight", value); + } + get paddingRight() { + return super.paddingRight; + } + set paddingTop(value) { + if (value == null) dart.nullFailed(I[147], 5807, 25, "value"); + this[S$0._setAll]("paddingTop", value); + } + get paddingTop() { + return super.paddingTop; + } + set pageBreakAfter(value) { + if (value == null) dart.nullFailed(I[147], 5812, 29, "value"); + this[S$0._setAll]("pageBreakAfter", value); + } + get pageBreakAfter() { + return super.pageBreakAfter; + } + set pageBreakBefore(value) { + if (value == null) dart.nullFailed(I[147], 5817, 30, "value"); + this[S$0._setAll]("pageBreakBefore", value); + } + get pageBreakBefore() { + return super.pageBreakBefore; + } + set pageBreakInside(value) { + if (value == null) dart.nullFailed(I[147], 5822, 30, "value"); + this[S$0._setAll]("pageBreakInside", value); + } + get pageBreakInside() { + return super.pageBreakInside; + } + set position(value) { + if (value == null) dart.nullFailed(I[147], 5827, 23, "value"); + this[S$0._setAll]("position", value); + } + get position() { + return super.position; + } + set quotes(value) { + if (value == null) dart.nullFailed(I[147], 5832, 21, "value"); + this[S$0._setAll]("quotes", value); + } + get quotes() { + return super.quotes; + } + set right(value) { + if (value == null) dart.nullFailed(I[147], 5837, 20, "value"); + this[S$0._setAll]("right", value); + } + get right() { + return super.right; + } + set tableLayout(value) { + if (value == null) dart.nullFailed(I[147], 5842, 26, "value"); + this[S$0._setAll]("tableLayout", value); + } + get tableLayout() { + return super.tableLayout; + } + set textAlign(value) { + if (value == null) dart.nullFailed(I[147], 5847, 24, "value"); + this[S$0._setAll]("textAlign", value); + } + get textAlign() { + return super.textAlign; + } + set textDecoration(value) { + if (value == null) dart.nullFailed(I[147], 5852, 29, "value"); + this[S$0._setAll]("textDecoration", value); + } + get textDecoration() { + return super.textDecoration; + } + set textIndent(value) { + if (value == null) dart.nullFailed(I[147], 5857, 25, "value"); + this[S$0._setAll]("textIndent", value); + } + get textIndent() { + return super.textIndent; + } + set textTransform(value) { + if (value == null) dart.nullFailed(I[147], 5862, 28, "value"); + this[S$0._setAll]("textTransform", value); + } + get textTransform() { + return super.textTransform; + } + set top(value) { + if (value == null) dart.nullFailed(I[147], 5867, 18, "value"); + this[S$0._setAll]("top", value); + } + get top() { + return super.top; + } + set unicodeBidi(value) { + if (value == null) dart.nullFailed(I[147], 5872, 26, "value"); + this[S$0._setAll]("unicodeBidi", value); + } + get unicodeBidi() { + return super.unicodeBidi; + } + set verticalAlign(value) { + if (value == null) dart.nullFailed(I[147], 5877, 28, "value"); + this[S$0._setAll]("verticalAlign", value); + } + get verticalAlign() { + return super.verticalAlign; + } + set visibility(value) { + if (value == null) dart.nullFailed(I[147], 5882, 25, "value"); + this[S$0._setAll]("visibility", value); + } + get visibility() { + return super.visibility; + } + set whiteSpace(value) { + if (value == null) dart.nullFailed(I[147], 5887, 25, "value"); + this[S$0._setAll]("whiteSpace", value); + } + get whiteSpace() { + return super.whiteSpace; + } + set width(value) { + if (value == null) dart.nullFailed(I[147], 5892, 20, "value"); + this[S$0._setAll]("width", value); + } + get width() { + return super.width; + } + set wordSpacing(value) { + if (value == null) dart.nullFailed(I[147], 5897, 26, "value"); + this[S$0._setAll]("wordSpacing", value); + } + get wordSpacing() { + return super.wordSpacing; + } + set zIndex(value) { + if (value == null) dart.nullFailed(I[147], 5902, 21, "value"); + this[S$0._setAll]("zIndex", value); + } + get zIndex() { + return super.zIndex; + } +}; +(html$._CssStyleDeclarationSet.new = function(_elementIterable) { + if (_elementIterable == null) dart.nullFailed(I[147], 5435, 32, "_elementIterable"); + this[S$0._elementCssStyleDeclarationSetIterable] = null; + this[S$0._elementIterable] = _elementIterable; + this[S$0._elementCssStyleDeclarationSetIterable] = core.List.from(this[S$0._elementIterable])[$map](html$.CssStyleDeclaration, dart.fn(e => html$.CssStyleDeclaration.as(dart.dload(e, 'style')), T$0.dynamicToCssStyleDeclaration())); +}).prototype = html$._CssStyleDeclarationSet.prototype; +dart.addTypeTests(html$._CssStyleDeclarationSet); +dart.addTypeCaches(html$._CssStyleDeclarationSet); +dart.setMethodSignature(html$._CssStyleDeclarationSet, () => ({ + __proto__: dart.getMethods(html$._CssStyleDeclarationSet.__proto__), + getPropertyValue: dart.fnType(core.String, [core.String]), + [S$.$getPropertyValue]: dart.fnType(core.String, [core.String]), + setProperty: dart.fnType(dart.void, [core.String, dart.nullable(core.String)], [dart.nullable(core.String)]), + [S$.$setProperty]: dart.fnType(dart.void, [core.String, dart.nullable(core.String)], [dart.nullable(core.String)]), + [S$0._setAll]: dart.fnType(dart.void, [core.String, dart.nullable(core.String)]) +})); +dart.setLibraryUri(html$._CssStyleDeclarationSet, I[148]); +dart.setFieldSignature(html$._CssStyleDeclarationSet, () => ({ + __proto__: dart.getFields(html$._CssStyleDeclarationSet.__proto__), + [S$0._elementIterable]: dart.finalFieldType(core.Iterable$(html$.Element)), + [S$0._elementCssStyleDeclarationSetIterable]: dart.fieldType(dart.nullable(core.Iterable$(html$.CssStyleDeclaration))) +})); +dart.defineExtensionMethods(html$._CssStyleDeclarationSet, ['getPropertyValue', 'setProperty']); +dart.defineExtensionAccessors(html$._CssStyleDeclarationSet, [ + 'background', + 'backgroundAttachment', + 'backgroundColor', + 'backgroundImage', + 'backgroundPosition', + 'backgroundRepeat', + 'border', + 'borderBottom', + 'borderBottomColor', + 'borderBottomStyle', + 'borderBottomWidth', + 'borderCollapse', + 'borderColor', + 'borderLeft', + 'borderLeftColor', + 'borderLeftStyle', + 'borderLeftWidth', + 'borderRight', + 'borderRightColor', + 'borderRightStyle', + 'borderRightWidth', + 'borderSpacing', + 'borderStyle', + 'borderTop', + 'borderTopColor', + 'borderTopStyle', + 'borderTopWidth', + 'borderWidth', + 'bottom', + 'captionSide', + 'clear', + 'clip', + 'color', + 'content', + 'cursor', + 'direction', + 'display', + 'emptyCells', + 'font', + 'fontFamily', + 'fontSize', + 'fontStyle', + 'fontVariant', + 'fontWeight', + 'height', + 'left', + 'letterSpacing', + 'lineHeight', + 'listStyle', + 'listStyleImage', + 'listStylePosition', + 'listStyleType', + 'margin', + 'marginBottom', + 'marginLeft', + 'marginRight', + 'marginTop', + 'maxHeight', + 'maxWidth', + 'minHeight', + 'minWidth', + 'outline', + 'outlineColor', + 'outlineStyle', + 'outlineWidth', + 'overflow', + 'padding', + 'paddingBottom', + 'paddingLeft', + 'paddingRight', + 'paddingTop', + 'pageBreakAfter', + 'pageBreakBefore', + 'pageBreakInside', + 'position', + 'quotes', + 'right', + 'tableLayout', + 'textAlign', + 'textDecoration', + 'textIndent', + 'textTransform', + 'top', + 'unicodeBidi', + 'verticalAlign', + 'visibility', + 'whiteSpace', + 'width', + 'wordSpacing', + 'zIndex' +]); +html$.CssStyleRule = class CssStyleRule extends html$.CssRule { + get [S$.$selectorText]() { + return this.selectorText; + } + set [S$.$selectorText](value) { + this.selectorText = value; + } + get [S.$style]() { + return this.style; + } +}; +dart.addTypeTests(html$.CssStyleRule); +dart.addTypeCaches(html$.CssStyleRule); +dart.setGetterSignature(html$.CssStyleRule, () => ({ + __proto__: dart.getGetters(html$.CssStyleRule.__proto__), + [S$.$selectorText]: core.String, + [S.$style]: html$.CssStyleDeclaration +})); +dart.setSetterSignature(html$.CssStyleRule, () => ({ + __proto__: dart.getSetters(html$.CssStyleRule.__proto__), + [S$.$selectorText]: core.String +})); +dart.setLibraryUri(html$.CssStyleRule, I[148]); +dart.registerExtension("CSSStyleRule", html$.CssStyleRule); +html$.StyleSheet = class StyleSheet extends _interceptors.Interceptor { + get [S$.$disabled]() { + return this.disabled; + } + set [S$.$disabled](value) { + this.disabled = value; + } + get [S$.$href]() { + return this.href; + } + get [S$.$media]() { + return this.media; + } + get [S$0.$ownerNode]() { + return this.ownerNode; + } + get [S$.$parentStyleSheet]() { + return this.parentStyleSheet; + } + get [S.$title]() { + return this.title; + } + get [S.$type]() { + return this.type; + } +}; +dart.addTypeTests(html$.StyleSheet); +dart.addTypeCaches(html$.StyleSheet); +dart.setGetterSignature(html$.StyleSheet, () => ({ + __proto__: dart.getGetters(html$.StyleSheet.__proto__), + [S$.$disabled]: dart.nullable(core.bool), + [S$.$href]: dart.nullable(core.String), + [S$.$media]: dart.nullable(html$.MediaList), + [S$0.$ownerNode]: dart.nullable(html$.Node), + [S$.$parentStyleSheet]: dart.nullable(html$.StyleSheet), + [S.$title]: dart.nullable(core.String), + [S.$type]: dart.nullable(core.String) +})); +dart.setSetterSignature(html$.StyleSheet, () => ({ + __proto__: dart.getSetters(html$.StyleSheet.__proto__), + [S$.$disabled]: dart.nullable(core.bool) +})); +dart.setLibraryUri(html$.StyleSheet, I[148]); +dart.registerExtension("StyleSheet", html$.StyleSheet); +html$.CssStyleSheet = class CssStyleSheet extends html$.StyleSheet { + get [S$.$cssRules]() { + return this.cssRules; + } + get [S$0.$ownerRule]() { + return this.ownerRule; + } + get [S$0.$rules]() { + return this.rules; + } + [S$0.$addRule](...args) { + return this.addRule.apply(this, args); + } + [S$.$deleteRule](...args) { + return this.deleteRule.apply(this, args); + } + [S$.$insertRule](...args) { + return this.insertRule.apply(this, args); + } + [S$0.$removeRule](...args) { + return this.removeRule.apply(this, args); + } +}; +dart.addTypeTests(html$.CssStyleSheet); +dart.addTypeCaches(html$.CssStyleSheet); +dart.setMethodSignature(html$.CssStyleSheet, () => ({ + __proto__: dart.getMethods(html$.CssStyleSheet.__proto__), + [S$0.$addRule]: dart.fnType(core.int, [dart.nullable(core.String), dart.nullable(core.String)], [dart.nullable(core.int)]), + [S$.$deleteRule]: dart.fnType(dart.void, [core.int]), + [S$.$insertRule]: dart.fnType(core.int, [core.String], [dart.nullable(core.int)]), + [S$0.$removeRule]: dart.fnType(dart.void, [dart.nullable(core.int)]) +})); +dart.setGetterSignature(html$.CssStyleSheet, () => ({ + __proto__: dart.getGetters(html$.CssStyleSheet.__proto__), + [S$.$cssRules]: core.List$(html$.CssRule), + [S$0.$ownerRule]: dart.nullable(html$.CssRule), + [S$0.$rules]: dart.nullable(core.List$(html$.CssRule)) +})); +dart.setLibraryUri(html$.CssStyleSheet, I[148]); +dart.registerExtension("CSSStyleSheet", html$.CssStyleSheet); +html$.CssSupportsRule = class CssSupportsRule extends html$.CssConditionRule {}; +dart.addTypeTests(html$.CssSupportsRule); +dart.addTypeCaches(html$.CssSupportsRule); +dart.setLibraryUri(html$.CssSupportsRule, I[148]); +dart.registerExtension("CSSSupportsRule", html$.CssSupportsRule); +html$.CssTransformValue = class CssTransformValue extends html$.CssStyleValue { + static new(transformComponents = null) { + if (transformComponents == null) { + return html$.CssTransformValue._create_1(); + } + if (T$0.ListOfCssTransformComponent().is(transformComponents)) { + return html$.CssTransformValue._create_2(transformComponents); + } + dart.throw(new core.ArgumentError.new("Incorrect number or type of arguments")); + } + static _create_1() { + return new CSSTransformValue(); + } + static _create_2(transformComponents) { + return new CSSTransformValue(transformComponents); + } + get [S$.$is2D]() { + return this.is2D; + } + get [$length]() { + return this.length; + } + [S$0.$componentAtIndex](...args) { + return this.componentAtIndex.apply(this, args); + } + [S$0.$toMatrix](...args) { + return this.toMatrix.apply(this, args); + } +}; +dart.addTypeTests(html$.CssTransformValue); +dart.addTypeCaches(html$.CssTransformValue); +dart.setMethodSignature(html$.CssTransformValue, () => ({ + __proto__: dart.getMethods(html$.CssTransformValue.__proto__), + [S$0.$componentAtIndex]: dart.fnType(html$.CssTransformComponent, [core.int]), + [S$0.$toMatrix]: dart.fnType(html$.DomMatrix, []) +})); +dart.setGetterSignature(html$.CssTransformValue, () => ({ + __proto__: dart.getGetters(html$.CssTransformValue.__proto__), + [S$.$is2D]: dart.nullable(core.bool), + [$length]: dart.nullable(core.int) +})); +dart.setLibraryUri(html$.CssTransformValue, I[148]); +dart.registerExtension("CSSTransformValue", html$.CssTransformValue); +html$.CssTranslation = class CssTranslation extends html$.CssTransformComponent { + static new(x, y, z = null) { + if (x == null) dart.nullFailed(I[147], 8804, 42, "x"); + if (y == null) dart.nullFailed(I[147], 8804, 61, "y"); + if (html$.CssNumericValue.is(y) && html$.CssNumericValue.is(x) && z == null) { + return html$.CssTranslation._create_1(x, y); + } + if (html$.CssNumericValue.is(z) && html$.CssNumericValue.is(y) && html$.CssNumericValue.is(x)) { + return html$.CssTranslation._create_2(x, y, z); + } + dart.throw(new core.ArgumentError.new("Incorrect number or type of arguments")); + } + static _create_1(x, y) { + return new CSSTranslation(x, y); + } + static _create_2(x, y, z) { + return new CSSTranslation(x, y, z); + } + get [S$.$x]() { + return this.x; + } + set [S$.$x](value) { + this.x = value; + } + get [S$.$y]() { + return this.y; + } + set [S$.$y](value) { + this.y = value; + } + get [S$.$z]() { + return this.z; + } + set [S$.$z](value) { + this.z = value; + } +}; +dart.addTypeTests(html$.CssTranslation); +dart.addTypeCaches(html$.CssTranslation); +dart.setGetterSignature(html$.CssTranslation, () => ({ + __proto__: dart.getGetters(html$.CssTranslation.__proto__), + [S$.$x]: dart.nullable(html$.CssNumericValue), + [S$.$y]: dart.nullable(html$.CssNumericValue), + [S$.$z]: dart.nullable(html$.CssNumericValue) +})); +dart.setSetterSignature(html$.CssTranslation, () => ({ + __proto__: dart.getSetters(html$.CssTranslation.__proto__), + [S$.$x]: dart.nullable(html$.CssNumericValue), + [S$.$y]: dart.nullable(html$.CssNumericValue), + [S$.$z]: dart.nullable(html$.CssNumericValue) +})); +dart.setLibraryUri(html$.CssTranslation, I[148]); +dart.registerExtension("CSSTranslation", html$.CssTranslation); +html$.CssUnitValue = class CssUnitValue extends html$.CssNumericValue { + static new(value, unit) { + if (value == null) dart.nullFailed(I[147], 8844, 28, "value"); + if (unit == null) dart.nullFailed(I[147], 8844, 42, "unit"); + return html$.CssUnitValue._create_1(value, unit); + } + static _create_1(value, unit) { + return new CSSUnitValue(value, unit); + } + get [S.$type]() { + return this.type; + } + get [S$0.$unit]() { + return this.unit; + } + set [S$0.$unit](value) { + this.unit = value; + } + get [S.$value]() { + return this.value; + } + set [S.$value](value) { + this.value = value; + } +}; +dart.addTypeTests(html$.CssUnitValue); +dart.addTypeCaches(html$.CssUnitValue); +dart.setGetterSignature(html$.CssUnitValue, () => ({ + __proto__: dart.getGetters(html$.CssUnitValue.__proto__), + [S.$type]: dart.nullable(core.String), + [S$0.$unit]: dart.nullable(core.String), + [S.$value]: dart.nullable(core.num) +})); +dart.setSetterSignature(html$.CssUnitValue, () => ({ + __proto__: dart.getSetters(html$.CssUnitValue.__proto__), + [S$0.$unit]: dart.nullable(core.String), + [S.$value]: dart.nullable(core.num) +})); +dart.setLibraryUri(html$.CssUnitValue, I[148]); +dart.registerExtension("CSSUnitValue", html$.CssUnitValue); +html$.CssUnparsedValue = class CssUnparsedValue extends html$.CssStyleValue { + get [$length]() { + return this.length; + } + [S$0.$fragmentAtIndex](...args) { + return this.fragmentAtIndex.apply(this, args); + } +}; +dart.addTypeTests(html$.CssUnparsedValue); +dart.addTypeCaches(html$.CssUnparsedValue); +dart.setMethodSignature(html$.CssUnparsedValue, () => ({ + __proto__: dart.getMethods(html$.CssUnparsedValue.__proto__), + [S$0.$fragmentAtIndex]: dart.fnType(dart.nullable(core.Object), [core.int]) +})); +dart.setGetterSignature(html$.CssUnparsedValue, () => ({ + __proto__: dart.getGetters(html$.CssUnparsedValue.__proto__), + [$length]: dart.nullable(core.int) +})); +dart.setLibraryUri(html$.CssUnparsedValue, I[148]); +dart.registerExtension("CSSUnparsedValue", html$.CssUnparsedValue); +html$.CssVariableReferenceValue = class CssVariableReferenceValue extends _interceptors.Interceptor { + get [S$0.$fallback]() { + return this.fallback; + } + get [S$0.$variable]() { + return this.variable; + } +}; +dart.addTypeTests(html$.CssVariableReferenceValue); +dart.addTypeCaches(html$.CssVariableReferenceValue); +dart.setGetterSignature(html$.CssVariableReferenceValue, () => ({ + __proto__: dart.getGetters(html$.CssVariableReferenceValue.__proto__), + [S$0.$fallback]: dart.nullable(html$.CssUnparsedValue), + [S$0.$variable]: dart.nullable(core.String) +})); +dart.setLibraryUri(html$.CssVariableReferenceValue, I[148]); +dart.registerExtension("CSSVariableReferenceValue", html$.CssVariableReferenceValue); +html$.CssViewportRule = class CssViewportRule extends html$.CssRule { + get [S.$style]() { + return this.style; + } +}; +dart.addTypeTests(html$.CssViewportRule); +dart.addTypeCaches(html$.CssViewportRule); +dart.setGetterSignature(html$.CssViewportRule, () => ({ + __proto__: dart.getGetters(html$.CssViewportRule.__proto__), + [S.$style]: dart.nullable(html$.CssStyleDeclaration) +})); +dart.setLibraryUri(html$.CssViewportRule, I[148]); +dart.registerExtension("CSSViewportRule", html$.CssViewportRule); +html$.CssurlImageValue = class CssurlImageValue extends html$.CssImageValue { + static new(url) { + if (url == null) dart.nullFailed(I[147], 8914, 35, "url"); + return html$.CssurlImageValue._create_1(url); + } + static _create_1(url) { + return new CSSURLImageValue(url); + } + get [S$.$url]() { + return this.url; + } +}; +dart.addTypeTests(html$.CssurlImageValue); +dart.addTypeCaches(html$.CssurlImageValue); +dart.setGetterSignature(html$.CssurlImageValue, () => ({ + __proto__: dart.getGetters(html$.CssurlImageValue.__proto__), + [S$.$url]: dart.nullable(core.String) +})); +dart.setLibraryUri(html$.CssurlImageValue, I[148]); +dart.registerExtension("CSSURLImageValue", html$.CssurlImageValue); +html$.CustomElementRegistry = class CustomElementRegistry extends _interceptors.Interceptor { + [S$0.$define](name, constructor, options = null) { + if (name == null) dart.nullFailed(I[147], 8942, 22, "name"); + if (constructor == null) dart.nullFailed(I[147], 8942, 35, "constructor"); + if (options != null) { + let options_1 = html_common.convertDartToNative_Dictionary(options); + this[S$0._define_1](name, constructor, options_1); + return; + } + this[S$0._define_2](name, constructor); + return; + } + [S$0._define_1](...args) { + return this.define.apply(this, args); + } + [S$0._define_2](...args) { + return this.define.apply(this, args); + } + [S.$get](...args) { + return this.get.apply(this, args); + } + [S$0.$whenDefined](name) { + if (name == null) dart.nullFailed(I[147], 8959, 29, "name"); + return js_util.promiseToFuture(dart.dynamic, this.whenDefined(name)); + } +}; +dart.addTypeTests(html$.CustomElementRegistry); +dart.addTypeCaches(html$.CustomElementRegistry); +dart.setMethodSignature(html$.CustomElementRegistry, () => ({ + __proto__: dart.getMethods(html$.CustomElementRegistry.__proto__), + [S$0.$define]: dart.fnType(dart.void, [core.String, core.Object], [dart.nullable(core.Map)]), + [S$0._define_1]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic]), + [S$0._define_2]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic]), + [S.$get]: dart.fnType(dart.nullable(core.Object), [core.String]), + [S$0.$whenDefined]: dart.fnType(async.Future, [core.String]) +})); +dart.setLibraryUri(html$.CustomElementRegistry, I[148]); +dart.registerExtension("CustomElementRegistry", html$.CustomElementRegistry); +html$.CustomEvent = class CustomEvent$ extends html$.Event { + get [S$0._dartDetail]() { + return this._dartDetail; + } + set [S$0._dartDetail](value) { + this._dartDetail = value; + } + static new(type, opts) { + if (type == null) dart.nullFailed(I[147], 8973, 30, "type"); + let canBubble = opts && 'canBubble' in opts ? opts.canBubble : true; + if (canBubble == null) dart.nullFailed(I[147], 8974, 13, "canBubble"); + let cancelable = opts && 'cancelable' in opts ? opts.cancelable : true; + if (cancelable == null) dart.nullFailed(I[147], 8974, 35, "cancelable"); + let detail = opts && 'detail' in opts ? opts.detail : null; + let e = html$.CustomEvent.as(html$.document[S._createEvent]("CustomEvent")); + e[S$0._dartDetail] = detail; + if (core.List.is(detail) || core.Map.is(detail) || typeof detail == 'string' || typeof detail == 'number') { + try { + detail = html_common.convertDartToNative_SerializedScriptValue(detail); + e[S$0._initCustomEvent](type, canBubble, cancelable, detail); + } catch (e$) { + let _ = dart.getThrown(e$); + if (core.Object.is(_)) { + e[S$0._initCustomEvent](type, canBubble, cancelable, null); + } else + throw e$; + } + } else { + e[S$0._initCustomEvent](type, canBubble, cancelable, null); + } + return e; + } + get [S$.$detail]() { + if (this[S$0._dartDetail] != null) { + return this[S$0._dartDetail]; + } + return this[S$0._detail]; + } + static __(type, eventInitDict = null) { + if (type == null) dart.nullFailed(I[147], 9002, 32, "type"); + if (eventInitDict != null) { + let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); + return html$.CustomEvent._create_1(type, eventInitDict_1); + } + return html$.CustomEvent._create_2(type); + } + static _create_1(type, eventInitDict) { + return new CustomEvent(type, eventInitDict); + } + static _create_2(type) { + return new CustomEvent(type); + } + get [S$0._detail]() { + return html_common.convertNativeToDart_SerializedScriptValue(this[S$0._get__detail]); + } + get [S$0._get__detail]() { + return this.detail; + } + [S$0._initCustomEvent](...args) { + return this.initCustomEvent.apply(this, args); + } +}; +dart.addTypeTests(html$.CustomEvent); +dart.addTypeCaches(html$.CustomEvent); +dart.setMethodSignature(html$.CustomEvent, () => ({ + __proto__: dart.getMethods(html$.CustomEvent.__proto__), + [S$0._initCustomEvent]: dart.fnType(dart.void, [core.String], [dart.nullable(core.bool), dart.nullable(core.bool), dart.nullable(core.Object)]) +})); +dart.setGetterSignature(html$.CustomEvent, () => ({ + __proto__: dart.getGetters(html$.CustomEvent.__proto__), + [S$.$detail]: dart.dynamic, + [S$0._detail]: dart.dynamic, + [S$0._get__detail]: dart.dynamic +})); +dart.setLibraryUri(html$.CustomEvent, I[148]); +dart.setFieldSignature(html$.CustomEvent, () => ({ + __proto__: dart.getFields(html$.CustomEvent.__proto__), + [S$0._dartDetail]: dart.fieldType(dart.dynamic) +})); +dart.registerExtension("CustomEvent", html$.CustomEvent); +html$.DListElement = class DListElement extends html$.HtmlElement { + static new() { + return html$.document.createElement("dl"); + } +}; +(html$.DListElement.created = function() { + html$.DListElement.__proto__.created.call(this); + ; +}).prototype = html$.DListElement.prototype; +dart.addTypeTests(html$.DListElement); +dart.addTypeCaches(html$.DListElement); +dart.setLibraryUri(html$.DListElement, I[148]); +dart.registerExtension("HTMLDListElement", html$.DListElement); +html$.DataElement = class DataElement extends html$.HtmlElement { + get [S.$value]() { + return this.value; + } + set [S.$value](value) { + this.value = value; + } +}; +(html$.DataElement.created = function() { + html$.DataElement.__proto__.created.call(this); + ; +}).prototype = html$.DataElement.prototype; +dart.addTypeTests(html$.DataElement); +dart.addTypeCaches(html$.DataElement); +dart.setGetterSignature(html$.DataElement, () => ({ + __proto__: dart.getGetters(html$.DataElement.__proto__), + [S.$value]: dart.nullable(core.String) +})); +dart.setSetterSignature(html$.DataElement, () => ({ + __proto__: dart.getSetters(html$.DataElement.__proto__), + [S.$value]: dart.nullable(core.String) +})); +dart.setLibraryUri(html$.DataElement, I[148]); +dart.registerExtension("HTMLDataElement", html$.DataElement); +html$.DataListElement = class DataListElement extends html$.HtmlElement { + static new() { + return html$.DataListElement.as(html$.document[S.$createElement]("datalist")); + } + static get supported() { + return html$.Element.isTagSupported("datalist"); + } + get [S$0.$options]() { + return this.options; + } +}; +(html$.DataListElement.created = function() { + html$.DataListElement.__proto__.created.call(this); + ; +}).prototype = html$.DataListElement.prototype; +dart.addTypeTests(html$.DataListElement); +dart.addTypeCaches(html$.DataListElement); +dart.setGetterSignature(html$.DataListElement, () => ({ + __proto__: dart.getGetters(html$.DataListElement.__proto__), + [S$0.$options]: dart.nullable(core.List$(html$.Node)) +})); +dart.setLibraryUri(html$.DataListElement, I[148]); +dart.registerExtension("HTMLDataListElement", html$.DataListElement); +html$.DataTransfer = class DataTransfer$ extends _interceptors.Interceptor { + static new() { + return html$.DataTransfer._create_1(); + } + static _create_1() { + return new DataTransfer(); + } + get [S$0.$dropEffect]() { + return this.dropEffect; + } + set [S$0.$dropEffect](value) { + this.dropEffect = value; + } + get [S$0.$effectAllowed]() { + return this.effectAllowed; + } + set [S$0.$effectAllowed](value) { + this.effectAllowed = value; + } + get [S$0.$files]() { + return this.files; + } + get [S$0.$items]() { + return this.items; + } + get [S$0.$types]() { + return this.types; + } + [S$0.$clearData](...args) { + return this.clearData.apply(this, args); + } + [S$0.$getData](...args) { + return this.getData.apply(this, args); + } + [S$0.$setData](...args) { + return this.setData.apply(this, args); + } + [S$0.$setDragImage](...args) { + return this.setDragImage.apply(this, args); + } +}; +dart.addTypeTests(html$.DataTransfer); +dart.addTypeCaches(html$.DataTransfer); +dart.setMethodSignature(html$.DataTransfer, () => ({ + __proto__: dart.getMethods(html$.DataTransfer.__proto__), + [S$0.$clearData]: dart.fnType(dart.void, [], [dart.nullable(core.String)]), + [S$0.$getData]: dart.fnType(core.String, [core.String]), + [S$0.$setData]: dart.fnType(dart.void, [core.String, core.String]), + [S$0.$setDragImage]: dart.fnType(dart.void, [html$.Element, core.int, core.int]) +})); +dart.setGetterSignature(html$.DataTransfer, () => ({ + __proto__: dart.getGetters(html$.DataTransfer.__proto__), + [S$0.$dropEffect]: dart.nullable(core.String), + [S$0.$effectAllowed]: dart.nullable(core.String), + [S$0.$files]: dart.nullable(core.List$(html$.File)), + [S$0.$items]: dart.nullable(html$.DataTransferItemList), + [S$0.$types]: dart.nullable(core.List$(core.String)) +})); +dart.setSetterSignature(html$.DataTransfer, () => ({ + __proto__: dart.getSetters(html$.DataTransfer.__proto__), + [S$0.$dropEffect]: dart.nullable(core.String), + [S$0.$effectAllowed]: dart.nullable(core.String) +})); +dart.setLibraryUri(html$.DataTransfer, I[148]); +dart.registerExtension("DataTransfer", html$.DataTransfer); +html$.DataTransferItem = class DataTransferItem extends _interceptors.Interceptor { + [S$0.$getAsEntry]() { + let entry = dart.nullCast(this[S$0._webkitGetAsEntry](), html$.Entry); + if (dart.nullCheck(entry.isFile)) + _js_helper.applyExtension("FileEntry", entry); + else if (dart.nullCheck(entry.isDirectory)) + _js_helper.applyExtension("DirectoryEntry", entry); + else + _js_helper.applyExtension("Entry", entry); + return entry; + } + get [S$.$kind]() { + return this.kind; + } + get [S.$type]() { + return this.type; + } + [S$0.$getAsFile](...args) { + return this.getAsFile.apply(this, args); + } + [S$0._webkitGetAsEntry](...args) { + return this.webkitGetAsEntry.apply(this, args); + } +}; +dart.addTypeTests(html$.DataTransferItem); +dart.addTypeCaches(html$.DataTransferItem); +dart.setMethodSignature(html$.DataTransferItem, () => ({ + __proto__: dart.getMethods(html$.DataTransferItem.__proto__), + [S$0.$getAsEntry]: dart.fnType(html$.Entry, []), + [S$0.$getAsFile]: dart.fnType(dart.nullable(html$.File), []), + [S$0._webkitGetAsEntry]: dart.fnType(dart.nullable(html$.Entry), []) +})); +dart.setGetterSignature(html$.DataTransferItem, () => ({ + __proto__: dart.getGetters(html$.DataTransferItem.__proto__), + [S$.$kind]: dart.nullable(core.String), + [S.$type]: dart.nullable(core.String) +})); +dart.setLibraryUri(html$.DataTransferItem, I[148]); +dart.registerExtension("DataTransferItem", html$.DataTransferItem); +html$.DataTransferItemList = class DataTransferItemList extends _interceptors.Interceptor { + get [$length]() { + return this.length; + } + [$add](...args) { + return this.add.apply(this, args); + } + [S$0.$addData](...args) { + return this.add.apply(this, args); + } + [S$0.$addFile](...args) { + return this.add.apply(this, args); + } + [$clear](...args) { + return this.clear.apply(this, args); + } + [S$.$item](...args) { + return this.item.apply(this, args); + } + [$remove](...args) { + return this.remove.apply(this, args); + } + [$_get](index) { + if (index == null) dart.nullFailed(I[147], 9201, 36, "index"); + return this[index]; + } +}; +dart.addTypeTests(html$.DataTransferItemList); +dart.addTypeCaches(html$.DataTransferItemList); +dart.setMethodSignature(html$.DataTransferItemList, () => ({ + __proto__: dart.getMethods(html$.DataTransferItemList.__proto__), + [$add]: dart.fnType(dart.nullable(html$.DataTransferItem), [dart.dynamic], [dart.nullable(core.String)]), + [S$0.$addData]: dart.fnType(dart.nullable(html$.DataTransferItem), [core.String, core.String]), + [S$0.$addFile]: dart.fnType(dart.nullable(html$.DataTransferItem), [html$.File]), + [$clear]: dart.fnType(dart.void, []), + [S$.$item]: dart.fnType(html$.DataTransferItem, [core.int]), + [$remove]: dart.fnType(dart.void, [core.int]), + [$_get]: dart.fnType(html$.DataTransferItem, [core.int]) +})); +dart.setGetterSignature(html$.DataTransferItemList, () => ({ + __proto__: dart.getGetters(html$.DataTransferItemList.__proto__), + [$length]: dart.nullable(core.int) +})); +dart.setLibraryUri(html$.DataTransferItemList, I[148]); +dart.registerExtension("DataTransferItemList", html$.DataTransferItemList); +html$.WorkerGlobalScope = class WorkerGlobalScope extends html$.EventTarget { + get [S$0.$addressSpace]() { + return this.addressSpace; + } + get [S$0.$caches]() { + return this.caches; + } + get [S$0.$crypto]() { + return this.crypto; + } + get [S$0.$indexedDB]() { + return this.indexedDB; + } + get [S$0.$isSecureContext]() { + return this.isSecureContext; + } + get [S$0.$location]() { + return this.location; + } + get [S$0.$navigator]() { + return this.navigator; + } + get [S$.$origin]() { + return this.origin; + } + get [S$0.$performance]() { + return this.performance; + } + get [S$0.$self]() { + return this.self; + } + [S$.$fetch](input, init = null) { + let init_dict = null; + if (init != null) { + init_dict = html_common.convertDartToNative_Dictionary(init); + } + return js_util.promiseToFuture(dart.dynamic, this.fetch(input, init_dict)); + } + [S$0.$importScripts](...args) { + return this.importScripts.apply(this, args); + } + [S$0.$atob](...args) { + return this.atob.apply(this, args); + } + [S$0.$btoa](...args) { + return this.btoa.apply(this, args); + } + [S$0._setInterval_String](...args) { + return this.setInterval.apply(this, args); + } + [S$0._setTimeout_String](...args) { + return this.setTimeout.apply(this, args); + } + [S$0._clearInterval](...args) { + return this.clearInterval.apply(this, args); + } + [S$0._clearTimeout](...args) { + return this.clearTimeout.apply(this, args); + } + [S$0._setInterval](...args) { + return this.setInterval.apply(this, args); + } + [S$0._setTimeout](...args) { + return this.setTimeout.apply(this, args); + } + get [S.$onError]() { + return html$.WorkerGlobalScope.errorEvent.forTarget(this); + } + static get instance() { + return html$._workerSelf; + } +}; +dart.addTypeTests(html$.WorkerGlobalScope); +dart.addTypeCaches(html$.WorkerGlobalScope); +html$.WorkerGlobalScope[dart.implements] = () => [html$._WindowTimers, html$.WindowBase64]; +dart.setMethodSignature(html$.WorkerGlobalScope, () => ({ + __proto__: dart.getMethods(html$.WorkerGlobalScope.__proto__), + [S$.$fetch]: dart.fnType(async.Future, [dart.dynamic], [dart.nullable(core.Map)]), + [S$0.$importScripts]: dart.fnType(dart.void, [core.String]), + [S$0.$atob]: dart.fnType(core.String, [core.String]), + [S$0.$btoa]: dart.fnType(core.String, [core.String]), + [S$0._setInterval_String]: dart.fnType(core.int, [core.String], [dart.nullable(core.int), dart.nullable(core.Object)]), + [S$0._setTimeout_String]: dart.fnType(core.int, [core.String], [dart.nullable(core.int), dart.nullable(core.Object)]), + [S$0._clearInterval]: dart.fnType(dart.void, [], [dart.nullable(core.int)]), + [S$0._clearTimeout]: dart.fnType(dart.void, [], [dart.nullable(core.int)]), + [S$0._setInterval]: dart.fnType(core.int, [core.Object], [dart.nullable(core.int)]), + [S$0._setTimeout]: dart.fnType(core.int, [core.Object], [dart.nullable(core.int)]) +})); +dart.setGetterSignature(html$.WorkerGlobalScope, () => ({ + __proto__: dart.getGetters(html$.WorkerGlobalScope.__proto__), + [S$0.$addressSpace]: dart.nullable(core.String), + [S$0.$caches]: dart.nullable(html$.CacheStorage), + [S$0.$crypto]: dart.nullable(html$.Crypto), + [S$0.$indexedDB]: dart.nullable(indexed_db.IdbFactory), + [S$0.$isSecureContext]: dart.nullable(core.bool), + [S$0.$location]: html$._WorkerLocation, + [S$0.$navigator]: html$._WorkerNavigator, + [S$.$origin]: dart.nullable(core.String), + [S$0.$performance]: dart.nullable(html$.WorkerPerformance), + [S$0.$self]: html$.WorkerGlobalScope, + [S.$onError]: async.Stream$(html$.Event) +})); +dart.setLibraryUri(html$.WorkerGlobalScope, I[148]); +dart.defineLazy(html$.WorkerGlobalScope, { + /*html$.WorkerGlobalScope.errorEvent*/get errorEvent() { + return C[216] || CT.C216; + } +}, false); +dart.registerExtension("WorkerGlobalScope", html$.WorkerGlobalScope); +html$.DedicatedWorkerGlobalScope = class DedicatedWorkerGlobalScope extends html$.WorkerGlobalScope { + [S.$close](...args) { + return this.close.apply(this, args); + } + [S$.$postMessage](message, transfer = null) { + if (transfer != null) { + let message_1 = html_common.convertDartToNative_SerializedScriptValue(message); + this[S$0._postMessage_1](message_1, transfer); + return; + } + let message_1 = html_common.convertDartToNative_SerializedScriptValue(message); + this[S$0._postMessage_2](message_1); + return; + } + [S$0._postMessage_1](...args) { + return this.postMessage.apply(this, args); + } + [S$0._postMessage_2](...args) { + return this.postMessage.apply(this, args); + } + [S$0._webkitRequestFileSystem](...args) { + return this.webkitRequestFileSystem.apply(this, args); + } + [S$0.$requestFileSystemSync](...args) { + return this.webkitRequestFileSystemSync.apply(this, args); + } + [S$0.$resolveLocalFileSystemSyncUrl](...args) { + return this.webkitResolveLocalFileSystemSyncURL.apply(this, args); + } + [S$0._webkitResolveLocalFileSystemUrl](...args) { + return this.webkitResolveLocalFileSystemURL.apply(this, args); + } + get [S$.$onMessage]() { + return html$.DedicatedWorkerGlobalScope.messageEvent.forTarget(this); + } + static get instance() { + return html$.DedicatedWorkerGlobalScope.as(html$._workerSelf); + } +}; +dart.addTypeTests(html$.DedicatedWorkerGlobalScope); +dart.addTypeCaches(html$.DedicatedWorkerGlobalScope); +dart.setMethodSignature(html$.DedicatedWorkerGlobalScope, () => ({ + __proto__: dart.getMethods(html$.DedicatedWorkerGlobalScope.__proto__), + [S.$close]: dart.fnType(dart.void, []), + [S$.$postMessage]: dart.fnType(dart.void, [dart.dynamic], [dart.nullable(core.List$(core.Object))]), + [S$0._postMessage_1]: dart.fnType(dart.void, [dart.dynamic, core.List$(core.Object)]), + [S$0._postMessage_2]: dart.fnType(dart.void, [dart.dynamic]), + [S$0._webkitRequestFileSystem]: dart.fnType(dart.void, [core.int, core.int], [dart.nullable(dart.fnType(dart.void, [html$.FileSystem])), dart.nullable(dart.fnType(dart.void, [html$.DomException]))]), + [S$0.$requestFileSystemSync]: dart.fnType(html$._DOMFileSystemSync, [core.int, core.int]), + [S$0.$resolveLocalFileSystemSyncUrl]: dart.fnType(html$._EntrySync, [core.String]), + [S$0._webkitResolveLocalFileSystemUrl]: dart.fnType(dart.void, [core.String, dart.fnType(dart.void, [html$.Entry])], [dart.nullable(dart.fnType(dart.void, [html$.DomException]))]) +})); +dart.setGetterSignature(html$.DedicatedWorkerGlobalScope, () => ({ + __proto__: dart.getGetters(html$.DedicatedWorkerGlobalScope.__proto__), + [S$.$onMessage]: async.Stream$(html$.MessageEvent) +})); +dart.setLibraryUri(html$.DedicatedWorkerGlobalScope, I[148]); +dart.defineLazy(html$.DedicatedWorkerGlobalScope, { + /*html$.DedicatedWorkerGlobalScope.messageEvent*/get messageEvent() { + return C[312] || CT.C312; + }, + /*html$.DedicatedWorkerGlobalScope.PERSISTENT*/get PERSISTENT() { + return 1; + }, + /*html$.DedicatedWorkerGlobalScope.TEMPORARY*/get TEMPORARY() { + return 0; + } +}, false); +dart.registerExtension("DedicatedWorkerGlobalScope", html$.DedicatedWorkerGlobalScope); +html$.DeprecatedStorageInfo = class DeprecatedStorageInfo extends _interceptors.Interceptor { + [S$0.$queryUsageAndQuota](...args) { + return this.queryUsageAndQuota.apply(this, args); + } + [S$0.$requestQuota](...args) { + return this.requestQuota.apply(this, args); + } +}; +dart.addTypeTests(html$.DeprecatedStorageInfo); +dart.addTypeCaches(html$.DeprecatedStorageInfo); +dart.setMethodSignature(html$.DeprecatedStorageInfo, () => ({ + __proto__: dart.getMethods(html$.DeprecatedStorageInfo.__proto__), + [S$0.$queryUsageAndQuota]: dart.fnType(dart.void, [core.int], [dart.nullable(dart.fnType(dart.void, [core.int, core.int])), dart.nullable(dart.fnType(dart.void, [html$.DomError]))]), + [S$0.$requestQuota]: dart.fnType(dart.void, [core.int, core.int], [dart.nullable(dart.fnType(dart.void, [core.int])), dart.nullable(dart.fnType(dart.void, [html$.DomError]))]) +})); +dart.setLibraryUri(html$.DeprecatedStorageInfo, I[148]); +dart.defineLazy(html$.DeprecatedStorageInfo, { + /*html$.DeprecatedStorageInfo.PERSISTENT*/get PERSISTENT() { + return 1; + }, + /*html$.DeprecatedStorageInfo.TEMPORARY*/get TEMPORARY() { + return 0; + } +}, false); +dart.registerExtension("DeprecatedStorageInfo", html$.DeprecatedStorageInfo); +html$.DeprecatedStorageQuota = class DeprecatedStorageQuota extends _interceptors.Interceptor { + [S$0.$queryUsageAndQuota](...args) { + return this.queryUsageAndQuota.apply(this, args); + } + [S$0.$requestQuota](...args) { + return this.requestQuota.apply(this, args); + } +}; +dart.addTypeTests(html$.DeprecatedStorageQuota); +dart.addTypeCaches(html$.DeprecatedStorageQuota); +dart.setMethodSignature(html$.DeprecatedStorageQuota, () => ({ + __proto__: dart.getMethods(html$.DeprecatedStorageQuota.__proto__), + [S$0.$queryUsageAndQuota]: dart.fnType(dart.void, [dart.fnType(dart.void, [core.int, core.int])], [dart.nullable(dart.fnType(dart.void, [html$.DomError]))]), + [S$0.$requestQuota]: dart.fnType(dart.void, [core.int], [dart.nullable(dart.fnType(dart.void, [core.int])), dart.nullable(dart.fnType(dart.void, [html$.DomError]))]) +})); +dart.setLibraryUri(html$.DeprecatedStorageQuota, I[148]); +dart.registerExtension("DeprecatedStorageQuota", html$.DeprecatedStorageQuota); +html$.ReportBody = class ReportBody extends _interceptors.Interceptor {}; +dart.addTypeTests(html$.ReportBody); +dart.addTypeCaches(html$.ReportBody); +dart.setLibraryUri(html$.ReportBody, I[148]); +dart.registerExtension("ReportBody", html$.ReportBody); +html$.DeprecationReport = class DeprecationReport extends html$.ReportBody { + get [S$0.$lineNumber]() { + return this.lineNumber; + } + get [$message]() { + return this.message; + } + get [S$0.$sourceFile]() { + return this.sourceFile; + } +}; +dart.addTypeTests(html$.DeprecationReport); +dart.addTypeCaches(html$.DeprecationReport); +dart.setGetterSignature(html$.DeprecationReport, () => ({ + __proto__: dart.getGetters(html$.DeprecationReport.__proto__), + [S$0.$lineNumber]: dart.nullable(core.int), + [$message]: dart.nullable(core.String), + [S$0.$sourceFile]: dart.nullable(core.String) +})); +dart.setLibraryUri(html$.DeprecationReport, I[148]); +dart.registerExtension("DeprecationReport", html$.DeprecationReport); +html$.DetailsElement = class DetailsElement extends html$.HtmlElement { + static new() { + return html$.DetailsElement.as(html$.document[S.$createElement]("details")); + } + static get supported() { + return html$.Element.isTagSupported("details"); + } + get [S.$open]() { + return this.open; + } + set [S.$open](value) { + this.open = value; + } +}; +(html$.DetailsElement.created = function() { + html$.DetailsElement.__proto__.created.call(this); + ; +}).prototype = html$.DetailsElement.prototype; +dart.addTypeTests(html$.DetailsElement); +dart.addTypeCaches(html$.DetailsElement); +dart.setGetterSignature(html$.DetailsElement, () => ({ + __proto__: dart.getGetters(html$.DetailsElement.__proto__), + [S.$open]: dart.nullable(core.bool) +})); +dart.setSetterSignature(html$.DetailsElement, () => ({ + __proto__: dart.getSetters(html$.DetailsElement.__proto__), + [S.$open]: dart.nullable(core.bool) +})); +dart.setLibraryUri(html$.DetailsElement, I[148]); +dart.registerExtension("HTMLDetailsElement", html$.DetailsElement); +html$.DetectedBarcode = class DetectedBarcode$ extends _interceptors.Interceptor { + static new() { + return html$.DetectedBarcode._create_1(); + } + static _create_1() { + return new DetectedBarcode(); + } + get [$boundingBox]() { + return this.boundingBox; + } + get [S$0.$cornerPoints]() { + return this.cornerPoints; + } + get [S$0.$rawValue]() { + return this.rawValue; + } +}; +dart.addTypeTests(html$.DetectedBarcode); +dart.addTypeCaches(html$.DetectedBarcode); +dart.setGetterSignature(html$.DetectedBarcode, () => ({ + __proto__: dart.getGetters(html$.DetectedBarcode.__proto__), + [$boundingBox]: dart.nullable(math.Rectangle$(core.num)), + [S$0.$cornerPoints]: dart.nullable(core.List), + [S$0.$rawValue]: dart.nullable(core.String) +})); +dart.setLibraryUri(html$.DetectedBarcode, I[148]); +dart.registerExtension("DetectedBarcode", html$.DetectedBarcode); +html$.DetectedFace = class DetectedFace$ extends _interceptors.Interceptor { + static new() { + return html$.DetectedFace._create_1(); + } + static _create_1() { + return new DetectedFace(); + } + get [$boundingBox]() { + return this.boundingBox; + } + get [S$0.$landmarks]() { + return this.landmarks; + } +}; +dart.addTypeTests(html$.DetectedFace); +dart.addTypeCaches(html$.DetectedFace); +dart.setGetterSignature(html$.DetectedFace, () => ({ + __proto__: dart.getGetters(html$.DetectedFace.__proto__), + [$boundingBox]: dart.nullable(math.Rectangle$(core.num)), + [S$0.$landmarks]: dart.nullable(core.List) +})); +dart.setLibraryUri(html$.DetectedFace, I[148]); +dart.registerExtension("DetectedFace", html$.DetectedFace); +html$.DetectedText = class DetectedText$ extends _interceptors.Interceptor { + static new() { + return html$.DetectedText._create_1(); + } + static _create_1() { + return new DetectedText(); + } + get [$boundingBox]() { + return this.boundingBox; + } + get [S$0.$cornerPoints]() { + return this.cornerPoints; + } + get [S$0.$rawValue]() { + return this.rawValue; + } +}; +dart.addTypeTests(html$.DetectedText); +dart.addTypeCaches(html$.DetectedText); +dart.setGetterSignature(html$.DetectedText, () => ({ + __proto__: dart.getGetters(html$.DetectedText.__proto__), + [$boundingBox]: dart.nullable(math.Rectangle$(core.num)), + [S$0.$cornerPoints]: dart.nullable(core.List), + [S$0.$rawValue]: dart.nullable(core.String) +})); +dart.setLibraryUri(html$.DetectedText, I[148]); +dart.registerExtension("DetectedText", html$.DetectedText); +html$.DeviceAcceleration = class DeviceAcceleration extends _interceptors.Interceptor { + get [S$.$x]() { + return this.x; + } + get [S$.$y]() { + return this.y; + } + get [S$.$z]() { + return this.z; + } +}; +dart.addTypeTests(html$.DeviceAcceleration); +dart.addTypeCaches(html$.DeviceAcceleration); +dart.setGetterSignature(html$.DeviceAcceleration, () => ({ + __proto__: dart.getGetters(html$.DeviceAcceleration.__proto__), + [S$.$x]: dart.nullable(core.num), + [S$.$y]: dart.nullable(core.num), + [S$.$z]: dart.nullable(core.num) +})); +dart.setLibraryUri(html$.DeviceAcceleration, I[148]); +dart.registerExtension("DeviceAcceleration", html$.DeviceAcceleration); +html$.DeviceMotionEvent = class DeviceMotionEvent$ extends html$.Event { + static new(type, eventInitDict = null) { + if (type == null) dart.nullFailed(I[147], 9480, 36, "type"); + if (eventInitDict != null) { + let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); + return html$.DeviceMotionEvent._create_1(type, eventInitDict_1); + } + return html$.DeviceMotionEvent._create_2(type); + } + static _create_1(type, eventInitDict) { + return new DeviceMotionEvent(type, eventInitDict); + } + static _create_2(type) { + return new DeviceMotionEvent(type); + } + get [S$0.$acceleration]() { + return this.acceleration; + } + get [S$0.$accelerationIncludingGravity]() { + return this.accelerationIncludingGravity; + } + get [S$0.$interval]() { + return this.interval; + } + get [S$0.$rotationRate]() { + return this.rotationRate; + } +}; +dart.addTypeTests(html$.DeviceMotionEvent); +dart.addTypeCaches(html$.DeviceMotionEvent); +dart.setGetterSignature(html$.DeviceMotionEvent, () => ({ + __proto__: dart.getGetters(html$.DeviceMotionEvent.__proto__), + [S$0.$acceleration]: dart.nullable(html$.DeviceAcceleration), + [S$0.$accelerationIncludingGravity]: dart.nullable(html$.DeviceAcceleration), + [S$0.$interval]: dart.nullable(core.num), + [S$0.$rotationRate]: dart.nullable(html$.DeviceRotationRate) +})); +dart.setLibraryUri(html$.DeviceMotionEvent, I[148]); +dart.registerExtension("DeviceMotionEvent", html$.DeviceMotionEvent); +html$.DeviceOrientationEvent = class DeviceOrientationEvent$ extends html$.Event { + static new(type, eventInitDict = null) { + if (type == null) dart.nullFailed(I[147], 9511, 41, "type"); + if (eventInitDict != null) { + let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); + return html$.DeviceOrientationEvent._create_1(type, eventInitDict_1); + } + return html$.DeviceOrientationEvent._create_2(type); + } + static _create_1(type, eventInitDict) { + return new DeviceOrientationEvent(type, eventInitDict); + } + static _create_2(type) { + return new DeviceOrientationEvent(type); + } + get [S$0.$absolute]() { + return this.absolute; + } + get [S$0.$alpha]() { + return this.alpha; + } + get [S$0.$beta]() { + return this.beta; + } + get [S$0.$gamma]() { + return this.gamma; + } +}; +dart.addTypeTests(html$.DeviceOrientationEvent); +dart.addTypeCaches(html$.DeviceOrientationEvent); +dart.setGetterSignature(html$.DeviceOrientationEvent, () => ({ + __proto__: dart.getGetters(html$.DeviceOrientationEvent.__proto__), + [S$0.$absolute]: dart.nullable(core.bool), + [S$0.$alpha]: dart.nullable(core.num), + [S$0.$beta]: dart.nullable(core.num), + [S$0.$gamma]: dart.nullable(core.num) +})); +dart.setLibraryUri(html$.DeviceOrientationEvent, I[148]); +dart.registerExtension("DeviceOrientationEvent", html$.DeviceOrientationEvent); +html$.DeviceRotationRate = class DeviceRotationRate extends _interceptors.Interceptor { + get [S$0.$alpha]() { + return this.alpha; + } + get [S$0.$beta]() { + return this.beta; + } + get [S$0.$gamma]() { + return this.gamma; + } +}; +dart.addTypeTests(html$.DeviceRotationRate); +dart.addTypeCaches(html$.DeviceRotationRate); +dart.setGetterSignature(html$.DeviceRotationRate, () => ({ + __proto__: dart.getGetters(html$.DeviceRotationRate.__proto__), + [S$0.$alpha]: dart.nullable(core.num), + [S$0.$beta]: dart.nullable(core.num), + [S$0.$gamma]: dart.nullable(core.num) +})); +dart.setLibraryUri(html$.DeviceRotationRate, I[148]); +dart.registerExtension("DeviceRotationRate", html$.DeviceRotationRate); +html$.DialogElement = class DialogElement extends html$.HtmlElement { + get [S.$open]() { + return this.open; + } + set [S.$open](value) { + this.open = value; + } + get [S$.$returnValue]() { + return this.returnValue; + } + set [S$.$returnValue](value) { + this.returnValue = value; + } + [S.$close](...args) { + return this.close.apply(this, args); + } + [S$0.$show](...args) { + return this.show.apply(this, args); + } + [S$0.$showModal](...args) { + return this.showModal.apply(this, args); + } +}; +(html$.DialogElement.created = function() { + html$.DialogElement.__proto__.created.call(this); + ; +}).prototype = html$.DialogElement.prototype; +dart.addTypeTests(html$.DialogElement); +dart.addTypeCaches(html$.DialogElement); +dart.setMethodSignature(html$.DialogElement, () => ({ + __proto__: dart.getMethods(html$.DialogElement.__proto__), + [S.$close]: dart.fnType(dart.void, [], [dart.nullable(core.String)]), + [S$0.$show]: dart.fnType(dart.void, []), + [S$0.$showModal]: dart.fnType(dart.void, []) +})); +dart.setGetterSignature(html$.DialogElement, () => ({ + __proto__: dart.getGetters(html$.DialogElement.__proto__), + [S.$open]: dart.nullable(core.bool), + [S$.$returnValue]: dart.nullable(core.String) +})); +dart.setSetterSignature(html$.DialogElement, () => ({ + __proto__: dart.getSetters(html$.DialogElement.__proto__), + [S.$open]: dart.nullable(core.bool), + [S$.$returnValue]: dart.nullable(core.String) +})); +dart.setLibraryUri(html$.DialogElement, I[148]); +dart.registerExtension("HTMLDialogElement", html$.DialogElement); +html$.Entry = class Entry extends _interceptors.Interceptor { + get [S$0.$filesystem]() { + return this.filesystem; + } + get [S$0.$fullPath]() { + return this.fullPath; + } + get [S$0.$isDirectory]() { + return this.isDirectory; + } + get [S$0.$isFile]() { + return this.isFile; + } + get [$name]() { + return this.name; + } + [S$0._copyTo](...args) { + return this.copyTo.apply(this, args); + } + [S$0.$copyTo](parent, opts) { + if (parent == null) dart.nullFailed(I[147], 15347, 39, "parent"); + let name = opts && 'name' in opts ? opts.name : null; + let completer = T$0.CompleterOfEntry().new(); + this[S$0._copyTo](parent, name, dart.fn(value => { + if (value == null) dart.nullFailed(I[147], 15349, 28, "value"); + completer.complete(value); + }, T$0.EntryTovoid()), dart.fn(error => { + if (error == null) dart.nullFailed(I[147], 15351, 9, "error"); + completer.completeError(error); + }, T$0.DomExceptionTovoid())); + return completer.future; + } + [S$0._getMetadata](...args) { + return this.getMetadata.apply(this, args); + } + [S$0.$getMetadata]() { + let completer = T$0.CompleterOfMetadata().new(); + this[S$0._getMetadata](dart.fn(value => { + if (value == null) dart.nullFailed(I[147], 15364, 19, "value"); + _js_helper.applyExtension("Metadata", value); + completer.complete(value); + }, T$0.MetadataTovoid()), dart.fn(error => { + if (error == null) dart.nullFailed(I[147], 15367, 9, "error"); + completer.completeError(error); + }, T$0.DomExceptionTovoid())); + return completer.future; + } + [S$0._getParent](...args) { + return this.getParent.apply(this, args); + } + [S$0.$getParent]() { + let completer = T$0.CompleterOfEntry().new(); + this[S$0._getParent](dart.fn(value => { + if (value == null) dart.nullFailed(I[147], 15380, 17, "value"); + _js_helper.applyExtension("Entry", value); + completer.complete(value); + }, T$0.EntryTovoid()), dart.fn(error => { + if (error == null) dart.nullFailed(I[147], 15383, 9, "error"); + completer.completeError(error); + }, T$0.DomExceptionTovoid())); + return completer.future; + } + [S$0._moveTo](...args) { + return this.moveTo.apply(this, args); + } + [S$.$moveTo](parent, opts) { + if (parent == null) dart.nullFailed(I[147], 15396, 39, "parent"); + let name = opts && 'name' in opts ? opts.name : null; + let completer = T$0.CompleterOfEntry().new(); + this[S$0._moveTo](parent, name, dart.fn(value => { + if (value == null) dart.nullFailed(I[147], 15398, 28, "value"); + completer.complete(value); + }, T$0.EntryTovoid()), dart.fn(error => { + if (error == null) dart.nullFailed(I[147], 15400, 9, "error"); + completer.completeError(error); + }, T$0.DomExceptionTovoid())); + return completer.future; + } + [S$0._remove$1](...args) { + return this.remove.apply(this, args); + } + [$remove]() { + let completer = async.Completer.new(); + this[S$0._remove$1](dart.fn(() => { + completer.complete(); + }, T$.VoidTovoid()), dart.fn(error => { + if (error == null) dart.nullFailed(I[147], 15415, 9, "error"); + completer.completeError(error); + }, T$0.DomExceptionTovoid())); + return completer.future; + } + [S$0.$toUrl](...args) { + return this.toURL.apply(this, args); + } +}; +dart.addTypeTests(html$.Entry); +dart.addTypeCaches(html$.Entry); +dart.setMethodSignature(html$.Entry, () => ({ + __proto__: dart.getMethods(html$.Entry.__proto__), + [S$0._copyTo]: dart.fnType(dart.void, [html$.DirectoryEntry], [dart.nullable(core.String), dart.nullable(dart.fnType(dart.void, [html$.Entry])), dart.nullable(dart.fnType(dart.void, [html$.DomException]))]), + [S$0.$copyTo]: dart.fnType(async.Future$(html$.Entry), [html$.DirectoryEntry], {name: dart.nullable(core.String)}, {}), + [S$0._getMetadata]: dart.fnType(dart.void, [dart.fnType(dart.void, [html$.Metadata])], [dart.nullable(dart.fnType(dart.void, [html$.DomException]))]), + [S$0.$getMetadata]: dart.fnType(async.Future$(html$.Metadata), []), + [S$0._getParent]: dart.fnType(dart.void, [], [dart.nullable(dart.fnType(dart.void, [html$.Entry])), dart.nullable(dart.fnType(dart.void, [html$.DomException]))]), + [S$0.$getParent]: dart.fnType(async.Future$(html$.Entry), []), + [S$0._moveTo]: dart.fnType(dart.void, [html$.DirectoryEntry], [dart.nullable(core.String), dart.nullable(dart.fnType(dart.void, [html$.Entry])), dart.nullable(dart.fnType(dart.void, [html$.DomException]))]), + [S$.$moveTo]: dart.fnType(async.Future$(html$.Entry), [html$.DirectoryEntry], {name: dart.nullable(core.String)}, {}), + [S$0._remove$1]: dart.fnType(dart.void, [dart.fnType(dart.void, [])], [dart.nullable(dart.fnType(dart.void, [html$.DomException]))]), + [$remove]: dart.fnType(async.Future, []), + [S$0.$toUrl]: dart.fnType(core.String, []) +})); +dart.setGetterSignature(html$.Entry, () => ({ + __proto__: dart.getGetters(html$.Entry.__proto__), + [S$0.$filesystem]: dart.nullable(html$.FileSystem), + [S$0.$fullPath]: dart.nullable(core.String), + [S$0.$isDirectory]: dart.nullable(core.bool), + [S$0.$isFile]: dart.nullable(core.bool), + [$name]: dart.nullable(core.String) +})); +dart.setLibraryUri(html$.Entry, I[148]); +dart.registerExtension("Entry", html$.Entry); +html$.DirectoryEntry = class DirectoryEntry extends html$.Entry { + [S$0.$createDirectory](path, opts) { + if (path == null) dart.nullFailed(I[147], 9594, 40, "path"); + let exclusive = opts && 'exclusive' in opts ? opts.exclusive : false; + if (exclusive == null) dart.nullFailed(I[147], 9594, 52, "exclusive"); + return this[S$0._getDirectory](path, {options: new _js_helper.LinkedMap.from(["create", true, "exclusive", exclusive])}); + } + [S$0.$createReader]() { + let reader = this[S$0._createReader](); + _js_helper.applyExtension("DirectoryReader", reader); + return reader; + } + [S$0.$getDirectory](path) { + if (path == null) dart.nullFailed(I[147], 9610, 37, "path"); + return this[S$0._getDirectory](path); + } + [S$0.$createFile](path, opts) { + if (path == null) dart.nullFailed(I[147], 9619, 35, "path"); + let exclusive = opts && 'exclusive' in opts ? opts.exclusive : false; + if (exclusive == null) dart.nullFailed(I[147], 9619, 47, "exclusive"); + return this[S$0._getFile](path, {options: new _js_helper.LinkedMap.from(["create", true, "exclusive", exclusive])}); + } + [S$0.$getFile](path) { + if (path == null) dart.nullFailed(I[147], 9628, 32, "path"); + return this[S$0._getFile](path); + } + [S$0._createReader](...args) { + return this.createReader.apply(this, args); + } + [S$0.__getDirectory](path, options = null, successCallback = null, errorCallback = null) { + if (errorCallback != null) { + let options_1 = html_common.convertDartToNative_Dictionary(options); + this[S$0.__getDirectory_1](path, options_1, successCallback, errorCallback); + return; + } + if (successCallback != null) { + let options_1 = html_common.convertDartToNative_Dictionary(options); + this[S$0.__getDirectory_2](path, options_1, successCallback); + return; + } + if (options != null) { + let options_1 = html_common.convertDartToNative_Dictionary(options); + this[S$0.__getDirectory_3](path, options_1); + return; + } + this[S$0.__getDirectory_4](path); + return; + } + [S$0.__getDirectory_1](...args) { + return this.getDirectory.apply(this, args); + } + [S$0.__getDirectory_2](...args) { + return this.getDirectory.apply(this, args); + } + [S$0.__getDirectory_3](...args) { + return this.getDirectory.apply(this, args); + } + [S$0.__getDirectory_4](...args) { + return this.getDirectory.apply(this, args); + } + [S$0._getDirectory](path, opts) { + let options = opts && 'options' in opts ? opts.options : null; + let completer = T$0.CompleterOfEntry().new(); + this[S$0.__getDirectory](path, options, dart.fn(value => { + if (value == null) dart.nullFailed(I[147], 9676, 36, "value"); + completer.complete(value); + }, T$0.EntryTovoid()), dart.fn(error => { + if (error == null) dart.nullFailed(I[147], 9678, 9, "error"); + completer.completeError(error); + }, T$0.DomExceptionTovoid())); + return completer.future; + } + [S$0.__getFile](path, options = null, successCallback = null, errorCallback = null) { + if (errorCallback != null) { + let options_1 = html_common.convertDartToNative_Dictionary(options); + this[S$0.__getFile_1](path, options_1, successCallback, errorCallback); + return; + } + if (successCallback != null) { + let options_1 = html_common.convertDartToNative_Dictionary(options); + this[S$0.__getFile_2](path, options_1, successCallback); + return; + } + if (options != null) { + let options_1 = html_common.convertDartToNative_Dictionary(options); + this[S$0.__getFile_3](path, options_1); + return; + } + this[S$0.__getFile_4](path); + return; + } + [S$0.__getFile_1](...args) { + return this.getFile.apply(this, args); + } + [S$0.__getFile_2](...args) { + return this.getFile.apply(this, args); + } + [S$0.__getFile_3](...args) { + return this.getFile.apply(this, args); + } + [S$0.__getFile_4](...args) { + return this.getFile.apply(this, args); + } + [S$0._getFile](path, opts) { + let options = opts && 'options' in opts ? opts.options : null; + let completer = T$0.CompleterOfEntry().new(); + this[S$0.__getFile](path, options, dart.fn(value => { + if (value == null) dart.nullFailed(I[147], 9720, 31, "value"); + _js_helper.applyExtension("FileEntry", value); + completer.complete(value); + }, T$0.EntryTovoid()), dart.fn(error => { + if (error == null) dart.nullFailed(I[147], 9723, 9, "error"); + completer.completeError(error); + }, T$0.DomExceptionTovoid())); + return completer.future; + } + [S$0._removeRecursively](...args) { + return this.removeRecursively.apply(this, args); + } + [S$0.$removeRecursively]() { + let completer = async.Completer.new(); + this[S$0._removeRecursively](dart.fn(() => { + completer.complete(); + }, T$.VoidTovoid()), dart.fn(error => { + if (error == null) dart.nullFailed(I[147], 9738, 9, "error"); + completer.completeError(error); + }, T$0.DomExceptionTovoid())); + return completer.future; + } +}; +dart.addTypeTests(html$.DirectoryEntry); +dart.addTypeCaches(html$.DirectoryEntry); +dart.setMethodSignature(html$.DirectoryEntry, () => ({ + __proto__: dart.getMethods(html$.DirectoryEntry.__proto__), + [S$0.$createDirectory]: dart.fnType(async.Future$(html$.Entry), [core.String], {exclusive: core.bool}, {}), + [S$0.$createReader]: dart.fnType(html$.DirectoryReader, []), + [S$0.$getDirectory]: dart.fnType(async.Future$(html$.Entry), [core.String]), + [S$0.$createFile]: dart.fnType(async.Future$(html$.Entry), [core.String], {exclusive: core.bool}, {}), + [S$0.$getFile]: dart.fnType(async.Future$(html$.Entry), [core.String]), + [S$0._createReader]: dart.fnType(html$.DirectoryReader, []), + [S$0.__getDirectory]: dart.fnType(dart.void, [dart.nullable(core.String)], [dart.nullable(core.Map), dart.nullable(dart.fnType(dart.void, [html$.Entry])), dart.nullable(dart.fnType(dart.void, [html$.DomException]))]), + [S$0.__getDirectory_1]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.nullable(dart.fnType(dart.void, [html$.Entry])), dart.nullable(dart.fnType(dart.void, [html$.DomException]))]), + [S$0.__getDirectory_2]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.nullable(dart.fnType(dart.void, [html$.Entry]))]), + [S$0.__getDirectory_3]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic]), + [S$0.__getDirectory_4]: dart.fnType(dart.void, [dart.dynamic]), + [S$0._getDirectory]: dart.fnType(async.Future$(html$.Entry), [dart.nullable(core.String)], {options: dart.nullable(core.Map)}, {}), + [S$0.__getFile]: dart.fnType(dart.void, [dart.nullable(core.String)], [dart.nullable(core.Map), dart.nullable(dart.fnType(dart.void, [html$.Entry])), dart.nullable(dart.fnType(dart.void, [html$.DomException]))]), + [S$0.__getFile_1]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.nullable(dart.fnType(dart.void, [html$.Entry])), dart.nullable(dart.fnType(dart.void, [html$.DomException]))]), + [S$0.__getFile_2]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.nullable(dart.fnType(dart.void, [html$.Entry]))]), + [S$0.__getFile_3]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic]), + [S$0.__getFile_4]: dart.fnType(dart.void, [dart.dynamic]), + [S$0._getFile]: dart.fnType(async.Future$(html$.Entry), [dart.nullable(core.String)], {options: dart.nullable(core.Map)}, {}), + [S$0._removeRecursively]: dart.fnType(dart.void, [dart.fnType(dart.void, [])], [dart.nullable(dart.fnType(dart.void, [html$.DomException]))]), + [S$0.$removeRecursively]: dart.fnType(async.Future, []) +})); +dart.setLibraryUri(html$.DirectoryEntry, I[148]); +dart.registerExtension("DirectoryEntry", html$.DirectoryEntry); +html$.DirectoryReader = class DirectoryReader extends _interceptors.Interceptor { + [S$0._readEntries](...args) { + return this.readEntries.apply(this, args); + } + [S$0.$readEntries]() { + let completer = T$0.CompleterOfListOfEntry().new(); + this[S$0._readEntries](dart.fn(values => { + if (values == null) dart.nullFailed(I[147], 9761, 19, "values"); + values[$forEach](dart.fn(value => { + _js_helper.applyExtension("Entry", value); + let entry = html$.Entry.as(value); + if (dart.nullCheck(entry.isFile)) + _js_helper.applyExtension("FileEntry", entry); + else if (dart.nullCheck(entry.isDirectory)) _js_helper.applyExtension("DirectoryEntry", entry); + }, T$.dynamicTovoid())); + completer.complete(T$0.ListOfEntry().from(values)); + }, T$0.ListTovoid()), dart.fn(error => { + if (error == null) dart.nullFailed(I[147], 9770, 9, "error"); + completer.completeError(error); + }, T$0.DomExceptionTovoid())); + return completer.future; + } +}; +dart.addTypeTests(html$.DirectoryReader); +dart.addTypeCaches(html$.DirectoryReader); +dart.setMethodSignature(html$.DirectoryReader, () => ({ + __proto__: dart.getMethods(html$.DirectoryReader.__proto__), + [S$0._readEntries]: dart.fnType(dart.void, [dart.fnType(dart.void, [core.List])], [dart.nullable(dart.fnType(dart.void, [html$.DomException]))]), + [S$0.$readEntries]: dart.fnType(async.Future$(core.List$(html$.Entry)), []) +})); +dart.setLibraryUri(html$.DirectoryReader, I[148]); +dart.registerExtension("DirectoryReader", html$.DirectoryReader); +html$.DivElement = class DivElement extends html$.HtmlElement { + static new() { + return html$.document.createElement("div"); + } +}; +(html$.DivElement.created = function() { + html$.DivElement.__proto__.created.call(this); + ; +}).prototype = html$.DivElement.prototype; +dart.addTypeTests(html$.DivElement); +dart.addTypeCaches(html$.DivElement); +dart.setLibraryUri(html$.DivElement, I[148]); +dart.registerExtension("HTMLDivElement", html$.DivElement); +html$.Document = class Document$ extends html$.Node { + static new() { + return html$.Document._create_1(); + } + static _create_1() { + return new Document(); + } + get [S$0.$addressSpace]() { + return this.addressSpace; + } + get [S$0._body]() { + return this.body; + } + set [S$0._body](value) { + this.body = value; + } + get [S$0.$contentType]() { + return this.contentType; + } + get [S$0.$cookie]() { + return this.cookie; + } + set [S$0.$cookie](value) { + this.cookie = value; + } + get [S$0.$currentScript]() { + return this.currentScript; + } + get [S$0.$window]() { + return html$._convertNativeToDart_Window(this[S$0._get_window]); + } + get [S$0._get_window]() { + return this.defaultView; + } + get [S$0.$documentElement]() { + return this.documentElement; + } + get [S$0.$domain]() { + return this.domain; + } + get [S$0.$fullscreenEnabled]() { + return this.fullscreenEnabled; + } + get [S$0._head$1]() { + return this.head; + } + get [S.$hidden]() { + return this.hidden; + } + get [S$0.$implementation]() { + return this.implementation; + } + get [S$0._lastModified]() { + return this.lastModified; + } + get [S$.$origin]() { + return this.origin; + } + get [S$0._preferredStylesheetSet]() { + return this.preferredStylesheetSet; + } + get [S.$readyState]() { + return this.readyState; + } + get [S$1._referrer]() { + return this.referrer; + } + get [S$1.$rootElement]() { + return this.rootElement; + } + get [S$1.$rootScroller]() { + return this.rootScroller; + } + set [S$1.$rootScroller](value) { + this.rootScroller = value; + } + get [S$1.$scrollingElement]() { + return this.scrollingElement; + } + get [S$1._selectedStylesheetSet]() { + return this.selectedStylesheetSet; + } + set [S$1._selectedStylesheetSet](value) { + this.selectedStylesheetSet = value; + } + get [S$1.$suborigin]() { + return this.suborigin; + } + get [S$.$timeline]() { + return this.timeline; + } + get [S$1._title]() { + return this.title; + } + set [S$1._title](value) { + this.title = value; + } + get [S$1._visibilityState]() { + return this.visibilityState; + } + get [S$1._webkitFullscreenElement]() { + return this.webkitFullscreenElement; + } + get [S$1._webkitFullscreenEnabled]() { + return this.webkitFullscreenEnabled; + } + get [S$1._webkitHidden]() { + return this.webkitHidden; + } + get [S$1._webkitVisibilityState]() { + return this.webkitVisibilityState; + } + [S$1.$adoptNode](...args) { + return this.adoptNode.apply(this, args); + } + [S$1._caretRangeFromPoint](...args) { + return this.caretRangeFromPoint.apply(this, args); + } + [S$1.$createDocumentFragment](...args) { + return this.createDocumentFragment.apply(this, args); + } + [S$1._createElement](...args) { + return this.createElement.apply(this, args); + } + [S$1._createElementNS](...args) { + return this.createElementNS.apply(this, args); + } + [S._createEvent](...args) { + return this.createEvent.apply(this, args); + } + [S$1.$createRange](...args) { + return this.createRange.apply(this, args); + } + [S$1._createTextNode](...args) { + return this.createTextNode.apply(this, args); + } + [S$1._createTouch](view, target, identifier, pageX, pageY, screenX, screenY, radiusX = null, radiusY = null, rotationAngle = null, force = null) { + if (view == null) dart.nullFailed(I[147], 10002, 29, "view"); + if (target == null) dart.nullFailed(I[147], 10002, 47, "target"); + if (identifier == null) dart.nullFailed(I[147], 10002, 59, "identifier"); + if (pageX == null) dart.nullFailed(I[147], 10002, 75, "pageX"); + if (pageY == null) dart.nullFailed(I[147], 10003, 11, "pageY"); + if (screenX == null) dart.nullFailed(I[147], 10003, 22, "screenX"); + if (screenY == null) dart.nullFailed(I[147], 10003, 35, "screenY"); + if (force != null) { + let target_1 = html$._convertDartToNative_EventTarget(target); + return this[S$1._createTouch_1](view, target_1, identifier, pageX, pageY, screenX, screenY, radiusX, radiusY, rotationAngle, force); + } + if (rotationAngle != null) { + let target_1 = html$._convertDartToNative_EventTarget(target); + return this[S$1._createTouch_2](view, target_1, identifier, pageX, pageY, screenX, screenY, radiusX, radiusY, rotationAngle); + } + if (radiusY != null) { + let target_1 = html$._convertDartToNative_EventTarget(target); + return this[S$1._createTouch_3](view, target_1, identifier, pageX, pageY, screenX, screenY, radiusX, radiusY); + } + if (radiusX != null) { + let target_1 = html$._convertDartToNative_EventTarget(target); + return this[S$1._createTouch_4](view, target_1, identifier, pageX, pageY, screenX, screenY, radiusX); + } + let target_1 = html$._convertDartToNative_EventTarget(target); + return this[S$1._createTouch_5](view, target_1, identifier, pageX, pageY, screenX, screenY); + } + [S$1._createTouch_1](...args) { + return this.createTouch.apply(this, args); + } + [S$1._createTouch_2](...args) { + return this.createTouch.apply(this, args); + } + [S$1._createTouch_3](...args) { + return this.createTouch.apply(this, args); + } + [S$1._createTouch_4](...args) { + return this.createTouch.apply(this, args); + } + [S$1._createTouch_5](...args) { + return this.createTouch.apply(this, args); + } + [S$1._createTouchList](...args) { + return this.createTouchList.apply(this, args); + } + [S$1.$execCommand](...args) { + return this.execCommand.apply(this, args); + } + [S$1.$exitFullscreen](...args) { + return this.exitFullscreen.apply(this, args); + } + [S$1.$exitPointerLock](...args) { + return this.exitPointerLock.apply(this, args); + } + [S.$getAnimations](...args) { + return this.getAnimations.apply(this, args); + } + [S.$getElementsByClassName](...args) { + return this.getElementsByClassName.apply(this, args); + } + [S$1.$getElementsByName](...args) { + return this.getElementsByName.apply(this, args); + } + [S$1.$getElementsByTagName](...args) { + return this.getElementsByTagName.apply(this, args); + } + [S$1.$importNode](...args) { + return this.importNode.apply(this, args); + } + [S$1.$queryCommandEnabled](...args) { + return this.queryCommandEnabled.apply(this, args); + } + [S$1.$queryCommandIndeterm](...args) { + return this.queryCommandIndeterm.apply(this, args); + } + [S$1.$queryCommandState](...args) { + return this.queryCommandState.apply(this, args); + } + [S$1.$queryCommandSupported](...args) { + return this.queryCommandSupported.apply(this, args); + } + [S$1.$queryCommandValue](...args) { + return this.queryCommandValue.apply(this, args); + } + [S$1.$registerElement2](type, options = null) { + if (type == null) dart.nullFailed(I[147], 10081, 36, "type"); + if (options != null) { + let options_1 = html_common.convertDartToNative_Dictionary(options); + return this[S$1._registerElement2_1](type, options_1); + } + return this[S$1._registerElement2_2](type); + } + [S$1._registerElement2_1](...args) { + return this.registerElement.apply(this, args); + } + [S$1._registerElement2_2](...args) { + return this.registerElement.apply(this, args); + } + [S$1._webkitExitFullscreen](...args) { + return this.webkitExitFullscreen.apply(this, args); + } + [S$1.$getElementById](...args) { + return this.getElementById.apply(this, args); + } + get [S$1.$activeElement]() { + return this.activeElement; + } + get [S$1.$fullscreenElement]() { + return this.fullscreenElement; + } + get [S$1.$pointerLockElement]() { + return this.pointerLockElement; + } + get [S$1._styleSheets]() { + return this.styleSheets; + } + [S$1._elementFromPoint](...args) { + return this.elementFromPoint.apply(this, args); + } + [S$1.$elementsFromPoint](...args) { + return this.elementsFromPoint.apply(this, args); + } + get [S$1.$fonts]() { + return this.fonts; + } + get [S._childElementCount]() { + return this.childElementCount; + } + get [S._children]() { + return this.children; + } + get [S._firstElementChild]() { + return this.firstElementChild; + } + get [S._lastElementChild]() { + return this.lastElementChild; + } + [S.$querySelector](...args) { + return this.querySelector.apply(this, args); + } + [S._querySelectorAll](...args) { + return this.querySelectorAll.apply(this, args); + } + get [S.$onAbort]() { + return html$.Element.abortEvent.forTarget(this); + } + get [S.$onBeforeCopy]() { + return html$.Element.beforeCopyEvent.forTarget(this); + } + get [S.$onBeforeCut]() { + return html$.Element.beforeCutEvent.forTarget(this); + } + get [S.$onBeforePaste]() { + return html$.Element.beforePasteEvent.forTarget(this); + } + get [S.$onBlur]() { + return html$.Element.blurEvent.forTarget(this); + } + get [S.$onCanPlay]() { + return html$.Element.canPlayEvent.forTarget(this); + } + get [S.$onCanPlayThrough]() { + return html$.Element.canPlayThroughEvent.forTarget(this); + } + get [S.$onChange]() { + return html$.Element.changeEvent.forTarget(this); + } + get [S.$onClick]() { + return html$.Element.clickEvent.forTarget(this); + } + get [S.$onContextMenu]() { + return html$.Element.contextMenuEvent.forTarget(this); + } + get [S.$onCopy]() { + return html$.Element.copyEvent.forTarget(this); + } + get [S.$onCut]() { + return html$.Element.cutEvent.forTarget(this); + } + get [S.$onDoubleClick]() { + return html$.Element.doubleClickEvent.forTarget(this); + } + get [S.$onDrag]() { + return html$.Element.dragEvent.forTarget(this); + } + get [S.$onDragEnd]() { + return html$.Element.dragEndEvent.forTarget(this); + } + get [S.$onDragEnter]() { + return html$.Element.dragEnterEvent.forTarget(this); + } + get [S.$onDragLeave]() { + return html$.Element.dragLeaveEvent.forTarget(this); + } + get [S.$onDragOver]() { + return html$.Element.dragOverEvent.forTarget(this); + } + get [S.$onDragStart]() { + return html$.Element.dragStartEvent.forTarget(this); + } + get [S.$onDrop]() { + return html$.Element.dropEvent.forTarget(this); + } + get [S.$onDurationChange]() { + return html$.Element.durationChangeEvent.forTarget(this); + } + get [S.$onEmptied]() { + return html$.Element.emptiedEvent.forTarget(this); + } + get [S.$onEnded]() { + return html$.Element.endedEvent.forTarget(this); + } + get [S.$onError]() { + return html$.Element.errorEvent.forTarget(this); + } + get [S.$onFocus]() { + return html$.Element.focusEvent.forTarget(this); + } + get [S.$onInput]() { + return html$.Element.inputEvent.forTarget(this); + } + get [S.$onInvalid]() { + return html$.Element.invalidEvent.forTarget(this); + } + get [S.$onKeyDown]() { + return html$.Element.keyDownEvent.forTarget(this); + } + get [S.$onKeyPress]() { + return html$.Element.keyPressEvent.forTarget(this); + } + get [S.$onKeyUp]() { + return html$.Element.keyUpEvent.forTarget(this); + } + get [S.$onLoad]() { + return html$.Element.loadEvent.forTarget(this); + } + get [S.$onLoadedData]() { + return html$.Element.loadedDataEvent.forTarget(this); + } + get [S.$onLoadedMetadata]() { + return html$.Element.loadedMetadataEvent.forTarget(this); + } + get [S.$onMouseDown]() { + return html$.Element.mouseDownEvent.forTarget(this); + } + get [S.$onMouseEnter]() { + return html$.Element.mouseEnterEvent.forTarget(this); + } + get [S.$onMouseLeave]() { + return html$.Element.mouseLeaveEvent.forTarget(this); + } + get [S.$onMouseMove]() { + return html$.Element.mouseMoveEvent.forTarget(this); + } + get [S.$onMouseOut]() { + return html$.Element.mouseOutEvent.forTarget(this); + } + get [S.$onMouseOver]() { + return html$.Element.mouseOverEvent.forTarget(this); + } + get [S.$onMouseUp]() { + return html$.Element.mouseUpEvent.forTarget(this); + } + get [S.$onMouseWheel]() { + return html$.Element.mouseWheelEvent.forTarget(this); + } + get [S.$onPaste]() { + return html$.Element.pasteEvent.forTarget(this); + } + get [S.$onPause]() { + return html$.Element.pauseEvent.forTarget(this); + } + get [S.$onPlay]() { + return html$.Element.playEvent.forTarget(this); + } + get [S.$onPlaying]() { + return html$.Element.playingEvent.forTarget(this); + } + get [S$1.$onPointerLockChange]() { + return html$.Document.pointerLockChangeEvent.forTarget(this); + } + get [S$1.$onPointerLockError]() { + return html$.Document.pointerLockErrorEvent.forTarget(this); + } + get [S.$onRateChange]() { + return html$.Element.rateChangeEvent.forTarget(this); + } + get [S$1.$onReadyStateChange]() { + return html$.Document.readyStateChangeEvent.forTarget(this); + } + get [S.$onReset]() { + return html$.Element.resetEvent.forTarget(this); + } + get [S.$onResize]() { + return html$.Element.resizeEvent.forTarget(this); + } + get [S.$onScroll]() { + return html$.Element.scrollEvent.forTarget(this); + } + get [S.$onSearch]() { + return html$.Element.searchEvent.forTarget(this); + } + get [S$1.$onSecurityPolicyViolation]() { + return html$.Document.securityPolicyViolationEvent.forTarget(this); + } + get [S.$onSeeked]() { + return html$.Element.seekedEvent.forTarget(this); + } + get [S.$onSeeking]() { + return html$.Element.seekingEvent.forTarget(this); + } + get [S.$onSelect]() { + return html$.Element.selectEvent.forTarget(this); + } + get [S$1.$onSelectionChange]() { + return html$.Document.selectionChangeEvent.forTarget(this); + } + get [S.$onSelectStart]() { + return html$.Element.selectStartEvent.forTarget(this); + } + get [S.$onStalled]() { + return html$.Element.stalledEvent.forTarget(this); + } + get [S.$onSubmit]() { + return html$.Element.submitEvent.forTarget(this); + } + get [S$.$onSuspend]() { + return html$.Element.suspendEvent.forTarget(this); + } + get [S$.$onTimeUpdate]() { + return html$.Element.timeUpdateEvent.forTarget(this); + } + get [S$.$onTouchCancel]() { + return html$.Element.touchCancelEvent.forTarget(this); + } + get [S$.$onTouchEnd]() { + return html$.Element.touchEndEvent.forTarget(this); + } + get [S$.$onTouchMove]() { + return html$.Element.touchMoveEvent.forTarget(this); + } + get [S$.$onTouchStart]() { + return html$.Element.touchStartEvent.forTarget(this); + } + get [S$.$onVolumeChange]() { + return html$.Element.volumeChangeEvent.forTarget(this); + } + get [S$.$onWaiting]() { + return html$.Element.waitingEvent.forTarget(this); + } + get [S$.$onFullscreenChange]() { + return html$.Element.fullscreenChangeEvent.forTarget(this); + } + get [S$.$onFullscreenError]() { + return html$.Element.fullscreenErrorEvent.forTarget(this); + } + [S.$querySelectorAll](T, selectors) { + if (selectors == null) dart.nullFailed(I[147], 10387, 61, "selectors"); + return new (html$._FrozenElementList$(T))._wrap(this[S._querySelectorAll](selectors)); + } + get [S$1.$supportsRegisterElement]() { + return "registerElement" in this; + } + get [S$1.$supportsRegister]() { + return this[S$1.$supportsRegisterElement]; + } + [S$1.$registerElement](tag, customElementClass, opts) { + if (tag == null) dart.nullFailed(I[147], 10399, 31, "tag"); + if (customElementClass == null) dart.nullFailed(I[147], 10399, 41, "customElementClass"); + let extendsTag = opts && 'extendsTag' in opts ? opts.extendsTag : null; + this[S$1.$registerElement2](tag, new _js_helper.LinkedMap.from(["prototype", customElementClass, "extends", extendsTag])); + } + [S.$createElement](tagName, typeExtension = null) { + if (tagName == null) dart.nullFailed(I[147], 10406, 32, "tagName"); + return html$.Element.as(typeExtension == null ? this[S$1._createElement_2](tagName) : this[S$1._createElement](tagName, typeExtension)); + } + [S$1._createElement_2](tagName) { + if (tagName == null) dart.nullFailed(I[147], 10414, 27, "tagName"); + return this.createElement(tagName); + } + [S$1._createElementNS_2](namespaceURI, qualifiedName) { + if (namespaceURI == null) dart.nullFailed(I[147], 10419, 29, "namespaceURI"); + if (qualifiedName == null) dart.nullFailed(I[147], 10419, 50, "qualifiedName"); + return this.createElementNS(namespaceURI, qualifiedName); + } + [S$1.$createElementNS](namespaceURI, qualifiedName, typeExtension = null) { + if (namespaceURI == null) dart.nullFailed(I[147], 10422, 34, "namespaceURI"); + if (qualifiedName == null) dart.nullFailed(I[147], 10422, 55, "qualifiedName"); + return html$.Element.as(typeExtension == null ? this[S$1._createElementNS_2](namespaceURI, qualifiedName) : this[S$1._createElementNS](namespaceURI, qualifiedName, typeExtension)); + } + [S$1._createNodeIterator](root, whatToShow = null, filter = null) { + if (root == null) dart.nullFailed(I[147], 10429, 41, "root"); + return this.createNodeIterator(root, whatToShow, filter, false); + } + [S$1._createTreeWalker](root, whatToShow = null, filter = null) { + if (root == null) dart.nullFailed(I[147], 10434, 37, "root"); + return this.createTreeWalker(root, whatToShow, filter, false); + } + get [S$1.$visibilityState]() { + return this.visibilityState || this.mozVisibilityState || this.msVisibilityState || this.webkitVisibilityState; + } +}; +dart.addTypeTests(html$.Document); +dart.addTypeCaches(html$.Document); +dart.setMethodSignature(html$.Document, () => ({ + __proto__: dart.getMethods(html$.Document.__proto__), + [S$1.$adoptNode]: dart.fnType(html$.Node, [html$.Node]), + [S$1._caretRangeFromPoint]: dart.fnType(html$.Range, [dart.nullable(core.int), dart.nullable(core.int)]), + [S$1.$createDocumentFragment]: dart.fnType(html$.DocumentFragment, []), + [S$1._createElement]: dart.fnType(html$.Element, [core.String], [dart.dynamic]), + [S$1._createElementNS]: dart.fnType(html$.Element, [dart.nullable(core.String), core.String], [dart.dynamic]), + [S._createEvent]: dart.fnType(html$.Event, [core.String]), + [S$1.$createRange]: dart.fnType(html$.Range, []), + [S$1._createTextNode]: dart.fnType(html$.Text, [core.String]), + [S$1._createTouch]: dart.fnType(html$.Touch, [html$.Window, html$.EventTarget, core.int, core.num, core.num, core.num, core.num], [dart.nullable(core.num), dart.nullable(core.num), dart.nullable(core.num), dart.nullable(core.num)]), + [S$1._createTouch_1]: dart.fnType(html$.Touch, [html$.Window, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic]), + [S$1._createTouch_2]: dart.fnType(html$.Touch, [html$.Window, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic]), + [S$1._createTouch_3]: dart.fnType(html$.Touch, [html$.Window, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic]), + [S$1._createTouch_4]: dart.fnType(html$.Touch, [html$.Window, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic]), + [S$1._createTouch_5]: dart.fnType(html$.Touch, [html$.Window, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic]), + [S$1._createTouchList]: dart.fnType(html$.TouchList, [html$.Touch]), + [S$1.$execCommand]: dart.fnType(core.bool, [core.String], [dart.nullable(core.bool), dart.nullable(core.String)]), + [S$1.$exitFullscreen]: dart.fnType(dart.void, []), + [S$1.$exitPointerLock]: dart.fnType(dart.void, []), + [S.$getAnimations]: dart.fnType(core.List$(html$.Animation), []), + [S.$getElementsByClassName]: dart.fnType(core.List$(html$.Node), [core.String]), + [S$1.$getElementsByName]: dart.fnType(core.List$(html$.Node), [core.String]), + [S$1.$getElementsByTagName]: dart.fnType(core.List$(html$.Node), [core.String]), + [S$1.$importNode]: dart.fnType(html$.Node, [html$.Node], [dart.nullable(core.bool)]), + [S$1.$queryCommandEnabled]: dart.fnType(core.bool, [core.String]), + [S$1.$queryCommandIndeterm]: dart.fnType(core.bool, [core.String]), + [S$1.$queryCommandState]: dart.fnType(core.bool, [core.String]), + [S$1.$queryCommandSupported]: dart.fnType(core.bool, [core.String]), + [S$1.$queryCommandValue]: dart.fnType(core.String, [core.String]), + [S$1.$registerElement2]: dart.fnType(core.Function, [core.String], [dart.nullable(core.Map)]), + [S$1._registerElement2_1]: dart.fnType(core.Function, [dart.dynamic, dart.dynamic]), + [S$1._registerElement2_2]: dart.fnType(core.Function, [dart.dynamic]), + [S$1._webkitExitFullscreen]: dart.fnType(dart.void, []), + [S$1.$getElementById]: dart.fnType(dart.nullable(html$.Element), [core.String]), + [S$1._elementFromPoint]: dart.fnType(dart.nullable(html$.Element), [core.int, core.int]), + [S$1.$elementsFromPoint]: dart.fnType(core.List$(html$.Element), [core.int, core.int]), + [S.$querySelector]: dart.fnType(dart.nullable(html$.Element), [core.String]), + [S._querySelectorAll]: dart.fnType(core.List$(html$.Node), [core.String]), + [S.$querySelectorAll]: dart.gFnType(T => [html$.ElementList$(T), [core.String]], T => [html$.Element]), + [S$1.$registerElement]: dart.fnType(dart.void, [core.String, core.Type], {extendsTag: dart.nullable(core.String)}, {}), + [S.$createElement]: dart.fnType(html$.Element, [core.String], [dart.nullable(core.String)]), + [S$1._createElement_2]: dart.fnType(dart.dynamic, [core.String]), + [S$1._createElementNS_2]: dart.fnType(dart.dynamic, [core.String, core.String]), + [S$1.$createElementNS]: dart.fnType(html$.Element, [core.String, core.String], [dart.nullable(core.String)]), + [S$1._createNodeIterator]: dart.fnType(html$.NodeIterator, [html$.Node], [dart.nullable(core.int), dart.nullable(html$.NodeFilter)]), + [S$1._createTreeWalker]: dart.fnType(html$.TreeWalker, [html$.Node], [dart.nullable(core.int), dart.nullable(html$.NodeFilter)]) +})); +dart.setGetterSignature(html$.Document, () => ({ + __proto__: dart.getGetters(html$.Document.__proto__), + [S$0.$addressSpace]: dart.nullable(core.String), + [S$0._body]: dart.nullable(html$.HtmlElement), + [S$0.$contentType]: dart.nullable(core.String), + [S$0.$cookie]: dart.nullable(core.String), + [S$0.$currentScript]: dart.nullable(html$.ScriptElement), + [S$0.$window]: dart.nullable(html$.WindowBase), + [S$0._get_window]: dart.dynamic, + [S$0.$documentElement]: dart.nullable(html$.Element), + [S$0.$domain]: dart.nullable(core.String), + [S$0.$fullscreenEnabled]: dart.nullable(core.bool), + [S$0._head$1]: dart.nullable(html$.HeadElement), + [S.$hidden]: dart.nullable(core.bool), + [S$0.$implementation]: dart.nullable(html$.DomImplementation), + [S$0._lastModified]: dart.nullable(core.String), + [S$.$origin]: dart.nullable(core.String), + [S$0._preferredStylesheetSet]: dart.nullable(core.String), + [S.$readyState]: dart.nullable(core.String), + [S$1._referrer]: core.String, + [S$1.$rootElement]: dart.nullable(svg$.SvgSvgElement), + [S$1.$rootScroller]: dart.nullable(html$.Element), + [S$1.$scrollingElement]: dart.nullable(html$.Element), + [S$1._selectedStylesheetSet]: dart.nullable(core.String), + [S$1.$suborigin]: dart.nullable(core.String), + [S$.$timeline]: dart.nullable(html$.DocumentTimeline), + [S$1._title]: core.String, + [S$1._visibilityState]: dart.nullable(core.String), + [S$1._webkitFullscreenElement]: dart.nullable(html$.Element), + [S$1._webkitFullscreenEnabled]: dart.nullable(core.bool), + [S$1._webkitHidden]: dart.nullable(core.bool), + [S$1._webkitVisibilityState]: dart.nullable(core.String), + [S$1.$activeElement]: dart.nullable(html$.Element), + [S$1.$fullscreenElement]: dart.nullable(html$.Element), + [S$1.$pointerLockElement]: dart.nullable(html$.Element), + [S$1._styleSheets]: dart.nullable(core.List$(html$.StyleSheet)), + [S$1.$fonts]: dart.nullable(html$.FontFaceSet), + [S._childElementCount]: core.int, + [S._children]: dart.nullable(core.List$(html$.Node)), + [S._firstElementChild]: dart.nullable(html$.Element), + [S._lastElementChild]: dart.nullable(html$.Element), + [S.$onAbort]: async.Stream$(html$.Event), + [S.$onBeforeCopy]: async.Stream$(html$.Event), + [S.$onBeforeCut]: async.Stream$(html$.Event), + [S.$onBeforePaste]: async.Stream$(html$.Event), + [S.$onBlur]: async.Stream$(html$.Event), + [S.$onCanPlay]: async.Stream$(html$.Event), + [S.$onCanPlayThrough]: async.Stream$(html$.Event), + [S.$onChange]: async.Stream$(html$.Event), + [S.$onClick]: async.Stream$(html$.MouseEvent), + [S.$onContextMenu]: async.Stream$(html$.MouseEvent), + [S.$onCopy]: async.Stream$(html$.ClipboardEvent), + [S.$onCut]: async.Stream$(html$.ClipboardEvent), + [S.$onDoubleClick]: async.Stream$(html$.Event), + [S.$onDrag]: async.Stream$(html$.MouseEvent), + [S.$onDragEnd]: async.Stream$(html$.MouseEvent), + [S.$onDragEnter]: async.Stream$(html$.MouseEvent), + [S.$onDragLeave]: async.Stream$(html$.MouseEvent), + [S.$onDragOver]: async.Stream$(html$.MouseEvent), + [S.$onDragStart]: async.Stream$(html$.MouseEvent), + [S.$onDrop]: async.Stream$(html$.MouseEvent), + [S.$onDurationChange]: async.Stream$(html$.Event), + [S.$onEmptied]: async.Stream$(html$.Event), + [S.$onEnded]: async.Stream$(html$.Event), + [S.$onError]: async.Stream$(html$.Event), + [S.$onFocus]: async.Stream$(html$.Event), + [S.$onInput]: async.Stream$(html$.Event), + [S.$onInvalid]: async.Stream$(html$.Event), + [S.$onKeyDown]: async.Stream$(html$.KeyboardEvent), + [S.$onKeyPress]: async.Stream$(html$.KeyboardEvent), + [S.$onKeyUp]: async.Stream$(html$.KeyboardEvent), + [S.$onLoad]: async.Stream$(html$.Event), + [S.$onLoadedData]: async.Stream$(html$.Event), + [S.$onLoadedMetadata]: async.Stream$(html$.Event), + [S.$onMouseDown]: async.Stream$(html$.MouseEvent), + [S.$onMouseEnter]: async.Stream$(html$.MouseEvent), + [S.$onMouseLeave]: async.Stream$(html$.MouseEvent), + [S.$onMouseMove]: async.Stream$(html$.MouseEvent), + [S.$onMouseOut]: async.Stream$(html$.MouseEvent), + [S.$onMouseOver]: async.Stream$(html$.MouseEvent), + [S.$onMouseUp]: async.Stream$(html$.MouseEvent), + [S.$onMouseWheel]: async.Stream$(html$.WheelEvent), + [S.$onPaste]: async.Stream$(html$.ClipboardEvent), + [S.$onPause]: async.Stream$(html$.Event), + [S.$onPlay]: async.Stream$(html$.Event), + [S.$onPlaying]: async.Stream$(html$.Event), + [S$1.$onPointerLockChange]: async.Stream$(html$.Event), + [S$1.$onPointerLockError]: async.Stream$(html$.Event), + [S.$onRateChange]: async.Stream$(html$.Event), + [S$1.$onReadyStateChange]: async.Stream$(html$.Event), + [S.$onReset]: async.Stream$(html$.Event), + [S.$onResize]: async.Stream$(html$.Event), + [S.$onScroll]: async.Stream$(html$.Event), + [S.$onSearch]: async.Stream$(html$.Event), + [S$1.$onSecurityPolicyViolation]: async.Stream$(html$.SecurityPolicyViolationEvent), + [S.$onSeeked]: async.Stream$(html$.Event), + [S.$onSeeking]: async.Stream$(html$.Event), + [S.$onSelect]: async.Stream$(html$.Event), + [S$1.$onSelectionChange]: async.Stream$(html$.Event), + [S.$onSelectStart]: async.Stream$(html$.Event), + [S.$onStalled]: async.Stream$(html$.Event), + [S.$onSubmit]: async.Stream$(html$.Event), + [S$.$onSuspend]: async.Stream$(html$.Event), + [S$.$onTimeUpdate]: async.Stream$(html$.Event), + [S$.$onTouchCancel]: async.Stream$(html$.TouchEvent), + [S$.$onTouchEnd]: async.Stream$(html$.TouchEvent), + [S$.$onTouchMove]: async.Stream$(html$.TouchEvent), + [S$.$onTouchStart]: async.Stream$(html$.TouchEvent), + [S$.$onVolumeChange]: async.Stream$(html$.Event), + [S$.$onWaiting]: async.Stream$(html$.Event), + [S$.$onFullscreenChange]: async.Stream$(html$.Event), + [S$.$onFullscreenError]: async.Stream$(html$.Event), + [S$1.$supportsRegisterElement]: core.bool, + [S$1.$supportsRegister]: core.bool, + [S$1.$visibilityState]: core.String +})); +dart.setSetterSignature(html$.Document, () => ({ + __proto__: dart.getSetters(html$.Document.__proto__), + [S$0._body]: dart.nullable(html$.HtmlElement), + [S$0.$cookie]: dart.nullable(core.String), + [S$1.$rootScroller]: dart.nullable(html$.Element), + [S$1._selectedStylesheetSet]: dart.nullable(core.String), + [S$1._title]: core.String +})); +dart.setLibraryUri(html$.Document, I[148]); +dart.defineLazy(html$.Document, { + /*html$.Document.pointerLockChangeEvent*/get pointerLockChangeEvent() { + return C[322] || CT.C322; + }, + /*html$.Document.pointerLockErrorEvent*/get pointerLockErrorEvent() { + return C[323] || CT.C323; + }, + /*html$.Document.readyStateChangeEvent*/get readyStateChangeEvent() { + return C[324] || CT.C324; + }, + /*html$.Document.securityPolicyViolationEvent*/get securityPolicyViolationEvent() { + return C[325] || CT.C325; + }, + /*html$.Document.selectionChangeEvent*/get selectionChangeEvent() { + return C[326] || CT.C326; + } +}, false); +dart.registerExtension("Document", html$.Document); +html$.DocumentFragment = class DocumentFragment extends html$.Node { + get [S$1._docChildren]() { + return this._docChildren; + } + set [S$1._docChildren](value) { + this._docChildren = value; + } + static new() { + return html$.document.createDocumentFragment(); + } + static html(html, opts) { + let validator = opts && 'validator' in opts ? opts.validator : null; + let treeSanitizer = opts && 'treeSanitizer' in opts ? opts.treeSanitizer : null; + return dart.nullCheck(html$.document.body)[S.$createFragment](html, {validator: validator, treeSanitizer: treeSanitizer}); + } + static svg(svgContent, opts) { + let validator = opts && 'validator' in opts ? opts.validator : null; + let treeSanitizer = opts && 'treeSanitizer' in opts ? opts.treeSanitizer : null; + return svg$.SvgSvgElement.new()[S.$createFragment](svgContent, {validator: validator, treeSanitizer: treeSanitizer}); + } + get [S._children]() { + return dart.throw(new core.UnimplementedError.new("Use _docChildren instead")); + } + get [S.$children]() { + if (this[S$1._docChildren] == null) { + this[S$1._docChildren] = new html_common.FilteredElementList.new(this); + } + return dart.nullCheck(this[S$1._docChildren]); + } + set [S.$children](value) { + if (value == null) dart.nullFailed(I[147], 10487, 30, "value"); + let copy = value[$toList](); + let children = this[S.$children]; + children[$clear](); + children[$addAll](copy); + } + [S.$querySelectorAll](T, selectors) { + if (selectors == null) dart.nullFailed(I[147], 10506, 61, "selectors"); + return new (html$._FrozenElementList$(T))._wrap(this[S._querySelectorAll](selectors)); + } + get [S.$innerHtml]() { + let e = html$.DivElement.new(); + e[S.$append](this[S$.$clone](true)); + return e[S.$innerHtml]; + } + set [S.$innerHtml](value) { + this[S.$setInnerHtml](value); + } + [S.$setInnerHtml](html, opts) { + let validator = opts && 'validator' in opts ? opts.validator : null; + let treeSanitizer = opts && 'treeSanitizer' in opts ? opts.treeSanitizer : null; + this[S.$nodes][$clear](); + this[S.$append](dart.nullCheck(html$.document.body)[S.$createFragment](html, {validator: validator, treeSanitizer: treeSanitizer})); + } + [S.$appendText](text) { + if (text == null) dart.nullFailed(I[147], 10533, 26, "text"); + this[S.$append](html$.Text.new(text)); + } + [S.$appendHtml](text, opts) { + if (text == null) dart.nullFailed(I[147], 10541, 26, "text"); + let validator = opts && 'validator' in opts ? opts.validator : null; + let treeSanitizer = opts && 'treeSanitizer' in opts ? opts.treeSanitizer : null; + this[S.$append](html$.DocumentFragment.html(text, {validator: validator, treeSanitizer: treeSanitizer})); + } + [S$1.$getElementById](...args) { + return this.getElementById.apply(this, args); + } + get [S._childElementCount]() { + return this.childElementCount; + } + get [S._firstElementChild]() { + return this.firstElementChild; + } + get [S._lastElementChild]() { + return this.lastElementChild; + } + [S.$querySelector](...args) { + return this.querySelector.apply(this, args); + } + [S._querySelectorAll](...args) { + return this.querySelectorAll.apply(this, args); + } +}; +dart.addTypeTests(html$.DocumentFragment); +dart.addTypeCaches(html$.DocumentFragment); +html$.DocumentFragment[dart.implements] = () => [html$.NonElementParentNode, html$.ParentNode]; +dart.setMethodSignature(html$.DocumentFragment, () => ({ + __proto__: dart.getMethods(html$.DocumentFragment.__proto__), + [S.$querySelectorAll]: dart.gFnType(T => [html$.ElementList$(T), [core.String]], T => [html$.Element]), + [S.$setInnerHtml]: dart.fnType(dart.void, [dart.nullable(core.String)], {treeSanitizer: dart.nullable(html$.NodeTreeSanitizer), validator: dart.nullable(html$.NodeValidator)}, {}), + [S.$appendText]: dart.fnType(dart.void, [core.String]), + [S.$appendHtml]: dart.fnType(dart.void, [core.String], {treeSanitizer: dart.nullable(html$.NodeTreeSanitizer), validator: dart.nullable(html$.NodeValidator)}, {}), + [S$1.$getElementById]: dart.fnType(dart.nullable(html$.Element), [core.String]), + [S.$querySelector]: dart.fnType(dart.nullable(html$.Element), [core.String]), + [S._querySelectorAll]: dart.fnType(core.List$(html$.Node), [core.String]) +})); +dart.setGetterSignature(html$.DocumentFragment, () => ({ + __proto__: dart.getGetters(html$.DocumentFragment.__proto__), + [S._children]: html$.HtmlCollection, + [S.$children]: core.List$(html$.Element), + [S.$innerHtml]: dart.nullable(core.String), + [S._childElementCount]: core.int, + [S._firstElementChild]: dart.nullable(html$.Element), + [S._lastElementChild]: dart.nullable(html$.Element) +})); +dart.setSetterSignature(html$.DocumentFragment, () => ({ + __proto__: dart.getSetters(html$.DocumentFragment.__proto__), + [S.$children]: core.List$(html$.Element), + [S.$innerHtml]: dart.nullable(core.String) +})); +dart.setLibraryUri(html$.DocumentFragment, I[148]); +dart.setFieldSignature(html$.DocumentFragment, () => ({ + __proto__: dart.getFields(html$.DocumentFragment.__proto__), + [S$1._docChildren]: dart.fieldType(dart.nullable(core.List$(html$.Element))) +})); +dart.registerExtension("DocumentFragment", html$.DocumentFragment); +html$.DocumentOrShadowRoot = class DocumentOrShadowRoot extends _interceptors.Interceptor { + get [S$1.$activeElement]() { + return this.activeElement; + } + get [S$1.$fullscreenElement]() { + return this.fullscreenElement; + } + get [S$1.$pointerLockElement]() { + return this.pointerLockElement; + } + get [S$1.$styleSheets]() { + return this.styleSheets; + } + [S$1.$elementFromPoint](...args) { + return this.elementFromPoint.apply(this, args); + } + [S$1.$elementsFromPoint](...args) { + return this.elementsFromPoint.apply(this, args); + } + [S$1.$getSelection](...args) { + return this.getSelection.apply(this, args); + } +}; +dart.addTypeTests(html$.DocumentOrShadowRoot); +dart.addTypeCaches(html$.DocumentOrShadowRoot); +dart.setMethodSignature(html$.DocumentOrShadowRoot, () => ({ + __proto__: dart.getMethods(html$.DocumentOrShadowRoot.__proto__), + [S$1.$elementFromPoint]: dart.fnType(dart.nullable(html$.Element), [core.int, core.int]), + [S$1.$elementsFromPoint]: dart.fnType(core.List$(html$.Element), [core.int, core.int]), + [S$1.$getSelection]: dart.fnType(dart.nullable(html$.Selection), []) +})); +dart.setGetterSignature(html$.DocumentOrShadowRoot, () => ({ + __proto__: dart.getGetters(html$.DocumentOrShadowRoot.__proto__), + [S$1.$activeElement]: dart.nullable(html$.Element), + [S$1.$fullscreenElement]: dart.nullable(html$.Element), + [S$1.$pointerLockElement]: dart.nullable(html$.Element), + [S$1.$styleSheets]: dart.nullable(core.List$(html$.StyleSheet)) +})); +dart.setLibraryUri(html$.DocumentOrShadowRoot, I[148]); +dart.registerExtension("DocumentOrShadowRoot", html$.DocumentOrShadowRoot); +html$.DocumentTimeline = class DocumentTimeline$ extends html$.AnimationTimeline { + static new(options = null) { + if (options != null) { + let options_1 = html_common.convertDartToNative_Dictionary(options); + return html$.DocumentTimeline._create_1(options_1); + } + return html$.DocumentTimeline._create_2(); + } + static _create_1(options) { + return new DocumentTimeline(options); + } + static _create_2() { + return new DocumentTimeline(); + } +}; +dart.addTypeTests(html$.DocumentTimeline); +dart.addTypeCaches(html$.DocumentTimeline); +dart.setLibraryUri(html$.DocumentTimeline, I[148]); +dart.registerExtension("DocumentTimeline", html$.DocumentTimeline); +html$.DomError = class DomError extends _interceptors.Interceptor { + static new(name, message = null) { + if (name == null) dart.nullFailed(I[147], 10647, 27, "name"); + if (message != null) { + return html$.DomError._create_1(name, message); + } + return html$.DomError._create_2(name); + } + static _create_1(name, message) { + return new DOMError(name, message); + } + static _create_2(name) { + return new DOMError(name); + } + get [$message]() { + return this.message; + } + get [$name]() { + return this.name; + } +}; +dart.addTypeTests(html$.DomError); +dart.addTypeCaches(html$.DomError); +dart.setGetterSignature(html$.DomError, () => ({ + __proto__: dart.getGetters(html$.DomError.__proto__), + [$message]: dart.nullable(core.String), + [$name]: dart.nullable(core.String) +})); +dart.setLibraryUri(html$.DomError, I[148]); +dart.registerExtension("DOMError", html$.DomError); +html$.DomException = class DomException extends _interceptors.Interceptor { + get [$name]() { + let errorName = this.name; + if (dart.test(html_common.Device.isWebKit) && errorName[$_equals]("SECURITY_ERR")) return "SecurityError"; + if (dart.test(html_common.Device.isWebKit) && errorName[$_equals]("SYNTAX_ERR")) return "SyntaxError"; + return core.String.as(errorName); + } + get [$message]() { + return this.message; + } + [$toString]() { + return String(this); + } +}; +dart.addTypeTests(html$.DomException); +dart.addTypeCaches(html$.DomException); +dart.setGetterSignature(html$.DomException, () => ({ + __proto__: dart.getGetters(html$.DomException.__proto__), + [$name]: core.String, + [$message]: dart.nullable(core.String) +})); +dart.setLibraryUri(html$.DomException, I[148]); +dart.defineLazy(html$.DomException, { + /*html$.DomException.INDEX_SIZE*/get INDEX_SIZE() { + return "IndexSizeError"; + }, + /*html$.DomException.HIERARCHY_REQUEST*/get HIERARCHY_REQUEST() { + return "HierarchyRequestError"; + }, + /*html$.DomException.WRONG_DOCUMENT*/get WRONG_DOCUMENT() { + return "WrongDocumentError"; + }, + /*html$.DomException.INVALID_CHARACTER*/get INVALID_CHARACTER() { + return "InvalidCharacterError"; + }, + /*html$.DomException.NO_MODIFICATION_ALLOWED*/get NO_MODIFICATION_ALLOWED() { + return "NoModificationAllowedError"; + }, + /*html$.DomException.NOT_FOUND*/get NOT_FOUND() { + return "NotFoundError"; + }, + /*html$.DomException.NOT_SUPPORTED*/get NOT_SUPPORTED() { + return "NotSupportedError"; + }, + /*html$.DomException.INVALID_STATE*/get INVALID_STATE() { + return "InvalidStateError"; + }, + /*html$.DomException.SYNTAX*/get SYNTAX() { + return "SyntaxError"; + }, + /*html$.DomException.INVALID_MODIFICATION*/get INVALID_MODIFICATION() { + return "InvalidModificationError"; + }, + /*html$.DomException.NAMESPACE*/get NAMESPACE() { + return "NamespaceError"; + }, + /*html$.DomException.INVALID_ACCESS*/get INVALID_ACCESS() { + return "InvalidAccessError"; + }, + /*html$.DomException.TYPE_MISMATCH*/get TYPE_MISMATCH() { + return "TypeMismatchError"; + }, + /*html$.DomException.SECURITY*/get SECURITY() { + return "SecurityError"; + }, + /*html$.DomException.NETWORK*/get NETWORK() { + return "NetworkError"; + }, + /*html$.DomException.ABORT*/get ABORT() { + return "AbortError"; + }, + /*html$.DomException.URL_MISMATCH*/get URL_MISMATCH() { + return "URLMismatchError"; + }, + /*html$.DomException.QUOTA_EXCEEDED*/get QUOTA_EXCEEDED() { + return "QuotaExceededError"; + }, + /*html$.DomException.TIMEOUT*/get TIMEOUT() { + return "TimeoutError"; + }, + /*html$.DomException.INVALID_NODE_TYPE*/get INVALID_NODE_TYPE() { + return "InvalidNodeTypeError"; + }, + /*html$.DomException.DATA_CLONE*/get DATA_CLONE() { + return "DataCloneError"; + }, + /*html$.DomException.ENCODING*/get ENCODING() { + return "EncodingError"; + }, + /*html$.DomException.NOT_READABLE*/get NOT_READABLE() { + return "NotReadableError"; + }, + /*html$.DomException.UNKNOWN*/get UNKNOWN() { + return "UnknownError"; + }, + /*html$.DomException.CONSTRAINT*/get CONSTRAINT() { + return "ConstraintError"; + }, + /*html$.DomException.TRANSACTION_INACTIVE*/get TRANSACTION_INACTIVE() { + return "TransactionInactiveError"; + }, + /*html$.DomException.READ_ONLY*/get READ_ONLY() { + return "ReadOnlyError"; + }, + /*html$.DomException.VERSION*/get VERSION() { + return "VersionError"; + }, + /*html$.DomException.OPERATION*/get OPERATION() { + return "OperationError"; + }, + /*html$.DomException.NOT_ALLOWED*/get NOT_ALLOWED() { + return "NotAllowedError"; + }, + /*html$.DomException.TYPE_ERROR*/get TYPE_ERROR() { + return "TypeError"; + } +}, false); +dart.registerExtension("DOMException", html$.DomException); +html$.DomImplementation = class DomImplementation extends _interceptors.Interceptor { + [S$1.$createDocument](...args) { + return this.createDocument.apply(this, args); + } + [S$1.$createDocumentType](...args) { + return this.createDocumentType.apply(this, args); + } + [S.$createHtmlDocument](...args) { + return this.createHTMLDocument.apply(this, args); + } + [S$1.$hasFeature](...args) { + return this.hasFeature.apply(this, args); + } +}; +dart.addTypeTests(html$.DomImplementation); +dart.addTypeCaches(html$.DomImplementation); +dart.setMethodSignature(html$.DomImplementation, () => ({ + __proto__: dart.getMethods(html$.DomImplementation.__proto__), + [S$1.$createDocument]: dart.fnType(html$.XmlDocument, [dart.nullable(core.String), core.String, dart.nullable(html$._DocumentType)]), + [S$1.$createDocumentType]: dart.fnType(html$._DocumentType, [core.String, core.String, core.String]), + [S.$createHtmlDocument]: dart.fnType(html$.HtmlDocument, [], [dart.nullable(core.String)]), + [S$1.$hasFeature]: dart.fnType(core.bool, []) +})); +dart.setLibraryUri(html$.DomImplementation, I[148]); +dart.registerExtension("DOMImplementation", html$.DomImplementation); +html$.DomIterator = class DomIterator extends _interceptors.Interceptor { + [S.$next](...args) { + return this.next.apply(this, args); + } +}; +dart.addTypeTests(html$.DomIterator); +dart.addTypeCaches(html$.DomIterator); +dart.setMethodSignature(html$.DomIterator, () => ({ + __proto__: dart.getMethods(html$.DomIterator.__proto__), + [S.$next]: dart.fnType(dart.nullable(core.Object), [], [dart.nullable(core.Object)]) +})); +dart.setLibraryUri(html$.DomIterator, I[148]); +dart.registerExtension("Iterator", html$.DomIterator); +html$.DomMatrixReadOnly = class DomMatrixReadOnly extends _interceptors.Interceptor { + static new(init = null) { + if (init != null) { + return html$.DomMatrixReadOnly._create_1(init); + } + return html$.DomMatrixReadOnly._create_2(); + } + static _create_1(init) { + return new DOMMatrixReadOnly(init); + } + static _create_2() { + return new DOMMatrixReadOnly(); + } + get [S$1.$a]() { + return this.a; + } + get [S$1.$b]() { + return this.b; + } + get [S$1.$c]() { + return this.c; + } + get [S$1.$d]() { + return this.d; + } + get [S$1.$e]() { + return this.e; + } + get [S$1.$f]() { + return this.f; + } + get [S$.$is2D]() { + return this.is2D; + } + get [S$1.$isIdentity]() { + return this.isIdentity; + } + get [S$1.$m11]() { + return this.m11; + } + get [S$1.$m12]() { + return this.m12; + } + get [S$1.$m13]() { + return this.m13; + } + get [S$1.$m14]() { + return this.m14; + } + get [S$1.$m21]() { + return this.m21; + } + get [S$1.$m22]() { + return this.m22; + } + get [S$1.$m23]() { + return this.m23; + } + get [S$1.$m24]() { + return this.m24; + } + get [S$1.$m31]() { + return this.m31; + } + get [S$1.$m32]() { + return this.m32; + } + get [S$1.$m33]() { + return this.m33; + } + get [S$1.$m34]() { + return this.m34; + } + get [S$1.$m41]() { + return this.m41; + } + get [S$1.$m42]() { + return this.m42; + } + get [S$1.$m43]() { + return this.m43; + } + get [S$1.$m44]() { + return this.m44; + } + [S$1.$flipX](...args) { + return this.flipX.apply(this, args); + } + [S$1.$flipY](...args) { + return this.flipY.apply(this, args); + } + static fromMatrix(other = null) { + if (other != null) { + let other_1 = html_common.convertDartToNative_Dictionary(other); + return dart.global.DOMMatrixReadOnly.fromMatrix(other_1); + } + return dart.global.DOMMatrixReadOnly.fromMatrix(); + } + [S$1.$inverse](...args) { + return this.inverse.apply(this, args); + } + [S$1.$multiply](other = null) { + if (other != null) { + let other_1 = html_common.convertDartToNative_Dictionary(other); + return this[S$1._multiply_1](other_1); + } + return this[S$1._multiply_2](); + } + [S$1._multiply_1](...args) { + return this.multiply.apply(this, args); + } + [S$1._multiply_2](...args) { + return this.multiply.apply(this, args); + } + [S$.$rotate](...args) { + return this.rotate.apply(this, args); + } + [S$1.$rotateAxisAngle](...args) { + return this.rotateAxisAngle.apply(this, args); + } + [S$1.$rotateFromVector](...args) { + return this.rotateFromVector.apply(this, args); + } + [S$.$scale](...args) { + return this.scale.apply(this, args); + } + [S$1.$scale3d](...args) { + return this.scale3d.apply(this, args); + } + [S$1.$skewX](...args) { + return this.skewX.apply(this, args); + } + [S$1.$skewY](...args) { + return this.skewY.apply(this, args); + } + [S$1.$toFloat32Array](...args) { + return this.toFloat32Array.apply(this, args); + } + [S$1.$toFloat64Array](...args) { + return this.toFloat64Array.apply(this, args); + } + [S$1.$transformPoint](point = null) { + if (point != null) { + let point_1 = html_common.convertDartToNative_Dictionary(point); + return this[S$1._transformPoint_1](point_1); + } + return this[S$1._transformPoint_2](); + } + [S$1._transformPoint_1](...args) { + return this.transformPoint.apply(this, args); + } + [S$1._transformPoint_2](...args) { + return this.transformPoint.apply(this, args); + } + [S.$translate](...args) { + return this.translate.apply(this, args); + } +}; +dart.addTypeTests(html$.DomMatrixReadOnly); +dart.addTypeCaches(html$.DomMatrixReadOnly); +dart.setMethodSignature(html$.DomMatrixReadOnly, () => ({ + __proto__: dart.getMethods(html$.DomMatrixReadOnly.__proto__), + [S$1.$flipX]: dart.fnType(html$.DomMatrix, []), + [S$1.$flipY]: dart.fnType(html$.DomMatrix, []), + [S$1.$inverse]: dart.fnType(html$.DomMatrix, []), + [S$1.$multiply]: dart.fnType(html$.DomMatrix, [], [dart.nullable(core.Map)]), + [S$1._multiply_1]: dart.fnType(html$.DomMatrix, [dart.dynamic]), + [S$1._multiply_2]: dart.fnType(html$.DomMatrix, []), + [S$.$rotate]: dart.fnType(html$.DomMatrix, [], [dart.nullable(core.num), dart.nullable(core.num), dart.nullable(core.num)]), + [S$1.$rotateAxisAngle]: dart.fnType(html$.DomMatrix, [], [dart.nullable(core.num), dart.nullable(core.num), dart.nullable(core.num), dart.nullable(core.num)]), + [S$1.$rotateFromVector]: dart.fnType(html$.DomMatrix, [], [dart.nullable(core.num), dart.nullable(core.num)]), + [S$.$scale]: dart.fnType(html$.DomMatrix, [], [dart.nullable(core.num), dart.nullable(core.num), dart.nullable(core.num), dart.nullable(core.num), dart.nullable(core.num), dart.nullable(core.num)]), + [S$1.$scale3d]: dart.fnType(html$.DomMatrix, [], [dart.nullable(core.num), dart.nullable(core.num), dart.nullable(core.num), dart.nullable(core.num)]), + [S$1.$skewX]: dart.fnType(html$.DomMatrix, [], [dart.nullable(core.num)]), + [S$1.$skewY]: dart.fnType(html$.DomMatrix, [], [dart.nullable(core.num)]), + [S$1.$toFloat32Array]: dart.fnType(typed_data.Float32List, []), + [S$1.$toFloat64Array]: dart.fnType(typed_data.Float64List, []), + [S$1.$transformPoint]: dart.fnType(html$.DomPoint, [], [dart.nullable(core.Map)]), + [S$1._transformPoint_1]: dart.fnType(html$.DomPoint, [dart.dynamic]), + [S$1._transformPoint_2]: dart.fnType(html$.DomPoint, []), + [S.$translate]: dart.fnType(html$.DomMatrix, [], [dart.nullable(core.num), dart.nullable(core.num), dart.nullable(core.num)]) +})); +dart.setGetterSignature(html$.DomMatrixReadOnly, () => ({ + __proto__: dart.getGetters(html$.DomMatrixReadOnly.__proto__), + [S$1.$a]: dart.nullable(core.num), + [S$1.$b]: dart.nullable(core.num), + [S$1.$c]: dart.nullable(core.num), + [S$1.$d]: dart.nullable(core.num), + [S$1.$e]: dart.nullable(core.num), + [S$1.$f]: dart.nullable(core.num), + [S$.$is2D]: dart.nullable(core.bool), + [S$1.$isIdentity]: dart.nullable(core.bool), + [S$1.$m11]: dart.nullable(core.num), + [S$1.$m12]: dart.nullable(core.num), + [S$1.$m13]: dart.nullable(core.num), + [S$1.$m14]: dart.nullable(core.num), + [S$1.$m21]: dart.nullable(core.num), + [S$1.$m22]: dart.nullable(core.num), + [S$1.$m23]: dart.nullable(core.num), + [S$1.$m24]: dart.nullable(core.num), + [S$1.$m31]: dart.nullable(core.num), + [S$1.$m32]: dart.nullable(core.num), + [S$1.$m33]: dart.nullable(core.num), + [S$1.$m34]: dart.nullable(core.num), + [S$1.$m41]: dart.nullable(core.num), + [S$1.$m42]: dart.nullable(core.num), + [S$1.$m43]: dart.nullable(core.num), + [S$1.$m44]: dart.nullable(core.num) +})); +dart.setLibraryUri(html$.DomMatrixReadOnly, I[148]); +dart.registerExtension("DOMMatrixReadOnly", html$.DomMatrixReadOnly); +html$.DomMatrix = class DomMatrix extends html$.DomMatrixReadOnly { + static new(init = null) { + if (init != null) { + return html$.DomMatrix._create_1(init); + } + return html$.DomMatrix._create_2(); + } + static _create_1(init) { + return new DOMMatrix(init); + } + static _create_2() { + return new DOMMatrix(); + } + get [S$1.$a]() { + return this.a; + } + set [S$1.$a](value) { + this.a = value; + } + get [S$1.$b]() { + return this.b; + } + set [S$1.$b](value) { + this.b = value; + } + get [S$1.$c]() { + return this.c; + } + set [S$1.$c](value) { + this.c = value; + } + get [S$1.$d]() { + return this.d; + } + set [S$1.$d](value) { + this.d = value; + } + get [S$1.$e]() { + return this.e; + } + set [S$1.$e](value) { + this.e = value; + } + get [S$1.$f]() { + return this.f; + } + set [S$1.$f](value) { + this.f = value; + } + get [S$1.$m11]() { + return this.m11; + } + set [S$1.$m11](value) { + this.m11 = value; + } + get [S$1.$m12]() { + return this.m12; + } + set [S$1.$m12](value) { + this.m12 = value; + } + get [S$1.$m13]() { + return this.m13; + } + set [S$1.$m13](value) { + this.m13 = value; + } + get [S$1.$m14]() { + return this.m14; + } + set [S$1.$m14](value) { + this.m14 = value; + } + get [S$1.$m21]() { + return this.m21; + } + set [S$1.$m21](value) { + this.m21 = value; + } + get [S$1.$m22]() { + return this.m22; + } + set [S$1.$m22](value) { + this.m22 = value; + } + get [S$1.$m23]() { + return this.m23; + } + set [S$1.$m23](value) { + this.m23 = value; + } + get [S$1.$m24]() { + return this.m24; + } + set [S$1.$m24](value) { + this.m24 = value; + } + get [S$1.$m31]() { + return this.m31; + } + set [S$1.$m31](value) { + this.m31 = value; + } + get [S$1.$m32]() { + return this.m32; + } + set [S$1.$m32](value) { + this.m32 = value; + } + get [S$1.$m33]() { + return this.m33; + } + set [S$1.$m33](value) { + this.m33 = value; + } + get [S$1.$m34]() { + return this.m34; + } + set [S$1.$m34](value) { + this.m34 = value; + } + get [S$1.$m41]() { + return this.m41; + } + set [S$1.$m41](value) { + this.m41 = value; + } + get [S$1.$m42]() { + return this.m42; + } + set [S$1.$m42](value) { + this.m42 = value; + } + get [S$1.$m43]() { + return this.m43; + } + set [S$1.$m43](value) { + this.m43 = value; + } + get [S$1.$m44]() { + return this.m44; + } + set [S$1.$m44](value) { + this.m44 = value; + } + static fromMatrix(other = null) { + if (other != null) { + let other_1 = html_common.convertDartToNative_Dictionary(other); + return dart.global.DOMMatrix.fromMatrix(other_1); + } + return dart.global.DOMMatrix.fromMatrix(); + } + [S$1.$invertSelf](...args) { + return this.invertSelf.apply(this, args); + } + [S$1.$multiplySelf](other = null) { + if (other != null) { + let other_1 = html_common.convertDartToNative_Dictionary(other); + return this[S$1._multiplySelf_1](other_1); + } + return this[S$1._multiplySelf_2](); + } + [S$1._multiplySelf_1](...args) { + return this.multiplySelf.apply(this, args); + } + [S$1._multiplySelf_2](...args) { + return this.multiplySelf.apply(this, args); + } + [S$1.$preMultiplySelf](other = null) { + if (other != null) { + let other_1 = html_common.convertDartToNative_Dictionary(other); + return this[S$1._preMultiplySelf_1](other_1); + } + return this[S$1._preMultiplySelf_2](); + } + [S$1._preMultiplySelf_1](...args) { + return this.preMultiplySelf.apply(this, args); + } + [S$1._preMultiplySelf_2](...args) { + return this.preMultiplySelf.apply(this, args); + } + [S$1.$rotateAxisAngleSelf](...args) { + return this.rotateAxisAngleSelf.apply(this, args); + } + [S$1.$rotateFromVectorSelf](...args) { + return this.rotateFromVectorSelf.apply(this, args); + } + [S$1.$rotateSelf](...args) { + return this.rotateSelf.apply(this, args); + } + [S$1.$scale3dSelf](...args) { + return this.scale3dSelf.apply(this, args); + } + [S$1.$scaleSelf](...args) { + return this.scaleSelf.apply(this, args); + } + [S$1.$setMatrixValue](...args) { + return this.setMatrixValue.apply(this, args); + } + [S$1.$skewXSelf](...args) { + return this.skewXSelf.apply(this, args); + } + [S$1.$skewYSelf](...args) { + return this.skewYSelf.apply(this, args); + } + [S$1.$translateSelf](...args) { + return this.translateSelf.apply(this, args); + } +}; +dart.addTypeTests(html$.DomMatrix); +dart.addTypeCaches(html$.DomMatrix); +dart.setMethodSignature(html$.DomMatrix, () => ({ + __proto__: dart.getMethods(html$.DomMatrix.__proto__), + [S$1.$invertSelf]: dart.fnType(html$.DomMatrix, []), + [S$1.$multiplySelf]: dart.fnType(html$.DomMatrix, [], [dart.nullable(core.Map)]), + [S$1._multiplySelf_1]: dart.fnType(html$.DomMatrix, [dart.dynamic]), + [S$1._multiplySelf_2]: dart.fnType(html$.DomMatrix, []), + [S$1.$preMultiplySelf]: dart.fnType(html$.DomMatrix, [], [dart.nullable(core.Map)]), + [S$1._preMultiplySelf_1]: dart.fnType(html$.DomMatrix, [dart.dynamic]), + [S$1._preMultiplySelf_2]: dart.fnType(html$.DomMatrix, []), + [S$1.$rotateAxisAngleSelf]: dart.fnType(html$.DomMatrix, [], [dart.nullable(core.num), dart.nullable(core.num), dart.nullable(core.num), dart.nullable(core.num)]), + [S$1.$rotateFromVectorSelf]: dart.fnType(html$.DomMatrix, [], [dart.nullable(core.num), dart.nullable(core.num)]), + [S$1.$rotateSelf]: dart.fnType(html$.DomMatrix, [], [dart.nullable(core.num), dart.nullable(core.num), dart.nullable(core.num)]), + [S$1.$scale3dSelf]: dart.fnType(html$.DomMatrix, [], [dart.nullable(core.num), dart.nullable(core.num), dart.nullable(core.num), dart.nullable(core.num)]), + [S$1.$scaleSelf]: dart.fnType(html$.DomMatrix, [], [dart.nullable(core.num), dart.nullable(core.num), dart.nullable(core.num), dart.nullable(core.num), dart.nullable(core.num), dart.nullable(core.num)]), + [S$1.$setMatrixValue]: dart.fnType(html$.DomMatrix, [core.String]), + [S$1.$skewXSelf]: dart.fnType(html$.DomMatrix, [], [dart.nullable(core.num)]), + [S$1.$skewYSelf]: dart.fnType(html$.DomMatrix, [], [dart.nullable(core.num)]), + [S$1.$translateSelf]: dart.fnType(html$.DomMatrix, [], [dart.nullable(core.num), dart.nullable(core.num), dart.nullable(core.num)]) +})); +dart.setSetterSignature(html$.DomMatrix, () => ({ + __proto__: dart.getSetters(html$.DomMatrix.__proto__), + [S$1.$a]: dart.nullable(core.num), + [S$1.$b]: dart.nullable(core.num), + [S$1.$c]: dart.nullable(core.num), + [S$1.$d]: dart.nullable(core.num), + [S$1.$e]: dart.nullable(core.num), + [S$1.$f]: dart.nullable(core.num), + [S$1.$m11]: dart.nullable(core.num), + [S$1.$m12]: dart.nullable(core.num), + [S$1.$m13]: dart.nullable(core.num), + [S$1.$m14]: dart.nullable(core.num), + [S$1.$m21]: dart.nullable(core.num), + [S$1.$m22]: dart.nullable(core.num), + [S$1.$m23]: dart.nullable(core.num), + [S$1.$m24]: dart.nullable(core.num), + [S$1.$m31]: dart.nullable(core.num), + [S$1.$m32]: dart.nullable(core.num), + [S$1.$m33]: dart.nullable(core.num), + [S$1.$m34]: dart.nullable(core.num), + [S$1.$m41]: dart.nullable(core.num), + [S$1.$m42]: dart.nullable(core.num), + [S$1.$m43]: dart.nullable(core.num), + [S$1.$m44]: dart.nullable(core.num) +})); +dart.setLibraryUri(html$.DomMatrix, I[148]); +dart.registerExtension("DOMMatrix", html$.DomMatrix); +html$.DomParser = class DomParser extends _interceptors.Interceptor { + static new() { + return html$.DomParser._create_1(); + } + static _create_1() { + return new DOMParser(); + } + [S$1.$parseFromString](...args) { + return this.parseFromString.apply(this, args); + } +}; +dart.addTypeTests(html$.DomParser); +dart.addTypeCaches(html$.DomParser); +dart.setMethodSignature(html$.DomParser, () => ({ + __proto__: dart.getMethods(html$.DomParser.__proto__), + [S$1.$parseFromString]: dart.fnType(html$.Document, [core.String, core.String]) +})); +dart.setLibraryUri(html$.DomParser, I[148]); +dart.registerExtension("DOMParser", html$.DomParser); +html$.DomPointReadOnly = class DomPointReadOnly extends _interceptors.Interceptor { + static new(x = null, y = null, z = null, w = null) { + if (w != null) { + return html$.DomPointReadOnly._create_1(x, y, z, w); + } + if (z != null) { + return html$.DomPointReadOnly._create_2(x, y, z); + } + if (y != null) { + return html$.DomPointReadOnly._create_3(x, y); + } + if (x != null) { + return html$.DomPointReadOnly._create_4(x); + } + return html$.DomPointReadOnly._create_5(); + } + static _create_1(x, y, z, w) { + return new DOMPointReadOnly(x, y, z, w); + } + static _create_2(x, y, z) { + return new DOMPointReadOnly(x, y, z); + } + static _create_3(x, y) { + return new DOMPointReadOnly(x, y); + } + static _create_4(x) { + return new DOMPointReadOnly(x); + } + static _create_5() { + return new DOMPointReadOnly(); + } + get [S$1.$w]() { + return this.w; + } + get [S$.$x]() { + return this.x; + } + get [S$.$y]() { + return this.y; + } + get [S$.$z]() { + return this.z; + } + static fromPoint(other = null) { + if (other != null) { + let other_1 = html_common.convertDartToNative_Dictionary(other); + return dart.global.DOMPointReadOnly.fromPoint(other_1); + } + return dart.global.DOMPointReadOnly.fromPoint(); + } + [S$1.$matrixTransform](matrix = null) { + if (matrix != null) { + let matrix_1 = html_common.convertDartToNative_Dictionary(matrix); + return this[S$1._matrixTransform_1](matrix_1); + } + return this[S$1._matrixTransform_2](); + } + [S$1._matrixTransform_1](...args) { + return this.matrixTransform.apply(this, args); + } + [S$1._matrixTransform_2](...args) { + return this.matrixTransform.apply(this, args); + } +}; +dart.addTypeTests(html$.DomPointReadOnly); +dart.addTypeCaches(html$.DomPointReadOnly); +dart.setMethodSignature(html$.DomPointReadOnly, () => ({ + __proto__: dart.getMethods(html$.DomPointReadOnly.__proto__), + [S$1.$matrixTransform]: dart.fnType(html$.DomPoint, [], [dart.nullable(core.Map)]), + [S$1._matrixTransform_1]: dart.fnType(html$.DomPoint, [dart.dynamic]), + [S$1._matrixTransform_2]: dart.fnType(html$.DomPoint, []) +})); +dart.setGetterSignature(html$.DomPointReadOnly, () => ({ + __proto__: dart.getGetters(html$.DomPointReadOnly.__proto__), + [S$1.$w]: dart.nullable(core.num), + [S$.$x]: dart.nullable(core.num), + [S$.$y]: dart.nullable(core.num), + [S$.$z]: dart.nullable(core.num) +})); +dart.setLibraryUri(html$.DomPointReadOnly, I[148]); +dart.registerExtension("DOMPointReadOnly", html$.DomPointReadOnly); +html$.DomPoint = class DomPoint extends html$.DomPointReadOnly { + static new(x = null, y = null, z = null, w = null) { + if (w != null) { + return html$.DomPoint._create_1(x, y, z, w); + } + if (z != null) { + return html$.DomPoint._create_2(x, y, z); + } + if (y != null) { + return html$.DomPoint._create_3(x, y); + } + if (x != null) { + return html$.DomPoint._create_4(x); + } + return html$.DomPoint._create_5(); + } + static _create_1(x, y, z, w) { + return new DOMPoint(x, y, z, w); + } + static _create_2(x, y, z) { + return new DOMPoint(x, y, z); + } + static _create_3(x, y) { + return new DOMPoint(x, y); + } + static _create_4(x) { + return new DOMPoint(x); + } + static _create_5() { + return new DOMPoint(); + } + static get supported() { + return !!window.DOMPoint || !!window.WebKitPoint; + } + get [S$1.$w]() { + return this.w; + } + set [S$1.$w](value) { + this.w = value; + } + get [S$.$x]() { + return this.x; + } + set [S$.$x](value) { + this.x = value; + } + get [S$.$y]() { + return this.y; + } + set [S$.$y](value) { + this.y = value; + } + get [S$.$z]() { + return this.z; + } + set [S$.$z](value) { + this.z = value; + } + static fromPoint(other = null) { + if (other != null) { + let other_1 = html_common.convertDartToNative_Dictionary(other); + return dart.global.DOMPoint.fromPoint(other_1); + } + return dart.global.DOMPoint.fromPoint(); + } +}; +dart.addTypeTests(html$.DomPoint); +dart.addTypeCaches(html$.DomPoint); +dart.setSetterSignature(html$.DomPoint, () => ({ + __proto__: dart.getSetters(html$.DomPoint.__proto__), + [S$1.$w]: dart.nullable(core.num), + [S$.$x]: dart.nullable(core.num), + [S$.$y]: dart.nullable(core.num), + [S$.$z]: dart.nullable(core.num) +})); +dart.setLibraryUri(html$.DomPoint, I[148]); +dart.registerExtension("DOMPoint", html$.DomPoint); +html$.DomQuad = class DomQuad extends _interceptors.Interceptor { + static new(p1 = null, p2 = null, p3 = null, p4 = null) { + if (p4 != null) { + let p1_1 = html_common.convertDartToNative_Dictionary(p1); + let p2_2 = html_common.convertDartToNative_Dictionary(p2); + let p3_3 = html_common.convertDartToNative_Dictionary(p3); + let p4_4 = html_common.convertDartToNative_Dictionary(p4); + return html$.DomQuad._create_1(p1_1, p2_2, p3_3, p4_4); + } + if (p3 != null) { + let p1_1 = html_common.convertDartToNative_Dictionary(p1); + let p2_2 = html_common.convertDartToNative_Dictionary(p2); + let p3_3 = html_common.convertDartToNative_Dictionary(p3); + return html$.DomQuad._create_2(p1_1, p2_2, p3_3); + } + if (p2 != null) { + let p1_1 = html_common.convertDartToNative_Dictionary(p1); + let p2_2 = html_common.convertDartToNative_Dictionary(p2); + return html$.DomQuad._create_3(p1_1, p2_2); + } + if (p1 != null) { + let p1_1 = html_common.convertDartToNative_Dictionary(p1); + return html$.DomQuad._create_4(p1_1); + } + return html$.DomQuad._create_5(); + } + static _create_1(p1, p2, p3, p4) { + return new DOMQuad(p1, p2, p3, p4); + } + static _create_2(p1, p2, p3) { + return new DOMQuad(p1, p2, p3); + } + static _create_3(p1, p2) { + return new DOMQuad(p1, p2); + } + static _create_4(p1) { + return new DOMQuad(p1); + } + static _create_5() { + return new DOMQuad(); + } + get [S$1.$p1]() { + return this.p1; + } + get [S$1.$p2]() { + return this.p2; + } + get [S$1.$p3]() { + return this.p3; + } + get [S$1.$p4]() { + return this.p4; + } + static fromQuad(other = null) { + if (other != null) { + let other_1 = html_common.convertDartToNative_Dictionary(other); + return dart.global.DOMQuad.fromQuad(other_1); + } + return dart.global.DOMQuad.fromQuad(); + } + static fromRect(other = null) { + if (other != null) { + let other_1 = html_common.convertDartToNative_Dictionary(other); + return dart.global.DOMQuad.fromRect(other_1); + } + return dart.global.DOMQuad.fromRect(); + } + [S$1.$getBounds](...args) { + return this.getBounds.apply(this, args); + } +}; +dart.addTypeTests(html$.DomQuad); +dart.addTypeCaches(html$.DomQuad); +dart.setMethodSignature(html$.DomQuad, () => ({ + __proto__: dart.getMethods(html$.DomQuad.__proto__), + [S$1.$getBounds]: dart.fnType(math.Rectangle$(core.num), []) +})); +dart.setGetterSignature(html$.DomQuad, () => ({ + __proto__: dart.getGetters(html$.DomQuad.__proto__), + [S$1.$p1]: dart.nullable(html$.DomPoint), + [S$1.$p2]: dart.nullable(html$.DomPoint), + [S$1.$p3]: dart.nullable(html$.DomPoint), + [S$1.$p4]: dart.nullable(html$.DomPoint) +})); +dart.setLibraryUri(html$.DomQuad, I[148]); +dart.registerExtension("DOMQuad", html$.DomQuad); +const _is_ImmutableListMixin_default = Symbol('_is_ImmutableListMixin_default'); +html$.ImmutableListMixin$ = dart.generic(E => { + var FixedSizeListIteratorOfE = () => (FixedSizeListIteratorOfE = dart.constFn(html$.FixedSizeListIterator$(E)))(); + var IterableOfE = () => (IterableOfE = dart.constFn(core.Iterable$(E)))(); + var EN = () => (EN = dart.constFn(dart.nullable(E)))(); + class ImmutableListMixin extends core.Object { + get iterator() { + return new (FixedSizeListIteratorOfE()).new(this); + } + [Symbol.iterator]() { + return new dart.JsIterator(this[$iterator]); + } + add(value) { + E.as(value); + dart.throw(new core.UnsupportedError.new("Cannot add to immutable List.")); + } + addAll(iterable) { + IterableOfE().as(iterable); + if (iterable == null) dart.nullFailed(I[147], 37959, 27, "iterable"); + dart.throw(new core.UnsupportedError.new("Cannot add to immutable List.")); + } + sort(compare = null) { + dart.throw(new core.UnsupportedError.new("Cannot sort immutable List.")); + } + shuffle(random = null) { + dart.throw(new core.UnsupportedError.new("Cannot shuffle immutable List.")); + } + insert(index, element) { + if (index == null) dart.nullFailed(I[147], 37971, 19, "index"); + E.as(element); + dart.throw(new core.UnsupportedError.new("Cannot add to immutable List.")); + } + insertAll(index, iterable) { + if (index == null) dart.nullFailed(I[147], 37975, 22, "index"); + IterableOfE().as(iterable); + if (iterable == null) dart.nullFailed(I[147], 37975, 41, "iterable"); + dart.throw(new core.UnsupportedError.new("Cannot add to immutable List.")); + } + setAll(index, iterable) { + if (index == null) dart.nullFailed(I[147], 37979, 19, "index"); + IterableOfE().as(iterable); + if (iterable == null) dart.nullFailed(I[147], 37979, 38, "iterable"); + dart.throw(new core.UnsupportedError.new("Cannot modify an immutable List.")); + } + removeAt(pos) { + if (pos == null) dart.nullFailed(I[147], 37983, 18, "pos"); + dart.throw(new core.UnsupportedError.new("Cannot remove from immutable List.")); + } + removeLast() { + dart.throw(new core.UnsupportedError.new("Cannot remove from immutable List.")); + } + remove(object) { + dart.throw(new core.UnsupportedError.new("Cannot remove from immutable List.")); + } + removeWhere(test) { + if (test == null) dart.nullFailed(I[147], 37995, 25, "test"); + dart.throw(new core.UnsupportedError.new("Cannot remove from immutable List.")); + } + retainWhere(test) { + if (test == null) dart.nullFailed(I[147], 37999, 25, "test"); + dart.throw(new core.UnsupportedError.new("Cannot remove from immutable List.")); + } + setRange(start, end, iterable, skipCount = 0) { + if (start == null) dart.nullFailed(I[147], 38003, 21, "start"); + if (end == null) dart.nullFailed(I[147], 38003, 32, "end"); + IterableOfE().as(iterable); + if (iterable == null) dart.nullFailed(I[147], 38003, 49, "iterable"); + if (skipCount == null) dart.nullFailed(I[147], 38003, 64, "skipCount"); + dart.throw(new core.UnsupportedError.new("Cannot setRange on immutable List.")); + } + removeRange(start, end) { + if (start == null) dart.nullFailed(I[147], 38007, 24, "start"); + if (end == null) dart.nullFailed(I[147], 38007, 35, "end"); + dart.throw(new core.UnsupportedError.new("Cannot removeRange on immutable List.")); + } + replaceRange(start, end, iterable) { + if (start == null) dart.nullFailed(I[147], 38011, 25, "start"); + if (end == null) dart.nullFailed(I[147], 38011, 36, "end"); + IterableOfE().as(iterable); + if (iterable == null) dart.nullFailed(I[147], 38011, 53, "iterable"); + dart.throw(new core.UnsupportedError.new("Cannot modify an immutable List.")); + } + fillRange(start, end, fillValue = null) { + if (start == null) dart.nullFailed(I[147], 38015, 22, "start"); + if (end == null) dart.nullFailed(I[147], 38015, 33, "end"); + EN().as(fillValue); + dart.throw(new core.UnsupportedError.new("Cannot modify an immutable List.")); + } + } + (ImmutableListMixin.new = function() { + ; + }).prototype = ImmutableListMixin.prototype; + ImmutableListMixin.prototype[dart.isList] = true; + dart.addTypeTests(ImmutableListMixin); + ImmutableListMixin.prototype[_is_ImmutableListMixin_default] = true; + dart.addTypeCaches(ImmutableListMixin); + ImmutableListMixin[dart.implements] = () => [core.List$(E)]; + dart.setMethodSignature(ImmutableListMixin, () => ({ + __proto__: dart.getMethods(ImmutableListMixin.__proto__), + add: dart.fnType(dart.void, [dart.nullable(core.Object)]), + [$add]: dart.fnType(dart.void, [dart.nullable(core.Object)]), + addAll: dart.fnType(dart.void, [dart.nullable(core.Object)]), + [$addAll]: dart.fnType(dart.void, [dart.nullable(core.Object)]), + sort: dart.fnType(dart.void, [], [dart.nullable(dart.fnType(core.int, [E, E]))]), + [$sort]: dart.fnType(dart.void, [], [dart.nullable(dart.fnType(core.int, [E, E]))]), + shuffle: dart.fnType(dart.void, [], [dart.nullable(math.Random)]), + [$shuffle]: dart.fnType(dart.void, [], [dart.nullable(math.Random)]), + insert: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), + [$insert]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), + insertAll: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), + [$insertAll]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), + setAll: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), + [$setAll]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), + removeAt: dart.fnType(E, [core.int]), + [$removeAt]: dart.fnType(E, [core.int]), + removeLast: dart.fnType(E, []), + [$removeLast]: dart.fnType(E, []), + remove: dart.fnType(core.bool, [dart.nullable(core.Object)]), + [$remove]: dart.fnType(core.bool, [dart.nullable(core.Object)]), + removeWhere: dart.fnType(dart.void, [dart.fnType(core.bool, [E])]), + [$removeWhere]: dart.fnType(dart.void, [dart.fnType(core.bool, [E])]), + retainWhere: dart.fnType(dart.void, [dart.fnType(core.bool, [E])]), + [$retainWhere]: dart.fnType(dart.void, [dart.fnType(core.bool, [E])]), + setRange: dart.fnType(dart.void, [core.int, core.int, dart.nullable(core.Object)], [core.int]), + [$setRange]: dart.fnType(dart.void, [core.int, core.int, dart.nullable(core.Object)], [core.int]), + removeRange: dart.fnType(dart.void, [core.int, core.int]), + [$removeRange]: dart.fnType(dart.void, [core.int, core.int]), + replaceRange: dart.fnType(dart.void, [core.int, core.int, dart.nullable(core.Object)]), + [$replaceRange]: dart.fnType(dart.void, [core.int, core.int, dart.nullable(core.Object)]), + fillRange: dart.fnType(dart.void, [core.int, core.int], [dart.nullable(core.Object)]), + [$fillRange]: dart.fnType(dart.void, [core.int, core.int], [dart.nullable(core.Object)]) + })); + dart.setGetterSignature(ImmutableListMixin, () => ({ + __proto__: dart.getGetters(ImmutableListMixin.__proto__), + iterator: core.Iterator$(E), + [$iterator]: core.Iterator$(E) + })); + dart.setLibraryUri(ImmutableListMixin, I[148]); + dart.defineExtensionMethods(ImmutableListMixin, [ + 'add', + 'addAll', + 'sort', + 'shuffle', + 'insert', + 'insertAll', + 'setAll', + 'removeAt', + 'removeLast', + 'remove', + 'removeWhere', + 'retainWhere', + 'setRange', + 'removeRange', + 'replaceRange', + 'fillRange' + ]); + dart.defineExtensionAccessors(ImmutableListMixin, ['iterator']); + return ImmutableListMixin; +}); +html$.ImmutableListMixin = html$.ImmutableListMixin$(); +dart.addTypeTests(html$.ImmutableListMixin, _is_ImmutableListMixin_default); +const Interceptor_ListMixin$36 = class Interceptor_ListMixin extends _interceptors.Interceptor {}; +(Interceptor_ListMixin$36.new = function() { + Interceptor_ListMixin$36.__proto__.new.call(this); +}).prototype = Interceptor_ListMixin$36.prototype; +dart.applyMixin(Interceptor_ListMixin$36, collection.ListMixin$(math.Rectangle$(core.num))); +const Interceptor_ImmutableListMixin$36 = class Interceptor_ImmutableListMixin extends Interceptor_ListMixin$36 {}; +(Interceptor_ImmutableListMixin$36.new = function() { + Interceptor_ImmutableListMixin$36.__proto__.new.call(this); +}).prototype = Interceptor_ImmutableListMixin$36.prototype; +dart.applyMixin(Interceptor_ImmutableListMixin$36, html$.ImmutableListMixin$(math.Rectangle$(core.num))); +html$.DomRectList = class DomRectList extends Interceptor_ImmutableListMixin$36 { + get [$length]() { + return this.length; + } + [$_get](index) { + if (index == null) dart.nullFailed(I[147], 11383, 29, "index"); + if (index >>> 0 !== index || index >= this[$length]) dart.throw(new core.IndexError.new(index, this)); + return this[index]; + } + [$_set](index, value$) { + let value = value$; + if (index == null) dart.nullFailed(I[147], 11389, 25, "index"); + T$0.RectangleOfnum().as(value); + if (value == null) dart.nullFailed(I[147], 11389, 42, "value"); + dart.throw(new core.UnsupportedError.new("Cannot assign element of immutable List.")); + return value$; + } + set [$length](value) { + if (value == null) dart.nullFailed(I[147], 11395, 18, "value"); + dart.throw(new core.UnsupportedError.new("Cannot resize immutable List.")); + } + get [$first]() { + if (dart.notNull(this[$length]) > 0) { + return this[0]; + } + dart.throw(new core.StateError.new("No elements")); + } + set [$first](value) { + super[$first] = value; + } + get [$last]() { + let len = this[$length]; + if (dart.notNull(len) > 0) { + return this[dart.notNull(len) - 1]; + } + dart.throw(new core.StateError.new("No elements")); + } + set [$last](value) { + super[$last] = value; + } + get [$single]() { + let len = this[$length]; + if (len === 1) { + return this[0]; + } + if (len === 0) dart.throw(new core.StateError.new("No elements")); + dart.throw(new core.StateError.new("More than one element")); + } + [$elementAt](index) { + if (index == null) dart.nullFailed(I[147], 11423, 27, "index"); + return this[$_get](index); + } + [S$.$item](...args) { + return this.item.apply(this, args); + } +}; +html$.DomRectList.prototype[dart.isList] = true; +dart.addTypeTests(html$.DomRectList); +dart.addTypeCaches(html$.DomRectList); +html$.DomRectList[dart.implements] = () => [core.List$(math.Rectangle$(core.num)), _js_helper.JavaScriptIndexingBehavior$(math.Rectangle$(core.num))]; +dart.setMethodSignature(html$.DomRectList, () => ({ + __proto__: dart.getMethods(html$.DomRectList.__proto__), + [$_get]: dart.fnType(math.Rectangle$(core.num), [core.int]), + [$_set]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), + [S$.$item]: dart.fnType(dart.nullable(math.Rectangle$(core.num)), [core.int]) +})); +dart.setGetterSignature(html$.DomRectList, () => ({ + __proto__: dart.getGetters(html$.DomRectList.__proto__), + [$length]: core.int +})); +dart.setSetterSignature(html$.DomRectList, () => ({ + __proto__: dart.getSetters(html$.DomRectList.__proto__), + [$length]: core.int +})); +dart.setLibraryUri(html$.DomRectList, I[148]); +dart.registerExtension("ClientRectList", html$.DomRectList); +dart.registerExtension("DOMRectList", html$.DomRectList); +html$.DomRectReadOnly = class DomRectReadOnly extends _interceptors.Interceptor { + [$toString]() { + return "Rectangle (" + dart.str(this[$left]) + ", " + dart.str(this[$top]) + ") " + dart.str(this[$width]) + " x " + dart.str(this[$height]); + } + [$_equals](other) { + if (other == null) return false; + return T$0.RectangleOfnum().is(other) && this[$left] == other[$left] && this[$top] == other[$top] && this[$width] == other[$width] && this[$height] == other[$height]; + } + get [$hashCode]() { + return html$._JenkinsSmiHash.hash4(dart.hashCode(this[$left]), dart.hashCode(this[$top]), dart.hashCode(this[$width]), dart.hashCode(this[$height])); + } + [$intersection](other) { + T$0.RectangleOfnum().as(other); + if (other == null) dart.nullFailed(I[147], 11458, 37, "other"); + let x0 = math.max(core.num, this[$left], other[$left]); + let x1 = math.min(core.num, dart.notNull(this[$left]) + dart.notNull(this[$width]), dart.notNull(other[$left]) + dart.notNull(other[$width])); + if (x0 <= x1) { + let y0 = math.max(core.num, this[$top], other[$top]); + let y1 = math.min(core.num, dart.notNull(this[$top]) + dart.notNull(this[$height]), dart.notNull(other[$top]) + dart.notNull(other[$height])); + if (y0 <= y1) { + return new (T$0.RectangleOfnum()).new(x0, y0, x1 - x0, y1 - y0); + } + } + return null; + } + [$intersects](other) { + if (other == null) dart.nullFailed(I[147], 11476, 34, "other"); + return dart.notNull(this[$left]) <= dart.notNull(other[$left]) + dart.notNull(other[$width]) && dart.notNull(other[$left]) <= dart.notNull(this[$left]) + dart.notNull(this[$width]) && dart.notNull(this[$top]) <= dart.notNull(other[$top]) + dart.notNull(other[$height]) && dart.notNull(other[$top]) <= dart.notNull(this[$top]) + dart.notNull(this[$height]); + } + [$boundingBox](other) { + T$0.RectangleOfnum().as(other); + if (other == null) dart.nullFailed(I[147], 11486, 35, "other"); + let right = math.max(core.num, dart.notNull(this[$left]) + dart.notNull(this[$width]), dart.notNull(other[$left]) + dart.notNull(other[$width])); + let bottom = math.max(core.num, dart.notNull(this[$top]) + dart.notNull(this[$height]), dart.notNull(other[$top]) + dart.notNull(other[$height])); + let left = math.min(core.num, this[$left], other[$left]); + let top = math.min(core.num, this[$top], other[$top]); + return new (T$0.RectangleOfnum()).new(left, top, right - left, bottom - top); + } + [$containsRectangle](another) { + if (another == null) dart.nullFailed(I[147], 11499, 41, "another"); + return dart.notNull(this[$left]) <= dart.notNull(another[$left]) && dart.notNull(this[$left]) + dart.notNull(this[$width]) >= dart.notNull(another[$left]) + dart.notNull(another[$width]) && dart.notNull(this[$top]) <= dart.notNull(another[$top]) && dart.notNull(this[$top]) + dart.notNull(this[$height]) >= dart.notNull(another[$top]) + dart.notNull(another[$height]); + } + [$containsPoint](another) { + if (another == null) dart.nullFailed(I[147], 11509, 33, "another"); + return dart.notNull(another.x) >= dart.notNull(this[$left]) && dart.notNull(another.x) <= dart.notNull(this[$left]) + dart.notNull(this[$width]) && dart.notNull(another.y) >= dart.notNull(this[$top]) && dart.notNull(another.y) <= dart.notNull(this[$top]) + dart.notNull(this[$height]); + } + get [$topLeft]() { + return new (T$0.PointOfnum()).new(this[$left], this[$top]); + } + get [$topRight]() { + return new (T$0.PointOfnum()).new(dart.notNull(this[$left]) + dart.notNull(this[$width]), this[$top]); + } + get [$bottomRight]() { + return new (T$0.PointOfnum()).new(dart.notNull(this[$left]) + dart.notNull(this[$width]), dart.notNull(this[$top]) + dart.notNull(this[$height])); + } + get [$bottomLeft]() { + return new (T$0.PointOfnum()).new(this[$left], dart.notNull(this[$top]) + dart.notNull(this[$height])); + } + static new(x = null, y = null, width = null, height = null) { + if (height != null) { + return html$.DomRectReadOnly._create_1(x, y, width, height); + } + if (width != null) { + return html$.DomRectReadOnly._create_2(x, y, width); + } + if (y != null) { + return html$.DomRectReadOnly._create_3(x, y); + } + if (x != null) { + return html$.DomRectReadOnly._create_4(x); + } + return html$.DomRectReadOnly._create_5(); + } + static _create_1(x, y, width, height) { + return new DOMRectReadOnly(x, y, width, height); + } + static _create_2(x, y, width) { + return new DOMRectReadOnly(x, y, width); + } + static _create_3(x, y) { + return new DOMRectReadOnly(x, y); + } + static _create_4(x) { + return new DOMRectReadOnly(x); + } + static _create_5() { + return new DOMRectReadOnly(); + } + get [S$0._bottom]() { + return this.bottom; + } + get [$bottom]() { + return dart.nullCheck(this[S$0._bottom]); + } + get [S$0._height$1]() { + return this.height; + } + get [$height]() { + return dart.nullCheck(this[S$0._height$1]); + } + get [S$0._left$2]() { + return this.left; + } + get [$left]() { + return dart.nullCheck(this[S$0._left$2]); + } + get [S$0._right$2]() { + return this.right; + } + get [$right]() { + return dart.nullCheck(this[S$0._right$2]); + } + get [S$0._top]() { + return this.top; + } + get [$top]() { + return dart.nullCheck(this[S$0._top]); + } + get [S$0._width$1]() { + return this.width; + } + get [$width]() { + return dart.nullCheck(this[S$0._width$1]); + } + get [S$.$x]() { + return this.x; + } + get [S$.$y]() { + return this.y; + } + static fromRect(other = null) { + if (other != null) { + let other_1 = html_common.convertDartToNative_Dictionary(other); + return dart.global.DOMRectReadOnly.fromRect(other_1); + } + return dart.global.DOMRectReadOnly.fromRect(); + } +}; +dart.addTypeTests(html$.DomRectReadOnly); +dart.addTypeCaches(html$.DomRectReadOnly); +html$.DomRectReadOnly[dart.implements] = () => [math.Rectangle$(core.num)]; +dart.setMethodSignature(html$.DomRectReadOnly, () => ({ + __proto__: dart.getMethods(html$.DomRectReadOnly.__proto__), + [$intersection]: dart.fnType(dart.nullable(math.Rectangle$(core.num)), [dart.nullable(core.Object)]), + [$intersects]: dart.fnType(core.bool, [math.Rectangle$(core.num)]), + [$boundingBox]: dart.fnType(math.Rectangle$(core.num), [dart.nullable(core.Object)]), + [$containsRectangle]: dart.fnType(core.bool, [math.Rectangle$(core.num)]), + [$containsPoint]: dart.fnType(core.bool, [math.Point$(core.num)]) +})); +dart.setGetterSignature(html$.DomRectReadOnly, () => ({ + __proto__: dart.getGetters(html$.DomRectReadOnly.__proto__), + [$topLeft]: math.Point$(core.num), + [$topRight]: math.Point$(core.num), + [$bottomRight]: math.Point$(core.num), + [$bottomLeft]: math.Point$(core.num), + [S$0._bottom]: dart.nullable(core.num), + [$bottom]: core.num, + [S$0._height$1]: dart.nullable(core.num), + [$height]: core.num, + [S$0._left$2]: dart.nullable(core.num), + [$left]: core.num, + [S$0._right$2]: dart.nullable(core.num), + [$right]: core.num, + [S$0._top]: dart.nullable(core.num), + [$top]: core.num, + [S$0._width$1]: dart.nullable(core.num), + [$width]: core.num, + [S$.$x]: dart.nullable(core.num), + [S$.$y]: dart.nullable(core.num) +})); +dart.setLibraryUri(html$.DomRectReadOnly, I[148]); +dart.registerExtension("DOMRectReadOnly", html$.DomRectReadOnly); +const Interceptor_ListMixin$36$ = class Interceptor_ListMixin extends _interceptors.Interceptor {}; +(Interceptor_ListMixin$36$.new = function() { + Interceptor_ListMixin$36$.__proto__.new.call(this); +}).prototype = Interceptor_ListMixin$36$.prototype; +dart.applyMixin(Interceptor_ListMixin$36$, collection.ListMixin$(core.String)); +const Interceptor_ImmutableListMixin$36$ = class Interceptor_ImmutableListMixin extends Interceptor_ListMixin$36$ {}; +(Interceptor_ImmutableListMixin$36$.new = function() { + Interceptor_ImmutableListMixin$36$.__proto__.new.call(this); +}).prototype = Interceptor_ImmutableListMixin$36$.prototype; +dart.applyMixin(Interceptor_ImmutableListMixin$36$, html$.ImmutableListMixin$(core.String)); +html$.DomStringList = class DomStringList extends Interceptor_ImmutableListMixin$36$ { + get [$length]() { + return this.length; + } + [$_get](index) { + if (index == null) dart.nullFailed(I[147], 11634, 26, "index"); + if (index >>> 0 !== index || index >= this[$length]) dart.throw(new core.IndexError.new(index, this)); + return this[index]; + } + [$_set](index, value$) { + let value = value$; + if (index == null) dart.nullFailed(I[147], 11640, 25, "index"); + core.String.as(value); + if (value == null) dart.nullFailed(I[147], 11640, 39, "value"); + dart.throw(new core.UnsupportedError.new("Cannot assign element of immutable List.")); + return value$; + } + set [$length](value) { + if (value == null) dart.nullFailed(I[147], 11646, 18, "value"); + dart.throw(new core.UnsupportedError.new("Cannot resize immutable List.")); + } + get [$first]() { + if (dart.notNull(this[$length]) > 0) { + return this[0]; + } + dart.throw(new core.StateError.new("No elements")); + } + set [$first](value) { + super[$first] = value; + } + get [$last]() { + let len = this[$length]; + if (dart.notNull(len) > 0) { + return this[dart.notNull(len) - 1]; + } + dart.throw(new core.StateError.new("No elements")); + } + set [$last](value) { + super[$last] = value; + } + get [$single]() { + let len = this[$length]; + if (len === 1) { + return this[0]; + } + if (len === 0) dart.throw(new core.StateError.new("No elements")); + dart.throw(new core.StateError.new("More than one element")); + } + [$elementAt](index) { + if (index == null) dart.nullFailed(I[147], 11674, 24, "index"); + return this[$_get](index); + } + [S$.$item](...args) { + return this.item.apply(this, args); + } +}; +html$.DomStringList.prototype[dart.isList] = true; +dart.addTypeTests(html$.DomStringList); +dart.addTypeCaches(html$.DomStringList); +html$.DomStringList[dart.implements] = () => [_js_helper.JavaScriptIndexingBehavior$(core.String), core.List$(core.String)]; +dart.setMethodSignature(html$.DomStringList, () => ({ + __proto__: dart.getMethods(html$.DomStringList.__proto__), + [$_get]: dart.fnType(core.String, [core.int]), + [$_set]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), + [S$.$item]: dart.fnType(dart.nullable(core.String), [core.int]) +})); +dart.setGetterSignature(html$.DomStringList, () => ({ + __proto__: dart.getGetters(html$.DomStringList.__proto__), + [$length]: core.int +})); +dart.setSetterSignature(html$.DomStringList, () => ({ + __proto__: dart.getSetters(html$.DomStringList.__proto__), + [$length]: core.int +})); +dart.setLibraryUri(html$.DomStringList, I[148]); +dart.registerExtension("DOMStringList", html$.DomStringList); +html$.DomStringMap = class DomStringMap extends _interceptors.Interceptor { + [S$1.__delete__](...args) { + return this.__delete__.apply(this, args); + } + [S$.__setter__](...args) { + return this.__setter__.apply(this, args); + } + [S$.$item](...args) { + return this.item.apply(this, args); + } +}; +dart.addTypeTests(html$.DomStringMap); +dart.addTypeCaches(html$.DomStringMap); +dart.setMethodSignature(html$.DomStringMap, () => ({ + __proto__: dart.getMethods(html$.DomStringMap.__proto__), + [S$1.__delete__]: dart.fnType(dart.void, [core.String]), + [S$.__setter__]: dart.fnType(dart.void, [core.String, core.String]), + [S$.$item]: dart.fnType(core.String, [core.String]) +})); +dart.setLibraryUri(html$.DomStringMap, I[148]); +dart.registerExtension("DOMStringMap", html$.DomStringMap); +html$.DomTokenList = class DomTokenList extends _interceptors.Interceptor { + get [$length]() { + return this.length; + } + get [S.$value]() { + return this.value; + } + set [S.$value](value) { + this.value = value; + } + [$add](...args) { + return this.add.apply(this, args); + } + [$contains](...args) { + return this.contains.apply(this, args); + } + [S$.$item](...args) { + return this.item.apply(this, args); + } + [$remove](...args) { + return this.remove.apply(this, args); + } + [S$1.$replace](...args) { + return this.replace.apply(this, args); + } + [S$1.$supports](...args) { + return this.supports.apply(this, args); + } + [S$1.$toggle](...args) { + return this.toggle.apply(this, args); + } +}; +dart.addTypeTests(html$.DomTokenList); +dart.addTypeCaches(html$.DomTokenList); +dart.setMethodSignature(html$.DomTokenList, () => ({ + __proto__: dart.getMethods(html$.DomTokenList.__proto__), + [$add]: dart.fnType(dart.void, [core.String]), + [$contains]: dart.fnType(core.bool, [core.String]), + [S$.$item]: dart.fnType(dart.nullable(core.String), [core.int]), + [$remove]: dart.fnType(dart.void, [core.String]), + [S$1.$replace]: dart.fnType(dart.void, [core.String, core.String]), + [S$1.$supports]: dart.fnType(core.bool, [core.String]), + [S$1.$toggle]: dart.fnType(core.bool, [core.String], [dart.nullable(core.bool)]) +})); +dart.setGetterSignature(html$.DomTokenList, () => ({ + __proto__: dart.getGetters(html$.DomTokenList.__proto__), + [$length]: core.int, + [S.$value]: dart.nullable(core.String) +})); +dart.setSetterSignature(html$.DomTokenList, () => ({ + __proto__: dart.getSetters(html$.DomTokenList.__proto__), + [S.$value]: dart.nullable(core.String) +})); +dart.setLibraryUri(html$.DomTokenList, I[148]); +dart.registerExtension("DOMTokenList", html$.DomTokenList); +html$._ChildrenElementList = class _ChildrenElementList extends collection.ListBase$(html$.Element) { + contains(element) { + return this[S$1._childElements][$contains](element); + } + get isEmpty() { + return this[S$1._element$2][S._firstElementChild] == null; + } + get length() { + return this[S$1._childElements][$length]; + } + _get(index) { + if (index == null) dart.nullFailed(I[147], 11751, 27, "index"); + return html$.Element.as(this[S$1._childElements][$_get](index)); + } + _set(index, value$) { + let value = value$; + if (index == null) dart.nullFailed(I[147], 11755, 25, "index"); + html$.Element.as(value); + if (value == null) dart.nullFailed(I[147], 11755, 40, "value"); + this[S$1._element$2][S$._replaceChild](value, this[S$1._childElements][$_get](index)); + return value$; + } + set length(newLength) { + if (newLength == null) dart.nullFailed(I[147], 11759, 18, "newLength"); + dart.throw(new core.UnsupportedError.new("Cannot resize element lists")); + } + add(value) { + html$.Element.as(value); + if (value == null) dart.nullFailed(I[147], 11764, 23, "value"); + this[S$1._element$2][S.$append](value); + return value; + } + get iterator() { + return this.toList()[$iterator]; + } + addAll(iterable) { + T$0.IterableOfElement().as(iterable); + if (iterable == null) dart.nullFailed(I[147], 11771, 33, "iterable"); + html$._ChildrenElementList._addAll(this[S$1._element$2], iterable); + } + static _addAll(_element, iterable) { + if (_element == null) dart.nullFailed(I[147], 11775, 31, "_element"); + if (iterable == null) dart.nullFailed(I[147], 11775, 59, "iterable"); + if (html$._ChildNodeListLazy.is(iterable)) { + iterable = T$0.ListOfElement().from(iterable); + } + for (let element of iterable) { + _element[S.$append](element); + } + } + sort(compare = null) { + dart.throw(new core.UnsupportedError.new("Cannot sort element lists")); + } + shuffle(random = null) { + dart.throw(new core.UnsupportedError.new("Cannot shuffle element lists")); + } + removeWhere(test) { + if (test == null) dart.nullFailed(I[147], 11793, 25, "test"); + this[S$1._filter$2](test, false); + } + retainWhere(test) { + if (test == null) dart.nullFailed(I[147], 11797, 25, "test"); + this[S$1._filter$2](test, true); + } + [S$1._filter$2](test, retainMatching) { + if (test == null) dart.nullFailed(I[147], 11801, 21, "test"); + if (retainMatching == null) dart.nullFailed(I[147], 11801, 49, "retainMatching"); + let removed = null; + if (dart.test(retainMatching)) { + removed = this[S$1._element$2][S.$children][$where](dart.fn(e => { + if (e == null) dart.nullFailed(I[147], 11804, 42, "e"); + return !dart.test(test(e)); + }, T$0.ElementTobool())); + } else { + removed = this[S$1._element$2][S.$children][$where](test); + } + for (let e of core.Iterable.as(removed)) + dart.dsend(e, 'remove', []); + } + fillRange(start, end, fillValue = null) { + if (start == null) dart.nullFailed(I[147], 11811, 22, "start"); + if (end == null) dart.nullFailed(I[147], 11811, 33, "end"); + T$0.ElementN().as(fillValue); + dart.throw(new core.UnimplementedError.new()); + } + replaceRange(start, end, iterable) { + if (start == null) dart.nullFailed(I[147], 11815, 25, "start"); + if (end == null) dart.nullFailed(I[147], 11815, 36, "end"); + T$0.IterableOfElement().as(iterable); + if (iterable == null) dart.nullFailed(I[147], 11815, 59, "iterable"); + dart.throw(new core.UnimplementedError.new()); + } + removeRange(start, end) { + if (start == null) dart.nullFailed(I[147], 11819, 24, "start"); + if (end == null) dart.nullFailed(I[147], 11819, 35, "end"); + dart.throw(new core.UnimplementedError.new()); + } + setRange(start, end, iterable, skipCount = 0) { + if (start == null) dart.nullFailed(I[147], 11823, 21, "start"); + if (end == null) dart.nullFailed(I[147], 11823, 32, "end"); + T$0.IterableOfElement().as(iterable); + if (iterable == null) dart.nullFailed(I[147], 11823, 55, "iterable"); + if (skipCount == null) dart.nullFailed(I[147], 11824, 12, "skipCount"); + dart.throw(new core.UnimplementedError.new()); + } + remove(object) { + return html$._ChildrenElementList._remove(this[S$1._element$2], object); + } + static _remove(_element, object) { + if (_element == null) dart.nullFailed(I[147], 11832, 31, "_element"); + if (html$.Element.is(object)) { + let element = object; + if (element.parentNode == _element) { + _element[S$._removeChild](element); + return true; + } + } + return false; + } + insert(index, element) { + if (index == null) dart.nullFailed(I[147], 11843, 19, "index"); + html$.Element.as(element); + if (element == null) dart.nullFailed(I[147], 11843, 34, "element"); + if (dart.notNull(index) < 0 || dart.notNull(index) > dart.notNull(this.length)) { + dart.throw(new core.RangeError.range(index, 0, this.length)); + } + if (index == this.length) { + this[S$1._element$2][S.$append](element); + } else { + this[S$1._element$2].insertBefore(element, this._get(index)); + } + } + insertAll(index, iterable) { + if (index == null) dart.nullFailed(I[147], 11854, 22, "index"); + T$0.IterableOfElement().as(iterable); + if (iterable == null) dart.nullFailed(I[147], 11854, 47, "iterable"); + dart.throw(new core.UnimplementedError.new()); + } + setAll(index, iterable) { + if (index == null) dart.nullFailed(I[147], 11858, 19, "index"); + T$0.IterableOfElement().as(iterable); + if (iterable == null) dart.nullFailed(I[147], 11858, 44, "iterable"); + dart.throw(new core.UnimplementedError.new()); + } + clear() { + this[S$1._element$2][S$._clearChildren](); + } + removeAt(index) { + if (index == null) dart.nullFailed(I[147], 11866, 24, "index"); + let result = this._get(index); + if (result != null) { + this[S$1._element$2][S$._removeChild](result); + } + return result; + } + removeLast() { + let result = this.last; + this[S$1._element$2][S$._removeChild](result); + return result; + } + get first() { + return html$._ChildrenElementList._first(this[S$1._element$2]); + } + set first(value) { + super.first = value; + } + static _first(_element) { + if (_element == null) dart.nullFailed(I[147], 11884, 33, "_element"); + let result = _element[S._firstElementChild]; + if (result == null) dart.throw(new core.StateError.new("No elements")); + return result; + } + get last() { + let result = this[S$1._element$2][S._lastElementChild]; + if (result == null) dart.throw(new core.StateError.new("No elements")); + return result; + } + set last(value) { + super.last = value; + } + get single() { + if (dart.notNull(this.length) > 1) dart.throw(new core.StateError.new("More than one element")); + return this.first; + } + get rawList() { + return this[S$1._childElements]; + } +}; +(html$._ChildrenElementList._wrap = function(element) { + if (element == null) dart.nullFailed(I[147], 11737, 38, "element"); + this[S$1._childElements] = html$.HtmlCollection.as(element[S._children]); + this[S$1._element$2] = element; + ; +}).prototype = html$._ChildrenElementList.prototype; +dart.addTypeTests(html$._ChildrenElementList); +dart.addTypeCaches(html$._ChildrenElementList); +html$._ChildrenElementList[dart.implements] = () => [html_common.NodeListWrapper]; +dart.setMethodSignature(html$._ChildrenElementList, () => ({ + __proto__: dart.getMethods(html$._ChildrenElementList.__proto__), + _get: dart.fnType(html$.Element, [core.int]), + [$_get]: dart.fnType(html$.Element, [core.int]), + _set: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), + [$_set]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), + add: dart.fnType(html$.Element, [dart.nullable(core.Object)]), + [$add]: dart.fnType(html$.Element, [dart.nullable(core.Object)]), + [S$1._filter$2]: dart.fnType(dart.void, [dart.fnType(core.bool, [html$.Element]), core.bool]) +})); +dart.setGetterSignature(html$._ChildrenElementList, () => ({ + __proto__: dart.getGetters(html$._ChildrenElementList.__proto__), + length: core.int, + [$length]: core.int, + rawList: core.List$(html$.Node) +})); +dart.setSetterSignature(html$._ChildrenElementList, () => ({ + __proto__: dart.getSetters(html$._ChildrenElementList.__proto__), + length: core.int, + [$length]: core.int +})); +dart.setLibraryUri(html$._ChildrenElementList, I[148]); +dart.setFieldSignature(html$._ChildrenElementList, () => ({ + __proto__: dart.getFields(html$._ChildrenElementList.__proto__), + [S$1._element$2]: dart.finalFieldType(html$.Element), + [S$1._childElements]: dart.finalFieldType(html$.HtmlCollection) +})); +dart.defineExtensionMethods(html$._ChildrenElementList, [ + 'contains', + '_get', + '_set', + 'add', + 'addAll', + 'sort', + 'shuffle', + 'removeWhere', + 'retainWhere', + 'fillRange', + 'replaceRange', + 'removeRange', + 'setRange', + 'remove', + 'insert', + 'insertAll', + 'setAll', + 'clear', + 'removeAt', + 'removeLast' +]); +dart.defineExtensionAccessors(html$._ChildrenElementList, [ + 'isEmpty', + 'length', + 'iterator', + 'first', + 'last', + 'single' +]); +const _is_ElementList_default = Symbol('_is_ElementList_default'); +html$.ElementList$ = dart.generic(T => { + class ElementList extends collection.ListBase$(T) {} + (ElementList.new = function() { + ; + }).prototype = ElementList.prototype; + dart.addTypeTests(ElementList); + ElementList.prototype[_is_ElementList_default] = true; + dart.addTypeCaches(ElementList); + dart.setLibraryUri(ElementList, I[148]); + return ElementList; +}); +html$.ElementList = html$.ElementList$(); +dart.addTypeTests(html$.ElementList, _is_ElementList_default); +const _is__FrozenElementList_default = Symbol('_is__FrozenElementList_default'); +html$._FrozenElementList$ = dart.generic(E => { + var ETovoid = () => (ETovoid = dart.constFn(dart.fnType(dart.void, [E])))(); + class _FrozenElementList extends collection.ListBase$(E) { + get length() { + return this[S$1._nodeList][$length]; + } + _get(index) { + if (index == null) dart.nullFailed(I[147], 12297, 21, "index"); + return E.as(this[S$1._nodeList][$_get](index)); + } + _set(index, value$) { + let value = value$; + if (index == null) dart.nullFailed(I[147], 12299, 25, "index"); + E.as(value); + if (value == null) dart.nullFailed(I[147], 12299, 34, "value"); + dart.throw(new core.UnsupportedError.new("Cannot modify list")); + return value$; + } + set length(newLength) { + if (newLength == null) dart.nullFailed(I[147], 12303, 18, "newLength"); + dart.throw(new core.UnsupportedError.new("Cannot modify list")); + } + sort(compare = null) { + dart.throw(new core.UnsupportedError.new("Cannot sort list")); + } + shuffle(random = null) { + dart.throw(new core.UnsupportedError.new("Cannot shuffle list")); + } + get first() { + return E.as(this[S$1._nodeList][$first]); + } + set first(value) { + super.first = value; + } + get last() { + return E.as(this[S$1._nodeList][$last]); + } + set last(value) { + super.last = value; + } + get single() { + return E.as(this[S$1._nodeList][$single]); + } + get classes() { + return html$._MultiElementCssClassSet.new(this); + } + get style() { + return new html$._CssStyleDeclarationSet.new(this); + } + set classes(value) { + if (value == null) dart.nullFailed(I[147], 12325, 32, "value"); + this.forEach(dart.fn(e => { + if (e == null) dart.nullFailed(I[147], 12332, 14, "e"); + return e[S.$classes] = value; + }, ETovoid())); + } + get contentEdge() { + return new html$._ContentCssListRect.new(this); + } + get paddingEdge() { + return this.first[S.$paddingEdge]; + } + get borderEdge() { + return this.first[S.$borderEdge]; + } + get marginEdge() { + return this.first[S.$marginEdge]; + } + get rawList() { + return this[S$1._nodeList]; + } + get onAbort() { + return html$.Element.abortEvent[S$1._forElementList](this); + } + get onBeforeCopy() { + return html$.Element.beforeCopyEvent[S$1._forElementList](this); + } + get onBeforeCut() { + return html$.Element.beforeCutEvent[S$1._forElementList](this); + } + get onBeforePaste() { + return html$.Element.beforePasteEvent[S$1._forElementList](this); + } + get onBlur() { + return html$.Element.blurEvent[S$1._forElementList](this); + } + get onCanPlay() { + return html$.Element.canPlayEvent[S$1._forElementList](this); + } + get onCanPlayThrough() { + return html$.Element.canPlayThroughEvent[S$1._forElementList](this); + } + get onChange() { + return html$.Element.changeEvent[S$1._forElementList](this); + } + get onClick() { + return html$.Element.clickEvent[S$1._forElementList](this); + } + get onContextMenu() { + return html$.Element.contextMenuEvent[S$1._forElementList](this); + } + get onCopy() { + return html$.Element.copyEvent[S$1._forElementList](this); + } + get onCut() { + return html$.Element.cutEvent[S$1._forElementList](this); + } + get onDoubleClick() { + return html$.Element.doubleClickEvent[S$1._forElementList](this); + } + get onDrag() { + return html$.Element.dragEvent[S$1._forElementList](this); + } + get onDragEnd() { + return html$.Element.dragEndEvent[S$1._forElementList](this); + } + get onDragEnter() { + return html$.Element.dragEnterEvent[S$1._forElementList](this); + } + get onDragLeave() { + return html$.Element.dragLeaveEvent[S$1._forElementList](this); + } + get onDragOver() { + return html$.Element.dragOverEvent[S$1._forElementList](this); + } + get onDragStart() { + return html$.Element.dragStartEvent[S$1._forElementList](this); + } + get onDrop() { + return html$.Element.dropEvent[S$1._forElementList](this); + } + get onDurationChange() { + return html$.Element.durationChangeEvent[S$1._forElementList](this); + } + get onEmptied() { + return html$.Element.emptiedEvent[S$1._forElementList](this); + } + get onEnded() { + return html$.Element.endedEvent[S$1._forElementList](this); + } + get onError() { + return html$.Element.errorEvent[S$1._forElementList](this); + } + get onFocus() { + return html$.Element.focusEvent[S$1._forElementList](this); + } + get onInput() { + return html$.Element.inputEvent[S$1._forElementList](this); + } + get onInvalid() { + return html$.Element.invalidEvent[S$1._forElementList](this); + } + get onKeyDown() { + return html$.Element.keyDownEvent[S$1._forElementList](this); + } + get onKeyPress() { + return html$.Element.keyPressEvent[S$1._forElementList](this); + } + get onKeyUp() { + return html$.Element.keyUpEvent[S$1._forElementList](this); + } + get onLoad() { + return html$.Element.loadEvent[S$1._forElementList](this); + } + get onLoadedData() { + return html$.Element.loadedDataEvent[S$1._forElementList](this); + } + get onLoadedMetadata() { + return html$.Element.loadedMetadataEvent[S$1._forElementList](this); + } + get onMouseDown() { + return html$.Element.mouseDownEvent[S$1._forElementList](this); + } + get onMouseEnter() { + return html$.Element.mouseEnterEvent[S$1._forElementList](this); + } + get onMouseLeave() { + return html$.Element.mouseLeaveEvent[S$1._forElementList](this); + } + get onMouseMove() { + return html$.Element.mouseMoveEvent[S$1._forElementList](this); + } + get onMouseOut() { + return html$.Element.mouseOutEvent[S$1._forElementList](this); + } + get onMouseOver() { + return html$.Element.mouseOverEvent[S$1._forElementList](this); + } + get onMouseUp() { + return html$.Element.mouseUpEvent[S$1._forElementList](this); + } + get onMouseWheel() { + return html$.Element.mouseWheelEvent[S$1._forElementList](this); + } + get onPaste() { + return html$.Element.pasteEvent[S$1._forElementList](this); + } + get onPause() { + return html$.Element.pauseEvent[S$1._forElementList](this); + } + get onPlay() { + return html$.Element.playEvent[S$1._forElementList](this); + } + get onPlaying() { + return html$.Element.playingEvent[S$1._forElementList](this); + } + get onRateChange() { + return html$.Element.rateChangeEvent[S$1._forElementList](this); + } + get onReset() { + return html$.Element.resetEvent[S$1._forElementList](this); + } + get onResize() { + return html$.Element.resizeEvent[S$1._forElementList](this); + } + get onScroll() { + return html$.Element.scrollEvent[S$1._forElementList](this); + } + get onSearch() { + return html$.Element.searchEvent[S$1._forElementList](this); + } + get onSeeked() { + return html$.Element.seekedEvent[S$1._forElementList](this); + } + get onSeeking() { + return html$.Element.seekingEvent[S$1._forElementList](this); + } + get onSelect() { + return html$.Element.selectEvent[S$1._forElementList](this); + } + get onSelectStart() { + return html$.Element.selectStartEvent[S$1._forElementList](this); + } + get onStalled() { + return html$.Element.stalledEvent[S$1._forElementList](this); + } + get onSubmit() { + return html$.Element.submitEvent[S$1._forElementList](this); + } + get onSuspend() { + return html$.Element.suspendEvent[S$1._forElementList](this); + } + get onTimeUpdate() { + return html$.Element.timeUpdateEvent[S$1._forElementList](this); + } + get onTouchCancel() { + return html$.Element.touchCancelEvent[S$1._forElementList](this); + } + get onTouchEnd() { + return html$.Element.touchEndEvent[S$1._forElementList](this); + } + get onTouchEnter() { + return html$.Element.touchEnterEvent[S$1._forElementList](this); + } + get onTouchLeave() { + return html$.Element.touchLeaveEvent[S$1._forElementList](this); + } + get onTouchMove() { + return html$.Element.touchMoveEvent[S$1._forElementList](this); + } + get onTouchStart() { + return html$.Element.touchStartEvent[S$1._forElementList](this); + } + get onTransitionEnd() { + return html$.Element.transitionEndEvent[S$1._forElementList](this); + } + get onVolumeChange() { + return html$.Element.volumeChangeEvent[S$1._forElementList](this); + } + get onWaiting() { + return html$.Element.waitingEvent[S$1._forElementList](this); + } + get onFullscreenChange() { + return html$.Element.fullscreenChangeEvent[S$1._forElementList](this); + } + get onFullscreenError() { + return html$.Element.fullscreenErrorEvent[S$1._forElementList](this); + } + get onWheel() { + return html$.Element.wheelEvent[S$1._forElementList](this); + } + } + (_FrozenElementList._wrap = function(_nodeList) { + if (_nodeList == null) dart.nullFailed(I[147], 12290, 33, "_nodeList"); + this[S$1._nodeList] = _nodeList; + if (!dart.test(this[S$1._nodeList][$every](dart.fn(element => { + if (element == null) dart.nullFailed(I[147], 12291, 34, "element"); + return E.is(element); + }, T$0.NodeTobool())))) dart.assertFailed("Query expects only HTML elements of type " + dart.str(dart.wrapType(E)) + " but found " + dart.str(this[S$1._nodeList][$firstWhere](dart.fn(e => { + if (e == null) dart.nullFailed(I[147], 12292, 93, "e"); + return !E.is(e); + }, T$0.NodeTobool()))), I[147], 12291, 12, "this._nodeList.every((element) => element is E)"); + }).prototype = _FrozenElementList.prototype; + dart.addTypeTests(_FrozenElementList); + _FrozenElementList.prototype[_is__FrozenElementList_default] = true; + dart.addTypeCaches(_FrozenElementList); + _FrozenElementList[dart.implements] = () => [html$.ElementList$(E), html_common.NodeListWrapper]; + dart.setMethodSignature(_FrozenElementList, () => ({ + __proto__: dart.getMethods(_FrozenElementList.__proto__), + _get: dart.fnType(E, [core.int]), + [$_get]: dart.fnType(E, [core.int]), + _set: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), + [$_set]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]) + })); + dart.setGetterSignature(_FrozenElementList, () => ({ + __proto__: dart.getGetters(_FrozenElementList.__proto__), + length: core.int, + [$length]: core.int, + classes: html$.CssClassSet, + style: html$.CssStyleDeclarationBase, + contentEdge: html$.CssRect, + paddingEdge: html$.CssRect, + borderEdge: html$.CssRect, + marginEdge: html$.CssRect, + rawList: core.List$(html$.Node), + onAbort: html$.ElementStream$(html$.Event), + onBeforeCopy: html$.ElementStream$(html$.Event), + onBeforeCut: html$.ElementStream$(html$.Event), + onBeforePaste: html$.ElementStream$(html$.Event), + onBlur: html$.ElementStream$(html$.Event), + onCanPlay: html$.ElementStream$(html$.Event), + onCanPlayThrough: html$.ElementStream$(html$.Event), + onChange: html$.ElementStream$(html$.Event), + onClick: html$.ElementStream$(html$.MouseEvent), + onContextMenu: html$.ElementStream$(html$.MouseEvent), + onCopy: html$.ElementStream$(html$.ClipboardEvent), + onCut: html$.ElementStream$(html$.ClipboardEvent), + onDoubleClick: html$.ElementStream$(html$.Event), + onDrag: html$.ElementStream$(html$.MouseEvent), + onDragEnd: html$.ElementStream$(html$.MouseEvent), + onDragEnter: html$.ElementStream$(html$.MouseEvent), + onDragLeave: html$.ElementStream$(html$.MouseEvent), + onDragOver: html$.ElementStream$(html$.MouseEvent), + onDragStart: html$.ElementStream$(html$.MouseEvent), + onDrop: html$.ElementStream$(html$.MouseEvent), + onDurationChange: html$.ElementStream$(html$.Event), + onEmptied: html$.ElementStream$(html$.Event), + onEnded: html$.ElementStream$(html$.Event), + onError: html$.ElementStream$(html$.Event), + onFocus: html$.ElementStream$(html$.Event), + onInput: html$.ElementStream$(html$.Event), + onInvalid: html$.ElementStream$(html$.Event), + onKeyDown: html$.ElementStream$(html$.KeyboardEvent), + onKeyPress: html$.ElementStream$(html$.KeyboardEvent), + onKeyUp: html$.ElementStream$(html$.KeyboardEvent), + onLoad: html$.ElementStream$(html$.Event), + onLoadedData: html$.ElementStream$(html$.Event), + onLoadedMetadata: html$.ElementStream$(html$.Event), + onMouseDown: html$.ElementStream$(html$.MouseEvent), + onMouseEnter: html$.ElementStream$(html$.MouseEvent), + onMouseLeave: html$.ElementStream$(html$.MouseEvent), + onMouseMove: html$.ElementStream$(html$.MouseEvent), + onMouseOut: html$.ElementStream$(html$.MouseEvent), + onMouseOver: html$.ElementStream$(html$.MouseEvent), + onMouseUp: html$.ElementStream$(html$.MouseEvent), + onMouseWheel: html$.ElementStream$(html$.WheelEvent), + onPaste: html$.ElementStream$(html$.ClipboardEvent), + onPause: html$.ElementStream$(html$.Event), + onPlay: html$.ElementStream$(html$.Event), + onPlaying: html$.ElementStream$(html$.Event), + onRateChange: html$.ElementStream$(html$.Event), + onReset: html$.ElementStream$(html$.Event), + onResize: html$.ElementStream$(html$.Event), + onScroll: html$.ElementStream$(html$.Event), + onSearch: html$.ElementStream$(html$.Event), + onSeeked: html$.ElementStream$(html$.Event), + onSeeking: html$.ElementStream$(html$.Event), + onSelect: html$.ElementStream$(html$.Event), + onSelectStart: html$.ElementStream$(html$.Event), + onStalled: html$.ElementStream$(html$.Event), + onSubmit: html$.ElementStream$(html$.Event), + onSuspend: html$.ElementStream$(html$.Event), + onTimeUpdate: html$.ElementStream$(html$.Event), + onTouchCancel: html$.ElementStream$(html$.TouchEvent), + onTouchEnd: html$.ElementStream$(html$.TouchEvent), + onTouchEnter: html$.ElementStream$(html$.TouchEvent), + onTouchLeave: html$.ElementStream$(html$.TouchEvent), + onTouchMove: html$.ElementStream$(html$.TouchEvent), + onTouchStart: html$.ElementStream$(html$.TouchEvent), + onTransitionEnd: html$.ElementStream$(html$.TransitionEvent), + onVolumeChange: html$.ElementStream$(html$.Event), + onWaiting: html$.ElementStream$(html$.Event), + onFullscreenChange: html$.ElementStream$(html$.Event), + onFullscreenError: html$.ElementStream$(html$.Event), + onWheel: html$.ElementStream$(html$.WheelEvent) + })); + dart.setSetterSignature(_FrozenElementList, () => ({ + __proto__: dart.getSetters(_FrozenElementList.__proto__), + length: core.int, + [$length]: core.int, + classes: core.Iterable$(core.String) + })); + dart.setLibraryUri(_FrozenElementList, I[148]); + dart.setFieldSignature(_FrozenElementList, () => ({ + __proto__: dart.getFields(_FrozenElementList.__proto__), + [S$1._nodeList]: dart.finalFieldType(core.List$(html$.Node)) + })); + dart.defineExtensionMethods(_FrozenElementList, ['_get', '_set', 'sort', 'shuffle']); + dart.defineExtensionAccessors(_FrozenElementList, ['length', 'first', 'last', 'single']); + return _FrozenElementList; +}); +html$._FrozenElementList = html$._FrozenElementList$(); +dart.addTypeTests(html$._FrozenElementList, _is__FrozenElementList_default); +html$._ElementFactoryProvider = class _ElementFactoryProvider extends core.Object { + static createElement_tag(tag, typeExtension) { + if (tag == null) dart.nullFailed(I[147], 15231, 43, "tag"); + if (typeExtension != null) { + return document.createElement(tag, typeExtension); + } + return document.createElement(tag); + } +}; +(html$._ElementFactoryProvider.new = function() { + ; +}).prototype = html$._ElementFactoryProvider.prototype; +dart.addTypeTests(html$._ElementFactoryProvider); +dart.addTypeCaches(html$._ElementFactoryProvider); +dart.setLibraryUri(html$._ElementFactoryProvider, I[148]); +html$.ScrollAlignment = class ScrollAlignment extends core.Object { + get [S$1._value$7]() { + return this[S$1._value$6]; + } + set [S$1._value$7](value) { + super[S$1._value$7] = value; + } + toString() { + return "ScrollAlignment." + dart.str(this[S$1._value$7]); + } +}; +(html$.ScrollAlignment._internal = function(_value) { + this[S$1._value$6] = _value; + ; +}).prototype = html$.ScrollAlignment.prototype; +dart.addTypeTests(html$.ScrollAlignment); +dart.addTypeCaches(html$.ScrollAlignment); +dart.setLibraryUri(html$.ScrollAlignment, I[148]); +dart.setFieldSignature(html$.ScrollAlignment, () => ({ + __proto__: dart.getFields(html$.ScrollAlignment.__proto__), + [S$1._value$7]: dart.finalFieldType(dart.dynamic) +})); +dart.defineExtensionMethods(html$.ScrollAlignment, ['toString']); +dart.defineLazy(html$.ScrollAlignment, { + /*html$.ScrollAlignment.TOP*/get TOP() { + return C[327] || CT.C327; + }, + /*html$.ScrollAlignment.CENTER*/get CENTER() { + return C[328] || CT.C328; + }, + /*html$.ScrollAlignment.BOTTOM*/get BOTTOM() { + return C[329] || CT.C329; + } +}, false); +html$.EmbedElement = class EmbedElement extends html$.HtmlElement { + static new() { + return html$.EmbedElement.as(html$.document[S.$createElement]("embed")); + } + static get supported() { + return html$.Element.isTagSupported("embed"); + } + get [$height]() { + return this.height; + } + set [$height](value) { + this.height = value; + } + get [$name]() { + return this.name; + } + set [$name](value) { + this.name = value; + } + get [S$.$src]() { + return this.src; + } + set [S$.$src](value) { + this.src = value; + } + get [S.$type]() { + return this.type; + } + set [S.$type](value) { + this.type = value; + } + get [$width]() { + return this.width; + } + set [$width](value) { + this.width = value; + } + [S$.__getter__](...args) { + return this.__getter__.apply(this, args); + } + [S$.__setter__](...args) { + return this.__setter__.apply(this, args); + } +}; +(html$.EmbedElement.created = function() { + html$.EmbedElement.__proto__.created.call(this); + ; +}).prototype = html$.EmbedElement.prototype; +dart.addTypeTests(html$.EmbedElement); +dart.addTypeCaches(html$.EmbedElement); +dart.setMethodSignature(html$.EmbedElement, () => ({ + __proto__: dart.getMethods(html$.EmbedElement.__proto__), + [S$.__getter__]: dart.fnType(html$.Node, [core.String]), + [S$.__setter__]: dart.fnType(dart.void, [core.String, html$.Node]) +})); +dart.setGetterSignature(html$.EmbedElement, () => ({ + __proto__: dart.getGetters(html$.EmbedElement.__proto__), + [$height]: core.String, + [$name]: dart.nullable(core.String), + [S$.$src]: core.String, + [S.$type]: core.String, + [$width]: core.String +})); +dart.setSetterSignature(html$.EmbedElement, () => ({ + __proto__: dart.getSetters(html$.EmbedElement.__proto__), + [$height]: core.String, + [$name]: dart.nullable(core.String), + [S$.$src]: core.String, + [S.$type]: core.String, + [$width]: core.String +})); +dart.setLibraryUri(html$.EmbedElement, I[148]); +dart.registerExtension("HTMLEmbedElement", html$.EmbedElement); +html$.ErrorEvent = class ErrorEvent$ extends html$.Event { + static new(type, eventInitDict = null) { + if (type == null) dart.nullFailed(I[147], 15450, 29, "type"); + if (eventInitDict != null) { + let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); + return html$.ErrorEvent._create_1(type, eventInitDict_1); + } + return html$.ErrorEvent._create_2(type); + } + static _create_1(type, eventInitDict) { + return new ErrorEvent(type, eventInitDict); + } + static _create_2(type) { + return new ErrorEvent(type); + } + get [S$1.$colno]() { + return this.colno; + } + get [S.$error]() { + return this.error; + } + get [S$1.$filename]() { + return this.filename; + } + get [S$1.$lineno]() { + return this.lineno; + } + get [$message]() { + return this.message; + } +}; +dart.addTypeTests(html$.ErrorEvent); +dart.addTypeCaches(html$.ErrorEvent); +dart.setGetterSignature(html$.ErrorEvent, () => ({ + __proto__: dart.getGetters(html$.ErrorEvent.__proto__), + [S$1.$colno]: dart.nullable(core.int), + [S.$error]: dart.nullable(core.Object), + [S$1.$filename]: dart.nullable(core.String), + [S$1.$lineno]: dart.nullable(core.int), + [$message]: dart.nullable(core.String) +})); +dart.setLibraryUri(html$.ErrorEvent, I[148]); +dart.registerExtension("ErrorEvent", html$.ErrorEvent); +html$.EventSource = class EventSource$ extends html$.EventTarget { + static new(url, opts) { + if (url == null) dart.nullFailed(I[147], 15622, 30, "url"); + let withCredentials = opts && 'withCredentials' in opts ? opts.withCredentials : false; + let parsedOptions = new (T$0.IdentityMapOfString$dynamic()).from(["withCredentials", withCredentials]); + return html$.EventSource._factoryEventSource(url, parsedOptions); + } + static _factoryEventSource(url, eventSourceInitDict = null) { + if (url == null) dart.nullFailed(I[147], 15660, 49, "url"); + if (eventSourceInitDict != null) { + let eventSourceInitDict_1 = html_common.convertDartToNative_Dictionary(eventSourceInitDict); + return html$.EventSource._create_1(url, eventSourceInitDict_1); + } + return html$.EventSource._create_2(url); + } + static _create_1(url, eventSourceInitDict) { + return new EventSource(url, eventSourceInitDict); + } + static _create_2(url) { + return new EventSource(url); + } + get [S.$readyState]() { + return this.readyState; + } + get [S$.$url]() { + return this.url; + } + get [S$1.$withCredentials]() { + return this.withCredentials; + } + [S.$close](...args) { + return this.close.apply(this, args); + } + get [S.$onError]() { + return html$.EventSource.errorEvent.forTarget(this); + } + get [S$.$onMessage]() { + return html$.EventSource.messageEvent.forTarget(this); + } + get [S$1.$onOpen]() { + return html$.EventSource.openEvent.forTarget(this); + } +}; +dart.addTypeTests(html$.EventSource); +dart.addTypeCaches(html$.EventSource); +dart.setMethodSignature(html$.EventSource, () => ({ + __proto__: dart.getMethods(html$.EventSource.__proto__), + [S.$close]: dart.fnType(dart.void, []) +})); +dart.setGetterSignature(html$.EventSource, () => ({ + __proto__: dart.getGetters(html$.EventSource.__proto__), + [S.$readyState]: dart.nullable(core.int), + [S$.$url]: dart.nullable(core.String), + [S$1.$withCredentials]: dart.nullable(core.bool), + [S.$onError]: async.Stream$(html$.Event), + [S$.$onMessage]: async.Stream$(html$.MessageEvent), + [S$1.$onOpen]: async.Stream$(html$.Event) +})); +dart.setLibraryUri(html$.EventSource, I[148]); +dart.defineLazy(html$.EventSource, { + /*html$.EventSource.errorEvent*/get errorEvent() { + return C[216] || CT.C216; + }, + /*html$.EventSource.messageEvent*/get messageEvent() { + return C[312] || CT.C312; + }, + /*html$.EventSource.openEvent*/get openEvent() { + return C[330] || CT.C330; + }, + /*html$.EventSource.CLOSED*/get CLOSED() { + return 2; + }, + /*html$.EventSource.CONNECTING*/get CONNECTING() { + return 0; + }, + /*html$.EventSource.OPEN*/get OPEN() { + return 1; + } +}, false); +dart.registerExtension("EventSource", html$.EventSource); +html$.Events = class Events extends core.Object { + _get(type) { + if (type == null) dart.nullFailed(I[147], 15744, 36, "type"); + return new (T$0._EventStreamOfEvent()).new(this[S$1._ptr], type, false); + } +}; +(html$.Events.new = function(_ptr) { + if (_ptr == null) dart.nullFailed(I[147], 15742, 15, "_ptr"); + this[S$1._ptr] = _ptr; + ; +}).prototype = html$.Events.prototype; +dart.addTypeTests(html$.Events); +dart.addTypeCaches(html$.Events); +dart.setMethodSignature(html$.Events, () => ({ + __proto__: dart.getMethods(html$.Events.__proto__), + _get: dart.fnType(async.Stream$(html$.Event), [core.String]) +})); +dart.setLibraryUri(html$.Events, I[148]); +dart.setFieldSignature(html$.Events, () => ({ + __proto__: dart.getFields(html$.Events.__proto__), + [S$1._ptr]: dart.finalFieldType(html$.EventTarget) +})); +html$.ElementEvents = class ElementEvents extends html$.Events { + _get(type) { + if (type == null) dart.nullFailed(I[147], 15769, 36, "type"); + if (dart.test(html$.ElementEvents.webkitEvents[$keys][$contains](type[$toLowerCase]()))) { + if (dart.test(html_common.Device.isWebKit)) { + return new (T$0._ElementEventStreamImplOfEvent()).new(this[S$1._ptr], html$.ElementEvents.webkitEvents[$_get](type[$toLowerCase]()), false); + } + } + return new (T$0._ElementEventStreamImplOfEvent()).new(this[S$1._ptr], type, false); + } +}; +(html$.ElementEvents.new = function(ptr) { + if (ptr == null) dart.nullFailed(I[147], 15767, 25, "ptr"); + html$.ElementEvents.__proto__.new.call(this, ptr); + ; +}).prototype = html$.ElementEvents.prototype; +dart.addTypeTests(html$.ElementEvents); +dart.addTypeCaches(html$.ElementEvents); +dart.setLibraryUri(html$.ElementEvents, I[148]); +dart.defineLazy(html$.ElementEvents, { + /*html$.ElementEvents.webkitEvents*/get webkitEvents() { + return new (T$.IdentityMapOfString$String()).from(["animationend", "webkitAnimationEnd", "animationiteration", "webkitAnimationIteration", "animationstart", "webkitAnimationStart", "fullscreenchange", "webkitfullscreenchange", "fullscreenerror", "webkitfullscreenerror", "keyadded", "webkitkeyadded", "keyerror", "webkitkeyerror", "keymessage", "webkitkeymessage", "needkey", "webkitneedkey", "pointerlockchange", "webkitpointerlockchange", "pointerlockerror", "webkitpointerlockerror", "resourcetimingbufferfull", "webkitresourcetimingbufferfull", "transitionend", "webkitTransitionEnd", "speechchange", "webkitSpeechChange"]); + } +}, false); +html$.ExtendableMessageEvent = class ExtendableMessageEvent extends html$.ExtendableEvent { + get [S$.$data]() { + return this.data; + } + get [S$1.$lastEventId]() { + return this.lastEventId; + } + get [S$.$origin]() { + return this.origin; + } + get [S$1.$ports]() { + return this.ports; + } + get [S.$source]() { + return this.source; + } +}; +dart.addTypeTests(html$.ExtendableMessageEvent); +dart.addTypeCaches(html$.ExtendableMessageEvent); +dart.setGetterSignature(html$.ExtendableMessageEvent, () => ({ + __proto__: dart.getGetters(html$.ExtendableMessageEvent.__proto__), + [S$.$data]: dart.nullable(core.Object), + [S$1.$lastEventId]: dart.nullable(core.String), + [S$.$origin]: dart.nullable(core.String), + [S$1.$ports]: dart.nullable(core.List$(html$.MessagePort)), + [S.$source]: dart.nullable(core.Object) +})); +dart.setLibraryUri(html$.ExtendableMessageEvent, I[148]); +dart.registerExtension("ExtendableMessageEvent", html$.ExtendableMessageEvent); +html$.External = class External extends _interceptors.Interceptor { + [S$1.$AddSearchProvider](...args) { + return this.AddSearchProvider.apply(this, args); + } + [S$1.$IsSearchProviderInstalled](...args) { + return this.IsSearchProviderInstalled.apply(this, args); + } +}; +dart.addTypeTests(html$.External); +dart.addTypeCaches(html$.External); +dart.setMethodSignature(html$.External, () => ({ + __proto__: dart.getMethods(html$.External.__proto__), + [S$1.$AddSearchProvider]: dart.fnType(dart.void, []), + [S$1.$IsSearchProviderInstalled]: dart.fnType(dart.void, []) +})); +dart.setLibraryUri(html$.External, I[148]); +dart.registerExtension("External", html$.External); +html$.FaceDetector = class FaceDetector$ extends _interceptors.Interceptor { + static new(faceDetectorOptions = null) { + if (faceDetectorOptions != null) { + let faceDetectorOptions_1 = html_common.convertDartToNative_Dictionary(faceDetectorOptions); + return html$.FaceDetector._create_1(faceDetectorOptions_1); + } + return html$.FaceDetector._create_2(); + } + static _create_1(faceDetectorOptions) { + return new FaceDetector(faceDetectorOptions); + } + static _create_2() { + return new FaceDetector(); + } + [S$.$detect](image) { + return js_util.promiseToFuture(core.List, this.detect(image)); + } +}; +dart.addTypeTests(html$.FaceDetector); +dart.addTypeCaches(html$.FaceDetector); +dart.setMethodSignature(html$.FaceDetector, () => ({ + __proto__: dart.getMethods(html$.FaceDetector.__proto__), + [S$.$detect]: dart.fnType(async.Future$(core.List), [dart.dynamic]) +})); +dart.setLibraryUri(html$.FaceDetector, I[148]); +dart.registerExtension("FaceDetector", html$.FaceDetector); +html$.FederatedCredential = class FederatedCredential$ extends html$.Credential { + static new(data) { + if (data == null) dart.nullFailed(I[147], 15934, 35, "data"); + let data_1 = html_common.convertDartToNative_Dictionary(data); + return html$.FederatedCredential._create_1(data_1); + } + static _create_1(data) { + return new FederatedCredential(data); + } + get [S$.$protocol]() { + return this.protocol; + } + get [S$1.$provider]() { + return this.provider; + } + get [S$.$iconUrl]() { + return this.iconURL; + } + get [$name]() { + return this.name; + } +}; +dart.addTypeTests(html$.FederatedCredential); +dart.addTypeCaches(html$.FederatedCredential); +html$.FederatedCredential[dart.implements] = () => [html$.CredentialUserData]; +dart.setGetterSignature(html$.FederatedCredential, () => ({ + __proto__: dart.getGetters(html$.FederatedCredential.__proto__), + [S$.$protocol]: dart.nullable(core.String), + [S$1.$provider]: dart.nullable(core.String), + [S$.$iconUrl]: dart.nullable(core.String), + [$name]: dart.nullable(core.String) +})); +dart.setLibraryUri(html$.FederatedCredential, I[148]); +dart.registerExtension("FederatedCredential", html$.FederatedCredential); +html$.FetchEvent = class FetchEvent$ extends html$.ExtendableEvent { + static new(type, eventInitDict) { + if (type == null) dart.nullFailed(I[147], 15963, 29, "type"); + if (eventInitDict == null) dart.nullFailed(I[147], 15963, 39, "eventInitDict"); + let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); + return html$.FetchEvent._create_1(type, eventInitDict_1); + } + static _create_1(type, eventInitDict) { + return new FetchEvent(type, eventInitDict); + } + get [S$1.$clientId]() { + return this.clientId; + } + get [S$1.$isReload]() { + return this.isReload; + } + get [S$1.$preloadResponse]() { + return js_util.promiseToFuture(dart.dynamic, this.preloadResponse); + } + get [S$.$request]() { + return this.request; + } + [S$.$respondWith](...args) { + return this.respondWith.apply(this, args); + } +}; +dart.addTypeTests(html$.FetchEvent); +dart.addTypeCaches(html$.FetchEvent); +dart.setMethodSignature(html$.FetchEvent, () => ({ + __proto__: dart.getMethods(html$.FetchEvent.__proto__), + [S$.$respondWith]: dart.fnType(dart.void, [async.Future]) +})); +dart.setGetterSignature(html$.FetchEvent, () => ({ + __proto__: dart.getGetters(html$.FetchEvent.__proto__), + [S$1.$clientId]: dart.nullable(core.String), + [S$1.$isReload]: dart.nullable(core.bool), + [S$1.$preloadResponse]: async.Future, + [S$.$request]: dart.nullable(html$._Request) +})); +dart.setLibraryUri(html$.FetchEvent, I[148]); +dart.registerExtension("FetchEvent", html$.FetchEvent); +html$.FieldSetElement = class FieldSetElement extends html$.HtmlElement { + static new() { + return html$.document.createElement("fieldset"); + } + get [S$.$disabled]() { + return this.disabled; + } + set [S$.$disabled](value) { + this.disabled = value; + } + get [S$1.$elements]() { + return this.elements; + } + get [S$.$form]() { + return this.form; + } + get [$name]() { + return this.name; + } + set [$name](value) { + this.name = value; + } + get [S.$type]() { + return this.type; + } + get [S$.$validationMessage]() { + return this.validationMessage; + } + get [S$.$validity]() { + return this.validity; + } + get [S$.$willValidate]() { + return this.willValidate; + } + [S$.$checkValidity](...args) { + return this.checkValidity.apply(this, args); + } + [S$.$reportValidity](...args) { + return this.reportValidity.apply(this, args); + } + [S$.$setCustomValidity](...args) { + return this.setCustomValidity.apply(this, args); + } +}; +(html$.FieldSetElement.created = function() { + html$.FieldSetElement.__proto__.created.call(this); + ; +}).prototype = html$.FieldSetElement.prototype; +dart.addTypeTests(html$.FieldSetElement); +dart.addTypeCaches(html$.FieldSetElement); +dart.setMethodSignature(html$.FieldSetElement, () => ({ + __proto__: dart.getMethods(html$.FieldSetElement.__proto__), + [S$.$checkValidity]: dart.fnType(core.bool, []), + [S$.$reportValidity]: dart.fnType(core.bool, []), + [S$.$setCustomValidity]: dart.fnType(dart.void, [core.String]) +})); +dart.setGetterSignature(html$.FieldSetElement, () => ({ + __proto__: dart.getGetters(html$.FieldSetElement.__proto__), + [S$.$disabled]: dart.nullable(core.bool), + [S$1.$elements]: dart.nullable(core.List$(html$.Node)), + [S$.$form]: dart.nullable(html$.FormElement), + [$name]: core.String, + [S.$type]: core.String, + [S$.$validationMessage]: core.String, + [S$.$validity]: html$.ValidityState, + [S$.$willValidate]: core.bool +})); +dart.setSetterSignature(html$.FieldSetElement, () => ({ + __proto__: dart.getSetters(html$.FieldSetElement.__proto__), + [S$.$disabled]: dart.nullable(core.bool), + [$name]: core.String +})); +dart.setLibraryUri(html$.FieldSetElement, I[148]); +dart.registerExtension("HTMLFieldSetElement", html$.FieldSetElement); +html$.File = class File$ extends html$.Blob { + static new(fileBits, fileName, options = null) { + if (fileBits == null) dart.nullFailed(I[147], 16044, 29, "fileBits"); + if (fileName == null) dart.nullFailed(I[147], 16044, 46, "fileName"); + if (options != null) { + let options_1 = html_common.convertDartToNative_Dictionary(options); + return html$.File._create_1(fileBits, fileName, options_1); + } + return html$.File._create_2(fileBits, fileName); + } + static _create_1(fileBits, fileName, options) { + return new File(fileBits, fileName, options); + } + static _create_2(fileBits, fileName) { + return new File(fileBits, fileName); + } + get [S$1.$lastModified]() { + return this.lastModified; + } + get [S$1.$lastModifiedDate]() { + return html_common.convertNativeToDart_DateTime(this[S$1._get_lastModifiedDate]); + } + get [S$1._get_lastModifiedDate]() { + return this.lastModifiedDate; + } + get [$name]() { + return this.name; + } + get [S$1.$relativePath]() { + return this.webkitRelativePath; + } +}; +dart.addTypeTests(html$.File); +dart.addTypeCaches(html$.File); +dart.setGetterSignature(html$.File, () => ({ + __proto__: dart.getGetters(html$.File.__proto__), + [S$1.$lastModified]: dart.nullable(core.int), + [S$1.$lastModifiedDate]: core.DateTime, + [S$1._get_lastModifiedDate]: dart.dynamic, + [$name]: core.String, + [S$1.$relativePath]: dart.nullable(core.String) +})); +dart.setLibraryUri(html$.File, I[148]); +dart.registerExtension("File", html$.File); +html$.FileEntry = class FileEntry extends html$.Entry { + [S$1._createWriter](...args) { + return this.createWriter.apply(this, args); + } + [S$1.$createWriter]() { + let completer = T$0.CompleterOfFileWriter().new(); + this[S$1._createWriter](dart.fn(value => { + if (value == null) dart.nullFailed(I[147], 16096, 20, "value"); + _js_helper.applyExtension("FileWriter", value); + completer.complete(value); + }, T$0.FileWriterTovoid()), dart.fn(error => { + if (error == null) dart.nullFailed(I[147], 16099, 9, "error"); + completer.completeError(error); + }, T$0.DomExceptionTovoid())); + return completer.future; + } + [S$1._file$1](...args) { + return this.file.apply(this, args); + } + [S$1.$file]() { + let completer = T$0.CompleterOfFile().new(); + this[S$1._file$1](dart.fn(value => { + _js_helper.applyExtension("File", value); + completer.complete(value); + }, T$0.FileNTovoid()), dart.fn(error => { + if (error == null) dart.nullFailed(I[147], 16115, 9, "error"); + completer.completeError(error); + }, T$0.DomExceptionTovoid())); + return completer.future; + } +}; +dart.addTypeTests(html$.FileEntry); +dart.addTypeCaches(html$.FileEntry); +dart.setMethodSignature(html$.FileEntry, () => ({ + __proto__: dart.getMethods(html$.FileEntry.__proto__), + [S$1._createWriter]: dart.fnType(dart.void, [dart.fnType(dart.void, [html$.FileWriter])], [dart.nullable(dart.fnType(dart.void, [html$.DomException]))]), + [S$1.$createWriter]: dart.fnType(async.Future$(html$.FileWriter), []), + [S$1._file$1]: dart.fnType(dart.void, [dart.fnType(dart.void, [dart.nullable(html$.File)])], [dart.nullable(dart.fnType(dart.void, [html$.DomException]))]), + [S$1.$file]: dart.fnType(async.Future$(html$.File), []) +})); +dart.setLibraryUri(html$.FileEntry, I[148]); +dart.registerExtension("FileEntry", html$.FileEntry); +const Interceptor_ListMixin$36$0 = class Interceptor_ListMixin extends _interceptors.Interceptor {}; +(Interceptor_ListMixin$36$0.new = function() { + Interceptor_ListMixin$36$0.__proto__.new.call(this); +}).prototype = Interceptor_ListMixin$36$0.prototype; +dart.applyMixin(Interceptor_ListMixin$36$0, collection.ListMixin$(html$.File)); +const Interceptor_ImmutableListMixin$36$0 = class Interceptor_ImmutableListMixin extends Interceptor_ListMixin$36$0 {}; +(Interceptor_ImmutableListMixin$36$0.new = function() { + Interceptor_ImmutableListMixin$36$0.__proto__.new.call(this); +}).prototype = Interceptor_ImmutableListMixin$36$0.prototype; +dart.applyMixin(Interceptor_ImmutableListMixin$36$0, html$.ImmutableListMixin$(html$.File)); +html$.FileList = class FileList extends Interceptor_ImmutableListMixin$36$0 { + get [$length]() { + return this.length; + } + [$_get](index) { + if (index == null) dart.nullFailed(I[147], 16136, 24, "index"); + if (index >>> 0 !== index || index >= this[$length]) dart.throw(new core.IndexError.new(index, this)); + return this[index]; + } + [$_set](index, value$) { + let value = value$; + if (index == null) dart.nullFailed(I[147], 16142, 25, "index"); + html$.File.as(value); + if (value == null) dart.nullFailed(I[147], 16142, 37, "value"); + dart.throw(new core.UnsupportedError.new("Cannot assign element of immutable List.")); + return value$; + } + set [$length](value) { + if (value == null) dart.nullFailed(I[147], 16148, 18, "value"); + dart.throw(new core.UnsupportedError.new("Cannot resize immutable List.")); + } + get [$first]() { + if (dart.notNull(this[$length]) > 0) { + return this[0]; + } + dart.throw(new core.StateError.new("No elements")); + } + set [$first](value) { + super[$first] = value; + } + get [$last]() { + let len = this[$length]; + if (dart.notNull(len) > 0) { + return this[dart.notNull(len) - 1]; + } + dart.throw(new core.StateError.new("No elements")); + } + set [$last](value) { + super[$last] = value; + } + get [$single]() { + let len = this[$length]; + if (len === 1) { + return this[0]; + } + if (len === 0) dart.throw(new core.StateError.new("No elements")); + dart.throw(new core.StateError.new("More than one element")); + } + [$elementAt](index) { + if (index == null) dart.nullFailed(I[147], 16176, 22, "index"); + return this[$_get](index); + } + [S$.$item](...args) { + return this.item.apply(this, args); + } +}; +html$.FileList.prototype[dart.isList] = true; +dart.addTypeTests(html$.FileList); +dart.addTypeCaches(html$.FileList); +html$.FileList[dart.implements] = () => [core.List$(html$.File), _js_helper.JavaScriptIndexingBehavior$(html$.File)]; +dart.setMethodSignature(html$.FileList, () => ({ + __proto__: dart.getMethods(html$.FileList.__proto__), + [$_get]: dart.fnType(html$.File, [core.int]), + [$_set]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), + [S$.$item]: dart.fnType(dart.nullable(html$.File), [core.int]) +})); +dart.setGetterSignature(html$.FileList, () => ({ + __proto__: dart.getGetters(html$.FileList.__proto__), + [$length]: core.int +})); +dart.setSetterSignature(html$.FileList, () => ({ + __proto__: dart.getSetters(html$.FileList.__proto__), + [$length]: core.int +})); +dart.setLibraryUri(html$.FileList, I[148]); +dart.registerExtension("FileList", html$.FileList); +html$.FileReader = class FileReader$ extends html$.EventTarget { + get [S.$result]() { + let res = this.result; + if (typed_data.ByteBuffer.is(res)) { + return typed_data.Uint8List.view(res); + } + return res; + } + static new() { + return html$.FileReader._create_1(); + } + static _create_1() { + return new FileReader(); + } + get [S.$error]() { + return this.error; + } + get [S.$readyState]() { + return this.readyState; + } + [S.$abort](...args) { + return this.abort.apply(this, args); + } + [S$1.$readAsArrayBuffer](...args) { + return this.readAsArrayBuffer.apply(this, args); + } + [S$1.$readAsDataUrl](...args) { + return this.readAsDataURL.apply(this, args); + } + [S$1.$readAsText](...args) { + return this.readAsText.apply(this, args); + } + get [S.$onAbort]() { + return html$.FileReader.abortEvent.forTarget(this); + } + get [S.$onError]() { + return html$.FileReader.errorEvent.forTarget(this); + } + get [S.$onLoad]() { + return html$.FileReader.loadEvent.forTarget(this); + } + get [S$1.$onLoadEnd]() { + return html$.FileReader.loadEndEvent.forTarget(this); + } + get [S$1.$onLoadStart]() { + return html$.FileReader.loadStartEvent.forTarget(this); + } + get [S$.$onProgress]() { + return html$.FileReader.progressEvent.forTarget(this); + } +}; +dart.addTypeTests(html$.FileReader); +dart.addTypeCaches(html$.FileReader); +dart.setMethodSignature(html$.FileReader, () => ({ + __proto__: dart.getMethods(html$.FileReader.__proto__), + [S.$abort]: dart.fnType(dart.void, []), + [S$1.$readAsArrayBuffer]: dart.fnType(dart.void, [html$.Blob]), + [S$1.$readAsDataUrl]: dart.fnType(dart.void, [html$.Blob]), + [S$1.$readAsText]: dart.fnType(dart.void, [html$.Blob], [dart.nullable(core.String)]) +})); +dart.setGetterSignature(html$.FileReader, () => ({ + __proto__: dart.getGetters(html$.FileReader.__proto__), + [S.$result]: dart.nullable(core.Object), + [S.$error]: dart.nullable(html$.DomException), + [S.$readyState]: core.int, + [S.$onAbort]: async.Stream$(html$.ProgressEvent), + [S.$onError]: async.Stream$(html$.ProgressEvent), + [S.$onLoad]: async.Stream$(html$.ProgressEvent), + [S$1.$onLoadEnd]: async.Stream$(html$.ProgressEvent), + [S$1.$onLoadStart]: async.Stream$(html$.ProgressEvent), + [S$.$onProgress]: async.Stream$(html$.ProgressEvent) +})); +dart.setLibraryUri(html$.FileReader, I[148]); +dart.defineLazy(html$.FileReader, { + /*html$.FileReader.abortEvent*/get abortEvent() { + return C[331] || CT.C331; + }, + /*html$.FileReader.errorEvent*/get errorEvent() { + return C[332] || CT.C332; + }, + /*html$.FileReader.loadEvent*/get loadEvent() { + return C[333] || CT.C333; + }, + /*html$.FileReader.loadEndEvent*/get loadEndEvent() { + return C[334] || CT.C334; + }, + /*html$.FileReader.loadStartEvent*/get loadStartEvent() { + return C[335] || CT.C335; + }, + /*html$.FileReader.progressEvent*/get progressEvent() { + return C[309] || CT.C309; + }, + /*html$.FileReader.DONE*/get DONE() { + return 2; + }, + /*html$.FileReader.EMPTY*/get EMPTY() { + return 0; + }, + /*html$.FileReader.LOADING*/get LOADING() { + return 1; + } +}, false); +dart.registerExtension("FileReader", html$.FileReader); +html$.FileSystem = class FileSystem extends _interceptors.Interceptor { + static get supported() { + return !!window.webkitRequestFileSystem; + } + get [$name]() { + return this.name; + } + get [S$1.$root]() { + return this.root; + } +}; +dart.addTypeTests(html$.FileSystem); +dart.addTypeCaches(html$.FileSystem); +dart.setGetterSignature(html$.FileSystem, () => ({ + __proto__: dart.getGetters(html$.FileSystem.__proto__), + [$name]: dart.nullable(core.String), + [S$1.$root]: dart.nullable(html$.DirectoryEntry) +})); +dart.setLibraryUri(html$.FileSystem, I[148]); +dart.registerExtension("DOMFileSystem", html$.FileSystem); +html$.FileWriter = class FileWriter extends html$.EventTarget { + get [S.$error]() { + return this.error; + } + get [$length]() { + return this.length; + } + get [S$0.$position]() { + return this.position; + } + get [S.$readyState]() { + return this.readyState; + } + [S.$abort](...args) { + return this.abort.apply(this, args); + } + [S$1.$seek](...args) { + return this.seek.apply(this, args); + } + [$truncate](...args) { + return this.truncate.apply(this, args); + } + [S$1.$write](...args) { + return this.write.apply(this, args); + } + get [S.$onAbort]() { + return html$.FileWriter.abortEvent.forTarget(this); + } + get [S.$onError]() { + return html$.FileWriter.errorEvent.forTarget(this); + } + get [S$.$onProgress]() { + return html$.FileWriter.progressEvent.forTarget(this); + } + get [S$1.$onWrite]() { + return html$.FileWriter.writeEvent.forTarget(this); + } + get [S$1.$onWriteEnd]() { + return html$.FileWriter.writeEndEvent.forTarget(this); + } + get [S$1.$onWriteStart]() { + return html$.FileWriter.writeStartEvent.forTarget(this); + } +}; +dart.addTypeTests(html$.FileWriter); +dart.addTypeCaches(html$.FileWriter); +dart.setMethodSignature(html$.FileWriter, () => ({ + __proto__: dart.getMethods(html$.FileWriter.__proto__), + [S.$abort]: dart.fnType(dart.void, []), + [S$1.$seek]: dart.fnType(dart.void, [core.int]), + [$truncate]: dart.fnType(dart.void, [core.int]), + [S$1.$write]: dart.fnType(dart.void, [html$.Blob]) +})); +dart.setGetterSignature(html$.FileWriter, () => ({ + __proto__: dart.getGetters(html$.FileWriter.__proto__), + [S.$error]: dart.nullable(html$.DomException), + [$length]: dart.nullable(core.int), + [S$0.$position]: dart.nullable(core.int), + [S.$readyState]: dart.nullable(core.int), + [S.$onAbort]: async.Stream$(html$.ProgressEvent), + [S.$onError]: async.Stream$(html$.Event), + [S$.$onProgress]: async.Stream$(html$.ProgressEvent), + [S$1.$onWrite]: async.Stream$(html$.ProgressEvent), + [S$1.$onWriteEnd]: async.Stream$(html$.ProgressEvent), + [S$1.$onWriteStart]: async.Stream$(html$.ProgressEvent) +})); +dart.setLibraryUri(html$.FileWriter, I[148]); +dart.defineLazy(html$.FileWriter, { + /*html$.FileWriter.abortEvent*/get abortEvent() { + return C[331] || CT.C331; + }, + /*html$.FileWriter.errorEvent*/get errorEvent() { + return C[216] || CT.C216; + }, + /*html$.FileWriter.progressEvent*/get progressEvent() { + return C[309] || CT.C309; + }, + /*html$.FileWriter.writeEvent*/get writeEvent() { + return C[336] || CT.C336; + }, + /*html$.FileWriter.writeEndEvent*/get writeEndEvent() { + return C[337] || CT.C337; + }, + /*html$.FileWriter.writeStartEvent*/get writeStartEvent() { + return C[338] || CT.C338; + }, + /*html$.FileWriter.DONE*/get DONE() { + return 2; + }, + /*html$.FileWriter.INIT*/get INIT() { + return 0; + }, + /*html$.FileWriter.WRITING*/get WRITING() { + return 1; + } +}, false); +dart.registerExtension("FileWriter", html$.FileWriter); +html$.FocusEvent = class FocusEvent$ extends html$.UIEvent { + static new(type, eventInitDict = null) { + if (type == null) dart.nullFailed(I[147], 16445, 29, "type"); + if (eventInitDict != null) { + let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); + return html$.FocusEvent._create_1(type, eventInitDict_1); + } + return html$.FocusEvent._create_2(type); + } + static _create_1(type, eventInitDict) { + return new FocusEvent(type, eventInitDict); + } + static _create_2(type) { + return new FocusEvent(type); + } + get [S$1.$relatedTarget]() { + return html$._convertNativeToDart_EventTarget(this[S$1._get_relatedTarget]); + } + get [S$1._get_relatedTarget]() { + return this.relatedTarget; + } +}; +dart.addTypeTests(html$.FocusEvent); +dart.addTypeCaches(html$.FocusEvent); +dart.setGetterSignature(html$.FocusEvent, () => ({ + __proto__: dart.getGetters(html$.FocusEvent.__proto__), + [S$1.$relatedTarget]: dart.nullable(html$.EventTarget), + [S$1._get_relatedTarget]: dart.dynamic +})); +dart.setLibraryUri(html$.FocusEvent, I[148]); +dart.registerExtension("FocusEvent", html$.FocusEvent); +html$.FontFace = class FontFace$ extends _interceptors.Interceptor { + static new(family, source, descriptors = null) { + if (family == null) dart.nullFailed(I[147], 16474, 27, "family"); + if (source == null) dart.nullFailed(I[147], 16474, 42, "source"); + if (descriptors != null) { + let descriptors_1 = html_common.convertDartToNative_Dictionary(descriptors); + return html$.FontFace._create_1(family, source, descriptors_1); + } + return html$.FontFace._create_2(family, source); + } + static _create_1(family, source, descriptors) { + return new FontFace(family, source, descriptors); + } + static _create_2(family, source) { + return new FontFace(family, source); + } + get [S$0.$display]() { + return this.display; + } + set [S$0.$display](value) { + this.display = value; + } + get [S$1.$family]() { + return this.family; + } + set [S$1.$family](value) { + this.family = value; + } + get [S$1.$featureSettings]() { + return this.featureSettings; + } + set [S$1.$featureSettings](value) { + this.featureSettings = value; + } + get [S$1.$loaded]() { + return js_util.promiseToFuture(html$.FontFace, this.loaded); + } + get [S$.$status]() { + return this.status; + } + get [S$1.$stretch]() { + return this.stretch; + } + set [S$1.$stretch](value) { + this.stretch = value; + } + get [S.$style]() { + return this.style; + } + set [S.$style](value) { + this.style = value; + } + get [S$0.$unicodeRange]() { + return this.unicodeRange; + } + set [S$0.$unicodeRange](value) { + this.unicodeRange = value; + } + get [S$1.$variant]() { + return this.variant; + } + set [S$1.$variant](value) { + this.variant = value; + } + get [S$1.$weight]() { + return this.weight; + } + set [S$1.$weight](value) { + this.weight = value; + } + [S$.$load]() { + return js_util.promiseToFuture(html$.FontFace, this.load()); + } +}; +dart.addTypeTests(html$.FontFace); +dart.addTypeCaches(html$.FontFace); +dart.setMethodSignature(html$.FontFace, () => ({ + __proto__: dart.getMethods(html$.FontFace.__proto__), + [S$.$load]: dart.fnType(async.Future$(html$.FontFace), []) +})); +dart.setGetterSignature(html$.FontFace, () => ({ + __proto__: dart.getGetters(html$.FontFace.__proto__), + [S$0.$display]: dart.nullable(core.String), + [S$1.$family]: dart.nullable(core.String), + [S$1.$featureSettings]: dart.nullable(core.String), + [S$1.$loaded]: async.Future$(html$.FontFace), + [S$.$status]: dart.nullable(core.String), + [S$1.$stretch]: dart.nullable(core.String), + [S.$style]: dart.nullable(core.String), + [S$0.$unicodeRange]: dart.nullable(core.String), + [S$1.$variant]: dart.nullable(core.String), + [S$1.$weight]: dart.nullable(core.String) +})); +dart.setSetterSignature(html$.FontFace, () => ({ + __proto__: dart.getSetters(html$.FontFace.__proto__), + [S$0.$display]: dart.nullable(core.String), + [S$1.$family]: dart.nullable(core.String), + [S$1.$featureSettings]: dart.nullable(core.String), + [S$1.$stretch]: dart.nullable(core.String), + [S.$style]: dart.nullable(core.String), + [S$0.$unicodeRange]: dart.nullable(core.String), + [S$1.$variant]: dart.nullable(core.String), + [S$1.$weight]: dart.nullable(core.String) +})); +dart.setLibraryUri(html$.FontFace, I[148]); +dart.registerExtension("FontFace", html$.FontFace); +html$.FontFaceSet = class FontFaceSet extends html$.EventTarget { + get [S$.$status]() { + return this.status; + } + [$add](...args) { + return this.add.apply(this, args); + } + [S$1.$check](...args) { + return this.check.apply(this, args); + } + [$clear](...args) { + return this.clear.apply(this, args); + } + [S.$delete](...args) { + return this.delete.apply(this, args); + } + [$forEach](...args) { + return this.forEach.apply(this, args); + } + [S$.$has](...args) { + return this.has.apply(this, args); + } + get [S$1.$onLoading]() { + return html$.FontFaceSet.loadingEvent.forTarget(this); + } + get [S$1.$onLoadingDone]() { + return html$.FontFaceSet.loadingDoneEvent.forTarget(this); + } + get [S$1.$onLoadingError]() { + return html$.FontFaceSet.loadingErrorEvent.forTarget(this); + } +}; +dart.addTypeTests(html$.FontFaceSet); +dart.addTypeCaches(html$.FontFaceSet); +dart.setMethodSignature(html$.FontFaceSet, () => ({ + __proto__: dart.getMethods(html$.FontFaceSet.__proto__), + [$add]: dart.fnType(html$.FontFaceSet, [html$.FontFace]), + [S$1.$check]: dart.fnType(core.bool, [core.String], [dart.nullable(core.String)]), + [$clear]: dart.fnType(dart.void, []), + [S.$delete]: dart.fnType(core.bool, [html$.FontFace]), + [$forEach]: dart.fnType(dart.void, [dart.fnType(dart.void, [html$.FontFace, html$.FontFace, html$.FontFaceSet])], [dart.nullable(core.Object)]), + [S$.$has]: dart.fnType(core.bool, [html$.FontFace]) +})); +dart.setGetterSignature(html$.FontFaceSet, () => ({ + __proto__: dart.getGetters(html$.FontFaceSet.__proto__), + [S$.$status]: dart.nullable(core.String), + [S$1.$onLoading]: async.Stream$(html$.FontFaceSetLoadEvent), + [S$1.$onLoadingDone]: async.Stream$(html$.FontFaceSetLoadEvent), + [S$1.$onLoadingError]: async.Stream$(html$.FontFaceSetLoadEvent) +})); +dart.setLibraryUri(html$.FontFaceSet, I[148]); +dart.defineLazy(html$.FontFaceSet, { + /*html$.FontFaceSet.loadingEvent*/get loadingEvent() { + return C[339] || CT.C339; + }, + /*html$.FontFaceSet.loadingDoneEvent*/get loadingDoneEvent() { + return C[340] || CT.C340; + }, + /*html$.FontFaceSet.loadingErrorEvent*/get loadingErrorEvent() { + return C[341] || CT.C341; + } +}, false); +dart.registerExtension("FontFaceSet", html$.FontFaceSet); +html$.FontFaceSetLoadEvent = class FontFaceSetLoadEvent$ extends html$.Event { + static new(type, eventInitDict = null) { + if (type == null) dart.nullFailed(I[147], 16579, 39, "type"); + if (eventInitDict != null) { + let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); + return html$.FontFaceSetLoadEvent._create_1(type, eventInitDict_1); + } + return html$.FontFaceSetLoadEvent._create_2(type); + } + static _create_1(type, eventInitDict) { + return new FontFaceSetLoadEvent(type, eventInitDict); + } + static _create_2(type) { + return new FontFaceSetLoadEvent(type); + } + get [S$1.$fontfaces]() { + return this.fontfaces; + } +}; +dart.addTypeTests(html$.FontFaceSetLoadEvent); +dart.addTypeCaches(html$.FontFaceSetLoadEvent); +dart.setGetterSignature(html$.FontFaceSetLoadEvent, () => ({ + __proto__: dart.getGetters(html$.FontFaceSetLoadEvent.__proto__), + [S$1.$fontfaces]: dart.nullable(core.List$(html$.FontFace)) +})); +dart.setLibraryUri(html$.FontFaceSetLoadEvent, I[148]); +dart.registerExtension("FontFaceSetLoadEvent", html$.FontFaceSetLoadEvent); +html$.FontFaceSource = class FontFaceSource extends _interceptors.Interceptor { + get [S$1.$fonts]() { + return this.fonts; + } +}; +dart.addTypeTests(html$.FontFaceSource); +dart.addTypeCaches(html$.FontFaceSource); +dart.setGetterSignature(html$.FontFaceSource, () => ({ + __proto__: dart.getGetters(html$.FontFaceSource.__proto__), + [S$1.$fonts]: dart.nullable(html$.FontFaceSet) +})); +dart.setLibraryUri(html$.FontFaceSource, I[148]); +dart.registerExtension("FontFaceSource", html$.FontFaceSource); +html$.ForeignFetchEvent = class ForeignFetchEvent$ extends html$.ExtendableEvent { + static new(type, eventInitDict) { + if (type == null) dart.nullFailed(I[147], 16620, 36, "type"); + if (eventInitDict == null) dart.nullFailed(I[147], 16620, 46, "eventInitDict"); + let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); + return html$.ForeignFetchEvent._create_1(type, eventInitDict_1); + } + static _create_1(type, eventInitDict) { + return new ForeignFetchEvent(type, eventInitDict); + } + get [S$.$origin]() { + return this.origin; + } + get [S$.$request]() { + return this.request; + } + [S$.$respondWith](...args) { + return this.respondWith.apply(this, args); + } +}; +dart.addTypeTests(html$.ForeignFetchEvent); +dart.addTypeCaches(html$.ForeignFetchEvent); +dart.setMethodSignature(html$.ForeignFetchEvent, () => ({ + __proto__: dart.getMethods(html$.ForeignFetchEvent.__proto__), + [S$.$respondWith]: dart.fnType(dart.void, [async.Future]) +})); +dart.setGetterSignature(html$.ForeignFetchEvent, () => ({ + __proto__: dart.getGetters(html$.ForeignFetchEvent.__proto__), + [S$.$origin]: dart.nullable(core.String), + [S$.$request]: dart.nullable(html$._Request) +})); +dart.setLibraryUri(html$.ForeignFetchEvent, I[148]); +dart.registerExtension("ForeignFetchEvent", html$.ForeignFetchEvent); +html$.FormData = class FormData$ extends _interceptors.Interceptor { + static new(form = null) { + if (form != null) { + return html$.FormData._create_1(form); + } + return html$.FormData._create_2(); + } + static _create_1(form) { + return new FormData(form); + } + static _create_2() { + return new FormData(); + } + static get supported() { + return !!window.FormData; + } + [S.$append](...args) { + return this.append.apply(this, args); + } + [S$1.$appendBlob](...args) { + return this.append.apply(this, args); + } + [S.$delete](...args) { + return this.delete.apply(this, args); + } + [S.$get](...args) { + return this.get.apply(this, args); + } + [S.$getAll](...args) { + return this.getAll.apply(this, args); + } + [S$.$has](...args) { + return this.has.apply(this, args); + } + [S$.$set](...args) { + return this.set.apply(this, args); + } +}; +dart.addTypeTests(html$.FormData); +dart.addTypeCaches(html$.FormData); +dart.setMethodSignature(html$.FormData, () => ({ + __proto__: dart.getMethods(html$.FormData.__proto__), + [S.$append]: dart.fnType(dart.void, [core.String, core.String]), + [S$1.$appendBlob]: dart.fnType(dart.void, [core.String, html$.Blob], [dart.nullable(core.String)]), + [S.$delete]: dart.fnType(dart.void, [core.String]), + [S.$get]: dart.fnType(dart.nullable(core.Object), [core.String]), + [S.$getAll]: dart.fnType(core.List$(core.Object), [core.String]), + [S$.$has]: dart.fnType(core.bool, [core.String]), + [S$.$set]: dart.fnType(dart.void, [core.String, dart.dynamic], [dart.nullable(core.String)]) +})); +dart.setLibraryUri(html$.FormData, I[148]); +dart.registerExtension("FormData", html$.FormData); +html$.FormElement = class FormElement extends html$.HtmlElement { + static new() { + return html$.document.createElement("form"); + } + get [S$1.$acceptCharset]() { + return this.acceptCharset; + } + set [S$1.$acceptCharset](value) { + this.acceptCharset = value; + } + get [S$1.$action]() { + return this.action; + } + set [S$1.$action](value) { + this.action = value; + } + get [S$.$autocomplete]() { + return this.autocomplete; + } + set [S$.$autocomplete](value) { + this.autocomplete = value; + } + get [S$.$encoding]() { + return this.encoding; + } + set [S$.$encoding](value) { + this.encoding = value; + } + get [S$1.$enctype]() { + return this.enctype; + } + set [S$1.$enctype](value) { + this.enctype = value; + } + get [$length]() { + return this.length; + } + get [S$1.$method]() { + return this.method; + } + set [S$1.$method](value) { + this.method = value; + } + get [$name]() { + return this.name; + } + set [$name](value) { + this.name = value; + } + get [S$1.$noValidate]() { + return this.noValidate; + } + set [S$1.$noValidate](value) { + this.noValidate = value; + } + get [S.$target]() { + return this.target; + } + set [S.$target](value) { + this.target = value; + } + [S$.__getter__](...args) { + return this.__getter__.apply(this, args); + } + [S$.$checkValidity](...args) { + return this.checkValidity.apply(this, args); + } + [S$.$item](...args) { + return this.item.apply(this, args); + } + [S$.$reportValidity](...args) { + return this.reportValidity.apply(this, args); + } + [S$1.$requestAutocomplete](details) { + let details_1 = html_common.convertDartToNative_Dictionary(details); + this[S$1._requestAutocomplete_1](details_1); + return; + } + [S$1._requestAutocomplete_1](...args) { + return this.requestAutocomplete.apply(this, args); + } + [S$1.$reset](...args) { + return this.reset.apply(this, args); + } + [S$1.$submit](...args) { + return this.submit.apply(this, args); + } +}; +(html$.FormElement.created = function() { + html$.FormElement.__proto__.created.call(this); + ; +}).prototype = html$.FormElement.prototype; +dart.addTypeTests(html$.FormElement); +dart.addTypeCaches(html$.FormElement); +dart.setMethodSignature(html$.FormElement, () => ({ + __proto__: dart.getMethods(html$.FormElement.__proto__), + [S$.__getter__]: dart.fnType(dart.nullable(core.Object), [core.String]), + [S$.$checkValidity]: dart.fnType(core.bool, []), + [S$.$item]: dart.fnType(html$.Element, [core.int]), + [S$.$reportValidity]: dart.fnType(core.bool, []), + [S$1.$requestAutocomplete]: dart.fnType(dart.void, [dart.nullable(core.Map)]), + [S$1._requestAutocomplete_1]: dart.fnType(dart.void, [dart.dynamic]), + [S$1.$reset]: dart.fnType(dart.void, []), + [S$1.$submit]: dart.fnType(dart.void, []) +})); +dart.setGetterSignature(html$.FormElement, () => ({ + __proto__: dart.getGetters(html$.FormElement.__proto__), + [S$1.$acceptCharset]: dart.nullable(core.String), + [S$1.$action]: dart.nullable(core.String), + [S$.$autocomplete]: dart.nullable(core.String), + [S$.$encoding]: dart.nullable(core.String), + [S$1.$enctype]: dart.nullable(core.String), + [$length]: dart.nullable(core.int), + [S$1.$method]: dart.nullable(core.String), + [$name]: dart.nullable(core.String), + [S$1.$noValidate]: dart.nullable(core.bool), + [S.$target]: dart.nullable(core.String) +})); +dart.setSetterSignature(html$.FormElement, () => ({ + __proto__: dart.getSetters(html$.FormElement.__proto__), + [S$1.$acceptCharset]: dart.nullable(core.String), + [S$1.$action]: dart.nullable(core.String), + [S$.$autocomplete]: dart.nullable(core.String), + [S$.$encoding]: dart.nullable(core.String), + [S$1.$enctype]: dart.nullable(core.String), + [S$1.$method]: dart.nullable(core.String), + [$name]: dart.nullable(core.String), + [S$1.$noValidate]: dart.nullable(core.bool), + [S.$target]: dart.nullable(core.String) +})); +dart.setLibraryUri(html$.FormElement, I[148]); +dart.registerExtension("HTMLFormElement", html$.FormElement); +html$.Gamepad = class Gamepad extends _interceptors.Interceptor { + get [S$1.$axes]() { + return this.axes; + } + get [S$1.$buttons]() { + return this.buttons; + } + get [S$1.$connected]() { + return this.connected; + } + get [S$1.$displayId]() { + return this.displayId; + } + get [S$1.$hand]() { + return this.hand; + } + get [S.$id]() { + return this.id; + } + get [S.$index]() { + return this.index; + } + get [S$1.$mapping]() { + return this.mapping; + } + get [S$1.$pose]() { + return this.pose; + } + get [S$.$timestamp]() { + return this.timestamp; + } +}; +dart.addTypeTests(html$.Gamepad); +dart.addTypeCaches(html$.Gamepad); +dart.setGetterSignature(html$.Gamepad, () => ({ + __proto__: dart.getGetters(html$.Gamepad.__proto__), + [S$1.$axes]: dart.nullable(core.List$(core.num)), + [S$1.$buttons]: dart.nullable(core.List$(html$.GamepadButton)), + [S$1.$connected]: dart.nullable(core.bool), + [S$1.$displayId]: dart.nullable(core.int), + [S$1.$hand]: dart.nullable(core.String), + [S.$id]: dart.nullable(core.String), + [S.$index]: dart.nullable(core.int), + [S$1.$mapping]: dart.nullable(core.String), + [S$1.$pose]: dart.nullable(html$.GamepadPose), + [S$.$timestamp]: dart.nullable(core.int) +})); +dart.setLibraryUri(html$.Gamepad, I[148]); +dart.registerExtension("Gamepad", html$.Gamepad); +html$.GamepadButton = class GamepadButton extends _interceptors.Interceptor { + get [S$.$pressed]() { + return this.pressed; + } + get [S$1.$touched]() { + return this.touched; + } + get [S.$value]() { + return this.value; + } +}; +dart.addTypeTests(html$.GamepadButton); +dart.addTypeCaches(html$.GamepadButton); +dart.setGetterSignature(html$.GamepadButton, () => ({ + __proto__: dart.getGetters(html$.GamepadButton.__proto__), + [S$.$pressed]: dart.nullable(core.bool), + [S$1.$touched]: dart.nullable(core.bool), + [S.$value]: dart.nullable(core.num) +})); +dart.setLibraryUri(html$.GamepadButton, I[148]); +dart.registerExtension("GamepadButton", html$.GamepadButton); +html$.GamepadEvent = class GamepadEvent$ extends html$.Event { + static new(type, eventInitDict = null) { + if (type == null) dart.nullFailed(I[147], 16832, 31, "type"); + if (eventInitDict != null) { + let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); + return html$.GamepadEvent._create_1(type, eventInitDict_1); + } + return html$.GamepadEvent._create_2(type); + } + static _create_1(type, eventInitDict) { + return new GamepadEvent(type, eventInitDict); + } + static _create_2(type) { + return new GamepadEvent(type); + } + get [S$1.$gamepad]() { + return this.gamepad; + } +}; +dart.addTypeTests(html$.GamepadEvent); +dart.addTypeCaches(html$.GamepadEvent); +dart.setGetterSignature(html$.GamepadEvent, () => ({ + __proto__: dart.getGetters(html$.GamepadEvent.__proto__), + [S$1.$gamepad]: dart.nullable(html$.Gamepad) +})); +dart.setLibraryUri(html$.GamepadEvent, I[148]); +dart.registerExtension("GamepadEvent", html$.GamepadEvent); +html$.GamepadPose = class GamepadPose extends _interceptors.Interceptor { + get [S$1.$angularAcceleration]() { + return this.angularAcceleration; + } + get [S$1.$angularVelocity]() { + return this.angularVelocity; + } + get [S$1.$hasOrientation]() { + return this.hasOrientation; + } + get [S$1.$hasPosition]() { + return this.hasPosition; + } + get [S$1.$linearAcceleration]() { + return this.linearAcceleration; + } + get [S$1.$linearVelocity]() { + return this.linearVelocity; + } + get [S$.$orientation]() { + return this.orientation; + } + get [S$0.$position]() { + return this.position; + } +}; +dart.addTypeTests(html$.GamepadPose); +dart.addTypeCaches(html$.GamepadPose); +dart.setGetterSignature(html$.GamepadPose, () => ({ + __proto__: dart.getGetters(html$.GamepadPose.__proto__), + [S$1.$angularAcceleration]: dart.nullable(typed_data.Float32List), + [S$1.$angularVelocity]: dart.nullable(typed_data.Float32List), + [S$1.$hasOrientation]: dart.nullable(core.bool), + [S$1.$hasPosition]: dart.nullable(core.bool), + [S$1.$linearAcceleration]: dart.nullable(typed_data.Float32List), + [S$1.$linearVelocity]: dart.nullable(typed_data.Float32List), + [S$.$orientation]: dart.nullable(typed_data.Float32List), + [S$0.$position]: dart.nullable(typed_data.Float32List) +})); +dart.setLibraryUri(html$.GamepadPose, I[148]); +dart.registerExtension("GamepadPose", html$.GamepadPose); +html$.Geolocation = class Geolocation extends _interceptors.Interceptor { + [S$1.$getCurrentPosition](opts) { + let enableHighAccuracy = opts && 'enableHighAccuracy' in opts ? opts.enableHighAccuracy : null; + let timeout = opts && 'timeout' in opts ? opts.timeout : null; + let maximumAge = opts && 'maximumAge' in opts ? opts.maximumAge : null; + let options = new _js_helper.LinkedMap.new(); + if (enableHighAccuracy != null) { + options[$_set]("enableHighAccuracy", enableHighAccuracy); + } + if (timeout != null) { + options[$_set]("timeout", timeout.inMilliseconds); + } + if (maximumAge != null) { + options[$_set]("maximumAge", maximumAge.inMilliseconds); + } + let completer = T$0.CompleterOfGeoposition().new(); + try { + this[S$1._getCurrentPosition](dart.fn(position => { + if (position == null) dart.nullFailed(I[147], 16894, 28, "position"); + completer.complete(this[S$1._ensurePosition](position)); + }, T$0.GeopositionTovoid()), dart.fn(error => { + if (error == null) dart.nullFailed(I[147], 16896, 11, "error"); + completer.completeError(error); + }, T$0.PositionErrorTovoid()), options); + } catch (e$) { + let e = dart.getThrown(e$); + let stacktrace = dart.stackTrace(e$); + if (core.Object.is(e)) { + completer.completeError(e, stacktrace); + } else + throw e$; + } + return completer.future; + } + [S$1.$watchPosition](opts) { + let enableHighAccuracy = opts && 'enableHighAccuracy' in opts ? opts.enableHighAccuracy : null; + let timeout = opts && 'timeout' in opts ? opts.timeout : null; + let maximumAge = opts && 'maximumAge' in opts ? opts.maximumAge : null; + let options = new _js_helper.LinkedMap.new(); + if (enableHighAccuracy != null) { + options[$_set]("enableHighAccuracy", enableHighAccuracy); + } + if (timeout != null) { + options[$_set]("timeout", timeout.inMilliseconds); + } + if (maximumAge != null) { + options[$_set]("maximumAge", maximumAge.inMilliseconds); + } + let watchId = null; + let controller = T$0.StreamControllerOfGeoposition().new({sync: true, onCancel: dart.fn(() => { + if (!(watchId != null)) dart.assertFailed(null, I[147], 16923, 22, "watchId != null"); + this[S$1._clearWatch](dart.nullCheck(watchId)); + }, T$.VoidToNull())}); + controller.onListen = dart.fn(() => { + if (!(watchId == null)) dart.assertFailed(null, I[147], 16927, 14, "watchId == null"); + watchId = this[S$1._watchPosition](dart.fn(position => { + if (position == null) dart.nullFailed(I[147], 16928, 33, "position"); + controller.add(this[S$1._ensurePosition](position)); + }, T$0.GeopositionTovoid()), dart.fn(error => { + if (error == null) dart.nullFailed(I[147], 16930, 11, "error"); + controller.addError(error); + }, T$0.PositionErrorTovoid()), options); + }, T$.VoidTovoid()); + return controller.stream; + } + [S$1._ensurePosition](domPosition) { + try { + if (html$.Geoposition.is(domPosition)) { + return domPosition; + } + } catch (e$) { + let e = dart.getThrown(e$); + if (core.Object.is(e)) { + } else + throw e$; + } + return new html$._GeopositionWrapper.new(domPosition); + } + [S$1._clearWatch](...args) { + return this.clearWatch.apply(this, args); + } + [S$1._getCurrentPosition](successCallback, errorCallback = null, options = null) { + if (successCallback == null) dart.nullFailed(I[147], 16956, 46, "successCallback"); + if (options != null) { + let successCallback_1 = _js_helper.convertDartClosureToJS(T$0.GeopositionTovoid(), successCallback, 1); + let options_2 = html_common.convertDartToNative_Dictionary(options); + this[S$1._getCurrentPosition_1](successCallback_1, errorCallback, options_2); + return; + } + if (errorCallback != null) { + let successCallback_1 = _js_helper.convertDartClosureToJS(T$0.GeopositionTovoid(), successCallback, 1); + this[S$1._getCurrentPosition_2](successCallback_1, errorCallback); + return; + } + let successCallback_1 = _js_helper.convertDartClosureToJS(T$0.GeopositionTovoid(), successCallback, 1); + this[S$1._getCurrentPosition_3](successCallback_1); + return; + } + [S$1._getCurrentPosition_1](...args) { + return this.getCurrentPosition.apply(this, args); + } + [S$1._getCurrentPosition_2](...args) { + return this.getCurrentPosition.apply(this, args); + } + [S$1._getCurrentPosition_3](...args) { + return this.getCurrentPosition.apply(this, args); + } + [S$1._watchPosition](successCallback, errorCallback = null, options = null) { + if (successCallback == null) dart.nullFailed(I[147], 16983, 40, "successCallback"); + if (options != null) { + let successCallback_1 = _js_helper.convertDartClosureToJS(T$0.GeopositionTovoid(), successCallback, 1); + let options_2 = html_common.convertDartToNative_Dictionary(options); + return this[S$1._watchPosition_1](successCallback_1, errorCallback, options_2); + } + if (errorCallback != null) { + let successCallback_1 = _js_helper.convertDartClosureToJS(T$0.GeopositionTovoid(), successCallback, 1); + return this[S$1._watchPosition_2](successCallback_1, errorCallback); + } + let successCallback_1 = _js_helper.convertDartClosureToJS(T$0.GeopositionTovoid(), successCallback, 1); + return this[S$1._watchPosition_3](successCallback_1); + } + [S$1._watchPosition_1](...args) { + return this.watchPosition.apply(this, args); + } + [S$1._watchPosition_2](...args) { + return this.watchPosition.apply(this, args); + } + [S$1._watchPosition_3](...args) { + return this.watchPosition.apply(this, args); + } +}; +dart.addTypeTests(html$.Geolocation); +dart.addTypeCaches(html$.Geolocation); +dart.setMethodSignature(html$.Geolocation, () => ({ + __proto__: dart.getMethods(html$.Geolocation.__proto__), + [S$1.$getCurrentPosition]: dart.fnType(async.Future$(html$.Geoposition), [], {enableHighAccuracy: dart.nullable(core.bool), maximumAge: dart.nullable(core.Duration), timeout: dart.nullable(core.Duration)}, {}), + [S$1.$watchPosition]: dart.fnType(async.Stream$(html$.Geoposition), [], {enableHighAccuracy: dart.nullable(core.bool), maximumAge: dart.nullable(core.Duration), timeout: dart.nullable(core.Duration)}, {}), + [S$1._ensurePosition]: dart.fnType(html$.Geoposition, [dart.dynamic]), + [S$1._clearWatch]: dart.fnType(dart.void, [core.int]), + [S$1._getCurrentPosition]: dart.fnType(dart.void, [dart.fnType(dart.void, [html$.Geoposition])], [dart.nullable(dart.fnType(dart.void, [html$.PositionError])), dart.nullable(core.Map)]), + [S$1._getCurrentPosition_1]: dart.fnType(dart.void, [dart.dynamic, dart.nullable(dart.fnType(dart.void, [html$.PositionError])), dart.dynamic]), + [S$1._getCurrentPosition_2]: dart.fnType(dart.void, [dart.dynamic, dart.nullable(dart.fnType(dart.void, [html$.PositionError]))]), + [S$1._getCurrentPosition_3]: dart.fnType(dart.void, [dart.dynamic]), + [S$1._watchPosition]: dart.fnType(core.int, [dart.fnType(dart.void, [html$.Geoposition])], [dart.nullable(dart.fnType(dart.void, [html$.PositionError])), dart.nullable(core.Map)]), + [S$1._watchPosition_1]: dart.fnType(core.int, [dart.dynamic, dart.nullable(dart.fnType(dart.void, [html$.PositionError])), dart.dynamic]), + [S$1._watchPosition_2]: dart.fnType(core.int, [dart.dynamic, dart.nullable(dart.fnType(dart.void, [html$.PositionError]))]), + [S$1._watchPosition_3]: dart.fnType(core.int, [dart.dynamic]) +})); +dart.setLibraryUri(html$.Geolocation, I[148]); +dart.registerExtension("Geolocation", html$.Geolocation); +html$._GeopositionWrapper = class _GeopositionWrapper extends core.Object { + get coords() { + return this[S$1._ptr].coords; + } + get timestamp() { + return this[S$1._ptr].timestamp; + } +}; +(html$._GeopositionWrapper.new = function(_ptr) { + this[S$1._ptr] = _ptr; + ; +}).prototype = html$._GeopositionWrapper.prototype; +dart.addTypeTests(html$._GeopositionWrapper); +dart.addTypeCaches(html$._GeopositionWrapper); +html$._GeopositionWrapper[dart.implements] = () => [html$.Geoposition]; +dart.setGetterSignature(html$._GeopositionWrapper, () => ({ + __proto__: dart.getGetters(html$._GeopositionWrapper.__proto__), + coords: html$.Coordinates, + [S$.$coords]: html$.Coordinates, + timestamp: core.int, + [S$.$timestamp]: core.int +})); +dart.setLibraryUri(html$._GeopositionWrapper, I[148]); +dart.setFieldSignature(html$._GeopositionWrapper, () => ({ + __proto__: dart.getFields(html$._GeopositionWrapper.__proto__), + [S$1._ptr]: dart.fieldType(dart.dynamic) +})); +dart.defineExtensionAccessors(html$._GeopositionWrapper, ['coords', 'timestamp']); +html$.Geoposition = class Geoposition extends _interceptors.Interceptor { + get [S$.$coords]() { + return this.coords; + } + get [S$.$timestamp]() { + return this.timestamp; + } +}; +dart.addTypeTests(html$.Geoposition); +dart.addTypeCaches(html$.Geoposition); +dart.setGetterSignature(html$.Geoposition, () => ({ + __proto__: dart.getGetters(html$.Geoposition.__proto__), + [S$.$coords]: dart.nullable(html$.Coordinates), + [S$.$timestamp]: dart.nullable(core.int) +})); +dart.setLibraryUri(html$.Geoposition, I[148]); +dart.registerExtension("Position", html$.Geoposition); +html$.GlobalEventHandlers = class GlobalEventHandlers extends core.Object { + get onAbort() { + return html$.GlobalEventHandlers.abortEvent.forTarget(this); + } + get onBlur() { + return html$.GlobalEventHandlers.blurEvent.forTarget(this); + } + get onCanPlay() { + return html$.GlobalEventHandlers.canPlayEvent.forTarget(this); + } + get onCanPlayThrough() { + return html$.GlobalEventHandlers.canPlayThroughEvent.forTarget(this); + } + get onChange() { + return html$.GlobalEventHandlers.changeEvent.forTarget(this); + } + get onClick() { + return html$.GlobalEventHandlers.clickEvent.forTarget(this); + } + get onContextMenu() { + return html$.GlobalEventHandlers.contextMenuEvent.forTarget(this); + } + get onDoubleClick() { + return html$.GlobalEventHandlers.doubleClickEvent.forTarget(this); + } + get onDrag() { + return html$.GlobalEventHandlers.dragEvent.forTarget(this); + } + get onDragEnd() { + return html$.GlobalEventHandlers.dragEndEvent.forTarget(this); + } + get onDragEnter() { + return html$.GlobalEventHandlers.dragEnterEvent.forTarget(this); + } + get onDragLeave() { + return html$.GlobalEventHandlers.dragLeaveEvent.forTarget(this); + } + get onDragOver() { + return html$.GlobalEventHandlers.dragOverEvent.forTarget(this); + } + get onDragStart() { + return html$.GlobalEventHandlers.dragStartEvent.forTarget(this); + } + get onDrop() { + return html$.GlobalEventHandlers.dropEvent.forTarget(this); + } + get onDurationChange() { + return html$.GlobalEventHandlers.durationChangeEvent.forTarget(this); + } + get onEmptied() { + return html$.GlobalEventHandlers.emptiedEvent.forTarget(this); + } + get onEnded() { + return html$.GlobalEventHandlers.endedEvent.forTarget(this); + } + get onError() { + return html$.GlobalEventHandlers.errorEvent.forTarget(this); + } + get onFocus() { + return html$.GlobalEventHandlers.focusEvent.forTarget(this); + } + get onInput() { + return html$.GlobalEventHandlers.inputEvent.forTarget(this); + } + get onInvalid() { + return html$.GlobalEventHandlers.invalidEvent.forTarget(this); + } + get onKeyDown() { + return html$.GlobalEventHandlers.keyDownEvent.forTarget(this); + } + get onKeyPress() { + return html$.GlobalEventHandlers.keyPressEvent.forTarget(this); + } + get onKeyUp() { + return html$.GlobalEventHandlers.keyUpEvent.forTarget(this); + } + get onLoad() { + return html$.GlobalEventHandlers.loadEvent.forTarget(this); + } + get onLoadedData() { + return html$.GlobalEventHandlers.loadedDataEvent.forTarget(this); + } + get onLoadedMetadata() { + return html$.GlobalEventHandlers.loadedMetadataEvent.forTarget(this); + } + get onMouseDown() { + return html$.GlobalEventHandlers.mouseDownEvent.forTarget(this); + } + get onMouseEnter() { + return html$.GlobalEventHandlers.mouseEnterEvent.forTarget(this); + } + get onMouseLeave() { + return html$.GlobalEventHandlers.mouseLeaveEvent.forTarget(this); + } + get onMouseMove() { + return html$.GlobalEventHandlers.mouseMoveEvent.forTarget(this); + } + get onMouseOut() { + return html$.GlobalEventHandlers.mouseOutEvent.forTarget(this); + } + get onMouseOver() { + return html$.GlobalEventHandlers.mouseOverEvent.forTarget(this); + } + get onMouseUp() { + return html$.GlobalEventHandlers.mouseUpEvent.forTarget(this); + } + get onMouseWheel() { + return html$.GlobalEventHandlers.mouseWheelEvent.forTarget(this); + } + get onPause() { + return html$.GlobalEventHandlers.pauseEvent.forTarget(this); + } + get onPlay() { + return html$.GlobalEventHandlers.playEvent.forTarget(this); + } + get onPlaying() { + return html$.GlobalEventHandlers.playingEvent.forTarget(this); + } + get onRateChange() { + return html$.GlobalEventHandlers.rateChangeEvent.forTarget(this); + } + get onReset() { + return html$.GlobalEventHandlers.resetEvent.forTarget(this); + } + get onResize() { + return html$.GlobalEventHandlers.resizeEvent.forTarget(this); + } + get onScroll() { + return html$.GlobalEventHandlers.scrollEvent.forTarget(this); + } + get onSeeked() { + return html$.GlobalEventHandlers.seekedEvent.forTarget(this); + } + get onSeeking() { + return html$.GlobalEventHandlers.seekingEvent.forTarget(this); + } + get onSelect() { + return html$.GlobalEventHandlers.selectEvent.forTarget(this); + } + get onStalled() { + return html$.GlobalEventHandlers.stalledEvent.forTarget(this); + } + get onSubmit() { + return html$.GlobalEventHandlers.submitEvent.forTarget(this); + } + get onSuspend() { + return html$.GlobalEventHandlers.suspendEvent.forTarget(this); + } + get onTimeUpdate() { + return html$.GlobalEventHandlers.timeUpdateEvent.forTarget(this); + } + get onTouchCancel() { + return html$.GlobalEventHandlers.touchCancelEvent.forTarget(this); + } + get onTouchEnd() { + return html$.GlobalEventHandlers.touchEndEvent.forTarget(this); + } + get onTouchMove() { + return html$.GlobalEventHandlers.touchMoveEvent.forTarget(this); + } + get onTouchStart() { + return html$.GlobalEventHandlers.touchStartEvent.forTarget(this); + } + get onVolumeChange() { + return html$.GlobalEventHandlers.volumeChangeEvent.forTarget(this); + } + get onWaiting() { + return html$.GlobalEventHandlers.waitingEvent.forTarget(this); + } + get onWheel() { + return html$.GlobalEventHandlers.wheelEvent.forTarget(this); + } +}; +(html$.GlobalEventHandlers[dart.mixinNew] = function() { +}).prototype = html$.GlobalEventHandlers.prototype; +dart.addTypeTests(html$.GlobalEventHandlers); +dart.addTypeCaches(html$.GlobalEventHandlers); +html$.GlobalEventHandlers[dart.implements] = () => [html$.EventTarget]; +dart.setGetterSignature(html$.GlobalEventHandlers, () => ({ + __proto__: dart.getGetters(html$.GlobalEventHandlers.__proto__), + onAbort: async.Stream$(html$.Event), + [S.$onAbort]: async.Stream$(html$.Event), + onBlur: async.Stream$(html$.Event), + [S.$onBlur]: async.Stream$(html$.Event), + onCanPlay: async.Stream$(html$.Event), + [S.$onCanPlay]: async.Stream$(html$.Event), + onCanPlayThrough: async.Stream$(html$.Event), + [S.$onCanPlayThrough]: async.Stream$(html$.Event), + onChange: async.Stream$(html$.Event), + [S.$onChange]: async.Stream$(html$.Event), + onClick: async.Stream$(html$.MouseEvent), + [S.$onClick]: async.Stream$(html$.MouseEvent), + onContextMenu: async.Stream$(html$.MouseEvent), + [S.$onContextMenu]: async.Stream$(html$.MouseEvent), + onDoubleClick: async.Stream$(html$.Event), + [S.$onDoubleClick]: async.Stream$(html$.Event), + onDrag: async.Stream$(html$.MouseEvent), + [S.$onDrag]: async.Stream$(html$.MouseEvent), + onDragEnd: async.Stream$(html$.MouseEvent), + [S.$onDragEnd]: async.Stream$(html$.MouseEvent), + onDragEnter: async.Stream$(html$.MouseEvent), + [S.$onDragEnter]: async.Stream$(html$.MouseEvent), + onDragLeave: async.Stream$(html$.MouseEvent), + [S.$onDragLeave]: async.Stream$(html$.MouseEvent), + onDragOver: async.Stream$(html$.MouseEvent), + [S.$onDragOver]: async.Stream$(html$.MouseEvent), + onDragStart: async.Stream$(html$.MouseEvent), + [S.$onDragStart]: async.Stream$(html$.MouseEvent), + onDrop: async.Stream$(html$.MouseEvent), + [S.$onDrop]: async.Stream$(html$.MouseEvent), + onDurationChange: async.Stream$(html$.Event), + [S.$onDurationChange]: async.Stream$(html$.Event), + onEmptied: async.Stream$(html$.Event), + [S.$onEmptied]: async.Stream$(html$.Event), + onEnded: async.Stream$(html$.Event), + [S.$onEnded]: async.Stream$(html$.Event), + onError: async.Stream$(html$.Event), + [S.$onError]: async.Stream$(html$.Event), + onFocus: async.Stream$(html$.Event), + [S.$onFocus]: async.Stream$(html$.Event), + onInput: async.Stream$(html$.Event), + [S.$onInput]: async.Stream$(html$.Event), + onInvalid: async.Stream$(html$.Event), + [S.$onInvalid]: async.Stream$(html$.Event), + onKeyDown: async.Stream$(html$.KeyboardEvent), + [S.$onKeyDown]: async.Stream$(html$.KeyboardEvent), + onKeyPress: async.Stream$(html$.KeyboardEvent), + [S.$onKeyPress]: async.Stream$(html$.KeyboardEvent), + onKeyUp: async.Stream$(html$.KeyboardEvent), + [S.$onKeyUp]: async.Stream$(html$.KeyboardEvent), + onLoad: async.Stream$(html$.Event), + [S.$onLoad]: async.Stream$(html$.Event), + onLoadedData: async.Stream$(html$.Event), + [S.$onLoadedData]: async.Stream$(html$.Event), + onLoadedMetadata: async.Stream$(html$.Event), + [S.$onLoadedMetadata]: async.Stream$(html$.Event), + onMouseDown: async.Stream$(html$.MouseEvent), + [S.$onMouseDown]: async.Stream$(html$.MouseEvent), + onMouseEnter: async.Stream$(html$.MouseEvent), + [S.$onMouseEnter]: async.Stream$(html$.MouseEvent), + onMouseLeave: async.Stream$(html$.MouseEvent), + [S.$onMouseLeave]: async.Stream$(html$.MouseEvent), + onMouseMove: async.Stream$(html$.MouseEvent), + [S.$onMouseMove]: async.Stream$(html$.MouseEvent), + onMouseOut: async.Stream$(html$.MouseEvent), + [S.$onMouseOut]: async.Stream$(html$.MouseEvent), + onMouseOver: async.Stream$(html$.MouseEvent), + [S.$onMouseOver]: async.Stream$(html$.MouseEvent), + onMouseUp: async.Stream$(html$.MouseEvent), + [S.$onMouseUp]: async.Stream$(html$.MouseEvent), + onMouseWheel: async.Stream$(html$.WheelEvent), + [S.$onMouseWheel]: async.Stream$(html$.WheelEvent), + onPause: async.Stream$(html$.Event), + [S.$onPause]: async.Stream$(html$.Event), + onPlay: async.Stream$(html$.Event), + [S.$onPlay]: async.Stream$(html$.Event), + onPlaying: async.Stream$(html$.Event), + [S.$onPlaying]: async.Stream$(html$.Event), + onRateChange: async.Stream$(html$.Event), + [S.$onRateChange]: async.Stream$(html$.Event), + onReset: async.Stream$(html$.Event), + [S.$onReset]: async.Stream$(html$.Event), + onResize: async.Stream$(html$.Event), + [S.$onResize]: async.Stream$(html$.Event), + onScroll: async.Stream$(html$.Event), + [S.$onScroll]: async.Stream$(html$.Event), + onSeeked: async.Stream$(html$.Event), + [S.$onSeeked]: async.Stream$(html$.Event), + onSeeking: async.Stream$(html$.Event), + [S.$onSeeking]: async.Stream$(html$.Event), + onSelect: async.Stream$(html$.Event), + [S.$onSelect]: async.Stream$(html$.Event), + onStalled: async.Stream$(html$.Event), + [S.$onStalled]: async.Stream$(html$.Event), + onSubmit: async.Stream$(html$.Event), + [S.$onSubmit]: async.Stream$(html$.Event), + onSuspend: async.Stream$(html$.Event), + [S$.$onSuspend]: async.Stream$(html$.Event), + onTimeUpdate: async.Stream$(html$.Event), + [S$.$onTimeUpdate]: async.Stream$(html$.Event), + onTouchCancel: async.Stream$(html$.TouchEvent), + [S$.$onTouchCancel]: async.Stream$(html$.TouchEvent), + onTouchEnd: async.Stream$(html$.TouchEvent), + [S$.$onTouchEnd]: async.Stream$(html$.TouchEvent), + onTouchMove: async.Stream$(html$.TouchEvent), + [S$.$onTouchMove]: async.Stream$(html$.TouchEvent), + onTouchStart: async.Stream$(html$.TouchEvent), + [S$.$onTouchStart]: async.Stream$(html$.TouchEvent), + onVolumeChange: async.Stream$(html$.Event), + [S$.$onVolumeChange]: async.Stream$(html$.Event), + onWaiting: async.Stream$(html$.Event), + [S$.$onWaiting]: async.Stream$(html$.Event), + onWheel: async.Stream$(html$.WheelEvent), + [S$.$onWheel]: async.Stream$(html$.WheelEvent) +})); +dart.setLibraryUri(html$.GlobalEventHandlers, I[148]); +dart.defineExtensionAccessors(html$.GlobalEventHandlers, [ + 'onAbort', + 'onBlur', + 'onCanPlay', + 'onCanPlayThrough', + 'onChange', + 'onClick', + 'onContextMenu', + 'onDoubleClick', + 'onDrag', + 'onDragEnd', + 'onDragEnter', + 'onDragLeave', + 'onDragOver', + 'onDragStart', + 'onDrop', + 'onDurationChange', + 'onEmptied', + 'onEnded', + 'onError', + 'onFocus', + 'onInput', + 'onInvalid', + 'onKeyDown', + 'onKeyPress', + 'onKeyUp', + 'onLoad', + 'onLoadedData', + 'onLoadedMetadata', + 'onMouseDown', + 'onMouseEnter', + 'onMouseLeave', + 'onMouseMove', + 'onMouseOut', + 'onMouseOver', + 'onMouseUp', + 'onMouseWheel', + 'onPause', + 'onPlay', + 'onPlaying', + 'onRateChange', + 'onReset', + 'onResize', + 'onScroll', + 'onSeeked', + 'onSeeking', + 'onSelect', + 'onStalled', + 'onSubmit', + 'onSuspend', + 'onTimeUpdate', + 'onTouchCancel', + 'onTouchEnd', + 'onTouchMove', + 'onTouchStart', + 'onVolumeChange', + 'onWaiting', + 'onWheel' +]); +dart.defineLazy(html$.GlobalEventHandlers, { + /*html$.GlobalEventHandlers.abortEvent*/get abortEvent() { + return C[214] || CT.C214; + }, + /*html$.GlobalEventHandlers.blurEvent*/get blurEvent() { + return C[233] || CT.C233; + }, + /*html$.GlobalEventHandlers.canPlayEvent*/get canPlayEvent() { + return C[234] || CT.C234; + }, + /*html$.GlobalEventHandlers.canPlayThroughEvent*/get canPlayThroughEvent() { + return C[235] || CT.C235; + }, + /*html$.GlobalEventHandlers.changeEvent*/get changeEvent() { + return C[236] || CT.C236; + }, + /*html$.GlobalEventHandlers.clickEvent*/get clickEvent() { + return C[237] || CT.C237; + }, + /*html$.GlobalEventHandlers.contextMenuEvent*/get contextMenuEvent() { + return C[238] || CT.C238; + }, + /*html$.GlobalEventHandlers.doubleClickEvent*/get doubleClickEvent() { + return C[241] || CT.C241; + }, + /*html$.GlobalEventHandlers.dragEvent*/get dragEvent() { + return C[242] || CT.C242; + }, + /*html$.GlobalEventHandlers.dragEndEvent*/get dragEndEvent() { + return C[243] || CT.C243; + }, + /*html$.GlobalEventHandlers.dragEnterEvent*/get dragEnterEvent() { + return C[244] || CT.C244; + }, + /*html$.GlobalEventHandlers.dragLeaveEvent*/get dragLeaveEvent() { + return C[245] || CT.C245; + }, + /*html$.GlobalEventHandlers.dragOverEvent*/get dragOverEvent() { + return C[246] || CT.C246; + }, + /*html$.GlobalEventHandlers.dragStartEvent*/get dragStartEvent() { + return C[247] || CT.C247; + }, + /*html$.GlobalEventHandlers.dropEvent*/get dropEvent() { + return C[248] || CT.C248; + }, + /*html$.GlobalEventHandlers.durationChangeEvent*/get durationChangeEvent() { + return C[249] || CT.C249; + }, + /*html$.GlobalEventHandlers.emptiedEvent*/get emptiedEvent() { + return C[250] || CT.C250; + }, + /*html$.GlobalEventHandlers.endedEvent*/get endedEvent() { + return C[251] || CT.C251; + }, + /*html$.GlobalEventHandlers.errorEvent*/get errorEvent() { + return C[216] || CT.C216; + }, + /*html$.GlobalEventHandlers.focusEvent*/get focusEvent() { + return C[252] || CT.C252; + }, + /*html$.GlobalEventHandlers.inputEvent*/get inputEvent() { + return C[253] || CT.C253; + }, + /*html$.GlobalEventHandlers.invalidEvent*/get invalidEvent() { + return C[254] || CT.C254; + }, + /*html$.GlobalEventHandlers.keyDownEvent*/get keyDownEvent() { + return C[255] || CT.C255; + }, + /*html$.GlobalEventHandlers.keyPressEvent*/get keyPressEvent() { + return C[256] || CT.C256; + }, + /*html$.GlobalEventHandlers.keyUpEvent*/get keyUpEvent() { + return C[257] || CT.C257; + }, + /*html$.GlobalEventHandlers.loadEvent*/get loadEvent() { + return C[258] || CT.C258; + }, + /*html$.GlobalEventHandlers.loadedDataEvent*/get loadedDataEvent() { + return C[259] || CT.C259; + }, + /*html$.GlobalEventHandlers.loadedMetadataEvent*/get loadedMetadataEvent() { + return C[260] || CT.C260; + }, + /*html$.GlobalEventHandlers.mouseDownEvent*/get mouseDownEvent() { + return C[261] || CT.C261; + }, + /*html$.GlobalEventHandlers.mouseEnterEvent*/get mouseEnterEvent() { + return C[262] || CT.C262; + }, + /*html$.GlobalEventHandlers.mouseLeaveEvent*/get mouseLeaveEvent() { + return C[263] || CT.C263; + }, + /*html$.GlobalEventHandlers.mouseMoveEvent*/get mouseMoveEvent() { + return C[264] || CT.C264; + }, + /*html$.GlobalEventHandlers.mouseOutEvent*/get mouseOutEvent() { + return C[265] || CT.C265; + }, + /*html$.GlobalEventHandlers.mouseOverEvent*/get mouseOverEvent() { + return C[266] || CT.C266; + }, + /*html$.GlobalEventHandlers.mouseUpEvent*/get mouseUpEvent() { + return C[267] || CT.C267; + }, + /*html$.GlobalEventHandlers.mouseWheelEvent*/get mouseWheelEvent() { + return C[342] || CT.C342; + }, + /*html$.GlobalEventHandlers.pauseEvent*/get pauseEvent() { + return C[269] || CT.C269; + }, + /*html$.GlobalEventHandlers.playEvent*/get playEvent() { + return C[270] || CT.C270; + }, + /*html$.GlobalEventHandlers.playingEvent*/get playingEvent() { + return C[271] || CT.C271; + }, + /*html$.GlobalEventHandlers.rateChangeEvent*/get rateChangeEvent() { + return C[272] || CT.C272; + }, + /*html$.GlobalEventHandlers.resetEvent*/get resetEvent() { + return C[273] || CT.C273; + }, + /*html$.GlobalEventHandlers.resizeEvent*/get resizeEvent() { + return C[274] || CT.C274; + }, + /*html$.GlobalEventHandlers.scrollEvent*/get scrollEvent() { + return C[275] || CT.C275; + }, + /*html$.GlobalEventHandlers.seekedEvent*/get seekedEvent() { + return C[277] || CT.C277; + }, + /*html$.GlobalEventHandlers.seekingEvent*/get seekingEvent() { + return C[278] || CT.C278; + }, + /*html$.GlobalEventHandlers.selectEvent*/get selectEvent() { + return C[279] || CT.C279; + }, + /*html$.GlobalEventHandlers.stalledEvent*/get stalledEvent() { + return C[281] || CT.C281; + }, + /*html$.GlobalEventHandlers.submitEvent*/get submitEvent() { + return C[282] || CT.C282; + }, + /*html$.GlobalEventHandlers.suspendEvent*/get suspendEvent() { + return C[283] || CT.C283; + }, + /*html$.GlobalEventHandlers.timeUpdateEvent*/get timeUpdateEvent() { + return C[284] || CT.C284; + }, + /*html$.GlobalEventHandlers.touchCancelEvent*/get touchCancelEvent() { + return C[285] || CT.C285; + }, + /*html$.GlobalEventHandlers.touchEndEvent*/get touchEndEvent() { + return C[286] || CT.C286; + }, + /*html$.GlobalEventHandlers.touchMoveEvent*/get touchMoveEvent() { + return C[289] || CT.C289; + }, + /*html$.GlobalEventHandlers.touchStartEvent*/get touchStartEvent() { + return C[290] || CT.C290; + }, + /*html$.GlobalEventHandlers.volumeChangeEvent*/get volumeChangeEvent() { + return C[291] || CT.C291; + }, + /*html$.GlobalEventHandlers.waitingEvent*/get waitingEvent() { + return C[292] || CT.C292; + }, + /*html$.GlobalEventHandlers.wheelEvent*/get wheelEvent() { + return C[295] || CT.C295; + } +}, false); +html$.Gyroscope = class Gyroscope$ extends html$.Sensor { + static new(sensorOptions = null) { + if (sensorOptions != null) { + let sensorOptions_1 = html_common.convertDartToNative_Dictionary(sensorOptions); + return html$.Gyroscope._create_1(sensorOptions_1); + } + return html$.Gyroscope._create_2(); + } + static _create_1(sensorOptions) { + return new Gyroscope(sensorOptions); + } + static _create_2() { + return new Gyroscope(); + } + get [S$.$x]() { + return this.x; + } + get [S$.$y]() { + return this.y; + } + get [S$.$z]() { + return this.z; + } +}; +dart.addTypeTests(html$.Gyroscope); +dart.addTypeCaches(html$.Gyroscope); +dart.setGetterSignature(html$.Gyroscope, () => ({ + __proto__: dart.getGetters(html$.Gyroscope.__proto__), + [S$.$x]: dart.nullable(core.num), + [S$.$y]: dart.nullable(core.num), + [S$.$z]: dart.nullable(core.num) +})); +dart.setLibraryUri(html$.Gyroscope, I[148]); +dart.registerExtension("Gyroscope", html$.Gyroscope); +html$.HRElement = class HRElement extends html$.HtmlElement { + static new() { + return html$.document.createElement("hr"); + } + get [S$0.$color]() { + return this.color; + } + set [S$0.$color](value) { + this.color = value; + } +}; +(html$.HRElement.created = function() { + html$.HRElement.__proto__.created.call(this); + ; +}).prototype = html$.HRElement.prototype; +dart.addTypeTests(html$.HRElement); +dart.addTypeCaches(html$.HRElement); +dart.setGetterSignature(html$.HRElement, () => ({ + __proto__: dart.getGetters(html$.HRElement.__proto__), + [S$0.$color]: core.String +})); +dart.setSetterSignature(html$.HRElement, () => ({ + __proto__: dart.getSetters(html$.HRElement.__proto__), + [S$0.$color]: core.String +})); +dart.setLibraryUri(html$.HRElement, I[148]); +dart.registerExtension("HTMLHRElement", html$.HRElement); +html$.HashChangeEvent = class HashChangeEvent$ extends html$.Event { + static new(type, opts) { + if (type == null) dart.nullFailed(I[147], 17412, 34, "type"); + let canBubble = opts && 'canBubble' in opts ? opts.canBubble : true; + if (canBubble == null) dart.nullFailed(I[147], 17413, 13, "canBubble"); + let cancelable = opts && 'cancelable' in opts ? opts.cancelable : true; + if (cancelable == null) dart.nullFailed(I[147], 17414, 12, "cancelable"); + let oldUrl = opts && 'oldUrl' in opts ? opts.oldUrl : null; + let newUrl = opts && 'newUrl' in opts ? opts.newUrl : null; + let options = new (T$.IdentityMapOfString$ObjectN()).from(["canBubble", canBubble, "cancelable", cancelable, "oldURL", oldUrl, "newURL", newUrl]); + return new HashChangeEvent(type, html_common.convertDartToNative_Dictionary(options)); + } + static __(type, eventInitDict = null) { + if (type == null) dart.nullFailed(I[147], 17427, 36, "type"); + if (eventInitDict != null) { + let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); + return html$.HashChangeEvent._create_1(type, eventInitDict_1); + } + return html$.HashChangeEvent._create_2(type); + } + static _create_1(type, eventInitDict) { + return new HashChangeEvent(type, eventInitDict); + } + static _create_2(type) { + return new HashChangeEvent(type); + } + static get supported() { + return html_common.Device.isEventTypeSupported("HashChangeEvent"); + } + get [S$1.$newUrl]() { + return this.newURL; + } + get [S$1.$oldUrl]() { + return this.oldURL; + } +}; +dart.addTypeTests(html$.HashChangeEvent); +dart.addTypeCaches(html$.HashChangeEvent); +dart.setGetterSignature(html$.HashChangeEvent, () => ({ + __proto__: dart.getGetters(html$.HashChangeEvent.__proto__), + [S$1.$newUrl]: dart.nullable(core.String), + [S$1.$oldUrl]: dart.nullable(core.String) +})); +dart.setLibraryUri(html$.HashChangeEvent, I[148]); +dart.registerExtension("HashChangeEvent", html$.HashChangeEvent); +html$.HeadElement = class HeadElement extends html$.HtmlElement { + static new() { + return html$.document.createElement("head"); + } +}; +(html$.HeadElement.created = function() { + html$.HeadElement.__proto__.created.call(this); + ; +}).prototype = html$.HeadElement.prototype; +dart.addTypeTests(html$.HeadElement); +dart.addTypeCaches(html$.HeadElement); +dart.setLibraryUri(html$.HeadElement, I[148]); +dart.registerExtension("HTMLHeadElement", html$.HeadElement); +html$.Headers = class Headers$ extends _interceptors.Interceptor { + static new(init = null) { + if (init != null) { + return html$.Headers._create_1(init); + } + return html$.Headers._create_2(); + } + static _create_1(init) { + return new Headers(init); + } + static _create_2() { + return new Headers(); + } +}; +dart.addTypeTests(html$.Headers); +dart.addTypeCaches(html$.Headers); +dart.setLibraryUri(html$.Headers, I[148]); +dart.registerExtension("Headers", html$.Headers); +html$.HeadingElement = class HeadingElement extends html$.HtmlElement { + static h1() { + return html$.document.createElement("h1"); + } + static h2() { + return html$.document.createElement("h2"); + } + static h3() { + return html$.document.createElement("h3"); + } + static h4() { + return html$.document.createElement("h4"); + } + static h5() { + return html$.document.createElement("h5"); + } + static h6() { + return html$.document.createElement("h6"); + } +}; +(html$.HeadingElement.created = function() { + html$.HeadingElement.__proto__.created.call(this); + ; +}).prototype = html$.HeadingElement.prototype; +dart.addTypeTests(html$.HeadingElement); +dart.addTypeCaches(html$.HeadingElement); +dart.setLibraryUri(html$.HeadingElement, I[148]); +dart.registerExtension("HTMLHeadingElement", html$.HeadingElement); +html$.History = class History extends _interceptors.Interceptor { + static get supportsState() { + return !!window.history.pushState; + } + get [$length]() { + return this.length; + } + get [S$1.$scrollRestoration]() { + return this.scrollRestoration; + } + set [S$1.$scrollRestoration](value) { + this.scrollRestoration = value; + } + get [S$.$state]() { + return html_common.convertNativeToDart_SerializedScriptValue(this[S$1._get_state]); + } + get [S$1._get_state]() { + return this.state; + } + [S$1.$back](...args) { + return this.back.apply(this, args); + } + [S$1.$forward](...args) { + return this.forward.apply(this, args); + } + [S$1.$go](...args) { + return this.go.apply(this, args); + } + [S$1.$pushState](data, title, url) { + if (title == null) dart.nullFailed(I[147], 17588, 57, "title"); + let data_1 = html_common.convertDartToNative_SerializedScriptValue(data); + this[S$1._pushState_1](data_1, title, url); + return; + } + [S$1._pushState_1](...args) { + return this.pushState.apply(this, args); + } + [S$1.$replaceState](data, title, url) { + if (title == null) dart.nullFailed(I[147], 17605, 60, "title"); + let data_1 = html_common.convertDartToNative_SerializedScriptValue(data); + this[S$1._replaceState_1](data_1, title, url); + return; + } + [S$1._replaceState_1](...args) { + return this.replaceState.apply(this, args); + } +}; +dart.addTypeTests(html$.History); +dart.addTypeCaches(html$.History); +html$.History[dart.implements] = () => [html$.HistoryBase]; +dart.setMethodSignature(html$.History, () => ({ + __proto__: dart.getMethods(html$.History.__proto__), + [S$1.$back]: dart.fnType(dart.void, []), + [S$1.$forward]: dart.fnType(dart.void, []), + [S$1.$go]: dart.fnType(dart.void, [], [dart.nullable(core.int)]), + [S$1.$pushState]: dart.fnType(dart.void, [dart.dynamic, core.String, dart.nullable(core.String)]), + [S$1._pushState_1]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic]), + [S$1.$replaceState]: dart.fnType(dart.void, [dart.dynamic, core.String, dart.nullable(core.String)]), + [S$1._replaceState_1]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic]) +})); +dart.setGetterSignature(html$.History, () => ({ + __proto__: dart.getGetters(html$.History.__proto__), + [$length]: core.int, + [S$1.$scrollRestoration]: dart.nullable(core.String), + [S$.$state]: dart.dynamic, + [S$1._get_state]: dart.dynamic +})); +dart.setSetterSignature(html$.History, () => ({ + __proto__: dart.getSetters(html$.History.__proto__), + [S$1.$scrollRestoration]: dart.nullable(core.String) +})); +dart.setLibraryUri(html$.History, I[148]); +dart.registerExtension("History", html$.History); +const Interceptor_ListMixin$36$1 = class Interceptor_ListMixin extends _interceptors.Interceptor {}; +(Interceptor_ListMixin$36$1.new = function() { + Interceptor_ListMixin$36$1.__proto__.new.call(this); +}).prototype = Interceptor_ListMixin$36$1.prototype; +dart.applyMixin(Interceptor_ListMixin$36$1, collection.ListMixin$(html$.Node)); +const Interceptor_ImmutableListMixin$36$1 = class Interceptor_ImmutableListMixin extends Interceptor_ListMixin$36$1 {}; +(Interceptor_ImmutableListMixin$36$1.new = function() { + Interceptor_ImmutableListMixin$36$1.__proto__.new.call(this); +}).prototype = Interceptor_ImmutableListMixin$36$1.prototype; +dart.applyMixin(Interceptor_ImmutableListMixin$36$1, html$.ImmutableListMixin$(html$.Node)); +html$.HtmlCollection = class HtmlCollection extends Interceptor_ImmutableListMixin$36$1 { + get [$length]() { + return this.length; + } + [$_get](index) { + if (index == null) dart.nullFailed(I[147], 17633, 24, "index"); + if (index >>> 0 !== index || index >= this[$length]) dart.throw(new core.IndexError.new(index, this)); + return this[index]; + } + [$_set](index, value$) { + let value = value$; + if (index == null) dart.nullFailed(I[147], 17639, 25, "index"); + html$.Node.as(value); + if (value == null) dart.nullFailed(I[147], 17639, 37, "value"); + dart.throw(new core.UnsupportedError.new("Cannot assign element of immutable List.")); + return value$; + } + set [$length](value) { + if (value == null) dart.nullFailed(I[147], 17645, 18, "value"); + dart.throw(new core.UnsupportedError.new("Cannot resize immutable List.")); + } + get [$first]() { + if (dart.notNull(this[$length]) > 0) { + return this[0]; + } + dart.throw(new core.StateError.new("No elements")); + } + set [$first](value) { + super[$first] = value; + } + get [$last]() { + let len = this[$length]; + if (dart.notNull(len) > 0) { + return this[dart.notNull(len) - 1]; + } + dart.throw(new core.StateError.new("No elements")); + } + set [$last](value) { + super[$last] = value; + } + get [$single]() { + let len = this[$length]; + if (len === 1) { + return this[0]; + } + if (len === 0) dart.throw(new core.StateError.new("No elements")); + dart.throw(new core.StateError.new("More than one element")); + } + [$elementAt](index) { + if (index == null) dart.nullFailed(I[147], 17673, 22, "index"); + return this[$_get](index); + } + [S$.$item](...args) { + return this.item.apply(this, args); + } + [S$1.$namedItem](...args) { + return this.namedItem.apply(this, args); + } +}; +html$.HtmlCollection.prototype[dart.isList] = true; +dart.addTypeTests(html$.HtmlCollection); +dart.addTypeCaches(html$.HtmlCollection); +html$.HtmlCollection[dart.implements] = () => [_js_helper.JavaScriptIndexingBehavior$(html$.Node), core.List$(html$.Node)]; +dart.setMethodSignature(html$.HtmlCollection, () => ({ + __proto__: dart.getMethods(html$.HtmlCollection.__proto__), + [$_get]: dart.fnType(html$.Node, [core.int]), + [$_set]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), + [S$.$item]: dart.fnType(dart.nullable(html$.Node), [dart.nullable(core.int)]), + [S$1.$namedItem]: dart.fnType(dart.nullable(core.Object), [core.String]) +})); +dart.setGetterSignature(html$.HtmlCollection, () => ({ + __proto__: dart.getGetters(html$.HtmlCollection.__proto__), + [$length]: core.int +})); +dart.setSetterSignature(html$.HtmlCollection, () => ({ + __proto__: dart.getSetters(html$.HtmlCollection.__proto__), + [$length]: core.int +})); +dart.setLibraryUri(html$.HtmlCollection, I[148]); +dart.registerExtension("HTMLCollection", html$.HtmlCollection); +html$.HtmlDocument = class HtmlDocument extends html$.Document { + get [S$1.$body]() { + return this.body; + } + set [S$1.$body](value) { + this.body = value; + } + [S$1.$caretRangeFromPoint](x, y) { + return this[S$1._caretRangeFromPoint](x, y); + } + [S$1.$elementFromPoint](x, y) { + if (x == null) dart.nullFailed(I[147], 17702, 33, "x"); + if (y == null) dart.nullFailed(I[147], 17702, 40, "y"); + return this[S$1._elementFromPoint](x, y); + } + get [S.$head]() { + return this[S$0._head$1]; + } + get [S$1.$lastModified]() { + return this[S$0._lastModified]; + } + get [S$1.$preferredStylesheetSet]() { + return this[S$0._preferredStylesheetSet]; + } + get [S$1.$referrer]() { + return this[S$1._referrer]; + } + get [S$1.$selectedStylesheetSet]() { + return this[S$1._selectedStylesheetSet]; + } + set [S$1.$selectedStylesheetSet](value) { + this[S$1._selectedStylesheetSet] = value; + } + get [S$1.$styleSheets]() { + return this[S$1._styleSheets]; + } + get [S.$title]() { + return this[S$1._title]; + } + set [S.$title](value) { + if (value == null) dart.nullFailed(I[147], 17723, 20, "value"); + this[S$1._title] = value; + } + [S$1.$exitFullscreen]() { + this[S$1._webkitExitFullscreen](); + } + [S$1.$registerElement2](tag, options = null) { + if (tag == null) dart.nullFailed(I[147], 17786, 36, "tag"); + return html$._registerCustomElement(window, this, tag, options); + } + [S$1.$register](tag, customElementClass, opts) { + if (tag == null) dart.nullFailed(I[147], 17792, 24, "tag"); + if (customElementClass == null) dart.nullFailed(I[147], 17792, 34, "customElementClass"); + let extendsTag = opts && 'extendsTag' in opts ? opts.extendsTag : null; + return this[S$1.$registerElement](tag, customElementClass, {extendsTag: extendsTag}); + } + static _determineVisibilityChangeEventType(e) { + if (e == null) dart.nullFailed(I[147], 17809, 65, "e"); + if (typeof e.hidden !== "undefined") { + return "visibilitychange"; + } else if (typeof e.mozHidden !== "undefined") { + return "mozvisibilitychange"; + } else if (typeof e.msHidden !== "undefined") { + return "msvisibilitychange"; + } else if (typeof e.webkitHidden !== "undefined") { + return "webkitvisibilitychange"; + } + return "visibilitychange"; + } + get [S$1.$onVisibilityChange]() { + return html$.HtmlDocument.visibilityChangeEvent.forTarget(this); + } + [S$1.$createElementUpgrader](type, opts) { + if (type == null) dart.nullFailed(I[147], 17836, 46, "type"); + let extendsTag = opts && 'extendsTag' in opts ? opts.extendsTag : null; + return new html$._JSElementUpgrader.new(this, type, extendsTag); + } +}; +dart.addTypeTests(html$.HtmlDocument); +dart.addTypeCaches(html$.HtmlDocument); +dart.setMethodSignature(html$.HtmlDocument, () => ({ + __proto__: dart.getMethods(html$.HtmlDocument.__proto__), + [S$1.$caretRangeFromPoint]: dart.fnType(html$.Range, [dart.nullable(core.int), dart.nullable(core.int)]), + [S$1.$elementFromPoint]: dart.fnType(dart.nullable(html$.Element), [core.int, core.int]), + [S$1.$register]: dart.fnType(dart.void, [core.String, core.Type], {extendsTag: dart.nullable(core.String)}, {}), + [S$1.$createElementUpgrader]: dart.fnType(html$.ElementUpgrader, [core.Type], {extendsTag: dart.nullable(core.String)}, {}) +})); +dart.setGetterSignature(html$.HtmlDocument, () => ({ + __proto__: dart.getGetters(html$.HtmlDocument.__proto__), + [S$1.$body]: dart.nullable(html$.BodyElement), + [S.$head]: dart.nullable(html$.HeadElement), + [S$1.$lastModified]: dart.nullable(core.String), + [S$1.$preferredStylesheetSet]: dart.nullable(core.String), + [S$1.$referrer]: core.String, + [S$1.$selectedStylesheetSet]: dart.nullable(core.String), + [S$1.$styleSheets]: dart.nullable(core.List$(html$.StyleSheet)), + [S.$title]: core.String, + [S$1.$onVisibilityChange]: async.Stream$(html$.Event) +})); +dart.setSetterSignature(html$.HtmlDocument, () => ({ + __proto__: dart.getSetters(html$.HtmlDocument.__proto__), + [S$1.$body]: dart.nullable(html$.BodyElement), + [S$1.$selectedStylesheetSet]: dart.nullable(core.String), + [S.$title]: core.String +})); +dart.setLibraryUri(html$.HtmlDocument, I[148]); +dart.defineLazy(html$.HtmlDocument, { + /*html$.HtmlDocument.visibilityChangeEvent*/get visibilityChangeEvent() { + return C[343] || CT.C343; + } +}, false); +dart.registerExtension("HTMLDocument", html$.HtmlDocument); +html$.HtmlFormControlsCollection = class HtmlFormControlsCollection extends html$.HtmlCollection { + [S$1.$namedItem](...args) { + return this.namedItem.apply(this, args); + } +}; +dart.addTypeTests(html$.HtmlFormControlsCollection); +dart.addTypeCaches(html$.HtmlFormControlsCollection); +dart.setLibraryUri(html$.HtmlFormControlsCollection, I[148]); +dart.registerExtension("HTMLFormControlsCollection", html$.HtmlFormControlsCollection); +html$.HtmlHtmlElement = class HtmlHtmlElement extends html$.HtmlElement { + static new() { + return html$.document.createElement("html"); + } +}; +(html$.HtmlHtmlElement.created = function() { + html$.HtmlHtmlElement.__proto__.created.call(this); + ; +}).prototype = html$.HtmlHtmlElement.prototype; +dart.addTypeTests(html$.HtmlHtmlElement); +dart.addTypeCaches(html$.HtmlHtmlElement); +dart.setLibraryUri(html$.HtmlHtmlElement, I[148]); +dart.registerExtension("HTMLHtmlElement", html$.HtmlHtmlElement); +html$.HtmlHyperlinkElementUtils = class HtmlHyperlinkElementUtils extends _interceptors.Interceptor { + get [S$.$hash]() { + return this.hash; + } + set [S$.$hash](value) { + this.hash = value; + } + get [S$.$host]() { + return this.host; + } + set [S$.$host](value) { + this.host = value; + } + get [S$.$hostname]() { + return this.hostname; + } + set [S$.$hostname](value) { + this.hostname = value; + } + get [S$.$href]() { + return this.href; + } + set [S$.$href](value) { + this.href = value; + } + get [S$.$origin]() { + return this.origin; + } + get [S$.$password]() { + return this.password; + } + set [S$.$password](value) { + this.password = value; + } + get [S$.$pathname]() { + return this.pathname; + } + set [S$.$pathname](value) { + this.pathname = value; + } + get [S$.$port]() { + return this.port; + } + set [S$.$port](value) { + this.port = value; + } + get [S$.$protocol]() { + return this.protocol; + } + set [S$.$protocol](value) { + this.protocol = value; + } + get [S$.$search]() { + return this.search; + } + set [S$.$search](value) { + this.search = value; + } + get [S$.$username]() { + return this.username; + } + set [S$.$username](value) { + this.username = value; + } +}; +dart.addTypeTests(html$.HtmlHyperlinkElementUtils); +dart.addTypeCaches(html$.HtmlHyperlinkElementUtils); +dart.setGetterSignature(html$.HtmlHyperlinkElementUtils, () => ({ + __proto__: dart.getGetters(html$.HtmlHyperlinkElementUtils.__proto__), + [S$.$hash]: dart.nullable(core.String), + [S$.$host]: dart.nullable(core.String), + [S$.$hostname]: dart.nullable(core.String), + [S$.$href]: dart.nullable(core.String), + [S$.$origin]: dart.nullable(core.String), + [S$.$password]: dart.nullable(core.String), + [S$.$pathname]: dart.nullable(core.String), + [S$.$port]: dart.nullable(core.String), + [S$.$protocol]: dart.nullable(core.String), + [S$.$search]: dart.nullable(core.String), + [S$.$username]: dart.nullable(core.String) +})); +dart.setSetterSignature(html$.HtmlHyperlinkElementUtils, () => ({ + __proto__: dart.getSetters(html$.HtmlHyperlinkElementUtils.__proto__), + [S$.$hash]: dart.nullable(core.String), + [S$.$host]: dart.nullable(core.String), + [S$.$hostname]: dart.nullable(core.String), + [S$.$href]: dart.nullable(core.String), + [S$.$password]: dart.nullable(core.String), + [S$.$pathname]: dart.nullable(core.String), + [S$.$port]: dart.nullable(core.String), + [S$.$protocol]: dart.nullable(core.String), + [S$.$search]: dart.nullable(core.String), + [S$.$username]: dart.nullable(core.String) +})); +dart.setLibraryUri(html$.HtmlHyperlinkElementUtils, I[148]); +dart.registerExtension("HTMLHyperlinkElementUtils", html$.HtmlHyperlinkElementUtils); +html$.HtmlOptionsCollection = class HtmlOptionsCollection extends html$.HtmlCollection { + [S$1._item](...args) { + return this.item.apply(this, args); + } +}; +dart.addTypeTests(html$.HtmlOptionsCollection); +dart.addTypeCaches(html$.HtmlOptionsCollection); +dart.setMethodSignature(html$.HtmlOptionsCollection, () => ({ + __proto__: dart.getMethods(html$.HtmlOptionsCollection.__proto__), + [S$1._item]: dart.fnType(dart.nullable(html$.Element), [core.int]) +})); +dart.setLibraryUri(html$.HtmlOptionsCollection, I[148]); +dart.registerExtension("HTMLOptionsCollection", html$.HtmlOptionsCollection); +html$.HttpRequestEventTarget = class HttpRequestEventTarget extends html$.EventTarget { + get [S.$onAbort]() { + return html$.HttpRequestEventTarget.abortEvent.forTarget(this); + } + get [S.$onError]() { + return html$.HttpRequestEventTarget.errorEvent.forTarget(this); + } + get [S.$onLoad]() { + return html$.HttpRequestEventTarget.loadEvent.forTarget(this); + } + get [S$1.$onLoadEnd]() { + return html$.HttpRequestEventTarget.loadEndEvent.forTarget(this); + } + get [S$1.$onLoadStart]() { + return html$.HttpRequestEventTarget.loadStartEvent.forTarget(this); + } + get [S$.$onProgress]() { + return html$.HttpRequestEventTarget.progressEvent.forTarget(this); + } + get [S$1.$onTimeout]() { + return html$.HttpRequestEventTarget.timeoutEvent.forTarget(this); + } +}; +dart.addTypeTests(html$.HttpRequestEventTarget); +dart.addTypeCaches(html$.HttpRequestEventTarget); +dart.setGetterSignature(html$.HttpRequestEventTarget, () => ({ + __proto__: dart.getGetters(html$.HttpRequestEventTarget.__proto__), + [S.$onAbort]: async.Stream$(html$.ProgressEvent), + [S.$onError]: async.Stream$(html$.ProgressEvent), + [S.$onLoad]: async.Stream$(html$.ProgressEvent), + [S$1.$onLoadEnd]: async.Stream$(html$.ProgressEvent), + [S$1.$onLoadStart]: async.Stream$(html$.ProgressEvent), + [S$.$onProgress]: async.Stream$(html$.ProgressEvent), + [S$1.$onTimeout]: async.Stream$(html$.ProgressEvent) +})); +dart.setLibraryUri(html$.HttpRequestEventTarget, I[148]); +dart.defineLazy(html$.HttpRequestEventTarget, { + /*html$.HttpRequestEventTarget.abortEvent*/get abortEvent() { + return C[331] || CT.C331; + }, + /*html$.HttpRequestEventTarget.errorEvent*/get errorEvent() { + return C[332] || CT.C332; + }, + /*html$.HttpRequestEventTarget.loadEvent*/get loadEvent() { + return C[333] || CT.C333; + }, + /*html$.HttpRequestEventTarget.loadEndEvent*/get loadEndEvent() { + return C[334] || CT.C334; + }, + /*html$.HttpRequestEventTarget.loadStartEvent*/get loadStartEvent() { + return C[335] || CT.C335; + }, + /*html$.HttpRequestEventTarget.progressEvent*/get progressEvent() { + return C[309] || CT.C309; + }, + /*html$.HttpRequestEventTarget.timeoutEvent*/get timeoutEvent() { + return C[345] || CT.C345; + } +}, false); +dart.registerExtension("XMLHttpRequestEventTarget", html$.HttpRequestEventTarget); +html$.HttpRequest = class HttpRequest extends html$.HttpRequestEventTarget { + static getString(url, opts) { + if (url == null) dart.nullFailed(I[147], 18008, 42, "url"); + let withCredentials = opts && 'withCredentials' in opts ? opts.withCredentials : null; + let onProgress = opts && 'onProgress' in opts ? opts.onProgress : null; + return html$.HttpRequest.request(url, {withCredentials: withCredentials, onProgress: onProgress}).then(core.String, dart.fn(xhr => { + if (xhr == null) dart.nullFailed(I[147], 18012, 28, "xhr"); + return dart.nullCheck(xhr.responseText); + }, T$0.HttpRequestToString())); + } + static postFormData(url, data, opts) { + if (url == null) dart.nullFailed(I[147], 18040, 50, "url"); + if (data == null) dart.nullFailed(I[147], 18040, 75, "data"); + let withCredentials = opts && 'withCredentials' in opts ? opts.withCredentials : null; + let responseType = opts && 'responseType' in opts ? opts.responseType : null; + let requestHeaders = opts && 'requestHeaders' in opts ? opts.requestHeaders : null; + let onProgress = opts && 'onProgress' in opts ? opts.onProgress : null; + let parts = []; + data[$forEach](dart.fn((key, value) => { + if (key == null) dart.nullFailed(I[147], 18046, 19, "key"); + if (value == null) dart.nullFailed(I[147], 18046, 24, "value"); + parts[$add](dart.str(core.Uri.encodeQueryComponent(key)) + "=" + dart.str(core.Uri.encodeQueryComponent(value))); + }, T$0.StringAndStringTovoid())); + let formData = parts[$join]("&"); + if (requestHeaders == null) { + requestHeaders = new (T$.IdentityMapOfString$String()).new(); + } + requestHeaders[$putIfAbsent]("Content-Type", dart.fn(() => "application/x-www-form-urlencoded; charset=UTF-8", T$.VoidToString())); + return html$.HttpRequest.request(url, {method: "POST", withCredentials: withCredentials, responseType: responseType, requestHeaders: requestHeaders, sendData: formData, onProgress: onProgress}); + } + static request(url, opts) { + if (url == null) dart.nullFailed(I[147], 18121, 45, "url"); + let method = opts && 'method' in opts ? opts.method : null; + let withCredentials = opts && 'withCredentials' in opts ? opts.withCredentials : null; + let responseType = opts && 'responseType' in opts ? opts.responseType : null; + let mimeType = opts && 'mimeType' in opts ? opts.mimeType : null; + let requestHeaders = opts && 'requestHeaders' in opts ? opts.requestHeaders : null; + let sendData = opts && 'sendData' in opts ? opts.sendData : null; + let onProgress = opts && 'onProgress' in opts ? opts.onProgress : null; + let completer = T$0.CompleterOfHttpRequest().new(); + let xhr = html$.HttpRequest.new(); + if (method == null) { + method = "GET"; + } + xhr.open(method, url, {async: true}); + if (withCredentials != null) { + xhr.withCredentials = withCredentials; + } + if (responseType != null) { + xhr.responseType = responseType; + } + if (mimeType != null) { + xhr.overrideMimeType(mimeType); + } + if (requestHeaders != null) { + requestHeaders[$forEach](dart.fn((header, value) => { + if (header == null) dart.nullFailed(I[147], 18150, 31, "header"); + if (value == null) dart.nullFailed(I[147], 18150, 39, "value"); + xhr.setRequestHeader(header, value); + }, T$0.StringAndStringTovoid())); + } + if (onProgress != null) { + xhr[S$.$onProgress].listen(onProgress); + } + xhr[S.$onLoad].listen(dart.fn(e => { + if (e == null) dart.nullFailed(I[147], 18159, 24, "e"); + let status = dart.nullCheck(xhr.status); + let accepted = status >= 200 && status < 300; + let fileUri = status === 0; + let notModified = status === 304; + let unknownRedirect = status > 307 && status < 400; + if (accepted || fileUri || notModified || unknownRedirect) { + completer.complete(xhr); + } else { + completer.completeError(e); + } + }, T$0.ProgressEventTovoid())); + xhr[S.$onError].listen(dart.bind(completer, 'completeError')); + if (sendData != null) { + xhr.send(sendData); + } else { + xhr.send(); + } + return completer.future; + } + static get supportsProgressEvent() { + let xhr = html$.HttpRequest.new(); + return "onprogress" in xhr; + } + static get supportsCrossOrigin() { + let xhr = html$.HttpRequest.new(); + return "withCredentials" in xhr; + } + static get supportsLoadEndEvent() { + let xhr = html$.HttpRequest.new(); + return "onloadend" in xhr; + } + static get supportsOverrideMimeType() { + let xhr = html$.HttpRequest.new(); + return "overrideMimeType" in xhr; + } + static requestCrossOrigin(url, opts) { + if (url == null) dart.nullFailed(I[147], 18232, 51, "url"); + let method = opts && 'method' in opts ? opts.method : null; + let sendData = opts && 'sendData' in opts ? opts.sendData : null; + if (dart.test(html$.HttpRequest.supportsCrossOrigin)) { + return html$.HttpRequest.request(url, {method: method, sendData: sendData}).then(core.String, dart.fn(xhr => { + if (xhr == null) dart.nullFailed(I[147], 18235, 69, "xhr"); + return dart.nullCheck(xhr.responseText); + }, T$0.HttpRequestToString())); + } + let completer = T$0.CompleterOfString().new(); + if (method == null) { + method = "GET"; + } + let xhr = new XDomainRequest(); + xhr.open(method, url); + xhr.onload = _js_helper.convertDartClosureToJS(T$.dynamicToNull(), dart.fn(e => { + let response = xhr.responseText; + completer.complete(T$0.FutureOrNOfString().as(response)); + }, T$.dynamicToNull()), 1); + xhr.onerror = _js_helper.convertDartClosureToJS(T$.dynamicToNull(), dart.fn(e => { + completer.completeError(core.Object.as(e)); + }, T$.dynamicToNull()), 1); + xhr.onprogress = {}; + xhr.ontimeout = {}; + xhr.timeout = Number.MAX_VALUE; + if (sendData != null) { + xhr.send(sendData); + } else { + xhr.send(); + } + return completer.future; + } + get [S$1.$responseHeaders]() { + let headers = new (T$.IdentityMapOfString$String()).new(); + let headersString = this.getAllResponseHeaders(); + if (headersString == null) { + return headers; + } + let headersList = headersString[$split]("\r\n"); + for (let header of headersList) { + if (header[$isEmpty]) { + continue; + } + let splitIdx = header[$indexOf](": "); + if (splitIdx === -1) { + continue; + } + let key = header[$substring](0, splitIdx)[$toLowerCase](); + let value = header[$substring](splitIdx + 2); + if (dart.test(headers[$containsKey](key))) { + headers[$_set](key, dart.str(headers[$_get](key)) + ", " + value); + } else { + headers[$_set](key, value); + } + } + return headers; + } + [S.$open](...args) { + return this.open.apply(this, args); + } + static new() { + return html$.HttpRequest._create_1(); + } + static _create_1() { + return new XMLHttpRequest(); + } + get [S.$readyState]() { + return this.readyState; + } + get [S$.$response]() { + return html$._convertNativeToDart_XHR_Response(this[S$1._get_response]); + } + get [S$1._get_response]() { + return this.response; + } + get [S$1.$responseText]() { + return this.responseText; + } + get [S$1.$responseType]() { + return this.responseType; + } + set [S$1.$responseType](value) { + this.responseType = value; + } + get [S$1.$responseUrl]() { + return this.responseURL; + } + get [S$1.$responseXml]() { + return this.responseXML; + } + get [S$.$status]() { + return this.status; + } + get [S$1.$statusText]() { + return this.statusText; + } + get [S$1.$timeout]() { + return this.timeout; + } + set [S$1.$timeout](value) { + this.timeout = value; + } + get [S$1.$upload]() { + return this.upload; + } + get [S$1.$withCredentials]() { + return this.withCredentials; + } + set [S$1.$withCredentials](value) { + this.withCredentials = value; + } + [S.$abort](...args) { + return this.abort.apply(this, args); + } + [S$1.$getAllResponseHeaders](...args) { + return this.getAllResponseHeaders.apply(this, args); + } + [S$1.$getResponseHeader](...args) { + return this.getResponseHeader.apply(this, args); + } + [S$1.$overrideMimeType](...args) { + return this.overrideMimeType.apply(this, args); + } + [S$1.$send](...args) { + return this.send.apply(this, args); + } + [S$1.$setRequestHeader](...args) { + return this.setRequestHeader.apply(this, args); + } + get [S$1.$onReadyStateChange]() { + return html$.HttpRequest.readyStateChangeEvent.forTarget(this); + } +}; +dart.addTypeTests(html$.HttpRequest); +dart.addTypeCaches(html$.HttpRequest); +dart.setMethodSignature(html$.HttpRequest, () => ({ + __proto__: dart.getMethods(html$.HttpRequest.__proto__), + [S.$open]: dart.fnType(dart.void, [core.String, core.String], {async: dart.nullable(core.bool), password: dart.nullable(core.String), user: dart.nullable(core.String)}, {}), + [S.$abort]: dart.fnType(dart.void, []), + [S$1.$getAllResponseHeaders]: dart.fnType(core.String, []), + [S$1.$getResponseHeader]: dart.fnType(dart.nullable(core.String), [core.String]), + [S$1.$overrideMimeType]: dart.fnType(dart.void, [core.String]), + [S$1.$send]: dart.fnType(dart.void, [], [dart.dynamic]), + [S$1.$setRequestHeader]: dart.fnType(dart.void, [core.String, core.String]) +})); +dart.setGetterSignature(html$.HttpRequest, () => ({ + __proto__: dart.getGetters(html$.HttpRequest.__proto__), + [S$1.$responseHeaders]: core.Map$(core.String, core.String), + [S.$readyState]: core.int, + [S$.$response]: dart.dynamic, + [S$1._get_response]: dart.dynamic, + [S$1.$responseText]: dart.nullable(core.String), + [S$1.$responseType]: core.String, + [S$1.$responseUrl]: dart.nullable(core.String), + [S$1.$responseXml]: dart.nullable(html$.Document), + [S$.$status]: dart.nullable(core.int), + [S$1.$statusText]: dart.nullable(core.String), + [S$1.$timeout]: dart.nullable(core.int), + [S$1.$upload]: html$.HttpRequestUpload, + [S$1.$withCredentials]: dart.nullable(core.bool), + [S$1.$onReadyStateChange]: async.Stream$(html$.Event) +})); +dart.setSetterSignature(html$.HttpRequest, () => ({ + __proto__: dart.getSetters(html$.HttpRequest.__proto__), + [S$1.$responseType]: core.String, + [S$1.$timeout]: dart.nullable(core.int), + [S$1.$withCredentials]: dart.nullable(core.bool) +})); +dart.setLibraryUri(html$.HttpRequest, I[148]); +dart.defineLazy(html$.HttpRequest, { + /*html$.HttpRequest.readyStateChangeEvent*/get readyStateChangeEvent() { + return C[324] || CT.C324; + }, + /*html$.HttpRequest.DONE*/get DONE() { + return 4; + }, + /*html$.HttpRequest.HEADERS_RECEIVED*/get HEADERS_RECEIVED() { + return 2; + }, + /*html$.HttpRequest.LOADING*/get LOADING() { + return 3; + }, + /*html$.HttpRequest.OPENED*/get OPENED() { + return 1; + }, + /*html$.HttpRequest.UNSENT*/get UNSENT() { + return 0; + } +}, false); +dart.registerExtension("XMLHttpRequest", html$.HttpRequest); +html$.HttpRequestUpload = class HttpRequestUpload extends html$.HttpRequestEventTarget {}; +dart.addTypeTests(html$.HttpRequestUpload); +dart.addTypeCaches(html$.HttpRequestUpload); +dart.setLibraryUri(html$.HttpRequestUpload, I[148]); +dart.registerExtension("XMLHttpRequestUpload", html$.HttpRequestUpload); +html$.IFrameElement = class IFrameElement extends html$.HtmlElement { + static new() { + return html$.document.createElement("iframe"); + } + get [S$1.$allow]() { + return this.allow; + } + set [S$1.$allow](value) { + this.allow = value; + } + get [S$1.$allowFullscreen]() { + return this.allowFullscreen; + } + set [S$1.$allowFullscreen](value) { + this.allowFullscreen = value; + } + get [S$1.$allowPaymentRequest]() { + return this.allowPaymentRequest; + } + set [S$1.$allowPaymentRequest](value) { + this.allowPaymentRequest = value; + } + get [S$1.$contentWindow]() { + return html$._convertNativeToDart_Window(this[S$1._get_contentWindow]); + } + get [S$1._get_contentWindow]() { + return this.contentWindow; + } + get [S$1.$csp]() { + return this.csp; + } + set [S$1.$csp](value) { + this.csp = value; + } + get [$height]() { + return this.height; + } + set [$height](value) { + this.height = value; + } + get [$name]() { + return this.name; + } + set [$name](value) { + this.name = value; + } + get [S$.$referrerPolicy]() { + return this.referrerPolicy; + } + set [S$.$referrerPolicy](value) { + this.referrerPolicy = value; + } + get [S$1.$sandbox]() { + return this.sandbox; + } + get [S$.$src]() { + return this.src; + } + set [S$.$src](value) { + this.src = value; + } + get [S$1.$srcdoc]() { + return this.srcdoc; + } + set [S$1.$srcdoc](value) { + this.srcdoc = value; + } + get [$width]() { + return this.width; + } + set [$width](value) { + this.width = value; + } +}; +(html$.IFrameElement.created = function() { + html$.IFrameElement.__proto__.created.call(this); + ; +}).prototype = html$.IFrameElement.prototype; +dart.addTypeTests(html$.IFrameElement); +dart.addTypeCaches(html$.IFrameElement); +dart.setGetterSignature(html$.IFrameElement, () => ({ + __proto__: dart.getGetters(html$.IFrameElement.__proto__), + [S$1.$allow]: dart.nullable(core.String), + [S$1.$allowFullscreen]: dart.nullable(core.bool), + [S$1.$allowPaymentRequest]: dart.nullable(core.bool), + [S$1.$contentWindow]: dart.nullable(html$.WindowBase), + [S$1._get_contentWindow]: dart.dynamic, + [S$1.$csp]: dart.nullable(core.String), + [$height]: dart.nullable(core.String), + [$name]: dart.nullable(core.String), + [S$.$referrerPolicy]: dart.nullable(core.String), + [S$1.$sandbox]: dart.nullable(html$.DomTokenList), + [S$.$src]: dart.nullable(core.String), + [S$1.$srcdoc]: dart.nullable(core.String), + [$width]: dart.nullable(core.String) +})); +dart.setSetterSignature(html$.IFrameElement, () => ({ + __proto__: dart.getSetters(html$.IFrameElement.__proto__), + [S$1.$allow]: dart.nullable(core.String), + [S$1.$allowFullscreen]: dart.nullable(core.bool), + [S$1.$allowPaymentRequest]: dart.nullable(core.bool), + [S$1.$csp]: dart.nullable(core.String), + [$height]: dart.nullable(core.String), + [$name]: dart.nullable(core.String), + [S$.$referrerPolicy]: dart.nullable(core.String), + [S$.$src]: dart.nullable(core.String), + [S$1.$srcdoc]: dart.nullable(core.String), + [$width]: dart.nullable(core.String) +})); +dart.setLibraryUri(html$.IFrameElement, I[148]); +dart.registerExtension("HTMLIFrameElement", html$.IFrameElement); +html$.IdleDeadline = class IdleDeadline extends _interceptors.Interceptor { + get [S$1.$didTimeout]() { + return this.didTimeout; + } + [S$1.$timeRemaining](...args) { + return this.timeRemaining.apply(this, args); + } +}; +dart.addTypeTests(html$.IdleDeadline); +dart.addTypeCaches(html$.IdleDeadline); +dart.setMethodSignature(html$.IdleDeadline, () => ({ + __proto__: dart.getMethods(html$.IdleDeadline.__proto__), + [S$1.$timeRemaining]: dart.fnType(core.double, []) +})); +dart.setGetterSignature(html$.IdleDeadline, () => ({ + __proto__: dart.getGetters(html$.IdleDeadline.__proto__), + [S$1.$didTimeout]: dart.nullable(core.bool) +})); +dart.setLibraryUri(html$.IdleDeadline, I[148]); +dart.registerExtension("IdleDeadline", html$.IdleDeadline); +html$.ImageBitmap = class ImageBitmap extends _interceptors.Interceptor { + get [$height]() { + return this.height; + } + get [$width]() { + return this.width; + } + [S.$close](...args) { + return this.close.apply(this, args); + } +}; +dart.addTypeTests(html$.ImageBitmap); +dart.addTypeCaches(html$.ImageBitmap); +dart.setMethodSignature(html$.ImageBitmap, () => ({ + __proto__: dart.getMethods(html$.ImageBitmap.__proto__), + [S.$close]: dart.fnType(dart.void, []) +})); +dart.setGetterSignature(html$.ImageBitmap, () => ({ + __proto__: dart.getGetters(html$.ImageBitmap.__proto__), + [$height]: dart.nullable(core.int), + [$width]: dart.nullable(core.int) +})); +dart.setLibraryUri(html$.ImageBitmap, I[148]); +dart.registerExtension("ImageBitmap", html$.ImageBitmap); +html$.ImageBitmapRenderingContext = class ImageBitmapRenderingContext extends _interceptors.Interceptor { + get [S$.$canvas]() { + return this.canvas; + } + [S$1.$transferFromImageBitmap](...args) { + return this.transferFromImageBitmap.apply(this, args); + } +}; +dart.addTypeTests(html$.ImageBitmapRenderingContext); +dart.addTypeCaches(html$.ImageBitmapRenderingContext); +dart.setMethodSignature(html$.ImageBitmapRenderingContext, () => ({ + __proto__: dart.getMethods(html$.ImageBitmapRenderingContext.__proto__), + [S$1.$transferFromImageBitmap]: dart.fnType(dart.void, [dart.nullable(html$.ImageBitmap)]) +})); +dart.setGetterSignature(html$.ImageBitmapRenderingContext, () => ({ + __proto__: dart.getGetters(html$.ImageBitmapRenderingContext.__proto__), + [S$.$canvas]: dart.nullable(html$.CanvasElement) +})); +dart.setLibraryUri(html$.ImageBitmapRenderingContext, I[148]); +dart.registerExtension("ImageBitmapRenderingContext", html$.ImageBitmapRenderingContext); +html$.ImageCapture = class ImageCapture$ extends _interceptors.Interceptor { + static new(track) { + if (track == null) dart.nullFailed(I[147], 18865, 41, "track"); + return html$.ImageCapture._create_1(track); + } + static _create_1(track) { + return new ImageCapture(track); + } + get [S$1.$track]() { + return this.track; + } + [S$1.$getPhotoCapabilities]() { + return js_util.promiseToFuture(html$.PhotoCapabilities, this.getPhotoCapabilities()); + } + [S$1.$getPhotoSettings]() { + return html$.promiseToFutureAsMap(this.getPhotoSettings()); + } + [S$1.$grabFrame]() { + return js_util.promiseToFuture(html$.ImageBitmap, this.grabFrame()); + } + [S$1.$setOptions](photoSettings) { + if (photoSettings == null) dart.nullFailed(I[147], 18883, 25, "photoSettings"); + let photoSettings_dict = html_common.convertDartToNative_Dictionary(photoSettings); + return js_util.promiseToFuture(dart.dynamic, this.setOptions(photoSettings_dict)); + } + [S$1.$takePhoto](photoSettings = null) { + let photoSettings_dict = null; + if (photoSettings != null) { + photoSettings_dict = html_common.convertDartToNative_Dictionary(photoSettings); + } + return js_util.promiseToFuture(html$.Blob, this.takePhoto(photoSettings_dict)); + } +}; +dart.addTypeTests(html$.ImageCapture); +dart.addTypeCaches(html$.ImageCapture); +dart.setMethodSignature(html$.ImageCapture, () => ({ + __proto__: dart.getMethods(html$.ImageCapture.__proto__), + [S$1.$getPhotoCapabilities]: dart.fnType(async.Future$(html$.PhotoCapabilities), []), + [S$1.$getPhotoSettings]: dart.fnType(async.Future$(dart.nullable(core.Map$(core.String, dart.dynamic))), []), + [S$1.$grabFrame]: dart.fnType(async.Future$(html$.ImageBitmap), []), + [S$1.$setOptions]: dart.fnType(async.Future, [core.Map]), + [S$1.$takePhoto]: dart.fnType(async.Future$(html$.Blob), [], [dart.nullable(core.Map)]) +})); +dart.setGetterSignature(html$.ImageCapture, () => ({ + __proto__: dart.getGetters(html$.ImageCapture.__proto__), + [S$1.$track]: dart.nullable(html$.MediaStreamTrack) +})); +dart.setLibraryUri(html$.ImageCapture, I[148]); +dart.registerExtension("ImageCapture", html$.ImageCapture); +html$.ImageData = class ImageData$ extends _interceptors.Interceptor { + static new(data_OR_sw, sh_OR_sw, sh = null) { + if (sh_OR_sw == null) dart.nullFailed(I[147], 18908, 37, "sh_OR_sw"); + if (core.int.is(sh_OR_sw) && core.int.is(data_OR_sw) && sh == null) { + return html$.ImageData._create_1(data_OR_sw, sh_OR_sw); + } + if (core.int.is(sh_OR_sw) && typed_data.Uint8ClampedList.is(data_OR_sw) && sh == null) { + return html$.ImageData._create_2(data_OR_sw, sh_OR_sw); + } + if (core.int.is(sh) && core.int.is(sh_OR_sw) && typed_data.Uint8ClampedList.is(data_OR_sw)) { + return html$.ImageData._create_3(data_OR_sw, sh_OR_sw, sh); + } + dart.throw(new core.ArgumentError.new("Incorrect number or type of arguments")); + } + static _create_1(data_OR_sw, sh_OR_sw) { + return new ImageData(data_OR_sw, sh_OR_sw); + } + static _create_2(data_OR_sw, sh_OR_sw) { + return new ImageData(data_OR_sw, sh_OR_sw); + } + static _create_3(data_OR_sw, sh_OR_sw, sh) { + return new ImageData(data_OR_sw, sh_OR_sw, sh); + } + get [S$.$data]() { + return this.data; + } + get [$height]() { + return this.height; + } + get [$width]() { + return this.width; + } +}; +dart.addTypeTests(html$.ImageData); +dart.addTypeCaches(html$.ImageData); +dart.setGetterSignature(html$.ImageData, () => ({ + __proto__: dart.getGetters(html$.ImageData.__proto__), + [S$.$data]: typed_data.Uint8ClampedList, + [$height]: core.int, + [$width]: core.int +})); +dart.setLibraryUri(html$.ImageData, I[148]); +dart.registerExtension("ImageData", html$.ImageData); +html$.ImageElement = class ImageElement extends html$.HtmlElement { + static new(opts) { + let src = opts && 'src' in opts ? opts.src : null; + let width = opts && 'width' in opts ? opts.width : null; + let height = opts && 'height' in opts ? opts.height : null; + let e = html$.document.createElement("img"); + if (src != null) e.src = src; + if (width != null) e.width = width; + if (height != null) e.height = height; + return e; + } + get [S$.$alt]() { + return this.alt; + } + set [S$.$alt](value) { + this.alt = value; + } + get [S$1.$async]() { + return this.async; + } + set [S$1.$async](value) { + this.async = value; + } + get [S$1.$complete]() { + return this.complete; + } + get [S$.$crossOrigin]() { + return this.crossOrigin; + } + set [S$.$crossOrigin](value) { + this.crossOrigin = value; + } + get [S$.$currentSrc]() { + return this.currentSrc; + } + get [$height]() { + return this.height; + } + set [$height](value) { + this.height = value; + } + get [S$1.$isMap]() { + return this.isMap; + } + set [S$1.$isMap](value) { + this.isMap = value; + } + get [S$1.$naturalHeight]() { + return this.naturalHeight; + } + get [S$1.$naturalWidth]() { + return this.naturalWidth; + } + get [S$.$referrerPolicy]() { + return this.referrerPolicy; + } + set [S$.$referrerPolicy](value) { + this.referrerPolicy = value; + } + get [S$1.$sizes]() { + return this.sizes; + } + set [S$1.$sizes](value) { + this.sizes = value; + } + get [S$.$src]() { + return this.src; + } + set [S$.$src](value) { + this.src = value; + } + get [S$1.$srcset]() { + return this.srcset; + } + set [S$1.$srcset](value) { + this.srcset = value; + } + get [S$1.$useMap]() { + return this.useMap; + } + set [S$1.$useMap](value) { + this.useMap = value; + } + get [$width]() { + return this.width; + } + set [$width](value) { + this.width = value; + } + [S$1.$decode]() { + return js_util.promiseToFuture(dart.dynamic, this.decode()); + } +}; +(html$.ImageElement.created = function() { + html$.ImageElement.__proto__.created.call(this); + ; +}).prototype = html$.ImageElement.prototype; +dart.addTypeTests(html$.ImageElement); +dart.addTypeCaches(html$.ImageElement); +html$.ImageElement[dart.implements] = () => [html$.CanvasImageSource]; +dart.setMethodSignature(html$.ImageElement, () => ({ + __proto__: dart.getMethods(html$.ImageElement.__proto__), + [S$1.$decode]: dart.fnType(async.Future, []) +})); +dart.setGetterSignature(html$.ImageElement, () => ({ + __proto__: dart.getGetters(html$.ImageElement.__proto__), + [S$.$alt]: dart.nullable(core.String), + [S$1.$async]: dart.nullable(core.String), + [S$1.$complete]: dart.nullable(core.bool), + [S$.$crossOrigin]: dart.nullable(core.String), + [S$.$currentSrc]: dart.nullable(core.String), + [$height]: dart.nullable(core.int), + [S$1.$isMap]: dart.nullable(core.bool), + [S$1.$naturalHeight]: core.int, + [S$1.$naturalWidth]: core.int, + [S$.$referrerPolicy]: dart.nullable(core.String), + [S$1.$sizes]: dart.nullable(core.String), + [S$.$src]: dart.nullable(core.String), + [S$1.$srcset]: dart.nullable(core.String), + [S$1.$useMap]: dart.nullable(core.String), + [$width]: dart.nullable(core.int) +})); +dart.setSetterSignature(html$.ImageElement, () => ({ + __proto__: dart.getSetters(html$.ImageElement.__proto__), + [S$.$alt]: dart.nullable(core.String), + [S$1.$async]: dart.nullable(core.String), + [S$.$crossOrigin]: dart.nullable(core.String), + [$height]: dart.nullable(core.int), + [S$1.$isMap]: dart.nullable(core.bool), + [S$.$referrerPolicy]: dart.nullable(core.String), + [S$1.$sizes]: dart.nullable(core.String), + [S$.$src]: dart.nullable(core.String), + [S$1.$srcset]: dart.nullable(core.String), + [S$1.$useMap]: dart.nullable(core.String), + [$width]: dart.nullable(core.int) +})); +dart.setLibraryUri(html$.ImageElement, I[148]); +dart.registerExtension("HTMLImageElement", html$.ImageElement); +html$.InputDeviceCapabilities = class InputDeviceCapabilities$ extends _interceptors.Interceptor { + static new(deviceInitDict = null) { + if (deviceInitDict != null) { + let deviceInitDict_1 = html_common.convertDartToNative_Dictionary(deviceInitDict); + return html$.InputDeviceCapabilities._create_1(deviceInitDict_1); + } + return html$.InputDeviceCapabilities._create_2(); + } + static _create_1(deviceInitDict) { + return new InputDeviceCapabilities(deviceInitDict); + } + static _create_2() { + return new InputDeviceCapabilities(); + } + get [S$1.$firesTouchEvents]() { + return this.firesTouchEvents; + } +}; +dart.addTypeTests(html$.InputDeviceCapabilities); +dart.addTypeCaches(html$.InputDeviceCapabilities); +dart.setGetterSignature(html$.InputDeviceCapabilities, () => ({ + __proto__: dart.getGetters(html$.InputDeviceCapabilities.__proto__), + [S$1.$firesTouchEvents]: dart.nullable(core.bool) +})); +dart.setLibraryUri(html$.InputDeviceCapabilities, I[148]); +dart.registerExtension("InputDeviceCapabilities", html$.InputDeviceCapabilities); +html$.InputElement = class InputElement extends html$.HtmlElement { + static new(opts) { + let type = opts && 'type' in opts ? opts.type : null; + let e = html$.InputElement.as(html$.document[S.$createElement]("input")); + if (type != null) { + try { + e.type = type; + } catch (e$) { + let _ = dart.getThrown(e$); + if (core.Object.is(_)) { + } else + throw e$; + } + } + return e; + } + get [S$1.$accept]() { + return this.accept; + } + set [S$1.$accept](value) { + this.accept = value; + } + get [S$.$alt]() { + return this.alt; + } + set [S$.$alt](value) { + this.alt = value; + } + get [S$1.$autocapitalize]() { + return this.autocapitalize; + } + set [S$1.$autocapitalize](value) { + this.autocapitalize = value; + } + get [S$.$autocomplete]() { + return this.autocomplete; + } + set [S$.$autocomplete](value) { + this.autocomplete = value; + } + get [S$.$autofocus]() { + return this.autofocus; + } + set [S$.$autofocus](value) { + this.autofocus = value; + } + get [S$1.$capture]() { + return this.capture; + } + set [S$1.$capture](value) { + this.capture = value; + } + get [S$.$checked]() { + return this.checked; + } + set [S$.$checked](value) { + this.checked = value; + } + get [S$1.$defaultChecked]() { + return this.defaultChecked; + } + set [S$1.$defaultChecked](value) { + this.defaultChecked = value; + } + get [S$1.$defaultValue]() { + return this.defaultValue; + } + set [S$1.$defaultValue](value) { + this.defaultValue = value; + } + get [S$1.$dirName]() { + return this.dirName; + } + set [S$1.$dirName](value) { + this.dirName = value; + } + get [S$.$disabled]() { + return this.disabled; + } + set [S$.$disabled](value) { + this.disabled = value; + } + get [S$0.$files]() { + return this.files; + } + set [S$0.$files](value) { + this.files = value; + } + get [S$.$form]() { + return this.form; + } + get [S$.$formAction]() { + return this.formAction; + } + set [S$.$formAction](value) { + this.formAction = value; + } + get [S$.$formEnctype]() { + return this.formEnctype; + } + set [S$.$formEnctype](value) { + this.formEnctype = value; + } + get [S$.$formMethod]() { + return this.formMethod; + } + set [S$.$formMethod](value) { + this.formMethod = value; + } + get [S$.$formNoValidate]() { + return this.formNoValidate; + } + set [S$.$formNoValidate](value) { + this.formNoValidate = value; + } + get [S$.$formTarget]() { + return this.formTarget; + } + set [S$.$formTarget](value) { + this.formTarget = value; + } + get [$height]() { + return this.height; + } + set [$height](value) { + this.height = value; + } + get [S$1.$incremental]() { + return this.incremental; + } + set [S$1.$incremental](value) { + this.incremental = value; + } + get [S$1.$indeterminate]() { + return this.indeterminate; + } + set [S$1.$indeterminate](value) { + this.indeterminate = value; + } + get [S$.$labels]() { + return this.labels; + } + get [S$1.$list]() { + return this.list; + } + get [S$1.$max]() { + return this.max; + } + set [S$1.$max](value) { + this.max = value; + } + get [S$1.$maxLength]() { + return this.maxLength; + } + set [S$1.$maxLength](value) { + this.maxLength = value; + } + get [S$1.$min]() { + return this.min; + } + set [S$1.$min](value) { + this.min = value; + } + get [S$1.$minLength]() { + return this.minLength; + } + set [S$1.$minLength](value) { + this.minLength = value; + } + get [S$1.$multiple]() { + return this.multiple; + } + set [S$1.$multiple](value) { + this.multiple = value; + } + get [$name]() { + return this.name; + } + set [$name](value) { + this.name = value; + } + get [S$1.$pattern]() { + return this.pattern; + } + set [S$1.$pattern](value) { + this.pattern = value; + } + get [S$.$placeholder]() { + return this.placeholder; + } + set [S$.$placeholder](value) { + this.placeholder = value; + } + get [S$.$readOnly]() { + return this.readOnly; + } + set [S$.$readOnly](value) { + this.readOnly = value; + } + get [S$.$required]() { + return this.required; + } + set [S$.$required](value) { + this.required = value; + } + get [S$1.$selectionDirection]() { + return this.selectionDirection; + } + set [S$1.$selectionDirection](value) { + this.selectionDirection = value; + } + get [S$1.$selectionEnd]() { + return this.selectionEnd; + } + set [S$1.$selectionEnd](value) { + this.selectionEnd = value; + } + get [S$1.$selectionStart]() { + return this.selectionStart; + } + set [S$1.$selectionStart](value) { + this.selectionStart = value; + } + get [S$.$size]() { + return this.size; + } + set [S$.$size](value) { + this.size = value; + } + get [S$.$src]() { + return this.src; + } + set [S$.$src](value) { + this.src = value; + } + get [S$1.$step]() { + return this.step; + } + set [S$1.$step](value) { + this.step = value; + } + get [S.$type]() { + return this.type; + } + set [S.$type](value) { + this.type = value; + } + get [S$.$validationMessage]() { + return this.validationMessage; + } + get [S$.$validity]() { + return this.validity; + } + get [S.$value]() { + return this.value; + } + set [S.$value](value) { + this.value = value; + } + get [S$1.$valueAsDate]() { + return html_common.convertNativeToDart_DateTime(this[S$1._get_valueAsDate]); + } + get [S$1._get_valueAsDate]() { + return this.valueAsDate; + } + set [S$1.$valueAsDate](value) { + this[S$1._set_valueAsDate] = html_common.convertDartToNative_DateTime(dart.nullCheck(value)); + } + set [S$1._set_valueAsDate](value) { + this.valueAsDate = value; + } + get [S$1.$valueAsNumber]() { + return this.valueAsNumber; + } + set [S$1.$valueAsNumber](value) { + this.valueAsNumber = value; + } + get [$entries]() { + return this.webkitEntries; + } + get [S$1.$directory]() { + return this.webkitdirectory; + } + set [S$1.$directory](value) { + this.webkitdirectory = value; + } + get [$width]() { + return this.width; + } + set [$width](value) { + this.width = value; + } + get [S$.$willValidate]() { + return this.willValidate; + } + [S$.$checkValidity](...args) { + return this.checkValidity.apply(this, args); + } + [S$.$reportValidity](...args) { + return this.reportValidity.apply(this, args); + } + [S$.$select](...args) { + return this.select.apply(this, args); + } + [S$.$setCustomValidity](...args) { + return this.setCustomValidity.apply(this, args); + } + [S$1.$setRangeText](...args) { + return this.setRangeText.apply(this, args); + } + [S$1.$setSelectionRange](...args) { + return this.setSelectionRange.apply(this, args); + } + [S$1.$stepDown](...args) { + return this.stepDown.apply(this, args); + } + [S$1.$stepUp](...args) { + return this.stepUp.apply(this, args); + } +}; +(html$.InputElement.created = function() { + html$.InputElement.__proto__.created.call(this); + ; +}).prototype = html$.InputElement.prototype; +dart.addTypeTests(html$.InputElement); +dart.addTypeCaches(html$.InputElement); +html$.InputElement[dart.implements] = () => [html$.HiddenInputElement, html$.SearchInputElement, html$.TextInputElement, html$.UrlInputElement, html$.TelephoneInputElement, html$.EmailInputElement, html$.PasswordInputElement, html$.DateInputElement, html$.MonthInputElement, html$.WeekInputElement, html$.TimeInputElement, html$.LocalDateTimeInputElement, html$.NumberInputElement, html$.RangeInputElement, html$.CheckboxInputElement, html$.RadioButtonInputElement, html$.FileUploadInputElement, html$.SubmitButtonInputElement, html$.ImageButtonInputElement, html$.ResetButtonInputElement, html$.ButtonInputElement]; +dart.setMethodSignature(html$.InputElement, () => ({ + __proto__: dart.getMethods(html$.InputElement.__proto__), + [S$.$checkValidity]: dart.fnType(core.bool, []), + [S$.$reportValidity]: dart.fnType(core.bool, []), + [S$.$select]: dart.fnType(dart.void, []), + [S$.$setCustomValidity]: dart.fnType(dart.void, [core.String]), + [S$1.$setRangeText]: dart.fnType(dart.void, [core.String], {end: dart.nullable(core.int), selectionMode: dart.nullable(core.String), start: dart.nullable(core.int)}, {}), + [S$1.$setSelectionRange]: dart.fnType(dart.void, [core.int, core.int], [dart.nullable(core.String)]), + [S$1.$stepDown]: dart.fnType(dart.void, [], [dart.nullable(core.int)]), + [S$1.$stepUp]: dart.fnType(dart.void, [], [dart.nullable(core.int)]) +})); +dart.setGetterSignature(html$.InputElement, () => ({ + __proto__: dart.getGetters(html$.InputElement.__proto__), + [S$1.$accept]: dart.nullable(core.String), + [S$.$alt]: dart.nullable(core.String), + [S$1.$autocapitalize]: dart.nullable(core.String), + [S$.$autocomplete]: core.String, + [S$.$autofocus]: core.bool, + [S$1.$capture]: dart.nullable(core.String), + [S$.$checked]: dart.nullable(core.bool), + [S$1.$defaultChecked]: dart.nullable(core.bool), + [S$1.$defaultValue]: dart.nullable(core.String), + [S$1.$dirName]: dart.nullable(core.String), + [S$.$disabled]: dart.nullable(core.bool), + [S$0.$files]: dart.nullable(core.List$(html$.File)), + [S$.$form]: dart.nullable(html$.FormElement), + [S$.$formAction]: core.String, + [S$.$formEnctype]: core.String, + [S$.$formMethod]: core.String, + [S$.$formNoValidate]: core.bool, + [S$.$formTarget]: core.String, + [$height]: dart.nullable(core.int), + [S$1.$incremental]: dart.nullable(core.bool), + [S$1.$indeterminate]: dart.nullable(core.bool), + [S$.$labels]: dart.nullable(core.List$(html$.Node)), + [S$1.$list]: dart.nullable(html$.HtmlElement), + [S$1.$max]: dart.nullable(core.String), + [S$1.$maxLength]: dart.nullable(core.int), + [S$1.$min]: dart.nullable(core.String), + [S$1.$minLength]: dart.nullable(core.int), + [S$1.$multiple]: dart.nullable(core.bool), + [$name]: dart.nullable(core.String), + [S$1.$pattern]: core.String, + [S$.$placeholder]: core.String, + [S$.$readOnly]: dart.nullable(core.bool), + [S$.$required]: core.bool, + [S$1.$selectionDirection]: dart.nullable(core.String), + [S$1.$selectionEnd]: dart.nullable(core.int), + [S$1.$selectionStart]: dart.nullable(core.int), + [S$.$size]: dart.nullable(core.int), + [S$.$src]: dart.nullable(core.String), + [S$1.$step]: dart.nullable(core.String), + [S.$type]: dart.nullable(core.String), + [S$.$validationMessage]: core.String, + [S$.$validity]: html$.ValidityState, + [S.$value]: dart.nullable(core.String), + [S$1.$valueAsDate]: core.DateTime, + [S$1._get_valueAsDate]: dart.dynamic, + [S$1.$valueAsNumber]: dart.nullable(core.num), + [$entries]: dart.nullable(core.List$(html$.Entry)), + [S$1.$directory]: dart.nullable(core.bool), + [$width]: dart.nullable(core.int), + [S$.$willValidate]: core.bool +})); +dart.setSetterSignature(html$.InputElement, () => ({ + __proto__: dart.getSetters(html$.InputElement.__proto__), + [S$1.$accept]: dart.nullable(core.String), + [S$.$alt]: dart.nullable(core.String), + [S$1.$autocapitalize]: dart.nullable(core.String), + [S$.$autocomplete]: core.String, + [S$.$autofocus]: core.bool, + [S$1.$capture]: dart.nullable(core.String), + [S$.$checked]: dart.nullable(core.bool), + [S$1.$defaultChecked]: dart.nullable(core.bool), + [S$1.$defaultValue]: dart.nullable(core.String), + [S$1.$dirName]: dart.nullable(core.String), + [S$.$disabled]: dart.nullable(core.bool), + [S$0.$files]: dart.nullable(core.List$(html$.File)), + [S$.$formAction]: core.String, + [S$.$formEnctype]: core.String, + [S$.$formMethod]: core.String, + [S$.$formNoValidate]: core.bool, + [S$.$formTarget]: core.String, + [$height]: dart.nullable(core.int), + [S$1.$incremental]: dart.nullable(core.bool), + [S$1.$indeterminate]: dart.nullable(core.bool), + [S$1.$max]: dart.nullable(core.String), + [S$1.$maxLength]: dart.nullable(core.int), + [S$1.$min]: dart.nullable(core.String), + [S$1.$minLength]: dart.nullable(core.int), + [S$1.$multiple]: dart.nullable(core.bool), + [$name]: dart.nullable(core.String), + [S$1.$pattern]: core.String, + [S$.$placeholder]: core.String, + [S$.$readOnly]: dart.nullable(core.bool), + [S$.$required]: core.bool, + [S$1.$selectionDirection]: dart.nullable(core.String), + [S$1.$selectionEnd]: dart.nullable(core.int), + [S$1.$selectionStart]: dart.nullable(core.int), + [S$.$size]: dart.nullable(core.int), + [S$.$src]: dart.nullable(core.String), + [S$1.$step]: dart.nullable(core.String), + [S.$type]: dart.nullable(core.String), + [S.$value]: dart.nullable(core.String), + [S$1.$valueAsDate]: dart.nullable(core.DateTime), + [S$1._set_valueAsDate]: dart.dynamic, + [S$1.$valueAsNumber]: dart.nullable(core.num), + [S$1.$directory]: dart.nullable(core.bool), + [$width]: dart.nullable(core.int) +})); +dart.setLibraryUri(html$.InputElement, I[148]); +dart.registerExtension("HTMLInputElement", html$.InputElement); +html$.InputElementBase = class InputElementBase extends core.Object {}; +(html$.InputElementBase.new = function() { + ; +}).prototype = html$.InputElementBase.prototype; +dart.addTypeTests(html$.InputElementBase); +dart.addTypeCaches(html$.InputElementBase); +html$.InputElementBase[dart.implements] = () => [html$.Element]; +dart.setLibraryUri(html$.InputElementBase, I[148]); +html$.HiddenInputElement = class HiddenInputElement extends core.Object { + static new() { + return html$.InputElement.new({type: "hidden"}); + } +}; +(html$.HiddenInputElement[dart.mixinNew] = function() { +}).prototype = html$.HiddenInputElement.prototype; +dart.addTypeTests(html$.HiddenInputElement); +dart.addTypeCaches(html$.HiddenInputElement); +html$.HiddenInputElement[dart.implements] = () => [html$.InputElementBase]; +dart.setLibraryUri(html$.HiddenInputElement, I[148]); +html$.TextInputElementBase = class TextInputElementBase extends core.Object {}; +(html$.TextInputElementBase.new = function() { + ; +}).prototype = html$.TextInputElementBase.prototype; +dart.addTypeTests(html$.TextInputElementBase); +dart.addTypeCaches(html$.TextInputElementBase); +html$.TextInputElementBase[dart.implements] = () => [html$.InputElementBase]; +dart.setLibraryUri(html$.TextInputElementBase, I[148]); +html$.SearchInputElement = class SearchInputElement extends core.Object { + static new() { + return html$.InputElement.new({type: "search"}); + } + static get supported() { + return html$.InputElement.new({type: "search"}).type === "search"; + } +}; +(html$.SearchInputElement[dart.mixinNew] = function() { +}).prototype = html$.SearchInputElement.prototype; +dart.addTypeTests(html$.SearchInputElement); +dart.addTypeCaches(html$.SearchInputElement); +html$.SearchInputElement[dart.implements] = () => [html$.TextInputElementBase]; +dart.setLibraryUri(html$.SearchInputElement, I[148]); +html$.TextInputElement = class TextInputElement extends core.Object { + static new() { + return html$.InputElement.new({type: "text"}); + } +}; +(html$.TextInputElement[dart.mixinNew] = function() { +}).prototype = html$.TextInputElement.prototype; +dart.addTypeTests(html$.TextInputElement); +dart.addTypeCaches(html$.TextInputElement); +html$.TextInputElement[dart.implements] = () => [html$.TextInputElementBase]; +dart.setLibraryUri(html$.TextInputElement, I[148]); +html$.UrlInputElement = class UrlInputElement extends core.Object { + static new() { + return html$.InputElement.new({type: "url"}); + } + static get supported() { + return html$.InputElement.new({type: "url"}).type === "url"; + } +}; +(html$.UrlInputElement[dart.mixinNew] = function() { +}).prototype = html$.UrlInputElement.prototype; +dart.addTypeTests(html$.UrlInputElement); +dart.addTypeCaches(html$.UrlInputElement); +html$.UrlInputElement[dart.implements] = () => [html$.TextInputElementBase]; +dart.setLibraryUri(html$.UrlInputElement, I[148]); +html$.TelephoneInputElement = class TelephoneInputElement extends core.Object { + static new() { + return html$.InputElement.new({type: "tel"}); + } + static get supported() { + return html$.InputElement.new({type: "tel"}).type === "tel"; + } +}; +(html$.TelephoneInputElement[dart.mixinNew] = function() { +}).prototype = html$.TelephoneInputElement.prototype; +dart.addTypeTests(html$.TelephoneInputElement); +dart.addTypeCaches(html$.TelephoneInputElement); +html$.TelephoneInputElement[dart.implements] = () => [html$.TextInputElementBase]; +dart.setLibraryUri(html$.TelephoneInputElement, I[148]); +html$.EmailInputElement = class EmailInputElement extends core.Object { + static new() { + return html$.InputElement.new({type: "email"}); + } + static get supported() { + return html$.InputElement.new({type: "email"}).type === "email"; + } +}; +(html$.EmailInputElement[dart.mixinNew] = function() { +}).prototype = html$.EmailInputElement.prototype; +dart.addTypeTests(html$.EmailInputElement); +dart.addTypeCaches(html$.EmailInputElement); +html$.EmailInputElement[dart.implements] = () => [html$.TextInputElementBase]; +dart.setLibraryUri(html$.EmailInputElement, I[148]); +html$.PasswordInputElement = class PasswordInputElement extends core.Object { + static new() { + return html$.InputElement.new({type: "password"}); + } +}; +(html$.PasswordInputElement[dart.mixinNew] = function() { +}).prototype = html$.PasswordInputElement.prototype; +dart.addTypeTests(html$.PasswordInputElement); +dart.addTypeCaches(html$.PasswordInputElement); +html$.PasswordInputElement[dart.implements] = () => [html$.TextInputElementBase]; +dart.setLibraryUri(html$.PasswordInputElement, I[148]); +html$.RangeInputElementBase = class RangeInputElementBase extends core.Object {}; +(html$.RangeInputElementBase.new = function() { + ; +}).prototype = html$.RangeInputElementBase.prototype; +dart.addTypeTests(html$.RangeInputElementBase); +dart.addTypeCaches(html$.RangeInputElementBase); +html$.RangeInputElementBase[dart.implements] = () => [html$.InputElementBase]; +dart.setLibraryUri(html$.RangeInputElementBase, I[148]); +html$.DateInputElement = class DateInputElement extends core.Object { + static new() { + return html$.InputElement.new({type: "date"}); + } + static get supported() { + return html$.InputElement.new({type: "date"}).type === "date"; + } +}; +(html$.DateInputElement[dart.mixinNew] = function() { +}).prototype = html$.DateInputElement.prototype; +dart.addTypeTests(html$.DateInputElement); +dart.addTypeCaches(html$.DateInputElement); +html$.DateInputElement[dart.implements] = () => [html$.RangeInputElementBase]; +dart.setLibraryUri(html$.DateInputElement, I[148]); +html$.MonthInputElement = class MonthInputElement extends core.Object { + static new() { + return html$.InputElement.new({type: "month"}); + } + static get supported() { + return html$.InputElement.new({type: "month"}).type === "month"; + } +}; +(html$.MonthInputElement[dart.mixinNew] = function() { +}).prototype = html$.MonthInputElement.prototype; +dart.addTypeTests(html$.MonthInputElement); +dart.addTypeCaches(html$.MonthInputElement); +html$.MonthInputElement[dart.implements] = () => [html$.RangeInputElementBase]; +dart.setLibraryUri(html$.MonthInputElement, I[148]); +html$.WeekInputElement = class WeekInputElement extends core.Object { + static new() { + return html$.InputElement.new({type: "week"}); + } + static get supported() { + return html$.InputElement.new({type: "week"}).type === "week"; + } +}; +(html$.WeekInputElement[dart.mixinNew] = function() { +}).prototype = html$.WeekInputElement.prototype; +dart.addTypeTests(html$.WeekInputElement); +dart.addTypeCaches(html$.WeekInputElement); +html$.WeekInputElement[dart.implements] = () => [html$.RangeInputElementBase]; +dart.setLibraryUri(html$.WeekInputElement, I[148]); +html$.TimeInputElement = class TimeInputElement extends core.Object { + static new() { + return html$.InputElement.new({type: "time"}); + } + static get supported() { + return html$.InputElement.new({type: "time"}).type === "time"; + } +}; +(html$.TimeInputElement[dart.mixinNew] = function() { +}).prototype = html$.TimeInputElement.prototype; +dart.addTypeTests(html$.TimeInputElement); +dart.addTypeCaches(html$.TimeInputElement); +html$.TimeInputElement[dart.implements] = () => [html$.RangeInputElementBase]; +dart.setLibraryUri(html$.TimeInputElement, I[148]); +html$.LocalDateTimeInputElement = class LocalDateTimeInputElement extends core.Object { + static new() { + return html$.InputElement.new({type: "datetime-local"}); + } + static get supported() { + return html$.InputElement.new({type: "datetime-local"}).type === "datetime-local"; + } +}; +(html$.LocalDateTimeInputElement[dart.mixinNew] = function() { +}).prototype = html$.LocalDateTimeInputElement.prototype; +dart.addTypeTests(html$.LocalDateTimeInputElement); +dart.addTypeCaches(html$.LocalDateTimeInputElement); +html$.LocalDateTimeInputElement[dart.implements] = () => [html$.RangeInputElementBase]; +dart.setLibraryUri(html$.LocalDateTimeInputElement, I[148]); +html$.NumberInputElement = class NumberInputElement extends core.Object { + static new() { + return html$.InputElement.new({type: "number"}); + } + static get supported() { + return html$.InputElement.new({type: "number"}).type === "number"; + } +}; +(html$.NumberInputElement[dart.mixinNew] = function() { +}).prototype = html$.NumberInputElement.prototype; +dart.addTypeTests(html$.NumberInputElement); +dart.addTypeCaches(html$.NumberInputElement); +html$.NumberInputElement[dart.implements] = () => [html$.RangeInputElementBase]; +dart.setLibraryUri(html$.NumberInputElement, I[148]); +html$.RangeInputElement = class RangeInputElement extends core.Object { + static new() { + return html$.InputElement.new({type: "range"}); + } + static get supported() { + return html$.InputElement.new({type: "range"}).type === "range"; + } +}; +(html$.RangeInputElement[dart.mixinNew] = function() { +}).prototype = html$.RangeInputElement.prototype; +dart.addTypeTests(html$.RangeInputElement); +dart.addTypeCaches(html$.RangeInputElement); +html$.RangeInputElement[dart.implements] = () => [html$.RangeInputElementBase]; +dart.setLibraryUri(html$.RangeInputElement, I[148]); +html$.CheckboxInputElement = class CheckboxInputElement extends core.Object { + static new() { + return html$.InputElement.new({type: "checkbox"}); + } +}; +(html$.CheckboxInputElement[dart.mixinNew] = function() { +}).prototype = html$.CheckboxInputElement.prototype; +dart.addTypeTests(html$.CheckboxInputElement); +dart.addTypeCaches(html$.CheckboxInputElement); +html$.CheckboxInputElement[dart.implements] = () => [html$.InputElementBase]; +dart.setLibraryUri(html$.CheckboxInputElement, I[148]); +html$.RadioButtonInputElement = class RadioButtonInputElement extends core.Object { + static new() { + return html$.InputElement.new({type: "radio"}); + } +}; +(html$.RadioButtonInputElement[dart.mixinNew] = function() { +}).prototype = html$.RadioButtonInputElement.prototype; +dart.addTypeTests(html$.RadioButtonInputElement); +dart.addTypeCaches(html$.RadioButtonInputElement); +html$.RadioButtonInputElement[dart.implements] = () => [html$.InputElementBase]; +dart.setLibraryUri(html$.RadioButtonInputElement, I[148]); +html$.FileUploadInputElement = class FileUploadInputElement extends core.Object { + get files() { + return this[S$1.files]; + } + set files(value) { + this[S$1.files] = value; + } + static new() { + return html$.InputElement.new({type: "file"}); + } +}; +(html$.FileUploadInputElement[dart.mixinNew] = function() { + this[S$1.files] = null; +}).prototype = html$.FileUploadInputElement.prototype; +dart.addTypeTests(html$.FileUploadInputElement); +dart.addTypeCaches(html$.FileUploadInputElement); +html$.FileUploadInputElement[dart.implements] = () => [html$.InputElementBase]; +dart.setLibraryUri(html$.FileUploadInputElement, I[148]); +dart.setFieldSignature(html$.FileUploadInputElement, () => ({ + __proto__: dart.getFields(html$.FileUploadInputElement.__proto__), + files: dart.fieldType(dart.nullable(core.List$(html$.File))) +})); +dart.defineExtensionAccessors(html$.FileUploadInputElement, ['files']); +html$.SubmitButtonInputElement = class SubmitButtonInputElement extends core.Object { + static new() { + return html$.InputElement.new({type: "submit"}); + } +}; +(html$.SubmitButtonInputElement[dart.mixinNew] = function() { +}).prototype = html$.SubmitButtonInputElement.prototype; +dart.addTypeTests(html$.SubmitButtonInputElement); +dart.addTypeCaches(html$.SubmitButtonInputElement); +html$.SubmitButtonInputElement[dart.implements] = () => [html$.InputElementBase]; +dart.setLibraryUri(html$.SubmitButtonInputElement, I[148]); +html$.ImageButtonInputElement = class ImageButtonInputElement extends core.Object { + static new() { + return html$.InputElement.new({type: "image"}); + } +}; +(html$.ImageButtonInputElement[dart.mixinNew] = function() { +}).prototype = html$.ImageButtonInputElement.prototype; +dart.addTypeTests(html$.ImageButtonInputElement); +dart.addTypeCaches(html$.ImageButtonInputElement); +html$.ImageButtonInputElement[dart.implements] = () => [html$.InputElementBase]; +dart.setLibraryUri(html$.ImageButtonInputElement, I[148]); +html$.ResetButtonInputElement = class ResetButtonInputElement extends core.Object { + static new() { + return html$.InputElement.new({type: "reset"}); + } +}; +(html$.ResetButtonInputElement[dart.mixinNew] = function() { +}).prototype = html$.ResetButtonInputElement.prototype; +dart.addTypeTests(html$.ResetButtonInputElement); +dart.addTypeCaches(html$.ResetButtonInputElement); +html$.ResetButtonInputElement[dart.implements] = () => [html$.InputElementBase]; +dart.setLibraryUri(html$.ResetButtonInputElement, I[148]); +html$.ButtonInputElement = class ButtonInputElement extends core.Object { + static new() { + return html$.InputElement.new({type: "button"}); + } +}; +(html$.ButtonInputElement[dart.mixinNew] = function() { +}).prototype = html$.ButtonInputElement.prototype; +dart.addTypeTests(html$.ButtonInputElement); +dart.addTypeCaches(html$.ButtonInputElement); +html$.ButtonInputElement[dart.implements] = () => [html$.InputElementBase]; +dart.setLibraryUri(html$.ButtonInputElement, I[148]); +html$.InstallEvent = class InstallEvent$ extends html$.ExtendableEvent { + static new(type, eventInitDict = null) { + if (type == null) dart.nullFailed(I[147], 19853, 31, "type"); + if (eventInitDict != null) { + let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); + return html$.InstallEvent._create_1(type, eventInitDict_1); + } + return html$.InstallEvent._create_2(type); + } + static _create_1(type, eventInitDict) { + return new InstallEvent(type, eventInitDict); + } + static _create_2(type) { + return new InstallEvent(type); + } + [S$1.$registerForeignFetch](options) { + if (options == null) dart.nullFailed(I[147], 19865, 33, "options"); + let options_1 = html_common.convertDartToNative_Dictionary(options); + this[S$1._registerForeignFetch_1](options_1); + return; + } + [S$1._registerForeignFetch_1](...args) { + return this.registerForeignFetch.apply(this, args); + } +}; +dart.addTypeTests(html$.InstallEvent); +dart.addTypeCaches(html$.InstallEvent); +dart.setMethodSignature(html$.InstallEvent, () => ({ + __proto__: dart.getMethods(html$.InstallEvent.__proto__), + [S$1.$registerForeignFetch]: dart.fnType(dart.void, [core.Map]), + [S$1._registerForeignFetch_1]: dart.fnType(dart.void, [dart.dynamic]) +})); +dart.setLibraryUri(html$.InstallEvent, I[148]); +dart.registerExtension("InstallEvent", html$.InstallEvent); +html$.IntersectionObserver = class IntersectionObserver$ extends _interceptors.Interceptor { + static new(callback, options = null) { + if (callback == null) dart.nullFailed(I[147], 19885, 61, "callback"); + if (options != null) { + let callback_1 = _js_helper.convertDartClosureToJS(T$0.ListAndIntersectionObserverTovoid(), callback, 2); + let options_2 = html_common.convertDartToNative_Dictionary(options); + return html$.IntersectionObserver._create_1(callback_1, options_2); + } + let callback_1 = _js_helper.convertDartClosureToJS(T$0.ListAndIntersectionObserverTovoid(), callback, 2); + return html$.IntersectionObserver._create_2(callback_1); + } + static _create_1(callback, options) { + return new IntersectionObserver(callback, options); + } + static _create_2(callback) { + return new IntersectionObserver(callback); + } + get [S$1.$root]() { + return this.root; + } + get [S$1.$rootMargin]() { + return this.rootMargin; + } + get [S$1.$thresholds]() { + return this.thresholds; + } + [S$1.$disconnect](...args) { + return this.disconnect.apply(this, args); + } + [S.$observe](...args) { + return this.observe.apply(this, args); + } + [S$1.$takeRecords](...args) { + return this.takeRecords.apply(this, args); + } + [S.$unobserve](...args) { + return this.unobserve.apply(this, args); + } +}; +dart.addTypeTests(html$.IntersectionObserver); +dart.addTypeCaches(html$.IntersectionObserver); +dart.setMethodSignature(html$.IntersectionObserver, () => ({ + __proto__: dart.getMethods(html$.IntersectionObserver.__proto__), + [S$1.$disconnect]: dart.fnType(dart.void, []), + [S.$observe]: dart.fnType(dart.void, [html$.Element]), + [S$1.$takeRecords]: dart.fnType(core.List$(html$.IntersectionObserverEntry), []), + [S.$unobserve]: dart.fnType(dart.void, [html$.Element]) +})); +dart.setGetterSignature(html$.IntersectionObserver, () => ({ + __proto__: dart.getGetters(html$.IntersectionObserver.__proto__), + [S$1.$root]: dart.nullable(html$.Element), + [S$1.$rootMargin]: dart.nullable(core.String), + [S$1.$thresholds]: dart.nullable(core.List$(core.num)) +})); +dart.setLibraryUri(html$.IntersectionObserver, I[148]); +dart.registerExtension("IntersectionObserver", html$.IntersectionObserver); +html$.IntersectionObserverEntry = class IntersectionObserverEntry extends _interceptors.Interceptor { + get [S$1.$boundingClientRect]() { + return this.boundingClientRect; + } + get [S$1.$intersectionRatio]() { + return this.intersectionRatio; + } + get [S$1.$intersectionRect]() { + return this.intersectionRect; + } + get [S$1.$isIntersecting]() { + return this.isIntersecting; + } + get [S$1.$rootBounds]() { + return this.rootBounds; + } + get [S.$target]() { + return this.target; + } + get [S$.$time]() { + return this.time; + } +}; +dart.addTypeTests(html$.IntersectionObserverEntry); +dart.addTypeCaches(html$.IntersectionObserverEntry); +dart.setGetterSignature(html$.IntersectionObserverEntry, () => ({ + __proto__: dart.getGetters(html$.IntersectionObserverEntry.__proto__), + [S$1.$boundingClientRect]: dart.nullable(html$.DomRectReadOnly), + [S$1.$intersectionRatio]: dart.nullable(core.num), + [S$1.$intersectionRect]: dart.nullable(html$.DomRectReadOnly), + [S$1.$isIntersecting]: dart.nullable(core.bool), + [S$1.$rootBounds]: dart.nullable(html$.DomRectReadOnly), + [S.$target]: dart.nullable(html$.Element), + [S$.$time]: dart.nullable(core.num) +})); +dart.setLibraryUri(html$.IntersectionObserverEntry, I[148]); +dart.registerExtension("IntersectionObserverEntry", html$.IntersectionObserverEntry); +html$.InterventionReport = class InterventionReport extends html$.ReportBody { + get [S$0.$lineNumber]() { + return this.lineNumber; + } + get [$message]() { + return this.message; + } + get [S$0.$sourceFile]() { + return this.sourceFile; + } +}; +dart.addTypeTests(html$.InterventionReport); +dart.addTypeCaches(html$.InterventionReport); +dart.setGetterSignature(html$.InterventionReport, () => ({ + __proto__: dart.getGetters(html$.InterventionReport.__proto__), + [S$0.$lineNumber]: dart.nullable(core.int), + [$message]: dart.nullable(core.String), + [S$0.$sourceFile]: dart.nullable(core.String) +})); +dart.setLibraryUri(html$.InterventionReport, I[148]); +dart.registerExtension("InterventionReport", html$.InterventionReport); +html$.KeyboardEvent = class KeyboardEvent$ extends html$.UIEvent { + static new(type, opts) { + let t238; + if (type == null) dart.nullFailed(I[147], 19992, 32, "type"); + let view = opts && 'view' in opts ? opts.view : null; + let canBubble = opts && 'canBubble' in opts ? opts.canBubble : true; + if (canBubble == null) dart.nullFailed(I[147], 19994, 12, "canBubble"); + let cancelable = opts && 'cancelable' in opts ? opts.cancelable : true; + if (cancelable == null) dart.nullFailed(I[147], 19995, 12, "cancelable"); + let location = opts && 'location' in opts ? opts.location : null; + let keyLocation = opts && 'keyLocation' in opts ? opts.keyLocation : null; + let ctrlKey = opts && 'ctrlKey' in opts ? opts.ctrlKey : false; + if (ctrlKey == null) dart.nullFailed(I[147], 19998, 12, "ctrlKey"); + let altKey = opts && 'altKey' in opts ? opts.altKey : false; + if (altKey == null) dart.nullFailed(I[147], 19999, 12, "altKey"); + let shiftKey = opts && 'shiftKey' in opts ? opts.shiftKey : false; + if (shiftKey == null) dart.nullFailed(I[147], 20000, 12, "shiftKey"); + let metaKey = opts && 'metaKey' in opts ? opts.metaKey : false; + if (metaKey == null) dart.nullFailed(I[147], 20001, 12, "metaKey"); + if (view == null) { + view = html$.window; + } + location == null ? location = (t238 = keyLocation, t238 == null ? 1 : t238) : null; + let e = html$.KeyboardEvent.as(html$.document[S._createEvent]("KeyboardEvent")); + e[S$1._initKeyboardEvent](type, canBubble, cancelable, view, "", location, ctrlKey, altKey, shiftKey, metaKey); + return e; + } + [S$1._initKeyboardEvent](type, canBubble, cancelable, view, keyIdentifier, location, ctrlKey, altKey, shiftKey, metaKey) { + if (type == null) dart.nullFailed(I[147], 20013, 14, "type"); + if (canBubble == null) dart.nullFailed(I[147], 20014, 12, "canBubble"); + if (cancelable == null) dart.nullFailed(I[147], 20015, 12, "cancelable"); + if (keyIdentifier == null) dart.nullFailed(I[147], 20017, 14, "keyIdentifier"); + if (ctrlKey == null) dart.nullFailed(I[147], 20019, 12, "ctrlKey"); + if (altKey == null) dart.nullFailed(I[147], 20020, 12, "altKey"); + if (shiftKey == null) dart.nullFailed(I[147], 20021, 12, "shiftKey"); + if (metaKey == null) dart.nullFailed(I[147], 20022, 12, "metaKey"); + if (typeof this.initKeyEvent == "function") { + this.initKeyEvent(type, canBubble, cancelable, view, ctrlKey, altKey, shiftKey, metaKey, 0, 0); + } else { + this.initKeyboardEvent(type, canBubble, cancelable, view, keyIdentifier, location, ctrlKey, altKey, shiftKey, metaKey); + } + } + get [S$1.$keyCode]() { + return this.keyCode; + } + get [S$1.$charCode]() { + return this.charCode; + } + get [S$1.$which]() { + return this[S$._which]; + } + static __(type, eventInitDict = null) { + if (type == null) dart.nullFailed(I[147], 20055, 34, "type"); + if (eventInitDict != null) { + let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); + return html$.KeyboardEvent._create_1(type, eventInitDict_1); + } + return html$.KeyboardEvent._create_2(type); + } + static _create_1(type, eventInitDict) { + return new KeyboardEvent(type, eventInitDict); + } + static _create_2(type) { + return new KeyboardEvent(type); + } + get [S$1.$altKey]() { + return this.altKey; + } + get [S$1._charCode]() { + return this.charCode; + } + get [S$.$code]() { + return this.code; + } + get [S$1.$ctrlKey]() { + return this.ctrlKey; + } + get [S$1.$isComposing]() { + return this.isComposing; + } + get [S.$key]() { + return this.key; + } + get [S$1._keyCode]() { + return this.keyCode; + } + get [S$0.$location]() { + return this.location; + } + get [S$1.$metaKey]() { + return this.metaKey; + } + get [S$1.$repeat]() { + return this.repeat; + } + get [S$1.$shiftKey]() { + return this.shiftKey; + } + [S$1.$getModifierState](...args) { + return this.getModifierState.apply(this, args); + } +}; +dart.addTypeTests(html$.KeyboardEvent); +dart.addTypeCaches(html$.KeyboardEvent); +dart.setMethodSignature(html$.KeyboardEvent, () => ({ + __proto__: dart.getMethods(html$.KeyboardEvent.__proto__), + [S$1._initKeyboardEvent]: dart.fnType(dart.void, [core.String, core.bool, core.bool, dart.nullable(html$.Window), core.String, dart.nullable(core.int), core.bool, core.bool, core.bool, core.bool]), + [S$1.$getModifierState]: dart.fnType(core.bool, [core.String]) +})); +dart.setGetterSignature(html$.KeyboardEvent, () => ({ + __proto__: dart.getGetters(html$.KeyboardEvent.__proto__), + [S$1.$keyCode]: core.int, + [S$1.$charCode]: core.int, + [S$1.$which]: dart.nullable(core.int), + [S$1.$altKey]: core.bool, + [S$1._charCode]: core.int, + [S$.$code]: dart.nullable(core.String), + [S$1.$ctrlKey]: core.bool, + [S$1.$isComposing]: dart.nullable(core.bool), + [S.$key]: dart.nullable(core.String), + [S$1._keyCode]: core.int, + [S$0.$location]: core.int, + [S$1.$metaKey]: core.bool, + [S$1.$repeat]: dart.nullable(core.bool), + [S$1.$shiftKey]: core.bool +})); +dart.setLibraryUri(html$.KeyboardEvent, I[148]); +dart.defineLazy(html$.KeyboardEvent, { + /*html$.KeyboardEvent.DOM_KEY_LOCATION_LEFT*/get DOM_KEY_LOCATION_LEFT() { + return 1; + }, + /*html$.KeyboardEvent.DOM_KEY_LOCATION_NUMPAD*/get DOM_KEY_LOCATION_NUMPAD() { + return 3; + }, + /*html$.KeyboardEvent.DOM_KEY_LOCATION_RIGHT*/get DOM_KEY_LOCATION_RIGHT() { + return 2; + }, + /*html$.KeyboardEvent.DOM_KEY_LOCATION_STANDARD*/get DOM_KEY_LOCATION_STANDARD() { + return 0; + } +}, false); +dart.registerExtension("KeyboardEvent", html$.KeyboardEvent); +html$.KeyframeEffectReadOnly = class KeyframeEffectReadOnly$ extends html$.AnimationEffectReadOnly { + static new(target, effect, options = null) { + if (options != null) { + return html$.KeyframeEffectReadOnly._create_1(target, effect, options); + } + return html$.KeyframeEffectReadOnly._create_2(target, effect); + } + static _create_1(target, effect, options) { + return new KeyframeEffectReadOnly(target, effect, options); + } + static _create_2(target, effect) { + return new KeyframeEffectReadOnly(target, effect); + } +}; +dart.addTypeTests(html$.KeyframeEffectReadOnly); +dart.addTypeCaches(html$.KeyframeEffectReadOnly); +dart.setLibraryUri(html$.KeyframeEffectReadOnly, I[148]); +dart.registerExtension("KeyframeEffectReadOnly", html$.KeyframeEffectReadOnly); +html$.KeyframeEffect = class KeyframeEffect$ extends html$.KeyframeEffectReadOnly { + static new(target, effect, options = null) { + if (options != null) { + return html$.KeyframeEffect._create_1(target, effect, options); + } + return html$.KeyframeEffect._create_2(target, effect); + } + static _create_1(target, effect, options) { + return new KeyframeEffect(target, effect, options); + } + static _create_2(target, effect) { + return new KeyframeEffect(target, effect); + } +}; +dart.addTypeTests(html$.KeyframeEffect); +dart.addTypeCaches(html$.KeyframeEffect); +dart.setLibraryUri(html$.KeyframeEffect, I[148]); +dart.registerExtension("KeyframeEffect", html$.KeyframeEffect); +html$.LIElement = class LIElement extends html$.HtmlElement { + static new() { + return html$.document.createElement("li"); + } + get [S.$value]() { + return this.value; + } + set [S.$value](value) { + this.value = value; + } +}; +(html$.LIElement.created = function() { + html$.LIElement.__proto__.created.call(this); + ; +}).prototype = html$.LIElement.prototype; +dart.addTypeTests(html$.LIElement); +dart.addTypeCaches(html$.LIElement); +dart.setGetterSignature(html$.LIElement, () => ({ + __proto__: dart.getGetters(html$.LIElement.__proto__), + [S.$value]: core.int +})); +dart.setSetterSignature(html$.LIElement, () => ({ + __proto__: dart.getSetters(html$.LIElement.__proto__), + [S.$value]: core.int +})); +dart.setLibraryUri(html$.LIElement, I[148]); +dart.registerExtension("HTMLLIElement", html$.LIElement); +html$.LabelElement = class LabelElement extends html$.HtmlElement { + static new() { + return html$.document.createElement("label"); + } + get [S$1.$control]() { + return this.control; + } + get [S$.$form]() { + return this.form; + } + get [S$1.$htmlFor]() { + return this.htmlFor; + } + set [S$1.$htmlFor](value) { + this.htmlFor = value; + } +}; +(html$.LabelElement.created = function() { + html$.LabelElement.__proto__.created.call(this); + ; +}).prototype = html$.LabelElement.prototype; +dart.addTypeTests(html$.LabelElement); +dart.addTypeCaches(html$.LabelElement); +dart.setGetterSignature(html$.LabelElement, () => ({ + __proto__: dart.getGetters(html$.LabelElement.__proto__), + [S$1.$control]: dart.nullable(html$.HtmlElement), + [S$.$form]: dart.nullable(html$.FormElement), + [S$1.$htmlFor]: core.String +})); +dart.setSetterSignature(html$.LabelElement, () => ({ + __proto__: dart.getSetters(html$.LabelElement.__proto__), + [S$1.$htmlFor]: core.String +})); +dart.setLibraryUri(html$.LabelElement, I[148]); +dart.registerExtension("HTMLLabelElement", html$.LabelElement); +html$.LegendElement = class LegendElement extends html$.HtmlElement { + static new() { + return html$.document.createElement("legend"); + } + get [S$.$form]() { + return this.form; + } +}; +(html$.LegendElement.created = function() { + html$.LegendElement.__proto__.created.call(this); + ; +}).prototype = html$.LegendElement.prototype; +dart.addTypeTests(html$.LegendElement); +dart.addTypeCaches(html$.LegendElement); +dart.setGetterSignature(html$.LegendElement, () => ({ + __proto__: dart.getGetters(html$.LegendElement.__proto__), + [S$.$form]: dart.nullable(html$.FormElement) +})); +dart.setLibraryUri(html$.LegendElement, I[148]); +dart.registerExtension("HTMLLegendElement", html$.LegendElement); +html$.LinearAccelerationSensor = class LinearAccelerationSensor$ extends html$.Accelerometer { + static new(sensorOptions = null) { + if (sensorOptions != null) { + let sensorOptions_1 = html_common.convertDartToNative_Dictionary(sensorOptions); + return html$.LinearAccelerationSensor._create_1(sensorOptions_1); + } + return html$.LinearAccelerationSensor._create_2(); + } + static _create_1(sensorOptions) { + return new LinearAccelerationSensor(sensorOptions); + } + static _create_2() { + return new LinearAccelerationSensor(); + } +}; +dart.addTypeTests(html$.LinearAccelerationSensor); +dart.addTypeCaches(html$.LinearAccelerationSensor); +dart.setLibraryUri(html$.LinearAccelerationSensor, I[148]); +dart.registerExtension("LinearAccelerationSensor", html$.LinearAccelerationSensor); +html$.LinkElement = class LinkElement extends html$.HtmlElement { + static new() { + return html$.document.createElement("link"); + } + get [S$1.$as]() { + return this.as; + } + set [S$1.$as](value) { + this.as = value; + } + get [S$.$crossOrigin]() { + return this.crossOrigin; + } + set [S$.$crossOrigin](value) { + this.crossOrigin = value; + } + get [S$.$disabled]() { + return this.disabled; + } + set [S$.$disabled](value) { + this.disabled = value; + } + get [S$.$href]() { + return this.href; + } + set [S$.$href](value) { + this.href = value; + } + get [S$.$hreflang]() { + return this.hreflang; + } + set [S$.$hreflang](value) { + this.hreflang = value; + } + get [S$1.$import]() { + return this.import; + } + get [S$1.$integrity]() { + return this.integrity; + } + set [S$1.$integrity](value) { + this.integrity = value; + } + get [S$.$media]() { + return this.media; + } + set [S$.$media](value) { + this.media = value; + } + get [S$.$referrerPolicy]() { + return this.referrerPolicy; + } + set [S$.$referrerPolicy](value) { + this.referrerPolicy = value; + } + get [S$.$rel]() { + return this.rel; + } + set [S$.$rel](value) { + this.rel = value; + } + get [S$1.$relList]() { + return this.relList; + } + get [S$1.$scope]() { + return this.scope; + } + set [S$1.$scope](value) { + this.scope = value; + } + get [S$1.$sheet]() { + return this.sheet; + } + get [S$1.$sizes]() { + return this.sizes; + } + get [S.$type]() { + return this.type; + } + set [S.$type](value) { + this.type = value; + } + get [S$1.$supportsImport]() { + return "import" in this; + } +}; +(html$.LinkElement.created = function() { + html$.LinkElement.__proto__.created.call(this); + ; +}).prototype = html$.LinkElement.prototype; +dart.addTypeTests(html$.LinkElement); +dart.addTypeCaches(html$.LinkElement); +dart.setGetterSignature(html$.LinkElement, () => ({ + __proto__: dart.getGetters(html$.LinkElement.__proto__), + [S$1.$as]: dart.nullable(core.String), + [S$.$crossOrigin]: dart.nullable(core.String), + [S$.$disabled]: dart.nullable(core.bool), + [S$.$href]: core.String, + [S$.$hreflang]: core.String, + [S$1.$import]: dart.nullable(html$.Document), + [S$1.$integrity]: dart.nullable(core.String), + [S$.$media]: core.String, + [S$.$referrerPolicy]: dart.nullable(core.String), + [S$.$rel]: core.String, + [S$1.$relList]: dart.nullable(html$.DomTokenList), + [S$1.$scope]: dart.nullable(core.String), + [S$1.$sheet]: dart.nullable(html$.StyleSheet), + [S$1.$sizes]: dart.nullable(html$.DomTokenList), + [S.$type]: core.String, + [S$1.$supportsImport]: core.bool +})); +dart.setSetterSignature(html$.LinkElement, () => ({ + __proto__: dart.getSetters(html$.LinkElement.__proto__), + [S$1.$as]: dart.nullable(core.String), + [S$.$crossOrigin]: dart.nullable(core.String), + [S$.$disabled]: dart.nullable(core.bool), + [S$.$href]: core.String, + [S$.$hreflang]: core.String, + [S$1.$integrity]: dart.nullable(core.String), + [S$.$media]: core.String, + [S$.$referrerPolicy]: dart.nullable(core.String), + [S$.$rel]: core.String, + [S$1.$scope]: dart.nullable(core.String), + [S.$type]: core.String +})); +dart.setLibraryUri(html$.LinkElement, I[148]); +dart.registerExtension("HTMLLinkElement", html$.LinkElement); +html$.Location = class Location extends _interceptors.Interceptor { + get [S$1.$ancestorOrigins]() { + return this.ancestorOrigins; + } + get [S$.$hash]() { + return this.hash; + } + set [S$.$hash](value) { + this.hash = value; + } + get [S$.$host]() { + return this.host; + } + set [S$.$host](value) { + this.host = value; + } + get [S$.$hostname]() { + return this.hostname; + } + set [S$.$hostname](value) { + this.hostname = value; + } + get [S$.$href]() { + return this.href; + } + set [S$.$href](value) { + this.href = value; + } + get [S$.$pathname]() { + return this.pathname; + } + set [S$.$pathname](value) { + this.pathname = value; + } + get [S$.$port]() { + return this.port; + } + set [S$.$port](value) { + this.port = value; + } + get [S$.$protocol]() { + return this.protocol; + } + set [S$.$protocol](value) { + this.protocol = value; + } + get [S$.$search]() { + return this.search; + } + set [S$.$search](value) { + this.search = value; + } + get [S$1.$trustedHref]() { + return this.trustedHref; + } + set [S$1.$trustedHref](value) { + this.trustedHref = value; + } + [S$1.$assign](...args) { + return this.assign.apply(this, args); + } + [S$1.$reload](...args) { + return this.reload.apply(this, args); + } + [S$1.$replace](...args) { + return this.replace.apply(this, args); + } + get [S$.$origin]() { + if ("origin" in this) { + return this.origin; + } + return dart.str(this.protocol) + "//" + dart.str(this.host); + } + [$toString]() { + return String(this); + } +}; +dart.addTypeTests(html$.Location); +dart.addTypeCaches(html$.Location); +html$.Location[dart.implements] = () => [html$.LocationBase]; +dart.setMethodSignature(html$.Location, () => ({ + __proto__: dart.getMethods(html$.Location.__proto__), + [S$1.$assign]: dart.fnType(dart.void, [], [dart.nullable(core.String)]), + [S$1.$reload]: dart.fnType(dart.void, []), + [S$1.$replace]: dart.fnType(dart.void, [dart.nullable(core.String)]) +})); +dart.setGetterSignature(html$.Location, () => ({ + __proto__: dart.getGetters(html$.Location.__proto__), + [S$1.$ancestorOrigins]: dart.nullable(core.List$(core.String)), + [S$.$hash]: core.String, + [S$.$host]: core.String, + [S$.$hostname]: dart.nullable(core.String), + [S$.$href]: core.String, + [S$.$pathname]: dart.nullable(core.String), + [S$.$port]: core.String, + [S$.$protocol]: core.String, + [S$.$search]: dart.nullable(core.String), + [S$1.$trustedHref]: dart.nullable(html$.TrustedUrl), + [S$.$origin]: core.String +})); +dart.setSetterSignature(html$.Location, () => ({ + __proto__: dart.getSetters(html$.Location.__proto__), + [S$.$hash]: core.String, + [S$.$host]: core.String, + [S$.$hostname]: dart.nullable(core.String), + [S$.$href]: core.String, + [S$.$pathname]: dart.nullable(core.String), + [S$.$port]: core.String, + [S$.$protocol]: core.String, + [S$.$search]: dart.nullable(core.String), + [S$1.$trustedHref]: dart.nullable(html$.TrustedUrl) +})); +dart.setLibraryUri(html$.Location, I[148]); +dart.registerExtension("Location", html$.Location); +html$.Magnetometer = class Magnetometer$ extends html$.Sensor { + static new(sensorOptions = null) { + if (sensorOptions != null) { + let sensorOptions_1 = html_common.convertDartToNative_Dictionary(sensorOptions); + return html$.Magnetometer._create_1(sensorOptions_1); + } + return html$.Magnetometer._create_2(); + } + static _create_1(sensorOptions) { + return new Magnetometer(sensorOptions); + } + static _create_2() { + return new Magnetometer(); + } + get [S$.$x]() { + return this.x; + } + get [S$.$y]() { + return this.y; + } + get [S$.$z]() { + return this.z; + } +}; +dart.addTypeTests(html$.Magnetometer); +dart.addTypeCaches(html$.Magnetometer); +dart.setGetterSignature(html$.Magnetometer, () => ({ + __proto__: dart.getGetters(html$.Magnetometer.__proto__), + [S$.$x]: dart.nullable(core.num), + [S$.$y]: dart.nullable(core.num), + [S$.$z]: dart.nullable(core.num) +})); +dart.setLibraryUri(html$.Magnetometer, I[148]); +dart.registerExtension("Magnetometer", html$.Magnetometer); +html$.MapElement = class MapElement extends html$.HtmlElement { + static new() { + return html$.document.createElement("map"); + } + get [S$1.$areas]() { + return this.areas; + } + get [$name]() { + return this.name; + } + set [$name](value) { + this.name = value; + } +}; +(html$.MapElement.created = function() { + html$.MapElement.__proto__.created.call(this); + ; +}).prototype = html$.MapElement.prototype; +dart.addTypeTests(html$.MapElement); +dart.addTypeCaches(html$.MapElement); +dart.setGetterSignature(html$.MapElement, () => ({ + __proto__: dart.getGetters(html$.MapElement.__proto__), + [S$1.$areas]: core.List$(html$.Node), + [$name]: core.String +})); +dart.setSetterSignature(html$.MapElement, () => ({ + __proto__: dart.getSetters(html$.MapElement.__proto__), + [$name]: core.String +})); +dart.setLibraryUri(html$.MapElement, I[148]); +dart.registerExtension("HTMLMapElement", html$.MapElement); +html$.MediaCapabilities = class MediaCapabilities extends _interceptors.Interceptor { + [S$1.$decodingInfo](configuration) { + if (configuration == null) dart.nullFailed(I[147], 20477, 50, "configuration"); + let configuration_dict = html_common.convertDartToNative_Dictionary(configuration); + return js_util.promiseToFuture(html$.MediaCapabilitiesInfo, this.decodingInfo(configuration_dict)); + } + [S$1.$encodingInfo](configuration) { + if (configuration == null) dart.nullFailed(I[147], 20486, 50, "configuration"); + let configuration_dict = html_common.convertDartToNative_Dictionary(configuration); + return js_util.promiseToFuture(html$.MediaCapabilitiesInfo, this.encodingInfo(configuration_dict)); + } +}; +dart.addTypeTests(html$.MediaCapabilities); +dart.addTypeCaches(html$.MediaCapabilities); +dart.setMethodSignature(html$.MediaCapabilities, () => ({ + __proto__: dart.getMethods(html$.MediaCapabilities.__proto__), + [S$1.$decodingInfo]: dart.fnType(async.Future$(html$.MediaCapabilitiesInfo), [core.Map]), + [S$1.$encodingInfo]: dart.fnType(async.Future$(html$.MediaCapabilitiesInfo), [core.Map]) +})); +dart.setLibraryUri(html$.MediaCapabilities, I[148]); +dart.registerExtension("MediaCapabilities", html$.MediaCapabilities); +html$.MediaCapabilitiesInfo = class MediaCapabilitiesInfo extends _interceptors.Interceptor { + get [S$1.$powerEfficient]() { + return this.powerEfficient; + } + get [S$1.$smooth]() { + return this.smooth; + } + get [S$1.$supported]() { + return this.supported; + } +}; +dart.addTypeTests(html$.MediaCapabilitiesInfo); +dart.addTypeCaches(html$.MediaCapabilitiesInfo); +dart.setGetterSignature(html$.MediaCapabilitiesInfo, () => ({ + __proto__: dart.getGetters(html$.MediaCapabilitiesInfo.__proto__), + [S$1.$powerEfficient]: dart.nullable(core.bool), + [S$1.$smooth]: dart.nullable(core.bool), + [S$1.$supported]: dart.nullable(core.bool) +})); +dart.setLibraryUri(html$.MediaCapabilitiesInfo, I[148]); +dart.registerExtension("MediaCapabilitiesInfo", html$.MediaCapabilitiesInfo); +html$.MediaDeviceInfo = class MediaDeviceInfo extends _interceptors.Interceptor { + get [S$1.$deviceId]() { + return this.deviceId; + } + get [S$1.$groupId]() { + return this.groupId; + } + get [S$.$kind]() { + return this.kind; + } + get [S$.$label]() { + return this.label; + } +}; +dart.addTypeTests(html$.MediaDeviceInfo); +dart.addTypeCaches(html$.MediaDeviceInfo); +dart.setGetterSignature(html$.MediaDeviceInfo, () => ({ + __proto__: dart.getGetters(html$.MediaDeviceInfo.__proto__), + [S$1.$deviceId]: dart.nullable(core.String), + [S$1.$groupId]: dart.nullable(core.String), + [S$.$kind]: dart.nullable(core.String), + [S$.$label]: dart.nullable(core.String) +})); +dart.setLibraryUri(html$.MediaDeviceInfo, I[148]); +dart.registerExtension("MediaDeviceInfo", html$.MediaDeviceInfo); +html$.MediaDevices = class MediaDevices extends html$.EventTarget { + [S$1.$enumerateDevices]() { + return js_util.promiseToFuture(core.List, this.enumerateDevices()); + } + [S$1.$getSupportedConstraints]() { + return dart.nullCheck(html_common.convertNativeToDart_Dictionary(this[S$1._getSupportedConstraints_1]())); + } + [S$1._getSupportedConstraints_1](...args) { + return this.getSupportedConstraints.apply(this, args); + } + [S$1.$getUserMedia](constraints = null) { + let constraints_dict = null; + if (constraints != null) { + constraints_dict = html_common.convertDartToNative_Dictionary(constraints); + } + return js_util.promiseToFuture(html$.MediaStream, this.getUserMedia(constraints_dict)); + } +}; +dart.addTypeTests(html$.MediaDevices); +dart.addTypeCaches(html$.MediaDevices); +dart.setMethodSignature(html$.MediaDevices, () => ({ + __proto__: dart.getMethods(html$.MediaDevices.__proto__), + [S$1.$enumerateDevices]: dart.fnType(async.Future$(core.List), []), + [S$1.$getSupportedConstraints]: dart.fnType(core.Map, []), + [S$1._getSupportedConstraints_1]: dart.fnType(dart.dynamic, []), + [S$1.$getUserMedia]: dart.fnType(async.Future$(html$.MediaStream), [], [dart.nullable(core.Map)]) +})); +dart.setLibraryUri(html$.MediaDevices, I[148]); +dart.registerExtension("MediaDevices", html$.MediaDevices); +html$.MediaEncryptedEvent = class MediaEncryptedEvent$ extends html$.Event { + static new(type, eventInitDict = null) { + if (type == null) dart.nullFailed(I[147], 20729, 38, "type"); + if (eventInitDict != null) { + let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); + return html$.MediaEncryptedEvent._create_1(type, eventInitDict_1); + } + return html$.MediaEncryptedEvent._create_2(type); + } + static _create_1(type, eventInitDict) { + return new MediaEncryptedEvent(type, eventInitDict); + } + static _create_2(type) { + return new MediaEncryptedEvent(type); + } + get [S$1.$initData]() { + return this.initData; + } + get [S$1.$initDataType]() { + return this.initDataType; + } +}; +dart.addTypeTests(html$.MediaEncryptedEvent); +dart.addTypeCaches(html$.MediaEncryptedEvent); +dart.setGetterSignature(html$.MediaEncryptedEvent, () => ({ + __proto__: dart.getGetters(html$.MediaEncryptedEvent.__proto__), + [S$1.$initData]: dart.nullable(typed_data.ByteBuffer), + [S$1.$initDataType]: dart.nullable(core.String) +})); +dart.setLibraryUri(html$.MediaEncryptedEvent, I[148]); +dart.registerExtension("MediaEncryptedEvent", html$.MediaEncryptedEvent); +html$.MediaError = class MediaError extends _interceptors.Interceptor { + get [S$.$code]() { + return this.code; + } + get [$message]() { + return this.message; + } +}; +dart.addTypeTests(html$.MediaError); +dart.addTypeCaches(html$.MediaError); +dart.setGetterSignature(html$.MediaError, () => ({ + __proto__: dart.getGetters(html$.MediaError.__proto__), + [S$.$code]: core.int, + [$message]: dart.nullable(core.String) +})); +dart.setLibraryUri(html$.MediaError, I[148]); +dart.defineLazy(html$.MediaError, { + /*html$.MediaError.MEDIA_ERR_ABORTED*/get MEDIA_ERR_ABORTED() { + return 1; + }, + /*html$.MediaError.MEDIA_ERR_DECODE*/get MEDIA_ERR_DECODE() { + return 3; + }, + /*html$.MediaError.MEDIA_ERR_NETWORK*/get MEDIA_ERR_NETWORK() { + return 2; + }, + /*html$.MediaError.MEDIA_ERR_SRC_NOT_SUPPORTED*/get MEDIA_ERR_SRC_NOT_SUPPORTED() { + return 4; + } +}, false); +dart.registerExtension("MediaError", html$.MediaError); +html$.MediaKeyMessageEvent = class MediaKeyMessageEvent$ extends html$.Event { + static new(type, eventInitDict) { + if (type == null) dart.nullFailed(I[147], 20783, 39, "type"); + if (eventInitDict == null) dart.nullFailed(I[147], 20783, 49, "eventInitDict"); + let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); + return html$.MediaKeyMessageEvent._create_1(type, eventInitDict_1); + } + static _create_1(type, eventInitDict) { + return new MediaKeyMessageEvent(type, eventInitDict); + } + get [$message]() { + return this.message; + } + get [S$1.$messageType]() { + return this.messageType; + } +}; +dart.addTypeTests(html$.MediaKeyMessageEvent); +dart.addTypeCaches(html$.MediaKeyMessageEvent); +dart.setGetterSignature(html$.MediaKeyMessageEvent, () => ({ + __proto__: dart.getGetters(html$.MediaKeyMessageEvent.__proto__), + [$message]: dart.nullable(typed_data.ByteBuffer), + [S$1.$messageType]: dart.nullable(core.String) +})); +dart.setLibraryUri(html$.MediaKeyMessageEvent, I[148]); +dart.registerExtension("MediaKeyMessageEvent", html$.MediaKeyMessageEvent); +html$.MediaKeySession = class MediaKeySession extends html$.EventTarget { + get [S$1.$closed]() { + return js_util.promiseToFuture(dart.void, this.closed); + } + get [S$1.$expiration]() { + return this.expiration; + } + get [S$1.$keyStatuses]() { + return this.keyStatuses; + } + get [S$1.$sessionId]() { + return this.sessionId; + } + [S.$close]() { + return js_util.promiseToFuture(dart.dynamic, this.close()); + } + [S$1.$generateRequest](initDataType, initData) { + if (initDataType == null) dart.nullFailed(I[147], 20821, 33, "initDataType"); + return js_util.promiseToFuture(dart.dynamic, this.generateRequest(initDataType, initData)); + } + [S$.$load](sessionId) { + if (sessionId == null) dart.nullFailed(I[147], 20825, 22, "sessionId"); + return js_util.promiseToFuture(dart.dynamic, this.load(sessionId)); + } + [$remove]() { + return js_util.promiseToFuture(dart.dynamic, this.remove()); + } + [S$1._update$1](...args) { + return this.update.apply(this, args); + } + get [S$.$onMessage]() { + return html$.MediaKeySession.messageEvent.forTarget(this); + } +}; +dart.addTypeTests(html$.MediaKeySession); +dart.addTypeCaches(html$.MediaKeySession); +dart.setMethodSignature(html$.MediaKeySession, () => ({ + __proto__: dart.getMethods(html$.MediaKeySession.__proto__), + [S.$close]: dart.fnType(async.Future, []), + [S$1.$generateRequest]: dart.fnType(async.Future, [core.String, dart.dynamic]), + [S$.$load]: dart.fnType(async.Future, [core.String]), + [$remove]: dart.fnType(async.Future, []), + [S$1._update$1]: dart.fnType(async.Future, [dart.dynamic]) +})); +dart.setGetterSignature(html$.MediaKeySession, () => ({ + __proto__: dart.getGetters(html$.MediaKeySession.__proto__), + [S$1.$closed]: async.Future$(dart.void), + [S$1.$expiration]: dart.nullable(core.num), + [S$1.$keyStatuses]: dart.nullable(html$.MediaKeyStatusMap), + [S$1.$sessionId]: dart.nullable(core.String), + [S$.$onMessage]: async.Stream$(html$.MessageEvent) +})); +dart.setLibraryUri(html$.MediaKeySession, I[148]); +dart.defineLazy(html$.MediaKeySession, { + /*html$.MediaKeySession.messageEvent*/get messageEvent() { + return C[312] || CT.C312; + } +}, false); +dart.registerExtension("MediaKeySession", html$.MediaKeySession); +html$.MediaKeyStatusMap = class MediaKeyStatusMap extends _interceptors.Interceptor { + get [S$.$size]() { + return this.size; + } + [S.$get](...args) { + return this.get.apply(this, args); + } + [S$.$has](...args) { + return this.has.apply(this, args); + } +}; +dart.addTypeTests(html$.MediaKeyStatusMap); +dart.addTypeCaches(html$.MediaKeyStatusMap); +dart.setMethodSignature(html$.MediaKeyStatusMap, () => ({ + __proto__: dart.getMethods(html$.MediaKeyStatusMap.__proto__), + [S.$get]: dart.fnType(dart.nullable(core.Object), [dart.dynamic]), + [S$.$has]: dart.fnType(core.bool, [dart.dynamic]) +})); +dart.setGetterSignature(html$.MediaKeyStatusMap, () => ({ + __proto__: dart.getGetters(html$.MediaKeyStatusMap.__proto__), + [S$.$size]: dart.nullable(core.int) +})); +dart.setLibraryUri(html$.MediaKeyStatusMap, I[148]); +dart.registerExtension("MediaKeyStatusMap", html$.MediaKeyStatusMap); +html$.MediaKeySystemAccess = class MediaKeySystemAccess extends _interceptors.Interceptor { + get [S$1.$keySystem]() { + return this.keySystem; + } + [S$1.$createMediaKeys]() { + return js_util.promiseToFuture(dart.dynamic, this.createMediaKeys()); + } + [S$1.$getConfiguration]() { + return dart.nullCheck(html_common.convertNativeToDart_Dictionary(this[S$1._getConfiguration_1]())); + } + [S$1._getConfiguration_1](...args) { + return this.getConfiguration.apply(this, args); + } +}; +dart.addTypeTests(html$.MediaKeySystemAccess); +dart.addTypeCaches(html$.MediaKeySystemAccess); +dart.setMethodSignature(html$.MediaKeySystemAccess, () => ({ + __proto__: dart.getMethods(html$.MediaKeySystemAccess.__proto__), + [S$1.$createMediaKeys]: dart.fnType(async.Future, []), + [S$1.$getConfiguration]: dart.fnType(core.Map, []), + [S$1._getConfiguration_1]: dart.fnType(dart.dynamic, []) +})); +dart.setGetterSignature(html$.MediaKeySystemAccess, () => ({ + __proto__: dart.getGetters(html$.MediaKeySystemAccess.__proto__), + [S$1.$keySystem]: dart.nullable(core.String) +})); +dart.setLibraryUri(html$.MediaKeySystemAccess, I[148]); +dart.registerExtension("MediaKeySystemAccess", html$.MediaKeySystemAccess); +html$.MediaKeys = class MediaKeys extends _interceptors.Interceptor { + [S$1._createSession](...args) { + return this.createSession.apply(this, args); + } + [S$1.$getStatusForPolicy](policy) { + if (policy == null) dart.nullFailed(I[147], 20889, 45, "policy"); + return js_util.promiseToFuture(dart.dynamic, this.getStatusForPolicy(policy)); + } + [S$1.$setServerCertificate](serverCertificate) { + return js_util.promiseToFuture(dart.dynamic, this.setServerCertificate(serverCertificate)); + } +}; +dart.addTypeTests(html$.MediaKeys); +dart.addTypeCaches(html$.MediaKeys); +dart.setMethodSignature(html$.MediaKeys, () => ({ + __proto__: dart.getMethods(html$.MediaKeys.__proto__), + [S$1._createSession]: dart.fnType(html$.MediaKeySession, [], [dart.nullable(core.String)]), + [S$1.$getStatusForPolicy]: dart.fnType(async.Future, [html$.MediaKeysPolicy]), + [S$1.$setServerCertificate]: dart.fnType(async.Future, [dart.dynamic]) +})); +dart.setLibraryUri(html$.MediaKeys, I[148]); +dart.registerExtension("MediaKeys", html$.MediaKeys); +html$.MediaKeysPolicy = class MediaKeysPolicy$ extends _interceptors.Interceptor { + static new(init) { + if (init == null) dart.nullFailed(I[147], 20907, 31, "init"); + let init_1 = html_common.convertDartToNative_Dictionary(init); + return html$.MediaKeysPolicy._create_1(init_1); + } + static _create_1(init) { + return new MediaKeysPolicy(init); + } + get [S$1.$minHdcpVersion]() { + return this.minHdcpVersion; + } +}; +dart.addTypeTests(html$.MediaKeysPolicy); +dart.addTypeCaches(html$.MediaKeysPolicy); +dart.setGetterSignature(html$.MediaKeysPolicy, () => ({ + __proto__: dart.getGetters(html$.MediaKeysPolicy.__proto__), + [S$1.$minHdcpVersion]: dart.nullable(core.String) +})); +dart.setLibraryUri(html$.MediaKeysPolicy, I[148]); +dart.registerExtension("MediaKeysPolicy", html$.MediaKeysPolicy); +html$.MediaList = class MediaList extends _interceptors.Interceptor { + get [$length]() { + return this.length; + } + get [S$1.$mediaText]() { + return this.mediaText; + } + set [S$1.$mediaText](value) { + this.mediaText = value; + } + [S$1.$appendMedium](...args) { + return this.appendMedium.apply(this, args); + } + [S$1.$deleteMedium](...args) { + return this.deleteMedium.apply(this, args); + } + [S$.$item](...args) { + return this.item.apply(this, args); + } +}; +dart.addTypeTests(html$.MediaList); +dart.addTypeCaches(html$.MediaList); +dart.setMethodSignature(html$.MediaList, () => ({ + __proto__: dart.getMethods(html$.MediaList.__proto__), + [S$1.$appendMedium]: dart.fnType(dart.void, [core.String]), + [S$1.$deleteMedium]: dart.fnType(dart.void, [core.String]), + [S$.$item]: dart.fnType(dart.nullable(core.String), [core.int]) +})); +dart.setGetterSignature(html$.MediaList, () => ({ + __proto__: dart.getGetters(html$.MediaList.__proto__), + [$length]: dart.nullable(core.int), + [S$1.$mediaText]: dart.nullable(core.String) +})); +dart.setSetterSignature(html$.MediaList, () => ({ + __proto__: dart.getSetters(html$.MediaList.__proto__), + [S$1.$mediaText]: dart.nullable(core.String) +})); +dart.setLibraryUri(html$.MediaList, I[148]); +dart.registerExtension("MediaList", html$.MediaList); +html$.MediaMetadata = class MediaMetadata$ extends _interceptors.Interceptor { + static new(metadata = null) { + if (metadata != null) { + let metadata_1 = html_common.convertDartToNative_Dictionary(metadata); + return html$.MediaMetadata._create_1(metadata_1); + } + return html$.MediaMetadata._create_2(); + } + static _create_1(metadata) { + return new MediaMetadata(metadata); + } + static _create_2() { + return new MediaMetadata(); + } + get [S$1.$album]() { + return this.album; + } + set [S$1.$album](value) { + this.album = value; + } + get [S$1.$artist]() { + return this.artist; + } + set [S$1.$artist](value) { + this.artist = value; + } + get [S$1.$artwork]() { + return this.artwork; + } + set [S$1.$artwork](value) { + this.artwork = value; + } + get [S.$title]() { + return this.title; + } + set [S.$title](value) { + this.title = value; + } +}; +dart.addTypeTests(html$.MediaMetadata); +dart.addTypeCaches(html$.MediaMetadata); +dart.setGetterSignature(html$.MediaMetadata, () => ({ + __proto__: dart.getGetters(html$.MediaMetadata.__proto__), + [S$1.$album]: dart.nullable(core.String), + [S$1.$artist]: dart.nullable(core.String), + [S$1.$artwork]: dart.nullable(core.List), + [S.$title]: dart.nullable(core.String) +})); +dart.setSetterSignature(html$.MediaMetadata, () => ({ + __proto__: dart.getSetters(html$.MediaMetadata.__proto__), + [S$1.$album]: dart.nullable(core.String), + [S$1.$artist]: dart.nullable(core.String), + [S$1.$artwork]: dart.nullable(core.List), + [S.$title]: dart.nullable(core.String) +})); +dart.setLibraryUri(html$.MediaMetadata, I[148]); +dart.registerExtension("MediaMetadata", html$.MediaMetadata); +html$.MediaQueryList = class MediaQueryList extends html$.EventTarget { + get [S.$matches]() { + return this.matches; + } + get [S$.$media]() { + return this.media; + } + [S$1.$addListener](...args) { + return this.addListener.apply(this, args); + } + [S$1.$removeListener](...args) { + return this.removeListener.apply(this, args); + } + get [S.$onChange]() { + return html$.MediaQueryList.changeEvent.forTarget(this); + } +}; +dart.addTypeTests(html$.MediaQueryList); +dart.addTypeCaches(html$.MediaQueryList); +dart.setMethodSignature(html$.MediaQueryList, () => ({ + __proto__: dart.getMethods(html$.MediaQueryList.__proto__), + [S$1.$addListener]: dart.fnType(dart.void, [dart.nullable(dart.fnType(dart.dynamic, [html$.Event]))]), + [S$1.$removeListener]: dart.fnType(dart.void, [dart.nullable(dart.fnType(dart.dynamic, [html$.Event]))]) +})); +dart.setGetterSignature(html$.MediaQueryList, () => ({ + __proto__: dart.getGetters(html$.MediaQueryList.__proto__), + [S.$matches]: core.bool, + [S$.$media]: core.String, + [S.$onChange]: async.Stream$(html$.Event) +})); +dart.setLibraryUri(html$.MediaQueryList, I[148]); +dart.defineLazy(html$.MediaQueryList, { + /*html$.MediaQueryList.changeEvent*/get changeEvent() { + return C[236] || CT.C236; + } +}, false); +dart.registerExtension("MediaQueryList", html$.MediaQueryList); +html$.MediaQueryListEvent = class MediaQueryListEvent$ extends html$.Event { + static new(type, eventInitDict = null) { + if (type == null) dart.nullFailed(I[147], 21015, 38, "type"); + if (eventInitDict != null) { + let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); + return html$.MediaQueryListEvent._create_1(type, eventInitDict_1); + } + return html$.MediaQueryListEvent._create_2(type); + } + static _create_1(type, eventInitDict) { + return new MediaQueryListEvent(type, eventInitDict); + } + static _create_2(type) { + return new MediaQueryListEvent(type); + } + get [S.$matches]() { + return this.matches; + } + get [S$.$media]() { + return this.media; + } +}; +dart.addTypeTests(html$.MediaQueryListEvent); +dart.addTypeCaches(html$.MediaQueryListEvent); +dart.setGetterSignature(html$.MediaQueryListEvent, () => ({ + __proto__: dart.getGetters(html$.MediaQueryListEvent.__proto__), + [S.$matches]: dart.nullable(core.bool), + [S$.$media]: dart.nullable(core.String) +})); +dart.setLibraryUri(html$.MediaQueryListEvent, I[148]); +dart.registerExtension("MediaQueryListEvent", html$.MediaQueryListEvent); +html$.MediaRecorder = class MediaRecorder$ extends html$.EventTarget { + static new(stream, options = null) { + if (stream == null) dart.nullFailed(I[147], 21051, 37, "stream"); + if (options != null) { + let options_1 = html_common.convertDartToNative_Dictionary(options); + return html$.MediaRecorder._create_1(stream, options_1); + } + return html$.MediaRecorder._create_2(stream); + } + static _create_1(stream, options) { + return new MediaRecorder(stream, options); + } + static _create_2(stream) { + return new MediaRecorder(stream); + } + get [S$1.$audioBitsPerSecond]() { + return this.audioBitsPerSecond; + } + get [S$1.$mimeType]() { + return this.mimeType; + } + get [S$.$state]() { + return this.state; + } + get [S$1.$stream]() { + return this.stream; + } + get [S$1.$videoBitsPerSecond]() { + return this.videoBitsPerSecond; + } + [S$.$pause](...args) { + return this.pause.apply(this, args); + } + [S$1.$requestData](...args) { + return this.requestData.apply(this, args); + } + [S$1.$resume](...args) { + return this.resume.apply(this, args); + } + [S$.$start](...args) { + return this.start.apply(this, args); + } + [S$.$stop](...args) { + return this.stop.apply(this, args); + } + get [S.$onError]() { + return html$.MediaRecorder.errorEvent.forTarget(this); + } + get [S.$onPause]() { + return html$.MediaRecorder.pauseEvent.forTarget(this); + } +}; +dart.addTypeTests(html$.MediaRecorder); +dart.addTypeCaches(html$.MediaRecorder); +dart.setMethodSignature(html$.MediaRecorder, () => ({ + __proto__: dart.getMethods(html$.MediaRecorder.__proto__), + [S$.$pause]: dart.fnType(dart.void, []), + [S$1.$requestData]: dart.fnType(dart.void, []), + [S$1.$resume]: dart.fnType(dart.void, []), + [S$.$start]: dart.fnType(dart.void, [], [dart.nullable(core.int)]), + [S$.$stop]: dart.fnType(dart.void, []) +})); +dart.setGetterSignature(html$.MediaRecorder, () => ({ + __proto__: dart.getGetters(html$.MediaRecorder.__proto__), + [S$1.$audioBitsPerSecond]: dart.nullable(core.int), + [S$1.$mimeType]: dart.nullable(core.String), + [S$.$state]: dart.nullable(core.String), + [S$1.$stream]: dart.nullable(html$.MediaStream), + [S$1.$videoBitsPerSecond]: dart.nullable(core.int), + [S.$onError]: async.Stream$(html$.Event), + [S.$onPause]: async.Stream$(html$.Event) +})); +dart.setLibraryUri(html$.MediaRecorder, I[148]); +dart.defineLazy(html$.MediaRecorder, { + /*html$.MediaRecorder.errorEvent*/get errorEvent() { + return C[216] || CT.C216; + }, + /*html$.MediaRecorder.pauseEvent*/get pauseEvent() { + return C[269] || CT.C269; + } +}, false); +dart.registerExtension("MediaRecorder", html$.MediaRecorder); +html$.MediaSession = class MediaSession extends _interceptors.Interceptor { + get [S$1.$metadata]() { + return this.metadata; + } + set [S$1.$metadata](value) { + this.metadata = value; + } + get [S$1.$playbackState]() { + return this.playbackState; + } + set [S$1.$playbackState](value) { + this.playbackState = value; + } + [S$1.$setActionHandler](...args) { + return this.setActionHandler.apply(this, args); + } +}; +dart.addTypeTests(html$.MediaSession); +dart.addTypeCaches(html$.MediaSession); +dart.setMethodSignature(html$.MediaSession, () => ({ + __proto__: dart.getMethods(html$.MediaSession.__proto__), + [S$1.$setActionHandler]: dart.fnType(dart.void, [core.String, dart.nullable(dart.fnType(dart.void, []))]) +})); +dart.setGetterSignature(html$.MediaSession, () => ({ + __proto__: dart.getGetters(html$.MediaSession.__proto__), + [S$1.$metadata]: dart.nullable(html$.MediaMetadata), + [S$1.$playbackState]: dart.nullable(core.String) +})); +dart.setSetterSignature(html$.MediaSession, () => ({ + __proto__: dart.getSetters(html$.MediaSession.__proto__), + [S$1.$metadata]: dart.nullable(html$.MediaMetadata), + [S$1.$playbackState]: dart.nullable(core.String) +})); +dart.setLibraryUri(html$.MediaSession, I[148]); +dart.registerExtension("MediaSession", html$.MediaSession); +html$.MediaSettingsRange = class MediaSettingsRange extends _interceptors.Interceptor { + get [S$1.$max]() { + return this.max; + } + get [S$1.$min]() { + return this.min; + } + get [S$1.$step]() { + return this.step; + } +}; +dart.addTypeTests(html$.MediaSettingsRange); +dart.addTypeCaches(html$.MediaSettingsRange); +dart.setGetterSignature(html$.MediaSettingsRange, () => ({ + __proto__: dart.getGetters(html$.MediaSettingsRange.__proto__), + [S$1.$max]: dart.nullable(core.num), + [S$1.$min]: dart.nullable(core.num), + [S$1.$step]: dart.nullable(core.num) +})); +dart.setLibraryUri(html$.MediaSettingsRange, I[148]); +dart.registerExtension("MediaSettingsRange", html$.MediaSettingsRange); +html$.MediaSource = class MediaSource$ extends html$.EventTarget { + static new() { + return html$.MediaSource._create_1(); + } + static _create_1() { + return new MediaSource(); + } + static get supported() { + return !!window.MediaSource; + } + get [S$1.$activeSourceBuffers]() { + return this.activeSourceBuffers; + } + get [S$.$duration]() { + return this.duration; + } + set [S$.$duration](value) { + this.duration = value; + } + get [S.$readyState]() { + return this.readyState; + } + get [S$1.$sourceBuffers]() { + return this.sourceBuffers; + } + [S$1.$addSourceBuffer](...args) { + return this.addSourceBuffer.apply(this, args); + } + [S$1.$clearLiveSeekableRange](...args) { + return this.clearLiveSeekableRange.apply(this, args); + } + [S$1.$endOfStream](...args) { + return this.endOfStream.apply(this, args); + } + [S$1.$removeSourceBuffer](...args) { + return this.removeSourceBuffer.apply(this, args); + } + [S$1.$setLiveSeekableRange](...args) { + return this.setLiveSeekableRange.apply(this, args); + } +}; +dart.addTypeTests(html$.MediaSource); +dart.addTypeCaches(html$.MediaSource); +dart.setMethodSignature(html$.MediaSource, () => ({ + __proto__: dart.getMethods(html$.MediaSource.__proto__), + [S$1.$addSourceBuffer]: dart.fnType(html$.SourceBuffer, [core.String]), + [S$1.$clearLiveSeekableRange]: dart.fnType(dart.void, []), + [S$1.$endOfStream]: dart.fnType(dart.void, [], [dart.nullable(core.String)]), + [S$1.$removeSourceBuffer]: dart.fnType(dart.void, [html$.SourceBuffer]), + [S$1.$setLiveSeekableRange]: dart.fnType(dart.void, [core.num, core.num]) +})); +dart.setGetterSignature(html$.MediaSource, () => ({ + __proto__: dart.getGetters(html$.MediaSource.__proto__), + [S$1.$activeSourceBuffers]: dart.nullable(html$.SourceBufferList), + [S$.$duration]: dart.nullable(core.num), + [S.$readyState]: dart.nullable(core.String), + [S$1.$sourceBuffers]: dart.nullable(html$.SourceBufferList) +})); +dart.setSetterSignature(html$.MediaSource, () => ({ + __proto__: dart.getSetters(html$.MediaSource.__proto__), + [S$.$duration]: dart.nullable(core.num) +})); +dart.setLibraryUri(html$.MediaSource, I[148]); +dart.registerExtension("MediaSource", html$.MediaSource); +html$.MediaStream = class MediaStream$ extends html$.EventTarget { + static new(stream_OR_tracks = null) { + if (stream_OR_tracks == null) { + return html$.MediaStream._create_1(); + } + if (html$.MediaStream.is(stream_OR_tracks)) { + return html$.MediaStream._create_2(stream_OR_tracks); + } + if (T$0.ListOfMediaStreamTrack().is(stream_OR_tracks)) { + return html$.MediaStream._create_3(stream_OR_tracks); + } + dart.throw(new core.ArgumentError.new("Incorrect number or type of arguments")); + } + static _create_1() { + return new MediaStream(); + } + static _create_2(stream_OR_tracks) { + return new MediaStream(stream_OR_tracks); + } + static _create_3(stream_OR_tracks) { + return new MediaStream(stream_OR_tracks); + } + get [S$1.$active]() { + return this.active; + } + get [S.$id]() { + return this.id; + } + [S$1.$addTrack](...args) { + return this.addTrack.apply(this, args); + } + [S$.$clone](...args) { + return this.clone.apply(this, args); + } + [S$1.$getAudioTracks](...args) { + return this.getAudioTracks.apply(this, args); + } + [S$1.$getTrackById](...args) { + return this.getTrackById.apply(this, args); + } + [S$1.$getTracks](...args) { + return this.getTracks.apply(this, args); + } + [S$1.$getVideoTracks](...args) { + return this.getVideoTracks.apply(this, args); + } + [S$1.$removeTrack](...args) { + return this.removeTrack.apply(this, args); + } + get [S$1.$onAddTrack]() { + return html$.MediaStream.addTrackEvent.forTarget(this); + } + get [S$1.$onRemoveTrack]() { + return html$.MediaStream.removeTrackEvent.forTarget(this); + } + static get supported() { + return !!(html$.window.navigator.getUserMedia || html$.window.navigator.webkitGetUserMedia || html$.window.navigator.mozGetUserMedia || html$.window.navigator.msGetUserMedia); + } +}; +dart.addTypeTests(html$.MediaStream); +dart.addTypeCaches(html$.MediaStream); +dart.setMethodSignature(html$.MediaStream, () => ({ + __proto__: dart.getMethods(html$.MediaStream.__proto__), + [S$1.$addTrack]: dart.fnType(dart.void, [html$.MediaStreamTrack]), + [S$.$clone]: dart.fnType(html$.MediaStream, []), + [S$1.$getAudioTracks]: dart.fnType(core.List$(html$.MediaStreamTrack), []), + [S$1.$getTrackById]: dart.fnType(dart.nullable(html$.MediaStreamTrack), [core.String]), + [S$1.$getTracks]: dart.fnType(core.List$(html$.MediaStreamTrack), []), + [S$1.$getVideoTracks]: dart.fnType(core.List$(html$.MediaStreamTrack), []), + [S$1.$removeTrack]: dart.fnType(dart.void, [html$.MediaStreamTrack]) +})); +dart.setGetterSignature(html$.MediaStream, () => ({ + __proto__: dart.getGetters(html$.MediaStream.__proto__), + [S$1.$active]: dart.nullable(core.bool), + [S.$id]: dart.nullable(core.String), + [S$1.$onAddTrack]: async.Stream$(html$.Event), + [S$1.$onRemoveTrack]: async.Stream$(html$.Event) +})); +dart.setLibraryUri(html$.MediaStream, I[148]); +dart.defineLazy(html$.MediaStream, { + /*html$.MediaStream.addTrackEvent*/get addTrackEvent() { + return C[346] || CT.C346; + }, + /*html$.MediaStream.removeTrackEvent*/get removeTrackEvent() { + return C[347] || CT.C347; + } +}, false); +dart.registerExtension("MediaStream", html$.MediaStream); +html$.MediaStreamEvent = class MediaStreamEvent$ extends html$.Event { + static new(type, eventInitDict = null) { + if (type == null) dart.nullFailed(I[147], 21282, 35, "type"); + if (eventInitDict != null) { + let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); + return html$.MediaStreamEvent._create_1(type, eventInitDict_1); + } + return html$.MediaStreamEvent._create_2(type); + } + static _create_1(type, eventInitDict) { + return new MediaStreamEvent(type, eventInitDict); + } + static _create_2(type) { + return new MediaStreamEvent(type); + } + static get supported() { + return html_common.Device.isEventTypeSupported("MediaStreamEvent"); + } + get [S$1.$stream]() { + return this.stream; + } +}; +dart.addTypeTests(html$.MediaStreamEvent); +dart.addTypeCaches(html$.MediaStreamEvent); +dart.setGetterSignature(html$.MediaStreamEvent, () => ({ + __proto__: dart.getGetters(html$.MediaStreamEvent.__proto__), + [S$1.$stream]: dart.nullable(html$.MediaStream) +})); +dart.setLibraryUri(html$.MediaStreamEvent, I[148]); +dart.registerExtension("MediaStreamEvent", html$.MediaStreamEvent); +html$.MediaStreamTrackEvent = class MediaStreamTrackEvent$ extends html$.Event { + static new(type, eventInitDict) { + if (type == null) dart.nullFailed(I[147], 21411, 40, "type"); + if (eventInitDict == null) dart.nullFailed(I[147], 21411, 50, "eventInitDict"); + let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); + return html$.MediaStreamTrackEvent._create_1(type, eventInitDict_1); + } + static _create_1(type, eventInitDict) { + return new MediaStreamTrackEvent(type, eventInitDict); + } + static get supported() { + return html_common.Device.isEventTypeSupported("MediaStreamTrackEvent"); + } + get [S$1.$track]() { + return this.track; + } +}; +dart.addTypeTests(html$.MediaStreamTrackEvent); +dart.addTypeCaches(html$.MediaStreamTrackEvent); +dart.setGetterSignature(html$.MediaStreamTrackEvent, () => ({ + __proto__: dart.getGetters(html$.MediaStreamTrackEvent.__proto__), + [S$1.$track]: dart.nullable(html$.MediaStreamTrack) +})); +dart.setLibraryUri(html$.MediaStreamTrackEvent, I[148]); +dart.registerExtension("MediaStreamTrackEvent", html$.MediaStreamTrackEvent); +html$.MemoryInfo = class MemoryInfo extends _interceptors.Interceptor { + get [S$1.$jsHeapSizeLimit]() { + return this.jsHeapSizeLimit; + } + get [S$1.$totalJSHeapSize]() { + return this.totalJSHeapSize; + } + get [S$1.$usedJSHeapSize]() { + return this.usedJSHeapSize; + } +}; +dart.addTypeTests(html$.MemoryInfo); +dart.addTypeCaches(html$.MemoryInfo); +dart.setGetterSignature(html$.MemoryInfo, () => ({ + __proto__: dart.getGetters(html$.MemoryInfo.__proto__), + [S$1.$jsHeapSizeLimit]: dart.nullable(core.int), + [S$1.$totalJSHeapSize]: dart.nullable(core.int), + [S$1.$usedJSHeapSize]: dart.nullable(core.int) +})); +dart.setLibraryUri(html$.MemoryInfo, I[148]); +dart.registerExtension("MemoryInfo", html$.MemoryInfo); +html$.MenuElement = class MenuElement extends html$.HtmlElement { + static new() { + return html$.document.createElement("menu"); + } +}; +(html$.MenuElement.created = function() { + html$.MenuElement.__proto__.created.call(this); + ; +}).prototype = html$.MenuElement.prototype; +dart.addTypeTests(html$.MenuElement); +dart.addTypeCaches(html$.MenuElement); +dart.setLibraryUri(html$.MenuElement, I[148]); +dart.registerExtension("HTMLMenuElement", html$.MenuElement); +html$.MessageChannel = class MessageChannel$ extends _interceptors.Interceptor { + static new() { + return html$.MessageChannel._create_1(); + } + static _create_1() { + return new MessageChannel(); + } + get [S$1.$port1]() { + return this.port1; + } + get [S$1.$port2]() { + return this.port2; + } +}; +dart.addTypeTests(html$.MessageChannel); +dart.addTypeCaches(html$.MessageChannel); +dart.setGetterSignature(html$.MessageChannel, () => ({ + __proto__: dart.getGetters(html$.MessageChannel.__proto__), + [S$1.$port1]: html$.MessagePort, + [S$1.$port2]: html$.MessagePort +})); +dart.setLibraryUri(html$.MessageChannel, I[148]); +dart.registerExtension("MessageChannel", html$.MessageChannel); +html$.MessageEvent = class MessageEvent$ extends html$.Event { + static new(type, opts) { + if (type == null) dart.nullFailed(I[147], 21514, 31, "type"); + let canBubble = opts && 'canBubble' in opts ? opts.canBubble : false; + if (canBubble == null) dart.nullFailed(I[147], 21515, 13, "canBubble"); + let cancelable = opts && 'cancelable' in opts ? opts.cancelable : false; + if (cancelable == null) dart.nullFailed(I[147], 21516, 12, "cancelable"); + let data = opts && 'data' in opts ? opts.data : null; + let origin = opts && 'origin' in opts ? opts.origin : null; + let lastEventId = opts && 'lastEventId' in opts ? opts.lastEventId : null; + let source = opts && 'source' in opts ? opts.source : null; + let messagePorts = opts && 'messagePorts' in opts ? opts.messagePorts : C[348] || CT.C348; + if (messagePorts == null) dart.nullFailed(I[147], 21521, 25, "messagePorts"); + if (source == null) { + source = html$.window; + } + if (!dart.test(html_common.Device.isIE)) { + return new MessageEvent(type, {bubbles: canBubble, cancelable: cancelable, data: data, origin: origin, lastEventId: lastEventId, source: source, ports: messagePorts}); + } + let event = html$.MessageEvent.as(html$.document[S._createEvent]("MessageEvent")); + event[S$1._initMessageEvent](type, canBubble, cancelable, data, origin, lastEventId, source, messagePorts); + return event; + } + get [S$.$data]() { + return html_common.convertNativeToDart_SerializedScriptValue(this[S$1._get_data]); + } + get [S$1._get_data]() { + return this.data; + } + static __(type, eventInitDict = null) { + if (type == null) dart.nullFailed(I[147], 21556, 33, "type"); + if (eventInitDict != null) { + let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); + return html$.MessageEvent._create_1(type, eventInitDict_1); + } + return html$.MessageEvent._create_2(type); + } + static _create_1(type, eventInitDict) { + return new MessageEvent(type, eventInitDict); + } + static _create_2(type) { + return new MessageEvent(type); + } + get [S$1.$lastEventId]() { + return this.lastEventId; + } + get [S$.$origin]() { + return this.origin; + } + get [S$1.$ports]() { + return this.ports; + } + get [S.$source]() { + return html$._convertNativeToDart_EventTarget(this[S$1._get_source]); + } + get [S$1._get_source]() { + return this.source; + } + get [S$1.$suborigin]() { + return this.suborigin; + } + [S$1._initMessageEvent](typeArg, canBubbleArg, cancelableArg, dataArg, originArg, lastEventIdArg, sourceArg, portsArg) { + let sourceArg_1 = html$._convertDartToNative_EventTarget(sourceArg); + this[S$1._initMessageEvent_1](typeArg, canBubbleArg, cancelableArg, dataArg, originArg, lastEventIdArg, sourceArg_1, portsArg); + return; + } + [S$1._initMessageEvent_1](...args) { + return this.initMessageEvent.apply(this, args); + } +}; +dart.addTypeTests(html$.MessageEvent); +dart.addTypeCaches(html$.MessageEvent); +dart.setMethodSignature(html$.MessageEvent, () => ({ + __proto__: dart.getMethods(html$.MessageEvent.__proto__), + [S$1._initMessageEvent]: dart.fnType(dart.void, [dart.nullable(core.String), dart.nullable(core.bool), dart.nullable(core.bool), dart.nullable(core.Object), dart.nullable(core.String), dart.nullable(core.String), dart.nullable(html$.EventTarget), dart.nullable(core.List$(html$.MessagePort))]), + [S$1._initMessageEvent_1]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.nullable(core.List$(html$.MessagePort))]) +})); +dart.setGetterSignature(html$.MessageEvent, () => ({ + __proto__: dart.getGetters(html$.MessageEvent.__proto__), + [S$.$data]: dart.dynamic, + [S$1._get_data]: dart.dynamic, + [S$1.$lastEventId]: core.String, + [S$.$origin]: core.String, + [S$1.$ports]: core.List$(html$.MessagePort), + [S.$source]: dart.nullable(html$.EventTarget), + [S$1._get_source]: dart.dynamic, + [S$1.$suborigin]: dart.nullable(core.String) +})); +dart.setLibraryUri(html$.MessageEvent, I[148]); +dart.registerExtension("MessageEvent", html$.MessageEvent); +html$.MessagePort = class MessagePort extends html$.EventTarget { + [S.$addEventListener](type, listener, useCapture = null) { + if (type == null) dart.nullFailed(I[147], 21613, 32, "type"); + if (type === "message") { + this[S$1._start$4](); + } + super[S.$addEventListener](type, listener, useCapture); + } + [S.$close](...args) { + return this.close.apply(this, args); + } + [S$.$postMessage](message, transfer = null) { + if (transfer != null) { + let message_1 = html_common.convertDartToNative_SerializedScriptValue(message); + this[S$0._postMessage_1](message_1, transfer); + return; + } + let message_1 = html_common.convertDartToNative_SerializedScriptValue(message); + this[S$0._postMessage_2](message_1); + return; + } + [S$0._postMessage_1](...args) { + return this.postMessage.apply(this, args); + } + [S$0._postMessage_2](...args) { + return this.postMessage.apply(this, args); + } + [S$1._start$4](...args) { + return this.start.apply(this, args); + } + get [S$.$onMessage]() { + return html$.MessagePort.messageEvent.forTarget(this); + } +}; +dart.addTypeTests(html$.MessagePort); +dart.addTypeCaches(html$.MessagePort); +dart.setMethodSignature(html$.MessagePort, () => ({ + __proto__: dart.getMethods(html$.MessagePort.__proto__), + [S.$close]: dart.fnType(dart.void, []), + [S$.$postMessage]: dart.fnType(dart.void, [dart.dynamic], [dart.nullable(core.List$(core.Object))]), + [S$0._postMessage_1]: dart.fnType(dart.void, [dart.dynamic, core.List$(core.Object)]), + [S$0._postMessage_2]: dart.fnType(dart.void, [dart.dynamic]), + [S$1._start$4]: dart.fnType(dart.void, []) +})); +dart.setGetterSignature(html$.MessagePort, () => ({ + __proto__: dart.getGetters(html$.MessagePort.__proto__), + [S$.$onMessage]: async.Stream$(html$.MessageEvent) +})); +dart.setLibraryUri(html$.MessagePort, I[148]); +dart.defineLazy(html$.MessagePort, { + /*html$.MessagePort.messageEvent*/get messageEvent() { + return C[312] || CT.C312; + } +}, false); +dart.registerExtension("MessagePort", html$.MessagePort); +html$.MetaElement = class MetaElement extends html$.HtmlElement { + static new() { + return html$.document.createElement("meta"); + } + get [S$0.$content]() { + return this.content; + } + set [S$0.$content](value) { + this.content = value; + } + get [S$1.$httpEquiv]() { + return this.httpEquiv; + } + set [S$1.$httpEquiv](value) { + this.httpEquiv = value; + } + get [$name]() { + return this.name; + } + set [$name](value) { + this.name = value; + } +}; +(html$.MetaElement.created = function() { + html$.MetaElement.__proto__.created.call(this); + ; +}).prototype = html$.MetaElement.prototype; +dart.addTypeTests(html$.MetaElement); +dart.addTypeCaches(html$.MetaElement); +dart.setGetterSignature(html$.MetaElement, () => ({ + __proto__: dart.getGetters(html$.MetaElement.__proto__), + [S$0.$content]: core.String, + [S$1.$httpEquiv]: dart.nullable(core.String), + [$name]: core.String +})); +dart.setSetterSignature(html$.MetaElement, () => ({ + __proto__: dart.getSetters(html$.MetaElement.__proto__), + [S$0.$content]: core.String, + [S$1.$httpEquiv]: dart.nullable(core.String), + [$name]: core.String +})); +dart.setLibraryUri(html$.MetaElement, I[148]); +dart.registerExtension("HTMLMetaElement", html$.MetaElement); +html$.Metadata = class Metadata extends _interceptors.Interceptor { + get [S$1.$modificationTime]() { + return html_common.convertNativeToDart_DateTime(this[S$1._get_modificationTime]); + } + get [S$1._get_modificationTime]() { + return this.modificationTime; + } + get [S$.$size]() { + return this.size; + } +}; +dart.addTypeTests(html$.Metadata); +dart.addTypeCaches(html$.Metadata); +dart.setGetterSignature(html$.Metadata, () => ({ + __proto__: dart.getGetters(html$.Metadata.__proto__), + [S$1.$modificationTime]: core.DateTime, + [S$1._get_modificationTime]: dart.dynamic, + [S$.$size]: dart.nullable(core.int) +})); +dart.setLibraryUri(html$.Metadata, I[148]); +dart.registerExtension("Metadata", html$.Metadata); +html$.MeterElement = class MeterElement extends html$.HtmlElement { + static new() { + return html$.MeterElement.as(html$.document[S.$createElement]("meter")); + } + static get supported() { + return html$.Element.isTagSupported("meter"); + } + get [S$1.$high]() { + return this.high; + } + set [S$1.$high](value) { + this.high = value; + } + get [S$.$labels]() { + return this.labels; + } + get [S$1.$low]() { + return this.low; + } + set [S$1.$low](value) { + this.low = value; + } + get [S$1.$max]() { + return this.max; + } + set [S$1.$max](value) { + this.max = value; + } + get [S$1.$min]() { + return this.min; + } + set [S$1.$min](value) { + this.min = value; + } + get [S$1.$optimum]() { + return this.optimum; + } + set [S$1.$optimum](value) { + this.optimum = value; + } + get [S.$value]() { + return this.value; + } + set [S.$value](value) { + this.value = value; + } +}; +(html$.MeterElement.created = function() { + html$.MeterElement.__proto__.created.call(this); + ; +}).prototype = html$.MeterElement.prototype; +dart.addTypeTests(html$.MeterElement); +dart.addTypeCaches(html$.MeterElement); +dart.setGetterSignature(html$.MeterElement, () => ({ + __proto__: dart.getGetters(html$.MeterElement.__proto__), + [S$1.$high]: dart.nullable(core.num), + [S$.$labels]: dart.nullable(core.List$(html$.Node)), + [S$1.$low]: dart.nullable(core.num), + [S$1.$max]: dart.nullable(core.num), + [S$1.$min]: dart.nullable(core.num), + [S$1.$optimum]: dart.nullable(core.num), + [S.$value]: dart.nullable(core.num) +})); +dart.setSetterSignature(html$.MeterElement, () => ({ + __proto__: dart.getSetters(html$.MeterElement.__proto__), + [S$1.$high]: dart.nullable(core.num), + [S$1.$low]: dart.nullable(core.num), + [S$1.$max]: dart.nullable(core.num), + [S$1.$min]: dart.nullable(core.num), + [S$1.$optimum]: dart.nullable(core.num), + [S.$value]: dart.nullable(core.num) +})); +dart.setLibraryUri(html$.MeterElement, I[148]); +dart.registerExtension("HTMLMeterElement", html$.MeterElement); +html$.MidiAccess = class MidiAccess extends html$.EventTarget { + get [S$1.$inputs]() { + return this.inputs; + } + get [S$1.$outputs]() { + return this.outputs; + } + get [S$1.$sysexEnabled]() { + return this.sysexEnabled; + } +}; +dart.addTypeTests(html$.MidiAccess); +dart.addTypeCaches(html$.MidiAccess); +dart.setGetterSignature(html$.MidiAccess, () => ({ + __proto__: dart.getGetters(html$.MidiAccess.__proto__), + [S$1.$inputs]: dart.nullable(html$.MidiInputMap), + [S$1.$outputs]: dart.nullable(html$.MidiOutputMap), + [S$1.$sysexEnabled]: dart.nullable(core.bool) +})); +dart.setLibraryUri(html$.MidiAccess, I[148]); +dart.registerExtension("MIDIAccess", html$.MidiAccess); +html$.MidiConnectionEvent = class MidiConnectionEvent extends html$.Event { + static new(type, eventInitDict = null) { + if (type == null) dart.nullFailed(I[147], 21807, 38, "type"); + if (eventInitDict != null) { + let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); + return html$.MidiConnectionEvent._create_1(type, eventInitDict_1); + } + return html$.MidiConnectionEvent._create_2(type); + } + static _create_1(type, eventInitDict) { + return new MIDIConnectionEvent(type, eventInitDict); + } + static _create_2(type) { + return new MIDIConnectionEvent(type); + } + get [S$.$port]() { + return this.port; + } +}; +dart.addTypeTests(html$.MidiConnectionEvent); +dart.addTypeCaches(html$.MidiConnectionEvent); +dart.setGetterSignature(html$.MidiConnectionEvent, () => ({ + __proto__: dart.getGetters(html$.MidiConnectionEvent.__proto__), + [S$.$port]: dart.nullable(html$.MidiPort) +})); +dart.setLibraryUri(html$.MidiConnectionEvent, I[148]); +dart.registerExtension("MIDIConnectionEvent", html$.MidiConnectionEvent); +html$.MidiPort = class MidiPort extends html$.EventTarget { + get [S$1.$connection]() { + return this.connection; + } + get [S.$id]() { + return this.id; + } + get [S$1.$manufacturer]() { + return this.manufacturer; + } + get [$name]() { + return this.name; + } + get [S$.$state]() { + return this.state; + } + get [S.$type]() { + return this.type; + } + get [S.$version]() { + return this.version; + } + [S.$close]() { + return js_util.promiseToFuture(dart.dynamic, this.close()); + } + [S.$open]() { + return js_util.promiseToFuture(dart.dynamic, this.open()); + } +}; +dart.addTypeTests(html$.MidiPort); +dart.addTypeCaches(html$.MidiPort); +dart.setMethodSignature(html$.MidiPort, () => ({ + __proto__: dart.getMethods(html$.MidiPort.__proto__), + [S.$close]: dart.fnType(async.Future, []), + [S.$open]: dart.fnType(async.Future, []) +})); +dart.setGetterSignature(html$.MidiPort, () => ({ + __proto__: dart.getGetters(html$.MidiPort.__proto__), + [S$1.$connection]: dart.nullable(core.String), + [S.$id]: dart.nullable(core.String), + [S$1.$manufacturer]: dart.nullable(core.String), + [$name]: dart.nullable(core.String), + [S$.$state]: dart.nullable(core.String), + [S.$type]: dart.nullable(core.String), + [S.$version]: dart.nullable(core.String) +})); +dart.setLibraryUri(html$.MidiPort, I[148]); +dart.registerExtension("MIDIPort", html$.MidiPort); +html$.MidiInput = class MidiInput extends html$.MidiPort { + get [S$1.$onMidiMessage]() { + return html$.MidiInput.midiMessageEvent.forTarget(this); + } +}; +dart.addTypeTests(html$.MidiInput); +dart.addTypeCaches(html$.MidiInput); +dart.setGetterSignature(html$.MidiInput, () => ({ + __proto__: dart.getGetters(html$.MidiInput.__proto__), + [S$1.$onMidiMessage]: async.Stream$(html$.MidiMessageEvent) +})); +dart.setLibraryUri(html$.MidiInput, I[148]); +dart.defineLazy(html$.MidiInput, { + /*html$.MidiInput.midiMessageEvent*/get midiMessageEvent() { + return C[349] || CT.C349; + } +}, false); +dart.registerExtension("MIDIInput", html$.MidiInput); +const Interceptor_MapMixin$36 = class Interceptor_MapMixin extends _interceptors.Interceptor {}; +(Interceptor_MapMixin$36.new = function() { + Interceptor_MapMixin$36.__proto__.new.call(this); +}).prototype = Interceptor_MapMixin$36.prototype; +dart.applyMixin(Interceptor_MapMixin$36, collection.MapMixin$(core.String, dart.dynamic)); +html$.MidiInputMap = class MidiInputMap extends Interceptor_MapMixin$36 { + [S$1._getItem](key) { + if (key == null) dart.nullFailed(I[147], 21859, 24, "key"); + return html_common.convertNativeToDart_Dictionary(this.get(key)); + } + [$addAll](other) { + T$0.MapOfString$dynamic().as(other); + if (other == null) dart.nullFailed(I[147], 21862, 36, "other"); + dart.throw(new core.UnsupportedError.new("Not supported")); + } + [$containsValue](value) { + return this[$values][$any](dart.fn(e => { + if (e == null) dart.nullFailed(I[147], 21866, 52, "e"); + return dart.equals(e, value); + }, T$0.MapTobool())); + } + [$containsKey](key) { + return this[S$1._getItem](core.String.as(key)) != null; + } + [$_get](key) { + return this[S$1._getItem](core.String.as(key)); + } + [$forEach](f) { + if (f == null) dart.nullFailed(I[147], 21872, 21, "f"); + let entries = this.entries(); + while (true) { + let entry = entries.next(); + if (entry.done) return; + f(entry.value[0], html_common.convertNativeToDart_Dictionary(entry.value[1])); + } + } + get [$keys]() { + let keys = T$.JSArrayOfString().of([]); + this[$forEach](dart.fn((k, v) => { + if (k == null) dart.nullFailed(I[147], 21884, 14, "k"); + return keys[$add](k); + }, T$0.StringAnddynamicTovoid())); + return keys; + } + get [$values]() { + let values = T$0.JSArrayOfMap().of([]); + this[$forEach](dart.fn((k, v) => { + if (k == null) dart.nullFailed(I[147], 21890, 14, "k"); + return values[$add](core.Map.as(v)); + }, T$0.StringAnddynamicTovoid())); + return values; + } + get [$length]() { + return this.size; + } + get [$isEmpty]() { + return this[$length] === 0; + } + get [$isNotEmpty]() { + return !dart.test(this[$isEmpty]); + } + [$_set](key, value$) { + let value = value$; + core.String.as(key); + if (key == null) dart.nullFailed(I[147], 21900, 28, "key"); + dart.throw(new core.UnsupportedError.new("Not supported")); + return value$; + } + [$putIfAbsent](key, ifAbsent) { + core.String.as(key); + if (key == null) dart.nullFailed(I[147], 21904, 30, "key"); + T$.VoidTodynamic().as(ifAbsent); + if (ifAbsent == null) dart.nullFailed(I[147], 21904, 43, "ifAbsent"); + dart.throw(new core.UnsupportedError.new("Not supported")); + } + [$remove](key) { + dart.throw(new core.UnsupportedError.new("Not supported")); + } + [$clear]() { + dart.throw(new core.UnsupportedError.new("Not supported")); + } +}; +dart.addTypeTests(html$.MidiInputMap); +dart.addTypeCaches(html$.MidiInputMap); +dart.setMethodSignature(html$.MidiInputMap, () => ({ + __proto__: dart.getMethods(html$.MidiInputMap.__proto__), + [S$1._getItem]: dart.fnType(dart.nullable(core.Map), [core.String]), + [$containsValue]: dart.fnType(core.bool, [dart.dynamic]), + [$containsKey]: dart.fnType(core.bool, [dart.dynamic]), + [$_get]: dart.fnType(dart.nullable(core.Map), [dart.dynamic]), + [$_set]: dart.fnType(dart.void, [dart.nullable(core.Object), dart.nullable(core.Object)]), + [$remove]: dart.fnType(core.String, [dart.dynamic]), + [$clear]: dart.fnType(dart.void, []) +})); +dart.setGetterSignature(html$.MidiInputMap, () => ({ + __proto__: dart.getGetters(html$.MidiInputMap.__proto__), + [$keys]: core.Iterable$(core.String), + [$values]: core.Iterable$(core.Map) +})); +dart.setLibraryUri(html$.MidiInputMap, I[148]); +dart.registerExtension("MIDIInputMap", html$.MidiInputMap); +html$.MidiMessageEvent = class MidiMessageEvent extends html$.Event { + static new(type, eventInitDict = null) { + if (type == null) dart.nullFailed(I[147], 21927, 35, "type"); + if (eventInitDict != null) { + let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); + return html$.MidiMessageEvent._create_1(type, eventInitDict_1); + } + return html$.MidiMessageEvent._create_2(type); + } + static _create_1(type, eventInitDict) { + return new MIDIMessageEvent(type, eventInitDict); + } + static _create_2(type) { + return new MIDIMessageEvent(type); + } + get [S$.$data]() { + return this.data; + } +}; +dart.addTypeTests(html$.MidiMessageEvent); +dart.addTypeCaches(html$.MidiMessageEvent); +dart.setGetterSignature(html$.MidiMessageEvent, () => ({ + __proto__: dart.getGetters(html$.MidiMessageEvent.__proto__), + [S$.$data]: dart.nullable(typed_data.Uint8List) +})); +dart.setLibraryUri(html$.MidiMessageEvent, I[148]); +dart.registerExtension("MIDIMessageEvent", html$.MidiMessageEvent); +html$.MidiOutput = class MidiOutput extends html$.MidiPort { + [S$1.$send](...args) { + return this.send.apply(this, args); + } +}; +dart.addTypeTests(html$.MidiOutput); +dart.addTypeCaches(html$.MidiOutput); +dart.setMethodSignature(html$.MidiOutput, () => ({ + __proto__: dart.getMethods(html$.MidiOutput.__proto__), + [S$1.$send]: dart.fnType(dart.void, [typed_data.Uint8List], [dart.nullable(core.num)]) +})); +dart.setLibraryUri(html$.MidiOutput, I[148]); +dart.registerExtension("MIDIOutput", html$.MidiOutput); +const Interceptor_MapMixin$36$ = class Interceptor_MapMixin extends _interceptors.Interceptor {}; +(Interceptor_MapMixin$36$.new = function() { + Interceptor_MapMixin$36$.__proto__.new.call(this); +}).prototype = Interceptor_MapMixin$36$.prototype; +dart.applyMixin(Interceptor_MapMixin$36$, collection.MapMixin$(core.String, dart.dynamic)); +html$.MidiOutputMap = class MidiOutputMap extends Interceptor_MapMixin$36$ { + [S$1._getItem](key) { + if (key == null) dart.nullFailed(I[147], 21965, 24, "key"); + return html_common.convertNativeToDart_Dictionary(this.get(key)); + } + [$addAll](other) { + T$0.MapOfString$dynamic().as(other); + if (other == null) dart.nullFailed(I[147], 21968, 36, "other"); + dart.throw(new core.UnsupportedError.new("Not supported")); + } + [$containsValue](value) { + return this[$values][$any](dart.fn(e => { + if (e == null) dart.nullFailed(I[147], 21972, 52, "e"); + return dart.equals(e, value); + }, T$0.MapTobool())); + } + [$containsKey](key) { + return this[S$1._getItem](core.String.as(key)) != null; + } + [$_get](key) { + return this[S$1._getItem](core.String.as(key)); + } + [$forEach](f) { + if (f == null) dart.nullFailed(I[147], 21978, 21, "f"); + let entries = this.entries(); + while (true) { + let entry = entries.next(); + if (entry.done) return; + f(entry.value[0], html_common.convertNativeToDart_Dictionary(entry.value[1])); + } + } + get [$keys]() { + let keys = T$.JSArrayOfString().of([]); + this[$forEach](dart.fn((k, v) => { + if (k == null) dart.nullFailed(I[147], 21990, 14, "k"); + return keys[$add](k); + }, T$0.StringAnddynamicTovoid())); + return keys; + } + get [$values]() { + let values = T$0.JSArrayOfMap().of([]); + this[$forEach](dart.fn((k, v) => { + if (k == null) dart.nullFailed(I[147], 21996, 14, "k"); + return values[$add](core.Map.as(v)); + }, T$0.StringAnddynamicTovoid())); + return values; + } + get [$length]() { + return this.size; + } + get [$isEmpty]() { + return this[$length] === 0; + } + get [$isNotEmpty]() { + return !dart.test(this[$isEmpty]); + } + [$_set](key, value$) { + let value = value$; + core.String.as(key); + if (key == null) dart.nullFailed(I[147], 22006, 28, "key"); + dart.throw(new core.UnsupportedError.new("Not supported")); + return value$; + } + [$putIfAbsent](key, ifAbsent) { + core.String.as(key); + if (key == null) dart.nullFailed(I[147], 22010, 30, "key"); + T$.VoidTodynamic().as(ifAbsent); + if (ifAbsent == null) dart.nullFailed(I[147], 22010, 43, "ifAbsent"); + dart.throw(new core.UnsupportedError.new("Not supported")); + } + [$remove](key) { + dart.throw(new core.UnsupportedError.new("Not supported")); + } + [$clear]() { + dart.throw(new core.UnsupportedError.new("Not supported")); + } +}; +dart.addTypeTests(html$.MidiOutputMap); +dart.addTypeCaches(html$.MidiOutputMap); +dart.setMethodSignature(html$.MidiOutputMap, () => ({ + __proto__: dart.getMethods(html$.MidiOutputMap.__proto__), + [S$1._getItem]: dart.fnType(dart.nullable(core.Map), [core.String]), + [$containsValue]: dart.fnType(core.bool, [dart.dynamic]), + [$containsKey]: dart.fnType(core.bool, [dart.dynamic]), + [$_get]: dart.fnType(dart.nullable(core.Map), [dart.dynamic]), + [$_set]: dart.fnType(dart.void, [dart.nullable(core.Object), dart.nullable(core.Object)]), + [$remove]: dart.fnType(core.String, [dart.dynamic]), + [$clear]: dart.fnType(dart.void, []) +})); +dart.setGetterSignature(html$.MidiOutputMap, () => ({ + __proto__: dart.getGetters(html$.MidiOutputMap.__proto__), + [$keys]: core.Iterable$(core.String), + [$values]: core.Iterable$(core.Map) +})); +dart.setLibraryUri(html$.MidiOutputMap, I[148]); +dart.registerExtension("MIDIOutputMap", html$.MidiOutputMap); +html$.MimeType = class MimeType extends _interceptors.Interceptor { + get [S$1.$description]() { + return this.description; + } + get [S$1.$enabledPlugin]() { + return this.enabledPlugin; + } + get [S$1.$suffixes]() { + return this.suffixes; + } + get [S.$type]() { + return this.type; + } +}; +dart.addTypeTests(html$.MimeType); +dart.addTypeCaches(html$.MimeType); +dart.setGetterSignature(html$.MimeType, () => ({ + __proto__: dart.getGetters(html$.MimeType.__proto__), + [S$1.$description]: dart.nullable(core.String), + [S$1.$enabledPlugin]: dart.nullable(html$.Plugin), + [S$1.$suffixes]: dart.nullable(core.String), + [S.$type]: dart.nullable(core.String) +})); +dart.setLibraryUri(html$.MimeType, I[148]); +dart.registerExtension("MimeType", html$.MimeType); +const Interceptor_ListMixin$36$2 = class Interceptor_ListMixin extends _interceptors.Interceptor {}; +(Interceptor_ListMixin$36$2.new = function() { + Interceptor_ListMixin$36$2.__proto__.new.call(this); +}).prototype = Interceptor_ListMixin$36$2.prototype; +dart.applyMixin(Interceptor_ListMixin$36$2, collection.ListMixin$(html$.MimeType)); +const Interceptor_ImmutableListMixin$36$2 = class Interceptor_ImmutableListMixin extends Interceptor_ListMixin$36$2 {}; +(Interceptor_ImmutableListMixin$36$2.new = function() { + Interceptor_ImmutableListMixin$36$2.__proto__.new.call(this); +}).prototype = Interceptor_ImmutableListMixin$36$2.prototype; +dart.applyMixin(Interceptor_ImmutableListMixin$36$2, html$.ImmutableListMixin$(html$.MimeType)); +html$.MimeTypeArray = class MimeTypeArray extends Interceptor_ImmutableListMixin$36$2 { + get [$length]() { + return this.length; + } + [$_get](index) { + if (index == null) dart.nullFailed(I[147], 22085, 28, "index"); + if (index >>> 0 !== index || index >= this[$length]) dart.throw(new core.IndexError.new(index, this)); + return this[index]; + } + [$_set](index, value$) { + let value = value$; + if (index == null) dart.nullFailed(I[147], 22091, 25, "index"); + html$.MimeType.as(value); + if (value == null) dart.nullFailed(I[147], 22091, 41, "value"); + dart.throw(new core.UnsupportedError.new("Cannot assign element of immutable List.")); + return value$; + } + set [$length](value) { + if (value == null) dart.nullFailed(I[147], 22097, 18, "value"); + dart.throw(new core.UnsupportedError.new("Cannot resize immutable List.")); + } + get [$first]() { + if (dart.notNull(this[$length]) > 0) { + return this[0]; + } + dart.throw(new core.StateError.new("No elements")); + } + set [$first](value) { + super[$first] = value; + } + get [$last]() { + let len = this[$length]; + if (dart.notNull(len) > 0) { + return this[dart.notNull(len) - 1]; + } + dart.throw(new core.StateError.new("No elements")); + } + set [$last](value) { + super[$last] = value; + } + get [$single]() { + let len = this[$length]; + if (len === 1) { + return this[0]; + } + if (len === 0) dart.throw(new core.StateError.new("No elements")); + dart.throw(new core.StateError.new("More than one element")); + } + [$elementAt](index) { + if (index == null) dart.nullFailed(I[147], 22125, 26, "index"); + return this[$_get](index); + } + [S$.$item](...args) { + return this.item.apply(this, args); + } + [S$1.$namedItem](...args) { + return this.namedItem.apply(this, args); + } +}; +html$.MimeTypeArray.prototype[dart.isList] = true; +dart.addTypeTests(html$.MimeTypeArray); +dart.addTypeCaches(html$.MimeTypeArray); +html$.MimeTypeArray[dart.implements] = () => [core.List$(html$.MimeType), _js_helper.JavaScriptIndexingBehavior$(html$.MimeType)]; +dart.setMethodSignature(html$.MimeTypeArray, () => ({ + __proto__: dart.getMethods(html$.MimeTypeArray.__proto__), + [$_get]: dart.fnType(html$.MimeType, [core.int]), + [$_set]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), + [S$.$item]: dart.fnType(dart.nullable(html$.MimeType), [core.int]), + [S$1.$namedItem]: dart.fnType(dart.nullable(html$.MimeType), [core.String]) +})); +dart.setGetterSignature(html$.MimeTypeArray, () => ({ + __proto__: dart.getGetters(html$.MimeTypeArray.__proto__), + [$length]: core.int +})); +dart.setSetterSignature(html$.MimeTypeArray, () => ({ + __proto__: dart.getSetters(html$.MimeTypeArray.__proto__), + [$length]: core.int +})); +dart.setLibraryUri(html$.MimeTypeArray, I[148]); +dart.registerExtension("MimeTypeArray", html$.MimeTypeArray); +html$.ModElement = class ModElement extends html$.HtmlElement { + get [S$1.$cite]() { + return this.cite; + } + set [S$1.$cite](value) { + this.cite = value; + } + get [S$1.$dateTime]() { + return this.dateTime; + } + set [S$1.$dateTime](value) { + this.dateTime = value; + } +}; +(html$.ModElement.created = function() { + html$.ModElement.__proto__.created.call(this); + ; +}).prototype = html$.ModElement.prototype; +dart.addTypeTests(html$.ModElement); +dart.addTypeCaches(html$.ModElement); +dart.setGetterSignature(html$.ModElement, () => ({ + __proto__: dart.getGetters(html$.ModElement.__proto__), + [S$1.$cite]: core.String, + [S$1.$dateTime]: core.String +})); +dart.setSetterSignature(html$.ModElement, () => ({ + __proto__: dart.getSetters(html$.ModElement.__proto__), + [S$1.$cite]: core.String, + [S$1.$dateTime]: core.String +})); +dart.setLibraryUri(html$.ModElement, I[148]); +dart.registerExtension("HTMLModElement", html$.ModElement); +html$.MouseEvent = class MouseEvent$ extends html$.UIEvent { + static new(type, opts) { + if (type == null) dart.nullFailed(I[147], 22171, 29, "type"); + let view = opts && 'view' in opts ? opts.view : null; + let detail = opts && 'detail' in opts ? opts.detail : 0; + if (detail == null) dart.nullFailed(I[147], 22173, 11, "detail"); + let screenX = opts && 'screenX' in opts ? opts.screenX : 0; + if (screenX == null) dart.nullFailed(I[147], 22174, 11, "screenX"); + let screenY = opts && 'screenY' in opts ? opts.screenY : 0; + if (screenY == null) dart.nullFailed(I[147], 22175, 11, "screenY"); + let clientX = opts && 'clientX' in opts ? opts.clientX : 0; + if (clientX == null) dart.nullFailed(I[147], 22176, 11, "clientX"); + let clientY = opts && 'clientY' in opts ? opts.clientY : 0; + if (clientY == null) dart.nullFailed(I[147], 22177, 11, "clientY"); + let button = opts && 'button' in opts ? opts.button : 0; + if (button == null) dart.nullFailed(I[147], 22178, 11, "button"); + let canBubble = opts && 'canBubble' in opts ? opts.canBubble : true; + if (canBubble == null) dart.nullFailed(I[147], 22179, 12, "canBubble"); + let cancelable = opts && 'cancelable' in opts ? opts.cancelable : true; + if (cancelable == null) dart.nullFailed(I[147], 22180, 12, "cancelable"); + let ctrlKey = opts && 'ctrlKey' in opts ? opts.ctrlKey : false; + if (ctrlKey == null) dart.nullFailed(I[147], 22181, 12, "ctrlKey"); + let altKey = opts && 'altKey' in opts ? opts.altKey : false; + if (altKey == null) dart.nullFailed(I[147], 22182, 12, "altKey"); + let shiftKey = opts && 'shiftKey' in opts ? opts.shiftKey : false; + if (shiftKey == null) dart.nullFailed(I[147], 22183, 12, "shiftKey"); + let metaKey = opts && 'metaKey' in opts ? opts.metaKey : false; + if (metaKey == null) dart.nullFailed(I[147], 22184, 12, "metaKey"); + let relatedTarget = opts && 'relatedTarget' in opts ? opts.relatedTarget : null; + if (view == null) { + view = html$.window; + } + let event = html$.MouseEvent.as(html$.document[S._createEvent]("MouseEvent")); + event[S$1._initMouseEvent](type, canBubble, cancelable, view, detail, screenX, screenY, clientX, clientY, ctrlKey, altKey, shiftKey, metaKey, button, relatedTarget); + return event; + } + static __(type, eventInitDict = null) { + if (type == null) dart.nullFailed(I[147], 22209, 31, "type"); + if (eventInitDict != null) { + let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); + return html$.MouseEvent._create_1(type, eventInitDict_1); + } + return html$.MouseEvent._create_2(type); + } + static _create_1(type, eventInitDict) { + return new MouseEvent(type, eventInitDict); + } + static _create_2(type) { + return new MouseEvent(type); + } + get [S$1.$altKey]() { + return this.altKey; + } + get [S$1.$button]() { + return this.button; + } + get [S$1.$buttons]() { + return this.buttons; + } + get [S$1._clientX]() { + return this.clientX; + } + get [S$1._clientY]() { + return this.clientY; + } + get [S$1.$ctrlKey]() { + return this.ctrlKey; + } + get [S$1.$fromElement]() { + return this.fromElement; + } + get [S$1._layerX]() { + return this.layerX; + } + get [S$1._layerY]() { + return this.layerY; + } + get [S$1.$metaKey]() { + return this.metaKey; + } + get [S$1._movementX]() { + return this.movementX; + } + get [S$1._movementY]() { + return this.movementY; + } + get [S$1._pageX]() { + return this.pageX; + } + get [S$1._pageY]() { + return this.pageY; + } + get [S$1.$region]() { + return this.region; + } + get [S$1.$relatedTarget]() { + return html$._convertNativeToDart_EventTarget(this[S$1._get_relatedTarget]); + } + get [S$1._get_relatedTarget]() { + return this.relatedTarget; + } + get [S$1._screenX]() { + return this.screenX; + } + get [S$1._screenY]() { + return this.screenY; + } + get [S$1.$shiftKey]() { + return this.shiftKey; + } + get [S$1.$toElement]() { + return this.toElement; + } + [S$1.$getModifierState](...args) { + return this.getModifierState.apply(this, args); + } + [S$1._initMouseEvent](type, bubbles, cancelable, view, detail, screenX, screenY, clientX, clientY, ctrlKey, altKey, shiftKey, metaKey, button, relatedTarget) { + let relatedTarget_1 = html$._convertDartToNative_EventTarget(relatedTarget); + this[S$1._initMouseEvent_1](type, bubbles, cancelable, view, detail, screenX, screenY, clientX, clientY, ctrlKey, altKey, shiftKey, metaKey, button, relatedTarget_1); + return; + } + [S$1._initMouseEvent_1](...args) { + return this.initMouseEvent.apply(this, args); + } + get [S.$client]() { + return new (T$0.PointOfnum()).new(this[S$1._clientX], this[S$1._clientY]); + } + get [S$1.$movement]() { + return new (T$0.PointOfnum()).new(dart.nullCheck(this[S$1._movementX]), dart.nullCheck(this[S$1._movementY])); + } + get [S.$offset]() { + if (!!this.offsetX) { + let x = this.offsetX; + let y = this.offsetY; + return new (T$0.PointOfnum()).new(core.num.as(x), core.num.as(y)); + } else { + if (!html$.Element.is(this[S.$target])) { + dart.throw(new core.UnsupportedError.new("offsetX is only supported on elements")); + } + let target = html$.Element.as(this[S.$target]); + let point = this[S.$client]['-'](target.getBoundingClientRect()[$topLeft]); + return new (T$0.PointOfnum()).new(point.x[$toInt](), point.y[$toInt]()); + } + } + get [S$1.$screen]() { + return new (T$0.PointOfnum()).new(this[S$1._screenX], this[S$1._screenY]); + } + get [S$1.$layer]() { + return new (T$0.PointOfnum()).new(dart.nullCheck(this[S$1._layerX]), dart.nullCheck(this[S$1._layerY])); + } + get [S$0.$page]() { + return new (T$0.PointOfnum()).new(dart.nullCheck(this[S$1._pageX]), dart.nullCheck(this[S$1._pageY])); + } + get [S$1.$dataTransfer]() { + return this.dataTransfer; + } +}; +dart.addTypeTests(html$.MouseEvent); +dart.addTypeCaches(html$.MouseEvent); +dart.setMethodSignature(html$.MouseEvent, () => ({ + __proto__: dart.getMethods(html$.MouseEvent.__proto__), + [S$1.$getModifierState]: dart.fnType(core.bool, [core.String]), + [S$1._initMouseEvent]: dart.fnType(dart.void, [dart.nullable(core.String), dart.nullable(core.bool), dart.nullable(core.bool), dart.nullable(html$.Window), dart.nullable(core.int), dart.nullable(core.int), dart.nullable(core.int), dart.nullable(core.int), dart.nullable(core.int), dart.nullable(core.bool), dart.nullable(core.bool), dart.nullable(core.bool), dart.nullable(core.bool), dart.nullable(core.int), dart.nullable(html$.EventTarget)]), + [S$1._initMouseEvent_1]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.nullable(html$.Window), dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic]) +})); +dart.setGetterSignature(html$.MouseEvent, () => ({ + __proto__: dart.getGetters(html$.MouseEvent.__proto__), + [S$1.$altKey]: core.bool, + [S$1.$button]: core.int, + [S$1.$buttons]: dart.nullable(core.int), + [S$1._clientX]: core.num, + [S$1._clientY]: core.num, + [S$1.$ctrlKey]: core.bool, + [S$1.$fromElement]: dart.nullable(html$.Node), + [S$1._layerX]: dart.nullable(core.int), + [S$1._layerY]: dart.nullable(core.int), + [S$1.$metaKey]: core.bool, + [S$1._movementX]: dart.nullable(core.int), + [S$1._movementY]: dart.nullable(core.int), + [S$1._pageX]: dart.nullable(core.num), + [S$1._pageY]: dart.nullable(core.num), + [S$1.$region]: dart.nullable(core.String), + [S$1.$relatedTarget]: dart.nullable(html$.EventTarget), + [S$1._get_relatedTarget]: dart.dynamic, + [S$1._screenX]: core.num, + [S$1._screenY]: core.num, + [S$1.$shiftKey]: core.bool, + [S$1.$toElement]: dart.nullable(html$.Node), + [S.$client]: math.Point$(core.num), + [S$1.$movement]: math.Point$(core.num), + [S.$offset]: math.Point$(core.num), + [S$1.$screen]: math.Point$(core.num), + [S$1.$layer]: math.Point$(core.num), + [S$0.$page]: math.Point$(core.num), + [S$1.$dataTransfer]: html$.DataTransfer +})); +dart.setLibraryUri(html$.MouseEvent, I[148]); +dart.registerExtension("MouseEvent", html$.MouseEvent); +dart.registerExtension("DragEvent", html$.MouseEvent); +html$.MutationEvent = class MutationEvent extends html$.Event { + get [S$1.$attrChange]() { + return this.attrChange; + } + get [S$1.$attrName]() { + return this.attrName; + } + get [S$1.$newValue]() { + return this.newValue; + } + get [S$1.$prevValue]() { + return this.prevValue; + } + get [S$1.$relatedNode]() { + return this.relatedNode; + } + [S$1.$initMutationEvent](...args) { + return this.initMutationEvent.apply(this, args); + } +}; +dart.addTypeTests(html$.MutationEvent); +dart.addTypeCaches(html$.MutationEvent); +dart.setMethodSignature(html$.MutationEvent, () => ({ + __proto__: dart.getMethods(html$.MutationEvent.__proto__), + [S$1.$initMutationEvent]: dart.fnType(dart.void, [dart.nullable(core.String), dart.nullable(core.bool), dart.nullable(core.bool), dart.nullable(html$.Node), dart.nullable(core.String), dart.nullable(core.String), dart.nullable(core.String), dart.nullable(core.int)]) +})); +dart.setGetterSignature(html$.MutationEvent, () => ({ + __proto__: dart.getGetters(html$.MutationEvent.__proto__), + [S$1.$attrChange]: dart.nullable(core.int), + [S$1.$attrName]: dart.nullable(core.String), + [S$1.$newValue]: dart.nullable(core.String), + [S$1.$prevValue]: dart.nullable(core.String), + [S$1.$relatedNode]: dart.nullable(html$.Node) +})); +dart.setLibraryUri(html$.MutationEvent, I[148]); +dart.defineLazy(html$.MutationEvent, { + /*html$.MutationEvent.ADDITION*/get ADDITION() { + return 2; + }, + /*html$.MutationEvent.MODIFICATION*/get MODIFICATION() { + return 1; + }, + /*html$.MutationEvent.REMOVAL*/get REMOVAL() { + return 3; + } +}, false); +dart.registerExtension("MutationEvent", html$.MutationEvent); +html$.MutationObserver = class MutationObserver extends _interceptors.Interceptor { + [S$1.$disconnect](...args) { + return this.disconnect.apply(this, args); + } + [S$1._observe](target, options = null) { + if (target == null) dart.nullFailed(I[147], 22443, 22, "target"); + if (options != null) { + let options_1 = html_common.convertDartToNative_Dictionary(options); + this[S$1._observe_1$1](target, options_1); + return; + } + this[S$1._observe_2](target); + return; + } + [S$1._observe_1$1](...args) { + return this.observe.apply(this, args); + } + [S$1._observe_2](...args) { + return this.observe.apply(this, args); + } + [S$1.$takeRecords](...args) { + return this.takeRecords.apply(this, args); + } + static get supported() { + return !!(window.MutationObserver || window.WebKitMutationObserver); + } + [S.$observe](target, opts) { + if (target == null) dart.nullFailed(I[147], 22479, 21, "target"); + let childList = opts && 'childList' in opts ? opts.childList : null; + let attributes = opts && 'attributes' in opts ? opts.attributes : null; + let characterData = opts && 'characterData' in opts ? opts.characterData : null; + let subtree = opts && 'subtree' in opts ? opts.subtree : null; + let attributeOldValue = opts && 'attributeOldValue' in opts ? opts.attributeOldValue : null; + let characterDataOldValue = opts && 'characterDataOldValue' in opts ? opts.characterDataOldValue : null; + let attributeFilter = opts && 'attributeFilter' in opts ? opts.attributeFilter : null; + let parsedOptions = html$.MutationObserver._createDict(); + function override(key, value) { + if (value != null) html$.MutationObserver._add(parsedOptions, core.String.as(key), value); + } + dart.fn(override, T$.dynamicAnddynamicToNull()); + override("childList", childList); + override("attributes", attributes); + override("characterData", characterData); + override("subtree", subtree); + override("attributeOldValue", attributeOldValue); + override("characterDataOldValue", characterDataOldValue); + if (attributeFilter != null) { + override("attributeFilter", html$.MutationObserver._fixupList(attributeFilter)); + } + this[S$1._call](target, parsedOptions); + } + static _createDict() { + return {}; + } + static _add(m, key, value) { + if (key == null) dart.nullFailed(I[147], 22519, 25, "key"); + m[key] = value; + } + static _fixupList(list) { + return list; + } + [S$1._call](...args) { + return this.observe.apply(this, args); + } + static new(callback) { + if (callback == null) dart.nullFailed(I[147], 22529, 45, "callback"); + 0; + return new (window.MutationObserver || window.WebKitMutationObserver || window.MozMutationObserver)(_js_helper.convertDartClosureToJS(T$0.ListAndMutationObserverToNvoid(), html$._wrapBinaryZone(core.List, html$.MutationObserver, callback), 2)); + } +}; +dart.addTypeTests(html$.MutationObserver); +dart.addTypeCaches(html$.MutationObserver); +dart.setMethodSignature(html$.MutationObserver, () => ({ + __proto__: dart.getMethods(html$.MutationObserver.__proto__), + [S$1.$disconnect]: dart.fnType(dart.void, []), + [S$1._observe]: dart.fnType(dart.void, [html$.Node], [dart.nullable(core.Map)]), + [S$1._observe_1$1]: dart.fnType(dart.void, [html$.Node, dart.dynamic]), + [S$1._observe_2]: dart.fnType(dart.void, [html$.Node]), + [S$1.$takeRecords]: dart.fnType(core.List$(html$.MutationRecord), []), + [S.$observe]: dart.fnType(dart.void, [html$.Node], {attributeFilter: dart.nullable(core.List$(core.String)), attributeOldValue: dart.nullable(core.bool), attributes: dart.nullable(core.bool), characterData: dart.nullable(core.bool), characterDataOldValue: dart.nullable(core.bool), childList: dart.nullable(core.bool), subtree: dart.nullable(core.bool)}, {}), + [S$1._call]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic]) +})); +dart.setLibraryUri(html$.MutationObserver, I[148]); +dart.defineLazy(html$.MutationObserver, { + /*html$.MutationObserver._boolKeys*/get _boolKeys() { + return C[350] || CT.C350; + } +}, false); +dart.registerExtension("MutationObserver", html$.MutationObserver); +dart.registerExtension("WebKitMutationObserver", html$.MutationObserver); +html$.MutationRecord = class MutationRecord extends _interceptors.Interceptor { + get [S$1.$addedNodes]() { + return this.addedNodes; + } + get [S$1.$attributeName]() { + return this.attributeName; + } + get [S$1.$attributeNamespace]() { + return this.attributeNamespace; + } + get [S$1.$nextSibling]() { + return this.nextSibling; + } + get [S$1.$oldValue]() { + return this.oldValue; + } + get [S$1.$previousSibling]() { + return this.previousSibling; + } + get [S$1.$removedNodes]() { + return this.removedNodes; + } + get [S.$target]() { + return this.target; + } + get [S.$type]() { + return this.type; + } +}; +dart.addTypeTests(html$.MutationRecord); +dart.addTypeCaches(html$.MutationRecord); +dart.setGetterSignature(html$.MutationRecord, () => ({ + __proto__: dart.getGetters(html$.MutationRecord.__proto__), + [S$1.$addedNodes]: dart.nullable(core.List$(html$.Node)), + [S$1.$attributeName]: dart.nullable(core.String), + [S$1.$attributeNamespace]: dart.nullable(core.String), + [S$1.$nextSibling]: dart.nullable(html$.Node), + [S$1.$oldValue]: dart.nullable(core.String), + [S$1.$previousSibling]: dart.nullable(html$.Node), + [S$1.$removedNodes]: dart.nullable(core.List$(html$.Node)), + [S.$target]: dart.nullable(html$.Node), + [S.$type]: dart.nullable(core.String) +})); +dart.setLibraryUri(html$.MutationRecord, I[148]); +dart.registerExtension("MutationRecord", html$.MutationRecord); +html$.NavigationPreloadManager = class NavigationPreloadManager extends _interceptors.Interceptor { + [S$1.$disable]() { + return js_util.promiseToFuture(dart.dynamic, this.disable()); + } + [S$1.$enable]() { + return js_util.promiseToFuture(dart.dynamic, this.enable()); + } + [S$1.$getState]() { + return html$.promiseToFutureAsMap(this.getState()); + } +}; +dart.addTypeTests(html$.NavigationPreloadManager); +dart.addTypeCaches(html$.NavigationPreloadManager); +dart.setMethodSignature(html$.NavigationPreloadManager, () => ({ + __proto__: dart.getMethods(html$.NavigationPreloadManager.__proto__), + [S$1.$disable]: dart.fnType(async.Future, []), + [S$1.$enable]: dart.fnType(async.Future, []), + [S$1.$getState]: dart.fnType(async.Future$(dart.nullable(core.Map$(core.String, dart.dynamic))), []) +})); +dart.setLibraryUri(html$.NavigationPreloadManager, I[148]); +dart.registerExtension("NavigationPreloadManager", html$.NavigationPreloadManager); +html$.NavigatorConcurrentHardware = class NavigatorConcurrentHardware extends _interceptors.Interceptor { + get [S$2.$hardwareConcurrency]() { + return this.hardwareConcurrency; + } +}; +dart.addTypeTests(html$.NavigatorConcurrentHardware); +dart.addTypeCaches(html$.NavigatorConcurrentHardware); +dart.setGetterSignature(html$.NavigatorConcurrentHardware, () => ({ + __proto__: dart.getGetters(html$.NavigatorConcurrentHardware.__proto__), + [S$2.$hardwareConcurrency]: dart.nullable(core.int) +})); +dart.setLibraryUri(html$.NavigatorConcurrentHardware, I[148]); +dart.registerExtension("NavigatorConcurrentHardware", html$.NavigatorConcurrentHardware); +html$.Navigator = class Navigator extends html$.NavigatorConcurrentHardware { + [S$1.$getGamepads]() { + let gamepadList = this[S$1._getGamepads](); + let jsProto = gamepadList.prototype; + if (jsProto == null) { + gamepadList.prototype = Object.create(null); + } + _js_helper.applyExtension("GamepadList", gamepadList); + return gamepadList; + } + get [S$1.$language]() { + return this.language || this.userLanguage; + } + [S$1.$getUserMedia](opts) { + let audio = opts && 'audio' in opts ? opts.audio : false; + let video = opts && 'video' in opts ? opts.video : false; + let completer = T$0.CompleterOfMediaStream().new(); + let options = new (T$0.IdentityMapOfString$dynamic()).from(["audio", audio, "video", video]); + this[S$1._ensureGetUserMedia](); + this[S$1._getUserMedia](html_common.convertDartToNative_SerializedScriptValue(options), dart.fn(stream => { + if (stream == null) dart.nullFailed(I[147], 22660, 10, "stream"); + completer.complete(stream); + }, T$0.MediaStreamTovoid()), dart.fn(error => { + if (error == null) dart.nullFailed(I[147], 22662, 9, "error"); + completer.completeError(error); + }, T$0.NavigatorUserMediaErrorTovoid())); + return completer.future; + } + [S$1._ensureGetUserMedia]() { + if (!this.getUserMedia) { + this.getUserMedia = this.getUserMedia || this.webkitGetUserMedia || this.mozGetUserMedia || this.msGetUserMedia; + } + } + [S$1._getUserMedia](...args) { + return this.getUserMedia.apply(this, args); + } + get [S$1.$budget]() { + return this.budget; + } + get [S$1.$clipboard]() { + return this.clipboard; + } + get [S$1.$connection]() { + return this.connection; + } + get [S$1.$credentials]() { + return this.credentials; + } + get [S$1.$deviceMemory]() { + return this.deviceMemory; + } + get [S$1.$doNotTrack]() { + return this.doNotTrack; + } + get [S$1.$geolocation]() { + return this.geolocation; + } + get [S$2.$maxTouchPoints]() { + return this.maxTouchPoints; + } + get [S$2.$mediaCapabilities]() { + return this.mediaCapabilities; + } + get [S$2.$mediaDevices]() { + return this.mediaDevices; + } + get [S$2.$mediaSession]() { + return this.mediaSession; + } + get [S$2.$mimeTypes]() { + return this.mimeTypes; + } + get [S$2.$nfc]() { + return this.nfc; + } + get [S$2.$permissions]() { + return this.permissions; + } + get [S$2.$presentation]() { + return this.presentation; + } + get [S$2.$productSub]() { + return this.productSub; + } + get [S$2.$serviceWorker]() { + return this.serviceWorker; + } + get [S$2.$storage]() { + return this.storage; + } + get [S$2.$vendor]() { + return this.vendor; + } + get [S$2.$vendorSub]() { + return this.vendorSub; + } + get [S$2.$vr]() { + return this.vr; + } + get [S$2.$persistentStorage]() { + return this.webkitPersistentStorage; + } + get [S$2.$temporaryStorage]() { + return this.webkitTemporaryStorage; + } + [S$2.$cancelKeyboardLock](...args) { + return this.cancelKeyboardLock.apply(this, args); + } + [S$2.$getBattery]() { + return js_util.promiseToFuture(dart.dynamic, this.getBattery()); + } + [S$1._getGamepads](...args) { + return this.getGamepads.apply(this, args); + } + [S$2.$getInstalledRelatedApps]() { + return js_util.promiseToFuture(html$.RelatedApplication, this.getInstalledRelatedApps()); + } + [S$2.$getVRDisplays]() { + return js_util.promiseToFuture(dart.dynamic, this.getVRDisplays()); + } + [S$2.$registerProtocolHandler](...args) { + return this.registerProtocolHandler.apply(this, args); + } + [S$2.$requestKeyboardLock](keyCodes = null) { + if (keyCodes != null) { + let keyCodes_1 = html_common.convertDartToNative_StringArray(keyCodes); + return this[S$2._requestKeyboardLock_1](keyCodes_1); + } + return this[S$2._requestKeyboardLock_2](); + } + [S$2._requestKeyboardLock_1](keyCodes) { + if (keyCodes == null) dart.nullFailed(I[147], 22776, 38, "keyCodes"); + return js_util.promiseToFuture(dart.dynamic, this.requestKeyboardLock(keyCodes)); + } + [S$2._requestKeyboardLock_2]() { + return js_util.promiseToFuture(dart.dynamic, this.requestKeyboardLock()); + } + [S$2.$requestMidiAccess](options = null) { + let options_dict = null; + if (options != null) { + options_dict = html_common.convertDartToNative_Dictionary(options); + } + return js_util.promiseToFuture(dart.dynamic, this.requestMIDIAccess(options_dict)); + } + [S$2.$requestMediaKeySystemAccess](keySystem, supportedConfigurations) { + if (keySystem == null) dart.nullFailed(I[147], 22793, 18, "keySystem"); + if (supportedConfigurations == null) dart.nullFailed(I[147], 22793, 39, "supportedConfigurations"); + return js_util.promiseToFuture(dart.dynamic, this.requestMediaKeySystemAccess(keySystem, supportedConfigurations)); + } + [S$2.$sendBeacon](...args) { + return this.sendBeacon.apply(this, args); + } + [S$2.$share](data = null) { + let data_dict = null; + if (data != null) { + data_dict = html_common.convertDartToNative_Dictionary(data); + } + return js_util.promiseToFuture(dart.dynamic, this.share(data_dict)); + } + get [S$2.$webdriver]() { + return this.webdriver; + } + get [S$2.$cookieEnabled]() { + return this.cookieEnabled; + } + get [S$2.$appCodeName]() { + return this.appCodeName; + } + get [S$2.$appName]() { + return this.appName; + } + get [S$2.$appVersion]() { + return this.appVersion; + } + get [S$2.$dartEnabled]() { + return this.dartEnabled; + } + get [S$2.$platform]() { + return this.platform; + } + get [S$2.$product]() { + return this.product; + } + get [S$2.$userAgent]() { + return this.userAgent; + } + get [S$2.$languages]() { + return this.languages; + } + get [S$2.$onLine]() { + return this.onLine; + } +}; +dart.addTypeTests(html$.Navigator); +dart.addTypeCaches(html$.Navigator); +html$.Navigator[dart.implements] = () => [html$.NavigatorCookies, html$.NavigatorLanguage, html$.NavigatorOnLine, html$.NavigatorAutomationInformation, html$.NavigatorID]; +dart.setMethodSignature(html$.Navigator, () => ({ + __proto__: dart.getMethods(html$.Navigator.__proto__), + [S$1.$getGamepads]: dart.fnType(core.List$(dart.nullable(html$.Gamepad)), []), + [S$1.$getUserMedia]: dart.fnType(async.Future$(html$.MediaStream), [], {audio: dart.dynamic, video: dart.dynamic}, {}), + [S$1._ensureGetUserMedia]: dart.fnType(dart.dynamic, []), + [S$1._getUserMedia]: dart.fnType(dart.void, [dart.dynamic, dart.fnType(dart.void, [html$.MediaStream]), dart.fnType(dart.void, [html$.NavigatorUserMediaError])]), + [S$2.$cancelKeyboardLock]: dart.fnType(dart.void, []), + [S$2.$getBattery]: dart.fnType(async.Future, []), + [S$1._getGamepads]: dart.fnType(core.List$(dart.nullable(html$.Gamepad)), []), + [S$2.$getInstalledRelatedApps]: dart.fnType(async.Future$(html$.RelatedApplication), []), + [S$2.$getVRDisplays]: dart.fnType(async.Future, []), + [S$2.$registerProtocolHandler]: dart.fnType(dart.void, [core.String, core.String, core.String]), + [S$2.$requestKeyboardLock]: dart.fnType(async.Future, [], [dart.nullable(core.List$(core.String))]), + [S$2._requestKeyboardLock_1]: dart.fnType(async.Future, [core.List]), + [S$2._requestKeyboardLock_2]: dart.fnType(async.Future, []), + [S$2.$requestMidiAccess]: dart.fnType(async.Future, [], [dart.nullable(core.Map)]), + [S$2.$requestMediaKeySystemAccess]: dart.fnType(async.Future, [core.String, core.List$(core.Map)]), + [S$2.$sendBeacon]: dart.fnType(core.bool, [core.String, dart.nullable(core.Object)]), + [S$2.$share]: dart.fnType(async.Future, [], [dart.nullable(core.Map)]) +})); +dart.setGetterSignature(html$.Navigator, () => ({ + __proto__: dart.getGetters(html$.Navigator.__proto__), + [S$1.$language]: core.String, + [S$1.$budget]: dart.nullable(html$._BudgetService), + [S$1.$clipboard]: dart.nullable(html$._Clipboard), + [S$1.$connection]: dart.nullable(html$.NetworkInformation), + [S$1.$credentials]: dart.nullable(html$.CredentialsContainer), + [S$1.$deviceMemory]: dart.nullable(core.num), + [S$1.$doNotTrack]: dart.nullable(core.String), + [S$1.$geolocation]: html$.Geolocation, + [S$2.$maxTouchPoints]: dart.nullable(core.int), + [S$2.$mediaCapabilities]: dart.nullable(html$.MediaCapabilities), + [S$2.$mediaDevices]: dart.nullable(html$.MediaDevices), + [S$2.$mediaSession]: dart.nullable(html$.MediaSession), + [S$2.$mimeTypes]: dart.nullable(html$.MimeTypeArray), + [S$2.$nfc]: dart.nullable(html$._NFC), + [S$2.$permissions]: dart.nullable(html$.Permissions), + [S$2.$presentation]: dart.nullable(html$.Presentation), + [S$2.$productSub]: dart.nullable(core.String), + [S$2.$serviceWorker]: dart.nullable(html$.ServiceWorkerContainer), + [S$2.$storage]: dart.nullable(html$.StorageManager), + [S$2.$vendor]: core.String, + [S$2.$vendorSub]: core.String, + [S$2.$vr]: dart.nullable(html$.VR), + [S$2.$persistentStorage]: dart.nullable(html$.DeprecatedStorageQuota), + [S$2.$temporaryStorage]: dart.nullable(html$.DeprecatedStorageQuota), + [S$2.$webdriver]: dart.nullable(core.bool), + [S$2.$cookieEnabled]: dart.nullable(core.bool), + [S$2.$appCodeName]: core.String, + [S$2.$appName]: core.String, + [S$2.$appVersion]: core.String, + [S$2.$dartEnabled]: dart.nullable(core.bool), + [S$2.$platform]: dart.nullable(core.String), + [S$2.$product]: core.String, + [S$2.$userAgent]: core.String, + [S$2.$languages]: dart.nullable(core.List$(core.String)), + [S$2.$onLine]: dart.nullable(core.bool) +})); +dart.setLibraryUri(html$.Navigator, I[148]); +dart.registerExtension("Navigator", html$.Navigator); +html$.NavigatorAutomationInformation = class NavigatorAutomationInformation extends _interceptors.Interceptor { + get [S$2.$webdriver]() { + return this.webdriver; + } +}; +dart.addTypeTests(html$.NavigatorAutomationInformation); +dart.addTypeCaches(html$.NavigatorAutomationInformation); +dart.setGetterSignature(html$.NavigatorAutomationInformation, () => ({ + __proto__: dart.getGetters(html$.NavigatorAutomationInformation.__proto__), + [S$2.$webdriver]: dart.nullable(core.bool) +})); +dart.setLibraryUri(html$.NavigatorAutomationInformation, I[148]); +dart.registerExtension("NavigatorAutomationInformation", html$.NavigatorAutomationInformation); +html$.NavigatorCookies = class NavigatorCookies extends _interceptors.Interceptor { + get [S$2.$cookieEnabled]() { + return this.cookieEnabled; + } +}; +dart.addTypeTests(html$.NavigatorCookies); +dart.addTypeCaches(html$.NavigatorCookies); +dart.setGetterSignature(html$.NavigatorCookies, () => ({ + __proto__: dart.getGetters(html$.NavigatorCookies.__proto__), + [S$2.$cookieEnabled]: dart.nullable(core.bool) +})); +dart.setLibraryUri(html$.NavigatorCookies, I[148]); +dart.registerExtension("NavigatorCookies", html$.NavigatorCookies); +html$.NavigatorID = class NavigatorID extends _interceptors.Interceptor { + get appCodeName() { + return this.appCodeName; + } + get appName() { + return this.appName; + } + get appVersion() { + return this.appVersion; + } + get dartEnabled() { + return this.dartEnabled; + } + get platform() { + return this.platform; + } + get product() { + return this.product; + } + get userAgent() { + return this.userAgent; + } +}; +dart.addTypeTests(html$.NavigatorID); +dart.addTypeCaches(html$.NavigatorID); +dart.setGetterSignature(html$.NavigatorID, () => ({ + __proto__: dart.getGetters(html$.NavigatorID.__proto__), + appCodeName: core.String, + [S$2.$appCodeName]: core.String, + appName: core.String, + [S$2.$appName]: core.String, + appVersion: core.String, + [S$2.$appVersion]: core.String, + dartEnabled: dart.nullable(core.bool), + [S$2.$dartEnabled]: dart.nullable(core.bool), + platform: dart.nullable(core.String), + [S$2.$platform]: dart.nullable(core.String), + product: core.String, + [S$2.$product]: core.String, + userAgent: core.String, + [S$2.$userAgent]: core.String +})); +dart.setLibraryUri(html$.NavigatorID, I[148]); +dart.defineExtensionAccessors(html$.NavigatorID, [ + 'appCodeName', + 'appName', + 'appVersion', + 'dartEnabled', + 'platform', + 'product', + 'userAgent' +]); +html$.NavigatorLanguage = class NavigatorLanguage extends _interceptors.Interceptor { + get language() { + return this.language; + } + get languages() { + return this.languages; + } +}; +dart.addTypeTests(html$.NavigatorLanguage); +dart.addTypeCaches(html$.NavigatorLanguage); +dart.setGetterSignature(html$.NavigatorLanguage, () => ({ + __proto__: dart.getGetters(html$.NavigatorLanguage.__proto__), + language: dart.nullable(core.String), + [S$1.$language]: dart.nullable(core.String), + languages: dart.nullable(core.List$(core.String)), + [S$2.$languages]: dart.nullable(core.List$(core.String)) +})); +dart.setLibraryUri(html$.NavigatorLanguage, I[148]); +dart.defineExtensionAccessors(html$.NavigatorLanguage, ['language', 'languages']); +html$.NavigatorOnLine = class NavigatorOnLine extends _interceptors.Interceptor { + get onLine() { + return this.onLine; + } +}; +dart.addTypeTests(html$.NavigatorOnLine); +dart.addTypeCaches(html$.NavigatorOnLine); +dart.setGetterSignature(html$.NavigatorOnLine, () => ({ + __proto__: dart.getGetters(html$.NavigatorOnLine.__proto__), + onLine: dart.nullable(core.bool), + [S$2.$onLine]: dart.nullable(core.bool) +})); +dart.setLibraryUri(html$.NavigatorOnLine, I[148]); +dart.defineExtensionAccessors(html$.NavigatorOnLine, ['onLine']); +html$.NavigatorUserMediaError = class NavigatorUserMediaError extends _interceptors.Interceptor { + get [S$2.$constraintName]() { + return this.constraintName; + } + get [$message]() { + return this.message; + } + get [$name]() { + return this.name; + } +}; +dart.addTypeTests(html$.NavigatorUserMediaError); +dart.addTypeCaches(html$.NavigatorUserMediaError); +dart.setGetterSignature(html$.NavigatorUserMediaError, () => ({ + __proto__: dart.getGetters(html$.NavigatorUserMediaError.__proto__), + [S$2.$constraintName]: dart.nullable(core.String), + [$message]: dart.nullable(core.String), + [$name]: dart.nullable(core.String) +})); +dart.setLibraryUri(html$.NavigatorUserMediaError, I[148]); +dart.registerExtension("NavigatorUserMediaError", html$.NavigatorUserMediaError); +html$.NetworkInformation = class NetworkInformation extends html$.EventTarget { + get [S$2.$downlink]() { + return this.downlink; + } + get [S$2.$downlinkMax]() { + return this.downlinkMax; + } + get [S$2.$effectiveType]() { + return this.effectiveType; + } + get [S$2.$rtt]() { + return this.rtt; + } + get [S.$type]() { + return this.type; + } + get [S.$onChange]() { + return html$.NetworkInformation.changeEvent.forTarget(this); + } +}; +dart.addTypeTests(html$.NetworkInformation); +dart.addTypeCaches(html$.NetworkInformation); +dart.setGetterSignature(html$.NetworkInformation, () => ({ + __proto__: dart.getGetters(html$.NetworkInformation.__proto__), + [S$2.$downlink]: dart.nullable(core.num), + [S$2.$downlinkMax]: dart.nullable(core.num), + [S$2.$effectiveType]: dart.nullable(core.String), + [S$2.$rtt]: dart.nullable(core.int), + [S.$type]: dart.nullable(core.String), + [S.$onChange]: async.Stream$(html$.Event) +})); +dart.setLibraryUri(html$.NetworkInformation, I[148]); +dart.defineLazy(html$.NetworkInformation, { + /*html$.NetworkInformation.changeEvent*/get changeEvent() { + return C[236] || CT.C236; + } +}, false); +dart.registerExtension("NetworkInformation", html$.NetworkInformation); +html$._ChildNodeListLazy = class _ChildNodeListLazy extends collection.ListBase$(html$.Node) { + get first() { + let result = this[S$._this].firstChild; + if (result == null) dart.throw(new core.StateError.new("No elements")); + return result; + } + set first(value) { + super.first = value; + } + get last() { + let result = this[S$._this].lastChild; + if (result == null) dart.throw(new core.StateError.new("No elements")); + return result; + } + set last(value) { + super.last = value; + } + get single() { + let l = this.length; + if (l === 0) dart.throw(new core.StateError.new("No elements")); + if (dart.notNull(l) > 1) dart.throw(new core.StateError.new("More than one element")); + return dart.nullCheck(this[S$._this].firstChild); + } + add(value) { + html$.Node.as(value); + if (value == null) dart.nullFailed(I[147], 23025, 17, "value"); + this[S$._this][S.$append](value); + } + addAll(iterable) { + T$0.IterableOfNode().as(iterable); + if (iterable == null) dart.nullFailed(I[147], 23029, 30, "iterable"); + if (html$._ChildNodeListLazy.is(iterable)) { + let otherList = iterable; + if (otherList[S$._this] != this[S$._this]) { + for (let i = 0, len = otherList.length; i < dart.notNull(len); i = i + 1) { + this[S$._this][S.$append](dart.nullCheck(otherList[S$._this].firstChild)); + } + } + return; + } + for (let node of iterable) { + this[S$._this][S.$append](node); + } + } + insert(index, node) { + if (index == null) dart.nullFailed(I[147], 23045, 19, "index"); + html$.Node.as(node); + if (node == null) dart.nullFailed(I[147], 23045, 31, "node"); + if (dart.notNull(index) < 0 || dart.notNull(index) > dart.notNull(this.length)) { + dart.throw(new core.RangeError.range(index, 0, this.length)); + } + if (index == this.length) { + this[S$._this][S.$append](node); + } else { + this[S$._this].insertBefore(node, this._get(index)); + } + } + insertAll(index, iterable) { + if (index == null) dart.nullFailed(I[147], 23056, 22, "index"); + T$0.IterableOfNode().as(iterable); + if (iterable == null) dart.nullFailed(I[147], 23056, 44, "iterable"); + if (index == this.length) { + this.addAll(iterable); + } else { + let item = this._get(index); + this[S$._this][S$.$insertAllBefore](iterable, item); + } + } + setAll(index, iterable) { + if (index == null) dart.nullFailed(I[147], 23065, 19, "index"); + T$0.IterableOfNode().as(iterable); + if (iterable == null) dart.nullFailed(I[147], 23065, 41, "iterable"); + dart.throw(new core.UnsupportedError.new("Cannot setAll on Node list")); + } + removeLast() { + let result = this.last; + if (result != null) { + this[S$._this][S$._removeChild](result); + } + return result; + } + removeAt(index) { + if (index == null) dart.nullFailed(I[147], 23077, 21, "index"); + let result = this._get(index); + if (result != null) { + this[S$._this][S$._removeChild](result); + } + return result; + } + remove(object) { + if (!html$.Node.is(object)) return false; + let node = object; + if (this[S$._this] != node.parentNode) return false; + this[S$._this][S$._removeChild](node); + return true; + } + [S$1._filter$2](test, removeMatching) { + if (test == null) dart.nullFailed(I[147], 23093, 21, "test"); + if (removeMatching == null) dart.nullFailed(I[147], 23093, 43, "removeMatching"); + let child = this[S$._this].firstChild; + while (child != null) { + let nextChild = child[S.$nextNode]; + if (test(child) == removeMatching) { + this[S$._this][S$._removeChild](child); + } + child = nextChild; + } + } + removeWhere(test) { + if (test == null) dart.nullFailed(I[147], 23107, 25, "test"); + this[S$1._filter$2](test, true); + } + retainWhere(test) { + if (test == null) dart.nullFailed(I[147], 23111, 25, "test"); + this[S$1._filter$2](test, false); + } + clear() { + this[S$._this][S$._clearChildren](); + } + _set(index, value$) { + let value = value$; + if (index == null) dart.nullFailed(I[147], 23119, 25, "index"); + html$.Node.as(value); + if (value == null) dart.nullFailed(I[147], 23119, 37, "value"); + this[S$._this][S$._replaceChild](value, this._get(index)); + return value$; + } + get iterator() { + return this[S$._this].childNodes[$iterator]; + } + sort(compare = null) { + dart.throw(new core.UnsupportedError.new("Cannot sort Node list")); + } + shuffle(random = null) { + dart.throw(new core.UnsupportedError.new("Cannot shuffle Node list")); + } + setRange(start, end, iterable, skipCount = 0) { + if (start == null) dart.nullFailed(I[147], 23138, 21, "start"); + if (end == null) dart.nullFailed(I[147], 23138, 32, "end"); + T$0.IterableOfNode().as(iterable); + if (iterable == null) dart.nullFailed(I[147], 23138, 52, "iterable"); + if (skipCount == null) dart.nullFailed(I[147], 23139, 12, "skipCount"); + dart.throw(new core.UnsupportedError.new("Cannot setRange on Node list")); + } + fillRange(start, end, fill = null) { + if (start == null) dart.nullFailed(I[147], 23143, 22, "start"); + if (end == null) dart.nullFailed(I[147], 23143, 33, "end"); + T$0.NodeN$1().as(fill); + dart.throw(new core.UnsupportedError.new("Cannot fillRange on Node list")); + } + removeRange(start, end) { + if (start == null) dart.nullFailed(I[147], 23147, 24, "start"); + if (end == null) dart.nullFailed(I[147], 23147, 35, "end"); + dart.throw(new core.UnsupportedError.new("Cannot removeRange on Node list")); + } + get length() { + return this[S$._this].childNodes[$length]; + } + set length(value) { + if (value == null) dart.nullFailed(I[147], 23156, 18, "value"); + dart.throw(new core.UnsupportedError.new("Cannot set length on immutable List.")); + } + _get(index) { + if (index == null) dart.nullFailed(I[147], 23160, 24, "index"); + return this[S$._this].childNodes[$_get](index); + } + get rawList() { + return this[S$._this].childNodes; + } +}; +(html$._ChildNodeListLazy.new = function(_this) { + if (_this == null) dart.nullFailed(I[147], 23004, 27, "_this"); + this[S$._this] = _this; + ; +}).prototype = html$._ChildNodeListLazy.prototype; +dart.addTypeTests(html$._ChildNodeListLazy); +dart.addTypeCaches(html$._ChildNodeListLazy); +html$._ChildNodeListLazy[dart.implements] = () => [html_common.NodeListWrapper]; +dart.setMethodSignature(html$._ChildNodeListLazy, () => ({ + __proto__: dart.getMethods(html$._ChildNodeListLazy.__proto__), + [S$1._filter$2]: dart.fnType(dart.void, [dart.fnType(core.bool, [html$.Node]), core.bool]), + _set: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), + [$_set]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), + _get: dart.fnType(html$.Node, [core.int]), + [$_get]: dart.fnType(html$.Node, [core.int]) +})); +dart.setGetterSignature(html$._ChildNodeListLazy, () => ({ + __proto__: dart.getGetters(html$._ChildNodeListLazy.__proto__), + length: core.int, + [$length]: core.int, + rawList: core.List$(html$.Node) +})); +dart.setSetterSignature(html$._ChildNodeListLazy, () => ({ + __proto__: dart.getSetters(html$._ChildNodeListLazy.__proto__), + length: core.int, + [$length]: core.int +})); +dart.setLibraryUri(html$._ChildNodeListLazy, I[148]); +dart.setFieldSignature(html$._ChildNodeListLazy, () => ({ + __proto__: dart.getFields(html$._ChildNodeListLazy.__proto__), + [S$._this]: dart.finalFieldType(html$.Node) +})); +dart.defineExtensionMethods(html$._ChildNodeListLazy, [ + 'add', + 'addAll', + 'insert', + 'insertAll', + 'setAll', + 'removeLast', + 'removeAt', + 'remove', + 'removeWhere', + 'retainWhere', + 'clear', + '_set', + 'sort', + 'shuffle', + 'setRange', + 'fillRange', + 'removeRange', + '_get' +]); +dart.defineExtensionAccessors(html$._ChildNodeListLazy, [ + 'first', + 'last', + 'single', + 'iterator', + 'length' +]); +html$.NodeFilter = class NodeFilter extends _interceptors.Interceptor {}; +dart.addTypeTests(html$.NodeFilter); +dart.addTypeCaches(html$.NodeFilter); +dart.setLibraryUri(html$.NodeFilter, I[148]); +dart.defineLazy(html$.NodeFilter, { + /*html$.NodeFilter.FILTER_ACCEPT*/get FILTER_ACCEPT() { + return 1; + }, + /*html$.NodeFilter.FILTER_REJECT*/get FILTER_REJECT() { + return 2; + }, + /*html$.NodeFilter.FILTER_SKIP*/get FILTER_SKIP() { + return 3; + }, + /*html$.NodeFilter.SHOW_ALL*/get SHOW_ALL() { + return 4294967295.0; + }, + /*html$.NodeFilter.SHOW_COMMENT*/get SHOW_COMMENT() { + return 128; + }, + /*html$.NodeFilter.SHOW_DOCUMENT*/get SHOW_DOCUMENT() { + return 256; + }, + /*html$.NodeFilter.SHOW_DOCUMENT_FRAGMENT*/get SHOW_DOCUMENT_FRAGMENT() { + return 1024; + }, + /*html$.NodeFilter.SHOW_DOCUMENT_TYPE*/get SHOW_DOCUMENT_TYPE() { + return 512; + }, + /*html$.NodeFilter.SHOW_ELEMENT*/get SHOW_ELEMENT() { + return 1; + }, + /*html$.NodeFilter.SHOW_PROCESSING_INSTRUCTION*/get SHOW_PROCESSING_INSTRUCTION() { + return 64; + }, + /*html$.NodeFilter.SHOW_TEXT*/get SHOW_TEXT() { + return 4; + } +}, false); +dart.registerExtension("NodeFilter", html$.NodeFilter); +html$.NodeIterator = class NodeIterator extends _interceptors.Interceptor { + static new(root, whatToShow) { + if (root == null) dart.nullFailed(I[147], 23569, 29, "root"); + if (whatToShow == null) dart.nullFailed(I[147], 23569, 39, "whatToShow"); + return html$.document[S$1._createNodeIterator](root, whatToShow, null); + } + get [S$2.$pointerBeforeReferenceNode]() { + return this.pointerBeforeReferenceNode; + } + get [S$2.$referenceNode]() { + return this.referenceNode; + } + get [S$1.$root]() { + return this.root; + } + get [S$2.$whatToShow]() { + return this.whatToShow; + } + [S$2.$detach](...args) { + return this.detach.apply(this, args); + } + [S.$nextNode](...args) { + return this.nextNode.apply(this, args); + } + [S$.$previousNode](...args) { + return this.previousNode.apply(this, args); + } +}; +dart.addTypeTests(html$.NodeIterator); +dart.addTypeCaches(html$.NodeIterator); +dart.setMethodSignature(html$.NodeIterator, () => ({ + __proto__: dart.getMethods(html$.NodeIterator.__proto__), + [S$2.$detach]: dart.fnType(dart.void, []), + [S.$nextNode]: dart.fnType(dart.nullable(html$.Node), []), + [S$.$previousNode]: dart.fnType(dart.nullable(html$.Node), []) +})); +dart.setGetterSignature(html$.NodeIterator, () => ({ + __proto__: dart.getGetters(html$.NodeIterator.__proto__), + [S$2.$pointerBeforeReferenceNode]: dart.nullable(core.bool), + [S$2.$referenceNode]: dart.nullable(html$.Node), + [S$1.$root]: html$.Node, + [S$2.$whatToShow]: core.int +})); +dart.setLibraryUri(html$.NodeIterator, I[148]); +dart.registerExtension("NodeIterator", html$.NodeIterator); +const Interceptor_ListMixin$36$3 = class Interceptor_ListMixin extends _interceptors.Interceptor {}; +(Interceptor_ListMixin$36$3.new = function() { + Interceptor_ListMixin$36$3.__proto__.new.call(this); +}).prototype = Interceptor_ListMixin$36$3.prototype; +dart.applyMixin(Interceptor_ListMixin$36$3, collection.ListMixin$(html$.Node)); +const Interceptor_ImmutableListMixin$36$3 = class Interceptor_ImmutableListMixin extends Interceptor_ListMixin$36$3 {}; +(Interceptor_ImmutableListMixin$36$3.new = function() { + Interceptor_ImmutableListMixin$36$3.__proto__.new.call(this); +}).prototype = Interceptor_ImmutableListMixin$36$3.prototype; +dart.applyMixin(Interceptor_ImmutableListMixin$36$3, html$.ImmutableListMixin$(html$.Node)); +html$.NodeList = class NodeList extends Interceptor_ImmutableListMixin$36$3 { + get [$length]() { + return this.length; + } + [$_get](index) { + if (index == null) dart.nullFailed(I[147], 23606, 24, "index"); + if (index >>> 0 !== index || index >= this[$length]) dart.throw(new core.IndexError.new(index, this)); + return this[index]; + } + [$_set](index, value$) { + let value = value$; + if (index == null) dart.nullFailed(I[147], 23612, 25, "index"); + html$.Node.as(value); + if (value == null) dart.nullFailed(I[147], 23612, 37, "value"); + dart.throw(new core.UnsupportedError.new("Cannot assign element of immutable List.")); + return value$; + } + set [$length](value) { + if (value == null) dart.nullFailed(I[147], 23618, 18, "value"); + dart.throw(new core.UnsupportedError.new("Cannot resize immutable List.")); + } + get [$first]() { + if (dart.notNull(this[$length]) > 0) { + return this[0]; + } + dart.throw(new core.StateError.new("No elements")); + } + set [$first](value) { + super[$first] = value; + } + get [$last]() { + let len = this[$length]; + if (dart.notNull(len) > 0) { + return this[dart.notNull(len) - 1]; + } + dart.throw(new core.StateError.new("No elements")); + } + set [$last](value) { + super[$last] = value; + } + get [$single]() { + let len = this[$length]; + if (len === 1) { + return this[0]; + } + if (len === 0) dart.throw(new core.StateError.new("No elements")); + dart.throw(new core.StateError.new("More than one element")); + } + [$elementAt](index) { + if (index == null) dart.nullFailed(I[147], 23646, 22, "index"); + return this[$_get](index); + } + [S$1._item](...args) { + return this.item.apply(this, args); + } +}; +html$.NodeList.prototype[dart.isList] = true; +dart.addTypeTests(html$.NodeList); +dart.addTypeCaches(html$.NodeList); +html$.NodeList[dart.implements] = () => [_js_helper.JavaScriptIndexingBehavior$(html$.Node), core.List$(html$.Node)]; +dart.setMethodSignature(html$.NodeList, () => ({ + __proto__: dart.getMethods(html$.NodeList.__proto__), + [$_get]: dart.fnType(html$.Node, [core.int]), + [$_set]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), + [S$1._item]: dart.fnType(dart.nullable(html$.Node), [core.int]) +})); +dart.setGetterSignature(html$.NodeList, () => ({ + __proto__: dart.getGetters(html$.NodeList.__proto__), + [$length]: core.int +})); +dart.setSetterSignature(html$.NodeList, () => ({ + __proto__: dart.getSetters(html$.NodeList.__proto__), + [$length]: core.int +})); +dart.setLibraryUri(html$.NodeList, I[148]); +dart.registerExtension("NodeList", html$.NodeList); +dart.registerExtension("RadioNodeList", html$.NodeList); +html$.NonDocumentTypeChildNode = class NonDocumentTypeChildNode extends _interceptors.Interceptor { + get [S.$nextElementSibling]() { + return this.nextElementSibling; + } + get [S.$previousElementSibling]() { + return this.previousElementSibling; + } +}; +dart.addTypeTests(html$.NonDocumentTypeChildNode); +dart.addTypeCaches(html$.NonDocumentTypeChildNode); +dart.setGetterSignature(html$.NonDocumentTypeChildNode, () => ({ + __proto__: dart.getGetters(html$.NonDocumentTypeChildNode.__proto__), + [S.$nextElementSibling]: dart.nullable(html$.Element), + [S.$previousElementSibling]: dart.nullable(html$.Element) +})); +dart.setLibraryUri(html$.NonDocumentTypeChildNode, I[148]); +dart.registerExtension("NonDocumentTypeChildNode", html$.NonDocumentTypeChildNode); +html$.NonElementParentNode = class NonElementParentNode extends _interceptors.Interceptor { + [S$1.$getElementById](...args) { + return this.getElementById.apply(this, args); + } +}; +dart.addTypeTests(html$.NonElementParentNode); +dart.addTypeCaches(html$.NonElementParentNode); +dart.setMethodSignature(html$.NonElementParentNode, () => ({ + __proto__: dart.getMethods(html$.NonElementParentNode.__proto__), + [S$1.$getElementById]: dart.fnType(dart.nullable(html$.Element), [core.String]) +})); +dart.setLibraryUri(html$.NonElementParentNode, I[148]); +dart.registerExtension("NonElementParentNode", html$.NonElementParentNode); +html$.NoncedElement = class NoncedElement extends _interceptors.Interceptor { + get [S.$nonce]() { + return this.nonce; + } + set [S.$nonce](value) { + this.nonce = value; + } +}; +dart.addTypeTests(html$.NoncedElement); +dart.addTypeCaches(html$.NoncedElement); +dart.setGetterSignature(html$.NoncedElement, () => ({ + __proto__: dart.getGetters(html$.NoncedElement.__proto__), + [S.$nonce]: dart.nullable(core.String) +})); +dart.setSetterSignature(html$.NoncedElement, () => ({ + __proto__: dart.getSetters(html$.NoncedElement.__proto__), + [S.$nonce]: dart.nullable(core.String) +})); +dart.setLibraryUri(html$.NoncedElement, I[148]); +dart.registerExtension("NoncedElement", html$.NoncedElement); +html$.Notification = class Notification$ extends html$.EventTarget { + static new(title, opts) { + if (title == null) dart.nullFailed(I[147], 23701, 31, "title"); + let dir = opts && 'dir' in opts ? opts.dir : null; + let body = opts && 'body' in opts ? opts.body : null; + let lang = opts && 'lang' in opts ? opts.lang : null; + let tag = opts && 'tag' in opts ? opts.tag : null; + let icon = opts && 'icon' in opts ? opts.icon : null; + let parsedOptions = new _js_helper.LinkedMap.new(); + if (dir != null) parsedOptions[$_set]("dir", dir); + if (body != null) parsedOptions[$_set]("body", body); + if (lang != null) parsedOptions[$_set]("lang", lang); + if (tag != null) parsedOptions[$_set]("tag", tag); + if (icon != null) parsedOptions[$_set]("icon", icon); + return html$.Notification._factoryNotification(title, parsedOptions); + } + static _factoryNotification(title, options = null) { + if (title == null) dart.nullFailed(I[147], 23752, 51, "title"); + if (options != null) { + let options_1 = html_common.convertDartToNative_Dictionary(options); + return html$.Notification._create_1(title, options_1); + } + return html$.Notification._create_2(title); + } + static _create_1(title, options) { + return new Notification(title, options); + } + static _create_2(title) { + return new Notification(title); + } + static get supported() { + return !!window.Notification; + } + get [S$2.$actions]() { + return this.actions; + } + get [S$2.$badge]() { + return this.badge; + } + get [S$1.$body]() { + return this.body; + } + get [S$.$data]() { + return this.data; + } + get [S.$dir]() { + return this.dir; + } + get [S$2.$icon]() { + return this.icon; + } + get [S$2.$image]() { + return this.image; + } + get [S.$lang]() { + return this.lang; + } + get [S$2.$renotify]() { + return this.renotify; + } + get [S$2.$requireInteraction]() { + return this.requireInteraction; + } + get [S$2.$silent]() { + return this.silent; + } + get [S$2.$tag]() { + return this.tag; + } + get [S$.$timestamp]() { + return this.timestamp; + } + get [S.$title]() { + return this.title; + } + get [S$2.$vibrate]() { + return this.vibrate; + } + [S.$close](...args) { + return this.close.apply(this, args); + } + static requestPermission() { + let completer = T$0.CompleterOfString().new(); + dart.global.Notification.requestPermission(dart.fn(value => { + if (value == null) dart.nullFailed(I[147], 23813, 25, "value"); + completer.complete(value); + }, T$.StringTovoid())); + return completer.future; + } + get [S.$onClick]() { + return html$.Notification.clickEvent.forTarget(this); + } + get [S.$onClose]() { + return html$.Notification.closeEvent.forTarget(this); + } + get [S.$onError]() { + return html$.Notification.errorEvent.forTarget(this); + } + get [S$2.$onShow]() { + return html$.Notification.showEvent.forTarget(this); + } +}; +dart.addTypeTests(html$.Notification); +dart.addTypeCaches(html$.Notification); +dart.setMethodSignature(html$.Notification, () => ({ + __proto__: dart.getMethods(html$.Notification.__proto__), + [S.$close]: dart.fnType(dart.void, []) +})); +dart.setGetterSignature(html$.Notification, () => ({ + __proto__: dart.getGetters(html$.Notification.__proto__), + [S$2.$actions]: dart.nullable(core.List), + [S$2.$badge]: dart.nullable(core.String), + [S$1.$body]: dart.nullable(core.String), + [S$.$data]: dart.nullable(core.Object), + [S.$dir]: dart.nullable(core.String), + [S$2.$icon]: dart.nullable(core.String), + [S$2.$image]: dart.nullable(core.String), + [S.$lang]: dart.nullable(core.String), + [S$2.$renotify]: dart.nullable(core.bool), + [S$2.$requireInteraction]: dart.nullable(core.bool), + [S$2.$silent]: dart.nullable(core.bool), + [S$2.$tag]: dart.nullable(core.String), + [S$.$timestamp]: dart.nullable(core.int), + [S.$title]: dart.nullable(core.String), + [S$2.$vibrate]: dart.nullable(core.List$(core.int)), + [S.$onClick]: async.Stream$(html$.Event), + [S.$onClose]: async.Stream$(html$.Event), + [S.$onError]: async.Stream$(html$.Event), + [S$2.$onShow]: async.Stream$(html$.Event) +})); +dart.setLibraryUri(html$.Notification, I[148]); +dart.defineLazy(html$.Notification, { + /*html$.Notification.clickEvent*/get clickEvent() { + return C[351] || CT.C351; + }, + /*html$.Notification.closeEvent*/get closeEvent() { + return C[215] || CT.C215; + }, + /*html$.Notification.errorEvent*/get errorEvent() { + return C[216] || CT.C216; + }, + /*html$.Notification.showEvent*/get showEvent() { + return C[352] || CT.C352; + } +}, false); +dart.registerExtension("Notification", html$.Notification); +html$.NotificationEvent = class NotificationEvent$ extends html$.ExtendableEvent { + static new(type, eventInitDict) { + if (type == null) dart.nullFailed(I[147], 23842, 36, "type"); + if (eventInitDict == null) dart.nullFailed(I[147], 23842, 46, "eventInitDict"); + let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); + return html$.NotificationEvent._create_1(type, eventInitDict_1); + } + static _create_1(type, eventInitDict) { + return new NotificationEvent(type, eventInitDict); + } + get [S$1.$action]() { + return this.action; + } + get [S$2.$notification]() { + return this.notification; + } + get [S$2.$reply]() { + return this.reply; + } +}; +dart.addTypeTests(html$.NotificationEvent); +dart.addTypeCaches(html$.NotificationEvent); +dart.setGetterSignature(html$.NotificationEvent, () => ({ + __proto__: dart.getGetters(html$.NotificationEvent.__proto__), + [S$1.$action]: dart.nullable(core.String), + [S$2.$notification]: dart.nullable(html$.Notification), + [S$2.$reply]: dart.nullable(core.String) +})); +dart.setLibraryUri(html$.NotificationEvent, I[148]); +dart.registerExtension("NotificationEvent", html$.NotificationEvent); +html$.OListElement = class OListElement extends html$.HtmlElement { + static new() { + return html$.document.createElement("ol"); + } + get [$reversed]() { + return this.reversed; + } + set [$reversed](value) { + this.reversed = value; + } + get [S$.$start]() { + return this.start; + } + set [S$.$start](value) { + this.start = value; + } + get [S.$type]() { + return this.type; + } + set [S.$type](value) { + this.type = value; + } +}; +(html$.OListElement.created = function() { + html$.OListElement.__proto__.created.call(this); + ; +}).prototype = html$.OListElement.prototype; +dart.addTypeTests(html$.OListElement); +dart.addTypeCaches(html$.OListElement); +dart.setGetterSignature(html$.OListElement, () => ({ + __proto__: dart.getGetters(html$.OListElement.__proto__), + [$reversed]: dart.nullable(core.bool), + [S$.$start]: core.int, + [S.$type]: core.String +})); +dart.setSetterSignature(html$.OListElement, () => ({ + __proto__: dart.getSetters(html$.OListElement.__proto__), + [$reversed]: dart.nullable(core.bool), + [S$.$start]: core.int, + [S.$type]: core.String +})); +dart.setLibraryUri(html$.OListElement, I[148]); +dart.registerExtension("HTMLOListElement", html$.OListElement); +html$.ObjectElement = class ObjectElement extends html$.HtmlElement { + static new() { + return html$.ObjectElement.as(html$.document[S.$createElement]("object")); + } + static get supported() { + return html$.Element.isTagSupported("object"); + } + get [S$1.$contentWindow]() { + return html$._convertNativeToDart_Window(this[S$1._get_contentWindow]); + } + get [S$1._get_contentWindow]() { + return this.contentWindow; + } + get [S$.$data]() { + return this.data; + } + set [S$.$data](value) { + this.data = value; + } + get [S$.$form]() { + return this.form; + } + get [$height]() { + return this.height; + } + set [$height](value) { + this.height = value; + } + get [$name]() { + return this.name; + } + set [$name](value) { + this.name = value; + } + get [S.$type]() { + return this.type; + } + set [S.$type](value) { + this.type = value; + } + get [S$1.$useMap]() { + return this.useMap; + } + set [S$1.$useMap](value) { + this.useMap = value; + } + get [S$.$validationMessage]() { + return this.validationMessage; + } + get [S$.$validity]() { + return this.validity; + } + get [$width]() { + return this.width; + } + set [$width](value) { + this.width = value; + } + get [S$.$willValidate]() { + return this.willValidate; + } + [S$.__getter__](...args) { + return this.__getter__.apply(this, args); + } + [S$.__setter__](...args) { + return this.__setter__.apply(this, args); + } + [S$.$checkValidity](...args) { + return this.checkValidity.apply(this, args); + } + [S$.$reportValidity](...args) { + return this.reportValidity.apply(this, args); + } + [S$.$setCustomValidity](...args) { + return this.setCustomValidity.apply(this, args); + } +}; +(html$.ObjectElement.created = function() { + html$.ObjectElement.__proto__.created.call(this); + ; +}).prototype = html$.ObjectElement.prototype; +dart.addTypeTests(html$.ObjectElement); +dart.addTypeCaches(html$.ObjectElement); +dart.setMethodSignature(html$.ObjectElement, () => ({ + __proto__: dart.getMethods(html$.ObjectElement.__proto__), + [S$.__getter__]: dart.fnType(html$.Node, [core.String]), + [S$.__setter__]: dart.fnType(dart.void, [core.String, html$.Node]), + [S$.$checkValidity]: dart.fnType(core.bool, []), + [S$.$reportValidity]: dart.fnType(core.bool, []), + [S$.$setCustomValidity]: dart.fnType(dart.void, [core.String]) +})); +dart.setGetterSignature(html$.ObjectElement, () => ({ + __proto__: dart.getGetters(html$.ObjectElement.__proto__), + [S$1.$contentWindow]: dart.nullable(html$.WindowBase), + [S$1._get_contentWindow]: dart.dynamic, + [S$.$data]: core.String, + [S$.$form]: dart.nullable(html$.FormElement), + [$height]: core.String, + [$name]: core.String, + [S.$type]: core.String, + [S$1.$useMap]: core.String, + [S$.$validationMessage]: core.String, + [S$.$validity]: html$.ValidityState, + [$width]: core.String, + [S$.$willValidate]: core.bool +})); +dart.setSetterSignature(html$.ObjectElement, () => ({ + __proto__: dart.getSetters(html$.ObjectElement.__proto__), + [S$.$data]: core.String, + [$height]: core.String, + [$name]: core.String, + [S.$type]: core.String, + [S$1.$useMap]: core.String, + [$width]: core.String +})); +dart.setLibraryUri(html$.ObjectElement, I[148]); +dart.registerExtension("HTMLObjectElement", html$.ObjectElement); +html$.OffscreenCanvas = class OffscreenCanvas$ extends html$.EventTarget { + static new(width, height) { + if (width == null) dart.nullFailed(I[147], 23983, 31, "width"); + if (height == null) dart.nullFailed(I[147], 23983, 42, "height"); + return html$.OffscreenCanvas._create_1(width, height); + } + static _create_1(width, height) { + return new OffscreenCanvas(width, height); + } + get [$height]() { + return this.height; + } + set [$height](value) { + this.height = value; + } + get [$width]() { + return this.width; + } + set [$width](value) { + this.width = value; + } + [S$2.$convertToBlob](options = null) { + let options_dict = null; + if (options != null) { + options_dict = html_common.convertDartToNative_Dictionary(options); + } + return js_util.promiseToFuture(html$.Blob, this.convertToBlob(options_dict)); + } + [S$.$getContext](contextType, attributes = null) { + if (contextType == null) dart.nullFailed(I[147], 24006, 29, "contextType"); + if (attributes != null) { + let attributes_1 = html_common.convertDartToNative_Dictionary(attributes); + return this[S$._getContext_1](contextType, attributes_1); + } + return this[S$._getContext_2](contextType); + } + [S$._getContext_1](...args) { + return this.getContext.apply(this, args); + } + [S$._getContext_2](...args) { + return this.getContext.apply(this, args); + } + [S$2.$transferToImageBitmap](...args) { + return this.transferToImageBitmap.apply(this, args); + } +}; +dart.addTypeTests(html$.OffscreenCanvas); +dart.addTypeCaches(html$.OffscreenCanvas); +dart.setMethodSignature(html$.OffscreenCanvas, () => ({ + __proto__: dart.getMethods(html$.OffscreenCanvas.__proto__), + [S$2.$convertToBlob]: dart.fnType(async.Future$(html$.Blob), [], [dart.nullable(core.Map)]), + [S$.$getContext]: dart.fnType(dart.nullable(core.Object), [core.String], [dart.nullable(core.Map)]), + [S$._getContext_1]: dart.fnType(dart.nullable(core.Object), [dart.dynamic, dart.dynamic]), + [S$._getContext_2]: dart.fnType(dart.nullable(core.Object), [dart.dynamic]), + [S$2.$transferToImageBitmap]: dart.fnType(html$.ImageBitmap, []) +})); +dart.setGetterSignature(html$.OffscreenCanvas, () => ({ + __proto__: dart.getGetters(html$.OffscreenCanvas.__proto__), + [$height]: dart.nullable(core.int), + [$width]: dart.nullable(core.int) +})); +dart.setSetterSignature(html$.OffscreenCanvas, () => ({ + __proto__: dart.getSetters(html$.OffscreenCanvas.__proto__), + [$height]: dart.nullable(core.int), + [$width]: dart.nullable(core.int) +})); +dart.setLibraryUri(html$.OffscreenCanvas, I[148]); +dart.registerExtension("OffscreenCanvas", html$.OffscreenCanvas); +html$.OffscreenCanvasRenderingContext2D = class OffscreenCanvasRenderingContext2D extends _interceptors.Interceptor { + get [S$.$canvas]() { + return this.canvas; + } + get [S.$direction]() { + return this.direction; + } + set [S.$direction](value) { + this.direction = value; + } + get [S$.$fillStyle]() { + return this.fillStyle; + } + set [S$.$fillStyle](value) { + this.fillStyle = value; + } + get [S$.$filter]() { + return this.filter; + } + set [S$.$filter](value) { + this.filter = value; + } + get [S$.$font]() { + return this.font; + } + set [S$.$font](value) { + this.font = value; + } + get [S$.$globalAlpha]() { + return this.globalAlpha; + } + set [S$.$globalAlpha](value) { + this.globalAlpha = value; + } + get [S$.$globalCompositeOperation]() { + return this.globalCompositeOperation; + } + set [S$.$globalCompositeOperation](value) { + this.globalCompositeOperation = value; + } + get [S$.$imageSmoothingEnabled]() { + return this.imageSmoothingEnabled; + } + set [S$.$imageSmoothingEnabled](value) { + this.imageSmoothingEnabled = value; + } + get [S$.$imageSmoothingQuality]() { + return this.imageSmoothingQuality; + } + set [S$.$imageSmoothingQuality](value) { + this.imageSmoothingQuality = value; + } + get [S$.$lineCap]() { + return this.lineCap; + } + set [S$.$lineCap](value) { + this.lineCap = value; + } + get [S$.$lineDashOffset]() { + return this.lineDashOffset; + } + set [S$.$lineDashOffset](value) { + this.lineDashOffset = value; + } + get [S$.$lineJoin]() { + return this.lineJoin; + } + set [S$.$lineJoin](value) { + this.lineJoin = value; + } + get [S$.$lineWidth]() { + return this.lineWidth; + } + set [S$.$lineWidth](value) { + this.lineWidth = value; + } + get [S$.$miterLimit]() { + return this.miterLimit; + } + set [S$.$miterLimit](value) { + this.miterLimit = value; + } + get [S$.$shadowBlur]() { + return this.shadowBlur; + } + set [S$.$shadowBlur](value) { + this.shadowBlur = value; + } + get [S$.$shadowColor]() { + return this.shadowColor; + } + set [S$.$shadowColor](value) { + this.shadowColor = value; + } + get [S$.$shadowOffsetX]() { + return this.shadowOffsetX; + } + set [S$.$shadowOffsetX](value) { + this.shadowOffsetX = value; + } + get [S$.$shadowOffsetY]() { + return this.shadowOffsetY; + } + set [S$.$shadowOffsetY](value) { + this.shadowOffsetY = value; + } + get [S$.$strokeStyle]() { + return this.strokeStyle; + } + set [S$.$strokeStyle](value) { + this.strokeStyle = value; + } + get [S$.$textAlign]() { + return this.textAlign; + } + set [S$.$textAlign](value) { + this.textAlign = value; + } + get [S$.$textBaseline]() { + return this.textBaseline; + } + set [S$.$textBaseline](value) { + this.textBaseline = value; + } + [S$.$beginPath](...args) { + return this.beginPath.apply(this, args); + } + [S$.$clearRect](...args) { + return this.clearRect.apply(this, args); + } + [S$.$clip](...args) { + return this.clip.apply(this, args); + } + [S$2.$commit]() { + return js_util.promiseToFuture(dart.dynamic, this.commit()); + } + [S$.$createImageData](data_OR_imagedata_OR_sw, sh_OR_sw = null, imageDataColorSettings_OR_sh = null, imageDataColorSettings = null) { + if (html$.ImageData.is(data_OR_imagedata_OR_sw) && sh_OR_sw == null && imageDataColorSettings_OR_sh == null && imageDataColorSettings == null) { + let imagedata_1 = html_common.convertDartToNative_ImageData(data_OR_imagedata_OR_sw); + return html_common.convertNativeToDart_ImageData(this[S$._createImageData_1](imagedata_1)); + } + if (sh_OR_sw != null && core.int.is(data_OR_imagedata_OR_sw) && imageDataColorSettings_OR_sh == null && imageDataColorSettings == null) { + return html_common.convertNativeToDart_ImageData(this[S$._createImageData_2](data_OR_imagedata_OR_sw, sh_OR_sw)); + } + if (core.Map.is(imageDataColorSettings_OR_sh) && sh_OR_sw != null && core.int.is(data_OR_imagedata_OR_sw) && imageDataColorSettings == null) { + let imageDataColorSettings_1 = html_common.convertDartToNative_Dictionary(imageDataColorSettings_OR_sh); + return html_common.convertNativeToDart_ImageData(this[S$._createImageData_3](data_OR_imagedata_OR_sw, sh_OR_sw, imageDataColorSettings_1)); + } + if (imageDataColorSettings != null && core.int.is(imageDataColorSettings_OR_sh) && sh_OR_sw != null && data_OR_imagedata_OR_sw != null) { + let imageDataColorSettings_1 = html_common.convertDartToNative_Dictionary(imageDataColorSettings); + return html_common.convertNativeToDart_ImageData(this[S$._createImageData_4](data_OR_imagedata_OR_sw, sh_OR_sw, imageDataColorSettings_OR_sh, imageDataColorSettings_1)); + } + dart.throw(new core.ArgumentError.new("Incorrect number or type of arguments")); + } + [S$._createImageData_1](...args) { + return this.createImageData.apply(this, args); + } + [S$._createImageData_2](...args) { + return this.createImageData.apply(this, args); + } + [S$._createImageData_3](...args) { + return this.createImageData.apply(this, args); + } + [S$._createImageData_4](...args) { + return this.createImageData.apply(this, args); + } + [S$.$createLinearGradient](...args) { + return this.createLinearGradient.apply(this, args); + } + [S$.$createPattern](...args) { + return this.createPattern.apply(this, args); + } + [S$.$createRadialGradient](...args) { + return this.createRadialGradient.apply(this, args); + } + [S$.$drawImage](...args) { + return this.drawImage.apply(this, args); + } + [S$.$fill](...args) { + return this.fill.apply(this, args); + } + [S$.$fillRect](...args) { + return this.fillRect.apply(this, args); + } + [S$.$fillText](...args) { + return this.fillText.apply(this, args); + } + [S$.$getImageData](sx, sy, sw, sh) { + if (sx == null) dart.nullFailed(I[147], 24196, 30, "sx"); + if (sy == null) dart.nullFailed(I[147], 24196, 38, "sy"); + if (sw == null) dart.nullFailed(I[147], 24196, 46, "sw"); + if (sh == null) dart.nullFailed(I[147], 24196, 54, "sh"); + return html_common.convertNativeToDart_ImageData(this[S$._getImageData_1](sx, sy, sw, sh)); + } + [S$._getImageData_1](...args) { + return this.getImageData.apply(this, args); + } + [S$.$getLineDash](...args) { + return this.getLineDash.apply(this, args); + } + [S$.$isPointInPath](...args) { + return this.isPointInPath.apply(this, args); + } + [S$.$isPointInStroke](...args) { + return this.isPointInStroke.apply(this, args); + } + [S$.$measureText](...args) { + return this.measureText.apply(this, args); + } + [S$.$putImageData](imagedata, dx, dy, dirtyX = null, dirtyY = null, dirtyWidth = null, dirtyHeight = null) { + if (imagedata == null) dart.nullFailed(I[147], 24212, 31, "imagedata"); + if (dx == null) dart.nullFailed(I[147], 24212, 46, "dx"); + if (dy == null) dart.nullFailed(I[147], 24212, 54, "dy"); + if (dirtyX == null && dirtyY == null && dirtyWidth == null && dirtyHeight == null) { + let imagedata_1 = html_common.convertDartToNative_ImageData(imagedata); + this[S$._putImageData_1](imagedata_1, dx, dy); + return; + } + if (dirtyHeight != null && dirtyWidth != null && dirtyY != null && dirtyX != null) { + let imagedata_1 = html_common.convertDartToNative_ImageData(imagedata); + this[S$._putImageData_2](imagedata_1, dx, dy, dirtyX, dirtyY, dirtyWidth, dirtyHeight); + return; + } + dart.throw(new core.ArgumentError.new("Incorrect number or type of arguments")); + } + [S$._putImageData_1](...args) { + return this.putImageData.apply(this, args); + } + [S$._putImageData_2](...args) { + return this.putImageData.apply(this, args); + } + [S$.$resetTransform](...args) { + return this.resetTransform.apply(this, args); + } + [S$.$restore](...args) { + return this.restore.apply(this, args); + } + [S$.$rotate](...args) { + return this.rotate.apply(this, args); + } + [S$.$save](...args) { + return this.save.apply(this, args); + } + [S$.$scale](...args) { + return this.scale.apply(this, args); + } + [S$.$setLineDash](...args) { + return this.setLineDash.apply(this, args); + } + [S$.$setTransform](...args) { + return this.setTransform.apply(this, args); + } + [S$.$stroke](...args) { + return this.stroke.apply(this, args); + } + [S$.$strokeRect](...args) { + return this.strokeRect.apply(this, args); + } + [S$.$strokeText](...args) { + return this.strokeText.apply(this, args); + } + [S$.$transform](...args) { + return this.transform.apply(this, args); + } + [S.$translate](...args) { + return this.translate.apply(this, args); + } + [S$.$arc](...args) { + return this.arc.apply(this, args); + } + [S$.$arcTo](...args) { + return this.arcTo.apply(this, args); + } + [S$.$bezierCurveTo](...args) { + return this.bezierCurveTo.apply(this, args); + } + [S$.$closePath](...args) { + return this.closePath.apply(this, args); + } + [S$.$ellipse](...args) { + return this.ellipse.apply(this, args); + } + [S$.$lineTo](...args) { + return this.lineTo.apply(this, args); + } + [S$.$moveTo](...args) { + return this.moveTo.apply(this, args); + } + [S$.$quadraticCurveTo](...args) { + return this.quadraticCurveTo.apply(this, args); + } + [S$.$rect](...args) { + return this.rect.apply(this, args); + } +}; +dart.addTypeTests(html$.OffscreenCanvasRenderingContext2D); +dart.addTypeCaches(html$.OffscreenCanvasRenderingContext2D); +html$.OffscreenCanvasRenderingContext2D[dart.implements] = () => [html$._CanvasPath]; +dart.setMethodSignature(html$.OffscreenCanvasRenderingContext2D, () => ({ + __proto__: dart.getMethods(html$.OffscreenCanvasRenderingContext2D.__proto__), + [S$.$beginPath]: dart.fnType(dart.void, []), + [S$.$clearRect]: dart.fnType(dart.void, [core.num, core.num, core.num, core.num]), + [S$.$clip]: dart.fnType(dart.void, [], [dart.nullable(html$.Path2D)]), + [S$2.$commit]: dart.fnType(async.Future, []), + [S$.$createImageData]: dart.fnType(html$.ImageData, [dart.dynamic], [dart.nullable(core.int), dart.dynamic, dart.nullable(core.Map)]), + [S$._createImageData_1]: dart.fnType(dart.dynamic, [dart.dynamic]), + [S$._createImageData_2]: dart.fnType(dart.dynamic, [core.int, dart.dynamic]), + [S$._createImageData_3]: dart.fnType(dart.dynamic, [core.int, dart.dynamic, dart.dynamic]), + [S$._createImageData_4]: dart.fnType(dart.dynamic, [dart.dynamic, dart.dynamic, dart.nullable(core.int), dart.dynamic]), + [S$.$createLinearGradient]: dart.fnType(html$.CanvasGradient, [core.num, core.num, core.num, core.num]), + [S$.$createPattern]: dart.fnType(dart.nullable(html$.CanvasPattern), [dart.dynamic, core.String]), + [S$.$createRadialGradient]: dart.fnType(html$.CanvasGradient, [core.num, core.num, core.num, core.num, core.num, core.num]), + [S$.$drawImage]: dart.fnType(dart.void, [dart.dynamic, core.num, core.num], [dart.nullable(core.num), dart.nullable(core.num), dart.nullable(core.num), dart.nullable(core.num), dart.nullable(core.num), dart.nullable(core.num)]), + [S$.$fill]: dart.fnType(dart.void, [], [dart.dynamic, dart.nullable(core.String)]), + [S$.$fillRect]: dart.fnType(dart.void, [core.num, core.num, core.num, core.num]), + [S$.$fillText]: dart.fnType(dart.void, [core.String, core.num, core.num], [dart.nullable(core.num)]), + [S$.$getImageData]: dart.fnType(html$.ImageData, [core.int, core.int, core.int, core.int]), + [S$._getImageData_1]: dart.fnType(dart.dynamic, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic]), + [S$.$getLineDash]: dart.fnType(core.List$(core.num), []), + [S$.$isPointInPath]: dart.fnType(core.bool, [dart.dynamic, core.num], [dart.dynamic, dart.nullable(core.String)]), + [S$.$isPointInStroke]: dart.fnType(core.bool, [dart.dynamic, core.num], [dart.nullable(core.num)]), + [S$.$measureText]: dart.fnType(html$.TextMetrics, [core.String]), + [S$.$putImageData]: dart.fnType(dart.void, [html$.ImageData, core.int, core.int], [dart.nullable(core.int), dart.nullable(core.int), dart.nullable(core.int), dart.nullable(core.int)]), + [S$._putImageData_1]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic]), + [S$._putImageData_2]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic]), + [S$.$resetTransform]: dart.fnType(dart.void, []), + [S$.$restore]: dart.fnType(dart.void, []), + [S$.$rotate]: dart.fnType(dart.void, [core.num]), + [S$.$save]: dart.fnType(dart.void, []), + [S$.$scale]: dart.fnType(dart.void, [core.num, core.num]), + [S$.$setLineDash]: dart.fnType(dart.void, [core.List$(core.num)]), + [S$.$setTransform]: dart.fnType(dart.void, [core.num, core.num, core.num, core.num, core.num, core.num]), + [S$.$stroke]: dart.fnType(dart.void, [], [dart.nullable(html$.Path2D)]), + [S$.$strokeRect]: dart.fnType(dart.void, [core.num, core.num, core.num, core.num]), + [S$.$strokeText]: dart.fnType(dart.void, [core.String, core.num, core.num], [dart.nullable(core.num)]), + [S$.$transform]: dart.fnType(dart.void, [core.num, core.num, core.num, core.num, core.num, core.num]), + [S.$translate]: dart.fnType(dart.void, [core.num, core.num]), + [S$.$arc]: dart.fnType(dart.void, [core.num, core.num, core.num, core.num, core.num, dart.nullable(core.bool)]), + [S$.$arcTo]: dart.fnType(dart.void, [core.num, core.num, core.num, core.num, core.num]), + [S$.$bezierCurveTo]: dart.fnType(dart.void, [core.num, core.num, core.num, core.num, core.num, core.num]), + [S$.$closePath]: dart.fnType(dart.void, []), + [S$.$ellipse]: dart.fnType(dart.void, [core.num, core.num, core.num, core.num, core.num, core.num, core.num, dart.nullable(core.bool)]), + [S$.$lineTo]: dart.fnType(dart.void, [core.num, core.num]), + [S$.$moveTo]: dart.fnType(dart.void, [core.num, core.num]), + [S$.$quadraticCurveTo]: dart.fnType(dart.void, [core.num, core.num, core.num, core.num]), + [S$.$rect]: dart.fnType(dart.void, [core.num, core.num, core.num, core.num]) +})); +dart.setGetterSignature(html$.OffscreenCanvasRenderingContext2D, () => ({ + __proto__: dart.getGetters(html$.OffscreenCanvasRenderingContext2D.__proto__), + [S$.$canvas]: dart.nullable(html$.OffscreenCanvas), + [S.$direction]: dart.nullable(core.String), + [S$.$fillStyle]: dart.nullable(core.Object), + [S$.$filter]: dart.nullable(core.String), + [S$.$font]: dart.nullable(core.String), + [S$.$globalAlpha]: dart.nullable(core.num), + [S$.$globalCompositeOperation]: dart.nullable(core.String), + [S$.$imageSmoothingEnabled]: dart.nullable(core.bool), + [S$.$imageSmoothingQuality]: dart.nullable(core.String), + [S$.$lineCap]: dart.nullable(core.String), + [S$.$lineDashOffset]: dart.nullable(core.num), + [S$.$lineJoin]: dart.nullable(core.String), + [S$.$lineWidth]: dart.nullable(core.num), + [S$.$miterLimit]: dart.nullable(core.num), + [S$.$shadowBlur]: dart.nullable(core.num), + [S$.$shadowColor]: dart.nullable(core.String), + [S$.$shadowOffsetX]: dart.nullable(core.num), + [S$.$shadowOffsetY]: dart.nullable(core.num), + [S$.$strokeStyle]: dart.nullable(core.Object), + [S$.$textAlign]: dart.nullable(core.String), + [S$.$textBaseline]: dart.nullable(core.String) +})); +dart.setSetterSignature(html$.OffscreenCanvasRenderingContext2D, () => ({ + __proto__: dart.getSetters(html$.OffscreenCanvasRenderingContext2D.__proto__), + [S.$direction]: dart.nullable(core.String), + [S$.$fillStyle]: dart.nullable(core.Object), + [S$.$filter]: dart.nullable(core.String), + [S$.$font]: dart.nullable(core.String), + [S$.$globalAlpha]: dart.nullable(core.num), + [S$.$globalCompositeOperation]: dart.nullable(core.String), + [S$.$imageSmoothingEnabled]: dart.nullable(core.bool), + [S$.$imageSmoothingQuality]: dart.nullable(core.String), + [S$.$lineCap]: dart.nullable(core.String), + [S$.$lineDashOffset]: dart.nullable(core.num), + [S$.$lineJoin]: dart.nullable(core.String), + [S$.$lineWidth]: dart.nullable(core.num), + [S$.$miterLimit]: dart.nullable(core.num), + [S$.$shadowBlur]: dart.nullable(core.num), + [S$.$shadowColor]: dart.nullable(core.String), + [S$.$shadowOffsetX]: dart.nullable(core.num), + [S$.$shadowOffsetY]: dart.nullable(core.num), + [S$.$strokeStyle]: dart.nullable(core.Object), + [S$.$textAlign]: dart.nullable(core.String), + [S$.$textBaseline]: dart.nullable(core.String) +})); +dart.setLibraryUri(html$.OffscreenCanvasRenderingContext2D, I[148]); +dart.registerExtension("OffscreenCanvasRenderingContext2D", html$.OffscreenCanvasRenderingContext2D); +html$.OptGroupElement = class OptGroupElement extends html$.HtmlElement { + static new() { + return html$.document.createElement("optgroup"); + } + get [S$.$disabled]() { + return this.disabled; + } + set [S$.$disabled](value) { + this.disabled = value; + } + get [S$.$label]() { + return this.label; + } + set [S$.$label](value) { + this.label = value; + } +}; +(html$.OptGroupElement.created = function() { + html$.OptGroupElement.__proto__.created.call(this); + ; +}).prototype = html$.OptGroupElement.prototype; +dart.addTypeTests(html$.OptGroupElement); +dart.addTypeCaches(html$.OptGroupElement); +dart.setGetterSignature(html$.OptGroupElement, () => ({ + __proto__: dart.getGetters(html$.OptGroupElement.__proto__), + [S$.$disabled]: core.bool, + [S$.$label]: core.String +})); +dart.setSetterSignature(html$.OptGroupElement, () => ({ + __proto__: dart.getSetters(html$.OptGroupElement.__proto__), + [S$.$disabled]: core.bool, + [S$.$label]: core.String +})); +dart.setLibraryUri(html$.OptGroupElement, I[148]); +dart.registerExtension("HTMLOptGroupElement", html$.OptGroupElement); +html$.OptionElement = class OptionElement extends html$.HtmlElement { + static new(opts) { + let data = opts && 'data' in opts ? opts.data : ""; + if (data == null) dart.nullFailed(I[147], 24325, 15, "data"); + let value = opts && 'value' in opts ? opts.value : ""; + if (value == null) dart.nullFailed(I[147], 24325, 32, "value"); + let selected = opts && 'selected' in opts ? opts.selected : false; + if (selected == null) dart.nullFailed(I[147], 24325, 48, "selected"); + return html$.OptionElement.__(data, value, null, selected); + } + static __(data = null, value = null, defaultSelected = null, selected = null) { + if (selected != null) { + return html$.OptionElement._create_1(data, value, defaultSelected, selected); + } + if (defaultSelected != null) { + return html$.OptionElement._create_2(data, value, defaultSelected); + } + if (value != null) { + return html$.OptionElement._create_3(data, value); + } + if (data != null) { + return html$.OptionElement._create_4(data); + } + return html$.OptionElement._create_5(); + } + static _create_1(data, value, defaultSelected, selected) { + return new Option(data, value, defaultSelected, selected); + } + static _create_2(data, value, defaultSelected) { + return new Option(data, value, defaultSelected); + } + static _create_3(data, value) { + return new Option(data, value); + } + static _create_4(data) { + return new Option(data); + } + static _create_5() { + return new Option(); + } + get [S$2.$defaultSelected]() { + return this.defaultSelected; + } + set [S$2.$defaultSelected](value) { + this.defaultSelected = value; + } + get [S$.$disabled]() { + return this.disabled; + } + set [S$.$disabled](value) { + this.disabled = value; + } + get [S$.$form]() { + return this.form; + } + get [S.$index]() { + return this.index; + } + get [S$.$label]() { + return this.label; + } + set [S$.$label](value) { + this.label = value; + } + get [S$.$selected]() { + return this.selected; + } + set [S$.$selected](value) { + this.selected = value; + } + get [S.$value]() { + return this.value; + } + set [S.$value](value) { + this.value = value; + } +}; +(html$.OptionElement.created = function() { + html$.OptionElement.__proto__.created.call(this); + ; +}).prototype = html$.OptionElement.prototype; +dart.addTypeTests(html$.OptionElement); +dart.addTypeCaches(html$.OptionElement); +dart.setGetterSignature(html$.OptionElement, () => ({ + __proto__: dart.getGetters(html$.OptionElement.__proto__), + [S$2.$defaultSelected]: core.bool, + [S$.$disabled]: core.bool, + [S$.$form]: dart.nullable(html$.FormElement), + [S.$index]: core.int, + [S$.$label]: dart.nullable(core.String), + [S$.$selected]: core.bool, + [S.$value]: core.String +})); +dart.setSetterSignature(html$.OptionElement, () => ({ + __proto__: dart.getSetters(html$.OptionElement.__proto__), + [S$2.$defaultSelected]: core.bool, + [S$.$disabled]: core.bool, + [S$.$label]: dart.nullable(core.String), + [S$.$selected]: core.bool, + [S.$value]: core.String +})); +dart.setLibraryUri(html$.OptionElement, I[148]); +dart.registerExtension("HTMLOptionElement", html$.OptionElement); +html$.OutputElement = class OutputElement extends html$.HtmlElement { + static new() { + return html$.OutputElement.as(html$.document[S.$createElement]("output")); + } + static get supported() { + return html$.Element.isTagSupported("output"); + } + get [S$1.$defaultValue]() { + return this.defaultValue; + } + set [S$1.$defaultValue](value) { + this.defaultValue = value; + } + get [S$.$form]() { + return this.form; + } + get [S$1.$htmlFor]() { + return this.htmlFor; + } + get [S$.$labels]() { + return this.labels; + } + get [$name]() { + return this.name; + } + set [$name](value) { + this.name = value; + } + get [S.$type]() { + return this.type; + } + get [S$.$validationMessage]() { + return this.validationMessage; + } + get [S$.$validity]() { + return this.validity; + } + get [S.$value]() { + return this.value; + } + set [S.$value](value) { + this.value = value; + } + get [S$.$willValidate]() { + return this.willValidate; + } + [S$.$checkValidity](...args) { + return this.checkValidity.apply(this, args); + } + [S$.$reportValidity](...args) { + return this.reportValidity.apply(this, args); + } + [S$.$setCustomValidity](...args) { + return this.setCustomValidity.apply(this, args); + } +}; +(html$.OutputElement.created = function() { + html$.OutputElement.__proto__.created.call(this); + ; +}).prototype = html$.OutputElement.prototype; +dart.addTypeTests(html$.OutputElement); +dart.addTypeCaches(html$.OutputElement); +dart.setMethodSignature(html$.OutputElement, () => ({ + __proto__: dart.getMethods(html$.OutputElement.__proto__), + [S$.$checkValidity]: dart.fnType(core.bool, []), + [S$.$reportValidity]: dart.fnType(core.bool, []), + [S$.$setCustomValidity]: dart.fnType(dart.void, [core.String]) +})); +dart.setGetterSignature(html$.OutputElement, () => ({ + __proto__: dart.getGetters(html$.OutputElement.__proto__), + [S$1.$defaultValue]: dart.nullable(core.String), + [S$.$form]: dart.nullable(html$.FormElement), + [S$1.$htmlFor]: dart.nullable(html$.DomTokenList), + [S$.$labels]: dart.nullable(core.List$(html$.Node)), + [$name]: dart.nullable(core.String), + [S.$type]: dart.nullable(core.String), + [S$.$validationMessage]: dart.nullable(core.String), + [S$.$validity]: dart.nullable(html$.ValidityState), + [S.$value]: dart.nullable(core.String), + [S$.$willValidate]: dart.nullable(core.bool) +})); +dart.setSetterSignature(html$.OutputElement, () => ({ + __proto__: dart.getSetters(html$.OutputElement.__proto__), + [S$1.$defaultValue]: dart.nullable(core.String), + [$name]: dart.nullable(core.String), + [S.$value]: dart.nullable(core.String) +})); +dart.setLibraryUri(html$.OutputElement, I[148]); +dart.registerExtension("HTMLOutputElement", html$.OutputElement); +html$.OverconstrainedError = class OverconstrainedError$ extends _interceptors.Interceptor { + static new(constraint, message) { + if (constraint == null) dart.nullFailed(I[147], 24476, 39, "constraint"); + if (message == null) dart.nullFailed(I[147], 24476, 58, "message"); + return html$.OverconstrainedError._create_1(constraint, message); + } + static _create_1(constraint, message) { + return new OverconstrainedError(constraint, message); + } + get [S$2.$constraint]() { + return this.constraint; + } + get [$message]() { + return this.message; + } + get [$name]() { + return this.name; + } +}; +dart.addTypeTests(html$.OverconstrainedError); +dart.addTypeCaches(html$.OverconstrainedError); +dart.setGetterSignature(html$.OverconstrainedError, () => ({ + __proto__: dart.getGetters(html$.OverconstrainedError.__proto__), + [S$2.$constraint]: dart.nullable(core.String), + [$message]: dart.nullable(core.String), + [$name]: dart.nullable(core.String) +})); +dart.setLibraryUri(html$.OverconstrainedError, I[148]); +dart.registerExtension("OverconstrainedError", html$.OverconstrainedError); +html$.PageTransitionEvent = class PageTransitionEvent$ extends html$.Event { + static new(type, eventInitDict = null) { + if (type == null) dart.nullFailed(I[147], 24502, 38, "type"); + if (eventInitDict != null) { + let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); + return html$.PageTransitionEvent._create_1(type, eventInitDict_1); + } + return html$.PageTransitionEvent._create_2(type); + } + static _create_1(type, eventInitDict) { + return new PageTransitionEvent(type, eventInitDict); + } + static _create_2(type) { + return new PageTransitionEvent(type); + } + get [S$2.$persisted]() { + return this.persisted; + } +}; +dart.addTypeTests(html$.PageTransitionEvent); +dart.addTypeCaches(html$.PageTransitionEvent); +dart.setGetterSignature(html$.PageTransitionEvent, () => ({ + __proto__: dart.getGetters(html$.PageTransitionEvent.__proto__), + [S$2.$persisted]: dart.nullable(core.bool) +})); +dart.setLibraryUri(html$.PageTransitionEvent, I[148]); +dart.registerExtension("PageTransitionEvent", html$.PageTransitionEvent); +html$.PaintRenderingContext2D = class PaintRenderingContext2D extends _interceptors.Interceptor { + get [S$.$currentTransform]() { + return this.currentTransform; + } + set [S$.$currentTransform](value) { + this.currentTransform = value; + } + get [S$.$fillStyle]() { + return this.fillStyle; + } + set [S$.$fillStyle](value) { + this.fillStyle = value; + } + get [S$.$filter]() { + return this.filter; + } + set [S$.$filter](value) { + this.filter = value; + } + get [S$.$globalAlpha]() { + return this.globalAlpha; + } + set [S$.$globalAlpha](value) { + this.globalAlpha = value; + } + get [S$.$globalCompositeOperation]() { + return this.globalCompositeOperation; + } + set [S$.$globalCompositeOperation](value) { + this.globalCompositeOperation = value; + } + get [S$.$imageSmoothingEnabled]() { + return this.imageSmoothingEnabled; + } + set [S$.$imageSmoothingEnabled](value) { + this.imageSmoothingEnabled = value; + } + get [S$.$imageSmoothingQuality]() { + return this.imageSmoothingQuality; + } + set [S$.$imageSmoothingQuality](value) { + this.imageSmoothingQuality = value; + } + get [S$.$lineCap]() { + return this.lineCap; + } + set [S$.$lineCap](value) { + this.lineCap = value; + } + get [S$.$lineDashOffset]() { + return this.lineDashOffset; + } + set [S$.$lineDashOffset](value) { + this.lineDashOffset = value; + } + get [S$.$lineJoin]() { + return this.lineJoin; + } + set [S$.$lineJoin](value) { + this.lineJoin = value; + } + get [S$.$lineWidth]() { + return this.lineWidth; + } + set [S$.$lineWidth](value) { + this.lineWidth = value; + } + get [S$.$miterLimit]() { + return this.miterLimit; + } + set [S$.$miterLimit](value) { + this.miterLimit = value; + } + get [S$.$shadowBlur]() { + return this.shadowBlur; + } + set [S$.$shadowBlur](value) { + this.shadowBlur = value; + } + get [S$.$shadowColor]() { + return this.shadowColor; + } + set [S$.$shadowColor](value) { + this.shadowColor = value; + } + get [S$.$shadowOffsetX]() { + return this.shadowOffsetX; + } + set [S$.$shadowOffsetX](value) { + this.shadowOffsetX = value; + } + get [S$.$shadowOffsetY]() { + return this.shadowOffsetY; + } + set [S$.$shadowOffsetY](value) { + this.shadowOffsetY = value; + } + get [S$.$strokeStyle]() { + return this.strokeStyle; + } + set [S$.$strokeStyle](value) { + this.strokeStyle = value; + } + [S$.$beginPath](...args) { + return this.beginPath.apply(this, args); + } + [S$.$clearRect](...args) { + return this.clearRect.apply(this, args); + } + [S$.$clip](...args) { + return this.clip.apply(this, args); + } + [S$.$createLinearGradient](...args) { + return this.createLinearGradient.apply(this, args); + } + [S$.$createPattern](...args) { + return this.createPattern.apply(this, args); + } + [S$.$createRadialGradient](...args) { + return this.createRadialGradient.apply(this, args); + } + [S$.$drawImage](...args) { + return this.drawImage.apply(this, args); + } + [S$.$fill](...args) { + return this.fill.apply(this, args); + } + [S$.$fillRect](...args) { + return this.fillRect.apply(this, args); + } + [S$.$getLineDash](...args) { + return this.getLineDash.apply(this, args); + } + [S$.$isPointInPath](...args) { + return this.isPointInPath.apply(this, args); + } + [S$.$isPointInStroke](...args) { + return this.isPointInStroke.apply(this, args); + } + [S$.$resetTransform](...args) { + return this.resetTransform.apply(this, args); + } + [S$.$restore](...args) { + return this.restore.apply(this, args); + } + [S$.$rotate](...args) { + return this.rotate.apply(this, args); + } + [S$.$save](...args) { + return this.save.apply(this, args); + } + [S$.$scale](...args) { + return this.scale.apply(this, args); + } + [S$.$setLineDash](...args) { + return this.setLineDash.apply(this, args); + } + [S$.$setTransform](...args) { + return this.setTransform.apply(this, args); + } + [S$.$stroke](...args) { + return this.stroke.apply(this, args); + } + [S$.$strokeRect](...args) { + return this.strokeRect.apply(this, args); + } + [S$.$transform](...args) { + return this.transform.apply(this, args); + } + [S.$translate](...args) { + return this.translate.apply(this, args); + } + [S$.$arc](...args) { + return this.arc.apply(this, args); + } + [S$.$arcTo](...args) { + return this.arcTo.apply(this, args); + } + [S$.$bezierCurveTo](...args) { + return this.bezierCurveTo.apply(this, args); + } + [S$.$closePath](...args) { + return this.closePath.apply(this, args); + } + [S$.$ellipse](...args) { + return this.ellipse.apply(this, args); + } + [S$.$lineTo](...args) { + return this.lineTo.apply(this, args); + } + [S$.$moveTo](...args) { + return this.moveTo.apply(this, args); + } + [S$.$quadraticCurveTo](...args) { + return this.quadraticCurveTo.apply(this, args); + } + [S$.$rect](...args) { + return this.rect.apply(this, args); + } +}; +dart.addTypeTests(html$.PaintRenderingContext2D); +dart.addTypeCaches(html$.PaintRenderingContext2D); +html$.PaintRenderingContext2D[dart.implements] = () => [html$._CanvasPath]; +dart.setMethodSignature(html$.PaintRenderingContext2D, () => ({ + __proto__: dart.getMethods(html$.PaintRenderingContext2D.__proto__), + [S$.$beginPath]: dart.fnType(dart.void, []), + [S$.$clearRect]: dart.fnType(dart.void, [core.num, core.num, core.num, core.num]), + [S$.$clip]: dart.fnType(dart.void, [], [dart.dynamic, dart.nullable(core.String)]), + [S$.$createLinearGradient]: dart.fnType(html$.CanvasGradient, [core.num, core.num, core.num, core.num]), + [S$.$createPattern]: dart.fnType(dart.nullable(html$.CanvasPattern), [dart.dynamic, core.String]), + [S$.$createRadialGradient]: dart.fnType(html$.CanvasGradient, [core.num, core.num, core.num, core.num, core.num, core.num]), + [S$.$drawImage]: dart.fnType(dart.void, [dart.dynamic, core.num, core.num], [dart.nullable(core.num), dart.nullable(core.num), dart.nullable(core.num), dart.nullable(core.num), dart.nullable(core.num), dart.nullable(core.num)]), + [S$.$fill]: dart.fnType(dart.void, [], [dart.dynamic, dart.nullable(core.String)]), + [S$.$fillRect]: dart.fnType(dart.void, [core.num, core.num, core.num, core.num]), + [S$.$getLineDash]: dart.fnType(core.List$(core.num), []), + [S$.$isPointInPath]: dart.fnType(core.bool, [dart.dynamic, core.num], [dart.dynamic, dart.nullable(core.String)]), + [S$.$isPointInStroke]: dart.fnType(core.bool, [dart.dynamic, core.num], [dart.nullable(core.num)]), + [S$.$resetTransform]: dart.fnType(dart.void, []), + [S$.$restore]: dart.fnType(dart.void, []), + [S$.$rotate]: dart.fnType(dart.void, [core.num]), + [S$.$save]: dart.fnType(dart.void, []), + [S$.$scale]: dart.fnType(dart.void, [core.num, core.num]), + [S$.$setLineDash]: dart.fnType(dart.void, [core.List$(core.num)]), + [S$.$setTransform]: dart.fnType(dart.void, [core.num, core.num, core.num, core.num, core.num, core.num]), + [S$.$stroke]: dart.fnType(dart.void, [], [dart.nullable(html$.Path2D)]), + [S$.$strokeRect]: dart.fnType(dart.void, [core.num, core.num, core.num, core.num]), + [S$.$transform]: dart.fnType(dart.void, [core.num, core.num, core.num, core.num, core.num, core.num]), + [S.$translate]: dart.fnType(dart.void, [core.num, core.num]), + [S$.$arc]: dart.fnType(dart.void, [core.num, core.num, core.num, core.num, core.num, dart.nullable(core.bool)]), + [S$.$arcTo]: dart.fnType(dart.void, [core.num, core.num, core.num, core.num, core.num]), + [S$.$bezierCurveTo]: dart.fnType(dart.void, [core.num, core.num, core.num, core.num, core.num, core.num]), + [S$.$closePath]: dart.fnType(dart.void, []), + [S$.$ellipse]: dart.fnType(dart.void, [core.num, core.num, core.num, core.num, core.num, core.num, core.num, dart.nullable(core.bool)]), + [S$.$lineTo]: dart.fnType(dart.void, [core.num, core.num]), + [S$.$moveTo]: dart.fnType(dart.void, [core.num, core.num]), + [S$.$quadraticCurveTo]: dart.fnType(dart.void, [core.num, core.num, core.num, core.num]), + [S$.$rect]: dart.fnType(dart.void, [core.num, core.num, core.num, core.num]) +})); +dart.setGetterSignature(html$.PaintRenderingContext2D, () => ({ + __proto__: dart.getGetters(html$.PaintRenderingContext2D.__proto__), + [S$.$currentTransform]: dart.nullable(svg$.Matrix), + [S$.$fillStyle]: dart.nullable(core.Object), + [S$.$filter]: dart.nullable(core.String), + [S$.$globalAlpha]: dart.nullable(core.num), + [S$.$globalCompositeOperation]: dart.nullable(core.String), + [S$.$imageSmoothingEnabled]: dart.nullable(core.bool), + [S$.$imageSmoothingQuality]: dart.nullable(core.String), + [S$.$lineCap]: dart.nullable(core.String), + [S$.$lineDashOffset]: dart.nullable(core.num), + [S$.$lineJoin]: dart.nullable(core.String), + [S$.$lineWidth]: dart.nullable(core.num), + [S$.$miterLimit]: dart.nullable(core.num), + [S$.$shadowBlur]: dart.nullable(core.num), + [S$.$shadowColor]: dart.nullable(core.String), + [S$.$shadowOffsetX]: dart.nullable(core.num), + [S$.$shadowOffsetY]: dart.nullable(core.num), + [S$.$strokeStyle]: dart.nullable(core.Object) +})); +dart.setSetterSignature(html$.PaintRenderingContext2D, () => ({ + __proto__: dart.getSetters(html$.PaintRenderingContext2D.__proto__), + [S$.$currentTransform]: dart.nullable(svg$.Matrix), + [S$.$fillStyle]: dart.nullable(core.Object), + [S$.$filter]: dart.nullable(core.String), + [S$.$globalAlpha]: dart.nullable(core.num), + [S$.$globalCompositeOperation]: dart.nullable(core.String), + [S$.$imageSmoothingEnabled]: dart.nullable(core.bool), + [S$.$imageSmoothingQuality]: dart.nullable(core.String), + [S$.$lineCap]: dart.nullable(core.String), + [S$.$lineDashOffset]: dart.nullable(core.num), + [S$.$lineJoin]: dart.nullable(core.String), + [S$.$lineWidth]: dart.nullable(core.num), + [S$.$miterLimit]: dart.nullable(core.num), + [S$.$shadowBlur]: dart.nullable(core.num), + [S$.$shadowColor]: dart.nullable(core.String), + [S$.$shadowOffsetX]: dart.nullable(core.num), + [S$.$shadowOffsetY]: dart.nullable(core.num), + [S$.$strokeStyle]: dart.nullable(core.Object) +})); +dart.setLibraryUri(html$.PaintRenderingContext2D, I[148]); +dart.registerExtension("PaintRenderingContext2D", html$.PaintRenderingContext2D); +html$.PaintSize = class PaintSize extends _interceptors.Interceptor { + get [$height]() { + return this.height; + } + get [$width]() { + return this.width; + } +}; +dart.addTypeTests(html$.PaintSize); +dart.addTypeCaches(html$.PaintSize); +dart.setGetterSignature(html$.PaintSize, () => ({ + __proto__: dart.getGetters(html$.PaintSize.__proto__), + [$height]: dart.nullable(core.num), + [$width]: dart.nullable(core.num) +})); +dart.setLibraryUri(html$.PaintSize, I[148]); +dart.registerExtension("PaintSize", html$.PaintSize); +html$.PaintWorkletGlobalScope = class PaintWorkletGlobalScope extends html$.WorkletGlobalScope { + get [S$2.$devicePixelRatio]() { + return this.devicePixelRatio; + } + [S$2.$registerPaint](...args) { + return this.registerPaint.apply(this, args); + } +}; +dart.addTypeTests(html$.PaintWorkletGlobalScope); +dart.addTypeCaches(html$.PaintWorkletGlobalScope); +dart.setMethodSignature(html$.PaintWorkletGlobalScope, () => ({ + __proto__: dart.getMethods(html$.PaintWorkletGlobalScope.__proto__), + [S$2.$registerPaint]: dart.fnType(dart.void, [core.String, core.Object]) +})); +dart.setGetterSignature(html$.PaintWorkletGlobalScope, () => ({ + __proto__: dart.getGetters(html$.PaintWorkletGlobalScope.__proto__), + [S$2.$devicePixelRatio]: dart.nullable(core.num) +})); +dart.setLibraryUri(html$.PaintWorkletGlobalScope, I[148]); +dart.registerExtension("PaintWorkletGlobalScope", html$.PaintWorkletGlobalScope); +html$.ParagraphElement = class ParagraphElement extends html$.HtmlElement { + static new() { + return html$.document.createElement("p"); + } +}; +(html$.ParagraphElement.created = function() { + html$.ParagraphElement.__proto__.created.call(this); + ; +}).prototype = html$.ParagraphElement.prototype; +dart.addTypeTests(html$.ParagraphElement); +dart.addTypeCaches(html$.ParagraphElement); +dart.setLibraryUri(html$.ParagraphElement, I[148]); +dart.registerExtension("HTMLParagraphElement", html$.ParagraphElement); +html$.ParamElement = class ParamElement extends html$.HtmlElement { + static new() { + return html$.document.createElement("param"); + } + get [$name]() { + return this.name; + } + set [$name](value) { + this.name = value; + } + get [S.$value]() { + return this.value; + } + set [S.$value](value) { + this.value = value; + } +}; +(html$.ParamElement.created = function() { + html$.ParamElement.__proto__.created.call(this); + ; +}).prototype = html$.ParamElement.prototype; +dart.addTypeTests(html$.ParamElement); +dart.addTypeCaches(html$.ParamElement); +dart.setGetterSignature(html$.ParamElement, () => ({ + __proto__: dart.getGetters(html$.ParamElement.__proto__), + [$name]: core.String, + [S.$value]: core.String +})); +dart.setSetterSignature(html$.ParamElement, () => ({ + __proto__: dart.getSetters(html$.ParamElement.__proto__), + [$name]: core.String, + [S.$value]: core.String +})); +dart.setLibraryUri(html$.ParamElement, I[148]); +dart.registerExtension("HTMLParamElement", html$.ParamElement); +html$.ParentNode = class ParentNode extends _interceptors.Interceptor { + get [S._childElementCount]() { + return this._childElementCount; + } + get [S._children]() { + return this._children; + } + get [S._firstElementChild]() { + return this._firstElementChild; + } + get [S._lastElementChild]() { + return this._lastElementChild; + } +}; +dart.addTypeTests(html$.ParentNode); +dart.addTypeCaches(html$.ParentNode); +dart.setGetterSignature(html$.ParentNode, () => ({ + __proto__: dart.getGetters(html$.ParentNode.__proto__), + [S._childElementCount]: core.int, + [S._children]: dart.nullable(core.List$(html$.Node)), + [S._firstElementChild]: dart.nullable(html$.Element), + [S._lastElementChild]: dart.nullable(html$.Element) +})); +dart.setLibraryUri(html$.ParentNode, I[148]); +html$.PasswordCredential = class PasswordCredential$ extends html$.Credential { + static new(data_OR_form) { + if (core.Map.is(data_OR_form)) { + let data_1 = html_common.convertDartToNative_Dictionary(data_OR_form); + return html$.PasswordCredential._create_1(data_1); + } + if (html$.FormElement.is(data_OR_form)) { + return html$.PasswordCredential._create_2(data_OR_form); + } + dart.throw(new core.ArgumentError.new("Incorrect number or type of arguments")); + } + static _create_1(data_OR_form) { + return new PasswordCredential(data_OR_form); + } + static _create_2(data_OR_form) { + return new PasswordCredential(data_OR_form); + } + get [S$2.$additionalData]() { + return this.additionalData; + } + set [S$2.$additionalData](value) { + this.additionalData = value; + } + get [S$2.$idName]() { + return this.idName; + } + set [S$2.$idName](value) { + this.idName = value; + } + get [S$.$password]() { + return this.password; + } + get [S$2.$passwordName]() { + return this.passwordName; + } + set [S$2.$passwordName](value) { + this.passwordName = value; + } + get [S$.$iconUrl]() { + return this.iconURL; + } + get [$name]() { + return this.name; + } +}; +dart.addTypeTests(html$.PasswordCredential); +dart.addTypeCaches(html$.PasswordCredential); +html$.PasswordCredential[dart.implements] = () => [html$.CredentialUserData]; +dart.setGetterSignature(html$.PasswordCredential, () => ({ + __proto__: dart.getGetters(html$.PasswordCredential.__proto__), + [S$2.$additionalData]: dart.nullable(core.Object), + [S$2.$idName]: dart.nullable(core.String), + [S$.$password]: dart.nullable(core.String), + [S$2.$passwordName]: dart.nullable(core.String), + [S$.$iconUrl]: dart.nullable(core.String), + [$name]: dart.nullable(core.String) +})); +dart.setSetterSignature(html$.PasswordCredential, () => ({ + __proto__: dart.getSetters(html$.PasswordCredential.__proto__), + [S$2.$additionalData]: dart.nullable(core.Object), + [S$2.$idName]: dart.nullable(core.String), + [S$2.$passwordName]: dart.nullable(core.String) +})); +dart.setLibraryUri(html$.PasswordCredential, I[148]); +dart.registerExtension("PasswordCredential", html$.PasswordCredential); +html$.Path2D = class Path2D$ extends _interceptors.Interceptor { + static new(path_OR_text = null) { + if (path_OR_text == null) { + return html$.Path2D._create_1(); + } + if (html$.Path2D.is(path_OR_text)) { + return html$.Path2D._create_2(path_OR_text); + } + if (typeof path_OR_text == 'string') { + return html$.Path2D._create_3(path_OR_text); + } + dart.throw(new core.ArgumentError.new("Incorrect number or type of arguments")); + } + static _create_1() { + return new Path2D(); + } + static _create_2(path_OR_text) { + return new Path2D(path_OR_text); + } + static _create_3(path_OR_text) { + return new Path2D(path_OR_text); + } + [S$2.$addPath](...args) { + return this.addPath.apply(this, args); + } + [S$.$arc](...args) { + return this.arc.apply(this, args); + } + [S$.$arcTo](...args) { + return this.arcTo.apply(this, args); + } + [S$.$bezierCurveTo](...args) { + return this.bezierCurveTo.apply(this, args); + } + [S$.$closePath](...args) { + return this.closePath.apply(this, args); + } + [S$.$ellipse](...args) { + return this.ellipse.apply(this, args); + } + [S$.$lineTo](...args) { + return this.lineTo.apply(this, args); + } + [S$.$moveTo](...args) { + return this.moveTo.apply(this, args); + } + [S$.$quadraticCurveTo](...args) { + return this.quadraticCurveTo.apply(this, args); + } + [S$.$rect](...args) { + return this.rect.apply(this, args); + } +}; +dart.addTypeTests(html$.Path2D); +dart.addTypeCaches(html$.Path2D); +html$.Path2D[dart.implements] = () => [html$._CanvasPath]; +dart.setMethodSignature(html$.Path2D, () => ({ + __proto__: dart.getMethods(html$.Path2D.__proto__), + [S$2.$addPath]: dart.fnType(dart.void, [html$.Path2D], [dart.nullable(svg$.Matrix)]), + [S$.$arc]: dart.fnType(dart.void, [core.num, core.num, core.num, core.num, core.num, dart.nullable(core.bool)]), + [S$.$arcTo]: dart.fnType(dart.void, [core.num, core.num, core.num, core.num, core.num]), + [S$.$bezierCurveTo]: dart.fnType(dart.void, [core.num, core.num, core.num, core.num, core.num, core.num]), + [S$.$closePath]: dart.fnType(dart.void, []), + [S$.$ellipse]: dart.fnType(dart.void, [core.num, core.num, core.num, core.num, core.num, core.num, core.num, dart.nullable(core.bool)]), + [S$.$lineTo]: dart.fnType(dart.void, [core.num, core.num]), + [S$.$moveTo]: dart.fnType(dart.void, [core.num, core.num]), + [S$.$quadraticCurveTo]: dart.fnType(dart.void, [core.num, core.num, core.num, core.num]), + [S$.$rect]: dart.fnType(dart.void, [core.num, core.num, core.num, core.num]) +})); +dart.setLibraryUri(html$.Path2D, I[148]); +dart.registerExtension("Path2D", html$.Path2D); +html$.PaymentAddress = class PaymentAddress extends _interceptors.Interceptor { + get [S$2.$addressLine]() { + return this.addressLine; + } + get [S$2.$city]() { + return this.city; + } + get [S$2.$country]() { + return this.country; + } + get [S$2.$dependentLocality]() { + return this.dependentLocality; + } + get [S$2.$languageCode]() { + return this.languageCode; + } + get [S$2.$organization]() { + return this.organization; + } + get [S$2.$phone]() { + return this.phone; + } + get [S$2.$postalCode]() { + return this.postalCode; + } + get [S$2.$recipient]() { + return this.recipient; + } + get [S$1.$region]() { + return this.region; + } + get [S$2.$sortingCode]() { + return this.sortingCode; + } +}; +dart.addTypeTests(html$.PaymentAddress); +dart.addTypeCaches(html$.PaymentAddress); +dart.setGetterSignature(html$.PaymentAddress, () => ({ + __proto__: dart.getGetters(html$.PaymentAddress.__proto__), + [S$2.$addressLine]: dart.nullable(core.List$(core.String)), + [S$2.$city]: dart.nullable(core.String), + [S$2.$country]: dart.nullable(core.String), + [S$2.$dependentLocality]: dart.nullable(core.String), + [S$2.$languageCode]: dart.nullable(core.String), + [S$2.$organization]: dart.nullable(core.String), + [S$2.$phone]: dart.nullable(core.String), + [S$2.$postalCode]: dart.nullable(core.String), + [S$2.$recipient]: dart.nullable(core.String), + [S$1.$region]: dart.nullable(core.String), + [S$2.$sortingCode]: dart.nullable(core.String) +})); +dart.setLibraryUri(html$.PaymentAddress, I[148]); +dart.registerExtension("PaymentAddress", html$.PaymentAddress); +html$.PaymentInstruments = class PaymentInstruments extends _interceptors.Interceptor { + [$clear]() { + return js_util.promiseToFuture(dart.dynamic, this.clear()); + } + [S.$delete](instrumentKey) { + if (instrumentKey == null) dart.nullFailed(I[147], 24930, 30, "instrumentKey"); + return js_util.promiseToFuture(core.bool, this.delete(instrumentKey)); + } + [S.$get](instrumentKey) { + if (instrumentKey == null) dart.nullFailed(I[147], 24933, 44, "instrumentKey"); + return html$.promiseToFutureAsMap(this.get(instrumentKey)); + } + [S$.$has](instrumentKey) { + if (instrumentKey == null) dart.nullFailed(I[147], 24936, 21, "instrumentKey"); + return js_util.promiseToFuture(dart.dynamic, this.has(instrumentKey)); + } + [$keys]() { + return js_util.promiseToFuture(core.List, this.keys()); + } + [S$.$set](instrumentKey, details) { + if (instrumentKey == null) dart.nullFailed(I[147], 24942, 21, "instrumentKey"); + if (details == null) dart.nullFailed(I[147], 24942, 40, "details"); + let details_dict = html_common.convertDartToNative_Dictionary(details); + return js_util.promiseToFuture(dart.dynamic, this.set(instrumentKey, details_dict)); + } +}; +dart.addTypeTests(html$.PaymentInstruments); +dart.addTypeCaches(html$.PaymentInstruments); +dart.setMethodSignature(html$.PaymentInstruments, () => ({ + __proto__: dart.getMethods(html$.PaymentInstruments.__proto__), + [$clear]: dart.fnType(async.Future, []), + [S.$delete]: dart.fnType(async.Future$(core.bool), [core.String]), + [S.$get]: dart.fnType(async.Future$(dart.nullable(core.Map$(core.String, dart.dynamic))), [core.String]), + [S$.$has]: dart.fnType(async.Future, [core.String]), + [$keys]: dart.fnType(async.Future$(core.List), []), + [S$.$set]: dart.fnType(async.Future, [core.String, core.Map]) +})); +dart.setLibraryUri(html$.PaymentInstruments, I[148]); +dart.registerExtension("PaymentInstruments", html$.PaymentInstruments); +html$.PaymentManager = class PaymentManager extends _interceptors.Interceptor { + get [S$2.$instruments]() { + return this.instruments; + } + get [S$2.$userHint]() { + return this.userHint; + } + set [S$2.$userHint](value) { + this.userHint = value; + } +}; +dart.addTypeTests(html$.PaymentManager); +dart.addTypeCaches(html$.PaymentManager); +dart.setGetterSignature(html$.PaymentManager, () => ({ + __proto__: dart.getGetters(html$.PaymentManager.__proto__), + [S$2.$instruments]: dart.nullable(html$.PaymentInstruments), + [S$2.$userHint]: dart.nullable(core.String) +})); +dart.setSetterSignature(html$.PaymentManager, () => ({ + __proto__: dart.getSetters(html$.PaymentManager.__proto__), + [S$2.$userHint]: dart.nullable(core.String) +})); +dart.setLibraryUri(html$.PaymentManager, I[148]); +dart.registerExtension("PaymentManager", html$.PaymentManager); +html$.PaymentRequest = class PaymentRequest$ extends html$.EventTarget { + static new(methodData, details, options = null) { + if (methodData == null) dart.nullFailed(I[147], 24971, 36, "methodData"); + if (details == null) dart.nullFailed(I[147], 24971, 52, "details"); + let methodData_1 = []; + for (let i of methodData) { + methodData_1[$add](html_common.convertDartToNative_Dictionary(i)); + } + if (options != null) { + let details_1 = html_common.convertDartToNative_Dictionary(details); + let options_2 = html_common.convertDartToNative_Dictionary(options); + return html$.PaymentRequest._create_1(methodData_1, details_1, options_2); + } + let details_1 = html_common.convertDartToNative_Dictionary(details); + return html$.PaymentRequest._create_2(methodData_1, details_1); + } + static _create_1(methodData, details, options) { + return new PaymentRequest(methodData, details, options); + } + static _create_2(methodData, details) { + return new PaymentRequest(methodData, details); + } + get [S.$id]() { + return this.id; + } + get [S$2.$shippingAddress]() { + return this.shippingAddress; + } + get [S$2.$shippingOption]() { + return this.shippingOption; + } + get [S$2.$shippingType]() { + return this.shippingType; + } + [S.$abort]() { + return js_util.promiseToFuture(dart.dynamic, this.abort()); + } + [S$2.$canMakePayment]() { + return js_util.promiseToFuture(core.bool, this.canMakePayment()); + } + [S$0.$show]() { + return js_util.promiseToFuture(html$.PaymentResponse, this.show()); + } +}; +dart.addTypeTests(html$.PaymentRequest); +dart.addTypeCaches(html$.PaymentRequest); +dart.setMethodSignature(html$.PaymentRequest, () => ({ + __proto__: dart.getMethods(html$.PaymentRequest.__proto__), + [S.$abort]: dart.fnType(async.Future, []), + [S$2.$canMakePayment]: dart.fnType(async.Future$(core.bool), []), + [S$0.$show]: dart.fnType(async.Future$(html$.PaymentResponse), []) +})); +dart.setGetterSignature(html$.PaymentRequest, () => ({ + __proto__: dart.getGetters(html$.PaymentRequest.__proto__), + [S.$id]: dart.nullable(core.String), + [S$2.$shippingAddress]: dart.nullable(html$.PaymentAddress), + [S$2.$shippingOption]: dart.nullable(core.String), + [S$2.$shippingType]: dart.nullable(core.String) +})); +dart.setLibraryUri(html$.PaymentRequest, I[148]); +dart.registerExtension("PaymentRequest", html$.PaymentRequest); +html$.PaymentRequestEvent = class PaymentRequestEvent$ extends html$.ExtendableEvent { + static new(type, eventInitDict) { + if (type == null) dart.nullFailed(I[147], 25027, 38, "type"); + if (eventInitDict == null) dart.nullFailed(I[147], 25027, 48, "eventInitDict"); + let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); + return html$.PaymentRequestEvent._create_1(type, eventInitDict_1); + } + static _create_1(type, eventInitDict) { + return new PaymentRequestEvent(type, eventInitDict); + } + get [S$2.$instrumentKey]() { + return this.instrumentKey; + } + get [S$.$methodData]() { + return this.methodData; + } + get [S$.$modifiers]() { + return this.modifiers; + } + get [S$2.$paymentRequestId]() { + return this.paymentRequestId; + } + get [S$.$paymentRequestOrigin]() { + return this.paymentRequestOrigin; + } + get [S$.$topLevelOrigin]() { + return this.topLevelOrigin; + } + get [S$2.$total]() { + return this.total; + } + [S$.$openWindow](url) { + if (url == null) dart.nullFailed(I[147], 25051, 42, "url"); + return js_util.promiseToFuture(html$.WindowClient, this.openWindow(url)); + } + [S$.$respondWith](...args) { + return this.respondWith.apply(this, args); + } +}; +dart.addTypeTests(html$.PaymentRequestEvent); +dart.addTypeCaches(html$.PaymentRequestEvent); +dart.setMethodSignature(html$.PaymentRequestEvent, () => ({ + __proto__: dart.getMethods(html$.PaymentRequestEvent.__proto__), + [S$.$openWindow]: dart.fnType(async.Future$(html$.WindowClient), [core.String]), + [S$.$respondWith]: dart.fnType(dart.void, [async.Future]) +})); +dart.setGetterSignature(html$.PaymentRequestEvent, () => ({ + __proto__: dart.getGetters(html$.PaymentRequestEvent.__proto__), + [S$2.$instrumentKey]: dart.nullable(core.String), + [S$.$methodData]: dart.nullable(core.List), + [S$.$modifiers]: dart.nullable(core.List), + [S$2.$paymentRequestId]: dart.nullable(core.String), + [S$.$paymentRequestOrigin]: dart.nullable(core.String), + [S$.$topLevelOrigin]: dart.nullable(core.String), + [S$2.$total]: dart.nullable(core.Object) +})); +dart.setLibraryUri(html$.PaymentRequestEvent, I[148]); +dart.registerExtension("PaymentRequestEvent", html$.PaymentRequestEvent); +html$.PaymentRequestUpdateEvent = class PaymentRequestUpdateEvent$ extends html$.Event { + static new(type, eventInitDict = null) { + if (type == null) dart.nullFailed(I[147], 25067, 44, "type"); + if (eventInitDict != null) { + let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); + return html$.PaymentRequestUpdateEvent._create_1(type, eventInitDict_1); + } + return html$.PaymentRequestUpdateEvent._create_2(type); + } + static _create_1(type, eventInitDict) { + return new PaymentRequestUpdateEvent(type, eventInitDict); + } + static _create_2(type) { + return new PaymentRequestUpdateEvent(type); + } + [S$2.$updateWith](...args) { + return this.updateWith.apply(this, args); + } +}; +dart.addTypeTests(html$.PaymentRequestUpdateEvent); +dart.addTypeCaches(html$.PaymentRequestUpdateEvent); +dart.setMethodSignature(html$.PaymentRequestUpdateEvent, () => ({ + __proto__: dart.getMethods(html$.PaymentRequestUpdateEvent.__proto__), + [S$2.$updateWith]: dart.fnType(dart.void, [async.Future]) +})); +dart.setLibraryUri(html$.PaymentRequestUpdateEvent, I[148]); +dart.registerExtension("PaymentRequestUpdateEvent", html$.PaymentRequestUpdateEvent); +html$.PaymentResponse = class PaymentResponse extends _interceptors.Interceptor { + get [S$.$details]() { + return this.details; + } + get [S$2.$methodName]() { + return this.methodName; + } + get [S$2.$payerEmail]() { + return this.payerEmail; + } + get [S$2.$payerName]() { + return this.payerName; + } + get [S$2.$payerPhone]() { + return this.payerPhone; + } + get [S$2.$requestId]() { + return this.requestId; + } + get [S$2.$shippingAddress]() { + return this.shippingAddress; + } + get [S$2.$shippingOption]() { + return this.shippingOption; + } + [S$1.$complete](paymentResult = null) { + return js_util.promiseToFuture(dart.dynamic, this.complete(paymentResult)); + } +}; +dart.addTypeTests(html$.PaymentResponse); +dart.addTypeCaches(html$.PaymentResponse); +dart.setMethodSignature(html$.PaymentResponse, () => ({ + __proto__: dart.getMethods(html$.PaymentResponse.__proto__), + [S$1.$complete]: dart.fnType(async.Future, [], [dart.nullable(core.String)]) +})); +dart.setGetterSignature(html$.PaymentResponse, () => ({ + __proto__: dart.getGetters(html$.PaymentResponse.__proto__), + [S$.$details]: dart.nullable(core.Object), + [S$2.$methodName]: dart.nullable(core.String), + [S$2.$payerEmail]: dart.nullable(core.String), + [S$2.$payerName]: dart.nullable(core.String), + [S$2.$payerPhone]: dart.nullable(core.String), + [S$2.$requestId]: dart.nullable(core.String), + [S$2.$shippingAddress]: dart.nullable(html$.PaymentAddress), + [S$2.$shippingOption]: dart.nullable(core.String) +})); +dart.setLibraryUri(html$.PaymentResponse, I[148]); +dart.registerExtension("PaymentResponse", html$.PaymentResponse); +html$.Performance = class Performance extends html$.EventTarget { + static get supported() { + return !!window.performance; + } + get [S$2.$memory]() { + return this.memory; + } + get [S$2.$navigation]() { + return this.navigation; + } + get [S$2.$timeOrigin]() { + return this.timeOrigin; + } + get [S$.$timing]() { + return this.timing; + } + [S$2.$clearMarks](...args) { + return this.clearMarks.apply(this, args); + } + [S$2.$clearMeasures](...args) { + return this.clearMeasures.apply(this, args); + } + [S$2.$clearResourceTimings](...args) { + return this.clearResourceTimings.apply(this, args); + } + [S$2.$getEntries](...args) { + return this.getEntries.apply(this, args); + } + [S$2.$getEntriesByName](...args) { + return this.getEntriesByName.apply(this, args); + } + [S$2.$getEntriesByType](...args) { + return this.getEntriesByType.apply(this, args); + } + [S$2.$mark](...args) { + return this.mark.apply(this, args); + } + [S$2.$measure](...args) { + return this.measure.apply(this, args); + } + [S$2.$now](...args) { + return this.now.apply(this, args); + } + [S$2.$setResourceTimingBufferSize](...args) { + return this.setResourceTimingBufferSize.apply(this, args); + } +}; +dart.addTypeTests(html$.Performance); +dart.addTypeCaches(html$.Performance); +dart.setMethodSignature(html$.Performance, () => ({ + __proto__: dart.getMethods(html$.Performance.__proto__), + [S$2.$clearMarks]: dart.fnType(dart.void, [dart.nullable(core.String)]), + [S$2.$clearMeasures]: dart.fnType(dart.void, [dart.nullable(core.String)]), + [S$2.$clearResourceTimings]: dart.fnType(dart.void, []), + [S$2.$getEntries]: dart.fnType(core.List$(html$.PerformanceEntry), []), + [S$2.$getEntriesByName]: dart.fnType(core.List$(html$.PerformanceEntry), [core.String, dart.nullable(core.String)]), + [S$2.$getEntriesByType]: dart.fnType(core.List$(html$.PerformanceEntry), [core.String]), + [S$2.$mark]: dart.fnType(dart.void, [core.String]), + [S$2.$measure]: dart.fnType(dart.void, [core.String, dart.nullable(core.String), dart.nullable(core.String)]), + [S$2.$now]: dart.fnType(core.double, []), + [S$2.$setResourceTimingBufferSize]: dart.fnType(dart.void, [core.int]) +})); +dart.setGetterSignature(html$.Performance, () => ({ + __proto__: dart.getGetters(html$.Performance.__proto__), + [S$2.$memory]: dart.nullable(html$.MemoryInfo), + [S$2.$navigation]: html$.PerformanceNavigation, + [S$2.$timeOrigin]: dart.nullable(core.num), + [S$.$timing]: html$.PerformanceTiming +})); +dart.setLibraryUri(html$.Performance, I[148]); +dart.registerExtension("Performance", html$.Performance); +html$.PerformanceEntry = class PerformanceEntry extends _interceptors.Interceptor { + get [S$.$duration]() { + return this.duration; + } + get [S$2.$entryType]() { + return this.entryType; + } + get [$name]() { + return this.name; + } + get [S$.$startTime]() { + return this.startTime; + } +}; +dart.addTypeTests(html$.PerformanceEntry); +dart.addTypeCaches(html$.PerformanceEntry); +dart.setGetterSignature(html$.PerformanceEntry, () => ({ + __proto__: dart.getGetters(html$.PerformanceEntry.__proto__), + [S$.$duration]: core.num, + [S$2.$entryType]: core.String, + [$name]: core.String, + [S$.$startTime]: core.num +})); +dart.setLibraryUri(html$.PerformanceEntry, I[148]); +dart.registerExtension("PerformanceEntry", html$.PerformanceEntry); +html$.PerformanceLongTaskTiming = class PerformanceLongTaskTiming extends html$.PerformanceEntry { + get [S$2.$attribution]() { + return this.attribution; + } +}; +dart.addTypeTests(html$.PerformanceLongTaskTiming); +dart.addTypeCaches(html$.PerformanceLongTaskTiming); +dart.setGetterSignature(html$.PerformanceLongTaskTiming, () => ({ + __proto__: dart.getGetters(html$.PerformanceLongTaskTiming.__proto__), + [S$2.$attribution]: dart.nullable(core.List$(html$.TaskAttributionTiming)) +})); +dart.setLibraryUri(html$.PerformanceLongTaskTiming, I[148]); +dart.registerExtension("PerformanceLongTaskTiming", html$.PerformanceLongTaskTiming); +html$.PerformanceMark = class PerformanceMark extends html$.PerformanceEntry {}; +dart.addTypeTests(html$.PerformanceMark); +dart.addTypeCaches(html$.PerformanceMark); +dart.setLibraryUri(html$.PerformanceMark, I[148]); +dart.registerExtension("PerformanceMark", html$.PerformanceMark); +html$.PerformanceMeasure = class PerformanceMeasure extends html$.PerformanceEntry {}; +dart.addTypeTests(html$.PerformanceMeasure); +dart.addTypeCaches(html$.PerformanceMeasure); +dart.setLibraryUri(html$.PerformanceMeasure, I[148]); +dart.registerExtension("PerformanceMeasure", html$.PerformanceMeasure); +html$.PerformanceNavigation = class PerformanceNavigation extends _interceptors.Interceptor { + get [S$2.$redirectCount]() { + return this.redirectCount; + } + get [S.$type]() { + return this.type; + } +}; +dart.addTypeTests(html$.PerformanceNavigation); +dart.addTypeCaches(html$.PerformanceNavigation); +dart.setGetterSignature(html$.PerformanceNavigation, () => ({ + __proto__: dart.getGetters(html$.PerformanceNavigation.__proto__), + [S$2.$redirectCount]: dart.nullable(core.int), + [S.$type]: dart.nullable(core.int) +})); +dart.setLibraryUri(html$.PerformanceNavigation, I[148]); +dart.defineLazy(html$.PerformanceNavigation, { + /*html$.PerformanceNavigation.TYPE_BACK_FORWARD*/get TYPE_BACK_FORWARD() { + return 2; + }, + /*html$.PerformanceNavigation.TYPE_NAVIGATE*/get TYPE_NAVIGATE() { + return 0; + }, + /*html$.PerformanceNavigation.TYPE_RELOAD*/get TYPE_RELOAD() { + return 1; + }, + /*html$.PerformanceNavigation.TYPE_RESERVED*/get TYPE_RESERVED() { + return 255; + } +}, false); +dart.registerExtension("PerformanceNavigation", html$.PerformanceNavigation); +html$.PerformanceResourceTiming = class PerformanceResourceTiming extends html$.PerformanceEntry { + get [S$2.$connectEnd]() { + return this.connectEnd; + } + get [S$2.$connectStart]() { + return this.connectStart; + } + get [S$2.$decodedBodySize]() { + return this.decodedBodySize; + } + get [S$2.$domainLookupEnd]() { + return this.domainLookupEnd; + } + get [S$2.$domainLookupStart]() { + return this.domainLookupStart; + } + get [S$2.$encodedBodySize]() { + return this.encodedBodySize; + } + get [S$2.$fetchStart]() { + return this.fetchStart; + } + get [S$2.$initiatorType]() { + return this.initiatorType; + } + get [S$2.$nextHopProtocol]() { + return this.nextHopProtocol; + } + get [S$2.$redirectEnd]() { + return this.redirectEnd; + } + get [S$2.$redirectStart]() { + return this.redirectStart; + } + get [S$2.$requestStart]() { + return this.requestStart; + } + get [S$2.$responseEnd]() { + return this.responseEnd; + } + get [S$2.$responseStart]() { + return this.responseStart; + } + get [S$2.$secureConnectionStart]() { + return this.secureConnectionStart; + } + get [S$2.$serverTiming]() { + return this.serverTiming; + } + get [S$2.$transferSize]() { + return this.transferSize; + } + get [S$2.$workerStart]() { + return this.workerStart; + } +}; +dart.addTypeTests(html$.PerformanceResourceTiming); +dart.addTypeCaches(html$.PerformanceResourceTiming); +dart.setGetterSignature(html$.PerformanceResourceTiming, () => ({ + __proto__: dart.getGetters(html$.PerformanceResourceTiming.__proto__), + [S$2.$connectEnd]: core.num, + [S$2.$connectStart]: core.num, + [S$2.$decodedBodySize]: dart.nullable(core.int), + [S$2.$domainLookupEnd]: dart.nullable(core.num), + [S$2.$domainLookupStart]: dart.nullable(core.num), + [S$2.$encodedBodySize]: dart.nullable(core.int), + [S$2.$fetchStart]: dart.nullable(core.num), + [S$2.$initiatorType]: dart.nullable(core.String), + [S$2.$nextHopProtocol]: dart.nullable(core.String), + [S$2.$redirectEnd]: dart.nullable(core.num), + [S$2.$redirectStart]: dart.nullable(core.num), + [S$2.$requestStart]: dart.nullable(core.num), + [S$2.$responseEnd]: dart.nullable(core.num), + [S$2.$responseStart]: dart.nullable(core.num), + [S$2.$secureConnectionStart]: dart.nullable(core.num), + [S$2.$serverTiming]: dart.nullable(core.List$(html$.PerformanceServerTiming)), + [S$2.$transferSize]: dart.nullable(core.int), + [S$2.$workerStart]: dart.nullable(core.num) +})); +dart.setLibraryUri(html$.PerformanceResourceTiming, I[148]); +dart.registerExtension("PerformanceResourceTiming", html$.PerformanceResourceTiming); +html$.PerformanceNavigationTiming = class PerformanceNavigationTiming extends html$.PerformanceResourceTiming { + get [S$2.$domComplete]() { + return this.domComplete; + } + get [S$2.$domContentLoadedEventEnd]() { + return this.domContentLoadedEventEnd; + } + get [S$2.$domContentLoadedEventStart]() { + return this.domContentLoadedEventStart; + } + get [S$2.$domInteractive]() { + return this.domInteractive; + } + get [S$2.$loadEventEnd]() { + return this.loadEventEnd; + } + get [S$2.$loadEventStart]() { + return this.loadEventStart; + } + get [S$2.$redirectCount]() { + return this.redirectCount; + } + get [S.$type]() { + return this.type; + } + get [S$2.$unloadEventEnd]() { + return this.unloadEventEnd; + } + get [S$2.$unloadEventStart]() { + return this.unloadEventStart; + } +}; +dart.addTypeTests(html$.PerformanceNavigationTiming); +dart.addTypeCaches(html$.PerformanceNavigationTiming); +dart.setGetterSignature(html$.PerformanceNavigationTiming, () => ({ + __proto__: dart.getGetters(html$.PerformanceNavigationTiming.__proto__), + [S$2.$domComplete]: dart.nullable(core.num), + [S$2.$domContentLoadedEventEnd]: dart.nullable(core.num), + [S$2.$domContentLoadedEventStart]: dart.nullable(core.num), + [S$2.$domInteractive]: dart.nullable(core.num), + [S$2.$loadEventEnd]: dart.nullable(core.num), + [S$2.$loadEventStart]: dart.nullable(core.num), + [S$2.$redirectCount]: dart.nullable(core.int), + [S.$type]: dart.nullable(core.String), + [S$2.$unloadEventEnd]: dart.nullable(core.num), + [S$2.$unloadEventStart]: dart.nullable(core.num) +})); +dart.setLibraryUri(html$.PerformanceNavigationTiming, I[148]); +dart.registerExtension("PerformanceNavigationTiming", html$.PerformanceNavigationTiming); +html$.PerformanceObserver = class PerformanceObserver$ extends _interceptors.Interceptor { + static new(callback) { + if (callback == null) dart.nullFailed(I[147], 25280, 59, "callback"); + let callback_1 = _js_helper.convertDartClosureToJS(T$0.PerformanceObserverEntryListAndPerformanceObserverTovoid(), callback, 2); + return html$.PerformanceObserver._create_1(callback_1); + } + static _create_1(callback) { + return new PerformanceObserver(callback); + } + [S$1.$disconnect](...args) { + return this.disconnect.apply(this, args); + } + [S.$observe](options) { + if (options == null) dart.nullFailed(I[147], 25289, 20, "options"); + let options_1 = html_common.convertDartToNative_Dictionary(options); + this[S$1._observe_1$1](options_1); + return; + } + [S$1._observe_1$1](...args) { + return this.observe.apply(this, args); + } +}; +dart.addTypeTests(html$.PerformanceObserver); +dart.addTypeCaches(html$.PerformanceObserver); +dart.setMethodSignature(html$.PerformanceObserver, () => ({ + __proto__: dart.getMethods(html$.PerformanceObserver.__proto__), + [S$1.$disconnect]: dart.fnType(dart.void, []), + [S.$observe]: dart.fnType(dart.void, [core.Map]), + [S$1._observe_1$1]: dart.fnType(dart.void, [dart.dynamic]) +})); +dart.setLibraryUri(html$.PerformanceObserver, I[148]); +dart.registerExtension("PerformanceObserver", html$.PerformanceObserver); +html$.PerformanceObserverEntryList = class PerformanceObserverEntryList extends _interceptors.Interceptor { + [S$2.$getEntries](...args) { + return this.getEntries.apply(this, args); + } + [S$2.$getEntriesByName](...args) { + return this.getEntriesByName.apply(this, args); + } + [S$2.$getEntriesByType](...args) { + return this.getEntriesByType.apply(this, args); + } +}; +dart.addTypeTests(html$.PerformanceObserverEntryList); +dart.addTypeCaches(html$.PerformanceObserverEntryList); +dart.setMethodSignature(html$.PerformanceObserverEntryList, () => ({ + __proto__: dart.getMethods(html$.PerformanceObserverEntryList.__proto__), + [S$2.$getEntries]: dart.fnType(core.List$(html$.PerformanceEntry), []), + [S$2.$getEntriesByName]: dart.fnType(core.List$(html$.PerformanceEntry), [core.String, dart.nullable(core.String)]), + [S$2.$getEntriesByType]: dart.fnType(core.List$(html$.PerformanceEntry), [core.String]) +})); +dart.setLibraryUri(html$.PerformanceObserverEntryList, I[148]); +dart.registerExtension("PerformanceObserverEntryList", html$.PerformanceObserverEntryList); +html$.PerformancePaintTiming = class PerformancePaintTiming extends html$.PerformanceEntry {}; +dart.addTypeTests(html$.PerformancePaintTiming); +dart.addTypeCaches(html$.PerformancePaintTiming); +dart.setLibraryUri(html$.PerformancePaintTiming, I[148]); +dart.registerExtension("PerformancePaintTiming", html$.PerformancePaintTiming); +html$.PerformanceServerTiming = class PerformanceServerTiming extends _interceptors.Interceptor { + get [S$1.$description]() { + return this.description; + } + get [S$.$duration]() { + return this.duration; + } + get [$name]() { + return this.name; + } +}; +dart.addTypeTests(html$.PerformanceServerTiming); +dart.addTypeCaches(html$.PerformanceServerTiming); +dart.setGetterSignature(html$.PerformanceServerTiming, () => ({ + __proto__: dart.getGetters(html$.PerformanceServerTiming.__proto__), + [S$1.$description]: dart.nullable(core.String), + [S$.$duration]: dart.nullable(core.num), + [$name]: dart.nullable(core.String) +})); +dart.setLibraryUri(html$.PerformanceServerTiming, I[148]); +dart.registerExtension("PerformanceServerTiming", html$.PerformanceServerTiming); +html$.PerformanceTiming = class PerformanceTiming extends _interceptors.Interceptor { + get [S$2.$connectEnd]() { + return this.connectEnd; + } + get [S$2.$connectStart]() { + return this.connectStart; + } + get [S$2.$domComplete]() { + return this.domComplete; + } + get [S$2.$domContentLoadedEventEnd]() { + return this.domContentLoadedEventEnd; + } + get [S$2.$domContentLoadedEventStart]() { + return this.domContentLoadedEventStart; + } + get [S$2.$domInteractive]() { + return this.domInteractive; + } + get [S$2.$domLoading]() { + return this.domLoading; + } + get [S$2.$domainLookupEnd]() { + return this.domainLookupEnd; + } + get [S$2.$domainLookupStart]() { + return this.domainLookupStart; + } + get [S$2.$fetchStart]() { + return this.fetchStart; + } + get [S$2.$loadEventEnd]() { + return this.loadEventEnd; + } + get [S$2.$loadEventStart]() { + return this.loadEventStart; + } + get [S$2.$navigationStart]() { + return this.navigationStart; + } + get [S$2.$redirectEnd]() { + return this.redirectEnd; + } + get [S$2.$redirectStart]() { + return this.redirectStart; + } + get [S$2.$requestStart]() { + return this.requestStart; + } + get [S$2.$responseEnd]() { + return this.responseEnd; + } + get [S$2.$responseStart]() { + return this.responseStart; + } + get [S$2.$secureConnectionStart]() { + return this.secureConnectionStart; + } + get [S$2.$unloadEventEnd]() { + return this.unloadEventEnd; + } + get [S$2.$unloadEventStart]() { + return this.unloadEventStart; + } +}; +dart.addTypeTests(html$.PerformanceTiming); +dart.addTypeCaches(html$.PerformanceTiming); +dart.setGetterSignature(html$.PerformanceTiming, () => ({ + __proto__: dart.getGetters(html$.PerformanceTiming.__proto__), + [S$2.$connectEnd]: core.int, + [S$2.$connectStart]: core.int, + [S$2.$domComplete]: core.int, + [S$2.$domContentLoadedEventEnd]: core.int, + [S$2.$domContentLoadedEventStart]: core.int, + [S$2.$domInteractive]: core.int, + [S$2.$domLoading]: core.int, + [S$2.$domainLookupEnd]: core.int, + [S$2.$domainLookupStart]: core.int, + [S$2.$fetchStart]: core.int, + [S$2.$loadEventEnd]: core.int, + [S$2.$loadEventStart]: core.int, + [S$2.$navigationStart]: core.int, + [S$2.$redirectEnd]: core.int, + [S$2.$redirectStart]: core.int, + [S$2.$requestStart]: core.int, + [S$2.$responseEnd]: core.int, + [S$2.$responseStart]: core.int, + [S$2.$secureConnectionStart]: core.int, + [S$2.$unloadEventEnd]: core.int, + [S$2.$unloadEventStart]: core.int +})); +dart.setLibraryUri(html$.PerformanceTiming, I[148]); +dart.registerExtension("PerformanceTiming", html$.PerformanceTiming); +html$.PermissionStatus = class PermissionStatus extends html$.EventTarget { + get [S$.$state]() { + return this.state; + } + get [S.$onChange]() { + return html$.PermissionStatus.changeEvent.forTarget(this); + } +}; +dart.addTypeTests(html$.PermissionStatus); +dart.addTypeCaches(html$.PermissionStatus); +dart.setGetterSignature(html$.PermissionStatus, () => ({ + __proto__: dart.getGetters(html$.PermissionStatus.__proto__), + [S$.$state]: dart.nullable(core.String), + [S.$onChange]: async.Stream$(html$.Event) +})); +dart.setLibraryUri(html$.PermissionStatus, I[148]); +dart.defineLazy(html$.PermissionStatus, { + /*html$.PermissionStatus.changeEvent*/get changeEvent() { + return C[236] || CT.C236; + } +}, false); +dart.registerExtension("PermissionStatus", html$.PermissionStatus); +html$.Permissions = class Permissions extends _interceptors.Interceptor { + [S$2.$query](permission) { + if (permission == null) dart.nullFailed(I[147], 25482, 38, "permission"); + let permission_dict = html_common.convertDartToNative_Dictionary(permission); + return js_util.promiseToFuture(html$.PermissionStatus, this.query(permission_dict)); + } + [S$.$request](permissions) { + if (permissions == null) dart.nullFailed(I[147], 25488, 40, "permissions"); + let permissions_dict = html_common.convertDartToNative_Dictionary(permissions); + return js_util.promiseToFuture(html$.PermissionStatus, this.request(permissions_dict)); + } + [S$2.$requestAll](permissions) { + if (permissions == null) dart.nullFailed(I[147], 25494, 49, "permissions"); + return js_util.promiseToFuture(html$.PermissionStatus, this.requestAll(permissions)); + } + [S$2.$revoke](permission) { + if (permission == null) dart.nullFailed(I[147], 25498, 39, "permission"); + let permission_dict = html_common.convertDartToNative_Dictionary(permission); + return js_util.promiseToFuture(html$.PermissionStatus, this.revoke(permission_dict)); + } +}; +dart.addTypeTests(html$.Permissions); +dart.addTypeCaches(html$.Permissions); +dart.setMethodSignature(html$.Permissions, () => ({ + __proto__: dart.getMethods(html$.Permissions.__proto__), + [S$2.$query]: dart.fnType(async.Future$(html$.PermissionStatus), [core.Map]), + [S$.$request]: dart.fnType(async.Future$(html$.PermissionStatus), [core.Map]), + [S$2.$requestAll]: dart.fnType(async.Future$(html$.PermissionStatus), [core.List$(core.Map)]), + [S$2.$revoke]: dart.fnType(async.Future$(html$.PermissionStatus), [core.Map]) +})); +dart.setLibraryUri(html$.Permissions, I[148]); +dart.registerExtension("Permissions", html$.Permissions); +html$.PhotoCapabilities = class PhotoCapabilities extends _interceptors.Interceptor { + get [S$2.$fillLightMode]() { + return this.fillLightMode; + } + get [S$2.$imageHeight]() { + return this.imageHeight; + } + get [S$2.$imageWidth]() { + return this.imageWidth; + } + get [S$2.$redEyeReduction]() { + return this.redEyeReduction; + } +}; +dart.addTypeTests(html$.PhotoCapabilities); +dart.addTypeCaches(html$.PhotoCapabilities); +dart.setGetterSignature(html$.PhotoCapabilities, () => ({ + __proto__: dart.getGetters(html$.PhotoCapabilities.__proto__), + [S$2.$fillLightMode]: dart.nullable(core.List), + [S$2.$imageHeight]: dart.nullable(html$.MediaSettingsRange), + [S$2.$imageWidth]: dart.nullable(html$.MediaSettingsRange), + [S$2.$redEyeReduction]: dart.nullable(core.String) +})); +dart.setLibraryUri(html$.PhotoCapabilities, I[148]); +dart.registerExtension("PhotoCapabilities", html$.PhotoCapabilities); +html$.PictureElement = class PictureElement extends html$.HtmlElement {}; +(html$.PictureElement.created = function() { + html$.PictureElement.__proto__.created.call(this); + ; +}).prototype = html$.PictureElement.prototype; +dart.addTypeTests(html$.PictureElement); +dart.addTypeCaches(html$.PictureElement); +dart.setLibraryUri(html$.PictureElement, I[148]); +dart.registerExtension("HTMLPictureElement", html$.PictureElement); +html$.Plugin = class Plugin extends _interceptors.Interceptor { + get [S$1.$description]() { + return this.description; + } + get [S$1.$filename]() { + return this.filename; + } + get [$length]() { + return this.length; + } + get [$name]() { + return this.name; + } + [S$.$item](...args) { + return this.item.apply(this, args); + } + [S$1.$namedItem](...args) { + return this.namedItem.apply(this, args); + } +}; +dart.addTypeTests(html$.Plugin); +dart.addTypeCaches(html$.Plugin); +dart.setMethodSignature(html$.Plugin, () => ({ + __proto__: dart.getMethods(html$.Plugin.__proto__), + [S$.$item]: dart.fnType(dart.nullable(html$.MimeType), [core.int]), + [S$1.$namedItem]: dart.fnType(dart.nullable(html$.MimeType), [core.String]) +})); +dart.setGetterSignature(html$.Plugin, () => ({ + __proto__: dart.getGetters(html$.Plugin.__proto__), + [S$1.$description]: dart.nullable(core.String), + [S$1.$filename]: dart.nullable(core.String), + [$length]: dart.nullable(core.int), + [$name]: dart.nullable(core.String) +})); +dart.setLibraryUri(html$.Plugin, I[148]); +dart.registerExtension("Plugin", html$.Plugin); +const Interceptor_ListMixin$36$4 = class Interceptor_ListMixin extends _interceptors.Interceptor {}; +(Interceptor_ListMixin$36$4.new = function() { + Interceptor_ListMixin$36$4.__proto__.new.call(this); +}).prototype = Interceptor_ListMixin$36$4.prototype; +dart.applyMixin(Interceptor_ListMixin$36$4, collection.ListMixin$(html$.Plugin)); +const Interceptor_ImmutableListMixin$36$4 = class Interceptor_ImmutableListMixin extends Interceptor_ListMixin$36$4 {}; +(Interceptor_ImmutableListMixin$36$4.new = function() { + Interceptor_ImmutableListMixin$36$4.__proto__.new.call(this); +}).prototype = Interceptor_ImmutableListMixin$36$4.prototype; +dart.applyMixin(Interceptor_ImmutableListMixin$36$4, html$.ImmutableListMixin$(html$.Plugin)); +html$.PluginArray = class PluginArray extends Interceptor_ImmutableListMixin$36$4 { + get [$length]() { + return this.length; + } + [$_get](index) { + if (index == null) dart.nullFailed(I[147], 25578, 26, "index"); + if (index >>> 0 !== index || index >= this[$length]) dart.throw(new core.IndexError.new(index, this)); + return this[index]; + } + [$_set](index, value$) { + let value = value$; + if (index == null) dart.nullFailed(I[147], 25584, 25, "index"); + html$.Plugin.as(value); + if (value == null) dart.nullFailed(I[147], 25584, 39, "value"); + dart.throw(new core.UnsupportedError.new("Cannot assign element of immutable List.")); + return value$; + } + set [$length](value) { + if (value == null) dart.nullFailed(I[147], 25590, 18, "value"); + dart.throw(new core.UnsupportedError.new("Cannot resize immutable List.")); + } + get [$first]() { + if (dart.notNull(this[$length]) > 0) { + return this[0]; + } + dart.throw(new core.StateError.new("No elements")); + } + set [$first](value) { + super[$first] = value; + } + get [$last]() { + let len = this[$length]; + if (dart.notNull(len) > 0) { + return this[dart.notNull(len) - 1]; + } + dart.throw(new core.StateError.new("No elements")); + } + set [$last](value) { + super[$last] = value; + } + get [$single]() { + let len = this[$length]; + if (len === 1) { + return this[0]; + } + if (len === 0) dart.throw(new core.StateError.new("No elements")); + dart.throw(new core.StateError.new("More than one element")); + } + [$elementAt](index) { + if (index == null) dart.nullFailed(I[147], 25618, 24, "index"); + return this[$_get](index); + } + [S$.$item](...args) { + return this.item.apply(this, args); + } + [S$1.$namedItem](...args) { + return this.namedItem.apply(this, args); + } + [S$2.$refresh](...args) { + return this.refresh.apply(this, args); + } +}; +html$.PluginArray.prototype[dart.isList] = true; +dart.addTypeTests(html$.PluginArray); +dart.addTypeCaches(html$.PluginArray); +html$.PluginArray[dart.implements] = () => [_js_helper.JavaScriptIndexingBehavior$(html$.Plugin), core.List$(html$.Plugin)]; +dart.setMethodSignature(html$.PluginArray, () => ({ + __proto__: dart.getMethods(html$.PluginArray.__proto__), + [$_get]: dart.fnType(html$.Plugin, [core.int]), + [$_set]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), + [S$.$item]: dart.fnType(dart.nullable(html$.Plugin), [core.int]), + [S$1.$namedItem]: dart.fnType(dart.nullable(html$.Plugin), [core.String]), + [S$2.$refresh]: dart.fnType(dart.void, [dart.nullable(core.bool)]) +})); +dart.setGetterSignature(html$.PluginArray, () => ({ + __proto__: dart.getGetters(html$.PluginArray.__proto__), + [$length]: core.int +})); +dart.setSetterSignature(html$.PluginArray, () => ({ + __proto__: dart.getSetters(html$.PluginArray.__proto__), + [$length]: core.int +})); +dart.setLibraryUri(html$.PluginArray, I[148]); +dart.registerExtension("PluginArray", html$.PluginArray); +html$.PointerEvent = class PointerEvent$ extends html$.MouseEvent { + static new(type, eventInitDict = null) { + if (type == null) dart.nullFailed(I[147], 25640, 31, "type"); + if (eventInitDict != null) { + let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); + return html$.PointerEvent._create_1(type, eventInitDict_1); + } + return html$.PointerEvent._create_2(type); + } + static _create_1(type, eventInitDict) { + return new PointerEvent(type, eventInitDict); + } + static _create_2(type) { + return new PointerEvent(type); + } + get [$height]() { + return this.height; + } + get [S$2.$isPrimary]() { + return this.isPrimary; + } + get [S$2.$pointerId]() { + return this.pointerId; + } + get [S$2.$pointerType]() { + return this.pointerType; + } + get [S$2.$pressure]() { + return this.pressure; + } + get [S$2.$tangentialPressure]() { + return this.tangentialPressure; + } + get [S$2.$tiltX]() { + return this.tiltX; + } + get [S$2.$tiltY]() { + return this.tiltY; + } + get [S$2.$twist]() { + return this.twist; + } + get [$width]() { + return this.width; + } + [S$2.$getCoalescedEvents](...args) { + return this.getCoalescedEvents.apply(this, args); + } + static get supported() { + try { + return html$.PointerEvent.is(html$.PointerEvent.new("pointerover")); + } catch (e) { + let _ = dart.getThrown(e); + if (core.Object.is(_)) { + } else + throw e; + } + return false; + } +}; +dart.addTypeTests(html$.PointerEvent); +dart.addTypeCaches(html$.PointerEvent); +dart.setMethodSignature(html$.PointerEvent, () => ({ + __proto__: dart.getMethods(html$.PointerEvent.__proto__), + [S$2.$getCoalescedEvents]: dart.fnType(core.List$(html$.PointerEvent), []) +})); +dart.setGetterSignature(html$.PointerEvent, () => ({ + __proto__: dart.getGetters(html$.PointerEvent.__proto__), + [$height]: dart.nullable(core.num), + [S$2.$isPrimary]: dart.nullable(core.bool), + [S$2.$pointerId]: dart.nullable(core.int), + [S$2.$pointerType]: dart.nullable(core.String), + [S$2.$pressure]: dart.nullable(core.num), + [S$2.$tangentialPressure]: dart.nullable(core.num), + [S$2.$tiltX]: dart.nullable(core.int), + [S$2.$tiltY]: dart.nullable(core.int), + [S$2.$twist]: dart.nullable(core.int), + [$width]: dart.nullable(core.num) +})); +dart.setLibraryUri(html$.PointerEvent, I[148]); +dart.registerExtension("PointerEvent", html$.PointerEvent); +html$.PopStateEvent = class PopStateEvent$ extends html$.Event { + static new(type, eventInitDict = null) { + if (type == null) dart.nullFailed(I[147], 25700, 32, "type"); + if (eventInitDict != null) { + let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); + return html$.PopStateEvent._create_1(type, eventInitDict_1); + } + return html$.PopStateEvent._create_2(type); + } + static _create_1(type, eventInitDict) { + return new PopStateEvent(type, eventInitDict); + } + static _create_2(type) { + return new PopStateEvent(type); + } + get [S$.$state]() { + return html_common.convertNativeToDart_SerializedScriptValue(this[S$1._get_state]); + } + get [S$1._get_state]() { + return this.state; + } +}; +dart.addTypeTests(html$.PopStateEvent); +dart.addTypeCaches(html$.PopStateEvent); +dart.setGetterSignature(html$.PopStateEvent, () => ({ + __proto__: dart.getGetters(html$.PopStateEvent.__proto__), + [S$.$state]: dart.dynamic, + [S$1._get_state]: dart.dynamic +})); +dart.setLibraryUri(html$.PopStateEvent, I[148]); +dart.registerExtension("PopStateEvent", html$.PopStateEvent); +html$.PositionError = class PositionError extends _interceptors.Interceptor { + get [S$.$code]() { + return this.code; + } + get [$message]() { + return this.message; + } +}; +dart.addTypeTests(html$.PositionError); +dart.addTypeCaches(html$.PositionError); +dart.setGetterSignature(html$.PositionError, () => ({ + __proto__: dart.getGetters(html$.PositionError.__proto__), + [S$.$code]: dart.nullable(core.int), + [$message]: dart.nullable(core.String) +})); +dart.setLibraryUri(html$.PositionError, I[148]); +dart.defineLazy(html$.PositionError, { + /*html$.PositionError.PERMISSION_DENIED*/get PERMISSION_DENIED() { + return 1; + }, + /*html$.PositionError.POSITION_UNAVAILABLE*/get POSITION_UNAVAILABLE() { + return 2; + }, + /*html$.PositionError.TIMEOUT*/get TIMEOUT() { + return 3; + } +}, false); +dart.registerExtension("PositionError", html$.PositionError); +html$.PreElement = class PreElement extends html$.HtmlElement { + static new() { + return html$.document.createElement("pre"); + } +}; +(html$.PreElement.created = function() { + html$.PreElement.__proto__.created.call(this); + ; +}).prototype = html$.PreElement.prototype; +dart.addTypeTests(html$.PreElement); +dart.addTypeCaches(html$.PreElement); +dart.setLibraryUri(html$.PreElement, I[148]); +dart.registerExtension("HTMLPreElement", html$.PreElement); +html$.Presentation = class Presentation extends _interceptors.Interceptor { + get [S$2.$defaultRequest]() { + return this.defaultRequest; + } + set [S$2.$defaultRequest](value) { + this.defaultRequest = value; + } + get [S$2.$receiver]() { + return this.receiver; + } +}; +dart.addTypeTests(html$.Presentation); +dart.addTypeCaches(html$.Presentation); +dart.setGetterSignature(html$.Presentation, () => ({ + __proto__: dart.getGetters(html$.Presentation.__proto__), + [S$2.$defaultRequest]: dart.nullable(html$.PresentationRequest), + [S$2.$receiver]: dart.nullable(html$.PresentationReceiver) +})); +dart.setSetterSignature(html$.Presentation, () => ({ + __proto__: dart.getSetters(html$.Presentation.__proto__), + [S$2.$defaultRequest]: dart.nullable(html$.PresentationRequest) +})); +dart.setLibraryUri(html$.Presentation, I[148]); +dart.registerExtension("Presentation", html$.Presentation); +html$.PresentationAvailability = class PresentationAvailability extends html$.EventTarget { + get [S.$value]() { + return this.value; + } + get [S.$onChange]() { + return html$.PresentationAvailability.changeEvent.forTarget(this); + } +}; +dart.addTypeTests(html$.PresentationAvailability); +dart.addTypeCaches(html$.PresentationAvailability); +dart.setGetterSignature(html$.PresentationAvailability, () => ({ + __proto__: dart.getGetters(html$.PresentationAvailability.__proto__), + [S.$value]: dart.nullable(core.bool), + [S.$onChange]: async.Stream$(html$.Event) +})); +dart.setLibraryUri(html$.PresentationAvailability, I[148]); +dart.defineLazy(html$.PresentationAvailability, { + /*html$.PresentationAvailability.changeEvent*/get changeEvent() { + return C[236] || CT.C236; + } +}, false); +dart.registerExtension("PresentationAvailability", html$.PresentationAvailability); +html$.PresentationConnection = class PresentationConnection extends html$.EventTarget { + get [S$2.$binaryType]() { + return this.binaryType; + } + set [S$2.$binaryType](value) { + this.binaryType = value; + } + get [S.$id]() { + return this.id; + } + get [S$.$state]() { + return this.state; + } + get [S$.$url]() { + return this.url; + } + [S.$close](...args) { + return this.close.apply(this, args); + } + [S$1.$send](...args) { + return this.send.apply(this, args); + } + [S$2.$terminate](...args) { + return this.terminate.apply(this, args); + } + get [S$.$onMessage]() { + return html$.PresentationConnection.messageEvent.forTarget(this); + } +}; +dart.addTypeTests(html$.PresentationConnection); +dart.addTypeCaches(html$.PresentationConnection); +dart.setMethodSignature(html$.PresentationConnection, () => ({ + __proto__: dart.getMethods(html$.PresentationConnection.__proto__), + [S.$close]: dart.fnType(dart.void, []), + [S$1.$send]: dart.fnType(dart.void, [dart.dynamic]), + [S$2.$terminate]: dart.fnType(dart.void, []) +})); +dart.setGetterSignature(html$.PresentationConnection, () => ({ + __proto__: dart.getGetters(html$.PresentationConnection.__proto__), + [S$2.$binaryType]: dart.nullable(core.String), + [S.$id]: dart.nullable(core.String), + [S$.$state]: dart.nullable(core.String), + [S$.$url]: dart.nullable(core.String), + [S$.$onMessage]: async.Stream$(html$.MessageEvent) +})); +dart.setSetterSignature(html$.PresentationConnection, () => ({ + __proto__: dart.getSetters(html$.PresentationConnection.__proto__), + [S$2.$binaryType]: dart.nullable(core.String) +})); +dart.setLibraryUri(html$.PresentationConnection, I[148]); +dart.defineLazy(html$.PresentationConnection, { + /*html$.PresentationConnection.messageEvent*/get messageEvent() { + return C[312] || CT.C312; + } +}, false); +dart.registerExtension("PresentationConnection", html$.PresentationConnection); +html$.PresentationConnectionAvailableEvent = class PresentationConnectionAvailableEvent$ extends html$.Event { + static new(type, eventInitDict) { + if (type == null) dart.nullFailed(I[147], 25858, 55, "type"); + if (eventInitDict == null) dart.nullFailed(I[147], 25858, 65, "eventInitDict"); + let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); + return html$.PresentationConnectionAvailableEvent._create_1(type, eventInitDict_1); + } + static _create_1(type, eventInitDict) { + return new PresentationConnectionAvailableEvent(type, eventInitDict); + } + get [S$1.$connection]() { + return this.connection; + } +}; +dart.addTypeTests(html$.PresentationConnectionAvailableEvent); +dart.addTypeCaches(html$.PresentationConnectionAvailableEvent); +dart.setGetterSignature(html$.PresentationConnectionAvailableEvent, () => ({ + __proto__: dart.getGetters(html$.PresentationConnectionAvailableEvent.__proto__), + [S$1.$connection]: dart.nullable(html$.PresentationConnection) +})); +dart.setLibraryUri(html$.PresentationConnectionAvailableEvent, I[148]); +dart.registerExtension("PresentationConnectionAvailableEvent", html$.PresentationConnectionAvailableEvent); +html$.PresentationConnectionCloseEvent = class PresentationConnectionCloseEvent$ extends html$.Event { + static new(type, eventInitDict) { + if (type == null) dart.nullFailed(I[147], 25880, 51, "type"); + if (eventInitDict == null) dart.nullFailed(I[147], 25880, 61, "eventInitDict"); + let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); + return html$.PresentationConnectionCloseEvent._create_1(type, eventInitDict_1); + } + static _create_1(type, eventInitDict) { + return new PresentationConnectionCloseEvent(type, eventInitDict); + } + get [$message]() { + return this.message; + } + get [S$.$reason]() { + return this.reason; + } +}; +dart.addTypeTests(html$.PresentationConnectionCloseEvent); +dart.addTypeCaches(html$.PresentationConnectionCloseEvent); +dart.setGetterSignature(html$.PresentationConnectionCloseEvent, () => ({ + __proto__: dart.getGetters(html$.PresentationConnectionCloseEvent.__proto__), + [$message]: dart.nullable(core.String), + [S$.$reason]: dart.nullable(core.String) +})); +dart.setLibraryUri(html$.PresentationConnectionCloseEvent, I[148]); +dart.registerExtension("PresentationConnectionCloseEvent", html$.PresentationConnectionCloseEvent); +html$.PresentationConnectionList = class PresentationConnectionList extends html$.EventTarget { + get [S$2.$connections]() { + return this.connections; + } +}; +dart.addTypeTests(html$.PresentationConnectionList); +dart.addTypeCaches(html$.PresentationConnectionList); +dart.setGetterSignature(html$.PresentationConnectionList, () => ({ + __proto__: dart.getGetters(html$.PresentationConnectionList.__proto__), + [S$2.$connections]: dart.nullable(core.List$(html$.PresentationConnection)) +})); +dart.setLibraryUri(html$.PresentationConnectionList, I[148]); +dart.registerExtension("PresentationConnectionList", html$.PresentationConnectionList); +html$.PresentationReceiver = class PresentationReceiver extends _interceptors.Interceptor { + get [S$2.$connectionList]() { + return js_util.promiseToFuture(html$.PresentationConnectionList, this.connectionList); + } +}; +dart.addTypeTests(html$.PresentationReceiver); +dart.addTypeCaches(html$.PresentationReceiver); +dart.setGetterSignature(html$.PresentationReceiver, () => ({ + __proto__: dart.getGetters(html$.PresentationReceiver.__proto__), + [S$2.$connectionList]: async.Future$(html$.PresentationConnectionList) +})); +dart.setLibraryUri(html$.PresentationReceiver, I[148]); +dart.registerExtension("PresentationReceiver", html$.PresentationReceiver); +html$.PresentationRequest = class PresentationRequest$ extends html$.EventTarget { + static new(url_OR_urls) { + if (typeof url_OR_urls == 'string') { + return html$.PresentationRequest._create_1(url_OR_urls); + } + if (T$.ListOfString().is(url_OR_urls)) { + let urls_1 = html_common.convertDartToNative_StringArray(url_OR_urls); + return html$.PresentationRequest._create_2(urls_1); + } + dart.throw(new core.ArgumentError.new("Incorrect number or type of arguments")); + } + static _create_1(url_OR_urls) { + return new PresentationRequest(url_OR_urls); + } + static _create_2(url_OR_urls) { + return new PresentationRequest(url_OR_urls); + } + [S$2.$getAvailability]() { + return js_util.promiseToFuture(html$.PresentationAvailability, this.getAvailability()); + } + [S$2.$reconnect](id) { + if (id == null) dart.nullFailed(I[147], 25952, 51, "id"); + return js_util.promiseToFuture(html$.PresentationConnection, this.reconnect(id)); + } + [S$.$start]() { + return js_util.promiseToFuture(html$.PresentationConnection, this.start()); + } +}; +dart.addTypeTests(html$.PresentationRequest); +dart.addTypeCaches(html$.PresentationRequest); +dart.setMethodSignature(html$.PresentationRequest, () => ({ + __proto__: dart.getMethods(html$.PresentationRequest.__proto__), + [S$2.$getAvailability]: dart.fnType(async.Future$(html$.PresentationAvailability), []), + [S$2.$reconnect]: dart.fnType(async.Future$(html$.PresentationConnection), [core.String]), + [S$.$start]: dart.fnType(async.Future$(html$.PresentationConnection), []) +})); +dart.setLibraryUri(html$.PresentationRequest, I[148]); +dart.registerExtension("PresentationRequest", html$.PresentationRequest); +html$.ProcessingInstruction = class ProcessingInstruction extends html$.CharacterData { + get [S$1.$sheet]() { + return this.sheet; + } + get [S.$target]() { + return this.target; + } +}; +dart.addTypeTests(html$.ProcessingInstruction); +dart.addTypeCaches(html$.ProcessingInstruction); +dart.setGetterSignature(html$.ProcessingInstruction, () => ({ + __proto__: dart.getGetters(html$.ProcessingInstruction.__proto__), + [S$1.$sheet]: dart.nullable(html$.StyleSheet), + [S.$target]: dart.nullable(core.String) +})); +dart.setLibraryUri(html$.ProcessingInstruction, I[148]); +dart.registerExtension("ProcessingInstruction", html$.ProcessingInstruction); +html$.ProgressElement = class ProgressElement extends html$.HtmlElement { + static new() { + return html$.ProgressElement.as(html$.document[S.$createElement]("progress")); + } + static get supported() { + return html$.Element.isTagSupported("progress"); + } + get [S$.$labels]() { + return this.labels; + } + get [S$1.$max]() { + return this.max; + } + set [S$1.$max](value) { + this.max = value; + } + get [S$0.$position]() { + return this.position; + } + get [S.$value]() { + return this.value; + } + set [S.$value](value) { + this.value = value; + } +}; +(html$.ProgressElement.created = function() { + html$.ProgressElement.__proto__.created.call(this); + ; +}).prototype = html$.ProgressElement.prototype; +dart.addTypeTests(html$.ProgressElement); +dart.addTypeCaches(html$.ProgressElement); +dart.setGetterSignature(html$.ProgressElement, () => ({ + __proto__: dart.getGetters(html$.ProgressElement.__proto__), + [S$.$labels]: dart.nullable(core.List$(html$.Node)), + [S$1.$max]: core.num, + [S$0.$position]: core.num, + [S.$value]: core.num +})); +dart.setSetterSignature(html$.ProgressElement, () => ({ + __proto__: dart.getSetters(html$.ProgressElement.__proto__), + [S$1.$max]: core.num, + [S.$value]: core.num +})); +dart.setLibraryUri(html$.ProgressElement, I[148]); +dart.registerExtension("HTMLProgressElement", html$.ProgressElement); +html$.ProgressEvent = class ProgressEvent$ extends html$.Event { + static new(type, eventInitDict = null) { + if (type == null) dart.nullFailed(I[147], 26029, 32, "type"); + if (eventInitDict != null) { + let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); + return html$.ProgressEvent._create_1(type, eventInitDict_1); + } + return html$.ProgressEvent._create_2(type); + } + static _create_1(type, eventInitDict) { + return new ProgressEvent(type, eventInitDict); + } + static _create_2(type) { + return new ProgressEvent(type); + } + get [S$2.$lengthComputable]() { + return this.lengthComputable; + } + get [S$1.$loaded]() { + return this.loaded; + } + get [S$2.$total]() { + return this.total; + } +}; +dart.addTypeTests(html$.ProgressEvent); +dart.addTypeCaches(html$.ProgressEvent); +dart.setGetterSignature(html$.ProgressEvent, () => ({ + __proto__: dart.getGetters(html$.ProgressEvent.__proto__), + [S$2.$lengthComputable]: core.bool, + [S$1.$loaded]: dart.nullable(core.int), + [S$2.$total]: dart.nullable(core.int) +})); +dart.setLibraryUri(html$.ProgressEvent, I[148]); +dart.registerExtension("ProgressEvent", html$.ProgressEvent); +html$.PromiseRejectionEvent = class PromiseRejectionEvent$ extends html$.Event { + static new(type, eventInitDict) { + if (type == null) dart.nullFailed(I[147], 26058, 40, "type"); + if (eventInitDict == null) dart.nullFailed(I[147], 26058, 50, "eventInitDict"); + let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); + return html$.PromiseRejectionEvent._create_1(type, eventInitDict_1); + } + static _create_1(type, eventInitDict) { + return new PromiseRejectionEvent(type, eventInitDict); + } + get [S$2.$promise]() { + return js_util.promiseToFuture(dart.dynamic, this.promise); + } + get [S$.$reason]() { + return this.reason; + } +}; +dart.addTypeTests(html$.PromiseRejectionEvent); +dart.addTypeCaches(html$.PromiseRejectionEvent); +dart.setGetterSignature(html$.PromiseRejectionEvent, () => ({ + __proto__: dart.getGetters(html$.PromiseRejectionEvent.__proto__), + [S$2.$promise]: async.Future, + [S$.$reason]: dart.nullable(core.Object) +})); +dart.setLibraryUri(html$.PromiseRejectionEvent, I[148]); +dart.registerExtension("PromiseRejectionEvent", html$.PromiseRejectionEvent); +html$.PublicKeyCredential = class PublicKeyCredential extends html$.Credential { + get [S$2.$rawId]() { + return this.rawId; + } + get [S$.$response]() { + return this.response; + } +}; +dart.addTypeTests(html$.PublicKeyCredential); +dart.addTypeCaches(html$.PublicKeyCredential); +dart.setGetterSignature(html$.PublicKeyCredential, () => ({ + __proto__: dart.getGetters(html$.PublicKeyCredential.__proto__), + [S$2.$rawId]: dart.nullable(typed_data.ByteBuffer), + [S$.$response]: dart.nullable(html$.AuthenticatorResponse) +})); +dart.setLibraryUri(html$.PublicKeyCredential, I[148]); +dart.registerExtension("PublicKeyCredential", html$.PublicKeyCredential); +html$.PushEvent = class PushEvent$ extends html$.ExtendableEvent { + static new(type, eventInitDict = null) { + if (type == null) dart.nullFailed(I[147], 26098, 28, "type"); + if (eventInitDict != null) { + let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); + return html$.PushEvent._create_1(type, eventInitDict_1); + } + return html$.PushEvent._create_2(type); + } + static _create_1(type, eventInitDict) { + return new PushEvent(type, eventInitDict); + } + static _create_2(type) { + return new PushEvent(type); + } + get [S$.$data]() { + return this.data; + } +}; +dart.addTypeTests(html$.PushEvent); +dart.addTypeCaches(html$.PushEvent); +dart.setGetterSignature(html$.PushEvent, () => ({ + __proto__: dart.getGetters(html$.PushEvent.__proto__), + [S$.$data]: dart.nullable(html$.PushMessageData) +})); +dart.setLibraryUri(html$.PushEvent, I[148]); +dart.registerExtension("PushEvent", html$.PushEvent); +html$.PushManager = class PushManager extends _interceptors.Interceptor { + [S$2.$getSubscription]() { + return js_util.promiseToFuture(html$.PushSubscription, this.getSubscription()); + } + [S$2.$permissionState](options = null) { + let options_dict = null; + if (options != null) { + options_dict = html_common.convertDartToNative_Dictionary(options); + } + return js_util.promiseToFuture(dart.dynamic, this.permissionState(options_dict)); + } + [S$2.$subscribe](options = null) { + let options_dict = null; + if (options != null) { + options_dict = html_common.convertDartToNative_Dictionary(options); + } + return js_util.promiseToFuture(html$.PushSubscription, this.subscribe(options_dict)); + } +}; +dart.addTypeTests(html$.PushManager); +dart.addTypeCaches(html$.PushManager); +dart.setMethodSignature(html$.PushManager, () => ({ + __proto__: dart.getMethods(html$.PushManager.__proto__), + [S$2.$getSubscription]: dart.fnType(async.Future$(html$.PushSubscription), []), + [S$2.$permissionState]: dart.fnType(async.Future, [], [dart.nullable(core.Map)]), + [S$2.$subscribe]: dart.fnType(async.Future$(html$.PushSubscription), [], [dart.nullable(core.Map)]) +})); +dart.setLibraryUri(html$.PushManager, I[148]); +dart.registerExtension("PushManager", html$.PushManager); +html$.PushMessageData = class PushMessageData extends _interceptors.Interceptor { + [S$.$arrayBuffer](...args) { + return this.arrayBuffer.apply(this, args); + } + [S$.$blob](...args) { + return this.blob.apply(this, args); + } + [S$.$json](...args) { + return this.json.apply(this, args); + } + [S.$text](...args) { + return this.text.apply(this, args); + } +}; +dart.addTypeTests(html$.PushMessageData); +dart.addTypeCaches(html$.PushMessageData); +dart.setMethodSignature(html$.PushMessageData, () => ({ + __proto__: dart.getMethods(html$.PushMessageData.__proto__), + [S$.$arrayBuffer]: dart.fnType(typed_data.ByteBuffer, []), + [S$.$blob]: dart.fnType(html$.Blob, []), + [S$.$json]: dart.fnType(core.Object, []), + [S.$text]: dart.fnType(core.String, []) +})); +dart.setLibraryUri(html$.PushMessageData, I[148]); +dart.registerExtension("PushMessageData", html$.PushMessageData); +html$.PushSubscription = class PushSubscription extends _interceptors.Interceptor { + get [S$2.$endpoint]() { + return this.endpoint; + } + get [S$2.$expirationTime]() { + return this.expirationTime; + } + get [S$0.$options]() { + return this.options; + } + [S.$getKey](...args) { + return this.getKey.apply(this, args); + } + [S$2.$unsubscribe]() { + return js_util.promiseToFuture(core.bool, this.unsubscribe()); + } +}; +dart.addTypeTests(html$.PushSubscription); +dart.addTypeCaches(html$.PushSubscription); +dart.setMethodSignature(html$.PushSubscription, () => ({ + __proto__: dart.getMethods(html$.PushSubscription.__proto__), + [S.$getKey]: dart.fnType(dart.nullable(typed_data.ByteBuffer), [core.String]), + [S$2.$unsubscribe]: dart.fnType(async.Future$(core.bool), []) +})); +dart.setGetterSignature(html$.PushSubscription, () => ({ + __proto__: dart.getGetters(html$.PushSubscription.__proto__), + [S$2.$endpoint]: dart.nullable(core.String), + [S$2.$expirationTime]: dart.nullable(core.int), + [S$0.$options]: dart.nullable(html$.PushSubscriptionOptions) +})); +dart.setLibraryUri(html$.PushSubscription, I[148]); +dart.registerExtension("PushSubscription", html$.PushSubscription); +html$.PushSubscriptionOptions = class PushSubscriptionOptions extends _interceptors.Interceptor { + get [S$2.$applicationServerKey]() { + return this.applicationServerKey; + } + get [S$2.$userVisibleOnly]() { + return this.userVisibleOnly; + } +}; +dart.addTypeTests(html$.PushSubscriptionOptions); +dart.addTypeCaches(html$.PushSubscriptionOptions); +dart.setGetterSignature(html$.PushSubscriptionOptions, () => ({ + __proto__: dart.getGetters(html$.PushSubscriptionOptions.__proto__), + [S$2.$applicationServerKey]: dart.nullable(typed_data.ByteBuffer), + [S$2.$userVisibleOnly]: dart.nullable(core.bool) +})); +dart.setLibraryUri(html$.PushSubscriptionOptions, I[148]); +dart.registerExtension("PushSubscriptionOptions", html$.PushSubscriptionOptions); +html$.QuoteElement = class QuoteElement extends html$.HtmlElement { + static new() { + return html$.document.createElement("q"); + } + get [S$1.$cite]() { + return this.cite; + } + set [S$1.$cite](value) { + this.cite = value; + } +}; +(html$.QuoteElement.created = function() { + html$.QuoteElement.__proto__.created.call(this); + ; +}).prototype = html$.QuoteElement.prototype; +dart.addTypeTests(html$.QuoteElement); +dart.addTypeCaches(html$.QuoteElement); +dart.setGetterSignature(html$.QuoteElement, () => ({ + __proto__: dart.getGetters(html$.QuoteElement.__proto__), + [S$1.$cite]: core.String +})); +dart.setSetterSignature(html$.QuoteElement, () => ({ + __proto__: dart.getSetters(html$.QuoteElement.__proto__), + [S$1.$cite]: core.String +})); +dart.setLibraryUri(html$.QuoteElement, I[148]); +dart.registerExtension("HTMLQuoteElement", html$.QuoteElement); +html$.Range = class Range extends _interceptors.Interceptor { + static new() { + return html$.document.createRange(); + } + static fromPoint(point) { + if (point == null) dart.nullFailed(I[147], 26260, 33, "point"); + return html$.document[S$1._caretRangeFromPoint](point.x[$toInt](), point.y[$toInt]()); + } + get [S$2.$collapsed]() { + return this.collapsed; + } + get [S$2.$commonAncestorContainer]() { + return this.commonAncestorContainer; + } + get [S$2.$endContainer]() { + return this.endContainer; + } + get [S$2.$endOffset]() { + return this.endOffset; + } + get [S$2.$startContainer]() { + return this.startContainer; + } + get [S$2.$startOffset]() { + return this.startOffset; + } + [S$2.$cloneContents](...args) { + return this.cloneContents.apply(this, args); + } + [S$2.$cloneRange](...args) { + return this.cloneRange.apply(this, args); + } + [S$2.$collapse](...args) { + return this.collapse.apply(this, args); + } + [S$2.$compareBoundaryPoints](...args) { + return this.compareBoundaryPoints.apply(this, args); + } + [S$2.$comparePoint](...args) { + return this.comparePoint.apply(this, args); + } + [S$2.$createContextualFragment](...args) { + return this.createContextualFragment.apply(this, args); + } + [S$2.$deleteContents](...args) { + return this.deleteContents.apply(this, args); + } + [S$2.$detach](...args) { + return this.detach.apply(this, args); + } + [$expand](...args) { + return this.expand.apply(this, args); + } + [S$2.$extractContents](...args) { + return this.extractContents.apply(this, args); + } + [S.$getBoundingClientRect](...args) { + return this.getBoundingClientRect.apply(this, args); + } + [S._getClientRects](...args) { + return this.getClientRects.apply(this, args); + } + [S$2.$insertNode](...args) { + return this.insertNode.apply(this, args); + } + [S$2.$isPointInRange](...args) { + return this.isPointInRange.apply(this, args); + } + [S$2.$selectNode](...args) { + return this.selectNode.apply(this, args); + } + [S$2.$selectNodeContents](...args) { + return this.selectNodeContents.apply(this, args); + } + [S$2.$setEnd](...args) { + return this.setEnd.apply(this, args); + } + [S$2.$setEndAfter](...args) { + return this.setEndAfter.apply(this, args); + } + [S$2.$setEndBefore](...args) { + return this.setEndBefore.apply(this, args); + } + [S$2.$setStart](...args) { + return this.setStart.apply(this, args); + } + [S$2.$setStartAfter](...args) { + return this.setStartAfter.apply(this, args); + } + [S$2.$setStartBefore](...args) { + return this.setStartBefore.apply(this, args); + } + [S$2.$surroundContents](...args) { + return this.surroundContents.apply(this, args); + } + [S.$getClientRects]() { + let value = this[S._getClientRects](); + let jsProto = value.prototype; + if (jsProto == null) { + value.prototype = Object.create(null); + } + _js_helper.applyExtension("DOMRectList", value); + return value; + } + static get supportsCreateContextualFragment() { + return "createContextualFragment" in window.Range.prototype; + } +}; +dart.addTypeTests(html$.Range); +dart.addTypeCaches(html$.Range); +dart.setMethodSignature(html$.Range, () => ({ + __proto__: dart.getMethods(html$.Range.__proto__), + [S$2.$cloneContents]: dart.fnType(html$.DocumentFragment, []), + [S$2.$cloneRange]: dart.fnType(html$.Range, []), + [S$2.$collapse]: dart.fnType(dart.void, [], [dart.nullable(core.bool)]), + [S$2.$compareBoundaryPoints]: dart.fnType(core.int, [core.int, html$.Range]), + [S$2.$comparePoint]: dart.fnType(core.int, [html$.Node, core.int]), + [S$2.$createContextualFragment]: dart.fnType(html$.DocumentFragment, [core.String]), + [S$2.$deleteContents]: dart.fnType(dart.void, []), + [S$2.$detach]: dart.fnType(dart.void, []), + [$expand]: dart.fnType(dart.void, [dart.nullable(core.String)]), + [S$2.$extractContents]: dart.fnType(html$.DocumentFragment, []), + [S.$getBoundingClientRect]: dart.fnType(math.Rectangle$(core.num), []), + [S._getClientRects]: dart.fnType(core.List$(math.Rectangle$(core.num)), []), + [S$2.$insertNode]: dart.fnType(dart.void, [html$.Node]), + [S$2.$isPointInRange]: dart.fnType(core.bool, [html$.Node, core.int]), + [S$2.$selectNode]: dart.fnType(dart.void, [html$.Node]), + [S$2.$selectNodeContents]: dart.fnType(dart.void, [html$.Node]), + [S$2.$setEnd]: dart.fnType(dart.void, [html$.Node, core.int]), + [S$2.$setEndAfter]: dart.fnType(dart.void, [html$.Node]), + [S$2.$setEndBefore]: dart.fnType(dart.void, [html$.Node]), + [S$2.$setStart]: dart.fnType(dart.void, [html$.Node, core.int]), + [S$2.$setStartAfter]: dart.fnType(dart.void, [html$.Node]), + [S$2.$setStartBefore]: dart.fnType(dart.void, [html$.Node]), + [S$2.$surroundContents]: dart.fnType(dart.void, [html$.Node]), + [S.$getClientRects]: dart.fnType(core.List$(math.Rectangle$(core.num)), []) +})); +dart.setGetterSignature(html$.Range, () => ({ + __proto__: dart.getGetters(html$.Range.__proto__), + [S$2.$collapsed]: core.bool, + [S$2.$commonAncestorContainer]: html$.Node, + [S$2.$endContainer]: html$.Node, + [S$2.$endOffset]: core.int, + [S$2.$startContainer]: html$.Node, + [S$2.$startOffset]: core.int +})); +dart.setLibraryUri(html$.Range, I[148]); +dart.defineLazy(html$.Range, { + /*html$.Range.END_TO_END*/get END_TO_END() { + return 2; + }, + /*html$.Range.END_TO_START*/get END_TO_START() { + return 3; + }, + /*html$.Range.START_TO_END*/get START_TO_END() { + return 1; + }, + /*html$.Range.START_TO_START*/get START_TO_START() { + return 0; + } +}, false); +dart.registerExtension("Range", html$.Range); +html$.RelatedApplication = class RelatedApplication extends _interceptors.Interceptor { + get [S.$id]() { + return this.id; + } + get [S$2.$platform]() { + return this.platform; + } + get [S$.$url]() { + return this.url; + } +}; +dart.addTypeTests(html$.RelatedApplication); +dart.addTypeCaches(html$.RelatedApplication); +dart.setGetterSignature(html$.RelatedApplication, () => ({ + __proto__: dart.getGetters(html$.RelatedApplication.__proto__), + [S.$id]: dart.nullable(core.String), + [S$2.$platform]: dart.nullable(core.String), + [S$.$url]: dart.nullable(core.String) +})); +dart.setLibraryUri(html$.RelatedApplication, I[148]); +dart.registerExtension("RelatedApplication", html$.RelatedApplication); +html$.RelativeOrientationSensor = class RelativeOrientationSensor$ extends html$.OrientationSensor { + static new(sensorOptions = null) { + if (sensorOptions != null) { + let sensorOptions_1 = html_common.convertDartToNative_Dictionary(sensorOptions); + return html$.RelativeOrientationSensor._create_1(sensorOptions_1); + } + return html$.RelativeOrientationSensor._create_2(); + } + static _create_1(sensorOptions) { + return new RelativeOrientationSensor(sensorOptions); + } + static _create_2() { + return new RelativeOrientationSensor(); + } +}; +dart.addTypeTests(html$.RelativeOrientationSensor); +dart.addTypeCaches(html$.RelativeOrientationSensor); +dart.setLibraryUri(html$.RelativeOrientationSensor, I[148]); +dart.registerExtension("RelativeOrientationSensor", html$.RelativeOrientationSensor); +html$.RemotePlayback = class RemotePlayback extends html$.EventTarget { + get [S$.$state]() { + return this.state; + } + [S$2.$cancelWatchAvailability](id = null) { + return js_util.promiseToFuture(dart.dynamic, this.cancelWatchAvailability(id)); + } + [S$.$prompt]() { + return js_util.promiseToFuture(dart.dynamic, this.prompt()); + } + [S$2.$watchAvailability](callback) { + if (callback == null) dart.nullFailed(I[147], 26420, 68, "callback"); + return js_util.promiseToFuture(core.int, this.watchAvailability(callback)); + } +}; +dart.addTypeTests(html$.RemotePlayback); +dart.addTypeCaches(html$.RemotePlayback); +dart.setMethodSignature(html$.RemotePlayback, () => ({ + __proto__: dart.getMethods(html$.RemotePlayback.__proto__), + [S$2.$cancelWatchAvailability]: dart.fnType(async.Future, [], [dart.nullable(core.int)]), + [S$.$prompt]: dart.fnType(async.Future, []), + [S$2.$watchAvailability]: dart.fnType(async.Future$(core.int), [dart.fnType(dart.void, [core.bool])]) +})); +dart.setGetterSignature(html$.RemotePlayback, () => ({ + __proto__: dart.getGetters(html$.RemotePlayback.__proto__), + [S$.$state]: dart.nullable(core.String) +})); +dart.setLibraryUri(html$.RemotePlayback, I[148]); +dart.registerExtension("RemotePlayback", html$.RemotePlayback); +html$.ReportingObserver = class ReportingObserver$ extends _interceptors.Interceptor { + static new(callback) { + if (callback == null) dart.nullFailed(I[147], 26452, 55, "callback"); + let callback_1 = _js_helper.convertDartClosureToJS(T$0.ListAndReportingObserverTovoid(), callback, 2); + return html$.ReportingObserver._create_1(callback_1); + } + static _create_1(callback) { + return new ReportingObserver(callback); + } + [S$1.$disconnect](...args) { + return this.disconnect.apply(this, args); + } + [S.$observe](...args) { + return this.observe.apply(this, args); + } +}; +dart.addTypeTests(html$.ReportingObserver); +dart.addTypeCaches(html$.ReportingObserver); +dart.setMethodSignature(html$.ReportingObserver, () => ({ + __proto__: dart.getMethods(html$.ReportingObserver.__proto__), + [S$1.$disconnect]: dart.fnType(dart.void, []), + [S.$observe]: dart.fnType(dart.void, []) +})); +dart.setLibraryUri(html$.ReportingObserver, I[148]); +dart.registerExtension("ReportingObserver", html$.ReportingObserver); +html$.ResizeObserver = class ResizeObserver$ extends _interceptors.Interceptor { + static new(callback) { + if (callback == null) dart.nullFailed(I[147], 26489, 49, "callback"); + let callback_1 = _js_helper.convertDartClosureToJS(T$0.ListAndResizeObserverTovoid(), callback, 2); + return html$.ResizeObserver._create_1(callback_1); + } + static _create_1(callback) { + return new ResizeObserver(callback); + } + [S$1.$disconnect](...args) { + return this.disconnect.apply(this, args); + } + [S.$observe](...args) { + return this.observe.apply(this, args); + } + [S.$unobserve](...args) { + return this.unobserve.apply(this, args); + } +}; +dart.addTypeTests(html$.ResizeObserver); +dart.addTypeCaches(html$.ResizeObserver); +dart.setMethodSignature(html$.ResizeObserver, () => ({ + __proto__: dart.getMethods(html$.ResizeObserver.__proto__), + [S$1.$disconnect]: dart.fnType(dart.void, []), + [S.$observe]: dart.fnType(dart.void, [html$.Element]), + [S.$unobserve]: dart.fnType(dart.void, [html$.Element]) +})); +dart.setLibraryUri(html$.ResizeObserver, I[148]); +dart.registerExtension("ResizeObserver", html$.ResizeObserver); +html$.ResizeObserverEntry = class ResizeObserverEntry extends _interceptors.Interceptor { + get [S$2.$contentRect]() { + return this.contentRect; + } + get [S.$target]() { + return this.target; + } +}; +dart.addTypeTests(html$.ResizeObserverEntry); +dart.addTypeCaches(html$.ResizeObserverEntry); +dart.setGetterSignature(html$.ResizeObserverEntry, () => ({ + __proto__: dart.getGetters(html$.ResizeObserverEntry.__proto__), + [S$2.$contentRect]: dart.nullable(html$.DomRectReadOnly), + [S.$target]: dart.nullable(html$.Element) +})); +dart.setLibraryUri(html$.ResizeObserverEntry, I[148]); +dart.registerExtension("ResizeObserverEntry", html$.ResizeObserverEntry); +html$.RtcCertificate = class RtcCertificate extends _interceptors.Interceptor { + get [S$2.$expires]() { + return this.expires; + } + [S$2.$getFingerprints](...args) { + return this.getFingerprints.apply(this, args); + } +}; +dart.addTypeTests(html$.RtcCertificate); +dart.addTypeCaches(html$.RtcCertificate); +dart.setMethodSignature(html$.RtcCertificate, () => ({ + __proto__: dart.getMethods(html$.RtcCertificate.__proto__), + [S$2.$getFingerprints]: dart.fnType(core.List$(core.Map), []) +})); +dart.setGetterSignature(html$.RtcCertificate, () => ({ + __proto__: dart.getGetters(html$.RtcCertificate.__proto__), + [S$2.$expires]: dart.nullable(core.int) +})); +dart.setLibraryUri(html$.RtcCertificate, I[148]); +dart.registerExtension("RTCCertificate", html$.RtcCertificate); +html$.RtcDataChannel = class RtcDataChannel extends html$.EventTarget { + get [S$2.$binaryType]() { + return this.binaryType; + } + set [S$2.$binaryType](value) { + this.binaryType = value; + } + get [S$2.$bufferedAmount]() { + return this.bufferedAmount; + } + get [S$2.$bufferedAmountLowThreshold]() { + return this.bufferedAmountLowThreshold; + } + set [S$2.$bufferedAmountLowThreshold](value) { + this.bufferedAmountLowThreshold = value; + } + get [S.$id]() { + return this.id; + } + get [S$.$label]() { + return this.label; + } + get [S$2.$maxRetransmitTime]() { + return this.maxRetransmitTime; + } + get [S$2.$maxRetransmits]() { + return this.maxRetransmits; + } + get [S$2.$negotiated]() { + return this.negotiated; + } + get [S$2.$ordered]() { + return this.ordered; + } + get [S$.$protocol]() { + return this.protocol; + } + get [S.$readyState]() { + return this.readyState; + } + get [S$2.$reliable]() { + return this.reliable; + } + [S.$close](...args) { + return this.close.apply(this, args); + } + [S$1.$send](...args) { + return this.send.apply(this, args); + } + [S$2.$sendBlob](...args) { + return this.send.apply(this, args); + } + [S$2.$sendByteBuffer](...args) { + return this.send.apply(this, args); + } + [S$2.$sendString](...args) { + return this.send.apply(this, args); + } + [S$2.$sendTypedData](...args) { + return this.send.apply(this, args); + } + get [S.$onClose]() { + return html$.RtcDataChannel.closeEvent.forTarget(this); + } + get [S.$onError]() { + return html$.RtcDataChannel.errorEvent.forTarget(this); + } + get [S$.$onMessage]() { + return html$.RtcDataChannel.messageEvent.forTarget(this); + } + get [S$1.$onOpen]() { + return html$.RtcDataChannel.openEvent.forTarget(this); + } +}; +dart.addTypeTests(html$.RtcDataChannel); +dart.addTypeCaches(html$.RtcDataChannel); +dart.setMethodSignature(html$.RtcDataChannel, () => ({ + __proto__: dart.getMethods(html$.RtcDataChannel.__proto__), + [S.$close]: dart.fnType(dart.void, []), + [S$1.$send]: dart.fnType(dart.void, [dart.dynamic]), + [S$2.$sendBlob]: dart.fnType(dart.void, [html$.Blob]), + [S$2.$sendByteBuffer]: dart.fnType(dart.void, [typed_data.ByteBuffer]), + [S$2.$sendString]: dart.fnType(dart.void, [core.String]), + [S$2.$sendTypedData]: dart.fnType(dart.void, [typed_data.TypedData]) +})); +dart.setGetterSignature(html$.RtcDataChannel, () => ({ + __proto__: dart.getGetters(html$.RtcDataChannel.__proto__), + [S$2.$binaryType]: dart.nullable(core.String), + [S$2.$bufferedAmount]: dart.nullable(core.int), + [S$2.$bufferedAmountLowThreshold]: dart.nullable(core.int), + [S.$id]: dart.nullable(core.int), + [S$.$label]: dart.nullable(core.String), + [S$2.$maxRetransmitTime]: dart.nullable(core.int), + [S$2.$maxRetransmits]: dart.nullable(core.int), + [S$2.$negotiated]: dart.nullable(core.bool), + [S$2.$ordered]: dart.nullable(core.bool), + [S$.$protocol]: dart.nullable(core.String), + [S.$readyState]: dart.nullable(core.String), + [S$2.$reliable]: dart.nullable(core.bool), + [S.$onClose]: async.Stream$(html$.Event), + [S.$onError]: async.Stream$(html$.Event), + [S$.$onMessage]: async.Stream$(html$.MessageEvent), + [S$1.$onOpen]: async.Stream$(html$.Event) +})); +dart.setSetterSignature(html$.RtcDataChannel, () => ({ + __proto__: dart.getSetters(html$.RtcDataChannel.__proto__), + [S$2.$binaryType]: dart.nullable(core.String), + [S$2.$bufferedAmountLowThreshold]: dart.nullable(core.int) +})); +dart.setLibraryUri(html$.RtcDataChannel, I[148]); +dart.defineLazy(html$.RtcDataChannel, { + /*html$.RtcDataChannel.closeEvent*/get closeEvent() { + return C[215] || CT.C215; + }, + /*html$.RtcDataChannel.errorEvent*/get errorEvent() { + return C[216] || CT.C216; + }, + /*html$.RtcDataChannel.messageEvent*/get messageEvent() { + return C[312] || CT.C312; + }, + /*html$.RtcDataChannel.openEvent*/get openEvent() { + return C[330] || CT.C330; + } +}, false); +dart.registerExtension("RTCDataChannel", html$.RtcDataChannel); +dart.registerExtension("DataChannel", html$.RtcDataChannel); +html$.RtcDataChannelEvent = class RtcDataChannelEvent extends html$.Event { + static new(type, eventInitDict) { + if (type == null) dart.nullFailed(I[147], 26653, 38, "type"); + if (eventInitDict == null) dart.nullFailed(I[147], 26653, 48, "eventInitDict"); + let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); + return html$.RtcDataChannelEvent._create_1(type, eventInitDict_1); + } + static _create_1(type, eventInitDict) { + return new RTCDataChannelEvent(type, eventInitDict); + } + get [S$2.$channel]() { + return this.channel; + } +}; +dart.addTypeTests(html$.RtcDataChannelEvent); +dart.addTypeCaches(html$.RtcDataChannelEvent); +dart.setGetterSignature(html$.RtcDataChannelEvent, () => ({ + __proto__: dart.getGetters(html$.RtcDataChannelEvent.__proto__), + [S$2.$channel]: dart.nullable(html$.RtcDataChannel) +})); +dart.setLibraryUri(html$.RtcDataChannelEvent, I[148]); +dart.registerExtension("RTCDataChannelEvent", html$.RtcDataChannelEvent); +html$.RtcDtmfSender = class RtcDtmfSender extends html$.EventTarget { + get [S$2.$canInsertDtmf]() { + return this.canInsertDTMF; + } + get [S$.$duration]() { + return this.duration; + } + get [S$2.$interToneGap]() { + return this.interToneGap; + } + get [S$2.$toneBuffer]() { + return this.toneBuffer; + } + get [S$1.$track]() { + return this.track; + } + [S$2.$insertDtmf](...args) { + return this.insertDTMF.apply(this, args); + } + get [S$2.$onToneChange]() { + return html$.RtcDtmfSender.toneChangeEvent.forTarget(this); + } +}; +dart.addTypeTests(html$.RtcDtmfSender); +dart.addTypeCaches(html$.RtcDtmfSender); +dart.setMethodSignature(html$.RtcDtmfSender, () => ({ + __proto__: dart.getMethods(html$.RtcDtmfSender.__proto__), + [S$2.$insertDtmf]: dart.fnType(dart.void, [core.String], [dart.nullable(core.int), dart.nullable(core.int)]) +})); +dart.setGetterSignature(html$.RtcDtmfSender, () => ({ + __proto__: dart.getGetters(html$.RtcDtmfSender.__proto__), + [S$2.$canInsertDtmf]: dart.nullable(core.bool), + [S$.$duration]: dart.nullable(core.int), + [S$2.$interToneGap]: dart.nullable(core.int), + [S$2.$toneBuffer]: dart.nullable(core.String), + [S$1.$track]: dart.nullable(html$.MediaStreamTrack), + [S$2.$onToneChange]: async.Stream$(html$.RtcDtmfToneChangeEvent) +})); +dart.setLibraryUri(html$.RtcDtmfSender, I[148]); +dart.defineLazy(html$.RtcDtmfSender, { + /*html$.RtcDtmfSender.toneChangeEvent*/get toneChangeEvent() { + return C[353] || CT.C353; + } +}, false); +dart.registerExtension("RTCDTMFSender", html$.RtcDtmfSender); +html$.RtcDtmfToneChangeEvent = class RtcDtmfToneChangeEvent extends html$.Event { + static new(type, eventInitDict) { + if (type == null) dart.nullFailed(I[147], 26714, 41, "type"); + if (eventInitDict == null) dart.nullFailed(I[147], 26714, 51, "eventInitDict"); + let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); + return html$.RtcDtmfToneChangeEvent._create_1(type, eventInitDict_1); + } + static _create_1(type, eventInitDict) { + return new RTCDTMFToneChangeEvent(type, eventInitDict); + } + get [S$2.$tone]() { + return this.tone; + } +}; +dart.addTypeTests(html$.RtcDtmfToneChangeEvent); +dart.addTypeCaches(html$.RtcDtmfToneChangeEvent); +dart.setGetterSignature(html$.RtcDtmfToneChangeEvent, () => ({ + __proto__: dart.getGetters(html$.RtcDtmfToneChangeEvent.__proto__), + [S$2.$tone]: dart.nullable(core.String) +})); +dart.setLibraryUri(html$.RtcDtmfToneChangeEvent, I[148]); +dart.registerExtension("RTCDTMFToneChangeEvent", html$.RtcDtmfToneChangeEvent); +html$.RtcIceCandidate = class RtcIceCandidate extends _interceptors.Interceptor { + static new(dictionary) { + if (dictionary == null) dart.nullFailed(I[147], 26733, 31, "dictionary"); + let constructorName = window.RTCIceCandidate; + return new constructorName(html_common.convertDartToNative_SerializedScriptValue(dictionary)); + } + get [S$2.$candidate]() { + return this.candidate; + } + set [S$2.$candidate](value) { + this.candidate = value; + } + get [S$2.$sdpMLineIndex]() { + return this.sdpMLineIndex; + } + set [S$2.$sdpMLineIndex](value) { + this.sdpMLineIndex = value; + } + get [S$2.$sdpMid]() { + return this.sdpMid; + } + set [S$2.$sdpMid](value) { + this.sdpMid = value; + } +}; +dart.addTypeTests(html$.RtcIceCandidate); +dart.addTypeCaches(html$.RtcIceCandidate); +dart.setGetterSignature(html$.RtcIceCandidate, () => ({ + __proto__: dart.getGetters(html$.RtcIceCandidate.__proto__), + [S$2.$candidate]: dart.nullable(core.String), + [S$2.$sdpMLineIndex]: dart.nullable(core.int), + [S$2.$sdpMid]: dart.nullable(core.String) +})); +dart.setSetterSignature(html$.RtcIceCandidate, () => ({ + __proto__: dart.getSetters(html$.RtcIceCandidate.__proto__), + [S$2.$candidate]: dart.nullable(core.String), + [S$2.$sdpMLineIndex]: dart.nullable(core.int), + [S$2.$sdpMid]: dart.nullable(core.String) +})); +dart.setLibraryUri(html$.RtcIceCandidate, I[148]); +dart.registerExtension("RTCIceCandidate", html$.RtcIceCandidate); +dart.registerExtension("mozRTCIceCandidate", html$.RtcIceCandidate); +html$.RtcLegacyStatsReport = class RtcLegacyStatsReport extends _interceptors.Interceptor { + get [S.$id]() { + return this.id; + } + get [S$.$timestamp]() { + return html_common.convertNativeToDart_DateTime(this[S$2._get_timestamp]); + } + get [S$2._get_timestamp]() { + return this.timestamp; + } + get [S.$type]() { + return this.type; + } + [S$2.$names](...args) { + return this.names.apply(this, args); + } + [S$2.$stat](...args) { + return this.stat.apply(this, args); + } +}; +dart.addTypeTests(html$.RtcLegacyStatsReport); +dart.addTypeCaches(html$.RtcLegacyStatsReport); +dart.setMethodSignature(html$.RtcLegacyStatsReport, () => ({ + __proto__: dart.getMethods(html$.RtcLegacyStatsReport.__proto__), + [S$2.$names]: dart.fnType(core.List$(core.String), []), + [S$2.$stat]: dart.fnType(core.String, [core.String]) +})); +dart.setGetterSignature(html$.RtcLegacyStatsReport, () => ({ + __proto__: dart.getGetters(html$.RtcLegacyStatsReport.__proto__), + [S.$id]: dart.nullable(core.String), + [S$.$timestamp]: core.DateTime, + [S$2._get_timestamp]: dart.dynamic, + [S.$type]: dart.nullable(core.String) +})); +dart.setLibraryUri(html$.RtcLegacyStatsReport, I[148]); +dart.registerExtension("RTCLegacyStatsReport", html$.RtcLegacyStatsReport); +html$.RtcPeerConnection = class RtcPeerConnection extends html$.EventTarget { + static new(rtcIceServers, mediaConstraints = null) { + if (rtcIceServers == null) dart.nullFailed(I[147], 26785, 33, "rtcIceServers"); + let constructorName = window.RTCPeerConnection; + if (mediaConstraints != null) { + return new constructorName(html_common.convertDartToNative_SerializedScriptValue(rtcIceServers), html_common.convertDartToNative_SerializedScriptValue(mediaConstraints)); + } else { + return new constructorName(html_common.convertDartToNative_SerializedScriptValue(rtcIceServers)); + } + } + static get supported() { + try { + html$.RtcPeerConnection.new(new _js_helper.LinkedMap.from(["iceServers", T$0.JSArrayOfMapOfString$String().of([new (T$.IdentityMapOfString$String()).from(["url", "stun:localhost"])])])); + return true; + } catch (e) { + let _ = dart.getThrown(e); + if (core.Object.is(_)) { + return false; + } else + throw e; + } + return false; + } + [S$2.$getLegacyStats](selector = null) { + let completer = T$0.CompleterOfRtcStatsResponse().new(); + this[S$2._getStats](dart.fn(value => { + if (value == null) dart.nullFailed(I[147], 26829, 16, "value"); + completer.complete(value); + }, T$0.RtcStatsResponseTovoid()), selector); + return completer.future; + } + [S$2._getStats](...args) { + return this.getStats.apply(this, args); + } + static generateCertificate(keygenAlgorithm) { + return generateCertificate(keygenAlgorithm); + } + get [S$2.$iceConnectionState]() { + return this.iceConnectionState; + } + get [S$2.$iceGatheringState]() { + return this.iceGatheringState; + } + get [S$2.$localDescription]() { + return this.localDescription; + } + get [S$2.$remoteDescription]() { + return this.remoteDescription; + } + get [S$2.$signalingState]() { + return this.signalingState; + } + [S$2.$addIceCandidate](candidate, successCallback = null, failureCallback = null) { + if (candidate == null) dart.nullFailed(I[147], 26930, 33, "candidate"); + return js_util.promiseToFuture(dart.dynamic, this.addIceCandidate(candidate, successCallback, failureCallback)); + } + [S$2.$addStream](stream, mediaConstraints = null) { + if (mediaConstraints != null) { + let mediaConstraints_1 = html_common.convertDartToNative_Dictionary(mediaConstraints); + this[S$2._addStream_1](stream, mediaConstraints_1); + return; + } + this[S$2._addStream_2](stream); + return; + } + [S$2._addStream_1](...args) { + return this.addStream.apply(this, args); + } + [S$2._addStream_2](...args) { + return this.addStream.apply(this, args); + } + [S$1.$addTrack](...args) { + return this.addTrack.apply(this, args); + } + [S.$close](...args) { + return this.close.apply(this, args); + } + [S$2.$createAnswer](options = null) { + let options_dict = null; + if (options != null) { + options_dict = html_common.convertDartToNative_Dictionary(options); + } + return js_util.promiseToFuture(html$.RtcSessionDescription, this.createAnswer(options_dict)); + } + [S$2.$createDtmfSender](...args) { + return this.createDTMFSender.apply(this, args); + } + [S$2.$createDataChannel](label, dataChannelDict = null) { + if (label == null) dart.nullFailed(I[147], 26970, 43, "label"); + if (dataChannelDict != null) { + let dataChannelDict_1 = html_common.convertDartToNative_Dictionary(dataChannelDict); + return this[S$2._createDataChannel_1](label, dataChannelDict_1); + } + return this[S$2._createDataChannel_2](label); + } + [S$2._createDataChannel_1](...args) { + return this.createDataChannel.apply(this, args); + } + [S$2._createDataChannel_2](...args) { + return this.createDataChannel.apply(this, args); + } + [S$2.$createOffer](options = null) { + let options_dict = null; + if (options != null) { + options_dict = html_common.convertDartToNative_Dictionary(options); + } + return js_util.promiseToFuture(html$.RtcSessionDescription, this.createOffer(options_dict)); + } + [S$2.$getLocalStreams](...args) { + return this.getLocalStreams.apply(this, args); + } + [S$2.$getReceivers](...args) { + return this.getReceivers.apply(this, args); + } + [S$2.$getRemoteStreams](...args) { + return this.getRemoteStreams.apply(this, args); + } + [S$2.$getSenders](...args) { + return this.getSenders.apply(this, args); + } + [S$2.$getStats]() { + return js_util.promiseToFuture(html$.RtcStatsReport, this.getStats()); + } + [S$2.$removeStream](...args) { + return this.removeStream.apply(this, args); + } + [S$1.$removeTrack](...args) { + return this.removeTrack.apply(this, args); + } + [S$2.$setConfiguration](configuration) { + if (configuration == null) dart.nullFailed(I[147], 27010, 29, "configuration"); + let configuration_1 = html_common.convertDartToNative_Dictionary(configuration); + this[S$2._setConfiguration_1](configuration_1); + return; + } + [S$2._setConfiguration_1](...args) { + return this.setConfiguration.apply(this, args); + } + [S$2.$setLocalDescription](description) { + if (description == null) dart.nullFailed(I[147], 27019, 34, "description"); + let description_dict = html_common.convertDartToNative_Dictionary(description); + return js_util.promiseToFuture(dart.dynamic, this.setLocalDescription(description_dict)); + } + [S$2.$setRemoteDescription](description) { + if (description == null) dart.nullFailed(I[147], 27025, 35, "description"); + let description_dict = html_common.convertDartToNative_Dictionary(description); + return js_util.promiseToFuture(dart.dynamic, this.setRemoteDescription(description_dict)); + } + get [S$2.$onAddStream]() { + return html$.RtcPeerConnection.addStreamEvent.forTarget(this); + } + get [S$2.$onDataChannel]() { + return html$.RtcPeerConnection.dataChannelEvent.forTarget(this); + } + get [S$2.$onIceCandidate]() { + return html$.RtcPeerConnection.iceCandidateEvent.forTarget(this); + } + get [S$2.$onIceConnectionStateChange]() { + return html$.RtcPeerConnection.iceConnectionStateChangeEvent.forTarget(this); + } + get [S$2.$onNegotiationNeeded]() { + return html$.RtcPeerConnection.negotiationNeededEvent.forTarget(this); + } + get [S$2.$onRemoveStream]() { + return html$.RtcPeerConnection.removeStreamEvent.forTarget(this); + } + get [S$2.$onSignalingStateChange]() { + return html$.RtcPeerConnection.signalingStateChangeEvent.forTarget(this); + } + get [S$2.$onTrack]() { + return html$.RtcPeerConnection.trackEvent.forTarget(this); + } +}; +dart.addTypeTests(html$.RtcPeerConnection); +dart.addTypeCaches(html$.RtcPeerConnection); +dart.setMethodSignature(html$.RtcPeerConnection, () => ({ + __proto__: dart.getMethods(html$.RtcPeerConnection.__proto__), + [S$2.$getLegacyStats]: dart.fnType(async.Future$(html$.RtcStatsResponse), [], [dart.nullable(html$.MediaStreamTrack)]), + [S$2._getStats]: dart.fnType(async.Future, [], [dart.nullable(dart.fnType(dart.void, [html$.RtcStatsResponse])), dart.nullable(html$.MediaStreamTrack)]), + [S$2.$addIceCandidate]: dart.fnType(async.Future, [core.Object], [dart.nullable(dart.fnType(dart.void, [])), dart.nullable(dart.fnType(dart.void, [html$.DomException]))]), + [S$2.$addStream]: dart.fnType(dart.void, [dart.nullable(html$.MediaStream)], [dart.nullable(core.Map)]), + [S$2._addStream_1]: dart.fnType(dart.void, [dart.nullable(html$.MediaStream), dart.dynamic]), + [S$2._addStream_2]: dart.fnType(dart.void, [dart.nullable(html$.MediaStream)]), + [S$1.$addTrack]: dart.fnType(html$.RtcRtpSender, [html$.MediaStreamTrack, html$.MediaStream]), + [S.$close]: dart.fnType(dart.void, []), + [S$2.$createAnswer]: dart.fnType(async.Future$(html$.RtcSessionDescription), [], [dart.nullable(core.Map)]), + [S$2.$createDtmfSender]: dart.fnType(html$.RtcDtmfSender, [html$.MediaStreamTrack]), + [S$2.$createDataChannel]: dart.fnType(html$.RtcDataChannel, [core.String], [dart.nullable(core.Map)]), + [S$2._createDataChannel_1]: dart.fnType(html$.RtcDataChannel, [dart.dynamic, dart.dynamic]), + [S$2._createDataChannel_2]: dart.fnType(html$.RtcDataChannel, [dart.dynamic]), + [S$2.$createOffer]: dart.fnType(async.Future$(html$.RtcSessionDescription), [], [dart.nullable(core.Map)]), + [S$2.$getLocalStreams]: dart.fnType(core.List$(html$.MediaStream), []), + [S$2.$getReceivers]: dart.fnType(core.List$(html$.RtcRtpReceiver), []), + [S$2.$getRemoteStreams]: dart.fnType(core.List$(html$.MediaStream), []), + [S$2.$getSenders]: dart.fnType(core.List$(html$.RtcRtpSender), []), + [S$2.$getStats]: dart.fnType(async.Future$(html$.RtcStatsReport), []), + [S$2.$removeStream]: dart.fnType(dart.void, [dart.nullable(html$.MediaStream)]), + [S$1.$removeTrack]: dart.fnType(dart.void, [html$.RtcRtpSender]), + [S$2.$setConfiguration]: dart.fnType(dart.void, [core.Map]), + [S$2._setConfiguration_1]: dart.fnType(dart.void, [dart.dynamic]), + [S$2.$setLocalDescription]: dart.fnType(async.Future, [core.Map]), + [S$2.$setRemoteDescription]: dart.fnType(async.Future, [core.Map]) +})); +dart.setGetterSignature(html$.RtcPeerConnection, () => ({ + __proto__: dart.getGetters(html$.RtcPeerConnection.__proto__), + [S$2.$iceConnectionState]: dart.nullable(core.String), + [S$2.$iceGatheringState]: dart.nullable(core.String), + [S$2.$localDescription]: dart.nullable(html$.RtcSessionDescription), + [S$2.$remoteDescription]: dart.nullable(html$.RtcSessionDescription), + [S$2.$signalingState]: dart.nullable(core.String), + [S$2.$onAddStream]: async.Stream$(html$.MediaStreamEvent), + [S$2.$onDataChannel]: async.Stream$(html$.RtcDataChannelEvent), + [S$2.$onIceCandidate]: async.Stream$(html$.RtcPeerConnectionIceEvent), + [S$2.$onIceConnectionStateChange]: async.Stream$(html$.Event), + [S$2.$onNegotiationNeeded]: async.Stream$(html$.Event), + [S$2.$onRemoveStream]: async.Stream$(html$.MediaStreamEvent), + [S$2.$onSignalingStateChange]: async.Stream$(html$.Event), + [S$2.$onTrack]: async.Stream$(html$.RtcTrackEvent) +})); +dart.setLibraryUri(html$.RtcPeerConnection, I[148]); +dart.defineLazy(html$.RtcPeerConnection, { + /*html$.RtcPeerConnection.addStreamEvent*/get addStreamEvent() { + return C[354] || CT.C354; + }, + /*html$.RtcPeerConnection.dataChannelEvent*/get dataChannelEvent() { + return C[355] || CT.C355; + }, + /*html$.RtcPeerConnection.iceCandidateEvent*/get iceCandidateEvent() { + return C[356] || CT.C356; + }, + /*html$.RtcPeerConnection.iceConnectionStateChangeEvent*/get iceConnectionStateChangeEvent() { + return C[357] || CT.C357; + }, + /*html$.RtcPeerConnection.negotiationNeededEvent*/get negotiationNeededEvent() { + return C[358] || CT.C358; + }, + /*html$.RtcPeerConnection.removeStreamEvent*/get removeStreamEvent() { + return C[359] || CT.C359; + }, + /*html$.RtcPeerConnection.signalingStateChangeEvent*/get signalingStateChangeEvent() { + return C[360] || CT.C360; + }, + /*html$.RtcPeerConnection.trackEvent*/get trackEvent() { + return C[361] || CT.C361; + } +}, false); +dart.registerExtension("RTCPeerConnection", html$.RtcPeerConnection); +dart.registerExtension("webkitRTCPeerConnection", html$.RtcPeerConnection); +dart.registerExtension("mozRTCPeerConnection", html$.RtcPeerConnection); +html$.RtcPeerConnectionIceEvent = class RtcPeerConnectionIceEvent extends html$.Event { + static new(type, eventInitDict = null) { + if (type == null) dart.nullFailed(I[147], 27072, 44, "type"); + if (eventInitDict != null) { + let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); + return html$.RtcPeerConnectionIceEvent._create_1(type, eventInitDict_1); + } + return html$.RtcPeerConnectionIceEvent._create_2(type); + } + static _create_1(type, eventInitDict) { + return new RTCPeerConnectionIceEvent(type, eventInitDict); + } + static _create_2(type) { + return new RTCPeerConnectionIceEvent(type); + } + get [S$2.$candidate]() { + return this.candidate; + } +}; +dart.addTypeTests(html$.RtcPeerConnectionIceEvent); +dart.addTypeCaches(html$.RtcPeerConnectionIceEvent); +dart.setGetterSignature(html$.RtcPeerConnectionIceEvent, () => ({ + __proto__: dart.getGetters(html$.RtcPeerConnectionIceEvent.__proto__), + [S$2.$candidate]: dart.nullable(html$.RtcIceCandidate) +})); +dart.setLibraryUri(html$.RtcPeerConnectionIceEvent, I[148]); +dart.registerExtension("RTCPeerConnectionIceEvent", html$.RtcPeerConnectionIceEvent); +html$.RtcRtpContributingSource = class RtcRtpContributingSource extends _interceptors.Interceptor { + get [S.$source]() { + return this.source; + } + get [S$.$timestamp]() { + return this.timestamp; + } +}; +dart.addTypeTests(html$.RtcRtpContributingSource); +dart.addTypeCaches(html$.RtcRtpContributingSource); +dart.setGetterSignature(html$.RtcRtpContributingSource, () => ({ + __proto__: dart.getGetters(html$.RtcRtpContributingSource.__proto__), + [S.$source]: dart.nullable(core.int), + [S$.$timestamp]: dart.nullable(core.num) +})); +dart.setLibraryUri(html$.RtcRtpContributingSource, I[148]); +dart.registerExtension("RTCRtpContributingSource", html$.RtcRtpContributingSource); +html$.RtcRtpReceiver = class RtcRtpReceiver extends _interceptors.Interceptor { + get [S$1.$track]() { + return this.track; + } + [S$2.$getContributingSources](...args) { + return this.getContributingSources.apply(this, args); + } +}; +dart.addTypeTests(html$.RtcRtpReceiver); +dart.addTypeCaches(html$.RtcRtpReceiver); +dart.setMethodSignature(html$.RtcRtpReceiver, () => ({ + __proto__: dart.getMethods(html$.RtcRtpReceiver.__proto__), + [S$2.$getContributingSources]: dart.fnType(core.List$(html$.RtcRtpContributingSource), []) +})); +dart.setGetterSignature(html$.RtcRtpReceiver, () => ({ + __proto__: dart.getGetters(html$.RtcRtpReceiver.__proto__), + [S$1.$track]: dart.nullable(html$.MediaStreamTrack) +})); +dart.setLibraryUri(html$.RtcRtpReceiver, I[148]); +dart.registerExtension("RTCRtpReceiver", html$.RtcRtpReceiver); +html$.RtcRtpSender = class RtcRtpSender extends _interceptors.Interceptor { + get [S$1.$track]() { + return this.track; + } +}; +dart.addTypeTests(html$.RtcRtpSender); +dart.addTypeCaches(html$.RtcRtpSender); +dart.setGetterSignature(html$.RtcRtpSender, () => ({ + __proto__: dart.getGetters(html$.RtcRtpSender.__proto__), + [S$1.$track]: dart.nullable(html$.MediaStreamTrack) +})); +dart.setLibraryUri(html$.RtcRtpSender, I[148]); +dart.registerExtension("RTCRtpSender", html$.RtcRtpSender); +html$.RtcSessionDescription = class RtcSessionDescription extends _interceptors.Interceptor { + static new(dictionary) { + if (dictionary == null) dart.nullFailed(I[147], 27139, 37, "dictionary"); + let constructorName = window.RTCSessionDescription; + return new constructorName(html_common.convertDartToNative_SerializedScriptValue(dictionary)); + } + get [S$2.$sdp]() { + return this.sdp; + } + set [S$2.$sdp](value) { + this.sdp = value; + } + get [S.$type]() { + return this.type; + } + set [S.$type](value) { + this.type = value; + } +}; +dart.addTypeTests(html$.RtcSessionDescription); +dart.addTypeCaches(html$.RtcSessionDescription); +dart.setGetterSignature(html$.RtcSessionDescription, () => ({ + __proto__: dart.getGetters(html$.RtcSessionDescription.__proto__), + [S$2.$sdp]: dart.nullable(core.String), + [S.$type]: dart.nullable(core.String) +})); +dart.setSetterSignature(html$.RtcSessionDescription, () => ({ + __proto__: dart.getSetters(html$.RtcSessionDescription.__proto__), + [S$2.$sdp]: dart.nullable(core.String), + [S.$type]: dart.nullable(core.String) +})); +dart.setLibraryUri(html$.RtcSessionDescription, I[148]); +dart.registerExtension("RTCSessionDescription", html$.RtcSessionDescription); +dart.registerExtension("mozRTCSessionDescription", html$.RtcSessionDescription); +const Interceptor_MapMixin$36$0 = class Interceptor_MapMixin extends _interceptors.Interceptor {}; +(Interceptor_MapMixin$36$0.new = function() { + Interceptor_MapMixin$36$0.__proto__.new.call(this); +}).prototype = Interceptor_MapMixin$36$0.prototype; +dart.applyMixin(Interceptor_MapMixin$36$0, collection.MapMixin$(core.String, dart.dynamic)); +html$.RtcStatsReport = class RtcStatsReport extends Interceptor_MapMixin$36$0 { + [S$1._getItem](key) { + if (key == null) dart.nullFailed(I[147], 27168, 24, "key"); + return html_common.convertNativeToDart_Dictionary(this.get(key)); + } + [$addAll](other) { + T$0.MapOfString$dynamic().as(other); + if (other == null) dart.nullFailed(I[147], 27171, 36, "other"); + dart.throw(new core.UnsupportedError.new("Not supported")); + } + [$containsValue](value) { + return this[$values][$any](dart.fn(e => { + if (e == null) dart.nullFailed(I[147], 27175, 52, "e"); + return dart.equals(e, value); + }, T$0.MapTobool())); + } + [$containsKey](key) { + return this[S$1._getItem](core.String.as(key)) != null; + } + [$_get](key) { + return this[S$1._getItem](core.String.as(key)); + } + [$forEach](f) { + if (f == null) dart.nullFailed(I[147], 27181, 21, "f"); + let entries = this.entries(); + while (true) { + let entry = entries.next(); + if (entry.done) return; + f(entry.value[0], html_common.convertNativeToDart_Dictionary(entry.value[1])); + } + } + get [$keys]() { + let keys = T$.JSArrayOfString().of([]); + this[$forEach](dart.fn((k, v) => { + if (k == null) dart.nullFailed(I[147], 27193, 14, "k"); + return keys[$add](k); + }, T$0.StringAnddynamicTovoid())); + return keys; + } + get [$values]() { + let values = T$0.JSArrayOfMap().of([]); + this[$forEach](dart.fn((k, v) => { + if (k == null) dart.nullFailed(I[147], 27199, 14, "k"); + return values[$add](core.Map.as(v)); + }, T$0.StringAnddynamicTovoid())); + return values; + } + get [$length]() { + return this.size; + } + get [$isEmpty]() { + return this[$length] === 0; + } + get [$isNotEmpty]() { + return !dart.test(this[$isEmpty]); + } + [$_set](key, value$) { + let value = value$; + core.String.as(key); + if (key == null) dart.nullFailed(I[147], 27209, 28, "key"); + dart.throw(new core.UnsupportedError.new("Not supported")); + return value$; + } + [$putIfAbsent](key, ifAbsent) { + core.String.as(key); + if (key == null) dart.nullFailed(I[147], 27213, 30, "key"); + T$.VoidTodynamic().as(ifAbsent); + if (ifAbsent == null) dart.nullFailed(I[147], 27213, 43, "ifAbsent"); + dart.throw(new core.UnsupportedError.new("Not supported")); + } + [$remove](key) { + dart.throw(new core.UnsupportedError.new("Not supported")); + } + [$clear]() { + dart.throw(new core.UnsupportedError.new("Not supported")); + } +}; +dart.addTypeTests(html$.RtcStatsReport); +dart.addTypeCaches(html$.RtcStatsReport); +dart.setMethodSignature(html$.RtcStatsReport, () => ({ + __proto__: dart.getMethods(html$.RtcStatsReport.__proto__), + [S$1._getItem]: dart.fnType(dart.nullable(core.Map), [core.String]), + [$containsValue]: dart.fnType(core.bool, [dart.dynamic]), + [$containsKey]: dart.fnType(core.bool, [dart.dynamic]), + [$_get]: dart.fnType(dart.nullable(core.Map), [dart.dynamic]), + [$_set]: dart.fnType(dart.void, [dart.nullable(core.Object), dart.nullable(core.Object)]), + [$remove]: dart.fnType(core.String, [dart.dynamic]), + [$clear]: dart.fnType(dart.void, []) +})); +dart.setGetterSignature(html$.RtcStatsReport, () => ({ + __proto__: dart.getGetters(html$.RtcStatsReport.__proto__), + [$keys]: core.Iterable$(core.String), + [$values]: core.Iterable$(core.Map) +})); +dart.setLibraryUri(html$.RtcStatsReport, I[148]); +dart.registerExtension("RTCStatsReport", html$.RtcStatsReport); +html$.RtcStatsResponse = class RtcStatsResponse extends _interceptors.Interceptor { + [S$1.$namedItem](...args) { + return this.namedItem.apply(this, args); + } + [S.$result](...args) { + return this.result.apply(this, args); + } +}; +dart.addTypeTests(html$.RtcStatsResponse); +dart.addTypeCaches(html$.RtcStatsResponse); +dart.setMethodSignature(html$.RtcStatsResponse, () => ({ + __proto__: dart.getMethods(html$.RtcStatsResponse.__proto__), + [S$1.$namedItem]: dart.fnType(html$.RtcLegacyStatsReport, [dart.nullable(core.String)]), + [S.$result]: dart.fnType(core.List$(html$.RtcLegacyStatsReport), []) +})); +dart.setLibraryUri(html$.RtcStatsResponse, I[148]); +dart.registerExtension("RTCStatsResponse", html$.RtcStatsResponse); +html$.RtcTrackEvent = class RtcTrackEvent extends html$.Event { + static new(type, eventInitDict) { + if (type == null) dart.nullFailed(I[147], 27251, 32, "type"); + if (eventInitDict == null) dart.nullFailed(I[147], 27251, 42, "eventInitDict"); + let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); + return html$.RtcTrackEvent._create_1(type, eventInitDict_1); + } + static _create_1(type, eventInitDict) { + return new RTCTrackEvent(type, eventInitDict); + } + get [S$2.$receiver]() { + return this.receiver; + } + get [S$2.$streams]() { + return this.streams; + } + get [S$1.$track]() { + return this.track; + } +}; +dart.addTypeTests(html$.RtcTrackEvent); +dart.addTypeCaches(html$.RtcTrackEvent); +dart.setGetterSignature(html$.RtcTrackEvent, () => ({ + __proto__: dart.getGetters(html$.RtcTrackEvent.__proto__), + [S$2.$receiver]: dart.nullable(html$.RtcRtpReceiver), + [S$2.$streams]: dart.nullable(core.List$(html$.MediaStream)), + [S$1.$track]: dart.nullable(html$.MediaStreamTrack) +})); +dart.setLibraryUri(html$.RtcTrackEvent, I[148]); +dart.registerExtension("RTCTrackEvent", html$.RtcTrackEvent); +html$.Screen = class Screen extends _interceptors.Interceptor { + get [S$2.$available]() { + return new (T$0.RectangleOfnum()).new(dart.nullCheck(this[S$2._availLeft]), dart.nullCheck(this[S$2._availTop]), dart.nullCheck(this[S$2._availWidth]), dart.nullCheck(this[S$2._availHeight])); + } + get [S$2._availHeight]() { + return this.availHeight; + } + get [S$2._availLeft]() { + return this.availLeft; + } + get [S$2._availTop]() { + return this.availTop; + } + get [S$2._availWidth]() { + return this.availWidth; + } + get [S$2.$colorDepth]() { + return this.colorDepth; + } + get [$height]() { + return this.height; + } + get [S$2.$keepAwake]() { + return this.keepAwake; + } + set [S$2.$keepAwake](value) { + this.keepAwake = value; + } + get [S$.$orientation]() { + return this.orientation; + } + get [S$2.$pixelDepth]() { + return this.pixelDepth; + } + get [$width]() { + return this.width; + } +}; +dart.addTypeTests(html$.Screen); +dart.addTypeCaches(html$.Screen); +dart.setGetterSignature(html$.Screen, () => ({ + __proto__: dart.getGetters(html$.Screen.__proto__), + [S$2.$available]: math.Rectangle$(core.num), + [S$2._availHeight]: dart.nullable(core.int), + [S$2._availLeft]: dart.nullable(core.int), + [S$2._availTop]: dart.nullable(core.int), + [S$2._availWidth]: dart.nullable(core.int), + [S$2.$colorDepth]: dart.nullable(core.int), + [$height]: dart.nullable(core.int), + [S$2.$keepAwake]: dart.nullable(core.bool), + [S$.$orientation]: dart.nullable(html$.ScreenOrientation), + [S$2.$pixelDepth]: dart.nullable(core.int), + [$width]: dart.nullable(core.int) +})); +dart.setSetterSignature(html$.Screen, () => ({ + __proto__: dart.getSetters(html$.Screen.__proto__), + [S$2.$keepAwake]: dart.nullable(core.bool) +})); +dart.setLibraryUri(html$.Screen, I[148]); +dart.registerExtension("Screen", html$.Screen); +html$.ScreenOrientation = class ScreenOrientation extends html$.EventTarget { + get [S$.$angle]() { + return this.angle; + } + get [S.$type]() { + return this.type; + } + [S$2.$lock](orientation) { + if (orientation == null) dart.nullFailed(I[147], 27321, 22, "orientation"); + return js_util.promiseToFuture(dart.dynamic, this.lock(orientation)); + } + [S$2.$unlock](...args) { + return this.unlock.apply(this, args); + } + get [S.$onChange]() { + return html$.ScreenOrientation.changeEvent.forTarget(this); + } +}; +dart.addTypeTests(html$.ScreenOrientation); +dart.addTypeCaches(html$.ScreenOrientation); +dart.setMethodSignature(html$.ScreenOrientation, () => ({ + __proto__: dart.getMethods(html$.ScreenOrientation.__proto__), + [S$2.$lock]: dart.fnType(async.Future, [core.String]), + [S$2.$unlock]: dart.fnType(dart.void, []) +})); +dart.setGetterSignature(html$.ScreenOrientation, () => ({ + __proto__: dart.getGetters(html$.ScreenOrientation.__proto__), + [S$.$angle]: dart.nullable(core.int), + [S.$type]: dart.nullable(core.String), + [S.$onChange]: async.Stream$(html$.Event) +})); +dart.setLibraryUri(html$.ScreenOrientation, I[148]); +dart.defineLazy(html$.ScreenOrientation, { + /*html$.ScreenOrientation.changeEvent*/get changeEvent() { + return C[236] || CT.C236; + } +}, false); +dart.registerExtension("ScreenOrientation", html$.ScreenOrientation); +html$.ScriptElement = class ScriptElement extends html$.HtmlElement { + static new() { + return html$.document.createElement("script"); + } + get [S$1.$async]() { + return this.async; + } + set [S$1.$async](value) { + this.async = value; + } + get [S$2.$charset]() { + return this.charset; + } + set [S$2.$charset](value) { + this.charset = value; + } + get [S$.$crossOrigin]() { + return this.crossOrigin; + } + set [S$.$crossOrigin](value) { + this.crossOrigin = value; + } + get [S$2.$defer]() { + return this.defer; + } + set [S$2.$defer](value) { + this.defer = value; + } + get [S$1.$integrity]() { + return this.integrity; + } + set [S$1.$integrity](value) { + this.integrity = value; + } + get [S$2.$noModule]() { + return this.noModule; + } + set [S$2.$noModule](value) { + this.noModule = value; + } + get [S$.$src]() { + return this.src; + } + set [S$.$src](value) { + this.src = value; + } + get [S.$type]() { + return this.type; + } + set [S.$type](value) { + this.type = value; + } +}; +(html$.ScriptElement.created = function() { + html$.ScriptElement.__proto__.created.call(this); + ; +}).prototype = html$.ScriptElement.prototype; +dart.addTypeTests(html$.ScriptElement); +dart.addTypeCaches(html$.ScriptElement); +dart.setGetterSignature(html$.ScriptElement, () => ({ + __proto__: dart.getGetters(html$.ScriptElement.__proto__), + [S$1.$async]: dart.nullable(core.bool), + [S$2.$charset]: core.String, + [S$.$crossOrigin]: dart.nullable(core.String), + [S$2.$defer]: dart.nullable(core.bool), + [S$1.$integrity]: dart.nullable(core.String), + [S$2.$noModule]: dart.nullable(core.bool), + [S$.$src]: core.String, + [S.$type]: core.String +})); +dart.setSetterSignature(html$.ScriptElement, () => ({ + __proto__: dart.getSetters(html$.ScriptElement.__proto__), + [S$1.$async]: dart.nullable(core.bool), + [S$2.$charset]: core.String, + [S$.$crossOrigin]: dart.nullable(core.String), + [S$2.$defer]: dart.nullable(core.bool), + [S$1.$integrity]: dart.nullable(core.String), + [S$2.$noModule]: dart.nullable(core.bool), + [S$.$src]: core.String, + [S.$type]: core.String +})); +dart.setLibraryUri(html$.ScriptElement, I[148]); +dart.registerExtension("HTMLScriptElement", html$.ScriptElement); +html$.ScrollState = class ScrollState$ extends _interceptors.Interceptor { + static new(scrollStateInit = null) { + if (scrollStateInit != null) { + let scrollStateInit_1 = html_common.convertDartToNative_Dictionary(scrollStateInit); + return html$.ScrollState._create_1(scrollStateInit_1); + } + return html$.ScrollState._create_2(); + } + static _create_1(scrollStateInit) { + return new ScrollState(scrollStateInit); + } + static _create_2() { + return new ScrollState(); + } + get [S$2.$deltaGranularity]() { + return this.deltaGranularity; + } + get [S$2.$deltaX]() { + return this.deltaX; + } + get [S$2.$deltaY]() { + return this.deltaY; + } + get [S$2.$fromUserInput]() { + return this.fromUserInput; + } + get [S$2.$inInertialPhase]() { + return this.inInertialPhase; + } + get [S$2.$isBeginning]() { + return this.isBeginning; + } + get [S$2.$isDirectManipulation]() { + return this.isDirectManipulation; + } + get [S$2.$isEnding]() { + return this.isEnding; + } + get [S$2.$positionX]() { + return this.positionX; + } + get [S$2.$positionY]() { + return this.positionY; + } + get [S$2.$velocityX]() { + return this.velocityX; + } + get [S$2.$velocityY]() { + return this.velocityY; + } + [S$2.$consumeDelta](...args) { + return this.consumeDelta.apply(this, args); + } + [S$2.$distributeToScrollChainDescendant](...args) { + return this.distributeToScrollChainDescendant.apply(this, args); + } +}; +dart.addTypeTests(html$.ScrollState); +dart.addTypeCaches(html$.ScrollState); +dart.setMethodSignature(html$.ScrollState, () => ({ + __proto__: dart.getMethods(html$.ScrollState.__proto__), + [S$2.$consumeDelta]: dart.fnType(dart.void, [core.num, core.num]), + [S$2.$distributeToScrollChainDescendant]: dart.fnType(dart.void, []) +})); +dart.setGetterSignature(html$.ScrollState, () => ({ + __proto__: dart.getGetters(html$.ScrollState.__proto__), + [S$2.$deltaGranularity]: dart.nullable(core.num), + [S$2.$deltaX]: dart.nullable(core.num), + [S$2.$deltaY]: dart.nullable(core.num), + [S$2.$fromUserInput]: dart.nullable(core.bool), + [S$2.$inInertialPhase]: dart.nullable(core.bool), + [S$2.$isBeginning]: dart.nullable(core.bool), + [S$2.$isDirectManipulation]: dart.nullable(core.bool), + [S$2.$isEnding]: dart.nullable(core.bool), + [S$2.$positionX]: dart.nullable(core.int), + [S$2.$positionY]: dart.nullable(core.int), + [S$2.$velocityX]: dart.nullable(core.num), + [S$2.$velocityY]: dart.nullable(core.num) +})); +dart.setLibraryUri(html$.ScrollState, I[148]); +dart.registerExtension("ScrollState", html$.ScrollState); +html$.ScrollTimeline = class ScrollTimeline$ extends html$.AnimationTimeline { + static new(options = null) { + if (options != null) { + let options_1 = html_common.convertDartToNative_Dictionary(options); + return html$.ScrollTimeline._create_1(options_1); + } + return html$.ScrollTimeline._create_2(); + } + static _create_1(options) { + return new ScrollTimeline(options); + } + static _create_2() { + return new ScrollTimeline(); + } + get [S$.$orientation]() { + return this.orientation; + } + get [S$2.$scrollSource]() { + return this.scrollSource; + } + get [S$2.$timeRange]() { + return this.timeRange; + } +}; +dart.addTypeTests(html$.ScrollTimeline); +dart.addTypeCaches(html$.ScrollTimeline); +dart.setGetterSignature(html$.ScrollTimeline, () => ({ + __proto__: dart.getGetters(html$.ScrollTimeline.__proto__), + [S$.$orientation]: dart.nullable(core.String), + [S$2.$scrollSource]: dart.nullable(html$.Element), + [S$2.$timeRange]: dart.nullable(core.Object) +})); +dart.setLibraryUri(html$.ScrollTimeline, I[148]); +dart.registerExtension("ScrollTimeline", html$.ScrollTimeline); +html$.SecurityPolicyViolationEvent = class SecurityPolicyViolationEvent$ extends html$.Event { + static new(type, eventInitDict = null) { + if (type == null) dart.nullFailed(I[147], 27480, 47, "type"); + if (eventInitDict != null) { + let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); + return html$.SecurityPolicyViolationEvent._create_1(type, eventInitDict_1); + } + return html$.SecurityPolicyViolationEvent._create_2(type); + } + static _create_1(type, eventInitDict) { + return new SecurityPolicyViolationEvent(type, eventInitDict); + } + static _create_2(type) { + return new SecurityPolicyViolationEvent(type); + } + get [S$2.$blockedUri]() { + return this.blockedURI; + } + get [S$2.$columnNumber]() { + return this.columnNumber; + } + get [S$2.$disposition]() { + return this.disposition; + } + get [S$2.$documentUri]() { + return this.documentURI; + } + get [S$2.$effectiveDirective]() { + return this.effectiveDirective; + } + get [S$0.$lineNumber]() { + return this.lineNumber; + } + get [S$2.$originalPolicy]() { + return this.originalPolicy; + } + get [S$1.$referrer]() { + return this.referrer; + } + get [S$2.$sample]() { + return this.sample; + } + get [S$0.$sourceFile]() { + return this.sourceFile; + } + get [S$2.$statusCode]() { + return this.statusCode; + } + get [S$2.$violatedDirective]() { + return this.violatedDirective; + } +}; +dart.addTypeTests(html$.SecurityPolicyViolationEvent); +dart.addTypeCaches(html$.SecurityPolicyViolationEvent); +dart.setGetterSignature(html$.SecurityPolicyViolationEvent, () => ({ + __proto__: dart.getGetters(html$.SecurityPolicyViolationEvent.__proto__), + [S$2.$blockedUri]: dart.nullable(core.String), + [S$2.$columnNumber]: dart.nullable(core.int), + [S$2.$disposition]: dart.nullable(core.String), + [S$2.$documentUri]: dart.nullable(core.String), + [S$2.$effectiveDirective]: dart.nullable(core.String), + [S$0.$lineNumber]: dart.nullable(core.int), + [S$2.$originalPolicy]: dart.nullable(core.String), + [S$1.$referrer]: dart.nullable(core.String), + [S$2.$sample]: dart.nullable(core.String), + [S$0.$sourceFile]: dart.nullable(core.String), + [S$2.$statusCode]: dart.nullable(core.int), + [S$2.$violatedDirective]: dart.nullable(core.String) +})); +dart.setLibraryUri(html$.SecurityPolicyViolationEvent, I[148]); +dart.registerExtension("SecurityPolicyViolationEvent", html$.SecurityPolicyViolationEvent); +html$.SelectElement = class SelectElement extends html$.HtmlElement { + static new() { + return html$.document.createElement("select"); + } + get [S$.$autofocus]() { + return this.autofocus; + } + set [S$.$autofocus](value) { + this.autofocus = value; + } + get [S$.$disabled]() { + return this.disabled; + } + set [S$.$disabled](value) { + this.disabled = value; + } + get [S$.$form]() { + return this.form; + } + get [S$.$labels]() { + return this.labels; + } + get [$length]() { + return this.length; + } + set [$length](value) { + this.length = value; + } + get [S$1.$multiple]() { + return this.multiple; + } + set [S$1.$multiple](value) { + this.multiple = value; + } + get [$name]() { + return this.name; + } + set [$name](value) { + this.name = value; + } + get [S$.$required]() { + return this.required; + } + set [S$.$required](value) { + this.required = value; + } + get [S$2.$selectedIndex]() { + return this.selectedIndex; + } + set [S$2.$selectedIndex](value) { + this.selectedIndex = value; + } + get [S$.$size]() { + return this.size; + } + set [S$.$size](value) { + this.size = value; + } + get [S.$type]() { + return this.type; + } + get [S$.$validationMessage]() { + return this.validationMessage; + } + get [S$.$validity]() { + return this.validity; + } + get [S.$value]() { + return this.value; + } + set [S.$value](value) { + this.value = value; + } + get [S$.$willValidate]() { + return this.willValidate; + } + [S$.__setter__](...args) { + return this.__setter__.apply(this, args); + } + [$add](...args) { + return this.add.apply(this, args); + } + [S$.$checkValidity](...args) { + return this.checkValidity.apply(this, args); + } + [S$.$item](...args) { + return this.item.apply(this, args); + } + [S$1.$namedItem](...args) { + return this.namedItem.apply(this, args); + } + [S$.$reportValidity](...args) { + return this.reportValidity.apply(this, args); + } + [S$.$setCustomValidity](...args) { + return this.setCustomValidity.apply(this, args); + } + get [S$0.$options]() { + let options = this[S.$querySelectorAll](html$.OptionElement, "option"); + return new (T$0.UnmodifiableListViewOfOptionElement()).new(T$0.IterableOfOptionElement().as(dart.dsend(options, 'toList', []))); + } + get [S$2.$selectedOptions]() { + if (dart.nullCheck(this.multiple)) { + let options = this[S$0.$options][$where](dart.fn(o => { + if (o == null) dart.nullFailed(I[147], 27621, 41, "o"); + return o.selected; + }, T$0.OptionElementTobool()))[$toList](); + return new (T$0.UnmodifiableListViewOfOptionElement()).new(options); + } else { + return T$0.JSArrayOfOptionElement().of([this[S$0.$options][$_get](dart.nullCheck(this.selectedIndex))]); + } + } +}; +(html$.SelectElement.created = function() { + html$.SelectElement.__proto__.created.call(this); + ; +}).prototype = html$.SelectElement.prototype; +dart.addTypeTests(html$.SelectElement); +dart.addTypeCaches(html$.SelectElement); +dart.setMethodSignature(html$.SelectElement, () => ({ + __proto__: dart.getMethods(html$.SelectElement.__proto__), + [S$.__setter__]: dart.fnType(dart.void, [core.int, dart.nullable(html$.OptionElement)]), + [$add]: dart.fnType(dart.void, [core.Object, dart.nullable(core.Object)]), + [S$.$checkValidity]: dart.fnType(core.bool, []), + [S$.$item]: dart.fnType(dart.nullable(html$.Element), [core.int]), + [S$1.$namedItem]: dart.fnType(dart.nullable(html$.OptionElement), [core.String]), + [S$.$reportValidity]: dart.fnType(core.bool, []), + [S$.$setCustomValidity]: dart.fnType(dart.void, [core.String]) +})); +dart.setGetterSignature(html$.SelectElement, () => ({ + __proto__: dart.getGetters(html$.SelectElement.__proto__), + [S$.$autofocus]: core.bool, + [S$.$disabled]: core.bool, + [S$.$form]: dart.nullable(html$.FormElement), + [S$.$labels]: dart.nullable(core.List$(html$.Node)), + [$length]: dart.nullable(core.int), + [S$1.$multiple]: dart.nullable(core.bool), + [$name]: dart.nullable(core.String), + [S$.$required]: dart.nullable(core.bool), + [S$2.$selectedIndex]: dart.nullable(core.int), + [S$.$size]: dart.nullable(core.int), + [S.$type]: core.String, + [S$.$validationMessage]: core.String, + [S$.$validity]: html$.ValidityState, + [S.$value]: dart.nullable(core.String), + [S$.$willValidate]: core.bool, + [S$0.$options]: core.List$(html$.OptionElement), + [S$2.$selectedOptions]: core.List$(html$.OptionElement) +})); +dart.setSetterSignature(html$.SelectElement, () => ({ + __proto__: dart.getSetters(html$.SelectElement.__proto__), + [S$.$autofocus]: core.bool, + [S$.$disabled]: core.bool, + [$length]: dart.nullable(core.int), + [S$1.$multiple]: dart.nullable(core.bool), + [$name]: dart.nullable(core.String), + [S$.$required]: dart.nullable(core.bool), + [S$2.$selectedIndex]: dart.nullable(core.int), + [S$.$size]: dart.nullable(core.int), + [S.$value]: dart.nullable(core.String) +})); +dart.setLibraryUri(html$.SelectElement, I[148]); +dart.registerExtension("HTMLSelectElement", html$.SelectElement); +html$.Selection = class Selection extends _interceptors.Interceptor { + get [S$2.$anchorNode]() { + return this.anchorNode; + } + get [S$2.$anchorOffset]() { + return this.anchorOffset; + } + get [S$2.$baseNode]() { + return this.baseNode; + } + get [S$2.$baseOffset]() { + return this.baseOffset; + } + get [S$2.$extentNode]() { + return this.extentNode; + } + get [S$2.$extentOffset]() { + return this.extentOffset; + } + get [S$2.$focusNode]() { + return this.focusNode; + } + get [S$2.$focusOffset]() { + return this.focusOffset; + } + get [S$2.$isCollapsed]() { + return this.isCollapsed; + } + get [S$2.$rangeCount]() { + return this.rangeCount; + } + get [S.$type]() { + return this.type; + } + [S$2.$addRange](...args) { + return this.addRange.apply(this, args); + } + [S$2.$collapse](...args) { + return this.collapse.apply(this, args); + } + [S$2.$collapseToEnd](...args) { + return this.collapseToEnd.apply(this, args); + } + [S$2.$collapseToStart](...args) { + return this.collapseToStart.apply(this, args); + } + [S$2.$containsNode](...args) { + return this.containsNode.apply(this, args); + } + [S$2.$deleteFromDocument](...args) { + return this.deleteFromDocument.apply(this, args); + } + [S$2.$empty](...args) { + return this.empty.apply(this, args); + } + [S$2.$extend](...args) { + return this.extend.apply(this, args); + } + [S$2.$getRangeAt](...args) { + return this.getRangeAt.apply(this, args); + } + [S$2.$modify](...args) { + return this.modify.apply(this, args); + } + [S$2.$removeAllRanges](...args) { + return this.removeAllRanges.apply(this, args); + } + [$removeRange](...args) { + return this.removeRange.apply(this, args); + } + [S$2.$selectAllChildren](...args) { + return this.selectAllChildren.apply(this, args); + } + [S$2.$setBaseAndExtent](...args) { + return this.setBaseAndExtent.apply(this, args); + } + [S$2.$setPosition](...args) { + return this.setPosition.apply(this, args); + } +}; +dart.addTypeTests(html$.Selection); +dart.addTypeCaches(html$.Selection); +dart.setMethodSignature(html$.Selection, () => ({ + __proto__: dart.getMethods(html$.Selection.__proto__), + [S$2.$addRange]: dart.fnType(dart.void, [html$.Range]), + [S$2.$collapse]: dart.fnType(dart.void, [dart.nullable(html$.Node)], [dart.nullable(core.int)]), + [S$2.$collapseToEnd]: dart.fnType(dart.void, []), + [S$2.$collapseToStart]: dart.fnType(dart.void, []), + [S$2.$containsNode]: dart.fnType(core.bool, [html$.Node], [dart.nullable(core.bool)]), + [S$2.$deleteFromDocument]: dart.fnType(dart.void, []), + [S$2.$empty]: dart.fnType(dart.void, []), + [S$2.$extend]: dart.fnType(dart.void, [html$.Node], [dart.nullable(core.int)]), + [S$2.$getRangeAt]: dart.fnType(html$.Range, [core.int]), + [S$2.$modify]: dart.fnType(dart.void, [dart.nullable(core.String), dart.nullable(core.String), dart.nullable(core.String)]), + [S$2.$removeAllRanges]: dart.fnType(dart.void, []), + [$removeRange]: dart.fnType(dart.void, [html$.Range]), + [S$2.$selectAllChildren]: dart.fnType(dart.void, [html$.Node]), + [S$2.$setBaseAndExtent]: dart.fnType(dart.void, [dart.nullable(html$.Node), core.int, dart.nullable(html$.Node), core.int]), + [S$2.$setPosition]: dart.fnType(dart.void, [dart.nullable(html$.Node)], [dart.nullable(core.int)]) +})); +dart.setGetterSignature(html$.Selection, () => ({ + __proto__: dart.getGetters(html$.Selection.__proto__), + [S$2.$anchorNode]: dart.nullable(html$.Node), + [S$2.$anchorOffset]: dart.nullable(core.int), + [S$2.$baseNode]: dart.nullable(html$.Node), + [S$2.$baseOffset]: dart.nullable(core.int), + [S$2.$extentNode]: dart.nullable(html$.Node), + [S$2.$extentOffset]: dart.nullable(core.int), + [S$2.$focusNode]: dart.nullable(html$.Node), + [S$2.$focusOffset]: dart.nullable(core.int), + [S$2.$isCollapsed]: dart.nullable(core.bool), + [S$2.$rangeCount]: dart.nullable(core.int), + [S.$type]: dart.nullable(core.String) +})); +dart.setLibraryUri(html$.Selection, I[148]); +dart.registerExtension("Selection", html$.Selection); +html$.SensorErrorEvent = class SensorErrorEvent$ extends html$.Event { + static new(type, eventInitDict) { + if (type == null) dart.nullFailed(I[147], 27729, 35, "type"); + if (eventInitDict == null) dart.nullFailed(I[147], 27729, 45, "eventInitDict"); + let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); + return html$.SensorErrorEvent._create_1(type, eventInitDict_1); + } + static _create_1(type, eventInitDict) { + return new SensorErrorEvent(type, eventInitDict); + } + get [S.$error]() { + return this.error; + } +}; +dart.addTypeTests(html$.SensorErrorEvent); +dart.addTypeCaches(html$.SensorErrorEvent); +dart.setGetterSignature(html$.SensorErrorEvent, () => ({ + __proto__: dart.getGetters(html$.SensorErrorEvent.__proto__), + [S.$error]: dart.nullable(html$.DomException) +})); +dart.setLibraryUri(html$.SensorErrorEvent, I[148]); +dart.registerExtension("SensorErrorEvent", html$.SensorErrorEvent); +html$.ServiceWorker = class ServiceWorker extends html$.EventTarget { + get [S$2.$scriptUrl]() { + return this.scriptURL; + } + get [S$.$state]() { + return this.state; + } + [S$.$postMessage](message, transfer = null) { + if (transfer != null) { + let message_1 = html_common.convertDartToNative_SerializedScriptValue(message); + this[S$0._postMessage_1](message_1, transfer); + return; + } + let message_1 = html_common.convertDartToNative_SerializedScriptValue(message); + this[S$0._postMessage_2](message_1); + return; + } + [S$0._postMessage_1](...args) { + return this.postMessage.apply(this, args); + } + [S$0._postMessage_2](...args) { + return this.postMessage.apply(this, args); + } + get [S.$onError]() { + return html$.ServiceWorker.errorEvent.forTarget(this); + } +}; +dart.addTypeTests(html$.ServiceWorker); +dart.addTypeCaches(html$.ServiceWorker); +html$.ServiceWorker[dart.implements] = () => [html$.AbstractWorker]; +dart.setMethodSignature(html$.ServiceWorker, () => ({ + __proto__: dart.getMethods(html$.ServiceWorker.__proto__), + [S$.$postMessage]: dart.fnType(dart.void, [dart.dynamic], [dart.nullable(core.List$(core.Object))]), + [S$0._postMessage_1]: dart.fnType(dart.void, [dart.dynamic, dart.nullable(core.List$(core.Object))]), + [S$0._postMessage_2]: dart.fnType(dart.void, [dart.dynamic]) +})); +dart.setGetterSignature(html$.ServiceWorker, () => ({ + __proto__: dart.getGetters(html$.ServiceWorker.__proto__), + [S$2.$scriptUrl]: dart.nullable(core.String), + [S$.$state]: dart.nullable(core.String), + [S.$onError]: async.Stream$(html$.Event) +})); +dart.setLibraryUri(html$.ServiceWorker, I[148]); +dart.defineLazy(html$.ServiceWorker, { + /*html$.ServiceWorker.errorEvent*/get errorEvent() { + return C[216] || CT.C216; + } +}, false); +dart.registerExtension("ServiceWorker", html$.ServiceWorker); +html$.ServiceWorkerContainer = class ServiceWorkerContainer extends html$.EventTarget { + get [S$2.$controller]() { + return this.controller; + } + get [S$.$ready]() { + return js_util.promiseToFuture(html$.ServiceWorkerRegistration, this.ready); + } + [S$2.$getRegistration](documentURL = null) { + return js_util.promiseToFuture(html$.ServiceWorkerRegistration, this.getRegistration(documentURL)); + } + [S$2.$getRegistrations]() { + return js_util.promiseToFuture(core.List, this.getRegistrations()); + } + [S$1.$register](url, options = null) { + if (url == null) dart.nullFailed(I[147], 27805, 53, "url"); + let options_dict = null; + if (options != null) { + options_dict = html_common.convertDartToNative_Dictionary(options); + } + return js_util.promiseToFuture(html$.ServiceWorkerRegistration, this.register(url, options_dict)); + } + get [S$.$onMessage]() { + return html$.ServiceWorkerContainer.messageEvent.forTarget(this); + } +}; +dart.addTypeTests(html$.ServiceWorkerContainer); +dart.addTypeCaches(html$.ServiceWorkerContainer); +dart.setMethodSignature(html$.ServiceWorkerContainer, () => ({ + __proto__: dart.getMethods(html$.ServiceWorkerContainer.__proto__), + [S$2.$getRegistration]: dart.fnType(async.Future$(html$.ServiceWorkerRegistration), [], [dart.nullable(core.String)]), + [S$2.$getRegistrations]: dart.fnType(async.Future$(core.List), []), + [S$1.$register]: dart.fnType(async.Future$(html$.ServiceWorkerRegistration), [core.String], [dart.nullable(core.Map)]) +})); +dart.setGetterSignature(html$.ServiceWorkerContainer, () => ({ + __proto__: dart.getGetters(html$.ServiceWorkerContainer.__proto__), + [S$2.$controller]: dart.nullable(html$.ServiceWorker), + [S$.$ready]: async.Future$(html$.ServiceWorkerRegistration), + [S$.$onMessage]: async.Stream$(html$.MessageEvent) +})); +dart.setLibraryUri(html$.ServiceWorkerContainer, I[148]); +dart.defineLazy(html$.ServiceWorkerContainer, { + /*html$.ServiceWorkerContainer.messageEvent*/get messageEvent() { + return C[312] || CT.C312; + } +}, false); +dart.registerExtension("ServiceWorkerContainer", html$.ServiceWorkerContainer); +html$.ServiceWorkerGlobalScope = class ServiceWorkerGlobalScope extends html$.WorkerGlobalScope { + get [S$2.$clients]() { + return this.clients; + } + get [S$2.$registration]() { + return this.registration; + } + [S$2.$skipWaiting]() { + return js_util.promiseToFuture(dart.dynamic, this.skipWaiting()); + } + get [S$2.$onActivate]() { + return html$.ServiceWorkerGlobalScope.activateEvent.forTarget(this); + } + get [S$2.$onFetch]() { + return html$.ServiceWorkerGlobalScope.fetchEvent.forTarget(this); + } + get [S$2.$onForeignfetch]() { + return html$.ServiceWorkerGlobalScope.foreignfetchEvent.forTarget(this); + } + get [S$2.$onInstall]() { + return html$.ServiceWorkerGlobalScope.installEvent.forTarget(this); + } + get [S$.$onMessage]() { + return html$.ServiceWorkerGlobalScope.messageEvent.forTarget(this); + } + static get instance() { + return html$.ServiceWorkerGlobalScope.as(html$._workerSelf); + } +}; +dart.addTypeTests(html$.ServiceWorkerGlobalScope); +dart.addTypeCaches(html$.ServiceWorkerGlobalScope); +dart.setMethodSignature(html$.ServiceWorkerGlobalScope, () => ({ + __proto__: dart.getMethods(html$.ServiceWorkerGlobalScope.__proto__), + [S$2.$skipWaiting]: dart.fnType(async.Future, []) +})); +dart.setGetterSignature(html$.ServiceWorkerGlobalScope, () => ({ + __proto__: dart.getGetters(html$.ServiceWorkerGlobalScope.__proto__), + [S$2.$clients]: dart.nullable(html$.Clients), + [S$2.$registration]: dart.nullable(html$.ServiceWorkerRegistration), + [S$2.$onActivate]: async.Stream$(html$.Event), + [S$2.$onFetch]: async.Stream$(html$.Event), + [S$2.$onForeignfetch]: async.Stream$(html$.ForeignFetchEvent), + [S$2.$onInstall]: async.Stream$(html$.Event), + [S$.$onMessage]: async.Stream$(html$.MessageEvent) +})); +dart.setLibraryUri(html$.ServiceWorkerGlobalScope, I[148]); +dart.defineLazy(html$.ServiceWorkerGlobalScope, { + /*html$.ServiceWorkerGlobalScope.activateEvent*/get activateEvent() { + return C[362] || CT.C362; + }, + /*html$.ServiceWorkerGlobalScope.fetchEvent*/get fetchEvent() { + return C[363] || CT.C363; + }, + /*html$.ServiceWorkerGlobalScope.foreignfetchEvent*/get foreignfetchEvent() { + return C[364] || CT.C364; + }, + /*html$.ServiceWorkerGlobalScope.installEvent*/get installEvent() { + return C[365] || CT.C365; + }, + /*html$.ServiceWorkerGlobalScope.messageEvent*/get messageEvent() { + return C[312] || CT.C312; + } +}, false); +dart.registerExtension("ServiceWorkerGlobalScope", html$.ServiceWorkerGlobalScope); +html$.ServiceWorkerRegistration = class ServiceWorkerRegistration extends html$.EventTarget { + get [S$1.$active]() { + return this.active; + } + get [S$2.$backgroundFetch]() { + return this.backgroundFetch; + } + get [S$2.$installing]() { + return this.installing; + } + get [S$2.$navigationPreload]() { + return this.navigationPreload; + } + get [S$2.$paymentManager]() { + return this.paymentManager; + } + get [S$2.$pushManager]() { + return this.pushManager; + } + get [S$1.$scope]() { + return this.scope; + } + get [S$2.$sync]() { + return this.sync; + } + get [S$2.$waiting]() { + return this.waiting; + } + [S$2.$getNotifications](filter = null) { + let filter_dict = null; + if (filter != null) { + filter_dict = html_common.convertDartToNative_Dictionary(filter); + } + return js_util.promiseToFuture(core.List, this.getNotifications(filter_dict)); + } + [S$2.$showNotification](title, options = null) { + if (title == null) dart.nullFailed(I[147], 27906, 34, "title"); + let options_dict = null; + if (options != null) { + options_dict = html_common.convertDartToNative_Dictionary(options); + } + return js_util.promiseToFuture(dart.dynamic, this.showNotification(title, options_dict)); + } + [S$2.$unregister]() { + return js_util.promiseToFuture(core.bool, this.unregister()); + } + [$update]() { + return js_util.promiseToFuture(dart.dynamic, this.update()); + } +}; +dart.addTypeTests(html$.ServiceWorkerRegistration); +dart.addTypeCaches(html$.ServiceWorkerRegistration); +dart.setMethodSignature(html$.ServiceWorkerRegistration, () => ({ + __proto__: dart.getMethods(html$.ServiceWorkerRegistration.__proto__), + [S$2.$getNotifications]: dart.fnType(async.Future$(core.List), [], [dart.nullable(core.Map)]), + [S$2.$showNotification]: dart.fnType(async.Future, [core.String], [dart.nullable(core.Map)]), + [S$2.$unregister]: dart.fnType(async.Future$(core.bool), []), + [$update]: dart.fnType(async.Future, []) +})); +dart.setGetterSignature(html$.ServiceWorkerRegistration, () => ({ + __proto__: dart.getGetters(html$.ServiceWorkerRegistration.__proto__), + [S$1.$active]: dart.nullable(html$.ServiceWorker), + [S$2.$backgroundFetch]: dart.nullable(html$.BackgroundFetchManager), + [S$2.$installing]: dart.nullable(html$.ServiceWorker), + [S$2.$navigationPreload]: dart.nullable(html$.NavigationPreloadManager), + [S$2.$paymentManager]: dart.nullable(html$.PaymentManager), + [S$2.$pushManager]: dart.nullable(html$.PushManager), + [S$1.$scope]: dart.nullable(core.String), + [S$2.$sync]: dart.nullable(html$.SyncManager), + [S$2.$waiting]: dart.nullable(html$.ServiceWorker) +})); +dart.setLibraryUri(html$.ServiceWorkerRegistration, I[148]); +dart.registerExtension("ServiceWorkerRegistration", html$.ServiceWorkerRegistration); +html$.ShadowElement = class ShadowElement extends html$.HtmlElement { + static new() { + return html$.ShadowElement.as(html$.document[S.$createElement]("shadow")); + } + static get supported() { + return html$.Element.isTagSupported("shadow"); + } + [S$.$getDistributedNodes](...args) { + return this.getDistributedNodes.apply(this, args); + } +}; +(html$.ShadowElement.created = function() { + html$.ShadowElement.__proto__.created.call(this); + ; +}).prototype = html$.ShadowElement.prototype; +dart.addTypeTests(html$.ShadowElement); +dart.addTypeCaches(html$.ShadowElement); +dart.setMethodSignature(html$.ShadowElement, () => ({ + __proto__: dart.getMethods(html$.ShadowElement.__proto__), + [S$.$getDistributedNodes]: dart.fnType(core.List$(html$.Node), []) +})); +dart.setLibraryUri(html$.ShadowElement, I[148]); +dart.registerExtension("HTMLShadowElement", html$.ShadowElement); +html$.ShadowRoot = class ShadowRoot extends html$.DocumentFragment { + get [S$2.$delegatesFocus]() { + return this.delegatesFocus; + } + get [S$.$host]() { + return this.host; + } + get [S.$innerHtml]() { + return this.innerHTML; + } + set [S.$innerHtml](value) { + this.innerHTML = value; + } + get [S.$mode]() { + return this.mode; + } + get [S$2.$olderShadowRoot]() { + return this.olderShadowRoot; + } + get [S$1.$activeElement]() { + return this.activeElement; + } + get [S$1.$fullscreenElement]() { + return this.fullscreenElement; + } + get [S$1.$pointerLockElement]() { + return this.pointerLockElement; + } + get [S$1.$styleSheets]() { + return this.styleSheets; + } + [S$1.$elementFromPoint](...args) { + return this.elementFromPoint.apply(this, args); + } + [S$1.$elementsFromPoint](...args) { + return this.elementsFromPoint.apply(this, args); + } + [S$1.$getSelection](...args) { + return this.getSelection.apply(this, args); + } + static get supported() { + return !!(Element.prototype.createShadowRoot || Element.prototype.webkitCreateShadowRoot); + } + static _shadowRootDeprecationReport() { + if (!dart.test(html$.ShadowRoot._shadowRootDeprecationReported)) { + html$.window[S$2.$console].warn("ShadowRoot.resetStyleInheritance and ShadowRoot.applyAuthorStyles now deprecated in dart:html.\nPlease remove them from your code.\n"); + html$.ShadowRoot._shadowRootDeprecationReported = true; + } + } + get [S$2.$resetStyleInheritance]() { + html$.ShadowRoot._shadowRootDeprecationReport(); + return false; + } + set [S$2.$resetStyleInheritance](value) { + if (value == null) dart.nullFailed(I[147], 28017, 34, "value"); + html$.ShadowRoot._shadowRootDeprecationReport(); + } + get [S$2.$applyAuthorStyles]() { + html$.ShadowRoot._shadowRootDeprecationReport(); + return false; + } + set [S$2.$applyAuthorStyles](value) { + if (value == null) dart.nullFailed(I[147], 28029, 30, "value"); + html$.ShadowRoot._shadowRootDeprecationReport(); + } +}; +dart.addTypeTests(html$.ShadowRoot); +dart.addTypeCaches(html$.ShadowRoot); +html$.ShadowRoot[dart.implements] = () => [html$.DocumentOrShadowRoot]; +dart.setMethodSignature(html$.ShadowRoot, () => ({ + __proto__: dart.getMethods(html$.ShadowRoot.__proto__), + [S$1.$elementFromPoint]: dart.fnType(dart.nullable(html$.Element), [core.int, core.int]), + [S$1.$elementsFromPoint]: dart.fnType(core.List$(html$.Element), [core.int, core.int]), + [S$1.$getSelection]: dart.fnType(dart.nullable(html$.Selection), []) +})); +dart.setGetterSignature(html$.ShadowRoot, () => ({ + __proto__: dart.getGetters(html$.ShadowRoot.__proto__), + [S$2.$delegatesFocus]: dart.nullable(core.bool), + [S$.$host]: dart.nullable(html$.Element), + [S.$mode]: dart.nullable(core.String), + [S$2.$olderShadowRoot]: dart.nullable(html$.ShadowRoot), + [S$1.$activeElement]: dart.nullable(html$.Element), + [S$1.$fullscreenElement]: dart.nullable(html$.Element), + [S$1.$pointerLockElement]: dart.nullable(html$.Element), + [S$1.$styleSheets]: dart.nullable(core.List$(html$.StyleSheet)), + [S$2.$resetStyleInheritance]: core.bool, + [S$2.$applyAuthorStyles]: core.bool +})); +dart.setSetterSignature(html$.ShadowRoot, () => ({ + __proto__: dart.getSetters(html$.ShadowRoot.__proto__), + [S$2.$resetStyleInheritance]: core.bool, + [S$2.$applyAuthorStyles]: core.bool +})); +dart.setLibraryUri(html$.ShadowRoot, I[148]); +dart.defineLazy(html$.ShadowRoot, { + /*html$.ShadowRoot._shadowRootDeprecationReported*/get _shadowRootDeprecationReported() { + return false; + }, + set _shadowRootDeprecationReported(_) {} +}, false); +dart.registerExtension("ShadowRoot", html$.ShadowRoot); +html$.SharedArrayBuffer = class SharedArrayBuffer extends _interceptors.Interceptor { + get [S$2.$byteLength]() { + return this.byteLength; + } +}; +dart.addTypeTests(html$.SharedArrayBuffer); +dart.addTypeCaches(html$.SharedArrayBuffer); +dart.setGetterSignature(html$.SharedArrayBuffer, () => ({ + __proto__: dart.getGetters(html$.SharedArrayBuffer.__proto__), + [S$2.$byteLength]: dart.nullable(core.int) +})); +dart.setLibraryUri(html$.SharedArrayBuffer, I[148]); +dart.registerExtension("SharedArrayBuffer", html$.SharedArrayBuffer); +html$.SharedWorker = class SharedWorker$ extends html$.EventTarget { + static new(scriptURL, name = null) { + if (scriptURL == null) dart.nullFailed(I[147], 28060, 31, "scriptURL"); + if (name != null) { + return html$.SharedWorker._create_1(scriptURL, name); + } + return html$.SharedWorker._create_2(scriptURL); + } + static _create_1(scriptURL, name) { + return new SharedWorker(scriptURL, name); + } + static _create_2(scriptURL) { + return new SharedWorker(scriptURL); + } + get [S$.$port]() { + return this.port; + } + get [S.$onError]() { + return html$.SharedWorker.errorEvent.forTarget(this); + } +}; +dart.addTypeTests(html$.SharedWorker); +dart.addTypeCaches(html$.SharedWorker); +html$.SharedWorker[dart.implements] = () => [html$.AbstractWorker]; +dart.setGetterSignature(html$.SharedWorker, () => ({ + __proto__: dart.getGetters(html$.SharedWorker.__proto__), + [S$.$port]: dart.nullable(html$.MessagePort), + [S.$onError]: async.Stream$(html$.Event) +})); +dart.setLibraryUri(html$.SharedWorker, I[148]); +dart.defineLazy(html$.SharedWorker, { + /*html$.SharedWorker.errorEvent*/get errorEvent() { + return C[216] || CT.C216; + } +}, false); +dart.registerExtension("SharedWorker", html$.SharedWorker); +html$.SharedWorkerGlobalScope = class SharedWorkerGlobalScope extends html$.WorkerGlobalScope { + get [$name]() { + return this.name; + } + [S.$close](...args) { + return this.close.apply(this, args); + } + [S$0._webkitRequestFileSystem](...args) { + return this.webkitRequestFileSystem.apply(this, args); + } + [S$0.$requestFileSystemSync](...args) { + return this.webkitRequestFileSystemSync.apply(this, args); + } + [S$0.$resolveLocalFileSystemSyncUrl](...args) { + return this.webkitResolveLocalFileSystemSyncURL.apply(this, args); + } + [S$0._webkitResolveLocalFileSystemUrl](...args) { + return this.webkitResolveLocalFileSystemURL.apply(this, args); + } + get [S$2.$onConnect]() { + return html$.SharedWorkerGlobalScope.connectEvent.forTarget(this); + } + static get instance() { + return html$.SharedWorkerGlobalScope.as(html$._workerSelf); + } +}; +dart.addTypeTests(html$.SharedWorkerGlobalScope); +dart.addTypeCaches(html$.SharedWorkerGlobalScope); +dart.setMethodSignature(html$.SharedWorkerGlobalScope, () => ({ + __proto__: dart.getMethods(html$.SharedWorkerGlobalScope.__proto__), + [S.$close]: dart.fnType(dart.void, []), + [S$0._webkitRequestFileSystem]: dart.fnType(dart.void, [core.int, core.int], [dart.nullable(dart.fnType(dart.void, [html$.FileSystem])), dart.nullable(dart.fnType(dart.void, [html$.DomException]))]), + [S$0.$requestFileSystemSync]: dart.fnType(html$._DOMFileSystemSync, [core.int, core.int]), + [S$0.$resolveLocalFileSystemSyncUrl]: dart.fnType(html$._EntrySync, [core.String]), + [S$0._webkitResolveLocalFileSystemUrl]: dart.fnType(dart.void, [core.String, dart.fnType(dart.void, [html$.Entry])], [dart.nullable(dart.fnType(dart.void, [html$.DomException]))]) +})); +dart.setGetterSignature(html$.SharedWorkerGlobalScope, () => ({ + __proto__: dart.getGetters(html$.SharedWorkerGlobalScope.__proto__), + [$name]: dart.nullable(core.String), + [S$2.$onConnect]: async.Stream$(html$.Event) +})); +dart.setLibraryUri(html$.SharedWorkerGlobalScope, I[148]); +dart.defineLazy(html$.SharedWorkerGlobalScope, { + /*html$.SharedWorkerGlobalScope.connectEvent*/get connectEvent() { + return C[366] || CT.C366; + }, + /*html$.SharedWorkerGlobalScope.PERSISTENT*/get PERSISTENT() { + return 1; + }, + /*html$.SharedWorkerGlobalScope.TEMPORARY*/get TEMPORARY() { + return 0; + } +}, false); +dart.registerExtension("SharedWorkerGlobalScope", html$.SharedWorkerGlobalScope); +html$.SlotElement = class SlotElement extends html$.HtmlElement { + get [$name]() { + return this.name; + } + set [$name](value) { + this.name = value; + } + [S$2.$assignedNodes](options = null) { + if (options != null) { + let options_1 = html_common.convertDartToNative_Dictionary(options); + return this[S$2._assignedNodes_1](options_1); + } + return this[S$2._assignedNodes_2](); + } + [S$2._assignedNodes_1](...args) { + return this.assignedNodes.apply(this, args); + } + [S$2._assignedNodes_2](...args) { + return this.assignedNodes.apply(this, args); + } +}; +(html$.SlotElement.created = function() { + html$.SlotElement.__proto__.created.call(this); + ; +}).prototype = html$.SlotElement.prototype; +dart.addTypeTests(html$.SlotElement); +dart.addTypeCaches(html$.SlotElement); +dart.setMethodSignature(html$.SlotElement, () => ({ + __proto__: dart.getMethods(html$.SlotElement.__proto__), + [S$2.$assignedNodes]: dart.fnType(core.List$(html$.Node), [], [dart.nullable(core.Map)]), + [S$2._assignedNodes_1]: dart.fnType(core.List$(html$.Node), [dart.dynamic]), + [S$2._assignedNodes_2]: dart.fnType(core.List$(html$.Node), []) +})); +dart.setGetterSignature(html$.SlotElement, () => ({ + __proto__: dart.getGetters(html$.SlotElement.__proto__), + [$name]: dart.nullable(core.String) +})); +dart.setSetterSignature(html$.SlotElement, () => ({ + __proto__: dart.getSetters(html$.SlotElement.__proto__), + [$name]: dart.nullable(core.String) +})); +dart.setLibraryUri(html$.SlotElement, I[148]); +dart.registerExtension("HTMLSlotElement", html$.SlotElement); +html$.SourceBuffer = class SourceBuffer extends html$.EventTarget { + get [S$2.$appendWindowEnd]() { + return this.appendWindowEnd; + } + set [S$2.$appendWindowEnd](value) { + this.appendWindowEnd = value; + } + get [S$2.$appendWindowStart]() { + return this.appendWindowStart; + } + set [S$2.$appendWindowStart](value) { + this.appendWindowStart = value; + } + get [S$.$audioTracks]() { + return this.audioTracks; + } + get [S$.$buffered]() { + return this.buffered; + } + get [S.$mode]() { + return this.mode; + } + set [S.$mode](value) { + this.mode = value; + } + get [S$2.$timestampOffset]() { + return this.timestampOffset; + } + set [S$2.$timestampOffset](value) { + this.timestampOffset = value; + } + get [S$2.$trackDefaults]() { + return this.trackDefaults; + } + set [S$2.$trackDefaults](value) { + this.trackDefaults = value; + } + get [S$2.$updating]() { + return this.updating; + } + get [S$.$videoTracks]() { + return this.videoTracks; + } + [S.$abort](...args) { + return this.abort.apply(this, args); + } + [S$2.$appendBuffer](...args) { + return this.appendBuffer.apply(this, args); + } + [S$2.$appendTypedData](...args) { + return this.appendBuffer.apply(this, args); + } + [$remove](...args) { + return this.remove.apply(this, args); + } + get [S.$onAbort]() { + return html$.SourceBuffer.abortEvent.forTarget(this); + } + get [S.$onError]() { + return html$.SourceBuffer.errorEvent.forTarget(this); + } +}; +dart.addTypeTests(html$.SourceBuffer); +dart.addTypeCaches(html$.SourceBuffer); +dart.setMethodSignature(html$.SourceBuffer, () => ({ + __proto__: dart.getMethods(html$.SourceBuffer.__proto__), + [S.$abort]: dart.fnType(dart.void, []), + [S$2.$appendBuffer]: dart.fnType(dart.void, [typed_data.ByteBuffer]), + [S$2.$appendTypedData]: dart.fnType(dart.void, [typed_data.TypedData]), + [$remove]: dart.fnType(dart.void, [core.num, core.num]) +})); +dart.setGetterSignature(html$.SourceBuffer, () => ({ + __proto__: dart.getGetters(html$.SourceBuffer.__proto__), + [S$2.$appendWindowEnd]: dart.nullable(core.num), + [S$2.$appendWindowStart]: dart.nullable(core.num), + [S$.$audioTracks]: dart.nullable(web_audio.AudioTrackList), + [S$.$buffered]: dart.nullable(html$.TimeRanges), + [S.$mode]: dart.nullable(core.String), + [S$2.$timestampOffset]: dart.nullable(core.num), + [S$2.$trackDefaults]: dart.nullable(html$.TrackDefaultList), + [S$2.$updating]: dart.nullable(core.bool), + [S$.$videoTracks]: dart.nullable(html$.VideoTrackList), + [S.$onAbort]: async.Stream$(html$.Event), + [S.$onError]: async.Stream$(html$.Event) +})); +dart.setSetterSignature(html$.SourceBuffer, () => ({ + __proto__: dart.getSetters(html$.SourceBuffer.__proto__), + [S$2.$appendWindowEnd]: dart.nullable(core.num), + [S$2.$appendWindowStart]: dart.nullable(core.num), + [S.$mode]: dart.nullable(core.String), + [S$2.$timestampOffset]: dart.nullable(core.num), + [S$2.$trackDefaults]: dart.nullable(html$.TrackDefaultList) +})); +dart.setLibraryUri(html$.SourceBuffer, I[148]); +dart.defineLazy(html$.SourceBuffer, { + /*html$.SourceBuffer.abortEvent*/get abortEvent() { + return C[214] || CT.C214; + }, + /*html$.SourceBuffer.errorEvent*/get errorEvent() { + return C[216] || CT.C216; + } +}, false); +dart.registerExtension("SourceBuffer", html$.SourceBuffer); +const EventTarget_ListMixin$36 = class EventTarget_ListMixin extends html$.EventTarget {}; +(EventTarget_ListMixin$36._created = function() { + EventTarget_ListMixin$36.__proto__._created.call(this); +}).prototype = EventTarget_ListMixin$36.prototype; +dart.applyMixin(EventTarget_ListMixin$36, collection.ListMixin$(html$.SourceBuffer)); +const EventTarget_ImmutableListMixin$36 = class EventTarget_ImmutableListMixin extends EventTarget_ListMixin$36 {}; +(EventTarget_ImmutableListMixin$36._created = function() { + EventTarget_ImmutableListMixin$36.__proto__._created.call(this); +}).prototype = EventTarget_ImmutableListMixin$36.prototype; +dart.applyMixin(EventTarget_ImmutableListMixin$36, html$.ImmutableListMixin$(html$.SourceBuffer)); +html$.SourceBufferList = class SourceBufferList extends EventTarget_ImmutableListMixin$36 { + get [$length]() { + return this.length; + } + [$_get](index) { + if (index == null) dart.nullFailed(I[147], 28242, 32, "index"); + if (index >>> 0 !== index || index >= this[$length]) dart.throw(new core.IndexError.new(index, this)); + return this[index]; + } + [$_set](index, value$) { + let value = value$; + if (index == null) dart.nullFailed(I[147], 28248, 25, "index"); + html$.SourceBuffer.as(value); + if (value == null) dart.nullFailed(I[147], 28248, 45, "value"); + dart.throw(new core.UnsupportedError.new("Cannot assign element of immutable List.")); + return value$; + } + set [$length](value) { + if (value == null) dart.nullFailed(I[147], 28254, 18, "value"); + dart.throw(new core.UnsupportedError.new("Cannot resize immutable List.")); + } + get [$first]() { + if (dart.notNull(this[$length]) > 0) { + return this[0]; + } + dart.throw(new core.StateError.new("No elements")); + } + set [$first](value) { + super[$first] = value; + } + get [$last]() { + let len = this[$length]; + if (dart.notNull(len) > 0) { + return this[dart.notNull(len) - 1]; + } + dart.throw(new core.StateError.new("No elements")); + } + set [$last](value) { + super[$last] = value; + } + get [$single]() { + let len = this[$length]; + if (len === 1) { + return this[0]; + } + if (len === 0) dart.throw(new core.StateError.new("No elements")); + dart.throw(new core.StateError.new("More than one element")); + } + [$elementAt](index) { + if (index == null) dart.nullFailed(I[147], 28282, 30, "index"); + return this[$_get](index); + } + [S$.$item](...args) { + return this.item.apply(this, args); + } +}; +html$.SourceBufferList.prototype[dart.isList] = true; +dart.addTypeTests(html$.SourceBufferList); +dart.addTypeCaches(html$.SourceBufferList); +html$.SourceBufferList[dart.implements] = () => [_js_helper.JavaScriptIndexingBehavior$(html$.SourceBuffer), core.List$(html$.SourceBuffer)]; +dart.setMethodSignature(html$.SourceBufferList, () => ({ + __proto__: dart.getMethods(html$.SourceBufferList.__proto__), + [$_get]: dart.fnType(html$.SourceBuffer, [core.int]), + [$_set]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), + [S$.$item]: dart.fnType(html$.SourceBuffer, [core.int]) +})); +dart.setGetterSignature(html$.SourceBufferList, () => ({ + __proto__: dart.getGetters(html$.SourceBufferList.__proto__), + [$length]: core.int +})); +dart.setSetterSignature(html$.SourceBufferList, () => ({ + __proto__: dart.getSetters(html$.SourceBufferList.__proto__), + [$length]: core.int +})); +dart.setLibraryUri(html$.SourceBufferList, I[148]); +dart.registerExtension("SourceBufferList", html$.SourceBufferList); +html$.SourceElement = class SourceElement extends html$.HtmlElement { + static new() { + return html$.document.createElement("source"); + } + get [S$.$media]() { + return this.media; + } + set [S$.$media](value) { + this.media = value; + } + get [S$1.$sizes]() { + return this.sizes; + } + set [S$1.$sizes](value) { + this.sizes = value; + } + get [S$.$src]() { + return this.src; + } + set [S$.$src](value) { + this.src = value; + } + get [S$1.$srcset]() { + return this.srcset; + } + set [S$1.$srcset](value) { + this.srcset = value; + } + get [S.$type]() { + return this.type; + } + set [S.$type](value) { + this.type = value; + } +}; +(html$.SourceElement.created = function() { + html$.SourceElement.__proto__.created.call(this); + ; +}).prototype = html$.SourceElement.prototype; +dart.addTypeTests(html$.SourceElement); +dart.addTypeCaches(html$.SourceElement); +dart.setGetterSignature(html$.SourceElement, () => ({ + __proto__: dart.getGetters(html$.SourceElement.__proto__), + [S$.$media]: core.String, + [S$1.$sizes]: dart.nullable(core.String), + [S$.$src]: core.String, + [S$1.$srcset]: dart.nullable(core.String), + [S.$type]: core.String +})); +dart.setSetterSignature(html$.SourceElement, () => ({ + __proto__: dart.getSetters(html$.SourceElement.__proto__), + [S$.$media]: core.String, + [S$1.$sizes]: dart.nullable(core.String), + [S$.$src]: core.String, + [S$1.$srcset]: dart.nullable(core.String), + [S.$type]: core.String +})); +dart.setLibraryUri(html$.SourceElement, I[148]); +dart.registerExtension("HTMLSourceElement", html$.SourceElement); +html$.SpanElement = class SpanElement extends html$.HtmlElement { + static new() { + return html$.document.createElement("span"); + } +}; +(html$.SpanElement.created = function() { + html$.SpanElement.__proto__.created.call(this); + ; +}).prototype = html$.SpanElement.prototype; +dart.addTypeTests(html$.SpanElement); +dart.addTypeCaches(html$.SpanElement); +dart.setLibraryUri(html$.SpanElement, I[148]); +dart.registerExtension("HTMLSpanElement", html$.SpanElement); +html$.SpeechGrammar = class SpeechGrammar$ extends _interceptors.Interceptor { + static new() { + return html$.SpeechGrammar._create_1(); + } + static _create_1() { + return new SpeechGrammar(); + } + get [S$.$src]() { + return this.src; + } + set [S$.$src](value) { + this.src = value; + } + get [S$1.$weight]() { + return this.weight; + } + set [S$1.$weight](value) { + this.weight = value; + } +}; +dart.addTypeTests(html$.SpeechGrammar); +dart.addTypeCaches(html$.SpeechGrammar); +dart.setGetterSignature(html$.SpeechGrammar, () => ({ + __proto__: dart.getGetters(html$.SpeechGrammar.__proto__), + [S$.$src]: dart.nullable(core.String), + [S$1.$weight]: dart.nullable(core.num) +})); +dart.setSetterSignature(html$.SpeechGrammar, () => ({ + __proto__: dart.getSetters(html$.SpeechGrammar.__proto__), + [S$.$src]: dart.nullable(core.String), + [S$1.$weight]: dart.nullable(core.num) +})); +dart.setLibraryUri(html$.SpeechGrammar, I[148]); +dart.registerExtension("SpeechGrammar", html$.SpeechGrammar); +const Interceptor_ListMixin$36$5 = class Interceptor_ListMixin extends _interceptors.Interceptor {}; +(Interceptor_ListMixin$36$5.new = function() { + Interceptor_ListMixin$36$5.__proto__.new.call(this); +}).prototype = Interceptor_ListMixin$36$5.prototype; +dart.applyMixin(Interceptor_ListMixin$36$5, collection.ListMixin$(html$.SpeechGrammar)); +const Interceptor_ImmutableListMixin$36$5 = class Interceptor_ImmutableListMixin extends Interceptor_ListMixin$36$5 {}; +(Interceptor_ImmutableListMixin$36$5.new = function() { + Interceptor_ImmutableListMixin$36$5.__proto__.new.call(this); +}).prototype = Interceptor_ImmutableListMixin$36$5.prototype; +dart.applyMixin(Interceptor_ImmutableListMixin$36$5, html$.ImmutableListMixin$(html$.SpeechGrammar)); +html$.SpeechGrammarList = class SpeechGrammarList$ extends Interceptor_ImmutableListMixin$36$5 { + static new() { + return html$.SpeechGrammarList._create_1(); + } + static _create_1() { + return new SpeechGrammarList(); + } + get [$length]() { + return this.length; + } + [$_get](index) { + if (index == null) dart.nullFailed(I[147], 28399, 33, "index"); + if (index >>> 0 !== index || index >= this[$length]) dart.throw(new core.IndexError.new(index, this)); + return this[index]; + } + [$_set](index, value$) { + let value = value$; + if (index == null) dart.nullFailed(I[147], 28405, 25, "index"); + html$.SpeechGrammar.as(value); + if (value == null) dart.nullFailed(I[147], 28405, 46, "value"); + dart.throw(new core.UnsupportedError.new("Cannot assign element of immutable List.")); + return value$; + } + set [$length](value) { + if (value == null) dart.nullFailed(I[147], 28411, 18, "value"); + dart.throw(new core.UnsupportedError.new("Cannot resize immutable List.")); + } + get [$first]() { + if (dart.notNull(this[$length]) > 0) { + return this[0]; + } + dart.throw(new core.StateError.new("No elements")); + } + set [$first](value) { + super[$first] = value; + } + get [$last]() { + let len = this[$length]; + if (dart.notNull(len) > 0) { + return this[dart.notNull(len) - 1]; + } + dart.throw(new core.StateError.new("No elements")); + } + set [$last](value) { + super[$last] = value; + } + get [$single]() { + let len = this[$length]; + if (len === 1) { + return this[0]; + } + if (len === 0) dart.throw(new core.StateError.new("No elements")); + dart.throw(new core.StateError.new("More than one element")); + } + [$elementAt](index) { + if (index == null) dart.nullFailed(I[147], 28439, 31, "index"); + return this[$_get](index); + } + [S$2.$addFromString](...args) { + return this.addFromString.apply(this, args); + } + [S$2.$addFromUri](...args) { + return this.addFromUri.apply(this, args); + } + [S$.$item](...args) { + return this.item.apply(this, args); + } +}; +html$.SpeechGrammarList.prototype[dart.isList] = true; +dart.addTypeTests(html$.SpeechGrammarList); +dart.addTypeCaches(html$.SpeechGrammarList); +html$.SpeechGrammarList[dart.implements] = () => [_js_helper.JavaScriptIndexingBehavior$(html$.SpeechGrammar), core.List$(html$.SpeechGrammar)]; +dart.setMethodSignature(html$.SpeechGrammarList, () => ({ + __proto__: dart.getMethods(html$.SpeechGrammarList.__proto__), + [$_get]: dart.fnType(html$.SpeechGrammar, [core.int]), + [$_set]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), + [S$2.$addFromString]: dart.fnType(dart.void, [core.String], [dart.nullable(core.num)]), + [S$2.$addFromUri]: dart.fnType(dart.void, [core.String], [dart.nullable(core.num)]), + [S$.$item]: dart.fnType(html$.SpeechGrammar, [core.int]) +})); +dart.setGetterSignature(html$.SpeechGrammarList, () => ({ + __proto__: dart.getGetters(html$.SpeechGrammarList.__proto__), + [$length]: core.int +})); +dart.setSetterSignature(html$.SpeechGrammarList, () => ({ + __proto__: dart.getSetters(html$.SpeechGrammarList.__proto__), + [$length]: core.int +})); +dart.setLibraryUri(html$.SpeechGrammarList, I[148]); +dart.registerExtension("SpeechGrammarList", html$.SpeechGrammarList); +html$.SpeechRecognition = class SpeechRecognition extends html$.EventTarget { + static get supported() { + return !!(window.SpeechRecognition || window.webkitSpeechRecognition); + } + get [S$2.$audioTrack]() { + return this.audioTrack; + } + set [S$2.$audioTrack](value) { + this.audioTrack = value; + } + get [S$2.$continuous]() { + return this.continuous; + } + set [S$2.$continuous](value) { + this.continuous = value; + } + get [S$2.$grammars]() { + return this.grammars; + } + set [S$2.$grammars](value) { + this.grammars = value; + } + get [S$2.$interimResults]() { + return this.interimResults; + } + set [S$2.$interimResults](value) { + this.interimResults = value; + } + get [S.$lang]() { + return this.lang; + } + set [S.$lang](value) { + this.lang = value; + } + get [S$2.$maxAlternatives]() { + return this.maxAlternatives; + } + set [S$2.$maxAlternatives](value) { + this.maxAlternatives = value; + } + [S.$abort](...args) { + return this.abort.apply(this, args); + } + [S$.$start](...args) { + return this.start.apply(this, args); + } + [S$.$stop](...args) { + return this.stop.apply(this, args); + } + get [S$2.$onAudioEnd]() { + return html$.SpeechRecognition.audioEndEvent.forTarget(this); + } + get [S$2.$onAudioStart]() { + return html$.SpeechRecognition.audioStartEvent.forTarget(this); + } + get [S$2.$onEnd]() { + return html$.SpeechRecognition.endEvent.forTarget(this); + } + get [S.$onError]() { + return html$.SpeechRecognition.errorEvent.forTarget(this); + } + get [S$2.$onNoMatch]() { + return html$.SpeechRecognition.noMatchEvent.forTarget(this); + } + get [S$2.$onResult]() { + return html$.SpeechRecognition.resultEvent.forTarget(this); + } + get [S$2.$onSoundEnd]() { + return html$.SpeechRecognition.soundEndEvent.forTarget(this); + } + get [S$2.$onSoundStart]() { + return html$.SpeechRecognition.soundStartEvent.forTarget(this); + } + get [S$2.$onSpeechEnd]() { + return html$.SpeechRecognition.speechEndEvent.forTarget(this); + } + get [S$2.$onSpeechStart]() { + return html$.SpeechRecognition.speechStartEvent.forTarget(this); + } + get [S$2.$onStart]() { + return html$.SpeechRecognition.startEvent.forTarget(this); + } + static new() { + return new (window.SpeechRecognition || window.webkitSpeechRecognition)(); + } +}; +dart.addTypeTests(html$.SpeechRecognition); +dart.addTypeCaches(html$.SpeechRecognition); +dart.setMethodSignature(html$.SpeechRecognition, () => ({ + __proto__: dart.getMethods(html$.SpeechRecognition.__proto__), + [S.$abort]: dart.fnType(dart.void, []), + [S$.$start]: dart.fnType(dart.void, []), + [S$.$stop]: dart.fnType(dart.void, []) +})); +dart.setGetterSignature(html$.SpeechRecognition, () => ({ + __proto__: dart.getGetters(html$.SpeechRecognition.__proto__), + [S$2.$audioTrack]: dart.nullable(html$.MediaStreamTrack), + [S$2.$continuous]: dart.nullable(core.bool), + [S$2.$grammars]: dart.nullable(html$.SpeechGrammarList), + [S$2.$interimResults]: dart.nullable(core.bool), + [S.$lang]: dart.nullable(core.String), + [S$2.$maxAlternatives]: dart.nullable(core.int), + [S$2.$onAudioEnd]: async.Stream$(html$.Event), + [S$2.$onAudioStart]: async.Stream$(html$.Event), + [S$2.$onEnd]: async.Stream$(html$.Event), + [S.$onError]: async.Stream$(html$.SpeechRecognitionError), + [S$2.$onNoMatch]: async.Stream$(html$.SpeechRecognitionEvent), + [S$2.$onResult]: async.Stream$(html$.SpeechRecognitionEvent), + [S$2.$onSoundEnd]: async.Stream$(html$.Event), + [S$2.$onSoundStart]: async.Stream$(html$.Event), + [S$2.$onSpeechEnd]: async.Stream$(html$.Event), + [S$2.$onSpeechStart]: async.Stream$(html$.Event), + [S$2.$onStart]: async.Stream$(html$.Event) +})); +dart.setSetterSignature(html$.SpeechRecognition, () => ({ + __proto__: dart.getSetters(html$.SpeechRecognition.__proto__), + [S$2.$audioTrack]: dart.nullable(html$.MediaStreamTrack), + [S$2.$continuous]: dart.nullable(core.bool), + [S$2.$grammars]: dart.nullable(html$.SpeechGrammarList), + [S$2.$interimResults]: dart.nullable(core.bool), + [S.$lang]: dart.nullable(core.String), + [S$2.$maxAlternatives]: dart.nullable(core.int) +})); +dart.setLibraryUri(html$.SpeechRecognition, I[148]); +dart.defineLazy(html$.SpeechRecognition, { + /*html$.SpeechRecognition.audioEndEvent*/get audioEndEvent() { + return C[367] || CT.C367; + }, + /*html$.SpeechRecognition.audioStartEvent*/get audioStartEvent() { + return C[368] || CT.C368; + }, + /*html$.SpeechRecognition.endEvent*/get endEvent() { + return C[369] || CT.C369; + }, + /*html$.SpeechRecognition.errorEvent*/get errorEvent() { + return C[370] || CT.C370; + }, + /*html$.SpeechRecognition.noMatchEvent*/get noMatchEvent() { + return C[371] || CT.C371; + }, + /*html$.SpeechRecognition.resultEvent*/get resultEvent() { + return C[372] || CT.C372; + }, + /*html$.SpeechRecognition.soundEndEvent*/get soundEndEvent() { + return C[373] || CT.C373; + }, + /*html$.SpeechRecognition.soundStartEvent*/get soundStartEvent() { + return C[374] || CT.C374; + }, + /*html$.SpeechRecognition.speechEndEvent*/get speechEndEvent() { + return C[375] || CT.C375; + }, + /*html$.SpeechRecognition.speechStartEvent*/get speechStartEvent() { + return C[376] || CT.C376; + }, + /*html$.SpeechRecognition.startEvent*/get startEvent() { + return C[377] || CT.C377; + } +}, false); +dart.registerExtension("SpeechRecognition", html$.SpeechRecognition); +html$.SpeechRecognitionAlternative = class SpeechRecognitionAlternative extends _interceptors.Interceptor { + get [S$2.$confidence]() { + return this.confidence; + } + get [S$2.$transcript]() { + return this.transcript; + } +}; +dart.addTypeTests(html$.SpeechRecognitionAlternative); +dart.addTypeCaches(html$.SpeechRecognitionAlternative); +dart.setGetterSignature(html$.SpeechRecognitionAlternative, () => ({ + __proto__: dart.getGetters(html$.SpeechRecognitionAlternative.__proto__), + [S$2.$confidence]: dart.nullable(core.num), + [S$2.$transcript]: dart.nullable(core.String) +})); +dart.setLibraryUri(html$.SpeechRecognitionAlternative, I[148]); +dart.registerExtension("SpeechRecognitionAlternative", html$.SpeechRecognitionAlternative); +html$.SpeechRecognitionError = class SpeechRecognitionError$ extends html$.Event { + static new(type, initDict = null) { + if (type == null) dart.nullFailed(I[147], 28659, 41, "type"); + if (initDict != null) { + let initDict_1 = html_common.convertDartToNative_Dictionary(initDict); + return html$.SpeechRecognitionError._create_1(type, initDict_1); + } + return html$.SpeechRecognitionError._create_2(type); + } + static _create_1(type, initDict) { + return new SpeechRecognitionError(type, initDict); + } + static _create_2(type) { + return new SpeechRecognitionError(type); + } + get [S.$error]() { + return this.error; + } + get [$message]() { + return this.message; + } +}; +dart.addTypeTests(html$.SpeechRecognitionError); +dart.addTypeCaches(html$.SpeechRecognitionError); +dart.setGetterSignature(html$.SpeechRecognitionError, () => ({ + __proto__: dart.getGetters(html$.SpeechRecognitionError.__proto__), + [S.$error]: dart.nullable(core.String), + [$message]: dart.nullable(core.String) +})); +dart.setLibraryUri(html$.SpeechRecognitionError, I[148]); +dart.registerExtension("SpeechRecognitionError", html$.SpeechRecognitionError); +html$.SpeechRecognitionEvent = class SpeechRecognitionEvent$ extends html$.Event { + static new(type, initDict = null) { + if (type == null) dart.nullFailed(I[147], 28690, 41, "type"); + if (initDict != null) { + let initDict_1 = html_common.convertDartToNative_Dictionary(initDict); + return html$.SpeechRecognitionEvent._create_1(type, initDict_1); + } + return html$.SpeechRecognitionEvent._create_2(type); + } + static _create_1(type, initDict) { + return new SpeechRecognitionEvent(type, initDict); + } + static _create_2(type) { + return new SpeechRecognitionEvent(type); + } + get [S$2.$emma]() { + return this.emma; + } + get [S$2.$interpretation]() { + return this.interpretation; + } + get [S$2.$resultIndex]() { + return this.resultIndex; + } + get [S$2.$results]() { + return this.results; + } +}; +dart.addTypeTests(html$.SpeechRecognitionEvent); +dart.addTypeCaches(html$.SpeechRecognitionEvent); +dart.setGetterSignature(html$.SpeechRecognitionEvent, () => ({ + __proto__: dart.getGetters(html$.SpeechRecognitionEvent.__proto__), + [S$2.$emma]: dart.nullable(html$.Document), + [S$2.$interpretation]: dart.nullable(html$.Document), + [S$2.$resultIndex]: dart.nullable(core.int), + [S$2.$results]: dart.nullable(core.List$(html$.SpeechRecognitionResult)) +})); +dart.setLibraryUri(html$.SpeechRecognitionEvent, I[148]); +dart.registerExtension("SpeechRecognitionEvent", html$.SpeechRecognitionEvent); +html$.SpeechRecognitionResult = class SpeechRecognitionResult extends _interceptors.Interceptor { + get [S$2.$isFinal]() { + return this.isFinal; + } + get [$length]() { + return this.length; + } + [S$.$item](...args) { + return this.item.apply(this, args); + } +}; +dart.addTypeTests(html$.SpeechRecognitionResult); +dart.addTypeCaches(html$.SpeechRecognitionResult); +dart.setMethodSignature(html$.SpeechRecognitionResult, () => ({ + __proto__: dart.getMethods(html$.SpeechRecognitionResult.__proto__), + [S$.$item]: dart.fnType(html$.SpeechRecognitionAlternative, [core.int]) +})); +dart.setGetterSignature(html$.SpeechRecognitionResult, () => ({ + __proto__: dart.getGetters(html$.SpeechRecognitionResult.__proto__), + [S$2.$isFinal]: dart.nullable(core.bool), + [$length]: dart.nullable(core.int) +})); +dart.setLibraryUri(html$.SpeechRecognitionResult, I[148]); +dart.registerExtension("SpeechRecognitionResult", html$.SpeechRecognitionResult); +html$.SpeechSynthesis = class SpeechSynthesis extends html$.EventTarget { + [S$2.$getVoices]() { + let voices = this[S$2._getVoices](); + if (dart.notNull(voices[$length]) > 0) _js_helper.applyExtension("SpeechSynthesisVoice", voices[$_get](0)); + return voices; + } + get [S$.$paused]() { + return this.paused; + } + get [S$2.$pending]() { + return this.pending; + } + get [S$2.$speaking]() { + return this.speaking; + } + [S$.$cancel](...args) { + return this.cancel.apply(this, args); + } + [S$2._getVoices](...args) { + return this.getVoices.apply(this, args); + } + [S$.$pause](...args) { + return this.pause.apply(this, args); + } + [S$1.$resume](...args) { + return this.resume.apply(this, args); + } + [S$0.$speak](...args) { + return this.speak.apply(this, args); + } +}; +dart.addTypeTests(html$.SpeechSynthesis); +dart.addTypeCaches(html$.SpeechSynthesis); +dart.setMethodSignature(html$.SpeechSynthesis, () => ({ + __proto__: dart.getMethods(html$.SpeechSynthesis.__proto__), + [S$2.$getVoices]: dart.fnType(core.List$(html$.SpeechSynthesisVoice), []), + [S$.$cancel]: dart.fnType(dart.void, []), + [S$2._getVoices]: dart.fnType(core.List$(html$.SpeechSynthesisVoice), []), + [S$.$pause]: dart.fnType(dart.void, []), + [S$1.$resume]: dart.fnType(dart.void, []), + [S$0.$speak]: dart.fnType(dart.void, [html$.SpeechSynthesisUtterance]) +})); +dart.setGetterSignature(html$.SpeechSynthesis, () => ({ + __proto__: dart.getGetters(html$.SpeechSynthesis.__proto__), + [S$.$paused]: dart.nullable(core.bool), + [S$2.$pending]: dart.nullable(core.bool), + [S$2.$speaking]: dart.nullable(core.bool) +})); +dart.setLibraryUri(html$.SpeechSynthesis, I[148]); +dart.registerExtension("SpeechSynthesis", html$.SpeechSynthesis); +html$.SpeechSynthesisEvent = class SpeechSynthesisEvent extends html$.Event { + get [S$2.$charIndex]() { + return this.charIndex; + } + get [S$.$elapsedTime]() { + return this.elapsedTime; + } + get [$name]() { + return this.name; + } + get [S$2.$utterance]() { + return this.utterance; + } +}; +dart.addTypeTests(html$.SpeechSynthesisEvent); +dart.addTypeCaches(html$.SpeechSynthesisEvent); +dart.setGetterSignature(html$.SpeechSynthesisEvent, () => ({ + __proto__: dart.getGetters(html$.SpeechSynthesisEvent.__proto__), + [S$2.$charIndex]: dart.nullable(core.int), + [S$.$elapsedTime]: dart.nullable(core.num), + [$name]: dart.nullable(core.String), + [S$2.$utterance]: dart.nullable(html$.SpeechSynthesisUtterance) +})); +dart.setLibraryUri(html$.SpeechSynthesisEvent, I[148]); +dart.registerExtension("SpeechSynthesisEvent", html$.SpeechSynthesisEvent); +html$.SpeechSynthesisUtterance = class SpeechSynthesisUtterance$ extends html$.EventTarget { + static new(text = null) { + if (text != null) { + return html$.SpeechSynthesisUtterance._create_1(text); + } + return html$.SpeechSynthesisUtterance._create_2(); + } + static _create_1(text) { + return new SpeechSynthesisUtterance(text); + } + static _create_2() { + return new SpeechSynthesisUtterance(); + } + get [S.$lang]() { + return this.lang; + } + set [S.$lang](value) { + this.lang = value; + } + get [S$2.$pitch]() { + return this.pitch; + } + set [S$2.$pitch](value) { + this.pitch = value; + } + get [S$2.$rate]() { + return this.rate; + } + set [S$2.$rate](value) { + this.rate = value; + } + get [S.$text]() { + return this.text; + } + set [S.$text](value) { + this.text = value; + } + get [S$2.$voice]() { + return this.voice; + } + set [S$2.$voice](value) { + this.voice = value; + } + get [S$.$volume]() { + return this.volume; + } + set [S$.$volume](value) { + this.volume = value; + } + get [S$2.$onBoundary]() { + return html$.SpeechSynthesisUtterance.boundaryEvent.forTarget(this); + } + get [S$2.$onEnd]() { + return html$.SpeechSynthesisUtterance.endEvent.forTarget(this); + } + get [S.$onError]() { + return html$.SpeechSynthesisUtterance.errorEvent.forTarget(this); + } + get [S$2.$onMark]() { + return html$.SpeechSynthesisUtterance.markEvent.forTarget(this); + } + get [S.$onPause]() { + return html$.SpeechSynthesisUtterance.pauseEvent.forTarget(this); + } + get [S$2.$onResume]() { + return html$.SpeechSynthesisUtterance.resumeEvent.forTarget(this); + } + get [S$2.$onStart]() { + return html$.SpeechSynthesisUtterance.startEvent.forTarget(this); + } +}; +dart.addTypeTests(html$.SpeechSynthesisUtterance); +dart.addTypeCaches(html$.SpeechSynthesisUtterance); +dart.setGetterSignature(html$.SpeechSynthesisUtterance, () => ({ + __proto__: dart.getGetters(html$.SpeechSynthesisUtterance.__proto__), + [S.$lang]: dart.nullable(core.String), + [S$2.$pitch]: dart.nullable(core.num), + [S$2.$rate]: dart.nullable(core.num), + [S.$text]: dart.nullable(core.String), + [S$2.$voice]: dart.nullable(html$.SpeechSynthesisVoice), + [S$.$volume]: dart.nullable(core.num), + [S$2.$onBoundary]: async.Stream$(html$.SpeechSynthesisEvent), + [S$2.$onEnd]: async.Stream$(html$.SpeechSynthesisEvent), + [S.$onError]: async.Stream$(html$.Event), + [S$2.$onMark]: async.Stream$(html$.SpeechSynthesisEvent), + [S.$onPause]: async.Stream$(html$.Event), + [S$2.$onResume]: async.Stream$(html$.SpeechSynthesisEvent), + [S$2.$onStart]: async.Stream$(html$.SpeechSynthesisEvent) +})); +dart.setSetterSignature(html$.SpeechSynthesisUtterance, () => ({ + __proto__: dart.getSetters(html$.SpeechSynthesisUtterance.__proto__), + [S.$lang]: dart.nullable(core.String), + [S$2.$pitch]: dart.nullable(core.num), + [S$2.$rate]: dart.nullable(core.num), + [S.$text]: dart.nullable(core.String), + [S$2.$voice]: dart.nullable(html$.SpeechSynthesisVoice), + [S$.$volume]: dart.nullable(core.num) +})); +dart.setLibraryUri(html$.SpeechSynthesisUtterance, I[148]); +dart.defineLazy(html$.SpeechSynthesisUtterance, { + /*html$.SpeechSynthesisUtterance.boundaryEvent*/get boundaryEvent() { + return C[378] || CT.C378; + }, + /*html$.SpeechSynthesisUtterance.endEvent*/get endEvent() { + return C[379] || CT.C379; + }, + /*html$.SpeechSynthesisUtterance.errorEvent*/get errorEvent() { + return C[216] || CT.C216; + }, + /*html$.SpeechSynthesisUtterance.markEvent*/get markEvent() { + return C[380] || CT.C380; + }, + /*html$.SpeechSynthesisUtterance.pauseEvent*/get pauseEvent() { + return C[269] || CT.C269; + }, + /*html$.SpeechSynthesisUtterance.resumeEvent*/get resumeEvent() { + return C[381] || CT.C381; + }, + /*html$.SpeechSynthesisUtterance.startEvent*/get startEvent() { + return C[382] || CT.C382; + } +}, false); +dart.registerExtension("SpeechSynthesisUtterance", html$.SpeechSynthesisUtterance); +html$.SpeechSynthesisVoice = class SpeechSynthesisVoice extends _interceptors.Interceptor { + get [S$1.$defaultValue]() { + return this.default; + } + get [S.$lang]() { + return this.lang; + } + get [S$2.$localService]() { + return this.localService; + } + get [$name]() { + return this.name; + } + get [S$2.$voiceUri]() { + return this.voiceURI; + } +}; +dart.addTypeTests(html$.SpeechSynthesisVoice); +dart.addTypeCaches(html$.SpeechSynthesisVoice); +dart.setGetterSignature(html$.SpeechSynthesisVoice, () => ({ + __proto__: dart.getGetters(html$.SpeechSynthesisVoice.__proto__), + [S$1.$defaultValue]: dart.nullable(core.bool), + [S.$lang]: dart.nullable(core.String), + [S$2.$localService]: dart.nullable(core.bool), + [$name]: dart.nullable(core.String), + [S$2.$voiceUri]: dart.nullable(core.String) +})); +dart.setLibraryUri(html$.SpeechSynthesisVoice, I[148]); +dart.registerExtension("SpeechSynthesisVoice", html$.SpeechSynthesisVoice); +html$.StaticRange = class StaticRange extends _interceptors.Interceptor { + get [S$2.$collapsed]() { + return this.collapsed; + } + get [S$2.$endContainer]() { + return this.endContainer; + } + get [S$2.$endOffset]() { + return this.endOffset; + } + get [S$2.$startContainer]() { + return this.startContainer; + } + get [S$2.$startOffset]() { + return this.startOffset; + } +}; +dart.addTypeTests(html$.StaticRange); +dart.addTypeCaches(html$.StaticRange); +dart.setGetterSignature(html$.StaticRange, () => ({ + __proto__: dart.getGetters(html$.StaticRange.__proto__), + [S$2.$collapsed]: dart.nullable(core.bool), + [S$2.$endContainer]: dart.nullable(html$.Node), + [S$2.$endOffset]: dart.nullable(core.int), + [S$2.$startContainer]: dart.nullable(html$.Node), + [S$2.$startOffset]: dart.nullable(core.int) +})); +dart.setLibraryUri(html$.StaticRange, I[148]); +dart.registerExtension("StaticRange", html$.StaticRange); +const Interceptor_MapMixin$36$1 = class Interceptor_MapMixin extends _interceptors.Interceptor {}; +(Interceptor_MapMixin$36$1.new = function() { + Interceptor_MapMixin$36$1.__proto__.new.call(this); +}).prototype = Interceptor_MapMixin$36$1.prototype; +dart.applyMixin(Interceptor_MapMixin$36$1, collection.MapMixin$(core.String, core.String)); +html$.Storage = class Storage extends Interceptor_MapMixin$36$1 { + [$addAll](other) { + T$0.MapOfString$String().as(other); + if (other == null) dart.nullFailed(I[147], 28987, 35, "other"); + other[$forEach](dart.fn((k, v) => { + if (k == null) dart.nullFailed(I[147], 28988, 20, "k"); + if (v == null) dart.nullFailed(I[147], 28988, 23, "v"); + this[$_set](k, v); + }, T$0.StringAndStringTovoid())); + } + [$containsValue](value) { + return this[$values][$any](dart.fn(e => { + if (e == null) dart.nullFailed(I[147], 28994, 52, "e"); + return core.identical(e, value); + }, T$.StringTobool())); + } + [$containsKey](key) { + return this[S$1._getItem](core.String.as(key)) != null; + } + [$_get](key) { + return this[S$1._getItem](core.String.as(key)); + } + [$_set](key, value$) { + let value = value$; + core.String.as(key); + if (key == null) dart.nullFailed(I[147], 29000, 28, "key"); + core.String.as(value); + if (value == null) dart.nullFailed(I[147], 29000, 40, "value"); + this[S$2._setItem](key, value); + return value$; + } + [$putIfAbsent](key, ifAbsent) { + core.String.as(key); + if (key == null) dart.nullFailed(I[147], 29004, 29, "key"); + T$.VoidToString().as(ifAbsent); + if (ifAbsent == null) dart.nullFailed(I[147], 29004, 41, "ifAbsent"); + if (!dart.test(this[$containsKey](key))) this[$_set](key, ifAbsent()); + return dart.nullCast(this[$_get](key), core.String); + } + [$remove](key) { + let value = this[$_get](key); + this[S$2._removeItem](core.String.as(key)); + return value; + } + [$clear]() { + return this[S$0._clear$3](); + } + [$forEach](f) { + if (f == null) dart.nullFailed(I[147], 29017, 21, "f"); + for (let i = 0; true; i = i + 1) { + let key = this[S$2._key](i); + if (key == null) return; + f(key, dart.nullCheck(this[$_get](key))); + } + } + get [$keys]() { + let keys = T$.JSArrayOfString().of([]); + this[$forEach](dart.fn((k, v) => { + if (k == null) dart.nullFailed(I[147], 29028, 14, "k"); + if (v == null) dart.nullFailed(I[147], 29028, 17, "v"); + return keys[$add](k); + }, T$0.StringAndStringTovoid())); + return keys; + } + get [$values]() { + let values = T$.JSArrayOfString().of([]); + this[$forEach](dart.fn((k, v) => { + if (k == null) dart.nullFailed(I[147], 29034, 14, "k"); + if (v == null) dart.nullFailed(I[147], 29034, 17, "v"); + return values[$add](v); + }, T$0.StringAndStringTovoid())); + return values; + } + get [$length]() { + return this[S$2._length$3]; + } + get [$isEmpty]() { + return this[S$2._key](0) == null; + } + get [$isNotEmpty]() { + return !dart.test(this[$isEmpty]); + } + get [S$2._length$3]() { + return this.length; + } + [S$0._clear$3](...args) { + return this.clear.apply(this, args); + } + [S$1._getItem](...args) { + return this.getItem.apply(this, args); + } + [S$2._key](...args) { + return this.key.apply(this, args); + } + [S$2._removeItem](...args) { + return this.removeItem.apply(this, args); + } + [S$2._setItem](...args) { + return this.setItem.apply(this, args); + } +}; +dart.addTypeTests(html$.Storage); +dart.addTypeCaches(html$.Storage); +dart.setMethodSignature(html$.Storage, () => ({ + __proto__: dart.getMethods(html$.Storage.__proto__), + [$_get]: dart.fnType(dart.nullable(core.String), [dart.nullable(core.Object)]), + [$_set]: dart.fnType(dart.void, [dart.nullable(core.Object), dart.nullable(core.Object)]), + [$remove]: dart.fnType(dart.nullable(core.String), [dart.nullable(core.Object)]), + [$clear]: dart.fnType(dart.void, []), + [S$0._clear$3]: dart.fnType(dart.void, []), + [S$1._getItem]: dart.fnType(dart.nullable(core.String), [core.String]), + [S$2._key]: dart.fnType(dart.nullable(core.String), [core.int]), + [S$2._removeItem]: dart.fnType(dart.void, [core.String]), + [S$2._setItem]: dart.fnType(dart.void, [core.String, core.String]) +})); +dart.setGetterSignature(html$.Storage, () => ({ + __proto__: dart.getGetters(html$.Storage.__proto__), + [$keys]: core.Iterable$(core.String), + [S$2._length$3]: core.int +})); +dart.setLibraryUri(html$.Storage, I[148]); +dart.registerExtension("Storage", html$.Storage); +html$.StorageEvent = class StorageEvent$ extends html$.Event { + static new(type, opts) { + if (type == null) dart.nullFailed(I[147], 29082, 31, "type"); + let canBubble = opts && 'canBubble' in opts ? opts.canBubble : false; + if (canBubble == null) dart.nullFailed(I[147], 29083, 13, "canBubble"); + let cancelable = opts && 'cancelable' in opts ? opts.cancelable : false; + if (cancelable == null) dart.nullFailed(I[147], 29084, 12, "cancelable"); + let key = opts && 'key' in opts ? opts.key : null; + let oldValue = opts && 'oldValue' in opts ? opts.oldValue : null; + let newValue = opts && 'newValue' in opts ? opts.newValue : null; + let url = opts && 'url' in opts ? opts.url : null; + let storageArea = opts && 'storageArea' in opts ? opts.storageArea : null; + let e = html$.StorageEvent.as(html$.document[S._createEvent]("StorageEvent")); + e[S$2._initStorageEvent](type, canBubble, cancelable, key, oldValue, newValue, url, storageArea); + return e; + } + static __(type, eventInitDict = null) { + if (type == null) dart.nullFailed(I[147], 29096, 33, "type"); + if (eventInitDict != null) { + let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); + return html$.StorageEvent._create_1(type, eventInitDict_1); + } + return html$.StorageEvent._create_2(type); + } + static _create_1(type, eventInitDict) { + return new StorageEvent(type, eventInitDict); + } + static _create_2(type) { + return new StorageEvent(type); + } + get [S.$key]() { + return this.key; + } + get [S$1.$newValue]() { + return this.newValue; + } + get [S$1.$oldValue]() { + return this.oldValue; + } + get [S$2.$storageArea]() { + return this.storageArea; + } + get [S$.$url]() { + return this.url; + } + [S$2._initStorageEvent](...args) { + return this.initStorageEvent.apply(this, args); + } +}; +dart.addTypeTests(html$.StorageEvent); +dart.addTypeCaches(html$.StorageEvent); +dart.setMethodSignature(html$.StorageEvent, () => ({ + __proto__: dart.getMethods(html$.StorageEvent.__proto__), + [S$2._initStorageEvent]: dart.fnType(dart.void, [dart.nullable(core.String), dart.nullable(core.bool), dart.nullable(core.bool), dart.nullable(core.String), dart.nullable(core.String), dart.nullable(core.String), dart.nullable(core.String), dart.nullable(html$.Storage)]) +})); +dart.setGetterSignature(html$.StorageEvent, () => ({ + __proto__: dart.getGetters(html$.StorageEvent.__proto__), + [S.$key]: dart.nullable(core.String), + [S$1.$newValue]: dart.nullable(core.String), + [S$1.$oldValue]: dart.nullable(core.String), + [S$2.$storageArea]: dart.nullable(html$.Storage), + [S$.$url]: dart.nullable(core.String) +})); +dart.setLibraryUri(html$.StorageEvent, I[148]); +dart.registerExtension("StorageEvent", html$.StorageEvent); +html$.StorageManager = class StorageManager extends _interceptors.Interceptor { + [S$2.$estimate]() { + return html$.promiseToFutureAsMap(this.estimate()); + } + [S$2.$persist]() { + return js_util.promiseToFuture(core.bool, this.persist()); + } + [S$2.$persisted]() { + return js_util.promiseToFuture(core.bool, this.persisted()); + } +}; +dart.addTypeTests(html$.StorageManager); +dart.addTypeCaches(html$.StorageManager); +dart.setMethodSignature(html$.StorageManager, () => ({ + __proto__: dart.getMethods(html$.StorageManager.__proto__), + [S$2.$estimate]: dart.fnType(async.Future$(dart.nullable(core.Map$(core.String, dart.dynamic))), []), + [S$2.$persist]: dart.fnType(async.Future$(core.bool), []), + [S$2.$persisted]: dart.fnType(async.Future$(core.bool), []) +})); +dart.setLibraryUri(html$.StorageManager, I[148]); +dart.registerExtension("StorageManager", html$.StorageManager); +html$.StyleElement = class StyleElement extends html$.HtmlElement { + static new() { + return html$.document.createElement("style"); + } + get [S$.$disabled]() { + return this.disabled; + } + set [S$.$disabled](value) { + this.disabled = value; + } + get [S$.$media]() { + return this.media; + } + set [S$.$media](value) { + this.media = value; + } + get [S$1.$sheet]() { + return this.sheet; + } + get [S.$type]() { + return this.type; + } + set [S.$type](value) { + this.type = value; + } +}; +(html$.StyleElement.created = function() { + html$.StyleElement.__proto__.created.call(this); + ; +}).prototype = html$.StyleElement.prototype; +dart.addTypeTests(html$.StyleElement); +dart.addTypeCaches(html$.StyleElement); +dart.setGetterSignature(html$.StyleElement, () => ({ + __proto__: dart.getGetters(html$.StyleElement.__proto__), + [S$.$disabled]: core.bool, + [S$.$media]: core.String, + [S$1.$sheet]: dart.nullable(html$.StyleSheet), + [S.$type]: dart.nullable(core.String) +})); +dart.setSetterSignature(html$.StyleElement, () => ({ + __proto__: dart.getSetters(html$.StyleElement.__proto__), + [S$.$disabled]: core.bool, + [S$.$media]: core.String, + [S.$type]: dart.nullable(core.String) +})); +dart.setLibraryUri(html$.StyleElement, I[148]); +dart.registerExtension("HTMLStyleElement", html$.StyleElement); +html$.StyleMedia = class StyleMedia extends _interceptors.Interceptor { + get [S.$type]() { + return this.type; + } + [S$2.$matchMedium](...args) { + return this.matchMedium.apply(this, args); + } +}; +dart.addTypeTests(html$.StyleMedia); +dart.addTypeCaches(html$.StyleMedia); +dart.setMethodSignature(html$.StyleMedia, () => ({ + __proto__: dart.getMethods(html$.StyleMedia.__proto__), + [S$2.$matchMedium]: dart.fnType(core.bool, [dart.nullable(core.String)]) +})); +dart.setGetterSignature(html$.StyleMedia, () => ({ + __proto__: dart.getGetters(html$.StyleMedia.__proto__), + [S.$type]: dart.nullable(core.String) +})); +dart.setLibraryUri(html$.StyleMedia, I[148]); +dart.registerExtension("StyleMedia", html$.StyleMedia); +html$.StylePropertyMapReadonly = class StylePropertyMapReadonly extends _interceptors.Interceptor { + [S.$get](...args) { + return this.get.apply(this, args); + } + [S.$getAll](...args) { + return this.getAll.apply(this, args); + } + [S$2.$getProperties](...args) { + return this.getProperties.apply(this, args); + } + [S$.$has](...args) { + return this.has.apply(this, args); + } +}; +dart.addTypeTests(html$.StylePropertyMapReadonly); +dart.addTypeCaches(html$.StylePropertyMapReadonly); +dart.setMethodSignature(html$.StylePropertyMapReadonly, () => ({ + __proto__: dart.getMethods(html$.StylePropertyMapReadonly.__proto__), + [S.$get]: dart.fnType(dart.nullable(html$.CssStyleValue), [core.String]), + [S.$getAll]: dart.fnType(core.List$(html$.CssStyleValue), [core.String]), + [S$2.$getProperties]: dart.fnType(core.List$(core.String), []), + [S$.$has]: dart.fnType(core.bool, [core.String]) +})); +dart.setLibraryUri(html$.StylePropertyMapReadonly, I[148]); +dart.registerExtension("StylePropertyMapReadonly", html$.StylePropertyMapReadonly); +html$.StylePropertyMap = class StylePropertyMap extends html$.StylePropertyMapReadonly { + [S.$append](...args) { + return this.append.apply(this, args); + } + [S.$delete](...args) { + return this.delete.apply(this, args); + } + [S$.$set](...args) { + return this.set.apply(this, args); + } +}; +dart.addTypeTests(html$.StylePropertyMap); +dart.addTypeCaches(html$.StylePropertyMap); +dart.setMethodSignature(html$.StylePropertyMap, () => ({ + __proto__: dart.getMethods(html$.StylePropertyMap.__proto__), + [S.$append]: dart.fnType(dart.void, [core.String, core.Object]), + [S.$delete]: dart.fnType(dart.void, [core.String]), + [S$.$set]: dart.fnType(dart.void, [core.String, core.Object]) +})); +dart.setLibraryUri(html$.StylePropertyMap, I[148]); +dart.registerExtension("StylePropertyMap", html$.StylePropertyMap); +html$.SyncEvent = class SyncEvent$ extends html$.ExtendableEvent { + static new(type, init) { + if (type == null) dart.nullFailed(I[147], 29289, 28, "type"); + if (init == null) dart.nullFailed(I[147], 29289, 38, "init"); + let init_1 = html_common.convertDartToNative_Dictionary(init); + return html$.SyncEvent._create_1(type, init_1); + } + static _create_1(type, init) { + return new SyncEvent(type, init); + } + get [S$2.$lastChance]() { + return this.lastChance; + } + get [S$2.$tag]() { + return this.tag; + } +}; +dart.addTypeTests(html$.SyncEvent); +dart.addTypeCaches(html$.SyncEvent); +dart.setGetterSignature(html$.SyncEvent, () => ({ + __proto__: dart.getGetters(html$.SyncEvent.__proto__), + [S$2.$lastChance]: dart.nullable(core.bool), + [S$2.$tag]: dart.nullable(core.String) +})); +dart.setLibraryUri(html$.SyncEvent, I[148]); +dart.registerExtension("SyncEvent", html$.SyncEvent); +html$.SyncManager = class SyncManager extends _interceptors.Interceptor { + [S$2.$getTags]() { + return js_util.promiseToFuture(core.List, this.getTags()); + } + [S$1.$register](tag) { + if (tag == null) dart.nullFailed(I[147], 29314, 26, "tag"); + return js_util.promiseToFuture(dart.dynamic, this.register(tag)); + } +}; +dart.addTypeTests(html$.SyncManager); +dart.addTypeCaches(html$.SyncManager); +dart.setMethodSignature(html$.SyncManager, () => ({ + __proto__: dart.getMethods(html$.SyncManager.__proto__), + [S$2.$getTags]: dart.fnType(async.Future$(core.List), []), + [S$1.$register]: dart.fnType(async.Future, [core.String]) +})); +dart.setLibraryUri(html$.SyncManager, I[148]); +dart.registerExtension("SyncManager", html$.SyncManager); +html$.TableCaptionElement = class TableCaptionElement extends html$.HtmlElement { + static new() { + return html$.document.createElement("caption"); + } +}; +(html$.TableCaptionElement.created = function() { + html$.TableCaptionElement.__proto__.created.call(this); + ; +}).prototype = html$.TableCaptionElement.prototype; +dart.addTypeTests(html$.TableCaptionElement); +dart.addTypeCaches(html$.TableCaptionElement); +dart.setLibraryUri(html$.TableCaptionElement, I[148]); +dart.registerExtension("HTMLTableCaptionElement", html$.TableCaptionElement); +html$.TableCellElement = class TableCellElement extends html$.HtmlElement { + static new() { + return html$.document.createElement("td"); + } + get [S$2.$cellIndex]() { + return this.cellIndex; + } + get [S$.$colSpan]() { + return this.colSpan; + } + set [S$.$colSpan](value) { + this.colSpan = value; + } + get [S$2.$headers]() { + return this.headers; + } + set [S$2.$headers](value) { + this.headers = value; + } + get [S$.$rowSpan]() { + return this.rowSpan; + } + set [S$.$rowSpan](value) { + this.rowSpan = value; + } +}; +(html$.TableCellElement.created = function() { + html$.TableCellElement.__proto__.created.call(this); + ; +}).prototype = html$.TableCellElement.prototype; +dart.addTypeTests(html$.TableCellElement); +dart.addTypeCaches(html$.TableCellElement); +dart.setGetterSignature(html$.TableCellElement, () => ({ + __proto__: dart.getGetters(html$.TableCellElement.__proto__), + [S$2.$cellIndex]: core.int, + [S$.$colSpan]: core.int, + [S$2.$headers]: core.String, + [S$.$rowSpan]: core.int +})); +dart.setSetterSignature(html$.TableCellElement, () => ({ + __proto__: dart.getSetters(html$.TableCellElement.__proto__), + [S$.$colSpan]: core.int, + [S$2.$headers]: dart.nullable(core.String), + [S$.$rowSpan]: core.int +})); +dart.setLibraryUri(html$.TableCellElement, I[148]); +dart.registerExtension("HTMLTableCellElement", html$.TableCellElement); +dart.registerExtension("HTMLTableDataCellElement", html$.TableCellElement); +dart.registerExtension("HTMLTableHeaderCellElement", html$.TableCellElement); +html$.TableColElement = class TableColElement extends html$.HtmlElement { + static new() { + return html$.document.createElement("col"); + } + get [S$2.$span]() { + return this.span; + } + set [S$2.$span](value) { + this.span = value; + } +}; +(html$.TableColElement.created = function() { + html$.TableColElement.__proto__.created.call(this); + ; +}).prototype = html$.TableColElement.prototype; +dart.addTypeTests(html$.TableColElement); +dart.addTypeCaches(html$.TableColElement); +dart.setGetterSignature(html$.TableColElement, () => ({ + __proto__: dart.getGetters(html$.TableColElement.__proto__), + [S$2.$span]: core.int +})); +dart.setSetterSignature(html$.TableColElement, () => ({ + __proto__: dart.getSetters(html$.TableColElement.__proto__), + [S$2.$span]: core.int +})); +dart.setLibraryUri(html$.TableColElement, I[148]); +dart.registerExtension("HTMLTableColElement", html$.TableColElement); +html$.TableElement = class TableElement extends html$.HtmlElement { + get [S$2.$tBodies]() { + return new (T$0._WrappedListOfTableSectionElement()).new(this[S$2._tBodies]); + } + get [S$2.$rows]() { + return new (T$0._WrappedListOfTableRowElement()).new(this[S$2._rows]); + } + [S$2.$addRow]() { + return this[S$2.$insertRow](-1); + } + [S$2.$createCaption]() { + return this[S$2._createCaption](); + } + [S$2.$createTBody]() { + return this[S$2._createTBody](); + } + [S$2.$createTFoot]() { + return this[S$2._createTFoot](); + } + [S$2.$createTHead]() { + return this[S$2._createTHead](); + } + [S$2.$insertRow](index) { + if (index == null) dart.nullFailed(I[147], 29424, 33, "index"); + return this[S$2._insertRow](index); + } + [S$2._createTBody]() { + if (!!this.createTBody) { + return this[S$2._nativeCreateTBody](); + } + let tbody = html$.Element.tag("tbody"); + this[S.$children][$add](tbody); + return html$.TableSectionElement.as(tbody); + } + [S$2._nativeCreateTBody](...args) { + return this.createTBody.apply(this, args); + } + [S.$createFragment](html, opts) { + let validator = opts && 'validator' in opts ? opts.validator : null; + let treeSanitizer = opts && 'treeSanitizer' in opts ? opts.treeSanitizer : null; + if (dart.test(html$.Range.supportsCreateContextualFragment)) { + return super[S.$createFragment](html, {validator: validator, treeSanitizer: treeSanitizer}); + } + let contextualHtml = "" + dart.str(html) + "
"; + let table = html$.Element.html(contextualHtml, {validator: validator, treeSanitizer: treeSanitizer}); + let fragment = html$.DocumentFragment.new(); + fragment[S.$nodes][$addAll](table[S.$nodes]); + return fragment; + } + static new() { + return html$.document.createElement("table"); + } + get [S$2.$caption]() { + return this.caption; + } + set [S$2.$caption](value) { + this.caption = value; + } + get [S$2._rows]() { + return this.rows; + } + get [S$2._tBodies]() { + return this.tBodies; + } + get [S$2.$tFoot]() { + return this.tFoot; + } + set [S$2.$tFoot](value) { + this.tFoot = value; + } + get [S$2.$tHead]() { + return this.tHead; + } + set [S$2.$tHead](value) { + this.tHead = value; + } + [S$2._createCaption](...args) { + return this.createCaption.apply(this, args); + } + [S$2._createTFoot](...args) { + return this.createTFoot.apply(this, args); + } + [S$2._createTHead](...args) { + return this.createTHead.apply(this, args); + } + [S$2.$deleteCaption](...args) { + return this.deleteCaption.apply(this, args); + } + [S$2.$deleteRow](...args) { + return this.deleteRow.apply(this, args); + } + [S$2.$deleteTFoot](...args) { + return this.deleteTFoot.apply(this, args); + } + [S$2.$deleteTHead](...args) { + return this.deleteTHead.apply(this, args); + } + [S$2._insertRow](...args) { + return this.insertRow.apply(this, args); + } +}; +(html$.TableElement.created = function() { + html$.TableElement.__proto__.created.call(this); + ; +}).prototype = html$.TableElement.prototype; +dart.addTypeTests(html$.TableElement); +dart.addTypeCaches(html$.TableElement); +dart.setMethodSignature(html$.TableElement, () => ({ + __proto__: dart.getMethods(html$.TableElement.__proto__), + [S$2.$addRow]: dart.fnType(html$.TableRowElement, []), + [S$2.$createCaption]: dart.fnType(html$.TableCaptionElement, []), + [S$2.$createTBody]: dart.fnType(html$.TableSectionElement, []), + [S$2.$createTFoot]: dart.fnType(html$.TableSectionElement, []), + [S$2.$createTHead]: dart.fnType(html$.TableSectionElement, []), + [S$2.$insertRow]: dart.fnType(html$.TableRowElement, [core.int]), + [S$2._createTBody]: dart.fnType(html$.TableSectionElement, []), + [S$2._nativeCreateTBody]: dart.fnType(html$.TableSectionElement, []), + [S$2._createCaption]: dart.fnType(html$.TableCaptionElement, []), + [S$2._createTFoot]: dart.fnType(html$.TableSectionElement, []), + [S$2._createTHead]: dart.fnType(html$.TableSectionElement, []), + [S$2.$deleteCaption]: dart.fnType(dart.void, []), + [S$2.$deleteRow]: dart.fnType(dart.void, [core.int]), + [S$2.$deleteTFoot]: dart.fnType(dart.void, []), + [S$2.$deleteTHead]: dart.fnType(dart.void, []), + [S$2._insertRow]: dart.fnType(html$.TableRowElement, [], [dart.nullable(core.int)]) +})); +dart.setGetterSignature(html$.TableElement, () => ({ + __proto__: dart.getGetters(html$.TableElement.__proto__), + [S$2.$tBodies]: core.List$(html$.TableSectionElement), + [S$2.$rows]: core.List$(html$.TableRowElement), + [S$2.$caption]: dart.nullable(html$.TableCaptionElement), + [S$2._rows]: core.List$(html$.Node), + [S$2._tBodies]: core.List$(html$.Node), + [S$2.$tFoot]: dart.nullable(html$.TableSectionElement), + [S$2.$tHead]: dart.nullable(html$.TableSectionElement) +})); +dart.setSetterSignature(html$.TableElement, () => ({ + __proto__: dart.getSetters(html$.TableElement.__proto__), + [S$2.$caption]: dart.nullable(html$.TableCaptionElement), + [S$2.$tFoot]: dart.nullable(html$.TableSectionElement), + [S$2.$tHead]: dart.nullable(html$.TableSectionElement) +})); +dart.setLibraryUri(html$.TableElement, I[148]); +dart.registerExtension("HTMLTableElement", html$.TableElement); +html$.TableRowElement = class TableRowElement extends html$.HtmlElement { + get [S$2.$cells]() { + return new (T$0._WrappedListOfTableCellElement()).new(this[S$2._cells]); + } + [S$2.$addCell]() { + return this[S$2.$insertCell](-1); + } + [S$2.$insertCell](index) { + if (index == null) dart.nullFailed(I[147], 29526, 35, "index"); + return html$.TableCellElement.as(this[S$2._insertCell](index)); + } + [S.$createFragment](html, opts) { + let validator = opts && 'validator' in opts ? opts.validator : null; + let treeSanitizer = opts && 'treeSanitizer' in opts ? opts.treeSanitizer : null; + if (dart.test(html$.Range.supportsCreateContextualFragment)) { + return super[S.$createFragment](html, {validator: validator, treeSanitizer: treeSanitizer}); + } + let fragment = html$.DocumentFragment.new(); + let section = html$.TableElement.new()[S.$createFragment](html, {validator: validator, treeSanitizer: treeSanitizer})[S.$nodes][$single]; + let row = section[S.$nodes][$single]; + fragment[S.$nodes][$addAll](row[S.$nodes]); + return fragment; + } + static new() { + return html$.document.createElement("tr"); + } + get [S$2._cells]() { + return this.cells; + } + get [S$.$rowIndex]() { + return this.rowIndex; + } + get [S$2.$sectionRowIndex]() { + return this.sectionRowIndex; + } + [S$2.$deleteCell](...args) { + return this.deleteCell.apply(this, args); + } + [S$2._insertCell](...args) { + return this.insertCell.apply(this, args); + } +}; +(html$.TableRowElement.created = function() { + html$.TableRowElement.__proto__.created.call(this); + ; +}).prototype = html$.TableRowElement.prototype; +dart.addTypeTests(html$.TableRowElement); +dart.addTypeCaches(html$.TableRowElement); +dart.setMethodSignature(html$.TableRowElement, () => ({ + __proto__: dart.getMethods(html$.TableRowElement.__proto__), + [S$2.$addCell]: dart.fnType(html$.TableCellElement, []), + [S$2.$insertCell]: dart.fnType(html$.TableCellElement, [core.int]), + [S$2.$deleteCell]: dart.fnType(dart.void, [core.int]), + [S$2._insertCell]: dart.fnType(html$.HtmlElement, [], [dart.nullable(core.int)]) +})); +dart.setGetterSignature(html$.TableRowElement, () => ({ + __proto__: dart.getGetters(html$.TableRowElement.__proto__), + [S$2.$cells]: core.List$(html$.TableCellElement), + [S$2._cells]: core.List$(html$.Node), + [S$.$rowIndex]: core.int, + [S$2.$sectionRowIndex]: core.int +})); +dart.setLibraryUri(html$.TableRowElement, I[148]); +dart.registerExtension("HTMLTableRowElement", html$.TableRowElement); +html$.TableSectionElement = class TableSectionElement extends html$.HtmlElement { + get [S$2.$rows]() { + return new (T$0._WrappedListOfTableRowElement()).new(this[S$2._rows]); + } + [S$2.$addRow]() { + return this[S$2.$insertRow](-1); + } + [S$2.$insertRow](index) { + if (index == null) dart.nullFailed(I[147], 29590, 33, "index"); + return html$.TableRowElement.as(this[S$2._insertRow](index)); + } + [S.$createFragment](html, opts) { + let validator = opts && 'validator' in opts ? opts.validator : null; + let treeSanitizer = opts && 'treeSanitizer' in opts ? opts.treeSanitizer : null; + if (dart.test(html$.Range.supportsCreateContextualFragment)) { + return super[S.$createFragment](html, {validator: validator, treeSanitizer: treeSanitizer}); + } + let fragment = html$.DocumentFragment.new(); + let section = html$.TableElement.new()[S.$createFragment](html, {validator: validator, treeSanitizer: treeSanitizer})[S.$nodes][$single]; + fragment[S.$nodes][$addAll](section[S.$nodes]); + return fragment; + } + get [S$2._rows]() { + return this.rows; + } + [S$2.$deleteRow](...args) { + return this.deleteRow.apply(this, args); + } + [S$2._insertRow](...args) { + return this.insertRow.apply(this, args); + } +}; +(html$.TableSectionElement.created = function() { + html$.TableSectionElement.__proto__.created.call(this); + ; +}).prototype = html$.TableSectionElement.prototype; +dart.addTypeTests(html$.TableSectionElement); +dart.addTypeCaches(html$.TableSectionElement); +dart.setMethodSignature(html$.TableSectionElement, () => ({ + __proto__: dart.getMethods(html$.TableSectionElement.__proto__), + [S$2.$addRow]: dart.fnType(html$.TableRowElement, []), + [S$2.$insertRow]: dart.fnType(html$.TableRowElement, [core.int]), + [S$2.$deleteRow]: dart.fnType(dart.void, [core.int]), + [S$2._insertRow]: dart.fnType(html$.HtmlElement, [], [dart.nullable(core.int)]) +})); +dart.setGetterSignature(html$.TableSectionElement, () => ({ + __proto__: dart.getGetters(html$.TableSectionElement.__proto__), + [S$2.$rows]: core.List$(html$.TableRowElement), + [S$2._rows]: core.List$(html$.Node) +})); +dart.setLibraryUri(html$.TableSectionElement, I[148]); +dart.registerExtension("HTMLTableSectionElement", html$.TableSectionElement); +html$.TaskAttributionTiming = class TaskAttributionTiming extends html$.PerformanceEntry { + get [S$2.$containerId]() { + return this.containerId; + } + get [S$2.$containerName]() { + return this.containerName; + } + get [S$2.$containerSrc]() { + return this.containerSrc; + } + get [S$2.$containerType]() { + return this.containerType; + } + get [S$2.$scriptUrl]() { + return this.scriptURL; + } +}; +dart.addTypeTests(html$.TaskAttributionTiming); +dart.addTypeCaches(html$.TaskAttributionTiming); +dart.setGetterSignature(html$.TaskAttributionTiming, () => ({ + __proto__: dart.getGetters(html$.TaskAttributionTiming.__proto__), + [S$2.$containerId]: dart.nullable(core.String), + [S$2.$containerName]: dart.nullable(core.String), + [S$2.$containerSrc]: dart.nullable(core.String), + [S$2.$containerType]: dart.nullable(core.String), + [S$2.$scriptUrl]: dart.nullable(core.String) +})); +dart.setLibraryUri(html$.TaskAttributionTiming, I[148]); +dart.registerExtension("TaskAttributionTiming", html$.TaskAttributionTiming); +html$.TemplateElement = class TemplateElement extends html$.HtmlElement { + static new() { + return html$.TemplateElement.as(html$.document[S.$createElement]("template")); + } + static get supported() { + return html$.Element.isTagSupported("template"); + } + get [S$0.$content]() { + return this.content; + } + [S.$setInnerHtml](html, opts) { + let validator = opts && 'validator' in opts ? opts.validator : null; + let treeSanitizer = opts && 'treeSanitizer' in opts ? opts.treeSanitizer : null; + this[S.$text] = null; + dart.nullCheck(this.content)[S.$nodes][$clear](); + let fragment = this[S.$createFragment](html, {validator: validator, treeSanitizer: treeSanitizer}); + dart.nullCheck(this.content)[S.$append](fragment); + } +}; +(html$.TemplateElement.created = function() { + html$.TemplateElement.__proto__.created.call(this); + ; +}).prototype = html$.TemplateElement.prototype; +dart.addTypeTests(html$.TemplateElement); +dart.addTypeCaches(html$.TemplateElement); +dart.setGetterSignature(html$.TemplateElement, () => ({ + __proto__: dart.getGetters(html$.TemplateElement.__proto__), + [S$0.$content]: dart.nullable(html$.DocumentFragment) +})); +dart.setLibraryUri(html$.TemplateElement, I[148]); +dart.registerExtension("HTMLTemplateElement", html$.TemplateElement); +html$.TextAreaElement = class TextAreaElement extends html$.HtmlElement { + static new() { + return html$.document.createElement("textarea"); + } + get [S$1.$autocapitalize]() { + return this.autocapitalize; + } + set [S$1.$autocapitalize](value) { + this.autocapitalize = value; + } + get [S$.$autofocus]() { + return this.autofocus; + } + set [S$.$autofocus](value) { + this.autofocus = value; + } + get [S$2.$cols]() { + return this.cols; + } + set [S$2.$cols](value) { + this.cols = value; + } + get [S$1.$defaultValue]() { + return this.defaultValue; + } + set [S$1.$defaultValue](value) { + this.defaultValue = value; + } + get [S$1.$dirName]() { + return this.dirName; + } + set [S$1.$dirName](value) { + this.dirName = value; + } + get [S$.$disabled]() { + return this.disabled; + } + set [S$.$disabled](value) { + this.disabled = value; + } + get [S$.$form]() { + return this.form; + } + get [S$.$labels]() { + return this.labels; + } + get [S$1.$maxLength]() { + return this.maxLength; + } + set [S$1.$maxLength](value) { + this.maxLength = value; + } + get [S$1.$minLength]() { + return this.minLength; + } + set [S$1.$minLength](value) { + this.minLength = value; + } + get [$name]() { + return this.name; + } + set [$name](value) { + this.name = value; + } + get [S$.$placeholder]() { + return this.placeholder; + } + set [S$.$placeholder](value) { + this.placeholder = value; + } + get [S$.$readOnly]() { + return this.readOnly; + } + set [S$.$readOnly](value) { + this.readOnly = value; + } + get [S$.$required]() { + return this.required; + } + set [S$.$required](value) { + this.required = value; + } + get [S$2.$rows]() { + return this.rows; + } + set [S$2.$rows](value) { + this.rows = value; + } + get [S$1.$selectionDirection]() { + return this.selectionDirection; + } + set [S$1.$selectionDirection](value) { + this.selectionDirection = value; + } + get [S$1.$selectionEnd]() { + return this.selectionEnd; + } + set [S$1.$selectionEnd](value) { + this.selectionEnd = value; + } + get [S$1.$selectionStart]() { + return this.selectionStart; + } + set [S$1.$selectionStart](value) { + this.selectionStart = value; + } + get [S$2.$textLength]() { + return this.textLength; + } + get [S.$type]() { + return this.type; + } + get [S$.$validationMessage]() { + return this.validationMessage; + } + get [S$.$validity]() { + return this.validity; + } + get [S.$value]() { + return this.value; + } + set [S.$value](value) { + this.value = value; + } + get [S$.$willValidate]() { + return this.willValidate; + } + get [S$2.$wrap]() { + return this.wrap; + } + set [S$2.$wrap](value) { + this.wrap = value; + } + [S$.$checkValidity](...args) { + return this.checkValidity.apply(this, args); + } + [S$.$reportValidity](...args) { + return this.reportValidity.apply(this, args); + } + [S$.$select](...args) { + return this.select.apply(this, args); + } + [S$.$setCustomValidity](...args) { + return this.setCustomValidity.apply(this, args); + } + [S$1.$setRangeText](...args) { + return this.setRangeText.apply(this, args); + } + [S$1.$setSelectionRange](...args) { + return this.setSelectionRange.apply(this, args); + } +}; +(html$.TextAreaElement.created = function() { + html$.TextAreaElement.__proto__.created.call(this); + ; +}).prototype = html$.TextAreaElement.prototype; +dart.addTypeTests(html$.TextAreaElement); +dart.addTypeCaches(html$.TextAreaElement); +dart.setMethodSignature(html$.TextAreaElement, () => ({ + __proto__: dart.getMethods(html$.TextAreaElement.__proto__), + [S$.$checkValidity]: dart.fnType(core.bool, []), + [S$.$reportValidity]: dart.fnType(core.bool, []), + [S$.$select]: dart.fnType(dart.void, []), + [S$.$setCustomValidity]: dart.fnType(dart.void, [core.String]), + [S$1.$setRangeText]: dart.fnType(dart.void, [core.String], {end: dart.nullable(core.int), selectionMode: dart.nullable(core.String), start: dart.nullable(core.int)}, {}), + [S$1.$setSelectionRange]: dart.fnType(dart.void, [core.int, core.int], [dart.nullable(core.String)]) +})); +dart.setGetterSignature(html$.TextAreaElement, () => ({ + __proto__: dart.getGetters(html$.TextAreaElement.__proto__), + [S$1.$autocapitalize]: dart.nullable(core.String), + [S$.$autofocus]: core.bool, + [S$2.$cols]: core.int, + [S$1.$defaultValue]: dart.nullable(core.String), + [S$1.$dirName]: dart.nullable(core.String), + [S$.$disabled]: core.bool, + [S$.$form]: dart.nullable(html$.FormElement), + [S$.$labels]: dart.nullable(core.List$(html$.Node)), + [S$1.$maxLength]: core.int, + [S$1.$minLength]: core.int, + [$name]: core.String, + [S$.$placeholder]: core.String, + [S$.$readOnly]: core.bool, + [S$.$required]: core.bool, + [S$2.$rows]: core.int, + [S$1.$selectionDirection]: dart.nullable(core.String), + [S$1.$selectionEnd]: dart.nullable(core.int), + [S$1.$selectionStart]: dart.nullable(core.int), + [S$2.$textLength]: dart.nullable(core.int), + [S.$type]: dart.nullable(core.String), + [S$.$validationMessage]: dart.nullable(core.String), + [S$.$validity]: dart.nullable(html$.ValidityState), + [S.$value]: dart.nullable(core.String), + [S$.$willValidate]: dart.nullable(core.bool), + [S$2.$wrap]: core.String +})); +dart.setSetterSignature(html$.TextAreaElement, () => ({ + __proto__: dart.getSetters(html$.TextAreaElement.__proto__), + [S$1.$autocapitalize]: dart.nullable(core.String), + [S$.$autofocus]: core.bool, + [S$2.$cols]: core.int, + [S$1.$defaultValue]: dart.nullable(core.String), + [S$1.$dirName]: dart.nullable(core.String), + [S$.$disabled]: core.bool, + [S$1.$maxLength]: core.int, + [S$1.$minLength]: core.int, + [$name]: core.String, + [S$.$placeholder]: core.String, + [S$.$readOnly]: core.bool, + [S$.$required]: core.bool, + [S$2.$rows]: core.int, + [S$1.$selectionDirection]: dart.nullable(core.String), + [S$1.$selectionEnd]: dart.nullable(core.int), + [S$1.$selectionStart]: dart.nullable(core.int), + [S.$value]: dart.nullable(core.String), + [S$2.$wrap]: core.String +})); +dart.setLibraryUri(html$.TextAreaElement, I[148]); +dart.registerExtension("HTMLTextAreaElement", html$.TextAreaElement); +html$.TextDetector = class TextDetector$ extends _interceptors.Interceptor { + static new() { + return html$.TextDetector._create_1(); + } + static _create_1() { + return new TextDetector(); + } + [S$.$detect](image) { + return js_util.promiseToFuture(core.List, this.detect(image)); + } +}; +dart.addTypeTests(html$.TextDetector); +dart.addTypeCaches(html$.TextDetector); +dart.setMethodSignature(html$.TextDetector, () => ({ + __proto__: dart.getMethods(html$.TextDetector.__proto__), + [S$.$detect]: dart.fnType(async.Future$(core.List), [dart.dynamic]) +})); +dart.setLibraryUri(html$.TextDetector, I[148]); +dart.registerExtension("TextDetector", html$.TextDetector); +html$.TextEvent = class TextEvent extends html$.UIEvent { + static new(type, opts) { + if (type == null) dart.nullFailed(I[147], 29878, 28, "type"); + let canBubble = opts && 'canBubble' in opts ? opts.canBubble : false; + if (canBubble == null) dart.nullFailed(I[147], 29879, 13, "canBubble"); + let cancelable = opts && 'cancelable' in opts ? opts.cancelable : false; + if (cancelable == null) dart.nullFailed(I[147], 29880, 12, "cancelable"); + let view = opts && 'view' in opts ? opts.view : null; + let data = opts && 'data' in opts ? opts.data : null; + if (view == null) { + view = html$.window; + } + let e = html$.TextEvent.as(html$.document[S._createEvent]("TextEvent")); + e[S$2._initTextEvent](type, canBubble, cancelable, view, data); + return e; + } + get [S$.$data]() { + return this.data; + } + [S$2._initTextEvent](...args) { + return this.initTextEvent.apply(this, args); + } +}; +dart.addTypeTests(html$.TextEvent); +dart.addTypeCaches(html$.TextEvent); +dart.setMethodSignature(html$.TextEvent, () => ({ + __proto__: dart.getMethods(html$.TextEvent.__proto__), + [S$2._initTextEvent]: dart.fnType(dart.void, [dart.nullable(core.String), dart.nullable(core.bool), dart.nullable(core.bool), dart.nullable(html$.Window), dart.nullable(core.String)]) +})); +dart.setGetterSignature(html$.TextEvent, () => ({ + __proto__: dart.getGetters(html$.TextEvent.__proto__), + [S$.$data]: dart.nullable(core.String) +})); +dart.setLibraryUri(html$.TextEvent, I[148]); +dart.registerExtension("TextEvent", html$.TextEvent); +html$.TextMetrics = class TextMetrics extends _interceptors.Interceptor { + get [S$2.$actualBoundingBoxAscent]() { + return this.actualBoundingBoxAscent; + } + get [S$2.$actualBoundingBoxDescent]() { + return this.actualBoundingBoxDescent; + } + get [S$2.$actualBoundingBoxLeft]() { + return this.actualBoundingBoxLeft; + } + get [S$2.$actualBoundingBoxRight]() { + return this.actualBoundingBoxRight; + } + get [S$2.$alphabeticBaseline]() { + return this.alphabeticBaseline; + } + get [S$2.$emHeightAscent]() { + return this.emHeightAscent; + } + get [S$2.$emHeightDescent]() { + return this.emHeightDescent; + } + get [S$2.$fontBoundingBoxAscent]() { + return this.fontBoundingBoxAscent; + } + get [S$2.$fontBoundingBoxDescent]() { + return this.fontBoundingBoxDescent; + } + get [S$2.$hangingBaseline]() { + return this.hangingBaseline; + } + get [S$2.$ideographicBaseline]() { + return this.ideographicBaseline; + } + get [$width]() { + return this.width; + } +}; +dart.addTypeTests(html$.TextMetrics); +dart.addTypeCaches(html$.TextMetrics); +dart.setGetterSignature(html$.TextMetrics, () => ({ + __proto__: dart.getGetters(html$.TextMetrics.__proto__), + [S$2.$actualBoundingBoxAscent]: dart.nullable(core.num), + [S$2.$actualBoundingBoxDescent]: dart.nullable(core.num), + [S$2.$actualBoundingBoxLeft]: dart.nullable(core.num), + [S$2.$actualBoundingBoxRight]: dart.nullable(core.num), + [S$2.$alphabeticBaseline]: dart.nullable(core.num), + [S$2.$emHeightAscent]: dart.nullable(core.num), + [S$2.$emHeightDescent]: dart.nullable(core.num), + [S$2.$fontBoundingBoxAscent]: dart.nullable(core.num), + [S$2.$fontBoundingBoxDescent]: dart.nullable(core.num), + [S$2.$hangingBaseline]: dart.nullable(core.num), + [S$2.$ideographicBaseline]: dart.nullable(core.num), + [$width]: dart.nullable(core.num) +})); +dart.setLibraryUri(html$.TextMetrics, I[148]); +dart.registerExtension("TextMetrics", html$.TextMetrics); +html$.TextTrack = class TextTrack extends html$.EventTarget { + get [S$2.$activeCues]() { + return this.activeCues; + } + get [S$2.$cues]() { + return this.cues; + } + get [S.$id]() { + return this.id; + } + get [S$.$kind]() { + return this.kind; + } + get [S$.$label]() { + return this.label; + } + get [S$1.$language]() { + return this.language; + } + get [S.$mode]() { + return this.mode; + } + set [S.$mode](value) { + this.mode = value; + } + [S$2.$addCue](...args) { + return this.addCue.apply(this, args); + } + [S$2.$removeCue](...args) { + return this.removeCue.apply(this, args); + } + get [S$2.$onCueChange]() { + return html$.TextTrack.cueChangeEvent.forTarget(this); + } +}; +dart.addTypeTests(html$.TextTrack); +dart.addTypeCaches(html$.TextTrack); +dart.setMethodSignature(html$.TextTrack, () => ({ + __proto__: dart.getMethods(html$.TextTrack.__proto__), + [S$2.$addCue]: dart.fnType(dart.void, [html$.TextTrackCue]), + [S$2.$removeCue]: dart.fnType(dart.void, [html$.TextTrackCue]) +})); +dart.setGetterSignature(html$.TextTrack, () => ({ + __proto__: dart.getGetters(html$.TextTrack.__proto__), + [S$2.$activeCues]: dart.nullable(html$.TextTrackCueList), + [S$2.$cues]: dart.nullable(html$.TextTrackCueList), + [S.$id]: core.String, + [S$.$kind]: core.String, + [S$.$label]: core.String, + [S$1.$language]: core.String, + [S.$mode]: dart.nullable(core.String), + [S$2.$onCueChange]: async.Stream$(html$.Event) +})); +dart.setSetterSignature(html$.TextTrack, () => ({ + __proto__: dart.getSetters(html$.TextTrack.__proto__), + [S.$mode]: dart.nullable(core.String) +})); +dart.setLibraryUri(html$.TextTrack, I[148]); +dart.defineLazy(html$.TextTrack, { + /*html$.TextTrack.cueChangeEvent*/get cueChangeEvent() { + return C[383] || CT.C383; + } +}, false); +dart.registerExtension("TextTrack", html$.TextTrack); +html$.TextTrackCue = class TextTrackCue extends html$.EventTarget { + get [S$2.$endTime]() { + return this.endTime; + } + set [S$2.$endTime](value) { + this.endTime = value; + } + get [S.$id]() { + return this.id; + } + set [S.$id](value) { + this.id = value; + } + get [S$2.$pauseOnExit]() { + return this.pauseOnExit; + } + set [S$2.$pauseOnExit](value) { + this.pauseOnExit = value; + } + get [S$.$startTime]() { + return this.startTime; + } + set [S$.$startTime](value) { + this.startTime = value; + } + get [S$1.$track]() { + return this.track; + } + get [S$2.$onEnter]() { + return html$.TextTrackCue.enterEvent.forTarget(this); + } + get [S$2.$onExit]() { + return html$.TextTrackCue.exitEvent.forTarget(this); + } +}; +dart.addTypeTests(html$.TextTrackCue); +dart.addTypeCaches(html$.TextTrackCue); +dart.setGetterSignature(html$.TextTrackCue, () => ({ + __proto__: dart.getGetters(html$.TextTrackCue.__proto__), + [S$2.$endTime]: dart.nullable(core.num), + [S.$id]: dart.nullable(core.String), + [S$2.$pauseOnExit]: dart.nullable(core.bool), + [S$.$startTime]: dart.nullable(core.num), + [S$1.$track]: dart.nullable(html$.TextTrack), + [S$2.$onEnter]: async.Stream$(html$.Event), + [S$2.$onExit]: async.Stream$(html$.Event) +})); +dart.setSetterSignature(html$.TextTrackCue, () => ({ + __proto__: dart.getSetters(html$.TextTrackCue.__proto__), + [S$2.$endTime]: dart.nullable(core.num), + [S.$id]: dart.nullable(core.String), + [S$2.$pauseOnExit]: dart.nullable(core.bool), + [S$.$startTime]: dart.nullable(core.num) +})); +dart.setLibraryUri(html$.TextTrackCue, I[148]); +dart.defineLazy(html$.TextTrackCue, { + /*html$.TextTrackCue.enterEvent*/get enterEvent() { + return C[384] || CT.C384; + }, + /*html$.TextTrackCue.exitEvent*/get exitEvent() { + return C[385] || CT.C385; + } +}, false); +dart.registerExtension("TextTrackCue", html$.TextTrackCue); +const Interceptor_ListMixin$36$6 = class Interceptor_ListMixin extends _interceptors.Interceptor {}; +(Interceptor_ListMixin$36$6.new = function() { + Interceptor_ListMixin$36$6.__proto__.new.call(this); +}).prototype = Interceptor_ListMixin$36$6.prototype; +dart.applyMixin(Interceptor_ListMixin$36$6, collection.ListMixin$(html$.TextTrackCue)); +const Interceptor_ImmutableListMixin$36$6 = class Interceptor_ImmutableListMixin extends Interceptor_ListMixin$36$6 {}; +(Interceptor_ImmutableListMixin$36$6.new = function() { + Interceptor_ImmutableListMixin$36$6.__proto__.new.call(this); +}).prototype = Interceptor_ImmutableListMixin$36$6.prototype; +dart.applyMixin(Interceptor_ImmutableListMixin$36$6, html$.ImmutableListMixin$(html$.TextTrackCue)); +html$.TextTrackCueList = class TextTrackCueList extends Interceptor_ImmutableListMixin$36$6 { + get [$length]() { + return this.length; + } + [$_get](index) { + if (index == null) dart.nullFailed(I[147], 30047, 32, "index"); + if (index >>> 0 !== index || index >= this[$length]) dart.throw(new core.IndexError.new(index, this)); + return this[index]; + } + [$_set](index, value$) { + let value = value$; + if (index == null) dart.nullFailed(I[147], 30053, 25, "index"); + html$.TextTrackCue.as(value); + if (value == null) dart.nullFailed(I[147], 30053, 45, "value"); + dart.throw(new core.UnsupportedError.new("Cannot assign element of immutable List.")); + return value$; + } + set [$length](value) { + if (value == null) dart.nullFailed(I[147], 30059, 18, "value"); + dart.throw(new core.UnsupportedError.new("Cannot resize immutable List.")); + } + get [$first]() { + if (dart.notNull(this[$length]) > 0) { + return this[0]; + } + dart.throw(new core.StateError.new("No elements")); + } + set [$first](value) { + super[$first] = value; + } + get [$last]() { + let len = this[$length]; + if (dart.notNull(len) > 0) { + return this[dart.notNull(len) - 1]; + } + dart.throw(new core.StateError.new("No elements")); + } + set [$last](value) { + super[$last] = value; + } + get [$single]() { + let len = this[$length]; + if (len === 1) { + return this[0]; + } + if (len === 0) dart.throw(new core.StateError.new("No elements")); + dart.throw(new core.StateError.new("More than one element")); + } + [$elementAt](index) { + if (index == null) dart.nullFailed(I[147], 30087, 30, "index"); + return this[$_get](index); + } + [S$.__getter__](...args) { + return this.__getter__.apply(this, args); + } + [S$2.$getCueById](...args) { + return this.getCueById.apply(this, args); + } +}; +html$.TextTrackCueList.prototype[dart.isList] = true; +dart.addTypeTests(html$.TextTrackCueList); +dart.addTypeCaches(html$.TextTrackCueList); +html$.TextTrackCueList[dart.implements] = () => [core.List$(html$.TextTrackCue), _js_helper.JavaScriptIndexingBehavior$(html$.TextTrackCue)]; +dart.setMethodSignature(html$.TextTrackCueList, () => ({ + __proto__: dart.getMethods(html$.TextTrackCueList.__proto__), + [$_get]: dart.fnType(html$.TextTrackCue, [core.int]), + [$_set]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), + [S$.__getter__]: dart.fnType(html$.TextTrackCue, [core.int]), + [S$2.$getCueById]: dart.fnType(dart.nullable(html$.TextTrackCue), [core.String]) +})); +dart.setGetterSignature(html$.TextTrackCueList, () => ({ + __proto__: dart.getGetters(html$.TextTrackCueList.__proto__), + [$length]: core.int +})); +dart.setSetterSignature(html$.TextTrackCueList, () => ({ + __proto__: dart.getSetters(html$.TextTrackCueList.__proto__), + [$length]: core.int +})); +dart.setLibraryUri(html$.TextTrackCueList, I[148]); +dart.registerExtension("TextTrackCueList", html$.TextTrackCueList); +const EventTarget_ListMixin$36$ = class EventTarget_ListMixin extends html$.EventTarget {}; +(EventTarget_ListMixin$36$._created = function() { + EventTarget_ListMixin$36$.__proto__._created.call(this); +}).prototype = EventTarget_ListMixin$36$.prototype; +dart.applyMixin(EventTarget_ListMixin$36$, collection.ListMixin$(html$.TextTrack)); +const EventTarget_ImmutableListMixin$36$ = class EventTarget_ImmutableListMixin extends EventTarget_ListMixin$36$ {}; +(EventTarget_ImmutableListMixin$36$._created = function() { + EventTarget_ImmutableListMixin$36$.__proto__._created.call(this); +}).prototype = EventTarget_ImmutableListMixin$36$.prototype; +dart.applyMixin(EventTarget_ImmutableListMixin$36$, html$.ImmutableListMixin$(html$.TextTrack)); +html$.TextTrackList = class TextTrackList extends EventTarget_ImmutableListMixin$36$ { + get [$length]() { + return this.length; + } + [$_get](index) { + if (index == null) dart.nullFailed(I[147], 30121, 29, "index"); + if (index >>> 0 !== index || index >= this[$length]) dart.throw(new core.IndexError.new(index, this)); + return this[index]; + } + [$_set](index, value$) { + let value = value$; + if (index == null) dart.nullFailed(I[147], 30127, 25, "index"); + html$.TextTrack.as(value); + if (value == null) dart.nullFailed(I[147], 30127, 42, "value"); + dart.throw(new core.UnsupportedError.new("Cannot assign element of immutable List.")); + return value$; + } + set [$length](value) { + if (value == null) dart.nullFailed(I[147], 30133, 18, "value"); + dart.throw(new core.UnsupportedError.new("Cannot resize immutable List.")); + } + get [$first]() { + if (dart.notNull(this[$length]) > 0) { + return this[0]; + } + dart.throw(new core.StateError.new("No elements")); + } + set [$first](value) { + super[$first] = value; + } + get [$last]() { + let len = this[$length]; + if (dart.notNull(len) > 0) { + return this[dart.notNull(len) - 1]; + } + dart.throw(new core.StateError.new("No elements")); + } + set [$last](value) { + super[$last] = value; + } + get [$single]() { + let len = this[$length]; + if (len === 1) { + return this[0]; + } + if (len === 0) dart.throw(new core.StateError.new("No elements")); + dart.throw(new core.StateError.new("More than one element")); + } + [$elementAt](index) { + if (index == null) dart.nullFailed(I[147], 30161, 27, "index"); + return this[$_get](index); + } + [S$.__getter__](...args) { + return this.__getter__.apply(this, args); + } + [S$1.$getTrackById](...args) { + return this.getTrackById.apply(this, args); + } + get [S$1.$onAddTrack]() { + return html$.TextTrackList.addTrackEvent.forTarget(this); + } + get [S.$onChange]() { + return html$.TextTrackList.changeEvent.forTarget(this); + } +}; +html$.TextTrackList.prototype[dart.isList] = true; +dart.addTypeTests(html$.TextTrackList); +dart.addTypeCaches(html$.TextTrackList); +html$.TextTrackList[dart.implements] = () => [core.List$(html$.TextTrack), _js_helper.JavaScriptIndexingBehavior$(html$.TextTrack)]; +dart.setMethodSignature(html$.TextTrackList, () => ({ + __proto__: dart.getMethods(html$.TextTrackList.__proto__), + [$_get]: dart.fnType(html$.TextTrack, [core.int]), + [$_set]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), + [S$.__getter__]: dart.fnType(html$.TextTrack, [core.int]), + [S$1.$getTrackById]: dart.fnType(dart.nullable(html$.TextTrack), [core.String]) +})); +dart.setGetterSignature(html$.TextTrackList, () => ({ + __proto__: dart.getGetters(html$.TextTrackList.__proto__), + [$length]: core.int, + [S$1.$onAddTrack]: async.Stream$(html$.TrackEvent), + [S.$onChange]: async.Stream$(html$.Event) +})); +dart.setSetterSignature(html$.TextTrackList, () => ({ + __proto__: dart.getSetters(html$.TextTrackList.__proto__), + [$length]: core.int +})); +dart.setLibraryUri(html$.TextTrackList, I[148]); +dart.defineLazy(html$.TextTrackList, { + /*html$.TextTrackList.addTrackEvent*/get addTrackEvent() { + return C[386] || CT.C386; + }, + /*html$.TextTrackList.changeEvent*/get changeEvent() { + return C[236] || CT.C236; + } +}, false); +dart.registerExtension("TextTrackList", html$.TextTrackList); +html$.TimeElement = class TimeElement extends html$.HtmlElement { + get [S$1.$dateTime]() { + return this.dateTime; + } + set [S$1.$dateTime](value) { + this.dateTime = value; + } +}; +(html$.TimeElement.created = function() { + html$.TimeElement.__proto__.created.call(this); + ; +}).prototype = html$.TimeElement.prototype; +dart.addTypeTests(html$.TimeElement); +dart.addTypeCaches(html$.TimeElement); +dart.setGetterSignature(html$.TimeElement, () => ({ + __proto__: dart.getGetters(html$.TimeElement.__proto__), + [S$1.$dateTime]: dart.nullable(core.String) +})); +dart.setSetterSignature(html$.TimeElement, () => ({ + __proto__: dart.getSetters(html$.TimeElement.__proto__), + [S$1.$dateTime]: dart.nullable(core.String) +})); +dart.setLibraryUri(html$.TimeElement, I[148]); +dart.registerExtension("HTMLTimeElement", html$.TimeElement); +html$.TimeRanges = class TimeRanges extends _interceptors.Interceptor { + get [$length]() { + return this.length; + } + [S$2.$end](...args) { + return this.end.apply(this, args); + } + [S$.$start](...args) { + return this.start.apply(this, args); + } +}; +dart.addTypeTests(html$.TimeRanges); +dart.addTypeCaches(html$.TimeRanges); +dart.setMethodSignature(html$.TimeRanges, () => ({ + __proto__: dart.getMethods(html$.TimeRanges.__proto__), + [S$2.$end]: dart.fnType(core.double, [core.int]), + [S$.$start]: dart.fnType(core.double, [core.int]) +})); +dart.setGetterSignature(html$.TimeRanges, () => ({ + __proto__: dart.getGetters(html$.TimeRanges.__proto__), + [$length]: core.int +})); +dart.setLibraryUri(html$.TimeRanges, I[148]); +dart.registerExtension("TimeRanges", html$.TimeRanges); +html$.TitleElement = class TitleElement extends html$.HtmlElement { + static new() { + return html$.document.createElement("title"); + } +}; +(html$.TitleElement.created = function() { + html$.TitleElement.__proto__.created.call(this); + ; +}).prototype = html$.TitleElement.prototype; +dart.addTypeTests(html$.TitleElement); +dart.addTypeCaches(html$.TitleElement); +dart.setLibraryUri(html$.TitleElement, I[148]); +dart.registerExtension("HTMLTitleElement", html$.TitleElement); +html$.Touch = class Touch$ extends _interceptors.Interceptor { + static new(initDict) { + if (initDict == null) dart.nullFailed(I[147], 30253, 21, "initDict"); + let initDict_1 = html_common.convertDartToNative_Dictionary(initDict); + return html$.Touch._create_1(initDict_1); + } + static _create_1(initDict) { + return new Touch(initDict); + } + get [S$1._clientX]() { + return this.clientX; + } + get [S$1._clientY]() { + return this.clientY; + } + get [S$2.$force]() { + return this.force; + } + get [S$2.$identifier]() { + return this.identifier; + } + get [S$1._pageX]() { + return this.pageX; + } + get [S$1._pageY]() { + return this.pageY; + } + get [S$2._radiusX]() { + return this.radiusX; + } + get [S$2._radiusY]() { + return this.radiusY; + } + get [S$1.$region]() { + return this.region; + } + get [S$2.$rotationAngle]() { + return this.rotationAngle; + } + get [S$1._screenX]() { + return this.screenX; + } + get [S$1._screenY]() { + return this.screenY; + } + get [S.$target]() { + return html$._convertNativeToDart_EventTarget(this[S._get_target]); + } + get [S._get_target]() { + return this.target; + } + get [S$2.__clientX]() { + return this.clientX[$round](); + } + get [S$2.__clientY]() { + return this.clientY[$round](); + } + get [S$2.__screenX]() { + return this.screenX[$round](); + } + get [S$2.__screenY]() { + return this.screenY[$round](); + } + get [S$2.__pageX]() { + return this.pageX[$round](); + } + get [S$2.__pageY]() { + return this.pageY[$round](); + } + get [S$2.__radiusX]() { + return this.radiusX[$round](); + } + get [S$2.__radiusY]() { + return this.radiusY[$round](); + } + get [S.$client]() { + return new (T$0.PointOfnum()).new(this[S$2.__clientX], this[S$2.__clientY]); + } + get [S$0.$page]() { + return new (T$0.PointOfnum()).new(this[S$2.__pageX], this[S$2.__pageY]); + } + get [S$1.$screen]() { + return new (T$0.PointOfnum()).new(this[S$2.__screenX], this[S$2.__screenY]); + } + get [S$2.$radiusX]() { + return this[S$2.__radiusX]; + } + get [S$2.$radiusY]() { + return this[S$2.__radiusY]; + } +}; +dart.addTypeTests(html$.Touch); +dart.addTypeCaches(html$.Touch); +dart.setGetterSignature(html$.Touch, () => ({ + __proto__: dart.getGetters(html$.Touch.__proto__), + [S$1._clientX]: dart.nullable(core.num), + [S$1._clientY]: dart.nullable(core.num), + [S$2.$force]: dart.nullable(core.num), + [S$2.$identifier]: dart.nullable(core.int), + [S$1._pageX]: dart.nullable(core.num), + [S$1._pageY]: dart.nullable(core.num), + [S$2._radiusX]: dart.nullable(core.num), + [S$2._radiusY]: dart.nullable(core.num), + [S$1.$region]: dart.nullable(core.String), + [S$2.$rotationAngle]: dart.nullable(core.num), + [S$1._screenX]: dart.nullable(core.num), + [S$1._screenY]: dart.nullable(core.num), + [S.$target]: dart.nullable(html$.EventTarget), + [S._get_target]: dart.dynamic, + [S$2.__clientX]: core.int, + [S$2.__clientY]: core.int, + [S$2.__screenX]: core.int, + [S$2.__screenY]: core.int, + [S$2.__pageX]: core.int, + [S$2.__pageY]: core.int, + [S$2.__radiusX]: core.int, + [S$2.__radiusY]: core.int, + [S.$client]: math.Point$(core.num), + [S$0.$page]: math.Point$(core.num), + [S$1.$screen]: math.Point$(core.num), + [S$2.$radiusX]: core.int, + [S$2.$radiusY]: core.int +})); +dart.setLibraryUri(html$.Touch, I[148]); +dart.registerExtension("Touch", html$.Touch); +html$.TouchEvent = class TouchEvent$ extends html$.UIEvent { + static new(type, eventInitDict = null) { + if (type == null) dart.nullFailed(I[147], 30335, 29, "type"); + if (eventInitDict != null) { + let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); + return html$.TouchEvent._create_1(type, eventInitDict_1); + } + return html$.TouchEvent._create_2(type); + } + static _create_1(type, eventInitDict) { + return new TouchEvent(type, eventInitDict); + } + static _create_2(type) { + return new TouchEvent(type); + } + get [S$1.$altKey]() { + return this.altKey; + } + get [S$2.$changedTouches]() { + return this.changedTouches; + } + get [S$1.$ctrlKey]() { + return this.ctrlKey; + } + get [S$1.$metaKey]() { + return this.metaKey; + } + get [S$1.$shiftKey]() { + return this.shiftKey; + } + get [S$3.$targetTouches]() { + return this.targetTouches; + } + get [S$3.$touches]() { + return this.touches; + } + static get supported() { + try { + return html$.TouchEvent.is(html$.TouchEvent.new("touches")); + } catch (e) { + let _ = dart.getThrown(e); + if (core.Object.is(_)) { + } else + throw e; + } + return false; + } +}; +dart.addTypeTests(html$.TouchEvent); +dart.addTypeCaches(html$.TouchEvent); +dart.setGetterSignature(html$.TouchEvent, () => ({ + __proto__: dart.getGetters(html$.TouchEvent.__proto__), + [S$1.$altKey]: dart.nullable(core.bool), + [S$2.$changedTouches]: dart.nullable(html$.TouchList), + [S$1.$ctrlKey]: dart.nullable(core.bool), + [S$1.$metaKey]: dart.nullable(core.bool), + [S$1.$shiftKey]: dart.nullable(core.bool), + [S$3.$targetTouches]: dart.nullable(html$.TouchList), + [S$3.$touches]: dart.nullable(html$.TouchList) +})); +dart.setLibraryUri(html$.TouchEvent, I[148]); +dart.registerExtension("TouchEvent", html$.TouchEvent); +const Interceptor_ListMixin$36$7 = class Interceptor_ListMixin extends _interceptors.Interceptor {}; +(Interceptor_ListMixin$36$7.new = function() { + Interceptor_ListMixin$36$7.__proto__.new.call(this); +}).prototype = Interceptor_ListMixin$36$7.prototype; +dart.applyMixin(Interceptor_ListMixin$36$7, collection.ListMixin$(html$.Touch)); +const Interceptor_ImmutableListMixin$36$7 = class Interceptor_ImmutableListMixin extends Interceptor_ListMixin$36$7 {}; +(Interceptor_ImmutableListMixin$36$7.new = function() { + Interceptor_ImmutableListMixin$36$7.__proto__.new.call(this); +}).prototype = Interceptor_ImmutableListMixin$36$7.prototype; +dart.applyMixin(Interceptor_ImmutableListMixin$36$7, html$.ImmutableListMixin$(html$.Touch)); +html$.TouchList = class TouchList extends Interceptor_ImmutableListMixin$36$7 { + static get supported() { + return !!document.createTouchList; + } + get [$length]() { + return this.length; + } + [$_get](index) { + if (index == null) dart.nullFailed(I[147], 30390, 25, "index"); + if (index >>> 0 !== index || index >= this[$length]) dart.throw(new core.IndexError.new(index, this)); + return this[index]; + } + [$_set](index, value$) { + let value = value$; + if (index == null) dart.nullFailed(I[147], 30396, 25, "index"); + html$.Touch.as(value); + if (value == null) dart.nullFailed(I[147], 30396, 38, "value"); + dart.throw(new core.UnsupportedError.new("Cannot assign element of immutable List.")); + return value$; + } + set [$length](value) { + if (value == null) dart.nullFailed(I[147], 30402, 18, "value"); + dart.throw(new core.UnsupportedError.new("Cannot resize immutable List.")); + } + get [$first]() { + if (dart.notNull(this[$length]) > 0) { + return this[0]; + } + dart.throw(new core.StateError.new("No elements")); + } + set [$first](value) { + super[$first] = value; + } + get [$last]() { + let len = this[$length]; + if (dart.notNull(len) > 0) { + return this[dart.notNull(len) - 1]; + } + dart.throw(new core.StateError.new("No elements")); + } + set [$last](value) { + super[$last] = value; + } + get [$single]() { + let len = this[$length]; + if (len === 1) { + return this[0]; + } + if (len === 0) dart.throw(new core.StateError.new("No elements")); + dart.throw(new core.StateError.new("More than one element")); + } + [$elementAt](index) { + if (index == null) dart.nullFailed(I[147], 30430, 23, "index"); + return this[$_get](index); + } + [S$.$item](...args) { + return this.item.apply(this, args); + } +}; +html$.TouchList.prototype[dart.isList] = true; +dart.addTypeTests(html$.TouchList); +dart.addTypeCaches(html$.TouchList); +html$.TouchList[dart.implements] = () => [_js_helper.JavaScriptIndexingBehavior$(html$.Touch), core.List$(html$.Touch)]; +dart.setMethodSignature(html$.TouchList, () => ({ + __proto__: dart.getMethods(html$.TouchList.__proto__), + [$_get]: dart.fnType(html$.Touch, [core.int]), + [$_set]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), + [S$.$item]: dart.fnType(dart.nullable(html$.Touch), [core.int]) +})); +dart.setGetterSignature(html$.TouchList, () => ({ + __proto__: dart.getGetters(html$.TouchList.__proto__), + [$length]: core.int +})); +dart.setSetterSignature(html$.TouchList, () => ({ + __proto__: dart.getSetters(html$.TouchList.__proto__), + [$length]: core.int +})); +dart.setLibraryUri(html$.TouchList, I[148]); +dart.registerExtension("TouchList", html$.TouchList); +html$.TrackDefault = class TrackDefault$ extends _interceptors.Interceptor { + static new(type, language, label, kinds, byteStreamTrackID = null) { + if (type == null) dart.nullFailed(I[147], 30447, 14, "type"); + if (language == null) dart.nullFailed(I[147], 30447, 27, "language"); + if (label == null) dart.nullFailed(I[147], 30447, 44, "label"); + if (kinds == null) dart.nullFailed(I[147], 30447, 64, "kinds"); + if (byteStreamTrackID != null) { + let kinds_1 = html_common.convertDartToNative_StringArray(kinds); + return html$.TrackDefault._create_1(type, language, label, kinds_1, byteStreamTrackID); + } + let kinds_1 = html_common.convertDartToNative_StringArray(kinds); + return html$.TrackDefault._create_2(type, language, label, kinds_1); + } + static _create_1(type, language, label, kinds, byteStreamTrackID) { + return new TrackDefault(type, language, label, kinds, byteStreamTrackID); + } + static _create_2(type, language, label, kinds) { + return new TrackDefault(type, language, label, kinds); + } + get [S$3.$byteStreamTrackID]() { + return this.byteStreamTrackID; + } + get [S$3.$kinds]() { + return this.kinds; + } + get [S$.$label]() { + return this.label; + } + get [S$1.$language]() { + return this.language; + } + get [S.$type]() { + return this.type; + } +}; +dart.addTypeTests(html$.TrackDefault); +dart.addTypeCaches(html$.TrackDefault); +dart.setGetterSignature(html$.TrackDefault, () => ({ + __proto__: dart.getGetters(html$.TrackDefault.__proto__), + [S$3.$byteStreamTrackID]: dart.nullable(core.String), + [S$3.$kinds]: dart.nullable(core.Object), + [S$.$label]: dart.nullable(core.String), + [S$1.$language]: dart.nullable(core.String), + [S.$type]: dart.nullable(core.String) +})); +dart.setLibraryUri(html$.TrackDefault, I[148]); +dart.registerExtension("TrackDefault", html$.TrackDefault); +html$.TrackDefaultList = class TrackDefaultList$ extends _interceptors.Interceptor { + static new(trackDefaults = null) { + if (trackDefaults != null) { + return html$.TrackDefaultList._create_1(trackDefaults); + } + return html$.TrackDefaultList._create_2(); + } + static _create_1(trackDefaults) { + return new TrackDefaultList(trackDefaults); + } + static _create_2() { + return new TrackDefaultList(); + } + get [$length]() { + return this.length; + } + [S$.$item](...args) { + return this.item.apply(this, args); + } +}; +dart.addTypeTests(html$.TrackDefaultList); +dart.addTypeCaches(html$.TrackDefaultList); +dart.setMethodSignature(html$.TrackDefaultList, () => ({ + __proto__: dart.getMethods(html$.TrackDefaultList.__proto__), + [S$.$item]: dart.fnType(html$.TrackDefault, [core.int]) +})); +dart.setGetterSignature(html$.TrackDefaultList, () => ({ + __proto__: dart.getGetters(html$.TrackDefaultList.__proto__), + [$length]: dart.nullable(core.int) +})); +dart.setLibraryUri(html$.TrackDefaultList, I[148]); +dart.registerExtension("TrackDefaultList", html$.TrackDefaultList); +html$.TrackElement = class TrackElement extends html$.HtmlElement { + static new() { + return html$.TrackElement.as(html$.document[S.$createElement]("track")); + } + static get supported() { + return html$.Element.isTagSupported("track"); + } + get [S$1.$defaultValue]() { + return this.default; + } + set [S$1.$defaultValue](value) { + this.default = value; + } + get [S$.$kind]() { + return this.kind; + } + set [S$.$kind](value) { + this.kind = value; + } + get [S$.$label]() { + return this.label; + } + set [S$.$label](value) { + this.label = value; + } + get [S.$readyState]() { + return this.readyState; + } + get [S$.$src]() { + return this.src; + } + set [S$.$src](value) { + this.src = value; + } + get [S$3.$srclang]() { + return this.srclang; + } + set [S$3.$srclang](value) { + this.srclang = value; + } + get [S$1.$track]() { + return this.track; + } +}; +(html$.TrackElement.created = function() { + html$.TrackElement.__proto__.created.call(this); + ; +}).prototype = html$.TrackElement.prototype; +dart.addTypeTests(html$.TrackElement); +dart.addTypeCaches(html$.TrackElement); +dart.setGetterSignature(html$.TrackElement, () => ({ + __proto__: dart.getGetters(html$.TrackElement.__proto__), + [S$1.$defaultValue]: dart.nullable(core.bool), + [S$.$kind]: dart.nullable(core.String), + [S$.$label]: dart.nullable(core.String), + [S.$readyState]: dart.nullable(core.int), + [S$.$src]: dart.nullable(core.String), + [S$3.$srclang]: dart.nullable(core.String), + [S$1.$track]: dart.nullable(html$.TextTrack) +})); +dart.setSetterSignature(html$.TrackElement, () => ({ + __proto__: dart.getSetters(html$.TrackElement.__proto__), + [S$1.$defaultValue]: dart.nullable(core.bool), + [S$.$kind]: dart.nullable(core.String), + [S$.$label]: dart.nullable(core.String), + [S$.$src]: dart.nullable(core.String), + [S$3.$srclang]: dart.nullable(core.String) +})); +dart.setLibraryUri(html$.TrackElement, I[148]); +dart.defineLazy(html$.TrackElement, { + /*html$.TrackElement.ERROR*/get ERROR() { + return 3; + }, + /*html$.TrackElement.LOADED*/get LOADED() { + return 2; + }, + /*html$.TrackElement.LOADING*/get LOADING() { + return 1; + }, + /*html$.TrackElement.NONE*/get NONE() { + return 0; + } +}, false); +dart.registerExtension("HTMLTrackElement", html$.TrackElement); +html$.TrackEvent = class TrackEvent$ extends html$.Event { + static new(type, eventInitDict = null) { + if (type == null) dart.nullFailed(I[147], 30576, 29, "type"); + if (eventInitDict != null) { + let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); + return html$.TrackEvent._create_1(type, eventInitDict_1); + } + return html$.TrackEvent._create_2(type); + } + static _create_1(type, eventInitDict) { + return new TrackEvent(type, eventInitDict); + } + static _create_2(type) { + return new TrackEvent(type); + } + get [S$1.$track]() { + return this.track; + } +}; +dart.addTypeTests(html$.TrackEvent); +dart.addTypeCaches(html$.TrackEvent); +dart.setGetterSignature(html$.TrackEvent, () => ({ + __proto__: dart.getGetters(html$.TrackEvent.__proto__), + [S$1.$track]: dart.nullable(core.Object) +})); +dart.setLibraryUri(html$.TrackEvent, I[148]); +dart.registerExtension("TrackEvent", html$.TrackEvent); +html$.TransitionEvent = class TransitionEvent$ extends html$.Event { + static new(type, eventInitDict = null) { + if (type == null) dart.nullFailed(I[147], 30602, 34, "type"); + if (eventInitDict != null) { + let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); + return html$.TransitionEvent._create_1(type, eventInitDict_1); + } + return html$.TransitionEvent._create_2(type); + } + static _create_1(type, eventInitDict) { + return new TransitionEvent(type, eventInitDict); + } + static _create_2(type) { + return new TransitionEvent(type); + } + get [S$.$elapsedTime]() { + return this.elapsedTime; + } + get [S$3.$propertyName]() { + return this.propertyName; + } + get [S$3.$pseudoElement]() { + return this.pseudoElement; + } +}; +dart.addTypeTests(html$.TransitionEvent); +dart.addTypeCaches(html$.TransitionEvent); +dart.setGetterSignature(html$.TransitionEvent, () => ({ + __proto__: dart.getGetters(html$.TransitionEvent.__proto__), + [S$.$elapsedTime]: dart.nullable(core.num), + [S$3.$propertyName]: dart.nullable(core.String), + [S$3.$pseudoElement]: dart.nullable(core.String) +})); +dart.setLibraryUri(html$.TransitionEvent, I[148]); +dart.registerExtension("TransitionEvent", html$.TransitionEvent); +dart.registerExtension("WebKitTransitionEvent", html$.TransitionEvent); +html$.TreeWalker = class TreeWalker extends _interceptors.Interceptor { + static new(root, whatToShow) { + if (root == null) dart.nullFailed(I[147], 30627, 27, "root"); + if (whatToShow == null) dart.nullFailed(I[147], 30627, 37, "whatToShow"); + return html$.document[S$1._createTreeWalker](root, whatToShow, null); + } + get [S$3.$currentNode]() { + return this.currentNode; + } + set [S$3.$currentNode](value) { + this.currentNode = value; + } + get [S$.$filter]() { + return this.filter; + } + get [S$1.$root]() { + return this.root; + } + get [S$2.$whatToShow]() { + return this.whatToShow; + } + [S$.$firstChild](...args) { + return this.firstChild.apply(this, args); + } + [S$.$lastChild](...args) { + return this.lastChild.apply(this, args); + } + [S.$nextNode](...args) { + return this.nextNode.apply(this, args); + } + [S$1.$nextSibling](...args) { + return this.nextSibling.apply(this, args); + } + [S$.$parentNode](...args) { + return this.parentNode.apply(this, args); + } + [S$.$previousNode](...args) { + return this.previousNode.apply(this, args); + } + [S$1.$previousSibling](...args) { + return this.previousSibling.apply(this, args); + } +}; +dart.addTypeTests(html$.TreeWalker); +dart.addTypeCaches(html$.TreeWalker); +dart.setMethodSignature(html$.TreeWalker, () => ({ + __proto__: dart.getMethods(html$.TreeWalker.__proto__), + [S$.$firstChild]: dart.fnType(dart.nullable(html$.Node), []), + [S$.$lastChild]: dart.fnType(dart.nullable(html$.Node), []), + [S.$nextNode]: dart.fnType(dart.nullable(html$.Node), []), + [S$1.$nextSibling]: dart.fnType(dart.nullable(html$.Node), []), + [S$.$parentNode]: dart.fnType(dart.nullable(html$.Node), []), + [S$.$previousNode]: dart.fnType(dart.nullable(html$.Node), []), + [S$1.$previousSibling]: dart.fnType(dart.nullable(html$.Node), []) +})); +dart.setGetterSignature(html$.TreeWalker, () => ({ + __proto__: dart.getGetters(html$.TreeWalker.__proto__), + [S$3.$currentNode]: html$.Node, + [S$.$filter]: dart.nullable(html$.NodeFilter), + [S$1.$root]: html$.Node, + [S$2.$whatToShow]: core.int +})); +dart.setSetterSignature(html$.TreeWalker, () => ({ + __proto__: dart.getSetters(html$.TreeWalker.__proto__), + [S$3.$currentNode]: html$.Node +})); +dart.setLibraryUri(html$.TreeWalker, I[148]); +dart.registerExtension("TreeWalker", html$.TreeWalker); +html$.TrustedHtml = class TrustedHtml extends _interceptors.Interceptor {}; +dart.addTypeTests(html$.TrustedHtml); +dart.addTypeCaches(html$.TrustedHtml); +dart.setLibraryUri(html$.TrustedHtml, I[148]); +dart.registerExtension("TrustedHTML", html$.TrustedHtml); +html$.TrustedScriptUrl = class TrustedScriptUrl extends _interceptors.Interceptor {}; +dart.addTypeTests(html$.TrustedScriptUrl); +dart.addTypeCaches(html$.TrustedScriptUrl); +dart.setLibraryUri(html$.TrustedScriptUrl, I[148]); +dart.registerExtension("TrustedScriptURL", html$.TrustedScriptUrl); +html$.TrustedUrl = class TrustedUrl extends _interceptors.Interceptor {}; +dart.addTypeTests(html$.TrustedUrl); +dart.addTypeCaches(html$.TrustedUrl); +dart.setLibraryUri(html$.TrustedUrl, I[148]); +dart.registerExtension("TrustedURL", html$.TrustedUrl); +html$.UListElement = class UListElement extends html$.HtmlElement { + static new() { + return html$.document.createElement("ul"); + } +}; +(html$.UListElement.created = function() { + html$.UListElement.__proto__.created.call(this); + ; +}).prototype = html$.UListElement.prototype; +dart.addTypeTests(html$.UListElement); +dart.addTypeCaches(html$.UListElement); +dart.setLibraryUri(html$.UListElement, I[148]); +dart.registerExtension("HTMLUListElement", html$.UListElement); +html$.UnderlyingSourceBase = class UnderlyingSourceBase extends _interceptors.Interceptor { + [S$.$cancel](reason) { + return js_util.promiseToFuture(dart.dynamic, this.cancel(reason)); + } + [S$3.$notifyLockAcquired](...args) { + return this.notifyLockAcquired.apply(this, args); + } + [S$3.$notifyLockReleased](...args) { + return this.notifyLockReleased.apply(this, args); + } + [S$3.$pull]() { + return js_util.promiseToFuture(dart.dynamic, this.pull()); + } + [S$.$start](stream) { + if (stream == null) dart.nullFailed(I[147], 30801, 23, "stream"); + return js_util.promiseToFuture(dart.dynamic, this.start(stream)); + } +}; +dart.addTypeTests(html$.UnderlyingSourceBase); +dart.addTypeCaches(html$.UnderlyingSourceBase); +dart.setMethodSignature(html$.UnderlyingSourceBase, () => ({ + __proto__: dart.getMethods(html$.UnderlyingSourceBase.__proto__), + [S$.$cancel]: dart.fnType(async.Future, [dart.nullable(core.Object)]), + [S$3.$notifyLockAcquired]: dart.fnType(dart.void, []), + [S$3.$notifyLockReleased]: dart.fnType(dart.void, []), + [S$3.$pull]: dart.fnType(async.Future, []), + [S$.$start]: dart.fnType(async.Future, [core.Object]) +})); +dart.setLibraryUri(html$.UnderlyingSourceBase, I[148]); +dart.registerExtension("UnderlyingSourceBase", html$.UnderlyingSourceBase); +html$.UnknownElement = class UnknownElement extends html$.HtmlElement {}; +(html$.UnknownElement.created = function() { + html$.UnknownElement.__proto__.created.call(this); + ; +}).prototype = html$.UnknownElement.prototype; +dart.addTypeTests(html$.UnknownElement); +dart.addTypeCaches(html$.UnknownElement); +dart.setLibraryUri(html$.UnknownElement, I[148]); +dart.registerExtension("HTMLUnknownElement", html$.UnknownElement); +html$.Url = class Url extends _interceptors.Interceptor { + static createObjectUrl(blob_OR_source_OR_stream) { + return (self.URL || self.webkitURL).createObjectURL(blob_OR_source_OR_stream); + } + static createObjectUrlFromSource(source) { + if (source == null) dart.nullFailed(I[147], 30832, 55, "source"); + return (self.URL || self.webkitURL).createObjectURL(source); + } + static createObjectUrlFromStream(stream) { + if (stream == null) dart.nullFailed(I[147], 30835, 55, "stream"); + return (self.URL || self.webkitURL).createObjectURL(stream); + } + static createObjectUrlFromBlob(blob) { + if (blob == null) dart.nullFailed(I[147], 30838, 46, "blob"); + return (self.URL || self.webkitURL).createObjectURL(blob); + } + static revokeObjectUrl(url) { + if (url == null) dart.nullFailed(I[147], 30841, 38, "url"); + return (self.URL || self.webkitURL).revokeObjectURL(url); + } + [$toString]() { + return String(this); + } + get [S$.$hash]() { + return this.hash; + } + set [S$.$hash](value) { + this.hash = value; + } + get [S$.$host]() { + return this.host; + } + set [S$.$host](value) { + this.host = value; + } + get [S$.$hostname]() { + return this.hostname; + } + set [S$.$hostname](value) { + this.hostname = value; + } + get [S$.$href]() { + return this.href; + } + set [S$.$href](value) { + this.href = value; + } + get [S$.$origin]() { + return this.origin; + } + get [S$.$password]() { + return this.password; + } + set [S$.$password](value) { + this.password = value; + } + get [S$.$pathname]() { + return this.pathname; + } + set [S$.$pathname](value) { + this.pathname = value; + } + get [S$.$port]() { + return this.port; + } + set [S$.$port](value) { + this.port = value; + } + get [S$.$protocol]() { + return this.protocol; + } + set [S$.$protocol](value) { + this.protocol = value; + } + get [S$.$search]() { + return this.search; + } + set [S$.$search](value) { + this.search = value; + } + get [S$3.$searchParams]() { + return this.searchParams; + } + get [S$.$username]() { + return this.username; + } + set [S$.$username](value) { + this.username = value; + } +}; +dart.addTypeTests(html$.Url); +dart.addTypeCaches(html$.Url); +dart.setGetterSignature(html$.Url, () => ({ + __proto__: dart.getGetters(html$.Url.__proto__), + [S$.$hash]: dart.nullable(core.String), + [S$.$host]: dart.nullable(core.String), + [S$.$hostname]: dart.nullable(core.String), + [S$.$href]: dart.nullable(core.String), + [S$.$origin]: dart.nullable(core.String), + [S$.$password]: dart.nullable(core.String), + [S$.$pathname]: dart.nullable(core.String), + [S$.$port]: dart.nullable(core.String), + [S$.$protocol]: dart.nullable(core.String), + [S$.$search]: dart.nullable(core.String), + [S$3.$searchParams]: dart.nullable(html$.UrlSearchParams), + [S$.$username]: dart.nullable(core.String) +})); +dart.setSetterSignature(html$.Url, () => ({ + __proto__: dart.getSetters(html$.Url.__proto__), + [S$.$hash]: dart.nullable(core.String), + [S$.$host]: dart.nullable(core.String), + [S$.$hostname]: dart.nullable(core.String), + [S$.$href]: dart.nullable(core.String), + [S$.$password]: dart.nullable(core.String), + [S$.$pathname]: dart.nullable(core.String), + [S$.$port]: dart.nullable(core.String), + [S$.$protocol]: dart.nullable(core.String), + [S$.$search]: dart.nullable(core.String), + [S$.$username]: dart.nullable(core.String) +})); +dart.setLibraryUri(html$.Url, I[148]); +dart.registerExtension("URL", html$.Url); +html$.UrlSearchParams = class UrlSearchParams extends _interceptors.Interceptor { + static new(init = null) { + if (init != null) { + return html$.UrlSearchParams._create_1(init); + } + return html$.UrlSearchParams._create_2(); + } + static _create_1(init) { + return new URLSearchParams(init); + } + static _create_2() { + return new URLSearchParams(); + } + [S.$append](...args) { + return this.append.apply(this, args); + } + [S.$delete](...args) { + return this.delete.apply(this, args); + } + [S.$get](...args) { + return this.get.apply(this, args); + } + [S.$getAll](...args) { + return this.getAll.apply(this, args); + } + [S$.$has](...args) { + return this.has.apply(this, args); + } + [S$.$set](...args) { + return this.set.apply(this, args); + } + [$sort](...args) { + return this.sort.apply(this, args); + } +}; +dart.addTypeTests(html$.UrlSearchParams); +dart.addTypeCaches(html$.UrlSearchParams); +dart.setMethodSignature(html$.UrlSearchParams, () => ({ + __proto__: dart.getMethods(html$.UrlSearchParams.__proto__), + [S.$append]: dart.fnType(dart.void, [core.String, core.String]), + [S.$delete]: dart.fnType(dart.void, [core.String]), + [S.$get]: dart.fnType(dart.nullable(core.String), [core.String]), + [S.$getAll]: dart.fnType(core.List$(core.String), [core.String]), + [S$.$has]: dart.fnType(core.bool, [core.String]), + [S$.$set]: dart.fnType(dart.void, [core.String, core.String]), + [$sort]: dart.fnType(dart.void, []) +})); +dart.setLibraryUri(html$.UrlSearchParams, I[148]); +dart.registerExtension("URLSearchParams", html$.UrlSearchParams); +html$.UrlUtilsReadOnly = class UrlUtilsReadOnly extends _interceptors.Interceptor { + get hash() { + return this.hash; + } + get host() { + return this.host; + } + get hostname() { + return this.hostname; + } + get href() { + return this.href; + } + get origin() { + return this.origin; + } + get pathname() { + return this.pathname; + } + get port() { + return this.port; + } + get protocol() { + return this.protocol; + } + get search() { + return this.search; + } +}; +dart.addTypeTests(html$.UrlUtilsReadOnly); +dart.addTypeCaches(html$.UrlUtilsReadOnly); +dart.setGetterSignature(html$.UrlUtilsReadOnly, () => ({ + __proto__: dart.getGetters(html$.UrlUtilsReadOnly.__proto__), + hash: dart.nullable(core.String), + [S$.$hash]: dart.nullable(core.String), + host: dart.nullable(core.String), + [S$.$host]: dart.nullable(core.String), + hostname: dart.nullable(core.String), + [S$.$hostname]: dart.nullable(core.String), + href: dart.nullable(core.String), + [S$.$href]: dart.nullable(core.String), + origin: dart.nullable(core.String), + [S$.$origin]: dart.nullable(core.String), + pathname: dart.nullable(core.String), + [S$.$pathname]: dart.nullable(core.String), + port: dart.nullable(core.String), + [S$.$port]: dart.nullable(core.String), + protocol: dart.nullable(core.String), + [S$.$protocol]: dart.nullable(core.String), + search: dart.nullable(core.String), + [S$.$search]: dart.nullable(core.String) +})); +dart.setLibraryUri(html$.UrlUtilsReadOnly, I[148]); +dart.defineExtensionAccessors(html$.UrlUtilsReadOnly, [ + 'hash', + 'host', + 'hostname', + 'href', + 'origin', + 'pathname', + 'port', + 'protocol', + 'search' +]); +html$.VR = class VR extends html$.EventTarget { + [S$3.$getDevices]() { + return js_util.promiseToFuture(dart.dynamic, this.getDevices()); + } +}; +dart.addTypeTests(html$.VR); +dart.addTypeCaches(html$.VR); +dart.setMethodSignature(html$.VR, () => ({ + __proto__: dart.getMethods(html$.VR.__proto__), + [S$3.$getDevices]: dart.fnType(async.Future, []) +})); +dart.setLibraryUri(html$.VR, I[148]); +dart.registerExtension("VR", html$.VR); +html$.VRCoordinateSystem = class VRCoordinateSystem extends _interceptors.Interceptor { + [S$3.$getTransformTo](...args) { + return this.getTransformTo.apply(this, args); + } +}; +dart.addTypeTests(html$.VRCoordinateSystem); +dart.addTypeCaches(html$.VRCoordinateSystem); +dart.setMethodSignature(html$.VRCoordinateSystem, () => ({ + __proto__: dart.getMethods(html$.VRCoordinateSystem.__proto__), + [S$3.$getTransformTo]: dart.fnType(dart.nullable(typed_data.Float32List), [html$.VRCoordinateSystem]) +})); +dart.setLibraryUri(html$.VRCoordinateSystem, I[148]); +dart.registerExtension("VRCoordinateSystem", html$.VRCoordinateSystem); +html$.VRDevice = class VRDevice extends html$.EventTarget { + get [S$3.$deviceName]() { + return this.deviceName; + } + get [S$3.$isExternal]() { + return this.isExternal; + } + [S$3.$requestSession](options = null) { + let options_dict = null; + if (options != null) { + options_dict = html_common.convertDartToNative_Dictionary(options); + } + return js_util.promiseToFuture(dart.dynamic, this.requestSession(options_dict)); + } + [S$3.$supportsSession](options = null) { + let options_dict = null; + if (options != null) { + options_dict = html_common.convertDartToNative_Dictionary(options); + } + return js_util.promiseToFuture(dart.dynamic, this.supportsSession(options_dict)); + } +}; +dart.addTypeTests(html$.VRDevice); +dart.addTypeCaches(html$.VRDevice); +dart.setMethodSignature(html$.VRDevice, () => ({ + __proto__: dart.getMethods(html$.VRDevice.__proto__), + [S$3.$requestSession]: dart.fnType(async.Future, [], [dart.nullable(core.Map)]), + [S$3.$supportsSession]: dart.fnType(async.Future, [], [dart.nullable(core.Map)]) +})); +dart.setGetterSignature(html$.VRDevice, () => ({ + __proto__: dart.getGetters(html$.VRDevice.__proto__), + [S$3.$deviceName]: dart.nullable(core.String), + [S$3.$isExternal]: dart.nullable(core.bool) +})); +dart.setLibraryUri(html$.VRDevice, I[148]); +dart.registerExtension("VRDevice", html$.VRDevice); +html$.VRDeviceEvent = class VRDeviceEvent$ extends html$.Event { + static new(type, eventInitDict) { + if (type == null) dart.nullFailed(I[147], 31027, 32, "type"); + if (eventInitDict == null) dart.nullFailed(I[147], 31027, 42, "eventInitDict"); + let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); + return html$.VRDeviceEvent._create_1(type, eventInitDict_1); + } + static _create_1(type, eventInitDict) { + return new VRDeviceEvent(type, eventInitDict); + } + get [S$3.$device]() { + return this.device; + } +}; +dart.addTypeTests(html$.VRDeviceEvent); +dart.addTypeCaches(html$.VRDeviceEvent); +dart.setGetterSignature(html$.VRDeviceEvent, () => ({ + __proto__: dart.getGetters(html$.VRDeviceEvent.__proto__), + [S$3.$device]: dart.nullable(html$.VRDevice) +})); +dart.setLibraryUri(html$.VRDeviceEvent, I[148]); +dart.registerExtension("VRDeviceEvent", html$.VRDeviceEvent); +html$.VRDisplay = class VRDisplay extends html$.EventTarget { + get [S$3.$capabilities]() { + return this.capabilities; + } + get [S$3.$depthFar]() { + return this.depthFar; + } + set [S$3.$depthFar](value) { + this.depthFar = value; + } + get [S$3.$depthNear]() { + return this.depthNear; + } + set [S$3.$depthNear](value) { + this.depthNear = value; + } + get [S$1.$displayId]() { + return this.displayId; + } + get [S$3.$displayName]() { + return this.displayName; + } + get [S$3.$isPresenting]() { + return this.isPresenting; + } + get [S$3.$stageParameters]() { + return this.stageParameters; + } + [S$3.$cancelAnimationFrame](...args) { + return this.cancelAnimationFrame.apply(this, args); + } + [S$3.$exitPresent]() { + return js_util.promiseToFuture(dart.dynamic, this.exitPresent()); + } + [S$3.$getEyeParameters](...args) { + return this.getEyeParameters.apply(this, args); + } + [S$3.$getFrameData](...args) { + return this.getFrameData.apply(this, args); + } + [S$3.$getLayers](...args) { + return this.getLayers.apply(this, args); + } + [S$3.$requestAnimationFrame](...args) { + return this.requestAnimationFrame.apply(this, args); + } + [S$3.$requestPresent](layers) { + if (layers == null) dart.nullFailed(I[147], 31077, 35, "layers"); + return js_util.promiseToFuture(dart.dynamic, this.requestPresent(layers)); + } + [S$3.$submitFrame](...args) { + return this.submitFrame.apply(this, args); + } +}; +dart.addTypeTests(html$.VRDisplay); +dart.addTypeCaches(html$.VRDisplay); +dart.setMethodSignature(html$.VRDisplay, () => ({ + __proto__: dart.getMethods(html$.VRDisplay.__proto__), + [S$3.$cancelAnimationFrame]: dart.fnType(dart.void, [core.int]), + [S$3.$exitPresent]: dart.fnType(async.Future, []), + [S$3.$getEyeParameters]: dart.fnType(html$.VREyeParameters, [core.String]), + [S$3.$getFrameData]: dart.fnType(core.bool, [html$.VRFrameData]), + [S$3.$getLayers]: dart.fnType(core.List$(core.Map), []), + [S$3.$requestAnimationFrame]: dart.fnType(core.int, [dart.fnType(dart.void, [core.num])]), + [S$3.$requestPresent]: dart.fnType(async.Future, [core.List$(core.Map)]), + [S$3.$submitFrame]: dart.fnType(dart.void, []) +})); +dart.setGetterSignature(html$.VRDisplay, () => ({ + __proto__: dart.getGetters(html$.VRDisplay.__proto__), + [S$3.$capabilities]: dart.nullable(html$.VRDisplayCapabilities), + [S$3.$depthFar]: dart.nullable(core.num), + [S$3.$depthNear]: dart.nullable(core.num), + [S$1.$displayId]: dart.nullable(core.int), + [S$3.$displayName]: dart.nullable(core.String), + [S$3.$isPresenting]: dart.nullable(core.bool), + [S$3.$stageParameters]: dart.nullable(html$.VRStageParameters) +})); +dart.setSetterSignature(html$.VRDisplay, () => ({ + __proto__: dart.getSetters(html$.VRDisplay.__proto__), + [S$3.$depthFar]: dart.nullable(core.num), + [S$3.$depthNear]: dart.nullable(core.num) +})); +dart.setLibraryUri(html$.VRDisplay, I[148]); +dart.registerExtension("VRDisplay", html$.VRDisplay); +html$.VRDisplayCapabilities = class VRDisplayCapabilities extends _interceptors.Interceptor { + get [S$3.$canPresent]() { + return this.canPresent; + } + get [S$3.$hasExternalDisplay]() { + return this.hasExternalDisplay; + } + get [S$1.$hasPosition]() { + return this.hasPosition; + } + get [S$3.$maxLayers]() { + return this.maxLayers; + } +}; +dart.addTypeTests(html$.VRDisplayCapabilities); +dart.addTypeCaches(html$.VRDisplayCapabilities); +dart.setGetterSignature(html$.VRDisplayCapabilities, () => ({ + __proto__: dart.getGetters(html$.VRDisplayCapabilities.__proto__), + [S$3.$canPresent]: dart.nullable(core.bool), + [S$3.$hasExternalDisplay]: dart.nullable(core.bool), + [S$1.$hasPosition]: dart.nullable(core.bool), + [S$3.$maxLayers]: dart.nullable(core.int) +})); +dart.setLibraryUri(html$.VRDisplayCapabilities, I[148]); +dart.registerExtension("VRDisplayCapabilities", html$.VRDisplayCapabilities); +html$.VRDisplayEvent = class VRDisplayEvent$ extends html$.Event { + static new(type, eventInitDict = null) { + if (type == null) dart.nullFailed(I[147], 31112, 33, "type"); + if (eventInitDict != null) { + let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); + return html$.VRDisplayEvent._create_1(type, eventInitDict_1); + } + return html$.VRDisplayEvent._create_2(type); + } + static _create_1(type, eventInitDict) { + return new VRDisplayEvent(type, eventInitDict); + } + static _create_2(type) { + return new VRDisplayEvent(type); + } + get [S$0.$display]() { + return this.display; + } + get [S$.$reason]() { + return this.reason; + } +}; +dart.addTypeTests(html$.VRDisplayEvent); +dart.addTypeCaches(html$.VRDisplayEvent); +dart.setGetterSignature(html$.VRDisplayEvent, () => ({ + __proto__: dart.getGetters(html$.VRDisplayEvent.__proto__), + [S$0.$display]: dart.nullable(html$.VRDisplay), + [S$.$reason]: dart.nullable(core.String) +})); +dart.setLibraryUri(html$.VRDisplayEvent, I[148]); +dart.registerExtension("VRDisplayEvent", html$.VRDisplayEvent); +html$.VREyeParameters = class VREyeParameters extends _interceptors.Interceptor { + get [S.$offset]() { + return this.offset; + } + get [S$3.$renderHeight]() { + return this.renderHeight; + } + get [S$3.$renderWidth]() { + return this.renderWidth; + } +}; +dart.addTypeTests(html$.VREyeParameters); +dart.addTypeCaches(html$.VREyeParameters); +dart.setGetterSignature(html$.VREyeParameters, () => ({ + __proto__: dart.getGetters(html$.VREyeParameters.__proto__), + [S.$offset]: dart.nullable(typed_data.Float32List), + [S$3.$renderHeight]: dart.nullable(core.int), + [S$3.$renderWidth]: dart.nullable(core.int) +})); +dart.setLibraryUri(html$.VREyeParameters, I[148]); +dart.registerExtension("VREyeParameters", html$.VREyeParameters); +html$.VRFrameData = class VRFrameData$ extends _interceptors.Interceptor { + static new() { + return html$.VRFrameData._create_1(); + } + static _create_1() { + return new VRFrameData(); + } + get [S$3.$leftProjectionMatrix]() { + return this.leftProjectionMatrix; + } + get [S$3.$leftViewMatrix]() { + return this.leftViewMatrix; + } + get [S$1.$pose]() { + return this.pose; + } + get [S$3.$rightProjectionMatrix]() { + return this.rightProjectionMatrix; + } + get [S$3.$rightViewMatrix]() { + return this.rightViewMatrix; + } +}; +dart.addTypeTests(html$.VRFrameData); +dart.addTypeCaches(html$.VRFrameData); +dart.setGetterSignature(html$.VRFrameData, () => ({ + __proto__: dart.getGetters(html$.VRFrameData.__proto__), + [S$3.$leftProjectionMatrix]: dart.nullable(typed_data.Float32List), + [S$3.$leftViewMatrix]: dart.nullable(typed_data.Float32List), + [S$1.$pose]: dart.nullable(html$.VRPose), + [S$3.$rightProjectionMatrix]: dart.nullable(typed_data.Float32List), + [S$3.$rightViewMatrix]: dart.nullable(typed_data.Float32List) +})); +dart.setLibraryUri(html$.VRFrameData, I[148]); +dart.registerExtension("VRFrameData", html$.VRFrameData); +html$.VRFrameOfReference = class VRFrameOfReference extends html$.VRCoordinateSystem { + get [S$3.$bounds]() { + return this.bounds; + } + get [S$3.$emulatedHeight]() { + return this.emulatedHeight; + } +}; +dart.addTypeTests(html$.VRFrameOfReference); +dart.addTypeCaches(html$.VRFrameOfReference); +dart.setGetterSignature(html$.VRFrameOfReference, () => ({ + __proto__: dart.getGetters(html$.VRFrameOfReference.__proto__), + [S$3.$bounds]: dart.nullable(html$.VRStageBounds), + [S$3.$emulatedHeight]: dart.nullable(core.num) +})); +dart.setLibraryUri(html$.VRFrameOfReference, I[148]); +dart.registerExtension("VRFrameOfReference", html$.VRFrameOfReference); +html$.VRPose = class VRPose extends _interceptors.Interceptor { + get [S$1.$angularAcceleration]() { + return this.angularAcceleration; + } + get [S$1.$angularVelocity]() { + return this.angularVelocity; + } + get [S$1.$linearAcceleration]() { + return this.linearAcceleration; + } + get [S$1.$linearVelocity]() { + return this.linearVelocity; + } + get [S$.$orientation]() { + return this.orientation; + } + get [S$0.$position]() { + return this.position; + } +}; +dart.addTypeTests(html$.VRPose); +dart.addTypeCaches(html$.VRPose); +dart.setGetterSignature(html$.VRPose, () => ({ + __proto__: dart.getGetters(html$.VRPose.__proto__), + [S$1.$angularAcceleration]: dart.nullable(typed_data.Float32List), + [S$1.$angularVelocity]: dart.nullable(typed_data.Float32List), + [S$1.$linearAcceleration]: dart.nullable(typed_data.Float32List), + [S$1.$linearVelocity]: dart.nullable(typed_data.Float32List), + [S$.$orientation]: dart.nullable(typed_data.Float32List), + [S$0.$position]: dart.nullable(typed_data.Float32List) +})); +dart.setLibraryUri(html$.VRPose, I[148]); +dart.registerExtension("VRPose", html$.VRPose); +html$.VRSession = class VRSession extends html$.EventTarget { + get [S$3.$depthFar]() { + return this.depthFar; + } + set [S$3.$depthFar](value) { + this.depthFar = value; + } + get [S$3.$depthNear]() { + return this.depthNear; + } + set [S$3.$depthNear](value) { + this.depthNear = value; + } + get [S$3.$device]() { + return this.device; + } + get [S$3.$exclusive]() { + return this.exclusive; + } + [S$2.$end]() { + return js_util.promiseToFuture(dart.dynamic, this.end()); + } + [S$3.$requestFrameOfReference](type, options = null) { + if (type == null) dart.nullFailed(I[147], 31240, 41, "type"); + let options_dict = null; + if (options != null) { + options_dict = html_common.convertDartToNative_Dictionary(options); + } + return js_util.promiseToFuture(dart.dynamic, this.requestFrameOfReference(type, options_dict)); + } + get [S.$onBlur]() { + return html$.VRSession.blurEvent.forTarget(this); + } + get [S.$onFocus]() { + return html$.VRSession.focusEvent.forTarget(this); + } +}; +dart.addTypeTests(html$.VRSession); +dart.addTypeCaches(html$.VRSession); +dart.setMethodSignature(html$.VRSession, () => ({ + __proto__: dart.getMethods(html$.VRSession.__proto__), + [S$2.$end]: dart.fnType(async.Future, []), + [S$3.$requestFrameOfReference]: dart.fnType(async.Future, [core.String], [dart.nullable(core.Map)]) +})); +dart.setGetterSignature(html$.VRSession, () => ({ + __proto__: dart.getGetters(html$.VRSession.__proto__), + [S$3.$depthFar]: dart.nullable(core.num), + [S$3.$depthNear]: dart.nullable(core.num), + [S$3.$device]: dart.nullable(html$.VRDevice), + [S$3.$exclusive]: dart.nullable(core.bool), + [S.$onBlur]: async.Stream$(html$.Event), + [S.$onFocus]: async.Stream$(html$.Event) +})); +dart.setSetterSignature(html$.VRSession, () => ({ + __proto__: dart.getSetters(html$.VRSession.__proto__), + [S$3.$depthFar]: dart.nullable(core.num), + [S$3.$depthNear]: dart.nullable(core.num) +})); +dart.setLibraryUri(html$.VRSession, I[148]); +dart.defineLazy(html$.VRSession, { + /*html$.VRSession.blurEvent*/get blurEvent() { + return C[233] || CT.C233; + }, + /*html$.VRSession.focusEvent*/get focusEvent() { + return C[252] || CT.C252; + } +}, false); +dart.registerExtension("VRSession", html$.VRSession); +html$.VRSessionEvent = class VRSessionEvent$ extends html$.Event { + static new(type, eventInitDict) { + if (type == null) dart.nullFailed(I[147], 31264, 33, "type"); + if (eventInitDict == null) dart.nullFailed(I[147], 31264, 43, "eventInitDict"); + let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); + return html$.VRSessionEvent._create_1(type, eventInitDict_1); + } + static _create_1(type, eventInitDict) { + return new VRSessionEvent(type, eventInitDict); + } + get [S$3.$session]() { + return this.session; + } +}; +dart.addTypeTests(html$.VRSessionEvent); +dart.addTypeCaches(html$.VRSessionEvent); +dart.setGetterSignature(html$.VRSessionEvent, () => ({ + __proto__: dart.getGetters(html$.VRSessionEvent.__proto__), + [S$3.$session]: dart.nullable(html$.VRSession) +})); +dart.setLibraryUri(html$.VRSessionEvent, I[148]); +dart.registerExtension("VRSessionEvent", html$.VRSessionEvent); +html$.VRStageBounds = class VRStageBounds extends _interceptors.Interceptor { + get [S$3.$geometry]() { + return this.geometry; + } +}; +dart.addTypeTests(html$.VRStageBounds); +dart.addTypeCaches(html$.VRStageBounds); +dart.setGetterSignature(html$.VRStageBounds, () => ({ + __proto__: dart.getGetters(html$.VRStageBounds.__proto__), + [S$3.$geometry]: dart.nullable(core.List$(html$.VRStageBoundsPoint)) +})); +dart.setLibraryUri(html$.VRStageBounds, I[148]); +dart.registerExtension("VRStageBounds", html$.VRStageBounds); +html$.VRStageBoundsPoint = class VRStageBoundsPoint extends _interceptors.Interceptor { + get [S$.$x]() { + return this.x; + } + get [S$.$z]() { + return this.z; + } +}; +dart.addTypeTests(html$.VRStageBoundsPoint); +dart.addTypeCaches(html$.VRStageBoundsPoint); +dart.setGetterSignature(html$.VRStageBoundsPoint, () => ({ + __proto__: dart.getGetters(html$.VRStageBoundsPoint.__proto__), + [S$.$x]: dart.nullable(core.num), + [S$.$z]: dart.nullable(core.num) +})); +dart.setLibraryUri(html$.VRStageBoundsPoint, I[148]); +dart.registerExtension("VRStageBoundsPoint", html$.VRStageBoundsPoint); +html$.VRStageParameters = class VRStageParameters extends _interceptors.Interceptor { + get [S$3.$sittingToStandingTransform]() { + return this.sittingToStandingTransform; + } + get [S$3.$sizeX]() { + return this.sizeX; + } + get [S$3.$sizeZ]() { + return this.sizeZ; + } +}; +dart.addTypeTests(html$.VRStageParameters); +dart.addTypeCaches(html$.VRStageParameters); +dart.setGetterSignature(html$.VRStageParameters, () => ({ + __proto__: dart.getGetters(html$.VRStageParameters.__proto__), + [S$3.$sittingToStandingTransform]: dart.nullable(typed_data.Float32List), + [S$3.$sizeX]: dart.nullable(core.num), + [S$3.$sizeZ]: dart.nullable(core.num) +})); +dart.setLibraryUri(html$.VRStageParameters, I[148]); +dart.registerExtension("VRStageParameters", html$.VRStageParameters); +html$.ValidityState = class ValidityState extends _interceptors.Interceptor { + get [S$3.$badInput]() { + return this.badInput; + } + get [S$3.$customError]() { + return this.customError; + } + get [S$3.$patternMismatch]() { + return this.patternMismatch; + } + get [S$3.$rangeOverflow]() { + return this.rangeOverflow; + } + get [S$3.$rangeUnderflow]() { + return this.rangeUnderflow; + } + get [S$3.$stepMismatch]() { + return this.stepMismatch; + } + get [S$3.$tooLong]() { + return this.tooLong; + } + get [S$3.$tooShort]() { + return this.tooShort; + } + get [S$3.$typeMismatch]() { + return this.typeMismatch; + } + get [S$3.$valid]() { + return this.valid; + } + get [S$3.$valueMissing]() { + return this.valueMissing; + } +}; +dart.addTypeTests(html$.ValidityState); +dart.addTypeCaches(html$.ValidityState); +dart.setGetterSignature(html$.ValidityState, () => ({ + __proto__: dart.getGetters(html$.ValidityState.__proto__), + [S$3.$badInput]: dart.nullable(core.bool), + [S$3.$customError]: dart.nullable(core.bool), + [S$3.$patternMismatch]: dart.nullable(core.bool), + [S$3.$rangeOverflow]: dart.nullable(core.bool), + [S$3.$rangeUnderflow]: dart.nullable(core.bool), + [S$3.$stepMismatch]: dart.nullable(core.bool), + [S$3.$tooLong]: dart.nullable(core.bool), + [S$3.$tooShort]: dart.nullable(core.bool), + [S$3.$typeMismatch]: dart.nullable(core.bool), + [S$3.$valid]: dart.nullable(core.bool), + [S$3.$valueMissing]: dart.nullable(core.bool) +})); +dart.setLibraryUri(html$.ValidityState, I[148]); +dart.registerExtension("ValidityState", html$.ValidityState); +html$.VideoElement = class VideoElement extends html$.MediaElement { + static new() { + return html$.document.createElement("video"); + } + get [$height]() { + return this.height; + } + set [$height](value) { + this.height = value; + } + get [S$3.$poster]() { + return this.poster; + } + set [S$3.$poster](value) { + this.poster = value; + } + get [S$3.$videoHeight]() { + return this.videoHeight; + } + get [S$3.$videoWidth]() { + return this.videoWidth; + } + get [S$3.$decodedFrameCount]() { + return this.webkitDecodedFrameCount; + } + get [S$3.$droppedFrameCount]() { + return this.webkitDroppedFrameCount; + } + get [$width]() { + return this.width; + } + set [$width](value) { + this.width = value; + } + [S$3.$getVideoPlaybackQuality](...args) { + return this.getVideoPlaybackQuality.apply(this, args); + } + [S$3.$enterFullscreen](...args) { + return this.webkitEnterFullscreen.apply(this, args); + } + [S$1.$exitFullscreen](...args) { + return this.webkitExitFullscreen.apply(this, args); + } +}; +(html$.VideoElement.created = function() { + html$.VideoElement.__proto__.created.call(this); + ; +}).prototype = html$.VideoElement.prototype; +dart.addTypeTests(html$.VideoElement); +dart.addTypeCaches(html$.VideoElement); +html$.VideoElement[dart.implements] = () => [html$.CanvasImageSource]; +dart.setMethodSignature(html$.VideoElement, () => ({ + __proto__: dart.getMethods(html$.VideoElement.__proto__), + [S$3.$getVideoPlaybackQuality]: dart.fnType(html$.VideoPlaybackQuality, []), + [S$3.$enterFullscreen]: dart.fnType(dart.void, []), + [S$1.$exitFullscreen]: dart.fnType(dart.void, []) +})); +dart.setGetterSignature(html$.VideoElement, () => ({ + __proto__: dart.getGetters(html$.VideoElement.__proto__), + [$height]: core.int, + [S$3.$poster]: core.String, + [S$3.$videoHeight]: core.int, + [S$3.$videoWidth]: core.int, + [S$3.$decodedFrameCount]: dart.nullable(core.int), + [S$3.$droppedFrameCount]: dart.nullable(core.int), + [$width]: core.int +})); +dart.setSetterSignature(html$.VideoElement, () => ({ + __proto__: dart.getSetters(html$.VideoElement.__proto__), + [$height]: core.int, + [S$3.$poster]: core.String, + [$width]: core.int +})); +dart.setLibraryUri(html$.VideoElement, I[148]); +dart.registerExtension("HTMLVideoElement", html$.VideoElement); +html$.VideoPlaybackQuality = class VideoPlaybackQuality extends _interceptors.Interceptor { + get [S$3.$corruptedVideoFrames]() { + return this.corruptedVideoFrames; + } + get [S$3.$creationTime]() { + return this.creationTime; + } + get [S$3.$droppedVideoFrames]() { + return this.droppedVideoFrames; + } + get [S$3.$totalVideoFrames]() { + return this.totalVideoFrames; + } +}; +dart.addTypeTests(html$.VideoPlaybackQuality); +dart.addTypeCaches(html$.VideoPlaybackQuality); +dart.setGetterSignature(html$.VideoPlaybackQuality, () => ({ + __proto__: dart.getGetters(html$.VideoPlaybackQuality.__proto__), + [S$3.$corruptedVideoFrames]: dart.nullable(core.int), + [S$3.$creationTime]: dart.nullable(core.num), + [S$3.$droppedVideoFrames]: dart.nullable(core.int), + [S$3.$totalVideoFrames]: dart.nullable(core.int) +})); +dart.setLibraryUri(html$.VideoPlaybackQuality, I[148]); +dart.registerExtension("VideoPlaybackQuality", html$.VideoPlaybackQuality); +html$.VideoTrack = class VideoTrack extends _interceptors.Interceptor { + get [S.$id]() { + return this.id; + } + get [S$.$kind]() { + return this.kind; + } + get [S$.$label]() { + return this.label; + } + get [S$1.$language]() { + return this.language; + } + get [S$.$selected]() { + return this.selected; + } + set [S$.$selected](value) { + this.selected = value; + } + get [S$3.$sourceBuffer]() { + return this.sourceBuffer; + } +}; +dart.addTypeTests(html$.VideoTrack); +dart.addTypeCaches(html$.VideoTrack); +dart.setGetterSignature(html$.VideoTrack, () => ({ + __proto__: dart.getGetters(html$.VideoTrack.__proto__), + [S.$id]: dart.nullable(core.String), + [S$.$kind]: dart.nullable(core.String), + [S$.$label]: dart.nullable(core.String), + [S$1.$language]: dart.nullable(core.String), + [S$.$selected]: dart.nullable(core.bool), + [S$3.$sourceBuffer]: dart.nullable(html$.SourceBuffer) +})); +dart.setSetterSignature(html$.VideoTrack, () => ({ + __proto__: dart.getSetters(html$.VideoTrack.__proto__), + [S$.$selected]: dart.nullable(core.bool) +})); +dart.setLibraryUri(html$.VideoTrack, I[148]); +dart.registerExtension("VideoTrack", html$.VideoTrack); +html$.VideoTrackList = class VideoTrackList extends html$.EventTarget { + get [$length]() { + return this.length; + } + get [S$2.$selectedIndex]() { + return this.selectedIndex; + } + [S$.__getter__](...args) { + return this.__getter__.apply(this, args); + } + [S$1.$getTrackById](...args) { + return this.getTrackById.apply(this, args); + } + get [S.$onChange]() { + return html$.VideoTrackList.changeEvent.forTarget(this); + } +}; +dart.addTypeTests(html$.VideoTrackList); +dart.addTypeCaches(html$.VideoTrackList); +dart.setMethodSignature(html$.VideoTrackList, () => ({ + __proto__: dart.getMethods(html$.VideoTrackList.__proto__), + [S$.__getter__]: dart.fnType(html$.VideoTrack, [core.int]), + [S$1.$getTrackById]: dart.fnType(dart.nullable(html$.VideoTrack), [core.String]) +})); +dart.setGetterSignature(html$.VideoTrackList, () => ({ + __proto__: dart.getGetters(html$.VideoTrackList.__proto__), + [$length]: dart.nullable(core.int), + [S$2.$selectedIndex]: dart.nullable(core.int), + [S.$onChange]: async.Stream$(html$.Event) +})); +dart.setLibraryUri(html$.VideoTrackList, I[148]); +dart.defineLazy(html$.VideoTrackList, { + /*html$.VideoTrackList.changeEvent*/get changeEvent() { + return C[236] || CT.C236; + } +}, false); +dart.registerExtension("VideoTrackList", html$.VideoTrackList); +html$.VisualViewport = class VisualViewport extends html$.EventTarget { + get [$height]() { + return this.height; + } + get [S.$offsetLeft]() { + return this.offsetLeft; + } + get [S.$offsetTop]() { + return this.offsetTop; + } + get [S$3.$pageLeft]() { + return this.pageLeft; + } + get [S$3.$pageTop]() { + return this.pageTop; + } + get [S$.$scale]() { + return this.scale; + } + get [$width]() { + return this.width; + } + get [S.$onResize]() { + return html$.VisualViewport.resizeEvent.forTarget(this); + } + get [S.$onScroll]() { + return html$.VisualViewport.scrollEvent.forTarget(this); + } +}; +dart.addTypeTests(html$.VisualViewport); +dart.addTypeCaches(html$.VisualViewport); +dart.setGetterSignature(html$.VisualViewport, () => ({ + __proto__: dart.getGetters(html$.VisualViewport.__proto__), + [$height]: dart.nullable(core.num), + [S.$offsetLeft]: dart.nullable(core.num), + [S.$offsetTop]: dart.nullable(core.num), + [S$3.$pageLeft]: dart.nullable(core.num), + [S$3.$pageTop]: dart.nullable(core.num), + [S$.$scale]: dart.nullable(core.num), + [$width]: dart.nullable(core.num), + [S.$onResize]: async.Stream$(html$.Event), + [S.$onScroll]: async.Stream$(html$.Event) +})); +dart.setLibraryUri(html$.VisualViewport, I[148]); +dart.defineLazy(html$.VisualViewport, { + /*html$.VisualViewport.resizeEvent*/get resizeEvent() { + return C[274] || CT.C274; + }, + /*html$.VisualViewport.scrollEvent*/get scrollEvent() { + return C[275] || CT.C275; + } +}, false); +dart.registerExtension("VisualViewport", html$.VisualViewport); +html$.VttCue = class VttCue extends html$.TextTrackCue { + static new(startTime, endTime, text) { + if (startTime == null) dart.nullFailed(I[147], 31533, 22, "startTime"); + if (endTime == null) dart.nullFailed(I[147], 31533, 37, "endTime"); + if (text == null) dart.nullFailed(I[147], 31533, 53, "text"); + return html$.VttCue._create_1(startTime, endTime, text); + } + static _create_1(startTime, endTime, text) { + return new VTTCue(startTime, endTime, text); + } + get [S$3.$align]() { + return this.align; + } + set [S$3.$align](value) { + this.align = value; + } + get [S$3.$line]() { + return this.line; + } + set [S$3.$line](value) { + this.line = value; + } + get [S$0.$position]() { + return this.position; + } + set [S$0.$position](value) { + this.position = value; + } + get [S$1.$region]() { + return this.region; + } + set [S$1.$region](value) { + this.region = value; + } + get [S$.$size]() { + return this.size; + } + set [S$.$size](value) { + this.size = value; + } + get [S$3.$snapToLines]() { + return this.snapToLines; + } + set [S$3.$snapToLines](value) { + this.snapToLines = value; + } + get [S.$text]() { + return this.text; + } + set [S.$text](value) { + this.text = value; + } + get [S$3.$vertical]() { + return this.vertical; + } + set [S$3.$vertical](value) { + this.vertical = value; + } + [S$3.$getCueAsHtml](...args) { + return this.getCueAsHTML.apply(this, args); + } +}; +dart.addTypeTests(html$.VttCue); +dart.addTypeCaches(html$.VttCue); +dart.setMethodSignature(html$.VttCue, () => ({ + __proto__: dart.getMethods(html$.VttCue.__proto__), + [S$3.$getCueAsHtml]: dart.fnType(html$.DocumentFragment, []) +})); +dart.setGetterSignature(html$.VttCue, () => ({ + __proto__: dart.getGetters(html$.VttCue.__proto__), + [S$3.$align]: dart.nullable(core.String), + [S$3.$line]: dart.nullable(core.Object), + [S$0.$position]: dart.nullable(core.Object), + [S$1.$region]: dart.nullable(html$.VttRegion), + [S$.$size]: dart.nullable(core.num), + [S$3.$snapToLines]: dart.nullable(core.bool), + [S.$text]: dart.nullable(core.String), + [S$3.$vertical]: dart.nullable(core.String) +})); +dart.setSetterSignature(html$.VttCue, () => ({ + __proto__: dart.getSetters(html$.VttCue.__proto__), + [S$3.$align]: dart.nullable(core.String), + [S$3.$line]: dart.nullable(core.Object), + [S$0.$position]: dart.nullable(core.Object), + [S$1.$region]: dart.nullable(html$.VttRegion), + [S$.$size]: dart.nullable(core.num), + [S$3.$snapToLines]: dart.nullable(core.bool), + [S.$text]: dart.nullable(core.String), + [S$3.$vertical]: dart.nullable(core.String) +})); +dart.setLibraryUri(html$.VttCue, I[148]); +dart.registerExtension("VTTCue", html$.VttCue); +html$.VttRegion = class VttRegion extends _interceptors.Interceptor { + static new() { + return html$.VttRegion._create_1(); + } + static _create_1() { + return new VTTRegion(); + } + get [S.$id]() { + return this.id; + } + set [S.$id](value) { + this.id = value; + } + get [S$3.$lines]() { + return this.lines; + } + set [S$3.$lines](value) { + this.lines = value; + } + get [S$3.$regionAnchorX]() { + return this.regionAnchorX; + } + set [S$3.$regionAnchorX](value) { + this.regionAnchorX = value; + } + get [S$3.$regionAnchorY]() { + return this.regionAnchorY; + } + set [S$3.$regionAnchorY](value) { + this.regionAnchorY = value; + } + get [S.$scroll]() { + return this.scroll; + } + set [S.$scroll](value) { + this.scroll = value; + } + get [S$3.$viewportAnchorX]() { + return this.viewportAnchorX; + } + set [S$3.$viewportAnchorX](value) { + this.viewportAnchorX = value; + } + get [S$3.$viewportAnchorY]() { + return this.viewportAnchorY; + } + set [S$3.$viewportAnchorY](value) { + this.viewportAnchorY = value; + } + get [$width]() { + return this.width; + } + set [$width](value) { + this.width = value; + } +}; +dart.addTypeTests(html$.VttRegion); +dart.addTypeCaches(html$.VttRegion); +dart.setGetterSignature(html$.VttRegion, () => ({ + __proto__: dart.getGetters(html$.VttRegion.__proto__), + [S.$id]: dart.nullable(core.String), + [S$3.$lines]: dart.nullable(core.int), + [S$3.$regionAnchorX]: dart.nullable(core.num), + [S$3.$regionAnchorY]: dart.nullable(core.num), + [S.$scroll]: dart.nullable(core.String), + [S$3.$viewportAnchorX]: dart.nullable(core.num), + [S$3.$viewportAnchorY]: dart.nullable(core.num), + [$width]: dart.nullable(core.num) +})); +dart.setSetterSignature(html$.VttRegion, () => ({ + __proto__: dart.getSetters(html$.VttRegion.__proto__), + [S.$id]: dart.nullable(core.String), + [S$3.$lines]: dart.nullable(core.int), + [S$3.$regionAnchorX]: dart.nullable(core.num), + [S$3.$regionAnchorY]: dart.nullable(core.num), + [S.$scroll]: dart.nullable(core.String), + [S$3.$viewportAnchorX]: dart.nullable(core.num), + [S$3.$viewportAnchorY]: dart.nullable(core.num), + [$width]: dart.nullable(core.num) +})); +dart.setLibraryUri(html$.VttRegion, I[148]); +dart.registerExtension("VTTRegion", html$.VttRegion); +html$.WebSocket = class WebSocket$ extends html$.EventTarget { + static new(url, protocols = null) { + if (url == null) dart.nullFailed(I[147], 31712, 28, "url"); + if (protocols != null) { + return html$.WebSocket._create_1(url, protocols); + } + return html$.WebSocket._create_2(url); + } + static _create_1(url, protocols) { + return new WebSocket(url, protocols); + } + static _create_2(url) { + return new WebSocket(url); + } + static get supported() { + return typeof window.WebSocket != "undefined"; + } + get [S$2.$binaryType]() { + return this.binaryType; + } + set [S$2.$binaryType](value) { + this.binaryType = value; + } + get [S$2.$bufferedAmount]() { + return this.bufferedAmount; + } + get [S$3.$extensions]() { + return this.extensions; + } + get [S$.$protocol]() { + return this.protocol; + } + get [S.$readyState]() { + return this.readyState; + } + get [S$.$url]() { + return this.url; + } + [S.$close](...args) { + return this.close.apply(this, args); + } + [S$1.$send](...args) { + return this.send.apply(this, args); + } + [S$2.$sendBlob](...args) { + return this.send.apply(this, args); + } + [S$2.$sendByteBuffer](...args) { + return this.send.apply(this, args); + } + [S$2.$sendString](...args) { + return this.send.apply(this, args); + } + [S$2.$sendTypedData](...args) { + return this.send.apply(this, args); + } + get [S.$onClose]() { + return html$.WebSocket.closeEvent.forTarget(this); + } + get [S.$onError]() { + return html$.WebSocket.errorEvent.forTarget(this); + } + get [S$.$onMessage]() { + return html$.WebSocket.messageEvent.forTarget(this); + } + get [S$1.$onOpen]() { + return html$.WebSocket.openEvent.forTarget(this); + } +}; +dart.addTypeTests(html$.WebSocket); +dart.addTypeCaches(html$.WebSocket); +dart.setMethodSignature(html$.WebSocket, () => ({ + __proto__: dart.getMethods(html$.WebSocket.__proto__), + [S.$close]: dart.fnType(dart.void, [], [dart.nullable(core.int), dart.nullable(core.String)]), + [S$1.$send]: dart.fnType(dart.void, [dart.dynamic]), + [S$2.$sendBlob]: dart.fnType(dart.void, [html$.Blob]), + [S$2.$sendByteBuffer]: dart.fnType(dart.void, [typed_data.ByteBuffer]), + [S$2.$sendString]: dart.fnType(dart.void, [core.String]), + [S$2.$sendTypedData]: dart.fnType(dart.void, [typed_data.TypedData]) +})); +dart.setGetterSignature(html$.WebSocket, () => ({ + __proto__: dart.getGetters(html$.WebSocket.__proto__), + [S$2.$binaryType]: dart.nullable(core.String), + [S$2.$bufferedAmount]: dart.nullable(core.int), + [S$3.$extensions]: dart.nullable(core.String), + [S$.$protocol]: dart.nullable(core.String), + [S.$readyState]: core.int, + [S$.$url]: dart.nullable(core.String), + [S.$onClose]: async.Stream$(html$.CloseEvent), + [S.$onError]: async.Stream$(html$.Event), + [S$.$onMessage]: async.Stream$(html$.MessageEvent), + [S$1.$onOpen]: async.Stream$(html$.Event) +})); +dart.setSetterSignature(html$.WebSocket, () => ({ + __proto__: dart.getSetters(html$.WebSocket.__proto__), + [S$2.$binaryType]: dart.nullable(core.String) +})); +dart.setLibraryUri(html$.WebSocket, I[148]); +dart.defineLazy(html$.WebSocket, { + /*html$.WebSocket.closeEvent*/get closeEvent() { + return C[387] || CT.C387; + }, + /*html$.WebSocket.errorEvent*/get errorEvent() { + return C[216] || CT.C216; + }, + /*html$.WebSocket.messageEvent*/get messageEvent() { + return C[312] || CT.C312; + }, + /*html$.WebSocket.openEvent*/get openEvent() { + return C[330] || CT.C330; + }, + /*html$.WebSocket.CLOSED*/get CLOSED() { + return 3; + }, + /*html$.WebSocket.CLOSING*/get CLOSING() { + return 2; + }, + /*html$.WebSocket.CONNECTING*/get CONNECTING() { + return 0; + }, + /*html$.WebSocket.OPEN*/get OPEN() { + return 1; + } +}, false); +dart.registerExtension("WebSocket", html$.WebSocket); +html$.WheelEvent = class WheelEvent$ extends html$.MouseEvent { + static new(type, opts) { + if (type == null) dart.nullFailed(I[147], 31817, 29, "type"); + let view = opts && 'view' in opts ? opts.view : null; + let deltaX = opts && 'deltaX' in opts ? opts.deltaX : 0; + if (deltaX == null) dart.nullFailed(I[147], 31819, 11, "deltaX"); + let deltaY = opts && 'deltaY' in opts ? opts.deltaY : 0; + if (deltaY == null) dart.nullFailed(I[147], 31820, 11, "deltaY"); + let deltaZ = opts && 'deltaZ' in opts ? opts.deltaZ : 0; + if (deltaZ == null) dart.nullFailed(I[147], 31821, 11, "deltaZ"); + let deltaMode = opts && 'deltaMode' in opts ? opts.deltaMode : 0; + if (deltaMode == null) dart.nullFailed(I[147], 31822, 11, "deltaMode"); + let detail = opts && 'detail' in opts ? opts.detail : 0; + if (detail == null) dart.nullFailed(I[147], 31823, 11, "detail"); + let screenX = opts && 'screenX' in opts ? opts.screenX : 0; + if (screenX == null) dart.nullFailed(I[147], 31824, 11, "screenX"); + let screenY = opts && 'screenY' in opts ? opts.screenY : 0; + if (screenY == null) dart.nullFailed(I[147], 31825, 11, "screenY"); + let clientX = opts && 'clientX' in opts ? opts.clientX : 0; + if (clientX == null) dart.nullFailed(I[147], 31826, 11, "clientX"); + let clientY = opts && 'clientY' in opts ? opts.clientY : 0; + if (clientY == null) dart.nullFailed(I[147], 31827, 11, "clientY"); + let button = opts && 'button' in opts ? opts.button : 0; + if (button == null) dart.nullFailed(I[147], 31828, 11, "button"); + let canBubble = opts && 'canBubble' in opts ? opts.canBubble : true; + if (canBubble == null) dart.nullFailed(I[147], 31829, 12, "canBubble"); + let cancelable = opts && 'cancelable' in opts ? opts.cancelable : true; + if (cancelable == null) dart.nullFailed(I[147], 31830, 12, "cancelable"); + let ctrlKey = opts && 'ctrlKey' in opts ? opts.ctrlKey : false; + if (ctrlKey == null) dart.nullFailed(I[147], 31831, 12, "ctrlKey"); + let altKey = opts && 'altKey' in opts ? opts.altKey : false; + if (altKey == null) dart.nullFailed(I[147], 31832, 12, "altKey"); + let shiftKey = opts && 'shiftKey' in opts ? opts.shiftKey : false; + if (shiftKey == null) dart.nullFailed(I[147], 31833, 12, "shiftKey"); + let metaKey = opts && 'metaKey' in opts ? opts.metaKey : false; + if (metaKey == null) dart.nullFailed(I[147], 31834, 12, "metaKey"); + let relatedTarget = opts && 'relatedTarget' in opts ? opts.relatedTarget : null; + let options = new (T$.IdentityMapOfString$ObjectN()).from(["view", view, "deltaMode", deltaMode, "deltaX", deltaX, "deltaY", deltaY, "deltaZ", deltaZ, "detail", detail, "screenX", screenX, "screenY", screenY, "clientX", clientX, "clientY", clientY, "button", button, "bubbles", canBubble, "cancelable", cancelable, "ctrlKey", ctrlKey, "altKey", altKey, "shiftKey", shiftKey, "metaKey", metaKey, "relatedTarget", relatedTarget]); + if (view == null) { + view = html$.window; + } + return new WheelEvent(type, html_common.convertDartToNative_Dictionary(options)); + } + static __(type, eventInitDict = null) { + if (type == null) dart.nullFailed(I[147], 31865, 31, "type"); + if (eventInitDict != null) { + let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); + return html$.WheelEvent._create_1(type, eventInitDict_1); + } + return html$.WheelEvent._create_2(type); + } + static _create_1(type, eventInitDict) { + return new WheelEvent(type, eventInitDict); + } + static _create_2(type) { + return new WheelEvent(type); + } + get [S$3._deltaX]() { + return this.deltaX; + } + get [S$3._deltaY]() { + return this.deltaY; + } + get [S$3.$deltaZ]() { + return this.deltaZ; + } + get [S$2.$deltaY]() { + let value = this.deltaY; + if (value != null) return value; + dart.throw(new core.UnsupportedError.new("deltaY is not supported")); + } + get [S$2.$deltaX]() { + let value = this.deltaX; + if (value != null) return value; + dart.throw(new core.UnsupportedError.new("deltaX is not supported")); + } + get [S$3.$deltaMode]() { + if (!!this.deltaMode) { + return this.deltaMode; + } + return 0; + } + get [S$3._wheelDelta]() { + return this.wheelDelta; + } + get [S$3._wheelDeltaX]() { + return this.wheelDeltaX; + } + get [S$0._detail]() { + return this.detail; + } + get [S$3._hasInitMouseScrollEvent]() { + return !!this.initMouseScrollEvent; + } + [S$3._initMouseScrollEvent](...args) { + return this.initMouseScrollEvent.apply(this, args); + } + get [S$3._hasInitWheelEvent]() { + return !!this.initWheelEvent; + } + [S$3._initWheelEvent](...args) { + return this.initWheelEvent.apply(this, args); + } +}; +dart.addTypeTests(html$.WheelEvent); +dart.addTypeCaches(html$.WheelEvent); +dart.setMethodSignature(html$.WheelEvent, () => ({ + __proto__: dart.getMethods(html$.WheelEvent.__proto__), + [S$3._initMouseScrollEvent]: dart.fnType(dart.void, [core.String, core.bool, core.bool, html$.Window, core.int, core.int, core.int, core.int, core.int, core.bool, core.bool, core.bool, core.bool, core.int, html$.EventTarget, core.int]), + [S$3._initWheelEvent]: dart.fnType(dart.void, [core.String, core.bool, core.bool, html$.Window, core.int, core.int, core.int, core.int, core.int, core.int, html$.EventTarget, core.String, core.int, core.int, core.int, core.int]) +})); +dart.setGetterSignature(html$.WheelEvent, () => ({ + __proto__: dart.getGetters(html$.WheelEvent.__proto__), + [S$3._deltaX]: dart.nullable(core.num), + [S$3._deltaY]: dart.nullable(core.num), + [S$3.$deltaZ]: dart.nullable(core.num), + [S$2.$deltaY]: core.num, + [S$2.$deltaX]: core.num, + [S$3.$deltaMode]: core.int, + [S$3._wheelDelta]: core.num, + [S$3._wheelDeltaX]: core.num, + [S$0._detail]: core.num, + [S$3._hasInitMouseScrollEvent]: core.bool, + [S$3._hasInitWheelEvent]: core.bool +})); +dart.setLibraryUri(html$.WheelEvent, I[148]); +dart.defineLazy(html$.WheelEvent, { + /*html$.WheelEvent.DOM_DELTA_LINE*/get DOM_DELTA_LINE() { + return 1; + }, + /*html$.WheelEvent.DOM_DELTA_PAGE*/get DOM_DELTA_PAGE() { + return 2; + }, + /*html$.WheelEvent.DOM_DELTA_PIXEL*/get DOM_DELTA_PIXEL() { + return 0; + } +}, false); +dart.registerExtension("WheelEvent", html$.WheelEvent); +html$.Window = class Window extends html$.EventTarget { + get [S$3.$animationFrame]() { + let completer = T$0.CompleterOfnum().sync(); + this[S$3.$requestAnimationFrame](dart.fn(time => { + if (time == null) dart.nullFailed(I[147], 32037, 28, "time"); + completer.complete(time); + }, T$0.numTovoid())); + return completer.future; + } + get [S$3.$document]() { + return this.document; + } + [S$3._open2](url, name) { + return this.open(url, name); + } + [S$3._open3](url, name, options) { + return this.open(url, name, options); + } + [S.$open](url, name, options = null) { + if (url == null) dart.nullFailed(I[147], 32068, 26, "url"); + if (name == null) dart.nullFailed(I[147], 32068, 38, "name"); + if (options == null) { + return html$._DOMWindowCrossFrame._createSafe(this[S$3._open2](url, name)); + } else { + return html$._DOMWindowCrossFrame._createSafe(this[S$3._open3](url, name, options)); + } + } + get [S$0.$location]() { + return html$.Location.as(this[S$3._location]); + } + set [S$0.$location](value) { + if (value == null) dart.nullFailed(I[147], 32091, 16, "value"); + this[S$3._location] = value; + } + get [S$3._location]() { + return this.location; + } + set [S$3._location](value) { + this.location = value; + } + [S$3.$requestAnimationFrame](callback) { + if (callback == null) dart.nullFailed(I[147], 32117, 50, "callback"); + this[S$3._ensureRequestAnimationFrame](); + return this[S$3._requestAnimationFrame](dart.nullCheck(html$._wrapZone(core.num, callback))); + } + [S$3.$cancelAnimationFrame](id) { + if (id == null) dart.nullFailed(I[147], 32130, 33, "id"); + this[S$3._ensureRequestAnimationFrame](); + this[S$3._cancelAnimationFrame](id); + } + [S$3._requestAnimationFrame](...args) { + return this.requestAnimationFrame.apply(this, args); + } + [S$3._cancelAnimationFrame](...args) { + return this.cancelAnimationFrame.apply(this, args); + } + [S$3._ensureRequestAnimationFrame]() { + if (!!(this.requestAnimationFrame && this.cancelAnimationFrame)) return; + (function($this) { + var vendors = ['ms', 'moz', 'webkit', 'o']; + for (var i = 0; i < vendors.length && !$this.requestAnimationFrame; ++i) { + $this.requestAnimationFrame = $this[vendors[i] + 'RequestAnimationFrame']; + $this.cancelAnimationFrame = $this[vendors[i] + 'CancelAnimationFrame'] || $this[vendors[i] + 'CancelRequestAnimationFrame']; + } + if ($this.requestAnimationFrame && $this.cancelAnimationFrame) return; + $this.requestAnimationFrame = function(callback) { + return window.setTimeout(function() { + callback(Date.now()); + }, 16); + }; + $this.cancelAnimationFrame = function(id) { + clearTimeout(id); + }; + })(this); + } + get [S$0.$indexedDB]() { + return this.indexedDB || this.webkitIndexedDB || this.mozIndexedDB; + } + get [S$2.$console]() { + return html$.Console._safeConsole; + } + [S$3.$requestFileSystem](size, opts) { + if (size == null) dart.nullFailed(I[147], 32198, 44, "size"); + let persistent = opts && 'persistent' in opts ? opts.persistent : false; + if (persistent == null) dart.nullFailed(I[147], 32198, 56, "persistent"); + return this[S$3._requestFileSystem](dart.test(persistent) ? 1 : 0, size); + } + static get supportsPointConversions() { + return html$.DomPoint.supported; + } + get [S$3.$animationWorklet]() { + return this.animationWorklet; + } + get [S$3.$applicationCache]() { + return this.applicationCache; + } + get [S$3.$audioWorklet]() { + return this.audioWorklet; + } + get [S$0.$caches]() { + return this.caches; + } + get [S$1.$closed]() { + return this.closed; + } + get [S$3.$cookieStore]() { + return this.cookieStore; + } + get [S$0.$crypto]() { + return this.crypto; + } + get [S$3.$customElements]() { + return this.customElements; + } + get [S$3.$defaultStatus]() { + return this.defaultStatus; + } + set [S$3.$defaultStatus](value) { + this.defaultStatus = value; + } + get [S$3.$defaultstatus]() { + return this.defaultstatus; + } + set [S$3.$defaultstatus](value) { + this.defaultstatus = value; + } + get [S$2.$devicePixelRatio]() { + return this.devicePixelRatio; + } + get [S$3.$external]() { + return this.external; + } + get [S$3.$history]() { + return this.history; + } + get [S$3.$innerHeight]() { + return this.innerHeight; + } + get [S$3.$innerWidth]() { + return this.innerWidth; + } + get [S$0.$isSecureContext]() { + return this.isSecureContext; + } + get [S$3.$localStorage]() { + return this.localStorage; + } + get [S$3.$locationbar]() { + return this.locationbar; + } + get [S$3.$menubar]() { + return this.menubar; + } + get [$name]() { + return this.name; + } + set [$name](value) { + this.name = value; + } + get [S$0.$navigator]() { + return this.navigator; + } + get [S$3.$offscreenBuffering]() { + return this.offscreenBuffering; + } + get [S$3.$opener]() { + return html$._convertNativeToDart_Window(this[S$3._get_opener]); + } + get [S$3._get_opener]() { + return this.opener; + } + set [S$3.$opener](value) { + this.opener = value; + } + get [S$.$orientation]() { + return this.orientation; + } + get [S$.$origin]() { + return this.origin; + } + get [S$3.$outerHeight]() { + return this.outerHeight; + } + get [S$3.$outerWidth]() { + return this.outerWidth; + } + get [S$3._pageXOffset]() { + return this.pageXOffset; + } + get [S$3._pageYOffset]() { + return this.pageYOffset; + } + get [S.$parent]() { + return html$._convertNativeToDart_Window(this[S$3._get_parent]); + } + get [S$3._get_parent]() { + return this.parent; + } + get [S$0.$performance]() { + return this.performance; + } + get [S$1.$screen]() { + return this.screen; + } + get [S$3.$screenLeft]() { + return this.screenLeft; + } + get [S$3.$screenTop]() { + return this.screenTop; + } + get [S$3.$screenX]() { + return this.screenX; + } + get [S$3.$screenY]() { + return this.screenY; + } + get [S$3.$scrollbars]() { + return this.scrollbars; + } + get [S$0.$self]() { + return html$._convertNativeToDart_Window(this[S$3._get_self]); + } + get [S$3._get_self]() { + return this.self; + } + get [S$3.$sessionStorage]() { + return this.sessionStorage; + } + get [S$3.$speechSynthesis]() { + return this.speechSynthesis; + } + get [S$.$status]() { + return this.status; + } + set [S$.$status](value) { + this.status = value; + } + get [S$3.$statusbar]() { + return this.statusbar; + } + get [S$3.$styleMedia]() { + return this.styleMedia; + } + get [S$3.$toolbar]() { + return this.toolbar; + } + get [$top]() { + return html$._convertNativeToDart_Window(this[S$3._get_top]); + } + get [S$3._get_top]() { + return this.top; + } + get [S$3.$visualViewport]() { + return this.visualViewport; + } + get [S$0.$window]() { + return html$._convertNativeToDart_Window(this[S$0._get_window]); + } + get [S$0._get_window]() { + return this.window; + } + [S$.__getter__](index_OR_name) { + if (core.int.is(index_OR_name)) { + return dart.nullCheck(html$._convertNativeToDart_Window(this[S$3.__getter___1](index_OR_name))); + } + if (typeof index_OR_name == 'string') { + return dart.nullCheck(html$._convertNativeToDart_Window(this[S$3.__getter___2](index_OR_name))); + } + dart.throw(new core.ArgumentError.new("Incorrect number or type of arguments")); + } + [S$3.__getter___1](...args) { + return this.__getter__.apply(this, args); + } + [S$3.__getter___2](...args) { + return this.__getter__.apply(this, args); + } + [S$3.$alert](...args) { + return this.alert.apply(this, args); + } + [S$3.$cancelIdleCallback](...args) { + return this.cancelIdleCallback.apply(this, args); + } + [S.$close](...args) { + return this.close.apply(this, args); + } + [S$3.$confirm](...args) { + return this.confirm.apply(this, args); + } + [S$.$fetch](input, init = null) { + let init_dict = null; + if (init != null) { + init_dict = html_common.convertDartToNative_Dictionary(init); + } + return js_util.promiseToFuture(dart.dynamic, this.fetch(input, init_dict)); + } + [S$3.$find](...args) { + return this.find.apply(this, args); + } + [S._getComputedStyle](...args) { + return this.getComputedStyle.apply(this, args); + } + [S$3.$getComputedStyleMap](...args) { + return this.getComputedStyleMap.apply(this, args); + } + [S$3.$getMatchedCssRules](...args) { + return this.getMatchedCSSRules.apply(this, args); + } + [S$1.$getSelection](...args) { + return this.getSelection.apply(this, args); + } + [S$3.$matchMedia](...args) { + return this.matchMedia.apply(this, args); + } + [S$3.$moveBy](...args) { + return this.moveBy.apply(this, args); + } + [S$0._moveTo](...args) { + return this.moveTo.apply(this, args); + } + [S$3._openDatabase](...args) { + return this.openDatabase.apply(this, args); + } + [S$.$postMessage](message, targetOrigin, transfer = null) { + if (targetOrigin == null) dart.nullFailed(I[147], 32972, 44, "targetOrigin"); + if (transfer != null) { + let message_1 = html_common.convertDartToNative_SerializedScriptValue(message); + this[S$0._postMessage_1](message_1, targetOrigin, transfer); + return; + } + let message_1 = html_common.convertDartToNative_SerializedScriptValue(message); + this[S$0._postMessage_2](message_1, targetOrigin); + return; + } + [S$0._postMessage_1](...args) { + return this.postMessage.apply(this, args); + } + [S$0._postMessage_2](...args) { + return this.postMessage.apply(this, args); + } + [S$3.$print](...args) { + return this.print.apply(this, args); + } + [S$3.$requestIdleCallback](callback, options = null) { + if (callback == null) dart.nullFailed(I[147], 32999, 47, "callback"); + if (options != null) { + let callback_1 = _js_helper.convertDartClosureToJS(T$0.IdleDeadlineTovoid(), callback, 1); + let options_2 = html_common.convertDartToNative_Dictionary(options); + return this[S$3._requestIdleCallback_1](callback_1, options_2); + } + let callback_1 = _js_helper.convertDartClosureToJS(T$0.IdleDeadlineTovoid(), callback, 1); + return this[S$3._requestIdleCallback_2](callback_1); + } + [S$3._requestIdleCallback_1](...args) { + return this.requestIdleCallback.apply(this, args); + } + [S$3._requestIdleCallback_2](...args) { + return this.requestIdleCallback.apply(this, args); + } + [S$3.$resizeBy](...args) { + return this.resizeBy.apply(this, args); + } + [S$3.$resizeTo](...args) { + return this.resizeTo.apply(this, args); + } + [S.$scroll](options_OR_x = null, y = null, scrollOptions = null) { + if (options_OR_x == null && y == null && scrollOptions == null) { + this[S._scroll_1](); + return; + } + if (core.Map.is(options_OR_x) && y == null && scrollOptions == null) { + let options_1 = html_common.convertDartToNative_Dictionary(options_OR_x); + this[S._scroll_2](options_1); + return; + } + if (typeof y == 'number' && typeof options_OR_x == 'number' && scrollOptions == null) { + this[S._scroll_3](options_OR_x, y); + return; + } + if (core.int.is(y) && core.int.is(options_OR_x) && scrollOptions == null) { + this[S$3._scroll_4](options_OR_x, y); + return; + } + if (scrollOptions != null && core.int.is(y) && core.int.is(options_OR_x)) { + let scrollOptions_1 = html_common.convertDartToNative_Dictionary(scrollOptions); + this[S$3._scroll_5](options_OR_x, y, scrollOptions_1); + return; + } + dart.throw(new core.ArgumentError.new("Incorrect number or type of arguments")); + } + [S._scroll_1](...args) { + return this.scroll.apply(this, args); + } + [S._scroll_2](...args) { + return this.scroll.apply(this, args); + } + [S._scroll_3](...args) { + return this.scroll.apply(this, args); + } + [S$3._scroll_4](...args) { + return this.scroll.apply(this, args); + } + [S$3._scroll_5](...args) { + return this.scroll.apply(this, args); + } + [S.$scrollBy](options_OR_x = null, y = null, scrollOptions = null) { + if (options_OR_x == null && y == null && scrollOptions == null) { + this[S._scrollBy_1](); + return; + } + if (core.Map.is(options_OR_x) && y == null && scrollOptions == null) { + let options_1 = html_common.convertDartToNative_Dictionary(options_OR_x); + this[S._scrollBy_2](options_1); + return; + } + if (typeof y == 'number' && typeof options_OR_x == 'number' && scrollOptions == null) { + this[S._scrollBy_3](options_OR_x, y); + return; + } + if (core.int.is(y) && core.int.is(options_OR_x) && scrollOptions == null) { + this[S$3._scrollBy_4](options_OR_x, y); + return; + } + if (scrollOptions != null && core.int.is(y) && core.int.is(options_OR_x)) { + let scrollOptions_1 = html_common.convertDartToNative_Dictionary(scrollOptions); + this[S$3._scrollBy_5](options_OR_x, y, scrollOptions_1); + return; + } + dart.throw(new core.ArgumentError.new("Incorrect number or type of arguments")); + } + [S._scrollBy_1](...args) { + return this.scrollBy.apply(this, args); + } + [S._scrollBy_2](...args) { + return this.scrollBy.apply(this, args); + } + [S._scrollBy_3](...args) { + return this.scrollBy.apply(this, args); + } + [S$3._scrollBy_4](...args) { + return this.scrollBy.apply(this, args); + } + [S$3._scrollBy_5](...args) { + return this.scrollBy.apply(this, args); + } + [S.$scrollTo](options_OR_x = null, y = null, scrollOptions = null) { + if (options_OR_x == null && y == null && scrollOptions == null) { + this[S._scrollTo_1](); + return; + } + if (core.Map.is(options_OR_x) && y == null && scrollOptions == null) { + let options_1 = html_common.convertDartToNative_Dictionary(options_OR_x); + this[S._scrollTo_2](options_1); + return; + } + if (typeof y == 'number' && typeof options_OR_x == 'number' && scrollOptions == null) { + this[S._scrollTo_3](options_OR_x, y); + return; + } + if (core.int.is(y) && core.int.is(options_OR_x) && scrollOptions == null) { + this[S$3._scrollTo_4](options_OR_x, y); + return; + } + if (scrollOptions != null && core.int.is(y) && core.int.is(options_OR_x)) { + let scrollOptions_1 = html_common.convertDartToNative_Dictionary(scrollOptions); + this[S$3._scrollTo_5](options_OR_x, y, scrollOptions_1); + return; + } + dart.throw(new core.ArgumentError.new("Incorrect number or type of arguments")); + } + [S._scrollTo_1](...args) { + return this.scrollTo.apply(this, args); + } + [S._scrollTo_2](...args) { + return this.scrollTo.apply(this, args); + } + [S._scrollTo_3](...args) { + return this.scrollTo.apply(this, args); + } + [S$3._scrollTo_4](...args) { + return this.scrollTo.apply(this, args); + } + [S$3._scrollTo_5](...args) { + return this.scrollTo.apply(this, args); + } + [S$.$stop](...args) { + return this.stop.apply(this, args); + } + [S$3.__requestFileSystem](...args) { + return this.webkitRequestFileSystem.apply(this, args); + } + [S$3._requestFileSystem](type, size) { + if (type == null) dart.nullFailed(I[147], 33332, 45, "type"); + if (size == null) dart.nullFailed(I[147], 33332, 55, "size"); + let completer = T$0.CompleterOfFileSystem().new(); + this[S$3.__requestFileSystem](type, size, dart.fn(value => { + if (value == null) dart.nullFailed(I[147], 33334, 38, "value"); + _js_helper.applyExtension("DOMFileSystem", value); + _js_helper.applyExtension("DirectoryEntry", value.root); + completer.complete(value); + }, T$0.FileSystemTovoid()), dart.fn(error => { + if (error == null) dart.nullFailed(I[147], 33338, 9, "error"); + completer.completeError(error); + }, T$0.DomExceptionTovoid())); + return completer.future; + } + [S$3._resolveLocalFileSystemUrl](...args) { + return this.webkitResolveLocalFileSystemURL.apply(this, args); + } + [S$3.$resolveLocalFileSystemUrl](url) { + if (url == null) dart.nullFailed(I[147], 33369, 50, "url"); + let completer = T$0.CompleterOfEntry().new(); + this[S$3._resolveLocalFileSystemUrl](url, dart.fn(value => { + if (value == null) dart.nullFailed(I[147], 33371, 38, "value"); + completer.complete(value); + }, T$0.EntryTovoid()), dart.fn(error => { + if (error == null) dart.nullFailed(I[147], 33373, 9, "error"); + completer.completeError(error); + }, T$0.DomExceptionTovoid())); + return completer.future; + } + [S$0.$atob](...args) { + return this.atob.apply(this, args); + } + [S$0.$btoa](...args) { + return this.btoa.apply(this, args); + } + [S$0._setInterval_String](...args) { + return this.setInterval.apply(this, args); + } + [S$0._setTimeout_String](...args) { + return this.setTimeout.apply(this, args); + } + [S$0._clearInterval](...args) { + return this.clearInterval.apply(this, args); + } + [S$0._clearTimeout](...args) { + return this.clearTimeout.apply(this, args); + } + [S$0._setInterval](...args) { + return this.setInterval.apply(this, args); + } + [S$0._setTimeout](...args) { + return this.setTimeout.apply(this, args); + } + get [S$3.$onContentLoaded]() { + return html$.Window.contentLoadedEvent.forTarget(this); + } + get [S.$onAbort]() { + return html$.Element.abortEvent.forTarget(this); + } + get [S.$onBlur]() { + return html$.Element.blurEvent.forTarget(this); + } + get [S.$onCanPlay]() { + return html$.Element.canPlayEvent.forTarget(this); + } + get [S.$onCanPlayThrough]() { + return html$.Element.canPlayThroughEvent.forTarget(this); + } + get [S.$onChange]() { + return html$.Element.changeEvent.forTarget(this); + } + get [S.$onClick]() { + return html$.Element.clickEvent.forTarget(this); + } + get [S.$onContextMenu]() { + return html$.Element.contextMenuEvent.forTarget(this); + } + get [S.$onDoubleClick]() { + return html$.Element.doubleClickEvent.forTarget(this); + } + get [S$3.$onDeviceMotion]() { + return html$.Window.deviceMotionEvent.forTarget(this); + } + get [S$3.$onDeviceOrientation]() { + return html$.Window.deviceOrientationEvent.forTarget(this); + } + get [S.$onDrag]() { + return html$.Element.dragEvent.forTarget(this); + } + get [S.$onDragEnd]() { + return html$.Element.dragEndEvent.forTarget(this); + } + get [S.$onDragEnter]() { + return html$.Element.dragEnterEvent.forTarget(this); + } + get [S.$onDragLeave]() { + return html$.Element.dragLeaveEvent.forTarget(this); + } + get [S.$onDragOver]() { + return html$.Element.dragOverEvent.forTarget(this); + } + get [S.$onDragStart]() { + return html$.Element.dragStartEvent.forTarget(this); + } + get [S.$onDrop]() { + return html$.Element.dropEvent.forTarget(this); + } + get [S.$onDurationChange]() { + return html$.Element.durationChangeEvent.forTarget(this); + } + get [S.$onEmptied]() { + return html$.Element.emptiedEvent.forTarget(this); + } + get [S.$onEnded]() { + return html$.Element.endedEvent.forTarget(this); + } + get [S.$onError]() { + return html$.Element.errorEvent.forTarget(this); + } + get [S.$onFocus]() { + return html$.Element.focusEvent.forTarget(this); + } + get [S$.$onHashChange]() { + return html$.Window.hashChangeEvent.forTarget(this); + } + get [S.$onInput]() { + return html$.Element.inputEvent.forTarget(this); + } + get [S.$onInvalid]() { + return html$.Element.invalidEvent.forTarget(this); + } + get [S.$onKeyDown]() { + return html$.Element.keyDownEvent.forTarget(this); + } + get [S.$onKeyPress]() { + return html$.Element.keyPressEvent.forTarget(this); + } + get [S.$onKeyUp]() { + return html$.Element.keyUpEvent.forTarget(this); + } + get [S.$onLoad]() { + return html$.Element.loadEvent.forTarget(this); + } + get [S.$onLoadedData]() { + return html$.Element.loadedDataEvent.forTarget(this); + } + get [S.$onLoadedMetadata]() { + return html$.Element.loadedMetadataEvent.forTarget(this); + } + get [S$1.$onLoadStart]() { + return html$.Window.loadStartEvent.forTarget(this); + } + get [S$.$onMessage]() { + return html$.Window.messageEvent.forTarget(this); + } + get [S.$onMouseDown]() { + return html$.Element.mouseDownEvent.forTarget(this); + } + get [S.$onMouseEnter]() { + return html$.Element.mouseEnterEvent.forTarget(this); + } + get [S.$onMouseLeave]() { + return html$.Element.mouseLeaveEvent.forTarget(this); + } + get [S.$onMouseMove]() { + return html$.Element.mouseMoveEvent.forTarget(this); + } + get [S.$onMouseOut]() { + return html$.Element.mouseOutEvent.forTarget(this); + } + get [S.$onMouseOver]() { + return html$.Element.mouseOverEvent.forTarget(this); + } + get [S.$onMouseUp]() { + return html$.Element.mouseUpEvent.forTarget(this); + } + get [S.$onMouseWheel]() { + return html$.Element.mouseWheelEvent.forTarget(this); + } + get [S$.$onOffline]() { + return html$.Window.offlineEvent.forTarget(this); + } + get [S$.$onOnline]() { + return html$.Window.onlineEvent.forTarget(this); + } + get [S$3.$onPageHide]() { + return html$.Window.pageHideEvent.forTarget(this); + } + get [S$3.$onPageShow]() { + return html$.Window.pageShowEvent.forTarget(this); + } + get [S.$onPause]() { + return html$.Element.pauseEvent.forTarget(this); + } + get [S.$onPlay]() { + return html$.Element.playEvent.forTarget(this); + } + get [S.$onPlaying]() { + return html$.Element.playingEvent.forTarget(this); + } + get [S$.$onPopState]() { + return html$.Window.popStateEvent.forTarget(this); + } + get [S$.$onProgress]() { + return html$.Window.progressEvent.forTarget(this); + } + get [S.$onRateChange]() { + return html$.Element.rateChangeEvent.forTarget(this); + } + get [S.$onReset]() { + return html$.Element.resetEvent.forTarget(this); + } + get [S.$onResize]() { + return html$.Element.resizeEvent.forTarget(this); + } + get [S.$onScroll]() { + return html$.Element.scrollEvent.forTarget(this); + } + get [S.$onSearch]() { + return html$.Element.searchEvent.forTarget(this); + } + get [S.$onSeeked]() { + return html$.Element.seekedEvent.forTarget(this); + } + get [S.$onSeeking]() { + return html$.Element.seekingEvent.forTarget(this); + } + get [S.$onSelect]() { + return html$.Element.selectEvent.forTarget(this); + } + get [S.$onStalled]() { + return html$.Element.stalledEvent.forTarget(this); + } + get [S$.$onStorage]() { + return html$.Window.storageEvent.forTarget(this); + } + get [S.$onSubmit]() { + return html$.Element.submitEvent.forTarget(this); + } + get [S$.$onSuspend]() { + return html$.Element.suspendEvent.forTarget(this); + } + get [S$.$onTimeUpdate]() { + return html$.Element.timeUpdateEvent.forTarget(this); + } + get [S$.$onTouchCancel]() { + return html$.Element.touchCancelEvent.forTarget(this); + } + get [S$.$onTouchEnd]() { + return html$.Element.touchEndEvent.forTarget(this); + } + get [S$.$onTouchMove]() { + return html$.Element.touchMoveEvent.forTarget(this); + } + get [S$.$onTouchStart]() { + return html$.Element.touchStartEvent.forTarget(this); + } + get [S$.$onTransitionEnd]() { + return html$.Element.transitionEndEvent.forTarget(this); + } + get [S$.$onUnload]() { + return html$.Window.unloadEvent.forTarget(this); + } + get [S$.$onVolumeChange]() { + return html$.Element.volumeChangeEvent.forTarget(this); + } + get [S$.$onWaiting]() { + return html$.Element.waitingEvent.forTarget(this); + } + get [S$3.$onAnimationEnd]() { + return html$.Window.animationEndEvent.forTarget(this); + } + get [S$3.$onAnimationIteration]() { + return html$.Window.animationIterationEvent.forTarget(this); + } + get [S$3.$onAnimationStart]() { + return html$.Window.animationStartEvent.forTarget(this); + } + get [S$3.$onBeforeUnload]() { + return html$.Window.beforeUnloadEvent.forTarget(this); + } + get [S$.$onWheel]() { + return html$.Element.wheelEvent.forTarget(this); + } + [S$.$moveTo](p) { + if (p == null) dart.nullFailed(I[147], 33655, 21, "p"); + this[S$0._moveTo](p.x[$toInt](), p.y[$toInt]()); + } + [S$3.$openDatabase](name, version, displayName, estimatedSize, creationCallback = null) { + if (name == null) dart.nullFailed(I[147], 33664, 14, "name"); + if (version == null) dart.nullFailed(I[147], 33664, 27, "version"); + if (displayName == null) dart.nullFailed(I[147], 33664, 43, "displayName"); + if (estimatedSize == null) dart.nullFailed(I[147], 33664, 60, "estimatedSize"); + let db = null; + if (creationCallback == null) + db = this[S$3._openDatabase](name, version, displayName, estimatedSize); + else + db = this[S$3._openDatabase](name, version, displayName, estimatedSize, creationCallback); + _js_helper.applyExtension("Database", db); + return web_sql.SqlDatabase.as(db); + } + get [S$3.$pageXOffset]() { + return this.pageXOffset[$round](); + } + get [S$3.$pageYOffset]() { + return this.pageYOffset[$round](); + } + get [S$3.$scrollX]() { + return "scrollX" in this ? this.scrollX[$round]() : dart.nullCheck(this[S$3.$document].documentElement)[S.$scrollLeft]; + } + get [S$3.$scrollY]() { + return "scrollY" in this ? this.scrollY[$round]() : dart.nullCheck(this[S$3.$document].documentElement)[S.$scrollTop]; + } +}; +dart.addTypeTests(html$.Window); +dart.addTypeCaches(html$.Window); +html$.Window[dart.implements] = () => [html$.WindowEventHandlers, html$.WindowBase, html$.GlobalEventHandlers, html$._WindowTimers, html$.WindowBase64]; +dart.setMethodSignature(html$.Window, () => ({ + __proto__: dart.getMethods(html$.Window.__proto__), + [S$3._open2]: dart.fnType(dart.nullable(html$.WindowBase), [dart.dynamic, dart.dynamic]), + [S$3._open3]: dart.fnType(dart.nullable(html$.WindowBase), [dart.dynamic, dart.dynamic, dart.dynamic]), + [S.$open]: dart.fnType(html$.WindowBase, [core.String, core.String], [dart.nullable(core.String)]), + [S$3.$requestAnimationFrame]: dart.fnType(core.int, [dart.fnType(dart.void, [core.num])]), + [S$3.$cancelAnimationFrame]: dart.fnType(dart.void, [core.int]), + [S$3._requestAnimationFrame]: dart.fnType(core.int, [dart.fnType(dart.void, [core.num])]), + [S$3._cancelAnimationFrame]: dart.fnType(dart.void, [core.int]), + [S$3._ensureRequestAnimationFrame]: dart.fnType(dart.dynamic, []), + [S$3.$requestFileSystem]: dart.fnType(async.Future$(html$.FileSystem), [core.int], {persistent: core.bool}, {}), + [S$.__getter__]: dart.fnType(html$.WindowBase, [dart.dynamic]), + [S$3.__getter___1]: dart.fnType(dart.dynamic, [core.int]), + [S$3.__getter___2]: dart.fnType(dart.dynamic, [core.String]), + [S$3.$alert]: dart.fnType(dart.void, [], [dart.nullable(core.String)]), + [S$3.$cancelIdleCallback]: dart.fnType(dart.void, [core.int]), + [S.$close]: dart.fnType(dart.void, []), + [S$3.$confirm]: dart.fnType(core.bool, [], [dart.nullable(core.String)]), + [S$.$fetch]: dart.fnType(async.Future, [dart.dynamic], [dart.nullable(core.Map)]), + [S$3.$find]: dart.fnType(core.bool, [dart.nullable(core.String), dart.nullable(core.bool), dart.nullable(core.bool), dart.nullable(core.bool), dart.nullable(core.bool), dart.nullable(core.bool), dart.nullable(core.bool)]), + [S._getComputedStyle]: dart.fnType(html$.CssStyleDeclaration, [html$.Element], [dart.nullable(core.String)]), + [S$3.$getComputedStyleMap]: dart.fnType(html$.StylePropertyMapReadonly, [html$.Element, dart.nullable(core.String)]), + [S$3.$getMatchedCssRules]: dart.fnType(core.List$(html$.CssRule), [dart.nullable(html$.Element), dart.nullable(core.String)]), + [S$1.$getSelection]: dart.fnType(dart.nullable(html$.Selection), []), + [S$3.$matchMedia]: dart.fnType(html$.MediaQueryList, [core.String]), + [S$3.$moveBy]: dart.fnType(dart.void, [core.int, core.int]), + [S$0._moveTo]: dart.fnType(dart.void, [core.int, core.int]), + [S$3._openDatabase]: dart.fnType(web_sql.SqlDatabase, [core.String, core.String, core.String, core.int], [dart.nullable(dart.fnType(dart.void, [web_sql.SqlDatabase]))]), + [S$.$postMessage]: dart.fnType(dart.void, [dart.dynamic, core.String], [dart.nullable(core.List$(core.Object))]), + [S$0._postMessage_1]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, core.List$(core.Object)]), + [S$0._postMessage_2]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic]), + [S$3.$print]: dart.fnType(dart.void, []), + [S$3.$requestIdleCallback]: dart.fnType(core.int, [dart.fnType(dart.void, [html$.IdleDeadline])], [dart.nullable(core.Map)]), + [S$3._requestIdleCallback_1]: dart.fnType(core.int, [dart.dynamic, dart.dynamic]), + [S$3._requestIdleCallback_2]: dart.fnType(core.int, [dart.dynamic]), + [S$3.$resizeBy]: dart.fnType(dart.void, [core.int, core.int]), + [S$3.$resizeTo]: dart.fnType(dart.void, [core.int, core.int]), + [S.$scroll]: dart.fnType(dart.void, [], [dart.dynamic, dart.dynamic, dart.nullable(core.Map)]), + [S._scroll_1]: dart.fnType(dart.void, []), + [S._scroll_2]: dart.fnType(dart.void, [dart.dynamic]), + [S._scroll_3]: dart.fnType(dart.void, [dart.nullable(core.num), dart.nullable(core.num)]), + [S$3._scroll_4]: dart.fnType(dart.void, [dart.nullable(core.int), dart.nullable(core.int)]), + [S$3._scroll_5]: dart.fnType(dart.void, [dart.nullable(core.int), dart.nullable(core.int), dart.dynamic]), + [S.$scrollBy]: dart.fnType(dart.void, [], [dart.dynamic, dart.dynamic, dart.nullable(core.Map)]), + [S._scrollBy_1]: dart.fnType(dart.void, []), + [S._scrollBy_2]: dart.fnType(dart.void, [dart.dynamic]), + [S._scrollBy_3]: dart.fnType(dart.void, [dart.nullable(core.num), dart.nullable(core.num)]), + [S$3._scrollBy_4]: dart.fnType(dart.void, [dart.nullable(core.int), dart.nullable(core.int)]), + [S$3._scrollBy_5]: dart.fnType(dart.void, [dart.nullable(core.int), dart.nullable(core.int), dart.dynamic]), + [S.$scrollTo]: dart.fnType(dart.void, [], [dart.dynamic, dart.dynamic, dart.nullable(core.Map)]), + [S._scrollTo_1]: dart.fnType(dart.void, []), + [S._scrollTo_2]: dart.fnType(dart.void, [dart.dynamic]), + [S._scrollTo_3]: dart.fnType(dart.void, [dart.nullable(core.num), dart.nullable(core.num)]), + [S$3._scrollTo_4]: dart.fnType(dart.void, [dart.nullable(core.int), dart.nullable(core.int)]), + [S$3._scrollTo_5]: dart.fnType(dart.void, [dart.nullable(core.int), dart.nullable(core.int), dart.dynamic]), + [S$.$stop]: dart.fnType(dart.void, []), + [S$3.__requestFileSystem]: dart.fnType(dart.void, [core.int, core.int, dart.fnType(dart.void, [html$.FileSystem])], [dart.nullable(dart.fnType(dart.void, [html$.DomException]))]), + [S$3._requestFileSystem]: dart.fnType(async.Future$(html$.FileSystem), [core.int, core.int]), + [S$3._resolveLocalFileSystemUrl]: dart.fnType(dart.void, [core.String, dart.fnType(dart.void, [html$.Entry])], [dart.nullable(dart.fnType(dart.void, [html$.DomException]))]), + [S$3.$resolveLocalFileSystemUrl]: dart.fnType(async.Future$(html$.Entry), [core.String]), + [S$0.$atob]: dart.fnType(core.String, [core.String]), + [S$0.$btoa]: dart.fnType(core.String, [core.String]), + [S$0._setInterval_String]: dart.fnType(core.int, [core.String], [dart.nullable(core.int), dart.nullable(core.Object)]), + [S$0._setTimeout_String]: dart.fnType(core.int, [core.String], [dart.nullable(core.int), dart.nullable(core.Object)]), + [S$0._clearInterval]: dart.fnType(dart.void, [], [dart.nullable(core.int)]), + [S$0._clearTimeout]: dart.fnType(dart.void, [], [dart.nullable(core.int)]), + [S$0._setInterval]: dart.fnType(core.int, [core.Object], [dart.nullable(core.int)]), + [S$0._setTimeout]: dart.fnType(core.int, [core.Object], [dart.nullable(core.int)]), + [S$.$moveTo]: dart.fnType(dart.void, [math.Point$(core.num)]), + [S$3.$openDatabase]: dart.fnType(web_sql.SqlDatabase, [core.String, core.String, core.String, core.int], [dart.nullable(dart.fnType(dart.void, [web_sql.SqlDatabase]))]) +})); +dart.setGetterSignature(html$.Window, () => ({ + __proto__: dart.getGetters(html$.Window.__proto__), + [S$3.$animationFrame]: async.Future$(core.num), + [S$3.$document]: html$.Document, + [S$0.$location]: html$.Location, + [S$3._location]: dart.dynamic, + [S$0.$indexedDB]: dart.nullable(indexed_db.IdbFactory), + [S$2.$console]: html$.Console, + [S$3.$animationWorklet]: dart.nullable(html$._Worklet), + [S$3.$applicationCache]: dart.nullable(html$.ApplicationCache), + [S$3.$audioWorklet]: dart.nullable(html$._Worklet), + [S$0.$caches]: dart.nullable(html$.CacheStorage), + [S$1.$closed]: dart.nullable(core.bool), + [S$3.$cookieStore]: dart.nullable(html$.CookieStore), + [S$0.$crypto]: dart.nullable(html$.Crypto), + [S$3.$customElements]: dart.nullable(html$.CustomElementRegistry), + [S$3.$defaultStatus]: dart.nullable(core.String), + [S$3.$defaultstatus]: dart.nullable(core.String), + [S$2.$devicePixelRatio]: core.num, + [S$3.$external]: dart.nullable(html$.External), + [S$3.$history]: html$.History, + [S$3.$innerHeight]: dart.nullable(core.int), + [S$3.$innerWidth]: dart.nullable(core.int), + [S$0.$isSecureContext]: dart.nullable(core.bool), + [S$3.$localStorage]: html$.Storage, + [S$3.$locationbar]: dart.nullable(html$.BarProp), + [S$3.$menubar]: dart.nullable(html$.BarProp), + [$name]: dart.nullable(core.String), + [S$0.$navigator]: html$.Navigator, + [S$3.$offscreenBuffering]: dart.nullable(core.bool), + [S$3.$opener]: dart.nullable(html$.WindowBase), + [S$3._get_opener]: dart.dynamic, + [S$.$orientation]: dart.nullable(core.int), + [S$.$origin]: dart.nullable(core.String), + [S$3.$outerHeight]: core.int, + [S$3.$outerWidth]: core.int, + [S$3._pageXOffset]: core.num, + [S$3._pageYOffset]: core.num, + [S.$parent]: dart.nullable(html$.WindowBase), + [S$3._get_parent]: dart.dynamic, + [S$0.$performance]: html$.Performance, + [S$1.$screen]: dart.nullable(html$.Screen), + [S$3.$screenLeft]: dart.nullable(core.int), + [S$3.$screenTop]: dart.nullable(core.int), + [S$3.$screenX]: dart.nullable(core.int), + [S$3.$screenY]: dart.nullable(core.int), + [S$3.$scrollbars]: dart.nullable(html$.BarProp), + [S$0.$self]: dart.nullable(html$.WindowBase), + [S$3._get_self]: dart.dynamic, + [S$3.$sessionStorage]: html$.Storage, + [S$3.$speechSynthesis]: dart.nullable(html$.SpeechSynthesis), + [S$.$status]: dart.nullable(core.String), + [S$3.$statusbar]: dart.nullable(html$.BarProp), + [S$3.$styleMedia]: dart.nullable(html$.StyleMedia), + [S$3.$toolbar]: dart.nullable(html$.BarProp), + [$top]: dart.nullable(html$.WindowBase), + [S$3._get_top]: dart.dynamic, + [S$3.$visualViewport]: dart.nullable(html$.VisualViewport), + [S$0.$window]: dart.nullable(html$.WindowBase), + [S$0._get_window]: dart.dynamic, + [S$3.$onContentLoaded]: async.Stream$(html$.Event), + [S.$onAbort]: async.Stream$(html$.Event), + [S.$onBlur]: async.Stream$(html$.Event), + [S.$onCanPlay]: async.Stream$(html$.Event), + [S.$onCanPlayThrough]: async.Stream$(html$.Event), + [S.$onChange]: async.Stream$(html$.Event), + [S.$onClick]: async.Stream$(html$.MouseEvent), + [S.$onContextMenu]: async.Stream$(html$.MouseEvent), + [S.$onDoubleClick]: async.Stream$(html$.Event), + [S$3.$onDeviceMotion]: async.Stream$(html$.DeviceMotionEvent), + [S$3.$onDeviceOrientation]: async.Stream$(html$.DeviceOrientationEvent), + [S.$onDrag]: async.Stream$(html$.MouseEvent), + [S.$onDragEnd]: async.Stream$(html$.MouseEvent), + [S.$onDragEnter]: async.Stream$(html$.MouseEvent), + [S.$onDragLeave]: async.Stream$(html$.MouseEvent), + [S.$onDragOver]: async.Stream$(html$.MouseEvent), + [S.$onDragStart]: async.Stream$(html$.MouseEvent), + [S.$onDrop]: async.Stream$(html$.MouseEvent), + [S.$onDurationChange]: async.Stream$(html$.Event), + [S.$onEmptied]: async.Stream$(html$.Event), + [S.$onEnded]: async.Stream$(html$.Event), + [S.$onError]: async.Stream$(html$.Event), + [S.$onFocus]: async.Stream$(html$.Event), + [S$.$onHashChange]: async.Stream$(html$.Event), + [S.$onInput]: async.Stream$(html$.Event), + [S.$onInvalid]: async.Stream$(html$.Event), + [S.$onKeyDown]: async.Stream$(html$.KeyboardEvent), + [S.$onKeyPress]: async.Stream$(html$.KeyboardEvent), + [S.$onKeyUp]: async.Stream$(html$.KeyboardEvent), + [S.$onLoad]: async.Stream$(html$.Event), + [S.$onLoadedData]: async.Stream$(html$.Event), + [S.$onLoadedMetadata]: async.Stream$(html$.Event), + [S$1.$onLoadStart]: async.Stream$(html$.Event), + [S$.$onMessage]: async.Stream$(html$.MessageEvent), + [S.$onMouseDown]: async.Stream$(html$.MouseEvent), + [S.$onMouseEnter]: async.Stream$(html$.MouseEvent), + [S.$onMouseLeave]: async.Stream$(html$.MouseEvent), + [S.$onMouseMove]: async.Stream$(html$.MouseEvent), + [S.$onMouseOut]: async.Stream$(html$.MouseEvent), + [S.$onMouseOver]: async.Stream$(html$.MouseEvent), + [S.$onMouseUp]: async.Stream$(html$.MouseEvent), + [S.$onMouseWheel]: async.Stream$(html$.WheelEvent), + [S$.$onOffline]: async.Stream$(html$.Event), + [S$.$onOnline]: async.Stream$(html$.Event), + [S$3.$onPageHide]: async.Stream$(html$.Event), + [S$3.$onPageShow]: async.Stream$(html$.Event), + [S.$onPause]: async.Stream$(html$.Event), + [S.$onPlay]: async.Stream$(html$.Event), + [S.$onPlaying]: async.Stream$(html$.Event), + [S$.$onPopState]: async.Stream$(html$.PopStateEvent), + [S$.$onProgress]: async.Stream$(html$.Event), + [S.$onRateChange]: async.Stream$(html$.Event), + [S.$onReset]: async.Stream$(html$.Event), + [S.$onResize]: async.Stream$(html$.Event), + [S.$onScroll]: async.Stream$(html$.Event), + [S.$onSearch]: async.Stream$(html$.Event), + [S.$onSeeked]: async.Stream$(html$.Event), + [S.$onSeeking]: async.Stream$(html$.Event), + [S.$onSelect]: async.Stream$(html$.Event), + [S.$onStalled]: async.Stream$(html$.Event), + [S$.$onStorage]: async.Stream$(html$.StorageEvent), + [S.$onSubmit]: async.Stream$(html$.Event), + [S$.$onSuspend]: async.Stream$(html$.Event), + [S$.$onTimeUpdate]: async.Stream$(html$.Event), + [S$.$onTouchCancel]: async.Stream$(html$.TouchEvent), + [S$.$onTouchEnd]: async.Stream$(html$.TouchEvent), + [S$.$onTouchMove]: async.Stream$(html$.TouchEvent), + [S$.$onTouchStart]: async.Stream$(html$.TouchEvent), + [S$.$onTransitionEnd]: async.Stream$(html$.TransitionEvent), + [S$.$onUnload]: async.Stream$(html$.Event), + [S$.$onVolumeChange]: async.Stream$(html$.Event), + [S$.$onWaiting]: async.Stream$(html$.Event), + [S$3.$onAnimationEnd]: async.Stream$(html$.AnimationEvent), + [S$3.$onAnimationIteration]: async.Stream$(html$.AnimationEvent), + [S$3.$onAnimationStart]: async.Stream$(html$.AnimationEvent), + [S$3.$onBeforeUnload]: async.Stream$(html$.Event), + [S$.$onWheel]: async.Stream$(html$.WheelEvent), + [S$3.$pageXOffset]: core.int, + [S$3.$pageYOffset]: core.int, + [S$3.$scrollX]: core.int, + [S$3.$scrollY]: core.int +})); +dart.setSetterSignature(html$.Window, () => ({ + __proto__: dart.getSetters(html$.Window.__proto__), + [S$0.$location]: html$.LocationBase, + [S$3._location]: dart.dynamic, + [S$3.$defaultStatus]: dart.nullable(core.String), + [S$3.$defaultstatus]: dart.nullable(core.String), + [$name]: dart.nullable(core.String), + [S$3.$opener]: dart.nullable(html$.WindowBase), + [S$.$status]: dart.nullable(core.String) +})); +dart.setLibraryUri(html$.Window, I[148]); +dart.defineLazy(html$.Window, { + /*html$.Window.contentLoadedEvent*/get contentLoadedEvent() { + return C[388] || CT.C388; + }, + /*html$.Window.deviceMotionEvent*/get deviceMotionEvent() { + return C[389] || CT.C389; + }, + /*html$.Window.deviceOrientationEvent*/get deviceOrientationEvent() { + return C[390] || CT.C390; + }, + /*html$.Window.hashChangeEvent*/get hashChangeEvent() { + return C[311] || CT.C311; + }, + /*html$.Window.loadStartEvent*/get loadStartEvent() { + return C[391] || CT.C391; + }, + /*html$.Window.messageEvent*/get messageEvent() { + return C[312] || CT.C312; + }, + /*html$.Window.offlineEvent*/get offlineEvent() { + return C[313] || CT.C313; + }, + /*html$.Window.onlineEvent*/get onlineEvent() { + return C[314] || CT.C314; + }, + /*html$.Window.pageHideEvent*/get pageHideEvent() { + return C[392] || CT.C392; + }, + /*html$.Window.pageShowEvent*/get pageShowEvent() { + return C[393] || CT.C393; + }, + /*html$.Window.popStateEvent*/get popStateEvent() { + return C[315] || CT.C315; + }, + /*html$.Window.progressEvent*/get progressEvent() { + return C[394] || CT.C394; + }, + /*html$.Window.storageEvent*/get storageEvent() { + return C[316] || CT.C316; + }, + /*html$.Window.unloadEvent*/get unloadEvent() { + return C[317] || CT.C317; + }, + /*html$.Window.animationEndEvent*/get animationEndEvent() { + return C[395] || CT.C395; + }, + /*html$.Window.animationIterationEvent*/get animationIterationEvent() { + return C[396] || CT.C396; + }, + /*html$.Window.animationStartEvent*/get animationStartEvent() { + return C[397] || CT.C397; + }, + /*html$.Window.PERSISTENT*/get PERSISTENT() { + return 1; + }, + /*html$.Window.TEMPORARY*/get TEMPORARY() { + return 0; + }, + /*html$.Window.beforeUnloadEvent*/get beforeUnloadEvent() { + return C[398] || CT.C398; + } +}, false); +dart.registerExtension("Window", html$.Window); +dart.registerExtension("DOMWindow", html$.Window); +html$._WrappedEvent = class _WrappedEvent extends core.Object { + get wrapped() { + return this[S$3.wrapped]; + } + set wrapped(value) { + super.wrapped = value; + } + get bubbles() { + return dart.nullCheck(this.wrapped.bubbles); + } + get cancelable() { + return dart.nullCheck(this.wrapped.cancelable); + } + get composed() { + return dart.nullCheck(this.wrapped.composed); + } + get currentTarget() { + return this.wrapped[S.$currentTarget]; + } + get defaultPrevented() { + return this.wrapped.defaultPrevented; + } + get eventPhase() { + return this.wrapped.eventPhase; + } + get isTrusted() { + return dart.nullCheck(this.wrapped.isTrusted); + } + get target() { + return this.wrapped[S.$target]; + } + get timeStamp() { + return dart.nullCast(this.wrapped.timeStamp, core.double); + } + get type() { + return this.wrapped.type; + } + [S._initEvent](type, bubbles = null, cancelable = null) { + if (type == null) dart.nullFailed(I[147], 40721, 26, "type"); + dart.throw(new core.UnsupportedError.new("Cannot initialize this Event.")); + } + preventDefault() { + this.wrapped.preventDefault(); + } + stopImmediatePropagation() { + this.wrapped.stopImmediatePropagation(); + } + stopPropagation() { + this.wrapped.stopPropagation(); + } + composedPath() { + return this.wrapped.composedPath(); + } + get matchingTarget() { + if (this[S._selector] == null) { + dart.throw(new core.UnsupportedError.new("Cannot call matchingTarget if this Event did" + " not arise as a result of event delegation.")); + } + let currentTarget = T$0.ElementN().as(this.currentTarget); + let target = T$0.ElementN().as(this.target); + do { + if (dart.test(dart.nullCheck(target)[S.$matches](dart.nullCheck(this[S._selector])))) return target; + target = target[S.$parent]; + } while (target != null && !dart.equals(target, dart.nullCheck(currentTarget)[S.$parent])); + dart.throw(new core.StateError.new("No selector matched for populating matchedTarget.")); + } + get path() { + return T$0.ListOfNode().as(this.wrapped[S.$path]); + } + get [S._get_currentTarget]() { + return this.wrapped[S._get_currentTarget]; + } + get [S._get_target]() { + return this.wrapped[S._get_target]; + } +}; +(html$._WrappedEvent.new = function(wrapped) { + if (wrapped == null) dart.nullFailed(I[147], 40699, 22, "wrapped"); + this[S._selector] = null; + this[S$3.wrapped] = wrapped; + ; +}).prototype = html$._WrappedEvent.prototype; +dart.addTypeTests(html$._WrappedEvent); +dart.addTypeCaches(html$._WrappedEvent); +html$._WrappedEvent[dart.implements] = () => [html$.Event]; +dart.setMethodSignature(html$._WrappedEvent, () => ({ + __proto__: dart.getMethods(html$._WrappedEvent.__proto__), + [S._initEvent]: dart.fnType(dart.void, [core.String], [dart.nullable(core.bool), dart.nullable(core.bool)]), + preventDefault: dart.fnType(dart.void, []), + [S.$preventDefault]: dart.fnType(dart.void, []), + stopImmediatePropagation: dart.fnType(dart.void, []), + [S.$stopImmediatePropagation]: dart.fnType(dart.void, []), + stopPropagation: dart.fnType(dart.void, []), + [S.$stopPropagation]: dart.fnType(dart.void, []), + composedPath: dart.fnType(core.List$(html$.EventTarget), []), + [S.$composedPath]: dart.fnType(core.List$(html$.EventTarget), []) +})); +dart.setGetterSignature(html$._WrappedEvent, () => ({ + __proto__: dart.getGetters(html$._WrappedEvent.__proto__), + bubbles: core.bool, + [S.$bubbles]: core.bool, + cancelable: core.bool, + [S.$cancelable]: core.bool, + composed: core.bool, + [S.$composed]: core.bool, + currentTarget: dart.nullable(html$.EventTarget), + [S.$currentTarget]: dart.nullable(html$.EventTarget), + defaultPrevented: core.bool, + [S.$defaultPrevented]: core.bool, + eventPhase: core.int, + [S.$eventPhase]: core.int, + isTrusted: core.bool, + [S.$isTrusted]: core.bool, + target: dart.nullable(html$.EventTarget), + [S.$target]: dart.nullable(html$.EventTarget), + timeStamp: core.double, + [S.$timeStamp]: core.double, + type: core.String, + [S.$type]: core.String, + matchingTarget: html$.Element, + [S.$matchingTarget]: html$.Element, + path: core.List$(html$.Node), + [S.$path]: core.List$(html$.Node), + [S._get_currentTarget]: dart.dynamic, + [S._get_target]: dart.dynamic +})); +dart.setLibraryUri(html$._WrappedEvent, I[148]); +dart.setFieldSignature(html$._WrappedEvent, () => ({ + __proto__: dart.getFields(html$._WrappedEvent.__proto__), + wrapped: dart.finalFieldType(html$.Event), + [S._selector]: dart.fieldType(dart.nullable(core.String)) +})); +dart.defineExtensionMethods(html$._WrappedEvent, ['preventDefault', 'stopImmediatePropagation', 'stopPropagation', 'composedPath']); +dart.defineExtensionAccessors(html$._WrappedEvent, [ + 'bubbles', + 'cancelable', + 'composed', + 'currentTarget', + 'defaultPrevented', + 'eventPhase', + 'isTrusted', + 'target', + 'timeStamp', + 'type', + 'matchingTarget', + 'path' +]); +html$._BeforeUnloadEvent = class _BeforeUnloadEvent extends html$._WrappedEvent { + get returnValue() { + return this[S$3._returnValue]; + } + set returnValue(value) { + this[S$3._returnValue] = dart.nullCheck(value); + if ("returnValue" in this.wrapped) { + this.wrapped.returnValue = value; + } + } +}; +(html$._BeforeUnloadEvent.new = function(base) { + if (base == null) dart.nullFailed(I[147], 33714, 28, "base"); + this[S$3._returnValue] = ""; + html$._BeforeUnloadEvent.__proto__.new.call(this, base); + ; +}).prototype = html$._BeforeUnloadEvent.prototype; +dart.addTypeTests(html$._BeforeUnloadEvent); +dart.addTypeCaches(html$._BeforeUnloadEvent); +html$._BeforeUnloadEvent[dart.implements] = () => [html$.BeforeUnloadEvent]; +dart.setGetterSignature(html$._BeforeUnloadEvent, () => ({ + __proto__: dart.getGetters(html$._BeforeUnloadEvent.__proto__), + returnValue: core.String, + [S$.$returnValue]: core.String +})); +dart.setSetterSignature(html$._BeforeUnloadEvent, () => ({ + __proto__: dart.getSetters(html$._BeforeUnloadEvent.__proto__), + returnValue: dart.nullable(core.String), + [S$.$returnValue]: dart.nullable(core.String) +})); +dart.setLibraryUri(html$._BeforeUnloadEvent, I[148]); +dart.setFieldSignature(html$._BeforeUnloadEvent, () => ({ + __proto__: dart.getFields(html$._BeforeUnloadEvent.__proto__), + [S$3._returnValue]: dart.fieldType(core.String) +})); +dart.defineExtensionAccessors(html$._BeforeUnloadEvent, ['returnValue']); +html$._BeforeUnloadEventStreamProvider = class _BeforeUnloadEventStreamProvider extends core.Object { + get [S$3._eventType$1]() { + return this[S$3._eventType]; + } + set [S$3._eventType$1](value) { + super[S$3._eventType$1] = value; + } + forTarget(e, opts) { + let useCapture = opts && 'useCapture' in opts ? opts.useCapture : false; + if (useCapture == null) dart.nullFailed(I[147], 33738, 13, "useCapture"); + let stream = new (T$0._EventStreamOfBeforeUnloadEvent()).new(e, this[S$3._eventType$1], useCapture); + let controller = T$0.StreamControllerOfBeforeUnloadEvent().new({sync: true}); + stream.listen(dart.fn(event => { + if (event == null) dart.nullFailed(I[147], 33743, 20, "event"); + let wrapped = new html$._BeforeUnloadEvent.new(event); + controller.add(wrapped); + }, T$0.BeforeUnloadEventTovoid())); + return controller.stream; + } + getEventType(target) { + if (target == null) dart.nullFailed(I[147], 33751, 35, "target"); + return this[S$3._eventType$1]; + } + forElement(e, opts) { + if (e == null) dart.nullFailed(I[147], 33755, 55, "e"); + let useCapture = opts && 'useCapture' in opts ? opts.useCapture : false; + if (useCapture == null) dart.nullFailed(I[147], 33756, 13, "useCapture"); + return new (T$0._ElementEventStreamImplOfBeforeUnloadEvent()).new(e, this[S$3._eventType$1], useCapture); + } + [S$1._forElementList](e, opts) { + if (e == null) dart.nullFailed(I[147], 33762, 73, "e"); + let useCapture = opts && 'useCapture' in opts ? opts.useCapture : false; + if (useCapture == null) dart.nullFailed(I[147], 33763, 13, "useCapture"); + return new (T$0._ElementListEventStreamImplOfBeforeUnloadEvent()).new(e, this[S$3._eventType$1], useCapture); + } +}; +(html$._BeforeUnloadEventStreamProvider.new = function(_eventType) { + if (_eventType == null) dart.nullFailed(I[147], 33735, 47, "_eventType"); + this[S$3._eventType] = _eventType; + ; +}).prototype = html$._BeforeUnloadEventStreamProvider.prototype; +dart.addTypeTests(html$._BeforeUnloadEventStreamProvider); +dart.addTypeCaches(html$._BeforeUnloadEventStreamProvider); +html$._BeforeUnloadEventStreamProvider[dart.implements] = () => [html$.EventStreamProvider$(html$.BeforeUnloadEvent)]; +dart.setMethodSignature(html$._BeforeUnloadEventStreamProvider, () => ({ + __proto__: dart.getMethods(html$._BeforeUnloadEventStreamProvider.__proto__), + forTarget: dart.fnType(async.Stream$(html$.BeforeUnloadEvent), [dart.nullable(html$.EventTarget)], {useCapture: core.bool}, {}), + getEventType: dart.fnType(core.String, [html$.EventTarget]), + forElement: dart.fnType(html$.ElementStream$(html$.BeforeUnloadEvent), [html$.Element], {useCapture: core.bool}, {}), + [S$1._forElementList]: dart.fnType(html$.ElementStream$(html$.BeforeUnloadEvent), [html$.ElementList$(html$.Element)], {useCapture: core.bool}, {}) +})); +dart.setLibraryUri(html$._BeforeUnloadEventStreamProvider, I[148]); +dart.setFieldSignature(html$._BeforeUnloadEventStreamProvider, () => ({ + __proto__: dart.getFields(html$._BeforeUnloadEventStreamProvider.__proto__), + [S$3._eventType$1]: dart.finalFieldType(core.String) +})); +html$.WindowBase64 = class WindowBase64 extends _interceptors.Interceptor {}; +dart.addTypeTests(html$.WindowBase64); +dart.addTypeCaches(html$.WindowBase64); +dart.setLibraryUri(html$.WindowBase64, I[148]); +html$.WindowClient = class WindowClient extends html$.Client { + get [S$3.$focused]() { + return this.focused; + } + get [S$1.$visibilityState]() { + return this.visibilityState; + } + [S.$focus]() { + return js_util.promiseToFuture(html$.WindowClient, this.focus()); + } + [S$3.$navigate](url) { + if (url == null) dart.nullFailed(I[147], 33801, 40, "url"); + return js_util.promiseToFuture(html$.WindowClient, this.navigate(url)); + } +}; +dart.addTypeTests(html$.WindowClient); +dart.addTypeCaches(html$.WindowClient); +dart.setMethodSignature(html$.WindowClient, () => ({ + __proto__: dart.getMethods(html$.WindowClient.__proto__), + [S.$focus]: dart.fnType(async.Future$(html$.WindowClient), []), + [S$3.$navigate]: dart.fnType(async.Future$(html$.WindowClient), [core.String]) +})); +dart.setGetterSignature(html$.WindowClient, () => ({ + __proto__: dart.getGetters(html$.WindowClient.__proto__), + [S$3.$focused]: dart.nullable(core.bool), + [S$1.$visibilityState]: dart.nullable(core.String) +})); +dart.setLibraryUri(html$.WindowClient, I[148]); +dart.registerExtension("WindowClient", html$.WindowClient); +html$.WindowEventHandlers = class WindowEventHandlers extends html$.EventTarget { + get onHashChange() { + return html$.WindowEventHandlers.hashChangeEvent.forTarget(this); + } + get onMessage() { + return html$.WindowEventHandlers.messageEvent.forTarget(this); + } + get onOffline() { + return html$.WindowEventHandlers.offlineEvent.forTarget(this); + } + get onOnline() { + return html$.WindowEventHandlers.onlineEvent.forTarget(this); + } + get onPopState() { + return html$.WindowEventHandlers.popStateEvent.forTarget(this); + } + get onStorage() { + return html$.WindowEventHandlers.storageEvent.forTarget(this); + } + get onUnload() { + return html$.WindowEventHandlers.unloadEvent.forTarget(this); + } +}; +dart.addTypeTests(html$.WindowEventHandlers); +dart.addTypeCaches(html$.WindowEventHandlers); +dart.setGetterSignature(html$.WindowEventHandlers, () => ({ + __proto__: dart.getGetters(html$.WindowEventHandlers.__proto__), + onHashChange: async.Stream$(html$.Event), + [S$.$onHashChange]: async.Stream$(html$.Event), + onMessage: async.Stream$(html$.MessageEvent), + [S$.$onMessage]: async.Stream$(html$.MessageEvent), + onOffline: async.Stream$(html$.Event), + [S$.$onOffline]: async.Stream$(html$.Event), + onOnline: async.Stream$(html$.Event), + [S$.$onOnline]: async.Stream$(html$.Event), + onPopState: async.Stream$(html$.PopStateEvent), + [S$.$onPopState]: async.Stream$(html$.PopStateEvent), + onStorage: async.Stream$(html$.StorageEvent), + [S$.$onStorage]: async.Stream$(html$.StorageEvent), + onUnload: async.Stream$(html$.Event), + [S$.$onUnload]: async.Stream$(html$.Event) +})); +dart.setLibraryUri(html$.WindowEventHandlers, I[148]); +dart.defineExtensionAccessors(html$.WindowEventHandlers, [ + 'onHashChange', + 'onMessage', + 'onOffline', + 'onOnline', + 'onPopState', + 'onStorage', + 'onUnload' +]); +dart.defineLazy(html$.WindowEventHandlers, { + /*html$.WindowEventHandlers.hashChangeEvent*/get hashChangeEvent() { + return C[311] || CT.C311; + }, + /*html$.WindowEventHandlers.messageEvent*/get messageEvent() { + return C[312] || CT.C312; + }, + /*html$.WindowEventHandlers.offlineEvent*/get offlineEvent() { + return C[313] || CT.C313; + }, + /*html$.WindowEventHandlers.onlineEvent*/get onlineEvent() { + return C[314] || CT.C314; + }, + /*html$.WindowEventHandlers.popStateEvent*/get popStateEvent() { + return C[315] || CT.C315; + }, + /*html$.WindowEventHandlers.storageEvent*/get storageEvent() { + return C[316] || CT.C316; + }, + /*html$.WindowEventHandlers.unloadEvent*/get unloadEvent() { + return C[317] || CT.C317; + } +}, false); +html$.Worker = class Worker$ extends html$.EventTarget { + static new(scriptUrl) { + if (scriptUrl == null) dart.nullFailed(I[147], 33882, 25, "scriptUrl"); + return html$.Worker._create_1(scriptUrl); + } + static _create_1(scriptUrl) { + return new Worker(scriptUrl); + } + static get supported() { + return typeof window.Worker != "undefined"; + } + [S$.$postMessage](message, transfer = null) { + if (transfer != null) { + let message_1 = html_common.convertDartToNative_SerializedScriptValue(message); + this[S$0._postMessage_1](message_1, transfer); + return; + } + let message_1 = html_common.convertDartToNative_SerializedScriptValue(message); + this[S$0._postMessage_2](message_1); + return; + } + [S$0._postMessage_1](...args) { + return this.postMessage.apply(this, args); + } + [S$0._postMessage_2](...args) { + return this.postMessage.apply(this, args); + } + [S$2.$terminate](...args) { + return this.terminate.apply(this, args); + } + get [S.$onError]() { + return html$.Worker.errorEvent.forTarget(this); + } + get [S$.$onMessage]() { + return html$.Worker.messageEvent.forTarget(this); + } +}; +dart.addTypeTests(html$.Worker); +dart.addTypeCaches(html$.Worker); +html$.Worker[dart.implements] = () => [html$.AbstractWorker]; +dart.setMethodSignature(html$.Worker, () => ({ + __proto__: dart.getMethods(html$.Worker.__proto__), + [S$.$postMessage]: dart.fnType(dart.void, [dart.dynamic], [dart.nullable(core.List$(core.Object))]), + [S$0._postMessage_1]: dart.fnType(dart.void, [dart.dynamic, dart.nullable(core.List$(core.Object))]), + [S$0._postMessage_2]: dart.fnType(dart.void, [dart.dynamic]), + [S$2.$terminate]: dart.fnType(dart.void, []) +})); +dart.setGetterSignature(html$.Worker, () => ({ + __proto__: dart.getGetters(html$.Worker.__proto__), + [S.$onError]: async.Stream$(html$.Event), + [S$.$onMessage]: async.Stream$(html$.MessageEvent) +})); +dart.setLibraryUri(html$.Worker, I[148]); +dart.defineLazy(html$.Worker, { + /*html$.Worker.errorEvent*/get errorEvent() { + return C[216] || CT.C216; + }, + /*html$.Worker.messageEvent*/get messageEvent() { + return C[312] || CT.C312; + } +}, false); +dart.registerExtension("Worker", html$.Worker); +html$.WorkerPerformance = class WorkerPerformance extends html$.EventTarget { + get [S$2.$memory]() { + return this.memory; + } + get [S$2.$timeOrigin]() { + return this.timeOrigin; + } + [S$2.$clearMarks](...args) { + return this.clearMarks.apply(this, args); + } + [S$2.$clearMeasures](...args) { + return this.clearMeasures.apply(this, args); + } + [S$2.$clearResourceTimings](...args) { + return this.clearResourceTimings.apply(this, args); + } + [S$2.$getEntries](...args) { + return this.getEntries.apply(this, args); + } + [S$2.$getEntriesByName](...args) { + return this.getEntriesByName.apply(this, args); + } + [S$2.$getEntriesByType](...args) { + return this.getEntriesByType.apply(this, args); + } + [S$2.$mark](...args) { + return this.mark.apply(this, args); + } + [S$2.$measure](...args) { + return this.measure.apply(this, args); + } + [S$2.$now](...args) { + return this.now.apply(this, args); + } + [S$2.$setResourceTimingBufferSize](...args) { + return this.setResourceTimingBufferSize.apply(this, args); + } +}; +dart.addTypeTests(html$.WorkerPerformance); +dart.addTypeCaches(html$.WorkerPerformance); +dart.setMethodSignature(html$.WorkerPerformance, () => ({ + __proto__: dart.getMethods(html$.WorkerPerformance.__proto__), + [S$2.$clearMarks]: dart.fnType(dart.void, [dart.nullable(core.String)]), + [S$2.$clearMeasures]: dart.fnType(dart.void, [dart.nullable(core.String)]), + [S$2.$clearResourceTimings]: dart.fnType(dart.void, []), + [S$2.$getEntries]: dart.fnType(core.List$(html$.PerformanceEntry), []), + [S$2.$getEntriesByName]: dart.fnType(core.List$(html$.PerformanceEntry), [core.String, dart.nullable(core.String)]), + [S$2.$getEntriesByType]: dart.fnType(core.List$(html$.PerformanceEntry), [core.String]), + [S$2.$mark]: dart.fnType(dart.void, [core.String]), + [S$2.$measure]: dart.fnType(dart.void, [core.String, dart.nullable(core.String), dart.nullable(core.String)]), + [S$2.$now]: dart.fnType(core.double, []), + [S$2.$setResourceTimingBufferSize]: dart.fnType(dart.void, [core.int]) +})); +dart.setGetterSignature(html$.WorkerPerformance, () => ({ + __proto__: dart.getGetters(html$.WorkerPerformance.__proto__), + [S$2.$memory]: dart.nullable(html$.MemoryInfo), + [S$2.$timeOrigin]: dart.nullable(core.num) +})); +dart.setLibraryUri(html$.WorkerPerformance, I[148]); +dart.registerExtension("WorkerPerformance", html$.WorkerPerformance); +html$.WorkletAnimation = class WorkletAnimation$ extends _interceptors.Interceptor { + static new(animatorName, effects, timelines, options) { + if (animatorName == null) dart.nullFailed(I[147], 34050, 14, "animatorName"); + if (effects == null) dart.nullFailed(I[147], 34051, 36, "effects"); + if (timelines == null) dart.nullFailed(I[147], 34052, 20, "timelines"); + let options_1 = html_common.convertDartToNative_SerializedScriptValue(options); + return html$.WorkletAnimation._create_1(animatorName, effects, timelines, options_1); + } + static _create_1(animatorName, effects, timelines, options) { + return new WorkletAnimation(animatorName, effects, timelines, options); + } + get [S$.$playState]() { + return this.playState; + } + [S$.$cancel](...args) { + return this.cancel.apply(this, args); + } + [S$.$play](...args) { + return this.play.apply(this, args); + } +}; +dart.addTypeTests(html$.WorkletAnimation); +dart.addTypeCaches(html$.WorkletAnimation); +dart.setMethodSignature(html$.WorkletAnimation, () => ({ + __proto__: dart.getMethods(html$.WorkletAnimation.__proto__), + [S$.$cancel]: dart.fnType(dart.void, []), + [S$.$play]: dart.fnType(dart.void, []) +})); +dart.setGetterSignature(html$.WorkletAnimation, () => ({ + __proto__: dart.getGetters(html$.WorkletAnimation.__proto__), + [S$.$playState]: dart.nullable(core.String) +})); +dart.setLibraryUri(html$.WorkletAnimation, I[148]); +dart.registerExtension("WorkletAnimation", html$.WorkletAnimation); +html$.XPathEvaluator = class XPathEvaluator$ extends _interceptors.Interceptor { + static new() { + return html$.XPathEvaluator._create_1(); + } + static _create_1() { + return new XPathEvaluator(); + } + [S$3.$createExpression](...args) { + return this.createExpression.apply(this, args); + } + [S$3.$createNSResolver](...args) { + return this.createNSResolver.apply(this, args); + } + [S$3.$evaluate](...args) { + return this.evaluate.apply(this, args); + } +}; +dart.addTypeTests(html$.XPathEvaluator); +dart.addTypeCaches(html$.XPathEvaluator); +dart.setMethodSignature(html$.XPathEvaluator, () => ({ + __proto__: dart.getMethods(html$.XPathEvaluator.__proto__), + [S$3.$createExpression]: dart.fnType(html$.XPathExpression, [core.String, dart.nullable(html$.XPathNSResolver)]), + [S$3.$createNSResolver]: dart.fnType(html$.XPathNSResolver, [html$.Node]), + [S$3.$evaluate]: dart.fnType(html$.XPathResult, [core.String, html$.Node, dart.nullable(html$.XPathNSResolver)], [dart.nullable(core.int), dart.nullable(core.Object)]) +})); +dart.setLibraryUri(html$.XPathEvaluator, I[148]); +dart.registerExtension("XPathEvaluator", html$.XPathEvaluator); +html$.XPathExpression = class XPathExpression extends _interceptors.Interceptor { + [S$3.$evaluate](...args) { + return this.evaluate.apply(this, args); + } +}; +dart.addTypeTests(html$.XPathExpression); +dart.addTypeCaches(html$.XPathExpression); +dart.setMethodSignature(html$.XPathExpression, () => ({ + __proto__: dart.getMethods(html$.XPathExpression.__proto__), + [S$3.$evaluate]: dart.fnType(html$.XPathResult, [html$.Node], [dart.nullable(core.int), dart.nullable(core.Object)]) +})); +dart.setLibraryUri(html$.XPathExpression, I[148]); +dart.registerExtension("XPathExpression", html$.XPathExpression); +html$.XPathNSResolver = class XPathNSResolver extends _interceptors.Interceptor { + [S$3.$lookupNamespaceUri](...args) { + return this.lookupNamespaceURI.apply(this, args); + } +}; +dart.addTypeTests(html$.XPathNSResolver); +dart.addTypeCaches(html$.XPathNSResolver); +dart.setMethodSignature(html$.XPathNSResolver, () => ({ + __proto__: dart.getMethods(html$.XPathNSResolver.__proto__), + [S$3.$lookupNamespaceUri]: dart.fnType(dart.nullable(core.String), [dart.nullable(core.String)]) +})); +dart.setLibraryUri(html$.XPathNSResolver, I[148]); +dart.registerExtension("XPathNSResolver", html$.XPathNSResolver); +html$.XPathResult = class XPathResult extends _interceptors.Interceptor { + get [S$3.$booleanValue]() { + return this.booleanValue; + } + get [S$3.$invalidIteratorState]() { + return this.invalidIteratorState; + } + get [S$3.$numberValue]() { + return this.numberValue; + } + get [S$3.$resultType]() { + return this.resultType; + } + get [S$3.$singleNodeValue]() { + return this.singleNodeValue; + } + get [S$3.$snapshotLength]() { + return this.snapshotLength; + } + get [S$3.$stringValue]() { + return this.stringValue; + } + [S$3.$iterateNext](...args) { + return this.iterateNext.apply(this, args); + } + [S$3.$snapshotItem](...args) { + return this.snapshotItem.apply(this, args); + } +}; +dart.addTypeTests(html$.XPathResult); +dart.addTypeCaches(html$.XPathResult); +dart.setMethodSignature(html$.XPathResult, () => ({ + __proto__: dart.getMethods(html$.XPathResult.__proto__), + [S$3.$iterateNext]: dart.fnType(dart.nullable(html$.Node), []), + [S$3.$snapshotItem]: dart.fnType(dart.nullable(html$.Node), [core.int]) +})); +dart.setGetterSignature(html$.XPathResult, () => ({ + __proto__: dart.getGetters(html$.XPathResult.__proto__), + [S$3.$booleanValue]: dart.nullable(core.bool), + [S$3.$invalidIteratorState]: dart.nullable(core.bool), + [S$3.$numberValue]: dart.nullable(core.num), + [S$3.$resultType]: dart.nullable(core.int), + [S$3.$singleNodeValue]: dart.nullable(html$.Node), + [S$3.$snapshotLength]: dart.nullable(core.int), + [S$3.$stringValue]: dart.nullable(core.String) +})); +dart.setLibraryUri(html$.XPathResult, I[148]); +dart.defineLazy(html$.XPathResult, { + /*html$.XPathResult.ANY_TYPE*/get ANY_TYPE() { + return 0; + }, + /*html$.XPathResult.ANY_UNORDERED_NODE_TYPE*/get ANY_UNORDERED_NODE_TYPE() { + return 8; + }, + /*html$.XPathResult.BOOLEAN_TYPE*/get BOOLEAN_TYPE() { + return 3; + }, + /*html$.XPathResult.FIRST_ORDERED_NODE_TYPE*/get FIRST_ORDERED_NODE_TYPE() { + return 9; + }, + /*html$.XPathResult.NUMBER_TYPE*/get NUMBER_TYPE() { + return 1; + }, + /*html$.XPathResult.ORDERED_NODE_ITERATOR_TYPE*/get ORDERED_NODE_ITERATOR_TYPE() { + return 5; + }, + /*html$.XPathResult.ORDERED_NODE_SNAPSHOT_TYPE*/get ORDERED_NODE_SNAPSHOT_TYPE() { + return 7; + }, + /*html$.XPathResult.STRING_TYPE*/get STRING_TYPE() { + return 2; + }, + /*html$.XPathResult.UNORDERED_NODE_ITERATOR_TYPE*/get UNORDERED_NODE_ITERATOR_TYPE() { + return 4; + }, + /*html$.XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE*/get UNORDERED_NODE_SNAPSHOT_TYPE() { + return 6; + } +}, false); +dart.registerExtension("XPathResult", html$.XPathResult); +html$.XmlDocument = class XmlDocument extends html$.Document {}; +dart.addTypeTests(html$.XmlDocument); +dart.addTypeCaches(html$.XmlDocument); +dart.setLibraryUri(html$.XmlDocument, I[148]); +dart.registerExtension("XMLDocument", html$.XmlDocument); +html$.XmlSerializer = class XmlSerializer extends _interceptors.Interceptor { + static new() { + return html$.XmlSerializer._create_1(); + } + static _create_1() { + return new XMLSerializer(); + } + [S$3.$serializeToString](...args) { + return this.serializeToString.apply(this, args); + } +}; +dart.addTypeTests(html$.XmlSerializer); +dart.addTypeCaches(html$.XmlSerializer); +dart.setMethodSignature(html$.XmlSerializer, () => ({ + __proto__: dart.getMethods(html$.XmlSerializer.__proto__), + [S$3.$serializeToString]: dart.fnType(core.String, [html$.Node]) +})); +dart.setLibraryUri(html$.XmlSerializer, I[148]); +dart.registerExtension("XMLSerializer", html$.XmlSerializer); +html$.XsltProcessor = class XsltProcessor extends _interceptors.Interceptor { + static new() { + return html$.XsltProcessor._create_1(); + } + static _create_1() { + return new XSLTProcessor(); + } + static get supported() { + return !!window.XSLTProcessor; + } + [S$3.$clearParameters](...args) { + return this.clearParameters.apply(this, args); + } + [S$3.$getParameter](...args) { + return this.getParameter.apply(this, args); + } + [S$3.$importStylesheet](...args) { + return this.importStylesheet.apply(this, args); + } + [S$3.$removeParameter](...args) { + return this.removeParameter.apply(this, args); + } + [S$1.$reset](...args) { + return this.reset.apply(this, args); + } + [S$3.$setParameter](...args) { + return this.setParameter.apply(this, args); + } + [S$3.$transformToDocument](...args) { + return this.transformToDocument.apply(this, args); + } + [S$3.$transformToFragment](...args) { + return this.transformToFragment.apply(this, args); + } +}; +dart.addTypeTests(html$.XsltProcessor); +dart.addTypeCaches(html$.XsltProcessor); +dart.setMethodSignature(html$.XsltProcessor, () => ({ + __proto__: dart.getMethods(html$.XsltProcessor.__proto__), + [S$3.$clearParameters]: dart.fnType(dart.void, []), + [S$3.$getParameter]: dart.fnType(dart.nullable(core.String), [dart.nullable(core.String), core.String]), + [S$3.$importStylesheet]: dart.fnType(dart.void, [html$.Node]), + [S$3.$removeParameter]: dart.fnType(dart.void, [dart.nullable(core.String), core.String]), + [S$1.$reset]: dart.fnType(dart.void, []), + [S$3.$setParameter]: dart.fnType(dart.void, [dart.nullable(core.String), core.String, core.String]), + [S$3.$transformToDocument]: dart.fnType(dart.nullable(html$.Document), [html$.Node]), + [S$3.$transformToFragment]: dart.fnType(dart.nullable(html$.DocumentFragment), [html$.Node, html$.Document]) +})); +dart.setLibraryUri(html$.XsltProcessor, I[148]); +dart.registerExtension("XSLTProcessor", html$.XsltProcessor); +html$._Attr = class _Attr extends html$.Node { + get [S._localName]() { + return this.localName; + } + get [$name]() { + return this.name; + } + get [S._namespaceUri]() { + return this.namespaceURI; + } + get [S.$value]() { + return this.value; + } + set [S.$value](value) { + this.value = value; + } +}; +dart.addTypeTests(html$._Attr); +dart.addTypeCaches(html$._Attr); +dart.setGetterSignature(html$._Attr, () => ({ + __proto__: dart.getGetters(html$._Attr.__proto__), + [S._localName]: dart.nullable(core.String), + [$name]: dart.nullable(core.String), + [S._namespaceUri]: dart.nullable(core.String), + [S.$value]: dart.nullable(core.String) +})); +dart.setSetterSignature(html$._Attr, () => ({ + __proto__: dart.getSetters(html$._Attr.__proto__), + [S.$value]: dart.nullable(core.String) +})); +dart.setLibraryUri(html$._Attr, I[148]); +dart.registerExtension("Attr", html$._Attr); +html$._Bluetooth = class _Bluetooth extends _interceptors.Interceptor {}; +dart.addTypeTests(html$._Bluetooth); +dart.addTypeCaches(html$._Bluetooth); +dart.setLibraryUri(html$._Bluetooth, I[148]); +dart.registerExtension("Bluetooth", html$._Bluetooth); +html$._BluetoothCharacteristicProperties = class _BluetoothCharacteristicProperties extends _interceptors.Interceptor {}; +dart.addTypeTests(html$._BluetoothCharacteristicProperties); +dart.addTypeCaches(html$._BluetoothCharacteristicProperties); +dart.setLibraryUri(html$._BluetoothCharacteristicProperties, I[148]); +dart.registerExtension("BluetoothCharacteristicProperties", html$._BluetoothCharacteristicProperties); +html$._BluetoothDevice = class _BluetoothDevice extends html$.EventTarget {}; +dart.addTypeTests(html$._BluetoothDevice); +dart.addTypeCaches(html$._BluetoothDevice); +dart.setLibraryUri(html$._BluetoothDevice, I[148]); +dart.registerExtension("BluetoothDevice", html$._BluetoothDevice); +html$._BluetoothRemoteGATTCharacteristic = class _BluetoothRemoteGATTCharacteristic extends html$.EventTarget {}; +dart.addTypeTests(html$._BluetoothRemoteGATTCharacteristic); +dart.addTypeCaches(html$._BluetoothRemoteGATTCharacteristic); +dart.setLibraryUri(html$._BluetoothRemoteGATTCharacteristic, I[148]); +dart.registerExtension("BluetoothRemoteGATTCharacteristic", html$._BluetoothRemoteGATTCharacteristic); +html$._BluetoothRemoteGATTServer = class _BluetoothRemoteGATTServer extends _interceptors.Interceptor {}; +dart.addTypeTests(html$._BluetoothRemoteGATTServer); +dart.addTypeCaches(html$._BluetoothRemoteGATTServer); +dart.setLibraryUri(html$._BluetoothRemoteGATTServer, I[148]); +dart.registerExtension("BluetoothRemoteGATTServer", html$._BluetoothRemoteGATTServer); +html$._BluetoothRemoteGATTService = class _BluetoothRemoteGATTService extends _interceptors.Interceptor {}; +dart.addTypeTests(html$._BluetoothRemoteGATTService); +dart.addTypeCaches(html$._BluetoothRemoteGATTService); +dart.setLibraryUri(html$._BluetoothRemoteGATTService, I[148]); +dart.registerExtension("BluetoothRemoteGATTService", html$._BluetoothRemoteGATTService); +html$._BluetoothUUID = class _BluetoothUUID extends _interceptors.Interceptor {}; +dart.addTypeTests(html$._BluetoothUUID); +dart.addTypeCaches(html$._BluetoothUUID); +dart.setLibraryUri(html$._BluetoothUUID, I[148]); +dart.registerExtension("BluetoothUUID", html$._BluetoothUUID); +html$._BudgetService = class _BudgetService extends _interceptors.Interceptor { + [S$3.$getBudget]() { + return js_util.promiseToFuture(html$.BudgetState, this.getBudget()); + } + [S$3.$getCost](operation) { + if (operation == null) dart.nullFailed(I[147], 34377, 33, "operation"); + return js_util.promiseToFuture(core.double, this.getCost(operation)); + } + [S$3.$reserve](operation) { + if (operation == null) dart.nullFailed(I[147], 34380, 31, "operation"); + return js_util.promiseToFuture(core.bool, this.reserve(operation)); + } +}; +dart.addTypeTests(html$._BudgetService); +dart.addTypeCaches(html$._BudgetService); +dart.setMethodSignature(html$._BudgetService, () => ({ + __proto__: dart.getMethods(html$._BudgetService.__proto__), + [S$3.$getBudget]: dart.fnType(async.Future$(html$.BudgetState), []), + [S$3.$getCost]: dart.fnType(async.Future$(core.double), [core.String]), + [S$3.$reserve]: dart.fnType(async.Future$(core.bool), [core.String]) +})); +dart.setLibraryUri(html$._BudgetService, I[148]); +dart.registerExtension("BudgetService", html$._BudgetService); +html$._Cache = class _Cache extends _interceptors.Interceptor {}; +dart.addTypeTests(html$._Cache); +dart.addTypeCaches(html$._Cache); +dart.setLibraryUri(html$._Cache, I[148]); +dart.registerExtension("Cache", html$._Cache); +html$._CanvasPath = class _CanvasPath extends _interceptors.Interceptor {}; +dart.addTypeTests(html$._CanvasPath); +dart.addTypeCaches(html$._CanvasPath); +dart.setLibraryUri(html$._CanvasPath, I[148]); +html$._Clipboard = class _Clipboard extends html$.EventTarget { + [S$3.$read]() { + return js_util.promiseToFuture(html$.DataTransfer, this.read()); + } + [S$3.$readText]() { + return js_util.promiseToFuture(core.String, this.readText()); + } + [S$1.$write](data) { + if (data == null) dart.nullFailed(I[147], 34421, 29, "data"); + return js_util.promiseToFuture(dart.dynamic, this.write(data)); + } + [S$3.$writeText](data) { + if (data == null) dart.nullFailed(I[147], 34424, 27, "data"); + return js_util.promiseToFuture(dart.dynamic, this.writeText(data)); + } +}; +dart.addTypeTests(html$._Clipboard); +dart.addTypeCaches(html$._Clipboard); +dart.setMethodSignature(html$._Clipboard, () => ({ + __proto__: dart.getMethods(html$._Clipboard.__proto__), + [S$3.$read]: dart.fnType(async.Future$(html$.DataTransfer), []), + [S$3.$readText]: dart.fnType(async.Future$(core.String), []), + [S$1.$write]: dart.fnType(async.Future, [html$.DataTransfer]), + [S$3.$writeText]: dart.fnType(async.Future, [core.String]) +})); +dart.setLibraryUri(html$._Clipboard, I[148]); +dart.registerExtension("Clipboard", html$._Clipboard); +const Interceptor_ListMixin$36$8 = class Interceptor_ListMixin extends _interceptors.Interceptor {}; +(Interceptor_ListMixin$36$8.new = function() { + Interceptor_ListMixin$36$8.__proto__.new.call(this); +}).prototype = Interceptor_ListMixin$36$8.prototype; +dart.applyMixin(Interceptor_ListMixin$36$8, collection.ListMixin$(html$.CssRule)); +const Interceptor_ImmutableListMixin$36$8 = class Interceptor_ImmutableListMixin extends Interceptor_ListMixin$36$8 {}; +(Interceptor_ImmutableListMixin$36$8.new = function() { + Interceptor_ImmutableListMixin$36$8.__proto__.new.call(this); +}).prototype = Interceptor_ImmutableListMixin$36$8.prototype; +dart.applyMixin(Interceptor_ImmutableListMixin$36$8, html$.ImmutableListMixin$(html$.CssRule)); +html$._CssRuleList = class _CssRuleList extends Interceptor_ImmutableListMixin$36$8 { + get [$length]() { + return this.length; + } + [$_get](index) { + if (index == null) dart.nullFailed(I[147], 34442, 27, "index"); + if (index >>> 0 !== index || index >= this[$length]) dart.throw(new core.IndexError.new(index, this)); + return this[index]; + } + [$_set](index, value$) { + let value = value$; + if (index == null) dart.nullFailed(I[147], 34448, 25, "index"); + html$.CssRule.as(value); + if (value == null) dart.nullFailed(I[147], 34448, 40, "value"); + dart.throw(new core.UnsupportedError.new("Cannot assign element of immutable List.")); + return value$; + } + set [$length](value) { + if (value == null) dart.nullFailed(I[147], 34454, 18, "value"); + dart.throw(new core.UnsupportedError.new("Cannot resize immutable List.")); + } + get [$first]() { + if (dart.notNull(this[$length]) > 0) { + return this[0]; + } + dart.throw(new core.StateError.new("No elements")); + } + set [$first](value) { + super[$first] = value; + } + get [$last]() { + let len = this[$length]; + if (dart.notNull(len) > 0) { + return this[dart.notNull(len) - 1]; + } + dart.throw(new core.StateError.new("No elements")); + } + set [$last](value) { + super[$last] = value; + } + get [$single]() { + let len = this[$length]; + if (len === 1) { + return this[0]; + } + if (len === 0) dart.throw(new core.StateError.new("No elements")); + dart.throw(new core.StateError.new("More than one element")); + } + [$elementAt](index) { + if (index == null) dart.nullFailed(I[147], 34482, 25, "index"); + return this[$_get](index); + } + [S$.$item](...args) { + return this.item.apply(this, args); + } +}; +html$._CssRuleList.prototype[dart.isList] = true; +dart.addTypeTests(html$._CssRuleList); +dart.addTypeCaches(html$._CssRuleList); +html$._CssRuleList[dart.implements] = () => [_js_helper.JavaScriptIndexingBehavior$(html$.CssRule), core.List$(html$.CssRule)]; +dart.setMethodSignature(html$._CssRuleList, () => ({ + __proto__: dart.getMethods(html$._CssRuleList.__proto__), + [$_get]: dart.fnType(html$.CssRule, [core.int]), + [$_set]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), + [S$.$item]: dart.fnType(dart.nullable(html$.CssRule), [core.int]) +})); +dart.setGetterSignature(html$._CssRuleList, () => ({ + __proto__: dart.getGetters(html$._CssRuleList.__proto__), + [$length]: core.int +})); +dart.setSetterSignature(html$._CssRuleList, () => ({ + __proto__: dart.getSetters(html$._CssRuleList.__proto__), + [$length]: core.int +})); +dart.setLibraryUri(html$._CssRuleList, I[148]); +dart.registerExtension("CSSRuleList", html$._CssRuleList); +html$._DOMFileSystemSync = class _DOMFileSystemSync extends _interceptors.Interceptor {}; +dart.addTypeTests(html$._DOMFileSystemSync); +dart.addTypeCaches(html$._DOMFileSystemSync); +dart.setLibraryUri(html$._DOMFileSystemSync, I[148]); +dart.registerExtension("DOMFileSystemSync", html$._DOMFileSystemSync); +html$._EntrySync = class _EntrySync extends _interceptors.Interceptor {}; +dart.addTypeTests(html$._EntrySync); +dart.addTypeCaches(html$._EntrySync); +dart.setLibraryUri(html$._EntrySync, I[148]); +dart.registerExtension("EntrySync", html$._EntrySync); +html$._DirectoryEntrySync = class _DirectoryEntrySync extends html$._EntrySync {}; +dart.addTypeTests(html$._DirectoryEntrySync); +dart.addTypeCaches(html$._DirectoryEntrySync); +dart.setLibraryUri(html$._DirectoryEntrySync, I[148]); +dart.registerExtension("DirectoryEntrySync", html$._DirectoryEntrySync); +html$._DirectoryReaderSync = class _DirectoryReaderSync extends _interceptors.Interceptor {}; +dart.addTypeTests(html$._DirectoryReaderSync); +dart.addTypeCaches(html$._DirectoryReaderSync); +dart.setLibraryUri(html$._DirectoryReaderSync, I[148]); +dart.registerExtension("DirectoryReaderSync", html$._DirectoryReaderSync); +html$._DocumentType = class _DocumentType extends html$.Node {}; +dart.addTypeTests(html$._DocumentType); +dart.addTypeCaches(html$._DocumentType); +html$._DocumentType[dart.implements] = () => [html$.ChildNode]; +dart.setLibraryUri(html$._DocumentType, I[148]); +dart.registerExtension("DocumentType", html$._DocumentType); +html$._DomRect = class _DomRect extends html$.DomRectReadOnly { + [$toString]() { + return "Rectangle (" + dart.str(this[$left]) + ", " + dart.str(this[$top]) + ") " + dart.str(this[$width]) + " x " + dart.str(this[$height]); + } + [$_equals](other) { + if (other == null) return false; + return T$0.RectangleOfnum().is(other) && this[$left] == other[$left] && this[$top] == other[$top] && this[$width] == other[$width] && this[$height] == other[$height]; + } + get [$hashCode]() { + return html$._JenkinsSmiHash.hash4(dart.hashCode(this[$left]), dart.hashCode(this[$top]), dart.hashCode(this[$width]), dart.hashCode(this[$height])); + } + [$intersection](other) { + T$0.RectangleOfnum().as(other); + if (other == null) dart.nullFailed(I[147], 34568, 37, "other"); + let x0 = math.max(core.num, this[$left], other[$left]); + let x1 = math.min(core.num, dart.notNull(this[$left]) + dart.notNull(this[$width]), dart.notNull(other[$left]) + dart.notNull(other[$width])); + if (x0 <= x1) { + let y0 = math.max(core.num, this[$top], other[$top]); + let y1 = math.min(core.num, dart.notNull(this[$top]) + dart.notNull(this[$height]), dart.notNull(other[$top]) + dart.notNull(other[$height])); + if (y0 <= y1) { + return new (T$0.RectangleOfnum()).new(x0, y0, x1 - x0, y1 - y0); + } + } + return null; + } + [$intersects](other) { + if (other == null) dart.nullFailed(I[147], 34586, 34, "other"); + return dart.notNull(this[$left]) <= dart.notNull(other[$left]) + dart.notNull(other[$width]) && dart.notNull(other[$left]) <= dart.notNull(this[$left]) + dart.notNull(this[$width]) && dart.notNull(this[$top]) <= dart.notNull(other[$top]) + dart.notNull(other[$height]) && dart.notNull(other[$top]) <= dart.notNull(this[$top]) + dart.notNull(this[$height]); + } + [$boundingBox](other) { + T$0.RectangleOfnum().as(other); + if (other == null) dart.nullFailed(I[147], 34596, 35, "other"); + let right = math.max(core.num, dart.notNull(this[$left]) + dart.notNull(this[$width]), dart.notNull(other[$left]) + dart.notNull(other[$width])); + let bottom = math.max(core.num, dart.notNull(this[$top]) + dart.notNull(this[$height]), dart.notNull(other[$top]) + dart.notNull(other[$height])); + let left = math.min(core.num, this[$left], other[$left]); + let top = math.min(core.num, this[$top], other[$top]); + return new (T$0.RectangleOfnum()).new(left, top, right - left, bottom - top); + } + [$containsRectangle](another) { + if (another == null) dart.nullFailed(I[147], 34609, 41, "another"); + return dart.notNull(this[$left]) <= dart.notNull(another[$left]) && dart.notNull(this[$left]) + dart.notNull(this[$width]) >= dart.notNull(another[$left]) + dart.notNull(another[$width]) && dart.notNull(this[$top]) <= dart.notNull(another[$top]) && dart.notNull(this[$top]) + dart.notNull(this[$height]) >= dart.notNull(another[$top]) + dart.notNull(another[$height]); + } + [$containsPoint](another) { + if (another == null) dart.nullFailed(I[147], 34619, 33, "another"); + return dart.notNull(another.x) >= dart.notNull(this[$left]) && dart.notNull(another.x) <= dart.notNull(this[$left]) + dart.notNull(this[$width]) && dart.notNull(another.y) >= dart.notNull(this[$top]) && dart.notNull(another.y) <= dart.notNull(this[$top]) + dart.notNull(this[$height]); + } + get [$topLeft]() { + return new (T$0.PointOfnum()).new(this[$left], this[$top]); + } + get [$topRight]() { + return new (T$0.PointOfnum()).new(dart.notNull(this[$left]) + dart.notNull(this[$width]), this[$top]); + } + get [$bottomRight]() { + return new (T$0.PointOfnum()).new(dart.notNull(this[$left]) + dart.notNull(this[$width]), dart.notNull(this[$top]) + dart.notNull(this[$height])); + } + get [$bottomLeft]() { + return new (T$0.PointOfnum()).new(this[$left], dart.notNull(this[$top]) + dart.notNull(this[$height])); + } + static new(x = null, y = null, width = null, height = null) { + if (height != null) { + return html$._DomRect._create_1(x, y, width, height); + } + if (width != null) { + return html$._DomRect._create_2(x, y, width); + } + if (y != null) { + return html$._DomRect._create_3(x, y); + } + if (x != null) { + return html$._DomRect._create_4(x); + } + return html$._DomRect._create_5(); + } + static _create_1(x, y, width, height) { + return new DOMRect(x, y, width, height); + } + static _create_2(x, y, width) { + return new DOMRect(x, y, width); + } + static _create_3(x, y) { + return new DOMRect(x, y); + } + static _create_4(x) { + return new DOMRect(x); + } + static _create_5() { + return new DOMRect(); + } + get [S$0._height$1]() { + return this.height; + } + get [$height]() { + return dart.nullCheck(this[S$0._height$1]); + } + set [$height](value) { + this.height = value; + } + get [S$0._width$1]() { + return this.width; + } + get [$width]() { + return dart.nullCheck(this[S$0._width$1]); + } + set [$width](value) { + this.width = value; + } + get [S$.$x]() { + return this.x; + } + set [S$.$x](value) { + this.x = value; + } + get [S$.$y]() { + return this.y; + } + set [S$.$y](value) { + this.y = value; + } +}; +dart.addTypeTests(html$._DomRect); +dart.addTypeCaches(html$._DomRect); +html$._DomRect[dart.implements] = () => [math.Rectangle$(core.num)]; +dart.setSetterSignature(html$._DomRect, () => ({ + __proto__: dart.getSetters(html$._DomRect.__proto__), + [$height]: core.num, + [$width]: core.num, + [S$.$x]: dart.nullable(core.num), + [S$.$y]: dart.nullable(core.num) +})); +dart.setLibraryUri(html$._DomRect, I[148]); +dart.registerExtension("ClientRect", html$._DomRect); +dart.registerExtension("DOMRect", html$._DomRect); +html$._JenkinsSmiHash = class _JenkinsSmiHash extends core.Object { + static combine(hash, value) { + if (hash == null) dart.nullFailed(I[147], 34716, 26, "hash"); + if (value == null) dart.nullFailed(I[147], 34716, 36, "value"); + hash = 536870911 & dart.notNull(hash) + dart.notNull(value); + hash = 536870911 & dart.notNull(hash) + ((524287 & dart.notNull(hash)) << 10); + return (dart.notNull(hash) ^ hash[$rightShift](6)) >>> 0; + } + static finish(hash) { + if (hash == null) dart.nullFailed(I[147], 34722, 25, "hash"); + hash = 536870911 & dart.notNull(hash) + ((67108863 & dart.notNull(hash)) << 3); + hash = (dart.notNull(hash) ^ hash[$rightShift](11)) >>> 0; + return 536870911 & dart.notNull(hash) + ((16383 & dart.notNull(hash)) << 15); + } + static hash2(a, b) { + return html$._JenkinsSmiHash.finish(html$._JenkinsSmiHash.combine(html$._JenkinsSmiHash.combine(0, core.int.as(a)), core.int.as(b))); + } + static hash4(a, b, c, d) { + return html$._JenkinsSmiHash.finish(html$._JenkinsSmiHash.combine(html$._JenkinsSmiHash.combine(html$._JenkinsSmiHash.combine(html$._JenkinsSmiHash.combine(0, core.int.as(a)), core.int.as(b)), core.int.as(c)), core.int.as(d))); + } +}; +(html$._JenkinsSmiHash.new = function() { + ; +}).prototype = html$._JenkinsSmiHash.prototype; +dart.addTypeTests(html$._JenkinsSmiHash); +dart.addTypeCaches(html$._JenkinsSmiHash); +dart.setLibraryUri(html$._JenkinsSmiHash, I[148]); +html$._FileEntrySync = class _FileEntrySync extends html$._EntrySync {}; +dart.addTypeTests(html$._FileEntrySync); +dart.addTypeCaches(html$._FileEntrySync); +dart.setLibraryUri(html$._FileEntrySync, I[148]); +dart.registerExtension("FileEntrySync", html$._FileEntrySync); +html$._FileReaderSync = class _FileReaderSync extends _interceptors.Interceptor { + static new() { + return html$._FileReaderSync._create_1(); + } + static _create_1() { + return new FileReaderSync(); + } +}; +dart.addTypeTests(html$._FileReaderSync); +dart.addTypeCaches(html$._FileReaderSync); +dart.setLibraryUri(html$._FileReaderSync, I[148]); +dart.registerExtension("FileReaderSync", html$._FileReaderSync); +html$._FileWriterSync = class _FileWriterSync extends _interceptors.Interceptor {}; +dart.addTypeTests(html$._FileWriterSync); +dart.addTypeCaches(html$._FileWriterSync); +dart.setLibraryUri(html$._FileWriterSync, I[148]); +dart.registerExtension("FileWriterSync", html$._FileWriterSync); +const Interceptor_ListMixin$36$9 = class Interceptor_ListMixin extends _interceptors.Interceptor {}; +(Interceptor_ListMixin$36$9.new = function() { + Interceptor_ListMixin$36$9.__proto__.new.call(this); +}).prototype = Interceptor_ListMixin$36$9.prototype; +dart.applyMixin(Interceptor_ListMixin$36$9, collection.ListMixin$(dart.nullable(html$.Gamepad))); +const Interceptor_ImmutableListMixin$36$9 = class Interceptor_ImmutableListMixin extends Interceptor_ListMixin$36$9 {}; +(Interceptor_ImmutableListMixin$36$9.new = function() { + Interceptor_ImmutableListMixin$36$9.__proto__.new.call(this); +}).prototype = Interceptor_ImmutableListMixin$36$9.prototype; +dart.applyMixin(Interceptor_ImmutableListMixin$36$9, html$.ImmutableListMixin$(dart.nullable(html$.Gamepad))); +html$._GamepadList = class _GamepadList extends Interceptor_ImmutableListMixin$36$9 { + get [$length]() { + return this.length; + } + [$_get](index) { + if (index == null) dart.nullFailed(I[147], 34798, 28, "index"); + if (index >>> 0 !== index || index >= this[$length]) dart.throw(new core.IndexError.new(index, this)); + return this[index]; + } + [$_set](index, value$) { + let value = value$; + if (index == null) dart.nullFailed(I[147], 34804, 25, "index"); + T$0.GamepadN().as(value); + dart.throw(new core.UnsupportedError.new("Cannot assign element of immutable List.")); + return value$; + } + set [$length](value) { + if (value == null) dart.nullFailed(I[147], 34810, 18, "value"); + dart.throw(new core.UnsupportedError.new("Cannot resize immutable List.")); + } + get [$first]() { + if (dart.notNull(this[$length]) > 0) { + return this[0]; + } + dart.throw(new core.StateError.new("No elements")); + } + set [$first](value) { + super[$first] = value; + } + get [$last]() { + let len = this[$length]; + if (dart.notNull(len) > 0) { + return this[dart.notNull(len) - 1]; + } + dart.throw(new core.StateError.new("No elements")); + } + set [$last](value) { + super[$last] = value; + } + get [$single]() { + let len = this[$length]; + if (len === 1) { + return this[0]; + } + if (len === 0) dart.throw(new core.StateError.new("No elements")); + dart.throw(new core.StateError.new("More than one element")); + } + [$elementAt](index) { + if (index == null) dart.nullFailed(I[147], 34838, 26, "index"); + return this[$_get](index); + } + [S$.$item](...args) { + return this.item.apply(this, args); + } +}; +html$._GamepadList.prototype[dart.isList] = true; +dart.addTypeTests(html$._GamepadList); +dart.addTypeCaches(html$._GamepadList); +html$._GamepadList[dart.implements] = () => [core.List$(dart.nullable(html$.Gamepad)), _js_helper.JavaScriptIndexingBehavior$(dart.nullable(html$.Gamepad))]; +dart.setMethodSignature(html$._GamepadList, () => ({ + __proto__: dart.getMethods(html$._GamepadList.__proto__), + [$_get]: dart.fnType(dart.nullable(html$.Gamepad), [core.int]), + [$_set]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), + [S$.$item]: dart.fnType(html$.Gamepad, [dart.nullable(core.int)]) +})); +dart.setGetterSignature(html$._GamepadList, () => ({ + __proto__: dart.getGetters(html$._GamepadList.__proto__), + [$length]: core.int +})); +dart.setSetterSignature(html$._GamepadList, () => ({ + __proto__: dart.getSetters(html$._GamepadList.__proto__), + [$length]: core.int +})); +dart.setLibraryUri(html$._GamepadList, I[148]); +dart.registerExtension("GamepadList", html$._GamepadList); +html$._HTMLAllCollection = class _HTMLAllCollection extends _interceptors.Interceptor { + [S$1._item](...args) { + return this.item.apply(this, args); + } +}; +dart.addTypeTests(html$._HTMLAllCollection); +dart.addTypeCaches(html$._HTMLAllCollection); +dart.setMethodSignature(html$._HTMLAllCollection, () => ({ + __proto__: dart.getMethods(html$._HTMLAllCollection.__proto__), + [S$1._item]: dart.fnType(html$.Element, [dart.nullable(core.int)]) +})); +dart.setLibraryUri(html$._HTMLAllCollection, I[148]); +dart.registerExtension("HTMLAllCollection", html$._HTMLAllCollection); +html$._HTMLDirectoryElement = class _HTMLDirectoryElement extends html$.HtmlElement {}; +(html$._HTMLDirectoryElement.created = function() { + html$._HTMLDirectoryElement.__proto__.created.call(this); + ; +}).prototype = html$._HTMLDirectoryElement.prototype; +dart.addTypeTests(html$._HTMLDirectoryElement); +dart.addTypeCaches(html$._HTMLDirectoryElement); +dart.setLibraryUri(html$._HTMLDirectoryElement, I[148]); +dart.registerExtension("HTMLDirectoryElement", html$._HTMLDirectoryElement); +html$._HTMLFontElement = class _HTMLFontElement extends html$.HtmlElement {}; +(html$._HTMLFontElement.created = function() { + html$._HTMLFontElement.__proto__.created.call(this); + ; +}).prototype = html$._HTMLFontElement.prototype; +dart.addTypeTests(html$._HTMLFontElement); +dart.addTypeCaches(html$._HTMLFontElement); +dart.setLibraryUri(html$._HTMLFontElement, I[148]); +dart.registerExtension("HTMLFontElement", html$._HTMLFontElement); +html$._HTMLFrameElement = class _HTMLFrameElement extends html$.HtmlElement {}; +(html$._HTMLFrameElement.created = function() { + html$._HTMLFrameElement.__proto__.created.call(this); + ; +}).prototype = html$._HTMLFrameElement.prototype; +dart.addTypeTests(html$._HTMLFrameElement); +dart.addTypeCaches(html$._HTMLFrameElement); +dart.setLibraryUri(html$._HTMLFrameElement, I[148]); +dart.registerExtension("HTMLFrameElement", html$._HTMLFrameElement); +html$._HTMLFrameSetElement = class _HTMLFrameSetElement extends html$.HtmlElement {}; +(html$._HTMLFrameSetElement.created = function() { + html$._HTMLFrameSetElement.__proto__.created.call(this); + ; +}).prototype = html$._HTMLFrameSetElement.prototype; +dart.addTypeTests(html$._HTMLFrameSetElement); +dart.addTypeCaches(html$._HTMLFrameSetElement); +html$._HTMLFrameSetElement[dart.implements] = () => [html$.WindowEventHandlers]; +dart.setLibraryUri(html$._HTMLFrameSetElement, I[148]); +dart.registerExtension("HTMLFrameSetElement", html$._HTMLFrameSetElement); +html$._HTMLMarqueeElement = class _HTMLMarqueeElement extends html$.HtmlElement {}; +(html$._HTMLMarqueeElement.created = function() { + html$._HTMLMarqueeElement.__proto__.created.call(this); + ; +}).prototype = html$._HTMLMarqueeElement.prototype; +dart.addTypeTests(html$._HTMLMarqueeElement); +dart.addTypeCaches(html$._HTMLMarqueeElement); +dart.setLibraryUri(html$._HTMLMarqueeElement, I[148]); +dart.registerExtension("HTMLMarqueeElement", html$._HTMLMarqueeElement); +html$._Mojo = class _Mojo extends _interceptors.Interceptor {}; +dart.addTypeTests(html$._Mojo); +dart.addTypeCaches(html$._Mojo); +dart.setLibraryUri(html$._Mojo, I[148]); +dart.registerExtension("Mojo", html$._Mojo); +html$._MojoHandle = class _MojoHandle extends _interceptors.Interceptor {}; +dart.addTypeTests(html$._MojoHandle); +dart.addTypeCaches(html$._MojoHandle); +dart.setLibraryUri(html$._MojoHandle, I[148]); +dart.registerExtension("MojoHandle", html$._MojoHandle); +html$._MojoInterfaceInterceptor = class _MojoInterfaceInterceptor extends html$.EventTarget { + static new(interfaceName, scope = null) { + if (interfaceName == null) dart.nullFailed(I[147], 34989, 44, "interfaceName"); + if (scope != null) { + return html$._MojoInterfaceInterceptor._create_1(interfaceName, scope); + } + return html$._MojoInterfaceInterceptor._create_2(interfaceName); + } + static _create_1(interfaceName, scope) { + return new MojoInterfaceInterceptor(interfaceName, scope); + } + static _create_2(interfaceName) { + return new MojoInterfaceInterceptor(interfaceName); + } +}; +dart.addTypeTests(html$._MojoInterfaceInterceptor); +dart.addTypeCaches(html$._MojoInterfaceInterceptor); +dart.setLibraryUri(html$._MojoInterfaceInterceptor, I[148]); +dart.registerExtension("MojoInterfaceInterceptor", html$._MojoInterfaceInterceptor); +html$._MojoInterfaceRequestEvent = class _MojoInterfaceRequestEvent extends html$.Event { + static new(type, eventInitDict = null) { + if (type == null) dart.nullFailed(I[147], 35016, 45, "type"); + if (eventInitDict != null) { + let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); + return html$._MojoInterfaceRequestEvent._create_1(type, eventInitDict_1); + } + return html$._MojoInterfaceRequestEvent._create_2(type); + } + static _create_1(type, eventInitDict) { + return new MojoInterfaceRequestEvent(type, eventInitDict); + } + static _create_2(type) { + return new MojoInterfaceRequestEvent(type); + } +}; +dart.addTypeTests(html$._MojoInterfaceRequestEvent); +dart.addTypeCaches(html$._MojoInterfaceRequestEvent); +dart.setLibraryUri(html$._MojoInterfaceRequestEvent, I[148]); +dart.registerExtension("MojoInterfaceRequestEvent", html$._MojoInterfaceRequestEvent); +html$._MojoWatcher = class _MojoWatcher extends _interceptors.Interceptor {}; +dart.addTypeTests(html$._MojoWatcher); +dart.addTypeCaches(html$._MojoWatcher); +dart.setLibraryUri(html$._MojoWatcher, I[148]); +dart.registerExtension("MojoWatcher", html$._MojoWatcher); +html$._NFC = class _NFC extends _interceptors.Interceptor {}; +dart.addTypeTests(html$._NFC); +dart.addTypeCaches(html$._NFC); +dart.setLibraryUri(html$._NFC, I[148]); +dart.registerExtension("NFC", html$._NFC); +const Interceptor_ListMixin$36$10 = class Interceptor_ListMixin extends _interceptors.Interceptor {}; +(Interceptor_ListMixin$36$10.new = function() { + Interceptor_ListMixin$36$10.__proto__.new.call(this); +}).prototype = Interceptor_ListMixin$36$10.prototype; +dart.applyMixin(Interceptor_ListMixin$36$10, collection.ListMixin$(html$.Node)); +const Interceptor_ImmutableListMixin$36$10 = class Interceptor_ImmutableListMixin extends Interceptor_ListMixin$36$10 {}; +(Interceptor_ImmutableListMixin$36$10.new = function() { + Interceptor_ImmutableListMixin$36$10.__proto__.new.call(this); +}).prototype = Interceptor_ImmutableListMixin$36$10.prototype; +dart.applyMixin(Interceptor_ImmutableListMixin$36$10, html$.ImmutableListMixin$(html$.Node)); +html$._NamedNodeMap = class _NamedNodeMap extends Interceptor_ImmutableListMixin$36$10 { + get [$length]() { + return this.length; + } + [$_get](index) { + if (index == null) dart.nullFailed(I[147], 35070, 24, "index"); + if (index >>> 0 !== index || index >= this[$length]) dart.throw(new core.IndexError.new(index, this)); + return this[index]; + } + [$_set](index, value$) { + let value = value$; + if (index == null) dart.nullFailed(I[147], 35076, 25, "index"); + html$.Node.as(value); + if (value == null) dart.nullFailed(I[147], 35076, 37, "value"); + dart.throw(new core.UnsupportedError.new("Cannot assign element of immutable List.")); + return value$; + } + set [$length](value) { + if (value == null) dart.nullFailed(I[147], 35082, 18, "value"); + dart.throw(new core.UnsupportedError.new("Cannot resize immutable List.")); + } + get [$first]() { + if (dart.notNull(this[$length]) > 0) { + return this[0]; + } + dart.throw(new core.StateError.new("No elements")); + } + set [$first](value) { + super[$first] = value; + } + get [$last]() { + let len = this[$length]; + if (dart.notNull(len) > 0) { + return this[dart.notNull(len) - 1]; + } + dart.throw(new core.StateError.new("No elements")); + } + set [$last](value) { + super[$last] = value; + } + get [$single]() { + let len = this[$length]; + if (len === 1) { + return this[0]; + } + if (len === 0) dart.throw(new core.StateError.new("No elements")); + dart.throw(new core.StateError.new("More than one element")); + } + [$elementAt](index) { + if (index == null) dart.nullFailed(I[147], 35110, 22, "index"); + return this[$_get](index); + } + [S$3.$getNamedItem](...args) { + return this.getNamedItem.apply(this, args); + } + [S$3.$getNamedItemNS](...args) { + return this.getNamedItemNS.apply(this, args); + } + [S$.$item](...args) { + return this.item.apply(this, args); + } + [S$3.$removeNamedItem](...args) { + return this.removeNamedItem.apply(this, args); + } + [S$3.$removeNamedItemNS](...args) { + return this.removeNamedItemNS.apply(this, args); + } + [S$3.$setNamedItem](...args) { + return this.setNamedItem.apply(this, args); + } + [S$3.$setNamedItemNS](...args) { + return this.setNamedItemNS.apply(this, args); + } +}; +html$._NamedNodeMap.prototype[dart.isList] = true; +dart.addTypeTests(html$._NamedNodeMap); +dart.addTypeCaches(html$._NamedNodeMap); +html$._NamedNodeMap[dart.implements] = () => [_js_helper.JavaScriptIndexingBehavior$(html$.Node), core.List$(html$.Node)]; +dart.setMethodSignature(html$._NamedNodeMap, () => ({ + __proto__: dart.getMethods(html$._NamedNodeMap.__proto__), + [$_get]: dart.fnType(html$.Node, [core.int]), + [$_set]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), + [S$3.$getNamedItem]: dart.fnType(dart.nullable(html$._Attr), [core.String]), + [S$3.$getNamedItemNS]: dart.fnType(dart.nullable(html$._Attr), [dart.nullable(core.String), core.String]), + [S$.$item]: dart.fnType(dart.nullable(html$._Attr), [core.int]), + [S$3.$removeNamedItem]: dart.fnType(html$._Attr, [core.String]), + [S$3.$removeNamedItemNS]: dart.fnType(html$._Attr, [dart.nullable(core.String), core.String]), + [S$3.$setNamedItem]: dart.fnType(dart.nullable(html$._Attr), [html$._Attr]), + [S$3.$setNamedItemNS]: dart.fnType(dart.nullable(html$._Attr), [html$._Attr]) +})); +dart.setGetterSignature(html$._NamedNodeMap, () => ({ + __proto__: dart.getGetters(html$._NamedNodeMap.__proto__), + [$length]: core.int +})); +dart.setSetterSignature(html$._NamedNodeMap, () => ({ + __proto__: dart.getSetters(html$._NamedNodeMap.__proto__), + [$length]: core.int +})); +dart.setLibraryUri(html$._NamedNodeMap, I[148]); +dart.registerExtension("NamedNodeMap", html$._NamedNodeMap); +dart.registerExtension("MozNamedAttrMap", html$._NamedNodeMap); +html$._PagePopupController = class _PagePopupController extends _interceptors.Interceptor {}; +dart.addTypeTests(html$._PagePopupController); +dart.addTypeCaches(html$._PagePopupController); +dart.setLibraryUri(html$._PagePopupController, I[148]); +dart.registerExtension("PagePopupController", html$._PagePopupController); +html$._Report = class _Report extends _interceptors.Interceptor { + get [S$1.$body]() { + return this.body; + } + get [S.$type]() { + return this.type; + } + get [S$.$url]() { + return this.url; + } +}; +dart.addTypeTests(html$._Report); +dart.addTypeCaches(html$._Report); +dart.setGetterSignature(html$._Report, () => ({ + __proto__: dart.getGetters(html$._Report.__proto__), + [S$1.$body]: dart.nullable(html$.ReportBody), + [S.$type]: dart.nullable(core.String), + [S$.$url]: dart.nullable(core.String) +})); +dart.setLibraryUri(html$._Report, I[148]); +dart.registerExtension("Report", html$._Report); +html$._Request = class _Request extends html$.Body { + static new(input, requestInitDict = null) { + if (input == null) dart.nullFailed(I[147], 35175, 27, "input"); + if (requestInitDict != null) { + let requestInitDict_1 = html_common.convertDartToNative_Dictionary(requestInitDict); + return html$._Request._create_1(input, requestInitDict_1); + } + return html$._Request._create_2(input); + } + static _create_1(input, requestInitDict) { + return new Request(input, requestInitDict); + } + static _create_2(input) { + return new Request(input); + } + get [S$3.$cache]() { + return this.cache; + } + get [S$1.$credentials]() { + return this.credentials; + } + get [S$2.$headers]() { + return this.headers; + } + get [S$1.$integrity]() { + return this.integrity; + } + get [S.$mode]() { + return this.mode; + } + get [S$3.$redirect]() { + return this.redirect; + } + get [S$1.$referrer]() { + return this.referrer; + } + get [S$.$referrerPolicy]() { + return this.referrerPolicy; + } + get [S$.$url]() { + return this.url; + } + [S$.$clone](...args) { + return this.clone.apply(this, args); + } +}; +dart.addTypeTests(html$._Request); +dart.addTypeCaches(html$._Request); +dart.setMethodSignature(html$._Request, () => ({ + __proto__: dart.getMethods(html$._Request.__proto__), + [S$.$clone]: dart.fnType(html$._Request, []) +})); +dart.setGetterSignature(html$._Request, () => ({ + __proto__: dart.getGetters(html$._Request.__proto__), + [S$3.$cache]: dart.nullable(core.String), + [S$1.$credentials]: dart.nullable(core.String), + [S$2.$headers]: dart.nullable(html$.Headers), + [S$1.$integrity]: dart.nullable(core.String), + [S.$mode]: dart.nullable(core.String), + [S$3.$redirect]: dart.nullable(core.String), + [S$1.$referrer]: dart.nullable(core.String), + [S$.$referrerPolicy]: dart.nullable(core.String), + [S$.$url]: dart.nullable(core.String) +})); +dart.setLibraryUri(html$._Request, I[148]); +dart.registerExtension("Request", html$._Request); +html$._ResourceProgressEvent = class _ResourceProgressEvent extends html$.ProgressEvent {}; +dart.addTypeTests(html$._ResourceProgressEvent); +dart.addTypeCaches(html$._ResourceProgressEvent); +dart.setLibraryUri(html$._ResourceProgressEvent, I[148]); +dart.registerExtension("ResourceProgressEvent", html$._ResourceProgressEvent); +html$._Response = class _Response extends html$.Body { + static new(body = null, init = null) { + if (init != null) { + let init_1 = html_common.convertDartToNative_Dictionary(init); + return html$._Response._create_1(body, init_1); + } + if (body != null) { + return html$._Response._create_2(body); + } + return html$._Response._create_3(); + } + static _create_1(body, init) { + return new Response(body, init); + } + static _create_2(body) { + return new Response(body); + } + static _create_3() { + return new Response(); + } +}; +dart.addTypeTests(html$._Response); +dart.addTypeCaches(html$._Response); +dart.setLibraryUri(html$._Response, I[148]); +dart.registerExtension("Response", html$._Response); +const Interceptor_ListMixin$36$11 = class Interceptor_ListMixin extends _interceptors.Interceptor {}; +(Interceptor_ListMixin$36$11.new = function() { + Interceptor_ListMixin$36$11.__proto__.new.call(this); +}).prototype = Interceptor_ListMixin$36$11.prototype; +dart.applyMixin(Interceptor_ListMixin$36$11, collection.ListMixin$(html$.SpeechRecognitionResult)); +const Interceptor_ImmutableListMixin$36$11 = class Interceptor_ImmutableListMixin extends Interceptor_ListMixin$36$11 {}; +(Interceptor_ImmutableListMixin$36$11.new = function() { + Interceptor_ImmutableListMixin$36$11.__proto__.new.call(this); +}).prototype = Interceptor_ImmutableListMixin$36$11.prototype; +dart.applyMixin(Interceptor_ImmutableListMixin$36$11, html$.ImmutableListMixin$(html$.SpeechRecognitionResult)); +html$._SpeechRecognitionResultList = class _SpeechRecognitionResultList extends Interceptor_ImmutableListMixin$36$11 { + get [$length]() { + return this.length; + } + [$_get](index) { + if (index == null) dart.nullFailed(I[147], 35264, 43, "index"); + if (index >>> 0 !== index || index >= this[$length]) dart.throw(new core.IndexError.new(index, this)); + return this[index]; + } + [$_set](index, value$) { + let value = value$; + if (index == null) dart.nullFailed(I[147], 35270, 25, "index"); + html$.SpeechRecognitionResult.as(value); + if (value == null) dart.nullFailed(I[147], 35270, 56, "value"); + dart.throw(new core.UnsupportedError.new("Cannot assign element of immutable List.")); + return value$; + } + set [$length](value) { + if (value == null) dart.nullFailed(I[147], 35276, 18, "value"); + dart.throw(new core.UnsupportedError.new("Cannot resize immutable List.")); + } + get [$first]() { + if (dart.notNull(this[$length]) > 0) { + return this[0]; + } + dart.throw(new core.StateError.new("No elements")); + } + set [$first](value) { + super[$first] = value; + } + get [$last]() { + let len = this[$length]; + if (dart.notNull(len) > 0) { + return this[dart.notNull(len) - 1]; + } + dart.throw(new core.StateError.new("No elements")); + } + set [$last](value) { + super[$last] = value; + } + get [$single]() { + let len = this[$length]; + if (len === 1) { + return this[0]; + } + if (len === 0) dart.throw(new core.StateError.new("No elements")); + dart.throw(new core.StateError.new("More than one element")); + } + [$elementAt](index) { + if (index == null) dart.nullFailed(I[147], 35304, 41, "index"); + return this[$_get](index); + } + [S$.$item](...args) { + return this.item.apply(this, args); + } +}; +html$._SpeechRecognitionResultList.prototype[dart.isList] = true; +dart.addTypeTests(html$._SpeechRecognitionResultList); +dart.addTypeCaches(html$._SpeechRecognitionResultList); +html$._SpeechRecognitionResultList[dart.implements] = () => [_js_helper.JavaScriptIndexingBehavior$(html$.SpeechRecognitionResult), core.List$(html$.SpeechRecognitionResult)]; +dart.setMethodSignature(html$._SpeechRecognitionResultList, () => ({ + __proto__: dart.getMethods(html$._SpeechRecognitionResultList.__proto__), + [$_get]: dart.fnType(html$.SpeechRecognitionResult, [core.int]), + [$_set]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), + [S$.$item]: dart.fnType(html$.SpeechRecognitionResult, [core.int]) +})); +dart.setGetterSignature(html$._SpeechRecognitionResultList, () => ({ + __proto__: dart.getGetters(html$._SpeechRecognitionResultList.__proto__), + [$length]: core.int +})); +dart.setSetterSignature(html$._SpeechRecognitionResultList, () => ({ + __proto__: dart.getSetters(html$._SpeechRecognitionResultList.__proto__), + [$length]: core.int +})); +dart.setLibraryUri(html$._SpeechRecognitionResultList, I[148]); +dart.registerExtension("SpeechRecognitionResultList", html$._SpeechRecognitionResultList); +const Interceptor_ListMixin$36$12 = class Interceptor_ListMixin extends _interceptors.Interceptor {}; +(Interceptor_ListMixin$36$12.new = function() { + Interceptor_ListMixin$36$12.__proto__.new.call(this); +}).prototype = Interceptor_ListMixin$36$12.prototype; +dart.applyMixin(Interceptor_ListMixin$36$12, collection.ListMixin$(html$.StyleSheet)); +const Interceptor_ImmutableListMixin$36$12 = class Interceptor_ImmutableListMixin extends Interceptor_ListMixin$36$12 {}; +(Interceptor_ImmutableListMixin$36$12.new = function() { + Interceptor_ImmutableListMixin$36$12.__proto__.new.call(this); +}).prototype = Interceptor_ImmutableListMixin$36$12.prototype; +dart.applyMixin(Interceptor_ImmutableListMixin$36$12, html$.ImmutableListMixin$(html$.StyleSheet)); +html$._StyleSheetList = class _StyleSheetList extends Interceptor_ImmutableListMixin$36$12 { + get [$length]() { + return this.length; + } + [$_get](index) { + if (index == null) dart.nullFailed(I[147], 35324, 30, "index"); + if (index >>> 0 !== index || index >= this[$length]) dart.throw(new core.IndexError.new(index, this)); + return this[index]; + } + [$_set](index, value$) { + let value = value$; + if (index == null) dart.nullFailed(I[147], 35330, 25, "index"); + html$.StyleSheet.as(value); + if (value == null) dart.nullFailed(I[147], 35330, 43, "value"); + dart.throw(new core.UnsupportedError.new("Cannot assign element of immutable List.")); + return value$; + } + set [$length](value) { + if (value == null) dart.nullFailed(I[147], 35336, 18, "value"); + dart.throw(new core.UnsupportedError.new("Cannot resize immutable List.")); + } + get [$first]() { + if (dart.notNull(this[$length]) > 0) { + return this[0]; + } + dart.throw(new core.StateError.new("No elements")); + } + set [$first](value) { + super[$first] = value; + } + get [$last]() { + let len = this[$length]; + if (dart.notNull(len) > 0) { + return this[dart.notNull(len) - 1]; + } + dart.throw(new core.StateError.new("No elements")); + } + set [$last](value) { + super[$last] = value; + } + get [$single]() { + let len = this[$length]; + if (len === 1) { + return this[0]; + } + if (len === 0) dart.throw(new core.StateError.new("No elements")); + dart.throw(new core.StateError.new("More than one element")); + } + [$elementAt](index) { + if (index == null) dart.nullFailed(I[147], 35364, 28, "index"); + return this[$_get](index); + } + [S$.__getter__](...args) { + return this.__getter__.apply(this, args); + } + [S$.$item](...args) { + return this.item.apply(this, args); + } +}; +html$._StyleSheetList.prototype[dart.isList] = true; +dart.addTypeTests(html$._StyleSheetList); +dart.addTypeCaches(html$._StyleSheetList); +html$._StyleSheetList[dart.implements] = () => [core.List$(html$.StyleSheet), _js_helper.JavaScriptIndexingBehavior$(html$.StyleSheet)]; +dart.setMethodSignature(html$._StyleSheetList, () => ({ + __proto__: dart.getMethods(html$._StyleSheetList.__proto__), + [$_get]: dart.fnType(html$.StyleSheet, [core.int]), + [$_set]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), + [S$.__getter__]: dart.fnType(html$.CssStyleSheet, [core.String]), + [S$.$item]: dart.fnType(dart.nullable(html$.StyleSheet), [core.int]) +})); +dart.setGetterSignature(html$._StyleSheetList, () => ({ + __proto__: dart.getGetters(html$._StyleSheetList.__proto__), + [$length]: core.int +})); +dart.setSetterSignature(html$._StyleSheetList, () => ({ + __proto__: dart.getSetters(html$._StyleSheetList.__proto__), + [$length]: core.int +})); +dart.setLibraryUri(html$._StyleSheetList, I[148]); +dart.registerExtension("StyleSheetList", html$._StyleSheetList); +html$._SubtleCrypto = class _SubtleCrypto extends _interceptors.Interceptor {}; +dart.addTypeTests(html$._SubtleCrypto); +dart.addTypeCaches(html$._SubtleCrypto); +dart.setLibraryUri(html$._SubtleCrypto, I[148]); +dart.registerExtension("SubtleCrypto", html$._SubtleCrypto); +html$._USB = class _USB extends html$.EventTarget {}; +dart.addTypeTests(html$._USB); +dart.addTypeCaches(html$._USB); +dart.setLibraryUri(html$._USB, I[148]); +dart.registerExtension("USB", html$._USB); +html$._USBAlternateInterface = class _USBAlternateInterface extends _interceptors.Interceptor { + static new(deviceInterface, alternateSetting) { + if (deviceInterface == null) dart.nullFailed(I[147], 35405, 21, "deviceInterface"); + if (alternateSetting == null) dart.nullFailed(I[147], 35405, 42, "alternateSetting"); + return html$._USBAlternateInterface._create_1(deviceInterface, alternateSetting); + } + static _create_1(deviceInterface, alternateSetting) { + return new USBAlternateInterface(deviceInterface, alternateSetting); + } +}; +dart.addTypeTests(html$._USBAlternateInterface); +dart.addTypeCaches(html$._USBAlternateInterface); +dart.setLibraryUri(html$._USBAlternateInterface, I[148]); +dart.registerExtension("USBAlternateInterface", html$._USBAlternateInterface); +html$._USBConfiguration = class _USBConfiguration extends _interceptors.Interceptor { + static new(device, configurationValue) { + if (device == null) dart.nullFailed(I[147], 35423, 40, "device"); + if (configurationValue == null) dart.nullFailed(I[147], 35423, 52, "configurationValue"); + return html$._USBConfiguration._create_1(device, configurationValue); + } + static _create_1(device, configurationValue) { + return new USBConfiguration(device, configurationValue); + } +}; +dart.addTypeTests(html$._USBConfiguration); +dart.addTypeCaches(html$._USBConfiguration); +dart.setLibraryUri(html$._USBConfiguration, I[148]); +dart.registerExtension("USBConfiguration", html$._USBConfiguration); +html$._USBConnectionEvent = class _USBConnectionEvent extends html$.Event { + static new(type, eventInitDict) { + if (type == null) dart.nullFailed(I[147], 35443, 38, "type"); + if (eventInitDict == null) dart.nullFailed(I[147], 35443, 48, "eventInitDict"); + let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); + return html$._USBConnectionEvent._create_1(type, eventInitDict_1); + } + static _create_1(type, eventInitDict) { + return new USBConnectionEvent(type, eventInitDict); + } +}; +dart.addTypeTests(html$._USBConnectionEvent); +dart.addTypeCaches(html$._USBConnectionEvent); +dart.setLibraryUri(html$._USBConnectionEvent, I[148]); +dart.registerExtension("USBConnectionEvent", html$._USBConnectionEvent); +html$._USBDevice = class _USBDevice extends _interceptors.Interceptor {}; +dart.addTypeTests(html$._USBDevice); +dart.addTypeCaches(html$._USBDevice); +dart.setLibraryUri(html$._USBDevice, I[148]); +dart.registerExtension("USBDevice", html$._USBDevice); +html$._USBEndpoint = class _USBEndpoint extends _interceptors.Interceptor { + static new(alternate, endpointNumber, direction) { + if (alternate == null) dart.nullFailed(I[147], 35476, 30, "alternate"); + if (endpointNumber == null) dart.nullFailed(I[147], 35476, 45, "endpointNumber"); + if (direction == null) dart.nullFailed(I[147], 35476, 68, "direction"); + return html$._USBEndpoint._create_1(alternate, endpointNumber, direction); + } + static _create_1(alternate, endpointNumber, direction) { + return new USBEndpoint(alternate, endpointNumber, direction); + } +}; +dart.addTypeTests(html$._USBEndpoint); +dart.addTypeCaches(html$._USBEndpoint); +dart.setLibraryUri(html$._USBEndpoint, I[148]); +dart.registerExtension("USBEndpoint", html$._USBEndpoint); +html$._USBInTransferResult = class _USBInTransferResult extends _interceptors.Interceptor { + static new(status, data = null) { + if (status == null) dart.nullFailed(I[147], 35497, 39, "status"); + if (data != null) { + return html$._USBInTransferResult._create_1(status, data); + } + return html$._USBInTransferResult._create_2(status); + } + static _create_1(status, data) { + return new USBInTransferResult(status, data); + } + static _create_2(status) { + return new USBInTransferResult(status); + } +}; +dart.addTypeTests(html$._USBInTransferResult); +dart.addTypeCaches(html$._USBInTransferResult); +dart.setLibraryUri(html$._USBInTransferResult, I[148]); +dart.registerExtension("USBInTransferResult", html$._USBInTransferResult); +html$._USBInterface = class _USBInterface extends _interceptors.Interceptor { + static new(configuration, interfaceNumber) { + if (configuration == null) dart.nullFailed(I[147], 35519, 43, "configuration"); + if (interfaceNumber == null) dart.nullFailed(I[147], 35519, 62, "interfaceNumber"); + return html$._USBInterface._create_1(configuration, interfaceNumber); + } + static _create_1(configuration, interfaceNumber) { + return new USBInterface(configuration, interfaceNumber); + } +}; +dart.addTypeTests(html$._USBInterface); +dart.addTypeCaches(html$._USBInterface); +dart.setLibraryUri(html$._USBInterface, I[148]); +dart.registerExtension("USBInterface", html$._USBInterface); +html$._USBIsochronousInTransferPacket = class _USBIsochronousInTransferPacket extends _interceptors.Interceptor { + static new(status, data = null) { + if (status == null) dart.nullFailed(I[147], 35536, 50, "status"); + if (data != null) { + return html$._USBIsochronousInTransferPacket._create_1(status, data); + } + return html$._USBIsochronousInTransferPacket._create_2(status); + } + static _create_1(status, data) { + return new USBIsochronousInTransferPacket(status, data); + } + static _create_2(status) { + return new USBIsochronousInTransferPacket(status); + } +}; +dart.addTypeTests(html$._USBIsochronousInTransferPacket); +dart.addTypeCaches(html$._USBIsochronousInTransferPacket); +dart.setLibraryUri(html$._USBIsochronousInTransferPacket, I[148]); +dart.registerExtension("USBIsochronousInTransferPacket", html$._USBIsochronousInTransferPacket); +html$._USBIsochronousInTransferResult = class _USBIsochronousInTransferResult extends _interceptors.Interceptor { + static new(packets, data = null) { + if (packets == null) dart.nullFailed(I[147], 35564, 45, "packets"); + if (data != null) { + return html$._USBIsochronousInTransferResult._create_1(packets, data); + } + return html$._USBIsochronousInTransferResult._create_2(packets); + } + static _create_1(packets, data) { + return new USBIsochronousInTransferResult(packets, data); + } + static _create_2(packets) { + return new USBIsochronousInTransferResult(packets); + } +}; +dart.addTypeTests(html$._USBIsochronousInTransferResult); +dart.addTypeCaches(html$._USBIsochronousInTransferResult); +dart.setLibraryUri(html$._USBIsochronousInTransferResult, I[148]); +dart.registerExtension("USBIsochronousInTransferResult", html$._USBIsochronousInTransferResult); +html$._USBIsochronousOutTransferPacket = class _USBIsochronousOutTransferPacket extends _interceptors.Interceptor { + static new(status, bytesWritten = null) { + if (status == null) dart.nullFailed(I[147], 35592, 51, "status"); + if (bytesWritten != null) { + return html$._USBIsochronousOutTransferPacket._create_1(status, bytesWritten); + } + return html$._USBIsochronousOutTransferPacket._create_2(status); + } + static _create_1(status, bytesWritten) { + return new USBIsochronousOutTransferPacket(status, bytesWritten); + } + static _create_2(status) { + return new USBIsochronousOutTransferPacket(status); + } +}; +dart.addTypeTests(html$._USBIsochronousOutTransferPacket); +dart.addTypeCaches(html$._USBIsochronousOutTransferPacket); +dart.setLibraryUri(html$._USBIsochronousOutTransferPacket, I[148]); +dart.registerExtension("USBIsochronousOutTransferPacket", html$._USBIsochronousOutTransferPacket); +html$._USBIsochronousOutTransferResult = class _USBIsochronousOutTransferResult extends _interceptors.Interceptor { + static new(packets) { + if (packets == null) dart.nullFailed(I[147], 35620, 46, "packets"); + return html$._USBIsochronousOutTransferResult._create_1(packets); + } + static _create_1(packets) { + return new USBIsochronousOutTransferResult(packets); + } +}; +dart.addTypeTests(html$._USBIsochronousOutTransferResult); +dart.addTypeCaches(html$._USBIsochronousOutTransferResult); +dart.setLibraryUri(html$._USBIsochronousOutTransferResult, I[148]); +dart.registerExtension("USBIsochronousOutTransferResult", html$._USBIsochronousOutTransferResult); +html$._USBOutTransferResult = class _USBOutTransferResult extends _interceptors.Interceptor { + static new(status, bytesWritten = null) { + if (status == null) dart.nullFailed(I[147], 35639, 40, "status"); + if (bytesWritten != null) { + return html$._USBOutTransferResult._create_1(status, bytesWritten); + } + return html$._USBOutTransferResult._create_2(status); + } + static _create_1(status, bytesWritten) { + return new USBOutTransferResult(status, bytesWritten); + } + static _create_2(status) { + return new USBOutTransferResult(status); + } +}; +dart.addTypeTests(html$._USBOutTransferResult); +dart.addTypeCaches(html$._USBOutTransferResult); +dart.setLibraryUri(html$._USBOutTransferResult, I[148]); +dart.registerExtension("USBOutTransferResult", html$._USBOutTransferResult); +html$._WindowTimers = class _WindowTimers extends _interceptors.Interceptor {}; +dart.addTypeTests(html$._WindowTimers); +dart.addTypeCaches(html$._WindowTimers); +dart.setLibraryUri(html$._WindowTimers, I[148]); +html$._WorkerLocation = class _WorkerLocation extends _interceptors.Interceptor {}; +dart.addTypeTests(html$._WorkerLocation); +dart.addTypeCaches(html$._WorkerLocation); +html$._WorkerLocation[dart.implements] = () => [html$.UrlUtilsReadOnly]; +dart.setLibraryUri(html$._WorkerLocation, I[148]); +dart.registerExtension("WorkerLocation", html$._WorkerLocation); +html$._WorkerNavigator = class _WorkerNavigator extends html$.NavigatorConcurrentHardware {}; +dart.addTypeTests(html$._WorkerNavigator); +dart.addTypeCaches(html$._WorkerNavigator); +html$._WorkerNavigator[dart.implements] = () => [html$.NavigatorOnLine, html$.NavigatorID]; +dart.setLibraryUri(html$._WorkerNavigator, I[148]); +dart.registerExtension("WorkerNavigator", html$._WorkerNavigator); +html$._Worklet = class _Worklet extends _interceptors.Interceptor {}; +dart.addTypeTests(html$._Worklet); +dart.addTypeCaches(html$._Worklet); +dart.setLibraryUri(html$._Worklet, I[148]); +dart.registerExtension("Worklet", html$._Worklet); +html$._AttributeMap = class _AttributeMap extends collection.MapBase$(core.String, core.String) { + addAll(other) { + T$0.MapOfString$String().as(other); + if (other == null) dart.nullFailed(I[147], 35728, 35, "other"); + other[$forEach](dart.fn((k, v) => { + if (k == null) dart.nullFailed(I[147], 35729, 20, "k"); + if (v == null) dart.nullFailed(I[147], 35729, 23, "v"); + this[$_set](k, v); + }, T$0.StringAndStringTovoid())); + } + cast(K, V) { + return core.Map.castFrom(core.String, core.String, K, V, this); + } + containsValue(value) { + for (let v of this.values) { + if (dart.equals(value, v)) { + return true; + } + } + return false; + } + putIfAbsent(key, ifAbsent) { + core.String.as(key); + if (key == null) dart.nullFailed(I[147], 35744, 29, "key"); + T$.VoidToString().as(ifAbsent); + if (ifAbsent == null) dart.nullFailed(I[147], 35744, 41, "ifAbsent"); + if (!dart.test(this[$containsKey](key))) { + this[$_set](key, ifAbsent()); + } + return dart.nullCast(this[$_get](key), core.String); + } + clear() { + for (let key of this.keys) { + this[$remove](key); + } + } + forEach(f) { + if (f == null) dart.nullFailed(I[147], 35757, 21, "f"); + for (let key of this.keys) { + let value = this[$_get](key); + f(key, dart.nullCast(value, core.String)); + } + } + get keys() { + let attributes = dart.nullCheck(this[S$1._element$2][S._attributes$1]); + let keys = T$.JSArrayOfString().of([]); + for (let i = 0, len = attributes[$length]; i < dart.notNull(len); i = i + 1) { + let attr = html$._Attr.as(attributes[$_get](i)); + if (dart.test(this[S$3._matches](attr))) { + keys[$add](dart.nullCheck(attr.name)); + } + } + return keys; + } + get values() { + let attributes = dart.nullCheck(this[S$1._element$2][S._attributes$1]); + let values = T$.JSArrayOfString().of([]); + for (let i = 0, len = attributes[$length]; i < dart.notNull(len); i = i + 1) { + let attr = html$._Attr.as(attributes[$_get](i)); + if (dart.test(this[S$3._matches](attr))) { + values[$add](dart.nullCheck(attr.value)); + } + } + return values; + } + get isEmpty() { + return this[$length] === 0; + } + get isNotEmpty() { + return !dart.test(this.isEmpty); + } +}; +(html$._AttributeMap.new = function(_element) { + if (_element == null) dart.nullFailed(I[147], 35726, 22, "_element"); + this[S$1._element$2] = _element; + ; +}).prototype = html$._AttributeMap.prototype; +dart.addTypeTests(html$._AttributeMap); +dart.addTypeCaches(html$._AttributeMap); +dart.setMethodSignature(html$._AttributeMap, () => ({ + __proto__: dart.getMethods(html$._AttributeMap.__proto__), + cast: dart.gFnType((K, V) => [core.Map$(K, V), []], (K, V) => [dart.nullable(core.Object), dart.nullable(core.Object)]), + [$cast]: dart.gFnType((K, V) => [core.Map$(K, V), []], (K, V) => [dart.nullable(core.Object), dart.nullable(core.Object)]), + clear: dart.fnType(dart.void, []), + [$clear]: dart.fnType(dart.void, []) +})); +dart.setGetterSignature(html$._AttributeMap, () => ({ + __proto__: dart.getGetters(html$._AttributeMap.__proto__), + keys: core.Iterable$(core.String), + [$keys]: core.Iterable$(core.String) +})); +dart.setLibraryUri(html$._AttributeMap, I[148]); +dart.setFieldSignature(html$._AttributeMap, () => ({ + __proto__: dart.getFields(html$._AttributeMap.__proto__), + [S$1._element$2]: dart.finalFieldType(html$.Element) +})); +dart.defineExtensionMethods(html$._AttributeMap, [ + 'addAll', + 'cast', + 'containsValue', + 'putIfAbsent', + 'clear', + 'forEach' +]); +dart.defineExtensionAccessors(html$._AttributeMap, ['keys', 'values', 'isEmpty', 'isNotEmpty']); +html$._ElementAttributeMap = class _ElementAttributeMap extends html$._AttributeMap { + containsKey(key) { + return typeof key == 'string' && dart.test(this[S$1._element$2][S._hasAttribute](key)); + } + _get(key) { + return this[S$1._element$2][S.$getAttribute](core.String.as(key)); + } + _set(key, value$) { + let value = value$; + core.String.as(key); + if (key == null) dart.nullFailed(I[147], 35822, 28, "key"); + core.String.as(value); + if (value == null) dart.nullFailed(I[147], 35822, 40, "value"); + this[S$1._element$2][S.$setAttribute](key, value); + return value$; + } + remove(key) { + return typeof key == 'string' ? html$._ElementAttributeMap._remove(this[S$1._element$2], key) : null; + } + get length() { + return this.keys[$length]; + } + [S$3._matches](node) { + if (node == null) dart.nullFailed(I[147], 35836, 23, "node"); + return node[S._namespaceUri] == null; + } + static _remove(element, key) { + if (element == null) dart.nullFailed(I[147], 35841, 34, "element"); + if (key == null) dart.nullFailed(I[147], 35841, 50, "key"); + let value = element.getAttribute(key); + element.removeAttribute(key); + return value; + } +}; +(html$._ElementAttributeMap.new = function(element) { + if (element == null) dart.nullFailed(I[147], 35812, 32, "element"); + html$._ElementAttributeMap.__proto__.new.call(this, element); + ; +}).prototype = html$._ElementAttributeMap.prototype; +dart.addTypeTests(html$._ElementAttributeMap); +dart.addTypeCaches(html$._ElementAttributeMap); +dart.setMethodSignature(html$._ElementAttributeMap, () => ({ + __proto__: dart.getMethods(html$._ElementAttributeMap.__proto__), + _get: dart.fnType(dart.nullable(core.String), [dart.nullable(core.Object)]), + [$_get]: dart.fnType(dart.nullable(core.String), [dart.nullable(core.Object)]), + _set: dart.fnType(dart.void, [dart.nullable(core.Object), dart.nullable(core.Object)]), + [$_set]: dart.fnType(dart.void, [dart.nullable(core.Object), dart.nullable(core.Object)]), + remove: dart.fnType(dart.nullable(core.String), [dart.nullable(core.Object)]), + [$remove]: dart.fnType(dart.nullable(core.String), [dart.nullable(core.Object)]), + [S$3._matches]: dart.fnType(core.bool, [html$._Attr]) +})); +dart.setLibraryUri(html$._ElementAttributeMap, I[148]); +dart.defineExtensionMethods(html$._ElementAttributeMap, ['containsKey', '_get', '_set', 'remove']); +dart.defineExtensionAccessors(html$._ElementAttributeMap, ['length']); +html$._NamespacedAttributeMap = class _NamespacedAttributeMap extends html$._AttributeMap { + containsKey(key) { + return typeof key == 'string' && dart.test(this[S$1._element$2][S._hasAttributeNS](this[S$3._namespace], key)); + } + _get(key) { + return this[S$1._element$2][S.$getAttributeNS](this[S$3._namespace], core.String.as(key)); + } + _set(key, value$) { + let value = value$; + core.String.as(key); + if (key == null) dart.nullFailed(I[147], 35870, 28, "key"); + core.String.as(value); + if (value == null) dart.nullFailed(I[147], 35870, 40, "value"); + this[S$1._element$2][S.$setAttributeNS](this[S$3._namespace], key, value); + return value$; + } + remove(key) { + return typeof key == 'string' ? html$._NamespacedAttributeMap._remove(this[S$3._namespace], this[S$1._element$2], key) : null; + } + get length() { + return this.keys[$length]; + } + [S$3._matches](node) { + if (node == null) dart.nullFailed(I[147], 35885, 23, "node"); + return node[S._namespaceUri] == this[S$3._namespace]; + } + static _remove(namespace, element, key) { + if (element == null) dart.nullFailed(I[147], 35891, 53, "element"); + if (key == null) dart.nullFailed(I[147], 35891, 69, "key"); + let value = element.getAttributeNS(namespace, key); + element.removeAttributeNS(namespace, key); + return value; + } +}; +(html$._NamespacedAttributeMap.new = function(element, _namespace) { + if (element == null) dart.nullFailed(I[147], 35860, 35, "element"); + this[S$3._namespace] = _namespace; + html$._NamespacedAttributeMap.__proto__.new.call(this, element); + ; +}).prototype = html$._NamespacedAttributeMap.prototype; +dart.addTypeTests(html$._NamespacedAttributeMap); +dart.addTypeCaches(html$._NamespacedAttributeMap); +dart.setMethodSignature(html$._NamespacedAttributeMap, () => ({ + __proto__: dart.getMethods(html$._NamespacedAttributeMap.__proto__), + _get: dart.fnType(dart.nullable(core.String), [dart.nullable(core.Object)]), + [$_get]: dart.fnType(dart.nullable(core.String), [dart.nullable(core.Object)]), + _set: dart.fnType(dart.void, [dart.nullable(core.Object), dart.nullable(core.Object)]), + [$_set]: dart.fnType(dart.void, [dart.nullable(core.Object), dart.nullable(core.Object)]), + remove: dart.fnType(dart.nullable(core.String), [dart.nullable(core.Object)]), + [$remove]: dart.fnType(dart.nullable(core.String), [dart.nullable(core.Object)]), + [S$3._matches]: dart.fnType(core.bool, [html$._Attr]) +})); +dart.setLibraryUri(html$._NamespacedAttributeMap, I[148]); +dart.setFieldSignature(html$._NamespacedAttributeMap, () => ({ + __proto__: dart.getFields(html$._NamespacedAttributeMap.__proto__), + [S$3._namespace]: dart.finalFieldType(dart.nullable(core.String)) +})); +dart.defineExtensionMethods(html$._NamespacedAttributeMap, ['containsKey', '_get', '_set', 'remove']); +dart.defineExtensionAccessors(html$._NamespacedAttributeMap, ['length']); +html$._DataAttributeMap = class _DataAttributeMap extends collection.MapBase$(core.String, core.String) { + addAll(other) { + T$0.MapOfString$String().as(other); + if (other == null) dart.nullFailed(I[147], 35916, 35, "other"); + other[$forEach](dart.fn((k, v) => { + if (k == null) dart.nullFailed(I[147], 35917, 20, "k"); + if (v == null) dart.nullFailed(I[147], 35917, 23, "v"); + this._set(k, v); + }, T$0.StringAndStringTovoid())); + } + cast(K, V) { + return core.Map.castFrom(core.String, core.String, K, V, this); + } + containsValue(value) { + return this.values[$any](dart.fn(v => { + if (v == null) dart.nullFailed(I[147], 35924, 52, "v"); + return core.identical(v, value); + }, T$.StringTobool())); + } + containsKey(key) { + return this[S._attributes$1][$containsKey](this[S$3._attr](core.String.as(key))); + } + _get(key) { + return this[S._attributes$1][$_get](this[S$3._attr](core.String.as(key))); + } + _set(key, value$) { + let value = value$; + core.String.as(key); + if (key == null) dart.nullFailed(I[147], 35931, 28, "key"); + core.String.as(value); + if (value == null) dart.nullFailed(I[147], 35931, 40, "value"); + this[S._attributes$1][$_set](this[S$3._attr](key), value); + return value$; + } + putIfAbsent(key, ifAbsent) { + core.String.as(key); + if (key == null) dart.nullFailed(I[147], 35935, 29, "key"); + T$.VoidToString().as(ifAbsent); + if (ifAbsent == null) dart.nullFailed(I[147], 35935, 41, "ifAbsent"); + return this[S._attributes$1][$putIfAbsent](this[S$3._attr](key), ifAbsent); + } + remove(key) { + return this[S._attributes$1][$remove](this[S$3._attr](core.String.as(key))); + } + clear() { + for (let key of this.keys) { + this.remove(key); + } + } + forEach(f) { + if (f == null) dart.nullFailed(I[147], 35947, 21, "f"); + this[S._attributes$1][$forEach](dart.fn((key, value) => { + if (key == null) dart.nullFailed(I[147], 35948, 33, "key"); + if (value == null) dart.nullFailed(I[147], 35948, 45, "value"); + if (dart.test(this[S$3._matches](key))) { + f(this[S$3._strip](key), value); + } + }, T$0.StringAndStringTovoid())); + } + get keys() { + let keys = T$.JSArrayOfString().of([]); + this[S._attributes$1][$forEach](dart.fn((key, value) => { + if (key == null) dart.nullFailed(I[147], 35957, 33, "key"); + if (value == null) dart.nullFailed(I[147], 35957, 45, "value"); + if (dart.test(this[S$3._matches](key))) { + keys[$add](this[S$3._strip](key)); + } + }, T$0.StringAndStringTovoid())); + return keys; + } + get values() { + let values = T$.JSArrayOfString().of([]); + this[S._attributes$1][$forEach](dart.fn((key, value) => { + if (key == null) dart.nullFailed(I[147], 35967, 33, "key"); + if (value == null) dart.nullFailed(I[147], 35967, 45, "value"); + if (dart.test(this[S$3._matches](key))) { + values[$add](value); + } + }, T$0.StringAndStringTovoid())); + return values; + } + get length() { + return this.keys[$length]; + } + get isEmpty() { + return this.length === 0; + } + get isNotEmpty() { + return !dart.test(this.isEmpty); + } + [S$3._attr](key) { + if (key == null) dart.nullFailed(I[147], 35983, 23, "key"); + return "data-" + dart.str(this[S$3._toHyphenedName](key)); + } + [S$3._matches](key) { + if (key == null) dart.nullFailed(I[147], 35984, 24, "key"); + return key[$startsWith]("data-"); + } + [S$3._strip](key) { + if (key == null) dart.nullFailed(I[147], 35985, 24, "key"); + return this[S$3._toCamelCase](key[$substring](5)); + } + [S$3._toCamelCase](hyphenedName, opts) { + if (hyphenedName == null) dart.nullFailed(I[147], 35992, 30, "hyphenedName"); + let startUppercase = opts && 'startUppercase' in opts ? opts.startUppercase : false; + if (startUppercase == null) dart.nullFailed(I[147], 35992, 50, "startUppercase"); + let segments = hyphenedName[$split]("-"); + let start = dart.test(startUppercase) ? 0 : 1; + for (let i = start; i < dart.notNull(segments[$length]); i = i + 1) { + let segment = segments[$_get](i); + if (segment.length > 0) { + segments[$_set](i, segment[$_get](0)[$toUpperCase]() + segment[$substring](1)); + } + } + return segments[$join](""); + } + [S$3._toHyphenedName](word) { + if (word == null) dart.nullFailed(I[147], 36006, 33, "word"); + let sb = new core.StringBuffer.new(); + for (let i = 0; i < word.length; i = i + 1) { + let lower = word[$_get](i)[$toLowerCase](); + if (word[$_get](i) !== lower && i > 0) sb.write("-"); + sb.write(lower); + } + return sb.toString(); + } +}; +(html$._DataAttributeMap.new = function(_attributes) { + if (_attributes == null) dart.nullFailed(I[147], 35912, 26, "_attributes"); + this[S._attributes$1] = _attributes; + ; +}).prototype = html$._DataAttributeMap.prototype; +dart.addTypeTests(html$._DataAttributeMap); +dart.addTypeCaches(html$._DataAttributeMap); +dart.setMethodSignature(html$._DataAttributeMap, () => ({ + __proto__: dart.getMethods(html$._DataAttributeMap.__proto__), + cast: dart.gFnType((K, V) => [core.Map$(K, V), []], (K, V) => [dart.nullable(core.Object), dart.nullable(core.Object)]), + [$cast]: dart.gFnType((K, V) => [core.Map$(K, V), []], (K, V) => [dart.nullable(core.Object), dart.nullable(core.Object)]), + _get: dart.fnType(dart.nullable(core.String), [dart.nullable(core.Object)]), + [$_get]: dart.fnType(dart.nullable(core.String), [dart.nullable(core.Object)]), + _set: dart.fnType(dart.void, [dart.nullable(core.Object), dart.nullable(core.Object)]), + [$_set]: dart.fnType(dart.void, [dart.nullable(core.Object), dart.nullable(core.Object)]), + remove: dart.fnType(dart.nullable(core.String), [dart.nullable(core.Object)]), + [$remove]: dart.fnType(dart.nullable(core.String), [dart.nullable(core.Object)]), + clear: dart.fnType(dart.void, []), + [$clear]: dart.fnType(dart.void, []), + [S$3._attr]: dart.fnType(core.String, [core.String]), + [S$3._matches]: dart.fnType(core.bool, [core.String]), + [S$3._strip]: dart.fnType(core.String, [core.String]), + [S$3._toCamelCase]: dart.fnType(core.String, [core.String], {startUppercase: core.bool}, {}), + [S$3._toHyphenedName]: dart.fnType(core.String, [core.String]) +})); +dart.setGetterSignature(html$._DataAttributeMap, () => ({ + __proto__: dart.getGetters(html$._DataAttributeMap.__proto__), + keys: core.Iterable$(core.String), + [$keys]: core.Iterable$(core.String) +})); +dart.setLibraryUri(html$._DataAttributeMap, I[148]); +dart.setFieldSignature(html$._DataAttributeMap, () => ({ + __proto__: dart.getFields(html$._DataAttributeMap.__proto__), + [S._attributes$1]: dart.finalFieldType(core.Map$(core.String, core.String)) +})); +dart.defineExtensionMethods(html$._DataAttributeMap, [ + 'addAll', + 'cast', + 'containsValue', + 'containsKey', + '_get', + '_set', + 'putIfAbsent', + 'remove', + 'clear', + 'forEach' +]); +dart.defineExtensionAccessors(html$._DataAttributeMap, [ + 'keys', + 'values', + 'length', + 'isEmpty', + 'isNotEmpty' +]); +html$.CanvasImageSource = class CanvasImageSource extends core.Object {}; +(html$.CanvasImageSource.new = function() { + ; +}).prototype = html$.CanvasImageSource.prototype; +dart.addTypeTests(html$.CanvasImageSource); +dart.addTypeCaches(html$.CanvasImageSource); +dart.setLibraryUri(html$.CanvasImageSource, I[148]); +html$.WindowBase = class WindowBase extends core.Object {}; +(html$.WindowBase.new = function() { + ; +}).prototype = html$.WindowBase.prototype; +dart.addTypeTests(html$.WindowBase); +dart.addTypeCaches(html$.WindowBase); +html$.WindowBase[dart.implements] = () => [html$.EventTarget]; +dart.setLibraryUri(html$.WindowBase, I[148]); +html$.LocationBase = class LocationBase extends core.Object {}; +(html$.LocationBase.new = function() { + ; +}).prototype = html$.LocationBase.prototype; +dart.addTypeTests(html$.LocationBase); +dart.addTypeCaches(html$.LocationBase); +dart.setLibraryUri(html$.LocationBase, I[148]); +html$.HistoryBase = class HistoryBase extends core.Object {}; +(html$.HistoryBase.new = function() { + ; +}).prototype = html$.HistoryBase.prototype; +dart.addTypeTests(html$.HistoryBase); +dart.addTypeCaches(html$.HistoryBase); +dart.setLibraryUri(html$.HistoryBase, I[148]); +html$.CssClassSet = class CssClassSet extends core.Object { + [Symbol.iterator]() { + return new dart.JsIterator(this[$iterator]); + } +}; +(html$.CssClassSet.new = function() { + ; +}).prototype = html$.CssClassSet.prototype; +dart.addTypeTests(html$.CssClassSet); +dart.addTypeCaches(html$.CssClassSet); +html$.CssClassSet[dart.implements] = () => [core.Set$(core.String)]; +dart.setLibraryUri(html$.CssClassSet, I[148]); +html$.CssRect = class CssRect extends core.Object { + set height(newHeight) { + dart.throw(new core.UnsupportedError.new("Can only set height for content rect.")); + } + set width(newWidth) { + dart.throw(new core.UnsupportedError.new("Can only set width for content rect.")); + } + [S$3._addOrSubtractToBoxModel](dimensions, augmentingMeasurement) { + if (dimensions == null) dart.nullFailed(I[147], 36557, 20, "dimensions"); + if (augmentingMeasurement == null) dart.nullFailed(I[147], 36557, 39, "augmentingMeasurement"); + let styles = this[S$1._element$2][S.$getComputedStyle](); + let val = 0; + for (let measurement of dimensions) { + if (augmentingMeasurement == html$._MARGIN) { + val = val + dart.notNull(new html$.Dimension.css(styles[S$.$getPropertyValue](dart.str(augmentingMeasurement) + "-" + dart.str(measurement))).value); + } + if (augmentingMeasurement == html$._CONTENT) { + val = val - dart.notNull(new html$.Dimension.css(styles[S$.$getPropertyValue](dart.str(html$._PADDING) + "-" + dart.str(measurement))).value); + } + if (augmentingMeasurement != html$._MARGIN) { + val = val - dart.notNull(new html$.Dimension.css(styles[S$.$getPropertyValue]("border-" + dart.str(measurement) + "-width")).value); + } + } + return val; + } + get right() { + return dart.notNull(this.left) + dart.notNull(this.width); + } + get bottom() { + return dart.notNull(this.top) + dart.notNull(this.height); + } + toString() { + return "Rectangle (" + dart.str(this.left) + ", " + dart.str(this.top) + ") " + dart.str(this.width) + " x " + dart.str(this.height); + } + _equals(other) { + if (other == null) return false; + return T$0.RectangleOfnum().is(other) && this.left == other[$left] && this.top == other[$top] && this.right == other[$right] && this.bottom == other[$bottom]; + } + get hashCode() { + return html$._JenkinsSmiHash.hash4(dart.hashCode(this.left), dart.hashCode(this.top), dart.hashCode(this.right), dart.hashCode(this.bottom)); + } + intersection(other) { + T$0.RectangleOfnum().as(other); + if (other == null) dart.nullFailed(I[147], 36623, 47, "other"); + let x0 = math.max(core.num, this.left, other[$left]); + let x1 = math.min(core.num, dart.notNull(this.left) + dart.notNull(this.width), dart.notNull(other[$left]) + dart.notNull(other[$width])); + if (x0 <= x1) { + let y0 = math.max(core.num, this.top, other[$top]); + let y1 = math.min(core.num, dart.notNull(this.top) + dart.notNull(this.height), dart.notNull(other[$top]) + dart.notNull(other[$height])); + if (y0 <= y1) { + return new (T$0.RectangleOfnum()).new(x0, y0, x1 - x0, y1 - y0); + } + } + return null; + } + intersects(other) { + if (other == null) dart.nullFailed(I[147], 36641, 34, "other"); + return dart.notNull(this.left) <= dart.notNull(other[$left]) + dart.notNull(other[$width]) && dart.notNull(other[$left]) <= dart.notNull(this.left) + dart.notNull(this.width) && dart.notNull(this.top) <= dart.notNull(other[$top]) + dart.notNull(other[$height]) && dart.notNull(other[$top]) <= dart.notNull(this.top) + dart.notNull(this.height); + } + boundingBox(other) { + T$0.RectangleOfnum().as(other); + if (other == null) dart.nullFailed(I[147], 36651, 45, "other"); + let right = math.max(core.num, dart.notNull(this.left) + dart.notNull(this.width), dart.notNull(other[$left]) + dart.notNull(other[$width])); + let bottom = math.max(core.num, dart.notNull(this.top) + dart.notNull(this.height), dart.notNull(other[$top]) + dart.notNull(other[$height])); + let left = math.min(core.num, this.left, other[$left]); + let top = math.min(core.num, this.top, other[$top]); + return new (T$0.RectangleOfnum()).new(left, top, right - left, bottom - top); + } + containsRectangle(another) { + if (another == null) dart.nullFailed(I[147], 36664, 41, "another"); + return dart.notNull(this.left) <= dart.notNull(another[$left]) && dart.notNull(this.left) + dart.notNull(this.width) >= dart.notNull(another[$left]) + dart.notNull(another[$width]) && dart.notNull(this.top) <= dart.notNull(another[$top]) && dart.notNull(this.top) + dart.notNull(this.height) >= dart.notNull(another[$top]) + dart.notNull(another[$height]); + } + containsPoint(another) { + if (another == null) dart.nullFailed(I[147], 36674, 33, "another"); + return dart.notNull(another.x) >= dart.notNull(this.left) && dart.notNull(another.x) <= dart.notNull(this.left) + dart.notNull(this.width) && dart.notNull(another.y) >= dart.notNull(this.top) && dart.notNull(another.y) <= dart.notNull(this.top) + dart.notNull(this.height); + } + get topLeft() { + return new (T$0.PointOfnum()).new(this.left, this.top); + } + get topRight() { + return new (T$0.PointOfnum()).new(dart.notNull(this.left) + dart.notNull(this.width), this.top); + } + get bottomRight() { + return new (T$0.PointOfnum()).new(dart.notNull(this.left) + dart.notNull(this.width), dart.notNull(this.top) + dart.notNull(this.height)); + } + get bottomLeft() { + return new (T$0.PointOfnum()).new(this.left, dart.notNull(this.top) + dart.notNull(this.height)); + } +}; +(html$.CssRect.new = function(_element) { + if (_element == null) dart.nullFailed(I[147], 36495, 16, "_element"); + this[S$1._element$2] = _element; + ; +}).prototype = html$.CssRect.prototype; +dart.addTypeTests(html$.CssRect); +dart.addTypeCaches(html$.CssRect); +html$.CssRect[dart.implements] = () => [math.Rectangle$(core.num)]; +dart.setMethodSignature(html$.CssRect, () => ({ + __proto__: dart.getMethods(html$.CssRect.__proto__), + [S$3._addOrSubtractToBoxModel]: dart.fnType(core.num, [core.List$(core.String), core.String]), + intersection: dart.fnType(dart.nullable(math.Rectangle$(core.num)), [dart.nullable(core.Object)]), + [$intersection]: dart.fnType(dart.nullable(math.Rectangle$(core.num)), [dart.nullable(core.Object)]), + intersects: dart.fnType(core.bool, [math.Rectangle$(core.num)]), + [$intersects]: dart.fnType(core.bool, [math.Rectangle$(core.num)]), + boundingBox: dart.fnType(math.Rectangle$(core.num), [dart.nullable(core.Object)]), + [$boundingBox]: dart.fnType(math.Rectangle$(core.num), [dart.nullable(core.Object)]), + containsRectangle: dart.fnType(core.bool, [math.Rectangle$(core.num)]), + [$containsRectangle]: dart.fnType(core.bool, [math.Rectangle$(core.num)]), + containsPoint: dart.fnType(core.bool, [math.Point$(core.num)]), + [$containsPoint]: dart.fnType(core.bool, [math.Point$(core.num)]) +})); +dart.setGetterSignature(html$.CssRect, () => ({ + __proto__: dart.getGetters(html$.CssRect.__proto__), + right: core.num, + [$right]: core.num, + bottom: core.num, + [$bottom]: core.num, + topLeft: math.Point$(core.num), + [$topLeft]: math.Point$(core.num), + topRight: math.Point$(core.num), + [$topRight]: math.Point$(core.num), + bottomRight: math.Point$(core.num), + [$bottomRight]: math.Point$(core.num), + bottomLeft: math.Point$(core.num), + [$bottomLeft]: math.Point$(core.num) +})); +dart.setSetterSignature(html$.CssRect, () => ({ + __proto__: dart.getSetters(html$.CssRect.__proto__), + height: dart.dynamic, + [$height]: dart.dynamic, + width: dart.dynamic, + [$width]: dart.dynamic +})); +dart.setLibraryUri(html$.CssRect, I[148]); +dart.setFieldSignature(html$.CssRect, () => ({ + __proto__: dart.getFields(html$.CssRect.__proto__), + [S$1._element$2]: dart.fieldType(html$.Element) +})); +dart.defineExtensionMethods(html$.CssRect, [ + 'toString', + '_equals', + 'intersection', + 'intersects', + 'boundingBox', + 'containsRectangle', + 'containsPoint' +]); +dart.defineExtensionAccessors(html$.CssRect, [ + 'height', + 'width', + 'right', + 'bottom', + 'hashCode', + 'topLeft', + 'topRight', + 'bottomRight', + 'bottomLeft' +]); +html$._ContentCssRect = class _ContentCssRect extends html$.CssRect { + get height() { + return dart.notNull(this[S$1._element$2][S.$offsetHeight]) + dart.notNull(this[S$3._addOrSubtractToBoxModel](html$._HEIGHT, html$._CONTENT)); + } + get width() { + return dart.notNull(this[S$1._element$2][S.$offsetWidth]) + dart.notNull(this[S$3._addOrSubtractToBoxModel](html$._WIDTH, html$._CONTENT)); + } + set height(newHeight) { + if (html$.Dimension.is(newHeight)) { + let newHeightAsDimension = newHeight; + if (dart.notNull(newHeightAsDimension.value) < 0) newHeight = new html$.Dimension.px(0); + this[S$1._element$2].style[$height] = dart.toString(newHeight); + } else if (typeof newHeight == 'number') { + if (dart.notNull(newHeight) < 0) newHeight = 0; + this[S$1._element$2].style[$height] = dart.str(newHeight) + "px"; + } else { + dart.throw(new core.ArgumentError.new("newHeight is not a Dimension or num")); + } + } + set width(newWidth) { + if (html$.Dimension.is(newWidth)) { + let newWidthAsDimension = newWidth; + if (dart.notNull(newWidthAsDimension.value) < 0) newWidth = new html$.Dimension.px(0); + this[S$1._element$2].style[$width] = dart.toString(newWidth); + } else if (typeof newWidth == 'number') { + if (dart.notNull(newWidth) < 0) newWidth = 0; + this[S$1._element$2].style[$width] = dart.str(newWidth) + "px"; + } else { + dart.throw(new core.ArgumentError.new("newWidth is not a Dimension or num")); + } + } + get left() { + return dart.notNull(this[S$1._element$2].getBoundingClientRect()[$left]) - dart.notNull(this[S$3._addOrSubtractToBoxModel](T$.JSArrayOfString().of(["left"]), html$._CONTENT)); + } + get top() { + return dart.notNull(this[S$1._element$2].getBoundingClientRect()[$top]) - dart.notNull(this[S$3._addOrSubtractToBoxModel](T$.JSArrayOfString().of(["top"]), html$._CONTENT)); + } +}; +(html$._ContentCssRect.new = function(element) { + if (element == null) dart.nullFailed(I[147], 36333, 27, "element"); + html$._ContentCssRect.__proto__.new.call(this, element); + ; +}).prototype = html$._ContentCssRect.prototype; +dart.addTypeTests(html$._ContentCssRect); +dart.addTypeCaches(html$._ContentCssRect); +dart.setGetterSignature(html$._ContentCssRect, () => ({ + __proto__: dart.getGetters(html$._ContentCssRect.__proto__), + height: core.num, + [$height]: core.num, + width: core.num, + [$width]: core.num, + left: core.num, + [$left]: core.num, + top: core.num, + [$top]: core.num +})); +dart.setLibraryUri(html$._ContentCssRect, I[148]); +dart.defineExtensionAccessors(html$._ContentCssRect, ['height', 'width', 'left', 'top']); +html$._ContentCssListRect = class _ContentCssListRect extends html$._ContentCssRect { + set height(newHeight) { + this[S$3._elementList][$forEach](dart.fn(e => { + if (e == null) dart.nullFailed(I[147], 36412, 27, "e"); + return e[S.$contentEdge].height = newHeight; + }, T$0.ElementTovoid())); + } + get height() { + return super.height; + } + set width(newWidth) { + this[S$3._elementList][$forEach](dart.fn(e => { + if (e == null) dart.nullFailed(I[147], 36422, 27, "e"); + return e[S.$contentEdge].width = newWidth; + }, T$0.ElementTovoid())); + } + get width() { + return super.width; + } +}; +(html$._ContentCssListRect.new = function(elementList) { + if (elementList == null) dart.nullFailed(I[147], 36399, 37, "elementList"); + this[S$3._elementList] = elementList; + html$._ContentCssListRect.__proto__.new.call(this, elementList[$first]); + ; +}).prototype = html$._ContentCssListRect.prototype; +dart.addTypeTests(html$._ContentCssListRect); +dart.addTypeCaches(html$._ContentCssListRect); +dart.setLibraryUri(html$._ContentCssListRect, I[148]); +dart.setFieldSignature(html$._ContentCssListRect, () => ({ + __proto__: dart.getFields(html$._ContentCssListRect.__proto__), + [S$3._elementList]: dart.fieldType(core.List$(html$.Element)) +})); +dart.defineExtensionAccessors(html$._ContentCssListRect, ['height', 'width']); +html$._PaddingCssRect = class _PaddingCssRect extends html$.CssRect { + get height() { + return dart.notNull(this[S$1._element$2][S.$offsetHeight]) + dart.notNull(this[S$3._addOrSubtractToBoxModel](html$._HEIGHT, html$._PADDING)); + } + set height(value) { + super.height = value; + } + get width() { + return dart.notNull(this[S$1._element$2][S.$offsetWidth]) + dart.notNull(this[S$3._addOrSubtractToBoxModel](html$._WIDTH, html$._PADDING)); + } + set width(value) { + super.width = value; + } + get left() { + return dart.notNull(this[S$1._element$2].getBoundingClientRect()[$left]) - dart.notNull(this[S$3._addOrSubtractToBoxModel](T$.JSArrayOfString().of(["left"]), html$._PADDING)); + } + get top() { + return dart.notNull(this[S$1._element$2].getBoundingClientRect()[$top]) - dart.notNull(this[S$3._addOrSubtractToBoxModel](T$.JSArrayOfString().of(["top"]), html$._PADDING)); + } +}; +(html$._PaddingCssRect.new = function(element) { + html$._PaddingCssRect.__proto__.new.call(this, html$.Element.as(element)); + ; +}).prototype = html$._PaddingCssRect.prototype; +dart.addTypeTests(html$._PaddingCssRect); +dart.addTypeCaches(html$._PaddingCssRect); +dart.setGetterSignature(html$._PaddingCssRect, () => ({ + __proto__: dart.getGetters(html$._PaddingCssRect.__proto__), + height: core.num, + [$height]: core.num, + width: core.num, + [$width]: core.num, + left: core.num, + [$left]: core.num, + top: core.num, + [$top]: core.num +})); +dart.setLibraryUri(html$._PaddingCssRect, I[148]); +dart.defineExtensionAccessors(html$._PaddingCssRect, ['height', 'width', 'left', 'top']); +html$._BorderCssRect = class _BorderCssRect extends html$.CssRect { + get height() { + return this[S$1._element$2][S.$offsetHeight]; + } + set height(value) { + super.height = value; + } + get width() { + return this[S$1._element$2][S.$offsetWidth]; + } + set width(value) { + super.width = value; + } + get left() { + return this[S$1._element$2].getBoundingClientRect()[$left]; + } + get top() { + return this[S$1._element$2].getBoundingClientRect()[$top]; + } +}; +(html$._BorderCssRect.new = function(element) { + html$._BorderCssRect.__proto__.new.call(this, html$.Element.as(element)); + ; +}).prototype = html$._BorderCssRect.prototype; +dart.addTypeTests(html$._BorderCssRect); +dart.addTypeCaches(html$._BorderCssRect); +dart.setGetterSignature(html$._BorderCssRect, () => ({ + __proto__: dart.getGetters(html$._BorderCssRect.__proto__), + height: core.num, + [$height]: core.num, + width: core.num, + [$width]: core.num, + left: core.num, + [$left]: core.num, + top: core.num, + [$top]: core.num +})); +dart.setLibraryUri(html$._BorderCssRect, I[148]); +dart.defineExtensionAccessors(html$._BorderCssRect, ['height', 'width', 'left', 'top']); +html$._MarginCssRect = class _MarginCssRect extends html$.CssRect { + get height() { + return dart.notNull(this[S$1._element$2][S.$offsetHeight]) + dart.notNull(this[S$3._addOrSubtractToBoxModel](html$._HEIGHT, html$._MARGIN)); + } + set height(value) { + super.height = value; + } + get width() { + return dart.notNull(this[S$1._element$2][S.$offsetWidth]) + dart.notNull(this[S$3._addOrSubtractToBoxModel](html$._WIDTH, html$._MARGIN)); + } + set width(value) { + super.width = value; + } + get left() { + return dart.notNull(this[S$1._element$2].getBoundingClientRect()[$left]) - dart.notNull(this[S$3._addOrSubtractToBoxModel](T$.JSArrayOfString().of(["left"]), html$._MARGIN)); + } + get top() { + return dart.notNull(this[S$1._element$2].getBoundingClientRect()[$top]) - dart.notNull(this[S$3._addOrSubtractToBoxModel](T$.JSArrayOfString().of(["top"]), html$._MARGIN)); + } +}; +(html$._MarginCssRect.new = function(element) { + html$._MarginCssRect.__proto__.new.call(this, html$.Element.as(element)); + ; +}).prototype = html$._MarginCssRect.prototype; +dart.addTypeTests(html$._MarginCssRect); +dart.addTypeCaches(html$._MarginCssRect); +dart.setGetterSignature(html$._MarginCssRect, () => ({ + __proto__: dart.getGetters(html$._MarginCssRect.__proto__), + height: core.num, + [$height]: core.num, + width: core.num, + [$width]: core.num, + left: core.num, + [$left]: core.num, + top: core.num, + [$top]: core.num +})); +dart.setLibraryUri(html$._MarginCssRect, I[148]); +dart.defineExtensionAccessors(html$._MarginCssRect, ['height', 'width', 'left', 'top']); +html_common.CssClassSetImpl = class CssClassSetImpl extends collection.SetBase$(core.String) { + [S$3._validateToken](value) { + if (value == null) dart.nullFailed(I[149], 10, 32, "value"); + if (dart.test(html_common.CssClassSetImpl._validTokenRE.hasMatch(value))) return value; + dart.throw(new core.ArgumentError.value(value, "value", "Not a valid class token")); + } + toString() { + return this.readClasses()[$join](" "); + } + toggle(value, shouldAdd = null) { + if (value == null) dart.nullFailed(I[149], 26, 22, "value"); + this[S$3._validateToken](value); + let s = this.readClasses(); + let result = false; + if (shouldAdd == null) shouldAdd = !dart.test(s.contains(value)); + if (dart.test(shouldAdd)) { + s.add(value); + result = true; + } else { + s.remove(value); + } + this.writeClasses(s); + return result; + } + get frozen() { + return false; + } + get iterator() { + return this.readClasses().iterator; + } + forEach(f) { + if (f == null) dart.nullFailed(I[149], 52, 21, "f"); + this.readClasses()[$forEach](f); + } + join(separator = "") { + if (separator == null) dart.nullFailed(I[149], 56, 23, "separator"); + return this.readClasses()[$join](separator); + } + map(T, f) { + if (f == null) dart.nullFailed(I[149], 58, 24, "f"); + return this.readClasses()[$map](T, f); + } + where(f) { + if (f == null) dart.nullFailed(I[149], 60, 31, "f"); + return this.readClasses()[$where](f); + } + expand(T, f) { + if (f == null) dart.nullFailed(I[149], 62, 37, "f"); + return this.readClasses()[$expand](T, f); + } + every(f) { + if (f == null) dart.nullFailed(I[149], 65, 19, "f"); + return this.readClasses()[$every](f); + } + any(f) { + if (f == null) dart.nullFailed(I[149], 67, 17, "f"); + return this.readClasses()[$any](f); + } + get isEmpty() { + return this.readClasses()[$isEmpty]; + } + get isNotEmpty() { + return this.readClasses()[$isNotEmpty]; + } + get length() { + return this.readClasses()[$length]; + } + reduce(combine) { + T$0.StringAndStringToString().as(combine); + if (combine == null) dart.nullFailed(I[149], 75, 24, "combine"); + return this.readClasses()[$reduce](combine); + } + fold(T, initialValue, combine) { + if (combine == null) dart.nullFailed(I[149], 79, 31, "combine"); + return this.readClasses()[$fold](T, initialValue, combine); + } + contains(value) { + if (!(typeof value == 'string')) return false; + this[S$3._validateToken](value); + return this.readClasses().contains(value); + } + lookup(value) { + return dart.test(this.contains(value)) ? core.String.as(value) : null; + } + add(value) { + let t241; + core.String.as(value); + if (value == null) dart.nullFailed(I[149], 107, 19, "value"); + this[S$3._validateToken](value); + return core.bool.as((t241 = this.modify(dart.fn(s => { + if (s == null) dart.nullFailed(I[149], 111, 20, "s"); + return s.add(value); + }, T$0.SetOfStringTobool())), t241 == null ? false : t241)); + } + remove(value) { + if (!(typeof value == 'string')) return false; + this[S$3._validateToken](value); + let s = this.readClasses(); + let result = s.remove(value); + this.writeClasses(s); + return result; + } + addAll(iterable) { + T$0.IterableOfString().as(iterable); + if (iterable == null) dart.nullFailed(I[149], 136, 32, "iterable"); + this.modify(dart.fn(s => { + if (s == null) dart.nullFailed(I[149], 138, 13, "s"); + return s.addAll(iterable[$map](core.String, dart.bind(this, S$3._validateToken))); + }, T$0.SetOfStringTovoid())); + } + removeAll(iterable) { + if (iterable == null) dart.nullFailed(I[149], 147, 36, "iterable"); + this.modify(dart.fn(s => { + if (s == null) dart.nullFailed(I[149], 148, 13, "s"); + return s.removeAll(iterable); + }, T$0.SetOfStringTovoid())); + } + toggleAll(iterable, shouldAdd = null) { + if (iterable == null) dart.nullFailed(I[149], 161, 35, "iterable"); + iterable[$forEach](dart.fn(e => { + if (e == null) dart.nullFailed(I[149], 162, 23, "e"); + return this.toggle(e, shouldAdd); + }, T$.StringTovoid())); + } + retainAll(iterable) { + if (iterable == null) dart.nullFailed(I[149], 165, 36, "iterable"); + this.modify(dart.fn(s => { + if (s == null) dart.nullFailed(I[149], 166, 13, "s"); + return s.retainAll(iterable); + }, T$0.SetOfStringTovoid())); + } + removeWhere(test) { + if (test == null) dart.nullFailed(I[149], 169, 25, "test"); + this.modify(dart.fn(s => { + if (s == null) dart.nullFailed(I[149], 170, 13, "s"); + return s.removeWhere(test); + }, T$0.SetOfStringTovoid())); + } + retainWhere(test) { + if (test == null) dart.nullFailed(I[149], 173, 25, "test"); + this.modify(dart.fn(s => { + if (s == null) dart.nullFailed(I[149], 174, 13, "s"); + return s.retainWhere(test); + }, T$0.SetOfStringTovoid())); + } + containsAll(collection) { + if (collection == null) dart.nullFailed(I[149], 177, 38, "collection"); + return this.readClasses().containsAll(collection); + } + intersection(other) { + if (other == null) dart.nullFailed(I[149], 180, 41, "other"); + return this.readClasses().intersection(other); + } + union(other) { + T$0.SetOfString().as(other); + if (other == null) dart.nullFailed(I[149], 183, 33, "other"); + return this.readClasses().union(other); + } + difference(other) { + if (other == null) dart.nullFailed(I[149], 185, 39, "other"); + return this.readClasses().difference(other); + } + get first() { + return this.readClasses()[$first]; + } + get last() { + return this.readClasses()[$last]; + } + get single() { + return this.readClasses()[$single]; + } + toList(opts) { + let growable = opts && 'growable' in opts ? opts.growable : true; + if (growable == null) dart.nullFailed(I[149], 190, 29, "growable"); + return this.readClasses()[$toList]({growable: growable}); + } + toSet() { + return this.readClasses().toSet(); + } + take(n) { + if (n == null) dart.nullFailed(I[149], 193, 29, "n"); + return this.readClasses()[$take](n); + } + takeWhile(test) { + if (test == null) dart.nullFailed(I[149], 194, 35, "test"); + return this.readClasses()[$takeWhile](test); + } + skip(n) { + if (n == null) dart.nullFailed(I[149], 196, 29, "n"); + return this.readClasses()[$skip](n); + } + skipWhile(test) { + if (test == null) dart.nullFailed(I[149], 197, 35, "test"); + return this.readClasses()[$skipWhile](test); + } + firstWhere(test, opts) { + if (test == null) dart.nullFailed(I[149], 199, 26, "test"); + let orElse = opts && 'orElse' in opts ? opts.orElse : null; + T$0.VoidToNString().as(orElse); + return this.readClasses()[$firstWhere](test, {orElse: orElse}); + } + lastWhere(test, opts) { + if (test == null) dart.nullFailed(I[149], 201, 25, "test"); + let orElse = opts && 'orElse' in opts ? opts.orElse : null; + T$0.VoidToNString().as(orElse); + return this.readClasses()[$lastWhere](test, {orElse: orElse}); + } + singleWhere(test, opts) { + if (test == null) dart.nullFailed(I[149], 203, 27, "test"); + let orElse = opts && 'orElse' in opts ? opts.orElse : null; + T$0.VoidToNString().as(orElse); + return this.readClasses()[$singleWhere](test, {orElse: orElse}); + } + elementAt(index) { + if (index == null) dart.nullFailed(I[149], 205, 24, "index"); + return this.readClasses()[$elementAt](index); + } + clear() { + this.modify(dart.fn(s => { + if (s == null) dart.nullFailed(I[149], 209, 13, "s"); + return s.clear(); + }, T$0.SetOfStringTovoid())); + } + modify(f) { + if (f == null) dart.nullFailed(I[149], 222, 10, "f"); + let s = this.readClasses(); + let ret = f(s); + this.writeClasses(s); + return ret; + } +}; +(html_common.CssClassSetImpl.new = function() { + ; +}).prototype = html_common.CssClassSetImpl.prototype; +dart.addTypeTests(html_common.CssClassSetImpl); +dart.addTypeCaches(html_common.CssClassSetImpl); +html_common.CssClassSetImpl[dart.implements] = () => [html$.CssClassSet]; +dart.setMethodSignature(html_common.CssClassSetImpl, () => ({ + __proto__: dart.getMethods(html_common.CssClassSetImpl.__proto__), + [S$3._validateToken]: dart.fnType(core.String, [core.String]), + toggle: dart.fnType(core.bool, [core.String], [dart.nullable(core.bool)]), + map: dart.gFnType(T => [core.Iterable$(T), [dart.fnType(T, [core.String])]], T => [dart.nullable(core.Object)]), + [$map]: dart.gFnType(T => [core.Iterable$(T), [dart.fnType(T, [core.String])]], T => [dart.nullable(core.Object)]), + expand: dart.gFnType(T => [core.Iterable$(T), [dart.fnType(core.Iterable$(T), [core.String])]], T => [dart.nullable(core.Object)]), + [$expand]: dart.gFnType(T => [core.Iterable$(T), [dart.fnType(core.Iterable$(T), [core.String])]], T => [dart.nullable(core.Object)]), + fold: dart.gFnType(T => [T, [T, dart.fnType(T, [T, core.String])]], T => [dart.nullable(core.Object)]), + [$fold]: dart.gFnType(T => [T, [T, dart.fnType(T, [T, core.String])]], T => [dart.nullable(core.Object)]), + contains: dart.fnType(core.bool, [dart.nullable(core.Object)]), + [$contains]: dart.fnType(core.bool, [dart.nullable(core.Object)]), + lookup: dart.fnType(dart.nullable(core.String), [dart.nullable(core.Object)]), + add: dart.fnType(core.bool, [dart.nullable(core.Object)]), + remove: dart.fnType(core.bool, [dart.nullable(core.Object)]), + toggleAll: dart.fnType(dart.void, [core.Iterable$(core.String)], [dart.nullable(core.bool)]), + toSet: dart.fnType(core.Set$(core.String), []), + [$toSet]: dart.fnType(core.Set$(core.String), []), + modify: dart.fnType(dart.dynamic, [dart.fnType(dart.dynamic, [core.Set$(core.String)])]) +})); +dart.setGetterSignature(html_common.CssClassSetImpl, () => ({ + __proto__: dart.getGetters(html_common.CssClassSetImpl.__proto__), + frozen: core.bool, + iterator: core.Iterator$(core.String), + [$iterator]: core.Iterator$(core.String), + length: core.int, + [$length]: core.int +})); +dart.setLibraryUri(html_common.CssClassSetImpl, I[150]); +dart.defineExtensionMethods(html_common.CssClassSetImpl, [ + 'toString', + 'forEach', + 'join', + 'map', + 'where', + 'expand', + 'every', + 'any', + 'reduce', + 'fold', + 'contains', + 'toList', + 'toSet', + 'take', + 'takeWhile', + 'skip', + 'skipWhile', + 'firstWhere', + 'lastWhere', + 'singleWhere', + 'elementAt' +]); +dart.defineExtensionAccessors(html_common.CssClassSetImpl, [ + 'iterator', + 'isEmpty', + 'isNotEmpty', + 'length', + 'first', + 'last', + 'single' +]); +dart.defineLazy(html_common.CssClassSetImpl, { + /*html_common.CssClassSetImpl._validTokenRE*/get _validTokenRE() { + return core.RegExp.new("^\\S+$"); + } +}, false); +html$._MultiElementCssClassSet = class _MultiElementCssClassSet extends html_common.CssClassSetImpl { + static new(elements) { + if (elements == null) dart.nullFailed(I[147], 36708, 54, "elements"); + return new html$._MultiElementCssClassSet.__(elements, T$0.ListOfCssClassSetImpl().from(elements[$map](dart.dynamic, dart.fn(e => { + if (e == null) dart.nullFailed(I[147], 36710, 62, "e"); + return e[S.$classes]; + }, T$0.ElementToCssClassSet())))); + } + readClasses() { + let s = new (T$0._IdentityHashSetOfString()).new(); + this[S$3._sets][$forEach](dart.fn(e => { + if (e == null) dart.nullFailed(I[147], 36717, 36, "e"); + return s.addAll(e.readClasses()); + }, T$0.CssClassSetImplTovoid())); + return s; + } + writeClasses(s) { + if (s == null) dart.nullFailed(I[147], 36721, 33, "s"); + let classes = s[$join](" "); + for (let e of this[S$0._elementIterable]) { + e.className = classes; + } + } + modify(f) { + if (f == null) dart.nullFailed(I[147], 36737, 10, "f"); + this[S$3._sets][$forEach](dart.fn(e => { + if (e == null) dart.nullFailed(I[147], 36738, 36, "e"); + return e.modify(f); + }, T$0.CssClassSetImplTovoid())); + } + toggle(value, shouldAdd = null) { + if (value == null) dart.nullFailed(I[147], 36748, 22, "value"); + return this[S$3._sets][$fold](core.bool, false, dart.fn((changed, e) => { + if (changed == null) dart.nullFailed(I[147], 36750, 13, "changed"); + if (e == null) dart.nullFailed(I[147], 36750, 38, "e"); + return dart.test(e.toggle(value, shouldAdd)) || dart.test(changed); + }, T$0.boolAndCssClassSetImplTobool())); + } + remove(value) { + return this[S$3._sets][$fold](core.bool, false, dart.fn((changed, e) => { + if (changed == null) dart.nullFailed(I[147], 36761, 20, "changed"); + if (e == null) dart.nullFailed(I[147], 36761, 45, "e"); + return dart.test(e.remove(value)) || dart.test(changed); + }, T$0.boolAndCssClassSetImplTobool())); + } +}; +(html$._MultiElementCssClassSet.__ = function(_elementIterable, _sets) { + if (_elementIterable == null) dart.nullFailed(I[147], 36713, 35, "_elementIterable"); + if (_sets == null) dart.nullFailed(I[147], 36713, 58, "_sets"); + this[S$0._elementIterable] = _elementIterable; + this[S$3._sets] = _sets; + ; +}).prototype = html$._MultiElementCssClassSet.prototype; +dart.addTypeTests(html$._MultiElementCssClassSet); +dart.addTypeCaches(html$._MultiElementCssClassSet); +dart.setMethodSignature(html$._MultiElementCssClassSet, () => ({ + __proto__: dart.getMethods(html$._MultiElementCssClassSet.__proto__), + readClasses: dart.fnType(core.Set$(core.String), []), + writeClasses: dart.fnType(dart.void, [core.Set$(core.String)]) +})); +dart.setLibraryUri(html$._MultiElementCssClassSet, I[148]); +dart.setFieldSignature(html$._MultiElementCssClassSet, () => ({ + __proto__: dart.getFields(html$._MultiElementCssClassSet.__proto__), + [S$0._elementIterable]: dart.finalFieldType(core.Iterable$(html$.Element)), + [S$3._sets]: dart.finalFieldType(core.List$(html_common.CssClassSetImpl)) +})); +html$._ElementCssClassSet = class _ElementCssClassSet extends html_common.CssClassSetImpl { + readClasses() { + let s = new (T$0._IdentityHashSetOfString()).new(); + let classname = this[S$1._element$2].className; + for (let name of classname[$split](" ")) { + let trimmed = name[$trim](); + if (!trimmed[$isEmpty]) { + s.add(trimmed); + } + } + return s; + } + writeClasses(s) { + if (s == null) dart.nullFailed(I[147], 36782, 33, "s"); + this[S$1._element$2].className = s[$join](" "); + } + get length() { + return html$._ElementCssClassSet._classListLength(html$._ElementCssClassSet._classListOf(this[S$1._element$2])); + } + get isEmpty() { + return this.length === 0; + } + get isNotEmpty() { + return this.length !== 0; + } + clear() { + this[S$1._element$2].className = ""; + } + contains(value) { + return html$._ElementCssClassSet._contains(this[S$1._element$2], value); + } + add(value) { + core.String.as(value); + if (value == null) dart.nullFailed(I[147], 36798, 19, "value"); + return html$._ElementCssClassSet._add(this[S$1._element$2], value); + } + remove(value) { + return typeof value == 'string' && dart.test(html$._ElementCssClassSet._remove(this[S$1._element$2], value)); + } + toggle(value, shouldAdd = null) { + if (value == null) dart.nullFailed(I[147], 36806, 22, "value"); + return html$._ElementCssClassSet._toggle(this[S$1._element$2], value, shouldAdd); + } + addAll(iterable) { + T$0.IterableOfString().as(iterable); + if (iterable == null) dart.nullFailed(I[147], 36810, 32, "iterable"); + html$._ElementCssClassSet._addAll(this[S$1._element$2], iterable); + } + removeAll(iterable) { + if (iterable == null) dart.nullFailed(I[147], 36814, 36, "iterable"); + html$._ElementCssClassSet._removeAll(this[S$1._element$2], iterable); + } + retainAll(iterable) { + if (iterable == null) dart.nullFailed(I[147], 36818, 36, "iterable"); + html$._ElementCssClassSet._removeWhere(this[S$1._element$2], dart.bind(iterable[$toSet](), 'contains'), false); + } + removeWhere(test) { + if (test == null) dart.nullFailed(I[147], 36822, 25, "test"); + html$._ElementCssClassSet._removeWhere(this[S$1._element$2], test, true); + } + retainWhere(test) { + if (test == null) dart.nullFailed(I[147], 36826, 25, "test"); + html$._ElementCssClassSet._removeWhere(this[S$1._element$2], test, false); + } + static _contains(_element, value) { + if (_element == null) dart.nullFailed(I[147], 36830, 33, "_element"); + return typeof value == 'string' && dart.test(html$._ElementCssClassSet._classListContains(html$._ElementCssClassSet._classListOf(_element), value)); + } + static _add(_element, value) { + if (_element == null) dart.nullFailed(I[147], 36835, 28, "_element"); + if (value == null) dart.nullFailed(I[147], 36835, 45, "value"); + let list = html$._ElementCssClassSet._classListOf(_element); + let added = !dart.test(html$._ElementCssClassSet._classListContainsBeforeAddOrRemove(list, value)); + html$._ElementCssClassSet._classListAdd(list, value); + return added; + } + static _remove(_element, value) { + if (_element == null) dart.nullFailed(I[147], 36844, 31, "_element"); + if (value == null) dart.nullFailed(I[147], 36844, 48, "value"); + let list = html$._ElementCssClassSet._classListOf(_element); + let removed = html$._ElementCssClassSet._classListContainsBeforeAddOrRemove(list, value); + html$._ElementCssClassSet._classListRemove(list, value); + return removed; + } + static _toggle(_element, value, shouldAdd) { + if (_element == null) dart.nullFailed(I[147], 36851, 31, "_element"); + if (value == null) dart.nullFailed(I[147], 36851, 48, "value"); + return shouldAdd == null ? html$._ElementCssClassSet._toggleDefault(_element, value) : html$._ElementCssClassSet._toggleOnOff(_element, value, shouldAdd); + } + static _toggleDefault(_element, value) { + if (_element == null) dart.nullFailed(I[147], 36860, 38, "_element"); + if (value == null) dart.nullFailed(I[147], 36860, 55, "value"); + let list = html$._ElementCssClassSet._classListOf(_element); + return html$._ElementCssClassSet._classListToggle1(list, value); + } + static _toggleOnOff(_element, value, shouldAdd) { + let t241; + if (_element == null) dart.nullFailed(I[147], 36865, 36, "_element"); + if (value == null) dart.nullFailed(I[147], 36865, 53, "value"); + let list = html$._ElementCssClassSet._classListOf(_element); + if (dart.test((t241 = shouldAdd, t241 == null ? false : t241))) { + html$._ElementCssClassSet._classListAdd(list, value); + return true; + } else { + html$._ElementCssClassSet._classListRemove(list, value); + return false; + } + } + static _addAll(_element, iterable) { + if (_element == null) dart.nullFailed(I[147], 36880, 31, "_element"); + if (iterable == null) dart.nullFailed(I[147], 36880, 58, "iterable"); + let list = html$._ElementCssClassSet._classListOf(_element); + for (let value of iterable) { + html$._ElementCssClassSet._classListAdd(list, value); + } + } + static _removeAll(_element, iterable) { + if (_element == null) dart.nullFailed(I[147], 36887, 34, "_element"); + if (iterable == null) dart.nullFailed(I[147], 36887, 62, "iterable"); + let list = html$._ElementCssClassSet._classListOf(_element); + for (let value of iterable) { + html$._ElementCssClassSet._classListRemove(list, core.String.as(value)); + } + } + static _removeWhere(_element, test, doRemove) { + if (_element == null) dart.nullFailed(I[147], 36895, 15, "_element"); + if (test == null) dart.nullFailed(I[147], 36895, 30, "test"); + if (doRemove == null) dart.nullFailed(I[147], 36895, 54, "doRemove"); + let list = html$._ElementCssClassSet._classListOf(_element); + let i = 0; + while (i < dart.notNull(html$._ElementCssClassSet._classListLength(list))) { + let item = dart.nullCheck(list.item(i)); + if (doRemove == test(item)) { + html$._ElementCssClassSet._classListRemove(list, item); + } else { + i = i + 1; + } + } + } + static _classListOf(e) { + if (e == null) dart.nullFailed(I[147], 36912, 44, "e"); + return e.classList; + } + static _classListLength(list) { + if (list == null) dart.nullFailed(I[147], 36917, 44, "list"); + return list.length; + } + static _classListContains(list, value) { + if (list == null) dart.nullFailed(I[147], 36920, 47, "list"); + if (value == null) dart.nullFailed(I[147], 36920, 60, "value"); + return list.contains(value); + } + static _classListContainsBeforeAddOrRemove(list, value) { + if (list == null) dart.nullFailed(I[147], 36924, 24, "list"); + if (value == null) dart.nullFailed(I[147], 36924, 37, "value"); + return list.contains(value); + } + static _classListAdd(list, value) { + if (list == null) dart.nullFailed(I[147], 36933, 42, "list"); + if (value == null) dart.nullFailed(I[147], 36933, 55, "value"); + list.add(value); + } + static _classListRemove(list, value) { + if (list == null) dart.nullFailed(I[147], 36938, 45, "list"); + if (value == null) dart.nullFailed(I[147], 36938, 58, "value"); + list.remove(value); + } + static _classListToggle1(list, value) { + if (list == null) dart.nullFailed(I[147], 36943, 46, "list"); + if (value == null) dart.nullFailed(I[147], 36943, 59, "value"); + return list.toggle(value); + } + static _classListToggle2(list, value, shouldAdd) { + if (list == null) dart.nullFailed(I[147], 36948, 20, "list"); + if (value == null) dart.nullFailed(I[147], 36948, 33, "value"); + return list.toggle(value, shouldAdd); + } +}; +(html$._ElementCssClassSet.new = function(_element) { + if (_element == null) dart.nullFailed(I[147], 36767, 28, "_element"); + this[S$1._element$2] = _element; + ; +}).prototype = html$._ElementCssClassSet.prototype; +dart.addTypeTests(html$._ElementCssClassSet); +dart.addTypeCaches(html$._ElementCssClassSet); +dart.setMethodSignature(html$._ElementCssClassSet, () => ({ + __proto__: dart.getMethods(html$._ElementCssClassSet.__proto__), + readClasses: dart.fnType(core.Set$(core.String), []), + writeClasses: dart.fnType(dart.void, [core.Set$(core.String)]) +})); +dart.setLibraryUri(html$._ElementCssClassSet, I[148]); +dart.setFieldSignature(html$._ElementCssClassSet, () => ({ + __proto__: dart.getFields(html$._ElementCssClassSet.__proto__), + [S$1._element$2]: dart.finalFieldType(html$.Element) +})); +dart.defineExtensionMethods(html$._ElementCssClassSet, ['contains']); +dart.defineExtensionAccessors(html$._ElementCssClassSet, ['length', 'isEmpty', 'isNotEmpty']); +html$.Dimension = class Dimension extends core.Object { + toString() { + return dart.str(this[S$1._value$7]) + dart.str(this[S$3._unit]); + } + get value() { + return this[S$1._value$7]; + } +}; +(html$.Dimension.percent = function(_value) { + if (_value == null) dart.nullFailed(I[147], 36963, 26, "_value"); + this[S$1._value$7] = _value; + this[S$3._unit] = "%"; + ; +}).prototype = html$.Dimension.prototype; +(html$.Dimension.px = function(_value) { + if (_value == null) dart.nullFailed(I[147], 36966, 21, "_value"); + this[S$1._value$7] = _value; + this[S$3._unit] = "px"; + ; +}).prototype = html$.Dimension.prototype; +(html$.Dimension.pc = function(_value) { + if (_value == null) dart.nullFailed(I[147], 36969, 21, "_value"); + this[S$1._value$7] = _value; + this[S$3._unit] = "pc"; + ; +}).prototype = html$.Dimension.prototype; +(html$.Dimension.pt = function(_value) { + if (_value == null) dart.nullFailed(I[147], 36972, 21, "_value"); + this[S$1._value$7] = _value; + this[S$3._unit] = "pt"; + ; +}).prototype = html$.Dimension.prototype; +(html$.Dimension.inch = function(_value) { + if (_value == null) dart.nullFailed(I[147], 36975, 23, "_value"); + this[S$1._value$7] = _value; + this[S$3._unit] = "in"; + ; +}).prototype = html$.Dimension.prototype; +(html$.Dimension.cm = function(_value) { + if (_value == null) dart.nullFailed(I[147], 36978, 21, "_value"); + this[S$1._value$7] = _value; + this[S$3._unit] = "cm"; + ; +}).prototype = html$.Dimension.prototype; +(html$.Dimension.mm = function(_value) { + if (_value == null) dart.nullFailed(I[147], 36981, 21, "_value"); + this[S$1._value$7] = _value; + this[S$3._unit] = "mm"; + ; +}).prototype = html$.Dimension.prototype; +(html$.Dimension.em = function(_value) { + if (_value == null) dart.nullFailed(I[147], 36990, 21, "_value"); + this[S$1._value$7] = _value; + this[S$3._unit] = "em"; + ; +}).prototype = html$.Dimension.prototype; +(html$.Dimension.ex = function(_value) { + if (_value == null) dart.nullFailed(I[147], 36999, 21, "_value"); + this[S$1._value$7] = _value; + this[S$3._unit] = "ex"; + ; +}).prototype = html$.Dimension.prototype; +(html$.Dimension.css = function(cssValue) { + if (cssValue == null) dart.nullFailed(I[147], 37010, 24, "cssValue"); + this[S$3._unit] = ""; + this[S$1._value$7] = 0; + if (cssValue === "") cssValue = "0px"; + if (cssValue[$endsWith]("%")) { + this[S$3._unit] = "%"; + } else { + this[S$3._unit] = cssValue[$substring](cssValue.length - 2); + } + if (cssValue[$contains](".")) { + this[S$1._value$7] = core.double.parse(cssValue[$substring](0, cssValue.length - this[S$3._unit].length)); + } else { + this[S$1._value$7] = core.int.parse(cssValue[$substring](0, cssValue.length - this[S$3._unit].length)); + } +}).prototype = html$.Dimension.prototype; +dart.addTypeTests(html$.Dimension); +dart.addTypeCaches(html$.Dimension); +dart.setGetterSignature(html$.Dimension, () => ({ + __proto__: dart.getGetters(html$.Dimension.__proto__), + value: core.num +})); +dart.setLibraryUri(html$.Dimension, I[148]); +dart.setFieldSignature(html$.Dimension, () => ({ + __proto__: dart.getFields(html$.Dimension.__proto__), + [S$1._value$7]: dart.fieldType(core.num), + [S$3._unit]: dart.fieldType(core.String) +})); +dart.defineExtensionMethods(html$.Dimension, ['toString']); +const _is_EventStreamProvider_default = Symbol('_is_EventStreamProvider_default'); +html$.EventStreamProvider$ = dart.generic(T => { + var _EventStreamOfT = () => (_EventStreamOfT = dart.constFn(html$._EventStream$(T)))(); + var _ElementEventStreamImplOfT = () => (_ElementEventStreamImplOfT = dart.constFn(html$._ElementEventStreamImpl$(T)))(); + var _ElementListEventStreamImplOfT = () => (_ElementListEventStreamImplOfT = dart.constFn(html$._ElementListEventStreamImpl$(T)))(); + class EventStreamProvider extends core.Object { + get [S$3._eventType$1]() { + return this[S$3._eventType$2]; + } + set [S$3._eventType$1](value) { + super[S$3._eventType$1] = value; + } + forTarget(e, opts) { + let useCapture = opts && 'useCapture' in opts ? opts.useCapture : false; + if (useCapture == null) dart.nullFailed(I[147], 37074, 45, "useCapture"); + return new (_EventStreamOfT()).new(e, this[S$3._eventType$1], useCapture); + } + forElement(e, opts) { + if (e == null) dart.nullFailed(I[147], 37099, 39, "e"); + let useCapture = opts && 'useCapture' in opts ? opts.useCapture : false; + if (useCapture == null) dart.nullFailed(I[147], 37099, 48, "useCapture"); + return new (_ElementEventStreamImplOfT()).new(e, this[S$3._eventType$1], useCapture); + } + [S$1._forElementList](e, opts) { + if (e == null) dart.nullFailed(I[147], 37118, 57, "e"); + let useCapture = opts && 'useCapture' in opts ? opts.useCapture : false; + if (useCapture == null) dart.nullFailed(I[147], 37119, 13, "useCapture"); + return new (_ElementListEventStreamImplOfT()).new(e, this[S$3._eventType$1], useCapture); + } + getEventType(target) { + if (target == null) dart.nullFailed(I[147], 37130, 35, "target"); + return this[S$3._eventType$1]; + } + } + (EventStreamProvider.new = function(_eventType) { + if (_eventType == null) dart.nullFailed(I[147], 37050, 34, "_eventType"); + this[S$3._eventType$2] = _eventType; + ; + }).prototype = EventStreamProvider.prototype; + dart.addTypeTests(EventStreamProvider); + EventStreamProvider.prototype[_is_EventStreamProvider_default] = true; + dart.addTypeCaches(EventStreamProvider); + dart.setMethodSignature(EventStreamProvider, () => ({ + __proto__: dart.getMethods(EventStreamProvider.__proto__), + forTarget: dart.fnType(async.Stream$(T), [dart.nullable(html$.EventTarget)], {useCapture: core.bool}, {}), + forElement: dart.fnType(html$.ElementStream$(T), [html$.Element], {useCapture: core.bool}, {}), + [S$1._forElementList]: dart.fnType(html$.ElementStream$(T), [html$.ElementList$(html$.Element)], {useCapture: core.bool}, {}), + getEventType: dart.fnType(core.String, [html$.EventTarget]) + })); + dart.setLibraryUri(EventStreamProvider, I[148]); + dart.setFieldSignature(EventStreamProvider, () => ({ + __proto__: dart.getFields(EventStreamProvider.__proto__), + [S$3._eventType$1]: dart.finalFieldType(core.String) + })); + return EventStreamProvider; +}); +html$.EventStreamProvider = html$.EventStreamProvider$(); +dart.addTypeTests(html$.EventStreamProvider, _is_EventStreamProvider_default); +const _is_ElementStream_default = Symbol('_is_ElementStream_default'); +html$.ElementStream$ = dart.generic(T => { + class ElementStream extends core.Object {} + (ElementStream.new = function() { + ; + }).prototype = ElementStream.prototype; + ElementStream.prototype[dart.isStream] = true; + dart.addTypeTests(ElementStream); + ElementStream.prototype[_is_ElementStream_default] = true; + dart.addTypeCaches(ElementStream); + ElementStream[dart.implements] = () => [async.Stream$(T)]; + dart.setLibraryUri(ElementStream, I[148]); + return ElementStream; +}); +html$.ElementStream = html$.ElementStream$(); +dart.addTypeTests(html$.ElementStream, _is_ElementStream_default); +const _is__EventStream_default = Symbol('_is__EventStream_default'); +html$._EventStream$ = dart.generic(T => { + var _EventStreamSubscriptionOfT = () => (_EventStreamSubscriptionOfT = dart.constFn(html$._EventStreamSubscription$(T)))(); + class _EventStream extends async.Stream$(T) { + asBroadcastStream(opts) { + let onListen = opts && 'onListen' in opts ? opts.onListen : null; + let onCancel = opts && 'onCancel' in opts ? opts.onCancel : null; + return this; + } + get isBroadcast() { + return true; + } + listen(onData, opts) { + let onError = opts && 'onError' in opts ? opts.onError : null; + let onDone = opts && 'onDone' in opts ? opts.onDone : null; + let cancelOnError = opts && 'cancelOnError' in opts ? opts.cancelOnError : null; + return new (_EventStreamSubscriptionOfT()).new(this[S$3._target$2], this[S$3._eventType$1], onData, this[S$3._useCapture]); + } + } + (_EventStream.new = function(_target, _eventType, _useCapture) { + if (_eventType == null) dart.nullFailed(I[147], 37170, 35, "_eventType"); + if (_useCapture == null) dart.nullFailed(I[147], 37170, 52, "_useCapture"); + this[S$3._target$2] = _target; + this[S$3._eventType$1] = _eventType; + this[S$3._useCapture] = _useCapture; + _EventStream.__proto__.new.call(this); + ; + }).prototype = _EventStream.prototype; + dart.addTypeTests(_EventStream); + _EventStream.prototype[_is__EventStream_default] = true; + dart.addTypeCaches(_EventStream); + dart.setMethodSignature(_EventStream, () => ({ + __proto__: dart.getMethods(_EventStream.__proto__), + listen: dart.fnType(async.StreamSubscription$(T), [dart.nullable(dart.fnType(dart.void, [T]))], {cancelOnError: dart.nullable(core.bool), onDone: dart.nullable(dart.fnType(dart.void, [])), onError: dart.nullable(core.Function)}, {}) + })); + dart.setLibraryUri(_EventStream, I[148]); + dart.setFieldSignature(_EventStream, () => ({ + __proto__: dart.getFields(_EventStream.__proto__), + [S$3._target$2]: dart.finalFieldType(dart.nullable(html$.EventTarget)), + [S$3._eventType$1]: dart.finalFieldType(core.String), + [S$3._useCapture]: dart.finalFieldType(core.bool) + })); + return _EventStream; +}); +html$._EventStream = html$._EventStream$(); +dart.addTypeTests(html$._EventStream, _is__EventStream_default); +const _is__ElementEventStreamImpl_default = Symbol('_is__ElementEventStreamImpl_default'); +html$._ElementEventStreamImpl$ = dart.generic(T => { + var TTobool = () => (TTobool = dart.constFn(dart.fnType(core.bool, [T])))(); + var TToT = () => (TToT = dart.constFn(dart.fnType(T, [T])))(); + var _EventStreamSubscriptionOfT = () => (_EventStreamSubscriptionOfT = dart.constFn(html$._EventStreamSubscription$(T)))(); + class _ElementEventStreamImpl extends html$._EventStream$(T) { + matches(selector) { + if (selector == null) dart.nullFailed(I[147], 37203, 28, "selector"); + return this.where(dart.fn(event => { + if (event == null) dart.nullFailed(I[147], 37204, 19, "event"); + return html$._matchesWithAncestors(event, selector); + }, TTobool())).map(T, dart.fn(e => { + if (e == null) dart.nullFailed(I[147], 37204, 74, "e"); + e[S._selector] = selector; + return e; + }, TToT())); + } + capture(onData) { + if (onData == null) dart.nullFailed(I[147], 37209, 38, "onData"); + return new (_EventStreamSubscriptionOfT()).new(this[S$3._target$2], this[S$3._eventType$1], onData, true); + } + } + (_ElementEventStreamImpl.new = function(target, eventType, useCapture) { + _ElementEventStreamImpl.__proto__.new.call(this, T$0.EventTargetN().as(target), core.String.as(eventType), core.bool.as(useCapture)); + ; + }).prototype = _ElementEventStreamImpl.prototype; + dart.addTypeTests(_ElementEventStreamImpl); + _ElementEventStreamImpl.prototype[_is__ElementEventStreamImpl_default] = true; + dart.addTypeCaches(_ElementEventStreamImpl); + _ElementEventStreamImpl[dart.implements] = () => [html$.ElementStream$(T)]; + dart.setMethodSignature(_ElementEventStreamImpl, () => ({ + __proto__: dart.getMethods(_ElementEventStreamImpl.__proto__), + matches: dart.fnType(async.Stream$(T), [core.String]), + capture: dart.fnType(async.StreamSubscription$(T), [dart.fnType(dart.void, [T])]) + })); + dart.setLibraryUri(_ElementEventStreamImpl, I[148]); + return _ElementEventStreamImpl; +}); +html$._ElementEventStreamImpl = html$._ElementEventStreamImpl$(); +dart.addTypeTests(html$._ElementEventStreamImpl, _is__ElementEventStreamImpl_default); +const _is__ElementListEventStreamImpl_default = Symbol('_is__ElementListEventStreamImpl_default'); +html$._ElementListEventStreamImpl$ = dart.generic(T => { + var TTobool = () => (TTobool = dart.constFn(dart.fnType(core.bool, [T])))(); + var TToT = () => (TToT = dart.constFn(dart.fnType(T, [T])))(); + var _StreamPoolOfT = () => (_StreamPoolOfT = dart.constFn(html$._StreamPool$(T)))(); + var _EventStreamOfT = () => (_EventStreamOfT = dart.constFn(html$._EventStream$(T)))(); + class _ElementListEventStreamImpl extends async.Stream$(T) { + matches(selector) { + if (selector == null) dart.nullFailed(I[147], 37227, 28, "selector"); + return this.where(dart.fn(event => { + if (event == null) dart.nullFailed(I[147], 37228, 19, "event"); + return html$._matchesWithAncestors(event, selector); + }, TTobool())).map(T, dart.fn(e => { + if (e == null) dart.nullFailed(I[147], 37228, 74, "e"); + e[S._selector] = selector; + return e; + }, TToT())); + } + listen(onData, opts) { + let onError = opts && 'onError' in opts ? opts.onError : null; + let onDone = opts && 'onDone' in opts ? opts.onDone : null; + let cancelOnError = opts && 'cancelOnError' in opts ? opts.cancelOnError : null; + let pool = new (_StreamPoolOfT()).broadcast(); + for (let target of this[S$3._targetList]) { + pool.add(new (_EventStreamOfT()).new(target, this[S$3._eventType$1], this[S$3._useCapture])); + } + return pool.stream.listen(onData, {onError: onError, onDone: onDone, cancelOnError: cancelOnError}); + } + capture(onData) { + if (onData == null) dart.nullFailed(I[147], 37244, 38, "onData"); + let pool = new (_StreamPoolOfT()).broadcast(); + for (let target of this[S$3._targetList]) { + pool.add(new (_EventStreamOfT()).new(target, this[S$3._eventType$1], true)); + } + return pool.stream.listen(onData); + } + asBroadcastStream(opts) { + let onListen = opts && 'onListen' in opts ? opts.onListen : null; + let onCancel = opts && 'onCancel' in opts ? opts.onCancel : null; + return this; + } + get isBroadcast() { + return true; + } + } + (_ElementListEventStreamImpl.new = function(_targetList, _eventType, _useCapture) { + if (_targetList == null) dart.nullFailed(I[147], 37225, 12, "_targetList"); + if (_eventType == null) dart.nullFailed(I[147], 37225, 30, "_eventType"); + if (_useCapture == null) dart.nullFailed(I[147], 37225, 47, "_useCapture"); + this[S$3._targetList] = _targetList; + this[S$3._eventType$1] = _eventType; + this[S$3._useCapture] = _useCapture; + _ElementListEventStreamImpl.__proto__.new.call(this); + ; + }).prototype = _ElementListEventStreamImpl.prototype; + dart.addTypeTests(_ElementListEventStreamImpl); + _ElementListEventStreamImpl.prototype[_is__ElementListEventStreamImpl_default] = true; + dart.addTypeCaches(_ElementListEventStreamImpl); + _ElementListEventStreamImpl[dart.implements] = () => [html$.ElementStream$(T)]; + dart.setMethodSignature(_ElementListEventStreamImpl, () => ({ + __proto__: dart.getMethods(_ElementListEventStreamImpl.__proto__), + matches: dart.fnType(async.Stream$(T), [core.String]), + listen: dart.fnType(async.StreamSubscription$(T), [dart.nullable(dart.fnType(dart.void, [T]))], {cancelOnError: dart.nullable(core.bool), onDone: dart.nullable(dart.fnType(dart.void, [])), onError: dart.nullable(core.Function)}, {}), + capture: dart.fnType(async.StreamSubscription$(T), [dart.fnType(dart.void, [T])]) + })); + dart.setLibraryUri(_ElementListEventStreamImpl, I[148]); + dart.setFieldSignature(_ElementListEventStreamImpl, () => ({ + __proto__: dart.getFields(_ElementListEventStreamImpl.__proto__), + [S$3._targetList]: dart.finalFieldType(core.Iterable$(html$.Element)), + [S$3._useCapture]: dart.finalFieldType(core.bool), + [S$3._eventType$1]: dart.finalFieldType(core.String) + })); + return _ElementListEventStreamImpl; +}); +html$._ElementListEventStreamImpl = html$._ElementListEventStreamImpl$(); +dart.addTypeTests(html$._ElementListEventStreamImpl, _is__ElementListEventStreamImpl_default); +const _is__EventStreamSubscription_default = Symbol('_is__EventStreamSubscription_default'); +html$._EventStreamSubscription$ = dart.generic(T => { + class _EventStreamSubscription extends async.StreamSubscription$(T) { + cancel() { + if (dart.test(this[S$3._canceled])) return _internal.nullFuture; + this[S$3._unlisten](); + this[S$3._target$2] = null; + this[S$3._onData$3] = null; + return _internal.nullFuture; + } + get [S$3._canceled]() { + return this[S$3._target$2] == null; + } + onData(handleData) { + if (dart.test(this[S$3._canceled])) { + dart.throw(new core.StateError.new("Subscription has been canceled.")); + } + this[S$3._unlisten](); + this[S$3._onData$3] = handleData == null ? null : html$._wrapZone(html$.Event, dart.fn(e => { + if (e == null) dart.nullFailed(I[147], 37307, 29, "e"); + return dart.dcall(handleData, [e]); + }, T$0.EventTovoid())); + this[S$3._tryResume](); + } + onError(handleError) { + } + onDone(handleDone) { + } + pause(resumeSignal = null) { + if (dart.test(this[S$3._canceled])) return; + this[S$3._pauseCount$1] = dart.notNull(this[S$3._pauseCount$1]) + 1; + this[S$3._unlisten](); + if (resumeSignal != null) { + resumeSignal.whenComplete(dart.bind(this, 'resume')); + } + } + get isPaused() { + return dart.notNull(this[S$3._pauseCount$1]) > 0; + } + resume() { + if (dart.test(this[S$3._canceled]) || !dart.test(this.isPaused)) return; + this[S$3._pauseCount$1] = dart.notNull(this[S$3._pauseCount$1]) - 1; + this[S$3._tryResume](); + } + [S$3._tryResume]() { + if (this[S$3._onData$3] != null && !dart.test(this.isPaused)) { + dart.nullCheck(this[S$3._target$2])[S.$addEventListener](this[S$3._eventType$1], this[S$3._onData$3], this[S$3._useCapture]); + } + } + [S$3._unlisten]() { + if (this[S$3._onData$3] != null) { + dart.nullCheck(this[S$3._target$2])[S.$removeEventListener](this[S$3._eventType$1], this[S$3._onData$3], this[S$3._useCapture]); + } + } + asFuture(E, futureValue = null) { + let completer = async.Completer$(E).new(); + return completer.future; + } + } + (_EventStreamSubscription.new = function(_target, _eventType, onData, _useCapture) { + if (_eventType == null) dart.nullFailed(I[147], 37280, 26, "_eventType"); + if (_useCapture == null) dart.nullFailed(I[147], 37280, 66, "_useCapture"); + this[S$3._pauseCount$1] = 0; + this[S$3._target$2] = _target; + this[S$3._eventType$1] = _eventType; + this[S$3._useCapture] = _useCapture; + this[S$3._onData$3] = onData == null ? null : html$._wrapZone(html$.Event, dart.fn(e => { + if (e == null) dart.nullFailed(I[147], 37283, 33, "e"); + return dart.dcall(onData, [e]); + }, T$0.EventTovoid())); + this[S$3._tryResume](); + }).prototype = _EventStreamSubscription.prototype; + dart.addTypeTests(_EventStreamSubscription); + _EventStreamSubscription.prototype[_is__EventStreamSubscription_default] = true; + dart.addTypeCaches(_EventStreamSubscription); + dart.setMethodSignature(_EventStreamSubscription, () => ({ + __proto__: dart.getMethods(_EventStreamSubscription.__proto__), + cancel: dart.fnType(async.Future, []), + onData: dart.fnType(dart.void, [dart.nullable(dart.fnType(dart.void, [T]))]), + onError: dart.fnType(dart.void, [dart.nullable(core.Function)]), + onDone: dart.fnType(dart.void, [dart.nullable(dart.fnType(dart.void, []))]), + pause: dart.fnType(dart.void, [], [dart.nullable(async.Future)]), + resume: dart.fnType(dart.void, []), + [S$3._tryResume]: dart.fnType(dart.void, []), + [S$3._unlisten]: dart.fnType(dart.void, []), + asFuture: dart.gFnType(E => [async.Future$(E), [], [dart.nullable(E)]], E => [dart.nullable(core.Object)]) + })); + dart.setGetterSignature(_EventStreamSubscription, () => ({ + __proto__: dart.getGetters(_EventStreamSubscription.__proto__), + [S$3._canceled]: core.bool, + isPaused: core.bool + })); + dart.setLibraryUri(_EventStreamSubscription, I[148]); + dart.setFieldSignature(_EventStreamSubscription, () => ({ + __proto__: dart.getFields(_EventStreamSubscription.__proto__), + [S$3._pauseCount$1]: dart.fieldType(core.int), + [S$3._target$2]: dart.fieldType(dart.nullable(html$.EventTarget)), + [S$3._eventType$1]: dart.finalFieldType(core.String), + [S$3._onData$3]: dart.fieldType(dart.nullable(dart.fnType(dart.dynamic, [html$.Event]))), + [S$3._useCapture]: dart.finalFieldType(core.bool) + })); + return _EventStreamSubscription; +}); +html$._EventStreamSubscription = html$._EventStreamSubscription$(); +dart.addTypeTests(html$._EventStreamSubscription, _is__EventStreamSubscription_default); +const _is_CustomStream_default = Symbol('_is_CustomStream_default'); +html$.CustomStream$ = dart.generic(T => { + class CustomStream extends core.Object {} + (CustomStream.new = function() { + ; + }).prototype = CustomStream.prototype; + CustomStream.prototype[dart.isStream] = true; + dart.addTypeTests(CustomStream); + CustomStream.prototype[_is_CustomStream_default] = true; + dart.addTypeCaches(CustomStream); + CustomStream[dart.implements] = () => [async.Stream$(T)]; + dart.setLibraryUri(CustomStream, I[148]); + return CustomStream; +}); +html$.CustomStream = html$.CustomStream$(); +dart.addTypeTests(html$.CustomStream, _is_CustomStream_default); +const _is__CustomEventStreamImpl_default = Symbol('_is__CustomEventStreamImpl_default'); +html$._CustomEventStreamImpl$ = dart.generic(T => { + var StreamControllerOfT = () => (StreamControllerOfT = dart.constFn(async.StreamController$(T)))(); + class _CustomEventStreamImpl extends async.Stream$(T) { + listen(onData, opts) { + let onError = opts && 'onError' in opts ? opts.onError : null; + let onDone = opts && 'onDone' in opts ? opts.onDone : null; + let cancelOnError = opts && 'cancelOnError' in opts ? opts.cancelOnError : null; + return this[S$3._streamController].stream.listen(onData, {onError: onError, onDone: onDone, cancelOnError: cancelOnError}); + } + asBroadcastStream(opts) { + let onListen = opts && 'onListen' in opts ? opts.onListen : null; + let onCancel = opts && 'onCancel' in opts ? opts.onCancel : null; + return this[S$3._streamController].stream; + } + get isBroadcast() { + return true; + } + add(event) { + T.as(event); + if (event == null) dart.nullFailed(I[147], 37390, 14, "event"); + if (event.type == this[S$3._type$5]) this[S$3._streamController].add(event); + } + } + (_CustomEventStreamImpl.new = function(type) { + if (type == null) dart.nullFailed(I[147], 37372, 33, "type"); + this[S$3._type$5] = type; + this[S$3._streamController] = StreamControllerOfT().broadcast({sync: true}); + _CustomEventStreamImpl.__proto__.new.call(this); + ; + }).prototype = _CustomEventStreamImpl.prototype; + dart.addTypeTests(_CustomEventStreamImpl); + _CustomEventStreamImpl.prototype[_is__CustomEventStreamImpl_default] = true; + dart.addTypeCaches(_CustomEventStreamImpl); + _CustomEventStreamImpl[dart.implements] = () => [html$.CustomStream$(T)]; + dart.setMethodSignature(_CustomEventStreamImpl, () => ({ + __proto__: dart.getMethods(_CustomEventStreamImpl.__proto__), + listen: dart.fnType(async.StreamSubscription$(T), [dart.nullable(dart.fnType(dart.void, [T]))], {cancelOnError: dart.nullable(core.bool), onDone: dart.nullable(dart.fnType(dart.void, [])), onError: dart.nullable(core.Function)}, {}), + add: dart.fnType(dart.void, [dart.nullable(core.Object)]) + })); + dart.setLibraryUri(_CustomEventStreamImpl, I[148]); + dart.setFieldSignature(_CustomEventStreamImpl, () => ({ + __proto__: dart.getFields(_CustomEventStreamImpl.__proto__), + [S$3._streamController]: dart.fieldType(async.StreamController$(T)), + [S$3._type$5]: dart.fieldType(core.String) + })); + return _CustomEventStreamImpl; +}); +html$._CustomEventStreamImpl = html$._CustomEventStreamImpl$(); +dart.addTypeTests(html$._CustomEventStreamImpl, _is__CustomEventStreamImpl_default); +html$.KeyEvent = class KeyEvent extends html$._WrappedEvent { + get keyCode() { + return this[S$3._shadowKeyCode]; + } + get charCode() { + return this.type === "keypress" ? this[S$3._shadowCharCode] : 0; + } + get altKey() { + return this[S$3._shadowAltKey]; + } + get which() { + return this.keyCode; + } + get [S$3._realKeyCode]() { + return this[S$3._parent$2].keyCode; + } + get [S$3._realCharCode]() { + return this[S$3._parent$2].charCode; + } + get [S$3._realAltKey]() { + return this[S$3._parent$2].altKey; + } + get sourceCapabilities() { + return this.sourceCapabilities; + } + static _makeRecord() { + let interceptor = _foreign_helper.JS_INTERCEPTOR_CONSTANT(dart.wrapType(html$.KeyboardEvent)); + return _js_helper.makeLeafDispatchRecord(interceptor); + } + static new(type, opts) { + if (type == null) dart.nullFailed(I[147], 40518, 27, "type"); + let view = opts && 'view' in opts ? opts.view : null; + let canBubble = opts && 'canBubble' in opts ? opts.canBubble : true; + if (canBubble == null) dart.nullFailed(I[147], 40520, 12, "canBubble"); + let cancelable = opts && 'cancelable' in opts ? opts.cancelable : true; + if (cancelable == null) dart.nullFailed(I[147], 40521, 12, "cancelable"); + let keyCode = opts && 'keyCode' in opts ? opts.keyCode : 0; + if (keyCode == null) dart.nullFailed(I[147], 40522, 11, "keyCode"); + let charCode = opts && 'charCode' in opts ? opts.charCode : 0; + if (charCode == null) dart.nullFailed(I[147], 40523, 11, "charCode"); + let location = opts && 'location' in opts ? opts.location : 1; + if (location == null) dart.nullFailed(I[147], 40524, 11, "location"); + let ctrlKey = opts && 'ctrlKey' in opts ? opts.ctrlKey : false; + if (ctrlKey == null) dart.nullFailed(I[147], 40525, 12, "ctrlKey"); + let altKey = opts && 'altKey' in opts ? opts.altKey : false; + if (altKey == null) dart.nullFailed(I[147], 40526, 12, "altKey"); + let shiftKey = opts && 'shiftKey' in opts ? opts.shiftKey : false; + if (shiftKey == null) dart.nullFailed(I[147], 40527, 12, "shiftKey"); + let metaKey = opts && 'metaKey' in opts ? opts.metaKey : false; + if (metaKey == null) dart.nullFailed(I[147], 40528, 12, "metaKey"); + let currentTarget = opts && 'currentTarget' in opts ? opts.currentTarget : null; + if (view == null) { + view = html$.window; + } + let eventObj = null; + eventObj = html$.Event.eventType("KeyboardEvent", type, {canBubble: canBubble, cancelable: cancelable}); + Object.defineProperty(eventObj, 'keyCode', { + get: function() { + return this.keyCodeVal; + } + }); + Object.defineProperty(eventObj, 'which', { + get: function() { + return this.keyCodeVal; + } + }); + Object.defineProperty(eventObj, 'charCode', { + get: function() { + return this.charCodeVal; + } + }); + let keyIdentifier = html$.KeyEvent._convertToHexString(charCode, keyCode); + dart.dsend(eventObj, S$1._initKeyboardEvent, [type, canBubble, cancelable, view, keyIdentifier, location, ctrlKey, altKey, shiftKey, metaKey]); + eventObj.keyCodeVal = keyCode; + eventObj.charCodeVal = charCode; + _interceptors.setDispatchProperty(eventObj, html$.KeyEvent._keyboardEventDispatchRecord); + let keyEvent = new html$.KeyEvent.wrap(html$.KeyboardEvent.as(eventObj)); + if (keyEvent[S$3._currentTarget] == null) { + keyEvent[S$3._currentTarget] = currentTarget == null ? html$.window : currentTarget; + } + return keyEvent; + } + static get canUseDispatchEvent() { + return typeof document.body.dispatchEvent == "function" && document.body.dispatchEvent.length > 0; + } + get currentTarget() { + return this[S$3._currentTarget]; + } + static _convertToHexString(charCode, keyCode) { + if (charCode == null) dart.nullFailed(I[147], 40590, 41, "charCode"); + if (keyCode == null) dart.nullFailed(I[147], 40590, 55, "keyCode"); + if (charCode !== -1) { + let hex = charCode[$toRadixString](16); + let sb = new core.StringBuffer.new("U+"); + for (let i = 0; i < 4 - hex.length; i = i + 1) + sb.write("0"); + sb.write(hex); + return sb.toString(); + } else { + return html$.KeyCode._convertKeyCodeToKeyName(keyCode); + } + } + get code() { + return dart.nullCheck(this[S$3._parent$2].code); + } + get ctrlKey() { + return this[S$3._parent$2].ctrlKey; + } + get detail() { + return dart.nullCheck(this[S$3._parent$2].detail); + } + get isComposing() { + return dart.nullCheck(this[S$3._parent$2].isComposing); + } + get key() { + return dart.nullCheck(this[S$3._parent$2].key); + } + get location() { + return this[S$3._parent$2].location; + } + get metaKey() { + return this[S$3._parent$2].metaKey; + } + get shiftKey() { + return this[S$3._parent$2].shiftKey; + } + get view() { + return this[S$3._parent$2][S$.$view]; + } + [S$._initUIEvent](type, canBubble, cancelable, view, detail) { + if (type == null) dart.nullFailed(I[147], 40632, 14, "type"); + if (canBubble == null) dart.nullFailed(I[147], 40632, 25, "canBubble"); + if (cancelable == null) dart.nullFailed(I[147], 40632, 41, "cancelable"); + if (detail == null) dart.nullFailed(I[147], 40632, 71, "detail"); + dart.throw(new core.UnsupportedError.new("Cannot initialize a UI Event from a KeyEvent.")); + } + get [S$3._shadowKeyIdentifier]() { + return this[S$3._parent$2].keyIdentifier; + } + get [S$1._charCode]() { + return this.charCode; + } + get [S$1._keyCode]() { + return this.keyCode; + } + get [S$._which]() { + return this.which; + } + get [S$3._keyIdentifier]() { + dart.throw(new core.UnsupportedError.new("keyIdentifier is unsupported.")); + } + [S$1._initKeyboardEvent](type, canBubble, cancelable, view, keyIdentifier, location, ctrlKey, altKey, shiftKey, metaKey) { + if (type == null) dart.nullFailed(I[147], 40647, 14, "type"); + if (canBubble == null) dart.nullFailed(I[147], 40648, 12, "canBubble"); + if (cancelable == null) dart.nullFailed(I[147], 40649, 12, "cancelable"); + if (keyIdentifier == null) dart.nullFailed(I[147], 40651, 14, "keyIdentifier"); + if (ctrlKey == null) dart.nullFailed(I[147], 40653, 12, "ctrlKey"); + if (altKey == null) dart.nullFailed(I[147], 40654, 12, "altKey"); + if (shiftKey == null) dart.nullFailed(I[147], 40655, 12, "shiftKey"); + if (metaKey == null) dart.nullFailed(I[147], 40656, 12, "metaKey"); + dart.throw(new core.UnsupportedError.new("Cannot initialize a KeyboardEvent from a KeyEvent.")); + } + getModifierState(keyArgument) { + if (keyArgument == null) dart.nullFailed(I[147], 40661, 32, "keyArgument"); + return dart.throw(new core.UnimplementedError.new()); + } + get repeat() { + return dart.throw(new core.UnimplementedError.new()); + } + get isComposed() { + return dart.throw(new core.UnimplementedError.new()); + } + get [S$._get_view]() { + return dart.throw(new core.UnimplementedError.new()); + } +}; +(html$.KeyEvent.wrap = function(parent) { + if (parent == null) dart.nullFailed(I[147], 40504, 31, "parent"); + this[S$3._currentTarget] = null; + this[S$3._parent$2] = parent; + this[S$3._shadowAltKey] = false; + this[S$3._shadowCharCode] = 0; + this[S$3._shadowKeyCode] = 0; + html$.KeyEvent.__proto__.new.call(this, parent); + this[S$3._parent$2] = parent; + this[S$3._shadowAltKey] = this[S$3._realAltKey]; + this[S$3._shadowCharCode] = this[S$3._realCharCode]; + this[S$3._shadowKeyCode] = this[S$3._realKeyCode]; + this[S$3._currentTarget] = this[S$3._parent$2][S.$currentTarget]; +}).prototype = html$.KeyEvent.prototype; +dart.addTypeTests(html$.KeyEvent); +dart.addTypeCaches(html$.KeyEvent); +html$.KeyEvent[dart.implements] = () => [html$.KeyboardEvent]; +dart.setMethodSignature(html$.KeyEvent, () => ({ + __proto__: dart.getMethods(html$.KeyEvent.__proto__), + [S$._initUIEvent]: dart.fnType(dart.void, [core.String, core.bool, core.bool, dart.nullable(html$.Window), core.int]), + [S$1._initKeyboardEvent]: dart.fnType(dart.void, [core.String, core.bool, core.bool, dart.nullable(html$.Window), core.String, dart.nullable(core.int), core.bool, core.bool, core.bool, core.bool]), + getModifierState: dart.fnType(core.bool, [core.String]), + [S$1.$getModifierState]: dart.fnType(core.bool, [core.String]) +})); +dart.setGetterSignature(html$.KeyEvent, () => ({ + __proto__: dart.getGetters(html$.KeyEvent.__proto__), + keyCode: core.int, + [S$1.$keyCode]: core.int, + charCode: core.int, + [S$1.$charCode]: core.int, + altKey: core.bool, + [S$1.$altKey]: core.bool, + which: core.int, + [S$1.$which]: core.int, + [S$3._realKeyCode]: core.int, + [S$3._realCharCode]: core.int, + [S$3._realAltKey]: core.bool, + sourceCapabilities: dart.nullable(html$.InputDeviceCapabilities), + [S$.$sourceCapabilities]: dart.nullable(html$.InputDeviceCapabilities), + code: core.String, + [S$.$code]: core.String, + ctrlKey: core.bool, + [S$1.$ctrlKey]: core.bool, + detail: core.int, + [S$.$detail]: core.int, + isComposing: core.bool, + [S$1.$isComposing]: core.bool, + key: core.String, + [S.$key]: core.String, + location: core.int, + [S$0.$location]: core.int, + metaKey: core.bool, + [S$1.$metaKey]: core.bool, + shiftKey: core.bool, + [S$1.$shiftKey]: core.bool, + view: dart.nullable(html$.WindowBase), + [S$.$view]: dart.nullable(html$.WindowBase), + [S$3._shadowKeyIdentifier]: core.String, + [S$1._charCode]: core.int, + [S$1._keyCode]: core.int, + [S$._which]: core.int, + [S$3._keyIdentifier]: core.String, + repeat: core.bool, + [S$1.$repeat]: core.bool, + isComposed: core.bool, + [S$._get_view]: dart.dynamic +})); +dart.setLibraryUri(html$.KeyEvent, I[148]); +dart.setFieldSignature(html$.KeyEvent, () => ({ + __proto__: dart.getFields(html$.KeyEvent.__proto__), + [S$3._parent$2]: dart.fieldType(html$.KeyboardEvent), + [S$3._shadowAltKey]: dart.fieldType(core.bool), + [S$3._shadowCharCode]: dart.fieldType(core.int), + [S$3._shadowKeyCode]: dart.fieldType(core.int), + [S$3._currentTarget]: dart.fieldType(dart.nullable(html$.EventTarget)) +})); +dart.defineExtensionMethods(html$.KeyEvent, ['getModifierState']); +dart.defineExtensionAccessors(html$.KeyEvent, [ + 'keyCode', + 'charCode', + 'altKey', + 'which', + 'sourceCapabilities', + 'currentTarget', + 'code', + 'ctrlKey', + 'detail', + 'isComposing', + 'key', + 'location', + 'metaKey', + 'shiftKey', + 'view', + 'repeat' +]); +dart.defineLazy(html$.KeyEvent, { + /*html$.KeyEvent._keyboardEventDispatchRecord*/get _keyboardEventDispatchRecord() { + return html$.KeyEvent._makeRecord(); + }, + /*html$.KeyEvent.keyDownEvent*/get keyDownEvent() { + return new html$._KeyboardEventHandler.new("keydown"); + }, + set keyDownEvent(_) {}, + /*html$.KeyEvent.keyUpEvent*/get keyUpEvent() { + return new html$._KeyboardEventHandler.new("keyup"); + }, + set keyUpEvent(_) {}, + /*html$.KeyEvent.keyPressEvent*/get keyPressEvent() { + return new html$._KeyboardEventHandler.new("keypress"); + }, + set keyPressEvent(_) {} +}, false); +html$._CustomKeyEventStreamImpl = class _CustomKeyEventStreamImpl extends html$._CustomEventStreamImpl$(html$.KeyEvent) { + add(event) { + html$.KeyEvent.as(event); + if (event == null) dart.nullFailed(I[147], 37399, 21, "event"); + if (event.type == this[S$3._type$5]) { + dart.nullCheck(event.currentTarget).dispatchEvent(event[S$3._parent$2]); + this[S$3._streamController].add(event); + } + } +}; +(html$._CustomKeyEventStreamImpl.new = function(type) { + if (type == null) dart.nullFailed(I[147], 37397, 36, "type"); + html$._CustomKeyEventStreamImpl.__proto__.new.call(this, type); + ; +}).prototype = html$._CustomKeyEventStreamImpl.prototype; +dart.addTypeTests(html$._CustomKeyEventStreamImpl); +dart.addTypeCaches(html$._CustomKeyEventStreamImpl); +html$._CustomKeyEventStreamImpl[dart.implements] = () => [html$.CustomStream$(html$.KeyEvent)]; +dart.setLibraryUri(html$._CustomKeyEventStreamImpl, I[148]); +const _is__StreamPool_default = Symbol('_is__StreamPool_default'); +html$._StreamPool$ = dart.generic(T => { + var StreamOfT = () => (StreamOfT = dart.constFn(async.Stream$(T)))(); + var StreamSubscriptionOfT = () => (StreamSubscriptionOfT = dart.constFn(async.StreamSubscription$(T)))(); + var LinkedMapOfStreamOfT$StreamSubscriptionOfT = () => (LinkedMapOfStreamOfT$StreamSubscriptionOfT = dart.constFn(_js_helper.LinkedMap$(StreamOfT(), StreamSubscriptionOfT())))(); + var StreamControllerOfT = () => (StreamControllerOfT = dart.constFn(async.StreamController$(T)))(); + class _StreamPool extends core.Object { + get stream() { + return dart.nullCheck(this[S$3._controller$2]).stream; + } + add(stream) { + StreamOfT().as(stream); + if (stream == null) dart.nullFailed(I[147], 37442, 22, "stream"); + if (dart.test(this[S$3._subscriptions][$containsKey](stream))) return; + this[S$3._subscriptions][$_set](stream, stream.listen(dart.bind(dart.nullCheck(this[S$3._controller$2]), 'add'), {onError: dart.bind(dart.nullCheck(this[S$3._controller$2]), 'addError'), onDone: dart.fn(() => this.remove(stream), T$.VoidTovoid())})); + } + remove(stream) { + StreamOfT().as(stream); + if (stream == null) dart.nullFailed(I[147], 37449, 25, "stream"); + let subscription = this[S$3._subscriptions][$remove](stream); + if (subscription != null) subscription.cancel(); + } + close() { + for (let subscription of this[S$3._subscriptions][$values]) { + subscription.cancel(); + } + this[S$3._subscriptions][$clear](); + dart.nullCheck(this[S$3._controller$2]).close(); + } + } + (_StreamPool.broadcast = function() { + this[S$3._controller$2] = null; + this[S$3._subscriptions] = new (LinkedMapOfStreamOfT$StreamSubscriptionOfT()).new(); + this[S$3._controller$2] = StreamControllerOfT().broadcast({sync: true, onCancel: dart.bind(this, 'close')}); + }).prototype = _StreamPool.prototype; + dart.addTypeTests(_StreamPool); + _StreamPool.prototype[_is__StreamPool_default] = true; + dart.addTypeCaches(_StreamPool); + dart.setMethodSignature(_StreamPool, () => ({ + __proto__: dart.getMethods(_StreamPool.__proto__), + add: dart.fnType(dart.void, [dart.nullable(core.Object)]), + remove: dart.fnType(dart.void, [dart.nullable(core.Object)]), + close: dart.fnType(dart.void, []) + })); + dart.setGetterSignature(_StreamPool, () => ({ + __proto__: dart.getGetters(_StreamPool.__proto__), + stream: async.Stream$(T) + })); + dart.setLibraryUri(_StreamPool, I[148]); + dart.setFieldSignature(_StreamPool, () => ({ + __proto__: dart.getFields(_StreamPool.__proto__), + [S$3._controller$2]: dart.fieldType(dart.nullable(async.StreamController$(T))), + [S$3._subscriptions]: dart.fieldType(core.Map$(async.Stream$(T), async.StreamSubscription$(T))) + })); + return _StreamPool; +}); +html$._StreamPool = html$._StreamPool$(); +dart.addTypeTests(html$._StreamPool, _is__StreamPool_default); +const _is__CustomEventStreamProvider_default = Symbol('_is__CustomEventStreamProvider_default'); +html$._CustomEventStreamProvider$ = dart.generic(T => { + var _EventStreamOfT = () => (_EventStreamOfT = dart.constFn(html$._EventStream$(T)))(); + var _ElementEventStreamImplOfT = () => (_ElementEventStreamImplOfT = dart.constFn(html$._ElementEventStreamImpl$(T)))(); + var _ElementListEventStreamImplOfT = () => (_ElementListEventStreamImplOfT = dart.constFn(html$._ElementListEventStreamImpl$(T)))(); + class _CustomEventStreamProvider extends core.Object { + get [S$3._eventTypeGetter$1]() { + return this[S$3._eventTypeGetter]; + } + set [S$3._eventTypeGetter$1](value) { + super[S$3._eventTypeGetter$1] = value; + } + forTarget(e, opts) { + let t241; + let useCapture = opts && 'useCapture' in opts ? opts.useCapture : false; + if (useCapture == null) dart.nullFailed(I[147], 37473, 45, "useCapture"); + return new (_EventStreamOfT()).new(e, core.String.as((t241 = e, dart.dsend(this, S$3._eventTypeGetter$1, [t241]))), useCapture); + } + forElement(e, opts) { + let t241; + if (e == null) dart.nullFailed(I[147], 37477, 39, "e"); + let useCapture = opts && 'useCapture' in opts ? opts.useCapture : false; + if (useCapture == null) dart.nullFailed(I[147], 37477, 48, "useCapture"); + return new (_ElementEventStreamImplOfT()).new(e, (t241 = e, dart.dsend(this, S$3._eventTypeGetter$1, [t241])), useCapture); + } + [S$1._forElementList](e, opts) { + let t241; + if (e == null) dart.nullFailed(I[147], 37481, 57, "e"); + let useCapture = opts && 'useCapture' in opts ? opts.useCapture : false; + if (useCapture == null) dart.nullFailed(I[147], 37482, 13, "useCapture"); + return new (_ElementListEventStreamImplOfT()).new(e, core.String.as((t241 = e, dart.dsend(this, S$3._eventTypeGetter$1, [t241]))), useCapture); + } + getEventType(target) { + let t241; + if (target == null) dart.nullFailed(I[147], 37487, 35, "target"); + return core.String.as((t241 = target, dart.dsend(this, S$3._eventTypeGetter$1, [t241]))); + } + get [S$3._eventType$1]() { + return dart.throw(new core.UnsupportedError.new("Access type through getEventType method.")); + } + } + (_CustomEventStreamProvider.new = function(_eventTypeGetter) { + this[S$3._eventTypeGetter] = _eventTypeGetter; + ; + }).prototype = _CustomEventStreamProvider.prototype; + dart.addTypeTests(_CustomEventStreamProvider); + _CustomEventStreamProvider.prototype[_is__CustomEventStreamProvider_default] = true; + dart.addTypeCaches(_CustomEventStreamProvider); + _CustomEventStreamProvider[dart.implements] = () => [html$.EventStreamProvider$(T)]; + dart.setMethodSignature(_CustomEventStreamProvider, () => ({ + __proto__: dart.getMethods(_CustomEventStreamProvider.__proto__), + forTarget: dart.fnType(async.Stream$(T), [dart.nullable(html$.EventTarget)], {useCapture: core.bool}, {}), + forElement: dart.fnType(html$.ElementStream$(T), [html$.Element], {useCapture: core.bool}, {}), + [S$1._forElementList]: dart.fnType(html$.ElementStream$(T), [html$.ElementList$(html$.Element)], {useCapture: core.bool}, {}), + getEventType: dart.fnType(core.String, [html$.EventTarget]) + })); + dart.setGetterSignature(_CustomEventStreamProvider, () => ({ + __proto__: dart.getGetters(_CustomEventStreamProvider.__proto__), + [S$3._eventType$1]: core.String + })); + dart.setLibraryUri(_CustomEventStreamProvider, I[148]); + dart.setFieldSignature(_CustomEventStreamProvider, () => ({ + __proto__: dart.getFields(_CustomEventStreamProvider.__proto__), + [S$3._eventTypeGetter$1]: dart.finalFieldType(dart.dynamic) + })); + return _CustomEventStreamProvider; +}); +html$._CustomEventStreamProvider = html$._CustomEventStreamProvider$(); +dart.addTypeTests(html$._CustomEventStreamProvider, _is__CustomEventStreamProvider_default); +html$._Html5NodeValidator = class _Html5NodeValidator extends core.Object { + allowsElement(element) { + if (element == null) dart.nullFailed(I[147], 37915, 30, "element"); + return html$._Html5NodeValidator._allowedElements.contains(html$.Element._safeTagName(element)); + } + allowsAttribute(element, attributeName, value) { + if (element == null) dart.nullFailed(I[147], 37919, 32, "element"); + if (attributeName == null) dart.nullFailed(I[147], 37919, 48, "attributeName"); + if (value == null) dart.nullFailed(I[147], 37919, 70, "value"); + let tagName = html$.Element._safeTagName(element); + let validator = html$._Html5NodeValidator._attributeValidators[$_get](dart.str(tagName) + "::" + dart.str(attributeName)); + if (validator == null) { + validator = html$._Html5NodeValidator._attributeValidators[$_get]("*::" + dart.str(attributeName)); + } + if (validator == null) { + return false; + } + return core.bool.as(dart.dcall(validator, [element, attributeName, value, this])); + } + static _standardAttributeValidator(element, attributeName, value, context) { + if (element == null) dart.nullFailed(I[147], 37931, 51, "element"); + if (attributeName == null) dart.nullFailed(I[147], 37931, 67, "attributeName"); + if (value == null) dart.nullFailed(I[147], 37932, 14, "value"); + if (context == null) dart.nullFailed(I[147], 37932, 41, "context"); + return true; + } + static _uriAttributeValidator(element, attributeName, value, context) { + if (element == null) dart.nullFailed(I[147], 37936, 46, "element"); + if (attributeName == null) dart.nullFailed(I[147], 37936, 62, "attributeName"); + if (value == null) dart.nullFailed(I[147], 37937, 14, "value"); + if (context == null) dart.nullFailed(I[147], 37937, 41, "context"); + return context.uriPolicy.allowsUri(value); + } +}; +(html$._Html5NodeValidator.new = function(opts) { + let t241; + let uriPolicy = opts && 'uriPolicy' in opts ? opts.uriPolicy : null; + this.uriPolicy = (t241 = uriPolicy, t241 == null ? html$.UriPolicy.new() : t241); + if (dart.test(html$._Html5NodeValidator._attributeValidators[$isEmpty])) { + for (let attr of html$._Html5NodeValidator._standardAttributes) { + html$._Html5NodeValidator._attributeValidators[$_set](attr, C[399] || CT.C399); + } + for (let attr of html$._Html5NodeValidator._uriAttributes) { + html$._Html5NodeValidator._attributeValidators[$_set](attr, C[400] || CT.C400); + } + } +}).prototype = html$._Html5NodeValidator.prototype; +dart.addTypeTests(html$._Html5NodeValidator); +dart.addTypeCaches(html$._Html5NodeValidator); +html$._Html5NodeValidator[dart.implements] = () => [html$.NodeValidator]; +dart.setMethodSignature(html$._Html5NodeValidator, () => ({ + __proto__: dart.getMethods(html$._Html5NodeValidator.__proto__), + allowsElement: dart.fnType(core.bool, [html$.Element]), + allowsAttribute: dart.fnType(core.bool, [html$.Element, core.String, core.String]) +})); +dart.setLibraryUri(html$._Html5NodeValidator, I[148]); +dart.setFieldSignature(html$._Html5NodeValidator, () => ({ + __proto__: dart.getFields(html$._Html5NodeValidator.__proto__), + uriPolicy: dart.finalFieldType(html$.UriPolicy) +})); +dart.defineLazy(html$._Html5NodeValidator, { + /*html$._Html5NodeValidator._allowedElements*/get _allowedElements() { + return T$0.LinkedHashSetOfString().from(["A", "ABBR", "ACRONYM", "ADDRESS", "AREA", "ARTICLE", "ASIDE", "AUDIO", "B", "BDI", "BDO", "BIG", "BLOCKQUOTE", "BR", "BUTTON", "CANVAS", "CAPTION", "CENTER", "CITE", "CODE", "COL", "COLGROUP", "COMMAND", "DATA", "DATALIST", "DD", "DEL", "DETAILS", "DFN", "DIR", "DIV", "DL", "DT", "EM", "FIELDSET", "FIGCAPTION", "FIGURE", "FONT", "FOOTER", "FORM", "H1", "H2", "H3", "H4", "H5", "H6", "HEADER", "HGROUP", "HR", "I", "IFRAME", "IMG", "INPUT", "INS", "KBD", "LABEL", "LEGEND", "LI", "MAP", "MARK", "MENU", "METER", "NAV", "NOBR", "OL", "OPTGROUP", "OPTION", "OUTPUT", "P", "PRE", "PROGRESS", "Q", "S", "SAMP", "SECTION", "SELECT", "SMALL", "SOURCE", "SPAN", "STRIKE", "STRONG", "SUB", "SUMMARY", "SUP", "TABLE", "TBODY", "TD", "TEXTAREA", "TFOOT", "TH", "THEAD", "TIME", "TR", "TRACK", "TT", "U", "UL", "VAR", "VIDEO", "WBR"]); + }, + /*html$._Html5NodeValidator._standardAttributes*/get _standardAttributes() { + return C[401] || CT.C401; + }, + /*html$._Html5NodeValidator._uriAttributes*/get _uriAttributes() { + return C[402] || CT.C402; + }, + /*html$._Html5NodeValidator._attributeValidators*/get _attributeValidators() { + return new (T$0.IdentityMapOfString$Function()).new(); + } +}, false); +html$.KeyCode = class KeyCode extends core.Object { + static isCharacterKey(keyCode) { + if (keyCode == null) dart.nullFailed(I[147], 38223, 34, "keyCode"); + if (dart.notNull(keyCode) >= 48 && dart.notNull(keyCode) <= 57 || dart.notNull(keyCode) >= 96 && dart.notNull(keyCode) <= 106 || dart.notNull(keyCode) >= 65 && dart.notNull(keyCode) <= 90) { + return true; + } + if (dart.test(html_common.Device.isWebKit) && keyCode === 0) { + return true; + } + return keyCode === 32 || keyCode === 63 || keyCode === 107 || keyCode === 109 || keyCode === 110 || keyCode === 111 || keyCode === 186 || keyCode === 59 || keyCode === 189 || keyCode === 187 || keyCode === 61 || keyCode === 188 || keyCode === 190 || keyCode === 191 || keyCode === 192 || keyCode === 222 || keyCode === 219 || keyCode === 220 || keyCode === 221; + } + static _convertKeyCodeToKeyName(keyCode) { + if (keyCode == null) dart.nullFailed(I[147], 38263, 46, "keyCode"); + switch (keyCode) { + case 18: + { + return "Alt"; + } + case 8: + { + return "Backspace"; + } + case 20: + { + return "CapsLock"; + } + case 17: + { + return "Control"; + } + case 46: + { + return "Del"; + } + case 40: + { + return "Down"; + } + case 35: + { + return "End"; + } + case 13: + { + return "Enter"; + } + case 27: + { + return "Esc"; + } + case 112: + { + return "F1"; + } + case 113: + { + return "F2"; + } + case 114: + { + return "F3"; + } + case 115: + { + return "F4"; + } + case 116: + { + return "F5"; + } + case 117: + { + return "F6"; + } + case 118: + { + return "F7"; + } + case 119: + { + return "F8"; + } + case 120: + { + return "F9"; + } + case 121: + { + return "F10"; + } + case 122: + { + return "F11"; + } + case 123: + { + return "F12"; + } + case 36: + { + return "Home"; + } + case 45: + { + return "Insert"; + } + case 37: + { + return "Left"; + } + case 91: + { + return "Meta"; + } + case 144: + { + return "NumLock"; + } + case 34: + { + return "PageDown"; + } + case 33: + { + return "PageUp"; + } + case 19: + { + return "Pause"; + } + case 44: + { + return "PrintScreen"; + } + case 39: + { + return "Right"; + } + case 145: + { + return "Scroll"; + } + case 16: + { + return "Shift"; + } + case 32: + { + return "Spacebar"; + } + case 9: + { + return "Tab"; + } + case 38: + { + return "Up"; + } + case 229: + case 224: + case 91: + case 92: + { + return "Win"; + } + default: + { + return "Unidentified"; + } + } + return "Unidentified"; + } +}; +(html$.KeyCode.new = function() { + ; +}).prototype = html$.KeyCode.prototype; +dart.addTypeTests(html$.KeyCode); +dart.addTypeCaches(html$.KeyCode); +dart.setLibraryUri(html$.KeyCode, I[148]); +dart.defineLazy(html$.KeyCode, { + /*html$.KeyCode.WIN_KEY_FF_LINUX*/get WIN_KEY_FF_LINUX() { + return 0; + }, + /*html$.KeyCode.MAC_ENTER*/get MAC_ENTER() { + return 3; + }, + /*html$.KeyCode.BACKSPACE*/get BACKSPACE() { + return 8; + }, + /*html$.KeyCode.TAB*/get TAB() { + return 9; + }, + /*html$.KeyCode.NUM_CENTER*/get NUM_CENTER() { + return 12; + }, + /*html$.KeyCode.ENTER*/get ENTER() { + return 13; + }, + /*html$.KeyCode.SHIFT*/get SHIFT() { + return 16; + }, + /*html$.KeyCode.CTRL*/get CTRL() { + return 17; + }, + /*html$.KeyCode.ALT*/get ALT() { + return 18; + }, + /*html$.KeyCode.PAUSE*/get PAUSE() { + return 19; + }, + /*html$.KeyCode.CAPS_LOCK*/get CAPS_LOCK() { + return 20; + }, + /*html$.KeyCode.ESC*/get ESC() { + return 27; + }, + /*html$.KeyCode.SPACE*/get SPACE() { + return 32; + }, + /*html$.KeyCode.PAGE_UP*/get PAGE_UP() { + return 33; + }, + /*html$.KeyCode.PAGE_DOWN*/get PAGE_DOWN() { + return 34; + }, + /*html$.KeyCode.END*/get END() { + return 35; + }, + /*html$.KeyCode.HOME*/get HOME() { + return 36; + }, + /*html$.KeyCode.LEFT*/get LEFT() { + return 37; + }, + /*html$.KeyCode.UP*/get UP() { + return 38; + }, + /*html$.KeyCode.RIGHT*/get RIGHT() { + return 39; + }, + /*html$.KeyCode.DOWN*/get DOWN() { + return 40; + }, + /*html$.KeyCode.NUM_NORTH_EAST*/get NUM_NORTH_EAST() { + return 33; + }, + /*html$.KeyCode.NUM_SOUTH_EAST*/get NUM_SOUTH_EAST() { + return 34; + }, + /*html$.KeyCode.NUM_SOUTH_WEST*/get NUM_SOUTH_WEST() { + return 35; + }, + /*html$.KeyCode.NUM_NORTH_WEST*/get NUM_NORTH_WEST() { + return 36; + }, + /*html$.KeyCode.NUM_WEST*/get NUM_WEST() { + return 37; + }, + /*html$.KeyCode.NUM_NORTH*/get NUM_NORTH() { + return 38; + }, + /*html$.KeyCode.NUM_EAST*/get NUM_EAST() { + return 39; + }, + /*html$.KeyCode.NUM_SOUTH*/get NUM_SOUTH() { + return 40; + }, + /*html$.KeyCode.PRINT_SCREEN*/get PRINT_SCREEN() { + return 44; + }, + /*html$.KeyCode.INSERT*/get INSERT() { + return 45; + }, + /*html$.KeyCode.NUM_INSERT*/get NUM_INSERT() { + return 45; + }, + /*html$.KeyCode.DELETE*/get DELETE() { + return 46; + }, + /*html$.KeyCode.NUM_DELETE*/get NUM_DELETE() { + return 46; + }, + /*html$.KeyCode.ZERO*/get ZERO() { + return 48; + }, + /*html$.KeyCode.ONE*/get ONE() { + return 49; + }, + /*html$.KeyCode.TWO*/get TWO() { + return 50; + }, + /*html$.KeyCode.THREE*/get THREE() { + return 51; + }, + /*html$.KeyCode.FOUR*/get FOUR() { + return 52; + }, + /*html$.KeyCode.FIVE*/get FIVE() { + return 53; + }, + /*html$.KeyCode.SIX*/get SIX() { + return 54; + }, + /*html$.KeyCode.SEVEN*/get SEVEN() { + return 55; + }, + /*html$.KeyCode.EIGHT*/get EIGHT() { + return 56; + }, + /*html$.KeyCode.NINE*/get NINE() { + return 57; + }, + /*html$.KeyCode.FF_SEMICOLON*/get FF_SEMICOLON() { + return 59; + }, + /*html$.KeyCode.FF_EQUALS*/get FF_EQUALS() { + return 61; + }, + /*html$.KeyCode.QUESTION_MARK*/get QUESTION_MARK() { + return 63; + }, + /*html$.KeyCode.A*/get A() { + return 65; + }, + /*html$.KeyCode.B*/get B() { + return 66; + }, + /*html$.KeyCode.C*/get C() { + return 67; + }, + /*html$.KeyCode.D*/get D() { + return 68; + }, + /*html$.KeyCode.E*/get E() { + return 69; + }, + /*html$.KeyCode.F*/get F() { + return 70; + }, + /*html$.KeyCode.G*/get G() { + return 71; + }, + /*html$.KeyCode.H*/get H() { + return 72; + }, + /*html$.KeyCode.I*/get I() { + return 73; + }, + /*html$.KeyCode.J*/get J() { + return 74; + }, + /*html$.KeyCode.K*/get K() { + return 75; + }, + /*html$.KeyCode.L*/get L() { + return 76; + }, + /*html$.KeyCode.M*/get M() { + return 77; + }, + /*html$.KeyCode.N*/get N() { + return 78; + }, + /*html$.KeyCode.O*/get O() { + return 79; + }, + /*html$.KeyCode.P*/get P() { + return 80; + }, + /*html$.KeyCode.Q*/get Q() { + return 81; + }, + /*html$.KeyCode.R*/get R() { + return 82; + }, + /*html$.KeyCode.S*/get S() { + return 83; + }, + /*html$.KeyCode.T*/get T() { + return 84; + }, + /*html$.KeyCode.U*/get U() { + return 85; + }, + /*html$.KeyCode.V*/get V() { + return 86; + }, + /*html$.KeyCode.W*/get W() { + return 87; + }, + /*html$.KeyCode.X*/get X() { + return 88; + }, + /*html$.KeyCode.Y*/get Y() { + return 89; + }, + /*html$.KeyCode.Z*/get Z() { + return 90; + }, + /*html$.KeyCode.META*/get META() { + return 91; + }, + /*html$.KeyCode.WIN_KEY_LEFT*/get WIN_KEY_LEFT() { + return 91; + }, + /*html$.KeyCode.WIN_KEY_RIGHT*/get WIN_KEY_RIGHT() { + return 92; + }, + /*html$.KeyCode.CONTEXT_MENU*/get CONTEXT_MENU() { + return 93; + }, + /*html$.KeyCode.NUM_ZERO*/get NUM_ZERO() { + return 96; + }, + /*html$.KeyCode.NUM_ONE*/get NUM_ONE() { + return 97; + }, + /*html$.KeyCode.NUM_TWO*/get NUM_TWO() { + return 98; + }, + /*html$.KeyCode.NUM_THREE*/get NUM_THREE() { + return 99; + }, + /*html$.KeyCode.NUM_FOUR*/get NUM_FOUR() { + return 100; + }, + /*html$.KeyCode.NUM_FIVE*/get NUM_FIVE() { + return 101; + }, + /*html$.KeyCode.NUM_SIX*/get NUM_SIX() { + return 102; + }, + /*html$.KeyCode.NUM_SEVEN*/get NUM_SEVEN() { + return 103; + }, + /*html$.KeyCode.NUM_EIGHT*/get NUM_EIGHT() { + return 104; + }, + /*html$.KeyCode.NUM_NINE*/get NUM_NINE() { + return 105; + }, + /*html$.KeyCode.NUM_MULTIPLY*/get NUM_MULTIPLY() { + return 106; + }, + /*html$.KeyCode.NUM_PLUS*/get NUM_PLUS() { + return 107; + }, + /*html$.KeyCode.NUM_MINUS*/get NUM_MINUS() { + return 109; + }, + /*html$.KeyCode.NUM_PERIOD*/get NUM_PERIOD() { + return 110; + }, + /*html$.KeyCode.NUM_DIVISION*/get NUM_DIVISION() { + return 111; + }, + /*html$.KeyCode.F1*/get F1() { + return 112; + }, + /*html$.KeyCode.F2*/get F2() { + return 113; + }, + /*html$.KeyCode.F3*/get F3() { + return 114; + }, + /*html$.KeyCode.F4*/get F4() { + return 115; + }, + /*html$.KeyCode.F5*/get F5() { + return 116; + }, + /*html$.KeyCode.F6*/get F6() { + return 117; + }, + /*html$.KeyCode.F7*/get F7() { + return 118; + }, + /*html$.KeyCode.F8*/get F8() { + return 119; + }, + /*html$.KeyCode.F9*/get F9() { + return 120; + }, + /*html$.KeyCode.F10*/get F10() { + return 121; + }, + /*html$.KeyCode.F11*/get F11() { + return 122; + }, + /*html$.KeyCode.F12*/get F12() { + return 123; + }, + /*html$.KeyCode.NUMLOCK*/get NUMLOCK() { + return 144; + }, + /*html$.KeyCode.SCROLL_LOCK*/get SCROLL_LOCK() { + return 145; + }, + /*html$.KeyCode.FIRST_MEDIA_KEY*/get FIRST_MEDIA_KEY() { + return 166; + }, + /*html$.KeyCode.LAST_MEDIA_KEY*/get LAST_MEDIA_KEY() { + return 183; + }, + /*html$.KeyCode.SEMICOLON*/get SEMICOLON() { + return 186; + }, + /*html$.KeyCode.DASH*/get DASH() { + return 189; + }, + /*html$.KeyCode.EQUALS*/get EQUALS() { + return 187; + }, + /*html$.KeyCode.COMMA*/get COMMA() { + return 188; + }, + /*html$.KeyCode.PERIOD*/get PERIOD() { + return 190; + }, + /*html$.KeyCode.SLASH*/get SLASH() { + return 191; + }, + /*html$.KeyCode.APOSTROPHE*/get APOSTROPHE() { + return 192; + }, + /*html$.KeyCode.TILDE*/get TILDE() { + return 192; + }, + /*html$.KeyCode.SINGLE_QUOTE*/get SINGLE_QUOTE() { + return 222; + }, + /*html$.KeyCode.OPEN_SQUARE_BRACKET*/get OPEN_SQUARE_BRACKET() { + return 219; + }, + /*html$.KeyCode.BACKSLASH*/get BACKSLASH() { + return 220; + }, + /*html$.KeyCode.CLOSE_SQUARE_BRACKET*/get CLOSE_SQUARE_BRACKET() { + return 221; + }, + /*html$.KeyCode.WIN_KEY*/get WIN_KEY() { + return 224; + }, + /*html$.KeyCode.MAC_FF_META*/get MAC_FF_META() { + return 224; + }, + /*html$.KeyCode.WIN_IME*/get WIN_IME() { + return 229; + }, + /*html$.KeyCode.UNKNOWN*/get UNKNOWN() { + return -1; + } +}, false); +html$.KeyLocation = class KeyLocation extends core.Object {}; +(html$.KeyLocation.new = function() { + ; +}).prototype = html$.KeyLocation.prototype; +dart.addTypeTests(html$.KeyLocation); +dart.addTypeCaches(html$.KeyLocation); +dart.setLibraryUri(html$.KeyLocation, I[148]); +dart.defineLazy(html$.KeyLocation, { + /*html$.KeyLocation.STANDARD*/get STANDARD() { + return 0; + }, + /*html$.KeyLocation.LEFT*/get LEFT() { + return 1; + }, + /*html$.KeyLocation.RIGHT*/get RIGHT() { + return 2; + }, + /*html$.KeyLocation.NUMPAD*/get NUMPAD() { + return 3; + }, + /*html$.KeyLocation.MOBILE*/get MOBILE() { + return 4; + }, + /*html$.KeyLocation.JOYSTICK*/get JOYSTICK() { + return 5; + } +}, false); +html$._KeyName = class _KeyName extends core.Object {}; +(html$._KeyName.new = function() { + ; +}).prototype = html$._KeyName.prototype; +dart.addTypeTests(html$._KeyName); +dart.addTypeCaches(html$._KeyName); +dart.setLibraryUri(html$._KeyName, I[148]); +dart.defineLazy(html$._KeyName, { + /*html$._KeyName.ACCEPT*/get ACCEPT() { + return "Accept"; + }, + /*html$._KeyName.ADD*/get ADD() { + return "Add"; + }, + /*html$._KeyName.AGAIN*/get AGAIN() { + return "Again"; + }, + /*html$._KeyName.ALL_CANDIDATES*/get ALL_CANDIDATES() { + return "AllCandidates"; + }, + /*html$._KeyName.ALPHANUMERIC*/get ALPHANUMERIC() { + return "Alphanumeric"; + }, + /*html$._KeyName.ALT*/get ALT() { + return "Alt"; + }, + /*html$._KeyName.ALT_GRAPH*/get ALT_GRAPH() { + return "AltGraph"; + }, + /*html$._KeyName.APPS*/get APPS() { + return "Apps"; + }, + /*html$._KeyName.ATTN*/get ATTN() { + return "Attn"; + }, + /*html$._KeyName.BROWSER_BACK*/get BROWSER_BACK() { + return "BrowserBack"; + }, + /*html$._KeyName.BROWSER_FAVORTIES*/get BROWSER_FAVORTIES() { + return "BrowserFavorites"; + }, + /*html$._KeyName.BROWSER_FORWARD*/get BROWSER_FORWARD() { + return "BrowserForward"; + }, + /*html$._KeyName.BROWSER_NAME*/get BROWSER_NAME() { + return "BrowserHome"; + }, + /*html$._KeyName.BROWSER_REFRESH*/get BROWSER_REFRESH() { + return "BrowserRefresh"; + }, + /*html$._KeyName.BROWSER_SEARCH*/get BROWSER_SEARCH() { + return "BrowserSearch"; + }, + /*html$._KeyName.BROWSER_STOP*/get BROWSER_STOP() { + return "BrowserStop"; + }, + /*html$._KeyName.CAMERA*/get CAMERA() { + return "Camera"; + }, + /*html$._KeyName.CAPS_LOCK*/get CAPS_LOCK() { + return "CapsLock"; + }, + /*html$._KeyName.CLEAR*/get CLEAR() { + return "Clear"; + }, + /*html$._KeyName.CODE_INPUT*/get CODE_INPUT() { + return "CodeInput"; + }, + /*html$._KeyName.COMPOSE*/get COMPOSE() { + return "Compose"; + }, + /*html$._KeyName.CONTROL*/get CONTROL() { + return "Control"; + }, + /*html$._KeyName.CRSEL*/get CRSEL() { + return "Crsel"; + }, + /*html$._KeyName.CONVERT*/get CONVERT() { + return "Convert"; + }, + /*html$._KeyName.COPY*/get COPY() { + return "Copy"; + }, + /*html$._KeyName.CUT*/get CUT() { + return "Cut"; + }, + /*html$._KeyName.DECIMAL*/get DECIMAL() { + return "Decimal"; + }, + /*html$._KeyName.DIVIDE*/get DIVIDE() { + return "Divide"; + }, + /*html$._KeyName.DOWN*/get DOWN() { + return "Down"; + }, + /*html$._KeyName.DOWN_LEFT*/get DOWN_LEFT() { + return "DownLeft"; + }, + /*html$._KeyName.DOWN_RIGHT*/get DOWN_RIGHT() { + return "DownRight"; + }, + /*html$._KeyName.EJECT*/get EJECT() { + return "Eject"; + }, + /*html$._KeyName.END*/get END() { + return "End"; + }, + /*html$._KeyName.ENTER*/get ENTER() { + return "Enter"; + }, + /*html$._KeyName.ERASE_EOF*/get ERASE_EOF() { + return "EraseEof"; + }, + /*html$._KeyName.EXECUTE*/get EXECUTE() { + return "Execute"; + }, + /*html$._KeyName.EXSEL*/get EXSEL() { + return "Exsel"; + }, + /*html$._KeyName.FN*/get FN() { + return "Fn"; + }, + /*html$._KeyName.F1*/get F1() { + return "F1"; + }, + /*html$._KeyName.F2*/get F2() { + return "F2"; + }, + /*html$._KeyName.F3*/get F3() { + return "F3"; + }, + /*html$._KeyName.F4*/get F4() { + return "F4"; + }, + /*html$._KeyName.F5*/get F5() { + return "F5"; + }, + /*html$._KeyName.F6*/get F6() { + return "F6"; + }, + /*html$._KeyName.F7*/get F7() { + return "F7"; + }, + /*html$._KeyName.F8*/get F8() { + return "F8"; + }, + /*html$._KeyName.F9*/get F9() { + return "F9"; + }, + /*html$._KeyName.F10*/get F10() { + return "F10"; + }, + /*html$._KeyName.F11*/get F11() { + return "F11"; + }, + /*html$._KeyName.F12*/get F12() { + return "F12"; + }, + /*html$._KeyName.F13*/get F13() { + return "F13"; + }, + /*html$._KeyName.F14*/get F14() { + return "F14"; + }, + /*html$._KeyName.F15*/get F15() { + return "F15"; + }, + /*html$._KeyName.F16*/get F16() { + return "F16"; + }, + /*html$._KeyName.F17*/get F17() { + return "F17"; + }, + /*html$._KeyName.F18*/get F18() { + return "F18"; + }, + /*html$._KeyName.F19*/get F19() { + return "F19"; + }, + /*html$._KeyName.F20*/get F20() { + return "F20"; + }, + /*html$._KeyName.F21*/get F21() { + return "F21"; + }, + /*html$._KeyName.F22*/get F22() { + return "F22"; + }, + /*html$._KeyName.F23*/get F23() { + return "F23"; + }, + /*html$._KeyName.F24*/get F24() { + return "F24"; + }, + /*html$._KeyName.FINAL_MODE*/get FINAL_MODE() { + return "FinalMode"; + }, + /*html$._KeyName.FIND*/get FIND() { + return "Find"; + }, + /*html$._KeyName.FULL_WIDTH*/get FULL_WIDTH() { + return "FullWidth"; + }, + /*html$._KeyName.HALF_WIDTH*/get HALF_WIDTH() { + return "HalfWidth"; + }, + /*html$._KeyName.HANGUL_MODE*/get HANGUL_MODE() { + return "HangulMode"; + }, + /*html$._KeyName.HANJA_MODE*/get HANJA_MODE() { + return "HanjaMode"; + }, + /*html$._KeyName.HELP*/get HELP() { + return "Help"; + }, + /*html$._KeyName.HIRAGANA*/get HIRAGANA() { + return "Hiragana"; + }, + /*html$._KeyName.HOME*/get HOME() { + return "Home"; + }, + /*html$._KeyName.INSERT*/get INSERT() { + return "Insert"; + }, + /*html$._KeyName.JAPANESE_HIRAGANA*/get JAPANESE_HIRAGANA() { + return "JapaneseHiragana"; + }, + /*html$._KeyName.JAPANESE_KATAKANA*/get JAPANESE_KATAKANA() { + return "JapaneseKatakana"; + }, + /*html$._KeyName.JAPANESE_ROMAJI*/get JAPANESE_ROMAJI() { + return "JapaneseRomaji"; + }, + /*html$._KeyName.JUNJA_MODE*/get JUNJA_MODE() { + return "JunjaMode"; + }, + /*html$._KeyName.KANA_MODE*/get KANA_MODE() { + return "KanaMode"; + }, + /*html$._KeyName.KANJI_MODE*/get KANJI_MODE() { + return "KanjiMode"; + }, + /*html$._KeyName.KATAKANA*/get KATAKANA() { + return "Katakana"; + }, + /*html$._KeyName.LAUNCH_APPLICATION_1*/get LAUNCH_APPLICATION_1() { + return "LaunchApplication1"; + }, + /*html$._KeyName.LAUNCH_APPLICATION_2*/get LAUNCH_APPLICATION_2() { + return "LaunchApplication2"; + }, + /*html$._KeyName.LAUNCH_MAIL*/get LAUNCH_MAIL() { + return "LaunchMail"; + }, + /*html$._KeyName.LEFT*/get LEFT() { + return "Left"; + }, + /*html$._KeyName.MENU*/get MENU() { + return "Menu"; + }, + /*html$._KeyName.META*/get META() { + return "Meta"; + }, + /*html$._KeyName.MEDIA_NEXT_TRACK*/get MEDIA_NEXT_TRACK() { + return "MediaNextTrack"; + }, + /*html$._KeyName.MEDIA_PAUSE_PLAY*/get MEDIA_PAUSE_PLAY() { + return "MediaPlayPause"; + }, + /*html$._KeyName.MEDIA_PREVIOUS_TRACK*/get MEDIA_PREVIOUS_TRACK() { + return "MediaPreviousTrack"; + }, + /*html$._KeyName.MEDIA_STOP*/get MEDIA_STOP() { + return "MediaStop"; + }, + /*html$._KeyName.MODE_CHANGE*/get MODE_CHANGE() { + return "ModeChange"; + }, + /*html$._KeyName.NEXT_CANDIDATE*/get NEXT_CANDIDATE() { + return "NextCandidate"; + }, + /*html$._KeyName.NON_CONVERT*/get NON_CONVERT() { + return "Nonconvert"; + }, + /*html$._KeyName.NUM_LOCK*/get NUM_LOCK() { + return "NumLock"; + }, + /*html$._KeyName.PAGE_DOWN*/get PAGE_DOWN() { + return "PageDown"; + }, + /*html$._KeyName.PAGE_UP*/get PAGE_UP() { + return "PageUp"; + }, + /*html$._KeyName.PASTE*/get PASTE() { + return "Paste"; + }, + /*html$._KeyName.PAUSE*/get PAUSE() { + return "Pause"; + }, + /*html$._KeyName.PLAY*/get PLAY() { + return "Play"; + }, + /*html$._KeyName.POWER*/get POWER() { + return "Power"; + }, + /*html$._KeyName.PREVIOUS_CANDIDATE*/get PREVIOUS_CANDIDATE() { + return "PreviousCandidate"; + }, + /*html$._KeyName.PRINT_SCREEN*/get PRINT_SCREEN() { + return "PrintScreen"; + }, + /*html$._KeyName.PROCESS*/get PROCESS() { + return "Process"; + }, + /*html$._KeyName.PROPS*/get PROPS() { + return "Props"; + }, + /*html$._KeyName.RIGHT*/get RIGHT() { + return "Right"; + }, + /*html$._KeyName.ROMAN_CHARACTERS*/get ROMAN_CHARACTERS() { + return "RomanCharacters"; + }, + /*html$._KeyName.SCROLL*/get SCROLL() { + return "Scroll"; + }, + /*html$._KeyName.SELECT*/get SELECT() { + return "Select"; + }, + /*html$._KeyName.SELECT_MEDIA*/get SELECT_MEDIA() { + return "SelectMedia"; + }, + /*html$._KeyName.SEPARATOR*/get SEPARATOR() { + return "Separator"; + }, + /*html$._KeyName.SHIFT*/get SHIFT() { + return "Shift"; + }, + /*html$._KeyName.SOFT_1*/get SOFT_1() { + return "Soft1"; + }, + /*html$._KeyName.SOFT_2*/get SOFT_2() { + return "Soft2"; + }, + /*html$._KeyName.SOFT_3*/get SOFT_3() { + return "Soft3"; + }, + /*html$._KeyName.SOFT_4*/get SOFT_4() { + return "Soft4"; + }, + /*html$._KeyName.STOP*/get STOP() { + return "Stop"; + }, + /*html$._KeyName.SUBTRACT*/get SUBTRACT() { + return "Subtract"; + }, + /*html$._KeyName.SYMBOL_LOCK*/get SYMBOL_LOCK() { + return "SymbolLock"; + }, + /*html$._KeyName.UP*/get UP() { + return "Up"; + }, + /*html$._KeyName.UP_LEFT*/get UP_LEFT() { + return "UpLeft"; + }, + /*html$._KeyName.UP_RIGHT*/get UP_RIGHT() { + return "UpRight"; + }, + /*html$._KeyName.UNDO*/get UNDO() { + return "Undo"; + }, + /*html$._KeyName.VOLUME_DOWN*/get VOLUME_DOWN() { + return "VolumeDown"; + }, + /*html$._KeyName.VOLUMN_MUTE*/get VOLUMN_MUTE() { + return "VolumeMute"; + }, + /*html$._KeyName.VOLUMN_UP*/get VOLUMN_UP() { + return "VolumeUp"; + }, + /*html$._KeyName.WIN*/get WIN() { + return "Win"; + }, + /*html$._KeyName.ZOOM*/get ZOOM() { + return "Zoom"; + }, + /*html$._KeyName.BACKSPACE*/get BACKSPACE() { + return "Backspace"; + }, + /*html$._KeyName.TAB*/get TAB() { + return "Tab"; + }, + /*html$._KeyName.CANCEL*/get CANCEL() { + return "Cancel"; + }, + /*html$._KeyName.ESC*/get ESC() { + return "Esc"; + }, + /*html$._KeyName.SPACEBAR*/get SPACEBAR() { + return "Spacebar"; + }, + /*html$._KeyName.DEL*/get DEL() { + return "Del"; + }, + /*html$._KeyName.DEAD_GRAVE*/get DEAD_GRAVE() { + return "DeadGrave"; + }, + /*html$._KeyName.DEAD_EACUTE*/get DEAD_EACUTE() { + return "DeadEacute"; + }, + /*html$._KeyName.DEAD_CIRCUMFLEX*/get DEAD_CIRCUMFLEX() { + return "DeadCircumflex"; + }, + /*html$._KeyName.DEAD_TILDE*/get DEAD_TILDE() { + return "DeadTilde"; + }, + /*html$._KeyName.DEAD_MACRON*/get DEAD_MACRON() { + return "DeadMacron"; + }, + /*html$._KeyName.DEAD_BREVE*/get DEAD_BREVE() { + return "DeadBreve"; + }, + /*html$._KeyName.DEAD_ABOVE_DOT*/get DEAD_ABOVE_DOT() { + return "DeadAboveDot"; + }, + /*html$._KeyName.DEAD_UMLAUT*/get DEAD_UMLAUT() { + return "DeadUmlaut"; + }, + /*html$._KeyName.DEAD_ABOVE_RING*/get DEAD_ABOVE_RING() { + return "DeadAboveRing"; + }, + /*html$._KeyName.DEAD_DOUBLEACUTE*/get DEAD_DOUBLEACUTE() { + return "DeadDoubleacute"; + }, + /*html$._KeyName.DEAD_CARON*/get DEAD_CARON() { + return "DeadCaron"; + }, + /*html$._KeyName.DEAD_CEDILLA*/get DEAD_CEDILLA() { + return "DeadCedilla"; + }, + /*html$._KeyName.DEAD_OGONEK*/get DEAD_OGONEK() { + return "DeadOgonek"; + }, + /*html$._KeyName.DEAD_IOTA*/get DEAD_IOTA() { + return "DeadIota"; + }, + /*html$._KeyName.DEAD_VOICED_SOUND*/get DEAD_VOICED_SOUND() { + return "DeadVoicedSound"; + }, + /*html$._KeyName.DEC_SEMIVOICED_SOUND*/get DEC_SEMIVOICED_SOUND() { + return "DeadSemivoicedSound"; + }, + /*html$._KeyName.UNIDENTIFIED*/get UNIDENTIFIED() { + return "Unidentified"; + } +}, false); +html$._KeyboardEventHandler = class _KeyboardEventHandler extends html$.EventStreamProvider$(html$.KeyEvent) { + forTarget(e, opts) { + let useCapture = opts && 'useCapture' in opts ? opts.useCapture : false; + if (useCapture == null) dart.nullFailed(I[147], 38949, 58, "useCapture"); + let handler = new html$._KeyboardEventHandler.initializeAllEventListeners(this[S$3._type$5], e); + return handler[S$3._stream$3]; + } + get [S$3._capsLockOn]() { + return this[S$3._keyDownList][$any](dart.fn(element => { + if (element == null) dart.nullFailed(I[147], 38984, 29, "element"); + return element.keyCode === 20; + }, T$0.KeyEventTobool())); + } + [S$3._determineKeyCodeForKeypress](event) { + if (event == null) dart.nullFailed(I[147], 38993, 50, "event"); + for (let prevEvent of this[S$3._keyDownList]) { + if (prevEvent[S$3._shadowCharCode] == event.charCode) { + return prevEvent.keyCode; + } + if ((dart.test(event.shiftKey) || dart.test(this[S$3._capsLockOn])) && dart.notNull(event.charCode) >= dart.notNull("A"[$codeUnits][$_get](0)) && dart.notNull(event.charCode) <= dart.notNull("Z"[$codeUnits][$_get](0)) && dart.notNull(event.charCode) + dart.notNull(html$._KeyboardEventHandler._ROMAN_ALPHABET_OFFSET) === prevEvent[S$3._shadowCharCode]) { + return prevEvent.keyCode; + } + } + return -1; + } + [S$3._findCharCodeKeyDown](event) { + if (event == null) dart.nullFailed(I[147], 39017, 42, "event"); + if (event.location === 3) { + switch (event.keyCode) { + case 96: + { + return 48; + } + case 97: + { + return 49; + } + case 98: + { + return 50; + } + case 99: + { + return 51; + } + case 100: + { + return 52; + } + case 101: + { + return 53; + } + case 102: + { + return 54; + } + case 103: + { + return 55; + } + case 104: + { + return 56; + } + case 105: + { + return 57; + } + case 106: + { + return 42; + } + case 107: + { + return 43; + } + case 109: + { + return 45; + } + case 110: + { + return 46; + } + case 111: + { + return 47; + } + } + } else if (dart.notNull(event.keyCode) >= 65 && dart.notNull(event.keyCode) <= 90) { + return dart.notNull(event.keyCode) + dart.notNull(html$._KeyboardEventHandler._ROMAN_ALPHABET_OFFSET); + } + switch (event.keyCode) { + case 186: + { + return 59; + } + case 187: + { + return 61; + } + case 188: + { + return 44; + } + case 189: + { + return 45; + } + case 190: + { + return 46; + } + case 191: + { + return 47; + } + case 192: + { + return 96; + } + case 219: + { + return 91; + } + case 220: + { + return 92; + } + case 221: + { + return 93; + } + case 222: + { + return 39; + } + } + return event.keyCode; + } + [S$3._firesKeyPressEvent](event) { + if (event == null) dart.nullFailed(I[147], 39091, 37, "event"); + if (!dart.test(html_common.Device.isIE) && !dart.test(html_common.Device.isWebKit)) { + return true; + } + if (html_common.Device.userAgent[$contains]("Mac") && dart.test(event.altKey)) { + return html$.KeyCode.isCharacterKey(event.keyCode); + } + if (dart.test(event.altKey) && !dart.test(event.ctrlKey)) { + return false; + } + if (!dart.test(event.shiftKey) && (this[S$3._keyDownList][$last].keyCode === 17 || this[S$3._keyDownList][$last].keyCode === 18 || html_common.Device.userAgent[$contains]("Mac") && this[S$3._keyDownList][$last].keyCode === 91)) { + return false; + } + if (dart.test(html_common.Device.isWebKit) && dart.test(event.ctrlKey) && dart.test(event.shiftKey) && (event.keyCode === 220 || event.keyCode === 219 || event.keyCode === 221 || event.keyCode === 192 || event.keyCode === 186 || event.keyCode === 189 || event.keyCode === 187 || event.keyCode === 188 || event.keyCode === 190 || event.keyCode === 191 || event.keyCode === 192 || event.keyCode === 222)) { + return false; + } + switch (event.keyCode) { + case 13: + { + return !dart.test(html_common.Device.isIE); + } + case 27: + { + return !dart.test(html_common.Device.isWebKit); + } + } + return html$.KeyCode.isCharacterKey(event.keyCode); + } + [S$3._normalizeKeyCodes](event) { + if (event == null) dart.nullFailed(I[147], 39148, 40, "event"); + if (dart.test(html_common.Device.isFirefox)) { + switch (event.keyCode) { + case 61: + { + return 187; + } + case 59: + { + return 186; + } + case 224: + { + return 91; + } + case 0: + { + return 224; + } + } + } + return event.keyCode; + } + processKeyDown(e) { + if (e == null) dart.nullFailed(I[147], 39166, 37, "e"); + if (dart.notNull(this[S$3._keyDownList][$length]) > 0 && (this[S$3._keyDownList][$last].keyCode === 17 && !dart.test(e.ctrlKey) || this[S$3._keyDownList][$last].keyCode === 18 && !dart.test(e.altKey) || html_common.Device.userAgent[$contains]("Mac") && this[S$3._keyDownList][$last].keyCode === 91 && !dart.test(e.metaKey))) { + this[S$3._keyDownList][$clear](); + } + let event = new html$.KeyEvent.wrap(e); + event[S$3._shadowKeyCode] = this[S$3._normalizeKeyCodes](event); + event[S$3._shadowCharCode] = this[S$3._findCharCodeKeyDown](event); + if (dart.notNull(this[S$3._keyDownList][$length]) > 0 && event.keyCode != this[S$3._keyDownList][$last].keyCode && !dart.test(this[S$3._firesKeyPressEvent](event))) { + this.processKeyPress(e); + } + this[S$3._keyDownList][$add](event); + this[S$3._stream$3].add(event); + } + processKeyPress(event) { + if (event == null) dart.nullFailed(I[147], 39198, 38, "event"); + let e = new html$.KeyEvent.wrap(event); + if (dart.test(html_common.Device.isIE)) { + if (e.keyCode === 13 || e.keyCode === 27) { + e[S$3._shadowCharCode] = 0; + } else { + e[S$3._shadowCharCode] = e.keyCode; + } + } else if (dart.test(html_common.Device.isOpera)) { + e[S$3._shadowCharCode] = dart.test(html$.KeyCode.isCharacterKey(e.keyCode)) ? e.keyCode : 0; + } + e[S$3._shadowKeyCode] = this[S$3._determineKeyCodeForKeypress](e); + if (e[S$3._shadowKeyIdentifier] != null && dart.test(html$._KeyboardEventHandler._keyIdentifier[$containsKey](e[S$3._shadowKeyIdentifier]))) { + e[S$3._shadowKeyCode] = dart.nullCheck(html$._KeyboardEventHandler._keyIdentifier[$_get](e[S$3._shadowKeyIdentifier])); + } + e[S$3._shadowAltKey] = this[S$3._keyDownList][$any](dart.fn(element => { + if (element == null) dart.nullFailed(I[147], 39223, 45, "element"); + return element.altKey; + }, T$0.KeyEventTobool())); + this[S$3._stream$3].add(e); + } + processKeyUp(event) { + if (event == null) dart.nullFailed(I[147], 39228, 35, "event"); + let e = new html$.KeyEvent.wrap(event); + let toRemove = null; + for (let key of this[S$3._keyDownList]) { + if (key.keyCode == e.keyCode) { + toRemove = key; + } + } + if (toRemove != null) { + this[S$3._keyDownList][$removeWhere](dart.fn(element => { + if (element == null) dart.nullFailed(I[147], 39237, 33, "element"); + return dart.equals(element, toRemove); + }, T$0.KeyEventTobool())); + } else if (dart.notNull(this[S$3._keyDownList][$length]) > 0) { + this[S$3._keyDownList][$removeLast](); + } + this[S$3._stream$3].add(e); + } +}; +(html$._KeyboardEventHandler.new = function(_type) { + if (_type == null) dart.nullFailed(I[147], 38959, 30, "_type"); + this[S$3._keyDownList] = T$0.JSArrayOfKeyEvent().of([]); + this[S$3._type$5] = _type; + this[S$3._stream$3] = new html$._CustomKeyEventStreamImpl.new("event"); + this[S$3._target$2] = null; + html$._KeyboardEventHandler.__proto__.new.call(this, "KeyEvent"); + ; +}).prototype = html$._KeyboardEventHandler.prototype; +(html$._KeyboardEventHandler.initializeAllEventListeners = function(_type, _target) { + if (_type == null) dart.nullFailed(I[147], 38968, 58, "_type"); + this[S$3._keyDownList] = T$0.JSArrayOfKeyEvent().of([]); + this[S$3._type$5] = _type; + this[S$3._target$2] = _target; + this[S$3._stream$3] = new html$._CustomKeyEventStreamImpl.new(_type); + html$._KeyboardEventHandler.__proto__.new.call(this, "KeyEvent"); + html$.Element.keyDownEvent.forTarget(this[S$3._target$2], {useCapture: true}).listen(dart.bind(this, 'processKeyDown')); + html$.Element.keyPressEvent.forTarget(this[S$3._target$2], {useCapture: true}).listen(dart.bind(this, 'processKeyPress')); + html$.Element.keyUpEvent.forTarget(this[S$3._target$2], {useCapture: true}).listen(dart.bind(this, 'processKeyUp')); +}).prototype = html$._KeyboardEventHandler.prototype; +dart.addTypeTests(html$._KeyboardEventHandler); +dart.addTypeCaches(html$._KeyboardEventHandler); +dart.setMethodSignature(html$._KeyboardEventHandler, () => ({ + __proto__: dart.getMethods(html$._KeyboardEventHandler.__proto__), + forTarget: dart.fnType(html$.CustomStream$(html$.KeyEvent), [dart.nullable(html$.EventTarget)], {useCapture: core.bool}, {}), + [S$3._determineKeyCodeForKeypress]: dart.fnType(core.int, [html$.KeyboardEvent]), + [S$3._findCharCodeKeyDown]: dart.fnType(core.int, [html$.KeyboardEvent]), + [S$3._firesKeyPressEvent]: dart.fnType(core.bool, [html$.KeyEvent]), + [S$3._normalizeKeyCodes]: dart.fnType(core.int, [html$.KeyboardEvent]), + processKeyDown: dart.fnType(dart.void, [html$.KeyboardEvent]), + processKeyPress: dart.fnType(dart.void, [html$.KeyboardEvent]), + processKeyUp: dart.fnType(dart.void, [html$.KeyboardEvent]) +})); +dart.setGetterSignature(html$._KeyboardEventHandler, () => ({ + __proto__: dart.getGetters(html$._KeyboardEventHandler.__proto__), + [S$3._capsLockOn]: core.bool +})); +dart.setLibraryUri(html$._KeyboardEventHandler, I[148]); +dart.setFieldSignature(html$._KeyboardEventHandler, () => ({ + __proto__: dart.getFields(html$._KeyboardEventHandler.__proto__), + [S$3._keyDownList]: dart.finalFieldType(core.List$(html$.KeyEvent)), + [S$3._type$5]: dart.finalFieldType(core.String), + [S$3._target$2]: dart.finalFieldType(dart.nullable(html$.EventTarget)), + [S$3._stream$3]: dart.fieldType(html$._CustomKeyEventStreamImpl) +})); +dart.defineLazy(html$._KeyboardEventHandler, { + /*html$._KeyboardEventHandler._ROMAN_ALPHABET_OFFSET*/get _ROMAN_ALPHABET_OFFSET() { + return dart.notNull("a"[$codeUnits][$_get](0)) - dart.notNull("A"[$codeUnits][$_get](0)); + }, + /*html$._KeyboardEventHandler._EVENT_TYPE*/get _EVENT_TYPE() { + return "KeyEvent"; + }, + /*html$._KeyboardEventHandler._keyIdentifier*/get _keyIdentifier() { + return C[403] || CT.C403; + } +}, false); +html$.KeyboardEventStream = class KeyboardEventStream extends core.Object { + static onKeyPress(target) { + if (target == null) dart.nullFailed(I[147], 39265, 56, "target"); + return new html$._KeyboardEventHandler.new("keypress").forTarget(target); + } + static onKeyUp(target) { + if (target == null) dart.nullFailed(I[147], 39269, 53, "target"); + return new html$._KeyboardEventHandler.new("keyup").forTarget(target); + } + static onKeyDown(target) { + if (target == null) dart.nullFailed(I[147], 39273, 55, "target"); + return new html$._KeyboardEventHandler.new("keydown").forTarget(target); + } +}; +(html$.KeyboardEventStream.new = function() { + ; +}).prototype = html$.KeyboardEventStream.prototype; +dart.addTypeTests(html$.KeyboardEventStream); +dart.addTypeCaches(html$.KeyboardEventStream); +dart.setLibraryUri(html$.KeyboardEventStream, I[148]); +html$.NodeValidatorBuilder = class NodeValidatorBuilder extends core.Object { + allowNavigation(uriPolicy = null) { + if (uriPolicy == null) { + uriPolicy = html$.UriPolicy.new(); + } + this.add(html$._SimpleNodeValidator.allowNavigation(uriPolicy)); + } + allowImages(uriPolicy = null) { + if (uriPolicy == null) { + uriPolicy = html$.UriPolicy.new(); + } + this.add(html$._SimpleNodeValidator.allowImages(uriPolicy)); + } + allowTextElements() { + this.add(html$._SimpleNodeValidator.allowTextElements()); + } + allowInlineStyles(opts) { + let tagName = opts && 'tagName' in opts ? opts.tagName : null; + if (tagName == null) { + tagName = "*"; + } else { + tagName = tagName[$toUpperCase](); + } + this.add(new html$._SimpleNodeValidator.new(null, {allowedAttributes: T$.JSArrayOfString().of([dart.str(tagName) + "::style"])})); + } + allowHtml5(opts) { + let uriPolicy = opts && 'uriPolicy' in opts ? opts.uriPolicy : null; + this.add(new html$._Html5NodeValidator.new({uriPolicy: uriPolicy})); + } + allowSvg() { + this.add(new html$._SvgNodeValidator.new()); + } + allowCustomElement(tagName, opts) { + let t241, t241$; + if (tagName == null) dart.nullFailed(I[147], 39424, 34, "tagName"); + let uriPolicy = opts && 'uriPolicy' in opts ? opts.uriPolicy : null; + let attributes = opts && 'attributes' in opts ? opts.attributes : null; + let uriAttributes = opts && 'uriAttributes' in opts ? opts.uriAttributes : null; + let tagNameUpper = tagName[$toUpperCase](); + let attrs = (t241 = attributes, t241 == null ? null : t241[$map](core.String, dart.fn(name => { + if (name == null) dart.nullFailed(I[147], 39430, 24, "name"); + return tagNameUpper + "::" + name[$toLowerCase](); + }, T$.StringToString()))); + let uriAttrs = (t241$ = uriAttributes, t241$ == null ? null : t241$[$map](core.String, dart.fn(name => { + if (name == null) dart.nullFailed(I[147], 39432, 24, "name"); + return tagNameUpper + "::" + name[$toLowerCase](); + }, T$.StringToString()))); + if (uriPolicy == null) { + uriPolicy = html$.UriPolicy.new(); + } + this.add(new html$._CustomElementNodeValidator.new(uriPolicy, T$.JSArrayOfString().of([tagNameUpper]), attrs, uriAttrs, false, true)); + } + allowTagExtension(tagName, baseName, opts) { + let t241, t241$; + if (tagName == null) dart.nullFailed(I[147], 39449, 33, "tagName"); + if (baseName == null) dart.nullFailed(I[147], 39449, 49, "baseName"); + let uriPolicy = opts && 'uriPolicy' in opts ? opts.uriPolicy : null; + let attributes = opts && 'attributes' in opts ? opts.attributes : null; + let uriAttributes = opts && 'uriAttributes' in opts ? opts.uriAttributes : null; + let baseNameUpper = baseName[$toUpperCase](); + let tagNameUpper = tagName[$toUpperCase](); + let attrs = (t241 = attributes, t241 == null ? null : t241[$map](core.String, dart.fn(name => { + if (name == null) dart.nullFailed(I[147], 39456, 24, "name"); + return baseNameUpper + "::" + name[$toLowerCase](); + }, T$.StringToString()))); + let uriAttrs = (t241$ = uriAttributes, t241$ == null ? null : t241$[$map](core.String, dart.fn(name => { + if (name == null) dart.nullFailed(I[147], 39458, 24, "name"); + return baseNameUpper + "::" + name[$toLowerCase](); + }, T$.StringToString()))); + if (uriPolicy == null) { + uriPolicy = html$.UriPolicy.new(); + } + this.add(new html$._CustomElementNodeValidator.new(uriPolicy, T$.JSArrayOfString().of([tagNameUpper, baseNameUpper]), attrs, uriAttrs, true, false)); + } + allowElement(tagName, opts) { + if (tagName == null) dart.nullFailed(I[147], 39467, 28, "tagName"); + let uriPolicy = opts && 'uriPolicy' in opts ? opts.uriPolicy : null; + let attributes = opts && 'attributes' in opts ? opts.attributes : null; + let uriAttributes = opts && 'uriAttributes' in opts ? opts.uriAttributes : null; + this.allowCustomElement(tagName, {uriPolicy: uriPolicy, attributes: attributes, uriAttributes: uriAttributes}); + } + allowTemplating() { + this.add(new html$._TemplatingNodeValidator.new()); + } + add(validator) { + if (validator == null) dart.nullFailed(I[147], 39494, 26, "validator"); + this[S$3._validators][$add](validator); + } + allowsElement(element) { + if (element == null) dart.nullFailed(I[147], 39498, 30, "element"); + return this[S$3._validators][$any](dart.fn(v => { + if (v == null) dart.nullFailed(I[147], 39499, 29, "v"); + return v.allowsElement(element); + }, T$0.NodeValidatorTobool())); + } + allowsAttribute(element, attributeName, value) { + if (element == null) dart.nullFailed(I[147], 39502, 32, "element"); + if (attributeName == null) dart.nullFailed(I[147], 39502, 48, "attributeName"); + if (value == null) dart.nullFailed(I[147], 39502, 70, "value"); + return this[S$3._validators][$any](dart.fn(v => { + if (v == null) dart.nullFailed(I[147], 39504, 15, "v"); + return v.allowsAttribute(element, attributeName, value); + }, T$0.NodeValidatorTobool())); + } +}; +(html$.NodeValidatorBuilder.new = function() { + this[S$3._validators] = T$0.JSArrayOfNodeValidator().of([]); +}).prototype = html$.NodeValidatorBuilder.prototype; +(html$.NodeValidatorBuilder.common = function() { + this[S$3._validators] = T$0.JSArrayOfNodeValidator().of([]); + this.allowHtml5(); + this.allowTemplating(); +}).prototype = html$.NodeValidatorBuilder.prototype; +dart.addTypeTests(html$.NodeValidatorBuilder); +dart.addTypeCaches(html$.NodeValidatorBuilder); +html$.NodeValidatorBuilder[dart.implements] = () => [html$.NodeValidator]; +dart.setMethodSignature(html$.NodeValidatorBuilder, () => ({ + __proto__: dart.getMethods(html$.NodeValidatorBuilder.__proto__), + allowNavigation: dart.fnType(dart.void, [], [dart.nullable(html$.UriPolicy)]), + allowImages: dart.fnType(dart.void, [], [dart.nullable(html$.UriPolicy)]), + allowTextElements: dart.fnType(dart.void, []), + allowInlineStyles: dart.fnType(dart.void, [], {tagName: dart.nullable(core.String)}, {}), + allowHtml5: dart.fnType(dart.void, [], {uriPolicy: dart.nullable(html$.UriPolicy)}, {}), + allowSvg: dart.fnType(dart.void, []), + allowCustomElement: dart.fnType(dart.void, [core.String], {attributes: dart.nullable(core.Iterable$(core.String)), uriAttributes: dart.nullable(core.Iterable$(core.String)), uriPolicy: dart.nullable(html$.UriPolicy)}, {}), + allowTagExtension: dart.fnType(dart.void, [core.String, core.String], {attributes: dart.nullable(core.Iterable$(core.String)), uriAttributes: dart.nullable(core.Iterable$(core.String)), uriPolicy: dart.nullable(html$.UriPolicy)}, {}), + allowElement: dart.fnType(dart.void, [core.String], {attributes: dart.nullable(core.Iterable$(core.String)), uriAttributes: dart.nullable(core.Iterable$(core.String)), uriPolicy: dart.nullable(html$.UriPolicy)}, {}), + allowTemplating: dart.fnType(dart.void, []), + add: dart.fnType(dart.void, [html$.NodeValidator]), + allowsElement: dart.fnType(core.bool, [html$.Element]), + allowsAttribute: dart.fnType(core.bool, [html$.Element, core.String, core.String]) +})); +dart.setLibraryUri(html$.NodeValidatorBuilder, I[148]); +dart.setFieldSignature(html$.NodeValidatorBuilder, () => ({ + __proto__: dart.getFields(html$.NodeValidatorBuilder.__proto__), + [S$3._validators]: dart.finalFieldType(core.List$(html$.NodeValidator)) +})); +html$._SimpleNodeValidator = class _SimpleNodeValidator extends core.Object { + static allowNavigation(uriPolicy) { + if (uriPolicy == null) dart.nullFailed(I[147], 39514, 58, "uriPolicy"); + return new html$._SimpleNodeValidator.new(uriPolicy, {allowedElements: C[405] || CT.C405, allowedAttributes: C[406] || CT.C406, allowedUriAttributes: C[407] || CT.C407}); + } + static allowImages(uriPolicy) { + if (uriPolicy == null) dart.nullFailed(I[147], 39540, 54, "uriPolicy"); + return new html$._SimpleNodeValidator.new(uriPolicy, {allowedElements: C[408] || CT.C408, allowedAttributes: C[409] || CT.C409, allowedUriAttributes: C[410] || CT.C410}); + } + static allowTextElements() { + return new html$._SimpleNodeValidator.new(null, {allowedElements: C[411] || CT.C411}); + } + allowsElement(element) { + if (element == null) dart.nullFailed(I[147], 39602, 30, "element"); + return this.allowedElements.contains(html$.Element._safeTagName(element)); + } + allowsAttribute(element, attributeName, value) { + if (element == null) dart.nullFailed(I[147], 39606, 32, "element"); + if (attributeName == null) dart.nullFailed(I[147], 39606, 48, "attributeName"); + if (value == null) dart.nullFailed(I[147], 39606, 70, "value"); + let tagName = html$.Element._safeTagName(element); + if (dart.test(this.allowedUriAttributes.contains(dart.str(tagName) + "::" + dart.str(attributeName)))) { + return dart.nullCheck(this.uriPolicy).allowsUri(value); + } else if (dart.test(this.allowedUriAttributes.contains("*::" + dart.str(attributeName)))) { + return dart.nullCheck(this.uriPolicy).allowsUri(value); + } else if (dart.test(this.allowedAttributes.contains(dart.str(tagName) + "::" + dart.str(attributeName)))) { + return true; + } else if (dart.test(this.allowedAttributes.contains("*::" + dart.str(attributeName)))) { + return true; + } else if (dart.test(this.allowedAttributes.contains(dart.str(tagName) + "::*"))) { + return true; + } else if (dart.test(this.allowedAttributes.contains("*::*"))) { + return true; + } + return false; + } +}; +(html$._SimpleNodeValidator.new = function(uriPolicy, opts) { + let t241, t241$, t241$0; + let allowedElements = opts && 'allowedElements' in opts ? opts.allowedElements : null; + let allowedAttributes = opts && 'allowedAttributes' in opts ? opts.allowedAttributes : null; + let allowedUriAttributes = opts && 'allowedUriAttributes' in opts ? opts.allowedUriAttributes : null; + this.allowedElements = new (T$0._IdentityHashSetOfString()).new(); + this.allowedAttributes = new (T$0._IdentityHashSetOfString()).new(); + this.allowedUriAttributes = new (T$0._IdentityHashSetOfString()).new(); + this.uriPolicy = uriPolicy; + this.allowedElements.addAll((t241 = allowedElements, t241 == null ? C[404] || CT.C404 : t241)); + allowedAttributes = (t241$ = allowedAttributes, t241$ == null ? C[404] || CT.C404 : t241$); + allowedUriAttributes = (t241$0 = allowedUriAttributes, t241$0 == null ? C[404] || CT.C404 : t241$0); + let legalAttributes = allowedAttributes[$where](dart.fn(x => { + if (x == null) dart.nullFailed(I[147], 39594, 17, "x"); + return !dart.test(html$._Html5NodeValidator._uriAttributes[$contains](x)); + }, T$.StringTobool())); + let extraUriAttributes = allowedAttributes[$where](dart.fn(x => { + if (x == null) dart.nullFailed(I[147], 39596, 17, "x"); + return html$._Html5NodeValidator._uriAttributes[$contains](x); + }, T$.StringTobool())); + this.allowedAttributes.addAll(legalAttributes); + this.allowedUriAttributes.addAll(allowedUriAttributes); + this.allowedUriAttributes.addAll(extraUriAttributes); +}).prototype = html$._SimpleNodeValidator.prototype; +dart.addTypeTests(html$._SimpleNodeValidator); +dart.addTypeCaches(html$._SimpleNodeValidator); +html$._SimpleNodeValidator[dart.implements] = () => [html$.NodeValidator]; +dart.setMethodSignature(html$._SimpleNodeValidator, () => ({ + __proto__: dart.getMethods(html$._SimpleNodeValidator.__proto__), + allowsElement: dart.fnType(core.bool, [html$.Element]), + allowsAttribute: dart.fnType(core.bool, [html$.Element, core.String, core.String]) +})); +dart.setLibraryUri(html$._SimpleNodeValidator, I[148]); +dart.setFieldSignature(html$._SimpleNodeValidator, () => ({ + __proto__: dart.getFields(html$._SimpleNodeValidator.__proto__), + allowedElements: dart.finalFieldType(core.Set$(core.String)), + allowedAttributes: dart.finalFieldType(core.Set$(core.String)), + allowedUriAttributes: dart.finalFieldType(core.Set$(core.String)), + uriPolicy: dart.finalFieldType(dart.nullable(html$.UriPolicy)) +})); +html$._CustomElementNodeValidator = class _CustomElementNodeValidator extends html$._SimpleNodeValidator { + allowsElement(element) { + if (element == null) dart.nullFailed(I[147], 39643, 30, "element"); + if (dart.test(this.allowTypeExtension)) { + let isAttr = element[S.$attributes][$_get]("is"); + if (isAttr != null) { + return dart.test(this.allowedElements.contains(isAttr[$toUpperCase]())) && dart.test(this.allowedElements.contains(html$.Element._safeTagName(element))); + } + } + return dart.test(this.allowCustomTag) && dart.test(this.allowedElements.contains(html$.Element._safeTagName(element))); + } + allowsAttribute(element, attributeName, value) { + if (element == null) dart.nullFailed(I[147], 39655, 32, "element"); + if (attributeName == null) dart.nullFailed(I[147], 39655, 48, "attributeName"); + if (value == null) dart.nullFailed(I[147], 39655, 70, "value"); + if (dart.test(this.allowsElement(element))) { + if (dart.test(this.allowTypeExtension) && attributeName === "is" && dart.test(this.allowedElements.contains(value[$toUpperCase]()))) { + return true; + } + return super.allowsAttribute(element, attributeName, value); + } + return false; + } +}; +(html$._CustomElementNodeValidator.new = function(uriPolicy, allowedElements, allowedAttributes, allowedUriAttributes, allowTypeExtension, allowCustomTag) { + if (uriPolicy == null) dart.nullFailed(I[147], 39630, 17, "uriPolicy"); + if (allowedElements == null) dart.nullFailed(I[147], 39631, 24, "allowedElements"); + if (allowTypeExtension == null) dart.nullFailed(I[147], 39634, 12, "allowTypeExtension"); + if (allowCustomTag == null) dart.nullFailed(I[147], 39635, 12, "allowCustomTag"); + this.allowTypeExtension = allowTypeExtension === true; + this.allowCustomTag = allowCustomTag === true; + html$._CustomElementNodeValidator.__proto__.new.call(this, uriPolicy, {allowedElements: allowedElements, allowedAttributes: allowedAttributes, allowedUriAttributes: allowedUriAttributes}); + ; +}).prototype = html$._CustomElementNodeValidator.prototype; +dart.addTypeTests(html$._CustomElementNodeValidator); +dart.addTypeCaches(html$._CustomElementNodeValidator); +dart.setLibraryUri(html$._CustomElementNodeValidator, I[148]); +dart.setFieldSignature(html$._CustomElementNodeValidator, () => ({ + __proto__: dart.getFields(html$._CustomElementNodeValidator.__proto__), + allowTypeExtension: dart.finalFieldType(core.bool), + allowCustomTag: dart.finalFieldType(core.bool) +})); +html$._TemplatingNodeValidator = class _TemplatingNodeValidator extends html$._SimpleNodeValidator { + allowsAttribute(element, attributeName, value) { + if (element == null) dart.nullFailed(I[147], 39686, 32, "element"); + if (attributeName == null) dart.nullFailed(I[147], 39686, 48, "attributeName"); + if (value == null) dart.nullFailed(I[147], 39686, 70, "value"); + if (dart.test(super.allowsAttribute(element, attributeName, value))) { + return true; + } + if (attributeName === "template" && value === "") { + return true; + } + if (element[S.$attributes][$_get]("template") === "") { + return this[S$3._templateAttrs].contains(attributeName); + } + return false; + } +}; +(html$._TemplatingNodeValidator.new = function() { + this[S$3._templateAttrs] = T$0.LinkedHashSetOfString().from(html$._TemplatingNodeValidator._TEMPLATE_ATTRS); + html$._TemplatingNodeValidator.__proto__.new.call(this, null, {allowedElements: T$.JSArrayOfString().of(["TEMPLATE"]), allowedAttributes: html$._TemplatingNodeValidator._TEMPLATE_ATTRS[$map](core.String, dart.fn(attr => { + if (attr == null) dart.nullFailed(I[147], 39684, 38, "attr"); + return "TEMPLATE::" + dart.str(attr); + }, T$.StringToString()))}); +}).prototype = html$._TemplatingNodeValidator.prototype; +dart.addTypeTests(html$._TemplatingNodeValidator); +dart.addTypeCaches(html$._TemplatingNodeValidator); +dart.setLibraryUri(html$._TemplatingNodeValidator, I[148]); +dart.setFieldSignature(html$._TemplatingNodeValidator, () => ({ + __proto__: dart.getFields(html$._TemplatingNodeValidator.__proto__), + [S$3._templateAttrs]: dart.finalFieldType(core.Set$(core.String)) +})); +dart.defineLazy(html$._TemplatingNodeValidator, { + /*html$._TemplatingNodeValidator._TEMPLATE_ATTRS*/get _TEMPLATE_ATTRS() { + return C[412] || CT.C412; + } +}, false); +html$._SvgNodeValidator = class _SvgNodeValidator extends core.Object { + allowsElement(element) { + if (element == null) dart.nullFailed(I[147], 39703, 30, "element"); + if (svg$.ScriptElement.is(element)) { + return false; + } + if (svg$.SvgElement.is(element) && html$.Element._safeTagName(element) === "foreignObject") { + return false; + } + if (svg$.SvgElement.is(element)) { + return true; + } + return false; + } + allowsAttribute(element, attributeName, value) { + if (element == null) dart.nullFailed(I[147], 39721, 32, "element"); + if (attributeName == null) dart.nullFailed(I[147], 39721, 48, "attributeName"); + if (value == null) dart.nullFailed(I[147], 39721, 70, "value"); + if (attributeName === "is" || attributeName[$startsWith]("on")) { + return false; + } + return this.allowsElement(element); + } +}; +(html$._SvgNodeValidator.new = function() { + ; +}).prototype = html$._SvgNodeValidator.prototype; +dart.addTypeTests(html$._SvgNodeValidator); +dart.addTypeCaches(html$._SvgNodeValidator); +html$._SvgNodeValidator[dart.implements] = () => [html$.NodeValidator]; +dart.setMethodSignature(html$._SvgNodeValidator, () => ({ + __proto__: dart.getMethods(html$._SvgNodeValidator.__proto__), + allowsElement: dart.fnType(core.bool, [html$.Element]), + allowsAttribute: dart.fnType(core.bool, [html$.Element, core.String, core.String]) +})); +dart.setLibraryUri(html$._SvgNodeValidator, I[148]); +html$.ReadyState = class ReadyState extends core.Object {}; +(html$.ReadyState.new = function() { + ; +}).prototype = html$.ReadyState.prototype; +dart.addTypeTests(html$.ReadyState); +dart.addTypeCaches(html$.ReadyState); +dart.setLibraryUri(html$.ReadyState, I[148]); +dart.defineLazy(html$.ReadyState, { + /*html$.ReadyState.LOADING*/get LOADING() { + return "loading"; + }, + /*html$.ReadyState.INTERACTIVE*/get INTERACTIVE() { + return "interactive"; + }, + /*html$.ReadyState.COMPLETE*/get COMPLETE() { + return "complete"; + } +}, false); +const _is__WrappedList_default = Symbol('_is__WrappedList_default'); +html$._WrappedList$ = dart.generic(E => { + var _WrappedIteratorOfE = () => (_WrappedIteratorOfE = dart.constFn(html$._WrappedIterator$(E)))(); + var IterableOfE = () => (IterableOfE = dart.constFn(core.Iterable$(E)))(); + var EN = () => (EN = dart.constFn(dart.nullable(E)))(); + class _WrappedList extends collection.ListBase$(E) { + get iterator() { + return new (_WrappedIteratorOfE()).new(this[S$3._list$19][$iterator]); + } + get length() { + return this[S$3._list$19][$length]; + } + add(element) { + E.as(element); + if (element == null) dart.nullFailed(I[147], 39774, 14, "element"); + this[S$3._list$19][$add](element); + } + remove(element) { + return this[S$3._list$19][$remove](element); + } + clear() { + this[S$3._list$19][$clear](); + } + _get(index) { + if (index == null) dart.nullFailed(I[147], 39786, 21, "index"); + return E.as(this[S$3._list$19][$_get](index)); + } + _set(index, value$) { + let value = value$; + if (index == null) dart.nullFailed(I[147], 39788, 25, "index"); + E.as(value); + if (value == null) dart.nullFailed(I[147], 39788, 34, "value"); + this[S$3._list$19][$_set](index, value); + return value$; + } + set length(newLength) { + if (newLength == null) dart.nullFailed(I[147], 39792, 18, "newLength"); + this[S$3._list$19][$length] = newLength; + } + sort(compare = null) { + if (compare == null) { + this[S$3._list$19][$sort](); + } else { + this[S$3._list$19][$sort](dart.fn((a, b) => { + if (a == null) dart.nullFailed(I[147], 39800, 24, "a"); + if (b == null) dart.nullFailed(I[147], 39800, 32, "b"); + return compare(E.as(a), E.as(b)); + }, T$0.NodeAndNodeToint())); + } + } + indexOf(element, start = 0) { + if (start == null) dart.nullFailed(I[147], 39804, 37, "start"); + return this[S$3._list$19][$indexOf](html$.Node.as(element), start); + } + lastIndexOf(element, start = null) { + return this[S$3._list$19][$lastIndexOf](html$.Node.as(element), start); + } + insert(index, element) { + if (index == null) dart.nullFailed(I[147], 39810, 19, "index"); + E.as(element); + if (element == null) dart.nullFailed(I[147], 39810, 28, "element"); + return this[S$3._list$19][$insert](index, element); + } + removeAt(index) { + if (index == null) dart.nullFailed(I[147], 39812, 18, "index"); + return E.as(this[S$3._list$19][$removeAt](index)); + } + setRange(start, end, iterable, skipCount = 0) { + if (start == null) dart.nullFailed(I[147], 39814, 21, "start"); + if (end == null) dart.nullFailed(I[147], 39814, 32, "end"); + IterableOfE().as(iterable); + if (iterable == null) dart.nullFailed(I[147], 39814, 49, "iterable"); + if (skipCount == null) dart.nullFailed(I[147], 39814, 64, "skipCount"); + this[S$3._list$19][$setRange](start, end, iterable, skipCount); + } + removeRange(start, end) { + if (start == null) dart.nullFailed(I[147], 39818, 24, "start"); + if (end == null) dart.nullFailed(I[147], 39818, 35, "end"); + this[S$3._list$19][$removeRange](start, end); + } + replaceRange(start, end, iterable) { + if (start == null) dart.nullFailed(I[147], 39822, 25, "start"); + if (end == null) dart.nullFailed(I[147], 39822, 36, "end"); + IterableOfE().as(iterable); + if (iterable == null) dart.nullFailed(I[147], 39822, 53, "iterable"); + this[S$3._list$19][$replaceRange](start, end, iterable); + } + fillRange(start, end, fillValue = null) { + if (start == null) dart.nullFailed(I[147], 39826, 22, "start"); + if (end == null) dart.nullFailed(I[147], 39826, 33, "end"); + EN().as(fillValue); + this[S$3._list$19][$fillRange](start, end, fillValue); + } + get rawList() { + return this[S$3._list$19]; + } + } + (_WrappedList.new = function(_list) { + if (_list == null) dart.nullFailed(I[147], 39764, 21, "_list"); + this[S$3._list$19] = _list; + ; + }).prototype = _WrappedList.prototype; + dart.addTypeTests(_WrappedList); + _WrappedList.prototype[_is__WrappedList_default] = true; + dart.addTypeCaches(_WrappedList); + _WrappedList[dart.implements] = () => [html_common.NodeListWrapper]; + dart.setMethodSignature(_WrappedList, () => ({ + __proto__: dart.getMethods(_WrappedList.__proto__), + _get: dart.fnType(E, [core.int]), + [$_get]: dart.fnType(E, [core.int]), + _set: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), + [$_set]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]) + })); + dart.setGetterSignature(_WrappedList, () => ({ + __proto__: dart.getGetters(_WrappedList.__proto__), + length: core.int, + [$length]: core.int, + rawList: core.List$(html$.Node) + })); + dart.setSetterSignature(_WrappedList, () => ({ + __proto__: dart.getSetters(_WrappedList.__proto__), + length: core.int, + [$length]: core.int + })); + dart.setLibraryUri(_WrappedList, I[148]); + dart.setFieldSignature(_WrappedList, () => ({ + __proto__: dart.getFields(_WrappedList.__proto__), + [S$3._list$19]: dart.finalFieldType(core.List$(html$.Node)) + })); + dart.defineExtensionMethods(_WrappedList, [ + 'add', + 'remove', + 'clear', + '_get', + '_set', + 'sort', + 'indexOf', + 'lastIndexOf', + 'insert', + 'removeAt', + 'setRange', + 'removeRange', + 'replaceRange', + 'fillRange' + ]); + dart.defineExtensionAccessors(_WrappedList, ['iterator', 'length']); + return _WrappedList; +}); +html$._WrappedList = html$._WrappedList$(); +dart.addTypeTests(html$._WrappedList, _is__WrappedList_default); +const _is__WrappedIterator_default = Symbol('_is__WrappedIterator_default'); +html$._WrappedIterator$ = dart.generic(E => { + class _WrappedIterator extends core.Object { + moveNext() { + return this[S$3._iterator$3].moveNext(); + } + get current() { + return E.as(this[S$3._iterator$3].current); + } + } + (_WrappedIterator.new = function(_iterator) { + if (_iterator == null) dart.nullFailed(I[147], 39839, 25, "_iterator"); + this[S$3._iterator$3] = _iterator; + ; + }).prototype = _WrappedIterator.prototype; + dart.addTypeTests(_WrappedIterator); + _WrappedIterator.prototype[_is__WrappedIterator_default] = true; + dart.addTypeCaches(_WrappedIterator); + _WrappedIterator[dart.implements] = () => [core.Iterator$(E)]; + dart.setMethodSignature(_WrappedIterator, () => ({ + __proto__: dart.getMethods(_WrappedIterator.__proto__), + moveNext: dart.fnType(core.bool, []) + })); + dart.setGetterSignature(_WrappedIterator, () => ({ + __proto__: dart.getGetters(_WrappedIterator.__proto__), + current: E + })); + dart.setLibraryUri(_WrappedIterator, I[148]); + dart.setFieldSignature(_WrappedIterator, () => ({ + __proto__: dart.getFields(_WrappedIterator.__proto__), + [S$3._iterator$3]: dart.fieldType(core.Iterator$(html$.Node)) + })); + return _WrappedIterator; +}); +html$._WrappedIterator = html$._WrappedIterator$(); +dart.addTypeTests(html$._WrappedIterator, _is__WrappedIterator_default); +html$._HttpRequestUtils = class _HttpRequestUtils extends core.Object { + static get(url, onComplete, withCredentials) { + if (url == null) dart.nullFailed(I[147], 39854, 14, "url"); + if (onComplete == null) dart.nullFailed(I[147], 39854, 19, "onComplete"); + if (withCredentials == null) dart.nullFailed(I[147], 39854, 57, "withCredentials"); + let request = html$.HttpRequest.new(); + request.open("GET", url, {async: true}); + request.withCredentials = withCredentials; + request[S$1.$onReadyStateChange].listen(dart.fn(e => { + if (e == null) dart.nullFailed(I[147], 39860, 40, "e"); + if (request.readyState === 4) { + onComplete(request); + } + }, T$0.EventTovoid())); + request.send(); + return request; + } +}; +(html$._HttpRequestUtils.new = function() { + ; +}).prototype = html$._HttpRequestUtils.prototype; +dart.addTypeTests(html$._HttpRequestUtils); +dart.addTypeCaches(html$._HttpRequestUtils); +dart.setLibraryUri(html$._HttpRequestUtils, I[148]); +const _is_FixedSizeListIterator_default = Symbol('_is_FixedSizeListIterator_default'); +html$.FixedSizeListIterator$ = dart.generic(T => { + class FixedSizeListIterator extends core.Object { + moveNext() { + let nextPosition = dart.notNull(this[S$0._position$2]) + 1; + if (nextPosition < dart.notNull(this[S$2._length$3])) { + this[S$3._current$4] = this[S$3._array][$_get](nextPosition); + this[S$0._position$2] = nextPosition; + return true; + } + this[S$3._current$4] = null; + this[S$0._position$2] = this[S$2._length$3]; + return false; + } + get current() { + return T.as(this[S$3._current$4]); + } + } + (FixedSizeListIterator.new = function(array) { + if (array == null) dart.nullFailed(I[147], 39882, 33, "array"); + this[S$3._current$4] = null; + this[S$3._array] = array; + this[S$0._position$2] = -1; + this[S$2._length$3] = array[$length]; + ; + }).prototype = FixedSizeListIterator.prototype; + dart.addTypeTests(FixedSizeListIterator); + FixedSizeListIterator.prototype[_is_FixedSizeListIterator_default] = true; + dart.addTypeCaches(FixedSizeListIterator); + FixedSizeListIterator[dart.implements] = () => [core.Iterator$(T)]; + dart.setMethodSignature(FixedSizeListIterator, () => ({ + __proto__: dart.getMethods(FixedSizeListIterator.__proto__), + moveNext: dart.fnType(core.bool, []) + })); + dart.setGetterSignature(FixedSizeListIterator, () => ({ + __proto__: dart.getGetters(FixedSizeListIterator.__proto__), + current: T + })); + dart.setLibraryUri(FixedSizeListIterator, I[148]); + dart.setFieldSignature(FixedSizeListIterator, () => ({ + __proto__: dart.getFields(FixedSizeListIterator.__proto__), + [S$3._array]: dart.finalFieldType(core.List$(T)), + [S$2._length$3]: dart.finalFieldType(core.int), + [S$0._position$2]: dart.fieldType(core.int), + [S$3._current$4]: dart.fieldType(dart.nullable(T)) + })); + return FixedSizeListIterator; +}); +html$.FixedSizeListIterator = html$.FixedSizeListIterator$(); +dart.addTypeTests(html$.FixedSizeListIterator, _is_FixedSizeListIterator_default); +const _is__VariableSizeListIterator_default = Symbol('_is__VariableSizeListIterator_default'); +html$._VariableSizeListIterator$ = dart.generic(T => { + class _VariableSizeListIterator extends core.Object { + moveNext() { + let nextPosition = dart.notNull(this[S$0._position$2]) + 1; + if (nextPosition < dart.notNull(this[S$3._array][$length])) { + this[S$3._current$4] = this[S$3._array][$_get](nextPosition); + this[S$0._position$2] = nextPosition; + return true; + } + this[S$3._current$4] = null; + this[S$0._position$2] = this[S$3._array][$length]; + return false; + } + get current() { + return T.as(this[S$3._current$4]); + } + } + (_VariableSizeListIterator.new = function(array) { + if (array == null) dart.nullFailed(I[147], 39908, 37, "array"); + this[S$3._current$4] = null; + this[S$3._array] = array; + this[S$0._position$2] = -1; + ; + }).prototype = _VariableSizeListIterator.prototype; + dart.addTypeTests(_VariableSizeListIterator); + _VariableSizeListIterator.prototype[_is__VariableSizeListIterator_default] = true; + dart.addTypeCaches(_VariableSizeListIterator); + _VariableSizeListIterator[dart.implements] = () => [core.Iterator$(T)]; + dart.setMethodSignature(_VariableSizeListIterator, () => ({ + __proto__: dart.getMethods(_VariableSizeListIterator.__proto__), + moveNext: dart.fnType(core.bool, []) + })); + dart.setGetterSignature(_VariableSizeListIterator, () => ({ + __proto__: dart.getGetters(_VariableSizeListIterator.__proto__), + current: T + })); + dart.setLibraryUri(_VariableSizeListIterator, I[148]); + dart.setFieldSignature(_VariableSizeListIterator, () => ({ + __proto__: dart.getFields(_VariableSizeListIterator.__proto__), + [S$3._array]: dart.finalFieldType(core.List$(T)), + [S$0._position$2]: dart.fieldType(core.int), + [S$3._current$4]: dart.fieldType(dart.nullable(T)) + })); + return _VariableSizeListIterator; +}); +html$._VariableSizeListIterator = html$._VariableSizeListIterator$(); +dart.addTypeTests(html$._VariableSizeListIterator, _is__VariableSizeListIterator_default); +html$.Console = class Console extends core.Object { + get [S$3._isConsoleDefined]() { + return typeof console != "undefined"; + } + get memory() { + return dart.test(this[S$3._isConsoleDefined]) ? window.console.memory : null; + } + assertCondition(condition = null, arg = null) { + return dart.test(this[S$3._isConsoleDefined]) ? window.console.assert(condition, arg) : null; + } + clear(arg = null) { + return dart.test(this[S$3._isConsoleDefined]) ? window.console.clear(arg) : null; + } + count(arg = null) { + return dart.test(this[S$3._isConsoleDefined]) ? window.console.count(arg) : null; + } + countReset(arg = null) { + return dart.test(this[S$3._isConsoleDefined]) ? window.console.countReset(arg) : null; + } + debug(arg) { + return dart.test(this[S$3._isConsoleDefined]) ? window.console.debug(arg) : null; + } + dir(item = null, options = null) { + return dart.test(this[S$3._isConsoleDefined]) ? window.console.dir(item, options) : null; + } + dirxml(arg) { + return dart.test(this[S$3._isConsoleDefined]) ? window.console.dirxml(arg) : null; + } + error(arg) { + return dart.test(this[S$3._isConsoleDefined]) ? window.console.error(arg) : null; + } + group(arg) { + return dart.test(this[S$3._isConsoleDefined]) ? window.console.group(arg) : null; + } + groupCollapsed(arg) { + return dart.test(this[S$3._isConsoleDefined]) ? window.console.groupCollapsed(arg) : null; + } + groupEnd() { + return dart.test(this[S$3._isConsoleDefined]) ? window.console.groupEnd() : null; + } + info(arg) { + return dart.test(this[S$3._isConsoleDefined]) ? window.console.info(arg) : null; + } + log(arg) { + return dart.test(this[S$3._isConsoleDefined]) ? window.console.log(arg) : null; + } + table(tabularData = null, properties = null) { + return dart.test(this[S$3._isConsoleDefined]) ? window.console.table(tabularData, properties) : null; + } + time(label = null) { + return dart.test(this[S$3._isConsoleDefined]) ? window.console.time(label) : null; + } + timeEnd(label = null) { + return dart.test(this[S$3._isConsoleDefined]) ? window.console.timeEnd(label) : null; + } + timeLog(label = null, arg = null) { + return dart.test(this[S$3._isConsoleDefined]) ? window.console.timeLog(label, arg) : null; + } + trace(arg) { + return dart.test(this[S$3._isConsoleDefined]) ? window.console.trace(arg) : null; + } + warn(arg) { + return dart.test(this[S$3._isConsoleDefined]) ? window.console.warn(arg) : null; + } + profile(title = null) { + return dart.test(this[S$3._isConsoleDefined]) ? window.console.profile(title) : null; + } + profileEnd(title = null) { + return dart.test(this[S$3._isConsoleDefined]) ? window.console.profileEnd(title) : null; + } + timeStamp(arg = null) { + return dart.test(this[S$3._isConsoleDefined]) ? window.console.timeStamp(arg) : null; + } + markTimeline(arg) { + return dart.test(this[S$3._isConsoleDefined]) ? window.console.markTimeline(arg) : null; + } +}; +(html$.Console._safe = function() { + ; +}).prototype = html$.Console.prototype; +dart.addTypeTests(html$.Console); +dart.addTypeCaches(html$.Console); +dart.setMethodSignature(html$.Console, () => ({ + __proto__: dart.getMethods(html$.Console.__proto__), + assertCondition: dart.fnType(dart.void, [], [dart.nullable(core.bool), dart.nullable(core.Object)]), + clear: dart.fnType(dart.void, [], [dart.nullable(core.Object)]), + count: dart.fnType(dart.void, [], [dart.nullable(core.Object)]), + countReset: dart.fnType(dart.void, [], [dart.nullable(core.String)]), + debug: dart.fnType(dart.void, [dart.nullable(core.Object)]), + dir: dart.fnType(dart.void, [], [dart.nullable(core.Object), dart.nullable(core.Object)]), + dirxml: dart.fnType(dart.void, [dart.nullable(core.Object)]), + error: dart.fnType(dart.void, [dart.nullable(core.Object)]), + group: dart.fnType(dart.void, [dart.nullable(core.Object)]), + groupCollapsed: dart.fnType(dart.void, [dart.nullable(core.Object)]), + groupEnd: dart.fnType(dart.void, []), + info: dart.fnType(dart.void, [dart.nullable(core.Object)]), + log: dart.fnType(dart.void, [dart.nullable(core.Object)]), + table: dart.fnType(dart.void, [], [dart.nullable(core.Object), dart.nullable(core.List$(core.String))]), + time: dart.fnType(dart.void, [], [dart.nullable(core.String)]), + timeEnd: dart.fnType(dart.void, [], [dart.nullable(core.String)]), + timeLog: dart.fnType(dart.void, [], [dart.nullable(core.String), dart.nullable(core.Object)]), + trace: dart.fnType(dart.void, [dart.nullable(core.Object)]), + warn: dart.fnType(dart.void, [dart.nullable(core.Object)]), + profile: dart.fnType(dart.void, [], [dart.nullable(core.String)]), + profileEnd: dart.fnType(dart.void, [], [dart.nullable(core.String)]), + timeStamp: dart.fnType(dart.void, [], [dart.nullable(core.Object)]), + markTimeline: dart.fnType(dart.void, [dart.nullable(core.Object)]) +})); +dart.setGetterSignature(html$.Console, () => ({ + __proto__: dart.getGetters(html$.Console.__proto__), + [S$3._isConsoleDefined]: core.bool, + memory: dart.nullable(html$.MemoryInfo) +})); +dart.setLibraryUri(html$.Console, I[148]); +dart.defineLazy(html$.Console, { + /*html$.Console._safeConsole*/get _safeConsole() { + return C[413] || CT.C413; + } +}, false); +html$._JSElementUpgrader = class _JSElementUpgrader extends core.Object { + upgrade(element) { + if (element == null) dart.nullFailed(I[147], 40274, 27, "element"); + if (!dart.equals(dart.runtimeType(element), this[S$3._nativeType])) { + if (!dart.equals(this[S$3._nativeType], dart.wrapType(html$.HtmlElement)) || !dart.equals(dart.runtimeType(element), dart.wrapType(html$.UnknownElement))) { + dart.throw(new core.ArgumentError.new("element is not subclass of " + dart.str(this[S$3._nativeType]))); + } + } + _js_helper.setNativeSubclassDispatchRecord(element, this[S$3._interceptor]); + this[S$3._constructor](element); + return element; + } +}; +(html$._JSElementUpgrader.new = function(document, type, extendsTag) { + if (document == null) dart.nullFailed(I[147], 40239, 31, "document"); + if (type == null) dart.nullFailed(I[147], 40239, 46, "type"); + this[S$3._interceptor] = null; + this[S$3._constructor] = null; + this[S$3._nativeType] = null; + let interceptorClass = _interceptors.findInterceptorConstructorForType(type); + if (interceptorClass == null) { + dart.throw(new core.ArgumentError.new(type)); + } + this[S$3._constructor] = _interceptors.findConstructorForNativeSubclassType(type, "created"); + if (this[S$3._constructor] == null) { + dart.throw(new core.ArgumentError.new(dart.str(type) + " has no constructor called 'created'")); + } + _interceptors.getNativeInterceptor(html$.Element.tag("article")); + let baseClassName = _js_helper.findDispatchTagForInterceptorClass(interceptorClass); + if (baseClassName == null) { + dart.throw(new core.ArgumentError.new(type)); + } + if (extendsTag == null) { + if (!dart.equals(baseClassName, "HTMLElement")) { + dart.throw(new core.UnsupportedError.new("Class must provide extendsTag if base " + "native class is not HtmlElement")); + } + this[S$3._nativeType] = dart.wrapType(html$.HtmlElement); + } else { + let element = document[S.$createElement](extendsTag); + html$._checkExtendsNativeClassOrTemplate(element, extendsTag, core.String.as(baseClassName)); + this[S$3._nativeType] = dart.runtimeType(element); + } + this[S$3._interceptor] = interceptorClass.prototype; +}).prototype = html$._JSElementUpgrader.prototype; +dart.addTypeTests(html$._JSElementUpgrader); +dart.addTypeCaches(html$._JSElementUpgrader); +html$._JSElementUpgrader[dart.implements] = () => [html$.ElementUpgrader]; +dart.setMethodSignature(html$._JSElementUpgrader, () => ({ + __proto__: dart.getMethods(html$._JSElementUpgrader.__proto__), + upgrade: dart.fnType(html$.Element, [html$.Element]) +})); +dart.setLibraryUri(html$._JSElementUpgrader, I[148]); +dart.setFieldSignature(html$._JSElementUpgrader, () => ({ + __proto__: dart.getFields(html$._JSElementUpgrader.__proto__), + [S$3._interceptor]: dart.fieldType(dart.dynamic), + [S$3._constructor]: dart.fieldType(dart.dynamic), + [S$3._nativeType]: dart.fieldType(dart.dynamic) +})); +html$._DOMWindowCrossFrame = class _DOMWindowCrossFrame extends core.Object { + get history() { + return html$._HistoryCrossFrame._createSafe(this[S$3._window].history); + } + get location() { + return html$._LocationCrossFrame._createSafe(this[S$3._window].location); + } + get closed() { + return this[S$3._window].closed; + } + get opener() { + return html$._DOMWindowCrossFrame._createSafe(this[S$3._window].opener); + } + get parent() { + return html$._DOMWindowCrossFrame._createSafe(this[S$3._window].parent); + } + get top() { + return html$._DOMWindowCrossFrame._createSafe(this[S$3._window].top); + } + close() { + return this[S$3._window].close(); + } + postMessage(message, targetOrigin, messagePorts = null) { + if (targetOrigin == null) dart.nullFailed(I[147], 40319, 40, "targetOrigin"); + if (messagePorts == null) { + this[S$3._window].postMessage(html_common.convertDartToNative_SerializedScriptValue(message), targetOrigin); + } else { + this[S$3._window].postMessage(html_common.convertDartToNative_SerializedScriptValue(message), targetOrigin, messagePorts); + } + } + static _createSafe(w) { + if (core.identical(w, html$.window)) { + return html$.WindowBase.as(w); + } else { + _js_helper.registerGlobalObject(w); + return new html$._DOMWindowCrossFrame.new(w); + } + } + get on() { + return dart.throw(new core.UnsupportedError.new("You can only attach EventListeners to your own window.")); + } + [S._addEventListener](type, listener, useCapture = null) { + return dart.throw(new core.UnsupportedError.new("You can only attach EventListeners to your own window.")); + } + addEventListener(type, listener, useCapture = null) { + if (type == null) dart.nullFailed(I[147], 40356, 32, "type"); + return dart.throw(new core.UnsupportedError.new("You can only attach EventListeners to your own window.")); + } + dispatchEvent(event) { + if (event == null) dart.nullFailed(I[147], 40361, 28, "event"); + return dart.throw(new core.UnsupportedError.new("You can only attach EventListeners to your own window.")); + } + [S._removeEventListener](type, listener, useCapture = null) { + return dart.throw(new core.UnsupportedError.new("You can only attach EventListeners to your own window.")); + } + removeEventListener(type, listener, useCapture = null) { + if (type == null) dart.nullFailed(I[147], 40369, 35, "type"); + return dart.throw(new core.UnsupportedError.new("You can only attach EventListeners to your own window.")); + } +}; +(html$._DOMWindowCrossFrame.new = function(_window) { + this[S$3._window] = _window; + ; +}).prototype = html$._DOMWindowCrossFrame.prototype; +dart.addTypeTests(html$._DOMWindowCrossFrame); +dart.addTypeCaches(html$._DOMWindowCrossFrame); +html$._DOMWindowCrossFrame[dart.implements] = () => [html$.WindowBase]; +dart.setMethodSignature(html$._DOMWindowCrossFrame, () => ({ + __proto__: dart.getMethods(html$._DOMWindowCrossFrame.__proto__), + close: dart.fnType(dart.void, []), + [S.$close]: dart.fnType(dart.void, []), + postMessage: dart.fnType(dart.void, [dart.dynamic, core.String], [dart.nullable(core.List)]), + [S$.$postMessage]: dart.fnType(dart.void, [dart.dynamic, core.String], [dart.nullable(core.List)]), + [S._addEventListener]: dart.fnType(dart.void, [dart.nullable(core.String), dart.nullable(dart.fnType(dart.dynamic, [html$.Event]))], [dart.nullable(core.bool)]), + addEventListener: dart.fnType(dart.void, [core.String, dart.nullable(dart.fnType(dart.dynamic, [html$.Event]))], [dart.nullable(core.bool)]), + [S.$addEventListener]: dart.fnType(dart.void, [core.String, dart.nullable(dart.fnType(dart.dynamic, [html$.Event]))], [dart.nullable(core.bool)]), + dispatchEvent: dart.fnType(core.bool, [html$.Event]), + [S.$dispatchEvent]: dart.fnType(core.bool, [html$.Event]), + [S._removeEventListener]: dart.fnType(dart.void, [dart.nullable(core.String), dart.nullable(dart.fnType(dart.dynamic, [html$.Event]))], [dart.nullable(core.bool)]), + removeEventListener: dart.fnType(dart.void, [core.String, dart.nullable(dart.fnType(dart.dynamic, [html$.Event]))], [dart.nullable(core.bool)]), + [S.$removeEventListener]: dart.fnType(dart.void, [core.String, dart.nullable(dart.fnType(dart.dynamic, [html$.Event]))], [dart.nullable(core.bool)]) +})); +dart.setGetterSignature(html$._DOMWindowCrossFrame, () => ({ + __proto__: dart.getGetters(html$._DOMWindowCrossFrame.__proto__), + history: html$.HistoryBase, + [S$3.$history]: html$.HistoryBase, + location: html$.LocationBase, + [S$0.$location]: html$.LocationBase, + closed: core.bool, + [S$1.$closed]: core.bool, + opener: html$.WindowBase, + [S$3.$opener]: html$.WindowBase, + parent: html$.WindowBase, + [S.$parent]: html$.WindowBase, + top: html$.WindowBase, + [$top]: html$.WindowBase, + on: html$.Events, + [S.$on]: html$.Events +})); +dart.setLibraryUri(html$._DOMWindowCrossFrame, I[148]); +dart.setFieldSignature(html$._DOMWindowCrossFrame, () => ({ + __proto__: dart.getFields(html$._DOMWindowCrossFrame.__proto__), + [S$3._window]: dart.finalFieldType(dart.dynamic) +})); +dart.defineExtensionMethods(html$._DOMWindowCrossFrame, [ + 'close', + 'postMessage', + 'addEventListener', + 'dispatchEvent', + 'removeEventListener' +]); +dart.defineExtensionAccessors(html$._DOMWindowCrossFrame, [ + 'history', + 'location', + 'closed', + 'opener', + 'parent', + 'top', + 'on' +]); +html$._LocationCrossFrame = class _LocationCrossFrame extends core.Object { + set href(val) { + if (val == null) dart.nullFailed(I[147], 40381, 19, "val"); + return html$._LocationCrossFrame._setHref(this[S$3._location], val); + } + static _setHref(location, val) { + location.href = val; + } + static _createSafe(location) { + if (core.identical(location, html$.window[S$0.$location])) { + return html$.LocationBase.as(location); + } else { + return new html$._LocationCrossFrame.new(location); + } + } +}; +(html$._LocationCrossFrame.new = function(_location) { + this[S$3._location] = _location; + ; +}).prototype = html$._LocationCrossFrame.prototype; +dart.addTypeTests(html$._LocationCrossFrame); +dart.addTypeCaches(html$._LocationCrossFrame); +html$._LocationCrossFrame[dart.implements] = () => [html$.LocationBase]; +dart.setSetterSignature(html$._LocationCrossFrame, () => ({ + __proto__: dart.getSetters(html$._LocationCrossFrame.__proto__), + href: core.String, + [S$.$href]: core.String +})); +dart.setLibraryUri(html$._LocationCrossFrame, I[148]); +dart.setFieldSignature(html$._LocationCrossFrame, () => ({ + __proto__: dart.getFields(html$._LocationCrossFrame.__proto__), + [S$3._location]: dart.fieldType(dart.dynamic) +})); +dart.defineExtensionAccessors(html$._LocationCrossFrame, ['href']); +html$._HistoryCrossFrame = class _HistoryCrossFrame extends core.Object { + back() { + return this[S$3._history].back(); + } + forward() { + return this[S$3._history].forward(); + } + go(distance) { + if (distance == null) dart.nullFailed(I[147], 40409, 15, "distance"); + return this[S$3._history].go(distance); + } + static _createSafe(h) { + if (core.identical(h, html$.window.history)) { + return html$.HistoryBase.as(h); + } else { + return new html$._HistoryCrossFrame.new(h); + } + } +}; +(html$._HistoryCrossFrame.new = function(_history) { + this[S$3._history] = _history; + ; +}).prototype = html$._HistoryCrossFrame.prototype; +dart.addTypeTests(html$._HistoryCrossFrame); +dart.addTypeCaches(html$._HistoryCrossFrame); +html$._HistoryCrossFrame[dart.implements] = () => [html$.HistoryBase]; +dart.setMethodSignature(html$._HistoryCrossFrame, () => ({ + __proto__: dart.getMethods(html$._HistoryCrossFrame.__proto__), + back: dart.fnType(dart.void, []), + [S$1.$back]: dart.fnType(dart.void, []), + forward: dart.fnType(dart.void, []), + [S$1.$forward]: dart.fnType(dart.void, []), + go: dart.fnType(dart.void, [core.int]), + [S$1.$go]: dart.fnType(dart.void, [core.int]) +})); +dart.setLibraryUri(html$._HistoryCrossFrame, I[148]); +dart.setFieldSignature(html$._HistoryCrossFrame, () => ({ + __proto__: dart.getFields(html$._HistoryCrossFrame.__proto__), + [S$3._history]: dart.fieldType(dart.dynamic) +})); +dart.defineExtensionMethods(html$._HistoryCrossFrame, ['back', 'forward', 'go']); +html$.Platform = class Platform extends core.Object {}; +(html$.Platform.new = function() { + ; +}).prototype = html$.Platform.prototype; +dart.addTypeTests(html$.Platform); +dart.addTypeCaches(html$.Platform); +dart.setLibraryUri(html$.Platform, I[148]); +dart.defineLazy(html$.Platform, { + /*html$.Platform.supportsTypedData*/get supportsTypedData() { + return !!window.ArrayBuffer; + }, + /*html$.Platform.supportsSimd*/get supportsSimd() { + return false; + } +}, false); +html$.ElementUpgrader = class ElementUpgrader extends core.Object {}; +(html$.ElementUpgrader.new = function() { + ; +}).prototype = html$.ElementUpgrader.prototype; +dart.addTypeTests(html$.ElementUpgrader); +dart.addTypeCaches(html$.ElementUpgrader); +dart.setLibraryUri(html$.ElementUpgrader, I[148]); +html$.NodeValidator = class NodeValidator extends core.Object { + static new(opts) { + let uriPolicy = opts && 'uriPolicy' in opts ? opts.uriPolicy : null; + return new html$._Html5NodeValidator.new({uriPolicy: uriPolicy}); + } + static throws(base) { + if (base == null) dart.nullFailed(I[147], 40861, 46, "base"); + return new html$._ThrowsNodeValidator.new(base); + } +}; +(html$.NodeValidator[dart.mixinNew] = function() { +}).prototype = html$.NodeValidator.prototype; +dart.addTypeTests(html$.NodeValidator); +dart.addTypeCaches(html$.NodeValidator); +dart.setLibraryUri(html$.NodeValidator, I[148]); +html$.NodeTreeSanitizer = class NodeTreeSanitizer extends core.Object { + static new(validator) { + if (validator == null) dart.nullFailed(I[147], 40893, 43, "validator"); + return new html$._ValidatingTreeSanitizer.new(validator); + } +}; +(html$.NodeTreeSanitizer[dart.mixinNew] = function() { +}).prototype = html$.NodeTreeSanitizer.prototype; +dart.addTypeTests(html$.NodeTreeSanitizer); +dart.addTypeCaches(html$.NodeTreeSanitizer); +dart.setLibraryUri(html$.NodeTreeSanitizer, I[148]); +dart.defineLazy(html$.NodeTreeSanitizer, { + /*html$.NodeTreeSanitizer.trusted*/get trusted() { + return C[414] || CT.C414; + } +}, false); +html$._TrustedHtmlTreeSanitizer = class _TrustedHtmlTreeSanitizer extends core.Object { + sanitizeTree(node) { + if (node == null) dart.nullFailed(I[147], 40921, 21, "node"); + } +}; +(html$._TrustedHtmlTreeSanitizer.new = function() { + ; +}).prototype = html$._TrustedHtmlTreeSanitizer.prototype; +dart.addTypeTests(html$._TrustedHtmlTreeSanitizer); +dart.addTypeCaches(html$._TrustedHtmlTreeSanitizer); +html$._TrustedHtmlTreeSanitizer[dart.implements] = () => [html$.NodeTreeSanitizer]; +dart.setMethodSignature(html$._TrustedHtmlTreeSanitizer, () => ({ + __proto__: dart.getMethods(html$._TrustedHtmlTreeSanitizer.__proto__), + sanitizeTree: dart.fnType(dart.void, [html$.Node]) +})); +dart.setLibraryUri(html$._TrustedHtmlTreeSanitizer, I[148]); +html$.UriPolicy = class UriPolicy extends core.Object { + static new() { + return new html$._SameOriginUriPolicy.new(); + } +}; +(html$.UriPolicy[dart.mixinNew] = function() { +}).prototype = html$.UriPolicy.prototype; +dart.addTypeTests(html$.UriPolicy); +dart.addTypeCaches(html$.UriPolicy); +dart.setLibraryUri(html$.UriPolicy, I[148]); +html$._SameOriginUriPolicy = class _SameOriginUriPolicy extends core.Object { + allowsUri(uri) { + if (uri == null) dart.nullFailed(I[147], 40957, 25, "uri"); + this[S$3._hiddenAnchor].href = uri; + return this[S$3._hiddenAnchor].hostname == this[S$3._loc].hostname && this[S$3._hiddenAnchor].port == this[S$3._loc].port && this[S$3._hiddenAnchor].protocol == this[S$3._loc].protocol || this[S$3._hiddenAnchor].hostname === "" && this[S$3._hiddenAnchor].port === "" && (this[S$3._hiddenAnchor].protocol === ":" || this[S$3._hiddenAnchor].protocol === ""); + } +}; +(html$._SameOriginUriPolicy.new = function() { + this[S$3._hiddenAnchor] = html$.AnchorElement.new(); + this[S$3._loc] = html$.window[S$0.$location]; + ; +}).prototype = html$._SameOriginUriPolicy.prototype; +dart.addTypeTests(html$._SameOriginUriPolicy); +dart.addTypeCaches(html$._SameOriginUriPolicy); +html$._SameOriginUriPolicy[dart.implements] = () => [html$.UriPolicy]; +dart.setMethodSignature(html$._SameOriginUriPolicy, () => ({ + __proto__: dart.getMethods(html$._SameOriginUriPolicy.__proto__), + allowsUri: dart.fnType(core.bool, [core.String]) +})); +dart.setLibraryUri(html$._SameOriginUriPolicy, I[148]); +dart.setFieldSignature(html$._SameOriginUriPolicy, () => ({ + __proto__: dart.getFields(html$._SameOriginUriPolicy.__proto__), + [S$3._hiddenAnchor]: dart.finalFieldType(html$.AnchorElement), + [S$3._loc]: dart.finalFieldType(html$.Location) +})); +html$._ThrowsNodeValidator = class _ThrowsNodeValidator extends core.Object { + allowsElement(element) { + if (element == null) dart.nullFailed(I[147], 40974, 30, "element"); + if (!dart.test(this.validator.allowsElement(element))) { + dart.throw(new core.ArgumentError.new(html$.Element._safeTagName(element))); + } + return true; + } + allowsAttribute(element, attributeName, value) { + if (element == null) dart.nullFailed(I[147], 40981, 32, "element"); + if (attributeName == null) dart.nullFailed(I[147], 40981, 48, "attributeName"); + if (value == null) dart.nullFailed(I[147], 40981, 70, "value"); + if (!dart.test(this.validator.allowsAttribute(element, attributeName, value))) { + dart.throw(new core.ArgumentError.new(dart.str(html$.Element._safeTagName(element)) + "[" + dart.str(attributeName) + "=\"" + dart.str(value) + "\"]")); + } + return true; + } +}; +(html$._ThrowsNodeValidator.new = function(validator) { + if (validator == null) dart.nullFailed(I[147], 40972, 29, "validator"); + this.validator = validator; +}).prototype = html$._ThrowsNodeValidator.prototype; +dart.addTypeTests(html$._ThrowsNodeValidator); +dart.addTypeCaches(html$._ThrowsNodeValidator); +html$._ThrowsNodeValidator[dart.implements] = () => [html$.NodeValidator]; +dart.setMethodSignature(html$._ThrowsNodeValidator, () => ({ + __proto__: dart.getMethods(html$._ThrowsNodeValidator.__proto__), + allowsElement: dart.fnType(core.bool, [html$.Element]), + allowsAttribute: dart.fnType(core.bool, [html$.Element, core.String, core.String]) +})); +dart.setLibraryUri(html$._ThrowsNodeValidator, I[148]); +dart.setFieldSignature(html$._ThrowsNodeValidator, () => ({ + __proto__: dart.getFields(html$._ThrowsNodeValidator.__proto__), + validator: dart.finalFieldType(html$.NodeValidator) +})); +html$._ValidatingTreeSanitizer = class _ValidatingTreeSanitizer extends core.Object { + sanitizeTree(node) { + if (node == null) dart.nullFailed(I[147], 41001, 26, "node"); + const walk = (node, parent) => { + if (node == null) dart.nullFailed(I[147], 41002, 20, "node"); + this.sanitizeNode(node, parent); + let child = node.lastChild; + while (child != null) { + let nextChild = null; + try { + nextChild = child[S$.$previousNode]; + if (nextChild != null && !dart.equals(nextChild[S.$nextNode], child)) { + dart.throw(new core.StateError.new("Corrupt HTML")); + } + } catch (e$) { + let e = dart.getThrown(e$); + if (core.Object.is(e)) { + this[S$3._removeNode](child, node); + child = null; + nextChild = node.lastChild; + } else + throw e$; + } + if (child != null) walk(child, node); + child = nextChild; + } + }; + dart.fn(walk, T$0.NodeAndNodeNTovoid()); + let previousTreeModifications = null; + do { + previousTreeModifications = this.numTreeModifications; + walk(node, null); + } while (!dart.equals(previousTreeModifications, this.numTreeModifications)); + } + [S$3._removeNode](node, parent) { + if (node == null) dart.nullFailed(I[147], 41038, 25, "node"); + this.numTreeModifications = dart.notNull(this.numTreeModifications) + 1; + if (parent == null || !dart.equals(parent, node.parentNode)) { + node[$remove](); + } else { + parent[S$._removeChild](node); + } + } + [S$3._sanitizeUntrustedElement](element, parent) { + let corrupted = true; + let attrs = null; + let isAttr = null; + try { + attrs = dart.dload(element, 'attributes'); + isAttr = dart.dsend(attrs, '_get', ["is"]); + let corruptedTest1 = html$.Element._hasCorruptedAttributes(html$.Element.as(element)); + corrupted = dart.test(corruptedTest1) ? true : html$.Element._hasCorruptedAttributesAdditionalCheck(html$.Element.as(element)); + } catch (e$) { + let e = dart.getThrown(e$); + if (core.Object.is(e)) { + } else + throw e$; + } + let elementText = "element unprintable"; + try { + elementText = dart.toString(element); + } catch (e$0) { + let e = dart.getThrown(e$0); + if (core.Object.is(e)) { + } else + throw e$0; + } + try { + let elementTagName = html$.Element._safeTagName(element); + this[S$3._sanitizeElement](html$.Element.as(element), parent, corrupted, elementText, elementTagName, core.Map.as(attrs), T$.StringN().as(isAttr)); + } catch (e$1) { + let ex = dart.getThrown(e$1); + if (core.ArgumentError.is(ex)) { + dart.rethrow(e$1); + } else if (core.Object.is(ex)) { + let e = ex; + this[S$3._removeNode](html$.Node.as(element), parent); + html$.window[S$2.$console].warn("Removing corrupted element " + dart.str(elementText)); + } else + throw e$1; + } + } + [S$3._sanitizeElement](element, parent, corrupted, text, tag, attrs, isAttr) { + if (element == null) dart.nullFailed(I[147], 41100, 33, "element"); + if (corrupted == null) dart.nullFailed(I[147], 41100, 61, "corrupted"); + if (text == null) dart.nullFailed(I[147], 41101, 14, "text"); + if (tag == null) dart.nullFailed(I[147], 41101, 27, "tag"); + if (attrs == null) dart.nullFailed(I[147], 41101, 36, "attrs"); + if (false !== corrupted) { + this[S$3._removeNode](element, parent); + html$.window[S$2.$console].warn("Removing element due to corrupted attributes on <" + dart.str(text) + ">"); + return; + } + if (!dart.test(this.validator.allowsElement(element))) { + this[S$3._removeNode](element, parent); + html$.window[S$2.$console].warn("Removing disallowed element <" + dart.str(tag) + "> from " + dart.str(parent)); + return; + } + if (isAttr != null) { + if (!dart.test(this.validator.allowsAttribute(element, "is", isAttr))) { + this[S$3._removeNode](element, parent); + html$.window[S$2.$console].warn("Removing disallowed type extension " + "<" + dart.str(tag) + " is=\"" + dart.str(isAttr) + "\">"); + return; + } + } + let keys = attrs[$keys][$toList](); + for (let i = dart.notNull(attrs[$length]) - 1; i >= 0; i = i - 1) { + let name = keys[$_get](i); + if (!dart.test(this.validator.allowsAttribute(element, core.String.as(dart.dsend(name, 'toLowerCase', [])), core.String.as(attrs[$_get](name))))) { + html$.window[S$2.$console].warn("Removing disallowed attribute " + "<" + dart.str(tag) + " " + dart.str(name) + "=\"" + dart.str(attrs[$_get](name)) + "\">"); + attrs[$remove](name); + } + } + if (html$.TemplateElement.is(element)) { + let template = element; + this.sanitizeTree(dart.nullCheck(template.content)); + } + } + sanitizeNode(node, parent) { + if (node == null) dart.nullFailed(I[147], 41143, 26, "node"); + switch (node.nodeType) { + case 1: + { + this[S$3._sanitizeUntrustedElement](node, parent); + break; + } + case 8: + case 11: + case 3: + case 4: + { + break; + } + default: + { + this[S$3._removeNode](node, parent); + } + } + } +}; +(html$._ValidatingTreeSanitizer.new = function(validator) { + if (validator == null) dart.nullFailed(I[147], 40999, 33, "validator"); + this.numTreeModifications = 0; + this.validator = validator; +}).prototype = html$._ValidatingTreeSanitizer.prototype; +dart.addTypeTests(html$._ValidatingTreeSanitizer); +dart.addTypeCaches(html$._ValidatingTreeSanitizer); +html$._ValidatingTreeSanitizer[dart.implements] = () => [html$.NodeTreeSanitizer]; +dart.setMethodSignature(html$._ValidatingTreeSanitizer, () => ({ + __proto__: dart.getMethods(html$._ValidatingTreeSanitizer.__proto__), + sanitizeTree: dart.fnType(dart.void, [html$.Node]), + [S$3._removeNode]: dart.fnType(dart.void, [html$.Node, dart.nullable(html$.Node)]), + [S$3._sanitizeUntrustedElement]: dart.fnType(dart.void, [dart.dynamic, dart.nullable(html$.Node)]), + [S$3._sanitizeElement]: dart.fnType(dart.void, [html$.Element, dart.nullable(html$.Node), core.bool, core.String, core.String, core.Map, dart.nullable(core.String)]), + sanitizeNode: dart.fnType(dart.void, [html$.Node, dart.nullable(html$.Node)]) +})); +dart.setLibraryUri(html$._ValidatingTreeSanitizer, I[148]); +dart.setFieldSignature(html$._ValidatingTreeSanitizer, () => ({ + __proto__: dart.getFields(html$._ValidatingTreeSanitizer.__proto__), + validator: dart.fieldType(html$.NodeValidator), + numTreeModifications: dart.fieldType(core.int) +})); +html$.promiseToFutureAsMap = function promiseToFutureAsMap(jsPromise) { + return js_util.promiseToFuture(dart.dynamic, core.Object.as(jsPromise)).then(T$0.MapNOfString$dynamic(), C[415] || CT.C415); +}; +html$._matchesWithAncestors = function _matchesWithAncestors(event, selector) { + if (event == null) dart.nullFailed(I[147], 37189, 34, "event"); + if (selector == null) dart.nullFailed(I[147], 37189, 48, "selector"); + let target = event[S.$target]; + return html$.Element.is(target) ? target[S.$matchesWithAncestors](selector) : false; +}; +html$._convertNativeToDart_Window = function _convertNativeToDart_Window(win) { + if (win == null) return null; + return html$._DOMWindowCrossFrame._createSafe(win); +}; +html$._convertNativeToDart_EventTarget = function _convertNativeToDart_EventTarget(e) { + if (e == null) { + return null; + } + if ("postMessage" in e) { + let window = html$._DOMWindowCrossFrame._createSafe(e); + if (html$.EventTarget.is(window)) { + return window; + } + return null; + } else + return T$0.EventTargetN().as(e); +}; +html$._convertDartToNative_EventTarget = function _convertDartToNative_EventTarget(e) { + if (html$._DOMWindowCrossFrame.is(e)) { + return T$0.EventTargetN().as(e[S$3._window]); + } else { + return T$0.EventTargetN().as(e); + } +}; +html$._convertNativeToDart_XHR_Response = function _convertNativeToDart_XHR_Response(o) { + if (html$.Document.is(o)) { + return o; + } + return html_common.convertNativeToDart_SerializedScriptValue(o); +}; +html$._callConstructor = function _callConstructor(constructor, interceptor) { + return dart.fn(receiver => { + _js_helper.setNativeSubclassDispatchRecord(receiver, interceptor); + receiver.constructor = receiver.__proto__.constructor; + return constructor(receiver); + }, T$.dynamicToObjectN()); +}; +html$._callAttached = function _callAttached(receiver) { + return dart.dsend(receiver, 'attached', []); +}; +html$._callDetached = function _callDetached(receiver) { + return dart.dsend(receiver, 'detached', []); +}; +html$._callAttributeChanged = function _callAttributeChanged(receiver, name, oldValue, newValue) { + return dart.dsend(receiver, 'attributeChanged', [name, oldValue, newValue]); +}; +html$._makeCallbackMethod = function _makeCallbackMethod(callback) { + return (function(invokeCallback) { + return function() { + return invokeCallback(this); + }; + })(_js_helper.convertDartClosureToJS(dart.dynamic, callback, 1)); +}; +html$._makeCallbackMethod3 = function _makeCallbackMethod3(callback) { + return (function(invokeCallback) { + return function(arg1, arg2, arg3) { + return invokeCallback(this, arg1, arg2, arg3); + }; + })(_js_helper.convertDartClosureToJS(dart.dynamic, callback, 4)); +}; +html$._checkExtendsNativeClassOrTemplate = function _checkExtendsNativeClassOrTemplate(element, extendsTag, baseClassName) { + if (element == null) dart.nullFailed(I[147], 40134, 13, "element"); + if (extendsTag == null) dart.nullFailed(I[147], 40134, 29, "extendsTag"); + if (baseClassName == null) dart.nullFailed(I[147], 40134, 48, "baseClassName"); + if (!(element instanceof window[baseClassName]) && !(extendsTag === "template" && element instanceof window.HTMLUnknownElement)) { + dart.throw(new core.UnsupportedError.new("extendsTag does not match base native class")); + } +}; +html$._registerCustomElement = function _registerCustomElement(context, document, tag, options = null) { + if (tag == null) dart.nullFailed(I[147], 40143, 59, "tag"); + let extendsTagName = ""; + let type = null; + if (options != null) { + extendsTagName = T$.StringN().as(options[$_get]("extends")); + type = T$0.TypeN().as(options[$_get]("prototype")); + } + let interceptorClass = _interceptors.findInterceptorConstructorForType(type); + if (interceptorClass == null) { + dart.throw(new core.ArgumentError.new(type)); + } + let interceptor = interceptorClass.prototype; + let constructor = _interceptors.findConstructorForNativeSubclassType(type, "created"); + if (constructor == null) { + dart.throw(new core.ArgumentError.new(dart.str(type) + " has no constructor called 'created'")); + } + _interceptors.getNativeInterceptor(html$.Element.tag("article")); + let baseClassName = core.String.as(_js_helper.findDispatchTagForInterceptorClass(interceptorClass)); + if (baseClassName == null) { + dart.throw(new core.ArgumentError.new(type)); + } + if (extendsTagName == null) { + if (baseClassName !== "HTMLElement") { + dart.throw(new core.UnsupportedError.new("Class must provide extendsTag if base " + "native class is not HtmlElement")); + } + } else { + let element = dart.dsend(document, 'createElement', [extendsTagName]); + html$._checkExtendsNativeClassOrTemplate(html$.Element.as(element), extendsTagName, baseClassName); + } + let baseConstructor = context[baseClassName]; + let properties = {}; + properties.createdCallback = {value: html$._makeCallbackMethod(html$._callConstructor(constructor, interceptor))}; + properties.attachedCallback = {value: html$._makeCallbackMethod(html$._callAttached)}; + properties.detachedCallback = {value: html$._makeCallbackMethod(html$._callDetached)}; + properties.attributeChangedCallback = {value: html$._makeCallbackMethod3(html$._callAttributeChanged)}; + let baseProto = baseConstructor.prototype; + let proto = Object.create(baseProto, properties); + _js_helper.setNativeSubclassDispatchRecord(proto, interceptor); + let opts = {prototype: proto}; + if (extendsTagName != null) { + opts.extends = extendsTagName; + } + return document.registerElement(tag, opts); +}; +html$._initializeCustomElement = function _initializeCustomElement(e) { + if (e == null) dart.nullFailed(I[147], 40229, 39, "e"); +}; +html$._wrapZone = function _wrapZone(T, callback) { + if (dart.equals(async.Zone.current, async.Zone.root)) return callback; + if (callback == null) return null; + return async.Zone.current.bindUnaryCallbackGuarded(T, callback); +}; +html$._wrapBinaryZone = function _wrapBinaryZone(T1, T2, callback) { + if (dart.equals(async.Zone.current, async.Zone.root)) return callback; + if (callback == null) return null; + return async.Zone.current.bindBinaryCallbackGuarded(T1, T2, callback); +}; +html$.querySelector = function querySelector(selectors) { + if (selectors == null) dart.nullFailed(I[147], 40810, 31, "selectors"); + return html$.document.querySelector(selectors); +}; +html$.querySelectorAll = function querySelectorAll(T, selectors) { + if (selectors == null) dart.nullFailed(I[147], 40828, 59, "selectors"); + return html$.document[S.$querySelectorAll](T, selectors); +}; +dart.copyProperties(html$, { + get window() { + return window; + }, + get document() { + return document; + }, + get _workerSelf() { + return self; + } +}); +dart.defineLazy(html$, { + /*html$._HEIGHT*/get _HEIGHT() { + return T$.JSArrayOfString().of(["top", "bottom"]); + }, + /*html$._WIDTH*/get _WIDTH() { + return T$.JSArrayOfString().of(["right", "left"]); + }, + /*html$._CONTENT*/get _CONTENT() { + return "content"; + }, + /*html$._PADDING*/get _PADDING() { + return "padding"; + }, + /*html$._MARGIN*/get _MARGIN() { + return "margin"; + } +}, false); +html_common._StructuredClone = class _StructuredClone extends core.Object { + findSlot(value) { + let length = this.values[$length]; + for (let i = 0; i < dart.notNull(length); i = i + 1) { + if (core.identical(this.values[$_get](i), value)) return i; + } + this.values[$add](value); + this.copies[$add](null); + return length; + } + readSlot(i) { + if (i == null) dart.nullFailed(I[151], 72, 16, "i"); + return this.copies[$_get](i); + } + writeSlot(i, x) { + if (i == null) dart.nullFailed(I[151], 73, 17, "i"); + this.copies[$_set](i, x); + } + cleanupSlots() { + } + walk(e) { + if (e == null) return e; + if (typeof e == 'boolean') return e; + if (typeof e == 'number') return e; + if (typeof e == 'string') return e; + if (core.DateTime.is(e)) { + return html_common.convertDartToNative_DateTime(e); + } + if (core.RegExp.is(e)) { + dart.throw(new core.UnimplementedError.new("structured clone of RegExp")); + } + if (html$.File.is(e)) return e; + if (html$.Blob.is(e)) return e; + if (html$.FileList.is(e)) return e; + if (html$.ImageData.is(e)) return e; + if (dart.test(this.cloneNotRequired(e))) return e; + if (core.Map.is(e)) { + let slot = this.findSlot(e); + let copy = this.readSlot(slot); + if (copy != null) return copy; + copy = this.newJsMap(); + this.writeSlot(slot, copy); + e[$forEach](dart.fn((key, value) => { + this.putIntoMap(copy, key, this.walk(value)); + }, T$.dynamicAnddynamicTovoid())); + return copy; + } + if (core.List.is(e)) { + let slot = this.findSlot(e); + let copy = this.readSlot(slot); + if (copy != null) return copy; + copy = this.copyList(e, slot); + return copy; + } + if (_interceptors.JSObject.is(e)) { + let slot = this.findSlot(e); + let copy = this.readSlot(slot); + if (copy != null) return copy; + copy = this.newJsObject(); + this.writeSlot(slot, copy); + this.forEachObjectKey(e, dart.fn((key, value) => { + this.putIntoObject(copy, key, this.walk(value)); + }, T$.dynamicAnddynamicToNull())); + return copy; + } + dart.throw(new core.UnimplementedError.new("structured clone of other type")); + } + copyList(e, slot) { + if (e == null) dart.nullFailed(I[151], 156, 22, "e"); + if (slot == null) dart.nullFailed(I[151], 156, 29, "slot"); + let i = 0; + let length = e[$length]; + let copy = this.newJsList(length); + this.writeSlot(slot, copy); + for (; i < dart.notNull(length); i = i + 1) { + copy[$_set](i, this.walk(e[$_get](i))); + } + return copy; + } + convertDartToNative_PrepareForStructuredClone(value) { + let copy = this.walk(value); + this.cleanupSlots(); + return copy; + } +}; +(html_common._StructuredClone.new = function() { + this.values = []; + this.copies = []; + ; +}).prototype = html_common._StructuredClone.prototype; +dart.addTypeTests(html_common._StructuredClone); +dart.addTypeCaches(html_common._StructuredClone); +dart.setMethodSignature(html_common._StructuredClone, () => ({ + __proto__: dart.getMethods(html_common._StructuredClone.__proto__), + findSlot: dart.fnType(core.int, [dart.dynamic]), + readSlot: dart.fnType(dart.dynamic, [core.int]), + writeSlot: dart.fnType(dart.dynamic, [core.int, dart.dynamic]), + cleanupSlots: dart.fnType(dart.dynamic, []), + walk: dart.fnType(dart.dynamic, [dart.dynamic]), + copyList: dart.fnType(core.List, [core.List, core.int]), + convertDartToNative_PrepareForStructuredClone: dart.fnType(dart.dynamic, [dart.dynamic]) +})); +dart.setLibraryUri(html_common._StructuredClone, I[150]); +dart.setFieldSignature(html_common._StructuredClone, () => ({ + __proto__: dart.getFields(html_common._StructuredClone.__proto__), + values: dart.fieldType(core.List), + copies: dart.fieldType(core.List) +})); +html_common._AcceptStructuredClone = class _AcceptStructuredClone extends core.Object { + findSlot(value) { + let length = this.values[$length]; + for (let i = 0; i < dart.notNull(length); i = i + 1) { + if (dart.test(this.identicalInJs(this.values[$_get](i), value))) return i; + } + this.values[$add](value); + this.copies[$add](null); + return length; + } + readSlot(i) { + if (i == null) dart.nullFailed(I[151], 211, 16, "i"); + return this.copies[$_get](i); + } + writeSlot(i, x) { + if (i == null) dart.nullFailed(I[151], 212, 17, "i"); + this.copies[$_set](i, x); + } + walk(e) { + if (e == null) return e; + if (typeof e == 'boolean') return e; + if (typeof e == 'number') return e; + if (typeof e == 'string') return e; + if (dart.test(html_common.isJavaScriptDate(e))) { + return html_common.convertNativeToDart_DateTime(e); + } + if (dart.test(html_common.isJavaScriptRegExp(e))) { + dart.throw(new core.UnimplementedError.new("structured clone of RegExp")); + } + if (dart.test(html_common.isJavaScriptPromise(e))) { + return js_util.promiseToFuture(dart.dynamic, core.Object.as(e)); + } + if (dart.test(html_common.isJavaScriptSimpleObject(e))) { + let slot = this.findSlot(e); + let copy = this.readSlot(slot); + if (copy != null) return copy; + copy = new _js_helper.LinkedMap.new(); + this.writeSlot(slot, copy); + this.forEachJsField(e, dart.fn((key, value) => { + let t248, t247, t246; + t246 = copy; + t247 = key; + t248 = this.walk(value); + dart.dsend(t246, '_set', [t247, t248]); + return t248; + }, T$0.dynamicAnddynamicTodynamic())); + return copy; + } + if (dart.test(html_common.isJavaScriptArray(e))) { + let l = e; + let slot = this.findSlot(l); + let copy = this.readSlot(slot); + if (copy != null) return copy; + let length = l[$length]; + copy = dart.test(this.mustCopy) ? this.newDartList(length) : l; + this.writeSlot(slot, copy); + for (let i = 0; i < dart.notNull(length); i = i + 1) { + copy[$_set](i, this.walk(l[$_get](i))); + } + return copy; + } + return e; + } + convertNativeToDart_AcceptStructuredClone(object, opts) { + let mustCopy = opts && 'mustCopy' in opts ? opts.mustCopy : false; + this.mustCopy = core.bool.as(mustCopy); + let copy = this.walk(object); + return copy; + } +}; +(html_common._AcceptStructuredClone.new = function() { + this.values = []; + this.copies = []; + this.mustCopy = false; + ; +}).prototype = html_common._AcceptStructuredClone.prototype; +dart.addTypeTests(html_common._AcceptStructuredClone); +dart.addTypeCaches(html_common._AcceptStructuredClone); +dart.setMethodSignature(html_common._AcceptStructuredClone, () => ({ + __proto__: dart.getMethods(html_common._AcceptStructuredClone.__proto__), + findSlot: dart.fnType(core.int, [dart.dynamic]), + readSlot: dart.fnType(dart.dynamic, [core.int]), + writeSlot: dart.fnType(dart.dynamic, [core.int, dart.dynamic]), + walk: dart.fnType(dart.dynamic, [dart.dynamic]), + convertNativeToDart_AcceptStructuredClone: dart.fnType(dart.dynamic, [dart.dynamic], {mustCopy: dart.dynamic}, {}) +})); +dart.setLibraryUri(html_common._AcceptStructuredClone, I[150]); +dart.setFieldSignature(html_common._AcceptStructuredClone, () => ({ + __proto__: dart.getFields(html_common._AcceptStructuredClone.__proto__), + values: dart.fieldType(core.List), + copies: dart.fieldType(core.List), + mustCopy: dart.fieldType(core.bool) +})); +html_common.ContextAttributes = class ContextAttributes extends core.Object { + get alpha() { + return this[S$3.alpha]; + } + set alpha(value) { + this[S$3.alpha] = value; + } + get antialias() { + return this[S$3.antialias]; + } + set antialias(value) { + this[S$3.antialias] = value; + } + get depth() { + return this[S$3.depth]; + } + set depth(value) { + this[S$3.depth] = value; + } + get premultipliedAlpha() { + return this[S$3.premultipliedAlpha]; + } + set premultipliedAlpha(value) { + this[S$3.premultipliedAlpha] = value; + } + get preserveDrawingBuffer() { + return this[S$3.preserveDrawingBuffer]; + } + set preserveDrawingBuffer(value) { + this[S$3.preserveDrawingBuffer] = value; + } + get stencil() { + return this[S$3.stencil]; + } + set stencil(value) { + this[S$3.stencil] = value; + } + get failIfMajorPerformanceCaveat() { + return this[S$3.failIfMajorPerformanceCaveat]; + } + set failIfMajorPerformanceCaveat(value) { + this[S$3.failIfMajorPerformanceCaveat] = value; + } +}; +(html_common.ContextAttributes.new = function(alpha, antialias, depth, failIfMajorPerformanceCaveat, premultipliedAlpha, preserveDrawingBuffer, stencil) { + if (alpha == null) dart.nullFailed(I[151], 298, 12, "alpha"); + if (antialias == null) dart.nullFailed(I[151], 299, 12, "antialias"); + if (depth == null) dart.nullFailed(I[151], 300, 12, "depth"); + if (failIfMajorPerformanceCaveat == null) dart.nullFailed(I[151], 301, 12, "failIfMajorPerformanceCaveat"); + if (premultipliedAlpha == null) dart.nullFailed(I[151], 302, 12, "premultipliedAlpha"); + if (preserveDrawingBuffer == null) dart.nullFailed(I[151], 303, 12, "preserveDrawingBuffer"); + if (stencil == null) dart.nullFailed(I[151], 304, 12, "stencil"); + this[S$3.alpha] = alpha; + this[S$3.antialias] = antialias; + this[S$3.depth] = depth; + this[S$3.failIfMajorPerformanceCaveat] = failIfMajorPerformanceCaveat; + this[S$3.premultipliedAlpha] = premultipliedAlpha; + this[S$3.preserveDrawingBuffer] = preserveDrawingBuffer; + this[S$3.stencil] = stencil; + ; +}).prototype = html_common.ContextAttributes.prototype; +dart.addTypeTests(html_common.ContextAttributes); +dart.addTypeCaches(html_common.ContextAttributes); +dart.setLibraryUri(html_common.ContextAttributes, I[150]); +dart.setFieldSignature(html_common.ContextAttributes, () => ({ + __proto__: dart.getFields(html_common.ContextAttributes.__proto__), + alpha: dart.fieldType(core.bool), + antialias: dart.fieldType(core.bool), + depth: dart.fieldType(core.bool), + premultipliedAlpha: dart.fieldType(core.bool), + preserveDrawingBuffer: dart.fieldType(core.bool), + stencil: dart.fieldType(core.bool), + failIfMajorPerformanceCaveat: dart.fieldType(core.bool) +})); +html_common._TypedImageData = class _TypedImageData extends core.Object { + get data() { + return this[S$3.data$1]; + } + set data(value) { + super.data = value; + } + get height() { + return this[S$3.height$1]; + } + set height(value) { + super.height = value; + } + get width() { + return this[S$3.width$1]; + } + set width(value) { + super.width = value; + } +}; +(html_common._TypedImageData.new = function(data, height, width) { + if (data == null) dart.nullFailed(I[151], 330, 24, "data"); + if (height == null) dart.nullFailed(I[151], 330, 35, "height"); + if (width == null) dart.nullFailed(I[151], 330, 48, "width"); + this[S$3.data$1] = data; + this[S$3.height$1] = height; + this[S$3.width$1] = width; + ; +}).prototype = html_common._TypedImageData.prototype; +dart.addTypeTests(html_common._TypedImageData); +dart.addTypeCaches(html_common._TypedImageData); +html_common._TypedImageData[dart.implements] = () => [html$.ImageData]; +dart.setLibraryUri(html_common._TypedImageData, I[150]); +dart.setFieldSignature(html_common._TypedImageData, () => ({ + __proto__: dart.getFields(html_common._TypedImageData.__proto__), + data: dart.finalFieldType(typed_data.Uint8ClampedList), + height: dart.finalFieldType(core.int), + width: dart.finalFieldType(core.int) +})); +dart.defineExtensionAccessors(html_common._TypedImageData, ['data', 'height', 'width']); +html_common._StructuredCloneDart2Js = class _StructuredCloneDart2Js extends html_common._StructuredClone { + newJsObject() { + return {}; + } + forEachObjectKey(object, action) { + if (action == null) dart.nullFailed(I[152], 81, 33, "action"); + for (let key of Object.keys(object)) { + action(key, object[key]); + } + } + putIntoObject(object, key, value) { + return object[key] = value; + } + newJsMap() { + return {}; + } + putIntoMap(map, key, value) { + return map[key] = value; + } + newJsList(length) { + return new Array(length); + } + cloneNotRequired(e) { + return _native_typed_data.NativeByteBuffer.is(e) || _native_typed_data.NativeTypedData.is(e) || html$.MessagePort.is(e); + } +}; +(html_common._StructuredCloneDart2Js.new = function() { + html_common._StructuredCloneDart2Js.__proto__.new.call(this); + ; +}).prototype = html_common._StructuredCloneDart2Js.prototype; +dart.addTypeTests(html_common._StructuredCloneDart2Js); +dart.addTypeCaches(html_common._StructuredCloneDart2Js); +dart.setMethodSignature(html_common._StructuredCloneDart2Js, () => ({ + __proto__: dart.getMethods(html_common._StructuredCloneDart2Js.__proto__), + newJsObject: dart.fnType(_interceptors.JSObject, []), + forEachObjectKey: dart.fnType(dart.void, [dart.dynamic, dart.fnType(dart.dynamic, [dart.dynamic, dart.dynamic])]), + putIntoObject: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic]), + newJsMap: dart.fnType(dart.dynamic, []), + putIntoMap: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic]), + newJsList: dart.fnType(core.List, [dart.dynamic]), + cloneNotRequired: dart.fnType(core.bool, [dart.dynamic]) +})); +dart.setLibraryUri(html_common._StructuredCloneDart2Js, I[150]); +html_common._AcceptStructuredCloneDart2Js = class _AcceptStructuredCloneDart2Js extends html_common._AcceptStructuredClone { + newJsList(length) { + return new Array(length); + } + newDartList(length) { + return this.newJsList(length); + } + identicalInJs(a, b) { + return core.identical(a, b); + } + forEachJsField(object, action) { + if (action == null) dart.nullFailed(I[152], 103, 31, "action"); + for (let key of Object.keys(object)) { + action(key, object[key]); + } + } +}; +(html_common._AcceptStructuredCloneDart2Js.new = function() { + html_common._AcceptStructuredCloneDart2Js.__proto__.new.call(this); + ; +}).prototype = html_common._AcceptStructuredCloneDart2Js.prototype; +dart.addTypeTests(html_common._AcceptStructuredCloneDart2Js); +dart.addTypeCaches(html_common._AcceptStructuredCloneDart2Js); +dart.setMethodSignature(html_common._AcceptStructuredCloneDart2Js, () => ({ + __proto__: dart.getMethods(html_common._AcceptStructuredCloneDart2Js.__proto__), + newJsList: dart.fnType(core.List, [dart.dynamic]), + newDartList: dart.fnType(core.List, [dart.dynamic]), + identicalInJs: dart.fnType(core.bool, [dart.dynamic, dart.dynamic]), + forEachJsField: dart.fnType(dart.void, [dart.dynamic, dart.fnType(dart.dynamic, [dart.dynamic, dart.dynamic])]) +})); +dart.setLibraryUri(html_common._AcceptStructuredCloneDart2Js, I[150]); +html_common.Device = class Device extends core.Object { + static get userAgent() { + return html$.window.navigator.userAgent; + } + static isEventTypeSupported(eventType) { + if (eventType == null) dart.nullFailed(I[153], 52, 43, "eventType"); + try { + let e = html$.Event.eventType(eventType, ""); + return html$.Event.is(e); + } catch (e$) { + let _ = dart.getThrown(e$); + if (core.Object.is(_)) { + } else + throw e$; + } + return false; + } +}; +(html_common.Device.new = function() { + ; +}).prototype = html_common.Device.prototype; +dart.addTypeTests(html_common.Device); +dart.addTypeCaches(html_common.Device); +dart.setLibraryUri(html_common.Device, I[150]); +dart.defineLazy(html_common.Device, { + /*html_common.Device.isOpera*/get isOpera() { + return html_common.Device.userAgent[$contains]("Opera", 0); + }, + /*html_common.Device.isIE*/get isIE() { + return !dart.test(html_common.Device.isOpera) && html_common.Device.userAgent[$contains]("Trident/", 0); + }, + /*html_common.Device.isFirefox*/get isFirefox() { + return html_common.Device.userAgent[$contains]("Firefox", 0); + }, + /*html_common.Device.isWebKit*/get isWebKit() { + return !dart.test(html_common.Device.isOpera) && html_common.Device.userAgent[$contains]("WebKit", 0); + }, + /*html_common.Device.cssPrefix*/get cssPrefix() { + return "-" + dart.str(html_common.Device.propertyPrefix) + "-"; + }, + /*html_common.Device.propertyPrefix*/get propertyPrefix() { + return dart.test(html_common.Device.isFirefox) ? "moz" : dart.test(html_common.Device.isIE) ? "ms" : dart.test(html_common.Device.isOpera) ? "o" : "webkit"; + } +}, false); +html_common.FilteredElementList = class FilteredElementList extends collection.ListBase$(html$.Element) { + get [S$3._iterable$2]() { + return this[S$3._childNodes][$where](dart.fn(n => { + if (n == null) dart.nullFailed(I[154], 30, 26, "n"); + return html$.Element.is(n); + }, T$0.NodeTobool()))[$map](html$.Element, dart.fn(n => { + if (n == null) dart.nullFailed(I[154], 30, 60, "n"); + return html$.Element.as(n); + }, T$0.NodeToElement())); + } + get [S$3._filtered]() { + return T$0.ListOfElement().from(this[S$3._iterable$2], {growable: false}); + } + forEach(f) { + if (f == null) dart.nullFailed(I[154], 34, 21, "f"); + this[S$3._filtered][$forEach](f); + } + _set(index, value$) { + let value = value$; + if (index == null) dart.nullFailed(I[154], 40, 25, "index"); + html$.Element.as(value); + if (value == null) dart.nullFailed(I[154], 40, 40, "value"); + this._get(index)[S$.$replaceWith](value); + return value$; + } + set length(newLength) { + if (newLength == null) dart.nullFailed(I[154], 44, 18, "newLength"); + let len = this.length; + if (dart.notNull(newLength) >= dart.notNull(len)) { + return; + } else if (dart.notNull(newLength) < 0) { + dart.throw(new core.ArgumentError.new("Invalid list length")); + } + this.removeRange(newLength, len); + } + add(value) { + html$.Element.as(value); + if (value == null) dart.nullFailed(I[154], 55, 20, "value"); + this[S$3._childNodes][$add](value); + } + addAll(iterable) { + T$0.IterableOfElement().as(iterable); + if (iterable == null) dart.nullFailed(I[154], 59, 33, "iterable"); + for (let element of iterable) { + this.add(element); + } + } + contains(needle) { + if (!html$.Element.is(needle)) return false; + let element = needle; + return dart.equals(element.parentNode, this[S$3._node]); + } + get reversed() { + return this[S$3._filtered][$reversed]; + } + sort(compare = null) { + dart.throw(new core.UnsupportedError.new("Cannot sort filtered list")); + } + setRange(start, end, iterable, skipCount = 0) { + if (start == null) dart.nullFailed(I[154], 77, 21, "start"); + if (end == null) dart.nullFailed(I[154], 77, 32, "end"); + T$0.IterableOfElement().as(iterable); + if (iterable == null) dart.nullFailed(I[154], 77, 55, "iterable"); + if (skipCount == null) dart.nullFailed(I[154], 78, 12, "skipCount"); + dart.throw(new core.UnsupportedError.new("Cannot setRange on filtered list")); + } + fillRange(start, end, fillValue = null) { + if (start == null) dart.nullFailed(I[154], 82, 22, "start"); + if (end == null) dart.nullFailed(I[154], 82, 33, "end"); + T$0.ElementN().as(fillValue); + dart.throw(new core.UnsupportedError.new("Cannot fillRange on filtered list")); + } + replaceRange(start, end, iterable) { + if (start == null) dart.nullFailed(I[154], 86, 25, "start"); + if (end == null) dart.nullFailed(I[154], 86, 36, "end"); + T$0.IterableOfElement().as(iterable); + if (iterable == null) dart.nullFailed(I[154], 86, 59, "iterable"); + dart.throw(new core.UnsupportedError.new("Cannot replaceRange on filtered list")); + } + removeRange(start, end) { + if (start == null) dart.nullFailed(I[154], 90, 24, "start"); + if (end == null) dart.nullFailed(I[154], 90, 35, "end"); + core.List.from(this[S$3._iterable$2][$skip](start)[$take](dart.notNull(end) - dart.notNull(start)))[$forEach](dart.fn(el => dart.dsend(el, 'remove', []), T$.dynamicTovoid())); + } + clear() { + this[S$3._childNodes][$clear](); + } + removeLast() { + let result = this[S$3._iterable$2][$last]; + if (result != null) { + result[$remove](); + } + return result; + } + insert(index, value) { + if (index == null) dart.nullFailed(I[154], 109, 19, "index"); + html$.Element.as(value); + if (value == null) dart.nullFailed(I[154], 109, 34, "value"); + if (index == this.length) { + this.add(value); + } else { + let element = this[S$3._iterable$2][$elementAt](index); + dart.nullCheck(element.parentNode).insertBefore(value, element); + } + } + insertAll(index, iterable) { + if (index == null) dart.nullFailed(I[154], 118, 22, "index"); + T$0.IterableOfElement().as(iterable); + if (iterable == null) dart.nullFailed(I[154], 118, 47, "iterable"); + if (index == this.length) { + this.addAll(iterable); + } else { + let element = this[S$3._iterable$2][$elementAt](index); + dart.nullCheck(element.parentNode)[S$.$insertAllBefore](iterable, element); + } + } + removeAt(index) { + if (index == null) dart.nullFailed(I[154], 127, 24, "index"); + let result = this._get(index); + result[$remove](); + return result; + } + remove(element) { + if (!html$.Element.is(element)) return false; + if (dart.test(this.contains(element))) { + element[$remove](); + return true; + } else { + return false; + } + } + get length() { + return this[S$3._iterable$2][$length]; + } + _get(index) { + if (index == null) dart.nullFailed(I[154], 144, 27, "index"); + return this[S$3._iterable$2][$elementAt](index); + } + get iterator() { + return this[S$3._filtered][$iterator]; + } + get rawList() { + return this[S$3._node].childNodes; + } +}; +(html_common.FilteredElementList.new = function(node) { + if (node == null) dart.nullFailed(I[154], 23, 28, "node"); + this[S$3._childNodes] = node[S.$nodes]; + this[S$3._node] = node; + ; +}).prototype = html_common.FilteredElementList.prototype; +dart.addTypeTests(html_common.FilteredElementList); +dart.addTypeCaches(html_common.FilteredElementList); +html_common.FilteredElementList[dart.implements] = () => [html_common.NodeListWrapper]; +dart.setMethodSignature(html_common.FilteredElementList, () => ({ + __proto__: dart.getMethods(html_common.FilteredElementList.__proto__), + _set: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), + [$_set]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), + _get: dart.fnType(html$.Element, [core.int]), + [$_get]: dart.fnType(html$.Element, [core.int]) +})); +dart.setGetterSignature(html_common.FilteredElementList, () => ({ + __proto__: dart.getGetters(html_common.FilteredElementList.__proto__), + [S$3._iterable$2]: core.Iterable$(html$.Element), + [S$3._filtered]: core.List$(html$.Element), + length: core.int, + [$length]: core.int, + rawList: core.List$(html$.Node) +})); +dart.setSetterSignature(html_common.FilteredElementList, () => ({ + __proto__: dart.getSetters(html_common.FilteredElementList.__proto__), + length: core.int, + [$length]: core.int +})); +dart.setLibraryUri(html_common.FilteredElementList, I[150]); +dart.setFieldSignature(html_common.FilteredElementList, () => ({ + __proto__: dart.getFields(html_common.FilteredElementList.__proto__), + [S$3._node]: dart.finalFieldType(html$.Node), + [S$3._childNodes]: dart.finalFieldType(core.List$(html$.Node)) +})); +dart.defineExtensionMethods(html_common.FilteredElementList, [ + 'forEach', + '_set', + 'add', + 'addAll', + 'contains', + 'sort', + 'setRange', + 'fillRange', + 'replaceRange', + 'removeRange', + 'clear', + 'removeLast', + 'insert', + 'insertAll', + 'removeAt', + 'remove', + '_get' +]); +dart.defineExtensionAccessors(html_common.FilteredElementList, ['length', 'reversed', 'iterator']); +html_common.Lists = class Lists extends core.Object { + static indexOf(a, element, startIndex, endIndex) { + if (a == null) dart.nullFailed(I[155], 13, 27, "a"); + if (element == null) dart.nullFailed(I[155], 13, 37, "element"); + if (startIndex == null) dart.nullFailed(I[155], 13, 50, "startIndex"); + if (endIndex == null) dart.nullFailed(I[155], 13, 66, "endIndex"); + if (dart.notNull(startIndex) >= dart.notNull(a[$length])) { + return -1; + } + if (dart.notNull(startIndex) < 0) { + startIndex = 0; + } + for (let i = startIndex; dart.notNull(i) < dart.notNull(endIndex); i = dart.notNull(i) + 1) { + if (dart.equals(a[$_get](i), element)) { + return i; + } + } + return -1; + } + static lastIndexOf(a, element, startIndex) { + if (a == null) dart.nullFailed(I[155], 33, 31, "a"); + if (element == null) dart.nullFailed(I[155], 33, 41, "element"); + if (startIndex == null) dart.nullFailed(I[155], 33, 54, "startIndex"); + if (dart.notNull(startIndex) < 0) { + return -1; + } + if (dart.notNull(startIndex) >= dart.notNull(a[$length])) { + startIndex = dart.notNull(a[$length]) - 1; + } + for (let i = startIndex; dart.notNull(i) >= 0; i = dart.notNull(i) - 1) { + if (dart.equals(a[$_get](i), element)) { + return i; + } + } + return -1; + } + static getRange(a, start, end, accumulator) { + if (a == null) dart.nullFailed(I[155], 55, 29, "a"); + if (start == null) dart.nullFailed(I[155], 55, 36, "start"); + if (end == null) dart.nullFailed(I[155], 55, 47, "end"); + if (accumulator == null) dart.nullFailed(I[155], 55, 57, "accumulator"); + if (dart.notNull(start) < 0) dart.throw(new core.RangeError.value(start)); + if (dart.notNull(end) < dart.notNull(start)) dart.throw(new core.RangeError.value(end)); + if (dart.notNull(end) > dart.notNull(a[$length])) dart.throw(new core.RangeError.value(end)); + for (let i = start; dart.notNull(i) < dart.notNull(end); i = dart.notNull(i) + 1) { + accumulator[$add](a[$_get](i)); + } + return accumulator; + } +}; +(html_common.Lists.new = function() { + ; +}).prototype = html_common.Lists.prototype; +dart.addTypeTests(html_common.Lists); +dart.addTypeCaches(html_common.Lists); +dart.setLibraryUri(html_common.Lists, I[150]); +html_common.NodeListWrapper = class NodeListWrapper extends core.Object {}; +(html_common.NodeListWrapper.new = function() { + ; +}).prototype = html_common.NodeListWrapper.prototype; +dart.addTypeTests(html_common.NodeListWrapper); +dart.addTypeCaches(html_common.NodeListWrapper); +dart.setLibraryUri(html_common.NodeListWrapper, I[150]); +html_common.convertDartToNative_SerializedScriptValue = function convertDartToNative_SerializedScriptValue(value) { + return html_common.convertDartToNative_PrepareForStructuredClone(value); +}; +html_common.convertNativeToDart_SerializedScriptValue = function convertNativeToDart_SerializedScriptValue(object) { + return html_common.convertNativeToDart_AcceptStructuredClone(object, {mustCopy: true}); +}; +html_common.convertNativeToDart_ContextAttributes = function convertNativeToDart_ContextAttributes(nativeContextAttributes) { + return new html_common.ContextAttributes.new(nativeContextAttributes.alpha, nativeContextAttributes.antialias, nativeContextAttributes.depth, nativeContextAttributes.failIfMajorPerformanceCaveat, nativeContextAttributes.premultipliedAlpha, nativeContextAttributes.preserveDrawingBuffer, nativeContextAttributes.stencil); +}; +html_common.convertNativeToDart_ImageData = function convertNativeToDart_ImageData(nativeImageData) { + 0; + if (html$.ImageData.is(nativeImageData)) { + let data = nativeImageData.data; + if (data.constructor === Array) { + if (typeof CanvasPixelArray !== "undefined") { + data.constructor = CanvasPixelArray; + data.BYTES_PER_ELEMENT = 1; + } + } + return nativeImageData; + } + return new html_common._TypedImageData.new(nativeImageData.data, nativeImageData.height, nativeImageData.width); +}; +html_common.convertDartToNative_ImageData = function convertDartToNative_ImageData(imageData) { + if (imageData == null) dart.nullFailed(I[151], 369, 41, "imageData"); + if (html_common._TypedImageData.is(imageData)) { + return {data: imageData.data, height: imageData.height, width: imageData.width}; + } + return imageData; +}; +html_common.convertNativeToDart_Dictionary = function convertNativeToDart_Dictionary(object) { + if (object == null) return null; + let dict = new (T$0.IdentityMapOfString$dynamic()).new(); + let keys = Object.getOwnPropertyNames(object); + for (let key of keys) { + dict[$_set](core.String.as(key), object[key]); + } + return dict; +}; +html_common._convertDartToNative_Value = function _convertDartToNative_Value(value) { + if (value == null) return value; + if (typeof value == 'string' || typeof value == 'number' || typeof value == 'boolean') return value; + if (core.Map.is(value)) return html_common.convertDartToNative_Dictionary(value); + if (core.List.is(value)) { + let array = []; + value[$forEach](dart.fn(element => { + array.push(html_common._convertDartToNative_Value(element)); + }, T$.dynamicTovoid())); + value = array; + } + return value; +}; +html_common.convertDartToNative_Dictionary = function convertDartToNative_Dictionary(dict, postCreate = null) { + if (dict == null) return null; + let object = {}; + if (postCreate != null) { + postCreate(object); + } + dict[$forEach](dart.fn((key, value) => { + object[key] = html_common._convertDartToNative_Value(value); + }, T$.dynamicAnddynamicTovoid())); + return object; +}; +html_common.convertDartToNative_StringArray = function convertDartToNative_StringArray(input) { + if (input == null) dart.nullFailed(I[152], 56, 51, "input"); + return input; +}; +html_common.convertNativeToDart_DateTime = function convertNativeToDart_DateTime(date) { + let millisSinceEpoch = date.getTime(); + return new core.DateTime.fromMillisecondsSinceEpoch(millisSinceEpoch, {isUtc: true}); +}; +html_common.convertDartToNative_DateTime = function convertDartToNative_DateTime(date) { + if (date == null) dart.nullFailed(I[152], 66, 39, "date"); + return new Date(date.millisecondsSinceEpoch); +}; +html_common.convertDartToNative_PrepareForStructuredClone = function convertDartToNative_PrepareForStructuredClone(value) { + return new html_common._StructuredCloneDart2Js.new().convertDartToNative_PrepareForStructuredClone(value); +}; +html_common.convertNativeToDart_AcceptStructuredClone = function convertNativeToDart_AcceptStructuredClone(object, opts) { + let mustCopy = opts && 'mustCopy' in opts ? opts.mustCopy : false; + return new html_common._AcceptStructuredCloneDart2Js.new().convertNativeToDart_AcceptStructuredClone(object, {mustCopy: mustCopy}); +}; +html_common.isJavaScriptDate = function isJavaScriptDate(value) { + return value instanceof Date; +}; +html_common.isJavaScriptRegExp = function isJavaScriptRegExp(value) { + return value instanceof RegExp; +}; +html_common.isJavaScriptArray = function isJavaScriptArray(value) { + return value instanceof Array; +}; +html_common.isJavaScriptSimpleObject = function isJavaScriptSimpleObject(value) { + let proto = Object.getPrototypeOf(value); + return proto === Object.prototype || proto === null; +}; +html_common.isImmutableJavaScriptArray = function isImmutableJavaScriptArray(value) { + return !!value.immutable$list; +}; +html_common.isJavaScriptPromise = function isJavaScriptPromise(value) { + return typeof Promise != "undefined" && value instanceof Promise; +}; +dart.defineLazy(html_common, { + /*html_common._serializedScriptValue*/get _serializedScriptValue() { + return "num|String|bool|JSExtendableArray|=Object|Blob|File|NativeByteBuffer|NativeTypedData|MessagePort"; + }, + /*html_common.annotation_Creates_SerializedScriptValue*/get annotation_Creates_SerializedScriptValue() { + return C[416] || CT.C416; + }, + /*html_common.annotation_Returns_SerializedScriptValue*/get annotation_Returns_SerializedScriptValue() { + return C[417] || CT.C417; + } +}, false); +svg$._SvgElementFactoryProvider = class _SvgElementFactoryProvider extends core.Object { + static createSvgElement_tag(tag) { + if (tag == null) dart.nullFailed(I[156], 30, 49, "tag"); + let temp = html$.document[S$1.$createElementNS]("http://www.w3.org/2000/svg", tag); + return svg$.SvgElement.as(temp); + } +}; +(svg$._SvgElementFactoryProvider.new = function() { + ; +}).prototype = svg$._SvgElementFactoryProvider.prototype; +dart.addTypeTests(svg$._SvgElementFactoryProvider); +dart.addTypeCaches(svg$._SvgElementFactoryProvider); +dart.setLibraryUri(svg$._SvgElementFactoryProvider, I[157]); +svg$.SvgElement = class SvgElement extends html$.Element { + static tag(tag) { + if (tag == null) dart.nullFailed(I[156], 2996, 33, "tag"); + return svg$.SvgElement.as(html$.document[S$1.$createElementNS]("http://www.w3.org/2000/svg", tag)); + } + static svg(svg, opts) { + let t247; + if (svg == null) dart.nullFailed(I[156], 2998, 33, "svg"); + let validator = opts && 'validator' in opts ? opts.validator : null; + let treeSanitizer = opts && 'treeSanitizer' in opts ? opts.treeSanitizer : null; + if (validator == null && treeSanitizer == null) { + validator = (t247 = new html$.NodeValidatorBuilder.common(), (() => { + t247.allowSvg(); + return t247; + })()); + } + let match = svg$.SvgElement._START_TAG_REGEXP.firstMatch(svg); + let parentElement = null; + if (match != null && dart.nullCheck(match.group(1))[$toLowerCase]() === "svg") { + parentElement = html$.document.body; + } else { + parentElement = svg$.SvgSvgElement.new(); + } + let fragment = dart.dsend(parentElement, 'createFragment', [svg], {validator: validator, treeSanitizer: treeSanitizer}); + return svg$.SvgElement.as(dart.dload(dart.dsend(dart.dload(fragment, 'nodes'), 'where', [dart.fn(e => svg$.SvgElement.is(e), T$0.dynamicTobool())]), 'single')); + } + get [S.$classes]() { + return new svg$.AttributeClassSet.new(this); + } + set [S.$classes](value) { + super[S.$classes] = value; + } + get [S.$children]() { + return new html_common.FilteredElementList.new(this); + } + set [S.$children](value) { + if (value == null) dart.nullFailed(I[156], 3020, 30, "value"); + let children = this[S.$children]; + children[$clear](); + children[$addAll](value); + } + get [S.$outerHtml]() { + let container = html$.DivElement.new(); + let cloned = svg$.SvgElement.as(this[S$.$clone](true)); + container[S.$children][$add](cloned); + return container[S.$innerHtml]; + } + get [S.$innerHtml]() { + let container = html$.DivElement.new(); + let cloned = svg$.SvgElement.as(this[S$.$clone](true)); + container[S.$children][$addAll](cloned[S.$children]); + return container[S.$innerHtml]; + } + set [S.$innerHtml](value) { + this[S.$setInnerHtml](value); + } + [S.$createFragment](svg, opts) { + let t247; + let validator = opts && 'validator' in opts ? opts.validator : null; + let treeSanitizer = opts && 'treeSanitizer' in opts ? opts.treeSanitizer : null; + if (treeSanitizer == null) { + if (validator == null) { + validator = (t247 = new html$.NodeValidatorBuilder.common(), (() => { + t247.allowSvg(); + return t247; + })()); + } + treeSanitizer = html$.NodeTreeSanitizer.new(validator); + } + let html = "" + dart.str(svg) + ""; + let fragment = dart.nullCheck(html$.document.body)[S.$createFragment](html, {treeSanitizer: treeSanitizer}); + let svgFragment = html$.DocumentFragment.new(); + let root = fragment[S.$nodes][$single]; + while (root.firstChild != null) { + svgFragment[S.$append](dart.nullCheck(root.firstChild)); + } + return svgFragment; + } + [S.$insertAdjacentText](where, text) { + if (where == null) dart.nullFailed(I[156], 3069, 34, "where"); + if (text == null) dart.nullFailed(I[156], 3069, 48, "text"); + dart.throw(new core.UnsupportedError.new("Cannot invoke insertAdjacentText on SVG.")); + } + [S.$insertAdjacentHtml](where, text, opts) { + if (where == null) dart.nullFailed(I[156], 3073, 34, "where"); + if (text == null) dart.nullFailed(I[156], 3073, 48, "text"); + let validator = opts && 'validator' in opts ? opts.validator : null; + let treeSanitizer = opts && 'treeSanitizer' in opts ? opts.treeSanitizer : null; + dart.throw(new core.UnsupportedError.new("Cannot invoke insertAdjacentHtml on SVG.")); + } + [S.$insertAdjacentElement](where, element) { + if (where == null) dart.nullFailed(I[156], 3078, 40, "where"); + if (element == null) dart.nullFailed(I[156], 3078, 55, "element"); + dart.throw(new core.UnsupportedError.new("Cannot invoke insertAdjacentElement on SVG.")); + } + get [S$3._children$1]() { + dart.throw(new core.UnsupportedError.new("Cannot get _children on SVG.")); + } + get [S.$isContentEditable]() { + return false; + } + [S.$click]() { + dart.throw(new core.UnsupportedError.new("Cannot invoke click SVG.")); + } + static isTagSupported(tag) { + if (tag == null) dart.nullFailed(I[156], 3096, 37, "tag"); + let e = svg$.SvgElement.tag(tag); + return svg$.SvgElement.is(e) && !html$.UnknownElement.is(e); + } + get [S$3._svgClassName]() { + return this.className; + } + get [S$3.$ownerSvgElement]() { + return this.ownerSVGElement; + } + get [S$3.$viewportElement]() { + return this.viewportElement; + } + [S.$blur](...args) { + return this.blur.apply(this, args); + } + [S.$focus](...args) { + return this.focus.apply(this, args); + } + get [S.$nonce]() { + return this.nonce; + } + set [S.$nonce](value) { + this.nonce = value; + } + get [S.$onAbort]() { + return svg$.SvgElement.abortEvent.forElement(this); + } + get [S.$onBlur]() { + return svg$.SvgElement.blurEvent.forElement(this); + } + get [S.$onCanPlay]() { + return svg$.SvgElement.canPlayEvent.forElement(this); + } + get [S.$onCanPlayThrough]() { + return svg$.SvgElement.canPlayThroughEvent.forElement(this); + } + get [S.$onChange]() { + return svg$.SvgElement.changeEvent.forElement(this); + } + get [S.$onClick]() { + return svg$.SvgElement.clickEvent.forElement(this); + } + get [S.$onContextMenu]() { + return svg$.SvgElement.contextMenuEvent.forElement(this); + } + get [S.$onDoubleClick]() { + return svg$.SvgElement.doubleClickEvent.forElement(this); + } + get [S.$onDrag]() { + return svg$.SvgElement.dragEvent.forElement(this); + } + get [S.$onDragEnd]() { + return svg$.SvgElement.dragEndEvent.forElement(this); + } + get [S.$onDragEnter]() { + return svg$.SvgElement.dragEnterEvent.forElement(this); + } + get [S.$onDragLeave]() { + return svg$.SvgElement.dragLeaveEvent.forElement(this); + } + get [S.$onDragOver]() { + return svg$.SvgElement.dragOverEvent.forElement(this); + } + get [S.$onDragStart]() { + return svg$.SvgElement.dragStartEvent.forElement(this); + } + get [S.$onDrop]() { + return svg$.SvgElement.dropEvent.forElement(this); + } + get [S.$onDurationChange]() { + return svg$.SvgElement.durationChangeEvent.forElement(this); + } + get [S.$onEmptied]() { + return svg$.SvgElement.emptiedEvent.forElement(this); + } + get [S.$onEnded]() { + return svg$.SvgElement.endedEvent.forElement(this); + } + get [S.$onError]() { + return svg$.SvgElement.errorEvent.forElement(this); + } + get [S.$onFocus]() { + return svg$.SvgElement.focusEvent.forElement(this); + } + get [S.$onInput]() { + return svg$.SvgElement.inputEvent.forElement(this); + } + get [S.$onInvalid]() { + return svg$.SvgElement.invalidEvent.forElement(this); + } + get [S.$onKeyDown]() { + return svg$.SvgElement.keyDownEvent.forElement(this); + } + get [S.$onKeyPress]() { + return svg$.SvgElement.keyPressEvent.forElement(this); + } + get [S.$onKeyUp]() { + return svg$.SvgElement.keyUpEvent.forElement(this); + } + get [S.$onLoad]() { + return svg$.SvgElement.loadEvent.forElement(this); + } + get [S.$onLoadedData]() { + return svg$.SvgElement.loadedDataEvent.forElement(this); + } + get [S.$onLoadedMetadata]() { + return svg$.SvgElement.loadedMetadataEvent.forElement(this); + } + get [S.$onMouseDown]() { + return svg$.SvgElement.mouseDownEvent.forElement(this); + } + get [S.$onMouseEnter]() { + return svg$.SvgElement.mouseEnterEvent.forElement(this); + } + get [S.$onMouseLeave]() { + return svg$.SvgElement.mouseLeaveEvent.forElement(this); + } + get [S.$onMouseMove]() { + return svg$.SvgElement.mouseMoveEvent.forElement(this); + } + get [S.$onMouseOut]() { + return svg$.SvgElement.mouseOutEvent.forElement(this); + } + get [S.$onMouseOver]() { + return svg$.SvgElement.mouseOverEvent.forElement(this); + } + get [S.$onMouseUp]() { + return svg$.SvgElement.mouseUpEvent.forElement(this); + } + get [S.$onMouseWheel]() { + return svg$.SvgElement.mouseWheelEvent.forElement(this); + } + get [S.$onPause]() { + return svg$.SvgElement.pauseEvent.forElement(this); + } + get [S.$onPlay]() { + return svg$.SvgElement.playEvent.forElement(this); + } + get [S.$onPlaying]() { + return svg$.SvgElement.playingEvent.forElement(this); + } + get [S.$onRateChange]() { + return svg$.SvgElement.rateChangeEvent.forElement(this); + } + get [S.$onReset]() { + return svg$.SvgElement.resetEvent.forElement(this); + } + get [S.$onResize]() { + return svg$.SvgElement.resizeEvent.forElement(this); + } + get [S.$onScroll]() { + return svg$.SvgElement.scrollEvent.forElement(this); + } + get [S.$onSeeked]() { + return svg$.SvgElement.seekedEvent.forElement(this); + } + get [S.$onSeeking]() { + return svg$.SvgElement.seekingEvent.forElement(this); + } + get [S.$onSelect]() { + return svg$.SvgElement.selectEvent.forElement(this); + } + get [S.$onStalled]() { + return svg$.SvgElement.stalledEvent.forElement(this); + } + get [S.$onSubmit]() { + return svg$.SvgElement.submitEvent.forElement(this); + } + get [S$.$onSuspend]() { + return svg$.SvgElement.suspendEvent.forElement(this); + } + get [S$.$onTimeUpdate]() { + return svg$.SvgElement.timeUpdateEvent.forElement(this); + } + get [S$.$onTouchCancel]() { + return svg$.SvgElement.touchCancelEvent.forElement(this); + } + get [S$.$onTouchEnd]() { + return svg$.SvgElement.touchEndEvent.forElement(this); + } + get [S$.$onTouchMove]() { + return svg$.SvgElement.touchMoveEvent.forElement(this); + } + get [S$.$onTouchStart]() { + return svg$.SvgElement.touchStartEvent.forElement(this); + } + get [S$.$onVolumeChange]() { + return svg$.SvgElement.volumeChangeEvent.forElement(this); + } + get [S$.$onWaiting]() { + return svg$.SvgElement.waitingEvent.forElement(this); + } + get [S$.$onWheel]() { + return svg$.SvgElement.wheelEvent.forElement(this); + } +}; +(svg$.SvgElement.created = function() { + svg$.SvgElement.__proto__.created.call(this); + ; +}).prototype = svg$.SvgElement.prototype; +dart.addTypeTests(svg$.SvgElement); +dart.addTypeCaches(svg$.SvgElement); +svg$.SvgElement[dart.implements] = () => [html$.GlobalEventHandlers, html$.NoncedElement]; +dart.setGetterSignature(svg$.SvgElement, () => ({ + __proto__: dart.getGetters(svg$.SvgElement.__proto__), + [S$3._children$1]: html$.HtmlCollection, + [S.$isContentEditable]: core.bool, + [S$3._svgClassName]: svg$.AnimatedString, + [S$3.$ownerSvgElement]: dart.nullable(svg$.SvgSvgElement), + [S$3.$viewportElement]: dart.nullable(svg$.SvgElement), + [S.$nonce]: dart.nullable(core.String) +})); +dart.setSetterSignature(svg$.SvgElement, () => ({ + __proto__: dart.getSetters(svg$.SvgElement.__proto__), + [S.$nonce]: dart.nullable(core.String) +})); +dart.setLibraryUri(svg$.SvgElement, I[157]); +dart.defineLazy(svg$.SvgElement, { + /*svg$.SvgElement._START_TAG_REGEXP*/get _START_TAG_REGEXP() { + return core.RegExp.new("<(\\w+)"); + }, + /*svg$.SvgElement.abortEvent*/get abortEvent() { + return C[214] || CT.C214; + }, + /*svg$.SvgElement.blurEvent*/get blurEvent() { + return C[233] || CT.C233; + }, + /*svg$.SvgElement.canPlayEvent*/get canPlayEvent() { + return C[234] || CT.C234; + }, + /*svg$.SvgElement.canPlayThroughEvent*/get canPlayThroughEvent() { + return C[235] || CT.C235; + }, + /*svg$.SvgElement.changeEvent*/get changeEvent() { + return C[236] || CT.C236; + }, + /*svg$.SvgElement.clickEvent*/get clickEvent() { + return C[237] || CT.C237; + }, + /*svg$.SvgElement.contextMenuEvent*/get contextMenuEvent() { + return C[238] || CT.C238; + }, + /*svg$.SvgElement.doubleClickEvent*/get doubleClickEvent() { + return C[241] || CT.C241; + }, + /*svg$.SvgElement.dragEvent*/get dragEvent() { + return C[242] || CT.C242; + }, + /*svg$.SvgElement.dragEndEvent*/get dragEndEvent() { + return C[243] || CT.C243; + }, + /*svg$.SvgElement.dragEnterEvent*/get dragEnterEvent() { + return C[244] || CT.C244; + }, + /*svg$.SvgElement.dragLeaveEvent*/get dragLeaveEvent() { + return C[245] || CT.C245; + }, + /*svg$.SvgElement.dragOverEvent*/get dragOverEvent() { + return C[246] || CT.C246; + }, + /*svg$.SvgElement.dragStartEvent*/get dragStartEvent() { + return C[247] || CT.C247; + }, + /*svg$.SvgElement.dropEvent*/get dropEvent() { + return C[248] || CT.C248; + }, + /*svg$.SvgElement.durationChangeEvent*/get durationChangeEvent() { + return C[249] || CT.C249; + }, + /*svg$.SvgElement.emptiedEvent*/get emptiedEvent() { + return C[250] || CT.C250; + }, + /*svg$.SvgElement.endedEvent*/get endedEvent() { + return C[251] || CT.C251; + }, + /*svg$.SvgElement.errorEvent*/get errorEvent() { + return C[216] || CT.C216; + }, + /*svg$.SvgElement.focusEvent*/get focusEvent() { + return C[252] || CT.C252; + }, + /*svg$.SvgElement.inputEvent*/get inputEvent() { + return C[253] || CT.C253; + }, + /*svg$.SvgElement.invalidEvent*/get invalidEvent() { + return C[254] || CT.C254; + }, + /*svg$.SvgElement.keyDownEvent*/get keyDownEvent() { + return C[255] || CT.C255; + }, + /*svg$.SvgElement.keyPressEvent*/get keyPressEvent() { + return C[256] || CT.C256; + }, + /*svg$.SvgElement.keyUpEvent*/get keyUpEvent() { + return C[257] || CT.C257; + }, + /*svg$.SvgElement.loadEvent*/get loadEvent() { + return C[258] || CT.C258; + }, + /*svg$.SvgElement.loadedDataEvent*/get loadedDataEvent() { + return C[259] || CT.C259; + }, + /*svg$.SvgElement.loadedMetadataEvent*/get loadedMetadataEvent() { + return C[260] || CT.C260; + }, + /*svg$.SvgElement.mouseDownEvent*/get mouseDownEvent() { + return C[261] || CT.C261; + }, + /*svg$.SvgElement.mouseEnterEvent*/get mouseEnterEvent() { + return C[262] || CT.C262; + }, + /*svg$.SvgElement.mouseLeaveEvent*/get mouseLeaveEvent() { + return C[263] || CT.C263; + }, + /*svg$.SvgElement.mouseMoveEvent*/get mouseMoveEvent() { + return C[264] || CT.C264; + }, + /*svg$.SvgElement.mouseOutEvent*/get mouseOutEvent() { + return C[265] || CT.C265; + }, + /*svg$.SvgElement.mouseOverEvent*/get mouseOverEvent() { + return C[266] || CT.C266; + }, + /*svg$.SvgElement.mouseUpEvent*/get mouseUpEvent() { + return C[267] || CT.C267; + }, + /*svg$.SvgElement.mouseWheelEvent*/get mouseWheelEvent() { + return C[342] || CT.C342; + }, + /*svg$.SvgElement.pauseEvent*/get pauseEvent() { + return C[269] || CT.C269; + }, + /*svg$.SvgElement.playEvent*/get playEvent() { + return C[270] || CT.C270; + }, + /*svg$.SvgElement.playingEvent*/get playingEvent() { + return C[271] || CT.C271; + }, + /*svg$.SvgElement.rateChangeEvent*/get rateChangeEvent() { + return C[272] || CT.C272; + }, + /*svg$.SvgElement.resetEvent*/get resetEvent() { + return C[273] || CT.C273; + }, + /*svg$.SvgElement.resizeEvent*/get resizeEvent() { + return C[274] || CT.C274; + }, + /*svg$.SvgElement.scrollEvent*/get scrollEvent() { + return C[275] || CT.C275; + }, + /*svg$.SvgElement.seekedEvent*/get seekedEvent() { + return C[277] || CT.C277; + }, + /*svg$.SvgElement.seekingEvent*/get seekingEvent() { + return C[278] || CT.C278; + }, + /*svg$.SvgElement.selectEvent*/get selectEvent() { + return C[279] || CT.C279; + }, + /*svg$.SvgElement.stalledEvent*/get stalledEvent() { + return C[281] || CT.C281; + }, + /*svg$.SvgElement.submitEvent*/get submitEvent() { + return C[282] || CT.C282; + }, + /*svg$.SvgElement.suspendEvent*/get suspendEvent() { + return C[283] || CT.C283; + }, + /*svg$.SvgElement.timeUpdateEvent*/get timeUpdateEvent() { + return C[284] || CT.C284; + }, + /*svg$.SvgElement.touchCancelEvent*/get touchCancelEvent() { + return C[285] || CT.C285; + }, + /*svg$.SvgElement.touchEndEvent*/get touchEndEvent() { + return C[286] || CT.C286; + }, + /*svg$.SvgElement.touchMoveEvent*/get touchMoveEvent() { + return C[289] || CT.C289; + }, + /*svg$.SvgElement.touchStartEvent*/get touchStartEvent() { + return C[290] || CT.C290; + }, + /*svg$.SvgElement.volumeChangeEvent*/get volumeChangeEvent() { + return C[291] || CT.C291; + }, + /*svg$.SvgElement.waitingEvent*/get waitingEvent() { + return C[292] || CT.C292; + }, + /*svg$.SvgElement.wheelEvent*/get wheelEvent() { + return C[295] || CT.C295; + } +}, false); +dart.registerExtension("SVGElement", svg$.SvgElement); +svg$.GraphicsElement = class GraphicsElement extends svg$.SvgElement { + get [S$3.$farthestViewportElement]() { + return this.farthestViewportElement; + } + get [S$3.$nearestViewportElement]() { + return this.nearestViewportElement; + } + get [S$.$transform]() { + return this.transform; + } + [S$3.$getBBox](...args) { + return this.getBBox.apply(this, args); + } + [S$3.$getCtm](...args) { + return this.getCTM.apply(this, args); + } + [S$3.$getScreenCtm](...args) { + return this.getScreenCTM.apply(this, args); + } + get [S$3.$requiredExtensions]() { + return this.requiredExtensions; + } + get [S$3.$systemLanguage]() { + return this.systemLanguage; + } +}; +(svg$.GraphicsElement.created = function() { + svg$.GraphicsElement.__proto__.created.call(this); + ; +}).prototype = svg$.GraphicsElement.prototype; +dart.addTypeTests(svg$.GraphicsElement); +dart.addTypeCaches(svg$.GraphicsElement); +svg$.GraphicsElement[dart.implements] = () => [svg$.Tests]; +dart.setMethodSignature(svg$.GraphicsElement, () => ({ + __proto__: dart.getMethods(svg$.GraphicsElement.__proto__), + [S$3.$getBBox]: dart.fnType(svg$.Rect, []), + [S$3.$getCtm]: dart.fnType(svg$.Matrix, []), + [S$3.$getScreenCtm]: dart.fnType(svg$.Matrix, []) +})); +dart.setGetterSignature(svg$.GraphicsElement, () => ({ + __proto__: dart.getGetters(svg$.GraphicsElement.__proto__), + [S$3.$farthestViewportElement]: dart.nullable(svg$.SvgElement), + [S$3.$nearestViewportElement]: dart.nullable(svg$.SvgElement), + [S$.$transform]: dart.nullable(svg$.AnimatedTransformList), + [S$3.$requiredExtensions]: dart.nullable(svg$.StringList), + [S$3.$systemLanguage]: dart.nullable(svg$.StringList) +})); +dart.setLibraryUri(svg$.GraphicsElement, I[157]); +dart.registerExtension("SVGGraphicsElement", svg$.GraphicsElement); +svg$.AElement = class AElement extends svg$.GraphicsElement { + static new() { + return svg$.AElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("a")); + } + get [S.$target]() { + return this.target; + } + get [S$.$href]() { + return this.href; + } +}; +(svg$.AElement.created = function() { + svg$.AElement.__proto__.created.call(this); + ; +}).prototype = svg$.AElement.prototype; +dart.addTypeTests(svg$.AElement); +dart.addTypeCaches(svg$.AElement); +svg$.AElement[dart.implements] = () => [svg$.UriReference]; +dart.setGetterSignature(svg$.AElement, () => ({ + __proto__: dart.getGetters(svg$.AElement.__proto__), + [S.$target]: svg$.AnimatedString, + [S$.$href]: dart.nullable(svg$.AnimatedString) +})); +dart.setLibraryUri(svg$.AElement, I[157]); +dart.registerExtension("SVGAElement", svg$.AElement); +svg$.Angle = class Angle extends _interceptors.Interceptor { + get [S$3.$unitType]() { + return this.unitType; + } + get [S.$value]() { + return this.value; + } + set [S.$value](value) { + this.value = value; + } + get [S$3.$valueAsString]() { + return this.valueAsString; + } + set [S$3.$valueAsString](value) { + this.valueAsString = value; + } + get [S$3.$valueInSpecifiedUnits]() { + return this.valueInSpecifiedUnits; + } + set [S$3.$valueInSpecifiedUnits](value) { + this.valueInSpecifiedUnits = value; + } + [S$3.$convertToSpecifiedUnits](...args) { + return this.convertToSpecifiedUnits.apply(this, args); + } + [S$3.$newValueSpecifiedUnits](...args) { + return this.newValueSpecifiedUnits.apply(this, args); + } +}; +dart.addTypeTests(svg$.Angle); +dart.addTypeCaches(svg$.Angle); +dart.setMethodSignature(svg$.Angle, () => ({ + __proto__: dart.getMethods(svg$.Angle.__proto__), + [S$3.$convertToSpecifiedUnits]: dart.fnType(dart.void, [core.int]), + [S$3.$newValueSpecifiedUnits]: dart.fnType(dart.void, [core.int, core.num]) +})); +dart.setGetterSignature(svg$.Angle, () => ({ + __proto__: dart.getGetters(svg$.Angle.__proto__), + [S$3.$unitType]: dart.nullable(core.int), + [S.$value]: dart.nullable(core.num), + [S$3.$valueAsString]: dart.nullable(core.String), + [S$3.$valueInSpecifiedUnits]: dart.nullable(core.num) +})); +dart.setSetterSignature(svg$.Angle, () => ({ + __proto__: dart.getSetters(svg$.Angle.__proto__), + [S.$value]: dart.nullable(core.num), + [S$3.$valueAsString]: dart.nullable(core.String), + [S$3.$valueInSpecifiedUnits]: dart.nullable(core.num) +})); +dart.setLibraryUri(svg$.Angle, I[157]); +dart.defineLazy(svg$.Angle, { + /*svg$.Angle.SVG_ANGLETYPE_DEG*/get SVG_ANGLETYPE_DEG() { + return 2; + }, + /*svg$.Angle.SVG_ANGLETYPE_GRAD*/get SVG_ANGLETYPE_GRAD() { + return 4; + }, + /*svg$.Angle.SVG_ANGLETYPE_RAD*/get SVG_ANGLETYPE_RAD() { + return 3; + }, + /*svg$.Angle.SVG_ANGLETYPE_UNKNOWN*/get SVG_ANGLETYPE_UNKNOWN() { + return 0; + }, + /*svg$.Angle.SVG_ANGLETYPE_UNSPECIFIED*/get SVG_ANGLETYPE_UNSPECIFIED() { + return 1; + } +}, false); +dart.registerExtension("SVGAngle", svg$.Angle); +svg$.AnimationElement = class AnimationElement extends svg$.SvgElement { + static new() { + return svg$.AnimationElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("animation")); + } + get [S$3.$targetElement]() { + return this.targetElement; + } + [S$3.$beginElement](...args) { + return this.beginElement.apply(this, args); + } + [S$3.$beginElementAt](...args) { + return this.beginElementAt.apply(this, args); + } + [S$3.$endElement](...args) { + return this.endElement.apply(this, args); + } + [S$3.$endElementAt](...args) { + return this.endElementAt.apply(this, args); + } + [S$3.$getCurrentTime](...args) { + return this.getCurrentTime.apply(this, args); + } + [S$3.$getSimpleDuration](...args) { + return this.getSimpleDuration.apply(this, args); + } + [S$3.$getStartTime](...args) { + return this.getStartTime.apply(this, args); + } + get [S$3.$requiredExtensions]() { + return this.requiredExtensions; + } + get [S$3.$systemLanguage]() { + return this.systemLanguage; + } +}; +(svg$.AnimationElement.created = function() { + svg$.AnimationElement.__proto__.created.call(this); + ; +}).prototype = svg$.AnimationElement.prototype; +dart.addTypeTests(svg$.AnimationElement); +dart.addTypeCaches(svg$.AnimationElement); +svg$.AnimationElement[dart.implements] = () => [svg$.Tests]; +dart.setMethodSignature(svg$.AnimationElement, () => ({ + __proto__: dart.getMethods(svg$.AnimationElement.__proto__), + [S$3.$beginElement]: dart.fnType(dart.void, []), + [S$3.$beginElementAt]: dart.fnType(dart.void, [core.num]), + [S$3.$endElement]: dart.fnType(dart.void, []), + [S$3.$endElementAt]: dart.fnType(dart.void, [core.num]), + [S$3.$getCurrentTime]: dart.fnType(core.double, []), + [S$3.$getSimpleDuration]: dart.fnType(core.double, []), + [S$3.$getStartTime]: dart.fnType(core.double, []) +})); +dart.setGetterSignature(svg$.AnimationElement, () => ({ + __proto__: dart.getGetters(svg$.AnimationElement.__proto__), + [S$3.$targetElement]: dart.nullable(svg$.SvgElement), + [S$3.$requiredExtensions]: dart.nullable(svg$.StringList), + [S$3.$systemLanguage]: dart.nullable(svg$.StringList) +})); +dart.setLibraryUri(svg$.AnimationElement, I[157]); +dart.registerExtension("SVGAnimationElement", svg$.AnimationElement); +svg$.AnimateElement = class AnimateElement extends svg$.AnimationElement { + static new() { + return svg$.AnimateElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("animate")); + } + static get supported() { + return dart.test(svg$.SvgElement.isTagSupported("animate")) && svg$.AnimateElement.is(svg$.SvgElement.tag("animate")); + } +}; +(svg$.AnimateElement.created = function() { + svg$.AnimateElement.__proto__.created.call(this); + ; +}).prototype = svg$.AnimateElement.prototype; +dart.addTypeTests(svg$.AnimateElement); +dart.addTypeCaches(svg$.AnimateElement); +dart.setLibraryUri(svg$.AnimateElement, I[157]); +dart.registerExtension("SVGAnimateElement", svg$.AnimateElement); +svg$.AnimateMotionElement = class AnimateMotionElement extends svg$.AnimationElement { + static new() { + return svg$.AnimateMotionElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("animateMotion")); + } + static get supported() { + return dart.test(svg$.SvgElement.isTagSupported("animateMotion")) && svg$.AnimateMotionElement.is(svg$.SvgElement.tag("animateMotion")); + } +}; +(svg$.AnimateMotionElement.created = function() { + svg$.AnimateMotionElement.__proto__.created.call(this); + ; +}).prototype = svg$.AnimateMotionElement.prototype; +dart.addTypeTests(svg$.AnimateMotionElement); +dart.addTypeCaches(svg$.AnimateMotionElement); +dart.setLibraryUri(svg$.AnimateMotionElement, I[157]); +dart.registerExtension("SVGAnimateMotionElement", svg$.AnimateMotionElement); +svg$.AnimateTransformElement = class AnimateTransformElement extends svg$.AnimationElement { + static new() { + return svg$.AnimateTransformElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("animateTransform")); + } + static get supported() { + return dart.test(svg$.SvgElement.isTagSupported("animateTransform")) && svg$.AnimateTransformElement.is(svg$.SvgElement.tag("animateTransform")); + } +}; +(svg$.AnimateTransformElement.created = function() { + svg$.AnimateTransformElement.__proto__.created.call(this); + ; +}).prototype = svg$.AnimateTransformElement.prototype; +dart.addTypeTests(svg$.AnimateTransformElement); +dart.addTypeCaches(svg$.AnimateTransformElement); +dart.setLibraryUri(svg$.AnimateTransformElement, I[157]); +dart.registerExtension("SVGAnimateTransformElement", svg$.AnimateTransformElement); +svg$.AnimatedAngle = class AnimatedAngle extends _interceptors.Interceptor { + get [S$3.$animVal]() { + return this.animVal; + } + get [S$3.$baseVal]() { + return this.baseVal; + } +}; +dart.addTypeTests(svg$.AnimatedAngle); +dart.addTypeCaches(svg$.AnimatedAngle); +dart.setGetterSignature(svg$.AnimatedAngle, () => ({ + __proto__: dart.getGetters(svg$.AnimatedAngle.__proto__), + [S$3.$animVal]: dart.nullable(svg$.Angle), + [S$3.$baseVal]: dart.nullable(svg$.Angle) +})); +dart.setLibraryUri(svg$.AnimatedAngle, I[157]); +dart.registerExtension("SVGAnimatedAngle", svg$.AnimatedAngle); +svg$.AnimatedBoolean = class AnimatedBoolean extends _interceptors.Interceptor { + get [S$3.$animVal]() { + return this.animVal; + } + get [S$3.$baseVal]() { + return this.baseVal; + } + set [S$3.$baseVal](value) { + this.baseVal = value; + } +}; +dart.addTypeTests(svg$.AnimatedBoolean); +dart.addTypeCaches(svg$.AnimatedBoolean); +dart.setGetterSignature(svg$.AnimatedBoolean, () => ({ + __proto__: dart.getGetters(svg$.AnimatedBoolean.__proto__), + [S$3.$animVal]: dart.nullable(core.bool), + [S$3.$baseVal]: dart.nullable(core.bool) +})); +dart.setSetterSignature(svg$.AnimatedBoolean, () => ({ + __proto__: dart.getSetters(svg$.AnimatedBoolean.__proto__), + [S$3.$baseVal]: dart.nullable(core.bool) +})); +dart.setLibraryUri(svg$.AnimatedBoolean, I[157]); +dart.registerExtension("SVGAnimatedBoolean", svg$.AnimatedBoolean); +svg$.AnimatedEnumeration = class AnimatedEnumeration extends _interceptors.Interceptor { + get [S$3.$animVal]() { + return this.animVal; + } + get [S$3.$baseVal]() { + return this.baseVal; + } + set [S$3.$baseVal](value) { + this.baseVal = value; + } +}; +dart.addTypeTests(svg$.AnimatedEnumeration); +dart.addTypeCaches(svg$.AnimatedEnumeration); +dart.setGetterSignature(svg$.AnimatedEnumeration, () => ({ + __proto__: dart.getGetters(svg$.AnimatedEnumeration.__proto__), + [S$3.$animVal]: dart.nullable(core.int), + [S$3.$baseVal]: dart.nullable(core.int) +})); +dart.setSetterSignature(svg$.AnimatedEnumeration, () => ({ + __proto__: dart.getSetters(svg$.AnimatedEnumeration.__proto__), + [S$3.$baseVal]: dart.nullable(core.int) +})); +dart.setLibraryUri(svg$.AnimatedEnumeration, I[157]); +dart.registerExtension("SVGAnimatedEnumeration", svg$.AnimatedEnumeration); +svg$.AnimatedInteger = class AnimatedInteger extends _interceptors.Interceptor { + get [S$3.$animVal]() { + return this.animVal; + } + get [S$3.$baseVal]() { + return this.baseVal; + } + set [S$3.$baseVal](value) { + this.baseVal = value; + } +}; +dart.addTypeTests(svg$.AnimatedInteger); +dart.addTypeCaches(svg$.AnimatedInteger); +dart.setGetterSignature(svg$.AnimatedInteger, () => ({ + __proto__: dart.getGetters(svg$.AnimatedInteger.__proto__), + [S$3.$animVal]: dart.nullable(core.int), + [S$3.$baseVal]: dart.nullable(core.int) +})); +dart.setSetterSignature(svg$.AnimatedInteger, () => ({ + __proto__: dart.getSetters(svg$.AnimatedInteger.__proto__), + [S$3.$baseVal]: dart.nullable(core.int) +})); +dart.setLibraryUri(svg$.AnimatedInteger, I[157]); +dart.registerExtension("SVGAnimatedInteger", svg$.AnimatedInteger); +svg$.AnimatedLength = class AnimatedLength extends _interceptors.Interceptor { + get [S$3.$animVal]() { + return this.animVal; + } + get [S$3.$baseVal]() { + return this.baseVal; + } +}; +dart.addTypeTests(svg$.AnimatedLength); +dart.addTypeCaches(svg$.AnimatedLength); +dart.setGetterSignature(svg$.AnimatedLength, () => ({ + __proto__: dart.getGetters(svg$.AnimatedLength.__proto__), + [S$3.$animVal]: dart.nullable(svg$.Length), + [S$3.$baseVal]: dart.nullable(svg$.Length) +})); +dart.setLibraryUri(svg$.AnimatedLength, I[157]); +dart.registerExtension("SVGAnimatedLength", svg$.AnimatedLength); +svg$.AnimatedLengthList = class AnimatedLengthList extends _interceptors.Interceptor { + get [S$3.$animVal]() { + return this.animVal; + } + get [S$3.$baseVal]() { + return this.baseVal; + } +}; +dart.addTypeTests(svg$.AnimatedLengthList); +dart.addTypeCaches(svg$.AnimatedLengthList); +dart.setGetterSignature(svg$.AnimatedLengthList, () => ({ + __proto__: dart.getGetters(svg$.AnimatedLengthList.__proto__), + [S$3.$animVal]: dart.nullable(svg$.LengthList), + [S$3.$baseVal]: dart.nullable(svg$.LengthList) +})); +dart.setLibraryUri(svg$.AnimatedLengthList, I[157]); +dart.registerExtension("SVGAnimatedLengthList", svg$.AnimatedLengthList); +svg$.AnimatedNumber = class AnimatedNumber extends _interceptors.Interceptor { + get [S$3.$animVal]() { + return this.animVal; + } + get [S$3.$baseVal]() { + return this.baseVal; + } + set [S$3.$baseVal](value) { + this.baseVal = value; + } +}; +dart.addTypeTests(svg$.AnimatedNumber); +dart.addTypeCaches(svg$.AnimatedNumber); +dart.setGetterSignature(svg$.AnimatedNumber, () => ({ + __proto__: dart.getGetters(svg$.AnimatedNumber.__proto__), + [S$3.$animVal]: dart.nullable(core.num), + [S$3.$baseVal]: dart.nullable(core.num) +})); +dart.setSetterSignature(svg$.AnimatedNumber, () => ({ + __proto__: dart.getSetters(svg$.AnimatedNumber.__proto__), + [S$3.$baseVal]: dart.nullable(core.num) +})); +dart.setLibraryUri(svg$.AnimatedNumber, I[157]); +dart.registerExtension("SVGAnimatedNumber", svg$.AnimatedNumber); +svg$.AnimatedNumberList = class AnimatedNumberList extends _interceptors.Interceptor { + get [S$3.$animVal]() { + return this.animVal; + } + get [S$3.$baseVal]() { + return this.baseVal; + } +}; +dart.addTypeTests(svg$.AnimatedNumberList); +dart.addTypeCaches(svg$.AnimatedNumberList); +dart.setGetterSignature(svg$.AnimatedNumberList, () => ({ + __proto__: dart.getGetters(svg$.AnimatedNumberList.__proto__), + [S$3.$animVal]: dart.nullable(svg$.NumberList), + [S$3.$baseVal]: dart.nullable(svg$.NumberList) +})); +dart.setLibraryUri(svg$.AnimatedNumberList, I[157]); +dart.registerExtension("SVGAnimatedNumberList", svg$.AnimatedNumberList); +svg$.AnimatedPreserveAspectRatio = class AnimatedPreserveAspectRatio extends _interceptors.Interceptor { + get [S$3.$animVal]() { + return this.animVal; + } + get [S$3.$baseVal]() { + return this.baseVal; + } +}; +dart.addTypeTests(svg$.AnimatedPreserveAspectRatio); +dart.addTypeCaches(svg$.AnimatedPreserveAspectRatio); +dart.setGetterSignature(svg$.AnimatedPreserveAspectRatio, () => ({ + __proto__: dart.getGetters(svg$.AnimatedPreserveAspectRatio.__proto__), + [S$3.$animVal]: dart.nullable(svg$.PreserveAspectRatio), + [S$3.$baseVal]: dart.nullable(svg$.PreserveAspectRatio) +})); +dart.setLibraryUri(svg$.AnimatedPreserveAspectRatio, I[157]); +dart.registerExtension("SVGAnimatedPreserveAspectRatio", svg$.AnimatedPreserveAspectRatio); +svg$.AnimatedRect = class AnimatedRect extends _interceptors.Interceptor { + get [S$3.$animVal]() { + return this.animVal; + } + get [S$3.$baseVal]() { + return this.baseVal; + } +}; +dart.addTypeTests(svg$.AnimatedRect); +dart.addTypeCaches(svg$.AnimatedRect); +dart.setGetterSignature(svg$.AnimatedRect, () => ({ + __proto__: dart.getGetters(svg$.AnimatedRect.__proto__), + [S$3.$animVal]: dart.nullable(svg$.Rect), + [S$3.$baseVal]: dart.nullable(svg$.Rect) +})); +dart.setLibraryUri(svg$.AnimatedRect, I[157]); +dart.registerExtension("SVGAnimatedRect", svg$.AnimatedRect); +svg$.AnimatedString = class AnimatedString extends _interceptors.Interceptor { + get [S$3.$animVal]() { + return this.animVal; + } + get [S$3.$baseVal]() { + return this.baseVal; + } + set [S$3.$baseVal](value) { + this.baseVal = value; + } +}; +dart.addTypeTests(svg$.AnimatedString); +dart.addTypeCaches(svg$.AnimatedString); +dart.setGetterSignature(svg$.AnimatedString, () => ({ + __proto__: dart.getGetters(svg$.AnimatedString.__proto__), + [S$3.$animVal]: dart.nullable(core.String), + [S$3.$baseVal]: dart.nullable(core.String) +})); +dart.setSetterSignature(svg$.AnimatedString, () => ({ + __proto__: dart.getSetters(svg$.AnimatedString.__proto__), + [S$3.$baseVal]: dart.nullable(core.String) +})); +dart.setLibraryUri(svg$.AnimatedString, I[157]); +dart.registerExtension("SVGAnimatedString", svg$.AnimatedString); +svg$.AnimatedTransformList = class AnimatedTransformList extends _interceptors.Interceptor { + get [S$3.$animVal]() { + return this.animVal; + } + get [S$3.$baseVal]() { + return this.baseVal; + } +}; +dart.addTypeTests(svg$.AnimatedTransformList); +dart.addTypeCaches(svg$.AnimatedTransformList); +dart.setGetterSignature(svg$.AnimatedTransformList, () => ({ + __proto__: dart.getGetters(svg$.AnimatedTransformList.__proto__), + [S$3.$animVal]: dart.nullable(svg$.TransformList), + [S$3.$baseVal]: dart.nullable(svg$.TransformList) +})); +dart.setLibraryUri(svg$.AnimatedTransformList, I[157]); +dart.registerExtension("SVGAnimatedTransformList", svg$.AnimatedTransformList); +svg$.GeometryElement = class GeometryElement extends svg$.GraphicsElement { + get [S$3.$pathLength]() { + return this.pathLength; + } + [S$3.$getPointAtLength](...args) { + return this.getPointAtLength.apply(this, args); + } + [S$3.$getTotalLength](...args) { + return this.getTotalLength.apply(this, args); + } + [S$3.$isPointInFill](...args) { + return this.isPointInFill.apply(this, args); + } + [S$.$isPointInStroke](...args) { + return this.isPointInStroke.apply(this, args); + } +}; +(svg$.GeometryElement.created = function() { + svg$.GeometryElement.__proto__.created.call(this); + ; +}).prototype = svg$.GeometryElement.prototype; +dart.addTypeTests(svg$.GeometryElement); +dart.addTypeCaches(svg$.GeometryElement); +dart.setMethodSignature(svg$.GeometryElement, () => ({ + __proto__: dart.getMethods(svg$.GeometryElement.__proto__), + [S$3.$getPointAtLength]: dart.fnType(svg$.Point, [core.num]), + [S$3.$getTotalLength]: dart.fnType(core.double, []), + [S$3.$isPointInFill]: dart.fnType(core.bool, [svg$.Point]), + [S$.$isPointInStroke]: dart.fnType(core.bool, [svg$.Point]) +})); +dart.setGetterSignature(svg$.GeometryElement, () => ({ + __proto__: dart.getGetters(svg$.GeometryElement.__proto__), + [S$3.$pathLength]: dart.nullable(svg$.AnimatedNumber) +})); +dart.setLibraryUri(svg$.GeometryElement, I[157]); +dart.registerExtension("SVGGeometryElement", svg$.GeometryElement); +svg$.CircleElement = class CircleElement extends svg$.GeometryElement { + static new() { + return svg$.CircleElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("circle")); + } + get [S$3.$cx]() { + return this.cx; + } + get [S$3.$cy]() { + return this.cy; + } + get [S$3.$r]() { + return this.r; + } +}; +(svg$.CircleElement.created = function() { + svg$.CircleElement.__proto__.created.call(this); + ; +}).prototype = svg$.CircleElement.prototype; +dart.addTypeTests(svg$.CircleElement); +dart.addTypeCaches(svg$.CircleElement); +dart.setGetterSignature(svg$.CircleElement, () => ({ + __proto__: dart.getGetters(svg$.CircleElement.__proto__), + [S$3.$cx]: dart.nullable(svg$.AnimatedLength), + [S$3.$cy]: dart.nullable(svg$.AnimatedLength), + [S$3.$r]: dart.nullable(svg$.AnimatedLength) +})); +dart.setLibraryUri(svg$.CircleElement, I[157]); +dart.registerExtension("SVGCircleElement", svg$.CircleElement); +svg$.ClipPathElement = class ClipPathElement extends svg$.GraphicsElement { + static new() { + return svg$.ClipPathElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("clipPath")); + } + get [S$3.$clipPathUnits]() { + return this.clipPathUnits; + } +}; +(svg$.ClipPathElement.created = function() { + svg$.ClipPathElement.__proto__.created.call(this); + ; +}).prototype = svg$.ClipPathElement.prototype; +dart.addTypeTests(svg$.ClipPathElement); +dart.addTypeCaches(svg$.ClipPathElement); +dart.setGetterSignature(svg$.ClipPathElement, () => ({ + __proto__: dart.getGetters(svg$.ClipPathElement.__proto__), + [S$3.$clipPathUnits]: dart.nullable(svg$.AnimatedEnumeration) +})); +dart.setLibraryUri(svg$.ClipPathElement, I[157]); +dart.registerExtension("SVGClipPathElement", svg$.ClipPathElement); +svg$.DefsElement = class DefsElement extends svg$.GraphicsElement { + static new() { + return svg$.DefsElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("defs")); + } +}; +(svg$.DefsElement.created = function() { + svg$.DefsElement.__proto__.created.call(this); + ; +}).prototype = svg$.DefsElement.prototype; +dart.addTypeTests(svg$.DefsElement); +dart.addTypeCaches(svg$.DefsElement); +dart.setLibraryUri(svg$.DefsElement, I[157]); +dart.registerExtension("SVGDefsElement", svg$.DefsElement); +svg$.DescElement = class DescElement extends svg$.SvgElement { + static new() { + return svg$.DescElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("desc")); + } +}; +(svg$.DescElement.created = function() { + svg$.DescElement.__proto__.created.call(this); + ; +}).prototype = svg$.DescElement.prototype; +dart.addTypeTests(svg$.DescElement); +dart.addTypeCaches(svg$.DescElement); +dart.setLibraryUri(svg$.DescElement, I[157]); +dart.registerExtension("SVGDescElement", svg$.DescElement); +svg$.DiscardElement = class DiscardElement extends svg$.SvgElement {}; +(svg$.DiscardElement.created = function() { + svg$.DiscardElement.__proto__.created.call(this); + ; +}).prototype = svg$.DiscardElement.prototype; +dart.addTypeTests(svg$.DiscardElement); +dart.addTypeCaches(svg$.DiscardElement); +dart.setLibraryUri(svg$.DiscardElement, I[157]); +dart.registerExtension("SVGDiscardElement", svg$.DiscardElement); +svg$.EllipseElement = class EllipseElement extends svg$.GeometryElement { + static new() { + return svg$.EllipseElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("ellipse")); + } + get [S$3.$cx]() { + return this.cx; + } + get [S$3.$cy]() { + return this.cy; + } + get [S$3.$rx]() { + return this.rx; + } + get [S$3.$ry]() { + return this.ry; + } +}; +(svg$.EllipseElement.created = function() { + svg$.EllipseElement.__proto__.created.call(this); + ; +}).prototype = svg$.EllipseElement.prototype; +dart.addTypeTests(svg$.EllipseElement); +dart.addTypeCaches(svg$.EllipseElement); +dart.setGetterSignature(svg$.EllipseElement, () => ({ + __proto__: dart.getGetters(svg$.EllipseElement.__proto__), + [S$3.$cx]: dart.nullable(svg$.AnimatedLength), + [S$3.$cy]: dart.nullable(svg$.AnimatedLength), + [S$3.$rx]: dart.nullable(svg$.AnimatedLength), + [S$3.$ry]: dart.nullable(svg$.AnimatedLength) +})); +dart.setLibraryUri(svg$.EllipseElement, I[157]); +dart.registerExtension("SVGEllipseElement", svg$.EllipseElement); +svg$.FEBlendElement = class FEBlendElement extends svg$.SvgElement { + static new() { + return svg$.FEBlendElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("feBlend")); + } + static get supported() { + return dart.test(svg$.SvgElement.isTagSupported("feBlend")) && svg$.FEBlendElement.is(svg$.SvgElement.tag("feBlend")); + } + get [S$3.$in1]() { + return this.in1; + } + get [S$3.$in2]() { + return this.in2; + } + get [S.$mode]() { + return this.mode; + } + get [$height]() { + return this.height; + } + get [S.$result]() { + return this.result; + } + get [$width]() { + return this.width; + } + get [S$.$x]() { + return this.x; + } + get [S$.$y]() { + return this.y; + } +}; +(svg$.FEBlendElement.created = function() { + svg$.FEBlendElement.__proto__.created.call(this); + ; +}).prototype = svg$.FEBlendElement.prototype; +dart.addTypeTests(svg$.FEBlendElement); +dart.addTypeCaches(svg$.FEBlendElement); +svg$.FEBlendElement[dart.implements] = () => [svg$.FilterPrimitiveStandardAttributes]; +dart.setGetterSignature(svg$.FEBlendElement, () => ({ + __proto__: dart.getGetters(svg$.FEBlendElement.__proto__), + [S$3.$in1]: dart.nullable(svg$.AnimatedString), + [S$3.$in2]: dart.nullable(svg$.AnimatedString), + [S.$mode]: dart.nullable(svg$.AnimatedEnumeration), + [$height]: dart.nullable(svg$.AnimatedLength), + [S.$result]: dart.nullable(svg$.AnimatedString), + [$width]: dart.nullable(svg$.AnimatedLength), + [S$.$x]: dart.nullable(svg$.AnimatedLength), + [S$.$y]: dart.nullable(svg$.AnimatedLength) +})); +dart.setLibraryUri(svg$.FEBlendElement, I[157]); +dart.defineLazy(svg$.FEBlendElement, { + /*svg$.FEBlendElement.SVG_FEBLEND_MODE_DARKEN*/get SVG_FEBLEND_MODE_DARKEN() { + return 4; + }, + /*svg$.FEBlendElement.SVG_FEBLEND_MODE_LIGHTEN*/get SVG_FEBLEND_MODE_LIGHTEN() { + return 5; + }, + /*svg$.FEBlendElement.SVG_FEBLEND_MODE_MULTIPLY*/get SVG_FEBLEND_MODE_MULTIPLY() { + return 2; + }, + /*svg$.FEBlendElement.SVG_FEBLEND_MODE_NORMAL*/get SVG_FEBLEND_MODE_NORMAL() { + return 1; + }, + /*svg$.FEBlendElement.SVG_FEBLEND_MODE_SCREEN*/get SVG_FEBLEND_MODE_SCREEN() { + return 3; + }, + /*svg$.FEBlendElement.SVG_FEBLEND_MODE_UNKNOWN*/get SVG_FEBLEND_MODE_UNKNOWN() { + return 0; + } +}, false); +dart.registerExtension("SVGFEBlendElement", svg$.FEBlendElement); +svg$.FEColorMatrixElement = class FEColorMatrixElement extends svg$.SvgElement { + static new() { + return svg$.FEColorMatrixElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("feColorMatrix")); + } + static get supported() { + return dart.test(svg$.SvgElement.isTagSupported("feColorMatrix")) && svg$.FEColorMatrixElement.is(svg$.SvgElement.tag("feColorMatrix")); + } + get [S$3.$in1]() { + return this.in1; + } + get [S.$type]() { + return this.type; + } + get [$values]() { + return this.values; + } + get [$height]() { + return this.height; + } + get [S.$result]() { + return this.result; + } + get [$width]() { + return this.width; + } + get [S$.$x]() { + return this.x; + } + get [S$.$y]() { + return this.y; + } +}; +(svg$.FEColorMatrixElement.created = function() { + svg$.FEColorMatrixElement.__proto__.created.call(this); + ; +}).prototype = svg$.FEColorMatrixElement.prototype; +dart.addTypeTests(svg$.FEColorMatrixElement); +dart.addTypeCaches(svg$.FEColorMatrixElement); +svg$.FEColorMatrixElement[dart.implements] = () => [svg$.FilterPrimitiveStandardAttributes]; +dart.setGetterSignature(svg$.FEColorMatrixElement, () => ({ + __proto__: dart.getGetters(svg$.FEColorMatrixElement.__proto__), + [S$3.$in1]: svg$.AnimatedString, + [S.$type]: dart.nullable(svg$.AnimatedEnumeration), + [$values]: dart.nullable(svg$.AnimatedNumberList), + [$height]: dart.nullable(svg$.AnimatedLength), + [S.$result]: dart.nullable(svg$.AnimatedString), + [$width]: dart.nullable(svg$.AnimatedLength), + [S$.$x]: dart.nullable(svg$.AnimatedLength), + [S$.$y]: dart.nullable(svg$.AnimatedLength) +})); +dart.setLibraryUri(svg$.FEColorMatrixElement, I[157]); +dart.defineLazy(svg$.FEColorMatrixElement, { + /*svg$.FEColorMatrixElement.SVG_FECOLORMATRIX_TYPE_HUEROTATE*/get SVG_FECOLORMATRIX_TYPE_HUEROTATE() { + return 3; + }, + /*svg$.FEColorMatrixElement.SVG_FECOLORMATRIX_TYPE_LUMINANCETOALPHA*/get SVG_FECOLORMATRIX_TYPE_LUMINANCETOALPHA() { + return 4; + }, + /*svg$.FEColorMatrixElement.SVG_FECOLORMATRIX_TYPE_MATRIX*/get SVG_FECOLORMATRIX_TYPE_MATRIX() { + return 1; + }, + /*svg$.FEColorMatrixElement.SVG_FECOLORMATRIX_TYPE_SATURATE*/get SVG_FECOLORMATRIX_TYPE_SATURATE() { + return 2; + }, + /*svg$.FEColorMatrixElement.SVG_FECOLORMATRIX_TYPE_UNKNOWN*/get SVG_FECOLORMATRIX_TYPE_UNKNOWN() { + return 0; + } +}, false); +dart.registerExtension("SVGFEColorMatrixElement", svg$.FEColorMatrixElement); +svg$.FEComponentTransferElement = class FEComponentTransferElement extends svg$.SvgElement { + static new() { + return svg$.FEComponentTransferElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("feComponentTransfer")); + } + static get supported() { + return dart.test(svg$.SvgElement.isTagSupported("feComponentTransfer")) && svg$.FEComponentTransferElement.is(svg$.SvgElement.tag("feComponentTransfer")); + } + get [S$3.$in1]() { + return this.in1; + } + get [$height]() { + return this.height; + } + get [S.$result]() { + return this.result; + } + get [$width]() { + return this.width; + } + get [S$.$x]() { + return this.x; + } + get [S$.$y]() { + return this.y; + } +}; +(svg$.FEComponentTransferElement.created = function() { + svg$.FEComponentTransferElement.__proto__.created.call(this); + ; +}).prototype = svg$.FEComponentTransferElement.prototype; +dart.addTypeTests(svg$.FEComponentTransferElement); +dart.addTypeCaches(svg$.FEComponentTransferElement); +svg$.FEComponentTransferElement[dart.implements] = () => [svg$.FilterPrimitiveStandardAttributes]; +dart.setGetterSignature(svg$.FEComponentTransferElement, () => ({ + __proto__: dart.getGetters(svg$.FEComponentTransferElement.__proto__), + [S$3.$in1]: dart.nullable(svg$.AnimatedString), + [$height]: dart.nullable(svg$.AnimatedLength), + [S.$result]: dart.nullable(svg$.AnimatedString), + [$width]: dart.nullable(svg$.AnimatedLength), + [S$.$x]: dart.nullable(svg$.AnimatedLength), + [S$.$y]: dart.nullable(svg$.AnimatedLength) +})); +dart.setLibraryUri(svg$.FEComponentTransferElement, I[157]); +dart.registerExtension("SVGFEComponentTransferElement", svg$.FEComponentTransferElement); +svg$.FECompositeElement = class FECompositeElement extends svg$.SvgElement { + get [S$3.$in1]() { + return this.in1; + } + get [S$3.$in2]() { + return this.in2; + } + get [S$3.$k1]() { + return this.k1; + } + get [S$3.$k2]() { + return this.k2; + } + get [S$3.$k3]() { + return this.k3; + } + get [S$3.$k4]() { + return this.k4; + } + get [S$3.$operator]() { + return this.operator; + } + get [$height]() { + return this.height; + } + get [S.$result]() { + return this.result; + } + get [$width]() { + return this.width; + } + get [S$.$x]() { + return this.x; + } + get [S$.$y]() { + return this.y; + } +}; +(svg$.FECompositeElement.created = function() { + svg$.FECompositeElement.__proto__.created.call(this); + ; +}).prototype = svg$.FECompositeElement.prototype; +dart.addTypeTests(svg$.FECompositeElement); +dart.addTypeCaches(svg$.FECompositeElement); +svg$.FECompositeElement[dart.implements] = () => [svg$.FilterPrimitiveStandardAttributes]; +dart.setGetterSignature(svg$.FECompositeElement, () => ({ + __proto__: dart.getGetters(svg$.FECompositeElement.__proto__), + [S$3.$in1]: dart.nullable(svg$.AnimatedString), + [S$3.$in2]: dart.nullable(svg$.AnimatedString), + [S$3.$k1]: dart.nullable(svg$.AnimatedNumber), + [S$3.$k2]: dart.nullable(svg$.AnimatedNumber), + [S$3.$k3]: dart.nullable(svg$.AnimatedNumber), + [S$3.$k4]: dart.nullable(svg$.AnimatedNumber), + [S$3.$operator]: dart.nullable(svg$.AnimatedEnumeration), + [$height]: dart.nullable(svg$.AnimatedLength), + [S.$result]: dart.nullable(svg$.AnimatedString), + [$width]: dart.nullable(svg$.AnimatedLength), + [S$.$x]: dart.nullable(svg$.AnimatedLength), + [S$.$y]: dart.nullable(svg$.AnimatedLength) +})); +dart.setLibraryUri(svg$.FECompositeElement, I[157]); +dart.defineLazy(svg$.FECompositeElement, { + /*svg$.FECompositeElement.SVG_FECOMPOSITE_OPERATOR_ARITHMETIC*/get SVG_FECOMPOSITE_OPERATOR_ARITHMETIC() { + return 6; + }, + /*svg$.FECompositeElement.SVG_FECOMPOSITE_OPERATOR_ATOP*/get SVG_FECOMPOSITE_OPERATOR_ATOP() { + return 4; + }, + /*svg$.FECompositeElement.SVG_FECOMPOSITE_OPERATOR_IN*/get SVG_FECOMPOSITE_OPERATOR_IN() { + return 2; + }, + /*svg$.FECompositeElement.SVG_FECOMPOSITE_OPERATOR_OUT*/get SVG_FECOMPOSITE_OPERATOR_OUT() { + return 3; + }, + /*svg$.FECompositeElement.SVG_FECOMPOSITE_OPERATOR_OVER*/get SVG_FECOMPOSITE_OPERATOR_OVER() { + return 1; + }, + /*svg$.FECompositeElement.SVG_FECOMPOSITE_OPERATOR_UNKNOWN*/get SVG_FECOMPOSITE_OPERATOR_UNKNOWN() { + return 0; + }, + /*svg$.FECompositeElement.SVG_FECOMPOSITE_OPERATOR_XOR*/get SVG_FECOMPOSITE_OPERATOR_XOR() { + return 5; + } +}, false); +dart.registerExtension("SVGFECompositeElement", svg$.FECompositeElement); +svg$.FEConvolveMatrixElement = class FEConvolveMatrixElement extends svg$.SvgElement { + static new() { + return svg$.FEConvolveMatrixElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("feConvolveMatrix")); + } + static get supported() { + return dart.test(svg$.SvgElement.isTagSupported("feConvolveMatrix")) && svg$.FEConvolveMatrixElement.is(svg$.SvgElement.tag("feConvolveMatrix")); + } + get [S$3.$bias]() { + return this.bias; + } + get [S$3.$divisor]() { + return this.divisor; + } + get [S$3.$edgeMode]() { + return this.edgeMode; + } + get [S$3.$in1]() { + return this.in1; + } + get [S$3.$kernelMatrix]() { + return this.kernelMatrix; + } + get [S$3.$kernelUnitLengthX]() { + return this.kernelUnitLengthX; + } + get [S$3.$kernelUnitLengthY]() { + return this.kernelUnitLengthY; + } + get [S$3.$orderX]() { + return this.orderX; + } + get [S$3.$orderY]() { + return this.orderY; + } + get [S$3.$preserveAlpha]() { + return this.preserveAlpha; + } + get [S$3.$targetX]() { + return this.targetX; + } + get [S$3.$targetY]() { + return this.targetY; + } + get [$height]() { + return this.height; + } + get [S.$result]() { + return this.result; + } + get [$width]() { + return this.width; + } + get [S$.$x]() { + return this.x; + } + get [S$.$y]() { + return this.y; + } +}; +(svg$.FEConvolveMatrixElement.created = function() { + svg$.FEConvolveMatrixElement.__proto__.created.call(this); + ; +}).prototype = svg$.FEConvolveMatrixElement.prototype; +dart.addTypeTests(svg$.FEConvolveMatrixElement); +dart.addTypeCaches(svg$.FEConvolveMatrixElement); +svg$.FEConvolveMatrixElement[dart.implements] = () => [svg$.FilterPrimitiveStandardAttributes]; +dart.setGetterSignature(svg$.FEConvolveMatrixElement, () => ({ + __proto__: dart.getGetters(svg$.FEConvolveMatrixElement.__proto__), + [S$3.$bias]: dart.nullable(svg$.AnimatedNumber), + [S$3.$divisor]: dart.nullable(svg$.AnimatedNumber), + [S$3.$edgeMode]: dart.nullable(svg$.AnimatedEnumeration), + [S$3.$in1]: dart.nullable(svg$.AnimatedString), + [S$3.$kernelMatrix]: dart.nullable(svg$.AnimatedNumberList), + [S$3.$kernelUnitLengthX]: dart.nullable(svg$.AnimatedNumber), + [S$3.$kernelUnitLengthY]: dart.nullable(svg$.AnimatedNumber), + [S$3.$orderX]: dart.nullable(svg$.AnimatedInteger), + [S$3.$orderY]: dart.nullable(svg$.AnimatedInteger), + [S$3.$preserveAlpha]: dart.nullable(svg$.AnimatedBoolean), + [S$3.$targetX]: dart.nullable(svg$.AnimatedInteger), + [S$3.$targetY]: dart.nullable(svg$.AnimatedInteger), + [$height]: dart.nullable(svg$.AnimatedLength), + [S.$result]: dart.nullable(svg$.AnimatedString), + [$width]: dart.nullable(svg$.AnimatedLength), + [S$.$x]: dart.nullable(svg$.AnimatedLength), + [S$.$y]: dart.nullable(svg$.AnimatedLength) +})); +dart.setLibraryUri(svg$.FEConvolveMatrixElement, I[157]); +dart.defineLazy(svg$.FEConvolveMatrixElement, { + /*svg$.FEConvolveMatrixElement.SVG_EDGEMODE_DUPLICATE*/get SVG_EDGEMODE_DUPLICATE() { + return 1; + }, + /*svg$.FEConvolveMatrixElement.SVG_EDGEMODE_NONE*/get SVG_EDGEMODE_NONE() { + return 3; + }, + /*svg$.FEConvolveMatrixElement.SVG_EDGEMODE_UNKNOWN*/get SVG_EDGEMODE_UNKNOWN() { + return 0; + }, + /*svg$.FEConvolveMatrixElement.SVG_EDGEMODE_WRAP*/get SVG_EDGEMODE_WRAP() { + return 2; + } +}, false); +dart.registerExtension("SVGFEConvolveMatrixElement", svg$.FEConvolveMatrixElement); +svg$.FEDiffuseLightingElement = class FEDiffuseLightingElement extends svg$.SvgElement { + static new() { + return svg$.FEDiffuseLightingElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("feDiffuseLighting")); + } + static get supported() { + return dart.test(svg$.SvgElement.isTagSupported("feDiffuseLighting")) && svg$.FEDiffuseLightingElement.is(svg$.SvgElement.tag("feDiffuseLighting")); + } + get [S$3.$diffuseConstant]() { + return this.diffuseConstant; + } + get [S$3.$in1]() { + return this.in1; + } + get [S$3.$kernelUnitLengthX]() { + return this.kernelUnitLengthX; + } + get [S$3.$kernelUnitLengthY]() { + return this.kernelUnitLengthY; + } + get [S$3.$surfaceScale]() { + return this.surfaceScale; + } + get [$height]() { + return this.height; + } + get [S.$result]() { + return this.result; + } + get [$width]() { + return this.width; + } + get [S$.$x]() { + return this.x; + } + get [S$.$y]() { + return this.y; + } +}; +(svg$.FEDiffuseLightingElement.created = function() { + svg$.FEDiffuseLightingElement.__proto__.created.call(this); + ; +}).prototype = svg$.FEDiffuseLightingElement.prototype; +dart.addTypeTests(svg$.FEDiffuseLightingElement); +dart.addTypeCaches(svg$.FEDiffuseLightingElement); +svg$.FEDiffuseLightingElement[dart.implements] = () => [svg$.FilterPrimitiveStandardAttributes]; +dart.setGetterSignature(svg$.FEDiffuseLightingElement, () => ({ + __proto__: dart.getGetters(svg$.FEDiffuseLightingElement.__proto__), + [S$3.$diffuseConstant]: dart.nullable(svg$.AnimatedNumber), + [S$3.$in1]: dart.nullable(svg$.AnimatedString), + [S$3.$kernelUnitLengthX]: dart.nullable(svg$.AnimatedNumber), + [S$3.$kernelUnitLengthY]: dart.nullable(svg$.AnimatedNumber), + [S$3.$surfaceScale]: dart.nullable(svg$.AnimatedNumber), + [$height]: dart.nullable(svg$.AnimatedLength), + [S.$result]: dart.nullable(svg$.AnimatedString), + [$width]: dart.nullable(svg$.AnimatedLength), + [S$.$x]: dart.nullable(svg$.AnimatedLength), + [S$.$y]: dart.nullable(svg$.AnimatedLength) +})); +dart.setLibraryUri(svg$.FEDiffuseLightingElement, I[157]); +dart.registerExtension("SVGFEDiffuseLightingElement", svg$.FEDiffuseLightingElement); +svg$.FEDisplacementMapElement = class FEDisplacementMapElement extends svg$.SvgElement { + static new() { + return svg$.FEDisplacementMapElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("feDisplacementMap")); + } + static get supported() { + return dart.test(svg$.SvgElement.isTagSupported("feDisplacementMap")) && svg$.FEDisplacementMapElement.is(svg$.SvgElement.tag("feDisplacementMap")); + } + get [S$3.$in1]() { + return this.in1; + } + get [S$3.$in2]() { + return this.in2; + } + get [S$.$scale]() { + return this.scale; + } + get [S$3.$xChannelSelector]() { + return this.xChannelSelector; + } + get [S$3.$yChannelSelector]() { + return this.yChannelSelector; + } + get [$height]() { + return this.height; + } + get [S.$result]() { + return this.result; + } + get [$width]() { + return this.width; + } + get [S$.$x]() { + return this.x; + } + get [S$.$y]() { + return this.y; + } +}; +(svg$.FEDisplacementMapElement.created = function() { + svg$.FEDisplacementMapElement.__proto__.created.call(this); + ; +}).prototype = svg$.FEDisplacementMapElement.prototype; +dart.addTypeTests(svg$.FEDisplacementMapElement); +dart.addTypeCaches(svg$.FEDisplacementMapElement); +svg$.FEDisplacementMapElement[dart.implements] = () => [svg$.FilterPrimitiveStandardAttributes]; +dart.setGetterSignature(svg$.FEDisplacementMapElement, () => ({ + __proto__: dart.getGetters(svg$.FEDisplacementMapElement.__proto__), + [S$3.$in1]: dart.nullable(svg$.AnimatedString), + [S$3.$in2]: dart.nullable(svg$.AnimatedString), + [S$.$scale]: dart.nullable(svg$.AnimatedNumber), + [S$3.$xChannelSelector]: dart.nullable(svg$.AnimatedEnumeration), + [S$3.$yChannelSelector]: dart.nullable(svg$.AnimatedEnumeration), + [$height]: dart.nullable(svg$.AnimatedLength), + [S.$result]: dart.nullable(svg$.AnimatedString), + [$width]: dart.nullable(svg$.AnimatedLength), + [S$.$x]: dart.nullable(svg$.AnimatedLength), + [S$.$y]: dart.nullable(svg$.AnimatedLength) +})); +dart.setLibraryUri(svg$.FEDisplacementMapElement, I[157]); +dart.defineLazy(svg$.FEDisplacementMapElement, { + /*svg$.FEDisplacementMapElement.SVG_CHANNEL_A*/get SVG_CHANNEL_A() { + return 4; + }, + /*svg$.FEDisplacementMapElement.SVG_CHANNEL_B*/get SVG_CHANNEL_B() { + return 3; + }, + /*svg$.FEDisplacementMapElement.SVG_CHANNEL_G*/get SVG_CHANNEL_G() { + return 2; + }, + /*svg$.FEDisplacementMapElement.SVG_CHANNEL_R*/get SVG_CHANNEL_R() { + return 1; + }, + /*svg$.FEDisplacementMapElement.SVG_CHANNEL_UNKNOWN*/get SVG_CHANNEL_UNKNOWN() { + return 0; + } +}, false); +dart.registerExtension("SVGFEDisplacementMapElement", svg$.FEDisplacementMapElement); +svg$.FEDistantLightElement = class FEDistantLightElement extends svg$.SvgElement { + static new() { + return svg$.FEDistantLightElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("feDistantLight")); + } + static get supported() { + return dart.test(svg$.SvgElement.isTagSupported("feDistantLight")) && svg$.FEDistantLightElement.is(svg$.SvgElement.tag("feDistantLight")); + } + get [S$3.$azimuth]() { + return this.azimuth; + } + get [S$3.$elevation]() { + return this.elevation; + } +}; +(svg$.FEDistantLightElement.created = function() { + svg$.FEDistantLightElement.__proto__.created.call(this); + ; +}).prototype = svg$.FEDistantLightElement.prototype; +dart.addTypeTests(svg$.FEDistantLightElement); +dart.addTypeCaches(svg$.FEDistantLightElement); +dart.setGetterSignature(svg$.FEDistantLightElement, () => ({ + __proto__: dart.getGetters(svg$.FEDistantLightElement.__proto__), + [S$3.$azimuth]: dart.nullable(svg$.AnimatedNumber), + [S$3.$elevation]: dart.nullable(svg$.AnimatedNumber) +})); +dart.setLibraryUri(svg$.FEDistantLightElement, I[157]); +dart.registerExtension("SVGFEDistantLightElement", svg$.FEDistantLightElement); +svg$.FEFloodElement = class FEFloodElement extends svg$.SvgElement { + static new() { + return svg$.FEFloodElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("feFlood")); + } + static get supported() { + return dart.test(svg$.SvgElement.isTagSupported("feFlood")) && svg$.FEFloodElement.is(svg$.SvgElement.tag("feFlood")); + } + get [$height]() { + return this.height; + } + get [S.$result]() { + return this.result; + } + get [$width]() { + return this.width; + } + get [S$.$x]() { + return this.x; + } + get [S$.$y]() { + return this.y; + } +}; +(svg$.FEFloodElement.created = function() { + svg$.FEFloodElement.__proto__.created.call(this); + ; +}).prototype = svg$.FEFloodElement.prototype; +dart.addTypeTests(svg$.FEFloodElement); +dart.addTypeCaches(svg$.FEFloodElement); +svg$.FEFloodElement[dart.implements] = () => [svg$.FilterPrimitiveStandardAttributes]; +dart.setGetterSignature(svg$.FEFloodElement, () => ({ + __proto__: dart.getGetters(svg$.FEFloodElement.__proto__), + [$height]: dart.nullable(svg$.AnimatedLength), + [S.$result]: dart.nullable(svg$.AnimatedString), + [$width]: dart.nullable(svg$.AnimatedLength), + [S$.$x]: dart.nullable(svg$.AnimatedLength), + [S$.$y]: dart.nullable(svg$.AnimatedLength) +})); +dart.setLibraryUri(svg$.FEFloodElement, I[157]); +dart.registerExtension("SVGFEFloodElement", svg$.FEFloodElement); +svg$._SVGComponentTransferFunctionElement = class _SVGComponentTransferFunctionElement extends svg$.SvgElement {}; +(svg$._SVGComponentTransferFunctionElement.created = function() { + svg$._SVGComponentTransferFunctionElement.__proto__.created.call(this); + ; +}).prototype = svg$._SVGComponentTransferFunctionElement.prototype; +dart.addTypeTests(svg$._SVGComponentTransferFunctionElement); +dart.addTypeCaches(svg$._SVGComponentTransferFunctionElement); +dart.setLibraryUri(svg$._SVGComponentTransferFunctionElement, I[157]); +dart.registerExtension("SVGComponentTransferFunctionElement", svg$._SVGComponentTransferFunctionElement); +svg$.FEFuncAElement = class FEFuncAElement extends svg$._SVGComponentTransferFunctionElement { + static new() { + return svg$.FEFuncAElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("feFuncA")); + } + static get supported() { + return dart.test(svg$.SvgElement.isTagSupported("feFuncA")) && svg$.FEFuncAElement.is(svg$.SvgElement.tag("feFuncA")); + } +}; +(svg$.FEFuncAElement.created = function() { + svg$.FEFuncAElement.__proto__.created.call(this); + ; +}).prototype = svg$.FEFuncAElement.prototype; +dart.addTypeTests(svg$.FEFuncAElement); +dart.addTypeCaches(svg$.FEFuncAElement); +dart.setLibraryUri(svg$.FEFuncAElement, I[157]); +dart.registerExtension("SVGFEFuncAElement", svg$.FEFuncAElement); +svg$.FEFuncBElement = class FEFuncBElement extends svg$._SVGComponentTransferFunctionElement { + static new() { + return svg$.FEFuncBElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("feFuncB")); + } + static get supported() { + return dart.test(svg$.SvgElement.isTagSupported("feFuncB")) && svg$.FEFuncBElement.is(svg$.SvgElement.tag("feFuncB")); + } +}; +(svg$.FEFuncBElement.created = function() { + svg$.FEFuncBElement.__proto__.created.call(this); + ; +}).prototype = svg$.FEFuncBElement.prototype; +dart.addTypeTests(svg$.FEFuncBElement); +dart.addTypeCaches(svg$.FEFuncBElement); +dart.setLibraryUri(svg$.FEFuncBElement, I[157]); +dart.registerExtension("SVGFEFuncBElement", svg$.FEFuncBElement); +svg$.FEFuncGElement = class FEFuncGElement extends svg$._SVGComponentTransferFunctionElement { + static new() { + return svg$.FEFuncGElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("feFuncG")); + } + static get supported() { + return dart.test(svg$.SvgElement.isTagSupported("feFuncG")) && svg$.FEFuncGElement.is(svg$.SvgElement.tag("feFuncG")); + } +}; +(svg$.FEFuncGElement.created = function() { + svg$.FEFuncGElement.__proto__.created.call(this); + ; +}).prototype = svg$.FEFuncGElement.prototype; +dart.addTypeTests(svg$.FEFuncGElement); +dart.addTypeCaches(svg$.FEFuncGElement); +dart.setLibraryUri(svg$.FEFuncGElement, I[157]); +dart.registerExtension("SVGFEFuncGElement", svg$.FEFuncGElement); +svg$.FEFuncRElement = class FEFuncRElement extends svg$._SVGComponentTransferFunctionElement { + static new() { + return svg$.FEFuncRElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("feFuncR")); + } + static get supported() { + return dart.test(svg$.SvgElement.isTagSupported("feFuncR")) && svg$.FEFuncRElement.is(svg$.SvgElement.tag("feFuncR")); + } +}; +(svg$.FEFuncRElement.created = function() { + svg$.FEFuncRElement.__proto__.created.call(this); + ; +}).prototype = svg$.FEFuncRElement.prototype; +dart.addTypeTests(svg$.FEFuncRElement); +dart.addTypeCaches(svg$.FEFuncRElement); +dart.setLibraryUri(svg$.FEFuncRElement, I[157]); +dart.registerExtension("SVGFEFuncRElement", svg$.FEFuncRElement); +svg$.FEGaussianBlurElement = class FEGaussianBlurElement extends svg$.SvgElement { + static new() { + return svg$.FEGaussianBlurElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("feGaussianBlur")); + } + static get supported() { + return dart.test(svg$.SvgElement.isTagSupported("feGaussianBlur")) && svg$.FEGaussianBlurElement.is(svg$.SvgElement.tag("feGaussianBlur")); + } + get [S$3.$in1]() { + return this.in1; + } + get [S$3.$stdDeviationX]() { + return this.stdDeviationX; + } + get [S$3.$stdDeviationY]() { + return this.stdDeviationY; + } + [S$3.$setStdDeviation](...args) { + return this.setStdDeviation.apply(this, args); + } + get [$height]() { + return this.height; + } + get [S.$result]() { + return this.result; + } + get [$width]() { + return this.width; + } + get [S$.$x]() { + return this.x; + } + get [S$.$y]() { + return this.y; + } +}; +(svg$.FEGaussianBlurElement.created = function() { + svg$.FEGaussianBlurElement.__proto__.created.call(this); + ; +}).prototype = svg$.FEGaussianBlurElement.prototype; +dart.addTypeTests(svg$.FEGaussianBlurElement); +dart.addTypeCaches(svg$.FEGaussianBlurElement); +svg$.FEGaussianBlurElement[dart.implements] = () => [svg$.FilterPrimitiveStandardAttributes]; +dart.setMethodSignature(svg$.FEGaussianBlurElement, () => ({ + __proto__: dart.getMethods(svg$.FEGaussianBlurElement.__proto__), + [S$3.$setStdDeviation]: dart.fnType(dart.void, [core.num, core.num]) +})); +dart.setGetterSignature(svg$.FEGaussianBlurElement, () => ({ + __proto__: dart.getGetters(svg$.FEGaussianBlurElement.__proto__), + [S$3.$in1]: dart.nullable(svg$.AnimatedString), + [S$3.$stdDeviationX]: dart.nullable(svg$.AnimatedNumber), + [S$3.$stdDeviationY]: dart.nullable(svg$.AnimatedNumber), + [$height]: dart.nullable(svg$.AnimatedLength), + [S.$result]: dart.nullable(svg$.AnimatedString), + [$width]: dart.nullable(svg$.AnimatedLength), + [S$.$x]: dart.nullable(svg$.AnimatedLength), + [S$.$y]: dart.nullable(svg$.AnimatedLength) +})); +dart.setLibraryUri(svg$.FEGaussianBlurElement, I[157]); +dart.registerExtension("SVGFEGaussianBlurElement", svg$.FEGaussianBlurElement); +svg$.FEImageElement = class FEImageElement extends svg$.SvgElement { + static new() { + return svg$.FEImageElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("feImage")); + } + static get supported() { + return dart.test(svg$.SvgElement.isTagSupported("feImage")) && svg$.FEImageElement.is(svg$.SvgElement.tag("feImage")); + } + get [S$3.$preserveAspectRatio]() { + return this.preserveAspectRatio; + } + get [$height]() { + return this.height; + } + get [S.$result]() { + return this.result; + } + get [$width]() { + return this.width; + } + get [S$.$x]() { + return this.x; + } + get [S$.$y]() { + return this.y; + } + get [S$.$href]() { + return this.href; + } +}; +(svg$.FEImageElement.created = function() { + svg$.FEImageElement.__proto__.created.call(this); + ; +}).prototype = svg$.FEImageElement.prototype; +dart.addTypeTests(svg$.FEImageElement); +dart.addTypeCaches(svg$.FEImageElement); +svg$.FEImageElement[dart.implements] = () => [svg$.FilterPrimitiveStandardAttributes, svg$.UriReference]; +dart.setGetterSignature(svg$.FEImageElement, () => ({ + __proto__: dart.getGetters(svg$.FEImageElement.__proto__), + [S$3.$preserveAspectRatio]: dart.nullable(svg$.AnimatedPreserveAspectRatio), + [$height]: dart.nullable(svg$.AnimatedLength), + [S.$result]: dart.nullable(svg$.AnimatedString), + [$width]: dart.nullable(svg$.AnimatedLength), + [S$.$x]: dart.nullable(svg$.AnimatedLength), + [S$.$y]: dart.nullable(svg$.AnimatedLength), + [S$.$href]: dart.nullable(svg$.AnimatedString) +})); +dart.setLibraryUri(svg$.FEImageElement, I[157]); +dart.registerExtension("SVGFEImageElement", svg$.FEImageElement); +svg$.FEMergeElement = class FEMergeElement extends svg$.SvgElement { + static new() { + return svg$.FEMergeElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("feMerge")); + } + static get supported() { + return dart.test(svg$.SvgElement.isTagSupported("feMerge")) && svg$.FEMergeElement.is(svg$.SvgElement.tag("feMerge")); + } + get [$height]() { + return this.height; + } + get [S.$result]() { + return this.result; + } + get [$width]() { + return this.width; + } + get [S$.$x]() { + return this.x; + } + get [S$.$y]() { + return this.y; + } +}; +(svg$.FEMergeElement.created = function() { + svg$.FEMergeElement.__proto__.created.call(this); + ; +}).prototype = svg$.FEMergeElement.prototype; +dart.addTypeTests(svg$.FEMergeElement); +dart.addTypeCaches(svg$.FEMergeElement); +svg$.FEMergeElement[dart.implements] = () => [svg$.FilterPrimitiveStandardAttributes]; +dart.setGetterSignature(svg$.FEMergeElement, () => ({ + __proto__: dart.getGetters(svg$.FEMergeElement.__proto__), + [$height]: dart.nullable(svg$.AnimatedLength), + [S.$result]: dart.nullable(svg$.AnimatedString), + [$width]: dart.nullable(svg$.AnimatedLength), + [S$.$x]: dart.nullable(svg$.AnimatedLength), + [S$.$y]: dart.nullable(svg$.AnimatedLength) +})); +dart.setLibraryUri(svg$.FEMergeElement, I[157]); +dart.registerExtension("SVGFEMergeElement", svg$.FEMergeElement); +svg$.FEMergeNodeElement = class FEMergeNodeElement extends svg$.SvgElement { + static new() { + return svg$.FEMergeNodeElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("feMergeNode")); + } + static get supported() { + return dart.test(svg$.SvgElement.isTagSupported("feMergeNode")) && svg$.FEMergeNodeElement.is(svg$.SvgElement.tag("feMergeNode")); + } + get [S$3.$in1]() { + return this.in1; + } +}; +(svg$.FEMergeNodeElement.created = function() { + svg$.FEMergeNodeElement.__proto__.created.call(this); + ; +}).prototype = svg$.FEMergeNodeElement.prototype; +dart.addTypeTests(svg$.FEMergeNodeElement); +dart.addTypeCaches(svg$.FEMergeNodeElement); +dart.setGetterSignature(svg$.FEMergeNodeElement, () => ({ + __proto__: dart.getGetters(svg$.FEMergeNodeElement.__proto__), + [S$3.$in1]: dart.nullable(svg$.AnimatedString) +})); +dart.setLibraryUri(svg$.FEMergeNodeElement, I[157]); +dart.registerExtension("SVGFEMergeNodeElement", svg$.FEMergeNodeElement); +svg$.FEMorphologyElement = class FEMorphologyElement extends svg$.SvgElement { + get [S$3.$in1]() { + return this.in1; + } + get [S$3.$operator]() { + return this.operator; + } + get [S$2.$radiusX]() { + return this.radiusX; + } + get [S$2.$radiusY]() { + return this.radiusY; + } + get [$height]() { + return this.height; + } + get [S.$result]() { + return this.result; + } + get [$width]() { + return this.width; + } + get [S$.$x]() { + return this.x; + } + get [S$.$y]() { + return this.y; + } +}; +(svg$.FEMorphologyElement.created = function() { + svg$.FEMorphologyElement.__proto__.created.call(this); + ; +}).prototype = svg$.FEMorphologyElement.prototype; +dart.addTypeTests(svg$.FEMorphologyElement); +dart.addTypeCaches(svg$.FEMorphologyElement); +svg$.FEMorphologyElement[dart.implements] = () => [svg$.FilterPrimitiveStandardAttributes]; +dart.setGetterSignature(svg$.FEMorphologyElement, () => ({ + __proto__: dart.getGetters(svg$.FEMorphologyElement.__proto__), + [S$3.$in1]: dart.nullable(svg$.AnimatedString), + [S$3.$operator]: dart.nullable(svg$.AnimatedEnumeration), + [S$2.$radiusX]: dart.nullable(svg$.AnimatedNumber), + [S$2.$radiusY]: dart.nullable(svg$.AnimatedNumber), + [$height]: dart.nullable(svg$.AnimatedLength), + [S.$result]: dart.nullable(svg$.AnimatedString), + [$width]: dart.nullable(svg$.AnimatedLength), + [S$.$x]: dart.nullable(svg$.AnimatedLength), + [S$.$y]: dart.nullable(svg$.AnimatedLength) +})); +dart.setLibraryUri(svg$.FEMorphologyElement, I[157]); +dart.defineLazy(svg$.FEMorphologyElement, { + /*svg$.FEMorphologyElement.SVG_MORPHOLOGY_OPERATOR_DILATE*/get SVG_MORPHOLOGY_OPERATOR_DILATE() { + return 2; + }, + /*svg$.FEMorphologyElement.SVG_MORPHOLOGY_OPERATOR_ERODE*/get SVG_MORPHOLOGY_OPERATOR_ERODE() { + return 1; + }, + /*svg$.FEMorphologyElement.SVG_MORPHOLOGY_OPERATOR_UNKNOWN*/get SVG_MORPHOLOGY_OPERATOR_UNKNOWN() { + return 0; + } +}, false); +dart.registerExtension("SVGFEMorphologyElement", svg$.FEMorphologyElement); +svg$.FEOffsetElement = class FEOffsetElement extends svg$.SvgElement { + static new() { + return svg$.FEOffsetElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("feOffset")); + } + static get supported() { + return dart.test(svg$.SvgElement.isTagSupported("feOffset")) && svg$.FEOffsetElement.is(svg$.SvgElement.tag("feOffset")); + } + get [S$3.$dx]() { + return this.dx; + } + get [S$3.$dy]() { + return this.dy; + } + get [S$3.$in1]() { + return this.in1; + } + get [$height]() { + return this.height; + } + get [S.$result]() { + return this.result; + } + get [$width]() { + return this.width; + } + get [S$.$x]() { + return this.x; + } + get [S$.$y]() { + return this.y; + } +}; +(svg$.FEOffsetElement.created = function() { + svg$.FEOffsetElement.__proto__.created.call(this); + ; +}).prototype = svg$.FEOffsetElement.prototype; +dart.addTypeTests(svg$.FEOffsetElement); +dart.addTypeCaches(svg$.FEOffsetElement); +svg$.FEOffsetElement[dart.implements] = () => [svg$.FilterPrimitiveStandardAttributes]; +dart.setGetterSignature(svg$.FEOffsetElement, () => ({ + __proto__: dart.getGetters(svg$.FEOffsetElement.__proto__), + [S$3.$dx]: dart.nullable(svg$.AnimatedNumber), + [S$3.$dy]: dart.nullable(svg$.AnimatedNumber), + [S$3.$in1]: dart.nullable(svg$.AnimatedString), + [$height]: dart.nullable(svg$.AnimatedLength), + [S.$result]: dart.nullable(svg$.AnimatedString), + [$width]: dart.nullable(svg$.AnimatedLength), + [S$.$x]: dart.nullable(svg$.AnimatedLength), + [S$.$y]: dart.nullable(svg$.AnimatedLength) +})); +dart.setLibraryUri(svg$.FEOffsetElement, I[157]); +dart.registerExtension("SVGFEOffsetElement", svg$.FEOffsetElement); +svg$.FEPointLightElement = class FEPointLightElement extends svg$.SvgElement { + static new() { + return svg$.FEPointLightElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("fePointLight")); + } + static get supported() { + return dart.test(svg$.SvgElement.isTagSupported("fePointLight")) && svg$.FEPointLightElement.is(svg$.SvgElement.tag("fePointLight")); + } + get [S$.$x]() { + return this.x; + } + get [S$.$y]() { + return this.y; + } + get [S$.$z]() { + return this.z; + } +}; +(svg$.FEPointLightElement.created = function() { + svg$.FEPointLightElement.__proto__.created.call(this); + ; +}).prototype = svg$.FEPointLightElement.prototype; +dart.addTypeTests(svg$.FEPointLightElement); +dart.addTypeCaches(svg$.FEPointLightElement); +dart.setGetterSignature(svg$.FEPointLightElement, () => ({ + __proto__: dart.getGetters(svg$.FEPointLightElement.__proto__), + [S$.$x]: dart.nullable(svg$.AnimatedNumber), + [S$.$y]: dart.nullable(svg$.AnimatedNumber), + [S$.$z]: dart.nullable(svg$.AnimatedNumber) +})); +dart.setLibraryUri(svg$.FEPointLightElement, I[157]); +dart.registerExtension("SVGFEPointLightElement", svg$.FEPointLightElement); +svg$.FESpecularLightingElement = class FESpecularLightingElement extends svg$.SvgElement { + static new() { + return svg$.FESpecularLightingElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("feSpecularLighting")); + } + static get supported() { + return dart.test(svg$.SvgElement.isTagSupported("feSpecularLighting")) && svg$.FESpecularLightingElement.is(svg$.SvgElement.tag("feSpecularLighting")); + } + get [S$3.$in1]() { + return this.in1; + } + get [S$3.$kernelUnitLengthX]() { + return this.kernelUnitLengthX; + } + get [S$3.$kernelUnitLengthY]() { + return this.kernelUnitLengthY; + } + get [S$3.$specularConstant]() { + return this.specularConstant; + } + get [S$3.$specularExponent]() { + return this.specularExponent; + } + get [S$3.$surfaceScale]() { + return this.surfaceScale; + } + get [$height]() { + return this.height; + } + get [S.$result]() { + return this.result; + } + get [$width]() { + return this.width; + } + get [S$.$x]() { + return this.x; + } + get [S$.$y]() { + return this.y; + } +}; +(svg$.FESpecularLightingElement.created = function() { + svg$.FESpecularLightingElement.__proto__.created.call(this); + ; +}).prototype = svg$.FESpecularLightingElement.prototype; +dart.addTypeTests(svg$.FESpecularLightingElement); +dart.addTypeCaches(svg$.FESpecularLightingElement); +svg$.FESpecularLightingElement[dart.implements] = () => [svg$.FilterPrimitiveStandardAttributes]; +dart.setGetterSignature(svg$.FESpecularLightingElement, () => ({ + __proto__: dart.getGetters(svg$.FESpecularLightingElement.__proto__), + [S$3.$in1]: dart.nullable(svg$.AnimatedString), + [S$3.$kernelUnitLengthX]: dart.nullable(svg$.AnimatedNumber), + [S$3.$kernelUnitLengthY]: dart.nullable(svg$.AnimatedNumber), + [S$3.$specularConstant]: dart.nullable(svg$.AnimatedNumber), + [S$3.$specularExponent]: dart.nullable(svg$.AnimatedNumber), + [S$3.$surfaceScale]: dart.nullable(svg$.AnimatedNumber), + [$height]: dart.nullable(svg$.AnimatedLength), + [S.$result]: dart.nullable(svg$.AnimatedString), + [$width]: dart.nullable(svg$.AnimatedLength), + [S$.$x]: dart.nullable(svg$.AnimatedLength), + [S$.$y]: dart.nullable(svg$.AnimatedLength) +})); +dart.setLibraryUri(svg$.FESpecularLightingElement, I[157]); +dart.registerExtension("SVGFESpecularLightingElement", svg$.FESpecularLightingElement); +svg$.FESpotLightElement = class FESpotLightElement extends svg$.SvgElement { + static new() { + return svg$.FESpotLightElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("feSpotLight")); + } + static get supported() { + return dart.test(svg$.SvgElement.isTagSupported("feSpotLight")) && svg$.FESpotLightElement.is(svg$.SvgElement.tag("feSpotLight")); + } + get [S$3.$limitingConeAngle]() { + return this.limitingConeAngle; + } + get [S$3.$pointsAtX]() { + return this.pointsAtX; + } + get [S$3.$pointsAtY]() { + return this.pointsAtY; + } + get [S$3.$pointsAtZ]() { + return this.pointsAtZ; + } + get [S$3.$specularExponent]() { + return this.specularExponent; + } + get [S$.$x]() { + return this.x; + } + get [S$.$y]() { + return this.y; + } + get [S$.$z]() { + return this.z; + } +}; +(svg$.FESpotLightElement.created = function() { + svg$.FESpotLightElement.__proto__.created.call(this); + ; +}).prototype = svg$.FESpotLightElement.prototype; +dart.addTypeTests(svg$.FESpotLightElement); +dart.addTypeCaches(svg$.FESpotLightElement); +dart.setGetterSignature(svg$.FESpotLightElement, () => ({ + __proto__: dart.getGetters(svg$.FESpotLightElement.__proto__), + [S$3.$limitingConeAngle]: dart.nullable(svg$.AnimatedNumber), + [S$3.$pointsAtX]: dart.nullable(svg$.AnimatedNumber), + [S$3.$pointsAtY]: dart.nullable(svg$.AnimatedNumber), + [S$3.$pointsAtZ]: dart.nullable(svg$.AnimatedNumber), + [S$3.$specularExponent]: dart.nullable(svg$.AnimatedNumber), + [S$.$x]: dart.nullable(svg$.AnimatedNumber), + [S$.$y]: dart.nullable(svg$.AnimatedNumber), + [S$.$z]: dart.nullable(svg$.AnimatedNumber) +})); +dart.setLibraryUri(svg$.FESpotLightElement, I[157]); +dart.registerExtension("SVGFESpotLightElement", svg$.FESpotLightElement); +svg$.FETileElement = class FETileElement extends svg$.SvgElement { + static new() { + return svg$.FETileElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("feTile")); + } + static get supported() { + return dart.test(svg$.SvgElement.isTagSupported("feTile")) && svg$.FETileElement.is(svg$.SvgElement.tag("feTile")); + } + get [S$3.$in1]() { + return this.in1; + } + get [$height]() { + return this.height; + } + get [S.$result]() { + return this.result; + } + get [$width]() { + return this.width; + } + get [S$.$x]() { + return this.x; + } + get [S$.$y]() { + return this.y; + } +}; +(svg$.FETileElement.created = function() { + svg$.FETileElement.__proto__.created.call(this); + ; +}).prototype = svg$.FETileElement.prototype; +dart.addTypeTests(svg$.FETileElement); +dart.addTypeCaches(svg$.FETileElement); +svg$.FETileElement[dart.implements] = () => [svg$.FilterPrimitiveStandardAttributes]; +dart.setGetterSignature(svg$.FETileElement, () => ({ + __proto__: dart.getGetters(svg$.FETileElement.__proto__), + [S$3.$in1]: dart.nullable(svg$.AnimatedString), + [$height]: dart.nullable(svg$.AnimatedLength), + [S.$result]: dart.nullable(svg$.AnimatedString), + [$width]: dart.nullable(svg$.AnimatedLength), + [S$.$x]: dart.nullable(svg$.AnimatedLength), + [S$.$y]: dart.nullable(svg$.AnimatedLength) +})); +dart.setLibraryUri(svg$.FETileElement, I[157]); +dart.registerExtension("SVGFETileElement", svg$.FETileElement); +svg$.FETurbulenceElement = class FETurbulenceElement extends svg$.SvgElement { + static new() { + return svg$.FETurbulenceElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("feTurbulence")); + } + static get supported() { + return dart.test(svg$.SvgElement.isTagSupported("feTurbulence")) && svg$.FETurbulenceElement.is(svg$.SvgElement.tag("feTurbulence")); + } + get [S$3.$baseFrequencyX]() { + return this.baseFrequencyX; + } + get [S$3.$baseFrequencyY]() { + return this.baseFrequencyY; + } + get [S$3.$numOctaves]() { + return this.numOctaves; + } + get [S$3.$seed]() { + return this.seed; + } + get [S$3.$stitchTiles]() { + return this.stitchTiles; + } + get [S.$type]() { + return this.type; + } + get [$height]() { + return this.height; + } + get [S.$result]() { + return this.result; + } + get [$width]() { + return this.width; + } + get [S$.$x]() { + return this.x; + } + get [S$.$y]() { + return this.y; + } +}; +(svg$.FETurbulenceElement.created = function() { + svg$.FETurbulenceElement.__proto__.created.call(this); + ; +}).prototype = svg$.FETurbulenceElement.prototype; +dart.addTypeTests(svg$.FETurbulenceElement); +dart.addTypeCaches(svg$.FETurbulenceElement); +svg$.FETurbulenceElement[dart.implements] = () => [svg$.FilterPrimitiveStandardAttributes]; +dart.setGetterSignature(svg$.FETurbulenceElement, () => ({ + __proto__: dart.getGetters(svg$.FETurbulenceElement.__proto__), + [S$3.$baseFrequencyX]: dart.nullable(svg$.AnimatedNumber), + [S$3.$baseFrequencyY]: dart.nullable(svg$.AnimatedNumber), + [S$3.$numOctaves]: dart.nullable(svg$.AnimatedInteger), + [S$3.$seed]: dart.nullable(svg$.AnimatedNumber), + [S$3.$stitchTiles]: dart.nullable(svg$.AnimatedEnumeration), + [S.$type]: dart.nullable(svg$.AnimatedEnumeration), + [$height]: dart.nullable(svg$.AnimatedLength), + [S.$result]: dart.nullable(svg$.AnimatedString), + [$width]: dart.nullable(svg$.AnimatedLength), + [S$.$x]: dart.nullable(svg$.AnimatedLength), + [S$.$y]: dart.nullable(svg$.AnimatedLength) +})); +dart.setLibraryUri(svg$.FETurbulenceElement, I[157]); +dart.defineLazy(svg$.FETurbulenceElement, { + /*svg$.FETurbulenceElement.SVG_STITCHTYPE_NOSTITCH*/get SVG_STITCHTYPE_NOSTITCH() { + return 2; + }, + /*svg$.FETurbulenceElement.SVG_STITCHTYPE_STITCH*/get SVG_STITCHTYPE_STITCH() { + return 1; + }, + /*svg$.FETurbulenceElement.SVG_STITCHTYPE_UNKNOWN*/get SVG_STITCHTYPE_UNKNOWN() { + return 0; + }, + /*svg$.FETurbulenceElement.SVG_TURBULENCE_TYPE_FRACTALNOISE*/get SVG_TURBULENCE_TYPE_FRACTALNOISE() { + return 1; + }, + /*svg$.FETurbulenceElement.SVG_TURBULENCE_TYPE_TURBULENCE*/get SVG_TURBULENCE_TYPE_TURBULENCE() { + return 2; + }, + /*svg$.FETurbulenceElement.SVG_TURBULENCE_TYPE_UNKNOWN*/get SVG_TURBULENCE_TYPE_UNKNOWN() { + return 0; + } +}, false); +dart.registerExtension("SVGFETurbulenceElement", svg$.FETurbulenceElement); +svg$.FilterElement = class FilterElement extends svg$.SvgElement { + static new() { + return svg$.FilterElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("filter")); + } + static get supported() { + return dart.test(svg$.SvgElement.isTagSupported("filter")) && svg$.FilterElement.is(svg$.SvgElement.tag("filter")); + } + get [S$3.$filterUnits]() { + return this.filterUnits; + } + get [$height]() { + return this.height; + } + get [S$3.$primitiveUnits]() { + return this.primitiveUnits; + } + get [$width]() { + return this.width; + } + get [S$.$x]() { + return this.x; + } + get [S$.$y]() { + return this.y; + } + get [S$.$href]() { + return this.href; + } +}; +(svg$.FilterElement.created = function() { + svg$.FilterElement.__proto__.created.call(this); + ; +}).prototype = svg$.FilterElement.prototype; +dart.addTypeTests(svg$.FilterElement); +dart.addTypeCaches(svg$.FilterElement); +svg$.FilterElement[dart.implements] = () => [svg$.UriReference]; +dart.setGetterSignature(svg$.FilterElement, () => ({ + __proto__: dart.getGetters(svg$.FilterElement.__proto__), + [S$3.$filterUnits]: dart.nullable(svg$.AnimatedEnumeration), + [$height]: dart.nullable(svg$.AnimatedLength), + [S$3.$primitiveUnits]: dart.nullable(svg$.AnimatedEnumeration), + [$width]: dart.nullable(svg$.AnimatedLength), + [S$.$x]: dart.nullable(svg$.AnimatedLength), + [S$.$y]: dart.nullable(svg$.AnimatedLength), + [S$.$href]: dart.nullable(svg$.AnimatedString) +})); +dart.setLibraryUri(svg$.FilterElement, I[157]); +dart.registerExtension("SVGFilterElement", svg$.FilterElement); +svg$.FilterPrimitiveStandardAttributes = class FilterPrimitiveStandardAttributes extends _interceptors.Interceptor { + get height() { + return this.height; + } + get result() { + return this.result; + } + get width() { + return this.width; + } + get x() { + return this.x; + } + get y() { + return this.y; + } +}; +dart.addTypeTests(svg$.FilterPrimitiveStandardAttributes); +dart.addTypeCaches(svg$.FilterPrimitiveStandardAttributes); +dart.setGetterSignature(svg$.FilterPrimitiveStandardAttributes, () => ({ + __proto__: dart.getGetters(svg$.FilterPrimitiveStandardAttributes.__proto__), + height: dart.nullable(svg$.AnimatedLength), + [$height]: dart.nullable(svg$.AnimatedLength), + result: dart.nullable(svg$.AnimatedString), + [S.$result]: dart.nullable(svg$.AnimatedString), + width: dart.nullable(svg$.AnimatedLength), + [$width]: dart.nullable(svg$.AnimatedLength), + x: dart.nullable(svg$.AnimatedLength), + [S$.$x]: dart.nullable(svg$.AnimatedLength), + y: dart.nullable(svg$.AnimatedLength), + [S$.$y]: dart.nullable(svg$.AnimatedLength) +})); +dart.setLibraryUri(svg$.FilterPrimitiveStandardAttributes, I[157]); +dart.defineExtensionAccessors(svg$.FilterPrimitiveStandardAttributes, [ + 'height', + 'result', + 'width', + 'x', + 'y' +]); +svg$.FitToViewBox = class FitToViewBox extends _interceptors.Interceptor { + get preserveAspectRatio() { + return this.preserveAspectRatio; + } + get viewBox() { + return this.viewBox; + } +}; +dart.addTypeTests(svg$.FitToViewBox); +dart.addTypeCaches(svg$.FitToViewBox); +dart.setGetterSignature(svg$.FitToViewBox, () => ({ + __proto__: dart.getGetters(svg$.FitToViewBox.__proto__), + preserveAspectRatio: dart.nullable(svg$.AnimatedPreserveAspectRatio), + [S$3.$preserveAspectRatio]: dart.nullable(svg$.AnimatedPreserveAspectRatio), + viewBox: dart.nullable(svg$.AnimatedRect), + [S$3.$viewBox]: dart.nullable(svg$.AnimatedRect) +})); +dart.setLibraryUri(svg$.FitToViewBox, I[157]); +dart.defineExtensionAccessors(svg$.FitToViewBox, ['preserveAspectRatio', 'viewBox']); +svg$.ForeignObjectElement = class ForeignObjectElement extends svg$.GraphicsElement { + static new() { + return svg$.ForeignObjectElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("foreignObject")); + } + static get supported() { + return dart.test(svg$.SvgElement.isTagSupported("foreignObject")) && svg$.ForeignObjectElement.is(svg$.SvgElement.tag("foreignObject")); + } + get [$height]() { + return this.height; + } + get [$width]() { + return this.width; + } + get [S$.$x]() { + return this.x; + } + get [S$.$y]() { + return this.y; + } +}; +(svg$.ForeignObjectElement.created = function() { + svg$.ForeignObjectElement.__proto__.created.call(this); + ; +}).prototype = svg$.ForeignObjectElement.prototype; +dart.addTypeTests(svg$.ForeignObjectElement); +dart.addTypeCaches(svg$.ForeignObjectElement); +dart.setGetterSignature(svg$.ForeignObjectElement, () => ({ + __proto__: dart.getGetters(svg$.ForeignObjectElement.__proto__), + [$height]: dart.nullable(svg$.AnimatedLength), + [$width]: dart.nullable(svg$.AnimatedLength), + [S$.$x]: dart.nullable(svg$.AnimatedLength), + [S$.$y]: dart.nullable(svg$.AnimatedLength) +})); +dart.setLibraryUri(svg$.ForeignObjectElement, I[157]); +dart.registerExtension("SVGForeignObjectElement", svg$.ForeignObjectElement); +svg$.GElement = class GElement extends svg$.GraphicsElement { + static new() { + return svg$.GElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("g")); + } +}; +(svg$.GElement.created = function() { + svg$.GElement.__proto__.created.call(this); + ; +}).prototype = svg$.GElement.prototype; +dart.addTypeTests(svg$.GElement); +dart.addTypeCaches(svg$.GElement); +dart.setLibraryUri(svg$.GElement, I[157]); +dart.registerExtension("SVGGElement", svg$.GElement); +svg$.ImageElement = class ImageElement extends svg$.GraphicsElement { + static new() { + return svg$.ImageElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("image")); + } + get [S$1.$async]() { + return this.async; + } + set [S$1.$async](value) { + this.async = value; + } + get [$height]() { + return this.height; + } + get [S$3.$preserveAspectRatio]() { + return this.preserveAspectRatio; + } + get [$width]() { + return this.width; + } + get [S$.$x]() { + return this.x; + } + get [S$.$y]() { + return this.y; + } + [S$1.$decode]() { + return js_util.promiseToFuture(dart.dynamic, this.decode()); + } + get [S$.$href]() { + return this.href; + } +}; +(svg$.ImageElement.created = function() { + svg$.ImageElement.__proto__.created.call(this); + ; +}).prototype = svg$.ImageElement.prototype; +dart.addTypeTests(svg$.ImageElement); +dart.addTypeCaches(svg$.ImageElement); +svg$.ImageElement[dart.implements] = () => [svg$.UriReference]; +dart.setMethodSignature(svg$.ImageElement, () => ({ + __proto__: dart.getMethods(svg$.ImageElement.__proto__), + [S$1.$decode]: dart.fnType(async.Future, []) +})); +dart.setGetterSignature(svg$.ImageElement, () => ({ + __proto__: dart.getGetters(svg$.ImageElement.__proto__), + [S$1.$async]: dart.nullable(core.String), + [$height]: dart.nullable(svg$.AnimatedLength), + [S$3.$preserveAspectRatio]: dart.nullable(svg$.AnimatedPreserveAspectRatio), + [$width]: dart.nullable(svg$.AnimatedLength), + [S$.$x]: dart.nullable(svg$.AnimatedLength), + [S$.$y]: dart.nullable(svg$.AnimatedLength), + [S$.$href]: dart.nullable(svg$.AnimatedString) +})); +dart.setSetterSignature(svg$.ImageElement, () => ({ + __proto__: dart.getSetters(svg$.ImageElement.__proto__), + [S$1.$async]: dart.nullable(core.String) +})); +dart.setLibraryUri(svg$.ImageElement, I[157]); +dart.registerExtension("SVGImageElement", svg$.ImageElement); +svg$.Length = class Length extends _interceptors.Interceptor { + get [S$3.$unitType]() { + return this.unitType; + } + get [S.$value]() { + return this.value; + } + set [S.$value](value) { + this.value = value; + } + get [S$3.$valueAsString]() { + return this.valueAsString; + } + set [S$3.$valueAsString](value) { + this.valueAsString = value; + } + get [S$3.$valueInSpecifiedUnits]() { + return this.valueInSpecifiedUnits; + } + set [S$3.$valueInSpecifiedUnits](value) { + this.valueInSpecifiedUnits = value; + } + [S$3.$convertToSpecifiedUnits](...args) { + return this.convertToSpecifiedUnits.apply(this, args); + } + [S$3.$newValueSpecifiedUnits](...args) { + return this.newValueSpecifiedUnits.apply(this, args); + } +}; +dart.addTypeTests(svg$.Length); +dart.addTypeCaches(svg$.Length); +dart.setMethodSignature(svg$.Length, () => ({ + __proto__: dart.getMethods(svg$.Length.__proto__), + [S$3.$convertToSpecifiedUnits]: dart.fnType(dart.void, [core.int]), + [S$3.$newValueSpecifiedUnits]: dart.fnType(dart.void, [core.int, core.num]) +})); +dart.setGetterSignature(svg$.Length, () => ({ + __proto__: dart.getGetters(svg$.Length.__proto__), + [S$3.$unitType]: dart.nullable(core.int), + [S.$value]: dart.nullable(core.num), + [S$3.$valueAsString]: dart.nullable(core.String), + [S$3.$valueInSpecifiedUnits]: dart.nullable(core.num) +})); +dart.setSetterSignature(svg$.Length, () => ({ + __proto__: dart.getSetters(svg$.Length.__proto__), + [S.$value]: dart.nullable(core.num), + [S$3.$valueAsString]: dart.nullable(core.String), + [S$3.$valueInSpecifiedUnits]: dart.nullable(core.num) +})); +dart.setLibraryUri(svg$.Length, I[157]); +dart.defineLazy(svg$.Length, { + /*svg$.Length.SVG_LENGTHTYPE_CM*/get SVG_LENGTHTYPE_CM() { + return 6; + }, + /*svg$.Length.SVG_LENGTHTYPE_EMS*/get SVG_LENGTHTYPE_EMS() { + return 3; + }, + /*svg$.Length.SVG_LENGTHTYPE_EXS*/get SVG_LENGTHTYPE_EXS() { + return 4; + }, + /*svg$.Length.SVG_LENGTHTYPE_IN*/get SVG_LENGTHTYPE_IN() { + return 8; + }, + /*svg$.Length.SVG_LENGTHTYPE_MM*/get SVG_LENGTHTYPE_MM() { + return 7; + }, + /*svg$.Length.SVG_LENGTHTYPE_NUMBER*/get SVG_LENGTHTYPE_NUMBER() { + return 1; + }, + /*svg$.Length.SVG_LENGTHTYPE_PC*/get SVG_LENGTHTYPE_PC() { + return 10; + }, + /*svg$.Length.SVG_LENGTHTYPE_PERCENTAGE*/get SVG_LENGTHTYPE_PERCENTAGE() { + return 2; + }, + /*svg$.Length.SVG_LENGTHTYPE_PT*/get SVG_LENGTHTYPE_PT() { + return 9; + }, + /*svg$.Length.SVG_LENGTHTYPE_PX*/get SVG_LENGTHTYPE_PX() { + return 5; + }, + /*svg$.Length.SVG_LENGTHTYPE_UNKNOWN*/get SVG_LENGTHTYPE_UNKNOWN() { + return 0; + } +}, false); +dart.registerExtension("SVGLength", svg$.Length); +const Interceptor_ListMixin$36$13 = class Interceptor_ListMixin extends _interceptors.Interceptor {}; +(Interceptor_ListMixin$36$13.new = function() { + Interceptor_ListMixin$36$13.__proto__.new.call(this); +}).prototype = Interceptor_ListMixin$36$13.prototype; +dart.applyMixin(Interceptor_ListMixin$36$13, collection.ListMixin$(svg$.Length)); +const Interceptor_ImmutableListMixin$36$13 = class Interceptor_ImmutableListMixin extends Interceptor_ListMixin$36$13 {}; +(Interceptor_ImmutableListMixin$36$13.new = function() { + Interceptor_ImmutableListMixin$36$13.__proto__.new.call(this); +}).prototype = Interceptor_ImmutableListMixin$36$13.prototype; +dart.applyMixin(Interceptor_ImmutableListMixin$36$13, html$.ImmutableListMixin$(svg$.Length)); +svg$.LengthList = class LengthList extends Interceptor_ImmutableListMixin$36$13 { + get [$length]() { + return this.length; + } + get [S$3.$numberOfItems]() { + return this.numberOfItems; + } + [$_get](index) { + if (index == null) dart.nullFailed(I[156], 2053, 26, "index"); + if (index >>> 0 !== index || index >= this[$length]) dart.throw(new core.IndexError.new(index, this)); + return this.getItem(index); + } + [$_set](index, value$) { + let value = value$; + if (index == null) dart.nullFailed(I[156], 2059, 25, "index"); + svg$.Length.as(value); + if (value == null) dart.nullFailed(I[156], 2059, 39, "value"); + dart.throw(new core.UnsupportedError.new("Cannot assign element of immutable List.")); + return value$; + } + set [$length](value) { + if (value == null) dart.nullFailed(I[156], 2065, 18, "value"); + dart.throw(new core.UnsupportedError.new("Cannot resize immutable List.")); + } + get [$first]() { + if (dart.notNull(this[$length]) > 0) { + return this[0]; + } + dart.throw(new core.StateError.new("No elements")); + } + set [$first](value) { + super[$first] = value; + } + get [$last]() { + let len = this[$length]; + if (dart.notNull(len) > 0) { + return this[dart.notNull(len) - 1]; + } + dart.throw(new core.StateError.new("No elements")); + } + set [$last](value) { + super[$last] = value; + } + get [$single]() { + let len = this[$length]; + if (len === 1) { + return this[0]; + } + if (len === 0) dart.throw(new core.StateError.new("No elements")); + dart.throw(new core.StateError.new("More than one element")); + } + [$elementAt](index) { + if (index == null) dart.nullFailed(I[156], 2093, 24, "index"); + return this[$_get](index); + } + [S$3.__setter__$1](...args) { + return this.__setter__.apply(this, args); + } + [S$3.$appendItem](...args) { + return this.appendItem.apply(this, args); + } + [$clear](...args) { + return this.clear.apply(this, args); + } + [S$3.$getItem](...args) { + return this.getItem.apply(this, args); + } + [S$3.$initialize](...args) { + return this.initialize.apply(this, args); + } + [S$3.$insertItemBefore](...args) { + return this.insertItemBefore.apply(this, args); + } + [S$3.$removeItem](...args) { + return this.removeItem.apply(this, args); + } + [S$3.$replaceItem](...args) { + return this.replaceItem.apply(this, args); + } +}; +svg$.LengthList.prototype[dart.isList] = true; +dart.addTypeTests(svg$.LengthList); +dart.addTypeCaches(svg$.LengthList); +svg$.LengthList[dart.implements] = () => [core.List$(svg$.Length)]; +dart.setMethodSignature(svg$.LengthList, () => ({ + __proto__: dart.getMethods(svg$.LengthList.__proto__), + [$_get]: dart.fnType(svg$.Length, [core.int]), + [$_set]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), + [S$3.__setter__$1]: dart.fnType(dart.void, [core.int, svg$.Length]), + [S$3.$appendItem]: dart.fnType(svg$.Length, [svg$.Length]), + [S$3.$getItem]: dart.fnType(svg$.Length, [core.int]), + [S$3.$initialize]: dart.fnType(svg$.Length, [svg$.Length]), + [S$3.$insertItemBefore]: dart.fnType(svg$.Length, [svg$.Length, core.int]), + [S$3.$removeItem]: dart.fnType(svg$.Length, [core.int]), + [S$3.$replaceItem]: dart.fnType(svg$.Length, [svg$.Length, core.int]) +})); +dart.setGetterSignature(svg$.LengthList, () => ({ + __proto__: dart.getGetters(svg$.LengthList.__proto__), + [$length]: core.int, + [S$3.$numberOfItems]: dart.nullable(core.int) +})); +dart.setSetterSignature(svg$.LengthList, () => ({ + __proto__: dart.getSetters(svg$.LengthList.__proto__), + [$length]: core.int +})); +dart.setLibraryUri(svg$.LengthList, I[157]); +dart.registerExtension("SVGLengthList", svg$.LengthList); +svg$.LineElement = class LineElement extends svg$.GeometryElement { + static new() { + return svg$.LineElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("line")); + } + get [S$3.$x1]() { + return this.x1; + } + get [S$3.$x2]() { + return this.x2; + } + get [S$3.$y1]() { + return this.y1; + } + get [S$3.$y2]() { + return this.y2; + } +}; +(svg$.LineElement.created = function() { + svg$.LineElement.__proto__.created.call(this); + ; +}).prototype = svg$.LineElement.prototype; +dart.addTypeTests(svg$.LineElement); +dart.addTypeCaches(svg$.LineElement); +dart.setGetterSignature(svg$.LineElement, () => ({ + __proto__: dart.getGetters(svg$.LineElement.__proto__), + [S$3.$x1]: dart.nullable(svg$.AnimatedLength), + [S$3.$x2]: dart.nullable(svg$.AnimatedLength), + [S$3.$y1]: dart.nullable(svg$.AnimatedLength), + [S$3.$y2]: dart.nullable(svg$.AnimatedLength) +})); +dart.setLibraryUri(svg$.LineElement, I[157]); +dart.registerExtension("SVGLineElement", svg$.LineElement); +svg$._GradientElement = class _GradientElement extends svg$.SvgElement { + get [S$3.$gradientTransform]() { + return this.gradientTransform; + } + get [S$3.$gradientUnits]() { + return this.gradientUnits; + } + get [S$3.$spreadMethod]() { + return this.spreadMethod; + } + get [S$.$href]() { + return this.href; + } +}; +(svg$._GradientElement.created = function() { + svg$._GradientElement.__proto__.created.call(this); + ; +}).prototype = svg$._GradientElement.prototype; +dart.addTypeTests(svg$._GradientElement); +dart.addTypeCaches(svg$._GradientElement); +svg$._GradientElement[dart.implements] = () => [svg$.UriReference]; +dart.setGetterSignature(svg$._GradientElement, () => ({ + __proto__: dart.getGetters(svg$._GradientElement.__proto__), + [S$3.$gradientTransform]: dart.nullable(svg$.AnimatedTransformList), + [S$3.$gradientUnits]: dart.nullable(svg$.AnimatedEnumeration), + [S$3.$spreadMethod]: dart.nullable(svg$.AnimatedEnumeration), + [S$.$href]: dart.nullable(svg$.AnimatedString) +})); +dart.setLibraryUri(svg$._GradientElement, I[157]); +dart.defineLazy(svg$._GradientElement, { + /*svg$._GradientElement.SVG_SPREADMETHOD_PAD*/get SVG_SPREADMETHOD_PAD() { + return 1; + }, + /*svg$._GradientElement.SVG_SPREADMETHOD_REFLECT*/get SVG_SPREADMETHOD_REFLECT() { + return 2; + }, + /*svg$._GradientElement.SVG_SPREADMETHOD_REPEAT*/get SVG_SPREADMETHOD_REPEAT() { + return 3; + }, + /*svg$._GradientElement.SVG_SPREADMETHOD_UNKNOWN*/get SVG_SPREADMETHOD_UNKNOWN() { + return 0; + } +}, false); +dart.registerExtension("SVGGradientElement", svg$._GradientElement); +svg$.LinearGradientElement = class LinearGradientElement extends svg$._GradientElement { + static new() { + return svg$.LinearGradientElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("linearGradient")); + } + get [S$3.$x1]() { + return this.x1; + } + get [S$3.$x2]() { + return this.x2; + } + get [S$3.$y1]() { + return this.y1; + } + get [S$3.$y2]() { + return this.y2; + } +}; +(svg$.LinearGradientElement.created = function() { + svg$.LinearGradientElement.__proto__.created.call(this); + ; +}).prototype = svg$.LinearGradientElement.prototype; +dart.addTypeTests(svg$.LinearGradientElement); +dart.addTypeCaches(svg$.LinearGradientElement); +dart.setGetterSignature(svg$.LinearGradientElement, () => ({ + __proto__: dart.getGetters(svg$.LinearGradientElement.__proto__), + [S$3.$x1]: dart.nullable(svg$.AnimatedLength), + [S$3.$x2]: dart.nullable(svg$.AnimatedLength), + [S$3.$y1]: dart.nullable(svg$.AnimatedLength), + [S$3.$y2]: dart.nullable(svg$.AnimatedLength) +})); +dart.setLibraryUri(svg$.LinearGradientElement, I[157]); +dart.registerExtension("SVGLinearGradientElement", svg$.LinearGradientElement); +svg$.MarkerElement = class MarkerElement extends svg$.SvgElement { + static new() { + return svg$.MarkerElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("marker")); + } + get [S$3.$markerHeight]() { + return this.markerHeight; + } + get [S$3.$markerUnits]() { + return this.markerUnits; + } + get [S$3.$markerWidth]() { + return this.markerWidth; + } + get [S$3.$orientAngle]() { + return this.orientAngle; + } + get [S$3.$orientType]() { + return this.orientType; + } + get [S$3.$refX]() { + return this.refX; + } + get [S$3.$refY]() { + return this.refY; + } + [S$3.$setOrientToAngle](...args) { + return this.setOrientToAngle.apply(this, args); + } + [S$3.$setOrientToAuto](...args) { + return this.setOrientToAuto.apply(this, args); + } + get [S$3.$preserveAspectRatio]() { + return this.preserveAspectRatio; + } + get [S$3.$viewBox]() { + return this.viewBox; + } +}; +(svg$.MarkerElement.created = function() { + svg$.MarkerElement.__proto__.created.call(this); + ; +}).prototype = svg$.MarkerElement.prototype; +dart.addTypeTests(svg$.MarkerElement); +dart.addTypeCaches(svg$.MarkerElement); +svg$.MarkerElement[dart.implements] = () => [svg$.FitToViewBox]; +dart.setMethodSignature(svg$.MarkerElement, () => ({ + __proto__: dart.getMethods(svg$.MarkerElement.__proto__), + [S$3.$setOrientToAngle]: dart.fnType(dart.void, [svg$.Angle]), + [S$3.$setOrientToAuto]: dart.fnType(dart.void, []) +})); +dart.setGetterSignature(svg$.MarkerElement, () => ({ + __proto__: dart.getGetters(svg$.MarkerElement.__proto__), + [S$3.$markerHeight]: svg$.AnimatedLength, + [S$3.$markerUnits]: svg$.AnimatedEnumeration, + [S$3.$markerWidth]: svg$.AnimatedLength, + [S$3.$orientAngle]: dart.nullable(svg$.AnimatedAngle), + [S$3.$orientType]: dart.nullable(svg$.AnimatedEnumeration), + [S$3.$refX]: svg$.AnimatedLength, + [S$3.$refY]: svg$.AnimatedLength, + [S$3.$preserveAspectRatio]: dart.nullable(svg$.AnimatedPreserveAspectRatio), + [S$3.$viewBox]: dart.nullable(svg$.AnimatedRect) +})); +dart.setLibraryUri(svg$.MarkerElement, I[157]); +dart.defineLazy(svg$.MarkerElement, { + /*svg$.MarkerElement.SVG_MARKERUNITS_STROKEWIDTH*/get SVG_MARKERUNITS_STROKEWIDTH() { + return 2; + }, + /*svg$.MarkerElement.SVG_MARKERUNITS_UNKNOWN*/get SVG_MARKERUNITS_UNKNOWN() { + return 0; + }, + /*svg$.MarkerElement.SVG_MARKERUNITS_USERSPACEONUSE*/get SVG_MARKERUNITS_USERSPACEONUSE() { + return 1; + }, + /*svg$.MarkerElement.SVG_MARKER_ORIENT_ANGLE*/get SVG_MARKER_ORIENT_ANGLE() { + return 2; + }, + /*svg$.MarkerElement.SVG_MARKER_ORIENT_AUTO*/get SVG_MARKER_ORIENT_AUTO() { + return 1; + }, + /*svg$.MarkerElement.SVG_MARKER_ORIENT_UNKNOWN*/get SVG_MARKER_ORIENT_UNKNOWN() { + return 0; + } +}, false); +dart.registerExtension("SVGMarkerElement", svg$.MarkerElement); +svg$.MaskElement = class MaskElement extends svg$.SvgElement { + static new() { + return svg$.MaskElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("mask")); + } + get [$height]() { + return this.height; + } + get [S$3.$maskContentUnits]() { + return this.maskContentUnits; + } + get [S$3.$maskUnits]() { + return this.maskUnits; + } + get [$width]() { + return this.width; + } + get [S$.$x]() { + return this.x; + } + get [S$.$y]() { + return this.y; + } + get [S$3.$requiredExtensions]() { + return this.requiredExtensions; + } + get [S$3.$systemLanguage]() { + return this.systemLanguage; + } +}; +(svg$.MaskElement.created = function() { + svg$.MaskElement.__proto__.created.call(this); + ; +}).prototype = svg$.MaskElement.prototype; +dart.addTypeTests(svg$.MaskElement); +dart.addTypeCaches(svg$.MaskElement); +svg$.MaskElement[dart.implements] = () => [svg$.Tests]; +dart.setGetterSignature(svg$.MaskElement, () => ({ + __proto__: dart.getGetters(svg$.MaskElement.__proto__), + [$height]: dart.nullable(svg$.AnimatedLength), + [S$3.$maskContentUnits]: dart.nullable(svg$.AnimatedEnumeration), + [S$3.$maskUnits]: dart.nullable(svg$.AnimatedEnumeration), + [$width]: dart.nullable(svg$.AnimatedLength), + [S$.$x]: dart.nullable(svg$.AnimatedLength), + [S$.$y]: dart.nullable(svg$.AnimatedLength), + [S$3.$requiredExtensions]: dart.nullable(svg$.StringList), + [S$3.$systemLanguage]: dart.nullable(svg$.StringList) +})); +dart.setLibraryUri(svg$.MaskElement, I[157]); +dart.registerExtension("SVGMaskElement", svg$.MaskElement); +svg$.Matrix = class Matrix extends _interceptors.Interceptor { + get [S$1.$a]() { + return this.a; + } + set [S$1.$a](value) { + this.a = value; + } + get [S$1.$b]() { + return this.b; + } + set [S$1.$b](value) { + this.b = value; + } + get [S$1.$c]() { + return this.c; + } + set [S$1.$c](value) { + this.c = value; + } + get [S$1.$d]() { + return this.d; + } + set [S$1.$d](value) { + this.d = value; + } + get [S$1.$e]() { + return this.e; + } + set [S$1.$e](value) { + this.e = value; + } + get [S$1.$f]() { + return this.f; + } + set [S$1.$f](value) { + this.f = value; + } + [S$1.$flipX](...args) { + return this.flipX.apply(this, args); + } + [S$1.$flipY](...args) { + return this.flipY.apply(this, args); + } + [S$1.$inverse](...args) { + return this.inverse.apply(this, args); + } + [S$1.$multiply](...args) { + return this.multiply.apply(this, args); + } + [S$.$rotate](...args) { + return this.rotate.apply(this, args); + } + [S$1.$rotateFromVector](...args) { + return this.rotateFromVector.apply(this, args); + } + [S$.$scale](...args) { + return this.scale.apply(this, args); + } + [S$3.$scaleNonUniform](...args) { + return this.scaleNonUniform.apply(this, args); + } + [S$1.$skewX](...args) { + return this.skewX.apply(this, args); + } + [S$1.$skewY](...args) { + return this.skewY.apply(this, args); + } + [S.$translate](...args) { + return this.translate.apply(this, args); + } +}; +dart.addTypeTests(svg$.Matrix); +dart.addTypeCaches(svg$.Matrix); +dart.setMethodSignature(svg$.Matrix, () => ({ + __proto__: dart.getMethods(svg$.Matrix.__proto__), + [S$1.$flipX]: dart.fnType(svg$.Matrix, []), + [S$1.$flipY]: dart.fnType(svg$.Matrix, []), + [S$1.$inverse]: dart.fnType(svg$.Matrix, []), + [S$1.$multiply]: dart.fnType(svg$.Matrix, [svg$.Matrix]), + [S$.$rotate]: dart.fnType(svg$.Matrix, [core.num]), + [S$1.$rotateFromVector]: dart.fnType(svg$.Matrix, [core.num, core.num]), + [S$.$scale]: dart.fnType(svg$.Matrix, [core.num]), + [S$3.$scaleNonUniform]: dart.fnType(svg$.Matrix, [core.num, core.num]), + [S$1.$skewX]: dart.fnType(svg$.Matrix, [core.num]), + [S$1.$skewY]: dart.fnType(svg$.Matrix, [core.num]), + [S.$translate]: dart.fnType(svg$.Matrix, [core.num, core.num]) +})); +dart.setGetterSignature(svg$.Matrix, () => ({ + __proto__: dart.getGetters(svg$.Matrix.__proto__), + [S$1.$a]: dart.nullable(core.num), + [S$1.$b]: dart.nullable(core.num), + [S$1.$c]: dart.nullable(core.num), + [S$1.$d]: dart.nullable(core.num), + [S$1.$e]: dart.nullable(core.num), + [S$1.$f]: dart.nullable(core.num) +})); +dart.setSetterSignature(svg$.Matrix, () => ({ + __proto__: dart.getSetters(svg$.Matrix.__proto__), + [S$1.$a]: dart.nullable(core.num), + [S$1.$b]: dart.nullable(core.num), + [S$1.$c]: dart.nullable(core.num), + [S$1.$d]: dart.nullable(core.num), + [S$1.$e]: dart.nullable(core.num), + [S$1.$f]: dart.nullable(core.num) +})); +dart.setLibraryUri(svg$.Matrix, I[157]); +dart.registerExtension("SVGMatrix", svg$.Matrix); +svg$.MetadataElement = class MetadataElement extends svg$.SvgElement {}; +(svg$.MetadataElement.created = function() { + svg$.MetadataElement.__proto__.created.call(this); + ; +}).prototype = svg$.MetadataElement.prototype; +dart.addTypeTests(svg$.MetadataElement); +dart.addTypeCaches(svg$.MetadataElement); +dart.setLibraryUri(svg$.MetadataElement, I[157]); +dart.registerExtension("SVGMetadataElement", svg$.MetadataElement); +svg$.Number = class Number extends _interceptors.Interceptor { + get [S.$value]() { + return this.value; + } + set [S.$value](value) { + this.value = value; + } +}; +dart.addTypeTests(svg$.Number); +dart.addTypeCaches(svg$.Number); +dart.setGetterSignature(svg$.Number, () => ({ + __proto__: dart.getGetters(svg$.Number.__proto__), + [S.$value]: dart.nullable(core.num) +})); +dart.setSetterSignature(svg$.Number, () => ({ + __proto__: dart.getSetters(svg$.Number.__proto__), + [S.$value]: dart.nullable(core.num) +})); +dart.setLibraryUri(svg$.Number, I[157]); +dart.registerExtension("SVGNumber", svg$.Number); +const Interceptor_ListMixin$36$14 = class Interceptor_ListMixin extends _interceptors.Interceptor {}; +(Interceptor_ListMixin$36$14.new = function() { + Interceptor_ListMixin$36$14.__proto__.new.call(this); +}).prototype = Interceptor_ListMixin$36$14.prototype; +dart.applyMixin(Interceptor_ListMixin$36$14, collection.ListMixin$(svg$.Number)); +const Interceptor_ImmutableListMixin$36$14 = class Interceptor_ImmutableListMixin extends Interceptor_ListMixin$36$14 {}; +(Interceptor_ImmutableListMixin$36$14.new = function() { + Interceptor_ImmutableListMixin$36$14.__proto__.new.call(this); +}).prototype = Interceptor_ImmutableListMixin$36$14.prototype; +dart.applyMixin(Interceptor_ImmutableListMixin$36$14, html$.ImmutableListMixin$(svg$.Number)); +svg$.NumberList = class NumberList extends Interceptor_ImmutableListMixin$36$14 { + get [$length]() { + return this.length; + } + get [S$3.$numberOfItems]() { + return this.numberOfItems; + } + [$_get](index) { + if (index == null) dart.nullFailed(I[156], 2378, 26, "index"); + if (index >>> 0 !== index || index >= this[$length]) dart.throw(new core.IndexError.new(index, this)); + return this.getItem(index); + } + [$_set](index, value$) { + let value = value$; + if (index == null) dart.nullFailed(I[156], 2384, 25, "index"); + svg$.Number.as(value); + if (value == null) dart.nullFailed(I[156], 2384, 39, "value"); + dart.throw(new core.UnsupportedError.new("Cannot assign element of immutable List.")); + return value$; + } + set [$length](value) { + if (value == null) dart.nullFailed(I[156], 2390, 18, "value"); + dart.throw(new core.UnsupportedError.new("Cannot resize immutable List.")); + } + get [$first]() { + if (dart.notNull(this[$length]) > 0) { + return this[0]; + } + dart.throw(new core.StateError.new("No elements")); + } + set [$first](value) { + super[$first] = value; + } + get [$last]() { + let len = this[$length]; + if (dart.notNull(len) > 0) { + return this[dart.notNull(len) - 1]; + } + dart.throw(new core.StateError.new("No elements")); + } + set [$last](value) { + super[$last] = value; + } + get [$single]() { + let len = this[$length]; + if (len === 1) { + return this[0]; + } + if (len === 0) dart.throw(new core.StateError.new("No elements")); + dart.throw(new core.StateError.new("More than one element")); + } + [$elementAt](index) { + if (index == null) dart.nullFailed(I[156], 2418, 24, "index"); + return this[$_get](index); + } + [S$3.__setter__$1](...args) { + return this.__setter__.apply(this, args); + } + [S$3.$appendItem](...args) { + return this.appendItem.apply(this, args); + } + [$clear](...args) { + return this.clear.apply(this, args); + } + [S$3.$getItem](...args) { + return this.getItem.apply(this, args); + } + [S$3.$initialize](...args) { + return this.initialize.apply(this, args); + } + [S$3.$insertItemBefore](...args) { + return this.insertItemBefore.apply(this, args); + } + [S$3.$removeItem](...args) { + return this.removeItem.apply(this, args); + } + [S$3.$replaceItem](...args) { + return this.replaceItem.apply(this, args); + } +}; +svg$.NumberList.prototype[dart.isList] = true; +dart.addTypeTests(svg$.NumberList); +dart.addTypeCaches(svg$.NumberList); +svg$.NumberList[dart.implements] = () => [core.List$(svg$.Number)]; +dart.setMethodSignature(svg$.NumberList, () => ({ + __proto__: dart.getMethods(svg$.NumberList.__proto__), + [$_get]: dart.fnType(svg$.Number, [core.int]), + [$_set]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), + [S$3.__setter__$1]: dart.fnType(dart.void, [core.int, svg$.Number]), + [S$3.$appendItem]: dart.fnType(svg$.Number, [svg$.Number]), + [S$3.$getItem]: dart.fnType(svg$.Number, [core.int]), + [S$3.$initialize]: dart.fnType(svg$.Number, [svg$.Number]), + [S$3.$insertItemBefore]: dart.fnType(svg$.Number, [svg$.Number, core.int]), + [S$3.$removeItem]: dart.fnType(svg$.Number, [core.int]), + [S$3.$replaceItem]: dart.fnType(svg$.Number, [svg$.Number, core.int]) +})); +dart.setGetterSignature(svg$.NumberList, () => ({ + __proto__: dart.getGetters(svg$.NumberList.__proto__), + [$length]: core.int, + [S$3.$numberOfItems]: dart.nullable(core.int) +})); +dart.setSetterSignature(svg$.NumberList, () => ({ + __proto__: dart.getSetters(svg$.NumberList.__proto__), + [$length]: core.int +})); +dart.setLibraryUri(svg$.NumberList, I[157]); +dart.registerExtension("SVGNumberList", svg$.NumberList); +svg$.PathElement = class PathElement extends svg$.GeometryElement { + static new() { + return svg$.PathElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("path")); + } +}; +(svg$.PathElement.created = function() { + svg$.PathElement.__proto__.created.call(this); + ; +}).prototype = svg$.PathElement.prototype; +dart.addTypeTests(svg$.PathElement); +dart.addTypeCaches(svg$.PathElement); +dart.setLibraryUri(svg$.PathElement, I[157]); +dart.registerExtension("SVGPathElement", svg$.PathElement); +svg$.PatternElement = class PatternElement extends svg$.SvgElement { + static new() { + return svg$.PatternElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("pattern")); + } + get [$height]() { + return this.height; + } + get [S$3.$patternContentUnits]() { + return this.patternContentUnits; + } + get [S$3.$patternTransform]() { + return this.patternTransform; + } + get [S$3.$patternUnits]() { + return this.patternUnits; + } + get [$width]() { + return this.width; + } + get [S$.$x]() { + return this.x; + } + get [S$.$y]() { + return this.y; + } + get [S$3.$preserveAspectRatio]() { + return this.preserveAspectRatio; + } + get [S$3.$viewBox]() { + return this.viewBox; + } + get [S$3.$requiredExtensions]() { + return this.requiredExtensions; + } + get [S$3.$systemLanguage]() { + return this.systemLanguage; + } + get [S$.$href]() { + return this.href; + } +}; +(svg$.PatternElement.created = function() { + svg$.PatternElement.__proto__.created.call(this); + ; +}).prototype = svg$.PatternElement.prototype; +dart.addTypeTests(svg$.PatternElement); +dart.addTypeCaches(svg$.PatternElement); +svg$.PatternElement[dart.implements] = () => [svg$.FitToViewBox, svg$.UriReference, svg$.Tests]; +dart.setGetterSignature(svg$.PatternElement, () => ({ + __proto__: dart.getGetters(svg$.PatternElement.__proto__), + [$height]: dart.nullable(svg$.AnimatedLength), + [S$3.$patternContentUnits]: dart.nullable(svg$.AnimatedEnumeration), + [S$3.$patternTransform]: dart.nullable(svg$.AnimatedTransformList), + [S$3.$patternUnits]: dart.nullable(svg$.AnimatedEnumeration), + [$width]: dart.nullable(svg$.AnimatedLength), + [S$.$x]: dart.nullable(svg$.AnimatedLength), + [S$.$y]: dart.nullable(svg$.AnimatedLength), + [S$3.$preserveAspectRatio]: dart.nullable(svg$.AnimatedPreserveAspectRatio), + [S$3.$viewBox]: dart.nullable(svg$.AnimatedRect), + [S$3.$requiredExtensions]: dart.nullable(svg$.StringList), + [S$3.$systemLanguage]: dart.nullable(svg$.StringList), + [S$.$href]: dart.nullable(svg$.AnimatedString) +})); +dart.setLibraryUri(svg$.PatternElement, I[157]); +dart.registerExtension("SVGPatternElement", svg$.PatternElement); +svg$.Point = class Point extends _interceptors.Interceptor { + get [S$.$x]() { + return this.x; + } + set [S$.$x](value) { + this.x = value; + } + get [S$.$y]() { + return this.y; + } + set [S$.$y](value) { + this.y = value; + } + [S$1.$matrixTransform](...args) { + return this.matrixTransform.apply(this, args); + } +}; +dart.addTypeTests(svg$.Point); +dart.addTypeCaches(svg$.Point); +dart.setMethodSignature(svg$.Point, () => ({ + __proto__: dart.getMethods(svg$.Point.__proto__), + [S$1.$matrixTransform]: dart.fnType(svg$.Point, [svg$.Matrix]) +})); +dart.setGetterSignature(svg$.Point, () => ({ + __proto__: dart.getGetters(svg$.Point.__proto__), + [S$.$x]: dart.nullable(core.num), + [S$.$y]: dart.nullable(core.num) +})); +dart.setSetterSignature(svg$.Point, () => ({ + __proto__: dart.getSetters(svg$.Point.__proto__), + [S$.$x]: dart.nullable(core.num), + [S$.$y]: dart.nullable(core.num) +})); +dart.setLibraryUri(svg$.Point, I[157]); +dart.registerExtension("SVGPoint", svg$.Point); +svg$.PointList = class PointList extends _interceptors.Interceptor { + get [$length]() { + return this.length; + } + get [S$3.$numberOfItems]() { + return this.numberOfItems; + } + [S$3.__setter__$1](...args) { + return this.__setter__.apply(this, args); + } + [S$3.$appendItem](...args) { + return this.appendItem.apply(this, args); + } + [$clear](...args) { + return this.clear.apply(this, args); + } + [S$3.$getItem](...args) { + return this.getItem.apply(this, args); + } + [S$3.$initialize](...args) { + return this.initialize.apply(this, args); + } + [S$3.$insertItemBefore](...args) { + return this.insertItemBefore.apply(this, args); + } + [S$3.$removeItem](...args) { + return this.removeItem.apply(this, args); + } + [S$3.$replaceItem](...args) { + return this.replaceItem.apply(this, args); + } +}; +dart.addTypeTests(svg$.PointList); +dart.addTypeCaches(svg$.PointList); +dart.setMethodSignature(svg$.PointList, () => ({ + __proto__: dart.getMethods(svg$.PointList.__proto__), + [S$3.__setter__$1]: dart.fnType(dart.void, [core.int, svg$.Point]), + [S$3.$appendItem]: dart.fnType(svg$.Point, [svg$.Point]), + [$clear]: dart.fnType(dart.void, []), + [S$3.$getItem]: dart.fnType(svg$.Point, [core.int]), + [S$3.$initialize]: dart.fnType(svg$.Point, [svg$.Point]), + [S$3.$insertItemBefore]: dart.fnType(svg$.Point, [svg$.Point, core.int]), + [S$3.$removeItem]: dart.fnType(svg$.Point, [core.int]), + [S$3.$replaceItem]: dart.fnType(svg$.Point, [svg$.Point, core.int]) +})); +dart.setGetterSignature(svg$.PointList, () => ({ + __proto__: dart.getGetters(svg$.PointList.__proto__), + [$length]: dart.nullable(core.int), + [S$3.$numberOfItems]: dart.nullable(core.int) +})); +dart.setLibraryUri(svg$.PointList, I[157]); +dart.registerExtension("SVGPointList", svg$.PointList); +svg$.PolygonElement = class PolygonElement extends svg$.GeometryElement { + static new() { + return svg$.PolygonElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("polygon")); + } + get [S$3.$animatedPoints]() { + return this.animatedPoints; + } + get [S$3.$points]() { + return this.points; + } +}; +(svg$.PolygonElement.created = function() { + svg$.PolygonElement.__proto__.created.call(this); + ; +}).prototype = svg$.PolygonElement.prototype; +dart.addTypeTests(svg$.PolygonElement); +dart.addTypeCaches(svg$.PolygonElement); +dart.setGetterSignature(svg$.PolygonElement, () => ({ + __proto__: dart.getGetters(svg$.PolygonElement.__proto__), + [S$3.$animatedPoints]: dart.nullable(svg$.PointList), + [S$3.$points]: svg$.PointList +})); +dart.setLibraryUri(svg$.PolygonElement, I[157]); +dart.registerExtension("SVGPolygonElement", svg$.PolygonElement); +svg$.PolylineElement = class PolylineElement extends svg$.GeometryElement { + static new() { + return svg$.PolylineElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("polyline")); + } + get [S$3.$animatedPoints]() { + return this.animatedPoints; + } + get [S$3.$points]() { + return this.points; + } +}; +(svg$.PolylineElement.created = function() { + svg$.PolylineElement.__proto__.created.call(this); + ; +}).prototype = svg$.PolylineElement.prototype; +dart.addTypeTests(svg$.PolylineElement); +dart.addTypeCaches(svg$.PolylineElement); +dart.setGetterSignature(svg$.PolylineElement, () => ({ + __proto__: dart.getGetters(svg$.PolylineElement.__proto__), + [S$3.$animatedPoints]: dart.nullable(svg$.PointList), + [S$3.$points]: svg$.PointList +})); +dart.setLibraryUri(svg$.PolylineElement, I[157]); +dart.registerExtension("SVGPolylineElement", svg$.PolylineElement); +svg$.PreserveAspectRatio = class PreserveAspectRatio extends _interceptors.Interceptor { + get [S$3.$align]() { + return this.align; + } + set [S$3.$align](value) { + this.align = value; + } + get [S$3.$meetOrSlice]() { + return this.meetOrSlice; + } + set [S$3.$meetOrSlice](value) { + this.meetOrSlice = value; + } +}; +dart.addTypeTests(svg$.PreserveAspectRatio); +dart.addTypeCaches(svg$.PreserveAspectRatio); +dart.setGetterSignature(svg$.PreserveAspectRatio, () => ({ + __proto__: dart.getGetters(svg$.PreserveAspectRatio.__proto__), + [S$3.$align]: dart.nullable(core.int), + [S$3.$meetOrSlice]: dart.nullable(core.int) +})); +dart.setSetterSignature(svg$.PreserveAspectRatio, () => ({ + __proto__: dart.getSetters(svg$.PreserveAspectRatio.__proto__), + [S$3.$align]: dart.nullable(core.int), + [S$3.$meetOrSlice]: dart.nullable(core.int) +})); +dart.setLibraryUri(svg$.PreserveAspectRatio, I[157]); +dart.defineLazy(svg$.PreserveAspectRatio, { + /*svg$.PreserveAspectRatio.SVG_MEETORSLICE_MEET*/get SVG_MEETORSLICE_MEET() { + return 1; + }, + /*svg$.PreserveAspectRatio.SVG_MEETORSLICE_SLICE*/get SVG_MEETORSLICE_SLICE() { + return 2; + }, + /*svg$.PreserveAspectRatio.SVG_MEETORSLICE_UNKNOWN*/get SVG_MEETORSLICE_UNKNOWN() { + return 0; + }, + /*svg$.PreserveAspectRatio.SVG_PRESERVEASPECTRATIO_NONE*/get SVG_PRESERVEASPECTRATIO_NONE() { + return 1; + }, + /*svg$.PreserveAspectRatio.SVG_PRESERVEASPECTRATIO_UNKNOWN*/get SVG_PRESERVEASPECTRATIO_UNKNOWN() { + return 0; + }, + /*svg$.PreserveAspectRatio.SVG_PRESERVEASPECTRATIO_XMAXYMAX*/get SVG_PRESERVEASPECTRATIO_XMAXYMAX() { + return 10; + }, + /*svg$.PreserveAspectRatio.SVG_PRESERVEASPECTRATIO_XMAXYMID*/get SVG_PRESERVEASPECTRATIO_XMAXYMID() { + return 7; + }, + /*svg$.PreserveAspectRatio.SVG_PRESERVEASPECTRATIO_XMAXYMIN*/get SVG_PRESERVEASPECTRATIO_XMAXYMIN() { + return 4; + }, + /*svg$.PreserveAspectRatio.SVG_PRESERVEASPECTRATIO_XMIDYMAX*/get SVG_PRESERVEASPECTRATIO_XMIDYMAX() { + return 9; + }, + /*svg$.PreserveAspectRatio.SVG_PRESERVEASPECTRATIO_XMIDYMID*/get SVG_PRESERVEASPECTRATIO_XMIDYMID() { + return 6; + }, + /*svg$.PreserveAspectRatio.SVG_PRESERVEASPECTRATIO_XMIDYMIN*/get SVG_PRESERVEASPECTRATIO_XMIDYMIN() { + return 3; + }, + /*svg$.PreserveAspectRatio.SVG_PRESERVEASPECTRATIO_XMINYMAX*/get SVG_PRESERVEASPECTRATIO_XMINYMAX() { + return 8; + }, + /*svg$.PreserveAspectRatio.SVG_PRESERVEASPECTRATIO_XMINYMID*/get SVG_PRESERVEASPECTRATIO_XMINYMID() { + return 5; + }, + /*svg$.PreserveAspectRatio.SVG_PRESERVEASPECTRATIO_XMINYMIN*/get SVG_PRESERVEASPECTRATIO_XMINYMIN() { + return 2; + } +}, false); +dart.registerExtension("SVGPreserveAspectRatio", svg$.PreserveAspectRatio); +svg$.RadialGradientElement = class RadialGradientElement extends svg$._GradientElement { + static new() { + return svg$.RadialGradientElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("radialGradient")); + } + get [S$3.$cx]() { + return this.cx; + } + get [S$3.$cy]() { + return this.cy; + } + get [S$3.$fr]() { + return this.fr; + } + get [S$3.$fx]() { + return this.fx; + } + get [S$3.$fy]() { + return this.fy; + } + get [S$3.$r]() { + return this.r; + } +}; +(svg$.RadialGradientElement.created = function() { + svg$.RadialGradientElement.__proto__.created.call(this); + ; +}).prototype = svg$.RadialGradientElement.prototype; +dart.addTypeTests(svg$.RadialGradientElement); +dart.addTypeCaches(svg$.RadialGradientElement); +dart.setGetterSignature(svg$.RadialGradientElement, () => ({ + __proto__: dart.getGetters(svg$.RadialGradientElement.__proto__), + [S$3.$cx]: dart.nullable(svg$.AnimatedLength), + [S$3.$cy]: dart.nullable(svg$.AnimatedLength), + [S$3.$fr]: dart.nullable(svg$.AnimatedLength), + [S$3.$fx]: dart.nullable(svg$.AnimatedLength), + [S$3.$fy]: dart.nullable(svg$.AnimatedLength), + [S$3.$r]: dart.nullable(svg$.AnimatedLength) +})); +dart.setLibraryUri(svg$.RadialGradientElement, I[157]); +dart.registerExtension("SVGRadialGradientElement", svg$.RadialGradientElement); +svg$.Rect = class Rect extends _interceptors.Interceptor { + get [$height]() { + return this.height; + } + set [$height](value) { + this.height = value; + } + get [$width]() { + return this.width; + } + set [$width](value) { + this.width = value; + } + get [S$.$x]() { + return this.x; + } + set [S$.$x](value) { + this.x = value; + } + get [S$.$y]() { + return this.y; + } + set [S$.$y](value) { + this.y = value; + } +}; +dart.addTypeTests(svg$.Rect); +dart.addTypeCaches(svg$.Rect); +dart.setGetterSignature(svg$.Rect, () => ({ + __proto__: dart.getGetters(svg$.Rect.__proto__), + [$height]: dart.nullable(core.num), + [$width]: dart.nullable(core.num), + [S$.$x]: dart.nullable(core.num), + [S$.$y]: dart.nullable(core.num) +})); +dart.setSetterSignature(svg$.Rect, () => ({ + __proto__: dart.getSetters(svg$.Rect.__proto__), + [$height]: dart.nullable(core.num), + [$width]: dart.nullable(core.num), + [S$.$x]: dart.nullable(core.num), + [S$.$y]: dart.nullable(core.num) +})); +dart.setLibraryUri(svg$.Rect, I[157]); +dart.registerExtension("SVGRect", svg$.Rect); +svg$.RectElement = class RectElement extends svg$.GeometryElement { + static new() { + return svg$.RectElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("rect")); + } + get [$height]() { + return this.height; + } + get [S$3.$rx]() { + return this.rx; + } + get [S$3.$ry]() { + return this.ry; + } + get [$width]() { + return this.width; + } + get [S$.$x]() { + return this.x; + } + get [S$.$y]() { + return this.y; + } +}; +(svg$.RectElement.created = function() { + svg$.RectElement.__proto__.created.call(this); + ; +}).prototype = svg$.RectElement.prototype; +dart.addTypeTests(svg$.RectElement); +dart.addTypeCaches(svg$.RectElement); +dart.setGetterSignature(svg$.RectElement, () => ({ + __proto__: dart.getGetters(svg$.RectElement.__proto__), + [$height]: dart.nullable(svg$.AnimatedLength), + [S$3.$rx]: dart.nullable(svg$.AnimatedLength), + [S$3.$ry]: dart.nullable(svg$.AnimatedLength), + [$width]: dart.nullable(svg$.AnimatedLength), + [S$.$x]: dart.nullable(svg$.AnimatedLength), + [S$.$y]: dart.nullable(svg$.AnimatedLength) +})); +dart.setLibraryUri(svg$.RectElement, I[157]); +dart.registerExtension("SVGRectElement", svg$.RectElement); +svg$.ScriptElement = class ScriptElement extends svg$.SvgElement { + static new() { + return svg$.ScriptElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("script")); + } + get [S.$type]() { + return this.type; + } + set [S.$type](value) { + this.type = value; + } + get [S$.$href]() { + return this.href; + } +}; +(svg$.ScriptElement.created = function() { + svg$.ScriptElement.__proto__.created.call(this); + ; +}).prototype = svg$.ScriptElement.prototype; +dart.addTypeTests(svg$.ScriptElement); +dart.addTypeCaches(svg$.ScriptElement); +svg$.ScriptElement[dart.implements] = () => [svg$.UriReference]; +dart.setGetterSignature(svg$.ScriptElement, () => ({ + __proto__: dart.getGetters(svg$.ScriptElement.__proto__), + [S.$type]: dart.nullable(core.String), + [S$.$href]: dart.nullable(svg$.AnimatedString) +})); +dart.setSetterSignature(svg$.ScriptElement, () => ({ + __proto__: dart.getSetters(svg$.ScriptElement.__proto__), + [S.$type]: dart.nullable(core.String) +})); +dart.setLibraryUri(svg$.ScriptElement, I[157]); +dart.registerExtension("SVGScriptElement", svg$.ScriptElement); +svg$.SetElement = class SetElement extends svg$.AnimationElement { + static new() { + return svg$.SetElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("set")); + } + static get supported() { + return dart.test(svg$.SvgElement.isTagSupported("set")) && svg$.SetElement.is(svg$.SvgElement.tag("set")); + } +}; +(svg$.SetElement.created = function() { + svg$.SetElement.__proto__.created.call(this); + ; +}).prototype = svg$.SetElement.prototype; +dart.addTypeTests(svg$.SetElement); +dart.addTypeCaches(svg$.SetElement); +dart.setLibraryUri(svg$.SetElement, I[157]); +dart.registerExtension("SVGSetElement", svg$.SetElement); +svg$.StopElement = class StopElement extends svg$.SvgElement { + static new() { + return svg$.StopElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("stop")); + } + get [S$3.$gradientOffset]() { + return this.offset; + } +}; +(svg$.StopElement.created = function() { + svg$.StopElement.__proto__.created.call(this); + ; +}).prototype = svg$.StopElement.prototype; +dart.addTypeTests(svg$.StopElement); +dart.addTypeCaches(svg$.StopElement); +dart.setGetterSignature(svg$.StopElement, () => ({ + __proto__: dart.getGetters(svg$.StopElement.__proto__), + [S$3.$gradientOffset]: svg$.AnimatedNumber +})); +dart.setLibraryUri(svg$.StopElement, I[157]); +dart.registerExtension("SVGStopElement", svg$.StopElement); +const Interceptor_ListMixin$36$15 = class Interceptor_ListMixin extends _interceptors.Interceptor {}; +(Interceptor_ListMixin$36$15.new = function() { + Interceptor_ListMixin$36$15.__proto__.new.call(this); +}).prototype = Interceptor_ListMixin$36$15.prototype; +dart.applyMixin(Interceptor_ListMixin$36$15, collection.ListMixin$(core.String)); +const Interceptor_ImmutableListMixin$36$15 = class Interceptor_ImmutableListMixin extends Interceptor_ListMixin$36$15 {}; +(Interceptor_ImmutableListMixin$36$15.new = function() { + Interceptor_ImmutableListMixin$36$15.__proto__.new.call(this); +}).prototype = Interceptor_ImmutableListMixin$36$15.prototype; +dart.applyMixin(Interceptor_ImmutableListMixin$36$15, html$.ImmutableListMixin$(core.String)); +svg$.StringList = class StringList extends Interceptor_ImmutableListMixin$36$15 { + get [$length]() { + return this.length; + } + get [S$3.$numberOfItems]() { + return this.numberOfItems; + } + [$_get](index) { + if (index == null) dart.nullFailed(I[156], 2861, 26, "index"); + if (index >>> 0 !== index || index >= this[$length]) dart.throw(new core.IndexError.new(index, this)); + return this.getItem(index); + } + [$_set](index, value$) { + let value = value$; + if (index == null) dart.nullFailed(I[156], 2867, 25, "index"); + core.String.as(value); + if (value == null) dart.nullFailed(I[156], 2867, 39, "value"); + dart.throw(new core.UnsupportedError.new("Cannot assign element of immutable List.")); + return value$; + } + set [$length](value) { + if (value == null) dart.nullFailed(I[156], 2873, 18, "value"); + dart.throw(new core.UnsupportedError.new("Cannot resize immutable List.")); + } + get [$first]() { + if (dart.notNull(this[$length]) > 0) { + return this[0]; + } + dart.throw(new core.StateError.new("No elements")); + } + set [$first](value) { + super[$first] = value; + } + get [$last]() { + let len = this[$length]; + if (dart.notNull(len) > 0) { + return this[dart.notNull(len) - 1]; + } + dart.throw(new core.StateError.new("No elements")); + } + set [$last](value) { + super[$last] = value; + } + get [$single]() { + let len = this[$length]; + if (len === 1) { + return this[0]; + } + if (len === 0) dart.throw(new core.StateError.new("No elements")); + dart.throw(new core.StateError.new("More than one element")); + } + [$elementAt](index) { + if (index == null) dart.nullFailed(I[156], 2901, 24, "index"); + return this[$_get](index); + } + [S$3.__setter__$1](...args) { + return this.__setter__.apply(this, args); + } + [S$3.$appendItem](...args) { + return this.appendItem.apply(this, args); + } + [$clear](...args) { + return this.clear.apply(this, args); + } + [S$3.$getItem](...args) { + return this.getItem.apply(this, args); + } + [S$3.$initialize](...args) { + return this.initialize.apply(this, args); + } + [S$3.$insertItemBefore](...args) { + return this.insertItemBefore.apply(this, args); + } + [S$3.$removeItem](...args) { + return this.removeItem.apply(this, args); + } + [S$3.$replaceItem](...args) { + return this.replaceItem.apply(this, args); + } +}; +svg$.StringList.prototype[dart.isList] = true; +dart.addTypeTests(svg$.StringList); +dart.addTypeCaches(svg$.StringList); +svg$.StringList[dart.implements] = () => [core.List$(core.String)]; +dart.setMethodSignature(svg$.StringList, () => ({ + __proto__: dart.getMethods(svg$.StringList.__proto__), + [$_get]: dart.fnType(core.String, [core.int]), + [$_set]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), + [S$3.__setter__$1]: dart.fnType(dart.void, [core.int, core.String]), + [S$3.$appendItem]: dart.fnType(core.String, [core.String]), + [S$3.$getItem]: dart.fnType(core.String, [core.int]), + [S$3.$initialize]: dart.fnType(core.String, [core.String]), + [S$3.$insertItemBefore]: dart.fnType(core.String, [core.String, core.int]), + [S$3.$removeItem]: dart.fnType(core.String, [core.int]), + [S$3.$replaceItem]: dart.fnType(core.String, [core.String, core.int]) +})); +dart.setGetterSignature(svg$.StringList, () => ({ + __proto__: dart.getGetters(svg$.StringList.__proto__), + [$length]: core.int, + [S$3.$numberOfItems]: dart.nullable(core.int) +})); +dart.setSetterSignature(svg$.StringList, () => ({ + __proto__: dart.getSetters(svg$.StringList.__proto__), + [$length]: core.int +})); +dart.setLibraryUri(svg$.StringList, I[157]); +dart.registerExtension("SVGStringList", svg$.StringList); +svg$.StyleElement = class StyleElement extends svg$.SvgElement { + static new() { + return svg$.StyleElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("style")); + } + get [S$.$disabled]() { + return this.disabled; + } + set [S$.$disabled](value) { + this.disabled = value; + } + get [S$.$media]() { + return this.media; + } + set [S$.$media](value) { + this.media = value; + } + get [S$1.$sheet]() { + return this.sheet; + } + get [S.$type]() { + return this.type; + } + set [S.$type](value) { + this.type = value; + } +}; +(svg$.StyleElement.created = function() { + svg$.StyleElement.__proto__.created.call(this); + ; +}).prototype = svg$.StyleElement.prototype; +dart.addTypeTests(svg$.StyleElement); +dart.addTypeCaches(svg$.StyleElement); +dart.setGetterSignature(svg$.StyleElement, () => ({ + __proto__: dart.getGetters(svg$.StyleElement.__proto__), + [S$.$disabled]: dart.nullable(core.bool), + [S$.$media]: dart.nullable(core.String), + [S$1.$sheet]: dart.nullable(html$.StyleSheet), + [S.$type]: dart.nullable(core.String) +})); +dart.setSetterSignature(svg$.StyleElement, () => ({ + __proto__: dart.getSetters(svg$.StyleElement.__proto__), + [S$.$disabled]: dart.nullable(core.bool), + [S$.$media]: dart.nullable(core.String), + [S.$type]: dart.nullable(core.String) +})); +dart.setLibraryUri(svg$.StyleElement, I[157]); +dart.registerExtension("SVGStyleElement", svg$.StyleElement); +svg$.AttributeClassSet = class AttributeClassSet extends html_common.CssClassSetImpl { + readClasses() { + let classname = this[S$3._element$3][S.$attributes][$_get]("class"); + if (svg$.AnimatedString.is(classname)) { + classname = svg$.AnimatedString.as(classname).baseVal; + } + let s = new (T$0._IdentityHashSetOfString()).new(); + if (classname == null) { + return s; + } + for (let name of classname[$split](" ")) { + let trimmed = name[$trim](); + if (!trimmed[$isEmpty]) { + s.add(trimmed); + } + } + return s; + } + writeClasses(s) { + if (s == null) dart.nullFailed(I[156], 2986, 25, "s"); + this[S$3._element$3][S.$setAttribute]("class", s[$join](" ")); + } +}; +(svg$.AttributeClassSet.new = function(_element) { + if (_element == null) dart.nullFailed(I[156], 2965, 26, "_element"); + this[S$3._element$3] = _element; + ; +}).prototype = svg$.AttributeClassSet.prototype; +dart.addTypeTests(svg$.AttributeClassSet); +dart.addTypeCaches(svg$.AttributeClassSet); +dart.setMethodSignature(svg$.AttributeClassSet, () => ({ + __proto__: dart.getMethods(svg$.AttributeClassSet.__proto__), + readClasses: dart.fnType(core.Set$(core.String), []), + writeClasses: dart.fnType(dart.void, [core.Set]) +})); +dart.setLibraryUri(svg$.AttributeClassSet, I[157]); +dart.setFieldSignature(svg$.AttributeClassSet, () => ({ + __proto__: dart.getFields(svg$.AttributeClassSet.__proto__), + [S$3._element$3]: dart.finalFieldType(html$.Element) +})); +svg$.SvgSvgElement = class SvgSvgElement extends svg$.GraphicsElement { + static new() { + let el = svg$.SvgElement.tag("svg"); + el[S.$attributes][$_set]("version", "1.1"); + return svg$.SvgSvgElement.as(el); + } + get [S$3.$currentScale]() { + return this.currentScale; + } + set [S$3.$currentScale](value) { + this.currentScale = value; + } + get [S$3.$currentTranslate]() { + return this.currentTranslate; + } + get [$height]() { + return this.height; + } + get [$width]() { + return this.width; + } + get [S$.$x]() { + return this.x; + } + get [S$.$y]() { + return this.y; + } + [S$3.$animationsPaused](...args) { + return this.animationsPaused.apply(this, args); + } + [S$3.$checkEnclosure](...args) { + return this.checkEnclosure.apply(this, args); + } + [S$3.$checkIntersection](...args) { + return this.checkIntersection.apply(this, args); + } + [S$3.$createSvgAngle](...args) { + return this.createSVGAngle.apply(this, args); + } + [S$3.$createSvgLength](...args) { + return this.createSVGLength.apply(this, args); + } + [S$3.$createSvgMatrix](...args) { + return this.createSVGMatrix.apply(this, args); + } + [S$3.$createSvgNumber](...args) { + return this.createSVGNumber.apply(this, args); + } + [S$3.$createSvgPoint](...args) { + return this.createSVGPoint.apply(this, args); + } + [S$3.$createSvgRect](...args) { + return this.createSVGRect.apply(this, args); + } + [S$3.$createSvgTransform](...args) { + return this.createSVGTransform.apply(this, args); + } + [S$3.$createSvgTransformFromMatrix](...args) { + return this.createSVGTransformFromMatrix.apply(this, args); + } + [S$3.$deselectAll](...args) { + return this.deselectAll.apply(this, args); + } + [S$3.$forceRedraw](...args) { + return this.forceRedraw.apply(this, args); + } + [S$3.$getCurrentTime](...args) { + return this.getCurrentTime.apply(this, args); + } + [S$1.$getElementById](...args) { + return this.getElementById.apply(this, args); + } + [S$3.$getEnclosureList](...args) { + return this.getEnclosureList.apply(this, args); + } + [S$3.$getIntersectionList](...args) { + return this.getIntersectionList.apply(this, args); + } + [S$3.$pauseAnimations](...args) { + return this.pauseAnimations.apply(this, args); + } + [S$3.$setCurrentTime](...args) { + return this.setCurrentTime.apply(this, args); + } + [S$3.$suspendRedraw](...args) { + return this.suspendRedraw.apply(this, args); + } + [S$3.$unpauseAnimations](...args) { + return this.unpauseAnimations.apply(this, args); + } + [S$3.$unsuspendRedraw](...args) { + return this.unsuspendRedraw.apply(this, args); + } + [S$3.$unsuspendRedrawAll](...args) { + return this.unsuspendRedrawAll.apply(this, args); + } + get [S$3.$preserveAspectRatio]() { + return this.preserveAspectRatio; + } + get [S$3.$viewBox]() { + return this.viewBox; + } + get [S$3.$zoomAndPan]() { + return this.zoomAndPan; + } + set [S$3.$zoomAndPan](value) { + this.zoomAndPan = value; + } +}; +(svg$.SvgSvgElement.created = function() { + svg$.SvgSvgElement.__proto__.created.call(this); + ; +}).prototype = svg$.SvgSvgElement.prototype; +dart.addTypeTests(svg$.SvgSvgElement); +dart.addTypeCaches(svg$.SvgSvgElement); +svg$.SvgSvgElement[dart.implements] = () => [svg$.FitToViewBox, svg$.ZoomAndPan]; +dart.setMethodSignature(svg$.SvgSvgElement, () => ({ + __proto__: dart.getMethods(svg$.SvgSvgElement.__proto__), + [S$3.$animationsPaused]: dart.fnType(core.bool, []), + [S$3.$checkEnclosure]: dart.fnType(core.bool, [svg$.SvgElement, svg$.Rect]), + [S$3.$checkIntersection]: dart.fnType(core.bool, [svg$.SvgElement, svg$.Rect]), + [S$3.$createSvgAngle]: dart.fnType(svg$.Angle, []), + [S$3.$createSvgLength]: dart.fnType(svg$.Length, []), + [S$3.$createSvgMatrix]: dart.fnType(svg$.Matrix, []), + [S$3.$createSvgNumber]: dart.fnType(svg$.Number, []), + [S$3.$createSvgPoint]: dart.fnType(svg$.Point, []), + [S$3.$createSvgRect]: dart.fnType(svg$.Rect, []), + [S$3.$createSvgTransform]: dart.fnType(svg$.Transform, []), + [S$3.$createSvgTransformFromMatrix]: dart.fnType(svg$.Transform, [svg$.Matrix]), + [S$3.$deselectAll]: dart.fnType(dart.void, []), + [S$3.$forceRedraw]: dart.fnType(dart.void, []), + [S$3.$getCurrentTime]: dart.fnType(core.double, []), + [S$1.$getElementById]: dart.fnType(html$.Element, [core.String]), + [S$3.$getEnclosureList]: dart.fnType(core.List$(html$.Node), [svg$.Rect, dart.nullable(svg$.SvgElement)]), + [S$3.$getIntersectionList]: dart.fnType(core.List$(html$.Node), [svg$.Rect, dart.nullable(svg$.SvgElement)]), + [S$3.$pauseAnimations]: dart.fnType(dart.void, []), + [S$3.$setCurrentTime]: dart.fnType(dart.void, [core.num]), + [S$3.$suspendRedraw]: dart.fnType(core.int, [core.int]), + [S$3.$unpauseAnimations]: dart.fnType(dart.void, []), + [S$3.$unsuspendRedraw]: dart.fnType(dart.void, [core.int]), + [S$3.$unsuspendRedrawAll]: dart.fnType(dart.void, []) +})); +dart.setGetterSignature(svg$.SvgSvgElement, () => ({ + __proto__: dart.getGetters(svg$.SvgSvgElement.__proto__), + [S$3.$currentScale]: dart.nullable(core.num), + [S$3.$currentTranslate]: dart.nullable(svg$.Point), + [$height]: dart.nullable(svg$.AnimatedLength), + [$width]: dart.nullable(svg$.AnimatedLength), + [S$.$x]: dart.nullable(svg$.AnimatedLength), + [S$.$y]: dart.nullable(svg$.AnimatedLength), + [S$3.$preserveAspectRatio]: dart.nullable(svg$.AnimatedPreserveAspectRatio), + [S$3.$viewBox]: dart.nullable(svg$.AnimatedRect), + [S$3.$zoomAndPan]: dart.nullable(core.int) +})); +dart.setSetterSignature(svg$.SvgSvgElement, () => ({ + __proto__: dart.getSetters(svg$.SvgSvgElement.__proto__), + [S$3.$currentScale]: dart.nullable(core.num), + [S$3.$zoomAndPan]: dart.nullable(core.int) +})); +dart.setLibraryUri(svg$.SvgSvgElement, I[157]); +dart.registerExtension("SVGSVGElement", svg$.SvgSvgElement); +svg$.SwitchElement = class SwitchElement extends svg$.GraphicsElement { + static new() { + return svg$.SwitchElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("switch")); + } +}; +(svg$.SwitchElement.created = function() { + svg$.SwitchElement.__proto__.created.call(this); + ; +}).prototype = svg$.SwitchElement.prototype; +dart.addTypeTests(svg$.SwitchElement); +dart.addTypeCaches(svg$.SwitchElement); +dart.setLibraryUri(svg$.SwitchElement, I[157]); +dart.registerExtension("SVGSwitchElement", svg$.SwitchElement); +svg$.SymbolElement = class SymbolElement extends svg$.SvgElement { + static new() { + return svg$.SymbolElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("symbol")); + } + get [S$3.$preserveAspectRatio]() { + return this.preserveAspectRatio; + } + get [S$3.$viewBox]() { + return this.viewBox; + } +}; +(svg$.SymbolElement.created = function() { + svg$.SymbolElement.__proto__.created.call(this); + ; +}).prototype = svg$.SymbolElement.prototype; +dart.addTypeTests(svg$.SymbolElement); +dart.addTypeCaches(svg$.SymbolElement); +svg$.SymbolElement[dart.implements] = () => [svg$.FitToViewBox]; +dart.setGetterSignature(svg$.SymbolElement, () => ({ + __proto__: dart.getGetters(svg$.SymbolElement.__proto__), + [S$3.$preserveAspectRatio]: dart.nullable(svg$.AnimatedPreserveAspectRatio), + [S$3.$viewBox]: dart.nullable(svg$.AnimatedRect) +})); +dart.setLibraryUri(svg$.SymbolElement, I[157]); +dart.registerExtension("SVGSymbolElement", svg$.SymbolElement); +svg$.TextContentElement = class TextContentElement extends svg$.GraphicsElement { + get [S$3.$lengthAdjust]() { + return this.lengthAdjust; + } + get [S$2.$textLength]() { + return this.textLength; + } + [S$3.$getCharNumAtPosition](...args) { + return this.getCharNumAtPosition.apply(this, args); + } + [S$3.$getComputedTextLength](...args) { + return this.getComputedTextLength.apply(this, args); + } + [S$3.$getEndPositionOfChar](...args) { + return this.getEndPositionOfChar.apply(this, args); + } + [S$3.$getExtentOfChar](...args) { + return this.getExtentOfChar.apply(this, args); + } + [S$3.$getNumberOfChars](...args) { + return this.getNumberOfChars.apply(this, args); + } + [S$3.$getRotationOfChar](...args) { + return this.getRotationOfChar.apply(this, args); + } + [S$3.$getStartPositionOfChar](...args) { + return this.getStartPositionOfChar.apply(this, args); + } + [S$3.$getSubStringLength](...args) { + return this.getSubStringLength.apply(this, args); + } + [S$3.$selectSubString](...args) { + return this.selectSubString.apply(this, args); + } +}; +(svg$.TextContentElement.created = function() { + svg$.TextContentElement.__proto__.created.call(this); + ; +}).prototype = svg$.TextContentElement.prototype; +dart.addTypeTests(svg$.TextContentElement); +dart.addTypeCaches(svg$.TextContentElement); +dart.setMethodSignature(svg$.TextContentElement, () => ({ + __proto__: dart.getMethods(svg$.TextContentElement.__proto__), + [S$3.$getCharNumAtPosition]: dart.fnType(core.int, [svg$.Point]), + [S$3.$getComputedTextLength]: dart.fnType(core.double, []), + [S$3.$getEndPositionOfChar]: dart.fnType(svg$.Point, [core.int]), + [S$3.$getExtentOfChar]: dart.fnType(svg$.Rect, [core.int]), + [S$3.$getNumberOfChars]: dart.fnType(core.int, []), + [S$3.$getRotationOfChar]: dart.fnType(core.double, [core.int]), + [S$3.$getStartPositionOfChar]: dart.fnType(svg$.Point, [core.int]), + [S$3.$getSubStringLength]: dart.fnType(core.double, [core.int, core.int]), + [S$3.$selectSubString]: dart.fnType(dart.void, [core.int, core.int]) +})); +dart.setGetterSignature(svg$.TextContentElement, () => ({ + __proto__: dart.getGetters(svg$.TextContentElement.__proto__), + [S$3.$lengthAdjust]: dart.nullable(svg$.AnimatedEnumeration), + [S$2.$textLength]: dart.nullable(svg$.AnimatedLength) +})); +dart.setLibraryUri(svg$.TextContentElement, I[157]); +dart.defineLazy(svg$.TextContentElement, { + /*svg$.TextContentElement.LENGTHADJUST_SPACING*/get LENGTHADJUST_SPACING() { + return 1; + }, + /*svg$.TextContentElement.LENGTHADJUST_SPACINGANDGLYPHS*/get LENGTHADJUST_SPACINGANDGLYPHS() { + return 2; + }, + /*svg$.TextContentElement.LENGTHADJUST_UNKNOWN*/get LENGTHADJUST_UNKNOWN() { + return 0; + } +}, false); +dart.registerExtension("SVGTextContentElement", svg$.TextContentElement); +svg$.TextPositioningElement = class TextPositioningElement extends svg$.TextContentElement { + get [S$3.$dx]() { + return this.dx; + } + get [S$3.$dy]() { + return this.dy; + } + get [S$.$rotate]() { + return this.rotate; + } + get [S$.$x]() { + return this.x; + } + get [S$.$y]() { + return this.y; + } +}; +(svg$.TextPositioningElement.created = function() { + svg$.TextPositioningElement.__proto__.created.call(this); + ; +}).prototype = svg$.TextPositioningElement.prototype; +dart.addTypeTests(svg$.TextPositioningElement); +dart.addTypeCaches(svg$.TextPositioningElement); +dart.setGetterSignature(svg$.TextPositioningElement, () => ({ + __proto__: dart.getGetters(svg$.TextPositioningElement.__proto__), + [S$3.$dx]: dart.nullable(svg$.AnimatedLengthList), + [S$3.$dy]: dart.nullable(svg$.AnimatedLengthList), + [S$.$rotate]: dart.nullable(svg$.AnimatedNumberList), + [S$.$x]: dart.nullable(svg$.AnimatedLengthList), + [S$.$y]: dart.nullable(svg$.AnimatedLengthList) +})); +dart.setLibraryUri(svg$.TextPositioningElement, I[157]); +dart.registerExtension("SVGTextPositioningElement", svg$.TextPositioningElement); +svg$.TSpanElement = class TSpanElement extends svg$.TextPositioningElement { + static new() { + return svg$.TSpanElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("tspan")); + } +}; +(svg$.TSpanElement.created = function() { + svg$.TSpanElement.__proto__.created.call(this); + ; +}).prototype = svg$.TSpanElement.prototype; +dart.addTypeTests(svg$.TSpanElement); +dart.addTypeCaches(svg$.TSpanElement); +dart.setLibraryUri(svg$.TSpanElement, I[157]); +dart.registerExtension("SVGTSpanElement", svg$.TSpanElement); +svg$.Tests = class Tests extends _interceptors.Interceptor { + get requiredExtensions() { + return this.requiredExtensions; + } + get systemLanguage() { + return this.systemLanguage; + } +}; +dart.addTypeTests(svg$.Tests); +dart.addTypeCaches(svg$.Tests); +dart.setGetterSignature(svg$.Tests, () => ({ + __proto__: dart.getGetters(svg$.Tests.__proto__), + requiredExtensions: dart.nullable(svg$.StringList), + [S$3.$requiredExtensions]: dart.nullable(svg$.StringList), + systemLanguage: dart.nullable(svg$.StringList), + [S$3.$systemLanguage]: dart.nullable(svg$.StringList) +})); +dart.setLibraryUri(svg$.Tests, I[157]); +dart.defineExtensionAccessors(svg$.Tests, ['requiredExtensions', 'systemLanguage']); +svg$.TextElement = class TextElement extends svg$.TextPositioningElement { + static new() { + return svg$.TextElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("text")); + } +}; +(svg$.TextElement.created = function() { + svg$.TextElement.__proto__.created.call(this); + ; +}).prototype = svg$.TextElement.prototype; +dart.addTypeTests(svg$.TextElement); +dart.addTypeCaches(svg$.TextElement); +dart.setLibraryUri(svg$.TextElement, I[157]); +dart.registerExtension("SVGTextElement", svg$.TextElement); +svg$.TextPathElement = class TextPathElement extends svg$.TextContentElement { + get [S$1.$method]() { + return this.method; + } + get [S$3.$spacing]() { + return this.spacing; + } + get [S$2.$startOffset]() { + return this.startOffset; + } + get [S$.$href]() { + return this.href; + } +}; +(svg$.TextPathElement.created = function() { + svg$.TextPathElement.__proto__.created.call(this); + ; +}).prototype = svg$.TextPathElement.prototype; +dart.addTypeTests(svg$.TextPathElement); +dart.addTypeCaches(svg$.TextPathElement); +svg$.TextPathElement[dart.implements] = () => [svg$.UriReference]; +dart.setGetterSignature(svg$.TextPathElement, () => ({ + __proto__: dart.getGetters(svg$.TextPathElement.__proto__), + [S$1.$method]: dart.nullable(svg$.AnimatedEnumeration), + [S$3.$spacing]: dart.nullable(svg$.AnimatedEnumeration), + [S$2.$startOffset]: dart.nullable(svg$.AnimatedLength), + [S$.$href]: dart.nullable(svg$.AnimatedString) +})); +dart.setLibraryUri(svg$.TextPathElement, I[157]); +dart.defineLazy(svg$.TextPathElement, { + /*svg$.TextPathElement.TEXTPATH_METHODTYPE_ALIGN*/get TEXTPATH_METHODTYPE_ALIGN() { + return 1; + }, + /*svg$.TextPathElement.TEXTPATH_METHODTYPE_STRETCH*/get TEXTPATH_METHODTYPE_STRETCH() { + return 2; + }, + /*svg$.TextPathElement.TEXTPATH_METHODTYPE_UNKNOWN*/get TEXTPATH_METHODTYPE_UNKNOWN() { + return 0; + }, + /*svg$.TextPathElement.TEXTPATH_SPACINGTYPE_AUTO*/get TEXTPATH_SPACINGTYPE_AUTO() { + return 1; + }, + /*svg$.TextPathElement.TEXTPATH_SPACINGTYPE_EXACT*/get TEXTPATH_SPACINGTYPE_EXACT() { + return 2; + }, + /*svg$.TextPathElement.TEXTPATH_SPACINGTYPE_UNKNOWN*/get TEXTPATH_SPACINGTYPE_UNKNOWN() { + return 0; + } +}, false); +dart.registerExtension("SVGTextPathElement", svg$.TextPathElement); +svg$.TitleElement = class TitleElement extends svg$.SvgElement { + static new() { + return svg$.TitleElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("title")); + } +}; +(svg$.TitleElement.created = function() { + svg$.TitleElement.__proto__.created.call(this); + ; +}).prototype = svg$.TitleElement.prototype; +dart.addTypeTests(svg$.TitleElement); +dart.addTypeCaches(svg$.TitleElement); +dart.setLibraryUri(svg$.TitleElement, I[157]); +dart.registerExtension("SVGTitleElement", svg$.TitleElement); +svg$.Transform = class Transform extends _interceptors.Interceptor { + get [S$.$angle]() { + return this.angle; + } + get [S$.$matrix]() { + return this.matrix; + } + get [S.$type]() { + return this.type; + } + [S$3.$setMatrix](...args) { + return this.setMatrix.apply(this, args); + } + [S$3.$setRotate](...args) { + return this.setRotate.apply(this, args); + } + [S$3.$setScale](...args) { + return this.setScale.apply(this, args); + } + [S$3.$setSkewX](...args) { + return this.setSkewX.apply(this, args); + } + [S$3.$setSkewY](...args) { + return this.setSkewY.apply(this, args); + } + [S$3.$setTranslate](...args) { + return this.setTranslate.apply(this, args); + } +}; +dart.addTypeTests(svg$.Transform); +dart.addTypeCaches(svg$.Transform); +dart.setMethodSignature(svg$.Transform, () => ({ + __proto__: dart.getMethods(svg$.Transform.__proto__), + [S$3.$setMatrix]: dart.fnType(dart.void, [svg$.Matrix]), + [S$3.$setRotate]: dart.fnType(dart.void, [core.num, core.num, core.num]), + [S$3.$setScale]: dart.fnType(dart.void, [core.num, core.num]), + [S$3.$setSkewX]: dart.fnType(dart.void, [core.num]), + [S$3.$setSkewY]: dart.fnType(dart.void, [core.num]), + [S$3.$setTranslate]: dart.fnType(dart.void, [core.num, core.num]) +})); +dart.setGetterSignature(svg$.Transform, () => ({ + __proto__: dart.getGetters(svg$.Transform.__proto__), + [S$.$angle]: dart.nullable(core.num), + [S$.$matrix]: dart.nullable(svg$.Matrix), + [S.$type]: dart.nullable(core.int) +})); +dart.setLibraryUri(svg$.Transform, I[157]); +dart.defineLazy(svg$.Transform, { + /*svg$.Transform.SVG_TRANSFORM_MATRIX*/get SVG_TRANSFORM_MATRIX() { + return 1; + }, + /*svg$.Transform.SVG_TRANSFORM_ROTATE*/get SVG_TRANSFORM_ROTATE() { + return 4; + }, + /*svg$.Transform.SVG_TRANSFORM_SCALE*/get SVG_TRANSFORM_SCALE() { + return 3; + }, + /*svg$.Transform.SVG_TRANSFORM_SKEWX*/get SVG_TRANSFORM_SKEWX() { + return 5; + }, + /*svg$.Transform.SVG_TRANSFORM_SKEWY*/get SVG_TRANSFORM_SKEWY() { + return 6; + }, + /*svg$.Transform.SVG_TRANSFORM_TRANSLATE*/get SVG_TRANSFORM_TRANSLATE() { + return 2; + }, + /*svg$.Transform.SVG_TRANSFORM_UNKNOWN*/get SVG_TRANSFORM_UNKNOWN() { + return 0; + } +}, false); +dart.registerExtension("SVGTransform", svg$.Transform); +const Interceptor_ListMixin$36$16 = class Interceptor_ListMixin extends _interceptors.Interceptor {}; +(Interceptor_ListMixin$36$16.new = function() { + Interceptor_ListMixin$36$16.__proto__.new.call(this); +}).prototype = Interceptor_ListMixin$36$16.prototype; +dart.applyMixin(Interceptor_ListMixin$36$16, collection.ListMixin$(svg$.Transform)); +const Interceptor_ImmutableListMixin$36$16 = class Interceptor_ImmutableListMixin extends Interceptor_ListMixin$36$16 {}; +(Interceptor_ImmutableListMixin$36$16.new = function() { + Interceptor_ImmutableListMixin$36$16.__proto__.new.call(this); +}).prototype = Interceptor_ImmutableListMixin$36$16.prototype; +dart.applyMixin(Interceptor_ImmutableListMixin$36$16, html$.ImmutableListMixin$(svg$.Transform)); +svg$.TransformList = class TransformList extends Interceptor_ImmutableListMixin$36$16 { + get [$length]() { + return this.length; + } + get [S$3.$numberOfItems]() { + return this.numberOfItems; + } + [$_get](index) { + if (index == null) dart.nullFailed(I[156], 3850, 29, "index"); + if (index >>> 0 !== index || index >= this[$length]) dart.throw(new core.IndexError.new(index, this)); + return this.getItem(index); + } + [$_set](index, value$) { + let value = value$; + if (index == null) dart.nullFailed(I[156], 3856, 25, "index"); + svg$.Transform.as(value); + if (value == null) dart.nullFailed(I[156], 3856, 42, "value"); + dart.throw(new core.UnsupportedError.new("Cannot assign element of immutable List.")); + return value$; + } + set [$length](value) { + if (value == null) dart.nullFailed(I[156], 3862, 18, "value"); + dart.throw(new core.UnsupportedError.new("Cannot resize immutable List.")); + } + get [$first]() { + if (dart.notNull(this[$length]) > 0) { + return this[0]; + } + dart.throw(new core.StateError.new("No elements")); + } + set [$first](value) { + super[$first] = value; + } + get [$last]() { + let len = this[$length]; + if (dart.notNull(len) > 0) { + return this[dart.notNull(len) - 1]; + } + dart.throw(new core.StateError.new("No elements")); + } + set [$last](value) { + super[$last] = value; + } + get [$single]() { + let len = this[$length]; + if (len === 1) { + return this[0]; + } + if (len === 0) dart.throw(new core.StateError.new("No elements")); + dart.throw(new core.StateError.new("More than one element")); + } + [$elementAt](index) { + if (index == null) dart.nullFailed(I[156], 3890, 27, "index"); + return this[$_get](index); + } + [S$3.__setter__$1](...args) { + return this.__setter__.apply(this, args); + } + [S$3.$appendItem](...args) { + return this.appendItem.apply(this, args); + } + [$clear](...args) { + return this.clear.apply(this, args); + } + [S$3.$consolidate](...args) { + return this.consolidate.apply(this, args); + } + [S$3.$createSvgTransformFromMatrix](...args) { + return this.createSVGTransformFromMatrix.apply(this, args); + } + [S$3.$getItem](...args) { + return this.getItem.apply(this, args); + } + [S$3.$initialize](...args) { + return this.initialize.apply(this, args); + } + [S$3.$insertItemBefore](...args) { + return this.insertItemBefore.apply(this, args); + } + [S$3.$removeItem](...args) { + return this.removeItem.apply(this, args); + } + [S$3.$replaceItem](...args) { + return this.replaceItem.apply(this, args); + } +}; +svg$.TransformList.prototype[dart.isList] = true; +dart.addTypeTests(svg$.TransformList); +dart.addTypeCaches(svg$.TransformList); +svg$.TransformList[dart.implements] = () => [core.List$(svg$.Transform)]; +dart.setMethodSignature(svg$.TransformList, () => ({ + __proto__: dart.getMethods(svg$.TransformList.__proto__), + [$_get]: dart.fnType(svg$.Transform, [core.int]), + [$_set]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), + [S$3.__setter__$1]: dart.fnType(dart.void, [core.int, svg$.Transform]), + [S$3.$appendItem]: dart.fnType(svg$.Transform, [svg$.Transform]), + [S$3.$consolidate]: dart.fnType(dart.nullable(svg$.Transform), []), + [S$3.$createSvgTransformFromMatrix]: dart.fnType(svg$.Transform, [svg$.Matrix]), + [S$3.$getItem]: dart.fnType(svg$.Transform, [core.int]), + [S$3.$initialize]: dart.fnType(svg$.Transform, [svg$.Transform]), + [S$3.$insertItemBefore]: dart.fnType(svg$.Transform, [svg$.Transform, core.int]), + [S$3.$removeItem]: dart.fnType(svg$.Transform, [core.int]), + [S$3.$replaceItem]: dart.fnType(svg$.Transform, [svg$.Transform, core.int]) +})); +dart.setGetterSignature(svg$.TransformList, () => ({ + __proto__: dart.getGetters(svg$.TransformList.__proto__), + [$length]: core.int, + [S$3.$numberOfItems]: dart.nullable(core.int) +})); +dart.setSetterSignature(svg$.TransformList, () => ({ + __proto__: dart.getSetters(svg$.TransformList.__proto__), + [$length]: core.int +})); +dart.setLibraryUri(svg$.TransformList, I[157]); +dart.registerExtension("SVGTransformList", svg$.TransformList); +svg$.UnitTypes = class UnitTypes extends _interceptors.Interceptor {}; +dart.addTypeTests(svg$.UnitTypes); +dart.addTypeCaches(svg$.UnitTypes); +dart.setLibraryUri(svg$.UnitTypes, I[157]); +dart.defineLazy(svg$.UnitTypes, { + /*svg$.UnitTypes.SVG_UNIT_TYPE_OBJECTBOUNDINGBOX*/get SVG_UNIT_TYPE_OBJECTBOUNDINGBOX() { + return 2; + }, + /*svg$.UnitTypes.SVG_UNIT_TYPE_UNKNOWN*/get SVG_UNIT_TYPE_UNKNOWN() { + return 0; + }, + /*svg$.UnitTypes.SVG_UNIT_TYPE_USERSPACEONUSE*/get SVG_UNIT_TYPE_USERSPACEONUSE() { + return 1; + } +}, false); +dart.registerExtension("SVGUnitTypes", svg$.UnitTypes); +svg$.UriReference = class UriReference extends _interceptors.Interceptor { + get href() { + return this.href; + } +}; +dart.addTypeTests(svg$.UriReference); +dart.addTypeCaches(svg$.UriReference); +dart.setGetterSignature(svg$.UriReference, () => ({ + __proto__: dart.getGetters(svg$.UriReference.__proto__), + href: dart.nullable(svg$.AnimatedString), + [S$.$href]: dart.nullable(svg$.AnimatedString) +})); +dart.setLibraryUri(svg$.UriReference, I[157]); +dart.defineExtensionAccessors(svg$.UriReference, ['href']); +svg$.UseElement = class UseElement extends svg$.GraphicsElement { + static new() { + return svg$.UseElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("use")); + } + get [$height]() { + return this.height; + } + get [$width]() { + return this.width; + } + get [S$.$x]() { + return this.x; + } + get [S$.$y]() { + return this.y; + } + get [S$.$href]() { + return this.href; + } +}; +(svg$.UseElement.created = function() { + svg$.UseElement.__proto__.created.call(this); + ; +}).prototype = svg$.UseElement.prototype; +dart.addTypeTests(svg$.UseElement); +dart.addTypeCaches(svg$.UseElement); +svg$.UseElement[dart.implements] = () => [svg$.UriReference]; +dart.setGetterSignature(svg$.UseElement, () => ({ + __proto__: dart.getGetters(svg$.UseElement.__proto__), + [$height]: dart.nullable(svg$.AnimatedLength), + [$width]: dart.nullable(svg$.AnimatedLength), + [S$.$x]: dart.nullable(svg$.AnimatedLength), + [S$.$y]: dart.nullable(svg$.AnimatedLength), + [S$.$href]: dart.nullable(svg$.AnimatedString) +})); +dart.setLibraryUri(svg$.UseElement, I[157]); +dart.registerExtension("SVGUseElement", svg$.UseElement); +svg$.ViewElement = class ViewElement extends svg$.SvgElement { + static new() { + return svg$.ViewElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("view")); + } + get [S$3.$preserveAspectRatio]() { + return this.preserveAspectRatio; + } + get [S$3.$viewBox]() { + return this.viewBox; + } + get [S$3.$zoomAndPan]() { + return this.zoomAndPan; + } + set [S$3.$zoomAndPan](value) { + this.zoomAndPan = value; + } +}; +(svg$.ViewElement.created = function() { + svg$.ViewElement.__proto__.created.call(this); + ; +}).prototype = svg$.ViewElement.prototype; +dart.addTypeTests(svg$.ViewElement); +dart.addTypeCaches(svg$.ViewElement); +svg$.ViewElement[dart.implements] = () => [svg$.FitToViewBox, svg$.ZoomAndPan]; +dart.setGetterSignature(svg$.ViewElement, () => ({ + __proto__: dart.getGetters(svg$.ViewElement.__proto__), + [S$3.$preserveAspectRatio]: dart.nullable(svg$.AnimatedPreserveAspectRatio), + [S$3.$viewBox]: dart.nullable(svg$.AnimatedRect), + [S$3.$zoomAndPan]: dart.nullable(core.int) +})); +dart.setSetterSignature(svg$.ViewElement, () => ({ + __proto__: dart.getSetters(svg$.ViewElement.__proto__), + [S$3.$zoomAndPan]: dart.nullable(core.int) +})); +dart.setLibraryUri(svg$.ViewElement, I[157]); +dart.registerExtension("SVGViewElement", svg$.ViewElement); +svg$.ZoomAndPan = class ZoomAndPan extends _interceptors.Interceptor { + get zoomAndPan() { + return this.zoomAndPan; + } + set zoomAndPan(value) { + this.zoomAndPan = value; + } +}; +dart.addTypeTests(svg$.ZoomAndPan); +dart.addTypeCaches(svg$.ZoomAndPan); +dart.setGetterSignature(svg$.ZoomAndPan, () => ({ + __proto__: dart.getGetters(svg$.ZoomAndPan.__proto__), + zoomAndPan: dart.nullable(core.int), + [S$3.$zoomAndPan]: dart.nullable(core.int) +})); +dart.setSetterSignature(svg$.ZoomAndPan, () => ({ + __proto__: dart.getSetters(svg$.ZoomAndPan.__proto__), + zoomAndPan: dart.nullable(core.int), + [S$3.$zoomAndPan]: dart.nullable(core.int) +})); +dart.setLibraryUri(svg$.ZoomAndPan, I[157]); +dart.defineExtensionAccessors(svg$.ZoomAndPan, ['zoomAndPan']); +dart.defineLazy(svg$.ZoomAndPan, { + /*svg$.ZoomAndPan.SVG_ZOOMANDPAN_DISABLE*/get SVG_ZOOMANDPAN_DISABLE() { + return 1; + }, + /*svg$.ZoomAndPan.SVG_ZOOMANDPAN_MAGNIFY*/get SVG_ZOOMANDPAN_MAGNIFY() { + return 2; + }, + /*svg$.ZoomAndPan.SVG_ZOOMANDPAN_UNKNOWN*/get SVG_ZOOMANDPAN_UNKNOWN() { + return 0; + } +}, false); +svg$._SVGFEDropShadowElement = class _SVGFEDropShadowElement extends svg$.SvgElement {}; +(svg$._SVGFEDropShadowElement.created = function() { + svg$._SVGFEDropShadowElement.__proto__.created.call(this); + ; +}).prototype = svg$._SVGFEDropShadowElement.prototype; +dart.addTypeTests(svg$._SVGFEDropShadowElement); +dart.addTypeCaches(svg$._SVGFEDropShadowElement); +svg$._SVGFEDropShadowElement[dart.implements] = () => [svg$.FilterPrimitiveStandardAttributes]; +dart.setLibraryUri(svg$._SVGFEDropShadowElement, I[157]); +dart.registerExtension("SVGFEDropShadowElement", svg$._SVGFEDropShadowElement); +svg$._SVGMPathElement = class _SVGMPathElement extends svg$.SvgElement { + static new() { + return svg$._SVGMPathElement.as(svg$._SvgElementFactoryProvider.createSvgElement_tag("mpath")); + } +}; +(svg$._SVGMPathElement.created = function() { + svg$._SVGMPathElement.__proto__.created.call(this); + ; +}).prototype = svg$._SVGMPathElement.prototype; +dart.addTypeTests(svg$._SVGMPathElement); +dart.addTypeCaches(svg$._SVGMPathElement); +svg$._SVGMPathElement[dart.implements] = () => [svg$.UriReference]; +dart.setLibraryUri(svg$._SVGMPathElement, I[157]); +dart.registerExtension("SVGMPathElement", svg$._SVGMPathElement); +web_audio.AudioNode = class AudioNode extends html$.EventTarget { + get [S$3.$channelCount]() { + return this.channelCount; + } + set [S$3.$channelCount](value) { + this.channelCount = value; + } + get [S$3.$channelCountMode]() { + return this.channelCountMode; + } + set [S$3.$channelCountMode](value) { + this.channelCountMode = value; + } + get [S$3.$channelInterpretation]() { + return this.channelInterpretation; + } + set [S$3.$channelInterpretation](value) { + this.channelInterpretation = value; + } + get [S$3.$context]() { + return this.context; + } + get [S$3.$numberOfInputs]() { + return this.numberOfInputs; + } + get [S$3.$numberOfOutputs]() { + return this.numberOfOutputs; + } + [S$3._connect](...args) { + return this.connect.apply(this, args); + } + [S$1.$disconnect](...args) { + return this.disconnect.apply(this, args); + } + [S$3.$connectNode](destination, output = 0, input = 0) { + if (destination == null) dart.nullFailed(I[158], 333, 30, "destination"); + if (output == null) dart.nullFailed(I[158], 333, 48, "output"); + if (input == null) dart.nullFailed(I[158], 333, 64, "input"); + this[S$3._connect](destination, output, input); + } + [S$3.$connectParam](destination, output = 0) { + if (destination == null) dart.nullFailed(I[158], 337, 32, "destination"); + if (output == null) dart.nullFailed(I[158], 337, 50, "output"); + this[S$3._connect](destination, output); + } +}; +dart.addTypeTests(web_audio.AudioNode); +dart.addTypeCaches(web_audio.AudioNode); +dart.setMethodSignature(web_audio.AudioNode, () => ({ + __proto__: dart.getMethods(web_audio.AudioNode.__proto__), + [S$3._connect]: dart.fnType(web_audio.AudioNode, [dart.dynamic], [dart.nullable(core.int), dart.nullable(core.int)]), + [S$1.$disconnect]: dart.fnType(dart.void, [], [dart.dynamic, dart.nullable(core.int), dart.nullable(core.int)]), + [S$3.$connectNode]: dart.fnType(dart.void, [web_audio.AudioNode], [core.int, core.int]), + [S$3.$connectParam]: dart.fnType(dart.void, [web_audio.AudioParam], [core.int]) +})); +dart.setGetterSignature(web_audio.AudioNode, () => ({ + __proto__: dart.getGetters(web_audio.AudioNode.__proto__), + [S$3.$channelCount]: dart.nullable(core.int), + [S$3.$channelCountMode]: dart.nullable(core.String), + [S$3.$channelInterpretation]: dart.nullable(core.String), + [S$3.$context]: dart.nullable(web_audio.BaseAudioContext), + [S$3.$numberOfInputs]: dart.nullable(core.int), + [S$3.$numberOfOutputs]: dart.nullable(core.int) +})); +dart.setSetterSignature(web_audio.AudioNode, () => ({ + __proto__: dart.getSetters(web_audio.AudioNode.__proto__), + [S$3.$channelCount]: dart.nullable(core.int), + [S$3.$channelCountMode]: dart.nullable(core.String), + [S$3.$channelInterpretation]: dart.nullable(core.String) +})); +dart.setLibraryUri(web_audio.AudioNode, I[159]); +dart.registerExtension("AudioNode", web_audio.AudioNode); +web_audio.AnalyserNode = class AnalyserNode$ extends web_audio.AudioNode { + static new(context, options = null) { + if (context == null) dart.nullFailed(I[158], 41, 41, "context"); + if (options != null) { + let options_1 = html_common.convertDartToNative_Dictionary(options); + return web_audio.AnalyserNode._create_1(context, options_1); + } + return web_audio.AnalyserNode._create_2(context); + } + static _create_1(context, options) { + return new AnalyserNode(context, options); + } + static _create_2(context) { + return new AnalyserNode(context); + } + get [S$3.$fftSize]() { + return this.fftSize; + } + set [S$3.$fftSize](value) { + this.fftSize = value; + } + get [S$3.$frequencyBinCount]() { + return this.frequencyBinCount; + } + get [S$3.$maxDecibels]() { + return this.maxDecibels; + } + set [S$3.$maxDecibels](value) { + this.maxDecibels = value; + } + get [S$3.$minDecibels]() { + return this.minDecibels; + } + set [S$3.$minDecibels](value) { + this.minDecibels = value; + } + get [S$3.$smoothingTimeConstant]() { + return this.smoothingTimeConstant; + } + set [S$3.$smoothingTimeConstant](value) { + this.smoothingTimeConstant = value; + } + [S$3.$getByteFrequencyData](...args) { + return this.getByteFrequencyData.apply(this, args); + } + [S$3.$getByteTimeDomainData](...args) { + return this.getByteTimeDomainData.apply(this, args); + } + [S$3.$getFloatFrequencyData](...args) { + return this.getFloatFrequencyData.apply(this, args); + } + [S$3.$getFloatTimeDomainData](...args) { + return this.getFloatTimeDomainData.apply(this, args); + } +}; +dart.addTypeTests(web_audio.AnalyserNode); +dart.addTypeCaches(web_audio.AnalyserNode); +dart.setMethodSignature(web_audio.AnalyserNode, () => ({ + __proto__: dart.getMethods(web_audio.AnalyserNode.__proto__), + [S$3.$getByteFrequencyData]: dart.fnType(dart.void, [typed_data.Uint8List]), + [S$3.$getByteTimeDomainData]: dart.fnType(dart.void, [typed_data.Uint8List]), + [S$3.$getFloatFrequencyData]: dart.fnType(dart.void, [typed_data.Float32List]), + [S$3.$getFloatTimeDomainData]: dart.fnType(dart.void, [typed_data.Float32List]) +})); +dart.setGetterSignature(web_audio.AnalyserNode, () => ({ + __proto__: dart.getGetters(web_audio.AnalyserNode.__proto__), + [S$3.$fftSize]: dart.nullable(core.int), + [S$3.$frequencyBinCount]: dart.nullable(core.int), + [S$3.$maxDecibels]: dart.nullable(core.num), + [S$3.$minDecibels]: dart.nullable(core.num), + [S$3.$smoothingTimeConstant]: dart.nullable(core.num) +})); +dart.setSetterSignature(web_audio.AnalyserNode, () => ({ + __proto__: dart.getSetters(web_audio.AnalyserNode.__proto__), + [S$3.$fftSize]: dart.nullable(core.int), + [S$3.$maxDecibels]: dart.nullable(core.num), + [S$3.$minDecibels]: dart.nullable(core.num), + [S$3.$smoothingTimeConstant]: dart.nullable(core.num) +})); +dart.setLibraryUri(web_audio.AnalyserNode, I[159]); +dart.registerExtension("AnalyserNode", web_audio.AnalyserNode); +dart.registerExtension("RealtimeAnalyserNode", web_audio.AnalyserNode); +web_audio.AudioBuffer = class AudioBuffer$ extends _interceptors.Interceptor { + static new(options) { + if (options == null) dart.nullFailed(I[158], 90, 27, "options"); + let options_1 = html_common.convertDartToNative_Dictionary(options); + return web_audio.AudioBuffer._create_1(options_1); + } + static _create_1(options) { + return new AudioBuffer(options); + } + get [S$.$duration]() { + return this.duration; + } + get [$length]() { + return this.length; + } + get [S$3.$numberOfChannels]() { + return this.numberOfChannels; + } + get [S$3.$sampleRate]() { + return this.sampleRate; + } + [S$3.$copyFromChannel](...args) { + return this.copyFromChannel.apply(this, args); + } + [S$3.$copyToChannel](...args) { + return this.copyToChannel.apply(this, args); + } + [S$3.$getChannelData](...args) { + return this.getChannelData.apply(this, args); + } +}; +dart.addTypeTests(web_audio.AudioBuffer); +dart.addTypeCaches(web_audio.AudioBuffer); +dart.setMethodSignature(web_audio.AudioBuffer, () => ({ + __proto__: dart.getMethods(web_audio.AudioBuffer.__proto__), + [S$3.$copyFromChannel]: dart.fnType(dart.void, [typed_data.Float32List, core.int], [dart.nullable(core.int)]), + [S$3.$copyToChannel]: dart.fnType(dart.void, [typed_data.Float32List, core.int], [dart.nullable(core.int)]), + [S$3.$getChannelData]: dart.fnType(typed_data.Float32List, [core.int]) +})); +dart.setGetterSignature(web_audio.AudioBuffer, () => ({ + __proto__: dart.getGetters(web_audio.AudioBuffer.__proto__), + [S$.$duration]: dart.nullable(core.num), + [$length]: dart.nullable(core.int), + [S$3.$numberOfChannels]: dart.nullable(core.int), + [S$3.$sampleRate]: dart.nullable(core.num) +})); +dart.setLibraryUri(web_audio.AudioBuffer, I[159]); +dart.registerExtension("AudioBuffer", web_audio.AudioBuffer); +web_audio.AudioScheduledSourceNode = class AudioScheduledSourceNode extends web_audio.AudioNode { + [S$3.$start2](...args) { + return this.start.apply(this, args); + } + [S$.$stop](...args) { + return this.stop.apply(this, args); + } + get [S.$onEnded]() { + return web_audio.AudioScheduledSourceNode.endedEvent.forTarget(this); + } +}; +dart.addTypeTests(web_audio.AudioScheduledSourceNode); +dart.addTypeCaches(web_audio.AudioScheduledSourceNode); +dart.setMethodSignature(web_audio.AudioScheduledSourceNode, () => ({ + __proto__: dart.getMethods(web_audio.AudioScheduledSourceNode.__proto__), + [S$3.$start2]: dart.fnType(dart.void, [], [dart.nullable(core.num)]), + [S$.$stop]: dart.fnType(dart.void, [], [dart.nullable(core.num)]) +})); +dart.setGetterSignature(web_audio.AudioScheduledSourceNode, () => ({ + __proto__: dart.getGetters(web_audio.AudioScheduledSourceNode.__proto__), + [S.$onEnded]: async.Stream$(html$.Event) +})); +dart.setLibraryUri(web_audio.AudioScheduledSourceNode, I[159]); +dart.defineLazy(web_audio.AudioScheduledSourceNode, { + /*web_audio.AudioScheduledSourceNode.endedEvent*/get endedEvent() { + return C[251] || CT.C251; + } +}, false); +dart.registerExtension("AudioScheduledSourceNode", web_audio.AudioScheduledSourceNode); +web_audio.AudioBufferSourceNode = class AudioBufferSourceNode$ extends web_audio.AudioScheduledSourceNode { + static new(context, options = null) { + if (context == null) dart.nullFailed(I[158], 126, 50, "context"); + if (options != null) { + let options_1 = html_common.convertDartToNative_Dictionary(options); + return web_audio.AudioBufferSourceNode._create_1(context, options_1); + } + return web_audio.AudioBufferSourceNode._create_2(context); + } + static _create_1(context, options) { + return new AudioBufferSourceNode(context, options); + } + static _create_2(context) { + return new AudioBufferSourceNode(context); + } + get [$buffer]() { + return this.buffer; + } + set [$buffer](value) { + this.buffer = value; + } + get [S$3.$detune]() { + return this.detune; + } + get [S$.$loop]() { + return this.loop; + } + set [S$.$loop](value) { + this.loop = value; + } + get [S$3.$loopEnd]() { + return this.loopEnd; + } + set [S$3.$loopEnd](value) { + this.loopEnd = value; + } + get [S$3.$loopStart]() { + return this.loopStart; + } + set [S$3.$loopStart](value) { + this.loopStart = value; + } + get [S$.$playbackRate]() { + return this.playbackRate; + } + [S$.$start](...args) { + return this.start.apply(this, args); + } +}; +dart.addTypeTests(web_audio.AudioBufferSourceNode); +dart.addTypeCaches(web_audio.AudioBufferSourceNode); +dart.setMethodSignature(web_audio.AudioBufferSourceNode, () => ({ + __proto__: dart.getMethods(web_audio.AudioBufferSourceNode.__proto__), + [S$.$start]: dart.fnType(dart.void, [], [dart.nullable(core.num), dart.nullable(core.num), dart.nullable(core.num)]) +})); +dart.setGetterSignature(web_audio.AudioBufferSourceNode, () => ({ + __proto__: dart.getGetters(web_audio.AudioBufferSourceNode.__proto__), + [$buffer]: dart.nullable(web_audio.AudioBuffer), + [S$3.$detune]: dart.nullable(web_audio.AudioParam), + [S$.$loop]: dart.nullable(core.bool), + [S$3.$loopEnd]: dart.nullable(core.num), + [S$3.$loopStart]: dart.nullable(core.num), + [S$.$playbackRate]: dart.nullable(web_audio.AudioParam) +})); +dart.setSetterSignature(web_audio.AudioBufferSourceNode, () => ({ + __proto__: dart.getSetters(web_audio.AudioBufferSourceNode.__proto__), + [$buffer]: dart.nullable(web_audio.AudioBuffer), + [S$.$loop]: dart.nullable(core.bool), + [S$3.$loopEnd]: dart.nullable(core.num), + [S$3.$loopStart]: dart.nullable(core.num) +})); +dart.setLibraryUri(web_audio.AudioBufferSourceNode, I[159]); +dart.registerExtension("AudioBufferSourceNode", web_audio.AudioBufferSourceNode); +web_audio.BaseAudioContext = class BaseAudioContext extends html$.EventTarget { + get [S$.$currentTime]() { + return this.currentTime; + } + get [S$3.$destination]() { + return this.destination; + } + get [S$3.$listener]() { + return this.listener; + } + get [S$3.$sampleRate]() { + return this.sampleRate; + } + get [S$.$state]() { + return this.state; + } + [S$3.$createAnalyser](...args) { + return this.createAnalyser.apply(this, args); + } + [S$3.$createBiquadFilter](...args) { + return this.createBiquadFilter.apply(this, args); + } + [S$3.$createBuffer](...args) { + return this.createBuffer.apply(this, args); + } + [S$3.$createBufferSource](...args) { + return this.createBufferSource.apply(this, args); + } + [S$3.$createChannelMerger](...args) { + return this.createChannelMerger.apply(this, args); + } + [S$4.$createChannelSplitter](...args) { + return this.createChannelSplitter.apply(this, args); + } + [S$4.$createConstantSource](...args) { + return this.createConstantSource.apply(this, args); + } + [S$4.$createConvolver](...args) { + return this.createConvolver.apply(this, args); + } + [S$4.$createDelay](...args) { + return this.createDelay.apply(this, args); + } + [S$4.$createDynamicsCompressor](...args) { + return this.createDynamicsCompressor.apply(this, args); + } + [S$3.$createGain](...args) { + return this.createGain.apply(this, args); + } + [S$4.$createIirFilter](...args) { + return this.createIIRFilter.apply(this, args); + } + [S$4.$createMediaElementSource](...args) { + return this.createMediaElementSource.apply(this, args); + } + [S$4.$createMediaStreamDestination](...args) { + return this.createMediaStreamDestination.apply(this, args); + } + [S$4.$createMediaStreamSource](...args) { + return this.createMediaStreamSource.apply(this, args); + } + [S$4.$createOscillator](...args) { + return this.createOscillator.apply(this, args); + } + [S$4.$createPanner](...args) { + return this.createPanner.apply(this, args); + } + [S$4.$createPeriodicWave](real, imag, options = null) { + if (real == null) dart.nullFailed(I[158], 658, 45, "real"); + if (imag == null) dart.nullFailed(I[158], 658, 61, "imag"); + if (options != null) { + let options_1 = html_common.convertDartToNative_Dictionary(options); + return this[S$4._createPeriodicWave_1](real, imag, options_1); + } + return this[S$4._createPeriodicWave_2](real, imag); + } + [S$4._createPeriodicWave_1](...args) { + return this.createPeriodicWave.apply(this, args); + } + [S$4._createPeriodicWave_2](...args) { + return this.createPeriodicWave.apply(this, args); + } + [S$3.$createScriptProcessor](...args) { + return this.createScriptProcessor.apply(this, args); + } + [S$4.$createStereoPanner](...args) { + return this.createStereoPanner.apply(this, args); + } + [S$4.$createWaveShaper](...args) { + return this.createWaveShaper.apply(this, args); + } + [S$3.$decodeAudioData](audioData, successCallback = null, errorCallback = null) { + if (audioData == null) dart.nullFailed(I[158], 682, 50, "audioData"); + return js_util.promiseToFuture(web_audio.AudioBuffer, this.decodeAudioData(audioData, successCallback, errorCallback)); + } + [S$1.$resume]() { + return js_util.promiseToFuture(dart.dynamic, this.resume()); + } +}; +dart.addTypeTests(web_audio.BaseAudioContext); +dart.addTypeCaches(web_audio.BaseAudioContext); +dart.setMethodSignature(web_audio.BaseAudioContext, () => ({ + __proto__: dart.getMethods(web_audio.BaseAudioContext.__proto__), + [S$3.$createAnalyser]: dart.fnType(web_audio.AnalyserNode, []), + [S$3.$createBiquadFilter]: dart.fnType(web_audio.BiquadFilterNode, []), + [S$3.$createBuffer]: dart.fnType(web_audio.AudioBuffer, [core.int, core.int, core.num]), + [S$3.$createBufferSource]: dart.fnType(web_audio.AudioBufferSourceNode, []), + [S$3.$createChannelMerger]: dart.fnType(web_audio.ChannelMergerNode, [], [dart.nullable(core.int)]), + [S$4.$createChannelSplitter]: dart.fnType(web_audio.ChannelSplitterNode, [], [dart.nullable(core.int)]), + [S$4.$createConstantSource]: dart.fnType(web_audio.ConstantSourceNode, []), + [S$4.$createConvolver]: dart.fnType(web_audio.ConvolverNode, []), + [S$4.$createDelay]: dart.fnType(web_audio.DelayNode, [], [dart.nullable(core.num)]), + [S$4.$createDynamicsCompressor]: dart.fnType(web_audio.DynamicsCompressorNode, []), + [S$3.$createGain]: dart.fnType(web_audio.GainNode, []), + [S$4.$createIirFilter]: dart.fnType(web_audio.IirFilterNode, [core.List$(core.num), core.List$(core.num)]), + [S$4.$createMediaElementSource]: dart.fnType(web_audio.MediaElementAudioSourceNode, [html$.MediaElement]), + [S$4.$createMediaStreamDestination]: dart.fnType(web_audio.MediaStreamAudioDestinationNode, []), + [S$4.$createMediaStreamSource]: dart.fnType(web_audio.MediaStreamAudioSourceNode, [html$.MediaStream]), + [S$4.$createOscillator]: dart.fnType(web_audio.OscillatorNode, []), + [S$4.$createPanner]: dart.fnType(web_audio.PannerNode, []), + [S$4.$createPeriodicWave]: dart.fnType(web_audio.PeriodicWave, [core.List$(core.num), core.List$(core.num)], [dart.nullable(core.Map)]), + [S$4._createPeriodicWave_1]: dart.fnType(web_audio.PeriodicWave, [core.List$(core.num), core.List$(core.num), dart.dynamic]), + [S$4._createPeriodicWave_2]: dart.fnType(web_audio.PeriodicWave, [core.List$(core.num), core.List$(core.num)]), + [S$3.$createScriptProcessor]: dart.fnType(web_audio.ScriptProcessorNode, [], [dart.nullable(core.int), dart.nullable(core.int), dart.nullable(core.int)]), + [S$4.$createStereoPanner]: dart.fnType(web_audio.StereoPannerNode, []), + [S$4.$createWaveShaper]: dart.fnType(web_audio.WaveShaperNode, []), + [S$3.$decodeAudioData]: dart.fnType(async.Future$(web_audio.AudioBuffer), [typed_data.ByteBuffer], [dart.nullable(dart.fnType(dart.void, [web_audio.AudioBuffer])), dart.nullable(dart.fnType(dart.void, [html$.DomException]))]), + [S$1.$resume]: dart.fnType(async.Future, []) +})); +dart.setGetterSignature(web_audio.BaseAudioContext, () => ({ + __proto__: dart.getGetters(web_audio.BaseAudioContext.__proto__), + [S$.$currentTime]: dart.nullable(core.num), + [S$3.$destination]: dart.nullable(web_audio.AudioDestinationNode), + [S$3.$listener]: dart.nullable(web_audio.AudioListener), + [S$3.$sampleRate]: dart.nullable(core.num), + [S$.$state]: dart.nullable(core.String) +})); +dart.setLibraryUri(web_audio.BaseAudioContext, I[159]); +dart.registerExtension("BaseAudioContext", web_audio.BaseAudioContext); +web_audio.AudioContext = class AudioContext extends web_audio.BaseAudioContext { + static get supported() { + return !!(window.AudioContext || window.webkitAudioContext); + } + get [S$3.$baseLatency]() { + return this.baseLatency; + } + [S.$close]() { + return js_util.promiseToFuture(dart.dynamic, this.close()); + } + [S$3.$getOutputTimestamp]() { + return dart.nullCheck(html_common.convertNativeToDart_Dictionary(this[S$3._getOutputTimestamp_1]())); + } + [S$3._getOutputTimestamp_1](...args) { + return this.getOutputTimestamp.apply(this, args); + } + [S$3.$suspend]() { + return js_util.promiseToFuture(dart.dynamic, this.suspend()); + } + static new() { + return new (window.AudioContext || window.webkitAudioContext)(); + } + [S$3.$createGain]() { + if (this.createGain !== undefined) { + return this.createGain(); + } else { + return this.createGainNode(); + } + } + [S$3.$createScriptProcessor](bufferSize = null, numberOfInputChannels = null, numberOfOutputChannels = null) { + let $function = this.createScriptProcessor || this.createJavaScriptNode; + if (numberOfOutputChannels != null) { + return $function.call(this, bufferSize, numberOfInputChannels, numberOfOutputChannels); + } else if (numberOfInputChannels != null) { + return $function.call(this, bufferSize, numberOfInputChannels); + } else if (bufferSize != null) { + return $function.call(this, bufferSize); + } else { + return $function.call(this); + } + } + [S$3._decodeAudioData](...args) { + return this.decodeAudioData.apply(this, args); + } + [S$3.$decodeAudioData](audioData, successCallback = null, errorCallback = null) { + if (audioData == null) dart.nullFailed(I[158], 233, 50, "audioData"); + if (successCallback != null && errorCallback != null) { + return this[S$3._decodeAudioData](audioData, successCallback, errorCallback); + } + let completer = T$0.CompleterOfAudioBuffer().new(); + this[S$3._decodeAudioData](audioData, dart.fn(value => { + if (value == null) dart.nullFailed(I[158], 241, 34, "value"); + completer.complete(value); + }, T$0.AudioBufferTovoid()), dart.fn(error => { + if (error == null) dart.nullFailed(I[158], 243, 9, "error"); + if (error == null) { + completer.completeError(""); + } else { + completer.completeError(error); + } + }, T$0.DomExceptionTovoid())); + return completer.future; + } +}; +dart.addTypeTests(web_audio.AudioContext); +dart.addTypeCaches(web_audio.AudioContext); +dart.setMethodSignature(web_audio.AudioContext, () => ({ + __proto__: dart.getMethods(web_audio.AudioContext.__proto__), + [S.$close]: dart.fnType(async.Future, []), + [S$3.$getOutputTimestamp]: dart.fnType(core.Map, []), + [S$3._getOutputTimestamp_1]: dart.fnType(dart.dynamic, []), + [S$3.$suspend]: dart.fnType(async.Future, []), + [S$3._decodeAudioData]: dart.fnType(async.Future$(web_audio.AudioBuffer), [typed_data.ByteBuffer], [dart.nullable(dart.fnType(dart.void, [web_audio.AudioBuffer])), dart.nullable(dart.fnType(dart.void, [html$.DomException]))]) +})); +dart.setGetterSignature(web_audio.AudioContext, () => ({ + __proto__: dart.getGetters(web_audio.AudioContext.__proto__), + [S$3.$baseLatency]: dart.nullable(core.num) +})); +dart.setLibraryUri(web_audio.AudioContext, I[159]); +dart.registerExtension("AudioContext", web_audio.AudioContext); +dart.registerExtension("webkitAudioContext", web_audio.AudioContext); +web_audio.AudioDestinationNode = class AudioDestinationNode extends web_audio.AudioNode { + get [S$4.$maxChannelCount]() { + return this.maxChannelCount; + } +}; +dart.addTypeTests(web_audio.AudioDestinationNode); +dart.addTypeCaches(web_audio.AudioDestinationNode); +dart.setGetterSignature(web_audio.AudioDestinationNode, () => ({ + __proto__: dart.getGetters(web_audio.AudioDestinationNode.__proto__), + [S$4.$maxChannelCount]: dart.nullable(core.int) +})); +dart.setLibraryUri(web_audio.AudioDestinationNode, I[159]); +dart.registerExtension("AudioDestinationNode", web_audio.AudioDestinationNode); +web_audio.AudioListener = class AudioListener extends _interceptors.Interceptor { + get [S$4.$forwardX]() { + return this.forwardX; + } + get [S$4.$forwardY]() { + return this.forwardY; + } + get [S$4.$forwardZ]() { + return this.forwardZ; + } + get [S$2.$positionX]() { + return this.positionX; + } + get [S$2.$positionY]() { + return this.positionY; + } + get [S$4.$positionZ]() { + return this.positionZ; + } + get [S$4.$upX]() { + return this.upX; + } + get [S$4.$upY]() { + return this.upY; + } + get [S$4.$upZ]() { + return this.upZ; + } + [S$4.$setOrientation](...args) { + return this.setOrientation.apply(this, args); + } + [S$2.$setPosition](...args) { + return this.setPosition.apply(this, args); + } +}; +dart.addTypeTests(web_audio.AudioListener); +dart.addTypeCaches(web_audio.AudioListener); +dart.setMethodSignature(web_audio.AudioListener, () => ({ + __proto__: dart.getMethods(web_audio.AudioListener.__proto__), + [S$4.$setOrientation]: dart.fnType(dart.void, [core.num, core.num, core.num, core.num, core.num, core.num]), + [S$2.$setPosition]: dart.fnType(dart.void, [core.num, core.num, core.num]) +})); +dart.setGetterSignature(web_audio.AudioListener, () => ({ + __proto__: dart.getGetters(web_audio.AudioListener.__proto__), + [S$4.$forwardX]: dart.nullable(web_audio.AudioParam), + [S$4.$forwardY]: dart.nullable(web_audio.AudioParam), + [S$4.$forwardZ]: dart.nullable(web_audio.AudioParam), + [S$2.$positionX]: dart.nullable(web_audio.AudioParam), + [S$2.$positionY]: dart.nullable(web_audio.AudioParam), + [S$4.$positionZ]: dart.nullable(web_audio.AudioParam), + [S$4.$upX]: dart.nullable(web_audio.AudioParam), + [S$4.$upY]: dart.nullable(web_audio.AudioParam), + [S$4.$upZ]: dart.nullable(web_audio.AudioParam) +})); +dart.setLibraryUri(web_audio.AudioListener, I[159]); +dart.registerExtension("AudioListener", web_audio.AudioListener); +web_audio.AudioParam = class AudioParam extends _interceptors.Interceptor { + get [S$1.$defaultValue]() { + return this.defaultValue; + } + get [S$4.$maxValue]() { + return this.maxValue; + } + get [S$4.$minValue]() { + return this.minValue; + } + get [S.$value]() { + return this.value; + } + set [S.$value](value) { + this.value = value; + } + [S$4.$cancelAndHoldAtTime](...args) { + return this.cancelAndHoldAtTime.apply(this, args); + } + [S$4.$cancelScheduledValues](...args) { + return this.cancelScheduledValues.apply(this, args); + } + [S$4.$exponentialRampToValueAtTime](...args) { + return this.exponentialRampToValueAtTime.apply(this, args); + } + [S$4.$linearRampToValueAtTime](...args) { + return this.linearRampToValueAtTime.apply(this, args); + } + [S$4.$setTargetAtTime](...args) { + return this.setTargetAtTime.apply(this, args); + } + [S$4.$setValueAtTime](...args) { + return this.setValueAtTime.apply(this, args); + } + [S$4.$setValueCurveAtTime](...args) { + return this.setValueCurveAtTime.apply(this, args); + } +}; +dart.addTypeTests(web_audio.AudioParam); +dart.addTypeCaches(web_audio.AudioParam); +dart.setMethodSignature(web_audio.AudioParam, () => ({ + __proto__: dart.getMethods(web_audio.AudioParam.__proto__), + [S$4.$cancelAndHoldAtTime]: dart.fnType(web_audio.AudioParam, [core.num]), + [S$4.$cancelScheduledValues]: dart.fnType(web_audio.AudioParam, [core.num]), + [S$4.$exponentialRampToValueAtTime]: dart.fnType(web_audio.AudioParam, [core.num, core.num]), + [S$4.$linearRampToValueAtTime]: dart.fnType(web_audio.AudioParam, [core.num, core.num]), + [S$4.$setTargetAtTime]: dart.fnType(web_audio.AudioParam, [core.num, core.num, core.num]), + [S$4.$setValueAtTime]: dart.fnType(web_audio.AudioParam, [core.num, core.num]), + [S$4.$setValueCurveAtTime]: dart.fnType(web_audio.AudioParam, [core.List$(core.num), core.num, core.num]) +})); +dart.setGetterSignature(web_audio.AudioParam, () => ({ + __proto__: dart.getGetters(web_audio.AudioParam.__proto__), + [S$1.$defaultValue]: dart.nullable(core.num), + [S$4.$maxValue]: dart.nullable(core.num), + [S$4.$minValue]: dart.nullable(core.num), + [S.$value]: dart.nullable(core.num) +})); +dart.setSetterSignature(web_audio.AudioParam, () => ({ + __proto__: dart.getSetters(web_audio.AudioParam.__proto__), + [S.$value]: dart.nullable(core.num) +})); +dart.setLibraryUri(web_audio.AudioParam, I[159]); +dart.registerExtension("AudioParam", web_audio.AudioParam); +const Interceptor_MapMixin$36$2 = class Interceptor_MapMixin extends _interceptors.Interceptor {}; +(Interceptor_MapMixin$36$2.new = function() { + Interceptor_MapMixin$36$2.__proto__.new.call(this); +}).prototype = Interceptor_MapMixin$36$2.prototype; +dart.applyMixin(Interceptor_MapMixin$36$2, collection.MapMixin$(core.String, dart.dynamic)); +web_audio.AudioParamMap = class AudioParamMap extends Interceptor_MapMixin$36$2 { + [S$4._getItem$1](key) { + if (key == null) dart.nullFailed(I[158], 388, 24, "key"); + return html_common.convertNativeToDart_Dictionary(this.get(key)); + } + [$addAll](other) { + T$0.MapOfString$dynamic().as(other); + if (other == null) dart.nullFailed(I[158], 391, 36, "other"); + dart.throw(new core.UnsupportedError.new("Not supported")); + } + [$containsValue](value) { + return this[$values][$any](dart.fn(e => { + if (e == null) dart.nullFailed(I[158], 395, 52, "e"); + return dart.equals(e, value); + }, T$0.MapTobool())); + } + [$containsKey](key) { + return this[S$4._getItem$1](core.String.as(key)) != null; + } + [$_get](key) { + return this[S$4._getItem$1](core.String.as(key)); + } + [$forEach](f) { + if (f == null) dart.nullFailed(I[158], 401, 21, "f"); + let entries = this.entries(); + while (true) { + let entry = entries.next(); + if (entry.done) return; + f(entry.value[0], html_common.convertNativeToDart_Dictionary(entry.value[1])); + } + } + get [$keys]() { + let keys = T$.JSArrayOfString().of([]); + this[$forEach](dart.fn((k, v) => { + if (k == null) dart.nullFailed(I[158], 413, 14, "k"); + return keys[$add](k); + }, T$0.StringAnddynamicTovoid())); + return keys; + } + get [$values]() { + let values = T$0.JSArrayOfMap().of([]); + this[$forEach](dart.fn((k, v) => { + if (k == null) dart.nullFailed(I[158], 419, 14, "k"); + return values[$add](core.Map.as(v)); + }, T$0.StringAnddynamicTovoid())); + return values; + } + get [$length]() { + return this.size; + } + get [$isEmpty]() { + return this[$length] === 0; + } + get [$isNotEmpty]() { + return !dart.test(this[$isEmpty]); + } + [$_set](key, value$) { + let value = value$; + core.String.as(key); + if (key == null) dart.nullFailed(I[158], 429, 28, "key"); + dart.throw(new core.UnsupportedError.new("Not supported")); + return value$; + } + [$putIfAbsent](key, ifAbsent) { + core.String.as(key); + if (key == null) dart.nullFailed(I[158], 433, 30, "key"); + T$.VoidTodynamic().as(ifAbsent); + if (ifAbsent == null) dart.nullFailed(I[158], 433, 43, "ifAbsent"); + dart.throw(new core.UnsupportedError.new("Not supported")); + } + [$remove](key) { + dart.throw(new core.UnsupportedError.new("Not supported")); + } + [$clear]() { + dart.throw(new core.UnsupportedError.new("Not supported")); + } +}; +dart.addTypeTests(web_audio.AudioParamMap); +dart.addTypeCaches(web_audio.AudioParamMap); +dart.setMethodSignature(web_audio.AudioParamMap, () => ({ + __proto__: dart.getMethods(web_audio.AudioParamMap.__proto__), + [S$4._getItem$1]: dart.fnType(dart.nullable(core.Map), [core.String]), + [$containsValue]: dart.fnType(core.bool, [dart.dynamic]), + [$containsKey]: dart.fnType(core.bool, [dart.dynamic]), + [$_get]: dart.fnType(dart.nullable(core.Map), [dart.dynamic]), + [$_set]: dart.fnType(dart.void, [dart.nullable(core.Object), dart.nullable(core.Object)]), + [$remove]: dart.fnType(core.String, [dart.dynamic]), + [$clear]: dart.fnType(dart.void, []) +})); +dart.setGetterSignature(web_audio.AudioParamMap, () => ({ + __proto__: dart.getGetters(web_audio.AudioParamMap.__proto__), + [$keys]: core.Iterable$(core.String), + [$values]: core.Iterable$(core.Map) +})); +dart.setLibraryUri(web_audio.AudioParamMap, I[159]); +dart.registerExtension("AudioParamMap", web_audio.AudioParamMap); +web_audio.AudioProcessingEvent = class AudioProcessingEvent$ extends html$.Event { + static new(type, eventInitDict) { + if (type == null) dart.nullFailed(I[158], 456, 39, "type"); + if (eventInitDict == null) dart.nullFailed(I[158], 456, 49, "eventInitDict"); + let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); + return web_audio.AudioProcessingEvent._create_1(type, eventInitDict_1); + } + static _create_1(type, eventInitDict) { + return new AudioProcessingEvent(type, eventInitDict); + } + get [S$4.$inputBuffer]() { + return this.inputBuffer; + } + get [S$4.$outputBuffer]() { + return this.outputBuffer; + } + get [S$4.$playbackTime]() { + return this.playbackTime; + } +}; +dart.addTypeTests(web_audio.AudioProcessingEvent); +dart.addTypeCaches(web_audio.AudioProcessingEvent); +dart.setGetterSignature(web_audio.AudioProcessingEvent, () => ({ + __proto__: dart.getGetters(web_audio.AudioProcessingEvent.__proto__), + [S$4.$inputBuffer]: dart.nullable(web_audio.AudioBuffer), + [S$4.$outputBuffer]: dart.nullable(web_audio.AudioBuffer), + [S$4.$playbackTime]: dart.nullable(core.num) +})); +dart.setLibraryUri(web_audio.AudioProcessingEvent, I[159]); +dart.registerExtension("AudioProcessingEvent", web_audio.AudioProcessingEvent); +web_audio.AudioTrack = class AudioTrack extends _interceptors.Interceptor { + get [S$.$enabled]() { + return this.enabled; + } + set [S$.$enabled](value) { + this.enabled = value; + } + get [S.$id]() { + return this.id; + } + get [S$.$kind]() { + return this.kind; + } + get [S$.$label]() { + return this.label; + } + get [S$1.$language]() { + return this.language; + } + get [S$3.$sourceBuffer]() { + return this.sourceBuffer; + } +}; +dart.addTypeTests(web_audio.AudioTrack); +dart.addTypeCaches(web_audio.AudioTrack); +dart.setGetterSignature(web_audio.AudioTrack, () => ({ + __proto__: dart.getGetters(web_audio.AudioTrack.__proto__), + [S$.$enabled]: dart.nullable(core.bool), + [S.$id]: dart.nullable(core.String), + [S$.$kind]: dart.nullable(core.String), + [S$.$label]: dart.nullable(core.String), + [S$1.$language]: dart.nullable(core.String), + [S$3.$sourceBuffer]: dart.nullable(html$.SourceBuffer) +})); +dart.setSetterSignature(web_audio.AudioTrack, () => ({ + __proto__: dart.getSetters(web_audio.AudioTrack.__proto__), + [S$.$enabled]: dart.nullable(core.bool) +})); +dart.setLibraryUri(web_audio.AudioTrack, I[159]); +dart.registerExtension("AudioTrack", web_audio.AudioTrack); +web_audio.AudioTrackList = class AudioTrackList extends html$.EventTarget { + get [$length]() { + return this.length; + } + [S$4.__getter__$1](...args) { + return this.__getter__.apply(this, args); + } + [S$1.$getTrackById](...args) { + return this.getTrackById.apply(this, args); + } + get [S.$onChange]() { + return web_audio.AudioTrackList.changeEvent.forTarget(this); + } +}; +dart.addTypeTests(web_audio.AudioTrackList); +dart.addTypeCaches(web_audio.AudioTrackList); +dart.setMethodSignature(web_audio.AudioTrackList, () => ({ + __proto__: dart.getMethods(web_audio.AudioTrackList.__proto__), + [S$4.__getter__$1]: dart.fnType(web_audio.AudioTrack, [core.int]), + [S$1.$getTrackById]: dart.fnType(dart.nullable(web_audio.AudioTrack), [core.String]) +})); +dart.setGetterSignature(web_audio.AudioTrackList, () => ({ + __proto__: dart.getGetters(web_audio.AudioTrackList.__proto__), + [$length]: dart.nullable(core.int), + [S.$onChange]: async.Stream$(html$.Event) +})); +dart.setLibraryUri(web_audio.AudioTrackList, I[159]); +dart.defineLazy(web_audio.AudioTrackList, { + /*web_audio.AudioTrackList.changeEvent*/get changeEvent() { + return C[236] || CT.C236; + } +}, false); +dart.registerExtension("AudioTrackList", web_audio.AudioTrackList); +web_audio.AudioWorkletGlobalScope = class AudioWorkletGlobalScope extends html$.WorkletGlobalScope { + get [S$.$currentTime]() { + return this.currentTime; + } + get [S$3.$sampleRate]() { + return this.sampleRate; + } + [S$4.$registerProcessor](...args) { + return this.registerProcessor.apply(this, args); + } +}; +dart.addTypeTests(web_audio.AudioWorkletGlobalScope); +dart.addTypeCaches(web_audio.AudioWorkletGlobalScope); +dart.setMethodSignature(web_audio.AudioWorkletGlobalScope, () => ({ + __proto__: dart.getMethods(web_audio.AudioWorkletGlobalScope.__proto__), + [S$4.$registerProcessor]: dart.fnType(dart.void, [core.String, core.Object]) +})); +dart.setGetterSignature(web_audio.AudioWorkletGlobalScope, () => ({ + __proto__: dart.getGetters(web_audio.AudioWorkletGlobalScope.__proto__), + [S$.$currentTime]: dart.nullable(core.num), + [S$3.$sampleRate]: dart.nullable(core.num) +})); +dart.setLibraryUri(web_audio.AudioWorkletGlobalScope, I[159]); +dart.registerExtension("AudioWorkletGlobalScope", web_audio.AudioWorkletGlobalScope); +web_audio.AudioWorkletNode = class AudioWorkletNode$ extends web_audio.AudioNode { + static new(context, name, options = null) { + if (context == null) dart.nullFailed(I[158], 568, 45, "context"); + if (name == null) dart.nullFailed(I[158], 568, 61, "name"); + if (options != null) { + let options_1 = html_common.convertDartToNative_Dictionary(options); + return web_audio.AudioWorkletNode._create_1(context, name, options_1); + } + return web_audio.AudioWorkletNode._create_2(context, name); + } + static _create_1(context, name, options) { + return new AudioWorkletNode(context, name, options); + } + static _create_2(context, name) { + return new AudioWorkletNode(context, name); + } + get [S$4.$parameters]() { + return this.parameters; + } +}; +dart.addTypeTests(web_audio.AudioWorkletNode); +dart.addTypeCaches(web_audio.AudioWorkletNode); +dart.setGetterSignature(web_audio.AudioWorkletNode, () => ({ + __proto__: dart.getGetters(web_audio.AudioWorkletNode.__proto__), + [S$4.$parameters]: dart.nullable(web_audio.AudioParamMap) +})); +dart.setLibraryUri(web_audio.AudioWorkletNode, I[159]); +dart.registerExtension("AudioWorkletNode", web_audio.AudioWorkletNode); +web_audio.AudioWorkletProcessor = class AudioWorkletProcessor extends _interceptors.Interceptor {}; +dart.addTypeTests(web_audio.AudioWorkletProcessor); +dart.addTypeCaches(web_audio.AudioWorkletProcessor); +dart.setLibraryUri(web_audio.AudioWorkletProcessor, I[159]); +dart.registerExtension("AudioWorkletProcessor", web_audio.AudioWorkletProcessor); +web_audio.BiquadFilterNode = class BiquadFilterNode$ extends web_audio.AudioNode { + static new(context, options = null) { + if (context == null) dart.nullFailed(I[158], 706, 45, "context"); + if (options != null) { + let options_1 = html_common.convertDartToNative_Dictionary(options); + return web_audio.BiquadFilterNode._create_1(context, options_1); + } + return web_audio.BiquadFilterNode._create_2(context); + } + static _create_1(context, options) { + return new BiquadFilterNode(context, options); + } + static _create_2(context) { + return new BiquadFilterNode(context); + } + get [S$4.$Q]() { + return this.Q; + } + get [S$3.$detune]() { + return this.detune; + } + get [S$4.$frequency]() { + return this.frequency; + } + get [S$4.$gain]() { + return this.gain; + } + get [S.$type]() { + return this.type; + } + set [S.$type](value) { + this.type = value; + } + [S$4.$getFrequencyResponse](...args) { + return this.getFrequencyResponse.apply(this, args); + } +}; +dart.addTypeTests(web_audio.BiquadFilterNode); +dart.addTypeCaches(web_audio.BiquadFilterNode); +dart.setMethodSignature(web_audio.BiquadFilterNode, () => ({ + __proto__: dart.getMethods(web_audio.BiquadFilterNode.__proto__), + [S$4.$getFrequencyResponse]: dart.fnType(dart.void, [typed_data.Float32List, typed_data.Float32List, typed_data.Float32List]) +})); +dart.setGetterSignature(web_audio.BiquadFilterNode, () => ({ + __proto__: dart.getGetters(web_audio.BiquadFilterNode.__proto__), + [S$4.$Q]: dart.nullable(web_audio.AudioParam), + [S$3.$detune]: dart.nullable(web_audio.AudioParam), + [S$4.$frequency]: dart.nullable(web_audio.AudioParam), + [S$4.$gain]: dart.nullable(web_audio.AudioParam), + [S.$type]: dart.nullable(core.String) +})); +dart.setSetterSignature(web_audio.BiquadFilterNode, () => ({ + __proto__: dart.getSetters(web_audio.BiquadFilterNode.__proto__), + [S.$type]: dart.nullable(core.String) +})); +dart.setLibraryUri(web_audio.BiquadFilterNode, I[159]); +dart.registerExtension("BiquadFilterNode", web_audio.BiquadFilterNode); +web_audio.ChannelMergerNode = class ChannelMergerNode$ extends web_audio.AudioNode { + static new(context, options = null) { + if (context == null) dart.nullFailed(I[158], 744, 46, "context"); + if (options != null) { + let options_1 = html_common.convertDartToNative_Dictionary(options); + return web_audio.ChannelMergerNode._create_1(context, options_1); + } + return web_audio.ChannelMergerNode._create_2(context); + } + static _create_1(context, options) { + return new ChannelMergerNode(context, options); + } + static _create_2(context) { + return new ChannelMergerNode(context); + } +}; +dart.addTypeTests(web_audio.ChannelMergerNode); +dart.addTypeCaches(web_audio.ChannelMergerNode); +dart.setLibraryUri(web_audio.ChannelMergerNode, I[159]); +dart.registerExtension("ChannelMergerNode", web_audio.ChannelMergerNode); +dart.registerExtension("AudioChannelMerger", web_audio.ChannelMergerNode); +web_audio.ChannelSplitterNode = class ChannelSplitterNode$ extends web_audio.AudioNode { + static new(context, options = null) { + if (context == null) dart.nullFailed(I[158], 767, 48, "context"); + if (options != null) { + let options_1 = html_common.convertDartToNative_Dictionary(options); + return web_audio.ChannelSplitterNode._create_1(context, options_1); + } + return web_audio.ChannelSplitterNode._create_2(context); + } + static _create_1(context, options) { + return new ChannelSplitterNode(context, options); + } + static _create_2(context) { + return new ChannelSplitterNode(context); + } +}; +dart.addTypeTests(web_audio.ChannelSplitterNode); +dart.addTypeCaches(web_audio.ChannelSplitterNode); +dart.setLibraryUri(web_audio.ChannelSplitterNode, I[159]); +dart.registerExtension("ChannelSplitterNode", web_audio.ChannelSplitterNode); +dart.registerExtension("AudioChannelSplitter", web_audio.ChannelSplitterNode); +web_audio.ConstantSourceNode = class ConstantSourceNode$ extends web_audio.AudioScheduledSourceNode { + static new(context, options = null) { + if (context == null) dart.nullFailed(I[158], 790, 47, "context"); + if (options != null) { + let options_1 = html_common.convertDartToNative_Dictionary(options); + return web_audio.ConstantSourceNode._create_1(context, options_1); + } + return web_audio.ConstantSourceNode._create_2(context); + } + static _create_1(context, options) { + return new ConstantSourceNode(context, options); + } + static _create_2(context) { + return new ConstantSourceNode(context); + } + get [S.$offset]() { + return this.offset; + } +}; +dart.addTypeTests(web_audio.ConstantSourceNode); +dart.addTypeCaches(web_audio.ConstantSourceNode); +dart.setGetterSignature(web_audio.ConstantSourceNode, () => ({ + __proto__: dart.getGetters(web_audio.ConstantSourceNode.__proto__), + [S.$offset]: dart.nullable(web_audio.AudioParam) +})); +dart.setLibraryUri(web_audio.ConstantSourceNode, I[159]); +dart.registerExtension("ConstantSourceNode", web_audio.ConstantSourceNode); +web_audio.ConvolverNode = class ConvolverNode$ extends web_audio.AudioNode { + static new(context, options = null) { + if (context == null) dart.nullFailed(I[158], 815, 42, "context"); + if (options != null) { + let options_1 = html_common.convertDartToNative_Dictionary(options); + return web_audio.ConvolverNode._create_1(context, options_1); + } + return web_audio.ConvolverNode._create_2(context); + } + static _create_1(context, options) { + return new ConvolverNode(context, options); + } + static _create_2(context) { + return new ConvolverNode(context); + } + get [$buffer]() { + return this.buffer; + } + set [$buffer](value) { + this.buffer = value; + } + get [S$4.$normalize]() { + return this.normalize; + } + set [S$4.$normalize](value) { + this.normalize = value; + } +}; +dart.addTypeTests(web_audio.ConvolverNode); +dart.addTypeCaches(web_audio.ConvolverNode); +dart.setGetterSignature(web_audio.ConvolverNode, () => ({ + __proto__: dart.getGetters(web_audio.ConvolverNode.__proto__), + [$buffer]: dart.nullable(web_audio.AudioBuffer), + [S$4.$normalize]: dart.nullable(core.bool) +})); +dart.setSetterSignature(web_audio.ConvolverNode, () => ({ + __proto__: dart.getSetters(web_audio.ConvolverNode.__proto__), + [$buffer]: dart.nullable(web_audio.AudioBuffer), + [S$4.$normalize]: dart.nullable(core.bool) +})); +dart.setLibraryUri(web_audio.ConvolverNode, I[159]); +dart.registerExtension("ConvolverNode", web_audio.ConvolverNode); +web_audio.DelayNode = class DelayNode$ extends web_audio.AudioNode { + static new(context, options = null) { + if (context == null) dart.nullFailed(I[158], 846, 38, "context"); + if (options != null) { + let options_1 = html_common.convertDartToNative_Dictionary(options); + return web_audio.DelayNode._create_1(context, options_1); + } + return web_audio.DelayNode._create_2(context); + } + static _create_1(context, options) { + return new DelayNode(context, options); + } + static _create_2(context) { + return new DelayNode(context); + } + get [S$4.$delayTime]() { + return this.delayTime; + } +}; +dart.addTypeTests(web_audio.DelayNode); +dart.addTypeCaches(web_audio.DelayNode); +dart.setGetterSignature(web_audio.DelayNode, () => ({ + __proto__: dart.getGetters(web_audio.DelayNode.__proto__), + [S$4.$delayTime]: dart.nullable(web_audio.AudioParam) +})); +dart.setLibraryUri(web_audio.DelayNode, I[159]); +dart.registerExtension("DelayNode", web_audio.DelayNode); +web_audio.DynamicsCompressorNode = class DynamicsCompressorNode$ extends web_audio.AudioNode { + static new(context, options = null) { + if (context == null) dart.nullFailed(I[158], 871, 51, "context"); + if (options != null) { + let options_1 = html_common.convertDartToNative_Dictionary(options); + return web_audio.DynamicsCompressorNode._create_1(context, options_1); + } + return web_audio.DynamicsCompressorNode._create_2(context); + } + static _create_1(context, options) { + return new DynamicsCompressorNode(context, options); + } + static _create_2(context) { + return new DynamicsCompressorNode(context); + } + get [S$4.$attack]() { + return this.attack; + } + get [S$4.$knee]() { + return this.knee; + } + get [S$4.$ratio]() { + return this.ratio; + } + get [S$4.$reduction]() { + return this.reduction; + } + get [S$4.$release]() { + return this.release; + } + get [S$4.$threshold]() { + return this.threshold; + } +}; +dart.addTypeTests(web_audio.DynamicsCompressorNode); +dart.addTypeCaches(web_audio.DynamicsCompressorNode); +dart.setGetterSignature(web_audio.DynamicsCompressorNode, () => ({ + __proto__: dart.getGetters(web_audio.DynamicsCompressorNode.__proto__), + [S$4.$attack]: dart.nullable(web_audio.AudioParam), + [S$4.$knee]: dart.nullable(web_audio.AudioParam), + [S$4.$ratio]: dart.nullable(web_audio.AudioParam), + [S$4.$reduction]: dart.nullable(core.num), + [S$4.$release]: dart.nullable(web_audio.AudioParam), + [S$4.$threshold]: dart.nullable(web_audio.AudioParam) +})); +dart.setLibraryUri(web_audio.DynamicsCompressorNode, I[159]); +dart.registerExtension("DynamicsCompressorNode", web_audio.DynamicsCompressorNode); +web_audio.GainNode = class GainNode$ extends web_audio.AudioNode { + static new(context, options = null) { + if (context == null) dart.nullFailed(I[158], 909, 37, "context"); + if (options != null) { + let options_1 = html_common.convertDartToNative_Dictionary(options); + return web_audio.GainNode._create_1(context, options_1); + } + return web_audio.GainNode._create_2(context); + } + static _create_1(context, options) { + return new GainNode(context, options); + } + static _create_2(context) { + return new GainNode(context); + } + get [S$4.$gain]() { + return this.gain; + } +}; +dart.addTypeTests(web_audio.GainNode); +dart.addTypeCaches(web_audio.GainNode); +dart.setGetterSignature(web_audio.GainNode, () => ({ + __proto__: dart.getGetters(web_audio.GainNode.__proto__), + [S$4.$gain]: dart.nullable(web_audio.AudioParam) +})); +dart.setLibraryUri(web_audio.GainNode, I[159]); +dart.registerExtension("GainNode", web_audio.GainNode); +dart.registerExtension("AudioGainNode", web_audio.GainNode); +web_audio.IirFilterNode = class IirFilterNode extends web_audio.AudioNode { + static new(context, options) { + if (context == null) dart.nullFailed(I[158], 934, 42, "context"); + if (options == null) dart.nullFailed(I[158], 934, 55, "options"); + let options_1 = html_common.convertDartToNative_Dictionary(options); + return web_audio.IirFilterNode._create_1(context, options_1); + } + static _create_1(context, options) { + return new IIRFilterNode(context, options); + } + [S$4.$getFrequencyResponse](...args) { + return this.getFrequencyResponse.apply(this, args); + } +}; +dart.addTypeTests(web_audio.IirFilterNode); +dart.addTypeCaches(web_audio.IirFilterNode); +dart.setMethodSignature(web_audio.IirFilterNode, () => ({ + __proto__: dart.getMethods(web_audio.IirFilterNode.__proto__), + [S$4.$getFrequencyResponse]: dart.fnType(dart.void, [typed_data.Float32List, typed_data.Float32List, typed_data.Float32List]) +})); +dart.setLibraryUri(web_audio.IirFilterNode, I[159]); +dart.registerExtension("IIRFilterNode", web_audio.IirFilterNode); +web_audio.MediaElementAudioSourceNode = class MediaElementAudioSourceNode$ extends web_audio.AudioNode { + static new(context, options) { + if (context == null) dart.nullFailed(I[158], 955, 56, "context"); + if (options == null) dart.nullFailed(I[158], 955, 69, "options"); + let options_1 = html_common.convertDartToNative_Dictionary(options); + return web_audio.MediaElementAudioSourceNode._create_1(context, options_1); + } + static _create_1(context, options) { + return new MediaElementAudioSourceNode(context, options); + } + get [S$4.$mediaElement]() { + return this.mediaElement; + } +}; +dart.addTypeTests(web_audio.MediaElementAudioSourceNode); +dart.addTypeCaches(web_audio.MediaElementAudioSourceNode); +dart.setGetterSignature(web_audio.MediaElementAudioSourceNode, () => ({ + __proto__: dart.getGetters(web_audio.MediaElementAudioSourceNode.__proto__), + [S$4.$mediaElement]: dart.nullable(html$.MediaElement) +})); +dart.setLibraryUri(web_audio.MediaElementAudioSourceNode, I[159]); +dart.registerExtension("MediaElementAudioSourceNode", web_audio.MediaElementAudioSourceNode); +web_audio.MediaStreamAudioDestinationNode = class MediaStreamAudioDestinationNode$ extends web_audio.AudioNode { + static new(context, options = null) { + if (context == null) dart.nullFailed(I[158], 978, 60, "context"); + if (options != null) { + let options_1 = html_common.convertDartToNative_Dictionary(options); + return web_audio.MediaStreamAudioDestinationNode._create_1(context, options_1); + } + return web_audio.MediaStreamAudioDestinationNode._create_2(context); + } + static _create_1(context, options) { + return new MediaStreamAudioDestinationNode(context, options); + } + static _create_2(context) { + return new MediaStreamAudioDestinationNode(context); + } + get [S$1.$stream]() { + return this.stream; + } +}; +dart.addTypeTests(web_audio.MediaStreamAudioDestinationNode); +dart.addTypeCaches(web_audio.MediaStreamAudioDestinationNode); +dart.setGetterSignature(web_audio.MediaStreamAudioDestinationNode, () => ({ + __proto__: dart.getGetters(web_audio.MediaStreamAudioDestinationNode.__proto__), + [S$1.$stream]: dart.nullable(html$.MediaStream) +})); +dart.setLibraryUri(web_audio.MediaStreamAudioDestinationNode, I[159]); +dart.registerExtension("MediaStreamAudioDestinationNode", web_audio.MediaStreamAudioDestinationNode); +web_audio.MediaStreamAudioSourceNode = class MediaStreamAudioSourceNode$ extends web_audio.AudioNode { + static new(context, options) { + if (context == null) dart.nullFailed(I[158], 1009, 55, "context"); + if (options == null) dart.nullFailed(I[158], 1009, 68, "options"); + let options_1 = html_common.convertDartToNative_Dictionary(options); + return web_audio.MediaStreamAudioSourceNode._create_1(context, options_1); + } + static _create_1(context, options) { + return new MediaStreamAudioSourceNode(context, options); + } + get [S$4.$mediaStream]() { + return this.mediaStream; + } +}; +dart.addTypeTests(web_audio.MediaStreamAudioSourceNode); +dart.addTypeCaches(web_audio.MediaStreamAudioSourceNode); +dart.setGetterSignature(web_audio.MediaStreamAudioSourceNode, () => ({ + __proto__: dart.getGetters(web_audio.MediaStreamAudioSourceNode.__proto__), + [S$4.$mediaStream]: dart.nullable(html$.MediaStream) +})); +dart.setLibraryUri(web_audio.MediaStreamAudioSourceNode, I[159]); +dart.registerExtension("MediaStreamAudioSourceNode", web_audio.MediaStreamAudioSourceNode); +web_audio.OfflineAudioCompletionEvent = class OfflineAudioCompletionEvent$ extends html$.Event { + static new(type, eventInitDict) { + if (type == null) dart.nullFailed(I[158], 1032, 46, "type"); + if (eventInitDict == null) dart.nullFailed(I[158], 1032, 56, "eventInitDict"); + let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); + return web_audio.OfflineAudioCompletionEvent._create_1(type, eventInitDict_1); + } + static _create_1(type, eventInitDict) { + return new OfflineAudioCompletionEvent(type, eventInitDict); + } + get [S$4.$renderedBuffer]() { + return this.renderedBuffer; + } +}; +dart.addTypeTests(web_audio.OfflineAudioCompletionEvent); +dart.addTypeCaches(web_audio.OfflineAudioCompletionEvent); +dart.setGetterSignature(web_audio.OfflineAudioCompletionEvent, () => ({ + __proto__: dart.getGetters(web_audio.OfflineAudioCompletionEvent.__proto__), + [S$4.$renderedBuffer]: dart.nullable(web_audio.AudioBuffer) +})); +dart.setLibraryUri(web_audio.OfflineAudioCompletionEvent, I[159]); +dart.registerExtension("OfflineAudioCompletionEvent", web_audio.OfflineAudioCompletionEvent); +web_audio.OfflineAudioContext = class OfflineAudioContext$ extends web_audio.BaseAudioContext { + static new(numberOfChannels_OR_options, numberOfFrames = null, sampleRate = null) { + if (typeof sampleRate == 'number' && core.int.is(numberOfFrames) && core.int.is(numberOfChannels_OR_options)) { + return web_audio.OfflineAudioContext._create_1(numberOfChannels_OR_options, numberOfFrames, sampleRate); + } + if (core.Map.is(numberOfChannels_OR_options) && numberOfFrames == null && sampleRate == null) { + let options_1 = html_common.convertDartToNative_Dictionary(numberOfChannels_OR_options); + return web_audio.OfflineAudioContext._create_2(options_1); + } + dart.throw(new core.ArgumentError.new("Incorrect number or type of arguments")); + } + static _create_1(numberOfChannels_OR_options, numberOfFrames, sampleRate) { + return new OfflineAudioContext(numberOfChannels_OR_options, numberOfFrames, sampleRate); + } + static _create_2(numberOfChannels_OR_options) { + return new OfflineAudioContext(numberOfChannels_OR_options); + } + get [$length]() { + return this.length; + } + [S$4.$startRendering]() { + return js_util.promiseToFuture(web_audio.AudioBuffer, this.startRendering()); + } + [S$4.$suspendFor](suspendTime) { + if (suspendTime == null) dart.nullFailed(I[158], 1087, 25, "suspendTime"); + return js_util.promiseToFuture(dart.dynamic, this.suspend(suspendTime)); + } +}; +dart.addTypeTests(web_audio.OfflineAudioContext); +dart.addTypeCaches(web_audio.OfflineAudioContext); +dart.setMethodSignature(web_audio.OfflineAudioContext, () => ({ + __proto__: dart.getMethods(web_audio.OfflineAudioContext.__proto__), + [S$4.$startRendering]: dart.fnType(async.Future$(web_audio.AudioBuffer), []), + [S$4.$suspendFor]: dart.fnType(async.Future, [core.num]) +})); +dart.setGetterSignature(web_audio.OfflineAudioContext, () => ({ + __proto__: dart.getGetters(web_audio.OfflineAudioContext.__proto__), + [$length]: dart.nullable(core.int) +})); +dart.setLibraryUri(web_audio.OfflineAudioContext, I[159]); +dart.registerExtension("OfflineAudioContext", web_audio.OfflineAudioContext); +web_audio.OscillatorNode = class OscillatorNode$ extends web_audio.AudioScheduledSourceNode { + static new(context, options = null) { + if (context == null) dart.nullFailed(I[158], 1101, 43, "context"); + if (options != null) { + let options_1 = html_common.convertDartToNative_Dictionary(options); + return web_audio.OscillatorNode._create_1(context, options_1); + } + return web_audio.OscillatorNode._create_2(context); + } + static _create_1(context, options) { + return new OscillatorNode(context, options); + } + static _create_2(context) { + return new OscillatorNode(context); + } + get [S$3.$detune]() { + return this.detune; + } + get [S$4.$frequency]() { + return this.frequency; + } + get [S.$type]() { + return this.type; + } + set [S.$type](value) { + this.type = value; + } + [S$4.$setPeriodicWave](...args) { + return this.setPeriodicWave.apply(this, args); + } +}; +dart.addTypeTests(web_audio.OscillatorNode); +dart.addTypeCaches(web_audio.OscillatorNode); +dart.setMethodSignature(web_audio.OscillatorNode, () => ({ + __proto__: dart.getMethods(web_audio.OscillatorNode.__proto__), + [S$4.$setPeriodicWave]: dart.fnType(dart.void, [web_audio.PeriodicWave]) +})); +dart.setGetterSignature(web_audio.OscillatorNode, () => ({ + __proto__: dart.getGetters(web_audio.OscillatorNode.__proto__), + [S$3.$detune]: dart.nullable(web_audio.AudioParam), + [S$4.$frequency]: dart.nullable(web_audio.AudioParam), + [S.$type]: dart.nullable(core.String) +})); +dart.setSetterSignature(web_audio.OscillatorNode, () => ({ + __proto__: dart.getSetters(web_audio.OscillatorNode.__proto__), + [S.$type]: dart.nullable(core.String) +})); +dart.setLibraryUri(web_audio.OscillatorNode, I[159]); +dart.registerExtension("OscillatorNode", web_audio.OscillatorNode); +dart.registerExtension("Oscillator", web_audio.OscillatorNode); +web_audio.PannerNode = class PannerNode$ extends web_audio.AudioNode { + static new(context, options = null) { + if (context == null) dart.nullFailed(I[158], 1134, 39, "context"); + if (options != null) { + let options_1 = html_common.convertDartToNative_Dictionary(options); + return web_audio.PannerNode._create_1(context, options_1); + } + return web_audio.PannerNode._create_2(context); + } + static _create_1(context, options) { + return new PannerNode(context, options); + } + static _create_2(context) { + return new PannerNode(context); + } + get [S$4.$coneInnerAngle]() { + return this.coneInnerAngle; + } + set [S$4.$coneInnerAngle](value) { + this.coneInnerAngle = value; + } + get [S$4.$coneOuterAngle]() { + return this.coneOuterAngle; + } + set [S$4.$coneOuterAngle](value) { + this.coneOuterAngle = value; + } + get [S$4.$coneOuterGain]() { + return this.coneOuterGain; + } + set [S$4.$coneOuterGain](value) { + this.coneOuterGain = value; + } + get [S$4.$distanceModel]() { + return this.distanceModel; + } + set [S$4.$distanceModel](value) { + this.distanceModel = value; + } + get [S$4.$maxDistance]() { + return this.maxDistance; + } + set [S$4.$maxDistance](value) { + this.maxDistance = value; + } + get [S$4.$orientationX]() { + return this.orientationX; + } + get [S$4.$orientationY]() { + return this.orientationY; + } + get [S$4.$orientationZ]() { + return this.orientationZ; + } + get [S$4.$panningModel]() { + return this.panningModel; + } + set [S$4.$panningModel](value) { + this.panningModel = value; + } + get [S$2.$positionX]() { + return this.positionX; + } + get [S$2.$positionY]() { + return this.positionY; + } + get [S$4.$positionZ]() { + return this.positionZ; + } + get [S$4.$refDistance]() { + return this.refDistance; + } + set [S$4.$refDistance](value) { + this.refDistance = value; + } + get [S$4.$rolloffFactor]() { + return this.rolloffFactor; + } + set [S$4.$rolloffFactor](value) { + this.rolloffFactor = value; + } + [S$4.$setOrientation](...args) { + return this.setOrientation.apply(this, args); + } + [S$2.$setPosition](...args) { + return this.setPosition.apply(this, args); + } +}; +dart.addTypeTests(web_audio.PannerNode); +dart.addTypeCaches(web_audio.PannerNode); +dart.setMethodSignature(web_audio.PannerNode, () => ({ + __proto__: dart.getMethods(web_audio.PannerNode.__proto__), + [S$4.$setOrientation]: dart.fnType(dart.void, [core.num, core.num, core.num]), + [S$2.$setPosition]: dart.fnType(dart.void, [core.num, core.num, core.num]) +})); +dart.setGetterSignature(web_audio.PannerNode, () => ({ + __proto__: dart.getGetters(web_audio.PannerNode.__proto__), + [S$4.$coneInnerAngle]: dart.nullable(core.num), + [S$4.$coneOuterAngle]: dart.nullable(core.num), + [S$4.$coneOuterGain]: dart.nullable(core.num), + [S$4.$distanceModel]: dart.nullable(core.String), + [S$4.$maxDistance]: dart.nullable(core.num), + [S$4.$orientationX]: dart.nullable(web_audio.AudioParam), + [S$4.$orientationY]: dart.nullable(web_audio.AudioParam), + [S$4.$orientationZ]: dart.nullable(web_audio.AudioParam), + [S$4.$panningModel]: dart.nullable(core.String), + [S$2.$positionX]: dart.nullable(web_audio.AudioParam), + [S$2.$positionY]: dart.nullable(web_audio.AudioParam), + [S$4.$positionZ]: dart.nullable(web_audio.AudioParam), + [S$4.$refDistance]: dart.nullable(core.num), + [S$4.$rolloffFactor]: dart.nullable(core.num) +})); +dart.setSetterSignature(web_audio.PannerNode, () => ({ + __proto__: dart.getSetters(web_audio.PannerNode.__proto__), + [S$4.$coneInnerAngle]: dart.nullable(core.num), + [S$4.$coneOuterAngle]: dart.nullable(core.num), + [S$4.$coneOuterGain]: dart.nullable(core.num), + [S$4.$distanceModel]: dart.nullable(core.String), + [S$4.$maxDistance]: dart.nullable(core.num), + [S$4.$panningModel]: dart.nullable(core.String), + [S$4.$refDistance]: dart.nullable(core.num), + [S$4.$rolloffFactor]: dart.nullable(core.num) +})); +dart.setLibraryUri(web_audio.PannerNode, I[159]); +dart.registerExtension("PannerNode", web_audio.PannerNode); +dart.registerExtension("AudioPannerNode", web_audio.PannerNode); +dart.registerExtension("webkitAudioPannerNode", web_audio.PannerNode); +web_audio.PeriodicWave = class PeriodicWave$ extends _interceptors.Interceptor { + static new(context, options = null) { + if (context == null) dart.nullFailed(I[158], 1205, 41, "context"); + if (options != null) { + let options_1 = html_common.convertDartToNative_Dictionary(options); + return web_audio.PeriodicWave._create_1(context, options_1); + } + return web_audio.PeriodicWave._create_2(context); + } + static _create_1(context, options) { + return new PeriodicWave(context, options); + } + static _create_2(context) { + return new PeriodicWave(context); + } +}; +dart.addTypeTests(web_audio.PeriodicWave); +dart.addTypeCaches(web_audio.PeriodicWave); +dart.setLibraryUri(web_audio.PeriodicWave, I[159]); +dart.registerExtension("PeriodicWave", web_audio.PeriodicWave); +web_audio.ScriptProcessorNode = class ScriptProcessorNode extends web_audio.AudioNode { + get [S$4.$bufferSize]() { + return this.bufferSize; + } + [S$4.$setEventListener](...args) { + return this.setEventListener.apply(this, args); + } + get [S$4.$onAudioProcess]() { + return web_audio.ScriptProcessorNode.audioProcessEvent.forTarget(this); + } +}; +dart.addTypeTests(web_audio.ScriptProcessorNode); +dart.addTypeCaches(web_audio.ScriptProcessorNode); +dart.setMethodSignature(web_audio.ScriptProcessorNode, () => ({ + __proto__: dart.getMethods(web_audio.ScriptProcessorNode.__proto__), + [S$4.$setEventListener]: dart.fnType(dart.void, [dart.fnType(dart.dynamic, [html$.Event])]) +})); +dart.setGetterSignature(web_audio.ScriptProcessorNode, () => ({ + __proto__: dart.getGetters(web_audio.ScriptProcessorNode.__proto__), + [S$4.$bufferSize]: dart.nullable(core.int), + [S$4.$onAudioProcess]: async.Stream$(web_audio.AudioProcessingEvent) +})); +dart.setLibraryUri(web_audio.ScriptProcessorNode, I[159]); +dart.defineLazy(web_audio.ScriptProcessorNode, { + /*web_audio.ScriptProcessorNode.audioProcessEvent*/get audioProcessEvent() { + return C[418] || CT.C418; + } +}, false); +dart.registerExtension("ScriptProcessorNode", web_audio.ScriptProcessorNode); +dart.registerExtension("JavaScriptAudioNode", web_audio.ScriptProcessorNode); +web_audio.StereoPannerNode = class StereoPannerNode$ extends web_audio.AudioNode { + static new(context, options = null) { + if (context == null) dart.nullFailed(I[158], 1263, 45, "context"); + if (options != null) { + let options_1 = html_common.convertDartToNative_Dictionary(options); + return web_audio.StereoPannerNode._create_1(context, options_1); + } + return web_audio.StereoPannerNode._create_2(context); + } + static _create_1(context, options) { + return new StereoPannerNode(context, options); + } + static _create_2(context) { + return new StereoPannerNode(context); + } + get [S$4.$pan]() { + return this.pan; + } +}; +dart.addTypeTests(web_audio.StereoPannerNode); +dart.addTypeCaches(web_audio.StereoPannerNode); +dart.setGetterSignature(web_audio.StereoPannerNode, () => ({ + __proto__: dart.getGetters(web_audio.StereoPannerNode.__proto__), + [S$4.$pan]: dart.nullable(web_audio.AudioParam) +})); +dart.setLibraryUri(web_audio.StereoPannerNode, I[159]); +dart.registerExtension("StereoPannerNode", web_audio.StereoPannerNode); +web_audio.WaveShaperNode = class WaveShaperNode$ extends web_audio.AudioNode { + static new(context, options = null) { + if (context == null) dart.nullFailed(I[158], 1288, 43, "context"); + if (options != null) { + let options_1 = html_common.convertDartToNative_Dictionary(options); + return web_audio.WaveShaperNode._create_1(context, options_1); + } + return web_audio.WaveShaperNode._create_2(context); + } + static _create_1(context, options) { + return new WaveShaperNode(context, options); + } + static _create_2(context) { + return new WaveShaperNode(context); + } + get [S$4.$curve]() { + return this.curve; + } + set [S$4.$curve](value) { + this.curve = value; + } + get [S$4.$oversample]() { + return this.oversample; + } + set [S$4.$oversample](value) { + this.oversample = value; + } +}; +dart.addTypeTests(web_audio.WaveShaperNode); +dart.addTypeCaches(web_audio.WaveShaperNode); +dart.setGetterSignature(web_audio.WaveShaperNode, () => ({ + __proto__: dart.getGetters(web_audio.WaveShaperNode.__proto__), + [S$4.$curve]: dart.nullable(typed_data.Float32List), + [S$4.$oversample]: dart.nullable(core.String) +})); +dart.setSetterSignature(web_audio.WaveShaperNode, () => ({ + __proto__: dart.getSetters(web_audio.WaveShaperNode.__proto__), + [S$4.$curve]: dart.nullable(typed_data.Float32List), + [S$4.$oversample]: dart.nullable(core.String) +})); +dart.setLibraryUri(web_audio.WaveShaperNode, I[159]); +dart.registerExtension("WaveShaperNode", web_audio.WaveShaperNode); +web_gl.ActiveInfo = class ActiveInfo extends _interceptors.Interceptor { + get [$name]() { + return this.name; + } + get [S$.$size]() { + return this.size; + } + get [S.$type]() { + return this.type; + } +}; +dart.addTypeTests(web_gl.ActiveInfo); +dart.addTypeCaches(web_gl.ActiveInfo); +dart.setGetterSignature(web_gl.ActiveInfo, () => ({ + __proto__: dart.getGetters(web_gl.ActiveInfo.__proto__), + [$name]: core.String, + [S$.$size]: core.int, + [S.$type]: core.int +})); +dart.setLibraryUri(web_gl.ActiveInfo, I[160]); +dart.registerExtension("WebGLActiveInfo", web_gl.ActiveInfo); +web_gl.AngleInstancedArrays = class AngleInstancedArrays extends _interceptors.Interceptor { + [S$4.$drawArraysInstancedAngle](...args) { + return this.drawArraysInstancedANGLE.apply(this, args); + } + [S$4.$drawElementsInstancedAngle](...args) { + return this.drawElementsInstancedANGLE.apply(this, args); + } + [S$4.$vertexAttribDivisorAngle](...args) { + return this.vertexAttribDivisorANGLE.apply(this, args); + } +}; +dart.addTypeTests(web_gl.AngleInstancedArrays); +dart.addTypeCaches(web_gl.AngleInstancedArrays); +dart.setMethodSignature(web_gl.AngleInstancedArrays, () => ({ + __proto__: dart.getMethods(web_gl.AngleInstancedArrays.__proto__), + [S$4.$drawArraysInstancedAngle]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int]), + [S$4.$drawElementsInstancedAngle]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int]), + [S$4.$vertexAttribDivisorAngle]: dart.fnType(dart.void, [core.int, core.int]) +})); +dart.setLibraryUri(web_gl.AngleInstancedArrays, I[160]); +dart.defineLazy(web_gl.AngleInstancedArrays, { + /*web_gl.AngleInstancedArrays.VERTEX_ATTRIB_ARRAY_DIVISOR_ANGLE*/get VERTEX_ATTRIB_ARRAY_DIVISOR_ANGLE() { + return 35070; + } +}, false); +dart.registerExtension("ANGLEInstancedArrays", web_gl.AngleInstancedArrays); +dart.registerExtension("ANGLE_instanced_arrays", web_gl.AngleInstancedArrays); +web_gl.Buffer = class Buffer extends _interceptors.Interceptor {}; +dart.addTypeTests(web_gl.Buffer); +dart.addTypeCaches(web_gl.Buffer); +dart.setLibraryUri(web_gl.Buffer, I[160]); +dart.registerExtension("WebGLBuffer", web_gl.Buffer); +web_gl.Canvas = class Canvas extends _interceptors.Interceptor { + get [S$.$canvas]() { + return this.canvas; + } + get [S$4.$offscreenCanvas]() { + return this.canvas; + } +}; +dart.addTypeTests(web_gl.Canvas); +dart.addTypeCaches(web_gl.Canvas); +dart.setGetterSignature(web_gl.Canvas, () => ({ + __proto__: dart.getGetters(web_gl.Canvas.__proto__), + [S$.$canvas]: html$.CanvasElement, + [S$4.$offscreenCanvas]: dart.nullable(html$.OffscreenCanvas) +})); +dart.setLibraryUri(web_gl.Canvas, I[160]); +dart.registerExtension("WebGLCanvas", web_gl.Canvas); +web_gl.ColorBufferFloat = class ColorBufferFloat extends _interceptors.Interceptor {}; +dart.addTypeTests(web_gl.ColorBufferFloat); +dart.addTypeCaches(web_gl.ColorBufferFloat); +dart.setLibraryUri(web_gl.ColorBufferFloat, I[160]); +dart.registerExtension("WebGLColorBufferFloat", web_gl.ColorBufferFloat); +web_gl.CompressedTextureAstc = class CompressedTextureAstc extends _interceptors.Interceptor {}; +dart.addTypeTests(web_gl.CompressedTextureAstc); +dart.addTypeCaches(web_gl.CompressedTextureAstc); +dart.setLibraryUri(web_gl.CompressedTextureAstc, I[160]); +dart.defineLazy(web_gl.CompressedTextureAstc, { + /*web_gl.CompressedTextureAstc.COMPRESSED_RGBA_ASTC_10x10_KHR*/get COMPRESSED_RGBA_ASTC_10x10_KHR() { + return 37819; + }, + /*web_gl.CompressedTextureAstc.COMPRESSED_RGBA_ASTC_10x5_KHR*/get COMPRESSED_RGBA_ASTC_10x5_KHR() { + return 37816; + }, + /*web_gl.CompressedTextureAstc.COMPRESSED_RGBA_ASTC_10x6_KHR*/get COMPRESSED_RGBA_ASTC_10x6_KHR() { + return 37817; + }, + /*web_gl.CompressedTextureAstc.COMPRESSED_RGBA_ASTC_10x8_KHR*/get COMPRESSED_RGBA_ASTC_10x8_KHR() { + return 37818; + }, + /*web_gl.CompressedTextureAstc.COMPRESSED_RGBA_ASTC_12x10_KHR*/get COMPRESSED_RGBA_ASTC_12x10_KHR() { + return 37820; + }, + /*web_gl.CompressedTextureAstc.COMPRESSED_RGBA_ASTC_12x12_KHR*/get COMPRESSED_RGBA_ASTC_12x12_KHR() { + return 37821; + }, + /*web_gl.CompressedTextureAstc.COMPRESSED_RGBA_ASTC_4x4_KHR*/get COMPRESSED_RGBA_ASTC_4x4_KHR() { + return 37808; + }, + /*web_gl.CompressedTextureAstc.COMPRESSED_RGBA_ASTC_5x4_KHR*/get COMPRESSED_RGBA_ASTC_5x4_KHR() { + return 37809; + }, + /*web_gl.CompressedTextureAstc.COMPRESSED_RGBA_ASTC_5x5_KHR*/get COMPRESSED_RGBA_ASTC_5x5_KHR() { + return 37810; + }, + /*web_gl.CompressedTextureAstc.COMPRESSED_RGBA_ASTC_6x5_KHR*/get COMPRESSED_RGBA_ASTC_6x5_KHR() { + return 37811; + }, + /*web_gl.CompressedTextureAstc.COMPRESSED_RGBA_ASTC_6x6_KHR*/get COMPRESSED_RGBA_ASTC_6x6_KHR() { + return 37812; + }, + /*web_gl.CompressedTextureAstc.COMPRESSED_RGBA_ASTC_8x5_KHR*/get COMPRESSED_RGBA_ASTC_8x5_KHR() { + return 37813; + }, + /*web_gl.CompressedTextureAstc.COMPRESSED_RGBA_ASTC_8x6_KHR*/get COMPRESSED_RGBA_ASTC_8x6_KHR() { + return 37814; + }, + /*web_gl.CompressedTextureAstc.COMPRESSED_RGBA_ASTC_8x8_KHR*/get COMPRESSED_RGBA_ASTC_8x8_KHR() { + return 37815; + }, + /*web_gl.CompressedTextureAstc.COMPRESSED_SRGB8_ALPHA8_ASTC_10x10_KHR*/get COMPRESSED_SRGB8_ALPHA8_ASTC_10x10_KHR() { + return 37851; + }, + /*web_gl.CompressedTextureAstc.COMPRESSED_SRGB8_ALPHA8_ASTC_10x5_KHR*/get COMPRESSED_SRGB8_ALPHA8_ASTC_10x5_KHR() { + return 37848; + }, + /*web_gl.CompressedTextureAstc.COMPRESSED_SRGB8_ALPHA8_ASTC_10x6_KHR*/get COMPRESSED_SRGB8_ALPHA8_ASTC_10x6_KHR() { + return 37849; + }, + /*web_gl.CompressedTextureAstc.COMPRESSED_SRGB8_ALPHA8_ASTC_10x8_KHR*/get COMPRESSED_SRGB8_ALPHA8_ASTC_10x8_KHR() { + return 37850; + }, + /*web_gl.CompressedTextureAstc.COMPRESSED_SRGB8_ALPHA8_ASTC_12x10_KHR*/get COMPRESSED_SRGB8_ALPHA8_ASTC_12x10_KHR() { + return 37852; + }, + /*web_gl.CompressedTextureAstc.COMPRESSED_SRGB8_ALPHA8_ASTC_12x12_KHR*/get COMPRESSED_SRGB8_ALPHA8_ASTC_12x12_KHR() { + return 37853; + }, + /*web_gl.CompressedTextureAstc.COMPRESSED_SRGB8_ALPHA8_ASTC_4x4_KHR*/get COMPRESSED_SRGB8_ALPHA8_ASTC_4x4_KHR() { + return 37840; + }, + /*web_gl.CompressedTextureAstc.COMPRESSED_SRGB8_ALPHA8_ASTC_5x4_KHR*/get COMPRESSED_SRGB8_ALPHA8_ASTC_5x4_KHR() { + return 37841; + }, + /*web_gl.CompressedTextureAstc.COMPRESSED_SRGB8_ALPHA8_ASTC_5x5_KHR*/get COMPRESSED_SRGB8_ALPHA8_ASTC_5x5_KHR() { + return 37842; + }, + /*web_gl.CompressedTextureAstc.COMPRESSED_SRGB8_ALPHA8_ASTC_6x5_KHR*/get COMPRESSED_SRGB8_ALPHA8_ASTC_6x5_KHR() { + return 37843; + }, + /*web_gl.CompressedTextureAstc.COMPRESSED_SRGB8_ALPHA8_ASTC_6x6_KHR*/get COMPRESSED_SRGB8_ALPHA8_ASTC_6x6_KHR() { + return 37844; + }, + /*web_gl.CompressedTextureAstc.COMPRESSED_SRGB8_ALPHA8_ASTC_8x5_KHR*/get COMPRESSED_SRGB8_ALPHA8_ASTC_8x5_KHR() { + return 37845; + }, + /*web_gl.CompressedTextureAstc.COMPRESSED_SRGB8_ALPHA8_ASTC_8x6_KHR*/get COMPRESSED_SRGB8_ALPHA8_ASTC_8x6_KHR() { + return 37846; + }, + /*web_gl.CompressedTextureAstc.COMPRESSED_SRGB8_ALPHA8_ASTC_8x8_KHR*/get COMPRESSED_SRGB8_ALPHA8_ASTC_8x8_KHR() { + return 37847; + } +}, false); +dart.registerExtension("WebGLCompressedTextureASTC", web_gl.CompressedTextureAstc); +web_gl.CompressedTextureAtc = class CompressedTextureAtc extends _interceptors.Interceptor {}; +dart.addTypeTests(web_gl.CompressedTextureAtc); +dart.addTypeCaches(web_gl.CompressedTextureAtc); +dart.setLibraryUri(web_gl.CompressedTextureAtc, I[160]); +dart.defineLazy(web_gl.CompressedTextureAtc, { + /*web_gl.CompressedTextureAtc.COMPRESSED_RGBA_ATC_EXPLICIT_ALPHA_WEBGL*/get COMPRESSED_RGBA_ATC_EXPLICIT_ALPHA_WEBGL() { + return 35987; + }, + /*web_gl.CompressedTextureAtc.COMPRESSED_RGBA_ATC_INTERPOLATED_ALPHA_WEBGL*/get COMPRESSED_RGBA_ATC_INTERPOLATED_ALPHA_WEBGL() { + return 34798; + }, + /*web_gl.CompressedTextureAtc.COMPRESSED_RGB_ATC_WEBGL*/get COMPRESSED_RGB_ATC_WEBGL() { + return 35986; + } +}, false); +dart.registerExtension("WebGLCompressedTextureATC", web_gl.CompressedTextureAtc); +dart.registerExtension("WEBGL_compressed_texture_atc", web_gl.CompressedTextureAtc); +web_gl.CompressedTextureETC1 = class CompressedTextureETC1 extends _interceptors.Interceptor {}; +dart.addTypeTests(web_gl.CompressedTextureETC1); +dart.addTypeCaches(web_gl.CompressedTextureETC1); +dart.setLibraryUri(web_gl.CompressedTextureETC1, I[160]); +dart.defineLazy(web_gl.CompressedTextureETC1, { + /*web_gl.CompressedTextureETC1.COMPRESSED_RGB_ETC1_WEBGL*/get COMPRESSED_RGB_ETC1_WEBGL() { + return 36196; + } +}, false); +dart.registerExtension("WebGLCompressedTextureETC1", web_gl.CompressedTextureETC1); +dart.registerExtension("WEBGL_compressed_texture_etc1", web_gl.CompressedTextureETC1); +web_gl.CompressedTextureEtc = class CompressedTextureEtc extends _interceptors.Interceptor {}; +dart.addTypeTests(web_gl.CompressedTextureEtc); +dart.addTypeCaches(web_gl.CompressedTextureEtc); +dart.setLibraryUri(web_gl.CompressedTextureEtc, I[160]); +dart.defineLazy(web_gl.CompressedTextureEtc, { + /*web_gl.CompressedTextureEtc.COMPRESSED_R11_EAC*/get COMPRESSED_R11_EAC() { + return 37488; + }, + /*web_gl.CompressedTextureEtc.COMPRESSED_RG11_EAC*/get COMPRESSED_RG11_EAC() { + return 37490; + }, + /*web_gl.CompressedTextureEtc.COMPRESSED_RGB8_ETC2*/get COMPRESSED_RGB8_ETC2() { + return 37492; + }, + /*web_gl.CompressedTextureEtc.COMPRESSED_RGB8_PUNCHTHROUGH_ALPHA1_ETC2*/get COMPRESSED_RGB8_PUNCHTHROUGH_ALPHA1_ETC2() { + return 37494; + }, + /*web_gl.CompressedTextureEtc.COMPRESSED_RGBA8_ETC2_EAC*/get COMPRESSED_RGBA8_ETC2_EAC() { + return 37496; + }, + /*web_gl.CompressedTextureEtc.COMPRESSED_SIGNED_R11_EAC*/get COMPRESSED_SIGNED_R11_EAC() { + return 37489; + }, + /*web_gl.CompressedTextureEtc.COMPRESSED_SIGNED_RG11_EAC*/get COMPRESSED_SIGNED_RG11_EAC() { + return 37491; + }, + /*web_gl.CompressedTextureEtc.COMPRESSED_SRGB8_ALPHA8_ETC2_EAC*/get COMPRESSED_SRGB8_ALPHA8_ETC2_EAC() { + return 37497; + }, + /*web_gl.CompressedTextureEtc.COMPRESSED_SRGB8_ETC2*/get COMPRESSED_SRGB8_ETC2() { + return 37493; + }, + /*web_gl.CompressedTextureEtc.COMPRESSED_SRGB8_PUNCHTHROUGH_ALPHA1_ETC2*/get COMPRESSED_SRGB8_PUNCHTHROUGH_ALPHA1_ETC2() { + return 37495; + } +}, false); +dart.registerExtension("WebGLCompressedTextureETC", web_gl.CompressedTextureEtc); +web_gl.CompressedTexturePvrtc = class CompressedTexturePvrtc extends _interceptors.Interceptor {}; +dart.addTypeTests(web_gl.CompressedTexturePvrtc); +dart.addTypeCaches(web_gl.CompressedTexturePvrtc); +dart.setLibraryUri(web_gl.CompressedTexturePvrtc, I[160]); +dart.defineLazy(web_gl.CompressedTexturePvrtc, { + /*web_gl.CompressedTexturePvrtc.COMPRESSED_RGBA_PVRTC_2BPPV1_IMG*/get COMPRESSED_RGBA_PVRTC_2BPPV1_IMG() { + return 35843; + }, + /*web_gl.CompressedTexturePvrtc.COMPRESSED_RGBA_PVRTC_4BPPV1_IMG*/get COMPRESSED_RGBA_PVRTC_4BPPV1_IMG() { + return 35842; + }, + /*web_gl.CompressedTexturePvrtc.COMPRESSED_RGB_PVRTC_2BPPV1_IMG*/get COMPRESSED_RGB_PVRTC_2BPPV1_IMG() { + return 35841; + }, + /*web_gl.CompressedTexturePvrtc.COMPRESSED_RGB_PVRTC_4BPPV1_IMG*/get COMPRESSED_RGB_PVRTC_4BPPV1_IMG() { + return 35840; + } +}, false); +dart.registerExtension("WebGLCompressedTexturePVRTC", web_gl.CompressedTexturePvrtc); +dart.registerExtension("WEBGL_compressed_texture_pvrtc", web_gl.CompressedTexturePvrtc); +web_gl.CompressedTextureS3TC = class CompressedTextureS3TC extends _interceptors.Interceptor {}; +dart.addTypeTests(web_gl.CompressedTextureS3TC); +dart.addTypeCaches(web_gl.CompressedTextureS3TC); +dart.setLibraryUri(web_gl.CompressedTextureS3TC, I[160]); +dart.defineLazy(web_gl.CompressedTextureS3TC, { + /*web_gl.CompressedTextureS3TC.COMPRESSED_RGBA_S3TC_DXT1_EXT*/get COMPRESSED_RGBA_S3TC_DXT1_EXT() { + return 33777; + }, + /*web_gl.CompressedTextureS3TC.COMPRESSED_RGBA_S3TC_DXT3_EXT*/get COMPRESSED_RGBA_S3TC_DXT3_EXT() { + return 33778; + }, + /*web_gl.CompressedTextureS3TC.COMPRESSED_RGBA_S3TC_DXT5_EXT*/get COMPRESSED_RGBA_S3TC_DXT5_EXT() { + return 33779; + }, + /*web_gl.CompressedTextureS3TC.COMPRESSED_RGB_S3TC_DXT1_EXT*/get COMPRESSED_RGB_S3TC_DXT1_EXT() { + return 33776; + } +}, false); +dart.registerExtension("WebGLCompressedTextureS3TC", web_gl.CompressedTextureS3TC); +dart.registerExtension("WEBGL_compressed_texture_s3tc", web_gl.CompressedTextureS3TC); +web_gl.CompressedTextureS3TCsRgb = class CompressedTextureS3TCsRgb extends _interceptors.Interceptor {}; +dart.addTypeTests(web_gl.CompressedTextureS3TCsRgb); +dart.addTypeCaches(web_gl.CompressedTextureS3TCsRgb); +dart.setLibraryUri(web_gl.CompressedTextureS3TCsRgb, I[160]); +dart.defineLazy(web_gl.CompressedTextureS3TCsRgb, { + /*web_gl.CompressedTextureS3TCsRgb.COMPRESSED_SRGB_ALPHA_S3TC_DXT1_EXT*/get COMPRESSED_SRGB_ALPHA_S3TC_DXT1_EXT() { + return 35917; + }, + /*web_gl.CompressedTextureS3TCsRgb.COMPRESSED_SRGB_ALPHA_S3TC_DXT3_EXT*/get COMPRESSED_SRGB_ALPHA_S3TC_DXT3_EXT() { + return 35918; + }, + /*web_gl.CompressedTextureS3TCsRgb.COMPRESSED_SRGB_ALPHA_S3TC_DXT5_EXT*/get COMPRESSED_SRGB_ALPHA_S3TC_DXT5_EXT() { + return 35919; + }, + /*web_gl.CompressedTextureS3TCsRgb.COMPRESSED_SRGB_S3TC_DXT1_EXT*/get COMPRESSED_SRGB_S3TC_DXT1_EXT() { + return 35916; + } +}, false); +dart.registerExtension("WebGLCompressedTextureS3TCsRGB", web_gl.CompressedTextureS3TCsRgb); +web_gl.ContextEvent = class ContextEvent extends html$.Event { + static new(type, eventInit = null) { + if (type == null) dart.nullFailed(I[161], 303, 31, "type"); + if (eventInit != null) { + let eventInit_1 = html_common.convertDartToNative_Dictionary(eventInit); + return web_gl.ContextEvent._create_1(type, eventInit_1); + } + return web_gl.ContextEvent._create_2(type); + } + static _create_1(type, eventInit) { + return new WebGLContextEvent(type, eventInit); + } + static _create_2(type) { + return new WebGLContextEvent(type); + } + get [S$4.$statusMessage]() { + return this.statusMessage; + } +}; +dart.addTypeTests(web_gl.ContextEvent); +dart.addTypeCaches(web_gl.ContextEvent); +dart.setGetterSignature(web_gl.ContextEvent, () => ({ + __proto__: dart.getGetters(web_gl.ContextEvent.__proto__), + [S$4.$statusMessage]: core.String +})); +dart.setLibraryUri(web_gl.ContextEvent, I[160]); +dart.registerExtension("WebGLContextEvent", web_gl.ContextEvent); +web_gl.DebugRendererInfo = class DebugRendererInfo extends _interceptors.Interceptor {}; +dart.addTypeTests(web_gl.DebugRendererInfo); +dart.addTypeCaches(web_gl.DebugRendererInfo); +dart.setLibraryUri(web_gl.DebugRendererInfo, I[160]); +dart.defineLazy(web_gl.DebugRendererInfo, { + /*web_gl.DebugRendererInfo.UNMASKED_RENDERER_WEBGL*/get UNMASKED_RENDERER_WEBGL() { + return 37446; + }, + /*web_gl.DebugRendererInfo.UNMASKED_VENDOR_WEBGL*/get UNMASKED_VENDOR_WEBGL() { + return 37445; + } +}, false); +dart.registerExtension("WebGLDebugRendererInfo", web_gl.DebugRendererInfo); +dart.registerExtension("WEBGL_debug_renderer_info", web_gl.DebugRendererInfo); +web_gl.DebugShaders = class DebugShaders extends _interceptors.Interceptor { + [S$4.$getTranslatedShaderSource](...args) { + return this.getTranslatedShaderSource.apply(this, args); + } +}; +dart.addTypeTests(web_gl.DebugShaders); +dart.addTypeCaches(web_gl.DebugShaders); +dart.setMethodSignature(web_gl.DebugShaders, () => ({ + __proto__: dart.getMethods(web_gl.DebugShaders.__proto__), + [S$4.$getTranslatedShaderSource]: dart.fnType(dart.nullable(core.String), [web_gl.Shader]) +})); +dart.setLibraryUri(web_gl.DebugShaders, I[160]); +dart.registerExtension("WebGLDebugShaders", web_gl.DebugShaders); +dart.registerExtension("WEBGL_debug_shaders", web_gl.DebugShaders); +web_gl.DepthTexture = class DepthTexture extends _interceptors.Interceptor {}; +dart.addTypeTests(web_gl.DepthTexture); +dart.addTypeCaches(web_gl.DepthTexture); +dart.setLibraryUri(web_gl.DepthTexture, I[160]); +dart.defineLazy(web_gl.DepthTexture, { + /*web_gl.DepthTexture.UNSIGNED_INT_24_8_WEBGL*/get UNSIGNED_INT_24_8_WEBGL() { + return 34042; + } +}, false); +dart.registerExtension("WebGLDepthTexture", web_gl.DepthTexture); +dart.registerExtension("WEBGL_depth_texture", web_gl.DepthTexture); +web_gl.DrawBuffers = class DrawBuffers extends _interceptors.Interceptor { + [S$4.$drawBuffersWebgl](...args) { + return this.drawBuffersWEBGL.apply(this, args); + } +}; +dart.addTypeTests(web_gl.DrawBuffers); +dart.addTypeCaches(web_gl.DrawBuffers); +dart.setMethodSignature(web_gl.DrawBuffers, () => ({ + __proto__: dart.getMethods(web_gl.DrawBuffers.__proto__), + [S$4.$drawBuffersWebgl]: dart.fnType(dart.void, [core.List$(core.int)]) +})); +dart.setLibraryUri(web_gl.DrawBuffers, I[160]); +dart.registerExtension("WebGLDrawBuffers", web_gl.DrawBuffers); +dart.registerExtension("WEBGL_draw_buffers", web_gl.DrawBuffers); +web_gl.EXTsRgb = class EXTsRgb extends _interceptors.Interceptor {}; +dart.addTypeTests(web_gl.EXTsRgb); +dart.addTypeCaches(web_gl.EXTsRgb); +dart.setLibraryUri(web_gl.EXTsRgb, I[160]); +dart.defineLazy(web_gl.EXTsRgb, { + /*web_gl.EXTsRgb.FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING_EXT*/get FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING_EXT() { + return 33296; + }, + /*web_gl.EXTsRgb.SRGB8_ALPHA8_EXT*/get SRGB8_ALPHA8_EXT() { + return 35907; + }, + /*web_gl.EXTsRgb.SRGB_ALPHA_EXT*/get SRGB_ALPHA_EXT() { + return 35906; + }, + /*web_gl.EXTsRgb.SRGB_EXT*/get SRGB_EXT() { + return 35904; + } +}, false); +dart.registerExtension("EXTsRGB", web_gl.EXTsRgb); +dart.registerExtension("EXT_sRGB", web_gl.EXTsRgb); +web_gl.ExtBlendMinMax = class ExtBlendMinMax extends _interceptors.Interceptor {}; +dart.addTypeTests(web_gl.ExtBlendMinMax); +dart.addTypeCaches(web_gl.ExtBlendMinMax); +dart.setLibraryUri(web_gl.ExtBlendMinMax, I[160]); +dart.defineLazy(web_gl.ExtBlendMinMax, { + /*web_gl.ExtBlendMinMax.MAX_EXT*/get MAX_EXT() { + return 32776; + }, + /*web_gl.ExtBlendMinMax.MIN_EXT*/get MIN_EXT() { + return 32775; + } +}, false); +dart.registerExtension("EXTBlendMinMax", web_gl.ExtBlendMinMax); +dart.registerExtension("EXT_blend_minmax", web_gl.ExtBlendMinMax); +web_gl.ExtColorBufferFloat = class ExtColorBufferFloat extends _interceptors.Interceptor {}; +dart.addTypeTests(web_gl.ExtColorBufferFloat); +dart.addTypeCaches(web_gl.ExtColorBufferFloat); +dart.setLibraryUri(web_gl.ExtColorBufferFloat, I[160]); +dart.registerExtension("EXTColorBufferFloat", web_gl.ExtColorBufferFloat); +web_gl.ExtColorBufferHalfFloat = class ExtColorBufferHalfFloat extends _interceptors.Interceptor {}; +dart.addTypeTests(web_gl.ExtColorBufferHalfFloat); +dart.addTypeCaches(web_gl.ExtColorBufferHalfFloat); +dart.setLibraryUri(web_gl.ExtColorBufferHalfFloat, I[160]); +dart.registerExtension("EXTColorBufferHalfFloat", web_gl.ExtColorBufferHalfFloat); +web_gl.ExtDisjointTimerQuery = class ExtDisjointTimerQuery extends _interceptors.Interceptor { + [S$4.$beginQueryExt](...args) { + return this.beginQueryEXT.apply(this, args); + } + [S$4.$createQueryExt](...args) { + return this.createQueryEXT.apply(this, args); + } + [S$4.$deleteQueryExt](...args) { + return this.deleteQueryEXT.apply(this, args); + } + [S$4.$endQueryExt](...args) { + return this.endQueryEXT.apply(this, args); + } + [S$4.$getQueryExt](...args) { + return this.getQueryEXT.apply(this, args); + } + [S$4.$getQueryObjectExt](...args) { + return this.getQueryObjectEXT.apply(this, args); + } + [S$4.$isQueryExt](...args) { + return this.isQueryEXT.apply(this, args); + } + [S$4.$queryCounterExt](...args) { + return this.queryCounterEXT.apply(this, args); + } +}; +dart.addTypeTests(web_gl.ExtDisjointTimerQuery); +dart.addTypeCaches(web_gl.ExtDisjointTimerQuery); +dart.setMethodSignature(web_gl.ExtDisjointTimerQuery, () => ({ + __proto__: dart.getMethods(web_gl.ExtDisjointTimerQuery.__proto__), + [S$4.$beginQueryExt]: dart.fnType(dart.void, [core.int, web_gl.TimerQueryExt]), + [S$4.$createQueryExt]: dart.fnType(web_gl.TimerQueryExt, []), + [S$4.$deleteQueryExt]: dart.fnType(dart.void, [dart.nullable(web_gl.TimerQueryExt)]), + [S$4.$endQueryExt]: dart.fnType(dart.void, [core.int]), + [S$4.$getQueryExt]: dart.fnType(dart.nullable(core.Object), [core.int, core.int]), + [S$4.$getQueryObjectExt]: dart.fnType(dart.nullable(core.Object), [web_gl.TimerQueryExt, core.int]), + [S$4.$isQueryExt]: dart.fnType(core.bool, [dart.nullable(web_gl.TimerQueryExt)]), + [S$4.$queryCounterExt]: dart.fnType(dart.void, [web_gl.TimerQueryExt, core.int]) +})); +dart.setLibraryUri(web_gl.ExtDisjointTimerQuery, I[160]); +dart.defineLazy(web_gl.ExtDisjointTimerQuery, { + /*web_gl.ExtDisjointTimerQuery.CURRENT_QUERY_EXT*/get CURRENT_QUERY_EXT() { + return 34917; + }, + /*web_gl.ExtDisjointTimerQuery.GPU_DISJOINT_EXT*/get GPU_DISJOINT_EXT() { + return 36795; + }, + /*web_gl.ExtDisjointTimerQuery.QUERY_COUNTER_BITS_EXT*/get QUERY_COUNTER_BITS_EXT() { + return 34916; + }, + /*web_gl.ExtDisjointTimerQuery.QUERY_RESULT_AVAILABLE_EXT*/get QUERY_RESULT_AVAILABLE_EXT() { + return 34919; + }, + /*web_gl.ExtDisjointTimerQuery.QUERY_RESULT_EXT*/get QUERY_RESULT_EXT() { + return 34918; + }, + /*web_gl.ExtDisjointTimerQuery.TIMESTAMP_EXT*/get TIMESTAMP_EXT() { + return 36392; + }, + /*web_gl.ExtDisjointTimerQuery.TIME_ELAPSED_EXT*/get TIME_ELAPSED_EXT() { + return 35007; + } +}, false); +dart.registerExtension("EXTDisjointTimerQuery", web_gl.ExtDisjointTimerQuery); +web_gl.ExtDisjointTimerQueryWebGL2 = class ExtDisjointTimerQueryWebGL2 extends _interceptors.Interceptor { + [S$4.$queryCounterExt](...args) { + return this.queryCounterEXT.apply(this, args); + } +}; +dart.addTypeTests(web_gl.ExtDisjointTimerQueryWebGL2); +dart.addTypeCaches(web_gl.ExtDisjointTimerQueryWebGL2); +dart.setMethodSignature(web_gl.ExtDisjointTimerQueryWebGL2, () => ({ + __proto__: dart.getMethods(web_gl.ExtDisjointTimerQueryWebGL2.__proto__), + [S$4.$queryCounterExt]: dart.fnType(dart.void, [web_gl.Query, core.int]) +})); +dart.setLibraryUri(web_gl.ExtDisjointTimerQueryWebGL2, I[160]); +dart.defineLazy(web_gl.ExtDisjointTimerQueryWebGL2, { + /*web_gl.ExtDisjointTimerQueryWebGL2.GPU_DISJOINT_EXT*/get GPU_DISJOINT_EXT() { + return 36795; + }, + /*web_gl.ExtDisjointTimerQueryWebGL2.QUERY_COUNTER_BITS_EXT*/get QUERY_COUNTER_BITS_EXT() { + return 34916; + }, + /*web_gl.ExtDisjointTimerQueryWebGL2.TIMESTAMP_EXT*/get TIMESTAMP_EXT() { + return 36392; + }, + /*web_gl.ExtDisjointTimerQueryWebGL2.TIME_ELAPSED_EXT*/get TIME_ELAPSED_EXT() { + return 35007; + } +}, false); +dart.registerExtension("EXTDisjointTimerQueryWebGL2", web_gl.ExtDisjointTimerQueryWebGL2); +web_gl.ExtFragDepth = class ExtFragDepth extends _interceptors.Interceptor {}; +dart.addTypeTests(web_gl.ExtFragDepth); +dart.addTypeCaches(web_gl.ExtFragDepth); +dart.setLibraryUri(web_gl.ExtFragDepth, I[160]); +dart.registerExtension("EXTFragDepth", web_gl.ExtFragDepth); +dart.registerExtension("EXT_frag_depth", web_gl.ExtFragDepth); +web_gl.ExtShaderTextureLod = class ExtShaderTextureLod extends _interceptors.Interceptor {}; +dart.addTypeTests(web_gl.ExtShaderTextureLod); +dart.addTypeCaches(web_gl.ExtShaderTextureLod); +dart.setLibraryUri(web_gl.ExtShaderTextureLod, I[160]); +dart.registerExtension("EXTShaderTextureLOD", web_gl.ExtShaderTextureLod); +dart.registerExtension("EXT_shader_texture_lod", web_gl.ExtShaderTextureLod); +web_gl.ExtTextureFilterAnisotropic = class ExtTextureFilterAnisotropic extends _interceptors.Interceptor {}; +dart.addTypeTests(web_gl.ExtTextureFilterAnisotropic); +dart.addTypeCaches(web_gl.ExtTextureFilterAnisotropic); +dart.setLibraryUri(web_gl.ExtTextureFilterAnisotropic, I[160]); +dart.defineLazy(web_gl.ExtTextureFilterAnisotropic, { + /*web_gl.ExtTextureFilterAnisotropic.MAX_TEXTURE_MAX_ANISOTROPY_EXT*/get MAX_TEXTURE_MAX_ANISOTROPY_EXT() { + return 34047; + }, + /*web_gl.ExtTextureFilterAnisotropic.TEXTURE_MAX_ANISOTROPY_EXT*/get TEXTURE_MAX_ANISOTROPY_EXT() { + return 34046; + } +}, false); +dart.registerExtension("EXTTextureFilterAnisotropic", web_gl.ExtTextureFilterAnisotropic); +dart.registerExtension("EXT_texture_filter_anisotropic", web_gl.ExtTextureFilterAnisotropic); +web_gl.Framebuffer = class Framebuffer extends _interceptors.Interceptor {}; +dart.addTypeTests(web_gl.Framebuffer); +dart.addTypeCaches(web_gl.Framebuffer); +dart.setLibraryUri(web_gl.Framebuffer, I[160]); +dart.registerExtension("WebGLFramebuffer", web_gl.Framebuffer); +web_gl.GetBufferSubDataAsync = class GetBufferSubDataAsync extends _interceptors.Interceptor { + [S$4.$getBufferSubDataAsync](target, srcByteOffset, dstData, dstOffset = null, length = null) { + if (target == null) dart.nullFailed(I[161], 559, 36, "target"); + if (srcByteOffset == null) dart.nullFailed(I[161], 559, 48, "srcByteOffset"); + if (dstData == null) dart.nullFailed(I[161], 559, 73, "dstData"); + return js_util.promiseToFuture(dart.dynamic, this.getBufferSubDataAsync(target, srcByteOffset, dstData, dstOffset, length)); + } +}; +dart.addTypeTests(web_gl.GetBufferSubDataAsync); +dart.addTypeCaches(web_gl.GetBufferSubDataAsync); +dart.setMethodSignature(web_gl.GetBufferSubDataAsync, () => ({ + __proto__: dart.getMethods(web_gl.GetBufferSubDataAsync.__proto__), + [S$4.$getBufferSubDataAsync]: dart.fnType(async.Future, [core.int, core.int, typed_data.TypedData], [dart.nullable(core.int), dart.nullable(core.int)]) +})); +dart.setLibraryUri(web_gl.GetBufferSubDataAsync, I[160]); +dart.registerExtension("WebGLGetBufferSubDataAsync", web_gl.GetBufferSubDataAsync); +web_gl.LoseContext = class LoseContext extends _interceptors.Interceptor { + [S$4.$loseContext](...args) { + return this.loseContext.apply(this, args); + } + [S$4.$restoreContext](...args) { + return this.restoreContext.apply(this, args); + } +}; +dart.addTypeTests(web_gl.LoseContext); +dart.addTypeCaches(web_gl.LoseContext); +dart.setMethodSignature(web_gl.LoseContext, () => ({ + __proto__: dart.getMethods(web_gl.LoseContext.__proto__), + [S$4.$loseContext]: dart.fnType(dart.void, []), + [S$4.$restoreContext]: dart.fnType(dart.void, []) +})); +dart.setLibraryUri(web_gl.LoseContext, I[160]); +dart.registerExtension("WebGLLoseContext", web_gl.LoseContext); +dart.registerExtension("WebGLExtensionLoseContext", web_gl.LoseContext); +dart.registerExtension("WEBGL_lose_context", web_gl.LoseContext); +web_gl.OesElementIndexUint = class OesElementIndexUint extends _interceptors.Interceptor {}; +dart.addTypeTests(web_gl.OesElementIndexUint); +dart.addTypeCaches(web_gl.OesElementIndexUint); +dart.setLibraryUri(web_gl.OesElementIndexUint, I[160]); +dart.registerExtension("OESElementIndexUint", web_gl.OesElementIndexUint); +dart.registerExtension("OES_element_index_uint", web_gl.OesElementIndexUint); +web_gl.OesStandardDerivatives = class OesStandardDerivatives extends _interceptors.Interceptor {}; +dart.addTypeTests(web_gl.OesStandardDerivatives); +dart.addTypeCaches(web_gl.OesStandardDerivatives); +dart.setLibraryUri(web_gl.OesStandardDerivatives, I[160]); +dart.defineLazy(web_gl.OesStandardDerivatives, { + /*web_gl.OesStandardDerivatives.FRAGMENT_SHADER_DERIVATIVE_HINT_OES*/get FRAGMENT_SHADER_DERIVATIVE_HINT_OES() { + return 35723; + } +}, false); +dart.registerExtension("OESStandardDerivatives", web_gl.OesStandardDerivatives); +dart.registerExtension("OES_standard_derivatives", web_gl.OesStandardDerivatives); +web_gl.OesTextureFloat = class OesTextureFloat extends _interceptors.Interceptor {}; +dart.addTypeTests(web_gl.OesTextureFloat); +dart.addTypeCaches(web_gl.OesTextureFloat); +dart.setLibraryUri(web_gl.OesTextureFloat, I[160]); +dart.registerExtension("OESTextureFloat", web_gl.OesTextureFloat); +dart.registerExtension("OES_texture_float", web_gl.OesTextureFloat); +web_gl.OesTextureFloatLinear = class OesTextureFloatLinear extends _interceptors.Interceptor {}; +dart.addTypeTests(web_gl.OesTextureFloatLinear); +dart.addTypeCaches(web_gl.OesTextureFloatLinear); +dart.setLibraryUri(web_gl.OesTextureFloatLinear, I[160]); +dart.registerExtension("OESTextureFloatLinear", web_gl.OesTextureFloatLinear); +dart.registerExtension("OES_texture_float_linear", web_gl.OesTextureFloatLinear); +web_gl.OesTextureHalfFloat = class OesTextureHalfFloat extends _interceptors.Interceptor {}; +dart.addTypeTests(web_gl.OesTextureHalfFloat); +dart.addTypeCaches(web_gl.OesTextureHalfFloat); +dart.setLibraryUri(web_gl.OesTextureHalfFloat, I[160]); +dart.defineLazy(web_gl.OesTextureHalfFloat, { + /*web_gl.OesTextureHalfFloat.HALF_FLOAT_OES*/get HALF_FLOAT_OES() { + return 36193; + } +}, false); +dart.registerExtension("OESTextureHalfFloat", web_gl.OesTextureHalfFloat); +dart.registerExtension("OES_texture_half_float", web_gl.OesTextureHalfFloat); +web_gl.OesTextureHalfFloatLinear = class OesTextureHalfFloatLinear extends _interceptors.Interceptor {}; +dart.addTypeTests(web_gl.OesTextureHalfFloatLinear); +dart.addTypeCaches(web_gl.OesTextureHalfFloatLinear); +dart.setLibraryUri(web_gl.OesTextureHalfFloatLinear, I[160]); +dart.registerExtension("OESTextureHalfFloatLinear", web_gl.OesTextureHalfFloatLinear); +dart.registerExtension("OES_texture_half_float_linear", web_gl.OesTextureHalfFloatLinear); +web_gl.OesVertexArrayObject = class OesVertexArrayObject extends _interceptors.Interceptor { + [S$4.$bindVertexArray](...args) { + return this.bindVertexArrayOES.apply(this, args); + } + [S$4.$createVertexArray](...args) { + return this.createVertexArrayOES.apply(this, args); + } + [S$4.$deleteVertexArray](...args) { + return this.deleteVertexArrayOES.apply(this, args); + } + [S$4.$isVertexArray](...args) { + return this.isVertexArrayOES.apply(this, args); + } +}; +dart.addTypeTests(web_gl.OesVertexArrayObject); +dart.addTypeCaches(web_gl.OesVertexArrayObject); +dart.setMethodSignature(web_gl.OesVertexArrayObject, () => ({ + __proto__: dart.getMethods(web_gl.OesVertexArrayObject.__proto__), + [S$4.$bindVertexArray]: dart.fnType(dart.void, [dart.nullable(web_gl.VertexArrayObjectOes)]), + [S$4.$createVertexArray]: dart.fnType(web_gl.VertexArrayObjectOes, []), + [S$4.$deleteVertexArray]: dart.fnType(dart.void, [dart.nullable(web_gl.VertexArrayObjectOes)]), + [S$4.$isVertexArray]: dart.fnType(core.bool, [dart.nullable(web_gl.VertexArrayObjectOes)]) +})); +dart.setLibraryUri(web_gl.OesVertexArrayObject, I[160]); +dart.defineLazy(web_gl.OesVertexArrayObject, { + /*web_gl.OesVertexArrayObject.VERTEX_ARRAY_BINDING_OES*/get VERTEX_ARRAY_BINDING_OES() { + return 34229; + } +}, false); +dart.registerExtension("OESVertexArrayObject", web_gl.OesVertexArrayObject); +dart.registerExtension("OES_vertex_array_object", web_gl.OesVertexArrayObject); +web_gl.Program = class Program extends _interceptors.Interceptor {}; +dart.addTypeTests(web_gl.Program); +dart.addTypeCaches(web_gl.Program); +dart.setLibraryUri(web_gl.Program, I[160]); +dart.registerExtension("WebGLProgram", web_gl.Program); +web_gl.Query = class Query extends _interceptors.Interceptor {}; +dart.addTypeTests(web_gl.Query); +dart.addTypeCaches(web_gl.Query); +dart.setLibraryUri(web_gl.Query, I[160]); +dart.registerExtension("WebGLQuery", web_gl.Query); +web_gl.Renderbuffer = class Renderbuffer extends _interceptors.Interceptor {}; +dart.addTypeTests(web_gl.Renderbuffer); +dart.addTypeCaches(web_gl.Renderbuffer); +dart.setLibraryUri(web_gl.Renderbuffer, I[160]); +dart.registerExtension("WebGLRenderbuffer", web_gl.Renderbuffer); +web_gl.RenderingContext = class RenderingContext extends _interceptors.Interceptor { + static get supported() { + return !!window.WebGLRenderingContext; + } + get [S$.$canvas]() { + return this.canvas; + } + get [S$4.$drawingBufferHeight]() { + return this.drawingBufferHeight; + } + get [S$4.$drawingBufferWidth]() { + return this.drawingBufferWidth; + } + [S$4.$activeTexture](...args) { + return this.activeTexture.apply(this, args); + } + [S$4.$attachShader](...args) { + return this.attachShader.apply(this, args); + } + [S$4.$bindAttribLocation](...args) { + return this.bindAttribLocation.apply(this, args); + } + [S$4.$bindBuffer](...args) { + return this.bindBuffer.apply(this, args); + } + [S$4.$bindFramebuffer](...args) { + return this.bindFramebuffer.apply(this, args); + } + [S$4.$bindRenderbuffer](...args) { + return this.bindRenderbuffer.apply(this, args); + } + [S$4.$bindTexture](...args) { + return this.bindTexture.apply(this, args); + } + [S$4.$blendColor](...args) { + return this.blendColor.apply(this, args); + } + [S$4.$blendEquation](...args) { + return this.blendEquation.apply(this, args); + } + [S$4.$blendEquationSeparate](...args) { + return this.blendEquationSeparate.apply(this, args); + } + [S$4.$blendFunc](...args) { + return this.blendFunc.apply(this, args); + } + [S$4.$blendFuncSeparate](...args) { + return this.blendFuncSeparate.apply(this, args); + } + [S$4.$bufferData](...args) { + return this.bufferData.apply(this, args); + } + [S$4.$bufferSubData](...args) { + return this.bufferSubData.apply(this, args); + } + [S$4.$checkFramebufferStatus](...args) { + return this.checkFramebufferStatus.apply(this, args); + } + [$clear](...args) { + return this.clear.apply(this, args); + } + [S$4.$clearColor](...args) { + return this.clearColor.apply(this, args); + } + [S$4.$clearDepth](...args) { + return this.clearDepth.apply(this, args); + } + [S$4.$clearStencil](...args) { + return this.clearStencil.apply(this, args); + } + [S$4.$colorMask](...args) { + return this.colorMask.apply(this, args); + } + [S$2.$commit]() { + return js_util.promiseToFuture(dart.dynamic, this.commit()); + } + [S$4.$compileShader](...args) { + return this.compileShader.apply(this, args); + } + [S$4.$compressedTexImage2D](...args) { + return this.compressedTexImage2D.apply(this, args); + } + [S$4.$compressedTexSubImage2D](...args) { + return this.compressedTexSubImage2D.apply(this, args); + } + [S$4.$copyTexImage2D](...args) { + return this.copyTexImage2D.apply(this, args); + } + [S$4.$copyTexSubImage2D](...args) { + return this.copyTexSubImage2D.apply(this, args); + } + [S$3.$createBuffer](...args) { + return this.createBuffer.apply(this, args); + } + [S$4.$createFramebuffer](...args) { + return this.createFramebuffer.apply(this, args); + } + [S$4.$createProgram](...args) { + return this.createProgram.apply(this, args); + } + [S$4.$createRenderbuffer](...args) { + return this.createRenderbuffer.apply(this, args); + } + [S$4.$createShader](...args) { + return this.createShader.apply(this, args); + } + [S$4.$createTexture](...args) { + return this.createTexture.apply(this, args); + } + [S$4.$cullFace](...args) { + return this.cullFace.apply(this, args); + } + [S$4.$deleteBuffer](...args) { + return this.deleteBuffer.apply(this, args); + } + [S$4.$deleteFramebuffer](...args) { + return this.deleteFramebuffer.apply(this, args); + } + [S$4.$deleteProgram](...args) { + return this.deleteProgram.apply(this, args); + } + [S$4.$deleteRenderbuffer](...args) { + return this.deleteRenderbuffer.apply(this, args); + } + [S$4.$deleteShader](...args) { + return this.deleteShader.apply(this, args); + } + [S$4.$deleteTexture](...args) { + return this.deleteTexture.apply(this, args); + } + [S$4.$depthFunc](...args) { + return this.depthFunc.apply(this, args); + } + [S$4.$depthMask](...args) { + return this.depthMask.apply(this, args); + } + [S$4.$depthRange](...args) { + return this.depthRange.apply(this, args); + } + [S$4.$detachShader](...args) { + return this.detachShader.apply(this, args); + } + [S$1.$disable](...args) { + return this.disable.apply(this, args); + } + [S$4.$disableVertexAttribArray](...args) { + return this.disableVertexAttribArray.apply(this, args); + } + [S$4.$drawArrays](...args) { + return this.drawArrays.apply(this, args); + } + [S$4.$drawElements](...args) { + return this.drawElements.apply(this, args); + } + [S$1.$enable](...args) { + return this.enable.apply(this, args); + } + [S$4.$enableVertexAttribArray](...args) { + return this.enableVertexAttribArray.apply(this, args); + } + [S$.$finish](...args) { + return this.finish.apply(this, args); + } + [S$4.$flush](...args) { + return this.flush.apply(this, args); + } + [S$4.$framebufferRenderbuffer](...args) { + return this.framebufferRenderbuffer.apply(this, args); + } + [S$4.$framebufferTexture2D](...args) { + return this.framebufferTexture2D.apply(this, args); + } + [S$4.$frontFace](...args) { + return this.frontFace.apply(this, args); + } + [S$4.$generateMipmap](...args) { + return this.generateMipmap.apply(this, args); + } + [S$4.$getActiveAttrib](...args) { + return this.getActiveAttrib.apply(this, args); + } + [S$4.$getActiveUniform](...args) { + return this.getActiveUniform.apply(this, args); + } + [S$4.$getAttachedShaders](...args) { + return this.getAttachedShaders.apply(this, args); + } + [S$4.$getAttribLocation](...args) { + return this.getAttribLocation.apply(this, args); + } + [S$4.$getBufferParameter](...args) { + return this.getBufferParameter.apply(this, args); + } + [S$.$getContextAttributes]() { + return html_common.convertNativeToDart_Dictionary(this[S$4._getContextAttributes_1$1]()); + } + [S$4._getContextAttributes_1$1](...args) { + return this.getContextAttributes.apply(this, args); + } + [S$4.$getError](...args) { + return this.getError.apply(this, args); + } + [S$4.$getExtension](...args) { + return this.getExtension.apply(this, args); + } + [S$4.$getFramebufferAttachmentParameter](...args) { + return this.getFramebufferAttachmentParameter.apply(this, args); + } + [S$3.$getParameter](...args) { + return this.getParameter.apply(this, args); + } + [S$4.$getProgramInfoLog](...args) { + return this.getProgramInfoLog.apply(this, args); + } + [S$4.$getProgramParameter](...args) { + return this.getProgramParameter.apply(this, args); + } + [S$4.$getRenderbufferParameter](...args) { + return this.getRenderbufferParameter.apply(this, args); + } + [S$4.$getShaderInfoLog](...args) { + return this.getShaderInfoLog.apply(this, args); + } + [S$4.$getShaderParameter](...args) { + return this.getShaderParameter.apply(this, args); + } + [S$4.$getShaderPrecisionFormat](...args) { + return this.getShaderPrecisionFormat.apply(this, args); + } + [S$4.$getShaderSource](...args) { + return this.getShaderSource.apply(this, args); + } + [S$4.$getSupportedExtensions](...args) { + return this.getSupportedExtensions.apply(this, args); + } + [S$4.$getTexParameter](...args) { + return this.getTexParameter.apply(this, args); + } + [S$4.$getUniform](...args) { + return this.getUniform.apply(this, args); + } + [S$4.$getUniformLocation](...args) { + return this.getUniformLocation.apply(this, args); + } + [S$4.$getVertexAttrib](...args) { + return this.getVertexAttrib.apply(this, args); + } + [S$4.$getVertexAttribOffset](...args) { + return this.getVertexAttribOffset.apply(this, args); + } + [S$4.$hint](...args) { + return this.hint.apply(this, args); + } + [S$4.$isBuffer](...args) { + return this.isBuffer.apply(this, args); + } + [S$.$isContextLost](...args) { + return this.isContextLost.apply(this, args); + } + [S$4.$isEnabled](...args) { + return this.isEnabled.apply(this, args); + } + [S$4.$isFramebuffer](...args) { + return this.isFramebuffer.apply(this, args); + } + [S$4.$isProgram](...args) { + return this.isProgram.apply(this, args); + } + [S$4.$isRenderbuffer](...args) { + return this.isRenderbuffer.apply(this, args); + } + [S$4.$isShader](...args) { + return this.isShader.apply(this, args); + } + [S$4.$isTexture](...args) { + return this.isTexture.apply(this, args); + } + [S$.$lineWidth](...args) { + return this.lineWidth.apply(this, args); + } + [S$4.$linkProgram](...args) { + return this.linkProgram.apply(this, args); + } + [S$4.$pixelStorei](...args) { + return this.pixelStorei.apply(this, args); + } + [S$4.$polygonOffset](...args) { + return this.polygonOffset.apply(this, args); + } + [S$4._readPixels](...args) { + return this.readPixels.apply(this, args); + } + [S$4.$renderbufferStorage](...args) { + return this.renderbufferStorage.apply(this, args); + } + [S$4.$sampleCoverage](...args) { + return this.sampleCoverage.apply(this, args); + } + [S$4.$scissor](...args) { + return this.scissor.apply(this, args); + } + [S$4.$shaderSource](...args) { + return this.shaderSource.apply(this, args); + } + [S$4.$stencilFunc](...args) { + return this.stencilFunc.apply(this, args); + } + [S$4.$stencilFuncSeparate](...args) { + return this.stencilFuncSeparate.apply(this, args); + } + [S$4.$stencilMask](...args) { + return this.stencilMask.apply(this, args); + } + [S$4.$stencilMaskSeparate](...args) { + return this.stencilMaskSeparate.apply(this, args); + } + [S$4.$stencilOp](...args) { + return this.stencilOp.apply(this, args); + } + [S$4.$stencilOpSeparate](...args) { + return this.stencilOpSeparate.apply(this, args); + } + [S$4.$texImage2D](target, level, internalformat, format_OR_width, height_OR_type, bitmap_OR_border_OR_canvas_OR_image_OR_pixels_OR_video, format = null, type = null, pixels = null) { + if (target == null) dart.nullFailed(I[161], 980, 11, "target"); + if (level == null) dart.nullFailed(I[161], 981, 11, "level"); + if (internalformat == null) dart.nullFailed(I[161], 982, 11, "internalformat"); + if (format_OR_width == null) dart.nullFailed(I[161], 983, 11, "format_OR_width"); + if (height_OR_type == null) dart.nullFailed(I[161], 984, 11, "height_OR_type"); + if (type != null && format != null && core.int.is(bitmap_OR_border_OR_canvas_OR_image_OR_pixels_OR_video)) { + this[S$4._texImage2D_1](target, level, internalformat, format_OR_width, height_OR_type, bitmap_OR_border_OR_canvas_OR_image_OR_pixels_OR_video, format, type, pixels); + return; + } + if (html$.ImageData.is(bitmap_OR_border_OR_canvas_OR_image_OR_pixels_OR_video) && format == null && type == null && pixels == null) { + let pixels_1 = html_common.convertDartToNative_ImageData(bitmap_OR_border_OR_canvas_OR_image_OR_pixels_OR_video); + this[S$4._texImage2D_2](target, level, internalformat, format_OR_width, height_OR_type, pixels_1); + return; + } + if (html$.ImageElement.is(bitmap_OR_border_OR_canvas_OR_image_OR_pixels_OR_video) && format == null && type == null && pixels == null) { + this[S$4._texImage2D_3](target, level, internalformat, format_OR_width, height_OR_type, bitmap_OR_border_OR_canvas_OR_image_OR_pixels_OR_video); + return; + } + if (html$.CanvasElement.is(bitmap_OR_border_OR_canvas_OR_image_OR_pixels_OR_video) && format == null && type == null && pixels == null) { + this[S$4._texImage2D_4](target, level, internalformat, format_OR_width, height_OR_type, bitmap_OR_border_OR_canvas_OR_image_OR_pixels_OR_video); + return; + } + if (html$.VideoElement.is(bitmap_OR_border_OR_canvas_OR_image_OR_pixels_OR_video) && format == null && type == null && pixels == null) { + this[S$4._texImage2D_5](target, level, internalformat, format_OR_width, height_OR_type, bitmap_OR_border_OR_canvas_OR_image_OR_pixels_OR_video); + return; + } + if (html$.ImageBitmap.is(bitmap_OR_border_OR_canvas_OR_image_OR_pixels_OR_video) && format == null && type == null && pixels == null) { + this[S$4._texImage2D_6](target, level, internalformat, format_OR_width, height_OR_type, bitmap_OR_border_OR_canvas_OR_image_OR_pixels_OR_video); + return; + } + dart.throw(new core.ArgumentError.new("Incorrect number or type of arguments")); + } + [S$4._texImage2D_1](...args) { + return this.texImage2D.apply(this, args); + } + [S$4._texImage2D_2](...args) { + return this.texImage2D.apply(this, args); + } + [S$4._texImage2D_3](...args) { + return this.texImage2D.apply(this, args); + } + [S$4._texImage2D_4](...args) { + return this.texImage2D.apply(this, args); + } + [S$4._texImage2D_5](...args) { + return this.texImage2D.apply(this, args); + } + [S$4._texImage2D_6](...args) { + return this.texImage2D.apply(this, args); + } + [S$4.$texParameterf](...args) { + return this.texParameterf.apply(this, args); + } + [S$4.$texParameteri](...args) { + return this.texParameteri.apply(this, args); + } + [S$4.$texSubImage2D](target, level, xoffset, yoffset, format_OR_width, height_OR_type, bitmap_OR_canvas_OR_format_OR_image_OR_pixels_OR_video, type = null, pixels = null) { + if (target == null) dart.nullFailed(I[161], 1097, 11, "target"); + if (level == null) dart.nullFailed(I[161], 1098, 11, "level"); + if (xoffset == null) dart.nullFailed(I[161], 1099, 11, "xoffset"); + if (yoffset == null) dart.nullFailed(I[161], 1100, 11, "yoffset"); + if (format_OR_width == null) dart.nullFailed(I[161], 1101, 11, "format_OR_width"); + if (height_OR_type == null) dart.nullFailed(I[161], 1102, 11, "height_OR_type"); + if (type != null && core.int.is(bitmap_OR_canvas_OR_format_OR_image_OR_pixels_OR_video)) { + this[S$4._texSubImage2D_1](target, level, xoffset, yoffset, format_OR_width, height_OR_type, bitmap_OR_canvas_OR_format_OR_image_OR_pixels_OR_video, type, pixels); + return; + } + if (html$.ImageData.is(bitmap_OR_canvas_OR_format_OR_image_OR_pixels_OR_video) && type == null && pixels == null) { + let pixels_1 = html_common.convertDartToNative_ImageData(bitmap_OR_canvas_OR_format_OR_image_OR_pixels_OR_video); + this[S$4._texSubImage2D_2](target, level, xoffset, yoffset, format_OR_width, height_OR_type, pixels_1); + return; + } + if (html$.ImageElement.is(bitmap_OR_canvas_OR_format_OR_image_OR_pixels_OR_video) && type == null && pixels == null) { + this[S$4._texSubImage2D_3](target, level, xoffset, yoffset, format_OR_width, height_OR_type, bitmap_OR_canvas_OR_format_OR_image_OR_pixels_OR_video); + return; + } + if (html$.CanvasElement.is(bitmap_OR_canvas_OR_format_OR_image_OR_pixels_OR_video) && type == null && pixels == null) { + this[S$4._texSubImage2D_4](target, level, xoffset, yoffset, format_OR_width, height_OR_type, bitmap_OR_canvas_OR_format_OR_image_OR_pixels_OR_video); + return; + } + if (html$.VideoElement.is(bitmap_OR_canvas_OR_format_OR_image_OR_pixels_OR_video) && type == null && pixels == null) { + this[S$4._texSubImage2D_5](target, level, xoffset, yoffset, format_OR_width, height_OR_type, bitmap_OR_canvas_OR_format_OR_image_OR_pixels_OR_video); + return; + } + if (html$.ImageBitmap.is(bitmap_OR_canvas_OR_format_OR_image_OR_pixels_OR_video) && type == null && pixels == null) { + this[S$4._texSubImage2D_6](target, level, xoffset, yoffset, format_OR_width, height_OR_type, bitmap_OR_canvas_OR_format_OR_image_OR_pixels_OR_video); + return; + } + dart.throw(new core.ArgumentError.new("Incorrect number or type of arguments")); + } + [S$4._texSubImage2D_1](...args) { + return this.texSubImage2D.apply(this, args); + } + [S$4._texSubImage2D_2](...args) { + return this.texSubImage2D.apply(this, args); + } + [S$4._texSubImage2D_3](...args) { + return this.texSubImage2D.apply(this, args); + } + [S$4._texSubImage2D_4](...args) { + return this.texSubImage2D.apply(this, args); + } + [S$4._texSubImage2D_5](...args) { + return this.texSubImage2D.apply(this, args); + } + [S$4._texSubImage2D_6](...args) { + return this.texSubImage2D.apply(this, args); + } + [S$4.$uniform1f](...args) { + return this.uniform1f.apply(this, args); + } + [S$4.$uniform1fv](...args) { + return this.uniform1fv.apply(this, args); + } + [S$4.$uniform1i](...args) { + return this.uniform1i.apply(this, args); + } + [S$4.$uniform1iv](...args) { + return this.uniform1iv.apply(this, args); + } + [S$4.$uniform2f](...args) { + return this.uniform2f.apply(this, args); + } + [S$4.$uniform2fv](...args) { + return this.uniform2fv.apply(this, args); + } + [S$4.$uniform2i](...args) { + return this.uniform2i.apply(this, args); + } + [S$4.$uniform2iv](...args) { + return this.uniform2iv.apply(this, args); + } + [S$4.$uniform3f](...args) { + return this.uniform3f.apply(this, args); + } + [S$4.$uniform3fv](...args) { + return this.uniform3fv.apply(this, args); + } + [S$4.$uniform3i](...args) { + return this.uniform3i.apply(this, args); + } + [S$4.$uniform3iv](...args) { + return this.uniform3iv.apply(this, args); + } + [S$4.$uniform4f](...args) { + return this.uniform4f.apply(this, args); + } + [S$4.$uniform4fv](...args) { + return this.uniform4fv.apply(this, args); + } + [S$4.$uniform4i](...args) { + return this.uniform4i.apply(this, args); + } + [S$4.$uniform4iv](...args) { + return this.uniform4iv.apply(this, args); + } + [S$4.$uniformMatrix2fv](...args) { + return this.uniformMatrix2fv.apply(this, args); + } + [S$4.$uniformMatrix3fv](...args) { + return this.uniformMatrix3fv.apply(this, args); + } + [S$4.$uniformMatrix4fv](...args) { + return this.uniformMatrix4fv.apply(this, args); + } + [S$4.$useProgram](...args) { + return this.useProgram.apply(this, args); + } + [S$4.$validateProgram](...args) { + return this.validateProgram.apply(this, args); + } + [S$4.$vertexAttrib1f](...args) { + return this.vertexAttrib1f.apply(this, args); + } + [S$4.$vertexAttrib1fv](...args) { + return this.vertexAttrib1fv.apply(this, args); + } + [S$4.$vertexAttrib2f](...args) { + return this.vertexAttrib2f.apply(this, args); + } + [S$4.$vertexAttrib2fv](...args) { + return this.vertexAttrib2fv.apply(this, args); + } + [S$4.$vertexAttrib3f](...args) { + return this.vertexAttrib3f.apply(this, args); + } + [S$4.$vertexAttrib3fv](...args) { + return this.vertexAttrib3fv.apply(this, args); + } + [S$4.$vertexAttrib4f](...args) { + return this.vertexAttrib4f.apply(this, args); + } + [S$4.$vertexAttrib4fv](...args) { + return this.vertexAttrib4fv.apply(this, args); + } + [S$4.$vertexAttribPointer](...args) { + return this.vertexAttribPointer.apply(this, args); + } + [S$4.$viewport](...args) { + return this.viewport.apply(this, args); + } + [S$4.$readPixels](x, y, width, height, format, type, pixels) { + if (x == null) dart.nullFailed(I[161], 1273, 23, "x"); + if (y == null) dart.nullFailed(I[161], 1273, 30, "y"); + if (width == null) dart.nullFailed(I[161], 1273, 37, "width"); + if (height == null) dart.nullFailed(I[161], 1273, 48, "height"); + if (format == null) dart.nullFailed(I[161], 1273, 60, "format"); + if (type == null) dart.nullFailed(I[161], 1273, 72, "type"); + this[S$4._readPixels](x, y, width, height, format, type, pixels); + } + [S$4.$texImage2DUntyped](targetTexture, levelOfDetail, internalFormat, format, type, data) { + if (targetTexture == null) dart.nullFailed(I[161], 1287, 30, "targetTexture"); + if (levelOfDetail == null) dart.nullFailed(I[161], 1287, 49, "levelOfDetail"); + if (internalFormat == null) dart.nullFailed(I[161], 1288, 11, "internalFormat"); + if (format == null) dart.nullFailed(I[161], 1288, 31, "format"); + if (type == null) dart.nullFailed(I[161], 1288, 43, "type"); + this[S$4.$texImage2D](targetTexture, levelOfDetail, internalFormat, format, type, data); + } + [S$4.$texImage2DTyped](targetTexture, levelOfDetail, internalFormat, width, height, border, format, type, data) { + if (targetTexture == null) dart.nullFailed(I[161], 1299, 28, "targetTexture"); + if (levelOfDetail == null) dart.nullFailed(I[161], 1299, 47, "levelOfDetail"); + if (internalFormat == null) dart.nullFailed(I[161], 1299, 66, "internalFormat"); + if (width == null) dart.nullFailed(I[161], 1300, 11, "width"); + if (height == null) dart.nullFailed(I[161], 1300, 22, "height"); + if (border == null) dart.nullFailed(I[161], 1300, 34, "border"); + if (format == null) dart.nullFailed(I[161], 1300, 46, "format"); + if (type == null) dart.nullFailed(I[161], 1300, 58, "type"); + if (data == null) dart.nullFailed(I[161], 1300, 74, "data"); + this[S$4.$texImage2D](targetTexture, levelOfDetail, internalFormat, width, height, border, format, type, data); + } + [S$4.$texSubImage2DUntyped](targetTexture, levelOfDetail, xOffset, yOffset, format, type, data) { + if (targetTexture == null) dart.nullFailed(I[161], 1313, 33, "targetTexture"); + if (levelOfDetail == null) dart.nullFailed(I[161], 1313, 52, "levelOfDetail"); + if (xOffset == null) dart.nullFailed(I[161], 1313, 71, "xOffset"); + if (yOffset == null) dart.nullFailed(I[161], 1314, 11, "yOffset"); + if (format == null) dart.nullFailed(I[161], 1314, 24, "format"); + if (type == null) dart.nullFailed(I[161], 1314, 36, "type"); + this[S$4.$texSubImage2D](targetTexture, levelOfDetail, xOffset, yOffset, format, type, data); + } + [S$4.$texSubImage2DTyped](targetTexture, levelOfDetail, xOffset, yOffset, width, height, border, format, type, data) { + if (targetTexture == null) dart.nullFailed(I[161], 1324, 11, "targetTexture"); + if (levelOfDetail == null) dart.nullFailed(I[161], 1325, 11, "levelOfDetail"); + if (xOffset == null) dart.nullFailed(I[161], 1326, 11, "xOffset"); + if (yOffset == null) dart.nullFailed(I[161], 1327, 11, "yOffset"); + if (width == null) dart.nullFailed(I[161], 1328, 11, "width"); + if (height == null) dart.nullFailed(I[161], 1329, 11, "height"); + if (border == null) dart.nullFailed(I[161], 1330, 11, "border"); + if (format == null) dart.nullFailed(I[161], 1331, 11, "format"); + if (type == null) dart.nullFailed(I[161], 1332, 11, "type"); + if (data == null) dart.nullFailed(I[161], 1333, 17, "data"); + this[S$4.$texSubImage2D](targetTexture, levelOfDetail, xOffset, yOffset, width, height, format, type, data); + } + [S$4.$bufferDataTyped](target, data, usage) { + if (target == null) dart.nullFailed(I[161], 1342, 28, "target"); + if (data == null) dart.nullFailed(I[161], 1342, 46, "data"); + if (usage == null) dart.nullFailed(I[161], 1342, 56, "usage"); + this.bufferData(target, data, usage); + } + [S$4.$bufferSubDataTyped](target, offset, data) { + if (target == null) dart.nullFailed(I[161], 1350, 31, "target"); + if (offset == null) dart.nullFailed(I[161], 1350, 43, "offset"); + if (data == null) dart.nullFailed(I[161], 1350, 61, "data"); + this.bufferSubData(target, offset, data); + } +}; +dart.addTypeTests(web_gl.RenderingContext); +dart.addTypeCaches(web_gl.RenderingContext); +web_gl.RenderingContext[dart.implements] = () => [html$.CanvasRenderingContext]; +dart.setMethodSignature(web_gl.RenderingContext, () => ({ + __proto__: dart.getMethods(web_gl.RenderingContext.__proto__), + [S$4.$activeTexture]: dart.fnType(dart.void, [core.int]), + [S$4.$attachShader]: dart.fnType(dart.void, [web_gl.Program, web_gl.Shader]), + [S$4.$bindAttribLocation]: dart.fnType(dart.void, [web_gl.Program, core.int, core.String]), + [S$4.$bindBuffer]: dart.fnType(dart.void, [core.int, dart.nullable(web_gl.Buffer)]), + [S$4.$bindFramebuffer]: dart.fnType(dart.void, [core.int, dart.nullable(web_gl.Framebuffer)]), + [S$4.$bindRenderbuffer]: dart.fnType(dart.void, [core.int, dart.nullable(web_gl.Renderbuffer)]), + [S$4.$bindTexture]: dart.fnType(dart.void, [core.int, dart.nullable(web_gl.Texture)]), + [S$4.$blendColor]: dart.fnType(dart.void, [core.num, core.num, core.num, core.num]), + [S$4.$blendEquation]: dart.fnType(dart.void, [core.int]), + [S$4.$blendEquationSeparate]: dart.fnType(dart.void, [core.int, core.int]), + [S$4.$blendFunc]: dart.fnType(dart.void, [core.int, core.int]), + [S$4.$blendFuncSeparate]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int]), + [S$4.$bufferData]: dart.fnType(dart.void, [core.int, dart.dynamic, core.int]), + [S$4.$bufferSubData]: dart.fnType(dart.void, [core.int, core.int, dart.dynamic]), + [S$4.$checkFramebufferStatus]: dart.fnType(core.int, [core.int]), + [$clear]: dart.fnType(dart.void, [core.int]), + [S$4.$clearColor]: dart.fnType(dart.void, [core.num, core.num, core.num, core.num]), + [S$4.$clearDepth]: dart.fnType(dart.void, [core.num]), + [S$4.$clearStencil]: dart.fnType(dart.void, [core.int]), + [S$4.$colorMask]: dart.fnType(dart.void, [core.bool, core.bool, core.bool, core.bool]), + [S$2.$commit]: dart.fnType(async.Future, []), + [S$4.$compileShader]: dart.fnType(dart.void, [web_gl.Shader]), + [S$4.$compressedTexImage2D]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int, core.int, typed_data.TypedData]), + [S$4.$compressedTexSubImage2D]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int, core.int, core.int, typed_data.TypedData]), + [S$4.$copyTexImage2D]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int, core.int, core.int, core.int]), + [S$4.$copyTexSubImage2D]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int, core.int, core.int, core.int]), + [S$3.$createBuffer]: dart.fnType(web_gl.Buffer, []), + [S$4.$createFramebuffer]: dart.fnType(web_gl.Framebuffer, []), + [S$4.$createProgram]: dart.fnType(web_gl.Program, []), + [S$4.$createRenderbuffer]: dart.fnType(web_gl.Renderbuffer, []), + [S$4.$createShader]: dart.fnType(web_gl.Shader, [core.int]), + [S$4.$createTexture]: dart.fnType(web_gl.Texture, []), + [S$4.$cullFace]: dart.fnType(dart.void, [core.int]), + [S$4.$deleteBuffer]: dart.fnType(dart.void, [dart.nullable(web_gl.Buffer)]), + [S$4.$deleteFramebuffer]: dart.fnType(dart.void, [dart.nullable(web_gl.Framebuffer)]), + [S$4.$deleteProgram]: dart.fnType(dart.void, [dart.nullable(web_gl.Program)]), + [S$4.$deleteRenderbuffer]: dart.fnType(dart.void, [dart.nullable(web_gl.Renderbuffer)]), + [S$4.$deleteShader]: dart.fnType(dart.void, [dart.nullable(web_gl.Shader)]), + [S$4.$deleteTexture]: dart.fnType(dart.void, [dart.nullable(web_gl.Texture)]), + [S$4.$depthFunc]: dart.fnType(dart.void, [core.int]), + [S$4.$depthMask]: dart.fnType(dart.void, [core.bool]), + [S$4.$depthRange]: dart.fnType(dart.void, [core.num, core.num]), + [S$4.$detachShader]: dart.fnType(dart.void, [web_gl.Program, web_gl.Shader]), + [S$1.$disable]: dart.fnType(dart.void, [core.int]), + [S$4.$disableVertexAttribArray]: dart.fnType(dart.void, [core.int]), + [S$4.$drawArrays]: dart.fnType(dart.void, [core.int, core.int, core.int]), + [S$4.$drawElements]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int]), + [S$1.$enable]: dart.fnType(dart.void, [core.int]), + [S$4.$enableVertexAttribArray]: dart.fnType(dart.void, [core.int]), + [S$.$finish]: dart.fnType(dart.void, []), + [S$4.$flush]: dart.fnType(dart.void, []), + [S$4.$framebufferRenderbuffer]: dart.fnType(dart.void, [core.int, core.int, core.int, dart.nullable(web_gl.Renderbuffer)]), + [S$4.$framebufferTexture2D]: dart.fnType(dart.void, [core.int, core.int, core.int, dart.nullable(web_gl.Texture), core.int]), + [S$4.$frontFace]: dart.fnType(dart.void, [core.int]), + [S$4.$generateMipmap]: dart.fnType(dart.void, [core.int]), + [S$4.$getActiveAttrib]: dart.fnType(web_gl.ActiveInfo, [web_gl.Program, core.int]), + [S$4.$getActiveUniform]: dart.fnType(web_gl.ActiveInfo, [web_gl.Program, core.int]), + [S$4.$getAttachedShaders]: dart.fnType(dart.nullable(core.List$(web_gl.Shader)), [web_gl.Program]), + [S$4.$getAttribLocation]: dart.fnType(core.int, [web_gl.Program, core.String]), + [S$4.$getBufferParameter]: dart.fnType(dart.nullable(core.Object), [core.int, core.int]), + [S$.$getContextAttributes]: dart.fnType(dart.nullable(core.Map), []), + [S$4._getContextAttributes_1$1]: dart.fnType(dart.dynamic, []), + [S$4.$getError]: dart.fnType(core.int, []), + [S$4.$getExtension]: dart.fnType(dart.nullable(core.Object), [core.String]), + [S$4.$getFramebufferAttachmentParameter]: dart.fnType(dart.nullable(core.Object), [core.int, core.int, core.int]), + [S$3.$getParameter]: dart.fnType(dart.nullable(core.Object), [core.int]), + [S$4.$getProgramInfoLog]: dart.fnType(dart.nullable(core.String), [web_gl.Program]), + [S$4.$getProgramParameter]: dart.fnType(dart.nullable(core.Object), [web_gl.Program, core.int]), + [S$4.$getRenderbufferParameter]: dart.fnType(dart.nullable(core.Object), [core.int, core.int]), + [S$4.$getShaderInfoLog]: dart.fnType(dart.nullable(core.String), [web_gl.Shader]), + [S$4.$getShaderParameter]: dart.fnType(dart.nullable(core.Object), [web_gl.Shader, core.int]), + [S$4.$getShaderPrecisionFormat]: dart.fnType(web_gl.ShaderPrecisionFormat, [core.int, core.int]), + [S$4.$getShaderSource]: dart.fnType(dart.nullable(core.String), [web_gl.Shader]), + [S$4.$getSupportedExtensions]: dart.fnType(dart.nullable(core.List$(core.String)), []), + [S$4.$getTexParameter]: dart.fnType(dart.nullable(core.Object), [core.int, core.int]), + [S$4.$getUniform]: dart.fnType(dart.nullable(core.Object), [web_gl.Program, web_gl.UniformLocation]), + [S$4.$getUniformLocation]: dart.fnType(web_gl.UniformLocation, [web_gl.Program, core.String]), + [S$4.$getVertexAttrib]: dart.fnType(dart.nullable(core.Object), [core.int, core.int]), + [S$4.$getVertexAttribOffset]: dart.fnType(core.int, [core.int, core.int]), + [S$4.$hint]: dart.fnType(dart.void, [core.int, core.int]), + [S$4.$isBuffer]: dart.fnType(core.bool, [dart.nullable(web_gl.Buffer)]), + [S$.$isContextLost]: dart.fnType(core.bool, []), + [S$4.$isEnabled]: dart.fnType(core.bool, [core.int]), + [S$4.$isFramebuffer]: dart.fnType(core.bool, [dart.nullable(web_gl.Framebuffer)]), + [S$4.$isProgram]: dart.fnType(core.bool, [dart.nullable(web_gl.Program)]), + [S$4.$isRenderbuffer]: dart.fnType(core.bool, [dart.nullable(web_gl.Renderbuffer)]), + [S$4.$isShader]: dart.fnType(core.bool, [dart.nullable(web_gl.Shader)]), + [S$4.$isTexture]: dart.fnType(core.bool, [dart.nullable(web_gl.Texture)]), + [S$.$lineWidth]: dart.fnType(dart.void, [core.num]), + [S$4.$linkProgram]: dart.fnType(dart.void, [web_gl.Program]), + [S$4.$pixelStorei]: dart.fnType(dart.void, [core.int, core.int]), + [S$4.$polygonOffset]: dart.fnType(dart.void, [core.num, core.num]), + [S$4._readPixels]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int, core.int, dart.nullable(typed_data.TypedData)]), + [S$4.$renderbufferStorage]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int]), + [S$4.$sampleCoverage]: dart.fnType(dart.void, [core.num, core.bool]), + [S$4.$scissor]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int]), + [S$4.$shaderSource]: dart.fnType(dart.void, [web_gl.Shader, core.String]), + [S$4.$stencilFunc]: dart.fnType(dart.void, [core.int, core.int, core.int]), + [S$4.$stencilFuncSeparate]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int]), + [S$4.$stencilMask]: dart.fnType(dart.void, [core.int]), + [S$4.$stencilMaskSeparate]: dart.fnType(dart.void, [core.int, core.int]), + [S$4.$stencilOp]: dart.fnType(dart.void, [core.int, core.int, core.int]), + [S$4.$stencilOpSeparate]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int]), + [S$4.$texImage2D]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int, dart.dynamic], [dart.nullable(core.int), dart.nullable(core.int), dart.nullable(typed_data.TypedData)]), + [S$4._texImage2D_1]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, core.int, dart.dynamic, dart.dynamic, dart.nullable(typed_data.TypedData)]), + [S$4._texImage2D_2]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic]), + [S$4._texImage2D_3]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, html$.ImageElement]), + [S$4._texImage2D_4]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, html$.CanvasElement]), + [S$4._texImage2D_5]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, html$.VideoElement]), + [S$4._texImage2D_6]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, html$.ImageBitmap]), + [S$4.$texParameterf]: dart.fnType(dart.void, [core.int, core.int, core.num]), + [S$4.$texParameteri]: dart.fnType(dart.void, [core.int, core.int, core.int]), + [S$4.$texSubImage2D]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int, core.int, dart.dynamic], [dart.nullable(core.int), dart.nullable(typed_data.TypedData)]), + [S$4._texSubImage2D_1]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, core.int, dart.dynamic, dart.nullable(typed_data.TypedData)]), + [S$4._texSubImage2D_2]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic]), + [S$4._texSubImage2D_3]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, html$.ImageElement]), + [S$4._texSubImage2D_4]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, html$.CanvasElement]), + [S$4._texSubImage2D_5]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, html$.VideoElement]), + [S$4._texSubImage2D_6]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, html$.ImageBitmap]), + [S$4.$uniform1f]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), core.num]), + [S$4.$uniform1fv]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), dart.dynamic]), + [S$4.$uniform1i]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), core.int]), + [S$4.$uniform1iv]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), dart.dynamic]), + [S$4.$uniform2f]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), core.num, core.num]), + [S$4.$uniform2fv]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), dart.dynamic]), + [S$4.$uniform2i]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), core.int, core.int]), + [S$4.$uniform2iv]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), dart.dynamic]), + [S$4.$uniform3f]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), core.num, core.num, core.num]), + [S$4.$uniform3fv]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), dart.dynamic]), + [S$4.$uniform3i]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), core.int, core.int, core.int]), + [S$4.$uniform3iv]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), dart.dynamic]), + [S$4.$uniform4f]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), core.num, core.num, core.num, core.num]), + [S$4.$uniform4fv]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), dart.dynamic]), + [S$4.$uniform4i]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), core.int, core.int, core.int, core.int]), + [S$4.$uniform4iv]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), dart.dynamic]), + [S$4.$uniformMatrix2fv]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), core.bool, dart.dynamic]), + [S$4.$uniformMatrix3fv]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), core.bool, dart.dynamic]), + [S$4.$uniformMatrix4fv]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), core.bool, dart.dynamic]), + [S$4.$useProgram]: dart.fnType(dart.void, [dart.nullable(web_gl.Program)]), + [S$4.$validateProgram]: dart.fnType(dart.void, [web_gl.Program]), + [S$4.$vertexAttrib1f]: dart.fnType(dart.void, [core.int, core.num]), + [S$4.$vertexAttrib1fv]: dart.fnType(dart.void, [core.int, dart.dynamic]), + [S$4.$vertexAttrib2f]: dart.fnType(dart.void, [core.int, core.num, core.num]), + [S$4.$vertexAttrib2fv]: dart.fnType(dart.void, [core.int, dart.dynamic]), + [S$4.$vertexAttrib3f]: dart.fnType(dart.void, [core.int, core.num, core.num, core.num]), + [S$4.$vertexAttrib3fv]: dart.fnType(dart.void, [core.int, dart.dynamic]), + [S$4.$vertexAttrib4f]: dart.fnType(dart.void, [core.int, core.num, core.num, core.num, core.num]), + [S$4.$vertexAttrib4fv]: dart.fnType(dart.void, [core.int, dart.dynamic]), + [S$4.$vertexAttribPointer]: dart.fnType(dart.void, [core.int, core.int, core.int, core.bool, core.int, core.int]), + [S$4.$viewport]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int]), + [S$4.$readPixels]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int, core.int, dart.nullable(typed_data.TypedData)]), + [S$4.$texImage2DUntyped]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int, dart.dynamic]), + [S$4.$texImage2DTyped]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int, core.int, core.int, core.int, typed_data.TypedData]), + [S$4.$texSubImage2DUntyped]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int, core.int, dart.dynamic]), + [S$4.$texSubImage2DTyped]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int, core.int, core.int, core.int, core.int, typed_data.TypedData]), + [S$4.$bufferDataTyped]: dart.fnType(dart.void, [core.int, typed_data.TypedData, core.int]), + [S$4.$bufferSubDataTyped]: dart.fnType(dart.void, [core.int, core.int, typed_data.TypedData]) +})); +dart.setGetterSignature(web_gl.RenderingContext, () => ({ + __proto__: dart.getGetters(web_gl.RenderingContext.__proto__), + [S$.$canvas]: html$.CanvasElement, + [S$4.$drawingBufferHeight]: dart.nullable(core.int), + [S$4.$drawingBufferWidth]: dart.nullable(core.int) +})); +dart.setLibraryUri(web_gl.RenderingContext, I[160]); +dart.registerExtension("WebGLRenderingContext", web_gl.RenderingContext); +web_gl.RenderingContext2 = class RenderingContext2 extends _interceptors.Interceptor { + get [S$.$canvas]() { + return this.canvas; + } + [S$4.$beginQuery](...args) { + return this.beginQuery.apply(this, args); + } + [S$4.$beginTransformFeedback](...args) { + return this.beginTransformFeedback.apply(this, args); + } + [S$4.$bindBufferBase](...args) { + return this.bindBufferBase.apply(this, args); + } + [S$4.$bindBufferRange](...args) { + return this.bindBufferRange.apply(this, args); + } + [S$4.$bindSampler](...args) { + return this.bindSampler.apply(this, args); + } + [S$4.$bindTransformFeedback](...args) { + return this.bindTransformFeedback.apply(this, args); + } + [S$4.$bindVertexArray](...args) { + return this.bindVertexArray.apply(this, args); + } + [S$4.$blitFramebuffer](...args) { + return this.blitFramebuffer.apply(this, args); + } + [S$4.$bufferData2](...args) { + return this.bufferData.apply(this, args); + } + [S$4.$bufferSubData2](...args) { + return this.bufferSubData.apply(this, args); + } + [S$4.$clearBufferfi](...args) { + return this.clearBufferfi.apply(this, args); + } + [S$4.$clearBufferfv](...args) { + return this.clearBufferfv.apply(this, args); + } + [S$4.$clearBufferiv](...args) { + return this.clearBufferiv.apply(this, args); + } + [S$4.$clearBufferuiv](...args) { + return this.clearBufferuiv.apply(this, args); + } + [S$4.$clientWaitSync](...args) { + return this.clientWaitSync.apply(this, args); + } + [S$4.$compressedTexImage2D2](...args) { + return this.compressedTexImage2D.apply(this, args); + } + [S$4.$compressedTexImage2D3](...args) { + return this.compressedTexImage2D.apply(this, args); + } + [S$4.$compressedTexImage3D](...args) { + return this.compressedTexImage3D.apply(this, args); + } + [S$4.$compressedTexImage3D2](...args) { + return this.compressedTexImage3D.apply(this, args); + } + [S$4.$compressedTexSubImage2D2](...args) { + return this.compressedTexSubImage2D.apply(this, args); + } + [S$4.$compressedTexSubImage2D3](...args) { + return this.compressedTexSubImage2D.apply(this, args); + } + [S$4.$compressedTexSubImage3D](...args) { + return this.compressedTexSubImage3D.apply(this, args); + } + [S$4.$compressedTexSubImage3D2](...args) { + return this.compressedTexSubImage3D.apply(this, args); + } + [S$4.$copyBufferSubData](...args) { + return this.copyBufferSubData.apply(this, args); + } + [S$4.$copyTexSubImage3D](...args) { + return this.copyTexSubImage3D.apply(this, args); + } + [S$4.$createQuery](...args) { + return this.createQuery.apply(this, args); + } + [S$4.$createSampler](...args) { + return this.createSampler.apply(this, args); + } + [S$4.$createTransformFeedback](...args) { + return this.createTransformFeedback.apply(this, args); + } + [S$4.$createVertexArray](...args) { + return this.createVertexArray.apply(this, args); + } + [S$4.$deleteQuery](...args) { + return this.deleteQuery.apply(this, args); + } + [S$4.$deleteSampler](...args) { + return this.deleteSampler.apply(this, args); + } + [S$4.$deleteSync](...args) { + return this.deleteSync.apply(this, args); + } + [S$4.$deleteTransformFeedback](...args) { + return this.deleteTransformFeedback.apply(this, args); + } + [S$4.$deleteVertexArray](...args) { + return this.deleteVertexArray.apply(this, args); + } + [S$4.$drawArraysInstanced](...args) { + return this.drawArraysInstanced.apply(this, args); + } + [S$4.$drawBuffers](...args) { + return this.drawBuffers.apply(this, args); + } + [S$4.$drawElementsInstanced](...args) { + return this.drawElementsInstanced.apply(this, args); + } + [S$4.$drawRangeElements](...args) { + return this.drawRangeElements.apply(this, args); + } + [S$4.$endQuery](...args) { + return this.endQuery.apply(this, args); + } + [S$4.$endTransformFeedback](...args) { + return this.endTransformFeedback.apply(this, args); + } + [S$4.$fenceSync](...args) { + return this.fenceSync.apply(this, args); + } + [S$4.$framebufferTextureLayer](...args) { + return this.framebufferTextureLayer.apply(this, args); + } + [S$4.$getActiveUniformBlockName](...args) { + return this.getActiveUniformBlockName.apply(this, args); + } + [S$4.$getActiveUniformBlockParameter](...args) { + return this.getActiveUniformBlockParameter.apply(this, args); + } + [S$4.$getActiveUniforms](...args) { + return this.getActiveUniforms.apply(this, args); + } + [S$4.$getBufferSubData](...args) { + return this.getBufferSubData.apply(this, args); + } + [S$4.$getFragDataLocation](...args) { + return this.getFragDataLocation.apply(this, args); + } + [S$4.$getIndexedParameter](...args) { + return this.getIndexedParameter.apply(this, args); + } + [S$4.$getInternalformatParameter](...args) { + return this.getInternalformatParameter.apply(this, args); + } + [S$4.$getQuery](...args) { + return this.getQuery.apply(this, args); + } + [S$4.$getQueryParameter](...args) { + return this.getQueryParameter.apply(this, args); + } + [S$4.$getSamplerParameter](...args) { + return this.getSamplerParameter.apply(this, args); + } + [S$4.$getSyncParameter](...args) { + return this.getSyncParameter.apply(this, args); + } + [S$4.$getTransformFeedbackVarying](...args) { + return this.getTransformFeedbackVarying.apply(this, args); + } + [S$4.$getUniformBlockIndex](...args) { + return this.getUniformBlockIndex.apply(this, args); + } + [S$4.$getUniformIndices](program, uniformNames) { + if (program == null) dart.nullFailed(I[161], 1537, 40, "program"); + if (uniformNames == null) dart.nullFailed(I[161], 1537, 62, "uniformNames"); + let uniformNames_1 = html_common.convertDartToNative_StringArray(uniformNames); + return this[S$4._getUniformIndices_1](program, uniformNames_1); + } + [S$4._getUniformIndices_1](...args) { + return this.getUniformIndices.apply(this, args); + } + [S$4.$invalidateFramebuffer](...args) { + return this.invalidateFramebuffer.apply(this, args); + } + [S$4.$invalidateSubFramebuffer](...args) { + return this.invalidateSubFramebuffer.apply(this, args); + } + [S$4.$isQuery](...args) { + return this.isQuery.apply(this, args); + } + [S$4.$isSampler](...args) { + return this.isSampler.apply(this, args); + } + [S$4.$isSync](...args) { + return this.isSync.apply(this, args); + } + [S$4.$isTransformFeedback](...args) { + return this.isTransformFeedback.apply(this, args); + } + [S$4.$isVertexArray](...args) { + return this.isVertexArray.apply(this, args); + } + [S$4.$pauseTransformFeedback](...args) { + return this.pauseTransformFeedback.apply(this, args); + } + [S$4.$readBuffer](...args) { + return this.readBuffer.apply(this, args); + } + [S$4.$readPixels2](...args) { + return this.readPixels.apply(this, args); + } + [S$4.$renderbufferStorageMultisample](...args) { + return this.renderbufferStorageMultisample.apply(this, args); + } + [S$4.$resumeTransformFeedback](...args) { + return this.resumeTransformFeedback.apply(this, args); + } + [S$4.$samplerParameterf](...args) { + return this.samplerParameterf.apply(this, args); + } + [S$4.$samplerParameteri](...args) { + return this.samplerParameteri.apply(this, args); + } + [S$4.$texImage2D2](target, level, internalformat, width, height, border, format, type, bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_srcData_OR_video, srcOffset = null) { + if (target == null) dart.nullFailed(I[161], 1579, 11, "target"); + if (level == null) dart.nullFailed(I[161], 1580, 11, "level"); + if (internalformat == null) dart.nullFailed(I[161], 1581, 11, "internalformat"); + if (width == null) dart.nullFailed(I[161], 1582, 11, "width"); + if (height == null) dart.nullFailed(I[161], 1583, 11, "height"); + if (border == null) dart.nullFailed(I[161], 1584, 11, "border"); + if (format == null) dart.nullFailed(I[161], 1585, 11, "format"); + if (type == null) dart.nullFailed(I[161], 1586, 11, "type"); + if (core.int.is(bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_srcData_OR_video) && srcOffset == null) { + this[S$4._texImage2D2_1](target, level, internalformat, width, height, border, format, type, bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_srcData_OR_video); + return; + } + if (html$.ImageData.is(bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_srcData_OR_video) && srcOffset == null) { + let data_1 = html_common.convertDartToNative_ImageData(bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_srcData_OR_video); + this[S$4._texImage2D2_2](target, level, internalformat, width, height, border, format, type, data_1); + return; + } + if (html$.ImageElement.is(bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_srcData_OR_video) && srcOffset == null) { + this[S$4._texImage2D2_3](target, level, internalformat, width, height, border, format, type, bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_srcData_OR_video); + return; + } + if (html$.CanvasElement.is(bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_srcData_OR_video) && srcOffset == null) { + this[S$4._texImage2D2_4](target, level, internalformat, width, height, border, format, type, bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_srcData_OR_video); + return; + } + if (html$.VideoElement.is(bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_srcData_OR_video) && srcOffset == null) { + this[S$4._texImage2D2_5](target, level, internalformat, width, height, border, format, type, bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_srcData_OR_video); + return; + } + if (html$.ImageBitmap.is(bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_srcData_OR_video) && srcOffset == null) { + this[S$4._texImage2D2_6](target, level, internalformat, width, height, border, format, type, bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_srcData_OR_video); + return; + } + if (srcOffset != null && typed_data.TypedData.is(bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_srcData_OR_video)) { + this[S$4._texImage2D2_7](target, level, internalformat, width, height, border, format, type, bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_srcData_OR_video, srcOffset); + return; + } + dart.throw(new core.ArgumentError.new("Incorrect number or type of arguments")); + } + [S$4._texImage2D2_1](...args) { + return this.texImage2D.apply(this, args); + } + [S$4._texImage2D2_2](...args) { + return this.texImage2D.apply(this, args); + } + [S$4._texImage2D2_3](...args) { + return this.texImage2D.apply(this, args); + } + [S$4._texImage2D2_4](...args) { + return this.texImage2D.apply(this, args); + } + [S$4._texImage2D2_5](...args) { + return this.texImage2D.apply(this, args); + } + [S$4._texImage2D2_6](...args) { + return this.texImage2D.apply(this, args); + } + [S$4._texImage2D2_7](...args) { + return this.texImage2D.apply(this, args); + } + [S$4.$texImage3D](target, level, internalformat, width, height, depth, border, format, type, bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_pixels_OR_video, srcOffset = null) { + if (target == null) dart.nullFailed(I[161], 1715, 11, "target"); + if (level == null) dart.nullFailed(I[161], 1716, 11, "level"); + if (internalformat == null) dart.nullFailed(I[161], 1717, 11, "internalformat"); + if (width == null) dart.nullFailed(I[161], 1718, 11, "width"); + if (height == null) dart.nullFailed(I[161], 1719, 11, "height"); + if (depth == null) dart.nullFailed(I[161], 1720, 11, "depth"); + if (border == null) dart.nullFailed(I[161], 1721, 11, "border"); + if (format == null) dart.nullFailed(I[161], 1722, 11, "format"); + if (type == null) dart.nullFailed(I[161], 1723, 11, "type"); + if (core.int.is(bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_pixels_OR_video) && srcOffset == null) { + this[S$4._texImage3D_1](target, level, internalformat, width, height, depth, border, format, type, bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_pixels_OR_video); + return; + } + if (html$.ImageData.is(bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_pixels_OR_video) && srcOffset == null) { + let data_1 = html_common.convertDartToNative_ImageData(bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_pixels_OR_video); + this[S$4._texImage3D_2](target, level, internalformat, width, height, depth, border, format, type, data_1); + return; + } + if (html$.ImageElement.is(bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_pixels_OR_video) && srcOffset == null) { + this[S$4._texImage3D_3](target, level, internalformat, width, height, depth, border, format, type, bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_pixels_OR_video); + return; + } + if (html$.CanvasElement.is(bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_pixels_OR_video) && srcOffset == null) { + this[S$4._texImage3D_4](target, level, internalformat, width, height, depth, border, format, type, bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_pixels_OR_video); + return; + } + if (html$.VideoElement.is(bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_pixels_OR_video) && srcOffset == null) { + this[S$4._texImage3D_5](target, level, internalformat, width, height, depth, border, format, type, bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_pixels_OR_video); + return; + } + if (html$.ImageBitmap.is(bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_pixels_OR_video) && srcOffset == null) { + this[S$4._texImage3D_6](target, level, internalformat, width, height, depth, border, format, type, bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_pixels_OR_video); + return; + } + if ((typed_data.TypedData.is(bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_pixels_OR_video) || bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_pixels_OR_video == null) && srcOffset == null) { + this[S$4._texImage3D_7](target, level, internalformat, width, height, depth, border, format, type, T$0.TypedDataN().as(bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_pixels_OR_video)); + return; + } + if (srcOffset != null && typed_data.TypedData.is(bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_pixels_OR_video)) { + this[S$4._texImage3D_8](target, level, internalformat, width, height, depth, border, format, type, bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_pixels_OR_video, srcOffset); + return; + } + dart.throw(new core.ArgumentError.new("Incorrect number or type of arguments")); + } + [S$4._texImage3D_1](...args) { + return this.texImage3D.apply(this, args); + } + [S$4._texImage3D_2](...args) { + return this.texImage3D.apply(this, args); + } + [S$4._texImage3D_3](...args) { + return this.texImage3D.apply(this, args); + } + [S$4._texImage3D_4](...args) { + return this.texImage3D.apply(this, args); + } + [S$4._texImage3D_5](...args) { + return this.texImage3D.apply(this, args); + } + [S$4._texImage3D_6](...args) { + return this.texImage3D.apply(this, args); + } + [S$4._texImage3D_7](...args) { + return this.texImage3D.apply(this, args); + } + [S$4._texImage3D_8](...args) { + return this.texImage3D.apply(this, args); + } + [S$4.$texStorage2D](...args) { + return this.texStorage2D.apply(this, args); + } + [S$4.$texStorage3D](...args) { + return this.texStorage3D.apply(this, args); + } + [S$4.$texSubImage2D2](target, level, xoffset, yoffset, width, height, format, type, bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_srcData_OR_video, srcOffset = null) { + if (target == null) dart.nullFailed(I[161], 1885, 11, "target"); + if (level == null) dart.nullFailed(I[161], 1886, 11, "level"); + if (xoffset == null) dart.nullFailed(I[161], 1887, 11, "xoffset"); + if (yoffset == null) dart.nullFailed(I[161], 1888, 11, "yoffset"); + if (width == null) dart.nullFailed(I[161], 1889, 11, "width"); + if (height == null) dart.nullFailed(I[161], 1890, 11, "height"); + if (format == null) dart.nullFailed(I[161], 1891, 11, "format"); + if (type == null) dart.nullFailed(I[161], 1892, 11, "type"); + if (core.int.is(bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_srcData_OR_video) && srcOffset == null) { + this[S$4._texSubImage2D2_1](target, level, xoffset, yoffset, width, height, format, type, bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_srcData_OR_video); + return; + } + if (html$.ImageData.is(bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_srcData_OR_video) && srcOffset == null) { + let data_1 = html_common.convertDartToNative_ImageData(bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_srcData_OR_video); + this[S$4._texSubImage2D2_2](target, level, xoffset, yoffset, width, height, format, type, data_1); + return; + } + if (html$.ImageElement.is(bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_srcData_OR_video) && srcOffset == null) { + this[S$4._texSubImage2D2_3](target, level, xoffset, yoffset, width, height, format, type, bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_srcData_OR_video); + return; + } + if (html$.CanvasElement.is(bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_srcData_OR_video) && srcOffset == null) { + this[S$4._texSubImage2D2_4](target, level, xoffset, yoffset, width, height, format, type, bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_srcData_OR_video); + return; + } + if (html$.VideoElement.is(bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_srcData_OR_video) && srcOffset == null) { + this[S$4._texSubImage2D2_5](target, level, xoffset, yoffset, width, height, format, type, bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_srcData_OR_video); + return; + } + if (html$.ImageBitmap.is(bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_srcData_OR_video) && srcOffset == null) { + this[S$4._texSubImage2D2_6](target, level, xoffset, yoffset, width, height, format, type, bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_srcData_OR_video); + return; + } + if (srcOffset != null && typed_data.TypedData.is(bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_srcData_OR_video)) { + this[S$4._texSubImage2D2_7](target, level, xoffset, yoffset, width, height, format, type, bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_srcData_OR_video, srcOffset); + return; + } + dart.throw(new core.ArgumentError.new("Incorrect number or type of arguments")); + } + [S$4._texSubImage2D2_1](...args) { + return this.texSubImage2D.apply(this, args); + } + [S$4._texSubImage2D2_2](...args) { + return this.texSubImage2D.apply(this, args); + } + [S$4._texSubImage2D2_3](...args) { + return this.texSubImage2D.apply(this, args); + } + [S$4._texSubImage2D2_4](...args) { + return this.texSubImage2D.apply(this, args); + } + [S$4._texSubImage2D2_5](...args) { + return this.texSubImage2D.apply(this, args); + } + [S$4._texSubImage2D2_6](...args) { + return this.texSubImage2D.apply(this, args); + } + [S$4._texSubImage2D2_7](...args) { + return this.texSubImage2D.apply(this, args); + } + [S$4.$texSubImage3D](target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_pixels_OR_video, srcOffset = null) { + if (target == null) dart.nullFailed(I[161], 2021, 11, "target"); + if (level == null) dart.nullFailed(I[161], 2022, 11, "level"); + if (xoffset == null) dart.nullFailed(I[161], 2023, 11, "xoffset"); + if (yoffset == null) dart.nullFailed(I[161], 2024, 11, "yoffset"); + if (zoffset == null) dart.nullFailed(I[161], 2025, 11, "zoffset"); + if (width == null) dart.nullFailed(I[161], 2026, 11, "width"); + if (height == null) dart.nullFailed(I[161], 2027, 11, "height"); + if (depth == null) dart.nullFailed(I[161], 2028, 11, "depth"); + if (format == null) dart.nullFailed(I[161], 2029, 11, "format"); + if (type == null) dart.nullFailed(I[161], 2030, 11, "type"); + if (core.int.is(bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_pixels_OR_video) && srcOffset == null) { + this[S$4._texSubImage3D_1](target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_pixels_OR_video); + return; + } + if (html$.ImageData.is(bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_pixels_OR_video) && srcOffset == null) { + let data_1 = html_common.convertDartToNative_ImageData(bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_pixels_OR_video); + this[S$4._texSubImage3D_2](target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, data_1); + return; + } + if (html$.ImageElement.is(bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_pixels_OR_video) && srcOffset == null) { + this[S$4._texSubImage3D_3](target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_pixels_OR_video); + return; + } + if (html$.CanvasElement.is(bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_pixels_OR_video) && srcOffset == null) { + this[S$4._texSubImage3D_4](target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_pixels_OR_video); + return; + } + if (html$.VideoElement.is(bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_pixels_OR_video) && srcOffset == null) { + this[S$4._texSubImage3D_5](target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_pixels_OR_video); + return; + } + if (html$.ImageBitmap.is(bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_pixels_OR_video) && srcOffset == null) { + this[S$4._texSubImage3D_6](target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_pixels_OR_video); + return; + } + if (typed_data.TypedData.is(bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_pixels_OR_video) && srcOffset == null) { + this[S$4._texSubImage3D_7](target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_pixels_OR_video); + return; + } + if (srcOffset != null && typed_data.TypedData.is(bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_pixels_OR_video)) { + this[S$4._texSubImage3D_8](target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_pixels_OR_video, srcOffset); + return; + } + dart.throw(new core.ArgumentError.new("Incorrect number or type of arguments")); + } + [S$4._texSubImage3D_1](...args) { + return this.texSubImage3D.apply(this, args); + } + [S$4._texSubImage3D_2](...args) { + return this.texSubImage3D.apply(this, args); + } + [S$4._texSubImage3D_3](...args) { + return this.texSubImage3D.apply(this, args); + } + [S$4._texSubImage3D_4](...args) { + return this.texSubImage3D.apply(this, args); + } + [S$4._texSubImage3D_5](...args) { + return this.texSubImage3D.apply(this, args); + } + [S$4._texSubImage3D_6](...args) { + return this.texSubImage3D.apply(this, args); + } + [S$4._texSubImage3D_7](...args) { + return this.texSubImage3D.apply(this, args); + } + [S$4._texSubImage3D_8](...args) { + return this.texSubImage3D.apply(this, args); + } + [S$4.$transformFeedbackVaryings](program, varyings, bufferMode) { + if (program == null) dart.nullFailed(I[161], 2191, 15, "program"); + if (varyings == null) dart.nullFailed(I[161], 2191, 37, "varyings"); + if (bufferMode == null) dart.nullFailed(I[161], 2191, 51, "bufferMode"); + let varyings_1 = html_common.convertDartToNative_StringArray(varyings); + this[S$4._transformFeedbackVaryings_1](program, varyings_1, bufferMode); + return; + } + [S$4._transformFeedbackVaryings_1](...args) { + return this.transformFeedbackVaryings.apply(this, args); + } + [S$4.$uniform1fv2](...args) { + return this.uniform1fv.apply(this, args); + } + [S$4.$uniform1iv2](...args) { + return this.uniform1iv.apply(this, args); + } + [S$4.$uniform1ui](...args) { + return this.uniform1ui.apply(this, args); + } + [S$4.$uniform1uiv](...args) { + return this.uniform1uiv.apply(this, args); + } + [S$4.$uniform2fv2](...args) { + return this.uniform2fv.apply(this, args); + } + [S$4.$uniform2iv2](...args) { + return this.uniform2iv.apply(this, args); + } + [S$4.$uniform2ui](...args) { + return this.uniform2ui.apply(this, args); + } + [S$4.$uniform2uiv](...args) { + return this.uniform2uiv.apply(this, args); + } + [S$4.$uniform3fv2](...args) { + return this.uniform3fv.apply(this, args); + } + [S$4.$uniform3iv2](...args) { + return this.uniform3iv.apply(this, args); + } + [S$4.$uniform3ui](...args) { + return this.uniform3ui.apply(this, args); + } + [S$4.$uniform3uiv](...args) { + return this.uniform3uiv.apply(this, args); + } + [S$4.$uniform4fv2](...args) { + return this.uniform4fv.apply(this, args); + } + [S$4.$uniform4iv2](...args) { + return this.uniform4iv.apply(this, args); + } + [S$4.$uniform4ui](...args) { + return this.uniform4ui.apply(this, args); + } + [S$4.$uniform4uiv](...args) { + return this.uniform4uiv.apply(this, args); + } + [S$4.$uniformBlockBinding](...args) { + return this.uniformBlockBinding.apply(this, args); + } + [S$4.$uniformMatrix2fv2](...args) { + return this.uniformMatrix2fv.apply(this, args); + } + [S$4.$uniformMatrix2x3fv](...args) { + return this.uniformMatrix2x3fv.apply(this, args); + } + [S$4.$uniformMatrix2x4fv](...args) { + return this.uniformMatrix2x4fv.apply(this, args); + } + [S$4.$uniformMatrix3fv2](...args) { + return this.uniformMatrix3fv.apply(this, args); + } + [S$4.$uniformMatrix3x2fv](...args) { + return this.uniformMatrix3x2fv.apply(this, args); + } + [S$4.$uniformMatrix3x4fv](...args) { + return this.uniformMatrix3x4fv.apply(this, args); + } + [S$4.$uniformMatrix4fv2](...args) { + return this.uniformMatrix4fv.apply(this, args); + } + [S$4.$uniformMatrix4x2fv](...args) { + return this.uniformMatrix4x2fv.apply(this, args); + } + [S$4.$uniformMatrix4x3fv](...args) { + return this.uniformMatrix4x3fv.apply(this, args); + } + [S$4.$vertexAttribDivisor](...args) { + return this.vertexAttribDivisor.apply(this, args); + } + [S$4.$vertexAttribI4i](...args) { + return this.vertexAttribI4i.apply(this, args); + } + [S$4.$vertexAttribI4iv](...args) { + return this.vertexAttribI4iv.apply(this, args); + } + [S$4.$vertexAttribI4ui](...args) { + return this.vertexAttribI4ui.apply(this, args); + } + [S$4.$vertexAttribI4uiv](...args) { + return this.vertexAttribI4uiv.apply(this, args); + } + [S$4.$vertexAttribIPointer](...args) { + return this.vertexAttribIPointer.apply(this, args); + } + [S$4.$waitSync](...args) { + return this.waitSync.apply(this, args); + } + get [S$4.$drawingBufferHeight]() { + return this.drawingBufferHeight; + } + get [S$4.$drawingBufferWidth]() { + return this.drawingBufferWidth; + } + [S$4.$activeTexture](...args) { + return this.activeTexture.apply(this, args); + } + [S$4.$attachShader](...args) { + return this.attachShader.apply(this, args); + } + [S$4.$bindAttribLocation](...args) { + return this.bindAttribLocation.apply(this, args); + } + [S$4.$bindBuffer](...args) { + return this.bindBuffer.apply(this, args); + } + [S$4.$bindFramebuffer](...args) { + return this.bindFramebuffer.apply(this, args); + } + [S$4.$bindRenderbuffer](...args) { + return this.bindRenderbuffer.apply(this, args); + } + [S$4.$bindTexture](...args) { + return this.bindTexture.apply(this, args); + } + [S$4.$blendColor](...args) { + return this.blendColor.apply(this, args); + } + [S$4.$blendEquation](...args) { + return this.blendEquation.apply(this, args); + } + [S$4.$blendEquationSeparate](...args) { + return this.blendEquationSeparate.apply(this, args); + } + [S$4.$blendFunc](...args) { + return this.blendFunc.apply(this, args); + } + [S$4.$blendFuncSeparate](...args) { + return this.blendFuncSeparate.apply(this, args); + } + [S$4.$bufferData](...args) { + return this.bufferData.apply(this, args); + } + [S$4.$bufferSubData](...args) { + return this.bufferSubData.apply(this, args); + } + [S$4.$checkFramebufferStatus](...args) { + return this.checkFramebufferStatus.apply(this, args); + } + [$clear](...args) { + return this.clear.apply(this, args); + } + [S$4.$clearColor](...args) { + return this.clearColor.apply(this, args); + } + [S$4.$clearDepth](...args) { + return this.clearDepth.apply(this, args); + } + [S$4.$clearStencil](...args) { + return this.clearStencil.apply(this, args); + } + [S$4.$colorMask](...args) { + return this.colorMask.apply(this, args); + } + [S$2.$commit]() { + return js_util.promiseToFuture(dart.dynamic, this.commit()); + } + [S$4.$compileShader](...args) { + return this.compileShader.apply(this, args); + } + [S$4.$compressedTexImage2D](...args) { + return this.compressedTexImage2D.apply(this, args); + } + [S$4.$compressedTexSubImage2D](...args) { + return this.compressedTexSubImage2D.apply(this, args); + } + [S$4.$copyTexImage2D](...args) { + return this.copyTexImage2D.apply(this, args); + } + [S$4.$copyTexSubImage2D](...args) { + return this.copyTexSubImage2D.apply(this, args); + } + [S$3.$createBuffer](...args) { + return this.createBuffer.apply(this, args); + } + [S$4.$createFramebuffer](...args) { + return this.createFramebuffer.apply(this, args); + } + [S$4.$createProgram](...args) { + return this.createProgram.apply(this, args); + } + [S$4.$createRenderbuffer](...args) { + return this.createRenderbuffer.apply(this, args); + } + [S$4.$createShader](...args) { + return this.createShader.apply(this, args); + } + [S$4.$createTexture](...args) { + return this.createTexture.apply(this, args); + } + [S$4.$cullFace](...args) { + return this.cullFace.apply(this, args); + } + [S$4.$deleteBuffer](...args) { + return this.deleteBuffer.apply(this, args); + } + [S$4.$deleteFramebuffer](...args) { + return this.deleteFramebuffer.apply(this, args); + } + [S$4.$deleteProgram](...args) { + return this.deleteProgram.apply(this, args); + } + [S$4.$deleteRenderbuffer](...args) { + return this.deleteRenderbuffer.apply(this, args); + } + [S$4.$deleteShader](...args) { + return this.deleteShader.apply(this, args); + } + [S$4.$deleteTexture](...args) { + return this.deleteTexture.apply(this, args); + } + [S$4.$depthFunc](...args) { + return this.depthFunc.apply(this, args); + } + [S$4.$depthMask](...args) { + return this.depthMask.apply(this, args); + } + [S$4.$depthRange](...args) { + return this.depthRange.apply(this, args); + } + [S$4.$detachShader](...args) { + return this.detachShader.apply(this, args); + } + [S$1.$disable](...args) { + return this.disable.apply(this, args); + } + [S$4.$disableVertexAttribArray](...args) { + return this.disableVertexAttribArray.apply(this, args); + } + [S$4.$drawArrays](...args) { + return this.drawArrays.apply(this, args); + } + [S$4.$drawElements](...args) { + return this.drawElements.apply(this, args); + } + [S$1.$enable](...args) { + return this.enable.apply(this, args); + } + [S$4.$enableVertexAttribArray](...args) { + return this.enableVertexAttribArray.apply(this, args); + } + [S$.$finish](...args) { + return this.finish.apply(this, args); + } + [S$4.$flush](...args) { + return this.flush.apply(this, args); + } + [S$4.$framebufferRenderbuffer](...args) { + return this.framebufferRenderbuffer.apply(this, args); + } + [S$4.$framebufferTexture2D](...args) { + return this.framebufferTexture2D.apply(this, args); + } + [S$4.$frontFace](...args) { + return this.frontFace.apply(this, args); + } + [S$4.$generateMipmap](...args) { + return this.generateMipmap.apply(this, args); + } + [S$4.$getActiveAttrib](...args) { + return this.getActiveAttrib.apply(this, args); + } + [S$4.$getActiveUniform](...args) { + return this.getActiveUniform.apply(this, args); + } + [S$4.$getAttachedShaders](...args) { + return this.getAttachedShaders.apply(this, args); + } + [S$4.$getAttribLocation](...args) { + return this.getAttribLocation.apply(this, args); + } + [S$4.$getBufferParameter](...args) { + return this.getBufferParameter.apply(this, args); + } + [S$.$getContextAttributes]() { + return html_common.convertNativeToDart_Dictionary(this[S$4._getContextAttributes_1$1]()); + } + [S$4._getContextAttributes_1$1](...args) { + return this.getContextAttributes.apply(this, args); + } + [S$4.$getError](...args) { + return this.getError.apply(this, args); + } + [S$4.$getExtension](...args) { + return this.getExtension.apply(this, args); + } + [S$4.$getFramebufferAttachmentParameter](...args) { + return this.getFramebufferAttachmentParameter.apply(this, args); + } + [S$3.$getParameter](...args) { + return this.getParameter.apply(this, args); + } + [S$4.$getProgramInfoLog](...args) { + return this.getProgramInfoLog.apply(this, args); + } + [S$4.$getProgramParameter](...args) { + return this.getProgramParameter.apply(this, args); + } + [S$4.$getRenderbufferParameter](...args) { + return this.getRenderbufferParameter.apply(this, args); + } + [S$4.$getShaderInfoLog](...args) { + return this.getShaderInfoLog.apply(this, args); + } + [S$4.$getShaderParameter](...args) { + return this.getShaderParameter.apply(this, args); + } + [S$4.$getShaderPrecisionFormat](...args) { + return this.getShaderPrecisionFormat.apply(this, args); + } + [S$4.$getShaderSource](...args) { + return this.getShaderSource.apply(this, args); + } + [S$4.$getSupportedExtensions](...args) { + return this.getSupportedExtensions.apply(this, args); + } + [S$4.$getTexParameter](...args) { + return this.getTexParameter.apply(this, args); + } + [S$4.$getUniform](...args) { + return this.getUniform.apply(this, args); + } + [S$4.$getUniformLocation](...args) { + return this.getUniformLocation.apply(this, args); + } + [S$4.$getVertexAttrib](...args) { + return this.getVertexAttrib.apply(this, args); + } + [S$4.$getVertexAttribOffset](...args) { + return this.getVertexAttribOffset.apply(this, args); + } + [S$4.$hint](...args) { + return this.hint.apply(this, args); + } + [S$4.$isBuffer](...args) { + return this.isBuffer.apply(this, args); + } + [S$.$isContextLost](...args) { + return this.isContextLost.apply(this, args); + } + [S$4.$isEnabled](...args) { + return this.isEnabled.apply(this, args); + } + [S$4.$isFramebuffer](...args) { + return this.isFramebuffer.apply(this, args); + } + [S$4.$isProgram](...args) { + return this.isProgram.apply(this, args); + } + [S$4.$isRenderbuffer](...args) { + return this.isRenderbuffer.apply(this, args); + } + [S$4.$isShader](...args) { + return this.isShader.apply(this, args); + } + [S$4.$isTexture](...args) { + return this.isTexture.apply(this, args); + } + [S$.$lineWidth](...args) { + return this.lineWidth.apply(this, args); + } + [S$4.$linkProgram](...args) { + return this.linkProgram.apply(this, args); + } + [S$4.$pixelStorei](...args) { + return this.pixelStorei.apply(this, args); + } + [S$4.$polygonOffset](...args) { + return this.polygonOffset.apply(this, args); + } + [S$4._readPixels](...args) { + return this.readPixels.apply(this, args); + } + [S$4.$renderbufferStorage](...args) { + return this.renderbufferStorage.apply(this, args); + } + [S$4.$sampleCoverage](...args) { + return this.sampleCoverage.apply(this, args); + } + [S$4.$scissor](...args) { + return this.scissor.apply(this, args); + } + [S$4.$shaderSource](...args) { + return this.shaderSource.apply(this, args); + } + [S$4.$stencilFunc](...args) { + return this.stencilFunc.apply(this, args); + } + [S$4.$stencilFuncSeparate](...args) { + return this.stencilFuncSeparate.apply(this, args); + } + [S$4.$stencilMask](...args) { + return this.stencilMask.apply(this, args); + } + [S$4.$stencilMaskSeparate](...args) { + return this.stencilMaskSeparate.apply(this, args); + } + [S$4.$stencilOp](...args) { + return this.stencilOp.apply(this, args); + } + [S$4.$stencilOpSeparate](...args) { + return this.stencilOpSeparate.apply(this, args); + } + [S$4.$texImage2D](target, level, internalformat, format_OR_width, height_OR_type, bitmap_OR_border_OR_canvas_OR_image_OR_pixels_OR_video, format = null, type = null, pixels = null) { + if (target == null) dart.nullFailed(I[161], 2533, 11, "target"); + if (level == null) dart.nullFailed(I[161], 2534, 11, "level"); + if (internalformat == null) dart.nullFailed(I[161], 2535, 11, "internalformat"); + if (format_OR_width == null) dart.nullFailed(I[161], 2536, 11, "format_OR_width"); + if (height_OR_type == null) dart.nullFailed(I[161], 2537, 11, "height_OR_type"); + if (type != null && format != null && core.int.is(bitmap_OR_border_OR_canvas_OR_image_OR_pixels_OR_video)) { + this[S$4._texImage2D_1](target, level, internalformat, format_OR_width, height_OR_type, bitmap_OR_border_OR_canvas_OR_image_OR_pixels_OR_video, format, type, pixels); + return; + } + if (html$.ImageData.is(bitmap_OR_border_OR_canvas_OR_image_OR_pixels_OR_video) && format == null && type == null && pixels == null) { + let pixels_1 = html_common.convertDartToNative_ImageData(bitmap_OR_border_OR_canvas_OR_image_OR_pixels_OR_video); + this[S$4._texImage2D_2](target, level, internalformat, format_OR_width, height_OR_type, pixels_1); + return; + } + if (html$.ImageElement.is(bitmap_OR_border_OR_canvas_OR_image_OR_pixels_OR_video) && format == null && type == null && pixels == null) { + this[S$4._texImage2D_3](target, level, internalformat, format_OR_width, height_OR_type, bitmap_OR_border_OR_canvas_OR_image_OR_pixels_OR_video); + return; + } + if (html$.CanvasElement.is(bitmap_OR_border_OR_canvas_OR_image_OR_pixels_OR_video) && format == null && type == null && pixels == null) { + this[S$4._texImage2D_4](target, level, internalformat, format_OR_width, height_OR_type, bitmap_OR_border_OR_canvas_OR_image_OR_pixels_OR_video); + return; + } + if (html$.VideoElement.is(bitmap_OR_border_OR_canvas_OR_image_OR_pixels_OR_video) && format == null && type == null && pixels == null) { + this[S$4._texImage2D_5](target, level, internalformat, format_OR_width, height_OR_type, bitmap_OR_border_OR_canvas_OR_image_OR_pixels_OR_video); + return; + } + if (html$.ImageBitmap.is(bitmap_OR_border_OR_canvas_OR_image_OR_pixels_OR_video) && format == null && type == null && pixels == null) { + this[S$4._texImage2D_6](target, level, internalformat, format_OR_width, height_OR_type, bitmap_OR_border_OR_canvas_OR_image_OR_pixels_OR_video); + return; + } + dart.throw(new core.ArgumentError.new("Incorrect number or type of arguments")); + } + [S$4._texImage2D_1](...args) { + return this.texImage2D.apply(this, args); + } + [S$4._texImage2D_2](...args) { + return this.texImage2D.apply(this, args); + } + [S$4._texImage2D_3](...args) { + return this.texImage2D.apply(this, args); + } + [S$4._texImage2D_4](...args) { + return this.texImage2D.apply(this, args); + } + [S$4._texImage2D_5](...args) { + return this.texImage2D.apply(this, args); + } + [S$4._texImage2D_6](...args) { + return this.texImage2D.apply(this, args); + } + [S$4.$texParameterf](...args) { + return this.texParameterf.apply(this, args); + } + [S$4.$texParameteri](...args) { + return this.texParameteri.apply(this, args); + } + [S$4.$texSubImage2D](target, level, xoffset, yoffset, format_OR_width, height_OR_type, bitmap_OR_canvas_OR_format_OR_image_OR_pixels_OR_video, type = null, pixels = null) { + if (target == null) dart.nullFailed(I[161], 2650, 11, "target"); + if (level == null) dart.nullFailed(I[161], 2651, 11, "level"); + if (xoffset == null) dart.nullFailed(I[161], 2652, 11, "xoffset"); + if (yoffset == null) dart.nullFailed(I[161], 2653, 11, "yoffset"); + if (format_OR_width == null) dart.nullFailed(I[161], 2654, 11, "format_OR_width"); + if (height_OR_type == null) dart.nullFailed(I[161], 2655, 11, "height_OR_type"); + if (type != null && core.int.is(bitmap_OR_canvas_OR_format_OR_image_OR_pixels_OR_video)) { + this[S$4._texSubImage2D_1](target, level, xoffset, yoffset, format_OR_width, height_OR_type, bitmap_OR_canvas_OR_format_OR_image_OR_pixels_OR_video, type, pixels); + return; + } + if (html$.ImageData.is(bitmap_OR_canvas_OR_format_OR_image_OR_pixels_OR_video) && type == null && pixels == null) { + let pixels_1 = html_common.convertDartToNative_ImageData(bitmap_OR_canvas_OR_format_OR_image_OR_pixels_OR_video); + this[S$4._texSubImage2D_2](target, level, xoffset, yoffset, format_OR_width, height_OR_type, pixels_1); + return; + } + if (html$.ImageElement.is(bitmap_OR_canvas_OR_format_OR_image_OR_pixels_OR_video) && type == null && pixels == null) { + this[S$4._texSubImage2D_3](target, level, xoffset, yoffset, format_OR_width, height_OR_type, bitmap_OR_canvas_OR_format_OR_image_OR_pixels_OR_video); + return; + } + if (html$.CanvasElement.is(bitmap_OR_canvas_OR_format_OR_image_OR_pixels_OR_video) && type == null && pixels == null) { + this[S$4._texSubImage2D_4](target, level, xoffset, yoffset, format_OR_width, height_OR_type, bitmap_OR_canvas_OR_format_OR_image_OR_pixels_OR_video); + return; + } + if (html$.VideoElement.is(bitmap_OR_canvas_OR_format_OR_image_OR_pixels_OR_video) && type == null && pixels == null) { + this[S$4._texSubImage2D_5](target, level, xoffset, yoffset, format_OR_width, height_OR_type, bitmap_OR_canvas_OR_format_OR_image_OR_pixels_OR_video); + return; + } + if (html$.ImageBitmap.is(bitmap_OR_canvas_OR_format_OR_image_OR_pixels_OR_video) && type == null && pixels == null) { + this[S$4._texSubImage2D_6](target, level, xoffset, yoffset, format_OR_width, height_OR_type, bitmap_OR_canvas_OR_format_OR_image_OR_pixels_OR_video); + return; + } + dart.throw(new core.ArgumentError.new("Incorrect number or type of arguments")); + } + [S$4._texSubImage2D_1](...args) { + return this.texSubImage2D.apply(this, args); + } + [S$4._texSubImage2D_2](...args) { + return this.texSubImage2D.apply(this, args); + } + [S$4._texSubImage2D_3](...args) { + return this.texSubImage2D.apply(this, args); + } + [S$4._texSubImage2D_4](...args) { + return this.texSubImage2D.apply(this, args); + } + [S$4._texSubImage2D_5](...args) { + return this.texSubImage2D.apply(this, args); + } + [S$4._texSubImage2D_6](...args) { + return this.texSubImage2D.apply(this, args); + } + [S$4.$uniform1f](...args) { + return this.uniform1f.apply(this, args); + } + [S$4.$uniform1fv](...args) { + return this.uniform1fv.apply(this, args); + } + [S$4.$uniform1i](...args) { + return this.uniform1i.apply(this, args); + } + [S$4.$uniform1iv](...args) { + return this.uniform1iv.apply(this, args); + } + [S$4.$uniform2f](...args) { + return this.uniform2f.apply(this, args); + } + [S$4.$uniform2fv](...args) { + return this.uniform2fv.apply(this, args); + } + [S$4.$uniform2i](...args) { + return this.uniform2i.apply(this, args); + } + [S$4.$uniform2iv](...args) { + return this.uniform2iv.apply(this, args); + } + [S$4.$uniform3f](...args) { + return this.uniform3f.apply(this, args); + } + [S$4.$uniform3fv](...args) { + return this.uniform3fv.apply(this, args); + } + [S$4.$uniform3i](...args) { + return this.uniform3i.apply(this, args); + } + [S$4.$uniform3iv](...args) { + return this.uniform3iv.apply(this, args); + } + [S$4.$uniform4f](...args) { + return this.uniform4f.apply(this, args); + } + [S$4.$uniform4fv](...args) { + return this.uniform4fv.apply(this, args); + } + [S$4.$uniform4i](...args) { + return this.uniform4i.apply(this, args); + } + [S$4.$uniform4iv](...args) { + return this.uniform4iv.apply(this, args); + } + [S$4.$uniformMatrix2fv](...args) { + return this.uniformMatrix2fv.apply(this, args); + } + [S$4.$uniformMatrix3fv](...args) { + return this.uniformMatrix3fv.apply(this, args); + } + [S$4.$uniformMatrix4fv](...args) { + return this.uniformMatrix4fv.apply(this, args); + } + [S$4.$useProgram](...args) { + return this.useProgram.apply(this, args); + } + [S$4.$validateProgram](...args) { + return this.validateProgram.apply(this, args); + } + [S$4.$vertexAttrib1f](...args) { + return this.vertexAttrib1f.apply(this, args); + } + [S$4.$vertexAttrib1fv](...args) { + return this.vertexAttrib1fv.apply(this, args); + } + [S$4.$vertexAttrib2f](...args) { + return this.vertexAttrib2f.apply(this, args); + } + [S$4.$vertexAttrib2fv](...args) { + return this.vertexAttrib2fv.apply(this, args); + } + [S$4.$vertexAttrib3f](...args) { + return this.vertexAttrib3f.apply(this, args); + } + [S$4.$vertexAttrib3fv](...args) { + return this.vertexAttrib3fv.apply(this, args); + } + [S$4.$vertexAttrib4f](...args) { + return this.vertexAttrib4f.apply(this, args); + } + [S$4.$vertexAttrib4fv](...args) { + return this.vertexAttrib4fv.apply(this, args); + } + [S$4.$vertexAttribPointer](...args) { + return this.vertexAttribPointer.apply(this, args); + } + [S$4.$viewport](...args) { + return this.viewport.apply(this, args); + } + [S$4.$readPixels](x, y, width, height, format, type, pixels) { + if (x == null) dart.nullFailed(I[161], 2826, 23, "x"); + if (y == null) dart.nullFailed(I[161], 2826, 30, "y"); + if (width == null) dart.nullFailed(I[161], 2826, 37, "width"); + if (height == null) dart.nullFailed(I[161], 2826, 48, "height"); + if (format == null) dart.nullFailed(I[161], 2826, 60, "format"); + if (type == null) dart.nullFailed(I[161], 2826, 72, "type"); + if (pixels == null) dart.nullFailed(I[161], 2827, 17, "pixels"); + this[S$4._readPixels](x, y, width, height, format, type, pixels); + } +}; +dart.addTypeTests(web_gl.RenderingContext2); +dart.addTypeCaches(web_gl.RenderingContext2); +web_gl.RenderingContext2[dart.implements] = () => [web_gl._WebGL2RenderingContextBase, web_gl._WebGLRenderingContextBase]; +dart.setMethodSignature(web_gl.RenderingContext2, () => ({ + __proto__: dart.getMethods(web_gl.RenderingContext2.__proto__), + [S$4.$beginQuery]: dart.fnType(dart.void, [core.int, web_gl.Query]), + [S$4.$beginTransformFeedback]: dart.fnType(dart.void, [core.int]), + [S$4.$bindBufferBase]: dart.fnType(dart.void, [core.int, core.int, dart.nullable(web_gl.Buffer)]), + [S$4.$bindBufferRange]: dart.fnType(dart.void, [core.int, core.int, dart.nullable(web_gl.Buffer), core.int, core.int]), + [S$4.$bindSampler]: dart.fnType(dart.void, [core.int, dart.nullable(web_gl.Sampler)]), + [S$4.$bindTransformFeedback]: dart.fnType(dart.void, [core.int, dart.nullable(web_gl.TransformFeedback)]), + [S$4.$bindVertexArray]: dart.fnType(dart.void, [dart.nullable(web_gl.VertexArrayObject)]), + [S$4.$blitFramebuffer]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int, core.int, core.int, core.int, core.int, core.int]), + [S$4.$bufferData2]: dart.fnType(dart.void, [core.int, typed_data.TypedData, core.int, core.int], [dart.nullable(core.int)]), + [S$4.$bufferSubData2]: dart.fnType(dart.void, [core.int, core.int, typed_data.TypedData, core.int], [dart.nullable(core.int)]), + [S$4.$clearBufferfi]: dart.fnType(dart.void, [core.int, core.int, core.num, core.int]), + [S$4.$clearBufferfv]: dart.fnType(dart.void, [core.int, core.int, dart.dynamic], [dart.nullable(core.int)]), + [S$4.$clearBufferiv]: dart.fnType(dart.void, [core.int, core.int, dart.dynamic], [dart.nullable(core.int)]), + [S$4.$clearBufferuiv]: dart.fnType(dart.void, [core.int, core.int, dart.dynamic], [dart.nullable(core.int)]), + [S$4.$clientWaitSync]: dart.fnType(core.int, [web_gl.Sync, core.int, core.int]), + [S$4.$compressedTexImage2D2]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int, core.int, typed_data.TypedData, core.int], [dart.nullable(core.int)]), + [S$4.$compressedTexImage2D3]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int, core.int, core.int, core.int]), + [S$4.$compressedTexImage3D]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int, core.int, core.int, typed_data.TypedData], [dart.nullable(core.int), dart.nullable(core.int)]), + [S$4.$compressedTexImage3D2]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int, core.int, core.int, core.int, core.int]), + [S$4.$compressedTexSubImage2D2]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int, core.int, core.int, typed_data.TypedData, core.int], [dart.nullable(core.int)]), + [S$4.$compressedTexSubImage2D3]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int, core.int, core.int, core.int, core.int]), + [S$4.$compressedTexSubImage3D]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int, core.int, core.int, core.int, core.int, typed_data.TypedData], [dart.nullable(core.int), dart.nullable(core.int)]), + [S$4.$compressedTexSubImage3D2]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int, core.int, core.int, core.int, core.int, core.int, core.int]), + [S$4.$copyBufferSubData]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int]), + [S$4.$copyTexSubImage3D]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int, core.int, core.int, core.int, core.int]), + [S$4.$createQuery]: dart.fnType(dart.nullable(web_gl.Query), []), + [S$4.$createSampler]: dart.fnType(dart.nullable(web_gl.Sampler), []), + [S$4.$createTransformFeedback]: dart.fnType(dart.nullable(web_gl.TransformFeedback), []), + [S$4.$createVertexArray]: dart.fnType(dart.nullable(web_gl.VertexArrayObject), []), + [S$4.$deleteQuery]: dart.fnType(dart.void, [dart.nullable(web_gl.Query)]), + [S$4.$deleteSampler]: dart.fnType(dart.void, [dart.nullable(web_gl.Sampler)]), + [S$4.$deleteSync]: dart.fnType(dart.void, [dart.nullable(web_gl.Sync)]), + [S$4.$deleteTransformFeedback]: dart.fnType(dart.void, [dart.nullable(web_gl.TransformFeedback)]), + [S$4.$deleteVertexArray]: dart.fnType(dart.void, [dart.nullable(web_gl.VertexArrayObject)]), + [S$4.$drawArraysInstanced]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int]), + [S$4.$drawBuffers]: dart.fnType(dart.void, [core.List$(core.int)]), + [S$4.$drawElementsInstanced]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int]), + [S$4.$drawRangeElements]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int, core.int]), + [S$4.$endQuery]: dart.fnType(dart.void, [core.int]), + [S$4.$endTransformFeedback]: dart.fnType(dart.void, []), + [S$4.$fenceSync]: dart.fnType(dart.nullable(web_gl.Sync), [core.int, core.int]), + [S$4.$framebufferTextureLayer]: dart.fnType(dart.void, [core.int, core.int, dart.nullable(web_gl.Texture), core.int, core.int]), + [S$4.$getActiveUniformBlockName]: dart.fnType(dart.nullable(core.String), [web_gl.Program, core.int]), + [S$4.$getActiveUniformBlockParameter]: dart.fnType(dart.nullable(core.Object), [web_gl.Program, core.int, core.int]), + [S$4.$getActiveUniforms]: dart.fnType(dart.nullable(core.Object), [web_gl.Program, core.List$(core.int), core.int]), + [S$4.$getBufferSubData]: dart.fnType(dart.void, [core.int, core.int, typed_data.TypedData], [dart.nullable(core.int), dart.nullable(core.int)]), + [S$4.$getFragDataLocation]: dart.fnType(core.int, [web_gl.Program, core.String]), + [S$4.$getIndexedParameter]: dart.fnType(dart.nullable(core.Object), [core.int, core.int]), + [S$4.$getInternalformatParameter]: dart.fnType(dart.nullable(core.Object), [core.int, core.int, core.int]), + [S$4.$getQuery]: dart.fnType(dart.nullable(core.Object), [core.int, core.int]), + [S$4.$getQueryParameter]: dart.fnType(dart.nullable(core.Object), [web_gl.Query, core.int]), + [S$4.$getSamplerParameter]: dart.fnType(dart.nullable(core.Object), [web_gl.Sampler, core.int]), + [S$4.$getSyncParameter]: dart.fnType(dart.nullable(core.Object), [web_gl.Sync, core.int]), + [S$4.$getTransformFeedbackVarying]: dart.fnType(dart.nullable(web_gl.ActiveInfo), [web_gl.Program, core.int]), + [S$4.$getUniformBlockIndex]: dart.fnType(core.int, [web_gl.Program, core.String]), + [S$4.$getUniformIndices]: dart.fnType(dart.nullable(core.List$(core.int)), [web_gl.Program, core.List$(core.String)]), + [S$4._getUniformIndices_1]: dart.fnType(dart.nullable(core.List$(core.int)), [web_gl.Program, core.List]), + [S$4.$invalidateFramebuffer]: dart.fnType(dart.void, [core.int, core.List$(core.int)]), + [S$4.$invalidateSubFramebuffer]: dart.fnType(dart.void, [core.int, core.List$(core.int), core.int, core.int, core.int, core.int]), + [S$4.$isQuery]: dart.fnType(core.bool, [dart.nullable(web_gl.Query)]), + [S$4.$isSampler]: dart.fnType(core.bool, [dart.nullable(web_gl.Sampler)]), + [S$4.$isSync]: dart.fnType(core.bool, [dart.nullable(web_gl.Sync)]), + [S$4.$isTransformFeedback]: dart.fnType(core.bool, [dart.nullable(web_gl.TransformFeedback)]), + [S$4.$isVertexArray]: dart.fnType(core.bool, [dart.nullable(web_gl.VertexArrayObject)]), + [S$4.$pauseTransformFeedback]: dart.fnType(dart.void, []), + [S$4.$readBuffer]: dart.fnType(dart.void, [core.int]), + [S$4.$readPixels2]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int, core.int, dart.dynamic], [dart.nullable(core.int)]), + [S$4.$renderbufferStorageMultisample]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int]), + [S$4.$resumeTransformFeedback]: dart.fnType(dart.void, []), + [S$4.$samplerParameterf]: dart.fnType(dart.void, [web_gl.Sampler, core.int, core.num]), + [S$4.$samplerParameteri]: dart.fnType(dart.void, [web_gl.Sampler, core.int, core.int]), + [S$4.$texImage2D2]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int, core.int, core.int, core.int, dart.dynamic], [dart.nullable(core.int)]), + [S$4._texImage2D2_1]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, core.int]), + [S$4._texImage2D2_2]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic]), + [S$4._texImage2D2_3]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, html$.ImageElement]), + [S$4._texImage2D2_4]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, html$.CanvasElement]), + [S$4._texImage2D2_5]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, html$.VideoElement]), + [S$4._texImage2D2_6]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, html$.ImageBitmap]), + [S$4._texImage2D2_7]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, typed_data.TypedData, dart.dynamic]), + [S$4.$texImage3D]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int, core.int, core.int, core.int, core.int, dart.dynamic], [dart.nullable(core.int)]), + [S$4._texImage3D_1]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, core.int]), + [S$4._texImage3D_2]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic]), + [S$4._texImage3D_3]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, html$.ImageElement]), + [S$4._texImage3D_4]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, html$.CanvasElement]), + [S$4._texImage3D_5]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, html$.VideoElement]), + [S$4._texImage3D_6]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, html$.ImageBitmap]), + [S$4._texImage3D_7]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.nullable(typed_data.TypedData)]), + [S$4._texImage3D_8]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, typed_data.TypedData, dart.dynamic]), + [S$4.$texStorage2D]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int]), + [S$4.$texStorage3D]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int, core.int]), + [S$4.$texSubImage2D2]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int, core.int, core.int, core.int, dart.dynamic], [dart.nullable(core.int)]), + [S$4._texSubImage2D2_1]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, core.int]), + [S$4._texSubImage2D2_2]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic]), + [S$4._texSubImage2D2_3]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, html$.ImageElement]), + [S$4._texSubImage2D2_4]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, html$.CanvasElement]), + [S$4._texSubImage2D2_5]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, html$.VideoElement]), + [S$4._texSubImage2D2_6]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, html$.ImageBitmap]), + [S$4._texSubImage2D2_7]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, typed_data.TypedData, dart.dynamic]), + [S$4.$texSubImage3D]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int, core.int, core.int, core.int, core.int, core.int, dart.dynamic], [dart.nullable(core.int)]), + [S$4._texSubImage3D_1]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, core.int]), + [S$4._texSubImage3D_2]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic]), + [S$4._texSubImage3D_3]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, html$.ImageElement]), + [S$4._texSubImage3D_4]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, html$.CanvasElement]), + [S$4._texSubImage3D_5]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, html$.VideoElement]), + [S$4._texSubImage3D_6]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, html$.ImageBitmap]), + [S$4._texSubImage3D_7]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, typed_data.TypedData]), + [S$4._texSubImage3D_8]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, typed_data.TypedData, dart.dynamic]), + [S$4.$transformFeedbackVaryings]: dart.fnType(dart.void, [web_gl.Program, core.List$(core.String), core.int]), + [S$4._transformFeedbackVaryings_1]: dart.fnType(dart.void, [web_gl.Program, core.List, dart.dynamic]), + [S$4.$uniform1fv2]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), dart.dynamic, core.int], [dart.nullable(core.int)]), + [S$4.$uniform1iv2]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), dart.dynamic, core.int], [dart.nullable(core.int)]), + [S$4.$uniform1ui]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), core.int]), + [S$4.$uniform1uiv]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), dart.dynamic], [dart.nullable(core.int), dart.nullable(core.int)]), + [S$4.$uniform2fv2]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), dart.dynamic, core.int], [dart.nullable(core.int)]), + [S$4.$uniform2iv2]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), dart.dynamic, core.int], [dart.nullable(core.int)]), + [S$4.$uniform2ui]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), core.int, core.int]), + [S$4.$uniform2uiv]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), dart.dynamic], [dart.nullable(core.int), dart.nullable(core.int)]), + [S$4.$uniform3fv2]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), dart.dynamic, core.int], [dart.nullable(core.int)]), + [S$4.$uniform3iv2]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), dart.dynamic, core.int], [dart.nullable(core.int)]), + [S$4.$uniform3ui]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), core.int, core.int, core.int]), + [S$4.$uniform3uiv]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), dart.dynamic], [dart.nullable(core.int), dart.nullable(core.int)]), + [S$4.$uniform4fv2]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), dart.dynamic, core.int], [dart.nullable(core.int)]), + [S$4.$uniform4iv2]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), dart.dynamic, core.int], [dart.nullable(core.int)]), + [S$4.$uniform4ui]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), core.int, core.int, core.int, core.int]), + [S$4.$uniform4uiv]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), dart.dynamic], [dart.nullable(core.int), dart.nullable(core.int)]), + [S$4.$uniformBlockBinding]: dart.fnType(dart.void, [web_gl.Program, core.int, core.int]), + [S$4.$uniformMatrix2fv2]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), core.bool, dart.dynamic, core.int], [dart.nullable(core.int)]), + [S$4.$uniformMatrix2x3fv]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), core.bool, dart.dynamic], [dart.nullable(core.int), dart.nullable(core.int)]), + [S$4.$uniformMatrix2x4fv]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), core.bool, dart.dynamic], [dart.nullable(core.int), dart.nullable(core.int)]), + [S$4.$uniformMatrix3fv2]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), core.bool, dart.dynamic, core.int], [dart.nullable(core.int)]), + [S$4.$uniformMatrix3x2fv]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), core.bool, dart.dynamic], [dart.nullable(core.int), dart.nullable(core.int)]), + [S$4.$uniformMatrix3x4fv]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), core.bool, dart.dynamic], [dart.nullable(core.int), dart.nullable(core.int)]), + [S$4.$uniformMatrix4fv2]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), core.bool, dart.dynamic, core.int], [dart.nullable(core.int)]), + [S$4.$uniformMatrix4x2fv]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), core.bool, dart.dynamic], [dart.nullable(core.int), dart.nullable(core.int)]), + [S$4.$uniformMatrix4x3fv]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), core.bool, dart.dynamic], [dart.nullable(core.int), dart.nullable(core.int)]), + [S$4.$vertexAttribDivisor]: dart.fnType(dart.void, [core.int, core.int]), + [S$4.$vertexAttribI4i]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int]), + [S$4.$vertexAttribI4iv]: dart.fnType(dart.void, [core.int, dart.dynamic]), + [S$4.$vertexAttribI4ui]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int]), + [S$4.$vertexAttribI4uiv]: dart.fnType(dart.void, [core.int, dart.dynamic]), + [S$4.$vertexAttribIPointer]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int]), + [S$4.$waitSync]: dart.fnType(dart.void, [web_gl.Sync, core.int, core.int]), + [S$4.$activeTexture]: dart.fnType(dart.void, [core.int]), + [S$4.$attachShader]: dart.fnType(dart.void, [web_gl.Program, web_gl.Shader]), + [S$4.$bindAttribLocation]: dart.fnType(dart.void, [web_gl.Program, core.int, core.String]), + [S$4.$bindBuffer]: dart.fnType(dart.void, [core.int, dart.nullable(web_gl.Buffer)]), + [S$4.$bindFramebuffer]: dart.fnType(dart.void, [core.int, dart.nullable(web_gl.Framebuffer)]), + [S$4.$bindRenderbuffer]: dart.fnType(dart.void, [core.int, dart.nullable(web_gl.Renderbuffer)]), + [S$4.$bindTexture]: dart.fnType(dart.void, [core.int, dart.nullable(web_gl.Texture)]), + [S$4.$blendColor]: dart.fnType(dart.void, [core.num, core.num, core.num, core.num]), + [S$4.$blendEquation]: dart.fnType(dart.void, [core.int]), + [S$4.$blendEquationSeparate]: dart.fnType(dart.void, [core.int, core.int]), + [S$4.$blendFunc]: dart.fnType(dart.void, [core.int, core.int]), + [S$4.$blendFuncSeparate]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int]), + [S$4.$bufferData]: dart.fnType(dart.void, [core.int, dart.dynamic, core.int]), + [S$4.$bufferSubData]: dart.fnType(dart.void, [core.int, core.int, dart.dynamic]), + [S$4.$checkFramebufferStatus]: dart.fnType(core.int, [core.int]), + [$clear]: dart.fnType(dart.void, [core.int]), + [S$4.$clearColor]: dart.fnType(dart.void, [core.num, core.num, core.num, core.num]), + [S$4.$clearDepth]: dart.fnType(dart.void, [core.num]), + [S$4.$clearStencil]: dart.fnType(dart.void, [core.int]), + [S$4.$colorMask]: dart.fnType(dart.void, [core.bool, core.bool, core.bool, core.bool]), + [S$2.$commit]: dart.fnType(async.Future, []), + [S$4.$compileShader]: dart.fnType(dart.void, [web_gl.Shader]), + [S$4.$compressedTexImage2D]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int, core.int, typed_data.TypedData]), + [S$4.$compressedTexSubImage2D]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int, core.int, core.int, typed_data.TypedData]), + [S$4.$copyTexImage2D]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int, core.int, core.int, core.int]), + [S$4.$copyTexSubImage2D]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int, core.int, core.int, core.int]), + [S$3.$createBuffer]: dart.fnType(web_gl.Buffer, []), + [S$4.$createFramebuffer]: dart.fnType(web_gl.Framebuffer, []), + [S$4.$createProgram]: dart.fnType(web_gl.Program, []), + [S$4.$createRenderbuffer]: dart.fnType(web_gl.Renderbuffer, []), + [S$4.$createShader]: dart.fnType(web_gl.Shader, [core.int]), + [S$4.$createTexture]: dart.fnType(web_gl.Texture, []), + [S$4.$cullFace]: dart.fnType(dart.void, [core.int]), + [S$4.$deleteBuffer]: dart.fnType(dart.void, [dart.nullable(web_gl.Buffer)]), + [S$4.$deleteFramebuffer]: dart.fnType(dart.void, [dart.nullable(web_gl.Framebuffer)]), + [S$4.$deleteProgram]: dart.fnType(dart.void, [dart.nullable(web_gl.Program)]), + [S$4.$deleteRenderbuffer]: dart.fnType(dart.void, [dart.nullable(web_gl.Renderbuffer)]), + [S$4.$deleteShader]: dart.fnType(dart.void, [dart.nullable(web_gl.Shader)]), + [S$4.$deleteTexture]: dart.fnType(dart.void, [dart.nullable(web_gl.Texture)]), + [S$4.$depthFunc]: dart.fnType(dart.void, [core.int]), + [S$4.$depthMask]: dart.fnType(dart.void, [core.bool]), + [S$4.$depthRange]: dart.fnType(dart.void, [core.num, core.num]), + [S$4.$detachShader]: dart.fnType(dart.void, [web_gl.Program, web_gl.Shader]), + [S$1.$disable]: dart.fnType(dart.void, [core.int]), + [S$4.$disableVertexAttribArray]: dart.fnType(dart.void, [core.int]), + [S$4.$drawArrays]: dart.fnType(dart.void, [core.int, core.int, core.int]), + [S$4.$drawElements]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int]), + [S$1.$enable]: dart.fnType(dart.void, [core.int]), + [S$4.$enableVertexAttribArray]: dart.fnType(dart.void, [core.int]), + [S$.$finish]: dart.fnType(dart.void, []), + [S$4.$flush]: dart.fnType(dart.void, []), + [S$4.$framebufferRenderbuffer]: dart.fnType(dart.void, [core.int, core.int, core.int, dart.nullable(web_gl.Renderbuffer)]), + [S$4.$framebufferTexture2D]: dart.fnType(dart.void, [core.int, core.int, core.int, dart.nullable(web_gl.Texture), core.int]), + [S$4.$frontFace]: dart.fnType(dart.void, [core.int]), + [S$4.$generateMipmap]: dart.fnType(dart.void, [core.int]), + [S$4.$getActiveAttrib]: dart.fnType(web_gl.ActiveInfo, [web_gl.Program, core.int]), + [S$4.$getActiveUniform]: dart.fnType(web_gl.ActiveInfo, [web_gl.Program, core.int]), + [S$4.$getAttachedShaders]: dart.fnType(dart.nullable(core.List$(web_gl.Shader)), [web_gl.Program]), + [S$4.$getAttribLocation]: dart.fnType(core.int, [web_gl.Program, core.String]), + [S$4.$getBufferParameter]: dart.fnType(dart.nullable(core.Object), [core.int, core.int]), + [S$.$getContextAttributes]: dart.fnType(dart.nullable(core.Map), []), + [S$4._getContextAttributes_1$1]: dart.fnType(dart.dynamic, []), + [S$4.$getError]: dart.fnType(core.int, []), + [S$4.$getExtension]: dart.fnType(dart.nullable(core.Object), [core.String]), + [S$4.$getFramebufferAttachmentParameter]: dart.fnType(dart.nullable(core.Object), [core.int, core.int, core.int]), + [S$3.$getParameter]: dart.fnType(dart.nullable(core.Object), [core.int]), + [S$4.$getProgramInfoLog]: dart.fnType(dart.nullable(core.String), [web_gl.Program]), + [S$4.$getProgramParameter]: dart.fnType(dart.nullable(core.Object), [web_gl.Program, core.int]), + [S$4.$getRenderbufferParameter]: dart.fnType(dart.nullable(core.Object), [core.int, core.int]), + [S$4.$getShaderInfoLog]: dart.fnType(dart.nullable(core.String), [web_gl.Shader]), + [S$4.$getShaderParameter]: dart.fnType(dart.nullable(core.Object), [web_gl.Shader, core.int]), + [S$4.$getShaderPrecisionFormat]: dart.fnType(web_gl.ShaderPrecisionFormat, [core.int, core.int]), + [S$4.$getShaderSource]: dart.fnType(dart.nullable(core.String), [web_gl.Shader]), + [S$4.$getSupportedExtensions]: dart.fnType(dart.nullable(core.List$(core.String)), []), + [S$4.$getTexParameter]: dart.fnType(dart.nullable(core.Object), [core.int, core.int]), + [S$4.$getUniform]: dart.fnType(dart.nullable(core.Object), [web_gl.Program, web_gl.UniformLocation]), + [S$4.$getUniformLocation]: dart.fnType(web_gl.UniformLocation, [web_gl.Program, core.String]), + [S$4.$getVertexAttrib]: dart.fnType(dart.nullable(core.Object), [core.int, core.int]), + [S$4.$getVertexAttribOffset]: dart.fnType(core.int, [core.int, core.int]), + [S$4.$hint]: dart.fnType(dart.void, [core.int, core.int]), + [S$4.$isBuffer]: dart.fnType(core.bool, [dart.nullable(web_gl.Buffer)]), + [S$.$isContextLost]: dart.fnType(core.bool, []), + [S$4.$isEnabled]: dart.fnType(core.bool, [core.int]), + [S$4.$isFramebuffer]: dart.fnType(core.bool, [dart.nullable(web_gl.Framebuffer)]), + [S$4.$isProgram]: dart.fnType(core.bool, [dart.nullable(web_gl.Program)]), + [S$4.$isRenderbuffer]: dart.fnType(core.bool, [dart.nullable(web_gl.Renderbuffer)]), + [S$4.$isShader]: dart.fnType(core.bool, [dart.nullable(web_gl.Shader)]), + [S$4.$isTexture]: dart.fnType(core.bool, [dart.nullable(web_gl.Texture)]), + [S$.$lineWidth]: dart.fnType(dart.void, [core.num]), + [S$4.$linkProgram]: dart.fnType(dart.void, [web_gl.Program]), + [S$4.$pixelStorei]: dart.fnType(dart.void, [core.int, core.int]), + [S$4.$polygonOffset]: dart.fnType(dart.void, [core.num, core.num]), + [S$4._readPixels]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int, core.int, dart.nullable(typed_data.TypedData)]), + [S$4.$renderbufferStorage]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int]), + [S$4.$sampleCoverage]: dart.fnType(dart.void, [core.num, core.bool]), + [S$4.$scissor]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int]), + [S$4.$shaderSource]: dart.fnType(dart.void, [web_gl.Shader, core.String]), + [S$4.$stencilFunc]: dart.fnType(dart.void, [core.int, core.int, core.int]), + [S$4.$stencilFuncSeparate]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int]), + [S$4.$stencilMask]: dart.fnType(dart.void, [core.int]), + [S$4.$stencilMaskSeparate]: dart.fnType(dart.void, [core.int, core.int]), + [S$4.$stencilOp]: dart.fnType(dart.void, [core.int, core.int, core.int]), + [S$4.$stencilOpSeparate]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int]), + [S$4.$texImage2D]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int, dart.dynamic], [dart.nullable(core.int), dart.nullable(core.int), dart.nullable(typed_data.TypedData)]), + [S$4._texImage2D_1]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, core.int, dart.dynamic, dart.dynamic, dart.nullable(typed_data.TypedData)]), + [S$4._texImage2D_2]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic]), + [S$4._texImage2D_3]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, html$.ImageElement]), + [S$4._texImage2D_4]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, html$.CanvasElement]), + [S$4._texImage2D_5]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, html$.VideoElement]), + [S$4._texImage2D_6]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, html$.ImageBitmap]), + [S$4.$texParameterf]: dart.fnType(dart.void, [core.int, core.int, core.num]), + [S$4.$texParameteri]: dart.fnType(dart.void, [core.int, core.int, core.int]), + [S$4.$texSubImage2D]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int, core.int, dart.dynamic], [dart.nullable(core.int), dart.nullable(typed_data.TypedData)]), + [S$4._texSubImage2D_1]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, core.int, dart.dynamic, dart.nullable(typed_data.TypedData)]), + [S$4._texSubImage2D_2]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic]), + [S$4._texSubImage2D_3]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, html$.ImageElement]), + [S$4._texSubImage2D_4]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, html$.CanvasElement]), + [S$4._texSubImage2D_5]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, html$.VideoElement]), + [S$4._texSubImage2D_6]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, html$.ImageBitmap]), + [S$4.$uniform1f]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), core.num]), + [S$4.$uniform1fv]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), dart.dynamic]), + [S$4.$uniform1i]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), core.int]), + [S$4.$uniform1iv]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), dart.dynamic]), + [S$4.$uniform2f]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), core.num, core.num]), + [S$4.$uniform2fv]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), dart.dynamic]), + [S$4.$uniform2i]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), core.int, core.int]), + [S$4.$uniform2iv]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), dart.dynamic]), + [S$4.$uniform3f]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), core.num, core.num, core.num]), + [S$4.$uniform3fv]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), dart.dynamic]), + [S$4.$uniform3i]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), core.int, core.int, core.int]), + [S$4.$uniform3iv]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), dart.dynamic]), + [S$4.$uniform4f]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), core.num, core.num, core.num, core.num]), + [S$4.$uniform4fv]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), dart.dynamic]), + [S$4.$uniform4i]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), core.int, core.int, core.int, core.int]), + [S$4.$uniform4iv]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), dart.dynamic]), + [S$4.$uniformMatrix2fv]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), core.bool, dart.dynamic]), + [S$4.$uniformMatrix3fv]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), core.bool, dart.dynamic]), + [S$4.$uniformMatrix4fv]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), core.bool, dart.dynamic]), + [S$4.$useProgram]: dart.fnType(dart.void, [dart.nullable(web_gl.Program)]), + [S$4.$validateProgram]: dart.fnType(dart.void, [web_gl.Program]), + [S$4.$vertexAttrib1f]: dart.fnType(dart.void, [core.int, core.num]), + [S$4.$vertexAttrib1fv]: dart.fnType(dart.void, [core.int, dart.dynamic]), + [S$4.$vertexAttrib2f]: dart.fnType(dart.void, [core.int, core.num, core.num]), + [S$4.$vertexAttrib2fv]: dart.fnType(dart.void, [core.int, dart.dynamic]), + [S$4.$vertexAttrib3f]: dart.fnType(dart.void, [core.int, core.num, core.num, core.num]), + [S$4.$vertexAttrib3fv]: dart.fnType(dart.void, [core.int, dart.dynamic]), + [S$4.$vertexAttrib4f]: dart.fnType(dart.void, [core.int, core.num, core.num, core.num, core.num]), + [S$4.$vertexAttrib4fv]: dart.fnType(dart.void, [core.int, dart.dynamic]), + [S$4.$vertexAttribPointer]: dart.fnType(dart.void, [core.int, core.int, core.int, core.bool, core.int, core.int]), + [S$4.$viewport]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int]), + [S$4.$readPixels]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int, core.int, typed_data.TypedData]) +})); +dart.setGetterSignature(web_gl.RenderingContext2, () => ({ + __proto__: dart.getGetters(web_gl.RenderingContext2.__proto__), + [S$.$canvas]: dart.nullable(web_gl.Canvas), + [S$4.$drawingBufferHeight]: dart.nullable(core.int), + [S$4.$drawingBufferWidth]: dart.nullable(core.int) +})); +dart.setLibraryUri(web_gl.RenderingContext2, I[160]); +dart.registerExtension("WebGL2RenderingContext", web_gl.RenderingContext2); +web_gl.Sampler = class Sampler extends _interceptors.Interceptor {}; +dart.addTypeTests(web_gl.Sampler); +dart.addTypeCaches(web_gl.Sampler); +dart.setLibraryUri(web_gl.Sampler, I[160]); +dart.registerExtension("WebGLSampler", web_gl.Sampler); +web_gl.Shader = class Shader extends _interceptors.Interceptor {}; +dart.addTypeTests(web_gl.Shader); +dart.addTypeCaches(web_gl.Shader); +dart.setLibraryUri(web_gl.Shader, I[160]); +dart.registerExtension("WebGLShader", web_gl.Shader); +web_gl.ShaderPrecisionFormat = class ShaderPrecisionFormat extends _interceptors.Interceptor { + get [S$4.$precision]() { + return this.precision; + } + get [S$4.$rangeMax]() { + return this.rangeMax; + } + get [S$4.$rangeMin]() { + return this.rangeMin; + } +}; +dart.addTypeTests(web_gl.ShaderPrecisionFormat); +dart.addTypeCaches(web_gl.ShaderPrecisionFormat); +dart.setGetterSignature(web_gl.ShaderPrecisionFormat, () => ({ + __proto__: dart.getGetters(web_gl.ShaderPrecisionFormat.__proto__), + [S$4.$precision]: core.int, + [S$4.$rangeMax]: core.int, + [S$4.$rangeMin]: core.int +})); +dart.setLibraryUri(web_gl.ShaderPrecisionFormat, I[160]); +dart.registerExtension("WebGLShaderPrecisionFormat", web_gl.ShaderPrecisionFormat); +web_gl.Sync = class Sync extends _interceptors.Interceptor {}; +dart.addTypeTests(web_gl.Sync); +dart.addTypeCaches(web_gl.Sync); +dart.setLibraryUri(web_gl.Sync, I[160]); +dart.registerExtension("WebGLSync", web_gl.Sync); +web_gl.Texture = class Texture extends _interceptors.Interceptor { + get [S$4.$lastUploadedVideoFrameWasSkipped]() { + return this.lastUploadedVideoFrameWasSkipped; + } + get [S$4.$lastUploadedVideoHeight]() { + return this.lastUploadedVideoHeight; + } + get [S$4.$lastUploadedVideoTimestamp]() { + return this.lastUploadedVideoTimestamp; + } + get [S$4.$lastUploadedVideoWidth]() { + return this.lastUploadedVideoWidth; + } +}; +dart.addTypeTests(web_gl.Texture); +dart.addTypeCaches(web_gl.Texture); +dart.setGetterSignature(web_gl.Texture, () => ({ + __proto__: dart.getGetters(web_gl.Texture.__proto__), + [S$4.$lastUploadedVideoFrameWasSkipped]: dart.nullable(core.bool), + [S$4.$lastUploadedVideoHeight]: dart.nullable(core.int), + [S$4.$lastUploadedVideoTimestamp]: dart.nullable(core.num), + [S$4.$lastUploadedVideoWidth]: dart.nullable(core.int) +})); +dart.setLibraryUri(web_gl.Texture, I[160]); +dart.registerExtension("WebGLTexture", web_gl.Texture); +web_gl.TimerQueryExt = class TimerQueryExt extends _interceptors.Interceptor {}; +dart.addTypeTests(web_gl.TimerQueryExt); +dart.addTypeCaches(web_gl.TimerQueryExt); +dart.setLibraryUri(web_gl.TimerQueryExt, I[160]); +dart.registerExtension("WebGLTimerQueryEXT", web_gl.TimerQueryExt); +web_gl.TransformFeedback = class TransformFeedback extends _interceptors.Interceptor {}; +dart.addTypeTests(web_gl.TransformFeedback); +dart.addTypeCaches(web_gl.TransformFeedback); +dart.setLibraryUri(web_gl.TransformFeedback, I[160]); +dart.registerExtension("WebGLTransformFeedback", web_gl.TransformFeedback); +web_gl.UniformLocation = class UniformLocation extends _interceptors.Interceptor {}; +dart.addTypeTests(web_gl.UniformLocation); +dart.addTypeCaches(web_gl.UniformLocation); +dart.setLibraryUri(web_gl.UniformLocation, I[160]); +dart.registerExtension("WebGLUniformLocation", web_gl.UniformLocation); +web_gl.VertexArrayObject = class VertexArrayObject extends _interceptors.Interceptor {}; +dart.addTypeTests(web_gl.VertexArrayObject); +dart.addTypeCaches(web_gl.VertexArrayObject); +dart.setLibraryUri(web_gl.VertexArrayObject, I[160]); +dart.registerExtension("WebGLVertexArrayObject", web_gl.VertexArrayObject); +web_gl.VertexArrayObjectOes = class VertexArrayObjectOes extends _interceptors.Interceptor {}; +dart.addTypeTests(web_gl.VertexArrayObjectOes); +dart.addTypeCaches(web_gl.VertexArrayObjectOes); +dart.setLibraryUri(web_gl.VertexArrayObjectOes, I[160]); +dart.registerExtension("WebGLVertexArrayObjectOES", web_gl.VertexArrayObjectOes); +web_gl.WebGL = class WebGL extends core.Object {}; +(web_gl.WebGL[dart.mixinNew] = function() { +}).prototype = web_gl.WebGL.prototype; +dart.addTypeTests(web_gl.WebGL); +dart.addTypeCaches(web_gl.WebGL); +dart.setLibraryUri(web_gl.WebGL, I[160]); +dart.defineLazy(web_gl.WebGL, { + /*web_gl.WebGL.ACTIVE_ATTRIBUTES*/get ACTIVE_ATTRIBUTES() { + return 35721; + }, + /*web_gl.WebGL.ACTIVE_TEXTURE*/get ACTIVE_TEXTURE() { + return 34016; + }, + /*web_gl.WebGL.ACTIVE_UNIFORMS*/get ACTIVE_UNIFORMS() { + return 35718; + }, + /*web_gl.WebGL.ACTIVE_UNIFORM_BLOCKS*/get ACTIVE_UNIFORM_BLOCKS() { + return 35382; + }, + /*web_gl.WebGL.ALIASED_LINE_WIDTH_RANGE*/get ALIASED_LINE_WIDTH_RANGE() { + return 33902; + }, + /*web_gl.WebGL.ALIASED_POINT_SIZE_RANGE*/get ALIASED_POINT_SIZE_RANGE() { + return 33901; + }, + /*web_gl.WebGL.ALPHA*/get ALPHA() { + return 6406; + }, + /*web_gl.WebGL.ALPHA_BITS*/get ALPHA_BITS() { + return 3413; + }, + /*web_gl.WebGL.ALREADY_SIGNALED*/get ALREADY_SIGNALED() { + return 37146; + }, + /*web_gl.WebGL.ALWAYS*/get ALWAYS() { + return 519; + }, + /*web_gl.WebGL.ANY_SAMPLES_PASSED*/get ANY_SAMPLES_PASSED() { + return 35887; + }, + /*web_gl.WebGL.ANY_SAMPLES_PASSED_CONSERVATIVE*/get ANY_SAMPLES_PASSED_CONSERVATIVE() { + return 36202; + }, + /*web_gl.WebGL.ARRAY_BUFFER*/get ARRAY_BUFFER() { + return 34962; + }, + /*web_gl.WebGL.ARRAY_BUFFER_BINDING*/get ARRAY_BUFFER_BINDING() { + return 34964; + }, + /*web_gl.WebGL.ATTACHED_SHADERS*/get ATTACHED_SHADERS() { + return 35717; + }, + /*web_gl.WebGL.BACK*/get BACK() { + return 1029; + }, + /*web_gl.WebGL.BLEND*/get BLEND() { + return 3042; + }, + /*web_gl.WebGL.BLEND_COLOR*/get BLEND_COLOR() { + return 32773; + }, + /*web_gl.WebGL.BLEND_DST_ALPHA*/get BLEND_DST_ALPHA() { + return 32970; + }, + /*web_gl.WebGL.BLEND_DST_RGB*/get BLEND_DST_RGB() { + return 32968; + }, + /*web_gl.WebGL.BLEND_EQUATION*/get BLEND_EQUATION() { + return 32777; + }, + /*web_gl.WebGL.BLEND_EQUATION_ALPHA*/get BLEND_EQUATION_ALPHA() { + return 34877; + }, + /*web_gl.WebGL.BLEND_EQUATION_RGB*/get BLEND_EQUATION_RGB() { + return 32777; + }, + /*web_gl.WebGL.BLEND_SRC_ALPHA*/get BLEND_SRC_ALPHA() { + return 32971; + }, + /*web_gl.WebGL.BLEND_SRC_RGB*/get BLEND_SRC_RGB() { + return 32969; + }, + /*web_gl.WebGL.BLUE_BITS*/get BLUE_BITS() { + return 3412; + }, + /*web_gl.WebGL.BOOL*/get BOOL() { + return 35670; + }, + /*web_gl.WebGL.BOOL_VEC2*/get BOOL_VEC2() { + return 35671; + }, + /*web_gl.WebGL.BOOL_VEC3*/get BOOL_VEC3() { + return 35672; + }, + /*web_gl.WebGL.BOOL_VEC4*/get BOOL_VEC4() { + return 35673; + }, + /*web_gl.WebGL.BROWSER_DEFAULT_WEBGL*/get BROWSER_DEFAULT_WEBGL() { + return 37444; + }, + /*web_gl.WebGL.BUFFER_SIZE*/get BUFFER_SIZE() { + return 34660; + }, + /*web_gl.WebGL.BUFFER_USAGE*/get BUFFER_USAGE() { + return 34661; + }, + /*web_gl.WebGL.BYTE*/get BYTE() { + return 5120; + }, + /*web_gl.WebGL.CCW*/get CCW() { + return 2305; + }, + /*web_gl.WebGL.CLAMP_TO_EDGE*/get CLAMP_TO_EDGE() { + return 33071; + }, + /*web_gl.WebGL.COLOR*/get COLOR() { + return 6144; + }, + /*web_gl.WebGL.COLOR_ATTACHMENT0*/get COLOR_ATTACHMENT0() { + return 36064; + }, + /*web_gl.WebGL.COLOR_ATTACHMENT0_WEBGL*/get COLOR_ATTACHMENT0_WEBGL() { + return 36064; + }, + /*web_gl.WebGL.COLOR_ATTACHMENT1*/get COLOR_ATTACHMENT1() { + return 36065; + }, + /*web_gl.WebGL.COLOR_ATTACHMENT10*/get COLOR_ATTACHMENT10() { + return 36074; + }, + /*web_gl.WebGL.COLOR_ATTACHMENT10_WEBGL*/get COLOR_ATTACHMENT10_WEBGL() { + return 36074; + }, + /*web_gl.WebGL.COLOR_ATTACHMENT11*/get COLOR_ATTACHMENT11() { + return 36075; + }, + /*web_gl.WebGL.COLOR_ATTACHMENT11_WEBGL*/get COLOR_ATTACHMENT11_WEBGL() { + return 36075; + }, + /*web_gl.WebGL.COLOR_ATTACHMENT12*/get COLOR_ATTACHMENT12() { + return 36076; + }, + /*web_gl.WebGL.COLOR_ATTACHMENT12_WEBGL*/get COLOR_ATTACHMENT12_WEBGL() { + return 36076; + }, + /*web_gl.WebGL.COLOR_ATTACHMENT13*/get COLOR_ATTACHMENT13() { + return 36077; + }, + /*web_gl.WebGL.COLOR_ATTACHMENT13_WEBGL*/get COLOR_ATTACHMENT13_WEBGL() { + return 36077; + }, + /*web_gl.WebGL.COLOR_ATTACHMENT14*/get COLOR_ATTACHMENT14() { + return 36078; + }, + /*web_gl.WebGL.COLOR_ATTACHMENT14_WEBGL*/get COLOR_ATTACHMENT14_WEBGL() { + return 36078; + }, + /*web_gl.WebGL.COLOR_ATTACHMENT15*/get COLOR_ATTACHMENT15() { + return 36079; + }, + /*web_gl.WebGL.COLOR_ATTACHMENT15_WEBGL*/get COLOR_ATTACHMENT15_WEBGL() { + return 36079; + }, + /*web_gl.WebGL.COLOR_ATTACHMENT1_WEBGL*/get COLOR_ATTACHMENT1_WEBGL() { + return 36065; + }, + /*web_gl.WebGL.COLOR_ATTACHMENT2*/get COLOR_ATTACHMENT2() { + return 36066; + }, + /*web_gl.WebGL.COLOR_ATTACHMENT2_WEBGL*/get COLOR_ATTACHMENT2_WEBGL() { + return 36066; + }, + /*web_gl.WebGL.COLOR_ATTACHMENT3*/get COLOR_ATTACHMENT3() { + return 36067; + }, + /*web_gl.WebGL.COLOR_ATTACHMENT3_WEBGL*/get COLOR_ATTACHMENT3_WEBGL() { + return 36067; + }, + /*web_gl.WebGL.COLOR_ATTACHMENT4*/get COLOR_ATTACHMENT4() { + return 36068; + }, + /*web_gl.WebGL.COLOR_ATTACHMENT4_WEBGL*/get COLOR_ATTACHMENT4_WEBGL() { + return 36068; + }, + /*web_gl.WebGL.COLOR_ATTACHMENT5*/get COLOR_ATTACHMENT5() { + return 36069; + }, + /*web_gl.WebGL.COLOR_ATTACHMENT5_WEBGL*/get COLOR_ATTACHMENT5_WEBGL() { + return 36069; + }, + /*web_gl.WebGL.COLOR_ATTACHMENT6*/get COLOR_ATTACHMENT6() { + return 36070; + }, + /*web_gl.WebGL.COLOR_ATTACHMENT6_WEBGL*/get COLOR_ATTACHMENT6_WEBGL() { + return 36070; + }, + /*web_gl.WebGL.COLOR_ATTACHMENT7*/get COLOR_ATTACHMENT7() { + return 36071; + }, + /*web_gl.WebGL.COLOR_ATTACHMENT7_WEBGL*/get COLOR_ATTACHMENT7_WEBGL() { + return 36071; + }, + /*web_gl.WebGL.COLOR_ATTACHMENT8*/get COLOR_ATTACHMENT8() { + return 36072; + }, + /*web_gl.WebGL.COLOR_ATTACHMENT8_WEBGL*/get COLOR_ATTACHMENT8_WEBGL() { + return 36072; + }, + /*web_gl.WebGL.COLOR_ATTACHMENT9*/get COLOR_ATTACHMENT9() { + return 36073; + }, + /*web_gl.WebGL.COLOR_ATTACHMENT9_WEBGL*/get COLOR_ATTACHMENT9_WEBGL() { + return 36073; + }, + /*web_gl.WebGL.COLOR_BUFFER_BIT*/get COLOR_BUFFER_BIT() { + return 16384; + }, + /*web_gl.WebGL.COLOR_CLEAR_VALUE*/get COLOR_CLEAR_VALUE() { + return 3106; + }, + /*web_gl.WebGL.COLOR_WRITEMASK*/get COLOR_WRITEMASK() { + return 3107; + }, + /*web_gl.WebGL.COMPARE_REF_TO_TEXTURE*/get COMPARE_REF_TO_TEXTURE() { + return 34894; + }, + /*web_gl.WebGL.COMPILE_STATUS*/get COMPILE_STATUS() { + return 35713; + }, + /*web_gl.WebGL.COMPRESSED_TEXTURE_FORMATS*/get COMPRESSED_TEXTURE_FORMATS() { + return 34467; + }, + /*web_gl.WebGL.CONDITION_SATISFIED*/get CONDITION_SATISFIED() { + return 37148; + }, + /*web_gl.WebGL.CONSTANT_ALPHA*/get CONSTANT_ALPHA() { + return 32771; + }, + /*web_gl.WebGL.CONSTANT_COLOR*/get CONSTANT_COLOR() { + return 32769; + }, + /*web_gl.WebGL.CONTEXT_LOST_WEBGL*/get CONTEXT_LOST_WEBGL() { + return 37442; + }, + /*web_gl.WebGL.COPY_READ_BUFFER*/get COPY_READ_BUFFER() { + return 36662; + }, + /*web_gl.WebGL.COPY_READ_BUFFER_BINDING*/get COPY_READ_BUFFER_BINDING() { + return 36662; + }, + /*web_gl.WebGL.COPY_WRITE_BUFFER*/get COPY_WRITE_BUFFER() { + return 36663; + }, + /*web_gl.WebGL.COPY_WRITE_BUFFER_BINDING*/get COPY_WRITE_BUFFER_BINDING() { + return 36663; + }, + /*web_gl.WebGL.CULL_FACE*/get CULL_FACE() { + return 2884; + }, + /*web_gl.WebGL.CULL_FACE_MODE*/get CULL_FACE_MODE() { + return 2885; + }, + /*web_gl.WebGL.CURRENT_PROGRAM*/get CURRENT_PROGRAM() { + return 35725; + }, + /*web_gl.WebGL.CURRENT_QUERY*/get CURRENT_QUERY() { + return 34917; + }, + /*web_gl.WebGL.CURRENT_VERTEX_ATTRIB*/get CURRENT_VERTEX_ATTRIB() { + return 34342; + }, + /*web_gl.WebGL.CW*/get CW() { + return 2304; + }, + /*web_gl.WebGL.DECR*/get DECR() { + return 7683; + }, + /*web_gl.WebGL.DECR_WRAP*/get DECR_WRAP() { + return 34056; + }, + /*web_gl.WebGL.DELETE_STATUS*/get DELETE_STATUS() { + return 35712; + }, + /*web_gl.WebGL.DEPTH*/get DEPTH() { + return 6145; + }, + /*web_gl.WebGL.DEPTH24_STENCIL8*/get DEPTH24_STENCIL8() { + return 35056; + }, + /*web_gl.WebGL.DEPTH32F_STENCIL8*/get DEPTH32F_STENCIL8() { + return 36013; + }, + /*web_gl.WebGL.DEPTH_ATTACHMENT*/get DEPTH_ATTACHMENT() { + return 36096; + }, + /*web_gl.WebGL.DEPTH_BITS*/get DEPTH_BITS() { + return 3414; + }, + /*web_gl.WebGL.DEPTH_BUFFER_BIT*/get DEPTH_BUFFER_BIT() { + return 256; + }, + /*web_gl.WebGL.DEPTH_CLEAR_VALUE*/get DEPTH_CLEAR_VALUE() { + return 2931; + }, + /*web_gl.WebGL.DEPTH_COMPONENT*/get DEPTH_COMPONENT() { + return 6402; + }, + /*web_gl.WebGL.DEPTH_COMPONENT16*/get DEPTH_COMPONENT16() { + return 33189; + }, + /*web_gl.WebGL.DEPTH_COMPONENT24*/get DEPTH_COMPONENT24() { + return 33190; + }, + /*web_gl.WebGL.DEPTH_COMPONENT32F*/get DEPTH_COMPONENT32F() { + return 36012; + }, + /*web_gl.WebGL.DEPTH_FUNC*/get DEPTH_FUNC() { + return 2932; + }, + /*web_gl.WebGL.DEPTH_RANGE*/get DEPTH_RANGE() { + return 2928; + }, + /*web_gl.WebGL.DEPTH_STENCIL*/get DEPTH_STENCIL() { + return 34041; + }, + /*web_gl.WebGL.DEPTH_STENCIL_ATTACHMENT*/get DEPTH_STENCIL_ATTACHMENT() { + return 33306; + }, + /*web_gl.WebGL.DEPTH_TEST*/get DEPTH_TEST() { + return 2929; + }, + /*web_gl.WebGL.DEPTH_WRITEMASK*/get DEPTH_WRITEMASK() { + return 2930; + }, + /*web_gl.WebGL.DITHER*/get DITHER() { + return 3024; + }, + /*web_gl.WebGL.DONT_CARE*/get DONT_CARE() { + return 4352; + }, + /*web_gl.WebGL.DRAW_BUFFER0*/get DRAW_BUFFER0() { + return 34853; + }, + /*web_gl.WebGL.DRAW_BUFFER0_WEBGL*/get DRAW_BUFFER0_WEBGL() { + return 34853; + }, + /*web_gl.WebGL.DRAW_BUFFER1*/get DRAW_BUFFER1() { + return 34854; + }, + /*web_gl.WebGL.DRAW_BUFFER10*/get DRAW_BUFFER10() { + return 34863; + }, + /*web_gl.WebGL.DRAW_BUFFER10_WEBGL*/get DRAW_BUFFER10_WEBGL() { + return 34863; + }, + /*web_gl.WebGL.DRAW_BUFFER11*/get DRAW_BUFFER11() { + return 34864; + }, + /*web_gl.WebGL.DRAW_BUFFER11_WEBGL*/get DRAW_BUFFER11_WEBGL() { + return 34864; + }, + /*web_gl.WebGL.DRAW_BUFFER12*/get DRAW_BUFFER12() { + return 34865; + }, + /*web_gl.WebGL.DRAW_BUFFER12_WEBGL*/get DRAW_BUFFER12_WEBGL() { + return 34865; + }, + /*web_gl.WebGL.DRAW_BUFFER13*/get DRAW_BUFFER13() { + return 34866; + }, + /*web_gl.WebGL.DRAW_BUFFER13_WEBGL*/get DRAW_BUFFER13_WEBGL() { + return 34866; + }, + /*web_gl.WebGL.DRAW_BUFFER14*/get DRAW_BUFFER14() { + return 34867; + }, + /*web_gl.WebGL.DRAW_BUFFER14_WEBGL*/get DRAW_BUFFER14_WEBGL() { + return 34867; + }, + /*web_gl.WebGL.DRAW_BUFFER15*/get DRAW_BUFFER15() { + return 34868; + }, + /*web_gl.WebGL.DRAW_BUFFER15_WEBGL*/get DRAW_BUFFER15_WEBGL() { + return 34868; + }, + /*web_gl.WebGL.DRAW_BUFFER1_WEBGL*/get DRAW_BUFFER1_WEBGL() { + return 34854; + }, + /*web_gl.WebGL.DRAW_BUFFER2*/get DRAW_BUFFER2() { + return 34855; + }, + /*web_gl.WebGL.DRAW_BUFFER2_WEBGL*/get DRAW_BUFFER2_WEBGL() { + return 34855; + }, + /*web_gl.WebGL.DRAW_BUFFER3*/get DRAW_BUFFER3() { + return 34856; + }, + /*web_gl.WebGL.DRAW_BUFFER3_WEBGL*/get DRAW_BUFFER3_WEBGL() { + return 34856; + }, + /*web_gl.WebGL.DRAW_BUFFER4*/get DRAW_BUFFER4() { + return 34857; + }, + /*web_gl.WebGL.DRAW_BUFFER4_WEBGL*/get DRAW_BUFFER4_WEBGL() { + return 34857; + }, + /*web_gl.WebGL.DRAW_BUFFER5*/get DRAW_BUFFER5() { + return 34858; + }, + /*web_gl.WebGL.DRAW_BUFFER5_WEBGL*/get DRAW_BUFFER5_WEBGL() { + return 34858; + }, + /*web_gl.WebGL.DRAW_BUFFER6*/get DRAW_BUFFER6() { + return 34859; + }, + /*web_gl.WebGL.DRAW_BUFFER6_WEBGL*/get DRAW_BUFFER6_WEBGL() { + return 34859; + }, + /*web_gl.WebGL.DRAW_BUFFER7*/get DRAW_BUFFER7() { + return 34860; + }, + /*web_gl.WebGL.DRAW_BUFFER7_WEBGL*/get DRAW_BUFFER7_WEBGL() { + return 34860; + }, + /*web_gl.WebGL.DRAW_BUFFER8*/get DRAW_BUFFER8() { + return 34861; + }, + /*web_gl.WebGL.DRAW_BUFFER8_WEBGL*/get DRAW_BUFFER8_WEBGL() { + return 34861; + }, + /*web_gl.WebGL.DRAW_BUFFER9*/get DRAW_BUFFER9() { + return 34862; + }, + /*web_gl.WebGL.DRAW_BUFFER9_WEBGL*/get DRAW_BUFFER9_WEBGL() { + return 34862; + }, + /*web_gl.WebGL.DRAW_FRAMEBUFFER*/get DRAW_FRAMEBUFFER() { + return 36009; + }, + /*web_gl.WebGL.DRAW_FRAMEBUFFER_BINDING*/get DRAW_FRAMEBUFFER_BINDING() { + return 36006; + }, + /*web_gl.WebGL.DST_ALPHA*/get DST_ALPHA() { + return 772; + }, + /*web_gl.WebGL.DST_COLOR*/get DST_COLOR() { + return 774; + }, + /*web_gl.WebGL.DYNAMIC_COPY*/get DYNAMIC_COPY() { + return 35050; + }, + /*web_gl.WebGL.DYNAMIC_DRAW*/get DYNAMIC_DRAW() { + return 35048; + }, + /*web_gl.WebGL.DYNAMIC_READ*/get DYNAMIC_READ() { + return 35049; + }, + /*web_gl.WebGL.ELEMENT_ARRAY_BUFFER*/get ELEMENT_ARRAY_BUFFER() { + return 34963; + }, + /*web_gl.WebGL.ELEMENT_ARRAY_BUFFER_BINDING*/get ELEMENT_ARRAY_BUFFER_BINDING() { + return 34965; + }, + /*web_gl.WebGL.EQUAL*/get EQUAL() { + return 514; + }, + /*web_gl.WebGL.FASTEST*/get FASTEST() { + return 4353; + }, + /*web_gl.WebGL.FLOAT*/get FLOAT() { + return 5126; + }, + /*web_gl.WebGL.FLOAT_32_UNSIGNED_INT_24_8_REV*/get FLOAT_32_UNSIGNED_INT_24_8_REV() { + return 36269; + }, + /*web_gl.WebGL.FLOAT_MAT2*/get FLOAT_MAT2() { + return 35674; + }, + /*web_gl.WebGL.FLOAT_MAT2x3*/get FLOAT_MAT2x3() { + return 35685; + }, + /*web_gl.WebGL.FLOAT_MAT2x4*/get FLOAT_MAT2x4() { + return 35686; + }, + /*web_gl.WebGL.FLOAT_MAT3*/get FLOAT_MAT3() { + return 35675; + }, + /*web_gl.WebGL.FLOAT_MAT3x2*/get FLOAT_MAT3x2() { + return 35687; + }, + /*web_gl.WebGL.FLOAT_MAT3x4*/get FLOAT_MAT3x4() { + return 35688; + }, + /*web_gl.WebGL.FLOAT_MAT4*/get FLOAT_MAT4() { + return 35676; + }, + /*web_gl.WebGL.FLOAT_MAT4x2*/get FLOAT_MAT4x2() { + return 35689; + }, + /*web_gl.WebGL.FLOAT_MAT4x3*/get FLOAT_MAT4x3() { + return 35690; + }, + /*web_gl.WebGL.FLOAT_VEC2*/get FLOAT_VEC2() { + return 35664; + }, + /*web_gl.WebGL.FLOAT_VEC3*/get FLOAT_VEC3() { + return 35665; + }, + /*web_gl.WebGL.FLOAT_VEC4*/get FLOAT_VEC4() { + return 35666; + }, + /*web_gl.WebGL.FRAGMENT_SHADER*/get FRAGMENT_SHADER() { + return 35632; + }, + /*web_gl.WebGL.FRAGMENT_SHADER_DERIVATIVE_HINT*/get FRAGMENT_SHADER_DERIVATIVE_HINT() { + return 35723; + }, + /*web_gl.WebGL.FRAMEBUFFER*/get FRAMEBUFFER() { + return 36160; + }, + /*web_gl.WebGL.FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE*/get FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE() { + return 33301; + }, + /*web_gl.WebGL.FRAMEBUFFER_ATTACHMENT_BLUE_SIZE*/get FRAMEBUFFER_ATTACHMENT_BLUE_SIZE() { + return 33300; + }, + /*web_gl.WebGL.FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING*/get FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING() { + return 33296; + }, + /*web_gl.WebGL.FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE*/get FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE() { + return 33297; + }, + /*web_gl.WebGL.FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE*/get FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE() { + return 33302; + }, + /*web_gl.WebGL.FRAMEBUFFER_ATTACHMENT_GREEN_SIZE*/get FRAMEBUFFER_ATTACHMENT_GREEN_SIZE() { + return 33299; + }, + /*web_gl.WebGL.FRAMEBUFFER_ATTACHMENT_OBJECT_NAME*/get FRAMEBUFFER_ATTACHMENT_OBJECT_NAME() { + return 36049; + }, + /*web_gl.WebGL.FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE*/get FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE() { + return 36048; + }, + /*web_gl.WebGL.FRAMEBUFFER_ATTACHMENT_RED_SIZE*/get FRAMEBUFFER_ATTACHMENT_RED_SIZE() { + return 33298; + }, + /*web_gl.WebGL.FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE*/get FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE() { + return 33303; + }, + /*web_gl.WebGL.FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE*/get FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE() { + return 36051; + }, + /*web_gl.WebGL.FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER*/get FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER() { + return 36052; + }, + /*web_gl.WebGL.FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL*/get FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL() { + return 36050; + }, + /*web_gl.WebGL.FRAMEBUFFER_BINDING*/get FRAMEBUFFER_BINDING() { + return 36006; + }, + /*web_gl.WebGL.FRAMEBUFFER_COMPLETE*/get FRAMEBUFFER_COMPLETE() { + return 36053; + }, + /*web_gl.WebGL.FRAMEBUFFER_DEFAULT*/get FRAMEBUFFER_DEFAULT() { + return 33304; + }, + /*web_gl.WebGL.FRAMEBUFFER_INCOMPLETE_ATTACHMENT*/get FRAMEBUFFER_INCOMPLETE_ATTACHMENT() { + return 36054; + }, + /*web_gl.WebGL.FRAMEBUFFER_INCOMPLETE_DIMENSIONS*/get FRAMEBUFFER_INCOMPLETE_DIMENSIONS() { + return 36057; + }, + /*web_gl.WebGL.FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT*/get FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT() { + return 36055; + }, + /*web_gl.WebGL.FRAMEBUFFER_INCOMPLETE_MULTISAMPLE*/get FRAMEBUFFER_INCOMPLETE_MULTISAMPLE() { + return 36182; + }, + /*web_gl.WebGL.FRAMEBUFFER_UNSUPPORTED*/get FRAMEBUFFER_UNSUPPORTED() { + return 36061; + }, + /*web_gl.WebGL.FRONT*/get FRONT() { + return 1028; + }, + /*web_gl.WebGL.FRONT_AND_BACK*/get FRONT_AND_BACK() { + return 1032; + }, + /*web_gl.WebGL.FRONT_FACE*/get FRONT_FACE() { + return 2886; + }, + /*web_gl.WebGL.FUNC_ADD*/get FUNC_ADD() { + return 32774; + }, + /*web_gl.WebGL.FUNC_REVERSE_SUBTRACT*/get FUNC_REVERSE_SUBTRACT() { + return 32779; + }, + /*web_gl.WebGL.FUNC_SUBTRACT*/get FUNC_SUBTRACT() { + return 32778; + }, + /*web_gl.WebGL.GENERATE_MIPMAP_HINT*/get GENERATE_MIPMAP_HINT() { + return 33170; + }, + /*web_gl.WebGL.GEQUAL*/get GEQUAL() { + return 518; + }, + /*web_gl.WebGL.GREATER*/get GREATER() { + return 516; + }, + /*web_gl.WebGL.GREEN_BITS*/get GREEN_BITS() { + return 3411; + }, + /*web_gl.WebGL.HALF_FLOAT*/get HALF_FLOAT() { + return 5131; + }, + /*web_gl.WebGL.HIGH_FLOAT*/get HIGH_FLOAT() { + return 36338; + }, + /*web_gl.WebGL.HIGH_INT*/get HIGH_INT() { + return 36341; + }, + /*web_gl.WebGL.IMPLEMENTATION_COLOR_READ_FORMAT*/get IMPLEMENTATION_COLOR_READ_FORMAT() { + return 35739; + }, + /*web_gl.WebGL.IMPLEMENTATION_COLOR_READ_TYPE*/get IMPLEMENTATION_COLOR_READ_TYPE() { + return 35738; + }, + /*web_gl.WebGL.INCR*/get INCR() { + return 7682; + }, + /*web_gl.WebGL.INCR_WRAP*/get INCR_WRAP() { + return 34055; + }, + /*web_gl.WebGL.INT*/get INT() { + return 5124; + }, + /*web_gl.WebGL.INTERLEAVED_ATTRIBS*/get INTERLEAVED_ATTRIBS() { + return 35980; + }, + /*web_gl.WebGL.INT_2_10_10_10_REV*/get INT_2_10_10_10_REV() { + return 36255; + }, + /*web_gl.WebGL.INT_SAMPLER_2D*/get INT_SAMPLER_2D() { + return 36298; + }, + /*web_gl.WebGL.INT_SAMPLER_2D_ARRAY*/get INT_SAMPLER_2D_ARRAY() { + return 36303; + }, + /*web_gl.WebGL.INT_SAMPLER_3D*/get INT_SAMPLER_3D() { + return 36299; + }, + /*web_gl.WebGL.INT_SAMPLER_CUBE*/get INT_SAMPLER_CUBE() { + return 36300; + }, + /*web_gl.WebGL.INT_VEC2*/get INT_VEC2() { + return 35667; + }, + /*web_gl.WebGL.INT_VEC3*/get INT_VEC3() { + return 35668; + }, + /*web_gl.WebGL.INT_VEC4*/get INT_VEC4() { + return 35669; + }, + /*web_gl.WebGL.INVALID_ENUM*/get INVALID_ENUM() { + return 1280; + }, + /*web_gl.WebGL.INVALID_FRAMEBUFFER_OPERATION*/get INVALID_FRAMEBUFFER_OPERATION() { + return 1286; + }, + /*web_gl.WebGL.INVALID_INDEX*/get INVALID_INDEX() { + return 4294967295.0; + }, + /*web_gl.WebGL.INVALID_OPERATION*/get INVALID_OPERATION() { + return 1282; + }, + /*web_gl.WebGL.INVALID_VALUE*/get INVALID_VALUE() { + return 1281; + }, + /*web_gl.WebGL.INVERT*/get INVERT() { + return 5386; + }, + /*web_gl.WebGL.KEEP*/get KEEP() { + return 7680; + }, + /*web_gl.WebGL.LEQUAL*/get LEQUAL() { + return 515; + }, + /*web_gl.WebGL.LESS*/get LESS() { + return 513; + }, + /*web_gl.WebGL.LINEAR*/get LINEAR() { + return 9729; + }, + /*web_gl.WebGL.LINEAR_MIPMAP_LINEAR*/get LINEAR_MIPMAP_LINEAR() { + return 9987; + }, + /*web_gl.WebGL.LINEAR_MIPMAP_NEAREST*/get LINEAR_MIPMAP_NEAREST() { + return 9985; + }, + /*web_gl.WebGL.LINES*/get LINES() { + return 1; + }, + /*web_gl.WebGL.LINE_LOOP*/get LINE_LOOP() { + return 2; + }, + /*web_gl.WebGL.LINE_STRIP*/get LINE_STRIP() { + return 3; + }, + /*web_gl.WebGL.LINE_WIDTH*/get LINE_WIDTH() { + return 2849; + }, + /*web_gl.WebGL.LINK_STATUS*/get LINK_STATUS() { + return 35714; + }, + /*web_gl.WebGL.LOW_FLOAT*/get LOW_FLOAT() { + return 36336; + }, + /*web_gl.WebGL.LOW_INT*/get LOW_INT() { + return 36339; + }, + /*web_gl.WebGL.LUMINANCE*/get LUMINANCE() { + return 6409; + }, + /*web_gl.WebGL.LUMINANCE_ALPHA*/get LUMINANCE_ALPHA() { + return 6410; + }, + /*web_gl.WebGL.MAX*/get MAX() { + return 32776; + }, + /*web_gl.WebGL.MAX_3D_TEXTURE_SIZE*/get MAX_3D_TEXTURE_SIZE() { + return 32883; + }, + /*web_gl.WebGL.MAX_ARRAY_TEXTURE_LAYERS*/get MAX_ARRAY_TEXTURE_LAYERS() { + return 35071; + }, + /*web_gl.WebGL.MAX_CLIENT_WAIT_TIMEOUT_WEBGL*/get MAX_CLIENT_WAIT_TIMEOUT_WEBGL() { + return 37447; + }, + /*web_gl.WebGL.MAX_COLOR_ATTACHMENTS*/get MAX_COLOR_ATTACHMENTS() { + return 36063; + }, + /*web_gl.WebGL.MAX_COLOR_ATTACHMENTS_WEBGL*/get MAX_COLOR_ATTACHMENTS_WEBGL() { + return 36063; + }, + /*web_gl.WebGL.MAX_COMBINED_FRAGMENT_UNIFORM_COMPONENTS*/get MAX_COMBINED_FRAGMENT_UNIFORM_COMPONENTS() { + return 35379; + }, + /*web_gl.WebGL.MAX_COMBINED_TEXTURE_IMAGE_UNITS*/get MAX_COMBINED_TEXTURE_IMAGE_UNITS() { + return 35661; + }, + /*web_gl.WebGL.MAX_COMBINED_UNIFORM_BLOCKS*/get MAX_COMBINED_UNIFORM_BLOCKS() { + return 35374; + }, + /*web_gl.WebGL.MAX_COMBINED_VERTEX_UNIFORM_COMPONENTS*/get MAX_COMBINED_VERTEX_UNIFORM_COMPONENTS() { + return 35377; + }, + /*web_gl.WebGL.MAX_CUBE_MAP_TEXTURE_SIZE*/get MAX_CUBE_MAP_TEXTURE_SIZE() { + return 34076; + }, + /*web_gl.WebGL.MAX_DRAW_BUFFERS*/get MAX_DRAW_BUFFERS() { + return 34852; + }, + /*web_gl.WebGL.MAX_DRAW_BUFFERS_WEBGL*/get MAX_DRAW_BUFFERS_WEBGL() { + return 34852; + }, + /*web_gl.WebGL.MAX_ELEMENTS_INDICES*/get MAX_ELEMENTS_INDICES() { + return 33001; + }, + /*web_gl.WebGL.MAX_ELEMENTS_VERTICES*/get MAX_ELEMENTS_VERTICES() { + return 33000; + }, + /*web_gl.WebGL.MAX_ELEMENT_INDEX*/get MAX_ELEMENT_INDEX() { + return 36203; + }, + /*web_gl.WebGL.MAX_FRAGMENT_INPUT_COMPONENTS*/get MAX_FRAGMENT_INPUT_COMPONENTS() { + return 37157; + }, + /*web_gl.WebGL.MAX_FRAGMENT_UNIFORM_BLOCKS*/get MAX_FRAGMENT_UNIFORM_BLOCKS() { + return 35373; + }, + /*web_gl.WebGL.MAX_FRAGMENT_UNIFORM_COMPONENTS*/get MAX_FRAGMENT_UNIFORM_COMPONENTS() { + return 35657; + }, + /*web_gl.WebGL.MAX_FRAGMENT_UNIFORM_VECTORS*/get MAX_FRAGMENT_UNIFORM_VECTORS() { + return 36349; + }, + /*web_gl.WebGL.MAX_PROGRAM_TEXEL_OFFSET*/get MAX_PROGRAM_TEXEL_OFFSET() { + return 35077; + }, + /*web_gl.WebGL.MAX_RENDERBUFFER_SIZE*/get MAX_RENDERBUFFER_SIZE() { + return 34024; + }, + /*web_gl.WebGL.MAX_SAMPLES*/get MAX_SAMPLES() { + return 36183; + }, + /*web_gl.WebGL.MAX_SERVER_WAIT_TIMEOUT*/get MAX_SERVER_WAIT_TIMEOUT() { + return 37137; + }, + /*web_gl.WebGL.MAX_TEXTURE_IMAGE_UNITS*/get MAX_TEXTURE_IMAGE_UNITS() { + return 34930; + }, + /*web_gl.WebGL.MAX_TEXTURE_LOD_BIAS*/get MAX_TEXTURE_LOD_BIAS() { + return 34045; + }, + /*web_gl.WebGL.MAX_TEXTURE_SIZE*/get MAX_TEXTURE_SIZE() { + return 3379; + }, + /*web_gl.WebGL.MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS*/get MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS() { + return 35978; + }, + /*web_gl.WebGL.MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS*/get MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS() { + return 35979; + }, + /*web_gl.WebGL.MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS*/get MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS() { + return 35968; + }, + /*web_gl.WebGL.MAX_UNIFORM_BLOCK_SIZE*/get MAX_UNIFORM_BLOCK_SIZE() { + return 35376; + }, + /*web_gl.WebGL.MAX_UNIFORM_BUFFER_BINDINGS*/get MAX_UNIFORM_BUFFER_BINDINGS() { + return 35375; + }, + /*web_gl.WebGL.MAX_VARYING_COMPONENTS*/get MAX_VARYING_COMPONENTS() { + return 35659; + }, + /*web_gl.WebGL.MAX_VARYING_VECTORS*/get MAX_VARYING_VECTORS() { + return 36348; + }, + /*web_gl.WebGL.MAX_VERTEX_ATTRIBS*/get MAX_VERTEX_ATTRIBS() { + return 34921; + }, + /*web_gl.WebGL.MAX_VERTEX_OUTPUT_COMPONENTS*/get MAX_VERTEX_OUTPUT_COMPONENTS() { + return 37154; + }, + /*web_gl.WebGL.MAX_VERTEX_TEXTURE_IMAGE_UNITS*/get MAX_VERTEX_TEXTURE_IMAGE_UNITS() { + return 35660; + }, + /*web_gl.WebGL.MAX_VERTEX_UNIFORM_BLOCKS*/get MAX_VERTEX_UNIFORM_BLOCKS() { + return 35371; + }, + /*web_gl.WebGL.MAX_VERTEX_UNIFORM_COMPONENTS*/get MAX_VERTEX_UNIFORM_COMPONENTS() { + return 35658; + }, + /*web_gl.WebGL.MAX_VERTEX_UNIFORM_VECTORS*/get MAX_VERTEX_UNIFORM_VECTORS() { + return 36347; + }, + /*web_gl.WebGL.MAX_VIEWPORT_DIMS*/get MAX_VIEWPORT_DIMS() { + return 3386; + }, + /*web_gl.WebGL.MEDIUM_FLOAT*/get MEDIUM_FLOAT() { + return 36337; + }, + /*web_gl.WebGL.MEDIUM_INT*/get MEDIUM_INT() { + return 36340; + }, + /*web_gl.WebGL.MIN*/get MIN() { + return 32775; + }, + /*web_gl.WebGL.MIN_PROGRAM_TEXEL_OFFSET*/get MIN_PROGRAM_TEXEL_OFFSET() { + return 35076; + }, + /*web_gl.WebGL.MIRRORED_REPEAT*/get MIRRORED_REPEAT() { + return 33648; + }, + /*web_gl.WebGL.NEAREST*/get NEAREST() { + return 9728; + }, + /*web_gl.WebGL.NEAREST_MIPMAP_LINEAR*/get NEAREST_MIPMAP_LINEAR() { + return 9986; + }, + /*web_gl.WebGL.NEAREST_MIPMAP_NEAREST*/get NEAREST_MIPMAP_NEAREST() { + return 9984; + }, + /*web_gl.WebGL.NEVER*/get NEVER() { + return 512; + }, + /*web_gl.WebGL.NICEST*/get NICEST() { + return 4354; + }, + /*web_gl.WebGL.NONE*/get NONE() { + return 0; + }, + /*web_gl.WebGL.NOTEQUAL*/get NOTEQUAL() { + return 517; + }, + /*web_gl.WebGL.NO_ERROR*/get NO_ERROR() { + return 0; + }, + /*web_gl.WebGL.OBJECT_TYPE*/get OBJECT_TYPE() { + return 37138; + }, + /*web_gl.WebGL.ONE*/get ONE() { + return 1; + }, + /*web_gl.WebGL.ONE_MINUS_CONSTANT_ALPHA*/get ONE_MINUS_CONSTANT_ALPHA() { + return 32772; + }, + /*web_gl.WebGL.ONE_MINUS_CONSTANT_COLOR*/get ONE_MINUS_CONSTANT_COLOR() { + return 32770; + }, + /*web_gl.WebGL.ONE_MINUS_DST_ALPHA*/get ONE_MINUS_DST_ALPHA() { + return 773; + }, + /*web_gl.WebGL.ONE_MINUS_DST_COLOR*/get ONE_MINUS_DST_COLOR() { + return 775; + }, + /*web_gl.WebGL.ONE_MINUS_SRC_ALPHA*/get ONE_MINUS_SRC_ALPHA() { + return 771; + }, + /*web_gl.WebGL.ONE_MINUS_SRC_COLOR*/get ONE_MINUS_SRC_COLOR() { + return 769; + }, + /*web_gl.WebGL.OUT_OF_MEMORY*/get OUT_OF_MEMORY() { + return 1285; + }, + /*web_gl.WebGL.PACK_ALIGNMENT*/get PACK_ALIGNMENT() { + return 3333; + }, + /*web_gl.WebGL.PACK_ROW_LENGTH*/get PACK_ROW_LENGTH() { + return 3330; + }, + /*web_gl.WebGL.PACK_SKIP_PIXELS*/get PACK_SKIP_PIXELS() { + return 3332; + }, + /*web_gl.WebGL.PACK_SKIP_ROWS*/get PACK_SKIP_ROWS() { + return 3331; + }, + /*web_gl.WebGL.PIXEL_PACK_BUFFER*/get PIXEL_PACK_BUFFER() { + return 35051; + }, + /*web_gl.WebGL.PIXEL_PACK_BUFFER_BINDING*/get PIXEL_PACK_BUFFER_BINDING() { + return 35053; + }, + /*web_gl.WebGL.PIXEL_UNPACK_BUFFER*/get PIXEL_UNPACK_BUFFER() { + return 35052; + }, + /*web_gl.WebGL.PIXEL_UNPACK_BUFFER_BINDING*/get PIXEL_UNPACK_BUFFER_BINDING() { + return 35055; + }, + /*web_gl.WebGL.POINTS*/get POINTS() { + return 0; + }, + /*web_gl.WebGL.POLYGON_OFFSET_FACTOR*/get POLYGON_OFFSET_FACTOR() { + return 32824; + }, + /*web_gl.WebGL.POLYGON_OFFSET_FILL*/get POLYGON_OFFSET_FILL() { + return 32823; + }, + /*web_gl.WebGL.POLYGON_OFFSET_UNITS*/get POLYGON_OFFSET_UNITS() { + return 10752; + }, + /*web_gl.WebGL.QUERY_RESULT*/get QUERY_RESULT() { + return 34918; + }, + /*web_gl.WebGL.QUERY_RESULT_AVAILABLE*/get QUERY_RESULT_AVAILABLE() { + return 34919; + }, + /*web_gl.WebGL.R11F_G11F_B10F*/get R11F_G11F_B10F() { + return 35898; + }, + /*web_gl.WebGL.R16F*/get R16F() { + return 33325; + }, + /*web_gl.WebGL.R16I*/get R16I() { + return 33331; + }, + /*web_gl.WebGL.R16UI*/get R16UI() { + return 33332; + }, + /*web_gl.WebGL.R32F*/get R32F() { + return 33326; + }, + /*web_gl.WebGL.R32I*/get R32I() { + return 33333; + }, + /*web_gl.WebGL.R32UI*/get R32UI() { + return 33334; + }, + /*web_gl.WebGL.R8*/get R8() { + return 33321; + }, + /*web_gl.WebGL.R8I*/get R8I() { + return 33329; + }, + /*web_gl.WebGL.R8UI*/get R8UI() { + return 33330; + }, + /*web_gl.WebGL.R8_SNORM*/get R8_SNORM() { + return 36756; + }, + /*web_gl.WebGL.RASTERIZER_DISCARD*/get RASTERIZER_DISCARD() { + return 35977; + }, + /*web_gl.WebGL.READ_BUFFER*/get READ_BUFFER() { + return 3074; + }, + /*web_gl.WebGL.READ_FRAMEBUFFER*/get READ_FRAMEBUFFER() { + return 36008; + }, + /*web_gl.WebGL.READ_FRAMEBUFFER_BINDING*/get READ_FRAMEBUFFER_BINDING() { + return 36010; + }, + /*web_gl.WebGL.RED*/get RED() { + return 6403; + }, + /*web_gl.WebGL.RED_BITS*/get RED_BITS() { + return 3410; + }, + /*web_gl.WebGL.RED_INTEGER*/get RED_INTEGER() { + return 36244; + }, + /*web_gl.WebGL.RENDERBUFFER*/get RENDERBUFFER() { + return 36161; + }, + /*web_gl.WebGL.RENDERBUFFER_ALPHA_SIZE*/get RENDERBUFFER_ALPHA_SIZE() { + return 36179; + }, + /*web_gl.WebGL.RENDERBUFFER_BINDING*/get RENDERBUFFER_BINDING() { + return 36007; + }, + /*web_gl.WebGL.RENDERBUFFER_BLUE_SIZE*/get RENDERBUFFER_BLUE_SIZE() { + return 36178; + }, + /*web_gl.WebGL.RENDERBUFFER_DEPTH_SIZE*/get RENDERBUFFER_DEPTH_SIZE() { + return 36180; + }, + /*web_gl.WebGL.RENDERBUFFER_GREEN_SIZE*/get RENDERBUFFER_GREEN_SIZE() { + return 36177; + }, + /*web_gl.WebGL.RENDERBUFFER_HEIGHT*/get RENDERBUFFER_HEIGHT() { + return 36163; + }, + /*web_gl.WebGL.RENDERBUFFER_INTERNAL_FORMAT*/get RENDERBUFFER_INTERNAL_FORMAT() { + return 36164; + }, + /*web_gl.WebGL.RENDERBUFFER_RED_SIZE*/get RENDERBUFFER_RED_SIZE() { + return 36176; + }, + /*web_gl.WebGL.RENDERBUFFER_SAMPLES*/get RENDERBUFFER_SAMPLES() { + return 36011; + }, + /*web_gl.WebGL.RENDERBUFFER_STENCIL_SIZE*/get RENDERBUFFER_STENCIL_SIZE() { + return 36181; + }, + /*web_gl.WebGL.RENDERBUFFER_WIDTH*/get RENDERBUFFER_WIDTH() { + return 36162; + }, + /*web_gl.WebGL.RENDERER*/get RENDERER() { + return 7937; + }, + /*web_gl.WebGL.REPEAT*/get REPEAT() { + return 10497; + }, + /*web_gl.WebGL.REPLACE*/get REPLACE() { + return 7681; + }, + /*web_gl.WebGL.RG*/get RG() { + return 33319; + }, + /*web_gl.WebGL.RG16F*/get RG16F() { + return 33327; + }, + /*web_gl.WebGL.RG16I*/get RG16I() { + return 33337; + }, + /*web_gl.WebGL.RG16UI*/get RG16UI() { + return 33338; + }, + /*web_gl.WebGL.RG32F*/get RG32F() { + return 33328; + }, + /*web_gl.WebGL.RG32I*/get RG32I() { + return 33339; + }, + /*web_gl.WebGL.RG32UI*/get RG32UI() { + return 33340; + }, + /*web_gl.WebGL.RG8*/get RG8() { + return 33323; + }, + /*web_gl.WebGL.RG8I*/get RG8I() { + return 33335; + }, + /*web_gl.WebGL.RG8UI*/get RG8UI() { + return 33336; + }, + /*web_gl.WebGL.RG8_SNORM*/get RG8_SNORM() { + return 36757; + }, + /*web_gl.WebGL.RGB*/get RGB() { + return 6407; + }, + /*web_gl.WebGL.RGB10_A2*/get RGB10_A2() { + return 32857; + }, + /*web_gl.WebGL.RGB10_A2UI*/get RGB10_A2UI() { + return 36975; + }, + /*web_gl.WebGL.RGB16F*/get RGB16F() { + return 34843; + }, + /*web_gl.WebGL.RGB16I*/get RGB16I() { + return 36233; + }, + /*web_gl.WebGL.RGB16UI*/get RGB16UI() { + return 36215; + }, + /*web_gl.WebGL.RGB32F*/get RGB32F() { + return 34837; + }, + /*web_gl.WebGL.RGB32I*/get RGB32I() { + return 36227; + }, + /*web_gl.WebGL.RGB32UI*/get RGB32UI() { + return 36209; + }, + /*web_gl.WebGL.RGB565*/get RGB565() { + return 36194; + }, + /*web_gl.WebGL.RGB5_A1*/get RGB5_A1() { + return 32855; + }, + /*web_gl.WebGL.RGB8*/get RGB8() { + return 32849; + }, + /*web_gl.WebGL.RGB8I*/get RGB8I() { + return 36239; + }, + /*web_gl.WebGL.RGB8UI*/get RGB8UI() { + return 36221; + }, + /*web_gl.WebGL.RGB8_SNORM*/get RGB8_SNORM() { + return 36758; + }, + /*web_gl.WebGL.RGB9_E5*/get RGB9_E5() { + return 35901; + }, + /*web_gl.WebGL.RGBA*/get RGBA() { + return 6408; + }, + /*web_gl.WebGL.RGBA16F*/get RGBA16F() { + return 34842; + }, + /*web_gl.WebGL.RGBA16I*/get RGBA16I() { + return 36232; + }, + /*web_gl.WebGL.RGBA16UI*/get RGBA16UI() { + return 36214; + }, + /*web_gl.WebGL.RGBA32F*/get RGBA32F() { + return 34836; + }, + /*web_gl.WebGL.RGBA32I*/get RGBA32I() { + return 36226; + }, + /*web_gl.WebGL.RGBA32UI*/get RGBA32UI() { + return 36208; + }, + /*web_gl.WebGL.RGBA4*/get RGBA4() { + return 32854; + }, + /*web_gl.WebGL.RGBA8*/get RGBA8() { + return 32856; + }, + /*web_gl.WebGL.RGBA8I*/get RGBA8I() { + return 36238; + }, + /*web_gl.WebGL.RGBA8UI*/get RGBA8UI() { + return 36220; + }, + /*web_gl.WebGL.RGBA8_SNORM*/get RGBA8_SNORM() { + return 36759; + }, + /*web_gl.WebGL.RGBA_INTEGER*/get RGBA_INTEGER() { + return 36249; + }, + /*web_gl.WebGL.RGB_INTEGER*/get RGB_INTEGER() { + return 36248; + }, + /*web_gl.WebGL.RG_INTEGER*/get RG_INTEGER() { + return 33320; + }, + /*web_gl.WebGL.SAMPLER_2D*/get SAMPLER_2D() { + return 35678; + }, + /*web_gl.WebGL.SAMPLER_2D_ARRAY*/get SAMPLER_2D_ARRAY() { + return 36289; + }, + /*web_gl.WebGL.SAMPLER_2D_ARRAY_SHADOW*/get SAMPLER_2D_ARRAY_SHADOW() { + return 36292; + }, + /*web_gl.WebGL.SAMPLER_2D_SHADOW*/get SAMPLER_2D_SHADOW() { + return 35682; + }, + /*web_gl.WebGL.SAMPLER_3D*/get SAMPLER_3D() { + return 35679; + }, + /*web_gl.WebGL.SAMPLER_BINDING*/get SAMPLER_BINDING() { + return 35097; + }, + /*web_gl.WebGL.SAMPLER_CUBE*/get SAMPLER_CUBE() { + return 35680; + }, + /*web_gl.WebGL.SAMPLER_CUBE_SHADOW*/get SAMPLER_CUBE_SHADOW() { + return 36293; + }, + /*web_gl.WebGL.SAMPLES*/get SAMPLES() { + return 32937; + }, + /*web_gl.WebGL.SAMPLE_ALPHA_TO_COVERAGE*/get SAMPLE_ALPHA_TO_COVERAGE() { + return 32926; + }, + /*web_gl.WebGL.SAMPLE_BUFFERS*/get SAMPLE_BUFFERS() { + return 32936; + }, + /*web_gl.WebGL.SAMPLE_COVERAGE*/get SAMPLE_COVERAGE() { + return 32928; + }, + /*web_gl.WebGL.SAMPLE_COVERAGE_INVERT*/get SAMPLE_COVERAGE_INVERT() { + return 32939; + }, + /*web_gl.WebGL.SAMPLE_COVERAGE_VALUE*/get SAMPLE_COVERAGE_VALUE() { + return 32938; + }, + /*web_gl.WebGL.SCISSOR_BOX*/get SCISSOR_BOX() { + return 3088; + }, + /*web_gl.WebGL.SCISSOR_TEST*/get SCISSOR_TEST() { + return 3089; + }, + /*web_gl.WebGL.SEPARATE_ATTRIBS*/get SEPARATE_ATTRIBS() { + return 35981; + }, + /*web_gl.WebGL.SHADER_TYPE*/get SHADER_TYPE() { + return 35663; + }, + /*web_gl.WebGL.SHADING_LANGUAGE_VERSION*/get SHADING_LANGUAGE_VERSION() { + return 35724; + }, + /*web_gl.WebGL.SHORT*/get SHORT() { + return 5122; + }, + /*web_gl.WebGL.SIGNALED*/get SIGNALED() { + return 37145; + }, + /*web_gl.WebGL.SIGNED_NORMALIZED*/get SIGNED_NORMALIZED() { + return 36764; + }, + /*web_gl.WebGL.SRC_ALPHA*/get SRC_ALPHA() { + return 770; + }, + /*web_gl.WebGL.SRC_ALPHA_SATURATE*/get SRC_ALPHA_SATURATE() { + return 776; + }, + /*web_gl.WebGL.SRC_COLOR*/get SRC_COLOR() { + return 768; + }, + /*web_gl.WebGL.SRGB*/get SRGB() { + return 35904; + }, + /*web_gl.WebGL.SRGB8*/get SRGB8() { + return 35905; + }, + /*web_gl.WebGL.SRGB8_ALPHA8*/get SRGB8_ALPHA8() { + return 35907; + }, + /*web_gl.WebGL.STATIC_COPY*/get STATIC_COPY() { + return 35046; + }, + /*web_gl.WebGL.STATIC_DRAW*/get STATIC_DRAW() { + return 35044; + }, + /*web_gl.WebGL.STATIC_READ*/get STATIC_READ() { + return 35045; + }, + /*web_gl.WebGL.STENCIL*/get STENCIL() { + return 6146; + }, + /*web_gl.WebGL.STENCIL_ATTACHMENT*/get STENCIL_ATTACHMENT() { + return 36128; + }, + /*web_gl.WebGL.STENCIL_BACK_FAIL*/get STENCIL_BACK_FAIL() { + return 34817; + }, + /*web_gl.WebGL.STENCIL_BACK_FUNC*/get STENCIL_BACK_FUNC() { + return 34816; + }, + /*web_gl.WebGL.STENCIL_BACK_PASS_DEPTH_FAIL*/get STENCIL_BACK_PASS_DEPTH_FAIL() { + return 34818; + }, + /*web_gl.WebGL.STENCIL_BACK_PASS_DEPTH_PASS*/get STENCIL_BACK_PASS_DEPTH_PASS() { + return 34819; + }, + /*web_gl.WebGL.STENCIL_BACK_REF*/get STENCIL_BACK_REF() { + return 36003; + }, + /*web_gl.WebGL.STENCIL_BACK_VALUE_MASK*/get STENCIL_BACK_VALUE_MASK() { + return 36004; + }, + /*web_gl.WebGL.STENCIL_BACK_WRITEMASK*/get STENCIL_BACK_WRITEMASK() { + return 36005; + }, + /*web_gl.WebGL.STENCIL_BITS*/get STENCIL_BITS() { + return 3415; + }, + /*web_gl.WebGL.STENCIL_BUFFER_BIT*/get STENCIL_BUFFER_BIT() { + return 1024; + }, + /*web_gl.WebGL.STENCIL_CLEAR_VALUE*/get STENCIL_CLEAR_VALUE() { + return 2961; + }, + /*web_gl.WebGL.STENCIL_FAIL*/get STENCIL_FAIL() { + return 2964; + }, + /*web_gl.WebGL.STENCIL_FUNC*/get STENCIL_FUNC() { + return 2962; + }, + /*web_gl.WebGL.STENCIL_INDEX8*/get STENCIL_INDEX8() { + return 36168; + }, + /*web_gl.WebGL.STENCIL_PASS_DEPTH_FAIL*/get STENCIL_PASS_DEPTH_FAIL() { + return 2965; + }, + /*web_gl.WebGL.STENCIL_PASS_DEPTH_PASS*/get STENCIL_PASS_DEPTH_PASS() { + return 2966; + }, + /*web_gl.WebGL.STENCIL_REF*/get STENCIL_REF() { + return 2967; + }, + /*web_gl.WebGL.STENCIL_TEST*/get STENCIL_TEST() { + return 2960; + }, + /*web_gl.WebGL.STENCIL_VALUE_MASK*/get STENCIL_VALUE_MASK() { + return 2963; + }, + /*web_gl.WebGL.STENCIL_WRITEMASK*/get STENCIL_WRITEMASK() { + return 2968; + }, + /*web_gl.WebGL.STREAM_COPY*/get STREAM_COPY() { + return 35042; + }, + /*web_gl.WebGL.STREAM_DRAW*/get STREAM_DRAW() { + return 35040; + }, + /*web_gl.WebGL.STREAM_READ*/get STREAM_READ() { + return 35041; + }, + /*web_gl.WebGL.SUBPIXEL_BITS*/get SUBPIXEL_BITS() { + return 3408; + }, + /*web_gl.WebGL.SYNC_CONDITION*/get SYNC_CONDITION() { + return 37139; + }, + /*web_gl.WebGL.SYNC_FENCE*/get SYNC_FENCE() { + return 37142; + }, + /*web_gl.WebGL.SYNC_FLAGS*/get SYNC_FLAGS() { + return 37141; + }, + /*web_gl.WebGL.SYNC_FLUSH_COMMANDS_BIT*/get SYNC_FLUSH_COMMANDS_BIT() { + return 1; + }, + /*web_gl.WebGL.SYNC_GPU_COMMANDS_COMPLETE*/get SYNC_GPU_COMMANDS_COMPLETE() { + return 37143; + }, + /*web_gl.WebGL.SYNC_STATUS*/get SYNC_STATUS() { + return 37140; + }, + /*web_gl.WebGL.TEXTURE*/get TEXTURE() { + return 5890; + }, + /*web_gl.WebGL.TEXTURE0*/get TEXTURE0() { + return 33984; + }, + /*web_gl.WebGL.TEXTURE1*/get TEXTURE1() { + return 33985; + }, + /*web_gl.WebGL.TEXTURE10*/get TEXTURE10() { + return 33994; + }, + /*web_gl.WebGL.TEXTURE11*/get TEXTURE11() { + return 33995; + }, + /*web_gl.WebGL.TEXTURE12*/get TEXTURE12() { + return 33996; + }, + /*web_gl.WebGL.TEXTURE13*/get TEXTURE13() { + return 33997; + }, + /*web_gl.WebGL.TEXTURE14*/get TEXTURE14() { + return 33998; + }, + /*web_gl.WebGL.TEXTURE15*/get TEXTURE15() { + return 33999; + }, + /*web_gl.WebGL.TEXTURE16*/get TEXTURE16() { + return 34000; + }, + /*web_gl.WebGL.TEXTURE17*/get TEXTURE17() { + return 34001; + }, + /*web_gl.WebGL.TEXTURE18*/get TEXTURE18() { + return 34002; + }, + /*web_gl.WebGL.TEXTURE19*/get TEXTURE19() { + return 34003; + }, + /*web_gl.WebGL.TEXTURE2*/get TEXTURE2() { + return 33986; + }, + /*web_gl.WebGL.TEXTURE20*/get TEXTURE20() { + return 34004; + }, + /*web_gl.WebGL.TEXTURE21*/get TEXTURE21() { + return 34005; + }, + /*web_gl.WebGL.TEXTURE22*/get TEXTURE22() { + return 34006; + }, + /*web_gl.WebGL.TEXTURE23*/get TEXTURE23() { + return 34007; + }, + /*web_gl.WebGL.TEXTURE24*/get TEXTURE24() { + return 34008; + }, + /*web_gl.WebGL.TEXTURE25*/get TEXTURE25() { + return 34009; + }, + /*web_gl.WebGL.TEXTURE26*/get TEXTURE26() { + return 34010; + }, + /*web_gl.WebGL.TEXTURE27*/get TEXTURE27() { + return 34011; + }, + /*web_gl.WebGL.TEXTURE28*/get TEXTURE28() { + return 34012; + }, + /*web_gl.WebGL.TEXTURE29*/get TEXTURE29() { + return 34013; + }, + /*web_gl.WebGL.TEXTURE3*/get TEXTURE3() { + return 33987; + }, + /*web_gl.WebGL.TEXTURE30*/get TEXTURE30() { + return 34014; + }, + /*web_gl.WebGL.TEXTURE31*/get TEXTURE31() { + return 34015; + }, + /*web_gl.WebGL.TEXTURE4*/get TEXTURE4() { + return 33988; + }, + /*web_gl.WebGL.TEXTURE5*/get TEXTURE5() { + return 33989; + }, + /*web_gl.WebGL.TEXTURE6*/get TEXTURE6() { + return 33990; + }, + /*web_gl.WebGL.TEXTURE7*/get TEXTURE7() { + return 33991; + }, + /*web_gl.WebGL.TEXTURE8*/get TEXTURE8() { + return 33992; + }, + /*web_gl.WebGL.TEXTURE9*/get TEXTURE9() { + return 33993; + }, + /*web_gl.WebGL.TEXTURE_2D*/get TEXTURE_2D() { + return 3553; + }, + /*web_gl.WebGL.TEXTURE_2D_ARRAY*/get TEXTURE_2D_ARRAY() { + return 35866; + }, + /*web_gl.WebGL.TEXTURE_3D*/get TEXTURE_3D() { + return 32879; + }, + /*web_gl.WebGL.TEXTURE_BASE_LEVEL*/get TEXTURE_BASE_LEVEL() { + return 33084; + }, + /*web_gl.WebGL.TEXTURE_BINDING_2D*/get TEXTURE_BINDING_2D() { + return 32873; + }, + /*web_gl.WebGL.TEXTURE_BINDING_2D_ARRAY*/get TEXTURE_BINDING_2D_ARRAY() { + return 35869; + }, + /*web_gl.WebGL.TEXTURE_BINDING_3D*/get TEXTURE_BINDING_3D() { + return 32874; + }, + /*web_gl.WebGL.TEXTURE_BINDING_CUBE_MAP*/get TEXTURE_BINDING_CUBE_MAP() { + return 34068; + }, + /*web_gl.WebGL.TEXTURE_COMPARE_FUNC*/get TEXTURE_COMPARE_FUNC() { + return 34893; + }, + /*web_gl.WebGL.TEXTURE_COMPARE_MODE*/get TEXTURE_COMPARE_MODE() { + return 34892; + }, + /*web_gl.WebGL.TEXTURE_CUBE_MAP*/get TEXTURE_CUBE_MAP() { + return 34067; + }, + /*web_gl.WebGL.TEXTURE_CUBE_MAP_NEGATIVE_X*/get TEXTURE_CUBE_MAP_NEGATIVE_X() { + return 34070; + }, + /*web_gl.WebGL.TEXTURE_CUBE_MAP_NEGATIVE_Y*/get TEXTURE_CUBE_MAP_NEGATIVE_Y() { + return 34072; + }, + /*web_gl.WebGL.TEXTURE_CUBE_MAP_NEGATIVE_Z*/get TEXTURE_CUBE_MAP_NEGATIVE_Z() { + return 34074; + }, + /*web_gl.WebGL.TEXTURE_CUBE_MAP_POSITIVE_X*/get TEXTURE_CUBE_MAP_POSITIVE_X() { + return 34069; + }, + /*web_gl.WebGL.TEXTURE_CUBE_MAP_POSITIVE_Y*/get TEXTURE_CUBE_MAP_POSITIVE_Y() { + return 34071; + }, + /*web_gl.WebGL.TEXTURE_CUBE_MAP_POSITIVE_Z*/get TEXTURE_CUBE_MAP_POSITIVE_Z() { + return 34073; + }, + /*web_gl.WebGL.TEXTURE_IMMUTABLE_FORMAT*/get TEXTURE_IMMUTABLE_FORMAT() { + return 37167; + }, + /*web_gl.WebGL.TEXTURE_IMMUTABLE_LEVELS*/get TEXTURE_IMMUTABLE_LEVELS() { + return 33503; + }, + /*web_gl.WebGL.TEXTURE_MAG_FILTER*/get TEXTURE_MAG_FILTER() { + return 10240; + }, + /*web_gl.WebGL.TEXTURE_MAX_LEVEL*/get TEXTURE_MAX_LEVEL() { + return 33085; + }, + /*web_gl.WebGL.TEXTURE_MAX_LOD*/get TEXTURE_MAX_LOD() { + return 33083; + }, + /*web_gl.WebGL.TEXTURE_MIN_FILTER*/get TEXTURE_MIN_FILTER() { + return 10241; + }, + /*web_gl.WebGL.TEXTURE_MIN_LOD*/get TEXTURE_MIN_LOD() { + return 33082; + }, + /*web_gl.WebGL.TEXTURE_WRAP_R*/get TEXTURE_WRAP_R() { + return 32882; + }, + /*web_gl.WebGL.TEXTURE_WRAP_S*/get TEXTURE_WRAP_S() { + return 10242; + }, + /*web_gl.WebGL.TEXTURE_WRAP_T*/get TEXTURE_WRAP_T() { + return 10243; + }, + /*web_gl.WebGL.TIMEOUT_EXPIRED*/get TIMEOUT_EXPIRED() { + return 37147; + }, + /*web_gl.WebGL.TIMEOUT_IGNORED*/get TIMEOUT_IGNORED() { + return -1; + }, + /*web_gl.WebGL.TRANSFORM_FEEDBACK*/get TRANSFORM_FEEDBACK() { + return 36386; + }, + /*web_gl.WebGL.TRANSFORM_FEEDBACK_ACTIVE*/get TRANSFORM_FEEDBACK_ACTIVE() { + return 36388; + }, + /*web_gl.WebGL.TRANSFORM_FEEDBACK_BINDING*/get TRANSFORM_FEEDBACK_BINDING() { + return 36389; + }, + /*web_gl.WebGL.TRANSFORM_FEEDBACK_BUFFER*/get TRANSFORM_FEEDBACK_BUFFER() { + return 35982; + }, + /*web_gl.WebGL.TRANSFORM_FEEDBACK_BUFFER_BINDING*/get TRANSFORM_FEEDBACK_BUFFER_BINDING() { + return 35983; + }, + /*web_gl.WebGL.TRANSFORM_FEEDBACK_BUFFER_MODE*/get TRANSFORM_FEEDBACK_BUFFER_MODE() { + return 35967; + }, + /*web_gl.WebGL.TRANSFORM_FEEDBACK_BUFFER_SIZE*/get TRANSFORM_FEEDBACK_BUFFER_SIZE() { + return 35973; + }, + /*web_gl.WebGL.TRANSFORM_FEEDBACK_BUFFER_START*/get TRANSFORM_FEEDBACK_BUFFER_START() { + return 35972; + }, + /*web_gl.WebGL.TRANSFORM_FEEDBACK_PAUSED*/get TRANSFORM_FEEDBACK_PAUSED() { + return 36387; + }, + /*web_gl.WebGL.TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN*/get TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN() { + return 35976; + }, + /*web_gl.WebGL.TRANSFORM_FEEDBACK_VARYINGS*/get TRANSFORM_FEEDBACK_VARYINGS() { + return 35971; + }, + /*web_gl.WebGL.TRIANGLES*/get TRIANGLES() { + return 4; + }, + /*web_gl.WebGL.TRIANGLE_FAN*/get TRIANGLE_FAN() { + return 6; + }, + /*web_gl.WebGL.TRIANGLE_STRIP*/get TRIANGLE_STRIP() { + return 5; + }, + /*web_gl.WebGL.UNIFORM_ARRAY_STRIDE*/get UNIFORM_ARRAY_STRIDE() { + return 35388; + }, + /*web_gl.WebGL.UNIFORM_BLOCK_ACTIVE_UNIFORMS*/get UNIFORM_BLOCK_ACTIVE_UNIFORMS() { + return 35394; + }, + /*web_gl.WebGL.UNIFORM_BLOCK_ACTIVE_UNIFORM_INDICES*/get UNIFORM_BLOCK_ACTIVE_UNIFORM_INDICES() { + return 35395; + }, + /*web_gl.WebGL.UNIFORM_BLOCK_BINDING*/get UNIFORM_BLOCK_BINDING() { + return 35391; + }, + /*web_gl.WebGL.UNIFORM_BLOCK_DATA_SIZE*/get UNIFORM_BLOCK_DATA_SIZE() { + return 35392; + }, + /*web_gl.WebGL.UNIFORM_BLOCK_INDEX*/get UNIFORM_BLOCK_INDEX() { + return 35386; + }, + /*web_gl.WebGL.UNIFORM_BLOCK_REFERENCED_BY_FRAGMENT_SHADER*/get UNIFORM_BLOCK_REFERENCED_BY_FRAGMENT_SHADER() { + return 35398; + }, + /*web_gl.WebGL.UNIFORM_BLOCK_REFERENCED_BY_VERTEX_SHADER*/get UNIFORM_BLOCK_REFERENCED_BY_VERTEX_SHADER() { + return 35396; + }, + /*web_gl.WebGL.UNIFORM_BUFFER*/get UNIFORM_BUFFER() { + return 35345; + }, + /*web_gl.WebGL.UNIFORM_BUFFER_BINDING*/get UNIFORM_BUFFER_BINDING() { + return 35368; + }, + /*web_gl.WebGL.UNIFORM_BUFFER_OFFSET_ALIGNMENT*/get UNIFORM_BUFFER_OFFSET_ALIGNMENT() { + return 35380; + }, + /*web_gl.WebGL.UNIFORM_BUFFER_SIZE*/get UNIFORM_BUFFER_SIZE() { + return 35370; + }, + /*web_gl.WebGL.UNIFORM_BUFFER_START*/get UNIFORM_BUFFER_START() { + return 35369; + }, + /*web_gl.WebGL.UNIFORM_IS_ROW_MAJOR*/get UNIFORM_IS_ROW_MAJOR() { + return 35390; + }, + /*web_gl.WebGL.UNIFORM_MATRIX_STRIDE*/get UNIFORM_MATRIX_STRIDE() { + return 35389; + }, + /*web_gl.WebGL.UNIFORM_OFFSET*/get UNIFORM_OFFSET() { + return 35387; + }, + /*web_gl.WebGL.UNIFORM_SIZE*/get UNIFORM_SIZE() { + return 35384; + }, + /*web_gl.WebGL.UNIFORM_TYPE*/get UNIFORM_TYPE() { + return 35383; + }, + /*web_gl.WebGL.UNPACK_ALIGNMENT*/get UNPACK_ALIGNMENT() { + return 3317; + }, + /*web_gl.WebGL.UNPACK_COLORSPACE_CONVERSION_WEBGL*/get UNPACK_COLORSPACE_CONVERSION_WEBGL() { + return 37443; + }, + /*web_gl.WebGL.UNPACK_FLIP_Y_WEBGL*/get UNPACK_FLIP_Y_WEBGL() { + return 37440; + }, + /*web_gl.WebGL.UNPACK_IMAGE_HEIGHT*/get UNPACK_IMAGE_HEIGHT() { + return 32878; + }, + /*web_gl.WebGL.UNPACK_PREMULTIPLY_ALPHA_WEBGL*/get UNPACK_PREMULTIPLY_ALPHA_WEBGL() { + return 37441; + }, + /*web_gl.WebGL.UNPACK_ROW_LENGTH*/get UNPACK_ROW_LENGTH() { + return 3314; + }, + /*web_gl.WebGL.UNPACK_SKIP_IMAGES*/get UNPACK_SKIP_IMAGES() { + return 32877; + }, + /*web_gl.WebGL.UNPACK_SKIP_PIXELS*/get UNPACK_SKIP_PIXELS() { + return 3316; + }, + /*web_gl.WebGL.UNPACK_SKIP_ROWS*/get UNPACK_SKIP_ROWS() { + return 3315; + }, + /*web_gl.WebGL.UNSIGNALED*/get UNSIGNALED() { + return 37144; + }, + /*web_gl.WebGL.UNSIGNED_BYTE*/get UNSIGNED_BYTE() { + return 5121; + }, + /*web_gl.WebGL.UNSIGNED_INT*/get UNSIGNED_INT() { + return 5125; + }, + /*web_gl.WebGL.UNSIGNED_INT_10F_11F_11F_REV*/get UNSIGNED_INT_10F_11F_11F_REV() { + return 35899; + }, + /*web_gl.WebGL.UNSIGNED_INT_24_8*/get UNSIGNED_INT_24_8() { + return 34042; + }, + /*web_gl.WebGL.UNSIGNED_INT_2_10_10_10_REV*/get UNSIGNED_INT_2_10_10_10_REV() { + return 33640; + }, + /*web_gl.WebGL.UNSIGNED_INT_5_9_9_9_REV*/get UNSIGNED_INT_5_9_9_9_REV() { + return 35902; + }, + /*web_gl.WebGL.UNSIGNED_INT_SAMPLER_2D*/get UNSIGNED_INT_SAMPLER_2D() { + return 36306; + }, + /*web_gl.WebGL.UNSIGNED_INT_SAMPLER_2D_ARRAY*/get UNSIGNED_INT_SAMPLER_2D_ARRAY() { + return 36311; + }, + /*web_gl.WebGL.UNSIGNED_INT_SAMPLER_3D*/get UNSIGNED_INT_SAMPLER_3D() { + return 36307; + }, + /*web_gl.WebGL.UNSIGNED_INT_SAMPLER_CUBE*/get UNSIGNED_INT_SAMPLER_CUBE() { + return 36308; + }, + /*web_gl.WebGL.UNSIGNED_INT_VEC2*/get UNSIGNED_INT_VEC2() { + return 36294; + }, + /*web_gl.WebGL.UNSIGNED_INT_VEC3*/get UNSIGNED_INT_VEC3() { + return 36295; + }, + /*web_gl.WebGL.UNSIGNED_INT_VEC4*/get UNSIGNED_INT_VEC4() { + return 36296; + }, + /*web_gl.WebGL.UNSIGNED_NORMALIZED*/get UNSIGNED_NORMALIZED() { + return 35863; + }, + /*web_gl.WebGL.UNSIGNED_SHORT*/get UNSIGNED_SHORT() { + return 5123; + }, + /*web_gl.WebGL.UNSIGNED_SHORT_4_4_4_4*/get UNSIGNED_SHORT_4_4_4_4() { + return 32819; + }, + /*web_gl.WebGL.UNSIGNED_SHORT_5_5_5_1*/get UNSIGNED_SHORT_5_5_5_1() { + return 32820; + }, + /*web_gl.WebGL.UNSIGNED_SHORT_5_6_5*/get UNSIGNED_SHORT_5_6_5() { + return 33635; + }, + /*web_gl.WebGL.VALIDATE_STATUS*/get VALIDATE_STATUS() { + return 35715; + }, + /*web_gl.WebGL.VENDOR*/get VENDOR() { + return 7936; + }, + /*web_gl.WebGL.VERSION*/get VERSION() { + return 7938; + }, + /*web_gl.WebGL.VERTEX_ARRAY_BINDING*/get VERTEX_ARRAY_BINDING() { + return 34229; + }, + /*web_gl.WebGL.VERTEX_ATTRIB_ARRAY_BUFFER_BINDING*/get VERTEX_ATTRIB_ARRAY_BUFFER_BINDING() { + return 34975; + }, + /*web_gl.WebGL.VERTEX_ATTRIB_ARRAY_DIVISOR*/get VERTEX_ATTRIB_ARRAY_DIVISOR() { + return 35070; + }, + /*web_gl.WebGL.VERTEX_ATTRIB_ARRAY_ENABLED*/get VERTEX_ATTRIB_ARRAY_ENABLED() { + return 34338; + }, + /*web_gl.WebGL.VERTEX_ATTRIB_ARRAY_INTEGER*/get VERTEX_ATTRIB_ARRAY_INTEGER() { + return 35069; + }, + /*web_gl.WebGL.VERTEX_ATTRIB_ARRAY_NORMALIZED*/get VERTEX_ATTRIB_ARRAY_NORMALIZED() { + return 34922; + }, + /*web_gl.WebGL.VERTEX_ATTRIB_ARRAY_POINTER*/get VERTEX_ATTRIB_ARRAY_POINTER() { + return 34373; + }, + /*web_gl.WebGL.VERTEX_ATTRIB_ARRAY_SIZE*/get VERTEX_ATTRIB_ARRAY_SIZE() { + return 34339; + }, + /*web_gl.WebGL.VERTEX_ATTRIB_ARRAY_STRIDE*/get VERTEX_ATTRIB_ARRAY_STRIDE() { + return 34340; + }, + /*web_gl.WebGL.VERTEX_ATTRIB_ARRAY_TYPE*/get VERTEX_ATTRIB_ARRAY_TYPE() { + return 34341; + }, + /*web_gl.WebGL.VERTEX_SHADER*/get VERTEX_SHADER() { + return 35633; + }, + /*web_gl.WebGL.VIEWPORT*/get VIEWPORT() { + return 2978; + }, + /*web_gl.WebGL.WAIT_FAILED*/get WAIT_FAILED() { + return 37149; + }, + /*web_gl.WebGL.ZERO*/get ZERO() { + return 0; + } +}, false); +dart.registerExtension("WebGL", web_gl.WebGL); +web_gl._WebGL2RenderingContextBase = class _WebGL2RenderingContextBase extends _interceptors.Interceptor {}; +dart.addTypeTests(web_gl._WebGL2RenderingContextBase); +dart.addTypeCaches(web_gl._WebGL2RenderingContextBase); +web_gl._WebGL2RenderingContextBase[dart.implements] = () => [web_gl._WebGLRenderingContextBase]; +dart.setLibraryUri(web_gl._WebGL2RenderingContextBase, I[160]); +dart.registerExtension("WebGL2RenderingContextBase", web_gl._WebGL2RenderingContextBase); +web_gl._WebGLRenderingContextBase = class _WebGLRenderingContextBase extends _interceptors.Interceptor {}; +dart.addTypeTests(web_gl._WebGLRenderingContextBase); +dart.addTypeCaches(web_gl._WebGLRenderingContextBase); +dart.setLibraryUri(web_gl._WebGLRenderingContextBase, I[160]); +web_sql.SqlDatabase = class SqlDatabase extends _interceptors.Interceptor { + static get supported() { + return !!window.openDatabase; + } + get [S.$version]() { + return this.version; + } + [S$4._changeVersion](...args) { + return this.changeVersion.apply(this, args); + } + [S$4.$changeVersion](oldVersion, newVersion) { + if (oldVersion == null) dart.nullFailed(I[162], 119, 47, "oldVersion"); + if (newVersion == null) dart.nullFailed(I[162], 119, 66, "newVersion"); + let completer = T$0.CompleterOfSqlTransaction().new(); + this[S$4._changeVersion](oldVersion, newVersion, dart.fn(value => { + if (value == null) dart.nullFailed(I[162], 121, 45, "value"); + completer.complete(value); + }, T$0.SqlTransactionTovoid()), dart.fn(error => { + if (error == null) dart.nullFailed(I[162], 123, 9, "error"); + completer.completeError(error); + }, T$0.SqlErrorTovoid())); + return completer.future; + } + [S$4._readTransaction](...args) { + return this.readTransaction.apply(this, args); + } + [S$4.$readTransaction]() { + let completer = T$0.CompleterOfSqlTransaction().new(); + this[S$4._readTransaction](dart.fn(value => { + if (value == null) dart.nullFailed(I[162], 137, 23, "value"); + completer.complete(value); + }, T$0.SqlTransactionTovoid()), dart.fn(error => { + if (error == null) dart.nullFailed(I[162], 139, 9, "error"); + completer.completeError(error); + }, T$0.SqlErrorTovoid())); + return completer.future; + } + [S.$transaction](...args) { + return this.transaction.apply(this, args); + } + [S$4.$transaction_future]() { + let completer = T$0.CompleterOfSqlTransaction().new(); + this.transaction(dart.fn(value => { + if (value == null) dart.nullFailed(I[162], 152, 18, "value"); + _js_helper.applyExtension("SQLTransaction", value); + completer.complete(value); + }, T$0.SqlTransactionTovoid()), dart.fn(error => { + if (error == null) dart.nullFailed(I[162], 155, 9, "error"); + completer.completeError(error); + }, T$0.SqlErrorTovoid())); + return completer.future; + } +}; +dart.addTypeTests(web_sql.SqlDatabase); +dart.addTypeCaches(web_sql.SqlDatabase); +dart.setMethodSignature(web_sql.SqlDatabase, () => ({ + __proto__: dart.getMethods(web_sql.SqlDatabase.__proto__), + [S$4._changeVersion]: dart.fnType(dart.void, [core.String, core.String], [dart.nullable(dart.fnType(dart.void, [web_sql.SqlTransaction])), dart.nullable(dart.fnType(dart.void, [web_sql.SqlError])), dart.nullable(dart.fnType(dart.void, []))]), + [S$4.$changeVersion]: dart.fnType(async.Future$(web_sql.SqlTransaction), [core.String, core.String]), + [S$4._readTransaction]: dart.fnType(dart.void, [dart.fnType(dart.void, [web_sql.SqlTransaction])], [dart.nullable(dart.fnType(dart.void, [web_sql.SqlError])), dart.nullable(dart.fnType(dart.void, []))]), + [S$4.$readTransaction]: dart.fnType(async.Future$(web_sql.SqlTransaction), []), + [S.$transaction]: dart.fnType(dart.void, [dart.fnType(dart.void, [web_sql.SqlTransaction])], [dart.nullable(dart.fnType(dart.void, [web_sql.SqlError])), dart.nullable(dart.fnType(dart.void, []))]), + [S$4.$transaction_future]: dart.fnType(async.Future$(web_sql.SqlTransaction), []) +})); +dart.setGetterSignature(web_sql.SqlDatabase, () => ({ + __proto__: dart.getGetters(web_sql.SqlDatabase.__proto__), + [S.$version]: dart.nullable(core.String) +})); +dart.setLibraryUri(web_sql.SqlDatabase, I[163]); +dart.registerExtension("Database", web_sql.SqlDatabase); +web_sql.SqlError = class SqlError extends _interceptors.Interceptor { + get [S$.$code]() { + return this.code; + } + get [$message]() { + return this.message; + } +}; +dart.addTypeTests(web_sql.SqlError); +dart.addTypeCaches(web_sql.SqlError); +dart.setGetterSignature(web_sql.SqlError, () => ({ + __proto__: dart.getGetters(web_sql.SqlError.__proto__), + [S$.$code]: dart.nullable(core.int), + [$message]: dart.nullable(core.String) +})); +dart.setLibraryUri(web_sql.SqlError, I[163]); +dart.defineLazy(web_sql.SqlError, { + /*web_sql.SqlError.CONSTRAINT_ERR*/get CONSTRAINT_ERR() { + return 6; + }, + /*web_sql.SqlError.DATABASE_ERR*/get DATABASE_ERR() { + return 1; + }, + /*web_sql.SqlError.QUOTA_ERR*/get QUOTA_ERR() { + return 4; + }, + /*web_sql.SqlError.SYNTAX_ERR*/get SYNTAX_ERR() { + return 5; + }, + /*web_sql.SqlError.TIMEOUT_ERR*/get TIMEOUT_ERR() { + return 7; + }, + /*web_sql.SqlError.TOO_LARGE_ERR*/get TOO_LARGE_ERR() { + return 3; + }, + /*web_sql.SqlError.UNKNOWN_ERR*/get UNKNOWN_ERR() { + return 0; + }, + /*web_sql.SqlError.VERSION_ERR*/get VERSION_ERR() { + return 2; + } +}, false); +dart.registerExtension("SQLError", web_sql.SqlError); +web_sql.SqlResultSet = class SqlResultSet extends _interceptors.Interceptor { + get [S$4.$insertId]() { + return this.insertId; + } + get [S$2.$rows]() { + return this.rows; + } + get [S$4.$rowsAffected]() { + return this.rowsAffected; + } +}; +dart.addTypeTests(web_sql.SqlResultSet); +dart.addTypeCaches(web_sql.SqlResultSet); +dart.setGetterSignature(web_sql.SqlResultSet, () => ({ + __proto__: dart.getGetters(web_sql.SqlResultSet.__proto__), + [S$4.$insertId]: dart.nullable(core.int), + [S$2.$rows]: dart.nullable(web_sql.SqlResultSetRowList), + [S$4.$rowsAffected]: dart.nullable(core.int) +})); +dart.setLibraryUri(web_sql.SqlResultSet, I[163]); +dart.registerExtension("SQLResultSet", web_sql.SqlResultSet); +core.Map$ = dart.generic((K, V) => { + class Map extends core.Object { + static unmodifiable(other) { + if (other == null) dart.nullFailed(I[7], 562, 50, "other"); + return new (collection.UnmodifiableMapView$(K, V)).new(collection.LinkedHashMap$(K, V).from(other)); + } + static castFrom(K, V, K2, V2, source) { + if (source == null) dart.nullFailed(I[164], 166, 55, "source"); + return new (_internal.CastMap$(K, V, K2, V2)).new(source); + } + static fromEntries(entries) { + let t247; + if (entries == null) dart.nullFailed(I[164], 181, 52, "entries"); + t247 = new (_js_helper.LinkedMap$(K, V)).new(); + return (() => { + t247[$addEntries](entries); + return t247; + })(); + } + } + (Map[dart.mixinNew] = function() { + }).prototype = Map.prototype; + dart.addTypeTests(Map); + Map.prototype[dart.isMap] = true; + dart.addTypeCaches(Map); + dart.setLibraryUri(Map, I[8]); + return Map; +}); +core.Map = core.Map$(); +dart.addTypeTests(core.Map, dart.isMap); +const Interceptor_ListMixin$36$17 = class Interceptor_ListMixin extends _interceptors.Interceptor {}; +(Interceptor_ListMixin$36$17.new = function() { + Interceptor_ListMixin$36$17.__proto__.new.call(this); +}).prototype = Interceptor_ListMixin$36$17.prototype; +dart.applyMixin(Interceptor_ListMixin$36$17, collection.ListMixin$(core.Map)); +const Interceptor_ImmutableListMixin$36$17 = class Interceptor_ImmutableListMixin extends Interceptor_ListMixin$36$17 {}; +(Interceptor_ImmutableListMixin$36$17.new = function() { + Interceptor_ImmutableListMixin$36$17.__proto__.new.call(this); +}).prototype = Interceptor_ImmutableListMixin$36$17.prototype; +dart.applyMixin(Interceptor_ImmutableListMixin$36$17, html$.ImmutableListMixin$(core.Map)); +web_sql.SqlResultSetRowList = class SqlResultSetRowList extends Interceptor_ImmutableListMixin$36$17 { + get [$length]() { + return this.length; + } + [$_get](index) { + if (index == null) dart.nullFailed(I[162], 224, 23, "index"); + if (index >>> 0 !== index || index >= this[$length]) dart.throw(new core.IndexError.new(index, this)); + return dart.nullCheck(this[S$.$item](index)); + } + [$_set](index, value$) { + let value = value$; + if (index == null) dart.nullFailed(I[162], 230, 25, "index"); + core.Map.as(value); + if (value == null) dart.nullFailed(I[162], 230, 36, "value"); + dart.throw(new core.UnsupportedError.new("Cannot assign element of immutable List.")); + return value$; + } + set [$length](value) { + if (value == null) dart.nullFailed(I[162], 236, 18, "value"); + dart.throw(new core.UnsupportedError.new("Cannot resize immutable List.")); + } + get [$first]() { + if (dart.notNull(this[$length]) > 0) { + return this[0]; + } + dart.throw(new core.StateError.new("No elements")); + } + set [$first](value) { + super[$first] = value; + } + get [$last]() { + let len = this[$length]; + if (dart.notNull(len) > 0) { + return this[dart.notNull(len) - 1]; + } + dart.throw(new core.StateError.new("No elements")); + } + set [$last](value) { + super[$last] = value; + } + get [$single]() { + let len = this[$length]; + if (len === 1) { + return this[0]; + } + if (len === 0) dart.throw(new core.StateError.new("No elements")); + dart.throw(new core.StateError.new("More than one element")); + } + [$elementAt](index) { + if (index == null) dart.nullFailed(I[162], 264, 21, "index"); + return this[$_get](index); + } + [S$.$item](index) { + if (index == null) dart.nullFailed(I[162], 267, 17, "index"); + return html_common.convertNativeToDart_Dictionary(this[S$4._item_1](index)); + } + [S$4._item_1](...args) { + return this.item.apply(this, args); + } +}; +web_sql.SqlResultSetRowList.prototype[dart.isList] = true; +dart.addTypeTests(web_sql.SqlResultSetRowList); +dart.addTypeCaches(web_sql.SqlResultSetRowList); +web_sql.SqlResultSetRowList[dart.implements] = () => [core.List$(core.Map)]; +dart.setMethodSignature(web_sql.SqlResultSetRowList, () => ({ + __proto__: dart.getMethods(web_sql.SqlResultSetRowList.__proto__), + [$_get]: dart.fnType(core.Map, [core.int]), + [$_set]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), + [S$.$item]: dart.fnType(dart.nullable(core.Map), [core.int]), + [S$4._item_1]: dart.fnType(dart.dynamic, [dart.dynamic]) +})); +dart.setGetterSignature(web_sql.SqlResultSetRowList, () => ({ + __proto__: dart.getGetters(web_sql.SqlResultSetRowList.__proto__), + [$length]: core.int +})); +dart.setSetterSignature(web_sql.SqlResultSetRowList, () => ({ + __proto__: dart.getSetters(web_sql.SqlResultSetRowList.__proto__), + [$length]: core.int +})); +dart.setLibraryUri(web_sql.SqlResultSetRowList, I[163]); +dart.registerExtension("SQLResultSetRowList", web_sql.SqlResultSetRowList); +web_sql.SqlTransaction = class SqlTransaction extends _interceptors.Interceptor { + [S$4._executeSql](...args) { + return this.executeSql.apply(this, args); + } + [S$4.$executeSql](sqlStatement, $arguments = null) { + if (sqlStatement == null) dart.nullFailed(I[162], 296, 42, "sqlStatement"); + let completer = T$0.CompleterOfSqlResultSet().new(); + this[S$4._executeSql](sqlStatement, $arguments, dart.fn((transaction, resultSet) => { + if (transaction == null) dart.nullFailed(I[162], 298, 43, "transaction"); + if (resultSet == null) dart.nullFailed(I[162], 298, 56, "resultSet"); + _js_helper.applyExtension("SQLResultSet", resultSet); + _js_helper.applyExtension("SQLResultSetRowList", resultSet.rows); + completer.complete(resultSet); + }, T$0.SqlTransactionAndSqlResultSetTovoid()), dart.fn((transaction, error) => { + if (transaction == null) dart.nullFailed(I[162], 302, 9, "transaction"); + if (error == null) dart.nullFailed(I[162], 302, 22, "error"); + completer.completeError(error); + }, T$0.SqlTransactionAndSqlErrorTovoid())); + return completer.future; + } +}; +dart.addTypeTests(web_sql.SqlTransaction); +dart.addTypeCaches(web_sql.SqlTransaction); +dart.setMethodSignature(web_sql.SqlTransaction, () => ({ + __proto__: dart.getMethods(web_sql.SqlTransaction.__proto__), + [S$4._executeSql]: dart.fnType(dart.void, [core.String], [dart.nullable(core.List), dart.nullable(dart.fnType(dart.void, [web_sql.SqlTransaction, web_sql.SqlResultSet])), dart.nullable(dart.fnType(dart.void, [web_sql.SqlTransaction, web_sql.SqlError]))]), + [S$4.$executeSql]: dart.fnType(async.Future$(web_sql.SqlResultSet), [core.String], [dart.nullable(core.List)]) +})); +dart.setLibraryUri(web_sql.SqlTransaction, I[163]); +dart.registerExtension("SQLTransaction", web_sql.SqlTransaction); +var _errorMsg$ = dart.privateName(core, "_errorMsg"); +core._CompileTimeError = class _CompileTimeError extends core.Error { + toString() { + return this[_errorMsg$]; + } +}; +(core._CompileTimeError.new = function(_errorMsg) { + if (_errorMsg == null) dart.nullFailed(I[7], 776, 26, "_errorMsg"); + this[_errorMsg$] = _errorMsg; + core._CompileTimeError.__proto__.new.call(this); + ; +}).prototype = core._CompileTimeError.prototype; +dart.addTypeTests(core._CompileTimeError); +dart.addTypeCaches(core._CompileTimeError); +dart.setLibraryUri(core._CompileTimeError, I[8]); +dart.setFieldSignature(core._CompileTimeError, () => ({ + __proto__: dart.getFields(core._CompileTimeError.__proto__), + [_errorMsg$]: dart.finalFieldType(core.String) +})); +dart.defineExtensionMethods(core._CompileTimeError, ['toString']); +var _name$6 = dart.privateName(core, "_name"); +core._DuplicatedFieldInitializerError = class _DuplicatedFieldInitializerError extends core.Object { + toString() { + return "Error: field '" + dart.str(this[_name$6]) + "' is already initialized."; + } +}; +(core._DuplicatedFieldInitializerError.new = function(_name) { + if (_name == null) dart.nullFailed(I[7], 918, 41, "_name"); + this[_name$6] = _name; + ; +}).prototype = core._DuplicatedFieldInitializerError.prototype; +dart.addTypeTests(core._DuplicatedFieldInitializerError); +dart.addTypeCaches(core._DuplicatedFieldInitializerError); +dart.setLibraryUri(core._DuplicatedFieldInitializerError, I[8]); +dart.setFieldSignature(core._DuplicatedFieldInitializerError, () => ({ + __proto__: dart.getFields(core._DuplicatedFieldInitializerError.__proto__), + [_name$6]: dart.finalFieldType(core.String) +})); +dart.defineExtensionMethods(core._DuplicatedFieldInitializerError, ['toString']); +var _used$ = dart.privateName(core, "_used"); +var _digits$ = dart.privateName(core, "_digits"); +var _isNegative = dart.privateName(core, "_isNegative"); +var _isZero = dart.privateName(core, "_isZero"); +var _dlShift = dart.privateName(core, "_dlShift"); +var _drShift = dart.privateName(core, "_drShift"); +var _absCompare = dart.privateName(core, "_absCompare"); +var _absAddSetSign = dart.privateName(core, "_absAddSetSign"); +var _absSubSetSign = dart.privateName(core, "_absSubSetSign"); +var _absAndSetSign = dart.privateName(core, "_absAndSetSign"); +var _absAndNotSetSign = dart.privateName(core, "_absAndNotSetSign"); +var _absOrSetSign = dart.privateName(core, "_absOrSetSign"); +var _absXorSetSign = dart.privateName(core, "_absXorSetSign"); +var _divRem = dart.privateName(core, "_divRem"); +var _div = dart.privateName(core, "_div"); +var _rem = dart.privateName(core, "_rem"); +var _toRadixCodeUnit = dart.privateName(core, "_toRadixCodeUnit"); +var _toHexString = dart.privateName(core, "_toHexString"); +core._BigIntImpl = class _BigIntImpl extends core.Object { + static parse(source, opts) { + if (source == null) dart.nullFailed(I[7], 1044, 35, "source"); + let radix = opts && 'radix' in opts ? opts.radix : null; + let result = core._BigIntImpl._tryParse(source, {radix: radix}); + if (result == null) { + dart.throw(new core.FormatException.new("Could not parse BigInt", source)); + } + return result; + } + static _parseDecimal(source, isNegative) { + if (source == null) dart.nullFailed(I[7], 1055, 43, "source"); + if (isNegative == null) dart.nullFailed(I[7], 1055, 56, "isNegative"); + let part = 0; + let result = core._BigIntImpl.zero; + let digitInPartCount = 4 - source.length[$remainder](4); + if (digitInPartCount === 4) digitInPartCount = 0; + for (let i = 0; i < source.length; i = i + 1) { + part = part * 10 + source[$codeUnitAt](i) - 48; + if ((digitInPartCount = digitInPartCount + 1) === 4) { + result = result['*'](core._BigIntImpl._bigInt10000)['+'](core._BigIntImpl._fromInt(part)); + part = 0; + digitInPartCount = 0; + } + } + if (dart.test(isNegative)) return result._negate(); + return result; + } + static _codeUnitToRadixValue(codeUnit) { + if (codeUnit == null) dart.nullFailed(I[7], 1085, 40, "codeUnit"); + if (48 <= dart.notNull(codeUnit) && dart.notNull(codeUnit) <= 57) return dart.notNull(codeUnit) - 48; + codeUnit = (dart.notNull(codeUnit) | 32) >>> 0; + let result = dart.notNull(codeUnit) - 97 + 10; + return result; + } + static _parseHex(source, startPos, isNegative) { + let t247, t247$, t247$0, t247$1; + if (source == null) dart.nullFailed(I[7], 1105, 40, "source"); + if (startPos == null) dart.nullFailed(I[7], 1105, 52, "startPos"); + if (isNegative == null) dart.nullFailed(I[7], 1105, 67, "isNegative"); + let hexDigitsPerChunk = (16 / 4)[$truncate](); + let sourceLength = source.length - dart.notNull(startPos); + let chunkCount = (sourceLength / hexDigitsPerChunk)[$ceil](); + let digits = _native_typed_data.NativeUint16List.new(chunkCount); + let lastDigitLength = sourceLength - (chunkCount - 1) * hexDigitsPerChunk; + let digitIndex = dart.notNull(digits[$length]) - 1; + let i = startPos; + let chunk = 0; + for (let j = 0; j < lastDigitLength; j = j + 1) { + let digitValue = core._BigIntImpl._codeUnitToRadixValue(source[$codeUnitAt]((t247 = i, i = dart.notNull(t247) + 1, t247))); + if (dart.notNull(digitValue) >= 16) return null; + chunk = chunk * 16 + dart.notNull(digitValue); + } + digits[$_set]((t247$ = digitIndex, digitIndex = t247$ - 1, t247$), chunk); + while (dart.notNull(i) < source.length) { + chunk = 0; + for (let j = 0; j < hexDigitsPerChunk; j = j + 1) { + let digitValue = core._BigIntImpl._codeUnitToRadixValue(source[$codeUnitAt]((t247$0 = i, i = dart.notNull(t247$0) + 1, t247$0))); + if (dart.notNull(digitValue) >= 16) return null; + chunk = chunk * 16 + dart.notNull(digitValue); + } + digits[$_set]((t247$1 = digitIndex, digitIndex = t247$1 - 1, t247$1), chunk); + } + if (digits[$length] === 1 && digits[$_get](0) === 0) return core._BigIntImpl.zero; + return new core._BigIntImpl.__(isNegative, digits[$length], digits); + } + static _parseRadix(source, radix, isNegative) { + if (source == null) dart.nullFailed(I[7], 1139, 42, "source"); + if (radix == null) dart.nullFailed(I[7], 1139, 54, "radix"); + if (isNegative == null) dart.nullFailed(I[7], 1139, 66, "isNegative"); + let result = core._BigIntImpl.zero; + let base = core._BigIntImpl._fromInt(radix); + for (let i = 0; i < source.length; i = i + 1) { + let digitValue = core._BigIntImpl._codeUnitToRadixValue(source[$codeUnitAt](i)); + if (dart.notNull(digitValue) >= dart.notNull(radix)) return null; + result = result['*'](base)['+'](core._BigIntImpl._fromInt(digitValue)); + } + if (dart.test(isNegative)) return result._negate(); + return result; + } + static _tryParse(source, opts) { + let t247, t247$, t247$0; + if (source == null) dart.nullFailed(I[7], 1156, 40, "source"); + let radix = opts && 'radix' in opts ? opts.radix : null; + if (source === "") return null; + let match = core._BigIntImpl._parseRE.firstMatch(source); + let signIndex = 1; + let hexIndex = 3; + let decimalIndex = 4; + let nonDecimalHexIndex = 5; + if (match == null) return null; + let isNegative = match._get(signIndex) === "-"; + let decimalMatch = match._get(decimalIndex); + let hexMatch = match._get(hexIndex); + let nonDecimalMatch = match._get(nonDecimalHexIndex); + if (radix == null) { + if (decimalMatch != null) { + return core._BigIntImpl._parseDecimal(decimalMatch, isNegative); + } + if (hexMatch != null) { + return core._BigIntImpl._parseHex(hexMatch, 2, isNegative); + } + return null; + } + if (dart.notNull(radix) < 2 || dart.notNull(radix) > 36) { + dart.throw(new core.RangeError.range(radix, 2, 36, "radix")); + } + if (radix === 10 && decimalMatch != null) { + return core._BigIntImpl._parseDecimal(decimalMatch, isNegative); + } + if (radix === 16 && (decimalMatch != null || nonDecimalMatch != null)) { + return core._BigIntImpl._parseHex((t247 = decimalMatch, t247 == null ? dart.nullCheck(nonDecimalMatch) : t247), 0, isNegative); + } + return core._BigIntImpl._parseRadix((t247$0 = (t247$ = decimalMatch, t247$ == null ? nonDecimalMatch : t247$), t247$0 == null ? dart.nullCheck(hexMatch) : t247$0), radix, isNegative); + } + static _normalize(used, digits) { + if (used == null) dart.nullFailed(I[7], 1203, 29, "used"); + if (digits == null) dart.nullFailed(I[7], 1203, 46, "digits"); + while (dart.notNull(used) > 0 && digits[$_get](dart.notNull(used) - 1) === 0) + used = dart.notNull(used) - 1; + return used; + } + get [_isZero]() { + return this[_used$] === 0; + } + static _cloneDigits(digits, from, to, length) { + if (digits == null) dart.nullFailed(I[7], 1224, 18, "digits"); + if (from == null) dart.nullFailed(I[7], 1224, 30, "from"); + if (to == null) dart.nullFailed(I[7], 1224, 40, "to"); + if (length == null) dart.nullFailed(I[7], 1224, 48, "length"); + let resultDigits = _native_typed_data.NativeUint16List.new(length); + let n = dart.notNull(to) - dart.notNull(from); + for (let i = 0; i < n; i = i + 1) { + resultDigits[$_set](i, digits[$_get](dart.notNull(from) + i)); + } + return resultDigits; + } + static from(value) { + if (value == null) dart.nullFailed(I[7], 1234, 32, "value"); + if (value === 0) return core._BigIntImpl.zero; + if (value === 1) return core._BigIntImpl.one; + if (value === 2) return core._BigIntImpl.two; + if (value[$abs]() < 4294967296) return core._BigIntImpl._fromInt(value[$toInt]()); + if (typeof value == 'number') return core._BigIntImpl._fromDouble(value); + return core._BigIntImpl._fromInt(dart.asInt(value)); + } + static _fromInt(value) { + let t247; + if (value == null) dart.nullFailed(I[7], 1246, 36, "value"); + let isNegative = dart.notNull(value) < 0; + if (!(16 === 16)) dart.assertFailed(null, I[7], 1248, 12, "_digitBits == 16"); + if (isNegative) { + if (value === -9223372036854776000.0) { + let digits = _native_typed_data.NativeUint16List.new(4); + digits[$_set](3, 32768); + return new core._BigIntImpl.__(true, 4, digits); + } + value = -dart.notNull(value); + } + if (dart.notNull(value) < 65536) { + let digits = _native_typed_data.NativeUint16List.new(1); + digits[$_set](0, value); + return new core._BigIntImpl.__(isNegative, 1, digits); + } + if (dart.notNull(value) <= 4294967295) { + let digits = _native_typed_data.NativeUint16List.new(2); + digits[$_set](0, (dart.notNull(value) & 65535) >>> 0); + digits[$_set](1, value[$rightShift](16)); + return new core._BigIntImpl.__(isNegative, 2, digits); + } + let bits = value[$bitLength]; + let digits = _native_typed_data.NativeUint16List.new(((bits - 1) / 16)[$truncate]() + 1); + let i = 0; + while (value !== 0) { + digits[$_set]((t247 = i, i = t247 + 1, t247), (dart.notNull(value) & 65535) >>> 0); + value = (dart.notNull(value) / 65536)[$truncate](); + } + return new core._BigIntImpl.__(isNegative, digits[$length], digits); + } + static _fromDouble(value) { + if (value == null) dart.nullFailed(I[7], 1286, 42, "value"); + if (value[$isNaN] || value[$isInfinite]) { + dart.throw(new core.ArgumentError.new("Value must be finite: " + dart.str(value))); + } + let isNegative = dart.notNull(value) < 0; + if (isNegative) value = -dart.notNull(value); + value = value[$floorToDouble](); + if (value === 0) return core._BigIntImpl.zero; + let bits = core._BigIntImpl._bitsForFromDouble; + for (let i = 0; i < 8; i = i + 1) { + bits[$_set](i, 0); + } + bits[$buffer][$asByteData]()[$setFloat64](0, value, typed_data.Endian.little); + let biasedExponent = (dart.notNull(bits[$_get](7)) << 4 >>> 0) + bits[$_get](6)[$rightShift](4); + let exponent = biasedExponent - 1075; + if (!(16 === 16)) dart.assertFailed(null, I[7], 1307, 12, "_digitBits == 16"); + let unshiftedDigits = _native_typed_data.NativeUint16List.new(4); + unshiftedDigits[$_set](0, (dart.notNull(bits[$_get](1)) << 8 >>> 0) + dart.notNull(bits[$_get](0))); + unshiftedDigits[$_set](1, (dart.notNull(bits[$_get](3)) << 8 >>> 0) + dart.notNull(bits[$_get](2))); + unshiftedDigits[$_set](2, (dart.notNull(bits[$_get](5)) << 8 >>> 0) + dart.notNull(bits[$_get](4))); + unshiftedDigits[$_set](3, 16 | dart.notNull(bits[$_get](6)) & 15); + let unshiftedBig = new core._BigIntImpl._normalized(false, 4, unshiftedDigits); + let absResult = unshiftedBig; + if (exponent < 0) { + absResult = unshiftedBig['>>'](-exponent); + } else if (exponent > 0) { + absResult = unshiftedBig['<<'](exponent); + } + if (isNegative) return absResult._negate(); + return absResult; + } + _negate() { + if (this[_used$] === 0) return this; + return new core._BigIntImpl.__(!dart.test(this[_isNegative]), this[_used$], this[_digits$]); + } + abs() { + return dart.test(this[_isNegative]) ? this._negate() : this; + } + [_dlShift](n) { + if (n == null) dart.nullFailed(I[7], 1346, 28, "n"); + let used = this[_used$]; + if (used === 0) { + return core._BigIntImpl.zero; + } + let resultUsed = dart.notNull(used) + dart.notNull(n); + let digits = this[_digits$]; + let resultDigits = _native_typed_data.NativeUint16List.new(resultUsed); + for (let i = dart.notNull(used) - 1; i >= 0; i = i - 1) { + resultDigits[$_set](i + dart.notNull(n), digits[$_get](i)); + } + return new core._BigIntImpl.__(this[_isNegative], resultUsed, resultDigits); + } + static _dlShiftDigits(xDigits, xUsed, n, resultDigits) { + if (xDigits == null) dart.nullFailed(I[7], 1366, 18, "xDigits"); + if (xUsed == null) dart.nullFailed(I[7], 1366, 31, "xUsed"); + if (n == null) dart.nullFailed(I[7], 1366, 42, "n"); + if (resultDigits == null) dart.nullFailed(I[7], 1366, 56, "resultDigits"); + if (xUsed === 0) { + return 0; + } + if (n === 0 && resultDigits == xDigits) { + return xUsed; + } + let resultUsed = dart.notNull(xUsed) + dart.notNull(n); + for (let i = dart.notNull(xUsed) - 1; i >= 0; i = i - 1) { + resultDigits[$_set](i + dart.notNull(n), xDigits[$_get](i)); + } + for (let i = dart.notNull(n) - 1; i >= 0; i = i - 1) { + resultDigits[$_set](i, 0); + } + return resultUsed; + } + [_drShift](n) { + if (n == null) dart.nullFailed(I[7], 1384, 28, "n"); + let used = this[_used$]; + if (used === 0) { + return core._BigIntImpl.zero; + } + let resultUsed = dart.notNull(used) - dart.notNull(n); + if (resultUsed <= 0) { + return dart.test(this[_isNegative]) ? core._BigIntImpl._minusOne : core._BigIntImpl.zero; + } + let digits = this[_digits$]; + let resultDigits = _native_typed_data.NativeUint16List.new(resultUsed); + for (let i = n; dart.notNull(i) < dart.notNull(used); i = dart.notNull(i) + 1) { + resultDigits[$_set](dart.notNull(i) - dart.notNull(n), digits[$_get](i)); + } + let result = new core._BigIntImpl.__(this[_isNegative], resultUsed, resultDigits); + if (dart.test(this[_isNegative])) { + for (let i = 0; i < dart.notNull(n); i = i + 1) { + if (digits[$_get](i) !== 0) { + return result['-'](core._BigIntImpl.one); + } + } + } + return result; + } + static _lsh(xDigits, xUsed, n, resultDigits) { + if (xDigits == null) dart.nullFailed(I[7], 1417, 18, "xDigits"); + if (xUsed == null) dart.nullFailed(I[7], 1417, 31, "xUsed"); + if (n == null) dart.nullFailed(I[7], 1417, 42, "n"); + if (resultDigits == null) dart.nullFailed(I[7], 1417, 56, "resultDigits"); + if (!(dart.notNull(xUsed) > 0)) dart.assertFailed(null, I[7], 1418, 12, "xUsed > 0"); + let digitShift = (dart.notNull(n) / 16)[$truncate](); + let bitShift = n[$modulo](16); + let carryBitShift = 16 - bitShift; + let bitMask = (1)[$leftShift](carryBitShift) - 1; + let carry = 0; + for (let i = dart.notNull(xUsed) - 1; i >= 0; i = i - 1) { + let digit = xDigits[$_get](i); + resultDigits[$_set](i + digitShift + 1, (digit[$rightShift](carryBitShift) | carry) >>> 0); + carry = ((dart.notNull(digit) & bitMask) >>> 0)[$leftShift](bitShift); + } + resultDigits[$_set](digitShift, carry); + } + ['<<'](shiftAmount) { + if (shiftAmount == null) dart.nullFailed(I[7], 1444, 31, "shiftAmount"); + if (dart.notNull(shiftAmount) < 0) { + dart.throw(new core.ArgumentError.new("shift-amount must be posititve " + dart.str(shiftAmount))); + } + if (dart.test(this[_isZero])) return this; + let digitShift = (dart.notNull(shiftAmount) / 16)[$truncate](); + let bitShift = shiftAmount[$modulo](16); + if (bitShift === 0) { + return this[_dlShift](digitShift); + } + let resultUsed = dart.notNull(this[_used$]) + digitShift + 1; + let resultDigits = _native_typed_data.NativeUint16List.new(resultUsed); + core._BigIntImpl._lsh(this[_digits$], this[_used$], shiftAmount, resultDigits); + return new core._BigIntImpl.__(this[_isNegative], resultUsed, resultDigits); + } + static _lShiftDigits(xDigits, xUsed, n, resultDigits) { + if (xDigits == null) dart.nullFailed(I[7], 1463, 18, "xDigits"); + if (xUsed == null) dart.nullFailed(I[7], 1463, 31, "xUsed"); + if (n == null) dart.nullFailed(I[7], 1463, 42, "n"); + if (resultDigits == null) dart.nullFailed(I[7], 1463, 56, "resultDigits"); + let digitsShift = (dart.notNull(n) / 16)[$truncate](); + let bitShift = n[$modulo](16); + if (bitShift === 0) { + return core._BigIntImpl._dlShiftDigits(xDigits, xUsed, digitsShift, resultDigits); + } + let resultUsed = dart.notNull(xUsed) + digitsShift + 1; + core._BigIntImpl._lsh(xDigits, xUsed, n, resultDigits); + let i = digitsShift; + while ((i = i - 1) >= 0) { + resultDigits[$_set](i, 0); + } + if (resultDigits[$_get](resultUsed - 1) === 0) { + resultUsed = resultUsed - 1; + } + return resultUsed; + } + static _rsh(xDigits, xUsed, n, resultDigits) { + if (xDigits == null) dart.nullFailed(I[7], 1483, 18, "xDigits"); + if (xUsed == null) dart.nullFailed(I[7], 1483, 31, "xUsed"); + if (n == null) dart.nullFailed(I[7], 1483, 42, "n"); + if (resultDigits == null) dart.nullFailed(I[7], 1483, 56, "resultDigits"); + if (!(dart.notNull(xUsed) > 0)) dart.assertFailed(null, I[7], 1484, 12, "xUsed > 0"); + let digitsShift = (dart.notNull(n) / 16)[$truncate](); + let bitShift = n[$modulo](16); + let carryBitShift = 16 - bitShift; + let bitMask = (1)[$leftShift](bitShift) - 1; + let carry = xDigits[$_get](digitsShift)[$rightShift](bitShift); + let last = dart.notNull(xUsed) - digitsShift - 1; + for (let i = 0; i < last; i = i + 1) { + let digit = xDigits[$_get](i + digitsShift + 1); + resultDigits[$_set](i, (((dart.notNull(digit) & bitMask) >>> 0)[$leftShift](carryBitShift) | carry) >>> 0); + carry = digit[$rightShift](bitShift); + } + resultDigits[$_set](last, carry); + } + ['>>'](shiftAmount) { + if (shiftAmount == null) dart.nullFailed(I[7], 1508, 31, "shiftAmount"); + if (dart.notNull(shiftAmount) < 0) { + dart.throw(new core.ArgumentError.new("shift-amount must be posititve " + dart.str(shiftAmount))); + } + if (dart.test(this[_isZero])) return this; + let digitShift = (dart.notNull(shiftAmount) / 16)[$truncate](); + let bitShift = shiftAmount[$modulo](16); + if (bitShift === 0) { + return this[_drShift](digitShift); + } + let used = this[_used$]; + let resultUsed = dart.notNull(used) - digitShift; + if (resultUsed <= 0) { + return dart.test(this[_isNegative]) ? core._BigIntImpl._minusOne : core._BigIntImpl.zero; + } + let digits = this[_digits$]; + let resultDigits = _native_typed_data.NativeUint16List.new(resultUsed); + core._BigIntImpl._rsh(digits, used, shiftAmount, resultDigits); + let result = new core._BigIntImpl.__(this[_isNegative], resultUsed, resultDigits); + if (dart.test(this[_isNegative])) { + if ((dart.notNull(digits[$_get](digitShift)) & (1)[$leftShift](bitShift) - 1) !== 0) { + return result['-'](core._BigIntImpl.one); + } + for (let i = 0; i < digitShift; i = i + 1) { + if (digits[$_get](i) !== 0) { + return result['-'](core._BigIntImpl.one); + } + } + } + return result; + } + [_absCompare](other) { + if (other == null) dart.nullFailed(I[7], 1545, 31, "other"); + return core._BigIntImpl._compareDigits(this[_digits$], this[_used$], other[_digits$], other[_used$]); + } + compareTo(other) { + core._BigIntImpl.as(other); + if (other == null) dart.nullFailed(I[7], 1555, 39, "other"); + if (this[_isNegative] == other[_isNegative]) { + let result = this[_absCompare](other); + return dart.test(this[_isNegative]) ? 0 - dart.notNull(result) : result; + } + return dart.test(this[_isNegative]) ? -1 : 1; + } + static _compareDigits(digits, used, otherDigits, otherUsed) { + if (digits == null) dart.nullFailed(I[7], 1569, 18, "digits"); + if (used == null) dart.nullFailed(I[7], 1569, 30, "used"); + if (otherDigits == null) dart.nullFailed(I[7], 1569, 47, "otherDigits"); + if (otherUsed == null) dart.nullFailed(I[7], 1569, 64, "otherUsed"); + let result = dart.notNull(used) - dart.notNull(otherUsed); + if (result === 0) { + for (let i = dart.notNull(used) - 1; i >= 0; i = i - 1) { + result = dart.notNull(digits[$_get](i)) - dart.notNull(otherDigits[$_get](i)); + if (result !== 0) return result; + } + } + return result; + } + static _absAdd(digits, used, otherDigits, otherUsed, resultDigits) { + if (digits == null) dart.nullFailed(I[7], 1582, 34, "digits"); + if (used == null) dart.nullFailed(I[7], 1582, 46, "used"); + if (otherDigits == null) dart.nullFailed(I[7], 1582, 63, "otherDigits"); + if (otherUsed == null) dart.nullFailed(I[7], 1583, 11, "otherUsed"); + if (resultDigits == null) dart.nullFailed(I[7], 1583, 33, "resultDigits"); + if (!(dart.notNull(used) >= dart.notNull(otherUsed) && dart.notNull(otherUsed) > 0)) dart.assertFailed(null, I[7], 1584, 12, "used >= otherUsed && otherUsed > 0"); + let carry = 0; + for (let i = 0; i < dart.notNull(otherUsed); i = i + 1) { + carry = carry + (dart.notNull(digits[$_get](i)) + dart.notNull(otherDigits[$_get](i))); + resultDigits[$_set](i, (carry & 65535) >>> 0); + carry = carry[$rightShift](16); + } + for (let i = otherUsed; dart.notNull(i) < dart.notNull(used); i = dart.notNull(i) + 1) { + carry = carry + dart.notNull(digits[$_get](i)); + resultDigits[$_set](i, (carry & 65535) >>> 0); + carry = carry[$rightShift](16); + } + resultDigits[$_set](used, carry); + } + static _absSub(digits, used, otherDigits, otherUsed, resultDigits) { + if (digits == null) dart.nullFailed(I[7], 1601, 34, "digits"); + if (used == null) dart.nullFailed(I[7], 1601, 46, "used"); + if (otherDigits == null) dart.nullFailed(I[7], 1601, 63, "otherDigits"); + if (otherUsed == null) dart.nullFailed(I[7], 1602, 11, "otherUsed"); + if (resultDigits == null) dart.nullFailed(I[7], 1602, 33, "resultDigits"); + if (!(dart.notNull(used) >= dart.notNull(otherUsed) && dart.notNull(otherUsed) > 0)) dart.assertFailed(null, I[7], 1603, 12, "used >= otherUsed && otherUsed > 0"); + let carry = 0; + for (let i = 0; i < dart.notNull(otherUsed); i = i + 1) { + carry = carry + (dart.notNull(digits[$_get](i)) - dart.notNull(otherDigits[$_get](i))); + resultDigits[$_set](i, (carry & 65535) >>> 0); + carry = 0 - (carry[$rightShift](16) & 1); + } + for (let i = otherUsed; dart.notNull(i) < dart.notNull(used); i = dart.notNull(i) + 1) { + carry = carry + dart.notNull(digits[$_get](i)); + resultDigits[$_set](i, (carry & 65535) >>> 0); + carry = 0 - (carry[$rightShift](16) & 1); + } + } + [_absAddSetSign](other, isNegative) { + if (other == null) dart.nullFailed(I[7], 1623, 42, "other"); + if (isNegative == null) dart.nullFailed(I[7], 1623, 54, "isNegative"); + let used = this[_used$]; + let otherUsed = other[_used$]; + if (dart.notNull(used) < dart.notNull(otherUsed)) { + return other[_absAddSetSign](this, isNegative); + } + if (used === 0) { + if (!!dart.test(isNegative)) dart.assertFailed(null, I[7], 1630, 14, "!isNegative"); + return core._BigIntImpl.zero; + } + if (otherUsed === 0) { + return this[_isNegative] == isNegative ? this : this._negate(); + } + let resultUsed = dart.notNull(used) + 1; + let resultDigits = _native_typed_data.NativeUint16List.new(resultUsed); + core._BigIntImpl._absAdd(this[_digits$], used, other[_digits$], otherUsed, resultDigits); + return new core._BigIntImpl.__(isNegative, resultUsed, resultDigits); + } + [_absSubSetSign](other, isNegative) { + if (other == null) dart.nullFailed(I[7], 1645, 42, "other"); + if (isNegative == null) dart.nullFailed(I[7], 1645, 54, "isNegative"); + if (!(dart.notNull(this[_absCompare](other)) >= 0)) dart.assertFailed(null, I[7], 1646, 12, "_absCompare(other) >= 0"); + let used = this[_used$]; + if (used === 0) { + if (!!dart.test(isNegative)) dart.assertFailed(null, I[7], 1649, 14, "!isNegative"); + return core._BigIntImpl.zero; + } + let otherUsed = other[_used$]; + if (otherUsed === 0) { + return this[_isNegative] == isNegative ? this : this._negate(); + } + let resultDigits = _native_typed_data.NativeUint16List.new(used); + core._BigIntImpl._absSub(this[_digits$], used, other[_digits$], otherUsed, resultDigits); + return new core._BigIntImpl.__(isNegative, used, resultDigits); + } + [_absAndSetSign](other, isNegative) { + if (other == null) dart.nullFailed(I[7], 1662, 42, "other"); + if (isNegative == null) dart.nullFailed(I[7], 1662, 54, "isNegative"); + let resultUsed = core._min(this[_used$], other[_used$]); + let digits = this[_digits$]; + let otherDigits = other[_digits$]; + let resultDigits = _native_typed_data.NativeUint16List.new(resultUsed); + for (let i = 0; i < dart.notNull(resultUsed); i = i + 1) { + resultDigits[$_set](i, (dart.notNull(digits[$_get](i)) & dart.notNull(otherDigits[$_get](i))) >>> 0); + } + return new core._BigIntImpl.__(isNegative, resultUsed, resultDigits); + } + [_absAndNotSetSign](other, isNegative) { + if (other == null) dart.nullFailed(I[7], 1674, 45, "other"); + if (isNegative == null) dart.nullFailed(I[7], 1674, 57, "isNegative"); + let resultUsed = this[_used$]; + let digits = this[_digits$]; + let otherDigits = other[_digits$]; + let resultDigits = _native_typed_data.NativeUint16List.new(resultUsed); + let m = core._min(resultUsed, other[_used$]); + for (let i = 0; i < dart.notNull(m); i = i + 1) { + resultDigits[$_set](i, (dart.notNull(digits[$_get](i)) & ~dart.notNull(otherDigits[$_get](i)) >>> 0) >>> 0); + } + for (let i = m; dart.notNull(i) < dart.notNull(resultUsed); i = dart.notNull(i) + 1) { + resultDigits[$_set](i, digits[$_get](i)); + } + return new core._BigIntImpl.__(isNegative, resultUsed, resultDigits); + } + [_absOrSetSign](other, isNegative) { + if (other == null) dart.nullFailed(I[7], 1690, 41, "other"); + if (isNegative == null) dart.nullFailed(I[7], 1690, 53, "isNegative"); + let used = this[_used$]; + let otherUsed = other[_used$]; + let resultUsed = core._max(used, otherUsed); + let digits = this[_digits$]; + let otherDigits = other[_digits$]; + let resultDigits = _native_typed_data.NativeUint16List.new(resultUsed); + let l = null; + let m = null; + if (dart.notNull(used) < dart.notNull(otherUsed)) { + l = other; + m = used; + } else { + l = this; + m = otherUsed; + } + for (let i = 0; i < dart.notNull(m); i = i + 1) { + resultDigits[$_set](i, (dart.notNull(digits[$_get](i)) | dart.notNull(otherDigits[$_get](i))) >>> 0); + } + let lDigits = l[_digits$]; + for (let i = m; dart.notNull(i) < dart.notNull(resultUsed); i = dart.notNull(i) + 1) { + resultDigits[$_set](i, lDigits[$_get](i)); + } + return new core._BigIntImpl.__(isNegative, resultUsed, resultDigits); + } + [_absXorSetSign](other, isNegative) { + if (other == null) dart.nullFailed(I[7], 1717, 42, "other"); + if (isNegative == null) dart.nullFailed(I[7], 1717, 54, "isNegative"); + let used = this[_used$]; + let otherUsed = other[_used$]; + let resultUsed = core._max(used, otherUsed); + let digits = this[_digits$]; + let otherDigits = other[_digits$]; + let resultDigits = _native_typed_data.NativeUint16List.new(resultUsed); + let l = null; + let m = null; + if (dart.notNull(used) < dart.notNull(otherUsed)) { + l = other; + m = used; + } else { + l = this; + m = otherUsed; + } + for (let i = 0; i < dart.notNull(m); i = i + 1) { + resultDigits[$_set](i, (dart.notNull(digits[$_get](i)) ^ dart.notNull(otherDigits[$_get](i))) >>> 0); + } + let lDigits = l[_digits$]; + for (let i = m; dart.notNull(i) < dart.notNull(resultUsed); i = dart.notNull(i) + 1) { + resultDigits[$_set](i, lDigits[$_get](i)); + } + return new core._BigIntImpl.__(isNegative, resultUsed, resultDigits); + } + ['&'](other) { + core._BigIntImpl.as(other); + if (other == null) dart.nullFailed(I[7], 1753, 48, "other"); + if (dart.test(this[_isZero]) || dart.test(other[_isZero])) return core._BigIntImpl.zero; + if (this[_isNegative] == other[_isNegative]) { + if (dart.test(this[_isNegative])) { + let this1 = this[_absSubSetSign](core._BigIntImpl.one, true); + let other1 = other[_absSubSetSign](core._BigIntImpl.one, true); + return this1[_absOrSetSign](other1, true)[_absAddSetSign](core._BigIntImpl.one, true); + } + return this[_absAndSetSign](other, false); + } + let p = null; + let n = null; + if (dart.test(this[_isNegative])) { + p = other; + n = this; + } else { + p = this; + n = other; + } + let n1 = n[_absSubSetSign](core._BigIntImpl.one, false); + return p[_absAndNotSetSign](n1, false); + } + ['|'](other) { + core._BigIntImpl.as(other); + if (other == null) dart.nullFailed(I[7], 1792, 48, "other"); + if (dart.test(this[_isZero])) return other; + if (dart.test(other[_isZero])) return this; + if (this[_isNegative] == other[_isNegative]) { + if (dart.test(this[_isNegative])) { + let this1 = this[_absSubSetSign](core._BigIntImpl.one, true); + let other1 = other[_absSubSetSign](core._BigIntImpl.one, true); + return this1[_absAndSetSign](other1, true)[_absAddSetSign](core._BigIntImpl.one, true); + } + return this[_absOrSetSign](other, false); + } + let p = null; + let n = null; + if (dart.test(this[_isNegative])) { + p = other; + n = this; + } else { + p = this; + n = other; + } + let n1 = n[_absSubSetSign](core._BigIntImpl.one, true); + return n1[_absAndNotSetSign](p, true)[_absAddSetSign](core._BigIntImpl.one, true); + } + ['^'](other) { + core._BigIntImpl.as(other); + if (other == null) dart.nullFailed(I[7], 1833, 48, "other"); + if (dart.test(this[_isZero])) return other; + if (dart.test(other[_isZero])) return this; + if (this[_isNegative] == other[_isNegative]) { + if (dart.test(this[_isNegative])) { + let this1 = this[_absSubSetSign](core._BigIntImpl.one, true); + let other1 = other[_absSubSetSign](core._BigIntImpl.one, true); + return this1[_absXorSetSign](other1, false); + } + return this[_absXorSetSign](other, false); + } + let p = null; + let n = null; + if (dart.test(this[_isNegative])) { + p = other; + n = this; + } else { + p = this; + n = other; + } + let n1 = n[_absSubSetSign](core._BigIntImpl.one, true); + return p[_absXorSetSign](n1, true)[_absAddSetSign](core._BigIntImpl.one, true); + } + ['~']() { + if (dart.test(this[_isZero])) return core._BigIntImpl._minusOne; + if (dart.test(this[_isNegative])) { + return this[_absSubSetSign](core._BigIntImpl.one, false); + } + return this[_absAddSetSign](core._BigIntImpl.one, true); + } + ['+'](other) { + core._BigIntImpl.as(other); + if (other == null) dart.nullFailed(I[7], 1881, 48, "other"); + if (dart.test(this[_isZero])) return other; + if (dart.test(other[_isZero])) return this; + let isNegative = this[_isNegative]; + if (isNegative == other[_isNegative]) { + return this[_absAddSetSign](other, isNegative); + } + if (dart.notNull(this[_absCompare](other)) >= 0) { + return this[_absSubSetSign](other, isNegative); + } + return other[_absSubSetSign](this, !dart.test(isNegative)); + } + ['-'](other) { + core._BigIntImpl.as(other); + if (other == null) dart.nullFailed(I[7], 1899, 48, "other"); + if (dart.test(this[_isZero])) return other._negate(); + if (dart.test(other[_isZero])) return this; + let isNegative = this[_isNegative]; + if (isNegative != other[_isNegative]) { + return this[_absAddSetSign](other, isNegative); + } + if (dart.notNull(this[_absCompare](other)) >= 0) { + return this[_absSubSetSign](other, isNegative); + } + return other[_absSubSetSign](this, !dart.test(isNegative)); + } + static _mulAdd(x, multiplicandDigits, i, accumulatorDigits, j, n) { + let t247, t247$, t247$0; + if (x == null) dart.nullFailed(I[7], 1928, 27, "x"); + if (multiplicandDigits == null) dart.nullFailed(I[7], 1928, 41, "multiplicandDigits"); + if (i == null) dart.nullFailed(I[7], 1928, 65, "i"); + if (accumulatorDigits == null) dart.nullFailed(I[7], 1929, 18, "accumulatorDigits"); + if (j == null) dart.nullFailed(I[7], 1929, 41, "j"); + if (n == null) dart.nullFailed(I[7], 1929, 48, "n"); + if (x === 0) { + return; + } + let c = 0; + while ((n = dart.notNull(n) - 1) >= 0) { + let product = dart.notNull(x) * dart.notNull(multiplicandDigits[$_get]((t247 = i, i = dart.notNull(t247) + 1, t247))); + let combined = product + dart.notNull(accumulatorDigits[$_get](j)) + c; + accumulatorDigits[$_set]((t247$ = j, j = dart.notNull(t247$) + 1, t247$), (combined & 65535) >>> 0); + c = (combined / 65536)[$truncate](); + } + while (c !== 0) { + let l = dart.notNull(accumulatorDigits[$_get](j)) + c; + accumulatorDigits[$_set]((t247$0 = j, j = dart.notNull(t247$0) + 1, t247$0), (l & 65535) >>> 0); + c = (l / 65536)[$truncate](); + } + } + ['*'](other) { + core._BigIntImpl.as(other); + if (other == null) dart.nullFailed(I[7], 1951, 48, "other"); + let used = this[_used$]; + let otherUsed = other[_used$]; + if (used === 0 || otherUsed === 0) { + return core._BigIntImpl.zero; + } + let resultUsed = dart.notNull(used) + dart.notNull(otherUsed); + let digits = this[_digits$]; + let otherDigits = other[_digits$]; + let resultDigits = _native_typed_data.NativeUint16List.new(resultUsed); + let i = 0; + while (i < dart.notNull(otherUsed)) { + core._BigIntImpl._mulAdd(otherDigits[$_get](i), digits, 0, resultDigits, i, used); + i = i + 1; + } + return new core._BigIntImpl.__(this[_isNegative] != other[_isNegative], resultUsed, resultDigits); + } + static _mulDigits(xDigits, xUsed, otherDigits, otherUsed, resultDigits) { + if (xDigits == null) dart.nullFailed(I[7], 1972, 36, "xDigits"); + if (xUsed == null) dart.nullFailed(I[7], 1972, 49, "xUsed"); + if (otherDigits == null) dart.nullFailed(I[7], 1972, 67, "otherDigits"); + if (otherUsed == null) dart.nullFailed(I[7], 1973, 11, "otherUsed"); + if (resultDigits == null) dart.nullFailed(I[7], 1973, 33, "resultDigits"); + let resultUsed = dart.notNull(xUsed) + dart.notNull(otherUsed); + let i = resultUsed; + if (!(dart.notNull(resultDigits[$length]) >= i)) dart.assertFailed(null, I[7], 1976, 12, "resultDigits.length >= i"); + while ((i = i - 1) >= 0) { + resultDigits[$_set](i, 0); + } + i = 0; + while (i < dart.notNull(otherUsed)) { + core._BigIntImpl._mulAdd(otherDigits[$_get](i), xDigits, 0, resultDigits, i, xUsed); + i = i + 1; + } + return resultUsed; + } + static _estimateQuotientDigit(topDigitDivisor, digits, i) { + if (topDigitDivisor == null) dart.nullFailed(I[7], 1990, 11, "topDigitDivisor"); + if (digits == null) dart.nullFailed(I[7], 1990, 39, "digits"); + if (i == null) dart.nullFailed(I[7], 1990, 51, "i"); + if (digits[$_get](i) == topDigitDivisor) return 65535; + let quotientDigit = (((digits[$_get](i)[$leftShift](16) | dart.notNull(digits[$_get](dart.notNull(i) - 1))) >>> 0) / dart.notNull(topDigitDivisor))[$truncate](); + if (quotientDigit > 65535) return 65535; + return quotientDigit; + } + [_div](other) { + if (other == null) dart.nullFailed(I[7], 1999, 32, "other"); + if (!(dart.notNull(other[_used$]) > 0)) dart.assertFailed(null, I[7], 2000, 12, "other._used > 0"); + if (dart.notNull(this[_used$]) < dart.notNull(other[_used$])) { + return core._BigIntImpl.zero; + } + this[_divRem](other); + let lastQuo_used = dart.nullCheck(core._BigIntImpl._lastQuoRemUsed) - dart.nullCheck(core._BigIntImpl._lastRemUsed); + let quo_digits = core._BigIntImpl._cloneDigits(dart.nullCheck(core._BigIntImpl._lastQuoRemDigits), dart.nullCheck(core._BigIntImpl._lastRemUsed), dart.nullCheck(core._BigIntImpl._lastQuoRemUsed), lastQuo_used); + let quo = new core._BigIntImpl.__(false, lastQuo_used, quo_digits); + if (this[_isNegative] != other[_isNegative] && dart.notNull(quo[_used$]) > 0) { + quo = quo._negate(); + } + return quo; + } + [_rem](other) { + if (other == null) dart.nullFailed(I[7], 2018, 32, "other"); + if (!(dart.notNull(other[_used$]) > 0)) dart.assertFailed(null, I[7], 2019, 12, "other._used > 0"); + if (dart.notNull(this[_used$]) < dart.notNull(other[_used$])) { + return this; + } + this[_divRem](other); + let remDigits = core._BigIntImpl._cloneDigits(dart.nullCheck(core._BigIntImpl._lastQuoRemDigits), 0, dart.nullCheck(core._BigIntImpl._lastRemUsed), dart.nullCheck(core._BigIntImpl._lastRemUsed)); + let rem = new core._BigIntImpl.__(false, dart.nullCheck(core._BigIntImpl._lastRemUsed), remDigits); + if (dart.nullCheck(core._BigIntImpl._lastRem_nsh) > 0) { + rem = rem['>>'](dart.nullCheck(core._BigIntImpl._lastRem_nsh)); + } + if (dart.test(this[_isNegative]) && dart.notNull(rem[_used$]) > 0) { + rem = rem._negate(); + } + return rem; + } + [_divRem](other) { + let t247, t247$; + if (other == null) dart.nullFailed(I[7], 2046, 28, "other"); + if (this[_used$] == core._BigIntImpl._lastDividendUsed && other[_used$] == core._BigIntImpl._lastDivisorUsed && this[_digits$] == core._BigIntImpl._lastDividendDigits && other[_digits$] == core._BigIntImpl._lastDivisorDigits) { + return; + } + if (!(dart.notNull(this[_used$]) >= dart.notNull(other[_used$]))) dart.assertFailed(null, I[7], 2054, 12, "_used >= other._used"); + let nsh = 16 - other[_digits$][$_get](dart.notNull(other[_used$]) - 1)[$bitLength]; + let resultDigits = null; + let resultUsed = null; + let yDigits = null; + let yUsed = null; + if (nsh > 0) { + yDigits = _native_typed_data.NativeUint16List.new(dart.notNull(other[_used$]) + 5); + yUsed = core._BigIntImpl._lShiftDigits(other[_digits$], other[_used$], nsh, yDigits); + resultDigits = _native_typed_data.NativeUint16List.new(dart.notNull(this[_used$]) + 5); + resultUsed = core._BigIntImpl._lShiftDigits(this[_digits$], this[_used$], nsh, resultDigits); + } else { + yDigits = other[_digits$]; + yUsed = other[_used$]; + resultDigits = core._BigIntImpl._cloneDigits(this[_digits$], 0, this[_used$], dart.notNull(this[_used$]) + 2); + resultUsed = this[_used$]; + } + let topDigitDivisor = yDigits[$_get](dart.notNull(yUsed) - 1); + let i = resultUsed; + let j = dart.notNull(i) - dart.notNull(yUsed); + let tmpDigits = _native_typed_data.NativeUint16List.new(i); + let tmpUsed = core._BigIntImpl._dlShiftDigits(yDigits, yUsed, j, tmpDigits); + if (dart.notNull(core._BigIntImpl._compareDigits(resultDigits, resultUsed, tmpDigits, tmpUsed)) >= 0) { + if (!(i == resultUsed)) dart.assertFailed(null, I[7], 2087, 14, "i == resultUsed"); + resultDigits[$_set]((t247 = resultUsed, resultUsed = dart.notNull(t247) + 1, t247), 1); + core._BigIntImpl._absSub(resultDigits, resultUsed, tmpDigits, tmpUsed, resultDigits); + } else { + resultDigits[$_set]((t247$ = resultUsed, resultUsed = dart.notNull(t247$) + 1, t247$), 0); + } + let nyDigits = _native_typed_data.NativeUint16List.new(dart.notNull(yUsed) + 2); + nyDigits[$_set](yUsed, 1); + core._BigIntImpl._absSub(nyDigits, dart.notNull(yUsed) + 1, yDigits, yUsed, nyDigits); + i = dart.notNull(i) - 1; + while (j > 0) { + let estimatedQuotientDigit = core._BigIntImpl._estimateQuotientDigit(topDigitDivisor, resultDigits, i); + j = j - 1; + core._BigIntImpl._mulAdd(estimatedQuotientDigit, nyDigits, 0, resultDigits, j, yUsed); + if (dart.notNull(resultDigits[$_get](i)) < dart.notNull(estimatedQuotientDigit)) { + let tmpUsed = core._BigIntImpl._dlShiftDigits(nyDigits, yUsed, j, tmpDigits); + core._BigIntImpl._absSub(resultDigits, resultUsed, tmpDigits, tmpUsed, resultDigits); + while (dart.notNull(resultDigits[$_get](i)) < (estimatedQuotientDigit = dart.notNull(estimatedQuotientDigit) - 1)) { + core._BigIntImpl._absSub(resultDigits, resultUsed, tmpDigits, tmpUsed, resultDigits); + } + } + i = dart.notNull(i) - 1; + } + core._BigIntImpl._lastDividendDigits = this[_digits$]; + core._BigIntImpl._lastDividendUsed = this[_used$]; + core._BigIntImpl._lastDivisorDigits = other[_digits$]; + core._BigIntImpl._lastDivisorUsed = other[_used$]; + core._BigIntImpl._lastQuoRemDigits = resultDigits; + core._BigIntImpl._lastQuoRemUsed = resultUsed; + core._BigIntImpl._lastRemUsed = yUsed; + core._BigIntImpl._lastRem_nsh = nsh; + } + get hashCode() { + function combine(hash, value) { + if (hash == null) dart.nullFailed(I[7], 2139, 21, "hash"); + if (value == null) dart.nullFailed(I[7], 2139, 31, "value"); + hash = 536870911 & dart.notNull(hash) + dart.notNull(value); + hash = 536870911 & dart.notNull(hash) + ((524287 & dart.notNull(hash)) << 10); + return (dart.notNull(hash) ^ hash[$rightShift](6)) >>> 0; + } + dart.fn(combine, T$0.intAndintToint()); + function finish(hash) { + if (hash == null) dart.nullFailed(I[7], 2145, 20, "hash"); + hash = 536870911 & dart.notNull(hash) + ((67108863 & dart.notNull(hash)) << 3); + hash = (dart.notNull(hash) ^ hash[$rightShift](11)) >>> 0; + return 536870911 & dart.notNull(hash) + ((16383 & dart.notNull(hash)) << 15); + } + dart.fn(finish, T$0.intToint()); + if (dart.test(this[_isZero])) return 6707; + let hash = dart.test(this[_isNegative]) ? 83585 : 429689; + for (let i = 0; i < dart.notNull(this[_used$]); i = i + 1) { + hash = combine(hash, this[_digits$][$_get](i)); + } + return finish(hash); + } + _equals(other) { + if (other == null) return false; + return core._BigIntImpl.is(other) && this.compareTo(other) === 0; + } + get bitLength() { + if (this[_used$] === 0) return 0; + if (dart.test(this[_isNegative])) return this['~']().bitLength; + return 16 * (dart.notNull(this[_used$]) - 1) + this[_digits$][$_get](dart.notNull(this[_used$]) - 1)[$bitLength]; + } + ['~/'](other) { + core._BigIntImpl.as(other); + if (other == null) dart.nullFailed(I[7], 2218, 49, "other"); + if (other[_used$] === 0) { + dart.throw(C[419] || CT.C419); + } + return this[_div](other); + } + remainder(other) { + core._BigIntImpl.as(other); + if (other == null) dart.nullFailed(I[7], 2232, 47, "other"); + if (other[_used$] === 0) { + dart.throw(C[419] || CT.C419); + } + return this[_rem](other); + } + ['/'](other) { + if (other == null) dart.nullFailed(I[7], 2240, 28, "other"); + return dart.notNull(this.toDouble()) / dart.notNull(other.toDouble()); + } + ['<'](other) { + core._BigIntImpl.as(other); + if (other == null) dart.nullFailed(I[7], 2243, 41, "other"); + return dart.notNull(this.compareTo(other)) < 0; + } + ['<='](other) { + core._BigIntImpl.as(other); + if (other == null) dart.nullFailed(I[7], 2246, 42, "other"); + return dart.notNull(this.compareTo(other)) <= 0; + } + ['>'](other) { + core._BigIntImpl.as(other); + if (other == null) dart.nullFailed(I[7], 2249, 41, "other"); + return dart.notNull(this.compareTo(other)) > 0; + } + ['>='](other) { + core._BigIntImpl.as(other); + if (other == null) dart.nullFailed(I[7], 2252, 42, "other"); + return dart.notNull(this.compareTo(other)) >= 0; + } + ['%'](other) { + core._BigIntImpl.as(other); + if (other == null) dart.nullFailed(I[7], 2265, 48, "other"); + if (other[_used$] === 0) { + dart.throw(C[419] || CT.C419); + } + let result = this[_rem](other); + if (dart.test(result[_isNegative])) { + if (dart.test(other[_isNegative])) { + result = result['-'](other); + } else { + result = result['+'](other); + } + } + return result; + } + get sign() { + if (this[_used$] === 0) return 0; + return dart.test(this[_isNegative]) ? -1 : 1; + } + get isEven() { + return this[_used$] === 0 || (dart.notNull(this[_digits$][$_get](0)) & 1) === 0; + } + get isOdd() { + return !dart.test(this.isEven); + } + get isNegative() { + return this[_isNegative]; + } + pow(exponent) { + if (exponent == null) dart.nullFailed(I[7], 2300, 23, "exponent"); + if (dart.notNull(exponent) < 0) { + dart.throw(new core.ArgumentError.new("Exponent must not be negative: " + dart.str(exponent))); + } + if (exponent === 0) return core._BigIntImpl.one; + let result = core._BigIntImpl.one; + let base = this; + while (exponent !== 0) { + if ((dart.notNull(exponent) & 1) === 1) { + result = result['*'](base); + } + exponent = exponent[$rightShift](1); + if (exponent !== 0) { + base = base['*'](base); + } + } + return result; + } + modPow(exponent, modulus) { + core._BigIntImpl.as(exponent); + if (exponent == null) dart.nullFailed(I[7], 2329, 29, "exponent"); + core._BigIntImpl.as(modulus); + if (modulus == null) dart.nullFailed(I[7], 2329, 61, "modulus"); + if (dart.test(exponent[_isNegative])) { + dart.throw(new core.ArgumentError.new("exponent must be positive: " + dart.str(exponent))); + } + if (dart.test(modulus['<='](core._BigIntImpl.zero))) { + dart.throw(new core.ArgumentError.new("modulus must be strictly positive: " + dart.str(modulus))); + } + if (dart.test(exponent[_isZero])) return core._BigIntImpl.one; + let modulusUsed = modulus[_used$]; + let modulusUsed2p4 = 2 * dart.notNull(modulusUsed) + 4; + let exponentBitlen = exponent.bitLength; + if (dart.notNull(exponentBitlen) <= 0) return core._BigIntImpl.one; + let z = new core._BigIntClassic.new(modulus); + let resultDigits = _native_typed_data.NativeUint16List.new(modulusUsed2p4); + let result2Digits = _native_typed_data.NativeUint16List.new(modulusUsed2p4); + let gDigits = _native_typed_data.NativeUint16List.new(modulusUsed); + let gUsed = z.convert(this, gDigits); + for (let j = dart.notNull(gUsed) - 1; j >= 0; j = j - 1) { + resultDigits[$_set](j, gDigits[$_get](j)); + } + let resultUsed = gUsed; + let result2Used = null; + for (let i = dart.notNull(exponentBitlen) - 2; i >= 0; i = i - 1) { + result2Used = z.sqr(resultDigits, resultUsed, result2Digits); + if (!dart.test(exponent['&'](core._BigIntImpl.one['<<'](i))[_isZero])) { + resultUsed = z.mul(result2Digits, result2Used, gDigits, gUsed, resultDigits); + } else { + let tmpDigits = resultDigits; + let tmpUsed = resultUsed; + resultDigits = result2Digits; + resultUsed = result2Used; + result2Digits = tmpDigits; + result2Used = tmpUsed; + } + } + return z.revert(resultDigits, resultUsed); + } + static _binaryGcd(x, y, inv) { + if (x == null) dart.nullFailed(I[7], 2375, 45, "x"); + if (y == null) dart.nullFailed(I[7], 2375, 60, "y"); + if (inv == null) dart.nullFailed(I[7], 2375, 68, "inv"); + let xDigits = x[_digits$]; + let yDigits = y[_digits$]; + let xUsed = x[_used$]; + let yUsed = y[_used$]; + let maxUsed = dart.notNull(xUsed) > dart.notNull(yUsed) ? xUsed : yUsed; + let unshiftedMaxUsed = maxUsed; + xDigits = core._BigIntImpl._cloneDigits(xDigits, 0, xUsed, maxUsed); + yDigits = core._BigIntImpl._cloneDigits(yDigits, 0, yUsed, maxUsed); + let shiftAmount = 0; + if (dart.test(inv)) { + if (yUsed === 1 && yDigits[$_get](0) === 1) return core._BigIntImpl.one; + if (yUsed === 0 || yDigits[$_get](0)[$isEven] && xDigits[$_get](0)[$isEven]) { + dart.throw(core.Exception.new("Not coprime")); + } + } else { + if (dart.test(x[_isZero])) { + dart.throw(new core.ArgumentError.value(0, "this", "must not be zero")); + } + if (dart.test(y[_isZero])) { + dart.throw(new core.ArgumentError.value(0, "other", "must not be zero")); + } + if (xUsed === 1 && xDigits[$_get](0) === 1 || yUsed === 1 && yDigits[$_get](0) === 1) return core._BigIntImpl.one; + while ((dart.notNull(xDigits[$_get](0)) & 1) === 0 && (dart.notNull(yDigits[$_get](0)) & 1) === 0) { + core._BigIntImpl._rsh(xDigits, xUsed, 1, xDigits); + core._BigIntImpl._rsh(yDigits, yUsed, 1, yDigits); + shiftAmount = shiftAmount + 1; + } + if (shiftAmount >= 16) { + let digitShiftAmount = (shiftAmount / 16)[$truncate](); + xUsed = dart.notNull(xUsed) - digitShiftAmount; + yUsed = dart.notNull(yUsed) - digitShiftAmount; + maxUsed = dart.notNull(maxUsed) - digitShiftAmount; + } + if ((dart.notNull(yDigits[$_get](0)) & 1) === 1) { + let tmpDigits = xDigits; + let tmpUsed = xUsed; + xDigits = yDigits; + xUsed = yUsed; + yDigits = tmpDigits; + yUsed = tmpUsed; + } + } + let uDigits = core._BigIntImpl._cloneDigits(xDigits, 0, xUsed, unshiftedMaxUsed); + let vDigits = core._BigIntImpl._cloneDigits(yDigits, 0, yUsed, dart.notNull(unshiftedMaxUsed) + 2); + let ac = (dart.notNull(xDigits[$_get](0)) & 1) === 0; + let abcdUsed = dart.notNull(maxUsed) + 1; + let abcdLen = abcdUsed + 2; + let aDigits = core._dummyList; + let aIsNegative = false; + let cDigits = core._dummyList; + let cIsNegative = false; + if (ac) { + aDigits = _native_typed_data.NativeUint16List.new(abcdLen); + aDigits[$_set](0, 1); + cDigits = _native_typed_data.NativeUint16List.new(abcdLen); + } + let bDigits = _native_typed_data.NativeUint16List.new(abcdLen); + let bIsNegative = false; + let dDigits = _native_typed_data.NativeUint16List.new(abcdLen); + let dIsNegative = false; + dDigits[$_set](0, 1); + while (true) { + while ((dart.notNull(uDigits[$_get](0)) & 1) === 0) { + core._BigIntImpl._rsh(uDigits, maxUsed, 1, uDigits); + if (ac) { + if ((dart.notNull(aDigits[$_get](0)) & 1) === 1 || (dart.notNull(bDigits[$_get](0)) & 1) === 1) { + if (aIsNegative) { + if (aDigits[$_get](maxUsed) !== 0 || dart.notNull(core._BigIntImpl._compareDigits(aDigits, maxUsed, yDigits, maxUsed)) > 0) { + core._BigIntImpl._absSub(aDigits, abcdUsed, yDigits, maxUsed, aDigits); + } else { + core._BigIntImpl._absSub(yDigits, maxUsed, aDigits, maxUsed, aDigits); + aIsNegative = false; + } + } else { + core._BigIntImpl._absAdd(aDigits, abcdUsed, yDigits, maxUsed, aDigits); + } + if (bIsNegative) { + core._BigIntImpl._absAdd(bDigits, abcdUsed, xDigits, maxUsed, bDigits); + } else if (bDigits[$_get](maxUsed) !== 0 || dart.notNull(core._BigIntImpl._compareDigits(bDigits, maxUsed, xDigits, maxUsed)) > 0) { + core._BigIntImpl._absSub(bDigits, abcdUsed, xDigits, maxUsed, bDigits); + } else { + core._BigIntImpl._absSub(xDigits, maxUsed, bDigits, maxUsed, bDigits); + bIsNegative = true; + } + } + core._BigIntImpl._rsh(aDigits, abcdUsed, 1, aDigits); + } else if ((dart.notNull(bDigits[$_get](0)) & 1) === 1) { + if (bIsNegative) { + core._BigIntImpl._absAdd(bDigits, abcdUsed, xDigits, maxUsed, bDigits); + } else if (bDigits[$_get](maxUsed) !== 0 || dart.notNull(core._BigIntImpl._compareDigits(bDigits, maxUsed, xDigits, maxUsed)) > 0) { + core._BigIntImpl._absSub(bDigits, abcdUsed, xDigits, maxUsed, bDigits); + } else { + core._BigIntImpl._absSub(xDigits, maxUsed, bDigits, maxUsed, bDigits); + bIsNegative = true; + } + } + core._BigIntImpl._rsh(bDigits, abcdUsed, 1, bDigits); + } + while ((dart.notNull(vDigits[$_get](0)) & 1) === 0) { + core._BigIntImpl._rsh(vDigits, maxUsed, 1, vDigits); + if (ac) { + if ((dart.notNull(cDigits[$_get](0)) & 1) === 1 || (dart.notNull(dDigits[$_get](0)) & 1) === 1) { + if (cIsNegative) { + if (cDigits[$_get](maxUsed) !== 0 || dart.notNull(core._BigIntImpl._compareDigits(cDigits, maxUsed, yDigits, maxUsed)) > 0) { + core._BigIntImpl._absSub(cDigits, abcdUsed, yDigits, maxUsed, cDigits); + } else { + core._BigIntImpl._absSub(yDigits, maxUsed, cDigits, maxUsed, cDigits); + cIsNegative = false; + } + } else { + core._BigIntImpl._absAdd(cDigits, abcdUsed, yDigits, maxUsed, cDigits); + } + if (dIsNegative) { + core._BigIntImpl._absAdd(dDigits, abcdUsed, xDigits, maxUsed, dDigits); + } else if (dDigits[$_get](maxUsed) !== 0 || dart.notNull(core._BigIntImpl._compareDigits(dDigits, maxUsed, xDigits, maxUsed)) > 0) { + core._BigIntImpl._absSub(dDigits, abcdUsed, xDigits, maxUsed, dDigits); + } else { + core._BigIntImpl._absSub(xDigits, maxUsed, dDigits, maxUsed, dDigits); + dIsNegative = true; + } + } + core._BigIntImpl._rsh(cDigits, abcdUsed, 1, cDigits); + } else if ((dart.notNull(dDigits[$_get](0)) & 1) === 1) { + if (dIsNegative) { + core._BigIntImpl._absAdd(dDigits, abcdUsed, xDigits, maxUsed, dDigits); + } else if (dDigits[$_get](maxUsed) !== 0 || dart.notNull(core._BigIntImpl._compareDigits(dDigits, maxUsed, xDigits, maxUsed)) > 0) { + core._BigIntImpl._absSub(dDigits, abcdUsed, xDigits, maxUsed, dDigits); + } else { + core._BigIntImpl._absSub(xDigits, maxUsed, dDigits, maxUsed, dDigits); + dIsNegative = true; + } + } + core._BigIntImpl._rsh(dDigits, abcdUsed, 1, dDigits); + } + if (dart.notNull(core._BigIntImpl._compareDigits(uDigits, maxUsed, vDigits, maxUsed)) >= 0) { + core._BigIntImpl._absSub(uDigits, maxUsed, vDigits, maxUsed, uDigits); + if (ac) { + if (aIsNegative === cIsNegative) { + let a_cmp_c = core._BigIntImpl._compareDigits(aDigits, abcdUsed, cDigits, abcdUsed); + if (dart.notNull(a_cmp_c) > 0) { + core._BigIntImpl._absSub(aDigits, abcdUsed, cDigits, abcdUsed, aDigits); + } else { + core._BigIntImpl._absSub(cDigits, abcdUsed, aDigits, abcdUsed, aDigits); + aIsNegative = !aIsNegative && a_cmp_c !== 0; + } + } else { + core._BigIntImpl._absAdd(aDigits, abcdUsed, cDigits, abcdUsed, aDigits); + } + } + if (bIsNegative === dIsNegative) { + let b_cmp_d = core._BigIntImpl._compareDigits(bDigits, abcdUsed, dDigits, abcdUsed); + if (dart.notNull(b_cmp_d) > 0) { + core._BigIntImpl._absSub(bDigits, abcdUsed, dDigits, abcdUsed, bDigits); + } else { + core._BigIntImpl._absSub(dDigits, abcdUsed, bDigits, abcdUsed, bDigits); + bIsNegative = !bIsNegative && b_cmp_d !== 0; + } + } else { + core._BigIntImpl._absAdd(bDigits, abcdUsed, dDigits, abcdUsed, bDigits); + } + } else { + core._BigIntImpl._absSub(vDigits, maxUsed, uDigits, maxUsed, vDigits); + if (ac) { + if (cIsNegative === aIsNegative) { + let c_cmp_a = core._BigIntImpl._compareDigits(cDigits, abcdUsed, aDigits, abcdUsed); + if (dart.notNull(c_cmp_a) > 0) { + core._BigIntImpl._absSub(cDigits, abcdUsed, aDigits, abcdUsed, cDigits); + } else { + core._BigIntImpl._absSub(aDigits, abcdUsed, cDigits, abcdUsed, cDigits); + cIsNegative = !cIsNegative && c_cmp_a !== 0; + } + } else { + core._BigIntImpl._absAdd(cDigits, abcdUsed, aDigits, abcdUsed, cDigits); + } + } + if (dIsNegative === bIsNegative) { + let d_cmp_b = core._BigIntImpl._compareDigits(dDigits, abcdUsed, bDigits, abcdUsed); + if (dart.notNull(d_cmp_b) > 0) { + core._BigIntImpl._absSub(dDigits, abcdUsed, bDigits, abcdUsed, dDigits); + } else { + core._BigIntImpl._absSub(bDigits, abcdUsed, dDigits, abcdUsed, dDigits); + dIsNegative = !dIsNegative && d_cmp_b !== 0; + } + } else { + core._BigIntImpl._absAdd(dDigits, abcdUsed, bDigits, abcdUsed, dDigits); + } + } + let i = maxUsed; + while (dart.notNull(i) > 0 && uDigits[$_get](dart.notNull(i) - 1) === 0) + i = dart.notNull(i) - 1; + if (i === 0) break; + } + if (!dart.test(inv)) { + if (shiftAmount > 0) { + maxUsed = core._BigIntImpl._lShiftDigits(vDigits, maxUsed, shiftAmount, vDigits); + } + return new core._BigIntImpl.__(false, maxUsed, vDigits); + } + let i = dart.notNull(maxUsed) - 1; + while (i > 0 && vDigits[$_get](i) === 0) + i = i - 1; + if (i !== 0 || vDigits[$_get](0) !== 1) { + dart.throw(core.Exception.new("Not coprime")); + } + if (dIsNegative) { + while (dDigits[$_get](maxUsed) !== 0 || dart.notNull(core._BigIntImpl._compareDigits(dDigits, maxUsed, xDigits, maxUsed)) > 0) { + core._BigIntImpl._absSub(dDigits, abcdUsed, xDigits, maxUsed, dDigits); + } + core._BigIntImpl._absSub(xDigits, maxUsed, dDigits, maxUsed, dDigits); + dIsNegative = false; + } else { + while (dDigits[$_get](maxUsed) !== 0 || dart.notNull(core._BigIntImpl._compareDigits(dDigits, maxUsed, xDigits, maxUsed)) >= 0) { + core._BigIntImpl._absSub(dDigits, abcdUsed, xDigits, maxUsed, dDigits); + } + } + return new core._BigIntImpl.__(false, maxUsed, dDigits); + } + modInverse(modulus) { + core._BigIntImpl.as(modulus); + if (modulus == null) dart.nullFailed(I[7], 2633, 48, "modulus"); + if (dart.test(modulus['<='](core._BigIntImpl.zero))) { + dart.throw(new core.ArgumentError.new("Modulus must be strictly positive: " + dart.str(modulus))); + } + if (dart.equals(modulus, core._BigIntImpl.one)) return core._BigIntImpl.zero; + let tmp = this; + if (dart.test(tmp[_isNegative]) || dart.notNull(tmp[_absCompare](modulus)) >= 0) { + tmp = tmp['%'](modulus); + } + return core._BigIntImpl._binaryGcd(modulus, tmp, true); + } + gcd(other) { + core._BigIntImpl.as(other); + if (other == null) dart.nullFailed(I[7], 2658, 41, "other"); + if (dart.test(this[_isZero])) return other.abs(); + if (dart.test(other[_isZero])) return this.abs(); + return core._BigIntImpl._binaryGcd(this, other, false); + } + toUnsigned(width) { + if (width == null) dart.nullFailed(I[7], 2690, 30, "width"); + return this['&'](core._BigIntImpl.one['<<'](width)['-'](core._BigIntImpl.one)); + } + toSigned(width) { + if (width == null) dart.nullFailed(I[7], 2728, 28, "width"); + let signMask = core._BigIntImpl.one['<<'](dart.notNull(width) - 1); + return this['&'](signMask['-'](core._BigIntImpl.one))['-'](this['&'](signMask)); + } + get isValidInt() { + if (dart.notNull(this[_used$]) <= 3) return true; + let asInt = this.toInt(); + if (!asInt[$toDouble]()[$isFinite]) return false; + return this._equals(core._BigIntImpl._fromInt(asInt)); + } + toInt() { + let result = 0; + for (let i = dart.notNull(this[_used$]) - 1; i >= 0; i = i - 1) { + result = result * 65536 + dart.notNull(this[_digits$][$_get](i)); + } + return dart.test(this[_isNegative]) ? -result : result; + } + toDouble() { + let t248, t247, t248$, t247$; + if (dart.test(this[_isZero])) return 0.0; + let resultBits = _native_typed_data.NativeUint8List.new(8); + let length = 16 * (dart.notNull(this[_used$]) - 1) + this[_digits$][$_get](dart.notNull(this[_used$]) - 1)[$bitLength]; + if (length > 971 + 53) { + return dart.test(this[_isNegative]) ? -1 / 0 : 1 / 0; + } + if (dart.test(this[_isNegative])) resultBits[$_set](7, 128); + let biasedExponent = length - 53 + 1075; + resultBits[$_set](6, (biasedExponent & 15) << 4); + t247 = resultBits; + t248 = 7; + t247[$_set](t248, (dart.notNull(t247[$_get](t248)) | biasedExponent[$rightShift](4)) >>> 0); + let cachedBits = 0; + let cachedBitsLength = 0; + let digitIndex = dart.notNull(this[_used$]) - 1; + const readBits = n => { + if (n == null) dart.nullFailed(I[7], 2791, 22, "n"); + while (cachedBitsLength < dart.notNull(n)) { + let nextDigit = null; + let nextDigitLength = 16; + if (digitIndex < 0) { + nextDigit = 0; + digitIndex = digitIndex - 1; + } else { + nextDigit = this[_digits$][$_get](digitIndex); + if (digitIndex === dart.notNull(this[_used$]) - 1) nextDigitLength = nextDigit[$bitLength]; + digitIndex = digitIndex - 1; + } + cachedBits = cachedBits[$leftShift](nextDigitLength) + dart.notNull(nextDigit); + cachedBitsLength = cachedBitsLength + nextDigitLength; + } + let result = cachedBits[$rightShift](cachedBitsLength - dart.notNull(n)); + cachedBits = cachedBits - result[$leftShift](cachedBitsLength - dart.notNull(n)); + cachedBitsLength = cachedBitsLength - dart.notNull(n); + return result; + }; + dart.fn(readBits, T$0.intToint()); + let leadingBits = dart.notNull(readBits(5)) & 15; + t247$ = resultBits; + t248$ = 6; + t247$[$_set](t248$, (dart.notNull(t247$[$_get](t248$)) | leadingBits) >>> 0); + for (let i = 5; i >= 0; i = i - 1) { + resultBits[$_set](i, readBits(8)); + } + function roundUp() { + let carry = 1; + for (let i = 0; i < 8; i = i + 1) { + if (carry === 0) break; + let sum = dart.notNull(resultBits[$_get](i)) + carry; + resultBits[$_set](i, sum & 255); + carry = sum[$rightShift](8); + } + } + dart.fn(roundUp, T$.VoidTovoid()); + if (readBits(1) === 1) { + if (resultBits[$_get](0)[$isOdd]) { + roundUp(); + } else { + if (cachedBits !== 0) { + roundUp(); + } else { + for (let i = digitIndex; i >= 0; i = i - 1) { + if (this[_digits$][$_get](i) !== 0) { + roundUp(); + break; + } + } + } + } + } + return resultBits[$buffer][$asByteData]()[$getFloat64](0, typed_data.Endian.little); + } + toString() { + if (this[_used$] === 0) return "0"; + if (this[_used$] === 1) { + if (dart.test(this[_isNegative])) return (-dart.notNull(this[_digits$][$_get](0)))[$toString](); + return dart.toString(this[_digits$][$_get](0)); + } + let decimalDigitChunks = T$.JSArrayOfString().of([]); + let rest = dart.test(this.isNegative) ? this._negate() : this; + while (dart.notNull(rest[_used$]) > 1) { + let digits4 = dart.toString(rest.remainder(core._BigIntImpl._bigInt10000)); + decimalDigitChunks[$add](digits4); + if (digits4.length === 1) decimalDigitChunks[$add]("000"); + if (digits4.length === 2) decimalDigitChunks[$add]("00"); + if (digits4.length === 3) decimalDigitChunks[$add]("0"); + rest = rest['~/'](core._BigIntImpl._bigInt10000); + } + decimalDigitChunks[$add](dart.toString(rest[_digits$][$_get](0))); + if (dart.test(this[_isNegative])) decimalDigitChunks[$add]("-"); + return decimalDigitChunks[$reversed][$join](); + } + [_toRadixCodeUnit](digit) { + if (digit == null) dart.nullFailed(I[7], 2891, 28, "digit"); + if (dart.notNull(digit) < 10) return 48 + dart.notNull(digit); + return 97 + dart.notNull(digit) - 10; + } + toRadixString(radix) { + if (radix == null) dart.nullFailed(I[7], 2906, 28, "radix"); + if (dart.notNull(radix) > 36) dart.throw(new core.RangeError.range(radix, 2, 36)); + if (this[_used$] === 0) return "0"; + if (this[_used$] === 1) { + let digitString = this[_digits$][$_get](0)[$toRadixString](radix); + if (dart.test(this[_isNegative])) return "-" + digitString; + return digitString; + } + if (radix === 16) return this[_toHexString](); + let base = core._BigIntImpl._fromInt(radix); + let reversedDigitCodeUnits = T$.JSArrayOfint().of([]); + let rest = this.abs(); + while (!dart.test(rest[_isZero])) { + let digit = rest.remainder(base).toInt(); + rest = rest['~/'](base); + reversedDigitCodeUnits[$add](this[_toRadixCodeUnit](digit)); + } + let digitString = core.String.fromCharCodes(reversedDigitCodeUnits[$reversed]); + if (dart.test(this[_isNegative])) return "-" + dart.notNull(digitString); + return digitString; + } + [_toHexString]() { + let chars = T$.JSArrayOfint().of([]); + for (let i = 0; i < dart.notNull(this[_used$]) - 1; i = i + 1) { + let chunk = this[_digits$][$_get](i); + for (let j = 0; j < (16 / 4)[$truncate](); j = j + 1) { + chars[$add](this[_toRadixCodeUnit](dart.notNull(chunk) & 15)); + chunk = chunk[$rightShift](4); + } + } + let msbChunk = this[_digits$][$_get](dart.notNull(this[_used$]) - 1); + while (msbChunk !== 0) { + chars[$add](this[_toRadixCodeUnit](dart.notNull(msbChunk) & 15)); + msbChunk = msbChunk[$rightShift](4); + } + if (dart.test(this[_isNegative])) { + chars[$add](45); + } + return core.String.fromCharCodes(chars[$reversed]); + } +}; +(core._BigIntImpl.__ = function(isNegative, used, digits) { + if (isNegative == null) dart.nullFailed(I[7], 1211, 22, "isNegative"); + if (used == null) dart.nullFailed(I[7], 1211, 38, "used"); + if (digits == null) dart.nullFailed(I[7], 1211, 55, "digits"); + core._BigIntImpl._normalized.call(this, isNegative, core._BigIntImpl._normalize(used, digits), digits); +}).prototype = core._BigIntImpl.prototype; +(core._BigIntImpl._normalized = function(isNegative, _used, _digits) { + if (isNegative == null) dart.nullFailed(I[7], 1214, 32, "isNegative"); + if (_used == null) dart.nullFailed(I[7], 1214, 49, "_used"); + if (_digits == null) dart.nullFailed(I[7], 1214, 61, "_digits"); + this[_used$] = _used; + this[_digits$] = _digits; + this[_isNegative] = _used === 0 ? false : isNegative; + ; +}).prototype = core._BigIntImpl.prototype; +dart.addTypeTests(core._BigIntImpl); +dart.addTypeCaches(core._BigIntImpl); +core._BigIntImpl[dart.implements] = () => [core.BigInt]; +dart.setMethodSignature(core._BigIntImpl, () => ({ + __proto__: dart.getMethods(core._BigIntImpl.__proto__), + _negate: dart.fnType(core._BigIntImpl, []), + abs: dart.fnType(core._BigIntImpl, []), + [_dlShift]: dart.fnType(core._BigIntImpl, [core.int]), + [_drShift]: dart.fnType(core._BigIntImpl, [core.int]), + '<<': dart.fnType(core._BigIntImpl, [core.int]), + '>>': dart.fnType(core._BigIntImpl, [core.int]), + [_absCompare]: dart.fnType(core.int, [core._BigIntImpl]), + compareTo: dart.fnType(core.int, [dart.nullable(core.Object)]), + [$compareTo]: dart.fnType(core.int, [dart.nullable(core.Object)]), + [_absAddSetSign]: dart.fnType(core._BigIntImpl, [core._BigIntImpl, core.bool]), + [_absSubSetSign]: dart.fnType(core._BigIntImpl, [core._BigIntImpl, core.bool]), + [_absAndSetSign]: dart.fnType(core._BigIntImpl, [core._BigIntImpl, core.bool]), + [_absAndNotSetSign]: dart.fnType(core._BigIntImpl, [core._BigIntImpl, core.bool]), + [_absOrSetSign]: dart.fnType(core._BigIntImpl, [core._BigIntImpl, core.bool]), + [_absXorSetSign]: dart.fnType(core._BigIntImpl, [core._BigIntImpl, core.bool]), + '&': dart.fnType(core._BigIntImpl, [dart.nullable(core.Object)]), + '|': dart.fnType(core._BigIntImpl, [dart.nullable(core.Object)]), + '^': dart.fnType(core._BigIntImpl, [dart.nullable(core.Object)]), + '~': dart.fnType(core._BigIntImpl, []), + '+': dart.fnType(core._BigIntImpl, [dart.nullable(core.Object)]), + '-': dart.fnType(core._BigIntImpl, [dart.nullable(core.Object)]), + '*': dart.fnType(core._BigIntImpl, [dart.nullable(core.Object)]), + [_div]: dart.fnType(core._BigIntImpl, [core._BigIntImpl]), + [_rem]: dart.fnType(core._BigIntImpl, [core._BigIntImpl]), + [_divRem]: dart.fnType(dart.void, [core._BigIntImpl]), + '~/': dart.fnType(core._BigIntImpl, [dart.nullable(core.Object)]), + remainder: dart.fnType(core._BigIntImpl, [dart.nullable(core.Object)]), + '/': dart.fnType(core.double, [core.BigInt]), + '<': dart.fnType(core.bool, [dart.nullable(core.Object)]), + '<=': dart.fnType(core.bool, [dart.nullable(core.Object)]), + '>': dart.fnType(core.bool, [dart.nullable(core.Object)]), + '>=': dart.fnType(core.bool, [dart.nullable(core.Object)]), + '%': dart.fnType(core._BigIntImpl, [dart.nullable(core.Object)]), + pow: dart.fnType(core._BigIntImpl, [core.int]), + modPow: dart.fnType(core._BigIntImpl, [dart.nullable(core.Object), dart.nullable(core.Object)]), + modInverse: dart.fnType(core._BigIntImpl, [dart.nullable(core.Object)]), + gcd: dart.fnType(core._BigIntImpl, [dart.nullable(core.Object)]), + toUnsigned: dart.fnType(core._BigIntImpl, [core.int]), + toSigned: dart.fnType(core._BigIntImpl, [core.int]), + toInt: dart.fnType(core.int, []), + toDouble: dart.fnType(core.double, []), + [_toRadixCodeUnit]: dart.fnType(core.int, [core.int]), + toRadixString: dart.fnType(core.String, [core.int]), + [_toHexString]: dart.fnType(core.String, []) +})); +dart.setGetterSignature(core._BigIntImpl, () => ({ + __proto__: dart.getGetters(core._BigIntImpl.__proto__), + [_isZero]: core.bool, + bitLength: core.int, + sign: core.int, + isEven: core.bool, + isOdd: core.bool, + isNegative: core.bool, + isValidInt: core.bool +})); +dart.setLibraryUri(core._BigIntImpl, I[8]); +dart.setFieldSignature(core._BigIntImpl, () => ({ + __proto__: dart.getFields(core._BigIntImpl.__proto__), + [_isNegative]: dart.finalFieldType(core.bool), + [_digits$]: dart.finalFieldType(typed_data.Uint16List), + [_used$]: dart.finalFieldType(core.int) +})); +dart.defineExtensionMethods(core._BigIntImpl, ['compareTo', '_equals', 'toString']); +dart.defineExtensionAccessors(core._BigIntImpl, ['hashCode']); +dart.defineLazy(core._BigIntImpl, { + /*core._BigIntImpl._digitBits*/get _digitBits() { + return 16; + }, + /*core._BigIntImpl._digitBase*/get _digitBase() { + return 65536; + }, + /*core._BigIntImpl._digitMask*/get _digitMask() { + return 65535; + }, + /*core._BigIntImpl.zero*/get zero() { + return core._BigIntImpl._fromInt(0); + }, + /*core._BigIntImpl.one*/get one() { + return core._BigIntImpl._fromInt(1); + }, + /*core._BigIntImpl.two*/get two() { + return core._BigIntImpl._fromInt(2); + }, + /*core._BigIntImpl._minusOne*/get _minusOne() { + return core._BigIntImpl.one._negate(); + }, + /*core._BigIntImpl._bigInt10000*/get _bigInt10000() { + return core._BigIntImpl._fromInt(10000); + }, + /*core._BigIntImpl._lastDividendDigits*/get _lastDividendDigits() { + return null; + }, + set _lastDividendDigits(_) {}, + /*core._BigIntImpl._lastDividendUsed*/get _lastDividendUsed() { + return null; + }, + set _lastDividendUsed(_) {}, + /*core._BigIntImpl._lastDivisorDigits*/get _lastDivisorDigits() { + return null; + }, + set _lastDivisorDigits(_) {}, + /*core._BigIntImpl._lastDivisorUsed*/get _lastDivisorUsed() { + return null; + }, + set _lastDivisorUsed(_) {}, + /*core._BigIntImpl._lastQuoRemDigits*/get _lastQuoRemDigits() { + return null; + }, + set _lastQuoRemDigits(_) {}, + /*core._BigIntImpl._lastQuoRemUsed*/get _lastQuoRemUsed() { + return null; + }, + set _lastQuoRemUsed(_) {}, + /*core._BigIntImpl._lastRemUsed*/get _lastRemUsed() { + return null; + }, + set _lastRemUsed(_) {}, + /*core._BigIntImpl._lastRem_nsh*/get _lastRem_nsh() { + return null; + }, + set _lastRem_nsh(_) {}, + /*core._BigIntImpl._parseRE*/get _parseRE() { + return core.RegExp.new("^\\s*([+-]?)((0x[a-f0-9]+)|(\\d+)|([a-z0-9]+))\\s*$", {caseSensitive: false}); + }, + set _parseRE(_) {}, + /*core._BigIntImpl._bitsForFromDouble*/get _bitsForFromDouble() { + return _native_typed_data.NativeUint8List.new(8); + }, + /*core._BigIntImpl._simpleValidIntDigits*/get _simpleValidIntDigits() { + return 3; + } +}, false); +core._BigIntReduction = class _BigIntReduction extends core.Object {}; +(core._BigIntReduction.new = function() { + ; +}).prototype = core._BigIntReduction.prototype; +dart.addTypeTests(core._BigIntReduction); +dart.addTypeCaches(core._BigIntReduction); +dart.setLibraryUri(core._BigIntReduction, I[8]); +var _modulus$ = dart.privateName(core, "_modulus"); +var _normalizedModulus = dart.privateName(core, "_normalizedModulus"); +var _reduce = dart.privateName(core, "_reduce"); +core._BigIntClassic = class _BigIntClassic extends core.Object { + convert(x, resultDigits) { + if (x == null) dart.nullFailed(I[7], 2976, 27, "x"); + if (resultDigits == null) dart.nullFailed(I[7], 2976, 41, "resultDigits"); + let digits = null; + let used = null; + if (dart.test(x[_isNegative]) || dart.notNull(x[_absCompare](this[_modulus$])) >= 0) { + let remainder = x[_rem](this[_modulus$]); + if (dart.test(x[_isNegative]) && dart.notNull(remainder[_used$]) > 0) { + if (!dart.test(remainder[_isNegative])) dart.assertFailed(null, I[7], 2982, 16, "remainder._isNegative"); + remainder = remainder['+'](this[_modulus$]); + } + if (!!dart.test(remainder[_isNegative])) dart.assertFailed(null, I[7], 2985, 14, "!remainder._isNegative"); + used = remainder[_used$]; + digits = remainder[_digits$]; + } else { + used = x[_used$]; + digits = x[_digits$]; + } + let i = used; + while ((i = dart.notNull(i) - 1) >= 0) { + resultDigits[$_set](i, digits[$_get](i)); + } + return used; + } + revert(xDigits, xUsed) { + if (xDigits == null) dart.nullFailed(I[7], 2999, 33, "xDigits"); + if (xUsed == null) dart.nullFailed(I[7], 2999, 46, "xUsed"); + return new core._BigIntImpl.__(false, xUsed, xDigits); + } + [_reduce](xDigits, xUsed) { + if (xDigits == null) dart.nullFailed(I[7], 3003, 26, "xDigits"); + if (xUsed == null) dart.nullFailed(I[7], 3003, 39, "xUsed"); + if (dart.notNull(xUsed) < dart.notNull(this[_modulus$][_used$])) { + return xUsed; + } + let reverted = this.revert(xDigits, xUsed); + let rem = reverted[_rem](this[_normalizedModulus]); + return this.convert(rem, xDigits); + } + sqr(xDigits, xUsed, resultDigits) { + if (xDigits == null) dart.nullFailed(I[7], 3012, 22, "xDigits"); + if (xUsed == null) dart.nullFailed(I[7], 3012, 35, "xUsed"); + if (resultDigits == null) dart.nullFailed(I[7], 3012, 53, "resultDigits"); + let b = new core._BigIntImpl.__(false, xUsed, xDigits); + let b2 = b['*'](b); + for (let i = 0; i < dart.notNull(b2[_used$]); i = i + 1) { + resultDigits[$_set](i, b2[_digits$][$_get](i)); + } + for (let i = b2[_used$]; dart.notNull(i) < 2 * dart.notNull(xUsed); i = dart.notNull(i) + 1) { + resultDigits[$_set](i, 0); + } + return this[_reduce](resultDigits, 2 * dart.notNull(xUsed)); + } + mul(xDigits, xUsed, yDigits, yUsed, resultDigits) { + if (xDigits == null) dart.nullFailed(I[7], 3024, 22, "xDigits"); + if (xUsed == null) dart.nullFailed(I[7], 3024, 35, "xUsed"); + if (yDigits == null) dart.nullFailed(I[7], 3024, 53, "yDigits"); + if (yUsed == null) dart.nullFailed(I[7], 3024, 66, "yUsed"); + if (resultDigits == null) dart.nullFailed(I[7], 3025, 18, "resultDigits"); + let resultUsed = core._BigIntImpl._mulDigits(xDigits, xUsed, yDigits, yUsed, resultDigits); + return this[_reduce](resultDigits, resultUsed); + } +}; +(core._BigIntClassic.new = function(_modulus) { + if (_modulus == null) dart.nullFailed(I[7], 2971, 23, "_modulus"); + this[_modulus$] = _modulus; + this[_normalizedModulus] = _modulus['<<'](16 - _modulus[_digits$][$_get](dart.notNull(_modulus[_used$]) - 1)[$bitLength]); + ; +}).prototype = core._BigIntClassic.prototype; +dart.addTypeTests(core._BigIntClassic); +dart.addTypeCaches(core._BigIntClassic); +core._BigIntClassic[dart.implements] = () => [core._BigIntReduction]; +dart.setMethodSignature(core._BigIntClassic, () => ({ + __proto__: dart.getMethods(core._BigIntClassic.__proto__), + convert: dart.fnType(core.int, [core._BigIntImpl, typed_data.Uint16List]), + revert: dart.fnType(core._BigIntImpl, [typed_data.Uint16List, core.int]), + [_reduce]: dart.fnType(core.int, [typed_data.Uint16List, core.int]), + sqr: dart.fnType(core.int, [typed_data.Uint16List, core.int, typed_data.Uint16List]), + mul: dart.fnType(core.int, [typed_data.Uint16List, core.int, typed_data.Uint16List, core.int, typed_data.Uint16List]) +})); +dart.setLibraryUri(core._BigIntClassic, I[8]); +dart.setFieldSignature(core._BigIntClassic, () => ({ + __proto__: dart.getFields(core._BigIntClassic.__proto__), + [_modulus$]: dart.finalFieldType(core._BigIntImpl), + [_normalizedModulus]: dart.finalFieldType(core._BigIntImpl) +})); +var message$11 = dart.privateName(core, "Deprecated.message"); +core.Deprecated = class Deprecated extends core.Object { + get message() { + return this[message$11]; + } + set message(value) { + super.message = value; + } + get expires() { + return this.message; + } + toString() { + return "Deprecated feature: " + dart.str(this.message); + } +}; +(core.Deprecated.new = function(message) { + if (message == null) dart.nullFailed(I[165], 77, 25, "message"); + this[message$11] = message; + ; +}).prototype = core.Deprecated.prototype; +dart.addTypeTests(core.Deprecated); +dart.addTypeCaches(core.Deprecated); +dart.setGetterSignature(core.Deprecated, () => ({ + __proto__: dart.getGetters(core.Deprecated.__proto__), + expires: core.String +})); +dart.setLibraryUri(core.Deprecated, I[8]); +dart.setFieldSignature(core.Deprecated, () => ({ + __proto__: dart.getFields(core.Deprecated.__proto__), + message: dart.finalFieldType(core.String) +})); +dart.defineExtensionMethods(core.Deprecated, ['toString']); +core._Override = class _Override extends core.Object {}; +(core._Override.new = function() { + ; +}).prototype = core._Override.prototype; +dart.addTypeTests(core._Override); +dart.addTypeCaches(core._Override); +dart.setLibraryUri(core._Override, I[8]); +core.Provisional = class Provisional extends core.Object { + get message() { + return null; + } +}; +(core.Provisional.new = function(opts) { + let message = opts && 'message' in opts ? opts.message : null; + ; +}).prototype = core.Provisional.prototype; +dart.addTypeTests(core.Provisional); +dart.addTypeCaches(core.Provisional); +dart.setGetterSignature(core.Provisional, () => ({ + __proto__: dart.getGetters(core.Provisional.__proto__), + message: dart.nullable(core.String) +})); +dart.setLibraryUri(core.Provisional, I[8]); +var name$12 = dart.privateName(core, "pragma.name"); +var options$ = dart.privateName(core, "pragma.options"); +core.pragma = class pragma extends core.Object { + get name() { + return this[name$12]; + } + set name(value) { + super.name = value; + } + get options() { + return this[options$]; + } + set options(value) { + super.options = value; + } +}; +(core.pragma.__ = function(name, options = null) { + if (name == null) dart.nullFailed(I[165], 188, 23, "name"); + this[name$12] = name; + this[options$] = options; + ; +}).prototype = core.pragma.prototype; +dart.addTypeTests(core.pragma); +dart.addTypeCaches(core.pragma); +dart.setLibraryUri(core.pragma, I[8]); +dart.setFieldSignature(core.pragma, () => ({ + __proto__: dart.getFields(core.pragma.__proto__), + name: dart.finalFieldType(core.String), + options: dart.finalFieldType(dart.nullable(core.Object)) +})); +core.BigInt = class BigInt extends core.Object { + static get zero() { + return core._BigIntImpl.zero; + } + static get one() { + return core._BigIntImpl.one; + } + static get two() { + return core._BigIntImpl.two; + } + static parse(source, opts) { + if (source == null) dart.nullFailed(I[7], 262, 30, "source"); + let radix = opts && 'radix' in opts ? opts.radix : null; + return core._BigIntImpl.parse(source, {radix: radix}); + } + static tryParse(source, opts) { + if (source == null) dart.nullFailed(I[7], 266, 34, "source"); + let radix = opts && 'radix' in opts ? opts.radix : null; + return core._BigIntImpl._tryParse(source, {radix: radix}); + } +}; +(core.BigInt[dart.mixinNew] = function() { +}).prototype = core.BigInt.prototype; +dart.addTypeTests(core.BigInt); +dart.addTypeCaches(core.BigInt); +core.BigInt[dart.implements] = () => [core.Comparable$(core.BigInt)]; +dart.setLibraryUri(core.BigInt, I[8]); +core.bool = class bool extends core.Object { + static is(o) { + return o === true || o === false; + } + static as(o) { + if (o === true || o === false) return o; + return dart.as(o, core.bool); + } + static fromEnvironment(name, opts) { + if (name == null) dart.nullFailed(I[7], 657, 39, "name"); + let defaultValue = opts && 'defaultValue' in opts ? opts.defaultValue : false; + if (defaultValue == null) dart.nullFailed(I[7], 657, 51, "defaultValue"); + dart.throw(new core.UnsupportedError.new("bool.fromEnvironment can only be used as a const constructor")); + } + static hasEnvironment(name) { + if (name == null) dart.nullFailed(I[7], 664, 38, "name"); + dart.throw(new core.UnsupportedError.new("bool.hasEnvironment can only be used as a const constructor")); + } + get [$hashCode]() { + return super[$hashCode]; + } + [$bitAnd](other) { + if (other == null) dart.nullFailed(I[166], 93, 24, "other"); + return dart.test(other) && this; + } + [$bitOr](other) { + if (other == null) dart.nullFailed(I[166], 99, 24, "other"); + return dart.test(other) || this; + } + [$bitXor](other) { + if (other == null) dart.nullFailed(I[166], 105, 24, "other"); + return !dart.test(other) === this; + } + [$toString]() { + return this ? "true" : "false"; + } +}; +(core.bool[dart.mixinNew] = function() { +}).prototype = core.bool.prototype; +dart.addTypeCaches(core.bool); +dart.setMethodSignature(core.bool, () => ({ + __proto__: dart.getMethods(core.bool.__proto__), + [$bitAnd]: dart.fnType(core.bool, [core.bool]), + [$bitOr]: dart.fnType(core.bool, [core.bool]), + [$bitXor]: dart.fnType(core.bool, [core.bool]) +})); +dart.setLibraryUri(core.bool, I[8]); +const _is_Comparable_default = Symbol('_is_Comparable_default'); +core.Comparable$ = dart.generic(T => { + class Comparable extends core.Object { + static compare(a, b) { + if (a == null) dart.nullFailed(I[167], 88, 33, "a"); + if (b == null) dart.nullFailed(I[167], 88, 47, "b"); + return a[$compareTo](b); + } + } + (Comparable.new = function() { + ; + }).prototype = Comparable.prototype; + dart.addTypeTests(Comparable); + Comparable.prototype[_is_Comparable_default] = true; + dart.addTypeCaches(Comparable); + dart.setLibraryUri(Comparable, I[8]); + return Comparable; +}); +core.Comparable = core.Comparable$(); +dart.addTypeTests(core.Comparable, _is_Comparable_default); +var isUtc$ = dart.privateName(core, "DateTime.isUtc"); +var _value$4 = dart.privateName(core, "_value"); +core.DateTime = class DateTime extends core.Object { + get isUtc() { + return this[isUtc$]; + } + set isUtc(value) { + super.isUtc = value; + } + static _microsecondInRoundedMilliseconds(microsecond) { + if (microsecond == null) dart.nullFailed(I[7], 341, 52, "microsecond"); + return (dart.notNull(microsecond) / 1000)[$round](); + } + static parse(formattedString) { + if (formattedString == null) dart.nullFailed(I[168], 264, 32, "formattedString"); + let re = core.DateTime._parseFormat; + let match = re.firstMatch(formattedString); + if (match != null) { + function parseIntOrZero(matched) { + if (matched == null) return 0; + return core.int.parse(matched); + } + dart.fn(parseIntOrZero, T$0.StringNToint()); + function parseMilliAndMicroseconds(matched) { + if (matched == null) return 0; + let length = matched.length; + if (!(length >= 1)) dart.assertFailed(null, I[168], 279, 16, "length >= 1"); + let result = 0; + for (let i = 0; i < 6; i = i + 1) { + result = result * 10; + if (i < matched.length) { + result = result + ((matched[$codeUnitAt](i) ^ 48) >>> 0); + } + } + return result; + } + dart.fn(parseMilliAndMicroseconds, T$0.StringNToint()); + let years = core.int.parse(dart.nullCheck(match._get(1))); + let month = core.int.parse(dart.nullCheck(match._get(2))); + let day = core.int.parse(dart.nullCheck(match._get(3))); + let hour = parseIntOrZero(match._get(4)); + let minute = parseIntOrZero(match._get(5)); + let second = parseIntOrZero(match._get(6)); + let milliAndMicroseconds = parseMilliAndMicroseconds(match._get(7)); + let millisecond = (dart.notNull(milliAndMicroseconds) / 1000)[$truncate](); + let microsecond = milliAndMicroseconds[$remainder](1000); + let isUtc = false; + if (match._get(8) != null) { + isUtc = true; + let tzSign = match._get(9); + if (tzSign != null) { + let sign = tzSign === "-" ? -1 : 1; + let hourDifference = core.int.parse(dart.nullCheck(match._get(10))); + let minuteDifference = parseIntOrZero(match._get(11)); + minuteDifference = dart.notNull(minuteDifference) + 60 * dart.notNull(hourDifference); + minute = dart.notNull(minute) - sign * dart.notNull(minuteDifference); + } + } + let value = core.DateTime._brokenDownDateToValue(years, month, day, hour, minute, second, millisecond, microsecond, isUtc); + if (value == null) { + dart.throw(new core.FormatException.new("Time out of range", formattedString)); + } + return new core.DateTime._withValue(value, {isUtc: isUtc}); + } else { + dart.throw(new core.FormatException.new("Invalid date format", formattedString)); + } + } + static tryParse(formattedString) { + if (formattedString == null) dart.nullFailed(I[168], 330, 36, "formattedString"); + try { + return core.DateTime.parse(formattedString); + } catch (e) { + let ex = dart.getThrown(e); + if (core.FormatException.is(ex)) { + return null; + } else + throw e; + } + } + _equals(other) { + if (other == null) return false; + return core.DateTime.is(other) && this[_value$4] == other.millisecondsSinceEpoch && this.isUtc == other.isUtc; + } + isBefore(other) { + if (other == null) dart.nullFailed(I[7], 426, 26, "other"); + return dart.notNull(this[_value$4]) < dart.notNull(other.millisecondsSinceEpoch); + } + isAfter(other) { + if (other == null) dart.nullFailed(I[7], 429, 25, "other"); + return dart.notNull(this[_value$4]) > dart.notNull(other.millisecondsSinceEpoch); + } + isAtSameMomentAs(other) { + if (other == null) dart.nullFailed(I[7], 432, 34, "other"); + return this[_value$4] == other.millisecondsSinceEpoch; + } + compareTo(other) { + if (other == null) dart.nullFailed(I[7], 436, 26, "other"); + return this[_value$4][$compareTo](other.millisecondsSinceEpoch); + } + get hashCode() { + return (dart.notNull(this[_value$4]) ^ this[_value$4][$rightShift](30)) & 1073741823; + } + toLocal() { + if (dart.test(this.isUtc)) { + return new core.DateTime._withValue(this[_value$4], {isUtc: false}); + } + return this; + } + toUtc() { + if (dart.test(this.isUtc)) return this; + return new core.DateTime._withValue(this[_value$4], {isUtc: true}); + } + static _fourDigits(n) { + if (n == null) dart.nullFailed(I[168], 492, 33, "n"); + let absN = n[$abs](); + let sign = dart.notNull(n) < 0 ? "-" : ""; + if (absN >= 1000) return dart.str(n); + if (absN >= 100) return sign + "0" + dart.str(absN); + if (absN >= 10) return sign + "00" + dart.str(absN); + return sign + "000" + dart.str(absN); + } + static _sixDigits(n) { + if (n == null) dart.nullFailed(I[168], 501, 32, "n"); + if (!(dart.notNull(n) < -9999 || dart.notNull(n) > 9999)) dart.assertFailed(null, I[168], 502, 12, "n < -9999 || n > 9999"); + let absN = n[$abs](); + let sign = dart.notNull(n) < 0 ? "-" : "+"; + if (absN >= 100000) return sign + dart.str(absN); + return sign + "0" + dart.str(absN); + } + static _threeDigits(n) { + if (n == null) dart.nullFailed(I[168], 509, 34, "n"); + if (dart.notNull(n) >= 100) return dart.str(n); + if (dart.notNull(n) >= 10) return "0" + dart.str(n); + return "00" + dart.str(n); + } + static _twoDigits(n) { + if (n == null) dart.nullFailed(I[168], 515, 32, "n"); + if (dart.notNull(n) >= 10) return dart.str(n); + return "0" + dart.str(n); + } + toString() { + let y = core.DateTime._fourDigits(this.year); + let m = core.DateTime._twoDigits(this.month); + let d = core.DateTime._twoDigits(this.day); + let h = core.DateTime._twoDigits(this.hour); + let min = core.DateTime._twoDigits(this.minute); + let sec = core.DateTime._twoDigits(this.second); + let ms = core.DateTime._threeDigits(this.millisecond); + let us = this.microsecond === 0 ? "" : core.DateTime._threeDigits(this.microsecond); + if (dart.test(this.isUtc)) { + return dart.str(y) + "-" + dart.str(m) + "-" + dart.str(d) + " " + dart.str(h) + ":" + dart.str(min) + ":" + dart.str(sec) + "." + dart.str(ms) + dart.str(us) + "Z"; + } else { + return dart.str(y) + "-" + dart.str(m) + "-" + dart.str(d) + " " + dart.str(h) + ":" + dart.str(min) + ":" + dart.str(sec) + "." + dart.str(ms) + dart.str(us); + } + } + toIso8601String() { + let y = dart.notNull(this.year) >= -9999 && dart.notNull(this.year) <= 9999 ? core.DateTime._fourDigits(this.year) : core.DateTime._sixDigits(this.year); + let m = core.DateTime._twoDigits(this.month); + let d = core.DateTime._twoDigits(this.day); + let h = core.DateTime._twoDigits(this.hour); + let min = core.DateTime._twoDigits(this.minute); + let sec = core.DateTime._twoDigits(this.second); + let ms = core.DateTime._threeDigits(this.millisecond); + let us = this.microsecond === 0 ? "" : core.DateTime._threeDigits(this.microsecond); + if (dart.test(this.isUtc)) { + return dart.str(y) + "-" + dart.str(m) + "-" + dart.str(d) + "T" + dart.str(h) + ":" + dart.str(min) + ":" + dart.str(sec) + "." + dart.str(ms) + dart.str(us) + "Z"; + } else { + return dart.str(y) + "-" + dart.str(m) + "-" + dart.str(d) + "T" + dart.str(h) + ":" + dart.str(min) + ":" + dart.str(sec) + "." + dart.str(ms) + dart.str(us); + } + } + add(duration) { + if (duration == null) dart.nullFailed(I[7], 372, 25, "duration"); + return new core.DateTime._withValue(dart.notNull(this[_value$4]) + dart.notNull(duration.inMilliseconds), {isUtc: this.isUtc}); + } + subtract(duration) { + if (duration == null) dart.nullFailed(I[7], 377, 30, "duration"); + return new core.DateTime._withValue(dart.notNull(this[_value$4]) - dart.notNull(duration.inMilliseconds), {isUtc: this.isUtc}); + } + difference(other) { + if (other == null) dart.nullFailed(I[7], 382, 32, "other"); + return new core.Duration.new({milliseconds: dart.notNull(this[_value$4]) - dart.notNull(other[_value$4])}); + } + static _brokenDownDateToValue(year, month, day, hour, minute, second, millisecond, microsecond, isUtc) { + if (year == null) dart.nullFailed(I[7], 346, 42, "year"); + if (month == null) dart.nullFailed(I[7], 346, 52, "month"); + if (day == null) dart.nullFailed(I[7], 346, 63, "day"); + if (hour == null) dart.nullFailed(I[7], 346, 72, "hour"); + if (minute == null) dart.nullFailed(I[7], 347, 11, "minute"); + if (second == null) dart.nullFailed(I[7], 347, 23, "second"); + if (millisecond == null) dart.nullFailed(I[7], 347, 35, "millisecond"); + if (microsecond == null) dart.nullFailed(I[7], 347, 52, "microsecond"); + if (isUtc == null) dart.nullFailed(I[7], 347, 70, "isUtc"); + return _js_helper.Primitives.valueFromDecomposedDate(year, month, day, hour, minute, second, dart.notNull(millisecond) + dart.notNull(core.DateTime._microsecondInRoundedMilliseconds(microsecond)), isUtc); + } + get millisecondsSinceEpoch() { + return this[_value$4]; + } + get microsecondsSinceEpoch() { + return dart.notNull(this[_value$4]) * 1000; + } + get timeZoneName() { + if (dart.test(this.isUtc)) return "UTC"; + return _js_helper.Primitives.getTimeZoneName(this); + } + get timeZoneOffset() { + if (dart.test(this.isUtc)) return core.Duration.zero; + return new core.Duration.new({minutes: _js_helper.Primitives.getTimeZoneOffsetInMinutes(this)}); + } + get year() { + return _js_helper.Primitives.getYear(this); + } + get month() { + return _js_helper.Primitives.getMonth(this); + } + get day() { + return _js_helper.Primitives.getDay(this); + } + get hour() { + return _js_helper.Primitives.getHours(this); + } + get minute() { + return _js_helper.Primitives.getMinutes(this); + } + get second() { + return _js_helper.Primitives.getSeconds(this); + } + get millisecond() { + return _js_helper.Primitives.getMilliseconds(this); + } + get microsecond() { + return 0; + } + get weekday() { + return _js_helper.Primitives.getWeekday(this); + } +}; +(core.DateTime.new = function(year, month = 1, day = 1, hour = 0, minute = 0, second = 0, millisecond = 0, microsecond = 0) { + if (year == null) dart.nullFailed(I[168], 172, 16, "year"); + if (month == null) dart.nullFailed(I[168], 173, 12, "month"); + if (day == null) dart.nullFailed(I[168], 174, 11, "day"); + if (hour == null) dart.nullFailed(I[168], 175, 11, "hour"); + if (minute == null) dart.nullFailed(I[168], 176, 11, "minute"); + if (second == null) dart.nullFailed(I[168], 177, 11, "second"); + if (millisecond == null) dart.nullFailed(I[168], 178, 11, "millisecond"); + if (microsecond == null) dart.nullFailed(I[168], 179, 11, "microsecond"); + core.DateTime._internal.call(this, year, month, day, hour, minute, second, millisecond, microsecond, false); +}).prototype = core.DateTime.prototype; +(core.DateTime.utc = function(year, month = 1, day = 1, hour = 0, minute = 0, second = 0, millisecond = 0, microsecond = 0) { + if (year == null) dart.nullFailed(I[168], 192, 20, "year"); + if (month == null) dart.nullFailed(I[168], 193, 12, "month"); + if (day == null) dart.nullFailed(I[168], 194, 11, "day"); + if (hour == null) dart.nullFailed(I[168], 195, 11, "hour"); + if (minute == null) dart.nullFailed(I[168], 196, 11, "minute"); + if (second == null) dart.nullFailed(I[168], 197, 11, "second"); + if (millisecond == null) dart.nullFailed(I[168], 198, 11, "millisecond"); + if (microsecond == null) dart.nullFailed(I[168], 199, 11, "microsecond"); + core.DateTime._internal.call(this, year, month, day, hour, minute, second, millisecond, microsecond, true); +}).prototype = core.DateTime.prototype; +(core.DateTime.now = function() { + core.DateTime._now.call(this); +}).prototype = core.DateTime.prototype; +(core.DateTime.fromMillisecondsSinceEpoch = function(millisecondsSinceEpoch, opts) { + if (millisecondsSinceEpoch == null) dart.nullFailed(I[7], 308, 43, "millisecondsSinceEpoch"); + let isUtc = opts && 'isUtc' in opts ? opts.isUtc : false; + if (isUtc == null) dart.nullFailed(I[7], 309, 13, "isUtc"); + core.DateTime._withValue.call(this, millisecondsSinceEpoch, {isUtc: isUtc}); +}).prototype = core.DateTime.prototype; +(core.DateTime.fromMicrosecondsSinceEpoch = function(microsecondsSinceEpoch, opts) { + if (microsecondsSinceEpoch == null) dart.nullFailed(I[7], 313, 43, "microsecondsSinceEpoch"); + let isUtc = opts && 'isUtc' in opts ? opts.isUtc : false; + if (isUtc == null) dart.nullFailed(I[7], 314, 13, "isUtc"); + core.DateTime._withValue.call(this, core.DateTime._microsecondInRoundedMilliseconds(microsecondsSinceEpoch), {isUtc: isUtc}); +}).prototype = core.DateTime.prototype; +(core.DateTime._withValue = function(_value, opts) { + if (_value == null) dart.nullFailed(I[168], 366, 28, "_value"); + let isUtc = opts && 'isUtc' in opts ? opts.isUtc : null; + if (isUtc == null) dart.nullFailed(I[168], 366, 51, "isUtc"); + this[_value$4] = _value; + this[isUtc$] = isUtc; + if (this.millisecondsSinceEpoch[$abs]() > 8640000000000000.0 || this.millisecondsSinceEpoch[$abs]() === 8640000000000000.0 && this.microsecond !== 0) { + dart.throw(new core.ArgumentError.new("DateTime is outside valid range: " + dart.str(this.millisecondsSinceEpoch))); + } + _internal.checkNotNullable(core.bool, this.isUtc, "isUtc"); +}).prototype = core.DateTime.prototype; +(core.DateTime._internal = function(year, month, day, hour, minute, second, millisecond, microsecond, isUtc) { + if (year == null) dart.nullFailed(I[7], 320, 26, "year"); + if (month == null) dart.nullFailed(I[7], 320, 36, "month"); + if (day == null) dart.nullFailed(I[7], 320, 47, "day"); + if (hour == null) dart.nullFailed(I[7], 320, 56, "hour"); + if (minute == null) dart.nullFailed(I[7], 320, 66, "minute"); + if (second == null) dart.nullFailed(I[7], 321, 11, "second"); + if (millisecond == null) dart.nullFailed(I[7], 321, 23, "millisecond"); + if (microsecond == null) dart.nullFailed(I[7], 321, 40, "microsecond"); + if (isUtc == null) dart.nullFailed(I[7], 321, 58, "isUtc"); + this[isUtc$] = isUtc; + this[_value$4] = core.int.as(_js_helper.checkInt(_js_helper.Primitives.valueFromDecomposedDate(year, month, day, hour, minute, second, dart.notNull(millisecond) + dart.notNull(core.DateTime._microsecondInRoundedMilliseconds(microsecond)), isUtc))); + ; +}).prototype = core.DateTime.prototype; +(core.DateTime._now = function() { + this[isUtc$] = false; + this[_value$4] = _js_helper.Primitives.dateNow(); + ; +}).prototype = core.DateTime.prototype; +dart.addTypeTests(core.DateTime); +dart.addTypeCaches(core.DateTime); +core.DateTime[dart.implements] = () => [core.Comparable$(core.DateTime)]; +dart.setMethodSignature(core.DateTime, () => ({ + __proto__: dart.getMethods(core.DateTime.__proto__), + isBefore: dart.fnType(core.bool, [core.DateTime]), + isAfter: dart.fnType(core.bool, [core.DateTime]), + isAtSameMomentAs: dart.fnType(core.bool, [core.DateTime]), + compareTo: dart.fnType(core.int, [core.DateTime]), + [$compareTo]: dart.fnType(core.int, [core.DateTime]), + toLocal: dart.fnType(core.DateTime, []), + toUtc: dart.fnType(core.DateTime, []), + toIso8601String: dart.fnType(core.String, []), + add: dart.fnType(core.DateTime, [core.Duration]), + subtract: dart.fnType(core.DateTime, [core.Duration]), + difference: dart.fnType(core.Duration, [core.DateTime]) +})); +dart.setGetterSignature(core.DateTime, () => ({ + __proto__: dart.getGetters(core.DateTime.__proto__), + millisecondsSinceEpoch: core.int, + microsecondsSinceEpoch: core.int, + timeZoneName: core.String, + timeZoneOffset: core.Duration, + year: core.int, + month: core.int, + day: core.int, + hour: core.int, + minute: core.int, + second: core.int, + millisecond: core.int, + microsecond: core.int, + weekday: core.int +})); +dart.setLibraryUri(core.DateTime, I[8]); +dart.setFieldSignature(core.DateTime, () => ({ + __proto__: dart.getFields(core.DateTime.__proto__), + [_value$4]: dart.finalFieldType(core.int), + isUtc: dart.finalFieldType(core.bool) +})); +dart.defineExtensionMethods(core.DateTime, ['_equals', 'compareTo', 'toString']); +dart.defineExtensionAccessors(core.DateTime, ['hashCode']); +dart.defineLazy(core.DateTime, { + /*core.DateTime.monday*/get monday() { + return 1; + }, + /*core.DateTime.tuesday*/get tuesday() { + return 2; + }, + /*core.DateTime.wednesday*/get wednesday() { + return 3; + }, + /*core.DateTime.thursday*/get thursday() { + return 4; + }, + /*core.DateTime.friday*/get friday() { + return 5; + }, + /*core.DateTime.saturday*/get saturday() { + return 6; + }, + /*core.DateTime.sunday*/get sunday() { + return 7; + }, + /*core.DateTime.daysPerWeek*/get daysPerWeek() { + return 7; + }, + /*core.DateTime.january*/get january() { + return 1; + }, + /*core.DateTime.february*/get february() { + return 2; + }, + /*core.DateTime.march*/get march() { + return 3; + }, + /*core.DateTime.april*/get april() { + return 4; + }, + /*core.DateTime.may*/get may() { + return 5; + }, + /*core.DateTime.june*/get june() { + return 6; + }, + /*core.DateTime.july*/get july() { + return 7; + }, + /*core.DateTime.august*/get august() { + return 8; + }, + /*core.DateTime.september*/get september() { + return 9; + }, + /*core.DateTime.october*/get october() { + return 10; + }, + /*core.DateTime.november*/get november() { + return 11; + }, + /*core.DateTime.december*/get december() { + return 12; + }, + /*core.DateTime.monthsPerYear*/get monthsPerYear() { + return 12; + }, + /*core.DateTime._maxMillisecondsSinceEpoch*/get _maxMillisecondsSinceEpoch() { + return 8640000000000000.0; + }, + /*core.DateTime._parseFormat*/get _parseFormat() { + return core.RegExp.new("^([+-]?\\d{4,6})-?(\\d\\d)-?(\\d\\d)" + "(?:[ T](\\d\\d)(?::?(\\d\\d)(?::?(\\d\\d)(?:[.,](\\d+))?)?)?" + "( ?[zZ]| ?([-+])(\\d\\d)(?::?(\\d\\d))?)?)?$"); + } +}, false); +var _duration$ = dart.privateName(core, "Duration._duration"); +var _duration = dart.privateName(core, "_duration"); +core.Duration = class Duration extends core.Object { + get [_duration]() { + return this[_duration$]; + } + set [_duration](value) { + super[_duration] = value; + } + ['+'](other) { + if (other == null) dart.nullFailed(I[169], 148, 32, "other"); + return new core.Duration._microseconds(dart.notNull(this[_duration]) + dart.notNull(other[_duration])); + } + ['-'](other) { + if (other == null) dart.nullFailed(I[169], 154, 32, "other"); + return new core.Duration._microseconds(dart.notNull(this[_duration]) - dart.notNull(other[_duration])); + } + ['*'](factor) { + if (factor == null) dart.nullFailed(I[169], 163, 27, "factor"); + return new core.Duration._microseconds((dart.notNull(this[_duration]) * dart.notNull(factor))[$round]()); + } + ['~/'](quotient) { + if (quotient == null) dart.nullFailed(I[169], 171, 28, "quotient"); + if (quotient === 0) dart.throw(new core.IntegerDivisionByZeroException.new()); + return new core.Duration._microseconds((dart.notNull(this[_duration]) / dart.notNull(quotient))[$truncate]()); + } + ['<'](other) { + if (other == null) dart.nullFailed(I[169], 179, 28, "other"); + return dart.notNull(this[_duration]) < dart.notNull(other[_duration]); + } + ['>'](other) { + if (other == null) dart.nullFailed(I[169], 182, 28, "other"); + return dart.notNull(this[_duration]) > dart.notNull(other[_duration]); + } + ['<='](other) { + if (other == null) dart.nullFailed(I[169], 185, 29, "other"); + return dart.notNull(this[_duration]) <= dart.notNull(other[_duration]); + } + ['>='](other) { + if (other == null) dart.nullFailed(I[169], 188, 29, "other"); + return dart.notNull(this[_duration]) >= dart.notNull(other[_duration]); + } + get inDays() { + return (dart.notNull(this[_duration]) / 86400000000.0)[$truncate](); + } + get inHours() { + return (dart.notNull(this[_duration]) / 3600000000.0)[$truncate](); + } + get inMinutes() { + return (dart.notNull(this[_duration]) / 60000000)[$truncate](); + } + get inSeconds() { + return (dart.notNull(this[_duration]) / 1000000)[$truncate](); + } + get inMilliseconds() { + return (dart.notNull(this[_duration]) / 1000)[$truncate](); + } + get inMicroseconds() { + return this[_duration]; + } + _equals(other) { + if (other == null) return false; + return core.Duration.is(other) && this[_duration] == other.inMicroseconds; + } + get hashCode() { + return dart.hashCode(this[_duration]); + } + compareTo(other) { + core.Duration.as(other); + if (other == null) dart.nullFailed(I[169], 246, 26, "other"); + return this[_duration][$compareTo](other[_duration]); + } + toString() { + function sixDigits(n) { + if (n == null) dart.nullFailed(I[169], 260, 26, "n"); + if (dart.notNull(n) >= 100000) return dart.str(n); + if (dart.notNull(n) >= 10000) return "0" + dart.str(n); + if (dart.notNull(n) >= 1000) return "00" + dart.str(n); + if (dart.notNull(n) >= 100) return "000" + dart.str(n); + if (dart.notNull(n) >= 10) return "0000" + dart.str(n); + return "00000" + dart.str(n); + } + dart.fn(sixDigits, T$0.intToString()); + function twoDigits(n) { + if (n == null) dart.nullFailed(I[169], 269, 26, "n"); + if (dart.notNull(n) >= 10) return dart.str(n); + return "0" + dart.str(n); + } + dart.fn(twoDigits, T$0.intToString()); + if (dart.notNull(this.inMicroseconds) < 0) { + return "-" + dart.str(this._negate()); + } + let twoDigitMinutes = twoDigits(this.inMinutes[$remainder](60)); + let twoDigitSeconds = twoDigits(this.inSeconds[$remainder](60)); + let sixDigitUs = sixDigits(this.inMicroseconds[$remainder](1000000)); + return dart.str(this.inHours) + ":" + dart.str(twoDigitMinutes) + ":" + dart.str(twoDigitSeconds) + "." + dart.str(sixDigitUs); + } + get isNegative() { + return dart.notNull(this[_duration]) < 0; + } + abs() { + return new core.Duration._microseconds(this[_duration][$abs]()); + } + _negate() { + return new core.Duration._microseconds(0 - dart.notNull(this[_duration])); + } +}; +(core.Duration.new = function(opts) { + let days = opts && 'days' in opts ? opts.days : 0; + if (days == null) dart.nullFailed(I[169], 129, 12, "days"); + let hours = opts && 'hours' in opts ? opts.hours : 0; + if (hours == null) dart.nullFailed(I[169], 130, 11, "hours"); + let minutes = opts && 'minutes' in opts ? opts.minutes : 0; + if (minutes == null) dart.nullFailed(I[169], 131, 11, "minutes"); + let seconds = opts && 'seconds' in opts ? opts.seconds : 0; + if (seconds == null) dart.nullFailed(I[169], 132, 11, "seconds"); + let milliseconds = opts && 'milliseconds' in opts ? opts.milliseconds : 0; + if (milliseconds == null) dart.nullFailed(I[169], 133, 11, "milliseconds"); + let microseconds = opts && 'microseconds' in opts ? opts.microseconds : 0; + if (microseconds == null) dart.nullFailed(I[169], 134, 11, "microseconds"); + core.Duration._microseconds.call(this, 86400000000.0 * dart.notNull(days) + 3600000000.0 * dart.notNull(hours) + 60000000 * dart.notNull(minutes) + 1000000 * dart.notNull(seconds) + 1000 * dart.notNull(milliseconds) + dart.notNull(microseconds)); +}).prototype = core.Duration.prototype; +(core.Duration._microseconds = function(_duration) { + if (_duration == null) dart.nullFailed(I[169], 144, 37, "_duration"); + this[_duration$] = _duration; + ; +}).prototype = core.Duration.prototype; +dart.addTypeTests(core.Duration); +dart.addTypeCaches(core.Duration); +core.Duration[dart.implements] = () => [core.Comparable$(core.Duration)]; +dart.setMethodSignature(core.Duration, () => ({ + __proto__: dart.getMethods(core.Duration.__proto__), + '+': dart.fnType(core.Duration, [core.Duration]), + '-': dart.fnType(core.Duration, [core.Duration]), + '*': dart.fnType(core.Duration, [core.num]), + '~/': dart.fnType(core.Duration, [core.int]), + '<': dart.fnType(core.bool, [core.Duration]), + '>': dart.fnType(core.bool, [core.Duration]), + '<=': dart.fnType(core.bool, [core.Duration]), + '>=': dart.fnType(core.bool, [core.Duration]), + compareTo: dart.fnType(core.int, [dart.nullable(core.Object)]), + [$compareTo]: dart.fnType(core.int, [dart.nullable(core.Object)]), + abs: dart.fnType(core.Duration, []), + _negate: dart.fnType(core.Duration, []) +})); +dart.setGetterSignature(core.Duration, () => ({ + __proto__: dart.getGetters(core.Duration.__proto__), + inDays: core.int, + inHours: core.int, + inMinutes: core.int, + inSeconds: core.int, + inMilliseconds: core.int, + inMicroseconds: core.int, + isNegative: core.bool +})); +dart.setLibraryUri(core.Duration, I[8]); +dart.setFieldSignature(core.Duration, () => ({ + __proto__: dart.getFields(core.Duration.__proto__), + [_duration]: dart.finalFieldType(core.int) +})); +dart.defineExtensionMethods(core.Duration, ['_equals', 'compareTo', 'toString']); +dart.defineExtensionAccessors(core.Duration, ['hashCode']); +dart.defineLazy(core.Duration, { + /*core.Duration.microsecondsPerMillisecond*/get microsecondsPerMillisecond() { + return 1000; + }, + /*core.Duration.millisecondsPerSecond*/get millisecondsPerSecond() { + return 1000; + }, + /*core.Duration.secondsPerMinute*/get secondsPerMinute() { + return 60; + }, + /*core.Duration.minutesPerHour*/get minutesPerHour() { + return 60; + }, + /*core.Duration.hoursPerDay*/get hoursPerDay() { + return 24; + }, + /*core.Duration.microsecondsPerSecond*/get microsecondsPerSecond() { + return 1000000; + }, + /*core.Duration.microsecondsPerMinute*/get microsecondsPerMinute() { + return 60000000; + }, + /*core.Duration.microsecondsPerHour*/get microsecondsPerHour() { + return 3600000000.0; + }, + /*core.Duration.microsecondsPerDay*/get microsecondsPerDay() { + return 86400000000.0; + }, + /*core.Duration.millisecondsPerMinute*/get millisecondsPerMinute() { + return 60000; + }, + /*core.Duration.millisecondsPerHour*/get millisecondsPerHour() { + return 3600000; + }, + /*core.Duration.millisecondsPerDay*/get millisecondsPerDay() { + return 86400000; + }, + /*core.Duration.secondsPerHour*/get secondsPerHour() { + return 3600; + }, + /*core.Duration.secondsPerDay*/get secondsPerDay() { + return 86400; + }, + /*core.Duration.minutesPerDay*/get minutesPerDay() { + return 1440; + }, + /*core.Duration.zero*/get zero() { + return C[420] || CT.C420; + } +}, false); +core.TypeError = class TypeError extends core.Error {}; +(core.TypeError.new = function() { + core.TypeError.__proto__.new.call(this); + ; +}).prototype = core.TypeError.prototype; +dart.addTypeTests(core.TypeError); +dart.addTypeCaches(core.TypeError); +dart.setLibraryUri(core.TypeError, I[8]); +core.CastError = class CastError extends core.Error {}; +(core.CastError.new = function() { + core.CastError.__proto__.new.call(this); + ; +}).prototype = core.CastError.prototype; +dart.addTypeTests(core.CastError); +dart.addTypeCaches(core.CastError); +dart.setLibraryUri(core.CastError, I[8]); +core.NullThrownError = class NullThrownError extends core.Error { + toString() { + return "Throw of null."; + } +}; +(core.NullThrownError.new = function() { + core.NullThrownError.__proto__.new.call(this); + ; +}).prototype = core.NullThrownError.prototype; +dart.addTypeTests(core.NullThrownError); +dart.addTypeCaches(core.NullThrownError); +dart.setLibraryUri(core.NullThrownError, I[8]); +dart.defineExtensionMethods(core.NullThrownError, ['toString']); +var invalidValue = dart.privateName(core, "ArgumentError.invalidValue"); +var name$13 = dart.privateName(core, "ArgumentError.name"); +var message$12 = dart.privateName(core, "ArgumentError.message"); +core.ArgumentError = class ArgumentError extends core.Error { + get invalidValue() { + return this[invalidValue]; + } + set invalidValue(value) { + super.invalidValue = value; + } + get name() { + return this[name$13]; + } + set name(value) { + super.name = value; + } + get message() { + return this[message$12]; + } + set message(value) { + super.message = value; + } + static checkNotNull(T, argument, name = null) { + if (argument == null) dart.throw(new core.ArgumentError.notNull(name)); + return argument; + } + get [_errorName$]() { + return "Invalid argument" + (!dart.test(this[_hasValue$]) ? "(s)" : ""); + } + get [_errorExplanation$]() { + return ""; + } + toString() { + let name = this[$name]; + let nameString = name == null ? "" : " (" + dart.str(name) + ")"; + let message = this[$message]; + let messageString = message == null ? "" : ": " + dart.str(message); + let prefix = dart.str(this[_errorName$]) + nameString + messageString; + if (!dart.test(this[_hasValue$])) return prefix; + let explanation = this[_errorExplanation$]; + let errorValue = core.Error.safeToString(this[$invalidValue]); + return prefix + dart.str(explanation) + ": " + dart.str(errorValue); + } +}; +(core.ArgumentError.new = function(message = null) { + this[message$12] = message; + this[invalidValue] = null; + this[_hasValue$] = false; + this[name$13] = null; + core.ArgumentError.__proto__.new.call(this); + ; +}).prototype = core.ArgumentError.prototype; +(core.ArgumentError.value = function(value, name = null, message = null) { + this[name$13] = name; + this[message$12] = message; + this[invalidValue] = value; + this[_hasValue$] = true; + core.ArgumentError.__proto__.new.call(this); + ; +}).prototype = core.ArgumentError.prototype; +(core.ArgumentError.notNull = function(name = null) { + this[name$13] = name; + this[_hasValue$] = false; + this[message$12] = "Must not be null"; + this[invalidValue] = null; + core.ArgumentError.__proto__.new.call(this); + ; +}).prototype = core.ArgumentError.prototype; +dart.addTypeTests(core.ArgumentError); +dart.addTypeCaches(core.ArgumentError); +dart.setGetterSignature(core.ArgumentError, () => ({ + __proto__: dart.getGetters(core.ArgumentError.__proto__), + [_errorName$]: core.String, + [_errorExplanation$]: core.String +})); +dart.setLibraryUri(core.ArgumentError, I[8]); +dart.setFieldSignature(core.ArgumentError, () => ({ + __proto__: dart.getFields(core.ArgumentError.__proto__), + [_hasValue$]: dart.finalFieldType(core.bool), + invalidValue: dart.finalFieldType(dart.dynamic), + name: dart.finalFieldType(dart.nullable(core.String)), + message: dart.finalFieldType(dart.dynamic) +})); +dart.defineExtensionMethods(core.ArgumentError, ['toString']); +dart.defineExtensionAccessors(core.ArgumentError, ['invalidValue', 'name', 'message']); +var start = dart.privateName(core, "RangeError.start"); +var end = dart.privateName(core, "RangeError.end"); +core.RangeError = class RangeError extends core.ArgumentError { + get start() { + return this[start]; + } + set start(value) { + super.start = value; + } + get end() { + return this[end]; + } + set end(value) { + super.end = value; + } + static checkValueInInterval(value, minValue, maxValue, name = null, message = null) { + if (value == null) dart.nullFailed(I[170], 274, 39, "value"); + if (minValue == null) dart.nullFailed(I[170], 274, 50, "minValue"); + if (maxValue == null) dart.nullFailed(I[170], 274, 64, "maxValue"); + if (dart.notNull(value) < dart.notNull(minValue) || dart.notNull(value) > dart.notNull(maxValue)) { + dart.throw(new core.RangeError.range(value, minValue, maxValue, name, message)); + } + return value; + } + static checkValidIndex(index, indexable, name = null, length = null, message = null) { + if (index == null) dart.nullFailed(I[170], 297, 34, "index"); + length == null ? length = core.int.as(dart.dload(indexable, 'length')) : null; + if (0 > dart.notNull(index) || dart.notNull(index) >= dart.notNull(length)) { + name == null ? name = "index" : null; + dart.throw(new core.IndexError.new(index, indexable, name, message, length)); + } + return index; + } + static checkValidRange(start, end, length, startName = null, endName = null, message = null) { + if (start == null) dart.nullFailed(I[170], 322, 34, "start"); + if (length == null) dart.nullFailed(I[170], 322, 55, "length"); + if (0 > dart.notNull(start) || dart.notNull(start) > dart.notNull(length)) { + startName == null ? startName = "start" : null; + dart.throw(new core.RangeError.range(start, 0, length, startName, message)); + } + if (end != null) { + if (dart.notNull(start) > dart.notNull(end) || dart.notNull(end) > dart.notNull(length)) { + endName == null ? endName = "end" : null; + dart.throw(new core.RangeError.range(end, start, length, endName, message)); + } + return end; + } + return length; + } + static checkNotNegative(value, name = null, message = null) { + let t249; + if (value == null) dart.nullFailed(I[170], 349, 35, "value"); + if (dart.notNull(value) < 0) { + dart.throw(new core.RangeError.range(value, 0, null, (t249 = name, t249 == null ? "index" : t249), message)); + } + return value; + } + get [_errorName$]() { + return "RangeError"; + } + get [_errorExplanation$]() { + if (!dart.test(this[_hasValue$])) dart.assertFailed(null, I[170], 358, 12, "_hasValue"); + let explanation = ""; + let start = this.start; + let end = this.end; + if (start == null) { + if (end != null) { + explanation = ": Not less than or equal to " + dart.str(end); + } + } else if (end == null) { + explanation = ": Not greater than or equal to " + dart.str(start); + } else if (dart.notNull(end) > dart.notNull(start)) { + explanation = ": Not in inclusive range " + dart.str(start) + ".." + dart.str(end); + } else if (dart.notNull(end) < dart.notNull(start)) { + explanation = ": Valid value range is empty"; + } else { + explanation = ": Only valid value is " + dart.str(start); + } + return explanation; + } +}; +(core.RangeError.new = function(message) { + this[start] = null; + this[end] = null; + core.RangeError.__proto__.new.call(this, message); + ; +}).prototype = core.RangeError.prototype; +(core.RangeError.value = function(value, name = null, message = null) { + let t249; + if (value == null) dart.nullFailed(I[170], 229, 24, "value"); + this[start] = null; + this[end] = null; + core.RangeError.__proto__.value.call(this, value, name, (t249 = message, t249 == null ? "Value not in range" : t249)); + ; +}).prototype = core.RangeError.prototype; +(core.RangeError.range = function(invalidValue, minValue, maxValue, name = null, message = null) { + let t249; + if (invalidValue == null) dart.nullFailed(I[170], 247, 24, "invalidValue"); + this[start] = minValue; + this[end] = maxValue; + core.RangeError.__proto__.value.call(this, invalidValue, name, (t249 = message, t249 == null ? "Invalid value" : t249)); + ; +}).prototype = core.RangeError.prototype; +dart.addTypeTests(core.RangeError); +dart.addTypeCaches(core.RangeError); +dart.setLibraryUri(core.RangeError, I[8]); +dart.setFieldSignature(core.RangeError, () => ({ + __proto__: dart.getFields(core.RangeError.__proto__), + start: dart.finalFieldType(dart.nullable(core.num)), + end: dart.finalFieldType(dart.nullable(core.num)) +})); +var indexable$ = dart.privateName(core, "IndexError.indexable"); +var length$ = dart.privateName(core, "IndexError.length"); +core.IndexError = class IndexError extends core.ArgumentError { + get indexable() { + return this[indexable$]; + } + set indexable(value) { + super.indexable = value; + } + get length() { + return this[length$]; + } + set length(value) { + super.length = value; + } + get start() { + return 0; + } + get end() { + return dart.notNull(this.length) - 1; + } + get [_errorName$]() { + return "RangeError"; + } + get [_errorExplanation$]() { + if (!dart.test(this[_hasValue$])) dart.assertFailed(null, I[170], 412, 12, "_hasValue"); + let invalidValue = core.int.as(this[$invalidValue]); + if (dart.notNull(invalidValue) < 0) { + return ": index must not be negative"; + } + if (this.length === 0) { + return ": no indices are valid"; + } + return ": index should be less than " + dart.str(this.length); + } +}; +(core.IndexError.new = function(invalidValue, indexable, name = null, message = null, length = null) { + let t249, t249$; + if (invalidValue == null) dart.nullFailed(I[170], 400, 18, "invalidValue"); + this[indexable$] = indexable; + this[length$] = core.int.as((t249 = length, t249 == null ? dart.dload(indexable, 'length') : t249)); + core.IndexError.__proto__.value.call(this, invalidValue, name, (t249$ = message, t249$ == null ? "Index out of range" : t249$)); + ; +}).prototype = core.IndexError.prototype; +dart.addTypeTests(core.IndexError); +dart.addTypeCaches(core.IndexError); +core.IndexError[dart.implements] = () => [core.RangeError]; +dart.setGetterSignature(core.IndexError, () => ({ + __proto__: dart.getGetters(core.IndexError.__proto__), + start: core.int, + end: core.int +})); +dart.setLibraryUri(core.IndexError, I[8]); +dart.setFieldSignature(core.IndexError, () => ({ + __proto__: dart.getFields(core.IndexError.__proto__), + indexable: dart.finalFieldType(dart.dynamic), + length: dart.finalFieldType(core.int) +})); +var _className = dart.privateName(core, "_className"); +core.AbstractClassInstantiationError = class AbstractClassInstantiationError extends core.Error { + toString() { + return "Cannot instantiate abstract class: '" + dart.str(this[_className]) + "'"; + } +}; +(core.AbstractClassInstantiationError.new = function(className) { + if (className == null) dart.nullFailed(I[170], 444, 42, "className"); + this[_className] = className; + core.AbstractClassInstantiationError.__proto__.new.call(this); + ; +}).prototype = core.AbstractClassInstantiationError.prototype; +dart.addTypeTests(core.AbstractClassInstantiationError); +dart.addTypeCaches(core.AbstractClassInstantiationError); +dart.setLibraryUri(core.AbstractClassInstantiationError, I[8]); +dart.setFieldSignature(core.AbstractClassInstantiationError, () => ({ + __proto__: dart.getFields(core.AbstractClassInstantiationError.__proto__), + [_className]: dart.finalFieldType(core.String) +})); +dart.defineExtensionMethods(core.AbstractClassInstantiationError, ['toString']); +core.NoSuchMethodError = class NoSuchMethodError extends core.Error { + toString() { + let sb = new core.StringBuffer.new(""); + let comma = ""; + let $arguments = this[_arguments$]; + if ($arguments != null) { + for (let argument of $arguments) { + sb.write(comma); + sb.write(core.Error.safeToString(argument)); + comma = ", "; + } + } + let namedArguments = this[_namedArguments$]; + if (namedArguments != null) { + namedArguments[$forEach](dart.fn((key, value) => { + if (key == null) dart.nullFailed(I[7], 822, 38, "key"); + sb.write(comma); + sb.write(core._symbolToString(key)); + sb.write(": "); + sb.write(core.Error.safeToString(value)); + comma = ", "; + }, T$0.SymbolAnddynamicTovoid())); + } + let memberName = core._symbolToString(this[_memberName$]); + let receiverText = core.Error.safeToString(this[_receiver$]); + let actualParameters = dart.str(sb); + let invocation = this[_invocation$]; + let failureMessage = dart.InvocationImpl.is(invocation) ? invocation.failureMessage : "method not found"; + return "NoSuchMethodError: '" + dart.str(memberName) + "'\n" + dart.str(failureMessage) + "\n" + "Receiver: " + dart.str(receiverText) + "\n" + "Arguments: [" + actualParameters + "]"; + } +}; +(core.NoSuchMethodError._withInvocation = function(_receiver, invocation) { + if (invocation == null) dart.nullFailed(I[7], 802, 64, "invocation"); + this[_receiver$] = _receiver; + this[_memberName$] = invocation.memberName; + this[_arguments$] = invocation.positionalArguments; + this[_namedArguments$] = invocation.namedArguments; + this[_invocation$] = invocation; + core.NoSuchMethodError.__proto__.new.call(this); + ; +}).prototype = core.NoSuchMethodError.prototype; +(core.NoSuchMethodError.new = function(receiver, memberName, positionalArguments, namedArguments) { + if (memberName == null) dart.nullFailed(I[7], 789, 46, "memberName"); + this[_receiver$] = receiver; + this[_memberName$] = memberName; + this[_arguments$] = positionalArguments; + this[_namedArguments$] = namedArguments; + this[_invocation$] = null; + core.NoSuchMethodError.__proto__.new.call(this); + ; +}).prototype = core.NoSuchMethodError.prototype; +dart.addTypeTests(core.NoSuchMethodError); +dart.addTypeCaches(core.NoSuchMethodError); +dart.setLibraryUri(core.NoSuchMethodError, I[8]); +dart.setFieldSignature(core.NoSuchMethodError, () => ({ + __proto__: dart.getFields(core.NoSuchMethodError.__proto__), + [_receiver$]: dart.finalFieldType(dart.nullable(core.Object)), + [_memberName$]: dart.finalFieldType(core.Symbol), + [_arguments$]: dart.finalFieldType(dart.nullable(core.List)), + [_namedArguments$]: dart.finalFieldType(dart.nullable(core.Map$(core.Symbol, dart.dynamic))), + [_invocation$]: dart.finalFieldType(dart.nullable(core.Invocation)) +})); +dart.defineExtensionMethods(core.NoSuchMethodError, ['toString']); +var message$13 = dart.privateName(core, "UnsupportedError.message"); +core.UnsupportedError = class UnsupportedError extends core.Error { + get message() { + return this[message$13]; + } + set message(value) { + super.message = value; + } + toString() { + return "Unsupported operation: " + dart.str(this.message); + } +}; +(core.UnsupportedError.new = function(message) { + if (message == null) dart.nullFailed(I[170], 498, 32, "message"); + this[message$13] = message; + core.UnsupportedError.__proto__.new.call(this); + ; +}).prototype = core.UnsupportedError.prototype; +dart.addTypeTests(core.UnsupportedError); +dart.addTypeCaches(core.UnsupportedError); +dart.setLibraryUri(core.UnsupportedError, I[8]); +dart.setFieldSignature(core.UnsupportedError, () => ({ + __proto__: dart.getFields(core.UnsupportedError.__proto__), + message: dart.finalFieldType(dart.nullable(core.String)) +})); +dart.defineExtensionMethods(core.UnsupportedError, ['toString']); +var message$14 = dart.privateName(core, "UnimplementedError.message"); +core.UnimplementedError = class UnimplementedError extends core.Error { + get message() { + return this[message$14]; + } + set message(value) { + super.message = value; + } + toString() { + let message = this.message; + return message != null ? "UnimplementedError: " + dart.str(message) : "UnimplementedError"; + } +}; +(core.UnimplementedError.new = function(message = null) { + this[message$14] = message; + core.UnimplementedError.__proto__.new.call(this); + ; +}).prototype = core.UnimplementedError.prototype; +dart.addTypeTests(core.UnimplementedError); +dart.addTypeCaches(core.UnimplementedError); +core.UnimplementedError[dart.implements] = () => [core.UnsupportedError]; +dart.setLibraryUri(core.UnimplementedError, I[8]); +dart.setFieldSignature(core.UnimplementedError, () => ({ + __proto__: dart.getFields(core.UnimplementedError.__proto__), + message: dart.finalFieldType(dart.nullable(core.String)) +})); +dart.defineExtensionMethods(core.UnimplementedError, ['toString']); +var message$15 = dart.privateName(core, "StateError.message"); +core.StateError = class StateError extends core.Error { + get message() { + return this[message$15]; + } + set message(value) { + super.message = value; + } + toString() { + return "Bad state: " + dart.str(this.message); + } +}; +(core.StateError.new = function(message) { + if (message == null) dart.nullFailed(I[170], 535, 19, "message"); + this[message$15] = message; + core.StateError.__proto__.new.call(this); + ; +}).prototype = core.StateError.prototype; +dart.addTypeTests(core.StateError); +dart.addTypeCaches(core.StateError); +dart.setLibraryUri(core.StateError, I[8]); +dart.setFieldSignature(core.StateError, () => ({ + __proto__: dart.getFields(core.StateError.__proto__), + message: dart.finalFieldType(core.String) +})); +dart.defineExtensionMethods(core.StateError, ['toString']); +var modifiedObject$ = dart.privateName(core, "ConcurrentModificationError.modifiedObject"); +core.ConcurrentModificationError = class ConcurrentModificationError extends core.Error { + get modifiedObject() { + return this[modifiedObject$]; + } + set modifiedObject(value) { + super.modifiedObject = value; + } + toString() { + if (this.modifiedObject == null) { + return "Concurrent modification during iteration."; + } + return "Concurrent modification during iteration: " + dart.str(core.Error.safeToString(this.modifiedObject)) + "."; + } +}; +(core.ConcurrentModificationError.new = function(modifiedObject = null) { + this[modifiedObject$] = modifiedObject; + core.ConcurrentModificationError.__proto__.new.call(this); + ; +}).prototype = core.ConcurrentModificationError.prototype; +dart.addTypeTests(core.ConcurrentModificationError); +dart.addTypeCaches(core.ConcurrentModificationError); +dart.setLibraryUri(core.ConcurrentModificationError, I[8]); +dart.setFieldSignature(core.ConcurrentModificationError, () => ({ + __proto__: dart.getFields(core.ConcurrentModificationError.__proto__), + modifiedObject: dart.finalFieldType(dart.nullable(core.Object)) +})); +dart.defineExtensionMethods(core.ConcurrentModificationError, ['toString']); +core.OutOfMemoryError = class OutOfMemoryError extends core.Object { + toString() { + return "Out of Memory"; + } + get stackTrace() { + return null; + } +}; +(core.OutOfMemoryError.new = function() { + ; +}).prototype = core.OutOfMemoryError.prototype; +dart.addTypeTests(core.OutOfMemoryError); +dart.addTypeCaches(core.OutOfMemoryError); +core.OutOfMemoryError[dart.implements] = () => [core.Error]; +dart.setGetterSignature(core.OutOfMemoryError, () => ({ + __proto__: dart.getGetters(core.OutOfMemoryError.__proto__), + stackTrace: dart.nullable(core.StackTrace), + [$stackTrace]: dart.nullable(core.StackTrace) +})); +dart.setLibraryUri(core.OutOfMemoryError, I[8]); +dart.defineExtensionMethods(core.OutOfMemoryError, ['toString']); +dart.defineExtensionAccessors(core.OutOfMemoryError, ['stackTrace']); +core.StackOverflowError = class StackOverflowError extends core.Object { + toString() { + return "Stack Overflow"; + } + get stackTrace() { + return null; + } +}; +(core.StackOverflowError.new = function() { + ; +}).prototype = core.StackOverflowError.prototype; +dart.addTypeTests(core.StackOverflowError); +dart.addTypeCaches(core.StackOverflowError); +core.StackOverflowError[dart.implements] = () => [core.Error]; +dart.setGetterSignature(core.StackOverflowError, () => ({ + __proto__: dart.getGetters(core.StackOverflowError.__proto__), + stackTrace: dart.nullable(core.StackTrace), + [$stackTrace]: dart.nullable(core.StackTrace) +})); +dart.setLibraryUri(core.StackOverflowError, I[8]); +dart.defineExtensionMethods(core.StackOverflowError, ['toString']); +dart.defineExtensionAccessors(core.StackOverflowError, ['stackTrace']); +var variableName$ = dart.privateName(core, "CyclicInitializationError.variableName"); +core.CyclicInitializationError = class CyclicInitializationError extends core.Error { + get variableName() { + return this[variableName$]; + } + set variableName(value) { + super.variableName = value; + } + toString() { + let variableName = this.variableName; + return variableName == null ? "Reading static variable during its initialization" : "Reading static variable '" + dart.str(variableName) + "' during its initialization"; + } +}; +(core.CyclicInitializationError.new = function(variableName = null) { + this[variableName$] = variableName; + core.CyclicInitializationError.__proto__.new.call(this); + ; +}).prototype = core.CyclicInitializationError.prototype; +dart.addTypeTests(core.CyclicInitializationError); +dart.addTypeCaches(core.CyclicInitializationError); +dart.setLibraryUri(core.CyclicInitializationError, I[8]); +dart.setFieldSignature(core.CyclicInitializationError, () => ({ + __proto__: dart.getFields(core.CyclicInitializationError.__proto__), + variableName: dart.finalFieldType(dart.nullable(core.String)) +})); +dart.defineExtensionMethods(core.CyclicInitializationError, ['toString']); +core.Exception = class Exception extends core.Object { + static new(message = null) { + return new core._Exception.new(message); + } +}; +(core.Exception[dart.mixinNew] = function() { +}).prototype = core.Exception.prototype; +dart.addTypeTests(core.Exception); +dart.addTypeCaches(core.Exception); +dart.setLibraryUri(core.Exception, I[8]); +core._Exception = class _Exception extends core.Object { + toString() { + let message = this.message; + if (message == null) return "Exception"; + return "Exception: " + dart.str(message); + } +}; +(core._Exception.new = function(message = null) { + this.message = message; + ; +}).prototype = core._Exception.prototype; +dart.addTypeTests(core._Exception); +dart.addTypeCaches(core._Exception); +core._Exception[dart.implements] = () => [core.Exception]; +dart.setLibraryUri(core._Exception, I[8]); +dart.setFieldSignature(core._Exception, () => ({ + __proto__: dart.getFields(core._Exception.__proto__), + message: dart.finalFieldType(dart.dynamic) +})); +dart.defineExtensionMethods(core._Exception, ['toString']); +var message$16 = dart.privateName(core, "FormatException.message"); +var source$ = dart.privateName(core, "FormatException.source"); +var offset$ = dart.privateName(core, "FormatException.offset"); +core.FormatException = class FormatException extends core.Object { + get message() { + return this[message$16]; + } + set message(value) { + super.message = value; + } + get source() { + return this[source$]; + } + set source(value) { + super.source = value; + } + get offset() { + return this[offset$]; + } + set offset(value) { + super.offset = value; + } + toString() { + let report = "FormatException"; + let message = this.message; + if (message != null && "" !== message) { + report = report + ": " + dart.str(message); + } + let offset = this.offset; + let source = this.source; + if (typeof source == 'string') { + if (offset != null && (dart.notNull(offset) < 0 || dart.notNull(offset) > source.length)) { + offset = null; + } + if (offset == null) { + if (source.length > 78) { + source = source[$substring](0, 75) + "..."; + } + return report + "\n" + dart.str(source); + } + let lineNum = 1; + let lineStart = 0; + let previousCharWasCR = false; + for (let i = 0; i < dart.notNull(offset); i = i + 1) { + let char = source[$codeUnitAt](i); + if (char === 10) { + if (lineStart !== i || !previousCharWasCR) { + lineNum = lineNum + 1; + } + lineStart = i + 1; + previousCharWasCR = false; + } else if (char === 13) { + lineNum = lineNum + 1; + lineStart = i + 1; + previousCharWasCR = true; + } + } + if (lineNum > 1) { + report = report + (" (at line " + dart.str(lineNum) + ", character " + dart.str(dart.notNull(offset) - lineStart + 1) + ")\n"); + } else { + report = report + (" (at character " + dart.str(dart.notNull(offset) + 1) + ")\n"); + } + let lineEnd = source.length; + for (let i = offset; dart.notNull(i) < source.length; i = dart.notNull(i) + 1) { + let char = source[$codeUnitAt](i); + if (char === 10 || char === 13) { + lineEnd = i; + break; + } + } + let length = dart.notNull(lineEnd) - lineStart; + let start = lineStart; + let end = lineEnd; + let prefix = ""; + let postfix = ""; + if (length > 78) { + let index = dart.notNull(offset) - lineStart; + if (index < 75) { + end = start + 75; + postfix = "..."; + } else if (dart.notNull(end) - dart.notNull(offset) < 75) { + start = dart.notNull(end) - 75; + prefix = "..."; + } else { + start = dart.notNull(offset) - 36; + end = dart.notNull(offset) + 36; + prefix = postfix = "..."; + } + } + let slice = source[$substring](start, end); + let markOffset = dart.notNull(offset) - start + prefix.length; + return report + prefix + slice + postfix + "\n" + " "[$times](markOffset) + "^\n"; + } else { + if (offset != null) { + report = report + (" (at offset " + dart.str(offset) + ")"); + } + return report; + } + } +}; +(core.FormatException.new = function(message = "", source = null, offset = null) { + if (message == null) dart.nullFailed(I[171], 68, 31, "message"); + this[message$16] = message; + this[source$] = source; + this[offset$] = offset; + ; +}).prototype = core.FormatException.prototype; +dart.addTypeTests(core.FormatException); +dart.addTypeCaches(core.FormatException); +core.FormatException[dart.implements] = () => [core.Exception]; +dart.setLibraryUri(core.FormatException, I[8]); +dart.setFieldSignature(core.FormatException, () => ({ + __proto__: dart.getFields(core.FormatException.__proto__), + message: dart.finalFieldType(core.String), + source: dart.finalFieldType(dart.dynamic), + offset: dart.finalFieldType(dart.nullable(core.int)) +})); +dart.defineExtensionMethods(core.FormatException, ['toString']); +core.IntegerDivisionByZeroException = class IntegerDivisionByZeroException extends core.Object { + toString() { + return "IntegerDivisionByZeroException"; + } +}; +(core.IntegerDivisionByZeroException.new = function() { + ; +}).prototype = core.IntegerDivisionByZeroException.prototype; +dart.addTypeTests(core.IntegerDivisionByZeroException); +dart.addTypeCaches(core.IntegerDivisionByZeroException); +core.IntegerDivisionByZeroException[dart.implements] = () => [core.Exception]; +dart.setLibraryUri(core.IntegerDivisionByZeroException, I[8]); +dart.defineExtensionMethods(core.IntegerDivisionByZeroException, ['toString']); +var name$14 = dart.privateName(core, "Expando.name"); +var _getKey = dart.privateName(core, "_getKey"); +const _is_Expando_default = Symbol('_is_Expando_default'); +core.Expando$ = dart.generic(T => { + var TN = () => (TN = dart.constFn(dart.nullable(T)))(); + class Expando extends core.Object { + get name() { + return this[name$14]; + } + set name(value) { + super.name = value; + } + [_getKey]() { + let t249; + let key = T$.StringN().as(_js_helper.Primitives.getProperty(this, "expando$key")); + if (key == null) { + key = "expando$key$" + dart.str((t249 = core.Expando._keyCount, core.Expando._keyCount = dart.notNull(t249) + 1, t249)); + _js_helper.Primitives.setProperty(this, "expando$key", key); + } + return key; + } + toString() { + return "Expando:" + dart.str(this.name); + } + _get(object) { + if (object == null) dart.nullFailed(I[7], 139, 25, "object"); + let values = _js_helper.Primitives.getProperty(object, "expando$values"); + return values == null ? null : TN().as(_js_helper.Primitives.getProperty(values, this[_getKey]())); + } + _set(object, value$) { + let value = value$; + if (object == null) dart.nullFailed(I[7], 147, 28, "object"); + TN().as(value); + let values = _js_helper.Primitives.getProperty(object, "expando$values"); + if (values == null) { + values = new core.Object.new(); + _js_helper.Primitives.setProperty(object, "expando$values", values); + } + _js_helper.Primitives.setProperty(values, this[_getKey](), value); + return value$; + } + } + (Expando.new = function(name = null) { + this[name$14] = name; + ; + }).prototype = Expando.prototype; + dart.addTypeTests(Expando); + Expando.prototype[_is_Expando_default] = true; + dart.addTypeCaches(Expando); + dart.setMethodSignature(Expando, () => ({ + __proto__: dart.getMethods(Expando.__proto__), + [_getKey]: dart.fnType(core.String, []), + _get: dart.fnType(dart.nullable(T), [core.Object]), + _set: dart.fnType(dart.void, [core.Object, dart.nullable(core.Object)]) + })); + dart.setLibraryUri(Expando, I[8]); + dart.setFieldSignature(Expando, () => ({ + __proto__: dart.getFields(Expando.__proto__), + name: dart.finalFieldType(dart.nullable(core.String)) + })); + dart.defineExtensionMethods(Expando, ['toString']); + return Expando; +}); +core.Expando = core.Expando$(); +dart.defineLazy(core.Expando, { + /*core.Expando._KEY_PROPERTY_NAME*/get _KEY_PROPERTY_NAME() { + return "expando$key"; + }, + /*core.Expando._EXPANDO_PROPERTY_NAME*/get _EXPANDO_PROPERTY_NAME() { + return "expando$values"; + }, + /*core.Expando._keyCount*/get _keyCount() { + return 0; + }, + set _keyCount(_) {} +}, false); +dart.addTypeTests(core.Expando, _is_Expando_default); +core.Function = class Function extends core.Object { + static _toMangledNames(namedArguments) { + if (namedArguments == null) dart.nullFailed(I[7], 111, 28, "namedArguments"); + let result = new (T$0.IdentityMapOfString$dynamic()).new(); + namedArguments[$forEach](dart.fn((symbol, value) => { + if (symbol == null) dart.nullFailed(I[7], 113, 29, "symbol"); + result[$_set](core._symbolToString(symbol), value); + }, T$0.SymbolAnddynamicTovoid())); + return result; + } + static is(o) { + return typeof o == "function"; + } + static as(o) { + if (typeof o == "function") return o; + return dart.as(o, core.Function); + } + static apply($function, positionalArguments, namedArguments = null) { + if ($function == null) dart.nullFailed(I[7], 96, 25, "function"); + positionalArguments == null ? positionalArguments = [] : null; + if (namedArguments != null && dart.test(namedArguments[$isNotEmpty])) { + let map = {}; + namedArguments[$forEach](dart.fn((symbol, arg) => { + if (symbol == null) dart.nullFailed(I[7], 102, 31, "symbol"); + map[core._symbolToString(symbol)] = arg; + }, T$0.SymbolAnddynamicTovoid())); + return dart.dcall($function, positionalArguments, map); + } + return dart.dcall($function, positionalArguments); + } +}; +(core.Function.new = function() { + ; +}).prototype = core.Function.prototype; +dart.addTypeCaches(core.Function); +dart.setLibraryUri(core.Function, I[8]); +var _positional = dart.privateName(core, "_positional"); +var _named = dart.privateName(core, "_named"); +core._Invocation = class _Invocation extends core.Object { + get positionalArguments() { + let t249; + t249 = this[_positional]; + return t249 == null ? C[423] || CT.C423 : t249; + } + get namedArguments() { + let t249; + t249 = this[_named]; + return t249 == null ? C[424] || CT.C424 : t249; + } + get isMethod() { + return this[_named] != null; + } + get isGetter() { + return this[_positional] == null; + } + get isSetter() { + return this[_positional] != null && this[_named] == null; + } + get isAccessor() { + return this[_named] == null; + } + static _ensureNonNullTypes(types) { + if (types == null) return C[0] || CT.C0; + let typeArguments = T$.ListOfType().unmodifiable(types); + for (let i = 0; i < dart.notNull(typeArguments[$length]); i = i + 1) { + if (typeArguments[$_get](i) == null) { + dart.throw(new core.ArgumentError.value(types, "types", "Type arguments must be non-null, was null at index " + dart.str(i) + ".")); + } + } + return typeArguments; + } +}; +(core._Invocation.method = function(memberName, types, positional, named) { + if (memberName == null) dart.nullFailed(I[10], 99, 27, "memberName"); + this.memberName = memberName; + this.typeArguments = core._Invocation._ensureNonNullTypes(types); + this[_positional] = positional == null ? C[421] || CT.C421 : T$.ListOfObjectN().unmodifiable(positional); + this[_named] = named == null || dart.test(named[$isEmpty]) ? C[422] || CT.C422 : T$0.MapOfSymbol$ObjectN().unmodifiable(named); + ; +}).prototype = core._Invocation.prototype; +(core._Invocation.getter = function(memberName) { + if (memberName == null) dart.nullFailed(I[10], 109, 27, "memberName"); + this.memberName = memberName; + this.typeArguments = C[0] || CT.C0; + this[_positional] = null; + this[_named] = null; + ; +}).prototype = core._Invocation.prototype; +(core._Invocation.setter = function(memberName, argument) { + if (memberName == null) dart.nullFailed(I[10], 114, 27, "memberName"); + this.memberName = memberName; + this.typeArguments = C[0] || CT.C0; + this[_positional] = T$.ListOfObjectN().unmodifiable([argument]); + this[_named] = null; + ; +}).prototype = core._Invocation.prototype; +dart.addTypeTests(core._Invocation); +dart.addTypeCaches(core._Invocation); +core._Invocation[dart.implements] = () => [core.Invocation]; +dart.setGetterSignature(core._Invocation, () => ({ + __proto__: dart.getGetters(core._Invocation.__proto__), + positionalArguments: core.List, + namedArguments: core.Map$(core.Symbol, dart.dynamic), + isMethod: core.bool, + isGetter: core.bool, + isSetter: core.bool, + isAccessor: core.bool +})); +dart.setLibraryUri(core._Invocation, I[8]); +dart.setFieldSignature(core._Invocation, () => ({ + __proto__: dart.getFields(core._Invocation.__proto__), + memberName: dart.finalFieldType(core.Symbol), + typeArguments: dart.finalFieldType(core.List$(core.Type)), + [_positional]: dart.finalFieldType(dart.nullable(core.List$(dart.nullable(core.Object)))), + [_named]: dart.finalFieldType(dart.nullable(core.Map$(core.Symbol, dart.nullable(core.Object)))) +})); +var length$0 = dart.privateName(core, "_GeneratorIterable.length"); +var _generator = dart.privateName(core, "_generator"); +const _is__GeneratorIterable_default = Symbol('_is__GeneratorIterable_default'); +core._GeneratorIterable$ = dart.generic(E => { + var intToE = () => (intToE = dart.constFn(dart.fnType(E, [core.int])))(); + class _GeneratorIterable extends _internal.ListIterable$(E) { + get length() { + return this[length$0]; + } + set length(value) { + super.length = value; + } + elementAt(index) { + let t249; + if (index == null) dart.nullFailed(I[34], 620, 19, "index"); + core.RangeError.checkValidIndex(index, this); + t249 = index; + return this[_generator](t249); + } + static _id(n) { + if (n == null) dart.nullFailed(I[34], 626, 22, "n"); + return n; + } + } + (_GeneratorIterable.new = function(length, generator) { + let t249; + if (length == null) dart.nullFailed(I[34], 615, 27, "length"); + this[length$0] = length; + this[_generator] = (t249 = generator, t249 == null ? intToE().as(C[425] || CT.C425) : t249); + _GeneratorIterable.__proto__.new.call(this); + ; + }).prototype = _GeneratorIterable.prototype; + dart.addTypeTests(_GeneratorIterable); + _GeneratorIterable.prototype[_is__GeneratorIterable_default] = true; + dart.addTypeCaches(_GeneratorIterable); + dart.setLibraryUri(_GeneratorIterable, I[8]); + dart.setFieldSignature(_GeneratorIterable, () => ({ + __proto__: dart.getFields(_GeneratorIterable.__proto__), + length: dart.finalFieldType(core.int), + [_generator]: dart.finalFieldType(dart.fnType(E, [core.int])) + })); + dart.defineExtensionMethods(_GeneratorIterable, ['elementAt']); + dart.defineExtensionAccessors(_GeneratorIterable, ['length']); + return _GeneratorIterable; +}); +core._GeneratorIterable = core._GeneratorIterable$(); +dart.addTypeTests(core._GeneratorIterable, _is__GeneratorIterable_default); +const _is_BidirectionalIterator_default = Symbol('_is_BidirectionalIterator_default'); +core.BidirectionalIterator$ = dart.generic(E => { + class BidirectionalIterator extends core.Object {} + (BidirectionalIterator.new = function() { + ; + }).prototype = BidirectionalIterator.prototype; + dart.addTypeTests(BidirectionalIterator); + BidirectionalIterator.prototype[_is_BidirectionalIterator_default] = true; + dart.addTypeCaches(BidirectionalIterator); + BidirectionalIterator[dart.implements] = () => [core.Iterator$(E)]; + dart.setLibraryUri(BidirectionalIterator, I[8]); + return BidirectionalIterator; +}); +core.BidirectionalIterator = core.BidirectionalIterator$(); +dart.addTypeTests(core.BidirectionalIterator, _is_BidirectionalIterator_default); +core.Null = class Null extends core.Object { + static is(o) { + return o == null; + } + static as(o) { + if (o == null) return o; + return dart.as(o, core.Null); + } + get hashCode() { + return super[$hashCode]; + } + toString() { + return "null"; + } +}; +(core.Null[dart.mixinNew] = function() { +}).prototype = core.Null.prototype; +dart.addTypeCaches(core.Null); +dart.setLibraryUri(core.Null, I[8]); +dart.defineExtensionMethods(core.Null, ['toString']); +dart.defineExtensionAccessors(core.Null, ['hashCode']); +core.Pattern = class Pattern extends core.Object {}; +(core.Pattern.new = function() { + ; +}).prototype = core.Pattern.prototype; +dart.addTypeTests(core.Pattern); +dart.addTypeCaches(core.Pattern); +dart.setLibraryUri(core.Pattern, I[8]); +core.RegExp = class RegExp extends core.Object { + static new(source, opts) { + if (source == null) dart.nullFailed(I[7], 688, 25, "source"); + let multiLine = opts && 'multiLine' in opts ? opts.multiLine : false; + if (multiLine == null) dart.nullFailed(I[7], 689, 17, "multiLine"); + let caseSensitive = opts && 'caseSensitive' in opts ? opts.caseSensitive : true; + if (caseSensitive == null) dart.nullFailed(I[7], 690, 16, "caseSensitive"); + let unicode = opts && 'unicode' in opts ? opts.unicode : false; + if (unicode == null) dart.nullFailed(I[7], 691, 16, "unicode"); + let dotAll = opts && 'dotAll' in opts ? opts.dotAll : false; + if (dotAll == null) dart.nullFailed(I[7], 692, 16, "dotAll"); + return new _js_helper.JSSyntaxRegExp.new(source, {multiLine: multiLine, caseSensitive: caseSensitive, unicode: unicode, dotAll: dotAll}); + } + static escape(text) { + if (text == null) dart.nullFailed(I[7], 700, 31, "text"); + return _js_helper.quoteStringForRegExp(text); + } +}; +(core.RegExp[dart.mixinNew] = function() { +}).prototype = core.RegExp.prototype; +dart.addTypeTests(core.RegExp); +dart.addTypeCaches(core.RegExp); +core.RegExp[dart.implements] = () => [core.Pattern]; +dart.setLibraryUri(core.RegExp, I[8]); +const _is_Set_default = Symbol('_is_Set_default'); +core.Set$ = dart.generic(E => { + class Set extends _internal.EfficientLengthIterable$(E) { + static unmodifiable(elements) { + if (elements == null) dart.nullFailed(I[172], 88, 40, "elements"); + return new (collection.UnmodifiableSetView$(E)).new((() => { + let t249 = collection.LinkedHashSet$(E).of(elements); + return t249; + })()); + } + static castFrom(S, T, source, opts) { + if (source == null) dart.nullFailed(I[172], 109, 39, "source"); + let newSet = opts && 'newSet' in opts ? opts.newSet : null; + return new (_internal.CastSet$(S, T)).new(source, newSet); + } + } + dart.addTypeTests(Set); + Set.prototype[_is_Set_default] = true; + dart.addTypeCaches(Set); + dart.setLibraryUri(Set, I[8]); + return Set; +}); +core.Set = core.Set$(); +dart.addTypeTests(core.Set, _is_Set_default); +const _is_Sink_default = Symbol('_is_Sink_default'); +core.Sink$ = dart.generic(T => { + class Sink extends core.Object {} + (Sink.new = function() { + ; + }).prototype = Sink.prototype; + dart.addTypeTests(Sink); + Sink.prototype[_is_Sink_default] = true; + dart.addTypeCaches(Sink); + dart.setLibraryUri(Sink, I[8]); + return Sink; +}); +core.Sink = core.Sink$(); +dart.addTypeTests(core.Sink, _is_Sink_default); +var _StringStackTrace__stackTrace = dart.privateName(core, "_StringStackTrace._stackTrace"); +core.StackTrace = class StackTrace extends core.Object { + static get current() { + return dart.stackTrace(Error()); + } +}; +(core.StackTrace.new = function() { + ; +}).prototype = core.StackTrace.prototype; +dart.addTypeTests(core.StackTrace); +dart.addTypeCaches(core.StackTrace); +dart.setLibraryUri(core.StackTrace, I[8]); +dart.defineLazy(core.StackTrace, { + /*core.StackTrace.empty*/get empty() { + return C[426] || CT.C426; + } +}, false); +var _stackTrace = dart.privateName(core, "_stackTrace"); +const _stackTrace$ = _StringStackTrace__stackTrace; +core._StringStackTrace = class _StringStackTrace extends core.Object { + get [_stackTrace]() { + return this[_stackTrace$]; + } + set [_stackTrace](value) { + super[_stackTrace] = value; + } + toString() { + return this[_stackTrace]; + } +}; +(core._StringStackTrace.new = function(_stackTrace) { + if (_stackTrace == null) dart.nullFailed(I[173], 56, 32, "_stackTrace"); + this[_stackTrace$] = _stackTrace; + ; +}).prototype = core._StringStackTrace.prototype; +dart.addTypeTests(core._StringStackTrace); +dart.addTypeCaches(core._StringStackTrace); +core._StringStackTrace[dart.implements] = () => [core.StackTrace]; +dart.setLibraryUri(core._StringStackTrace, I[8]); +dart.setFieldSignature(core._StringStackTrace, () => ({ + __proto__: dart.getFields(core._StringStackTrace.__proto__), + [_stackTrace]: dart.finalFieldType(core.String) +})); +dart.defineExtensionMethods(core._StringStackTrace, ['toString']); +var _start$2 = dart.privateName(core, "_start"); +var _stop = dart.privateName(core, "_stop"); +core.Stopwatch = class Stopwatch extends core.Object { + get frequency() { + return core.Stopwatch._frequency; + } + start() { + let stop = this[_stop]; + if (stop != null) { + this[_start$2] = dart.notNull(this[_start$2]) + (dart.notNull(core.Stopwatch._now()) - dart.notNull(stop)); + this[_stop] = null; + } + } + stop() { + this[_stop] == null ? this[_stop] = core.Stopwatch._now() : null; + } + reset() { + let t250; + this[_start$2] = (t250 = this[_stop], t250 == null ? core.Stopwatch._now() : t250); + } + get elapsedTicks() { + let t250; + return dart.notNull((t250 = this[_stop], t250 == null ? core.Stopwatch._now() : t250)) - dart.notNull(this[_start$2]); + } + get elapsed() { + return new core.Duration.new({microseconds: this.elapsedMicroseconds}); + } + get elapsedMicroseconds() { + let ticks = this.elapsedTicks; + if (core.Stopwatch._frequency === 1000000) return ticks; + if (!(core.Stopwatch._frequency === 1000)) dart.assertFailed(null, I[7], 456, 12, "_frequency == 1000"); + return dart.notNull(ticks) * 1000; + } + get elapsedMilliseconds() { + let ticks = this.elapsedTicks; + if (core.Stopwatch._frequency === 1000) return ticks; + if (!(core.Stopwatch._frequency === 1000000)) dart.assertFailed(null, I[7], 464, 12, "_frequency == 1000000"); + return (dart.notNull(ticks) / 1000)[$truncate](); + } + get isRunning() { + return this[_stop] == null; + } + static _initTicker() { + _js_helper.Primitives.initTicker(); + return _js_helper.Primitives.timerFrequency; + } + static _now() { + return _js_helper.Primitives.timerTicks(); + } +}; +(core.Stopwatch.new = function() { + this[_start$2] = 0; + this[_stop] = 0; + core.Stopwatch._frequency; +}).prototype = core.Stopwatch.prototype; +dart.addTypeTests(core.Stopwatch); +dart.addTypeCaches(core.Stopwatch); +dart.setMethodSignature(core.Stopwatch, () => ({ + __proto__: dart.getMethods(core.Stopwatch.__proto__), + start: dart.fnType(dart.void, []), + stop: dart.fnType(dart.void, []), + reset: dart.fnType(dart.void, []) +})); +dart.setGetterSignature(core.Stopwatch, () => ({ + __proto__: dart.getGetters(core.Stopwatch.__proto__), + frequency: core.int, + elapsedTicks: core.int, + elapsed: core.Duration, + elapsedMicroseconds: core.int, + elapsedMilliseconds: core.int, + isRunning: core.bool +})); +dart.setLibraryUri(core.Stopwatch, I[8]); +dart.setFieldSignature(core.Stopwatch, () => ({ + __proto__: dart.getFields(core.Stopwatch.__proto__), + [_start$2]: dart.fieldType(core.int), + [_stop]: dart.fieldType(dart.nullable(core.int)) +})); +dart.defineLazy(core.Stopwatch, { + /*core.Stopwatch._frequency*/get _frequency() { + return core.Stopwatch._initTicker(); + } +}, false); +var string$ = dart.privateName(core, "Runes.string"); +core.Runes = class Runes extends core.Iterable$(core.int) { + get string() { + return this[string$]; + } + set string(value) { + super.string = value; + } + get iterator() { + return new core.RuneIterator.new(this.string); + } + get last() { + if (this.string.length === 0) { + dart.throw(new core.StateError.new("No elements.")); + } + let length = this.string.length; + let code = this.string[$codeUnitAt](length - 1); + if (dart.test(core._isTrailSurrogate(code)) && this.string.length > 1) { + let previousCode = this.string[$codeUnitAt](length - 2); + if (dart.test(core._isLeadSurrogate(previousCode))) { + return core._combineSurrogatePair(previousCode, code); + } + } + return code; + } +}; +(core.Runes.new = function(string) { + if (string == null) dart.nullFailed(I[174], 604, 14, "string"); + this[string$] = string; + core.Runes.__proto__.new.call(this); + ; +}).prototype = core.Runes.prototype; +dart.addTypeTests(core.Runes); +dart.addTypeCaches(core.Runes); +dart.setGetterSignature(core.Runes, () => ({ + __proto__: dart.getGetters(core.Runes.__proto__), + iterator: core.RuneIterator, + [$iterator]: core.RuneIterator +})); +dart.setLibraryUri(core.Runes, I[8]); +dart.setFieldSignature(core.Runes, () => ({ + __proto__: dart.getFields(core.Runes.__proto__), + string: dart.finalFieldType(core.String) +})); +dart.defineExtensionAccessors(core.Runes, ['iterator', 'last']); +var string$0 = dart.privateName(core, "RuneIterator.string"); +var _currentCodePoint = dart.privateName(core, "_currentCodePoint"); +var _position$0 = dart.privateName(core, "_position"); +var _nextPosition = dart.privateName(core, "_nextPosition"); +var _checkSplitSurrogate = dart.privateName(core, "_checkSplitSurrogate"); +core.RuneIterator = class RuneIterator extends core.Object { + get string() { + return this[string$0]; + } + set string(value) { + super.string = value; + } + [_checkSplitSurrogate](index) { + if (index == null) dart.nullFailed(I[174], 675, 33, "index"); + if (dart.notNull(index) > 0 && dart.notNull(index) < this.string.length && dart.test(core._isLeadSurrogate(this.string[$codeUnitAt](dart.notNull(index) - 1))) && dart.test(core._isTrailSurrogate(this.string[$codeUnitAt](index)))) { + dart.throw(new core.ArgumentError.new("Index inside surrogate pair: " + dart.str(index))); + } + } + get rawIndex() { + return this[_position$0] != this[_nextPosition] ? this[_position$0] : -1; + } + set rawIndex(rawIndex) { + if (rawIndex == null) dart.nullFailed(I[174], 697, 25, "rawIndex"); + core.RangeError.checkValidIndex(rawIndex, this.string, "rawIndex"); + this.reset(rawIndex); + this.moveNext(); + } + reset(rawIndex = 0) { + if (rawIndex == null) dart.nullFailed(I[174], 712, 19, "rawIndex"); + core.RangeError.checkValueInInterval(rawIndex, 0, this.string.length, "rawIndex"); + this[_checkSplitSurrogate](rawIndex); + this[_position$0] = this[_nextPosition] = rawIndex; + this[_currentCodePoint] = -1; + } + get current() { + return this[_currentCodePoint]; + } + get currentSize() { + return dart.notNull(this[_nextPosition]) - dart.notNull(this[_position$0]); + } + get currentAsString() { + if (this[_position$0] == this[_nextPosition]) return ""; + if (dart.notNull(this[_position$0]) + 1 === this[_nextPosition]) return this.string[$_get](this[_position$0]); + return this.string[$substring](this[_position$0], this[_nextPosition]); + } + moveNext() { + this[_position$0] = this[_nextPosition]; + if (this[_position$0] === this.string.length) { + this[_currentCodePoint] = -1; + return false; + } + let codeUnit = this.string[$codeUnitAt](this[_position$0]); + let nextPosition = dart.notNull(this[_position$0]) + 1; + if (dart.test(core._isLeadSurrogate(codeUnit)) && nextPosition < this.string.length) { + let nextCodeUnit = this.string[$codeUnitAt](nextPosition); + if (dart.test(core._isTrailSurrogate(nextCodeUnit))) { + this[_nextPosition] = nextPosition + 1; + this[_currentCodePoint] = core._combineSurrogatePair(codeUnit, nextCodeUnit); + return true; + } + } + this[_nextPosition] = nextPosition; + this[_currentCodePoint] = codeUnit; + return true; + } + movePrevious() { + this[_nextPosition] = this[_position$0]; + if (this[_position$0] === 0) { + this[_currentCodePoint] = -1; + return false; + } + let position = dart.notNull(this[_position$0]) - 1; + let codeUnit = this.string[$codeUnitAt](position); + if (dart.test(core._isTrailSurrogate(codeUnit)) && position > 0) { + let prevCodeUnit = this.string[$codeUnitAt](position - 1); + if (dart.test(core._isLeadSurrogate(prevCodeUnit))) { + this[_position$0] = position - 1; + this[_currentCodePoint] = core._combineSurrogatePair(prevCodeUnit, codeUnit); + return true; + } + } + this[_position$0] = position; + this[_currentCodePoint] = codeUnit; + return true; + } +}; +(core.RuneIterator.new = function(string) { + if (string == null) dart.nullFailed(I[174], 653, 23, "string"); + this[_currentCodePoint] = -1; + this[string$0] = string; + this[_position$0] = 0; + this[_nextPosition] = 0; + ; +}).prototype = core.RuneIterator.prototype; +(core.RuneIterator.at = function(string, index) { + if (string == null) dart.nullFailed(I[174], 666, 26, "string"); + if (index == null) dart.nullFailed(I[174], 666, 38, "index"); + this[_currentCodePoint] = -1; + this[string$0] = string; + this[_position$0] = index; + this[_nextPosition] = index; + core.RangeError.checkValueInInterval(index, 0, string.length); + this[_checkSplitSurrogate](index); +}).prototype = core.RuneIterator.prototype; +dart.addTypeTests(core.RuneIterator); +dart.addTypeCaches(core.RuneIterator); +core.RuneIterator[dart.implements] = () => [core.BidirectionalIterator$(core.int)]; +dart.setMethodSignature(core.RuneIterator, () => ({ + __proto__: dart.getMethods(core.RuneIterator.__proto__), + [_checkSplitSurrogate]: dart.fnType(dart.void, [core.int]), + reset: dart.fnType(dart.void, [], [core.int]), + moveNext: dart.fnType(core.bool, []), + movePrevious: dart.fnType(core.bool, []) +})); +dart.setGetterSignature(core.RuneIterator, () => ({ + __proto__: dart.getGetters(core.RuneIterator.__proto__), + rawIndex: core.int, + current: core.int, + currentSize: core.int, + currentAsString: core.String +})); +dart.setSetterSignature(core.RuneIterator, () => ({ + __proto__: dart.getSetters(core.RuneIterator.__proto__), + rawIndex: core.int +})); +dart.setLibraryUri(core.RuneIterator, I[8]); +dart.setFieldSignature(core.RuneIterator, () => ({ + __proto__: dart.getFields(core.RuneIterator.__proto__), + string: dart.finalFieldType(core.String), + [_position$0]: dart.fieldType(core.int), + [_nextPosition]: dart.fieldType(core.int), + [_currentCodePoint]: dart.fieldType(core.int) +})); +core.Symbol = class Symbol extends core.Object {}; +(core.Symbol[dart.mixinNew] = function() { +}).prototype = core.Symbol.prototype; +dart.addTypeTests(core.Symbol); +dart.addTypeCaches(core.Symbol); +dart.setLibraryUri(core.Symbol, I[8]); +dart.defineLazy(core.Symbol, { + /*core.Symbol.unaryMinus*/get unaryMinus() { + return C[427] || CT.C427; + }, + /*core.Symbol.empty*/get empty() { + return C[428] || CT.C428; + } +}, false); +core.Uri = class Uri extends core.Object { + static get base() { + let uri = _js_helper.Primitives.currentUri(); + if (uri != null) return core.Uri.parse(uri); + dart.throw(new core.UnsupportedError.new("'Uri.base' is not supported")); + } + static dataFromString(content, opts) { + if (content == null) dart.nullFailed(I[175], 283, 37, "content"); + let mimeType = opts && 'mimeType' in opts ? opts.mimeType : null; + let encoding = opts && 'encoding' in opts ? opts.encoding : null; + let parameters = opts && 'parameters' in opts ? opts.parameters : null; + let base64 = opts && 'base64' in opts ? opts.base64 : false; + if (base64 == null) dart.nullFailed(I[175], 287, 12, "base64"); + let data = core.UriData.fromString(content, {mimeType: mimeType, encoding: encoding, parameters: parameters, base64: base64}); + return data.uri; + } + static dataFromBytes(bytes, opts) { + if (bytes == null) dart.nullFailed(I[175], 310, 39, "bytes"); + let mimeType = opts && 'mimeType' in opts ? opts.mimeType : "application/octet-stream"; + if (mimeType == null) dart.nullFailed(I[175], 311, 15, "mimeType"); + let parameters = opts && 'parameters' in opts ? opts.parameters : null; + let percentEncoded = opts && 'percentEncoded' in opts ? opts.percentEncoded : false; + if (percentEncoded == null) dart.nullFailed(I[175], 313, 12, "percentEncoded"); + let data = core.UriData.fromBytes(bytes, {mimeType: mimeType, parameters: parameters, percentEncoded: percentEncoded}); + return data.uri; + } + get hasScheme() { + return this.scheme[$isNotEmpty]; + } + static parse(uri, start = 0, end = null) { + let t250; + if (uri == null) dart.nullFailed(I[175], 669, 27, "uri"); + if (start == null) dart.nullFailed(I[175], 669, 37, "start"); + end == null ? end = uri.length : null; + if (dart.notNull(end) >= dart.notNull(start) + 5) { + let dataDelta = core._startsWithData(uri, start); + if (dataDelta === 0) { + if (dart.notNull(start) > 0 || dart.notNull(end) < uri.length) uri = uri[$substring](start, end); + return core.UriData._parse(uri, 5, null).uri; + } else if (dataDelta === 32) { + return core.UriData._parse(uri[$substring](dart.notNull(start) + 5, end), 0, null).uri; + } + } + let indices = T$0.ListOfint().filled(8, 0, {growable: false}); + t250 = indices; + (() => { + t250[$_set](0, 0); + t250[$_set](1, dart.notNull(start) - 1); + t250[$_set](2, dart.notNull(start) - 1); + t250[$_set](7, dart.notNull(start) - 1); + t250[$_set](3, start); + t250[$_set](4, start); + t250[$_set](5, end); + t250[$_set](6, end); + return t250; + })(); + let state = core._scan(uri, start, end, 0, indices); + if (dart.notNull(state) >= 14) { + indices[$_set](7, end); + } + let schemeEnd = indices[$_get](1); + if (dart.notNull(schemeEnd) >= dart.notNull(start)) { + state = core._scan(uri, start, schemeEnd, 20, indices); + if (state === 20) { + indices[$_set](7, schemeEnd); + } + } + let hostStart = dart.notNull(indices[$_get](2)) + 1; + let portStart = indices[$_get](3); + let pathStart = indices[$_get](4); + let queryStart = indices[$_get](5); + let fragmentStart = indices[$_get](6); + let scheme = null; + if (dart.notNull(fragmentStart) < dart.notNull(queryStart)) queryStart = fragmentStart; + if (dart.notNull(pathStart) < hostStart) { + pathStart = queryStart; + } else if (dart.notNull(pathStart) <= dart.notNull(schemeEnd)) { + pathStart = dart.notNull(schemeEnd) + 1; + } + if (dart.notNull(portStart) < hostStart) portStart = pathStart; + if (!(hostStart === start || dart.notNull(schemeEnd) <= hostStart)) dart.assertFailed(null, I[175], 808, 12, "hostStart == start || schemeEnd <= hostStart"); + if (!(hostStart <= dart.notNull(portStart))) dart.assertFailed(null, I[175], 809, 12, "hostStart <= portStart"); + if (!(dart.notNull(schemeEnd) <= dart.notNull(pathStart))) dart.assertFailed(null, I[175], 810, 12, "schemeEnd <= pathStart"); + if (!(dart.notNull(portStart) <= dart.notNull(pathStart))) dart.assertFailed(null, I[175], 811, 12, "portStart <= pathStart"); + if (!(dart.notNull(pathStart) <= dart.notNull(queryStart))) dart.assertFailed(null, I[175], 812, 12, "pathStart <= queryStart"); + if (!(dart.notNull(queryStart) <= dart.notNull(fragmentStart))) dart.assertFailed(null, I[175], 813, 12, "queryStart <= fragmentStart"); + let isSimple = dart.notNull(indices[$_get](7)) < dart.notNull(start); + if (isSimple) { + if (hostStart > dart.notNull(schemeEnd) + 3) { + isSimple = false; + } else if (dart.notNull(portStart) > dart.notNull(start) && dart.notNull(portStart) + 1 === pathStart) { + isSimple = false; + } else if (dart.notNull(queryStart) < dart.notNull(end) && queryStart === dart.notNull(pathStart) + 2 && uri[$startsWith]("..", pathStart) || dart.notNull(queryStart) > dart.notNull(pathStart) + 2 && uri[$startsWith]("/..", dart.notNull(queryStart) - 3)) { + isSimple = false; + } else { + if (schemeEnd === dart.notNull(start) + 4) { + if (uri[$startsWith]("file", start)) { + scheme = "file"; + if (hostStart <= dart.notNull(start)) { + let schemeAuth = "file://"; + let delta = 2; + if (!uri[$startsWith]("/", pathStart)) { + schemeAuth = "file:///"; + delta = 3; + } + uri = schemeAuth + uri[$substring](pathStart, end); + schemeEnd = dart.notNull(schemeEnd) - dart.notNull(start); + hostStart = 7; + portStart = 7; + pathStart = 7; + queryStart = dart.notNull(queryStart) + (delta - dart.notNull(start)); + fragmentStart = dart.notNull(fragmentStart) + (delta - dart.notNull(start)); + start = 0; + end = uri.length; + } else if (pathStart == queryStart) { + if (start === 0 && end === uri.length) { + uri = uri[$replaceRange](pathStart, queryStart, "/"); + queryStart = dart.notNull(queryStart) + 1; + fragmentStart = dart.notNull(fragmentStart) + 1; + end = dart.notNull(end) + 1; + } else { + uri = uri[$substring](start, pathStart) + "/" + uri[$substring](queryStart, end); + schemeEnd = dart.notNull(schemeEnd) - dart.notNull(start); + hostStart = hostStart - dart.notNull(start); + portStart = dart.notNull(portStart) - dart.notNull(start); + pathStart = dart.notNull(pathStart) - dart.notNull(start); + queryStart = dart.notNull(queryStart) + (1 - dart.notNull(start)); + fragmentStart = dart.notNull(fragmentStart) + (1 - dart.notNull(start)); + start = 0; + end = uri.length; + } + } + } else if (uri[$startsWith]("http", start)) { + scheme = "http"; + if (dart.notNull(portStart) > dart.notNull(start) && dart.notNull(portStart) + 3 === pathStart && uri[$startsWith]("80", dart.notNull(portStart) + 1)) { + if (start === 0 && end === uri.length) { + uri = uri[$replaceRange](portStart, pathStart, ""); + pathStart = dart.notNull(pathStart) - 3; + queryStart = dart.notNull(queryStart) - 3; + fragmentStart = dart.notNull(fragmentStart) - 3; + end = dart.notNull(end) - 3; + } else { + uri = uri[$substring](start, portStart) + uri[$substring](pathStart, end); + schemeEnd = dart.notNull(schemeEnd) - dart.notNull(start); + hostStart = hostStart - dart.notNull(start); + portStart = dart.notNull(portStart) - dart.notNull(start); + pathStart = dart.notNull(pathStart) - (3 + dart.notNull(start)); + queryStart = dart.notNull(queryStart) - (3 + dart.notNull(start)); + fragmentStart = dart.notNull(fragmentStart) - (3 + dart.notNull(start)); + start = 0; + end = uri.length; + } + } + } + } else if (schemeEnd === dart.notNull(start) + 5 && uri[$startsWith]("https", start)) { + scheme = "https"; + if (dart.notNull(portStart) > dart.notNull(start) && dart.notNull(portStart) + 4 === pathStart && uri[$startsWith]("443", dart.notNull(portStart) + 1)) { + if (start === 0 && end === uri.length) { + uri = uri[$replaceRange](portStart, pathStart, ""); + pathStart = dart.notNull(pathStart) - 4; + queryStart = dart.notNull(queryStart) - 4; + fragmentStart = dart.notNull(fragmentStart) - 4; + end = dart.notNull(end) - 3; + } else { + uri = uri[$substring](start, portStart) + uri[$substring](pathStart, end); + schemeEnd = dart.notNull(schemeEnd) - dart.notNull(start); + hostStart = hostStart - dart.notNull(start); + portStart = dart.notNull(portStart) - dart.notNull(start); + pathStart = dart.notNull(pathStart) - (4 + dart.notNull(start)); + queryStart = dart.notNull(queryStart) - (4 + dart.notNull(start)); + fragmentStart = dart.notNull(fragmentStart) - (4 + dart.notNull(start)); + start = 0; + end = uri.length; + } + } + } + } + } + if (isSimple) { + if (dart.notNull(start) > 0 || dart.notNull(end) < uri.length) { + uri = uri[$substring](start, end); + schemeEnd = dart.notNull(schemeEnd) - dart.notNull(start); + hostStart = hostStart - dart.notNull(start); + portStart = dart.notNull(portStart) - dart.notNull(start); + pathStart = dart.notNull(pathStart) - dart.notNull(start); + queryStart = dart.notNull(queryStart) - dart.notNull(start); + fragmentStart = dart.notNull(fragmentStart) - dart.notNull(start); + } + return new core._SimpleUri.new(uri, schemeEnd, hostStart, portStart, pathStart, queryStart, fragmentStart, scheme); + } + return core._Uri.notSimple(uri, start, end, schemeEnd, hostStart, portStart, pathStart, queryStart, fragmentStart, scheme); + } + static tryParse(uri, start = 0, end = null) { + if (uri == null) dart.nullFailed(I[175], 966, 31, "uri"); + if (start == null) dart.nullFailed(I[175], 966, 41, "start"); + try { + return core.Uri.parse(uri, start, end); + } catch (e) { + let ex = dart.getThrown(e); + if (core.FormatException.is(ex)) { + return null; + } else + throw e; + } + } + static encodeComponent(component) { + if (component == null) dart.nullFailed(I[175], 993, 40, "component"); + return core._Uri._uriEncode(core._Uri._unreserved2396Table, component, convert.utf8, false); + } + static encodeQueryComponent(component, opts) { + if (component == null) dart.nullFailed(I[175], 1030, 45, "component"); + let encoding = opts && 'encoding' in opts ? opts.encoding : C[108] || CT.C108; + if (encoding == null) dart.nullFailed(I[175], 1031, 17, "encoding"); + return core._Uri._uriEncode(core._Uri._unreservedTable, component, encoding, true); + } + static decodeComponent(encodedComponent) { + if (encodedComponent == null) dart.nullFailed(I[175], 1046, 40, "encodedComponent"); + return core._Uri._uriDecode(encodedComponent, 0, encodedComponent.length, convert.utf8, false); + } + static decodeQueryComponent(encodedComponent, opts) { + if (encodedComponent == null) dart.nullFailed(I[175], 1057, 45, "encodedComponent"); + let encoding = opts && 'encoding' in opts ? opts.encoding : C[108] || CT.C108; + if (encoding == null) dart.nullFailed(I[175], 1058, 17, "encoding"); + return core._Uri._uriDecode(encodedComponent, 0, encodedComponent.length, encoding, true); + } + static encodeFull(uri) { + if (uri == null) dart.nullFailed(I[175], 1070, 35, "uri"); + return core._Uri._uriEncode(core._Uri._encodeFullTable, uri, convert.utf8, false); + } + static decodeFull(uri) { + if (uri == null) dart.nullFailed(I[175], 1080, 35, "uri"); + return core._Uri._uriDecode(uri, 0, uri.length, convert.utf8, false); + } + static splitQueryString(query, opts) { + if (query == null) dart.nullFailed(I[175], 1096, 54, "query"); + let encoding = opts && 'encoding' in opts ? opts.encoding : C[108] || CT.C108; + if (encoding == null) dart.nullFailed(I[175], 1097, 17, "encoding"); + return query[$split]("&")[$fold](T$0.MapOfString$String(), new (T$.IdentityMapOfString$String()).new(), dart.fn((map, element) => { + if (map == null) dart.nullFailed(I[175], 1098, 39, "map"); + if (element == null) dart.nullFailed(I[175], 1098, 44, "element"); + let index = element[$indexOf]("="); + if (index === -1) { + if (element !== "") { + map[$_set](core.Uri.decodeQueryComponent(element, {encoding: encoding}), ""); + } + } else if (index !== 0) { + let key = element[$substring](0, index); + let value = element[$substring](index + 1); + map[$_set](core.Uri.decodeQueryComponent(key, {encoding: encoding}), core.Uri.decodeQueryComponent(value, {encoding: encoding})); + } + return map; + }, T$0.MapOfString$StringAndStringToMapOfString$String())); + } + static parseIPv4Address(host) { + if (host == null) dart.nullFailed(I[175], 1119, 44, "host"); + return core.Uri._parseIPv4Address(host, 0, host.length); + } + static _parseIPv4Address(host, start, end) { + let t252; + if (host == null) dart.nullFailed(I[175], 1123, 45, "host"); + if (start == null) dart.nullFailed(I[175], 1123, 55, "start"); + if (end == null) dart.nullFailed(I[175], 1123, 66, "end"); + function error(msg, position) { + if (msg == null) dart.nullFailed(I[175], 1124, 23, "msg"); + if (position == null) dart.nullFailed(I[175], 1124, 32, "position"); + dart.throw(new core.FormatException.new("Illegal IPv4 address, " + dart.str(msg), host, position)); + } + dart.fn(error, T$0.StringAndintTovoid()); + let result = _native_typed_data.NativeUint8List.new(4); + let partIndex = 0; + let partStart = start; + for (let i = start; dart.notNull(i) < dart.notNull(end); i = dart.notNull(i) + 1) { + let char = host[$codeUnitAt](i); + if (char !== 46) { + if ((char ^ 48) >>> 0 > 9) { + error("invalid character", i); + } + } else { + if (partIndex === 3) { + error("IPv4 address should contain exactly 4 parts", i); + } + let part = core.int.parse(host[$substring](partStart, i)); + if (dart.notNull(part) > 255) { + error("each part must be in the range 0..255", partStart); + } + result[$_set]((t252 = partIndex, partIndex = t252 + 1, t252), part); + partStart = dart.notNull(i) + 1; + } + } + if (partIndex !== 3) { + error("IPv4 address should contain exactly 4 parts", end); + } + let part = core.int.parse(host[$substring](partStart, end)); + if (dart.notNull(part) > 255) { + error("each part must be in the range 0..255", partStart); + } + result[$_set](partIndex, part); + return result; + } + static parseIPv6Address(host, start = 0, end = null) { + if (host == null) dart.nullFailed(I[175], 1181, 44, "host"); + if (start == null) dart.nullFailed(I[175], 1181, 55, "start"); + end == null ? end = host.length : null; + function error(msg, position = null) { + if (msg == null) dart.nullFailed(I[175], 1191, 23, "msg"); + dart.throw(new core.FormatException.new("Illegal IPv6 address, " + dart.str(msg), host, T$.intN().as(position))); + } + dart.fn(error, T$0.StringAnddynamicTovoid$1()); + function parseHex(start, end) { + if (start == null) dart.nullFailed(I[175], 1196, 22, "start"); + if (end == null) dart.nullFailed(I[175], 1196, 33, "end"); + if (dart.notNull(end) - dart.notNull(start) > 4) { + error("an IPv6 part can only contain a maximum of 4 hex digits", start); + } + let value = core.int.parse(host[$substring](start, end), {radix: 16}); + if (dart.notNull(value) < 0 || dart.notNull(value) > 65535) { + error("each part must be in the range of `0x0..0xFFFF`", start); + } + return value; + } + dart.fn(parseHex, T$0.intAndintToint()); + if (host.length < 2) error("address is too short"); + let parts = T$.JSArrayOfint().of([]); + let wildcardSeen = false; + let seenDot = false; + let partStart = start; + for (let i = start; dart.notNull(i) < dart.notNull(end); i = dart.notNull(i) + 1) { + let char = host[$codeUnitAt](i); + if (char === 58) { + if (i == start) { + i = dart.notNull(i) + 1; + if (host[$codeUnitAt](i) !== 58) { + error("invalid start colon.", i); + } + partStart = i; + } + if (i == partStart) { + if (wildcardSeen) { + error("only one wildcard `::` is allowed", i); + } + wildcardSeen = true; + parts[$add](-1); + } else { + parts[$add](parseHex(partStart, i)); + } + partStart = dart.notNull(i) + 1; + } else if (char === 46) { + seenDot = true; + } + } + if (parts[$length] === 0) error("too few parts"); + let atEnd = partStart == end; + let isLastWildcard = parts[$last] === -1; + if (atEnd && !isLastWildcard) { + error("expected a part after last `:`", end); + } + if (!atEnd) { + if (!seenDot) { + parts[$add](parseHex(partStart, end)); + } else { + let last = core.Uri._parseIPv4Address(host, partStart, end); + parts[$add]((dart.notNull(last[$_get](0)) << 8 | dart.notNull(last[$_get](1))) >>> 0); + parts[$add]((dart.notNull(last[$_get](2)) << 8 | dart.notNull(last[$_get](3))) >>> 0); + } + } + if (wildcardSeen) { + if (dart.notNull(parts[$length]) > 7) { + error("an address with a wildcard must have less than 7 parts"); + } + } else if (parts[$length] !== 8) { + error("an address without a wildcard must contain exactly 8 parts"); + } + let bytes = _native_typed_data.NativeUint8List.new(16); + for (let i = 0, index = 0; i < dart.notNull(parts[$length]); i = i + 1) { + let value = parts[$_get](i); + if (value === -1) { + let wildCardLength = 9 - dart.notNull(parts[$length]); + for (let j = 0; j < wildCardLength; j = j + 1) { + bytes[$_set](index, 0); + bytes[$_set](index + 1, 0); + index = index + 2; + } + } else { + bytes[$_set](index, value[$rightShift](8)); + bytes[$_set](index + 1, dart.notNull(value) & 255); + index = index + 2; + } + } + return bytes; + } +}; +(core.Uri[dart.mixinNew] = function() { +}).prototype = core.Uri.prototype; +dart.addTypeTests(core.Uri); +dart.addTypeCaches(core.Uri); +dart.setGetterSignature(core.Uri, () => ({ + __proto__: dart.getGetters(core.Uri.__proto__), + hasScheme: core.bool +})); +dart.setLibraryUri(core.Uri, I[8]); +var ___Uri__text = dart.privateName(core, "_#_Uri#_text"); +var ___Uri__text_isSet = dart.privateName(core, "_#_Uri#_text#isSet"); +var ___Uri_pathSegments = dart.privateName(core, "_#_Uri#pathSegments"); +var ___Uri_pathSegments_isSet = dart.privateName(core, "_#_Uri#pathSegments#isSet"); +var ___Uri_hashCode = dart.privateName(core, "_#_Uri#hashCode"); +var ___Uri_hashCode_isSet = dart.privateName(core, "_#_Uri#hashCode#isSet"); +var ___Uri_queryParameters = dart.privateName(core, "_#_Uri#queryParameters"); +var ___Uri_queryParameters_isSet = dart.privateName(core, "_#_Uri#queryParameters#isSet"); +var ___Uri_queryParametersAll = dart.privateName(core, "_#_Uri#queryParametersAll"); +var ___Uri_queryParametersAll_isSet = dart.privateName(core, "_#_Uri#queryParametersAll#isSet"); +var _userInfo$ = dart.privateName(core, "_userInfo"); +var _host$ = dart.privateName(core, "_host"); +var _port$ = dart.privateName(core, "_port"); +var _query$ = dart.privateName(core, "_query"); +var _fragment$ = dart.privateName(core, "_fragment"); +var _initializeText = dart.privateName(core, "_initializeText"); +var _text$ = dart.privateName(core, "_text"); +var _writeAuthority = dart.privateName(core, "_writeAuthority"); +var _mergePaths = dart.privateName(core, "_mergePaths"); +var _toFilePath = dart.privateName(core, "_toFilePath"); +core._Uri = class _Uri extends core.Object { + get [_text$]() { + let t253; + if (!dart.test(this[___Uri__text_isSet])) { + let t252 = this[_initializeText](); + if (dart.test(this[___Uri__text_isSet])) dart.throw(new _internal.LateError.fieldADI("_text")); + this[___Uri__text] = t252; + this[___Uri__text_isSet] = true; + } + t253 = this[___Uri__text]; + return t253; + } + get pathSegments() { + let t254; + if (!dart.test(this[___Uri_pathSegments_isSet])) { + let t253 = core._Uri._computePathSegments(this.path); + if (dart.test(this[___Uri_pathSegments_isSet])) dart.throw(new _internal.LateError.fieldADI("pathSegments")); + this[___Uri_pathSegments] = t253; + this[___Uri_pathSegments_isSet] = true; + } + t254 = this[___Uri_pathSegments]; + return t254; + } + get hashCode() { + let t255; + if (!dart.test(this[___Uri_hashCode_isSet])) { + let t254 = dart.hashCode(this[_text$]); + if (dart.test(this[___Uri_hashCode_isSet])) dart.throw(new _internal.LateError.fieldADI("hashCode")); + this[___Uri_hashCode] = t254; + this[___Uri_hashCode_isSet] = true; + } + t255 = this[___Uri_hashCode]; + return t255; + } + get queryParameters() { + let t256; + if (!dart.test(this[___Uri_queryParameters_isSet])) { + let t255 = new (T$0.UnmodifiableMapViewOfString$String()).new(core.Uri.splitQueryString(this.query)); + if (dart.test(this[___Uri_queryParameters_isSet])) dart.throw(new _internal.LateError.fieldADI("queryParameters")); + this[___Uri_queryParameters] = t255; + this[___Uri_queryParameters_isSet] = true; + } + t256 = this[___Uri_queryParameters]; + return t256; + } + get queryParametersAll() { + let t257; + if (!dart.test(this[___Uri_queryParametersAll_isSet])) { + let t256 = core._Uri._computeQueryParametersAll(this.query); + if (dart.test(this[___Uri_queryParametersAll_isSet])) dart.throw(new _internal.LateError.fieldADI("queryParametersAll")); + this[___Uri_queryParametersAll] = t256; + this[___Uri_queryParametersAll_isSet] = true; + } + t257 = this[___Uri_queryParametersAll]; + return t257; + } + static notSimple(uri, start, end, schemeEnd, hostStart, portStart, pathStart, queryStart, fragmentStart, scheme) { + let t257; + if (uri == null) dart.nullFailed(I[175], 1356, 14, "uri"); + if (start == null) dart.nullFailed(I[175], 1357, 11, "start"); + if (end == null) dart.nullFailed(I[175], 1358, 11, "end"); + if (schemeEnd == null) dart.nullFailed(I[175], 1359, 11, "schemeEnd"); + if (hostStart == null) dart.nullFailed(I[175], 1360, 11, "hostStart"); + if (portStart == null) dart.nullFailed(I[175], 1361, 11, "portStart"); + if (pathStart == null) dart.nullFailed(I[175], 1362, 11, "pathStart"); + if (queryStart == null) dart.nullFailed(I[175], 1363, 11, "queryStart"); + if (fragmentStart == null) dart.nullFailed(I[175], 1364, 11, "fragmentStart"); + if (scheme == null) { + scheme = ""; + if (dart.notNull(schemeEnd) > dart.notNull(start)) { + scheme = core._Uri._makeScheme(uri, start, schemeEnd); + } else if (schemeEnd == start) { + core._Uri._fail(uri, start, "Invalid empty scheme"); + dart.throw(new _internal.ReachabilityError.new("`null` encountered as the result from expression with type `Never`.")); + } + } + let userInfo = ""; + let host = null; + let port = null; + if (dart.notNull(hostStart) > dart.notNull(start)) { + let userInfoStart = dart.notNull(schemeEnd) + 3; + if (userInfoStart < dart.notNull(hostStart)) { + userInfo = core._Uri._makeUserInfo(uri, userInfoStart, dart.notNull(hostStart) - 1); + } + host = core._Uri._makeHost(uri, hostStart, portStart, false); + if (dart.notNull(portStart) + 1 < dart.notNull(pathStart)) { + let portNumber = (t257 = core.int.tryParse(uri[$substring](dart.notNull(portStart) + 1, pathStart)), t257 == null ? dart.throw(new core.FormatException.new("Invalid port", uri, dart.notNull(portStart) + 1)) : t257); + port = core._Uri._makePort(portNumber, scheme); + } + } + let path = core._Uri._makePath(uri, pathStart, queryStart, null, scheme, host != null); + let query = null; + if (dart.notNull(queryStart) < dart.notNull(fragmentStart)) { + query = core._Uri._makeQuery(uri, dart.notNull(queryStart) + 1, fragmentStart, null); + } + let fragment = null; + if (dart.notNull(fragmentStart) < dart.notNull(end)) { + fragment = core._Uri._makeFragment(uri, dart.notNull(fragmentStart) + 1, end); + } + return new core._Uri._internal(scheme, userInfo, host, port, path, query, fragment); + } + static new(opts) { + let scheme = opts && 'scheme' in opts ? opts.scheme : null; + let userInfo = opts && 'userInfo' in opts ? opts.userInfo : null; + let host = opts && 'host' in opts ? opts.host : null; + let port = opts && 'port' in opts ? opts.port : null; + let path = opts && 'path' in opts ? opts.path : null; + let pathSegments = opts && 'pathSegments' in opts ? opts.pathSegments : null; + let query = opts && 'query' in opts ? opts.query : null; + let queryParameters = opts && 'queryParameters' in opts ? opts.queryParameters : null; + let fragment = opts && 'fragment' in opts ? opts.fragment : null; + if (scheme == null) { + scheme = ""; + } else { + scheme = core._Uri._makeScheme(scheme, 0, scheme.length); + } + userInfo = core._Uri._makeUserInfo(userInfo, 0, core._stringOrNullLength(userInfo)); + if (userInfo == null) { + dart.throw("unreachable"); + } + host = core._Uri._makeHost(host, 0, core._stringOrNullLength(host), false); + if (query === "") query = null; + query = core._Uri._makeQuery(query, 0, core._stringOrNullLength(query), queryParameters); + fragment = core._Uri._makeFragment(fragment, 0, core._stringOrNullLength(fragment)); + port = core._Uri._makePort(port, scheme); + let isFile = scheme === "file"; + if (host == null && (userInfo[$isNotEmpty] || port != null || isFile)) { + host = ""; + } + let hasAuthority = host != null; + path = core._Uri._makePath(path, 0, core._stringOrNullLength(path), pathSegments, scheme, hasAuthority); + if (path == null) { + dart.throw("unreachable"); + } + if (scheme[$isEmpty] && host == null && !path[$startsWith]("/")) { + let allowScheme = scheme[$isNotEmpty] || host != null; + path = core._Uri._normalizeRelativePath(path, allowScheme); + } else { + path = core._Uri._removeDotSegments(path); + } + if (host == null && path[$startsWith]("//")) { + host = ""; + } + return new core._Uri._internal(scheme, userInfo, host, port, path, query, fragment); + } + static http(authority, unencodedPath, queryParameters = null) { + if (authority == null) dart.nullFailed(I[175], 1454, 28, "authority"); + if (unencodedPath == null) dart.nullFailed(I[175], 1454, 46, "unencodedPath"); + return core._Uri._makeHttpUri("http", authority, unencodedPath, queryParameters); + } + static https(authority, unencodedPath, queryParameters = null) { + if (authority == null) dart.nullFailed(I[175], 1460, 29, "authority"); + if (unencodedPath == null) dart.nullFailed(I[175], 1460, 47, "unencodedPath"); + return core._Uri._makeHttpUri("https", authority, unencodedPath, queryParameters); + } + get authority() { + if (!dart.test(this.hasAuthority)) return ""; + let sb = new core.StringBuffer.new(); + this[_writeAuthority](sb); + return sb.toString(); + } + get userInfo() { + return this[_userInfo$]; + } + get host() { + let host = this[_host$]; + if (host == null) return ""; + if (host[$startsWith]("[")) { + return host[$substring](1, host.length - 1); + } + return host; + } + get port() { + let t257; + t257 = this[_port$]; + return t257 == null ? core._Uri._defaultPort(this.scheme) : t257; + } + static _defaultPort(scheme) { + if (scheme == null) dart.nullFailed(I[175], 1488, 34, "scheme"); + if (scheme === "http") return 80; + if (scheme === "https") return 443; + return 0; + } + get query() { + let t257; + t257 = this[_query$]; + return t257 == null ? "" : t257; + } + get fragment() { + let t257; + t257 = this[_fragment$]; + return t257 == null ? "" : t257; + } + isScheme(scheme) { + if (scheme == null) dart.nullFailed(I[175], 1498, 24, "scheme"); + let thisScheme = this.scheme; + if (scheme == null) return thisScheme[$isEmpty]; + if (scheme.length !== thisScheme.length) return false; + return core._Uri._compareScheme(scheme, thisScheme); + } + static _compareScheme(scheme, uri) { + if (scheme == null) dart.nullFailed(I[175], 1517, 37, "scheme"); + if (uri == null) dart.nullFailed(I[175], 1517, 52, "uri"); + for (let i = 0; i < scheme.length; i = i + 1) { + let schemeChar = scheme[$codeUnitAt](i); + let uriChar = uri[$codeUnitAt](i); + let delta = (schemeChar ^ uriChar) >>> 0; + if (delta !== 0) { + if (delta === 32) { + let lowerChar = (uriChar | delta) >>> 0; + if (97 <= lowerChar && lowerChar <= 122) { + continue; + } + } + return false; + } + } + return true; + } + static _fail(uri, index, message) { + if (uri == null) dart.nullFailed(I[175], 1537, 29, "uri"); + if (index == null) dart.nullFailed(I[175], 1537, 38, "index"); + if (message == null) dart.nullFailed(I[175], 1537, 52, "message"); + dart.throw(new core.FormatException.new(message, uri, index)); + } + static _makeHttpUri(scheme, authority, unencodedPath, queryParameters) { + if (scheme == null) dart.nullFailed(I[175], 1541, 35, "scheme"); + if (unencodedPath == null) dart.nullFailed(I[175], 1542, 14, "unencodedPath"); + let userInfo = ""; + let host = null; + let port = null; + if (authority != null && authority[$isNotEmpty]) { + let hostStart = 0; + for (let i = 0; i < authority.length; i = i + 1) { + if (authority[$codeUnitAt](i) === 64) { + userInfo = authority[$substring](0, i); + hostStart = i + 1; + break; + } + } + let hostEnd = hostStart; + if (hostStart < authority.length && authority[$codeUnitAt](hostStart) === 91) { + let escapeForZoneID = -1; + for (; hostEnd < authority.length; hostEnd = hostEnd + 1) { + let char = authority[$codeUnitAt](hostEnd); + if (char === 37 && escapeForZoneID < 0) { + escapeForZoneID = hostEnd; + if (authority[$startsWith]("25", hostEnd + 1)) { + hostEnd = hostEnd + 2; + } + } else if (char === 93) { + break; + } + } + if (hostEnd === authority.length) { + dart.throw(new core.FormatException.new("Invalid IPv6 host entry.", authority, hostStart)); + } + core.Uri.parseIPv6Address(authority, hostStart + 1, escapeForZoneID < 0 ? hostEnd : escapeForZoneID); + hostEnd = hostEnd + 1; + if (hostEnd !== authority.length && authority[$codeUnitAt](hostEnd) !== 58) { + dart.throw(new core.FormatException.new("Invalid end of authority", authority, hostEnd)); + } + } + for (; hostEnd < authority.length; hostEnd = hostEnd + 1) { + if (authority[$codeUnitAt](hostEnd) === 58) { + let portString = authority[$substring](hostEnd + 1); + if (portString[$isNotEmpty]) port = core.int.parse(portString); + break; + } + } + host = authority[$substring](hostStart, hostEnd); + } + return core._Uri.new({scheme: scheme, userInfo: userInfo, host: host, port: port, pathSegments: unencodedPath[$split]("/"), queryParameters: queryParameters}); + } + static file(path, opts) { + let t257; + if (path == null) dart.nullFailed(I[175], 1607, 28, "path"); + let windows = opts && 'windows' in opts ? opts.windows : null; + return core._Uri.as(dart.test((t257 = windows, t257 == null ? core._Uri._isWindows : t257)) ? core._Uri._makeWindowsFileUrl(path, false) : core._Uri._makeFileUri(path, false)); + } + static directory(path, opts) { + let t257; + if (path == null) dart.nullFailed(I[175], 1614, 33, "path"); + let windows = opts && 'windows' in opts ? opts.windows : null; + return core._Uri.as(dart.test((t257 = windows, t257 == null ? core._Uri._isWindows : t257)) ? core._Uri._makeWindowsFileUrl(path, true) : core._Uri._makeFileUri(path, true)); + } + static get _isWindows() { + return core._Uri._isWindowsCached; + } + static _checkNonWindowsPathReservedCharacters(segments, argumentError) { + if (segments == null) dart.nullFailed(I[175], 1624, 20, "segments"); + if (argumentError == null) dart.nullFailed(I[175], 1624, 35, "argumentError"); + for (let segment of segments) { + if (segment[$contains]("/")) { + if (dart.test(argumentError)) { + dart.throw(new core.ArgumentError.new("Illegal path character " + dart.str(segment))); + } else { + dart.throw(new core.UnsupportedError.new("Illegal path character " + dart.str(segment))); + } + } + } + } + static _checkWindowsPathReservedCharacters(segments, argumentError, firstSegment = 0) { + if (segments == null) dart.nullFailed(I[175], 1637, 20, "segments"); + if (argumentError == null) dart.nullFailed(I[175], 1637, 35, "argumentError"); + if (firstSegment == null) dart.nullFailed(I[175], 1638, 12, "firstSegment"); + for (let segment of segments[$skip](firstSegment)) { + if (segment[$contains](core.RegExp.new("[\"*/:<>?\\\\|]"))) { + if (dart.test(argumentError)) { + dart.throw(new core.ArgumentError.new("Illegal character in path")); + } else { + dart.throw(new core.UnsupportedError.new("Illegal character in path: " + dart.str(segment))); + } + } + } + } + static _checkWindowsDriveLetter(charCode, argumentError) { + if (charCode == null) dart.nullFailed(I[175], 1650, 44, "charCode"); + if (argumentError == null) dart.nullFailed(I[175], 1650, 59, "argumentError"); + if (65 <= dart.notNull(charCode) && dart.notNull(charCode) <= 90 || 97 <= dart.notNull(charCode) && dart.notNull(charCode) <= 122) { + return; + } + if (dart.test(argumentError)) { + dart.throw(new core.ArgumentError.new("Illegal drive letter " + dart.notNull(core.String.fromCharCode(charCode)))); + } else { + dart.throw(new core.UnsupportedError.new("Illegal drive letter " + dart.notNull(core.String.fromCharCode(charCode)))); + } + } + static _makeFileUri(path, slashTerminated) { + if (path == null) dart.nullFailed(I[175], 1664, 34, "path"); + if (slashTerminated == null) dart.nullFailed(I[175], 1664, 45, "slashTerminated"); + let segments = path[$split]("/"); + if (dart.test(slashTerminated) && dart.test(segments[$isNotEmpty]) && segments[$last][$isNotEmpty]) { + segments[$add](""); + } + if (path[$startsWith]("/")) { + return core._Uri.new({scheme: "file", pathSegments: segments}); + } else { + return core._Uri.new({pathSegments: segments}); + } + } + static _makeWindowsFileUrl(path, slashTerminated) { + if (path == null) dart.nullFailed(I[175], 1679, 37, "path"); + if (slashTerminated == null) dart.nullFailed(I[175], 1679, 48, "slashTerminated"); + if (path[$startsWith]("\\\\?\\")) { + if (path[$startsWith]("UNC\\", 4)) { + path = path[$replaceRange](0, 7, "\\"); + } else { + path = path[$substring](4); + if (path.length < 3 || path[$codeUnitAt](1) !== 58 || path[$codeUnitAt](2) !== 92) { + dart.throw(new core.ArgumentError.new("Windows paths with \\\\?\\ prefix must be absolute")); + } + } + } else { + path = path[$replaceAll]("/", "\\"); + } + if (path.length > 1 && path[$codeUnitAt](1) === 58) { + core._Uri._checkWindowsDriveLetter(path[$codeUnitAt](0), true); + if (path.length === 2 || path[$codeUnitAt](2) !== 92) { + dart.throw(new core.ArgumentError.new("Windows paths with drive letter must be absolute")); + } + let pathSegments = path[$split]("\\"); + if (dart.test(slashTerminated) && pathSegments[$last][$isNotEmpty]) { + pathSegments[$add](""); + } + core._Uri._checkWindowsPathReservedCharacters(pathSegments, true, 1); + return core._Uri.new({scheme: "file", pathSegments: pathSegments}); + } + if (path[$startsWith]("\\")) { + if (path[$startsWith]("\\", 1)) { + let pathStart = path[$indexOf]("\\", 2); + let hostPart = pathStart < 0 ? path[$substring](2) : path[$substring](2, pathStart); + let pathPart = pathStart < 0 ? "" : path[$substring](pathStart + 1); + let pathSegments = pathPart[$split]("\\"); + core._Uri._checkWindowsPathReservedCharacters(pathSegments, true); + if (dart.test(slashTerminated) && pathSegments[$last][$isNotEmpty]) { + pathSegments[$add](""); + } + return core._Uri.new({scheme: "file", host: hostPart, pathSegments: pathSegments}); + } else { + let pathSegments = path[$split]("\\"); + if (dart.test(slashTerminated) && pathSegments[$last][$isNotEmpty]) { + pathSegments[$add](""); + } + core._Uri._checkWindowsPathReservedCharacters(pathSegments, true); + return core._Uri.new({scheme: "file", pathSegments: pathSegments}); + } + } else { + let pathSegments = path[$split]("\\"); + core._Uri._checkWindowsPathReservedCharacters(pathSegments, true); + if (dart.test(slashTerminated) && dart.test(pathSegments[$isNotEmpty]) && pathSegments[$last][$isNotEmpty]) { + pathSegments[$add](""); + } + return core._Uri.new({pathSegments: pathSegments}); + } + } + replace(opts) { + let scheme = opts && 'scheme' in opts ? opts.scheme : null; + let userInfo = opts && 'userInfo' in opts ? opts.userInfo : null; + let host = opts && 'host' in opts ? opts.host : null; + let port = opts && 'port' in opts ? opts.port : null; + let path = opts && 'path' in opts ? opts.path : null; + let pathSegments = opts && 'pathSegments' in opts ? opts.pathSegments : null; + let query = opts && 'query' in opts ? opts.query : null; + let queryParameters = opts && 'queryParameters' in opts ? opts.queryParameters : null; + let fragment = opts && 'fragment' in opts ? opts.fragment : null; + let schemeChanged = false; + if (scheme != null) { + scheme = core._Uri._makeScheme(scheme, 0, scheme.length); + schemeChanged = scheme != this.scheme; + } else { + scheme = this.scheme; + } + let isFile = scheme === "file"; + if (userInfo != null) { + userInfo = core._Uri._makeUserInfo(userInfo, 0, userInfo.length); + } else { + userInfo = this[_userInfo$]; + } + if (port != null) { + port = core._Uri._makePort(port, scheme); + } else { + port = this[_port$]; + if (schemeChanged) { + port = core._Uri._makePort(port, scheme); + } + } + if (host != null) { + host = core._Uri._makeHost(host, 0, host.length, false); + } else if (dart.test(this.hasAuthority)) { + host = this[_host$]; + } else if (userInfo[$isNotEmpty] || port != null || isFile) { + host = ""; + } + let hasAuthority = host != null; + if (path != null || pathSegments != null) { + path = core._Uri._makePath(path, 0, core._stringOrNullLength(path), pathSegments, scheme, hasAuthority); + } else { + let currentPath = this.path; + if ((isFile || hasAuthority && !currentPath[$isEmpty]) && !currentPath[$startsWith]("/")) { + currentPath = "/" + dart.notNull(currentPath); + } + path = currentPath; + } + if (query != null || queryParameters != null) { + query = core._Uri._makeQuery(query, 0, core._stringOrNullLength(query), queryParameters); + } else { + query = this[_query$]; + } + if (fragment != null) { + fragment = core._Uri._makeFragment(fragment, 0, fragment.length); + } else { + fragment = this[_fragment$]; + } + return new core._Uri._internal(scheme, userInfo, host, port, path, query, fragment); + } + removeFragment() { + if (!dart.test(this.hasFragment)) return this; + return new core._Uri._internal(this.scheme, this[_userInfo$], this[_host$], this[_port$], this.path, this[_query$], null); + } + static _computePathSegments(pathToSplit) { + if (pathToSplit == null) dart.nullFailed(I[175], 1823, 51, "pathToSplit"); + if (pathToSplit[$isNotEmpty] && pathToSplit[$codeUnitAt](0) === 47) { + pathToSplit = pathToSplit[$substring](1); + } + return pathToSplit[$isEmpty] ? C[404] || CT.C404 : T$.ListOfString().unmodifiable(pathToSplit[$split]("/")[$map](dart.dynamic, C[429] || CT.C429)); + } + static _computeQueryParametersAll(query) { + if (query == null || query[$isEmpty]) return C[430] || CT.C430; + let queryParameterLists = core._Uri._splitQueryStringAll(query); + queryParameterLists[$updateAll](C[431] || CT.C431); + return T$0.MapOfString$ListOfString().unmodifiable(queryParameterLists); + } + normalizePath() { + let path = core._Uri._normalizePath(this.path, this.scheme, this.hasAuthority); + if (path == this.path) return this; + return this.replace({path: path}); + } + static _makePort(port, scheme) { + if (scheme == null) dart.nullFailed(I[175], 1846, 43, "scheme"); + if (port != null && port == core._Uri._defaultPort(scheme)) return null; + return port; + } + static _makeHost(host, start, end, strictIPv6) { + if (start == null) dart.nullFailed(I[175], 1861, 46, "start"); + if (end == null) dart.nullFailed(I[175], 1861, 57, "end"); + if (strictIPv6 == null) dart.nullFailed(I[175], 1861, 67, "strictIPv6"); + if (host == null) return null; + if (start == end) return ""; + if (host[$codeUnitAt](start) === 91) { + if (host[$codeUnitAt](dart.notNull(end) - 1) !== 93) { + core._Uri._fail(host, start, "Missing end `]` to match `[` in host"); + dart.throw(new _internal.ReachabilityError.new("`null` encountered as the result from expression with type `Never`.")); + } + let zoneID = ""; + let index = core._Uri._checkZoneID(host, dart.notNull(start) + 1, dart.notNull(end) - 1); + if (dart.notNull(index) < dart.notNull(end) - 1) { + let zoneIDstart = host[$startsWith]("25", dart.notNull(index) + 1) ? dart.notNull(index) + 3 : dart.notNull(index) + 1; + zoneID = core._Uri._normalizeZoneID(host, zoneIDstart, dart.notNull(end) - 1, "%25"); + } + core.Uri.parseIPv6Address(host, dart.notNull(start) + 1, index); + return host[$substring](start, index)[$toLowerCase]() + dart.notNull(zoneID) + "]"; + } + if (!dart.test(strictIPv6)) { + for (let i = start; dart.notNull(i) < dart.notNull(end); i = dart.notNull(i) + 1) { + if (host[$codeUnitAt](i) === 58) { + let zoneID = ""; + let index = core._Uri._checkZoneID(host, start, end); + if (dart.notNull(index) < dart.notNull(end)) { + let zoneIDstart = host[$startsWith]("25", dart.notNull(index) + 1) ? dart.notNull(index) + 3 : dart.notNull(index) + 1; + zoneID = core._Uri._normalizeZoneID(host, zoneIDstart, end, "%25"); + } + core.Uri.parseIPv6Address(host, start, index); + return "[" + host[$substring](start, index) + dart.notNull(zoneID) + "]"; + } + } + } + return core._Uri._normalizeRegName(host, start, end); + } + static _checkZoneID(host, start, end) { + if (host == null) dart.nullFailed(I[175], 1902, 34, "host"); + if (start == null) dart.nullFailed(I[175], 1902, 44, "start"); + if (end == null) dart.nullFailed(I[175], 1902, 55, "end"); + let index = host[$indexOf]("%", start); + index = dart.notNull(index) >= dart.notNull(start) && dart.notNull(index) < dart.notNull(end) ? index : end; + return index; + } + static _isZoneIDChar(char) { + if (char == null) dart.nullFailed(I[175], 1908, 33, "char"); + return dart.notNull(char) < 127 && (dart.notNull(core._Uri._zoneIDTable[$_get](char[$rightShift](4))) & 1 << (dart.notNull(char) & 15)) !== 0; + } + static _normalizeZoneID(host, start, end, prefix = "") { + let t257, t257$; + if (host == null) dart.nullFailed(I[175], 1918, 41, "host"); + if (start == null) dart.nullFailed(I[175], 1918, 51, "start"); + if (end == null) dart.nullFailed(I[175], 1918, 62, "end"); + if (prefix == null) dart.nullFailed(I[175], 1919, 15, "prefix"); + let buffer = null; + if (prefix !== "") { + buffer = new core.StringBuffer.new(prefix); + } + let sectionStart = start; + let index = start; + let isNormalized = true; + while (dart.notNull(index) < dart.notNull(end)) { + let char = host[$codeUnitAt](index); + if (char === 37) { + let replacement = core._Uri._normalizeEscape(host, index, true); + if (replacement == null && isNormalized) { + index = dart.notNull(index) + 3; + continue; + } + buffer == null ? buffer = new core.StringBuffer.new() : null; + let slice = host[$substring](sectionStart, index); + buffer.write(slice); + let sourceLength = 3; + if (replacement == null) { + replacement = host[$substring](index, dart.notNull(index) + 3); + } else if (replacement === "%") { + core._Uri._fail(host, index, "ZoneID should not contain % anymore"); + dart.throw(new _internal.ReachabilityError.new("`null` encountered as the result from expression with type `Never`.")); + } + buffer.write(replacement); + index = dart.notNull(index) + sourceLength; + sectionStart = index; + isNormalized = true; + } else if (dart.test(core._Uri._isZoneIDChar(char))) { + if (isNormalized && 65 <= char && 90 >= char) { + buffer == null ? buffer = new core.StringBuffer.new() : null; + if (dart.notNull(sectionStart) < dart.notNull(index)) { + buffer.write(host[$substring](sectionStart, index)); + sectionStart = index; + } + isNormalized = false; + } + index = dart.notNull(index) + 1; + } else { + let sourceLength = 1; + if ((char & 64512) === 55296 && dart.notNull(index) + 1 < dart.notNull(end)) { + let tail = host[$codeUnitAt](dart.notNull(index) + 1); + if ((tail & 64512) === 56320) { + char = 65536 | (char & 1023) << 10 | tail & 1023; + sourceLength = 2; + } + } + let slice = host[$substring](sectionStart, index); + t257$ = (t257 = buffer, t257 == null ? buffer = new core.StringBuffer.new() : t257); + (() => { + t257$.write(slice); + t257$.write(core._Uri._escapeChar(char)); + return t257$; + })(); + index = dart.notNull(index) + sourceLength; + sectionStart = index; + } + } + if (buffer == null) return host[$substring](start, end); + if (dart.notNull(sectionStart) < dart.notNull(end)) { + let slice = host[$substring](sectionStart, end); + buffer.write(slice); + } + return dart.toString(buffer); + } + static _isRegNameChar(char) { + if (char == null) dart.nullFailed(I[175], 1984, 34, "char"); + return dart.notNull(char) < 127 && (dart.notNull(core._Uri._regNameTable[$_get](char[$rightShift](4))) & 1 << (dart.notNull(char) & 15)) !== 0; + } + static _normalizeRegName(host, start, end) { + let t257, t257$; + if (host == null) dart.nullFailed(I[175], 1993, 42, "host"); + if (start == null) dart.nullFailed(I[175], 1993, 52, "start"); + if (end == null) dart.nullFailed(I[175], 1993, 63, "end"); + let buffer = null; + let sectionStart = start; + let index = start; + let isNormalized = true; + while (dart.notNull(index) < dart.notNull(end)) { + let char = host[$codeUnitAt](index); + if (char === 37) { + let replacement = core._Uri._normalizeEscape(host, index, true); + if (replacement == null && isNormalized) { + index = dart.notNull(index) + 3; + continue; + } + buffer == null ? buffer = new core.StringBuffer.new() : null; + let slice = host[$substring](sectionStart, index); + if (!isNormalized) slice = slice[$toLowerCase](); + buffer.write(slice); + let sourceLength = 3; + if (replacement == null) { + replacement = host[$substring](index, dart.notNull(index) + 3); + } else if (replacement === "%") { + replacement = "%25"; + sourceLength = 1; + } + buffer.write(replacement); + index = dart.notNull(index) + sourceLength; + sectionStart = index; + isNormalized = true; + } else if (dart.test(core._Uri._isRegNameChar(char))) { + if (isNormalized && 65 <= char && 90 >= char) { + buffer == null ? buffer = new core.StringBuffer.new() : null; + if (dart.notNull(sectionStart) < dart.notNull(index)) { + buffer.write(host[$substring](sectionStart, index)); + sectionStart = index; + } + isNormalized = false; + } + index = dart.notNull(index) + 1; + } else if (dart.test(core._Uri._isGeneralDelimiter(char))) { + core._Uri._fail(host, index, "Invalid character"); + dart.throw(new _internal.ReachabilityError.new("`null` encountered as the result from expression with type `Never`.")); + } else { + let sourceLength = 1; + if ((char & 64512) === 55296 && dart.notNull(index) + 1 < dart.notNull(end)) { + let tail = host[$codeUnitAt](dart.notNull(index) + 1); + if ((tail & 64512) === 56320) { + char = 65536 | (char & 1023) << 10 | tail & 1023; + sourceLength = 2; + } + } + let slice = host[$substring](sectionStart, index); + if (!isNormalized) slice = slice[$toLowerCase](); + t257$ = (t257 = buffer, t257 == null ? buffer = new core.StringBuffer.new() : t257); + (() => { + t257$.write(slice); + t257$.write(core._Uri._escapeChar(char)); + return t257$; + })(); + index = dart.notNull(index) + sourceLength; + sectionStart = index; + } + } + if (buffer == null) return host[$substring](start, end); + if (dart.notNull(sectionStart) < dart.notNull(end)) { + let slice = host[$substring](sectionStart, end); + if (!isNormalized) slice = slice[$toLowerCase](); + buffer.write(slice); + } + return dart.toString(buffer); + } + static _makeScheme(scheme, start, end) { + if (scheme == null) dart.nullFailed(I[175], 2065, 36, "scheme"); + if (start == null) dart.nullFailed(I[175], 2065, 48, "start"); + if (end == null) dart.nullFailed(I[175], 2065, 59, "end"); + if (start == end) return ""; + let firstCodeUnit = scheme[$codeUnitAt](start); + if (!dart.test(core._Uri._isAlphabeticCharacter(firstCodeUnit))) { + core._Uri._fail(scheme, start, "Scheme not starting with alphabetic character"); + dart.throw(new _internal.ReachabilityError.new("`null` encountered as the result from expression with type `Never`.")); + } + let containsUpperCase = false; + for (let i = start; dart.notNull(i) < dart.notNull(end); i = dart.notNull(i) + 1) { + let codeUnit = scheme[$codeUnitAt](i); + if (!dart.test(core._Uri._isSchemeCharacter(codeUnit))) { + core._Uri._fail(scheme, i, "Illegal scheme character"); + dart.throw(new _internal.ReachabilityError.new("`null` encountered as the result from expression with type `Never`.")); + } + if (65 <= codeUnit && codeUnit <= 90) { + containsUpperCase = true; + } + } + scheme = scheme[$substring](start, end); + if (containsUpperCase) scheme = scheme[$toLowerCase](); + return core._Uri._canonicalizeScheme(scheme); + } + static _canonicalizeScheme(scheme) { + if (scheme == null) dart.nullFailed(I[175], 2089, 44, "scheme"); + if (scheme === "http") return "http"; + if (scheme === "file") return "file"; + if (scheme === "https") return "https"; + if (scheme === "package") return "package"; + return scheme; + } + static _makeUserInfo(userInfo, start, end) { + if (start == null) dart.nullFailed(I[175], 2097, 53, "start"); + if (end == null) dart.nullFailed(I[175], 2097, 64, "end"); + if (userInfo == null) return ""; + return core._Uri._normalizeOrSubstring(userInfo, start, end, core._Uri._userinfoTable); + } + static _makePath(path, start, end, pathSegments, scheme, hasAuthority) { + if (start == null) dart.nullFailed(I[175], 2102, 45, "start"); + if (end == null) dart.nullFailed(I[175], 2102, 56, "end"); + if (scheme == null) dart.nullFailed(I[175], 2103, 46, "scheme"); + if (hasAuthority == null) dart.nullFailed(I[175], 2103, 59, "hasAuthority"); + let isFile = scheme === "file"; + let ensureLeadingSlash = isFile || dart.test(hasAuthority); + let result = null; + if (path == null) { + if (pathSegments == null) return isFile ? "/" : ""; + result = pathSegments[$map](core.String, dart.fn(s => { + if (s == null) dart.nullFailed(I[175], 2110, 17, "s"); + return core._Uri._uriEncode(core._Uri._pathCharTable, s, convert.utf8, false); + }, T$.StringToString()))[$join]("/"); + } else if (pathSegments != null) { + dart.throw(new core.ArgumentError.new("Both path and pathSegments specified")); + } else { + result = core._Uri._normalizeOrSubstring(path, start, end, core._Uri._pathCharOrSlashTable, {escapeDelimiters: true}); + } + if (result[$isEmpty]) { + if (isFile) return "/"; + } else if (ensureLeadingSlash && !result[$startsWith]("/")) { + result = "/" + dart.notNull(result); + } + result = core._Uri._normalizePath(result, scheme, hasAuthority); + return result; + } + static _normalizePath(path, scheme, hasAuthority) { + if (path == null) dart.nullFailed(I[175], 2132, 39, "path"); + if (scheme == null) dart.nullFailed(I[175], 2132, 52, "scheme"); + if (hasAuthority == null) dart.nullFailed(I[175], 2132, 65, "hasAuthority"); + if (scheme[$isEmpty] && !dart.test(hasAuthority) && !path[$startsWith]("/")) { + return core._Uri._normalizeRelativePath(path, scheme[$isNotEmpty] || dart.test(hasAuthority)); + } + return core._Uri._removeDotSegments(path); + } + static _makeQuery(query, start, end, queryParameters) { + if (start == null) dart.nullFailed(I[175], 2139, 48, "start"); + if (end == null) dart.nullFailed(I[175], 2139, 59, "end"); + if (query != null) { + if (queryParameters != null) { + dart.throw(new core.ArgumentError.new("Both query and queryParameters specified")); + } + return core._Uri._normalizeOrSubstring(query, start, end, core._Uri._queryCharTable, {escapeDelimiters: true}); + } + if (queryParameters == null) return null; + let result = new core.StringBuffer.new(); + let separator = ""; + function writeParameter(key, value) { + if (key == null) dart.nullFailed(I[175], 2153, 32, "key"); + result.write(separator); + separator = "&"; + result.write(core.Uri.encodeQueryComponent(key)); + if (value != null && value[$isNotEmpty]) { + result.write("="); + result.write(core.Uri.encodeQueryComponent(value)); + } + } + dart.fn(writeParameter, T$0.StringAndStringNTovoid()); + queryParameters[$forEach](dart.fn((key, value) => { + if (key == null) dart.nullFailed(I[175], 2163, 30, "key"); + if (value == null || typeof value == 'string') { + writeParameter(key, T$.StringN().as(value)); + } else { + let values = core.Iterable.as(value); + for (let t257 of values) { + let value = core.String.as(t257); + writeParameter(key, value); + } + } + }, T$0.StringAnddynamicTovoid())); + return result.toString(); + } + static _makeFragment(fragment, start, end) { + if (start == null) dart.nullFailed(I[175], 2176, 54, "start"); + if (end == null) dart.nullFailed(I[175], 2176, 65, "end"); + if (fragment == null) return null; + return core._Uri._normalizeOrSubstring(fragment, start, end, core._Uri._queryCharTable, {escapeDelimiters: true}); + } + static _normalizeEscape(source, index, lowerCase) { + if (source == null) dart.nullFailed(I[175], 2193, 42, "source"); + if (index == null) dart.nullFailed(I[175], 2193, 54, "index"); + if (lowerCase == null) dart.nullFailed(I[175], 2193, 66, "lowerCase"); + if (!(source[$codeUnitAt](index) === 37)) dart.assertFailed(null, I[175], 2194, 12, "source.codeUnitAt(index) == _PERCENT"); + if (dart.notNull(index) + 2 >= source.length) { + return "%"; + } + let firstDigit = source[$codeUnitAt](dart.notNull(index) + 1); + let secondDigit = source[$codeUnitAt](dart.notNull(index) + 2); + let firstDigitValue = _internal.hexDigitValue(firstDigit); + let secondDigitValue = _internal.hexDigitValue(secondDigit); + if (dart.notNull(firstDigitValue) < 0 || dart.notNull(secondDigitValue) < 0) { + return "%"; + } + let value = dart.notNull(firstDigitValue) * 16 + dart.notNull(secondDigitValue); + if (dart.test(core._Uri._isUnreservedChar(value))) { + if (dart.test(lowerCase) && 65 <= value && 90 >= value) { + value = (value | 32) >>> 0; + } + return core.String.fromCharCode(value); + } + if (firstDigit >= 97 || secondDigit >= 97) { + return source[$substring](index, dart.notNull(index) + 3)[$toUpperCase](); + } + return null; + } + static _escapeChar(char) { + if (char == null) dart.nullFailed(I[175], 2221, 33, "char"); + if (!(dart.notNull(char) <= 1114111)) dart.assertFailed(null, I[175], 2222, 12, "char <= 0x10ffff"); + let codeUnits = null; + if (dart.notNull(char) < 128) { + codeUnits = _native_typed_data.NativeUint8List.new(3); + codeUnits[$_set](0, 37); + codeUnits[$_set](1, "0123456789ABCDEF"[$codeUnitAt](char[$rightShift](4))); + codeUnits[$_set](2, "0123456789ABCDEF"[$codeUnitAt](dart.notNull(char) & 15)); + } else { + let flag = 192; + let encodedBytes = 2; + if (dart.notNull(char) > 2047) { + flag = 224; + encodedBytes = 3; + if (dart.notNull(char) > 65535) { + encodedBytes = 4; + flag = 240; + } + } + codeUnits = _native_typed_data.NativeUint8List.new(3 * encodedBytes); + let index = 0; + while ((encodedBytes = encodedBytes - 1) >= 0) { + let byte = (char[$rightShift](6 * encodedBytes) & 63 | flag) >>> 0; + codeUnits[$_set](index, 37); + codeUnits[$_set](index + 1, "0123456789ABCDEF"[$codeUnitAt](byte[$rightShift](4))); + codeUnits[$_set](index + 2, "0123456789ABCDEF"[$codeUnitAt](byte & 15)); + index = index + 3; + flag = 128; + } + } + return core.String.fromCharCodes(codeUnits); + } + static _normalizeOrSubstring(component, start, end, charTable, opts) { + let t258; + if (component == null) dart.nullFailed(I[175], 2261, 14, "component"); + if (start == null) dart.nullFailed(I[175], 2261, 29, "start"); + if (end == null) dart.nullFailed(I[175], 2261, 40, "end"); + if (charTable == null) dart.nullFailed(I[175], 2261, 55, "charTable"); + let escapeDelimiters = opts && 'escapeDelimiters' in opts ? opts.escapeDelimiters : false; + if (escapeDelimiters == null) dart.nullFailed(I[175], 2262, 13, "escapeDelimiters"); + t258 = core._Uri._normalize(component, start, end, charTable, {escapeDelimiters: escapeDelimiters}); + return t258 == null ? component[$substring](start, end) : t258; + } + static _normalize(component, start, end, charTable, opts) { + let t258, t258$; + if (component == null) dart.nullFailed(I[175], 2278, 14, "component"); + if (start == null) dart.nullFailed(I[175], 2278, 29, "start"); + if (end == null) dart.nullFailed(I[175], 2278, 40, "end"); + if (charTable == null) dart.nullFailed(I[175], 2278, 55, "charTable"); + let escapeDelimiters = opts && 'escapeDelimiters' in opts ? opts.escapeDelimiters : false; + if (escapeDelimiters == null) dart.nullFailed(I[175], 2279, 13, "escapeDelimiters"); + let buffer = null; + let sectionStart = start; + let index = start; + while (dart.notNull(index) < dart.notNull(end)) { + let char = component[$codeUnitAt](index); + if (char < 127 && (dart.notNull(charTable[$_get](char[$rightShift](4))) & 1 << (char & 15)) !== 0) { + index = dart.notNull(index) + 1; + } else { + let replacement = null; + let sourceLength = null; + if (char === 37) { + replacement = core._Uri._normalizeEscape(component, index, false); + if (replacement == null) { + index = dart.notNull(index) + 3; + continue; + } + if ("%" === replacement) { + replacement = "%25"; + sourceLength = 1; + } else { + sourceLength = 3; + } + } else if (!dart.test(escapeDelimiters) && dart.test(core._Uri._isGeneralDelimiter(char))) { + core._Uri._fail(component, index, "Invalid character"); + dart.throw(new _internal.ReachabilityError.new("`null` encountered as the result from expression with type `Never`.")); + dart.throw("unreachable"); + } else { + sourceLength = 1; + if ((char & 64512) === 55296) { + if (dart.notNull(index) + 1 < dart.notNull(end)) { + let tail = component[$codeUnitAt](dart.notNull(index) + 1); + if ((tail & 64512) === 56320) { + sourceLength = 2; + char = 65536 | (char & 1023) << 10 | tail & 1023; + } + } + } + replacement = core._Uri._escapeChar(char); + } + t258$ = (t258 = buffer, t258 == null ? buffer = new core.StringBuffer.new() : t258); + (() => { + t258$.write(component[$substring](sectionStart, index)); + t258$.write(replacement); + return t258$; + })(); + index = dart.notNull(index) + dart.notNull(sourceLength); + sectionStart = index; + } + } + if (buffer == null) { + return null; + } + if (dart.notNull(sectionStart) < dart.notNull(end)) { + buffer.write(component[$substring](sectionStart, end)); + } + return dart.toString(buffer); + } + static _isSchemeCharacter(ch) { + if (ch == null) dart.nullFailed(I[175], 2339, 38, "ch"); + return dart.notNull(ch) < 128 && (dart.notNull(core._Uri._schemeTable[$_get](ch[$rightShift](4))) & 1 << (dart.notNull(ch) & 15)) !== 0; + } + static _isGeneralDelimiter(ch) { + if (ch == null) dart.nullFailed(I[175], 2343, 39, "ch"); + return dart.notNull(ch) <= 93 && (dart.notNull(core._Uri._genDelimitersTable[$_get](ch[$rightShift](4))) & 1 << (dart.notNull(ch) & 15)) !== 0; + } + get isAbsolute() { + return this.scheme !== "" && this.fragment === ""; + } + [_mergePaths](base, reference) { + if (base == null) dart.nullFailed(I[175], 2351, 29, "base"); + if (reference == null) dart.nullFailed(I[175], 2351, 42, "reference"); + let backCount = 0; + let refStart = 0; + while (reference[$startsWith]("../", refStart)) { + refStart = refStart + 3; + backCount = backCount + 1; + } + let baseEnd = base[$lastIndexOf]("/"); + while (baseEnd > 0 && backCount > 0) { + let newEnd = base[$lastIndexOf]("/", baseEnd - 1); + if (newEnd < 0) { + break; + } + let delta = baseEnd - newEnd; + if ((delta === 2 || delta === 3) && base[$codeUnitAt](newEnd + 1) === 46 && (delta === 2 || base[$codeUnitAt](newEnd + 2) === 46)) { + break; + } + baseEnd = newEnd; + backCount = backCount - 1; + } + return base[$replaceRange](baseEnd + 1, null, reference[$substring](refStart - 3 * backCount)); + } + static _mayContainDotSegments(path) { + if (path == null) dart.nullFailed(I[175], 2389, 45, "path"); + if (path[$startsWith](".")) return true; + let index = path[$indexOf]("/."); + return index !== -1; + } + static _removeDotSegments(path) { + if (path == null) dart.nullFailed(I[175], 2400, 43, "path"); + if (!dart.test(core._Uri._mayContainDotSegments(path))) return path; + if (!path[$isNotEmpty]) dart.assertFailed(null, I[175], 2402, 12, "path.isNotEmpty"); + let output = T$.JSArrayOfString().of([]); + let appendSlash = false; + for (let segment of path[$split]("/")) { + appendSlash = false; + if (segment === "..") { + if (dart.test(output[$isNotEmpty])) { + output[$removeLast](); + if (dart.test(output[$isEmpty])) { + output[$add](""); + } + } + appendSlash = true; + } else if ("." === segment) { + appendSlash = true; + } else { + output[$add](segment); + } + } + if (appendSlash) output[$add](""); + return output[$join]("/"); + } + static _normalizeRelativePath(path, allowScheme) { + if (path == null) dart.nullFailed(I[175], 2436, 47, "path"); + if (allowScheme == null) dart.nullFailed(I[175], 2436, 58, "allowScheme"); + if (!!path[$startsWith]("/")) dart.assertFailed(null, I[175], 2437, 12, "!path.startsWith('/')"); + if (!dart.test(core._Uri._mayContainDotSegments(path))) { + if (!dart.test(allowScheme)) path = core._Uri._escapeScheme(path); + return path; + } + if (!path[$isNotEmpty]) dart.assertFailed(null, I[175], 2442, 12, "path.isNotEmpty"); + let output = T$.JSArrayOfString().of([]); + let appendSlash = false; + for (let segment of path[$split]("/")) { + appendSlash = false; + if (".." === segment) { + if (!dart.test(output[$isEmpty]) && output[$last] !== "..") { + output[$removeLast](); + appendSlash = true; + } else { + output[$add](".."); + } + } else if ("." === segment) { + appendSlash = true; + } else { + output[$add](segment); + } + } + if (dart.test(output[$isEmpty]) || output[$length] === 1 && output[$_get](0)[$isEmpty]) { + return "./"; + } + if (appendSlash || output[$last] === "..") output[$add](""); + if (!dart.test(allowScheme)) output[$_set](0, core._Uri._escapeScheme(output[$_get](0))); + return output[$join]("/"); + } + static _escapeScheme(path) { + if (path == null) dart.nullFailed(I[175], 2469, 38, "path"); + if (path.length >= 2 && dart.test(core._Uri._isAlphabeticCharacter(path[$codeUnitAt](0)))) { + for (let i = 1; i < path.length; i = i + 1) { + let char = path[$codeUnitAt](i); + if (char === 58) { + return path[$substring](0, i) + "%3A" + path[$substring](i + 1); + } + if (char > 127 || (dart.notNull(core._Uri._schemeTable[$_get](char[$rightShift](4))) & 1 << (char & 15)) === 0) { + break; + } + } + } + return path; + } + resolve(reference) { + if (reference == null) dart.nullFailed(I[175], 2485, 22, "reference"); + return this.resolveUri(core.Uri.parse(reference)); + } + static _packageNameEnd(uri, path) { + if (uri == null) dart.nullFailed(I[175], 2499, 34, "uri"); + if (path == null) dart.nullFailed(I[175], 2499, 46, "path"); + if (dart.test(uri.isScheme("package")) && !dart.test(uri.hasAuthority)) { + return core._skipPackageNameChars(path, 0, path.length); + } + return -1; + } + resolveUri(reference) { + if (reference == null) dart.nullFailed(I[175], 2506, 22, "reference"); + let targetScheme = null; + let targetUserInfo = ""; + let targetHost = null; + let targetPort = null; + let targetPath = null; + let targetQuery = null; + if (reference.scheme[$isNotEmpty]) { + targetScheme = reference.scheme; + if (dart.test(reference.hasAuthority)) { + targetUserInfo = reference.userInfo; + targetHost = reference.host; + targetPort = dart.test(reference.hasPort) ? reference.port : null; + } + targetPath = core._Uri._removeDotSegments(reference.path); + if (dart.test(reference.hasQuery)) { + targetQuery = reference.query; + } + } else { + targetScheme = this.scheme; + if (dart.test(reference.hasAuthority)) { + targetUserInfo = reference.userInfo; + targetHost = reference.host; + targetPort = core._Uri._makePort(dart.test(reference.hasPort) ? reference.port : null, targetScheme); + targetPath = core._Uri._removeDotSegments(reference.path); + if (dart.test(reference.hasQuery)) targetQuery = reference.query; + } else { + targetUserInfo = this[_userInfo$]; + targetHost = this[_host$]; + targetPort = this[_port$]; + if (reference.path === "") { + targetPath = this.path; + if (dart.test(reference.hasQuery)) { + targetQuery = reference.query; + } else { + targetQuery = this[_query$]; + } + } else { + let basePath = this.path; + let packageNameEnd = core._Uri._packageNameEnd(this, basePath); + if (dart.notNull(packageNameEnd) > 0) { + if (!(targetScheme === "package")) dart.assertFailed(null, I[175], 2549, 20, "targetScheme == \"package\""); + if (!!dart.test(this.hasAuthority)) dart.assertFailed(null, I[175], 2550, 20, "!this.hasAuthority"); + if (!!dart.test(this.hasEmptyPath)) dart.assertFailed(null, I[175], 2551, 20, "!this.hasEmptyPath"); + let packageName = basePath[$substring](0, packageNameEnd); + if (dart.test(reference.hasAbsolutePath)) { + targetPath = packageName + dart.notNull(core._Uri._removeDotSegments(reference.path)); + } else { + targetPath = packageName + dart.notNull(core._Uri._removeDotSegments(this[_mergePaths](basePath[$substring](packageName.length), reference.path))); + } + } else if (dart.test(reference.hasAbsolutePath)) { + targetPath = core._Uri._removeDotSegments(reference.path); + } else { + if (dart.test(this.hasEmptyPath)) { + if (!dart.test(this.hasAuthority)) { + if (!dart.test(this.hasScheme)) { + targetPath = reference.path; + } else { + targetPath = core._Uri._removeDotSegments(reference.path); + } + } else { + targetPath = core._Uri._removeDotSegments("/" + dart.notNull(reference.path)); + } + } else { + let mergedPath = this[_mergePaths](this.path, reference.path); + if (dart.test(this.hasScheme) || dart.test(this.hasAuthority) || dart.test(this.hasAbsolutePath)) { + targetPath = core._Uri._removeDotSegments(mergedPath); + } else { + targetPath = core._Uri._normalizeRelativePath(mergedPath, dart.test(this.hasScheme) || dart.test(this.hasAuthority)); + } + } + } + if (dart.test(reference.hasQuery)) targetQuery = reference.query; + } + } + } + let fragment = dart.test(reference.hasFragment) ? reference.fragment : null; + return new core._Uri._internal(targetScheme, targetUserInfo, targetHost, targetPort, targetPath, targetQuery, fragment); + } + get hasScheme() { + return this.scheme[$isNotEmpty]; + } + get hasAuthority() { + return this[_host$] != null; + } + get hasPort() { + return this[_port$] != null; + } + get hasQuery() { + return this[_query$] != null; + } + get hasFragment() { + return this[_fragment$] != null; + } + get hasEmptyPath() { + return this.path[$isEmpty]; + } + get hasAbsolutePath() { + return this.path[$startsWith]("/"); + } + get origin() { + if (this.scheme === "") { + dart.throw(new core.StateError.new("Cannot use origin without a scheme: " + dart.str(this))); + } + if (this.scheme !== "http" && this.scheme !== "https") { + dart.throw(new core.StateError.new("Origin is only applicable schemes http and https: " + dart.str(this))); + } + let host = this[_host$]; + if (host == null || host === "") { + dart.throw(new core.StateError.new("A " + dart.str(this.scheme) + ": URI should have a non-empty host name: " + dart.str(this))); + } + let port = this[_port$]; + if (port == null) return dart.str(this.scheme) + "://" + dart.str(host); + return dart.str(this.scheme) + "://" + dart.str(host) + ":" + dart.str(port); + } + toFilePath(opts) { + let t258; + let windows = opts && 'windows' in opts ? opts.windows : null; + if (this.scheme !== "" && this.scheme !== "file") { + dart.throw(new core.UnsupportedError.new("Cannot extract a file path from a " + dart.str(this.scheme) + " URI")); + } + if (this.query !== "") { + dart.throw(new core.UnsupportedError.new("Cannot extract a file path from a URI with a query component")); + } + if (this.fragment !== "") { + dart.throw(new core.UnsupportedError.new("Cannot extract a file path from a URI with a fragment component")); + } + return dart.test((t258 = windows, t258 == null ? core._Uri._isWindows : t258)) ? core._Uri._toWindowsFilePath(this) : this[_toFilePath](); + } + [_toFilePath]() { + if (dart.test(this.hasAuthority) && this.host !== "") { + dart.throw(new core.UnsupportedError.new("Cannot extract a non-Windows file path from a file URI " + "with an authority")); + } + let pathSegments = this.pathSegments; + core._Uri._checkNonWindowsPathReservedCharacters(pathSegments, false); + let result = new core.StringBuffer.new(); + if (dart.test(this.hasAbsolutePath)) result.write("/"); + result.writeAll(pathSegments, "/"); + return result.toString(); + } + static _toWindowsFilePath(uri) { + if (uri == null) dart.nullFailed(I[175], 2664, 40, "uri"); + let hasDriveLetter = false; + let segments = uri.pathSegments; + if (dart.notNull(segments[$length]) > 0 && segments[$_get](0).length === 2 && segments[$_get](0)[$codeUnitAt](1) === 58) { + core._Uri._checkWindowsDriveLetter(segments[$_get](0)[$codeUnitAt](0), false); + core._Uri._checkWindowsPathReservedCharacters(segments, false, 1); + hasDriveLetter = true; + } else { + core._Uri._checkWindowsPathReservedCharacters(segments, false, 0); + } + let result = new core.StringBuffer.new(); + if (dart.test(uri.hasAbsolutePath) && !hasDriveLetter) result.write("\\"); + if (dart.test(uri.hasAuthority)) { + let host = uri.host; + if (host[$isNotEmpty]) { + result.write("\\"); + result.write(host); + result.write("\\"); + } + } + result.writeAll(segments, "\\"); + if (hasDriveLetter && segments[$length] === 1) result.write("\\"); + return result.toString(); + } + [_writeAuthority](ss) { + if (ss == null) dart.nullFailed(I[175], 2691, 35, "ss"); + if (this[_userInfo$][$isNotEmpty]) { + ss.write(this[_userInfo$]); + ss.write("@"); + } + if (this[_host$] != null) ss.write(this[_host$]); + if (this[_port$] != null) { + ss.write(":"); + ss.write(this[_port$]); + } + } + get data() { + return this.scheme === "data" ? core.UriData.fromUri(this) : null; + } + toString() { + return this[_text$]; + } + [_initializeText]() { + let t258, t258$, t258$0; + let sb = new core.StringBuffer.new(); + if (this.scheme[$isNotEmpty]) { + t258 = sb; + (() => { + t258.write(this.scheme); + t258.write(":"); + return t258; + })(); + } + if (dart.test(this.hasAuthority) || this.scheme === "file") { + sb.write("//"); + this[_writeAuthority](sb); + } + sb.write(this.path); + if (this[_query$] != null) { + t258$ = sb; + (() => { + t258$.write("?"); + t258$.write(this[_query$]); + return t258$; + })(); + } + if (this[_fragment$] != null) { + t258$0 = sb; + (() => { + t258$0.write("#"); + t258$0.write(this[_fragment$]); + return t258$0; + })(); + } + return sb.toString(); + } + _equals(other) { + if (other == null) return false; + if (this === other) return true; + return core.Uri.is(other) && this.scheme == other.scheme && this.hasAuthority == other.hasAuthority && this.userInfo == other.userInfo && this.host == other.host && this.port == other.port && this.path == other.path && this.hasQuery == other.hasQuery && this.query == other.query && this.hasFragment == other.hasFragment && this.fragment == other.fragment; + } + static _createList() { + return T$.JSArrayOfString().of([]); + } + static _splitQueryStringAll(query, opts) { + if (query == null) dart.nullFailed(I[175], 2745, 64, "query"); + let encoding = opts && 'encoding' in opts ? opts.encoding : C[108] || CT.C108; + if (encoding == null) dart.nullFailed(I[175], 2746, 17, "encoding"); + let result = new (T$0.IdentityMapOfString$ListOfString()).new(); + let i = 0; + let start = 0; + let equalsIndex = -1; + function parsePair(start, equalsIndex, end) { + if (start == null) dart.nullFailed(I[175], 2752, 24, "start"); + if (equalsIndex == null) dart.nullFailed(I[175], 2752, 35, "equalsIndex"); + if (end == null) dart.nullFailed(I[175], 2752, 52, "end"); + let key = null; + let value = null; + if (start == end) return; + if (dart.notNull(equalsIndex) < 0) { + key = core._Uri._uriDecode(query, start, end, encoding, true); + value = ""; + } else { + key = core._Uri._uriDecode(query, start, equalsIndex, encoding, true); + value = core._Uri._uriDecode(query, dart.notNull(equalsIndex) + 1, end, encoding, true); + } + result[$putIfAbsent](key, C[432] || CT.C432)[$add](value); + } + dart.fn(parsePair, T$0.intAndintAndintTovoid()); + while (i < query.length) { + let char = query[$codeUnitAt](i); + if (char === 61) { + if (equalsIndex < 0) equalsIndex = i; + } else if (char === 38) { + parsePair(start, equalsIndex, i); + start = i + 1; + equalsIndex = -1; + } + i = i + 1; + } + parsePair(start, equalsIndex, i); + return result; + } + static _uriEncode(canonicalTable, text, encoding, spaceToPlus) { + if (canonicalTable == null) dart.nullFailed(I[7], 876, 38, "canonicalTable"); + if (text == null) dart.nullFailed(I[7], 876, 61, "text"); + if (encoding == null) dart.nullFailed(I[7], 877, 16, "encoding"); + if (spaceToPlus == null) dart.nullFailed(I[7], 877, 31, "spaceToPlus"); + if (encoding == convert.utf8 && dart.test(core._Uri._needsNoEncoding.hasMatch(text))) { + return text; + } + let result = new core.StringBuffer.new(""); + let bytes = encoding.encode(text); + for (let i = 0; i < dart.notNull(bytes[$length]); i = i + 1) { + let byte = bytes[$_get](i); + if (dart.notNull(byte) < 128 && (dart.notNull(canonicalTable[$_get](byte[$rightShift](4))) & 1 << (dart.notNull(byte) & 15)) !== 0) { + result.writeCharCode(byte); + } else if (dart.test(spaceToPlus) && byte === 32) { + result.write("+"); + } else { + result.write("%"); + result.write("0123456789ABCDEF"[$_get](dart.notNull(byte) >> 4 & 15)); + result.write("0123456789ABCDEF"[$_get](dart.notNull(byte) & 15)); + } + } + return result.toString(); + } + static _hexCharPairToByte(s, pos) { + if (s == null) dart.nullFailed(I[175], 2786, 40, "s"); + if (pos == null) dart.nullFailed(I[175], 2786, 47, "pos"); + let byte = 0; + for (let i = 0; i < 2; i = i + 1) { + let charCode = s[$codeUnitAt](dart.notNull(pos) + i); + if (48 <= charCode && charCode <= 57) { + byte = byte * 16 + charCode - 48; + } else { + charCode = (charCode | 32) >>> 0; + if (97 <= charCode && charCode <= 102) { + byte = byte * 16 + charCode - 87; + } else { + dart.throw(new core.ArgumentError.new("Invalid URL encoding")); + } + } + } + return byte; + } + static _uriDecode(text, start, end, encoding, plusToSpace) { + if (text == null) dart.nullFailed(I[175], 2816, 14, "text"); + if (start == null) dart.nullFailed(I[175], 2816, 24, "start"); + if (end == null) dart.nullFailed(I[175], 2816, 35, "end"); + if (encoding == null) dart.nullFailed(I[175], 2816, 49, "encoding"); + if (plusToSpace == null) dart.nullFailed(I[175], 2816, 64, "plusToSpace"); + if (!(0 <= dart.notNull(start))) dart.assertFailed(null, I[175], 2817, 12, "0 <= start"); + if (!(dart.notNull(start) <= dart.notNull(end))) dart.assertFailed(null, I[175], 2818, 12, "start <= end"); + if (!(dart.notNull(end) <= text.length)) dart.assertFailed(null, I[175], 2819, 12, "end <= text.length"); + let simple = true; + for (let i = start; dart.notNull(i) < dart.notNull(end); i = dart.notNull(i) + 1) { + let codeUnit = text[$codeUnitAt](i); + if (codeUnit > 127 || codeUnit === 37 || dart.test(plusToSpace) && codeUnit === 43) { + simple = false; + break; + } + } + let bytes = null; + if (simple) { + if (dart.equals(convert.utf8, encoding) || dart.equals(convert.latin1, encoding) || dart.equals(convert.ascii, encoding)) { + return text[$substring](start, end); + } else { + bytes = text[$substring](start, end)[$codeUnits]; + } + } else { + bytes = T$.JSArrayOfint().of([]); + for (let i = start; dart.notNull(i) < dart.notNull(end); i = dart.notNull(i) + 1) { + let codeUnit = text[$codeUnitAt](i); + if (codeUnit > 127) { + dart.throw(new core.ArgumentError.new("Illegal percent encoding in URI")); + } + if (codeUnit === 37) { + if (dart.notNull(i) + 3 > text.length) { + dart.throw(new core.ArgumentError.new("Truncated URI")); + } + bytes[$add](core._Uri._hexCharPairToByte(text, dart.notNull(i) + 1)); + i = dart.notNull(i) + 2; + } else if (dart.test(plusToSpace) && codeUnit === 43) { + bytes[$add](32); + } else { + bytes[$add](codeUnit); + } + } + } + return encoding.decode(bytes); + } + static _isAlphabeticCharacter(codeUnit) { + if (codeUnit == null) dart.nullFailed(I[175], 2861, 42, "codeUnit"); + let lowerCase = (dart.notNull(codeUnit) | 32) >>> 0; + return 97 <= lowerCase && lowerCase <= 122; + } + static _isUnreservedChar(char) { + if (char == null) dart.nullFailed(I[175], 2866, 37, "char"); + return dart.notNull(char) < 127 && (dart.notNull(core._Uri._unreservedTable[$_get](char[$rightShift](4))) & 1 << (dart.notNull(char) & 15)) !== 0; + } +}; +(core._Uri._internal = function(scheme, _userInfo, _host, _port, path, _query, _fragment) { + if (scheme == null) dart.nullFailed(I[175], 1347, 23, "scheme"); + if (_userInfo == null) dart.nullFailed(I[175], 1347, 36, "_userInfo"); + if (path == null) dart.nullFailed(I[175], 1347, 76, "path"); + this[___Uri__text] = null; + this[___Uri__text_isSet] = false; + this[___Uri_pathSegments] = null; + this[___Uri_pathSegments_isSet] = false; + this[___Uri_hashCode] = null; + this[___Uri_hashCode_isSet] = false; + this[___Uri_queryParameters] = null; + this[___Uri_queryParameters_isSet] = false; + this[___Uri_queryParametersAll] = null; + this[___Uri_queryParametersAll_isSet] = false; + this.scheme = scheme; + this[_userInfo$] = _userInfo; + this[_host$] = _host; + this[_port$] = _port; + this.path = path; + this[_query$] = _query; + this[_fragment$] = _fragment; + ; +}).prototype = core._Uri.prototype; +dart.addTypeTests(core._Uri); +dart.addTypeCaches(core._Uri); +core._Uri[dart.implements] = () => [core.Uri]; +dart.setMethodSignature(core._Uri, () => ({ + __proto__: dart.getMethods(core._Uri.__proto__), + isScheme: dart.fnType(core.bool, [core.String]), + replace: dart.fnType(core.Uri, [], {fragment: dart.nullable(core.String), host: dart.nullable(core.String), path: dart.nullable(core.String), pathSegments: dart.nullable(core.Iterable$(core.String)), port: dart.nullable(core.int), query: dart.nullable(core.String), queryParameters: dart.nullable(core.Map$(core.String, dart.dynamic)), scheme: dart.nullable(core.String), userInfo: dart.nullable(core.String)}, {}), + removeFragment: dart.fnType(core.Uri, []), + normalizePath: dart.fnType(core.Uri, []), + [_mergePaths]: dart.fnType(core.String, [core.String, core.String]), + resolve: dart.fnType(core.Uri, [core.String]), + resolveUri: dart.fnType(core.Uri, [core.Uri]), + toFilePath: dart.fnType(core.String, [], {windows: dart.nullable(core.bool)}, {}), + [_toFilePath]: dart.fnType(core.String, []), + [_writeAuthority]: dart.fnType(dart.void, [core.StringSink]), + [_initializeText]: dart.fnType(core.String, []) +})); +dart.setGetterSignature(core._Uri, () => ({ + __proto__: dart.getGetters(core._Uri.__proto__), + [_text$]: core.String, + pathSegments: core.List$(core.String), + queryParameters: core.Map$(core.String, core.String), + queryParametersAll: core.Map$(core.String, core.List$(core.String)), + authority: core.String, + userInfo: core.String, + host: core.String, + port: core.int, + query: core.String, + fragment: core.String, + isAbsolute: core.bool, + hasScheme: core.bool, + hasAuthority: core.bool, + hasPort: core.bool, + hasQuery: core.bool, + hasFragment: core.bool, + hasEmptyPath: core.bool, + hasAbsolutePath: core.bool, + origin: core.String, + data: dart.nullable(core.UriData) +})); +dart.setLibraryUri(core._Uri, I[8]); +dart.setFieldSignature(core._Uri, () => ({ + __proto__: dart.getFields(core._Uri.__proto__), + scheme: dart.finalFieldType(core.String), + [_userInfo$]: dart.finalFieldType(core.String), + [_host$]: dart.finalFieldType(dart.nullable(core.String)), + [_port$]: dart.fieldType(dart.nullable(core.int)), + path: dart.finalFieldType(core.String), + [_query$]: dart.finalFieldType(dart.nullable(core.String)), + [_fragment$]: dart.finalFieldType(dart.nullable(core.String)), + [___Uri__text]: dart.fieldType(dart.nullable(core.String)), + [___Uri__text_isSet]: dart.fieldType(core.bool), + [___Uri_pathSegments]: dart.fieldType(dart.nullable(core.List$(core.String))), + [___Uri_pathSegments_isSet]: dart.fieldType(core.bool), + [___Uri_hashCode]: dart.fieldType(dart.nullable(core.int)), + [___Uri_hashCode_isSet]: dart.fieldType(core.bool), + [___Uri_queryParameters]: dart.fieldType(dart.nullable(core.Map$(core.String, core.String))), + [___Uri_queryParameters_isSet]: dart.fieldType(core.bool), + [___Uri_queryParametersAll]: dart.fieldType(dart.nullable(core.Map$(core.String, core.List$(core.String)))), + [___Uri_queryParametersAll_isSet]: dart.fieldType(core.bool) +})); +dart.defineExtensionMethods(core._Uri, ['toString', '_equals']); +dart.defineExtensionAccessors(core._Uri, ['hashCode']); +dart.defineLazy(core._Uri, { + /*core._Uri._isWindowsCached*/get _isWindowsCached() { + return typeof process != "undefined" && Object.prototype.toString.call(process) == "[object process]" && process.platform == "win32"; + }, + /*core._Uri._needsNoEncoding*/get _needsNoEncoding() { + return core.RegExp.new("^[\\-\\.0-9A-Z_a-z~]*$"); + }, + /*core._Uri._unreservedTable*/get _unreservedTable() { + return C[433] || CT.C433; + }, + /*core._Uri._unreserved2396Table*/get _unreserved2396Table() { + return C[434] || CT.C434; + }, + /*core._Uri._encodeFullTable*/get _encodeFullTable() { + return C[435] || CT.C435; + }, + /*core._Uri._schemeTable*/get _schemeTable() { + return C[436] || CT.C436; + }, + /*core._Uri._genDelimitersTable*/get _genDelimitersTable() { + return C[437] || CT.C437; + }, + /*core._Uri._userinfoTable*/get _userinfoTable() { + return C[438] || CT.C438; + }, + /*core._Uri._regNameTable*/get _regNameTable() { + return C[439] || CT.C439; + }, + /*core._Uri._pathCharTable*/get _pathCharTable() { + return C[440] || CT.C440; + }, + /*core._Uri._pathCharOrSlashTable*/get _pathCharOrSlashTable() { + return C[441] || CT.C441; + }, + /*core._Uri._queryCharTable*/get _queryCharTable() { + return C[442] || CT.C442; + }, + /*core._Uri._zoneIDTable*/get _zoneIDTable() { + return C[433] || CT.C433; + } +}, false); +var _separatorIndices$ = dart.privateName(core, "_separatorIndices"); +var _uriCache$ = dart.privateName(core, "_uriCache"); +var _computeUri = dart.privateName(core, "_computeUri"); +core.UriData = class UriData extends core.Object { + static fromString(content, opts) { + let t258; + if (content == null) dart.nullFailed(I[175], 3163, 37, "content"); + let mimeType = opts && 'mimeType' in opts ? opts.mimeType : null; + let encoding = opts && 'encoding' in opts ? opts.encoding : null; + let parameters = opts && 'parameters' in opts ? opts.parameters : null; + let base64 = opts && 'base64' in opts ? opts.base64 : false; + if (base64 == null) dart.nullFailed(I[175], 3167, 12, "base64"); + let buffer = new core.StringBuffer.new(); + let indices = T$.JSArrayOfint().of([-1]); + let charsetName = (t258 = parameters, t258 == null ? null : t258[$_get]("charset")); + let encodingName = null; + if (encoding == null) { + if (charsetName != null) { + encoding = convert.Encoding.getByName(charsetName); + } + } else if (charsetName == null) { + encodingName = encoding.name; + } + encoding == null ? encoding = convert.ascii : null; + core.UriData._writeUri(mimeType, encodingName, parameters, buffer, indices); + indices[$add](buffer.length); + if (dart.test(base64)) { + buffer.write(";base64,"); + indices[$add](dart.notNull(buffer.length) - 1); + buffer.write(encoding.fuse(core.String, core.UriData._base64).encode(content)); + } else { + buffer.write(","); + core.UriData._uriEncodeBytes(core.UriData._uricTable, encoding.encode(content), buffer); + } + return new core.UriData.__(buffer.toString(), indices, null); + } + static fromBytes(bytes, opts) { + if (bytes == null) dart.nullFailed(I[175], 3198, 39, "bytes"); + let mimeType = opts && 'mimeType' in opts ? opts.mimeType : "application/octet-stream"; + if (mimeType == null) dart.nullFailed(I[175], 3199, 15, "mimeType"); + let parameters = opts && 'parameters' in opts ? opts.parameters : null; + let percentEncoded = opts && 'percentEncoded' in opts ? opts.percentEncoded : false; + if (percentEncoded == null) dart.nullFailed(I[175], 3201, 12, "percentEncoded"); + let buffer = new core.StringBuffer.new(); + let indices = T$.JSArrayOfint().of([-1]); + core.UriData._writeUri(mimeType, null, parameters, buffer, indices); + indices[$add](buffer.length); + if (dart.test(percentEncoded)) { + buffer.write(","); + core.UriData._uriEncodeBytes(core.UriData._uricTable, bytes, buffer); + } else { + buffer.write(";base64,"); + indices[$add](dart.notNull(buffer.length) - 1); + core.UriData._base64.encoder.startChunkedConversion(new (T$0._StringSinkConversionSinkOfStringSink()).new(buffer)).addSlice(bytes, 0, bytes[$length], true); + } + return new core.UriData.__(buffer.toString(), indices, null); + } + static fromUri(uri) { + if (uri == null) dart.nullFailed(I[175], 3225, 31, "uri"); + if (uri.scheme !== "data") { + dart.throw(new core.ArgumentError.value(uri, "uri", "Scheme must be 'data'")); + } + if (dart.test(uri.hasAuthority)) { + dart.throw(new core.ArgumentError.value(uri, "uri", "Data uri must not have authority")); + } + if (dart.test(uri.hasFragment)) { + dart.throw(new core.ArgumentError.value(uri, "uri", "Data uri must not have a fragment part")); + } + if (!dart.test(uri.hasQuery)) { + return core.UriData._parse(uri.path, 0, uri); + } + return core.UriData._parse(dart.toString(uri), 5, uri); + } + static _writeUri(mimeType, charsetName, parameters, buffer, indices) { + let t258, t258$; + if (buffer == null) dart.nullFailed(I[175], 3253, 20, "buffer"); + if (mimeType == null || mimeType === "text/plain") { + mimeType = ""; + } + if (mimeType[$isEmpty] || mimeType === "application/octet-stream") { + buffer.write(mimeType); + } else { + let slashIndex = core.UriData._validateMimeType(mimeType); + if (dart.notNull(slashIndex) < 0) { + dart.throw(new core.ArgumentError.value(mimeType, "mimeType", "Invalid MIME type")); + } + buffer.write(core._Uri._uriEncode(core.UriData._tokenCharTable, mimeType[$substring](0, slashIndex), convert.utf8, false)); + buffer.write("/"); + buffer.write(core._Uri._uriEncode(core.UriData._tokenCharTable, mimeType[$substring](dart.notNull(slashIndex) + 1), convert.utf8, false)); + } + if (charsetName != null) { + if (indices != null) { + t258 = indices; + (() => { + t258[$add](buffer.length); + t258[$add](dart.notNull(buffer.length) + 8); + return t258; + })(); + } + buffer.write(";charset="); + buffer.write(core._Uri._uriEncode(core.UriData._tokenCharTable, charsetName, convert.utf8, false)); + } + t258$ = parameters; + t258$ == null ? null : t258$[$forEach](dart.fn((key, value) => { + let t259, t259$; + if (key == null) dart.nullFailed(I[175], 3278, 26, "key"); + if (value == null) dart.nullFailed(I[175], 3278, 31, "value"); + if (key[$isEmpty]) { + dart.throw(new core.ArgumentError.value("", "Parameter names must not be empty")); + } + if (value[$isEmpty]) { + dart.throw(new core.ArgumentError.value("", "Parameter values must not be empty", "parameters[\"" + dart.str(key) + "\"]")); + } + t259 = indices; + t259 == null ? null : t259[$add](buffer.length); + buffer.write(";"); + buffer.write(core._Uri._uriEncode(core.UriData._tokenCharTable, key, convert.utf8, false)); + t259$ = indices; + t259$ == null ? null : t259$[$add](buffer.length); + buffer.write("="); + buffer.write(core._Uri._uriEncode(core.UriData._tokenCharTable, value, convert.utf8, false)); + }, T$0.StringAndStringTovoid())); + } + static _validateMimeType(mimeType) { + if (mimeType == null) dart.nullFailed(I[175], 3303, 39, "mimeType"); + let slashIndex = -1; + for (let i = 0; i < mimeType.length; i = i + 1) { + let char = mimeType[$codeUnitAt](i); + if (char !== 47) continue; + if (slashIndex < 0) { + slashIndex = i; + continue; + } + return -1; + } + return slashIndex; + } + static parse(uri) { + if (uri == null) dart.nullFailed(I[175], 3343, 31, "uri"); + if (uri.length >= 5) { + let dataDelta = core._startsWithData(uri, 0); + if (dataDelta === 0) { + return core.UriData._parse(uri, 5, null); + } + if (dataDelta === 32) { + return core.UriData._parse(uri[$substring](5), 0, null); + } + } + dart.throw(new core.FormatException.new("Does not start with 'data:'", uri, 0)); + } + get uri() { + let t258; + t258 = this[_uriCache$]; + return t258 == null ? this[_uriCache$] = this[_computeUri]() : t258; + } + [_computeUri]() { + let path = this[_text$]; + let query = null; + let colonIndex = this[_separatorIndices$][$_get](0); + let queryIndex = this[_text$][$indexOf]("?", dart.notNull(colonIndex) + 1); + let end = this[_text$].length; + if (queryIndex >= 0) { + query = core._Uri._normalizeOrSubstring(this[_text$], queryIndex + 1, end, core._Uri._queryCharTable); + end = queryIndex; + } + path = core._Uri._normalizeOrSubstring(this[_text$], dart.notNull(colonIndex) + 1, end, core._Uri._pathCharOrSlashTable); + return new core._DataUri.new(this, path, query); + } + get mimeType() { + let start = dart.notNull(this[_separatorIndices$][$_get](0)) + 1; + let end = this[_separatorIndices$][$_get](1); + if (start === end) return "text/plain"; + return core._Uri._uriDecode(this[_text$], start, end, convert.utf8, false); + } + get charset() { + let parameterStart = 1; + let parameterEnd = dart.notNull(this[_separatorIndices$][$length]) - 1; + if (dart.test(this.isBase64)) { + parameterEnd = parameterEnd - 1; + } + for (let i = parameterStart; i < parameterEnd; i = i + 2) { + let keyStart = dart.notNull(this[_separatorIndices$][$_get](i)) + 1; + let keyEnd = this[_separatorIndices$][$_get](i + 1); + if (keyEnd === keyStart + 7 && this[_text$][$startsWith]("charset", keyStart)) { + return core._Uri._uriDecode(this[_text$], dart.notNull(keyEnd) + 1, this[_separatorIndices$][$_get](i + 2), convert.utf8, false); + } + } + return "US-ASCII"; + } + get isBase64() { + return this[_separatorIndices$][$length][$isOdd]; + } + get contentText() { + return this[_text$][$substring](dart.notNull(this[_separatorIndices$][$last]) + 1); + } + contentAsBytes() { + let t258, t258$; + let text = this[_text$]; + let start = dart.notNull(this[_separatorIndices$][$last]) + 1; + if (dart.test(this.isBase64)) { + return convert.base64.decoder.convert(text, start); + } + let length = text.length - start; + for (let i = start; i < text.length; i = i + 1) { + let codeUnit = text[$codeUnitAt](i); + if (codeUnit === 37) { + i = i + 2; + length = length - 2; + } + } + let result = _native_typed_data.NativeUint8List.new(length); + if (length === text.length) { + result[$setRange](0, length, text[$codeUnits], start); + return result; + } + let index = 0; + for (let i = start; i < text.length; i = i + 1) { + let codeUnit = text[$codeUnitAt](i); + if (codeUnit !== 37) { + result[$_set]((t258 = index, index = t258 + 1, t258), codeUnit); + } else { + if (i + 2 < text.length) { + let byte = _internal.parseHexByte(text, i + 1); + if (dart.notNull(byte) >= 0) { + result[$_set]((t258$ = index, index = t258$ + 1, t258$), byte); + i = i + 2; + continue; + } + } + dart.throw(new core.FormatException.new("Invalid percent escape", text, i)); + } + } + if (!(index === result[$length])) dart.assertFailed(null, I[175], 3491, 12, "index == result.length"); + return result; + } + contentAsString(opts) { + let encoding = opts && 'encoding' in opts ? opts.encoding : null; + if (encoding == null) { + let charset = this.charset; + encoding = convert.Encoding.getByName(charset); + if (encoding == null) { + dart.throw(new core.UnsupportedError.new("Unknown charset: " + dart.str(charset))); + } + } + let text = this[_text$]; + let start = dart.notNull(this[_separatorIndices$][$last]) + 1; + if (dart.test(this.isBase64)) { + let converter = convert.base64.decoder.fuse(core.String, encoding.decoder); + return converter.convert(text[$substring](start)); + } + return core._Uri._uriDecode(text, start, text.length, encoding, false); + } + get parameters() { + let result = new (T$.IdentityMapOfString$String()).new(); + for (let i = 3; i < dart.notNull(this[_separatorIndices$][$length]); i = i + 2) { + let start = dart.notNull(this[_separatorIndices$][$_get](i - 2)) + 1; + let equals = this[_separatorIndices$][$_get](i - 1); + let end = this[_separatorIndices$][$_get](i); + let key = core._Uri._uriDecode(this[_text$], start, equals, convert.utf8, false); + let value = core._Uri._uriDecode(this[_text$], dart.notNull(equals) + 1, end, convert.utf8, false); + result[$_set](key, value); + } + return result; + } + static _parse(text, start, sourceUri) { + if (text == null) dart.nullFailed(I[175], 3549, 32, "text"); + if (start == null) dart.nullFailed(I[175], 3549, 42, "start"); + if (!(start === 0 || start === 5)) dart.assertFailed(null, I[175], 3550, 12, "start == 0 || start == 5"); + if (!(start === 5 === text[$startsWith]("data:"))) dart.assertFailed(null, I[175], 3551, 12, "(start == 5) == text.startsWith(\"data:\")"); + let indices = T$.JSArrayOfint().of([dart.notNull(start) - 1]); + let slashIndex = -1; + let char = null; + let i = start; + for (; dart.notNull(i) < text.length; i = dart.notNull(i) + 1) { + char = text[$codeUnitAt](i); + if (dart.equals(char, 44) || dart.equals(char, 59)) break; + if (dart.equals(char, 47)) { + if (dart.notNull(slashIndex) < 0) { + slashIndex = i; + continue; + } + dart.throw(new core.FormatException.new("Invalid MIME type", text, i)); + } + } + if (dart.notNull(slashIndex) < 0 && dart.notNull(i) > dart.notNull(start)) { + dart.throw(new core.FormatException.new("Invalid MIME type", text, i)); + } + while (!dart.equals(char, 44)) { + indices[$add](i); + i = dart.notNull(i) + 1; + let equalsIndex = -1; + for (; dart.notNull(i) < text.length; i = dart.notNull(i) + 1) { + char = text[$codeUnitAt](i); + if (dart.equals(char, 61)) { + if (dart.notNull(equalsIndex) < 0) equalsIndex = i; + } else if (dart.equals(char, 59) || dart.equals(char, 44)) { + break; + } + } + if (dart.notNull(equalsIndex) >= 0) { + indices[$add](equalsIndex); + } else { + let lastSeparator = indices[$last]; + if (!dart.equals(char, 44) || i !== dart.notNull(lastSeparator) + 7 || !text[$startsWith]("base64", dart.notNull(lastSeparator) + 1)) { + dart.throw(new core.FormatException.new("Expecting '='", text, i)); + } + break; + } + } + indices[$add](i); + let isBase64 = indices[$length][$isOdd]; + if (isBase64) { + text = convert.base64.normalize(text, dart.notNull(i) + 1, text.length); + } else { + let data = core._Uri._normalize(text, dart.notNull(i) + 1, text.length, core.UriData._uricTable, {escapeDelimiters: true}); + if (data != null) { + text = text[$replaceRange](dart.notNull(i) + 1, text.length, data); + } + } + return new core.UriData.__(text, indices, sourceUri); + } + static _uriEncodeBytes(canonicalTable, bytes, buffer) { + if (canonicalTable == null) dart.nullFailed(I[175], 3625, 17, "canonicalTable"); + if (bytes == null) dart.nullFailed(I[175], 3625, 43, "bytes"); + if (buffer == null) dart.nullFailed(I[175], 3625, 61, "buffer"); + let byteOr = 0; + for (let i = 0; i < dart.notNull(bytes[$length]); i = i + 1) { + let byte = bytes[$_get](i); + byteOr = (byteOr | dart.notNull(byte)) >>> 0; + if (dart.notNull(byte) < 128 && (dart.notNull(canonicalTable[$_get](byte[$rightShift](4))) & 1 << (dart.notNull(byte) & 15)) !== 0) { + buffer.writeCharCode(byte); + } else { + buffer.writeCharCode(37); + buffer.writeCharCode("0123456789ABCDEF"[$codeUnitAt](byte[$rightShift](4))); + buffer.writeCharCode("0123456789ABCDEF"[$codeUnitAt](dart.notNull(byte) & 15)); + } + } + if ((byteOr & ~255 >>> 0) !== 0) { + for (let i = 0; i < dart.notNull(bytes[$length]); i = i + 1) { + let byte = bytes[$_get](i); + if (dart.notNull(byte) < 0 || dart.notNull(byte) > 255) { + dart.throw(new core.ArgumentError.value(byte, "non-byte value")); + } + } + } + } + toString() { + return this[_separatorIndices$][$_get](0) === -1 ? "data:" + dart.str(this[_text$]) : this[_text$]; + } +}; +(core.UriData.__ = function(_text, _separatorIndices, _uriCache) { + if (_text == null) dart.nullFailed(I[175], 3154, 18, "_text"); + if (_separatorIndices == null) dart.nullFailed(I[175], 3154, 30, "_separatorIndices"); + this[_text$] = _text; + this[_separatorIndices$] = _separatorIndices; + this[_uriCache$] = _uriCache; + ; +}).prototype = core.UriData.prototype; +dart.addTypeTests(core.UriData); +dart.addTypeCaches(core.UriData); +dart.setMethodSignature(core.UriData, () => ({ + __proto__: dart.getMethods(core.UriData.__proto__), + [_computeUri]: dart.fnType(core.Uri, []), + contentAsBytes: dart.fnType(typed_data.Uint8List, []), + contentAsString: dart.fnType(core.String, [], {encoding: dart.nullable(convert.Encoding)}, {}) +})); +dart.setGetterSignature(core.UriData, () => ({ + __proto__: dart.getGetters(core.UriData.__proto__), + uri: core.Uri, + mimeType: core.String, + charset: core.String, + isBase64: core.bool, + contentText: core.String, + parameters: core.Map$(core.String, core.String) +})); +dart.setLibraryUri(core.UriData, I[8]); +dart.setFieldSignature(core.UriData, () => ({ + __proto__: dart.getFields(core.UriData.__proto__), + [_text$]: dart.finalFieldType(core.String), + [_separatorIndices$]: dart.finalFieldType(core.List$(core.int)), + [_uriCache$]: dart.fieldType(dart.nullable(core.Uri)) +})); +dart.defineExtensionMethods(core.UriData, ['toString']); +dart.defineLazy(core.UriData, { + /*core.UriData._noScheme*/get _noScheme() { + return -1; + }, + /*core.UriData._base64*/get _base64() { + return C[103] || CT.C103; + }, + /*core.UriData._tokenCharTable*/get _tokenCharTable() { + return C[443] || CT.C443; + }, + /*core.UriData._uricTable*/get _uricTable() { + return C[442] || CT.C442; + } +}, false); +var _hashCodeCache = dart.privateName(core, "_hashCodeCache"); +var _uri$ = dart.privateName(core, "_uri"); +var _schemeEnd$ = dart.privateName(core, "_schemeEnd"); +var _hostStart$ = dart.privateName(core, "_hostStart"); +var _portStart$ = dart.privateName(core, "_portStart"); +var _pathStart$ = dart.privateName(core, "_pathStart"); +var _queryStart$ = dart.privateName(core, "_queryStart"); +var _fragmentStart$ = dart.privateName(core, "_fragmentStart"); +var _schemeCache$ = dart.privateName(core, "_schemeCache"); +var _isFile = dart.privateName(core, "_isFile"); +var _isHttp = dart.privateName(core, "_isHttp"); +var _isHttps = dart.privateName(core, "_isHttps"); +var _isPackage = dart.privateName(core, "_isPackage"); +var _isScheme = dart.privateName(core, "_isScheme"); +var _computeScheme = dart.privateName(core, "_computeScheme"); +var _isPort = dart.privateName(core, "_isPort"); +var _simpleMerge = dart.privateName(core, "_simpleMerge"); +var _toNonSimple = dart.privateName(core, "_toNonSimple"); +core._SimpleUri = class _SimpleUri extends core.Object { + get hasScheme() { + return dart.notNull(this[_schemeEnd$]) > 0; + } + get hasAuthority() { + return dart.notNull(this[_hostStart$]) > 0; + } + get hasUserInfo() { + return dart.notNull(this[_hostStart$]) > dart.notNull(this[_schemeEnd$]) + 4; + } + get hasPort() { + return dart.notNull(this[_hostStart$]) > 0 && dart.notNull(this[_portStart$]) + 1 < dart.notNull(this[_pathStart$]); + } + get hasQuery() { + return dart.notNull(this[_queryStart$]) < dart.notNull(this[_fragmentStart$]); + } + get hasFragment() { + return dart.notNull(this[_fragmentStart$]) < this[_uri$].length; + } + get [_isFile]() { + return this[_schemeEnd$] === 4 && this[_uri$][$startsWith]("file"); + } + get [_isHttp]() { + return this[_schemeEnd$] === 4 && this[_uri$][$startsWith]("http"); + } + get [_isHttps]() { + return this[_schemeEnd$] === 5 && this[_uri$][$startsWith]("https"); + } + get [_isPackage]() { + return this[_schemeEnd$] === 7 && this[_uri$][$startsWith]("package"); + } + [_isScheme](scheme) { + if (scheme == null) dart.nullFailed(I[175], 4118, 25, "scheme"); + return this[_schemeEnd$] === scheme.length && this[_uri$][$startsWith](scheme); + } + get hasAbsolutePath() { + return this[_uri$][$startsWith]("/", this[_pathStart$]); + } + get hasEmptyPath() { + return this[_pathStart$] == this[_queryStart$]; + } + get isAbsolute() { + return dart.test(this.hasScheme) && !dart.test(this.hasFragment); + } + isScheme(scheme) { + if (scheme == null) dart.nullFailed(I[175], 4126, 24, "scheme"); + if (scheme == null || scheme[$isEmpty]) return dart.notNull(this[_schemeEnd$]) < 0; + if (scheme.length !== this[_schemeEnd$]) return false; + return core._Uri._compareScheme(scheme, this[_uri$]); + } + get scheme() { + let t258; + t258 = this[_schemeCache$]; + return t258 == null ? this[_schemeCache$] = this[_computeScheme]() : t258; + } + [_computeScheme]() { + if (dart.notNull(this[_schemeEnd$]) <= 0) return ""; + if (dart.test(this[_isHttp])) return "http"; + if (dart.test(this[_isHttps])) return "https"; + if (dart.test(this[_isFile])) return "file"; + if (dart.test(this[_isPackage])) return "package"; + return this[_uri$][$substring](0, this[_schemeEnd$]); + } + get authority() { + return dart.notNull(this[_hostStart$]) > 0 ? this[_uri$][$substring](dart.notNull(this[_schemeEnd$]) + 3, this[_pathStart$]) : ""; + } + get userInfo() { + return dart.notNull(this[_hostStart$]) > dart.notNull(this[_schemeEnd$]) + 3 ? this[_uri$][$substring](dart.notNull(this[_schemeEnd$]) + 3, dart.notNull(this[_hostStart$]) - 1) : ""; + } + get host() { + return dart.notNull(this[_hostStart$]) > 0 ? this[_uri$][$substring](this[_hostStart$], this[_portStart$]) : ""; + } + get port() { + if (dart.test(this.hasPort)) return core.int.parse(this[_uri$][$substring](dart.notNull(this[_portStart$]) + 1, this[_pathStart$])); + if (dart.test(this[_isHttp])) return 80; + if (dart.test(this[_isHttps])) return 443; + return 0; + } + get path() { + return this[_uri$][$substring](this[_pathStart$], this[_queryStart$]); + } + get query() { + return dart.notNull(this[_queryStart$]) < dart.notNull(this[_fragmentStart$]) ? this[_uri$][$substring](dart.notNull(this[_queryStart$]) + 1, this[_fragmentStart$]) : ""; + } + get fragment() { + return dart.notNull(this[_fragmentStart$]) < this[_uri$].length ? this[_uri$][$substring](dart.notNull(this[_fragmentStart$]) + 1) : ""; + } + get origin() { + let isHttp = this[_isHttp]; + if (dart.notNull(this[_schemeEnd$]) < 0) { + dart.throw(new core.StateError.new("Cannot use origin without a scheme: " + dart.str(this))); + } + if (!dart.test(isHttp) && !dart.test(this[_isHttps])) { + dart.throw(new core.StateError.new("Origin is only applicable to schemes http and https: " + dart.str(this))); + } + if (this[_hostStart$] == this[_portStart$]) { + dart.throw(new core.StateError.new("A " + dart.str(this.scheme) + ": URI should have a non-empty host name: " + dart.str(this))); + } + if (this[_hostStart$] === dart.notNull(this[_schemeEnd$]) + 3) { + return this[_uri$][$substring](0, this[_pathStart$]); + } + return this[_uri$][$substring](0, dart.notNull(this[_schemeEnd$]) + 3) + this[_uri$][$substring](this[_hostStart$], this[_pathStart$]); + } + get pathSegments() { + let start = this[_pathStart$]; + let end = this[_queryStart$]; + if (this[_uri$][$startsWith]("/", start)) start = dart.notNull(start) + 1; + if (start == end) return C[404] || CT.C404; + let parts = T$.JSArrayOfString().of([]); + for (let i = start; dart.notNull(i) < dart.notNull(end); i = dart.notNull(i) + 1) { + let char = this[_uri$][$codeUnitAt](i); + if (char === 47) { + parts[$add](this[_uri$][$substring](start, i)); + start = dart.notNull(i) + 1; + } + } + parts[$add](this[_uri$][$substring](start, end)); + return T$.ListOfString().unmodifiable(parts); + } + get queryParameters() { + if (!dart.test(this.hasQuery)) return C[444] || CT.C444; + return new (T$0.UnmodifiableMapViewOfString$String()).new(core.Uri.splitQueryString(this.query)); + } + get queryParametersAll() { + if (!dart.test(this.hasQuery)) return C[430] || CT.C430; + let queryParameterLists = core._Uri._splitQueryStringAll(this.query); + queryParameterLists[$updateAll](C[431] || CT.C431); + return T$0.MapOfString$ListOfString().unmodifiable(queryParameterLists); + } + [_isPort](port) { + if (port == null) dart.nullFailed(I[175], 4218, 23, "port"); + let portDigitStart = dart.notNull(this[_portStart$]) + 1; + return portDigitStart + port.length === this[_pathStart$] && this[_uri$][$startsWith](port, portDigitStart); + } + normalizePath() { + return this; + } + removeFragment() { + if (!dart.test(this.hasFragment)) return this; + return new core._SimpleUri.new(this[_uri$][$substring](0, this[_fragmentStart$]), this[_schemeEnd$], this[_hostStart$], this[_portStart$], this[_pathStart$], this[_queryStart$], this[_fragmentStart$], this[_schemeCache$]); + } + replace(opts) { + let scheme = opts && 'scheme' in opts ? opts.scheme : null; + let userInfo = opts && 'userInfo' in opts ? opts.userInfo : null; + let host = opts && 'host' in opts ? opts.host : null; + let port = opts && 'port' in opts ? opts.port : null; + let path = opts && 'path' in opts ? opts.path : null; + let pathSegments = opts && 'pathSegments' in opts ? opts.pathSegments : null; + let query = opts && 'query' in opts ? opts.query : null; + let queryParameters = opts && 'queryParameters' in opts ? opts.queryParameters : null; + let fragment = opts && 'fragment' in opts ? opts.fragment : null; + let schemeChanged = false; + if (scheme != null) { + scheme = core._Uri._makeScheme(scheme, 0, scheme.length); + schemeChanged = !dart.test(this[_isScheme](scheme)); + } else { + scheme = this.scheme; + } + let isFile = scheme === "file"; + if (userInfo != null) { + userInfo = core._Uri._makeUserInfo(userInfo, 0, userInfo.length); + } else if (dart.notNull(this[_hostStart$]) > 0) { + userInfo = this[_uri$][$substring](dart.notNull(this[_schemeEnd$]) + 3, this[_hostStart$]); + } else { + userInfo = ""; + } + if (port != null) { + port = core._Uri._makePort(port, scheme); + } else { + port = dart.test(this.hasPort) ? this.port : null; + if (schemeChanged) { + port = core._Uri._makePort(port, scheme); + } + } + if (host != null) { + host = core._Uri._makeHost(host, 0, host.length, false); + } else if (dart.notNull(this[_hostStart$]) > 0) { + host = this[_uri$][$substring](this[_hostStart$], this[_portStart$]); + } else if (userInfo[$isNotEmpty] || port != null || isFile) { + host = ""; + } + let hasAuthority = host != null; + if (path != null || pathSegments != null) { + path = core._Uri._makePath(path, 0, core._stringOrNullLength(path), pathSegments, scheme, hasAuthority); + } else { + path = this[_uri$][$substring](this[_pathStart$], this[_queryStart$]); + if ((isFile || hasAuthority && !path[$isEmpty]) && !path[$startsWith]("/")) { + path = "/" + dart.notNull(path); + } + } + if (query != null || queryParameters != null) { + query = core._Uri._makeQuery(query, 0, core._stringOrNullLength(query), queryParameters); + } else if (dart.notNull(this[_queryStart$]) < dart.notNull(this[_fragmentStart$])) { + query = this[_uri$][$substring](dart.notNull(this[_queryStart$]) + 1, this[_fragmentStart$]); + } + if (fragment != null) { + fragment = core._Uri._makeFragment(fragment, 0, fragment.length); + } else if (dart.notNull(this[_fragmentStart$]) < this[_uri$].length) { + fragment = this[_uri$][$substring](dart.notNull(this[_fragmentStart$]) + 1); + } + return new core._Uri._internal(scheme, userInfo, host, port, path, query, fragment); + } + resolve(reference) { + if (reference == null) dart.nullFailed(I[175], 4302, 22, "reference"); + return this.resolveUri(core.Uri.parse(reference)); + } + resolveUri(reference) { + if (reference == null) dart.nullFailed(I[175], 4306, 22, "reference"); + if (core._SimpleUri.is(reference)) { + return this[_simpleMerge](this, reference); + } + return this[_toNonSimple]().resolveUri(reference); + } + static _packageNameEnd(uri) { + if (uri == null) dart.nullFailed(I[175], 4323, 41, "uri"); + if (dart.test(uri[_isPackage]) && !dart.test(uri.hasAuthority)) { + return core._skipPackageNameChars(uri[_uri$], uri[_pathStart$], uri[_queryStart$]); + } + return -1; + } + [_simpleMerge](base, ref) { + if (base == null) dart.nullFailed(I[175], 4337, 31, "base"); + if (ref == null) dart.nullFailed(I[175], 4337, 48, "ref"); + if (dart.test(ref.hasScheme)) return ref; + if (dart.test(ref.hasAuthority)) { + if (!dart.test(base.hasScheme)) return ref; + let isSimple = true; + if (dart.test(base[_isFile])) { + isSimple = !dart.test(ref.hasEmptyPath); + } else if (dart.test(base[_isHttp])) { + isSimple = !dart.test(ref[_isPort]("80")); + } else if (dart.test(base[_isHttps])) { + isSimple = !dart.test(ref[_isPort]("443")); + } + if (isSimple) { + let delta = dart.notNull(base[_schemeEnd$]) + 1; + let newUri = base[_uri$][$substring](0, dart.notNull(base[_schemeEnd$]) + 1) + ref[_uri$][$substring](dart.notNull(ref[_schemeEnd$]) + 1); + return new core._SimpleUri.new(newUri, base[_schemeEnd$], dart.notNull(ref[_hostStart$]) + delta, dart.notNull(ref[_portStart$]) + delta, dart.notNull(ref[_pathStart$]) + delta, dart.notNull(ref[_queryStart$]) + delta, dart.notNull(ref[_fragmentStart$]) + delta, base[_schemeCache$]); + } else { + return this[_toNonSimple]().resolveUri(ref); + } + } + if (dart.test(ref.hasEmptyPath)) { + if (dart.test(ref.hasQuery)) { + let delta = dart.notNull(base[_queryStart$]) - dart.notNull(ref[_queryStart$]); + let newUri = base[_uri$][$substring](0, base[_queryStart$]) + ref[_uri$][$substring](ref[_queryStart$]); + return new core._SimpleUri.new(newUri, base[_schemeEnd$], base[_hostStart$], base[_portStart$], base[_pathStart$], dart.notNull(ref[_queryStart$]) + delta, dart.notNull(ref[_fragmentStart$]) + delta, base[_schemeCache$]); + } + if (dart.test(ref.hasFragment)) { + let delta = dart.notNull(base[_fragmentStart$]) - dart.notNull(ref[_fragmentStart$]); + let newUri = base[_uri$][$substring](0, base[_fragmentStart$]) + ref[_uri$][$substring](ref[_fragmentStart$]); + return new core._SimpleUri.new(newUri, base[_schemeEnd$], base[_hostStart$], base[_portStart$], base[_pathStart$], base[_queryStart$], dart.notNull(ref[_fragmentStart$]) + delta, base[_schemeCache$]); + } + return base.removeFragment(); + } + if (dart.test(ref.hasAbsolutePath)) { + let basePathStart = base[_pathStart$]; + let packageNameEnd = core._SimpleUri._packageNameEnd(this); + if (dart.notNull(packageNameEnd) > 0) basePathStart = packageNameEnd; + let delta = dart.notNull(basePathStart) - dart.notNull(ref[_pathStart$]); + let newUri = base[_uri$][$substring](0, basePathStart) + ref[_uri$][$substring](ref[_pathStart$]); + return new core._SimpleUri.new(newUri, base[_schemeEnd$], base[_hostStart$], base[_portStart$], base[_pathStart$], dart.notNull(ref[_queryStart$]) + delta, dart.notNull(ref[_fragmentStart$]) + delta, base[_schemeCache$]); + } + if (dart.test(base.hasEmptyPath) && dart.test(base.hasAuthority)) { + let refStart = ref[_pathStart$]; + while (ref[_uri$][$startsWith]("../", refStart)) { + refStart = dart.notNull(refStart) + 3; + } + let delta = dart.notNull(base[_pathStart$]) - dart.notNull(refStart) + 1; + let newUri = base[_uri$][$substring](0, base[_pathStart$]) + "/" + ref[_uri$][$substring](refStart); + return new core._SimpleUri.new(newUri, base[_schemeEnd$], base[_hostStart$], base[_portStart$], base[_pathStart$], dart.notNull(ref[_queryStart$]) + delta, dart.notNull(ref[_fragmentStart$]) + delta, base[_schemeCache$]); + } + let baseUri = base[_uri$]; + let refUri = ref[_uri$]; + let baseStart = base[_pathStart$]; + let baseEnd = base[_queryStart$]; + let packageNameEnd = core._SimpleUri._packageNameEnd(this); + if (dart.notNull(packageNameEnd) >= 0) { + baseStart = packageNameEnd; + } else { + while (baseUri[$startsWith]("../", baseStart)) + baseStart = dart.notNull(baseStart) + 3; + } + let refStart = ref[_pathStart$]; + let refEnd = ref[_queryStart$]; + let backCount = 0; + while (dart.notNull(refStart) + 3 <= dart.notNull(refEnd) && refUri[$startsWith]("../", refStart)) { + refStart = dart.notNull(refStart) + 3; + backCount = backCount + 1; + } + let insert = ""; + while (dart.notNull(baseEnd) > dart.notNull(baseStart)) { + baseEnd = dart.notNull(baseEnd) - 1; + let char = baseUri[$codeUnitAt](baseEnd); + if (char === 47) { + insert = "/"; + if (backCount === 0) break; + backCount = backCount - 1; + } + } + if (baseEnd == baseStart && !dart.test(base.hasScheme) && !dart.test(base.hasAbsolutePath)) { + insert = ""; + refStart = dart.notNull(refStart) - backCount * 3; + } + let delta = dart.notNull(baseEnd) - dart.notNull(refStart) + insert.length; + let newUri = base[_uri$][$substring](0, baseEnd) + insert + ref[_uri$][$substring](refStart); + return new core._SimpleUri.new(newUri, base[_schemeEnd$], base[_hostStart$], base[_portStart$], base[_pathStart$], dart.notNull(ref[_queryStart$]) + delta, dart.notNull(ref[_fragmentStart$]) + delta, base[_schemeCache$]); + } + toFilePath(opts) { + let t258; + let windows = opts && 'windows' in opts ? opts.windows : null; + if (dart.notNull(this[_schemeEnd$]) >= 0 && !dart.test(this[_isFile])) { + dart.throw(new core.UnsupportedError.new("Cannot extract a file path from a " + dart.str(this.scheme) + " URI")); + } + if (dart.notNull(this[_queryStart$]) < this[_uri$].length) { + if (dart.notNull(this[_queryStart$]) < dart.notNull(this[_fragmentStart$])) { + dart.throw(new core.UnsupportedError.new("Cannot extract a file path from a URI with a query component")); + } + dart.throw(new core.UnsupportedError.new("Cannot extract a file path from a URI with a fragment component")); + } + return dart.test((t258 = windows, t258 == null ? core._Uri._isWindows : t258)) ? core._Uri._toWindowsFilePath(this) : this[_toFilePath](); + } + [_toFilePath]() { + if (dart.notNull(this[_hostStart$]) < dart.notNull(this[_portStart$])) { + dart.throw(new core.UnsupportedError.new("Cannot extract a non-Windows file path from a file URI " + "with an authority")); + } + return this.path; + } + get data() { + if (!(this.scheme !== "data")) dart.assertFailed(null, I[175], 4548, 12, "scheme != \"data\""); + return null; + } + get hashCode() { + let t258; + t258 = this[_hashCodeCache]; + return t258 == null ? this[_hashCodeCache] = dart.hashCode(this[_uri$]) : t258; + } + _equals(other) { + if (other == null) return false; + if (this === other) return true; + return core.Uri.is(other) && this[_uri$] == dart.toString(other); + } + [_toNonSimple]() { + return new core._Uri._internal(this.scheme, this.userInfo, dart.test(this.hasAuthority) ? this.host : null, dart.test(this.hasPort) ? this.port : null, this.path, dart.test(this.hasQuery) ? this.query : null, dart.test(this.hasFragment) ? this.fragment : null); + } + toString() { + return this[_uri$]; + } +}; +(core._SimpleUri.new = function(_uri, _schemeEnd, _hostStart, _portStart, _pathStart, _queryStart, _fragmentStart, _schemeCache) { + if (_uri == null) dart.nullFailed(I[175], 4096, 12, "_uri"); + if (_schemeEnd == null) dart.nullFailed(I[175], 4097, 12, "_schemeEnd"); + if (_hostStart == null) dart.nullFailed(I[175], 4098, 12, "_hostStart"); + if (_portStart == null) dart.nullFailed(I[175], 4099, 12, "_portStart"); + if (_pathStart == null) dart.nullFailed(I[175], 4100, 12, "_pathStart"); + if (_queryStart == null) dart.nullFailed(I[175], 4101, 12, "_queryStart"); + if (_fragmentStart == null) dart.nullFailed(I[175], 4102, 12, "_fragmentStart"); + this[_hashCodeCache] = null; + this[_uri$] = _uri; + this[_schemeEnd$] = _schemeEnd; + this[_hostStart$] = _hostStart; + this[_portStart$] = _portStart; + this[_pathStart$] = _pathStart; + this[_queryStart$] = _queryStart; + this[_fragmentStart$] = _fragmentStart; + this[_schemeCache$] = _schemeCache; + ; +}).prototype = core._SimpleUri.prototype; +dart.addTypeTests(core._SimpleUri); +dart.addTypeCaches(core._SimpleUri); +core._SimpleUri[dart.implements] = () => [core.Uri]; +dart.setMethodSignature(core._SimpleUri, () => ({ + __proto__: dart.getMethods(core._SimpleUri.__proto__), + [_isScheme]: dart.fnType(core.bool, [core.String]), + isScheme: dart.fnType(core.bool, [core.String]), + [_computeScheme]: dart.fnType(core.String, []), + [_isPort]: dart.fnType(core.bool, [core.String]), + normalizePath: dart.fnType(core.Uri, []), + removeFragment: dart.fnType(core.Uri, []), + replace: dart.fnType(core.Uri, [], {fragment: dart.nullable(core.String), host: dart.nullable(core.String), path: dart.nullable(core.String), pathSegments: dart.nullable(core.Iterable$(core.String)), port: dart.nullable(core.int), query: dart.nullable(core.String), queryParameters: dart.nullable(core.Map$(core.String, dart.dynamic)), scheme: dart.nullable(core.String), userInfo: dart.nullable(core.String)}, {}), + resolve: dart.fnType(core.Uri, [core.String]), + resolveUri: dart.fnType(core.Uri, [core.Uri]), + [_simpleMerge]: dart.fnType(core.Uri, [core._SimpleUri, core._SimpleUri]), + toFilePath: dart.fnType(core.String, [], {windows: dart.nullable(core.bool)}, {}), + [_toFilePath]: dart.fnType(core.String, []), + [_toNonSimple]: dart.fnType(core.Uri, []) +})); +dart.setGetterSignature(core._SimpleUri, () => ({ + __proto__: dart.getGetters(core._SimpleUri.__proto__), + hasScheme: core.bool, + hasAuthority: core.bool, + hasUserInfo: core.bool, + hasPort: core.bool, + hasQuery: core.bool, + hasFragment: core.bool, + [_isFile]: core.bool, + [_isHttp]: core.bool, + [_isHttps]: core.bool, + [_isPackage]: core.bool, + hasAbsolutePath: core.bool, + hasEmptyPath: core.bool, + isAbsolute: core.bool, + scheme: core.String, + authority: core.String, + userInfo: core.String, + host: core.String, + port: core.int, + path: core.String, + query: core.String, + fragment: core.String, + origin: core.String, + pathSegments: core.List$(core.String), + queryParameters: core.Map$(core.String, core.String), + queryParametersAll: core.Map$(core.String, core.List$(core.String)), + data: dart.nullable(core.UriData) +})); +dart.setLibraryUri(core._SimpleUri, I[8]); +dart.setFieldSignature(core._SimpleUri, () => ({ + __proto__: dart.getFields(core._SimpleUri.__proto__), + [_uri$]: dart.finalFieldType(core.String), + [_schemeEnd$]: dart.finalFieldType(core.int), + [_hostStart$]: dart.finalFieldType(core.int), + [_portStart$]: dart.finalFieldType(core.int), + [_pathStart$]: dart.finalFieldType(core.int), + [_queryStart$]: dart.finalFieldType(core.int), + [_fragmentStart$]: dart.finalFieldType(core.int), + [_schemeCache$]: dart.fieldType(dart.nullable(core.String)), + [_hashCodeCache]: dart.fieldType(dart.nullable(core.int)) +})); +dart.defineExtensionMethods(core._SimpleUri, ['_equals', 'toString']); +dart.defineExtensionAccessors(core._SimpleUri, ['hashCode']); +var _data$0 = dart.privateName(core, "_data"); +core._DataUri = class _DataUri extends core._Uri { + get data() { + return this[_data$0]; + } +}; +(core._DataUri.new = function(_data, path, query) { + if (_data == null) dart.nullFailed(I[175], 4577, 17, "_data"); + if (path == null) dart.nullFailed(I[175], 4577, 31, "path"); + this[_data$0] = _data; + core._DataUri.__proto__._internal.call(this, "data", "", null, null, path, query, null); + ; +}).prototype = core._DataUri.prototype; +dart.addTypeTests(core._DataUri); +dart.addTypeCaches(core._DataUri); +dart.setLibraryUri(core._DataUri, I[8]); +dart.setFieldSignature(core._DataUri, () => ({ + __proto__: dart.getFields(core._DataUri.__proto__), + [_data$0]: dart.finalFieldType(core.UriData) +})); +core._symbolToString = function _symbolToString(symbol) { + if (symbol == null) dart.nullFailed(I[7], 29, 31, "symbol"); + return _js_helper.PrivateSymbol.is(symbol) ? _js_helper.PrivateSymbol.getName(symbol) : _internal.Symbol.getName(_internal.Symbol.as(symbol)); +}; +core._max = function _max(a, b) { + if (a == null) dart.nullFailed(I[7], 933, 14, "a"); + if (b == null) dart.nullFailed(I[7], 933, 21, "b"); + return dart.notNull(a) > dart.notNull(b) ? a : b; +}; +core._min = function _min(a, b) { + if (a == null) dart.nullFailed(I[7], 934, 14, "a"); + if (b == null) dart.nullFailed(I[7], 934, 21, "b"); + return dart.notNull(a) < dart.notNull(b) ? a : b; +}; +core.identical = function identical(a, b) { + return a == null ? b == null : a === b; +}; +core.identityHashCode = function identityHashCode(object) { + if (object == null) return 0; + let hash = object[dart.identityHashCode_]; + if (hash == null) { + hash = Math.random() * 0x3fffffff | 0; + object[dart.identityHashCode_] = hash; + } + return hash; +}; +core.print = function print$0(object) { + let line = dart.toString(object); + let toZone = _internal.printToZone; + if (toZone == null) { + _internal.printToConsole(line); + } else { + toZone(line); + } +}; +core._isLeadSurrogate = function _isLeadSurrogate$(code) { + if (code == null) dart.nullFailed(I[174], 625, 27, "code"); + return (dart.notNull(code) & 64512) === 55296; +}; +core._isTrailSurrogate = function _isTrailSurrogate(code) { + if (code == null) dart.nullFailed(I[174], 628, 28, "code"); + return (dart.notNull(code) & 64512) === 56320; +}; +core._combineSurrogatePair = function _combineSurrogatePair$(start, end) { + if (start == null) dart.nullFailed(I[174], 631, 31, "start"); + if (end == null) dart.nullFailed(I[174], 631, 42, "end"); + return 65536 + ((dart.notNull(start) & 1023) << 10) + (dart.notNull(end) & 1023); +}; +core._createTables = function _createTables() { + let unreserved = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-._~"; + let pchar = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-._~!$&'()*+,;="; + let tables = T$0.ListOfUint8List().generate(22, dart.fn(_ => { + if (_ == null) dart.nullFailed(I[175], 3872, 54, "_"); + return _native_typed_data.NativeUint8List.new(96); + }, T$0.intToUint8List())); + function build(state, defaultTransition) { + let t258; + t258 = tables[$_get](core.int.as(state)); + return (() => { + t258[$fillRange](0, 96, T$.intN().as(defaultTransition)); + return t258; + })(); + } + dart.fn(build, T$0.dynamicAnddynamicToUint8List()); + function setChars(target, chars, transition) { + if (target == null) dart.nullFailed(I[175], 3883, 27, "target"); + if (chars == null) dart.nullFailed(I[175], 3883, 42, "chars"); + if (transition == null) dart.nullFailed(I[175], 3883, 53, "transition"); + for (let i = 0; i < chars.length; i = i + 1) { + let char = chars[$codeUnitAt](i); + target[$_set]((char ^ 96) >>> 0, transition); + } + } + dart.fn(setChars, T$0.Uint8ListAndStringAndintTovoid()); + function setRange(target, range, transition) { + if (target == null) dart.nullFailed(I[175], 3896, 27, "target"); + if (range == null) dart.nullFailed(I[175], 3896, 42, "range"); + if (transition == null) dart.nullFailed(I[175], 3896, 53, "transition"); + for (let i = range[$codeUnitAt](0), n = range[$codeUnitAt](1); i <= n; i = i + 1) { + target[$_set]((i ^ 96) >>> 0, transition); + } + } + dart.fn(setRange, T$0.Uint8ListAndStringAndintTovoid()); + let b = null; + b = build(0, (1 | 224) >>> 0); + setChars(typed_data.Uint8List.as(b), pchar, 1); + setChars(typed_data.Uint8List.as(b), ".", 14); + setChars(typed_data.Uint8List.as(b), ":", (2 | 32) >>> 0); + setChars(typed_data.Uint8List.as(b), "/", 3); + setChars(typed_data.Uint8List.as(b), "?", (12 | 160) >>> 0); + setChars(typed_data.Uint8List.as(b), "#", (13 | 192) >>> 0); + b = build(14, (1 | 224) >>> 0); + setChars(typed_data.Uint8List.as(b), pchar, 1); + setChars(typed_data.Uint8List.as(b), ".", 15); + setChars(typed_data.Uint8List.as(b), ":", (2 | 32) >>> 0); + setChars(typed_data.Uint8List.as(b), "/", (10 | 224) >>> 0); + setChars(typed_data.Uint8List.as(b), "?", (12 | 160) >>> 0); + setChars(typed_data.Uint8List.as(b), "#", (13 | 192) >>> 0); + b = build(15, (1 | 224) >>> 0); + setChars(typed_data.Uint8List.as(b), pchar, 1); + setChars(typed_data.Uint8List.as(b), "%", (1 | 224) >>> 0); + setChars(typed_data.Uint8List.as(b), ":", (2 | 32) >>> 0); + setChars(typed_data.Uint8List.as(b), "/", 9); + setChars(typed_data.Uint8List.as(b), "?", (12 | 160) >>> 0); + setChars(typed_data.Uint8List.as(b), "#", (13 | 192) >>> 0); + b = build(1, (1 | 224) >>> 0); + setChars(typed_data.Uint8List.as(b), pchar, 1); + setChars(typed_data.Uint8List.as(b), ":", (2 | 32) >>> 0); + setChars(typed_data.Uint8List.as(b), "/", 10); + setChars(typed_data.Uint8List.as(b), "?", (12 | 160) >>> 0); + setChars(typed_data.Uint8List.as(b), "#", (13 | 192) >>> 0); + b = build(2, (11 | 224) >>> 0); + setChars(typed_data.Uint8List.as(b), pchar, (11 | 128) >>> 0); + setChars(typed_data.Uint8List.as(b), "/", (3 | 128) >>> 0); + setChars(typed_data.Uint8List.as(b), ".", (18 | 128) >>> 0); + setChars(typed_data.Uint8List.as(b), "?", (12 | 160) >>> 0); + setChars(typed_data.Uint8List.as(b), "#", (13 | 192) >>> 0); + b = build(3, (11 | 224) >>> 0); + setChars(typed_data.Uint8List.as(b), pchar, 11); + setChars(typed_data.Uint8List.as(b), "/", (4 | 64) >>> 0); + setChars(typed_data.Uint8List.as(b), ".", 18); + setChars(typed_data.Uint8List.as(b), "?", (12 | 160) >>> 0); + setChars(typed_data.Uint8List.as(b), "#", (13 | 192) >>> 0); + b = build(4, (5 | 224) >>> 0); + setChars(typed_data.Uint8List.as(b), pchar, 5); + setRange(typed_data.Uint8List.as(b), "AZ", (5 | 224) >>> 0); + setChars(typed_data.Uint8List.as(b), ":", (6 | 96) >>> 0); + setChars(typed_data.Uint8List.as(b), "@", (4 | 64) >>> 0); + setChars(typed_data.Uint8List.as(b), "[", (8 | 224) >>> 0); + setChars(typed_data.Uint8List.as(b), "/", (10 | 128) >>> 0); + setChars(typed_data.Uint8List.as(b), "?", (12 | 160) >>> 0); + setChars(typed_data.Uint8List.as(b), "#", (13 | 192) >>> 0); + b = build(5, (5 | 224) >>> 0); + setChars(typed_data.Uint8List.as(b), pchar, 5); + setRange(typed_data.Uint8List.as(b), "AZ", (5 | 224) >>> 0); + setChars(typed_data.Uint8List.as(b), ":", (6 | 96) >>> 0); + setChars(typed_data.Uint8List.as(b), "@", (4 | 64) >>> 0); + setChars(typed_data.Uint8List.as(b), "/", (10 | 128) >>> 0); + setChars(typed_data.Uint8List.as(b), "?", (12 | 160) >>> 0); + setChars(typed_data.Uint8List.as(b), "#", (13 | 192) >>> 0); + b = build(6, (7 | 224) >>> 0); + setRange(typed_data.Uint8List.as(b), "19", 7); + setChars(typed_data.Uint8List.as(b), "@", (4 | 64) >>> 0); + setChars(typed_data.Uint8List.as(b), "/", (10 | 128) >>> 0); + setChars(typed_data.Uint8List.as(b), "?", (12 | 160) >>> 0); + setChars(typed_data.Uint8List.as(b), "#", (13 | 192) >>> 0); + b = build(7, (7 | 224) >>> 0); + setRange(typed_data.Uint8List.as(b), "09", 7); + setChars(typed_data.Uint8List.as(b), "@", (4 | 64) >>> 0); + setChars(typed_data.Uint8List.as(b), "/", (10 | 128) >>> 0); + setChars(typed_data.Uint8List.as(b), "?", (12 | 160) >>> 0); + setChars(typed_data.Uint8List.as(b), "#", (13 | 192) >>> 0); + b = build(8, 8); + setChars(typed_data.Uint8List.as(b), "]", 5); + b = build(9, (11 | 224) >>> 0); + setChars(typed_data.Uint8List.as(b), pchar, 11); + setChars(typed_data.Uint8List.as(b), ".", 16); + setChars(typed_data.Uint8List.as(b), "/", (10 | 224) >>> 0); + setChars(typed_data.Uint8List.as(b), "?", (12 | 160) >>> 0); + setChars(typed_data.Uint8List.as(b), "#", (13 | 192) >>> 0); + b = build(16, (11 | 224) >>> 0); + setChars(typed_data.Uint8List.as(b), pchar, 11); + setChars(typed_data.Uint8List.as(b), ".", 17); + setChars(typed_data.Uint8List.as(b), "/", (10 | 224) >>> 0); + setChars(typed_data.Uint8List.as(b), "?", (12 | 160) >>> 0); + setChars(typed_data.Uint8List.as(b), "#", (13 | 192) >>> 0); + b = build(17, (11 | 224) >>> 0); + setChars(typed_data.Uint8List.as(b), pchar, 11); + setChars(typed_data.Uint8List.as(b), "/", 9); + setChars(typed_data.Uint8List.as(b), "?", (12 | 160) >>> 0); + setChars(typed_data.Uint8List.as(b), "#", (13 | 192) >>> 0); + b = build(10, (11 | 224) >>> 0); + setChars(typed_data.Uint8List.as(b), pchar, 11); + setChars(typed_data.Uint8List.as(b), ".", 18); + setChars(typed_data.Uint8List.as(b), "/", (10 | 224) >>> 0); + setChars(typed_data.Uint8List.as(b), "?", (12 | 160) >>> 0); + setChars(typed_data.Uint8List.as(b), "#", (13 | 192) >>> 0); + b = build(18, (11 | 224) >>> 0); + setChars(typed_data.Uint8List.as(b), pchar, 11); + setChars(typed_data.Uint8List.as(b), ".", 19); + setChars(typed_data.Uint8List.as(b), "/", (10 | 224) >>> 0); + setChars(typed_data.Uint8List.as(b), "?", (12 | 160) >>> 0); + setChars(typed_data.Uint8List.as(b), "#", (13 | 192) >>> 0); + b = build(19, (11 | 224) >>> 0); + setChars(typed_data.Uint8List.as(b), pchar, 11); + setChars(typed_data.Uint8List.as(b), "/", (10 | 224) >>> 0); + setChars(typed_data.Uint8List.as(b), "?", (12 | 160) >>> 0); + setChars(typed_data.Uint8List.as(b), "#", (13 | 192) >>> 0); + b = build(11, (11 | 224) >>> 0); + setChars(typed_data.Uint8List.as(b), pchar, 11); + setChars(typed_data.Uint8List.as(b), "/", 10); + setChars(typed_data.Uint8List.as(b), "?", (12 | 160) >>> 0); + setChars(typed_data.Uint8List.as(b), "#", (13 | 192) >>> 0); + b = build(12, (12 | 224) >>> 0); + setChars(typed_data.Uint8List.as(b), pchar, 12); + setChars(typed_data.Uint8List.as(b), "?", 12); + setChars(typed_data.Uint8List.as(b), "#", (13 | 192) >>> 0); + b = build(13, (13 | 224) >>> 0); + setChars(typed_data.Uint8List.as(b), pchar, 13); + setChars(typed_data.Uint8List.as(b), "?", 13); + b = build(20, (21 | 224) >>> 0); + setRange(typed_data.Uint8List.as(b), "az", 21); + b = build(21, (21 | 224) >>> 0); + setRange(typed_data.Uint8List.as(b), "az", 21); + setRange(typed_data.Uint8List.as(b), "09", 21); + setChars(typed_data.Uint8List.as(b), "+-.", 21); + return tables; +}; +core._scan = function _scan(uri, start, end, state, indices) { + if (uri == null) dart.nullFailed(I[175], 4064, 18, "uri"); + if (start == null) dart.nullFailed(I[175], 4064, 27, "start"); + if (end == null) dart.nullFailed(I[175], 4064, 38, "end"); + if (state == null) dart.nullFailed(I[175], 4064, 47, "state"); + if (indices == null) dart.nullFailed(I[175], 4064, 64, "indices"); + let tables = core._scannerTables; + if (!(dart.notNull(end) <= uri.length)) dart.assertFailed(null, I[175], 4066, 10, "end <= uri.length"); + for (let i = start; dart.notNull(i) < dart.notNull(end); i = dart.notNull(i) + 1) { + let table = tables[$_get](state); + let char = (uri[$codeUnitAt](i) ^ 96) >>> 0; + if (char > 95) char = 31; + let transition = table[$_get](char); + state = dart.notNull(transition) & 31; + indices[$_set](transition[$rightShift](5), i); + } + return state; +}; +core._startsWithData = function _startsWithData(text, start) { + if (text == null) dart.nullFailed(I[175], 4591, 28, "text"); + if (start == null) dart.nullFailed(I[175], 4591, 38, "start"); + let delta = ((text[$codeUnitAt](dart.notNull(start) + 4) ^ 58) >>> 0) * 3; + delta = (delta | (text[$codeUnitAt](start) ^ 100) >>> 0) >>> 0; + delta = (delta | (text[$codeUnitAt](dart.notNull(start) + 1) ^ 97) >>> 0) >>> 0; + delta = (delta | (text[$codeUnitAt](dart.notNull(start) + 2) ^ 116) >>> 0) >>> 0; + delta = (delta | (text[$codeUnitAt](dart.notNull(start) + 3) ^ 97) >>> 0) >>> 0; + return delta; +}; +core._stringOrNullLength = function _stringOrNullLength(s) { + return s == null ? 0 : s.length; +}; +core._toUnmodifiableStringList = function _toUnmodifiableStringList(key, list) { + if (key == null) dart.nullFailed(I[175], 4604, 47, "key"); + if (list == null) dart.nullFailed(I[175], 4604, 65, "list"); + return T$.ListOfString().unmodifiable(list); +}; +core._skipPackageNameChars = function _skipPackageNameChars(source, start, end) { + if (source == null) dart.nullFailed(I[175], 4616, 34, "source"); + if (start == null) dart.nullFailed(I[175], 4616, 46, "start"); + if (end == null) dart.nullFailed(I[175], 4616, 57, "end"); + let dots = 0; + for (let i = start; dart.notNull(i) < dart.notNull(end); i = dart.notNull(i) + 1) { + let char = source[$codeUnitAt](i); + if (char === 47) return dots !== 0 ? i : -1; + if (char === 37 || char === 58) return -1; + dots = (dots | (char ^ 46) >>> 0) >>> 0; + } + return -1; +}; +dart.defineLazy(core, { + /*core._dummyList*/get _dummyList() { + return _native_typed_data.NativeUint16List.new(0); + }, + /*core.deprecated*/get deprecated() { + return C[445] || CT.C445; + }, + /*core.override*/get override() { + return C[446] || CT.C446; + }, + /*core.provisional*/get provisional() { + return null; + }, + /*core.proxy*/get proxy() { + return null; + }, + /*core._SPACE*/get _SPACE() { + return 32; + }, + /*core._PERCENT*/get _PERCENT() { + return 37; + }, + /*core._AMPERSAND*/get _AMPERSAND() { + return 38; + }, + /*core._PLUS*/get _PLUS() { + return 43; + }, + /*core._DOT*/get _DOT() { + return 46; + }, + /*core._SLASH*/get _SLASH() { + return 47; + }, + /*core._COLON*/get _COLON() { + return 58; + }, + /*core._EQUALS*/get _EQUALS() { + return 61; + }, + /*core._UPPER_CASE_A*/get _UPPER_CASE_A() { + return 65; + }, + /*core._UPPER_CASE_Z*/get _UPPER_CASE_Z() { + return 90; + }, + /*core._LEFT_BRACKET*/get _LEFT_BRACKET() { + return 91; + }, + /*core._BACKSLASH*/get _BACKSLASH() { + return 92; + }, + /*core._RIGHT_BRACKET*/get _RIGHT_BRACKET() { + return 93; + }, + /*core._LOWER_CASE_A*/get _LOWER_CASE_A() { + return 97; + }, + /*core._LOWER_CASE_F*/get _LOWER_CASE_F() { + return 102; + }, + /*core._LOWER_CASE_Z*/get _LOWER_CASE_Z() { + return 122; + }, + /*core._hexDigits*/get _hexDigits() { + return "0123456789ABCDEF"; + }, + /*core._schemeEndIndex*/get _schemeEndIndex() { + return 1; + }, + /*core._hostStartIndex*/get _hostStartIndex() { + return 2; + }, + /*core._portStartIndex*/get _portStartIndex() { + return 3; + }, + /*core._pathStartIndex*/get _pathStartIndex() { + return 4; + }, + /*core._queryStartIndex*/get _queryStartIndex() { + return 5; + }, + /*core._fragmentStartIndex*/get _fragmentStartIndex() { + return 6; + }, + /*core._notSimpleIndex*/get _notSimpleIndex() { + return 7; + }, + /*core._uriStart*/get _uriStart() { + return 0; + }, + /*core._nonSimpleEndStates*/get _nonSimpleEndStates() { + return 14; + }, + /*core._schemeStart*/get _schemeStart() { + return 20; + }, + /*core._scannerTables*/get _scannerTables() { + return core._createTables(); + } +}, false); +var serverHeader = dart.privateName(_http, "HttpServer.serverHeader"); +var autoCompress = dart.privateName(_http, "HttpServer.autoCompress"); +var idleTimeout = dart.privateName(_http, "HttpServer.idleTimeout"); +_http.HttpServer = class HttpServer extends core.Object { + get serverHeader() { + return this[serverHeader]; + } + set serverHeader(value) { + this[serverHeader] = value; + } + get autoCompress() { + return this[autoCompress]; + } + set autoCompress(value) { + this[autoCompress] = value; + } + get idleTimeout() { + return this[idleTimeout]; + } + set idleTimeout(value) { + this[idleTimeout] = value; + } + static bind(address, port, opts) { + if (port == null) dart.nullFailed(I[176], 227, 47, "port"); + let backlog = opts && 'backlog' in opts ? opts.backlog : 0; + if (backlog == null) dart.nullFailed(I[176], 228, 16, "backlog"); + let v6Only = opts && 'v6Only' in opts ? opts.v6Only : false; + if (v6Only == null) dart.nullFailed(I[176], 228, 34, "v6Only"); + let shared = opts && 'shared' in opts ? opts.shared : false; + if (shared == null) dart.nullFailed(I[176], 228, 55, "shared"); + return _http._HttpServer.bind(address, port, backlog, v6Only, shared); + } + static bindSecure(address, port, context, opts) { + if (port == null) dart.nullFailed(I[176], 272, 24, "port"); + if (context == null) dart.nullFailed(I[176], 272, 46, "context"); + let backlog = opts && 'backlog' in opts ? opts.backlog : 0; + if (backlog == null) dart.nullFailed(I[176], 273, 16, "backlog"); + let v6Only = opts && 'v6Only' in opts ? opts.v6Only : false; + if (v6Only == null) dart.nullFailed(I[176], 274, 16, "v6Only"); + let requestClientCertificate = opts && 'requestClientCertificate' in opts ? opts.requestClientCertificate : false; + if (requestClientCertificate == null) dart.nullFailed(I[176], 275, 16, "requestClientCertificate"); + let shared = opts && 'shared' in opts ? opts.shared : false; + if (shared == null) dart.nullFailed(I[176], 276, 16, "shared"); + return _http._HttpServer.bindSecure(address, port, context, backlog, v6Only, requestClientCertificate, shared); + } + static listenOn(serverSocket) { + if (serverSocket == null) dart.nullFailed(I[176], 285, 44, "serverSocket"); + return new _http._HttpServer.listenOn(serverSocket); + } +}; +(_http.HttpServer[dart.mixinNew] = function() { + this[serverHeader] = null; + this[autoCompress] = false; + this[idleTimeout] = C[447] || CT.C447; +}).prototype = _http.HttpServer.prototype; +_http.HttpServer.prototype[dart.isStream] = true; +dart.addTypeTests(_http.HttpServer); +dart.addTypeCaches(_http.HttpServer); +_http.HttpServer[dart.implements] = () => [async.Stream$(_http.HttpRequest)]; +dart.setLibraryUri(_http.HttpServer, I[177]); +dart.setFieldSignature(_http.HttpServer, () => ({ + __proto__: dart.getFields(_http.HttpServer.__proto__), + serverHeader: dart.fieldType(dart.nullable(core.String)), + autoCompress: dart.fieldType(core.bool), + idleTimeout: dart.fieldType(dart.nullable(core.Duration)) +})); +var total = dart.privateName(_http, "HttpConnectionsInfo.total"); +var active = dart.privateName(_http, "HttpConnectionsInfo.active"); +var idle = dart.privateName(_http, "HttpConnectionsInfo.idle"); +var closing = dart.privateName(_http, "HttpConnectionsInfo.closing"); +_http.HttpConnectionsInfo = class HttpConnectionsInfo extends core.Object { + get total() { + return this[total]; + } + set total(value) { + this[total] = value; + } + get active() { + return this[active]; + } + set active(value) { + this[active] = value; + } + get idle() { + return this[idle]; + } + set idle(value) { + this[idle] = value; + } + get closing() { + return this[closing]; + } + set closing(value) { + this[closing] = value; + } +}; +(_http.HttpConnectionsInfo.new = function() { + this[total] = 0; + this[active] = 0; + this[idle] = 0; + this[closing] = 0; + ; +}).prototype = _http.HttpConnectionsInfo.prototype; +dart.addTypeTests(_http.HttpConnectionsInfo); +dart.addTypeCaches(_http.HttpConnectionsInfo); +dart.setLibraryUri(_http.HttpConnectionsInfo, I[177]); +dart.setFieldSignature(_http.HttpConnectionsInfo, () => ({ + __proto__: dart.getFields(_http.HttpConnectionsInfo.__proto__), + total: dart.fieldType(core.int), + active: dart.fieldType(core.int), + idle: dart.fieldType(core.int), + closing: dart.fieldType(core.int) +})); +var date = dart.privateName(_http, "HttpHeaders.date"); +var expires = dart.privateName(_http, "HttpHeaders.expires"); +var ifModifiedSince = dart.privateName(_http, "HttpHeaders.ifModifiedSince"); +var host = dart.privateName(_http, "HttpHeaders.host"); +var port = dart.privateName(_http, "HttpHeaders.port"); +var contentType = dart.privateName(_http, "HttpHeaders.contentType"); +var contentLength = dart.privateName(_http, "HttpHeaders.contentLength"); +var __HttpHeaders_persistentConnection = dart.privateName(_http, "_#HttpHeaders#persistentConnection"); +var __HttpHeaders_persistentConnection_isSet = dart.privateName(_http, "_#HttpHeaders#persistentConnection#isSet"); +var __HttpHeaders_chunkedTransferEncoding = dart.privateName(_http, "_#HttpHeaders#chunkedTransferEncoding"); +var __HttpHeaders_chunkedTransferEncoding_isSet = dart.privateName(_http, "_#HttpHeaders#chunkedTransferEncoding#isSet"); +_http.HttpHeaders = class HttpHeaders extends core.Object { + get date() { + return this[date]; + } + set date(value) { + this[date] = value; + } + get expires() { + return this[expires]; + } + set expires(value) { + this[expires] = value; + } + get ifModifiedSince() { + return this[ifModifiedSince]; + } + set ifModifiedSince(value) { + this[ifModifiedSince] = value; + } + get host() { + return this[host]; + } + set host(value) { + this[host] = value; + } + get port() { + return this[port]; + } + set port(value) { + this[port] = value; + } + get contentType() { + return this[contentType]; + } + set contentType(value) { + this[contentType] = value; + } + get contentLength() { + return this[contentLength]; + } + set contentLength(value) { + this[contentLength] = value; + } + get persistentConnection() { + let t258; + return dart.test(this[__HttpHeaders_persistentConnection_isSet]) ? (t258 = this[__HttpHeaders_persistentConnection], t258) : dart.throw(new _internal.LateError.fieldNI("persistentConnection")); + } + set persistentConnection(t258) { + if (t258 == null) dart.nullFailed(I[176], 652, 13, "null"); + this[__HttpHeaders_persistentConnection_isSet] = true; + this[__HttpHeaders_persistentConnection] = t258; + } + get chunkedTransferEncoding() { + let t259; + return dart.test(this[__HttpHeaders_chunkedTransferEncoding_isSet]) ? (t259 = this[__HttpHeaders_chunkedTransferEncoding], t259) : dart.throw(new _internal.LateError.fieldNI("chunkedTransferEncoding")); + } + set chunkedTransferEncoding(t259) { + if (t259 == null) dart.nullFailed(I[176], 659, 13, "null"); + this[__HttpHeaders_chunkedTransferEncoding_isSet] = true; + this[__HttpHeaders_chunkedTransferEncoding] = t259; + } +}; +(_http.HttpHeaders.new = function() { + this[date] = null; + this[expires] = null; + this[ifModifiedSince] = null; + this[host] = null; + this[port] = null; + this[contentType] = null; + this[contentLength] = -1; + this[__HttpHeaders_persistentConnection] = null; + this[__HttpHeaders_persistentConnection_isSet] = false; + this[__HttpHeaders_chunkedTransferEncoding] = null; + this[__HttpHeaders_chunkedTransferEncoding_isSet] = false; + ; +}).prototype = _http.HttpHeaders.prototype; +dart.addTypeTests(_http.HttpHeaders); +dart.addTypeCaches(_http.HttpHeaders); +dart.setGetterSignature(_http.HttpHeaders, () => ({ + __proto__: dart.getGetters(_http.HttpHeaders.__proto__), + persistentConnection: core.bool, + chunkedTransferEncoding: core.bool +})); +dart.setSetterSignature(_http.HttpHeaders, () => ({ + __proto__: dart.getSetters(_http.HttpHeaders.__proto__), + persistentConnection: core.bool, + chunkedTransferEncoding: core.bool +})); +dart.setLibraryUri(_http.HttpHeaders, I[177]); +dart.setFieldSignature(_http.HttpHeaders, () => ({ + __proto__: dart.getFields(_http.HttpHeaders.__proto__), + date: dart.fieldType(dart.nullable(core.DateTime)), + expires: dart.fieldType(dart.nullable(core.DateTime)), + ifModifiedSince: dart.fieldType(dart.nullable(core.DateTime)), + host: dart.fieldType(dart.nullable(core.String)), + port: dart.fieldType(dart.nullable(core.int)), + contentType: dart.fieldType(dart.nullable(_http.ContentType)), + contentLength: dart.fieldType(core.int), + [__HttpHeaders_persistentConnection]: dart.fieldType(dart.nullable(core.bool)), + [__HttpHeaders_persistentConnection_isSet]: dart.fieldType(core.bool), + [__HttpHeaders_chunkedTransferEncoding]: dart.fieldType(dart.nullable(core.bool)), + [__HttpHeaders_chunkedTransferEncoding_isSet]: dart.fieldType(core.bool) +})); +dart.defineLazy(_http.HttpHeaders, { + /*_http.HttpHeaders.acceptHeader*/get acceptHeader() { + return "accept"; + }, + /*_http.HttpHeaders.acceptCharsetHeader*/get acceptCharsetHeader() { + return "accept-charset"; + }, + /*_http.HttpHeaders.acceptEncodingHeader*/get acceptEncodingHeader() { + return "accept-encoding"; + }, + /*_http.HttpHeaders.acceptLanguageHeader*/get acceptLanguageHeader() { + return "accept-language"; + }, + /*_http.HttpHeaders.acceptRangesHeader*/get acceptRangesHeader() { + return "accept-ranges"; + }, + /*_http.HttpHeaders.ageHeader*/get ageHeader() { + return "age"; + }, + /*_http.HttpHeaders.allowHeader*/get allowHeader() { + return "allow"; + }, + /*_http.HttpHeaders.authorizationHeader*/get authorizationHeader() { + return "authorization"; + }, + /*_http.HttpHeaders.cacheControlHeader*/get cacheControlHeader() { + return "cache-control"; + }, + /*_http.HttpHeaders.connectionHeader*/get connectionHeader() { + return "connection"; + }, + /*_http.HttpHeaders.contentEncodingHeader*/get contentEncodingHeader() { + return "content-encoding"; + }, + /*_http.HttpHeaders.contentLanguageHeader*/get contentLanguageHeader() { + return "content-language"; + }, + /*_http.HttpHeaders.contentLengthHeader*/get contentLengthHeader() { + return "content-length"; + }, + /*_http.HttpHeaders.contentLocationHeader*/get contentLocationHeader() { + return "content-location"; + }, + /*_http.HttpHeaders.contentMD5Header*/get contentMD5Header() { + return "content-md5"; + }, + /*_http.HttpHeaders.contentRangeHeader*/get contentRangeHeader() { + return "content-range"; + }, + /*_http.HttpHeaders.contentTypeHeader*/get contentTypeHeader() { + return "content-type"; + }, + /*_http.HttpHeaders.dateHeader*/get dateHeader() { + return "date"; + }, + /*_http.HttpHeaders.etagHeader*/get etagHeader() { + return "etag"; + }, + /*_http.HttpHeaders.expectHeader*/get expectHeader() { + return "expect"; + }, + /*_http.HttpHeaders.expiresHeader*/get expiresHeader() { + return "expires"; + }, + /*_http.HttpHeaders.fromHeader*/get fromHeader() { + return "from"; + }, + /*_http.HttpHeaders.hostHeader*/get hostHeader() { + return "host"; + }, + /*_http.HttpHeaders.ifMatchHeader*/get ifMatchHeader() { + return "if-match"; + }, + /*_http.HttpHeaders.ifModifiedSinceHeader*/get ifModifiedSinceHeader() { + return "if-modified-since"; + }, + /*_http.HttpHeaders.ifNoneMatchHeader*/get ifNoneMatchHeader() { + return "if-none-match"; + }, + /*_http.HttpHeaders.ifRangeHeader*/get ifRangeHeader() { + return "if-range"; + }, + /*_http.HttpHeaders.ifUnmodifiedSinceHeader*/get ifUnmodifiedSinceHeader() { + return "if-unmodified-since"; + }, + /*_http.HttpHeaders.lastModifiedHeader*/get lastModifiedHeader() { + return "last-modified"; + }, + /*_http.HttpHeaders.locationHeader*/get locationHeader() { + return "location"; + }, + /*_http.HttpHeaders.maxForwardsHeader*/get maxForwardsHeader() { + return "max-forwards"; + }, + /*_http.HttpHeaders.pragmaHeader*/get pragmaHeader() { + return "pragma"; + }, + /*_http.HttpHeaders.proxyAuthenticateHeader*/get proxyAuthenticateHeader() { + return "proxy-authenticate"; + }, + /*_http.HttpHeaders.proxyAuthorizationHeader*/get proxyAuthorizationHeader() { + return "proxy-authorization"; + }, + /*_http.HttpHeaders.rangeHeader*/get rangeHeader() { + return "range"; + }, + /*_http.HttpHeaders.refererHeader*/get refererHeader() { + return "referer"; + }, + /*_http.HttpHeaders.retryAfterHeader*/get retryAfterHeader() { + return "retry-after"; + }, + /*_http.HttpHeaders.serverHeader*/get serverHeader() { + return "server"; + }, + /*_http.HttpHeaders.teHeader*/get teHeader() { + return "te"; + }, + /*_http.HttpHeaders.trailerHeader*/get trailerHeader() { + return "trailer"; + }, + /*_http.HttpHeaders.transferEncodingHeader*/get transferEncodingHeader() { + return "transfer-encoding"; + }, + /*_http.HttpHeaders.upgradeHeader*/get upgradeHeader() { + return "upgrade"; + }, + /*_http.HttpHeaders.userAgentHeader*/get userAgentHeader() { + return "user-agent"; + }, + /*_http.HttpHeaders.varyHeader*/get varyHeader() { + return "vary"; + }, + /*_http.HttpHeaders.viaHeader*/get viaHeader() { + return "via"; + }, + /*_http.HttpHeaders.warningHeader*/get warningHeader() { + return "warning"; + }, + /*_http.HttpHeaders.wwwAuthenticateHeader*/get wwwAuthenticateHeader() { + return "www-authenticate"; + }, + /*_http.HttpHeaders.ACCEPT*/get ACCEPT() { + return "accept"; + }, + /*_http.HttpHeaders.ACCEPT_CHARSET*/get ACCEPT_CHARSET() { + return "accept-charset"; + }, + /*_http.HttpHeaders.ACCEPT_ENCODING*/get ACCEPT_ENCODING() { + return "accept-encoding"; + }, + /*_http.HttpHeaders.ACCEPT_LANGUAGE*/get ACCEPT_LANGUAGE() { + return "accept-language"; + }, + /*_http.HttpHeaders.ACCEPT_RANGES*/get ACCEPT_RANGES() { + return "accept-ranges"; + }, + /*_http.HttpHeaders.AGE*/get AGE() { + return "age"; + }, + /*_http.HttpHeaders.ALLOW*/get ALLOW() { + return "allow"; + }, + /*_http.HttpHeaders.AUTHORIZATION*/get AUTHORIZATION() { + return "authorization"; + }, + /*_http.HttpHeaders.CACHE_CONTROL*/get CACHE_CONTROL() { + return "cache-control"; + }, + /*_http.HttpHeaders.CONNECTION*/get CONNECTION() { + return "connection"; + }, + /*_http.HttpHeaders.CONTENT_ENCODING*/get CONTENT_ENCODING() { + return "content-encoding"; + }, + /*_http.HttpHeaders.CONTENT_LANGUAGE*/get CONTENT_LANGUAGE() { + return "content-language"; + }, + /*_http.HttpHeaders.CONTENT_LENGTH*/get CONTENT_LENGTH() { + return "content-length"; + }, + /*_http.HttpHeaders.CONTENT_LOCATION*/get CONTENT_LOCATION() { + return "content-location"; + }, + /*_http.HttpHeaders.CONTENT_MD5*/get CONTENT_MD5() { + return "content-md5"; + }, + /*_http.HttpHeaders.CONTENT_RANGE*/get CONTENT_RANGE() { + return "content-range"; + }, + /*_http.HttpHeaders.CONTENT_TYPE*/get CONTENT_TYPE() { + return "content-type"; + }, + /*_http.HttpHeaders.DATE*/get DATE() { + return "date"; + }, + /*_http.HttpHeaders.ETAG*/get ETAG() { + return "etag"; + }, + /*_http.HttpHeaders.EXPECT*/get EXPECT() { + return "expect"; + }, + /*_http.HttpHeaders.EXPIRES*/get EXPIRES() { + return "expires"; + }, + /*_http.HttpHeaders.FROM*/get FROM() { + return "from"; + }, + /*_http.HttpHeaders.HOST*/get HOST() { + return "host"; + }, + /*_http.HttpHeaders.IF_MATCH*/get IF_MATCH() { + return "if-match"; + }, + /*_http.HttpHeaders.IF_MODIFIED_SINCE*/get IF_MODIFIED_SINCE() { + return "if-modified-since"; + }, + /*_http.HttpHeaders.IF_NONE_MATCH*/get IF_NONE_MATCH() { + return "if-none-match"; + }, + /*_http.HttpHeaders.IF_RANGE*/get IF_RANGE() { + return "if-range"; + }, + /*_http.HttpHeaders.IF_UNMODIFIED_SINCE*/get IF_UNMODIFIED_SINCE() { + return "if-unmodified-since"; + }, + /*_http.HttpHeaders.LAST_MODIFIED*/get LAST_MODIFIED() { + return "last-modified"; + }, + /*_http.HttpHeaders.LOCATION*/get LOCATION() { + return "location"; + }, + /*_http.HttpHeaders.MAX_FORWARDS*/get MAX_FORWARDS() { + return "max-forwards"; + }, + /*_http.HttpHeaders.PRAGMA*/get PRAGMA() { + return "pragma"; + }, + /*_http.HttpHeaders.PROXY_AUTHENTICATE*/get PROXY_AUTHENTICATE() { + return "proxy-authenticate"; + }, + /*_http.HttpHeaders.PROXY_AUTHORIZATION*/get PROXY_AUTHORIZATION() { + return "proxy-authorization"; + }, + /*_http.HttpHeaders.RANGE*/get RANGE() { + return "range"; + }, + /*_http.HttpHeaders.REFERER*/get REFERER() { + return "referer"; + }, + /*_http.HttpHeaders.RETRY_AFTER*/get RETRY_AFTER() { + return "retry-after"; + }, + /*_http.HttpHeaders.SERVER*/get SERVER() { + return "server"; + }, + /*_http.HttpHeaders.TE*/get TE() { + return "te"; + }, + /*_http.HttpHeaders.TRAILER*/get TRAILER() { + return "trailer"; + }, + /*_http.HttpHeaders.TRANSFER_ENCODING*/get TRANSFER_ENCODING() { + return "transfer-encoding"; + }, + /*_http.HttpHeaders.UPGRADE*/get UPGRADE() { + return "upgrade"; + }, + /*_http.HttpHeaders.USER_AGENT*/get USER_AGENT() { + return "user-agent"; + }, + /*_http.HttpHeaders.VARY*/get VARY() { + return "vary"; + }, + /*_http.HttpHeaders.VIA*/get VIA() { + return "via"; + }, + /*_http.HttpHeaders.WARNING*/get WARNING() { + return "warning"; + }, + /*_http.HttpHeaders.WWW_AUTHENTICATE*/get WWW_AUTHENTICATE() { + return "www-authenticate"; + }, + /*_http.HttpHeaders.cookieHeader*/get cookieHeader() { + return "cookie"; + }, + /*_http.HttpHeaders.setCookieHeader*/get setCookieHeader() { + return "set-cookie"; + }, + /*_http.HttpHeaders.COOKIE*/get COOKIE() { + return "cookie"; + }, + /*_http.HttpHeaders.SET_COOKIE*/get SET_COOKIE() { + return "set-cookie"; + }, + /*_http.HttpHeaders.generalHeaders*/get generalHeaders() { + return C[448] || CT.C448; + }, + /*_http.HttpHeaders.GENERAL_HEADERS*/get GENERAL_HEADERS() { + return C[448] || CT.C448; + }, + /*_http.HttpHeaders.entityHeaders*/get entityHeaders() { + return C[449] || CT.C449; + }, + /*_http.HttpHeaders.ENTITY_HEADERS*/get ENTITY_HEADERS() { + return C[449] || CT.C449; + }, + /*_http.HttpHeaders.responseHeaders*/get responseHeaders() { + return C[450] || CT.C450; + }, + /*_http.HttpHeaders.RESPONSE_HEADERS*/get RESPONSE_HEADERS() { + return C[450] || CT.C450; + }, + /*_http.HttpHeaders.requestHeaders*/get requestHeaders() { + return C[451] || CT.C451; + }, + /*_http.HttpHeaders.REQUEST_HEADERS*/get REQUEST_HEADERS() { + return C[451] || CT.C451; + } +}, false); +_http.HeaderValue = class HeaderValue extends core.Object { + static new(value = "", parameters = C[452] || CT.C452) { + if (value == null) dart.nullFailed(I[176], 805, 15, "value"); + if (parameters == null) dart.nullFailed(I[176], 805, 48, "parameters"); + return new _http._HeaderValue.new(value, parameters); + } + static parse(value, opts) { + if (value == null) dart.nullFailed(I[176], 813, 35, "value"); + let parameterSeparator = opts && 'parameterSeparator' in opts ? opts.parameterSeparator : ";"; + if (parameterSeparator == null) dart.nullFailed(I[176], 814, 15, "parameterSeparator"); + let valueSeparator = opts && 'valueSeparator' in opts ? opts.valueSeparator : null; + let preserveBackslash = opts && 'preserveBackslash' in opts ? opts.preserveBackslash : false; + if (preserveBackslash == null) dart.nullFailed(I[176], 816, 12, "preserveBackslash"); + return _http._HeaderValue.parse(value, {parameterSeparator: parameterSeparator, valueSeparator: valueSeparator, preserveBackslash: preserveBackslash}); + } +}; +(_http.HeaderValue[dart.mixinNew] = function() { +}).prototype = _http.HeaderValue.prototype; +dart.addTypeTests(_http.HeaderValue); +dart.addTypeCaches(_http.HeaderValue); +dart.setLibraryUri(_http.HeaderValue, I[177]); +_http.HttpSession = class HttpSession extends core.Object {}; +(_http.HttpSession.new = function() { + ; +}).prototype = _http.HttpSession.prototype; +_http.HttpSession.prototype[dart.isMap] = true; +dart.addTypeTests(_http.HttpSession); +dart.addTypeCaches(_http.HttpSession); +_http.HttpSession[dart.implements] = () => [core.Map]; +dart.setLibraryUri(_http.HttpSession, I[177]); +_http.ContentType = class ContentType extends core.Object { + static new(primaryType, subType, opts) { + if (primaryType == null) dart.nullFailed(I[176], 923, 30, "primaryType"); + if (subType == null) dart.nullFailed(I[176], 923, 50, "subType"); + let charset = opts && 'charset' in opts ? opts.charset : null; + let parameters = opts && 'parameters' in opts ? opts.parameters : C[452] || CT.C452; + if (parameters == null) dart.nullFailed(I[176], 924, 46, "parameters"); + return new _http._ContentType.new(primaryType, subType, charset, parameters); + } + static parse(value) { + if (value == null) dart.nullFailed(I[176], 941, 35, "value"); + return _http._ContentType.parse(value); + } +}; +(_http.ContentType[dart.mixinNew] = function() { +}).prototype = _http.ContentType.prototype; +dart.addTypeTests(_http.ContentType); +dart.addTypeCaches(_http.ContentType); +_http.ContentType[dart.implements] = () => [_http.HeaderValue]; +dart.setLibraryUri(_http.ContentType, I[177]); +dart.defineLazy(_http.ContentType, { + /*_http.ContentType.text*/get text() { + return _http.ContentType.new("text", "plain", {charset: "utf-8"}); + }, + /*_http.ContentType.TEXT*/get TEXT() { + return _http.ContentType.text; + }, + /*_http.ContentType.html*/get html() { + return _http.ContentType.new("text", "html", {charset: "utf-8"}); + }, + /*_http.ContentType.HTML*/get HTML() { + return _http.ContentType.html; + }, + /*_http.ContentType.json*/get json() { + return _http.ContentType.new("application", "json", {charset: "utf-8"}); + }, + /*_http.ContentType.JSON*/get JSON() { + return _http.ContentType.json; + }, + /*_http.ContentType.binary*/get binary() { + return _http.ContentType.new("application", "octet-stream"); + }, + /*_http.ContentType.BINARY*/get BINARY() { + return _http.ContentType.binary; + } +}, false); +var expires$ = dart.privateName(_http, "Cookie.expires"); +var maxAge = dart.privateName(_http, "Cookie.maxAge"); +var domain = dart.privateName(_http, "Cookie.domain"); +var path = dart.privateName(_http, "Cookie.path"); +var secure = dart.privateName(_http, "Cookie.secure"); +var httpOnly = dart.privateName(_http, "Cookie.httpOnly"); +var __Cookie_name = dart.privateName(_http, "_#Cookie#name"); +var __Cookie_name_isSet = dart.privateName(_http, "_#Cookie#name#isSet"); +var __Cookie_value = dart.privateName(_http, "_#Cookie#value"); +var __Cookie_value_isSet = dart.privateName(_http, "_#Cookie#value#isSet"); +_http.Cookie = class Cookie extends core.Object { + get expires() { + return this[expires$]; + } + set expires(value) { + this[expires$] = value; + } + get maxAge() { + return this[maxAge]; + } + set maxAge(value) { + this[maxAge] = value; + } + get domain() { + return this[domain]; + } + set domain(value) { + this[domain] = value; + } + get path() { + return this[path]; + } + set path(value) { + this[path] = value; + } + get secure() { + return this[secure]; + } + set secure(value) { + this[secure] = value; + } + get httpOnly() { + return this[httpOnly]; + } + set httpOnly(value) { + this[httpOnly] = value; + } + get name() { + let t260; + return dart.test(this[__Cookie_name_isSet]) ? (t260 = this[__Cookie_name], t260) : dart.throw(new _internal.LateError.fieldNI("name")); + } + set name(t260) { + if (t260 == null) dart.nullFailed(I[176], 996, 15, "null"); + this[__Cookie_name_isSet] = true; + this[__Cookie_name] = t260; + } + get value() { + let t261; + return dart.test(this[__Cookie_value_isSet]) ? (t261 = this[__Cookie_value], t261) : dart.throw(new _internal.LateError.fieldNI("value")); + } + set value(t261) { + if (t261 == null) dart.nullFailed(I[176], 1009, 15, "null"); + this[__Cookie_value_isSet] = true; + this[__Cookie_value] = t261; + } + static new(name, value) { + if (name == null) dart.nullFailed(I[176], 1051, 25, "name"); + if (value == null) dart.nullFailed(I[176], 1051, 38, "value"); + return new _http._Cookie.new(name, value); + } + static fromSetCookieValue(value) { + if (value == null) dart.nullFailed(I[176], 1057, 44, "value"); + return new _http._Cookie.fromSetCookieValue(value); + } +}; +(_http.Cookie[dart.mixinNew] = function() { + this[__Cookie_name] = null; + this[__Cookie_name_isSet] = false; + this[__Cookie_value] = null; + this[__Cookie_value_isSet] = false; + this[expires$] = null; + this[maxAge] = null; + this[domain] = null; + this[path] = null; + this[secure] = false; + this[httpOnly] = false; +}).prototype = _http.Cookie.prototype; +dart.addTypeTests(_http.Cookie); +dart.addTypeCaches(_http.Cookie); +dart.setGetterSignature(_http.Cookie, () => ({ + __proto__: dart.getGetters(_http.Cookie.__proto__), + name: core.String, + value: core.String +})); +dart.setSetterSignature(_http.Cookie, () => ({ + __proto__: dart.getSetters(_http.Cookie.__proto__), + name: core.String, + value: core.String +})); +dart.setLibraryUri(_http.Cookie, I[177]); +dart.setFieldSignature(_http.Cookie, () => ({ + __proto__: dart.getFields(_http.Cookie.__proto__), + [__Cookie_name]: dart.fieldType(dart.nullable(core.String)), + [__Cookie_name_isSet]: dart.fieldType(core.bool), + [__Cookie_value]: dart.fieldType(dart.nullable(core.String)), + [__Cookie_value_isSet]: dart.fieldType(core.bool), + expires: dart.fieldType(dart.nullable(core.DateTime)), + maxAge: dart.fieldType(dart.nullable(core.int)), + domain: dart.fieldType(dart.nullable(core.String)), + path: dart.fieldType(dart.nullable(core.String)), + secure: dart.fieldType(core.bool), + httpOnly: dart.fieldType(core.bool) +})); +_http.HttpRequest = class HttpRequest extends core.Object {}; +(_http.HttpRequest.new = function() { + ; +}).prototype = _http.HttpRequest.prototype; +_http.HttpRequest.prototype[dart.isStream] = true; +dart.addTypeTests(_http.HttpRequest); +dart.addTypeCaches(_http.HttpRequest); +_http.HttpRequest[dart.implements] = () => [async.Stream$(typed_data.Uint8List)]; +dart.setLibraryUri(_http.HttpRequest, I[177]); +var contentLength$ = dart.privateName(_http, "HttpResponse.contentLength"); +var statusCode = dart.privateName(_http, "HttpResponse.statusCode"); +var deadline = dart.privateName(_http, "HttpResponse.deadline"); +var bufferOutput = dart.privateName(_http, "HttpResponse.bufferOutput"); +var __HttpResponse_reasonPhrase = dart.privateName(_http, "_#HttpResponse#reasonPhrase"); +var __HttpResponse_reasonPhrase_isSet = dart.privateName(_http, "_#HttpResponse#reasonPhrase#isSet"); +var __HttpResponse_persistentConnection = dart.privateName(_http, "_#HttpResponse#persistentConnection"); +var __HttpResponse_persistentConnection_isSet = dart.privateName(_http, "_#HttpResponse#persistentConnection#isSet"); +_http.HttpResponse = class HttpResponse extends core.Object { + get contentLength() { + return this[contentLength$]; + } + set contentLength(value) { + this[contentLength$] = value; + } + get statusCode() { + return this[statusCode]; + } + set statusCode(value) { + this[statusCode] = value; + } + get deadline() { + return this[deadline]; + } + set deadline(value) { + this[deadline] = value; + } + get bufferOutput() { + return this[bufferOutput]; + } + set bufferOutput(value) { + this[bufferOutput] = value; + } + get reasonPhrase() { + let t262; + return dart.test(this[__HttpResponse_reasonPhrase_isSet]) ? (t262 = this[__HttpResponse_reasonPhrase], t262) : dart.throw(new _internal.LateError.fieldNI("reasonPhrase")); + } + set reasonPhrase(t262) { + if (t262 == null) dart.nullFailed(I[176], 1295, 15, "null"); + this[__HttpResponse_reasonPhrase_isSet] = true; + this[__HttpResponse_reasonPhrase] = t262; + } + get persistentConnection() { + let t263; + return dart.test(this[__HttpResponse_persistentConnection_isSet]) ? (t263 = this[__HttpResponse_persistentConnection], t263) : dart.throw(new _internal.LateError.fieldNI("persistentConnection")); + } + set persistentConnection(t263) { + if (t263 == null) dart.nullFailed(I[176], 1302, 13, "null"); + this[__HttpResponse_persistentConnection_isSet] = true; + this[__HttpResponse_persistentConnection] = t263; + } +}; +(_http.HttpResponse.new = function() { + this[contentLength$] = -1; + this[statusCode] = 200; + this[__HttpResponse_reasonPhrase] = null; + this[__HttpResponse_reasonPhrase_isSet] = false; + this[__HttpResponse_persistentConnection] = null; + this[__HttpResponse_persistentConnection_isSet] = false; + this[deadline] = null; + this[bufferOutput] = true; + ; +}).prototype = _http.HttpResponse.prototype; +dart.addTypeTests(_http.HttpResponse); +dart.addTypeCaches(_http.HttpResponse); +_http.HttpResponse[dart.implements] = () => [io.IOSink]; +dart.setGetterSignature(_http.HttpResponse, () => ({ + __proto__: dart.getGetters(_http.HttpResponse.__proto__), + reasonPhrase: core.String, + persistentConnection: core.bool +})); +dart.setSetterSignature(_http.HttpResponse, () => ({ + __proto__: dart.getSetters(_http.HttpResponse.__proto__), + reasonPhrase: core.String, + persistentConnection: core.bool +})); +dart.setLibraryUri(_http.HttpResponse, I[177]); +dart.setFieldSignature(_http.HttpResponse, () => ({ + __proto__: dart.getFields(_http.HttpResponse.__proto__), + contentLength: dart.fieldType(core.int), + statusCode: dart.fieldType(core.int), + [__HttpResponse_reasonPhrase]: dart.fieldType(dart.nullable(core.String)), + [__HttpResponse_reasonPhrase_isSet]: dart.fieldType(core.bool), + [__HttpResponse_persistentConnection]: dart.fieldType(dart.nullable(core.bool)), + [__HttpResponse_persistentConnection_isSet]: dart.fieldType(core.bool), + deadline: dart.fieldType(dart.nullable(core.Duration)), + bufferOutput: dart.fieldType(core.bool) +})); +var idleTimeout$ = dart.privateName(_http, "HttpClient.idleTimeout"); +var connectionTimeout = dart.privateName(_http, "HttpClient.connectionTimeout"); +var maxConnectionsPerHost = dart.privateName(_http, "HttpClient.maxConnectionsPerHost"); +var autoUncompress = dart.privateName(_http, "HttpClient.autoUncompress"); +var userAgent = dart.privateName(_http, "HttpClient.userAgent"); +_http.HttpClient = class HttpClient extends core.Object { + get idleTimeout() { + return this[idleTimeout$]; + } + set idleTimeout(value) { + this[idleTimeout$] = value; + } + get connectionTimeout() { + return this[connectionTimeout]; + } + set connectionTimeout(value) { + this[connectionTimeout] = value; + } + get maxConnectionsPerHost() { + return this[maxConnectionsPerHost]; + } + set maxConnectionsPerHost(value) { + this[maxConnectionsPerHost] = value; + } + get autoUncompress() { + return this[autoUncompress]; + } + set autoUncompress(value) { + this[autoUncompress] = value; + } + get userAgent() { + return this[userAgent]; + } + set userAgent(value) { + this[userAgent] = value; + } + static set enableTimelineLogging(value) { + if (value == null) dart.nullFailed(I[176], 1476, 41, "value"); + let enabled = _internal.valueOfNonNullableParamWithDefault(core.bool, value, false); + if (enabled != _http.HttpClient._enableTimelineLogging) { + developer.postEvent("HttpTimelineLoggingStateChange", new _js_helper.LinkedMap.from(["isolateId", developer.Service.getIsolateID(isolate$.Isolate.current), "enabled", enabled])); + } + _http.HttpClient._enableTimelineLogging = enabled; + } + static get enableTimelineLogging() { + return _http.HttpClient._enableTimelineLogging; + } + static new(opts) { + let context = opts && 'context' in opts ? opts.context : null; + let overrides = _http.HttpOverrides.current; + if (overrides == null) { + return new _http._HttpClient.new(context); + } + return overrides.createHttpClient(context); + } + static findProxyFromEnvironment(url, opts) { + if (url == null) dart.nullFailed(I[176], 1829, 46, "url"); + let environment = opts && 'environment' in opts ? opts.environment : null; + let overrides = _http.HttpOverrides.current; + if (overrides == null) { + return _http._HttpClient._findProxyFromEnvironment(url, environment); + } + return overrides.findProxyFromEnvironment(url, environment); + } +}; +(_http.HttpClient[dart.mixinNew] = function() { + this[idleTimeout$] = C[453] || CT.C453; + this[connectionTimeout] = null; + this[maxConnectionsPerHost] = null; + this[autoUncompress] = true; + this[userAgent] = null; +}).prototype = _http.HttpClient.prototype; +dart.addTypeTests(_http.HttpClient); +dart.addTypeCaches(_http.HttpClient); +dart.setLibraryUri(_http.HttpClient, I[177]); +dart.setFieldSignature(_http.HttpClient, () => ({ + __proto__: dart.getFields(_http.HttpClient.__proto__), + idleTimeout: dart.fieldType(core.Duration), + connectionTimeout: dart.fieldType(dart.nullable(core.Duration)), + maxConnectionsPerHost: dart.fieldType(dart.nullable(core.int)), + autoUncompress: dart.fieldType(core.bool), + userAgent: dart.fieldType(dart.nullable(core.String)) +})); +dart.defineLazy(_http.HttpClient, { + /*_http.HttpClient.defaultHttpPort*/get defaultHttpPort() { + return 80; + }, + /*_http.HttpClient.DEFAULT_HTTP_PORT*/get DEFAULT_HTTP_PORT() { + return 80; + }, + /*_http.HttpClient.defaultHttpsPort*/get defaultHttpsPort() { + return 443; + }, + /*_http.HttpClient.DEFAULT_HTTPS_PORT*/get DEFAULT_HTTPS_PORT() { + return 443; + }, + /*_http.HttpClient._enableTimelineLogging*/get _enableTimelineLogging() { + return false; + }, + set _enableTimelineLogging(_) {} +}, false); +var persistentConnection = dart.privateName(_http, "HttpClientRequest.persistentConnection"); +var followRedirects = dart.privateName(_http, "HttpClientRequest.followRedirects"); +var maxRedirects = dart.privateName(_http, "HttpClientRequest.maxRedirects"); +var contentLength$0 = dart.privateName(_http, "HttpClientRequest.contentLength"); +var bufferOutput$ = dart.privateName(_http, "HttpClientRequest.bufferOutput"); +_http.HttpClientRequest = class HttpClientRequest extends core.Object { + get persistentConnection() { + return this[persistentConnection]; + } + set persistentConnection(value) { + this[persistentConnection] = value; + } + get followRedirects() { + return this[followRedirects]; + } + set followRedirects(value) { + this[followRedirects] = value; + } + get maxRedirects() { + return this[maxRedirects]; + } + set maxRedirects(value) { + this[maxRedirects] = value; + } + get contentLength() { + return this[contentLength$0]; + } + set contentLength(value) { + this[contentLength$0] = value; + } + get bufferOutput() { + return this[bufferOutput$]; + } + set bufferOutput(value) { + this[bufferOutput$] = value; + } +}; +(_http.HttpClientRequest.new = function() { + this[persistentConnection] = true; + this[followRedirects] = true; + this[maxRedirects] = 5; + this[contentLength$0] = -1; + this[bufferOutput$] = true; + ; +}).prototype = _http.HttpClientRequest.prototype; +dart.addTypeTests(_http.HttpClientRequest); +dart.addTypeCaches(_http.HttpClientRequest); +_http.HttpClientRequest[dart.implements] = () => [io.IOSink]; +dart.setLibraryUri(_http.HttpClientRequest, I[177]); +dart.setFieldSignature(_http.HttpClientRequest, () => ({ + __proto__: dart.getFields(_http.HttpClientRequest.__proto__), + persistentConnection: dart.fieldType(core.bool), + followRedirects: dart.fieldType(core.bool), + maxRedirects: dart.fieldType(core.int), + contentLength: dart.fieldType(core.int), + bufferOutput: dart.fieldType(core.bool) +})); +_http.HttpClientResponse = class HttpClientResponse extends core.Object {}; +(_http.HttpClientResponse.new = function() { + ; +}).prototype = _http.HttpClientResponse.prototype; +_http.HttpClientResponse.prototype[dart.isStream] = true; +dart.addTypeTests(_http.HttpClientResponse); +dart.addTypeCaches(_http.HttpClientResponse); +_http.HttpClientResponse[dart.implements] = () => [async.Stream$(core.List$(core.int))]; +dart.setLibraryUri(_http.HttpClientResponse, I[177]); +var _name$7 = dart.privateName(_http, "_name"); +_http.HttpClientResponseCompressionState = class HttpClientResponseCompressionState extends core.Object { + toString() { + return this[_name$7]; + } +}; +(_http.HttpClientResponseCompressionState.new = function(index, _name) { + if (index == null) dart.nullFailed(I[176], 2198, 6, "index"); + if (_name == null) dart.nullFailed(I[176], 2198, 6, "_name"); + this.index = index; + this[_name$7] = _name; + ; +}).prototype = _http.HttpClientResponseCompressionState.prototype; +dart.addTypeTests(_http.HttpClientResponseCompressionState); +dart.addTypeCaches(_http.HttpClientResponseCompressionState); +dart.setLibraryUri(_http.HttpClientResponseCompressionState, I[177]); +dart.setFieldSignature(_http.HttpClientResponseCompressionState, () => ({ + __proto__: dart.getFields(_http.HttpClientResponseCompressionState.__proto__), + index: dart.finalFieldType(core.int), + [_name$7]: dart.finalFieldType(core.String) +})); +dart.defineExtensionMethods(_http.HttpClientResponseCompressionState, ['toString']); +_http.HttpClientResponseCompressionState.notCompressed = C[454] || CT.C454; +_http.HttpClientResponseCompressionState.decompressed = C[455] || CT.C455; +_http.HttpClientResponseCompressionState.compressed = C[456] || CT.C456; +_http.HttpClientResponseCompressionState.values = C[457] || CT.C457; +_http.HttpClientCredentials = class HttpClientCredentials extends core.Object {}; +(_http.HttpClientCredentials.new = function() { + ; +}).prototype = _http.HttpClientCredentials.prototype; +dart.addTypeTests(_http.HttpClientCredentials); +dart.addTypeCaches(_http.HttpClientCredentials); +dart.setLibraryUri(_http.HttpClientCredentials, I[177]); +_http.HttpClientBasicCredentials = class HttpClientBasicCredentials extends _http.HttpClientCredentials { + static new(username, password) { + if (username == null) dart.nullFailed(I[176], 2236, 45, "username"); + if (password == null) dart.nullFailed(I[176], 2236, 62, "password"); + return new _http._HttpClientBasicCredentials.new(username, password); + } +}; +dart.addTypeTests(_http.HttpClientBasicCredentials); +dart.addTypeCaches(_http.HttpClientBasicCredentials); +dart.setLibraryUri(_http.HttpClientBasicCredentials, I[177]); +_http.HttpClientDigestCredentials = class HttpClientDigestCredentials extends _http.HttpClientCredentials { + static new(username, password) { + if (username == null) dart.nullFailed(I[176], 2247, 46, "username"); + if (password == null) dart.nullFailed(I[176], 2247, 63, "password"); + return new _http._HttpClientDigestCredentials.new(username, password); + } +}; +dart.addTypeTests(_http.HttpClientDigestCredentials); +dart.addTypeCaches(_http.HttpClientDigestCredentials); +dart.setLibraryUri(_http.HttpClientDigestCredentials, I[177]); +_http.HttpConnectionInfo = class HttpConnectionInfo extends core.Object {}; +(_http.HttpConnectionInfo.new = function() { + ; +}).prototype = _http.HttpConnectionInfo.prototype; +dart.addTypeTests(_http.HttpConnectionInfo); +dart.addTypeCaches(_http.HttpConnectionInfo); +dart.setLibraryUri(_http.HttpConnectionInfo, I[177]); +_http.RedirectInfo = class RedirectInfo extends core.Object {}; +(_http.RedirectInfo.new = function() { + ; +}).prototype = _http.RedirectInfo.prototype; +dart.addTypeTests(_http.RedirectInfo); +dart.addTypeCaches(_http.RedirectInfo); +dart.setLibraryUri(_http.RedirectInfo, I[177]); +_http.DetachedSocket = class DetachedSocket extends core.Object {}; +(_http.DetachedSocket.new = function() { + ; +}).prototype = _http.DetachedSocket.prototype; +dart.addTypeTests(_http.DetachedSocket); +dart.addTypeCaches(_http.DetachedSocket); +dart.setLibraryUri(_http.DetachedSocket, I[177]); +var message$17 = dart.privateName(_http, "HttpException.message"); +var uri$0 = dart.privateName(_http, "HttpException.uri"); +_http.HttpException = class HttpException extends core.Object { + get message() { + return this[message$17]; + } + set message(value) { + super.message = value; + } + get uri() { + return this[uri$0]; + } + set uri(value) { + super.uri = value; + } + toString() { + let t264; + let b = (t264 = new core.StringBuffer.new(), (() => { + t264.write("HttpException: "); + t264.write(this.message); + return t264; + })()); + let uri = this.uri; + if (uri != null) { + b.write(", uri = " + dart.str(uri)); + } + return dart.toString(b); + } +}; +(_http.HttpException.new = function(message, opts) { + if (message == null) dart.nullFailed(I[176], 2297, 28, "message"); + let uri = opts && 'uri' in opts ? opts.uri : null; + this[message$17] = message; + this[uri$0] = uri; + ; +}).prototype = _http.HttpException.prototype; +dart.addTypeTests(_http.HttpException); +dart.addTypeCaches(_http.HttpException); +_http.HttpException[dart.implements] = () => [io.IOException]; +dart.setLibraryUri(_http.HttpException, I[177]); +dart.setFieldSignature(_http.HttpException, () => ({ + __proto__: dart.getFields(_http.HttpException.__proto__), + message: dart.finalFieldType(core.String), + uri: dart.finalFieldType(dart.nullable(core.Uri)) +})); +dart.defineExtensionMethods(_http.HttpException, ['toString']); +var message$18 = dart.privateName(_http, "RedirectException.message"); +var redirects$ = dart.privateName(_http, "RedirectException.redirects"); +_http.RedirectException = class RedirectException extends core.Object { + get message() { + return this[message$18]; + } + set message(value) { + super.message = value; + } + get redirects() { + return this[redirects$]; + } + set redirects(value) { + super.redirects = value; + } + toString() { + return "RedirectException: " + dart.str(this.message); + } + get uri() { + return this.redirects[$last].location; + } +}; +(_http.RedirectException.new = function(message, redirects) { + if (message == null) dart.nullFailed(I[176], 2313, 32, "message"); + if (redirects == null) dart.nullFailed(I[176], 2313, 46, "redirects"); + this[message$18] = message; + this[redirects$] = redirects; + ; +}).prototype = _http.RedirectException.prototype; +dart.addTypeTests(_http.RedirectException); +dart.addTypeCaches(_http.RedirectException); +_http.RedirectException[dart.implements] = () => [_http.HttpException]; +dart.setGetterSignature(_http.RedirectException, () => ({ + __proto__: dart.getGetters(_http.RedirectException.__proto__), + uri: core.Uri +})); +dart.setLibraryUri(_http.RedirectException, I[177]); +dart.setFieldSignature(_http.RedirectException, () => ({ + __proto__: dart.getFields(_http.RedirectException.__proto__), + message: dart.finalFieldType(core.String), + redirects: dart.finalFieldType(core.List$(_http.RedirectInfo)) +})); +dart.defineExtensionMethods(_http.RedirectException, ['toString']); +_http._CryptoUtils = class _CryptoUtils extends core.Object { + static getRandomBytes(count) { + if (count == null) dart.nullFailed(I[178], 45, 39, "count"); + let result = _native_typed_data.NativeUint8List.new(count); + for (let i = 0; i < dart.notNull(count); i = i + 1) { + result[$_set](i, _http._CryptoUtils._rng.nextInt(255)); + } + return result; + } + static bytesToHex(bytes) { + if (bytes == null) dart.nullFailed(I[178], 53, 38, "bytes"); + let result = new core.StringBuffer.new(); + for (let part of bytes) { + result.write((dart.notNull(part) < 16 ? "0" : "") + part[$toRadixString](16)); + } + return result.toString(); + } + static bytesToBase64(bytes, urlSafe = false, addLineSeparator = false) { + let t264, t264$, t264$0, t264$1, t264$2, t264$3, t264$4, t264$5, t264$6, t264$7, t264$8, t264$9, t264$10, t264$11, t264$12, t264$13, t264$14; + if (bytes == null) dart.nullFailed(I[178], 61, 41, "bytes"); + if (urlSafe == null) dart.nullFailed(I[178], 62, 13, "urlSafe"); + if (addLineSeparator == null) dart.nullFailed(I[178], 62, 35, "addLineSeparator"); + let len = bytes[$length]; + if (len === 0) { + return ""; + } + let lookup = dart.test(urlSafe) ? _http._CryptoUtils._encodeTableUrlSafe : _http._CryptoUtils._encodeTable; + let remainderLength = len[$remainder](3); + let chunkLength = dart.notNull(len) - remainderLength; + let outputLen = (dart.notNull(len) / 3)[$truncate]() * 4 + (remainderLength > 0 ? 4 : 0); + if (dart.test(addLineSeparator)) { + outputLen = outputLen + (((outputLen - 1) / 76)[$truncate]() << 1 >>> 0); + } + let out = T$0.ListOfint().filled(outputLen, 0); + let j = 0; + let i = 0; + let c = 0; + while (i < chunkLength) { + let x = (dart.notNull(bytes[$_get]((t264 = i, i = t264 + 1, t264))) << 16 & 16777215 | dart.notNull(bytes[$_get]((t264$ = i, i = t264$ + 1, t264$))) << 8 & 16777215 | dart.notNull(bytes[$_get]((t264$0 = i, i = t264$0 + 1, t264$0)))) >>> 0; + out[$_set]((t264$1 = j, j = t264$1 + 1, t264$1), lookup[$codeUnitAt](x[$rightShift](18))); + out[$_set]((t264$2 = j, j = t264$2 + 1, t264$2), lookup[$codeUnitAt](x >> 12 & 63)); + out[$_set]((t264$3 = j, j = t264$3 + 1, t264$3), lookup[$codeUnitAt](x >> 6 & 63)); + out[$_set]((t264$4 = j, j = t264$4 + 1, t264$4), lookup[$codeUnitAt](x & 63)); + if (dart.test(addLineSeparator) && (c = c + 1) === 19 && j < outputLen - 2) { + out[$_set]((t264$5 = j, j = t264$5 + 1, t264$5), 13); + out[$_set]((t264$6 = j, j = t264$6 + 1, t264$6), 10); + c = 0; + } + } + if (remainderLength === 1) { + let x = bytes[$_get](i); + out[$_set]((t264$7 = j, j = t264$7 + 1, t264$7), lookup[$codeUnitAt](x[$rightShift](2))); + out[$_set]((t264$8 = j, j = t264$8 + 1, t264$8), lookup[$codeUnitAt](dart.notNull(x) << 4 & 63)); + out[$_set]((t264$9 = j, j = t264$9 + 1, t264$9), 61); + out[$_set]((t264$10 = j, j = t264$10 + 1, t264$10), 61); + } else if (remainderLength === 2) { + let x = bytes[$_get](i); + let y = bytes[$_get](i + 1); + out[$_set]((t264$11 = j, j = t264$11 + 1, t264$11), lookup[$codeUnitAt](x[$rightShift](2))); + out[$_set]((t264$12 = j, j = t264$12 + 1, t264$12), lookup[$codeUnitAt]((dart.notNull(x) << 4 | y[$rightShift](4)) & 63)); + out[$_set]((t264$13 = j, j = t264$13 + 1, t264$13), lookup[$codeUnitAt](dart.notNull(y) << 2 & 63)); + out[$_set]((t264$14 = j, j = t264$14 + 1, t264$14), 61); + } + return core.String.fromCharCodes(out); + } + static base64StringToBytes(input, ignoreInvalidCharacters = true) { + let t264, t264$, t264$0, t264$1; + if (input == null) dart.nullFailed(I[178], 117, 47, "input"); + if (ignoreInvalidCharacters == null) dart.nullFailed(I[178], 118, 13, "ignoreInvalidCharacters"); + let len = input.length; + if (len === 0) { + return T$0.ListOfint().empty(); + } + let extrasLen = 0; + for (let i = 0; i < len; i = i + 1) { + let c = _http._CryptoUtils._decodeTable[$_get](input[$codeUnitAt](i)); + if (dart.notNull(c) < 0) { + extrasLen = extrasLen + 1; + if (c === -2 && !dart.test(ignoreInvalidCharacters)) { + dart.throw(new core.FormatException.new("Invalid character: " + input[$_get](i))); + } + } + } + if ((len - extrasLen)[$modulo](4) !== 0) { + dart.throw(new core.FormatException.new("Size of Base 64 characters in Input\n must be a multiple of 4. Input: " + dart.str(input))); + } + let padLength = 0; + for (let i = len - 1; i >= 0; i = i - 1) { + let currentCodeUnit = input[$codeUnitAt](i); + if (dart.notNull(_http._CryptoUtils._decodeTable[$_get](currentCodeUnit)) > 0) break; + if (currentCodeUnit === 61) padLength = padLength + 1; + } + let outputLen = ((len - extrasLen) * 6)[$rightShift](3) - padLength; + let out = T$0.ListOfint().filled(outputLen, 0); + for (let i = 0, o = 0; o < outputLen;) { + let x = 0; + for (let j = 4; j > 0;) { + let c = _http._CryptoUtils._decodeTable[$_get](input[$codeUnitAt]((t264 = i, i = t264 + 1, t264))); + if (dart.notNull(c) >= 0) { + x = (x << 6 & 16777215 | dart.notNull(c)) >>> 0; + j = j - 1; + } + } + out[$_set]((t264$ = o, o = t264$ + 1, t264$), x[$rightShift](16)); + if (o < outputLen) { + out[$_set]((t264$0 = o, o = t264$0 + 1, t264$0), x >> 8 & 255); + if (o < outputLen) out[$_set]((t264$1 = o, o = t264$1 + 1, t264$1), x & 255); + } + } + return out; + } +}; +(_http._CryptoUtils.new = function() { + ; +}).prototype = _http._CryptoUtils.prototype; +dart.addTypeTests(_http._CryptoUtils); +dart.addTypeCaches(_http._CryptoUtils); +dart.setLibraryUri(_http._CryptoUtils, I[177]); +dart.defineLazy(_http._CryptoUtils, { + /*_http._CryptoUtils.PAD*/get PAD() { + return 61; + }, + /*_http._CryptoUtils.CR*/get CR() { + return 13; + }, + /*_http._CryptoUtils.LF*/get LF() { + return 10; + }, + /*_http._CryptoUtils.LINE_LENGTH*/get LINE_LENGTH() { + return 76; + }, + /*_http._CryptoUtils._encodeTable*/get _encodeTable() { + return "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"; + }, + /*_http._CryptoUtils._encodeTableUrlSafe*/get _encodeTableUrlSafe() { + return "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"; + }, + /*_http._CryptoUtils._decodeTable*/get _decodeTable() { + return C[458] || CT.C458; + }, + /*_http._CryptoUtils._rng*/get _rng() { + return math.Random.secure(); + }, + set _rng(_) {} +}, false); +var _lengthInBytes = dart.privateName(_http, "_lengthInBytes"); +var _digestCalled = dart.privateName(_http, "_digestCalled"); +var _chunkSizeInWords$ = dart.privateName(_http, "_chunkSizeInWords"); +var _bigEndianWords$ = dart.privateName(_http, "_bigEndianWords"); +var _pendingData = dart.privateName(_http, "_pendingData"); +var _currentChunk = dart.privateName(_http, "_currentChunk"); +var _h = dart.privateName(_http, "_h"); +var _iterate = dart.privateName(_http, "_iterate"); +var _resultAsBytes = dart.privateName(_http, "_resultAsBytes"); +var _finalizeData = dart.privateName(_http, "_finalizeData"); +var _add32 = dart.privateName(_http, "_add32"); +var _roundUp = dart.privateName(_http, "_roundUp"); +var _rotl32 = dart.privateName(_http, "_rotl32"); +var _wordToBytes = dart.privateName(_http, "_wordToBytes"); +var _bytesToChunk = dart.privateName(_http, "_bytesToChunk"); +var _updateHash = dart.privateName(_http, "_updateHash"); +_http._HashBase = class _HashBase extends core.Object { + add(data) { + if (data == null) dart.nullFailed(I[178], 196, 17, "data"); + if (dart.test(this[_digestCalled])) { + dart.throw(new core.StateError.new("Hash update method called after digest was retrieved")); + } + this[_lengthInBytes] = dart.notNull(this[_lengthInBytes]) + dart.notNull(data[$length]); + this[_pendingData][$addAll](data); + this[_iterate](); + } + close() { + if (dart.test(this[_digestCalled])) { + return this[_resultAsBytes](); + } + this[_digestCalled] = true; + this[_finalizeData](); + this[_iterate](); + if (!(this[_pendingData][$length] === 0)) dart.assertFailed(null, I[178], 214, 12, "_pendingData.length == 0"); + return this[_resultAsBytes](); + } + get blockSize() { + return dart.notNull(this[_chunkSizeInWords$]) * 4; + } + [_add32](x, y) { + return dart.dsend(dart.dsend(x, '+', [y]), '&', [4294967295.0]); + } + [_roundUp](val, n) { + return dart.dsend(dart.dsend(dart.dsend(val, '+', [n]), '-', [1]), '&', [dart.dsend(n, '_negate', [])]); + } + [_rotl32](val, shift) { + if (val == null) dart.nullFailed(I[178], 234, 19, "val"); + if (shift == null) dart.nullFailed(I[178], 234, 28, "shift"); + let mod_shift = dart.notNull(shift) & 31; + return (val[$leftShift](mod_shift) & 4294967295.0 | ((dart.notNull(val) & 4294967295.0) >>> 0)[$rightShift](32 - mod_shift)) >>> 0; + } + [_resultAsBytes]() { + let result = T$.JSArrayOfint().of([]); + for (let i = 0; i < dart.notNull(this[_h][$length]); i = i + 1) { + result[$addAll](this[_wordToBytes](this[_h][$_get](i))); + } + return result; + } + [_bytesToChunk](data, dataIndex) { + if (data == null) dart.nullFailed(I[178], 250, 27, "data"); + if (dataIndex == null) dart.nullFailed(I[178], 250, 37, "dataIndex"); + if (!(dart.notNull(data[$length]) - dart.notNull(dataIndex) >= dart.notNull(this[_chunkSizeInWords$]) * 4)) dart.assertFailed(null, I[178], 251, 12, "(data.length - dataIndex) >= (_chunkSizeInWords * _BYTES_PER_WORD)"); + for (let wordIndex = 0; wordIndex < dart.notNull(this[_chunkSizeInWords$]); wordIndex = wordIndex + 1) { + let w3 = dart.test(this[_bigEndianWords$]) ? data[$_get](dataIndex) : data[$_get](dart.notNull(dataIndex) + 3); + let w2 = dart.test(this[_bigEndianWords$]) ? data[$_get](dart.notNull(dataIndex) + 1) : data[$_get](dart.notNull(dataIndex) + 2); + let w1 = dart.test(this[_bigEndianWords$]) ? data[$_get](dart.notNull(dataIndex) + 2) : data[$_get](dart.notNull(dataIndex) + 1); + let w0 = dart.test(this[_bigEndianWords$]) ? data[$_get](dart.notNull(dataIndex) + 3) : data[$_get](dataIndex); + dataIndex = dart.notNull(dataIndex) + 4; + let word = (dart.notNull(w3) & 255) << 24 >>> 0; + word = (word | (dart.notNull(w2) & 255) >>> 0 << 16 >>> 0) >>> 0; + word = (word | (dart.notNull(w1) & 255) >>> 0 << 8 >>> 0) >>> 0; + word = (word | (dart.notNull(w0) & 255) >>> 0) >>> 0; + this[_currentChunk][$_set](wordIndex, word); + } + } + [_wordToBytes](word) { + if (word == null) dart.nullFailed(I[178], 268, 30, "word"); + let bytes = T$0.ListOfint().filled(4, 0); + bytes[$_set](0, (word[$rightShift](dart.test(this[_bigEndianWords$]) ? 24 : 0) & 255) >>> 0); + bytes[$_set](1, (word[$rightShift](dart.test(this[_bigEndianWords$]) ? 16 : 8) & 255) >>> 0); + bytes[$_set](2, (word[$rightShift](dart.test(this[_bigEndianWords$]) ? 8 : 16) & 255) >>> 0); + bytes[$_set](3, (word[$rightShift](dart.test(this[_bigEndianWords$]) ? 0 : 24) & 255) >>> 0); + return bytes; + } + [_iterate]() { + let len = this[_pendingData][$length]; + let chunkSizeInBytes = dart.notNull(this[_chunkSizeInWords$]) * 4; + if (dart.notNull(len) >= chunkSizeInBytes) { + let index = 0; + for (; dart.notNull(len) - index >= chunkSizeInBytes; index = index + chunkSizeInBytes) { + this[_bytesToChunk](this[_pendingData], index); + this[_updateHash](this[_currentChunk]); + } + this[_pendingData] = this[_pendingData][$sublist](index, len); + } + } + [_finalizeData]() { + this[_pendingData][$add](128); + let contentsLength = dart.notNull(this[_lengthInBytes]) + 9; + let chunkSizeInBytes = dart.notNull(this[_chunkSizeInWords$]) * 4; + let finalizedLength = this[_roundUp](contentsLength, chunkSizeInBytes); + let zeroPadding = dart.dsend(finalizedLength, '-', [contentsLength]); + for (let i = 0; i < dart.notNull(core.num.as(zeroPadding)); i = i + 1) { + this[_pendingData][$add](0); + } + let lengthInBits = dart.notNull(this[_lengthInBytes]) * 8; + if (!(lengthInBits < math.pow(2, 32))) dart.assertFailed(null, I[178], 304, 12, "lengthInBits < pow(2, 32)"); + if (dart.test(this[_bigEndianWords$])) { + this[_pendingData][$addAll](this[_wordToBytes](0)); + this[_pendingData][$addAll](this[_wordToBytes]((lengthInBits & 4294967295.0) >>> 0)); + } else { + this[_pendingData][$addAll](this[_wordToBytes]((lengthInBits & 4294967295.0) >>> 0)); + this[_pendingData][$addAll](this[_wordToBytes](0)); + } + } +}; +(_http._HashBase.new = function(_chunkSizeInWords, digestSizeInWords, _bigEndianWords) { + if (_chunkSizeInWords == null) dart.nullFailed(I[178], 190, 18, "_chunkSizeInWords"); + if (digestSizeInWords == null) dart.nullFailed(I[178], 190, 41, "digestSizeInWords"); + if (_bigEndianWords == null) dart.nullFailed(I[178], 190, 65, "_bigEndianWords"); + this[_lengthInBytes] = 0; + this[_digestCalled] = false; + this[_chunkSizeInWords$] = _chunkSizeInWords; + this[_bigEndianWords$] = _bigEndianWords; + this[_pendingData] = T$.JSArrayOfint().of([]); + this[_currentChunk] = T$0.ListOfint().filled(_chunkSizeInWords, 0); + this[_h] = T$0.ListOfint().filled(digestSizeInWords, 0); + ; +}).prototype = _http._HashBase.prototype; +dart.addTypeTests(_http._HashBase); +dart.addTypeCaches(_http._HashBase); +dart.setMethodSignature(_http._HashBase, () => ({ + __proto__: dart.getMethods(_http._HashBase.__proto__), + add: dart.fnType(dart.dynamic, [core.List$(core.int)]), + close: dart.fnType(core.List$(core.int), []), + [_add32]: dart.fnType(dart.dynamic, [dart.dynamic, dart.dynamic]), + [_roundUp]: dart.fnType(dart.dynamic, [dart.dynamic, dart.dynamic]), + [_rotl32]: dart.fnType(core.int, [core.int, core.int]), + [_resultAsBytes]: dart.fnType(core.List$(core.int), []), + [_bytesToChunk]: dart.fnType(dart.dynamic, [core.List$(core.int), core.int]), + [_wordToBytes]: dart.fnType(core.List$(core.int), [core.int]), + [_iterate]: dart.fnType(dart.dynamic, []), + [_finalizeData]: dart.fnType(dart.dynamic, []) +})); +dart.setGetterSignature(_http._HashBase, () => ({ + __proto__: dart.getGetters(_http._HashBase.__proto__), + blockSize: core.int +})); +dart.setLibraryUri(_http._HashBase, I[177]); +dart.setFieldSignature(_http._HashBase, () => ({ + __proto__: dart.getFields(_http._HashBase.__proto__), + [_chunkSizeInWords$]: dart.finalFieldType(core.int), + [_bigEndianWords$]: dart.finalFieldType(core.bool), + [_lengthInBytes]: dart.fieldType(core.int), + [_pendingData]: dart.fieldType(core.List$(core.int)), + [_currentChunk]: dart.fieldType(core.List$(core.int)), + [_h]: dart.fieldType(core.List$(core.int)), + [_digestCalled]: dart.fieldType(core.bool) +})); +_http._MD5 = class _MD5 extends _http._HashBase { + newInstance() { + return new _http._MD5.new(); + } + [_updateHash](m) { + if (m == null) dart.nullFailed(I[178], 352, 30, "m"); + if (!(m[$length] === 16)) dart.assertFailed(null, I[178], 353, 12, "m.length == 16"); + let a = this[_h][$_get](0); + let b = this[_h][$_get](1); + let c = this[_h][$_get](2); + let d = this[_h][$_get](3); + let t0 = null; + let t1 = null; + for (let i = 0; i < 64; i = i + 1) { + if (i < 16) { + t0 = (dart.notNull(b) & dart.notNull(c) | (~dart.notNull(b) & 4294967295.0 & dart.notNull(d)) >>> 0) >>> 0; + t1 = i; + } else if (i < 32) { + t0 = (dart.notNull(d) & dart.notNull(b) | (~dart.notNull(d) & 4294967295.0 & dart.notNull(c)) >>> 0) >>> 0; + t1 = (5 * i + 1)[$modulo](16); + } else if (i < 48) { + t0 = (dart.notNull(b) ^ dart.notNull(c) ^ dart.notNull(d)) >>> 0; + t1 = (3 * i + 5)[$modulo](16); + } else { + t0 = (dart.notNull(c) ^ (dart.notNull(b) | (~dart.notNull(d) & 4294967295.0) >>> 0) >>> 0) >>> 0; + t1 = (7 * i)[$modulo](16); + } + let temp = d; + d = c; + c = b; + b = core.int.as(this[_add32](b, this[_rotl32](core.int.as(this[_add32](this[_add32](a, t0), this[_add32](_http._MD5._k[$_get](i), m[$_get](core.int.as(t1))))), _http._MD5._r[$_get](i)))); + a = temp; + } + this[_h][$_set](0, core.int.as(this[_add32](a, this[_h][$_get](0)))); + this[_h][$_set](1, core.int.as(this[_add32](b, this[_h][$_get](1)))); + this[_h][$_set](2, core.int.as(this[_add32](c, this[_h][$_get](2)))); + this[_h][$_set](3, core.int.as(this[_add32](d, this[_h][$_get](3)))); + } +}; +(_http._MD5.new = function() { + _http._MD5.__proto__.new.call(this, 16, 4, false); + this[_h][$_set](0, 1732584193); + this[_h][$_set](1, 4023233417); + this[_h][$_set](2, 2562383102); + this[_h][$_set](3, 271733878); +}).prototype = _http._MD5.prototype; +dart.addTypeTests(_http._MD5); +dart.addTypeCaches(_http._MD5); +dart.setMethodSignature(_http._MD5, () => ({ + __proto__: dart.getMethods(_http._MD5.__proto__), + newInstance: dart.fnType(_http._MD5, []), + [_updateHash]: dart.fnType(dart.void, [core.List$(core.int)]) +})); +dart.setLibraryUri(_http._MD5, I[177]); +dart.defineLazy(_http._MD5, { + /*_http._MD5._k*/get _k() { + return C[459] || CT.C459; + }, + /*_http._MD5._r*/get _r() { + return C[460] || CT.C460; + } +}, false); +var _w = dart.privateName(_http, "_w"); +_http._SHA1 = class _SHA1 extends _http._HashBase { + newInstance() { + return new _http._SHA1.new(); + } + [_updateHash](m) { + if (m == null) dart.nullFailed(I[178], 415, 30, "m"); + if (!(m[$length] === 16)) dart.assertFailed(null, I[178], 416, 12, "m.length == 16"); + let a = this[_h][$_get](0); + let b = this[_h][$_get](1); + let c = this[_h][$_get](2); + let d = this[_h][$_get](3); + let e = this[_h][$_get](4); + for (let i = 0; i < 80; i = i + 1) { + if (i < 16) { + this[_w][$_set](i, m[$_get](i)); + } else { + let n = (dart.notNull(this[_w][$_get](i - 3)) ^ dart.notNull(this[_w][$_get](i - 8)) ^ dart.notNull(this[_w][$_get](i - 14)) ^ dart.notNull(this[_w][$_get](i - 16))) >>> 0; + this[_w][$_set](i, this[_rotl32](n, 1)); + } + let t = this[_add32](this[_add32](this[_rotl32](a, 5), e), this[_w][$_get](i)); + if (i < 20) { + t = this[_add32](this[_add32](t, (dart.notNull(b) & dart.notNull(c) | (~dart.notNull(b) & dart.notNull(d)) >>> 0) >>> 0), 1518500249); + } else if (i < 40) { + t = this[_add32](this[_add32](t, (dart.notNull(b) ^ dart.notNull(c) ^ dart.notNull(d)) >>> 0), 1859775393); + } else if (i < 60) { + t = this[_add32](this[_add32](t, (dart.notNull(b) & dart.notNull(c) | (dart.notNull(b) & dart.notNull(d)) >>> 0 | (dart.notNull(c) & dart.notNull(d)) >>> 0) >>> 0), 2400959708); + } else { + t = this[_add32](this[_add32](t, (dart.notNull(b) ^ dart.notNull(c) ^ dart.notNull(d)) >>> 0), 3395469782); + } + e = d; + d = c; + c = this[_rotl32](b, 30); + b = a; + a = core.int.as(dart.dsend(t, '&', [4294967295.0])); + } + this[_h][$_set](0, core.int.as(this[_add32](a, this[_h][$_get](0)))); + this[_h][$_set](1, core.int.as(this[_add32](b, this[_h][$_get](1)))); + this[_h][$_set](2, core.int.as(this[_add32](c, this[_h][$_get](2)))); + this[_h][$_set](3, core.int.as(this[_add32](d, this[_h][$_get](3)))); + this[_h][$_set](4, core.int.as(this[_add32](e, this[_h][$_get](4)))); + } +}; +(_http._SHA1.new = function() { + this[_w] = T$0.ListOfint().filled(80, 0); + _http._SHA1.__proto__.new.call(this, 16, 5, true); + this[_h][$_set](0, 1732584193); + this[_h][$_set](1, 4023233417); + this[_h][$_set](2, 2562383102); + this[_h][$_set](3, 271733878); + this[_h][$_set](4, 3285377520); +}).prototype = _http._SHA1.prototype; +dart.addTypeTests(_http._SHA1); +dart.addTypeCaches(_http._SHA1); +dart.setMethodSignature(_http._SHA1, () => ({ + __proto__: dart.getMethods(_http._SHA1.__proto__), + newInstance: dart.fnType(_http._SHA1, []), + [_updateHash]: dart.fnType(dart.void, [core.List$(core.int)]) +})); +dart.setLibraryUri(_http._SHA1, I[177]); +dart.setFieldSignature(_http._SHA1, () => ({ + __proto__: dart.getFields(_http._SHA1.__proto__), + [_w]: dart.fieldType(core.List$(core.int)) +})); +_http.HttpDate = class HttpDate extends core.Object { + static format(date) { + let t264; + if (date == null) dart.nullFailed(I[179], 40, 33, "date"); + let wkday = C[461] || CT.C461; + let month = C[462] || CT.C462; + let d = date.toUtc(); + let sb = (t264 = new core.StringBuffer.new(), (() => { + t264.write(wkday[$_get](dart.notNull(d.weekday) - 1)); + t264.write(", "); + t264.write(dart.notNull(d.day) <= 9 ? "0" : ""); + t264.write(dart.toString(d.day)); + t264.write(" "); + t264.write(month[$_get](dart.notNull(d.month) - 1)); + t264.write(" "); + t264.write(dart.toString(d.year)); + t264.write(dart.notNull(d.hour) <= 9 ? " 0" : " "); + t264.write(dart.toString(d.hour)); + t264.write(dart.notNull(d.minute) <= 9 ? ":0" : ":"); + t264.write(dart.toString(d.minute)); + t264.write(dart.notNull(d.second) <= 9 ? ":0" : ":"); + t264.write(dart.toString(d.second)); + t264.write(" GMT"); + return t264; + })()); + return dart.toString(sb); + } + static parse(date) { + if (date == null) dart.nullFailed(I[179], 91, 32, "date"); + let SP = 32; + let wkdays = C[461] || CT.C461; + let weekdays = C[463] || CT.C463; + let months = C[462] || CT.C462; + let formatRfc1123 = 0; + let formatRfc850 = 1; + let formatAsctime = 2; + let index = 0; + let tmp = null; + function expect(s) { + if (s == null) dart.nullFailed(I[179], 125, 24, "s"); + if (date.length - index < s.length) { + dart.throw(new _http.HttpException.new("Invalid HTTP date " + dart.str(date))); + } + let tmp = date[$substring](index, index + s.length); + if (tmp !== s) { + dart.throw(new _http.HttpException.new("Invalid HTTP date " + dart.str(date))); + } + index = index + s.length; + } + dart.fn(expect, T$.StringTovoid()); + function expectWeekday() { + let weekday = null; + let pos = date[$indexOf](",", index); + if (pos === -1) { + let pos = date[$indexOf](" ", index); + if (pos === -1) dart.throw(new _http.HttpException.new("Invalid HTTP date " + dart.str(date))); + tmp = date[$substring](index, pos); + index = pos + 1; + weekday = wkdays[$indexOf](tmp); + if (weekday !== -1) { + return formatAsctime; + } + } else { + tmp = date[$substring](index, pos); + index = pos + 1; + weekday = wkdays[$indexOf](tmp); + if (weekday !== -1) { + return formatRfc1123; + } + weekday = weekdays[$indexOf](tmp); + if (weekday !== -1) { + return formatRfc850; + } + } + dart.throw(new _http.HttpException.new("Invalid HTTP date " + dart.str(date))); + } + dart.fn(expectWeekday, T$.VoidToint()); + function expectMonth(separator) { + if (separator == null) dart.nullFailed(I[179], 164, 28, "separator"); + let pos = date[$indexOf](separator, index); + if (pos - index !== 3) dart.throw(new _http.HttpException.new("Invalid HTTP date " + dart.str(date))); + tmp = date[$substring](index, pos); + index = pos + 1; + let month = months[$indexOf](tmp); + if (month !== -1) return month; + dart.throw(new _http.HttpException.new("Invalid HTTP date " + dart.str(date))); + } + dart.fn(expectMonth, T$0.StringToint()); + function expectNum(separator) { + if (separator == null) dart.nullFailed(I[179], 174, 26, "separator"); + let pos = null; + if (separator.length > 0) { + pos = date[$indexOf](separator, index); + } else { + pos = date.length; + } + let tmp = date[$substring](index, pos); + index = dart.notNull(pos) + separator.length; + try { + let value = core.int.parse(tmp); + return value; + } catch (e) { + let ex = dart.getThrown(e); + if (core.FormatException.is(ex)) { + dart.throw(new _http.HttpException.new("Invalid HTTP date " + dart.str(date))); + } else + throw e; + } + } + dart.fn(expectNum, T$0.StringToint()); + function expectEnd() { + if (index !== date.length) { + dart.throw(new _http.HttpException.new("Invalid HTTP date " + dart.str(date))); + } + } + dart.fn(expectEnd, T$.VoidTovoid()); + let format = expectWeekday(); + let year = null; + let month = null; + let day = null; + let hours = null; + let minutes = null; + let seconds = null; + if (format === formatAsctime) { + month = expectMonth(" "); + if (date[$codeUnitAt](index) === SP) index = index + 1; + day = expectNum(" "); + hours = expectNum(":"); + minutes = expectNum(":"); + seconds = expectNum(" "); + year = expectNum(""); + } else { + expect(" "); + day = expectNum(format === formatRfc1123 ? " " : "-"); + month = expectMonth(format === formatRfc1123 ? " " : "-"); + year = expectNum(" "); + hours = expectNum(":"); + minutes = expectNum(":"); + seconds = expectNum(" "); + expect("GMT"); + } + expectEnd(); + return new core.DateTime.utc(year, dart.notNull(month) + 1, day, hours, minutes, seconds, 0); + } + static _parseCookieDate(date) { + if (date == null) dart.nullFailed(I[179], 227, 43, "date"); + let monthsLowerCase = C[464] || CT.C464; + let position = 0; + function error() { + dart.throw(new _http.HttpException.new("Invalid cookie date " + dart.str(date))); + } + dart.fn(error, T$0.VoidToNever()); + function isEnd() { + return position === date.length; + } + dart.fn(isEnd, T$.VoidTobool()); + function isDelimiter(s) { + if (s == null) dart.nullFailed(I[179], 251, 29, "s"); + let char = s[$codeUnitAt](0); + if (char === 9) return true; + if (char >= 32 && char <= 47) return true; + if (char >= 59 && char <= 64) return true; + if (char >= 91 && char <= 96) return true; + if (char >= 123 && char <= 126) return true; + return false; + } + dart.fn(isDelimiter, T$.StringTobool()); + function isNonDelimiter(s) { + if (s == null) dart.nullFailed(I[179], 261, 32, "s"); + let char = s[$codeUnitAt](0); + if (char >= 0 && char <= 8) return true; + if (char >= 10 && char <= 31) return true; + if (char >= 48 && char <= 57) return true; + if (char === 58) return true; + if (char >= 65 && char <= 90) return true; + if (char >= 97 && char <= 122) return true; + if (char >= 127 && char <= 255) return true; + return false; + } + dart.fn(isNonDelimiter, T$.StringTobool()); + function isDigit(s) { + if (s == null) dart.nullFailed(I[179], 273, 25, "s"); + let char = s[$codeUnitAt](0); + if (char > 47 && char < 58) return true; + return false; + } + dart.fn(isDigit, T$.StringTobool()); + function getMonth(month) { + if (month == null) dart.nullFailed(I[179], 279, 25, "month"); + if (month.length < 3) return -1; + return monthsLowerCase[$indexOf](month[$substring](0, 3)); + } + dart.fn(getMonth, T$0.StringToint()); + function toInt(s) { + if (s == null) dart.nullFailed(I[179], 284, 22, "s"); + let index = 0; + for (; index < s.length && dart.test(isDigit(s[$_get](index))); index = index + 1) + ; + return core.int.parse(s[$substring](0, index)); + } + dart.fn(toInt, T$0.StringToint()); + let tokens = []; + while (!dart.test(isEnd())) { + while (!dart.test(isEnd()) && dart.test(isDelimiter(date[$_get](position)))) + position = position + 1; + let start = position; + while (!dart.test(isEnd()) && dart.test(isNonDelimiter(date[$_get](position)))) + position = position + 1; + tokens[$add](date[$substring](start, position)[$toLowerCase]()); + while (!dart.test(isEnd()) && dart.test(isDelimiter(date[$_get](position)))) + position = position + 1; + } + let timeStr = null; + let dayOfMonthStr = null; + let monthStr = null; + let yearStr = null; + for (let token of tokens) { + if (dart.dtest(dart.dsend(dart.dload(token, 'length'), '<', [1]))) continue; + if (timeStr == null && dart.dtest(dart.dsend(dart.dload(token, 'length'), '>=', [5])) && dart.test(isDigit(core.String.as(dart.dsend(token, '_get', [0])))) && (dart.equals(dart.dsend(token, '_get', [1]), ":") || dart.test(isDigit(core.String.as(dart.dsend(token, '_get', [1])))) && dart.equals(dart.dsend(token, '_get', [2]), ":"))) { + timeStr = T$.StringN().as(token); + } else if (dayOfMonthStr == null && dart.test(isDigit(core.String.as(dart.dsend(token, '_get', [0]))))) { + dayOfMonthStr = T$.StringN().as(token); + } else if (monthStr == null && dart.notNull(getMonth(core.String.as(token))) >= 0) { + monthStr = T$.StringN().as(token); + } else if (yearStr == null && dart.dtest(dart.dsend(dart.dload(token, 'length'), '>=', [2])) && dart.test(isDigit(core.String.as(dart.dsend(token, '_get', [0])))) && dart.test(isDigit(core.String.as(dart.dsend(token, '_get', [1]))))) { + yearStr = T$.StringN().as(token); + } + } + if (timeStr == null || dayOfMonthStr == null || monthStr == null || yearStr == null) { + error(); + dart.throw(new _internal.ReachabilityError.new("`null` encountered as the result from expression with type `Never`.")); + } + let year = toInt(yearStr); + if (dart.notNull(year) >= 70 && dart.notNull(year) <= 99) + year = dart.notNull(year) + 1900; + else if (dart.notNull(year) >= 0 && dart.notNull(year) <= 69) year = dart.notNull(year) + 2000; + if (dart.notNull(year) < 1601) { + error(); + dart.throw(new _internal.ReachabilityError.new("`null` encountered as the result from expression with type `Never`.")); + } + let dayOfMonth = toInt(dayOfMonthStr); + if (dart.notNull(dayOfMonth) < 1 || dart.notNull(dayOfMonth) > 31) { + error(); + dart.throw(new _internal.ReachabilityError.new("`null` encountered as the result from expression with type `Never`.")); + } + let month = dart.notNull(getMonth(monthStr)) + 1; + let timeList = timeStr[$split](":"); + if (timeList[$length] !== 3) { + error(); + dart.throw(new _internal.ReachabilityError.new("`null` encountered as the result from expression with type `Never`.")); + } + let hour = toInt(timeList[$_get](0)); + let minute = toInt(timeList[$_get](1)); + let second = toInt(timeList[$_get](2)); + if (dart.notNull(hour) > 23) { + error(); + dart.throw(new _internal.ReachabilityError.new("`null` encountered as the result from expression with type `Never`.")); + } + if (dart.notNull(minute) > 59) { + error(); + dart.throw(new _internal.ReachabilityError.new("`null` encountered as the result from expression with type `Never`.")); + } + if (dart.notNull(second) > 59) { + error(); + dart.throw(new _internal.ReachabilityError.new("`null` encountered as the result from expression with type `Never`.")); + } + return new core.DateTime.utc(year, month, dayOfMonth, hour, minute, second, 0); + } +}; +(_http.HttpDate.new = function() { + ; +}).prototype = _http.HttpDate.prototype; +dart.addTypeTests(_http.HttpDate); +dart.addTypeCaches(_http.HttpDate); +dart.setLibraryUri(_http.HttpDate, I[177]); +var _originalHeaderNames = dart.privateName(_http, "_originalHeaderNames"); +var _mutable = dart.privateName(_http, "_mutable"); +var _noFoldingHeaders = dart.privateName(_http, "_noFoldingHeaders"); +var _contentLength = dart.privateName(_http, "_contentLength"); +var _persistentConnection = dart.privateName(_http, "_persistentConnection"); +var _chunkedTransferEncoding = dart.privateName(_http, "_chunkedTransferEncoding"); +var _host = dart.privateName(_http, "_host"); +var _port = dart.privateName(_http, "_port"); +var _headers = dart.privateName(_http, "_headers"); +var _defaultPortForScheme = dart.privateName(_http, "_defaultPortForScheme"); +var _checkMutable = dart.privateName(_http, "_checkMutable"); +var _addAll = dart.privateName(_http, "_addAll"); +var _add$1 = dart.privateName(_http, "_add"); +var _valueToString = dart.privateName(_http, "_valueToString"); +var _originalHeaderName = dart.privateName(_http, "_originalHeaderName"); +var _set = dart.privateName(_http, "_set"); +var _addValue = dart.privateName(_http, "_addValue"); +var _updateHostHeader = dart.privateName(_http, "_updateHostHeader"); +var _addDate = dart.privateName(_http, "_addDate"); +var _addHost = dart.privateName(_http, "_addHost"); +var _addExpires = dart.privateName(_http, "_addExpires"); +var _addConnection = dart.privateName(_http, "_addConnection"); +var _addContentType = dart.privateName(_http, "_addContentType"); +var _addContentLength = dart.privateName(_http, "_addContentLength"); +var _addTransferEncoding = dart.privateName(_http, "_addTransferEncoding"); +var _addIfModifiedSince = dart.privateName(_http, "_addIfModifiedSince"); +var _foldHeader = dart.privateName(_http, "_foldHeader"); +var _finalize = dart.privateName(_http, "_finalize"); +var _build = dart.privateName(_http, "_build"); +var _parseCookies = dart.privateName(_http, "_parseCookies"); +_http._HttpHeaders = class _HttpHeaders extends core.Object { + _get(name) { + if (name == null) dart.nullFailed(I[180], 43, 36, "name"); + return this[_headers][$_get](_http._HttpHeaders._validateField(name)); + } + value(name) { + if (name == null) dart.nullFailed(I[180], 45, 24, "name"); + name = _http._HttpHeaders._validateField(name); + let values = this[_headers][$_get](name); + if (values == null) return null; + if (!dart.test(values[$isNotEmpty])) dart.assertFailed(null, I[180], 49, 12, "values.isNotEmpty"); + if (dart.notNull(values[$length]) > 1) { + dart.throw(new _http.HttpException.new("More than one value for header " + dart.str(name))); + } + return values[$_get](0); + } + add(name, value, opts) { + let t266, t266$; + if (name == null) dart.nullFailed(I[180], 56, 19, "name"); + if (value == null) dart.nullFailed(I[180], 56, 25, "value"); + let preserveHeaderCase = opts && 'preserveHeaderCase' in opts ? opts.preserveHeaderCase : false; + if (preserveHeaderCase == null) dart.nullFailed(I[180], 56, 38, "preserveHeaderCase"); + this[_checkMutable](); + let lowercaseName = _http._HttpHeaders._validateField(name); + if (dart.test(preserveHeaderCase) && name != lowercaseName) { + (t266 = this[_originalHeaderNames], t266 == null ? this[_originalHeaderNames] = new (T$.IdentityMapOfString$String()).new() : t266)[$_set](lowercaseName, name); + } else { + t266$ = this[_originalHeaderNames]; + t266$ == null ? null : t266$[$remove](lowercaseName); + } + this[_addAll](lowercaseName, value); + } + [_addAll](name, value) { + if (name == null) dart.nullFailed(I[180], 68, 23, "name"); + if (core.Iterable.is(value)) { + for (let v of value) { + this[_add$1](name, _http._HttpHeaders._validateValue(core.Object.as(v))); + } + } else { + this[_add$1](name, _http._HttpHeaders._validateValue(core.Object.as(value))); + } + } + set(name, value, opts) { + let t266, t266$; + if (name == null) dart.nullFailed(I[180], 78, 19, "name"); + if (value == null) dart.nullFailed(I[180], 78, 32, "value"); + let preserveHeaderCase = opts && 'preserveHeaderCase' in opts ? opts.preserveHeaderCase : false; + if (preserveHeaderCase == null) dart.nullFailed(I[180], 78, 45, "preserveHeaderCase"); + this[_checkMutable](); + let lowercaseName = _http._HttpHeaders._validateField(name); + this[_headers][$remove](lowercaseName); + t266 = this[_originalHeaderNames]; + t266 == null ? null : t266[$remove](lowercaseName); + if (lowercaseName === "content-length") { + this[_contentLength] = -1; + } + if (lowercaseName === "transfer-encoding") { + this[_chunkedTransferEncoding] = false; + } + if (dart.test(preserveHeaderCase) && name != lowercaseName) { + (t266$ = this[_originalHeaderNames], t266$ == null ? this[_originalHeaderNames] = new (T$.IdentityMapOfString$String()).new() : t266$)[$_set](lowercaseName, name); + } + this[_addAll](lowercaseName, value); + } + remove(name, value) { + let t266; + if (name == null) dart.nullFailed(I[180], 95, 22, "name"); + if (value == null) dart.nullFailed(I[180], 95, 35, "value"); + this[_checkMutable](); + name = _http._HttpHeaders._validateField(name); + value = _http._HttpHeaders._validateValue(value); + let values = this[_headers][$_get](name); + if (values != null) { + values[$remove](this[_valueToString](value)); + if (values[$length] === 0) { + this[_headers][$remove](name); + t266 = this[_originalHeaderNames]; + t266 == null ? null : t266[$remove](name); + } + } + if (name === "transfer-encoding" && dart.equals(value, "chunked")) { + this[_chunkedTransferEncoding] = false; + } + } + removeAll(name) { + let t266; + if (name == null) dart.nullFailed(I[180], 112, 25, "name"); + this[_checkMutable](); + name = _http._HttpHeaders._validateField(name); + this[_headers][$remove](name); + t266 = this[_originalHeaderNames]; + t266 == null ? null : t266[$remove](name); + } + forEach(action) { + if (action == null) dart.nullFailed(I[180], 119, 21, "action"); + this[_headers][$forEach](dart.fn((name, values) => { + if (name == null) dart.nullFailed(I[180], 120, 30, "name"); + if (values == null) dart.nullFailed(I[180], 120, 49, "values"); + let originalName = this[_originalHeaderName](name); + action(originalName, values); + }, T$0.StringAndListOfStringTovoid())); + } + noFolding(name) { + let t266; + if (name == null) dart.nullFailed(I[180], 126, 25, "name"); + name = _http._HttpHeaders._validateField(name); + (t266 = this[_noFoldingHeaders], t266 == null ? this[_noFoldingHeaders] = T$.JSArrayOfString().of([]) : t266)[$add](name); + } + get persistentConnection() { + return this[_persistentConnection]; + } + set persistentConnection(persistentConnection) { + if (persistentConnection == null) dart.nullFailed(I[180], 133, 38, "persistentConnection"); + this[_checkMutable](); + if (persistentConnection == this[_persistentConnection]) return; + let originalName = this[_originalHeaderName]("connection"); + if (dart.test(persistentConnection)) { + if (this.protocolVersion === "1.1") { + this.remove("connection", "close"); + } else { + if (dart.notNull(this[_contentLength]) < 0) { + dart.throw(new _http.HttpException.new("Trying to set 'Connection: Keep-Alive' on HTTP 1.0 headers with " + "no ContentLength")); + } + this.add(originalName, "keep-alive", {preserveHeaderCase: true}); + } + } else { + if (this.protocolVersion === "1.1") { + this.add(originalName, "close", {preserveHeaderCase: true}); + } else { + this.remove("connection", "keep-alive"); + } + } + this[_persistentConnection] = persistentConnection; + } + get contentLength() { + return this[_contentLength]; + } + set contentLength(contentLength) { + if (contentLength == null) dart.nullFailed(I[180], 160, 30, "contentLength"); + this[_checkMutable](); + if (this.protocolVersion === "1.0" && dart.test(this.persistentConnection) && contentLength === -1) { + dart.throw(new _http.HttpException.new("Trying to clear ContentLength on HTTP 1.0 headers with " + "'Connection: Keep-Alive' set")); + } + if (this[_contentLength] == contentLength) return; + this[_contentLength] = contentLength; + if (dart.notNull(this[_contentLength]) >= 0) { + if (dart.test(this.chunkedTransferEncoding)) this.chunkedTransferEncoding = false; + this[_set]("content-length", dart.toString(contentLength)); + } else { + this[_headers][$remove]("content-length"); + if (this.protocolVersion === "1.1") { + this.chunkedTransferEncoding = true; + } + } + } + get chunkedTransferEncoding() { + return this[_chunkedTransferEncoding]; + } + set chunkedTransferEncoding(chunkedTransferEncoding) { + if (chunkedTransferEncoding == null) dart.nullFailed(I[180], 184, 41, "chunkedTransferEncoding"); + this[_checkMutable](); + if (dart.test(chunkedTransferEncoding) && this.protocolVersion === "1.0") { + dart.throw(new _http.HttpException.new("Trying to set 'Transfer-Encoding: Chunked' on HTTP 1.0 headers")); + } + if (chunkedTransferEncoding == this[_chunkedTransferEncoding]) return; + if (dart.test(chunkedTransferEncoding)) { + let values = this[_headers][$_get]("transfer-encoding"); + if (values == null || !dart.test(values[$contains]("chunked"))) { + this[_addValue]("transfer-encoding", "chunked"); + } + this.contentLength = -1; + } else { + this.remove("transfer-encoding", "chunked"); + } + this[_chunkedTransferEncoding] = chunkedTransferEncoding; + } + get host() { + return this[_host]; + } + set host(host) { + this[_checkMutable](); + this[_host] = host; + this[_updateHostHeader](); + } + get port() { + return this[_port]; + } + set port(port) { + this[_checkMutable](); + this[_port] = port; + this[_updateHostHeader](); + } + get ifModifiedSince() { + let values = this[_headers][$_get]("if-modified-since"); + if (values != null) { + if (!dart.test(values[$isNotEmpty])) dart.assertFailed(null, I[180], 224, 14, "values.isNotEmpty"); + try { + return _http.HttpDate.parse(values[$_get](0)); + } catch (e) { + let ex = dart.getThrown(e); + if (core.Exception.is(ex)) { + return null; + } else + throw e; + } + } + return null; + } + set ifModifiedSince(ifModifiedSince) { + this[_checkMutable](); + if (ifModifiedSince == null) { + this[_headers][$remove]("if-modified-since"); + } else { + let formatted = _http.HttpDate.format(ifModifiedSince.toUtc()); + this[_set]("if-modified-since", formatted); + } + } + get date() { + let values = this[_headers][$_get]("date"); + if (values != null) { + if (!dart.test(values[$isNotEmpty])) dart.assertFailed(null, I[180], 248, 14, "values.isNotEmpty"); + try { + return _http.HttpDate.parse(values[$_get](0)); + } catch (e) { + let ex = dart.getThrown(e); + if (core.Exception.is(ex)) { + return null; + } else + throw e; + } + } + return null; + } + set date(date) { + this[_checkMutable](); + if (date == null) { + this[_headers][$remove]("date"); + } else { + let formatted = _http.HttpDate.format(date.toUtc()); + this[_set]("date", formatted); + } + } + get expires() { + let values = this[_headers][$_get]("expires"); + if (values != null) { + if (!dart.test(values[$isNotEmpty])) dart.assertFailed(null, I[180], 272, 14, "values.isNotEmpty"); + try { + return _http.HttpDate.parse(values[$_get](0)); + } catch (e) { + let ex = dart.getThrown(e); + if (core.Exception.is(ex)) { + return null; + } else + throw e; + } + } + return null; + } + set expires(expires) { + this[_checkMutable](); + if (expires == null) { + this[_headers][$remove]("expires"); + } else { + let formatted = _http.HttpDate.format(expires.toUtc()); + this[_set]("expires", formatted); + } + } + get contentType() { + let values = this[_headers][$_get]("content-type"); + if (values != null) { + return _http.ContentType.parse(values[$_get](0)); + } else { + return null; + } + } + set contentType(contentType) { + this[_checkMutable](); + if (contentType == null) { + this[_headers][$remove]("content-type"); + } else { + this[_set]("content-type", dart.toString(contentType)); + } + } + clear() { + this[_checkMutable](); + this[_headers][$clear](); + this[_contentLength] = -1; + this[_persistentConnection] = true; + this[_chunkedTransferEncoding] = false; + this[_host] = null; + this[_port] = null; + } + [_add$1](name, value) { + if (name == null) dart.nullFailed(I[180], 322, 20, "name"); + if (!(name == _http._HttpHeaders._validateField(name))) dart.assertFailed(null, I[180], 323, 12, "name == _validateField(name)"); + switch (name.length) { + case 4: + { + if ("date" === name) { + this[_addDate](name, value); + return; + } + if ("host" === name) { + this[_addHost](name, value); + return; + } + break; + } + case 7: + { + if ("expires" === name) { + this[_addExpires](name, value); + return; + } + break; + } + case 10: + { + if ("connection" === name) { + this[_addConnection](name, value); + return; + } + break; + } + case 12: + { + if ("content-type" === name) { + this[_addContentType](name, value); + return; + } + break; + } + case 14: + { + if ("content-length" === name) { + this[_addContentLength](name, value); + return; + } + break; + } + case 17: + { + if ("transfer-encoding" === name) { + this[_addTransferEncoding](name, value); + return; + } + if ("if-modified-since" === name) { + this[_addIfModifiedSince](name, value); + return; + } + } + } + this[_addValue](name, core.Object.as(value)); + } + [_addContentLength](name, value) { + if (name == null) dart.nullFailed(I[180], 374, 33, "name"); + if (core.int.is(value)) { + this.contentLength = value; + } else if (typeof value == 'string') { + this.contentLength = core.int.parse(value); + } else { + dart.throw(new _http.HttpException.new("Unexpected type for header named " + dart.str(name))); + } + } + [_addTransferEncoding](name, value) { + if (name == null) dart.nullFailed(I[180], 384, 36, "name"); + if (dart.equals(value, "chunked")) { + this.chunkedTransferEncoding = true; + } else { + this[_addValue]("transfer-encoding", core.Object.as(value)); + } + } + [_addDate](name, value) { + if (name == null) dart.nullFailed(I[180], 392, 24, "name"); + if (core.DateTime.is(value)) { + this.date = value; + } else if (typeof value == 'string') { + this[_set]("date", value); + } else { + dart.throw(new _http.HttpException.new("Unexpected type for header named " + dart.str(name))); + } + } + [_addExpires](name, value) { + if (name == null) dart.nullFailed(I[180], 402, 27, "name"); + if (core.DateTime.is(value)) { + this.expires = value; + } else if (typeof value == 'string') { + this[_set]("expires", value); + } else { + dart.throw(new _http.HttpException.new("Unexpected type for header named " + dart.str(name))); + } + } + [_addIfModifiedSince](name, value) { + if (name == null) dart.nullFailed(I[180], 412, 35, "name"); + if (core.DateTime.is(value)) { + this.ifModifiedSince = value; + } else if (typeof value == 'string') { + this[_set]("if-modified-since", value); + } else { + dart.throw(new _http.HttpException.new("Unexpected type for header named " + dart.str(name))); + } + } + [_addHost](name, value) { + if (name == null) dart.nullFailed(I[180], 422, 24, "name"); + if (typeof value == 'string') { + let pos = value[$indexOf](":"); + if (pos === -1) { + this[_host] = value; + this[_port] = 80; + } else { + if (pos > 0) { + this[_host] = value[$substring](0, pos); + } else { + this[_host] = null; + } + if (pos + 1 === value.length) { + this[_port] = 80; + } else { + try { + this[_port] = core.int.parse(value[$substring](pos + 1)); + } catch (e) { + let ex = dart.getThrown(e); + if (core.FormatException.is(ex)) { + this[_port] = null; + } else + throw e; + } + } + } + this[_set]("host", value); + } else { + dart.throw(new _http.HttpException.new("Unexpected type for header named " + dart.str(name))); + } + } + [_addConnection](name, value) { + if (name == null) dart.nullFailed(I[180], 450, 30, "name"); + let lowerCaseValue = dart.dsend(value, 'toLowerCase', []); + if (dart.equals(lowerCaseValue, "close")) { + this[_persistentConnection] = false; + } else if (dart.equals(lowerCaseValue, "keep-alive")) { + this[_persistentConnection] = true; + } + this[_addValue](name, core.Object.as(value)); + } + [_addContentType](name, value) { + if (name == null) dart.nullFailed(I[180], 460, 31, "name"); + this[_set]("content-type", core.String.as(value)); + } + [_addValue](name, value) { + let t277, t276, t275, t274; + if (name == null) dart.nullFailed(I[180], 464, 25, "name"); + if (value == null) dart.nullFailed(I[180], 464, 38, "value"); + let values = (t274 = this[_headers], t275 = name, t276 = t274[$_get](t275), t276 == null ? (t277 = T$.JSArrayOfString().of([]), t274[$_set](t275, t277), t277) : t276); + values[$add](this[_valueToString](value)); + } + [_valueToString](value) { + if (value == null) dart.nullFailed(I[180], 469, 32, "value"); + if (core.DateTime.is(value)) { + return _http.HttpDate.format(value); + } else if (typeof value == 'string') { + return value; + } else { + return core.String.as(_http._HttpHeaders._validateValue(dart.toString(value))); + } + } + [_set](name, value) { + if (name == null) dart.nullFailed(I[180], 479, 20, "name"); + if (value == null) dart.nullFailed(I[180], 479, 33, "value"); + if (!(name == _http._HttpHeaders._validateField(name))) dart.assertFailed(null, I[180], 480, 12, "name == _validateField(name)"); + this[_headers][$_set](name, T$.JSArrayOfString().of([value])); + } + [_checkMutable]() { + if (!dart.test(this[_mutable])) dart.throw(new _http.HttpException.new("HTTP headers are not mutable")); + } + [_updateHostHeader]() { + let host = this[_host]; + if (host != null) { + let defaultPort = this[_port] == null || this[_port] == this[_defaultPortForScheme]; + this[_set]("host", defaultPort ? host : dart.str(host) + ":" + dart.str(this[_port])); + } + } + [_foldHeader](name) { + if (name == null) dart.nullFailed(I[180], 496, 27, "name"); + if (name === "set-cookie") return false; + let noFoldingHeaders = this[_noFoldingHeaders]; + return noFoldingHeaders == null || !dart.test(noFoldingHeaders[$contains](name)); + } + [_finalize]() { + this[_mutable] = false; + } + [_build](builder) { + if (builder == null) dart.nullFailed(I[180], 506, 28, "builder"); + this[_headers][$forEach](dart.fn((name, values) => { + if (name == null) dart.nullFailed(I[180], 507, 30, "name"); + if (values == null) dart.nullFailed(I[180], 507, 49, "values"); + let originalName = this[_originalHeaderName](name); + let fold = this[_foldHeader](name); + let nameData = originalName[$codeUnits]; + builder.add(nameData); + builder.addByte(58); + builder.addByte(32); + for (let i = 0; i < dart.notNull(values[$length]); i = i + 1) { + if (i > 0) { + if (dart.test(fold)) { + builder.addByte(44); + builder.addByte(32); + } else { + builder.addByte(13); + builder.addByte(10); + builder.add(nameData); + builder.addByte(58); + builder.addByte(32); + } + } + builder.add(values[$_get](i)[$codeUnits]); + } + builder.addByte(13); + builder.addByte(10); + }, T$0.StringAndListOfStringTovoid())); + } + toString() { + let sb = new core.StringBuffer.new(); + this[_headers][$forEach](dart.fn((name, values) => { + let t274, t274$; + if (name == null) dart.nullFailed(I[180], 536, 30, "name"); + if (values == null) dart.nullFailed(I[180], 536, 49, "values"); + let originalName = this[_originalHeaderName](name); + t274 = sb; + (() => { + t274.write(originalName); + t274.write(": "); + return t274; + })(); + let fold = this[_foldHeader](name); + for (let i = 0; i < dart.notNull(values[$length]); i = i + 1) { + if (i > 0) { + if (dart.test(fold)) { + sb.write(", "); + } else { + t274$ = sb; + (() => { + t274$.write("\n"); + t274$.write(originalName); + t274$.write(": "); + return t274$; + })(); + } + } + sb.write(values[$_get](i)); + } + sb.write("\n"); + }, T$0.StringAndListOfStringTovoid())); + return sb.toString(); + } + [_parseCookies]() { + let cookies = T$0.JSArrayOfCookie().of([]); + function parseCookieString(s) { + if (s == null) dart.nullFailed(I[180], 558, 35, "s"); + let index = 0; + function done() { + return index === -1 || index === s.length; + } + dart.fn(done, T$.VoidTobool()); + function skipWS() { + while (!dart.test(done())) { + if (s[$_get](index) !== " " && s[$_get](index) !== "\t") return; + index = index + 1; + } + } + dart.fn(skipWS, T$.VoidTovoid()); + function parseName() { + let start = index; + while (!dart.test(done())) { + if (s[$_get](index) === " " || s[$_get](index) === "\t" || s[$_get](index) === "=") break; + index = index + 1; + } + return s[$substring](start, index); + } + dart.fn(parseName, T$.VoidToString()); + function parseValue() { + let start = index; + while (!dart.test(done())) { + if (s[$_get](index) === " " || s[$_get](index) === "\t" || s[$_get](index) === ";") break; + index = index + 1; + } + return s[$substring](start, index); + } + dart.fn(parseValue, T$.VoidToString()); + function expect(expected) { + if (expected == null) dart.nullFailed(I[180], 588, 26, "expected"); + if (dart.test(done())) return false; + if (s[$_get](index) !== expected) return false; + index = index + 1; + return true; + } + dart.fn(expect, T$.StringTobool()); + while (!dart.test(done())) { + skipWS(); + if (dart.test(done())) return; + let name = parseName(); + skipWS(); + if (!dart.test(expect("="))) { + index = s[$indexOf](";", index); + continue; + } + skipWS(); + let value = parseValue(); + try { + cookies[$add](new _http._Cookie.new(name, value)); + } catch (e) { + let _ = dart.getThrown(e); + if (core.Object.is(_)) { + } else + throw e; + } + skipWS(); + if (dart.test(done())) return; + if (!dart.test(expect(";"))) { + index = s[$indexOf](";", index); + continue; + } + } + } + dart.fn(parseCookieString, T$.StringTovoid()); + let values = this[_headers][$_get]("cookie"); + if (values != null) { + values[$forEach](dart.fn(headerValue => { + if (headerValue == null) dart.nullFailed(I[180], 622, 23, "headerValue"); + return parseCookieString(headerValue); + }, T$.StringTovoid())); + } + return cookies; + } + static _validateField(field) { + if (field == null) dart.nullFailed(I[180], 627, 39, "field"); + for (let i = 0; i < field.length; i = i + 1) { + if (!dart.test(_http._HttpParser._isTokenChar(field[$codeUnitAt](i)))) { + dart.throw(new core.FormatException.new("Invalid HTTP header field name: " + dart.str(convert.json.encode(field)), field, i)); + } + } + return field[$toLowerCase](); + } + static _validateValue(value) { + if (value == null) dart.nullFailed(I[180], 637, 39, "value"); + if (!(typeof value == 'string')) return value; + for (let i = 0; i < value.length; i = i + 1) { + if (!dart.test(_http._HttpParser._isValueChar(value[$codeUnitAt](i)))) { + dart.throw(new core.FormatException.new("Invalid HTTP header field value: " + dart.str(convert.json.encode(value)), value, i)); + } + } + return value; + } + [_originalHeaderName](name) { + let t275, t275$; + if (name == null) dart.nullFailed(I[180], 648, 37, "name"); + t275$ = (t275 = this[_originalHeaderNames], t275 == null ? null : t275[$_get](name)); + return t275$ == null ? name : t275$; + } +}; +(_http._HttpHeaders.new = function(protocolVersion, opts) { + if (protocolVersion == null) dart.nullFailed(I[180], 24, 21, "protocolVersion"); + let defaultPortForScheme = opts && 'defaultPortForScheme' in opts ? opts.defaultPortForScheme : 80; + if (defaultPortForScheme == null) dart.nullFailed(I[180], 25, 12, "defaultPortForScheme"); + let initialHeaders = opts && 'initialHeaders' in opts ? opts.initialHeaders : null; + this[_originalHeaderNames] = null; + this[_mutable] = true; + this[_noFoldingHeaders] = null; + this[_contentLength] = -1; + this[_persistentConnection] = true; + this[_chunkedTransferEncoding] = false; + this[_host] = null; + this[_port] = null; + this.protocolVersion = protocolVersion; + this[_headers] = new (T$0.IdentityMapOfString$ListOfString()).new(); + this[_defaultPortForScheme] = defaultPortForScheme; + if (initialHeaders != null) { + initialHeaders[_headers][$forEach](dart.fn((name, value) => { + let t268, t267, t266; + if (name == null) dart.nullFailed(I[180], 30, 40, "name"); + if (value == null) dart.nullFailed(I[180], 30, 46, "value"); + t266 = this[_headers]; + t267 = name; + t268 = value; + t266[$_set](t267, t268); + return t268; + }, T$0.StringAndListOfStringTovoid())); + this[_contentLength] = initialHeaders[_contentLength]; + this[_persistentConnection] = initialHeaders[_persistentConnection]; + this[_chunkedTransferEncoding] = initialHeaders[_chunkedTransferEncoding]; + this[_host] = initialHeaders[_host]; + this[_port] = initialHeaders[_port]; + } + if (this.protocolVersion === "1.0") { + this[_persistentConnection] = false; + this[_chunkedTransferEncoding] = false; + } +}).prototype = _http._HttpHeaders.prototype; +dart.addTypeTests(_http._HttpHeaders); +dart.addTypeCaches(_http._HttpHeaders); +_http._HttpHeaders[dart.implements] = () => [_http.HttpHeaders]; +dart.setMethodSignature(_http._HttpHeaders, () => ({ + __proto__: dart.getMethods(_http._HttpHeaders.__proto__), + _get: dart.fnType(dart.nullable(core.List$(core.String)), [core.String]), + value: dart.fnType(dart.nullable(core.String), [core.String]), + add: dart.fnType(dart.void, [core.String, core.Object], {preserveHeaderCase: core.bool}, {}), + [_addAll]: dart.fnType(dart.void, [core.String, dart.dynamic]), + set: dart.fnType(dart.void, [core.String, core.Object], {preserveHeaderCase: core.bool}, {}), + remove: dart.fnType(dart.void, [core.String, core.Object]), + removeAll: dart.fnType(dart.void, [core.String]), + forEach: dart.fnType(dart.void, [dart.fnType(dart.void, [core.String, core.List$(core.String)])]), + noFolding: dart.fnType(dart.void, [core.String]), + clear: dart.fnType(dart.void, []), + [_add$1]: dart.fnType(dart.void, [core.String, dart.dynamic]), + [_addContentLength]: dart.fnType(dart.void, [core.String, dart.dynamic]), + [_addTransferEncoding]: dart.fnType(dart.void, [core.String, dart.dynamic]), + [_addDate]: dart.fnType(dart.void, [core.String, dart.dynamic]), + [_addExpires]: dart.fnType(dart.void, [core.String, dart.dynamic]), + [_addIfModifiedSince]: dart.fnType(dart.void, [core.String, dart.dynamic]), + [_addHost]: dart.fnType(dart.void, [core.String, dart.dynamic]), + [_addConnection]: dart.fnType(dart.void, [core.String, dart.dynamic]), + [_addContentType]: dart.fnType(dart.void, [core.String, dart.dynamic]), + [_addValue]: dart.fnType(dart.void, [core.String, core.Object]), + [_valueToString]: dart.fnType(core.String, [core.Object]), + [_set]: dart.fnType(dart.void, [core.String, core.String]), + [_checkMutable]: dart.fnType(dart.void, []), + [_updateHostHeader]: dart.fnType(dart.void, []), + [_foldHeader]: dart.fnType(core.bool, [core.String]), + [_finalize]: dart.fnType(dart.void, []), + [_build]: dart.fnType(dart.void, [_internal.BytesBuilder]), + [_parseCookies]: dart.fnType(core.List$(_http.Cookie), []), + [_originalHeaderName]: dart.fnType(core.String, [core.String]) +})); +dart.setGetterSignature(_http._HttpHeaders, () => ({ + __proto__: dart.getGetters(_http._HttpHeaders.__proto__), + persistentConnection: core.bool, + contentLength: core.int, + chunkedTransferEncoding: core.bool, + host: dart.nullable(core.String), + port: dart.nullable(core.int), + ifModifiedSince: dart.nullable(core.DateTime), + date: dart.nullable(core.DateTime), + expires: dart.nullable(core.DateTime), + contentType: dart.nullable(_http.ContentType) +})); +dart.setSetterSignature(_http._HttpHeaders, () => ({ + __proto__: dart.getSetters(_http._HttpHeaders.__proto__), + persistentConnection: core.bool, + contentLength: core.int, + chunkedTransferEncoding: core.bool, + host: dart.nullable(core.String), + port: dart.nullable(core.int), + ifModifiedSince: dart.nullable(core.DateTime), + date: dart.nullable(core.DateTime), + expires: dart.nullable(core.DateTime), + contentType: dart.nullable(_http.ContentType) +})); +dart.setLibraryUri(_http._HttpHeaders, I[177]); +dart.setFieldSignature(_http._HttpHeaders, () => ({ + __proto__: dart.getFields(_http._HttpHeaders.__proto__), + [_headers]: dart.finalFieldType(core.Map$(core.String, core.List$(core.String))), + [_originalHeaderNames]: dart.fieldType(dart.nullable(core.Map$(core.String, core.String))), + protocolVersion: dart.finalFieldType(core.String), + [_mutable]: dart.fieldType(core.bool), + [_noFoldingHeaders]: dart.fieldType(dart.nullable(core.List$(core.String))), + [_contentLength]: dart.fieldType(core.int), + [_persistentConnection]: dart.fieldType(core.bool), + [_chunkedTransferEncoding]: dart.fieldType(core.bool), + [_host]: dart.fieldType(dart.nullable(core.String)), + [_port]: dart.fieldType(dart.nullable(core.int)), + [_defaultPortForScheme]: dart.finalFieldType(core.int) +})); +dart.defineExtensionMethods(_http._HttpHeaders, ['toString']); +var _parameters = dart.privateName(_http, "_parameters"); +var _unmodifiableParameters = dart.privateName(_http, "_unmodifiableParameters"); +var _value$5 = dart.privateName(_http, "_value"); +var _parse = dart.privateName(_http, "_parse"); +var _ensureParameters = dart.privateName(_http, "_ensureParameters"); +_http._HeaderValue = class _HeaderValue extends core.Object { + static parse(value, opts) { + if (value == null) dart.nullFailed(I[180], 666, 36, "value"); + let parameterSeparator = opts && 'parameterSeparator' in opts ? opts.parameterSeparator : ";"; + if (parameterSeparator == null) dart.nullFailed(I[180], 667, 15, "parameterSeparator"); + let valueSeparator = opts && 'valueSeparator' in opts ? opts.valueSeparator : null; + let preserveBackslash = opts && 'preserveBackslash' in opts ? opts.preserveBackslash : false; + if (preserveBackslash == null) dart.nullFailed(I[180], 669, 12, "preserveBackslash"); + let result = new _http._HeaderValue.new(); + result[_parse](value, parameterSeparator, valueSeparator, preserveBackslash); + return result; + } + get value() { + return this[_value$5]; + } + [_ensureParameters]() { + let t275; + t275 = this[_parameters]; + return t275 == null ? this[_parameters] = new (T$0.IdentityMapOfString$StringN()).new() : t275; + } + get parameters() { + let t275; + t275 = this[_unmodifiableParameters]; + return t275 == null ? this[_unmodifiableParameters] = new (T$0.UnmodifiableMapViewOfString$StringN()).new(this[_ensureParameters]()) : t275; + } + static _isToken(token) { + if (token == null) dart.nullFailed(I[180], 684, 31, "token"); + if (token[$isEmpty]) { + return false; + } + let delimiters = "\"(),/:;<=>?@[]{}"; + for (let i = 0; i < token.length; i = i + 1) { + let codeUnit = token[$codeUnitAt](i); + if (codeUnit <= 32 || codeUnit >= 127 || delimiters[$indexOf](token[$_get](i)) >= 0) { + return false; + } + } + return true; + } + toString() { + let sb = new core.StringBuffer.new(); + sb.write(this[_value$5]); + let parameters = this[_parameters]; + if (parameters != null && dart.notNull(parameters[$length]) > 0) { + parameters[$forEach](dart.fn((name, value) => { + let t275, t275$; + if (name == null) dart.nullFailed(I[180], 705, 34, "name"); + t275 = sb; + (() => { + t275.write("; "); + t275.write(name); + return t275; + })(); + if (value != null) { + sb.write("="); + if (dart.test(_http._HeaderValue._isToken(value))) { + sb.write(value); + } else { + sb.write("\""); + let start = 0; + for (let i = 0; i < value.length; i = i + 1) { + let codeUnit = value[$codeUnitAt](i); + if (codeUnit === 92 || codeUnit === 34) { + sb.write(value[$substring](start, i)); + sb.write("\\"); + start = i; + } + } + t275$ = sb; + (() => { + t275$.write(value[$substring](start)); + t275$.write("\""); + return t275$; + })(); + } + } + }, T$0.StringAndStringNTovoid())); + } + return sb.toString(); + } + [_parse](s, parameterSeparator, valueSeparator, preserveBackslash) { + if (s == null) dart.nullFailed(I[180], 732, 22, "s"); + if (parameterSeparator == null) dart.nullFailed(I[180], 732, 32, "parameterSeparator"); + if (preserveBackslash == null) dart.nullFailed(I[180], 733, 12, "preserveBackslash"); + let index = 0; + function done() { + return index === s.length; + } + dart.fn(done, T$.VoidTobool()); + function skipWS() { + while (!dart.test(done())) { + if (s[$_get](index) !== " " && s[$_get](index) !== "\t") return; + index = index + 1; + } + } + dart.fn(skipWS, T$.VoidTovoid()); + function parseValue() { + let start = index; + while (!dart.test(done())) { + let char = s[$_get](index); + if (char === " " || char === "\t" || char === valueSeparator || char === parameterSeparator) break; + index = index + 1; + } + return s[$substring](start, index); + } + dart.fn(parseValue, T$.VoidToString()); + function expect(expected) { + if (expected == null) dart.nullFailed(I[180], 758, 24, "expected"); + if (dart.test(done()) || s[$_get](index) !== expected) { + dart.throw(new _http.HttpException.new("Failed to parse header value")); + } + index = index + 1; + } + dart.fn(expect, T$.StringTovoid()); + function maybeExpect(expected) { + if (expected == null) dart.nullFailed(I[180], 765, 29, "expected"); + if (dart.test(done()) || !s[$startsWith](expected, index)) { + return false; + } + index = index + 1; + return true; + } + dart.fn(maybeExpect, T$.StringTobool()); + const parseParameters = () => { + let parameters = this[_ensureParameters](); + function parseParameterName() { + let start = index; + while (!dart.test(done())) { + let char = s[$_get](index); + if (char === " " || char === "\t" || char === "=" || char === parameterSeparator || char === valueSeparator) break; + index = index + 1; + } + return s[$substring](start, index)[$toLowerCase](); + } + dart.fn(parseParameterName, T$.VoidToString()); + function parseParameterValue() { + if (!dart.test(done()) && s[$_get](index) === "\"") { + let sb = new core.StringBuffer.new(); + index = index + 1; + while (!dart.test(done())) { + let char = s[$_get](index); + if (char === "\\") { + if (index + 1 === s.length) { + dart.throw(new _http.HttpException.new("Failed to parse header value")); + } + if (dart.test(preserveBackslash) && s[$_get](index + 1) !== "\"") { + sb.write(char); + } + index = index + 1; + } else if (char === "\"") { + index = index + 1; + return sb.toString(); + } + char = s[$_get](index); + sb.write(char); + index = index + 1; + } + dart.throw(new _http.HttpException.new("Failed to parse header value")); + } else { + return parseValue(); + } + } + dart.fn(parseParameterValue, T$.VoidToString()); + while (!dart.test(done())) { + skipWS(); + if (dart.test(done())) return; + let name = parseParameterName(); + skipWS(); + if (dart.test(maybeExpect("="))) { + skipWS(); + let value = parseParameterValue(); + if (name === "charset" && _http._ContentType.is(this)) { + value = value[$toLowerCase](); + } + parameters[$_set](name, value); + skipWS(); + } else if (name[$isNotEmpty]) { + parameters[$_set](name, null); + } + if (dart.test(done())) return; + if (s[$_get](index) === valueSeparator) return; + expect(parameterSeparator); + } + }; + dart.fn(parseParameters, T$.VoidTovoid()); + skipWS(); + this[_value$5] = parseValue(); + skipWS(); + if (dart.test(done())) return; + if (s[$_get](index) === valueSeparator) return; + maybeExpect(parameterSeparator); + parseParameters(); + } +}; +(_http._HeaderValue.new = function(_value = "", parameters = C[452] || CT.C452) { + if (_value == null) dart.nullFailed(I[180], 658, 22, "_value"); + if (parameters == null) dart.nullFailed(I[180], 658, 56, "parameters"); + this[_parameters] = null; + this[_unmodifiableParameters] = null; + this[_value$5] = _value; + let nullableParameters = parameters; + if (nullableParameters != null && dart.test(nullableParameters[$isNotEmpty])) { + this[_parameters] = T$0.HashMapOfString$StringN().from(nullableParameters); + } +}).prototype = _http._HeaderValue.prototype; +dart.addTypeTests(_http._HeaderValue); +dart.addTypeCaches(_http._HeaderValue); +_http._HeaderValue[dart.implements] = () => [_http.HeaderValue]; +dart.setMethodSignature(_http._HeaderValue, () => ({ + __proto__: dart.getMethods(_http._HeaderValue.__proto__), + [_ensureParameters]: dart.fnType(core.Map$(core.String, dart.nullable(core.String)), []), + [_parse]: dart.fnType(dart.void, [core.String, core.String, dart.nullable(core.String), core.bool]) +})); +dart.setGetterSignature(_http._HeaderValue, () => ({ + __proto__: dart.getGetters(_http._HeaderValue.__proto__), + value: core.String, + parameters: core.Map$(core.String, dart.nullable(core.String)) +})); +dart.setLibraryUri(_http._HeaderValue, I[177]); +dart.setFieldSignature(_http._HeaderValue, () => ({ + __proto__: dart.getFields(_http._HeaderValue.__proto__), + [_value$5]: dart.fieldType(core.String), + [_parameters]: dart.fieldType(dart.nullable(core.Map$(core.String, dart.nullable(core.String)))), + [_unmodifiableParameters]: dart.fieldType(dart.nullable(core.Map$(core.String, dart.nullable(core.String)))) +})); +dart.defineExtensionMethods(_http._HeaderValue, ['toString']); +var _primaryType = dart.privateName(_http, "_primaryType"); +var _subType = dart.privateName(_http, "_subType"); +_http._ContentType = class _ContentType extends _http._HeaderValue { + static parse(value) { + if (value == null) dart.nullFailed(I[180], 887, 36, "value"); + let result = new _http._ContentType.__(); + result[_parse](value, ";", null, false); + let index = result[_value$5][$indexOf]("/"); + if (index === -1 || index === result[_value$5].length - 1) { + result[_primaryType] = result[_value$5][$trim]()[$toLowerCase](); + } else { + result[_primaryType] = result[_value$5][$substring](0, index)[$trim]()[$toLowerCase](); + result[_subType] = result[_value$5][$substring](index + 1)[$trim]()[$toLowerCase](); + } + return result; + } + get mimeType() { + return dart.str(this.primaryType) + "/" + dart.str(this.subType); + } + get primaryType() { + return this[_primaryType]; + } + get subType() { + return this[_subType]; + } + get charset() { + return this.parameters[$_get]("charset"); + } +}; +(_http._ContentType.new = function(primaryType, subType, charset, parameters) { + if (primaryType == null) dart.nullFailed(I[180], 858, 23, "primaryType"); + if (subType == null) dart.nullFailed(I[180], 858, 43, "subType"); + if (parameters == null) dart.nullFailed(I[180], 859, 28, "parameters"); + this[_primaryType] = ""; + this[_subType] = ""; + this[_primaryType] = primaryType; + this[_subType] = subType; + _http._ContentType.__proto__.new.call(this, ""); + function emptyIfNull(string) { + let t275; + t275 = string; + return t275 == null ? "" : t275; + } + dart.fn(emptyIfNull, T$0.StringNToString()); + this[_primaryType] = emptyIfNull(this[_primaryType]); + this[_subType] = emptyIfNull(this[_subType]); + this[_value$5] = dart.str(this[_primaryType]) + "/" + dart.str(this[_subType]); + let nullableParameters = parameters; + if (nullableParameters != null) { + let parameterMap = this[_ensureParameters](); + nullableParameters[$forEach](dart.fn((key, value) => { + let t275; + if (key == null) dart.nullFailed(I[180], 872, 42, "key"); + let lowerCaseKey = key[$toLowerCase](); + if (lowerCaseKey === "charset") { + value = (t275 = value, t275 == null ? null : t275[$toLowerCase]()); + } + parameterMap[$_set](lowerCaseKey, value); + }, T$0.StringAndStringNTovoid())); + } + if (charset != null) { + this[_ensureParameters]()[$_set]("charset", charset[$toLowerCase]()); + } +}).prototype = _http._ContentType.prototype; +(_http._ContentType.__ = function() { + this[_primaryType] = ""; + this[_subType] = ""; + _http._ContentType.__proto__.new.call(this); + ; +}).prototype = _http._ContentType.prototype; +dart.addTypeTests(_http._ContentType); +dart.addTypeCaches(_http._ContentType); +_http._ContentType[dart.implements] = () => [_http.ContentType]; +dart.setGetterSignature(_http._ContentType, () => ({ + __proto__: dart.getGetters(_http._ContentType.__proto__), + mimeType: core.String, + primaryType: core.String, + subType: core.String, + charset: dart.nullable(core.String) +})); +dart.setLibraryUri(_http._ContentType, I[177]); +dart.setFieldSignature(_http._ContentType, () => ({ + __proto__: dart.getFields(_http._ContentType.__proto__), + [_primaryType]: dart.fieldType(core.String), + [_subType]: dart.fieldType(core.String) +})); +var _path$3 = dart.privateName(_http, "_path"); +var _parseSetCookieValue = dart.privateName(_http, "_parseSetCookieValue"); +_http._Cookie = class _Cookie extends core.Object { + get name() { + return this[_name$7]; + } + get value() { + return this[_value$5]; + } + get path() { + return this[_path$3]; + } + set path(newPath) { + _http._Cookie._validatePath(newPath); + this[_path$3] = newPath; + } + set name(newName) { + if (newName == null) dart.nullFailed(I[180], 935, 19, "newName"); + _http._Cookie._validateName(newName); + this[_name$7] = newName; + } + set value(newValue) { + if (newValue == null) dart.nullFailed(I[180], 940, 20, "newValue"); + _http._Cookie._validateValue(newValue); + this[_value$5] = newValue; + } + [_parseSetCookieValue](s) { + if (s == null) dart.nullFailed(I[180], 953, 36, "s"); + let index = 0; + function done() { + return index === s.length; + } + dart.fn(done, T$.VoidTobool()); + function parseName() { + let start = index; + while (!dart.test(done())) { + if (s[$_get](index) === "=") break; + index = index + 1; + } + return s[$substring](start, index)[$trim](); + } + dart.fn(parseName, T$.VoidToString()); + function parseValue() { + let start = index; + while (!dart.test(done())) { + if (s[$_get](index) === ";") break; + index = index + 1; + } + return s[$substring](start, index)[$trim](); + } + dart.fn(parseValue, T$.VoidToString()); + const parseAttributes = () => { + function parseAttributeName() { + let start = index; + while (!dart.test(done())) { + if (s[$_get](index) === "=" || s[$_get](index) === ";") break; + index = index + 1; + } + return s[$substring](start, index)[$trim]()[$toLowerCase](); + } + dart.fn(parseAttributeName, T$.VoidToString()); + function parseAttributeValue() { + let start = index; + while (!dart.test(done())) { + if (s[$_get](index) === ";") break; + index = index + 1; + } + return s[$substring](start, index)[$trim]()[$toLowerCase](); + } + dart.fn(parseAttributeValue, T$.VoidToString()); + while (!dart.test(done())) { + let name = parseAttributeName(); + let value = ""; + if (!dart.test(done()) && s[$_get](index) === "=") { + index = index + 1; + value = parseAttributeValue(); + } + if (name === "expires") { + this.expires = _http.HttpDate._parseCookieDate(value); + } else if (name === "max-age") { + this.maxAge = core.int.parse(value); + } else if (name === "domain") { + this.domain = value; + } else if (name === "path") { + this.path = value; + } else if (name === "httponly") { + this.httpOnly = true; + } else if (name === "secure") { + this.secure = true; + } + if (!dart.test(done())) index = index + 1; + } + }; + dart.fn(parseAttributes, T$.VoidTovoid()); + this[_name$7] = _http._Cookie._validateName(parseName()); + if (dart.test(done()) || this[_name$7].length === 0) { + dart.throw(new _http.HttpException.new("Failed to parse header value [" + dart.str(s) + "]")); + } + index = index + 1; + this[_value$5] = _http._Cookie._validateValue(parseValue()); + if (dart.test(done())) return; + index = index + 1; + parseAttributes(); + } + toString() { + let t275, t275$, t275$0, t275$1, t275$2; + let sb = new core.StringBuffer.new(); + t275 = sb; + (() => { + t275.write(this[_name$7]); + t275.write("="); + t275.write(this[_value$5]); + return t275; + })(); + let expires = this.expires; + if (expires != null) { + t275$ = sb; + (() => { + t275$.write("; Expires="); + t275$.write(_http.HttpDate.format(expires)); + return t275$; + })(); + } + if (this.maxAge != null) { + t275$0 = sb; + (() => { + t275$0.write("; Max-Age="); + t275$0.write(this.maxAge); + return t275$0; + })(); + } + if (this.domain != null) { + t275$1 = sb; + (() => { + t275$1.write("; Domain="); + t275$1.write(this.domain); + return t275$1; + })(); + } + if (this.path != null) { + t275$2 = sb; + (() => { + t275$2.write("; Path="); + t275$2.write(this.path); + return t275$2; + })(); + } + if (dart.test(this.secure)) sb.write("; Secure"); + if (dart.test(this.httpOnly)) sb.write("; HttpOnly"); + return sb.toString(); + } + static _validateName(newName) { + if (newName == null) dart.nullFailed(I[180], 1051, 38, "newName"); + let separators = C[465] || CT.C465; + if (newName == null) dart.throw(new core.ArgumentError.notNull("name")); + for (let i = 0; i < newName.length; i = i + 1) { + let codeUnit = newName[$codeUnitAt](i); + if (codeUnit <= 32 || codeUnit >= 127 || dart.notNull(separators[$indexOf](newName[$_get](i))) >= 0) { + dart.throw(new core.FormatException.new("Invalid character in cookie name, code unit: '" + dart.str(codeUnit) + "'", newName, i)); + } + } + return newName; + } + static _validateValue(newValue) { + if (newValue == null) dart.nullFailed(I[180], 1086, 39, "newValue"); + if (newValue == null) dart.throw(new core.ArgumentError.notNull("value")); + let start = 0; + let end = newValue.length; + if (2 <= newValue.length && newValue[$codeUnits][$_get](start) === 34 && newValue[$codeUnits][$_get](end - 1) === 34) { + start = start + 1; + end = end - 1; + } + for (let i = start; i < end; i = i + 1) { + let codeUnit = newValue[$codeUnits][$_get](i); + if (!(codeUnit === 33 || dart.notNull(codeUnit) >= 35 && dart.notNull(codeUnit) <= 43 || dart.notNull(codeUnit) >= 45 && dart.notNull(codeUnit) <= 58 || dart.notNull(codeUnit) >= 60 && dart.notNull(codeUnit) <= 91 || dart.notNull(codeUnit) >= 93 && dart.notNull(codeUnit) <= 126)) { + dart.throw(new core.FormatException.new("Invalid character in cookie value, code unit: '" + dart.str(codeUnit) + "'", newValue, i)); + } + } + return newValue; + } + static _validatePath(path) { + if (path == null) return; + for (let i = 0; i < path.length; i = i + 1) { + let codeUnit = path[$codeUnitAt](i); + if (codeUnit < 32 || codeUnit >= 127 || codeUnit === 59) { + dart.throw(new core.FormatException.new("Invalid character in cookie path, code unit: '" + dart.str(codeUnit) + "'")); + } + } + } +}; +(_http._Cookie.new = function(name, value) { + if (name == null) dart.nullFailed(I[180], 920, 18, "name"); + if (value == null) dart.nullFailed(I[180], 920, 31, "value"); + this.expires = null; + this.maxAge = null; + this.domain = null; + this[_path$3] = null; + this.httpOnly = false; + this.secure = false; + this[_name$7] = _http._Cookie._validateName(name); + this[_value$5] = _http._Cookie._validateValue(value); + this.httpOnly = true; + ; +}).prototype = _http._Cookie.prototype; +(_http._Cookie.fromSetCookieValue = function(value) { + if (value == null) dart.nullFailed(I[180], 945, 37, "value"); + this.expires = null; + this.maxAge = null; + this.domain = null; + this[_path$3] = null; + this.httpOnly = false; + this.secure = false; + this[_name$7] = ""; + this[_value$5] = ""; + this[_parseSetCookieValue](value); +}).prototype = _http._Cookie.prototype; +dart.addTypeTests(_http._Cookie); +dart.addTypeCaches(_http._Cookie); +_http._Cookie[dart.implements] = () => [_http.Cookie]; +dart.setMethodSignature(_http._Cookie, () => ({ + __proto__: dart.getMethods(_http._Cookie.__proto__), + [_parseSetCookieValue]: dart.fnType(dart.void, [core.String]) +})); +dart.setGetterSignature(_http._Cookie, () => ({ + __proto__: dart.getGetters(_http._Cookie.__proto__), + name: core.String, + value: core.String, + path: dart.nullable(core.String) +})); +dart.setSetterSignature(_http._Cookie, () => ({ + __proto__: dart.getSetters(_http._Cookie.__proto__), + path: dart.nullable(core.String), + name: core.String, + value: core.String +})); +dart.setLibraryUri(_http._Cookie, I[177]); +dart.setFieldSignature(_http._Cookie, () => ({ + __proto__: dart.getFields(_http._Cookie.__proto__), + [_name$7]: dart.fieldType(core.String), + [_value$5]: dart.fieldType(core.String), + expires: dart.fieldType(dart.nullable(core.DateTime)), + maxAge: dart.fieldType(dart.nullable(core.int)), + domain: dart.fieldType(dart.nullable(core.String)), + [_path$3]: dart.fieldType(dart.nullable(core.String)), + httpOnly: dart.fieldType(core.bool), + secure: dart.fieldType(core.bool) +})); +dart.defineExtensionMethods(_http._Cookie, ['toString']); +var _timeline = dart.privateName(_http, "_timeline"); +_http.HttpProfiler = class HttpProfiler extends core.Object { + static startRequest(method, uri, opts) { + let t275; + if (method == null) dart.nullFailed(I[181], 13, 12, "method"); + if (uri == null) dart.nullFailed(I[181], 14, 9, "uri"); + let parentRequest = opts && 'parentRequest' in opts ? opts.parentRequest : null; + let data = new _http._HttpProfileData.new(method, uri, (t275 = parentRequest, t275 == null ? null : t275[_timeline])); + _http.HttpProfiler._profile[$_set](data.id, data); + return data; + } + static getHttpProfileRequest(id) { + if (id == null) dart.nullFailed(I[181], 22, 54, "id"); + return _http.HttpProfiler._profile[$_get](id); + } + static clear() { + return _http.HttpProfiler._profile[$clear](); + } + static toJson(updatedSince) { + return convert.json.encode(new (T$.IdentityMapOfString$Object()).from(["type", "HttpProfile", "timestamp", developer.Timeline.now, "requests", (() => { + let t275 = T$0.JSArrayOfMapOfString$dynamic().of([]); + for (let request of _http.HttpProfiler._profile[$values][$where](dart.fn(e => { + if (e == null) dart.nullFailed(I[181], 32, 12, "e"); + return updatedSince == null || dart.notNull(e.lastUpdateTime) >= dart.notNull(updatedSince); + }, T$0._HttpProfileDataTobool()))) + t275[$add](request.toJson()); + return t275; + })()])); + } +}; +(_http.HttpProfiler.new = function() { + ; +}).prototype = _http.HttpProfiler.prototype; +dart.addTypeTests(_http.HttpProfiler); +dart.addTypeCaches(_http.HttpProfiler); +dart.setLibraryUri(_http.HttpProfiler, I[177]); +dart.defineLazy(_http.HttpProfiler, { + /*_http.HttpProfiler._kType*/get _kType() { + return "HttpProfile"; + }, + /*_http.HttpProfiler._profile*/get _profile() { + return new (T$0.IdentityMapOfint$_HttpProfileData()).new(); + }, + set _profile(_) {} +}, false); +_http._HttpProfileEvent = class _HttpProfileEvent extends core.Object { + toJson() { + return (() => { + let t276 = new (T$0.IdentityMapOfString$dynamic()).new(); + t276[$_set]("timestamp", this.timestamp); + t276[$_set]("event", this.name); + if (this.arguments != null) t276[$_set]("arguments", this.arguments); + return t276; + })(); + } +}; +(_http._HttpProfileEvent.new = function(name, $arguments) { + if (name == null) dart.nullFailed(I[181], 43, 26, "name"); + this.timestamp = developer.Timeline.now; + this.name = name; + this.arguments = $arguments; + ; +}).prototype = _http._HttpProfileEvent.prototype; +dart.addTypeTests(_http._HttpProfileEvent); +dart.addTypeCaches(_http._HttpProfileEvent); +dart.setMethodSignature(_http._HttpProfileEvent, () => ({ + __proto__: dart.getMethods(_http._HttpProfileEvent.__proto__), + toJson: dart.fnType(core.Map$(core.String, dart.dynamic), []) +})); +dart.setLibraryUri(_http._HttpProfileEvent, I[177]); +dart.setFieldSignature(_http._HttpProfileEvent, () => ({ + __proto__: dart.getFields(_http._HttpProfileEvent.__proto__), + timestamp: dart.finalFieldType(core.int), + name: dart.finalFieldType(core.String), + arguments: dart.finalFieldType(dart.nullable(core.Map)) +})); +var ___HttpProfileData_id = dart.privateName(_http, "_#_HttpProfileData#id"); +var ___HttpProfileData_id_isSet = dart.privateName(_http, "_#_HttpProfileData#id#isSet"); +var ___HttpProfileData_requestStartTimestamp = dart.privateName(_http, "_#_HttpProfileData#requestStartTimestamp"); +var ___HttpProfileData_requestStartTimestamp_isSet = dart.privateName(_http, "_#_HttpProfileData#requestStartTimestamp#isSet"); +var ___HttpProfileData_requestEndTimestamp = dart.privateName(_http, "_#_HttpProfileData#requestEndTimestamp"); +var ___HttpProfileData_requestEndTimestamp_isSet = dart.privateName(_http, "_#_HttpProfileData#requestEndTimestamp#isSet"); +var ___HttpProfileData_responseStartTimestamp = dart.privateName(_http, "_#_HttpProfileData#responseStartTimestamp"); +var ___HttpProfileData_responseStartTimestamp_isSet = dart.privateName(_http, "_#_HttpProfileData#responseStartTimestamp#isSet"); +var ___HttpProfileData_responseEndTimestamp = dart.privateName(_http, "_#_HttpProfileData#responseEndTimestamp"); +var ___HttpProfileData_responseEndTimestamp_isSet = dart.privateName(_http, "_#_HttpProfileData#responseEndTimestamp#isSet"); +var _lastUpdateTime = dart.privateName(_http, "_lastUpdateTime"); +var ___HttpProfileData__responseTimeline = dart.privateName(_http, "_#_HttpProfileData#_responseTimeline"); +var ___HttpProfileData__responseTimeline_isSet = dart.privateName(_http, "_#_HttpProfileData#_responseTimeline#isSet"); +var _updated = dart.privateName(_http, "_updated"); +var _responseTimeline = dart.privateName(_http, "_responseTimeline"); +_http._HttpProfileData = class _HttpProfileData extends core.Object { + requestEvent(name, opts) { + if (name == null) dart.nullFailed(I[181], 76, 28, "name"); + let $arguments = opts && 'arguments' in opts ? opts.arguments : null; + this[_timeline].instant(name, {arguments: $arguments}); + this.requestEvents[$add](new _http._HttpProfileEvent.new(name, $arguments)); + this[_updated](); + } + proxyEvent(proxy) { + if (proxy == null) dart.nullFailed(I[181], 82, 26, "proxy"); + this.proxyDetails = (() => { + let t277 = new (T$0.IdentityMapOfString$dynamic()).new(); + if (proxy.host != null) t277[$_set]("host", proxy.host); + if (proxy.port != null) t277[$_set]("port", proxy.port); + if (proxy.username != null) t277[$_set]("username", proxy.username); + return t277; + })(); + this[_timeline].instant("Establishing proxy tunnel", {arguments: new _js_helper.LinkedMap.from(["proxyDetails", this.proxyDetails])}); + this[_updated](); + } + appendRequestData(data) { + if (data == null) dart.nullFailed(I[181], 94, 36, "data"); + this.requestBody[$addAll](data); + this[_updated](); + } + formatHeaders(r) { + let headers = new (T$0.IdentityMapOfString$ListOfString()).new(); + dart.dsend(dart.dload(r, 'headers'), 'forEach', [dart.fn((name, values) => { + headers[$_set](core.String.as(name), T$.ListOfString().as(values)); + }, T$.dynamicAnddynamicToNull())]); + return headers; + } + formatConnectionInfo(r) { + let t278, t278$, t278$0; + return dart.dload(r, 'connectionInfo') == null ? null : new _js_helper.LinkedMap.from(["localPort", (t278 = dart.dload(r, 'connectionInfo'), t278 == null ? null : dart.dload(t278, 'localPort')), "remoteAddress", (t278$ = dart.dload(r, 'connectionInfo'), t278$ == null ? null : dart.dload(dart.dload(t278$, 'remoteAddress'), 'address')), "remotePort", (t278$0 = dart.dload(r, 'connectionInfo'), t278$0 == null ? null : dart.dload(t278$0, 'remotePort'))]); + } + finishRequest(opts) { + let request = opts && 'request' in opts ? opts.request : null; + if (request == null) dart.nullFailed(I[181], 116, 32, "request"); + this.requestInProgress = false; + this.requestEndTimestamp = developer.Timeline.now; + this.requestDetails = new (T$0.IdentityMapOfString$dynamic()).from(["headers", this.formatHeaders(request), "connectionInfo", this.formatConnectionInfo(request), "contentLength", request.contentLength, "cookies", (() => { + let t278 = T$.JSArrayOfString().of([]); + for (let cookie of request.cookies) + t278[$add](dart.toString(cookie)); + return t278; + })(), "followRedirects", request.followRedirects, "maxRedirects", request.maxRedirects, "method", request.method, "persistentConnection", request.persistentConnection, "uri", dart.toString(request.uri)]); + this[_timeline].finish({arguments: this.requestDetails}); + this[_updated](); + } + startResponse(opts) { + let response = opts && 'response' in opts ? opts.response : null; + if (response == null) dart.nullFailed(I[181], 142, 51, "response"); + function formatRedirectInfo() { + let redirects = T$0.JSArrayOfMapOfString$dynamic().of([]); + for (let redirect of response.redirects) { + redirects[$add](new (T$0.IdentityMapOfString$dynamic()).from(["location", dart.toString(redirect.location), "method", redirect.method, "statusCode", redirect.statusCode])); + } + return redirects; + } + dart.fn(formatRedirectInfo, T$0.VoidToListOfMapOfString$dynamic()); + this.responseDetails = new (T$0.IdentityMapOfString$dynamic()).from(["headers", this.formatHeaders(response), "compressionState", dart.toString(response.compressionState), "connectionInfo", this.formatConnectionInfo(response), "contentLength", response.contentLength, "cookies", (() => { + let t279 = T$.JSArrayOfString().of([]); + for (let cookie of response.cookies) + t279[$add](dart.toString(cookie)); + return t279; + })(), "isRedirect", response.isRedirect, "persistentConnection", response.persistentConnection, "reasonPhrase", response.reasonPhrase, "redirects", formatRedirectInfo(), "statusCode", response.statusCode]); + if (!!dart.test(this.requestInProgress)) dart.assertFailed(null, I[181], 170, 12, "!requestInProgress"); + this.responseInProgress = true; + this[_responseTimeline] = new developer.TimelineTask.new({parent: this[_timeline], filterKey: "HTTP/client"}); + this.responseStartTimestamp = developer.Timeline.now; + this[_responseTimeline].start("HTTP CLIENT response of " + dart.str(this.method), {arguments: (() => { + let t280 = new _js_helper.LinkedMap.new(); + t280[$_set]("requestUri", dart.toString(this.uri)); + for (let t281 of dart.nullCheck(this.responseDetails)[$entries]) + t280[$_set](t281.key, t281.value); + return t280; + })()}); + this[_updated](); + } + finishRequestWithError(error) { + if (error == null) dart.nullFailed(I[181], 188, 38, "error"); + this.requestInProgress = false; + this.requestEndTimestamp = developer.Timeline.now; + this.requestError = error; + this[_timeline].finish({arguments: new _js_helper.LinkedMap.from(["error", error])}); + this[_updated](); + } + finishResponse() { + this.responseInProgress = false; + this.responseEndTimestamp = developer.Timeline.now; + this.requestEvent("Content Download"); + this[_responseTimeline].finish(); + this[_updated](); + } + finishResponseWithError(error) { + if (error == null) dart.nullFailed(I[181], 206, 39, "error"); + if (!dart.nullCheck(this.responseInProgress)) return; + this.responseInProgress = false; + this.responseEndTimestamp = developer.Timeline.now; + this.responseError = error; + this[_responseTimeline].finish({arguments: new _js_helper.LinkedMap.from(["error", error])}); + this[_updated](); + } + appendResponseData(data) { + if (data == null) dart.nullFailed(I[181], 219, 37, "data"); + this.responseBody[$addAll](data); + this[_updated](); + } + toJson(opts) { + let ref = opts && 'ref' in opts ? opts.ref : true; + if (ref == null) dart.nullFailed(I[181], 224, 37, "ref"); + return (() => { + let t282 = new (T$0.IdentityMapOfString$dynamic()).new(); + t282[$_set]("type", (dart.test(ref) ? "@" : "") + "HttpProfileRequest"); + t282[$_set]("id", this.id); + t282[$_set]("isolateId", _http._HttpProfileData.isolateId); + t282[$_set]("method", this.method); + t282[$_set]("uri", dart.toString(this.uri)); + t282[$_set]("startTime", this.requestStartTimestamp); + if (!dart.test(this.requestInProgress)) t282[$_set]("endTime", this.requestEndTimestamp); + if (!dart.test(this.requestInProgress)) t282[$_set]("request", (() => { + let t283 = new (T$0.IdentityMapOfString$dynamic()).new(); + t283[$_set]("events", (() => { + let t284 = T$0.JSArrayOfMapOfString$dynamic().of([]); + for (let event of this.requestEvents) + t284[$add](event.toJson()); + return t284; + })()); + if (this.proxyDetails != null) t283[$_set]("proxyDetails", dart.nullCheck(this.proxyDetails)); + if (this.requestDetails != null) for (let t285 of dart.nullCheck(this.requestDetails)[$entries]) + t283[$_set](t285.key, t285.value); + if (this.requestError != null) t283[$_set]("error", this.requestError); + return t283; + })()); + if (this.responseInProgress != null) t282[$_set]("response", (() => { + let t286 = new (T$0.IdentityMapOfString$dynamic()).new(); + t286[$_set]("startTime", this.responseStartTimestamp); + for (let t287 of dart.nullCheck(this.responseDetails)[$entries]) + t286[$_set](t287.key, t287.value); + if (!dart.nullCheck(this.responseInProgress)) t286[$_set]("endTime", this.responseEndTimestamp); + if (this.responseError != null) t286[$_set]("error", this.responseError); + return t286; + })()); + if (!dart.test(ref)) for (let t289 of (() => { + let t288 = new (T$0.IdentityMapOfString$dynamic()).new(); + if (!dart.test(this.requestInProgress)) t288[$_set]("requestBody", this.requestBody); + if (this.responseInProgress != null) t288[$_set]("responseBody", this.responseBody); + return t288; + })()[$entries]) + t282[$_set](t289.key, t289.value); + return t282; + })(); + } + [_updated]() { + return this[_lastUpdateTime] = developer.Timeline.now; + } + get id() { + let t290; + return dart.test(this[___HttpProfileData_id_isSet]) ? (t290 = this[___HttpProfileData_id], t290) : dart.throw(new _internal.LateError.fieldNI("id")); + } + set id(t290) { + if (t290 == null) dart.nullFailed(I[181], 263, 18, "null"); + if (dart.test(this[___HttpProfileData_id_isSet])) + dart.throw(new _internal.LateError.fieldAI("id")); + else { + this[___HttpProfileData_id_isSet] = true; + this[___HttpProfileData_id] = t290; + } + } + get requestStartTimestamp() { + let t291; + return dart.test(this[___HttpProfileData_requestStartTimestamp_isSet]) ? (t291 = this[___HttpProfileData_requestStartTimestamp], t291) : dart.throw(new _internal.LateError.fieldNI("requestStartTimestamp")); + } + set requestStartTimestamp(t291) { + if (t291 == null) dart.nullFailed(I[181], 267, 18, "null"); + if (dart.test(this[___HttpProfileData_requestStartTimestamp_isSet])) + dart.throw(new _internal.LateError.fieldAI("requestStartTimestamp")); + else { + this[___HttpProfileData_requestStartTimestamp_isSet] = true; + this[___HttpProfileData_requestStartTimestamp] = t291; + } + } + get requestEndTimestamp() { + let t292; + return dart.test(this[___HttpProfileData_requestEndTimestamp_isSet]) ? (t292 = this[___HttpProfileData_requestEndTimestamp], t292) : dart.throw(new _internal.LateError.fieldNI("requestEndTimestamp")); + } + set requestEndTimestamp(t292) { + if (t292 == null) dart.nullFailed(I[181], 268, 18, "null"); + if (dart.test(this[___HttpProfileData_requestEndTimestamp_isSet])) + dart.throw(new _internal.LateError.fieldAI("requestEndTimestamp")); + else { + this[___HttpProfileData_requestEndTimestamp_isSet] = true; + this[___HttpProfileData_requestEndTimestamp] = t292; + } + } + get responseStartTimestamp() { + let t293; + return dart.test(this[___HttpProfileData_responseStartTimestamp_isSet]) ? (t293 = this[___HttpProfileData_responseStartTimestamp], t293) : dart.throw(new _internal.LateError.fieldNI("responseStartTimestamp")); + } + set responseStartTimestamp(t293) { + if (t293 == null) dart.nullFailed(I[181], 275, 18, "null"); + if (dart.test(this[___HttpProfileData_responseStartTimestamp_isSet])) + dart.throw(new _internal.LateError.fieldAI("responseStartTimestamp")); + else { + this[___HttpProfileData_responseStartTimestamp_isSet] = true; + this[___HttpProfileData_responseStartTimestamp] = t293; + } + } + get responseEndTimestamp() { + let t294; + return dart.test(this[___HttpProfileData_responseEndTimestamp_isSet]) ? (t294 = this[___HttpProfileData_responseEndTimestamp], t294) : dart.throw(new _internal.LateError.fieldNI("responseEndTimestamp")); + } + set responseEndTimestamp(t294) { + if (t294 == null) dart.nullFailed(I[181], 276, 18, "null"); + if (dart.test(this[___HttpProfileData_responseEndTimestamp_isSet])) + dart.throw(new _internal.LateError.fieldAI("responseEndTimestamp")); + else { + this[___HttpProfileData_responseEndTimestamp_isSet] = true; + this[___HttpProfileData_responseEndTimestamp] = t294; + } + } + get lastUpdateTime() { + return this[_lastUpdateTime]; + } + get [_responseTimeline]() { + let t295; + return dart.test(this[___HttpProfileData__responseTimeline_isSet]) ? (t295 = this[___HttpProfileData__responseTimeline], t295) : dart.throw(new _internal.LateError.fieldNI("_responseTimeline")); + } + set [_responseTimeline](t295) { + if (t295 == null) dart.nullFailed(I[181], 285, 21, "null"); + this[___HttpProfileData__responseTimeline_isSet] = true; + this[___HttpProfileData__responseTimeline] = t295; + } +}; +(_http._HttpProfileData.new = function(method, uri, parent) { + if (method == null) dart.nullFailed(I[181], 58, 27, "method"); + if (uri == null) dart.nullFailed(I[181], 58, 40, "uri"); + this.requestInProgress = true; + this.responseInProgress = null; + this[___HttpProfileData_id] = null; + this[___HttpProfileData_id_isSet] = false; + this[___HttpProfileData_requestStartTimestamp] = null; + this[___HttpProfileData_requestStartTimestamp_isSet] = false; + this[___HttpProfileData_requestEndTimestamp] = null; + this[___HttpProfileData_requestEndTimestamp_isSet] = false; + this.requestDetails = null; + this.proxyDetails = null; + this.requestBody = T$.JSArrayOfint().of([]); + this.requestError = null; + this.requestEvents = T$0.JSArrayOf_HttpProfileEvent().of([]); + this[___HttpProfileData_responseStartTimestamp] = null; + this[___HttpProfileData_responseStartTimestamp_isSet] = false; + this[___HttpProfileData_responseEndTimestamp] = null; + this[___HttpProfileData_responseEndTimestamp_isSet] = false; + this.responseDetails = null; + this.responseBody = T$.JSArrayOfint().of([]); + this.responseError = null; + this[_lastUpdateTime] = 0; + this[___HttpProfileData__responseTimeline] = null; + this[___HttpProfileData__responseTimeline_isSet] = false; + this.uri = uri; + this.method = method[$toUpperCase](); + this[_timeline] = new developer.TimelineTask.new({filterKey: "HTTP/client", parent: parent}); + this.id = this[_timeline].pass(); + this.requestInProgress = true; + this.requestStartTimestamp = developer.Timeline.now; + this[_timeline].start("HTTP CLIENT " + dart.str(method), {arguments: new _js_helper.LinkedMap.from(["method", method[$toUpperCase](), "uri", dart.toString(this.uri)])}); + this[_updated](); +}).prototype = _http._HttpProfileData.prototype; +dart.addTypeTests(_http._HttpProfileData); +dart.addTypeCaches(_http._HttpProfileData); +dart.setMethodSignature(_http._HttpProfileData, () => ({ + __proto__: dart.getMethods(_http._HttpProfileData.__proto__), + requestEvent: dart.fnType(dart.void, [core.String], {arguments: dart.nullable(core.Map)}, {}), + proxyEvent: dart.fnType(dart.void, [_http._Proxy]), + appendRequestData: dart.fnType(dart.void, [typed_data.Uint8List]), + formatHeaders: dart.fnType(core.Map, [dart.dynamic]), + formatConnectionInfo: dart.fnType(dart.nullable(core.Map), [dart.dynamic]), + finishRequest: dart.fnType(dart.void, [], {}, {request: _http.HttpClientRequest}), + startResponse: dart.fnType(dart.void, [], {}, {response: _http.HttpClientResponse}), + finishRequestWithError: dart.fnType(dart.void, [core.String]), + finishResponse: dart.fnType(dart.void, []), + finishResponseWithError: dart.fnType(dart.void, [core.String]), + appendResponseData: dart.fnType(dart.void, [typed_data.Uint8List]), + toJson: dart.fnType(core.Map$(core.String, dart.dynamic), [], {ref: core.bool}, {}), + [_updated]: dart.fnType(dart.void, []) +})); +dart.setGetterSignature(_http._HttpProfileData, () => ({ + __proto__: dart.getGetters(_http._HttpProfileData.__proto__), + id: core.int, + requestStartTimestamp: core.int, + requestEndTimestamp: core.int, + responseStartTimestamp: core.int, + responseEndTimestamp: core.int, + lastUpdateTime: core.int, + [_responseTimeline]: developer.TimelineTask +})); +dart.setSetterSignature(_http._HttpProfileData, () => ({ + __proto__: dart.getSetters(_http._HttpProfileData.__proto__), + id: core.int, + requestStartTimestamp: core.int, + requestEndTimestamp: core.int, + responseStartTimestamp: core.int, + responseEndTimestamp: core.int, + [_responseTimeline]: developer.TimelineTask +})); +dart.setLibraryUri(_http._HttpProfileData, I[177]); +dart.setFieldSignature(_http._HttpProfileData, () => ({ + __proto__: dart.getFields(_http._HttpProfileData.__proto__), + requestInProgress: dart.fieldType(core.bool), + responseInProgress: dart.fieldType(dart.nullable(core.bool)), + [___HttpProfileData_id]: dart.fieldType(dart.nullable(core.int)), + [___HttpProfileData_id_isSet]: dart.fieldType(core.bool), + method: dart.finalFieldType(core.String), + uri: dart.finalFieldType(core.Uri), + [___HttpProfileData_requestStartTimestamp]: dart.fieldType(dart.nullable(core.int)), + [___HttpProfileData_requestStartTimestamp_isSet]: dart.fieldType(core.bool), + [___HttpProfileData_requestEndTimestamp]: dart.fieldType(dart.nullable(core.int)), + [___HttpProfileData_requestEndTimestamp_isSet]: dart.fieldType(core.bool), + requestDetails: dart.fieldType(dart.nullable(core.Map$(core.String, dart.dynamic))), + proxyDetails: dart.fieldType(dart.nullable(core.Map$(core.String, dart.dynamic))), + requestBody: dart.finalFieldType(core.List$(core.int)), + requestError: dart.fieldType(dart.nullable(core.String)), + requestEvents: dart.finalFieldType(core.List$(_http._HttpProfileEvent)), + [___HttpProfileData_responseStartTimestamp]: dart.fieldType(dart.nullable(core.int)), + [___HttpProfileData_responseStartTimestamp_isSet]: dart.fieldType(core.bool), + [___HttpProfileData_responseEndTimestamp]: dart.fieldType(dart.nullable(core.int)), + [___HttpProfileData_responseEndTimestamp_isSet]: dart.fieldType(core.bool), + responseDetails: dart.fieldType(dart.nullable(core.Map$(core.String, dart.dynamic))), + responseBody: dart.finalFieldType(core.List$(core.int)), + responseError: dart.fieldType(dart.nullable(core.String)), + [_lastUpdateTime]: dart.fieldType(core.int), + [_timeline]: dart.fieldType(developer.TimelineTask), + [___HttpProfileData__responseTimeline]: dart.fieldType(dart.nullable(developer.TimelineTask)), + [___HttpProfileData__responseTimeline_isSet]: dart.fieldType(core.bool) +})); +dart.defineLazy(_http._HttpProfileData, { + /*_http._HttpProfileData.isolateId*/get isolateId() { + return dart.nullCheck(developer.Service.getIsolateID(isolate$.Isolate.current)); + } +}, false); +var __serviceId$ = dart.privateName(_http, "_ServiceObject.__serviceId"); +var __serviceId$0 = dart.privateName(_http, "__serviceId"); +var _serviceId$ = dart.privateName(_http, "_serviceId"); +var _serviceTypePath$ = dart.privateName(_http, "_serviceTypePath"); +var _servicePath$ = dart.privateName(_http, "_servicePath"); +var _serviceTypeName$ = dart.privateName(_http, "_serviceTypeName"); +var _serviceType$ = dart.privateName(_http, "_serviceType"); +_http._ServiceObject = class _ServiceObject extends core.Object { + get [__serviceId$0]() { + return this[__serviceId$]; + } + set [__serviceId$0](value) { + this[__serviceId$] = value; + } + get [_serviceId$]() { + let t296; + if (this[__serviceId$0] === 0) this[__serviceId$0] = (t296 = _http._nextServiceId, _http._nextServiceId = dart.notNull(t296) + 1, t296); + return this[__serviceId$0]; + } + get [_servicePath$]() { + return dart.str(this[_serviceTypePath$]) + "/" + dart.str(this[_serviceId$]); + } + [_serviceType$](ref) { + if (ref == null) dart.nullFailed(I[181], 306, 28, "ref"); + if (dart.test(ref)) return "@" + dart.str(this[_serviceTypeName$]); + return this[_serviceTypeName$]; + } +}; +(_http._ServiceObject.new = function() { + this[__serviceId$] = 0; + ; +}).prototype = _http._ServiceObject.prototype; +dart.addTypeTests(_http._ServiceObject); +dart.addTypeCaches(_http._ServiceObject); +dart.setMethodSignature(_http._ServiceObject, () => ({ + __proto__: dart.getMethods(_http._ServiceObject.__proto__), + [_serviceType$]: dart.fnType(core.String, [core.bool]) +})); +dart.setGetterSignature(_http._ServiceObject, () => ({ + __proto__: dart.getGetters(_http._ServiceObject.__proto__), + [_serviceId$]: core.int, + [_servicePath$]: core.String +})); +dart.setLibraryUri(_http._ServiceObject, I[177]); +dart.setFieldSignature(_http._ServiceObject, () => ({ + __proto__: dart.getFields(_http._ServiceObject.__proto__), + [__serviceId$0]: dart.fieldType(core.int) +})); +var _length$1 = dart.privateName(_http, "_length"); +var _buffer$1 = dart.privateName(_http, "_buffer"); +var _grow$0 = dart.privateName(_http, "_grow"); +_http._CopyingBytesBuilder = class _CopyingBytesBuilder extends core.Object { + add(bytes) { + if (bytes == null) dart.nullFailed(I[181], 326, 22, "bytes"); + let bytesLength = bytes[$length]; + if (bytesLength === 0) return; + let required = dart.notNull(this[_length$1]) + dart.notNull(bytesLength); + if (dart.notNull(this[_buffer$1][$length]) < required) { + this[_grow$0](required); + } + if (!(dart.notNull(this[_buffer$1][$length]) >= required)) dart.assertFailed(null, I[181], 333, 12, "_buffer.length >= required"); + if (typed_data.Uint8List.is(bytes)) { + this[_buffer$1][$setRange](this[_length$1], required, bytes); + } else { + for (let i = 0; i < dart.notNull(bytesLength); i = i + 1) { + this[_buffer$1][$_set](dart.notNull(this[_length$1]) + i, bytes[$_get](i)); + } + } + this[_length$1] = required; + } + addByte(byte) { + if (byte == null) dart.nullFailed(I[181], 344, 20, "byte"); + if (this[_buffer$1][$length] == this[_length$1]) { + this[_grow$0](this[_length$1]); + } + if (!(dart.notNull(this[_buffer$1][$length]) > dart.notNull(this[_length$1]))) dart.assertFailed(null, I[181], 350, 12, "_buffer.length > _length"); + this[_buffer$1][$_set](this[_length$1], byte); + this[_length$1] = dart.notNull(this[_length$1]) + 1; + } + [_grow$0](required) { + if (required == null) dart.nullFailed(I[181], 355, 18, "required"); + let newSize = dart.notNull(required) * 2; + if (dart.notNull(newSize) < 1024) { + newSize = 1024; + } else { + newSize = _http._CopyingBytesBuilder._pow2roundup(newSize); + } + let newBuffer = _native_typed_data.NativeUint8List.new(newSize); + newBuffer[$setRange](0, this[_buffer$1][$length], this[_buffer$1]); + this[_buffer$1] = newBuffer; + } + takeBytes() { + if (this[_length$1] === 0) return _http._CopyingBytesBuilder._emptyList; + let buffer = typed_data.Uint8List.view(this[_buffer$1][$buffer], this[_buffer$1][$offsetInBytes], this[_length$1]); + this.clear(); + return buffer; + } + toBytes() { + if (this[_length$1] === 0) return _http._CopyingBytesBuilder._emptyList; + return _native_typed_data.NativeUint8List.fromList(typed_data.Uint8List.view(this[_buffer$1][$buffer], this[_buffer$1][$offsetInBytes], this[_length$1])); + } + get length() { + return this[_length$1]; + } + get isEmpty() { + return this[_length$1] === 0; + } + get isNotEmpty() { + return this[_length$1] !== 0; + } + clear() { + this[_length$1] = 0; + this[_buffer$1] = _http._CopyingBytesBuilder._emptyList; + } + static _pow2roundup(x) { + if (x == null) dart.nullFailed(I[181], 394, 31, "x"); + if (!(dart.notNull(x) > 0)) dart.assertFailed(null, I[181], 395, 12, "x > 0"); + x = dart.notNull(x) - 1; + x = (dart.notNull(x) | x[$rightShift](1)) >>> 0; + x = (dart.notNull(x) | x[$rightShift](2)) >>> 0; + x = (dart.notNull(x) | x[$rightShift](4)) >>> 0; + x = (dart.notNull(x) | x[$rightShift](8)) >>> 0; + x = (dart.notNull(x) | x[$rightShift](16)) >>> 0; + return dart.notNull(x) + 1; + } +}; +(_http._CopyingBytesBuilder.new = function(initialCapacity = 0) { + if (initialCapacity == null) dart.nullFailed(I[181], 321, 29, "initialCapacity"); + this[_length$1] = 0; + this[_buffer$1] = dart.notNull(initialCapacity) <= 0 ? _http._CopyingBytesBuilder._emptyList : _native_typed_data.NativeUint8List.new(_http._CopyingBytesBuilder._pow2roundup(initialCapacity)); + ; +}).prototype = _http._CopyingBytesBuilder.prototype; +dart.addTypeTests(_http._CopyingBytesBuilder); +dart.addTypeCaches(_http._CopyingBytesBuilder); +_http._CopyingBytesBuilder[dart.implements] = () => [_internal.BytesBuilder]; +dart.setMethodSignature(_http._CopyingBytesBuilder, () => ({ + __proto__: dart.getMethods(_http._CopyingBytesBuilder.__proto__), + add: dart.fnType(dart.void, [core.List$(core.int)]), + addByte: dart.fnType(dart.void, [core.int]), + [_grow$0]: dart.fnType(dart.void, [core.int]), + takeBytes: dart.fnType(typed_data.Uint8List, []), + toBytes: dart.fnType(typed_data.Uint8List, []), + clear: dart.fnType(dart.void, []) +})); +dart.setGetterSignature(_http._CopyingBytesBuilder, () => ({ + __proto__: dart.getGetters(_http._CopyingBytesBuilder.__proto__), + length: core.int, + isEmpty: core.bool, + isNotEmpty: core.bool +})); +dart.setLibraryUri(_http._CopyingBytesBuilder, I[177]); +dart.setFieldSignature(_http._CopyingBytesBuilder, () => ({ + __proto__: dart.getFields(_http._CopyingBytesBuilder.__proto__), + [_length$1]: dart.fieldType(core.int), + [_buffer$1]: dart.fieldType(typed_data.Uint8List) +})); +dart.defineLazy(_http._CopyingBytesBuilder, { + /*_http._CopyingBytesBuilder._INIT_SIZE*/get _INIT_SIZE() { + return 1024; + }, + /*_http._CopyingBytesBuilder._emptyList*/get _emptyList() { + return _native_typed_data.NativeUint8List.new(0); + } +}, false); +var _dataCompleter = dart.privateName(_http, "_dataCompleter"); +var _transferLength$ = dart.privateName(_http, "_transferLength"); +var _stream$1 = dart.privateName(_http, "_stream"); +_http._HttpIncoming = class _HttpIncoming extends async.Stream$(typed_data.Uint8List) { + get transferLength() { + return this[_transferLength$]; + } + listen(onData, opts) { + let onError = opts && 'onError' in opts ? opts.onError : null; + let onDone = opts && 'onDone' in opts ? opts.onDone : null; + let cancelOnError = opts && 'cancelOnError' in opts ? opts.cancelOnError : null; + this.hasSubscriber = true; + return this[_stream$1].handleError(dart.fn(error => { + dart.throw(new _http.HttpException.new(core.String.as(dart.dload(error, 'message')), {uri: this.uri})); + }, T$0.dynamicToNever())).listen(onData, {onError: onError, onDone: onDone, cancelOnError: cancelOnError}); + } + get dataDone() { + return this[_dataCompleter].future; + } + close(closing) { + if (closing == null) dart.nullFailed(I[181], 451, 19, "closing"); + this.fullBodyRead = true; + this.hasSubscriber = true; + this[_dataCompleter].complete(closing); + } +}; +(_http._HttpIncoming.new = function(headers, _transferLength, _stream) { + if (headers == null) dart.nullFailed(I[181], 437, 22, "headers"); + if (_transferLength == null) dart.nullFailed(I[181], 437, 36, "_transferLength"); + if (_stream == null) dart.nullFailed(I[181], 437, 58, "_stream"); + this[_dataCompleter] = async.Completer.new(); + this.fullBodyRead = false; + this.upgraded = false; + this.statusCode = null; + this.reasonPhrase = null; + this.method = null; + this.uri = null; + this.hasSubscriber = false; + this.headers = headers; + this[_transferLength$] = _transferLength; + this[_stream$1] = _stream; + _http._HttpIncoming.__proto__.new.call(this); + ; +}).prototype = _http._HttpIncoming.prototype; +dart.addTypeTests(_http._HttpIncoming); +dart.addTypeCaches(_http._HttpIncoming); +dart.setMethodSignature(_http._HttpIncoming, () => ({ + __proto__: dart.getMethods(_http._HttpIncoming.__proto__), + listen: dart.fnType(async.StreamSubscription$(typed_data.Uint8List), [dart.nullable(dart.fnType(dart.void, [typed_data.Uint8List]))], {cancelOnError: dart.nullable(core.bool), onDone: dart.nullable(dart.fnType(dart.void, [])), onError: dart.nullable(core.Function)}, {}), + close: dart.fnType(dart.void, [core.bool]) +})); +dart.setGetterSignature(_http._HttpIncoming, () => ({ + __proto__: dart.getGetters(_http._HttpIncoming.__proto__), + transferLength: core.int, + dataDone: async.Future +})); +dart.setLibraryUri(_http._HttpIncoming, I[177]); +dart.setFieldSignature(_http._HttpIncoming, () => ({ + __proto__: dart.getFields(_http._HttpIncoming.__proto__), + [_transferLength$]: dart.finalFieldType(core.int), + [_dataCompleter]: dart.finalFieldType(async.Completer), + [_stream$1]: dart.fieldType(async.Stream$(typed_data.Uint8List)), + fullBodyRead: dart.fieldType(core.bool), + headers: dart.finalFieldType(_http._HttpHeaders), + upgraded: dart.fieldType(core.bool), + statusCode: dart.fieldType(dart.nullable(core.int)), + reasonPhrase: dart.fieldType(dart.nullable(core.String)), + method: dart.fieldType(dart.nullable(core.String)), + uri: dart.fieldType(dart.nullable(core.Uri)), + hasSubscriber: dart.fieldType(core.bool) +})); +var _cookies = dart.privateName(_http, "_cookies"); +var _incoming$ = dart.privateName(_http, "_incoming"); +_http._HttpInboundMessageListInt = class _HttpInboundMessageListInt extends async.Stream$(core.List$(core.int)) { + get cookies() { + let t296; + t296 = this[_cookies]; + return t296 == null ? this[_cookies] = this.headers[_parseCookies]() : t296; + } + get headers() { + return this[_incoming$].headers; + } + get protocolVersion() { + return this.headers.protocolVersion; + } + get contentLength() { + return this.headers.contentLength; + } + get persistentConnection() { + return this.headers.persistentConnection; + } +}; +(_http._HttpInboundMessageListInt.new = function(_incoming) { + if (_incoming == null) dart.nullFailed(I[181], 462, 35, "_incoming"); + this[_cookies] = null; + this[_incoming$] = _incoming; + _http._HttpInboundMessageListInt.__proto__.new.call(this); + ; +}).prototype = _http._HttpInboundMessageListInt.prototype; +dart.addTypeTests(_http._HttpInboundMessageListInt); +dart.addTypeCaches(_http._HttpInboundMessageListInt); +dart.setGetterSignature(_http._HttpInboundMessageListInt, () => ({ + __proto__: dart.getGetters(_http._HttpInboundMessageListInt.__proto__), + cookies: core.List$(_http.Cookie), + headers: _http._HttpHeaders, + protocolVersion: core.String, + contentLength: core.int, + persistentConnection: core.bool +})); +dart.setLibraryUri(_http._HttpInboundMessageListInt, I[177]); +dart.setFieldSignature(_http._HttpInboundMessageListInt, () => ({ + __proto__: dart.getFields(_http._HttpInboundMessageListInt.__proto__), + [_incoming$]: dart.finalFieldType(_http._HttpIncoming), + [_cookies]: dart.fieldType(dart.nullable(core.List$(_http.Cookie))) +})); +_http._HttpInboundMessage = class _HttpInboundMessage extends async.Stream$(typed_data.Uint8List) { + get cookies() { + let t296; + t296 = this[_cookies]; + return t296 == null ? this[_cookies] = this.headers[_parseCookies]() : t296; + } + get headers() { + return this[_incoming$].headers; + } + get protocolVersion() { + return this.headers.protocolVersion; + } + get contentLength() { + return this.headers.contentLength; + } + get persistentConnection() { + return this.headers.persistentConnection; + } +}; +(_http._HttpInboundMessage.new = function(_incoming) { + if (_incoming == null) dart.nullFailed(I[181], 476, 28, "_incoming"); + this[_cookies] = null; + this[_incoming$] = _incoming; + _http._HttpInboundMessage.__proto__.new.call(this); + ; +}).prototype = _http._HttpInboundMessage.prototype; +dart.addTypeTests(_http._HttpInboundMessage); +dart.addTypeCaches(_http._HttpInboundMessage); +dart.setGetterSignature(_http._HttpInboundMessage, () => ({ + __proto__: dart.getGetters(_http._HttpInboundMessage.__proto__), + cookies: core.List$(_http.Cookie), + headers: _http._HttpHeaders, + protocolVersion: core.String, + contentLength: core.int, + persistentConnection: core.bool +})); +dart.setLibraryUri(_http._HttpInboundMessage, I[177]); +dart.setFieldSignature(_http._HttpInboundMessage, () => ({ + __proto__: dart.getFields(_http._HttpInboundMessage.__proto__), + [_incoming$]: dart.finalFieldType(_http._HttpIncoming), + [_cookies]: dart.fieldType(dart.nullable(core.List$(_http.Cookie))) +})); +var _session = dart.privateName(_http, "_session"); +var _requestedUri = dart.privateName(_http, "_requestedUri"); +var _httpServer$ = dart.privateName(_http, "_httpServer"); +var _httpConnection$ = dart.privateName(_http, "_httpConnection"); +var _sessionManagerInstance = dart.privateName(_http, "_sessionManagerInstance"); +var _sessionManager$ = dart.privateName(_http, "_sessionManager"); +var _markSeen = dart.privateName(_http, "_markSeen"); +var _socket$0 = dart.privateName(_http, "_socket"); +var _destroyed = dart.privateName(_http, "_destroyed"); +_http._HttpRequest = class _HttpRequest extends _http._HttpInboundMessage { + listen(onData, opts) { + let onError = opts && 'onError' in opts ? opts.onError : null; + let onDone = opts && 'onDone' in opts ? opts.onDone : null; + let cancelOnError = opts && 'cancelOnError' in opts ? opts.cancelOnError : null; + return this[_incoming$].listen(onData, {onError: onError, onDone: onDone, cancelOnError: cancelOnError}); + } + get uri() { + return dart.nullCheck(this[_incoming$].uri); + } + get requestedUri() { + let requestedUri = this[_requestedUri]; + if (requestedUri != null) return requestedUri; + let proto = this.headers._get("x-forwarded-proto"); + let scheme = proto != null ? proto[$first] : io.SecureSocket.is(this[_httpConnection$][_socket$0]) ? "https" : "http"; + let hostList = this.headers._get("x-forwarded-host"); + let host = null; + if (hostList != null) { + host = hostList[$first]; + } else { + hostList = this.headers._get("host"); + if (hostList != null) { + host = hostList[$first]; + } else { + host = dart.str(this[_httpServer$].address.host) + ":" + dart.str(this[_httpServer$].port); + } + } + return this[_requestedUri] = core.Uri.parse(dart.str(scheme) + "://" + dart.str(host) + dart.str(this.uri)); + } + get method() { + return dart.nullCheck(this[_incoming$].method); + } + get session() { + let session = this[_session]; + if (session != null && !dart.test(session[_destroyed])) { + return session; + } + return this[_session] = this[_httpServer$][_sessionManager$].createSession(); + } + get connectionInfo() { + return this[_httpConnection$].connectionInfo; + } + get certificate() { + let socket = this[_httpConnection$][_socket$0]; + if (io.SecureSocket.is(socket)) return socket.peerCertificate; + return null; + } +}; +(_http._HttpRequest.new = function(response, _incoming, _httpServer, _httpConnection) { + let t296; + if (response == null) dart.nullFailed(I[181], 497, 21, "response"); + if (_incoming == null) dart.nullFailed(I[181], 497, 45, "_incoming"); + if (_httpServer == null) dart.nullFailed(I[181], 497, 61, "_httpServer"); + if (_httpConnection == null) dart.nullFailed(I[181], 498, 12, "_httpConnection"); + this[_session] = null; + this[_requestedUri] = null; + this.response = response; + this[_httpServer$] = _httpServer; + this[_httpConnection$] = _httpConnection; + _http._HttpRequest.__proto__.new.call(this, _incoming); + if (this.headers.protocolVersion === "1.1") { + t296 = this.response.headers; + (() => { + t296.chunkedTransferEncoding = true; + t296.persistentConnection = this.headers.persistentConnection; + return t296; + })(); + } + if (this[_httpServer$][_sessionManagerInstance] != null) { + let sessionIds = this.cookies[$where](dart.fn(cookie => { + if (cookie == null) dart.nullFailed(I[181], 509, 19, "cookie"); + return cookie.name[$toUpperCase]() === "DARTSESSID"; + }, T$0.CookieTobool()))[$map](core.String, dart.fn(cookie => { + if (cookie == null) dart.nullFailed(I[181], 510, 25, "cookie"); + return cookie.value; + }, T$0.CookieToString())); + for (let sessionId of sessionIds) { + let session = this[_httpServer$][_sessionManager$].getSession(sessionId); + this[_session] = session; + if (session != null) { + session[_markSeen](); + break; + } + } + } +}).prototype = _http._HttpRequest.prototype; +dart.addTypeTests(_http._HttpRequest); +dart.addTypeCaches(_http._HttpRequest); +_http._HttpRequest[dart.implements] = () => [_http.HttpRequest]; +dart.setMethodSignature(_http._HttpRequest, () => ({ + __proto__: dart.getMethods(_http._HttpRequest.__proto__), + listen: dart.fnType(async.StreamSubscription$(typed_data.Uint8List), [dart.nullable(dart.fnType(dart.void, [typed_data.Uint8List]))], {cancelOnError: dart.nullable(core.bool), onDone: dart.nullable(dart.fnType(dart.void, [])), onError: dart.nullable(core.Function)}, {}) +})); +dart.setGetterSignature(_http._HttpRequest, () => ({ + __proto__: dart.getGetters(_http._HttpRequest.__proto__), + uri: core.Uri, + requestedUri: core.Uri, + method: core.String, + session: _http.HttpSession, + connectionInfo: dart.nullable(_http.HttpConnectionInfo), + certificate: dart.nullable(io.X509Certificate) +})); +dart.setLibraryUri(_http._HttpRequest, I[177]); +dart.setFieldSignature(_http._HttpRequest, () => ({ + __proto__: dart.getFields(_http._HttpRequest.__proto__), + response: dart.finalFieldType(_http.HttpResponse), + [_httpServer$]: dart.finalFieldType(_http._HttpServer), + [_httpConnection$]: dart.finalFieldType(_http._HttpConnection), + [_session]: dart.fieldType(dart.nullable(_http._HttpSession)), + [_requestedUri]: dart.fieldType(dart.nullable(core.Uri)) +})); +var _httpRequest$ = dart.privateName(_http, "_httpRequest"); +var _httpClient$ = dart.privateName(_http, "_httpClient"); +var _profileData$ = dart.privateName(_http, "_profileData"); +var _responseRedirects = dart.privateName(_http, "_responseRedirects"); +var _httpClientConnection$ = dart.privateName(_http, "_httpClientConnection"); +var _openUrlFromRequest = dart.privateName(_http, "_openUrlFromRequest"); +var _connectionClosed = dart.privateName(_http, "_connectionClosed"); +var _shouldAuthenticateProxy = dart.privateName(_http, "_shouldAuthenticateProxy"); +var _shouldAuthenticate = dart.privateName(_http, "_shouldAuthenticate"); +var _proxy$ = dart.privateName(_http, "_proxy"); +var _findProxyCredentials = dart.privateName(_http, "_findProxyCredentials"); +var _findCredentials = dart.privateName(_http, "_findCredentials"); +var _removeProxyCredentials = dart.privateName(_http, "_removeProxyCredentials"); +var _removeCredentials = dart.privateName(_http, "_removeCredentials"); +var _authenticateProxy = dart.privateName(_http, "_authenticateProxy"); +var _authenticate = dart.privateName(_http, "_authenticate"); +_http._HttpClientResponse = class _HttpClientResponse extends _http._HttpInboundMessageListInt { + get redirects() { + return this[_httpRequest$][_responseRedirects]; + } + static _getCompressionState(httpClient, headers) { + if (httpClient == null) dart.nullFailed(I[181], 598, 19, "httpClient"); + if (headers == null) dart.nullFailed(I[181], 598, 44, "headers"); + if (headers.value("content-encoding") === "gzip") { + return dart.test(httpClient.autoUncompress) ? _http.HttpClientResponseCompressionState.decompressed : _http.HttpClientResponseCompressionState.compressed; + } else { + return _http.HttpClientResponseCompressionState.notCompressed; + } + } + get statusCode() { + return dart.nullCheck(this[_incoming$].statusCode); + } + get reasonPhrase() { + return dart.nullCheck(this[_incoming$].reasonPhrase); + } + get certificate() { + let socket = this[_httpRequest$][_httpClientConnection$][_socket$0]; + if (io.SecureSocket.is(socket)) return socket.peerCertificate; + return null; + } + get cookies() { + let cookies = this[_cookies]; + if (cookies != null) return cookies; + cookies = T$0.JSArrayOfCookie().of([]); + let values = this.headers._get("set-cookie"); + if (values != null) { + for (let value of values) { + cookies[$add](_http.Cookie.fromSetCookieValue(value)); + } + } + this[_cookies] = cookies; + return cookies; + } + get isRedirect() { + if (this[_httpRequest$].method === "GET" || this[_httpRequest$].method === "HEAD") { + return this.statusCode === 301 || this.statusCode === 308 || this.statusCode === 302 || this.statusCode === 303 || this.statusCode === 307; + } else if (this[_httpRequest$].method === "POST") { + return this.statusCode === 303; + } + return false; + } + redirect(method = null, url = null, followLoops = null) { + if (method == null) { + if (this.statusCode === 303 && this[_httpRequest$].method === "POST") { + method = "GET"; + } else { + method = this[_httpRequest$].method; + } + } + if (url == null) { + let location = this.headers.value("location"); + if (location == null) { + dart.throw(new core.StateError.new("Response has no Location header for redirect")); + } + url = core.Uri.parse(location); + } + if (followLoops !== true) { + for (let redirect of this.redirects) { + if (dart.equals(redirect.location, url)) { + return T$0.FutureOfHttpClientResponse().error(new _http.RedirectException.new("Redirect loop detected", this.redirects)); + } + } + } + return this[_httpClient$][_openUrlFromRequest](method, url, this[_httpRequest$]).then(_http.HttpClientResponse, dart.fn(request => { + let t296; + if (request == null) dart.nullFailed(I[181], 671, 16, "request"); + t296 = request[_responseRedirects]; + (() => { + t296[$addAll](this.redirects); + t296[$add](new _http._RedirectInfo.new(this.statusCode, dart.nullCheck(method), dart.nullCheck(url))); + return t296; + })(); + return request.close(); + }, T$0._HttpClientRequestToFutureOfHttpClientResponse())); + } + listen(onData, opts) { + let t296; + let onError = opts && 'onError' in opts ? opts.onError : null; + let onDone = opts && 'onDone' in opts ? opts.onDone : null; + let cancelOnError = opts && 'cancelOnError' in opts ? opts.cancelOnError : null; + if (dart.test(this[_incoming$].upgraded)) { + t296 = this[_profileData$]; + t296 == null ? null : t296.finishResponseWithError("Connection was upgraded"); + this[_httpRequest$][_httpClientConnection$].destroy(); + return new (T$0._EmptyStreamOfUint8List()).new().listen(null, {onDone: onDone}); + } + let stream = this[_incoming$]; + if (this.compressionState == _http.HttpClientResponseCompressionState.decompressed) { + stream = stream.cast(T$0.ListOfint()).transform(T$0.ListOfint(), io.gzip.decoder).transform(typed_data.Uint8List, C[466] || CT.C466); + } + if (this[_profileData$] != null) { + stream = stream.map(typed_data.Uint8List, dart.fn(data => { + let t296; + if (data == null) dart.nullFailed(I[181], 698, 28, "data"); + t296 = this[_profileData$]; + t296 == null ? null : t296.appendResponseData(data); + return data; + }, T$0.Uint8ListToUint8List())); + } + return stream.listen(onData, {onError: dart.fn((e, st) => { + let t296; + t296 = this[_profileData$]; + t296 == null ? null : t296.finishResponseWithError(dart.toString(e)); + if (onError == null) { + return; + } + if (T$.ObjectTovoid().is(onError)) { + onError(core.Object.as(e)); + } else { + if (!T$.ObjectAndStackTraceTovoid().is(onError)) dart.assertFailed(null, I[181], 711, 16, "onError is void Function(Object, StackTrace)"); + dart.dcall(onError, [e, st]); + } + }, T$.dynamicAnddynamicToNull()), onDone: dart.fn(() => { + let t296; + t296 = this[_profileData$]; + t296 == null ? null : t296.finishResponse(); + if (onDone != null) { + onDone(); + } + }, T$.VoidTovoid()), cancelOnError: cancelOnError}); + } + detachSocket() { + let t296; + t296 = this[_profileData$]; + t296 == null ? null : t296.finishResponseWithError("Socket has been detached"); + this[_httpClient$][_connectionClosed](this[_httpRequest$][_httpClientConnection$]); + return this[_httpRequest$][_httpClientConnection$].detachSocket(); + } + get connectionInfo() { + return this[_httpRequest$].connectionInfo; + } + get [_shouldAuthenticateProxy]() { + let challenge = this.headers._get("proxy-authenticate"); + return this.statusCode === 407 && challenge != null && challenge[$length] === 1; + } + get [_shouldAuthenticate]() { + let challenge = this.headers._get("www-authenticate"); + return this.statusCode === 401 && challenge != null && challenge[$length] === 1; + } + [_authenticate](proxyAuth) { + let t296, t296$; + if (proxyAuth == null) dart.nullFailed(I[181], 746, 49, "proxyAuth"); + t296 = this[_httpRequest$][_profileData$]; + t296 == null ? null : t296.requestEvent("Authentication"); + const retry = () => { + let t296; + t296 = this[_httpRequest$][_profileData$]; + t296 == null ? null : t296.requestEvent("Retrying"); + return this.drain(dart.dynamic).then(_http.HttpClientResponse, dart.fn(_ => this[_httpClient$][_openUrlFromRequest](this[_httpRequest$].method, this[_httpRequest$].uri, this[_httpRequest$]).then(_http.HttpClientResponse, dart.fn(request => { + if (request == null) dart.nullFailed(I[181], 755, 20, "request"); + return request.close(); + }, T$0._HttpClientRequestToFutureOfHttpClientResponse())), T$0.dynamicToFutureOfHttpClientResponse())); + }; + dart.fn(retry, T$0.VoidToFutureOfHttpClientResponse()); + const authChallenge = () => { + return dart.test(proxyAuth) ? this.headers._get("proxy-authenticate") : this.headers._get("www-authenticate"); + }; + dart.fn(authChallenge, T$0.VoidToListNOfString()); + const findCredentials = scheme => { + if (scheme == null) dart.nullFailed(I[181], 765, 57, "scheme"); + return dart.test(proxyAuth) ? this[_httpClient$][_findProxyCredentials](this[_httpRequest$][_proxy$], scheme) : this[_httpClient$][_findCredentials](this[_httpRequest$].uri, scheme); + }; + dart.fn(findCredentials, T$0._AuthenticationSchemeTo_CredentialsN()); + const removeCredentials = cr => { + if (cr == null) dart.nullFailed(I[181], 771, 41, "cr"); + if (dart.test(proxyAuth)) { + this[_httpClient$][_removeProxyCredentials](cr); + } else { + this[_httpClient$][_removeCredentials](cr); + } + }; + dart.fn(removeCredentials, T$0._CredentialsTovoid()); + const requestAuthentication = (scheme, realm) => { + if (scheme == null) dart.nullFailed(I[181], 780, 31, "scheme"); + if (dart.test(proxyAuth)) { + let authenticateProxy = this[_httpClient$][_authenticateProxy]; + if (authenticateProxy == null) { + return T$.FutureOfbool().value(false); + } + let proxy = this[_httpRequest$][_proxy$]; + return T$.FutureOfbool().as(dart.dcall(authenticateProxy, [proxy.host, proxy.port, dart.toString(scheme), realm])); + } else { + let authenticate = this[_httpClient$][_authenticate]; + if (authenticate == null) { + return T$.FutureOfbool().value(false); + } + return T$.FutureOfbool().as(dart.dcall(authenticate, [this[_httpRequest$].uri, dart.toString(scheme), realm])); + } + }; + dart.fn(requestAuthentication, T$0._AuthenticationSchemeAndStringNToFutureOfbool()); + let challenge = dart.nullCheck(authChallenge()); + if (!(challenge[$length] === 1)) dart.assertFailed(null, I[181], 799, 12, "challenge.length == 1"); + let header = _http._HeaderValue.parse(challenge[$_get](0), {parameterSeparator: ","}); + let scheme = _http._AuthenticationScheme.fromString(header.value); + let realm = header.parameters[$_get]("realm"); + let cr = findCredentials(scheme); + if (cr != null) { + if (dart.equals(cr.scheme, _http._AuthenticationScheme.BASIC) && !dart.test(cr.used)) { + return retry(); + } + if (dart.equals(cr.scheme, _http._AuthenticationScheme.DIGEST)) { + let algorithm = header.parameters[$_get]("algorithm"); + if (algorithm == null || algorithm[$toLowerCase]() === "md5") { + let nonce = cr.nonce; + if (nonce == null || nonce == header.parameters[$_get]("nonce")) { + if (nonce == null) { + t296$ = cr; + (() => { + t296$.nonce = header.parameters[$_get]("nonce"); + t296$.algorithm = "MD5"; + t296$.qop = header.parameters[$_get]("qop"); + t296$.nonceCount = 0; + return t296$; + })(); + } + return retry(); + } else { + let staleHeader = header.parameters[$_get]("stale"); + if (staleHeader != null && staleHeader[$toLowerCase]() === "true") { + cr.nonce = header.parameters[$_get]("nonce"); + return retry(); + } + } + } + } + } + if (cr != null) { + removeCredentials(cr); + cr = null; + } + return requestAuthentication(scheme, realm).then(_http.HttpClientResponse, dart.fn(credsAvailable => { + if (credsAvailable == null) dart.nullFailed(I[181], 854, 55, "credsAvailable"); + if (dart.test(credsAvailable)) { + cr = this[_httpClient$][_findCredentials](this[_httpRequest$].uri, scheme); + return retry(); + } else { + return this; + } + }, T$0.boolToFutureOrOfHttpClientResponse())); + } +}; +(_http._HttpClientResponse.new = function(_incoming, _httpRequest, _httpClient, _profileData) { + if (_incoming == null) dart.nullFailed(I[181], 589, 37, "_incoming"); + if (_httpRequest == null) dart.nullFailed(I[181], 589, 53, "_httpRequest"); + if (_httpClient == null) dart.nullFailed(I[181], 590, 12, "_httpClient"); + this[_httpRequest$] = _httpRequest; + this[_httpClient$] = _httpClient; + this[_profileData$] = _profileData; + this.compressionState = _http._HttpClientResponse._getCompressionState(_httpClient, _incoming.headers); + _http._HttpClientResponse.__proto__.new.call(this, _incoming); + _incoming.uri = this[_httpRequest$].uri; +}).prototype = _http._HttpClientResponse.prototype; +dart.addTypeTests(_http._HttpClientResponse); +dart.addTypeCaches(_http._HttpClientResponse); +_http._HttpClientResponse[dart.implements] = () => [_http.HttpClientResponse]; +dart.setMethodSignature(_http._HttpClientResponse, () => ({ + __proto__: dart.getMethods(_http._HttpClientResponse.__proto__), + redirect: dart.fnType(async.Future$(_http.HttpClientResponse), [], [dart.nullable(core.String), dart.nullable(core.Uri), dart.nullable(core.bool)]), + listen: dart.fnType(async.StreamSubscription$(typed_data.Uint8List), [dart.nullable(dart.fnType(dart.void, [typed_data.Uint8List]))], {cancelOnError: dart.nullable(core.bool), onDone: dart.nullable(dart.fnType(dart.void, [])), onError: dart.nullable(core.Function)}, {}), + detachSocket: dart.fnType(async.Future$(io.Socket), []), + [_authenticate]: dart.fnType(async.Future$(_http.HttpClientResponse), [core.bool]) +})); +dart.setGetterSignature(_http._HttpClientResponse, () => ({ + __proto__: dart.getGetters(_http._HttpClientResponse.__proto__), + redirects: core.List$(_http.RedirectInfo), + statusCode: core.int, + reasonPhrase: core.String, + certificate: dart.nullable(io.X509Certificate), + isRedirect: core.bool, + connectionInfo: dart.nullable(_http.HttpConnectionInfo), + [_shouldAuthenticateProxy]: core.bool, + [_shouldAuthenticate]: core.bool +})); +dart.setLibraryUri(_http._HttpClientResponse, I[177]); +dart.setFieldSignature(_http._HttpClientResponse, () => ({ + __proto__: dart.getFields(_http._HttpClientResponse.__proto__), + [_httpClient$]: dart.finalFieldType(_http._HttpClient), + [_httpRequest$]: dart.finalFieldType(_http._HttpClientRequest), + compressionState: dart.finalFieldType(_http.HttpClientResponseCompressionState), + [_profileData$]: dart.finalFieldType(dart.nullable(_http._HttpProfileData)) +})); +_http._ToUint8List = class _ToUint8List extends convert.Converter$(core.List$(core.int), typed_data.Uint8List) { + convert(input) { + T$0.ListOfint().as(input); + if (input == null) dart.nullFailed(I[181], 869, 31, "input"); + return _native_typed_data.NativeUint8List.fromList(input); + } + startChunkedConversion(sink) { + T$0.SinkOfUint8List().as(sink); + if (sink == null) dart.nullFailed(I[181], 871, 58, "sink"); + return new _http._Uint8ListConversionSink.new(sink); + } +}; +(_http._ToUint8List.new = function() { + _http._ToUint8List.__proto__.new.call(this); + ; +}).prototype = _http._ToUint8List.prototype; +dart.addTypeTests(_http._ToUint8List); +dart.addTypeCaches(_http._ToUint8List); +dart.setMethodSignature(_http._ToUint8List, () => ({ + __proto__: dart.getMethods(_http._ToUint8List.__proto__), + convert: dart.fnType(typed_data.Uint8List, [dart.nullable(core.Object)]) +})); +dart.setLibraryUri(_http._ToUint8List, I[177]); +var _target$1 = dart.privateName(_http, "_Uint8ListConversionSink._target"); +var _target$2 = dart.privateName(_http, "_target"); +_http._Uint8ListConversionSink = class _Uint8ListConversionSink extends core.Object { + get [_target$2]() { + return this[_target$1]; + } + set [_target$2](value) { + super[_target$2] = value; + } + add(data) { + T$0.ListOfint().as(data); + if (data == null) dart.nullFailed(I[181], 881, 22, "data"); + this[_target$2].add(_native_typed_data.NativeUint8List.fromList(data)); + } + close() { + this[_target$2].close(); + } +}; +(_http._Uint8ListConversionSink.new = function(_target) { + if (_target == null) dart.nullFailed(I[181], 877, 39, "_target"); + this[_target$1] = _target; + ; +}).prototype = _http._Uint8ListConversionSink.prototype; +dart.addTypeTests(_http._Uint8ListConversionSink); +dart.addTypeCaches(_http._Uint8ListConversionSink); +_http._Uint8ListConversionSink[dart.implements] = () => [core.Sink$(core.List$(core.int))]; +dart.setMethodSignature(_http._Uint8ListConversionSink, () => ({ + __proto__: dart.getMethods(_http._Uint8ListConversionSink.__proto__), + add: dart.fnType(dart.void, [dart.nullable(core.Object)]), + close: dart.fnType(dart.void, []) +})); +dart.setLibraryUri(_http._Uint8ListConversionSink, I[177]); +dart.setFieldSignature(_http._Uint8ListConversionSink, () => ({ + __proto__: dart.getFields(_http._Uint8ListConversionSink.__proto__), + [_target$2]: dart.finalFieldType(core.Sink$(typed_data.Uint8List)) +})); +var _doneCompleter$ = dart.privateName(_http, "_doneCompleter"); +var _controllerInstance$ = dart.privateName(_http, "_controllerInstance"); +var _controllerCompleter$ = dart.privateName(_http, "_controllerCompleter"); +var _isClosed$0 = dart.privateName(_http, "_isClosed"); +var _isBound$ = dart.privateName(_http, "_isBound"); +var _hasError$0 = dart.privateName(_http, "_hasError"); +var _controller$0 = dart.privateName(_http, "_controller"); +var _closeTarget$ = dart.privateName(_http, "_closeTarget"); +var _completeDoneValue$ = dart.privateName(_http, "_completeDoneValue"); +var _completeDoneError$ = dart.privateName(_http, "_completeDoneError"); +const _is__StreamSinkImpl_default$ = Symbol('_is__StreamSinkImpl_default'); +_http._StreamSinkImpl$ = dart.generic(T => { + var StreamOfT = () => (StreamOfT = dart.constFn(async.Stream$(T)))(); + var StreamControllerOfT = () => (StreamControllerOfT = dart.constFn(async.StreamController$(T)))(); + class _StreamSinkImpl extends core.Object { + add(data) { + T.as(data); + if (dart.test(this[_isClosed$0])) { + dart.throw(new core.StateError.new("StreamSink is closed")); + } + this[_controller$0].add(data); + } + addError(error, stackTrace = null) { + if (error == null) dart.nullFailed(I[181], 908, 24, "error"); + if (dart.test(this[_isClosed$0])) { + dart.throw(new core.StateError.new("StreamSink is closed")); + } + this[_controller$0].addError(error, stackTrace); + } + addStream(stream) { + StreamOfT().as(stream); + if (stream == null) dart.nullFailed(I[181], 915, 30, "stream"); + if (dart.test(this[_isBound$])) { + dart.throw(new core.StateError.new("StreamSink is already bound to a stream")); + } + this[_isBound$] = true; + if (dart.test(this[_hasError$0])) return this.done; + const targetAddStream = () => { + return this[_target$2].addStream(stream).whenComplete(dart.fn(() => { + this[_isBound$] = false; + }, T$.VoidToNull())); + }; + dart.fn(targetAddStream, T$0.VoidToFuture()); + let controller = this[_controllerInstance$]; + if (controller == null) return targetAddStream(); + let future = dart.nullCheck(this[_controllerCompleter$]).future; + controller.close(); + return future.then(dart.dynamic, dart.fn(_ => targetAddStream(), T$.dynamicToFuture())); + } + flush() { + if (dart.test(this[_isBound$])) { + dart.throw(new core.StateError.new("StreamSink is bound to a stream")); + } + let controller = this[_controllerInstance$]; + if (controller == null) return async.Future.value(this); + this[_isBound$] = true; + let future = dart.nullCheck(this[_controllerCompleter$]).future; + controller.close(); + return future.whenComplete(dart.fn(() => { + this[_isBound$] = false; + }, T$.VoidToNull())); + } + close() { + if (dart.test(this[_isBound$])) { + dart.throw(new core.StateError.new("StreamSink is bound to a stream")); + } + if (!dart.test(this[_isClosed$0])) { + this[_isClosed$0] = true; + let controller = this[_controllerInstance$]; + if (controller != null) { + controller.close(); + } else { + this[_closeTarget$](); + } + } + return this.done; + } + [_closeTarget$]() { + this[_target$2].close().then(dart.void, dart.bind(this, _completeDoneValue$), {onError: dart.bind(this, _completeDoneError$)}); + } + get done() { + return this[_doneCompleter$].future; + } + [_completeDoneValue$](value) { + if (!dart.test(this[_doneCompleter$].isCompleted)) { + this[_doneCompleter$].complete(value); + } + } + [_completeDoneError$](error, stackTrace) { + if (error == null) dart.nullFailed(I[181], 979, 34, "error"); + if (stackTrace == null) dart.nullFailed(I[181], 979, 52, "stackTrace"); + if (!dart.test(this[_doneCompleter$].isCompleted)) { + this[_hasError$0] = true; + this[_doneCompleter$].completeError(error, stackTrace); + } + } + get [_controller$0]() { + if (dart.test(this[_isBound$])) { + dart.throw(new core.StateError.new("StreamSink is bound to a stream")); + } + if (dart.test(this[_isClosed$0])) { + dart.throw(new core.StateError.new("StreamSink is closed")); + } + if (this[_controllerInstance$] == null) { + this[_controllerInstance$] = StreamControllerOfT().new({sync: true}); + this[_controllerCompleter$] = async.Completer.new(); + this[_target$2].addStream(this[_controller$0].stream).then(core.Null, dart.fn(_ => { + if (dart.test(this[_isBound$])) { + dart.nullCheck(this[_controllerCompleter$]).complete(this); + this[_controllerCompleter$] = null; + this[_controllerInstance$] = null; + } else { + this[_closeTarget$](); + } + }, T$.dynamicToNull()), {onError: dart.fn((error, stackTrace) => { + if (error == null) dart.nullFailed(I[181], 1006, 27, "error"); + if (stackTrace == null) dart.nullFailed(I[181], 1006, 45, "stackTrace"); + if (dart.test(this[_isBound$])) { + dart.nullCheck(this[_controllerCompleter$]).completeError(error, stackTrace); + this[_controllerCompleter$] = null; + this[_controllerInstance$] = null; + } else { + this[_completeDoneError$](error, stackTrace); + } + }, T$.ObjectAndStackTraceToNull())}); + } + return dart.nullCheck(this[_controllerInstance$]); + } + } + (_StreamSinkImpl.new = function(_target) { + if (_target == null) dart.nullFailed(I[181], 899, 24, "_target"); + this[_doneCompleter$] = T$0.CompleterOfvoid().new(); + this[_controllerInstance$] = null; + this[_controllerCompleter$] = null; + this[_isClosed$0] = false; + this[_isBound$] = false; + this[_hasError$0] = false; + this[_target$2] = _target; + ; + }).prototype = _StreamSinkImpl.prototype; + dart.addTypeTests(_StreamSinkImpl); + _StreamSinkImpl.prototype[_is__StreamSinkImpl_default$] = true; + dart.addTypeCaches(_StreamSinkImpl); + _StreamSinkImpl[dart.implements] = () => [async.StreamSink$(T)]; + dart.setMethodSignature(_StreamSinkImpl, () => ({ + __proto__: dart.getMethods(_StreamSinkImpl.__proto__), + add: dart.fnType(dart.void, [dart.nullable(core.Object)]), + addError: dart.fnType(dart.void, [core.Object], [dart.nullable(core.StackTrace)]), + addStream: dart.fnType(async.Future, [dart.nullable(core.Object)]), + flush: dart.fnType(async.Future, []), + close: dart.fnType(async.Future, []), + [_closeTarget$]: dart.fnType(dart.void, []), + [_completeDoneValue$]: dart.fnType(dart.void, [dart.dynamic]), + [_completeDoneError$]: dart.fnType(dart.void, [core.Object, core.StackTrace]) + })); + dart.setGetterSignature(_StreamSinkImpl, () => ({ + __proto__: dart.getGetters(_StreamSinkImpl.__proto__), + done: async.Future, + [_controller$0]: async.StreamController$(T) + })); + dart.setLibraryUri(_StreamSinkImpl, I[177]); + dart.setFieldSignature(_StreamSinkImpl, () => ({ + __proto__: dart.getFields(_StreamSinkImpl.__proto__), + [_target$2]: dart.finalFieldType(async.StreamConsumer$(T)), + [_doneCompleter$]: dart.finalFieldType(async.Completer$(dart.void)), + [_controllerInstance$]: dart.fieldType(dart.nullable(async.StreamController$(T))), + [_controllerCompleter$]: dart.fieldType(dart.nullable(async.Completer)), + [_isClosed$0]: dart.fieldType(core.bool), + [_isBound$]: dart.fieldType(core.bool), + [_hasError$0]: dart.fieldType(core.bool) + })); + return _StreamSinkImpl; +}); +_http._StreamSinkImpl = _http._StreamSinkImpl$(); +dart.addTypeTests(_http._StreamSinkImpl, _is__StreamSinkImpl_default$); +var _profileData$0 = dart.privateName(_http, "_IOSinkImpl._profileData"); +var _encodingMutable$ = dart.privateName(_http, "_encodingMutable"); +var _encoding$0 = dart.privateName(_http, "_encoding"); +var __IOSink_encoding_isSet$ = dart.privateName(_http, "_#IOSink#encoding#isSet"); +var __IOSink_encoding$ = dart.privateName(_http, "_#IOSink#encoding"); +var __IOSink_encoding_isSet_ = dart.privateName(_http, "_#IOSink#encoding#isSet="); +var __IOSink_encoding_ = dart.privateName(_http, "_#IOSink#encoding="); +_http._IOSinkImpl = class _IOSinkImpl extends _http._StreamSinkImpl$(core.List$(core.int)) { + get [_profileData$]() { + return this[_profileData$0]; + } + set [_profileData$](value) { + super[_profileData$] = value; + } + get encoding() { + return this[_encoding$0]; + } + set encoding(value) { + if (value == null) dart.nullFailed(I[181], 1034, 30, "value"); + if (!dart.test(this[_encodingMutable$])) { + dart.throw(new core.StateError.new("IOSink encoding is not mutable")); + } + this[_encoding$0] = value; + } + write(obj) { + let t296; + let string = dart.str(obj); + if (string[$isEmpty]) return; + t296 = this[_profileData$]; + t296 == null ? null : t296.appendRequestData(_native_typed_data.NativeUint8List.fromList(convert.utf8.encode(string))); + super.add(this[_encoding$0].encode(string)); + } + writeAll(objects, separator = "") { + if (objects == null) dart.nullFailed(I[181], 1052, 26, "objects"); + if (separator == null) dart.nullFailed(I[181], 1052, 43, "separator"); + let iterator = objects[$iterator]; + if (!dart.test(iterator.moveNext())) return; + if (separator[$isEmpty]) { + do { + this.write(iterator.current); + } while (dart.test(iterator.moveNext())); + } else { + this.write(iterator.current); + while (dart.test(iterator.moveNext())) { + this.write(separator); + this.write(iterator.current); + } + } + } + writeln(object = "") { + this.write(object); + this.write("\n"); + } + writeCharCode(charCode) { + if (charCode == null) dart.nullFailed(I[181], 1073, 26, "charCode"); + this.write(core.String.fromCharCode(charCode)); + } + get [__IOSink_encoding_isSet]() { + return this[$noSuchMethod](new core._Invocation.getter(C[467] || CT.C467)); + } + get [__IOSink_encoding]() { + return T$0.EncodingN().as(this[$noSuchMethod](new core._Invocation.getter(C[468] || CT.C468))); + } + set [__IOSink_encoding_isSet](value) { + return this[$noSuchMethod](new core._Invocation.setter(C[469] || CT.C469, value)); + } + set [__IOSink_encoding](value) { + return this[$noSuchMethod](new core._Invocation.setter(C[470] || CT.C470, value)); + } +}; +(_http._IOSinkImpl.new = function(target, _encoding, _profileData) { + if (target == null) dart.nullFailed(I[181], 1029, 33, "target"); + if (_encoding == null) dart.nullFailed(I[181], 1029, 46, "_encoding"); + this[_encodingMutable$] = true; + this[_encoding$0] = _encoding; + this[_profileData$0] = _profileData; + _http._IOSinkImpl.__proto__.new.call(this, target); + ; +}).prototype = _http._IOSinkImpl.prototype; +dart.addTypeTests(_http._IOSinkImpl); +dart.addTypeCaches(_http._IOSinkImpl); +_http._IOSinkImpl[dart.implements] = () => [io.IOSink]; +dart.setMethodSignature(_http._IOSinkImpl, () => ({ + __proto__: dart.getMethods(_http._IOSinkImpl.__proto__), + write: dart.fnType(dart.void, [dart.nullable(core.Object)]), + writeAll: dart.fnType(dart.void, [core.Iterable], [core.String]), + writeln: dart.fnType(dart.void, [], [dart.nullable(core.Object)]), + writeCharCode: dart.fnType(dart.void, [core.int]) +})); +dart.setGetterSignature(_http._IOSinkImpl, () => ({ + __proto__: dart.getGetters(_http._IOSinkImpl.__proto__), + encoding: convert.Encoding, + [__IOSink_encoding_isSet]: dart.dynamic, + [__IOSink_encoding]: dart.nullable(convert.Encoding) +})); +dart.setSetterSignature(_http._IOSinkImpl, () => ({ + __proto__: dart.getSetters(_http._IOSinkImpl.__proto__), + encoding: convert.Encoding, + [__IOSink_encoding_isSet]: dart.dynamic, + [__IOSink_encoding]: dart.nullable(convert.Encoding) +})); +dart.setLibraryUri(_http._IOSinkImpl, I[177]); +dart.setFieldSignature(_http._IOSinkImpl, () => ({ + __proto__: dart.getFields(_http._IOSinkImpl.__proto__), + [_encoding$0]: dart.fieldType(convert.Encoding), + [_encodingMutable$]: dart.fieldType(core.bool), + [_profileData$]: dart.finalFieldType(dart.nullable(_http._HttpProfileData)) +})); +var _encodingSet = dart.privateName(_http, "_encodingSet"); +var _bufferOutput = dart.privateName(_http, "_bufferOutput"); +var _uri = dart.privateName(_http, "_uri"); +var _outgoing = dart.privateName(_http, "_outgoing"); +var _isConnectionClosed = dart.privateName(_http, "_isConnectionClosed"); +const _is__HttpOutboundMessage_default = Symbol('_is__HttpOutboundMessage_default'); +_http._HttpOutboundMessage$ = dart.generic(T => { + class _HttpOutboundMessage extends _http._IOSinkImpl { + get contentLength() { + return this.headers.contentLength; + } + set contentLength(contentLength) { + if (contentLength == null) dart.nullFailed(I[181], 1106, 30, "contentLength"); + this.headers.contentLength = contentLength; + } + get persistentConnection() { + return this.headers.persistentConnection; + } + set persistentConnection(p) { + if (p == null) dart.nullFailed(I[181], 1111, 38, "p"); + this.headers.persistentConnection = p; + } + get bufferOutput() { + return this[_bufferOutput]; + } + set bufferOutput(bufferOutput) { + if (bufferOutput == null) dart.nullFailed(I[181], 1116, 30, "bufferOutput"); + if (dart.test(this[_outgoing].headersWritten)) dart.throw(new core.StateError.new("Header already sent")); + this[_bufferOutput] = bufferOutput; + } + get encoding() { + let t296; + if (dart.test(this[_encodingSet]) && dart.test(this[_outgoing].headersWritten)) { + return this[_encoding$0]; + } + let charset = null; + let contentType = this.headers.contentType; + if (contentType != null && contentType.charset != null) { + charset = dart.nullCheck(contentType.charset); + } else { + charset = "iso-8859-1"; + } + t296 = convert.Encoding.getByName(charset); + return t296 == null ? convert.latin1 : t296; + } + set encoding(value) { + super.encoding = value; + } + add(data) { + let t296; + T$0.ListOfint().as(data); + if (data == null) dart.nullFailed(I[181], 1135, 22, "data"); + if (data[$length] === 0) return; + t296 = this[_profileData$]; + t296 == null ? null : t296.appendRequestData(_native_typed_data.NativeUint8List.fromList(data)); + super.add(data); + } + addStream(s) { + T$0.StreamOfListOfint().as(s); + if (s == null) dart.nullFailed(I[181], 1141, 38, "s"); + if (this[_profileData$] == null) { + return super.addStream(s); + } + return super.addStream(s.map(T$0.ListOfint(), dart.fn(data => { + let t296; + if (data == null) dart.nullFailed(I[181], 1145, 35, "data"); + t296 = this[_profileData$]; + t296 == null ? null : t296.appendRequestData(_native_typed_data.NativeUint8List.fromList(data)); + return data; + }, T$0.ListOfintToListOfint()))); + } + write(obj) { + if (!dart.test(this[_encodingSet])) { + this[_encoding$0] = this.encoding; + this[_encodingSet] = true; + } + super.write(obj); + } + get [_isConnectionClosed]() { + return false; + } + } + (_HttpOutboundMessage.new = function(uri, protocolVersion, outgoing, profileData, opts) { + if (uri == null) dart.nullFailed(I[181], 1090, 28, "uri"); + if (protocolVersion == null) dart.nullFailed(I[181], 1090, 40, "protocolVersion"); + if (outgoing == null) dart.nullFailed(I[181], 1090, 71, "outgoing"); + let initialHeaders = opts && 'initialHeaders' in opts ? opts.initialHeaders : null; + this[_encodingSet] = false; + this[_bufferOutput] = true; + this[_uri] = uri; + this.headers = new _http._HttpHeaders.new(protocolVersion, {defaultPortForScheme: uri.scheme === "https" ? 443 : 80, initialHeaders: initialHeaders}); + this[_outgoing] = outgoing; + _HttpOutboundMessage.__proto__.new.call(this, outgoing, convert.latin1, profileData); + this[_outgoing].outbound = this; + this[_encodingMutable$] = false; + }).prototype = _HttpOutboundMessage.prototype; + dart.addTypeTests(_HttpOutboundMessage); + _HttpOutboundMessage.prototype[_is__HttpOutboundMessage_default] = true; + dart.addTypeCaches(_HttpOutboundMessage); + dart.setGetterSignature(_HttpOutboundMessage, () => ({ + __proto__: dart.getGetters(_HttpOutboundMessage.__proto__), + contentLength: core.int, + persistentConnection: core.bool, + bufferOutput: core.bool, + [_isConnectionClosed]: core.bool + })); + dart.setSetterSignature(_HttpOutboundMessage, () => ({ + __proto__: dart.getSetters(_HttpOutboundMessage.__proto__), + contentLength: core.int, + persistentConnection: core.bool, + bufferOutput: core.bool + })); + dart.setLibraryUri(_HttpOutboundMessage, I[177]); + dart.setFieldSignature(_HttpOutboundMessage, () => ({ + __proto__: dart.getFields(_HttpOutboundMessage.__proto__), + [_encodingSet]: dart.fieldType(core.bool), + [_bufferOutput]: dart.fieldType(core.bool), + [_uri]: dart.finalFieldType(core.Uri), + [_outgoing]: dart.finalFieldType(_http._HttpOutgoing), + headers: dart.finalFieldType(_http._HttpHeaders) + })); + return _HttpOutboundMessage; +}); +_http._HttpOutboundMessage = _http._HttpOutboundMessage$(); +dart.addTypeTests(_http._HttpOutboundMessage, _is__HttpOutboundMessage_default); +var _statusCode = dart.privateName(_http, "_statusCode"); +var _reasonPhrase = dart.privateName(_http, "_reasonPhrase"); +var _deadline = dart.privateName(_http, "_deadline"); +var _deadlineTimer = dart.privateName(_http, "_deadlineTimer"); +var _isClosing = dart.privateName(_http, "_isClosing"); +var _findReasonPhrase = dart.privateName(_http, "_findReasonPhrase"); +var _isNew = dart.privateName(_http, "_isNew"); +var _writeHeader = dart.privateName(_http, "_writeHeader"); +_http._HttpResponse = class _HttpResponse extends _http._HttpOutboundMessage$(_http.HttpResponse) { + get [_isConnectionClosed]() { + return dart.nullCheck(this[_httpRequest$])[_httpConnection$][_isClosing]; + } + get cookies() { + let t296; + t296 = this[_cookies]; + return t296 == null ? this[_cookies] = T$0.JSArrayOfCookie().of([]) : t296; + } + get statusCode() { + return this[_statusCode]; + } + set statusCode(statusCode) { + if (statusCode == null) dart.nullFailed(I[181], 1187, 27, "statusCode"); + if (dart.test(this[_outgoing].headersWritten)) dart.throw(new core.StateError.new("Header already sent")); + this[_statusCode] = statusCode; + } + get reasonPhrase() { + return this[_findReasonPhrase](this.statusCode); + } + set reasonPhrase(reasonPhrase) { + if (reasonPhrase == null) dart.nullFailed(I[181], 1193, 32, "reasonPhrase"); + if (dart.test(this[_outgoing].headersWritten)) dart.throw(new core.StateError.new("Header already sent")); + this[_reasonPhrase] = reasonPhrase; + } + redirect(location, opts) { + if (location == null) dart.nullFailed(I[181], 1198, 23, "location"); + let status = opts && 'status' in opts ? opts.status : 302; + if (status == null) dart.nullFailed(I[181], 1198, 38, "status"); + if (dart.test(this[_outgoing].headersWritten)) dart.throw(new core.StateError.new("Header already sent")); + this.statusCode = status; + this.headers.set("location", dart.toString(location)); + return this.close(); + } + detachSocket(opts) { + let writeHeaders = opts && 'writeHeaders' in opts ? opts.writeHeaders : true; + if (writeHeaders == null) dart.nullFailed(I[181], 1205, 37, "writeHeaders"); + if (dart.test(this[_outgoing].headersWritten)) dart.throw(new core.StateError.new("Headers already sent")); + this.deadline = null; + let future = dart.nullCheck(this[_httpRequest$])[_httpConnection$].detachSocket(); + if (dart.test(writeHeaders)) { + let headersFuture = this[_outgoing].writeHeaders({drainRequest: false, setOutgoing: false}); + if (!(headersFuture == null)) dart.assertFailed(null, I[181], 1212, 14, "headersFuture == null"); + } else { + this[_outgoing].headersWritten = true; + } + this.close(); + this.done.catchError(dart.fn(_ => { + }, T$.dynamicToNull())); + return future; + } + get connectionInfo() { + return dart.nullCheck(this[_httpRequest$]).connectionInfo; + } + get deadline() { + return this[_deadline]; + } + set deadline(d) { + let t296; + t296 = this[_deadlineTimer]; + t296 == null ? null : t296.cancel(); + this[_deadline] = d; + if (d == null) return; + this[_deadlineTimer] = async.Timer.new(d, dart.fn(() => { + dart.nullCheck(this[_httpRequest$])[_httpConnection$].destroy(); + }, T$.VoidTovoid())); + } + [_writeHeader]() { + let t296, t296$, t296$0; + let buffer = new _http._CopyingBytesBuilder.new(8192); + if (this.headers.protocolVersion === "1.1") { + buffer.add(_http._Const.HTTP11); + } else { + buffer.add(_http._Const.HTTP10); + } + buffer.addByte(32); + buffer.add(dart.toString(this.statusCode)[$codeUnits]); + buffer.addByte(32); + buffer.add(this.reasonPhrase[$codeUnits]); + buffer.addByte(13); + buffer.addByte(10); + let session = dart.nullCheck(this[_httpRequest$])[_session]; + if (session != null && !dart.test(session[_destroyed])) { + session[_isNew] = false; + let found = false; + for (let i = 0; i < dart.notNull(this.cookies[$length]); i = i + 1) { + if (this.cookies[$_get](i).name[$toUpperCase]() === "DARTSESSID") { + t296 = this.cookies[$_get](i); + (() => { + t296.value = session.id; + t296.httpOnly = true; + t296.path = "/"; + return t296; + })(); + found = true; + } + } + if (!found) { + let cookie = _http.Cookie.new("DARTSESSID", session.id); + this.cookies[$add]((t296$ = cookie, (() => { + t296$.httpOnly = true; + t296$.path = "/"; + return t296$; + })())); + } + } + t296$0 = this[_cookies]; + t296$0 == null ? null : t296$0[$forEach](dart.fn(cookie => { + if (cookie == null) dart.nullFailed(I[181], 1279, 24, "cookie"); + this.headers.add("set-cookie", cookie); + }, T$0.CookieTovoid())); + this.headers[_finalize](); + this.headers[_build](buffer); + buffer.addByte(13); + buffer.addByte(10); + let headerBytes = buffer.takeBytes(); + this[_outgoing].setHeader(headerBytes, headerBytes[$length]); + } + [_findReasonPhrase](statusCode) { + if (statusCode == null) dart.nullFailed(I[181], 1293, 32, "statusCode"); + let reasonPhrase = this[_reasonPhrase]; + if (reasonPhrase != null) { + return reasonPhrase; + } + switch (statusCode) { + case 100: + { + return "Continue"; + } + case 101: + { + return "Switching Protocols"; + } + case 200: + { + return "OK"; + } + case 201: + { + return "Created"; + } + case 202: + { + return "Accepted"; + } + case 203: + { + return "Non-Authoritative Information"; + } + case 204: + { + return "No Content"; + } + case 205: + { + return "Reset Content"; + } + case 206: + { + return "Partial Content"; + } + case 300: + { + return "Multiple Choices"; + } + case 301: + { + return "Moved Permanently"; + } + case 302: + { + return "Found"; + } + case 303: + { + return "See Other"; + } + case 304: + { + return "Not Modified"; + } + case 305: + { + return "Use Proxy"; + } + case 307: + { + return "Temporary Redirect"; + } + case 400: + { + return "Bad Request"; + } + case 401: + { + return "Unauthorized"; + } + case 402: + { + return "Payment Required"; + } + case 403: + { + return "Forbidden"; + } + case 404: + { + return "Not Found"; + } + case 405: + { + return "Method Not Allowed"; + } + case 406: + { + return "Not Acceptable"; + } + case 407: + { + return "Proxy Authentication Required"; + } + case 408: + { + return "Request Time-out"; + } + case 409: + { + return "Conflict"; + } + case 410: + { + return "Gone"; + } + case 411: + { + return "Length Required"; + } + case 412: + { + return "Precondition Failed"; + } + case 413: + { + return "Request Entity Too Large"; + } + case 414: + { + return "Request-URI Too Long"; + } + case 415: + { + return "Unsupported Media Type"; + } + case 416: + { + return "Requested range not satisfiable"; + } + case 417: + { + return "Expectation Failed"; + } + case 500: + { + return "Internal Server Error"; + } + case 501: + { + return "Not Implemented"; + } + case 502: + { + return "Bad Gateway"; + } + case 503: + { + return "Service Unavailable"; + } + case 504: + { + return "Gateway Time-out"; + } + case 505: + { + return "Http Version not supported"; + } + default: + { + return "Status " + dart.str(statusCode); + } + } + } +}; +(_http._HttpResponse.new = function(uri, protocolVersion, outgoing, defaultHeaders, serverHeader) { + if (uri == null) dart.nullFailed(I[181], 1173, 21, "uri"); + if (protocolVersion == null) dart.nullFailed(I[181], 1173, 33, "protocolVersion"); + if (outgoing == null) dart.nullFailed(I[181], 1173, 64, "outgoing"); + if (defaultHeaders == null) dart.nullFailed(I[181], 1174, 19, "defaultHeaders"); + this[_statusCode] = 200; + this[_reasonPhrase] = null; + this[_cookies] = null; + this[_httpRequest$] = null; + this[_deadline] = null; + this[_deadlineTimer] = null; + _http._HttpResponse.__proto__.new.call(this, uri, protocolVersion, outgoing, null, {initialHeaders: _http._HttpHeaders.as(defaultHeaders)}); + if (serverHeader != null) { + this.headers.set("server", serverHeader); + } +}).prototype = _http._HttpResponse.prototype; +dart.addTypeTests(_http._HttpResponse); +dart.addTypeCaches(_http._HttpResponse); +_http._HttpResponse[dart.implements] = () => [_http.HttpResponse]; +dart.setMethodSignature(_http._HttpResponse, () => ({ + __proto__: dart.getMethods(_http._HttpResponse.__proto__), + redirect: dart.fnType(async.Future, [core.Uri], {status: core.int}, {}), + detachSocket: dart.fnType(async.Future$(io.Socket), [], {writeHeaders: core.bool}, {}), + [_writeHeader]: dart.fnType(dart.void, []), + [_findReasonPhrase]: dart.fnType(core.String, [core.int]) +})); +dart.setGetterSignature(_http._HttpResponse, () => ({ + __proto__: dart.getGetters(_http._HttpResponse.__proto__), + cookies: core.List$(_http.Cookie), + statusCode: core.int, + reasonPhrase: core.String, + connectionInfo: dart.nullable(_http.HttpConnectionInfo), + deadline: dart.nullable(core.Duration) +})); +dart.setSetterSignature(_http._HttpResponse, () => ({ + __proto__: dart.getSetters(_http._HttpResponse.__proto__), + statusCode: core.int, + reasonPhrase: core.String, + deadline: dart.nullable(core.Duration) +})); +dart.setLibraryUri(_http._HttpResponse, I[177]); +dart.setFieldSignature(_http._HttpResponse, () => ({ + __proto__: dart.getFields(_http._HttpResponse.__proto__), + [_statusCode]: dart.fieldType(core.int), + [_reasonPhrase]: dart.fieldType(dart.nullable(core.String)), + [_cookies]: dart.fieldType(dart.nullable(core.List$(_http.Cookie))), + [_httpRequest$]: dart.fieldType(dart.nullable(_http._HttpRequest)), + [_deadline]: dart.fieldType(dart.nullable(core.Duration)), + [_deadlineTimer]: dart.fieldType(dart.nullable(async.Timer)) +})); +var _profileData$1 = dart.privateName(_http, "_HttpClientRequest._profileData"); +var _responseCompleter = dart.privateName(_http, "_responseCompleter"); +var _response = dart.privateName(_http, "_response"); +var _followRedirects = dart.privateName(_http, "_followRedirects"); +var _maxRedirects = dart.privateName(_http, "_maxRedirects"); +var _aborted = dart.privateName(_http, "_aborted"); +var _onIncoming = dart.privateName(_http, "_onIncoming"); +var _onError$ = dart.privateName(_http, "_onError"); +var _proxyTunnel$ = dart.privateName(_http, "_proxyTunnel"); +var _requestUri = dart.privateName(_http, "_requestUri"); +_http._HttpClientRequest = class _HttpClientRequest extends _http._HttpOutboundMessage$(_http.HttpClientResponse) { + get [_profileData$]() { + return this[_profileData$1]; + } + set [_profileData$](value) { + super[_profileData$] = value; + } + get done() { + let t296; + t296 = this[_response]; + return t296 == null ? this[_response] = async.Future.wait(dart.dynamic, T$0.JSArrayOfFuture().of([this[_responseCompleter].future, super.done]), {eagerError: true}).then(_http.HttpClientResponse, dart.fn(list => { + if (list == null) dart.nullFailed(I[181], 1445, 18, "list"); + return T$0.FutureOrOfHttpClientResponse().as(list[$_get](0)); + }, T$0.ListToFutureOrOfHttpClientResponse())) : t296; + } + close() { + if (!dart.test(this[_aborted])) { + super.close(); + } + return this.done; + } + get maxRedirects() { + return this[_maxRedirects]; + } + set maxRedirects(maxRedirects) { + if (maxRedirects == null) dart.nullFailed(I[181], 1456, 29, "maxRedirects"); + if (dart.test(this[_outgoing].headersWritten)) dart.throw(new core.StateError.new("Request already sent")); + this[_maxRedirects] = maxRedirects; + } + get followRedirects() { + return this[_followRedirects]; + } + set followRedirects(followRedirects) { + if (followRedirects == null) dart.nullFailed(I[181], 1462, 33, "followRedirects"); + if (dart.test(this[_outgoing].headersWritten)) dart.throw(new core.StateError.new("Request already sent")); + this[_followRedirects] = followRedirects; + } + get connectionInfo() { + return this[_httpClientConnection$].connectionInfo; + } + [_onIncoming](incoming) { + if (incoming == null) dart.nullFailed(I[181], 1470, 34, "incoming"); + if (dart.test(this[_aborted])) { + return; + } + let response = new _http._HttpClientResponse.new(incoming, this, this[_httpClient$], this[_profileData$]); + let future = null; + if (dart.test(this.followRedirects) && dart.test(response.isRedirect)) { + if (dart.notNull(response.redirects[$length]) < dart.notNull(this.maxRedirects)) { + future = response.drain(dart.dynamic).then(_http.HttpClientResponse, dart.fn(_ => response.redirect(), T$0.dynamicToFutureOfHttpClientResponse())); + } else { + future = response.drain(dart.dynamic).then(_http.HttpClientResponse, dart.fn(_ => T$0.FutureOfHttpClientResponse().error(new _http.RedirectException.new("Redirect limit exceeded", response.redirects)), T$0.dynamicToFutureOfHttpClientResponse())); + } + } else if (dart.test(response[_shouldAuthenticateProxy])) { + future = response[_authenticate](true); + } else if (dart.test(response[_shouldAuthenticate])) { + future = response[_authenticate](false); + } else { + future = T$0.FutureOfHttpClientResponse().value(response); + } + future.then(core.Null, dart.fn(v => { + if (v == null) dart.nullFailed(I[181], 1497, 18, "v"); + if (!dart.test(this[_responseCompleter].isCompleted)) { + this[_responseCompleter].complete(v); + } + }, T$0.HttpClientResponseToNull()), {onError: dart.fn((e, s) => { + if (!dart.test(this[_responseCompleter].isCompleted)) { + this[_responseCompleter].completeError(core.Object.as(e), T$.StackTraceN().as(s)); + } + }, T$.dynamicAnddynamicToNull())}); + } + [_onError$](error, stackTrace) { + if (stackTrace == null) dart.nullFailed(I[181], 1508, 35, "stackTrace"); + if (!dart.test(this[_responseCompleter].isCompleted)) { + this[_responseCompleter].completeError(core.Object.as(error), stackTrace); + } + } + [_requestUri]() { + const uriStartingFromPath = () => { + let result = this.uri.path; + if (result[$isEmpty]) result = "/"; + if (dart.test(this.uri.hasQuery)) { + result = dart.str(result) + "?" + dart.str(this.uri.query); + } + return result; + }; + dart.fn(uriStartingFromPath, T$.VoidToString()); + if (dart.test(this[_proxy$].isDirect)) { + return uriStartingFromPath(); + } else { + if (this.method === "CONNECT") { + return dart.str(this.uri.host) + ":" + dart.str(this.uri.port); + } else { + if (dart.test(this[_httpClientConnection$][_proxyTunnel$])) { + return uriStartingFromPath(); + } else { + return dart.toString(this.uri.removeFragment()); + } + } + } + } + add(data) { + T$0.ListOfint().as(data); + if (data == null) dart.nullFailed(I[181], 1544, 22, "data"); + if (data[$length] === 0 || dart.test(this[_aborted])) return; + super.add(data); + } + write(obj) { + if (dart.test(this[_aborted])) return; + super.write(obj); + } + [_writeHeader]() { + let t296; + if (dart.test(this[_aborted])) { + this[_outgoing].setHeader(_native_typed_data.NativeUint8List.new(0), 0); + return; + } + let buffer = new _http._CopyingBytesBuilder.new(8192); + buffer.add(this.method[$codeUnits]); + buffer.addByte(32); + buffer.add(this[_requestUri]()[$codeUnits]); + buffer.addByte(32); + buffer.add(_http._Const.HTTP11); + buffer.addByte(13); + buffer.addByte(10); + if (!dart.test(this.cookies[$isEmpty])) { + let sb = new core.StringBuffer.new(); + for (let i = 0; i < dart.notNull(this.cookies[$length]); i = i + 1) { + if (i > 0) sb.write("; "); + t296 = sb; + (() => { + t296.write(this.cookies[$_get](i).name); + t296.write("="); + t296.write(this.cookies[$_get](i).value); + return t296; + })(); + } + this.headers.add("cookie", sb.toString()); + } + this.headers[_finalize](); + this.headers[_build](buffer); + buffer.addByte(13); + buffer.addByte(10); + let headerBytes = buffer.takeBytes(); + this[_outgoing].setHeader(headerBytes, headerBytes[$length]); + } + abort(exception = null, stackTrace = null) { + this[_aborted] = true; + if (!dart.test(this[_responseCompleter].isCompleted)) { + exception == null ? exception = new _http.HttpException.new("Request has been aborted") : null; + this[_responseCompleter].completeError(exception, stackTrace); + this[_httpClientConnection$].destroy(); + } + } +}; +(_http._HttpClientRequest.new = function(outgoing, uri, method, _proxy, _httpClient, _httpClientConnection, _profileData) { + let t296, t296$; + if (outgoing == null) dart.nullFailed(I[181], 1414, 19, "outgoing"); + if (uri == null) dart.nullFailed(I[181], 1415, 9, "uri"); + if (method == null) dart.nullFailed(I[181], 1416, 10, "method"); + if (_proxy == null) dart.nullFailed(I[181], 1417, 10, "_proxy"); + if (_httpClient == null) dart.nullFailed(I[181], 1418, 10, "_httpClient"); + if (_httpClientConnection == null) dart.nullFailed(I[181], 1419, 10, "_httpClientConnection"); + this.cookies = T$0.JSArrayOfCookie().of([]); + this[_responseCompleter] = T$0.CompleterOfHttpClientResponse().new(); + this[_response] = null; + this[_followRedirects] = true; + this[_maxRedirects] = 5; + this[_responseRedirects] = T$0.JSArrayOfRedirectInfo().of([]); + this[_aborted] = false; + this.method = method; + this[_proxy$] = _proxy; + this[_httpClient$] = _httpClient; + this[_httpClientConnection$] = _httpClientConnection; + this[_profileData$1] = _profileData; + this.uri = uri; + _http._HttpClientRequest.__proto__.new.call(this, uri, "1.1", outgoing, _profileData); + t296 = this[_profileData$]; + t296 == null ? null : t296.requestEvent("Request sent"); + if (this.method === "GET" || this.method === "HEAD") { + this.contentLength = 0; + } else { + this.headers.chunkedTransferEncoding = true; + } + t296$ = this[_profileData$]; + t296$ == null ? null : t296$.finishRequest({request: this}); + this[_responseCompleter].future.then(core.Null, dart.fn(response => { + let t296, t296$; + if (response == null) dart.nullFailed(I[181], 1433, 37, "response"); + t296 = this[_profileData$]; + t296 == null ? null : t296.requestEvent("Waiting (TTFB)"); + t296$ = this[_profileData$]; + t296$ == null ? null : t296$.startResponse({response: response}); + }, T$0.HttpClientResponseToNull()), {onError: dart.fn(e => { + }, T$.dynamicToNull())}); +}).prototype = _http._HttpClientRequest.prototype; +dart.addTypeTests(_http._HttpClientRequest); +dart.addTypeCaches(_http._HttpClientRequest); +_http._HttpClientRequest[dart.implements] = () => [_http.HttpClientRequest]; +dart.setMethodSignature(_http._HttpClientRequest, () => ({ + __proto__: dart.getMethods(_http._HttpClientRequest.__proto__), + close: dart.fnType(async.Future$(_http.HttpClientResponse), []), + [_onIncoming]: dart.fnType(dart.void, [_http._HttpIncoming]), + [_onError$]: dart.fnType(dart.void, [dart.dynamic, core.StackTrace]), + [_requestUri]: dart.fnType(core.String, []), + [_writeHeader]: dart.fnType(dart.void, []), + abort: dart.fnType(dart.void, [], [dart.nullable(core.Object), dart.nullable(core.StackTrace)]) +})); +dart.setGetterSignature(_http._HttpClientRequest, () => ({ + __proto__: dart.getGetters(_http._HttpClientRequest.__proto__), + done: async.Future$(_http.HttpClientResponse), + maxRedirects: core.int, + followRedirects: core.bool, + connectionInfo: dart.nullable(_http.HttpConnectionInfo) +})); +dart.setSetterSignature(_http._HttpClientRequest, () => ({ + __proto__: dart.getSetters(_http._HttpClientRequest.__proto__), + maxRedirects: core.int, + followRedirects: core.bool +})); +dart.setLibraryUri(_http._HttpClientRequest, I[177]); +dart.setFieldSignature(_http._HttpClientRequest, () => ({ + __proto__: dart.getFields(_http._HttpClientRequest.__proto__), + method: dart.finalFieldType(core.String), + uri: dart.finalFieldType(core.Uri), + cookies: dart.finalFieldType(core.List$(_http.Cookie)), + [_httpClient$]: dart.finalFieldType(_http._HttpClient), + [_httpClientConnection$]: dart.finalFieldType(_http._HttpClientConnection), + [_profileData$]: dart.finalFieldType(dart.nullable(_http._HttpProfileData)), + [_responseCompleter]: dart.finalFieldType(async.Completer$(_http.HttpClientResponse)), + [_proxy$]: dart.finalFieldType(_http._Proxy), + [_response]: dart.fieldType(dart.nullable(async.Future$(_http.HttpClientResponse))), + [_followRedirects]: dart.fieldType(core.bool), + [_maxRedirects]: dart.fieldType(core.int), + [_responseRedirects]: dart.fieldType(core.List$(_http.RedirectInfo)), + [_aborted]: dart.fieldType(core.bool) +})); +var _consume$ = dart.privateName(_http, "_consume"); +_http._HttpGZipSink = class _HttpGZipSink extends convert.ByteConversionSink { + add(chunk) { + let t296; + T$0.ListOfint().as(chunk); + if (chunk == null) dart.nullFailed(I[181], 1608, 22, "chunk"); + t296 = chunk; + this[_consume$](t296); + } + addSlice(chunk, start, end, isLast) { + let t296, t296$; + if (chunk == null) dart.nullFailed(I[181], 1612, 27, "chunk"); + if (start == null) dart.nullFailed(I[181], 1612, 38, "start"); + if (end == null) dart.nullFailed(I[181], 1612, 49, "end"); + if (isLast == null) dart.nullFailed(I[181], 1612, 59, "isLast"); + if (typed_data.Uint8List.is(chunk)) { + t296 = typed_data.Uint8List.view(chunk[$buffer], dart.notNull(chunk[$offsetInBytes]) + dart.notNull(start), dart.notNull(end) - dart.notNull(start)); + this[_consume$](t296); + } else { + t296$ = chunk[$sublist](start, dart.notNull(end) - dart.notNull(start)); + this[_consume$](t296$); + } + } + close() { + } +}; +(_http._HttpGZipSink.new = function(_consume) { + if (_consume == null) dart.nullFailed(I[181], 1606, 22, "_consume"); + this[_consume$] = _consume; + _http._HttpGZipSink.__proto__.new.call(this); + ; +}).prototype = _http._HttpGZipSink.prototype; +dart.addTypeTests(_http._HttpGZipSink); +dart.addTypeCaches(_http._HttpGZipSink); +dart.setMethodSignature(_http._HttpGZipSink, () => ({ + __proto__: dart.getMethods(_http._HttpGZipSink.__proto__), + add: dart.fnType(dart.void, [dart.nullable(core.Object)]), + addSlice: dart.fnType(dart.void, [core.List$(core.int), core.int, core.int, core.bool]), + close: dart.fnType(dart.void, []) +})); +dart.setLibraryUri(_http._HttpGZipSink, I[177]); +dart.setFieldSignature(_http._HttpGZipSink, () => ({ + __proto__: dart.getFields(_http._HttpGZipSink.__proto__), + [_consume$]: dart.finalFieldType(dart.fnType(dart.void, [core.List$(core.int)])) +})); +var _closeFuture = dart.privateName(_http, "_closeFuture"); +var _pendingChunkedFooter = dart.privateName(_http, "_pendingChunkedFooter"); +var _bytesWritten = dart.privateName(_http, "_bytesWritten"); +var _gzip = dart.privateName(_http, "_gzip"); +var _gzipSink = dart.privateName(_http, "_gzipSink"); +var _gzipAdd = dart.privateName(_http, "_gzipAdd"); +var _gzipBuffer = dart.privateName(_http, "_gzipBuffer"); +var _gzipBufferLength = dart.privateName(_http, "_gzipBufferLength"); +var _socketError = dart.privateName(_http, "_socketError"); +var _addGZipChunk = dart.privateName(_http, "_addGZipChunk"); +var _chunkHeader = dart.privateName(_http, "_chunkHeader"); +var _addChunk$ = dart.privateName(_http, "_addChunk"); +var _ignoreError = dart.privateName(_http, "_ignoreError"); +_http._HttpOutgoing = class _HttpOutgoing extends core.Object { + writeHeaders(opts) { + let drainRequest = opts && 'drainRequest' in opts ? opts.drainRequest : true; + if (drainRequest == null) dart.nullFailed(I[181], 1685, 13, "drainRequest"); + let setOutgoing = opts && 'setOutgoing' in opts ? opts.setOutgoing : true; + if (setOutgoing == null) dart.nullFailed(I[181], 1685, 39, "setOutgoing"); + if (dart.test(this.headersWritten)) return null; + this.headersWritten = true; + let drainFuture = null; + let gzip = false; + let response = dart.nullCheck(this.outbound); + if (_http._HttpResponse.is(response)) { + if (dart.test(dart.nullCheck(response[_httpRequest$])[_httpServer$].autoCompress) && dart.test(response.bufferOutput) && dart.test(response.headers.chunkedTransferEncoding)) { + let acceptEncodings = dart.nullCheck(response[_httpRequest$]).headers._get("accept-encoding"); + let contentEncoding = response.headers._get("content-encoding"); + if (acceptEncodings != null && contentEncoding == null && dart.test(acceptEncodings[$expand](core.String, dart.fn(list => { + if (list == null) dart.nullFailed(I[181], 1703, 26, "list"); + return list[$split](","); + }, T$0.StringToListOfString()))[$any](dart.fn(encoding => { + if (encoding == null) dart.nullFailed(I[181], 1704, 23, "encoding"); + return encoding[$trim]()[$toLowerCase]() === "gzip"; + }, T$.StringTobool())))) { + response.headers.set("content-encoding", "gzip"); + gzip = true; + } + } + if (dart.test(drainRequest) && !dart.test(dart.nullCheck(response[_httpRequest$])[_incoming$].hasSubscriber)) { + drainFuture = dart.nullCheck(response[_httpRequest$]).drain(dart.void).catchError(dart.fn(_ => { + }, T$.dynamicToNull())); + } + } else { + drainRequest = false; + } + if (!dart.test(this.ignoreBody)) { + if (dart.test(setOutgoing)) { + let contentLength = response.headers.contentLength; + if (dart.test(response.headers.chunkedTransferEncoding)) { + this.chunked = true; + if (gzip) this.gzip = true; + } else if (dart.notNull(contentLength) >= 0) { + this.contentLength = contentLength; + } + } + if (drainFuture != null) { + return drainFuture.then(dart.void, dart.fn(_ => response[_writeHeader](), T$0.voidTovoid())); + } + } + response[_writeHeader](); + return null; + } + addStream(stream) { + T$0.StreamOfListOfint().as(stream); + if (stream == null) dart.nullFailed(I[181], 1733, 38, "stream"); + if (dart.test(this[_socketError])) { + stream.listen(null).cancel(); + return async.Future.value(this.outbound); + } + if (dart.test(this.ignoreBody)) { + stream.drain(dart.dynamic).catchError(dart.fn(_ => { + }, T$.dynamicToNull())); + let future = this.writeHeaders(); + if (future != null) { + return future.then(dart.dynamic, dart.fn(_ => this.close(), T$0.voidToFuture())); + } + return this.close(); + } + let controller = T$0.StreamControllerOfListOfint().new({sync: true}); + const onData = data => { + if (data == null) dart.nullFailed(I[181], 1751, 27, "data"); + if (dart.test(this[_socketError])) return; + if (data[$length] === 0) return; + if (dart.test(this.chunked)) { + if (dart.test(this[_gzip])) { + this[_gzipAdd] = dart.bind(controller, 'add'); + this[_addGZipChunk](data, dart.bind(dart.nullCheck(this[_gzipSink]), 'add')); + this[_gzipAdd] = null; + return; + } + this[_addChunk$](this[_chunkHeader](data[$length]), dart.bind(controller, 'add')); + this[_pendingChunkedFooter] = 2; + } else { + let contentLength = this.contentLength; + if (contentLength != null) { + this[_bytesWritten] = dart.notNull(this[_bytesWritten]) + dart.notNull(data[$length]); + if (dart.notNull(this[_bytesWritten]) > dart.notNull(contentLength)) { + controller.addError(new _http.HttpException.new("Content size exceeds specified contentLength. " + dart.str(this[_bytesWritten]) + " bytes written while expected " + dart.str(contentLength) + ". " + "[" + dart.str(core.String.fromCharCodes(data)) + "]")); + return; + } + } + } + this[_addChunk$](data, dart.bind(controller, 'add')); + }; + dart.fn(onData, T$0.ListOfintTovoid()); + let sub = stream.listen(onData, {onError: dart.bind(controller, 'addError'), onDone: dart.bind(controller, 'close'), cancelOnError: true}); + controller.onPause = dart.bind(sub, 'pause'); + controller.onResume = dart.bind(sub, 'resume'); + if (!dart.test(this.headersWritten)) { + let future = this.writeHeaders(); + if (future != null) { + sub.pause(future); + } + } + return this.socket.addStream(controller.stream).then(dart.dynamic, dart.fn(_ => this.outbound, T$0.dynamicTo_HttpOutboundMessageN()), {onError: dart.fn((error, stackTrace) => { + if (dart.test(this[_gzip])) dart.nullCheck(this[_gzipSink]).close(); + this[_socketError] = true; + this[_doneCompleter$].completeError(core.Object.as(error), T$.StackTraceN().as(stackTrace)); + if (dart.test(this[_ignoreError](error))) { + return this.outbound; + } else { + dart.throw(error); + } + }, T$0.dynamicAnddynamicTo_HttpOutboundMessageN())}); + } + close() { + let closeFuture = this[_closeFuture]; + if (closeFuture != null) return closeFuture; + let outbound = dart.nullCheck(this.outbound); + if (dart.test(this[_socketError])) return async.Future.value(outbound); + if (dart.test(outbound[_isConnectionClosed])) return async.Future.value(outbound); + if (!dart.test(this.headersWritten) && !dart.test(this.ignoreBody)) { + if (outbound.headers.contentLength === -1) { + outbound.headers.chunkedTransferEncoding = false; + outbound.headers.contentLength = 0; + } else if (dart.notNull(outbound.headers.contentLength) > 0) { + let error = new _http.HttpException.new("No content even though contentLength was specified to be " + "greater than 0: " + dart.str(outbound.headers.contentLength) + ".", {uri: outbound[_uri]}); + this[_doneCompleter$].completeError(error); + return this[_closeFuture] = async.Future.error(error); + } + } + let contentLength = this.contentLength; + if (contentLength != null) { + if (dart.notNull(this[_bytesWritten]) < dart.notNull(contentLength)) { + let error = new _http.HttpException.new("Content size below specified contentLength. " + " " + dart.str(this[_bytesWritten]) + " bytes written but expected " + dart.str(contentLength) + ".", {uri: outbound[_uri]}); + this[_doneCompleter$].completeError(error); + return this[_closeFuture] = async.Future.error(error); + } + } + const finalize = () => { + if (dart.test(this.chunked)) { + if (dart.test(this[_gzip])) { + this[_gzipAdd] = dart.bind(this.socket, 'add'); + if (dart.notNull(this[_gzipBufferLength]) > 0) { + dart.nullCheck(this[_gzipSink]).add(typed_data.Uint8List.view(dart.nullCheck(this[_gzipBuffer])[$buffer], dart.nullCheck(this[_gzipBuffer])[$offsetInBytes], this[_gzipBufferLength])); + } + this[_gzipBuffer] = null; + dart.nullCheck(this[_gzipSink]).close(); + this[_gzipAdd] = null; + } + this[_addChunk$](this[_chunkHeader](0), dart.bind(this.socket, 'add')); + } + if (dart.notNull(this[_length$1]) > 0) { + this.socket.add(typed_data.Uint8List.view(dart.nullCheck(this[_buffer$1])[$buffer], dart.nullCheck(this[_buffer$1])[$offsetInBytes], this[_length$1])); + } + this[_buffer$1] = null; + return this.socket.flush().then(dart.dynamic, dart.fn(_ => { + this[_doneCompleter$].complete(this.socket); + return outbound; + }, T$0.dynamicTo_HttpOutboundMessage()), {onError: dart.fn((error, stackTrace) => { + this[_doneCompleter$].completeError(core.Object.as(error), T$.StackTraceN().as(stackTrace)); + if (dart.test(this[_ignoreError](error))) { + return outbound; + } else { + dart.throw(error); + } + }, T.dynamicAnddynamicTo_HttpOutboundMessage())}); + }; + dart.fn(finalize, T$0.VoidToFuture()); + let future = this.writeHeaders(); + if (future != null) { + return this[_closeFuture] = future.whenComplete(finalize); + } + return this[_closeFuture] = finalize(); + } + get done() { + return this[_doneCompleter$].future; + } + setHeader(data, length) { + if (data == null) dart.nullFailed(I[181], 1898, 28, "data"); + if (length == null) dart.nullFailed(I[181], 1898, 38, "length"); + if (!(this[_length$1] === 0)) dart.assertFailed(null, I[181], 1899, 12, "_length == 0"); + this[_buffer$1] = typed_data.Uint8List.as(data); + this[_length$1] = length; + } + set gzip(value) { + if (value == null) dart.nullFailed(I[181], 1904, 22, "value"); + this[_gzip] = value; + if (dart.test(value)) { + this[_gzipBuffer] = _native_typed_data.NativeUint8List.new(8192); + if (!(this[_gzipSink] == null)) dart.assertFailed(null, I[181], 1908, 14, "_gzipSink == null"); + this[_gzipSink] = new io.ZLibEncoder.new({gzip: true}).startChunkedConversion(new _http._HttpGZipSink.new(dart.fn(data => { + if (data == null) dart.nullFailed(I[181], 1910, 54, "data"); + if (this[_gzipAdd] == null) return; + this[_addChunk$](this[_chunkHeader](data[$length]), dart.nullCheck(this[_gzipAdd])); + this[_pendingChunkedFooter] = 2; + this[_addChunk$](data, dart.nullCheck(this[_gzipAdd])); + }, T$0.ListOfintTovoid()))); + } + } + [_ignoreError](error) { + return (io.SocketException.is(error) || io.TlsException.is(error)) && _http.HttpResponse.is(this.outbound); + } + [_addGZipChunk](chunk, add) { + if (chunk == null) dart.nullFailed(I[181], 1924, 32, "chunk"); + if (add == null) dart.nullFailed(I[181], 1924, 44, "add"); + let bufferOutput = dart.nullCheck(this.outbound).bufferOutput; + if (!dart.test(bufferOutput)) { + add(chunk); + return; + } + let gzipBuffer = dart.nullCheck(this[_gzipBuffer]); + if (dart.notNull(chunk[$length]) > dart.notNull(gzipBuffer[$length]) - dart.notNull(this[_gzipBufferLength])) { + add(typed_data.Uint8List.view(gzipBuffer[$buffer], gzipBuffer[$offsetInBytes], this[_gzipBufferLength])); + this[_gzipBuffer] = _native_typed_data.NativeUint8List.new(8192); + this[_gzipBufferLength] = 0; + } + if (dart.notNull(chunk[$length]) > 8192) { + add(chunk); + } else { + let currentLength = this[_gzipBufferLength]; + let newLength = dart.notNull(currentLength) + dart.notNull(chunk[$length]); + dart.nullCheck(this[_gzipBuffer])[$setRange](currentLength, newLength, chunk); + this[_gzipBufferLength] = newLength; + } + } + [_addChunk$](chunk, add) { + if (chunk == null) dart.nullFailed(I[181], 1947, 28, "chunk"); + if (add == null) dart.nullFailed(I[181], 1947, 40, "add"); + let bufferOutput = dart.nullCheck(this.outbound).bufferOutput; + if (!dart.test(bufferOutput)) { + if (this[_buffer$1] != null) { + add(typed_data.Uint8List.view(dart.nullCheck(this[_buffer$1])[$buffer], dart.nullCheck(this[_buffer$1])[$offsetInBytes], this[_length$1])); + this[_buffer$1] = null; + this[_length$1] = 0; + } + add(chunk); + return; + } + if (dart.notNull(chunk[$length]) > dart.notNull(dart.nullCheck(this[_buffer$1])[$length]) - dart.notNull(this[_length$1])) { + add(typed_data.Uint8List.view(dart.nullCheck(this[_buffer$1])[$buffer], dart.nullCheck(this[_buffer$1])[$offsetInBytes], this[_length$1])); + this[_buffer$1] = _native_typed_data.NativeUint8List.new(8192); + this[_length$1] = 0; + } + if (dart.notNull(chunk[$length]) > 8192) { + add(chunk); + } else { + dart.nullCheck(this[_buffer$1])[$setRange](this[_length$1], dart.notNull(this[_length$1]) + dart.notNull(chunk[$length]), chunk); + this[_length$1] = dart.notNull(this[_length$1]) + dart.notNull(chunk[$length]); + } + } + [_chunkHeader](length) { + if (length == null) dart.nullFailed(I[181], 1974, 30, "length"); + let hexDigits = C[471] || CT.C471; + if (length === 0) { + if (this[_pendingChunkedFooter] === 2) return _http._HttpOutgoing._footerAndChunk0Length; + return _http._HttpOutgoing._chunk0Length; + } + let size = this[_pendingChunkedFooter]; + let len = length; + while (dart.notNull(len) > 0) { + size = dart.notNull(size) + 1; + len = len[$rightShift](4); + } + let footerAndHeader = _native_typed_data.NativeUint8List.new(dart.notNull(size) + 2); + if (this[_pendingChunkedFooter] === 2) { + footerAndHeader[$_set](0, 13); + footerAndHeader[$_set](1, 10); + } + let index = size; + while (dart.notNull(index) > dart.notNull(this[_pendingChunkedFooter])) { + footerAndHeader[$_set](index = dart.notNull(index) - 1, hexDigits[$_get](dart.notNull(length) & 15)); + length = length[$rightShift](4); + } + footerAndHeader[$_set](dart.notNull(size) + 0, 13); + footerAndHeader[$_set](dart.notNull(size) + 1, 10); + return footerAndHeader; + } +}; +(_http._HttpOutgoing.new = function(socket) { + if (socket == null) dart.nullFailed(I[181], 1680, 22, "socket"); + this[_doneCompleter$] = T$0.CompleterOfSocket().new(); + this.ignoreBody = false; + this.headersWritten = false; + this[_buffer$1] = null; + this[_length$1] = 0; + this[_closeFuture] = null; + this.chunked = false; + this[_pendingChunkedFooter] = 0; + this.contentLength = null; + this[_bytesWritten] = 0; + this[_gzip] = false; + this[_gzipSink] = null; + this[_gzipAdd] = null; + this[_gzipBuffer] = null; + this[_gzipBufferLength] = 0; + this[_socketError] = false; + this.outbound = null; + this.socket = socket; + ; +}).prototype = _http._HttpOutgoing.prototype; +dart.addTypeTests(_http._HttpOutgoing); +dart.addTypeCaches(_http._HttpOutgoing); +_http._HttpOutgoing[dart.implements] = () => [async.StreamConsumer$(core.List$(core.int))]; +dart.setMethodSignature(_http._HttpOutgoing, () => ({ + __proto__: dart.getMethods(_http._HttpOutgoing.__proto__), + writeHeaders: dart.fnType(dart.nullable(async.Future$(dart.void)), [], {drainRequest: core.bool, setOutgoing: core.bool}, {}), + addStream: dart.fnType(async.Future, [dart.nullable(core.Object)]), + close: dart.fnType(async.Future, []), + setHeader: dart.fnType(dart.void, [core.List$(core.int), core.int]), + [_ignoreError]: dart.fnType(core.bool, [dart.dynamic]), + [_addGZipChunk]: dart.fnType(dart.void, [core.List$(core.int), dart.fnType(dart.void, [core.List$(core.int)])]), + [_addChunk$]: dart.fnType(dart.void, [core.List$(core.int), dart.fnType(dart.void, [core.List$(core.int)])]), + [_chunkHeader]: dart.fnType(core.List$(core.int), [core.int]) +})); +dart.setGetterSignature(_http._HttpOutgoing, () => ({ + __proto__: dart.getGetters(_http._HttpOutgoing.__proto__), + done: async.Future$(io.Socket) +})); +dart.setSetterSignature(_http._HttpOutgoing, () => ({ + __proto__: dart.getSetters(_http._HttpOutgoing.__proto__), + gzip: core.bool +})); +dart.setLibraryUri(_http._HttpOutgoing, I[177]); +dart.setFieldSignature(_http._HttpOutgoing, () => ({ + __proto__: dart.getFields(_http._HttpOutgoing.__proto__), + [_doneCompleter$]: dart.finalFieldType(async.Completer$(io.Socket)), + socket: dart.finalFieldType(io.Socket), + ignoreBody: dart.fieldType(core.bool), + headersWritten: dart.fieldType(core.bool), + [_buffer$1]: dart.fieldType(dart.nullable(typed_data.Uint8List)), + [_length$1]: dart.fieldType(core.int), + [_closeFuture]: dart.fieldType(dart.nullable(async.Future)), + chunked: dart.fieldType(core.bool), + [_pendingChunkedFooter]: dart.fieldType(core.int), + contentLength: dart.fieldType(dart.nullable(core.int)), + [_bytesWritten]: dart.fieldType(core.int), + [_gzip]: dart.fieldType(core.bool), + [_gzipSink]: dart.fieldType(dart.nullable(convert.ByteConversionSink)), + [_gzipAdd]: dart.fieldType(dart.nullable(dart.fnType(dart.void, [core.List$(core.int)]))), + [_gzipBuffer]: dart.fieldType(dart.nullable(typed_data.Uint8List)), + [_gzipBufferLength]: dart.fieldType(core.int), + [_socketError]: dart.fieldType(core.bool), + outbound: dart.fieldType(dart.nullable(_http._HttpOutboundMessage)) +})); +dart.defineLazy(_http._HttpOutgoing, { + /*_http._HttpOutgoing._footerAndChunk0Length*/get _footerAndChunk0Length() { + return C[472] || CT.C472; + }, + /*_http._HttpOutgoing._chunk0Length*/get _chunk0Length() { + return C[473] || CT.C473; + } +}, false); +var _subscription$0 = dart.privateName(_http, "_subscription"); +var _dispose = dart.privateName(_http, "_dispose"); +var _idleTimer = dart.privateName(_http, "_idleTimer"); +var _currentUri = dart.privateName(_http, "_currentUri"); +var _nextResponseCompleter = dart.privateName(_http, "_nextResponseCompleter"); +var _streamFuture = dart.privateName(_http, "_streamFuture"); +var _context$0 = dart.privateName(_http, "_context"); +var _httpParser = dart.privateName(_http, "_httpParser"); +var _proxyCredentials = dart.privateName(_http, "_proxyCredentials"); +var _returnConnection = dart.privateName(_http, "_returnConnection"); +var _connectionClosedNoFurtherClosing = dart.privateName(_http, "_connectionClosedNoFurtherClosing"); +_http._HttpClientConnection = class _HttpClientConnection extends core.Object { + send(uri, port, method, proxy, profileData) { + let t296; + if (uri == null) dart.nullFailed(I[181], 2083, 31, "uri"); + if (port == null) dart.nullFailed(I[181], 2083, 40, "port"); + if (method == null) dart.nullFailed(I[181], 2083, 53, "method"); + if (proxy == null) dart.nullFailed(I[181], 2083, 68, "proxy"); + if (dart.test(this.closed)) { + dart.throw(new _http.HttpException.new("Socket closed before request was sent", {uri: uri})); + } + this[_currentUri] = uri; + dart.nullCheck(this[_subscription$0]).pause(); + if (method === "CONNECT") { + this[_httpParser].connectMethod = true; + } + let proxyCreds = null; + let creds = null; + let outgoing = new _http._HttpOutgoing.new(this[_socket$0]); + let request = new _http._HttpClientRequest.new(outgoing, uri, method, proxy, this[_httpClient$], this, profileData); + let host = uri.host; + if (host[$contains](":")) host = "[" + dart.str(host) + "]"; + t296 = request.headers; + (() => { + t296.host = host; + t296.port = port; + t296.add("accept-encoding", "gzip"); + return t296; + })(); + if (this[_httpClient$].userAgent != null) { + request.headers.add("user-agent", dart.nullCheck(this[_httpClient$].userAgent)); + } + if (dart.test(proxy.isAuthenticated)) { + let auth = _http._CryptoUtils.bytesToBase64(convert.utf8.encode(dart.str(proxy.username) + ":" + dart.str(proxy.password))); + request.headers.set("proxy-authorization", "Basic " + dart.str(auth)); + } else if (!dart.test(proxy.isDirect) && dart.notNull(this[_httpClient$][_proxyCredentials][$length]) > 0) { + proxyCreds = this[_httpClient$][_findProxyCredentials](proxy); + if (proxyCreds != null) { + proxyCreds.authorize(request); + } + } + if (uri.userInfo != null && !uri.userInfo[$isEmpty]) { + let auth = _http._CryptoUtils.bytesToBase64(convert.utf8.encode(uri.userInfo)); + request.headers.set("authorization", "Basic " + dart.str(auth)); + } else { + creds = this[_httpClient$][_findCredentials](uri); + if (creds != null) { + creds.authorize(request); + } + } + this[_httpParser].isHead = method === "HEAD"; + this[_streamFuture] = outgoing.done.then(io.Socket, dart.fn(s => { + if (s == null) dart.nullFailed(I[181], 2141, 56, "s"); + let nextResponseCompleter = T.CompleterOf_HttpIncoming().new(); + this[_nextResponseCompleter] = nextResponseCompleter; + nextResponseCompleter.future.then(core.Null, dart.fn(incoming => { + if (incoming == null) dart.nullFailed(I[181], 2147, 42, "incoming"); + this[_currentUri] = null; + incoming.dataDone.then(core.Null, dart.fn(closing => { + if (dart.test(incoming.upgraded)) { + this[_httpClient$][_connectionClosed](this); + this.startTimer(); + return; + } + if (dart.test(this.closed) || method === "CONNECT" && incoming.statusCode === 200) { + return; + } + if (!dart.dtest(closing) && !dart.test(this[_dispose]) && dart.test(incoming.headers.persistentConnection) && dart.test(request.persistentConnection)) { + this[_httpClient$][_returnConnection](this); + dart.nullCheck(this[_subscription$0]).resume(); + } else { + this.destroy(); + } + }, T$.dynamicToNull())); + if (proxyCreds != null && dart.equals(proxyCreds.scheme, _http._AuthenticationScheme.DIGEST)) { + let authInfo = incoming.headers._get("proxy-authentication-info"); + if (authInfo != null && authInfo[$length] === 1) { + let header = _http._HeaderValue.parse(authInfo[$_get](0), {parameterSeparator: ","}); + let nextnonce = header.parameters[$_get]("nextnonce"); + if (nextnonce != null) proxyCreds.nonce = nextnonce; + } + } + if (creds != null && dart.equals(creds.scheme, _http._AuthenticationScheme.DIGEST)) { + let authInfo = incoming.headers._get("authentication-info"); + if (authInfo != null && authInfo[$length] === 1) { + let header = _http._HeaderValue.parse(authInfo[$_get](0), {parameterSeparator: ","}); + let nextnonce = header.parameters[$_get]("nextnonce"); + if (nextnonce != null) creds.nonce = nextnonce; + } + } + request[_onIncoming](incoming); + }, T._HttpIncomingToNull())).catchError(dart.fn(error => { + dart.throw(new _http.HttpException.new("Connection closed before data was received", {uri: uri})); + }, T$0.dynamicToNever()), {test: dart.fn(error => { + if (error == null) dart.nullFailed(I[181], 2202, 17, "error"); + return core.StateError.is(error); + }, T$.ObjectTobool())}).catchError(dart.fn((error, stackTrace) => { + this.destroy(); + request[_onError$](error, core.StackTrace.as(stackTrace)); + }, T$.dynamicAnddynamicToNull())); + dart.nullCheck(this[_subscription$0]).resume(); + return s; + }, T.SocketToSocket())); + T.FutureOfSocketN().value(this[_streamFuture]).catchError(dart.fn(e => { + this.destroy(); + }, T$.dynamicToNull())); + return request; + } + detachSocket() { + return dart.nullCheck(this[_streamFuture]).then(io.Socket, dart.fn(_ => { + if (_ == null) dart.nullFailed(I[181], 2220, 10, "_"); + return new _http._DetachedSocket.new(this[_socket$0], this[_httpParser].detachIncoming()); + }, T.SocketTo_DetachedSocket())); + } + destroy() { + this.closed = true; + this[_httpClient$][_connectionClosed](this); + this[_socket$0].destroy(); + } + destroyFromExternal() { + this.closed = true; + this[_httpClient$][_connectionClosedNoFurtherClosing](this); + this[_socket$0].destroy(); + } + close() { + this.closed = true; + this[_httpClient$][_connectionClosed](this); + dart.nullCheck(this[_streamFuture]).timeout(this[_httpClient$].idleTimeout).then(dart.void, dart.fn(_ => { + if (_ == null) dart.nullFailed(I[181], 2240, 16, "_"); + return this[_socket$0].destroy(); + }, T.SocketTovoid())); + } + closeFromExternal() { + this.closed = true; + this[_httpClient$][_connectionClosedNoFurtherClosing](this); + dart.nullCheck(this[_streamFuture]).timeout(this[_httpClient$].idleTimeout).then(dart.void, dart.fn(_ => { + if (_ == null) dart.nullFailed(I[181], 2248, 16, "_"); + return this[_socket$0].destroy(); + }, T.SocketTovoid())); + } + createProxyTunnel(host, port, proxy, callback, profileData) { + let t296; + if (host == null) dart.nullFailed(I[181], 2252, 14, "host"); + if (port == null) dart.nullFailed(I[181], 2253, 11, "port"); + if (proxy == null) dart.nullFailed(I[181], 2254, 14, "proxy"); + if (callback == null) dart.nullFailed(I[181], 2255, 12, "callback"); + let method = "CONNECT"; + let uri = core._Uri.new({host: host, port: port}); + t296 = profileData; + t296 == null ? null : t296.proxyEvent(proxy); + let proxyProfileData = null; + if (profileData != null) { + proxyProfileData = _http.HttpProfiler.startRequest(method, uri, {parentRequest: profileData}); + } + let request = this.send(core._Uri.new({host: host, port: port}), port, method, proxy, proxyProfileData); + if (dart.test(proxy.isAuthenticated)) { + let auth = _http._CryptoUtils.bytesToBase64(convert.utf8.encode(dart.str(proxy.username) + ":" + dart.str(proxy.password))); + request.headers.set("proxy-authorization", "Basic " + dart.str(auth)); + } + return request.close().then(io.SecureSocket, dart.fn(response => { + let t296; + if (response == null) dart.nullFailed(I[181], 2280, 34, "response"); + if (response.statusCode !== 200) { + let error = "Proxy failed to establish tunnel " + "(" + dart.str(response.statusCode) + " " + dart.str(response.reasonPhrase) + ")"; + t296 = profileData; + t296 == null ? null : t296.requestEvent(error); + dart.throw(new _http.HttpException.new(error, {uri: request.uri})); + } + let socket = _http._HttpClientResponse.as(response)[_httpRequest$][_httpClientConnection$][_socket$0]; + return io.SecureSocket.secure(socket, {host: host, context: this[_context$0], onBadCertificate: callback}); + }, T.HttpClientResponseToFutureOfSecureSocket())).then(_http._HttpClientConnection, dart.fn(secureSocket => { + let t296; + if (secureSocket == null) dart.nullFailed(I[181], 2293, 14, "secureSocket"); + let key = core.String.as(_http._HttpClientConnection.makeKey(true, host, port)); + t296 = profileData; + t296 == null ? null : t296.requestEvent("Proxy tunnel established"); + return new _http._HttpClientConnection.new(key, secureSocket, request[_httpClient$], true); + }, T.SecureSocketTo_HttpClientConnection())); + } + get connectionInfo() { + return _http._HttpConnectionInfo.create(this[_socket$0]); + } + static makeKey(isSecure, host, port) { + if (isSecure == null) dart.nullFailed(I[181], 2303, 23, "isSecure"); + if (host == null) dart.nullFailed(I[181], 2303, 40, "host"); + if (port == null) dart.nullFailed(I[181], 2303, 50, "port"); + return dart.test(isSecure) ? "ssh:" + dart.str(host) + ":" + dart.str(port) : dart.str(host) + ":" + dart.str(port); + } + stopTimer() { + let t296; + t296 = this[_idleTimer]; + t296 == null ? null : t296.cancel(); + this[_idleTimer] = null; + } + startTimer() { + if (!(this[_idleTimer] == null)) dart.assertFailed(null, I[181], 2313, 12, "_idleTimer == null"); + this[_idleTimer] = async.Timer.new(this[_httpClient$].idleTimeout, dart.fn(() => { + this[_idleTimer] = null; + this.close(); + }, T$.VoidTovoid())); + } +}; +(_http._HttpClientConnection.new = function(key, _socket, _httpClient, _proxyTunnel = false, _context = null) { + if (key == null) dart.nullFailed(I[181], 2036, 30, "key"); + if (_socket == null) dart.nullFailed(I[181], 2036, 40, "_socket"); + if (_httpClient == null) dart.nullFailed(I[181], 2036, 54, "_httpClient"); + if (_proxyTunnel == null) dart.nullFailed(I[181], 2037, 13, "_proxyTunnel"); + this[_subscription$0] = null; + this[_dispose] = false; + this[_idleTimer] = null; + this.closed = false; + this[_currentUri] = null; + this[_nextResponseCompleter] = null; + this[_streamFuture] = null; + this.key = key; + this[_socket$0] = _socket; + this[_httpClient$] = _httpClient; + this[_proxyTunnel$] = _proxyTunnel; + this[_context$0] = _context; + this[_httpParser] = _http._HttpParser.responseParser(); + this[_httpParser].listenToStream(this[_socket$0]); + this[_subscription$0] = this[_httpParser].listen(dart.fn(incoming => { + if (incoming == null) dart.nullFailed(I[181], 2043, 41, "incoming"); + dart.nullCheck(this[_subscription$0]).pause(); + if (this[_nextResponseCompleter] == null) { + dart.throw(new _http.HttpException.new("Unexpected response (unsolicited response without request).", {uri: this[_currentUri]})); + } + if (incoming.statusCode === 100) { + incoming.drain(dart.dynamic).then(core.Null, dart.fn(_ => { + dart.nullCheck(this[_subscription$0]).resume(); + }, T$.dynamicToNull())).catchError(dart.fn((error, stackTrace) => { + if (stackTrace == null) dart.nullFailed(I[181], 2061, 50, "stackTrace"); + dart.nullCheck(this[_nextResponseCompleter]).completeError(new _http.HttpException.new(core.String.as(dart.dload(error, 'message')), {uri: this[_currentUri]}), stackTrace); + this[_nextResponseCompleter] = null; + }, T.dynamicAndStackTraceToNull())); + } else { + dart.nullCheck(this[_nextResponseCompleter]).complete(incoming); + this[_nextResponseCompleter] = null; + } + }, T._HttpIncomingTovoid()), {onError: dart.fn((error, stackTrace) => { + let t296; + if (stackTrace == null) dart.nullFailed(I[181], 2070, 44, "stackTrace"); + t296 = this[_nextResponseCompleter]; + t296 == null ? null : t296.completeError(new _http.HttpException.new(core.String.as(dart.dload(error, 'message')), {uri: this[_currentUri]}), stackTrace); + this[_nextResponseCompleter] = null; + }, T.dynamicAndStackTraceToNull()), onDone: dart.fn(() => { + let t296; + t296 = this[_nextResponseCompleter]; + t296 == null ? null : t296.completeError(new _http.HttpException.new("Connection closed before response was received", {uri: this[_currentUri]})); + this[_nextResponseCompleter] = null; + this.close(); + }, T$.VoidTovoid())}); +}).prototype = _http._HttpClientConnection.prototype; +dart.addTypeTests(_http._HttpClientConnection); +dart.addTypeCaches(_http._HttpClientConnection); +dart.setMethodSignature(_http._HttpClientConnection, () => ({ + __proto__: dart.getMethods(_http._HttpClientConnection.__proto__), + send: dart.fnType(_http._HttpClientRequest, [core.Uri, core.int, core.String, _http._Proxy, dart.nullable(_http._HttpProfileData)]), + detachSocket: dart.fnType(async.Future$(io.Socket), []), + destroy: dart.fnType(dart.void, []), + destroyFromExternal: dart.fnType(dart.void, []), + close: dart.fnType(dart.void, []), + closeFromExternal: dart.fnType(dart.void, []), + createProxyTunnel: dart.fnType(async.Future$(_http._HttpClientConnection), [core.String, core.int, _http._Proxy, dart.fnType(core.bool, [io.X509Certificate]), dart.nullable(_http._HttpProfileData)]), + stopTimer: dart.fnType(dart.void, []), + startTimer: dart.fnType(dart.void, []) +})); +dart.setGetterSignature(_http._HttpClientConnection, () => ({ + __proto__: dart.getGetters(_http._HttpClientConnection.__proto__), + connectionInfo: dart.nullable(_http.HttpConnectionInfo) +})); +dart.setLibraryUri(_http._HttpClientConnection, I[177]); +dart.setFieldSignature(_http._HttpClientConnection, () => ({ + __proto__: dart.getFields(_http._HttpClientConnection.__proto__), + key: dart.finalFieldType(core.String), + [_socket$0]: dart.finalFieldType(io.Socket), + [_proxyTunnel$]: dart.finalFieldType(core.bool), + [_context$0]: dart.finalFieldType(dart.nullable(io.SecurityContext)), + [_httpParser]: dart.finalFieldType(_http._HttpParser), + [_subscription$0]: dart.fieldType(dart.nullable(async.StreamSubscription)), + [_httpClient$]: dart.finalFieldType(_http._HttpClient), + [_dispose]: dart.fieldType(core.bool), + [_idleTimer]: dart.fieldType(dart.nullable(async.Timer)), + closed: dart.fieldType(core.bool), + [_currentUri]: dart.fieldType(dart.nullable(core.Uri)), + [_nextResponseCompleter]: dart.fieldType(dart.nullable(async.Completer$(_http._HttpIncoming))), + [_streamFuture]: dart.fieldType(dart.nullable(async.Future$(io.Socket))) +})); +_http._ConnectionInfo = class _ConnectionInfo extends core.Object {}; +(_http._ConnectionInfo.new = function(connection, proxy) { + if (connection == null) dart.nullFailed(I[181], 2325, 24, "connection"); + if (proxy == null) dart.nullFailed(I[181], 2325, 41, "proxy"); + this.connection = connection; + this.proxy = proxy; + ; +}).prototype = _http._ConnectionInfo.prototype; +dart.addTypeTests(_http._ConnectionInfo); +dart.addTypeCaches(_http._ConnectionInfo); +dart.setLibraryUri(_http._ConnectionInfo, I[177]); +dart.setFieldSignature(_http._ConnectionInfo, () => ({ + __proto__: dart.getFields(_http._ConnectionInfo.__proto__), + connection: dart.finalFieldType(_http._HttpClientConnection), + proxy: dart.finalFieldType(_http._Proxy) +})); +var _idle = dart.privateName(_http, "_idle"); +var _active = dart.privateName(_http, "_active"); +var _socketTasks = dart.privateName(_http, "_socketTasks"); +var _pending = dart.privateName(_http, "_pending"); +var _connecting = dart.privateName(_http, "_connecting"); +var _checkPending = dart.privateName(_http, "_checkPending"); +var _connectionsChanged = dart.privateName(_http, "_connectionsChanged"); +var _badCertificateCallback = dart.privateName(_http, "_badCertificateCallback"); +var _getConnectionTarget = dart.privateName(_http, "_getConnectionTarget"); +_http._ConnectionTarget = class _ConnectionTarget extends core.Object { + get isEmpty() { + return dart.test(this[_idle][$isEmpty]) && dart.test(this[_active][$isEmpty]) && this[_connecting] === 0; + } + get hasIdle() { + return this[_idle][$isNotEmpty]; + } + get hasActive() { + return dart.test(this[_active][$isNotEmpty]) || dart.notNull(this[_connecting]) > 0; + } + takeIdle() { + if (!dart.test(this.hasIdle)) dart.assertFailed(null, I[181], 2351, 12, "hasIdle"); + let connection = this[_idle][$first]; + this[_idle].remove(connection); + connection.stopTimer(); + this[_active].add(connection); + return connection; + } + [_checkPending]() { + if (dart.test(this[_pending][$isNotEmpty])) { + dart.dcall(this[_pending].removeFirst(), []); + } + } + addNewActive(connection) { + if (connection == null) dart.nullFailed(I[181], 2365, 43, "connection"); + this[_active].add(connection); + } + returnConnection(connection) { + if (connection == null) dart.nullFailed(I[181], 2369, 47, "connection"); + if (!dart.test(this[_active].contains(connection))) dart.assertFailed(null, I[181], 2370, 12, "_active.contains(connection)"); + this[_active].remove(connection); + this[_idle].add(connection); + connection.startTimer(); + this[_checkPending](); + } + connectionClosed(connection) { + if (connection == null) dart.nullFailed(I[181], 2377, 47, "connection"); + if (!(!dart.test(this[_active].contains(connection)) || !dart.test(this[_idle].contains(connection)))) dart.assertFailed(null, I[181], 2378, 12, "!_active.contains(connection) || !_idle.contains(connection)"); + this[_active].remove(connection); + this[_idle].remove(connection); + this[_checkPending](); + } + close(force) { + if (force == null) dart.nullFailed(I[181], 2384, 19, "force"); + for (let t of this[_socketTasks][$toList]()) { + t.socket.then(core.Null, dart.fn(s => { + dart.dsend(s, 'destroy', []); + }, T$.dynamicToNull()), {onError: dart.fn(e => { + }, T$.dynamicToNull())}); + t.cancel(); + } + if (dart.test(force)) { + for (let c of this[_idle][$toList]()) { + c.destroyFromExternal(); + } + for (let c of this[_active][$toList]()) { + c.destroyFromExternal(); + } + } else { + for (let c of this[_idle][$toList]()) { + c.closeFromExternal(); + } + } + } + connect(uriHost, uriPort, proxy, client, profileData) { + if (uriHost == null) dart.nullFailed(I[181], 2407, 42, "uriHost"); + if (uriPort == null) dart.nullFailed(I[181], 2407, 55, "uriPort"); + if (proxy == null) dart.nullFailed(I[181], 2407, 71, "proxy"); + if (client == null) dart.nullFailed(I[181], 2408, 19, "client"); + if (dart.test(this.hasIdle)) { + let connection = this.takeIdle(); + client[_connectionsChanged](); + return T.FutureOf_ConnectionInfo().value(new _http._ConnectionInfo.new(connection, proxy)); + } + let maxConnectionsPerHost = client.maxConnectionsPerHost; + if (maxConnectionsPerHost != null && dart.notNull(this[_active][$length]) + dart.notNull(this[_connecting]) >= dart.notNull(maxConnectionsPerHost)) { + let completer = T.CompleterOf_ConnectionInfo().new(); + this[_pending].add(dart.fn(() => { + completer.complete(this.connect(uriHost, uriPort, proxy, client, profileData)); + }, T$.VoidToNull())); + return completer.future; + } + let currentBadCertificateCallback = client[_badCertificateCallback]; + function callback(certificate) { + if (certificate == null) dart.nullFailed(I[181], 2426, 35, "certificate"); + if (currentBadCertificateCallback == null) return false; + return currentBadCertificateCallback(certificate, uriHost, uriPort); + } + dart.fn(callback, T.X509CertificateTobool()); + let connectionTask = dart.test(this.isSecure) && dart.test(proxy.isDirect) ? io.SecureSocket.startConnect(this.host, this.port, {context: this.context, onBadCertificate: callback}) : io.Socket.startConnect(this.host, this.port); + this[_connecting] = dart.notNull(this[_connecting]) + 1; + return connectionTask.then(_http._ConnectionInfo, dart.fn(task => { + if (task == null) dart.nullFailed(I[181], 2436, 48, "task"); + this[_socketTasks].add(task); + let socketFuture = task.socket; + let connectionTimeout = client.connectionTimeout; + if (connectionTimeout != null) { + socketFuture = socketFuture.timeout(connectionTimeout); + } + return socketFuture.then(_http._ConnectionInfo, dart.fn(socket => { + this[_connecting] = dart.notNull(this[_connecting]) - 1; + dart.dsend(socket, 'setOption', [io.SocketOption.tcpNoDelay, true]); + let connection = new _http._HttpClientConnection.new(this.key, io.Socket.as(socket), client, false, this.context); + if (dart.test(this.isSecure) && !dart.test(proxy.isDirect)) { + connection[_dispose] = true; + return connection.createProxyTunnel(uriHost, uriPort, proxy, callback, profileData).then(_http._ConnectionInfo, dart.fn(tunnel => { + if (tunnel == null) dart.nullFailed(I[181], 2452, 22, "tunnel"); + client[_getConnectionTarget](uriHost, uriPort, true).addNewActive(tunnel); + this[_socketTasks].remove(task); + return new _http._ConnectionInfo.new(tunnel, proxy); + }, T._HttpClientConnectionTo_ConnectionInfo())); + } else { + this.addNewActive(connection); + this[_socketTasks].remove(task); + return new _http._ConnectionInfo.new(connection, proxy); + } + }, T.dynamicToFutureOrOf_ConnectionInfo()), {onError: dart.fn(error => { + if (async.TimeoutException.is(error)) { + if (!(connectionTimeout != null)) dart.assertFailed(null, I[181], 2471, 18, "connectionTimeout != null"); + this[_connecting] = dart.notNull(this[_connecting]) - 1; + this[_socketTasks].remove(task); + task.cancel(); + dart.throw(new io.SocketException.new("HTTP connection timed out after " + dart.str(connectionTimeout) + ", " + "host: " + dart.str(this.host) + ", port: " + dart.str(this.port))); + } + this[_socketTasks].remove(task); + this[_checkPending](); + dart.throw(error); + }, T$0.dynamicToNever())}); + }, T.ConnectionTaskToFutureOf_ConnectionInfo()), {onError: dart.fn(error => { + this[_connecting] = dart.notNull(this[_connecting]) - 1; + dart.throw(error); + }, T$0.dynamicToNever())}); + } +}; +(_http._ConnectionTarget.new = function(key, host, port, isSecure, context) { + if (key == null) dart.nullFailed(I[181], 2342, 12, "key"); + if (host == null) dart.nullFailed(I[181], 2342, 22, "host"); + if (port == null) dart.nullFailed(I[181], 2342, 33, "port"); + if (isSecure == null) dart.nullFailed(I[181], 2342, 44, "isSecure"); + this[_idle] = new (T._HashSetOf_HttpClientConnection()).new(); + this[_active] = new (T._HashSetOf_HttpClientConnection()).new(); + this[_socketTasks] = new (T._HashSetOfConnectionTask()).new(); + this[_pending] = new collection.ListQueue.new(); + this[_connecting] = 0; + this.key = key; + this.host = host; + this.port = port; + this.isSecure = isSecure; + this.context = context; + ; +}).prototype = _http._ConnectionTarget.prototype; +dart.addTypeTests(_http._ConnectionTarget); +dart.addTypeCaches(_http._ConnectionTarget); +dart.setMethodSignature(_http._ConnectionTarget, () => ({ + __proto__: dart.getMethods(_http._ConnectionTarget.__proto__), + takeIdle: dart.fnType(_http._HttpClientConnection, []), + [_checkPending]: dart.fnType(dart.dynamic, []), + addNewActive: dart.fnType(dart.void, [_http._HttpClientConnection]), + returnConnection: dart.fnType(dart.void, [_http._HttpClientConnection]), + connectionClosed: dart.fnType(dart.void, [_http._HttpClientConnection]), + close: dart.fnType(dart.void, [core.bool]), + connect: dart.fnType(async.Future$(_http._ConnectionInfo), [core.String, core.int, _http._Proxy, _http._HttpClient, dart.nullable(_http._HttpProfileData)]) +})); +dart.setGetterSignature(_http._ConnectionTarget, () => ({ + __proto__: dart.getGetters(_http._ConnectionTarget.__proto__), + isEmpty: core.bool, + hasIdle: core.bool, + hasActive: core.bool +})); +dart.setLibraryUri(_http._ConnectionTarget, I[177]); +dart.setFieldSignature(_http._ConnectionTarget, () => ({ + __proto__: dart.getFields(_http._ConnectionTarget.__proto__), + key: dart.finalFieldType(core.String), + host: dart.finalFieldType(core.String), + port: dart.finalFieldType(core.int), + isSecure: dart.finalFieldType(core.bool), + context: dart.finalFieldType(dart.nullable(io.SecurityContext)), + [_idle]: dart.finalFieldType(core.Set$(_http._HttpClientConnection)), + [_active]: dart.finalFieldType(core.Set$(_http._HttpClientConnection)), + [_socketTasks]: dart.finalFieldType(core.Set$(io.ConnectionTask)), + [_pending]: dart.finalFieldType(collection.Queue), + [_connecting]: dart.fieldType(core.int) +})); +var _closing = dart.privateName(_http, "_closing"); +var _closingForcefully = dart.privateName(_http, "_closingForcefully"); +var _connectionTargets = dart.privateName(_http, "_connectionTargets"); +var _credentials = dart.privateName(_http, "_credentials"); +var _findProxy = dart.privateName(_http, "_findProxy"); +var _idleTimeout = dart.privateName(_http, "_idleTimeout"); +var _openUrl = dart.privateName(_http, "_openUrl"); +var _closeConnections = dart.privateName(_http, "_closeConnections"); +var _Proxy_isDirect = dart.privateName(_http, "_Proxy.isDirect"); +var _Proxy_password = dart.privateName(_http, "_Proxy.password"); +var _Proxy_username = dart.privateName(_http, "_Proxy.username"); +var _Proxy_port = dart.privateName(_http, "_Proxy.port"); +var _Proxy_host = dart.privateName(_http, "_Proxy.host"); +var _ProxyConfiguration_proxies = dart.privateName(_http, "_ProxyConfiguration.proxies"); +var _getConnection = dart.privateName(_http, "_getConnection"); +_http._HttpClient = class _HttpClient extends core.Object { + get idleTimeout() { + return this[_idleTimeout]; + } + set idleTimeout(timeout) { + if (timeout == null) dart.nullFailed(I[181], 2518, 33, "timeout"); + this[_idleTimeout] = timeout; + for (let c of this[_connectionTargets][$values]) { + for (let idle of c[_idle]) { + idle.stopTimer(); + idle.startTimer(); + } + } + } + set badCertificateCallback(callback) { + this[_badCertificateCallback] = callback; + } + open(method, host, port, path) { + if (method == null) dart.nullFailed(I[181], 2535, 14, "method"); + if (host == null) dart.nullFailed(I[181], 2535, 29, "host"); + if (port == null) dart.nullFailed(I[181], 2535, 39, "port"); + if (path == null) dart.nullFailed(I[181], 2535, 52, "path"); + let fragmentStart = path.length; + let queryStart = path.length; + for (let i = path.length - 1; i >= 0; i = i - 1) { + let char = path[$codeUnitAt](i); + if (char === 35) { + fragmentStart = i; + queryStart = i; + } else if (char === 63) { + queryStart = i; + } + } + let query = null; + if (queryStart < fragmentStart) { + query = path[$substring](queryStart + 1, fragmentStart); + path = path[$substring](0, queryStart); + } + let uri = core._Uri.new({scheme: "http", host: host, port: port, path: path, query: query}); + return this[_openUrl](method, uri); + } + openUrl(method, url) { + if (method == null) dart.nullFailed(I[181], 2559, 44, "method"); + if (url == null) dart.nullFailed(I[181], 2559, 56, "url"); + return this[_openUrl](method, url); + } + get(host, port, path) { + if (host == null) dart.nullFailed(I[181], 2562, 40, "host"); + if (port == null) dart.nullFailed(I[181], 2562, 50, "port"); + if (path == null) dart.nullFailed(I[181], 2562, 63, "path"); + return this.open("get", host, port, path); + } + getUrl(url) { + if (url == null) dart.nullFailed(I[181], 2565, 40, "url"); + return this[_openUrl]("get", url); + } + post(host, port, path) { + if (host == null) dart.nullFailed(I[181], 2567, 41, "host"); + if (port == null) dart.nullFailed(I[181], 2567, 51, "port"); + if (path == null) dart.nullFailed(I[181], 2567, 64, "path"); + return this.open("post", host, port, path); + } + postUrl(url) { + if (url == null) dart.nullFailed(I[181], 2570, 41, "url"); + return this[_openUrl]("post", url); + } + put(host, port, path) { + if (host == null) dart.nullFailed(I[181], 2572, 40, "host"); + if (port == null) dart.nullFailed(I[181], 2572, 50, "port"); + if (path == null) dart.nullFailed(I[181], 2572, 63, "path"); + return this.open("put", host, port, path); + } + putUrl(url) { + if (url == null) dart.nullFailed(I[181], 2575, 40, "url"); + return this[_openUrl]("put", url); + } + delete(host, port, path) { + if (host == null) dart.nullFailed(I[181], 2577, 43, "host"); + if (port == null) dart.nullFailed(I[181], 2577, 53, "port"); + if (path == null) dart.nullFailed(I[181], 2577, 66, "path"); + return this.open("delete", host, port, path); + } + deleteUrl(url) { + if (url == null) dart.nullFailed(I[181], 2580, 43, "url"); + return this[_openUrl]("delete", url); + } + head(host, port, path) { + if (host == null) dart.nullFailed(I[181], 2582, 41, "host"); + if (port == null) dart.nullFailed(I[181], 2582, 51, "port"); + if (path == null) dart.nullFailed(I[181], 2582, 64, "path"); + return this.open("head", host, port, path); + } + headUrl(url) { + if (url == null) dart.nullFailed(I[181], 2585, 41, "url"); + return this[_openUrl]("head", url); + } + patch(host, port, path) { + if (host == null) dart.nullFailed(I[181], 2587, 42, "host"); + if (port == null) dart.nullFailed(I[181], 2587, 52, "port"); + if (path == null) dart.nullFailed(I[181], 2587, 65, "path"); + return this.open("patch", host, port, path); + } + patchUrl(url) { + if (url == null) dart.nullFailed(I[181], 2590, 42, "url"); + return this[_openUrl]("patch", url); + } + close(opts) { + let force = opts && 'force' in opts ? opts.force : false; + if (force == null) dart.nullFailed(I[181], 2592, 20, "force"); + this[_closing] = true; + this[_closingForcefully] = force; + this[_closeConnections](this[_closingForcefully]); + if (!!dart.test(this[_connectionTargets][$values][$any](dart.fn(s => { + if (s == null) dart.nullFailed(I[181], 2596, 44, "s"); + return s.hasIdle; + }, T._ConnectionTargetTobool())))) dart.assertFailed(null, I[181], 2596, 12, "!_connectionTargets.values.any((s) => s.hasIdle)"); + if (!(!dart.test(force) || !dart.test(this[_connectionTargets][$values][$any](dart.fn(s => { + if (s == null) dart.nullFailed(I[181], 2598, 51, "s"); + return s[_active][$isNotEmpty]; + }, T._ConnectionTargetTobool()))))) dart.assertFailed(null, I[181], 2598, 9, "!force || !_connectionTargets.values.any((s) => s._active.isNotEmpty)"); + } + set authenticate(f) { + this[_authenticate] = f; + } + addCredentials(url, realm, cr) { + if (url == null) dart.nullFailed(I[181], 2605, 27, "url"); + if (realm == null) dart.nullFailed(I[181], 2605, 39, "realm"); + if (cr == null) dart.nullFailed(I[181], 2605, 68, "cr"); + this[_credentials][$add](new _http._SiteCredentials.new(url, realm, _http._HttpClientCredentials.as(cr))); + } + set authenticateProxy(f) { + this[_authenticateProxy] = f; + } + addProxyCredentials(host, port, realm, cr) { + if (host == null) dart.nullFailed(I[181], 2616, 14, "host"); + if (port == null) dart.nullFailed(I[181], 2616, 24, "port"); + if (realm == null) dart.nullFailed(I[181], 2616, 37, "realm"); + if (cr == null) dart.nullFailed(I[181], 2616, 66, "cr"); + this[_proxyCredentials][$add](new _http._ProxyCredentials.new(host, port, realm, _http._HttpClientCredentials.as(cr))); + } + set findProxy(f) { + return this[_findProxy] = f; + } + [_openUrl](method, uri) { + if (method == null) dart.nullFailed(I[181], 2623, 46, "method"); + if (uri == null) dart.nullFailed(I[181], 2623, 58, "uri"); + if (dart.test(this[_closing])) { + dart.throw(new core.StateError.new("Client is closed")); + } + uri = uri.removeFragment(); + if (method == null) { + dart.throw(new core.ArgumentError.new(method)); + } + if (method !== "CONNECT") { + if (uri.host[$isEmpty]) { + dart.throw(new core.ArgumentError.new("No host specified in URI " + dart.str(uri))); + } else if (uri.scheme !== "http" && uri.scheme !== "https") { + dart.throw(new core.ArgumentError.new("Unsupported scheme '" + dart.str(uri.scheme) + "' in URI " + dart.str(uri))); + } + } + let isSecure = uri.isScheme("https"); + if (!dart.test(isSecure) && !dart.test(io.isInsecureConnectionAllowed(uri.host))) { + dart.throw(new core.StateError.new("Insecure HTTP is not allowed by platform: " + dart.str(uri))); + } + let port = uri.port; + if (port === 0) { + port = dart.test(isSecure) ? 443 : 80; + } + let proxyConf = C[475] || CT.C475; + let findProxy = this[_findProxy]; + if (findProxy != null) { + try { + proxyConf = new _http._ProxyConfiguration.new(core.String.as(dart.dcall(findProxy, [uri]))); + } catch (e) { + let error = dart.getThrown(e); + let stackTrace = dart.stackTrace(e); + if (core.Object.is(error)) { + return T.FutureOf_HttpClientRequest().error(error, stackTrace); + } else + throw e; + } + } + let profileData = null; + if (dart.test(_http.HttpClient.enableTimelineLogging)) { + profileData = _http.HttpProfiler.startRequest(method, uri); + } + return this[_getConnection](uri.host, port, proxyConf, isSecure, profileData).then(_http._HttpClientRequest, dart.fn(info => { + if (info == null) dart.nullFailed(I[181], 2669, 32, "info"); + function send(info) { + let t297; + if (info == null) dart.nullFailed(I[181], 2670, 47, "info"); + t297 = profileData; + t297 == null ? null : t297.requestEvent("Connection established"); + return info.connection.send(uri, port, method[$toUpperCase](), info.proxy, profileData); + } + dart.fn(send, T._ConnectionInfoTo_HttpClientRequest()); + if (dart.test(info.connection.closed)) { + return this[_getConnection](uri.host, port, proxyConf, isSecure, profileData).then(_http._HttpClientRequest, send); + } + return send(info); + }, T._ConnectionInfoToFutureOrOf_HttpClientRequest()), {onError: dart.fn(error => { + let t297; + t297 = profileData; + t297 == null ? null : t297.finishRequestWithError(dart.toString(error)); + dart.throw(error); + }, T$0.dynamicToNever())}); + } + [_openUrlFromRequest](method, uri, previous) { + if (method == null) dart.nullFailed(I[181], 2690, 14, "method"); + if (uri == null) dart.nullFailed(I[181], 2690, 26, "uri"); + if (previous == null) dart.nullFailed(I[181], 2690, 50, "previous"); + let resolved = previous.uri.resolveUri(uri); + return this[_openUrl](method, resolved).then(_http._HttpClientRequest, dart.fn(request => { + let t297, t297$; + if (request == null) dart.nullFailed(I[181], 2694, 64, "request"); + t297 = request; + (() => { + t297.followRedirects = previous.followRedirects; + t297.maxRedirects = previous.maxRedirects; + return t297; + })(); + for (let header of previous.headers[_headers][$keys]) { + if (request.headers._get(header) == null) { + request.headers.set(header, dart.nullCheck(previous.headers._get(header))); + } + } + t297$ = request; + return (() => { + t297$.headers.chunkedTransferEncoding = false; + t297$.contentLength = 0; + return t297$; + })(); + }, T._HttpClientRequestTo_HttpClientRequest())); + } + [_returnConnection](connection) { + if (connection == null) dart.nullFailed(I[181], 2713, 48, "connection"); + dart.nullCheck(this[_connectionTargets][$_get](connection.key)).returnConnection(connection); + this[_connectionsChanged](); + } + [_connectionClosed](connection) { + if (connection == null) dart.nullFailed(I[181], 2719, 48, "connection"); + connection.stopTimer(); + let connectionTarget = this[_connectionTargets][$_get](connection.key); + if (connectionTarget != null) { + connectionTarget.connectionClosed(connection); + if (dart.test(connectionTarget.isEmpty)) { + this[_connectionTargets][$remove](connection.key); + } + this[_connectionsChanged](); + } + } + [_connectionClosedNoFurtherClosing](connection) { + if (connection == null) dart.nullFailed(I[181], 2734, 64, "connection"); + connection.stopTimer(); + let connectionTarget = this[_connectionTargets][$_get](connection.key); + if (connectionTarget != null) { + connectionTarget.connectionClosed(connection); + if (dart.test(connectionTarget.isEmpty)) { + this[_connectionTargets][$remove](connection.key); + } + } + } + [_connectionsChanged]() { + if (dart.test(this[_closing])) { + this[_closeConnections](this[_closingForcefully]); + } + } + [_closeConnections](force) { + if (force == null) dart.nullFailed(I[181], 2751, 31, "force"); + for (let connectionTarget of this[_connectionTargets][$values][$toList]()) { + connectionTarget.close(force); + } + } + [_getConnectionTarget](host, port, isSecure) { + if (host == null) dart.nullFailed(I[181], 2757, 49, "host"); + if (port == null) dart.nullFailed(I[181], 2757, 59, "port"); + if (isSecure == null) dart.nullFailed(I[181], 2757, 70, "isSecure"); + let key = core.String.as(_http._HttpClientConnection.makeKey(isSecure, host, port)); + return this[_connectionTargets][$putIfAbsent](key, dart.fn(() => new _http._ConnectionTarget.new(key, host, port, isSecure, this[_context$0]), T.VoidTo_ConnectionTarget())); + } + [_getConnection](uriHost, uriPort, proxyConf, isSecure, profileData) { + if (uriHost == null) dart.nullFailed(I[181], 2766, 14, "uriHost"); + if (uriPort == null) dart.nullFailed(I[181], 2767, 11, "uriPort"); + if (proxyConf == null) dart.nullFailed(I[181], 2768, 27, "proxyConf"); + if (isSecure == null) dart.nullFailed(I[181], 2769, 12, "isSecure"); + let proxies = proxyConf.proxies[$iterator]; + const connect = error => { + if (!dart.test(proxies.moveNext())) return T.FutureOf_ConnectionInfo().error(core.Object.as(error)); + let proxy = proxies.current; + let host = dart.test(proxy.isDirect) ? uriHost : dart.nullCheck(proxy.host); + let port = dart.test(proxy.isDirect) ? uriPort : dart.nullCheck(proxy.port); + return this[_getConnectionTarget](host, port, isSecure).connect(uriHost, uriPort, proxy, this, profileData).catchError(connect); + }; + dart.fn(connect, T.dynamicToFutureOf_ConnectionInfo()); + return connect(new _http.HttpException.new("No proxies given")); + } + [_findCredentials](url, scheme = null) { + if (url == null) dart.nullFailed(I[181], 2787, 42, "url"); + let cr = this[_credentials][$fold](T._SiteCredentialsN(), null, dart.fn((prev, value) => { + if (value == null) dart.nullFailed(I[181], 2790, 58, "value"); + let siteCredentials = _http._SiteCredentials.as(value); + if (dart.test(siteCredentials.applies(url, scheme))) { + if (prev == null) return value; + return siteCredentials.uri.path.length > prev.uri.path.length ? siteCredentials : prev; + } else { + return prev; + } + }, T._SiteCredentialsNAnd_CredentialsTo_SiteCredentialsN())); + return cr; + } + [_findProxyCredentials](proxy, scheme = null) { + if (proxy == null) dart.nullFailed(I[181], 2804, 51, "proxy"); + for (let current of this[_proxyCredentials]) { + if (dart.test(current.applies(proxy, scheme))) { + return current; + } + } + return null; + } + [_removeCredentials](cr) { + if (cr == null) dart.nullFailed(I[181], 2815, 40, "cr"); + let index = this[_credentials][$indexOf](cr); + if (index !== -1) { + this[_credentials][$removeAt](index); + } + } + [_removeProxyCredentials](cr) { + if (cr == null) dart.nullFailed(I[181], 2822, 45, "cr"); + this[_proxyCredentials][$remove](cr); + } + static _findProxyFromEnvironment(url, environment) { + let t297, t297$, t297$0; + if (url == null) dart.nullFailed(I[181], 2827, 11, "url"); + function checkNoProxy(option) { + if (option == null) return null; + let names = option[$split](",")[$map](core.String, dart.fn(s => { + if (s == null) dart.nullFailed(I[181], 2830, 55, "s"); + return s[$trim](); + }, T$.StringToString()))[$iterator]; + while (dart.test(names.moveNext())) { + let name = names.current; + if (name[$startsWith]("[") && name[$endsWith]("]") && "[" + dart.str(url.host) + "]" === name || name[$isNotEmpty] && url.host[$endsWith](name)) { + return "DIRECT"; + } + } + return null; + } + dart.fn(checkNoProxy, T.StringNToStringN()); + function checkProxy(option) { + if (option == null) return null; + option = option[$trim](); + if (option[$isEmpty]) return null; + let pos = option[$indexOf]("://"); + if (pos >= 0) { + option = option[$substring](pos + 3); + } + pos = option[$indexOf]("/"); + if (pos >= 0) { + option = option[$substring](0, pos); + } + if (option[$indexOf]("[") === 0) { + let pos = option[$lastIndexOf](":"); + if (option[$indexOf]("]") > pos) option = dart.str(option) + ":1080"; + } else { + if (option[$indexOf](":") === -1) option = dart.str(option) + ":1080"; + } + return "PROXY " + dart.str(option); + } + dart.fn(checkProxy, T.StringNToStringN()); + if (environment == null) environment = _http._HttpClient._platformEnvironmentCache; + let proxyCfg = null; + let noProxy = (t297 = environment[$_get]("no_proxy"), t297 == null ? environment[$_get]("NO_PROXY") : t297); + proxyCfg = checkNoProxy(noProxy); + if (proxyCfg != null) { + return proxyCfg; + } + if (url.scheme === "http") { + let proxy = (t297$ = environment[$_get]("http_proxy"), t297$ == null ? environment[$_get]("HTTP_PROXY") : t297$); + proxyCfg = checkProxy(proxy); + if (proxyCfg != null) { + return proxyCfg; + } + } else if (url.scheme === "https") { + let proxy = (t297$0 = environment[$_get]("https_proxy"), t297$0 == null ? environment[$_get]("HTTPS_PROXY") : t297$0); + proxyCfg = checkProxy(proxy); + if (proxyCfg != null) { + return proxyCfg; + } + } + return "DIRECT"; + } +}; +(_http._HttpClient.new = function(_context) { + this[_closing] = false; + this[_closingForcefully] = false; + this[_connectionTargets] = new (T.IdentityMapOfString$_ConnectionTarget()).new(); + this[_credentials] = T.JSArrayOf_Credentials().of([]); + this[_proxyCredentials] = T.JSArrayOf_ProxyCredentials().of([]); + this[_authenticate] = null; + this[_authenticateProxy] = null; + this[_findProxy] = C[474] || CT.C474; + this[_idleTimeout] = C[453] || CT.C453; + this[_badCertificateCallback] = null; + this.connectionTimeout = null; + this.maxConnectionsPerHost = null; + this.autoUncompress = true; + this.userAgent = _http._getHttpVersion(); + this[_context$0] = _context; + ; +}).prototype = _http._HttpClient.prototype; +dart.addTypeTests(_http._HttpClient); +dart.addTypeCaches(_http._HttpClient); +_http._HttpClient[dart.implements] = () => [_http.HttpClient]; +dart.setMethodSignature(_http._HttpClient, () => ({ + __proto__: dart.getMethods(_http._HttpClient.__proto__), + open: dart.fnType(async.Future$(_http.HttpClientRequest), [core.String, core.String, core.int, core.String]), + openUrl: dart.fnType(async.Future$(_http.HttpClientRequest), [core.String, core.Uri]), + get: dart.fnType(async.Future$(_http.HttpClientRequest), [core.String, core.int, core.String]), + getUrl: dart.fnType(async.Future$(_http.HttpClientRequest), [core.Uri]), + post: dart.fnType(async.Future$(_http.HttpClientRequest), [core.String, core.int, core.String]), + postUrl: dart.fnType(async.Future$(_http.HttpClientRequest), [core.Uri]), + put: dart.fnType(async.Future$(_http.HttpClientRequest), [core.String, core.int, core.String]), + putUrl: dart.fnType(async.Future$(_http.HttpClientRequest), [core.Uri]), + delete: dart.fnType(async.Future$(_http.HttpClientRequest), [core.String, core.int, core.String]), + deleteUrl: dart.fnType(async.Future$(_http.HttpClientRequest), [core.Uri]), + head: dart.fnType(async.Future$(_http.HttpClientRequest), [core.String, core.int, core.String]), + headUrl: dart.fnType(async.Future$(_http.HttpClientRequest), [core.Uri]), + patch: dart.fnType(async.Future$(_http.HttpClientRequest), [core.String, core.int, core.String]), + patchUrl: dart.fnType(async.Future$(_http.HttpClientRequest), [core.Uri]), + close: dart.fnType(dart.void, [], {force: core.bool}, {}), + addCredentials: dart.fnType(dart.void, [core.Uri, core.String, _http.HttpClientCredentials]), + addProxyCredentials: dart.fnType(dart.void, [core.String, core.int, core.String, _http.HttpClientCredentials]), + [_openUrl]: dart.fnType(async.Future$(_http._HttpClientRequest), [core.String, core.Uri]), + [_openUrlFromRequest]: dart.fnType(async.Future$(_http._HttpClientRequest), [core.String, core.Uri, _http._HttpClientRequest]), + [_returnConnection]: dart.fnType(dart.void, [_http._HttpClientConnection]), + [_connectionClosed]: dart.fnType(dart.void, [_http._HttpClientConnection]), + [_connectionClosedNoFurtherClosing]: dart.fnType(dart.void, [_http._HttpClientConnection]), + [_connectionsChanged]: dart.fnType(dart.void, []), + [_closeConnections]: dart.fnType(dart.void, [core.bool]), + [_getConnectionTarget]: dart.fnType(_http._ConnectionTarget, [core.String, core.int, core.bool]), + [_getConnection]: dart.fnType(async.Future$(_http._ConnectionInfo), [core.String, core.int, _http._ProxyConfiguration, core.bool, dart.nullable(_http._HttpProfileData)]), + [_findCredentials]: dart.fnType(dart.nullable(_http._SiteCredentials), [core.Uri], [dart.nullable(_http._AuthenticationScheme)]), + [_findProxyCredentials]: dart.fnType(dart.nullable(_http._ProxyCredentials), [_http._Proxy], [dart.nullable(_http._AuthenticationScheme)]), + [_removeCredentials]: dart.fnType(dart.void, [_http._Credentials]), + [_removeProxyCredentials]: dart.fnType(dart.void, [_http._Credentials]) +})); +dart.setGetterSignature(_http._HttpClient, () => ({ + __proto__: dart.getGetters(_http._HttpClient.__proto__), + idleTimeout: core.Duration +})); +dart.setSetterSignature(_http._HttpClient, () => ({ + __proto__: dart.getSetters(_http._HttpClient.__proto__), + idleTimeout: core.Duration, + badCertificateCallback: dart.nullable(dart.fnType(core.bool, [io.X509Certificate, core.String, core.int])), + authenticate: dart.nullable(dart.fnType(async.Future$(core.bool), [core.Uri, core.String, core.String])), + authenticateProxy: dart.nullable(dart.fnType(async.Future$(core.bool), [core.String, core.int, core.String, core.String])), + findProxy: dart.nullable(dart.fnType(core.String, [core.Uri])) +})); +dart.setLibraryUri(_http._HttpClient, I[177]); +dart.setFieldSignature(_http._HttpClient, () => ({ + __proto__: dart.getFields(_http._HttpClient.__proto__), + [_closing]: dart.fieldType(core.bool), + [_closingForcefully]: dart.fieldType(core.bool), + [_connectionTargets]: dart.finalFieldType(core.Map$(core.String, _http._ConnectionTarget)), + [_credentials]: dart.finalFieldType(core.List$(_http._Credentials)), + [_proxyCredentials]: dart.finalFieldType(core.List$(_http._ProxyCredentials)), + [_context$0]: dart.finalFieldType(dart.nullable(io.SecurityContext)), + [_authenticate]: dart.fieldType(dart.nullable(core.Function)), + [_authenticateProxy]: dart.fieldType(dart.nullable(core.Function)), + [_findProxy]: dart.fieldType(dart.nullable(core.Function)), + [_idleTimeout]: dart.fieldType(core.Duration), + [_badCertificateCallback]: dart.fieldType(dart.nullable(dart.fnType(core.bool, [io.X509Certificate, core.String, core.int]))), + connectionTimeout: dart.fieldType(dart.nullable(core.Duration)), + maxConnectionsPerHost: dart.fieldType(dart.nullable(core.int)), + autoUncompress: dart.fieldType(core.bool), + userAgent: dart.fieldType(dart.nullable(core.String)) +})); +dart.defineLazy(_http._HttpClient, { + /*_http._HttpClient._platformEnvironmentCache*/get _platformEnvironmentCache() { + return io.Platform.environment; + }, + set _platformEnvironmentCache(_) {} +}, false); +var _state$1 = dart.privateName(_http, "_state"); +var _idleMark = dart.privateName(_http, "_idleMark"); +var _markActive = dart.privateName(_http, "_markActive"); +var _markIdle = dart.privateName(_http, "_markIdle"); +var _handleRequest = dart.privateName(_http, "_handleRequest"); +var _isActive = dart.privateName(_http, "_isActive"); +var _isIdle = dart.privateName(_http, "_isIdle"); +var _isDetached = dart.privateName(_http, "_isDetached"); +var _toJSON$ = dart.privateName(_http, "_toJSON"); +const LinkedListEntry__ServiceObject$36 = class LinkedListEntry__ServiceObject extends collection.LinkedListEntry {}; +(LinkedListEntry__ServiceObject$36.new = function() { + _http._ServiceObject.new.call(this); + LinkedListEntry__ServiceObject$36.__proto__.new.call(this); +}).prototype = LinkedListEntry__ServiceObject$36.prototype; +dart.applyMixin(LinkedListEntry__ServiceObject$36, _http._ServiceObject); +_http._HttpConnection = class _HttpConnection extends LinkedListEntry__ServiceObject$36 { + markIdle() { + this[_idleMark] = true; + } + get isMarkedIdle() { + return this[_idleMark]; + } + destroy() { + if (this[_state$1] === 2 || this[_state$1] === 3) return; + this[_state$1] = 2; + dart.dsend(this[_socket$0], 'destroy', []); + this[_httpServer$][_connectionClosed](this); + _http._HttpConnection._connections[$remove](this[_serviceId$]); + } + detachSocket() { + this[_state$1] = 3; + this[_httpServer$][_connectionClosed](this); + let detachedIncoming = this[_httpParser].detachIncoming(); + return dart.nullCheck(this[_streamFuture]).then(io.Socket, dart.fn(_ => { + _http._HttpConnection._connections[$remove](this[_serviceId$]); + return new _http._DetachedSocket.new(io.Socket.as(this[_socket$0]), detachedIncoming); + }, T.dynamicTo_DetachedSocket())); + } + get connectionInfo() { + return _http._HttpConnectionInfo.create(io.Socket.as(this[_socket$0])); + } + get [_isActive]() { + return this[_state$1] === 0; + } + get [_isIdle]() { + return this[_state$1] === 1; + } + get [_isClosing]() { + return this[_state$1] === 2; + } + get [_isDetached]() { + return this[_state$1] === 3; + } + get [_serviceTypePath$]() { + return "io/http/serverconnections"; + } + get [_serviceTypeName$]() { + return "HttpServerConnection"; + } + [_toJSON$](ref) { + if (ref == null) dart.nullFailed(I[181], 3010, 20, "ref"); + let name = dart.str(dart.dload(dart.dload(this[_socket$0], 'address'), 'host')) + ":" + dart.str(dart.dload(this[_socket$0], 'port')) + " <-> " + dart.str(dart.dload(dart.dload(this[_socket$0], 'remoteAddress'), 'host')) + ":" + dart.str(dart.dload(this[_socket$0], 'remotePort')); + let r = new (T$0.IdentityMapOfString$dynamic()).from(["id", this[_servicePath$], "type", this[_serviceType$](ref), "name", name, "user_name", name]); + if (dart.test(ref)) { + return r; + } + r[$_set]("server", this[_httpServer$][_toJSON$](true)); + try { + r[$_set]("socket", dart.dsend(this[_socket$0], _toJSON$, [true])); + } catch (e) { + let _ = dart.getThrown(e); + if (core.Object.is(_)) { + r[$_set]("socket", new (T$.IdentityMapOfString$String()).from(["id", this[_servicePath$], "type", "@Socket", "name", "UserSocket", "user_name", "UserSocket"])); + } else + throw e; + } + switch (this[_state$1]) { + case 0: + { + r[$_set]("state", "Active"); + break; + } + case 1: + { + r[$_set]("state", "Idle"); + break; + } + case 2: + { + r[$_set]("state", "Closing"); + break; + } + case 3: + { + r[$_set]("state", "Detached"); + break; + } + default: + { + r[$_set]("state", "Unknown"); + break; + } + } + return r; + } +}; +(_http._HttpConnection.new = function(_socket, _httpServer) { + if (_httpServer == null) dart.nullFailed(I[181], 2914, 38, "_httpServer"); + this[_state$1] = 1; + this[_subscription$0] = null; + this[_idleMark] = false; + this[_streamFuture] = null; + this[_socket$0] = _socket; + this[_httpServer$] = _httpServer; + this[_httpParser] = _http._HttpParser.requestParser(); + _http._HttpConnection.__proto__.new.call(this); + _http._HttpConnection._connections[$_set](this[_serviceId$], this); + this[_httpParser].listenToStream(T.StreamOfUint8List().as(this[_socket$0])); + this[_subscription$0] = this[_httpParser].listen(dart.fn(incoming => { + if (incoming == null) dart.nullFailed(I[181], 2918, 41, "incoming"); + this[_httpServer$][_markActive](this); + incoming.dataDone.then(core.Null, dart.fn(closing => { + if (dart.dtest(closing)) this.destroy(); + }, T$.dynamicToNull())); + dart.nullCheck(this[_subscription$0]).pause(); + this[_state$1] = 0; + let outgoing = new _http._HttpOutgoing.new(io.Socket.as(this[_socket$0])); + let response = new _http._HttpResponse.new(dart.nullCheck(incoming.uri), incoming.headers.protocolVersion, outgoing, this[_httpServer$].defaultResponseHeaders, this[_httpServer$].serverHeader); + if (incoming.statusCode === 400) { + response.statusCode = 400; + } + let request = new _http._HttpRequest.new(response, incoming, this[_httpServer$], this); + this[_streamFuture] = outgoing.done.then(dart.dynamic, dart.fn(_ => { + if (_ == null) dart.nullFailed(I[181], 2940, 43, "_"); + response.deadline = null; + if (this[_state$1] === 3) return; + if (dart.test(response.persistentConnection) && dart.test(request.persistentConnection) && dart.test(incoming.fullBodyRead) && !dart.test(this[_httpParser].upgrade) && !dart.test(this[_httpServer$].closed)) { + this[_state$1] = 1; + this[_idleMark] = false; + this[_httpServer$][_markIdle](this); + dart.nullCheck(this[_subscription$0]).resume(); + } else { + this.destroy(); + } + }, T.SocketToNull()), {onError: dart.fn(_ => { + this.destroy(); + }, T$.dynamicToNull())}); + outgoing.ignoreBody = request.method === "HEAD"; + response[_httpRequest$] = request; + this[_httpServer$][_handleRequest](request); + }, T._HttpIncomingTovoid()), {onDone: dart.fn(() => { + this.destroy(); + }, T$.VoidTovoid()), onError: dart.fn(error => { + this.destroy(); + }, T$.dynamicToNull())}); +}).prototype = _http._HttpConnection.prototype; +dart.addTypeTests(_http._HttpConnection); +dart.addTypeCaches(_http._HttpConnection); +dart.setMethodSignature(_http._HttpConnection, () => ({ + __proto__: dart.getMethods(_http._HttpConnection.__proto__), + markIdle: dart.fnType(dart.void, []), + destroy: dart.fnType(dart.void, []), + detachSocket: dart.fnType(async.Future$(io.Socket), []), + [_toJSON$]: dart.fnType(core.Map, [core.bool]) +})); +dart.setGetterSignature(_http._HttpConnection, () => ({ + __proto__: dart.getGetters(_http._HttpConnection.__proto__), + isMarkedIdle: core.bool, + connectionInfo: dart.nullable(_http.HttpConnectionInfo), + [_isActive]: core.bool, + [_isIdle]: core.bool, + [_isClosing]: core.bool, + [_isDetached]: core.bool, + [_serviceTypePath$]: core.String, + [_serviceTypeName$]: core.String +})); +dart.setLibraryUri(_http._HttpConnection, I[177]); +dart.setFieldSignature(_http._HttpConnection, () => ({ + __proto__: dart.getFields(_http._HttpConnection.__proto__), + [_socket$0]: dart.finalFieldType(dart.dynamic), + [_httpServer$]: dart.finalFieldType(_http._HttpServer), + [_httpParser]: dart.finalFieldType(_http._HttpParser), + [_state$1]: dart.fieldType(core.int), + [_subscription$0]: dart.fieldType(dart.nullable(async.StreamSubscription)), + [_idleMark]: dart.fieldType(core.bool), + [_streamFuture]: dart.fieldType(dart.nullable(async.Future)) +})); +dart.defineLazy(_http._HttpConnection, { + /*_http._HttpConnection._ACTIVE*/get _ACTIVE() { + return 0; + }, + /*_http._HttpConnection._IDLE*/get _IDLE() { + return 1; + }, + /*_http._HttpConnection._CLOSING*/get _CLOSING() { + return 2; + }, + /*_http._HttpConnection._DETACHED*/get _DETACHED() { + return 3; + }, + /*_http._HttpConnection._connections*/get _connections() { + return new (T.IdentityMapOfint$_HttpConnection()).new(); + }, + set _connections(_) {} +}, false); +var _activeConnections = dart.privateName(_http, "_activeConnections"); +var _idleConnections = dart.privateName(_http, "_idleConnections"); +var _serverSocket$ = dart.privateName(_http, "_serverSocket"); +var _closeServer$ = dart.privateName(_http, "_closeServer"); +var _maybePerformCleanup$ = dart.privateName(_http, "_maybePerformCleanup"); +const Stream__ServiceObject$36 = class Stream__ServiceObject extends async.Stream$(_http.HttpRequest) {}; +(Stream__ServiceObject$36.new = function() { + _http._ServiceObject.new.call(this); + Stream__ServiceObject$36.__proto__.new.call(this); +}).prototype = Stream__ServiceObject$36.prototype; +(Stream__ServiceObject$36._internal = function() { + _http._ServiceObject.new.call(this); + Stream__ServiceObject$36.__proto__._internal.call(this); +}).prototype = Stream__ServiceObject$36.prototype; +dart.applyMixin(Stream__ServiceObject$36, _http._ServiceObject); +_http._HttpServer = class _HttpServer extends Stream__ServiceObject$36 { + static bind(address, port, backlog, v6Only, shared) { + if (port == null) dart.nullFailed(I[181], 3069, 20, "port"); + if (backlog == null) dart.nullFailed(I[181], 3069, 30, "backlog"); + if (v6Only == null) dart.nullFailed(I[181], 3069, 44, "v6Only"); + if (shared == null) dart.nullFailed(I[181], 3069, 57, "shared"); + return io.ServerSocket.bind(address, port, {backlog: backlog, v6Only: v6Only, shared: shared}).then(_http.HttpServer, dart.fn(socket => { + if (socket == null) dart.nullFailed(I[181], 3072, 28, "socket"); + return new _http._HttpServer.__(socket, true); + }, T.ServerSocketTo_HttpServer())); + } + static bindSecure(address, port, context, backlog, v6Only, requestClientCertificate, shared) { + if (port == null) dart.nullFailed(I[181], 3079, 11, "port"); + if (backlog == null) dart.nullFailed(I[181], 3081, 11, "backlog"); + if (v6Only == null) dart.nullFailed(I[181], 3082, 12, "v6Only"); + if (requestClientCertificate == null) dart.nullFailed(I[181], 3083, 12, "requestClientCertificate"); + if (shared == null) dart.nullFailed(I[181], 3084, 12, "shared"); + return io.SecureServerSocket.bind(address, port, context, {backlog: backlog, v6Only: v6Only, requestClientCertificate: requestClientCertificate, shared: shared}).then(_http.HttpServer, dart.fn(socket => { + if (socket == null) dart.nullFailed(I[181], 3090, 28, "socket"); + return new _http._HttpServer.__(socket, true); + }, T.SecureServerSocketTo_HttpServer())); + } + static _initDefaultResponseHeaders() { + let defaultResponseHeaders = new _http._HttpHeaders.new("1.1"); + defaultResponseHeaders.contentType = _http.ContentType.text; + defaultResponseHeaders.set("X-Frame-Options", "SAMEORIGIN"); + defaultResponseHeaders.set("X-Content-Type-Options", "nosniff"); + defaultResponseHeaders.set("X-XSS-Protection", "1; mode=block"); + return defaultResponseHeaders; + } + get idleTimeout() { + return this[_idleTimeout]; + } + set idleTimeout(duration) { + let idleTimer = this[_idleTimer]; + if (idleTimer != null) { + idleTimer.cancel(); + this[_idleTimer] = null; + } + this[_idleTimeout] = duration; + if (duration != null) { + this[_idleTimer] = async.Timer.periodic(duration, dart.fn(_ => { + if (_ == null) dart.nullFailed(I[181], 3129, 50, "_"); + for (let idle of this[_idleConnections][$toList]()) { + if (dart.test(idle.isMarkedIdle)) { + idle.destroy(); + } else { + idle.markIdle(); + } + } + }, T$.TimerTovoid())); + } + } + listen(onData, opts) { + let onError = opts && 'onError' in opts ? opts.onError : null; + let onDone = opts && 'onDone' in opts ? opts.onDone : null; + let cancelOnError = opts && 'cancelOnError' in opts ? opts.cancelOnError : null; + dart.dsend(this[_serverSocket$], 'listen', [dart.fn(socket => { + if (socket == null) dart.nullFailed(I[181], 3143, 34, "socket"); + socket.setOption(io.SocketOption.tcpNoDelay, true); + let connection = new _http._HttpConnection.new(socket, this); + this[_idleConnections].add(connection); + }, T.SocketToNull())], {onError: dart.fn((error, stackTrace) => { + if (!io.HandshakeException.is(error)) { + this[_controller$0].addError(core.Object.as(error), T$.StackTraceN().as(stackTrace)); + } + }, T$.dynamicAnddynamicToNull()), onDone: dart.bind(this[_controller$0], 'close')}); + return this[_controller$0].stream.listen(onData, {onError: onError, onDone: onDone, cancelOnError: cancelOnError}); + } + close(opts) { + let force = opts && 'force' in opts ? opts.force : false; + if (force == null) dart.nullFailed(I[181], 3159, 22, "force"); + this.closed = true; + let result = null; + if (this[_serverSocket$] != null && dart.test(this[_closeServer$])) { + result = async.Future.as(dart.dsend(this[_serverSocket$], 'close', [])); + } else { + result = async.Future.value(); + } + this.idleTimeout = null; + if (dart.test(force)) { + for (let c of this[_activeConnections][$toList]()) { + c.destroy(); + } + if (!dart.test(this[_activeConnections].isEmpty)) dart.assertFailed(null, I[181], 3172, 14, "_activeConnections.isEmpty"); + } + for (let c of this[_idleConnections][$toList]()) { + c.destroy(); + } + this[_maybePerformCleanup$](); + return result; + } + [_maybePerformCleanup$]() { + let sessionManager = this[_sessionManagerInstance]; + if (dart.test(this.closed) && dart.test(this[_idleConnections].isEmpty) && dart.test(this[_activeConnections].isEmpty) && sessionManager != null) { + sessionManager.close(); + this[_sessionManagerInstance] = null; + _http._HttpServer._servers[$remove](this[_serviceId$]); + } + } + get port() { + if (dart.test(this.closed)) dart.throw(new _http.HttpException.new("HttpServer is not bound to a socket")); + return core.int.as(dart.dload(this[_serverSocket$], 'port')); + } + get address() { + if (dart.test(this.closed)) dart.throw(new _http.HttpException.new("HttpServer is not bound to a socket")); + return io.InternetAddress.as(dart.dload(this[_serverSocket$], 'address')); + } + set sessionTimeout(timeout) { + if (timeout == null) dart.nullFailed(I[181], 3203, 26, "timeout"); + this[_sessionManager$].sessionTimeout = timeout; + } + [_handleRequest](request) { + if (request == null) dart.nullFailed(I[181], 3207, 36, "request"); + if (!dart.test(this.closed)) { + this[_controller$0].add(request); + } else { + request[_httpConnection$].destroy(); + } + } + [_connectionClosed](connection) { + if (connection == null) dart.nullFailed(I[181], 3215, 42, "connection"); + connection.unlink(); + this[_maybePerformCleanup$](); + } + [_markIdle](connection) { + if (connection == null) dart.nullFailed(I[181], 3221, 34, "connection"); + this[_activeConnections].remove(connection); + this[_idleConnections].add(connection); + } + [_markActive](connection) { + if (connection == null) dart.nullFailed(I[181], 3226, 36, "connection"); + this[_idleConnections].remove(connection); + this[_activeConnections].add(connection); + } + get [_sessionManager$]() { + let t298; + t298 = this[_sessionManagerInstance]; + return t298 == null ? this[_sessionManagerInstance] = new _http._HttpSessionManager.new() : t298; + } + connectionsInfo() { + let result = new _http.HttpConnectionsInfo.new(); + result.total = dart.notNull(this[_activeConnections].length) + dart.notNull(this[_idleConnections].length); + this[_activeConnections].forEach(dart.fn(conn => { + let t298, t298$; + if (conn == null) dart.nullFailed(I[181], 3238, 49, "conn"); + if (dart.test(conn[_isActive])) { + t298 = result; + t298.active = dart.notNull(t298.active) + 1; + } else { + if (!dart.test(conn[_isClosing])) dart.assertFailed(null, I[181], 3242, 16, "conn._isClosing"); + t298$ = result; + t298$.closing = dart.notNull(t298$.closing) + 1; + } + }, T._HttpConnectionTovoid())); + this[_idleConnections].forEach(dart.fn(conn => { + let t298; + if (conn == null) dart.nullFailed(I[181], 3246, 47, "conn"); + t298 = result; + t298.idle = dart.notNull(t298.idle) + 1; + if (!dart.test(conn[_isIdle])) dart.assertFailed(null, I[181], 3248, 14, "conn._isIdle"); + }, T._HttpConnectionTovoid())); + return result; + } + get [_serviceTypePath$]() { + return "io/http/servers"; + } + get [_serviceTypeName$]() { + return "HttpServer"; + } + [_toJSON$](ref) { + if (ref == null) dart.nullFailed(I[181], 3256, 37, "ref"); + let r = new (T$0.IdentityMapOfString$dynamic()).from(["id", this[_servicePath$], "type", this[_serviceType$](ref), "name", dart.str(this.address.host) + ":" + dart.str(this.port), "user_name", dart.str(this.address.host) + ":" + dart.str(this.port)]); + if (dart.test(ref)) { + return r; + } + try { + r[$_set]("socket", dart.dsend(this[_serverSocket$], _toJSON$, [true])); + } catch (e) { + let _ = dart.getThrown(e); + if (core.Object.is(_)) { + r[$_set]("socket", new (T$.IdentityMapOfString$String()).from(["id", this[_servicePath$], "type", "@Socket", "name", "UserSocket", "user_name", "UserSocket"])); + } else + throw e; + } + r[$_set]("port", this.port); + r[$_set]("address", this.address.host); + r[$_set]("active", this[_activeConnections][$map](core.Map, dart.fn(c => { + if (c == null) dart.nullFailed(I[181], 3278, 43, "c"); + return c[_toJSON$](true); + }, T._HttpConnectionToMap()))[$toList]()); + r[$_set]("idle", this[_idleConnections][$map](core.Map, dart.fn(c => { + if (c == null) dart.nullFailed(I[181], 3279, 39, "c"); + return c[_toJSON$](true); + }, T._HttpConnectionToMap()))[$toList]()); + r[$_set]("closed", this.closed); + return r; + } +}; +(_http._HttpServer.__ = function(_serverSocket, _closeServer) { + if (_closeServer == null) dart.nullFailed(I[181], 3095, 42, "_closeServer"); + this.serverHeader = null; + this.defaultResponseHeaders = _http._HttpServer._initDefaultResponseHeaders(); + this.autoCompress = false; + this[_idleTimeout] = null; + this[_idleTimer] = null; + this[_sessionManagerInstance] = null; + this.closed = false; + this[_activeConnections] = new (T.LinkedListOf_HttpConnection()).new(); + this[_idleConnections] = new (T.LinkedListOf_HttpConnection()).new(); + this[_serverSocket$] = _serverSocket; + this[_closeServer$] = _closeServer; + this[_controller$0] = T.StreamControllerOfHttpRequest().new({sync: true}); + _http._HttpServer.__proto__.new.call(this); + this[_controller$0].onCancel = dart.bind(this, 'close'); + this.idleTimeout = C[447] || CT.C447; + _http._HttpServer._servers[$_set](this[_serviceId$], this); +}).prototype = _http._HttpServer.prototype; +(_http._HttpServer.listenOn = function(_serverSocket) { + this.serverHeader = null; + this.defaultResponseHeaders = _http._HttpServer._initDefaultResponseHeaders(); + this.autoCompress = false; + this[_idleTimeout] = null; + this[_idleTimer] = null; + this[_sessionManagerInstance] = null; + this.closed = false; + this[_activeConnections] = new (T.LinkedListOf_HttpConnection()).new(); + this[_idleConnections] = new (T.LinkedListOf_HttpConnection()).new(); + this[_serverSocket$] = _serverSocket; + this[_closeServer$] = false; + this[_controller$0] = T.StreamControllerOfHttpRequest().new({sync: true}); + _http._HttpServer.__proto__.new.call(this); + this[_controller$0].onCancel = dart.bind(this, 'close'); + this.idleTimeout = C[447] || CT.C447; + _http._HttpServer._servers[$_set](this[_serviceId$], this); +}).prototype = _http._HttpServer.prototype; +dart.addTypeTests(_http._HttpServer); +dart.addTypeCaches(_http._HttpServer); +_http._HttpServer[dart.implements] = () => [_http.HttpServer]; +dart.setMethodSignature(_http._HttpServer, () => ({ + __proto__: dart.getMethods(_http._HttpServer.__proto__), + listen: dart.fnType(async.StreamSubscription$(_http.HttpRequest), [dart.nullable(dart.fnType(dart.void, [_http.HttpRequest]))], {cancelOnError: dart.nullable(core.bool), onDone: dart.nullable(dart.fnType(dart.void, [])), onError: dart.nullable(core.Function)}, {}), + close: dart.fnType(async.Future, [], {force: core.bool}, {}), + [_maybePerformCleanup$]: dart.fnType(dart.void, []), + [_handleRequest]: dart.fnType(dart.void, [_http._HttpRequest]), + [_connectionClosed]: dart.fnType(dart.void, [_http._HttpConnection]), + [_markIdle]: dart.fnType(dart.void, [_http._HttpConnection]), + [_markActive]: dart.fnType(dart.void, [_http._HttpConnection]), + connectionsInfo: dart.fnType(_http.HttpConnectionsInfo, []), + [_toJSON$]: dart.fnType(core.Map$(core.String, dart.dynamic), [core.bool]) +})); +dart.setGetterSignature(_http._HttpServer, () => ({ + __proto__: dart.getGetters(_http._HttpServer.__proto__), + idleTimeout: dart.nullable(core.Duration), + port: core.int, + address: io.InternetAddress, + [_sessionManager$]: _http._HttpSessionManager, + [_serviceTypePath$]: core.String, + [_serviceTypeName$]: core.String +})); +dart.setSetterSignature(_http._HttpServer, () => ({ + __proto__: dart.getSetters(_http._HttpServer.__proto__), + idleTimeout: dart.nullable(core.Duration), + sessionTimeout: core.int +})); +dart.setLibraryUri(_http._HttpServer, I[177]); +dart.setFieldSignature(_http._HttpServer, () => ({ + __proto__: dart.getFields(_http._HttpServer.__proto__), + serverHeader: dart.fieldType(dart.nullable(core.String)), + defaultResponseHeaders: dart.finalFieldType(_http.HttpHeaders), + autoCompress: dart.fieldType(core.bool), + [_idleTimeout]: dart.fieldType(dart.nullable(core.Duration)), + [_idleTimer]: dart.fieldType(dart.nullable(async.Timer)), + [_sessionManagerInstance]: dart.fieldType(dart.nullable(_http._HttpSessionManager)), + closed: dart.fieldType(core.bool), + [_serverSocket$]: dart.finalFieldType(dart.dynamic), + [_closeServer$]: dart.finalFieldType(core.bool), + [_activeConnections]: dart.finalFieldType(collection.LinkedList$(_http._HttpConnection)), + [_idleConnections]: dart.finalFieldType(collection.LinkedList$(_http._HttpConnection)), + [_controller$0]: dart.fieldType(async.StreamController$(_http.HttpRequest)) +})); +dart.defineLazy(_http._HttpServer, { + /*_http._HttpServer._servers*/get _servers() { + return new (T.LinkedMapOfint$_HttpServer()).new(); + }, + set _servers(_) {} +}, false); +const proxies = _ProxyConfiguration_proxies; +_http._ProxyConfiguration = class _ProxyConfiguration extends core.Object { + get proxies() { + return this[proxies]; + } + set proxies(value) { + super.proxies = value; + } +}; +(_http._ProxyConfiguration.new = function(configuration) { + if (configuration == null) dart.nullFailed(I[181], 3306, 30, "configuration"); + this[proxies] = T.JSArrayOf_Proxy().of([]); + if (configuration == null) { + dart.throw(new _http.HttpException.new("Invalid proxy configuration " + dart.str(configuration))); + } + let list = configuration[$split](";"); + list[$forEach](dart.fn(proxy => { + if (proxy == null) dart.nullFailed(I[181], 3311, 26, "proxy"); + proxy = proxy[$trim](); + if (!proxy[$isEmpty]) { + if (proxy[$startsWith]("PROXY ")) { + let username = null; + let password = null; + proxy = proxy[$substring]("PROXY ".length)[$trim](); + let at = proxy[$indexOf]("@"); + if (at !== -1) { + let userinfo = proxy[$substring](0, at)[$trim](); + proxy = proxy[$substring](at + 1)[$trim](); + let colon = userinfo[$indexOf](":"); + if (colon === -1 || colon === 0 || colon === proxy.length - 1) { + dart.throw(new _http.HttpException.new("Invalid proxy configuration " + dart.str(configuration))); + } + username = userinfo[$substring](0, colon)[$trim](); + password = userinfo[$substring](colon + 1)[$trim](); + } + let colon = proxy[$lastIndexOf](":"); + if (colon === -1 || colon === 0 || colon === proxy.length - 1) { + dart.throw(new _http.HttpException.new("Invalid proxy configuration " + dart.str(configuration))); + } + let host = proxy[$substring](0, colon)[$trim](); + if (host[$startsWith]("[") && host[$endsWith]("]")) { + host = host[$substring](1, host.length - 1); + } + let portString = proxy[$substring](colon + 1)[$trim](); + let port = null; + try { + port = core.int.parse(portString); + } catch (e$) { + let e = dart.getThrown(e$); + if (core.FormatException.is(e)) { + dart.throw(new _http.HttpException.new("Invalid proxy configuration " + dart.str(configuration) + ", " + "invalid port '" + portString + "'")); + } else + throw e$; + } + this.proxies[$add](new _http._Proxy.new(host, port, username, password)); + } else if (proxy[$trim]() === "DIRECT") { + this.proxies[$add](new _http._Proxy.direct()); + } else { + dart.throw(new _http.HttpException.new("Invalid proxy configuration " + dart.str(configuration))); + } + } + }, T$.StringTovoid())); +}).prototype = _http._ProxyConfiguration.prototype; +(_http._ProxyConfiguration.direct = function() { + this[proxies] = C[476] || CT.C476; + ; +}).prototype = _http._ProxyConfiguration.prototype; +dart.addTypeTests(_http._ProxyConfiguration); +dart.addTypeCaches(_http._ProxyConfiguration); +dart.setLibraryUri(_http._ProxyConfiguration, I[177]); +dart.setFieldSignature(_http._ProxyConfiguration, () => ({ + __proto__: dart.getFields(_http._ProxyConfiguration.__proto__), + proxies: dart.finalFieldType(core.List$(_http._Proxy)) +})); +dart.defineLazy(_http._ProxyConfiguration, { + /*_http._ProxyConfiguration.PROXY_PREFIX*/get PROXY_PREFIX() { + return "PROXY "; + }, + /*_http._ProxyConfiguration.DIRECT_PREFIX*/get DIRECT_PREFIX() { + return "DIRECT"; + } +}, false); +const host$ = _Proxy_host; +const port$1 = _Proxy_port; +const username$ = _Proxy_username; +const password$ = _Proxy_password; +const isDirect = _Proxy_isDirect; +_http._Proxy = class _Proxy extends core.Object { + get host() { + return this[host$]; + } + set host(value) { + super.host = value; + } + get port() { + return this[port$1]; + } + set port(value) { + super.port = value; + } + get username() { + return this[username$]; + } + set username(value) { + super.username = value; + } + get password() { + return this[password$]; + } + set password(value) { + super.password = value; + } + get isDirect() { + return this[isDirect]; + } + set isDirect(value) { + super.isDirect = value; + } + get isAuthenticated() { + return this.username != null; + } +}; +(_http._Proxy.new = function(host, port, username, password) { + if (host == null) dart.nullFailed(I[181], 3373, 28, "host"); + if (port == null) dart.nullFailed(I[181], 3373, 43, "port"); + this[host$] = host; + this[port$1] = port; + this[username$] = username; + this[password$] = password; + this[isDirect] = false; + ; +}).prototype = _http._Proxy.prototype; +(_http._Proxy.direct = function() { + this[host$] = null; + this[port$1] = null; + this[username$] = null; + this[password$] = null; + this[isDirect] = true; + ; +}).prototype = _http._Proxy.prototype; +dart.addTypeTests(_http._Proxy); +dart.addTypeCaches(_http._Proxy); +dart.setGetterSignature(_http._Proxy, () => ({ + __proto__: dart.getGetters(_http._Proxy.__proto__), + isAuthenticated: core.bool +})); +dart.setLibraryUri(_http._Proxy, I[177]); +dart.setFieldSignature(_http._Proxy, () => ({ + __proto__: dart.getFields(_http._Proxy.__proto__), + host: dart.finalFieldType(dart.nullable(core.String)), + port: dart.finalFieldType(dart.nullable(core.int)), + username: dart.finalFieldType(dart.nullable(core.String)), + password: dart.finalFieldType(dart.nullable(core.String)), + isDirect: dart.finalFieldType(core.bool) +})); +_http._HttpConnectionInfo = class _HttpConnectionInfo extends core.Object { + static create(socket) { + if (socket == null) dart.nullFailed(I[181], 3392, 45, "socket"); + if (socket == null) return null; + try { + return new _http._HttpConnectionInfo.new(socket.remoteAddress, socket.remotePort, socket.port); + } catch (e$) { + let e = dart.getThrown(e$); + if (core.Object.is(e)) { + } else + throw e$; + } + return null; + } +}; +(_http._HttpConnectionInfo.new = function(remoteAddress, remotePort, localPort) { + if (remoteAddress == null) dart.nullFailed(I[181], 3390, 28, "remoteAddress"); + if (remotePort == null) dart.nullFailed(I[181], 3390, 48, "remotePort"); + if (localPort == null) dart.nullFailed(I[181], 3390, 65, "localPort"); + this.remoteAddress = remoteAddress; + this.remotePort = remotePort; + this.localPort = localPort; + ; +}).prototype = _http._HttpConnectionInfo.prototype; +dart.addTypeTests(_http._HttpConnectionInfo); +dart.addTypeCaches(_http._HttpConnectionInfo); +_http._HttpConnectionInfo[dart.implements] = () => [_http.HttpConnectionInfo]; +dart.setLibraryUri(_http._HttpConnectionInfo, I[177]); +dart.setFieldSignature(_http._HttpConnectionInfo, () => ({ + __proto__: dart.getFields(_http._HttpConnectionInfo.__proto__), + remoteAddress: dart.fieldType(io.InternetAddress), + remotePort: dart.fieldType(core.int), + localPort: dart.fieldType(core.int) +})); +_http._DetachedSocket = class _DetachedSocket extends async.Stream$(typed_data.Uint8List) { + listen(onData, opts) { + let onError = opts && 'onError' in opts ? opts.onError : null; + let onDone = opts && 'onDone' in opts ? opts.onDone : null; + let cancelOnError = opts && 'cancelOnError' in opts ? opts.cancelOnError : null; + return this[_incoming$].listen(onData, {onError: onError, onDone: onDone, cancelOnError: cancelOnError}); + } + get encoding() { + return this[_socket$0].encoding; + } + set encoding(value) { + if (value == null) dart.nullFailed(I[181], 3416, 30, "value"); + this[_socket$0].encoding = value; + } + write(obj) { + this[_socket$0].write(obj); + } + writeln(obj = "") { + this[_socket$0].writeln(obj); + } + writeCharCode(charCode) { + if (charCode == null) dart.nullFailed(I[181], 3428, 26, "charCode"); + this[_socket$0].writeCharCode(charCode); + } + writeAll(objects, separator = "") { + if (objects == null) dart.nullFailed(I[181], 3432, 26, "objects"); + if (separator == null) dart.nullFailed(I[181], 3432, 43, "separator"); + this[_socket$0].writeAll(objects, separator); + } + add(bytes) { + T$0.ListOfint().as(bytes); + if (bytes == null) dart.nullFailed(I[181], 3436, 22, "bytes"); + this[_socket$0].add(bytes); + } + addError(error, stackTrace = null) { + if (error == null) dart.nullFailed(I[181], 3440, 24, "error"); + return this[_socket$0].addError(error, stackTrace); + } + addStream(stream) { + T$0.StreamOfListOfint().as(stream); + if (stream == null) dart.nullFailed(I[181], 3443, 38, "stream"); + return this[_socket$0].addStream(stream); + } + destroy() { + this[_socket$0].destroy(); + } + flush() { + return this[_socket$0].flush(); + } + close() { + return this[_socket$0].close(); + } + get done() { + return this[_socket$0].done; + } + get port() { + return this[_socket$0].port; + } + get address() { + return this[_socket$0].address; + } + get remoteAddress() { + return this[_socket$0].remoteAddress; + } + get remotePort() { + return this[_socket$0].remotePort; + } + setOption(option, enabled) { + if (option == null) dart.nullFailed(I[181], 3465, 31, "option"); + if (enabled == null) dart.nullFailed(I[181], 3465, 44, "enabled"); + return this[_socket$0].setOption(option, enabled); + } + getRawOption(option) { + if (option == null) dart.nullFailed(I[181], 3469, 42, "option"); + return this[_socket$0].getRawOption(option); + } + setRawOption(option) { + if (option == null) dart.nullFailed(I[181], 3473, 37, "option"); + this[_socket$0].setRawOption(option); + } + [_toJSON$](ref) { + if (ref == null) dart.nullFailed(I[181], 3477, 20, "ref"); + return core.Map.as(dart.dsend(this[_socket$0], _toJSON$, [ref])); + } + get [__IOSink_encoding_isSet]() { + return this[$noSuchMethod](new core._Invocation.getter(C[467] || CT.C467)); + } + get [__IOSink_encoding]() { + return T$0.EncodingN().as(this[$noSuchMethod](new core._Invocation.getter(C[468] || CT.C468))); + } + set [__IOSink_encoding_isSet](value) { + return this[$noSuchMethod](new core._Invocation.setter(C[469] || CT.C469, value)); + } + set [__IOSink_encoding](value) { + return this[$noSuchMethod](new core._Invocation.setter(C[470] || CT.C470, value)); + } +}; +(_http._DetachedSocket.new = function(_socket, _incoming) { + if (_socket == null) dart.nullFailed(I[181], 3406, 24, "_socket"); + if (_incoming == null) dart.nullFailed(I[181], 3406, 38, "_incoming"); + this[_socket$0] = _socket; + this[_incoming$] = _incoming; + _http._DetachedSocket.__proto__.new.call(this); + ; +}).prototype = _http._DetachedSocket.prototype; +dart.addTypeTests(_http._DetachedSocket); +dart.addTypeCaches(_http._DetachedSocket); +_http._DetachedSocket[dart.implements] = () => [io.Socket]; +dart.setMethodSignature(_http._DetachedSocket, () => ({ + __proto__: dart.getMethods(_http._DetachedSocket.__proto__), + listen: dart.fnType(async.StreamSubscription$(typed_data.Uint8List), [dart.nullable(dart.fnType(dart.void, [typed_data.Uint8List]))], {cancelOnError: dart.nullable(core.bool), onDone: dart.nullable(dart.fnType(dart.void, [])), onError: dart.nullable(core.Function)}, {}), + write: dart.fnType(dart.void, [dart.nullable(core.Object)]), + writeln: dart.fnType(dart.void, [], [dart.nullable(core.Object)]), + writeCharCode: dart.fnType(dart.void, [core.int]), + writeAll: dart.fnType(dart.void, [core.Iterable], [core.String]), + add: dart.fnType(dart.void, [dart.nullable(core.Object)]), + addError: dart.fnType(dart.void, [core.Object], [dart.nullable(core.StackTrace)]), + addStream: dart.fnType(async.Future, [dart.nullable(core.Object)]), + destroy: dart.fnType(dart.void, []), + flush: dart.fnType(async.Future, []), + close: dart.fnType(async.Future, []), + setOption: dart.fnType(core.bool, [io.SocketOption, core.bool]), + getRawOption: dart.fnType(typed_data.Uint8List, [io.RawSocketOption]), + setRawOption: dart.fnType(dart.void, [io.RawSocketOption]), + [_toJSON$]: dart.fnType(core.Map, [core.bool]) +})); +dart.setGetterSignature(_http._DetachedSocket, () => ({ + __proto__: dart.getGetters(_http._DetachedSocket.__proto__), + encoding: convert.Encoding, + done: async.Future, + port: core.int, + address: io.InternetAddress, + remoteAddress: io.InternetAddress, + remotePort: core.int, + [__IOSink_encoding_isSet]: dart.dynamic, + [__IOSink_encoding]: dart.nullable(convert.Encoding) +})); +dart.setSetterSignature(_http._DetachedSocket, () => ({ + __proto__: dart.getSetters(_http._DetachedSocket.__proto__), + encoding: convert.Encoding, + [__IOSink_encoding_isSet]: dart.dynamic, + [__IOSink_encoding]: dart.nullable(convert.Encoding) +})); +dart.setLibraryUri(_http._DetachedSocket, I[177]); +dart.setFieldSignature(_http._DetachedSocket, () => ({ + __proto__: dart.getFields(_http._DetachedSocket.__proto__), + [_incoming$]: dart.finalFieldType(async.Stream$(typed_data.Uint8List)), + [_socket$0]: dart.finalFieldType(io.Socket) +})); +var _scheme$ = dart.privateName(_http, "_AuthenticationScheme._scheme"); +var _scheme = dart.privateName(_http, "_scheme"); +_http._AuthenticationScheme = class _AuthenticationScheme extends core.Object { + get [_scheme]() { + return this[_scheme$]; + } + set [_scheme](value) { + super[_scheme] = value; + } + static fromString(scheme) { + if (scheme == null) dart.nullFailed(I[181], 3491, 51, "scheme"); + if (scheme[$toLowerCase]() === "basic") return _http._AuthenticationScheme.BASIC; + if (scheme[$toLowerCase]() === "digest") return _http._AuthenticationScheme.DIGEST; + return _http._AuthenticationScheme.UNKNOWN; + } + toString() { + if (this[$_equals](_http._AuthenticationScheme.BASIC)) return "Basic"; + if (this[$_equals](_http._AuthenticationScheme.DIGEST)) return "Digest"; + return "Unknown"; + } +}; +(_http._AuthenticationScheme.new = function(_scheme) { + if (_scheme == null) dart.nullFailed(I[181], 3489, 36, "_scheme"); + this[_scheme$] = _scheme; + ; +}).prototype = _http._AuthenticationScheme.prototype; +dart.addTypeTests(_http._AuthenticationScheme); +dart.addTypeCaches(_http._AuthenticationScheme); +dart.setLibraryUri(_http._AuthenticationScheme, I[177]); +dart.setFieldSignature(_http._AuthenticationScheme, () => ({ + __proto__: dart.getFields(_http._AuthenticationScheme.__proto__), + [_scheme]: dart.finalFieldType(core.int) +})); +dart.defineExtensionMethods(_http._AuthenticationScheme, ['toString']); +dart.defineLazy(_http._AuthenticationScheme, { + /*_http._AuthenticationScheme.UNKNOWN*/get UNKNOWN() { + return C[478] || CT.C478; + }, + /*_http._AuthenticationScheme.BASIC*/get BASIC() { + return C[479] || CT.C479; + }, + /*_http._AuthenticationScheme.DIGEST*/get DIGEST() { + return C[480] || CT.C480; + } +}, false); +_http._Credentials = class _Credentials extends core.Object { + get scheme() { + return this.credentials.scheme; + } +}; +(_http._Credentials.new = function(credentials, realm) { + let t301; + if (credentials == null) dart.nullFailed(I[181], 3516, 21, "credentials"); + if (realm == null) dart.nullFailed(I[181], 3516, 39, "realm"); + this.used = false; + this.ha1 = null; + this.nonce = null; + this.algorithm = null; + this.qop = null; + this.nonceCount = null; + this.credentials = credentials; + this.realm = realm; + if (dart.equals(this.credentials.scheme, _http._AuthenticationScheme.DIGEST)) { + let creds = _http._HttpClientDigestCredentials.as(this.credentials); + let hasher = (t301 = new _http._MD5.new(), (() => { + t301.add(convert.utf8.encode(creds.username)); + t301.add(T$.JSArrayOfint().of([58])); + t301.add(this.realm[$codeUnits]); + t301.add(T$.JSArrayOfint().of([58])); + t301.add(convert.utf8.encode(creds.password)); + return t301; + })()); + this.ha1 = _http._CryptoUtils.bytesToHex(hasher.close()); + } +}).prototype = _http._Credentials.prototype; +dart.addTypeTests(_http._Credentials); +dart.addTypeCaches(_http._Credentials); +dart.setGetterSignature(_http._Credentials, () => ({ + __proto__: dart.getGetters(_http._Credentials.__proto__), + scheme: _http._AuthenticationScheme +})); +dart.setLibraryUri(_http._Credentials, I[177]); +dart.setFieldSignature(_http._Credentials, () => ({ + __proto__: dart.getFields(_http._Credentials.__proto__), + credentials: dart.fieldType(_http._HttpClientCredentials), + realm: dart.fieldType(core.String), + used: dart.fieldType(core.bool), + ha1: dart.fieldType(dart.nullable(core.String)), + nonce: dart.fieldType(dart.nullable(core.String)), + algorithm: dart.fieldType(dart.nullable(core.String)), + qop: dart.fieldType(dart.nullable(core.String)), + nonceCount: dart.fieldType(dart.nullable(core.int)) +})); +_http._SiteCredentials = class _SiteCredentials extends _http._Credentials { + applies(uri, scheme) { + if (uri == null) dart.nullFailed(I[181], 3546, 20, "uri"); + if (scheme != null && !dart.equals(this.credentials.scheme, scheme)) return false; + if (uri.host != this.uri.host) return false; + let thisPort = this.uri.port === 0 ? 80 : this.uri.port; + let otherPort = uri.port === 0 ? 80 : uri.port; + if (otherPort != thisPort) return false; + return uri.path[$startsWith](this.uri.path); + } + authorize(request) { + if (request == null) dart.nullFailed(I[181], 3556, 36, "request"); + if (dart.equals(this.credentials.scheme, _http._AuthenticationScheme.DIGEST) && this.nonce == null) { + return; + } + this.credentials.authorize(this, _http._HttpClientRequest.as(request)); + this.used = true; + } +}; +(_http._SiteCredentials.new = function(uri, realm, creds) { + if (uri == null) dart.nullFailed(I[181], 3543, 25, "uri"); + if (creds == null) dart.nullFailed(I[181], 3543, 60, "creds"); + this.uri = uri; + _http._SiteCredentials.__proto__.new.call(this, creds, core.String.as(realm)); + ; +}).prototype = _http._SiteCredentials.prototype; +dart.addTypeTests(_http._SiteCredentials); +dart.addTypeCaches(_http._SiteCredentials); +dart.setMethodSignature(_http._SiteCredentials, () => ({ + __proto__: dart.getMethods(_http._SiteCredentials.__proto__), + applies: dart.fnType(core.bool, [core.Uri, dart.nullable(_http._AuthenticationScheme)]), + authorize: dart.fnType(dart.void, [_http.HttpClientRequest]) +})); +dart.setLibraryUri(_http._SiteCredentials, I[177]); +dart.setFieldSignature(_http._SiteCredentials, () => ({ + __proto__: dart.getFields(_http._SiteCredentials.__proto__), + uri: dart.fieldType(core.Uri) +})); +_http._ProxyCredentials = class _ProxyCredentials extends _http._Credentials { + applies(proxy, scheme) { + if (proxy == null) dart.nullFailed(I[181], 3574, 23, "proxy"); + if (scheme != null && !dart.equals(this.credentials.scheme, scheme)) return false; + return proxy.host == this.host && proxy.port == this.port; + } + authorize(request) { + if (request == null) dart.nullFailed(I[181], 3579, 36, "request"); + if (dart.equals(this.credentials.scheme, _http._AuthenticationScheme.DIGEST) && this.nonce == null) { + return; + } + this.credentials.authorizeProxy(this, _http._HttpClientRequest.as(request)); + } +}; +(_http._ProxyCredentials.new = function(host, port, realm, creds) { + if (host == null) dart.nullFailed(I[181], 3571, 26, "host"); + if (port == null) dart.nullFailed(I[181], 3571, 37, "port"); + if (creds == null) dart.nullFailed(I[181], 3571, 73, "creds"); + this.host = host; + this.port = port; + _http._ProxyCredentials.__proto__.new.call(this, creds, core.String.as(realm)); + ; +}).prototype = _http._ProxyCredentials.prototype; +dart.addTypeTests(_http._ProxyCredentials); +dart.addTypeCaches(_http._ProxyCredentials); +dart.setMethodSignature(_http._ProxyCredentials, () => ({ + __proto__: dart.getMethods(_http._ProxyCredentials.__proto__), + applies: dart.fnType(core.bool, [_http._Proxy, dart.nullable(_http._AuthenticationScheme)]), + authorize: dart.fnType(dart.void, [_http.HttpClientRequest]) +})); +dart.setLibraryUri(_http._ProxyCredentials, I[177]); +dart.setFieldSignature(_http._ProxyCredentials, () => ({ + __proto__: dart.getFields(_http._ProxyCredentials.__proto__), + host: dart.fieldType(core.String), + port: dart.fieldType(core.int) +})); +_http._HttpClientCredentials = class _HttpClientCredentials extends core.Object {}; +(_http._HttpClientCredentials.new = function() { + ; +}).prototype = _http._HttpClientCredentials.prototype; +dart.addTypeTests(_http._HttpClientCredentials); +dart.addTypeCaches(_http._HttpClientCredentials); +_http._HttpClientCredentials[dart.implements] = () => [_http.HttpClientCredentials]; +dart.setLibraryUri(_http._HttpClientCredentials, I[177]); +_http._HttpClientBasicCredentials = class _HttpClientBasicCredentials extends _http._HttpClientCredentials { + get scheme() { + return _http._AuthenticationScheme.BASIC; + } + authorization() { + let auth = _http._CryptoUtils.bytesToBase64(convert.utf8.encode(dart.str(this.username) + ":" + dart.str(this.password))); + return "Basic " + dart.str(auth); + } + authorize(_, request) { + if (_ == null) dart.nullFailed(I[181], 3616, 31, "_"); + if (request == null) dart.nullFailed(I[181], 3616, 52, "request"); + request.headers.set("authorization", this.authorization()); + } + authorizeProxy(_, request) { + if (_ == null) dart.nullFailed(I[181], 3620, 41, "_"); + if (request == null) dart.nullFailed(I[181], 3620, 62, "request"); + request.headers.set("proxy-authorization", this.authorization()); + } +}; +(_http._HttpClientBasicCredentials.new = function(username, password) { + if (username == null) dart.nullFailed(I[181], 3600, 36, "username"); + if (password == null) dart.nullFailed(I[181], 3600, 51, "password"); + this.username = username; + this.password = password; + ; +}).prototype = _http._HttpClientBasicCredentials.prototype; +dart.addTypeTests(_http._HttpClientBasicCredentials); +dart.addTypeCaches(_http._HttpClientBasicCredentials); +_http._HttpClientBasicCredentials[dart.implements] = () => [_http.HttpClientBasicCredentials]; +dart.setMethodSignature(_http._HttpClientBasicCredentials, () => ({ + __proto__: dart.getMethods(_http._HttpClientBasicCredentials.__proto__), + authorization: dart.fnType(core.String, []), + authorize: dart.fnType(dart.void, [_http._Credentials, _http.HttpClientRequest]), + authorizeProxy: dart.fnType(dart.void, [_http._ProxyCredentials, _http.HttpClientRequest]) +})); +dart.setGetterSignature(_http._HttpClientBasicCredentials, () => ({ + __proto__: dart.getGetters(_http._HttpClientBasicCredentials.__proto__), + scheme: _http._AuthenticationScheme +})); +dart.setLibraryUri(_http._HttpClientBasicCredentials, I[177]); +dart.setFieldSignature(_http._HttpClientBasicCredentials, () => ({ + __proto__: dart.getFields(_http._HttpClientBasicCredentials.__proto__), + username: dart.fieldType(core.String), + password: dart.fieldType(core.String) +})); +_http._HttpClientDigestCredentials = class _HttpClientDigestCredentials extends _http._HttpClientCredentials { + get scheme() { + return _http._AuthenticationScheme.DIGEST; + } + authorization(credentials, request) { + let t301, t301$, t301$0, t301$1, t301$2, t301$3; + if (credentials == null) dart.nullFailed(I[181], 3634, 37, "credentials"); + if (request == null) dart.nullFailed(I[181], 3634, 69, "request"); + let requestUri = request[_requestUri](); + let hasher = (t301 = new _http._MD5.new(), (() => { + t301.add(request.method[$codeUnits]); + t301.add(T$.JSArrayOfint().of([58])); + t301.add(requestUri[$codeUnits]); + return t301; + })()); + let ha2 = _http._CryptoUtils.bytesToHex(hasher.close()); + let isAuth = false; + let cnonce = ""; + let nc = ""; + hasher = (t301$ = new _http._MD5.new(), (() => { + t301$.add(dart.nullCheck(credentials.ha1)[$codeUnits]); + t301$.add(T$.JSArrayOfint().of([58])); + return t301$; + })()); + if (credentials.qop === "auth") { + isAuth = true; + cnonce = _http._CryptoUtils.bytesToHex(_http._CryptoUtils.getRandomBytes(4)); + let nonceCount = dart.nullCheck(credentials.nonceCount) + 1; + credentials.nonceCount = nonceCount; + nc = nonceCount[$toRadixString](16)[$padLeft](9, "0"); + t301$0 = hasher; + (() => { + t301$0.add(dart.nullCheck(credentials.nonce)[$codeUnits]); + t301$0.add(T$.JSArrayOfint().of([58])); + t301$0.add(nc[$codeUnits]); + t301$0.add(T$.JSArrayOfint().of([58])); + t301$0.add(cnonce[$codeUnits]); + t301$0.add(T$.JSArrayOfint().of([58])); + t301$0.add("auth"[$codeUnits]); + t301$0.add(T$.JSArrayOfint().of([58])); + t301$0.add(ha2[$codeUnits]); + return t301$0; + })(); + } else { + t301$1 = hasher; + (() => { + t301$1.add(dart.nullCheck(credentials.nonce)[$codeUnits]); + t301$1.add(T$.JSArrayOfint().of([58])); + t301$1.add(ha2[$codeUnits]); + return t301$1; + })(); + } + let response = _http._CryptoUtils.bytesToHex(hasher.close()); + let buffer = (t301$2 = new core.StringBuffer.new(), (() => { + t301$2.write("Digest "); + t301$2.write("username=\"" + dart.str(this.username) + "\""); + t301$2.write(", realm=\"" + dart.str(credentials.realm) + "\""); + t301$2.write(", nonce=\"" + dart.str(credentials.nonce) + "\""); + t301$2.write(", uri=\"" + dart.str(requestUri) + "\""); + t301$2.write(", algorithm=\"" + dart.str(credentials.algorithm) + "\""); + return t301$2; + })()); + if (isAuth) { + t301$3 = buffer; + (() => { + t301$3.write(", qop=\"auth\""); + t301$3.write(", cnonce=\"" + dart.str(cnonce) + "\""); + t301$3.write(", nc=\"" + nc + "\""); + return t301$3; + })(); + } + buffer.write(", response=\"" + dart.str(response) + "\""); + return dart.toString(buffer); + } + authorize(credentials, request) { + if (credentials == null) dart.nullFailed(I[181], 3689, 31, "credentials"); + if (request == null) dart.nullFailed(I[181], 3689, 62, "request"); + request.headers.set("authorization", this.authorization(credentials, _http._HttpClientRequest.as(request))); + } + authorizeProxy(credentials, request) { + if (credentials == null) dart.nullFailed(I[181], 3695, 25, "credentials"); + if (request == null) dart.nullFailed(I[181], 3695, 56, "request"); + request.headers.set("proxy-authorization", this.authorization(credentials, _http._HttpClientRequest.as(request))); + } +}; +(_http._HttpClientDigestCredentials.new = function(username, password) { + if (username == null) dart.nullFailed(I[181], 3630, 37, "username"); + if (password == null) dart.nullFailed(I[181], 3630, 52, "password"); + this.username = username; + this.password = password; + ; +}).prototype = _http._HttpClientDigestCredentials.prototype; +dart.addTypeTests(_http._HttpClientDigestCredentials); +dart.addTypeCaches(_http._HttpClientDigestCredentials); +_http._HttpClientDigestCredentials[dart.implements] = () => [_http.HttpClientDigestCredentials]; +dart.setMethodSignature(_http._HttpClientDigestCredentials, () => ({ + __proto__: dart.getMethods(_http._HttpClientDigestCredentials.__proto__), + authorization: dart.fnType(core.String, [_http._Credentials, _http._HttpClientRequest]), + authorize: dart.fnType(dart.void, [_http._Credentials, _http.HttpClientRequest]), + authorizeProxy: dart.fnType(dart.void, [_http._ProxyCredentials, _http.HttpClientRequest]) +})); +dart.setGetterSignature(_http._HttpClientDigestCredentials, () => ({ + __proto__: dart.getGetters(_http._HttpClientDigestCredentials.__proto__), + scheme: _http._AuthenticationScheme +})); +dart.setLibraryUri(_http._HttpClientDigestCredentials, I[177]); +dart.setFieldSignature(_http._HttpClientDigestCredentials, () => ({ + __proto__: dart.getFields(_http._HttpClientDigestCredentials.__proto__), + username: dart.fieldType(core.String), + password: dart.fieldType(core.String) +})); +var statusCode$ = dart.privateName(_http, "_RedirectInfo.statusCode"); +var method$ = dart.privateName(_http, "_RedirectInfo.method"); +var location$ = dart.privateName(_http, "_RedirectInfo.location"); +_http._RedirectInfo = class _RedirectInfo extends core.Object { + get statusCode() { + return this[statusCode$]; + } + set statusCode(value) { + super.statusCode = value; + } + get method() { + return this[method$]; + } + set method(value) { + super.method = value; + } + get location() { + return this[location$]; + } + set location(value) { + super.location = value; + } +}; +(_http._RedirectInfo.new = function(statusCode, method, location) { + if (statusCode == null) dart.nullFailed(I[181], 3705, 28, "statusCode"); + if (method == null) dart.nullFailed(I[181], 3705, 45, "method"); + if (location == null) dart.nullFailed(I[181], 3705, 58, "location"); + this[statusCode$] = statusCode; + this[method$] = method; + this[location$] = location; + ; +}).prototype = _http._RedirectInfo.prototype; +dart.addTypeTests(_http._RedirectInfo); +dart.addTypeCaches(_http._RedirectInfo); +_http._RedirectInfo[dart.implements] = () => [_http.RedirectInfo]; +dart.setLibraryUri(_http._RedirectInfo, I[177]); +dart.setFieldSignature(_http._RedirectInfo, () => ({ + __proto__: dart.getFields(_http._RedirectInfo.__proto__), + statusCode: dart.finalFieldType(core.int), + method: dart.finalFieldType(core.String), + location: dart.finalFieldType(core.Uri) +})); +_http._Const = class _Const extends core.Object {}; +(_http._Const.new = function() { + ; +}).prototype = _http._Const.prototype; +dart.addTypeTests(_http._Const); +dart.addTypeCaches(_http._Const); +dart.setLibraryUri(_http._Const, I[177]); +dart.defineLazy(_http._Const, { + /*_http._Const.HTTP*/get HTTP() { + return C[481] || CT.C481; + }, + /*_http._Const.HTTP1DOT*/get HTTP1DOT() { + return C[482] || CT.C482; + }, + /*_http._Const.HTTP10*/get HTTP10() { + return C[483] || CT.C483; + }, + /*_http._Const.HTTP11*/get HTTP11() { + return C[484] || CT.C484; + }, + /*_http._Const.T*/get T() { + return true; + }, + /*_http._Const.F*/get F() { + return false; + }, + /*_http._Const.SEPARATOR_MAP*/get SEPARATOR_MAP() { + return C[485] || CT.C485; + } +}, false); +_http._CharCode = class _CharCode extends core.Object {}; +(_http._CharCode.new = function() { + ; +}).prototype = _http._CharCode.prototype; +dart.addTypeTests(_http._CharCode); +dart.addTypeCaches(_http._CharCode); +dart.setLibraryUri(_http._CharCode, I[177]); +dart.defineLazy(_http._CharCode, { + /*_http._CharCode.HT*/get HT() { + return 9; + }, + /*_http._CharCode.LF*/get LF() { + return 10; + }, + /*_http._CharCode.CR*/get CR() { + return 13; + }, + /*_http._CharCode.SP*/get SP() { + return 32; + }, + /*_http._CharCode.AMPERSAND*/get AMPERSAND() { + return 38; + }, + /*_http._CharCode.COMMA*/get COMMA() { + return 44; + }, + /*_http._CharCode.DASH*/get DASH() { + return 45; + }, + /*_http._CharCode.SLASH*/get SLASH() { + return 47; + }, + /*_http._CharCode.ZERO*/get ZERO() { + return 48; + }, + /*_http._CharCode.ONE*/get ONE() { + return 49; + }, + /*_http._CharCode.COLON*/get COLON() { + return 58; + }, + /*_http._CharCode.SEMI_COLON*/get SEMI_COLON() { + return 59; + }, + /*_http._CharCode.EQUAL*/get EQUAL() { + return 61; + } +}, false); +_http._State = class _State extends core.Object {}; +(_http._State.new = function() { + ; +}).prototype = _http._State.prototype; +dart.addTypeTests(_http._State); +dart.addTypeCaches(_http._State); +dart.setLibraryUri(_http._State, I[177]); +dart.defineLazy(_http._State, { + /*_http._State.START*/get START() { + return 0; + }, + /*_http._State.METHOD_OR_RESPONSE_HTTP_VERSION*/get METHOD_OR_RESPONSE_HTTP_VERSION() { + return 1; + }, + /*_http._State.RESPONSE_HTTP_VERSION*/get RESPONSE_HTTP_VERSION() { + return 2; + }, + /*_http._State.REQUEST_LINE_METHOD*/get REQUEST_LINE_METHOD() { + return 3; + }, + /*_http._State.REQUEST_LINE_URI*/get REQUEST_LINE_URI() { + return 4; + }, + /*_http._State.REQUEST_LINE_HTTP_VERSION*/get REQUEST_LINE_HTTP_VERSION() { + return 5; + }, + /*_http._State.REQUEST_LINE_ENDING*/get REQUEST_LINE_ENDING() { + return 6; + }, + /*_http._State.RESPONSE_LINE_STATUS_CODE*/get RESPONSE_LINE_STATUS_CODE() { + return 7; + }, + /*_http._State.RESPONSE_LINE_REASON_PHRASE*/get RESPONSE_LINE_REASON_PHRASE() { + return 8; + }, + /*_http._State.RESPONSE_LINE_ENDING*/get RESPONSE_LINE_ENDING() { + return 9; + }, + /*_http._State.HEADER_START*/get HEADER_START() { + return 10; + }, + /*_http._State.HEADER_FIELD*/get HEADER_FIELD() { + return 11; + }, + /*_http._State.HEADER_VALUE_START*/get HEADER_VALUE_START() { + return 12; + }, + /*_http._State.HEADER_VALUE*/get HEADER_VALUE() { + return 13; + }, + /*_http._State.HEADER_VALUE_FOLD_OR_END_CR*/get HEADER_VALUE_FOLD_OR_END_CR() { + return 14; + }, + /*_http._State.HEADER_VALUE_FOLD_OR_END*/get HEADER_VALUE_FOLD_OR_END() { + return 15; + }, + /*_http._State.HEADER_ENDING*/get HEADER_ENDING() { + return 16; + }, + /*_http._State.CHUNK_SIZE_STARTING_CR*/get CHUNK_SIZE_STARTING_CR() { + return 17; + }, + /*_http._State.CHUNK_SIZE_STARTING*/get CHUNK_SIZE_STARTING() { + return 18; + }, + /*_http._State.CHUNK_SIZE*/get CHUNK_SIZE() { + return 19; + }, + /*_http._State.CHUNK_SIZE_EXTENSION*/get CHUNK_SIZE_EXTENSION() { + return 20; + }, + /*_http._State.CHUNK_SIZE_ENDING*/get CHUNK_SIZE_ENDING() { + return 21; + }, + /*_http._State.CHUNKED_BODY_DONE_CR*/get CHUNKED_BODY_DONE_CR() { + return 22; + }, + /*_http._State.CHUNKED_BODY_DONE*/get CHUNKED_BODY_DONE() { + return 23; + }, + /*_http._State.BODY*/get BODY() { + return 24; + }, + /*_http._State.CLOSED*/get CLOSED() { + return 25; + }, + /*_http._State.UPGRADED*/get UPGRADED() { + return 26; + }, + /*_http._State.FAILURE*/get FAILURE() { + return 27; + }, + /*_http._State.FIRST_BODY_STATE*/get FIRST_BODY_STATE() { + return 17; + } +}, false); +_http._HttpVersion = class _HttpVersion extends core.Object {}; +(_http._HttpVersion.new = function() { + ; +}).prototype = _http._HttpVersion.prototype; +dart.addTypeTests(_http._HttpVersion); +dart.addTypeCaches(_http._HttpVersion); +dart.setLibraryUri(_http._HttpVersion, I[177]); +dart.defineLazy(_http._HttpVersion, { + /*_http._HttpVersion.UNDETERMINED*/get UNDETERMINED() { + return 0; + }, + /*_http._HttpVersion.HTTP10*/get HTTP10() { + return 1; + }, + /*_http._HttpVersion.HTTP11*/get HTTP11() { + return 2; + } +}, false); +_http._MessageType = class _MessageType extends core.Object {}; +(_http._MessageType.new = function() { + ; +}).prototype = _http._MessageType.prototype; +dart.addTypeTests(_http._MessageType); +dart.addTypeCaches(_http._MessageType); +dart.setLibraryUri(_http._MessageType, I[177]); +dart.defineLazy(_http._MessageType, { + /*_http._MessageType.UNDETERMINED*/get UNDETERMINED() { + return 0; + }, + /*_http._MessageType.REQUEST*/get REQUEST() { + return 1; + }, + /*_http._MessageType.RESPONSE*/get RESPONSE() { + return 0; + } +}, false); +var _isCanceled$ = dart.privateName(_http, "_isCanceled"); +var _scheduled = dart.privateName(_http, "_scheduled"); +var _pauseCount$ = dart.privateName(_http, "_pauseCount"); +var _injectData$ = dart.privateName(_http, "_injectData"); +var _userOnData$ = dart.privateName(_http, "_userOnData"); +var _maybeScheduleData = dart.privateName(_http, "_maybeScheduleData"); +_http._HttpDetachedStreamSubscription = class _HttpDetachedStreamSubscription extends core.Object { + get isPaused() { + return this[_subscription$0].isPaused; + } + asFuture(T, futureValue = null) { + return this[_subscription$0].asFuture(T, T.as(futureValue)); + } + cancel() { + this[_isCanceled$] = true; + this[_injectData$] = null; + return this[_subscription$0].cancel(); + } + onData(handleData) { + this[_userOnData$] = handleData; + this[_subscription$0].onData(handleData); + } + onDone(handleDone) { + this[_subscription$0].onDone(handleDone); + } + onError(handleError) { + this[_subscription$0].onError(handleError); + } + pause(resumeSignal = null) { + if (this[_injectData$] == null) { + this[_subscription$0].pause(resumeSignal); + } else { + this[_pauseCount$] = dart.notNull(this[_pauseCount$]) + 1; + if (resumeSignal != null) { + resumeSignal.whenComplete(dart.bind(this, 'resume')); + } + } + } + resume() { + if (this[_injectData$] == null) { + this[_subscription$0].resume(); + } else { + this[_pauseCount$] = dart.notNull(this[_pauseCount$]) - 1; + this[_maybeScheduleData](); + } + } + [_maybeScheduleData]() { + if (dart.test(this[_scheduled])) return; + if (this[_pauseCount$] !== 0) return; + this[_scheduled] = true; + async.scheduleMicrotask(dart.fn(() => { + let t301; + this[_scheduled] = false; + if (dart.notNull(this[_pauseCount$]) > 0 || dart.test(this[_isCanceled$])) return; + let data = this[_injectData$]; + this[_injectData$] = null; + this[_subscription$0].resume(); + t301 = this[_userOnData$]; + t301 == null ? null : dart.dcall(t301, [data]); + }, T$.VoidTovoid())); + } +}; +(_http._HttpDetachedStreamSubscription.new = function(_subscription, _injectData, _userOnData) { + if (_subscription == null) dart.nullFailed(I[182], 120, 12, "_subscription"); + this[_isCanceled$] = false; + this[_scheduled] = false; + this[_pauseCount$] = 1; + this[_subscription$0] = _subscription; + this[_injectData$] = _injectData; + this[_userOnData$] = _userOnData; + ; +}).prototype = _http._HttpDetachedStreamSubscription.prototype; +_http._HttpDetachedStreamSubscription.prototype[dart.isStreamSubscription] = true; +dart.addTypeTests(_http._HttpDetachedStreamSubscription); +dart.addTypeCaches(_http._HttpDetachedStreamSubscription); +_http._HttpDetachedStreamSubscription[dart.implements] = () => [async.StreamSubscription$(typed_data.Uint8List)]; +dart.setMethodSignature(_http._HttpDetachedStreamSubscription, () => ({ + __proto__: dart.getMethods(_http._HttpDetachedStreamSubscription.__proto__), + asFuture: dart.gFnType(T => [async.Future$(T), [], [dart.nullable(T)]], T => [dart.nullable(core.Object)]), + cancel: dart.fnType(async.Future, []), + onData: dart.fnType(dart.void, [dart.nullable(dart.fnType(dart.void, [typed_data.Uint8List]))]), + onDone: dart.fnType(dart.void, [dart.nullable(dart.fnType(dart.void, []))]), + onError: dart.fnType(dart.void, [dart.nullable(core.Function)]), + pause: dart.fnType(dart.void, [], [dart.nullable(async.Future)]), + resume: dart.fnType(dart.void, []), + [_maybeScheduleData]: dart.fnType(dart.void, []) +})); +dart.setGetterSignature(_http._HttpDetachedStreamSubscription, () => ({ + __proto__: dart.getGetters(_http._HttpDetachedStreamSubscription.__proto__), + isPaused: core.bool +})); +dart.setLibraryUri(_http._HttpDetachedStreamSubscription, I[177]); +dart.setFieldSignature(_http._HttpDetachedStreamSubscription, () => ({ + __proto__: dart.getFields(_http._HttpDetachedStreamSubscription.__proto__), + [_subscription$0]: dart.fieldType(async.StreamSubscription$(typed_data.Uint8List)), + [_injectData$]: dart.fieldType(dart.nullable(typed_data.Uint8List)), + [_userOnData$]: dart.fieldType(dart.nullable(core.Function)), + [_isCanceled$]: dart.fieldType(core.bool), + [_scheduled]: dart.fieldType(core.bool), + [_pauseCount$]: dart.fieldType(core.int) +})); +_http._HttpDetachedIncoming = class _HttpDetachedIncoming extends async.Stream$(typed_data.Uint8List) { + listen(onData, opts) { + let t301, t301$, t301$0; + let onError = opts && 'onError' in opts ? opts.onError : null; + let onDone = opts && 'onDone' in opts ? opts.onDone : null; + let cancelOnError = opts && 'cancelOnError' in opts ? opts.cancelOnError : null; + let subscription = this.subscription; + if (subscription != null) { + t301 = subscription; + (() => { + t301.onData(onData); + t301.onError(onError); + t301.onDone(onDone); + return t301; + })(); + if (this.bufferedData == null) { + t301$ = subscription; + return (() => { + t301$.resume(); + return t301$; + })(); + } + t301$0 = new _http._HttpDetachedStreamSubscription.new(subscription, this.bufferedData, onData); + return (() => { + t301$0.resume(); + return t301$0; + })(); + } else { + return T.StreamOfUint8List().fromIterable(T$.JSArrayOfUint8List().of([dart.nullCheck(this.bufferedData)])).listen(onData, {onError: onError, onDone: onDone, cancelOnError: cancelOnError}); + } + } +}; +(_http._HttpDetachedIncoming.new = function(subscription, bufferedData) { + this.subscription = subscription; + this.bufferedData = bufferedData; + _http._HttpDetachedIncoming.__proto__.new.call(this); + ; +}).prototype = _http._HttpDetachedIncoming.prototype; +dart.addTypeTests(_http._HttpDetachedIncoming); +dart.addTypeCaches(_http._HttpDetachedIncoming); +dart.setMethodSignature(_http._HttpDetachedIncoming, () => ({ + __proto__: dart.getMethods(_http._HttpDetachedIncoming.__proto__), + listen: dart.fnType(async.StreamSubscription$(typed_data.Uint8List), [dart.nullable(dart.fnType(dart.void, [typed_data.Uint8List]))], {cancelOnError: dart.nullable(core.bool), onDone: dart.nullable(dart.fnType(dart.void, [])), onError: dart.nullable(core.Function)}, {}) +})); +dart.setLibraryUri(_http._HttpDetachedIncoming, I[177]); +dart.setFieldSignature(_http._HttpDetachedIncoming, () => ({ + __proto__: dart.getFields(_http._HttpDetachedIncoming.__proto__), + subscription: dart.finalFieldType(dart.nullable(async.StreamSubscription$(typed_data.Uint8List))), + bufferedData: dart.finalFieldType(dart.nullable(typed_data.Uint8List)) +})); +var _parserCalled = dart.privateName(_http, "_parserCalled"); +var _index$1 = dart.privateName(_http, "_index"); +var _httpVersionIndex = dart.privateName(_http, "_httpVersionIndex"); +var _messageType = dart.privateName(_http, "_messageType"); +var _statusCodeLength = dart.privateName(_http, "_statusCodeLength"); +var _method$ = dart.privateName(_http, "_method"); +var _uriOrReasonPhrase = dart.privateName(_http, "_uriOrReasonPhrase"); +var _headerField = dart.privateName(_http, "_headerField"); +var _headerValue = dart.privateName(_http, "_headerValue"); +var _headersReceivedSize = dart.privateName(_http, "_headersReceivedSize"); +var _httpVersion = dart.privateName(_http, "_httpVersion"); +var _connectionUpgrade = dart.privateName(_http, "_connectionUpgrade"); +var _chunked = dart.privateName(_http, "_chunked"); +var _noMessageBody = dart.privateName(_http, "_noMessageBody"); +var _remainingContent = dart.privateName(_http, "_remainingContent"); +var _transferEncoding = dart.privateName(_http, "_transferEncoding"); +var _chunkSizeLimit = dart.privateName(_http, "_chunkSizeLimit"); +var _socketSubscription$ = dart.privateName(_http, "_socketSubscription"); +var _paused = dart.privateName(_http, "_paused"); +var _bodyPaused = dart.privateName(_http, "_bodyPaused"); +var _bodyController = dart.privateName(_http, "_bodyController"); +var _requestParser$ = dart.privateName(_http, "_requestParser"); +var _pauseStateChanged = dart.privateName(_http, "_pauseStateChanged"); +var _reset = dart.privateName(_http, "_reset"); +var _onData$1 = dart.privateName(_http, "_onData"); +var _onDone = dart.privateName(_http, "_onDone"); +var _doParse = dart.privateName(_http, "_doParse"); +var _reportBodyError = dart.privateName(_http, "_reportBodyError"); +var _reportHttpError = dart.privateName(_http, "_reportHttpError"); +var _createIncoming = dart.privateName(_http, "_createIncoming"); +var _closeIncoming = dart.privateName(_http, "_closeIncoming"); +var _headersEnd = dart.privateName(_http, "_headersEnd"); +var _addWithValidation = dart.privateName(_http, "_addWithValidation"); +var _expect = dart.privateName(_http, "_expect"); +var _expectHexDigit = dart.privateName(_http, "_expectHexDigit"); +var _releaseBuffer = dart.privateName(_http, "_releaseBuffer"); +var _reportSizeLimitError = dart.privateName(_http, "_reportSizeLimitError"); +_http._HttpParser = class _HttpParser extends async.Stream$(_http._HttpIncoming) { + static requestParser() { + return new _http._HttpParser.__(true); + } + static responseParser() { + return new _http._HttpParser.__(false); + } + listen(onData, opts) { + let onError = opts && 'onError' in opts ? opts.onError : null; + let onDone = opts && 'onDone' in opts ? opts.onDone : null; + let cancelOnError = opts && 'cancelOnError' in opts ? opts.cancelOnError : null; + return this[_controller$0].stream.listen(onData, {onError: onError, onDone: onDone, cancelOnError: cancelOnError}); + } + listenToStream(stream) { + if (stream == null) dart.nullFailed(I[182], 312, 41, "stream"); + this[_socketSubscription$] = stream.listen(dart.bind(this, _onData$1), {onError: dart.bind(this[_controller$0], 'addError'), onDone: dart.bind(this, _onDone)}); + } + [_parse]() { + try { + this[_doParse](); + } catch (e$) { + let e = dart.getThrown(e$); + let s = dart.stackTrace(e$); + if (core.Object.is(e)) { + if (dart.notNull(this[_state$1]) >= 17 && dart.notNull(this[_state$1]) <= 24) { + this[_state$1] = 27; + this[_reportBodyError](e, s); + } else { + this[_state$1] = 27; + this[_reportHttpError](e, s); + } + } else + throw e$; + } + } + [_headersEnd]() { + let headers = dart.nullCheck(this[_headers]); + if (!dart.test(this[_requestParser$]) && dart.notNull(this[_statusCode]) >= 200 && dart.notNull(this[_statusCode]) < 300 && dart.test(this.connectMethod)) { + this[_transferLength$] = -1; + headers.chunkedTransferEncoding = false; + this[_chunked] = false; + headers.removeAll("content-length"); + headers.removeAll("transfer-encoding"); + } + headers[_mutable] = false; + this[_transferLength$] = headers.contentLength; + if (dart.test(this[_chunked])) this[_transferLength$] = -1; + if (this[_messageType] === 1 && dart.notNull(this[_transferLength$]) < 0 && this[_chunked] === false) { + this[_transferLength$] = 0; + } + if (dart.test(this[_connectionUpgrade])) { + this[_state$1] = 26; + this[_transferLength$] = 0; + } + let incoming = this[_createIncoming](this[_transferLength$]); + if (dart.test(this[_requestParser$])) { + incoming.method = core.String.fromCharCodes(this[_method$]); + incoming.uri = core.Uri.parse(core.String.fromCharCodes(this[_uriOrReasonPhrase])); + } else { + incoming.statusCode = this[_statusCode]; + incoming.reasonPhrase = core.String.fromCharCodes(this[_uriOrReasonPhrase]); + } + this[_method$][$clear](); + this[_uriOrReasonPhrase][$clear](); + if (dart.test(this[_connectionUpgrade])) { + incoming.upgraded = true; + this[_parserCalled] = false; + this[_closeIncoming](); + this[_controller$0].add(incoming); + return true; + } + if (this[_transferLength$] === 0 || this[_messageType] === 0 && dart.test(this[_noMessageBody])) { + this[_reset](); + this[_closeIncoming](); + this[_controller$0].add(incoming); + return false; + } else if (dart.test(this[_chunked])) { + this[_state$1] = 19; + this[_remainingContent] = 0; + } else if (dart.notNull(this[_transferLength$]) > 0) { + this[_remainingContent] = this[_transferLength$]; + this[_state$1] = 24; + } else { + this[_state$1] = 24; + } + this[_parserCalled] = false; + this[_controller$0].add(incoming); + return true; + } + [_doParse]() { + if (!!dart.test(this[_parserCalled])) dart.assertFailed(null, I[182], 426, 12, "!_parserCalled"); + this[_parserCalled] = true; + if (this[_state$1] === 25) { + dart.throw(new _http.HttpException.new("Data on closed connection")); + } + if (this[_state$1] === 27) { + dart.throw(new _http.HttpException.new("Data on failed connection")); + } + while (this[_buffer$1] != null && dart.notNull(this[_index$1]) < dart.notNull(dart.nullCheck(this[_buffer$1])[$length]) && this[_state$1] !== 27 && this[_state$1] !== 26) { + if (this[_incoming$] != null && dart.test(this[_bodyPaused]) || this[_incoming$] == null && dart.test(this[_paused])) { + this[_parserCalled] = false; + return; + } + let index = this[_index$1]; + let byte = dart.nullCheck(this[_buffer$1])[$_get](index); + this[_index$1] = dart.notNull(index) + 1; + switch (this[_state$1]) { + case 0: + { + if (byte == _http._Const.HTTP[$_get](0)) { + this[_httpVersionIndex] = 1; + this[_state$1] = 1; + } else { + if (!dart.test(_http._HttpParser._isTokenChar(byte))) { + dart.throw(new _http.HttpException.new("Invalid request method")); + } + this[_addWithValidation](this[_method$], byte); + if (!dart.test(this[_requestParser$])) { + dart.throw(new _http.HttpException.new("Invalid response line")); + } + this[_state$1] = 3; + } + break; + } + case 1: + { + let httpVersionIndex = dart.nullCheck(this[_httpVersionIndex]); + if (httpVersionIndex < dart.notNull(_http._Const.HTTP[$length]) && byte == _http._Const.HTTP[$_get](httpVersionIndex)) { + this[_httpVersionIndex] = httpVersionIndex + 1; + } else if (httpVersionIndex === _http._Const.HTTP[$length] && byte === 47) { + this[_httpVersionIndex] = httpVersionIndex + 1; + if (dart.test(this[_requestParser$])) { + dart.throw(new _http.HttpException.new("Invalid request line")); + } + this[_state$1] = 2; + } else { + for (let i = 0; i < httpVersionIndex; i = i + 1) { + this[_addWithValidation](this[_method$], _http._Const.HTTP[$_get](i)); + } + if (byte === 32) { + this[_state$1] = 4; + } else { + this[_addWithValidation](this[_method$], byte); + this[_httpVersion] = 0; + if (!dart.test(this[_requestParser$])) { + dart.throw(new _http.HttpException.new("Invalid response line")); + } + this[_state$1] = 3; + } + } + break; + } + case 2: + { + let httpVersionIndex = dart.nullCheck(this[_httpVersionIndex]); + if (httpVersionIndex < dart.notNull(_http._Const.HTTP1DOT[$length])) { + this[_expect](byte, _http._Const.HTTP1DOT[$_get](httpVersionIndex)); + this[_httpVersionIndex] = httpVersionIndex + 1; + } else if (httpVersionIndex === _http._Const.HTTP1DOT[$length] && byte === 49) { + this[_httpVersion] = 2; + this[_persistentConnection] = true; + this[_httpVersionIndex] = httpVersionIndex + 1; + } else if (httpVersionIndex === _http._Const.HTTP1DOT[$length] && byte === 48) { + this[_httpVersion] = 1; + this[_persistentConnection] = false; + this[_httpVersionIndex] = httpVersionIndex + 1; + } else if (httpVersionIndex === dart.notNull(_http._Const.HTTP1DOT[$length]) + 1) { + this[_expect](byte, 32); + this[_state$1] = 7; + } else { + dart.throw(new _http.HttpException.new("Invalid response line, failed to parse HTTP version")); + } + break; + } + case 3: + { + if (byte === 32) { + this[_state$1] = 4; + } else { + if (dart.test(_http._Const.SEPARATOR_MAP[$_get](byte)) || byte === 13 || byte === 10) { + dart.throw(new _http.HttpException.new("Invalid request method")); + } + this[_addWithValidation](this[_method$], byte); + } + break; + } + case 4: + { + if (byte === 32) { + if (this[_uriOrReasonPhrase][$length] === 0) { + dart.throw(new _http.HttpException.new("Invalid request, empty URI")); + } + this[_state$1] = 5; + this[_httpVersionIndex] = 0; + } else { + if (byte === 13 || byte === 10) { + dart.throw(new _http.HttpException.new("Invalid request, unexpected " + dart.str(byte) + " in URI")); + } + this[_addWithValidation](this[_uriOrReasonPhrase], byte); + } + break; + } + case 5: + { + let httpVersionIndex = dart.nullCheck(this[_httpVersionIndex]); + if (httpVersionIndex < dart.notNull(_http._Const.HTTP1DOT[$length])) { + this[_expect](byte, _http._Const.HTTP11[$_get](httpVersionIndex)); + this[_httpVersionIndex] = httpVersionIndex + 1; + } else if (this[_httpVersionIndex] == _http._Const.HTTP1DOT[$length]) { + if (byte === 49) { + this[_httpVersion] = 2; + this[_persistentConnection] = true; + this[_httpVersionIndex] = httpVersionIndex + 1; + } else if (byte === 48) { + this[_httpVersion] = 1; + this[_persistentConnection] = false; + this[_httpVersionIndex] = httpVersionIndex + 1; + } else { + dart.throw(new _http.HttpException.new("Invalid response, invalid HTTP version")); + } + } else { + if (byte === 13) { + this[_state$1] = 6; + } else if (byte === 10) { + this[_state$1] = 6; + this[_index$1] = dart.notNull(this[_index$1]) - 1; + } + } + break; + } + case 6: + { + this[_expect](byte, 10); + this[_messageType] = 1; + this[_state$1] = 10; + break; + } + case 7: + { + if (byte === 32) { + this[_state$1] = 8; + } else if (byte === 13) { + this[_state$1] = 9; + } else if (byte === 10) { + this[_state$1] = 9; + this[_index$1] = dart.notNull(this[_index$1]) - 1; + } else { + this[_statusCodeLength] = dart.notNull(this[_statusCodeLength]) + 1; + if (dart.notNull(byte) < 48 || dart.notNull(byte) > 57) { + dart.throw(new _http.HttpException.new("Invalid response status code with " + dart.str(byte))); + } else if (dart.notNull(this[_statusCodeLength]) > 3) { + dart.throw(new _http.HttpException.new("Invalid response, status code is over 3 digits")); + } else { + this[_statusCode] = dart.notNull(this[_statusCode]) * 10 + dart.notNull(byte) - 48; + } + } + break; + } + case 8: + { + if (byte === 13) { + this[_state$1] = 9; + } else if (byte === 10) { + this[_state$1] = 9; + this[_index$1] = dart.notNull(this[_index$1]) - 1; + } else { + this[_addWithValidation](this[_uriOrReasonPhrase], byte); + } + break; + } + case 9: + { + this[_expect](byte, 10); + this[_messageType] === 0; + if (dart.notNull(this[_statusCode]) <= 199 || this[_statusCode] === 204 || this[_statusCode] === 304) { + this[_noMessageBody] = true; + } + this[_state$1] = 10; + break; + } + case 10: + { + this[_headers] = new _http._HttpHeaders.new(dart.nullCheck(this.version)); + if (byte === 13) { + this[_state$1] = 16; + } else if (byte === 10) { + this[_state$1] = 16; + this[_index$1] = dart.notNull(this[_index$1]) - 1; + } else { + this[_addWithValidation](this[_headerField], _http._HttpParser._toLowerCaseByte(byte)); + this[_state$1] = 11; + } + break; + } + case 11: + { + if (byte === 58) { + this[_state$1] = 12; + } else { + if (!dart.test(_http._HttpParser._isTokenChar(byte))) { + dart.throw(new _http.HttpException.new("Invalid header field name, with " + dart.str(byte))); + } + this[_addWithValidation](this[_headerField], _http._HttpParser._toLowerCaseByte(byte)); + } + break; + } + case 12: + { + if (byte === 13) { + this[_state$1] = 14; + } else if (byte === 10) { + this[_state$1] = 15; + } else if (byte !== 32 && byte !== 9) { + this[_addWithValidation](this[_headerValue], byte); + this[_state$1] = 13; + } + break; + } + case 13: + { + if (byte === 13) { + this[_state$1] = 14; + } else if (byte === 10) { + this[_state$1] = 15; + } else { + this[_addWithValidation](this[_headerValue], byte); + } + break; + } + case 14: + { + this[_expect](byte, 10); + this[_state$1] = 15; + break; + } + case 15: + { + if (byte === 32 || byte === 9) { + this[_state$1] = 12; + } else { + let headerField = core.String.fromCharCodes(this[_headerField]); + let headerValue = core.String.fromCharCodes(this[_headerValue]); + let errorIfBothText = "Both Content-Length and Transfer-Encoding are specified, at most one is allowed"; + if (headerField === "content-length") { + if (dart.test(this[_contentLength])) { + dart.throw(new _http.HttpException.new("The Content-Length header occurred " + "more than once, at most one is allowed.")); + } else if (dart.test(this[_transferEncoding])) { + dart.throw(new _http.HttpException.new(errorIfBothText)); + } + this[_contentLength] = true; + } else if (headerField === "transfer-encoding") { + this[_transferEncoding] = true; + if (dart.test(_http._HttpParser._caseInsensitiveCompare("chunked"[$codeUnits], this[_headerValue]))) { + this[_chunked] = true; + } + if (dart.test(this[_contentLength])) { + dart.throw(new _http.HttpException.new(errorIfBothText)); + } + } + let headers = dart.nullCheck(this[_headers]); + if (headerField === "connection") { + let tokens = _http._HttpParser._tokenizeFieldValue(headerValue); + let isResponse = this[_messageType] === 0; + let isUpgradeCode = this[_statusCode] === 426 || this[_statusCode] === 101; + for (let i = 0; i < dart.notNull(tokens[$length]); i = i + 1) { + let isUpgrade = _http._HttpParser._caseInsensitiveCompare("upgrade"[$codeUnits], tokens[$_get](i)[$codeUnits]); + if (dart.test(isUpgrade) && !isResponse || dart.test(isUpgrade) && isResponse && isUpgradeCode) { + this[_connectionUpgrade] = true; + } + headers[_add$1](headerField, tokens[$_get](i)); + } + } else { + headers[_add$1](headerField, headerValue); + } + this[_headerField][$clear](); + this[_headerValue][$clear](); + if (byte === 13) { + this[_state$1] = 16; + } else if (byte === 10) { + this[_state$1] = 16; + this[_index$1] = dart.notNull(this[_index$1]) - 1; + } else { + this[_state$1] = 11; + this[_addWithValidation](this[_headerField], _http._HttpParser._toLowerCaseByte(byte)); + } + } + break; + } + case 16: + { + this[_expect](byte, 10); + if (dart.test(this[_headersEnd]())) { + return; + } + break; + } + case 17: + { + if (byte === 10) { + this[_state$1] = 18; + this[_index$1] = dart.notNull(this[_index$1]) - 1; + break; + } + this[_expect](byte, 13); + this[_state$1] = 18; + break; + } + case 18: + { + this[_expect](byte, 10); + this[_state$1] = 19; + break; + } + case 19: + { + if (byte === 13) { + this[_state$1] = 21; + } else if (byte === 10) { + this[_state$1] = 21; + this[_index$1] = dart.notNull(this[_index$1]) - 1; + } else if (byte === 59) { + this[_state$1] = 20; + } else { + let value = this[_expectHexDigit](byte); + if (dart.notNull(this[_remainingContent]) > this[_chunkSizeLimit][$rightShift](4)) { + dart.throw(new _http.HttpException.new("Chunk size overflows the integer")); + } + this[_remainingContent] = dart.notNull(this[_remainingContent]) * 16 + dart.notNull(value); + } + break; + } + case 20: + { + if (byte === 13) { + this[_state$1] = 21; + } else if (byte === 10) { + this[_state$1] = 21; + this[_index$1] = dart.notNull(this[_index$1]) - 1; + } + break; + } + case 21: + { + this[_expect](byte, 10); + if (dart.notNull(this[_remainingContent]) > 0) { + this[_state$1] = 24; + } else { + this[_state$1] = 22; + } + break; + } + case 22: + { + if (byte === 10) { + this[_state$1] = 23; + this[_index$1] = dart.notNull(this[_index$1]) - 1; + break; + } + this[_expect](byte, 13); + break; + } + case 23: + { + this[_expect](byte, 10); + this[_reset](); + this[_closeIncoming](); + break; + } + case 24: + { + this[_index$1] = dart.notNull(this[_index$1]) - 1; + let buffer = dart.nullCheck(this[_buffer$1]); + let dataAvailable = dart.notNull(buffer[$length]) - dart.notNull(this[_index$1]); + if (dart.notNull(this[_remainingContent]) >= 0 && dart.notNull(dataAvailable) > dart.notNull(this[_remainingContent])) { + dataAvailable = this[_remainingContent]; + } + let data = typed_data.Uint8List.view(buffer[$buffer], dart.notNull(buffer[$offsetInBytes]) + dart.notNull(this[_index$1]), dataAvailable); + dart.nullCheck(this[_bodyController]).add(data); + if (this[_remainingContent] !== -1) { + this[_remainingContent] = dart.notNull(this[_remainingContent]) - dart.notNull(data[$length]); + } + this[_index$1] = dart.notNull(this[_index$1]) + dart.notNull(data[$length]); + if (this[_remainingContent] === 0) { + if (!dart.test(this[_chunked])) { + this[_reset](); + this[_closeIncoming](); + } else { + this[_state$1] = 17; + } + } + break; + } + case 27: + { + if (!false) dart.assertFailed(null, I[182], 851, 18, "false"); + break; + } + default: + { + if (!false) dart.assertFailed(null, I[182], 856, 18, "false"); + break; + } + } + } + this[_parserCalled] = false; + let buffer = this[_buffer$1]; + if (buffer != null && this[_index$1] == buffer[$length]) { + this[_releaseBuffer](); + if (this[_state$1] !== 26 && this[_state$1] !== 27) { + dart.nullCheck(this[_socketSubscription$]).resume(); + } + } + } + [_onData$1](buffer) { + if (buffer == null) dart.nullFailed(I[182], 873, 26, "buffer"); + dart.nullCheck(this[_socketSubscription$]).pause(); + if (!(this[_buffer$1] == null)) dart.assertFailed(null, I[182], 875, 12, "_buffer == null"); + this[_buffer$1] = buffer; + this[_index$1] = 0; + this[_parse](); + } + [_onDone]() { + this[_socketSubscription$] = null; + if (this[_state$1] === 25 || this[_state$1] === 27) return; + if (this[_incoming$] != null) { + if (this[_state$1] !== 26 && !(this[_state$1] === 0 && !dart.test(this[_requestParser$])) && !(this[_state$1] === 24 && !dart.test(this[_chunked]) && this[_transferLength$] === -1)) { + this[_reportBodyError](new _http.HttpException.new("Connection closed while receiving data")); + } + this[_closeIncoming](true); + this[_controller$0].close(); + return; + } + if (this[_state$1] === 0) { + if (!dart.test(this[_requestParser$])) { + this[_reportHttpError](new _http.HttpException.new("Connection closed before full header was received")); + } + this[_controller$0].close(); + return; + } + if (this[_state$1] === 26) { + this[_controller$0].close(); + return; + } + if (dart.notNull(this[_state$1]) < 17) { + this[_state$1] = 27; + this[_reportHttpError](new _http.HttpException.new("Connection closed before full header was received")); + this[_controller$0].close(); + return; + } + if (!dart.test(this[_chunked]) && this[_transferLength$] === -1) { + this[_state$1] = 25; + } else { + this[_state$1] = 27; + this[_reportHttpError](new _http.HttpException.new("Connection closed before full body was received")); + } + this[_controller$0].close(); + } + get version() { + switch (this[_httpVersion]) { + case 1: + { + return "1.0"; + } + case 2: + { + return "1.1"; + } + } + return null; + } + get messageType() { + return this[_messageType]; + } + get transferLength() { + return this[_transferLength$]; + } + get upgrade() { + return dart.test(this[_connectionUpgrade]) && this[_state$1] === 26; + } + get persistentConnection() { + return this[_persistentConnection]; + } + set isHead(value) { + if (value == null) dart.nullFailed(I[182], 949, 24, "value"); + this[_noMessageBody] = _internal.valueOfNonNullableParamWithDefault(core.bool, value, false); + } + detachIncoming() { + this[_state$1] = 26; + return new _http._HttpDetachedIncoming.new(this[_socketSubscription$], this.readUnparsedData()); + } + readUnparsedData() { + let buffer = this[_buffer$1]; + if (buffer == null) return null; + let index = this[_index$1]; + if (index == buffer[$length]) return null; + let result = buffer[$sublist](index); + this[_releaseBuffer](); + return result; + } + [_reset]() { + if (this[_state$1] === 26) return; + this[_state$1] = 0; + this[_messageType] = 0; + this[_headerField][$clear](); + this[_headerValue][$clear](); + this[_headersReceivedSize] = 0; + this[_method$][$clear](); + this[_uriOrReasonPhrase][$clear](); + this[_statusCode] = 0; + this[_statusCodeLength] = 0; + this[_httpVersion] = 0; + this[_transferLength$] = -1; + this[_persistentConnection] = false; + this[_connectionUpgrade] = false; + this[_chunked] = false; + this[_noMessageBody] = false; + this[_remainingContent] = -1; + this[_contentLength] = false; + this[_transferEncoding] = false; + this[_headers] = null; + } + [_releaseBuffer]() { + this[_buffer$1] = null; + this[_index$1] = -1; + } + static _isTokenChar(byte) { + if (byte == null) dart.nullFailed(I[182], 1002, 32, "byte"); + return dart.notNull(byte) > 31 && dart.notNull(byte) < 128 && !dart.test(_http._Const.SEPARATOR_MAP[$_get](byte)); + } + static _isValueChar(byte) { + if (byte == null) dart.nullFailed(I[182], 1006, 32, "byte"); + return dart.notNull(byte) > 31 && dart.notNull(byte) < 128 || byte === 9; + } + static _tokenizeFieldValue(headerValue) { + if (headerValue == null) dart.nullFailed(I[182], 1010, 50, "headerValue"); + let tokens = T$.JSArrayOfString().of([]); + let start = 0; + let index = 0; + while (index < headerValue.length) { + if (headerValue[$_get](index) === ",") { + tokens[$add](headerValue[$substring](start, index)); + start = index + 1; + } else if (headerValue[$_get](index) === " " || headerValue[$_get](index) === "\t") { + start = start + 1; + } + index = index + 1; + } + tokens[$add](headerValue[$substring](start, index)); + return tokens; + } + static _toLowerCaseByte(x) { + if (x == null) dart.nullFailed(I[182], 1027, 35, "x"); + return (dart.notNull(x) - 65 & 127) < 26 ? (dart.notNull(x) | 32) >>> 0 : x; + } + static _caseInsensitiveCompare(expected, value) { + if (expected == null) dart.nullFailed(I[182], 1037, 49, "expected"); + if (value == null) dart.nullFailed(I[182], 1037, 69, "value"); + if (expected[$length] != value[$length]) return false; + for (let i = 0; i < dart.notNull(expected[$length]); i = i + 1) { + if (expected[$_get](i) != _http._HttpParser._toLowerCaseByte(value[$_get](i))) return false; + } + return true; + } + [_expect](val1, val2) { + if (val1 == null) dart.nullFailed(I[182], 1045, 20, "val1"); + if (val2 == null) dart.nullFailed(I[182], 1045, 30, "val2"); + if (val1 != val2) { + dart.throw(new _http.HttpException.new("Failed to parse HTTP, " + dart.str(val1) + " does not match " + dart.str(val2))); + } + } + [_expectHexDigit](byte) { + if (byte == null) dart.nullFailed(I[182], 1051, 27, "byte"); + if (48 <= dart.notNull(byte) && dart.notNull(byte) <= 57) { + return dart.notNull(byte) - 48; + } else if (65 <= dart.notNull(byte) && dart.notNull(byte) <= 70) { + return dart.notNull(byte) - 65 + 10; + } else if (97 <= dart.notNull(byte) && dart.notNull(byte) <= 102) { + return dart.notNull(byte) - 97 + 10; + } else { + dart.throw(new _http.HttpException.new("Failed to parse HTTP, " + dart.str(byte) + " is expected to be a Hex digit")); + } + } + [_addWithValidation](list, byte) { + if (list == null) dart.nullFailed(I[182], 1064, 37, "list"); + if (byte == null) dart.nullFailed(I[182], 1064, 47, "byte"); + this[_headersReceivedSize] = dart.notNull(this[_headersReceivedSize]) + 1; + if (dart.notNull(this[_headersReceivedSize]) < 1048576) { + list[$add](byte); + } else { + this[_reportSizeLimitError](); + } + } + [_reportSizeLimitError]() { + let method = ""; + switch (this[_state$1]) { + case 0: + case 1: + case 3: + { + method = "Method"; + break; + } + case 4: + { + method = "URI"; + break; + } + case 8: + { + method = "Reason phrase"; + break; + } + case 10: + case 11: + { + method = "Header field"; + break; + } + case 12: + case 13: + { + method = "Header value"; + break; + } + default: + { + dart.throw(new core.UnsupportedError.new("Unexpected state: " + dart.str(this[_state$1]))); + break; + } + } + dart.throw(new _http.HttpException.new(method + " exceeds the " + dart.str(1048576) + " size limit")); + } + [_createIncoming](transferLength) { + let t302; + if (transferLength == null) dart.nullFailed(I[182], 1108, 37, "transferLength"); + if (!(this[_incoming$] == null)) dart.assertFailed(null, I[182], 1109, 12, "_incoming == null"); + if (!(this[_bodyController] == null)) dart.assertFailed(null, I[182], 1110, 12, "_bodyController == null"); + if (!!dart.test(this[_bodyPaused])) dart.assertFailed(null, I[182], 1111, 12, "!_bodyPaused"); + let controller = this[_bodyController] = T$0.StreamControllerOfUint8List().new({sync: true}); + let incoming = this[_incoming$] = new _http._HttpIncoming.new(dart.nullCheck(this[_headers]), transferLength, controller.stream); + t302 = controller; + (() => { + t302.onListen = dart.fn(() => { + if (!incoming[$_equals](this[_incoming$])) return; + if (!dart.test(this[_bodyPaused])) dart.assertFailed(null, I[182], 1119, 16, "_bodyPaused"); + this[_bodyPaused] = false; + this[_pauseStateChanged](); + }, T$.VoidTovoid()); + t302.onPause = dart.fn(() => { + if (!incoming[$_equals](this[_incoming$])) return; + if (!!dart.test(this[_bodyPaused])) dart.assertFailed(null, I[182], 1125, 16, "!_bodyPaused"); + this[_bodyPaused] = true; + this[_pauseStateChanged](); + }, T$.VoidTovoid()); + t302.onResume = dart.fn(() => { + if (!incoming[$_equals](this[_incoming$])) return; + if (!dart.test(this[_bodyPaused])) dart.assertFailed(null, I[182], 1131, 16, "_bodyPaused"); + this[_bodyPaused] = false; + this[_pauseStateChanged](); + }, T$.VoidTovoid()); + t302.onCancel = dart.fn(() => { + let t303; + if (!incoming[$_equals](this[_incoming$])) return; + t303 = this[_socketSubscription$]; + t303 == null ? null : t303.cancel(); + this[_closeIncoming](true); + this[_controller$0].close(); + }, T$.VoidToNull()); + return t302; + })(); + this[_bodyPaused] = true; + this[_pauseStateChanged](); + return incoming; + } + [_closeIncoming](closing = false) { + if (closing == null) dart.nullFailed(I[182], 1146, 29, "closing"); + let tmp = this[_incoming$]; + if (tmp == null) return; + tmp.close(closing); + this[_incoming$] = null; + let controller = this[_bodyController]; + if (controller != null) { + controller.close(); + this[_bodyController] = null; + } + this[_bodyPaused] = false; + this[_pauseStateChanged](); + } + [_pauseStateChanged]() { + if (this[_incoming$] != null) { + if (!dart.test(this[_bodyPaused]) && !dart.test(this[_parserCalled])) { + this[_parse](); + } + } else { + if (!dart.test(this[_paused]) && !dart.test(this[_parserCalled])) { + this[_parse](); + } + } + } + [_reportHttpError](error, stackTrace = null) { + let t302; + t302 = this[_socketSubscription$]; + t302 == null ? null : t302.cancel(); + this[_state$1] = 27; + this[_controller$0].addError(core.Object.as(error), T$.StackTraceN().as(stackTrace)); + this[_controller$0].close(); + } + [_reportBodyError](error, stackTrace = null) { + let t302, t302$, t302$0; + t302 = this[_socketSubscription$]; + t302 == null ? null : t302.cancel(); + this[_state$1] = 27; + t302$ = this[_bodyController]; + t302$ == null ? null : t302$.addError(core.Object.as(error), T$.StackTraceN().as(stackTrace)); + t302$0 = this[_bodyController]; + t302$0 == null ? null : t302$0.close(); + } +}; +(_http._HttpParser.__ = function(_requestParser) { + let t301; + if (_requestParser == null) dart.nullFailed(I[182], 286, 22, "_requestParser"); + this[_parserCalled] = false; + this[_buffer$1] = null; + this[_index$1] = -1; + this[_state$1] = 0; + this[_httpVersionIndex] = null; + this[_messageType] = 0; + this[_statusCode] = 0; + this[_statusCodeLength] = 0; + this[_method$] = T$.JSArrayOfint().of([]); + this[_uriOrReasonPhrase] = T$.JSArrayOfint().of([]); + this[_headerField] = T$.JSArrayOfint().of([]); + this[_headerValue] = T$.JSArrayOfint().of([]); + this[_headersReceivedSize] = 0; + this[_httpVersion] = 0; + this[_transferLength$] = -1; + this[_persistentConnection] = false; + this[_connectionUpgrade] = false; + this[_chunked] = false; + this[_noMessageBody] = false; + this[_remainingContent] = -1; + this[_contentLength] = false; + this[_transferEncoding] = false; + this.connectMethod = false; + this[_headers] = null; + this[_chunkSizeLimit] = 2147483647; + this[_incoming$] = null; + this[_socketSubscription$] = null; + this[_paused] = true; + this[_bodyPaused] = false; + this[_bodyController] = null; + this[_requestParser$] = _requestParser; + this[_controller$0] = T.StreamControllerOf_HttpIncoming().new({sync: true}); + _http._HttpParser.__proto__.new.call(this); + t301 = this[_controller$0]; + (() => { + t301.onListen = dart.fn(() => { + this[_paused] = false; + }, T$.VoidTovoid()); + t301.onPause = dart.fn(() => { + this[_paused] = true; + this[_pauseStateChanged](); + }, T$.VoidTovoid()); + t301.onResume = dart.fn(() => { + this[_paused] = false; + this[_pauseStateChanged](); + }, T$.VoidTovoid()); + t301.onCancel = dart.fn(() => { + let t302; + t302 = this[_socketSubscription$]; + t302 == null ? null : t302.cancel(); + }, T$.VoidToNull()); + return t301; + })(); + this[_reset](); +}).prototype = _http._HttpParser.prototype; +dart.addTypeTests(_http._HttpParser); +dart.addTypeCaches(_http._HttpParser); +dart.setMethodSignature(_http._HttpParser, () => ({ + __proto__: dart.getMethods(_http._HttpParser.__proto__), + listen: dart.fnType(async.StreamSubscription$(_http._HttpIncoming), [dart.nullable(dart.fnType(dart.void, [_http._HttpIncoming]))], {cancelOnError: dart.nullable(core.bool), onDone: dart.nullable(dart.fnType(dart.void, [])), onError: dart.nullable(core.Function)}, {}), + listenToStream: dart.fnType(dart.void, [async.Stream$(typed_data.Uint8List)]), + [_parse]: dart.fnType(dart.void, []), + [_headersEnd]: dart.fnType(core.bool, []), + [_doParse]: dart.fnType(dart.void, []), + [_onData$1]: dart.fnType(dart.void, [typed_data.Uint8List]), + [_onDone]: dart.fnType(dart.void, []), + detachIncoming: dart.fnType(_http._HttpDetachedIncoming, []), + readUnparsedData: dart.fnType(dart.nullable(typed_data.Uint8List), []), + [_reset]: dart.fnType(dart.void, []), + [_releaseBuffer]: dart.fnType(dart.void, []), + [_expect]: dart.fnType(dart.void, [core.int, core.int]), + [_expectHexDigit]: dart.fnType(core.int, [core.int]), + [_addWithValidation]: dart.fnType(dart.void, [core.List$(core.int), core.int]), + [_reportSizeLimitError]: dart.fnType(dart.void, []), + [_createIncoming]: dart.fnType(_http._HttpIncoming, [core.int]), + [_closeIncoming]: dart.fnType(dart.void, [], [core.bool]), + [_pauseStateChanged]: dart.fnType(dart.void, []), + [_reportHttpError]: dart.fnType(dart.void, [dart.dynamic], [dart.dynamic]), + [_reportBodyError]: dart.fnType(dart.void, [dart.dynamic], [dart.dynamic]) +})); +dart.setGetterSignature(_http._HttpParser, () => ({ + __proto__: dart.getGetters(_http._HttpParser.__proto__), + version: dart.nullable(core.String), + messageType: core.int, + transferLength: core.int, + upgrade: core.bool, + persistentConnection: core.bool +})); +dart.setSetterSignature(_http._HttpParser, () => ({ + __proto__: dart.getSetters(_http._HttpParser.__proto__), + isHead: core.bool +})); +dart.setLibraryUri(_http._HttpParser, I[177]); +dart.setFieldSignature(_http._HttpParser, () => ({ + __proto__: dart.getFields(_http._HttpParser.__proto__), + [_parserCalled]: dart.fieldType(core.bool), + [_buffer$1]: dart.fieldType(dart.nullable(typed_data.Uint8List)), + [_index$1]: dart.fieldType(core.int), + [_requestParser$]: dart.finalFieldType(core.bool), + [_state$1]: dart.fieldType(core.int), + [_httpVersionIndex]: dart.fieldType(dart.nullable(core.int)), + [_messageType]: dart.fieldType(core.int), + [_statusCode]: dart.fieldType(core.int), + [_statusCodeLength]: dart.fieldType(core.int), + [_method$]: dart.finalFieldType(core.List$(core.int)), + [_uriOrReasonPhrase]: dart.finalFieldType(core.List$(core.int)), + [_headerField]: dart.finalFieldType(core.List$(core.int)), + [_headerValue]: dart.finalFieldType(core.List$(core.int)), + [_headersReceivedSize]: dart.fieldType(core.int), + [_httpVersion]: dart.fieldType(core.int), + [_transferLength$]: dart.fieldType(core.int), + [_persistentConnection]: dart.fieldType(core.bool), + [_connectionUpgrade]: dart.fieldType(core.bool), + [_chunked]: dart.fieldType(core.bool), + [_noMessageBody]: dart.fieldType(core.bool), + [_remainingContent]: dart.fieldType(core.int), + [_contentLength]: dart.fieldType(core.bool), + [_transferEncoding]: dart.fieldType(core.bool), + connectMethod: dart.fieldType(core.bool), + [_headers]: dart.fieldType(dart.nullable(_http._HttpHeaders)), + [_chunkSizeLimit]: dart.fieldType(core.int), + [_incoming$]: dart.fieldType(dart.nullable(_http._HttpIncoming)), + [_socketSubscription$]: dart.fieldType(dart.nullable(async.StreamSubscription$(typed_data.Uint8List))), + [_paused]: dart.fieldType(core.bool), + [_bodyPaused]: dart.fieldType(core.bool), + [_controller$0]: dart.finalFieldType(async.StreamController$(_http._HttpIncoming)), + [_bodyController]: dart.fieldType(dart.nullable(async.StreamController$(typed_data.Uint8List))) +})); +dart.defineLazy(_http._HttpParser, { + /*_http._HttpParser._headerTotalSizeLimit*/get _headerTotalSizeLimit() { + return 1048576; + } +}, false); +var _timeoutCallback = dart.privateName(_http, "_timeoutCallback"); +var _prev = dart.privateName(_http, "_prev"); +var _next$4 = dart.privateName(_http, "_next"); +var _data$1 = dart.privateName(_http, "_data"); +var _lastSeen = dart.privateName(_http, "_lastSeen"); +var _removeFromTimeoutQueue = dart.privateName(_http, "_removeFromTimeoutQueue"); +var _sessions = dart.privateName(_http, "_sessions"); +var _bumpToEnd = dart.privateName(_http, "_bumpToEnd"); +_http._HttpSession = class _HttpSession extends core.Object { + destroy() { + if (!!dart.test(this[_destroyed])) dart.assertFailed(null, I[183], 28, 12, "!_destroyed"); + this[_destroyed] = true; + this[_sessionManager$][_removeFromTimeoutQueue](this); + this[_sessionManager$][_sessions][$remove](this.id); + } + [_markSeen]() { + this[_lastSeen] = new core.DateTime.now(); + this[_sessionManager$][_bumpToEnd](this); + } + get lastSeen() { + return this[_lastSeen]; + } + get isNew() { + return this[_isNew]; + } + set onTimeout(callback) { + this[_timeoutCallback] = callback; + } + containsValue(value) { + return this[_data$1][$containsValue](value); + } + containsKey(key) { + return this[_data$1][$containsKey](key); + } + _get(key) { + return this[_data$1][$_get](key); + } + _set(key, value$) { + let value = value$; + this[_data$1][$_set](key, value); + return value$; + } + putIfAbsent(key, ifAbsent) { + T$.VoidTodynamic().as(ifAbsent); + if (ifAbsent == null) dart.nullFailed(I[183], 57, 20, "ifAbsent"); + return this[_data$1][$putIfAbsent](key, ifAbsent); + } + addAll(other) { + core.Map.as(other); + if (other == null) dart.nullFailed(I[183], 58, 14, "other"); + return this[_data$1][$addAll](other); + } + remove(key) { + return this[_data$1][$remove](key); + } + clear() { + this[_data$1][$clear](); + } + forEach(f) { + if (f == null) dart.nullFailed(I[183], 64, 21, "f"); + this[_data$1][$forEach](f); + } + get entries() { + return this[_data$1][$entries]; + } + addEntries(entries) { + T.IterableOfMapEntry().as(entries); + if (entries == null) dart.nullFailed(I[183], 70, 38, "entries"); + this[_data$1][$addEntries](entries); + } + map(K, V, transform) { + if (transform == null) dart.nullFailed(I[183], 74, 38, "transform"); + return this[_data$1][$map](K, V, transform); + } + removeWhere(test) { + if (test == null) dart.nullFailed(I[183], 77, 25, "test"); + this[_data$1][$removeWhere](test); + } + cast(K, V) { + return this[_data$1][$cast](K, V); + } + update(key, update, opts) { + T$.dynamicTodynamic().as(update); + if (update == null) dart.nullFailed(I[183], 82, 15, "update"); + let ifAbsent = opts && 'ifAbsent' in opts ? opts.ifAbsent : null; + T.VoidToNdynamic().as(ifAbsent); + return this[_data$1][$update](key, update, {ifAbsent: ifAbsent}); + } + updateAll(update) { + T$0.dynamicAnddynamicTodynamic().as(update); + if (update == null) dart.nullFailed(I[183], 85, 18, "update"); + this[_data$1][$updateAll](update); + } + get keys() { + return this[_data$1][$keys]; + } + get values() { + return this[_data$1][$values]; + } + get length() { + return this[_data$1][$length]; + } + get isEmpty() { + return this[_data$1][$isEmpty]; + } + get isNotEmpty() { + return this[_data$1][$isNotEmpty]; + } + toString() { + return "HttpSession id:" + dart.str(this.id) + " " + dart.str(this[_data$1]); + } +}; +(_http._HttpSession.new = function(_sessionManager, id) { + if (_sessionManager == null) dart.nullFailed(I[183], 25, 21, "_sessionManager"); + if (id == null) dart.nullFailed(I[183], 25, 43, "id"); + this[_destroyed] = false; + this[_isNew] = true; + this[_timeoutCallback] = null; + this[_prev] = null; + this[_next$4] = null; + this[_data$1] = new _js_helper.LinkedMap.new(); + this[_sessionManager$] = _sessionManager; + this.id = id; + this[_lastSeen] = new core.DateTime.now(); + ; +}).prototype = _http._HttpSession.prototype; +dart.addTypeTests(_http._HttpSession); +dart.addTypeCaches(_http._HttpSession); +_http._HttpSession[dart.implements] = () => [_http.HttpSession]; +dart.setMethodSignature(_http._HttpSession, () => ({ + __proto__: dart.getMethods(_http._HttpSession.__proto__), + destroy: dart.fnType(dart.void, []), + [_markSeen]: dart.fnType(dart.void, []), + containsValue: dart.fnType(core.bool, [dart.nullable(core.Object)]), + [$containsValue]: dart.fnType(core.bool, [dart.nullable(core.Object)]), + containsKey: dart.fnType(core.bool, [dart.nullable(core.Object)]), + [$containsKey]: dart.fnType(core.bool, [dart.nullable(core.Object)]), + _get: dart.fnType(dart.dynamic, [dart.nullable(core.Object)]), + [$_get]: dart.fnType(dart.dynamic, [dart.nullable(core.Object)]), + _set: dart.fnType(dart.void, [dart.nullable(core.Object), dart.nullable(core.Object)]), + [$_set]: dart.fnType(dart.void, [dart.nullable(core.Object), dart.nullable(core.Object)]), + putIfAbsent: dart.fnType(dart.dynamic, [dart.nullable(core.Object), dart.nullable(core.Object)]), + [$putIfAbsent]: dart.fnType(dart.dynamic, [dart.nullable(core.Object), dart.nullable(core.Object)]), + addAll: dart.fnType(dart.void, [dart.nullable(core.Object)]), + [$addAll]: dart.fnType(dart.void, [dart.nullable(core.Object)]), + remove: dart.fnType(dart.dynamic, [dart.nullable(core.Object)]), + [$remove]: dart.fnType(dart.dynamic, [dart.nullable(core.Object)]), + clear: dart.fnType(dart.void, []), + [$clear]: dart.fnType(dart.void, []), + forEach: dart.fnType(dart.void, [dart.fnType(dart.void, [dart.dynamic, dart.dynamic])]), + [$forEach]: dart.fnType(dart.void, [dart.fnType(dart.void, [dart.dynamic, dart.dynamic])]), + addEntries: dart.fnType(dart.void, [dart.nullable(core.Object)]), + [$addEntries]: dart.fnType(dart.void, [dart.nullable(core.Object)]), + map: dart.gFnType((K, V) => [core.Map$(K, V), [dart.fnType(core.MapEntry$(K, V), [dart.dynamic, dart.dynamic])]], (K, V) => [dart.nullable(core.Object), dart.nullable(core.Object)]), + [$map]: dart.gFnType((K, V) => [core.Map$(K, V), [dart.fnType(core.MapEntry$(K, V), [dart.dynamic, dart.dynamic])]], (K, V) => [dart.nullable(core.Object), dart.nullable(core.Object)]), + removeWhere: dart.fnType(dart.void, [dart.fnType(core.bool, [dart.dynamic, dart.dynamic])]), + [$removeWhere]: dart.fnType(dart.void, [dart.fnType(core.bool, [dart.dynamic, dart.dynamic])]), + cast: dart.gFnType((K, V) => [core.Map$(K, V), []], (K, V) => [dart.nullable(core.Object), dart.nullable(core.Object)]), + [$cast]: dart.gFnType((K, V) => [core.Map$(K, V), []], (K, V) => [dart.nullable(core.Object), dart.nullable(core.Object)]), + update: dart.fnType(dart.dynamic, [dart.nullable(core.Object), dart.nullable(core.Object)], {ifAbsent: dart.nullable(core.Object)}, {}), + [$update]: dart.fnType(dart.dynamic, [dart.nullable(core.Object), dart.nullable(core.Object)], {ifAbsent: dart.nullable(core.Object)}, {}), + updateAll: dart.fnType(dart.void, [dart.nullable(core.Object)]), + [$updateAll]: dart.fnType(dart.void, [dart.nullable(core.Object)]) +})); +dart.setGetterSignature(_http._HttpSession, () => ({ + __proto__: dart.getGetters(_http._HttpSession.__proto__), + lastSeen: core.DateTime, + isNew: core.bool, + entries: core.Iterable$(core.MapEntry), + [$entries]: core.Iterable$(core.MapEntry), + keys: core.Iterable, + [$keys]: core.Iterable, + values: core.Iterable, + [$values]: core.Iterable, + length: core.int, + [$length]: core.int, + isEmpty: core.bool, + [$isEmpty]: core.bool, + isNotEmpty: core.bool, + [$isNotEmpty]: core.bool +})); +dart.setSetterSignature(_http._HttpSession, () => ({ + __proto__: dart.getSetters(_http._HttpSession.__proto__), + onTimeout: dart.nullable(dart.fnType(dart.void, [])) +})); +dart.setLibraryUri(_http._HttpSession, I[177]); +dart.setFieldSignature(_http._HttpSession, () => ({ + __proto__: dart.getFields(_http._HttpSession.__proto__), + [_destroyed]: dart.fieldType(core.bool), + [_isNew]: dart.fieldType(core.bool), + [_lastSeen]: dart.fieldType(core.DateTime), + [_timeoutCallback]: dart.fieldType(dart.nullable(core.Function)), + [_sessionManager$]: dart.fieldType(_http._HttpSessionManager), + [_prev]: dart.fieldType(dart.nullable(_http._HttpSession)), + [_next$4]: dart.fieldType(dart.nullable(_http._HttpSession)), + id: dart.finalFieldType(core.String), + [_data$1]: dart.finalFieldType(core.Map) +})); +dart.defineExtensionMethods(_http._HttpSession, [ + 'containsValue', + 'containsKey', + '_get', + '_set', + 'putIfAbsent', + 'addAll', + 'remove', + 'clear', + 'forEach', + 'addEntries', + 'map', + 'removeWhere', + 'cast', + 'update', + 'updateAll', + 'toString' +]); +dart.defineExtensionAccessors(_http._HttpSession, [ + 'entries', + 'keys', + 'values', + 'length', + 'isEmpty', + 'isNotEmpty' +]); +var _sessionTimeout = dart.privateName(_http, "_sessionTimeout"); +var _head$ = dart.privateName(_http, "_head"); +var _tail$ = dart.privateName(_http, "_tail"); +var _timer = dart.privateName(_http, "_timer"); +var _addToTimeoutQueue = dart.privateName(_http, "_addToTimeoutQueue"); +var _stopTimer = dart.privateName(_http, "_stopTimer"); +var _startTimer = dart.privateName(_http, "_startTimer"); +var _timerTimeout = dart.privateName(_http, "_timerTimeout"); +_http._HttpSessionManager = class _HttpSessionManager extends core.Object { + createSessionId() { + let data = _http._CryptoUtils.getRandomBytes(16); + return _http._CryptoUtils.bytesToHex(data); + } + getSession(id) { + if (id == null) dart.nullFailed(I[183], 118, 35, "id"); + return this[_sessions][$_get](id); + } + createSession() { + let t304, t303, t302; + let id = this.createSessionId(); + while (dart.test(this[_sessions][$containsKey](id))) { + id = this.createSessionId(); + } + let session = (t302 = this[_sessions], t303 = id, t304 = new _http._HttpSession.new(this, id), t302[$_set](t303, t304), t304); + this[_addToTimeoutQueue](session); + return session; + } + set sessionTimeout(timeout) { + if (timeout == null) dart.nullFailed(I[183], 132, 31, "timeout"); + this[_sessionTimeout] = timeout; + this[_stopTimer](); + this[_startTimer](); + } + close() { + this[_stopTimer](); + } + [_bumpToEnd](session) { + if (session == null) dart.nullFailed(I[183], 142, 32, "session"); + this[_removeFromTimeoutQueue](session); + this[_addToTimeoutQueue](session); + } + [_addToTimeoutQueue](session) { + if (session == null) dart.nullFailed(I[183], 147, 40, "session"); + if (this[_head$] == null) { + if (!(this[_tail$] == null)) dart.assertFailed(null, I[183], 149, 14, "_tail == null"); + this[_tail$] = this[_head$] = session; + this[_startTimer](); + } else { + if (!(this[_timer] != null)) dart.assertFailed(null, I[183], 153, 14, "_timer != null"); + let tail = dart.nullCheck(this[_tail$]); + tail[_next$4] = session; + session[_prev] = tail; + this[_tail$] = session; + } + } + [_removeFromTimeoutQueue](session) { + let t302, t302$; + if (session == null) dart.nullFailed(I[183], 162, 45, "session"); + let next = session[_next$4]; + let prev = session[_prev]; + session[_next$4] = session[_prev] = null; + t302 = next; + t302 == null ? null : t302[_prev] = prev; + t302$ = prev; + t302$ == null ? null : t302$[_next$4] = next; + if (dart.equals(this[_tail$], session)) { + this[_tail$] = prev; + } + if (dart.equals(this[_head$], session)) { + this[_head$] = next; + this[_stopTimer](); + this[_startTimer](); + } + } + [_timerTimeout]() { + let t302; + this[_stopTimer](); + let session = dart.nullCheck(this[_head$]); + session.destroy(); + t302 = session[_timeoutCallback]; + t302 == null ? null : dart.dcall(t302, []); + } + [_startTimer]() { + if (!(this[_timer] == null)) dart.assertFailed(null, I[183], 187, 12, "_timer == null"); + let head = this[_head$]; + if (head != null) { + let seconds = new core.DateTime.now().difference(head.lastSeen).inSeconds; + this[_timer] = async.Timer.new(new core.Duration.new({seconds: dart.notNull(this[_sessionTimeout]) - dart.notNull(seconds)}), dart.bind(this, _timerTimeout)); + } + } + [_stopTimer]() { + let timer = this[_timer]; + if (timer != null) { + timer.cancel(); + this[_timer] = null; + } + } +}; +(_http._HttpSessionManager.new = function() { + this[_sessionTimeout] = 20 * 60; + this[_head$] = null; + this[_tail$] = null; + this[_timer] = null; + this[_sessions] = new (T.IdentityMapOfString$_HttpSession()).new(); + ; +}).prototype = _http._HttpSessionManager.prototype; +dart.addTypeTests(_http._HttpSessionManager); +dart.addTypeCaches(_http._HttpSessionManager); +dart.setMethodSignature(_http._HttpSessionManager, () => ({ + __proto__: dart.getMethods(_http._HttpSessionManager.__proto__), + createSessionId: dart.fnType(core.String, []), + getSession: dart.fnType(dart.nullable(_http._HttpSession), [core.String]), + createSession: dart.fnType(_http._HttpSession, []), + close: dart.fnType(dart.void, []), + [_bumpToEnd]: dart.fnType(dart.void, [_http._HttpSession]), + [_addToTimeoutQueue]: dart.fnType(dart.void, [_http._HttpSession]), + [_removeFromTimeoutQueue]: dart.fnType(dart.void, [_http._HttpSession]), + [_timerTimeout]: dart.fnType(dart.void, []), + [_startTimer]: dart.fnType(dart.void, []), + [_stopTimer]: dart.fnType(dart.void, []) +})); +dart.setSetterSignature(_http._HttpSessionManager, () => ({ + __proto__: dart.getSetters(_http._HttpSessionManager.__proto__), + sessionTimeout: core.int +})); +dart.setLibraryUri(_http._HttpSessionManager, I[177]); +dart.setFieldSignature(_http._HttpSessionManager, () => ({ + __proto__: dart.getFields(_http._HttpSessionManager.__proto__), + [_sessions]: dart.fieldType(core.Map$(core.String, _http._HttpSession)), + [_sessionTimeout]: dart.fieldType(core.int), + [_head$]: dart.fieldType(dart.nullable(_http._HttpSession)), + [_tail$]: dart.fieldType(dart.nullable(_http._HttpSession)), + [_timer]: dart.fieldType(dart.nullable(async.Timer)) +})); +_http.HttpOverrides = class HttpOverrides extends core.Object { + static get current() { + let t302; + return T.HttpOverridesN().as((t302 = async.Zone.current._get(_http._httpOverridesToken), t302 == null ? _http.HttpOverrides._global : t302)); + } + static set global(overrides) { + _http.HttpOverrides._global = overrides; + } + static runZoned(R, body, opts) { + if (body == null) dart.nullFailed(I[184], 49, 26, "body"); + let createHttpClient = opts && 'createHttpClient' in opts ? opts.createHttpClient : null; + let findProxyFromEnvironment = opts && 'findProxyFromEnvironment' in opts ? opts.findProxyFromEnvironment : null; + let overrides = new _http._HttpOverridesScope.new(createHttpClient, findProxyFromEnvironment); + return _http._asyncRunZoned(R, body, {zoneValues: new (T$0.LinkedMapOfObjectN$ObjectN()).from([_http._httpOverridesToken, overrides])}); + } + static runWithHttpOverrides(R, body, overrides) { + if (body == null) dart.nullFailed(I[184], 63, 38, "body"); + if (overrides == null) dart.nullFailed(I[184], 63, 60, "overrides"); + return _http._asyncRunZoned(R, body, {zoneValues: new (T$0.LinkedMapOfObjectN$ObjectN()).from([_http._httpOverridesToken, overrides])}); + } + createHttpClient(context) { + return new _http._HttpClient.new(context); + } + findProxyFromEnvironment(url, environment) { + if (url == null) dart.nullFailed(I[184], 80, 39, "url"); + return _http._HttpClient._findProxyFromEnvironment(url, environment); + } +}; +(_http.HttpOverrides.new = function() { + ; +}).prototype = _http.HttpOverrides.prototype; +dart.addTypeTests(_http.HttpOverrides); +dart.addTypeCaches(_http.HttpOverrides); +dart.setMethodSignature(_http.HttpOverrides, () => ({ + __proto__: dart.getMethods(_http.HttpOverrides.__proto__), + createHttpClient: dart.fnType(_http.HttpClient, [dart.nullable(io.SecurityContext)]), + findProxyFromEnvironment: dart.fnType(core.String, [core.Uri, dart.nullable(core.Map$(core.String, core.String))]) +})); +dart.setLibraryUri(_http.HttpOverrides, I[177]); +dart.defineLazy(_http.HttpOverrides, { + /*_http.HttpOverrides._global*/get _global() { + return null; + }, + set _global(_) {} +}, false); +var _previous$5 = dart.privateName(_http, "_previous"); +var _createHttpClient$ = dart.privateName(_http, "_createHttpClient"); +var _findProxyFromEnvironment$ = dart.privateName(_http, "_findProxyFromEnvironment"); +_http._HttpOverridesScope = class _HttpOverridesScope extends _http.HttpOverrides { + createHttpClient(context) { + let createHttpClient = this[_createHttpClient$]; + if (createHttpClient != null) return createHttpClient(context); + let previous = this[_previous$5]; + if (previous != null) return previous.createHttpClient(context); + return super.createHttpClient(context); + } + findProxyFromEnvironment(url, environment) { + if (url == null) dart.nullFailed(I[184], 103, 39, "url"); + let findProxyFromEnvironment = this[_findProxyFromEnvironment$]; + if (findProxyFromEnvironment != null) { + return findProxyFromEnvironment(url, environment); + } + let previous = this[_previous$5]; + if (previous != null) { + return previous.findProxyFromEnvironment(url, environment); + } + return super.findProxyFromEnvironment(url, environment); + } +}; +(_http._HttpOverridesScope.new = function(_createHttpClient, _findProxyFromEnvironment) { + this[_previous$5] = _http.HttpOverrides.current; + this[_createHttpClient$] = _createHttpClient; + this[_findProxyFromEnvironment$] = _findProxyFromEnvironment; + ; +}).prototype = _http._HttpOverridesScope.prototype; +dart.addTypeTests(_http._HttpOverridesScope); +dart.addTypeCaches(_http._HttpOverridesScope); +dart.setLibraryUri(_http._HttpOverridesScope, I[177]); +dart.setFieldSignature(_http._HttpOverridesScope, () => ({ + __proto__: dart.getFields(_http._HttpOverridesScope.__proto__), + [_previous$5]: dart.finalFieldType(dart.nullable(_http.HttpOverrides)), + [_createHttpClient$]: dart.finalFieldType(dart.nullable(dart.fnType(_http.HttpClient, [dart.nullable(io.SecurityContext)]))), + [_findProxyFromEnvironment$]: dart.finalFieldType(dart.nullable(dart.fnType(core.String, [core.Uri, dart.nullable(core.Map$(core.String, core.String))]))) +})); +_http.WebSocketStatus = class WebSocketStatus extends core.Object {}; +(_http.WebSocketStatus.new = function() { + ; +}).prototype = _http.WebSocketStatus.prototype; +dart.addTypeTests(_http.WebSocketStatus); +dart.addTypeCaches(_http.WebSocketStatus); +dart.setLibraryUri(_http.WebSocketStatus, I[177]); +dart.defineLazy(_http.WebSocketStatus, { + /*_http.WebSocketStatus.normalClosure*/get normalClosure() { + return 1000; + }, + /*_http.WebSocketStatus.goingAway*/get goingAway() { + return 1001; + }, + /*_http.WebSocketStatus.protocolError*/get protocolError() { + return 1002; + }, + /*_http.WebSocketStatus.unsupportedData*/get unsupportedData() { + return 1003; + }, + /*_http.WebSocketStatus.reserved1004*/get reserved1004() { + return 1004; + }, + /*_http.WebSocketStatus.noStatusReceived*/get noStatusReceived() { + return 1005; + }, + /*_http.WebSocketStatus.abnormalClosure*/get abnormalClosure() { + return 1006; + }, + /*_http.WebSocketStatus.invalidFramePayloadData*/get invalidFramePayloadData() { + return 1007; + }, + /*_http.WebSocketStatus.policyViolation*/get policyViolation() { + return 1008; + }, + /*_http.WebSocketStatus.messageTooBig*/get messageTooBig() { + return 1009; + }, + /*_http.WebSocketStatus.missingMandatoryExtension*/get missingMandatoryExtension() { + return 1010; + }, + /*_http.WebSocketStatus.internalServerError*/get internalServerError() { + return 1011; + }, + /*_http.WebSocketStatus.reserved1015*/get reserved1015() { + return 1015; + }, + /*_http.WebSocketStatus.NORMAL_CLOSURE*/get NORMAL_CLOSURE() { + return 1000; + }, + /*_http.WebSocketStatus.GOING_AWAY*/get GOING_AWAY() { + return 1001; + }, + /*_http.WebSocketStatus.PROTOCOL_ERROR*/get PROTOCOL_ERROR() { + return 1002; + }, + /*_http.WebSocketStatus.UNSUPPORTED_DATA*/get UNSUPPORTED_DATA() { + return 1003; + }, + /*_http.WebSocketStatus.RESERVED_1004*/get RESERVED_1004() { + return 1004; + }, + /*_http.WebSocketStatus.NO_STATUS_RECEIVED*/get NO_STATUS_RECEIVED() { + return 1005; + }, + /*_http.WebSocketStatus.ABNORMAL_CLOSURE*/get ABNORMAL_CLOSURE() { + return 1006; + }, + /*_http.WebSocketStatus.INVALID_FRAME_PAYLOAD_DATA*/get INVALID_FRAME_PAYLOAD_DATA() { + return 1007; + }, + /*_http.WebSocketStatus.POLICY_VIOLATION*/get POLICY_VIOLATION() { + return 1008; + }, + /*_http.WebSocketStatus.MESSAGE_TOO_BIG*/get MESSAGE_TOO_BIG() { + return 1009; + }, + /*_http.WebSocketStatus.MISSING_MANDATORY_EXTENSION*/get MISSING_MANDATORY_EXTENSION() { + return 1010; + }, + /*_http.WebSocketStatus.INTERNAL_SERVER_ERROR*/get INTERNAL_SERVER_ERROR() { + return 1011; + }, + /*_http.WebSocketStatus.RESERVED_1015*/get RESERVED_1015() { + return 1015; + } +}, false); +var clientNoContextTakeover$ = dart.privateName(_http, "CompressionOptions.clientNoContextTakeover"); +var serverNoContextTakeover$ = dart.privateName(_http, "CompressionOptions.serverNoContextTakeover"); +var clientMaxWindowBits$ = dart.privateName(_http, "CompressionOptions.clientMaxWindowBits"); +var serverMaxWindowBits$ = dart.privateName(_http, "CompressionOptions.serverMaxWindowBits"); +var enabled$ = dart.privateName(_http, "CompressionOptions.enabled"); +var _createServerResponseHeader = dart.privateName(_http, "_createServerResponseHeader"); +var _createClientRequestHeader = dart.privateName(_http, "_createClientRequestHeader"); +var _createHeader = dart.privateName(_http, "_createHeader"); +_http.CompressionOptions = class CompressionOptions extends core.Object { + get clientNoContextTakeover() { + return this[clientNoContextTakeover$]; + } + set clientNoContextTakeover(value) { + super.clientNoContextTakeover = value; + } + get serverNoContextTakeover() { + return this[serverNoContextTakeover$]; + } + set serverNoContextTakeover(value) { + super.serverNoContextTakeover = value; + } + get clientMaxWindowBits() { + return this[clientMaxWindowBits$]; + } + set clientMaxWindowBits(value) { + super.clientMaxWindowBits = value; + } + get serverMaxWindowBits() { + return this[serverMaxWindowBits$]; + } + set serverMaxWindowBits(value) { + super.serverMaxWindowBits = value; + } + get enabled() { + return this[enabled$]; + } + set enabled(value) { + super.enabled = value; + } + [_createServerResponseHeader](requested) { + let t302, t302$, t302$0; + let info = new _http._CompressionMaxWindowBits.new("", 0); + let part = (t302 = requested, t302 == null ? null : t302.parameters[$_get]("server_max_window_bits")); + if (part != null) { + if (part.length >= 2 && part[$startsWith]("0")) { + dart.throw(new core.ArgumentError.new("Illegal 0 padding on value.")); + } else { + let mwb = (t302$0 = (t302$ = this.serverMaxWindowBits, t302$ == null ? core.int.tryParse(part) : t302$), t302$0 == null ? 15 : t302$0); + info.headerValue = "; server_max_window_bits=" + dart.str(mwb); + info.maxWindowBits = mwb; + } + } else { + info.headerValue = ""; + info.maxWindowBits = 15; + } + return info; + } + [_createClientRequestHeader](requested, size) { + if (size == null) dart.nullFailed(I[185], 156, 65, "size"); + let info = ""; + if (requested != null) { + info = "; client_max_window_bits=" + dart.str(size); + } else { + if (this.clientMaxWindowBits == null) { + info = "; client_max_window_bits"; + } else { + info = "; client_max_window_bits=" + dart.str(this.clientMaxWindowBits); + } + if (this.serverMaxWindowBits != null) { + info = info + ("; server_max_window_bits=" + dart.str(this.serverMaxWindowBits)); + } + } + return info; + } + [_createHeader](requested = null) { + let t302, t302$, t302$0, t302$1; + let info = new _http._CompressionMaxWindowBits.new("", 0); + if (!dart.test(this.enabled)) { + return info; + } + info.headerValue = "permessage-deflate"; + if (dart.test(this.clientNoContextTakeover) && (requested == null || requested != null && dart.test(requested.parameters[$containsKey]("client_no_context_takeover")))) { + t302 = info; + t302.headerValue = dart.notNull(t302.headerValue) + "; client_no_context_takeover"; + } + if (dart.test(this.serverNoContextTakeover) && (requested == null || requested != null && dart.test(requested.parameters[$containsKey]("server_no_context_takeover")))) { + t302$ = info; + t302$.headerValue = dart.notNull(t302$.headerValue) + "; server_no_context_takeover"; + } + let headerList = this[_createServerResponseHeader](requested); + t302$0 = info; + t302$0.headerValue = dart.notNull(t302$0.headerValue) + dart.notNull(headerList.headerValue); + info.maxWindowBits = headerList.maxWindowBits; + t302$1 = info; + t302$1.headerValue = dart.notNull(t302$1.headerValue) + dart.notNull(this[_createClientRequestHeader](requested, info.maxWindowBits)); + return info; + } +}; +(_http.CompressionOptions.new = function(opts) { + let clientNoContextTakeover = opts && 'clientNoContextTakeover' in opts ? opts.clientNoContextTakeover : false; + if (clientNoContextTakeover == null) dart.nullFailed(I[185], 120, 13, "clientNoContextTakeover"); + let serverNoContextTakeover = opts && 'serverNoContextTakeover' in opts ? opts.serverNoContextTakeover : false; + if (serverNoContextTakeover == null) dart.nullFailed(I[185], 121, 12, "serverNoContextTakeover"); + let clientMaxWindowBits = opts && 'clientMaxWindowBits' in opts ? opts.clientMaxWindowBits : null; + let serverMaxWindowBits = opts && 'serverMaxWindowBits' in opts ? opts.serverMaxWindowBits : null; + let enabled = opts && 'enabled' in opts ? opts.enabled : true; + if (enabled == null) dart.nullFailed(I[185], 124, 12, "enabled"); + this[clientNoContextTakeover$] = clientNoContextTakeover; + this[serverNoContextTakeover$] = serverNoContextTakeover; + this[clientMaxWindowBits$] = clientMaxWindowBits; + this[serverMaxWindowBits$] = serverMaxWindowBits; + this[enabled$] = enabled; + ; +}).prototype = _http.CompressionOptions.prototype; +dart.addTypeTests(_http.CompressionOptions); +dart.addTypeCaches(_http.CompressionOptions); +dart.setMethodSignature(_http.CompressionOptions, () => ({ + __proto__: dart.getMethods(_http.CompressionOptions.__proto__), + [_createServerResponseHeader]: dart.fnType(_http._CompressionMaxWindowBits, [dart.nullable(_http.HeaderValue)]), + [_createClientRequestHeader]: dart.fnType(core.String, [dart.nullable(_http.HeaderValue), core.int]), + [_createHeader]: dart.fnType(_http._CompressionMaxWindowBits, [], [dart.nullable(_http.HeaderValue)]) +})); +dart.setLibraryUri(_http.CompressionOptions, I[177]); +dart.setFieldSignature(_http.CompressionOptions, () => ({ + __proto__: dart.getFields(_http.CompressionOptions.__proto__), + clientNoContextTakeover: dart.finalFieldType(core.bool), + serverNoContextTakeover: dart.finalFieldType(core.bool), + clientMaxWindowBits: dart.finalFieldType(dart.nullable(core.int)), + serverMaxWindowBits: dart.finalFieldType(dart.nullable(core.int)), + enabled: dart.finalFieldType(core.bool) +})); +dart.defineLazy(_http.CompressionOptions, { + /*_http.CompressionOptions.compressionDefault*/get compressionDefault() { + return C[486] || CT.C486; + }, + /*_http.CompressionOptions.DEFAULT*/get DEFAULT() { + return C[486] || CT.C486; + }, + /*_http.CompressionOptions.compressionOff*/get compressionOff() { + return C[487] || CT.C487; + }, + /*_http.CompressionOptions.OFF*/get OFF() { + return C[487] || CT.C487; + } +}, false); +_http.WebSocketTransformer = class WebSocketTransformer extends core.Object { + static new(opts) { + let protocolSelector = opts && 'protocolSelector' in opts ? opts.protocolSelector : null; + let compression = opts && 'compression' in opts ? opts.compression : C[486] || CT.C486; + if (compression == null) dart.nullFailed(I[185], 265, 26, "compression"); + return new _http._WebSocketTransformerImpl.new(protocolSelector, compression); + } + static upgrade(request, opts) { + if (request == null) dart.nullFailed(I[185], 286, 48, "request"); + let protocolSelector = opts && 'protocolSelector' in opts ? opts.protocolSelector : null; + let compression = opts && 'compression' in opts ? opts.compression : C[486] || CT.C486; + if (compression == null) dart.nullFailed(I[185], 288, 26, "compression"); + return _http._WebSocketTransformerImpl._upgrade(request, protocolSelector, compression); + } + static isUpgradeRequest(request) { + if (request == null) dart.nullFailed(I[185], 296, 44, "request"); + return _http._WebSocketTransformerImpl._isUpgradeRequest(request); + } +}; +(_http.WebSocketTransformer[dart.mixinNew] = function() { +}).prototype = _http.WebSocketTransformer.prototype; +dart.addTypeTests(_http.WebSocketTransformer); +dart.addTypeCaches(_http.WebSocketTransformer); +_http.WebSocketTransformer[dart.implements] = () => [async.StreamTransformer$(_http.HttpRequest, _http.WebSocket)]; +dart.setLibraryUri(_http.WebSocketTransformer, I[177]); +var pingInterval = dart.privateName(_http, "WebSocket.pingInterval"); +_http.WebSocket = class WebSocket extends core.Object { + get pingInterval() { + return this[pingInterval]; + } + set pingInterval(value) { + this[pingInterval] = value; + } + static connect(url, opts) { + if (url == null) dart.nullFailed(I[185], 374, 43, "url"); + let protocols = opts && 'protocols' in opts ? opts.protocols : null; + let headers = opts && 'headers' in opts ? opts.headers : null; + let compression = opts && 'compression' in opts ? opts.compression : C[486] || CT.C486; + if (compression == null) dart.nullFailed(I[185], 377, 30, "compression"); + return _http._WebSocketImpl.connect(url, protocols, headers, {compression: compression}); + } + static fromUpgradedSocket(socket, opts) { + if (socket == null) dart.nullFailed(I[185], 404, 47, "socket"); + let protocol = opts && 'protocol' in opts ? opts.protocol : null; + let serverSide = opts && 'serverSide' in opts ? opts.serverSide : null; + let compression = opts && 'compression' in opts ? opts.compression : C[486] || CT.C486; + if (compression == null) dart.nullFailed(I[185], 407, 26, "compression"); + if (serverSide == null) { + dart.throw(new core.ArgumentError.new("The serverSide argument must be passed " + "explicitly to WebSocket.fromUpgradedSocket.")); + } + return new _http._WebSocketImpl._fromSocket(socket, protocol, compression, serverSide); + } + static get userAgent() { + return _http._WebSocketImpl.userAgent; + } + static set userAgent(userAgent) { + _http._WebSocketImpl.userAgent = userAgent; + } +}; +(_http.WebSocket.new = function() { + this[pingInterval] = null; + ; +}).prototype = _http.WebSocket.prototype; +_http.WebSocket.prototype[dart.isStream] = true; +dart.addTypeTests(_http.WebSocket); +dart.addTypeCaches(_http.WebSocket); +_http.WebSocket[dart.implements] = () => [async.Stream, async.StreamSink]; +dart.setLibraryUri(_http.WebSocket, I[177]); +dart.setFieldSignature(_http.WebSocket, () => ({ + __proto__: dart.getFields(_http.WebSocket.__proto__), + pingInterval: dart.fieldType(dart.nullable(core.Duration)) +})); +dart.defineLazy(_http.WebSocket, { + /*_http.WebSocket.connecting*/get connecting() { + return 0; + }, + /*_http.WebSocket.open*/get open() { + return 1; + }, + /*_http.WebSocket.closing*/get closing() { + return 2; + }, + /*_http.WebSocket.closed*/get closed() { + return 3; + }, + /*_http.WebSocket.CONNECTING*/get CONNECTING() { + return 0; + }, + /*_http.WebSocket.OPEN*/get OPEN() { + return 1; + }, + /*_http.WebSocket.CLOSING*/get CLOSING() { + return 2; + }, + /*_http.WebSocket.CLOSED*/get CLOSED() { + return 3; + } +}, false); +var message$19 = dart.privateName(_http, "WebSocketException.message"); +_http.WebSocketException = class WebSocketException extends core.Object { + get message() { + return this[message$19]; + } + set message(value) { + super.message = value; + } + toString() { + return "WebSocketException: " + dart.str(this.message); + } +}; +(_http.WebSocketException.new = function(message = "") { + if (message == null) dart.nullFailed(I[185], 493, 34, "message"); + this[message$19] = message; + ; +}).prototype = _http.WebSocketException.prototype; +dart.addTypeTests(_http.WebSocketException); +dart.addTypeCaches(_http.WebSocketException); +_http.WebSocketException[dart.implements] = () => [io.IOException]; +dart.setLibraryUri(_http.WebSocketException, I[177]); +dart.setFieldSignature(_http.WebSocketException, () => ({ + __proto__: dart.getFields(_http.WebSocketException.__proto__), + message: dart.finalFieldType(core.String) +})); +dart.defineExtensionMethods(_http.WebSocketException, ['toString']); +_http._WebSocketMessageType = class _WebSocketMessageType extends core.Object {}; +(_http._WebSocketMessageType.new = function() { + ; +}).prototype = _http._WebSocketMessageType.prototype; +dart.addTypeTests(_http._WebSocketMessageType); +dart.addTypeCaches(_http._WebSocketMessageType); +dart.setLibraryUri(_http._WebSocketMessageType, I[177]); +dart.defineLazy(_http._WebSocketMessageType, { + /*_http._WebSocketMessageType.NONE*/get NONE() { + return 0; + }, + /*_http._WebSocketMessageType.TEXT*/get TEXT() { + return 1; + }, + /*_http._WebSocketMessageType.BINARY*/get BINARY() { + return 2; + } +}, false); +_http._WebSocketOpcode = class _WebSocketOpcode extends core.Object {}; +(_http._WebSocketOpcode.new = function() { + ; +}).prototype = _http._WebSocketOpcode.prototype; +dart.addTypeTests(_http._WebSocketOpcode); +dart.addTypeCaches(_http._WebSocketOpcode); +dart.setLibraryUri(_http._WebSocketOpcode, I[177]); +dart.defineLazy(_http._WebSocketOpcode, { + /*_http._WebSocketOpcode.CONTINUATION*/get CONTINUATION() { + return 0; + }, + /*_http._WebSocketOpcode.TEXT*/get TEXT() { + return 1; + }, + /*_http._WebSocketOpcode.BINARY*/get BINARY() { + return 2; + }, + /*_http._WebSocketOpcode.RESERVED_3*/get RESERVED_3() { + return 3; + }, + /*_http._WebSocketOpcode.RESERVED_4*/get RESERVED_4() { + return 4; + }, + /*_http._WebSocketOpcode.RESERVED_5*/get RESERVED_5() { + return 5; + }, + /*_http._WebSocketOpcode.RESERVED_6*/get RESERVED_6() { + return 6; + }, + /*_http._WebSocketOpcode.RESERVED_7*/get RESERVED_7() { + return 7; + }, + /*_http._WebSocketOpcode.CLOSE*/get CLOSE() { + return 8; + }, + /*_http._WebSocketOpcode.PING*/get PING() { + return 9; + }, + /*_http._WebSocketOpcode.PONG*/get PONG() { + return 10; + }, + /*_http._WebSocketOpcode.RESERVED_B*/get RESERVED_B() { + return 11; + }, + /*_http._WebSocketOpcode.RESERVED_C*/get RESERVED_C() { + return 12; + }, + /*_http._WebSocketOpcode.RESERVED_D*/get RESERVED_D() { + return 13; + }, + /*_http._WebSocketOpcode.RESERVED_E*/get RESERVED_E() { + return 14; + }, + /*_http._WebSocketOpcode.RESERVED_F*/get RESERVED_F() { + return 15; + } +}, false); +_http._EncodedString = class _EncodedString extends core.Object {}; +(_http._EncodedString.new = function(bytes) { + if (bytes == null) dart.nullFailed(I[186], 41, 23, "bytes"); + this.bytes = bytes; + ; +}).prototype = _http._EncodedString.prototype; +dart.addTypeTests(_http._EncodedString); +dart.addTypeCaches(_http._EncodedString); +dart.setLibraryUri(_http._EncodedString, I[177]); +dart.setFieldSignature(_http._EncodedString, () => ({ + __proto__: dart.getFields(_http._EncodedString.__proto__), + bytes: dart.finalFieldType(core.List$(core.int)) +})); +_http._CompressionMaxWindowBits = class _CompressionMaxWindowBits extends core.Object { + toString() { + return this.headerValue; + } +}; +(_http._CompressionMaxWindowBits.new = function(headerValue, maxWindowBits) { + if (headerValue == null) dart.nullFailed(I[186], 52, 34, "headerValue"); + if (maxWindowBits == null) dart.nullFailed(I[186], 52, 52, "maxWindowBits"); + this.headerValue = headerValue; + this.maxWindowBits = maxWindowBits; + ; +}).prototype = _http._CompressionMaxWindowBits.prototype; +dart.addTypeTests(_http._CompressionMaxWindowBits); +dart.addTypeCaches(_http._CompressionMaxWindowBits); +dart.setLibraryUri(_http._CompressionMaxWindowBits, I[177]); +dart.setFieldSignature(_http._CompressionMaxWindowBits, () => ({ + __proto__: dart.getFields(_http._CompressionMaxWindowBits.__proto__), + headerValue: dart.fieldType(core.String), + maxWindowBits: dart.fieldType(core.int) +})); +dart.defineExtensionMethods(_http._CompressionMaxWindowBits, ['toString']); +var _fin = dart.privateName(_http, "_fin"); +var _compressed = dart.privateName(_http, "_compressed"); +var _opcode = dart.privateName(_http, "_opcode"); +var _len = dart.privateName(_http, "_len"); +var _masked = dart.privateName(_http, "_masked"); +var _remainingLenBytes = dart.privateName(_http, "_remainingLenBytes"); +var _remainingMaskingKeyBytes = dart.privateName(_http, "_remainingMaskingKeyBytes"); +var _remainingPayloadBytes = dart.privateName(_http, "_remainingPayloadBytes"); +var _unmaskingIndex = dart.privateName(_http, "_unmaskingIndex"); +var _currentMessageType = dart.privateName(_http, "_currentMessageType"); +var _eventSink$ = dart.privateName(_http, "_eventSink"); +var _maskingBytes = dart.privateName(_http, "_maskingBytes"); +var _payload = dart.privateName(_http, "_payload"); +var _serverSide$ = dart.privateName(_http, "_serverSide"); +var _deflate$ = dart.privateName(_http, "_deflate"); +var _isControlFrame = dart.privateName(_http, "_isControlFrame"); +var _lengthDone = dart.privateName(_http, "_lengthDone"); +var _maskDone = dart.privateName(_http, "_maskDone"); +var _unmask = dart.privateName(_http, "_unmask"); +var _controlFrameEnd = dart.privateName(_http, "_controlFrameEnd"); +var _messageFrameEnd = dart.privateName(_http, "_messageFrameEnd"); +var _startPayload = dart.privateName(_http, "_startPayload"); +var _prepareForNextFrame = dart.privateName(_http, "_prepareForNextFrame"); +_http._WebSocketProtocolTransformer = class _WebSocketProtocolTransformer extends async.StreamTransformerBase$(core.List$(core.int), dart.dynamic) { + bind(stream) { + T$0.StreamOfListOfint().as(stream); + if (stream == null) dart.nullFailed(I[186], 105, 25, "stream"); + return async.Stream.eventTransformed(stream, dart.fn(eventSink => { + if (eventSink == null) dart.nullFailed(I[186], 106, 59, "eventSink"); + if (this[_eventSink$] != null) { + dart.throw(new core.StateError.new("WebSocket transformer already used.")); + } + this[_eventSink$] = eventSink; + return this; + }, T.EventSinkTo_WebSocketProtocolTransformer())); + } + addError(error, stackTrace = null) { + if (error == null) dart.nullFailed(I[186], 115, 24, "error"); + core.ArgumentError.checkNotNull(core.Object, error, "error"); + dart.nullCheck(this[_eventSink$]).addError(error, stackTrace); + } + close() { + dart.nullCheck(this[_eventSink$]).close(); + } + add(bytes) { + let t302; + T$0.ListOfint().as(bytes); + if (bytes == null) dart.nullFailed(I[186], 128, 22, "bytes"); + let buffer = typed_data.Uint8List.is(bytes) ? bytes : _native_typed_data.NativeUint8List.fromList(bytes); + let index = 0; + let lastIndex = buffer[$length]; + if (this[_state$1] === 5) { + dart.throw(new _http.WebSocketException.new("Data on closed connection")); + } + if (this[_state$1] === 6) { + dart.throw(new _http.WebSocketException.new("Data on failed connection")); + } + while (index < dart.notNull(lastIndex) && this[_state$1] !== 5 && this[_state$1] !== 6) { + let byte = buffer[$_get](index); + if (dart.notNull(this[_state$1]) <= 2) { + if (this[_state$1] === 0) { + this[_fin] = (dart.notNull(byte) & 128) !== 0; + if ((dart.notNull(byte) & (32 | 16) >>> 0) !== 0) { + dart.throw(new _http.WebSocketException.new("Protocol error")); + } + this[_opcode] = (dart.notNull(byte) & 15) >>> 0; + if (this[_opcode] !== 0) { + if ((dart.notNull(byte) & 64) !== 0) { + this[_compressed] = true; + } else { + this[_compressed] = false; + } + } + if (dart.notNull(this[_opcode]) <= 2) { + if (this[_opcode] === 0) { + if (this[_currentMessageType] === 0) { + dart.throw(new _http.WebSocketException.new("Protocol error")); + } + } else { + if (!(this[_opcode] === 1 || this[_opcode] === 2)) dart.assertFailed(null, I[186], 165, 22, "_opcode == _WebSocketOpcode.TEXT ||\n _opcode == _WebSocketOpcode.BINARY"); + if (this[_currentMessageType] !== 0) { + dart.throw(new _http.WebSocketException.new("Protocol error")); + } + this[_currentMessageType] = this[_opcode]; + } + } else if (dart.notNull(this[_opcode]) >= 8 && dart.notNull(this[_opcode]) <= 10) { + if (!dart.test(this[_fin])) dart.throw(new _http.WebSocketException.new("Protocol error")); + } else { + dart.throw(new _http.WebSocketException.new("Protocol error")); + } + this[_state$1] = 1; + } else if (this[_state$1] === 1) { + this[_masked] = (dart.notNull(byte) & 128) !== 0; + this[_len] = dart.notNull(byte) & 127; + if (dart.test(this[_isControlFrame]()) && dart.notNull(this[_len]) > 125) { + dart.throw(new _http.WebSocketException.new("Protocol error")); + } + if (this[_len] === 126) { + this[_len] = 0; + this[_remainingLenBytes] = 2; + this[_state$1] = 2; + } else if (this[_len] === 127) { + this[_len] = 0; + this[_remainingLenBytes] = 8; + this[_state$1] = 2; + } else { + if (!(dart.notNull(this[_len]) < 126)) dart.assertFailed(null, I[186], 195, 20, "_len < 126"); + this[_lengthDone](); + } + } else { + if (!(this[_state$1] === 2)) dart.assertFailed(null, I[186], 199, 18, "_state == LEN_REST"); + this[_len] = (dart.notNull(this[_len]) << 8 | dart.notNull(byte)) >>> 0; + this[_remainingLenBytes] = dart.notNull(this[_remainingLenBytes]) - 1; + if (this[_remainingLenBytes] === 0) { + this[_lengthDone](); + } + } + } else { + if (this[_state$1] === 3) { + this[_maskingBytes][$_set](4 - dart.notNull((t302 = this[_remainingMaskingKeyBytes], this[_remainingMaskingKeyBytes] = dart.notNull(t302) - 1, t302)), byte); + if (this[_remainingMaskingKeyBytes] === 0) { + this[_maskDone](); + } + } else { + if (!(this[_state$1] === 4)) dart.assertFailed(null, I[186], 213, 18, "_state == PAYLOAD"); + let payloadLength = math.min(core.int, dart.notNull(lastIndex) - index, this[_remainingPayloadBytes]); + this[_remainingPayloadBytes] = dart.notNull(this[_remainingPayloadBytes]) - payloadLength; + if (dart.test(this[_masked])) { + this[_unmask](index, payloadLength, buffer); + } + this[_payload].add(typed_data.Uint8List.view(buffer[$buffer], dart.notNull(buffer[$offsetInBytes]) + index, payloadLength)); + index = index + payloadLength; + if (dart.test(this[_isControlFrame]())) { + if (this[_remainingPayloadBytes] === 0) this[_controlFrameEnd](); + } else { + if (this[_currentMessageType] !== 1 && this[_currentMessageType] !== 2) { + dart.throw(new _http.WebSocketException.new("Protocol error")); + } + if (this[_remainingPayloadBytes] === 0) this[_messageFrameEnd](); + } + index = index - 1; + } + } + index = index + 1; + } + } + [_unmask](index, length, buffer) { + let t304, t303, t302, t303$, t302$, t304$, t303$0, t302$0; + if (index == null) dart.nullFailed(I[186], 245, 20, "index"); + if (length == null) dart.nullFailed(I[186], 245, 31, "length"); + if (buffer == null) dart.nullFailed(I[186], 245, 49, "buffer"); + if (dart.notNull(length) >= 16) { + let startOffset = 16 - (dart.notNull(index) & 15); + let end = dart.notNull(index) + startOffset; + for (let i = index; dart.notNull(i) < end; i = dart.notNull(i) + 1) { + t302 = buffer; + t303 = i; + t302[$_set](t303, (dart.notNull(t302[$_get](t303)) ^ dart.notNull(this[_maskingBytes][$_get](dart.notNull((t304 = this[_unmaskingIndex], this[_unmaskingIndex] = dart.notNull(t304) + 1, t304)) & 3))) >>> 0); + } + index = dart.notNull(index) + startOffset; + length = dart.notNull(length) - startOffset; + let blockCount = (dart.notNull(length) / 16)[$truncate](); + if (blockCount > 0) { + let mask = 0; + for (let i = 3; i >= 0; i = i - 1) { + mask = (mask << 8 | dart.notNull(this[_maskingBytes][$_get](dart.notNull(this[_unmaskingIndex]) + i & 3))) >>> 0; + } + let blockMask = new _native_typed_data.NativeInt32x4.new(mask, mask, mask, mask); + let blockBuffer = typed_data.Int32x4List.view(buffer[$buffer], dart.notNull(buffer[$offsetInBytes]) + dart.notNull(index), blockCount); + for (let i = 0; i < dart.notNull(blockBuffer[$length]); i = i + 1) { + t302$ = blockBuffer; + t303$ = i; + t302$[$_set](t303$, t302$[$_get](t303$)['^'](blockMask)); + } + let bytes = blockCount * 16; + index = dart.notNull(index) + bytes; + length = dart.notNull(length) - bytes; + } + } + let end = dart.notNull(index) + dart.notNull(length); + for (let i = index; dart.notNull(i) < end; i = dart.notNull(i) + 1) { + t302$0 = buffer; + t303$0 = i; + t302$0[$_set](t303$0, (dart.notNull(t302$0[$_get](t303$0)) ^ dart.notNull(this[_maskingBytes][$_get](dart.notNull((t304$ = this[_unmaskingIndex], this[_unmaskingIndex] = dart.notNull(t304$) + 1, t304$)) & 3))) >>> 0); + } + } + [_lengthDone]() { + if (dart.test(this[_masked])) { + if (!dart.test(this[_serverSide$])) { + dart.throw(new _http.WebSocketException.new("Received masked frame from server")); + } + this[_state$1] = 3; + } else { + if (dart.test(this[_serverSide$])) { + dart.throw(new _http.WebSocketException.new("Received unmasked frame from client")); + } + this[_remainingPayloadBytes] = this[_len]; + this[_startPayload](); + } + } + [_maskDone]() { + this[_remainingPayloadBytes] = this[_len]; + this[_startPayload](); + } + [_startPayload]() { + if (this[_remainingPayloadBytes] === 0) { + if (dart.test(this[_isControlFrame]())) { + switch (this[_opcode]) { + case 8: + { + this[_state$1] = 5; + dart.nullCheck(this[_eventSink$]).close(); + break; + } + case 9: + { + dart.nullCheck(this[_eventSink$]).add(new _http._WebSocketPing.new()); + break; + } + case 10: + { + dart.nullCheck(this[_eventSink$]).add(new _http._WebSocketPong.new()); + break; + } + } + this[_prepareForNextFrame](); + } else { + this[_messageFrameEnd](); + } + } else { + this[_state$1] = 4; + } + } + [_messageFrameEnd]() { + if (dart.test(this[_fin])) { + let bytes = this[_payload].takeBytes(); + let deflate = this[_deflate$]; + if (deflate != null && dart.test(this[_compressed])) { + bytes = deflate.processIncomingMessage(bytes); + } + switch (this[_currentMessageType]) { + case 1: + { + dart.nullCheck(this[_eventSink$]).add(convert.utf8.decode(bytes)); + break; + } + case 2: + { + dart.nullCheck(this[_eventSink$]).add(bytes); + break; + } + } + this[_currentMessageType] = 0; + } + this[_prepareForNextFrame](); + } + [_controlFrameEnd]() { + switch (this[_opcode]) { + case 8: + { + this.closeCode = 1005; + let payload = this[_payload].takeBytes(); + if (dart.notNull(payload[$length]) > 0) { + if (payload[$length] === 1) { + dart.throw(new _http.WebSocketException.new("Protocol error")); + } + this.closeCode = (dart.notNull(payload[$_get](0)) << 8 | dart.notNull(payload[$_get](1))) >>> 0; + if (this.closeCode === 1005) { + dart.throw(new _http.WebSocketException.new("Protocol error")); + } + if (dart.notNull(payload[$length]) > 2) { + this.closeReason = convert.utf8.decode(payload[$sublist](2)); + } + } + this[_state$1] = 5; + dart.nullCheck(this[_eventSink$]).close(); + break; + } + case 9: + { + dart.nullCheck(this[_eventSink$]).add(new _http._WebSocketPing.new(this[_payload].takeBytes())); + break; + } + case 10: + { + dart.nullCheck(this[_eventSink$]).add(new _http._WebSocketPong.new(this[_payload].takeBytes())); + break; + } + } + this[_prepareForNextFrame](); + } + [_isControlFrame]() { + return this[_opcode] === 8 || this[_opcode] === 9 || this[_opcode] === 10; + } + [_prepareForNextFrame]() { + if (this[_state$1] !== 5 && this[_state$1] !== 6) this[_state$1] = 0; + this[_fin] = false; + this[_opcode] = -1; + this[_len] = -1; + this[_remainingLenBytes] = -1; + this[_remainingMaskingKeyBytes] = 4; + this[_remainingPayloadBytes] = -1; + this[_unmaskingIndex] = 0; + } +}; +(_http._WebSocketProtocolTransformer.new = function(_serverSide = false, _deflate = null) { + if (_serverSide == null) dart.nullFailed(I[186], 102, 39, "_serverSide"); + this[_state$1] = 0; + this[_fin] = false; + this[_compressed] = false; + this[_opcode] = -1; + this[_len] = -1; + this[_masked] = false; + this[_remainingLenBytes] = -1; + this[_remainingMaskingKeyBytes] = 4; + this[_remainingPayloadBytes] = -1; + this[_unmaskingIndex] = 0; + this[_currentMessageType] = 0; + this.closeCode = 1005; + this.closeReason = ""; + this[_eventSink$] = null; + this[_maskingBytes] = _native_typed_data.NativeUint8List.new(4); + this[_payload] = _internal.BytesBuilder.new({copy: false}); + this[_serverSide$] = _serverSide; + this[_deflate$] = _deflate; + _http._WebSocketProtocolTransformer.__proto__.new.call(this); + ; +}).prototype = _http._WebSocketProtocolTransformer.prototype; +dart.addTypeTests(_http._WebSocketProtocolTransformer); +dart.addTypeCaches(_http._WebSocketProtocolTransformer); +_http._WebSocketProtocolTransformer[dart.implements] = () => [async.EventSink$(core.List$(core.int))]; +dart.setMethodSignature(_http._WebSocketProtocolTransformer, () => ({ + __proto__: dart.getMethods(_http._WebSocketProtocolTransformer.__proto__), + bind: dart.fnType(async.Stream, [dart.nullable(core.Object)]), + addError: dart.fnType(dart.void, [core.Object], [dart.nullable(core.StackTrace)]), + close: dart.fnType(dart.void, []), + add: dart.fnType(dart.void, [dart.nullable(core.Object)]), + [_unmask]: dart.fnType(dart.void, [core.int, core.int, typed_data.Uint8List]), + [_lengthDone]: dart.fnType(dart.void, []), + [_maskDone]: dart.fnType(dart.void, []), + [_startPayload]: dart.fnType(dart.void, []), + [_messageFrameEnd]: dart.fnType(dart.void, []), + [_controlFrameEnd]: dart.fnType(dart.void, []), + [_isControlFrame]: dart.fnType(core.bool, []), + [_prepareForNextFrame]: dart.fnType(dart.void, []) +})); +dart.setLibraryUri(_http._WebSocketProtocolTransformer, I[177]); +dart.setFieldSignature(_http._WebSocketProtocolTransformer, () => ({ + __proto__: dart.getFields(_http._WebSocketProtocolTransformer.__proto__), + [_state$1]: dart.fieldType(core.int), + [_fin]: dart.fieldType(core.bool), + [_compressed]: dart.fieldType(core.bool), + [_opcode]: dart.fieldType(core.int), + [_len]: dart.fieldType(core.int), + [_masked]: dart.fieldType(core.bool), + [_remainingLenBytes]: dart.fieldType(core.int), + [_remainingMaskingKeyBytes]: dart.fieldType(core.int), + [_remainingPayloadBytes]: dart.fieldType(core.int), + [_unmaskingIndex]: dart.fieldType(core.int), + [_currentMessageType]: dart.fieldType(core.int), + closeCode: dart.fieldType(core.int), + closeReason: dart.fieldType(core.String), + [_eventSink$]: dart.fieldType(dart.nullable(async.EventSink)), + [_serverSide$]: dart.finalFieldType(core.bool), + [_maskingBytes]: dart.finalFieldType(typed_data.Uint8List), + [_payload]: dart.finalFieldType(_internal.BytesBuilder), + [_deflate$]: dart.fieldType(dart.nullable(_http._WebSocketPerMessageDeflate)) +})); +dart.defineLazy(_http._WebSocketProtocolTransformer, { + /*_http._WebSocketProtocolTransformer.START*/get START() { + return 0; + }, + /*_http._WebSocketProtocolTransformer.LEN_FIRST*/get LEN_FIRST() { + return 1; + }, + /*_http._WebSocketProtocolTransformer.LEN_REST*/get LEN_REST() { + return 2; + }, + /*_http._WebSocketProtocolTransformer.MASK*/get MASK() { + return 3; + }, + /*_http._WebSocketProtocolTransformer.PAYLOAD*/get PAYLOAD() { + return 4; + }, + /*_http._WebSocketProtocolTransformer.CLOSED*/get CLOSED() { + return 5; + }, + /*_http._WebSocketProtocolTransformer.FAILURE*/get FAILURE() { + return 6; + }, + /*_http._WebSocketProtocolTransformer.FIN*/get FIN() { + return 128; + }, + /*_http._WebSocketProtocolTransformer.RSV1*/get RSV1() { + return 64; + }, + /*_http._WebSocketProtocolTransformer.RSV2*/get RSV2() { + return 32; + }, + /*_http._WebSocketProtocolTransformer.RSV3*/get RSV3() { + return 16; + }, + /*_http._WebSocketProtocolTransformer.OPCODE*/get OPCODE() { + return 15; + } +}, false); +_http._WebSocketPing = class _WebSocketPing extends core.Object {}; +(_http._WebSocketPing.new = function(payload = null) { + this.payload = payload; + ; +}).prototype = _http._WebSocketPing.prototype; +dart.addTypeTests(_http._WebSocketPing); +dart.addTypeCaches(_http._WebSocketPing); +dart.setLibraryUri(_http._WebSocketPing, I[177]); +dart.setFieldSignature(_http._WebSocketPing, () => ({ + __proto__: dart.getFields(_http._WebSocketPing.__proto__), + payload: dart.finalFieldType(dart.nullable(core.List$(core.int))) +})); +_http._WebSocketPong = class _WebSocketPong extends core.Object {}; +(_http._WebSocketPong.new = function(payload = null) { + this.payload = payload; + ; +}).prototype = _http._WebSocketPong.prototype; +dart.addTypeTests(_http._WebSocketPong); +dart.addTypeCaches(_http._WebSocketPong); +dart.setLibraryUri(_http._WebSocketPong, I[177]); +dart.setFieldSignature(_http._WebSocketPong, () => ({ + __proto__: dart.getFields(_http._WebSocketPong.__proto__), + payload: dart.finalFieldType(dart.nullable(core.List$(core.int))) +})); +var _protocolSelector$ = dart.privateName(_http, "_protocolSelector"); +var _compression$ = dart.privateName(_http, "_compression"); +_http._WebSocketTransformerImpl = class _WebSocketTransformerImpl extends async.StreamTransformerBase$(_http.HttpRequest, _http.WebSocket) { + bind(stream) { + T.StreamOfHttpRequest().as(stream); + if (stream == null) dart.nullFailed(I[186], 421, 46, "stream"); + stream.listen(dart.fn(request => { + if (request == null) dart.nullFailed(I[186], 422, 20, "request"); + _http._WebSocketTransformerImpl._upgrade(request, this[_protocolSelector$], this[_compression$]).then(dart.void, dart.fn(webSocket => { + if (webSocket == null) dart.nullFailed(I[186], 424, 28, "webSocket"); + return this[_controller$0].add(webSocket); + }, T.WebSocketTovoid())).catchError(dart.bind(this[_controller$0], 'addError')); + }, T.HttpRequestTovoid()), {onDone: dart.fn(() => { + this[_controller$0].close(); + }, T$.VoidTovoid())}); + return this[_controller$0].stream; + } + static _tokenizeFieldValue(headerValue) { + if (headerValue == null) dart.nullFailed(I[186], 433, 50, "headerValue"); + let tokens = T$.JSArrayOfString().of([]); + let start = 0; + let index = 0; + while (index < headerValue.length) { + if (headerValue[$_get](index) === ",") { + tokens[$add](headerValue[$substring](start, index)); + start = index + 1; + } else if (headerValue[$_get](index) === " " || headerValue[$_get](index) === "\t") { + start = start + 1; + } + index = index + 1; + } + tokens[$add](headerValue[$substring](start, index)); + return tokens; + } + static _upgrade(request, protocolSelector, compression) { + let t302; + if (request == null) dart.nullFailed(I[186], 450, 49, "request"); + if (compression == null) dart.nullFailed(I[186], 451, 63, "compression"); + let response = request.response; + if (!dart.test(_http._WebSocketTransformerImpl._isUpgradeRequest(request))) { + t302 = response; + (() => { + t302.statusCode = 400; + t302.close(); + return t302; + })(); + return T.FutureOfWebSocket().error(new _http.WebSocketException.new("Invalid WebSocket upgrade request")); + } + function upgrade(protocol) { + let t302; + t302 = response; + (() => { + t302.statusCode = 101; + t302.headers.add("connection", "Upgrade"); + t302.headers.add("upgrade", "websocket"); + return t302; + })(); + let key = dart.nullCheck(request.headers.value("Sec-WebSocket-Key")); + let sha1 = new _http._SHA1.new(); + sha1.add((key + dart.str(_http._webSocketGUID))[$codeUnits]); + let accept = _http._CryptoUtils.bytesToBase64(sha1.close()); + response.headers.add("Sec-WebSocket-Accept", accept); + if (protocol != null) { + response.headers.add("Sec-WebSocket-Protocol", protocol); + } + let deflate = _http._WebSocketTransformerImpl._negotiateCompression(request, response, compression); + response.headers.contentLength = 0; + return response.detachSocket().then(_http.WebSocket, dart.fn(socket => { + if (socket == null) dart.nullFailed(I[186], 480, 55, "socket"); + return new _http._WebSocketImpl._fromSocket(socket, protocol, compression, true, deflate); + }, T.SocketTo_WebSocketImpl())); + } + dart.fn(upgrade, T.StringNToFutureOfWebSocket()); + let protocols = request.headers._get("Sec-WebSocket-Protocol"); + if (protocols != null && protocolSelector != null) { + let tokenizedProtocols = _http._WebSocketTransformerImpl._tokenizeFieldValue(protocols[$join](", ")); + return T$0.FutureOfString().new(dart.fn(() => T$0.FutureOrOfString().as(protocolSelector(tokenizedProtocols)), T.VoidToFutureOrOfString())).then(core.String, dart.fn(protocol => { + if (protocol == null) dart.nullFailed(I[186], 492, 26, "protocol"); + if (dart.notNull(tokenizedProtocols[$indexOf](protocol)) < 0) { + dart.throw(new _http.WebSocketException.new("Selected protocol is not in the list of available protocols")); + } + return protocol; + }, T$.StringToString())).catchError(dart.fn(error => { + let t302; + t302 = response; + (() => { + t302.statusCode = 500; + t302.close(); + return t302; + })(); + dart.throw(error); + }, T$0.dynamicToNever())).then(_http.WebSocket, upgrade); + } else { + return upgrade(null); + } + } + static _negotiateCompression(request, response, compression) { + if (request == null) dart.nullFailed(I[186], 509, 73, "request"); + if (response == null) dart.nullFailed(I[186], 510, 20, "response"); + if (compression == null) dart.nullFailed(I[186], 510, 49, "compression"); + let extensionHeader = request.headers.value("Sec-WebSocket-Extensions"); + extensionHeader == null ? extensionHeader = "" : null; + let hv = _http.HeaderValue.parse(extensionHeader, {valueSeparator: ","}); + if (dart.test(compression.enabled) && hv.value === "permessage-deflate") { + let info = compression[_createHeader](hv); + response.headers.add("Sec-WebSocket-Extensions", info.headerValue); + let serverNoContextTakeover = dart.test(hv.parameters[$containsKey]("server_no_context_takeover")) && dart.test(compression.serverNoContextTakeover); + let clientNoContextTakeover = dart.test(hv.parameters[$containsKey]("client_no_context_takeover")) && dart.test(compression.clientNoContextTakeover); + let deflate = new _http._WebSocketPerMessageDeflate.new({serverNoContextTakeover: serverNoContextTakeover, clientNoContextTakeover: clientNoContextTakeover, serverMaxWindowBits: info.maxWindowBits, clientMaxWindowBits: info.maxWindowBits, serverSide: true}); + return deflate; + } + return null; + } + static _isUpgradeRequest(request) { + if (request == null) dart.nullFailed(I[186], 539, 45, "request"); + if (request.method !== "GET") { + return false; + } + let connectionHeader = request.headers._get("connection"); + if (connectionHeader == null) { + return false; + } + let isUpgrade = false; + for (let value of connectionHeader) { + if (value[$toLowerCase]() === "upgrade") { + isUpgrade = true; + break; + } + } + if (!isUpgrade) return false; + let upgrade = request.headers.value("upgrade"); + if (upgrade == null || upgrade[$toLowerCase]() !== "websocket") { + return false; + } + let version = request.headers.value("Sec-WebSocket-Version"); + if (version == null || version !== "13") { + return false; + } + let key = request.headers.value("Sec-WebSocket-Key"); + if (key == null) { + return false; + } + return true; + } +}; +(_http._WebSocketTransformerImpl.new = function(_protocolSelector, _compression) { + if (_compression == null) dart.nullFailed(I[186], 419, 58, "_compression"); + this[_controller$0] = T.StreamControllerOfWebSocket().new({sync: true}); + this[_protocolSelector$] = _protocolSelector; + this[_compression$] = _compression; + _http._WebSocketTransformerImpl.__proto__.new.call(this); + ; +}).prototype = _http._WebSocketTransformerImpl.prototype; +dart.addTypeTests(_http._WebSocketTransformerImpl); +dart.addTypeCaches(_http._WebSocketTransformerImpl); +_http._WebSocketTransformerImpl[dart.implements] = () => [_http.WebSocketTransformer]; +dart.setMethodSignature(_http._WebSocketTransformerImpl, () => ({ + __proto__: dart.getMethods(_http._WebSocketTransformerImpl.__proto__), + bind: dart.fnType(async.Stream$(_http.WebSocket), [dart.nullable(core.Object)]) +})); +dart.setLibraryUri(_http._WebSocketTransformerImpl, I[177]); +dart.setFieldSignature(_http._WebSocketTransformerImpl, () => ({ + __proto__: dart.getFields(_http._WebSocketTransformerImpl.__proto__), + [_controller$0]: dart.finalFieldType(async.StreamController$(_http.WebSocket)), + [_protocolSelector$]: dart.finalFieldType(dart.nullable(dart.fnType(dart.dynamic, [core.List$(core.String)]))), + [_compression$]: dart.finalFieldType(_http.CompressionOptions) +})); +var _ensureDecoder = dart.privateName(_http, "_ensureDecoder"); +var _ensureEncoder = dart.privateName(_http, "_ensureEncoder"); +_http._WebSocketPerMessageDeflate = class _WebSocketPerMessageDeflate extends core.Object { + [_ensureDecoder]() { + let t302; + t302 = this.decoder; + return t302 == null ? this.decoder = io.RawZLibFilter.inflateFilter({windowBits: dart.test(this.serverSide) ? this.clientMaxWindowBits : this.serverMaxWindowBits, raw: true}) : t302; + } + [_ensureEncoder]() { + let t302; + t302 = this.encoder; + return t302 == null ? this.encoder = io.RawZLibFilter.deflateFilter({windowBits: dart.test(this.serverSide) ? this.serverMaxWindowBits : this.clientMaxWindowBits, raw: true}) : t302; + } + processIncomingMessage(msg) { + if (msg == null) dart.nullFailed(I[186], 596, 46, "msg"); + let decoder = this[_ensureDecoder](); + let data = T$.JSArrayOfint().of([]); + data[$addAll](msg); + data[$addAll](C[488] || CT.C488); + decoder.process(data, 0, data[$length]); + let result = _internal.BytesBuilder.new(); + let out = null; + while (true) { + let out = decoder.processed(); + if (out == null) break; + result.add(out); + } + if (dart.test(this.serverSide) && dart.test(this.clientNoContextTakeover) || !dart.test(this.serverSide) && dart.test(this.serverNoContextTakeover)) { + this.decoder = null; + } + return result.takeBytes(); + } + processOutgoingMessage(msg) { + if (msg == null) dart.nullFailed(I[186], 621, 46, "msg"); + let encoder = this[_ensureEncoder](); + let result = T$.JSArrayOfint().of([]); + let buffer = null; + if (!typed_data.Uint8List.is(msg)) { + for (let i = 0; i < dart.notNull(msg[$length]); i = i + 1) { + if (dart.notNull(msg[$_get](i)) < 0 || 255 < dart.notNull(msg[$_get](i))) { + dart.throw(new core.ArgumentError.new("List element is not a byte value " + "(value " + dart.str(msg[$_get](i)) + " at index " + dart.str(i) + ")")); + } + } + buffer = _native_typed_data.NativeUint8List.fromList(msg); + } else { + buffer = msg; + } + encoder.process(buffer, 0, buffer[$length]); + while (true) { + let out = encoder.processed(); + if (out == null) break; + result[$addAll](out); + } + if (!dart.test(this.serverSide) && dart.test(this.clientNoContextTakeover) || dart.test(this.serverSide) && dart.test(this.serverNoContextTakeover)) { + this.encoder = null; + } + if (dart.notNull(result[$length]) > 4) { + result = result[$sublist](0, dart.notNull(result[$length]) - 4); + } + if (result[$length] === 0) { + return T$.JSArrayOfint().of([0]); + } + return result; + } +}; +(_http._WebSocketPerMessageDeflate.new = function(opts) { + let clientMaxWindowBits = opts && 'clientMaxWindowBits' in opts ? opts.clientMaxWindowBits : 15; + if (clientMaxWindowBits == null) dart.nullFailed(I[186], 582, 13, "clientMaxWindowBits"); + let serverMaxWindowBits = opts && 'serverMaxWindowBits' in opts ? opts.serverMaxWindowBits : 15; + if (serverMaxWindowBits == null) dart.nullFailed(I[186], 583, 12, "serverMaxWindowBits"); + let serverNoContextTakeover = opts && 'serverNoContextTakeover' in opts ? opts.serverNoContextTakeover : false; + if (serverNoContextTakeover == null) dart.nullFailed(I[186], 584, 12, "serverNoContextTakeover"); + let clientNoContextTakeover = opts && 'clientNoContextTakeover' in opts ? opts.clientNoContextTakeover : false; + if (clientNoContextTakeover == null) dart.nullFailed(I[186], 585, 12, "clientNoContextTakeover"); + let serverSide = opts && 'serverSide' in opts ? opts.serverSide : false; + if (serverSide == null) dart.nullFailed(I[186], 586, 12, "serverSide"); + this.decoder = null; + this.encoder = null; + this.clientMaxWindowBits = clientMaxWindowBits; + this.serverMaxWindowBits = serverMaxWindowBits; + this.serverNoContextTakeover = serverNoContextTakeover; + this.clientNoContextTakeover = clientNoContextTakeover; + this.serverSide = serverSide; + ; +}).prototype = _http._WebSocketPerMessageDeflate.prototype; +dart.addTypeTests(_http._WebSocketPerMessageDeflate); +dart.addTypeCaches(_http._WebSocketPerMessageDeflate); +dart.setMethodSignature(_http._WebSocketPerMessageDeflate, () => ({ + __proto__: dart.getMethods(_http._WebSocketPerMessageDeflate.__proto__), + [_ensureDecoder]: dart.fnType(io.RawZLibFilter, []), + [_ensureEncoder]: dart.fnType(io.RawZLibFilter, []), + processIncomingMessage: dart.fnType(typed_data.Uint8List, [core.List$(core.int)]), + processOutgoingMessage: dart.fnType(core.List$(core.int), [core.List$(core.int)]) +})); +dart.setLibraryUri(_http._WebSocketPerMessageDeflate, I[177]); +dart.setFieldSignature(_http._WebSocketPerMessageDeflate, () => ({ + __proto__: dart.getFields(_http._WebSocketPerMessageDeflate.__proto__), + serverNoContextTakeover: dart.fieldType(core.bool), + clientNoContextTakeover: dart.fieldType(core.bool), + clientMaxWindowBits: dart.fieldType(core.int), + serverMaxWindowBits: dart.fieldType(core.int), + serverSide: dart.fieldType(core.bool), + decoder: dart.fieldType(dart.nullable(io.RawZLibFilter)), + encoder: dart.fieldType(dart.nullable(io.RawZLibFilter)) +})); +var _deflateHelper = dart.privateName(_http, "_deflateHelper"); +var _outCloseCode = dart.privateName(_http, "_outCloseCode"); +var _outCloseReason = dart.privateName(_http, "_outCloseReason"); +_http._WebSocketOutgoingTransformer = class _WebSocketOutgoingTransformer extends async.StreamTransformerBase$(dart.dynamic, core.List$(core.int)) { + bind(stream) { + async.Stream.as(stream); + if (stream == null) dart.nullFailed(I[186], 679, 33, "stream"); + return T$0.StreamOfListOfint().eventTransformed(stream, dart.fn(eventSink => { + if (eventSink == null) dart.nullFailed(I[186], 681, 31, "eventSink"); + if (this[_eventSink$] != null) { + dart.throw(new core.StateError.new("WebSocket transformer already used")); + } + this[_eventSink$] = eventSink; + return this; + }, T.EventSinkOfListOfintTo_WebSocketOutgoingTransformer())); + } + add(message) { + if (_http._WebSocketPong.is(message)) { + this.addFrame(10, message.payload); + return; + } + if (_http._WebSocketPing.is(message)) { + this.addFrame(9, message.payload); + return; + } + let data = null; + let opcode = null; + if (message != null) { + let messageData = null; + if (typeof message == 'string') { + opcode = 1; + messageData = convert.utf8.encode(message); + } else if (T$0.ListOfint().is(message)) { + opcode = 2; + messageData = message; + } else if (_http._EncodedString.is(message)) { + opcode = 1; + messageData = message.bytes; + } else { + dart.throw(new core.ArgumentError.new(message)); + } + let deflateHelper = this[_deflateHelper]; + if (deflateHelper != null) { + messageData = deflateHelper.processOutgoingMessage(messageData); + } + data = messageData; + } else { + opcode = 1; + } + this.addFrame(opcode, data); + } + addError(error, stackTrace = null) { + if (error == null) dart.nullFailed(I[186], 726, 24, "error"); + core.ArgumentError.checkNotNull(core.Object, error, "error"); + dart.nullCheck(this[_eventSink$]).addError(error, stackTrace); + } + close() { + let code = this.webSocket[_outCloseCode]; + let reason = this.webSocket[_outCloseReason]; + let data = null; + if (code != null) { + data = (() => { + let t302 = T$.JSArrayOfint().of([dart.notNull(code) >> 8 & 255, dart.notNull(code) & 255]); + if (reason != null) t302[$addAll](convert.utf8.encode(reason)); + return t302; + })(); + } + this.addFrame(8, data); + dart.nullCheck(this[_eventSink$]).close(); + } + addFrame(opcode, data) { + if (opcode == null) dart.nullFailed(I[186], 747, 21, "opcode"); + _http._WebSocketOutgoingTransformer.createFrame(opcode, data, this.webSocket[_serverSide$], this[_deflateHelper] != null && (opcode === 1 || opcode === 2))[$forEach](dart.fn(e => { + if (e == null) dart.nullFailed(I[186], 755, 19, "e"); + dart.nullCheck(this[_eventSink$]).add(e); + }, T$0.ListOfintTovoid())); + } + static createFrame(opcode, data, serverSide, compressed) { + let t303, t303$, t303$0, t303$1, t304, t303$2, t304$, t303$3, t304$0, t303$4; + if (opcode == null) dart.nullFailed(I[186], 761, 11, "opcode"); + if (serverSide == null) dart.nullFailed(I[186], 761, 41, "serverSide"); + if (compressed == null) dart.nullFailed(I[186], 761, 58, "compressed"); + let mask = !dart.test(serverSide); + let dataLength = data == null ? 0 : data[$length]; + let headerSize = mask ? 6 : 2; + if (dart.notNull(dataLength) > 65535) { + headerSize = headerSize + 8; + } else if (dart.notNull(dataLength) > 125) { + headerSize = headerSize + 2; + } + let header = _native_typed_data.NativeUint8List.new(headerSize); + let index = 0; + let hoc = (128 | (dart.test(compressed) ? 64 : 0) | (dart.notNull(opcode) & 15) >>> 0) >>> 0; + header[$_set]((t303 = index, index = t303 + 1, t303), hoc); + let lengthBytes = 1; + if (dart.notNull(dataLength) > 65535) { + header[$_set]((t303$ = index, index = t303$ + 1, t303$), 127); + lengthBytes = 8; + } else if (dart.notNull(dataLength) > 125) { + header[$_set]((t303$0 = index, index = t303$0 + 1, t303$0), 126); + lengthBytes = 2; + } + for (let i = 0; i < lengthBytes; i = i + 1) { + header[$_set]((t303$1 = index, index = t303$1 + 1, t303$1), dataLength[$rightShift]((lengthBytes - 1 - i) * 8) & 255); + } + if (mask) { + t303$2 = header; + t304 = 1; + t303$2[$_set](t304, (dart.notNull(t303$2[$_get](t304)) | 1 << 7) >>> 0); + let maskBytes = _http._CryptoUtils.getRandomBytes(4); + header[$setRange](index, index + 4, maskBytes); + index = index + 4; + if (data != null) { + let list = null; + if (opcode === 1 && typed_data.Uint8List.is(data)) { + list = data; + } else { + if (typed_data.Uint8List.is(data)) { + list = _native_typed_data.NativeUint8List.fromList(data); + } else { + list = _native_typed_data.NativeUint8List.new(data[$length]); + for (let i = 0; i < dart.notNull(data[$length]); i = i + 1) { + if (dart.notNull(data[$_get](i)) < 0 || 255 < dart.notNull(data[$_get](i))) { + dart.throw(new core.ArgumentError.new("List element is not a byte value " + "(value " + dart.str(data[$_get](i)) + " at index " + dart.str(i) + ")")); + } + list[$_set](i, data[$_get](i)); + } + } + } + let blockCount = (dart.notNull(list[$length]) / 16)[$truncate](); + if (blockCount > 0) { + let mask = 0; + for (let i = 3; i >= 0; i = i - 1) { + mask = (mask << 8 | dart.notNull(maskBytes[$_get](i))) >>> 0; + } + let blockMask = new _native_typed_data.NativeInt32x4.new(mask, mask, mask, mask); + let blockBuffer = typed_data.Int32x4List.view(list[$buffer], list[$offsetInBytes], blockCount); + for (let i = 0; i < dart.notNull(blockBuffer[$length]); i = i + 1) { + t303$3 = blockBuffer; + t304$ = i; + t303$3[$_set](t304$, t303$3[$_get](t304$)['^'](blockMask)); + } + } + for (let i = blockCount * 16; i < dart.notNull(list[$length]); i = i + 1) { + t303$4 = list; + t304$0 = i; + t303$4[$_set](t304$0, (dart.notNull(t303$4[$_get](t304$0)) ^ dart.notNull(maskBytes[$_get](i & 3))) >>> 0); + } + data = list; + } + } + if (!(index === headerSize)) dart.assertFailed(null, I[186], 840, 12, "index == headerSize"); + if (data == null) { + return T$0.JSArrayOfListOfint().of([header]); + } else { + return T$0.JSArrayOfListOfint().of([header, data]); + } + } +}; +(_http._WebSocketOutgoingTransformer.new = function(webSocket) { + if (webSocket == null) dart.nullFailed(I[186], 676, 38, "webSocket"); + this[_eventSink$] = null; + this.webSocket = webSocket; + this[_deflateHelper] = webSocket[_deflate$]; + _http._WebSocketOutgoingTransformer.__proto__.new.call(this); + ; +}).prototype = _http._WebSocketOutgoingTransformer.prototype; +dart.addTypeTests(_http._WebSocketOutgoingTransformer); +dart.addTypeCaches(_http._WebSocketOutgoingTransformer); +_http._WebSocketOutgoingTransformer[dart.implements] = () => [async.EventSink]; +dart.setMethodSignature(_http._WebSocketOutgoingTransformer, () => ({ + __proto__: dart.getMethods(_http._WebSocketOutgoingTransformer.__proto__), + bind: dart.fnType(async.Stream$(core.List$(core.int)), [dart.nullable(core.Object)]), + add: dart.fnType(dart.void, [dart.nullable(core.Object)]), + addError: dart.fnType(dart.void, [core.Object], [dart.nullable(core.StackTrace)]), + close: dart.fnType(dart.void, []), + addFrame: dart.fnType(dart.void, [core.int, dart.nullable(core.List$(core.int))]) +})); +dart.setLibraryUri(_http._WebSocketOutgoingTransformer, I[177]); +dart.setFieldSignature(_http._WebSocketOutgoingTransformer, () => ({ + __proto__: dart.getFields(_http._WebSocketOutgoingTransformer.__proto__), + webSocket: dart.finalFieldType(_http._WebSocketImpl), + [_eventSink$]: dart.fieldType(dart.nullable(async.EventSink$(core.List$(core.int)))), + [_deflateHelper]: dart.fieldType(dart.nullable(_http._WebSocketPerMessageDeflate)) +})); +var _issuedPause = dart.privateName(_http, "_issuedPause"); +var _closed$ = dart.privateName(_http, "_closed"); +var _closeCompleter$ = dart.privateName(_http, "_closeCompleter"); +var _completer = dart.privateName(_http, "_completer"); +var _onListen = dart.privateName(_http, "_onListen"); +var _onPause$ = dart.privateName(_http, "_onPause"); +var _onResume$ = dart.privateName(_http, "_onResume"); +var _cancel$ = dart.privateName(_http, "_cancel"); +var _done = dart.privateName(_http, "_done"); +var _ensureController = dart.privateName(_http, "_ensureController"); +_http._WebSocketConsumer = class _WebSocketConsumer extends core.Object { + [_onListen]() { + let t303; + t303 = this[_subscription$0]; + t303 == null ? null : t303.cancel(); + } + [_onPause$]() { + let subscription = this[_subscription$0]; + if (subscription != null) { + subscription.pause(); + } else { + this[_issuedPause] = true; + } + } + [_onResume$]() { + let subscription = this[_subscription$0]; + if (subscription != null) { + subscription.resume(); + } else { + this[_issuedPause] = false; + } + } + [_cancel$]() { + let subscription = this[_subscription$0]; + if (subscription != null) { + this[_subscription$0] = null; + subscription.cancel(); + } + } + [_ensureController]() { + let controller = this[_controller$0]; + if (controller != null) return controller; + controller = this[_controller$0] = async.StreamController.new({sync: true, onPause: dart.bind(this, _onPause$), onResume: dart.bind(this, _onResume$), onCancel: dart.bind(this, _onListen)}); + let stream = controller.stream.transform(T$0.ListOfint(), new _http._WebSocketOutgoingTransformer.new(this.webSocket)); + this.socket.addStream(stream).then(core.Null, dart.fn(_ => { + this[_done](); + this[_closeCompleter$].complete(this.webSocket); + }, T$.dynamicToNull()), {onError: dart.fn((error, stackTrace) => { + if (error == null) dart.nullFailed(I[186], 904, 25, "error"); + if (stackTrace == null) dart.nullFailed(I[186], 904, 43, "stackTrace"); + this[_closed$] = true; + this[_cancel$](); + if (core.ArgumentError.is(error)) { + if (!dart.test(this[_done](error, stackTrace))) { + this[_closeCompleter$].completeError(error, stackTrace); + } + } else { + this[_done](); + this[_closeCompleter$].complete(this.webSocket); + } + }, T$.ObjectAndStackTraceToNull())}); + return controller; + } + [_done](error = null, stackTrace = null) { + let completer = this[_completer]; + if (completer == null) return false; + if (error != null) { + completer.completeError(error, stackTrace); + } else { + completer.complete(this.webSocket); + } + this[_completer] = null; + return true; + } + addStream(stream) { + async.Stream.as(stream); + if (stream == null) dart.nullFailed(I[186], 931, 27, "stream"); + if (dart.test(this[_closed$])) { + stream.listen(null).cancel(); + return async.Future.value(this.webSocket); + } + this[_ensureController](); + let completer = this[_completer] = async.Completer.new(); + let subscription = this[_subscription$0] = stream.listen(dart.fn(data => { + dart.nullCheck(this[_controller$0]).add(data); + }, T$.dynamicTovoid()), {onDone: dart.bind(this, _done), onError: dart.bind(this, _done), cancelOnError: true}); + if (dart.test(this[_issuedPause])) { + subscription.pause(); + this[_issuedPause] = false; + } + return completer.future; + } + close() { + this[_ensureController]().close(); + return this[_closeCompleter$].future.then(dart.dynamic, dart.fn(_ => this.socket.close().catchError(dart.fn(_ => { + }, T$.dynamicToNull())).then(dart.dynamic, dart.fn(_ => this.webSocket, T.dynamicTo_WebSocketImpl())), T$.dynamicToFuture())); + } + add(data) { + if (dart.test(this[_closed$])) return; + let controller = this[_ensureController](); + if (dart.test(controller.isClosed)) return; + controller.add(data); + } + closeSocket() { + this[_closed$] = true; + this[_cancel$](); + this.close(); + } +}; +(_http._WebSocketConsumer.new = function(webSocket, socket) { + if (webSocket == null) dart.nullFailed(I[186], 859, 27, "webSocket"); + if (socket == null) dart.nullFailed(I[186], 859, 43, "socket"); + this[_controller$0] = null; + this[_subscription$0] = null; + this[_issuedPause] = false; + this[_closed$] = false; + this[_closeCompleter$] = T.CompleterOfWebSocket().new(); + this[_completer] = null; + this.webSocket = webSocket; + this.socket = socket; + ; +}).prototype = _http._WebSocketConsumer.prototype; +dart.addTypeTests(_http._WebSocketConsumer); +dart.addTypeCaches(_http._WebSocketConsumer); +_http._WebSocketConsumer[dart.implements] = () => [async.StreamConsumer]; +dart.setMethodSignature(_http._WebSocketConsumer, () => ({ + __proto__: dart.getMethods(_http._WebSocketConsumer.__proto__), + [_onListen]: dart.fnType(dart.void, []), + [_onPause$]: dart.fnType(dart.void, []), + [_onResume$]: dart.fnType(dart.void, []), + [_cancel$]: dart.fnType(dart.void, []), + [_ensureController]: dart.fnType(async.StreamController, []), + [_done]: dart.fnType(core.bool, [], [dart.nullable(core.Object), dart.nullable(core.StackTrace)]), + addStream: dart.fnType(async.Future, [dart.nullable(core.Object)]), + close: dart.fnType(async.Future, []), + add: dart.fnType(dart.void, [dart.dynamic]), + closeSocket: dart.fnType(dart.void, []) +})); +dart.setLibraryUri(_http._WebSocketConsumer, I[177]); +dart.setFieldSignature(_http._WebSocketConsumer, () => ({ + __proto__: dart.getFields(_http._WebSocketConsumer.__proto__), + webSocket: dart.finalFieldType(_http._WebSocketImpl), + socket: dart.finalFieldType(io.Socket), + [_controller$0]: dart.fieldType(dart.nullable(async.StreamController)), + [_subscription$0]: dart.fieldType(dart.nullable(async.StreamSubscription)), + [_issuedPause]: dart.fieldType(core.bool), + [_closed$]: dart.fieldType(core.bool), + [_closeCompleter$]: dart.fieldType(async.Completer), + [_completer]: dart.fieldType(dart.nullable(async.Completer)) +})); +var ___WebSocketImpl__sink = dart.privateName(_http, "_#_WebSocketImpl#_sink"); +var ___WebSocketImpl__sink_isSet = dart.privateName(_http, "_#_WebSocketImpl#_sink#isSet"); +var _readyState = dart.privateName(_http, "_readyState"); +var _writeClosed = dart.privateName(_http, "_writeClosed"); +var _closeCode = dart.privateName(_http, "_closeCode"); +var _closeReason = dart.privateName(_http, "_closeReason"); +var _pingInterval = dart.privateName(_http, "_pingInterval"); +var _pingTimer = dart.privateName(_http, "_pingTimer"); +var ___WebSocketImpl__consumer = dart.privateName(_http, "_#_WebSocketImpl#_consumer"); +var ___WebSocketImpl__consumer_isSet = dart.privateName(_http, "_#_WebSocketImpl#_consumer#isSet"); +var _closeTimer = dart.privateName(_http, "_closeTimer"); +var _consumer = dart.privateName(_http, "_consumer"); +var _sink = dart.privateName(_http, "_sink"); +var _close$0 = dart.privateName(_http, "_close"); +const Stream__ServiceObject$36$ = class Stream__ServiceObject extends async.Stream {}; +(Stream__ServiceObject$36$.new = function() { + _http._ServiceObject.new.call(this); + Stream__ServiceObject$36$.__proto__.new.call(this); +}).prototype = Stream__ServiceObject$36$.prototype; +(Stream__ServiceObject$36$._internal = function() { + _http._ServiceObject.new.call(this); + Stream__ServiceObject$36$.__proto__._internal.call(this); +}).prototype = Stream__ServiceObject$36$.prototype; +dart.applyMixin(Stream__ServiceObject$36$, _http._ServiceObject); +_http._WebSocketImpl = class _WebSocketImpl extends Stream__ServiceObject$36$ { + get [_sink]() { + let t303; + return dart.test(this[___WebSocketImpl__sink_isSet]) ? (t303 = this[___WebSocketImpl__sink], t303) : dart.throw(new _internal.LateError.fieldNI("_sink")); + } + set [_sink](t303) { + if (t303 == null) dart.nullFailed(I[186], 981, 19, "null"); + this[___WebSocketImpl__sink_isSet] = true; + this[___WebSocketImpl__sink] = t303; + } + get [_consumer]() { + let t304; + return dart.test(this[___WebSocketImpl__consumer_isSet]) ? (t304 = this[___WebSocketImpl__consumer], t304) : dart.throw(new _internal.LateError.fieldNI("_consumer")); + } + set [_consumer](t304) { + if (t304 == null) dart.nullFailed(I[186], 991, 27, "null"); + this[___WebSocketImpl__consumer_isSet] = true; + this[___WebSocketImpl__consumer] = t304; + } + static connect(url, protocols, headers, opts) { + if (url == null) dart.nullFailed(I[186], 1001, 14, "url"); + let compression = opts && 'compression' in opts ? opts.compression : C[486] || CT.C486; + if (compression == null) dart.nullFailed(I[186], 1002, 27, "compression"); + let uri = core.Uri.parse(url); + if (uri.scheme !== "ws" && uri.scheme !== "wss") { + dart.throw(new _http.WebSocketException.new("Unsupported URL scheme '" + dart.str(uri.scheme) + "'")); + } + let random = math.Random.new(); + let nonceData = _native_typed_data.NativeUint8List.new(16); + for (let i = 0; i < 16; i = i + 1) { + nonceData[$_set](i, random.nextInt(256)); + } + let nonce = _http._CryptoUtils.bytesToBase64(nonceData); + uri = core._Uri.new({scheme: uri.scheme === "wss" ? "https" : "http", userInfo: uri.userInfo, host: uri.host, port: uri.port, path: uri.path, query: uri.query, fragment: uri.fragment}); + return _http._WebSocketImpl._httpClient.openUrl("GET", uri).then(_http.HttpClientResponse, dart.fn(request => { + let t305; + if (request == null) dart.nullFailed(I[186], 1025, 50, "request"); + if (uri.userInfo != null && !uri.userInfo[$isEmpty]) { + let auth = _http._CryptoUtils.bytesToBase64(convert.utf8.encode(uri.userInfo)); + request.headers.set("authorization", "Basic " + dart.str(auth)); + } + if (headers != null) { + headers[$forEach](dart.fn((field, value) => { + if (field == null) dart.nullFailed(I[186], 1033, 26, "field"); + return request.headers.add(field, core.Object.as(value)); + }, T$0.StringAnddynamicTovoid())); + } + t305 = request.headers; + (() => { + t305.set("connection", "Upgrade"); + t305.set("upgrade", "websocket"); + t305.set("Sec-WebSocket-Key", nonce); + t305.set("Cache-Control", "no-cache"); + t305.set("Sec-WebSocket-Version", "13"); + return t305; + })(); + if (protocols != null) { + request.headers.add("Sec-WebSocket-Protocol", protocols[$toList]()); + } + if (dart.test(compression.enabled)) { + request.headers.add("Sec-WebSocket-Extensions", compression[_createHeader]()); + } + return request.close(); + }, T.HttpClientRequestToFutureOfHttpClientResponse())).then(_http.WebSocket, dart.fn(response => { + if (response == null) dart.nullFailed(I[186], 1052, 14, "response"); + function error(message) { + if (message == null) dart.nullFailed(I[186], 1053, 26, "message"); + response.detachSocket().then(core.Null, dart.fn(socket => { + if (socket == null) dart.nullFailed(I[186], 1055, 39, "socket"); + socket.destroy(); + }, T.SocketToNull())); + dart.throw(new _http.WebSocketException.new(message)); + } + dart.fn(error, T.StringToNever()); + let connectionHeader = response.headers._get("connection"); + if (response.statusCode !== 101 || connectionHeader == null || !dart.test(connectionHeader[$any](dart.fn(value => { + if (value == null) dart.nullFailed(I[186], 1064, 34, "value"); + return value[$toLowerCase]() === "upgrade"; + }, T$.StringTobool()))) || dart.nullCheck(response.headers.value("upgrade"))[$toLowerCase]() !== "websocket") { + error("Connection to '" + dart.str(uri) + "' was not upgraded to websocket"); + dart.throw(new _internal.ReachabilityError.new("`null` encountered as the result from expression with type `Never`.")); + } + let accept = response.headers.value("Sec-WebSocket-Accept"); + if (accept == null) { + error("Response did not contain a 'Sec-WebSocket-Accept' header"); + dart.throw(new _internal.ReachabilityError.new("`null` encountered as the result from expression with type `Never`.")); + } + let sha1 = new _http._SHA1.new(); + sha1.add((dart.str(nonce) + dart.str(_http._webSocketGUID))[$codeUnits]); + let expectedAccept = sha1.close(); + let receivedAccept = _http._CryptoUtils.base64StringToBytes(accept); + if (expectedAccept[$length] != receivedAccept[$length]) { + error("Response header 'Sec-WebSocket-Accept' is the wrong length"); + dart.throw(new _internal.ReachabilityError.new("`null` encountered as the result from expression with type `Never`.")); + } + for (let i = 0; i < dart.notNull(expectedAccept[$length]); i = i + 1) { + if (expectedAccept[$_get](i) != receivedAccept[$_get](i)) { + error("Bad response 'Sec-WebSocket-Accept' header"); + dart.throw(new _internal.ReachabilityError.new("`null` encountered as the result from expression with type `Never`.")); + } + } + let protocol = response.headers.value("Sec-WebSocket-Protocol"); + let deflate = _http._WebSocketImpl.negotiateClientCompression(response, compression); + return response.detachSocket().then(_http.WebSocket, dart.fn(socket => { + if (socket == null) dart.nullFailed(I[186], 1090, 55, "socket"); + return new _http._WebSocketImpl._fromSocket(socket, protocol, compression, false, deflate); + }, T.SocketTo_WebSocketImpl())); + }, T.HttpClientResponseToFutureOfWebSocket())); + } + static negotiateClientCompression(response, compression) { + let t305; + if (response == null) dart.nullFailed(I[186], 1097, 26, "response"); + if (compression == null) dart.nullFailed(I[186], 1097, 55, "compression"); + let extensionHeader = (t305 = response.headers.value("Sec-WebSocket-Extensions"), t305 == null ? "" : t305); + let hv = _http.HeaderValue.parse(extensionHeader, {valueSeparator: ","}); + if (dart.test(compression.enabled) && hv.value === "permessage-deflate") { + let serverNoContextTakeover = hv.parameters[$containsKey]("server_no_context_takeover"); + let clientNoContextTakeover = hv.parameters[$containsKey]("client_no_context_takeover"); + function getWindowBits(type) { + let t305; + if (type == null) dart.nullFailed(I[186], 1109, 32, "type"); + let o = hv.parameters[$_get](type); + if (o == null) { + return 15; + } + t305 = core.int.tryParse(o); + return t305 == null ? 15 : t305; + } + dart.fn(getWindowBits, T$0.StringToint()); + return new _http._WebSocketPerMessageDeflate.new({clientMaxWindowBits: getWindowBits("client_max_window_bits"), serverMaxWindowBits: getWindowBits("server_max_window_bits"), clientNoContextTakeover: clientNoContextTakeover, serverNoContextTakeover: serverNoContextTakeover}); + } + return null; + } + listen(onData, opts) { + let onError = opts && 'onError' in opts ? opts.onError : null; + let onDone = opts && 'onDone' in opts ? opts.onDone : null; + let cancelOnError = opts && 'cancelOnError' in opts ? opts.cancelOnError : null; + return this[_controller$0].stream.listen(onData, {onError: onError, onDone: onDone, cancelOnError: cancelOnError}); + } + get pingInterval() { + return this[_pingInterval]; + } + set pingInterval(interval) { + let t305; + if (dart.test(this[_writeClosed])) return; + t305 = this[_pingTimer]; + t305 == null ? null : t305.cancel(); + this[_pingInterval] = interval; + if (interval == null) return; + this[_pingTimer] = async.Timer.new(interval, dart.fn(() => { + if (dart.test(this[_writeClosed])) return; + this[_consumer].add(new _http._WebSocketPing.new()); + this[_pingTimer] = async.Timer.new(interval, dart.fn(() => { + let t305; + t305 = this[_closeTimer]; + t305 == null ? null : t305.cancel(); + this[_close$0](1001); + this[_closeCode] = this[_outCloseCode]; + this[_closeReason] = this[_outCloseReason]; + this[_controller$0].close(); + }, T$.VoidTovoid())); + }, T$.VoidTovoid())); + } + get readyState() { + return this[_readyState]; + } + get extensions() { + return ""; + } + get closeCode() { + return this[_closeCode]; + } + get closeReason() { + return this[_closeReason]; + } + add(data) { + this[_sink].add(data); + } + addUtf8Text(bytes) { + if (bytes == null) dart.nullFailed(I[186], 1226, 30, "bytes"); + core.ArgumentError.checkNotNull(T$0.ListOfint(), bytes, "bytes"); + this[_sink].add(new _http._EncodedString.new(bytes)); + } + addError(error, stackTrace = null) { + if (error == null) dart.nullFailed(I[186], 1232, 24, "error"); + this[_sink].addError(error, stackTrace); + } + addStream(stream) { + async.Stream.as(stream); + if (stream == null) dart.nullFailed(I[186], 1236, 27, "stream"); + return this[_sink].addStream(stream); + } + get done() { + return this[_sink].done; + } + close(code = null, reason = null) { + if (dart.test(_http._WebSocketImpl._isReservedStatusCode(code))) { + dart.throw(new _http.WebSocketException.new("Reserved status code " + dart.str(code))); + } + if (this[_outCloseCode] == null) { + this[_outCloseCode] = code; + this[_outCloseReason] = reason; + } + if (!dart.test(this[_controller$0].isClosed)) { + if (!dart.test(this[_controller$0].hasListener) && this[_subscription$0] != null) { + this[_controller$0].stream.drain(dart.dynamic).catchError(dart.fn(_ => new _js_helper.LinkedMap.new(), T.dynamicToMap())); + } + if (this[_closeTimer] == null) { + this[_closeTimer] = async.Timer.new(C[489] || CT.C489, dart.fn(() => { + let t305; + this[_closeCode] = this[_outCloseCode]; + this[_closeReason] = this[_outCloseReason]; + t305 = this[_subscription$0]; + t305 == null ? null : t305.cancel(); + this[_controller$0].close(); + _http._WebSocketImpl._webSockets[$remove](this[_serviceId$]); + }, T$.VoidTovoid())); + } + } + return this[_sink].close(); + } + static get userAgent() { + return _http._WebSocketImpl._httpClient.userAgent; + } + static set userAgent(userAgent) { + _http._WebSocketImpl._httpClient.userAgent = userAgent; + } + [_close$0](code = null, reason = null) { + if (dart.test(this[_writeClosed])) return; + if (this[_outCloseCode] == null) { + this[_outCloseCode] = code; + this[_outCloseReason] = reason; + } + this[_writeClosed] = true; + this[_consumer].closeSocket(); + _http._WebSocketImpl._webSockets[$remove](this[_serviceId$]); + } + get [_serviceTypePath$]() { + return "io/websockets"; + } + get [_serviceTypeName$]() { + return "WebSocket"; + } + [_toJSON$](ref) { + if (ref == null) dart.nullFailed(I[186], 1291, 37, "ref"); + let name = dart.str(this[_socket$0].address.host) + ":" + dart.str(this[_socket$0].port); + let r = new (T$0.IdentityMapOfString$dynamic()).from(["id", this[_servicePath$], "type", this[_serviceType$](ref), "name", name, "user_name", name]); + if (dart.test(ref)) { + return r; + } + try { + r[$_set]("socket", dart.dsend(this[_socket$0], _toJSON$, [true])); + } catch (e) { + let _ = dart.getThrown(e); + if (core.Object.is(_)) { + r[$_set]("socket", new (T$.IdentityMapOfString$String()).from(["id", this[_servicePath$], "type", "@Socket", "name", "UserSocket", "user_name", "UserSocket"])); + } else + throw e; + } + return r; + } + static _isReservedStatusCode(code) { + return code != null && (dart.notNull(code) < 1000 || code === 1004 || code === 1005 || code === 1006 || dart.notNull(code) > 1011 && dart.notNull(code) < 1015 || dart.notNull(code) >= 1015 && dart.notNull(code) < 3000); + } +}; +(_http._WebSocketImpl._fromSocket = function(_socket, protocol, compression, _serverSide = false, deflate = null) { + let t303; + if (_socket == null) dart.nullFailed(I[186], 1129, 12, "_socket"); + if (compression == null) dart.nullFailed(I[186], 1129, 55, "compression"); + if (_serverSide == null) dart.nullFailed(I[186], 1130, 13, "_serverSide"); + this[_subscription$0] = null; + this[___WebSocketImpl__sink] = null; + this[___WebSocketImpl__sink_isSet] = false; + this[_readyState] = 0; + this[_writeClosed] = false; + this[_closeCode] = null; + this[_closeReason] = null; + this[_pingInterval] = null; + this[_pingTimer] = null; + this[___WebSocketImpl__consumer] = null; + this[___WebSocketImpl__consumer_isSet] = false; + this[_outCloseCode] = null; + this[_outCloseReason] = null; + this[_closeTimer] = null; + this[_deflate$] = null; + this[_socket$0] = _socket; + this.protocol = protocol; + this[_serverSide$] = _serverSide; + this[_controller$0] = async.StreamController.new({sync: true}); + _http._WebSocketImpl.__proto__.new.call(this); + this[_consumer] = new _http._WebSocketConsumer.new(this, this[_socket$0]); + this[_sink] = new _http._StreamSinkImpl.new(this[_consumer]); + this[_readyState] = 1; + this[_deflate$] = deflate; + let transformer = new _http._WebSocketProtocolTransformer.new(this[_serverSide$], deflate); + let subscription = this[_subscription$0] = transformer.bind(this[_socket$0]).listen(dart.fn(data => { + if (_http._WebSocketPing.is(data)) { + if (!dart.test(this[_writeClosed])) this[_consumer].add(new _http._WebSocketPong.new(data.payload)); + } else if (_http._WebSocketPong.is(data)) { + this.pingInterval = this[_pingInterval]; + } else { + this[_controller$0].add(data); + } + }, T$.dynamicTovoid()), {onError: dart.fn((error, stackTrace) => { + let t303; + if (error == null) dart.nullFailed(I[186], 1147, 25, "error"); + if (stackTrace == null) dart.nullFailed(I[186], 1147, 43, "stackTrace"); + t303 = this[_closeTimer]; + t303 == null ? null : t303.cancel(); + if (core.FormatException.is(error)) { + this[_close$0](1007); + } else { + this[_close$0](1002); + } + this[_closeCode] = this[_outCloseCode]; + this[_closeReason] = this[_outCloseReason]; + this[_controller$0].close(); + }, T$.ObjectAndStackTraceToNull()), onDone: dart.fn(() => { + let t303; + t303 = this[_closeTimer]; + t303 == null ? null : t303.cancel(); + if (this[_readyState] === 1) { + this[_readyState] = 2; + if (!dart.test(_http._WebSocketImpl._isReservedStatusCode(transformer.closeCode))) { + this[_close$0](transformer.closeCode, transformer.closeReason); + } else { + this[_close$0](); + } + this[_readyState] = 3; + } + this[_closeCode] = transformer.closeCode; + this[_closeReason] = transformer.closeReason; + this[_controller$0].close(); + }, T$.VoidTovoid()), cancelOnError: true}); + subscription.pause(); + t303 = this[_controller$0]; + (() => { + t303.onListen = dart.bind(subscription, 'resume'); + t303.onCancel = dart.fn(() => { + dart.nullCheck(this[_subscription$0]).cancel(); + this[_subscription$0] = null; + }, T$.VoidToNull()); + t303.onPause = dart.bind(subscription, 'pause'); + t303.onResume = dart.bind(subscription, 'resume'); + return t303; + })(); + _http._WebSocketImpl._webSockets[$_set](this[_serviceId$], this); +}).prototype = _http._WebSocketImpl.prototype; +dart.addTypeTests(_http._WebSocketImpl); +dart.addTypeCaches(_http._WebSocketImpl); +_http._WebSocketImpl[dart.implements] = () => [_http.WebSocket]; +dart.setMethodSignature(_http._WebSocketImpl, () => ({ + __proto__: dart.getMethods(_http._WebSocketImpl.__proto__), + listen: dart.fnType(async.StreamSubscription, [dart.nullable(dart.fnType(dart.void, [dart.dynamic]))], {cancelOnError: dart.nullable(core.bool), onDone: dart.nullable(dart.fnType(dart.void, [])), onError: dart.nullable(core.Function)}, {}), + add: dart.fnType(dart.void, [dart.nullable(core.Object)]), + addUtf8Text: dart.fnType(dart.void, [core.List$(core.int)]), + addError: dart.fnType(dart.void, [core.Object], [dart.nullable(core.StackTrace)]), + addStream: dart.fnType(async.Future, [dart.nullable(core.Object)]), + close: dart.fnType(async.Future, [], [dart.nullable(core.int), dart.nullable(core.String)]), + [_close$0]: dart.fnType(dart.void, [], [dart.nullable(core.int), dart.nullable(core.String)]), + [_toJSON$]: dart.fnType(core.Map$(core.String, dart.dynamic), [core.bool]) +})); +dart.setGetterSignature(_http._WebSocketImpl, () => ({ + __proto__: dart.getGetters(_http._WebSocketImpl.__proto__), + [_sink]: async.StreamSink, + [_consumer]: _http._WebSocketConsumer, + pingInterval: dart.nullable(core.Duration), + readyState: core.int, + extensions: core.String, + closeCode: dart.nullable(core.int), + closeReason: dart.nullable(core.String), + done: async.Future, + [_serviceTypePath$]: core.String, + [_serviceTypeName$]: core.String +})); +dart.setSetterSignature(_http._WebSocketImpl, () => ({ + __proto__: dart.getSetters(_http._WebSocketImpl.__proto__), + [_sink]: async.StreamSink, + [_consumer]: _http._WebSocketConsumer, + pingInterval: dart.nullable(core.Duration) +})); +dart.setLibraryUri(_http._WebSocketImpl, I[177]); +dart.setFieldSignature(_http._WebSocketImpl, () => ({ + __proto__: dart.getFields(_http._WebSocketImpl.__proto__), + protocol: dart.finalFieldType(dart.nullable(core.String)), + [_controller$0]: dart.finalFieldType(async.StreamController), + [_subscription$0]: dart.fieldType(dart.nullable(async.StreamSubscription)), + [___WebSocketImpl__sink]: dart.fieldType(dart.nullable(async.StreamSink)), + [___WebSocketImpl__sink_isSet]: dart.fieldType(core.bool), + [_socket$0]: dart.finalFieldType(io.Socket), + [_serverSide$]: dart.finalFieldType(core.bool), + [_readyState]: dart.fieldType(core.int), + [_writeClosed]: dart.fieldType(core.bool), + [_closeCode]: dart.fieldType(dart.nullable(core.int)), + [_closeReason]: dart.fieldType(dart.nullable(core.String)), + [_pingInterval]: dart.fieldType(dart.nullable(core.Duration)), + [_pingTimer]: dart.fieldType(dart.nullable(async.Timer)), + [___WebSocketImpl__consumer]: dart.fieldType(dart.nullable(_http._WebSocketConsumer)), + [___WebSocketImpl__consumer_isSet]: dart.fieldType(core.bool), + [_outCloseCode]: dart.fieldType(dart.nullable(core.int)), + [_outCloseReason]: dart.fieldType(dart.nullable(core.String)), + [_closeTimer]: dart.fieldType(dart.nullable(async.Timer)), + [_deflate$]: dart.fieldType(dart.nullable(_http._WebSocketPerMessageDeflate)) +})); +dart.defineLazy(_http._WebSocketImpl, { + /*_http._WebSocketImpl._webSockets*/get _webSockets() { + return new (T.LinkedMapOfint$_WebSocketImpl()).new(); + }, + set _webSockets(_) {}, + /*_http._WebSocketImpl.DEFAULT_WINDOW_BITS*/get DEFAULT_WINDOW_BITS() { + return 15; + }, + /*_http._WebSocketImpl.PER_MESSAGE_DEFLATE*/get PER_MESSAGE_DEFLATE() { + return "permessage-deflate"; + }, + /*_http._WebSocketImpl._httpClient*/get _httpClient() { + return _http.HttpClient.new(); + } +}, false); +_http._getHttpVersion = function _getHttpVersion() { + let version = io.Platform.version; + let index = version[$indexOf](".", version[$indexOf](".") + 1); + version = version[$substring](0, index); + return "Dart/" + dart.str(version) + " (dart:io)"; +}; +dart.defineLazy(_http, { + /*_http._MASK_8*/get _MASK_8() { + return 255; + }, + /*_http._MASK_32*/get _MASK_32() { + return 4294967295.0; + }, + /*_http._BITS_PER_BYTE*/get _BITS_PER_BYTE() { + return 8; + }, + /*_http._BYTES_PER_WORD*/get _BYTES_PER_WORD() { + return 4; + }, + /*_http._nextServiceId*/get _nextServiceId() { + return 1; + }, + set _nextServiceId(_) {}, + /*_http._OUTGOING_BUFFER_SIZE*/get _OUTGOING_BUFFER_SIZE() { + return 8192; + }, + /*_http._DART_SESSION_ID*/get _DART_SESSION_ID() { + return "DARTSESSID"; + }, + /*_http._httpOverridesToken*/get _httpOverridesToken() { + return new core.Object.new(); + }, + /*_http._asyncRunZoned*/get _asyncRunZoned() { + return C[208] || CT.C208; + }, + /*_http._webSocketGUID*/get _webSocketGUID() { + return "258EAFA5-E914-47DA-95CA-C5AB0DC85B11"; + }, + /*_http._clientNoContextTakeover*/get _clientNoContextTakeover() { + return "client_no_context_takeover"; + }, + /*_http._serverNoContextTakeover*/get _serverNoContextTakeover() { + return "server_no_context_takeover"; + }, + /*_http._clientMaxWindowBits*/get _clientMaxWindowBits() { + return "client_max_window_bits"; + }, + /*_http._serverMaxWindowBits*/get _serverMaxWindowBits() { + return "server_max_window_bits"; + } +}, false); +dart.setBaseClass(_http._HttpConnection.__proto__, collection.LinkedListEntry$(_http._HttpConnection)); +dart.trackLibraries("dart_sdk", { + "dart:_runtime": dart, + "dart:_debugger": _debugger, + "dart:_foreign_helper": _foreign_helper, + "dart:_interceptors": _interceptors, + "dart:_internal": _internal, + "dart:_isolate_helper": _isolate_helper, + "dart:_js_helper": _js_helper, + "dart:_js_primitives": _js_primitives, + "dart:_metadata": _metadata, + "dart:_native_typed_data": _native_typed_data, + "dart:async": async, + "dart:collection": collection, + "dart:convert": convert, + "dart:developer": developer, + "dart:io": io, + "dart:isolate": isolate$, + "dart:js": js, + "dart:js_util": js_util, + "dart:math": math, + "dart:typed_data": typed_data, + "dart:indexed_db": indexed_db, + "dart:html": html$, + "dart:html_common": html_common, + "dart:svg": svg$, + "dart:web_audio": web_audio, + "dart:web_gl": web_gl, + "dart:web_sql": web_sql, + "dart:core": core, + "dart:_http": _http +}, { + "dart:_runtime": ["utils.dart", "classes.dart", "rtti.dart", "types.dart", "errors.dart", "operations.dart"], + "dart:_debugger": ["profile.dart"], + "dart:_interceptors": ["js_array.dart", "js_number.dart", "js_string.dart"], + "dart:_internal": ["async_cast.dart", "bytes_builder.dart", "cast.dart", "errors.dart", "iterable.dart", "list.dart", "linked_list.dart", "print.dart", "sort.dart", "symbol.dart"], + "dart:_js_helper": ["annotations.dart", "linked_hash_map.dart", "identity_hash_map.dart", "custom_hash_map.dart", "native_helper.dart", "regexp_helper.dart", "string_helper.dart", "js_rti.dart"], + "dart:async": ["async_error.dart", "broadcast_stream_controller.dart", "deferred_load.dart", "future.dart", "future_impl.dart", "schedule_microtask.dart", "stream.dart", "stream_controller.dart", "stream_impl.dart", "stream_pipe.dart", "stream_transformers.dart", "timer.dart", "zone.dart"], + "dart:collection": ["collections.dart", "hash_map.dart", "hash_set.dart", "iterable.dart", "iterator.dart", "linked_hash_map.dart", "linked_hash_set.dart", "linked_list.dart", "list.dart", "maps.dart", "queue.dart", "set.dart", "splay_tree.dart"], + "dart:convert": ["ascii.dart", "base64.dart", "byte_conversion.dart", "chunked_conversion.dart", "codec.dart", "converter.dart", "encoding.dart", "html_escape.dart", "json.dart", "latin1.dart", "line_splitter.dart", "string_conversion.dart", "utf.dart"], + "dart:developer": ["extension.dart", "profiler.dart", "service.dart", "timeline.dart"], + "dart:io": ["common.dart", "data_transformer.dart", "directory.dart", "directory_impl.dart", "embedder_config.dart", "eventhandler.dart", "file.dart", "file_impl.dart", "file_system_entity.dart", "io_resource_info.dart", "io_sink.dart", "io_service.dart", "link.dart", "namespace_impl.dart", "network_policy.dart", "network_profiling.dart", "overrides.dart", "platform.dart", "platform_impl.dart", "process.dart", "secure_server_socket.dart", "secure_socket.dart", "security_context.dart", "service_object.dart", "socket.dart", "stdio.dart", "string_transformer.dart", "sync_socket.dart"], + "dart:isolate": ["capability.dart"], + "dart:math": ["point.dart", "random.dart", "rectangle.dart"], + "dart:typed_data": ["unmodifiable_typed_data.dart"], + "dart:html_common": ["css_class_set.dart", "conversions.dart", "conversions_dart2js.dart", "device.dart", "filtered_element_list.dart", "lists.dart"], + "dart:core": ["annotations.dart", "bigint.dart", "bool.dart", "comparable.dart", "date_time.dart", "double.dart", "duration.dart", "errors.dart", "exceptions.dart", "expando.dart", "function.dart", "identical.dart", "int.dart", "invocation.dart", "iterable.dart", "iterator.dart", "list.dart", "map.dart", "null.dart", "num.dart", "object.dart", "pattern.dart", "print.dart", "regexp.dart", "set.dart", "sink.dart", "stacktrace.dart", "stopwatch.dart", "string.dart", "string_buffer.dart", "string_sink.dart", "symbol.dart", "type.dart", "uri.dart"], + "dart:_http": ["crypto.dart", "http_date.dart", "http_headers.dart", "http_impl.dart", "http_parser.dart", "http_session.dart", "overrides.dart", "websocket.dart", "websocket_impl.dart"] +}, null); + +//# sourceMappingURL=dart_sdk.js.map diff --git a/v0.19.4/packages/$sdk/dev_compiler/web/dart_stack_trace_mapper.js b/v0.19.4/packages/$sdk/dev_compiler/web/dart_stack_trace_mapper.js new file mode 100644 index 000000000..72c30d427 --- /dev/null +++ b/v0.19.4/packages/$sdk/dev_compiler/web/dart_stack_trace_mapper.js @@ -0,0 +1,5507 @@ +(function dartProgram(){function copyProperties(a,b){var s=Object.keys(a) +for(var r=0;r=0)return true +if(typeof version=="function"&&version.length==0){var q=version() +if(/^\d+\.\d+\.\d+\.\d+$/.test(q))return true}}catch(p){}return false}() +function setFunctionNamesIfNecessary(a){function t(){};if(typeof t.name=="string")return +for(var s=0;sc)H.k(P.y(b,0,c,"start",null))}return new H.aG(a,b,c,d.h("aG<0>"))}, +eU:function(a,b,c,d){if(t.O.b(a))return new H.bj(a,b,c.h("@<0>").S(d).h("bj<1,2>")) +return new H.X(a,b,c.h("@<0>").S(d).h("X<1,2>"))}, +j8:function(a,b,c){P.aX(b,"takeCount") +if(t.O.b(a))return new H.bk(a,b,c.h("bk<0>")) +return new H.aI(a,b,c.h("aI<0>"))}, +br:function(){return new P.aF("No element")}, +iR:function(){return new P.aF("Too few elements")}, +bv:function bv(a){this.a=a}, +cC:function cC(a){this.a=a}, +aQ:function aQ(a){this.a=a}, +n:function n(){}, +E:function E(){}, +aG:function aG(a,b,c,d){var _=this +_.a=a +_.b=b +_.c=c +_.$ti=d}, +ad:function ad(a,b,c){var _=this +_.a=a +_.b=b +_.c=0 +_.d=null +_.$ti=c}, +X:function X(a,b,c){this.a=a +this.b=b +this.$ti=c}, +bj:function bj(a,b,c){this.a=a +this.b=b +this.$ti=c}, +aC:function aC(a,b,c){var _=this +_.a=null +_.b=a +_.c=b +_.$ti=c}, +q:function q(a,b,c){this.a=a +this.b=b +this.$ti=c}, +O:function O(a,b,c){this.a=a +this.b=b +this.$ti=c}, +aL:function aL(a,b,c){this.a=a +this.b=b +this.$ti=c}, +bn:function bn(a,b,c){this.a=a +this.b=b +this.$ti=c}, +bo:function bo(a,b,c,d){var _=this +_.a=a +_.b=b +_.c=c +_.d=null +_.$ti=d}, +aI:function aI(a,b,c){this.a=a +this.b=b +this.$ti=c}, +bk:function bk(a,b,c){this.a=a +this.b=b +this.$ti=c}, +bJ:function bJ(a,b,c){this.a=a +this.b=b +this.$ti=c}, +bE:function bE(a,b,c){this.a=a +this.b=b +this.$ti=c}, +bF:function bF(a,b,c){var _=this +_.a=a +_.b=b +_.c=!1 +_.$ti=c}, +bl:function bl(a){this.$ti=a}, +bN:function bN(a,b){this.a=a +this.$ti=b}, +bO:function bO(a,b){this.a=a +this.$ti=b}, +az:function az(){}, +aK:function aK(){}, +b3:function b3(){}, +b0:function b0(a){this.a=a}, +hQ:function(a){var s,r=H.hP(a) +if(r!=null)return r +s="minified:"+a +return s}, +kn:function(a,b){var s +if(b!=null){s=b.x +if(s!=null)return s}return t.da.b(a)}, +d:function(a){var s +if(typeof a=="string")return a +if(typeof a=="number"){if(a!==0)return""+a}else if(!0===a)return"true" +else if(!1===a)return"false" +else if(a==null)return"null" +s=J.aw(a) +if(typeof s!="string")throw H.a(H.J(a)) +return s}, +bD:function(a){var s=a.$identityHash +if(s==null){s=Math.random()*0x3fffffff|0 +a.$identityHash=s}return s}, +fK:function(a,b){var s,r,q,p,o,n,m=null +if(typeof a!="string")H.k(H.J(a)) +s=/^\s*[+-]?((0x[a-f0-9]+)|(\d+)|([a-z0-9]+))\s*$/i.exec(a) +if(s==null)return m +if(3>=s.length)return H.b(s,3) +r=s[3] +if(b==null){if(r!=null)return parseInt(a,10) +if(s[2]!=null)return parseInt(a,16) +return m}if(b<2||b>36)throw H.a(P.y(b,2,36,"radix",m)) +if(b===10&&r!=null)return parseInt(a,10) +if(b<10||r==null){q=b<=10?47+b:86+b +p=s[1] +for(o=p.length,n=0;nq)return m}return parseInt(a,b)}, +dJ:function(a){return H.iY(a)}, +iY:function(a){var s,r,q,p +if(a instanceof P.t)return H.P(H.a1(a),null) +if(J.au(a)===C.Q||t.cC.b(a)){s=C.t(a) +r=s!=="Object"&&s!=="" +if(r)return s +q=a.constructor +if(typeof q=="function"){p=q.name +if(typeof p=="string")r=p!=="Object"&&p!=="" +else r=!1 +if(r)return p}}return H.P(H.a1(a),null)}, +j_:function(){if(!!self.location)return self.location.href +return null}, +fJ:function(a){var s,r,q,p,o=a.length +if(o<=500)return String.fromCharCode.apply(null,a) +for(s="",r=0;r65535)return H.j0(a)}return H.fJ(a)}, +j1:function(a,b,c){var s,r,q,p +if(c<=500&&b===0&&c===a.length)return String.fromCharCode.apply(null,a) +for(s=b,r="";s>>0,s&1023|56320)}}throw H.a(P.y(a,0,1114111,null,null))}, +ar:function(a,b,c){var s,r,q={} +q.a=0 +s=[] +r=[] +q.a=b.length +C.b.aP(s,b) +q.b="" +if(c!=null&&c.a!==0)c.T(0,new H.dI(q,r,s)) +""+q.a +return J.iy(a,new H.cj(C.Z,0,s,r,0))}, +iZ:function(a,b,c){var s,r,q,p +if(b instanceof Array)s=c==null||c.a===0 +else s=!1 +if(s){r=b +q=r.length +if(q===0){if(!!a.$0)return a.$0()}else if(q===1){if(!!a.$1)return a.$1(r[0])}else if(q===2){if(!!a.$2)return a.$2(r[0],r[1])}else if(q===3){if(!!a.$3)return a.$3(r[0],r[1],r[2])}else if(q===4){if(!!a.$4)return a.$4(r[0],r[1],r[2],r[3])}else if(q===5)if(!!a.$5)return a.$5(r[0],r[1],r[2],r[3],r[4]) +p=a[""+"$"+q] +if(p!=null)return p.apply(a,r)}return H.iX(a,b,c)}, +iX:function(a,b,c){var s,r,q,p,o,n,m,l,k,j,i,h,g +if(b!=null)s=b instanceof Array?b:P.cq(b,!0,t.z) +else s=[] +r=s.length +q=a.$R +if(rq+n.length)return H.ar(a,s,null) +C.b.aP(s,n.slice(r-q)) +return l.apply(a,s)}else{if(r>q)return H.ar(a,s,c) +k=Object.keys(n) +if(c==null)for(o=k.length,j=0;j=s)return P.dy(b,a,r,null,s) +return P.aW(b,r)}, +kf:function(a,b,c){if(a>c)return P.y(a,0,c,"start",null) +if(b!=null)if(bc)return P.y(b,a,c,"end",null) +return new P.a2(!0,b,"end",null)}, +J:function(a){return new P.a2(!0,a,null,null)}, +hC:function(a){if(typeof a!="number")throw H.a(H.J(a)) +return a}, +a:function(a){var s,r +if(a==null)a=new P.cx() +s=new Error() +s.dartException=a +r=H.kF +if("defineProperty" in Object){Object.defineProperty(s,"message",{get:r}) +s.name=""}else s.toString=r +return s}, +kF:function(){return J.aw(this.dartException)}, +k:function(a){throw H.a(a)}, +c2:function(a){throw H.a(P.a9(a))}, +ag:function(a){var s,r,q,p,o,n +a=H.hO(a.replace(String({}),"$receiver$")) +s=a.match(/\\\$[a-zA-Z]+\\\$/g) +if(s==null)s=H.h([],t.s) +r=s.indexOf("\\$arguments\\$") +q=s.indexOf("\\$argumentsExpr\\$") +p=s.indexOf("\\$expr\\$") +o=s.indexOf("\\$method\\$") +n=s.indexOf("\\$receiver\\$") +return new H.e3(a.replace(new RegExp("\\\\\\$arguments\\\\\\$","g"),"((?:x|[^x])*)").replace(new RegExp("\\\\\\$argumentsExpr\\\\\\$","g"),"((?:x|[^x])*)").replace(new RegExp("\\\\\\$expr\\\\\\$","g"),"((?:x|[^x])*)").replace(new RegExp("\\\\\\$method\\\\\\$","g"),"((?:x|[^x])*)").replace(new RegExp("\\\\\\$receiver\\\\\\$","g"),"((?:x|[^x])*)"),r,q,p,o,n)}, +e4:function(a){return function($expr$){var $argumentsExpr$="$arguments$" +try{$expr$.$method$($argumentsExpr$)}catch(s){return s.message}}(a)}, +fU:function(a){return function($expr$){try{$expr$.$method$}catch(s){return s.message}}(a)}, +eR:function(a,b){var s=b==null,r=s?null:b.method +return new H.cl(a,r,s?null:b.receiver)}, +av:function(a){if(a==null)return new H.cy(a) +if(typeof a!=="object")return a +if("dartException" in a)return H.aO(a,a.dartException) +return H.kb(a)}, +aO:function(a,b){if(t.C.b(b))if(b.$thrownJsError==null)b.$thrownJsError=a +return b}, +kb:function(a){var s,r,q,p,o,n,m,l,k,j,i,h,g,f,e=null +if(!("message" in a))return a +s=a.message +if("number" in a&&typeof a.number=="number"){r=a.number +q=r&65535 +if((C.c.a1(r,16)&8191)===10)switch(q){case 438:return H.aO(a,H.eR(H.d(s)+" (Error "+q+")",e)) +case 445:case 5007:p=H.d(s)+" (Error "+q+")" +return H.aO(a,new H.bB(p,e))}}if(a instanceof TypeError){o=$.hW() +n=$.hX() +m=$.hY() +l=$.hZ() +k=$.i1() +j=$.i2() +i=$.i0() +$.i_() +h=$.i4() +g=$.i3() +f=o.V(s) +if(f!=null)return H.aO(a,H.eR(H.j(s),f)) +else{f=n.V(s) +if(f!=null){f.method="call" +return H.aO(a,H.eR(H.j(s),f))}else{f=m.V(s) +if(f==null){f=l.V(s) +if(f==null){f=k.V(s) +if(f==null){f=j.V(s) +if(f==null){f=i.V(s) +if(f==null){f=l.V(s) +if(f==null){f=h.V(s) +if(f==null){f=g.V(s) +p=f!=null}else p=!0}else p=!0}else p=!0}else p=!0}else p=!0}else p=!0}else p=!0 +if(p){H.j(s) +return H.aO(a,new H.bB(s,f==null?e:f.method))}}}return H.aO(a,new H.cO(typeof s=="string"?s:""))}if(a instanceof RangeError){if(typeof s=="string"&&s.indexOf("call stack")!==-1)return new P.bH() +s=function(b){try{return String(b)}catch(d){}return null}(a) +return H.aO(a,new P.a2(!1,e,e,typeof s=="string"?s.replace(/^RangeError:\s*/,""):s))}if(typeof InternalError=="function"&&a instanceof InternalError)if(typeof s=="string"&&s==="too much recursion")return new P.bH() +return a}, +iL:function(a,b,c,d,e,f,g){var s,r,q,p,o,n,m,l=b[0],k=l.$callName,j=e?Object.create(new H.cJ().constructor.prototype):Object.create(new H.aP(null,null,null,"").constructor.prototype) +j.$initialize=j.constructor +if(e)s=function static_tear_off(){this.$initialize()} +else{r=$.a8 +if(typeof r!=="number")return r.L() +$.a8=r+1 +r=new Function("a,b,c,d"+r,"this.$initialize(a,b,c,d"+r+")") +s=r}j.constructor=s +s.prototype=j +if(!e){q=H.fy(a,l,f) +q.$reflectionInfo=d}else{j.$static_name=g +q=l}j.$S=H.iH(d,e,f) +j[k]=q +for(p=q,o=1;o=27 +if(o)return H.iI(r,!p,s,b) +if(r===0){p=$.a8 +if(typeof p!=="number")return p.L() +$.a8=p+1 +n="self"+p +p="return function(){var "+n+" = this." +o=$.bf +return new Function(p+(o==null?$.bf=H.de("self"):o)+";return "+n+"."+H.d(s)+"();}")()}m="abcdefghijklmnopqrstuvwxyz".split("").splice(0,r).join(",") +p=$.a8 +if(typeof p!=="number")return p.L() +$.a8=p+1 +m+=p +p="return function("+m+"){return this." +o=$.bf +return new Function(p+(o==null?$.bf=H.de("self"):o)+"."+H.d(s)+"("+m+");}")()}, +iJ:function(a,b,c,d){var s=H.fx,r=H.iF +switch(b?-1:a){case 0:throw H.a(new H.cE("Intercepted function with no arguments.")) +case 1:return function(e,f,g){return function(){return f(this)[e](g(this))}}(c,s,r) +case 2:return function(e,f,g){return function(h){return f(this)[e](g(this),h)}}(c,s,r) +case 3:return function(e,f,g){return function(h,i){return f(this)[e](g(this),h,i)}}(c,s,r) +case 4:return function(e,f,g){return function(h,i,j){return f(this)[e](g(this),h,i,j)}}(c,s,r) +case 5:return function(e,f,g){return function(h,i,j,k){return f(this)[e](g(this),h,i,j,k)}}(c,s,r) +case 6:return function(e,f,g){return function(h,i,j,k,l){return f(this)[e](g(this),h,i,j,k,l)}}(c,s,r) +default:return function(e,f,g,h){return function(){h=[g(this)] +Array.prototype.push.apply(h,arguments) +return e.apply(f(this),h)}}(d,s,r)}}, +iK:function(a,b){var s,r,q,p,o,n,m,l=$.bf +if(l==null)l=$.bf=H.de("self") +s=$.fw +if(s==null)s=$.fw=H.de("receiver") +r=b.$stubName +q=b.length +p=a[r] +o=b==null?p==null:b===p +n=!o||q>=28 +if(n)return H.iJ(q,!o,r,b) +if(q===1){o="return function(){return this."+l+"."+H.d(r)+"(this."+s+");" +n=$.a8 +if(typeof n!=="number")return n.L() +$.a8=n+1 +return new Function(o+n+"}")()}m="abcdefghijklmnopqrstuvwxyz".split("").splice(0,q-1).join(",") +o="return function("+m+"){return this."+l+"."+H.d(r)+"(this."+s+", "+m+");" +n=$.a8 +if(typeof n!=="number")return n.L() +$.a8=n+1 +return new Function(o+n+"}")()}, +ff:function(a,b,c,d,e,f,g){return H.iL(a,b,c,d,!!e,!!f,g)}, +iD:function(a,b){return H.d8(v.typeUniverse,H.a1(a.a),b)}, +iE:function(a,b){return H.d8(v.typeUniverse,H.a1(a.c),b)}, +fx:function(a){return a.a}, +iF:function(a){return a.c}, +de:function(a){var s,r,q,p=new H.aP("self","target","receiver","name"),o=J.eO(Object.getOwnPropertyNames(p),t.X) +for(s=o.length,r=0;r=0 +else if(b instanceof H.an){s=C.a.A(a,c) +r=b.b +return r.test(s)}else{s=J.fr(b,C.a.A(a,c)) +return!s.gcu(s)}}, +fh:function(a){if(a.indexOf("$",0)>=0)return a.replace(/\$/g,"$$$$") +return a}, +kB:function(a,b,c,d){var s=b.bi(a,d) +if(s==null)return a +return H.fk(a,s.b.index,s.gP(),c)}, +hO:function(a){if(/[[\]{}()*+?.\\^$|]/.test(a))return a.replace(/[[\]{}()*+?.\\^$|]/g,"\\$&") +return a}, +a_:function(a,b,c){var s +if(typeof b=="string")return H.kA(a,b,c) +if(b instanceof H.an){s=b.gbo() +s.lastIndex=0 +return a.replace(s,H.fh(c))}if(b==null)H.k(H.J(b)) +throw H.a("String.replaceAll(Pattern) UNIMPLEMENTED")}, +kA:function(a,b,c){var s,r,q,p +if(b===""){if(a==="")return c +s=a.length +for(r=c,q=0;q=0)return a.split(b).join(c) +return a.replace(new RegExp(H.hO(b),'g'),H.fh(c))}, +hx:function(a){return a}, +kz:function(a,b,c,d){var s,r,q,p,o,n +for(s=b.ar(0,a),s=new H.bP(s.a,s.b,s.c),r=0,q="";s.n();){p=s.d +o=p.b +n=o.index +q=q+H.d(H.hx(C.a.j(a,r,n)))+H.d(c.$1(p)) +r=n+o[0].length}s=q+H.d(H.hx(C.a.A(a,r))) +return s.charCodeAt(0)==0?s:s}, +kC:function(a,b,c,d){var s,r,q,p +if(typeof b=="string"){s=a.indexOf(b,d) +if(s<0)return a +return H.fk(a,s,s+b.length,c)}if(b instanceof H.an)return d===0?a.replace(b.b,H.fh(c)):H.kB(a,b,c,d) +if(b==null)H.k(H.J(b)) +r=J.it(b,a,d) +q=t.D.a(r.gB(r)) +if(!q.n())return a +p=q.gt() +return C.a.W(a,p.gI(),p.gP(),c)}, +fk:function(a,b,c,d){var s=a.substring(0,b),r=a.substring(c) +return s+d+r}, +bh:function bh(a,b){this.a=a +this.$ti=b}, +bg:function bg(){}, +bi:function bi(a,b,c,d){var _=this +_.a=a +_.b=b +_.c=c +_.$ti=d}, +ch:function ch(){}, +bp:function bp(a,b){this.a=a +this.$ti=b}, +cj:function cj(a,b,c,d,e){var _=this +_.a=a +_.c=b +_.d=c +_.e=d +_.f=e}, +dI:function dI(a,b,c){this.a=a +this.b=b +this.c=c}, +e3:function e3(a,b,c,d,e,f){var _=this +_.a=a +_.b=b +_.c=c +_.d=d +_.e=e +_.f=f}, +bB:function bB(a,b){this.a=a +this.b=b}, +cl:function cl(a,b,c){this.a=a +this.b=b +this.c=c}, +cO:function cO(a){this.a=a}, +cy:function cy(a){this.a=a}, +V:function V(){}, +cL:function cL(){}, +cJ:function cJ(){}, +aP:function aP(a,b,c,d){var _=this +_.a=a +_.b=b +_.c=c +_.d=d}, +cE:function cE(a){this.a=a}, +cX:function cX(a){this.a=a}, +ed:function ed(){}, +aB:function aB(a){var _=this +_.a=0 +_.f=_.e=_.d=_.c=_.b=null +_.r=0 +_.$ti=a}, +dA:function dA(a){this.a=a}, +dC:function dC(a,b){this.a=a +this.b=b +this.c=null}, +ac:function ac(a,b){this.a=a +this.$ti=b}, +bw:function bw(a,b,c){var _=this +_.a=a +_.b=b +_.d=_.c=null +_.$ti=c}, +ez:function ez(a){this.a=a}, +eA:function eA(a){this.a=a}, +eB:function eB(a){this.a=a}, +an:function an(a,b){var _=this +_.a=a +_.b=b +_.d=_.c=null}, +b4:function b4(a){this.b=a}, +cW:function cW(a,b,c){this.a=a +this.b=b +this.c=c}, +bP:function bP(a,b,c){var _=this +_.a=a +_.b=b +_.c=c +_.d=null}, +bI:function bI(a,b){this.a=a +this.c=b}, +d3:function d3(a,b,c){this.a=a +this.b=b +this.c=c}, +d4:function d4(a,b,c){var _=this +_.a=a +_.b=b +_.c=c +_.d=null}, +hq:function(a){return a}, +ek:function(a,b,c){if(a>>>0!==a||a>=c)throw H.a(H.aj(b,a))}, +jP:function(a,b,c){var s +if(!(a>>>0!==a))if(b==null)s=a>c +else s=b>>>0!==b||a>b||b>c +else s=!0 +if(s)throw H.a(H.kf(a,b,c)) +if(b==null)return c +return b}, +cu:function cu(){}, +aV:function aV(){}, +bz:function bz(){}, +ct:function ct(){}, +cv:function cv(){}, +aD:function aD(){}, +bR:function bR(){}, +bS:function bS(){}, +j3:function(a,b){var s=b.c +return s==null?b.c=H.f3(a,b.z,!0):s}, +fN:function(a,b){var s=b.c +return s==null?b.c=H.bU(a,"fB",[b.z]):s}, +fO:function(a){var s=a.y +if(s===6||s===7||s===8)return H.fO(a.z) +return s===11||s===12}, +j2:function(a){return a.cy}, +aM:function(a){return H.ee(v.typeUniverse,a,!1)}, +km:function(a,b){var s,r,q,p,o +if(a==null)return null +s=b.Q +r=a.cx +if(r==null)r=a.cx=new Map() +q=b.cy +p=r.get(q) +if(p!=null)return p +o=H.ai(v.typeUniverse,a.z,s,0) +r.set(q,o) +return o}, +ai:function(a,b,a0,a1){var s,r,q,p,o,n,m,l,k,j,i,h,g,f,e,d,c=b.y +switch(c){case 5:case 1:case 2:case 3:case 4:return b +case 6:s=b.z +r=H.ai(a,s,a0,a1) +if(r===s)return b +return H.h7(a,r,!0) +case 7:s=b.z +r=H.ai(a,s,a0,a1) +if(r===s)return b +return H.f3(a,r,!0) +case 8:s=b.z +r=H.ai(a,s,a0,a1) +if(r===s)return b +return H.h6(a,r,!0) +case 9:q=b.Q +p=H.c0(a,q,a0,a1) +if(p===q)return b +return H.bU(a,b.z,p) +case 10:o=b.z +n=H.ai(a,o,a0,a1) +m=b.Q +l=H.c0(a,m,a0,a1) +if(n===o&&l===m)return b +return H.f1(a,n,l) +case 11:k=b.z +j=H.ai(a,k,a0,a1) +i=b.Q +h=H.k7(a,i,a0,a1) +if(j===k&&h===i)return b +return H.h5(a,j,h) +case 12:g=b.Q +a1+=g.length +f=H.c0(a,g,a0,a1) +o=b.z +n=H.ai(a,o,a0,a1) +if(f===g&&n===o)return b +return H.f2(a,n,f,!0) +case 13:e=b.z +if(e0;--p)C.b.k(a6,"T"+(q+p)) +for(o=t.X,n=t._,m=t.K,l="<",k="",p=0;p0){a2+=a3+"[" +for(a3="",p=0;p0){a2+=a3+"{" +for(a3="",p=0;p "+H.d(a1)}, +P:function(a,b){var s,r,q,p,o,n,m,l=a.y +if(l===5)return"erased" +if(l===2)return"dynamic" +if(l===3)return"void" +if(l===1)return"Never" +if(l===4)return"any" +if(l===6){s=H.P(a.z,b) +return s}if(l===7){r=a.z +s=H.P(r,b) +q=r.y +return J.fp(q===11||q===12?C.a.L("(",s)+")":s,"?")}if(l===8)return"FutureOr<"+H.d(H.P(a.z,b))+">" +if(l===9){p=H.ka(a.z) +o=a.Q +return o.length!==0?p+("<"+H.k6(o,b)+">"):p}if(l===11)return H.hs(a,b,null) +if(l===12)return H.hs(a.z,b,a.Q) +if(l===13){b.toString +n=a.z +m=b.length +n=m-1-n +if(n<0||n>=m)return H.b(b,n) +return b[n]}return"?"}, +ka:function(a){var s,r=H.hP(a) +if(r!=null)return r +s="minified:"+a +return s}, +h8:function(a,b){var s=a.tR[b] +for(;typeof s=="string";)s=a.tR[s] +return s}, +jz:function(a,b){var s,r,q,p,o,n=a.eT,m=n[b] +if(m==null)return H.ee(a,b,!1) +else if(typeof m=="number"){s=m +r=H.bV(a,5,"#") +q=[] +for(p=0;p" +s=a.eC.get(p) +if(s!=null)return s +r=new H.a5(null,null) +r.y=9 +r.z=b +r.Q=c +if(c.length>0)r.c=c[0] +r.cy=p +q=H.at(a,r) +a.eC.set(p,q) +return q}, +f1:function(a,b,c){var s,r,q,p,o,n +if(b.y===10){s=b.z +r=b.Q.concat(c)}else{r=c +s=b}q=s.cy+(";<"+H.d7(r)+">") +p=a.eC.get(q) +if(p!=null)return p +o=new H.a5(null,null) +o.y=10 +o.z=s +o.Q=r +o.cy=q +n=H.at(a,o) +a.eC.set(q,n) +return n}, +h5:function(a,b,c){var s,r,q,p,o,n=b.cy,m=c.a,l=m.length,k=c.b,j=k.length,i=c.c,h=i.length,g="("+H.d7(m) +if(j>0){s=l>0?",":"" +r=H.d7(k) +g+=s+"["+r+"]"}if(h>0){s=l>0?",":"" +r=H.jq(i) +g+=s+"{"+r+"}"}q=n+(g+")") +p=a.eC.get(q) +if(p!=null)return p +o=new H.a5(null,null) +o.y=11 +o.z=b +o.Q=c +o.cy=q +r=H.at(a,o) +a.eC.set(q,r) +return r}, +f2:function(a,b,c,d){var s,r=b.cy+("<"+H.d7(c)+">"),q=a.eC.get(r) +if(q!=null)return q +s=H.js(a,b,c,r,d) +a.eC.set(r,s) +return s}, +js:function(a,b,c,d,e){var s,r,q,p,o,n,m,l +if(e){s=c.length +r=new Array(s) +for(q=0,p=0;p0){n=H.ai(a,b,r,0) +m=H.c0(a,c,r,0) +return H.f2(a,n,m,c!==m)}}l=new H.a5(null,null) +l.y=12 +l.z=b +l.Q=c +l.cy=d +return H.at(a,l)}, +h0:function(a,b,c,d){return{u:a,e:b,r:c,s:[],p:0,n:d}}, +h2:function(a){var s,r,q,p,o,n,m,l,k,j,i,h,g=a.r,f=a.s +for(s=g.length,r=0;r=48&&q<=57)r=H.jm(r+1,q,g,f) +else if((((q|32)>>>0)-97&65535)<26||q===95||q===36)r=H.h1(a,r,g,f,!1) +else if(q===46)r=H.h1(a,r,g,f,!0) +else{++r +switch(q){case 44:break +case 58:f.push(!1) +break +case 33:f.push(!0) +break +case 59:f.push(H.as(a.u,a.e,f.pop())) +break +case 94:f.push(H.jv(a.u,f.pop())) +break +case 35:f.push(H.bV(a.u,5,"#")) +break +case 64:f.push(H.bV(a.u,2,"@")) +break +case 126:f.push(H.bV(a.u,3,"~")) +break +case 60:f.push(a.p) +a.p=f.length +break +case 62:p=a.u +o=f.splice(a.p) +H.f0(a.u,a.e,o) +a.p=f.pop() +n=f.pop() +if(typeof n=="string")f.push(H.bU(p,n,o)) +else{m=H.as(p,a.e,n) +switch(m.y){case 11:f.push(H.f2(p,m,o,a.n)) +break +default:f.push(H.f1(p,m,o)) +break}}break +case 38:H.jn(a,f) +break +case 42:l=a.u +f.push(H.h7(l,H.as(l,a.e,f.pop()),a.n)) +break +case 63:l=a.u +f.push(H.f3(l,H.as(l,a.e,f.pop()),a.n)) +break +case 47:l=a.u +f.push(H.h6(l,H.as(l,a.e,f.pop()),a.n)) +break +case 40:f.push(a.p) +a.p=f.length +break +case 41:p=a.u +k=new H.d_() +j=p.sEA +i=p.sEA +n=f.pop() +if(typeof n=="number")switch(n){case-1:j=f.pop() +break +case-2:i=f.pop() +break +default:f.push(n) +break}else f.push(n) +o=f.splice(a.p) +H.f0(a.u,a.e,o) +a.p=f.pop() +k.a=o +k.b=j +k.c=i +f.push(H.h5(p,H.as(p,a.e,f.pop()),k)) +break +case 91:f.push(a.p) +a.p=f.length +break +case 93:o=f.splice(a.p) +H.f0(a.u,a.e,o) +a.p=f.pop() +f.push(o) +f.push(-1) +break +case 123:f.push(a.p) +a.p=f.length +break +case 125:o=f.splice(a.p) +H.jp(a.u,a.e,o) +a.p=f.pop() +f.push(o) +f.push(-2) +break +default:throw"Bad character "+q}}}h=f.pop() +return H.as(a.u,a.e,h)}, +jm:function(a,b,c,d){var s,r,q=b-48 +for(s=c.length;a=48&&r<=57))break +q=q*10+(r-48)}d.push(q) +return a}, +h1:function(a,b,c,d,e){var s,r,q,p,o,n,m=b+1 +for(s=c.length;m>>0)-97&65535)<26||r===95||r===36))q=r>=48&&r<=57 +else q=!0 +if(!q)break}}p=c.substring(b,m) +if(e){s=a.u +o=a.e +if(o.y===10)o=o.z +n=H.h8(s,o.z)[p] +if(n==null)H.k('No "'+p+'" in "'+H.j2(o)+'"') +d.push(H.d8(s,o,n))}else d.push(p) +return m}, +jn:function(a,b){var s=b.pop() +if(0===s){b.push(H.bV(a.u,1,"0&")) +return}if(1===s){b.push(H.bV(a.u,4,"1&")) +return}throw H.a(P.dd("Unexpected extended operation "+H.d(s)))}, +as:function(a,b,c){if(typeof c=="string")return H.bU(a,c,a.sEA) +else if(typeof c=="number")return H.jo(a,b,c) +else return c}, +f0:function(a,b,c){var s,r=c.length +for(s=0;sn)return!1 +m=n-o +l=s.b +k=r.b +j=l.length +i=k.length +if(o+j=d)return!1 +a1=f[b] +b+=3 +if(a04294967295)throw H.a(P.y(a,0,4294967295,"length",null)) +return J.iT(new Array(a),b)}, +fE:function(a,b){if(a<0)throw H.a(P.G("Length must be a non-negative integer: "+a)) +return H.h(new Array(a),b.h("p<0>"))}, +iT:function(a,b){return J.eO(H.h(a,b.h("p<0>")),b)}, +eO:function(a,b){a.fixed$length=Array +return a}, +fF:function(a){a.fixed$length=Array +a.immutable$list=Array +return a}, +fG:function(a){if(a<256)switch(a){case 9:case 10:case 11:case 12:case 13:case 32:case 133:case 160:return!0 +default:return!1}switch(a){case 5760:case 8192:case 8193:case 8194:case 8195:case 8196:case 8197:case 8198:case 8199:case 8200:case 8201:case 8202:case 8232:case 8233:case 8239:case 8287:case 12288:case 65279:return!0 +default:return!1}}, +iU:function(a,b){var s,r +for(s=a.length;b0;b=s){s=b-1 +r=C.a.m(a,s) +if(r!==32&&r!==13&&!J.fG(r))break}return b}, +au:function(a){if(typeof a=="number"){if(Math.floor(a)==a)return J.bs.prototype +return J.ck.prototype}if(typeof a=="string")return J.am.prototype +if(a==null)return J.bt.prototype +if(typeof a=="boolean")return J.ci.prototype +if(a.constructor==Array)return J.p.prototype +if(typeof a!="object"){if(typeof a=="function")return J.ab.prototype +return a}if(a instanceof P.t)return a +return J.ew(a)}, +kh:function(a){if(typeof a=="number")return J.bu.prototype +if(typeof a=="string")return J.am.prototype +if(a==null)return a +if(a.constructor==Array)return J.p.prototype +if(typeof a!="object"){if(typeof a=="function")return J.ab.prototype +return a}if(a instanceof P.t)return a +return J.ew(a)}, +a7:function(a){if(typeof a=="string")return J.am.prototype +if(a==null)return a +if(a.constructor==Array)return J.p.prototype +if(typeof a!="object"){if(typeof a=="function")return J.ab.prototype +return a}if(a instanceof P.t)return a +return J.ew(a)}, +ev:function(a){if(a==null)return a +if(a.constructor==Array)return J.p.prototype +if(typeof a!="object"){if(typeof a=="function")return J.ab.prototype +return a}if(a instanceof P.t)return a +return J.ew(a)}, +F:function(a){if(typeof a=="string")return J.am.prototype +if(a==null)return a +if(!(a instanceof P.t))return J.b2.prototype +return a}, +fp:function(a,b){if(typeof a=="number"&&typeof b=="number")return a+b +return J.kh(a).L(a,b)}, +I:function(a,b){if(a==null)return b==null +if(typeof a!="object")return b!=null&&a===b +return J.au(a).M(a,b)}, +fq:function(a,b){if(typeof b==="number")if(a.constructor==Array||typeof a=="string"||H.kn(a,a[v.dispatchPropertyName]))if(b>>>0===b&&b").S(b).h("aB<1,2>"))}, +iQ:function(a,b,c){var s,r +if(P.fb(a)){if(b==="("&&c===")")return"(...)" +return b+"..."+c}s=H.h([],t.s) +C.b.k($.Y,a) +try{P.k3(a,s)}finally{if(0>=$.Y.length)return H.b($.Y,-1) +$.Y.pop()}r=P.dP(b,t.R.a(s),", ")+c +return r.charCodeAt(0)==0?r:r}, +fD:function(a,b,c){var s,r +if(P.fb(a))return b+"..."+c +s=new P.C(b) +C.b.k($.Y,a) +try{r=s +r.a=P.dP(r.a,a,", ")}finally{if(0>=$.Y.length)return H.b($.Y,-1) +$.Y.pop()}s.a+=c +r=s.a +return r.charCodeAt(0)==0?r:r}, +fb:function(a){var s,r +for(s=$.Y.length,r=0;r=b.length)return H.b(b,-1) +r=b.pop() +if(0>=b.length)return H.b(b,-1) +q=b.pop()}else{p=l.gt();++j +if(!l.n()){if(j<=4){C.b.k(b,H.d(p)) +return}r=H.d(p) +if(0>=b.length)return H.b(b,-1) +q=b.pop() +k+=r.length+2}else{o=l.gt();++j +for(;l.n();p=o,o=n){n=l.gt();++j +if(j>100){while(!0){if(!(k>75&&j>3))break +if(0>=b.length)return H.b(b,-1) +k-=b.pop().length+2;--j}C.b.k(b,"...") +return}}q=H.d(p) +r=H.d(o) +k+=r.length+q.length+4}}if(j>b.length+2){k+=5 +m="..."}else m=null +while(!0){if(!(k>80&&b.length>3))break +if(0>=b.length)return H.b(b,-1) +k-=b.pop().length+2 +if(m==null){k+=5 +m="..."}}if(m!=null)C.b.k(b,m) +C.b.k(b,q) +C.b.k(b,r)}, +dD:function(a){var s,r={} +if(P.fb(a))return"{...}" +s=new P.C("") +try{C.b.k($.Y,a) +s.a+="{" +r.a=!0 +a.T(0,new P.dE(r,s)) +s.a+="}"}finally{if(0>=$.Y.length)return H.b($.Y,-1) +$.Y.pop()}r=s.a +return r.charCodeAt(0)==0?r:r}, +bq:function bq(){}, +bx:function bx(){}, +w:function w(){}, +by:function by(){}, +dE:function dE(a,b){this.a=a +this.b=b}, +W:function W(){}, +bW:function bW(){}, +aU:function aU(){}, +bL:function bL(){}, +bQ:function bQ(){}, +b8:function b8(){}, +k4:function(a,b){var s,r,q,p +if(typeof a!="string")throw H.a(H.J(a)) +s=null +try{s=JSON.parse(a)}catch(q){r=H.av(q) +p=P.r(String(r),null,null) +throw H.a(p)}p=P.el(s) +return p}, +el:function(a){var s +if(a==null)return null +if(typeof a!="object")return a +if(Object.getPrototypeOf(a)!==Array.prototype)return new P.d0(a,Object.create(null)) +for(s=0;s=0)return null +return r}return null}, +jl:function(a,b,c,d){var s=a?$.i6():$.i5() +if(s==null)return null +if(0===c&&d===b.length)return P.fZ(s,b) +return P.fZ(s,b.subarray(c,P.af(c,d,b.length)))}, +fZ:function(a,b){var s,r +try{s=a.decode(b) +return s}catch(r){H.av(r)}return null}, +fv:function(a,b,c,d,e,f){if(C.c.aE(f,4)!==0)throw H.a(P.r("Invalid base64 padding, padded length must be multiple of four, is "+f,a,c)) +if(d+e!==f)throw H.a(P.r("Invalid base64 padding, '=' not at the end",a,b)) +if(e>2)throw H.a(P.r("Invalid base64 padding, more than two '=' characters",a,b))}, +jL:function(a){switch(a){case 65:return"Missing extension byte" +case 67:return"Unexpected extension byte" +case 69:return"Invalid UTF-8 byte" +case 71:return"Overlong encoding" +case 73:return"Out of unicode range" +case 75:return"Encoded surrogate" +case 77:return"Unfinished UTF-8 octet sequence" +default:return""}}, +jK:function(a,b,c){var s,r,q,p=c-b,o=new Uint8Array(p) +for(s=J.a7(a),r=0;r>>0!==0)q=255 +if(r>=p)return H.b(o,r) +o[r]=q}return o}, +d0:function d0(a,b){this.a=a +this.b=b +this.c=null}, +d1:function d1(a){this.a=a}, +e9:function e9(){}, +e8:function e8(){}, +c7:function c7(){}, +d6:function d6(){}, +c8:function c8(a){this.a=a}, +c9:function c9(){}, +ca:function ca(){}, +L:function L(){}, +eb:function eb(a,b,c){this.a=a +this.b=b +this.$ti=c}, +aa:function aa(){}, +ce:function ce(){}, +cm:function cm(){}, +cn:function cn(a){this.a=a}, +cS:function cS(){}, +cU:function cU(){}, +ei:function ei(a){this.b=0 +this.c=a}, +cT:function cT(a){this.a=a}, +eh:function eh(a){this.a=a +this.b=16 +this.c=0}, +Z:function(a,b){var s=H.fK(a,b) +if(s!=null)return s +throw H.a(P.r(a,null,null))}, +iM:function(a){if(a instanceof H.V)return a.i(0) +return"Instance of '"+H.d(H.dJ(a))+"'"}, +ap:function(a,b,c,d){var s,r=c?J.fE(a,d):J.iS(a,d) +if(a!==0&&b!=null)for(s=0;s")) +for(s=J.U(a);s.n();)C.b.k(r,c.a(s.gt())) +if(b)return r +return J.eO(r,c)}, +eT:function(a,b,c){var s=P.iW(a,c) +return s}, +iW:function(a,b){var s,r +if(Array.isArray(a))return H.h(a.slice(0),b.h("p<0>")) +s=H.h([],b.h("p<0>")) +for(r=J.U(a);r.n();)C.b.k(s,r.gt()) +return s}, +a3:function(a,b){return J.fF(P.cq(a,!1,b))}, +fR:function(a,b,c){var s,r +if(Array.isArray(a)){s=a +r=s.length +c=P.af(b,c,r) +return H.fL(b>0||c>>4 +if(n>=8)return H.b(a,n) +n=(a[n]&1<<(o&15))!==0}else n=!1 +if(n)p+=H.N(o) +else p=d&&o===32?p+"+":p+"%"+m[o>>>4&15]+m[o&15]}return p.charCodeAt(0)==0?p:p}, +ay:function(a){if(typeof a=="number"||H.ht(a)||null==a)return J.aw(a) +if(typeof a=="string")return JSON.stringify(a) +return P.iM(a)}, +dd:function(a){return new P.be(a)}, +G:function(a){return new P.a2(!1,null,null,a)}, +dc:function(a,b,c){return new P.a2(!0,a,b,c)}, +fu:function(a){return new P.a2(!1,null,a,"Must not be null")}, +eV:function(a){var s=null +return new P.ae(s,s,!1,s,s,a)}, +aW:function(a,b){return new P.ae(null,null,!0,a,b,"Value not in range")}, +y:function(a,b,c,d,e){return new P.ae(b,c,!0,a,d,"Invalid value")}, +fM:function(a,b,c,d){if(ac)throw H.a(P.y(a,b,c,d,null)) +return a}, +af:function(a,b,c){if(0>a||a>c)throw H.a(P.y(a,0,c,"start",null)) +if(b!=null){if(a>b||b>c)throw H.a(P.y(b,a,c,"end",null)) +return b}return c}, +aX:function(a,b){if(a<0)throw H.a(P.y(a,0,null,b,null)) +return a}, +dy:function(a,b,c,d,e){var s=e==null?J.Q(b):e +return new P.cg(s,!0,a,c,"Index out of range")}, +z:function(a){return new P.cP(a)}, +fV:function(a){return new P.cN(a)}, +dO:function(a){return new P.aF(a)}, +a9:function(a){return new P.cb(a)}, +r:function(a,b,c){return new P.aR(a,b,c)}, +fX:function(a){var s,r=null,q=new P.C(""),p=H.h([-1],t.t) +P.jh(r,r,r,q,p) +C.b.k(p,q.a.length) +q.a+="," +P.jf(C.h,C.E.co(a),q) +s=q.a +return new P.cQ(s.charCodeAt(0)==0?s:s,p,r).gae()}, +R:function(a5){var s,r,q,p,o,n,m,l,k,j,i,h,g,f,e,d,c,b,a,a0,a1,a2,a3=null,a4=a5.length +if(a4>=5){s=((J.eK(a5,4)^58)*3|C.a.l(a5,0)^100|C.a.l(a5,1)^97|C.a.l(a5,2)^116|C.a.l(a5,3)^97)>>>0 +if(s===0)return P.fW(a4=14)C.b.w(r,7,a4) +q=r[1] +if(q>=0)if(P.hv(a5,0,q,20,r)===20)r[7]=q +p=r[2]+1 +o=r[3] +n=r[4] +m=r[5] +l=r[6] +if(lq+3){j=a3 +k=!1}else{i=o>0 +if(i&&o+1===n){j=a3 +k=!1}else{if(!(mn+2&&J.c6(a5,"/..",m-3) +else h=!0 +if(h){j=a3 +k=!1}else{if(q===4)if(J.c6(a5,"file",0)){if(p<=0){if(!C.a.D(a5,"/",n)){g="file:///" +s=3}else{g="file://" +s=2}a5=g+C.a.j(a5,n,a4) +q-=0 +i=s-0 +m+=i +l+=i +a4=a5.length +p=7 +o=7 +n=7}else if(n===m){++l +f=m+1 +a5=C.a.W(a5,n,m,"/");++a4 +m=f}j="file"}else if(C.a.D(a5,"http",0)){if(i&&o+3===n&&C.a.D(a5,"80",o+1)){l-=3 +e=n-3 +m-=3 +a5=C.a.W(a5,o,n,"") +a4-=3 +n=e}j="http"}else j=a3 +else if(q===5&&J.c6(a5,"https",0)){if(i&&o+4===n&&J.c6(a5,"443",o+1)){l-=4 +e=n-4 +m-=4 +a5=J.iz(a5,o,n,"") +a4-=3 +n=e}j="https"}else j=a3 +k=!0}}}else j=a3 +if(k){i=a5.length +if(a40)j=P.hi(a5,0,q) +else{if(q===0){P.b9(a5,0,"Invalid empty scheme") +H.aY(u.w)}j=""}if(p>0){d=q+3 +c=d9)k.$2("invalid character",s)}else{if(q===3)k.$2(m,s) +o=P.Z(C.a.j(a,r,s),null) +if(o>255)k.$2(l,r) +n=q+1 +if(q>=4)return H.b(j,q) +j[q]=o +r=s+1 +q=n}}if(q!==3)k.$2(m,c) +o=P.Z(C.a.j(a,r,c),null) +if(o>255)k.$2(l,r) +if(q>=4)return H.b(j,q) +j[q]=o +return j}, +fY:function(a,b,a0){var s,r,q,p,o,n,m,l,k,j,i,h,g,f,e,d=new P.e6(a),c=new P.e7(d,a) +if(a.length<2)d.$1("address is too short") +s=H.h([],t.t) +for(r=b,q=r,p=!1,o=!1;r>>0) +C.b.k(s,(k[2]<<8|k[3])>>>0)}if(p){if(s.length>7)d.$1("an address with a wildcard must have less than 7 parts")}else if(s.length!==8)d.$1("an address without a wildcard must contain exactly 8 parts") +j=new Uint8Array(16) +for(l=s.length,i=9-l,r=0,h=0;r=16)return H.b(j,h) +j[h]=0 +e=h+1 +if(e>=16)return H.b(j,e) +j[e]=0 +h+=2}else{e=C.c.a1(g,8) +if(h<0||h>=16)return H.b(j,h) +j[h]=e +e=h+1 +if(e>=16)return H.b(j,e) +j[e]=g&255 +h+=2}}return j}, +ef:function(a,b,c,d,e,f,g){return new P.bX(a,b,c,d,e,f,g)}, +H:function(a,b,c,d){var s,r,q,p,o,n,m,l,k=null +d=d==null?"":P.hi(d,0,d.length) +s=P.hj(k,0,0) +a=P.hf(a,0,a==null?0:a.length,!1) +r=P.hh(k,0,0,k) +q=P.he(k,0,0) +p=P.f5(k,d) +o=d==="file" +if(a==null)n=s.length!==0||p!=null||o +else n=!1 +if(n)a="" +n=a==null +m=!n +b=P.hg(b,0,b==null?0:b.length,c,d,m) +l=d.length===0 +if(l&&n&&!C.a.u(b,"/"))b=P.f7(b,!l||m) +else b=P.ah(b) +return P.ef(d,s,n&&C.a.u(b,"//")?"":a,p,b,r,q)}, +hb:function(a){if(a==="http")return 80 +if(a==="https")return 443 +return 0}, +jD:function(a,b){var s,r,q,p,o,n +for(s=a.length,r=0;r"));s.n();){r=s.d +if(J.db(r,P.m('["*/:<>?\\\\|]',!1)))if(b)throw H.a(P.G("Illegal character in path")) +else throw H.a(P.z("Illegal character in path: "+r))}}, +ha:function(a,b){var s,r="Illegal drive letter " +if(!(65<=a&&a<=90))s=97<=a&&a<=122 +else s=!0 +if(s)return +if(b)throw H.a(P.G(r+P.fQ(a))) +else throw H.a(P.z(r+P.fQ(a)))}, +jF:function(a,b){var s=null,r=H.h(a.split("/"),t.s) +if(C.a.u(a,"/"))return P.H(s,s,r,"file") +else return P.H(s,s,r,s)}, +jG:function(a,b){var s,r,q,p,o="\\",n=null,m="file" +if(C.a.u(a,"\\\\?\\"))if(C.a.D(a,"UNC\\",4))a=C.a.W(a,0,7,o) +else{a=C.a.A(a,4) +if(a.length<3||C.a.l(a,1)!==58||C.a.l(a,2)!==92)throw H.a(P.G("Windows paths with \\\\?\\ prefix must be absolute"))}else a=H.a_(a,"/",o) +s=a.length +if(s>1&&C.a.l(a,1)===58){P.ha(C.a.l(a,0),!0) +if(s===2||C.a.l(a,2)!==92)throw H.a(P.G("Windows paths with drive letter must be absolute")) +r=H.h(a.split(o),t.s) +P.bY(r,!0,1) +return P.H(n,n,r,m)}if(C.a.u(a,o))if(C.a.D(a,o,1)){q=C.a.a0(a,o,2) +s=q<0 +p=s?C.a.A(a,2):C.a.j(a,2,q) +r=H.h((s?"":C.a.A(a,q+1)).split(o),t.s) +P.bY(r,!0,0) +return P.H(p,n,r,m)}else{r=H.h(a.split(o),t.s) +P.bY(r,!0,0) +return P.H(n,n,r,m)}else{r=H.h(a.split(o),t.s) +P.bY(r,!0,0) +return P.H(n,n,r,n)}}, +f5:function(a,b){if(a!=null&&a===P.hb(b))return null +return a}, +hf:function(a,b,c,d){var s,r,q,p,o,n +if(a==null)return null +if(b===c)return"" +if(C.a.m(a,b)===91){s=c-1 +if(C.a.m(a,s)!==93){P.b9(a,b,"Missing end `]` to match `[` in host") +H.aY(u.w)}r=b+1 +q=P.jC(a,r,s) +if(q=b&&q=b&&s>>4 +if(n>=8)return H.b(C.k,n) +n=(C.k[n]&1<<(p&15))!==0}else n=!1 +if(n){if(q&&65<=p&&90>=p){if(i==null)i=new P.C("") +if(r>>4 +if(m>=8)return H.b(C.z,m) +m=(C.z[m]&1<<(o&15))!==0}else m=!1 +if(m){if(p&&65<=o&&90>=o){if(q==null)q=new P.C("") +if(r>>4 +if(m>=8)return H.b(C.i,m) +m=(C.i[m]&1<<(o&15))!==0}else m=!1 +if(m){P.b9(a,s,"Invalid character") +H.aY(u.w)}else{if((o&64512)===55296&&s+1>>4 +if(p>=8)return H.b(C.j,p) +p=(C.j[p]&1<<(q&15))!==0}else p=!1 +if(!p){P.b9(a,s,"Illegal scheme character") +H.aY(o)}if(65<=q&&q<=90)r=!0}a=C.a.j(a,b,c) +return P.jA(r?a.toLowerCase():a)}, +jA:function(a){if(a==="http")return"http" +if(a==="file")return"file" +if(a==="https")return"https" +if(a==="package")return"package" +return a}, +hj:function(a,b,c){if(a==null)return"" +return P.bZ(a,b,c,C.W,!1)}, +hg:function(a,b,c,d,e,f){var s,r,q=e==="file",p=q||f +if(a==null){if(d==null)return q?"/":"" +s=H.A(d) +r=new H.q(d,s.h("c(1)").a(new P.eg()),s.h("q<1,c>")).X(0,"/")}else if(d!=null)throw H.a(P.G("Both path and pathSegments specified")) +else r=P.bZ(a,b,c,C.A,!0) +if(r.length===0){if(q)return"/"}else if(p&&!C.a.u(r,"/"))r="/"+r +return P.jH(r,e,f)}, +jH:function(a,b,c){var s=b.length===0 +if(s&&!c&&!C.a.u(a,"/"))return P.f7(a,!s||c) +return P.ah(a)}, +hh:function(a,b,c,d){if(a!=null)return P.bZ(a,b,c,C.h,!0) +return null}, +he:function(a,b,c){if(a==null)return null +return P.bZ(a,b,c,C.h,!0)}, +f6:function(a,b,c){var s,r,q,p,o,n=b+2 +if(n>=a.length)return"%" +s=C.a.m(a,b+1) +r=C.a.m(a,n) +q=H.ex(s) +p=H.ex(r) +if(q<0||p<0)return"%" +o=q*16+p +if(o<127){n=C.c.a1(o,4) +if(n>=8)return H.b(C.k,n) +n=(C.k[n]&1<<(o&15))!==0}else n=!1 +if(n)return H.N(c&&65<=o&&90>=o?(o|32)>>>0:o) +if(s>=97||r>=97)return C.a.j(a,b,b+3).toUpperCase() +return null}, +f4:function(a){var s,r,q,p,o,n,m,l,k="0123456789ABCDEF" +if(a<128){s=new Uint8Array(3) +s[0]=37 +s[1]=C.a.l(k,a>>>4) +s[2]=C.a.l(k,a&15)}else{if(a>2047)if(a>65535){r=240 +q=4}else{r=224 +q=3}else{r=192 +q=2}p=3*q +s=new Uint8Array(p) +for(o=0;--q,q>=0;r=128){n=C.c.cd(a,6*q)&63|r +if(o>=p)return H.b(s,o) +s[o]=37 +m=o+1 +l=C.a.l(k,n>>>4) +if(m>=p)return H.b(s,m) +s[m]=l +l=o+2 +m=C.a.l(k,n&15) +if(l>=p)return H.b(s,l) +s[l]=m +o+=3}}return P.fR(s,0,null)}, +bZ:function(a,b,c,d,e){var s=P.hl(a,b,c,d,e) +return s==null?C.a.j(a,b,c):s}, +hl:function(a,b,c,d,e){var s,r,q,p,o,n,m,l,k,j=null +for(s=!e,r=b,q=r,p=j;r>>4 +if(n>=8)return H.b(d,n) +n=(d[n]&1<<(o&15))!==0}else n=!1 +if(n)++r +else{if(o===37){m=P.f6(a,r,!1) +if(m==null){r+=3 +continue}if("%"===m){m="%25" +l=1}else l=3}else{if(s)if(o<=93){n=o>>>4 +if(n>=8)return H.b(C.i,n) +n=(C.i[n]&1<<(o&15))!==0}else n=!1 +else n=!1 +if(n){P.b9(a,r,"Invalid character") +H.aY(u.w) +l=j +m=l}else{if((o&64512)===55296){n=r+1 +if(n=m)return H.b(s,-1) +s.pop() +if(s.length===0)C.b.k(s,"")}p=!0}else if("."===n)p=!0 +else{C.b.k(s,n) +p=!1}}if(p)C.b.k(s,"") +return C.b.X(s,"/")}, +f7:function(a,b){var s,r,q,p,o,n +if(!P.hk(a))return!b?P.hc(a):a +s=H.h([],t.s) +for(r=a.split("/"),q=r.length,p=!1,o=0;o=s.length)return H.b(s,-1) +s.pop() +p=!0}else{C.b.k(s,"..") +p=!1}else if("."===n)p=!0 +else{C.b.k(s,n) +p=!1}}r=s.length +if(r!==0)if(r===1){if(0>=r)return H.b(s,0) +r=s[0].length===0}else r=!1 +else r=!0 +if(r)return"./" +if(p||C.b.gG(s)==="..")C.b.k(s,"") +if(!b){if(0>=s.length)return H.b(s,0) +C.b.w(s,0,P.hc(s[0]))}return C.b.X(s,"/")}, +hc:function(a){var s,r,q,p=a.length +if(p>=2&&P.hd(J.eK(a,0)))for(s=1;s>>4 +if(q>=8)return H.b(C.j,q) +q=(C.j[q]&1<<(r&15))===0}else q=!0 +if(q)break}return a}, +jJ:function(a,b){if(a.cv("package")&&a.c==null)return P.hw(b,0,b.length) +return-1}, +hn:function(a){var s,r,q,p=a.gaA(),o=J.a7(p) +if(o.gq(p)>0&&J.Q(o.p(p,0))===2&&J.c4(o.p(p,0),1)===58){P.ha(J.c4(o.p(p,0),0),!1) +P.bY(p,!1,1) +s=!0}else{P.bY(p,!1,0) +s=!1}r=a.gav()&&!s?"\\":"" +if(a.gai()){q=a.gU() +if(q.length!==0)r=r+"\\"+q+"\\"}r=P.dP(r,p,"\\") +o=s&&o.gq(p)===1?r+"\\":r +return o.charCodeAt(0)==0?o:o}, +jE:function(a,b){var s,r,q +for(s=0,r=0;r<2;++r){q=C.a.l(a,b+r) +if(48<=q&&q<=57)s=s*16+q-48 +else{q|=32 +if(97<=q&&q<=102)s=s*16+q-87 +else throw H.a(P.G("Invalid URL encoding"))}}return s}, +f8:function(a,b,c,d,e){var s,r,q,p,o=J.F(a),n=b +while(!0){if(!(n127)throw H.a(P.G("Illegal percent encoding in URI")) +if(r===37){if(n+3>a.length)throw H.a(P.G("Truncated URI")) +C.b.k(p,P.jE(a,n+1)) +n+=2}else C.b.k(p,r)}}t.L.a(p) +return C.a_.ah(p)}, +hd:function(a){var s=a|32 +return 97<=s&&s<=122}, +jh:function(a,b,c,d,e){var s,r +if(!0)d.a=d.a +else{s=P.jg("") +if(s<0)throw H.a(P.dc("","mimeType","Invalid MIME type")) +r=d.a+=H.d(P.f9(C.y,C.a.j("",0,s),C.e,!1)) +d.a=r+"/" +d.a+=H.d(P.f9(C.y,C.a.A("",s+1),C.e,!1))}}, +jg:function(a){var s,r,q +for(s=a.length,r=-1,q=0;qb)throw H.a(P.r(k,a,r)) +for(;p!==44;){C.b.k(j,r);++r +for(o=-1;r=0)C.b.k(j,o) +else{n=C.b.gG(j) +if(p!==44||r!==n+7||!C.a.D(a,"base64",n+1))throw H.a(P.r("Expecting '='",a,r)) +break}}C.b.k(j,r) +m=r+1 +if((j.length&1)===1)a=C.F.cA(a,m,s) +else{l=P.hl(a,m,s,C.h,!0) +if(l!=null)a=C.a.W(a,m,s,l)}return new P.cQ(a,j,c)}, +jf:function(a,b,c){var s,r,q,p,o,n="0123456789ABCDEF" +for(s=J.a7(b),r=0,q=0;q=8)return H.b(a,o) +o=(a[o]&1<<(p&15))!==0}else o=!1 +if(o)c.a+=H.N(p) +else{c.a+=H.N(37) +c.a+=H.N(C.a.l(n,C.c.a1(p,4))) +c.a+=H.N(C.a.l(n,p&15))}}if((r&4294967040)>>>0!==0)for(q=0;q255)throw H.a(P.dc(p,"non-byte value",null))}}, +jR:function(){var s,r,q,p,o,n,m="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-._~!$&'()*+,;=",l=".",k=":",j="/",i="?",h="#",g=H.h(new Array(22),t.dc) +for(s=0;s<22;++s)g[s]=new Uint8Array(96) +r=new P.em(g) +q=new P.en() +p=new P.eo() +o=t.p +n=o.a(r.$2(0,225)) +q.$3(n,m,1) +q.$3(n,l,14) +q.$3(n,k,34) +q.$3(n,j,3) +q.$3(n,i,172) +q.$3(n,h,205) +n=o.a(r.$2(14,225)) +q.$3(n,m,1) +q.$3(n,l,15) +q.$3(n,k,34) +q.$3(n,j,234) +q.$3(n,i,172) +q.$3(n,h,205) +n=o.a(r.$2(15,225)) +q.$3(n,m,1) +q.$3(n,"%",225) +q.$3(n,k,34) +q.$3(n,j,9) +q.$3(n,i,172) +q.$3(n,h,205) +n=o.a(r.$2(1,225)) +q.$3(n,m,1) +q.$3(n,k,34) +q.$3(n,j,10) +q.$3(n,i,172) +q.$3(n,h,205) +n=o.a(r.$2(2,235)) +q.$3(n,m,139) +q.$3(n,j,131) +q.$3(n,l,146) +q.$3(n,i,172) +q.$3(n,h,205) +n=o.a(r.$2(3,235)) +q.$3(n,m,11) +q.$3(n,j,68) +q.$3(n,l,18) +q.$3(n,i,172) +q.$3(n,h,205) +n=o.a(r.$2(4,229)) +q.$3(n,m,5) +p.$3(n,"AZ",229) +q.$3(n,k,102) +q.$3(n,"@",68) +q.$3(n,"[",232) +q.$3(n,j,138) +q.$3(n,i,172) +q.$3(n,h,205) +n=o.a(r.$2(5,229)) +q.$3(n,m,5) +p.$3(n,"AZ",229) +q.$3(n,k,102) +q.$3(n,"@",68) +q.$3(n,j,138) +q.$3(n,i,172) +q.$3(n,h,205) +n=o.a(r.$2(6,231)) +p.$3(n,"19",7) +q.$3(n,"@",68) +q.$3(n,j,138) +q.$3(n,i,172) +q.$3(n,h,205) +n=o.a(r.$2(7,231)) +p.$3(n,"09",7) +q.$3(n,"@",68) +q.$3(n,j,138) +q.$3(n,i,172) +q.$3(n,h,205) +q.$3(o.a(r.$2(8,8)),"]",5) +n=o.a(r.$2(9,235)) +q.$3(n,m,11) +q.$3(n,l,16) +q.$3(n,j,234) +q.$3(n,i,172) +q.$3(n,h,205) +n=o.a(r.$2(16,235)) +q.$3(n,m,11) +q.$3(n,l,17) +q.$3(n,j,234) +q.$3(n,i,172) +q.$3(n,h,205) +n=o.a(r.$2(17,235)) +q.$3(n,m,11) +q.$3(n,j,9) +q.$3(n,i,172) +q.$3(n,h,205) +n=o.a(r.$2(10,235)) +q.$3(n,m,11) +q.$3(n,l,18) +q.$3(n,j,234) +q.$3(n,i,172) +q.$3(n,h,205) +n=o.a(r.$2(18,235)) +q.$3(n,m,11) +q.$3(n,l,19) +q.$3(n,j,234) +q.$3(n,i,172) +q.$3(n,h,205) +n=o.a(r.$2(19,235)) +q.$3(n,m,11) +q.$3(n,j,234) +q.$3(n,i,172) +q.$3(n,h,205) +n=o.a(r.$2(11,235)) +q.$3(n,m,11) +q.$3(n,j,10) +q.$3(n,i,172) +q.$3(n,h,205) +n=o.a(r.$2(12,236)) +q.$3(n,m,12) +q.$3(n,i,12) +q.$3(n,h,205) +n=o.a(r.$2(13,237)) +q.$3(n,m,13) +q.$3(n,i,13) +p.$3(o.a(r.$2(20,245)),"az",21) +r=o.a(r.$2(21,245)) +p.$3(r,"az",21) +p.$3(r,"09",21) +q.$3(r,"+-.",21) +return g}, +hv:function(a,b,c,d,e){var s,r,q,p,o,n=$.ij() +for(s=J.F(a),r=b;r=n.length)return H.b(n,d) +q=n[d] +p=s.l(a,r)^96 +o=q[p>95?31:p] +d=o&31 +C.b.w(e,o>>>5,r)}return d}, +h3:function(a){if(a.b===7&&C.a.u(a.a,"package")&&a.c<=0)return P.hw(a.a,a.e,a.f) +return-1}, +hw:function(a,b,c){var s,r,q +for(s=b,r=0;s=1;s=q){q=s-1 +if(b[q]!=null)break}p=new P.C("") +o=a+"(" +p.a=o +n=H.A(b) +m=n.h("aG<1>") +l=new H.aG(b,0,s,m) +l.bX(b,0,s,n.c) +m=o+new H.q(l,m.h("c(E.E)").a(new M.es()),m.h("q")).X(0,", ") +p.a=m +p.a=m+("): part "+(r-1)+" was null, but part "+r+" was not.") +throw H.a(P.G(p.i(0)))}}, +cc:function cc(a,b){this.a=a +this.b=b}, +dn:function dn(){}, +dp:function dp(){}, +es:function es(){}, +b5:function b5(a){this.a=a}, +b6:function b6(a){this.a=a}},B={aS:function aS(){}, +hH:function(a){var s +if(!(a>=65&&a<=90))s=a>=97&&a<=122 +else s=!0 +return s}, +hI:function(a,b){var s=a.length,r=b+2 +if(s=s)return H.b(a,0) +C.b.k(q,a[0]) +p=1}else{C.b.k(q,"") +p=0}for(o=p;o") +return Y.eY(new H.q(s,r.h("i*(1)").a(new O.eF(a,c)),q).bS(0,q.h("K(E.E)").a(new O.eG())),null)}, +k5:function(a){var s,r,q,p,o,n,m,l=J.iv(a,".") +if(l<0)return a +s=C.a.A(a,l+1) +a=s==="fn"?a:s +a=H.a_(a,"$124","|") +if(C.a.C(a,"|")){r=C.a.ak(a,"|") +q=C.a.ak(a," ") +p=C.a.ak(a,"escapedPound") +if(q>=0){o=C.a.j(a,0,q)==="set" +a=C.a.j(a,q+1,a.length)}else{n=r+1 +if(p>=0){o=C.a.j(a,n,p)==="set" +a=C.a.W(a,n,p+3,"")}else{m=C.a.j(a,n,a.length) +if(C.a.u(m,"unary")||C.a.u(m,"$"))a=O.k9(a) +o=!1}}a=H.a_(a,"|",".") +n=o?a+"=":a}else n=a +return n}, +k9:function(a){return H.kz(a,P.m("\\$[0-9]+",!1),t.aE.a(t.bj.a(new O.er(a))),t.a2.a(null))}, +eF:function eF(a,b){this.a=a +this.b=b}, +eG:function eG(){}, +er:function er(a){this.a=a}, +hB:function(a,b){var s,r,q +if(a.length===0)return-1 +if(H.bb(b.$1(C.b.gaS(a))))return 0 +if(!H.bb(b.$1(C.b.gG(a))))return a.length +s=a.length-1 +for(r=0;r=a.length)return H.b(a,q) +if(H.bb(b.$1(a[q])))s=q +else r=q+1}return s}},E={cB:function cB(a,b,c){this.d=a +this.e=b +this.f=c}},F={cR:function cR(a,b,c,d){var _=this +_.d=a +_.e=b +_.f=c +_.r=d}},L={cV:function cV(a,b,c,d){var _=this +_.d=a +_.e=b +_.f=c +_.r=d},ea:function ea(){}, +da:function(a){var s,r,q,p,o,n,m,l=null +for(s=a.b,r=0,q=!1,p=0;!q;){if(++a.c>=s)throw H.a(P.dO("incomplete VLQ value")) +o=a.gt() +n=$.ia().p(0,o) +if(n==null)throw H.a(P.r("invalid character in VLQ encoding: "+o,l,l)) +q=(n&32)===0 +r+=C.c.cc(n&31,p) +p+=5}m=r>>>1 +r=(r&1)===1?-m:m +s=$.hU() +if(typeof s!=="number")return H.ey(s) +if(r>=s){s=$.hT() +if(typeof s!=="number")return H.ey(s) +s=r>s}else s=!0 +if(s)throw H.a(P.r("expected an encoded 32 bit int, but we got: "+r,l,l)) +return r}, +eq:function eq(){}},T={ +hK:function(a,b,c){var s,r,q="sections" +if(!J.I(a.p(0,"version"),3))throw H.a(P.G("unexpected source map version: "+H.d(a.p(0,"version"))+". Only version 3 is supported.")) +if(a.J(q)){if(a.J("mappings")||a.J("sources")||a.J("names"))throw H.a(P.r('map containing "sections" cannot contain "mappings", "sources", or "names".',null,null)) +s=t.j.a(a.p(0,q)) +r=t.t +r=new T.cs(H.h([],r),H.h([],r),H.h([],t.l)) +r.bU(s,c,b) +return r}return T.j4(a,b)}, +j4:function(a,b){var s,r,q,p=H.ej(a.p(0,"file")),o=t.R,n=t.N,m=P.cq(o.a(a.p(0,"sources")),!0,n),l=a.p(0,"names") +o=P.cq(o.a(l==null?[]:l),!0,n) +l=P.ap(J.Q(a.p(0,"sources")),null,!1,t.w) +s=H.ej(a.p(0,"sourceRoot")) +r=H.h([],t.x) +q=typeof b=="string"?P.R(b):b +n=new T.aZ(m,o,l,r,p,s,t.I.a(q),P.eS(n,t.z)) +n.bV(a,b) +return n}, +aq:function aq(){}, +cs:function cs(a,b,c){this.a=a +this.b=b +this.c=c}, +cr:function cr(a){this.a=a}, +aZ:function aZ(a,b,c,d,e,f,g,h){var _=this +_.a=a +_.b=b +_.c=c +_.d=d +_.e=e +_.f=f +_.r=g +_.x=h}, +dK:function dK(a){this.a=a}, +dM:function dM(a){this.a=a}, +dL:function dL(a){this.a=a}, +bK:function bK(a,b){this.a=a +this.b=b}, +b1:function b1(a,b,c,d,e){var _=this +_.a=a +_.b=b +_.c=c +_.d=d +_.e=e}, +d2:function d2(a,b){this.a=a +this.b=b +this.c=-1}, +b7:function b7(a,b,c){this.a=a +this.b=b +this.c=c}, +cp:function cp(a){this.a=a +this.b=$}},G={ +fP:function(a,b,c,d){var s=new G.bG(a,b,c) +s.bd(a,b,c) +return s}, +bG:function bG(a,b,c){this.a=a +this.b=b +this.c=c}},Y={b_:function b_(a,b,c){var _=this +_.a=a +_.b=b +_.c=c +_.d=null},cH:function cH(){}, +jc:function(a){if(t.a.b(a))return a +if(a instanceof U.al)return a.bI() +return new T.cp(new Y.dZ(a))}, +eZ:function(a){var s,r,q +try{if(a.length===0){r=Y.eY(H.h([],t.F),null) +return r}if(C.a.C(a,$.im())){r=Y.jb(a) +return r}if(C.a.C(a,"\tat ")){r=Y.ja(a) +return r}if(C.a.C(a,$.ie())||C.a.C(a,$.ic())){r=Y.j9(a) +return r}if(C.a.C(a,u.q)){r=U.iG(a).bI() +return r}if(C.a.C(a,$.ih())){r=Y.fS(a) +return r}r=Y.fT(a) +return r}catch(q){r=H.av(q) +if(r instanceof P.aR){s=r +throw H.a(P.r(H.d(s.a)+"\nStack trace:\n"+H.d(a),null,null))}else throw q}}, +fT:function(a){var s=P.a3(Y.jd(a),t.B) +return new Y.u(s)}, +jd:function(a){var s,r=J.iC(a),q=$.fo(),p=t.U,o=new H.O(H.h(H.a_(r,q,"").split("\n"),t.s),t.Q.a(new Y.e_()),p) +if(!o.gB(o).n())return H.h([],t.F) +r=H.j8(o,o.gq(o)-1,p.h("f.E")) +q=H.x(r) +q=H.eU(r,q.h("i(f.E)").a(new Y.e0()),q.h("f.E"),t.B) +s=P.eT(q,!0,H.x(q).h("f.E")) +if(!J.iu(o.gG(o),".da"))C.b.k(s,A.fA(o.gG(o))) +return s}, +jb:function(a){var s,r,q=H.eX(H.h(a.split("\n"),t.s),1,null,t.N) +q=q.bR(0,q.$ti.h("K(E.E)").a(new Y.dX())) +s=t.B +r=q.$ti +s=P.a3(H.eU(q,r.h("i(f.E)").a(new Y.dY()),r.h("f.E"),s),s) +return new Y.u(s)}, +ja:function(a){var s=P.a3(new H.X(new H.O(H.h(a.split("\n"),t.s),t.Q.a(new Y.dV()),t.U),t.d.a(new Y.dW()),t.M),t.B) +return new Y.u(s)}, +j9:function(a){var s=P.a3(new H.X(new H.O(H.h(C.a.b8(a).split("\n"),t.s),t.Q.a(new Y.dR()),t.U),t.d.a(new Y.dS()),t.M),t.B) +return new Y.u(s)}, +fS:function(a){var s=a.length===0?H.h([],t.F):new H.X(new H.O(H.h(C.a.b8(a).split("\n"),t.s),t.Q.a(new Y.dT()),t.U),t.d.a(new Y.dU()),t.M) +s=P.a3(s,t.B) +return new Y.u(s)}, +eY:function(a,b){var s=P.a3(a,t.B) +return new Y.u(s)}, +u:function u(a){this.a=a}, +dZ:function dZ(a){this.a=a}, +e_:function e_(){}, +e0:function e0(){}, +dX:function dX(){}, +dY:function dY(){}, +dV:function dV(){}, +dW:function dW(){}, +dR:function dR(){}, +dS:function dS(){}, +dT:function dT(){}, +dU:function dU(){}, +e2:function e2(){}, +e1:function e1(a){this.a=a}},V={ +eW:function(a,b,c,d){var s=typeof d=="string"?P.R(d):t.I.a(d),r=c==null,q=r?0:c,p=b==null,o=p?a:b +if(a<0)H.k(P.eV("Offset may not be negative, was "+a+".")) +else if(!r&&c<0)H.k(P.eV("Line may not be negative, was "+H.d(c)+".")) +else if(!p&&b<0)H.k(P.eV("Column may not be negative, was "+H.d(b)+".")) +return new V.cF(s,a,q,o)}, +cF:function cF(a,b,c,d){var _=this +_.a=a +_.b=b +_.c=c +_.d=d}, +cG:function cG(){}},U={ +iG:function(a){var s,r,q=u.q +if(a.length===0)return new U.al(P.a3(H.h([],t.J),t.a)) +s=$.fo() +if(C.a.C(a,s)){s=C.a.ag(a,s) +r=H.A(s) +return new U.al(P.a3(new H.X(new H.O(s,r.h("K(1)").a(new U.df()),r.h("O<1>")),r.h("u(1)").a(new U.dg()),r.h("X<1,u>")),t.a))}if(!C.a.C(a,q))return new U.al(P.a3(H.h([Y.eZ(a)],t.J),t.a)) +return new U.al(P.a3(new H.q(H.h(a.split(q),t.s),t.u.a(new U.dh()),t.ax),t.a))}, +al:function al(a){this.a=a}, +df:function df(){}, +dg:function dg(){}, +dh:function dh(){}, +dm:function dm(){}, +dl:function dl(){}, +dj:function dj(){}, +dk:function dk(a){this.a=a}, +di:function di(a){this.a=a}},A={ +fA:function(a){return A.cf(a,new A.dx(a))}, +fz:function(a){return A.cf(a,new A.dv(a))}, +iN:function(a){return A.cf(a,new A.ds(a))}, +iO:function(a){return A.cf(a,new A.dt(a))}, +iP:function(a){return A.cf(a,new A.du(a))}, +eN:function(a){if(J.db(a,$.hR()))return P.R(a) +else if(C.a.C(a,$.hS()))return P.h9(a,!0) +else if(C.a.u(a,"/"))return P.h9(a,!1) +if(C.a.C(a,"\\"))return $.is().bJ(a) +return P.R(a)}, +cf:function(a,b){var s,r +try{s=b.$0() +return s}catch(r){if(H.av(r) instanceof P.aR)return new N.a6(P.H(null,"unparsed",null,null),a) +else throw r}}, +i:function i(a,b,c,d){var _=this +_.a=a +_.b=b +_.c=c +_.d=d}, +dx:function dx(a){this.a=a}, +dv:function dv(a){this.a=a}, +dw:function dw(a){this.a=a}, +ds:function ds(a){this.a=a}, +dt:function dt(a){this.a=a}, +du:function du(a){this.a=a}},N={a6:function a6(a,b){this.a=a +this.x=b}},D={ +kt:function(a){var s +H.j(a) +if($.fc==null)throw H.a(P.dO("Source maps are not done loading.")) +s=Y.eZ(a) +return O.ks($.fc,s,$.ir()).i(0)}, +kv:function(a){$.fc=new D.co(new T.cr(P.eS(t.N,t.E)),t.aa.a(a))}, +kq:function(){self.$dartStackTraceUtility={mapper:P.hz(D.kw(),t.cO),setSourceMapProvider:P.hz(D.kx(),t.bo)}}, +dq:function dq(){}, +co:function co(a,b){this.a=a +this.b=b}, +eH:function eH(){}, +et:function(){var s,r,q,p,o=null +try{o=P.f_()}catch(s){if(t.W.b(H.av(s))){r=$.ep +if(r!=null)return r +throw s}else throw s}if(J.I(o,$.hp)){r=$.ep +r.toString +return r}$.hp=o +if($.eI()==$.bc())r=$.ep=o.b4(".").i(0) +else{q=o.b5() +p=q.length-1 +r=$.ep=p===0?q:C.a.j(q,0,p)}r.toString +return r}} +var w=[C,H,J,P,W,M,B,X,O,E,F,L,T,G,Y,V,U,A,N,D] +hunkHelpers.setFunctionNamesIfNecessary(w) +var $={} +H.eQ.prototype={} +J.B.prototype={ +M:function(a,b){return a===b}, +gE:function(a){return H.bD(a)}, +i:function(a){return"Instance of '"+H.d(H.dJ(a))+"'"}, +ay:function(a,b){t.o.a(b) +throw H.a(P.fH(a,b.gbC(),b.gbF(),b.gbD()))}} +J.ci.prototype={ +i:function(a){return String(a)}, +gE:function(a){return a?519018:218159}, +$iK:1} +J.bt.prototype={ +M:function(a,b){return null==b}, +i:function(a){return"null"}, +gE:function(a){return 0}, +ay:function(a,b){return this.bQ(a,t.o.a(b))}} +J.ao.prototype={ +gE:function(a){return 0}, +i:function(a){return String(a)}} +J.cA.prototype={} +J.b2.prototype={} +J.ab.prototype={ +i:function(a){var s=a[$.fl()] +if(s==null)return this.bT(a) +return"JavaScript function for "+H.d(J.aw(s))}, +$iaA:1} +J.p.prototype={ +k:function(a,b){H.A(a).c.a(b) +if(!!a.fixed$length)H.k(P.z("add")) +a.push(b)}, +aC:function(a,b){var s +if(!!a.fixed$length)H.k(P.z("removeAt")) +s=a.length +if(b>=s)throw H.a(P.aW(b,null)) +return a.splice(b,1)[0]}, +aW:function(a,b,c){var s +H.A(a).c.a(c) +if(!!a.fixed$length)H.k(P.z("insert")) +s=a.length +if(b>s)throw H.a(P.aW(b,null)) +a.splice(b,0,c)}, +aX:function(a,b,c){var s,r,q +H.A(a).h("f<1>").a(c) +if(!!a.fixed$length)H.k(P.z("insertAll")) +s=a.length +P.fM(b,0,s,"index") +r=c.length +a.length=s+r +q=b+r +this.ba(a,q,a.length,a,b) +this.bN(a,b,q,c)}, +b3:function(a){if(!!a.fixed$length)H.k(P.z("removeLast")) +if(a.length===0)throw H.a(H.aj(a,-1)) +return a.pop()}, +aP:function(a,b){H.A(a).h("f<1>").a(b) +if(!!a.fixed$length)H.k(P.z("addAll")) +this.c_(a,b) +return}, +c_:function(a,b){var s,r +t.b.a(b) +s=b.length +if(s===0)return +if(a===b)throw H.a(P.a9(a)) +for(r=0;r").S(c).h("q<1,2>"))}, +X:function(a,b){var s,r=P.ap(a.length,"",!1,t.N) +for(s=0;s=a.length)return H.b(a,b) +return a[b]}, +gaS:function(a){if(a.length>0)return a[0] +throw H.a(H.br())}, +gG:function(a){var s=a.length +if(s>0)return a[s-1] +throw H.a(H.br())}, +ba:function(a,b,c,d,e){var s,r,q,p +H.A(a).h("f<1>").a(d) +if(!!a.immutable$list)H.k(P.z("setRange")) +P.af(b,c,a.length) +s=c-b +if(s===0)return +P.aX(e,"skipCount") +r=d +q=J.a7(r) +if(e+s>q.gq(r))throw H.a(H.iR()) +if(e=0;--p)a[b+p]=q.p(r,e+p) +else for(p=0;p"))}, +gE:function(a){return H.bD(a)}, +gq:function(a){return a.length}, +p:function(a,b){H.T(b) +if(!H.d9(b))throw H.a(H.aj(a,b)) +if(b>=a.length||b<0)throw H.a(H.aj(a,b)) +return a[b]}, +w:function(a,b,c){H.A(a).c.a(c) +if(!!a.immutable$list)H.k(P.z("indexed set")) +if(b>=a.length||b<0)throw H.a(H.aj(a,b)) +a[b]=c}, +$in:1, +$if:1, +$il:1} +J.dz.prototype={} +J.ax.prototype={ +gt:function(){return this.d}, +n:function(){var s,r=this,q=r.a,p=q.length +if(r.b!==p)throw H.a(H.c2(q)) +s=r.c +if(s>=p){r.sbe(null) +return!1}r.sbe(q[s]);++r.c +return!0}, +sbe:function(a){this.d=this.$ti.h("1?").a(a)}, +$iv:1} +J.bu.prototype={ +i:function(a){if(a===0&&1/a<0)return"-0.0" +else return""+a}, +gE:function(a){var s,r,q,p,o=a|0 +if(a===o)return o&536870911 +s=Math.abs(a) +r=Math.log(s)/0.6931471805599453|0 +q=Math.pow(2,r) +p=s<1?s/q:q/s +return((p*9007199254740992|0)+(p*3542243181176521|0))*599197+r*1259&536870911}, +aE:function(a,b){var s=a%b +if(s===0)return 0 +if(s>0)return s +if(b<0)return s-b +else return s+b}, +bq:function(a,b){return(a|0)===a?a/b|0:this.cg(a,b)}, +cg:function(a,b){var s=a/b +if(s>=-2147483648&&s<=2147483647)return s|0 +if(s>0){if(s!==1/0)return Math.floor(s)}else if(s>-1/0)return Math.ceil(s) +throw H.a(P.z("Result of truncating division is "+H.d(s)+": "+H.d(a)+" ~/ "+b))}, +cc:function(a,b){return b>31?0:a<>>0}, +a1:function(a,b){var s +if(a>0)s=this.bp(a,b) +else{s=b>31?31:b +s=a>>s>>>0}return s}, +cd:function(a,b){if(b<0)throw H.a(H.J(b)) +return this.bp(a,b)}, +bp:function(a,b){return b>31?0:a>>>b}, +$iaN:1} +J.bs.prototype={$ie:1} +J.ck.prototype={} +J.am.prototype={ +m:function(a,b){if(b<0)throw H.a(H.aj(a,b)) +if(b>=a.length)H.k(H.aj(a,b)) +return a.charCodeAt(b)}, +l:function(a,b){if(b>=a.length)throw H.a(H.aj(a,b)) +return a.charCodeAt(b)}, +as:function(a,b,c){var s +if(typeof b!="string")H.k(H.J(b)) +s=b.length +if(c>s)throw H.a(P.y(c,0,s,null,null)) +return new H.d3(b,a,c)}, +ar:function(a,b){return this.as(a,b,0)}, +bB:function(a,b,c){var s,r,q=null +if(c<0||c>b.length)throw H.a(P.y(c,0,b.length,q,q)) +s=a.length +if(c+s>b.length)return q +for(r=0;rr)return!1 +return b===this.A(a,r-s)}, +bH:function(a,b,c){P.fM(0,0,a.length,"startIndex") +return H.kC(a,b,c,0)}, +ag:function(a,b){if(b==null)H.k(H.J(b)) +if(typeof b=="string")return H.h(a.split(b),t.s) +else if(b instanceof H.an&&b.gbn().exec("").length-2===0)return H.h(a.split(b.b),t.s) +else return this.c2(a,b)}, +W:function(a,b,c,d){var s=P.af(b,c,a.length) +return H.fk(a,b,s,d)}, +c2:function(a,b){var s,r,q,p,o,n,m=H.h([],t.s) +for(s=J.fr(b,a),s=s.gB(s),r=0,q=1;s.n();){p=s.gt() +o=p.gI() +n=p.gP() +q=n-o +if(q===0&&r===o)continue +C.b.k(m,this.j(a,r,o)) +r=n}if(r0)C.b.k(m,this.A(a,r)) +return m}, +D:function(a,b,c){var s +if(c<0||c>a.length)throw H.a(P.y(c,0,a.length,null,null)) +if(typeof b=="string"){s=c+b.length +if(s>a.length)return!1 +return b===a.substring(c,s)}return J.ix(b,a,c)!=null}, +u:function(a,b){return this.D(a,b,0)}, +j:function(a,b,c){if(c==null)c=a.length +if(b<0)throw H.a(P.aW(b,null)) +if(b>c)throw H.a(P.aW(b,null)) +if(c>a.length)throw H.a(P.aW(c,null)) +return a.substring(b,c)}, +A:function(a,b){return this.j(a,b,null)}, +b8:function(a){var s,r,q,p=a.trim(),o=p.length +if(o===0)return p +if(this.l(p,0)===133){s=J.iU(p,1) +if(s===o)return""}else s=0 +r=o-1 +q=this.m(p,r)===133?J.iV(p,r):o +if(s===0&&q===o)return p +return p.substring(s,q)}, +b9:function(a,b){var s,r +if(0>=b)return"" +if(b===1||a.length===0)return a +if(b!==b>>>0)throw H.a(C.O) +for(s=a,r="";!0;){if((b&1)===1)r=s+r +b=b>>>1 +if(b===0)break +s+=s}return r}, +cB:function(a,b){var s +if(typeof b!=="number")return b.bc() +s=b-a.length +if(s<=0)return a +return a+this.b9(" ",s)}, +a0:function(a,b,c){var s +if(c<0||c>a.length)throw H.a(P.y(c,0,a.length,null,null)) +s=a.indexOf(b,c) +return s}, +ak:function(a,b){return this.a0(a,b,0)}, +bz:function(a,b,c){var s,r +if(c==null)c=a.length +else if(c<0||c>a.length)throw H.a(P.y(c,0,a.length,null,null)) +s=b.length +r=a.length +if(c+s>r)c=r-s +return a.lastIndexOf(b,c)}, +by:function(a,b){return this.bz(a,b,null)}, +C:function(a,b){if(b==null)H.k(H.J(b)) +return H.ky(a,b,0)}, +i:function(a){return a}, +gE:function(a){var s,r,q +for(s=a.length,r=0,q=0;q>6}r=r+((r&67108863)<<3)&536870911 +r^=r>>11 +return r+((r&16383)<<15)&536870911}, +gq:function(a){return a.length}, +p:function(a,b){H.T(b) +if(b>=a.length||b<0)throw H.a(H.aj(a,b)) +return a[b]}, +$idH:1, +$ic:1} +H.bv.prototype={ +i:function(a){var s=this.a +return s!=null?"LateInitializationError: "+s:"LateInitializationError"}} +H.cC.prototype={ +i:function(a){var s="ReachabilityError: "+this.a +return s}} +H.aQ.prototype={ +gq:function(a){return this.a.length}, +p:function(a,b){return C.a.m(this.a,H.T(b))}} +H.n.prototype={} +H.E.prototype={ +gB:function(a){var s=this +return new H.ad(s,s.gq(s),H.x(s).h("ad"))}, +X:function(a,b){var s,r,q,p=this,o=p.gq(p) +if(b.length!==0){if(o===0)return"" +s=H.d(p.O(0,0)) +if(o!==p.gq(p))throw H.a(P.a9(p)) +for(r=s,q=1;qs)throw H.a(P.y(r,0,s,"start",null))}}, +gc4:function(){var s=J.Q(this.a),r=this.c +if(r==null||r>s)return s +return r}, +gcf:function(){var s=J.Q(this.a),r=this.b +if(r>s)return s +return r}, +gq:function(a){var s,r=J.Q(this.a),q=this.b +if(q>=r)return 0 +s=this.c +if(s==null||s>=r)return r-q +if(typeof s!=="number")return s.bc() +return s-q}, +O:function(a,b){var s=this,r=s.gcf()+b +if(b<0||r>=s.gc4())throw H.a(P.dy(b,s,"index",null,null)) +return J.fs(s.a,r)}} +H.ad.prototype={ +gt:function(){return this.d}, +n:function(){var s,r=this,q=r.a,p=J.a7(q),o=p.gq(q) +if(r.b!==o)throw H.a(P.a9(q)) +s=r.c +if(s>=o){r.sY(null) +return!1}r.sY(p.O(q,s));++r.c +return!0}, +sY:function(a){this.d=this.$ti.h("1?").a(a)}, +$iv:1} +H.X.prototype={ +gB:function(a){var s=H.x(this) +return new H.aC(J.U(this.a),this.b,s.h("@<1>").S(s.Q[1]).h("aC<1,2>"))}, +gq:function(a){return J.Q(this.a)}} +H.bj.prototype={$in:1} +H.aC.prototype={ +n:function(){var s=this,r=s.b +if(r.n()){s.sY(s.c.$1(r.gt())) +return!0}s.sY(null) +return!1}, +gt:function(){return this.a}, +sY:function(a){this.a=this.$ti.h("2?").a(a)}} +H.q.prototype={ +gq:function(a){return J.Q(this.a)}, +O:function(a,b){return this.b.$1(J.fs(this.a,b))}} +H.O.prototype={ +gB:function(a){return new H.aL(J.U(this.a),this.b,this.$ti.h("aL<1>"))}} +H.aL.prototype={ +n:function(){var s,r +for(s=this.a,r=this.b;s.n();)if(H.bb(r.$1(s.gt())))return!0 +return!1}, +gt:function(){return this.a.gt()}} +H.bn.prototype={ +gB:function(a){var s=this.$ti +return new H.bo(J.U(this.a),this.b,C.G,s.h("@<1>").S(s.Q[1]).h("bo<1,2>"))}} +H.bo.prototype={ +gt:function(){return this.d}, +n:function(){var s,r,q=this +if(q.c==null)return!1 +for(s=q.a,r=q.b;!q.c.n();){q.sY(null) +if(s.n()){q.sbh(null) +q.sbh(J.U(r.$1(s.gt())))}else return!1}q.sY(q.c.gt()) +return!0}, +sbh:function(a){this.c=this.$ti.h("v<2>?").a(a)}, +sY:function(a){this.d=this.$ti.h("2?").a(a)}, +$iv:1} +H.aI.prototype={ +gB:function(a){return new H.bJ(J.U(this.a),this.b,H.x(this).h("bJ<1>"))}} +H.bk.prototype={ +gq:function(a){var s=J.Q(this.a),r=this.b +if(s>r)return r +return s}, +$in:1} +H.bJ.prototype={ +n:function(){if(--this.b>=0)return this.a.n() +this.b=-1 +return!1}, +gt:function(){if(this.b<0)return null +return this.a.gt()}} +H.bE.prototype={ +gB:function(a){return new H.bF(J.U(this.a),this.b,this.$ti.h("bF<1>"))}} +H.bF.prototype={ +n:function(){var s,r,q=this +if(!q.c){q.c=!0 +for(s=q.a,r=q.b;s.n();)if(!H.bb(r.$1(s.gt())))return!0}return q.a.n()}, +gt:function(){return this.a.gt()}} +H.bl.prototype={ +n:function(){return!1}, +gt:function(){throw H.a(H.br())}, +$iv:1} +H.bN.prototype={ +gB:function(a){return new H.bO(J.U(this.a),this.$ti.h("bO<1>"))}} +H.bO.prototype={ +n:function(){var s,r +for(s=this.a,r=this.$ti.c;s.n();)if(r.b(s.gt()))return!0 +return!1}, +gt:function(){return this.$ti.c.a(this.a.gt())}, +$iv:1} +H.az.prototype={} +H.aK.prototype={ +w:function(a,b,c){H.x(this).h("aK.E").a(c) +throw H.a(P.z("Cannot modify an unmodifiable list"))}} +H.b3.prototype={} +H.b0.prototype={ +gE:function(a){var s=this._hashCode +if(s!=null)return s +s=664597*J.bd(this.a)&536870911 +this._hashCode=s +return s}, +i:function(a){return'Symbol("'+H.d(this.a)+'")'}, +M:function(a,b){if(b==null)return!1 +return b instanceof H.b0&&this.a==b.a}, +$iaH:1} +H.bh.prototype={} +H.bg.prototype={ +i:function(a){return P.dD(this)}, +$iM:1} +H.bi.prototype={ +gq:function(a){return this.a}, +J:function(a){if("__proto__"===a)return!1 +return this.b.hasOwnProperty(a)}, +p:function(a,b){if(!this.J(b))return null +return this.bj(b)}, +bj:function(a){return this.b[H.j(a)]}, +T:function(a,b){var s,r,q,p,o=H.x(this) +o.h("~(1,2)").a(b) +s=this.c +for(r=s.length,o=o.Q[1],q=0;q" +return H.d(this.a)+" with "+s}} +H.bp.prototype={ +$2:function(a,b){return this.a.$1$2(a,b,this.$ti.Q[0])}, +$S:function(){return H.km(H.fg(this.a),this.$ti)}} +H.cj.prototype={ +gbC:function(){var s=this.a +return s}, +gbF:function(){var s,r,q,p,o=this +if(o.c===1)return C.x +s=o.d +r=s.length-o.e.length-o.f +if(r===0)return C.x +q=[] +for(p=0;p=s.length)return H.b(s,p) +q.push(s[p])}return J.fF(q)}, +gbD:function(){var s,r,q,p,o,n,m,l,k=this +if(k.c!==0)return C.B +s=k.e +r=s.length +q=k.d +p=q.length-r-k.f +if(r===0)return C.B +o=new H.aB(t.bV) +for(n=0;n=s.length)return H.b(s,n) +m=s[n] +l=p+n +if(l<0||l>=q.length)return H.b(q,l) +o.w(0,new H.b0(m),q[l])}return new H.bh(o,t.Y)}, +$ifC:1} +H.dI.prototype={ +$2:function(a,b){var s +H.j(a) +s=this.a +s.b=s.b+"$"+H.d(a) +C.b.k(this.b,a) +C.b.k(this.c,b);++s.a}, +$S:12} +H.e3.prototype={ +V:function(a){var s,r,q=this,p=new RegExp(q.a).exec(a) +if(p==null)return null +s=Object.create(null) +r=q.b +if(r!==-1)s.arguments=p[r+1] +r=q.c +if(r!==-1)s.argumentsExpr=p[r+1] +r=q.d +if(r!==-1)s.expr=p[r+1] +r=q.e +if(r!==-1)s.method=p[r+1] +r=q.f +if(r!==-1)s.receiver=p[r+1] +return s}} +H.bB.prototype={ +i:function(a){var s=this.b +if(s==null)return"NoSuchMethodError: "+H.d(this.a) +return"NoSuchMethodError: method not found: '"+s+"' on null"}} +H.cl.prototype={ +i:function(a){var s,r=this,q="NoSuchMethodError: method not found: '",p=r.b +if(p==null)return"NoSuchMethodError: "+H.d(r.a) +s=r.c +if(s==null)return q+p+"' ("+H.d(r.a)+")" +return q+p+"' on '"+s+"' ("+H.d(r.a)+")"}} +H.cO.prototype={ +i:function(a){var s=this.a +return s.length===0?"Error":"Error: "+s}} +H.cy.prototype={ +i:function(a){return"Throw of null ('"+(this.a===null?"null":"undefined")+"' from JavaScript)"}, +$ibm:1} +H.V.prototype={ +i:function(a){var s=this.constructor,r=s==null?null:s.name +return"Closure '"+H.hQ(r==null?"unknown":r)+"'"}, +$iaA:1, +gcJ:function(){return this}, +$C:"$1", +$R:1, +$D:null} +H.cL.prototype={} +H.cJ.prototype={ +i:function(a){var s=this.$static_name +if(s==null)return"Closure of unknown static method" +return"Closure '"+H.hQ(s)+"'"}} +H.aP.prototype={ +M:function(a,b){var s=this +if(b==null)return!1 +if(s===b)return!0 +if(!(b instanceof H.aP))return!1 +return s.a===b.a&&s.b===b.b&&s.c===b.c}, +gE:function(a){var s,r=this.c +if(r==null)s=H.bD(this.a) +else s=typeof r!=="object"?J.bd(r):H.bD(r) +r=H.bD(this.b) +if(typeof s!=="number")return s.cK() +return(s^r)>>>0}, +i:function(a){var s=this.c +if(s==null)s=this.a +return"Closure '"+H.d(this.d)+"' of "+("Instance of '"+H.d(H.dJ(s))+"'")}} +H.cE.prototype={ +i:function(a){return"RuntimeError: "+this.a}} +H.cX.prototype={ +i:function(a){return"Assertion failed: "+P.ay(this.a)}} +H.ed.prototype={} +H.aB.prototype={ +gq:function(a){return this.a}, +ga9:function(){return new H.ac(this,H.x(this).h("ac<1>"))}, +gcG:function(){var s=H.x(this) +return H.eU(new H.ac(this,s.h("ac<1>")),new H.dA(this),s.c,s.Q[1])}, +J:function(a){var s,r +if(typeof a=="string"){s=this.b +if(s==null)return!1 +return this.c1(s,a)}else{r=this.cs(a) +return r}}, +cs:function(a){var s=this.d +if(s==null)return!1 +return this.aY(this.aI(s,J.bd(a)&0x3ffffff),a)>=0}, +p:function(a,b){var s,r,q,p,o=this,n=null +if(typeof b=="string"){s=o.b +if(s==null)return n +r=o.ap(s,b) +q=r==null?n:r.b +return q}else if(typeof b=="number"&&(b&0x3ffffff)===b){p=o.c +if(p==null)return n +r=o.ap(p,b) +q=r==null?n:r.b +return q}else return o.ct(b)}, +ct:function(a){var s,r,q=this.d +if(q==null)return null +s=this.aI(q,J.bd(a)&0x3ffffff) +r=this.aY(s,a) +if(r<0)return null +return s[r].b}, +w:function(a,b,c){var s,r,q,p,o,n,m=this,l=H.x(m) +l.c.a(b) +l.Q[1].a(c) +if(typeof b=="string"){s=m.b +m.bg(s==null?m.b=m.aJ():s,b,c)}else if(typeof b=="number"&&(b&0x3ffffff)===b){r=m.c +m.bg(r==null?m.c=m.aJ():r,b,c)}else{q=m.d +if(q==null)q=m.d=m.aJ() +p=J.bd(b)&0x3ffffff +o=m.aI(q,p) +if(o==null)m.aM(q,p,[m.aK(b,c)]) +else{n=m.aY(o,b) +if(n>=0)o[n].b=c +else o.push(m.aK(b,c))}}}, +T:function(a,b){var s,r,q=this +H.x(q).h("~(1,2)").a(b) +s=q.e +r=q.r +for(;s!=null;){b.$2(s.a,s.b) +if(r!==q.r)throw H.a(P.a9(q)) +s=s.c}}, +bg:function(a,b,c){var s,r=this,q=H.x(r) +q.c.a(b) +q.Q[1].a(c) +s=r.ap(a,b) +if(s==null)r.aM(a,b,r.aK(b,c)) +else s.b=c}, +aK:function(a,b){var s=this,r=H.x(s),q=new H.dC(r.c.a(a),r.Q[1].a(b)) +if(s.e==null)s.e=s.f=q +else s.f=s.f.c=q;++s.a +s.r=s.r+1&67108863 +return q}, +aY:function(a,b){var s,r +if(a==null)return-1 +s=a.length +for(r=0;r")) +r.c=s.e +return r}, +C:function(a,b){return this.a.J(b)}} +H.bw.prototype={ +gt:function(){return this.d}, +n:function(){var s,r=this,q=r.a +if(r.b!==q.r)throw H.a(P.a9(q)) +s=r.c +if(s==null){r.sbf(null) +return!1}else{r.sbf(s.a) +r.c=s.c +return!0}}, +sbf:function(a){this.d=this.$ti.h("1?").a(a)}, +$iv:1} +H.ez.prototype={ +$1:function(a){return this.a(a)}, +$S:13} +H.eA.prototype={ +$2:function(a,b){return this.a(a,b)}, +$S:24} +H.eB.prototype={ +$1:function(a){return this.a(H.j(a))}, +$S:27} +H.an.prototype={ +i:function(a){return"RegExp/"+this.a+"/"+this.b.flags}, +gbo:function(){var s=this,r=s.c +if(r!=null)return r +r=s.b +return s.c=H.eP(s.a,r.multiline,!r.ignoreCase,r.unicode,r.dotAll,!0)}, +gbn:function(){var s=this,r=s.d +if(r!=null)return r +r=s.b +return s.d=H.eP(s.a+"|()",r.multiline,!r.ignoreCase,r.unicode,r.dotAll,!0)}, +a_:function(a){var s +if(typeof a!="string")H.k(H.J(a)) +s=this.b.exec(a) +if(s==null)return null +return new H.b4(s)}, +as:function(a,b,c){var s=b.length +if(c>s)throw H.a(P.y(c,0,s,null,null)) +return new H.cW(this,b,c)}, +ar:function(a,b){return this.as(a,b,0)}, +bi:function(a,b){var s,r=this.gbo() +r.lastIndex=b +s=r.exec(a) +if(s==null)return null +return new H.b4(s)}, +c5:function(a,b){var s,r=this.gbn() +r.lastIndex=b +s=r.exec(a) +if(s==null)return null +if(0>=s.length)return H.b(s,-1) +if(s.pop()!=null)return null +return new H.b4(s)}, +bB:function(a,b,c){if(c<0||c>b.length)throw H.a(P.y(c,0,b.length,null,null)) +return this.c5(b,c)}, +$idH:1} +H.b4.prototype={ +gI:function(){return this.b.index}, +gP:function(){var s=this.b +return s.index+s[0].length}, +p:function(a,b){var s +H.T(b) +s=this.b +if(b>=s.length)return H.b(s,b) +return s[b]}, +$ia4:1, +$icD:1} +H.cW.prototype={ +gB:function(a){return new H.bP(this.a,this.b,this.c)}} +H.bP.prototype={ +gt:function(){return this.d}, +n:function(){var s,r,q,p,o,n=this,m=n.b +if(m==null)return!1 +s=n.c +r=m.length +if(s<=r){q=n.a +p=q.bi(m,s) +if(p!=null){n.d=p +o=p.gP() +if(p.b.index===o){if(q.b.unicode){s=n.c +q=s+1 +if(q=55296&&s<=56319){s=C.a.m(m,q) +s=s>=56320&&s<=57343}else s=!1}else s=!1}else s=!1 +o=(s?o+1:o)+1}n.c=o +return!0}}n.b=n.d=null +return!1}, +$iv:1} +H.bI.prototype={ +gP:function(){return this.a+this.c.length}, +p:function(a,b){H.T(b) +if(b!==0)H.k(P.aW(b,null)) +return this.c}, +$ia4:1, +gI:function(){return this.a}} +H.d3.prototype={ +gB:function(a){return new H.d4(this.a,this.b,this.c)}} +H.d4.prototype={ +n:function(){var s,r,q=this,p=q.c,o=q.b,n=o.length,m=q.a,l=m.length +if(p+n>l){q.d=null +return!1}s=m.indexOf(o,p) +if(s<0){q.c=l+1 +q.d=null +return!1}r=s+n +q.d=new H.bI(s,o) +q.c=r===q.c?r+1:r +return!0}, +gt:function(){var s=this.d +s.toString +return s}, +$iv:1} +H.cu.prototype={} +H.aV.prototype={ +gq:function(a){return a.length}, +$iaT:1} +H.bz.prototype={ +w:function(a,b,c){H.T(c) +H.ek(b,a,a.length) +a[b]=c}, +$in:1, +$if:1, +$il:1} +H.ct.prototype={ +p:function(a,b){H.T(b) +H.ek(b,a,a.length) +return a[b]}} +H.cv.prototype={ +p:function(a,b){H.T(b) +H.ek(b,a,a.length) +return a[b]}, +$ije:1} +H.aD.prototype={ +gq:function(a){return a.length}, +p:function(a,b){H.T(b) +H.ek(b,a,a.length) +return a[b]}, +$iaD:1, +$iaJ:1} +H.bR.prototype={} +H.bS.prototype={} +H.a5.prototype={ +h:function(a){return H.d8(v.typeUniverse,this,a)}, +S:function(a){return H.jy(v.typeUniverse,this,a)}} +H.d_.prototype={} +H.d5.prototype={ +i:function(a){return H.P(this.a,null)}} +H.cZ.prototype={ +i:function(a){return this.a}} +H.bT.prototype={} +P.cK.prototype={} +P.bq.prototype={} +P.bx.prototype={$in:1,$if:1,$il:1} +P.w.prototype={ +gB:function(a){return new H.ad(a,this.gq(a),H.a1(a).h("ad"))}, +O:function(a,b){return this.p(a,b)}, +gbw:function(a){return this.gq(a)!==0}, +gG:function(a){if(this.gq(a)===0)throw H.a(H.br()) +return this.p(a,this.gq(a)-1)}, +bA:function(a,b,c){var s=H.a1(a) +return new H.q(a,s.S(c).h("1(w.E)").a(b),s.h("@").S(c).h("q<1,2>"))}, +bb:function(a,b){return H.eX(a,b,null,H.a1(a).h("w.E"))}, +b7:function(a,b){var s,r,q,p,o=this +if(o.gq(a)===0){s=J.fE(0,H.a1(a).h("w.E")) +return s}r=o.p(a,0) +q=P.ap(o.gq(a),r,!0,H.a1(a).h("w.E")) +for(p=1;p"))}return new P.d1(this)}, +J:function(a){if(this.b==null)return this.c.J(a) +return Object.prototype.hasOwnProperty.call(this.a,a)}, +T:function(a,b){var s,r,q,p,o=this +t.cQ.a(b) +if(o.b==null)return o.c.T(0,b) +s=o.ao() +for(r=0;r=s.length)return H.b(s,b) +s=s[b]}return s}, +gB:function(a){var s=this.a +if(s.b==null){s=s.ga9() +s=s.gB(s)}else{s=s.ao() +s=new J.ax(s,s.length,H.A(s).h("ax<1>"))}return s}, +C:function(a,b){return this.a.J(b)}} +P.e9.prototype={ +$0:function(){var s,r +try{s=new TextDecoder("utf-8",{fatal:true}) +return s}catch(r){H.av(r)}return null}, +$S:4} +P.e8.prototype={ +$0:function(){var s,r +try{s=new TextDecoder("utf-8",{fatal:false}) +return s}catch(r){H.av(r)}return null}, +$S:4} +P.c7.prototype={ +co:function(a){return C.D.ah(a)}} +P.d6.prototype={ +ah:function(a){var s,r,q,p,o,n,m +H.j(a) +s=P.af(0,null,a.length) +r=s-0 +q=new Uint8Array(r) +for(p=~this.a,o=J.F(a),n=0;n=r)return H.b(q,n) +q[n]=m}return q}} +P.c8.prototype={} +P.c9.prototype={ +cA:function(a0,a1,a2){var s,r,q,p,o,n,m,l,k,j,i,h,g,f,e,d,c,b,a="Invalid base64 encoding length " +a2=P.af(a1,a2,a0.length) +s=$.i7() +for(r=a1,q=r,p=null,o=-1,n=-1,m=0;r=s.length)return H.b(s,g) +f=s[g] +if(f>=0){g=C.a.m(u.n,f) +if(g===k)continue +k=g}else{if(f===-1){if(o<0){e=p==null?null:p.a.length +if(e==null)e=0 +o=e+(r-q) +n=r}++m +if(k===61)continue}k=g}if(f!==-2){if(p==null){p=new P.C("") +e=p}else e=p +e.a+=C.a.j(a0,q,r) +e.a+=H.N(k) +q=l +continue}}throw H.a(P.r("Invalid base64 data",a0,r))}if(p!=null){e=p.a+=C.a.j(a0,q,a2) +d=e.length +if(o>=0)P.fv(a0,n,a2,o,m,d) +else{c=C.c.aE(d-1,4)+1 +if(c===1)throw H.a(P.r(a,a0,a2)) +for(;c<4;){e+="=" +p.a=e;++c}}e=p.a +return C.a.W(a0,a1,a2,e.charCodeAt(0)==0?e:e)}b=a2-a1 +if(o>=0)P.fv(a0,n,a2,o,m,b) +else{c=C.c.aE(b,4) +if(c===1)throw H.a(P.r(a,a0,a2)) +if(c>1)a0=C.a.W(a0,a2,a2,c===2?"==":"=")}return a0}} +P.ca.prototype={} +P.L.prototype={} +P.eb.prototype={} +P.aa.prototype={} +P.ce.prototype={} +P.cm.prototype={ +ck:function(a,b){var s +t.e.a(b) +s=P.k4(a,this.gcm().a) +return s}, +gcm:function(){return C.T}} +P.cn.prototype={} +P.cS.prototype={ +gcp:function(){return C.P}} +P.cU.prototype={ +ah:function(a){var s,r,q,p,o +H.j(a) +s=P.af(0,null,a.length) +r=s-0 +if(r===0)return new Uint8Array(0) +q=r*3 +p=new Uint8Array(q) +o=new P.ei(p) +if(o.c6(a,0,s)!==s){J.c4(a,s-1) +o.aN()}return new Uint8Array(p.subarray(0,H.jP(0,o.b,q)))}} +P.ei.prototype={ +aN:function(){var s=this,r=s.c,q=s.b,p=s.b=q+1,o=r.length +if(q>=o)return H.b(r,q) +r[q]=239 +q=s.b=p+1 +if(p>=o)return H.b(r,p) +r[p]=191 +s.b=q+1 +if(q>=o)return H.b(r,q) +r[q]=189}, +ci:function(a,b){var s,r,q,p,o,n=this +if((b&64512)===56320){s=65536+((a&1023)<<10)|b&1023 +r=n.c +q=n.b +p=n.b=q+1 +o=r.length +if(q>=o)return H.b(r,q) +r[q]=s>>>18|240 +q=n.b=p+1 +if(p>=o)return H.b(r,p) +r[p]=s>>>12&63|128 +p=n.b=q+1 +if(q>=o)return H.b(r,q) +r[q]=s>>>6&63|128 +n.b=p+1 +if(p>=o)return H.b(r,p) +r[p]=s&63|128 +return!0}else{n.aN() +return!1}}, +c6:function(a,b,c){var s,r,q,p,o,n,m,l=this +if(b!==c&&(C.a.m(a,c-1)&64512)===55296)--c +for(s=l.c,r=s.length,q=b;q=r)break +l.b=o+1 +s[o]=p}else{o=p&64512 +if(o===55296){if(l.b+4>r)break +n=q+1 +if(l.ci(p,C.a.l(a,n)))q=n}else if(o===56320){if(l.b+3>r)break +l.aN()}else if(p<=2047){o=l.b +m=o+1 +if(m>=r)break +l.b=m +if(o>=r)return H.b(s,o) +s[o]=p>>>6|192 +l.b=m+1 +s[m]=p&63|128}else{o=l.b +if(o+2>=r)break +m=l.b=o+1 +if(o>=r)return H.b(s,o) +s[o]=p>>>12|224 +o=l.b=m+1 +if(m>=r)return H.b(s,m) +s[m]=p>>>6&63|128 +l.b=o+1 +if(o>=r)return H.b(s,o) +s[o]=p&63|128}}}return q}} +P.cT.prototype={ +ah:function(a){var s,r +t.L.a(a) +s=this.a +r=P.jk(s,a,0,null) +if(r!=null)return r +return new P.eh(s).cj(a,0,null,!0)}} +P.eh.prototype={ +cj:function(a,b,c,d){var s,r,q,p,o,n,m=this +t.L.a(a) +s=P.af(b,c,J.Q(a)) +if(b===s)return"" +if(t.p.b(a)){r=a +q=0}else{r=P.jK(a,b,s) +s-=b +q=b +b=0}p=m.aF(r,b,s,!0) +o=m.b +if((o&1)!==0){n=P.jL(o) +m.b=0 +throw H.a(P.r(n,a,q+m.c))}return p}, +aF:function(a,b,c,d){var s,r,q=this +if(c-b>1000){s=C.c.bq(b+c,2) +r=q.aF(a,b,s,!1) +if((q.b&1)!==0)return r +return r+q.aF(a,s,c,d)}return q.cl(a,b,c,d)}, +cl:function(a,b,c,d){var s,r,q,p,o,n,m,l,k=this,j=65533,i=k.b,h=k.c,g=new P.C(""),f=b+1,e=a.length +if(b<0||b>=e)return H.b(a,b) +s=a[b] +$label0$0:for(r=k.a;!0;){for(;!0;f=o){q=C.a.l("AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFFFFFFFFFFFFFFFFGGGGGGGGGGGGGGGGHHHHHHHHHHHHHHHHHHHHHHHHHHHIHHHJEEBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBKCCCCCCCCCCCCDCLONNNMEEEEEEEEEEE",s)&31 +h=i<=32?s&61694>>>q:(s&63|h<<6)>>>0 +i=C.a.l(" \x000:XECCCCCN:lDb \x000:XECCCCCNvlDb \x000:XECCCCCN:lDb AAAAA\x00\x00\x00\x00\x00AAAAA00000AAAAA:::::AAAAAGG000AAAAA00KKKAAAAAG::::AAAAA:IIIIAAAAA000\x800AAAAA\x00\x00\x00\x00 AAAAA",i+q) +if(i===0){g.a+=H.N(h) +if(f===c)break $label0$0 +break}else if((i&1)!==0){if(r)switch(i){case 69:case 67:g.a+=H.N(j) +break +case 65:g.a+=H.N(j);--f +break +default:p=g.a+=H.N(j) +g.a=p+H.N(j) +break}else{k.b=i +k.c=f-1 +return""}i=0}if(f===c)break $label0$0 +o=f+1 +if(f<0||f>=e)return H.b(a,f) +s=a[f]}o=f+1 +if(f<0||f>=e)return H.b(a,f) +s=a[f] +if(s<128){while(!0){if(!(o=e)return H.b(a,o) +s=a[o] +if(s>=128){n=m-1 +o=m +break}o=m}if(n-f<20)for(l=f;l=e)return H.b(a,l) +g.a+=H.N(a[l])}else g.a+=P.fR(a,f,n) +if(n===c)break $label0$0 +f=o}else f=o}if(d&&i>32)if(r)g.a+=H.N(j) +else{k.b=77 +k.c=c +return""}k.b=i +k.c=h +e=g.a +return e.charCodeAt(0)==0?e:e}} +P.dF.prototype={ +$2:function(a,b){var s,r,q +t.cm.a(a) +s=this.b +r=this.a +s.a+=r.a +q=s.a+=H.d(a.a) +s.a=q+": " +s.a+=P.ay(b) +r.a=", "}, +$S:21} +P.o.prototype={} +P.be.prototype={ +i:function(a){var s=this.a +if(s!=null)return"Assertion failed: "+P.ay(s) +return"Assertion failed"}} +P.cM.prototype={} +P.cx.prototype={ +i:function(a){return"Throw of null."}} +P.a2.prototype={ +gaH:function(){return"Invalid argument"+(!this.a?"(s)":"")}, +gaG:function(){return""}, +i:function(a){var s,r,q=this,p=q.c,o=p==null?"":" ("+p+")",n=q.d,m=n==null?"":": "+H.d(n),l=q.gaH()+o+m +if(!q.a)return l +s=q.gaG() +r=P.ay(q.b) +return l+s+": "+r}} +P.ae.prototype={ +gaH:function(){return"RangeError"}, +gaG:function(){var s,r=this.e,q=this.f +if(r==null)s=q!=null?": Not less than or equal to "+H.d(q):"" +else if(q==null)s=": Not greater than or equal to "+H.d(r) +else if(q>r)s=": Not in inclusive range "+H.d(r)+".."+H.d(q) +else s=qd.length +else s=!1 +if(s)e=null +if(e==null){if(d.length>78)d=C.a.j(d,0,75)+"..." +return f+"\n"+d}for(r=1,q=0,p=!1,o=0;o1?f+(" (at line "+r+", character "+(e-q+1)+")\n"):f+(" (at character "+(e+1)+")\n") +m=d.length +for(o=e;o78)if(e-q<75){l=q+75 +k=q +j="" +i="..."}else{if(m-e<75){k=m-75 +l=m +i=""}else{k=e-36 +l=e+36 +i="..."}j="..."}else{l=m +k=q +j="" +i=""}h=C.a.j(d,k,l) +return f+j+h+i+"\n"+C.a.b9(" ",e-k+j.length)+"^\n"}else return e!=null?f+(" (at offset "+H.d(e)+")"):f}, +$ibm:1} +P.f.prototype={ +cH:function(a,b){var s=H.x(this) +return new H.O(this,s.h("K(f.E)").a(b),s.h("O"))}, +gq:function(a){var s,r=this.gB(this) +for(s=0;r.n();)++s +return s}, +gcu:function(a){return!this.gB(this).n()}, +bO:function(a,b){var s=H.x(this) +return new H.bE(this,s.h("K(f.E)").a(b),s.h("bE"))}, +gaS:function(a){var s=this.gB(this) +if(!s.n())throw H.a(H.br()) +return s.gt()}, +gG:function(a){var s,r=this.gB(this) +if(!r.n())throw H.a(H.br()) +do s=r.gt() +while(r.n()) +return s}, +O:function(a,b){var s,r,q +P.aX(b,"index") +for(s=this.gB(this),r=0;s.n();){q=s.gt() +if(b===r)return q;++r}throw H.a(P.dy(b,this,"index",null,r))}, +i:function(a){return P.iQ(this,"(",")")}} +P.v.prototype={} +P.bA.prototype={ +gE:function(a){return P.t.prototype.gE.call(C.R,this)}, +i:function(a){return"null"}} +P.t.prototype={constructor:P.t,$it:1, +M:function(a,b){return this===b}, +gE:function(a){return H.bD(this)}, +i:function(a){return"Instance of '"+H.d(H.dJ(this))+"'"}, +ay:function(a,b){t.o.a(b) +throw H.a(P.fH(this,b.gbC(),b.gbF(),b.gbD()))}, +toString:function(){return this.i(this)}} +P.C.prototype={ +gq:function(a){return this.a.length}, +i:function(a){var s=this.a +return s.charCodeAt(0)==0?s:s}, +$ij5:1} +P.e5.prototype={ +$2:function(a,b){throw H.a(P.r("Illegal IPv4 address, "+a,this.a,b))}, +$S:18} +P.e6.prototype={ +$2:function(a,b){throw H.a(P.r("Illegal IPv6 address, "+a,this.a,b))}, +$1:function(a){return this.$2(a,null)}, +$S:16} +P.e7.prototype={ +$2:function(a,b){var s +if(b-a>4)this.a.$2("an IPv6 part can only contain a maximum of 4 hex digits",a) +s=P.Z(C.a.j(this.b,a,b),16) +if(s<0||s>65535)this.a.$2("each part must be in the range of `0x0..0xFFFF`",a) +return s}, +$S:10} +P.bX.prototype={ +gbr:function(){var s,r,q,p=this,o=p.x +if(o===$){o=p.a +s=o.length!==0?o+":":"" +r=p.c +q=r==null +if(!q||o==="file"){o=s+"//" +s=p.b +if(s.length!==0)o=o+s+"@" +if(!q)o+=r +s=p.d +if(s!=null)o=o+":"+H.d(s)}else o=s +o+=p.e +s=p.f +if(s!=null)o=o+"?"+s +s=p.r +if(s!=null)o=o+"#"+s +o=o.charCodeAt(0)==0?o:o +if(p.x===$)p.x=o +else o=H.k(H.dB("_text"))}return o}, +gaA:function(){var s,r=this,q=r.y +if(q===$){s=r.e +if(s.length!==0&&C.a.l(s,0)===47)s=C.a.A(s,1) +q=s.length===0?C.w:P.a3(new H.q(H.h(s.split("/"),t.s),t.q.a(P.ke()),t.r),t.N) +if(r.y===$)r.sbZ(q) +else q=H.k(H.dB("pathSegments"))}return q}, +gE:function(a){var s=this,r=s.z +if(r===$){r=J.bd(s.gbr()) +if(s.z===$)s.z=r +else r=H.k(H.dB("hashCode"))}return r}, +gan:function(){return this.b}, +gU:function(){var s=this.c +if(s==null)return"" +if(C.a.u(s,"["))return C.a.j(s,1,s.length-1) +return s}, +gac:function(){var s=this.d +return s==null?P.hb(this.a):s}, +ga4:function(){var s=this.f +return s==null?"":s}, +gau:function(){var s=this.r +return s==null?"":s}, +cv:function(a){var s=this.a +if(a.length!==s.length)return!1 +return P.jD(a,s)}, +bm:function(a,b){var s,r,q,p,o,n +for(s=0,r=0;C.a.D(b,"../",r);){r+=3;++s}q=C.a.by(a,"/") +while(!0){if(!(q>0&&s>0))break +p=C.a.bz(a,"/",q-1) +if(p<0)break +o=q-p +n=o!==2 +if(!n||o===3)if(C.a.m(a,p+1)===46)n=!n||C.a.m(a,p+2)===46 +else n=!1 +else n=!1 +if(n)break;--s +q=p}return C.a.W(a,q+1,null,C.a.A(b,r-3*s))}, +b4:function(a){return this.am(P.R(a))}, +am:function(a){var s,r,q,p,o,n,m,l,k,j,i=this,h=null +if(a.gH().length!==0){s=a.gH() +if(a.gai()){r=a.gan() +q=a.gU() +p=a.gaj()?a.gac():h}else{p=h +q=p +r=""}o=P.ah(a.gK(a)) +n=a.ga8()?a.ga4():h}else{s=i.a +if(a.gai()){r=a.gan() +q=a.gU() +p=P.f5(a.gaj()?a.gac():h,s) +o=P.ah(a.gK(a)) +n=a.ga8()?a.ga4():h}else{r=i.b +q=i.c +p=i.d +o=i.e +if(a.gK(a)==="")n=a.ga8()?a.ga4():i.f +else{m=P.jJ(i,o) +if(m>0){l=C.a.j(o,0,m) +o=a.gav()?l+P.ah(a.gK(a)):l+P.ah(i.bm(C.a.A(o,l.length),a.gK(a)))}else if(a.gav())o=P.ah(a.gK(a)) +else if(o.length===0)if(q==null)o=s.length===0?a.gK(a):P.ah(a.gK(a)) +else o=P.ah("/"+a.gK(a)) +else{k=i.bm(o,a.gK(a)) +j=s.length===0 +if(!j||q!=null||C.a.u(o,"/"))o=P.ah(k) +else o=P.f7(k,!j||q!=null)}n=a.ga8()?a.ga4():h}}}return P.ef(s,r,q,p,o,n,a.gaU()?a.gau():h)}, +gai:function(){return this.c!=null}, +gaj:function(){return this.d!=null}, +ga8:function(){return this.f!=null}, +gaU:function(){return this.r!=null}, +gav:function(){return C.a.u(this.e,"/")}, +b5:function(){var s,r=this,q=r.a +if(q!==""&&q!=="file")throw H.a(P.z("Cannot extract a file path from a "+q+" URI")) +q=r.f +if((q==null?"":q)!=="")throw H.a(P.z(u.y)) +q=r.r +if((q==null?"":q)!=="")throw H.a(P.z(u.l)) +q=$.fm() +if(H.bb(q))q=P.hn(r) +else{if(r.c!=null&&r.gU()!=="")H.k(P.z(u.j)) +s=r.gaA() +P.jB(s,!1) +q=P.dP(C.a.u(r.e,"/")?"/":"",s,"/") +q=q.charCodeAt(0)==0?q:q}return q}, +i:function(a){return this.gbr()}, +M:function(a,b){var s,r,q=this +if(b==null)return!1 +if(q===b)return!0 +if(t.k.b(b))if(q.a===b.gH())if(q.c!=null===b.gai())if(q.b===b.gan())if(q.gU()===b.gU())if(q.gac()===b.gac())if(q.e===b.gK(b)){s=q.f +r=s==null +if(!r===b.ga8()){if(r)s="" +if(s===b.ga4()){s=q.r +r=s==null +if(!r===b.gaU()){if(r)s="" +s=s===b.gau()}else s=!1}else s=!1}else s=!1}else s=!1 +else s=!1 +else s=!1 +else s=!1 +else s=!1 +else s=!1 +else s=!1 +return s}, +sbZ:function(a){this.y=t.bD.a(a)}, +$ibM:1, +gH:function(){return this.a}, +gK:function(a){return this.e}} +P.eg.prototype={ +$1:function(a){return P.f9(C.X,H.j(a),C.e,!1)}, +$S:9} +P.cQ.prototype={ +gae:function(){var s,r,q,p,o=this,n=null,m=o.c +if(m==null){m=o.b +if(0>=m.length)return H.b(m,0) +s=o.a +m=m[0]+1 +r=C.a.a0(s,"?",m) +q=s.length +if(r>=0){p=P.bZ(s,r+1,q,C.h,!1) +q=r}else p=n +m=o.c=new P.cY("data","",n,n,P.bZ(s,m,q,C.A,!1),p,n)}return m}, +i:function(a){var s,r=this.b +if(0>=r.length)return H.b(r,0) +s=this.a +return r[0]===-1?"data:"+s:s}} +P.em.prototype={ +$2:function(a,b){var s=this.a +if(a>=s.length)return H.b(s,a) +s=s[a] +C.Y.cq(s,0,96,b) +return s}, +$S:11} +P.en.prototype={ +$3:function(a,b,c){var s,r,q +for(s=b.length,r=0;r=96)return H.b(a,q) +a[q]=c}}, +$S:3} +P.eo.prototype={ +$3:function(a,b,c){var s,r,q +for(s=C.a.l(b,0),r=C.a.l(b,1);s<=r;++s){q=(s^96)>>>0 +if(q>=96)return H.b(a,q) +a[q]=c}}, +$S:3} +P.a0.prototype={ +gai:function(){return this.c>0}, +gaj:function(){return this.c>0&&this.d+1r?C.a.j(this.a,r,s-1):""}, +gU:function(){var s=this.c +return s>0?C.a.j(this.a,s,this.d):""}, +gac:function(){var s,r=this +if(r.gaj())return P.Z(C.a.j(r.a,r.d+1,r.e),null) +s=r.b +if(s===4&&C.a.u(r.a,"http"))return 80 +if(s===5&&C.a.u(r.a,"https"))return 443 +return 0}, +gK:function(a){return C.a.j(this.a,this.e,this.f)}, +ga4:function(){var s=this.f,r=this.r +return s=q.length)return s +return new P.a0(C.a.j(q,0,r),s.b,s.c,s.d,s.e,s.f,r,s.x)}, +b4:function(a){return this.am(P.R(a))}, +am:function(a){if(a instanceof P.a0)return this.ce(this,a) +return this.bs().am(a)}, +ce:function(a,b){var s,r,q,p,o,n,m,l,k,j,i,h,g,f,e,d,c=b.b +if(c>0)return b +s=b.c +if(s>0){r=a.b +if(r<=0)return b +q=r===4 +if(q&&C.a.u(a.a,"file"))p=b.e!==b.f +else if(q&&C.a.u(a.a,"http"))p=!b.bk("80") +else p=!(r===5&&C.a.u(a.a,"https"))||!b.bk("443") +if(p){o=r+1 +return new P.a0(C.a.j(a.a,0,o)+C.a.A(b.a,c+1),r,s+o,b.d+o,b.e+o,b.f+o,b.r+o,a.x)}else return this.bs().am(b)}n=b.e +c=b.f +if(n===c){s=b.r +if(c0?l:m +o=k-n +return new P.a0(C.a.j(a.a,0,k)+C.a.A(s,n),a.b,a.c,a.d,m,c+o,b.r+o,a.x)}j=a.e +i=a.f +if(j===i&&a.c>0){for(;C.a.D(s,"../",n);)n+=3 +o=j-n+1 +return new P.a0(C.a.j(a.a,0,j)+"/"+C.a.A(s,n),a.b,a.c,a.d,j,c+o,b.r+o,a.x)}h=a.a +l=P.h3(this) +if(l>=0)g=l +else for(g=j;C.a.D(h,"../",g);)g+=3 +f=0 +while(!0){e=n+3 +if(!(e<=c&&C.a.D(s,"../",n)))break;++f +n=e}for(d="";i>g;){--i +if(C.a.m(h,i)===47){if(f===0){d="/" +break}--f +d="/"}}if(i===g&&a.b<=0&&!C.a.D(h,"/",j)){n-=f*3 +d=""}o=i-n+d.length +return new P.a0(C.a.j(h,0,i)+d+C.a.A(s,n),a.b,a.c,a.d,j,c+o,b.r+o,a.x)}, +b5:function(){var s,r,q=this,p=q.b +if(p>=0){s=!(p===4&&C.a.u(q.a,"file")) +p=s}else p=!1 +if(p)throw H.a(P.z("Cannot extract a file path from a "+q.gH()+" URI")) +p=q.f +s=q.a +if(p0?s.gU():r,n=s.gaj()?s.gac():r,m=s.a,l=s.f,k=C.a.j(m,s.e,l),j=s.r +l=l0&&!s.R(a) +if(s)return a +s=this.b +return this.bx(0,s==null?D.et():s,a,b,c,d,e,f,g)}, +Z:function(a){return this.bu(a,null,null,null,null,null,null)}, +cn:function(a){var s,r,q=X.aE(a,this.a) +q.aD() +s=q.d +r=s.length +if(r===0){s=q.b +return s==null?".":s}if(r===1){s=q.b +return s==null?".":s}C.b.b3(s) +s=q.e +if(0>=s.length)return H.b(s,-1) +s.pop() +q.aD() +return q.i(0)}, +bx:function(a,b,c,d,e,f,g,h,i){var s=H.h([b,c,d,e,f,g,h,i],t.m) +M.hy("join",s) +return this.cz(new H.bN(s,t.y))}, +cw:function(a,b,c){return this.bx(a,b,c,null,null,null,null,null,null)}, +cz:function(a){var s,r,q,p,o,n,m,l,k,j +t.c.a(a) +for(s=a.$ti,r=s.h("K(f.E)").a(new M.dn()),q=a.gB(a),s=new H.aL(q,r,s.h("aL")),r=this.a,p=!1,o=!1,n="";s.n();){m=q.gt() +if(r.R(m)&&o){l=X.aE(m,r) +k=n.charCodeAt(0)==0?n:n +n=C.a.j(k,0,r.ad(k,!0)) +l.b=n +if(r.al(n))C.b.w(l.e,0,r.ga5()) +n=l.i(0)}else if(r.F(m)>0){o=!r.R(m) +n=H.d(m)}else{j=m.length +if(j!==0){if(0>=j)return H.b(m,0) +j=r.aQ(m[0])}else j=!1 +if(!j)if(p)n+=r.ga5() +n+=m}p=r.al(m)}return n.charCodeAt(0)==0?n:n}, +ag:function(a,b){var s=X.aE(b,this.a),r=s.d,q=H.A(r),p=q.h("O<1>") +s.sbE(P.eT(new H.O(r,q.h("K(1)").a(new M.dp()),p),!0,p.h("f.E"))) +r=s.b +if(r!=null)C.b.aW(s.d,0,r) +return s.d}, +b1:function(a){var s +if(!this.ca(a))return a +s=X.aE(a,this.a) +s.b0() +return s.i(0)}, +ca:function(a){var s,r,q,p,o,n,m,l,k,j +a.toString +s=this.a +r=s.F(a) +if(r!==0){if(s===$.c3())for(q=0;q0)return m.b1(a) +if(k.F(a)<=0||k.R(a))a=m.Z(a) +if(k.F(a)<=0&&k.F(b)>0)throw H.a(X.fI(l+H.d(a)+'" from "'+H.d(b)+'".')) +s=X.aE(b,k) +s.b0() +r=X.aE(a,k) +r.b0() +q=s.d +p=q.length +if(p!==0){if(0>=p)return H.b(q,0) +q=J.I(q[0],".")}else q=!1 +if(q)return r.i(0) +q=s.b +p=r.b +if(q!=p)q=q==null||p==null||!k.b2(q,p) +else q=!1 +if(q)return r.i(0) +while(!0){q=s.d +p=q.length +if(p!==0){o=r.d +n=o.length +if(n!==0){if(0>=p)return H.b(q,0) +q=q[0] +if(0>=n)return H.b(o,0) +o=k.b2(q,o[0]) +q=o}else q=!1}else q=!1 +if(!q)break +C.b.aC(s.d,0) +C.b.aC(s.e,1) +C.b.aC(r.d,0) +C.b.aC(r.e,1)}q=s.d +p=q.length +if(p!==0){if(0>=p)return H.b(q,0) +q=J.I(q[0],"..")}else q=!1 +if(q)throw H.a(X.fI(l+H.d(a)+'" from "'+H.d(b)+'".')) +q=t.N +C.b.aX(r.d,0,P.ap(s.d.length,"..",!1,q)) +C.b.w(r.e,0,"") +C.b.aX(r.e,1,P.ap(s.d.length,k.ga5(),!1,q)) +k=r.d +q=k.length +if(q===0)return"." +if(q>1&&J.I(C.b.gG(k),".")){C.b.b3(r.d) +k=r.e +if(0>=k.length)return H.b(k,-1) +k.pop() +if(0>=k.length)return H.b(k,-1) +k.pop() +C.b.k(k,"")}r.b="" +r.aD() +return r.i(0)}, +cD:function(a){return this.aB(a,null)}, +bl:function(a,b){var s,r,q,p,o,n,m,l,k=this +a=H.j(a) +b=H.j(b) +r=k.a +q=r.F(H.j(a))>0 +p=r.F(H.j(b))>0 +if(q&&!p){b=k.Z(b) +if(r.R(a))a=k.Z(a)}else if(p&&!q){a=k.Z(a) +if(r.R(b))b=k.Z(b)}else if(p&&q){o=r.R(b) +n=r.R(a) +if(o&&!n)b=k.Z(b) +else if(n&&!o)a=k.Z(a)}m=k.c9(a,b) +if(m!==C.f)return m +s=null +try{s=k.aB(b,a)}catch(l){if(H.av(l) instanceof X.bC)return C.d +else throw l}if(r.F(H.j(s))>0)return C.d +if(J.I(s,"."))return C.r +if(J.I(s,".."))return C.d +return J.Q(s)>=3&&J.c5(s,"..")&&r.v(J.c4(s,2))?C.d:C.l}, +c9:function(a,b){var s,r,q,p,o,n,m,l,k,j,i,h,g,f,e,d=this +if(a===".")a="" +s=d.a +r=s.F(a) +q=s.F(b) +if(r!==q)return C.d +for(p=J.F(a),o=J.F(b),n=0;nq.ag(0,s).length?s:r}} +M.dn.prototype={ +$1:function(a){return H.j(a)!==""}, +$S:0} +M.dp.prototype={ +$1:function(a){return H.j(a).length!==0}, +$S:0} +M.es.prototype={ +$1:function(a){H.ej(a) +return a==null?"null":'"'+a+'"'}, +$S:14} +M.b5.prototype={ +i:function(a){return this.a}} +M.b6.prototype={ +i:function(a){return this.a}} +B.aS.prototype={ +bK:function(a){var s,r=this.F(a) +if(r>0)return J.eL(a,0,r) +if(this.R(a)){if(0>=a.length)return H.b(a,0) +s=a[0]}else s=null +return s}, +bG:function(a){var s=M.eM(this).ag(0,a) +if(this.v(J.c4(a,a.length-1)))C.b.k(s,"") +return P.H(null,null,s,null)}, +at:function(a,b){return a===b}, +b2:function(a,b){return a==b}} +X.dG.prototype={ +gaV:function(){var s=this.d +if(s.length!==0)s=J.I(C.b.gG(s),"")||!J.I(C.b.gG(this.e),"") +else s=!1 +return s}, +aD:function(){var s,r,q=this +while(!0){s=q.d +if(!(s.length!==0&&J.I(C.b.gG(s),"")))break +C.b.b3(q.d) +s=q.e +if(0>=s.length)return H.b(s,-1) +s.pop()}s=q.e +r=s.length +if(r!==0)C.b.w(s,r-1,"")}, +b0:function(){var s,r,q,p,o,n,m=this,l=H.h([],t.s) +for(s=m.d,r=s.length,q=0,p=0;p=n)return H.b(l,-1) +l.pop()}else ++q}else C.b.k(l,o)}if(m.b==null)C.b.aX(l,0,P.ap(q,"..",!1,t.N)) +if(l.length===0&&m.b==null)C.b.k(l,".") +m.sbE(l) +s=m.a +m.sbM(P.ap(l.length+1,s.ga5(),!0,t.N)) +r=m.b +if(r==null||l.length===0||!s.al(r))C.b.w(m.e,0,"") +r=m.b +if(r!=null&&s===$.c3()){r.toString +m.b=H.a_(r,"/","\\")}m.aD()}, +i:function(a){var s,r,q=this,p=q.b +p=p!=null?p:"" +for(s=0;s=r.length)return H.b(r,s) +r=p+H.d(r[s]) +p=q.d +if(s>=p.length)return H.b(p,s) +p=r+H.d(p[s])}p+=H.d(C.b.gG(q.e)) +return p.charCodeAt(0)==0?p:p}, +sbE:function(a){this.d=t.h.a(a)}, +sbM:function(a){this.e=t.h.a(a)}} +X.bC.prototype={ +i:function(a){return"PathException: "+this.a}, +$ibm:1} +O.dQ.prototype={ +i:function(a){return this.gb_(this)}} +E.cB.prototype={ +aQ:function(a){return C.a.C(a,"/")}, +v:function(a){return a===47}, +al:function(a){var s=a.length +return s!==0&&C.a.m(a,s-1)!==47}, +ad:function(a,b){if(a.length!==0&&C.a.l(a,0)===47)return 1 +return 0}, +F:function(a){return this.ad(a,!1)}, +R:function(a){return!1}, +az:function(a){var s +if(a.gH()===""||a.gH()==="file"){s=a.gK(a) +return P.f8(s,0,s.length,C.e,!1)}throw H.a(P.G("Uri "+a.i(0)+" must have scheme 'file:'."))}, +aO:function(a){var s=X.aE(a,this),r=s.d +if(r.length===0)C.b.aP(r,H.h(["",""],t.s)) +else if(s.gaV())C.b.k(s.d,"") +return P.H(null,null,s.d,"file")}, +gb_:function(){return"posix"}, +ga5:function(){return"/"}} +F.cR.prototype={ +aQ:function(a){return C.a.C(a,"/")}, +v:function(a){return a===47}, +al:function(a){var s=a.length +if(s===0)return!1 +if(C.a.m(a,s-1)!==47)return!0 +return C.a.aR(a,"://")&&this.F(a)===s}, +ad:function(a,b){var s,r,q,p,o=a.length +if(o===0)return 0 +if(C.a.l(a,0)===47)return 1 +for(s=0;s0){r=C.a.a0(a,"\\",r+1) +if(r>0)return r}return q}if(q<3)return 0 +if(!B.hH(s))return 0 +if(C.a.l(a,1)!==58)return 0 +q=C.a.l(a,2) +if(!(q===47||q===92))return 0 +return 3}, +F:function(a){return this.ad(a,!1)}, +R:function(a){return this.F(a)===1}, +az:function(a){var s,r +if(a.gH()!==""&&a.gH()!=="file")throw H.a(P.G("Uri "+a.i(0)+" must have scheme 'file:'.")) +s=a.gK(a) +if(a.gU()===""){if(s.length>=3&&C.a.u(s,"/")&&B.hI(s,1))s=C.a.bH(s,"/","")}else s="\\\\"+a.gU()+s +r=H.a_(s,"/","\\") +return P.f8(r,0,r.length,C.e,!1)}, +aO:function(a){var s,r,q=X.aE(a,this),p=q.b +p.toString +if(C.a.u(p,"\\\\")){s=new H.O(H.h(p.split("\\"),t.s),t.Q.a(new L.ea()),t.U) +C.b.aW(q.d,0,s.gG(s)) +if(q.gaV())C.b.k(q.d,"") +return P.H(s.gaS(s),null,q.d,"file")}else{if(q.d.length===0||q.gaV())C.b.k(q.d,"") +p=q.d +r=q.b +r.toString +r=H.a_(r,"/","") +C.b.aW(p,0,H.a_(r,"\\","")) +return P.H(null,null,q.d,"file")}}, +at:function(a,b){var s +if(a===b)return!0 +if(a===47)return b===92 +if(a===92)return b===47 +if((a^b)!==32)return!1 +s=a|32 +return s>=97&&s<=122}, +b2:function(a,b){var s,r,q +if(a==b)return!0 +s=a.length +if(s!==b.length)return!1 +for(r=J.F(b),q=0;q=r.length)return H.b(r,p) +n=n+r[p]+":" +if(p>=q.length)return H.b(q,p) +n=n+q[p].i(0)+")"}n+="]" +return n.charCodeAt(0)==0?n:n}} +T.cr.prototype={ +i:function(a){var s,r +for(s=this.a.gcG(),r=H.x(s),r=new H.aC(J.U(s.a),s.b,r.h("@<1>").S(r.Q[1]).h("aC<1,2>")),s="";r.n();)s+=J.aw(r.a) +return s.charCodeAt(0)==0?s:s}, +af:function(a,b,c,d){var s,r,q,p,o,n,m,l +t.n.a(c) +s=H.h([47,58],t.t) +for(r=d.length,q=this.a,p=!0,o=0;o=c.length)return H.b(c,a2) +r=c[a2] +if(r==null)break c$0 +if(a2>=s)return H.b(a0,a2) +s=a0[a2] +q=new H.aQ(r) +p=H.h([0],a1) +o=typeof s=="string"?P.R(s):b.a(s) +p=new Y.b_(o,p,new Uint32Array(H.hq(q.b6(q)))) +p.bW(q,s) +C.b.w(a,a2,p)}++a2}b=H.j(a3.p(0,"mappings")) +a=b.length +n=new T.d2(b,a) +b=t.v +m=H.h([],b) +a1=f.b +s=a-1 +a=a>0 +q=f.d +l=0 +k=0 +j=0 +i=0 +h=0 +g=0 +while(!0){if(!(n.c=a0.length)throw H.a(P.dO("Invalid source url id. "+H.d(f.e)+", "+l+", "+j)) +p=n.ga3() +if(!(!p.a&&!p.b&&!p.c))throw H.a(f.aL(2,l)) +i+=L.da(n) +p=n.ga3() +if(!(!p.a&&!p.b&&!p.c))throw H.a(f.aL(3,l)) +h+=L.da(n) +p=n.ga3() +if(!(!p.a&&!p.b&&!p.c))C.b.k(m,new T.b1(k,j,i,h,d)) +else{g+=L.da(n) +if(g>=a1.length)throw H.a(P.dO("Invalid name id: "+H.d(f.e)+", "+l+", "+g)) +C.b.k(m,new T.b1(k,j,i,h,g))}}if(n.ga3().b)++n.c}}if(m.length!==0)C.b.k(q,new T.bK(l,m)) +a3.T(0,new T.dK(f))}, +aL:function(a,b){return new P.aF("Invalid entry in sourcemap, expected 1, 4, or 5 values, but got "+a+".\ntargeturl: "+H.d(this.e)+", line: "+b)}, +c8:function(a){var s,r=this.d,q=O.hB(r,new T.dM(a)) +if(q<=0)r=null +else{s=q-1 +if(s>=r.length)return H.b(r,s) +s=r[s] +r=s}return r}, +c7:function(a,b,c){var s,r,q +if(c==null||c.b.length===0)return null +if(c.a!==a)return C.b.gG(c.b) +s=c.b +r=O.hB(s,new T.dL(b)) +if(r<=0)q=null +else{q=r-1 +if(q>=s.length)return H.b(s,q) +q=s[q]}return q}, +af:function(a,b,c,d){var s,r,q,p,o,n,m,l,k=this +t.n.a(c) +s=k.c7(a,b,k.c8(a)) +if(s==null)return null +r=s.b +if(r==null)return null +q=k.a +if(r>>>0!==r||r>=q.length)return H.b(q,r) +p=q[r] +q=k.f +if(q!=null)p=q+H.d(p) +o=s.e +q=k.r +q=q==null?null:q.b4(p) +if(q==null)q=p +n=s.c +m=V.eW(0,s.d,n,q) +if(o!=null){q=k.b +if(o>>>0!==o||o>=q.length)return H.b(q,o) +q=q[o] +n=q.length +n=V.eW(m.b+n,m.d+n,m.c,m.a) +l=new G.bG(m,n,q) +l.bd(m,n,q) +return l}else return G.fP(m,m,"",!1)}, +i:function(a){var s=this,r=H.c1(s).i(0) +r+" : [" +r=r+" : [targetUrl: "+H.d(s.e)+", sourceRoot: "+H.d(s.f)+", urls: "+H.d(s.a)+", names: "+H.d(s.b)+", lines: "+H.d(s.d)+"]" +return r.charCodeAt(0)==0?r:r}} +T.dK.prototype={ +$2:function(a,b){if(J.c5(a,"x_"))this.a.x.w(0,H.j(a),b)}, +$S:15} +T.dM.prototype={ +$1:function(a){return a.ga2()>this.a}, +$S:8} +T.dL.prototype={ +$1:function(a){return a.ga6()>this.a}, +$S:8} +T.bK.prototype={ +i:function(a){return H.c1(this).i(0)+": "+this.a+" "+H.d(this.b)}, +ga2:function(){return this.a}} +T.b1.prototype={ +i:function(a){var s=this +return H.c1(s).i(0)+": ("+s.a+", "+H.d(s.b)+", "+H.d(s.c)+", "+H.d(s.d)+", "+H.d(s.e)+")"}, +ga6:function(){return this.a}} +T.d2.prototype={ +n:function(){return++this.c=0&&s=q.length)return H.b(q,s) +s=q[s]}else s=H.k(P.dy(s,q,null,null,null)) +return s}, +gcr:function(){var s=this.b +return this.c0}, +ga3:function(){var s,r,q +if(!this.gcr())return C.a2 +s=this.a +r=this.c+1 +if(r<0||r>=s.length)return H.b(s,r) +q=s[r] +if(q===";")return C.a4 +if(q===",")return C.a3 +return C.a1}, +i:function(a){var s,r,q,p,o=this,n=new P.C("") +for(s=o.a,r=0;r=s.length)return H.b(s,r) +n.a+=s[r]}n.a+="\x1b[31m" +try{n.a+=o.gt()}catch(q){if(!t.G.b(H.av(q)))throw q}n.a+="\x1b[0m" +for(r=o.c+1,p=s.length;r=r)return H.b(s,n) +m=s[n]!==10}else m=!0 +if(m)o=10}if(o===10)C.b.k(q,p+1)}}} +V.cF.prototype={ +bv:function(a){var s=this.a +if(!J.I(s,a.gN()))throw H.a(P.G('Source URLs "'+H.d(s)+'" and "'+H.d(a.gN())+"\" don't match.")) +return Math.abs(this.b-a.gab())}, +M:function(a,b){if(b==null)return!1 +return t.cJ.b(b)&&J.I(this.a,b.gN())&&this.b===b.gab()}, +gE:function(a){var s=this.a +s=s==null?null:s.gE(s) +if(s==null)s=0 +return s+this.b}, +i:function(a){var s=this,r="<"+H.c1(s).i(0)+": "+s.b+" ",q=s.a +return r+(H.d(q==null?"unknown source":q)+":"+(s.c+1)+":"+(s.d+1))+">"}, +gN:function(){return this.a}, +gab:function(){return this.b}, +ga2:function(){return this.c}, +ga6:function(){return this.d}} +V.cG.prototype={ +bd:function(a,b,c){var s,r=this.b,q=this.a +if(!J.I(r.gN(),q.gN()))throw H.a(P.G('Source URLs "'+H.d(q.gN())+'" and "'+H.d(r.gN())+"\" don't match.")) +else if(r.gab()'}, +$idN:1} +U.al.prototype={ +bI:function(){var s=this.a,r=H.A(s) +return Y.eY(new H.bn(s,r.h("f(1)").a(new U.dm()),r.h("bn<1,i>")),null)}, +i:function(a){var s=this.a,r=H.A(s) +return new H.q(s,r.h("c(1)").a(new U.dk(new H.q(s,r.h("e(1)").a(new U.dl()),r.h("q<1,e>")).aT(0,0,C.m,t.S))),r.h("q<1,c>")).X(0,u.q)}, +$icI:1} +U.df.prototype={ +$1:function(a){return H.j(a).length!==0}, +$S:0} +U.dg.prototype={ +$1:function(a){return Y.fT(H.j(a))}, +$S:7} +U.dh.prototype={ +$1:function(a){return Y.fS(H.j(a))}, +$S:7} +U.dm.prototype={ +$1:function(a){return t.a.a(a).ga7()}, +$S:19} +U.dl.prototype={ +$1:function(a){var s=t.a.a(a).ga7(),r=H.A(s) +return new H.q(s,r.h("e(1)").a(new U.dj()),r.h("q<1,e>")).aT(0,0,C.m,t.S)}, +$S:20} +U.dj.prototype={ +$1:function(a){return t.B.a(a).gaa().length}, +$S:6} +U.dk.prototype={ +$1:function(a){var s=t.a.a(a).ga7(),r=H.A(s) +return new H.q(s,r.h("c(1)").a(new U.di(this.a)),r.h("q<1,c>")).aw(0)}, +$S:34} +U.di.prototype={ +$1:function(a){t.B.a(a) +return J.ft(a.gaa(),this.a)+" "+H.d(a.gax())+"\n"}, +$S:5} +A.i.prototype={ +gaZ:function(){var s=this.a +if(s.gH()==="data")return"data:..." +return $.eJ().cC(s)}, +gaa:function(){var s,r=this,q=r.b +if(q==null)return r.gaZ() +s=r.c +if(s==null)return H.d(r.gaZ())+" "+H.d(q) +return H.d(r.gaZ())+" "+H.d(q)+":"+H.d(s)}, +i:function(a){return H.d(this.gaa())+" in "+H.d(this.d)}, +gae:function(){return this.a}, +ga2:function(){return this.b}, +ga6:function(){return this.c}, +gax:function(){return this.d}} +A.dx.prototype={ +$0:function(){var s,r,q,p,o,n,m,l=null,k=this.a +if(k==="...")return new A.i(P.H(l,l,l,l),l,l,"...") +s=$.iq().a_(k) +if(s==null)return new N.a6(P.H(l,"unparsed",l,l),k) +k=s.b +if(1>=k.length)return H.b(k,1) +r=k[1] +r.toString +q=$.i9() +r=H.a_(r,q,"") +p=H.a_(r,"","") +if(2>=k.length)return H.b(k,2) +r=k[2] +q=r +q.toString +if(C.a.u(q,"=k.length)return H.b(k,3) +n=k[3].split(":") +k=n.length +m=k>1?P.Z(n[1],l):l +return new A.i(o,m,k>2?P.Z(n[2],l):l,p)}, +$S:2} +A.dv.prototype={ +$0:function(){var s,r,q,p="",o=this.a,n=$.il().a_(o) +if(n==null)return new N.a6(P.H(null,"unparsed",null,null),o) +o=new A.dw(o) +s=n.b +r=s.length +if(2>=r)return H.b(s,2) +q=s[2] +if(q!=null){r=q +r.toString +s=s[1] +s.toString +s=H.a_(s,"",p) +s=H.a_(s,"Anonymous function",p) +return o.$2(r,H.a_(s,"(anonymous function)",p))}else{if(3>=r)return H.b(s,3) +s=s[3] +s.toString +return o.$2(s,p)}}, +$S:2} +A.dw.prototype={ +$2:function(a,b){var s,r,q,p,o,n=null,m=$.ik(),l=m.a_(a) +for(;l!=null;a=s){s=l.b +if(1>=s.length)return H.b(s,1) +s=s[1] +s.toString +l=m.a_(s)}if(a==="native")return new A.i(P.R("native"),n,n,b) +r=$.ip().a_(a) +if(r==null)return new N.a6(P.H(n,"unparsed",n,n),this.a) +m=r.b +if(1>=m.length)return H.b(m,1) +s=m[1] +s.toString +q=A.eN(s) +if(2>=m.length)return H.b(m,2) +s=m[2] +s.toString +p=P.Z(s,n) +if(3>=m.length)return H.b(m,3) +o=m[3] +return new A.i(q,p,o!=null?P.Z(o,n):n,b)}, +$S:25} +A.ds.prototype={ +$0:function(){var s,r,q,p,o=null,n=this.a,m=$.ib().a_(n) +if(m==null)return new N.a6(P.H(o,"unparsed",o,o),n) +n=m.b +if(1>=n.length)return H.b(n,1) +s=n[1] +s.toString +r=H.a_(s,"/<","") +if(2>=n.length)return H.b(n,2) +s=n[2] +s.toString +q=A.eN(s) +if(3>=n.length)return H.b(n,3) +n=n[3] +n.toString +p=P.Z(n,o) +return new A.i(q,p,o,r.length===0||r==="anonymous"?"":r)}, +$S:2} +A.dt.prototype={ +$0:function(){var s,r,q,p,o,n,m,l=null,k=this.a,j=$.id().a_(k) +if(j==null)return new N.a6(P.H(l,"unparsed",l,l),k) +s=j.b +if(3>=s.length)return H.b(s,3) +r=s[3] +q=r +q.toString +if(C.a.C(q," line "))return A.iN(k) +k=r +k.toString +p=A.eN(k) +k=s.length +if(1>=k)return H.b(s,1) +o=s[1] +if(o!=null){if(2>=k)return H.b(s,2) +k=s[2] +k.toString +k=C.a.ar("/",k) +o+=C.b.aw(P.ap(k.gq(k),".",!1,t.N)) +if(o==="")o="" +o=C.a.bH(o,$.ii(),"")}else o="" +if(4>=s.length)return H.b(s,4) +k=s[4] +if(k==="")n=l +else{k=k +k.toString +n=P.Z(k,l)}if(5>=s.length)return H.b(s,5) +k=s[5] +if(k==null||k==="")m=l +else{k=k +k.toString +m=P.Z(k,l)}return new A.i(p,n,m,o)}, +$S:2} +A.du.prototype={ +$0:function(){var s,r,q,p,o=null,n=this.a,m=$.ig().a_(n) +if(m==null)throw H.a(P.r("Couldn't parse package:stack_trace stack trace line '"+H.d(n)+"'.",o,o)) +n=m.b +if(1>=n.length)return H.b(n,1) +s=n[1] +if(s==="data:...")r=P.fX("") +else{s=s +s.toString +r=P.R(s)}if(r.gH()===""){s=$.eJ() +r=s.bJ(s.bu(s.a.az(M.fe(r)),o,o,o,o,o,o))}if(2>=n.length)return H.b(n,2) +s=n[2] +if(s==null)q=o +else{s=s +s.toString +q=P.Z(s,o)}if(3>=n.length)return H.b(n,3) +s=n[3] +if(s==null)p=o +else{s=s +s.toString +p=P.Z(s,o)}if(4>=n.length)return H.b(n,4) +return new A.i(r,q,p,n[4])}, +$S:2} +T.cp.prototype={ +gbt:function(){var s=this,r=s.b +if(r===$){r=s.a.$0() +if(s.b===$)s.sbY(r) +else r=H.k(H.dB("_trace"))}return r}, +ga7:function(){return this.gbt().ga7()}, +i:function(a){return J.aw(this.gbt())}, +sbY:function(a){this.b=t.bP.a(a)}, +$icI:1, +$iu:1} +Y.u.prototype={ +i:function(a){var s=this.a,r=H.A(s) +return new H.q(s,r.h("c(1)").a(new Y.e1(new H.q(s,r.h("e(1)").a(new Y.e2()),r.h("q<1,e>")).aT(0,0,C.m,t.S))),r.h("q<1,c>")).aw(0)}, +$icI:1, +ga7:function(){return this.a}} +Y.dZ.prototype={ +$0:function(){return Y.eZ(J.aw(this.a))}, +$S:26} +Y.e_.prototype={ +$1:function(a){return H.j(a).length!==0}, +$S:0} +Y.e0.prototype={ +$1:function(a){return A.fA(H.j(a))}, +$S:1} +Y.dX.prototype={ +$1:function(a){return!J.c5(H.j(a),$.io())}, +$S:0} +Y.dY.prototype={ +$1:function(a){return A.fz(H.j(a))}, +$S:1} +Y.dV.prototype={ +$1:function(a){return H.j(a)!=="\tat "}, +$S:0} +Y.dW.prototype={ +$1:function(a){return A.fz(H.j(a))}, +$S:1} +Y.dR.prototype={ +$1:function(a){H.j(a) +return a.length!==0&&a!=="[native code]"}, +$S:0} +Y.dS.prototype={ +$1:function(a){return A.iO(H.j(a))}, +$S:1} +Y.dT.prototype={ +$1:function(a){return!J.c5(H.j(a),"=====")}, +$S:0} +Y.dU.prototype={ +$1:function(a){return A.iP(H.j(a))}, +$S:1} +Y.e2.prototype={ +$1:function(a){return t.B.a(a).gaa().length}, +$S:6} +Y.e1.prototype={ +$1:function(a){t.B.a(a) +if(a instanceof N.a6)return a.i(0)+"\n" +return J.ft(a.gaa(),this.a)+" "+H.d(a.gax())+"\n"}, +$S:5} +N.a6.prototype={ +i:function(a){return this.x}, +$ii:1, +gae:function(){return this.a}, +ga2:function(){return null}, +ga6:function(){return null}, +gaa:function(){return"unparsed"}, +gax:function(){return this.x}} +O.eF.prototype={ +$1:function(a){var s,r,q,p,o,n,m,l,k,j,i,h="dart:",g="package:" +t.V.a(a) +if(a.ga2()==null)return null +s=a.ga6() +if(s==null)s=0 +r=a.ga2() +if(typeof r!=="number")return r.bc() +q=a.gae().i(0) +p=this.a.bP(r-1,s-1,q) +if(p==null)return null +o=J.aw(p.gN()) +for(r=this.b,q=r.length,n=0;n()","~(c,e)","l(u)","e(u)","~(aH,@)","0^(0^,0^)","~(t?,t?)","@(@,c)","i(c,c)","u()","@(c)","i*(i*)","K*(i*)","c*(a4*)","c*(@)","c*(c*)","~(@(c*)*)","c(u)"],interceptorsByTag:null,leafTags:null,arrayRti:typeof Symbol=="function"&&typeof Symbol()=="symbol"?Symbol("$ti"):"$ti"} +H.jx(v.typeUniverse,JSON.parse('{"cA":"ao","b2":"ao","ab":"ao","dq":"ao","ci":{"K":[]},"p":{"l":["1"],"n":["1"],"f":["1"]},"dz":{"p":["1"],"l":["1"],"n":["1"],"f":["1"]},"ax":{"v":["1"]},"bu":{"aN":[]},"bs":{"e":[],"aN":[]},"ck":{"aN":[]},"am":{"c":[],"dH":[]},"bv":{"o":[]},"cC":{"o":[]},"aQ":{"w":["e"],"aK":["e"],"l":["e"],"n":["e"],"f":["e"],"w.E":"e","aK.E":"e"},"n":{"f":["1"]},"E":{"n":["1"],"f":["1"]},"aG":{"E":["1"],"n":["1"],"f":["1"],"E.E":"1","f.E":"1"},"ad":{"v":["1"]},"X":{"f":["2"],"f.E":"2"},"bj":{"X":["1","2"],"n":["2"],"f":["2"],"f.E":"2"},"aC":{"v":["2"]},"q":{"E":["2"],"n":["2"],"f":["2"],"E.E":"2","f.E":"2"},"O":{"f":["1"],"f.E":"1"},"aL":{"v":["1"]},"bn":{"f":["2"],"f.E":"2"},"bo":{"v":["2"]},"aI":{"f":["1"],"f.E":"1"},"bk":{"aI":["1"],"n":["1"],"f":["1"],"f.E":"1"},"bJ":{"v":["1"]},"bE":{"f":["1"],"f.E":"1"},"bF":{"v":["1"]},"bl":{"v":["1"]},"bN":{"f":["1"],"f.E":"1"},"bO":{"v":["1"]},"b3":{"w":["1"],"aK":["1"],"l":["1"],"n":["1"],"f":["1"]},"b0":{"aH":[]},"bh":{"bL":["1","2"],"b8":["1","2"],"aU":["1","2"],"bW":["1","2"],"M":["1","2"]},"bg":{"M":["1","2"]},"bi":{"bg":["1","2"],"M":["1","2"]},"ch":{"V":[],"aA":[]},"bp":{"V":[],"aA":[]},"cj":{"fC":[]},"bB":{"o":[]},"cl":{"o":[]},"cO":{"o":[]},"cy":{"bm":[]},"V":{"aA":[]},"cL":{"V":[],"aA":[]},"cJ":{"V":[],"aA":[]},"aP":{"V":[],"aA":[]},"cE":{"o":[]},"cX":{"o":[]},"aB":{"W":["1","2"],"M":["1","2"],"W.K":"1","W.V":"2"},"ac":{"n":["1"],"f":["1"],"f.E":"1"},"bw":{"v":["1"]},"an":{"dH":[]},"b4":{"cD":[],"a4":[]},"cW":{"f":["cD"],"f.E":"cD"},"bP":{"v":["cD"]},"bI":{"a4":[]},"d3":{"f":["a4"],"f.E":"a4"},"d4":{"v":["a4"]},"aV":{"aT":["1"]},"bz":{"w":["e"],"aT":["e"],"l":["e"],"n":["e"],"f":["e"],"az":["e"]},"ct":{"w":["e"],"aT":["e"],"l":["e"],"n":["e"],"f":["e"],"az":["e"],"w.E":"e"},"cv":{"w":["e"],"je":[],"aT":["e"],"l":["e"],"n":["e"],"f":["e"],"az":["e"],"w.E":"e"},"aD":{"w":["e"],"aJ":[],"aT":["e"],"l":["e"],"n":["e"],"f":["e"],"az":["e"],"w.E":"e"},"cZ":{"o":[]},"bT":{"o":[]},"bq":{"f":["1"]},"bx":{"w":["1"],"l":["1"],"n":["1"],"f":["1"]},"by":{"W":["1","2"],"M":["1","2"]},"W":{"M":["1","2"]},"aU":{"M":["1","2"]},"bL":{"b8":["1","2"],"aU":["1","2"],"bW":["1","2"],"M":["1","2"]},"d0":{"W":["c","@"],"M":["c","@"],"W.K":"c","W.V":"@"},"d1":{"E":["c"],"n":["c"],"f":["c"],"E.E":"c","f.E":"c"},"c7":{"L":["c","l"],"L.S":"c"},"d6":{"aa":["c","l"]},"c8":{"aa":["c","l"]},"c9":{"L":["l","c"],"L.S":"l"},"ca":{"aa":["l","c"]},"eb":{"L":["1","3"],"L.S":"1"},"ce":{"L":["c","l"]},"cm":{"L":["t?","c"],"L.S":"t?"},"cn":{"aa":["c","t?"]},"cS":{"L":["c","l"],"L.S":"c"},"cU":{"aa":["c","l"]},"cT":{"aa":["l","c"]},"e":{"aN":[]},"l":{"n":["1"],"f":["1"]},"cD":{"a4":[]},"c":{"dH":[]},"be":{"o":[]},"cM":{"o":[]},"cx":{"o":[]},"a2":{"o":[]},"ae":{"o":[]},"cg":{"ae":[],"o":[]},"cw":{"o":[]},"cP":{"o":[]},"cN":{"o":[]},"aF":{"o":[]},"cb":{"o":[]},"cz":{"o":[]},"bH":{"o":[]},"cd":{"o":[]},"aR":{"bm":[]},"C":{"j5":[]},"bX":{"bM":[]},"a0":{"bM":[]},"cY":{"bM":[]},"bC":{"bm":[]},"cB":{"aS":[]},"cR":{"aS":[]},"cV":{"aS":[]},"aZ":{"aq":[]},"cs":{"aq":[]},"cr":{"aq":[]},"d2":{"v":["c"]},"bG":{"dN":[]},"cG":{"dN":[]},"cH":{"dN":[]},"al":{"cI":[]},"cp":{"u":[],"cI":[]},"u":{"cI":[]},"a6":{"i":[]},"co":{"aq":[]},"aJ":{"l":["e"],"n":["e"],"f":["e"]}}')) +H.jw(v.typeUniverse,JSON.parse('{"n":1,"b3":1,"aV":1,"cK":2,"bq":1,"bx":1,"by":2,"bQ":1}')) +var u={q:"===== asynchronous gap ===========================\n",n:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",l:"Cannot extract a file path from a URI with a fragment component",y:"Cannot extract a file path from a URI with a query component",j:"Cannot extract a non-Windows file path from a file URI with an authority",w:"`null` encountered as the result from expression with type `Never`."} +var t=(function rtii(){var s=H.aM +return{Y:s("bh"),O:s("n<@>"),C:s("o"),W:s("bm"),B:s("i"),d:s("i(c)"),Z:s("aA"),o:s("fC"),c:s("f"),R:s("f<@>"),D:s("v"),F:s("p"),l:s("p"),s:s("p"),v:s("p"),x:s("p"),J:s("p"),dc:s("p"),b:s("p<@>"),t:s("p"),i:s("p"),m:s("p"),T:s("bt"),g:s("ab"),da:s("aT<@>"),bV:s("aB"),h:s("l"),j:s("l<@>"),L:s("l"),f:s("M<@,@>"),M:s("X"),ax:s("q"),r:s("q"),cr:s("aD"),P:s("bA"),K:s("t"),G:s("ae"),E:s("aZ"),cJ:s("cF"),cx:s("dN"),N:s("c"),bj:s("c(a4)"),cm:s("aH"),a:s("u"),u:s("u(c)"),p:s("aJ"),cC:s("b2"),k:s("bM"),U:s("O"),y:s("bN"),cB:s("K"),Q:s("K(c)"),cb:s("kg"),z:s("@"),q:s("@(c)"),S:s("e"),V:s("i*"),a8:s("M*"),A:s("0&*"),_:s("t*"),az:s("aZ*"),aa:s("@(c*)*"),cO:s("c*(c*)*"),bo:s("~(@(c*)*)*"),bc:s("fB?"),bD:s("l?"),aL:s("l<@>?"),n:s("M?"),X:s("t?"),w:s("b_?"),aD:s("c?"),aE:s("c(a4)?"),a2:s("c(c)?"),bP:s("u?"),I:s("bM?"),e:s("t?(t?,t?)?"),H:s("aN"),cQ:s("~(c,@)")}})();(function constants(){var s=hunkHelpers.makeConstList +C.Q=J.B.prototype +C.b=J.p.prototype +C.c=J.bs.prototype +C.R=J.bt.prototype +C.a=J.am.prototype +C.S=J.ab.prototype +C.Y=H.aD.prototype +C.C=J.cA.prototype +C.n=J.b2.prototype +C.D=new P.c8(127) +C.m=new H.bp(P.ku(),H.aM("bp")) +C.E=new P.c7() +C.a5=new P.ca() +C.F=new P.c9() +C.G=new H.bl(H.aM("bl<0&*>")) +C.t=function getTagFallback(o) { + var s = Object.prototype.toString.call(o); + return s.substring(8, s.length - 1); +} +C.H=function() { + var toStringFunction = Object.prototype.toString; + function getTag(o) { + var s = toStringFunction.call(o); + return s.substring(8, s.length - 1); + } + function getUnknownTag(object, tag) { + if (/^HTML[A-Z].*Element$/.test(tag)) { + var name = toStringFunction.call(object); + if (name == "[object Object]") return null; + return "HTMLElement"; + } + } + function getUnknownTagGenericBrowser(object, tag) { + if (self.HTMLElement && object instanceof HTMLElement) return "HTMLElement"; + return getUnknownTag(object, tag); + } + function prototypeForTag(tag) { + if (typeof window == "undefined") return null; + if (typeof window[tag] == "undefined") return null; + var constructor = window[tag]; + if (typeof constructor != "function") return null; + return constructor.prototype; + } + function discriminator(tag) { return null; } + var isBrowser = typeof navigator == "object"; + return { + getTag: getTag, + getUnknownTag: isBrowser ? getUnknownTagGenericBrowser : getUnknownTag, + prototypeForTag: prototypeForTag, + discriminator: discriminator }; +} +C.M=function(getTagFallback) { + return function(hooks) { + if (typeof navigator != "object") return hooks; + var ua = navigator.userAgent; + if (ua.indexOf("DumpRenderTree") >= 0) return hooks; + if (ua.indexOf("Chrome") >= 0) { + function confirm(p) { + return typeof window == "object" && window[p] && window[p].name == p; + } + if (confirm("Window") && confirm("HTMLElement")) return hooks; + } + hooks.getTag = getTagFallback; + }; +} +C.I=function(hooks) { + if (typeof dartExperimentalFixupGetTag != "function") return hooks; + hooks.getTag = dartExperimentalFixupGetTag(hooks.getTag); +} +C.J=function(hooks) { + var getTag = hooks.getTag; + var prototypeForTag = hooks.prototypeForTag; + function getTagFixed(o) { + var tag = getTag(o); + if (tag == "Document") { + if (!!o.xmlVersion) return "!Document"; + return "!HTMLDocument"; + } + return tag; + } + function prototypeForTagFixed(tag) { + if (tag == "Document") return null; + return prototypeForTag(tag); + } + hooks.getTag = getTagFixed; + hooks.prototypeForTag = prototypeForTagFixed; +} +C.L=function(hooks) { + var userAgent = typeof navigator == "object" ? navigator.userAgent : ""; + if (userAgent.indexOf("Firefox") == -1) return hooks; + var getTag = hooks.getTag; + var quickMap = { + "BeforeUnloadEvent": "Event", + "DataTransfer": "Clipboard", + "GeoGeolocation": "Geolocation", + "Location": "!Location", + "WorkerMessageEvent": "MessageEvent", + "XMLDocument": "!Document"}; + function getTagFirefox(o) { + var tag = getTag(o); + return quickMap[tag] || tag; + } + hooks.getTag = getTagFirefox; +} +C.K=function(hooks) { + var userAgent = typeof navigator == "object" ? navigator.userAgent : ""; + if (userAgent.indexOf("Trident/") == -1) return hooks; + var getTag = hooks.getTag; + var quickMap = { + "BeforeUnloadEvent": "Event", + "DataTransfer": "Clipboard", + "HTMLDDElement": "HTMLElement", + "HTMLDTElement": "HTMLElement", + "HTMLPhraseElement": "HTMLElement", + "Position": "Geoposition" + }; + function getTagIE(o) { + var tag = getTag(o); + var newTag = quickMap[tag]; + if (newTag) return newTag; + if (tag == "Object") { + if (window.DataView && (o instanceof window.DataView)) return "DataView"; + } + return tag; + } + function prototypeForTagIE(tag) { + var constructor = window[tag]; + if (constructor == null) return null; + return constructor.prototype; + } + hooks.getTag = getTagIE; + hooks.prototypeForTag = prototypeForTagIE; +} +C.u=function(hooks) { return hooks; } + +C.N=new P.cm() +C.O=new P.cz() +C.e=new P.cS() +C.P=new P.cU() +C.v=new H.ed() +C.T=new P.cn(null) +C.i=H.h(s([0,0,32776,33792,1,10240,0,0]),t.i) +C.h=H.h(s([0,0,65490,45055,65535,34815,65534,18431]),t.i) +C.j=H.h(s([0,0,26624,1023,65534,2047,65534,2047]),t.i) +C.x=H.h(s([]),t.b) +C.w=H.h(s([]),H.aM("p")) +C.U=H.h(s([]),t.m) +C.W=H.h(s([0,0,32722,12287,65534,34815,65534,18431]),t.i) +C.k=H.h(s([0,0,24576,1023,65534,34815,65534,18431]),t.i) +C.y=H.h(s([0,0,27858,1023,65534,51199,65535,32767]),t.i) +C.z=H.h(s([0,0,32754,11263,65534,34815,65534,18431]),t.i) +C.X=H.h(s([0,0,32722,12287,65535,34815,65534,18431]),t.i) +C.A=H.h(s([0,0,65490,12287,65535,34815,65534,18431]),t.i) +C.V=H.h(s([]),H.aM("p")) +C.B=new H.bi(0,{},C.V,H.aM("bi")) +C.Z=new H.b0("call") +C.a_=new P.cT(!1) +C.o=new M.b5("at root") +C.p=new M.b5("below root") +C.a0=new M.b5("reaches root") +C.q=new M.b5("above root") +C.d=new M.b6("different") +C.r=new M.b6("equal") +C.f=new M.b6("inconclusive") +C.l=new M.b6("within") +C.a1=new T.b7(!1,!1,!1) +C.a2=new T.b7(!1,!1,!0) +C.a3=new T.b7(!1,!0,!1) +C.a4=new T.b7(!0,!1,!1)})();(function staticFields(){$.ec=null +$.a8=0 +$.bf=null +$.fw=null +$.hE=null +$.hA=null +$.hN=null +$.eu=null +$.eC=null +$.fi=null +$.Y=H.h([],H.aM("p")) +$.hp=null +$.ep=null +$.fc=null})();(function lazyInitializers(){var s=hunkHelpers.lazyFinal,r=hunkHelpers.lazyOld +s($,"kG","fl",function(){return H.ki("_$dart_dartClosure")}) +s($,"kP","hW",function(){return H.ag(H.e4({ +toString:function(){return"$receiver$"}}))}) +s($,"kQ","hX",function(){return H.ag(H.e4({$method$:null, +toString:function(){return"$receiver$"}}))}) +s($,"kR","hY",function(){return H.ag(H.e4(null))}) +s($,"kS","hZ",function(){return H.ag(function(){var $argumentsExpr$="$arguments$" +try{null.$method$($argumentsExpr$)}catch(q){return q.message}}())}) +s($,"kV","i1",function(){return H.ag(H.e4(void 0))}) +s($,"kW","i2",function(){return H.ag(function(){var $argumentsExpr$="$arguments$" +try{(void 0).$method$($argumentsExpr$)}catch(q){return q.message}}())}) +s($,"kU","i0",function(){return H.ag(H.fU(null))}) +s($,"kT","i_",function(){return H.ag(function(){try{null.$method$}catch(q){return q.message}}())}) +s($,"kY","i4",function(){return H.ag(H.fU(void 0))}) +s($,"kX","i3",function(){return H.ag(function(){try{(void 0).$method$}catch(q){return q.message}}())}) +s($,"kZ","i5",function(){return new P.e9().$0()}) +s($,"l_","i6",function(){return new P.e8().$0()}) +s($,"l0","i7",function(){return new Int8Array(H.hq(H.h([-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-1,-2,-2,-2,-2,-2,62,-2,62,-2,63,52,53,54,55,56,57,58,59,60,61,-2,-2,-2,-1,-2,-2,-2,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,-2,-2,-2,-2,63,-2,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,-2,-2,-2,-2,-2],t.t)))}) +s($,"l1","fm",function(){return typeof process!="undefined"&&Object.prototype.toString.call(process)=="[object process]"&&process.platform=="win32"}) +s($,"l2","i8",function(){return P.m("^[\\-\\.0-9A-Z_a-z~]*$",!1)}) +s($,"lp","ij",function(){return P.jR()}) +s($,"lB","is",function(){return M.eM($.c3())}) +s($,"lz","fn",function(){return M.eM($.bc())}) +s($,"lw","eJ",function(){return new M.cc($.eI(),null)}) +s($,"kM","hV",function(){return new E.cB(P.m("/",!1),P.m("[^/]$",!1),P.m("^/",!1))}) +s($,"kO","c3",function(){return new L.cV(P.m("[/\\\\]",!1),P.m("[^/\\\\]$",!1),P.m("^(\\\\\\\\[^\\\\]+\\\\[^\\\\/]+|[a-zA-Z]:[/\\\\])",!1),P.m("^[/\\\\](?![/\\\\])",!1))}) +s($,"kN","bc",function(){return new F.cR(P.m("/",!1),P.m("(^[a-zA-Z][-+.a-zA-Z\\d]*://|[^/])$",!1),P.m("[a-zA-Z][-+.a-zA-Z\\d]*://[^/]*",!1),P.m("^/",!1))}) +s($,"kL","eI",function(){return O.j7()}) +s($,"lg","ia",function(){return new L.eq().$0()}) +s($,"kJ","hT",function(){return H.T(P.hM(2,31))-1}) +s($,"kK","hU",function(){return-H.T(P.hM(2,31))}) +s($,"lv","iq",function(){return P.m("^#\\d+\\s+(\\S.*) \\((.+?)((?::\\d+){0,2})\\)$",!1)}) +s($,"lr","il",function(){return P.m("^\\s*at (?:(\\S.*?)(?: \\[as [^\\]]+\\])? \\((.*)\\)|(.*))$",!1)}) +s($,"lu","ip",function(){return P.m("^(.*?):(\\d+)(?::(\\d+))?$|native$",!1)}) +s($,"lq","ik",function(){return P.m("^eval at (?:\\S.*?) \\((.*)\\)(?:, .*?:\\d+:\\d+)?$",!1)}) +s($,"lh","ib",function(){return P.m("(\\S+)@(\\S+) line (\\d+) >.* (Function|eval):\\d+:\\d+",!1)}) +s($,"lj","id",function(){return P.m("^(?:([^@(/]*)(?:\\(.*\\))?((?:/[^/]*)*)(?:\\(.*\\))?@)?(.*?):(\\d*)(?::(\\d*))?$",!1)}) +s($,"ll","ig",function(){return P.m("^(\\S+)(?: (\\d+)(?::(\\d+))?)?\\s+([^\\d].*)$",!1)}) +s($,"lf","i9",function(){return P.m("<(|[^>]+)_async_body>",!1)}) +s($,"lo","ii",function(){return P.m("^\\.",!1)}) +s($,"kH","hR",function(){return P.m("^[a-zA-Z][-+.a-zA-Z\\d]*://",!1)}) +s($,"kI","hS",function(){return P.m("^([a-zA-Z]:[\\\\/]|\\\\\\\\)",!1)}) +s($,"ls","im",function(){return P.m("\\n ?at ",!1)}) +s($,"lt","io",function(){return P.m(" ?at ",!1)}) +s($,"li","ic",function(){return P.m("@\\S+ line \\d+ >.* (Function|eval):\\d+:\\d+",!1)}) +s($,"lk","ie",function(){return P.m("^(([.0-9A-Za-z_$/<]|\\(.*\\))*@)?[^\\s]*:\\d*$",!0)}) +s($,"lm","ih",function(){return P.m("^[^\\s<][^\\s]*( \\d+(:\\d+)?)?[ \\t]+[^\\s]+$",!0)}) +s($,"lA","fo",function(){return P.m("^\\n?$",!0)}) +r($,"ly","ir",function(){return J.iw(self.$dartLoader.rootDirectories,new D.eH(),H.aM("c*")).b6(0)})})();(function nativeSupport(){!function(){var s=function(a){var m={} +m[a]=1 +return Object.keys(hunkHelpers.convertToFastObject(m))[0]} +v.getIsolateTag=function(a){return s("___dart_"+a+v.isolateTag)} +var r="___dart_isolate_tags_" +var q=Object[r]||(Object[r]=Object.create(null)) +var p="_ZxYxX" +for(var o=0;;o++){var n=s(p+"_"+o+"_") +if(!(n in q)){q[n]=1 +v.isolateTag=n +break}}v.dispatchPropertyName=v.getIsolateTag("dispatch_record")}() +hunkHelpers.setOrUpdateInterceptorsByTag({ArrayBuffer:J.B,ApplicationCacheErrorEvent:J.B,DOMError:J.B,ErrorEvent:J.B,Event:J.B,InputEvent:J.B,SubmitEvent:J.B,MediaError:J.B,NavigatorUserMediaError:J.B,OverconstrainedError:J.B,PositionError:J.B,SensorErrorEvent:J.B,SpeechRecognitionError:J.B,SQLError:J.B,ArrayBufferView:H.cu,Int8Array:H.ct,Uint32Array:H.cv,Uint8Array:H.aD,DOMException:W.dr}) +hunkHelpers.setOrUpdateLeafTags({ArrayBuffer:true,ApplicationCacheErrorEvent:true,DOMError:true,ErrorEvent:true,Event:true,InputEvent:true,SubmitEvent:true,MediaError:true,NavigatorUserMediaError:true,OverconstrainedError:true,PositionError:true,SensorErrorEvent:true,SpeechRecognitionError:true,SQLError:true,ArrayBufferView:false,Int8Array:true,Uint32Array:true,Uint8Array:false,DOMException:true}) +H.aV.$nativeSuperclassTag="ArrayBufferView" +H.bR.$nativeSuperclassTag="ArrayBufferView" +H.bS.$nativeSuperclassTag="ArrayBufferView" +H.bz.$nativeSuperclassTag="ArrayBufferView"})() +Function.prototype.$1=function(a){return this(a)} +Function.prototype.$0=function(){return this()} +Function.prototype.$2=function(a,b){return this(a,b)} +Function.prototype.$3=function(a,b,c){return this(a,b,c)} +Function.prototype.$1$1=function(a){return this(a)} +convertAllToFastObject(w) +convertToFastObject($);(function(a){if(typeof document==="undefined"){a(null) +return}if(typeof document.currentScript!="undefined"){a(document.currentScript) +return}var s=document.scripts +function onLoad(b){for(var q=0;q + +# Uses of peek in the parser + + * In parseType, the parser uses peekAfterIfType to tell the difference + between `id` and `id id`. + + * In parseSwitchCase, the parser uses peekPastLabels to select between case + labels and statement labels. + + * The parser uses isGeneralizedFunctionType in parseType. + + * The parser uses isValidMethodTypeArguments in parseSend. diff --git a/v0.19.4/packages/analyzer/src/summary/format.fbs b/v0.19.4/packages/analyzer/src/summary/format.fbs new file mode 100644 index 000000000..e9c6fe6ed --- /dev/null +++ b/v0.19.4/packages/analyzer/src/summary/format.fbs @@ -0,0 +1,1374 @@ +// Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file +// for details. All rights reserved. Use of this source code is governed by a +// BSD-style license that can be found in the LICENSE file. + +// This file has been automatically generated. Please do not edit it manually. +// To regenerate the file, use the SDK script +// "pkg/analyzer/tool/summary/generate.dart $IDL_FILE_PATH", +// or "pkg/analyzer/tool/generate_files" for the analyzer package IDL/sources. + + +/// Enum of declaration kinds in available files. +enum AvailableDeclarationKind : byte { + CLASS, + + CLASS_TYPE_ALIAS, + + CONSTRUCTOR, + + ENUM, + + ENUM_CONSTANT, + + EXTENSION, + + FIELD, + + FUNCTION, + + FUNCTION_TYPE_ALIAS, + + GETTER, + + METHOD, + + MIXIN, + + SETTER, + + VARIABLE +} + +/// Enum representing nullability suffixes in summaries. +/// +/// This enum is similar to [NullabilitySuffix], but the order is different so +/// that [EntityRefNullabilitySuffix.starOrIrrelevant] can be the default. +enum EntityRefNullabilitySuffix : byte { + /// An indication that the canonical representation of the type under + /// consideration ends with `*`. Types having this nullability suffix are + /// called "legacy types"; it has not yet been determined whether they should + /// be unioned with the Null type. + /// + /// Also used in circumstances where no nullability suffix information is + /// needed. + starOrIrrelevant, + + /// An indication that the canonical representation of the type under + /// consideration ends with `?`. Types having this nullability suffix should + /// be interpreted as being unioned with the Null type. + question, + + /// An indication that the canonical representation of the type under + /// consideration does not end with either `?` or `*`. + none +} + +/// Enum used to indicate the kind of an index relation. +enum IndexRelationKind : byte { + /// Left: class. + /// Is ancestor of (is extended or implemented, directly or indirectly). + /// Right: other class declaration. + IS_ANCESTOR_OF, + + /// Left: class. + /// Is extended by. + /// Right: other class declaration. + IS_EXTENDED_BY, + + /// Left: class. + /// Is implemented by. + /// Right: other class declaration. + IS_IMPLEMENTED_BY, + + /// Left: class. + /// Is mixed into. + /// Right: other class declaration. + IS_MIXED_IN_BY, + + /// Left: method, property accessor, function, variable. + /// Is invoked at. + /// Right: location. + IS_INVOKED_BY, + + /// Left: any element. + /// Is referenced (and not invoked, read/written) at. + /// Right: location. + IS_REFERENCED_BY, + + /// Left: unresolved member name. + /// Is read at. + /// Right: location. + IS_READ_BY, + + /// Left: unresolved member name. + /// Is both read and written at. + /// Right: location. + IS_READ_WRITTEN_BY, + + /// Left: unresolved member name. + /// Is written at. + /// Right: location. + IS_WRITTEN_BY +} + +/// When we need to reference a synthetic element in [PackageIndex] we use a +/// value of this enum to specify which kind of the synthetic element we +/// actually reference. +enum IndexSyntheticElementKind : byte { + /// Not a synthetic element. + notSynthetic, + + /// The unnamed synthetic constructor a class element. + constructor, + + /// The synthetic field element. + field, + + /// The synthetic getter of a property introducing element. + getter, + + /// The synthetic setter of a property introducing element. + setter, + + /// The synthetic top-level variable element. + topLevelVariable, + + /// The synthetic `loadLibrary` element. + loadLibrary, + + /// The synthetic `index` getter of an enum. + enumIndex, + + /// The synthetic `values` getter of an enum. + enumValues, + + /// The synthetic `toString` method of an enum. + enumToString, + + /// The containing unit itself. + unit +} + +/// Types of comments. +enum LinkedNodeCommentType : byte { + block, + + documentation, + + endOfLine +} + +/// Kinds of formal parameters. +enum LinkedNodeFormalParameterKind : byte { + requiredPositional, + + optionalPositional, + + optionalNamed, + + requiredNamed +} + +/// Kinds of [LinkedNode]. +enum LinkedNodeKind : byte { + adjacentStrings, + + annotation, + + argumentList, + + asExpression, + + assertInitializer, + + assertStatement, + + assignmentExpression, + + awaitExpression, + + binaryExpression, + + block, + + blockFunctionBody, + + booleanLiteral, + + breakStatement, + + cascadeExpression, + + catchClause, + + classDeclaration, + + classTypeAlias, + + comment, + + commentReference, + + compilationUnit, + + conditionalExpression, + + configuration, + + constructorDeclaration, + + constructorFieldInitializer, + + constructorName, + + continueStatement, + + declaredIdentifier, + + defaultFormalParameter, + + doubleLiteral, + + doStatement, + + dottedName, + + emptyFunctionBody, + + emptyStatement, + + enumConstantDeclaration, + + enumDeclaration, + + exportDirective, + + expressionFunctionBody, + + expressionStatement, + + extendsClause, + + extensionDeclaration, + + fieldDeclaration, + + fieldFormalParameter, + + formalParameterList, + + forEachPartsWithDeclaration, + + forEachPartsWithIdentifier, + + forElement, + + forPartsWithDeclarations, + + forPartsWithExpression, + + forStatement, + + functionDeclaration, + + functionDeclarationStatement, + + functionExpression, + + functionExpressionInvocation, + + functionTypeAlias, + + functionTypedFormalParameter, + + genericFunctionType, + + genericTypeAlias, + + hideCombinator, + + ifElement, + + ifStatement, + + implementsClause, + + importDirective, + + instanceCreationExpression, + + indexExpression, + + integerLiteral, + + interpolationExpression, + + interpolationString, + + isExpression, + + label, + + labeledStatement, + + libraryDirective, + + libraryIdentifier, + + listLiteral, + + mapLiteralEntry, + + methodDeclaration, + + methodInvocation, + + mixinDeclaration, + + namedExpression, + + nativeClause, + + nativeFunctionBody, + + nullLiteral, + + onClause, + + parenthesizedExpression, + + partDirective, + + partOfDirective, + + postfixExpression, + + prefixExpression, + + prefixedIdentifier, + + propertyAccess, + + redirectingConstructorInvocation, + + rethrowExpression, + + returnStatement, + + setOrMapLiteral, + + showCombinator, + + simpleFormalParameter, + + simpleIdentifier, + + simpleStringLiteral, + + spreadElement, + + stringInterpolation, + + superConstructorInvocation, + + superExpression, + + switchCase, + + switchDefault, + + switchStatement, + + symbolLiteral, + + thisExpression, + + throwExpression, + + topLevelVariableDeclaration, + + tryStatement, + + typeArgumentList, + + typeName, + + typeParameter, + + typeParameterList, + + variableDeclaration, + + variableDeclarationList, + + variableDeclarationStatement, + + whileStatement, + + withClause, + + yieldStatement, + + extensionOverride +} + +/// Kinds of [LinkedNodeType]s. +enum LinkedNodeTypeKind : byte { + dynamic_, + + function, + + interface, + + never, + + typeParameter, + + void_ +} + +/// Enum used to indicate the kind of the error during top-level inference. +enum TopLevelInferenceErrorKind : byte { + assignment, + + instanceGetter, + + dependencyCycle, + + overrideConflictFieldType, + + overrideNoCombinedSuperSignature +} + +/// Enum of token types, corresponding to AST token types. +enum UnlinkedTokenType : byte { + NOTHING, + + ABSTRACT, + + AMPERSAND, + + AMPERSAND_AMPERSAND, + + AMPERSAND_EQ, + + AS, + + ASSERT, + + ASYNC, + + AT, + + AWAIT, + + BACKPING, + + BACKSLASH, + + BANG, + + BANG_EQ, + + BANG_EQ_EQ, + + BAR, + + BAR_BAR, + + BAR_EQ, + + BREAK, + + CARET, + + CARET_EQ, + + CASE, + + CATCH, + + CLASS, + + CLOSE_CURLY_BRACKET, + + CLOSE_PAREN, + + CLOSE_SQUARE_BRACKET, + + COLON, + + COMMA, + + CONST, + + CONTINUE, + + COVARIANT, + + DEFAULT, + + DEFERRED, + + DO, + + DOUBLE, + + DYNAMIC, + + ELSE, + + ENUM, + + EOF, + + EQ, + + EQ_EQ, + + EQ_EQ_EQ, + + EXPORT, + + EXTENDS, + + EXTERNAL, + + FACTORY, + + FALSE, + + FINAL, + + FINALLY, + + FOR, + + FUNCTION, + + FUNCTION_KEYWORD, + + GET, + + GT, + + GT_EQ, + + GT_GT, + + GT_GT_EQ, + + GT_GT_GT, + + GT_GT_GT_EQ, + + HASH, + + HEXADECIMAL, + + HIDE, + + IDENTIFIER, + + IF, + + IMPLEMENTS, + + IMPORT, + + IN, + + INDEX, + + INDEX_EQ, + + INT, + + INTERFACE, + + IS, + + LATE, + + LIBRARY, + + LT, + + LT_EQ, + + LT_LT, + + LT_LT_EQ, + + MINUS, + + MINUS_EQ, + + MINUS_MINUS, + + MIXIN, + + MULTI_LINE_COMMENT, + + NATIVE, + + NEW, + + NULL, + + OF, + + ON, + + OPEN_CURLY_BRACKET, + + OPEN_PAREN, + + OPEN_SQUARE_BRACKET, + + OPERATOR, + + PART, + + PATCH, + + PERCENT, + + PERCENT_EQ, + + PERIOD, + + PERIOD_PERIOD, + + PERIOD_PERIOD_PERIOD, + + PERIOD_PERIOD_PERIOD_QUESTION, + + PLUS, + + PLUS_EQ, + + PLUS_PLUS, + + QUESTION, + + QUESTION_PERIOD, + + QUESTION_QUESTION, + + QUESTION_QUESTION_EQ, + + REQUIRED, + + RETHROW, + + RETURN, + + SCRIPT_TAG, + + SEMICOLON, + + SET, + + SHOW, + + SINGLE_LINE_COMMENT, + + SLASH, + + SLASH_EQ, + + SOURCE, + + STAR, + + STAR_EQ, + + STATIC, + + STRING, + + STRING_INTERPOLATION_EXPRESSION, + + STRING_INTERPOLATION_IDENTIFIER, + + SUPER, + + SWITCH, + + SYNC, + + THIS, + + THROW, + + TILDE, + + TILDE_SLASH, + + TILDE_SLASH_EQ, + + TRUE, + + TRY, + + TYPEDEF, + + VAR, + + VOID, + + WHILE, + + WITH, + + YIELD, + + INOUT, + + OUT +} + +/// Information about the context of an exception in analysis driver. +table AnalysisDriverExceptionContext { + /// The exception string. + exception:string (id: 1); + + /// The state of files when the exception happened. + files:[AnalysisDriverExceptionFile] (id: 3); + + /// The path of the file being analyzed when the exception happened. + path:string (id: 0); + + /// The exception stack trace string. + stackTrace:string (id: 2); +} + +/// Information about a single file in [AnalysisDriverExceptionContext]. +table AnalysisDriverExceptionFile { + /// The content of the file. + content:string (id: 1); + + /// The path of the file. + path:string (id: 0); +} + +/// Information about a resolved unit. +table AnalysisDriverResolvedUnit { + /// The full list of analysis errors, both syntactic and semantic. + errors:[AnalysisDriverUnitError] (id: 0); + + /// The index of the unit. + index:AnalysisDriverUnitIndex (id: 1); +} + +/// Information about a subtype of one or more classes. +table AnalysisDriverSubtype { + /// The names of defined instance members. + /// They are indexes into [AnalysisDriverUnitError.strings] list. + /// The list is sorted in ascending order. + members:[uint] (id: 1); + + /// The name of the class. + /// It is an index into [AnalysisDriverUnitError.strings] list. + name:uint (id: 0); +} + +/// Information about an error in a resolved unit. +table AnalysisDriverUnitError { + /// The context messages associated with the error. + contextMessages:[DiagnosticMessage] (id: 5); + + /// The optional correction hint for the error. + correction:string (id: 4); + + /// The length of the error in the file. + length:uint (id: 1); + + /// The message of the error. + message:string (id: 3); + + /// The offset from the beginning of the file. + offset:uint (id: 0); + + /// The unique name of the error code. + uniqueName:string (id: 2); +} + +/// Information about a resolved unit. +table AnalysisDriverUnitIndex { + /// Each item of this list corresponds to a unique referenced element. It is + /// the kind of the synthetic element. + elementKinds:[IndexSyntheticElementKind] (id: 4); + + /// Each item of this list corresponds to a unique referenced element. It is + /// the identifier of the class member element name, or `null` if the element + /// is a top-level element. The list is sorted in ascending order, so that + /// the client can quickly check whether an element is referenced in this + /// index. + elementNameClassMemberIds:[uint] (id: 7); + + /// Each item of this list corresponds to a unique referenced element. It is + /// the identifier of the named parameter name, or `null` if the element is + /// not a named parameter. The list is sorted in ascending order, so that the + /// client can quickly check whether an element is referenced in this index. + elementNameParameterIds:[uint] (id: 8); + + /// Each item of this list corresponds to a unique referenced element. It is + /// the identifier of the top-level element name, or `null` if the element is + /// the unit. The list is sorted in ascending order, so that the client can + /// quickly check whether an element is referenced in this index. + elementNameUnitMemberIds:[uint] (id: 6); + + /// Each item of this list corresponds to a unique referenced element. It is + /// the index into [unitLibraryUris] and [unitUnitUris] for the library + /// specific unit where the element is declared. + elementUnits:[uint] (id: 5); + + /// Identifier of the null string in [strings]. + nullStringId:uint (id: 1); + + /// List of unique element strings used in this index. The list is sorted in + /// ascending order, so that the client can quickly check the presence of a + /// string in this index. + strings:[string] (id: 0); + + /// The list of classes declared in the unit. + subtypes:[AnalysisDriverSubtype] (id: 19); + + /// The identifiers of supertypes of elements at corresponding indexes + /// in [subtypes]. They are indexes into [strings] list. The list is sorted + /// in ascending order. There might be more than one element with the same + /// value if there is more than one subtype of this supertype. + supertypes:[uint] (id: 18); + + /// Each item of this list corresponds to the library URI of a unique library + /// specific unit referenced in the index. It is an index into [strings] + /// list. + unitLibraryUris:[uint] (id: 2); + + /// Each item of this list corresponds to the unit URI of a unique library + /// specific unit referenced in the index. It is an index into [strings] + /// list. + unitUnitUris:[uint] (id: 3); + + /// Each item of this list is the `true` if the corresponding element usage + /// is qualified with some prefix. + usedElementIsQualifiedFlags:[ubyte] (id: 13); + + /// Each item of this list is the kind of the element usage. + usedElementKinds:[IndexRelationKind] (id: 10); + + /// Each item of this list is the length of the element usage. + usedElementLengths:[uint] (id: 12); + + /// Each item of this list is the offset of the element usage relative to the + /// beginning of the file. + usedElementOffsets:[uint] (id: 11); + + /// Each item of this list is the index into [elementUnits], + /// [elementNameUnitMemberIds], [elementNameClassMemberIds] and + /// [elementNameParameterIds]. The list is sorted in ascending order, so + /// that the client can quickly find element references in this index. + usedElements:[uint] (id: 9); + + /// Each item of this list is the `true` if the corresponding name usage + /// is qualified with some prefix. + usedNameIsQualifiedFlags:[ubyte] (id: 17); + + /// Each item of this list is the kind of the name usage. + usedNameKinds:[IndexRelationKind] (id: 15); + + /// Each item of this list is the offset of the name usage relative to the + /// beginning of the file. + usedNameOffsets:[uint] (id: 16); + + /// Each item of this list is the index into [strings] for a used name. The + /// list is sorted in ascending order, so that the client can quickly find + /// whether a name is used in this index. + usedNames:[uint] (id: 14); +} + +/// Information about an unlinked unit. +table AnalysisDriverUnlinkedUnit { + /// List of class member names defined by the unit. + definedClassMemberNames:[string] (id: 2); + + /// List of top-level names defined by the unit. + definedTopLevelNames:[string] (id: 1); + + /// List of external names referenced by the unit. + referencedNames:[string] (id: 0); + + /// List of names which are used in `extends`, `with` or `implements` clauses + /// in the file. Import prefixes and type arguments are not included. + subtypedNames:[string] (id: 3); + + /// Unlinked information for the unit. + unit2:UnlinkedUnit2 (id: 4); +} + +/// Information about a single declaration. +table AvailableDeclaration { + children:[AvailableDeclaration] (id: 0); + + codeLength:uint (id: 1); + + codeOffset:uint (id: 2); + + defaultArgumentListString:string (id: 3); + + defaultArgumentListTextRanges:[uint] (id: 4); + + docComplete:string (id: 5); + + docSummary:string (id: 6); + + fieldMask:uint (id: 7); + + isAbstract:bool (id: 8); + + isConst:bool (id: 9); + + isDeprecated:bool (id: 10); + + isFinal:bool (id: 11); + + isStatic:bool (id: 12); + + /// The kind of the declaration. + kind:AvailableDeclarationKind (id: 13); + + locationOffset:uint (id: 14); + + locationStartColumn:uint (id: 15); + + locationStartLine:uint (id: 16); + + /// The first part of the declaration name, usually the only one, for example + /// the name of a class like `MyClass`, or a function like `myFunction`. + name:string (id: 17); + + parameterNames:[string] (id: 18); + + parameters:string (id: 19); + + parameterTypes:[string] (id: 20); + + /// The partial list of relevance tags. Not every declaration has one (for + /// example, function do not currently), and not every declaration has to + /// store one (for classes it can be computed when we know the library that + /// includes this file). + relevanceTags:[string] (id: 21); + + requiredParameterCount:uint (id: 22); + + returnType:string (id: 23); + + typeParameters:string (id: 24); +} + +/// Information about an available, even if not yet imported file. +table AvailableFile { + /// Declarations of the file. + declarations:[AvailableDeclaration] (id: 0); + + /// The Dartdoc directives in the file. + directiveInfo:DirectiveInfo (id: 1); + + /// Exports directives of the file. + exports:[AvailableFileExport] (id: 2); + + /// Is `true` if this file is a library. + isLibrary:bool (id: 3); + + /// Is `true` if this file is a library, and it is deprecated. + isLibraryDeprecated:bool (id: 4); + + /// Offsets of the first character of each line in the source code. + lineStarts:[uint] (id: 5); + + /// URIs of `part` directives. + parts:[string] (id: 6); +} + +/// Information about an export directive. +table AvailableFileExport { + /// Combinators contained in this export directive. + combinators:[AvailableFileExportCombinator] (id: 1); + + /// URI of the exported library. + uri:string (id: 0); +} + +/// Information about a `show` or `hide` combinator in an export directive. +table AvailableFileExportCombinator { + /// List of names which are hidden. Empty if this is a `show` combinator. + hides:[string] (id: 1); + + /// List of names which are shown. Empty if this is a `hide` combinator. + shows:[string] (id: 0); +} + +/// Information about linked libraries, a group of libraries that form +/// a library cycle. +table CiderLinkedLibraryCycle { + bundle:LinkedNodeBundle (id: 1); + + /// The hash signature for this linked cycle. It depends of API signatures + /// of all files in the cycle, and on the signatures of the transitive + /// closure of the cycle dependencies. + signature:[uint] (id: 0); +} + +/// Errors for a single unit. +table CiderUnitErrors { + errors:[AnalysisDriverUnitError] (id: 1); + + /// The hash signature of this data. + signature:[uint] (id: 0); +} + +/// Information about a compilation unit, contains the content hash +/// and unlinked summary. +table CiderUnlinkedUnit { + /// The hash signature of the contents of the file. + contentDigest:[uint] (id: 0); + + /// Unlinked summary of the compilation unit. + unlinkedUnit:UnlinkedUnit2 (id: 1); +} + +table DiagnosticMessage { + /// The absolute and normalized path of the file associated with this message. + filePath:string (id: 0); + + /// The length of the source range associated with this message. + length:uint (id: 1); + + /// The text of the message. + message:string (id: 2); + + /// The zero-based offset from the start of the file to the beginning of the + /// source range associated with this message. + offset:uint (id: 3); +} + +/// Information about the Dartdoc directives in an [AvailableFile]. +table DirectiveInfo { + /// The names of the defined templates. + templateNames:[string] (id: 0); + + /// The values of the defined templates. + templateValues:[string] (id: 1); +} + +table LinkedLanguageVersion { + major:uint (id: 0); + + minor:uint (id: 1); +} + +table LinkedLibraryLanguageVersion { + override2:LinkedLanguageVersion (id: 1); + + package:LinkedLanguageVersion (id: 0); +} + +/// Information about a linked AST node. +table LinkedNode { + /// The explicit or inferred return type of a function typed node. + variantField_24:LinkedNodeType (id: 24); + + variantField_2:[LinkedNode] (id: 2); + + variantField_4:[LinkedNode] (id: 4); + + variantField_6:LinkedNode (id: 6); + + variantField_7:LinkedNode (id: 7); + + variantField_17:uint (id: 17); + + variantField_8:LinkedNode (id: 8); + + variantField_38:LinkedNodeTypeSubstitution (id: 38); + + variantField_15:uint (id: 15); + + variantField_28:UnlinkedTokenType (id: 28); + + variantField_27:bool (id: 27); + + variantField_9:LinkedNode (id: 9); + + variantField_12:LinkedNode (id: 12); + + variantField_5:[LinkedNode] (id: 5); + + variantField_13:LinkedNode (id: 13); + + variantField_33:[string] (id: 33); + + variantField_29:LinkedNodeCommentType (id: 29); + + variantField_3:[LinkedNode] (id: 3); + + variantField_41:[uint] (id: 41); + + /// The language version information. + variantField_40:LinkedLibraryLanguageVersion (id: 40); + + variantField_10:LinkedNode (id: 10); + + variantField_26:LinkedNodeFormalParameterKind (id: 26); + + variantField_21:double (id: 21); + + variantField_25:LinkedNodeType (id: 25); + + variantField_20:string (id: 20); + + variantField_39:[LinkedNodeType] (id: 39); + + flags:uint (id: 18); + + variantField_1:string (id: 1); + + variantField_36:uint (id: 36); + + variantField_16:uint (id: 16); + + variantField_30:string (id: 30); + + variantField_14:LinkedNode (id: 14); + + kind:LinkedNodeKind (id: 0); + + variantField_31:bool (id: 31); + + variantField_34:[string] (id: 34); + + name:string (id: 37); + + variantField_35:UnlinkedTokenType (id: 35); + + variantField_32:TopLevelInferenceError (id: 32); + + variantField_23:LinkedNodeType (id: 23); + + variantField_11:LinkedNode (id: 11); + + variantField_22:string (id: 22); + + variantField_19:uint (id: 19); +} + +/// Information about a group of libraries linked together, for example because +/// they form a single cycle, or because they represent a single build artifact. +table LinkedNodeBundle { + libraries:[LinkedNodeLibrary] (id: 1); + + /// The shared list of references used in the [libraries]. + references:LinkedNodeReferences (id: 0); +} + +/// Information about a single library in a [LinkedNodeBundle]. +table LinkedNodeLibrary { + exports:[uint] (id: 2); + + name:string (id: 3); + + nameLength:uint (id: 5); + + nameOffset:uint (id: 4); + + units:[LinkedNodeUnit] (id: 1); + + uriStr:string (id: 0); +} + +/// Flattened tree of declarations referenced from [LinkedNode]s. +table LinkedNodeReferences { + name:[string] (id: 1); + + parent:[uint] (id: 0); +} + +/// Information about a Dart type. +table LinkedNodeType { + functionFormalParameters:[LinkedNodeTypeFormalParameter] (id: 0); + + functionReturnType:LinkedNodeType (id: 1); + + /// The typedef this function type is created for. + functionTypedef:uint (id: 9); + + functionTypedefTypeArguments:[LinkedNodeType] (id: 10); + + functionTypeParameters:[LinkedNodeTypeTypeParameter] (id: 2); + + /// Reference to a [LinkedNodeReferences]. + interfaceClass:uint (id: 3); + + interfaceTypeArguments:[LinkedNodeType] (id: 4); + + kind:LinkedNodeTypeKind (id: 5); + + nullabilitySuffix:EntityRefNullabilitySuffix (id: 8); + + typeParameterElement:uint (id: 6); + + typeParameterId:uint (id: 7); +} + +/// Information about a formal parameter in a function type. +table LinkedNodeTypeFormalParameter { + kind:LinkedNodeFormalParameterKind (id: 0); + + name:string (id: 1); + + type:LinkedNodeType (id: 2); +} + +/// Information about a type substitution. +table LinkedNodeTypeSubstitution { + isLegacy:bool (id: 2); + + typeArguments:[LinkedNodeType] (id: 1); + + typeParameters:[uint] (id: 0); +} + +/// Information about a type parameter in a function type. +table LinkedNodeTypeTypeParameter { + bound:LinkedNodeType (id: 1); + + name:string (id: 0); +} + +/// Information about a single library in a [LinkedNodeLibrary]. +table LinkedNodeUnit { + isSynthetic:bool (id: 2); + + node:LinkedNode (id: 1); + + /// If the unit is a part, the URI specified in the `part` directive. + /// Otherwise empty. + partUriStr:string (id: 3); + + /// The absolute URI. + uriStr:string (id: 0); +} + +/// Summary information about a package. +table PackageBundle { + /// The version 2 of the summary. + bundle2:LinkedNodeBundle (id: 0); + + /// The SDK specific data, if this bundle is for SDK. + sdk:PackageBundleSdk (id: 1); +} + +/// Summary information about a package. +table PackageBundleSdk { + /// The content of the `allowed_experiments.json` from SDK. + allowedExperimentsJson:string (id: 0); + + /// The language version of the SDK. + languageVersion:LinkedLanguageVersion (id: 1); +} + +/// Summary information about a top-level type inference error. +table TopLevelInferenceError { + /// The [kind] specific arguments. + arguments:[string] (id: 1); + + /// The kind of the error. + kind:TopLevelInferenceErrorKind (id: 0); +} + +table UnlinkedInformativeData { + variantField_2:uint (id: 2); + + variantField_3:uint (id: 3); + + variantField_9:uint (id: 9); + + variantField_8:uint (id: 8); + + /// Offsets of the first character of each line in the source code. + variantField_7:[uint] (id: 7); + + variantField_6:uint (id: 6); + + variantField_5:uint (id: 5); + + /// If the parameter has a default value, the source text of the constant + /// expression in the default value. Otherwise the empty string. + variantField_10:string (id: 10); + + variantField_1:uint (id: 1); + + variantField_4:[string] (id: 4); + + /// The kind of the node. + kind:LinkedNodeKind (id: 0); +} + +/// Unlinked summary information about a namespace directive. +table UnlinkedNamespaceDirective { + /// The configurations that control which library will actually be used. + configurations:[UnlinkedNamespaceDirectiveConfiguration] (id: 0); + + /// The URI referenced by this directive, nad used by default when none + /// of the [configurations] matches. + uri:string (id: 1); +} + +/// Unlinked summary information about a namespace directive configuration. +table UnlinkedNamespaceDirectiveConfiguration { + /// The name of the declared variable used in the condition. + name:string (id: 0); + + /// The URI to be used if the condition is true. + uri:string (id: 2); + + /// The value to which the value of the declared variable will be compared, + /// or the empty string if the condition does not include an equality test. + value:string (id: 1); +} + +/// Unlinked summary information about a compilation unit. +table UnlinkedUnit2 { + /// The MD5 hash signature of the API portion of this unit. It depends on all + /// tokens that might affect APIs of declarations in the unit. + apiSignature:[uint] (id: 0); + + /// URIs of `export` directives. + exports:[UnlinkedNamespaceDirective] (id: 1); + + /// Is `true` if the unit contains a `library` directive. + hasLibraryDirective:bool (id: 6); + + /// Is `true` if the unit contains a `part of` directive. + hasPartOfDirective:bool (id: 3); + + /// URIs of `import` directives. + imports:[UnlinkedNamespaceDirective] (id: 2); + + informativeData:[UnlinkedInformativeData] (id: 7); + + /// Offsets of the first character of each line in the source code. + lineStarts:[uint] (id: 5); + + /// URI of the `part of` directive. + partOfUri:string (id: 8); + + /// URIs of `part` directives. + parts:[string] (id: 4); +} + +root_type PackageBundle; + +file_identifier "PBdl"; diff --git a/v0.19.4/packages/build_runner/src/server/README.md b/v0.19.4/packages/build_runner/src/server/README.md new file mode 100644 index 000000000..e40bb7016 --- /dev/null +++ b/v0.19.4/packages/build_runner/src/server/README.md @@ -0,0 +1,4 @@ +## Regenerating the graph_vis_main.dart.js{.map} files + +To regenerate these files, you should use the custom build script at +`tool/build.dart`. This supports all the normal build_runner commands. diff --git a/v0.19.4/packages/build_runner/src/server/build_updates_client/hot_reload_client.dart.js b/v0.19.4/packages/build_runner/src/server/build_updates_client/hot_reload_client.dart.js new file mode 100644 index 000000000..62e4659b9 --- /dev/null +++ b/v0.19.4/packages/build_runner/src/server/build_updates_client/hot_reload_client.dart.js @@ -0,0 +1,3546 @@ +{}(function dartProgram(){function copyProperties(a,b){var u=Object.keys(a) +for(var t=0;t=0)return true +if(typeof version=="function"&&version.length==0){var s=version() +if(/^\d+\.\d+\.\d+\.\d+$/.test(s))return true}}catch(r){}return false}() +function setFunctionNamesIfNecessary(a){function t(){};if(typeof t.name=="string")return +for(var u=0;ub&&J.A(d.$2(t.h(a,r-1),s),0)))break +q=r-1 +t.k(a,r,t.h(a,q)) +r=q}t.k(a,r,s)}}, +fM:function(a1,a2,a3,a4){var u,t,s,r,q,p,o,n,m,l,k=C.c.aH(a3-a2+1,6),j=a2+k,i=a3-k,h=C.c.aH(a2+a3,2),g=h-k,f=h+k,e=J.ag(a1),d=e.h(a1,j),c=e.h(a1,g),b=e.h(a1,h),a=e.h(a1,f),a0=e.h(a1,i) +if(J.A(a4.$2(d,c),0)){u=c +c=d +d=u}if(J.A(a4.$2(a,a0),0)){u=a0 +a0=a +a=u}if(J.A(a4.$2(d,b),0)){u=b +b=d +d=u}if(J.A(a4.$2(c,b),0)){u=b +b=c +c=u}if(J.A(a4.$2(d,a),0)){u=a +a=d +d=u}if(J.A(a4.$2(b,a),0)){u=a +a=b +b=u}if(J.A(a4.$2(c,a0),0)){u=a0 +a0=c +c=u}if(J.A(a4.$2(c,b),0)){u=b +b=c +c=u}if(J.A(a4.$2(a,a0),0)){u=a0 +a0=a +a=u}e.k(a1,j,d) +e.k(a1,h,b) +e.k(a1,i,a0) +e.k(a1,g,e.h(a1,a2)) +e.k(a1,f,e.h(a1,a3)) +t=a2+1 +s=a3-1 +if(J.p(a4.$2(c,a),0)){for(r=t;r<=s;++r){q=e.h(a1,r) +p=a4.$2(q,c) +if(p===0)continue +if(p<0){if(r!==t){e.k(a1,r,e.h(a1,t)) +e.k(a1,t,q)}++t}else for(;!0;){p=a4.$2(e.h(a1,s),c) +if(p>0){--s +continue}else{o=s-1 +if(p<0){e.k(a1,r,e.h(a1,t)) +n=t+1 +e.k(a1,t,e.h(a1,s)) +e.k(a1,s,q) +s=o +t=n +break}else{e.k(a1,r,e.h(a1,s)) +e.k(a1,s,q) +s=o +break}}}}m=!0}else{for(r=t;r<=s;++r){q=e.h(a1,r) +if(a4.$2(q,c)<0){if(r!==t){e.k(a1,r,e.h(a1,t)) +e.k(a1,t,q)}++t}else if(a4.$2(q,a)>0)for(;!0;)if(a4.$2(e.h(a1,s),a)>0){--s +if(si){for(;J.p(a4.$2(e.h(a1,t),c),0);)++t +for(;J.p(a4.$2(e.h(a1,s),a),0);)--s +for(r=t;r<=s;++r){q=e.h(a1,r) +if(a4.$2(q,c)===0){if(r!==t){e.k(a1,r,e.h(a1,t)) +e.k(a1,t,q)}++t}else if(a4.$2(q,a)===0)for(;!0;)if(a4.$2(e.h(a1,s),a)===0){--s +if(s1&&C.d.av(t,0)===36?C.d.aY(t,1):t)}, +t:function(a){var u +if(a<=65535)return String.fromCharCode(a) +if(a<=1114111){u=a-65536 +return String.fromCharCode((55296|C.c.ad(u,10))>>>0,56320|u&1023)}throw H.c(P.b7(a,0,1114111,null,null))}, +a8:function(a){if(a.date===void 0)a.date=new Date(a.a) +return a.date}, +fJ:function(a){var u=H.a8(a).getUTCFullYear()+0 +return u}, +fH:function(a){var u=H.a8(a).getUTCMonth()+1 +return u}, +fD:function(a){var u=H.a8(a).getUTCDate()+0 +return u}, +fE:function(a){var u=H.a8(a).getUTCHours()+0 +return u}, +fG:function(a){var u=H.a8(a).getUTCMinutes()+0 +return u}, +fI:function(a){var u=H.a8(a).getUTCSeconds()+0 +return u}, +fF:function(a){var u=H.a8(a).getUTCMilliseconds()+0 +return u}, +a7:function(a,b,c){var u,t,s={} +s.a=0 +u=[] +t=[] +s.a=b.length +C.a.Z(u,b) +s.b="" +if(c!=null&&!c.gm(c))c.u(0,new H.ca(s,t,u)) +""+s.a +return J.fh(a,new H.bK(C.C,0,u,t,0))}, +fC:function(a,b,c){var u,t,s,r +if(b instanceof Array)u=c==null||c.gm(c) +else u=!1 +if(u){t=b +s=t.length +if(s===0){if(!!a.$0)return a.$0()}else if(s===1){if(!!a.$1)return a.$1(t[0])}else if(s===2){if(!!a.$2)return a.$2(t[0],t[1])}else if(s===3){if(!!a.$3)return a.$3(t[0],t[1],t[2])}else if(s===4){if(!!a.$4)return a.$4(t[0],t[1],t[2],t[3])}else if(s===5)if(!!a.$5)return a.$5(t[0],t[1],t[2],t[3],t[4]) +r=a[""+"$"+s] +if(r!=null)return r.apply(a,t)}return H.fA(a,b,c)}, +fA:function(a,b,c){var u,t,s,r,q,p,o,n,m,l,k,j +if(b!=null)u=b instanceof Array?b:P.bX(b,!0,null) +else u=[] +t=u.length +s=a.$R +if(ts+p.length)return H.a7(a,u,null) +C.a.Z(u,p.slice(t-s)) +return n.apply(a,u)}else{if(t>s)return H.a7(a,u,c) +m=Object.keys(p) +if(c==null)for(q=m.length,l=0;l=u)return P.dK(b,a,t,null,u) +return P.dS(b,t)}, +aK:function(a){return new P.F(!0,a,null,null)}, +dq:function(a){if(typeof a!=="number")throw H.c(H.aK(a)) +return a}, +c:function(a){var u +if(a==null)a=new P.au() +u=new Error() +u.dartException=a +if("defineProperty" in Object){Object.defineProperty(u,"message",{get:H.eU}) +u.name=""}else u.toString=H.eU +return u}, +eU:function(){return J.bq(this.dartException)}, +r:function(a){throw H.c(a)}, +ai:function(a){throw H.c(P.x(a))}, +C:function(a){var u,t,s,r,q,p +a=H.hG(a.replace(String({}),'$receiver$')) +u=a.match(/\\\$[a-zA-Z]+\\\$/g) +if(u==null)u=H.j([],[P.d]) +t=u.indexOf("\\$arguments\\$") +s=u.indexOf("\\$argumentsExpr\\$") +r=u.indexOf("\\$expr\\$") +q=u.indexOf("\\$method\\$") +p=u.indexOf("\\$receiver\\$") +return new H.ck(a.replace(new RegExp('\\\\\\$arguments\\\\\\$','g'),'((?:x|[^x])*)').replace(new RegExp('\\\\\\$argumentsExpr\\\\\\$','g'),'((?:x|[^x])*)').replace(new RegExp('\\\\\\$expr\\\\\\$','g'),'((?:x|[^x])*)').replace(new RegExp('\\\\\\$method\\\\\\$','g'),'((?:x|[^x])*)').replace(new RegExp('\\\\\\$receiver\\\\\\$','g'),'((?:x|[^x])*)'),t,s,r,q,p)}, +cl:function(a){return function($expr$){var $argumentsExpr$='$arguments$' +try{$expr$.$method$($argumentsExpr$)}catch(u){return u.message}}(a)}, +ex:function(a){return function($expr$){try{$expr$.$method$}catch(u){return u.message}}(a)}, +et:function(a,b){return new H.c8(a,b==null?null:b.method)}, +dP:function(a,b){var u=b==null,t=u?null:b.method +return new H.bN(a,t,u?null:b.receiver)}, +z:function(a){var u,t,s,r,q,p,o,n,m,l,k,j,i,h,g=null,f=new H.dH(a) +if(a==null)return +if(a instanceof H.ao)return f.$1(a.a) +if(typeof a!=="object")return a +if("dartException" in a)return f.$1(a.dartException) +else if(!("message" in a))return a +u=a.message +if("number" in a&&typeof a.number=="number"){t=a.number +s=t&65535 +if((C.c.ad(t,16)&8191)===10)switch(s){case 438:return f.$1(H.dP(H.b(u)+" (Error "+s+")",g)) +case 445:case 5007:return f.$1(H.et(H.b(u)+" (Error "+s+")",g))}}if(a instanceof TypeError){r=$.eV() +q=$.eW() +p=$.eX() +o=$.eY() +n=$.f0() +m=$.f1() +l=$.f_() +$.eZ() +k=$.f3() +j=$.f2() +i=r.C(u) +if(i!=null)return f.$1(H.dP(u,i)) +else{i=q.C(u) +if(i!=null){i.method="call" +return f.$1(H.dP(u,i))}else{i=p.C(u) +if(i==null){i=o.C(u) +if(i==null){i=n.C(u) +if(i==null){i=m.C(u) +if(i==null){i=l.C(u) +if(i==null){i=o.C(u) +if(i==null){i=k.C(u) +if(i==null){i=j.C(u) +h=i!=null}else h=!0}else h=!0}else h=!0}else h=!0}else h=!0}else h=!0}else h=!0 +if(h)return f.$1(H.et(u,i))}}return f.$1(new H.cn(typeof u==="string"?u:""))}if(a instanceof RangeError){if(typeof u==="string"&&u.indexOf("call stack")!==-1)return new P.ba() +u=function(b){try{return String(b)}catch(e){}return null}(a) +return f.$1(new P.F(!1,g,g,typeof u==="string"?u.replace(/^RangeError:\s*/,""):u))}if(typeof InternalError=="function"&&a instanceof InternalError)if(typeof u==="string"&&u==="too much recursion")return new P.ba() +return a}, +O:function(a){var u +if(a instanceof H.ao)return a.b +if(a==null)return new H.bi(a) +u=a.$cachedTrace +if(u!=null)return u +return a.$cachedTrace=new H.bi(a)}, +hA:function(a,b,c,d,e,f){switch(b){case 0:return a.$0() +case 1:return a.$1(c) +case 2:return a.$2(c,d) +case 3:return a.$3(c,d,e) +case 4:return a.$4(c,d,e,f)}throw H.c(new P.cH("Unsupported number of arguments for wrapped closure"))}, +ae:function(a,b){var u +if(a==null)return +u=a.$identity +if(!!u)return u +u=function(c,d,e){return function(f,g,h,i){return e(c,d,f,g,h,i)}}(a,b,H.hA) +a.$identity=u +return u}, +fn:function(a,b,c,d,e,f,g){var u,t,s,r,q,p,o,n,m,l=null,k=b[0],j=k.$callName,i=e?Object.create(new H.cg().constructor.prototype):Object.create(new H.al(l,l,l,l).constructor.prototype) +i.$initialize=i.constructor +if(e)u=function static_tear_off(){this.$initialize()} +else{t=$.B +$.B=t+1 +t=new Function("a,b,c,d"+t,"this.$initialize(a,b,c,d"+t+")") +u=t}i.constructor=u +u.prototype=i +if(!e){s=H.el(a,k,f) +s.$reflectionInfo=d}else{i.$static_name=g +s=k}if(typeof d=="number")r=function(h,a0){return function(){return h(a0)}}(H.hs,d) +else if(typeof d=="function")if(e)r=d +else{q=f?H.ek:H.dI +r=function(h,a0){return function(){return h.apply({$receiver:a0(this)},arguments)}}(d,q)}else throw H.c("Error in reflectionInfo.") +i.$S=r +i[j]=s +for(p=s,o=1;o=27 +if(q)return H.fk(t,!r,u,b) +if(t===0){r=$.B +$.B=r+1 +p="self"+H.b(r) +r="return function(){var "+p+" = this." +q=$.am +return new Function(r+H.b(q==null?$.am=H.br("self"):q)+";return "+p+"."+H.b(u)+"();}")()}o="abcdefghijklmnopqrstuvwxyz".split("").splice(0,t).join(",") +r=$.B +$.B=r+1 +o+=H.b(r) +r="return function("+o+"){return this." +q=$.am +return new Function(r+H.b(q==null?$.am=H.br("self"):q)+"."+H.b(u)+"("+o+");}")()}, +fl:function(a,b,c,d){var u=H.dI,t=H.ek +switch(b?-1:a){case 0:throw H.c(H.fL("Intercepted function with no arguments.")) +case 1:return function(e,f,g){return function(){return f(this)[e](g(this))}}(c,u,t) +case 2:return function(e,f,g){return function(h){return f(this)[e](g(this),h)}}(c,u,t) +case 3:return function(e,f,g){return function(h,i){return f(this)[e](g(this),h,i)}}(c,u,t) +case 4:return function(e,f,g){return function(h,i,j){return f(this)[e](g(this),h,i,j)}}(c,u,t) +case 5:return function(e,f,g){return function(h,i,j,k){return f(this)[e](g(this),h,i,j,k)}}(c,u,t) +case 6:return function(e,f,g){return function(h,i,j,k,l){return f(this)[e](g(this),h,i,j,k,l)}}(c,u,t) +default:return function(e,f,g,h){return function(){h=[g(this)] +Array.prototype.push.apply(h,arguments) +return e.apply(f(this),h)}}(d,u,t)}}, +fm:function(a,b){var u,t,s,r,q,p,o,n=$.am +if(n==null)n=$.am=H.br("self") +u=$.ej +if(u==null)u=$.ej=H.br("receiver") +t=b.$stubName +s=b.length +r=a[t] +q=b==null?r==null:b===r +p=!q||s>=28 +if(p)return H.fl(s,!q,t,b) +if(s===1){n="return function(){return this."+H.b(n)+"."+H.b(t)+"(this."+H.b(u)+");" +u=$.B +$.B=u+1 +return new Function(n+H.b(u)+"}")()}o="abcdefghijklmnopqrstuvwxyz".split("").splice(0,s-1).join(",") +n="return function("+o+"){return this."+H.b(n)+"."+H.b(t)+"(this."+H.b(u)+", "+o+");" +u=$.B +$.B=u+1 +return new Function(n+H.b(u)+"}")()}, +e5:function(a,b,c,d,e,f,g){return H.fn(a,b,c,d,!!e,!!f,g)}, +dI:function(a){return a.a}, +ek:function(a){return a.c}, +br:function(a){var u,t,s,r=new H.al("self","target","receiver","name"),q=J.ep(Object.getOwnPropertyNames(r)) +for(u=q.length,t=0;t=b.length)return"unexpected-generic-index:"+H.b(a) +return H.b(b[b.length-a-1])}if('func' in a)return H.h5(a,b) +if('futureOr' in a)return"FutureOr<"+H.X("type" in a?a.type:null,b)+">" +return"unknown-reified-type"}, +h5:function(a,a0){var u,t,s,r,q,p,o,n,m,l,k,j,i,h,g,f,e,d,c,b=", " +if("bounds" in a){u=a.bounds +if(a0==null){a0=H.j([],[P.d]) +t=null}else t=a0.length +s=a0.length +for(r=u.length,q=r;q>0;--q)a0.push("T"+(s+q)) +for(p="<",o="",q=0;q "+m}, +e2:function(a,b,c){var u,t,s,r,q,p +if(a==null)return"" +u=new P.U("") +for(t=b,s="",r=!0,q="";t"}, +ah:function(a,b){if(a==null)return b +a=a.apply(null,b) +if(a==null)return +if(typeof a==="object"&&a!==null&&a.constructor===Array)return a +if(typeof a=="function")return a.apply(null,b) +return b}, +ad:function(a,b,c,d){var u,t +if(a==null)return!1 +u=H.Z(a) +t=J.k(a) +if(t[b]==null)return!1 +return H.eH(H.ah(t[d],u),null,c,null)}, +hL:function(a,b,c,d){if(a==null)return a +if(H.ad(a,b,c,d))return a +throw H.c(H.bt(a,function(e,f){return e.replace(/[^<,> ]+/g,function(g){return f[g]||g})}(H.aO(b.substring(2))+H.e2(c,0,null),v.mangledGlobalNames)))}, +eH:function(a,b,c,d){var u,t +if(c==null)return!0 +if(a==null){u=c.length +for(t=0;tn)return!1 +if(o+m>>0!==a||a>=c)throw H.c(H.bm(b,a))}, +at:function at(){}, +b2:function b2(){}, +as:function as(){}, +b3:function b3(){}, +c0:function c0(){}, +c1:function c1(){}, +c2:function c2(){}, +c3:function c3(){}, +c4:function c4(){}, +b4:function b4(){}, +c5:function c5(){}, +aD:function aD(){}, +aE:function aE(){}, +aF:function aF(){}, +aG:function aG(){}, +hm:function(a){return J.fw(a?Object.keys(a):[],null)}, +dF:function(a){if(typeof dartPrint=="function"){dartPrint(a) +return}if(typeof console=="object"&&typeof console.log!="undefined"){console.log(a) +return}if(typeof window=="object")return +if(typeof print=="function"){print(a) +return}throw"Unable to print message: "+String(a)}},J={ +e8:function(a,b,c,d){return{i:a,p:b,e:c,x:d}}, +bn:function(a){var u,t,s,r,q=a[v.dispatchPropertyName] +if(q==null)if($.e7==null){H.hx() +q=a[v.dispatchPropertyName]}if(q!=null){u=q.p +if(!1===u)return q.i +if(!0===u)return a +t=Object.getPrototypeOf(a) +if(u===t)return q.i +if(q.e===t)throw H.c(P.dT("Return interceptor for "+H.b(u(a,q))))}s=a.constructor +r=s==null?null:s[$.eb()] +if(r!=null)return r +r=H.hC(a) +if(r!=null)return r +if(typeof a=="function")return C.w +u=Object.getPrototypeOf(a) +if(u==null)return C.l +if(u===Object.prototype)return C.l +if(typeof s=="function"){Object.defineProperty(s,$.eb(),{value:C.e,enumerable:false,writable:true,configurable:true}) +return C.e}return C.e}, +fw:function(a,b){return J.ep(H.j(a,[b]))}, +ep:function(a){a.fixed$length=Array +return a}, +k:function(a){if(typeof a=="number"){if(Math.floor(a)==a)return J.aW.prototype +return J.bJ.prototype}if(typeof a=="string")return J.I.prototype +if(a==null)return J.bL.prototype +if(typeof a=="boolean")return J.bI.prototype +if(a.constructor==Array)return J.H.prototype +if(typeof a!="object"){if(typeof a=="function")return J.J.prototype +return a}if(a instanceof P.f)return a +return J.bn(a)}, +hn:function(a){if(typeof a=="number")return J.Q.prototype +if(typeof a=="string")return J.I.prototype +if(a==null)return a +if(a.constructor==Array)return J.H.prototype +if(typeof a!="object"){if(typeof a=="function")return J.J.prototype +return a}if(a instanceof P.f)return a +return J.bn(a)}, +ag:function(a){if(typeof a=="string")return J.I.prototype +if(a==null)return a +if(a.constructor==Array)return J.H.prototype +if(typeof a!="object"){if(typeof a=="function")return J.J.prototype +return a}if(a instanceof P.f)return a +return J.bn(a)}, +aL:function(a){if(a==null)return a +if(a.constructor==Array)return J.H.prototype +if(typeof a!="object"){if(typeof a=="function")return J.J.prototype +return a}if(a instanceof P.f)return a +return J.bn(a)}, +ho:function(a){if(typeof a=="number")return J.Q.prototype +if(a==null)return a +if(!(a instanceof P.f))return J.V.prototype +return a}, +hp:function(a){if(typeof a=="number")return J.Q.prototype +if(typeof a=="string")return J.I.prototype +if(a==null)return a +if(!(a instanceof P.f))return J.V.prototype +return a}, +hq:function(a){if(typeof a=="string")return J.I.prototype +if(a==null)return a +if(!(a instanceof P.f))return J.V.prototype +return a}, +y:function(a){if(a==null)return a +if(typeof a!="object"){if(typeof a=="function")return J.J.prototype +return a}if(a instanceof P.f)return a +return J.bn(a)}, +f5:function(a,b){if(typeof a=="number"&&typeof b=="number")return a+b +return J.hn(a).E(a,b)}, +p:function(a,b){if(a==null)return b==null +if(typeof a!="object")return b!=null&&a===b +return J.k(a).K(a,b)}, +A:function(a,b){if(typeof a=="number"&&typeof b=="number")return a>b +return J.ho(a).aX(a,b)}, +f6:function(a,b,c){if(typeof b==="number")if((a.constructor==Array||H.hB(a,a[v.dispatchPropertyName]))&&!a.immutable$list&&b>>>0===b&&b=4){t=b.W() +b.a=a.a +b.c=a.c +P.a9(b,t)}else{t=b.c +b.a=2 +b.c=a +a.aE(t)}}, +a9:function(a,b){var u,t,s,r,q,p,o,n,m,l,k,j=null,i={},h=i.a=a +for(;!0;){u={} +t=h.a===8 +if(b==null){if(t){s=h.c +h=h.b +r=s.a +s=s.b +h.toString +P.dm(j,j,h,r,s)}return}for(;q=b.a,q!=null;b=q){b.a=null +P.a9(i.a,b)}h=i.a +p=h.c +u.a=t +u.b=p +s=!t +if(s){r=b.c +r=(r&1)!==0||r===8}else r=!0 +if(r){r=b.b +o=r.b +if(t){n=h.b +n.toString +n=n==o +if(!n)o.toString +else n=!0 +n=!n}else n=!1 +if(n){h=h.b +s=p.a +r=p.b +h.toString +P.dm(j,j,h,s,r) +return}m=$.e +if(m!=o)$.e=o +else m=j +h=b.c +if(h===8)new P.cU(i,u,b,t).$0() +else if(s){if((h&1)!==0)new P.cT(u,b,p).$0()}else if((h&2)!==0)new P.cS(i,u,b).$0() +if(m!=null)$.e=m +h=u.b +if(!!J.k(h).$im){if(h.a>=4){l=r.c +r.c=null +b=r.X(l) +r.a=h.a +r.c=h.c +i.a=h +continue}else P.cM(h,r) +return}}k=b.b +l=k.c +k.c=null +b=k.X(l) +h=u.a +s=u.b +if(!h){k.a=4 +k.c=s}else{k.a=8 +k.c=s}i.a=k +h=k}}, +h9:function(a,b){if(H.du(a,{func:1,args:[P.f,P.v]}))return b.aR(a) +if(H.du(a,{func:1,args:[P.f]}))return a +throw H.c(P.ei(a,"onError","Error handler must accept one Object or one Object and a StackTrace as arguments, and return a a valid result"))}, +h7:function(){var u,t +for(;u=$.aa,u!=null;){$.aJ=null +t=u.b +$.aa=t +if(t==null)$.aI=null +u.a.$0()}}, +he:function(){$.e0=!0 +try{P.h7()}finally{$.aJ=null +$.e0=!1 +if($.aa!=null)$.ec().$1(P.eI())}}, +eE:function(a){var u=new P.bd(a) +if($.aa==null){$.aa=$.aI=u +if(!$.e0)$.ec().$1(P.eI())}else $.aI=$.aI.b=u}, +hd:function(a){var u,t,s=$.aa +if(s==null){P.eE(a) +$.aJ=$.aI +return}u=new P.bd(a) +t=$.aJ +if(t==null){u.b=s +$.aa=$.aJ=u}else{u.b=t.b +$.aJ=t.b=u +if(u.b==null)$.aI=u}}, +e9:function(a){var u=null,t=$.e +if(C.b===t){P.ab(u,u,C.b,a) +return}t.toString +P.ab(u,u,t,t.aI(a))}, +hQ:function(a){return new P.da(a)}, +dm:function(a,b,c,d,e){var u={} +u.a=d +P.hd(new P.dn(u,e))}, +eC:function(a,b,c,d){var u,t=$.e +if(t===c)return d.$0() +$.e=c +u=t +try{t=d.$0() +return t}finally{$.e=u}}, +eD:function(a,b,c,d,e){var u,t=$.e +if(t===c)return d.$1(e) +$.e=c +u=t +try{t=d.$1(e) +return t}finally{$.e=u}}, +hc:function(a,b,c,d,e,f){var u,t=$.e +if(t===c)return d.$2(e,f) +$.e=c +u=t +try{t=d.$2(e,f) +return t}finally{$.e=u}}, +ab:function(a,b,c,d){var u=C.b!==c +if(u)d=!(!u||!1)?c.aI(d):c.bn(d) +P.eE(d)}, +cv:function cv(a){this.a=a}, +cu:function cu(a,b,c){this.a=a +this.b=b +this.c=c}, +cw:function cw(a){this.a=a}, +cx:function cx(a){this.a=a}, +db:function db(){}, +dc:function dc(a,b){this.a=a +this.b=b}, +cr:function cr(a,b){this.a=a +this.b=!1 +this.$ti=b}, +ct:function ct(a,b){this.a=a +this.b=b}, +cs:function cs(a,b,c){this.a=a +this.b=b +this.c=c}, +dg:function dg(a){this.a=a}, +dh:function dh(a){this.a=a}, +dp:function dp(a){this.a=a}, +m:function m(){}, +be:function be(){}, +W:function W(a,b){this.a=a +this.$ti=b}, +bj:function bj(a,b){this.a=a +this.$ti=b}, +cI:function cI(a,b,c,d){var _=this +_.a=null +_.b=a +_.c=b +_.d=c +_.e=d}, +n:function n(a,b){var _=this +_.a=0 +_.b=a +_.c=null +_.$ti=b}, +cJ:function cJ(a,b){this.a=a +this.b=b}, +cR:function cR(a,b){this.a=a +this.b=b}, +cN:function cN(a){this.a=a}, +cO:function cO(a){this.a=a}, +cP:function cP(a,b,c){this.a=a +this.b=b +this.c=c}, +cL:function cL(a,b){this.a=a +this.b=b}, +cQ:function cQ(a,b){this.a=a +this.b=b}, +cK:function cK(a,b,c){this.a=a +this.b=b +this.c=c}, +cU:function cU(a,b,c,d){var _=this +_.a=a +_.b=b +_.c=c +_.d=d}, +cV:function cV(a){this.a=a}, +cT:function cT(a,b,c){this.a=a +this.b=b +this.c=c}, +cS:function cS(a,b,c){this.a=a +this.b=b +this.c=c}, +bd:function bd(a){this.a=a +this.b=null}, +ch:function ch(){}, +ci:function ci(){}, +da:function da(a){this.a=null +this.b=a +this.c=!1}, +a0:function a0(a,b){this.a=a +this.b=b}, +de:function de(){}, +dn:function dn(a,b){this.a=a +this.b=b}, +d4:function d4(){}, +d6:function d6(a,b){this.a=a +this.b=b}, +d5:function d5(a,b){this.a=a +this.b=b}, +d7:function d7(a,b,c){this.a=a +this.b=b +this.c=c}, +em:function(a,b,c,d){if(a==null)return new P.aB([c,d]) +b=P.eJ() +return P.fV(a,b,null,c,d)}, +ez:function(a,b){var u=a[b] +return u===a?null:u}, +dW:function(a,b,c){if(c==null)a[b]=a +else a[b]=c}, +dV:function(){var u=Object.create(null) +P.dW(u,"",u) +delete u[""] +return u}, +fV:function(a,b,c,d,e){return new P.cA(a,b,new P.cB(d),[d,e])}, +fx:function(a,b){return new H.a5([a,b])}, +dQ:function(a,b){return new H.a5([a,b])}, +fy:function(){return new H.a5([null,null])}, +fs:function(a,b,c){if(a==null)return new P.aC([c]) +b=P.eJ() +return P.fW(a,b,null,c)}, +dX:function(){var u=Object.create(null) +u[""]=u +delete u[""] +return u}, +fW:function(a,b,c,d){return new P.cC(a,b,new P.cD(d),[d])}, +h3:function(a){return J.aj(a)}, +en:function(a,b,c){var u,t +if(P.e1(a)){if(b==="("&&c===")")return"(...)" +return b+"..."+c}u=H.j([],[P.d]) +$.Y.push(a) +try{P.h6(a,u)}finally{$.Y.pop()}t=P.ew(b,u,", ")+c +return t.charCodeAt(0)==0?t:t}, +aq:function(a,b,c){var u,t +if(P.e1(a))return b+"..."+c +u=new P.U(b) +$.Y.push(a) +try{t=u +t.a=P.ew(t.a,a,", ")}finally{$.Y.pop()}u.a+=c +t=u.a +return t.charCodeAt(0)==0?t:t}, +e1:function(a){var u,t +for(u=$.Y.length,t=0;t100){while(!0){if(!(m>75&&l>3))break +m-=b.pop().length+2;--l}b.push("...") +return}}s=H.b(r) +t=H.b(q) +m+=t.length+s.length+4}}if(l>b.length+2){m+=5 +o="..."}else o=null +while(!0){if(!(m>80&&b.length>3))break +m-=b.pop().length+2 +if(o==null){m+=5 +o="..."}}if(o!=null)b.push(o) +b.push(s) +b.push(t)}, +dR:function(a){var u,t={} +if(P.e1(a))return"{...}" +u=new P.U("") +try{$.Y.push(a) +u.a+="{" +t.a=!0 +a.u(0,new P.bZ(t,u)) +u.a+="}"}finally{$.Y.pop()}t=u.a +return t.charCodeAt(0)==0?t:t}, +fz:function(a,b,c){var u=new J.a_(b,b.length),t=new H.ar(c,c.gi(c)),s=u.l(),r=t.l() +while(!0){if(!(s&&r))break +a.k(0,u.d,t.d) +s=u.l() +r=t.l()}if(s||r)throw H.c(P.eh("Iterables do not have same length."))}, +fO:function(a,b){return new P.ce(new P.M(null),a,new P.cf(b),[b])}, +aB:function aB(a){var _=this +_.a=0 +_.e=_.d=_.c=_.b=null +_.$ti=a}, +cA:function cA(a,b,c,d){var _=this +_.f=a +_.r=b +_.x=c +_.a=0 +_.e=_.d=_.c=_.b=null +_.$ti=d}, +cB:function cB(a){this.a=a}, +cW:function cW(a,b){this.a=a +this.$ti=b}, +cX:function cX(a,b){var _=this +_.a=a +_.b=b +_.c=0 +_.d=null}, +aC:function aC(a){var _=this +_.a=0 +_.e=_.d=_.c=_.b=null +_.$ti=a}, +cC:function cC(a,b,c,d){var _=this +_.f=a +_.r=b +_.x=c +_.a=0 +_.e=_.d=_.c=_.b=null +_.$ti=d}, +cD:function cD(a){this.a=a}, +cY:function cY(a,b){var _=this +_.a=a +_.b=b +_.c=0 +_.d=null}, +bH:function bH(){}, +R:function R(){}, +bY:function bY(){}, +bZ:function bZ(a,b){this.a=a +this.b=b}, +T:function T(){}, +dd:function dd(){}, +c_:function c_(){}, +bb:function bb(a,b){this.a=a +this.$ti=b}, +bW:function bW(a){var _=this +_.a=null +_.d=_.c=_.b=0 +_.$ti=a}, +d3:function d3(a,b,c,d){var _=this +_.a=a +_.b=b +_.c=c +_.d=d +_.e=null}, +cd:function cd(){}, +d8:function d8(){}, +M:function M(a){this.a=a +this.c=this.b=null}, +d9:function d9(){}, +bf:function bf(){}, +aH:function aH(a,b,c,d,e){var _=this +_.a=a +_.b=b +_.c=c +_.d=d +_.e=null +_.$ti=e}, +ce:function ce(a,b,c,d){var _=this +_.d=null +_.e=a +_.f=b +_.r=c +_.c=_.b=_.a=0 +_.$ti=d}, +cf:function cf(a){this.a=a}, +bg:function bg(){}, +bh:function bh(){}, +bk:function bk(){}, +h8:function(a,b){var u,t,s,r +if(typeof a!=="string")throw H.c(H.aK(a)) +u=null +try{u=JSON.parse(a)}catch(s){t=H.z(s) +r=String(t) +throw H.c(new P.bE(r))}r=P.di(u) +return r}, +di:function(a){var u +if(a==null)return +if(typeof a!="object")return a +if(Object.getPrototypeOf(a)!==Array.prototype)return new P.cZ(a,Object.create(null)) +for(u=0;u=1000)return""+a +if(u>=100)return t+"0"+u +if(u>=10)return t+"00"+u +return t+"000"+u}, +fq:function(a){if(a>=100)return""+a +if(a>=10)return"0"+a +return"00"+a}, +aS:function(a){if(a>=10)return""+a +return"0"+a}, +a2:function(a){if(typeof a==="number"||typeof a==="boolean"||null==a)return J.bq(a) +if(typeof a==="string")return JSON.stringify(a) +return P.fr(a)}, +eh:function(a){return new P.F(!1,null,null,a)}, +ei:function(a,b,c){return new P.F(!0,a,b,c)}, +dS:function(a,b){return new P.b6(null,null,!0,a,b,"Value not in range")}, +b7:function(a,b,c,d,e){return new P.b6(b,c,!0,a,d,"Invalid value")}, +fK:function(a,b,c){if(0>a||a>c)throw H.c(P.b7(a,0,c,"start",null)) +if(a>b||b>c)throw H.c(P.b7(b,a,c,"end",null)) +return b}, +eu:function(a,b){if(a<0)throw H.c(P.b7(a,0,null,b,null))}, +dK:function(a,b,c,d,e){var u=e==null?J.bp(b):e +return new P.bG(u,!0,a,c,"Index out of range")}, +D:function(a){return new P.co(a)}, +dT:function(a){return new P.cm(a)}, +az:function(a){return new P.ay(a)}, +x:function(a){return new P.bx(a)}, +er:function(a,b,c,d,e){return new H.aQ(a,[b,c,d,e])}, +eQ:function(a){H.dF(a)}, +c7:function c7(a,b){this.a=a +this.b=b}, +N:function N(){}, +aR:function aR(a,b){this.a=a +this.b=b}, +af:function af(){}, +a1:function a1(){}, +au:function au(){}, +F:function F(a,b,c,d){var _=this +_.a=a +_.b=b +_.c=c +_.d=d}, +b6:function b6(a,b,c,d,e,f){var _=this +_.e=a +_.f=b +_.a=c +_.b=d +_.c=e +_.d=f}, +bG:function bG(a,b,c,d,e){var _=this +_.f=a +_.a=b +_.b=c +_.c=d +_.d=e}, +c6:function c6(a,b,c,d){var _=this +_.a=a +_.b=b +_.c=c +_.d=d}, +co:function co(a){this.a=a}, +cm:function cm(a){this.a=a}, +ay:function ay(a){this.a=a}, +bx:function bx(a){this.a=a}, +ba:function ba(){}, +bC:function bC(a){this.a=a}, +cH:function cH(a){this.a=a}, +bE:function bE(a){this.a=a}, +o:function o(){}, +a4:function a4(){}, +u:function u(){}, +i:function i(){}, +aM:function aM(){}, +f:function f(){}, +v:function v(){}, +d:function d(){}, +U:function U(a){this.a=a}, +L:function L(){}, +hk:function(a){var u=new P.n($.e,[null]),t=new P.W(u,[null]) +a.then(H.ae(new P.dr(t),1))["catch"](H.ae(new P.ds(t),1)) +return u}, +cp:function cp(){}, +cq:function cq(a,b){this.a=a +this.b=b}, +bc:function bc(a,b){this.a=a +this.b=b +this.c=!1}, +dr:function dr(a){this.a=a}, +ds:function ds(a){this.a=a}, +h0:function(a){var u,t=a.$dart_jsFunction +if(t!=null)return t +u=function(b,c){return function(){return b(c,Array.prototype.slice.apply(arguments))}}(P.h_,a) +u[$.ea()]=a +a.$dart_jsFunction=u +return u}, +h_:function(a,b){return H.fC(a,b,null)}, +eF:function(a){if(typeof a=="function")return a +else return P.h0(a)}},W={ +fu:function(a,b,c,d){var u=W.a3,t=new P.n($.e,[u]),s=new P.W(t,[u]),r=new XMLHttpRequest() +C.t.bL(r,b,a,!0) +r.responseType=c +W.dU(r,"load",new W.bF(r,s),!1) +W.dU(r,"error",s.gaK(),!1) +r.send(d) +return t}, +fQ:function(a,b){var u=new WebSocket(a,b) +return u}, +dU:function(a,b,c,d){var u=W.hg(new W.cG(c),W.a) +u=new W.cF(a,b,u,!1) +u.bk() +return u}, +h1:function(a){if(!!J.k(a).$iP)return a +return new P.bc([],[]).aL(a,!0)}, +hg:function(a,b){var u=$.e +if(u===C.b)return a +return u.bp(a,b)}, +P:function P(){}, +bD:function bD(){}, +a:function a(){}, +G:function G(){}, +a3:function a3(){}, +bF:function bF(a,b){this.a=a +this.b=b}, +aV:function aV(){}, +b_:function b_(){}, +b1:function b1(){}, +b5:function b5(){}, +ax:function ax(){}, +cF:function cF(a,b,c,d){var _=this +_.a=0 +_.b=a +_.c=b +_.d=c +_.e=d}, +cG:function cG(a){this.a=a}},G={bS:function bS(){},K:function K(a){this.a=a}},S={cb:function cb(a,b,c){this.a=a +this.b=b +this.c=c}},L={ +ft:function(a){return new L.ap(a)}, +ap:function ap(a){this.a=a}, +b8:function b8(a,b,c,d,e,f,g){var _=this +_.a=a +_.b=b +_.c=c +_.d=d +_.e=e +_.f=f +_.r=null +_.x=g}, +hJ:function(a,b,c){var u,t,s,r,q,p,o,n,m,l=null,k={} +k.a=u +k.a=null +t=H.j([],[[P.u,c]]) +s=P.o +r=P.em(l,l,c,s) +q=P.em(l,l,c,s) +p=P.fs(l,l,c) +k.a=L.hK() +k.b=0 +o=new P.bW([c]) +s=new Array(8) +s.fixed$length=Array +o.a=H.j(s,[c]) +n=new L.dG(k,q,r,o,p,b,t,c) +for(s=J.ak(a);s.l();){m=s.gn() +if(!q.t(m))n.$1(m)}return t}, +h2:function(a,b){return J.p(a,b)}, +dG:function dG(a,b,c,d,e,f,g,h){var _=this +_.a=a +_.b=b +_.c=c +_.d=d +_.e=e +_.f=f +_.r=g +_.x=h}},D={ +eO:function(a,b,c){var u=J.fg(a) +return P.bX(self.Array.from(u),!0,b)}, +eB:function(a){var u,t,s,r,q=J.fc(self.$dartLoader,a) +if(q==null)throw H.c(L.ft("Failed to get module '"+H.b(a)+"'. This error might appear if such module doesn't exist or isn't already loaded")) +u=P.d +t=P.bX(self.Object.keys(q),!0,u) +s=P.bX(self.Object.values(q),!0,D.aU) +r=P.fx(u,G.bS) +P.fz(r,t,new H.b0(s,new D.dj(),[H.h(s,0),D.aZ])) +return new G.K(r)}, +ha:function(a){var u=G.K,t=new P.n($.e,[u]),s=new P.W(t,[u]),r=P.fP() +J.f9(self.$dartLoader,a,P.eF(new D.dk(s,a)),P.eF(new D.dl(s,r))) +return t}, +hb:function(){window.location.reload()}, +bo:function(){var u=0,t=P.e3(null),s,r,q,p,o,n,m +var $async$bo=P.e4(function(a,b){if(a===1)return P.dY(b,t) +while(true)switch(u){case 0:p=window.location +o=(p&&C.B).gbM(p)+"/" +p=P.d +s=D.eO(J.ef(self.$dartLoader),p,p) +n=H +m=W +u=2 +return P.df(W.fu("/$assetDigests","POST","json",C.i.bu(new H.b0(s,new D.dz(o),[H.h(s,0),p]).bX(0))),$async$bo) +case 2:r=n.hz(m.h1(b.response),"$iS").I(0,p,p) +s=-1 +s=new P.W(new P.n($.e,[s]),[s]) +s.a_() +q=new L.b8(D.hu(),D.ht(),D.hv(),new D.dA(),new D.dB(),P.dQ(p,P.o),s) +q.r=P.fO(q.gaO(),p) +W.dU(W.fQ("ws://"+H.b(window.location.host),H.j(["$buildUpdates"],[p])),"message",new D.dC(new S.cb(new D.dD(o),r,q)),!1) +return P.dZ(null,t)}}) +return P.e_($async$bo,t)}, +aU:function aU(){}, +aZ:function aZ(a){this.a=a}, +dO:function dO(){}, +bM:function bM(){}, +dJ:function dJ(){}, +dj:function dj(){}, +dk:function dk(a,b){this.a=a +this.b=b}, +dl:function dl(a,b){this.a=a +this.b=b}, +dz:function dz(a){this.a=a}, +dA:function dA(){}, +dB:function dB(){}, +dD:function dD(a){this.a=a}, +dC:function dC(a){this.a=a}} +var w=[C,H,J,P,W,G,S,L,D] +hunkHelpers.setFunctionNamesIfNecessary(w) +var $={} +H.dM.prototype={} +J.q.prototype={ +K:function(a,b){return a===b}, +gv:function(a){return H.av(a)}, +j:function(a){return"Instance of '"+H.aw(a)+"'"}, +a1:function(a,b){throw H.c(P.es(a,b.gaN(),b.gaQ(),b.gaP()))}} +J.bI.prototype={ +j:function(a){return String(a)}, +gv:function(a){return a?519018:218159}, +$iN:1} +J.bL.prototype={ +K:function(a,b){return null==b}, +j:function(a){return"null"}, +gv:function(a){return 0}, +a1:function(a,b){return this.aZ(a,b)}} +J.aX.prototype={ +gv:function(a){return 0}, +j:function(a){return String(a)}, +$iaU:1, +$ibM:1, +bA:function(a){return a.hot$onDestroy()}, +bB:function(a,b){return a.hot$onSelfUpdate(b)}, +bz:function(a,b,c,d){return a.hot$onChildUpdate(b,c,d)}, +gq:function(a){return a.keys}, +bF:function(a){return a.keys()}, +aV:function(a,b){return a.get(b)}, +gbI:function(a){return a.message}, +gc_:function(a){return a.urlToModuleId}, +gbJ:function(a){return a.moduleParentsGraph}, +bx:function(a,b,c,d){return a.forceLoadModule(b,c,d)}, +aW:function(a,b){return a.getModuleLibraries(b)}} +J.c9.prototype={} +J.V.prototype={} +J.J.prototype={ +j:function(a){var u=a[$.ea()] +if(u==null)return this.b0(a) +return"JavaScript function for "+H.b(J.bq(u))}, +$S:function(){return{func:1,opt:[,,,,,,,,,,,,,,,,]}}} +J.H.prototype={ +F:function(a,b){if(!!a.fixed$length)H.r(P.D("add")) +a.push(b)}, +Z:function(a,b){var u,t +if(!!a.fixed$length)H.r(P.D("addAll")) +for(u=b.length,t=0;tt.gi(d))throw H.c(H.fv()) +if(e=0;--s)a[b+s]=t.h(d,e+s) +else for(s=0;s=a.length||b<0)throw H.c(H.bm(a,b)) +return a[b]}, +k:function(a,b,c){if(!!a.immutable$list)H.r(P.D("indexed set")) +if(typeof b!=="number"||Math.floor(b)!==b)throw H.c(H.bm(a,b)) +if(b>=a.length||b<0)throw H.c(H.bm(a,b)) +a[b]=c}, +E:function(a,b){var u=C.c.E(a.length,b.gi(b)),t=H.j([],[H.h(a,0)]) +this.si(t,u) +this.R(t,0,a.length,a) +this.R(t,a.length,u,b) +return t}, +$il:1, +$iu:1} +J.dL.prototype={} +J.a_.prototype={ +gn:function(){return this.d}, +l:function(){var u,t=this,s=t.a,r=s.length +if(t.b!==r)throw H.c(H.ai(s)) +u=t.c +if(u>=r){t.d=null +return!1}t.d=s[u] +t.c=u+1 +return!0}} +J.Q.prototype={ +aJ:function(a,b){var u +if(typeof b!=="number")throw H.c(H.aK(b)) +if(ab)return 1 +else if(a===b){if(a===0){u=this.gai(b) +if(this.gai(a)===u)return 0 +if(this.gai(a))return-1 +return 1}return 0}else if(isNaN(a)){if(isNaN(b))return 0 +return 1}else return-1}, +gai:function(a){return a===0?1/a<0:a<0}, +j:function(a){if(a===0&&1/a<0)return"-0.0" +else return""+a}, +gv:function(a){var u,t,s,r,q=a|0 +if(a===q)return 536870911&q +u=Math.abs(a) +t=Math.log(u)/0.6931471805599453|0 +s=Math.pow(2,t) +r=u<1?u/s:s/u +return 536870911&((r*9007199254740992|0)+(r*3542243181176521|0))*599197+t*1259}, +E:function(a,b){return a+b}, +aH:function(a,b){return(a|0)===a?a/b|0:this.bj(a,b)}, +bj:function(a,b){var u=a/b +if(u>=-2147483648&&u<=2147483647)return u|0 +if(u>0){if(u!==1/0)return Math.floor(u)}else if(u>-1/0)return Math.ceil(u) +throw H.c(P.D("Result of truncating division is "+H.b(u)+": "+H.b(a)+" ~/ "+b))}, +ad:function(a,b){var u +if(a>0)u=this.bg(a,b) +else{u=b>31?31:b +u=a>>u>>>0}return u}, +bg:function(a,b){return b>31?0:a>>>b}, +aX:function(a,b){if(typeof b!=="number")throw H.c(H.aK(b)) +return a>b}, +$iaM:1} +J.aW.prototype={$io:1} +J.bJ.prototype={} +J.I.prototype={ +av:function(a,b){if(b>=a.length)throw H.c(H.bm(a,b)) +return a.charCodeAt(b)}, +E:function(a,b){if(typeof b!=="string")throw H.c(P.ei(b,null,null)) +return a+b}, +S:function(a,b,c){if(c==null)c=a.length +if(b>c)throw H.c(P.dS(b,null)) +if(c>a.length)throw H.c(P.dS(c,null)) +return a.substring(b,c)}, +aY:function(a,b){return this.S(a,b,null)}, +gm:function(a){return a.length===0}, +aJ:function(a,b){var u +if(typeof b!=="string")throw H.c(H.aK(b)) +if(a===b)u=0 +else u=a>6}t=536870911&t+((67108863&t)<<3) +t^=t>>11 +return 536870911&t+((16383&t)<<15)}, +gi:function(a){return a.length}, +$id:1} +H.cy.prototype={ +gp:function(a){var u=this.a +return new H.bu(u.gp(u),this.$ti)}, +gi:function(a){var u=this.a +return u.gi(u)}, +gm:function(a){var u=this.a +return u.gm(u)}, +A:function(a,b){return this.a.A(0,b)}, +j:function(a){return this.a.j(0)}, +$aa4:function(a,b){return[b]}} +H.bu.prototype={ +l:function(){return this.a.l()}, +gn:function(){return H.aN(this.a.gn(),H.h(this,1))}} +H.aP.prototype={} +H.cE.prototype={$il:1, +$al:function(a,b){return[b]}} +H.aQ.prototype={ +I:function(a,b,c){return new H.aQ(this.a,[H.h(this,0),H.h(this,1),b,c])}, +t:function(a){return this.a.t(a)}, +h:function(a,b){return H.aN(this.a.h(0,b),H.h(this,3))}, +k:function(a,b,c){this.a.k(0,H.aN(b,H.h(this,0)),H.aN(c,H.h(this,1)))}, +u:function(a,b){this.a.u(0,new H.bv(this,b))}, +gq:function(a){var u=this.a +return H.fj(u.gq(u),H.h(this,0),H.h(this,2))}, +gi:function(a){var u=this.a +return u.gi(u)}, +gm:function(a){var u=this.a +return u.gm(u)}, +$aT:function(a,b,c,d){return[c,d]}, +$aS:function(a,b,c,d){return[c,d]}} +H.bv.prototype={ +$2:function(a,b){var u=this.a +this.b.$2(H.aN(a,H.h(u,2)),H.aN(b,H.h(u,3)))}, +$S:function(){var u=this.a +return{func:1,ret:P.i,args:[H.h(u,0),H.h(u,1)]}}} +H.l.prototype={} +H.a6.prototype={ +gp:function(a){return new H.ar(this,this.gi(this))}, +gm:function(a){return this.gi(this)===0}, +A:function(a,b){var u,t=this,s=t.gi(t) +for(u=0;u=q){t.d=null +return!1}t.d=r.B(s,u);++t.c +return!0}} +H.b0.prototype={ +gi:function(a){return J.bp(this.a)}, +B:function(a,b){return this.b.$1(J.f8(this.a,b))}, +$al:function(a,b){return[b]}, +$aa6:function(a,b){return[b]}, +$aa4:function(a,b){return[b]}} +H.aT.prototype={} +H.aA.prototype={ +gv:function(a){var u=this._hashCode +if(u!=null)return u +u=536870911&664597*J.aj(this.a) +this._hashCode=u +return u}, +j:function(a){return'Symbol("'+H.b(this.a)+'")'}, +K:function(a,b){if(b==null)return!1 +return b instanceof H.aA&&this.a==b.a}, +$iL:1} +H.bz.prototype={} +H.by.prototype={ +I:function(a,b,c){return P.er(this,H.h(this,0),H.h(this,1),b,c)}, +gm:function(a){return this.gi(this)===0}, +j:function(a){return P.dR(this)}, +k:function(a,b,c){return H.fo()}, +$iS:1} +H.bA.prototype={ +gi:function(a){return this.a}, +t:function(a){if(typeof a!=="string")return!1 +if("__proto__"===a)return!1 +return this.b.hasOwnProperty(a)}, +h:function(a,b){if(!this.t(b))return +return this.aA(b)}, +aA:function(a){return this.b[a]}, +u:function(a,b){var u,t,s,r=this.c +for(u=r.length,t=0;t>>0}, +j:function(a){var u=this.c +if(u==null)u=this.a +return"Closure '"+H.b(this.d)+"' of "+("Instance of '"+H.aw(u)+"'")}} +H.bs.prototype={ +j:function(a){return this.a}} +H.cc.prototype={ +j:function(a){return"RuntimeError: "+H.b(this.a)}} +H.a5.prototype={ +gi:function(a){return this.a}, +gm:function(a){return this.a===0}, +gO:function(a){return!this.gm(this)}, +gq:function(a){return new H.bU(this,[H.h(this,0)])}, +t:function(a){var u,t +if(typeof a==="string"){u=this.b +if(u==null)return!1 +return this.bc(u,a)}else{t=this.bC(a) +return t}}, +bC:function(a){var u=this,t=u.d +if(t==null)return!1 +return u.ah(u.a9(t,u.ag(a)),a)>=0}, +h:function(a,b){var u,t,s,r,q=this +if(typeof b==="string"){u=q.b +if(u==null)return +t=q.U(u,b) +s=t==null?null:t.b +return s}else if(typeof b==="number"&&(b&0x3ffffff)===b){r=q.c +if(r==null)return +t=q.U(r,b) +s=t==null?null:t.b +return s}else return q.bD(b)}, +bD:function(a){var u,t,s=this,r=s.d +if(r==null)return +u=s.a9(r,s.ag(a)) +t=s.ah(u,a) +if(t<0)return +return u[t].b}, +k:function(a,b,c){var u,t,s=this +if(typeof b==="string"){u=s.b +s.ap(u==null?s.b=s.aa():u,b,c)}else if(typeof b==="number"&&(b&0x3ffffff)===b){t=s.c +s.ap(t==null?s.c=s.aa():t,b,c)}else s.bE(b,c)}, +bE:function(a,b){var u,t,s,r=this,q=r.d +if(q==null)q=r.d=r.aa() +u=r.ag(a) +t=r.a9(q,u) +if(t==null)r.ac(q,u,[r.ab(a,b)]) +else{s=r.ah(t,a) +if(s>=0)t[s].b=b +else t.push(r.ab(a,b))}}, +bq:function(a){var u=this +if(u.a>0){u.b=u.c=u.d=u.e=u.f=null +u.a=0 +u.aC()}}, +u:function(a,b){var u=this,t=u.e,s=u.r +for(;t!=null;){b.$2(t.a,t.b) +if(s!==u.r)throw H.c(P.x(u)) +t=t.c}}, +ap:function(a,b,c){var u=this.U(a,b) +if(u==null)this.ac(a,b,this.ab(b,c)) +else u.b=c}, +aC:function(){this.r=this.r+1&67108863}, +ab:function(a,b){var u=this,t=new H.bT(a,b) +if(u.e==null)u.e=u.f=t +else u.f=u.f.c=t;++u.a +u.aC() +return t}, +ag:function(a){return J.aj(a)&0x3ffffff}, +ah:function(a,b){var u,t +if(a==null)return-1 +u=a.length +for(t=0;t=4){if(n.a===8){s=o.b +s.b=n.c +s.a=!0}return}p=o.a.a +s=o.b +s.b=n.bW(new P.cV(p),null) +s.a=!1}}} +P.cV.prototype={ +$1:function(a){return this.a}, +$S:13} +P.cT.prototype={ +$0:function(){var u,t,s,r,q=this +try{s=q.b +q.a.b=s.b.b.am(s.d,q.c)}catch(r){u=H.z(r) +t=H.O(r) +s=q.a +s.b=new P.a0(u,t) +s.a=!0}}} +P.cS.prototype={ +$0:function(){var u,t,s,r,q,p,o,n,m=this +try{u=m.a.a.c +r=m.c +if(r.bH(u)&&r.e!=null){q=m.b +q.b=r.by(u) +q.a=!1}}catch(p){t=H.z(p) +s=H.O(p) +r=m.a.a.c +q=r.a +o=t +n=m.b +if(q==null?o==null:q===o)n.b=r +else n.b=new P.a0(t,s) +n.a=!0}}} +P.bd.prototype={} +P.ch.prototype={} +P.ci.prototype={} +P.da.prototype={} +P.a0.prototype={ +j:function(a){return H.b(this.a)}, +$ia1:1} +P.de.prototype={} +P.dn.prototype={ +$0:function(){var u,t=this.a,s=t.a +t=s==null?t.a=new P.au():s +s=this.b +if(s==null)throw H.c(t) +u=H.c(t) +u.stack=s.j(0) +throw u}} +P.d4.prototype={ +bS:function(a){var u,t,s,r=null +try{if(C.b===$.e){a.$0() +return}P.eC(r,r,this,a)}catch(s){u=H.z(s) +t=H.O(s) +P.dm(r,r,this,u,t)}}, +bU:function(a,b){var u,t,s,r=null +try{if(C.b===$.e){a.$1(b) +return}P.eD(r,r,this,a,b)}catch(s){u=H.z(s) +t=H.O(s) +P.dm(r,r,this,u,t)}}, +bV:function(a,b){return this.bU(a,b,null)}, +bo:function(a){return new P.d6(this,a)}, +bn:function(a){return this.bo(a,null)}, +aI:function(a){return new P.d5(this,a)}, +bp:function(a,b){return new P.d7(this,a,b)}, +bP:function(a){if($.e===C.b)return a.$0() +return P.eC(null,null,this,a)}, +aS:function(a){return this.bP(a,null)}, +bT:function(a,b){if($.e===C.b)return a.$1(b) +return P.eD(null,null,this,a,b)}, +am:function(a,b){return this.bT(a,b,null,null)}, +bR:function(a,b,c){if($.e===C.b)return a.$2(b,c) +return P.hc(null,null,this,a,b,c)}, +bQ:function(a,b,c){return this.bR(a,b,c,null,null,null)}, +bN:function(a){return a}, +aR:function(a){return this.bN(a,null,null,null)}} +P.d6.prototype={ +$0:function(){return this.a.aS(this.b)}} +P.d5.prototype={ +$0:function(){return this.a.bS(this.b)}} +P.d7.prototype={ +$1:function(a){return this.a.bV(this.b,a)}, +$S:function(){return{func:1,ret:-1,args:[this.c]}}} +P.aB.prototype={ +gi:function(a){return this.a}, +gm:function(a){return this.a===0}, +gq:function(a){return new P.cW(this,[H.h(this,0)])}, +t:function(a){var u,t +if(typeof a==="string"&&a!=="__proto__"){u=this.b +return u==null?!1:u[a]!=null}else if(typeof a==="number"&&(a&1073741823)===a){t=this.c +return t==null?!1:t[a]!=null}else return this.az(a)}, +az:function(a){var u=this.d +if(u==null)return!1 +return this.D(this.N(u,a),a)>=0}, +h:function(a,b){var u,t,s +if(typeof b==="string"&&b!=="__proto__"){u=this.b +t=u==null?null:P.ez(u,b) +return t}else if(typeof b==="number"&&(b&1073741823)===b){s=this.c +t=s==null?null:P.ez(s,b) +return t}else return this.aB(b)}, +aB:function(a){var u,t,s=this.d +if(s==null)return +u=this.N(s,a) +t=this.D(u,a) +return t<0?null:u[t+1]}, +k:function(a,b,c){var u,t,s=this +if(typeof b==="string"&&b!=="__proto__"){u=s.b +s.as(u==null?s.b=P.dV():u,b,c)}else if(typeof b==="number"&&(b&1073741823)===b){t=s.c +s.as(t==null?s.c=P.dV():t,b,c)}else s.aG(b,c)}, +aG:function(a,b){var u,t,s,r=this,q=r.d +if(q==null)q=r.d=P.dV() +u=r.H(a) +t=q[u] +if(t==null){P.dW(q,u,[a,b]);++r.a +r.e=null}else{s=r.D(t,a) +if(s>=0)t[s+1]=b +else{t.push(a,b);++r.a +r.e=null}}}, +u:function(a,b){var u,t,s,r=this,q=r.ax() +for(u=q.length,t=0;t=t.length){u.d=null +return!1}else{u.d=t[s] +u.c=s+1 +return!0}}} +P.aC.prototype={ +gp:function(a){return new P.cY(this,this.bb())}, +gi:function(a){return this.a}, +gm:function(a){return this.a===0}, +A:function(a,b){var u,t +if(typeof b==="string"&&b!=="__proto__"){u=this.b +return u==null?!1:u[b]!=null}else if(typeof b==="number"&&(b&1073741823)===b){t=this.c +return t==null?!1:t[b]!=null}else return this.ay(b)}, +ay:function(a){var u=this.d +if(u==null)return!1 +return this.D(this.N(u,a),a)>=0}, +F:function(a,b){var u,t,s=this +if(typeof b==="string"&&b!=="__proto__"){u=s.b +return s.ar(u==null?s.b=P.dX():u,b)}else if(typeof b==="number"&&(b&1073741823)===b){t=s.c +return s.ar(t==null?s.c=P.dX():t,b)}else return s.aq(b)}, +aq:function(a){var u,t,s=this,r=s.d +if(r==null)r=s.d=P.dX() +u=s.H(a) +t=r[u] +if(t==null)r[u]=[a] +else{if(s.D(t,a)>=0)return!1 +t.push(a)}++s.a +s.e=null +return!0}, +a2:function(a,b){var u=this +if(typeof b==="string"&&b!=="__proto__")return u.aF(u.b,b) +else if(typeof b==="number"&&(b&1073741823)===b)return u.aF(u.c,b) +else return u.V(b)}, +V:function(a){var u,t,s=this,r=s.d +if(r==null)return!1 +u=s.N(r,a) +t=s.D(u,a) +if(t<0)return!1;--s.a +s.e=null +u.splice(t,1) +return!0}, +bb:function(){var u,t,s,r,q,p,o,n,m,l,k,j=this,i=j.e +if(i!=null)return i +u=new Array(j.a) +u.fixed$length=Array +t=j.b +if(t!=null){s=Object.getOwnPropertyNames(t) +r=s.length +for(q=0,p=0;p=t.length){u.d=null +return!1}else{u.d=t[s] +u.c=s+1 +return!0}}} +P.bH.prototype={ +gi:function(a){var u,t=this,s=H.h(t,0),r=new P.aH(t,H.j([],[[P.M,s]]),t.b,t.c,[s]) +r.L(t.d) +for(u=0;r.l();)++u +return u}, +gm:function(a){var u=this,t=H.h(u,0) +t=new P.aH(u,H.j([],[[P.M,t]]),u.b,u.c,[t]) +t.L(u.d) +return!t.l()}, +j:function(a){return P.en(this,"(",")")}} +P.R.prototype={ +gp:function(a){return new H.ar(a,this.gi(a))}, +B:function(a,b){return this.h(a,b)}, +gm:function(a){return this.gi(a)===0}, +gO:function(a){return this.gi(a)!==0}, +ao:function(a,b){H.ev(a,b)}, +E:function(a,b){var u=this,t=H.j([],[H.hr(u,a,"R",0)]) +C.a.si(t,C.c.E(u.gi(a),b.gi(b))) +C.a.R(t,0,u.gi(a),a) +C.a.R(t,u.gi(a),t.length,b) +return t}, +j:function(a){return P.aq(a,"[","]")}} +P.bY.prototype={} +P.bZ.prototype={ +$2:function(a,b){var u,t=this.a +if(!t.a)this.b.a+=", " +t.a=!1 +t=this.b +u=t.a+=H.b(a) +t.a=u+": " +t.a+=H.b(b)}, +$S:5} +P.T.prototype={ +I:function(a,b,c){return P.er(this,H.e6(this,"T",0),H.e6(this,"T",1),b,c)}, +u:function(a,b){var u,t +for(u=this.gq(this),u=u.gp(u);u.l();){t=u.gn() +b.$2(t,this.h(0,t))}}, +t:function(a){return this.gq(this).A(0,a)}, +gi:function(a){var u=this.gq(this) +return u.gi(u)}, +gm:function(a){var u=this.gq(this) +return u.gm(u)}, +j:function(a){return P.dR(this)}, +$iS:1} +P.dd.prototype={ +k:function(a,b,c){throw H.c(P.D("Cannot modify unmodifiable map"))}} +P.c_.prototype={ +I:function(a,b,c){return this.a.I(0,b,c)}, +h:function(a,b){return this.a.h(0,b)}, +t:function(a){return this.a.t(a)}, +u:function(a,b){this.a.u(0,b)}, +gm:function(a){var u=this.a +return u.gm(u)}, +gi:function(a){var u=this.a +return u.gi(u)}, +gq:function(a){var u=this.a +return u.gq(u)}, +j:function(a){return this.a.j(0)}, +$iS:1} +P.bb.prototype={ +I:function(a,b,c){return new P.bb(this.a.I(0,b,c),[b,c])}} +P.bW.prototype={ +gp:function(a){var u=this +return new P.d3(u,u.c,u.d,u.b)}, +gm:function(a){return this.b===this.c}, +gi:function(a){return(this.c-this.b&this.a.length-1)>>>0}, +B:function(a,b){var u,t=this,s=t.gi(t) +if(0>b||b>=s)H.r(P.dK(b,t,"index",null,s)) +u=t.a +return u[(t.b+b&u.length-1)>>>0]}, +j:function(a){return P.aq(this,"{","}")}} +P.d3.prototype={ +gn:function(){return this.e}, +l:function(){var u,t=this,s=t.a +if(t.c!==s.d)H.r(P.x(s)) +u=t.d +if(u===t.b){t.e=null +return!1}s=s.a +t.e=s[u] +t.d=(u+1&s.length-1)>>>0 +return!0}} +P.cd.prototype={ +gm:function(a){return this.a===0}, +j:function(a){return P.aq(this,"{","}")}} +P.d8.prototype={ +gm:function(a){return this.gi(this)===0}, +j:function(a){return P.aq(this,"{","}")}, +$il:1} +P.M.prototype={} +P.d9.prototype={ +bi:function(a){var u,t +for(u=a;t=u.b,t!=null;u=t){u.b=t.c +t.c=u}return u}, +bh:function(a){var u,t +for(u=a;t=u.c,t!=null;u=t){u.c=t.b +t.b=u}return u}, +Y:function(a){var u,t,s,r,q,p,o,n,m=this,l=m.d +if(l==null)return-1 +u=m.e +for(t=u,s=t,r=null;!0;){q=l.a +p=m.f +r=p.$2(q,a) +if(r>0){q=l.b +if(q==null)break +r=p.$2(q.a,a) +if(r>0){o=l.b +l.b=o.c +o.c=l +if(o.b==null){l=o +break}l=o}t.b=l +n=l.b +t=l +l=n}else{if(r<0){q=l.c +if(q==null)break +r=p.$2(q.a,a) +if(r<0){o=l.c +l.c=o.b +o.b=l +if(o.c==null){l=o +break}l=o}s.c=l +n=l.c}else break +s=l +l=n}}s.c=l.b +t.b=l.c +l.b=u.c +l.c=u.b +m.d=l +u.b=u.c=null;++m.c +return r}, +V:function(a){var u,t,s,r=this +if(r.d==null)return +if(r.Y(a)!==0)return +u=r.d;--r.a +t=u.b +if(t==null)r.d=u.c +else{s=u.c +t=r.bh(t) +r.d=t +t.c=s}++r.b +return u}, +au:function(a,b){var u,t=this;++t.a;++t.b +u=t.d +if(u==null){t.d=a +return}if(b<0){a.b=u +a.c=u.c +u.c=null}else{a.c=u +a.b=u.b +u.b=null}t.d=a}, +gbe:function(){var u=this.d +if(u==null)return +return this.d=this.bi(u)}} +P.bf.prototype={ +gn:function(){var u=this.e +if(u==null)return +return u.a}, +L:function(a){var u +for(u=this.b;a!=null;){u.push(a) +a=a.b}}, +l:function(){var u,t,s=this,r=s.a +if(s.c!==r.b)throw H.c(P.x(r)) +u=s.b +if(u.length===0){s.e=null +return!1}if(r.c!==s.d&&s.e!=null){t=s.e +C.a.si(u,0) +if(t==null)s.L(r.d) +else{r.Y(t.a) +s.L(r.d.c)}}r=u.pop() +s.e=r +s.L(r.c) +return!0}} +P.aH.prototype={ +$abf:function(a){return[a,a]}} +P.ce.prototype={ +gp:function(a){var u=this,t=new P.aH(u,H.j([],[[P.M,H.h(u,0)]]),u.b,u.c,u.$ti) +t.L(u.d) +return t}, +gi:function(a){return this.a}, +gm:function(a){return this.d==null}, +F:function(a,b){var u=this.Y(b) +if(u===0)return!1 +this.au(new P.M(b),u) +return!0}, +a2:function(a,b){if(!this.r.$1(b))return!1 +return this.V(b)!=null}, +Z:function(a,b){var u,t,s,r +for(u=b.length,t=0;t92)continue +if(q<32){if(r>s)t.a+=C.d.S(a,s,r) +s=r+1 +t.a+=H.t(92) +switch(q){case 8:t.a+=H.t(98) +break +case 9:t.a+=H.t(116) +break +case 10:t.a+=H.t(110) +break +case 12:t.a+=H.t(102) +break +case 13:t.a+=H.t(114) +break +default:t.a+=H.t(117) +t.a+=H.t(48) +t.a+=H.t(48) +p=q>>>4&15 +t.a+=H.t(p<10?48+p:87+p) +p=q&15 +t.a+=H.t(p<10?48+p:87+p) +break}}else if(q===34||q===92){if(r>s)t.a+=C.d.S(a,s,r) +s=r+1 +t.a+=H.t(92) +t.a+=H.t(q)}}if(s===0)t.a+=H.b(a) +else if(ss)u=": Not in range "+H.b(s)+".."+H.b(t)+", inclusive" +else u=t=200&&s<300,q=s>307&&s<400 +s=r||s===0||s===304||q +u=this.b +if(s)u.w(t) +else u.af(a)}} +W.aV.prototype={} +W.b_.prototype={ +gbM:function(a){if("origin" in a)return a.origin +return H.b(a.protocol)+"//"+H.b(a.host)}, +j:function(a){return String(a)}} +W.b1.prototype={$ib1:1} +W.b5.prototype={ +j:function(a){var u=a.nodeValue +return u==null?this.b_(a):u}} +W.ax.prototype={$iax:1} +W.cF.prototype={ +bk:function(){var u=this,t=u.d +if(t!=null&&u.a<=0)J.f7(u.b,u.c,t,!1)}} +W.cG.prototype={ +$1:function(a){return this.a.$1(a)}} +P.cp.prototype={ +aM:function(a){var u,t=this.a,s=t.length +for(u=0;u>>0 +t.c=r +if(t.b===r){s=new Array(s*2) +s.fixed$length=Array +q=H.j(s,[H.h(t,0)]) +s=t.a +r=t.b +p=s.length-r +C.a.a5(q,0,p,s,r) +C.a.a5(q,p,p+t.b,t.a,0) +t.b=0 +t.c=t.a.length +t.a=q}++t.d +s=j.e +s.F(0,a) +r=j.f.$1(a) +r=J.ak(r==null?C.z:r) +for(;r.l();){o=r.gn() +if(!i.t(o)){j.$1(o) +n=u.h(0,a) +m=u.h(0,o) +u.k(0,a,Math.min(H.dq(n),H.dq(m)))}else if(s.A(0,o)){n=u.h(0,a) +m=i.h(0,o) +u.k(0,a,Math.min(H.dq(n),H.dq(m)))}}if(J.p(u.h(0,a),i.h(0,a))){l=H.j([],[j.x]) +do{i=t.b +u=t.c +if(i===u)H.r(H.eo());++t.d +i=t.a +u=t.c=(u-1&i.length-1)>>>0 +k=i[u] +i[u]=null +s.a2(0,k) +l.push(k)}while(!h.a.$2(k,a)) +j.r.push(l)}}, +$S:function(){return{func:1,ret:-1,args:[this.x]}}} +D.aU.prototype={} +D.aZ.prototype={ +ak:function(){var u=this.a +if(u!=null&&"hot$onDestroy" in u)return J.fe(u) +return}, +al:function(a){var u=this.a +if(u!=null&&"hot$onSelfUpdate" in u)return J.ff(u,a) +return}, +aj:function(a,b,c){var u=this.a +if(u!=null&&"hot$onChildUpdate" in u)return J.fd(u,a,b.a,c) +return}} +D.dO.prototype={} +D.bM.prototype={} +D.dJ.prototype={} +D.dj.prototype={ +$1:function(a){return new D.aZ(a)}} +D.dk.prototype={ +$0:function(){this.a.w(D.eB(this.b))}, +$C:"$0", +$R:0} +D.dl.prototype={ +$1:function(a){return this.a.J(new L.ap(J.fb(a)),this.b)}} +D.dz.prototype={ +$1:function(a){a.length +return H.hH(a,this.a,"",0)}} +D.dA.prototype={ +$1:function(a){return J.eg(J.ee(self.$dartLoader),a)}} +D.dB.prototype={ +$0:function(){return D.eO(J.ee(self.$dartLoader),P.d,[P.u,P.d])}} +D.dD.prototype={ +$1:function(a){return J.eg(J.ef(self.$dartLoader),C.d.E(this.a,a))}} +D.dC.prototype={ +$1:function(a){return this.a.a0(H.eT(new P.bc([],[]).aL(a.data,!0)))}};(function aliases(){var u=J.q.prototype +u.b_=u.j +u.aZ=u.a1 +u=J.aX.prototype +u.b0=u.j +u=P.aB.prototype +u.b1=u.az +u.b2=u.aB +u.b3=u.aG +u=P.aC.prototype +u.b5=u.ay +u.b4=u.aq +u.b6=u.V})();(function installTearOffs(){var u=hunkHelpers._static_1,t=hunkHelpers._static_0,s=hunkHelpers.installInstanceTearOff,r=hunkHelpers._instance_2u,q=hunkHelpers._static_2 +u(P,"hh","fS",3) +u(P,"hi","fT",3) +u(P,"hj","fU",3) +t(P,"eI","he",6) +s(P.be.prototype,"gaK",0,1,function(){return[null]},["$2","$1"],["J","af"],10,0) +s(P.bj.prototype,"gbr",0,0,null,["$1","$0"],["w","a_"],11,0) +u(P,"eJ","h3",17) +u(P,"hl","h4",0) +r(L.b8.prototype,"gaO","bK",16) +q(L,"hK","h2",18) +u(D,"ht","eB",19) +u(D,"hu","ha",20) +t(D,"hv","hb",6)})();(function inheritance(){var u=hunkHelpers.mixin,t=hunkHelpers.inherit,s=hunkHelpers.inheritMany +t(P.f,null) +s(P.f,[H.dM,J.q,J.a_,P.a4,H.bu,P.T,H.an,H.ar,H.aT,H.aA,P.c_,H.by,H.bK,H.ck,P.a1,H.ao,H.bi,H.bT,H.bV,P.db,P.cr,P.m,P.be,P.cI,P.n,P.bd,P.ch,P.ci,P.da,P.a0,P.de,P.cX,P.d8,P.cY,P.bH,P.R,P.dd,P.d3,P.cd,P.M,P.d9,P.bf,P.bw,P.d1,P.N,P.aR,P.aM,P.ba,P.cH,P.bE,P.u,P.i,P.v,P.d,P.U,P.L,P.cp,G.bS,G.K,S.cb,L.ap,L.b8,D.aZ]) +s(J.q,[J.bI,J.bL,J.aX,J.H,J.Q,J.I,H.at,W.G,W.bD,W.a,W.b_]) +s(J.aX,[J.c9,J.V,J.J,D.aU,D.dO,D.bM,D.dJ]) +t(J.dL,J.H) +s(J.Q,[J.aW,J.bJ]) +s(P.a4,[H.cy,H.l,H.cz]) +t(H.aP,H.cy) +t(H.cE,H.aP) +t(P.bY,P.T) +s(P.bY,[H.aQ,H.a5,P.aB,P.cZ]) +s(H.an,[H.bv,H.ca,H.dH,H.cj,H.dv,H.dw,H.dx,P.cv,P.cu,P.cw,P.cx,P.dc,P.ct,P.cs,P.dg,P.dh,P.dp,P.cJ,P.cR,P.cN,P.cO,P.cP,P.cL,P.cQ,P.cK,P.cU,P.cV,P.cT,P.cS,P.dn,P.d6,P.d5,P.d7,P.cB,P.cD,P.bZ,P.cf,P.d2,P.c7,W.bF,W.cG,P.cq,P.dr,P.ds,L.dG,D.dj,D.dk,D.dl,D.dz,D.dA,D.dB,D.dD,D.dC]) +s(H.l,[H.a6,H.bU,P.cW]) +s(H.a6,[H.b0,P.bW,P.d_]) +t(P.bk,P.c_) +t(P.bb,P.bk) +t(H.bz,P.bb) +t(H.bA,H.by) +s(P.a1,[H.c8,H.bN,H.cn,H.bs,H.cc,P.aY,P.au,P.F,P.c6,P.co,P.cm,P.ay,P.bx,P.bC]) +s(H.cj,[H.cg,H.al]) +t(H.b2,H.at) +s(H.b2,[H.aD,H.aF]) +t(H.aE,H.aD) +t(H.as,H.aE) +t(H.aG,H.aF) +t(H.b3,H.aG) +s(H.b3,[H.c0,H.c1,H.c2,H.c3,H.c4,H.b4,H.c5]) +s(P.be,[P.W,P.bj]) +t(P.d4,P.de) +t(P.cA,P.aB) +t(P.aC,P.d8) +t(P.cC,P.aC) +t(P.aH,P.bf) +t(P.bg,P.d9) +t(P.bh,P.bg) +t(P.ce,P.bh) +t(P.bB,P.ci) +t(P.bP,P.aY) +t(P.bO,P.bw) +s(P.bB,[P.bR,P.bQ]) +t(P.d0,P.d1) +s(P.aM,[P.af,P.o]) +s(P.F,[P.b6,P.bG]) +s(W.G,[W.b5,W.aV]) +t(W.P,W.b5) +t(W.a3,W.aV) +s(W.a,[W.b1,W.ax]) +t(W.cF,P.ch) +t(P.bc,P.cp) +u(H.aD,P.R) +u(H.aE,H.aT) +u(H.aF,P.R) +u(H.aG,H.aT) +u(P.bg,P.bH) +u(P.bh,P.cd) +u(P.bk,P.dd)})();(function constants(){var u=hunkHelpers.makeConstList +C.t=W.a3.prototype +C.u=J.q.prototype +C.a=J.H.prototype +C.c=J.aW.prototype +C.v=J.Q.prototype +C.d=J.I.prototype +C.w=J.J.prototype +C.B=W.b_.prototype +C.l=J.c9.prototype +C.e=J.V.prototype +C.f=function getTagFallback(o) { + var s = Object.prototype.toString.call(o); + return s.substring(8, s.length - 1); +} +C.m=function() { + var toStringFunction = Object.prototype.toString; + function getTag(o) { + var s = toStringFunction.call(o); + return s.substring(8, s.length - 1); + } + function getUnknownTag(object, tag) { + if (/^HTML[A-Z].*Element$/.test(tag)) { + var name = toStringFunction.call(object); + if (name == "[object Object]") return null; + return "HTMLElement"; + } + } + function getUnknownTagGenericBrowser(object, tag) { + if (self.HTMLElement && object instanceof HTMLElement) return "HTMLElement"; + return getUnknownTag(object, tag); + } + function prototypeForTag(tag) { + if (typeof window == "undefined") return null; + if (typeof window[tag] == "undefined") return null; + var constructor = window[tag]; + if (typeof constructor != "function") return null; + return constructor.prototype; + } + function discriminator(tag) { return null; } + var isBrowser = typeof navigator == "object"; + return { + getTag: getTag, + getUnknownTag: isBrowser ? getUnknownTagGenericBrowser : getUnknownTag, + prototypeForTag: prototypeForTag, + discriminator: discriminator }; +} +C.r=function(getTagFallback) { + return function(hooks) { + if (typeof navigator != "object") return hooks; + var ua = navigator.userAgent; + if (ua.indexOf("DumpRenderTree") >= 0) return hooks; + if (ua.indexOf("Chrome") >= 0) { + function confirm(p) { + return typeof window == "object" && window[p] && window[p].name == p; + } + if (confirm("Window") && confirm("HTMLElement")) return hooks; + } + hooks.getTag = getTagFallback; + }; +} +C.n=function(hooks) { + if (typeof dartExperimentalFixupGetTag != "function") return hooks; + hooks.getTag = dartExperimentalFixupGetTag(hooks.getTag); +} +C.o=function(hooks) { + var getTag = hooks.getTag; + var prototypeForTag = hooks.prototypeForTag; + function getTagFixed(o) { + var tag = getTag(o); + if (tag == "Document") { + if (!!o.xmlVersion) return "!Document"; + return "!HTMLDocument"; + } + return tag; + } + function prototypeForTagFixed(tag) { + if (tag == "Document") return null; + return prototypeForTag(tag); + } + hooks.getTag = getTagFixed; + hooks.prototypeForTag = prototypeForTagFixed; +} +C.q=function(hooks) { + var userAgent = typeof navigator == "object" ? navigator.userAgent : ""; + if (userAgent.indexOf("Firefox") == -1) return hooks; + var getTag = hooks.getTag; + var quickMap = { + "BeforeUnloadEvent": "Event", + "DataTransfer": "Clipboard", + "GeoGeolocation": "Geolocation", + "Location": "!Location", + "WorkerMessageEvent": "MessageEvent", + "XMLDocument": "!Document"}; + function getTagFirefox(o) { + var tag = getTag(o); + return quickMap[tag] || tag; + } + hooks.getTag = getTagFirefox; +} +C.p=function(hooks) { + var userAgent = typeof navigator == "object" ? navigator.userAgent : ""; + if (userAgent.indexOf("Trident/") == -1) return hooks; + var getTag = hooks.getTag; + var quickMap = { + "BeforeUnloadEvent": "Event", + "DataTransfer": "Clipboard", + "HTMLDDElement": "HTMLElement", + "HTMLDTElement": "HTMLElement", + "HTMLPhraseElement": "HTMLElement", + "Position": "Geoposition" + }; + function getTagIE(o) { + var tag = getTag(o); + var newTag = quickMap[tag]; + if (newTag) return newTag; + if (tag == "Object") { + if (window.DataView && (o instanceof window.DataView)) return "DataView"; + } + return tag; + } + function prototypeForTagIE(tag) { + var constructor = window[tag]; + if (constructor == null) return null; + return constructor.prototype; + } + hooks.getTag = getTagIE; + hooks.prototypeForTag = prototypeForTagIE; +} +C.h=function(hooks) { return hooks; } + +C.i=new P.bO() +C.b=new P.d4() +C.x=new P.bQ(null) +C.y=new P.bR(null) +C.z=H.j(u([]),[P.i]) +C.j=u([]) +C.A=H.j(u([]),[P.L]) +C.k=new H.bA(0,{},C.A,[P.L,null]) +C.C=new H.aA("call")})() +var v={mangledGlobalNames:{o:"int",af:"double",aM:"num",d:"String",N:"bool",i:"Null",u:"List"},mangledNames:{},getTypeFromName:getGlobalFromName,metadata:[],types:[{func:1,args:[,]},{func:1,ret:-1,args:[,]},{func:1,ret:P.N,args:[,]},{func:1,ret:-1,args:[{func:1,ret:-1}]},{func:1,ret:P.i,args:[,]},{func:1,ret:P.i,args:[,,]},{func:1,ret:-1},{func:1,ret:P.i,args:[P.d,,]},{func:1,ret:P.i,args:[,P.v]},{func:1,ret:P.i,args:[P.o,,]},{func:1,ret:-1,args:[P.f],opt:[P.v]},{func:1,ret:-1,opt:[P.f]},{func:1,ret:P.i,args:[,],opt:[P.v]},{func:1,ret:[P.n,,],args:[,]},{func:1,ret:P.i,args:[P.L,,]},{func:1,args:[,,]},{func:1,ret:P.o,args:[P.d,P.d]},{func:1,ret:P.o,args:[,]},{func:1,ret:P.N,args:[,,]},{func:1,ret:G.K,args:[P.d]},{func:1,ret:[P.m,G.K],args:[P.d]}],interceptorsByTag:null,leafTags:null};(function staticFields(){$.B=0 +$.am=null +$.ej=null +$.eM=null +$.eG=null +$.eR=null +$.dt=null +$.dy=null +$.e7=null +$.aa=null +$.aI=null +$.aJ=null +$.e0=!1 +$.e=C.b +$.Y=[]})();(function lazyInitializers(){var u=hunkHelpers.lazy +u($,"hN","ea",function(){return H.eL("_$dart_dartClosure")}) +u($,"hP","eb",function(){return H.eL("_$dart_js")}) +u($,"hR","eV",function(){return H.C(H.cl({ +toString:function(){return"$receiver$"}}))}) +u($,"hS","eW",function(){return H.C(H.cl({$method$:null, +toString:function(){return"$receiver$"}}))}) +u($,"hT","eX",function(){return H.C(H.cl(null))}) +u($,"hU","eY",function(){return H.C(function(){var $argumentsExpr$='$arguments$' +try{null.$method$($argumentsExpr$)}catch(t){return t.message}}())}) +u($,"hX","f0",function(){return H.C(H.cl(void 0))}) +u($,"hY","f1",function(){return H.C(function(){var $argumentsExpr$='$arguments$' +try{(void 0).$method$($argumentsExpr$)}catch(t){return t.message}}())}) +u($,"hW","f_",function(){return H.C(H.ex(null))}) +u($,"hV","eZ",function(){return H.C(function(){try{null.$method$}catch(t){return t.message}}())}) +u($,"i_","f3",function(){return H.C(H.ex(void 0))}) +u($,"hZ","f2",function(){return H.C(function(){try{(void 0).$method$}catch(t){return t.message}}())}) +u($,"i0","ec",function(){return P.fR()}) +u($,"i1","f4",function(){return new Error().stack!=void 0})})();(function nativeSupport(){!function(){var u=function(a){var o={} +o[a]=1 +return Object.keys(hunkHelpers.convertToFastObject(o))[0]} +v.getIsolateTag=function(a){return u("___dart_"+a+v.isolateTag)} +var t="___dart_isolate_tags_" +var s=Object[t]||(Object[t]=Object.create(null)) +var r="_ZxYxX" +for(var q=0;;q++){var p=u(r+"_"+q+"_") +if(!(p in s)){s[p]=1 +v.isolateTag=p +break}}v.dispatchPropertyName=v.getIsolateTag("dispatch_record")}() +hunkHelpers.setOrUpdateInterceptorsByTag({ArrayBuffer:J.q,Blob:J.q,DOMError:J.q,File:J.q,MediaError:J.q,NavigatorUserMediaError:J.q,OverconstrainedError:J.q,PositionError:J.q,SQLError:J.q,DataView:H.at,ArrayBufferView:H.at,Float32Array:H.as,Float64Array:H.as,Int16Array:H.c0,Int32Array:H.c1,Int8Array:H.c2,Uint16Array:H.c3,Uint32Array:H.c4,Uint8ClampedArray:H.b4,CanvasPixelArray:H.b4,Uint8Array:H.c5,Document:W.P,HTMLDocument:W.P,XMLDocument:W.P,DOMException:W.bD,AbortPaymentEvent:W.a,AnimationEvent:W.a,AnimationPlaybackEvent:W.a,ApplicationCacheErrorEvent:W.a,BackgroundFetchClickEvent:W.a,BackgroundFetchEvent:W.a,BackgroundFetchFailEvent:W.a,BackgroundFetchedEvent:W.a,BeforeInstallPromptEvent:W.a,BeforeUnloadEvent:W.a,BlobEvent:W.a,CanMakePaymentEvent:W.a,ClipboardEvent:W.a,CloseEvent:W.a,CompositionEvent:W.a,CustomEvent:W.a,DeviceMotionEvent:W.a,DeviceOrientationEvent:W.a,ErrorEvent:W.a,ExtendableEvent:W.a,ExtendableMessageEvent:W.a,FetchEvent:W.a,FocusEvent:W.a,FontFaceSetLoadEvent:W.a,ForeignFetchEvent:W.a,GamepadEvent:W.a,HashChangeEvent:W.a,InstallEvent:W.a,KeyboardEvent:W.a,MediaEncryptedEvent:W.a,MediaKeyMessageEvent:W.a,MediaQueryListEvent:W.a,MediaStreamEvent:W.a,MediaStreamTrackEvent:W.a,MIDIConnectionEvent:W.a,MIDIMessageEvent:W.a,MouseEvent:W.a,DragEvent:W.a,MutationEvent:W.a,NotificationEvent:W.a,PageTransitionEvent:W.a,PaymentRequestEvent:W.a,PaymentRequestUpdateEvent:W.a,PointerEvent:W.a,PopStateEvent:W.a,PresentationConnectionAvailableEvent:W.a,PresentationConnectionCloseEvent:W.a,PromiseRejectionEvent:W.a,PushEvent:W.a,RTCDataChannelEvent:W.a,RTCDTMFToneChangeEvent:W.a,RTCPeerConnectionIceEvent:W.a,RTCTrackEvent:W.a,SecurityPolicyViolationEvent:W.a,SensorErrorEvent:W.a,SpeechRecognitionError:W.a,SpeechRecognitionEvent:W.a,SpeechSynthesisEvent:W.a,StorageEvent:W.a,SyncEvent:W.a,TextEvent:W.a,TouchEvent:W.a,TrackEvent:W.a,TransitionEvent:W.a,WebKitTransitionEvent:W.a,UIEvent:W.a,VRDeviceEvent:W.a,VRDisplayEvent:W.a,VRSessionEvent:W.a,WheelEvent:W.a,MojoInterfaceRequestEvent:W.a,USBConnectionEvent:W.a,IDBVersionChangeEvent:W.a,AudioProcessingEvent:W.a,OfflineAudioCompletionEvent:W.a,WebGLContextEvent:W.a,Event:W.a,InputEvent:W.a,MessagePort:W.G,WebSocket:W.G,Window:W.G,DOMWindow:W.G,EventTarget:W.G,XMLHttpRequest:W.a3,XMLHttpRequestEventTarget:W.aV,Location:W.b_,MessageEvent:W.b1,Node:W.b5,ProgressEvent:W.ax,ResourceProgressEvent:W.ax}) +hunkHelpers.setOrUpdateLeafTags({ArrayBuffer:true,Blob:true,DOMError:true,File:true,MediaError:true,NavigatorUserMediaError:true,OverconstrainedError:true,PositionError:true,SQLError:true,DataView:true,ArrayBufferView:false,Float32Array:true,Float64Array:true,Int16Array:true,Int32Array:true,Int8Array:true,Uint16Array:true,Uint32Array:true,Uint8ClampedArray:true,CanvasPixelArray:true,Uint8Array:false,Document:true,HTMLDocument:true,XMLDocument:true,DOMException:true,AbortPaymentEvent:true,AnimationEvent:true,AnimationPlaybackEvent:true,ApplicationCacheErrorEvent:true,BackgroundFetchClickEvent:true,BackgroundFetchEvent:true,BackgroundFetchFailEvent:true,BackgroundFetchedEvent:true,BeforeInstallPromptEvent:true,BeforeUnloadEvent:true,BlobEvent:true,CanMakePaymentEvent:true,ClipboardEvent:true,CloseEvent:true,CompositionEvent:true,CustomEvent:true,DeviceMotionEvent:true,DeviceOrientationEvent:true,ErrorEvent:true,ExtendableEvent:true,ExtendableMessageEvent:true,FetchEvent:true,FocusEvent:true,FontFaceSetLoadEvent:true,ForeignFetchEvent:true,GamepadEvent:true,HashChangeEvent:true,InstallEvent:true,KeyboardEvent:true,MediaEncryptedEvent:true,MediaKeyMessageEvent:true,MediaQueryListEvent:true,MediaStreamEvent:true,MediaStreamTrackEvent:true,MIDIConnectionEvent:true,MIDIMessageEvent:true,MouseEvent:true,DragEvent:true,MutationEvent:true,NotificationEvent:true,PageTransitionEvent:true,PaymentRequestEvent:true,PaymentRequestUpdateEvent:true,PointerEvent:true,PopStateEvent:true,PresentationConnectionAvailableEvent:true,PresentationConnectionCloseEvent:true,PromiseRejectionEvent:true,PushEvent:true,RTCDataChannelEvent:true,RTCDTMFToneChangeEvent:true,RTCPeerConnectionIceEvent:true,RTCTrackEvent:true,SecurityPolicyViolationEvent:true,SensorErrorEvent:true,SpeechRecognitionError:true,SpeechRecognitionEvent:true,SpeechSynthesisEvent:true,StorageEvent:true,SyncEvent:true,TextEvent:true,TouchEvent:true,TrackEvent:true,TransitionEvent:true,WebKitTransitionEvent:true,UIEvent:true,VRDeviceEvent:true,VRDisplayEvent:true,VRSessionEvent:true,WheelEvent:true,MojoInterfaceRequestEvent:true,USBConnectionEvent:true,IDBVersionChangeEvent:true,AudioProcessingEvent:true,OfflineAudioCompletionEvent:true,WebGLContextEvent:true,Event:false,InputEvent:false,MessagePort:true,WebSocket:true,Window:true,DOMWindow:true,EventTarget:false,XMLHttpRequest:true,XMLHttpRequestEventTarget:false,Location:true,MessageEvent:true,Node:false,ProgressEvent:true,ResourceProgressEvent:true}) +H.b2.$nativeSuperclassTag="ArrayBufferView" +H.aD.$nativeSuperclassTag="ArrayBufferView" +H.aE.$nativeSuperclassTag="ArrayBufferView" +H.as.$nativeSuperclassTag="ArrayBufferView" +H.aF.$nativeSuperclassTag="ArrayBufferView" +H.aG.$nativeSuperclassTag="ArrayBufferView" +H.b3.$nativeSuperclassTag="ArrayBufferView"})() +Function.prototype.$0=function(){return this()} +Function.prototype.$2$0=function(){return this()} +Function.prototype.$1=function(a){return this(a)} +Function.prototype.$2=function(a,b){return this(a,b)} +Function.prototype.$3=function(a,b,c){return this(a,b,c)} +Function.prototype.$1$1=function(a){return this(a)} +Function.prototype.$4=function(a,b,c,d){return this(a,b,c,d)} +convertAllToFastObject(w) +convertToFastObject($);(function(a){if(typeof document==="undefined"){a(null) +return}if(typeof document.currentScript!='undefined'){a(document.currentScript) +return}var u=document.scripts +function onLoad(b){for(var s=0;s + + + + + Asset Graph visualization + + + + + + +
+
+
+ + + +
+
+
+
+
+
+
+ +
+
+ + + + + + + diff --git a/v0.19.4/packages/build_runner/src/server/graph_viz.js b/v0.19.4/packages/build_runner/src/server/graph_viz.js new file mode 100644 index 000000000..90876a75a --- /dev/null +++ b/v0.19.4/packages/build_runner/src/server/graph_viz.js @@ -0,0 +1,38 @@ +window.$build = {} +window.$build.initializeGraph = function (scope) { + scope.options = { + layout: { + hierarchical: { enabled: true } + }, + physics: { enabled: true }, + configure: { + showButton: false + }, + edges: { + arrows: { + to: { + enabled: true + } + } + } + }; + scope.graphContainer = document.getElementById('graph'); + scope.network = new vis.Network( + scope.graphContainer, { nodes: [], edges: [] }, scope.options); + scope.network.on('doubleClick', function (event) { + if (event.nodes.length >= 1) { + var nodeId = event.nodes[0]; + scope.onFocus(nodeId); + return null; + } + }); + + return function (onFocus) { + scope.onFocus = onFocus; + }; +}(window.$build); +window.$build.setData = function (scope) { + return function (data) { + scope.network.setData(data); + } +}(window.$build); diff --git a/v0.19.4/packages/build_runner/src/server/graph_viz_main.dart.js b/v0.19.4/packages/build_runner/src/server/graph_viz_main.dart.js new file mode 100644 index 000000000..207cc6410 --- /dev/null +++ b/v0.19.4/packages/build_runner/src/server/graph_viz_main.dart.js @@ -0,0 +1,3461 @@ +{}(function dartProgram(){function copyProperties(a,b){var u=Object.keys(a) +for(var t=0;t=0)return true +if(typeof version=="function"&&version.length==0){var s=version() +if(/^\d+\.\d+\.\d+\.\d+$/.test(s))return true}}catch(r){}return false}() +function setFunctionNamesIfNecessary(a){function t(){};if(typeof t.name=="string")return +for(var u=0;u1&&C.a.D(t,0)===36?C.a.af(t,1):t)}, +ho:function(a){var u +if(0<=a){if(a<=65535)return String.fromCharCode(a) +if(a<=1114111){u=a-65536 +return String.fromCharCode((55296|C.d.a9(u,10))>>>0,56320|u&1023)}}throw H.e(P.bd(a,0,1114111,null,null))}, +S:function(a){if(a.date===void 0)a.date=new Date(a.a) +return a.date}, +hn:function(a){var u=H.S(a).getFullYear()+0 +return u}, +hl:function(a){var u=H.S(a).getMonth()+1 +return u}, +hh:function(a){var u=H.S(a).getDate()+0 +return u}, +hi:function(a){var u=H.S(a).getHours()+0 +return u}, +hk:function(a){var u=H.S(a).getMinutes()+0 +return u}, +hm:function(a){var u=H.S(a).getSeconds()+0 +return u}, +hj:function(a){var u=H.S(a).getMilliseconds()+0 +return u}, +a6:function(a,b,c){var u,t,s={} +s.a=0 +u=[] +t=[] +s.a=b.length +C.b.q(u,b) +s.b="" +if(c!=null&&c.a!==0)c.u(0,new H.cu(s,t,u)) +""+s.a +return J.fT(a,new H.bZ(C.L,0,u,t,0))}, +hg:function(a,b,c){var u,t,s,r +if(b instanceof Array)u=c==null||c.a===0 +else u=!1 +if(u){t=b +s=t.length +if(s===0){if(!!a.$0)return a.$0()}else if(s===1){if(!!a.$1)return a.$1(t[0])}else if(s===2){if(!!a.$2)return a.$2(t[0],t[1])}else if(s===3){if(!!a.$3)return a.$3(t[0],t[1],t[2])}else if(s===4){if(!!a.$4)return a.$4(t[0],t[1],t[2],t[3])}else if(s===5)if(!!a.$5)return a.$5(t[0],t[1],t[2],t[3],t[4]) +r=a[""+"$"+s] +if(r!=null)return r.apply(a,t)}return H.he(a,b,c)}, +he:function(a,b,c){var u,t,s,r,q,p,o,n,m,l=b instanceof Array?b:P.ek(b,!0,null),k=l.length,j=a.$R +if(kj+s.length)return H.a6(a,l,null) +C.b.q(l,s.slice(k-j)) +return q.apply(a,l)}else{if(k>j)return H.a6(a,l,c) +p=Object.keys(s) +if(c==null)for(t=p.length,o=0;o=u)return P.bV(b,a,t,null,u) +return P.cv(b,t)}, +i6:function(a,b,c){var u="Invalid value" +if(a>c)return new P.a9(0,c,!0,a,"start",u) +if(b!=null)if(bc)return new P.a9(a,c,!0,b,"end",u) +return new P.y(!0,b,"end",null)}, +bw:function(a){return new P.y(!0,a,null,null)}, +e:function(a){var u +if(a==null)a=new P.aB() +u=new Error() +u.dartException=a +if("defineProperty" in Object){Object.defineProperty(u,"message",{get:H.fy}) +u.name=""}else u.toString=H.fy +return u}, +fy:function(){return J.aj(this.dartException)}, +bz:function(a){throw H.e(a)}, +by:function(a){throw H.e(P.G(a))}, +E:function(a){var u,t,s,r,q,p +a=H.is(a.replace(String({}),'$receiver$')) +u=a.match(/\\\$[a-zA-Z]+\\\$/g) +if(u==null)u=H.m([],[P.f]) +t=u.indexOf("\\$arguments\\$") +s=u.indexOf("\\$argumentsExpr\\$") +r=u.indexOf("\\$expr\\$") +q=u.indexOf("\\$method\\$") +p=u.indexOf("\\$receiver\\$") +return new H.cG(a.replace(new RegExp('\\\\\\$arguments\\\\\\$','g'),'((?:x|[^x])*)').replace(new RegExp('\\\\\\$argumentsExpr\\\\\\$','g'),'((?:x|[^x])*)').replace(new RegExp('\\\\\\$expr\\\\\\$','g'),'((?:x|[^x])*)').replace(new RegExp('\\\\\\$method\\\\\\$','g'),'((?:x|[^x])*)').replace(new RegExp('\\\\\\$receiver\\\\\\$','g'),'((?:x|[^x])*)'),t,s,r,q,p)}, +cH:function(a){return function($expr$){var $argumentsExpr$='$arguments$' +try{$expr$.$method$($argumentsExpr$)}catch(u){return u.message}}(a)}, +f0:function(a){return function($expr$){try{$expr$.$method$}catch(u){return u.message}}(a)}, +eZ:function(a,b){return new H.cr(a,b==null?null:b.method)}, +ej:function(a,b){var u=b==null,t=u?null:b.method +return new H.c1(a,t,u?null:b.receiver)}, +p:function(a){var u,t,s,r,q,p,o,n,m,l,k,j,i,h,g=null,f=new H.eb(a) +if(a==null)return +if(a instanceof H.ar)return f.$1(a.a) +if(typeof a!=="object")return a +if("dartException" in a)return f.$1(a.dartException) +else if(!("message" in a))return a +u=a.message +if("number" in a&&typeof a.number=="number"){t=a.number +s=t&65535 +if((C.d.a9(t,16)&8191)===10)switch(s){case 438:return f.$1(H.ej(H.b(u)+" (Error "+s+")",g)) +case 445:case 5007:return f.$1(H.eZ(H.b(u)+" (Error "+s+")",g))}}if(a instanceof TypeError){r=$.fz() +q=$.fA() +p=$.fB() +o=$.fC() +n=$.fF() +m=$.fG() +l=$.fE() +$.fD() +k=$.fI() +j=$.fH() +i=r.w(u) +if(i!=null)return f.$1(H.ej(u,i)) +else{i=q.w(u) +if(i!=null){i.method="call" +return f.$1(H.ej(u,i))}else{i=p.w(u) +if(i==null){i=o.w(u) +if(i==null){i=n.w(u) +if(i==null){i=m.w(u) +if(i==null){i=l.w(u) +if(i==null){i=o.w(u) +if(i==null){i=k.w(u) +if(i==null){i=j.w(u) +h=i!=null}else h=!0}else h=!0}else h=!0}else h=!0}else h=!0}else h=!0}else h=!0 +if(h)return f.$1(H.eZ(u,i))}}return f.$1(new H.cJ(typeof u==="string"?u:""))}if(a instanceof RangeError){if(typeof u==="string"&&u.indexOf("call stack")!==-1)return new P.be() +u=function(b){try{return String(b)}catch(e){}return null}(a) +return f.$1(new P.y(!1,g,g,typeof u==="string"?u.replace(/^RangeError:\s*/,""):u))}if(typeof InternalError=="function"&&a instanceof InternalError)if(typeof u==="string"&&u==="too much recursion")return new P.be() +return a}, +X:function(a){var u +if(a instanceof H.ar)return a.b +if(a==null)return new H.bq(a) +u=a.$cachedTrace +if(u!=null)return u +return a.$cachedTrace=new H.bq(a)}, +fv:function(a){if(a==null||typeof a!='object')return J.Y(a) +else return H.a7(a)}, +i9:function(a,b){var u,t,s,r=a.length +for(u=0;u=27 +if(q)return H.fW(t,!r,u,b) +if(t===0){r=$.C +$.C=r+1 +p="self"+H.b(r) +r="return function(){var "+p+" = this." +q=$.am +return new Function(r+H.b(q==null?$.am=H.bE("self"):q)+";return "+p+"."+H.b(u)+"();}")()}o="abcdefghijklmnopqrstuvwxyz".split("").splice(0,t).join(",") +r=$.C +$.C=r+1 +o+=H.b(r) +r="return function("+o+"){return this." +q=$.am +return new Function(r+H.b(q==null?$.am=H.bE("self"):q)+"."+H.b(u)+"("+o+");}")()}, +fX:function(a,b,c,d){var u=H.ed,t=H.eO +switch(b?-1:a){case 0:throw H.e(H.hs("Intercepted function with no arguments.")) +case 1:return function(e,f,g){return function(){return f(this)[e](g(this))}}(c,u,t) +case 2:return function(e,f,g){return function(h){return f(this)[e](g(this),h)}}(c,u,t) +case 3:return function(e,f,g){return function(h,i){return f(this)[e](g(this),h,i)}}(c,u,t) +case 4:return function(e,f,g){return function(h,i,j){return f(this)[e](g(this),h,i,j)}}(c,u,t) +case 5:return function(e,f,g){return function(h,i,j,k){return f(this)[e](g(this),h,i,j,k)}}(c,u,t) +case 6:return function(e,f,g){return function(h,i,j,k,l){return f(this)[e](g(this),h,i,j,k,l)}}(c,u,t) +default:return function(e,f,g,h){return function(){h=[g(this)] +Array.prototype.push.apply(h,arguments) +return e.apply(f(this),h)}}(d,u,t)}}, +fY:function(a,b){var u,t,s,r,q,p,o,n=$.am +if(n==null)n=$.am=H.bE("self") +u=$.eN +if(u==null)u=$.eN=H.bE("receiver") +t=b.$stubName +s=b.length +r=a[t] +q=b==null?r==null:b===r +p=!q||s>=28 +if(p)return H.fX(s,!q,t,b) +if(s===1){n="return function(){return this."+H.b(n)+"."+H.b(t)+"(this."+H.b(u)+");" +u=$.C +$.C=u+1 +return new Function(n+H.b(u)+"}")()}o="abcdefghijklmnopqrstuvwxyz".split("").splice(0,s-1).join(",") +n="return function("+o+"){return this."+H.b(n)+"."+H.b(t)+"(this."+H.b(u)+", "+o+");" +u=$.C +$.C=u+1 +return new Function(n+H.b(u)+"}")()}, +ev:function(a,b,c,d,e,f,g){return H.fZ(a,b,c,d,!!e,!!f,g)}, +ed:function(a){return a.a}, +eO:function(a){return a.c}, +bE:function(a){var u,t,s,r=new H.al("self","target","receiver","name"),q=J.eU(Object.getOwnPropertyNames(r)) +for(u=q.length,t=0;t=b.length)return"unexpected-generic-index:"+H.b(a) +return H.b(b[b.length-a-1])}if('func' in a)return H.hU(a,b) +if('futureOr' in a)return"FutureOr<"+H.V("type" in a?a.type:null,b)+">" +return"unknown-reified-type"}, +hU:function(a,a0){var u,t,s,r,q,p,o,n,m,l,k,j,i,h,g,f,e,d,c,b=", " +if("bounds" in a){u=a.bounds +if(a0==null){a0=H.m([],[P.f]) +t=null}else t=a0.length +s=a0.length +for(r=u.length,q=r;q>0;--q)a0.push("T"+(s+q)) +for(p="<",o="",q=0;q "+m}, +et:function(a,b,c){var u,t,s,r,q,p +if(a==null)return"" +u=new P.T("") +for(t=b,s="",r=!0,q="";t"}, +ai:function(a,b){if(a==null)return b +a=a.apply(null,b) +if(a==null)return +if(typeof a==="object"&&a!==null&&a.constructor===Array)return a +if(typeof a=="function")return a.apply(null,b) +return b}, +aS:function(a,b,c,d){var u,t +if(a==null)return!1 +u=H.ah(a) +t=J.k(a) +if(t[b]==null)return!1 +return H.fp(H.ai(t[d],u),null,c,null)}, +iu:function(a,b,c,d){if(a==null)return a +if(H.aS(a,b,c,d))return a +throw H.e(H.eP(a,function(e,f){return e.replace(/[^<,> ]+/g,function(g){return f[g]||g})}(H.aW(b.substring(2))+H.et(c,0,null),v.mangledGlobalNames)))}, +fp:function(a,b,c,d){var u,t +if(c==null)return!0 +if(a==null){u=c.length +for(t=0;tn)return!1 +if(o+m>>0!==a||a>=c)throw H.e(H.aT(b,a))}, +hR:function(a,b,c){var u +if(!(a>>>0!==a))u=b>>>0!==b||a>b||b>c +else u=!0 +if(u)throw H.e(H.i6(a,b,c)) +return b}, +aA:function aA(){}, +b8:function b8(){}, +az:function az(){}, +b9:function b9(){}, +ch:function ch(){}, +ci:function ci(){}, +cj:function cj(){}, +ck:function ck(){}, +cl:function cl(){}, +ba:function ba(){}, +cm:function cm(){}, +aL:function aL(){}, +aM:function aM(){}, +aN:function aN(){}, +aO:function aO(){}, +fu:function(a){var u=J.k(a) +return!!u.$ia_||!!u.$ia||!!u.$iaw||!!u.$ias||!!u.$ij||!!u.$iab||!!u.$iJ}, +i8:function(a){return J.h7(a?Object.keys(a):[],null)}},J={ +eB:function(a,b,c,d){return{i:a,p:b,e:c,x:d}}, +e3:function(a){var u,t,s,r,q=a[v.dispatchPropertyName] +if(q==null)if($.eA==null){H.ih() +q=a[v.dispatchPropertyName]}if(q!=null){u=q.p +if(!1===u)return q.i +if(!0===u)return a +t=Object.getPrototypeOf(a) +if(u===t)return q.i +if(q.e===t)throw H.e(P.f2("Return interceptor for "+H.b(u(a,q))))}s=a.constructor +r=s==null?null:s[$.eD()] +if(r!=null)return r +r=H.io(a) +if(r!=null)return r +if(typeof a=="function")return C.F +u=Object.getPrototypeOf(a) +if(u==null)return C.q +if(u===Object.prototype)return C.q +if(typeof s=="function"){Object.defineProperty(s,$.eD(),{value:C.i,enumerable:false,writable:true,configurable:true}) +return C.i}return C.i}, +h7:function(a,b){return J.eU(H.m(a,[b]))}, +eU:function(a){a.fixed$length=Array +return a}, +eV:function(a){if(a<256)switch(a){case 9:case 10:case 11:case 12:case 13:case 32:case 133:case 160:return!0 +default:return!1}switch(a){case 5760:case 8192:case 8193:case 8194:case 8195:case 8196:case 8197:case 8198:case 8199:case 8200:case 8201:case 8202:case 8232:case 8233:case 8239:case 8287:case 12288:case 65279:return!0 +default:return!1}}, +h8:function(a,b){var u,t +for(u=a.length;b0;b=u){u=b-1 +t=C.a.H(a,u) +if(t!==32&&t!==13&&!J.eV(t))break}return b}, +k:function(a){if(typeof a=="number"){if(Math.floor(a)==a)return J.b4.prototype +return J.bY.prototype}if(typeof a=="string")return J.a2.prototype +if(a==null)return J.b5.prototype +if(typeof a=="boolean")return J.bX.prototype +if(a.constructor==Array)return J.P.prototype +if(typeof a!="object"){if(typeof a=="function")return J.Q.prototype +return a}if(a instanceof P.h)return a +return J.e3(a)}, +e1:function(a){if(typeof a=="string")return J.a2.prototype +if(a==null)return a +if(a.constructor==Array)return J.P.prototype +if(typeof a!="object"){if(typeof a=="function")return J.Q.prototype +return a}if(a instanceof P.h)return a +return J.e3(a)}, +ex:function(a){if(a==null)return a +if(a.constructor==Array)return J.P.prototype +if(typeof a!="object"){if(typeof a=="function")return J.Q.prototype +return a}if(a instanceof P.h)return a +return J.e3(a)}, +e2:function(a){if(typeof a=="string")return J.a2.prototype +if(a==null)return a +if(!(a instanceof P.h))return J.aI.prototype +return a}, +aU:function(a){if(a==null)return a +if(typeof a!="object"){if(typeof a=="function")return J.Q.prototype +return a}if(a instanceof P.h)return a +return J.e3(a)}, +bA:function(a,b){if(a==null)return b==null +if(typeof a!="object")return b!=null&&a===b +return J.k(a).B(a,b)}, +bB:function(a,b){if(typeof b==="number")if(a.constructor==Array||typeof a=="string"||H.ik(a,a[v.dispatchPropertyName]))if(b>>>0===b&&b=4){t=b.W() +b.a=a.a +b.c=a.c +P.ac(b,t)}else{t=b.c +b.a=2 +b.c=a +a.ao(t)}}, +ac:function(a,b){var u,t,s,r,q,p,o,n,m,l,k,j=null,i={},h=i.a=a +for(;!0;){u={} +t=h.a===8 +if(b==null){if(t){s=h.c +h=h.b +r=s.a +s=s.b +h.toString +P.dV(j,j,h,r,s)}return}for(;q=b.a,q!=null;b=q){b.a=null +P.ac(i.a,b)}h=i.a +p=h.c +u.a=t +u.b=p +s=!t +if(s){r=b.c +r=(r&1)!==0||r===8}else r=!0 +if(r){r=b.b +o=r.b +if(t){n=h.b +n.toString +n=n==o +if(!n)o.toString +else n=!0 +n=!n}else n=!1 +if(n){h=h.b +s=p.a +r=p.b +h.toString +P.dV(j,j,h,s,r) +return}m=$.i +if(m!=o)$.i=o +else m=j +h=b.c +if(h===8)new P.di(i,u,b,t).$0() +else if(s){if((h&1)!==0)new P.dh(u,b,p).$0()}else if((h&2)!==0)new P.dg(i,u,b).$0() +if(m!=null)$.i=m +h=u.b +if(!!J.k(h).$io){if(h.a>=4){l=r.c +r.c=null +b=r.X(l) +r.a=h.a +r.c=h.c +i.a=h +continue}else P.da(h,r) +return}}k=b.b +l=k.c +k.c=null +b=k.X(l) +h=u.a +s=u.b +if(!h){k.a=4 +k.c=s}else{k.a=8 +k.c=s}i.a=k +h=k}}, +hY:function(a,b){if(H.ew(a,{func:1,args:[P.h,P.x]}))return b.aD(a) +if(H.ew(a,{func:1,args:[P.h]}))return a +throw H.e(P.eM(a,"onError","Error handler must accept one Object or one Object and a StackTrace as arguments, and return a a valid result"))}, +hW:function(){var u,t +for(;u=$.ad,u!=null;){$.aR=null +t=u.b +$.ad=t +if(t==null)$.aQ=null +u.a.$0()}}, +i0:function(){$.er=!0 +try{P.hW()}finally{$.aR=null +$.er=!1 +if($.ad!=null)$.eE().$1(P.fq())}}, +fm:function(a){var u=new P.bg(a) +if($.ad==null){$.ad=$.aQ=u +if(!$.er)$.eE().$1(P.fq())}else $.aQ=$.aQ.b=u}, +i_:function(a){var u,t,s=$.ad +if(s==null){P.fm(a) +$.aR=$.aQ +return}u=new P.bg(a) +t=$.aR +if(t==null){u.b=s +$.ad=$.aR=u}else{u.b=t.b +$.aR=t.b=u +if(u.b==null)$.aQ=u}}, +eC:function(a){var u=null,t=$.i +if(C.c===t){P.ae(u,u,C.c,a) +return}t.toString +P.ae(u,u,t,t.ar(a))}, +iy:function(a){return new P.dC(a)}, +dV:function(a,b,c,d,e){var u={} +u.a=d +P.i_(new P.dW(u,e))}, +fk:function(a,b,c,d){var u,t=$.i +if(t===c)return d.$0() +$.i=c +u=t +try{t=d.$0() +return t}finally{$.i=u}}, +fl:function(a,b,c,d,e){var u,t=$.i +if(t===c)return d.$1(e) +$.i=c +u=t +try{t=d.$1(e) +return t}finally{$.i=u}}, +hZ:function(a,b,c,d,e,f){var u,t=$.i +if(t===c)return d.$2(e,f) +$.i=c +u=t +try{t=d.$2(e,f) +return t}finally{$.i=u}}, +ae:function(a,b,c,d){var u=C.c!==c +if(u)d=!(!u||!1)?c.ar(d):c.be(d) +P.fm(d)}, +cV:function cV(a){this.a=a}, +cU:function cU(a,b,c){this.a=a +this.b=b +this.c=c}, +cW:function cW(a){this.a=a}, +cX:function cX(a){this.a=a}, +dG:function dG(){}, +dH:function dH(a,b){this.a=a +this.b=b}, +cQ:function cQ(a,b){this.a=a +this.b=!1 +this.$ti=b}, +cS:function cS(a,b){this.a=a +this.b=b}, +cR:function cR(a,b,c){this.a=a +this.b=b +this.c=c}, +dP:function dP(a){this.a=a}, +dQ:function dQ(a){this.a=a}, +dX:function dX(a){this.a=a}, +o:function o(){}, +bh:function bh(){}, +cT:function cT(a,b){this.a=a +this.$ti=b}, +br:function br(a,b){this.a=a +this.$ti=b}, +d6:function d6(a,b,c,d){var _=this +_.a=null +_.b=a +_.c=b +_.d=c +_.e=d}, +v:function v(a,b){var _=this +_.a=0 +_.b=a +_.c=null +_.$ti=b}, +d7:function d7(a,b){this.a=a +this.b=b}, +df:function df(a,b){this.a=a +this.b=b}, +db:function db(a){this.a=a}, +dc:function dc(a){this.a=a}, +dd:function dd(a,b,c){this.a=a +this.b=b +this.c=c}, +d9:function d9(a,b){this.a=a +this.b=b}, +de:function de(a,b){this.a=a +this.b=b}, +d8:function d8(a,b,c){this.a=a +this.b=b +this.c=c}, +di:function di(a,b,c,d){var _=this +_.a=a +_.b=b +_.c=c +_.d=d}, +dj:function dj(a){this.a=a}, +dh:function dh(a,b,c){this.a=a +this.b=b +this.c=c}, +dg:function dg(a,b,c){this.a=a +this.b=b +this.c=c}, +bg:function bg(a){this.a=a +this.b=null}, +cz:function cz(){}, +cC:function cC(a,b){this.a=a +this.b=b}, +cA:function cA(){}, +cB:function cB(){}, +dC:function dC(a){this.a=null +this.b=a +this.c=!1}, +Z:function Z(a,b){this.a=a +this.b=b}, +dO:function dO(){}, +dW:function dW(a,b){this.a=a +this.b=b}, +du:function du(){}, +dw:function dw(a,b){this.a=a +this.b=b}, +dv:function dv(a,b){this.a=a +this.b=b}, +dx:function dx(a,b,c){this.a=a +this.b=b +this.c=c}, +f4:function(a,b){var u=a[b] +return u===a?null:u}, +f5:function(a,b,c){if(c==null)a[b]=a +else a[b]=c}, +hz:function(){var u=Object.create(null) +P.f5(u,"",u) +delete u[""] +return u}, +eW:function(a,b,c){return H.i9(a,new H.av([b,c]))}, +hc:function(a,b){return new H.av([a,b])}, +c7:function(a){return new P.dr([a])}, +el:function(){var u=Object.create(null) +u[""]=u +delete u[""] +return u}, +h5:function(a,b,c){var u,t +if(P.es(a)){if(b==="("&&c===")")return"(...)" +return b+"..."+c}u=H.m([],[P.f]) +$.W.push(a) +try{P.hV(a,u)}finally{$.W.pop()}t=P.f_(b,u,", ")+c +return t.charCodeAt(0)==0?t:t}, +eg:function(a,b,c){var u,t +if(P.es(a))return b+"..."+c +u=new P.T(b) +$.W.push(a) +try{t=u +t.a=P.f_(t.a,a,", ")}finally{$.W.pop()}u.a+=c +t=u.a +return t.charCodeAt(0)==0?t:t}, +es:function(a){var u,t +for(u=$.W.length,t=0;t100){while(!0){if(!(m>75&&l>3))break +m-=b.pop().length+2;--l}b.push("...") +return}}s=H.b(r) +t=H.b(q) +m+=t.length+s.length+4}}if(l>b.length+2){m+=5 +o="..."}else o=null +while(!0){if(!(m>80&&b.length>3))break +m-=b.pop().length+2 +if(o==null){m+=5 +o="..."}}if(o!=null)b.push(o) +b.push(s) +b.push(t)}, +eX:function(a,b){var u,t,s=P.c7(b) +for(u=a.length,t=0;t>>4]&1<<(q&15))!==0)r+=H.ho(q) +else r=d&&q===32?r+"+":r+"%"+p[q>>>4&15]+p[q&15]}return r.charCodeAt(0)==0?r:r}, +h_:function(a){var u=Math.abs(a),t=a<0?"-":"" +if(u>=1000)return""+a +if(u>=100)return t+"0"+u +if(u>=10)return t+"00"+u +return t+"000"+u}, +h0:function(a){if(a>=100)return""+a +if(a>=10)return"0"+a +return"00"+a}, +aY:function(a){if(a>=10)return""+a +return"0"+a}, +aq:function(a){if(typeof a==="number"||typeof a==="boolean"||null==a)return J.aj(a) +if(typeof a==="string")return JSON.stringify(a) +return P.h2(a)}, +eL:function(a){return new P.y(!1,null,null,a)}, +eM:function(a,b,c){return new P.y(!0,a,b,c)}, +cv:function(a,b){return new P.a9(null,null,!0,a,b,"Value not in range")}, +bd:function(a,b,c,d,e){return new P.a9(b,c,!0,a,d,"Invalid value")}, +hq:function(a,b,c){if(0>a||a>c)throw H.e(P.bd(a,0,c,"start",null)) +if(b!=null){if(a>b||b>c)throw H.e(P.bd(b,a,c,"end",null)) +return b}return c}, +hp:function(a,b){if(a<0)throw H.e(P.bd(a,0,null,b,null))}, +bV:function(a,b,c,d,e){var u=e==null?J.aX(b):e +return new P.bU(u,!0,a,c,"Index out of range")}, +cM:function(a){return new P.cL(a)}, +f2:function(a){return new P.cI(a)}, +aF:function(a){return new P.aE(a)}, +G:function(a){return new P.bH(a)}, +ef:function(a,b,c){return new P.bR(a,b,c)}, +hE:function(a){if(a==="http")return 80 +if(a==="https")return 443 +return 0}, +f9:function(a,b,c){throw H.e(P.ef(c,a,b))}, +hI:function(a,b){return a}, +hG:function(a,b,c,d){return}, +hK:function(a,b,c){var u,t,s +if(b===c)return"" +if(!P.fa(C.E.H(a,b)))P.f9(a,b,"Scheme not starting with alphabetic character") +for(u=b,t=!1;u=2&&P.fa(J.fN(a,0)))for(u=1;u127||(C.m[t>>>4]&1<<(t&15))===0)break}return a}, +fa:function(a){var u=a|32 +return 97<=u&&u<=122}, +co:function co(a,b){this.a=a +this.b=b}, +K:function K(){}, +ao:function ao(a,b){this.a=a +this.b=b}, +ag:function ag(){}, +M:function M(){}, +aB:function aB(){}, +y:function y(a,b,c,d){var _=this +_.a=a +_.b=b +_.c=c +_.d=d}, +a9:function a9(a,b,c,d,e,f){var _=this +_.e=a +_.f=b +_.a=c +_.b=d +_.c=e +_.d=f}, +bU:function bU(a,b,c,d,e){var _=this +_.f=a +_.a=b +_.b=c +_.c=d +_.d=e}, +cn:function cn(a,b,c,d){var _=this +_.a=a +_.b=b +_.c=c +_.d=d}, +cL:function cL(a){this.a=a}, +cI:function cI(a){this.a=a}, +aE:function aE(a){this.a=a}, +bH:function bH(a){this.a=a}, +cs:function cs(){}, +be:function be(){}, +bM:function bM(a){this.a=a}, +d5:function d5(a){this.a=a}, +bR:function bR(a,b,c){this.a=a +this.b=b +this.c=c}, +N:function N(){}, +B:function B(){}, +l:function l(){}, +bW:function bW(){}, +c8:function c8(){}, +t:function t(){}, +aV:function aV(){}, +h:function h(){}, +x:function x(){}, +f:function f(){}, +T:function T(a){this.a=a}, +aa:function aa(){}, +dJ:function dJ(a,b,c,d,e,f,g){var _=this +_.a=a +_.b=b +_.c=c +_.d=d +_.e=e +_.f=f +_.r=g +_.z=_.y=null}, +dL:function dL(a,b){this.a=a +this.b=b}, +dK:function dK(a){this.a=a}, +aw:function aw(){}, +hQ:function(a,b,c,d){var u,t +if(b){u=[c] +C.b.q(u,d) +d=u}t=P.ek(J.fS(d,P.il(),null),!0,null) +return P.en(H.hg(a,t,null))}, +hb:function(a){return new P.c2(new P.dn([null,null])).$1(a)}, +eo:function(a,b,c){var u +try{if(Object.isExtensible(a)&&!Object.prototype.hasOwnProperty.call(a,b)){Object.defineProperty(a,b,{value:c}) +return!0}}catch(u){H.p(u)}return!1}, +fh:function(a,b){if(Object.prototype.hasOwnProperty.call(a,b))return a[b] +return}, +en:function(a){var u +if(a==null||typeof a==="string"||typeof a==="number"||typeof a==="boolean")return a +u=J.k(a) +if(!!u.$iz)return a.a +if(H.fu(a))return a +if(!!u.$if1)return a +if(!!u.$iao)return H.S(a) +if(!!u.$iN)return P.fg(a,"$dart_jsFunction",new P.dS()) +return P.fg(a,"_$dart_jsObject",new P.dT($.eG()))}, +fg:function(a,b,c){var u=P.fh(a,b) +if(u==null){u=c.$1(a) +P.eo(a,b,u)}return u}, +em:function(a){var u,t +if(a==null||typeof a=="string"||typeof a=="number"||typeof a=="boolean")return a +else if(a instanceof Object&&H.fu(a))return a +else if(a instanceof Object&&!!J.k(a).$if1)return a +else if(a instanceof Date){u=a.getTime() +if(Math.abs(u)<=864e13)t=!1 +else t=!0 +if(t)H.bz(P.eL("DateTime is outside valid range: "+H.b(u))) +return new P.ao(u,!1)}else if(a.constructor===$.eG())return a.o +else return P.eu(a)}, +eu:function(a){if(typeof a=="function")return P.eq(a,$.ec(),new P.dY()) +if(a instanceof Array)return P.eq(a,$.eF(),new P.dZ()) +return P.eq(a,$.eF(),new P.e_())}, +eq:function(a,b,c){var u=P.fh(a,b) +if(u==null||!(a instanceof Object)){u=c.$1(a) +P.eo(a,b,u)}return u}, +z:function z(a){this.a=a}, +c2:function c2(a){this.a=a}, +au:function au(a){this.a=a}, +at:function at(a,b){this.a=a +this.$ti=b}, +dS:function dS(){}, +dT:function dT(a){this.a=a}, +dY:function dY(){}, +dZ:function dZ(){}, +e_:function e_(){}, +bk:function bk(){}, +aD:function aD(){}, +c:function c(){}},W={ +i7:function(){return document}, +h1:function(a,b,c){var u=document.body,t=(u&&C.j).v(u,a,b,c) +t.toString +u=new H.aJ(new W.u(t),new W.bO(),[W.j]) +return u.gJ(u)}, +ap:function(a){var u,t,s,r="element tag unavailable" +try{u=J.aU(a) +t=u.gaF(a) +if(typeof t==="string")r=u.gaF(a)}catch(s){H.p(s)}return r}, +h3:function(a){return W.h4(a,null,null).aG(new W.bS(),P.f)}, +h4:function(a,b,c){var u=W.O,t=new P.v($.i,[u]),s=new P.cT(t,[u]),r=new XMLHttpRequest() +C.C.bt(r,"GET",a,!0) +W.d3(r,"load",new W.bT(r,s),!1) +W.d3(r,"error",s.gat(),!1) +r.send() +return t}, +d3:function(a,b,c,d){var u=W.i2(new W.d4(c),W.a) +u=new W.d2(a,b,u,!1) +u.bb() +return u}, +f6:function(a){var u=document.createElement("a"),t=new W.dy(u,window.location) +t=new W.aK(t) +t.aS(a) +return t}, +hA:function(a,b,c,d){return!0}, +hB:function(a,b,c,d){var u,t=d.a,s=t.a +s.href=c +u=s.hostname +t=t.b +if(!(u==t.hostname&&s.port==t.port&&s.protocol==t.protocol))if(u==="")if(s.port===""){t=s.protocol +t=t===":"||t===""}else t=!1 +else t=!1 +else t=!0 +return t}, +f7:function(){var u=P.f,t=P.eX(C.f,u),s=H.m(["TEMPLATE"],[u]) +t=new W.dE(t,P.c7(u),P.c7(u),P.c7(u),null) +t.aT(null,new H.R(C.f,new W.dF(),[H.w(C.f,0),u]),s,null) +return t}, +hS:function(a){var u +if("postMessage" in a){u=W.hy(a) +return u}else return a}, +hy:function(a){if(a===window)return a +else return new W.d_()}, +i2:function(a,b){var u=$.i +if(u===C.c)return a +return u.bg(a,b)}, +d:function d(){}, +bC:function bC(){}, +bD:function bD(){}, +a_:function a_(){}, +a0:function a0(){}, +L:function L(){}, +bN:function bN(){}, +D:function D(){}, +bO:function bO(){}, +a:function a(){}, +b_:function b_(){}, +bQ:function bQ(){}, +O:function O(){}, +bS:function bS(){}, +bT:function bT(a,b){this.a=a +this.b=b}, +b2:function b2(){}, +as:function as(){}, +a1:function a1(){}, +ca:function ca(){}, +u:function u(a){this.a=a}, +j:function j(){}, +bb:function bb(){}, +a8:function a8(){}, +cx:function cx(){}, +bf:function bf(){}, +cD:function cD(){}, +cE:function cE(){}, +aH:function aH(){}, +ab:function ab(){}, +J:function J(){}, +bm:function bm(){}, +cY:function cY(){}, +d0:function d0(a){this.a=a}, +d1:function d1(){}, +bi:function bi(a,b,c,d){var _=this +_.a=a +_.b=b +_.c=c +_.$ti=d}, +d2:function d2(a,b,c,d){var _=this +_.a=0 +_.b=a +_.c=b +_.d=c +_.e=d}, +d4:function d4(a){this.a=a}, +aK:function aK(a){this.a=a}, +b3:function b3(){}, +bc:function bc(a){this.a=a}, +cq:function cq(a){this.a=a}, +cp:function cp(a,b,c){this.a=a +this.b=b +this.c=c}, +bp:function bp(){}, +dA:function dA(){}, +dB:function dB(){}, +dE:function dE(a,b,c,d,e){var _=this +_.e=a +_.a=b +_.b=c +_.c=d +_.d=e}, +dF:function dF(){}, +dD:function dD(){}, +b1:function b1(a,b){var _=this +_.a=a +_.b=b +_.c=-1 +_.d=null}, +d_:function d_(){}, +I:function I(){}, +dy:function dy(a,b){this.a=a +this.b=b}, +bt:function bt(a){this.a=a}, +dN:function dN(a){this.a=a}, +bn:function bn(){}, +bo:function bo(){}, +bu:function bu(){}, +bv:function bv(){}},F={ +e8:function(){var u=0,t=P.fj(null),s,r,q +var $async$e8=P.fn(function(a,b){if(a===1)return P.fd(b,t) +while(true)switch(u){case 0:s=document +r=H.ft(s.getElementById("filter"),"$ia1") +q=H.ft(s.getElementById("searchbox"),"$ia1") +s=J.fR(s.getElementById("searchform")) +W.d3(s.a,s.b,new F.e9(q,r),!1) +$.eI().as("initializeGraph",H.m([F.ic()],[{func:1,ret:[P.o,,],args:[P.f],named:{filter:P.f}}])) +return P.fe(null,t)}}) +return P.ff($async$e8,t)}, +ep:function(a,b,c){var u=H.m([a,b,c],[P.h]),t=new H.aJ(u,new F.dU(),[H.w(u,0)]).T(0,"\n") +J.eK($.eH(),"
"+t+"
")}, +aP:function(a,b){return F.hT(a,b)}, +hT:function(b0,b1){var u=0,t=P.fj(null),s,r=2,q,p=[],o,n,m,l,k,j,i,h,g,f,e,d,c,b,a,a0,a1,a2,a3,a4,a5,a6,a7,a8,a9 +var $async$aP=P.fn(function(b2,b3){if(b2===1){q=b3 +u=r}while(true)switch(u){case 0:if(b0.length===0){F.ep("Provide content in the query.",null,null) +u=1 +break}o=null +i=P.f +h=P.eW(["q",b0],i,i) +if(b1!=null)h.C(0,"f",b1) +g=P.hK(null,0,0) +f=P.hL(null,0,0) +e=P.hG(null,0,0,!1) +d=P.hJ(null,0,0,h) +c=P.hF(null,0,0) +b=P.hI(null,g) +a=g==="file" +if(e==null)if(f.length===0)a0=a +else a0=!0 +else a0=!1 +if(a0)e="" +a0=e==null +a1=!a0 +a2=P.hH(null,0,0,null,g,a1) +a3=g.length===0 +if(a3&&a0&&!C.a.P(a2,"/"))a2=P.hM(a2,!a3||a1) +else a2=P.hN(a2) +n=new P.dJ(g,f,a0&&C.a.P(a2,"//")?"":e,b,a2,d,c) +r=4 +a8=H +a9=C.z +u=7 +return P.hO(W.h3(J.aj(n)),$async$aP) +case 7:o=a8.iu(a9.bl(0,b3),"$ia5",[i,null],"$aa5") +r=2 +u=6 +break +case 4:r=3 +a7=q +m=H.p(a7) +l=H.X(a7) +k='Error requesting query "'+H.b(b0)+'".' +if(!!J.k(m).$ia8){j=W.hS(m.target) +if(!!J.k(j).$iO)k=C.b.T(H.m([k,H.b(j.status)+" "+H.b(j.statusText),j.responseText],[i]),"\n") +F.ep(k,null,null)}else F.ep(k,m,l) +u=1 +break +u=6 +break +case 3:u=2 +break +case 6:a5=P.eW(["edges",J.bB(o,"edges"),"nodes",J.bB(o,"nodes")],i,null) +i=$.eI() +i.as("setData",H.m([P.eu(P.hb(a5))],[P.z])) +a6=J.bB(o,"primary") +i=J.e1(a6) +J.eK($.eH(),"ID: "+H.b(i.i(a6,"id"))+"
Type: "+H.b(i.i(a6,"type"))+"
Hidden: "+H.b(i.i(a6,"hidden"))+"
State: "+H.b(i.i(a6,"state"))+"
Was Output: "+H.b(i.i(a6,"wasOutput"))+"
Failed: "+H.b(i.i(a6,"isFailure"))+"
Phase: "+H.b(i.i(a6,"phaseNumber"))+"
Glob: "+H.b(i.i(a6,"glob"))+"
Last Digest: "+H.b(i.i(a6,"lastKnownDigest"))+"
") +case 1:return P.fe(s,t) +case 2:return P.fd(q,t)}}) +return P.ff($async$aP,t)}, +e9:function e9(a,b){this.a=a +this.b=b}, +dU:function dU(){}} +var w=[C,H,J,P,W,F] +hunkHelpers.setFunctionNamesIfNecessary(w) +var $={} +H.ei.prototype={} +J.r.prototype={ +B:function(a,b){return a===b}, +gn:function(a){return H.a7(a)}, +h:function(a){return"Instance of '"+H.aC(a)+"'"}, +Y:function(a,b){throw H.e(P.eY(a,b.gay(),b.gaC(),b.gaz()))}} +J.bX.prototype={ +h:function(a){return String(a)}, +gn:function(a){return a?519018:218159}, +$iK:1} +J.b5.prototype={ +B:function(a,b){return null==b}, +h:function(a){return"null"}, +gn:function(a){return 0}, +Y:function(a,b){return this.aL(a,b)}} +J.b6.prototype={ +gn:function(a){return 0}, +h:function(a){return String(a)}} +J.ct.prototype={} +J.aI.prototype={} +J.Q.prototype={ +h:function(a){var u=a[$.ec()] +if(u==null)return this.aO(a) +return"JavaScript function for "+H.b(J.aj(u))}, +$S:function(){return{func:1,opt:[,,,,,,,,,,,,,,,,]}}, +$iN:1} +J.P.prototype={ +M:function(a,b){if(!!a.fixed$length)H.bz(P.cM("add")) +a.push(b)}, +q:function(a,b){var u +if(!!a.fixed$length)H.bz(P.cM("addAll")) +for(u=J.F(b);u.k();)a.push(u.gl())}, +I:function(a,b,c){return new H.R(a,b,[H.w(a,0),c])}, +T:function(a,b){var u,t=new Array(a.length) +t.fixed$length=Array +for(u=0;u0)return a[u-1] +throw H.e(H.eT())}, +aq:function(a,b){var u,t=a.length +for(u=0;u=a.length||b<0)throw H.e(H.aT(a,b)) +return a[b]}, +$in:1, +$il:1} +J.eh.prototype={} +J.ak.prototype={ +gl:function(){return this.d}, +k:function(){var u,t=this,s=t.a,r=s.length +if(t.b!==r)throw H.e(H.by(s)) +u=t.c +if(u>=r){t.d=null +return!1}t.d=s[u] +t.c=u+1 +return!0}} +J.c_.prototype={ +bD:function(a){var u +if(a>=-2147483648&&a<=2147483647)return a|0 +if(isFinite(a)){u=a<0?Math.ceil(a):Math.floor(a) +return u+0}throw H.e(P.cM(""+a+".toInt()"))}, +h:function(a){if(a===0&&1/a<0)return"-0.0" +else return""+a}, +gn:function(a){var u,t,s,r,q=a|0 +if(a===q)return 536870911&q +u=Math.abs(a) +t=Math.log(u)/0.6931471805599453|0 +s=Math.pow(2,t) +r=u<1?u/s:s/u +return 536870911&((r*9007199254740992|0)+(r*3542243181176521|0))*599197+t*1259}, +aK:function(a,b){if(b<0)throw H.e(H.bw(b)) +return b>31?0:a<>>0}, +a9:function(a,b){var u +if(a>0)u=this.ba(a,b) +else{u=b>31?31:b +u=a>>u>>>0}return u}, +ba:function(a,b){return b>31?0:a>>>b}, +ad:function(a,b){if(typeof b!=="number")throw H.e(H.bw(b)) +return a<=b}, +$iaV:1} +J.b4.prototype={$iB:1} +J.bY.prototype={} +J.a2.prototype={ +H:function(a,b){if(b<0)throw H.e(H.aT(a,b)) +if(b>=a.length)H.bz(H.aT(a,b)) +return a.charCodeAt(b)}, +D:function(a,b){if(b>=a.length)throw H.e(H.aT(a,b)) +return a.charCodeAt(b)}, +aI:function(a,b){if(typeof b!=="string")throw H.e(P.eM(b,null,null)) +return a+b}, +P:function(a,b){var u=b.length +if(u>a.length)return!1 +return b===a.substring(0,u)}, +K:function(a,b,c){if(c==null)c=a.length +if(b<0)throw H.e(P.cv(b,null)) +if(b>c)throw H.e(P.cv(b,null)) +if(c>a.length)throw H.e(P.cv(c,null)) +return a.substring(b,c)}, +af:function(a,b){return this.K(a,b,null)}, +aH:function(a){return a.toLowerCase()}, +bE:function(a){var u,t,s,r=a.trim(),q=r.length +if(q===0)return r +if(this.D(r,0)===133){u=J.h8(r,1) +if(u===q)return""}else u=0 +t=q-1 +s=this.H(r,t)===133?J.h9(r,t):q +if(u===0&&s===q)return r +return r.substring(u,s)}, +aJ:function(a,b){var u,t +if(0>=b)return"" +if(b===1||a.length===0)return a +if(b!==b>>>0)throw H.e(C.A) +for(u=a,t="";!0;){if((b&1)===1)t=u+t +b=b>>>1 +if(b===0)break +u+=u}return t}, +bp:function(a,b){var u=a.indexOf(b,0) +return u}, +h:function(a){return a}, +gn:function(a){var u,t,s +for(u=a.length,t=0,s=0;s>6}t=536870911&t+((67108863&t)<<3) +t^=t>>11 +return 536870911&t+((16383&t)<<15)}, +gj:function(a){return a.length}, +i:function(a,b){if(b>=a.length||!1)throw H.e(H.aT(a,b)) +return a[b]}, +$if:1} +H.n.prototype={} +H.a4.prototype={ +gm:function(a){return new H.b7(this,this.gj(this))}, +a_:function(a,b){return this.aN(0,b)}, +I:function(a,b,c){return new H.R(this,b,[H.ez(this,"a4",0),c])}} +H.b7.prototype={ +gl:function(){return this.d}, +k:function(){var u,t=this,s=t.a,r=J.e1(s),q=r.gj(s) +if(t.b!==q)throw H.e(P.G(s)) +u=t.c +if(u>=q){t.d=null +return!1}t.d=r.A(s,u);++t.c +return!0}} +H.ay.prototype={ +gm:function(a){return new H.cg(J.F(this.a),this.b)}, +gj:function(a){return J.aX(this.a)}, +$al:function(a,b){return[b]}} +H.aZ.prototype={$in:1, +$an:function(a,b){return[b]}} +H.cg.prototype={ +k:function(){var u=this,t=u.b +if(t.k()){u.a=u.c.$1(t.gl()) +return!0}u.a=null +return!1}, +gl:function(){return this.a}} +H.R.prototype={ +gj:function(a){return J.aX(this.a)}, +A:function(a,b){return this.b.$1(J.fP(this.a,b))}, +$an:function(a,b){return[b]}, +$aa4:function(a,b){return[b]}, +$al:function(a,b){return[b]}} +H.aJ.prototype={ +gm:function(a){return new H.cP(J.F(this.a),this.b)}, +I:function(a,b,c){return new H.ay(this,b,[H.w(this,0),c])}} +H.cP.prototype={ +k:function(){var u,t +for(u=this.a,t=this.b;u.k();)if(t.$1(u.gl()))return!0 +return!1}, +gl:function(){return this.a.gl()}} +H.b0.prototype={} +H.aG.prototype={ +gn:function(a){var u=this._hashCode +if(u!=null)return u +u=536870911&664597*J.Y(this.a) +this._hashCode=u +return u}, +h:function(a){return'Symbol("'+H.b(this.a)+'")'}, +B:function(a,b){if(b==null)return!1 +return b instanceof H.aG&&this.a==b.a}, +$iaa:1} +H.bJ.prototype={} +H.bI.prototype={ +h:function(a){return P.cc(this)}, +$ia5:1} +H.bK.prototype={ +gj:function(a){return this.a}, +S:function(a){if(typeof a!=="string")return!1 +if("__proto__"===a)return!1 +return this.b.hasOwnProperty(a)}, +i:function(a,b){if(!this.S(b))return +return this.am(b)}, +am:function(a){return this.b[a]}, +u:function(a,b){var u,t,s,r=this.c +for(u=r.length,t=0;t>>0}, +h:function(a){var u=this.c +if(u==null)u=this.a +return"Closure '"+H.b(this.d)+"' of "+("Instance of '"+H.aC(u)+"'")}} +H.bF.prototype={ +h:function(a){return this.a}} +H.cw.prototype={ +h:function(a){return"RuntimeError: "+H.b(this.a)}} +H.av.prototype={ +gj:function(a){return this.a}, +gp:function(){return new H.ax(this,[H.w(this,0)])}, +S:function(a){var u,t +if(typeof a==="string"){u=this.b +if(u==null)return!1 +return this.b2(u,a)}else{t=this.bq(a) +return t}}, +bq:function(a){var u=this.d +if(u==null)return!1 +return this.ab(this.a5(u,J.Y(a)&0x3ffffff),a)>=0}, +i:function(a,b){var u,t,s,r,q=this +if(typeof b==="string"){u=q.b +if(u==null)return +t=q.V(u,b) +s=t==null?null:t.b +return s}else if(typeof b==="number"&&(b&0x3ffffff)===b){r=q.c +if(r==null)return +t=q.V(r,b) +s=t==null?null:t.b +return s}else return q.br(b)}, +br:function(a){var u,t,s=this.d +if(s==null)return +u=this.a5(s,J.Y(a)&0x3ffffff) +t=this.ab(u,a) +if(t<0)return +return u[t].b}, +C:function(a,b,c){var u,t,s,r,q,p,o=this +if(typeof b==="string"){u=o.b +o.ag(u==null?o.b=o.a6():u,b,c)}else if(typeof b==="number"&&(b&0x3ffffff)===b){t=o.c +o.ag(t==null?o.c=o.a6():t,b,c)}else{s=o.d +if(s==null)s=o.d=o.a6() +r=J.Y(b)&0x3ffffff +q=o.a5(s,r) +if(q==null)o.a8(s,r,[o.a2(b,c)]) +else{p=o.ab(q,b) +if(p>=0)q[p].b=c +else q.push(o.a2(b,c))}}}, +u:function(a,b){var u=this,t=u.e,s=u.r +for(;t!=null;){b.$2(t.a,t.b) +if(s!==u.r)throw H.e(P.G(u)) +t=t.c}}, +ag:function(a,b,c){var u=this.V(a,b) +if(u==null)this.a8(a,b,this.a2(b,c)) +else u.b=c}, +b6:function(){this.r=this.r+1&67108863}, +a2:function(a,b){var u,t=this,s=new H.c5(a,b) +if(t.e==null)t.e=t.f=s +else{u=t.f +s.d=u +t.f=u.c=s}++t.a +t.b6() +return s}, +ab:function(a,b){var u,t +if(a==null)return-1 +u=a.length +for(t=0;t=4){if(n.a===8){s=o.b +s.b=n.c +s.a=!0}return}p=o.a.a +s=o.b +s.b=n.aG(new P.dj(p),null) +s.a=!1}}} +P.dj.prototype={ +$1:function(a){return this.a}, +$S:9} +P.dh.prototype={ +$0:function(){var u,t,s,r,q=this +try{s=q.b +q.a.b=s.b.b.ac(s.d,q.c)}catch(r){u=H.p(r) +t=H.X(r) +s=q.a +s.b=new P.Z(u,t) +s.a=!0}}} +P.dg.prototype={ +$0:function(){var u,t,s,r,q,p,o,n,m=this +try{u=m.a.a.c +r=m.c +if(r.bs(u)&&r.e!=null){q=m.b +q.b=r.bo(u) +q.a=!1}}catch(p){t=H.p(p) +s=H.X(p) +r=m.a.a.c +q=r.a +o=t +n=m.b +if(q==null?o==null:q===o)n.b=r +else n.b=new P.Z(t,s) +n.a=!0}}} +P.bg.prototype={} +P.cz.prototype={ +gj:function(a){var u={},t=$.i +u.a=0 +W.d3(this.a,this.b,new P.cC(u,this),!1) +return new P.v(t,[P.B])}} +P.cC.prototype={ +$1:function(a){++this.a.a}, +$S:function(){return{func:1,ret:P.t,args:[H.w(this.b,0)]}}} +P.cA.prototype={} +P.cB.prototype={} +P.dC.prototype={} +P.Z.prototype={ +h:function(a){return H.b(this.a)}, +$iM:1} +P.dO.prototype={} +P.dW.prototype={ +$0:function(){var u,t=this.a,s=t.a +t=s==null?t.a=new P.aB():s +s=this.b +if(s==null)throw H.e(t) +u=H.e(t) +u.stack=s.h(0) +throw u}} +P.du.prototype={ +bz:function(a){var u,t,s,r=null +try{if(C.c===$.i){a.$0() +return}P.fk(r,r,this,a)}catch(s){u=H.p(s) +t=H.X(s) +P.dV(r,r,this,u,t)}}, +bB:function(a,b){var u,t,s,r=null +try{if(C.c===$.i){a.$1(b) +return}P.fl(r,r,this,a,b)}catch(s){u=H.p(s) +t=H.X(s) +P.dV(r,r,this,u,t)}}, +bC:function(a,b){return this.bB(a,b,null)}, +bf:function(a){return new P.dw(this,a)}, +be:function(a){return this.bf(a,null)}, +ar:function(a){return new P.dv(this,a)}, +bg:function(a,b){return new P.dx(this,a,b)}, +i:function(a,b){return}, +bw:function(a){if($.i===C.c)return a.$0() +return P.fk(null,null,this,a)}, +aE:function(a){return this.bw(a,null)}, +bA:function(a,b){if($.i===C.c)return a.$1(b) +return P.fl(null,null,this,a,b)}, +ac:function(a,b){return this.bA(a,b,null,null)}, +by:function(a,b,c){if($.i===C.c)return a.$2(b,c) +return P.hZ(null,null,this,a,b,c)}, +bx:function(a,b,c){return this.by(a,b,c,null,null,null)}, +bu:function(a){return a}, +aD:function(a){return this.bu(a,null,null,null)}} +P.dw.prototype={ +$0:function(){return this.a.aE(this.b)}} +P.dv.prototype={ +$0:function(){return this.a.bz(this.b)}} +P.dx.prototype={ +$1:function(a){return this.a.bC(this.b,a)}, +$S:function(){return{func:1,ret:-1,args:[this.c]}}} +P.dk.prototype={ +gj:function(a){return this.a}, +gp:function(){return new P.dl(this,[H.w(this,0)])}, +S:function(a){var u,t +if(typeof a==="string"&&a!=="__proto__"){u=this.b +return u==null?!1:u[a]!=null}else if(typeof a==="number"&&(a&1073741823)===a){t=this.c +return t==null?!1:t[a]!=null}else return this.b1(a)}, +b1:function(a){var u=this.d +if(u==null)return!1 +return this.L(this.an(u,a),a)>=0}, +i:function(a,b){var u,t,s +if(typeof b==="string"&&b!=="__proto__"){u=this.b +t=u==null?null:P.f4(u,b) +return t}else if(typeof b==="number"&&(b&1073741823)===b){s=this.c +t=s==null?null:P.f4(s,b) +return t}else return this.b5(b)}, +b5:function(a){var u,t,s=this.d +if(s==null)return +u=this.an(s,a) +t=this.L(u,a) +return t<0?null:u[t+1]}, +C:function(a,b,c){var u,t,s,r=this,q=r.d +if(q==null)q=r.d=P.hz() +u=H.fv(b)&1073741823 +t=q[u] +if(t==null){P.f5(q,u,[b,c]);++r.a +r.e=null}else{s=r.L(t,b) +if(s>=0)t[s+1]=c +else{t.push(b,c);++r.a +r.e=null}}}, +u:function(a,b){var u,t,s,r=this,q=r.al() +for(u=q.length,t=0;t=t.length){u.d=null +return!1}else{u.d=t[s] +u.c=s+1 +return!0}}} +P.dr.prototype={ +gm:function(a){var u=new P.dt(this,this.r) +u.c=this.e +return u}, +gj:function(a){return this.a}, +t:function(a,b){var u,t +if(typeof b==="string"&&b!=="__proto__"){u=this.b +if(u==null)return!1 +return u[b]!=null}else{t=this.b0(b) +return t}}, +b0:function(a){var u=this.d +if(u==null)return!1 +return this.L(u[this.ak(a)],a)>=0}, +M:function(a,b){var u,t,s=this +if(typeof b==="string"&&b!=="__proto__"){u=s.b +return s.ah(u==null?s.b=P.el():u,b)}else if(typeof b==="number"&&(b&1073741823)===b){t=s.c +return s.ah(t==null?s.c=P.el():t,b)}else return s.aV(b)}, +aV:function(a){var u,t,s=this,r=s.d +if(r==null)r=s.d=P.el() +u=s.ak(a) +t=r[u] +if(t==null)r[u]=[s.a7(a)] +else{if(s.L(t,a)>=0)return!1 +t.push(s.a7(a))}return!0}, +ah:function(a,b){if(a[b]!=null)return!1 +a[b]=this.a7(b) +return!0}, +a7:function(a){var u=this,t=new P.ds(a) +if(u.e==null)u.e=u.f=t +else u.f=u.f.b=t;++u.a +u.r=1073741823&u.r+1 +return t}, +ak:function(a){return J.Y(a)&1073741823}, +L:function(a,b){var u,t +if(a==null)return-1 +u=a.length +for(t=0;t>>18 +r=t.b=q+1 +s[q]=128|u>>>12&63 +q=t.b=r+1 +s[r]=128|u>>>6&63 +t.b=q+1 +s[q]=128|u&63 +return!0}else{t.b=q +s[r]=224|a>>>12 +r=t.b=q+1 +s[q]=128|a>>>6&63 +t.b=r+1 +s[r]=128|a&63 +return!1}}, +b4:function(a,b,c){var u,t,s,r,q,p,o,n=this +if(b!==c&&(C.a.H(a,c-1)&64512)===55296)--c +for(u=n.c,t=u.length,s=b;s=t)break +n.b=q+1 +u[q]=r}else if((r&64512)===55296){if(n.b+3>=t)break +p=s+1 +if(n.ap(r,C.a.D(a,p)))s=p}else if(r<=2047){q=n.b +o=q+1 +if(o>=t)break +n.b=o +u[q]=192|r>>>6 +n.b=o+1 +u[o]=128|r&63}else{q=n.b +if(q+2>=t)break +o=n.b=q+1 +u[q]=224|r>>>12 +q=n.b=o+1 +u[o]=128|r>>>6&63 +n.b=q+1 +u[q]=128|r&63}}return s}} +P.co.prototype={ +$2:function(a,b){var u,t=this.b,s=this.a +t.a+=s.a +u=t.a+=H.b(a.a) +t.a=u+": " +t.a+=P.aq(b) +s.a=", "}} +P.K.prototype={} +P.ao.prototype={ +B:function(a,b){if(b==null)return!1 +return b instanceof P.ao&&this.a===b.a&&!0}, +gn:function(a){var u=this.a +return(u^C.d.a9(u,30))&1073741823}, +h:function(a){var u=this,t=P.h_(H.hn(u)),s=P.aY(H.hl(u)),r=P.aY(H.hh(u)),q=P.aY(H.hi(u)),p=P.aY(H.hk(u)),o=P.aY(H.hm(u)),n=P.h0(H.hj(u)),m=t+"-"+s+"-"+r+" "+q+":"+p+":"+o+"."+n +return m}} +P.ag.prototype={} +P.M.prototype={} +P.aB.prototype={ +h:function(a){return"Throw of null."}} +P.y.prototype={ +ga4:function(){return"Invalid argument"+(!this.a?"(s)":"")}, +ga3:function(){return""}, +h:function(a){var u,t,s,r,q=this,p=q.c,o=p!=null?" ("+p+")":"" +p=q.d +u=p==null?"":": "+H.b(p) +t=q.ga4()+o+u +if(!q.a)return t +s=q.ga3() +r=P.aq(q.b) +return t+s+": "+r}} +P.a9.prototype={ +ga4:function(){return"RangeError"}, +ga3:function(){var u,t,s=this.e +if(s==null){s=this.f +u=s!=null?": Not less than or equal to "+H.b(s):""}else{t=this.f +if(t==null)u=": Not greater than or equal to "+H.b(s) +else if(t>s)u=": Not in range "+H.b(s)+".."+H.b(t)+", inclusive" +else u=tf.length +else i=!1 +if(i)g=null +if(g==null){u=f.length>78?C.a.K(f,0,75)+"...":f +return h+"\n"+u}for(t=1,s=0,r=!1,q=0;q1?h+(" (at line "+t+", character "+(g-s+1)+")\n"):h+(" (at character "+(g+1)+")\n") +o=f.length +for(q=g;q78)if(g-s<75){n=s+75 +m=s +l="" +k="..."}else{if(o-g<75){m=o-75 +n=o +k=""}else{m=g-36 +n=g+36 +k="..."}l="..."}else{n=o +m=s +l="" +k=""}j=C.a.K(f,m,n) +return h+l+j+k+"\n"+C.a.aJ(" ",g-m+l.length)+"^\n"}else return g!=null?h+(" (at offset "+H.b(g)+")"):h}} +P.N.prototype={} +P.B.prototype={} +P.l.prototype={ +I:function(a,b,c){return H.hd(this,b,H.ez(this,"l",0),c)}, +a_:function(a,b){return new H.aJ(this,b,[H.ez(this,"l",0)])}, +T:function(a,b){var u,t=this.gm(this) +if(!t.k())return"" +if(b===""){u="" +do u+=H.b(t.gl()) +while(t.k())}else{u=H.b(t.gl()) +for(;t.k();)u=u+b+H.b(t.gl())}return u.charCodeAt(0)==0?u:u}, +gj:function(a){var u,t=this.gm(this) +for(u=0;t.k();)++u +return u}, +gJ:function(a){var u,t=this.gm(this) +if(!t.k())throw H.e(H.eT()) +u=t.gl() +if(t.k())throw H.e(H.h6()) +return u}, +A:function(a,b){var u,t,s +P.hp(b,"index") +for(u=this.gm(this),t=0;u.k();){s=u.gl() +if(b===t)return s;++t}throw H.e(P.bV(b,this,"index",null,t))}, +h:function(a){return P.h5(this,"(",")")}} +P.bW.prototype={} +P.c8.prototype={$in:1,$il:1} +P.t.prototype={ +gn:function(a){return P.h.prototype.gn.call(this,this)}, +h:function(a){return"null"}} +P.aV.prototype={} +P.h.prototype={constructor:P.h,$ih:1, +B:function(a,b){return this===b}, +gn:function(a){return H.a7(this)}, +h:function(a){return"Instance of '"+H.aC(this)+"'"}, +Y:function(a,b){throw H.e(P.eY(this,b.gay(),b.gaC(),b.gaz()))}, +toString:function(){return this.h(this)}} +P.x.prototype={} +P.f.prototype={} +P.T.prototype={ +gj:function(a){return this.a.length}, +h:function(a){var u=this.a +return u.charCodeAt(0)==0?u:u}} +P.aa.prototype={} +P.dJ.prototype={ +gav:function(a){var u=this.c +if(u==null)return"" +if(C.a.P(u,"["))return C.a.K(u,1,u.length-1) +return u}, +gaB:function(a){var u=P.hE(this.a) +return u}, +h:function(a){var u,t,s,r=this,q=r.y +if(q==null){q=r.a +u=q.length!==0?q+":":"" +t=r.c +s=t==null +if(!s||q==="file"){q=u+"//" +u=r.b +if(u.length!==0)q=q+u+"@" +if(!s)q+=t}else q=u +q+=r.e +u=r.f +if(u!=null)q=q+"?"+u +u=r.r +if(u!=null)q=q+"#"+u +q=r.y=q.charCodeAt(0)==0?q:q}return q}, +B:function(a,b){var u,t,s,r,q=this +if(b==null)return!1 +if(q===b)return!0 +if(!!J.k(b).$iht)if(q.a===b.a)if(q.c!=null===(b.c!=null))if(q.b===b.b)if(q.gav(q)==b.gav(b))if(q.gaB(q)==b.gaB(b))if(q.e===b.e){u=q.f +t=u==null +s=b.f +r=s==null +if(!t===!r){if(t)u="" +if(u===(r?"":s)){u=q.r +t=u==null +s=b.r +r=s==null +if(!t===!r){if(t)u="" +u=u===(r?"":s)}else u=!1}else u=!1}else u=!1}else u=!1 +else u=!1 +else u=!1 +else u=!1 +else u=!1 +else u=!1 +else u=!1 +return u}, +gn:function(a){var u=this.z +return u==null?this.z=C.a.gn(this.h(0)):u}, +$iht:1} +P.dL.prototype={ +$2:function(a,b){var u=this.b,t=this.a +u.a+=t.a +t.a="&" +t=u.a+=H.b(P.fc(C.o,a,C.e,!0)) +if(b!=null&&b.length!==0){u.a=t+"=" +u.a+=H.b(P.fc(C.o,b,C.e,!0))}}} +P.dK.prototype={ +$2:function(a,b){var u,t +if(b==null||typeof b==="string")this.a.$2(a,b) +else for(u=J.F(b),t=this.a;u.k();)t.$2(a,u.gl())}} +W.d.prototype={} +W.bC.prototype={ +h:function(a){return String(a)}} +W.bD.prototype={ +h:function(a){return String(a)}} +W.a_.prototype={$ia_:1} +W.a0.prototype={$ia0:1} +W.L.prototype={ +gj:function(a){return a.length}} +W.bN.prototype={ +h:function(a){return String(a)}} +W.D.prototype={ +gbd:function(a){return new W.d0(a)}, +h:function(a){return a.localName}, +v:function(a,b,c,d){var u,t,s,r,q +if(c==null){u=$.eS +if(u==null){u=H.m([],[W.I]) +t=new W.bc(u) +u.push(W.f6(null)) +u.push(W.f7()) +$.eS=t +d=t}else d=u +u=$.eR +if(u==null){u=new W.bt(d) +$.eR=u +c=u}else{u.a=d +c=u}}if($.H==null){u=document +t=u.implementation.createHTMLDocument("") +$.H=t +$.ee=t.createRange() +s=$.H.createElement("base") +s.href=u.baseURI +$.H.head.appendChild(s)}u=$.H +if(u.body==null){t=u.createElement("body") +u.body=t}u=$.H +if(!!this.$ia0)r=u.body +else{r=u.createElement(a.tagName) +$.H.body.appendChild(r)}if("createContextualFragment" in window.Range.prototype&&!C.b.t(C.I,a.tagName)){$.ee.selectNodeContents(r) +q=$.ee.createContextualFragment(b)}else{r.innerHTML=b +q=$.H.createDocumentFragment() +for(;u=r.firstChild,u!=null;)q.appendChild(u)}u=$.H.body +if(r==null?u!=null:r!==u)J.eJ(r) +c.ae(q) +document.adoptNode(q) +return q}, +bk:function(a,b,c){return this.v(a,b,c,null)}, +saw:function(a,b){this.a0(a,b)}, +a0:function(a,b){a.textContent=null +a.appendChild(this.v(a,b,null,null))}, +gaA:function(a){return new W.bi(a,"submit",!1,[W.a])}, +$iD:1, +gaF:function(a){return a.tagName}} +W.bO.prototype={ +$1:function(a){return!!J.k(a).$iD}} +W.a.prototype={$ia:1} +W.b_.prototype={ +aW:function(a,b,c,d){return a.addEventListener(b,H.bx(c,1),!1)}} +W.bQ.prototype={ +gj:function(a){return a.length}} +W.O.prototype={ +bt:function(a,b,c,d){return a.open(b,c,!0)}, +$iO:1} +W.bS.prototype={ +$1:function(a){return a.responseText}} +W.bT.prototype={ +$1:function(a){var u,t=this.a,s=t.status,r=s>=200&&s<300,q=s>307&&s<400 +s=r||s===0||s===304||q +u=this.b +if(s)u.F(0,t) +else u.au(a)}} +W.b2.prototype={} +W.as.prototype={$ias:1} +W.a1.prototype={$ia1:1} +W.ca.prototype={ +h:function(a){return String(a)}} +W.u.prototype={ +gJ:function(a){var u=this.a,t=u.childNodes.length +if(t===0)throw H.e(P.aF("No elements")) +if(t>1)throw H.e(P.aF("More than one element")) +return u.firstChild}, +q:function(a,b){var u,t,s=b.a,r=this.a +if(s!==r)for(u=s.childNodes.length,t=0;t>>0!==b||b>=a.length)throw H.e(P.bV(b,a,null,null,null)) +return a[b]}, +A:function(a,b){return a[b]}, +$in:1, +$an:function(){return[W.j]}, +$ia3:1, +$aa3:function(){return[W.j]}, +$aq:function(){return[W.j]}, +$il:1, +$al:function(){return[W.j]}} +W.a8.prototype={$ia8:1} +W.cx.prototype={ +gj:function(a){return a.length}} +W.bf.prototype={ +v:function(a,b,c,d){var u,t +if("createContextualFragment" in window.Range.prototype)return this.a1(a,b,c,d) +u=W.h1(""+b+"
",c,d) +t=document.createDocumentFragment() +t.toString +u.toString +new W.u(t).q(0,new W.u(u)) +return t}} +W.cD.prototype={ +v:function(a,b,c,d){var u,t,s,r +if("createContextualFragment" in window.Range.prototype)return this.a1(a,b,c,d) +u=document +t=u.createDocumentFragment() +u=C.r.v(u.createElement("table"),b,c,d) +u.toString +u=new W.u(u) +s=u.gJ(u) +s.toString +u=new W.u(s) +r=u.gJ(u) +t.toString +r.toString +new W.u(t).q(0,new W.u(r)) +return t}} +W.cE.prototype={ +v:function(a,b,c,d){var u,t,s +if("createContextualFragment" in window.Range.prototype)return this.a1(a,b,c,d) +u=document +t=u.createDocumentFragment() +u=C.r.v(u.createElement("table"),b,c,d) +u.toString +u=new W.u(u) +s=u.gJ(u) +t.toString +s.toString +new W.u(t).q(0,new W.u(s)) +return t}} +W.aH.prototype={ +a0:function(a,b){var u +a.textContent=null +u=this.v(a,b,null,null) +a.content.appendChild(u)}, +$iaH:1} +W.ab.prototype={$iab:1} +W.J.prototype={$iJ:1} +W.bm.prototype={ +gj:function(a){return a.length}, +i:function(a,b){if(b>>>0!==b||b>=a.length)throw H.e(P.bV(b,a,null,null,null)) +return a[b]}, +A:function(a,b){return a[b]}, +$in:1, +$an:function(){return[W.j]}, +$ia3:1, +$aa3:function(){return[W.j]}, +$aq:function(){return[W.j]}, +$il:1, +$al:function(){return[W.j]}} +W.cY.prototype={ +u:function(a,b){var u,t,s,r,q +for(u=this.gp(),t=u.length,s=this.a,r=0;r" +if(typeof console!="undefined")window.console.warn(u) +return}if(!p.a.N(a)){p.R(a,b) +window +u="Removing disallowed element <"+H.b(e)+"> from "+H.b(b) +if(typeof console!="undefined")window.console.warn(u) +return}if(g!=null)if(!p.a.E(a,"is",g)){p.R(a,b) +window +u="Removing disallowed type extension <"+H.b(e)+' is="'+g+'">' +if(typeof console!="undefined")window.console.warn(u) +return}u=f.gp() +t=H.m(u.slice(0),[H.w(u,0)]) +for(s=f.gp().length-1,u=f.a;s>=0;--s){r=t[s] +if(!p.a.E(a,J.fU(r),u.getAttribute(r))){window +q="Removing disallowed attribute <"+H.b(e)+" "+r+'="'+H.b(u.getAttribute(r))+'">' +if(typeof console!="undefined")window.console.warn(q) +u.removeAttribute(r)}}if(!!J.k(a).$iaH)p.ae(a.content)}} +W.dN.prototype={ +$2:function(a,b){var u,t,s,r,q,p=this.a +switch(a.nodeType){case 1:p.b9(a,b) +break +case 8:case 11:case 3:case 4:break +default:p.R(a,b)}u=a.lastChild +for(p=a==null;null!=u;){t=null +try{t=u.previousSibling}catch(s){H.p(s) +r=u +if(p){q=r.parentNode +if(q!=null)q.removeChild(r)}else a.removeChild(r) +u=null +t=a.lastChild}if(u!=null)this.$2(u,a) +u=t}}} +W.bn.prototype={} +W.bo.prototype={} +W.bu.prototype={} +W.bv.prototype={} +P.aw.prototype={$iaw:1} +P.z.prototype={ +i:function(a,b){if(typeof b!=="string"&&typeof b!=="number")throw H.e(P.eL("property is not a String or num")) +return P.em(this.a[b])}, +gn:function(a){return 0}, +B:function(a,b){if(b==null)return!1 +return b instanceof P.z&&this.a===b.a}, +h:function(a){var u,t +try{u=String(this.a) +return u}catch(t){H.p(t) +u=this.aQ(this) +return u}}, +as:function(a,b){var u=this.a,t=b==null?null:P.ek(new H.R(b,P.im(),[H.w(b,0),null]),!0,null) +return P.em(u[a].apply(u,t))}} +P.c2.prototype={ +$1:function(a){var u,t,s,r,q=this.a +if(q.S(a))return q.i(0,a) +u=J.k(a) +if(!!u.$ia5){t={} +q.C(0,a,t) +for(q=J.F(a.gp());q.k();){s=q.gl() +t[s]=this.$1(a.i(0,s))}return t}else if(!!u.$il){r=[] +q.C(0,a,r) +C.b.q(r,u.I(a,this,null)) +return r}else return P.en(a)}, +$S:0} +P.au.prototype={} +P.at.prototype={ +b_:function(a){var u=this,t=a<0||a>=u.gj(u) +if(t)throw H.e(P.bd(a,0,u.gj(u),null,null))}, +i:function(a,b){if(typeof b==="number"&&b===C.d.bD(b))this.b_(b) +return this.aP(0,b)}, +gj:function(a){var u=this.a.length +if(typeof u==="number"&&u>>>0===u)return u +throw H.e(P.aF("Bad JsArray length"))}, +$in:1, +$il:1} +P.dS.prototype={ +$1:function(a){var u=function(b,c,d){return function(){return b(c,d,this,Array.prototype.slice.apply(arguments))}}(P.hQ,a,!1) +P.eo(u,$.ec(),a) +return u}, +$S:0} +P.dT.prototype={ +$1:function(a){return new this.a(a)}, +$S:0} +P.dY.prototype={ +$1:function(a){return new P.au(a)}, +$S:11} +P.dZ.prototype={ +$1:function(a){return new P.at(a,[null])}, +$S:12} +P.e_.prototype={ +$1:function(a){return new P.z(a)}, +$S:13} +P.bk.prototype={} +P.aD.prototype={$iaD:1} +P.c.prototype={ +saw:function(a,b){this.a0(a,b)}, +v:function(a,b,c,d){var u,t,s,r,q,p=H.m([],[W.I]) +p.push(W.f6(null)) +p.push(W.f7()) +p.push(new W.dD()) +c=new W.bt(new W.bc(p)) +u=''+b+"" +p=document +t=p.body +s=(t&&C.j).bk(t,u,c) +r=p.createDocumentFragment() +s.toString +p=new W.u(s) +q=p.gJ(p) +for(;p=q.firstChild,p!=null;)r.appendChild(p) +return r}, +gaA:function(a){return new W.bi(a,"submit",!1,[W.a])}, +$ic:1} +F.e9.prototype={ +$1:function(a){var u,t +a.preventDefault() +u=J.fV(this.a.value) +t=this.b.value +F.aP(u,t.length!==0?t:null) +return}} +F.dU.prototype={ +$1:function(a){return a!=null}, +$S:14};(function aliases(){var u=J.r.prototype +u.aM=u.h +u.aL=u.Y +u=J.b6.prototype +u.aO=u.h +u=P.l.prototype +u.aN=u.a_ +u=P.h.prototype +u.aQ=u.h +u=W.D.prototype +u.a1=u.v +u=W.bp.prototype +u.aR=u.E +u=P.z.prototype +u.aP=u.i})();(function installTearOffs(){var u=hunkHelpers._static_1,t=hunkHelpers._static_0,s=hunkHelpers.installInstanceTearOff,r=hunkHelpers.installStaticTearOff +u(P,"i3","hv",1) +u(P,"i4","hw",1) +u(P,"i5","hx",1) +t(P,"fq","i0",15) +s(P.bh.prototype,"gat",0,1,function(){return[null]},["$2","$1"],["O","au"],6,0) +s(P.br.prototype,"gbh",1,0,null,["$1","$0"],["F","bi"],7,0) +r(W,"id",4,null,["$4"],["hA"],3,0) +r(W,"ie",4,null,["$4"],["hB"],3,0) +u(P,"im","en",0) +u(P,"il","em",16) +r(F,"ic",1,function(){return{filter:null}},["$2$filter","$1"],["aP",function(a){return F.aP(a,null)}],17,0)})();(function inheritance(){var u=hunkHelpers.mixin,t=hunkHelpers.inherit,s=hunkHelpers.inheritMany +t(P.h,null) +s(P.h,[H.ei,J.r,J.ak,P.l,H.b7,P.bW,H.b0,H.aG,P.cf,H.bI,H.bZ,H.an,H.cG,P.M,H.ar,H.bq,P.ce,H.c5,H.c6,H.c0,P.dG,P.cQ,P.o,P.bh,P.d6,P.v,P.bg,P.cz,P.cA,P.cB,P.dC,P.Z,P.dO,P.dm,P.dz,P.ds,P.dt,P.bl,P.q,P.dI,P.bG,P.dM,P.K,P.ao,P.aV,P.cs,P.be,P.d5,P.bR,P.N,P.c8,P.t,P.x,P.f,P.T,P.aa,P.dJ,W.aK,W.b3,W.bc,W.bp,W.dD,W.b1,W.d_,W.I,W.dy,W.bt,P.z]) +s(J.r,[J.bX,J.b5,J.b6,J.P,J.c_,J.a2,H.aA,W.b_,W.a_,W.bN,W.a,W.as,W.ca,W.bn,W.bu,P.aw]) +s(J.b6,[J.ct,J.aI,J.Q]) +t(J.eh,J.P) +s(J.c_,[J.b4,J.bY]) +s(P.l,[H.n,H.ay,H.aJ,H.cZ]) +s(H.n,[H.a4,H.ax,P.dl]) +t(H.aZ,H.ay) +s(P.bW,[H.cg,H.cP]) +s(H.a4,[H.R,P.dq]) +t(P.bs,P.cf) +t(P.cK,P.bs) +t(H.bJ,P.cK) +t(H.bK,H.bI) +s(H.an,[H.cu,H.eb,H.cF,H.e4,H.e5,H.e6,P.cV,P.cU,P.cW,P.cX,P.dH,P.cS,P.cR,P.dP,P.dQ,P.dX,P.d7,P.df,P.db,P.dc,P.dd,P.d9,P.de,P.d8,P.di,P.dj,P.dh,P.dg,P.cC,P.dW,P.dw,P.dv,P.dx,P.cd,P.co,P.dL,P.dK,W.bO,W.bS,W.bT,W.d4,W.cq,W.cp,W.dA,W.dB,W.dF,W.dN,P.c2,P.dS,P.dT,P.dY,P.dZ,P.e_,F.e9,F.dU]) +s(P.M,[H.cr,H.c1,H.cJ,H.bF,H.cw,P.aB,P.y,P.cn,P.cL,P.cI,P.aE,P.bH,P.bM]) +s(H.cF,[H.cy,H.al]) +t(P.cb,P.ce) +s(P.cb,[H.av,P.dk,P.dp,W.cY]) +t(H.b8,H.aA) +s(H.b8,[H.aL,H.aN]) +t(H.aM,H.aL) +t(H.az,H.aM) +t(H.aO,H.aN) +t(H.b9,H.aO) +s(H.b9,[H.ch,H.ci,H.cj,H.ck,H.cl,H.ba,H.cm]) +s(P.bh,[P.cT,P.br]) +t(P.du,P.dO) +t(P.dn,P.dk) +t(P.dr,P.dz) +t(P.c9,P.bl) +t(P.bL,P.cB) +s(P.bG,[P.bP,P.c3]) +s(P.bL,[P.c4,P.cO]) +t(P.cN,P.bP) +s(P.aV,[P.ag,P.B]) +s(P.y,[P.a9,P.bU]) +s(W.b_,[W.j,W.b2,W.ab,W.J]) +s(W.j,[W.D,W.L]) +s(W.D,[W.d,P.c]) +s(W.d,[W.bC,W.bD,W.a0,W.bQ,W.a1,W.cx,W.bf,W.cD,W.cE,W.aH]) +t(W.O,W.b2) +t(W.u,P.c9) +t(W.bo,W.bn) +t(W.bb,W.bo) +t(W.a8,W.a) +t(W.bv,W.bu) +t(W.bm,W.bv) +t(W.d0,W.cY) +t(W.d1,P.cz) +t(W.bi,W.d1) +t(W.d2,P.cA) +t(W.dE,W.bp) +s(P.z,[P.au,P.bk]) +t(P.at,P.bk) +t(P.aD,P.c) +u(H.aL,P.q) +u(H.aM,H.b0) +u(H.aN,P.q) +u(H.aO,H.b0) +u(P.bl,P.q) +u(P.bs,P.dI) +u(W.bn,P.q) +u(W.bo,W.b3) +u(W.bu,P.q) +u(W.bv,W.b3) +u(P.bk,P.q)})();(function constants(){var u=hunkHelpers.makeConstList +C.j=W.a0.prototype +C.C=W.O.prototype +C.D=J.r.prototype +C.b=J.P.prototype +C.d=J.b4.prototype +C.E=J.b5.prototype +C.a=J.a2.prototype +C.F=J.Q.prototype +C.q=J.ct.prototype +C.r=W.bf.prototype +C.i=J.aI.prototype +C.k=function getTagFallback(o) { + var s = Object.prototype.toString.call(o); + return s.substring(8, s.length - 1); +} +C.t=function() { + var toStringFunction = Object.prototype.toString; + function getTag(o) { + var s = toStringFunction.call(o); + return s.substring(8, s.length - 1); + } + function getUnknownTag(object, tag) { + if (/^HTML[A-Z].*Element$/.test(tag)) { + var name = toStringFunction.call(object); + if (name == "[object Object]") return null; + return "HTMLElement"; + } + } + function getUnknownTagGenericBrowser(object, tag) { + if (self.HTMLElement && object instanceof HTMLElement) return "HTMLElement"; + return getUnknownTag(object, tag); + } + function prototypeForTag(tag) { + if (typeof window == "undefined") return null; + if (typeof window[tag] == "undefined") return null; + var constructor = window[tag]; + if (typeof constructor != "function") return null; + return constructor.prototype; + } + function discriminator(tag) { return null; } + var isBrowser = typeof navigator == "object"; + return { + getTag: getTag, + getUnknownTag: isBrowser ? getUnknownTagGenericBrowser : getUnknownTag, + prototypeForTag: prototypeForTag, + discriminator: discriminator }; +} +C.y=function(getTagFallback) { + return function(hooks) { + if (typeof navigator != "object") return hooks; + var ua = navigator.userAgent; + if (ua.indexOf("DumpRenderTree") >= 0) return hooks; + if (ua.indexOf("Chrome") >= 0) { + function confirm(p) { + return typeof window == "object" && window[p] && window[p].name == p; + } + if (confirm("Window") && confirm("HTMLElement")) return hooks; + } + hooks.getTag = getTagFallback; + }; +} +C.u=function(hooks) { + if (typeof dartExperimentalFixupGetTag != "function") return hooks; + hooks.getTag = dartExperimentalFixupGetTag(hooks.getTag); +} +C.v=function(hooks) { + var getTag = hooks.getTag; + var prototypeForTag = hooks.prototypeForTag; + function getTagFixed(o) { + var tag = getTag(o); + if (tag == "Document") { + if (!!o.xmlVersion) return "!Document"; + return "!HTMLDocument"; + } + return tag; + } + function prototypeForTagFixed(tag) { + if (tag == "Document") return null; + return prototypeForTag(tag); + } + hooks.getTag = getTagFixed; + hooks.prototypeForTag = prototypeForTagFixed; +} +C.x=function(hooks) { + var userAgent = typeof navigator == "object" ? navigator.userAgent : ""; + if (userAgent.indexOf("Firefox") == -1) return hooks; + var getTag = hooks.getTag; + var quickMap = { + "BeforeUnloadEvent": "Event", + "DataTransfer": "Clipboard", + "GeoGeolocation": "Geolocation", + "Location": "!Location", + "WorkerMessageEvent": "MessageEvent", + "XMLDocument": "!Document"}; + function getTagFirefox(o) { + var tag = getTag(o); + return quickMap[tag] || tag; + } + hooks.getTag = getTagFirefox; +} +C.w=function(hooks) { + var userAgent = typeof navigator == "object" ? navigator.userAgent : ""; + if (userAgent.indexOf("Trident/") == -1) return hooks; + var getTag = hooks.getTag; + var quickMap = { + "BeforeUnloadEvent": "Event", + "DataTransfer": "Clipboard", + "HTMLDDElement": "HTMLElement", + "HTMLDTElement": "HTMLElement", + "HTMLPhraseElement": "HTMLElement", + "Position": "Geoposition" + }; + function getTagIE(o) { + var tag = getTag(o); + var newTag = quickMap[tag]; + if (newTag) return newTag; + if (tag == "Object") { + if (window.DataView && (o instanceof window.DataView)) return "DataView"; + } + return tag; + } + function prototypeForTagIE(tag) { + var constructor = window[tag]; + if (constructor == null) return null; + return constructor.prototype; + } + hooks.getTag = getTagIE; + hooks.prototypeForTag = prototypeForTagIE; +} +C.l=function(hooks) { return hooks; } + +C.z=new P.c3() +C.A=new P.cs() +C.e=new P.cN() +C.B=new P.cO() +C.c=new P.du() +C.G=new P.c4(null) +C.H=H.m(u(["*::class","*::dir","*::draggable","*::hidden","*::id","*::inert","*::itemprop","*::itemref","*::itemscope","*::lang","*::spellcheck","*::title","*::translate","A::accesskey","A::coords","A::hreflang","A::name","A::shape","A::tabindex","A::target","A::type","AREA::accesskey","AREA::alt","AREA::coords","AREA::nohref","AREA::shape","AREA::tabindex","AREA::target","AUDIO::controls","AUDIO::loop","AUDIO::mediagroup","AUDIO::muted","AUDIO::preload","BDO::dir","BODY::alink","BODY::bgcolor","BODY::link","BODY::text","BODY::vlink","BR::clear","BUTTON::accesskey","BUTTON::disabled","BUTTON::name","BUTTON::tabindex","BUTTON::type","BUTTON::value","CANVAS::height","CANVAS::width","CAPTION::align","COL::align","COL::char","COL::charoff","COL::span","COL::valign","COL::width","COLGROUP::align","COLGROUP::char","COLGROUP::charoff","COLGROUP::span","COLGROUP::valign","COLGROUP::width","COMMAND::checked","COMMAND::command","COMMAND::disabled","COMMAND::label","COMMAND::radiogroup","COMMAND::type","DATA::value","DEL::datetime","DETAILS::open","DIR::compact","DIV::align","DL::compact","FIELDSET::disabled","FONT::color","FONT::face","FONT::size","FORM::accept","FORM::autocomplete","FORM::enctype","FORM::method","FORM::name","FORM::novalidate","FORM::target","FRAME::name","H1::align","H2::align","H3::align","H4::align","H5::align","H6::align","HR::align","HR::noshade","HR::size","HR::width","HTML::version","IFRAME::align","IFRAME::frameborder","IFRAME::height","IFRAME::marginheight","IFRAME::marginwidth","IFRAME::width","IMG::align","IMG::alt","IMG::border","IMG::height","IMG::hspace","IMG::ismap","IMG::name","IMG::usemap","IMG::vspace","IMG::width","INPUT::accept","INPUT::accesskey","INPUT::align","INPUT::alt","INPUT::autocomplete","INPUT::autofocus","INPUT::checked","INPUT::disabled","INPUT::inputmode","INPUT::ismap","INPUT::list","INPUT::max","INPUT::maxlength","INPUT::min","INPUT::multiple","INPUT::name","INPUT::placeholder","INPUT::readonly","INPUT::required","INPUT::size","INPUT::step","INPUT::tabindex","INPUT::type","INPUT::usemap","INPUT::value","INS::datetime","KEYGEN::disabled","KEYGEN::keytype","KEYGEN::name","LABEL::accesskey","LABEL::for","LEGEND::accesskey","LEGEND::align","LI::type","LI::value","LINK::sizes","MAP::name","MENU::compact","MENU::label","MENU::type","METER::high","METER::low","METER::max","METER::min","METER::value","OBJECT::typemustmatch","OL::compact","OL::reversed","OL::start","OL::type","OPTGROUP::disabled","OPTGROUP::label","OPTION::disabled","OPTION::label","OPTION::selected","OPTION::value","OUTPUT::for","OUTPUT::name","P::align","PRE::width","PROGRESS::max","PROGRESS::min","PROGRESS::value","SELECT::autocomplete","SELECT::disabled","SELECT::multiple","SELECT::name","SELECT::required","SELECT::size","SELECT::tabindex","SOURCE::type","TABLE::align","TABLE::bgcolor","TABLE::border","TABLE::cellpadding","TABLE::cellspacing","TABLE::frame","TABLE::rules","TABLE::summary","TABLE::width","TBODY::align","TBODY::char","TBODY::charoff","TBODY::valign","TD::abbr","TD::align","TD::axis","TD::bgcolor","TD::char","TD::charoff","TD::colspan","TD::headers","TD::height","TD::nowrap","TD::rowspan","TD::scope","TD::valign","TD::width","TEXTAREA::accesskey","TEXTAREA::autocomplete","TEXTAREA::cols","TEXTAREA::disabled","TEXTAREA::inputmode","TEXTAREA::name","TEXTAREA::placeholder","TEXTAREA::readonly","TEXTAREA::required","TEXTAREA::rows","TEXTAREA::tabindex","TEXTAREA::wrap","TFOOT::align","TFOOT::char","TFOOT::charoff","TFOOT::valign","TH::abbr","TH::align","TH::axis","TH::bgcolor","TH::char","TH::charoff","TH::colspan","TH::headers","TH::height","TH::nowrap","TH::rowspan","TH::scope","TH::valign","TH::width","THEAD::align","THEAD::char","THEAD::charoff","THEAD::valign","TR::align","TR::bgcolor","TR::char","TR::charoff","TR::valign","TRACK::default","TRACK::kind","TRACK::label","TRACK::srclang","UL::compact","UL::type","VIDEO::controls","VIDEO::height","VIDEO::loop","VIDEO::mediagroup","VIDEO::muted","VIDEO::preload","VIDEO::width"]),[P.f]) +C.m=H.m(u([0,0,26624,1023,65534,2047,65534,2047]),[P.B]) +C.I=H.m(u(["HEAD","AREA","BASE","BASEFONT","BR","COL","COLGROUP","EMBED","FRAME","FRAMESET","HR","IMAGE","IMG","INPUT","ISINDEX","LINK","META","PARAM","SOURCE","STYLE","TITLE","WBR"]),[P.f]) +C.J=H.m(u([]),[P.f]) +C.n=u([]) +C.o=H.m(u([0,0,24576,1023,65534,34815,65534,18431]),[P.B]) +C.f=H.m(u(["bind","if","ref","repeat","syntax"]),[P.f]) +C.h=H.m(u(["A::href","AREA::href","BLOCKQUOTE::cite","BODY::background","COMMAND::icon","DEL::cite","FORM::action","IMG::src","INPUT::src","INS::cite","Q::cite","VIDEO::poster"]),[P.f]) +C.K=H.m(u([]),[P.aa]) +C.p=new H.bK(0,{},C.K,[P.aa,null]) +C.L=new H.aG("call")})() +var v={mangledGlobalNames:{B:"int",ag:"double",aV:"num",f:"String",K:"bool",t:"Null",c8:"List"},mangledNames:{},getTypeFromName:getGlobalFromName,metadata:[],types:[{func:1,args:[,]},{func:1,ret:-1,args:[{func:1,ret:-1}]},{func:1,ret:P.t,args:[,]},{func:1,ret:P.K,args:[W.D,P.f,P.f,W.aK]},{func:1,ret:-1,args:[,]},{func:1,ret:P.t,args:[,P.x]},{func:1,ret:-1,args:[P.h],opt:[P.x]},{func:1,ret:-1,opt:[P.h]},{func:1,ret:P.t,args:[,],opt:[P.x]},{func:1,ret:[P.v,,],args:[,]},{func:1,ret:P.t,args:[,,]},{func:1,ret:P.au,args:[,]},{func:1,ret:[P.at,,],args:[,]},{func:1,ret:P.z,args:[,]},{func:1,ret:P.K,args:[P.h]},{func:1,ret:-1},{func:1,ret:P.h,args:[,]},{func:1,ret:[P.o,,],args:[P.f],named:{filter:P.f}}],interceptorsByTag:null,leafTags:null};(function staticFields(){$.C=0 +$.am=null +$.eN=null +$.fs=null +$.fo=null +$.fx=null +$.e0=null +$.e7=null +$.eA=null +$.ad=null +$.aQ=null +$.aR=null +$.er=!1 +$.i=C.c +$.W=[] +$.H=null +$.ee=null +$.eS=null +$.eR=null +$.bj=P.hc(P.f,P.N)})();(function lazyInitializers(){var u=hunkHelpers.lazy +u($,"iw","ec",function(){return H.ey("_$dart_dartClosure")}) +u($,"ix","eD",function(){return H.ey("_$dart_js")}) +u($,"iz","fz",function(){return H.E(H.cH({ +toString:function(){return"$receiver$"}}))}) +u($,"iA","fA",function(){return H.E(H.cH({$method$:null, +toString:function(){return"$receiver$"}}))}) +u($,"iB","fB",function(){return H.E(H.cH(null))}) +u($,"iC","fC",function(){return H.E(function(){var $argumentsExpr$='$arguments$' +try{null.$method$($argumentsExpr$)}catch(t){return t.message}}())}) +u($,"iF","fF",function(){return H.E(H.cH(void 0))}) +u($,"iG","fG",function(){return H.E(function(){var $argumentsExpr$='$arguments$' +try{(void 0).$method$($argumentsExpr$)}catch(t){return t.message}}())}) +u($,"iE","fE",function(){return H.E(H.f0(null))}) +u($,"iD","fD",function(){return H.E(function(){try{null.$method$}catch(t){return t.message}}())}) +u($,"iI","fI",function(){return H.E(H.f0(void 0))}) +u($,"iH","fH",function(){return H.E(function(){try{(void 0).$method$}catch(t){return t.message}}())}) +u($,"iJ","eE",function(){return P.hu()}) +u($,"iM","fK",function(){return P.hr("^[\\-\\.0-9A-Z_a-z~]*$")}) +u($,"iL","fJ",function(){return P.eX(["A","ABBR","ACRONYM","ADDRESS","AREA","ARTICLE","ASIDE","AUDIO","B","BDI","BDO","BIG","BLOCKQUOTE","BR","BUTTON","CANVAS","CAPTION","CENTER","CITE","CODE","COL","COLGROUP","COMMAND","DATA","DATALIST","DD","DEL","DETAILS","DFN","DIR","DIV","DL","DT","EM","FIELDSET","FIGCAPTION","FIGURE","FONT","FOOTER","FORM","H1","H2","H3","H4","H5","H6","HEADER","HGROUP","HR","I","IFRAME","IMG","INPUT","INS","KBD","LABEL","LEGEND","LI","MAP","MARK","MENU","METER","NAV","NOBR","OL","OPTGROUP","OPTION","OUTPUT","P","PRE","PROGRESS","Q","S","SAMP","SECTION","SELECT","SMALL","SOURCE","SPAN","STRIKE","STRONG","SUB","SUMMARY","SUP","TABLE","TBODY","TD","TEXTAREA","TFOOT","TH","THEAD","TIME","TR","TRACK","TT","U","UL","VAR","VIDEO","WBR"],P.f)}) +u($,"iR","fL",function(){return P.eu(self)}) +u($,"iK","eF",function(){return H.ey("_$dart_dartObject")}) +u($,"iN","eG",function(){return function DartObject(a){this.o=a}}) +u($,"iP","eI",function(){return $.fL().i(0,"$build")}) +u($,"iO","eH",function(){return W.i7().getElementById("details")})})();(function nativeSupport(){!function(){var u=function(a){var o={} +o[a]=1 +return Object.keys(hunkHelpers.convertToFastObject(o))[0]} +v.getIsolateTag=function(a){return u("___dart_"+a+v.isolateTag)} +var t="___dart_isolate_tags_" +var s=Object[t]||(Object[t]=Object.create(null)) +var r="_ZxYxX" +for(var q=0;;q++){var p=u(r+"_"+q+"_") +if(!(p in s)){s[p]=1 +v.isolateTag=p +break}}v.dispatchPropertyName=v.getIsolateTag("dispatch_record")}() +hunkHelpers.setOrUpdateInterceptorsByTag({DOMError:J.r,DOMImplementation:J.r,MediaError:J.r,NavigatorUserMediaError:J.r,OverconstrainedError:J.r,PositionError:J.r,Range:J.r,SQLError:J.r,DataView:H.aA,ArrayBufferView:H.aA,Float32Array:H.az,Float64Array:H.az,Int16Array:H.ch,Int32Array:H.ci,Int8Array:H.cj,Uint16Array:H.ck,Uint32Array:H.cl,Uint8ClampedArray:H.ba,CanvasPixelArray:H.ba,Uint8Array:H.cm,HTMLAudioElement:W.d,HTMLBRElement:W.d,HTMLBaseElement:W.d,HTMLButtonElement:W.d,HTMLCanvasElement:W.d,HTMLContentElement:W.d,HTMLDListElement:W.d,HTMLDataElement:W.d,HTMLDataListElement:W.d,HTMLDetailsElement:W.d,HTMLDialogElement:W.d,HTMLDivElement:W.d,HTMLEmbedElement:W.d,HTMLFieldSetElement:W.d,HTMLHRElement:W.d,HTMLHeadElement:W.d,HTMLHeadingElement:W.d,HTMLHtmlElement:W.d,HTMLIFrameElement:W.d,HTMLImageElement:W.d,HTMLLIElement:W.d,HTMLLabelElement:W.d,HTMLLegendElement:W.d,HTMLLinkElement:W.d,HTMLMapElement:W.d,HTMLMediaElement:W.d,HTMLMenuElement:W.d,HTMLMetaElement:W.d,HTMLMeterElement:W.d,HTMLModElement:W.d,HTMLOListElement:W.d,HTMLObjectElement:W.d,HTMLOptGroupElement:W.d,HTMLOptionElement:W.d,HTMLOutputElement:W.d,HTMLParagraphElement:W.d,HTMLParamElement:W.d,HTMLPictureElement:W.d,HTMLPreElement:W.d,HTMLProgressElement:W.d,HTMLQuoteElement:W.d,HTMLScriptElement:W.d,HTMLShadowElement:W.d,HTMLSlotElement:W.d,HTMLSourceElement:W.d,HTMLSpanElement:W.d,HTMLStyleElement:W.d,HTMLTableCaptionElement:W.d,HTMLTableCellElement:W.d,HTMLTableDataCellElement:W.d,HTMLTableHeaderCellElement:W.d,HTMLTableColElement:W.d,HTMLTextAreaElement:W.d,HTMLTimeElement:W.d,HTMLTitleElement:W.d,HTMLTrackElement:W.d,HTMLUListElement:W.d,HTMLUnknownElement:W.d,HTMLVideoElement:W.d,HTMLDirectoryElement:W.d,HTMLFontElement:W.d,HTMLFrameElement:W.d,HTMLFrameSetElement:W.d,HTMLMarqueeElement:W.d,HTMLElement:W.d,HTMLAnchorElement:W.bC,HTMLAreaElement:W.bD,Blob:W.a_,File:W.a_,HTMLBodyElement:W.a0,CDATASection:W.L,CharacterData:W.L,Comment:W.L,ProcessingInstruction:W.L,Text:W.L,DOMException:W.bN,Element:W.D,AbortPaymentEvent:W.a,AnimationEvent:W.a,AnimationPlaybackEvent:W.a,ApplicationCacheErrorEvent:W.a,BackgroundFetchClickEvent:W.a,BackgroundFetchEvent:W.a,BackgroundFetchFailEvent:W.a,BackgroundFetchedEvent:W.a,BeforeInstallPromptEvent:W.a,BeforeUnloadEvent:W.a,BlobEvent:W.a,CanMakePaymentEvent:W.a,ClipboardEvent:W.a,CloseEvent:W.a,CompositionEvent:W.a,CustomEvent:W.a,DeviceMotionEvent:W.a,DeviceOrientationEvent:W.a,ErrorEvent:W.a,ExtendableEvent:W.a,ExtendableMessageEvent:W.a,FetchEvent:W.a,FocusEvent:W.a,FontFaceSetLoadEvent:W.a,ForeignFetchEvent:W.a,GamepadEvent:W.a,HashChangeEvent:W.a,InstallEvent:W.a,KeyboardEvent:W.a,MediaEncryptedEvent:W.a,MediaKeyMessageEvent:W.a,MediaQueryListEvent:W.a,MediaStreamEvent:W.a,MediaStreamTrackEvent:W.a,MessageEvent:W.a,MIDIConnectionEvent:W.a,MIDIMessageEvent:W.a,MouseEvent:W.a,DragEvent:W.a,MutationEvent:W.a,NotificationEvent:W.a,PageTransitionEvent:W.a,PaymentRequestEvent:W.a,PaymentRequestUpdateEvent:W.a,PointerEvent:W.a,PopStateEvent:W.a,PresentationConnectionAvailableEvent:W.a,PresentationConnectionCloseEvent:W.a,PromiseRejectionEvent:W.a,PushEvent:W.a,RTCDataChannelEvent:W.a,RTCDTMFToneChangeEvent:W.a,RTCPeerConnectionIceEvent:W.a,RTCTrackEvent:W.a,SecurityPolicyViolationEvent:W.a,SensorErrorEvent:W.a,SpeechRecognitionError:W.a,SpeechRecognitionEvent:W.a,SpeechSynthesisEvent:W.a,StorageEvent:W.a,SyncEvent:W.a,TextEvent:W.a,TouchEvent:W.a,TrackEvent:W.a,TransitionEvent:W.a,WebKitTransitionEvent:W.a,UIEvent:W.a,VRDeviceEvent:W.a,VRDisplayEvent:W.a,VRSessionEvent:W.a,WheelEvent:W.a,MojoInterfaceRequestEvent:W.a,USBConnectionEvent:W.a,IDBVersionChangeEvent:W.a,AudioProcessingEvent:W.a,OfflineAudioCompletionEvent:W.a,WebGLContextEvent:W.a,Event:W.a,InputEvent:W.a,EventTarget:W.b_,HTMLFormElement:W.bQ,XMLHttpRequest:W.O,XMLHttpRequestEventTarget:W.b2,ImageData:W.as,HTMLInputElement:W.a1,Location:W.ca,Document:W.j,DocumentFragment:W.j,HTMLDocument:W.j,ShadowRoot:W.j,XMLDocument:W.j,Attr:W.j,DocumentType:W.j,Node:W.j,NodeList:W.bb,RadioNodeList:W.bb,ProgressEvent:W.a8,ResourceProgressEvent:W.a8,HTMLSelectElement:W.cx,HTMLTableElement:W.bf,HTMLTableRowElement:W.cD,HTMLTableSectionElement:W.cE,HTMLTemplateElement:W.aH,Window:W.ab,DOMWindow:W.ab,DedicatedWorkerGlobalScope:W.J,ServiceWorkerGlobalScope:W.J,SharedWorkerGlobalScope:W.J,WorkerGlobalScope:W.J,NamedNodeMap:W.bm,MozNamedAttrMap:W.bm,IDBKeyRange:P.aw,SVGScriptElement:P.aD,SVGAElement:P.c,SVGAnimateElement:P.c,SVGAnimateMotionElement:P.c,SVGAnimateTransformElement:P.c,SVGAnimationElement:P.c,SVGCircleElement:P.c,SVGClipPathElement:P.c,SVGDefsElement:P.c,SVGDescElement:P.c,SVGDiscardElement:P.c,SVGEllipseElement:P.c,SVGFEBlendElement:P.c,SVGFEColorMatrixElement:P.c,SVGFEComponentTransferElement:P.c,SVGFECompositeElement:P.c,SVGFEConvolveMatrixElement:P.c,SVGFEDiffuseLightingElement:P.c,SVGFEDisplacementMapElement:P.c,SVGFEDistantLightElement:P.c,SVGFEFloodElement:P.c,SVGFEFuncAElement:P.c,SVGFEFuncBElement:P.c,SVGFEFuncGElement:P.c,SVGFEFuncRElement:P.c,SVGFEGaussianBlurElement:P.c,SVGFEImageElement:P.c,SVGFEMergeElement:P.c,SVGFEMergeNodeElement:P.c,SVGFEMorphologyElement:P.c,SVGFEOffsetElement:P.c,SVGFEPointLightElement:P.c,SVGFESpecularLightingElement:P.c,SVGFESpotLightElement:P.c,SVGFETileElement:P.c,SVGFETurbulenceElement:P.c,SVGFilterElement:P.c,SVGForeignObjectElement:P.c,SVGGElement:P.c,SVGGeometryElement:P.c,SVGGraphicsElement:P.c,SVGImageElement:P.c,SVGLineElement:P.c,SVGLinearGradientElement:P.c,SVGMarkerElement:P.c,SVGMaskElement:P.c,SVGMetadataElement:P.c,SVGPathElement:P.c,SVGPatternElement:P.c,SVGPolygonElement:P.c,SVGPolylineElement:P.c,SVGRadialGradientElement:P.c,SVGRectElement:P.c,SVGSetElement:P.c,SVGStopElement:P.c,SVGStyleElement:P.c,SVGSVGElement:P.c,SVGSwitchElement:P.c,SVGSymbolElement:P.c,SVGTSpanElement:P.c,SVGTextContentElement:P.c,SVGTextElement:P.c,SVGTextPathElement:P.c,SVGTextPositioningElement:P.c,SVGTitleElement:P.c,SVGUseElement:P.c,SVGViewElement:P.c,SVGGradientElement:P.c,SVGComponentTransferFunctionElement:P.c,SVGFEDropShadowElement:P.c,SVGMPathElement:P.c,SVGElement:P.c}) +hunkHelpers.setOrUpdateLeafTags({DOMError:true,DOMImplementation:true,MediaError:true,NavigatorUserMediaError:true,OverconstrainedError:true,PositionError:true,Range:true,SQLError:true,DataView:true,ArrayBufferView:false,Float32Array:true,Float64Array:true,Int16Array:true,Int32Array:true,Int8Array:true,Uint16Array:true,Uint32Array:true,Uint8ClampedArray:true,CanvasPixelArray:true,Uint8Array:false,HTMLAudioElement:true,HTMLBRElement:true,HTMLBaseElement:true,HTMLButtonElement:true,HTMLCanvasElement:true,HTMLContentElement:true,HTMLDListElement:true,HTMLDataElement:true,HTMLDataListElement:true,HTMLDetailsElement:true,HTMLDialogElement:true,HTMLDivElement:true,HTMLEmbedElement:true,HTMLFieldSetElement:true,HTMLHRElement:true,HTMLHeadElement:true,HTMLHeadingElement:true,HTMLHtmlElement:true,HTMLIFrameElement:true,HTMLImageElement:true,HTMLLIElement:true,HTMLLabelElement:true,HTMLLegendElement:true,HTMLLinkElement:true,HTMLMapElement:true,HTMLMediaElement:true,HTMLMenuElement:true,HTMLMetaElement:true,HTMLMeterElement:true,HTMLModElement:true,HTMLOListElement:true,HTMLObjectElement:true,HTMLOptGroupElement:true,HTMLOptionElement:true,HTMLOutputElement:true,HTMLParagraphElement:true,HTMLParamElement:true,HTMLPictureElement:true,HTMLPreElement:true,HTMLProgressElement:true,HTMLQuoteElement:true,HTMLScriptElement:true,HTMLShadowElement:true,HTMLSlotElement:true,HTMLSourceElement:true,HTMLSpanElement:true,HTMLStyleElement:true,HTMLTableCaptionElement:true,HTMLTableCellElement:true,HTMLTableDataCellElement:true,HTMLTableHeaderCellElement:true,HTMLTableColElement:true,HTMLTextAreaElement:true,HTMLTimeElement:true,HTMLTitleElement:true,HTMLTrackElement:true,HTMLUListElement:true,HTMLUnknownElement:true,HTMLVideoElement:true,HTMLDirectoryElement:true,HTMLFontElement:true,HTMLFrameElement:true,HTMLFrameSetElement:true,HTMLMarqueeElement:true,HTMLElement:false,HTMLAnchorElement:true,HTMLAreaElement:true,Blob:true,File:true,HTMLBodyElement:true,CDATASection:true,CharacterData:true,Comment:true,ProcessingInstruction:true,Text:true,DOMException:true,Element:false,AbortPaymentEvent:true,AnimationEvent:true,AnimationPlaybackEvent:true,ApplicationCacheErrorEvent:true,BackgroundFetchClickEvent:true,BackgroundFetchEvent:true,BackgroundFetchFailEvent:true,BackgroundFetchedEvent:true,BeforeInstallPromptEvent:true,BeforeUnloadEvent:true,BlobEvent:true,CanMakePaymentEvent:true,ClipboardEvent:true,CloseEvent:true,CompositionEvent:true,CustomEvent:true,DeviceMotionEvent:true,DeviceOrientationEvent:true,ErrorEvent:true,ExtendableEvent:true,ExtendableMessageEvent:true,FetchEvent:true,FocusEvent:true,FontFaceSetLoadEvent:true,ForeignFetchEvent:true,GamepadEvent:true,HashChangeEvent:true,InstallEvent:true,KeyboardEvent:true,MediaEncryptedEvent:true,MediaKeyMessageEvent:true,MediaQueryListEvent:true,MediaStreamEvent:true,MediaStreamTrackEvent:true,MessageEvent:true,MIDIConnectionEvent:true,MIDIMessageEvent:true,MouseEvent:true,DragEvent:true,MutationEvent:true,NotificationEvent:true,PageTransitionEvent:true,PaymentRequestEvent:true,PaymentRequestUpdateEvent:true,PointerEvent:true,PopStateEvent:true,PresentationConnectionAvailableEvent:true,PresentationConnectionCloseEvent:true,PromiseRejectionEvent:true,PushEvent:true,RTCDataChannelEvent:true,RTCDTMFToneChangeEvent:true,RTCPeerConnectionIceEvent:true,RTCTrackEvent:true,SecurityPolicyViolationEvent:true,SensorErrorEvent:true,SpeechRecognitionError:true,SpeechRecognitionEvent:true,SpeechSynthesisEvent:true,StorageEvent:true,SyncEvent:true,TextEvent:true,TouchEvent:true,TrackEvent:true,TransitionEvent:true,WebKitTransitionEvent:true,UIEvent:true,VRDeviceEvent:true,VRDisplayEvent:true,VRSessionEvent:true,WheelEvent:true,MojoInterfaceRequestEvent:true,USBConnectionEvent:true,IDBVersionChangeEvent:true,AudioProcessingEvent:true,OfflineAudioCompletionEvent:true,WebGLContextEvent:true,Event:false,InputEvent:false,EventTarget:false,HTMLFormElement:true,XMLHttpRequest:true,XMLHttpRequestEventTarget:false,ImageData:true,HTMLInputElement:true,Location:true,Document:true,DocumentFragment:true,HTMLDocument:true,ShadowRoot:true,XMLDocument:true,Attr:true,DocumentType:true,Node:false,NodeList:true,RadioNodeList:true,ProgressEvent:true,ResourceProgressEvent:true,HTMLSelectElement:true,HTMLTableElement:true,HTMLTableRowElement:true,HTMLTableSectionElement:true,HTMLTemplateElement:true,Window:true,DOMWindow:true,DedicatedWorkerGlobalScope:true,ServiceWorkerGlobalScope:true,SharedWorkerGlobalScope:true,WorkerGlobalScope:true,NamedNodeMap:true,MozNamedAttrMap:true,IDBKeyRange:true,SVGScriptElement:true,SVGAElement:true,SVGAnimateElement:true,SVGAnimateMotionElement:true,SVGAnimateTransformElement:true,SVGAnimationElement:true,SVGCircleElement:true,SVGClipPathElement:true,SVGDefsElement:true,SVGDescElement:true,SVGDiscardElement:true,SVGEllipseElement:true,SVGFEBlendElement:true,SVGFEColorMatrixElement:true,SVGFEComponentTransferElement:true,SVGFECompositeElement:true,SVGFEConvolveMatrixElement:true,SVGFEDiffuseLightingElement:true,SVGFEDisplacementMapElement:true,SVGFEDistantLightElement:true,SVGFEFloodElement:true,SVGFEFuncAElement:true,SVGFEFuncBElement:true,SVGFEFuncGElement:true,SVGFEFuncRElement:true,SVGFEGaussianBlurElement:true,SVGFEImageElement:true,SVGFEMergeElement:true,SVGFEMergeNodeElement:true,SVGFEMorphologyElement:true,SVGFEOffsetElement:true,SVGFEPointLightElement:true,SVGFESpecularLightingElement:true,SVGFESpotLightElement:true,SVGFETileElement:true,SVGFETurbulenceElement:true,SVGFilterElement:true,SVGForeignObjectElement:true,SVGGElement:true,SVGGeometryElement:true,SVGGraphicsElement:true,SVGImageElement:true,SVGLineElement:true,SVGLinearGradientElement:true,SVGMarkerElement:true,SVGMaskElement:true,SVGMetadataElement:true,SVGPathElement:true,SVGPatternElement:true,SVGPolygonElement:true,SVGPolylineElement:true,SVGRadialGradientElement:true,SVGRectElement:true,SVGSetElement:true,SVGStopElement:true,SVGStyleElement:true,SVGSVGElement:true,SVGSwitchElement:true,SVGSymbolElement:true,SVGTSpanElement:true,SVGTextContentElement:true,SVGTextElement:true,SVGTextPathElement:true,SVGTextPositioningElement:true,SVGTitleElement:true,SVGUseElement:true,SVGViewElement:true,SVGGradientElement:true,SVGComponentTransferFunctionElement:true,SVGFEDropShadowElement:true,SVGMPathElement:true,SVGElement:false}) +H.b8.$nativeSuperclassTag="ArrayBufferView" +H.aL.$nativeSuperclassTag="ArrayBufferView" +H.aM.$nativeSuperclassTag="ArrayBufferView" +H.az.$nativeSuperclassTag="ArrayBufferView" +H.aN.$nativeSuperclassTag="ArrayBufferView" +H.aO.$nativeSuperclassTag="ArrayBufferView" +H.b9.$nativeSuperclassTag="ArrayBufferView"})() +convertAllToFastObject(w) +convertToFastObject($);(function(a){if(typeof document==="undefined"){a(null) +return}if(typeof document.currentScript!='undefined'){a(document.currentScript) +return}var u=document.scripts +function onLoad(b){for(var s=0;s=0)return true +if(typeof version=="function"&&version.length==0){var q=version() +if(/^\d+\.\d+\.\d+\.\d+$/.test(q))return true}}catch(p){}return false}() +function setFunctionNamesIfNecessary(a){function t(){};if(typeof t.name=="string")return +for(var s=0;s").b(a))return new H.bE(a,b.i("@<0>").R(c).i("bE<1,2>")) +return new H.ar(a,b.i("@<0>").R(c).i("ar<1,2>"))}, +f4:function(a){return new H.bj("Field '"+a+"' has been assigned during initialization.")}, +aA:function(a){return new H.cy(a)}, +eG:function(a){var s,r=a^48 +if(r<=9)return r +s=a|32 +if(97<=s&&s<=102)return s-87 +return-1}, +aE:function(a,b,c,d){P.X(b,"start") +if(c!=null){P.X(c,"end") +if(b>c)H.o(P.r(b,0,c,"start",null))}return new H.aD(a,b,c,d.i("aD<0>"))}, +dG:function(a,b,c,d){if(t.Q.b(a))return new H.ba(a,b,c.i("@<0>").R(d).i("ba<1,2>")) +return new H.W(a,b,c.i("@<0>").R(d).i("W<1,2>"))}, +jp:function(a,b,c){var s="count" +if(t.Q.b(a)){P.d9(b,s) +P.X(b,s) +return new H.aL(a,b,c.i("aL<0>"))}P.d9(b,s) +P.X(b,s) +return new H.a8(a,b,c.i("a8<0>"))}, +j6:function(a,b,c){if(c.i("h<0>").b(b))return new H.b9(a,b,c.i("b9<0>")) +return new H.av(a,b,c.i("av<0>"))}, +cc:function(){return new P.aC("No element")}, +jb:function(){return new P.aC("Too few elements")}, +aj:function aj(){}, +c0:function c0(a,b){this.a=a +this.$ti=b}, +ar:function ar(a,b){this.a=a +this.$ti=b}, +bE:function bE(a,b){this.a=a +this.$ti=b}, +bD:function bD(){}, +a1:function a1(a,b){this.a=a +this.$ti=b}, +bj:function bj(a){this.a=a}, +cy:function cy(a){this.a=a}, +aK:function aK(a){this.a=a}, +h:function h(){}, +A:function A(){}, +aD:function aD(a,b,c,d){var _=this +_.a=a +_.b=b +_.c=c +_.$ti=d}, +aw:function aw(a,b){var _=this +_.a=a +_.b=b +_.c=0 +_.d=null}, +W:function W(a,b,c){this.a=a +this.b=b +this.$ti=c}, +ba:function ba(a,b,c){this.a=a +this.b=b +this.$ti=c}, +bo:function bo(a,b){this.a=null +this.b=a +this.c=b}, +i:function i(a,b,c){this.a=a +this.b=b +this.$ti=c}, +M:function M(a,b,c){this.a=a +this.b=b +this.$ti=c}, +bC:function bC(a,b){this.a=a +this.b=b}, +bd:function bd(a,b,c){this.a=a +this.b=b +this.$ti=c}, +c6:function c6(a,b,c){var _=this +_.a=a +_.b=b +_.c=c +_.d=null}, +a8:function a8(a,b,c){this.a=a +this.b=b +this.$ti=c}, +aL:function aL(a,b,c){this.a=a +this.b=b +this.$ti=c}, +cA:function cA(a,b){this.a=a +this.b=b}, +bv:function bv(a,b,c){this.a=a +this.b=b +this.$ti=c}, +cB:function cB(a,b){this.a=a +this.b=b +this.c=!1}, +bb:function bb(a){this.$ti=a}, +c4:function c4(){}, +av:function av(a,b,c){this.a=a +this.b=b +this.$ti=c}, +b9:function b9(a,b,c){this.a=a +this.b=b +this.$ti=c}, +c8:function c8(a,b){this.a=a +this.b=b}, +c7:function c7(){}, +cL:function cL(){}, +aV:function aV(){}, +aB:function aB(a,b){this.a=a +this.$ti=b}, +aS:function aS(a){this.a=a}, +bO:function bO(){}, +j4:function(){throw H.a(P.q("Cannot modify unmodifiable Map"))}, +i6:function(a){var s,r=H.i5(a) +if(r!=null)return r +s="minified:"+a +return s}, +hY:function(a,b){var s +if(b!=null){s=b.x +if(s!=null)return s}return t.I.b(a)}, +b:function(a){var s +if(typeof a=="string")return a +if(typeof a=="number"){if(a!==0)return""+a}else if(!0===a)return"true" +else if(!1===a)return"false" +else if(a==null)return"null" +s=J.aq(a) +if(typeof s!="string")throw H.a(H.O(a)) +return s}, +bt:function(a){var s=a.$identityHash +if(s==null){s=Math.random()*0x3fffffff|0 +a.$identityHash=s}return s}, +h0:function(a,b){var s,r,q,p,o,n,m=null +if(typeof a!="string")H.o(H.O(a)) +s=/^\s*[+-]?((0x[a-f0-9]+)|(\d+)|([a-z0-9]+))\s*$/i.exec(a) +if(s==null)return m +r=s[3] +if(b==null){if(r!=null)return parseInt(a,10) +if(s[2]!=null)return parseInt(a,16) +return m}if(b<2||b>36)throw H.a(P.r(b,2,36,"radix",m)) +if(b===10&&r!=null)return parseInt(a,10) +if(b<10||r==null){q=b<=10?47+b:86+b +p=s[1] +for(o=p.length,n=0;nq)return m}return parseInt(a,b)}, +dM:function(a){return H.jh(a)}, +jh:function(a){var s,r,q +if(a instanceof P.t)return H.P(H.a_(a),null) +if(J.ao(a)===C.P||t.o.b(a)){s=C.t(a) +if(H.h_(s))return s +r=a.constructor +if(typeof r=="function"){q=r.name +if(typeof q=="string"&&H.h_(q))return q}}return H.P(H.a_(a),null)}, +h_:function(a){var s=a!=="Object"&&a!=="" +return s}, +jj:function(){if(!!self.location)return self.location.href +return null}, +fZ:function(a){var s,r,q,p,o=a.length +if(o<=500)return String.fromCharCode.apply(null,a) +for(s="",r=0;r65535)return H.jk(a)}return H.fZ(a)}, +jl:function(a,b,c){var s,r,q,p +if(c<=500&&b===0&&c===a.length)return String.fromCharCode.apply(null,a) +for(s=b,r="";s>>0,s&1023|56320)}}throw H.a(P.r(a,0,1114111,null,null))}, +ah:function(a,b,c){var s,r,q={} +q.a=0 +s=[] +r=[] +q.a=b.length +C.b.b5(s,b) +q.b="" +if(c!=null&&c.a!==0)c.S(0,new H.dL(q,r,s)) +""+q.a +return J.iQ(a,new H.dz(C.a_,0,s,r,0))}, +ji:function(a,b,c){var s,r,q,p +if(b instanceof Array)s=c==null||c.a===0 +else s=!1 +if(s){r=b +q=r.length +if(q===0){if(!!a.$0)return a.$0()}else if(q===1){if(!!a.$1)return a.$1(r[0])}else if(q===2){if(!!a.$2)return a.$2(r[0],r[1])}else if(q===3){if(!!a.$3)return a.$3(r[0],r[1],r[2])}else if(q===4){if(!!a.$4)return a.$4(r[0],r[1],r[2],r[3])}else if(q===5)if(!!a.$5)return a.$5(r[0],r[1],r[2],r[3],r[4]) +p=a[""+"$"+q] +if(p!=null)return p.apply(a,r)}return H.jg(a,b,c)}, +jg:function(a,b,c){var s,r,q,p,o,n,m,l,k,j,i,h,g +if(b!=null)s=b instanceof Array?b:P.cm(b,!0,t.z) +else s=[] +r=s.length +q=a.$R +if(rq+n.length)return H.ah(a,s,null) +C.b.b5(s,n.slice(r-q)) +return l.apply(a,s)}else{if(r>q)return H.ah(a,s,c) +k=Object.keys(n) +if(c==null)for(o=k.length,j=0;j=s)return P.f0(b,a,r,null,s) +return P.aR(b,r)}, +kz:function(a,b,c){if(a>c)return P.r(a,0,c,"start",null) +if(b!=null)if(bc)return P.r(b,a,c,"end",null) +return new P.V(!0,b,"end",null)}, +O:function(a){return new P.V(!0,a,null,null)}, +hR:function(a){if(typeof a!="number")throw H.a(H.O(a)) +return a}, +a:function(a){var s,r +if(a==null)a=new P.cu() +s=new Error() +s.dartException=a +r=H.kZ +if("defineProperty" in Object){Object.defineProperty(s,"message",{get:r}) +s.name=""}else s.toString=r +return s}, +kZ:function(){return J.aq(this.dartException)}, +o:function(a){throw H.a(a)}, +aI:function(a){throw H.a(P.a3(a))}, +a9:function(a){var s,r,q,p,o,n +a=H.i4(a.replace(String({}),'$receiver$')) +s=a.match(/\\\$[a-zA-Z]+\\\$/g) +if(s==null)s=H.c([],t.s) +r=s.indexOf("\\$arguments\\$") +q=s.indexOf("\\$argumentsExpr\\$") +p=s.indexOf("\\$expr\\$") +o=s.indexOf("\\$method\\$") +n=s.indexOf("\\$receiver\\$") +return new H.e8(a.replace(new RegExp('\\\\\\$arguments\\\\\\$','g'),'((?:x|[^x])*)').replace(new RegExp('\\\\\\$argumentsExpr\\\\\\$','g'),'((?:x|[^x])*)').replace(new RegExp('\\\\\\$expr\\\\\\$','g'),'((?:x|[^x])*)').replace(new RegExp('\\\\\\$method\\\\\\$','g'),'((?:x|[^x])*)').replace(new RegExp('\\\\\\$receiver\\\\\\$','g'),'((?:x|[^x])*)'),r,q,p,o,n)}, +e9:function(a){return function($expr$){var $argumentsExpr$='$arguments$' +try{$expr$.$method$($argumentsExpr$)}catch(s){return s.message}}(a)}, +ha:function(a){return function($expr$){try{$expr$.$method$}catch(s){return s.message}}(a)}, +fX:function(a,b){return new H.ct(a,b==null?null:b.method)}, +f3:function(a,b){var s=b==null,r=s?null:b.method +return new H.ce(a,r,s?null:b.receiver)}, +ap:function(a){if(a==null)return new H.cv(a) +if(typeof a!=="object")return a +if("dartException" in a)return H.aH(a,a.dartException) +return H.kv(a)}, +aH:function(a,b){if(t.Y.b(b))if(b.$thrownJsError==null)b.$thrownJsError=a +return b}, +kv:function(a){var s,r,q,p,o,n,m,l,k,j,i,h,g,f,e=null +if(!("message" in a))return a +s=a.message +if("number" in a&&typeof a.number=="number"){r=a.number +q=r&65535 +if((C.c.aa(r,16)&8191)===10)switch(q){case 438:return H.aH(a,H.f3(H.b(s)+" (Error "+q+")",e)) +case 445:case 5007:return H.aH(a,H.fX(H.b(s)+" (Error "+q+")",e))}}if(a instanceof TypeError){p=$.ia() +o=$.ib() +n=$.ic() +m=$.id() +l=$.ih() +k=$.ii() +j=$.ig() +$.ie() +i=$.ik() +h=$.ij() +g=p.W(s) +if(g!=null)return H.aH(a,H.f3(s,g)) +else{g=o.W(s) +if(g!=null){g.method="call" +return H.aH(a,H.f3(s,g))}else{g=n.W(s) +if(g==null){g=m.W(s) +if(g==null){g=l.W(s) +if(g==null){g=k.W(s) +if(g==null){g=j.W(s) +if(g==null){g=m.W(s) +if(g==null){g=i.W(s) +if(g==null){g=h.W(s) +f=g!=null}else f=!0}else f=!0}else f=!0}else f=!0}else f=!0}else f=!0}else f=!0 +if(f)return H.aH(a,H.fX(s,g))}}return H.aH(a,new H.cK(typeof s=="string"?s:""))}if(a instanceof RangeError){if(typeof s=="string"&&s.indexOf("call stack")!==-1)return new P.bx() +s=function(b){try{return String(b)}catch(d){}return null}(a) +return H.aH(a,new P.V(!1,e,e,typeof s=="string"?s.replace(/^RangeError:\s*/,""):s))}if(typeof InternalError=="function"&&a instanceof InternalError)if(typeof s=="string"&&s==="too much recursion")return new P.bx() +return a}, +kB:function(a,b){var s,r,q,p=a.length +for(s=0;s=27 +if(o)return H.j0(r,!p,s,b) +if(r===0){p=$.a2 +$.a2=p+1 +n="self"+H.b(p) +return new Function("return function(){var "+n+" = this."+H.b(H.eY())+";return "+n+"."+H.b(s)+"();}")()}m="abcdefghijklmnopqrstuvwxyz".split("").splice(0,r).join(",") +p=$.a2 +$.a2=p+1 +m+=H.b(p) +return new Function("return function("+m+"){return this."+H.b(H.eY())+"."+H.b(s)+"("+m+");}")()}, +j1:function(a,b,c,d){var s=H.fH,r=H.iY +switch(b?-1:a){case 0:throw H.a(new H.cz("Intercepted function with no arguments.")) +case 1:return function(e,f,g){return function(){return f(this)[e](g(this))}}(c,s,r) +case 2:return function(e,f,g){return function(h){return f(this)[e](g(this),h)}}(c,s,r) +case 3:return function(e,f,g){return function(h,i){return f(this)[e](g(this),h,i)}}(c,s,r) +case 4:return function(e,f,g){return function(h,i,j){return f(this)[e](g(this),h,i,j)}}(c,s,r) +case 5:return function(e,f,g){return function(h,i,j,k){return f(this)[e](g(this),h,i,j,k)}}(c,s,r) +case 6:return function(e,f,g){return function(h,i,j,k,l){return f(this)[e](g(this),h,i,j,k,l)}}(c,s,r) +default:return function(e,f,g,h){return function(){h=[g(this)] +Array.prototype.push.apply(h,arguments) +return e.apply(f(this),h)}}(d,s,r)}}, +j2:function(a,b){var s,r,q,p,o,n,m=H.eY(),l=$.fF +if(l==null)l=$.fF=H.fE("receiver") +s=b.$stubName +r=b.length +q=a[s] +p=b==null?q==null:b===q +o=!p||r>=28 +if(o)return H.j1(r,!p,s,b) +if(r===1){p="return function(){return this."+H.b(m)+"."+H.b(s)+"(this."+l+");" +o=$.a2 +$.a2=o+1 +return new Function(p+H.b(o)+"}")()}n="abcdefghijklmnopqrstuvwxyz".split("").splice(0,r-1).join(",") +p="return function("+n+"){return this."+H.b(m)+"."+H.b(s)+"(this."+l+", "+n+");" +o=$.a2 +$.a2=o+1 +return new Function(p+H.b(o)+"}")()}, +fp:function(a,b,c,d,e,f,g){return H.j3(a,b,c,d,!!e,!!f,g)}, +iW:function(a,b){return H.d1(v.typeUniverse,H.a_(a.a),b)}, +iX:function(a,b){return H.d1(v.typeUniverse,H.a_(a.c),b)}, +fH:function(a){return a.a}, +iY:function(a){return a.c}, +eY:function(){var s=$.fG +return s==null?$.fG=H.fE("self"):s}, +fE:function(a){var s,r,q,p=new H.b5("self","target","receiver","name"),o=J.dw(Object.getOwnPropertyNames(p)) +for(s=o.length,r=0;r=0 +else if(b instanceof H.aN){s=C.a.w(a,c) +r=b.b +return r.test(s)}else{s=J.iJ(b,C.a.w(a,c)) +return!s.gE(s)}}, +fr:function(a){if(a.indexOf("$",0)>=0)return a.replace(/\$/g,"$$$$") +return a}, +kV:function(a,b,c,d){var s=b.bt(a,d) +if(s==null)return a +return H.fv(a,s.b.index,s.gU(),c)}, +i4:function(a){if(/[[\]{}()*+?.\\^$|]/.test(a))return a.replace(/[[\]{}()*+?.\\^$|]/g,"\\$&") +return a}, +R:function(a,b,c){var s +if(typeof b=="string")return H.kU(a,b,c) +if(b instanceof H.aN){s=b.gbx() +s.lastIndex=0 +return a.replace(s,H.fr(c))}if(b==null)H.o(H.O(b)) +throw H.a("String.replaceAll(Pattern) UNIMPLEMENTED")}, +kU:function(a,b,c){var s,r,q,p +if(b===""){if(a==="")return c +s=a.length +for(r=c,q=0;q=0)return a.split(b).join(c) +return a.replace(new RegExp(H.i4(b),'g'),H.fr(c))}, +hM:function(a){return a}, +kT:function(a,b,c,d){var s,r,q,p,o,n +for(s=b.aB(0,a),s=new H.cS(s.a,s.b,s.c),r=0,q="";s.m();){p=s.d +o=p.b +n=o.index +q=q+H.b(H.hM(C.a.j(a,r,n)))+H.b(c.$1(p)) +r=n+o[0].length}s=q+H.b(H.hM(C.a.w(a,r))) +return s.charCodeAt(0)==0?s:s}, +kW:function(a,b,c,d){var s,r,q,p +if(typeof b=="string"){s=a.indexOf(b,d) +if(s<0)return a +return H.fv(a,s,s+b.length,c)}if(b instanceof H.aN)return d===0?a.replace(b.b,H.fr(c)):H.kV(a,b,c,d) +if(b==null)H.o(H.O(b)) +r=J.iK(b,a,d) +q=r.gu(r) +if(!q.m())return a +p=q.gq() +return C.a.X(a,p.gM(),p.gU(),c)}, +fv:function(a,b,c,d){var s=a.substring(0,b),r=a.substring(c) +return s+d+r}, +b7:function b7(a,b){this.a=a +this.$ti=b}, +b6:function b6(){}, +b8:function b8(a,b,c,d){var _=this +_.a=a +_.b=b +_.c=c +_.$ti=d}, +du:function du(){}, +cb:function cb(a,b){this.a=a +this.$ti=b}, +dz:function dz(a,b,c,d,e){var _=this +_.a=a +_.c=b +_.d=c +_.e=d +_.f=e}, +dL:function dL(a,b,c){this.a=a +this.b=b +this.c=c}, +e8:function e8(a,b,c,d,e,f){var _=this +_.a=a +_.b=b +_.c=c +_.d=d +_.e=e +_.f=f}, +ct:function ct(a,b){this.a=a +this.b=b}, +ce:function ce(a,b,c){this.a=a +this.b=b +this.c=c}, +cK:function cK(a){this.a=a}, +cv:function cv(a){this.a=a}, +at:function at(){}, +dW:function dW(){}, +dU:function dU(){}, +b5:function b5(a,b,c,d){var _=this +_.a=a +_.b=b +_.c=c +_.d=d}, +cz:function cz(a){this.a=a}, +em:function em(){}, +a5:function a5(a){var _=this +_.a=0 +_.f=_.e=_.d=_.c=_.b=null +_.r=0 +_.$ti=a}, +dB:function dB(a){this.a=a}, +dC:function dC(a,b){this.a=a +this.b=b +this.c=null}, +a6:function a6(a,b){this.a=a +this.$ti=b}, +cl:function cl(a,b){var _=this +_.a=a +_.b=b +_.d=_.c=null}, +eH:function eH(a){this.a=a}, +eI:function eI(a){this.a=a}, +eJ:function eJ(a){this.a=a}, +aN:function aN(a,b){var _=this +_.a=a +_.b=b +_.d=_.c=null}, +aW:function aW(a){this.b=a}, +cR:function cR(a,b,c){this.a=a +this.b=b +this.c=c}, +cS:function cS(a,b,c){var _=this +_.a=a +_.b=b +_.c=c +_.d=null}, +by:function by(a,b){this.a=a +this.c=b}, +cY:function cY(a,b,c){this.a=a +this.b=b +this.c=c}, +en:function en(a,b,c){var _=this +_.a=a +_.b=b +_.c=c +_.d=null}, +hG:function(a){return a}, +es:function(a,b,c){if(a>>>0!==a||a>=c)throw H.a(H.an(b,a))}, +k7:function(a,b,c){var s +if(!(a>>>0!==a))if(b==null)s=a>c +else s=b>>>0!==b||a>b||b>c +else s=!0 +if(s)throw H.a(H.kz(a,b,c)) +if(b==null)return c +return b}, +cq:function cq(){}, +aP:function aP(){}, +bq:function bq(){}, +cp:function cp(){}, +cr:function cr(){}, +ay:function ay(){}, +bG:function bG(){}, +bH:function bH(){}, +jn:function(a,b){var s=b.c +return s==null?b.c=H.fd(a,b.z,!0):s}, +h3:function(a,b){var s=b.c +return s==null?b.c=H.bJ(a,"fM",[b.z]):s}, +h4:function(a){var s=a.y +if(s===6||s===7||s===8)return H.h4(a.z) +return s===11||s===12}, +jm:function(a){return a.cy}, +d6:function(a){return H.eo(v.typeUniverse,a,!1)}, +kI:function(a,b){var s,r,q,p,o +if(a==null)return null +s=b.Q +r=a.cx +if(r==null)r=a.cx=new Map() +q=b.cy +p=r.get(q) +if(p!=null)return p +o=H.aa(v.typeUniverse,a.z,s,0) +r.set(q,o) +return o}, +aa:function(a,b,a0,a1){var s,r,q,p,o,n,m,l,k,j,i,h,g,f,e,d,c=b.y +switch(c){case 5:case 1:case 2:case 3:case 4:return b +case 6:s=b.z +r=H.aa(a,s,a0,a1) +if(r===s)return b +return H.hn(a,r,!0) +case 7:s=b.z +r=H.aa(a,s,a0,a1) +if(r===s)return b +return H.fd(a,r,!0) +case 8:s=b.z +r=H.aa(a,s,a0,a1) +if(r===s)return b +return H.hm(a,r,!0) +case 9:q=b.Q +p=H.bQ(a,q,a0,a1) +if(p===q)return b +return H.bJ(a,b.z,p) +case 10:o=b.z +n=H.aa(a,o,a0,a1) +m=b.Q +l=H.bQ(a,m,a0,a1) +if(n===o&&l===m)return b +return H.fb(a,n,l) +case 11:k=b.z +j=H.aa(a,k,a0,a1) +i=b.Q +h=H.kr(a,i,a0,a1) +if(j===k&&h===i)return b +return H.hl(a,j,h) +case 12:g=b.Q +a1+=g.length +f=H.bQ(a,g,a0,a1) +o=b.z +n=H.aa(a,o,a0,a1) +if(f===g&&n===o)return b +return H.fc(a,n,f,!0) +case 13:e=b.z +if(e0;--p)a5.push("T"+(q+p)) +for(o=t.R,n=t._,m=t.K,l="<",k="",p=0;p0){a1+=a2+"[" +for(a2="",p=0;p0){a1+=a2+"{" +for(a2="",p=0;p "+H.b(a0)}, +P:function(a,b){var s,r,q,p,o,n,m=a.y +if(m===5)return"erased" +if(m===2)return"dynamic" +if(m===3)return"void" +if(m===1)return"Never" +if(m===4)return"any" +if(m===6){s=H.P(a.z,b) +return s}if(m===7){r=a.z +s=H.P(r,b) +q=r.y +return J.eT(q===11||q===12?C.a.a1("(",s)+")":s,"?")}if(m===8)return"FutureOr<"+H.b(H.P(a.z,b))+">" +if(m===9){p=H.ku(a.z) +o=a.Q +return o.length!==0?p+("<"+H.kq(o,b)+">"):p}if(m===11)return H.hI(a,b,null) +if(m===12)return H.hI(a.z,b,a.Q) +if(m===13){b.toString +n=a.z +return b[b.length-1-n]}return"?"}, +ku:function(a){var s,r=H.i5(a) +if(r!=null)return r +s="minified:"+a +return s}, +ho:function(a,b){var s=a.tR[b] +for(;typeof s=="string";)s=a.tR[s] +return s}, +jT:function(a,b){var s,r,q,p,o,n=a.eT,m=n[b] +if(m==null)return H.eo(a,b,!1) +else if(typeof m=="number"){s=m +r=H.bK(a,5,"#") +q=[] +for(p=0;p" +s=a.eC.get(p) +if(s!=null)return s +r=new H.Y(null,null) +r.y=9 +r.z=b +r.Q=c +if(c.length>0)r.c=c[0] +r.cy=p +q=H.al(a,r) +a.eC.set(p,q) +return q}, +fb:function(a,b,c){var s,r,q,p,o,n +if(b.y===10){s=b.z +r=b.Q.concat(c)}else{r=c +s=b}q=s.cy+(";<"+H.d0(r)+">") +p=a.eC.get(q) +if(p!=null)return p +o=new H.Y(null,null) +o.y=10 +o.z=s +o.Q=r +o.cy=q +n=H.al(a,o) +a.eC.set(q,n) +return n}, +hl:function(a,b,c){var s,r,q,p,o,n=b.cy,m=c.a,l=m.length,k=c.b,j=k.length,i=c.c,h=i.length,g="("+H.d0(m) +if(j>0){s=l>0?",":"" +r=H.d0(k) +g+=s+"["+r+"]"}if(h>0){s=l>0?",":"" +r=H.jK(i) +g+=s+"{"+r+"}"}q=n+(g+")") +p=a.eC.get(q) +if(p!=null)return p +o=new H.Y(null,null) +o.y=11 +o.z=b +o.Q=c +o.cy=q +r=H.al(a,o) +a.eC.set(q,r) +return r}, +fc:function(a,b,c,d){var s,r=b.cy+("<"+H.d0(c)+">"),q=a.eC.get(r) +if(q!=null)return q +s=H.jM(a,b,c,r,d) +a.eC.set(r,s) +return s}, +jM:function(a,b,c,d,e){var s,r,q,p,o,n,m,l +if(e){s=c.length +r=new Array(s) +for(q=0,p=0;p0){n=H.aa(a,b,r,0) +m=H.bQ(a,c,r,0) +return H.fc(a,n,m,c!==m)}}l=new H.Y(null,null) +l.y=12 +l.z=b +l.Q=c +l.cy=d +return H.al(a,l)}, +hi:function(a,b,c,d){return{u:a,e:b,r:c,s:[],p:0,n:d}}, +hk:function(a){var s,r,q,p,o,n,m,l,k,j,i,h,g=a.r,f=a.s +for(s=g.length,r=0;r=48&&q<=57)r=H.jF(r+1,q,g,f) +else if((((q|32)>>>0)-97&65535)<26||q===95||q===36)r=H.hj(a,r,g,f,!1) +else if(q===46)r=H.hj(a,r,g,f,!0) +else{++r +switch(q){case 44:break +case 58:f.push(!1) +break +case 33:f.push(!0) +break +case 59:f.push(H.ak(a.u,a.e,f.pop())) +break +case 94:f.push(H.jP(a.u,f.pop())) +break +case 35:f.push(H.bK(a.u,5,"#")) +break +case 64:f.push(H.bK(a.u,2,"@")) +break +case 126:f.push(H.bK(a.u,3,"~")) +break +case 60:f.push(a.p) +a.p=f.length +break +case 62:p=a.u +o=f.splice(a.p) +H.fa(a.u,a.e,o) +a.p=f.pop() +n=f.pop() +if(typeof n=="string")f.push(H.bJ(p,n,o)) +else{m=H.ak(p,a.e,n) +switch(m.y){case 11:f.push(H.fc(p,m,o,a.n)) +break +default:f.push(H.fb(p,m,o)) +break}}break +case 38:H.jG(a,f) +break +case 42:l=a.u +f.push(H.hn(l,H.ak(l,a.e,f.pop()),a.n)) +break +case 63:l=a.u +f.push(H.fd(l,H.ak(l,a.e,f.pop()),a.n)) +break +case 47:l=a.u +f.push(H.hm(l,H.ak(l,a.e,f.pop()),a.n)) +break +case 40:f.push(a.p) +a.p=f.length +break +case 41:p=a.u +k=new H.cV() +j=p.sEA +i=p.sEA +n=f.pop() +if(typeof n=="number")switch(n){case-1:j=f.pop() +break +case-2:i=f.pop() +break +default:f.push(n) +break}else f.push(n) +o=f.splice(a.p) +H.fa(a.u,a.e,o) +a.p=f.pop() +k.a=o +k.b=j +k.c=i +f.push(H.hl(p,H.ak(p,a.e,f.pop()),k)) +break +case 91:f.push(a.p) +a.p=f.length +break +case 93:o=f.splice(a.p) +H.fa(a.u,a.e,o) +a.p=f.pop() +f.push(o) +f.push(-1) +break +case 123:f.push(a.p) +a.p=f.length +break +case 125:o=f.splice(a.p) +H.jI(a.u,a.e,o) +a.p=f.pop() +f.push(o) +f.push(-2) +break +default:throw"Bad character "+q}}}h=f.pop() +return H.ak(a.u,a.e,h)}, +jF:function(a,b,c,d){var s,r,q=b-48 +for(s=c.length;a=48&&r<=57))break +q=q*10+(r-48)}d.push(q) +return a}, +hj:function(a,b,c,d,e){var s,r,q,p,o,n,m=b+1 +for(s=c.length;m>>0)-97&65535)<26||r===95||r===36))q=r>=48&&r<=57 +else q=!0 +if(!q)break}}p=c.substring(b,m) +if(e){s=a.u +o=a.e +if(o.y===10)o=o.z +n=H.ho(s,o.z)[p] +if(n==null)H.o('No "'+p+'" in "'+H.jm(o)+'"') +d.push(H.d1(s,o,n))}else d.push(p) +return m}, +jG:function(a,b){var s=b.pop() +if(0===s){b.push(H.bK(a.u,1,"0&")) +return}if(1===s){b.push(H.bK(a.u,4,"1&")) +return}throw H.a(P.da("Unexpected extended operation "+H.b(s)))}, +ak:function(a,b,c){if(typeof c=="string")return H.bJ(a,c,a.sEA) +else if(typeof c=="number")return H.jH(a,b,c) +else return c}, +fa:function(a,b,c){var s,r=c.length +for(s=0;sn)return!1 +m=n-o +l=s.b +k=r.b +j=l.length +i=k.length +if(o+j=d)return!1 +a1=f[b] +b+=3 +if(a04294967295)throw H.a(P.r(a,0,4294967295,"length",null)) +return J.jc(new Array(a),b)}, +fQ:function(a,b){if(a<0)throw H.a(P.w("Length must be a non-negative integer: "+a)) +return H.c(new Array(a),b.i("m<0>"))}, +fO:function(a,b){return H.c(new Array(a),b.i("m<0>"))}, +jc:function(a,b){return J.dw(H.c(a,b.i("m<0>")))}, +dw:function(a){a.fixed$length=Array +return a}, +fR:function(a){a.fixed$length=Array +a.immutable$list=Array +return a}, +fS:function(a){if(a<256)switch(a){case 9:case 10:case 11:case 12:case 13:case 32:case 133:case 160:return!0 +default:return!1}switch(a){case 5760:case 8192:case 8193:case 8194:case 8195:case 8196:case 8197:case 8198:case 8199:case 8200:case 8201:case 8202:case 8232:case 8233:case 8239:case 8287:case 12288:case 65279:return!0 +default:return!1}}, +jd:function(a,b){var s,r +for(s=a.length;b0;b=s){s=b-1 +r=C.a.n(a,s) +if(r!==32&&r!==13&&!J.fS(r))break}return b}, +ao:function(a){if(typeof a=="number"){if(Math.floor(a)==a)return J.bf.prototype +return J.dy.prototype}if(typeof a=="string")return J.ad.prototype +if(a==null)return J.bg.prototype +if(typeof a=="boolean")return J.dx.prototype +if(a.constructor==Array)return J.m.prototype +if(typeof a!="object"){if(typeof a=="function")return J.a4.prototype +return a}if(a instanceof P.t)return a +return J.eF(a)}, +kD:function(a){if(typeof a=="number")return J.bh.prototype +if(typeof a=="string")return J.ad.prototype +if(a==null)return a +if(a.constructor==Array)return J.m.prototype +if(typeof a!="object"){if(typeof a=="function")return J.a4.prototype +return a}if(a instanceof P.t)return a +return J.eF(a)}, +I:function(a){if(typeof a=="string")return J.ad.prototype +if(a==null)return a +if(a.constructor==Array)return J.m.prototype +if(typeof a!="object"){if(typeof a=="function")return J.a4.prototype +return a}if(a instanceof P.t)return a +return J.eF(a)}, +b1:function(a){if(a==null)return a +if(a.constructor==Array)return J.m.prototype +if(typeof a!="object"){if(typeof a=="function")return J.a4.prototype +return a}if(a instanceof P.t)return a +return J.eF(a)}, +u:function(a){if(typeof a=="string")return J.ad.prototype +if(a==null)return a +if(!(a instanceof P.t))return J.aU.prototype +return a}, +eT:function(a,b){if(typeof a=="number"&&typeof b=="number")return a+b +return J.kD(a).a1(a,b)}, +D:function(a,b){if(a==null)return b==null +if(typeof a!="object")return b!=null&&a===b +return J.ao(a).L(a,b)}, +eU:function(a,b){if(typeof b==="number")if(a.constructor==Array||typeof a=="string"||H.hY(a,a[v.dispatchPropertyName]))if(b>>>0===b&&b>>0===b&&b").R(c).i("a5<1,2>")))}, +dD:function(a,b){return new H.a5(a.i("@<0>").R(b).i("a5<1,2>"))}, +ja:function(a,b,c){var s,r +if(P.fl(a)){if(b==="("&&c===")")return"(...)" +return b+"..."+c}s=H.c([],t.s) +$.aG.push(a) +try{P.kn(a,s)}finally{$.aG.pop()}r=P.ai(b,s,", ")+c +return r.charCodeAt(0)==0?r:r}, +fN:function(a,b,c){var s,r +if(P.fl(a))return b+"..."+c +s=new P.y(b) +$.aG.push(a) +try{r=s +r.a=P.ai(r.a,a,", ")}finally{$.aG.pop()}s.a+=c +r=s.a +return r.charCodeAt(0)==0?r:r}, +fl:function(a){var s,r +for(s=$.aG.length,r=0;r100){while(!0){if(!(k>75&&j>3))break +k-=b.pop().length+2;--j}b.push("...") +return}}q=H.b(p) +r=H.b(o) +k+=r.length+q.length+4}}if(j>b.length+2){k+=5 +m="..."}else m=null +while(!0){if(!(k>80&&b.length>3))break +k-=b.pop().length+2 +if(m==null){k+=5 +m="..."}}if(m!=null)b.push(m) +b.push(q) +b.push(r)}, +dE:function(a){var s,r={} +if(P.fl(a))return"{...}" +s=new P.y("") +try{$.aG.push(a) +s.a+="{" +r.a=!0 +a.S(0,new P.dF(r,s)) +s.a+="}"}finally{$.aG.pop()}r=s.a +return r.charCodeAt(0)==0?r:r}, +be:function be(){}, +bk:function bk(){}, +p:function p(){}, +bm:function bm(){}, +dF:function dF(a,b){this.a=a +this.b=b}, +ax:function ax(){}, +d2:function d2(){}, +bn:function bn(){}, +bA:function bA(){}, +bF:function bF(){}, +bL:function bL(){}, +ko:function(a,b){var s,r,q,p +if(typeof a!="string")throw H.a(H.O(a)) +s=null +try{s=JSON.parse(a)}catch(q){r=H.ap(q) +p=P.l(String(r),null,null) +throw H.a(p)}p=P.et(s) +return p}, +et:function(a){var s +if(a==null)return null +if(typeof a!="object")return a +if(Object.getPrototypeOf(a)!==Array.prototype)return new P.cW(a,Object.create(null)) +for(s=0;s=0)return null +return r}return null}, +jC:function(a,b,c,d){var s=a?$.im():$.il() +if(s==null)return null +if(0===c&&d===b.length)return P.hf(s,b) +return P.hf(s,b.subarray(c,P.a7(c,d,b.length)))}, +hf:function(a,b){var s,r +try{s=a.decode(b) +return s}catch(r){H.ap(r)}return null}, +fD:function(a,b,c,d,e,f){if(C.c.aP(f,4)!==0)throw H.a(P.l("Invalid base64 padding, padded length must be multiple of four, is "+f,a,c)) +if(d+e!==f)throw H.a(P.l("Invalid base64 padding, '=' not at the end",a,b)) +if(e>2)throw H.a(P.l("Invalid base64 padding, more than two '=' characters",a,b))}, +fU:function(a,b,c){return new P.bi(a,b)}, +ka:function(a){return a.ax()}, +jD:function(a,b){return new P.ei(a,[],P.kx())}, +jE:function(a,b,c){var s,r=new P.y(""),q=P.jD(r,b) +q.aN(a) +s=r.a +return s.charCodeAt(0)==0?s:s}, +k2:function(a){switch(a){case 65:return"Missing extension byte" +case 67:return"Unexpected extension byte" +case 69:return"Invalid UTF-8 byte" +case 71:return"Overlong encoding" +case 73:return"Out of unicode range" +case 75:return"Encoded surrogate" +case 77:return"Unfinished UTF-8 octet sequence" +default:return""}}, +k1:function(a,b,c){var s,r,q,p=c-b,o=new Uint8Array(p) +for(s=J.I(a),r=0;r>>0!==0?255:q}return o}, +cW:function cW(a,b){this.a=a +this.b=b +this.c=null}, +cX:function cX(a){this.a=a}, +ee:function ee(){}, +ef:function ef(){}, +bW:function bW(){}, +d_:function d_(){}, +bX:function bX(a){this.a=a}, +bZ:function bZ(){}, +c_:function c_(){}, +ac:function ac(){}, +a0:function a0(){}, +c5:function c5(){}, +bi:function bi(a,b){this.a=a +this.b=b}, +cg:function cg(a,b){this.a=a +this.b=b}, +cf:function cf(){}, +ci:function ci(a){this.b=a}, +ch:function ch(a){this.a=a}, +ej:function ej(){}, +ek:function ek(a,b){this.a=a +this.b=b}, +ei:function ei(a,b,c){this.c=a +this.a=b +this.b=c}, +cO:function cO(){}, +cQ:function cQ(){}, +er:function er(a){this.b=0 +this.c=a}, +cP:function cP(a){this.a=a}, +eq:function eq(a){this.a=a +this.b=16 +this.c=0}, +Q:function(a,b){var s=H.h0(a,b) +if(s!=null)return s +throw H.a(P.l(a,null,null))}, +j5:function(a){if(a instanceof H.at)return a.h(0) +return"Instance of '"+H.b(H.dM(a))+"'"}, +af:function(a,b,c,d){var s,r=c?J.fQ(a,d):J.fP(a,d) +if(a!==0&&b!=null)for(s=0;s")) +for(s=J.L(a);s.m();)r.push(s.gq()) +if(b)return r +return J.dw(r)}, +bl:function(a,b,c){var s +if(b)return P.fV(a,c) +s=J.dw(P.fV(a,c)) +return s}, +fV:function(a,b){var s,r=H.c([],b.i("m<0>")) +for(s=a.gu(a);s.m();)r.push(s.gq()) +return r}, +J:function(a,b){return J.fR(P.cm(a,!1,b))}, +h7:function(a,b,c){var s,r +if(Array.isArray(a)){s=a +r=s.length +c=P.a7(b,c,r) +return H.h1(b>0||c>>4]&1<<(o&15))!==0)p+=H.F(o) +else p=d&&o===32?p+"+":p+"%"+n[o>>>4&15]+n[o&15]}return p.charCodeAt(0)==0?p:p}, +au:function(a){if(typeof a=="number"||H.hJ(a)||null==a)return J.aq(a) +if(typeof a=="string")return JSON.stringify(a) +return P.j5(a)}, +da:function(a){return new P.bY(a)}, +w:function(a){return new P.V(!1,null,null,a)}, +d8:function(a,b,c){return new P.V(!0,a,b,c)}, +iV:function(a){return new P.V(!1,null,a,"Must not be null")}, +d9:function(a,b){return a}, +f5:function(a){var s=null +return new P.aQ(s,s,!1,s,s,a)}, +aR:function(a,b){return new P.aQ(null,null,!0,a,b,"Value not in range")}, +r:function(a,b,c,d,e){return new P.aQ(b,c,!0,a,d,"Invalid value")}, +h2:function(a,b,c,d){if(ac)throw H.a(P.r(a,b,c,d,null)) +return a}, +a7:function(a,b,c){if(0>a||a>c)throw H.a(P.r(a,0,c,"start",null)) +if(b!=null){if(a>b||b>c)throw H.a(P.r(b,a,c,"end",null)) +return b}return c}, +X:function(a,b){if(a<0)throw H.a(P.r(a,0,null,b,null)) +return a}, +f0:function(a,b,c,d,e){var s=e==null?J.z(b):e +return new P.ca(s,!0,a,c,"Index out of range")}, +q:function(a){return new P.cM(a)}, +hb:function(a){return new P.cJ(a)}, +dT:function(a){return new P.aC(a)}, +a3:function(a){return new P.c1(a)}, +l:function(a,b,c){return new P.aM(a,b,c)}, +hd:function(a){var s,r=null,q=new P.y(""),p=H.c([-1],t.t) +P.jy(r,r,r,q,p) +p.push(q.a.length) +q.a+="," +P.jw(C.h,C.F.cv(a),q) +s=q.a +return new P.cN(s.charCodeAt(0)==0?s:s,p,r).ga8()}, +K:function(a5){var s,r,q,p,o,n,m,l,k,j,i,h,g,f,e,d,c,b,a,a0,a1,a2,a3=null,a4=a5.length +if(a4>=5){s=((J.fA(a5,4)^58)*3|C.a.k(a5,0)^100|C.a.k(a5,1)^97|C.a.k(a5,2)^116|C.a.k(a5,3)^97)>>>0 +if(s===0)return P.hc(a4=14)r[7]=a4 +q=r[1] +if(q>=0)if(P.hL(a5,0,q,20,r)===20)r[7]=q +p=r[2]+1 +o=r[3] +n=r[4] +m=r[5] +l=r[6] +if(lq+3){j=a3 +k=!1}else{i=o>0 +if(i&&o+1===n){j=a3 +k=!1}else{if(!(mn+2&&J.bV(a5,"/..",m-3) +else h=!0 +if(h){j=a3 +k=!1}else{if(q===4)if(J.bV(a5,"file",0)){if(p<=0){if(!C.a.D(a5,"/",n)){g="file:///" +s=3}else{g="file://" +s=2}a5=g+C.a.j(a5,n,a4) +q-=0 +i=s-0 +m+=i +l+=i +a4=a5.length +p=7 +o=7 +n=7}else if(n===m){++l +f=m+1 +a5=C.a.X(a5,n,m,"/");++a4 +m=f}j="file"}else if(C.a.D(a5,"http",0)){if(i&&o+3===n&&C.a.D(a5,"80",o+1)){l-=3 +e=n-3 +m-=3 +a5=C.a.X(a5,o,n,"") +a4-=3 +n=e}j="http"}else j=a3 +else if(q===5&&J.bV(a5,"https",0)){if(i&&o+4===n&&J.bV(a5,"443",o+1)){l-=4 +e=n-4 +m-=4 +a5=J.iR(a5,o,n,"") +a4-=3 +n=e}j="https"}else j=a3 +k=!0}}}else j=a3 +if(k){i=a5.length +if(a40)j=P.hy(a5,0,q) +else{if(q===0){P.b_(a5,0,"Invalid empty scheme") +H.aA(u.w)}j=""}if(p>0){d=q+3 +c=d9)k.$2("invalid character",s)}else{if(q===3)k.$2(m,s) +o=P.Q(C.a.j(a,r,s),null) +if(o>255)k.$2(l,r) +n=q+1 +j[q]=o +r=s+1 +q=n}}if(q!==3)k.$2(m,c) +o=P.Q(C.a.j(a,r,c),null) +if(o>255)k.$2(l,r) +j[q]=o +return j}, +he:function(a,b,c){var s,r,q,p,o,n,m,l,k,j,i,h,g,f,e=new P.eb(a),d=new P.ec(e,a) +if(a.length<2)e.$1("address is too short") +s=H.c([],t.t) +for(r=b,q=r,p=!1,o=!1;r>>0) +s.push((k[2]<<8|k[3])>>>0)}if(p){if(s.length>7)e.$1("an address with a wildcard must have less than 7 parts")}else if(s.length!==8)e.$1("an address without a wildcard must contain exactly 8 parts") +j=new Uint8Array(16) +for(l=s.length,i=9-l,r=0,h=0;r?\\\\|]',!1)))if(b)throw H.a(P.w("Illegal character in path")) +else throw H.a(P.q("Illegal character in path: "+r))}}, +hq:function(a,b){var s,r="Illegal drive letter " +if(!(65<=a&&a<=90))s=97<=a&&a<=122 +else s=!0 +if(s)return +if(b)throw H.a(P.w(r+P.h6(a))) +else throw H.a(P.q(r+P.h6(a)))}, +jY:function(a,b){var s=null,r=H.c(a.split("/"),t.s) +if(C.a.v(a,"/"))return P.B(s,s,r,"file") +else return P.B(s,s,r,s)}, +jZ:function(a,b){var s,r,q,p,o="\\",n=null,m="file" +if(C.a.v(a,"\\\\?\\"))if(C.a.D(a,"UNC\\",4))a=C.a.X(a,0,7,o) +else{a=C.a.w(a,4) +if(a.length<3||C.a.k(a,1)!==58||C.a.k(a,2)!==92)throw H.a(P.w("Windows paths with \\\\?\\ prefix must be absolute"))}else a=H.R(a,"/",o) +s=a.length +if(s>1&&C.a.k(a,1)===58){P.hq(C.a.k(a,0),!0) +if(s===2||C.a.k(a,2)!==92)throw H.a(P.w("Windows paths with drive letter must be absolute")) +r=H.c(a.split(o),t.s) +P.bM(r,!0,1) +return P.B(n,n,r,m)}if(C.a.v(a,o))if(C.a.D(a,o,1)){q=C.a.a6(a,o,2) +s=q<0 +p=s?C.a.w(a,2):C.a.j(a,2,q) +r=H.c((s?"":C.a.w(a,q+1)).split(o),t.s) +P.bM(r,!0,0) +return P.B(p,n,r,m)}else{r=H.c(a.split(o),t.s) +P.bM(r,!0,0) +return P.B(n,n,r,m)}else{r=H.c(a.split(o),t.s) +P.bM(r,!0,0) +return P.B(n,n,r,n)}}, +ff:function(a,b){if(a!=null&&a===P.hr(b))return null +return a}, +hv:function(a,b,c,d){var s,r,q,p,o,n +if(a==null)return null +if(b===c)return"" +if(C.a.n(a,b)===91){s=c-1 +if(C.a.n(a,s)!==93){P.b_(a,b,"Missing end `]` to match `[` in host") +H.aA(u.w)}r=b+1 +q=P.jW(a,r,s) +if(q=b&&q=b&&s>>4]&1<<(p&15))!==0){if(q&&65<=p&&90>=p){if(i==null)i=new P.y("") +if(r>>4]&1<<(o&15))!==0){if(p&&65<=o&&90>=o){if(q==null)q=new P.y("") +if(r>>4]&1<<(o&15))!==0){P.b_(a,s,"Invalid character") +H.aA(u.w)}else{if((o&64512)===55296&&s+1>>4]&1<<(q&15))!==0)){P.b_(a,s,"Illegal scheme character") +H.aA(p)}if(65<=q&&q<=90)r=!0}a=C.a.j(a,b,c) +return P.jU(r?a.toLowerCase():a)}, +jU:function(a){if(a==="http")return"http" +if(a==="file")return"file" +if(a==="https")return"https" +if(a==="package")return"package" +return a}, +hz:function(a,b,c){if(a==null)return"" +return P.bN(a,b,c,C.W,!1)}, +hw:function(a,b,c,d,e,f){var s,r=e==="file",q=r||f +if(a==null){if(d==null)return r?"/":"" +s=new H.i(d,new P.ep(),H.G(d).i("i<1,e>")).Z(0,"/")}else if(d!=null)throw H.a(P.w("Both path and pathSegments specified")) +else s=P.bN(a,b,c,C.B,!0) +if(s.length===0){if(r)return"/"}else if(q&&!C.a.v(s,"/"))s="/"+s +return P.k_(s,e,f)}, +k_:function(a,b,c){var s=b.length===0 +if(s&&!c&&!C.a.v(a,"/"))return P.fh(a,!s||c) +return P.aF(a)}, +hx:function(a,b,c,d){if(a!=null)return P.bN(a,b,c,C.h,!0) +return null}, +hu:function(a,b,c){if(a==null)return null +return P.bN(a,b,c,C.h,!0)}, +fg:function(a,b,c){var s,r,q,p,o,n=b+2 +if(n>=a.length)return"%" +s=C.a.n(a,b+1) +r=C.a.n(a,n) +q=H.eG(s) +p=H.eG(r) +if(q<0||p<0)return"%" +o=q*16+p +if(o<127&&(C.z[C.c.aa(o,4)]&1<<(o&15))!==0)return H.F(c&&65<=o&&90>=o?(o|32)>>>0:o) +if(s>=97||r>=97)return C.a.j(a,b,b+3).toUpperCase() +return null}, +fe:function(a){var s,r,q,p,o,n="0123456789ABCDEF" +if(a<128){s=new Uint8Array(3) +s[0]=37 +s[1]=C.a.k(n,a>>>4) +s[2]=C.a.k(n,a&15)}else{if(a>2047)if(a>65535){r=240 +q=4}else{r=224 +q=3}else{r=192 +q=2}s=new Uint8Array(3*q) +for(p=0;--q,q>=0;r=128){o=C.c.cl(a,6*q)&63|r +s[p]=37 +s[p+1]=C.a.k(n,o>>>4) +s[p+2]=C.a.k(n,o&15) +p+=3}}return P.h7(s,0,null)}, +bN:function(a,b,c,d,e){var s=P.hB(a,b,c,d,e) +return s==null?C.a.j(a,b,c):s}, +hB:function(a,b,c,d,e){var s,r,q,p,o,n,m,l,k,j=null +for(s=!e,r=b,q=r,p=j;r>>4]&1<<(o&15))!==0)++r +else{if(o===37){n=P.fg(a,r,!1) +if(n==null){r+=3 +continue}if("%"===n){n="%25" +m=1}else m=3}else if(s&&o<=93&&(C.w[o>>>4]&1<<(o&15))!==0){P.b_(a,r,"Invalid character") +H.aA(u.w) +m=j +n=m}else{if((o&64512)===55296){l=r+1 +if(l=2&&P.ht(J.fA(a,0)))for(s=1;s127||(C.x[r>>>4]&1<<(r&15))===0)break}return a}, +hD:function(a){var s,r,q,p=a.gae(),o=p.length +if(o>0&&J.z(p[0])===2&&J.bT(p[0],1)===58){P.hq(J.bT(p[0],0),!1) +P.bM(p,!1,1) +s=!0}else{P.bM(p,!1,0) +s=!1}r=a.gba()&&!s?"\\":"" +if(a.gar()){q=a.gV() +if(q.length!==0)r=r+"\\"+q+"\\"}r=P.ai(r,p,"\\") +o=s&&o===1?r+"\\":r +return o.charCodeAt(0)==0?o:o}, +jX:function(a,b){var s,r,q +for(s=0,r=0;r<2;++r){q=C.a.k(a,b+r) +if(48<=q&&q<=57)s=s*16+q-48 +else{q|=32 +if(97<=q&&q<=102)s=s*16+q-87 +else throw H.a(P.w("Invalid URL encoding"))}}return s}, +fi:function(a,b,c,d,e){var s,r,q,p,o=J.u(a),n=b +while(!0){if(!(n127)throw H.a(P.w("Illegal percent encoding in URI")) +if(r===37){if(n+3>a.length)throw H.a(P.w("Truncated URI")) +p.push(P.jX(a,n+1)) +n+=2}else p.push(r)}}return C.a0.aq(p)}, +ht:function(a){var s=a|32 +return 97<=s&&s<=122}, +jy:function(a,b,c,d,e){var s,r +if(!0)d.a=d.a +else{s=P.jx("") +if(s<0)throw H.a(P.d8("","mimeType","Invalid MIME type")) +r=d.a+=H.b(P.fj(C.A,C.a.j("",0,s),C.e,!1)) +d.a=r+"/" +d.a+=H.b(P.fj(C.A,C.a.w("",s+1),C.e,!1))}}, +jx:function(a){var s,r,q +for(s=a.length,r=-1,q=0;qb)throw H.a(P.l(k,a,r)) +for(;p!==44;){j.push(r);++r +for(o=-1;r=0)j.push(o) +else{n=C.b.gK(j) +if(p!==44||r!==n+7||!C.a.D(a,"base64",n+1))throw H.a(P.l("Expecting '='",a,r)) +break}}j.push(r) +m=r+1 +if((j.length&1)===1)a=C.G.cG(a,m,s) +else{l=P.hB(a,m,s,C.h,!0) +if(l!=null)a=C.a.X(a,m,s,l)}return new P.cN(a,j,c)}, +jw:function(a,b,c){var s,r,q,p,o="0123456789ABCDEF" +for(s=J.I(b),r=0,q=0;q>>0!==0)for(q=0;q255)throw H.a(P.d8(p,"non-byte value",null))}}, +k9:function(){var s,r,q,p,o,n="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-._~!$&'()*+,;=",m=".",l=":",k="/",j="?",i="#",h=J.fO(22,t.p) +for(s=0;s<22;++s)h[s]=new Uint8Array(96) +r=new P.eu(h) +q=new P.ev() +p=new P.ew() +o=r.$2(0,225) +q.$3(o,n,1) +q.$3(o,m,14) +q.$3(o,l,34) +q.$3(o,k,3) +q.$3(o,j,172) +q.$3(o,i,205) +o=r.$2(14,225) +q.$3(o,n,1) +q.$3(o,m,15) +q.$3(o,l,34) +q.$3(o,k,234) +q.$3(o,j,172) +q.$3(o,i,205) +o=r.$2(15,225) +q.$3(o,n,1) +q.$3(o,"%",225) +q.$3(o,l,34) +q.$3(o,k,9) +q.$3(o,j,172) +q.$3(o,i,205) +o=r.$2(1,225) +q.$3(o,n,1) +q.$3(o,l,34) +q.$3(o,k,10) +q.$3(o,j,172) +q.$3(o,i,205) +o=r.$2(2,235) +q.$3(o,n,139) +q.$3(o,k,131) +q.$3(o,m,146) +q.$3(o,j,172) +q.$3(o,i,205) +o=r.$2(3,235) +q.$3(o,n,11) +q.$3(o,k,68) +q.$3(o,m,18) +q.$3(o,j,172) +q.$3(o,i,205) +o=r.$2(4,229) +q.$3(o,n,5) +p.$3(o,"AZ",229) +q.$3(o,l,102) +q.$3(o,"@",68) +q.$3(o,"[",232) +q.$3(o,k,138) +q.$3(o,j,172) +q.$3(o,i,205) +o=r.$2(5,229) +q.$3(o,n,5) +p.$3(o,"AZ",229) +q.$3(o,l,102) +q.$3(o,"@",68) +q.$3(o,k,138) +q.$3(o,j,172) +q.$3(o,i,205) +o=r.$2(6,231) +p.$3(o,"19",7) +q.$3(o,"@",68) +q.$3(o,k,138) +q.$3(o,j,172) +q.$3(o,i,205) +o=r.$2(7,231) +p.$3(o,"09",7) +q.$3(o,"@",68) +q.$3(o,k,138) +q.$3(o,j,172) +q.$3(o,i,205) +q.$3(r.$2(8,8),"]",5) +o=r.$2(9,235) +q.$3(o,n,11) +q.$3(o,m,16) +q.$3(o,k,234) +q.$3(o,j,172) +q.$3(o,i,205) +o=r.$2(16,235) +q.$3(o,n,11) +q.$3(o,m,17) +q.$3(o,k,234) +q.$3(o,j,172) +q.$3(o,i,205) +o=r.$2(17,235) +q.$3(o,n,11) +q.$3(o,k,9) +q.$3(o,j,172) +q.$3(o,i,205) +o=r.$2(10,235) +q.$3(o,n,11) +q.$3(o,m,18) +q.$3(o,k,234) +q.$3(o,j,172) +q.$3(o,i,205) +o=r.$2(18,235) +q.$3(o,n,11) +q.$3(o,m,19) +q.$3(o,k,234) +q.$3(o,j,172) +q.$3(o,i,205) +o=r.$2(19,235) +q.$3(o,n,11) +q.$3(o,k,234) +q.$3(o,j,172) +q.$3(o,i,205) +o=r.$2(11,235) +q.$3(o,n,11) +q.$3(o,k,10) +q.$3(o,j,172) +q.$3(o,i,205) +o=r.$2(12,236) +q.$3(o,n,12) +q.$3(o,j,12) +q.$3(o,i,205) +o=r.$2(13,237) +q.$3(o,n,13) +q.$3(o,j,13) +p.$3(r.$2(20,245),"az",21) +o=r.$2(21,245) +p.$3(o,"az",21) +p.$3(o,"09",21) +q.$3(o,"+-.",21) +return h}, +hL:function(a,b,c,d,e){var s,r,q,p,o,n=$.iz() +for(s=J.u(a),r=b;r95?31:p] +d=o&31 +e[o>>>5]=r}return d}, +dI:function dI(a,b){this.a=a +this.b=b}, +j:function j(){}, +bY:function bY(a){this.a=a}, +cI:function cI(){}, +cu:function cu(){}, +V:function V(a,b,c,d){var _=this +_.a=a +_.b=b +_.c=c +_.d=d}, +aQ:function aQ(a,b,c,d,e,f){var _=this +_.e=a +_.f=b +_.a=c +_.b=d +_.c=e +_.d=f}, +ca:function ca(a,b,c,d,e){var _=this +_.f=a +_.a=b +_.b=c +_.c=d +_.d=e}, +cs:function cs(a,b,c,d){var _=this +_.a=a +_.b=b +_.c=c +_.d=d}, +cM:function cM(a){this.a=a}, +cJ:function cJ(a){this.a=a}, +aC:function aC(a){this.a=a}, +c1:function c1(a){this.a=a}, +cw:function cw(){}, +bx:function bx(){}, +c3:function c3(a){this.a=a}, +aM:function aM(a,b,c){this.a=a +this.b=b +this.c=c}, +d:function d(){}, +cd:function cd(){}, +br:function br(){}, +t:function t(){}, +U:function U(a){this.a=a}, +y:function y(a){this.a=a}, +ea:function ea(a){this.a=a}, +eb:function eb(a){this.a=a}, +ec:function ec(a,b){this.a=a +this.b=b}, +am:function am(a,b,c,d,e,f,g){var _=this +_.a=a +_.b=b +_.c=c +_.d=d +_.e=e +_.f=f +_.r=g +_.x=null +_.y=!1 +_.z=null +_.Q=!1 +_.ch=null +_.cx=!1}, +ep:function ep(){}, +cN:function cN(a,b,c){this.a=a +this.b=b +this.c=c}, +eu:function eu(a){this.a=a}, +ev:function ev(){}, +ew:function ew(){}, +T:function T(a,b,c,d,e,f,g,h){var _=this +_.a=a +_.b=b +_.c=c +_.d=d +_.e=e +_.f=f +_.r=g +_.x=h +_.y=null}, +cT:function cT(a,b,c,d,e,f,g){var _=this +_.a=a +_.b=b +_.c=c +_.d=d +_.e=e +_.f=f +_.r=g +_.x=null +_.y=!1 +_.z=null +_.Q=!1 +_.ch=null +_.cx=!1}, +k8:function(a){var s,r=a.$dart_jsFunction +if(r!=null)return r +s=function(b,c){return function(){return b(c,Array.prototype.slice.apply(arguments))}}(P.k6,a) +s[$.fw()]=a +a.$dart_jsFunction=s +return s}, +k6:function(a,b){return H.ji(a,b,null)}, +hO:function(a){if(typeof a=="function")return a +else return P.k8(a)}, +i_:function(a,b){return Math.max(H.hR(a),H.hR(b))}, +i2:function(a,b){return Math.pow(a,b)}},W={dm:function dm(){}},M={ +eZ:function(a){var s=a==null?D.eC():"." +if(a==null)a=$.eQ() +return new M.c2(a,s)}, +fo:function(a){return a}, +hN:function(a,b){var s,r,q,p,o,n,m,l +for(s=b.length,r=1;r=1;s=q){q=s-1 +if(b[q]!=null)break}p=new P.y("") +o=a+"(" +p.a=o +n=H.G(b) +m=n.i("aD<1>") +l=new H.aD(b,0,s,m) +l.c5(b,0,s,n.c) +m=o+new H.i(l,new M.ez(),m.i("i")).Z(0,", ") +p.a=m +p.a=m+("): part "+(r-1)+" was null, but part "+r+" was not.") +throw H.a(P.w(p.h(0)))}}, +c2:function c2(a,b){this.a=a +this.b=b}, +dj:function dj(){}, +di:function di(){}, +dk:function dk(){}, +ez:function ez(){}, +aX:function aX(a){this.a=a}, +aY:function aY(a){this.a=a}},B={dv:function dv(){}, +hW:function(a){var s +if(!(a>=65&&a<=90))s=a>=97&&a<=122 +else s=!0 +return s}, +hX:function(a,b){var s=a.length,r=b+2 +if(s")).c0(0,new O.eO()),t.O),new P.U(null)).cB(new O.eP())}, +kp:function(a){var s,r,q,p,o,n,m,l=J.iN(a,".") +if(l<0)return a +s=C.a.w(a,l+1) +a=s==="fn"?a:s +a=H.R(a,"$124","|") +if(C.a.A(a,"|")){r=C.a.at(a,"|") +q=C.a.at(a," ") +p=C.a.at(a,"escapedPound") +if(q>=0){o=C.a.j(a,0,q)==="set" +a=C.a.j(a,q+1,a.length)}else{n=r+1 +if(p>=0){o=C.a.j(a,n,p)==="set" +a=C.a.X(a,n,p+3,"")}else{m=C.a.j(a,n,a.length) +if(C.a.v(m,"unary")||C.a.v(m,"$"))a=O.kt(a) +o=!1}}a=H.R(a,"|",".") +n=o?a+"=":a}else n=a +return n}, +kt:function(a){return H.kT(a,P.k("\\$[0-9]+",!1),new O.ey(a),null)}, +eN:function eN(a,b){this.a=a +this.b=b}, +eO:function eO(){}, +eP:function eP(){}, +ey:function ey(a){this.a=a}, +hQ:function(a,b){var s,r,q +if(a.length===0)return-1 +if(b.$1(C.b.gaF(a)))return 0 +if(!b.$1(C.b.gK(a)))return a.length +s=a.length-1 +for(r=0;r$.fx())throw H.a(P.w("expected 32 bit int, got: "+a)) +s=H.c([],t.V) +if(a<0){a=-a +r=1}else r=0 +a=a<<1|r +do{q=a&31 +a=a>>>5 +p=a>0 +s.push(u.n[p?q|32:q])}while(p) +return s}, +d4:function(a){var s,r,q,p,o,n,m,l,k,j=null +for(s=a.b,r=a.a,q=0,p=!1,o=0;!p;){n=++a.c +if(n>=s)throw H.a(P.dT("incomplete VLQ value")) +m=n>=0&&!0?r[n]:j +n=$.ir() +if(!n.J(m))throw H.a(P.l("invalid character in VLQ encoding: "+H.b(m),j,j)) +l=n.p(0,m) +p=(l&32)===0 +q+=C.c.ck(l&31,o) +o+=5}k=q>>>1 +q=(q&1)===1?-k:k +if(q<$.fy()||q>$.fx())throw H.a(P.l("expected an encoded 32 bit int, but we got: "+q,j,j)) +return q}, +eA:function eA(){}},T={ +i0:function(a,b,c){var s,r,q="sections" +if(!J.D(a.p(0,"version"),3))throw H.a(P.w("unexpected source map version: "+H.b(a.p(0,"version"))+". Only version 3 is supported.")) +if(a.J(q)){if(a.J("mappings")||a.J("sources")||a.J("names"))throw H.a(P.l('map containing "sections" cannot contain "mappings", "sources", or "names".',null,null)) +s=a.p(0,q) +r=t.i +r=new T.co(H.c([],r),H.c([],r),H.c([],t.F)) +r.c2(s,c,b) +return r}return T.jo(a,b)}, +jo:function(a,b){var s,r,q,p,o=a.p(0,"file"),n=t.X,m=P.cm(a.p(0,"sources"),!0,n),l=a.p(0,"names") +l=P.cm(l==null?[]:l,!0,n) +s=new Array(J.z(a.p(0,"sources"))) +s.fixed$length=Array +s=H.c(s,t.d) +r=a.p(0,"sourceRoot") +q=H.c([],t.L) +p=typeof b=="string"?P.K(b):b +n=new T.bu(m,l,s,q,o,r,p,P.dD(n,t.z)) +n.c3(a,b) +return n}, +ag:function ag(){}, +co:function co(a,b,c){this.a=a +this.b=b +this.c=c}, +cn:function cn(a){this.a=a}, +dH:function dH(){}, +bu:function bu(a,b,c,d,e,f,g,h){var _=this +_.a=a +_.b=b +_.c=c +_.d=d +_.e=e +_.f=f +_.r=g +_.x=h}, +dO:function dO(a){this.a=a}, +dR:function dR(a){this.a=a}, +dQ:function dQ(a){this.a=a}, +dP:function dP(a){this.a=a}, +bz:function bz(a,b){this.a=a +this.b=b}, +aT:function aT(a,b,c,d,e){var _=this +_.a=a +_.b=b +_.c=c +_.d=d +_.e=e}, +el:function el(a,b){this.a=a +this.b=b +this.c=-1}, +aZ:function aZ(a,b,c){this.a=a +this.b=b +this.c=c}, +ck:function ck(a){this.a=a +this.b=null}},G={ +h5:function(a,b,c,d){var s=new G.bw(a,b,c) +s.br(a,b,c) +return s}, +bw:function bw(a,b,c){this.a=a +this.b=b +this.c=c}},Y={cC:function cC(a,b,c){var _=this +_.a=a +_.b=b +_.c=c +_.d=null},cF:function cF(){}, +jv:function(a){if(a==null)throw H.a(P.w("Cannot create a Trace from null.")) +if(t.G.b(a))return a +if(a instanceof U.as)return a.bQ() +return new T.ck(new Y.e4(a))}, +f7:function(a){var s,r,q +try{if(a.length===0){r=P.J(H.c([],t.B),t.O) +return new Y.E(r,new P.U(null))}if(C.a.A(a,$.iC())){r=Y.ju(a) +return r}if(C.a.A(a,"\tat ")){r=Y.jt(a) +return r}if(C.a.A(a,$.iv())||C.a.A(a,$.it())){r=Y.js(a) +return r}if(C.a.A(a,u.q)){r=U.iZ(a).bQ() +return r}if(C.a.A(a,$.ix())){r=Y.h8(a) +return r}r=P.J(Y.h9(a),t.O) +return new Y.E(r,new P.U(a))}catch(q){r=H.ap(q) +if(r instanceof P.aM){s=r +throw H.a(P.l(H.b(s.a)+"\nStack trace:\n"+H.b(a),null,null))}else throw q}}, +h9:function(a){var s,r,q=J.iU(a),p=H.c(H.R(q,"\n","").split("\n"),t.s) +q=H.aE(p,0,p.length-1,t.N) +s=q.$ti.i("i") +r=P.bl(new H.i(q,new Y.e5(),s),!0,s.i("A.E")) +if(!J.iM(C.b.gK(p),".da"))C.b.a4(r,A.fL(C.b.gK(p))) +return r}, +ju:function(a){var s=H.aE(H.c(a.split("\n"),t.s),1,null,t.N).c_(0,new Y.e2()),r=t.O +return new Y.E(P.J(H.dG(s,new Y.e3(),s.$ti.i("d.E"),r),r),new P.U(a))}, +jt:function(a){return new Y.E(P.J(new H.W(new H.M(H.c(a.split("\n"),t.s),new Y.e0(),t.U),new Y.e1(),t.a),t.O),new P.U(a))}, +js:function(a){return new Y.E(P.J(new H.W(new H.M(H.c(C.a.bo(a).split("\n"),t.s),new Y.dX(),t.U),new Y.dY(),t.a),t.O),new P.U(a))}, +h8:function(a){var s=a.length===0?H.c([],t.B):new H.W(new H.M(H.c(C.a.bo(a).split("\n"),t.s),new Y.dZ(),t.U),new Y.e_(),t.a) +return new Y.E(P.J(s,t.O),new P.U(a))}, +E:function E(a,b){this.a=a +this.b=b}, +e4:function e4(a){this.a=a}, +e5:function e5(){}, +e2:function e2(){}, +e3:function e3(){}, +e0:function e0(){}, +e1:function e1(){}, +dX:function dX(){}, +dY:function dY(){}, +dZ:function dZ(){}, +e_:function e_(){}, +e7:function e7(){}, +e6:function e6(a){this.a=a}},V={ +f6:function(a,b,c,d){var s=typeof d=="string"?P.K(d):t.k.a(d),r=c==null,q=r?0:c,p=b==null,o=p?a:b +if(a<0)H.o(P.f5("Offset may not be negative, was "+a+".")) +else if(!r&&c<0)H.o(P.f5("Line may not be negative, was "+H.b(c)+".")) +else if(!p&&b<0)H.o(P.f5("Column may not be negative, was "+H.b(b)+".")) +return new V.cD(s,a,q,o)}, +cD:function cD(a,b,c,d){var _=this +_.a=a +_.b=b +_.c=c +_.d=d}, +cE:function cE(){}},U={ +iZ:function(a){var s="\n",r=u.q +if(a.length===0)return new U.as(P.J(H.c([],t.E),t.G)) +if(C.a.A(a,s))return new U.as(P.J(new H.i(H.c(a.split(s),t.s),new U.db(),t.D),t.G)) +if(!C.a.A(a,r))return new U.as(P.J(H.c([Y.f7(a)],t.E),t.G)) +return new U.as(P.J(new H.i(H.c(a.split(r),t.s),new U.dc(),t.D),t.G))}, +as:function as(a){this.a=a}, +db:function db(){}, +dc:function dc(){}, +dh:function dh(){}, +dg:function dg(){}, +de:function de(){}, +df:function df(a){this.a=a}, +dd:function dd(a){this.a=a}},A={ +fL:function(a){return A.c9(a,new A.dt(a))}, +fK:function(a){return A.c9(a,new A.dr(a))}, +j7:function(a){return A.c9(a,new A.dn(a))}, +j8:function(a){return A.c9(a,new A.dp(a))}, +j9:function(a){return A.c9(a,new A.dq(a))}, +f_:function(a){if(J.I(a).A(a,$.i7()))return P.K(a) +else if(C.a.A(a,$.i8()))return P.hp(a,!0) +else if(C.a.v(a,"/"))return P.hp(a,!1) +if(C.a.A(a,"\\"))return $.iH().bR(a) +return P.K(a)}, +c9:function(a,b){var s,r +try{s=b.$0() +return s}catch(r){if(H.ap(r) instanceof P.aM)return new N.Z(P.B(null,"unparsed",null,null),a) +else throw r}}, +v:function v(a,b,c,d){var _=this +_.a=a +_.b=b +_.c=c +_.d=d}, +dt:function dt(a){this.a=a}, +dr:function dr(a){this.a=a}, +ds:function ds(a){this.a=a}, +dn:function dn(a){this.a=a}, +dp:function dp(a){this.a=a}, +dq:function dq(a){this.a=a}},N={Z:function Z(a,b){this.a=a +this.x=b}},D={ +kC:function(a){var s=a.$ti.i("i") +return P.bl(new H.i(a,new D.eE(),s),!0,s.i("A.E"))}, +kN:function(a){var s +if($.fm==null)throw H.a(P.dT("Source maps are not done loading.")) +s=Y.f7(a) +return O.kM($.fm,s,$.iG()).h(0)}, +kP:function(a){$.fm=new D.cj(new T.cn(P.dD(t.X,t.C)),a)}, +hZ:function(){self.$dartStackTraceUtility={mapper:P.hO(D.kQ()),setSourceMapProvider:P.hO(D.kR())}}, +eE:function eE(){}, +dl:function dl(){}, +cj:function cj(a,b){this.a=a +this.b=b}, +eB:function eB(){}, +eC:function(){var s,r,q,p,o=null +try{o=P.f9()}catch(s){if(t.v.b(H.ap(s))){r=$.ex +if(r!=null)return r +throw s}else throw s}if(J.D(o,$.hF))return $.ex +$.hF=o +if($.eQ()==$.b2())r=$.ex=o.bm(".").h(0) +else{q=o.bn() +p=q.length-1 +r=$.ex=p===0?q:C.a.j(q,0,p)}return r}} +var w=[C,H,J,P,W,M,B,X,O,E,F,L,T,G,Y,V,U,A,N,D] +hunkHelpers.setFunctionNamesIfNecessary(w) +var $={} +H.f2.prototype={} +J.x.prototype={ +L:function(a,b){return a===b}, +gG:function(a){return H.bt(a)}, +h:function(a){return"Instance of '"+H.b(H.dM(a))+"'"}, +aI:function(a,b){throw H.a(P.fW(a,b.gbL(),b.gbN(),b.gbM()))}} +J.dx.prototype={ +h:function(a){return String(a)}, +gG:function(a){return a?519018:218159}} +J.bg.prototype={ +L:function(a,b){return null==b}, +h:function(a){return"null"}, +gG:function(a){return 0}, +aI:function(a,b){return this.bZ(a,b)}} +J.ae.prototype={ +gG:function(a){return 0}, +h:function(a){return String(a)}} +J.cx.prototype={} +J.aU.prototype={} +J.a4.prototype={ +h:function(a){var s=a[$.fw()] +if(s==null)return this.c1(a) +return"JavaScript function for "+H.b(J.aq(s))}} +J.m.prototype={ +aD:function(a,b){return new H.a1(a,H.G(a).i("@<1>").R(b).i("a1<1,2>"))}, +a4:function(a,b){if(!!a.fixed$length)H.o(P.q("add")) +a.push(b)}, +aL:function(a,b){var s +if(!!a.fixed$length)H.o(P.q("removeAt")) +s=a.length +if(b>=s)throw H.a(P.aR(b,null)) +return a.splice(b,1)[0]}, +aG:function(a,b,c){var s +if(!!a.fixed$length)H.o(P.q("insert")) +s=a.length +if(b>s)throw H.a(P.aR(b,null)) +a.splice(b,0,c)}, +bd:function(a,b,c){var s,r +if(!!a.fixed$length)H.o(P.q("insertAll")) +P.h2(b,0,a.length,"index") +if(!t.Q.b(c))c=J.iT(c) +s=J.z(c) +a.length=a.length+s +r=b+s +this.bq(a,r,a.length,a,b) +this.bW(a,b,r,c)}, +bl:function(a){if(!!a.fixed$length)H.o(P.q("removeLast")) +if(a.length===0)throw H.a(H.an(a,-1)) +return a.pop()}, +b5:function(a,b){var s +if(!!a.fixed$length)H.o(P.q("addAll")) +for(s=J.L(b);s.m();)a.push(s.gq())}, +bg:function(a,b,c){return new H.i(a,b,H.G(a).i("@<1>").R(c).i("i<1,2>"))}, +Z:function(a,b){var s,r=P.af(a.length,"",!1,t.N) +for(s=0;s0)return a[0] +throw H.a(H.cc())}, +gK:function(a){var s=a.length +if(s>0)return a[s-1] +throw H.a(H.cc())}, +bq:function(a,b,c,d,e){var s,r,q,p,o +if(!!a.immutable$list)H.o(P.q("setRange")) +P.a7(b,c,a.length) +s=c-b +if(s===0)return +P.X(e,"skipCount") +if(t.j.b(d)){r=d +q=e}else{r=J.fC(d,e).a0(0,!1) +q=0}p=J.I(r) +if(q+s>p.gl(r))throw H.a(H.jb()) +if(q=0;--o)a[b+o]=p.p(r,q+o) +else for(o=0;o=a.length||b<0)throw H.a(H.an(a,b)) +return a[b]}, +B:function(a,b,c){if(!!a.immutable$list)H.o(P.q("indexed set")) +if(b>=a.length||b<0)throw H.a(H.an(a,b)) +a[b]=c}, +$ih:1, +$in:1} +J.dA.prototype={} +J.b4.prototype={ +gq:function(){return this.d}, +m:function(){var s,r=this,q=r.a,p=q.length +if(r.b!==p)throw H.a(H.aI(q)) +s=r.c +if(s>=p){r.d=null +return!1}r.d=q[s] +r.c=s+1 +return!0}} +J.bh.prototype={ +h:function(a){if(a===0&&1/a<0)return"-0.0" +else return""+a}, +gG:function(a){var s,r,q,p,o=a|0 +if(a===o)return o&536870911 +s=Math.abs(a) +r=Math.log(s)/0.6931471805599453|0 +q=Math.pow(2,r) +p=s<1?s/q:q/s +return((p*9007199254740992|0)+(p*3542243181176521|0))*599197+r*1259&536870911}, +aP:function(a,b){var s=a%b +if(s===0)return 0 +if(s>0)return s +if(b<0)return s-b +else return s+b}, +bA:function(a,b){return(a|0)===a?a/b|0:this.co(a,b)}, +co:function(a,b){var s=a/b +if(s>=-2147483648&&s<=2147483647)return s|0 +if(s>0){if(s!==1/0)return Math.floor(s)}else if(s>-1/0)return Math.ceil(s) +throw H.a(P.q("Result of truncating division is "+H.b(s)+": "+H.b(a)+" ~/ "+b))}, +ck:function(a,b){return b>31?0:a<>>0}, +aa:function(a,b){var s +if(a>0)s=this.bz(a,b) +else{s=b>31?31:b +s=a>>s>>>0}return s}, +cl:function(a,b){if(b<0)throw H.a(H.O(b)) +return this.bz(a,b)}, +bz:function(a,b){return b>31?0:a>>>b}} +J.bf.prototype={$if:1} +J.dy.prototype={} +J.ad.prototype={ +n:function(a,b){if(b<0)throw H.a(H.an(a,b)) +if(b>=a.length)H.o(H.an(a,b)) +return a.charCodeAt(b)}, +k:function(a,b){if(b>=a.length)throw H.a(H.an(a,b)) +return a.charCodeAt(b)}, +aC:function(a,b,c){var s +if(typeof b!="string")H.o(H.O(b)) +s=b.length +if(c>s)throw H.a(P.r(c,0,s,null,null)) +return new H.cY(b,a,c)}, +aB:function(a,b){return this.aC(a,b,0)}, +bK:function(a,b,c){var s,r,q=null +if(c<0||c>b.length)throw H.a(P.r(c,0,b.length,q,q)) +s=a.length +if(c+s>b.length)return q +for(r=0;rr)return!1 +return b===this.w(a,r-s)}, +bP:function(a,b,c){P.h2(0,0,a.length,"startIndex") +return H.kW(a,b,c,0)}, +X:function(a,b,c,d){var s=P.a7(b,c,a.length) +return H.fv(a,b,s,d)}, +D:function(a,b,c){var s +if(c<0||c>a.length)throw H.a(P.r(c,0,a.length,null,null)) +if(typeof b=="string"){s=c+b.length +if(s>a.length)return!1 +return b===a.substring(c,s)}return J.iP(b,a,c)!=null}, +v:function(a,b){return this.D(a,b,0)}, +j:function(a,b,c){if(c==null)c=a.length +if(b<0)throw H.a(P.aR(b,null)) +if(b>c)throw H.a(P.aR(b,null)) +if(c>a.length)throw H.a(P.aR(c,null)) +return a.substring(b,c)}, +w:function(a,b){return this.j(a,b,null)}, +bo:function(a){var s,r,q,p=a.trim(),o=p.length +if(o===0)return p +if(this.k(p,0)===133){s=J.jd(p,1) +if(s===o)return""}else s=0 +r=o-1 +q=this.n(p,r)===133?J.je(p,r):o +if(s===0&&q===o)return p +return p.substring(s,q)}, +bp:function(a,b){var s,r +if(0>=b)return"" +if(b===1||a.length===0)return a +if(b!==b>>>0)throw H.a(C.N) +for(s=a,r="";!0;){if((b&1)===1)r=s+r +b=b>>>1 +if(b===0)break +s+=s}return r}, +cH:function(a,b){var s=b-a.length +if(s<=0)return a +return a+this.bp(" ",s)}, +a6:function(a,b,c){var s +if(c<0||c>a.length)throw H.a(P.r(c,0,a.length,null,null)) +s=a.indexOf(b,c) +return s}, +at:function(a,b){return this.a6(a,b,0)}, +bJ:function(a,b,c){var s,r +if(c==null)c=a.length +else if(c<0||c>a.length)throw H.a(P.r(c,0,a.length,null,null)) +s=b.length +r=a.length +if(c+s>r)c=r-s +return a.lastIndexOf(b,c)}, +bI:function(a,b){return this.bJ(a,b,null)}, +A:function(a,b){if(b==null)H.o(H.O(b)) +return H.kS(a,b,0)}, +h:function(a){return a}, +gG:function(a){var s,r,q +for(s=a.length,r=0,q=0;q>6}r=r+((r&67108863)<<3)&536870911 +r^=r>>11 +return r+((r&16383)<<15)&536870911}, +gl:function(a){return a.length}, +p:function(a,b){if(b>=a.length||b<0)throw H.a(H.an(a,b)) +return a[b]}, +$ie:1} +H.aj.prototype={ +gu:function(a){var s=H.H(this) +return new H.c0(J.L(this.ga2()),s.i("@<1>").R(s.Q[1]).i("c0<1,2>"))}, +gl:function(a){return J.z(this.ga2())}, +gE:function(a){return J.d7(this.ga2())}, +gai:function(a){return J.eW(this.ga2())}, +Y:function(a,b){var s=H.H(this) +return H.fI(J.fC(this.ga2(),b),s.c,s.Q[1])}, +C:function(a,b){return H.H(this).Q[1].a(J.bU(this.ga2(),b))}, +h:function(a){return J.aq(this.ga2())}} +H.c0.prototype={ +m:function(){return this.a.m()}, +gq:function(){return this.$ti.Q[1].a(this.a.gq())}} +H.ar.prototype={ +ga2:function(){return this.a}} +H.bE.prototype={$ih:1} +H.bD.prototype={ +p:function(a,b){return this.$ti.Q[1].a(J.eU(this.a,b))}, +B:function(a,b,c){J.iI(this.a,b,this.$ti.c.a(c))}, +$ih:1, +$in:1} +H.a1.prototype={ +aD:function(a,b){return new H.a1(this.a,this.$ti.i("@<1>").R(b).i("a1<1,2>"))}, +ga2:function(){return this.a}} +H.bj.prototype={ +h:function(a){var s=this.a +return s!=null?"LateInitializationError: "+s:"LateInitializationError"}} +H.cy.prototype={ +h:function(a){var s="ReachabilityError: "+this.a +return s}} +H.aK.prototype={ +gl:function(a){return this.a.length}, +p:function(a,b){return C.a.n(this.a,b)}} +H.h.prototype={} +H.A.prototype={ +gu:function(a){return new H.aw(this,this.gl(this))}, +gE:function(a){return this.gl(this)===0}, +Z:function(a,b){var s,r,q,p=this,o=p.gl(p) +if(b.length!==0){if(o===0)return"" +s=H.b(p.C(0,0)) +if(o!==p.gl(p))throw H.a(P.a3(p)) +for(r=s,q=1;qs)throw H.a(P.r(r,0,s,"start",null))}}, +gc9:function(){var s=J.z(this.a),r=this.c +if(r==null||r>s)return s +return r}, +gcn:function(){var s=J.z(this.a),r=this.b +if(r>s)return s +return r}, +gl:function(a){var s,r=J.z(this.a),q=this.b +if(q>=r)return 0 +s=this.c +if(s==null||s>=r)return r-q +return s-q}, +C:function(a,b){var s=this,r=s.gcn()+b +if(b<0||r>=s.gc9())throw H.a(P.f0(b,s,"index",null,null)) +return J.bU(s.a,r)}, +Y:function(a,b){var s,r,q=this +P.X(b,"count") +s=q.b+b +r=q.c +if(r!=null&&s>=r)return new H.bb(q.$ti.i("bb<1>")) +return H.aE(q.a,s,r,q.$ti.c)}, +a0:function(a,b){var s,r,q,p=this,o=p.b,n=p.a,m=J.I(n),l=m.gl(n),k=p.c +if(k!=null&&k=o){r.d=null +return!1}r.d=p.C(q,s);++r.c +return!0}} +H.W.prototype={ +gu:function(a){return new H.bo(J.L(this.a),this.b)}, +gl:function(a){return J.z(this.a)}, +gE:function(a){return J.d7(this.a)}, +C:function(a,b){return this.b.$1(J.bU(this.a,b))}} +H.ba.prototype={$ih:1} +H.bo.prototype={ +m:function(){var s=this,r=s.b +if(r.m()){s.a=s.c.$1(r.gq()) +return!0}s.a=null +return!1}, +gq:function(){var s=this.a +return s}} +H.i.prototype={ +gl:function(a){return J.z(this.a)}, +C:function(a,b){return this.b.$1(J.bU(this.a,b))}} +H.M.prototype={ +gu:function(a){return new H.bC(J.L(this.a),this.b)}} +H.bC.prototype={ +m:function(){var s,r +for(s=this.a,r=this.b;s.m();)if(r.$1(s.gq()))return!0 +return!1}, +gq:function(){return this.a.gq()}} +H.bd.prototype={ +gu:function(a){return new H.c6(J.L(this.a),this.b,C.r)}} +H.c6.prototype={ +gq:function(){var s=this.d +return s}, +m:function(){var s,r,q=this,p=q.c +if(p==null)return!1 +for(s=q.a,r=q.b;!p.m();){q.d=null +if(s.m()){q.c=null +p=J.L(r.$1(s.gq())) +q.c=p}else return!1}q.d=q.c.gq() +return!0}} +H.a8.prototype={ +Y:function(a,b){P.d9(b,"count") +P.X(b,"count") +return new H.a8(this.a,this.b+b,H.H(this).i("a8<1>"))}, +gu:function(a){return new H.cA(J.L(this.a),this.b)}} +H.aL.prototype={ +gl:function(a){var s=J.z(this.a)-this.b +if(s>=0)return s +return 0}, +Y:function(a,b){P.d9(b,"count") +P.X(b,"count") +return new H.aL(this.a,this.b+b,this.$ti)}, +$ih:1} +H.cA.prototype={ +m:function(){var s,r +for(s=this.a,r=0;r" +return H.b(this.a)+" with "+s}} +H.cb.prototype={ +$2:function(a,b){return this.a.$1$2(a,b,this.$ti.Q[0])}, +$S:function(){return H.kI(H.fq(this.a),this.$ti)}} +H.dz.prototype={ +gbL:function(){var s=this.a +return s}, +gbN:function(){var s,r,q,p,o=this +if(o.c===1)return C.l +s=o.d +r=s.length-o.e.length-o.f +if(r===0)return C.l +q=[] +for(p=0;p>>0}, +h:function(a){var s=this.c +if(s==null)s=this.a +return"Closure '"+H.b(this.d)+"' of "+("Instance of '"+H.b(H.dM(s))+"'")}} +H.cz.prototype={ +h:function(a){return"RuntimeError: "+this.a}} +H.em.prototype={} +H.a5.prototype={ +gl:function(a){return this.a}, +gE:function(a){return this.a===0}, +gac:function(){return new H.a6(this,H.H(this).i("a6<1>"))}, +gbS:function(){var s=H.H(this) +return H.dG(new H.a6(this,s.i("a6<1>")),new H.dB(this),s.c,s.Q[1])}, +J:function(a){var s,r +if(typeof a=="string"){s=this.b +if(s==null)return!1 +return this.c7(s,a)}else{r=this.cD(a) +return r}}, +cD:function(a){var s=this.d +if(s==null)return!1 +return this.be(this.aV(s,J.aJ(a)&0x3ffffff),a)>=0}, +p:function(a,b){var s,r,q,p,o=this,n=null +if(typeof b=="string"){s=o.b +if(s==null)return n +r=o.az(s,b) +q=r==null?n:r.b +return q}else if(typeof b=="number"&&(b&0x3ffffff)===b){p=o.c +if(p==null)return n +r=o.az(p,b) +q=r==null?n:r.b +return q}else return o.cE(b)}, +cE:function(a){var s,r,q=this.d +if(q==null)return null +s=this.aV(q,J.aJ(a)&0x3ffffff) +r=this.be(s,a) +if(r<0)return null +return s[r].b}, +B:function(a,b,c){var s,r,q,p,o,n,m=this +if(typeof b=="string"){s=m.b +m.bs(s==null?m.b=m.aZ():s,b,c)}else if(typeof b=="number"&&(b&0x3ffffff)===b){r=m.c +m.bs(r==null?m.c=m.aZ():r,b,c)}else{q=m.d +if(q==null)q=m.d=m.aZ() +p=J.aJ(b)&0x3ffffff +o=m.aV(q,p) +if(o==null)m.b1(q,p,[m.b_(b,c)]) +else{n=m.be(o,b) +if(n>=0)o[n].b=c +else o.push(m.b_(b,c))}}}, +S:function(a,b){var s=this,r=s.e,q=s.r +for(;r!=null;){b.$2(r.a,r.b) +if(q!==s.r)throw H.a(P.a3(s)) +r=r.c}}, +bs:function(a,b,c){var s=this.az(a,b) +if(s==null)this.b1(a,b,this.b_(b,c)) +else s.b=c}, +b_:function(a,b){var s=this,r=new H.dC(a,b) +if(s.e==null)s.e=s.f=r +else s.f=s.f.c=r;++s.a +s.r=s.r+1&67108863 +return r}, +be:function(a,b){var s,r +if(a==null)return-1 +s=a.length +for(r=0;rs)throw H.a(P.r(c,0,s,null,null)) +return new H.cR(this,b,c)}, +aB:function(a,b){return this.aC(a,b,0)}, +bt:function(a,b){var s,r=this.gbx() +r.lastIndex=b +s=r.exec(a) +if(s==null)return null +return new H.aW(s)}, +ca:function(a,b){var s,r=this.gcg() +r.lastIndex=b +s=r.exec(a) +if(s==null)return null +if(s.pop()!=null)return null +return new H.aW(s)}, +bK:function(a,b,c){if(c<0||c>b.length)throw H.a(P.r(c,0,b.length,null,null)) +return this.ca(b,c)}} +H.aW.prototype={ +gM:function(){return this.b.index}, +gU:function(){var s=this.b +return s.index+s[0].length}, +p:function(a,b){return this.b[b]}, +$ibp:1, +$idN:1} +H.cR.prototype={ +gu:function(a){return new H.cS(this.a,this.b,this.c)}} +H.cS.prototype={ +gq:function(){return this.d}, +m:function(){var s,r,q,p,o,n=this,m=n.b +if(m==null)return!1 +s=n.c +r=m.length +if(s<=r){q=n.a +p=q.bt(m,s) +if(p!=null){n.d=p +o=p.gU() +if(p.b.index===o){if(q.b.unicode){s=n.c +q=s+1 +if(q=55296&&s<=56319){s=C.a.n(m,q) +s=s>=56320&&s<=57343}else s=!1}else s=!1}else s=!1 +o=(s?o+1:o)+1}n.c=o +return!0}}n.b=n.d=null +return!1}} +H.by.prototype={ +gU:function(){return this.a+this.c.length}, +p:function(a,b){if(b!==0)H.o(P.aR(b,null)) +return this.c}, +$ibp:1, +gM:function(){return this.a}} +H.cY.prototype={ +gu:function(a){return new H.en(this.a,this.b,this.c)}} +H.en.prototype={ +m:function(){var s,r,q=this,p=q.c,o=q.b,n=o.length,m=q.a,l=m.length +if(p+n>l){q.d=null +return!1}s=m.indexOf(o,p) +if(s<0){q.c=l+1 +q.d=null +return!1}r=s+n +q.d=new H.by(s,o) +q.c=r===q.c?r+1:r +return!0}, +gq:function(){var s=this.d +s.toString +return s}} +H.cq.prototype={} +H.aP.prototype={ +gl:function(a){return a.length}, +$iaO:1} +H.bq.prototype={ +B:function(a,b,c){H.es(b,a,a.length) +a[b]=c}, +$ih:1, +$in:1} +H.cp.prototype={ +p:function(a,b){H.es(b,a,a.length) +return a[b]}} +H.cr.prototype={ +p:function(a,b){H.es(b,a,a.length) +return a[b]}} +H.ay.prototype={ +gl:function(a){return a.length}, +p:function(a,b){H.es(b,a,a.length) +return a[b]}, +$iay:1, +$if8:1} +H.bG.prototype={} +H.bH.prototype={} +H.Y.prototype={ +i:function(a){return H.d1(v.typeUniverse,this,a)}, +R:function(a){return H.jS(v.typeUniverse,this,a)}} +H.cV.prototype={} +H.cZ.prototype={ +h:function(a){return H.P(this.a,null)}} +H.cU.prototype={ +h:function(a){return this.a}} +H.bI.prototype={} +P.cG.prototype={} +P.be.prototype={} +P.bk.prototype={$ih:1,$in:1} +P.p.prototype={ +gu:function(a){return new H.aw(a,this.gl(a))}, +C:function(a,b){return this.p(a,b)}, +gE:function(a){return this.gl(a)===0}, +gai:function(a){return!this.gE(a)}, +bg:function(a,b,c){return new H.i(a,b,H.a_(a).i("@").R(c).i("i<1,2>"))}, +Y:function(a,b){return H.aE(a,b,null,H.a_(a).i("p.E"))}, +a0:function(a,b){var s,r,q,p,o=this +if(o.gE(a)){s=J.fQ(0,H.a_(a).i("p.E")) +return s}r=o.p(a,0) +q=P.af(o.gl(a),r,!0,H.a_(a).i("p.E")) +for(p=1;p").R(b).i("a1<1,2>"))}, +cz:function(a,b,c,d){var s +P.a7(b,c,this.gl(a)) +for(s=b;s"))}return new P.cX(this)}, +B:function(a,b,c){var s,r,q=this +if(q.b==null)q.c.B(0,b,c) +else if(q.J(b)){s=q.b +s[b]=c +r=q.a +if(r==null?s!=null:r!==s)r[b]=null}else q.cp().B(0,b,c)}, +J:function(a){if(this.b==null)return this.c.J(a) +if(typeof a!="string")return!1 +return Object.prototype.hasOwnProperty.call(this.a,a)}, +S:function(a,b){var s,r,q,p,o=this +if(o.b==null)return o.c.S(0,b) +s=o.ap() +for(r=0;r=0){g=C.a.n(u.n,f) +if(g===k)continue +k=g}else{if(f===-1){if(o<0){e=p==null?null:p.a.length +if(e==null)e=0 +o=e+(r-q) +n=r}++m +if(k===61)continue}k=g}if(f!==-2){if(p==null){p=new P.y("") +e=p}else e=p +e.a+=C.a.j(a0,q,r) +e.a+=H.F(k) +q=l +continue}}throw H.a(P.l("Invalid base64 data",a0,r))}if(p!=null){e=p.a+=C.a.j(a0,q,a2) +d=e.length +if(o>=0)P.fD(a0,n,a2,o,m,d) +else{c=C.c.aP(d-1,4)+1 +if(c===1)throw H.a(P.l(a,a0,a2)) +for(;c<4;){e+="=" +p.a=e;++c}}e=p.a +return C.a.X(a0,a1,a2,e.charCodeAt(0)==0?e:e)}b=a2-a1 +if(o>=0)P.fD(a0,n,a2,o,m,b) +else{c=C.c.aP(b,4) +if(c===1)throw H.a(P.l(a,a0,a2)) +if(c>1)a0=C.a.X(a0,a2,a2,c===2?"==":"=")}return a0}} +P.c_.prototype={} +P.ac.prototype={} +P.a0.prototype={} +P.c5.prototype={} +P.bi.prototype={ +h:function(a){var s=P.au(this.a) +return(this.b!=null?"Converting object to an encodable object failed:":"Converting object did not return an encodable object:")+" "+s}} +P.cg.prototype={ +h:function(a){return"Cyclic error in JSON stringify"}} +P.cf.prototype={ +bE:function(a,b){var s=P.ko(a,this.gct().a) +return s}, +cw:function(a,b){var s=P.jE(a,this.gb7().b,null) +return s}, +gb7:function(){return C.U}, +gct:function(){return C.T}} +P.ci.prototype={} +P.ch.prototype={} +P.ej.prototype={ +bU:function(a){var s,r,q,p,o,n,m=this,l=a.length +for(s=J.u(a),r=0,q=0;q92){if(p>=55296){o=p&64512 +if(o===55296){n=q+1 +n=!(n=0&&(C.a.n(a,o)&64512)===55296)}else o=!1 +else o=!0 +if(o){if(q>r)m.aO(a,r,q) +r=q+1 +m.H(92) +m.H(117) +m.H(100) +o=p>>>8&15 +m.H(o<10?48+o:87+o) +o=p>>>4&15 +m.H(o<10?48+o:87+o) +o=p&15 +m.H(o<10?48+o:87+o)}}continue}if(p<32){if(q>r)m.aO(a,r,q) +r=q+1 +m.H(92) +switch(p){case 8:m.H(98) +break +case 9:m.H(116) +break +case 10:m.H(110) +break +case 12:m.H(102) +break +case 13:m.H(114) +break +default:m.H(117) +m.H(48) +m.H(48) +o=p>>>4&15 +m.H(o<10?48+o:87+o) +o=p&15 +m.H(o<10?48+o:87+o) +break}}else if(p===34||p===92){if(q>r)m.aO(a,r,q) +r=q+1 +m.H(92) +m.H(p)}}if(r===0)m.N(a) +else if(r>>18|240 +q=o.b=p+1 +r[p]=s>>>12&63|128 +p=o.b=q+1 +r[q]=s>>>6&63|128 +o.b=p+1 +r[p]=s&63|128 +return!0}else{o.b3() +return!1}}, +cb:function(a,b,c){var s,r,q,p,o,n,m,l=this +if(b!==c&&(C.a.n(a,c-1)&64512)===55296)--c +for(s=l.c,r=s.length,q=b;q=r)break +l.b=o+1 +s[o]=p}else{o=p&64512 +if(o===55296){if(l.b+4>r)break +n=q+1 +if(l.cq(p,C.a.k(a,n)))q=n}else if(o===56320){if(l.b+3>r)break +l.b3()}else if(p<=2047){o=l.b +m=o+1 +if(m>=r)break +l.b=m +s[o]=p>>>6|192 +l.b=m+1 +s[m]=p&63|128}else{o=l.b +if(o+2>=r)break +m=l.b=o+1 +s[o]=p>>>12|224 +o=l.b=m+1 +s[m]=p>>>6&63|128 +l.b=o+1 +s[o]=p&63|128}}}return q}} +P.cP.prototype={ +aq:function(a){var s=this.a,r=P.jB(s,a,0,null) +if(r!=null)return r +return new P.eq(s).cr(a,0,null,!0)}} +P.eq.prototype={ +cr:function(a,b,c,d){var s,r,q,p,o,n=this,m=P.a7(b,c,J.z(a)) +if(b===m)return"" +if(t.p.b(a)){s=a +r=0}else{s=P.k1(a,b,m) +m-=b +r=b +b=0}q=n.aS(s,b,m,!0) +p=n.b +if((p&1)!==0){o=P.k2(p) +n.b=0 +throw H.a(P.l(o,a,r+n.c))}return q}, +aS:function(a,b,c,d){var s,r,q=this +if(c-b>1000){s=C.c.bA(b+c,2) +r=q.aS(a,b,s,!1) +if((q.b&1)!==0)return r +return r+q.aS(a,s,c,d)}return q.cs(a,b,c,d)}, +cs:function(a,b,c,d){var s,r,q,p,o,n,m,l=this,k=65533,j=l.b,i=l.c,h=new P.y(""),g=b+1,f=a[b] +$label0$0:for(s=l.a;!0;){for(;!0;g=p){r=C.a.k("AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFFFFFFFFFFFFFFFFGGGGGGGGGGGGGGGGHHHHHHHHHHHHHHHHHHHHHHHHHHHIHHHJEEBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBKCCCCCCCCCCCCDCLONNNMEEEEEEEEEEE",f)&31 +i=j<=32?f&61694>>>r:(f&63|i<<6)>>>0 +j=C.a.k(" \x000:XECCCCCN:lDb \x000:XECCCCCNvlDb \x000:XECCCCCN:lDb AAAAA\x00\x00\x00\x00\x00AAAAA00000AAAAA:::::AAAAAGG000AAAAA00KKKAAAAAG::::AAAAA:IIIIAAAAA000\x800AAAAA\x00\x00\x00\x00 AAAAA",j+r) +if(j===0){h.a+=H.F(i) +if(g===c)break $label0$0 +break}else if((j&1)!==0){if(s)switch(j){case 69:case 67:h.a+=H.F(k) +break +case 65:h.a+=H.F(k);--g +break +default:q=h.a+=H.F(k) +h.a=q+H.F(k) +break}else{l.b=j +l.c=g-1 +return""}j=0}if(g===c)break $label0$0 +p=g+1 +f=a[g]}p=g+1 +f=a[g] +if(f<128){while(!0){if(!(p=128){o=n-1 +p=n +break}p=n}if(o-g<20)for(m=g;m32)if(s)h.a+=H.F(k) +else{l.b=77 +l.c=c +return""}l.b=j +l.c=i +s=h.a +return s.charCodeAt(0)==0?s:s}} +P.dI.prototype={ +$2:function(a,b){var s,r=this.b,q=this.a +r.a+=q.a +s=r.a+=H.b(a.a) +r.a=s+": " +r.a+=P.au(b) +q.a=", "}} +P.j.prototype={} +P.bY.prototype={ +h:function(a){var s=this.a +if(s!=null)return"Assertion failed: "+P.au(s) +return"Assertion failed"}} +P.cI.prototype={} +P.cu.prototype={ +h:function(a){return"Throw of null."}} +P.V.prototype={ +gaU:function(){return"Invalid argument"+(!this.a?"(s)":"")}, +gaT:function(){return""}, +h:function(a){var s,r,q=this,p=q.c,o=p==null?"":" ("+p+")",n=q.d,m=n==null?"":": "+H.b(n),l=q.gaU()+o+m +if(!q.a)return l +s=q.gaT() +r=P.au(q.b) +return l+s+": "+r}} +P.aQ.prototype={ +gaU:function(){return"RangeError"}, +gaT:function(){var s,r=this.e,q=this.f +if(r==null)s=q!=null?": Not less than or equal to "+H.b(q):"" +else if(q==null)s=": Not greater than or equal to "+H.b(r) +else if(q>r)s=": Not in inclusive range "+H.b(r)+".."+H.b(q) +else s=qd.length +else s=!1 +if(s)e=null +if(e==null){if(d.length>78)d=C.a.j(d,0,75)+"..." +return f+"\n"+d}for(r=1,q=0,p=!1,o=0;o1?f+(" (at line "+r+", character "+(e-q+1)+")\n"):f+(" (at character "+(e+1)+")\n") +m=d.length +for(o=e;o78)if(e-q<75){l=q+75 +k=q +j="" +i="..."}else{if(m-e<75){k=m-75 +l=m +i=""}else{k=e-36 +l=e+36 +i="..."}j="..."}else{l=m +k=q +j="" +i=""}h=C.a.j(d,k,l) +return f+j+h+i+"\n"+C.a.bp(" ",e-k+j.length)+"^\n"}else return e!=null?f+(" (at offset "+H.b(e)+")"):f}, +$ibc:1} +P.d.prototype={ +aD:function(a,b){return H.fI(this,H.H(this).i("d.E"),b)}, +bg:function(a,b,c){return H.dG(this,b,H.H(this).i("d.E"),c)}, +cM:function(a,b){return new H.M(this,b,H.H(this).i("M"))}, +a0:function(a,b){return P.bl(this,b,H.H(this).i("d.E"))}, +an:function(a){return this.a0(a,!0)}, +gl:function(a){var s,r=this.gu(this) +for(s=0;r.m();)++s +return s}, +gE:function(a){return!this.gu(this).m()}, +gai:function(a){return!this.gE(this)}, +Y:function(a,b){return H.jp(this,b,H.H(this).i("d.E"))}, +bX:function(a,b){return new H.bv(this,b,H.H(this).i("bv"))}, +gaF:function(a){var s=this.gu(this) +if(!s.m())throw H.a(H.cc()) +return s.gq()}, +gK:function(a){var s,r=this.gu(this) +if(!r.m())throw H.a(H.cc()) +do s=r.gq() +while(r.m()) +return s}, +C:function(a,b){var s,r,q +P.X(b,"index") +for(s=this.gu(this),r=0;s.m();){q=s.gq() +if(b===r)return q;++r}throw H.a(P.f0(b,this,"index",null,r))}, +h:function(a){return P.ja(this,"(",")")}} +P.cd.prototype={} +P.br.prototype={ +gG:function(a){return P.t.prototype.gG.call(C.Q,this)}, +h:function(a){return"null"}} +P.t.prototype={constructor:P.t,$it:1, +L:function(a,b){return this===b}, +gG:function(a){return H.bt(this)}, +h:function(a){return"Instance of '"+H.b(H.dM(this))+"'"}, +aI:function(a,b){throw H.a(P.fW(this,b.gbL(),b.gbN(),b.gbM()))}, +toString:function(){return this.h(this)}} +P.U.prototype={ +h:function(a){return this.a}} +P.y.prototype={ +gl:function(a){return this.a.length}, +h:function(a){var s=this.a +return s.charCodeAt(0)==0?s:s}} +P.ea.prototype={ +$2:function(a,b){throw H.a(P.l("Illegal IPv4 address, "+a,this.a,b))}} +P.eb.prototype={ +$2:function(a,b){throw H.a(P.l("Illegal IPv6 address, "+a,this.a,b))}, +$1:function(a){return this.$2(a,null)}} +P.ec.prototype={ +$2:function(a,b){var s +if(b-a>4)this.a.$2("an IPv6 part can only contain a maximum of 4 hex digits",a) +s=P.Q(C.a.j(this.b,a,b),16) +if(s<0||s>65535)this.a.$2("each part must be in the range of `0x0..0xFFFF`",a) +return s}} +P.am.prototype={ +gb2:function(){var s,r,q,p,o=this +if(!o.y){s=o.a +r=s.length!==0?s+":":"" +q=o.c +p=q==null +if(!p||s==="file"){s=r+"//" +r=o.b +if(r.length!==0)s=s+r+"@" +if(!p)s+=q +r=o.d +if(r!=null)s=s+":"+H.b(r)}else s=r +s+=o.e +r=o.f +if(r!=null)s=s+"?"+r +r=o.r +if(r!=null)s=s+"#"+r +if(o.y)throw H.a(H.f4("_text")) +o.x=s.charCodeAt(0)==0?s:s +o.y=!0}return o.x}, +gae:function(){var s,r,q=this +if(!q.Q){s=q.e +if(s.length!==0&&C.a.k(s,0)===47)s=C.a.w(s,1) +r=s.length===0?C.y:P.J(new H.i(H.c(s.split("/"),t.s),P.ky(),t.r),t.N) +if(q.Q)throw H.a(H.f4("pathSegments")) +q.z=r +q.Q=!0}return q.z}, +gG:function(a){var s,r=this +if(!r.cx){s=J.aJ(r.gb2()) +if(r.cx)throw H.a(H.f4("hashCode")) +r.ch=s +r.cx=!0}return r.ch}, +gay:function(){return this.b}, +gV:function(){var s=this.c +if(s==null)return"" +if(C.a.v(s,"["))return C.a.j(s,1,s.length-1) +return s}, +gal:function(){var s=this.d +return s==null?P.hr(this.a):s}, +ga_:function(){var s=this.f +return s==null?"":s}, +gaf:function(){var s=this.r +return s==null?"":s}, +cf:function(a,b){var s,r,q,p,o,n +for(s=0,r=0;C.a.D(b,"../",r);){r+=3;++s}q=C.a.bI(a,"/") +while(!0){if(!(q>0&&s>0))break +p=C.a.bJ(a,"/",q-1) +if(p<0)break +o=q-p +n=o!==2 +if(!n||o===3)if(C.a.n(a,p+1)===46)n=!n||C.a.n(a,p+2)===46 +else n=!1 +else n=!1 +if(n)break;--s +q=p}return C.a.X(a,q+1,null,C.a.w(b,r-3*s))}, +bm:function(a){return this.aw(P.K(a))}, +aw:function(a){var s,r,q,p,o,n,m,l,k,j=this,i=null +if(a.gI().length!==0){s=a.gI() +if(a.gar()){r=a.gay() +q=a.gV() +p=a.gas()?a.gal():i}else{p=i +q=p +r=""}o=P.aF(a.gO(a)) +n=a.gah()?a.ga_():i}else{s=j.a +if(a.gar()){r=a.gay() +q=a.gV() +p=P.ff(a.gas()?a.gal():i,s) +o=P.aF(a.gO(a)) +n=a.gah()?a.ga_():i}else{r=j.b +q=j.c +p=j.d +if(a.gO(a)===""){o=j.e +n=a.gah()?a.ga_():j.f}else{if(a.gba())o=P.aF(a.gO(a)) +else{m=j.e +if(m.length===0)if(q==null)o=s.length===0?a.gO(a):P.aF(a.gO(a)) +else o=P.aF("/"+a.gO(a)) +else{l=j.cf(m,a.gO(a)) +k=s.length===0 +if(!k||q!=null||C.a.v(m,"/"))o=P.aF(l) +else o=P.fh(l,!k||q!=null)}}n=a.gah()?a.ga_():i}}}return new P.am(s,r,q,p,o,n,a.gbb()?a.gaf():i)}, +gar:function(){return this.c!=null}, +gas:function(){return this.d!=null}, +gah:function(){return this.f!=null}, +gbb:function(){return this.r!=null}, +gba:function(){return C.a.v(this.e,"/")}, +bn:function(){var s,r=this,q=r.a +if(q!==""&&q!=="file")throw H.a(P.q("Cannot extract a file path from a "+q+" URI")) +if(r.ga_()!=="")throw H.a(P.q(u.y)) +if(r.gaf()!=="")throw H.a(P.q(u.l)) +q=$.fz() +if(q)q=P.hD(r) +else{if(r.c!=null&&r.gV()!=="")H.o(P.q(u.j)) +s=r.gae() +P.jV(s,!1) +q=P.ai(C.a.v(r.e,"/")?"/":"",s,"/") +q=q.charCodeAt(0)==0?q:q}return q}, +h:function(a){return this.gb2()}, +L:function(a,b){var s=this +if(b==null)return!1 +if(s===b)return!0 +return t.l.b(b)&&s.a===b.gI()&&s.c!=null===b.gar()&&s.b===b.gay()&&s.gV()===b.gV()&&s.gal()===b.gal()&&s.e===b.gO(b)&&s.f!=null===b.gah()&&s.ga_()===b.ga_()&&s.r!=null===b.gbb()&&s.gaf()===b.gaf()}, +$ibB:1, +gI:function(){return this.a}, +gO:function(a){return this.e}} +P.ep.prototype={ +$1:function(a){return P.fj(C.Y,a,C.e,!1)}} +P.cN.prototype={ +ga8:function(){var s,r,q,p,o=this,n=null,m=o.c +if(m==null){m=o.a +s=o.b[0]+1 +r=C.a.a6(m,"?",s) +q=m.length +if(r>=0){p=P.bN(m,r+1,q,C.h,!1) +q=r}else p=n +m=o.c=new P.cT("data","",n,n,P.bN(m,s,q,C.B,!1),p,n)}return m}, +h:function(a){var s=this.a +return this.b[0]===-1?"data:"+s:s}} +P.eu.prototype={ +$2:function(a,b){var s=this.a[a] +C.Z.cz(s,0,96,b) +return s}} +P.ev.prototype={ +$3:function(a,b,c){var s,r +for(s=b.length,r=0;r>>0]=c}} +P.T.prototype={ +gar:function(){return this.c>0}, +gas:function(){return this.c>0&&this.d+1r?C.a.j(this.a,r,s-1):""}, +gV:function(){var s=this.c +return s>0?C.a.j(this.a,s,this.d):""}, +gal:function(){var s=this +if(s.gas())return P.Q(C.a.j(s.a,s.d+1,s.e),null) +if(s.gaX())return 80 +if(s.gaY())return 443 +return 0}, +gO:function(a){return C.a.j(this.a,this.e,this.f)}, +ga_:function(){var s=this.f,r=this.r +return s=q.length)return s +return new P.T(C.a.j(q,0,r),s.b,s.c,s.d,s.e,s.f,r,s.x)}, +bm:function(a){return this.aw(P.K(a))}, +aw:function(a){if(a instanceof P.T)return this.cm(this,a) +return this.bB().aw(a)}, +cm:function(a,b){var s,r,q,p,o,n,m,l,k,j,i,h,g=b.b +if(g>0)return b +s=b.c +if(s>0){r=a.b +if(r<=0)return b +if(a.gaW())q=b.e!==b.f +else if(a.gaX())q=!b.bv("80") +else q=!a.gaY()||!b.bv("443") +if(q){p=r+1 +return new P.T(C.a.j(a.a,0,p)+C.a.w(b.a,g+1),r,s+p,b.d+p,b.e+p,b.f+p,b.r+p,a.x)}else return this.bB().aw(b)}o=b.e +g=b.f +if(o===g){s=b.r +if(g0){for(;C.a.D(s,"../",o);)o+=3 +p=n-o+1 +return new P.T(C.a.j(a.a,0,n)+"/"+C.a.w(s,o),a.b,a.c,a.d,n,g+p,b.r+p,a.x)}l=a.a +for(k=n;C.a.D(l,"../",k);)k+=3 +j=0 +while(!0){i=o+3 +if(!(i<=g&&C.a.D(s,"../",o)))break;++j +o=i}for(h="";m>k;){--m +if(C.a.n(l,m)===47){if(j===0){h="/" +break}--j +h="/"}}if(m===k&&a.b<=0&&!C.a.D(l,"/",n)){o-=j*3 +h=""}p=m-o+h.length +return new P.T(C.a.j(l,0,m)+h+C.a.w(s,o),a.b,a.c,a.d,n,g+p,b.r+p,a.x)}, +bn:function(){var s,r,q,p=this +if(p.b>=0&&!p.gaW())throw H.a(P.q("Cannot extract a file path from a "+p.gI()+" URI")) +s=p.f +r=p.a +if(s0?s.gV():r,n=s.gas()?s.gal():r,m=s.a,l=s.f,k=C.a.j(m,s.e,l),j=s.r +l=l0&&!s.T(a) +if(s)return a +s=this.b +return this.bG(0,s==null?D.eC():s,a,b,c,d,e,f,g)}, +a3:function(a){return this.bD(a,null,null,null,null,null,null)}, +cu:function(a){var s,r,q=X.az(a,this.a) +q.aM() +s=q.d +r=s.length +if(r===0){s=q.b +return s==null?".":s}if(r===1){s=q.b +return s==null?".":s}C.b.bl(s) +q.e.pop() +q.aM() +return q.h(0)}, +bG:function(a,b,c,d,e,f,g,h,i){var s=H.c([b,c,d,e,f,g,h,i],t.V) +M.hN("join",s) +return this.bH(new H.M(s,new M.dj(),t.J))}, +cF:function(a,b,c){return this.bG(a,b,c,null,null,null,null,null,null)}, +bH:function(a){var s,r,q,p,o,n,m,l,k +for(s=a.gu(a),r=new H.bC(s,new M.di()),q=this.a,p=!1,o=!1,n="";r.m();){m=s.gq() +if(q.T(m)&&o){l=X.az(m,q) +k=n.charCodeAt(0)==0?n:n +n=C.a.j(k,0,q.am(k,!0)) +l.b=n +if(q.av(n))l.e[0]=q.ga9() +n=l.h(0)}else if(q.F(m)>0){o=!q.T(m) +n=H.b(m)}else{if(!(m.length!==0&&q.b6(m[0])))if(p)n+=q.ga9() +n+=m}p=q.av(m)}return n.charCodeAt(0)==0?n:n}, +aQ:function(a,b){var s=X.az(b,this.a),r=s.d,q=H.G(r).i("M<1>") +q=P.bl(new H.M(r,new M.dk(),q),!0,q.i("d.E")) +s.d=q +r=s.b +if(r!=null)C.b.aG(q,0,r) +return s.d}, +bj:function(a){var s +if(!this.ci(a))return a +s=X.az(a,this.a) +s.bi() +return s.h(0)}, +ci:function(a){var s,r,q,p,o,n,m,l,k,j +a.toString +s=this.a +r=s.F(a) +if(r!==0){if(s===$.bS())for(q=0;q0)return o.bj(a) +if(m.F(a)<=0||m.T(a))a=o.a3(a) +if(m.F(a)<=0&&m.F(b)>0)throw H.a(X.fY(n+H.b(a)+'" from "'+H.b(b)+'".')) +s=X.az(b,m) +s.bi() +r=X.az(a,m) +r.bi() +q=s.d +if(q.length!==0&&J.D(q[0],"."))return r.h(0) +q=s.b +p=r.b +if(q!=p)q=q==null||p==null||!m.bk(q,p) +else q=!1 +if(q)return r.h(0) +while(!0){q=s.d +if(q.length!==0){p=r.d +q=p.length!==0&&m.bk(q[0],p[0])}else q=!1 +if(!q)break +C.b.aL(s.d,0) +C.b.aL(s.e,1) +C.b.aL(r.d,0) +C.b.aL(r.e,1)}q=s.d +if(q.length!==0&&J.D(q[0],".."))throw H.a(X.fY(n+H.b(a)+'" from "'+H.b(b)+'".')) +q=t.X +C.b.bd(r.d,0,P.af(s.d.length,"..",!1,q)) +p=r.e +p[0]="" +C.b.bd(p,1,P.af(s.d.length,m.ga9(),!1,q)) +m=r.d +q=m.length +if(q===0)return"." +if(q>1&&J.D(C.b.gK(m),".")){C.b.bl(r.d) +m=r.e +m.pop() +m.pop() +m.push("")}r.b="" +r.aM() +return r.h(0)}, +cJ:function(a){return this.aK(a,null)}, +bw:function(a,b){var s,r,q,p,o,n,m,l,k=this +a=a +b=b +r=k.a +q=r.F(a)>0 +p=r.F(b)>0 +if(q&&!p){b=k.a3(b) +if(r.T(a))a=k.a3(a)}else if(p&&!q){a=k.a3(a) +if(r.T(b))b=k.a3(b)}else if(p&&q){o=r.T(b) +n=r.T(a) +if(o&&!n)b=k.a3(b) +else if(n&&!o)a=k.a3(a)}m=k.ce(a,b) +if(m!==C.f)return m +s=null +try{s=k.aK(b,a)}catch(l){if(H.ap(l) instanceof X.bs)return C.d +else throw l}if(r.F(s)>0)return C.d +if(J.D(s,"."))return C.q +if(J.D(s,".."))return C.d +return J.z(s)>=3&&J.b3(s,"..")&&r.t(J.bT(s,2))?C.d:C.i}, +ce:function(a,b){var s,r,q,p,o,n,m,l,k,j,i,h,g,f,e,d=this +if(a===".")a="" +s=d.a +r=s.F(a) +q=s.F(b) +if(r!==q)return C.d +for(p=J.u(a),o=J.u(b),n=0;nq.aQ(0,s).length?s:r}} +M.dj.prototype={ +$1:function(a){return a!=null}} +M.di.prototype={ +$1:function(a){return a!==""}} +M.dk.prototype={ +$1:function(a){return a.length!==0}} +M.ez.prototype={ +$1:function(a){return a==null?"null":'"'+a+'"'}} +M.aX.prototype={ +h:function(a){return this.a}} +M.aY.prototype={ +h:function(a){return this.a}} +B.dv.prototype={ +bV:function(a){var s=this.F(a) +if(s>0)return J.eX(a,0,s) +return this.T(a)?a[0]:null}, +bO:function(a){var s=M.eZ(this).aQ(0,a) +if(this.t(J.bT(a,a.length-1)))C.b.a4(s,"") +return P.B(null,null,s,null)}, +aE:function(a,b){return a===b}, +bk:function(a,b){return a==b}} +X.dJ.prototype={ +gbc:function(){var s=this.d +if(s.length!==0)s=J.D(C.b.gK(s),"")||!J.D(C.b.gK(this.e),"") +else s=!1 +return s}, +aM:function(){var s,r,q=this +while(!0){s=q.d +if(!(s.length!==0&&J.D(C.b.gK(s),"")))break +C.b.bl(q.d) +q.e.pop()}s=q.e +r=s.length +if(r!==0)s[r-1]=""}, +bi:function(){var s,r,q,p,o,n,m,l,k=this,j=H.c([],t.V) +for(s=k.d,r=s.length,q=0,p=0;p0){r=C.a.a6(a,"\\",r+1) +if(r>0)return r}return q}if(q<3)return 0 +if(!B.hW(s))return 0 +if(C.a.k(a,1)!==58)return 0 +q=C.a.k(a,2) +if(!(q===47||q===92))return 0 +return 3}, +F:function(a){return this.am(a,!1)}, +T:function(a){return this.F(a)===1}, +aJ:function(a){var s,r +if(a.gI()!==""&&a.gI()!=="file")throw H.a(P.w("Uri "+a.h(0)+" must have scheme 'file:'.")) +s=a.gO(a) +if(a.gV()===""){if(s.length>=3&&C.a.v(s,"/")&&B.hX(s,1))s=C.a.bP(s,"/","")}else s="\\\\"+a.gV()+s +r=H.R(s,"/","\\") +return P.fi(r,0,r.length,C.e,!1)}, +b4:function(a){var s,r,q=X.az(a,this),p=q.b +if(J.b3(p,"\\\\")){s=new H.M(H.c(p.split("\\"),t.s),new L.eh(),t.U) +C.b.aG(q.d,0,s.gK(s)) +if(q.gbc())C.b.a4(q.d,"") +return P.B(s.gaF(s),null,q.d,"file")}else{if(q.d.length===0||q.gbc())C.b.a4(q.d,"") +p=q.d +r=q.b +r.toString +r=H.R(r,"/","") +C.b.aG(p,0,H.R(r,"\\","")) +return P.B(null,null,q.d,"file")}}, +aE:function(a,b){var s +if(a===b)return!0 +if(a===47)return b===92 +if(a===92)return b===47 +if((a^b)!==32)return!1 +s=a|32 +return s>=97&&s<=122}, +bk:function(a,b){var s,r,q +if(a==b)return!0 +s=a.length +if(s!==b.length)return!1 +for(r=J.u(b),q=0;q0 +q=f.d +l=0 +k=0 +j=0 +i=0 +h=0 +g=0 +while(!0){if(!(n.c=a0.length)throw H.a(P.dT("Invalid source url id. "+H.b(f.e)+", "+l+", "+j)) +p=n.gad() +if(!(!p.a&&!p.b&&!p.c))throw H.a(f.b0(2,l)) +i+=L.d4(n) +p=n.gad() +if(!(!p.a&&!p.b&&!p.c))throw H.a(f.b0(3,l)) +h+=L.d4(n) +p=n.gad() +if(!(!p.a&&!p.b&&!p.c))m.push(new T.aT(k,j,i,h,d)) +else{g+=L.d4(n) +if(g>=a1.length)throw H.a(P.dT("Invalid name id: "+H.b(f.e)+", "+l+", "+g)) +m.push(new T.aT(k,j,i,h,g))}}if(n.gad().b)++n.c}}if(m.length!==0)q.push(new T.bz(l,m)) +a3.S(0,new T.dO(f))}, +ax:function(){var s,r,q,p,o,n,m,l,k,j,i,h,g,f,e,d,c,b,a,a0,a1,a2,a3,a4,a5=this,a6=new P.y("") +for(s=a5.d,r=s.length,q=0,p=0,o=0,n=0,m=0,l=0,k=!0,j=0;jq){for(g=q;gthis.a}} +T.dP.prototype={ +$1:function(a){return a.gab()>this.a}} +T.bz.prototype={ +h:function(a){return H.bR(this).h(0)+": "+this.a+" "+H.b(this.b)}, +ga7:function(){return this.a}} +T.aT.prototype={ +h:function(a){var s=this +return H.bR(s).h(0)+": ("+s.a+", "+H.b(s.b)+", "+H.b(s.c)+", "+H.b(s.d)+", "+H.b(s.e)+")"}, +gab:function(){return this.a}} +T.el.prototype={ +m:function(){return++this.c=0&&s0}, +gad:function(){if(!this.gcC())return C.a3 +var s=this.a[this.c+1] +if(s===";")return C.a5 +if(s===",")return C.a4 +return C.a2}, +h:function(a){var s,r,q,p,o=this +for(s=o.a,r=0,q="";r=r||s[n]!==10)o=10}if(o===10)q.push(p+1)}}} +V.cD.prototype={ +bF:function(a){var s=this.a +if(!J.D(s,a.gP()))throw H.a(P.w('Source URLs "'+H.b(s)+'" and "'+H.b(a.gP())+"\" don't match.")) +return Math.abs(this.b-a.gak())}, +L:function(a,b){if(b==null)return!1 +return t.u.b(b)&&J.D(this.a,b.gP())&&this.b===b.gak()}, +gG:function(a){return J.aJ(this.a)+this.b}, +h:function(a){var s=this,r="<"+H.bR(s).h(0)+": "+s.b+" ",q=s.a +return r+(H.b(q==null?"unknown source":q)+":"+(s.c+1)+":"+(s.d+1))+">"}, +gP:function(){return this.a}, +gak:function(){return this.b}, +ga7:function(){return this.c}, +gab:function(){return this.d}} +V.cE.prototype={ +br:function(a,b,c){var s,r=this.b,q=this.a +if(!J.D(r.gP(),q.gP()))throw H.a(P.w('Source URLs "'+H.b(q.gP())+'" and "'+H.b(r.gP())+"\" don't match.")) +else if(r.gak()'}, +$idS:1} +U.as.prototype={ +bQ:function(){var s=this.a +return new Y.E(P.J(new H.bd(s,new U.dh(),H.G(s).i("bd<1,v*>")),t.O),new P.U(null))}, +h:function(a){var s=this.a,r=H.G(s) +return new H.i(s,new U.df(new H.i(s,new U.dg(),r.i("i<1,f*>")).b9(0,0,C.j)),r.i("i<1,e*>")).Z(0,u.q)}} +U.db.prototype={ +$1:function(a){return new Y.E(P.J(Y.h9(a),t.O),new P.U(a))}} +U.dc.prototype={ +$1:function(a){return Y.h8(a)}} +U.dh.prototype={ +$1:function(a){return a.gag()}} +U.dg.prototype={ +$1:function(a){var s=a.gag() +return new H.i(s,new U.de(),H.G(s).i("i<1,f*>")).b9(0,0,C.j)}} +U.de.prototype={ +$1:function(a){return a.gaj().length}} +U.df.prototype={ +$1:function(a){var s=a.gag() +return new H.i(s,new U.dd(this.a),H.G(s).i("i<1,e*>")).aH(0)}} +U.dd.prototype={ +$1:function(a){return J.fB(a.gaj(),this.a)+" "+H.b(a.gau())+"\n"}} +A.v.prototype={ +gbf:function(){var s=this.a +if(s.gI()==="data")return"data:..." +return $.eR().cI(s)}, +gaj:function(){var s,r=this,q=r.b +if(q==null)return r.gbf() +s=r.c +if(s==null)return H.b(r.gbf())+" "+H.b(q) +return H.b(r.gbf())+" "+H.b(q)+":"+H.b(s)}, +h:function(a){return H.b(this.gaj())+" in "+H.b(this.d)}, +ga8:function(){return this.a}, +ga7:function(){return this.b}, +gab:function(){return this.c}, +gau:function(){return this.d}} +A.dt.prototype={ +$0:function(){var s,r,q,p,o,n,m,l=null,k=this.a +if(k==="...")return new A.v(P.B(l,l,l,l),l,l,"...") +s=$.iF().a5(k) +if(s==null)return new N.Z(P.B(l,"unparsed",l,l),k) +k=s.b +r=k[1] +q=$.iq() +r.toString +r=H.R(r,q,"") +p=H.R(r,"","") +r=k[2] +o=J.b3(r,"1?P.Q(n[1],l):l +return new A.v(o,m,k>2?P.Q(n[2],l):l,p)}} +A.dr.prototype={ +$0:function(){var s,r,q="",p=this.a,o=$.iB().a5(p) +if(o==null)return new N.Z(P.B(null,"unparsed",null,null),p) +p=new A.ds(p) +s=o.b +r=s[2] +if(r!=null){s=s[1] +s.toString +s=H.R(s,"",q) +s=H.R(s,"Anonymous function",q) +return p.$2(r,H.R(s,"(anonymous function)",q))}else return p.$2(s[3],q)}} +A.ds.prototype={ +$2:function(a,b){var s,r,q,p=null,o=$.iA(),n=o.a5(a) +for(;n!=null;){a=n.b[1] +n=o.a5(a)}if(a==="native")return new A.v(P.K("native"),p,p,b) +s=$.iE().a5(a) +if(s==null)return new N.Z(P.B(p,"unparsed",p,p),this.a) +o=s.b +r=A.f_(o[1]) +q=P.Q(o[2],p) +o=o[3] +return new A.v(r,q,o!=null?P.Q(o,p):p,b)}} +A.dn.prototype={ +$0:function(){var s,r,q,p,o=null,n=this.a,m=$.is().a5(n) +if(m==null)return new N.Z(P.B(o,"unparsed",o,o),n) +n=m.b +s=n[1] +s.toString +r=H.R(s,"/<","") +q=A.f_(n[2]) +p=P.Q(n[3],o) +return new A.v(q,p,o,r.length===0||r==="anonymous"?"":r)}} +A.dp.prototype={ +$0:function(){var s,r,q,p,o,n=null,m=this.a,l=$.iu().a5(m) +if(l==null)return new N.Z(P.B(n,"unparsed",n,n),m) +s=l.b +r=s[3] +if(J.eV(r," line "))return A.j7(m) +q=A.f_(r) +m=s[1] +if(m!=null){r=C.a.aB("/",s[2]) +p=J.eT(m,C.b.aH(P.af(r.gl(r),".",!1,t.X))) +if(p==="")p="" +p=C.a.bP(p,$.iy(),"")}else p="" +m=s[4] +o=m===""?n:P.Q(m,n) +m=s[5] +return new A.v(q,o,m==null||m===""?n:P.Q(m,n),p)}} +A.dq.prototype={ +$0:function(){var s,r,q,p,o=null,n=this.a,m=$.iw().a5(n) +if(m==null)throw H.a(P.l("Couldn't parse package:stack_trace stack trace line '"+H.b(n)+"'.",o,o)) +n=m.b +s=n[1] +r=s==="data:..."?P.hd(""):P.K(s) +if(r.gI()===""){s=$.eR() +r=s.bR(s.bD(s.a.aJ(M.fo(r)),o,o,o,o,o,o))}s=n[2] +q=s==null?o:P.Q(s,o) +s=n[3] +p=s==null?o:P.Q(s,o) +return new A.v(r,q,p,n[4])}} +T.ck.prototype={ +gbC:function(){var s=this.b +return s==null?this.b=this.a.$0():s}, +gag:function(){return this.gbC().gag()}, +h:function(a){return J.aq(this.gbC())}, +$iE:1} +Y.E.prototype={ +cB:function(a){var s,r,q,p={} +p.a=a +s=H.c([],t.B) +for(r=this.a,r=new H.aB(r,H.G(r).i("aB<1>")),r=new H.aw(r,r.gl(r));r.m();){q=r.d +if(q instanceof N.Z||!p.a.$1(q))s.push(q) +else if(s.length===0||!p.a.$1(C.b.gK(s)))s.push(new A.v(q.ga8(),q.ga7(),q.gab(),q.gau()))}return new Y.E(P.J(new H.aB(s,t.W),t.O),new P.U(this.b.a))}, +h:function(a){var s=this.a,r=H.G(s) +return new H.i(s,new Y.e6(new H.i(s,new Y.e7(),r.i("i<1,f*>")).b9(0,0,C.j)),r.i("i<1,e*>")).aH(0)}, +gag:function(){return this.a}} +Y.e4.prototype={ +$0:function(){return Y.f7(this.a.h(0))}} +Y.e5.prototype={ +$1:function(a){return A.fL(a)}} +Y.e2.prototype={ +$1:function(a){return!J.b3(a,$.iD())}} +Y.e3.prototype={ +$1:function(a){return A.fK(a)}} +Y.e0.prototype={ +$1:function(a){return a!=="\tat "}} +Y.e1.prototype={ +$1:function(a){return A.fK(a)}} +Y.dX.prototype={ +$1:function(a){return a.length!==0&&a!=="[native code]"}} +Y.dY.prototype={ +$1:function(a){return A.j8(a)}} +Y.dZ.prototype={ +$1:function(a){return!J.b3(a,"=====")}} +Y.e_.prototype={ +$1:function(a){return A.j9(a)}} +Y.e7.prototype={ +$1:function(a){return a.gaj().length}} +Y.e6.prototype={ +$1:function(a){if(a instanceof N.Z)return a.h(0)+"\n" +return J.fB(a.gaj(),this.a)+" "+H.b(a.gau())+"\n"}} +N.Z.prototype={ +h:function(a){return this.x}, +$iv:1, +ga8:function(){return this.a}, +ga7:function(){return null}, +gab:function(){return null}, +gaj:function(){return"unparsed"}, +gau:function(){return this.x}} +O.eN.prototype={ +$1:function(a){var s,r,q,p,o,n,m,l,k,j,i,h="dart:" +if(a.ga7()==null)return null +s=a.gab() +if(s==null)s=0 +r=a.ga7() +q=a.ga8().h(0) +p=this.a.bY(r-1,s-1,q) +if(p==null)return null +o=J.aq(p.gP()) +for(r=this.b,q=r.length,n=0;n"],interceptorsByTag:null,leafTags:null,arrayRti:typeof Symbol=="function"&&typeof Symbol()=="symbol"?Symbol("$ti"):"$ti"} +H.jR(v.typeUniverse,JSON.parse('{"dl":"ae","cx":"ae","aU":"ae","a4":"ae","m":{"n":["1"],"h":["1"]},"dA":{"m":["1"],"n":["1"],"h":["1"]},"bf":{"f":[]},"ad":{"e":[]},"aj":{"d":["2"]},"ar":{"aj":["1","2"],"d":["2"],"d.E":"2"},"bE":{"ar":["1","2"],"aj":["1","2"],"h":["2"],"d":["2"],"d.E":"2"},"bD":{"p":["2"],"n":["2"],"aj":["1","2"],"h":["2"],"d":["2"]},"a1":{"bD":["1","2"],"p":["2"],"n":["2"],"aj":["1","2"],"h":["2"],"d":["2"],"d.E":"2","p.E":"2"},"bj":{"j":[]},"cy":{"j":[]},"aK":{"p":["f"],"n":["f"],"h":["f"],"p.E":"f"},"h":{"d":["1"]},"A":{"h":["1"],"d":["1"]},"aD":{"A":["1"],"h":["1"],"d":["1"],"d.E":"1","A.E":"1"},"W":{"d":["2"],"d.E":"2"},"ba":{"W":["1","2"],"h":["2"],"d":["2"],"d.E":"2"},"i":{"A":["2"],"h":["2"],"d":["2"],"d.E":"2","A.E":"2"},"M":{"d":["1"],"d.E":"1"},"bd":{"d":["2"],"d.E":"2"},"a8":{"d":["1"],"d.E":"1"},"aL":{"a8":["1"],"h":["1"],"d":["1"],"d.E":"1"},"bv":{"d":["1"],"d.E":"1"},"bb":{"h":["1"],"d":["1"],"d.E":"1"},"av":{"d":["1"],"d.E":"1"},"b9":{"av":["1"],"h":["1"],"d":["1"],"d.E":"1"},"aV":{"p":["1"],"n":["1"],"h":["1"]},"aB":{"A":["1"],"h":["1"],"d":["1"],"d.E":"1","A.E":"1"},"aS":{"cH":[]},"b7":{"S":["1","2"]},"b6":{"S":["1","2"]},"b8":{"S":["1","2"]},"ct":{"j":[]},"ce":{"j":[]},"cK":{"j":[]},"cv":{"bc":[]},"cz":{"j":[]},"a5":{"ax":["1","2"],"S":["1","2"]},"a6":{"h":["1"],"d":["1"],"d.E":"1"},"aW":{"dN":[],"bp":[]},"cR":{"d":["dN"],"d.E":"dN"},"by":{"bp":[]},"cY":{"d":["bp"],"d.E":"bp"},"aP":{"aO":["1"]},"bq":{"p":["f"],"aO":["f"],"n":["f"],"h":["f"]},"cp":{"p":["f"],"aO":["f"],"n":["f"],"h":["f"],"p.E":"f"},"cr":{"p":["f"],"aO":["f"],"n":["f"],"h":["f"],"p.E":"f"},"ay":{"p":["f"],"f8":[],"aO":["f"],"n":["f"],"h":["f"],"p.E":"f"},"cU":{"j":[]},"bI":{"j":[]},"be":{"d":["1"]},"bk":{"p":["1"],"n":["1"],"h":["1"]},"bm":{"ax":["1","2"],"S":["1","2"]},"ax":{"S":["1","2"]},"bn":{"S":["1","2"]},"bA":{"S":["1","2"]},"cW":{"ax":["e","@"],"S":["e","@"]},"cX":{"A":["e"],"h":["e"],"d":["e"],"d.E":"e","A.E":"e"},"bW":{"ac":["e","n"]},"d_":{"a0":["e","n"]},"bX":{"a0":["e","n"]},"bZ":{"ac":["n","e"]},"c_":{"a0":["n","e"]},"c5":{"ac":["e","n"]},"bi":{"j":[]},"cg":{"j":[]},"cf":{"ac":["t?","e"]},"ci":{"a0":["t?","e"]},"ch":{"a0":["e","t?"]},"cO":{"ac":["e","n"]},"cQ":{"a0":["e","n"]},"cP":{"a0":["n","e"]},"n":{"h":["1"]},"dN":{"bp":[]},"bY":{"j":[]},"cI":{"j":[]},"cu":{"j":[]},"V":{"j":[]},"aQ":{"j":[]},"ca":{"j":[]},"cs":{"j":[]},"cM":{"j":[]},"cJ":{"j":[]},"aC":{"j":[]},"c1":{"j":[]},"cw":{"j":[]},"bx":{"j":[]},"c3":{"j":[]},"aM":{"bc":[]},"am":{"bB":[]},"T":{"bB":[]},"cT":{"bB":[]},"bs":{"bc":[]},"co":{"ag":[]},"cn":{"ag":[]},"bu":{"ag":[]},"bw":{"dS":[]},"cE":{"dS":[]},"cF":{"dS":[]},"ck":{"E":[]},"Z":{"v":[]},"cj":{"ag":[]},"f8":{"n":["f"],"h":["f"]}}')) +H.jQ(v.typeUniverse,JSON.parse('{"b4":1,"aw":1,"bo":2,"bC":1,"c6":2,"cA":1,"cB":1,"c4":1,"c8":1,"c7":1,"cL":1,"aV":1,"bO":2,"b6":2,"cl":1,"aP":1,"cG":2,"be":1,"bk":1,"bm":2,"d2":2,"bn":2,"bA":2,"bF":1,"bL":2,"cd":1}')) +var u={q:"===== asynchronous gap ===========================\n",n:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",l:"Cannot extract a file path from a URI with a fragment component",y:"Cannot extract a file path from a URI with a query component",j:"Cannot extract a non-Windows file path from a file URI with an authority",w:"`null` encountered as the result from expression with type `Never`."} +var t=(function rtii(){var s=H.d6 +return{Z:s("b7"),Q:s("h<@>"),Y:s("j"),c:s("l2"),s:s("m"),b:s("m<@>"),t:s("m"),B:s("m"),F:s("m"),d:s("m"),V:s("m"),m:s("m"),L:s("m"),E:s("m"),i:s("m"),T:s("bg"),g:s("a4"),I:s("aO<@>"),M:s("a5"),j:s("n<@>"),f:s("S<@,@>"),a:s("W"),r:s("i"),D:s("i"),n:s("ay"),P:s("br"),K:s("t"),W:s("aB"),N:s("e"),p:s("f8"),o:s("aU"),l:s("bB"),U:s("M"),J:s("M"),y:s("kw"),q:s("kA"),z:s("@"),S:s("f"),v:s("bc*"),O:s("v*"),w:s("n<@>*"),h:s("S<@,@>*"),A:s("0&*"),_:s("t*"),C:s("bu*"),u:s("cD*"),x:s("dS*"),X:s("e*"),G:s("E*"),k:s("bB*"),e:s("f*"),bc:s("fM
?"),R:s("t?"),H:s("fu")}})();(function constants(){var s=hunkHelpers.makeConstList +C.P=J.x.prototype +C.b=J.m.prototype +C.c=J.bf.prototype +C.Q=J.bg.prototype +C.R=J.bh.prototype +C.a=J.ad.prototype +C.S=J.a4.prototype +C.Z=H.ay.prototype +C.D=J.cx.prototype +C.m=J.aU.prototype +C.E=new P.bX(127) +C.j=new H.cb(P.kO(),H.d6("cb")) +C.F=new P.bW() +C.a6=new P.c_() +C.G=new P.bZ() +C.r=new H.c4() +C.t=function getTagFallback(o) { + var s = Object.prototype.toString.call(o); + return s.substring(8, s.length - 1); +} +C.H=function() { + var toStringFunction = Object.prototype.toString; + function getTag(o) { + var s = toStringFunction.call(o); + return s.substring(8, s.length - 1); + } + function getUnknownTag(object, tag) { + if (/^HTML[A-Z].*Element$/.test(tag)) { + var name = toStringFunction.call(object); + if (name == "[object Object]") return null; + return "HTMLElement"; + } + } + function getUnknownTagGenericBrowser(object, tag) { + if (self.HTMLElement && object instanceof HTMLElement) return "HTMLElement"; + return getUnknownTag(object, tag); + } + function prototypeForTag(tag) { + if (typeof window == "undefined") return null; + if (typeof window[tag] == "undefined") return null; + var constructor = window[tag]; + if (typeof constructor != "function") return null; + return constructor.prototype; + } + function discriminator(tag) { return null; } + var isBrowser = typeof navigator == "object"; + return { + getTag: getTag, + getUnknownTag: isBrowser ? getUnknownTagGenericBrowser : getUnknownTag, + prototypeForTag: prototypeForTag, + discriminator: discriminator }; +} +C.M=function(getTagFallback) { + return function(hooks) { + if (typeof navigator != "object") return hooks; + var ua = navigator.userAgent; + if (ua.indexOf("DumpRenderTree") >= 0) return hooks; + if (ua.indexOf("Chrome") >= 0) { + function confirm(p) { + return typeof window == "object" && window[p] && window[p].name == p; + } + if (confirm("Window") && confirm("HTMLElement")) return hooks; + } + hooks.getTag = getTagFallback; + }; +} +C.I=function(hooks) { + if (typeof dartExperimentalFixupGetTag != "function") return hooks; + hooks.getTag = dartExperimentalFixupGetTag(hooks.getTag); +} +C.J=function(hooks) { + var getTag = hooks.getTag; + var prototypeForTag = hooks.prototypeForTag; + function getTagFixed(o) { + var tag = getTag(o); + if (tag == "Document") { + if (!!o.xmlVersion) return "!Document"; + return "!HTMLDocument"; + } + return tag; + } + function prototypeForTagFixed(tag) { + if (tag == "Document") return null; + return prototypeForTag(tag); + } + hooks.getTag = getTagFixed; + hooks.prototypeForTag = prototypeForTagFixed; +} +C.L=function(hooks) { + var userAgent = typeof navigator == "object" ? navigator.userAgent : ""; + if (userAgent.indexOf("Firefox") == -1) return hooks; + var getTag = hooks.getTag; + var quickMap = { + "BeforeUnloadEvent": "Event", + "DataTransfer": "Clipboard", + "GeoGeolocation": "Geolocation", + "Location": "!Location", + "WorkerMessageEvent": "MessageEvent", + "XMLDocument": "!Document"}; + function getTagFirefox(o) { + var tag = getTag(o); + return quickMap[tag] || tag; + } + hooks.getTag = getTagFirefox; +} +C.K=function(hooks) { + var userAgent = typeof navigator == "object" ? navigator.userAgent : ""; + if (userAgent.indexOf("Trident/") == -1) return hooks; + var getTag = hooks.getTag; + var quickMap = { + "BeforeUnloadEvent": "Event", + "DataTransfer": "Clipboard", + "HTMLDDElement": "HTMLElement", + "HTMLDTElement": "HTMLElement", + "HTMLPhraseElement": "HTMLElement", + "Position": "Geoposition" + }; + function getTagIE(o) { + var tag = getTag(o); + var newTag = quickMap[tag]; + if (newTag) return newTag; + if (tag == "Object") { + if (window.DataView && (o instanceof window.DataView)) return "DataView"; + } + return tag; + } + function prototypeForTagIE(tag) { + var constructor = window[tag]; + if (constructor == null) return null; + return constructor.prototype; + } + hooks.getTag = getTagIE; + hooks.prototypeForTag = prototypeForTagIE; +} +C.u=function(hooks) { return hooks; } + +C.k=new P.cf() +C.N=new P.cw() +C.e=new P.cO() +C.O=new P.cQ() +C.v=new H.em() +C.T=new P.ch(null) +C.U=new P.ci(null) +C.w=H.c(s([0,0,32776,33792,1,10240,0,0]),t.i) +C.h=H.c(s([0,0,65490,45055,65535,34815,65534,18431]),t.i) +C.x=H.c(s([0,0,26624,1023,65534,2047,65534,2047]),t.i) +C.l=H.c(s([]),t.b) +C.y=H.c(s([]),t.V) +C.W=H.c(s([0,0,32722,12287,65534,34815,65534,18431]),t.i) +C.z=H.c(s([0,0,24576,1023,65534,34815,65534,18431]),t.i) +C.A=H.c(s([0,0,27858,1023,65534,51199,65535,32767]),t.i) +C.X=H.c(s([0,0,32754,11263,65534,34815,65534,18431]),t.i) +C.Y=H.c(s([0,0,32722,12287,65535,34815,65534,18431]),t.i) +C.B=H.c(s([0,0,65490,12287,65535,34815,65534,18431]),t.i) +C.V=H.c(s([]),H.d6("m")) +C.C=new H.b8(0,{},C.V,H.d6("b8")) +C.a_=new H.aS("call") +C.a0=new P.cP(!1) +C.n=new M.aX("at root") +C.o=new M.aX("below root") +C.a1=new M.aX("reaches root") +C.p=new M.aX("above root") +C.d=new M.aY("different") +C.q=new M.aY("equal") +C.f=new M.aY("inconclusive") +C.i=new M.aY("within") +C.a2=new T.aZ(!1,!1,!1) +C.a3=new T.aZ(!1,!1,!0) +C.a4=new T.aZ(!1,!0,!1) +C.a5=new T.aZ(!0,!1,!1)})();(function staticFields(){$.hh=null +$.a2=0 +$.fG=null +$.fF=null +$.hT=null +$.hP=null +$.i3=null +$.eD=null +$.eK=null +$.fs=null +$.aG=H.c([],H.d6("m")) +$.hF=null +$.ex=null +$.fm=null})();(function lazyInitializers(){var s=hunkHelpers.lazyFinal,r=hunkHelpers.lazyOld +s($,"l_","fw",function(){return H.kE("_$dart_dartClosure")}) +s($,"l9","ia",function(){return H.a9(H.e9({ +toString:function(){return"$receiver$"}}))}) +s($,"la","ib",function(){return H.a9(H.e9({$method$:null, +toString:function(){return"$receiver$"}}))}) +s($,"lb","ic",function(){return H.a9(H.e9(null))}) +s($,"lc","id",function(){return H.a9(function(){var $argumentsExpr$='$arguments$' +try{null.$method$($argumentsExpr$)}catch(q){return q.message}}())}) +s($,"lf","ih",function(){return H.a9(H.e9(void 0))}) +s($,"lg","ii",function(){return H.a9(function(){var $argumentsExpr$='$arguments$' +try{(void 0).$method$($argumentsExpr$)}catch(q){return q.message}}())}) +s($,"le","ig",function(){return H.a9(H.ha(null))}) +s($,"ld","ie",function(){return H.a9(function(){try{null.$method$}catch(q){return q.message}}())}) +s($,"li","ik",function(){return H.a9(H.ha(void 0))}) +s($,"lh","ij",function(){return H.a9(function(){try{(void 0).$method$}catch(q){return q.message}}())}) +s($,"lj","il",function(){return new P.ee().$0()}) +s($,"lk","im",function(){return new P.ef().$0()}) +s($,"ll","io",function(){return new Int8Array(H.hG(H.c([-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-1,-2,-2,-2,-2,-2,62,-2,62,-2,63,52,53,54,55,56,57,58,59,60,61,-2,-2,-2,-1,-2,-2,-2,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,-2,-2,-2,-2,63,-2,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,-2,-2,-2,-2,-2],t.t)))}) +s($,"lm","fz",function(){return typeof process!="undefined"&&Object.prototype.toString.call(process)=="[object process]"&&process.platform=="win32"}) +s($,"ln","ip",function(){return P.k("^[\\-\\.0-9A-Z_a-z~]*$",!1)}) +s($,"lM","iz",function(){return P.k9()}) +r($,"lX","iH",function(){return M.eZ($.bS())}) +r($,"lW","eS",function(){return M.eZ($.b2())}) +r($,"lT","eR",function(){return new M.c2($.eQ(),null)}) +r($,"l6","i9",function(){return new E.dK(P.k("/",!1),P.k("[^/]$",!1),P.k("^/",!1))}) +r($,"l8","bS",function(){return new L.eg(P.k("[/\\\\]",!1),P.k("[^/\\\\]$",!1),P.k("^(\\\\\\\\[^\\\\]+\\\\[^\\\\/]+|[a-zA-Z]:[/\\\\])",!1),P.k("^[/\\\\](?![/\\\\])",!1))}) +r($,"l7","b2",function(){return new F.ed(P.k("/",!1),P.k("(^[a-zA-Z][-+.a-zA-Z\\d]*://|[^/])$",!1),P.k("[a-zA-Z][-+.a-zA-Z\\d]*://[^/]*",!1),P.k("^/",!1))}) +r($,"l5","eQ",function(){return O.jr()}) +r($,"lD","ir",function(){return new L.eA().$0()}) +r($,"l3","fx",function(){return P.i2(2,31)-1}) +r($,"l4","fy",function(){return-P.i2(2,31)}) +r($,"lS","iF",function(){return P.k("^#\\d+\\s+(\\S.*) \\((.+?)((?::\\d+){0,2})\\)$",!1)}) +r($,"lO","iB",function(){return P.k("^\\s*at (?:(\\S.*?)(?: \\[as [^\\]]+\\])? \\((.*)\\)|(.*))$",!1)}) +r($,"lR","iE",function(){return P.k("^(.*?):(\\d+)(?::(\\d+))?$|native$",!1)}) +r($,"lN","iA",function(){return P.k("^eval at (?:\\S.*?) \\((.*)\\)(?:, .*?:\\d+:\\d+)?$",!1)}) +r($,"lE","is",function(){return P.k("(\\S+)@(\\S+) line (\\d+) >.* (Function|eval):\\d+:\\d+",!1)}) +r($,"lG","iu",function(){return P.k("^(?:([^@(/]*)(?:\\(.*\\))?((?:/[^/]*)*)(?:\\(.*\\))?@)?(.*?):(\\d*)(?::(\\d*))?$",!1)}) +r($,"lI","iw",function(){return P.k("^(\\S+)(?: (\\d+)(?::(\\d+))?)?\\s+([^\\d].*)$",!1)}) +r($,"lC","iq",function(){return P.k("<(|[^>]+)_async_body>",!1)}) +r($,"lL","iy",function(){return P.k("^\\.",!1)}) +r($,"l0","i7",function(){return P.k("^[a-zA-Z][-+.a-zA-Z\\d]*://",!1)}) +r($,"l1","i8",function(){return P.k("^([a-zA-Z]:[\\\\/]|\\\\\\\\)",!1)}) +r($,"lP","iC",function(){return P.k("\\n ?at ",!1)}) +r($,"lQ","iD",function(){return P.k(" ?at ",!1)}) +r($,"lF","it",function(){return P.k("@\\S+ line \\d+ >.* (Function|eval):\\d+:\\d+",!1)}) +r($,"lH","iv",function(){return P.k("^(([.0-9A-Za-z_$/<]|\\(.*\\))*@)?[^\\s]*:\\d*$",!0)}) +r($,"lJ","ix",function(){return P.k("^[^\\s<][^\\s]*( \\d+(:\\d+)?)?[ \\t]+[^\\s]+$",!0)}) +r($,"lV","iG",function(){return J.iO(self.$dartLoader.rootDirectories,new D.eB(),t.X).an(0)})})();(function nativeSupport(){!function(){var s=function(a){var m={} +m[a]=1 +return Object.keys(hunkHelpers.convertToFastObject(m))[0]} +v.getIsolateTag=function(a){return s("___dart_"+a+v.isolateTag)} +var r="___dart_isolate_tags_" +var q=Object[r]||(Object[r]=Object.create(null)) +var p="_ZxYxX" +for(var o=0;;o++){var n=s(p+"_"+o+"_") +if(!(n in q)){q[n]=1 +v.isolateTag=n +break}}v.dispatchPropertyName=v.getIsolateTag("dispatch_record")}() +hunkHelpers.setOrUpdateInterceptorsByTag({ArrayBuffer:J.x,ApplicationCacheErrorEvent:J.x,DOMError:J.x,ErrorEvent:J.x,Event:J.x,InputEvent:J.x,SubmitEvent:J.x,MediaError:J.x,NavigatorUserMediaError:J.x,OverconstrainedError:J.x,PositionError:J.x,SensorErrorEvent:J.x,SpeechRecognitionError:J.x,SQLError:J.x,ArrayBufferView:H.cq,Int8Array:H.cp,Uint32Array:H.cr,Uint8Array:H.ay,DOMException:W.dm}) +hunkHelpers.setOrUpdateLeafTags({ArrayBuffer:true,ApplicationCacheErrorEvent:true,DOMError:true,ErrorEvent:true,Event:true,InputEvent:true,SubmitEvent:true,MediaError:true,NavigatorUserMediaError:true,OverconstrainedError:true,PositionError:true,SensorErrorEvent:true,SpeechRecognitionError:true,SQLError:true,ArrayBufferView:false,Int8Array:true,Uint32Array:true,Uint8Array:false,DOMException:true}) +H.aP.$nativeSuperclassTag="ArrayBufferView" +H.bG.$nativeSuperclassTag="ArrayBufferView" +H.bH.$nativeSuperclassTag="ArrayBufferView" +H.bq.$nativeSuperclassTag="ArrayBufferView"})() +Function.prototype.$1=function(a){return this(a)} +Function.prototype.$0=function(){return this()} +Function.prototype.$2=function(a,b){return this(a,b)} +Function.prototype.$3=function(a,b,c){return this(a,b,c)} +Function.prototype.$1$0=function(){return this()} +Function.prototype.$1$1=function(a){return this(a)} +convertAllToFastObject(w) +convertToFastObject($);(function(a){if(typeof document==="undefined"){a(null) +return}if(typeof document.currentScript!='undefined'){a(document.currentScript) +return}var s=document.scripts +function onLoad(b){for(var q=0;q=d||(f.line>=d&&(f=l(d,0)),d=g.line,null==b?this.uncomment(g,f,c)?b="un":(this.lineComment(g,f,c),b="line"):"un"==b?this.uncomment(g,f,c):this.lineComment(g,f,c))}});r.defineExtension("lineComment",function(c,d,a){a||(a=E);var b=this,e=G(b,c),g=b.getLine(c.line);if(null!=g&&!J(b,c,g)){var f=a.lineComment||e.lineComment;if(f){var m=Math.min(0!= +d.ch||d.line==c.line?d.line+1:d.line,b.lastLine()+1),v=null==a.padding?" ":a.padding,k=a.commentBlankLines||c.line==d.line;b.operation(function(){if(a.indent){for(var q=null,h=c.line;hn.length)q=n}for(h=c.line;hm||b.operation(function(){if(0!= +a.fullLines){var k=u.test(b.getLine(m));b.replaceRange(v+f,l(m));b.replaceRange(g+v,l(c.line,0));var q=a.blockCommentLead||e.blockCommentLead;if(null!=q)for(var h=c.line+1;h<=m;++h)(h!=m||k)&&b.replaceRange(q+v,l(h,0))}else k=0==K(b.getCursor("to"),d),q=!b.somethingSelected(),b.replaceRange(f,d),k&&b.setSelection(q?d:b.getCursor("from"),d),b.replaceRange(g,c)})}});r.defineExtension("uncomment",function(c,d,a){a||(a=E);var b=this,e=G(b,c),g=Math.min(0!=d.ch||d.line==c.line?d.line:d.line-1,b.lastLine()), +f=Math.min(c.line,g),m=a.lineComment||e.lineComment,v=[],k=null==a.padding?" ":a.padding,q;a:if(m){for(var h=f;h<=g;++h){var n=b.getLine(h),t=n.indexOf(m);-1x||(A.slice(w,w+k.length)==k&&(w+=k.length),q=!0,b.replaceRange("",l(p,x),l(p,w)))}});if(q)return!0}var y=a.blockCommentStart|| +e.blockCommentStart,z=a.blockCommentEnd||e.blockCommentEnd;if(!y||!z)return!1;var H=a.blockCommentLead||e.blockCommentLead,C=b.getLine(f),D=C.indexOf(y);if(-1==D)return!1;var F=g==f?C:b.getLine(g),B=F.indexOf(z,g==f?D+y.length:0);a=l(f,D+1);e=l(g,B+1);if(-1==B||!/comment/.test(b.getTokenTypeAt(a))||!/comment/.test(b.getTokenTypeAt(e))||-1>>0,$jscomp.propertyToPolyfillSymbol[g]=$jscomp.IS_SYMBOL_NATIVE? +$jscomp.global.Symbol(g):$jscomp.POLYFILL_PREFIX+b+"$"+g),$jscomp.defineProperty(e,$jscomp.propertyToPolyfillSymbol[g],{configurable:!0,writable:!0,value:c})))};$jscomp.polyfill("String.prototype.repeat",function(a){return a?a:function(c){var b=$jscomp.checkStringArgs(this,null,"repeat");if(0>c||1342177279>>=1)b+=b;return e}},"es6","es3"); +(function(a){"object"==typeof exports&&"object"==typeof module?a(require("../../lib/codemirror")):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],a):a(CodeMirror)})(function(a){function c(d){if(d.getOption("disableInput"))return a.Pass;for(var k=d.listSelections(),h,w=[],u=0;u=q.length&&-1<(f=n.lastIndexOf(q,l.ch-q.length))&&f>v)if(b(0,n)>=f)m=n.slice(0,f);else{q=d.options.tabSize;var x;f=a.countColumn(n,f,q);m=d.options.indentWithTabs?r.call("\t",x=Math.floor(f/q))+r.call(" ",f-q*x):r.call(" ",f)}else-1<(f= +n.indexOf(h.blockCommentContinue))&&f<=l.ch&&f<=b(0,n)&&(m=n.slice(0,f));null!=m&&(m+=h.blockCommentContinue)}null==m&&p&&e(d)&&((null==n&&(n=d.getLine(l.line)),f=n.indexOf(p),l.ch||f)?-1=f&&(m=-1=m||null),m&&(m=n.slice(0,f)+p+n.slice(f+p.length).match(/^\s*/)[0])):m="");if(null==m)return a.Pass;w[u]="\n"+m}d.operation(function(){for(var t=k.length-1;0<=t;t--)d.replaceRange(w[t],k[t].from(),k[t].to(),"+insert")})}function b(d, +k){g.lastIndex=d;return(d=g.exec(k))?d.index:-1}function e(d){return(d=d.getOption("continueComments"))&&"object"==typeof d?!1!==d.continueLineComment:!0}var g=/\S/g,r=String.prototype.repeat||function(d){return Array(d+1).join(this)};a.defineOption("continueComments",null,function(d,k,h){h&&h!=a.Init&&d.removeKeyMap("continueComment");k&&(h="Enter","string"==typeof k?h=k:"object"==typeof k&&k.key&&(h=k.key),k={name:"continueComment"},k[h]=c,d.addKeyMap(k))})}); diff --git a/v0.19.4/packages/codemirror/addon/dialog/dialog.css b/v0.19.4/packages/codemirror/addon/dialog/dialog.css new file mode 100644 index 000000000..9f33bead9 --- /dev/null +++ b/v0.19.4/packages/codemirror/addon/dialog/dialog.css @@ -0,0 +1 @@ +.CodeMirror-dialog{position:absolute;left:0;right:0;background:inherit;z-index:15;padding:.1em .8em;overflow:hidden;color:inherit}.CodeMirror-dialog-top{border-bottom:1px solid #eee;top:0}.CodeMirror-dialog-bottom{border-top:1px solid #eee;bottom:0}.CodeMirror-dialog input{border:none;outline:0;background:0 0;width:20em;color:inherit;font-family:monospace}.CodeMirror-dialog button{font-size:70%} \ No newline at end of file diff --git a/v0.19.4/packages/codemirror/addon/dialog/dialog.js b/v0.19.4/packages/codemirror/addon/dialog/dialog.js new file mode 100644 index 000000000..01fb59f84 --- /dev/null +++ b/v0.19.4/packages/codemirror/addon/dialog/dialog.js @@ -0,0 +1,5 @@ +(function(c){"object"==typeof exports&&"object"==typeof module?c(require("../../lib/codemirror")):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],c):c(CodeMirror)})(function(c){function m(b,g,a){b=b.getWrapperElement();var d=b.appendChild(document.createElement("div"));d.className=a?"CodeMirror-dialog CodeMirror-dialog-bottom":"CodeMirror-dialog CodeMirror-dialog-top";"string"==typeof g?d.innerHTML=g:d.appendChild(g);c.addClass(b,"dialog-opened");return d}function n(b,g){b.state.currentNotificationClose&& +b.state.currentNotificationClose();b.state.currentNotificationClose=g}c.defineExtension("openDialog",function(b,g,a){function d(e){if("string"==typeof e)f.value=e;else if(!k&&(k=!0,c.rmClass(h.parentNode,"dialog-opened"),h.parentNode.removeChild(h),l.focus(),a.onClose))a.onClose(h)}a||(a={});n(this,null);var h=m(this,b,a.bottom),k=!1,l=this,f=h.getElementsByTagName("input")[0];if(f){f.focus();a.value&&(f.value=a.value,!1!==a.selectValueOnOpen&&f.select());if(a.onInput)c.on(f,"input",function(e){a.onInput(e, +f.value,d)});if(a.onKeyUp)c.on(f,"keyup",function(e){a.onKeyUp(e,f.value,d)});c.on(f,"keydown",function(e){if(!(a&&a.onKeyDown&&a.onKeyDown(e,f.value,d))){if(27==e.keyCode||!1!==a.closeOnEnter&&13==e.keyCode)f.blur(),c.e_stop(e),d();13==e.keyCode&&g(f.value,e)}});if(!1!==a.closeOnBlur)c.on(h,"focusout",function(e){null!==e.relatedTarget&&d()})}else if(b=h.getElementsByTagName("button")[0]){c.on(b,"click",function(){d();l.focus()});if(!1!==a.closeOnBlur)c.on(b,"blur",d);b.focus()}return d});c.defineExtension("openConfirm", +function(b,g,a){function d(){k||(k=!0,c.rmClass(h.parentNode,"dialog-opened"),h.parentNode.removeChild(h),l.focus())}n(this,null);var h=m(this,b,a&&a.bottom);b=h.getElementsByTagName("button");var k=!1,l=this,f=1;b[0].focus();for(a=0;a=f&&d()},200)});c.on(e,"focus",function(){++f})}});c.defineExtension("openNotification",function(b,g){function a(){h|| +(h=!0,clearTimeout(k),c.rmClass(d.parentNode,"dialog-opened"),d.parentNode.removeChild(d))}n(this,a);var d=m(this,b,g&&g.bottom),h=!1,k;b=g&&"undefined"!==typeof g.duration?g.duration:5E3;c.on(d,"click",function(l){c.e_preventDefault(l);a()});b&&(k=setTimeout(a,b));return a})}); diff --git a/v0.19.4/packages/codemirror/addon/display/autorefresh.js b/v0.19.4/packages/codemirror/addon/display/autorefresh.js new file mode 100644 index 000000000..f2c79a43c --- /dev/null +++ b/v0.19.4/packages/codemirror/addon/display/autorefresh.js @@ -0,0 +1,2 @@ +(function(c){"object"==typeof exports&&"object"==typeof module?c(require("../../lib/codemirror")):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],c):c(CodeMirror)})(function(c){function f(b,a){function d(){b.display.wrapper.offsetHeight?(e(b,a),b.display.lastWrapHeight!=b.display.wrapper.clientHeight&&b.refresh()):a.timeout=setTimeout(d,a.delay)}a.timeout=setTimeout(d,a.delay);a.hurry=function(){clearTimeout(a.timeout);a.timeout=setTimeout(d,50)};c.on(window,"mouseup",a.hurry); +c.on(window,"keyup",a.hurry)}function e(b,a){clearTimeout(a.timeout);c.off(window,"mouseup",a.hurry);c.off(window,"keyup",a.hurry)}c.defineOption("autoRefresh",!1,function(b,a){b.state.autoRefresh&&(e(b,b.state.autoRefresh),b.state.autoRefresh=null);a&&0==b.display.wrapper.offsetHeight&&f(b,b.state.autoRefresh={delay:a.delay||250})})}); diff --git a/v0.19.4/packages/codemirror/addon/display/fullscreen.css b/v0.19.4/packages/codemirror/addon/display/fullscreen.css new file mode 100644 index 000000000..a414b0220 --- /dev/null +++ b/v0.19.4/packages/codemirror/addon/display/fullscreen.css @@ -0,0 +1 @@ +.CodeMirror-fullscreen{position:fixed;top:0;left:0;right:0;bottom:0;height:auto;z-index:9} \ No newline at end of file diff --git a/v0.19.4/packages/codemirror/addon/display/fullscreen.js b/v0.19.4/packages/codemirror/addon/display/fullscreen.js new file mode 100644 index 000000000..45a7ae857 --- /dev/null +++ b/v0.19.4/packages/codemirror/addon/display/fullscreen.js @@ -0,0 +1,2 @@ +(function(c){"object"==typeof exports&&"object"==typeof module?c(require("../../lib/codemirror")):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],c):c(CodeMirror)})(function(c){c.defineOption("fullScreen",!1,function(d,a,b){b==c.Init&&(b=!1);!b!=!a&&(a?(a=d.getWrapperElement(),d.state.fullScreenRestore={scrollTop:window.pageYOffset,scrollLeft:window.pageXOffset,width:a.style.width,height:a.style.height},a.style.width="",a.style.height="auto",a.className+=" CodeMirror-fullscreen", +document.documentElement.style.overflow="hidden"):(a=d.getWrapperElement(),a.className=a.className.replace(/\s*CodeMirror-fullscreen\b/,""),document.documentElement.style.overflow="",b=d.state.fullScreenRestore,a.style.width=b.width,a.style.height=b.height,window.scrollTo(b.scrollLeft,b.scrollTop)),d.refresh())})}); diff --git a/v0.19.4/packages/codemirror/addon/display/panel.js b/v0.19.4/packages/codemirror/addon/display/panel.js new file mode 100644 index 000000000..21fde3dd0 --- /dev/null +++ b/v0.19.4/packages/codemirror/addon/display/panel.js @@ -0,0 +1,5 @@ +(function(h){"object"==typeof exports&&"object"==typeof module?h(require("../../lib/codemirror")):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],h):h(CodeMirror)})(function(h){function g(b,a,e,c){this.cm=b;this.node=a;this.options=e;this.height=c;this.cleared=!1}function p(b){var a=b.getWrapperElement(),e=window.getComputedStyle?window.getComputedStyle(a):a.currentStyle,c=parseInt(e.height),d=b.state.panels={setHeight:a.style.height,panels:[],wrapper:document.createElement("div")}; +e=b.hasFocus();var k=b.getScrollInfo();a.parentNode.insertBefore(d.wrapper,a);d.wrapper.appendChild(a);b.scrollTo(k.left,k.top);e&&b.focus();b._setSize=b.setSize;null!=c&&(b.setSize=function(q,f){f||(f=d.wrapper.offsetHeight);d.setHeight=f;if("number"!=typeof f){var l=/^(\d+\.?\d*)px$/.exec(f);l?f=Number(l[1]):(d.wrapper.style.height=f,f=d.wrapper.offsetHeight)}l=f-d.panels.map(function(m){return m.node.getBoundingClientRect().height}).reduce(function(m,r){return m+r},0);b._setSize(q,l);c=f})}function n(b, +a){for(a=a.nextSibling;a;a=a.nextSibling)if(a==b.getWrapperElement())return!0;return!1}h.defineExtension("addPanel",function(b,a){a=a||{};this.state.panels||p(this);var e=this.state.panels,c=e.wrapper,d=this.getWrapperElement(),k=a.replace instanceof g&&!a.replace.cleared;a.after instanceof g&&!a.after.cleared?c.insertBefore(b,a.before.node.nextSibling):a.before instanceof g&&!a.before.cleared?c.insertBefore(b,a.before.node):k?(c.insertBefore(b,a.replace.node),a.replace.clear(!0)):"bottom"==a.position? +c.appendChild(b):"before-bottom"==a.position?c.insertBefore(b,d.nextSibling):"after-top"==a.position?c.insertBefore(b,d):c.insertBefore(b,c.firstChild);c=a&&a.height||b.offsetHeight;d=new g(this,b,a,c);e.panels.push(d);this.setSize();a.stable&&n(this,b)&&this.scrollTo(null,this.getScrollInfo().top+c);return d});g.prototype.clear=function(b){if(!this.cleared){this.cleared=!0;var a=this.cm.state.panels;a.panels.splice(a.panels.indexOf(this),1);this.cm.setSize();this.options.stable&&n(this.cm,this.node)&& +this.cm.scrollTo(null,this.cm.getScrollInfo().top-this.height);a.wrapper.removeChild(this.node);if(0==a.panels.length&&!b){b=this.cm;a=b.state.panels;b.state.panels=null;var e=b.getWrapperElement(),c=b.hasFocus(),d=b.getScrollInfo();a.wrapper.parentNode.replaceChild(e,a.wrapper);b.scrollTo(d.left,d.top);c&&b.focus();e.style.height=a.setHeight;b.setSize=b._setSize;b.setSize()}}};g.prototype.changed=function(){this.height=this.node.getBoundingClientRect().height;this.cm.setSize()}}); diff --git a/v0.19.4/packages/codemirror/addon/display/placeholder.js b/v0.19.4/packages/codemirror/addon/display/placeholder.js new file mode 100644 index 000000000..4b921cab8 --- /dev/null +++ b/v0.19.4/packages/codemirror/addon/display/placeholder.js @@ -0,0 +1,4 @@ +(function(d){"object"==typeof exports&&"object"==typeof module?d(require("../../lib/codemirror")):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],d):d(CodeMirror)})(function(d){function f(a){a.state.placeholder&&(a.state.placeholder.parentNode.removeChild(a.state.placeholder),a.state.placeholder=null)}function g(a){f(a);var b=a.state.placeholder=document.createElement("pre");b.style.cssText="height: 0; overflow: visible";b.style.direction=a.getOption("direction");b.className= +"CodeMirror-placeholder CodeMirror-line-like";var c=a.getOption("placeholder");"string"==typeof c&&(c=document.createTextNode(c));b.appendChild(c);a.display.lineSpace.insertBefore(b,a.display.lineSpace.firstChild)}function l(a){setTimeout(function(){var b=!1;1==a.lineCount()&&(b=a.getInputField(),b="TEXTAREA"==b.nodeName?!a.getLine(0).length:!/[^\u200b]/.test(b.querySelector(".CodeMirror-line").textContent));b?g(a):f(a)},20)}function h(a){k(a)&&g(a)}function e(a){var b=a.getWrapperElement(),c=k(a); +b.className=b.className.replace(" CodeMirror-empty","")+(c?" CodeMirror-empty":"");c?g(a):f(a)}function k(a){return 1===a.lineCount()&&""===a.getLine(0)}d.defineOption("placeholder","",function(a,b,c){c=c&&c!=d.Init;b&&!c?(a.on("blur",h),a.on("change",e),a.on("swapDoc",e),d.on(a.getInputField(),"compositionupdate",a.state.placeholderCompose=function(){l(a)}),e(a)):!b&&c&&(a.off("blur",h),a.off("change",e),a.off("swapDoc",e),d.off(a.getInputField(),"compositionupdate",a.state.placeholderCompose),f(a), +c=a.getWrapperElement(),c.className=c.className.replace(" CodeMirror-empty",""));b&&!a.hasFocus()&&h(a)})}); diff --git a/v0.19.4/packages/codemirror/addon/display/rulers.js b/v0.19.4/packages/codemirror/addon/display/rulers.js new file mode 100644 index 000000000..d075dca11 --- /dev/null +++ b/v0.19.4/packages/codemirror/addon/display/rulers.js @@ -0,0 +1,3 @@ +(function(d){"object"==typeof exports&&"object"==typeof module?d(require("../../lib/codemirror")):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],d):d(CodeMirror)})(function(d){function f(a){a.state.rulerDiv.textContent="";var e=a.getOption("rulers"),k=a.defaultCharWidth(),l=a.charCoords(d.Pos(a.firstLine(),0),"div").left;a.state.rulerDiv.style.minHeight=a.display.scroller.offsetHeight+30+"px";for(var g=0;g",triples:"",explode:"[]{}"}, +l=e.Pos;e.defineOption("autoCloseBrackets",!1,function(a,b,c){c&&c!=e.Init&&(a.removeKeyMap(x),a.state.closeBrackets=null);b&&(D(u(b,"pairs")),a.state.closeBrackets=b,a.addKeyMap(x))});var x={Backspace:function(a){var b=y(a);if(!b||a.getOption("disableInput"))return e.Pass;var c=u(b,"pairs");b=a.listSelections();for(var d=0;de.ch&&(l=l.slice(0,l.length-a.end+e.ch));var t=l.toLowerCase();if(!l||"string"==a.type&&(a.end!=e.ch||!/["']/.test(a.string.charAt(a.string.length-1))||1==a.string.length)||"tag"==a.type&&k.close||a.string.indexOf("/")==e.ch-a.start-1||r&&-1",newPos:g.Pos(e.line,e.ch+2)}:(a=p&&-1"+(a?"\n\n":"")+"",newPos:a?g.Pos(e.line+1,0):g.Pos(e.line,e.ch+1)})}c="object"==typeof c&&c.dontIndentOnAutoClose;for(h=f.length-1;0<=h;h--)e=d[h],b.replaceRange(e.text,f[h].head,f[h].anchor,"+insert"),l=b.listSelections().slice(0),l[h]={head:e.newPos,anchor:e.newPos},b.setSelections(l),!c&&e.indent&&(b.indentLine(e.newPos.line,null,!0), +b.indentLine(e.newPos.line+1,null,!0))}function v(b,f){var d=b.listSelections(),c=[],h=f?"/":""!=b.getLine(m.line).charAt(n.end)&&(k+=">");c[a]=k}b.replaceSelections(c);d=b.listSelections();if(!e)for(a=0;a'"]=function(c){return w(c)};b.addKeyMap(d)}});var x="area base br col command embed hr img input keygen link meta param source track wbr".split(" "),y="applet blockquote body button div dl fieldset form frameset h1 h2 h3 h4 h5 h6 head html iframe layer legend object ol p select table ul".split(" ");g.commands.closeTag=function(b){return v(b)}}); diff --git a/v0.19.4/packages/codemirror/addon/edit/continuelist.js b/v0.19.4/packages/codemirror/addon/edit/continuelist.js new file mode 100644 index 000000000..b1f97be6d --- /dev/null +++ b/v0.19.4/packages/codemirror/addon/edit/continuelist.js @@ -0,0 +1,3 @@ +(function(f){"object"==typeof exports&&"object"==typeof module?f(require("../../lib/codemirror")):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],f):f(CodeMirror)})(function(f){var n=/^(\s*)(>[> ]*|[*+-] \[[x ]\]\s|[*+-]\s|(\d+)([.)]))(\s*)/,x=/^(\s*)(>[> ]*|[*+-] \[[x ]\]|[*+-]|(\d+)[.)])(\s*)$/,y=/[*+-]\s/;f.commands.newlineAndIndentContinueMarkdownList=function(b){if(b.getOption("disableInput"))return f.Pass;for(var q=b.listSelections(),r=[],h=0;h\s*$/.test(e),d=!/>\s*$/.test(e),(a||d)&&b.replaceRange("",{line:c.line,ch:0},{line:c.line,ch:c.ch+1}),r[h]="\n";else if(d=a[1],e=a[5],a=(g= +!(y.test(a[2])||0<=a[2].indexOf(">")))?parseInt(a[3],10)+1+a[4]:a[2].replace("x"," "),r[h]="\n"+d+a+e,g)a:{a=b;c=c.line;e=d=0;g=n.exec(a.getLine(c));l=g[1];do{d+=1;var t=c+d,u=a.getLine(t),k=n.exec(u);if(k){var p=k[1],v=parseInt(g[3],10)+d-e,m=parseInt(k[3],10),w=m;if(l!==p||isNaN(m)){if(l.length>p.length)break a;if(l.lengthm&&(w=v+1),a.replaceRange(u.replace(n,p+w+k[4]+k[5]),{line:t,ch:0},{line:t,ch:u.length})}}while(k)}}b.replaceSelections(r)}}); diff --git a/v0.19.4/packages/codemirror/addon/edit/matchbrackets.js b/v0.19.4/packages/codemirror/addon/edit/matchbrackets.js new file mode 100644 index 000000000..9412b0d37 --- /dev/null +++ b/v0.19.4/packages/codemirror/addon/edit/matchbrackets.js @@ -0,0 +1,7 @@ +(function(k){"object"==typeof exports&&"object"==typeof module?k(require("../../lib/codemirror")):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],k):k(CodeMirror)})(function(k){function v(a,c,b){var f=a.getLineHandle(c.line),d=c.ch-1,g=b&&b.afterCursor;null==g&&(g=/(^| )cm-fat-cursor($| )/.test(a.getWrapperElement().className));var h=b&&b.bracketRegex||/[(){}[\]]/;f=!g&&0<=d&&h.test(f.text.charAt(d))&&t[f.text.charAt(d)]||h.test(f.text.charAt(d+1))&&t[f.text.charAt(++d)];if(!f)return null; +g=">"==f.charAt(1)?1:-1;if(b&&b.strict&&0g))for(e==c.line&&(l=c.ch-(0>b?1:0));l!=z;l+=b){var q=n.charAt(l);if(d.test(q)&&(void 0===f||(a.getTokenTypeAt(p(e,l+1))||"")==(f||""))){var x=t[q];if(x&&">"==x.charAt(1)==0document.documentMode),p=k.Pos,t={"(":")>",")":"(<","[":"]>","]":"[<","{":"}>","}":"{<", +"<":">>",">":"<<"};k.defineOption("matchBrackets",!1,function(a,c,b){b&&b!=k.Init&&(a.off("cursorActivity",r),a.off("focus",r),a.off("blur",u),u(a));c&&(a.state.matchBrackets="object"==typeof c?c:{},a.on("cursorActivity",r),a.on("focus",r),a.on("blur",u))});k.defineExtension("matchBrackets",function(){y(this,!0)});k.defineExtension("findMatchingBracket",function(a,c,b){if(b||"boolean"==typeof c)b?(b.strict=c,c=b):c=c?{strict:!0}:null;return v(this,a,c)});k.defineExtension("scanForBracket",function(a, +c,b,f){return w(this,a,c,b,f)})}); diff --git a/v0.19.4/packages/codemirror/addon/edit/matchtags.js b/v0.19.4/packages/codemirror/addon/edit/matchtags.js new file mode 100644 index 000000000..c830988e5 --- /dev/null +++ b/v0.19.4/packages/codemirror/addon/edit/matchtags.js @@ -0,0 +1,3 @@ +(function(d){"object"==typeof exports&&"object"==typeof module?d(require("../../lib/codemirror"),require("../fold/xml-fold")):"function"==typeof define&&define.amd?define(["../../lib/codemirror","../fold/xml-fold"],d):d(CodeMirror)})(function(d){function f(a){a.state.tagHit&&a.state.tagHit.clear();a.state.tagOther&&a.state.tagOther.clear();a.state.tagHit=a.state.tagOther=null}function e(a){a.state.failedTagMatch=!1;a.operation(function(){f(a);if(!a.somethingSelected()){var b=a.getCursor(),c=a.getViewport(); +c.from=Math.min(c.from,b.line);c.to=Math.max(b.line+1,c.to);if(b=d.findMatchingTag(a,b,c))a.state.matchBothTags&&(c="open"==b.at?b.open:b.close)&&(a.state.tagHit=a.markText(c.from,c.to,{className:"CodeMirror-matchingtag"})),(b="close"==b.at?b.open:b.close)?a.state.tagOther=a.markText(b.from,b.to,{className:"CodeMirror-matchingtag"}):a.state.failedTagMatch=!0}})}function g(a){a.state.failedTagMatch&&e(a)}d.defineOption("matchTags",!1,function(a,b,c){c&&c!=d.Init&&(a.off("cursorActivity",e),a.off("viewportChange", +g),f(a));b&&(a.state.matchBothTags="object"==typeof b&&b.bothTags,a.on("cursorActivity",e),a.on("viewportChange",g),e(a))});d.commands.toMatchingTag=function(a){var b=d.findMatchingTag(a,a.getCursor());b&&(b="close"==b.at?b.open:b.close)&&a.extendSelection(b.to,b.from)}}); diff --git a/v0.19.4/packages/codemirror/addon/edit/trailingspace.js b/v0.19.4/packages/codemirror/addon/edit/trailingspace.js new file mode 100644 index 000000000..1f6f9cb7f --- /dev/null +++ b/v0.19.4/packages/codemirror/addon/edit/trailingspace.js @@ -0,0 +1 @@ +(function(a){"object"==typeof exports&&"object"==typeof module?a(require("../../lib/codemirror")):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],a):a(CodeMirror)})(function(a){a.defineOption("showTrailingSpace",!1,function(e,f,d){d==a.Init&&(d=!1);d&&!f?e.removeOverlay("trailingspace"):!d&&f&&e.addOverlay({token:function(b){for(var g=b.string.length,c=g;c&&/\s/.test(b.string.charAt(c-1));--c);if(c>b.pos)return b.pos=c,null;b.pos=g;return"trailingspace"},name:"trailingspace"})})}); diff --git a/v0.19.4/packages/codemirror/addon/fold/brace-fold.js b/v0.19.4/packages/codemirror/addon/fold/brace-fold.js new file mode 100644 index 000000000..14fc85a0b --- /dev/null +++ b/v0.19.4/packages/codemirror/addon/fold/brace-fold.js @@ -0,0 +1,5 @@ +(function(a){"object"==typeof exports&&"object"==typeof module?a(require("../../lib/codemirror")):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],a):a(CodeMirror)})(function(a){function y(d){return function(b,f){function p(n){var g=f.ch;for(var u=0;;){var q=0>=g?-1:c.lastIndexOf(n[0],g-1);if(-1==q){if(1==u)break;u=1;g=c.length}else{if(1==u&&qw&&(w=v.length);0>k&&(k=v.length);k=Math.min(w,k);if(k==v.length)break;if(b.getTokenTypeAt(a.Pos(t,k+1))==n.tokenType)if(k==w)++g;else if(!--g){var x=t;var z=k;break a}++k}return null==x||e==x?null:{from:a.Pos(e,q),to:a.Pos(x,z)}}for(var e=f.line,c=b.getLine(e),m=[],l=0;ld.lastLine())return null;var m=d.getTokenAt(a.Pos(c,1));/\S/.test(m.string)||(m=d.getTokenAt(a.Pos(c,m.end+1)));if("keyword"!=m.type||"import"!=m.string)return null;var l=c;for(c=Math.min(d.lastLine(),c+10);l<=c;++l){var r=d.getLine(l).indexOf(";"); +if(-1!=r)return{startCh:m.end,end:a.Pos(l,r)}}}b=b.line;var p=f(b),h;if(!p||f(b-1)||(h=f(b-2))&&h.end.line==b-1)return null;for(h=p.end;;){var e=f(h.line+1);if(null==e)break;h=e.end}return{from:d.clipPos(a.Pos(b,p.startCh+1)),to:h}});a.registerHelper("fold","include",function(d,b){function f(e){if(ed.lastLine())return null;var c=d.getTokenAt(a.Pos(e,1));/\S/.test(c.string)||(c=d.getTokenAt(a.Pos(e,c.end+1)));if("meta"==c.type&&"#include"==c.string.slice(0,8))return c.start+8}b=b.line; +var p=f(b);if(null==p||null!=f(b-1))return null;for(var h=b;null!=f(h+1);)++h;return{from:a.Pos(b,p+1),to:d.clipPos(a.Pos(h))}})}); diff --git a/v0.19.4/packages/codemirror/addon/fold/comment-fold.js b/v0.19.4/packages/codemirror/addon/fold/comment-fold.js new file mode 100644 index 000000000..345dca825 --- /dev/null +++ b/v0.19.4/packages/codemirror/addon/fold/comment-fold.js @@ -0,0 +1,2 @@ +(function(c){"object"==typeof exports&&"object"==typeof module?c(require("../../lib/codemirror")):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],c):c(CodeMirror)})(function(c){c.registerGlobalHelper("fold","comment",function(d){return d.blockCommentStart&&d.blockCommentEnd},function(d,e){var f=d.getModeAt(e),m=f.blockCommentStart;f=f.blockCommentEnd;if(m&&f){for(var g=e.line,h=d.getLine(g),a=e.ch,k=0;;)if(a=0>=a?-1:h.lastIndexOf(m,a-1),-1==a){if(1==k)return;k=1;a=h.length}else{if(1== +k&&an&&(n=l.length);0>b&&(b=l.length);b=Math.min(n,b);if(b==l.length)break;if(b==n)++h;else if(!--h){var p=a;var q=b;break a}++b}if(null!=p&&(g!=p||q!=e))return{from:c.Pos(g,e),to:c.Pos(p,q)}}})}); diff --git a/v0.19.4/packages/codemirror/addon/fold/foldcode.js b/v0.19.4/packages/codemirror/addon/fold/foldcode.js new file mode 100644 index 000000000..7edf92a0f --- /dev/null +++ b/v0.19.4/packages/codemirror/addon/fold/foldcode.js @@ -0,0 +1,5 @@ +(function(d){"object"==typeof exports&&"object"==typeof module?d(require("../../lib/codemirror")):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],d):d(CodeMirror)})(function(d){function p(a,b,c,e){function h(l){var f=q(a,b);if(!f||f.to.line-f.from.linea.firstLine();)b=d.Pos(b.line-1,0),g=h(!1);if(g&&!g.cleared&&"unfold"!==e){var r=v(a,c,g);d.on(r,"mousedown",function(l){t.clear();d.e_preventDefault(l)});var t=a.markText(g.from,g.to,{replacedWith:r,clearOnEnter:k(a,c,"clearOnEnter"),__isFold:!0});t.on("clear",function(l,f){d.signal(a,"unfold",a,l,f)});d.signal(a,"fold",a,g.from,g.to)}}function v(a,b,c){a=k(a,b,"widget");"function"==typeof a&&(a=a(c.from, +c.to));"string"==typeof a?(c=document.createTextNode(a),a=document.createElement("span"),a.appendChild(c),a.className="CodeMirror-foldmarker"):a&&(a=a.cloneNode(!0));return a}function k(a,b,c){return b&&void 0!==b[c]?b[c]:(a=a.options.foldOptions)&&void 0!==a[c]?a[c]:w[c]}d.newFoldFunction=function(a,b){return function(c,e){p(c,e,{rangeFinder:a,widget:b})}};d.defineExtension("foldCode",function(a,b,c){p(this,a,b,c)});d.defineExtension("isFolded",function(a){a=this.findMarksAt(a);for(var b=0;b>>0,$jscomp.propertyToPolyfillSymbol[f]=$jscomp.IS_SYMBOL_NATIVE? +$jscomp.global.Symbol(f):$jscomp.POLYFILL_PREFIX+d+"$"+f),$jscomp.defineProperty(k,$jscomp.propertyToPolyfillSymbol[f],{configurable:!0,writable:!0,value:e})))};$jscomp.polyfill("Array.prototype.find",function(c){return c?c:function(e,d){return $jscomp.findInternal(this,e,d).v}},"es6","es3"); +(function(c){"object"==typeof exports&&"object"==typeof module?c(require("../../lib/codemirror"),require("./foldcode")):"function"==typeof define&&define.amd?define(["../../lib/codemirror","./foldcode"],c):c(CodeMirror)})(function(c){function e(a){this.options=a;this.from=this.to=0}function d(a,b){a=a.findMarks(q(b,0),q(b+1,0));for(var g=0;g=C){if(y&&m&&y.test(m.className))return;r=k(h.indicatorOpen)}}(r||m)&&a.setGutterMarker(z,h.gutter,r)})}function l(a){var b=a.getViewport(),g=a.state.foldGutter;g&&(a.operation(function(){f(a,b.from,b.to)}),g.from=b.from,g.to=b.to)}function n(a,b,g){var h=a.state.foldGutter;h&&(h=h.options,g==h.gutter&&((g=d(a,b))?g.clear():a.foldCode(q(b,0),h)))}function A(a,b){"mode"==b&&p(a)}function p(a){var b=a.state.foldGutter;if(b){var g= +b.options;b.from=b.to=0;clearTimeout(b.changeUpdate);b.changeUpdate=setTimeout(function(){l(a)},g.foldOnChangeTimeSpan||600)}}function B(a){var b=a.state.foldGutter;if(b){var g=b.options;clearTimeout(b.changeUpdate);b.changeUpdate=setTimeout(function(){var h=a.getViewport();b.from==b.to||20b.to&&(f(a,b.to,h.to),b.to=h.to)})},g.updateViewportTimeSpan||400)}}function u(a,b){var g=a.state.foldGutter; +g&&(b=b.line,b>=g.from&&be)){for(var d=null,f=c.line+1,k=b.lastLine();f<=k;++f){var h=g(b,f); +if(-1!=h)if(h>e)d=f;else break}if(d)return{from:a.Pos(c.line,b.getLine(c.line).length),to:a.Pos(d,b.getLine(d).length)}}})}); diff --git a/v0.19.4/packages/codemirror/addon/fold/markdown-fold.js b/v0.19.4/packages/codemirror/addon/fold/markdown-fold.js new file mode 100644 index 000000000..cb229b006 --- /dev/null +++ b/v0.19.4/packages/codemirror/addon/fold/markdown-fold.js @@ -0,0 +1,2 @@ +(function(a){"object"==typeof exports&&"object"==typeof module?a(require("../../lib/codemirror")):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],a):a(CodeMirror)})(function(a){a.registerHelper("fold","markdown",function(b,e){function l(d){return(d=b.getTokenTypeAt(a.Pos(d,0)))&&/\bheader\b/.test(d)}function m(d,f,g){return(f=f&&f.match(/^#+/))&&l(d)?f[0].length:(f=g&&g.match(/^[=\-]+\s*$/))&&l(d+1)?"="==g[0]?1:2:100}var n=b.getLine(e.line),h=b.getLine(e.line+1),p=m(e.line,n, +h);if(100!==p){for(var q=b.lastLine(),c=e.line,k=b.getLine(c+2);c=a.max))return a.ch= +0,a.text=a.cm.getLine(++a.line),!0}function v(a){if(!(a.line<=a.min))return a.text=a.cm.getLine(--a.line),a.ch=a.text.length,!0}function r(a){for(;;){var b=a.text.indexOf(">",a.ch);if(-1==b)if(u(a))continue;else break;if(n(a,b+1)){var d=a.text.lastIndexOf("/",b);d=-1m&&(!b||b==c[2]))return{tag:c[2],from:k(e,g),to:k(a.line,a.ch)}}else d.push(c[2])}}function x(a,b){for(var d= +[];;){var c;a:for(c=a;;){var f=c.ch?c.text.lastIndexOf(">",c.ch-1):-1;if(-1==f)if(v(c))continue;else{c=void 0;break a}if(n(c,f+1)){var e=c.text.lastIndexOf("/",f);e=-1g&&(!b||b==e[2]))return{tag:e[2],from:k(a.line,a.ch),to:k(c,f)}}}}}var k=h.Pos, +p=RegExp("<(/?)([A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD-:.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*)","g");h.registerHelper("fold","xml",function(a,b){for(a=new l(a,b.line,0);;){var d=w(a);if(!d|| +a.line!=b.line)break;var c=r(a);if(!c)break;if(!d[1]&&"selfClose"!=c){b=k(a.line,a.ch);if(d=a=q(a,d[2]))d=a.from,d=0<(d.line-b.line||d.ch-b.ch);return d?{from:b,to:a.from}:null}}});h.findMatchingTag=function(a,b,d){var c=new l(a,b.line,b.ch,d);if(-1!=c.text.indexOf(">")||-1!=c.text.indexOf("<")){var f=r(c),e=f&&k(c.line,c.ch),g=f&&t(c);if(f&&g&&!(0<(c.line-b.line||c.ch-b.ch))){b={from:k(c.line,c.ch),to:e,tag:g[2]};if("selfClose"==f)return{open:b,close:null,at:"open"};if(g[1])return{open:x(c,g[2]), +close:b,at:"close"};c=new l(a,e.line,e.ch,d);return{open:b,close:q(c,g[2]),at:"open"}}}};h.findEnclosingTag=function(a,b,d,c){for(var f=new l(a,b.line,b.ch,d);;){var e=x(f,c);if(!e)break;var g=new l(a,b.line,b.ch,d);if(g=q(g,e.tag))return{open:e,close:g}}};h.scanForClosingTag=function(a,b,d,c){a=new l(a,b.line,b.ch,c?{from:0,to:c}:null);return q(a,d)}}); diff --git a/v0.19.4/packages/codemirror/addon/hint/anyword-hint.js b/v0.19.4/packages/codemirror/addon/hint/anyword-hint.js new file mode 100644 index 000000000..c5f566e95 --- /dev/null +++ b/v0.19.4/packages/codemirror/addon/hint/anyword-hint.js @@ -0,0 +1,2 @@ +(function(b){"object"==typeof exports&&"object"==typeof module?b(require("../../lib/codemirror")):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],b):b(CodeMirror)})(function(b){var p=/[\w$]+/;b.registerHelper("hint","anyword",function(g,a){for(var l=a&&a.word||p,q=a&&a.range||500,c=g.getCursor(),d=g.getLine(c.line),m=c.ch,e=m;e&&l.test(d.charAt(e-1));)--e;d=e!=m&&d.slice(e,m);a=a&&a.list||[];var n={};l=new RegExp(l.source,"g");for(var h=-1;1>=h;h+=2)for(var k=c.line,r=Math.min(Math.max(k+ +h*q,g.firstLine()),g.lastLine())+h;k!=r;k+=h)for(var t=g.getLine(k),f;f=l.exec(t);)k==c.line&&f[0]===d||d&&0!=f[0].lastIndexOf(d,0)||Object.prototype.hasOwnProperty.call(n,f[0])||(n[f[0]]=!0,a.push(f[0]));return{list:a,from:b.Pos(c.line,e),to:b.Pos(c.line,m)}})}); diff --git a/v0.19.4/packages/codemirror/addon/hint/css-hint.js b/v0.19.4/packages/codemirror/addon/hint/css-hint.js new file mode 100644 index 000000000..ac1ebd14e --- /dev/null +++ b/v0.19.4/packages/codemirror/addon/hint/css-hint.js @@ -0,0 +1,4 @@ +(function(b){"object"==typeof exports&&"object"==typeof module?b(require("../../lib/codemirror"),require("../../mode/css/css")):"function"==typeof define&&define.amd?define(["../../lib/codemirror","../../mode/css/css"],b):b(CodeMirror)})(function(b){var n={active:1,after:1,before:1,checked:1,"default":1,disabled:1,empty:1,enabled:1,"first-child":1,"first-letter":1,"first-line":1,"first-of-type":1,focus:1,hover:1,"in-range":1,indeterminate:1,invalid:1,lang:1,"last-child":1,"last-of-type":1,link:1, +not:1,"nth-child":1,"nth-last-child":1,"nth-last-of-type":1,"nth-of-type":1,"only-of-type":1,"only-child":1,optional:1,"out-of-range":1,placeholder:1,"read-only":1,"read-write":1,required:1,root:1,selection:1,target:1,valid:1,visited:1};b.registerHelper("hint","css",function(d){function f(p){for(var m in p)h&&0!=m.lastIndexOf(h,0)||k.push(m)}var e=d.getCursor(),c=d.getTokenAt(e),a=b.innerMode(d.getMode(),c.state);if("css"==a.mode.name){if("keyword"==c.type&&0=="!important".indexOf(c.string))return{list:["!important"], +from:b.Pos(e.line,c.start),to:b.Pos(e.line,c.end)};d=c.start;var l=e.ch,h=c.string.slice(0,l-d);/[^\w$_-]/.test(h)&&(h="",d=l=e.ch);var g=b.resolveMode("text/css"),k=[];a=a.state.state;if("pseudo"==a||"variable-3"==c.type)f(n);else if("block"==a||"maybeprop"==a)f(g.propertyKeywords);else if("prop"==a||"parens"==a||"at"==a||"params"==a)f(g.valueKeywords),f(g.colorKeywords);else if("media"==a||"media_parens"==a)f(g.mediaTypes),f(g.mediaFeatures);if(k.length)return{list:k,from:b.Pos(e.line,d),to:b.Pos(e.line, +l)}}})}); diff --git a/v0.19.4/packages/codemirror/addon/hint/html-hint.js b/v0.19.4/packages/codemirror/addon/hint/html-hint.js new file mode 100644 index 000000000..3d8c7defa --- /dev/null +++ b/v0.19.4/packages/codemirror/addon/hint/html-hint.js @@ -0,0 +1,15 @@ +(function(b){"object"==typeof exports&&"object"==typeof module?b(require("../../lib/codemirror"),require("./xml-hint")):"function"==typeof define&&define.amd?define(["../../lib/codemirror","./xml-hint"],b):b(CodeMirror)})(function(b){function q(h){for(var c in k)k.hasOwnProperty(c)&&(h.attrs[c]=k[c])}var f="ab aa af ak sq am ar an hy as av ae ay az bm ba eu be bn bh bi bs br bg my ca ch ce ny zh cv kw co cr hr cs da dv nl dz en eo et ee fo fj fi fr ff gl ka de el gn gu ht ha he hz hi ho hu ia id ie ga ig ik io is it iu ja jv kl kn kr ks kk km ki rw ky kv kg ko ku kj la lb lg li ln lo lt lu lv gv mk mg ms ml mt mi mr mh mn na nv nb nd ne ng nn no ii nr oc oj cu om or os pa pi fa pl ps pt qu rm rn ro ru sa sc sd se sm sg sr gd sn si sk sl so st es su sw ss sv ta te tg th ti bo tk tl tn to tr ts tt tw ty ug uk ur uz ve vi vo wa cy wo fy xh yi yo za zu".split(" "), +e=["_blank","_self","_top","_parent"],l=["ascii","utf-8","utf-16","latin1","latin1"],m=["get","post","put","delete"],n=["application/x-www-form-urlencoded","multipart/form-data","text/plain"],g="all;screen;print;embossed;braille;handheld;print;projection;screen;tty;tv;speech;3d-glasses;resolution [>][<][=] [X];device-aspect-ratio: X/Y;orientation:portrait;orientation:landscape;device-height: [X];device-width: [X]".split(";"),a={attrs:{}},d={a:{attrs:{href:null,ping:null,type:null,media:g,target:e, +hreflang:f}},abbr:a,acronym:a,address:a,applet:a,area:{attrs:{alt:null,coords:null,href:null,target:null,ping:null,media:g,hreflang:f,type:null,shape:["default","rect","circle","poly"]}},article:a,aside:a,audio:{attrs:{src:null,mediagroup:null,crossorigin:["anonymous","use-credentials"],preload:["none","metadata","auto"],autoplay:["","autoplay"],loop:["","loop"],controls:["","controls"]}},b:a,base:{attrs:{href:null,target:e}},basefont:a,bdi:a,bdo:a,big:a,blockquote:{attrs:{cite:null}},body:a,br:a, +button:{attrs:{form:null,formaction:null,name:null,value:null,autofocus:["","autofocus"],disabled:["","autofocus"],formenctype:n,formmethod:m,formnovalidate:["","novalidate"],formtarget:e,type:["submit","reset","button"]}},canvas:{attrs:{width:null,height:null}},caption:a,center:a,cite:a,code:a,col:{attrs:{span:null}},colgroup:{attrs:{span:null}},command:{attrs:{type:["command","checkbox","radio"],label:null,icon:null,radiogroup:null,command:null,title:null,disabled:["","disabled"],checked:["","checked"]}}, +data:{attrs:{value:null}},datagrid:{attrs:{disabled:["","disabled"],multiple:["","multiple"]}},datalist:{attrs:{data:null}},dd:a,del:{attrs:{cite:null,datetime:null}},details:{attrs:{open:["","open"]}},dfn:a,dir:a,div:a,dialog:{attrs:{open:null}},dl:a,dt:a,em:a,embed:{attrs:{src:null,type:null,width:null,height:null}},eventsource:{attrs:{src:null}},fieldset:{attrs:{disabled:["","disabled"],form:null,name:null}},figcaption:a,figure:a,font:a,footer:a,form:{attrs:{action:null,name:null,"accept-charset":l, +autocomplete:["on","off"],enctype:n,method:m,novalidate:["","novalidate"],target:e}},frame:a,frameset:a,h1:a,h2:a,h3:a,h4:a,h5:a,h6:a,head:{attrs:{},children:"title base link style meta script noscript command".split(" ")},header:a,hgroup:a,hr:a,html:{attrs:{manifest:null},children:["head","body"]},i:a,iframe:{attrs:{src:null,srcdoc:null,name:null,width:null,height:null,sandbox:["allow-top-navigation","allow-same-origin","allow-forms","allow-scripts"],seamless:["","seamless"]}},img:{attrs:{alt:null, +src:null,ismap:null,usemap:null,width:null,height:null,crossorigin:["anonymous","use-credentials"]}},input:{attrs:{alt:null,dirname:null,form:null,formaction:null,height:null,list:null,max:null,maxlength:null,min:null,name:null,pattern:null,placeholder:null,size:null,src:null,step:null,value:null,width:null,accept:["audio/*","video/*","image/*"],autocomplete:["on","off"],autofocus:["","autofocus"],checked:["","checked"],disabled:["","disabled"],formenctype:n,formmethod:m,formnovalidate:["","novalidate"], +formtarget:e,multiple:["","multiple"],readonly:["","readonly"],required:["","required"],type:"hidden text search tel url email password datetime date month week time datetime-local number range color checkbox radio file submit image reset button".split(" ")}},ins:{attrs:{cite:null,datetime:null}},kbd:a,keygen:{attrs:{challenge:null,form:null,name:null,autofocus:["","autofocus"],disabled:["","disabled"],keytype:["RSA"]}},label:{attrs:{"for":null,form:null}},legend:a,li:{attrs:{value:null}},link:{attrs:{href:null, +type:null,hreflang:f,media:g,sizes:["all","16x16","16x16 32x32","16x16 32x32 64x64"]}},map:{attrs:{name:null}},mark:a,menu:{attrs:{label:null,type:["list","context","toolbar"]}},meta:{attrs:{content:null,charset:l,name:"viewport application-name author description generator keywords".split(" "),"http-equiv":["content-language","content-type","default-style","refresh"]}},meter:{attrs:{value:null,min:null,low:null,high:null,max:null,optimum:null}},nav:a,noframes:a,noscript:a,object:{attrs:{data:null, +type:null,name:null,usemap:null,form:null,width:null,height:null,typemustmatch:["","typemustmatch"]}},ol:{attrs:{reversed:["","reversed"],start:null,type:["1","a","A","i","I"]}},optgroup:{attrs:{disabled:["","disabled"],label:null}},option:{attrs:{disabled:["","disabled"],label:null,selected:["","selected"],value:null}},output:{attrs:{"for":null,form:null,name:null}},p:a,param:{attrs:{name:null,value:null}},pre:a,progress:{attrs:{value:null,max:null}},q:{attrs:{cite:null}},rp:a,rt:a,ruby:a,s:a,samp:a, +script:{attrs:{type:["text/javascript"],src:null,async:["","async"],defer:["","defer"],charset:l}},section:a,select:{attrs:{form:null,name:null,size:null,autofocus:["","autofocus"],disabled:["","disabled"],multiple:["","multiple"]}},small:a,source:{attrs:{src:null,type:null,media:null}},span:a,strike:a,strong:a,style:{attrs:{type:["text/css"],media:g,scoped:null}},sub:a,summary:a,sup:a,table:a,tbody:a,td:{attrs:{colspan:null,rowspan:null,headers:null}},textarea:{attrs:{dirname:null,form:null,maxlength:null, +name:null,placeholder:null,rows:null,cols:null,autofocus:["","autofocus"],disabled:["","disabled"],readonly:["","readonly"],required:["","required"],wrap:["soft","hard"]}},tfoot:a,th:{attrs:{colspan:null,rowspan:null,headers:null,scope:["row","col","rowgroup","colgroup"]}},thead:a,time:{attrs:{datetime:null}},title:a,tr:a,track:{attrs:{src:null,label:null,"default":null,kind:["subtitles","captions","descriptions","chapters","metadata"],srclang:f}},tt:a,u:a,ul:a,"var":a,video:{attrs:{src:null,poster:null, +width:null,height:null,crossorigin:["anonymous","use-credentials"],preload:["auto","metadata","none"],autoplay:["","autoplay"],mediagroup:["movie"],muted:["","muted"],controls:["","controls"]}},wbr:a},k={accesskey:"abcdefghijklmnopqrstuvwxyz0123456789".split(""),"class":null,contenteditable:["true","false"],contextmenu:null,dir:["ltr","rtl","auto"],draggable:["true","false","auto"],dropzone:["copy","move","link","string:","file:"],hidden:["hidden"],id:null,inert:["inert"],itemid:null,itemprop:null, +itemref:null,itemscope:["itemscope"],itemtype:null,lang:["en","es"],spellcheck:["true","false"],autocorrect:["true","false"],autocapitalize:["true","false"],style:null,tabindex:"123456789".split(""),title:null,translate:["yes","no"],onclick:null,rel:"stylesheet alternate author bookmark help license next nofollow noreferrer prefetch prev search tag".split(" ")};q(a);for(var p in d)d.hasOwnProperty(p)&&d[p]!=a&&q(d[p]);b.htmlSchema=d;b.registerHelper("hint","html",function(h,c){var r={schemaInfo:d}; +if(c)for(var t in c)r[t]=c[t];return b.hint.xml(h,r)})}); diff --git a/v0.19.4/packages/codemirror/addon/hint/javascript-hint.js b/v0.19.4/packages/codemirror/addon/hint/javascript-hint.js new file mode 100644 index 000000000..de7d37b83 --- /dev/null +++ b/v0.19.4/packages/codemirror/addon/hint/javascript-hint.js @@ -0,0 +1,6 @@ +(function(m){"object"==typeof exports&&"object"==typeof module?m(require("../../lib/codemirror")):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],m):m(CodeMirror)})(function(m){function q(a,b){for(var l=0,e=a.length;lc.ch&&(d.end=c.ch,d.string=d.string.slice(0, +c.ch-d.start)):d={start:c.ch,end:c.ch,string:"",state:d.state,type:"."==d.string?"property":null};for(g=d;"property"==g.type;){g=l(a,r(c.line,g.start));if("."!=g.string)return;g=l(a,r(c.line,g.start));if(!p)var p=[];p.push(g)}return{list:u(d,p,b,e),from:r(c.line,d.start),to:r(c.line,d.end)}}}}function v(a,b){a=a.getTokenAt(b);b.ch==a.start+1&&"."==a.string.charAt(0)?(a.end=a.start,a.string=".",a.type="property"):/^\.[\w$_]*$/.test(a.string)&&(a.type="property",a.start++,a.string=a.string.replace(/\./, +""));return a}function u(a,b,l,e){function c(h){var k;if(k=0==h.lastIndexOf(p,0)){a:if(Array.prototype.indexOf)k=-1!=g.indexOf(h);else{for(k=g.length;k--;)if(g[k]===h){k=!0;break a}k=!1}k=!k}k&&g.push(h)}function d(h){"string"==typeof h?q(w,c):h instanceof Array?q(x,c):h instanceof Function&&q(y,c);if(Object.getOwnPropertyNames&&Object.getPrototypeOf)for(;h;h=Object.getPrototypeOf(h))Object.getOwnPropertyNames(h).forEach(c);else for(var k in h)c(k)}var g=[],p=a.string,n=e&&e.globalScope||window;if(b&& +b.length){a=b.pop();var f;a.type&&0===a.type.indexOf("variable")?(e&&e.additionalContext&&(f=e.additionalContext[a.string]),e&&!1===e.useGlobalScope||(f=f||n[a.string])):"string"==a.type?f="":"atom"==a.type?f=1:"function"==a.type&&(null==n.jQuery||"$"!=a.string&&"jQuery"!=a.string||"function"!=typeof n.jQuery?null!=n._&&"_"==a.string&&"function"==typeof n._&&(f=n._()):f=n.jQuery());for(;null!=f&&b.length;)f=f[b.pop().string];null!=f&&d(f)}else{for(b=a.state.localVars;b;b=b.next)c(b.name);for(f=a.state.context;f;f= +f.prev)for(b=f.vars;b;b=b.next)c(b.name);for(b=a.state.globalVars;b;b=b.next)c(b.name);if(e&&null!=e.additionalContext)for(var z in e.additionalContext)c(z);e&&!1===e.useGlobalScope||d(n);q(l,c)}return g}var r=m.Pos;m.registerHelper("hint","javascript",function(a,b){return t(a,A,function(l,e){return l.getTokenAt(e)},b)});m.registerHelper("hint","coffeescript",function(a,b){return t(a,B,v,b)});var w="charAt charCodeAt indexOf lastIndexOf substring substr slice trim trimLeft trimRight toUpperCase toLowerCase split concat match replace search".split(" "), +x="length concat join splice push pop shift unshift slice reverse sort indexOf lastIndexOf every some filter forEach map reduce reduceRight ".split(" "),y=["prototype","apply","call","bind"],A="break case catch class const continue debugger default delete do else export extends false finally for function if in import instanceof new null return super switch this throw true try typeof var void while with yield".split(" "),B="and break catch class continue delete do else extends false finally for if in instanceof isnt new no not null of off on or return switch then throw true try typeof until void while with yes".split(" ")}); diff --git a/v0.19.4/packages/codemirror/addon/hint/show-hint.css b/v0.19.4/packages/codemirror/addon/hint/show-hint.css new file mode 100644 index 000000000..b5e651c39 --- /dev/null +++ b/v0.19.4/packages/codemirror/addon/hint/show-hint.css @@ -0,0 +1 @@ +.CodeMirror-hints{position:absolute;z-index:10;overflow:hidden;list-style:none;margin:0;padding:2px;-webkit-box-shadow:2px 3px 5px rgba(0,0,0,.2);-moz-box-shadow:2px 3px 5px rgba(0,0,0,.2);box-shadow:2px 3px 5px rgba(0,0,0,.2);border-radius:3px;border:1px solid silver;background:#fff;font-size:90%;font-family:monospace;max-height:20em;overflow-y:auto;box-sizing:border-box}.CodeMirror-hint{margin:0;padding:0 4px;border-radius:2px;white-space:pre;color:#000;cursor:pointer}li.CodeMirror-hint-active{background:#08f;color:#fff} \ No newline at end of file diff --git a/v0.19.4/packages/codemirror/addon/hint/show-hint.js b/v0.19.4/packages/codemirror/addon/hint/show-hint.js new file mode 100644 index 000000000..a1ee055a0 --- /dev/null +++ b/v0.19.4/packages/codemirror/addon/hint/show-hint.js @@ -0,0 +1,21 @@ +(function(h){"object"==typeof exports&&"object"==typeof module?h(require("../../lib/codemirror")):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],h):h(CodeMirror)})(function(h){function B(a,b){this.cm=a;this.options=b;this.widget=null;this.tick=this.debounce=0;this.startPos=this.cm.getCursor("start");this.startLen=this.cm.getLine(this.startPos.line).length-this.cm.getSelection().length;if(this.options.updateOnCursorActivity){var c=this;a.on("cursorActivity",this.activityFunc= +function(){c.cursorActivity()})}}function K(a,b){function c(r,g){var m="string"!=typeof g?function(k){return g(k,b)}:d.hasOwnProperty(g)?d[g]:g;p[r]=m}var d={Up:function(){b.moveFocus(-1)},Down:function(){b.moveFocus(1)},PageUp:function(){b.moveFocus(-b.menuSize()+1,!0)},PageDown:function(){b.moveFocus(b.menuSize()-1,!0)},Home:function(){b.setFocus(0)},End:function(){b.setFocus(b.length-1)},Enter:b.pick,Tab:b.pick,Esc:b.close};/Mac/.test(navigator.platform)&&(d["Ctrl-P"]=function(){b.moveFocus(-1)}, +d["Ctrl-N"]=function(){b.moveFocus(1)});var e=a.options.customKeys,p=e?{}:d;if(e)for(var f in e)e.hasOwnProperty(f)&&c(f,e[f]);if(a=a.options.extraKeys)for(f in a)a.hasOwnProperty(f)&&c(f,a[f]);return p}function C(a,b){for(;b&&b!=a;){if("LI"===b.nodeName.toUpperCase()&&b.parentNode==a)return b;b=b.parentNode}}function D(a,b){this.id="cm-complete-"+Math.floor(Math.random(1E6));this.completion=a;this.data=b;this.picked=!1;var c=this,d=a.cm,e=d.getInputField().ownerDocument,p=e.defaultView||e.parentWindow, +f=this.hints=e.createElement("ul");f.setAttribute("role","listbox");f.setAttribute("aria-expanded","true");f.id=this.id;f.className="CodeMirror-hints "+a.cm.options.theme;this.selectedHint=b.selectedHint||0;for(var r=b.list,g=0;g +f.clientHeight+1:!1,u;setTimeout(function(){u=d.getScrollInfo()});if(0z&&(f.style.height=(y=z)+"px"),f.style.top=(x=g.top-y)+q+"px",E=!1):f.style.height=t-n.top-2+"px"}q=n.right-k;F&&(q+=d.display.nativeBarWidth);0k&&(f.style.width=k-5+"px",q-=n.right-n.left-k),f.style.left=(w=Math.max(g.left-q-m,0))+"px");if(F)for(g=f.firstChild;g;g=g.nextSibling)g.style.paddingRight=d.display.nativeBarWidth+"px";d.addKeyMap(this.keyMap= +K(a,{moveFocus:function(l,v){c.changeActive(c.selectedHint+l,v)},setFocus:function(l){c.changeActive(l)},menuSize:function(){return c.screenAmount()},length:r.length,close:function(){a.close()},pick:function(){c.pick()},data:b}));if(a.options.closeOnUnfocus){var G;d.on("blur",this.onBlur=function(){G=setTimeout(function(){a.close()},100)});d.on("focus",this.onFocus=function(){clearTimeout(G)})}d.on("scroll",this.onScroll=function(){var l=d.getScrollInfo(),v=d.getWrapperElement().getBoundingClientRect(); +u||(u=d.getScrollInfo());var H=x+u.top-l.top,A=H-(p.pageYOffset||(e.documentElement||e.body).scrollTop);E||(A+=f.offsetHeight);if(A<=v.top||A>=v.bottom)return a.close();f.style.top=H+"px";f.style.left=w+u.left-l.left+"px"});h.on(f,"dblclick",function(l){(l=C(f,l.target||l.srcElement))&&null!=l.hintId&&(c.changeActive(l.hintId),c.pick())});h.on(f,"click",function(l){(l=C(f,l.target||l.srcElement))&&null!=l.hintId&&(c.changeActive(l.hintId),a.options.completeOnSingleClick&&c.pick())});h.on(f,"mousedown", +function(){setTimeout(function(){d.focus()},20)});g=this.getSelectedHintRange();0===g.from&&0===g.to||this.scrollToActive();h.signal(b,"select",r[this.selectedHint],f.childNodes[this.selectedHint]);return!0}function L(a,b){if(!a.somethingSelected())return b;a=[];for(var c=0;c=this.data.list.length?a=b?this.data.list.length-1:0:0>a&&(a=b?0:this.data.list.length-1);if(this.selectedHint!=a){if(b=this.hints.childNodes[this.selectedHint])b.className=b.className.replace(" CodeMirror-hint-active",""),b.removeAttribute("aria-selected");b=this.hints.childNodes[this.selectedHint=a];b.className+=" CodeMirror-hint-active";b.setAttribute("aria-selected","true");this.completion.cm.getInputField().setAttribute("aria-activedescendant", +b.id);this.scrollToActive();h.signal(this.data,"select",this.data.list[this.selectedHint],b)}},scrollToActive:function(){var a=this.getSelectedHintRange(),b=this.hints.childNodes[a.from];a=this.hints.childNodes[a.to];var c=this.hints.firstChild;b.offsetTopthis.hints.scrollTop+this.hints.clientHeight&&(this.hints.scrollTop=a.offsetTop+a.offsetHeight-this.hints.clientHeight+c.offsetTop)},screenAmount:function(){return Math.floor(this.hints.clientHeight/ +this.hints.firstChild.offsetHeight)||1},getSelectedHintRange:function(){var a=this.completion.options.scrollMargin||0;return{from:Math.max(0,this.selectedHint-a),to:Math.min(this.data.list.length-1,this.selectedHint+a)}}};h.registerHelper("hint","auto",{resolve:function(a,b){var c=a.getHelpers(b,"hint"),d;return c.length?(a=function(e,p,f){function r(m){if(m==g.length)return p(null);I(g[m],e,f,function(k){k&&0,]/,closeOnPick:!0,closeOnUnfocus:!0,updateOnCursorActivity:!0,completeOnSingleClick:!0,container:null,customKeys:null,extraKeys:null,paddingForScrollbar:!0,moveOnOverlap:!0};h.defineOption("hintOptions",null)}); diff --git a/v0.19.4/packages/codemirror/addon/hint/sql-hint.js b/v0.19.4/packages/codemirror/addon/hint/sql-hint.js new file mode 100644 index 000000000..83063cb3e --- /dev/null +++ b/v0.19.4/packages/codemirror/addon/hint/sql-hint.js @@ -0,0 +1,8 @@ +(function(q){"object"==typeof exports&&"object"==typeof module?q(require("../../lib/codemirror"),require("../../mode/sql/sql")):"function"==typeof define&&define.amd?define(["../../lib/codemirror","../../mode/sql/sql"],q):q(CodeMirror)})(function(q){function x(b){return"[object Array]"==Object.prototype.toString.call(b)}function B(b,a){return b.getModeAt(b.getCursor()).config[a]||q.resolveMode("text/x-sql")[a]}function w(b){return"string"==typeof b?b:b.text}function C(b,a){x(a)&&(a={columns:a});a.text|| +(a.text=b);return a}function I(b){var a={};if(x(b))for(var c=b.length-1;0<=c;c--){var d=b[c];a[w(d).toUpperCase()]=C(w(d),d)}else if(b)for(c in b)a[c.toUpperCase()]=C(c,b[c]);return a}function D(b){var a={},c;for(c in b)b.hasOwnProperty(c)&&(a[c]=b[c]);return a}function E(b,a){var c=b.length;a=w(a).substr(0,c);return b.toUpperCase()===a.toUpperCase()}function v(b,a,c,d){if(x(c))for(var e=0;e=G(g,b[a])){n=d;k=b[a];break}d=b[a]}if(n)for(c= +c.getRange(n,k,!1),a=0;ac.ch&&(e.end=c.ch,e.string=e.string.slice(0,c.ch-e.start));if(e.string.match(/^[.`"'\w@][\w$#]*$/g)){var f=e.string;var m=e.start;var n=e.end}else m=n=c.ch,f="";if("."==f.charAt(0)||f.charAt(0)==l)m=K(c,e,d,b);else{var k=function(g,u){"object"===typeof g?g.className=u:g={text:g,className:u};return g};v(d,f,p,function(g){return k(g,"CodeMirror-hint-table CodeMirror-hint-default-table")});v(d,f,t,function(g){return k(g,"CodeMirror-hint-table")});a||v(d,f,H,function(g){return k(g.toUpperCase(), +"CodeMirror-hint-keyword")})}return{list:d,from:r(c.line,m),to:r(c.line,n)}})}); diff --git a/v0.19.4/packages/codemirror/addon/hint/xml-hint.js b/v0.19.4/packages/codemirror/addon/hint/xml-hint.js new file mode 100644 index 000000000..1f80def7c --- /dev/null +++ b/v0.19.4/packages/codemirror/addon/hint/xml-hint.js @@ -0,0 +1,5 @@ +(function(n){"object"==typeof exports&&"object"==typeof module?n(require("../../lib/codemirror")):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],n):n(CodeMirror)})(function(n){function q(d,b,v){return v?0<=d.indexOf(b):0==d.lastIndexOf(b,0)}var w=n.Pos;n.registerHelper("hint","xml",function(d,b){function v(){return{list:p,from:r?w(k.line,null==z?a.start:z):k,to:r?w(k.line,a.end):k}}var c=b&&b.schemaInfo,t=b&&b.quoteChar||'"',u=b&&b.matchInMiddle;if(c){var k=d.getCursor(),a= +d.getTokenAt(k);a.end>k.ch&&(a.end=k.ch,a.string=a.string.slice(0,k.ch-a.start));b=n.innerMode(d.getMode(),a.state);if(b.mode.xmlCurrentTag){var p=[],r=!1,m=/\btag\b/.test(a.type)&&!/>$/.test(a.string),C=m&&/^\w/.test(a.string),z;if(C){var e=d.getLine(k.line).slice(Math.max(0,a.start-2),a.start);(e=/<\/$/.test(e)?"close":/<$/.test(e)?"open":null)&&(z=a.start-("close"==e?2:1))}else m&&"<"==a.string?e="open":m&&"")}else{f=(m=A&&c[A.name])&&m.attrs;c=c["!attrs"];if(!f&&!c)return;if(!f)f=c;else if(c){e={};for(var l in c)c.hasOwnProperty(l)&& +(e[l]=c[l]);for(l in f)f.hasOwnProperty(l)&&(e[l]=f[l]);f=e}if("string"==a.type||"="==a.string){e=d.getRange(w(k.line,Math.max(0,k.ch-60)),w(k.line,"string"==a.type?a.start:a.end));c=e.match(/([^\s\u00a0=<>"']+)=$/);if(!c||!f.hasOwnProperty(c[1])||!(g=f[c[1]]))return;"function"==typeof g&&(g=g.call(this,d));"string"==a.type&&(h=a.string,c=0,/['"]/.test(a.string.charAt(0))&&(t=a.string.charAt(0),h=a.string.slice(1),c++),l=a.string.length,/['"]/.test(a.string.charAt(l-1))&&(t=a.string.charAt(l-1),h= +a.string.substr(c,l-2)),c&&(d=d.getLine(k.line),d.length>a.end&&d.charAt(a.end)==t&&a.end++),r=!0);d=function(x){if(x)for(var y=0;y>>0,$jscomp.propertyToPolyfillSymbol[d]=$jscomp.IS_SYMBOL_NATIVE? +$jscomp.global.Symbol(d):$jscomp.POLYFILL_PREFIX+b+"$"+d),$jscomp.defineProperty(e,$jscomp.propertyToPolyfillSymbol[d],{configurable:!0,writable:!0,value:c})))};$jscomp.polyfill("String.prototype.startsWith",function(a){return a?a:function(c,b){var e=$jscomp.checkStringArgs(this,c,"startsWith");c+="";var d=e.length,f=c.length;b=Math.max(0,Math.min(b|0,e.length));for(var g=0;g=f}},"es6","es3"); +(function(a){"object"==typeof exports&&"object"==typeof module?a(require("../../lib/codemirror")):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],a):a(CodeMirror)})(function(a){a.registerHelper("lint","javascript",function(c,b){if(!window.JSHINT)return window.console&&window.console.error("Error: window.JSHINT not defined, CodeMirror JavaScript linting cannot run."),[];b.indent||(b.indent=1);JSHINT(c,b,b.globals);c=JSHINT.data().errors;b=[];if(c)for(var e=0;e=d.line)window.console&&window.console.warn("Cannot display JSHint error (invalid line "+d.line+")",d);else{var f=d.character-1,g=f+1;if(d.evidence){var h=d.evidence.substring(f).search(/.\b/);-1>>0,$jscomp.propertyToPolyfillSymbol[w]=$jscomp.IS_SYMBOL_NATIVE? +$jscomp.global.Symbol(w):$jscomp.POLYFILL_PREFIX+q+"$"+w),$jscomp.defineProperty(y,$jscomp.propertyToPolyfillSymbol[w],{configurable:!0,writable:!0,value:r})))};$jscomp.polyfill("Array.prototype.find",function(l){return l?l:function(r,q){return $jscomp.findInternal(this,r,q).v}},"es6","es3"); +(function(l){"object"==typeof exports&&"object"==typeof module?l(require("../../lib/codemirror")):"function"==typeof define&&define.amd?define(["../../lib/codemirror","diff_match_patch"],l):l(CodeMirror)})(function(l){function r(a,b){this.mv=a;this.type=b;this.classes="left"==b?{chunk:"CodeMirror-merge-l-chunk",start:"CodeMirror-merge-l-chunk-start",end:"CodeMirror-merge-l-chunk-end",insert:"CodeMirror-merge-l-inserted",del:"CodeMirror-merge-l-deleted",connect:"CodeMirror-merge-l-connect"}:{chunk:"CodeMirror-merge-r-chunk", +start:"CodeMirror-merge-r-chunk-start",end:"CodeMirror-merge-r-chunk-end",insert:"CodeMirror-merge-r-inserted",del:"CodeMirror-merge-r-deleted",connect:"CodeMirror-merge-r-connect"}}function q(a){a.diffOutOfDate&&(a.diff=ba(a.orig.getValue(),a.edit.getValue(),a.mv.options.ignoreWhitespace),a.chunks=ca(a.diff),a.diffOutOfDate=!1,l.signal(a.edit,"updateDiff",a.diff))}function y(a){function b(n){M=!0;m=!1;"full"==n&&(a.svg&&N(a.svg),a.copyButtons&&N(a.copyButtons),S(a.edit,g.marked,a.classes),S(a.orig, +h.marked,a.classes),g.from=g.to=h.from=h.to=0);q(a);a.showDifferences&&(da(a.edit,a.diff,g,DIFF_INSERT,a.classes),da(a.orig,a.diff,h,DIFF_DELETE,a.classes));"align"==a.mv.options.connect&&T(a);I(a);null!=a.needsScrollSync&&E(a,a.needsScrollSync);M=!1}function c(n){M||(a.dealigned=!0,d(n))}function d(n){M||m||(clearTimeout(k),!0===n&&(m=!0),k=setTimeout(b,!0===n?20:250))}function e(n,p){a.diffOutOfDate||(a.diffOutOfDate=!0,g.from=g.to=h.from=h.to=0);c(p.text.length-1!=p.to.line-p.from.line)}function f(){a.diffOutOfDate= +!0;a.dealigned=!0;b("full")}var g={from:0,to:0,marked:[]},h={from:0,to:0,marked:[]},k,m=!1;a.edit.on("change",e);a.orig.on("change",e);a.edit.on("swapDoc",f);a.orig.on("swapDoc",f);"align"==a.mv.options.connect&&(l.on(a.edit.state.trackAlignable,"realign",c),l.on(a.orig.state.trackAlignable,"realign",c));a.edit.on("viewportChange",function(){d(!1)});a.orig.on("viewportChange",function(){d(!1)});b();return b}function w(a,b){a.edit.on("scroll",function(){E(a,!0)&&I(a)});a.orig.on("scroll",function(){E(a, +!1)&&I(a);b&&E(b,!0)&&I(b)})}function E(a,b){if(a.diffOutOfDate)return a.lockScroll&&null==a.needsScrollSync&&(a.needsScrollSync=b),!1;a.needsScrollSync=null;if(!a.lockScroll)return!0;var c=+new Date;if(b){var d=a.edit;var e=a.orig}else d=a.orig,e=a.edit;if(d.state.scrollSetBy==a&&(d.state.scrollSetAt||0)+250>c)return!1;var f=d.getScrollInfo();if("align"==a.mv.options.connect)v=f.top;else{var g=.5*f.clientHeight;v=f.top+g;var h=d.lineAtHeight(v,"local");for(var k=a.chunks,m,n,p,z=0;zh?(n=t.editFrom,p=t.origFrom):x>h&&(n=t.editTo,p=t.origTo));if(x<=h){m=t.editTo;var u=t.origTo}else A<=h&&(m=t.editFrom,u=t.origFrom)}h={before:m,after:n};u={before:u,after:p};d=K(d,b?h:u);b=K(e,b?u:h);var v=b.top-g+(v-d.top)/(d.bot-d.top)*(b.bot-b.top),B;v>f.top&&1>(B=f.top/g)?v=v*B+f.top*(1-B):(b=f.height-f.clientHeight-f.top)b&&1>(B=b/g)&&(v=v*B+(d.height-d.clientHeight-b)*(1-B)))}e.scrollTo(f.left, +v);e.state.scrollSetAt=c;e.state.scrollSetBy=a;return!0}function K(a,b){var c=b.after;null==c&&(c=a.lastLine()+1);return{top:a.heightAtLine(b.before||0,"local"),bot:a.heightAtLine(c,"local")}}function U(a,b,c){(a.lockScroll=b)&&0!=c&&E(a,DIFF_INSERT)&&I(a);(b?l.addClass:l.rmClass)(a.lockButton,"CodeMirror-merge-scrolllock-enabled")}function S(a,b,c){for(var d=0;dc.to&&(V(a,b,d,c.marked,c.to,f.to,e),c.to=f.to))})}function W(a,b,c,d,e,f){var g=c.classLocation;b=a.getLineHandle(b);for(var h=0;hu&&(t&&(h(z, +u),t=!1),z=x)):(t=!0,u==c&&(u=O(k,x,!0),k=0<(m.line-k.line||m.ch-k.ch)?m:k,x=0>(n.line-u.line||n.ch-u.ch)?n:u,k.line==x.line&&k.ch==x.ch||d.push(a.markText(k,x,{className:p})),k=u))}t&&h(z,k.line+1)}function I(a){if(a.showDifferences){if(a.svg){N(a.svg);var b=a.gap.offsetWidth;ha(a.svg,"width",b,"height",a.gap.offsetHeight)}a.copyButtons&&N(a.copyButtons);var c=a.edit.getViewport(),d=a.orig.getViewport(),e=a.mv.wrap.getBoundingClientRect().top,f=e-a.edit.getScrollerElement().getBoundingClientRect().top+ +a.edit.getScrollInfo().top;e=e-a.orig.getScrollerElement().getBoundingClientRect().top+a.orig.getScrollInfo().top;for(var g=0;g=c.from&&h.origFrom<=d.to&&h.origTo>=d.from){var k=a,m=e,n=f,p=b,z="left"==k.type,t=k.orig.heightAtLine(h.origFrom,"local",!0)-m;if(k.svg){var A=t,x=k.edit.heightAtLine(h.editFrom,"local",!0)-n;if(z){var u=A;A=x;x=u}m=k.orig.heightAtLine(h.origTo,"local",!0)-m;var v=k.edit.heightAtLine(h.editTo,"local", +!0)-n;z&&(u=m,m=v,v=u);z=" C "+p/2+" "+x+" "+p/2+" "+A+" "+(p+2)+" "+A;A=" C "+p/2+" "+m+" "+p/2+" "+v+" -1 "+v;ha(k.svg.appendChild(document.createElementNS("http://www.w3.org/2000/svg","path")),"d","M -1 "+x+z+" L "+(p+2)+" "+m+A+" z","class",k.classes.connect)}k.copyButtons&&(p=k.copyButtons.appendChild(G("div","left"==k.type?"\u21dd":"\u21dc","CodeMirror-merge-copy")),x=k.mv.options.allowEditingOriginals,p.title=k.edit.phrase(x?"Push to left":"Revert chunk"),p.chunk=h,p.style.top=(h.origTo>h.origFrom? +t:k.edit.heightAtLine(h.editFrom,"local")-n)+"px",p.setAttribute("role","button"),p.setAttribute("tabindex","0"),p.setAttribute("aria-label",p.title),x&&(n=k.edit.heightAtLine(h.editFrom,"local")-n,t=k.copyButtons.appendChild(G("div","right"==k.type?"\u21dd":"\u21dc","CodeMirror-merge-copy-reverse")),t.title="Push to right",t.chunk={editFrom:h.origFrom,editTo:h.origTo,origFrom:h.editFrom,origTo:h.editTo},t.style.top=n+"px","right"==k.type?t.style.left="2px":t.style.right="2px",t.setAttribute("role", +"button"),t.setAttribute("tabindex","0"),t.setAttribute("aria-label",t.title)))}}}}function ia(a,b){for(var c=0,d=0,e=0;ea&&f.editFrom<=a)return null;if(f.editFrom>a)break;c=f.editTo;d=f.origTo}return d+(a-c)}function X(a,b,c){var d=a.state.trackAlignable;a=a.firstLine();for(var e=0,f=[],g=0;;g++){for(var h=b[g],k=h?c?h.origFrom:h.editFrom:1E9;em){f++;e--;continue a}if(p.editTo>n){if(p.editFrom<=n)continue a;break}h+=p.origTo-p.origFrom-(p.editTo-p.editFrom);g++}n==m-h?(k[d]=m,f++):nm.lastLine()&&(n--,p=!1);var z=document.createElement("div");z.className="CodeMirror-merge-spacer";z.style.height=k+"px";z.style.minWidth="1px";m=m.addLineWidget(n,z,{height:k,above:p,mergeSpacer:!0,handleMouseEvents:!0});h.call(b,m)}}}function la(a,b,c,d){if(!a.diffOutOfDate){var e=d.origTo>c.lastLine()?C(d.origFrom-1):C(d.origFrom,0),f=C(d.origTo,0),g=d.editTo>b.lastLine()?C(d.editFrom-1):C(d.editFrom,0);d=C(d.editTo,0);var h=a.mv.options.revertChunk;h?h(a.mv,c,e,f,b,g,d): +b.replaceRange(c.getRange(e,f),g,d)}}function ma(a){var b=a.lockButton=G("div",null,"CodeMirror-merge-scrolllock");b.setAttribute("role","button");b.setAttribute("tabindex","0");var c=G("div",[b],"CodeMirror-merge-scrolllock-wrap");l.on(b,"click",function(){U(a,!a.lockScroll)});l.on(b,"keyup",function(e){"Enter"!==e.key&&"Space"!==e.code||U(a,!a.lockScroll)});b=[c];if(!1!==a.mv.options.revertButtons){a.copyButtons=G("div",null,"CodeMirror-merge-copybuttons-"+a.type);var d=function(e){e=e.target|| +e.srcElement;e.chunk&&("CodeMirror-merge-copy-reverse"==e.className?la(a,a.orig,a.edit,e.chunk):la(a,a.edit,a.orig,e.chunk))};l.on(a.copyButtons,"click",d);l.on(a.copyButtons,"keyup",function(e){"Enter"!==e.key&&"Space"!==e.code||d(e)});b.unshift(a.copyButtons)}"align"!=a.mv.options.connect&&((c=document.createElementNS&&document.createElementNS("http://www.w3.org/2000/svg","svg"))&&!c.createSVGRect&&(c=null),(a.svg=c)&&b.push(c));return a.gap=G("div",b,"CodeMirror-merge-gap")}function na(a){return"string"== +typeof a?a:a.getValue()}function ba(a,b,c){Y||(Y=new diff_match_patch);a=Y.diff_main(a,b);for(b=0;bk&&(g&&b.push({origFrom:d, +origTo:m,editFrom:c,editTo:k}),c=h,d=n)}else O(k==DIFF_INSERT?e:f,h[1])}(c<=e.line||d<=f.line)&&b.push({origFrom:d,origTo:f.line+1,editFrom:c,editTo:e.line+1});return b}function fa(a,b){if(b==a.length-1)return!0;var c=a[b+1][1];if(1==c.length&&bb)a:{g=g.chunks;for(var k=g.length-1;0<= +k;k--){var m=g[k];m=(h?m.origTo:m.editTo)-1;if(me){h=m;break a}h=void 0}null!=h&&(null==c||(0>b?h>c:hu){var L=[{line:F,cm:B}];n.left&& +L.push({line:ia(F,n.left.chunks),cm:n.left.orig});n.right&&L.push({line:ia(F,n.right.chunks),cm:n.right.orig});L=ta(R,L);if(n.options.onCollapse)n.options.onCollapse(n,F,R,L)}}});"align"==b.connect&&(this.aligners=[],T(this.left||this.right,!0));k&&k.registerEvents(m);m&&m.registerEvents(k);var A=function(){k&&I(k);m&&I(m)};l.on(window,"resize",A);var x=setInterval(function(){for(var u=t.parentNode;u&&u!=document.body;u=u.parentNode);u||(clearInterval(x),l.off(window,"resize",A))},5E3)};Q.prototype= +{constructor:Q,editor:function(){return this.edit},rightOriginal:function(){return this.right&&this.right.orig},leftOriginal:function(){return this.left&&this.left.orig},setShowDifferences:function(a){this.right&&this.right.setShowDifferences(a);this.left&&this.left.setShowDifferences(a)},rightChunks:function(){if(this.right)return q(this.right),this.right.chunks},leftChunks:function(){if(this.left)return q(this.left),this.left.chunks}};var Y,pa=1,J=2,P=4;aa.prototype={signal:function(){l.signal(this, +"realign");this.height=this.cm.doc.height},set:function(a,b){for(var c=-1;ca.start&&(c.startingInner=!1);g==a.pos&&b.parseDelimiters&&(c.innerActive=c.inner=null);b.innerStyle&&(d=d?d+" "+b.innerStyle:b.innerStyle);return d}d=Infinity;for(var f=a.string,l=0;ld?0:c.indent[d]}}m.defineSimpleMode=function(b,e){m.defineMode(b, +function(c){return m.simpleMode(c,e)})};m.simpleMode=function(b,e){u(e,"start");var c={},a=e.meta||{},d=!1,h;for(h in e)if(h!=a&&e.hasOwnProperty(h))for(var k=c[h]=[],f=e[h],n=0;nh||h>=b)return e+(b-d);e+=h-d;e+=c-e%c;d=h+1}}function A(){}function u(a){if("string"==typeof a&&m.hasOwnProperty(a))a=m[a];else if(a&&"string"==typeof a.name&&m.hasOwnProperty(a.name)){var b=m[a.name];"string"==typeof b&&(b={name:b});var c=b;Object.create? +c=Object.create(c):(A.prototype=c,c=new A);a&&z(a,c);a=c;a.name=b.name}else{if("string"==typeof a&&/^[\w\-]+\/[\w\-]+\+xml$/.test(a))return u("application/xml");if("string"==typeof a&&/^[\w\-]+\/[\w\-]+\+json$/.test(a))return u("application/json")}return"string"==typeof a?{name:a}:a||{name:"null"}}function B(a,b){b=u(b);var c=x[b.name];if(!c)return B(a,"text/plain");a=c(a,b);if(n.hasOwnProperty(b.name)){c=n[b.name];for(var d in c)c.hasOwnProperty(d)&&(a.hasOwnProperty(d)&&(a["_"+d]=a[d]),a[d]=c[d])}a.name= +b.name;b.helperType&&(a.helperType=b.helperType);if(b.modeProps)for(var e in b.modeProps)a[e]=b.modeProps[e];return a}var f=function(a,b,c){this.pos=this.start=0;this.string=a;this.tabSize=b||8;this.lineStart=this.lastColumnPos=this.lastColumnValue=0;this.lineOracle=c};f.prototype.eol=function(){return this.pos>=this.string.length};f.prototype.sol=function(){return this.pos==this.lineStart};f.prototype.peek=function(){return this.string.charAt(this.pos)||void 0};f.prototype.next=function(){if(this.pos< +this.string.length)return this.string.charAt(this.pos++)};f.prototype.eat=function(a){var b=this.string.charAt(this.pos);if("string"==typeof a?b==a:b&&(a.test?a.test(b):a(b)))return++this.pos,b};f.prototype.eatWhile=function(a){for(var b=this.pos;this.eat(a););return this.pos>b};f.prototype.eatSpace=function(){for(var a=this.pos;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++this.pos;return this.pos>a};f.prototype.skipToEnd=function(){this.pos=this.string.length};f.prototype.skipTo=function(a){a= +this.string.indexOf(a,this.pos);if(-1document.documentMode),v=d,r=0;v.textContent="";d=function(g,E){if("\n"==g)v.appendChild(document.createTextNode(G?"\r":g)),r=0;else{for(var t="",k=0;;){var w=g.indexOf("\t",k);if(-1==w){t+=g.slice(k);r+=g.length-k;break}else{r+=w-k;t+=g.slice(k,w);k=h-r%h;r+=k;for(var F=0;Fdocument.documentMode),n=k,l=0;n.textContent="";k=function(b,t){if("\n"==b)n.appendChild(document.createTextNode(v?"\r": +b)),l=0;else{for(var m="",c=0;;){var p=b.indexOf("\t",c);if(-1==p){m+=b.slice(c);l+=b.length-c;break}else{l+=p-c;m+=b.slice(c,p);c=r-l%r;l+=c;for(var u=0;ug||g>=b)return e+(b-d);e+=g-d;e+=c-e%c;d=g+1}}function nothing(){}function createObj(a,b){Object.create?a=Object.create(a):(nothing.prototype=a,a=new nothing);b&©Obj(b,a);return a} +var StringStream=function(a,b,c){this.pos=this.start=0;this.string=a;this.tabSize=b||8;this.lineStart=this.lastColumnPos=this.lastColumnValue=0;this.lineOracle=c};StringStream.prototype.eol=function(){return this.pos>=this.string.length};StringStream.prototype.sol=function(){return this.pos==this.lineStart};StringStream.prototype.peek=function(){return this.string.charAt(this.pos)||void 0};StringStream.prototype.next=function(){if(this.posb};StringStream.prototype.eatSpace=function(){for(var a=this.pos;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++this.pos;return this.pos>a};StringStream.prototype.skipToEnd=function(){this.pos=this.string.length}; +StringStream.prototype.skipTo=function(a){a=this.string.indexOf(a,this.pos);if(-1document.documentMode),p=d,m=0;p.textContent="";d=function(f,t){if("\n"==f)p.appendChild(document.createTextNode(v?"\r": +f)),m=0;else{for(var n="",h=0;;){var q=f.indexOf("\t",h);if(-1==q){n+=f.slice(h);m+=f.length-h;break}else{m+=q-h;n+=f.slice(h,q);h=g-m%g;m+=h;for(var u=0;uy?b.charCoords(n,"local")[v?"top":"bottom"]:b.heightAtLine(d,"local")+(v?0:d.height)}!1!==a&&this.computeScale();var b=this.cm;a=this.hScale;var c=document.createDocumentFragment(),f=this.annotations,w=b.getOption("lineWrapping"),y=w&&1.5*b.defaultTextHeight(),p=null,d=null,x=b.lastLine();if(b.display.barWidth)for(var g=0,r;gx)){for(var t=r||e(h.from,!0)*a,l=e(h.to,!1)*a;gx);){r=e(f[g+1].from,!0)* +a;if(r>l+.9)break;h=f[++g];l=e(h.to,!1)*a}if(l!=t){l=Math.max(l-t,3);var u=c.appendChild(document.createElement("div"));u.style.cssText="position: absolute; right: 0px; width: "+Math.max(b.display.barWidth-1,2)+"px; top: "+(t+this.buttonHeight)+"px; height: "+l+"px";u.className=this.options.className;h.id&&u.setAttribute("annotation-id",h.id)}}}this.div.textContent="";this.div.appendChild(c)};m.prototype.clear=function(){this.cm.off("refresh",this.resizeHandler);this.cm.off("markerAdded",this.resizeHandler); +this.cm.off("markerCleared",this.resizeHandler);this.changeHandler&&this.cm.off("changes",this.changeHandler);this.div.parentNode.removeChild(this.div)}}); diff --git a/v0.19.4/packages/codemirror/addon/scroll/scrollpastend.js b/v0.19.4/packages/codemirror/addon/scroll/scrollpastend.js new file mode 100644 index 000000000..856a45dc1 --- /dev/null +++ b/v0.19.4/packages/codemirror/addon/scroll/scrollpastend.js @@ -0,0 +1,2 @@ +(function(c){"object"==typeof exports&&"object"==typeof module?c(require("../../lib/codemirror")):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],c):c(CodeMirror)})(function(c){function f(a,b){c.changeEnd(b).line==a.lastLine()&&d(a)}function d(a){var b="";if(1h.right?1:0:f.clientYh.bottom?1:0)*d.screen)});c.on(this.node,"mousewheel",g);c.on(this.node,"DOMMouseScroll",g)}function k(a,b,e){this.addClass=a;this.horiz=new l(a,"horizontal",e);b(this.horiz.node);this.vert=new l(a,"vertical",e);b(this.vert.node);this.width=null}l.prototype.setPos=function(a,b){0>a&&(a=0);a>this.total-this.screen&&(a=this.total-this.screen);if(!b&&a==this.pos)return!1;this.pos=a;this.inner.style["horizontal"== +this.orientation?"left":"top"]=this.size/this.total*a+"px";return!0};l.prototype.moveTo=function(a){this.setPos(a)&&this.scroll(a,this.orientation)};l.prototype.update=function(a,b,e){var g=this.screen!=b||this.total!=a||this.size!=e;g&&(this.screen=b,this.total=a,this.size=e);a=this.size/this.total*this.screen;10>a&&(this.size-=10-a,a=10);this.inner.style["horizontal"==this.orientation?"width":"height"]=a+"px";this.setPos(this.pos,g)};k.prototype.update=function(a){if(null==this.width){var b=window.getComputedStyle? +window.getComputedStyle(this.horiz.node):this.horiz.node.currentStyle;b&&(this.width=parseInt(b.height))}b=this.width||0;var e=a.scrollWidth>a.clientWidth+1,g=a.scrollHeight>a.clientHeight+1;this.vert.node.style.display=g?"block":"none";this.horiz.node.style.display=e?"block":"none";g&&(this.vert.update(a.scrollHeight,a.clientHeight,a.viewHeight-(e?b:0)),this.vert.node.style.bottom=e?b+"px":"0");e&&(this.horiz.update(a.scrollWidth,a.clientWidth,a.viewWidth-(g?b:0)-a.barLeft),this.horiz.node.style.right= +g?b+"px":"0",this.horiz.node.style.left=a.barLeft+"px");return{right:g?b:0,bottom:e?b:0}};k.prototype.setScrollTop=function(a){this.vert.setPos(a)};k.prototype.setScrollLeft=function(a){this.horiz.setPos(a)};k.prototype.clear=function(){var a=this.horiz.node.parentNode;a.removeChild(this.horiz.node);a.removeChild(this.vert.node)};c.scrollbarModel.simple=function(a,b){return new k("CodeMirror-simplescroll",a,b)};c.scrollbarModel.overlay=function(a,b){return new k("CodeMirror-overlayscroll",a,b)}}); diff --git a/v0.19.4/packages/codemirror/addon/search/jump-to-line.js b/v0.19.4/packages/codemirror/addon/search/jump-to-line.js new file mode 100644 index 000000000..493777977 --- /dev/null +++ b/v0.19.4/packages/codemirror/addon/search/jump-to-line.js @@ -0,0 +1,3 @@ +(function(e){"object"==typeof exports&&"object"==typeof module?e(require("../../lib/codemirror"),require("../dialog/dialog")):"function"==typeof define&&define.amd?define(["../../lib/codemirror","../dialog/dialog"],e):e(CodeMirror)})(function(e){function h(a,d,b,c,f){a.openDialog?a.openDialog(d,f,{value:c,selectValueOnOpen:!0,bottom:a.options.search.bottom}):f(prompt(b,c))}function k(a){return a.phrase("Jump to line:")+' '+ +a.phrase("(Use line:column or scroll% syntax)")+""}function g(a,d){var b=Number(d);return/^[-+]/.test(d)?a.getCursor().line+b:b-1}e.defineOption("search",{bottom:!1});e.commands.jumpToLine=function(a){var d=a.getCursor();h(a,k(a),a.phrase("Jump to line:"),d.line+1+":"+d.ch,function(b){if(b){var c;(c=/^\s*([\+\-]?\d+)\s*:\s*(\d+)\s*$/.exec(b))?a.setCursor(g(a,c[1]),Number(c[2])):(c=/^\s*([\+\-]?\d+(\.\d+)?)%\s*/.exec(b))?(b=Math.round(a.lineCount()*Number(c[1])/100),/^[-+]/.test(c[1])&&(b=d.line+ +b+1),a.setCursor(b-1,d.ch)):(c=/^\s*:?\s*([\+\-]?\d+)\s*/.exec(b))&&a.setCursor(g(a,c[1]),d.ch)}})};e.keyMap["default"]["Alt-G"]="jumpToLine"}); diff --git a/v0.19.4/packages/codemirror/addon/search/match-highlighter.js b/v0.19.4/packages/codemirror/addon/search/match-highlighter.js new file mode 100644 index 000000000..c9f57180f --- /dev/null +++ b/v0.19.4/packages/codemirror/addon/search/match-highlighter.js @@ -0,0 +1,6 @@ +(function(f){"object"==typeof exports&&"object"==typeof module?f(require("../../lib/codemirror"),require("./matchesonscrollbar")):"function"==typeof define&&define.amd?define(["../../lib/codemirror","./matchesonscrollbar"],f):f(CodeMirror)})(function(f){function r(a){this.options={};for(var b in h)this.options[b]=(a&&a.hasOwnProperty(b)?a:h)[b];this.matchesonscroll=this.overlay=this.timeout=null;this.active=!1}function k(a){var b=a.state.matchHighlighter;(b.active||a.hasFocus())&&l(a,b)}function m(a){var b= +a.state.matchHighlighter;b.active||(b.active=!0,l(a,b))}function l(a,b){clearTimeout(b.timeout);b.timeout=setTimeout(function(){n(a)},b.options.delay)}function p(a,b,d,c){var e=a.state.matchHighlighter;a.addOverlay(e.overlay=t(b,d,c));e.options.annotateScrollbar&&a.showMatchesOnScrollbar&&(b=d?new RegExp((/\w/.test(b.charAt(0))?"\\b":"")+b.replace(/[\\\[.+*?(){|^$]/g,"\\$&")+(/\w/.test(b.charAt(b.length-1))?"\\b":"")):b,e.matchesonscroll=a.showMatchesOnScrollbar(b,!1,{className:"CodeMirror-selection-highlight-scrollbar"}))} +function q(a){var b=a.state.matchHighlighter;b.overlay&&(a.removeOverlay(b.overlay),b.overlay=null,b.matchesonscroll&&(b.matchesonscroll.clear(),b.matchesonscroll=null))}function n(a){a.operation(function(){var b=a.state.matchHighlighter;q(a);if(!a.somethingSelected()&&b.options.showToken){for(var d=!0===b.options.showToken?/[\w$]/:b.options.showToken,c=a.getCursor(),e=a.getLine(c.line),g=c=c.ch;c&&d.test(e.charAt(c-1));)--c;for(;g=b.options.minChars&&p(a,d,!1,b.options.style))}})}function t(a,b,d){return{token:function(c){var e; +if(e=c.match(a))(e=!b)||(e=(!c.start||!b.test(c.string.charAt(c.start-1)))&&(c.pos==c.string.length||!b.test(c.string.charAt(c.pos))));if(e)return d;c.next();c.skipTo(a.charAt(0))||c.skipToEnd()}}}var h={style:"matchhighlight",minChars:2,delay:100,wordsOnly:!1,annotateScrollbar:!1,showToken:!1,trim:!0};f.defineOption("highlightSelectionMatches",!1,function(a,b,d){d&&d!=f.Init&&(q(a),clearTimeout(a.state.matchHighlighter.timeout),a.state.matchHighlighter=null,a.off("cursorActivity",k),a.off("focus", +m));if(b){b=a.state.matchHighlighter=new r(b);if(a.hasFocus())b.active=!0,n(a);else a.on("focus",m);a.on("cursorActivity",k)}})}); diff --git a/v0.19.4/packages/codemirror/addon/search/matchesonscrollbar.css b/v0.19.4/packages/codemirror/addon/search/matchesonscrollbar.css new file mode 100644 index 000000000..16ee9050f --- /dev/null +++ b/v0.19.4/packages/codemirror/addon/search/matchesonscrollbar.css @@ -0,0 +1 @@ +.CodeMirror-search-match{background:gold;border-top:1px solid orange;border-bottom:1px solid orange;-moz-box-sizing:border-box;box-sizing:border-box;opacity:.5} \ No newline at end of file diff --git a/v0.19.4/packages/codemirror/addon/search/matchesonscrollbar.js b/v0.19.4/packages/codemirror/addon/search/matchesonscrollbar.js new file mode 100644 index 000000000..4685d5d28 --- /dev/null +++ b/v0.19.4/packages/codemirror/addon/search/matchesonscrollbar.js @@ -0,0 +1,5 @@ +(function(f){"object"==typeof exports&&"object"==typeof module?f(require("../../lib/codemirror"),require("./searchcursor"),require("../scroll/annotatescrollbar")):"function"==typeof define&&define.amd?define(["../../lib/codemirror","./searchcursor","../scroll/annotatescrollbar"],f):f(CodeMirror)})(function(f){function g(a,c,b,d){this.cm=a;this.options=d;var e={listenForChanges:!1},h;for(h in d)e[h]=d[h];e.className||(e.className="CodeMirror-search-match");this.annotation=a.annotateScrollbar(e);this.query= +c;this.caseFold=b;this.gap={from:a.firstLine(),to:a.lastLine()+1};this.matches=[];this.update=null;this.findMatches();this.annotation.update(this.matches);var l=this;a.on("change",this.changeHandler=function(n,m){l.onChange(m)})}function k(a,c,b){return a<=c?a:Math.max(c,a+b)}f.defineExtension("showMatchesOnScrollbar",function(a,c,b){"string"==typeof b&&(b={className:b});b||(b={});return new g(this,a,c,b)});g.prototype.findMatches=function(){if(this.gap){for(var a=0;a=this.gap.to)break;c.to.line>=this.gap.from&&this.matches.splice(a--,1)}for(var b=this.cm.getSearchCursor(this.query,f.Pos(this.gap.from,0),{caseFold:this.caseFold,multiline:this.options.multiline}),d=this.options&&this.options.maxMatches||1E3;b.findNext();){c={from:b.from(),to:b.to()};if(c.from.line>=this.gap.to)break;this.matches.splice(a++,0,c);if(this.matches.length>d)break}this.gap=null}};g.prototype.onChange=function(a){var c=a.from.line,b=f.changeEnd(a).line, +d=b-a.to.line;this.gap?(this.gap.from=Math.min(k(this.gap.from,c,d),a.from.line),this.gap.to=Math.max(k(this.gap.to,c,d),a.from.line)):this.gap={from:a.from.line,to:b+1};if(d)for(a=0;a>>0,$jscomp.propertyToPolyfillSymbol[k]=$jscomp.IS_SYMBOL_NATIVE? +$jscomp.global.Symbol(k):$jscomp.POLYFILL_PREFIX+g+"$"+k),$jscomp.defineProperty(l,$jscomp.propertyToPolyfillSymbol[k],{configurable:!0,writable:!0,value:h})))};$jscomp.polyfill("Array.prototype.find",function(b){return b?b:function(h,g){return $jscomp.findInternal(this,h,g).v}},"es6","es3"); +(function(b){"object"==typeof exports&&"object"==typeof module?b(require("../../lib/codemirror"),require("./searchcursor"),require("../dialog/dialog")):"function"==typeof define&&define.amd?define(["../../lib/codemirror","./searchcursor","../dialog/dialog"],b):b(CodeMirror)})(function(b){function h(a,c){"string"==typeof a?a=new RegExp(a.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&"),c?"gi":"g"):a.global||(a=new RegExp(a.source,a.ignoreCase?"gi":"g"));return{token:function(e){a.lastIndex=e.pos; +var d=a.exec(e.string);if(d&&d.index==e.pos)return e.pos+=d[0].length||1,"searching";d?e.pos=d.index:e.skipToEnd()}}}function g(){this.overlay=this.posFrom=this.posTo=this.lastQuery=this.query=null}function l(a){return a.state.search||(a.state.search=new g)}function k(a){return"string"==typeof a&&a==a.toLowerCase()}function t(a,c,e){return a.getSearchCursor(c,e,{caseFold:k(c),multiline:!0})}function A(a,c,e,d,f){a.openDialog(c,d,{value:e,selectValueOnOpen:!0,closeOnEnter:!1,onClose:function(){y(a)}, +onKeyDown:f,bottom:a.options.search.bottom})}function D(a,c,e,d,f){a.openDialog?a.openDialog(c,f,{value:d,selectValueOnOpen:!0,bottom:a.options.search.bottom}):f(prompt(e,d))}function J(a,c,e,d){if(a.openConfirm)a.openConfirm(c,d);else if(confirm(e))d[0]()}function E(a){return a.replace(/\\([nrt\\])/g,function(c,e){return"n"==e?"\n":"r"==e?"\r":"t"==e?"\t":"\\"==e?"\\":c})}function F(a){var c=a.match(/^\/(.*)\/([a-z]*)$/);if(c)try{a=new RegExp(c[1],-1==c[2].indexOf("i")?"":"i")}catch(e){}else a=E(a); +if("string"==typeof a?""==a:a.test(""))a=/x^/;return a}function B(a,c,e){c.queryText=e;c.query=F(e);a.removeOverlay(c.overlay,k(c.query));c.overlay=h(c.query,k(c.query));a.addOverlay(c.overlay);a.showMatchesOnScrollbar&&(c.annotate&&(c.annotate.clear(),c.annotate=null),c.annotate=a.showMatchesOnScrollbar(c.query,k(c.query)))}function x(a,c,e,d){var f=l(a);if(f.query)return C(a,c);var n=a.getSelection()||f.lastQuery;n instanceof RegExp&&"x^"==n.source&&(n=null);if(e&&a.openDialog){var u=null,r=function(q, +w){b.e_stop(w);q&&(q!=f.queryText&&(B(a,f,q),f.posFrom=f.posTo=a.getCursor()),u&&(u.style.opacity=1),C(a,w.shiftKey,function(p,v){var z;3>v.line&&document.querySelector&&(z=a.display.wrapper.querySelector(".CodeMirror-dialog"))&&z.getBoundingClientRect().bottom-4>a.cursorCoords(v,"window").top&&((u=z).style.opacity=.4)}))};A(a,G(a),n,r,function(q,w){var p=b.keyName(q),v=a.getOption("extraKeys");p=v&&v[p]||b.keyMap[a.getOption("keyMap")][p];if("findNext"==p||"findPrev"==p||"findPersistentNext"==p|| +"findPersistentPrev"==p)b.e_stop(q),B(a,l(a),w),a.execCommand(p);else if("find"==p||"findPersistent"==p)b.e_stop(q),r(w,q)});d&&n&&(B(a,f,n),C(a,c))}else D(a,G(a),"Search for:",n,function(q){q&&!f.query&&a.operation(function(){B(a,f,q);f.posFrom=f.posTo=a.getCursor();C(a,c)})})}function C(a,c,e){a.operation(function(){var d=l(a),f=t(a,d.query,c?d.posFrom:d.posTo);if(!f.find(c)&&(f=t(a,d.query,c?b.Pos(a.lastLine()):b.Pos(a.firstLine(),0)),!f.find(c)))return;a.setSelection(f.from(),f.to());a.scrollIntoView({from:f.from(), +to:f.to()},20);d.posFrom=f.from();d.posTo=f.to();e&&e(f.from(),f.to())})}function y(a){a.operation(function(){var c=l(a);if(c.lastQuery=c.query)c.query=c.queryText=null,a.removeOverlay(c.overlay),c.annotate&&(c.annotate.clear(),c.annotate=null)})}function m(a,c){var e=a?document.createElement(a):document.createDocumentFragment(),d;for(d in c)e[d]=c[d];for(d=2;d>>0,$jscomp.propertyToPolyfillSymbol[l]=$jscomp.IS_SYMBOL_NATIVE? +$jscomp.global.Symbol(l):$jscomp.POLYFILL_PREFIX+h+"$"+l),$jscomp.defineProperty(p,$jscomp.propertyToPolyfillSymbol[l],{configurable:!0,writable:!0,value:g})))};$jscomp.polyfill("Array.prototype.find",function(f){return f?f:function(g,h){return $jscomp.findInternal(this,g,h).v}},"es6","es3"); +(function(f){"object"==typeof exports&&"object"==typeof module?f(require("../../lib/codemirror")):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],f):f(CodeMirror)})(function(f){function g(b,a){var c=b.flags;for(var e=c=null!=c?c:(b.ignoreCase?"i":"")+(b.global?"g":"")+(b.multiline?"m":""),d=0;dm);n++){var r=b.getLine(k++);e=null==e?r:e+"\n"+r}d*=2;a.lastIndex=c.ch;if(n=a.exec(e))return a=e.slice(0,n.index).split("\n"),b=n[0].split("\n"),c=c.line+a.length-1,a=a[a.length-1].length,{from:q(c,a),to:q(c+b.length-1,1==b.length?a+b[0].length:b[b.length- +1].length),match:n}}}function l(b,a,c){for(var e,d=0;d<=b.length;){a.lastIndex=d;d=a.exec(b);if(!d)break;var k=d.index+d[0].length;if(k>b.length-c)break;if(!e||k>e.index+e[0].length)e=d;d=d.index+1}return e}function u(b,a,c){a=g(a,"g");var e=c.line,d=c.ch;for(c=b.firstLine();e>=c;e--,d=-1){var k=b.getLine(e);if(d=l(k,a,0>d?0:k.length-d))return{from:q(e,d.index),to:q(e,d.index+d[0].length),match:d}}}function w(b,a,c){if(!/\\s|\\n|\n|\\W|\\D|\[\^/.test(a.source))return u(b,a,c);a=g(a,"gm");var e=1, +d=b.getLine(c.line).length-c.ch;c=c.line;for(var k=b.firstLine();c>=k;){for(var m=0;m=k;m++){var n=b.getLine(c--);var r=null==r?n:n+"\n"+r}e*=2;if(m=l(r,a,d))return a=r.slice(0,m.index).split("\n"),b=m[0].split("\n"),c+=a.length,a=a[a.length-1].length,{from:q(c,a),to:q(c+b.length-1,1==b.length?a+b[0].length:b[b.length-1].length),match:m}}}function v(b,a,c,e){if(b.length==a.length)return c;var d=0;for(a=c+Math.max(0,b.length-a.length);;){if(d==a)return d;var k=d+a>>1,m=e(b.slice(0,k)).length; +if(m==c)return k;m>c?a=k:d=k+1}}function C(b,a,c,e){if(!a.length)return null;e=e?x:y;a=e(a).split(/\r|\n\r?/);var d=c.line;c=c.ch;var k=b.lastLine()+1-a.length;a:for(;d<=k;d++,c=0){var m=b.getLine(d).slice(c),n=e(m);if(1==a.length){var r=n.indexOf(a[0]);if(-1==r)continue a;v(m,n,r,e);return{from:q(d,v(m,n,r,e)+c),to:q(d,v(m,n,r+a[0].length,e)+c)}}r=n.length-a[0].length;if(n.slice(r)!=a[0])continue a;for(var t=1;t=m;d--,k=-1){var n=b.getLine(d);-1a.ch&&(a.line--,a.ch=(this.doc.getLine(a.line)||"").length)):(a.ch++,a.ch>(this.doc.getLine(a.line)||"").length&&(a.ch=0,a.line++)),0!=f.cmpPos(a,this.doc.clipPos(a))))return this.atOccurrence=!1;this.afterEmptyMatch=(a=this.matches(b,a))&&0==f.cmpPos(a.from,a.to);if(a)return this.pos=a,this.atOccurrence=!0,this.pos.match||!0;b=q(b?this.doc.firstLine():this.doc.lastLine()+1,0);this.pos={from:b,to:b};return this.atOccurrence= +!1},from:function(){if(this.atOccurrence)return this.pos.from},to:function(){if(this.atOccurrence)return this.pos.to},replace:function(b,a){this.atOccurrence&&(b=f.splitLines(b),this.doc.replaceRange(b,this.pos.from,this.pos.to,a),this.pos.to=q(this.pos.from.line+b.length-1,b[b.length-1].length+(1==b.length?this.pos.from.ch:0)))}};f.defineExtension("getSearchCursor",function(b,a,c){return new A(this.doc,b,a,c)});f.defineDocExtension("getSearchCursor",function(b,a,c){return new A(this,b,a,c)});f.defineExtension("selectMatches", +function(b,a){var c=[];for(b=this.getSearchCursor(b,this.getCursor("from"),a);b.findNext()&&!(0>>0,$jscomp.propertyToPolyfillSymbol[f]=$jscomp.IS_SYMBOL_NATIVE? +$jscomp.global.Symbol(f):$jscomp.POLYFILL_PREFIX+c+"$"+f),$jscomp.defineProperty(e,$jscomp.propertyToPolyfillSymbol[f],{configurable:!0,writable:!0,value:d})))};$jscomp.polyfill("Array.prototype.find",function(a){return a?a:function(d,c){return $jscomp.findInternal(this,d,c).v}},"es6","es3"); +(function(a){"object"==typeof exports&&"object"==typeof module?a(require("../../lib/codemirror")):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],a):a(CodeMirror)})(function(a){function d(b){b.state.markedSelection&&b.operation(function(){r(b)})}function c(b){b.state.markedSelection&&b.state.markedSelection.length&&b.operation(function(){f(b)})}function e(b,g,h,k){if(0!=p(g,h))for(var l=b.state.markedSelection,n=b.state.markedSelectionStyle,q=g.line;;){var t=q==g.line?g:v(q, +0);q+=u;var w=q>=h.line,x=w?h:v(q,0);t=b.markText(t,x,{className:n});null==k?l.push(t):l.splice(k++,0,t);if(w)break}}function f(b){b=b.state.markedSelection;for(var g=0;g=p(h,l.from))return m(b);for(;0p(g,l.from)&&(l.to.line-g.linep(h,n.to);)k.pop().clear(),n=k[k.length-1].find();0=b.mouseX&&f.top<=b.mouseY&&f.bottom>=b.mouseY&&(c=!0)}b=c?b.value:"";a.display.lineDiv.style.cursor!=b&&(a.display.lineDiv.style.cursor=b)}a.state.selectionPointer.willUpdate=!1},50))}e.defineOption("selectionPointer",!1,function(a,b){var c=a.state.selectionPointer;c&&(e.off(a.getWrapperElement(),"mousemove",c.mousemove),e.off(a.getWrapperElement(), +"mouseout",c.mouseout),e.off(window,"scroll",c.windowScroll),a.off("cursorActivity",g),a.off("scroll",g),a.state.selectionPointer=null,a.display.lineDiv.style.cursor="");b&&(c=a.state.selectionPointer={value:"string"==typeof b?b:"default",mousemove:function(d){var f=a.state.selectionPointer;(null==d.buttons?d.which:d.buttons)?f.mouseX=f.mouseY=null:(f.mouseX=d.clientX,f.mouseY=d.clientY);h(a)},mouseout:function(d){a.getWrapperElement().contains(d.relatedTarget)||(d=a.state.selectionPointer,d.mouseX= +d.mouseY=null,h(a))},windowScroll:function(){g(a)},rects:null,mouseX:null,mouseY:null,willUpdate:!1},e.on(a.getWrapperElement(),"mousemove",c.mousemove),e.on(a.getWrapperElement(),"mouseout",c.mouseout),e.on(window,"scroll",c.windowScroll),a.on("cursorActivity",g),a.on("scroll",g))})}); diff --git a/v0.19.4/packages/codemirror/addon/tern/tern.css b/v0.19.4/packages/codemirror/addon/tern/tern.css new file mode 100644 index 000000000..c377ab176 --- /dev/null +++ b/v0.19.4/packages/codemirror/addon/tern/tern.css @@ -0,0 +1 @@ +.CodeMirror-Tern-completion{padding-left:22px;position:relative;line-height:1.5}.CodeMirror-Tern-completion:before{position:absolute;left:2px;bottom:2px;border-radius:50%;font-size:12px;font-weight:700;height:15px;width:15px;line-height:16px;text-align:center;color:#fff;-moz-box-sizing:border-box;box-sizing:border-box}.CodeMirror-Tern-completion-unknown:before{content:"?";background:#4bb}.CodeMirror-Tern-completion-object:before{content:"O";background:#77c}.CodeMirror-Tern-completion-fn:before{content:"F";background:#7c7}.CodeMirror-Tern-completion-array:before{content:"A";background:#c66}.CodeMirror-Tern-completion-number:before{content:"1";background:#999}.CodeMirror-Tern-completion-string:before{content:"S";background:#999}.CodeMirror-Tern-completion-bool:before{content:"B";background:#999}.CodeMirror-Tern-completion-guess{color:#999}.CodeMirror-Tern-tooltip{border:1px solid silver;border-radius:3px;color:#444;padding:2px 5px;font-size:90%;font-family:monospace;background-color:#fff;white-space:pre-wrap;max-width:40em;position:absolute;z-index:10;-webkit-box-shadow:2px 3px 5px rgba(0,0,0,.2);-moz-box-shadow:2px 3px 5px rgba(0,0,0,.2);box-shadow:2px 3px 5px rgba(0,0,0,.2);transition:opacity 1s;-moz-transition:opacity 1s;-webkit-transition:opacity 1s;-o-transition:opacity 1s;-ms-transition:opacity 1s}.CodeMirror-Tern-hint-doc{max-width:25em;margin-top:-3px}.CodeMirror-Tern-fname{color:#000}.CodeMirror-Tern-farg{color:#70a}.CodeMirror-Tern-farg-current{text-decoration:underline}.CodeMirror-Tern-type{color:#07c}.CodeMirror-Tern-fhint-guess{opacity:.7} \ No newline at end of file diff --git a/v0.19.4/packages/codemirror/addon/tern/tern.js b/v0.19.4/packages/codemirror/addon/tern/tern.js new file mode 100644 index 000000000..5e89d11fa --- /dev/null +++ b/v0.19.4/packages/codemirror/addon/tern/tern.js @@ -0,0 +1,25 @@ +(function(p){"object"==typeof exports&&"object"==typeof module?p(require("../../lib/codemirror")):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],p):p(CodeMirror)})(function(p){function J(a,b,c){var d=a.docs[b];d?c(C(a,d)):a.options.getFile?a.options.getFile(b,c):c(null)}function z(a,b,c){for(var d in a.docs){var f=a.docs[d];if(f.doc==b)return f}if(!c)for(c=0;;++c)if(d="[doc"+(c||"")+"]",!a.docs[d]){c=d;break}return a.addDoc(c,b)}function K(a,b){if("string"==typeof b)return a.docs[b]; +b instanceof p&&(b=b.getDoc());if(b instanceof p.Doc)return z(a,b)}function V(a,b,c){var d=z(a,b),f=a.cachedArgHints;f&&f.doc==b&&0<=D(f.start,c.to)&&(a.cachedArgHints=null);f=d.changed;null==f&&(d.changed=f={from:c.from.line,to:c.from.line});var g=c.from.line+(c.text.length-1);c.from.line=f.to&&(f.to=g+1);f.from>c.from.line&&(f.from=c.from.line);b.lineCount()>L&&100=k;--e){for(var l=b.getLine(e),n=d=0;;){n=l.indexOf("\t",n);if(-1==n)break;d+=g-(n+d)%g-1;n+=1}d=c.column-d;if("("==l.charAt(d)){h=!0;break}}if(h){var q=t(e,d);if((c=a.cachedArgHints)&&c.doc==b.getDoc()&&0==D(q,c.start))return P(a,b,f);a.request(b,{type:"type",preferFunction:!0,end:q},function(m,r){if(!m&&r.type&& +/^fn\(/.test(r.type)){var x=r.type;m=[];var v=3;if(")"!=x.charAt(v))for(;;){var E=x.slice(v).match(/^([^, \(\[\{]+): /);E&&(v+=E[0].length,E=E[1]);var Q=m,Z=Q.push;a:{var G=/[\),]/;for(var H=0,aa=v;;){var I=x.charAt(v);if(G.test(I)&&!H){G=x.slice(aa,v);break a}/[{\[\(]/.test(I)?++H:/[}\]\)]/.test(I)&&--H;++v}}Z.call(Q,{name:E,type:G});if(")"==x.charAt(v))break;v+=2}x=x.slice(v).match(/^\) -> (.*)$/);a.cachedArgHints={start:q,type:{args:m,rettype:x&&x[1]},name:r.exprName||r.name||"fn",guess:r.guess, +doc:b.getDoc()};P(a,b,f)}})}}}}function P(a,b,c){B(a);var d=a.cachedArgHints,f=d.type;d=w("span",d.guess?u+"fhint-guess":null,w("span",u+"fname",d.name),"(");for(var g=0;g\u00a0":")")); +f.rettype&&d.appendChild(w("span",u+"type",f.rettype));c=b.cursorCoords(null,"page");var k=a.activeArgHints=F(c.right+1,c.bottom,d,b);setTimeout(function(){k.clear=R(b,function(){a.activeArgHints==k&&B(a)})},20)}function ba(a,b){function c(d){d={type:"definition",variable:d||null};var f=z(a,b.getDoc());a.server.request(S(a,f,d),function(g,e){if(g)return y(a,b,g);if(!e.file&&e.url)window.open(e.url);else{if(e.file){g=a.docs[e.file];var k;if(k=g){var h=g.doc;var l=e.context.slice(0,e.contextOffset).split("\n"); +var n=e.start.line-(l.length-1);k=t(n,(1==l.length?e.start.ch:h.getLine(n).length)-l[0].length);var q=h.getLine(n).slice(k.ch);for(n+=1;n=D(e,h.end)&&(g=d.length-1))}b.setSelections(d,g)})}function ea(a,b){for(var c=Object.create(null),d=0;dL&&!1!==g&&100>b.changed.to-b.changed.from&&b.changed.from<=e.line&&b.changed.to>c.end.line){g=f.push;d=c.end;for(var k=b.doc,h=null,l=null,n=e.line-1,q=Math.max(0,n-50);n>=q;--n){var m=k.getLine(n);0>m.search(/\bfunction\b/)||(m=p.countColumn(m,null,4),null!=h&& +h<=m||(h=m,l=n))}null==l&&(l=q);n=Math.min(k.lastLine(),d.line+20);if(null==h||h==p.countColumn(k.getLine(e.line),null,4))e=n;else for(e=d.line+1;ef&&(c.style.height=f-5+"px",c.style.top=b.bottom-g.top+"px"));0d&&(c.style.width=d-5+"px",h-=g.right-g.left-d),c.style.left=a-h+"px");return c}function A(a){var b=a&&a.parentNode;b&&b.removeChild(a)}function ia(a){a.style.opacity="0";setTimeout(function(){A(a)},1100)}function y(a, +b,c){a.options.showError?a.options.showError(b,c):O(b,String(c),a)}function B(a){a.activeArgHints&&(a.activeArgHints.clear&&a.activeArgHints.clear(),A(a.activeArgHints),a.activeArgHints=null)}function C(a,b){var c=b.doc.getValue();a.options.fileFilter&&(c=a.options.fileFilter(c,b.name,b.doc));return c}function ja(a){function b(g,e){e&&(g.id=++d,f[d]=e);c.postMessage(g)}var c=a.worker=new Worker(a.options.workerScript);c.postMessage({type:"init",defs:a.options.defs,plugins:a.options.plugins,scripts:a.options.workerDeps}); +var d=0,f={};c.onmessage=function(g){var e=g.data;"getFile"==e.type?J(a,e.name,function(k,h){b({type:"getFile",err:String(k),text:h,id:e.id})}):"debug"==e.type?window.console.log(e.message):e.id&&f[e.id]&&(f[e.id](e.err,e.body),delete f[e.id])};c.onerror=function(g){for(var e in f)f[e](g);f={}};this.addFile=function(g,e){b({type:"add",name:g,text:e})};this.delFile=function(g){b({type:"del",name:g})};this.request=function(g,e){b({type:"req",body:g},e)}}p.TernServer=function(a){var b=this;this.options= +a||{};a=this.options.plugins||(this.options.plugins={});a.doc_comment||(a.doc_comment=!0);this.docs=Object.create(null);this.server=this.options.useWorker?new ja(this):new tern.Server({getFile:function(c,d){return J(b,c,d)},async:!0,defs:this.options.defs||[],plugins:a});this.trackChange=function(c,d){V(b,c,d)};this.activeArgHints=this.cachedArgHints=null;this.jumpStack=[];this.getHint=function(c,d){return W(b,c,d)};this.getHint.async=!0};p.TernServer.prototype={addDoc:function(a,b){var c={doc:b, +name:a,changed:null};this.server.addFile(a,C(this,c));p.on(b,"change",this.trackChange);return this.docs[a]=c},delDoc:function(a){if(a=K(this,a))p.off(a.doc,"change",this.trackChange),delete this.docs[a.name],this.server.delFile(a.name)},hideDoc:function(a){B(this);(a=K(this,a))&&a.changed&&M(this,a)},complete:function(a){a.showHint({hint:this.getHint})},showType:function(a,b,c){N(this,a,b,"type",c)},showDocs:function(a,b,c){N(this,a,b,"documentation",c)},updateArgHints:function(a){Y(this,a)},jumpToDef:function(a){ba(this, +a)},jumpBack:function(a){var b=this.jumpStack.pop(),c=b&&this.docs[b.file];c&&T(this,z(this,a.getDoc()),c,b.start,b.end)},rename:function(a){da(this,a)},selectName:function(a){fa(this,a)},request:function(a,b,c,d){var f=this,g=z(this,a.getDoc()),e=S(this,g,b,d);if(a=e.query&&this.options.queryOptions&&this.options.queryOptions[e.query.type])for(var k in a)e.query[k]=a[k];this.server.request(e,function(h,l){!h&&f.options.responseFilter&&(l=f.options.responseFilter(g,b,e,h,l));c(h,l)})},destroy:function(){B(this); +this.worker&&(this.worker.terminate(),this.worker=null)}};var t=p.Pos,u="CodeMirror-Tern-",L=250,ha=0,D=p.cmpPos}); diff --git a/v0.19.4/packages/codemirror/addon/tern/worker.js b/v0.19.4/packages/codemirror/addon/tern/worker.js new file mode 100644 index 000000000..d81d080e7 --- /dev/null +++ b/v0.19.4/packages/codemirror/addon/tern/worker.js @@ -0,0 +1,2 @@ +var server;this.onmessage=function(b){var a=b.data;switch(a.type){case "init":return startServer(a.defs,a.plugins,a.scripts);case "add":return server.addFile(a.name,a.text);case "del":return server.delFile(a.name);case "req":return server.request(a.body,function(c,d){postMessage({id:a.id,body:d,err:c&&String(c)})});case "getFile":return b=pending[a.id],delete pending[a.id],b(a.err,a.text);default:throw Error("Unknown message type: "+a.type);}};var nextId=0,pending={}; +function getFile(b,a){postMessage({type:"getFile",name:b,id:++nextId});pending[nextId]=a}function startServer(b,a,c){c&&importScripts.apply(null,c);server=new tern.Server({getFile:getFile,async:!0,defs:b,plugins:a})}this.console={log:function(b){postMessage({type:"debug",message:b})}}; diff --git a/v0.19.4/packages/codemirror/addon/wrap/hardwrap.js b/v0.19.4/packages/codemirror/addon/wrap/hardwrap.js new file mode 100644 index 000000000..4bb3c073b --- /dev/null +++ b/v0.19.4/packages/codemirror/addon/wrap/hardwrap.js @@ -0,0 +1,5 @@ +(function(l){"object"==typeof exports&&"object"==typeof module?l(require("../../lib/codemirror")):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],l):l(CodeMirror)})(function(l){function v(a,c,b){for(var f=b.paragraphStart||a.getHelper(c,"paragraphStart"),e=c.line,d=a.firstLine();e>d;--e){var g=a.getLine(e);if(f&&f.test(g))break;if(!/\S/.test(g)){++e;break}}b=b.paragraphEnd||a.getHelper(c,"paragraphEnd");c=c.line+1;for(f=a.lastLine();c<=f;++c){g=a.getLine(c);if(b&&b.test(g)){++c; +break}if(!/\S/.test(g))break}return{from:e,to:c}}function A(a,c,b,f,e){for(var d=c;d=e&&(e=b.length+1);for(var r=0;re&&b==u&&A(h,e,d,f,g);y&&y.from==w&&y.to==w+x?(h=b+k,++p):n.push({text:[x?" ":""],from:m(p,w),to:m(p+1,u.length)})}for(;h.length>e;)if(k=A(h,e,d,f,g),k.from!=k.to||g&&b!==h.slice(0,k.to))n.push({text:["", +b],from:m(p,k.from),to:m(p,k.to)}),h=b+h.slice(k.to),++p;else break}n.length&&a.operation(function(){for(var z=0;z=e||(e=c.line,t(a,c,b,{}))})};l.defineExtension("wrapRange",function(a,c,b){return t(this,a,c,b||{})});l.defineExtension("wrapParagraphsInRange",function(a,c,b){b=b||{};var f=this,e=[];for(a=a.line;a<=c.line;)a=v(f,m(a,0),b),e.push(a),a=a.to;var d=!1;e.length&&f.operation(function(){for(var g=e.length-1;0<=g;--g)d=d||t(f,m(e[g].from,0),m(e[g].to-1),b)});return d})}); diff --git a/v0.19.4/packages/codemirror/codemirror.css b/v0.19.4/packages/codemirror/codemirror.css new file mode 100644 index 000000000..0db7e2985 --- /dev/null +++ b/v0.19.4/packages/codemirror/codemirror.css @@ -0,0 +1,60 @@ +/* Copyright (c) 2014, Google Inc. Please see the AUTHORS file for details. */ +/* All rights reserved. Use of this source code is governed by a BSD-style */ +/* license that can be found in the LICENSE file. */ + +@import 'css/codemirror.css'; + +@import 'theme/3024-day.css'; +@import 'theme/3024-night.css'; +@import 'theme/abcdef.css'; +@import 'theme/ambiance-mobile.css'; +@import 'theme/ambiance.css'; +@import 'theme/base16-dark.css'; +@import 'theme/base16-light.css'; +@import 'theme/blackboard.css'; +@import 'theme/cobalt.css'; +@import 'theme/colorforth.css'; +@import 'theme/darcula.css'; +@import 'theme/dracula.css'; +@import 'theme/duotone-dark.css'; +@import 'theme/duotone-light.css'; +@import 'theme/eclipse.css'; +@import 'theme/elegant.css'; +@import 'theme/erlang-dark.css'; +@import 'theme/gruvbox-dark.css'; +@import 'theme/hopscotch.css'; +@import 'theme/icecoder.css'; +@import 'theme/idea.css'; +@import 'theme/isotope.css'; +@import 'theme/lesser-dark.css'; +@import 'theme/liquibyte.css'; +@import 'theme/lucario.css'; +@import 'theme/material.css'; +@import 'theme/mbo.css'; +@import 'theme/mdn-like.css'; +@import 'theme/midnight.css'; +@import 'theme/monokai.css'; +@import 'theme/neat.css'; +@import 'theme/neo.css'; +@import 'theme/night.css'; +@import 'theme/oceanic-next.css'; +@import 'theme/panda-syntax.css'; +@import 'theme/paraiso-dark.css'; +@import 'theme/paraiso-light.css'; +@import 'theme/pastel-on-dark.css'; +@import 'theme/railscasts.css'; +@import 'theme/rubyblue.css'; +@import 'theme/seti.css'; +@import 'theme/shadowfox.css'; +@import 'theme/solarized.css'; +@import 'theme/ssms.css'; +@import 'theme/the-matrix.css'; +@import 'theme/tomorrow-night-bright.css'; +@import 'theme/tomorrow-night-eighties.css'; +@import 'theme/ttcn.css'; +@import 'theme/twilight.css'; +@import 'theme/vibrant-ink.css'; +@import 'theme/xq-dark.css'; +@import 'theme/xq-light.css'; +@import 'theme/yeti.css'; +@import 'theme/zenburn.css'; diff --git a/v0.19.4/packages/codemirror/codemirror.js b/v0.19.4/packages/codemirror/codemirror.js new file mode 100644 index 000000000..5cce7a5a4 --- /dev/null +++ b/v0.19.4/packages/codemirror/codemirror.js @@ -0,0 +1,1073 @@ +// codemirror.js +// addon/comment/comment.js +// addon/comment/continuecomment.js +// addon/edit/closebrackets.js +// addon/edit/matchbrackets.js +// addon/edit/closetag.js +// addon/hint/show-hint.js +// addon/hint/css-hint.js +// addon/hint/html-hint.js +// addon/hint/xml-hint.js +// addon/lint/lint.js +// addon/lint/css-lint.js +// addon/display/panel.js +// addon/search/search.js +// addon/search/searchcursor.js +// addon/scroll/simplescrollbars.js +// addon/scroll/annotatescrollbar.js +// addon/search/matchesonscrollbar.js +// addon/search/match-highlighter.js +// addon/fold/foldcode.js +// addon/fold/foldgutter.js +// addon/fold/brace-fold.js +// addon/fold/xml-fold.js +// addon/fold/indent-fold.js +// addon/fold/comment-fold.js +// addon/edit/matchtags.js +// addon/dialog/dialog.js +// keymap/vim.js +// addon/mode/overlay.js +// addon/mode/simple.js +// mode/meta.js +// mode/clike/clike.js +// mode/css/css.js +// mode/dart/dart.js +// mode/htmlmixed/htmlmixed.js +// mode/javascript/javascript.js +// mode/markdown/markdown.js +// mode/properties/properties.js +// mode/shell/shell.js +// mode/xml/xml.js +// mode/yaml/yaml.js + +// codemirror.js + +var $jscomp=$jscomp||{};$jscomp.scope={};$jscomp.findInternal=function(y,E,D){y instanceof String&&(y=String(y));for(var v=y.length,M=0;M>>0,$jscomp.propertyToPolyfillSymbol[M]= +$jscomp.IS_SYMBOL_NATIVE?$jscomp.global.Symbol(M):$jscomp.POLYFILL_PREFIX+D+"$"+M),$jscomp.defineProperty(v,$jscomp.propertyToPolyfillSymbol[M],{configurable:!0,writable:!0,value:E})))};$jscomp.polyfill("Array.prototype.find",function(y){return y?y:function(E,D){return $jscomp.findInternal(this,E,D).v}},"es6","es3"); +(function(y,E){"object"===typeof exports&&"undefined"!==typeof module?module.exports=E():"function"===typeof define&&define.amd?define(E):(y=y||self,y.CodeMirror=E())})(this,function(){function y(a){return new RegExp("(^|\\s)"+a+"(?:$|\\s)\\s*")}function E(a){for(var b=a.childNodes.length;0f||f>=b)return e+(b-c);e+=f-c;e+=d-e%d;c=f+1}}function ea(a,b){for(var d=0;d=b)return c+Math.min(g,b-e);e+=f-c;e+=d-e%d;c=f+1;if(e>=b)return c}}function id(a){for(;vc.length<=a;)vc.push(J(vc)+" ");return vc[a]}function J(a){return a[a.length-1]}function wc(a,b){for(var d=[],c=0;cd?0d?-1:1;;){if(b==d)return b;var e=(b+d)/2;e=0>c?Math.ceil(e):Math.floor(e);if(e==b)return a(e)?b:d;a(e)?d=e:b=e+c}}function Bg(a,b,d,c){if(!a)return c(b,d,"ltr",0);for(var e=!1,f=0;fb||b==d&&g.to==b)c(Math.max(g.from,b),Math.min(g.to,d),1==g.level?"rtl":"ltr",f),e=!0}e||c(b,d,"ltr")}function Kb(a,b,d){var c;Lb=null;for(var e=0;eb)return e; +f.to==b&&(f.from!=f.to&&"before"==d?c=e:Lb=e);f.from==b&&(f.from!=f.to&&"before"!=d?c=e:Lb=e)}return null!=c?c:Lb}function Ja(a,b){var d=a.order;null==d&&(d=a.order=Cg(a.text,b));return d}function ta(a,b,d){if(a.removeEventListener)a.removeEventListener(b,d,!1);else if(a.detachEvent)a.detachEvent("on"+b,d);else{var c=(a=a._handlers)&&a[b];c&&(d=ea(c,d),-1b||b>=a.size)throw Error("There is no line "+(b+a.first)+" in the document.");for(;!a.lines;)for(var d=0;;++d){var c=a.children[d],e=c.chunkSize();if(b=a.first&&bB(a,b)?b:a}function Bc(a,b){return 0>B(a,b)?a:b}function C(a,b){if(b.lined)return t(d,w(a,d).text.length);a=w(a,b.line).text.length;d=b.ch;b=null==d||d>a?t(b.line,a):0>d?t(b.line,0):b;return b}function ye(a,b){for(var d=[],c=0;cp&&e.splice(m,1,p,e[m+1],u);m+=2;n=Math.min(p,u)}if(q)if(l.opaque)e.splice(r,m-r,p,"overlay "+q),m=r+2;else for(;ra.options.maxHighlightLength&&$a(a.doc.mode,c.state),f=ze(a,b,c);e&&(c.state=e);b.stateAfter=c.save(!e);b.styles=f.styles;f.classes?b.styleClasses=f.classes:b.styleClasses&&(b.styleClasses=null);d===a.doc.highlightFrontier&&(a.doc.modeFrontier=Math.max(a.doc.modeFrontier,++a.doc.highlightFrontier))}return b.styles}function Ob(a,b,d){var c=a.doc,e=a.display;if(!c.mode.startState)return new Fa(c,!0,b);var f=Fg(a,b,d),g=f>c.first&&w(c,f-1).stateAfter,h=g?Fa.fromSaved(c,g,f):new Fa(c, +xe(c.mode),f);c.iter(f,b,function(k){td(a,k.text,h);var l=h.line;k.stateAfter=l==b-1||0==l%5||l>=e.viewFrom&&le;e++){c&&(c[0]=od(a,d).mode);var f=a.token(b,d);if(b.pos>b.start)return f}throw Error("Mode "+a.name+" failed to advance stream.");}function De(a,b,d,c){var e=a.doc,f=e.mode;b=C(e,b);var g=w(e,b.line);d=Ob(a,b.line,d);a=new X(g.text,a.options.tabSize,d);var h;for(c&&(h=[]);(c||a.posa.options.maxHighlightLength){h=!1;g&&td(a,b,c,m.pos);m.pos=b.length;var p=null}else p=Fe(ud(d,m,c.state, +n),f);if(n){var q=n[0].name;q&&(p="m-"+(p?q+" "+p:q))}if(!h||l!=p){for(;kg;--b){if(b<=f.first)return f.first;var h=w(f,b-1),k=h.stateAfter;if(k&&(!d||b+(k instanceof Cc?k.lookAhead:0)<=f.modeFrontier))return b;h=wa(h.text,null,a.options.tabSize);if(null==e||c>h)e=b-1,c=h}return e}function Gg(a,b){a.modeFrontier= +Math.min(a.modeFrontier,b);if(!(a.highlightFrontierd;c--){var e=w(a,c).stateAfter;if(e&&(!(e instanceof Cc)||c+e.lookAhead=a:k.to>a);(g||(g=[])).push(new Dc(l,k.from,m?null:k.to))}}d=g;var n;if(c)for(g=0;g=e:h.to>e)||h.from==e&&"bookmark"==k.type&&(!f||h.marker.insertLeft))l= +null==h.from||(k.inclusiveLeft?h.from<=e:h.fromB(g.to,e.from)||0k||!d.inclusiveLeft&&!k)&&h.push({from:g.from,to:e.from});(0wd(e,d.marker)))var e=d.marker;return e}function Je(a,b,d,c,e){a= +w(a,b);if(a=Ka&&a.markedSpans)for(b=0;b=k||0>=h&&0<=k)&&(0>=h&&(f.marker.inclusiveRight&&e.inclusiveLeft?0<=B(g.to,d):0=B(g.from,c):0>B(g.from,c))))return!0}}}function za(a){for(var b;b=sb(a,!0);)a=b.find(-1,!0).line;return a} +function xd(a,b){a=w(a,b);var d=za(a);return a==d?b:N(d)}function Ke(a,b){if(b>a.lastLine())return b;var d=w(a,b);if(!Pa(a,d))return b;for(;a=sb(d,!1);)d=a.find(1,!0).line;return N(d)+1}function Pa(a,b){var d=Ka&&b.markedSpans;if(d)for(var c,e=0;eb.maxLineLength&&(b.maxLineLength=c,b.maxLine=d)})}function Le(a,b){if(!a||/^\s*$/.test(a))return null;b=b.addModeClass?Ig:Jg;return b[a]||(b[a]=a.replace(/\S+/g, +"cm-$&"))}function Me(a,b){var d=M("span",null,null,fa?"padding-right: .1px":null);d={pre:M("pre",[d],"CodeMirror-line"),content:d,col:0,pos:0,cm:a,trailingSpace:!1,splitSpaces:a.getOption("lineWrapping")};b.measure={};for(var c=0;c<=(b.rest?b.rest.length:0);c++){var e=c?b.rest[c-1]:b.line,f=void 0;d.pos=0;d.addToken=Kg;var g=a.display.measure;if(null!=Ad)g=Ad;else{var h=D(g,document.createTextNode("A\u062eA")),k=Qb(h,0,1).getBoundingClientRect();h=Qb(h,1,2).getBoundingClientRect();E(g);g=k&&k.left!= +k.right?Ad=3>h.right-k.right:!1}g&&(f=Ja(e,a.doc.direction))&&(d.addToken=Lg(d.addToken,f));d.map=[];var l=b!=a.display.externalMeasured&&N(e);a:{var m=h=k=g=void 0,n=void 0,p=void 0,q=void 0;f=d;l=Be(a,e,l);var r=e.markedSpans,u=e.text,A=0;if(r)for(var Y=u.length,x=0,P=1,K="",Q=0;;){if(Q==x){n=m=h=p="";k=g=null;Q=Infinity;for(var S=[],F=void 0,R=0;Rx||L.collapsed&&H.to== +x&&H.from==x)){null!=H.to&&H.to!=x&&Q>H.to&&(Q=H.to,m="");L.className&&(n+=" "+L.className);L.css&&(p=(p?p+";":"")+L.css);L.startStyle&&H.from==x&&(h+=" "+L.startStyle);L.endStyle&&H.to==Q&&(F||(F=[])).push(L.endStyle,H.to);L.title&&((g||(g={})).title=L.title);if(L.attributes)for(var ha in L.attributes)(g||(g={}))[ha]=L.attributes[ha];L.collapsed&&(!k||0>wd(k.marker,L))&&(k=H)}else H.from>x&&Q>H.from&&(Q=H.from)}if(F)for(R=0;R=Y)break;for(S=Math.min(Y,Q);;){if(K){F=x+K.length;k||(R=F>S?K.slice(0,S-x):K,f.addToken(f,R,q?q+n:n,h,x+R.length==Q?m:"",p,g));if(F>=S){K=K.slice(S-x);x=S;break}x=F;h=""}K=u.slice(A,A=l[P++]);q=Le(l[P++],f.cm.options)}}else for(g=1;g=m.offsetWidth&&2T))),h=Bd?v("span","\u200b"):v("span","\u00a0",null,"display: inline-block; width: 1px; margin-right: -1px"),h.setAttribute("cm-text",""),f.call(e,0,0,k.call(g, +h)));0==c?(b.measure.map=d.map,b.measure.cache={}):((b.measure.maps||(b.measure.maps=[])).push(d.map),(b.measure.caches||(b.measure.caches=[])).push({}))}fa&&(ha=d.content.lastChild,/\bcm-tab\b/.test(ha.className)||ha.querySelector&&ha.querySelector(".cm-tab"))&&(d.content.className="cm-tab-wrap-hack");W(a,"renderLine",a,b.line,d.pre);d.pre.className&&(d.textClass=fd(d.pre.className,d.textClass||""));return d}function Mg(a){var b=v("span","\u2022","cm-invalidchar");b.title="\\u"+a.charCodeAt(0).toString(16); +b.setAttribute("aria-label",b.title);return b}function Kg(a,b,d,c,e,f,g){if(b){if(a.splitSpaces){var h=a.trailingSpace;if(1T?h.appendChild(v("span",[r])):h.appendChild(r);a.map.push(a.pos,a.pos+q,r);a.col+=q;a.pos+=q}if(!p)break;n+=q+1;"\t"==p[0]?(p=a.cm.options.tabSize,p-=a.col%p,q=h.appendChild(v("span",id(p),"cm-tab")),q.setAttribute("role","presentation"),q.setAttribute("cm-text","\t"),a.col+=p):("\r"==p[0]||"\n"==p[0]?(q=h.appendChild(v("span","\r"==p[0]?"\u240d":"\u2424","cm-invalidchar")),q.setAttribute("cm-text",p[0])):(q=a.cm.options.specialCharPlaceholder(p[0]),q.setAttribute("cm-text",p[0]),G&&9>T? +h.appendChild(v("span",[q])):h.appendChild(q)),a.col+=1);a.map.push(a.pos,a.pos+1,q);a.pos++}}else a.col+=b.length,h=document.createTextNode(k),a.map.push(a.pos,a.pos+b.length,h),G&&9>T&&(m=!0),a.pos+=b.length;a.trailingSpace=32==k.charCodeAt(b.length-1);if(d||c||e||m||f||g){b=d||"";c&&(b+=c);e&&(b+=e);c=v("span",[h],b,f);if(g)for(var u in g)g.hasOwnProperty(u)&&"style"!=u&&"class"!=u&&c.setAttribute(u,g[u]);return a.content.appendChild(c)}a.content.appendChild(h)}}function Lg(a,b){return function(d, +c,e,f,g,h,k){e=e?e+" cm-force-border":"cm-force-border";for(var l=d.pos,m=l+c.length;;){for(var n=void 0,p=0;pl&&n.from<=l);p++);if(n.to>=m)return a(d,c,e,f,g,h,k);a(d,c.slice(0,n.to-l),e,f,null,h,k);f=null;c=c.slice(n.to-l);l=n.to}}}function Ne(a,b,d,c){var e=!c&&d.widgetNode;e&&a.map.push(a.pos,a.pos+b,e);!c&&a.cm.display.input.needsContentAttribute&&(e||(e=a.content.appendChild(document.createElement("span"))),e.setAttribute("cm-marker",d.id));e&&(a.cm.display.input.setUneditable(e), +a.content.appendChild(e));a.pos+=b;a.trailingSpace=!1}function Oe(a,b,d){for(var c=this.line=b,e;c=sb(c,!1);)c=c.find(1,!0).line,(e||(e=[])).push(c);this.size=(this.rest=e)?N(J(this.rest))-d+1:1;this.node=this.text=null;this.hidden=Pa(a,b)}function Fc(a,b,d){var c=[],e;for(e=b;eT&&(a.node.style.zIndex=2));return a.node}function Qe(a,b){var d=a.display.externalMeasured;return d&&d.line==b.line?(a.display.externalMeasured=null,b.measure=d.measure,d.built):Me(a,b)}function Cd(a,b){var d=b.bgClass?b.bgClass+" "+ +(b.line.bgClass||""):b.line.bgClass;d&&(d+=" CodeMirror-linebackground");if(b.background)d?b.background.className=d:(b.background.parentNode.removeChild(b.background),b.background=null);else if(d){var c=Sb(b);b.background=c.insertBefore(v("div",null,d),c.firstChild);a.display.input.setUneditable(b.background)}b.line.wrapClass?Sb(b).className=b.line.wrapClass:b.node!=b.text&&(b.node.className="");b.text.className=(b.textClass?b.textClass+" "+(b.line.textClass||""):b.line.textClass)||""}function Re(a, +b,d,c){b.gutter&&(b.node.removeChild(b.gutter),b.gutter=null);b.gutterBackground&&(b.node.removeChild(b.gutterBackground),b.gutterBackground=null);if(b.line.gutterClass){var e=Sb(b);b.gutterBackground=v("div",null,"CodeMirror-gutter-background "+b.line.gutterClass,"left: "+(a.options.fixedGutter?c.fixedPos:-c.gutterTotalWidth)+"px; width: "+c.gutterTotalWidth+"px");a.display.input.setUneditable(b.gutterBackground);e.insertBefore(b.gutterBackground,b.text)}e=b.line.gutterMarkers;if(a.options.lineNumbers|| +e){var f=Sb(b),g=b.gutter=v("div",null,"CodeMirror-gutter-wrapper","left: "+(a.options.fixedGutter?c.fixedPos:-c.gutterTotalWidth)+"px");g.setAttribute("aria-hidden","true");a.display.input.setUneditable(g);f.insertBefore(g,b.text);b.line.gutterClass&&(g.className+=" "+b.line.gutterClass);!a.options.lineNumbers||e&&e["CodeMirror-linenumbers"]||(b.lineNumber=g.appendChild(v("div",qd(a.options,d),"CodeMirror-linenumber CodeMirror-gutter-elt","left: "+c.gutterLeft["CodeMirror-linenumbers"]+"px; width: "+ +a.display.lineNumInnerWidth+"px")));if(e)for(b=0;bd)return{map:a.measure.maps[b],cache:a.measure.caches[b],before:!0}}}function Fd(a,b){if(b>=a.display.viewFrom&&b=a.lineN&&bp;p++){for(;h&&kd(b.line.text.charAt(g.coverStart+h));)--h;for(;g.coverStart+kT&&0==h&&k==g.coverEnd-g.coverStart)var q=c.parentNode.getBoundingClientRect();else{q=Qb(c,h,k).getClientRects();k=Xe;if("left"==m)for(l=0;lT&&((p=!window.screen||null==screen.logicalXDPI||screen.logicalXDPI==screen.deviceXDPI)||(null!=Hd?p=Hd:(m=D(a.display.measure,v("span","x")),p=m.getBoundingClientRect(),m=Qb(m,0,1).getBoundingClientRect(),p=Hd=1T)||h||q&&(q.left||q.right)||(q=(q=c.parentNode.getClientRects()[0])?{left:q.left,right:q.left+ub(a.display),top:q.top,bottom:q.bottom}:Xe);c=q.top-b.rect.top;h=q.bottom-b.rect.top;p=(c+h)/2;m=b.view.measure.heights;for(g=0;gb)f=k-h,e=f-1,b>=k&&(g="right");if(null!=e){c=a[l+2];h==k&&d==(c.insertLeft?"left":"right")&&(g=d);if("left"== +d&&0==e)for(;l&&a[l-2]==a[l-3]&&a[l-1].insertLeft;)c=a[(l-=3)+2],g="left";if("right"==d&&e==k-h)for(;l=c.text.length?(l=c.text.length,b="before"):0>=l&&(l=0,b="after");if(!k)return g("before"==b?l-1:l,"before"==b);var m=Kb(k,l,b),n=Lb;m=h(l,m,"before"==b);null!=n&&(m.other=h(l,n,"before"!=b));return m}function cf(a,b){var d=0;b=C(a.doc,b);a.options.lineWrapping||(d=ub(a.display)*b.ch);b=w(a.doc,b.line);a=Ga(b)+a.display.lineSpace.offsetTop;return{left:d,right:d,top:a,bottom:a+b.height}}function Jd(a, +b,d,c,e){a=t(a,b,d);a.xRel=e;c&&(a.outside=c);return a}function Kd(a,b,d){var c=a.doc;d+=a.display.viewOffset;if(0>d)return Jd(c.first,0,null,-1,-1);var e=bb(c,d),f=c.first+c.size-1;if(e>f)return Jd(c.first+c.size-1,w(c,f).text.length,null,1,1);0>b&&(b=0);for(var g=w(c,e);;){f=Qg(a,g,e,b,d);var h=void 0;var k=f.ch+(0k)&&(!h||0>wd(h,m.marker))&&(h= +m.marker)}if(!h)return f;f=h.find(1);if(f.line==e)return f;g=w(c,e=f.line)}}function df(a,b,d,c){c-=Id(b);b=b.text.length;var e=Jb(function(f){return Aa(a,d,f-1).bottom<=c},b,0);b=Jb(function(f){return Aa(a,d,f).top>c},e,b);return{begin:e,end:b}}function ef(a,b,d,c){d||(d=eb(a,b));c=Hc(a,b,Aa(a,d,c),"line").top;return df(a,b,d,c)}function Ld(a,b,d,c){return a.bottom<=d?!1:a.top>d?!0:(c?a.left:a.right)>b}function Qg(a,b,d,c,e){e-=Ga(b);var f=eb(a,b),g=Id(b),h=0,k=b.text.length,l=!0,m=Ja(b,a.doc.direction); +m&&(m=(a.options.lineWrapping?Rg:Sg)(a,b,d,f,m,c,e),h=(l=1!=m.level)?m.from:m.to-1,k=l?m.to:m.from-1);var n=null,p=null;m=Jb(function(r){var u=Aa(a,f,r);u.top+=g;u.bottom+=g;if(!Ld(u,c,e,!1))return!1;u.top<=e&&u.left<=c&&(n=r,p=u);return!0},h,k);var q=!1;p?(h=c-p.left= +q.bottom?1:0);m=te(b.text,m,1);return Jd(d,m,l,q,c-h)}function Sg(a,b,d,c,e,f,g){var h=Jb(function(m){m=e[m];var n=1!=m.level;return Ld(Ba(a,t(d,n?m.to:m.from,n?"before":"after"),"line",b,c),f,g,!0)},0,e.length-1),k=e[h];if(0g&&(k=e[h-1])}return k}function Rg(a,b,d,c,e,f,g){g=df(a,b,c,g);d=g.begin;g=g.end;/\s/.test(b.text.charAt(g-1))&&g--;for(var h=b=null,k=0;k= +g||l.to<=d)){var m=Aa(a,c,1!=l.level?Math.min(g,l.to)-1:Math.max(d,l.from)).right;m=mm)b=l,h=m}}b||(b=e[e.length-1]);b.fromg&&(b={from:b.from,to:g,level:b.level});return b}function vb(a){if(null!=a.cachedTextHeight)return a.cachedTextHeight;if(null==fb){fb=v("pre",null,"CodeMirror-line-like");for(var b=0;49>b;++b)fb.appendChild(document.createTextNode("x")),fb.appendChild(v("br"));fb.appendChild(document.createTextNode("x"))}D(a.measure, +fb);b=fb.offsetHeight/50;3=a.display.viewTo)return null;b-=a.display.viewFrom;if(0>b)return null;a=a.display.view;for(var d=0;db)return d}function ma(a,b,d,c){null==b&&(b=a.doc.first);null==d&&(d=a.doc.first+a.doc.size);c||(c=0);var e=a.display;c&&db)&&(e.updateLineNumbers=b);a.curOp.viewChanged=!0;if(b>=e.viewTo)Ka&&xd(a.doc,b)e.viewFrom?Ra(a):(e.viewFrom+=c,e.viewTo+=c);else if(b<=e.viewFrom&&d>=e.viewTo)Ra(a);else if(b<=e.viewFrom){var f=Jc(a,d,d+c,1);f?(e.view=e.view.slice(f.index),e.viewFrom=f.lineN,e.viewTo+=c):Ra(a)}else if(d>=e.viewTo)(f=Jc(a,b,b,-1))?(e.view=e.view.slice(0,f.index),e.viewTo=f.lineN):Ra(a);else{f=Jc(a,b,b,-1);var g=Jc(a,d,d+c,1);f&&g?(e.view=e.view.slice(0,f.index).concat(Fc(a,f.lineN,g.lineN)).concat(e.view.slice(g.index)),e.viewTo+=c):Ra(a)}if(a=e.externalMeasured)d< +a.lineN?a.lineN+=c:b=e.lineN&&b=c.viewTo||(a=c.view[db(a,b)],null!=a.node&&(a=a.changes||(a.changes=[]),-1==ea(a,d)&&a.push(d)))}function Ra(a){a.display.viewFrom=a.display.viewTo=a.doc.first;a.display.view=[];a.display.viewOffset=0}function Jc(a,b,d,c){var e=db(a,b),f=a.display.view;if(!Ka||d==a.doc.first+ +a.doc.size)return{index:e,lineN:d};for(var g=a.display.viewFrom,h=0;hc?0:f.length-1))return null;d+=c*f[e-(0>c?1:0)].size;e+=c}return{index:e,lineN:d}}function gf(a){a=a.display.view;for(var b=0,d=0;d=a.display.viewTo||k.to().liner&&(r=0);r=Math.round(r);A=Math.round(A);h.appendChild(v("div",null,"CodeMirror-selected","position: absolute; left: "+q+"px;\n top: "+r+"px; width: "+(null==u?m-q:u)+"px;\n height: "+(A-r)+"px"))}function e(q,r,u){function A(F,R){return Ic(a,t(q,F),"div",x,R)}function Y(F,R,H){F=ef(a,x,null,F);R="ltr"==R==("after"== +H)?"left":"right";H="after"==H?F.begin:F.end-(/\s/.test(x.text.charAt(F.end-1))?2:1);return A(H,R)[R]}var x=w(g,q),P=x.text.length,K,Q,S=Ja(x,g.direction);Bg(S,r||0,null==u?P:u,function(F,R,H,L){var ha="ltr"==H,na=A(F,ha?"left":"right"),ua=A(R-1,ha?"right":"left"),hb=null==r&&0==F,ib=null==u&&R==P,Pd=0==L;L=!S||L==S.length-1;3>=ua.top-na.top?(R=(n?hb:ib)&&Pd?l:(ha?na:ua).left,c(R,na.top,((n?ib:hb)&&L?m:(ha?ua:na).right)-R,na.bottom)):(ha?(ha=n&&hb&&Pd?l:na.left,hb=n?m:Y(F,H,"before"),F=n?l:Y(R,H, +"after"),ib=n&&ib&&L?m:ua.right):(ha=n?Y(F,H,"before"):l,hb=!n&&hb&&Pd?m:na.right,F=!n&&ib&&L?l:ua.left,ib=n?Y(R,H,"after"):m),c(ha,na.top,hb-ha,na.bottom),na.bottomKc(na,K))K=na;0>Kc(ua,K)&&(K=ua);if(!Q||0>Kc(na,Q))Q=na;0>Kc(ua,Q)&&(Q=ua)});return{start:K,end:Q}}var f=a.display,g=a.doc,h=document.createDocumentFragment(),k=Ue(a.display),l=k.left,m=Math.max(f.sizerWidth,cb(a)-f.sizer.offsetLeft)-k.right,n="ltr"==g.direction; +f=b.from();b=b.to();if(f.line==b.line)e(f.line,f.ch,b.ch);else{var p=w(g,f.line);k=w(g,b.line);k=za(p)==za(k);f=e(f.line,f.ch,k?p.text.length+1:null).end;b=e(b.line,k?0:null,b.ch).start;k&&(f.topa.options.cursorBlinkRate&&(b.cursorDiv.style.visibility="hidden")}}function jf(a){a.hasFocus()||(a.display.input.focus(),a.state.focused||Rd(a))}function Sd(a){a.state.delayingBlurEvent=!0;setTimeout(function(){a.state.delayingBlurEvent&&(a.state.delayingBlurEvent=!1,a.state.focused&&wb(a))},100)}function Rd(a,b){a.state.delayingBlurEvent&&!a.state.draggingText&&(a.state.delayingBlurEvent= +!1);"nocursor"!=a.options.readOnly&&(a.state.focused||(W(a,"focus",a,b),a.state.focused=!0,Ya(a.display.wrapper,"CodeMirror-focused"),a.curOp||a.display.selForContextMenu==a.doc.sel||(a.display.input.reset(),fa&&setTimeout(function(){return a.display.input.reset(!0)},20)),a.display.input.receivedFocus()),Qd(a))}function wb(a,b){a.state.delayingBlurEvent||(a.state.focused&&(W(a,"blur",a,b),a.state.focused=!1,jb(a.display.wrapper,"CodeMirror-focused")),clearInterval(a.display.blinker),setTimeout(function(){a.state.focused|| +(a.display.shift=!1)},150))}function Lc(a){for(var b=a.display,d=b.lineDiv.offsetTop,c=Math.max(0,b.scroller.getBoundingClientRect().top),e=b.lineDiv.getBoundingClientRect().top,f=0,g=0;gT){k=h.node.offsetTop+h.node.offsetHeight;var m=k-d;d=k}else{var n=h.node.getBoundingClientRect();m=n.bottom-n.top;!k&&h.text.firstChild&&(l=h.text.firstChild.getBoundingClientRect().right-n.left-1)}k=h.line.height- +m;if(.005k)if(ea.display.sizerWidth&&(l=Math.ceil(l/ub(a.display)),l>a.display.maxLineLength&&(a.display.maxLineLength=l,a.display.maxLine=h.line,a.display.maxLineChanged=!0))}}2=e&&(c=bb(b,Ga(w(b,d))-a.wrapper.clientHeight),e=d)}return{from:c,to:Math.max(e,c+1)}}function Td(a,b){var d=a.display,c=vb(a.display);0>b.top&&(b.top=0);var e=a.curOp&&null!=a.curOp.scrollTop?a.curOp.scrollTop:d.scroller.scrollTop, +f=Ed(a),g={};b.bottom-b.top>f&&(b.bottom=b.top+f);var h=a.doc.height+Dd(d),k=b.toph-c;b.tope+f&&(f=Math.min(b.top,(c?h:b.bottom)-f),f!=e&&(g.scrollTop=f));e=a.options.fixedGutter?0:d.gutters.offsetWidth;f=a.curOp&&null!=a.curOp.scrollLeft?a.curOp.scrollLeft:d.scroller.scrollLeft-e;a=cb(a)-d.gutters.offsetWidth;if(d=b.right-b.left>a)b.right=b.left+a;10>b.left?g.scrollLeft=0:b.lefta+f-3&&(g.scrollLeft= +b.right+(d?0:10)-a);return g}function Nc(a,b){null!=b&&(Oc(a),a.curOp.scrollTop=(null==a.curOp.scrollTop?a.doc.scrollTop:a.curOp.scrollTop)+b)}function xb(a){Oc(a);var b=a.getCursor();a.curOp.scrollToPos={from:b,to:b,margin:a.options.cursorScrollMargin}}function Wb(a,b,d){null==b&&null==d||Oc(a);null!=b&&(a.curOp.scrollLeft=b);null!=d&&(a.curOp.scrollTop=d)}function Oc(a){var b=a.curOp.scrollToPos;if(b){a.curOp.scrollToPos=null;var d=cf(a,b.from),c=cf(a,b.to);lf(a,d,c,b.margin)}}function lf(a,b,d, +c){b=Td(a,{left:Math.min(b.left,d.left),top:Math.min(b.top,d.top)-c,right:Math.max(b.right,d.right),bottom:Math.max(b.bottom,d.bottom)+c});Wb(a,b.scrollLeft,b.scrollTop)}function Xb(a,b){2>Math.abs(a.doc.scrollTop-b)||(Ma||Ud(a,{top:b}),mf(a,b,!0),Ma&&Ud(a),Yb(a,100))}function mf(a,b,d){b=Math.max(0,Math.min(a.display.scroller.scrollHeight-a.display.scroller.clientHeight,b));if(a.display.scroller.scrollTop!=b||d)a.doc.scrollTop=b,a.display.scrollbars.setScrollTop(b),a.display.scroller.scrollTop!= +b&&(a.display.scroller.scrollTop=b)}function kb(a,b,d,c){b=Math.max(0,Math.min(b,a.display.scroller.scrollWidth-a.display.scroller.clientWidth));(d?b==a.doc.scrollLeft:2>Math.abs(a.doc.scrollLeft-b))&&!c||(a.doc.scrollLeft=b,nf(a),a.display.scroller.scrollLeft!=b&&(a.display.scroller.scrollLeft=b),a.display.scrollbars.setScrollLeft(b))}function Zb(a){var b=a.display,d=b.gutters.offsetWidth,c=Math.round(a.doc.height+Dd(a.display));return{clientHeight:b.scroller.clientHeight,viewHeight:b.wrapper.clientHeight, +scrollWidth:b.scroller.scrollWidth,clientWidth:b.scroller.clientWidth,viewWidth:b.wrapper.clientWidth,barLeft:a.options.fixedGutter?d:0,docHeight:c,scrollHeight:c+Ha(a)+b.barHeight,nativeBarWidth:b.nativeBarWidth,gutterWidth:d}}function yb(a,b){b||(b=Zb(a));var d=a.display.barWidth,c=a.display.barHeight;of(a,b);for(b=0;4>b&&d!=a.display.barWidth||c!=a.display.barHeight;b++)d!=a.display.barWidth&&a.options.lineWrapping&&Lc(a),of(a,Zb(a)),d=a.display.barWidth,c=a.display.barHeight}function of(a,b){var d= +a.display,c=d.scrollbars.update(b);d.sizer.style.paddingRight=(d.barWidth=c.right)+"px";d.sizer.style.paddingBottom=(d.barHeight=c.bottom)+"px";d.heightForcer.style.borderBottom=c.bottom+"px solid transparent";c.right&&c.bottom?(d.scrollbarFiller.style.display="block",d.scrollbarFiller.style.height=c.bottom+"px",d.scrollbarFiller.style.width=c.right+"px"):d.scrollbarFiller.style.display="";c.bottom&&a.options.coverGutterNextToScrollbar&&a.options.fixedGutter?(d.gutterFiller.style.display="block", +d.gutterFiller.style.height=c.bottom+"px",d.gutterFiller.style.width=b.gutterWidth+"px"):d.gutterFiller.style.display=""}function pf(a){a.display.scrollbars&&(a.display.scrollbars.clear(),a.display.scrollbars.addClass&&jb(a.display.wrapper,a.display.scrollbars.addClass));a.display.scrollbars=new qf[a.options.scrollbarStyle](function(b){a.display.wrapper.insertBefore(b,a.display.scrollbarFiller);z(b,"mousedown",function(){a.state.focused&&setTimeout(function(){return a.display.input.focus()},0)}); +b.setAttribute("cm-not-content","true")},function(b,d){"horizontal"==d?kb(a,b):Xb(a,b)},a);a.display.scrollbars.addClass&&Ya(a.display.wrapper,a.display.scrollbars.addClass)}function lb(a){a.curOp={cm:a,viewChanged:!1,startHeight:a.doc.height,forceUpdate:!1,updateInput:0,typing:!1,changeObjs:null,cursorActivityHandlers:null,cursorActivityCalled:0,selectionChanged:!1,updateMaxLine:!1,scrollLeft:null,scrollTop:null,scrollToPos:null,focus:!1,id:++Ug,markArrays:null};a=a.curOp;tb?tb.ops.push(a):a.ownsGroup= +tb={ops:[a],delayedCallbacks:[]}}function mb(a){(a=a.curOp)&&Ng(a,function(b){for(var d=0;d=f.viewTo)||f.maxLineChanged&&e.options.lineWrapping;c.update=c.mustUpdate&&new Pc(e,c.mustUpdate&&{top:c.scrollTop,ensure:c.scrollToPos},c.forceUpdate)}for(d=0;dn;n++){var p=!1;h=Ba(e, +k);var q=l&&l!=k?Ba(e,l):h;h={left:Math.min(h.left,q.left),top:Math.min(h.top,q.top)-m,right:Math.max(h.left,q.left),bottom:Math.max(h.bottom,q.bottom)+m};q=Td(e,h);var r=e.doc.scrollTop,u=e.doc.scrollLeft;null!=q.scrollTop&&(Xb(e,q.scrollTop),1l.top+n.top? +k=!0:l.bottom+n.top>(p.defaultView.innerHeight||p.documentElement.clientHeight)&&(k=!1),null==k||Vg||(l=v("div","\u200b",null,"position: absolute;\n top: "+(l.top-m.viewOffset-e.display.lineSpace.offsetTop)+"px;\n height: "+(l.bottom-l.top+Ha(e)+m.barHeight)+"px;\n left: "+l.left+"px; width: "+Math.max(2,l.right-l.left)+"px;"),e.display.lineSpace.appendChild(l),l.scrollIntoView(k),e.display.lineSpace.removeChild(l)))}l=c.maybeHiddenMarkers; +k=c.maybeUnhiddenMarkers;if(l)for(m=0;m=a.display.viewTo)){var d=+new Date+a.options.workTime,c=Ob(a,b.highlightFrontier),e=[];b.iter(c.line,Math.min(b.first+b.size,a.display.viewTo+ +500),function(f){if(c.line>=a.display.viewFrom){var g=f.styles,h=f.text.length>a.options.maxHighlightLength?$a(b.mode,c.state):null,k=ze(a,f,c,!0);h&&(c.state=h);f.styles=k.styles;h=f.styleClasses;(k=k.classes)?f.styleClasses=k:h&&(f.styleClasses=null);k=!g||g.length!=f.styles.length||h!=k&&(!h||!k||h.bgClass!=k.bgClass||h.textClass!=k.textClass);for(h=0;!k&&hd)return Yb(a,a.options.workDelay),!0});b.highlightFrontier=c.line;b.modeFrontier=Math.max(b.modeFrontier,c.line);e.length&&ra(a,function(){for(var f=0;f=d.viewFrom&&b.visible.to<=d.viewTo&&(null==d.updateLineNumbers||d.updateLineNumbers>=d.viewTo)&&d.renderedView==d.view&&0==gf(a))return!1;sf(a)&& +(Ra(a),b.dims=Gd(a));var e=c.first+c.size,f=Math.max(b.visible.from-a.options.viewportMargin,c.first),g=Math.min(e,b.visible.to+a.options.viewportMargin);d.viewFromf-d.viewFrom&&(f=Math.max(c.first,d.viewFrom));d.viewTo>g&&20>d.viewTo-g&&(g=Math.min(e,d.viewTo));Ka&&(f=xd(a.doc,f),g=Ke(a.doc,g));c=f!=d.viewFrom||g!=d.viewTo||d.lastWrapHeight!=b.wrapperHeight||d.lastWrapWidth!=b.wrapperWidth;e=a.display;0==e.view.length||f>=e.viewTo||g<=e.viewFrom?(e.view=Fc(a,f,g),e.viewFrom=f):(e.viewFrom> +f?e.view=Fc(a,f,e.viewFrom).concat(e.view):e.viewFromg&&(e.view=e.view.slice(0,db(a,g))));e.viewTo=g;d.viewOffset=Ga(w(a.doc,d.viewFrom));a.display.mover.style.top=d.viewOffset+"px";g=gf(a);if(!c&&0==g&&!b.force&&d.renderedView==d.view&&(null==d.updateLineNumbers||d.updateLineNumbers>=d.viewTo))return!1;a.hasFocus()?f=null:(f=ka(qa(a)))&&ja(a.display.lineDiv,f)?(f={activeElt:f},window.getSelection&& +(e=qa(a).defaultView.getSelection(),e.anchorNode&&e.extend&&ja(a.display.lineDiv,e.anchorNode)&&(f.anchorNode=e.anchorNode,f.anchorOffset=e.anchorOffset,f.focusNode=e.focusNode,f.focusOffset=e.focusOffset))):f=null;4=a.display.viewFrom&&b.visible.to<=a.display.viewTo)break;if(!Vd(a,b))break;Lc(a);c=Zb(a);Vb(a);yb(a,c);Wd(a,c);b.force=!1}b.signal(a,"update",a);if(a.display.viewFrom!=a.display.reportedViewFrom||a.display.viewTo!=a.display.reportedViewTo)b.signal(a,"viewportChange",a,a.display.viewFrom,a.display.viewTo),a.display.reportedViewFrom= +a.display.viewFrom,a.display.reportedViewTo=a.display.viewTo}function Ud(a,b){b=new Pc(a,b);if(Vd(a,b)){Lc(a);rf(a,b);var d=Zb(a);Vb(a);yb(a,d);Wd(a,d);b.finish()}}function Xg(a,b,d){function c(p){var q=p.nextSibling;fa&&ya&&a.display.currentWheelTarget==p?p.style.display="none":p.parentNode.removeChild(p);return q}var e=a.display,f=a.options.lineNumbers,g=e.lineDiv,h=g.firstChild,k=e.view;e=e.viewFrom;for(var l=0;l +T&&(this.gutters.style.zIndex=-1,this.scroller.style.paddingRight=0);fa||Ma&&ac||(this.scroller.draggable=!0);a&&(a.appendChild?a.appendChild(this.wrapper):a(this.wrapper));this.reportedViewFrom=this.reportedViewTo=this.viewFrom=this.viewTo=b.first;this.view=[];this.externalMeasured=this.renderedView=null;this.lastWrapHeight=this.lastWrapWidth=this.viewOffset=0;this.updateLineNumbers=null;this.nativeBarWidth=this.barHeight=this.barWidth=0;this.scrollbarsClipped=!1;this.lineNumWidth=this.lineNumInnerWidth= +this.lineNumChars=null;this.alignWidgets=!1;this.maxLine=this.cachedCharWidth=this.cachedTextHeight=this.cachedPaddingH=null;this.maxLineLength=0;this.maxLineChanged=!1;this.wheelDX=this.wheelDY=this.wheelStartX=this.wheelStartY=null;this.shift=!1;this.activeTouch=this.selForContextMenu=null;this.gutterSpecs=Yd(c.gutters,c.lineNumbers);tf(this);d.init(this)}function vf(a){var b=a.wheelDeltaX,d=a.wheelDeltaY;null==b&&a.detail&&a.axis==a.HORIZONTAL_AXIS&&(b=a.detail);null==d&&a.detail&&a.axis==a.VERTICAL_AXIS? +d=a.detail:null==d&&(d=a.wheelDelta);return{x:b,y:d}}function Zg(a){a=vf(a);a.x*=Na;a.y*=Na;return a}function wf(a,b){Qa&&102==uf&&(null==a.display.chromeScrollHack?a.display.sizer.style.pointerEvents="none":clearTimeout(a.display.chromeScrollHack),a.display.chromeScrollHack=setTimeout(function(){a.display.chromeScrollHack=null;a.display.sizer.style.pointerEvents=""},100));var d=vf(b),c=d.x;d=d.y;var e=Na;0===b.deltaMode&&(c=b.deltaX,d=b.deltaY,e=1);var f=a.display,g=f.scroller,h=g.scrollWidth>g.clientWidth, +k=g.scrollHeight>g.clientHeight;if(c&&h||d&&k){if(d&&ya&&fa){h=b.target;var l=f.view;a:for(;h!=g;h=h.parentNode)for(var m=0;me?k=Math.max(0,k+e-50):h=Math.min(a.doc.height,h+e+50),Ud(a,{top:k,bottom:h})),20>Qc&&0!==b.deltaMode&&(null==f.wheelStartX?(f.wheelStartX=g.scrollLeft,f.wheelStartY=g.scrollTop,f.wheelDX=c,f.wheelDY=d,setTimeout(function(){if(null!= +f.wheelStartX){var n=g.scrollLeft-f.wheelStartX,p=g.scrollTop-f.wheelStartY;n=p&&f.wheelDY&&p/f.wheelDY||n&&f.wheelDX&&n/f.wheelDX;f.wheelStartX=f.wheelStartY=null;n&&(Na=(Na*Qc+n)/(Qc+1),++Qc)}},200)):(f.wheelDX+=c,f.wheelDY+=d))):(d&&k&&Xb(a,Math.max(0,g.scrollTop+d*e)),kb(a,Math.max(0,g.scrollLeft+c*e)),(!d||d&&k)&&la(b),f.wheelStartX=null)}}function Da(a,b,d){a=a&&a.options.selectionsMayTouch;d=b[d];b.sort(function(k,l){return B(k.from(),l.from())});d=ea(b,d);for(var c=1;cB(a,b.from))return a;if(0>=B(a,b.to))return Ta(b);var d=a.line+b.text.length-(b.to.line-b.from.line)- +1,c=a.ch;a.line==b.to.line&&(c+=Ta(b).ch-b.to.ch);return t(d,c)}function Zd(a,b){for(var d=[],c=0;cf-(a.cm?a.cm.options.historyEventDelay:500)||"*"==b.origin.charAt(0))){if(e.lastOp==c){Df(e.done);var h=J(e.done)}else e.done.length&&!J(e.done).ranges?h=J(e.done):1e.undoDepth;)e.done.shift(),e.done[0].ranges||e.done.shift();e.done.push(d);e.generation=++e.maxGeneration;e.lastModTime=e.lastSelTime=f;e.lastOp=e.lastSelOp=c;e.lastOrigin=e.lastSelOrigin=b.origin;k||W(a,"historyAdded")} +function Sc(a,b){var d=J(b);d&&d.ranges&&d.equals(a)||b.push(a)}function Cf(a,b,d,c){var e=b["spans_"+a.id],f=0;a.iter(Math.max(a.first,d),Math.min(a.first+a.size,c),function(g){g.markedSpans&&((e||(e=b["spans_"+a.id]={}))[f]=g.markedSpans);++f})}function Ff(a,b){var d;if(d=b["spans_"+a.id]){for(var c=[],e=0;eB(b,a),c!=0>B(d,a)?(a=b,b=d):c!=0>B(b,d)&&(b=d)),new I(a,b)):new I(d||b,b)}function Tc(a,b,d,c,e){null==e&&(e=a.cm&&(a.cm.display.shift||a.extend));da(a,new va([ce(a.sel.primary(),b,d,e)],0),c)}function Gf(a,b,d){for(var c=[],e=a.cm&&(a.cm.display.shift||a.extend),f=0;fB(b.primary().head,a.sel.primary().head)?-1:1);If(a,Jf(a,b,c,!0));d&&!1===d.scroll||!a.cm||"nocursor"==a.cm.getOption("readOnly")||xb(a.cm)}function If(a,b){b.equals(a.sel)||(a.sel=b,a.cm&&(a.cm.curOp.updateInput=1,a.cm.curOp.selectionChanged=!0,ue(a.cm)),aa(a,"cursorActivity",a))}function Kf(a){If(a,Jf(a,a.sel,null,!1))}function Jf(a,b,d,c){for(var e, +f=0;f=b.ch:h.to>b.ch))){if(e&&(W(k,"beforeCursorEnter"),k.explicitlyCleared))if(f.markedSpans){--g;continue}else break;if(k.atomic){if(d){g=k.find(0>c?1:-1);h=void 0;if(0>c?m:l)g=Lf(a,g,-c,g&&g.line==b.line?f:null);if(g&&g.line==b.line&&(h=B(g,d))&&(0>c?0>h:0c?-1:1);if(0>c?l:m)d=Lf(a,d,c,d.line==b.line?f:null);return d?Bb(a,d,b,c,e):null}}}return b}function Vc(a,b,d,c,e){c=c||1;b= +Bb(a,b,d,c,e)||!e&&Bb(a,b,d,c,!0)||Bb(a,b,d,-c,e)||!e&&Bb(a,b,d,-c,!0);return b?b:(a.cantEdit=!0,t(a.first,0))}function Lf(a,b,d,c){return 0>d&&0==b.ch?b.line>a.first?C(a,t(b.line-1)):null:0a.lastLine())){if(b.from.linee&&(b={from:b.from,to:t(e,w(a,e).text.length),text:[b.text[0]],origin:b.origin});b.removed=ab(a,b.from,b.to);d||(d=Zd(a,b));a.cm?bh(a.cm, +b,c):ae(a,b,c);Uc(a,d,Ia);a.cantEdit&&Vc(a,t(a.firstLine(),0))&&(a.cantEdit=!1)}}function bh(a,b,d){var c=a.doc,e=a.display,f=b.from,g=b.to,h=!1,k=f.line;a.options.lineWrapping||(k=N(za(w(c,f.line))),c.iter(k,g.line+1,function(l){if(l==e.maxLine)return h=!0}));-1e.maxLineLength&&(e.maxLine=l,e.maxLineLength=m,e.maxLineChanged=!0,h=!1)}),h&&(a.curOp.updateMaxLine=!0)); +Gg(c,f.line);Yb(a,400);d=b.text.length-(g.line-f.line)-1;b.full?ma(a):f.line!=g.line||1!=b.text.length||zf(a.doc,b)?ma(a,f.line,g.line+1,d):Sa(a,f.line,"text");d=xa(a,"changes");if((c=xa(a,"change"))||d)b={from:f,to:g,text:b.text,removed:b.removed,origin:b.origin},c&&aa(a,"change",a,b),d&&(a.curOp.changeObjs||(a.curOp.changeObjs=[])).push(b);a.display.selForContextMenu=null}function Db(a,b,d,c,e){c||(c=d);0>B(c,d)&&(c=[c,d],d=c[0],c=c[1]);"string"==typeof b&&(b=a.splitLines(b));Cb(a,{from:d,to:c, +text:b,origin:e})}function Sf(a,b,d,c){d=B(f.from,J(c).to);){var g=c.pop();if(0>B(g.from,f.from)){f.from=g.from;break}}c.push(f)}ra(a,function(){for(var h=c.length-1;0<=h;h--)Db(a.doc,"",c[h].from,c[h].to,"+delete");xb(a)})}function ee(a,b,d){b=te(a.text,b+d,d);return 0>b||b>a.text.length?null:b}function fe(a,b,d){a=ee(a,b.ch,d);return null==a?null:new t(b.line,a,0>d?"after":"before")}function ge(a,b,d,c,e){if(a&&("rtl"== +b.doc.direction&&(e=-e),a=Ja(d,b.doc.direction))){a=0>e?J(a):a[0];var f=0>e==(1==a.level)?"after":"before";if(0e?d.text.length-1:0;var k=Aa(b,g,h).top;h=Jb(function(l){return Aa(b,g,l).top==k},0>e==(1==a.level)?a.from:a.to-1,h);"before"==f&&(h=ee(d,h,1))}else h=0>e?a.to:a.from;return new t(c,h,f)}return new t(c,0>e?d.text.length:0,0>e?"before":"after")}function kh(a,b,d,c){var e=Ja(b,a.doc.direction);if(!e)return fe(b,d,c);d.ch>=b.text.length? +(d.ch=b.text.length,d.sticky="before"):0>=d.ch&&(d.ch=0,d.sticky="after");var f=Kb(e,d.ch,d.sticky),g=e[f];if("ltr"==a.doc.direction&&0==g.level%2&&(0d.ch:g.fromc,p=h(d,n?1:-1);if(null!=p&&(n?p<=g.to&&p<=m.end: +p>=g.from&&p>=m.begin))return new t(d.line,p,n?"before":"after")}g=function(q,r,u){for(var A=function(K,Q){return Q?new t(d.line,h(K,1),"before"):new t(d.line,K,"after")};0<=q&&q +T&&27==a.keyCode&&(a.returnValue=!1);var b=a.keyCode;this.display.shift=16==b||a.shiftKey;var d=fg(this,a);Ca&&(he=d?b:null,!d&&88==b&&!nh&&(ya?a.metaKey:a.ctrlKey)&&this.replaceSelection("",null,"cut"));Ma&&!ya&&!d&&46==b&&a.shiftKey&&!a.ctrlKey&&document.execCommand&&document.execCommand("cut");18!=b||/\bCodeMirror-crosshair\b/.test(this.display.lineDiv.className)||oh(this)}}function oh(a){function b(c){18!=c.keyCode&&c.altKey||(jb(d,"CodeMirror-crosshair"),ta(document,"keyup",b),ta(document,"mouseover", +b))}var d=a.display.lineDiv;Ya(d,"CodeMirror-crosshair");z(document,"keyup",b);z(document,"mouseover",b)}function hg(a){16==a.keyCode&&(this.doc.sel.shift=!1);Z(this,a)}function ig(a){if(!(a.target&&a.target!=this.display.input.getField()||La(this.display,a)||Z(this,a)||a.ctrlKey&&!a.altKey||ya&&a.metaKey)){var b=a.keyCode,d=a.charCode;if(Ca&&b==he)he=null,la(a);else if(!Ca||a.which&&!(10>a.which)||!fg(this,a))if(b=String.fromCharCode(null==d?b:d),"\b"!=b&&!mh(this,a,b))this.display.input.onKeyPress(a)}} +function ph(a,b){var d=+new Date;if(lc&&lc.compare(d,a,b))return mc=lc=null,"triple";if(mc&&mc.compare(d,a,b))return lc=new ie(d,a,b),mc=null,"double";mc=new ie(d,a,b);lc=null;return"single"}function jg(a){var b=this.display;if(!(Z(this,a)||b.activeTouch&&b.input.supportsTouch()))if(b.input.ensurePolled(),b.shift=a.shiftKey,La(b,a))fa||(b.scroller.draggable=!1,setTimeout(function(){return b.scroller.draggable=!0},100));else if(!$c(this,a,"gutterClick",!0)){var d=gb(this,a),c=we(a),e=d?ph(d,c):"single"; +qa(this).defaultView.focus();1==c&&this.state.selectingText&&this.state.selectingText(a);if(!d||!qh(this,c,d,e,a))if(1==c)d?rh(this,d,e,a):(a.target||a.srcElement)==b.scroller&&la(a);else if(2==c)d&&Tc(this.doc,d),setTimeout(function(){return b.input.focus()},20);else if(3==c)if(je)this.display.input.onContextMenu(a);else Sd(this)}}function qh(a,b,d,c,e){var f="Click";"double"==c?f="Double"+f:"triple"==c&&(f="Triple"+f);return kc(a,$f((1==b?"Left":2==b?"Middle":"Right")+f,e),e,function(g){"string"== +typeof g&&(g=jc[g]);if(!g)return!1;var h=!1;try{a.isReadOnly()&&(a.state.suppressEdits=!0),h=g(a,d)!=Zc}finally{a.state.suppressEdits=!1}return h})}function rh(a,b,d,c){G?setTimeout(gd(jf,a),0):a.curOp.focus=ka(qa(a));var e=a.getOption("configureMouse");e=e?e(a,d,c):{};null==e.unit&&(e.unit=(sh?c.shiftKey&&c.metaKey:c.altKey)?"rectangle":"single"==d?"char":"double"==d?"word":"line");if(null==e.extend||a.doc.extend)e.extend=a.doc.extend||c.shiftKey;null==e.addNew&&(e.addNew=ya?c.metaKey:c.ctrlKey); +null==e.moveOnDrag&&(e.moveOnDrag=!(ya?c.altKey:c.ctrlKey));var f=a.doc.sel,g;a.options.dragDrop&&th&&!a.isReadOnly()&&"single"==d&&-1<(g=f.contains(b))&&(0>B((g=f.ranges[g]).from(),b)||0b.xRel)?uh(a,c,b,e):vh(a,c,b,e)}function uh(a,b,d,c){var e=a.display,f=!1,g=ba(a,function(l){fa&&(e.scroller.draggable=!1);a.state.draggingText=!1;a.state.delayingBlurEvent&&(a.hasFocus()?a.state.delayingBlurEvent=!1:Sd(a));ta(e.wrapper.ownerDocument,"mouseup",g);ta(e.wrapper.ownerDocument, +"mousemove",h);ta(e.scroller,"dragstart",k);ta(e.scroller,"drop",g);f||(la(l),c.addNew||Tc(a.doc,d,null,null,c.extend),fa&&!ad||G&&9==T?setTimeout(function(){e.wrapper.ownerDocument.body.focus({preventScroll:!0});e.input.focus()},20):e.input.focus())}),h=function(l){f=f||10<=Math.abs(b.clientX-l.clientX)+Math.abs(b.clientY-l.clientY)},k=function(){return f=!0};fa&&(e.scroller.draggable=!0);a.state.draggingText=g;g.copy=!c.moveOnDrag;z(e.wrapper.ownerDocument,"mouseup",g);z(e.wrapper.ownerDocument, +"mousemove",h);z(e.scroller,"dragstart",k);z(e.scroller,"drop",g);a.state.delayingBlurEvent=!0;setTimeout(function(){return e.input.focus()},20);e.scroller.dragDrop&&e.scroller.dragDrop()}function kg(a,b,d){if("char"==d)return new I(b,b);if("word"==d)return a.findWordAt(b);if("line"==d)return new I(t(b.line,0),C(a.doc,t(b.line+1,0)));a=d(a,b);return new I(a.from,a.to)}function vh(a,b,d,c){function e(x){if(0!=B(q,x))if(q=x,"rectangle"==c.unit){var P=[],K=a.options.tabSize,Q=wa(w(k,d.line).text,d.ch, +K),S=wa(w(k,x.line).text,x.ch,K),F=Math.min(Q,S);Q=Math.max(Q,S);S=Math.min(d.line,x.line);for(var R=Math.min(a.lastLine(),Math.max(d.line,x.line));S<=R;S++){var H=w(k,S).text,L=hd(H,F,K);F==Q?P.push(new I(t(S,L),t(S,L))):H.length>L&&P.push(new I(t(S,L),t(S,hd(H,Q,K))))}P.length||P.push(new I(d,d));da(k,Da(a,l.ranges.slice(0,n).concat(P),n),{origin:"*mouse",scroll:!1});a.scrollIntoView(x)}else P=p,F=kg(a,x,c.unit),x=P.anchor,0=Q.to||K.liner.bottom?20:0;S&&setTimeout(ba(a,function(){u==P&&(h.scroller.scrollTop+=S,f(x))}),50)}}function g(x){a.state.selectingText=!1;u=Infinity;x&&(la(x),h.input.focus());ta(h.wrapper.ownerDocument, +"mousemove",A);ta(h.wrapper.ownerDocument,"mouseup",Y);k.history.lastSelOrigin=null}G&&Sd(a);var h=a.display,k=a.doc;la(b);var l=k.sel,m=l.ranges;if(c.addNew&&!c.extend){var n=k.sel.contains(d);var p=-1f:0=Math.floor(a.display.gutters.getBoundingClientRect().right))return!1;c&&la(b);c=a.display;var g=c.lineDiv.getBoundingClientRect();if(f>g.bottom||!xa(a,d))return ld(b);f-=g.top-c.viewOffset;for(g=0;g=e)return e=bb(a.doc,f),W(a,d,a,e,a.display.gutterSpecs[g].className,b),ld(b)}}function lg(a,b){var d;(d=La(a.display,b))||(d=xa(a,"gutterContextMenu")?$c(a, +b,"gutterContextMenu",!1):!1);if(!d&&!Z(a,b,"contextmenu")&&!je)a.display.input.onContextMenu(b)}function mg(a){a.display.wrapper.className=a.display.wrapper.className.replace(/\s*cm-s-\S+/g,"")+a.options.theme.replace(/(^|\s)\s*/g," cm-s-");Ub(a)}function xh(a,b,d){!b!=!(d&&d!=Hb)&&(d=a.display.dragFunctions,b=b?z:ta,b(a.display.scroller,"dragstart",d.start),b(a.display.scroller,"dragenter",d.enter),b(a.display.scroller,"dragover",d.over),b(a.display.scroller,"dragleave",d.leave),b(a.display.scroller, +"drop",d.drop))}function yh(a){a.options.lineWrapping?(Ya(a.display.wrapper,"CodeMirror-wrap"),a.display.sizer.style.minWidth="",a.display.sizerWidth=null):(jb(a.display.wrapper,"CodeMirror-wrap"),zd(a));Nd(a);ma(a);Ub(a);setTimeout(function(){return yb(a)},100)}function U(a,b){var d=this;if(!(this instanceof U))return new U(a,b);this.options=b=b?Za(b):{};Za(ng,b,!1);var c=b.value;"string"==typeof c?c=new oa(c,b.mode,null,b.lineSeparator,b.direction):b.mode&&(c.modeOption=b.mode);this.doc=c;var e= +new U.inputStyles[b.inputStyle](this);a=this.display=new Yg(a,c,e,b);a.wrapper.CodeMirror=this;mg(this);b.lineWrapping&&(this.display.wrapper.className+=" CodeMirror-wrap");pf(this);this.state={keyMaps:[],overlays:[],modeGen:0,overwrite:!1,delayingBlurEvent:!1,focused:!1,suppressEdits:!1,pasteIncoming:-1,cutIncoming:-1,selectingText:!1,draggingText:!1,highlight:new Xa,keySeq:null,specialChars:null};b.autofocus&&!ac&&a.input.focus();G&&11>T&&setTimeout(function(){return d.display.input.reset(!0)}, +20);zh(this);og||(gh(),og=!0);lb(this);this.curOp.forceUpdate=!0;Af(this,c);b.autofocus&&!ac||this.hasFocus()?setTimeout(function(){d.hasFocus()&&!d.state.focused&&Rd(d)},20):wb(this);for(var f in bd)if(bd.hasOwnProperty(f))bd[f](this,b[f],Hb);sf(this);b.finishInit&&b.finishInit(this);for(c=0;cT?z(c.scroller,"dblclick",ba(a,function(h){if(!Z(a,h)){var k=gb(a,h);!k||$c(a,h,"gutterClick",!0)||La(a.display,h)||(la(h),h=a.findWordAt(k),Tc(a.doc,h.anchor,h.head))}})):z(c.scroller,"dblclick",function(h){return Z(a,h)||la(h)});z(c.scroller,"contextmenu",function(h){return lg(a, +h)});z(c.input.getField(),"contextmenu",function(h){c.scroller.contains(h.target)||lg(a,h)});var e,f={end:0};z(c.scroller,"touchstart",function(h){var k;if(k=!Z(a,h))1!=h.touches.length?k=!1:(k=h.touches[0],k=1>=k.radiusX&&1>=k.radiusY),k=!k;k&&!$c(a,h,"gutterClick",!0)&&(c.input.ensurePolled(),clearTimeout(e),k=+new Date,c.activeTouch={start:k,moved:!1,prev:300>=k-f.end?f:null},1==h.touches.length&&(c.activeTouch.left=h.touches[0].pageX,c.activeTouch.top=h.touches[0].pageY))});z(c.scroller,"touchmove", +function(){c.activeTouch&&(c.activeTouch.moved=!0)});z(c.scroller,"touchend",function(h){var k=c.activeTouch;if(k&&!La(c,h)&&null!=k.left&&!k.moved&&300>new Date-k.start){var l=a.coordsChar(c.activeTouch,"page");k=!k.prev||d(k,k.prev)?new I(l,l):!k.prev.prev||d(k,k.prev.prev)?a.findWordAt(l):new I(t(l.line,0),C(a.doc,t(l.line+1,0)));a.setSelection(k.anchor,k.head);a.focus();la(h)}b()});z(c.scroller,"touchcancel",b);z(c.scroller,"scroll",function(){c.scroller.clientHeight&&(Xb(a,c.scroller.scrollTop), +kb(a,c.scroller.scrollLeft,!0),W(a,"scroll",a))});z(c.scroller,"mousewheel",function(h){return wf(a,h)});z(c.scroller,"DOMMouseScroll",function(h){return wf(a,h)});z(c.wrapper,"scroll",function(){return c.wrapper.scrollTop=c.wrapper.scrollLeft=0});c.dragFunctions={enter:function(h){Z(a,h)||Mb(h)},over:function(h){if(!Z(a,h)){var k=gb(a,h);if(k){var l=document.createDocumentFragment();Od(a,k,l);a.display.dragCursor||(a.display.dragCursor=v("div",null,"CodeMirror-cursors CodeMirror-dragcursors"),a.display.lineSpace.insertBefore(a.display.dragCursor, +a.display.cursorDiv));D(a.display.dragCursor,l)}Mb(h)}},start:function(h){if(G&&(!a.state.draggingText||100>+new Date-Xf))Mb(h);else if(!Z(a,h)&&!La(a.display,h)&&(h.dataTransfer.setData("Text",a.getSelection()),h.dataTransfer.effectAllowed="copyMove",h.dataTransfer.setDragImage&&!ad)){var k=v("img",null,null,"position: fixed; left: 0; top: 0;");k.src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==";Ca&&(k.width=k.height=1,a.display.wrapper.appendChild(k),k._top=k.offsetTop); +h.dataTransfer.setDragImage(k,0,0);Ca&&k.parentNode.removeChild(k)}},drop:ba(a,fh),leave:function(h){Z(a,h)||Wf(a)}};var g=c.input.getField();z(g,"keyup",function(h){return hg.call(a,h)});z(g,"keydown",ba(a,gg));z(g,"keypress",ba(a,ig));z(g,"focus",function(h){return Rd(a,h)});z(g,"blur",function(h){return wb(a,h)})}function nc(a,b,d,c){var e=a.doc,f;null==d&&(d="add");"smart"==d&&(e.mode.indent?f=Ob(a,b).state:d="prev");var g=a.options.tabSize,h=w(e,b),k=wa(h.text,null,g);h.stateAfter&&(h.stateAfter= +null);var l=h.text.match(/^\s*/)[0];if(!c&&!/\S/.test(h.text)){var m=0;d="not"}else if("smart"==d&&(m=e.mode.indent(f,h.text.slice(l.length),h.text),m==Zc||150e.first?wa(w(e,b-1).text,null,g):0:"add"==d?m=k+a.options.indentUnit:"subtract"==d?m=k-a.options.indentUnit:"number"==typeof d&&(m=k+d);m=Math.max(0,m);d="";c=0;if(a.options.indentWithTabs)for(a=Math.floor(m/g);a;--a)c+=g,d+="\t";cg,k=ne(b),l=null;if(h&&1g?"cut":"+input")};Cb(a.doc,p);aa(a,"inputRead",a,p)}b&&!h&&pg(a,b);xb(a);2>a.curOp.updateInput&& +(a.curOp.updateInput=m);a.curOp.typing=!0;a.state.pasteIncoming=a.state.cutIncoming=-1}function qg(a,b){var d=a.clipboardData&&a.clipboardData.getData("Text");if(d)return a.preventDefault(),b.isReadOnly()||b.options.disableInput||!b.hasFocus()||ra(b,function(){return me(b,d,0,null,"paste")}),!0}function pg(a,b){if(a.options.electricChars&&a.options.smartIndent)for(var d=a.doc.sel,c=d.ranges.length-1;0<=c;c--){var e=d.ranges[c];if(!(100A:56320<=A&&57343>A)?2:1))),-d)}else A=e?kh(a.cm,k,b,d):fe(k,b,d);if(null==A){if(u=!u)u=b.line+l,u=a.first+a.size?u=!1:(b=new t(u,b.ch,b.sticky),u=k=w(a,u));if(u)b=ge(e,a.cm,k,b.line,l);else return!1}else b=A;return!0}var g=b,h=d,k=w(a,b.line),l=e&&"rtl"==a.direction?-d:d;if("char"==c||"codepoint"==c)f();else if("column"== +c)f(!0);else if("word"==c||"group"==c)for(var m=null,n="group"==c,p=a.cm&&a.cm.getHelper(b,"wordChars"),q=!0;!(0>d)||f(!q);q=!1){var r=k.text.charAt(b.ch)||"\n";r=xc(r,p)?"w":n&&"\n"==r?"n":!n||/\s/.test(r)?null:"p";!n||q||r||(r="s");if(m&&m!=r){0>d&&(d=1,f(),b.sticky="after");break}r&&(m=r);if(0d?0>=g:g>=e.height){b.hitSide=!0;break}g+=5*d}return b}function ug(a,b){var d=Fd(a,b.line);if(!d||d.hidden)return null;var c=w(a.doc,b.line);d=Ve(d,c,b.line);a=Ja(c,a.doc.direction);c="left";a&&(c=Kb(a,b.ch)%2?"right":"left");b=We(d.map,b.ch,c);b.offset="right"==b.collapse?b.end:b.start;return b}function Ah(a){for(;a;a=a.parentNode)if(/CodeMirror-gutter-wrapper/.test(a.className))return!0; +return!1}function Ib(a,b){b&&(a.bad=!0);return a}function Bh(a,b,d,c,e){function f(q){return function(r){return r.id==q}}function g(){m&&(l+=n,p&&(l+=n),m=p=!1)}function h(q){q&&(g(),l+=q)}function k(q){if(1==q.nodeType){var r=q.getAttribute("cm-text");if(r)h(r);else{r=q.getAttribute("cm-marker");var u;if(r)q=a.findMarks(t(c,0),t(e+1,0),f(+r)),q.length&&(u=q[0].find(0))&&h(ab(a.doc,u.from,u.to).join(n));else if("false"!=q.getAttribute("contenteditable")&&(u=/^(pre|div|p|li|table|br)$/i.test(q.nodeName), +/^br$/i.test(q.nodeName)||0!=q.textContent.length)){u&&g();for(r=0;rq?k.map:l[q],u=0;uq?a.line:a.rest[q]);q=r[u]+p;if(0>p||A!=m)q=r[u+(p?1:0)];return t(n,q)}}}var e=a.text.firstChild,f=!1;if(!b||!ja(e,b))return Ib(t(N(a.line),0),!0); +if(b==e&&(f=!0,b=e.childNodes[d],d=0,!b))return d=a.rest?J(a.rest):a.line,Ib(t(N(d),d.text.length),f);var g=3==b.nodeType?b:null,h=b;g||1!=b.childNodes.length||3!=b.firstChild.nodeType||(g=b.firstChild,d&&(d=g.nodeValue.length));for(;h.parentNode!=e;)h=h.parentNode;var k=a.measure,l=k.maps;if(b=c(g,h,d))return Ib(b,f);e=h.nextSibling;for(g=g?g.nodeValue.length-d:0;e;e=e.nextSibling){if(b=c(e,e.firstChild,0))return Ib(t(b.line,b.ch-g),f);g+=e.textContent.length}for(h=h.previousSibling;h;h=h.previousSibling){if(b= +c(h,h.firstChild,-1))return Ib(t(b.line,b.ch+d),f);d+=h.textContent.length}}var pa=navigator.userAgent,vg=navigator.platform,Ma=/gecko\/\d/i.test(pa),wg=/MSIE \d/.test(pa),xg=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(pa),dd=/Edge\/(\d+)/.exec(pa),G=wg||xg||dd,T=G&&(wg?document.documentMode||6:+(dd||xg)[1]),fa=!dd&&/WebKit\//.test(pa),Dh=fa&&/Qt\/\d+\.\d+/.test(pa),Qa=!dd&&/Chrome\/(\d+)/.exec(pa),uf=Qa&&+Qa[1],Ca=/Opera\//.test(pa),ad=/Apple Computer/.test(navigator.vendor),Eh=/Mac OS X 1\d\D([8-9]|\d\d)\D/.test(pa), +Vg=/PhantomJS/.test(pa),oc=ad&&(/Mobile\/\w+/.test(pa)||2nb)),je=Ma||G&&9<=T,jb=function(a,b){var d=a.className;if(b=y(b).exec(d)){var c=d.slice(b.index+b[0].length);a.className=d.slice(0,b.index)+ +(c?b[1]+c:"")}};var Qb=document.createRange?function(a,b,d,c){var e=document.createRange();e.setEnd(c||a,d);e.setStart(a,b);return e}:function(a,b,d){var c=document.body.createTextRange();try{c.moveToElementText(a.parentNode)}catch(e){return c}c.collapse(!0);c.moveEnd("character",d);c.moveStart("character",b);return c};var pc=function(a){a.select()};oc?pc=function(a){a.selectionStart=0;a.selectionEnd=a.value.length}:G&&(pc=function(a){try{a.select()}catch(b){}});var Xa=function(){this.f=this.id=null; +this.time=0;this.handler=gd(this.onTimeout,this)};Xa.prototype.onTimeout=function(a){a.id=0;a.time<=+new Date?a.f():setTimeout(a.handler,a.time-+new Date)};Xa.prototype.set=function(a,b){this.f=b;b=+new Date+a;if(!this.id||b=r?"bbbbbbbbbtstwsbbbbbbbbbbbbbbssstwNN%%%NNNNNN,N,N1111111111NNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNbbbbbbsbbbbbbbbbbbbbbbbbbbbbbbbbb,N%%%%NNNNLNNNNN%%11NLNNN1LNNNNNLLLLLLLLLLLLLLLLLLLLLLLNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLN".charAt(r): +1424<=r&&1524>=r?"R":1536<=r&&1785>=r?"nnnnnnNNr%%r,rNNmmmmmmmmmmmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmmmmmmmmnnnnnnnnnn%nnrrrmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmnNmmmmmmrrmmNmmmmrr1111111111".charAt(r-1536):1774<=r&&2220>=r?"r":8192<=r&&8203>=r?"w":8204==r?"b":"L";q.call(p,r)}n=0;for(p=k;nT)return!1;var a=v("div");return"draggable"in a||"dragDrop"in a}(),Bd,Ad,ne=3!="\n\nb".split(/\n/).length?function(a){for(var b=0,d=[],c=a.length;b<=c;){var e=a.indexOf("\n",b);-1==e&&(e=a.length);var f=a.slice(b,"\r"==a.charAt(e-1)?e-1:e),g=f.indexOf("\r"); +-1!=g?(d.push(f.slice(0,g)),b+=g+1):(d.push(f),b=e+1)}return d}:function(a){return a.split(/\r\n?|\n/)},Gh=window.getSelection?function(a){try{return a.selectionStart!=a.selectionEnd}catch(b){return!1}}:function(a){try{var b=a.ownerDocument.selection.createRange()}catch(d){}return b&&b.parentElement()==a?0!=b.compareEndPoints("StartToEnd",b):!1},nh=function(){var a=v("div");if("oncopy"in a)return!0;a.setAttribute("oncopy","return;");return"function"==typeof a.oncopy}(),Hd=null,md={},qb={},rb={},X= +function(a,b,d){this.pos=this.start=0;this.string=a;this.tabSize=b||8;this.lineStart=this.lastColumnPos=this.lastColumnValue=0;this.lineOracle=d};X.prototype.eol=function(){return this.pos>=this.string.length};X.prototype.sol=function(){return this.pos==this.lineStart};X.prototype.peek=function(){return this.string.charAt(this.pos)||void 0};X.prototype.next=function(){if(this.posb};X.prototype.eatSpace=function(){for(var a=this.pos;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++this.pos;return this.pos>a};X.prototype.skipToEnd=function(){this.pos=this.string.length};X.prototype.skipTo=function(a){a=this.string.indexOf(a,this.pos);if(-1this.maxLookAhead&&(this.maxLookAhead=a);return b};Fa.prototype.baseToken=function(a){if(!this.baseTokens)return null;for(;this.baseTokens[this.baseTokenPos]<=a;)this.baseTokenPos+=2;var b=this.baseTokens[this.baseTokenPos+ +1];return{type:b&&b.replace(/( |^)overlay .*/,""),size:this.baseTokens[this.baseTokenPos]-a}};Fa.prototype.nextLine=function(){this.line++;0T&&(this.horiz.style.minHeight=this.vert.style.minWidth="18px")};ob.prototype.update=function(a){var b=a.scrollWidth>a.clientWidth+1,d=a.scrollHeight>a.clientHeight+1,c=a.nativeBarWidth;d?(this.vert.style.display="block",this.vert.style.bottom=b?c+"px":"0",this.vert.firstChild.style.height=Math.max(0,a.scrollHeight-a.clientHeight+(a.viewHeight- +(b?c:0)))+"px"):(this.vert.scrollTop=0,this.vert.style.display="",this.vert.firstChild.style.height="0");b?(this.horiz.style.display="block",this.horiz.style.right=d?c+"px":"0",this.horiz.style.left=a.barLeft+"px",this.horiz.firstChild.style.width=Math.max(0,a.scrollWidth-a.clientWidth+(a.viewWidth-a.barLeft-(d?c:0)))+"px"):(this.horiz.style.display="",this.horiz.firstChild.style.width="0");!this.checkedZeroWidth&&0=B(a,c.to()))return d}return-1}; +var I=function(a,b){this.anchor=a;this.head=b};I.prototype.from=function(){return Bc(this.anchor,this.head)};I.prototype.to=function(){return Ac(this.anchor,this.head)};I.prototype.empty=function(){return this.head.line==this.anchor.line&&this.head.ch==this.anchor.ch};ec.prototype={chunkSize:function(){return this.lines.length},removeInner:function(a,b){for(var d=a,c=a+b;dthis.size-b&&(1=this.children.length)){var a=this;do{var b=a.children.splice(a.children.length-5,5);b=new fc(b);if(a.parent){a.size-=b.size;a.height-=b.height;var d=ea(a.parent.children,a);a.parent.children.splice(d+1,0,b)}else d=new fc(a.children),d.parent=a,a.children=[d,b],a=d;b.parent=a.parent}while(10< +a.children.length);a.parent.maybeSpill()}},iterN:function(a,b,d){for(var c=0;ca.display.maxLineLength&&(a.display.maxLine=f,a.display.maxLineLength=g,a.display.maxLineChanged=!0);null!=d&&a&&this.collapsed&&ma(a,d,c+1);this.lines.length=0;this.explicitlyCleared=!0;this.atomic&&this.doc.cantEdit&&(this.doc.cantEdit=!1,a&&Kf(a.doc));a&&aa(a,"markerCleared",a,this,d, +c);b&&mb(a);this.parent&&this.parent.clear()}};Va.prototype.find=function(a,b){null==a&&"bookmark"==this.type&&(a=1);for(var d,c,e=0;eB(h.head,h.anchor),a[f]=new I(h?k:g,h?g:k)):a[f]=new I(g,g)}a=new va(a,this.sel.primIndex)}b= +a;for(a=c.length-1;0<=a;a--)Cb(this,c[a]);b?Hf(this,b):this.cm&&xb(this.cm)}),undo:ca(function(){Wc(this,"undo")}),redo:ca(function(){Wc(this,"redo")}),undoSelection:ca(function(){Wc(this,"undo",!0)}),redoSelection:ca(function(){Wc(this,"redo",!0)}),setExtending:function(a){this.extend=a},getExtending:function(){return this.extend},historySize:function(){for(var a=this.history,b=0,d=0,c=0;c=a.ch)&&b.push(e.marker.parent|| +e.marker)}return b},findMarks:function(a,b,d){a=C(this,a);b=C(this,b);var c=[],e=a.line;this.iter(a.line,b.line+1,function(f){if(f=f.markedSpans)for(var g=0;g=h.to||null==h.from&&e!=a.line||null!=h.from&&e==b.line&&h.from>=b.ch||d&&!d(h.marker)||c.push(h.marker.parent||h.marker)}++e});return c},getAllMarks:function(){var a=[];this.iter(function(b){if(b=b.markedSpans)for(var d=0;da)return b=a,!0;a-=e;++d});return C(this,t(d,b))},indexFromPos:function(a){a=C(this,a);var b=a.ch;if(a.linea.ch)return 0;var d=this.lineSeparator().length;this.iter(this.first,a.line,function(c){b+=c.text.length+d});return b},copy:function(a){var b=new oa(pd(this,this.first,this.first+this.size),this.modeOption,this.first,this.lineSep,this.direction);b.scrollTop=this.scrollTop;b.scrollLeft=this.scrollLeft; +b.sel=this.sel;b.extend=!1;a&&(b.history.undoDepth=this.history.undoDepth,b.setHistory(this.getHistory()));return b},linkedDoc:function(a){a||(a={});var b=this.first,d=this.first+this.size;null!=a.from&&a.from>b&&(b=a.from);null!=a.to&&a.tosc;sc++)Wa[sc+48]=Wa[sc+96]=String(sc);for(var ed=65;90>=ed;ed++)Wa[ed]=String.fromCharCode(ed);for(var tc=1;12>=tc;tc++)Wa[tc+111]=Wa[tc+63235]="F"+tc;var ic={basic:{Left:"goCharLeft",Right:"goCharRight",Up:"goLineUp",Down:"goLineDown",End:"goLineEnd",Home:"goLineStartSmart",PageUp:"goPageUp",PageDown:"goPageDown",Delete:"delCharAfter",Backspace:"delCharBefore","Shift-Backspace":"delCharBefore",Tab:"defaultTab","Shift-Tab":"indentAuto", +Enter:"newlineAndIndent",Insert:"toggleOverwrite",Esc:"singleSelection"},pcDefault:{"Ctrl-A":"selectAll","Ctrl-D":"deleteLine","Ctrl-Z":"undo","Shift-Ctrl-Z":"redo","Ctrl-Y":"redo","Ctrl-Home":"goDocStart","Ctrl-End":"goDocEnd","Ctrl-Up":"goLineUp","Ctrl-Down":"goLineDown","Ctrl-Left":"goGroupLeft","Ctrl-Right":"goGroupRight","Alt-Left":"goLineStart","Alt-Right":"goLineEnd","Ctrl-Backspace":"delGroupBefore","Ctrl-Delete":"delGroupAfter","Ctrl-S":"save","Ctrl-F":"find","Ctrl-G":"findNext","Shift-Ctrl-G":"findPrev", +"Shift-Ctrl-F":"replace","Shift-Ctrl-R":"replaceAll","Ctrl-[":"indentLess","Ctrl-]":"indentMore","Ctrl-U":"undoSelection","Shift-Ctrl-U":"redoSelection","Alt-U":"redoSelection",fallthrough:"basic"},emacsy:{"Ctrl-F":"goCharRight","Ctrl-B":"goCharLeft","Ctrl-P":"goLineUp","Ctrl-N":"goLineDown","Ctrl-A":"goLineStart","Ctrl-E":"goLineEnd","Ctrl-V":"goPageDown","Shift-Ctrl-V":"goPageUp","Ctrl-D":"delCharAfter","Ctrl-H":"delCharBefore","Alt-Backspace":"delWordBefore","Ctrl-K":"killLine","Ctrl-T":"transposeChars", +"Ctrl-O":"openLine"},macDefault:{"Cmd-A":"selectAll","Cmd-D":"deleteLine","Cmd-Z":"undo","Shift-Cmd-Z":"redo","Cmd-Y":"redo","Cmd-Home":"goDocStart","Cmd-Up":"goDocStart","Cmd-End":"goDocEnd","Cmd-Down":"goDocEnd","Alt-Left":"goGroupLeft","Alt-Right":"goGroupRight","Cmd-Left":"goLineLeft","Cmd-Right":"goLineRight","Alt-Backspace":"delGroupBefore","Ctrl-Alt-Backspace":"delGroupAfter","Alt-Delete":"delGroupAfter","Cmd-S":"save","Cmd-F":"find","Cmd-G":"findNext","Shift-Cmd-G":"findPrev","Cmd-Alt-F":"replace", +"Shift-Cmd-Alt-F":"replaceAll","Cmd-[":"indentLess","Cmd-]":"indentMore","Cmd-Backspace":"delWrappedLineLeft","Cmd-Delete":"delWrappedLineRight","Cmd-U":"undoSelection","Shift-Cmd-U":"redoSelection","Ctrl-Up":"goDocStart","Ctrl-Down":"goDocEnd",fallthrough:["basic","emacsy"]}};ic["default"]=ya?ic.macDefault:ic.pcDefault;var jc={selectAll:Mf,singleSelection:function(a){return a.setSelection(a.getCursor("anchor"),a.getCursor("head"),Ia)},killLine:function(a){return Gb(a,function(b){if(b.empty()){var d= +w(a.doc,b.head.line).text.length;return b.head.ch==d&&b.head.linea.doc.first){var g=w(a.doc,e.line-1).text;g&&(e=new t(e.line,1),a.replaceRange(f.charAt(0)+a.doc.lineSeparator()+g.charAt(g.length-1),t(e.line-1,g.length-1),e,"+transpose"))}d.push(new I(e,e))}a.setSelections(d)})},newlineAndIndent:function(a){return ra(a,function(){for(var b=a.listSelections(), +d=b.length-1;0<=d;d--)a.replaceRange(a.doc.lineSeparator(),b[d].anchor,b[d].head,"+input");b=a.listSelections();for(d=0;da&&0==B(b,this.pos)&&d==this.button};var mc,lc,Hb={toString:function(){return"CodeMirror.Init"}}, +ng={},bd={};U.defaults=ng;U.optionHandlers=bd;var le=[];U.defineInitHook=function(a){return le.push(a)};var sa=null,O=function(a){this.cm=a;this.lastAnchorNode=this.lastAnchorOffset=this.lastFocusNode=this.lastFocusOffset=null;this.polling=new Xa;this.composing=null;this.gracePeriod=!1;this.readDOMTimeout=null};O.prototype.init=function(a){function b(h){for(h=h.target;h;h=h.parentNode){if(h==g)return!0;if(/\bCodeMirror-(?:line)?widget\b/.test(h.className))break}return!1}function d(h){if(b(h)&&!Z(f, +h)){if(f.somethingSelected())sa={lineWise:!1,text:f.getSelections()},"cut"==h.type&&f.replaceSelection("",null,"cut");else if(f.options.lineWiseCopyCut){var k=rg(f);sa={lineWise:!0,text:k.text};"cut"==h.type&&f.operation(function(){f.setSelections(k.ranges,0,Ia);f.replaceSelection("",null,"cut")})}else return;if(h.clipboardData){h.clipboardData.clearData();var l=sa.text.join("\n");h.clipboardData.setData("Text",l);if(h.clipboardData.getData("Text")==l){h.preventDefault();return}}var m=sg();h=m.firstChild; +oe(h);f.display.lineSpace.insertBefore(m,f.display.lineSpace.firstChild);h.value=sa.text.join("\n");var n=ka(g.ownerDocument);pc(h);setTimeout(function(){f.display.lineSpace.removeChild(m);n.focus();n==g&&e.showPrimarySelection()},50)}}var c=this,e=this,f=e.cm,g=e.div=a.lineDiv;g.contentEditable=!0;oe(g,f.options.spellcheck,f.options.autocorrect,f.options.autocapitalize);z(g,"paste",function(h){!b(h)||Z(f,h)||qg(h,f)||11>=T&&setTimeout(ba(f,function(){return c.updateFromDOM()}),20)});z(g,"compositionstart", +function(h){c.composing={data:h.data,done:!1}});z(g,"compositionupdate",function(h){c.composing||(c.composing={data:h.data,done:!1})});z(g,"compositionend",function(h){c.composing&&(h.data!=c.composing.data&&c.readFromDOMSoon(),c.composing.done=!0)});z(g,"touchstart",function(){return e.forceCompositionEnd()});z(g,"input",function(){c.composing||c.readFromDOMSoon()});z(g,"copy",d);z(g,"cut",d)};O.prototype.screenReaderLabelChanged=function(a){a?this.div.setAttribute("aria-label",a):this.div.removeAttribute("aria-label")}; +O.prototype.prepareSelection=function(){var a=hf(this.cm,!1);a.focus=ka(this.div.ownerDocument)==this.div;return a};O.prototype.showSelection=function(a,b){a&&this.cm.display.view.length&&((a.focus||b)&&this.showPrimarySelection(),this.showMultipleSelections(a))};O.prototype.getSelection=function(){return this.cm.display.wrapper.ownerDocument.getSelection()};O.prototype.showPrimarySelection=function(){var a=this.getSelection(),b=this.cm,d=b.doc.sel.primary(),c=d.from();d=d.to();if(b.display.viewTo== +b.display.viewFrom||c.line>=b.display.viewTo||d.line=b.display.viewFrom&&ug(b,c)||{node:e[0].measure.map[2],offset:0},d=d.linea.firstLine()&&(c=t(c.line-1,w(a.doc,c.line-1).length));e.ch==w(a.doc,e.line).text.length&&e.lineb.viewTo-1)return!1;var f;c.line==b.viewFrom||0==(f=db(a,c.line))?(d=N(b.view[0].line),f=b.view[0].node):(d=N(b.view[f].line),f=b.view[f-1].node.nextSibling);var g=db(a,e.line);g==b.view.length-1?(e=b.viewTo-1,b=b.lineDiv.lastChild):(e=N(b.view[g+1].line)- +1,b=b.view[g+1].node.previousSibling);if(!f)return!1;b=a.doc.splitLines(Bh(a,f,b,d,e));for(f=ab(a.doc,t(d,0),t(e,w(a.doc,e).text.length));1c.ch&&k.charCodeAt(k.length-g-1)==l.charCodeAt(l.length-g-1);)h--,g++;b[b.length-1]=k.slice(0,k.length-g).replace(/^\u200b+/,"");b[0]=b[0].slice(h).replace(/\u200b+$/,"");c=t(d,h);d=t(e,f.length?J(f).length-g:0);if(1T&&f.scrollbars.setScrollTop(f.scroller.scrollTop=k),null!=g.selectionStart)){(!G||G&&9>T)&&b();var q=0,r=function(){f.selForContextMenu==e.doc.sel&&0==g.selectionStart&&0q++?f.detectingSelectAll=setTimeout(r,500):(f.selForContextMenu=null,f.input.reset())};f.detectingSelectAll=setTimeout(r, +200)}}var c=this,e=c.cm,f=e.display,g=c.textarea;c.contextMenuPending&&c.contextMenuPending();var h=gb(e,a),k=f.scroller.scrollTop;if(h&&!Ca){e.options.resetSelectionOnContextMenu&&-1==e.doc.sel.contains(h)&&ba(e,da)(e.doc,Oa(h),Ia);var l=g.style.cssText,m=c.wrapper.style.cssText;h=c.wrapper.offsetParent.getBoundingClientRect();c.wrapper.style.cssText="position: static";g.style.cssText="position: absolute; width: 30px; height: 30px;\n top: "+(a.clientY-h.top-5)+"px; left: "+(a.clientX-h.left- +5)+"px;\n z-index: 1000; background: "+(G?"rgba(255, 255, 255, .05)":"transparent")+";\n outline: none; border-width: 0; outline: none; overflow: hidden; opacity: .05; filter: alpha(opacity=5);";if(fa)var n=g.ownerDocument.defaultView.scrollY;f.input.focus();fa&&g.ownerDocument.defaultView.scrollTo(null,n);f.input.reset();e.somethingSelected()||(g.value=c.prevInput=" ");c.contextMenuPending=d;f.selForContextMenu=e.doc.sel;clearTimeout(f.detectingSelectAll);G&&9<=T&&b();if(je){Mb(a);var p= +function(){ta(window,"mouseup",p);setTimeout(d,20)};z(window,"mouseup",p)}else setTimeout(d,50)}};V.prototype.readOnlyChanged=function(a){a||this.reset();this.textarea.disabled="nocursor"==a;this.textarea.readOnly=!!a};V.prototype.setUneditable=function(){};V.prototype.needsContentAttribute=!1;(function(a){function b(c,e,f,g){a.defaults[c]=e;f&&(d[c]=g?function(h,k,l){l!=Hb&&f(h,k,l)}:f)}var d=a.optionHandlers;a.defineOption=b;a.Init=Hb;b("value","",function(c,e){return c.setValue(e)},!0);b("mode", +null,function(c,e){c.doc.modeOption=e;$d(c)},!0);b("indentUnit",2,$d,!0);b("indentWithTabs",!1);b("smartIndent",!0);b("tabSize",4,function(c){bc(c);Ub(c);ma(c)},!0);b("lineSeparator",null,function(c,e){if(c.doc.lineSep=e){var f=[],g=c.doc.first;c.doc.iter(function(k){for(var l=0;;){var m=k.text.indexOf(e,l);if(-1==m)break;l=m+e.length;f.push(t(g,m))}g++});for(var h=f.length-1;0<=h;h--)Db(c.doc,e,f[h],t(f[h].line,f[h].ch+e.length))}});b("specialChars",/[\u0000-\u001f\u007f-\u009f\u00ad\u061c\u200b\u200e\u200f\u2028\u2029\u202d\u202e\u2066\u2067\u2069\ufeff\ufff9-\ufffc]/g, +function(c,e,f){c.state.specialChars=new RegExp(e.source+(e.test("\t")?"":"|\t"),"g");f!=Hb&&c.refresh()});b("specialCharPlaceholder",Mg,function(c){return c.refresh()},!0);b("electricChars",!0);b("inputStyle",ac?"contenteditable":"textarea",function(){throw Error("inputStyle can not (yet) be changed in a running editor");},!0);b("spellcheck",!1,function(c,e){return c.getInputField().spellcheck=e},!0);b("autocorrect",!1,function(c,e){return c.getInputField().autocorrect=e},!0);b("autocapitalize", +!1,function(c,e){return c.getInputField().autocapitalize=e},!0);b("rtlMoveVisually",!Fh);b("wholeLineUpdateBefore",!0);b("theme","default",function(c){mg(c);$b(c)},!0);b("keyMap","default",function(c,e,f){e=Xc(e);(f=f!=Hb&&Xc(f))&&f.detach&&f.detach(c,e);e.attach&&e.attach(c,f||null)});b("extraKeys",null);b("configureMouse",null);b("lineWrapping",!1,yh,!0);b("gutters",[],function(c,e){c.display.gutterSpecs=Yd(e,c.options.lineNumbers);$b(c)},!0);b("fixedGutter",!0,function(c,e){c.display.gutters.style.left= +e?Md(c.display)+"px":"0";c.refresh()},!0);b("coverGutterNextToScrollbar",!1,function(c){return yb(c)},!0);b("scrollbarStyle","native",function(c){pf(c);yb(c);c.display.scrollbars.setScrollTop(c.doc.scrollTop);c.display.scrollbars.setScrollLeft(c.doc.scrollLeft)},!0);b("lineNumbers",!1,function(c,e){c.display.gutterSpecs=Yd(c.options.gutters,e);$b(c)},!0);b("firstLineNumber",1,$b,!0);b("lineNumberFormatter",function(c){return c},$b,!0);b("showCursorWhenSelecting",!1,Vb,!0);b("resetSelectionOnContextMenu", +!0);b("lineWiseCopyCut",!0);b("pasteLinesPerSelection",!0);b("selectionsMayTouch",!1);b("readOnly",!1,function(c,e){"nocursor"==e&&(wb(c),c.display.input.blur());c.display.input.readOnlyChanged(e)});b("screenReaderLabel",null,function(c,e){c.display.input.screenReaderLabelChanged(""===e?null:e)});b("disableInput",!1,function(c,e){e||c.display.input.reset()},!0);b("dragDrop",!0,xh);b("allowDropFileTypes",null);b("cursorBlinkRate",530);b("cursorScrollMargin",0);b("cursorHeight",1,Vb,!0);b("singleCursorHeightPerLine", +!0,Vb,!0);b("workTime",100);b("workDelay",100);b("flattenSpans",!0,bc,!0);b("addModeClass",!1,bc,!0);b("pollInterval",100);b("undoDepth",200,function(c,e){return c.doc.history.undoDepth=e});b("historyEventDelay",1250);b("viewportMargin",10,function(c){return c.refresh()},!0);b("maxHighlightLength",1E4,bc,!0);b("moveInputWithCursor",!0,function(c,e){e||c.display.input.resetPosition()});b("tabindex",null,function(c,e){return c.display.input.getField().tabIndex=e||""});b("autofocus",null);b("direction", +"ltr",function(c,e){return c.doc.setDirection(e)},!0);b("phrases",null)})(U);(function(a){var b=a.optionHandlers,d=a.helpers={};a.prototype={constructor:a,focus:function(){qa(this).defaultView.focus();this.display.input.focus()},setOption:function(c,e){var f=this.options,g=f[c];if(f[c]!=e||"mode"==c)f[c]=e,b.hasOwnProperty(c)&&ba(this,b[c])(this,e,g),W(this,"optionChange",this,c)},getOption:function(c){return this.options[c]},getDoc:function(){return this.doc},addKeyMap:function(c,e){this.state.keyMaps[e? +"push":"unshift"](Xc(c))},removeKeyMap:function(c){for(var e=this.state.keyMaps,f=0;ff&&(nc(this,h.head.line,c,!0),f=h.head.line,g==this.doc.sel.primIndex&&xb(this));else{var k=h.from(); +h=h.to();var l=Math.max(f,k.line);f=Math.min(this.lastLine(),h.line-(h.ch?0:1))+1;for(h=l;h>1;if((h?e[2*h-1]:0)>=c)g=h;else if(e[2* +h+1]f?e:0==f?null:e.slice(0,f-1)},getModeAt:function(c){var e=this.doc.mode;return e.innerMode?a.innerMode(e,this.getTokenAt(c).state).mode:e},getHelper:function(c,e){return this.getHelpers(c,e)[0]},getHelpers:function(c,e){var f=[];if(!d.hasOwnProperty(e))return f;var g=d[e];c=this.getModeAt(c);if("string"==typeof c[e])g[c[e]]&&f.push(g[c[e]]);else if(c[e])for(var h=0;hh&&(c=h,g=!0);c=w(this.doc,c)}return Hc(this,c,{top:0,left:0},e||"page",f||g).top+(g?this.doc.height-Ga(c):0)},defaultTextHeight:function(){return vb(this.display)}, +defaultCharWidth:function(){return ub(this.display)},getViewport:function(){return{from:this.display.viewFrom,to:this.display.viewTo}},addWidget:function(c,e,f,g,h){var k=this.display;c=Ba(this,C(this.doc,c));var l=c.bottom,m=c.left;e.style.position="absolute";e.setAttribute("cm-ignore-events","true");this.display.input.setUneditable(e);k.sizer.appendChild(e);if("over"==g)l=c.top;else if("above"==g||"near"==g){var n=Math.max(k.wrapper.clientHeight,this.doc.height),p=Math.max(k.sizer.clientWidth,k.lineSpace.clientWidth); +("above"==g||c.bottom+e.offsetHeight>n)&&c.top>e.offsetHeight?l=c.top-e.offsetHeight:c.bottom+e.offsetHeight<=n&&(l=c.bottom);m+e.offsetWidth>p&&(m=p-e.offsetWidth)}e.style.top=l+"px";e.style.left=e.style.right="";"right"==h?(m=k.sizer.clientWidth-e.offsetWidth,e.style.right="0px"):("left"==h?m=0:"middle"==h&&(m=(k.sizer.clientWidth-e.offsetWidth)/2),e.style.left=m+"px");f&&(c=Td(this,{left:m,top:l,right:m+e.offsetWidth,bottom:l+e.offsetHeight}),null!=c.scrollTop&&Xb(this,c.scrollTop),null!=c.scrollLeft&& +kb(this,c.scrollLeft))},triggerOnKeyDown:ia(gg),triggerOnKeyPress:ia(ig),triggerOnKeyUp:hg,triggerOnMouseDown:ia(jg),execCommand:function(c){if(jc.hasOwnProperty(c))return jc[c].call(null,this)},triggerElectric:ia(function(c){pg(this,c)}),findPosH:function(c,e,f,g){var h=1;0>e&&(h=-1,e=-e);c=C(this.doc,c);for(var k=0;kc?g.from():g.to()},qc)}),deleteH:ia(function(c,e){var f=this.doc;this.doc.sel.somethingSelected()?f.replaceSelection("",null,"+delete"):Gb(this,function(g){var h=pe(f,g.head,c,e,!1);return 0>c?{from:h,to:g.head}:{from:g.head,to:h}})}),findPosV:function(c,e,f,g){var h=1;0>e&&(h=-1,e=-e);var k=C(this.doc,c);for(c=0;cc?m.from():m.to();var n=Ba(f,m.head,"div");null!=m.goalColumn&&(n.left=m.goalColumn);h.push(n.left);var p=tg(f,n,c,e);"page"==e&&m==g.sel.primary()&&Nc(f,Ic(f,p,"div").top-n.top);return p},qc);if(h.length)for(var l=0;lea(Ih,uc)&&(U.prototype[uc]=function(a){return function(){return a.apply(this.doc,arguments)}}(oa.prototype[uc]));pb(oa);U.inputStyles={textarea:V,contenteditable:O};U.defineMode=function(a){U.defaults.mode||"null"==a||(U.defaults.mode=a);Dg.apply(this,arguments)};U.defineMIME=function(a,b){qb[a]=b};U.defineMode("null",function(){return{token:function(a){return a.skipToEnd()}}});U.defineMIME("text/plain","null");U.defineExtension=function(a,b){U.prototype[a]=b};U.defineDocExtension=function(a,b){oa.prototype[a]= +b};U.fromTextArea=function(a,b){function d(){a.value=h.getValue()}b=b?Za(b):{};b.value=a.value;!b.tabindex&&a.tabIndex&&(b.tabindex=a.tabIndex);!b.placeholder&&a.placeholder&&(b.placeholder=a.placeholder);if(null==b.autofocus){var c=ka(a.ownerDocument);b.autofocus=c==a||null!=a.getAttribute("autofocus")&&c==document.body}if(a.form&&(z(a.form,"submit",d),!b.leaveSubmitMethodAlone)){var e=a.form;var f=e.submit;try{var g=e.submit=function(){d();e.submit=f;e.submit();e.submit=g}}catch(k){}}b.finishInit= +function(k){k.save=d;k.getTextArea=function(){return a};k.toTextArea=function(){k.toTextArea=isNaN;d();a.parentNode.removeChild(k.getWrapperElement());a.style.display="";a.form&&(ta(a.form,"submit",d),b.leaveSubmitMethodAlone||"function"!=typeof a.form.submit||(a.form.submit=f))}};a.style.display="none";var h=U(function(k){return a.parentNode.insertBefore(k,a.nextSibling)},b);return h};(function(a){a.off=ta;a.on=z;a.wheelEventPixels=Zg;a.Doc=oa;a.splitLines=ne;a.countColumn=wa;a.findColumn=hd;a.isWordChar= +jd;a.Pass=Zc;a.signal=W;a.Line=zb;a.changeEnd=Ta;a.scrollbarModel=qf;a.Pos=t;a.cmpPos=B;a.modes=md;a.mimeModes=qb;a.resolveMode=zc;a.getMode=nd;a.modeExtensions=rb;a.extendMode=Eg;a.copyState=$a;a.startState=xe;a.innerMode=od;a.commands=jc;a.keyMap=ic;a.keyName=bg;a.isModifierKey=Zf;a.lookupKey=Fb;a.normalizeKeyMap=jh;a.StringStream=X;a.SharedTextMarker=hc;a.TextMarker=Va;a.LineWidget=gc;a.e_preventDefault=la;a.e_stopPropagation=ve;a.e_stop=Mb;a.addClass=Ya;a.contains=ja;a.rmClass=jb;a.keyNames=Wa})(U); +U.version="5.65.13";return U}); + +// comment.js + +(function(r){"object"==typeof exports&&"object"==typeof module?r(require("../../lib/codemirror")):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],r):r(CodeMirror)})(function(r){function I(c){c=c.search(u);return-1==c?0:c}function J(c,d,a){return/\bstring\b/.test(c.getTokenTypeAt(l(d.line,0)))&&!/^['"`]/.test(a)}function G(c,d){var a=c.getMode();return!1!==a.useInnerComments&&a.innerMode?c.getModeAt(d):a}var E={},u=/[^\s\u00a0]/,l=r.Pos,K=r.cmpPos;r.commands.toggleComment=function(c){c.toggleComment()}; +r.defineExtension("toggleComment",function(c){c||(c=E);for(var d=Infinity,a=this.listSelections(),b=null,e=a.length-1;0<=e;e--){var g=a[e].from(),f=a[e].to();g.line>=d||(f.line>=d&&(f=l(d,0)),d=g.line,null==b?this.uncomment(g,f,c)?b="un":(this.lineComment(g,f,c),b="line"):"un"==b?this.uncomment(g,f,c):this.lineComment(g,f,c))}});r.defineExtension("lineComment",function(c,d,a){a||(a=E);var b=this,e=G(b,c),g=b.getLine(c.line);if(null!=g&&!J(b,c,g)){var f=a.lineComment||e.lineComment;if(f){var m=Math.min(0!= +d.ch||d.line==c.line?d.line+1:d.line,b.lastLine()+1),v=null==a.padding?" ":a.padding,k=a.commentBlankLines||c.line==d.line;b.operation(function(){if(a.indent){for(var q=null,h=c.line;hn.length)q=n}for(h=c.line;hm||b.operation(function(){if(0!= +a.fullLines){var k=u.test(b.getLine(m));b.replaceRange(v+f,l(m));b.replaceRange(g+v,l(c.line,0));var q=a.blockCommentLead||e.blockCommentLead;if(null!=q)for(var h=c.line+1;h<=m;++h)(h!=m||k)&&b.replaceRange(q+v,l(h,0))}else k=0==K(b.getCursor("to"),d),q=!b.somethingSelected(),b.replaceRange(f,d),k&&b.setSelection(q?d:b.getCursor("from"),d),b.replaceRange(g,c)})}});r.defineExtension("uncomment",function(c,d,a){a||(a=E);var b=this,e=G(b,c),g=Math.min(0!=d.ch||d.line==c.line?d.line:d.line-1,b.lastLine()), +f=Math.min(c.line,g),m=a.lineComment||e.lineComment,v=[],k=null==a.padding?" ":a.padding,q;a:if(m){for(var h=f;h<=g;++h){var n=b.getLine(h),t=n.indexOf(m);-1x||(A.slice(w,w+k.length)==k&&(w+=k.length),q=!0,b.replaceRange("",l(p,x),l(p,w)))}});if(q)return!0}var y=a.blockCommentStart|| +e.blockCommentStart,z=a.blockCommentEnd||e.blockCommentEnd;if(!y||!z)return!1;var H=a.blockCommentLead||e.blockCommentLead,C=b.getLine(f),D=C.indexOf(y);if(-1==D)return!1;var F=g==f?C:b.getLine(g),B=F.indexOf(z,g==f?D+y.length:0);a=l(f,D+1);e=l(g,B+1);if(-1==B||!/comment/.test(b.getTokenTypeAt(a))||!/comment/.test(b.getTokenTypeAt(e))||-1>>0,$jscomp.propertyToPolyfillSymbol[g]=$jscomp.IS_SYMBOL_NATIVE? +$jscomp.global.Symbol(g):$jscomp.POLYFILL_PREFIX+b+"$"+g),$jscomp.defineProperty(e,$jscomp.propertyToPolyfillSymbol[g],{configurable:!0,writable:!0,value:c})))};$jscomp.polyfill("String.prototype.repeat",function(a){return a?a:function(c){var b=$jscomp.checkStringArgs(this,null,"repeat");if(0>c||1342177279>>=1)b+=b;return e}},"es6","es3"); +(function(a){"object"==typeof exports&&"object"==typeof module?a(require("../../lib/codemirror")):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],a):a(CodeMirror)})(function(a){function c(d){if(d.getOption("disableInput"))return a.Pass;for(var k=d.listSelections(),h,w=[],u=0;u=q.length&&-1<(f=n.lastIndexOf(q,l.ch-q.length))&&f>v)if(b(0,n)>=f)m=n.slice(0,f);else{q=d.options.tabSize;var x;f=a.countColumn(n,f,q);m=d.options.indentWithTabs?r.call("\t",x=Math.floor(f/q))+r.call(" ",f-q*x):r.call(" ",f)}else-1<(f= +n.indexOf(h.blockCommentContinue))&&f<=l.ch&&f<=b(0,n)&&(m=n.slice(0,f));null!=m&&(m+=h.blockCommentContinue)}null==m&&p&&e(d)&&((null==n&&(n=d.getLine(l.line)),f=n.indexOf(p),l.ch||f)?-1=f&&(m=-1=m||null),m&&(m=n.slice(0,f)+p+n.slice(f+p.length).match(/^\s*/)[0])):m="");if(null==m)return a.Pass;w[u]="\n"+m}d.operation(function(){for(var t=k.length-1;0<=t;t--)d.replaceRange(w[t],k[t].from(),k[t].to(),"+insert")})}function b(d, +k){g.lastIndex=d;return(d=g.exec(k))?d.index:-1}function e(d){return(d=d.getOption("continueComments"))&&"object"==typeof d?!1!==d.continueLineComment:!0}var g=/\S/g,r=String.prototype.repeat||function(d){return Array(d+1).join(this)};a.defineOption("continueComments",null,function(d,k,h){h&&h!=a.Init&&d.removeKeyMap("continueComment");k&&(h="Enter","string"==typeof k?h=k:"object"==typeof k&&k.key&&(h=k.key),k={name:"continueComment"},k[h]=c,d.addKeyMap(k))})}); + +// closebrackets.js + +(function(e){"object"==typeof exports&&"object"==typeof module?e(require("../../lib/codemirror")):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],e):e(CodeMirror)})(function(e){function u(a,b){return"pairs"==b&&"string"==typeof a?a:"object"==typeof a&&null!=a[b]?a[b]:C[b]}function D(a){for(var b=0;b",triples:"",explode:"[]{}"}, +l=e.Pos;e.defineOption("autoCloseBrackets",!1,function(a,b,c){c&&c!=e.Init&&(a.removeKeyMap(x),a.state.closeBrackets=null);b&&(D(u(b,"pairs")),a.state.closeBrackets=b,a.addKeyMap(x))});var x={Backspace:function(a){var b=y(a);if(!b||a.getOption("disableInput"))return e.Pass;var c=u(b,"pairs");b=a.listSelections();for(var d=0;dg))for(e==c.line&&(l=c.ch-(0>b?1:0));l!=z;l+=b){var q=n.charAt(l);if(d.test(q)&&(void 0===f||(a.getTokenTypeAt(p(e,l+1))||"")==(f||""))){var x=t[q];if(x&&">"==x.charAt(1)==0document.documentMode),p=k.Pos,t={"(":")>",")":"(<","[":"]>","]":"[<","{":"}>","}":"{<", +"<":">>",">":"<<"};k.defineOption("matchBrackets",!1,function(a,c,b){b&&b!=k.Init&&(a.off("cursorActivity",r),a.off("focus",r),a.off("blur",u),u(a));c&&(a.state.matchBrackets="object"==typeof c?c:{},a.on("cursorActivity",r),a.on("focus",r),a.on("blur",u))});k.defineExtension("matchBrackets",function(){y(this,!0)});k.defineExtension("findMatchingBracket",function(a,c,b){if(b||"boolean"==typeof c)b?(b.strict=c,c=b):c=c?{strict:!0}:null;return v(this,a,c)});k.defineExtension("scanForBracket",function(a, +c,b,f){return w(this,a,c,b,f)})}); + +// closetag.js + +(function(g){"object"==typeof exports&&"object"==typeof module?g(require("../../lib/codemirror"),require("../fold/xml-fold")):"function"==typeof define&&define.amd?define(["../../lib/codemirror","../fold/xml-fold"],g):g(CodeMirror)})(function(g){function w(b){if(b.getOption("disableInput"))return g.Pass;for(var f=b.listSelections(),d=[],c=b.getOption("autoCloseTags"),h=0;he.ch&&(l=l.slice(0,l.length-a.end+e.ch));var t=l.toLowerCase();if(!l||"string"==a.type&&(a.end!=e.ch||!/["']/.test(a.string.charAt(a.string.length-1))||1==a.string.length)||"tag"==a.type&&k.close||a.string.indexOf("/")==e.ch-a.start-1||r&&-1",newPos:g.Pos(e.line,e.ch+2)}:(a=p&&-1"+(a?"\n\n":"")+"",newPos:a?g.Pos(e.line+1,0):g.Pos(e.line,e.ch+1)})}c="object"==typeof c&&c.dontIndentOnAutoClose;for(h=f.length-1;0<=h;h--)e=d[h],b.replaceRange(e.text,f[h].head,f[h].anchor,"+insert"),l=b.listSelections().slice(0),l[h]={head:e.newPos,anchor:e.newPos},b.setSelections(l),!c&&e.indent&&(b.indentLine(e.newPos.line,null,!0), +b.indentLine(e.newPos.line+1,null,!0))}function v(b,f){var d=b.listSelections(),c=[],h=f?"/":""!=b.getLine(m.line).charAt(n.end)&&(k+=">");c[a]=k}b.replaceSelections(c);d=b.listSelections();if(!e)for(a=0;a'"]=function(c){return w(c)};b.addKeyMap(d)}});var x="area base br col command embed hr img input keygen link meta param source track wbr".split(" "),y="applet blockquote body button div dl fieldset form frameset h1 h2 h3 h4 h5 h6 head html iframe layer legend object ol p select table ul".split(" ");g.commands.closeTag=function(b){return v(b)}}); + +// show-hint.js + +(function(h){"object"==typeof exports&&"object"==typeof module?h(require("../../lib/codemirror")):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],h):h(CodeMirror)})(function(h){function B(a,b){this.cm=a;this.options=b;this.widget=null;this.tick=this.debounce=0;this.startPos=this.cm.getCursor("start");this.startLen=this.cm.getLine(this.startPos.line).length-this.cm.getSelection().length;if(this.options.updateOnCursorActivity){var c=this;a.on("cursorActivity",this.activityFunc= +function(){c.cursorActivity()})}}function K(a,b){function c(r,g){var m="string"!=typeof g?function(k){return g(k,b)}:d.hasOwnProperty(g)?d[g]:g;p[r]=m}var d={Up:function(){b.moveFocus(-1)},Down:function(){b.moveFocus(1)},PageUp:function(){b.moveFocus(-b.menuSize()+1,!0)},PageDown:function(){b.moveFocus(b.menuSize()-1,!0)},Home:function(){b.setFocus(0)},End:function(){b.setFocus(b.length-1)},Enter:b.pick,Tab:b.pick,Esc:b.close};/Mac/.test(navigator.platform)&&(d["Ctrl-P"]=function(){b.moveFocus(-1)}, +d["Ctrl-N"]=function(){b.moveFocus(1)});var e=a.options.customKeys,p=e?{}:d;if(e)for(var f in e)e.hasOwnProperty(f)&&c(f,e[f]);if(a=a.options.extraKeys)for(f in a)a.hasOwnProperty(f)&&c(f,a[f]);return p}function C(a,b){for(;b&&b!=a;){if("LI"===b.nodeName.toUpperCase()&&b.parentNode==a)return b;b=b.parentNode}}function D(a,b){this.id="cm-complete-"+Math.floor(Math.random(1E6));this.completion=a;this.data=b;this.picked=!1;var c=this,d=a.cm,e=d.getInputField().ownerDocument,p=e.defaultView||e.parentWindow, +f=this.hints=e.createElement("ul");f.setAttribute("role","listbox");f.setAttribute("aria-expanded","true");f.id=this.id;f.className="CodeMirror-hints "+a.cm.options.theme;this.selectedHint=b.selectedHint||0;for(var r=b.list,g=0;g +f.clientHeight+1:!1,u;setTimeout(function(){u=d.getScrollInfo()});if(0z&&(f.style.height=(y=z)+"px"),f.style.top=(x=g.top-y)+q+"px",E=!1):f.style.height=t-n.top-2+"px"}q=n.right-k;F&&(q+=d.display.nativeBarWidth);0k&&(f.style.width=k-5+"px",q-=n.right-n.left-k),f.style.left=(w=Math.max(g.left-q-m,0))+"px");if(F)for(g=f.firstChild;g;g=g.nextSibling)g.style.paddingRight=d.display.nativeBarWidth+"px";d.addKeyMap(this.keyMap= +K(a,{moveFocus:function(l,v){c.changeActive(c.selectedHint+l,v)},setFocus:function(l){c.changeActive(l)},menuSize:function(){return c.screenAmount()},length:r.length,close:function(){a.close()},pick:function(){c.pick()},data:b}));if(a.options.closeOnUnfocus){var G;d.on("blur",this.onBlur=function(){G=setTimeout(function(){a.close()},100)});d.on("focus",this.onFocus=function(){clearTimeout(G)})}d.on("scroll",this.onScroll=function(){var l=d.getScrollInfo(),v=d.getWrapperElement().getBoundingClientRect(); +u||(u=d.getScrollInfo());var H=x+u.top-l.top,A=H-(p.pageYOffset||(e.documentElement||e.body).scrollTop);E||(A+=f.offsetHeight);if(A<=v.top||A>=v.bottom)return a.close();f.style.top=H+"px";f.style.left=w+u.left-l.left+"px"});h.on(f,"dblclick",function(l){(l=C(f,l.target||l.srcElement))&&null!=l.hintId&&(c.changeActive(l.hintId),c.pick())});h.on(f,"click",function(l){(l=C(f,l.target||l.srcElement))&&null!=l.hintId&&(c.changeActive(l.hintId),a.options.completeOnSingleClick&&c.pick())});h.on(f,"mousedown", +function(){setTimeout(function(){d.focus()},20)});g=this.getSelectedHintRange();0===g.from&&0===g.to||this.scrollToActive();h.signal(b,"select",r[this.selectedHint],f.childNodes[this.selectedHint]);return!0}function L(a,b){if(!a.somethingSelected())return b;a=[];for(var c=0;c=this.data.list.length?a=b?this.data.list.length-1:0:0>a&&(a=b?0:this.data.list.length-1);if(this.selectedHint!=a){if(b=this.hints.childNodes[this.selectedHint])b.className=b.className.replace(" CodeMirror-hint-active",""),b.removeAttribute("aria-selected");b=this.hints.childNodes[this.selectedHint=a];b.className+=" CodeMirror-hint-active";b.setAttribute("aria-selected","true");this.completion.cm.getInputField().setAttribute("aria-activedescendant", +b.id);this.scrollToActive();h.signal(this.data,"select",this.data.list[this.selectedHint],b)}},scrollToActive:function(){var a=this.getSelectedHintRange(),b=this.hints.childNodes[a.from];a=this.hints.childNodes[a.to];var c=this.hints.firstChild;b.offsetTopthis.hints.scrollTop+this.hints.clientHeight&&(this.hints.scrollTop=a.offsetTop+a.offsetHeight-this.hints.clientHeight+c.offsetTop)},screenAmount:function(){return Math.floor(this.hints.clientHeight/ +this.hints.firstChild.offsetHeight)||1},getSelectedHintRange:function(){var a=this.completion.options.scrollMargin||0;return{from:Math.max(0,this.selectedHint-a),to:Math.min(this.data.list.length-1,this.selectedHint+a)}}};h.registerHelper("hint","auto",{resolve:function(a,b){var c=a.getHelpers(b,"hint"),d;return c.length?(a=function(e,p,f){function r(m){if(m==g.length)return p(null);I(g[m],e,f,function(k){k&&0,]/,closeOnPick:!0,closeOnUnfocus:!0,updateOnCursorActivity:!0,completeOnSingleClick:!0,container:null,customKeys:null,extraKeys:null,paddingForScrollbar:!0,moveOnOverlap:!0};h.defineOption("hintOptions",null)}); + +// css-hint.js + +(function(b){"object"==typeof exports&&"object"==typeof module?b(require("../../lib/codemirror"),require("../../mode/css/css")):"function"==typeof define&&define.amd?define(["../../lib/codemirror","../../mode/css/css"],b):b(CodeMirror)})(function(b){var n={active:1,after:1,before:1,checked:1,"default":1,disabled:1,empty:1,enabled:1,"first-child":1,"first-letter":1,"first-line":1,"first-of-type":1,focus:1,hover:1,"in-range":1,indeterminate:1,invalid:1,lang:1,"last-child":1,"last-of-type":1,link:1, +not:1,"nth-child":1,"nth-last-child":1,"nth-last-of-type":1,"nth-of-type":1,"only-of-type":1,"only-child":1,optional:1,"out-of-range":1,placeholder:1,"read-only":1,"read-write":1,required:1,root:1,selection:1,target:1,valid:1,visited:1};b.registerHelper("hint","css",function(d){function f(p){for(var m in p)h&&0!=m.lastIndexOf(h,0)||k.push(m)}var e=d.getCursor(),c=d.getTokenAt(e),a=b.innerMode(d.getMode(),c.state);if("css"==a.mode.name){if("keyword"==c.type&&0=="!important".indexOf(c.string))return{list:["!important"], +from:b.Pos(e.line,c.start),to:b.Pos(e.line,c.end)};d=c.start;var l=e.ch,h=c.string.slice(0,l-d);/[^\w$_-]/.test(h)&&(h="",d=l=e.ch);var g=b.resolveMode("text/css"),k=[];a=a.state.state;if("pseudo"==a||"variable-3"==c.type)f(n);else if("block"==a||"maybeprop"==a)f(g.propertyKeywords);else if("prop"==a||"parens"==a||"at"==a||"params"==a)f(g.valueKeywords),f(g.colorKeywords);else if("media"==a||"media_parens"==a)f(g.mediaTypes),f(g.mediaFeatures);if(k.length)return{list:k,from:b.Pos(e.line,d),to:b.Pos(e.line, +l)}}})}); + +// html-hint.js + +(function(b){"object"==typeof exports&&"object"==typeof module?b(require("../../lib/codemirror"),require("./xml-hint")):"function"==typeof define&&define.amd?define(["../../lib/codemirror","./xml-hint"],b):b(CodeMirror)})(function(b){function q(h){for(var c in k)k.hasOwnProperty(c)&&(h.attrs[c]=k[c])}var f="ab aa af ak sq am ar an hy as av ae ay az bm ba eu be bn bh bi bs br bg my ca ch ce ny zh cv kw co cr hr cs da dv nl dz en eo et ee fo fj fi fr ff gl ka de el gn gu ht ha he hz hi ho hu ia id ie ga ig ik io is it iu ja jv kl kn kr ks kk km ki rw ky kv kg ko ku kj la lb lg li ln lo lt lu lv gv mk mg ms ml mt mi mr mh mn na nv nb nd ne ng nn no ii nr oc oj cu om or os pa pi fa pl ps pt qu rm rn ro ru sa sc sd se sm sg sr gd sn si sk sl so st es su sw ss sv ta te tg th ti bo tk tl tn to tr ts tt tw ty ug uk ur uz ve vi vo wa cy wo fy xh yi yo za zu".split(" "), +e=["_blank","_self","_top","_parent"],l=["ascii","utf-8","utf-16","latin1","latin1"],m=["get","post","put","delete"],n=["application/x-www-form-urlencoded","multipart/form-data","text/plain"],g="all;screen;print;embossed;braille;handheld;print;projection;screen;tty;tv;speech;3d-glasses;resolution [>][<][=] [X];device-aspect-ratio: X/Y;orientation:portrait;orientation:landscape;device-height: [X];device-width: [X]".split(";"),a={attrs:{}},d={a:{attrs:{href:null,ping:null,type:null,media:g,target:e, +hreflang:f}},abbr:a,acronym:a,address:a,applet:a,area:{attrs:{alt:null,coords:null,href:null,target:null,ping:null,media:g,hreflang:f,type:null,shape:["default","rect","circle","poly"]}},article:a,aside:a,audio:{attrs:{src:null,mediagroup:null,crossorigin:["anonymous","use-credentials"],preload:["none","metadata","auto"],autoplay:["","autoplay"],loop:["","loop"],controls:["","controls"]}},b:a,base:{attrs:{href:null,target:e}},basefont:a,bdi:a,bdo:a,big:a,blockquote:{attrs:{cite:null}},body:a,br:a, +button:{attrs:{form:null,formaction:null,name:null,value:null,autofocus:["","autofocus"],disabled:["","autofocus"],formenctype:n,formmethod:m,formnovalidate:["","novalidate"],formtarget:e,type:["submit","reset","button"]}},canvas:{attrs:{width:null,height:null}},caption:a,center:a,cite:a,code:a,col:{attrs:{span:null}},colgroup:{attrs:{span:null}},command:{attrs:{type:["command","checkbox","radio"],label:null,icon:null,radiogroup:null,command:null,title:null,disabled:["","disabled"],checked:["","checked"]}}, +data:{attrs:{value:null}},datagrid:{attrs:{disabled:["","disabled"],multiple:["","multiple"]}},datalist:{attrs:{data:null}},dd:a,del:{attrs:{cite:null,datetime:null}},details:{attrs:{open:["","open"]}},dfn:a,dir:a,div:a,dialog:{attrs:{open:null}},dl:a,dt:a,em:a,embed:{attrs:{src:null,type:null,width:null,height:null}},eventsource:{attrs:{src:null}},fieldset:{attrs:{disabled:["","disabled"],form:null,name:null}},figcaption:a,figure:a,font:a,footer:a,form:{attrs:{action:null,name:null,"accept-charset":l, +autocomplete:["on","off"],enctype:n,method:m,novalidate:["","novalidate"],target:e}},frame:a,frameset:a,h1:a,h2:a,h3:a,h4:a,h5:a,h6:a,head:{attrs:{},children:"title base link style meta script noscript command".split(" ")},header:a,hgroup:a,hr:a,html:{attrs:{manifest:null},children:["head","body"]},i:a,iframe:{attrs:{src:null,srcdoc:null,name:null,width:null,height:null,sandbox:["allow-top-navigation","allow-same-origin","allow-forms","allow-scripts"],seamless:["","seamless"]}},img:{attrs:{alt:null, +src:null,ismap:null,usemap:null,width:null,height:null,crossorigin:["anonymous","use-credentials"]}},input:{attrs:{alt:null,dirname:null,form:null,formaction:null,height:null,list:null,max:null,maxlength:null,min:null,name:null,pattern:null,placeholder:null,size:null,src:null,step:null,value:null,width:null,accept:["audio/*","video/*","image/*"],autocomplete:["on","off"],autofocus:["","autofocus"],checked:["","checked"],disabled:["","disabled"],formenctype:n,formmethod:m,formnovalidate:["","novalidate"], +formtarget:e,multiple:["","multiple"],readonly:["","readonly"],required:["","required"],type:"hidden text search tel url email password datetime date month week time datetime-local number range color checkbox radio file submit image reset button".split(" ")}},ins:{attrs:{cite:null,datetime:null}},kbd:a,keygen:{attrs:{challenge:null,form:null,name:null,autofocus:["","autofocus"],disabled:["","disabled"],keytype:["RSA"]}},label:{attrs:{"for":null,form:null}},legend:a,li:{attrs:{value:null}},link:{attrs:{href:null, +type:null,hreflang:f,media:g,sizes:["all","16x16","16x16 32x32","16x16 32x32 64x64"]}},map:{attrs:{name:null}},mark:a,menu:{attrs:{label:null,type:["list","context","toolbar"]}},meta:{attrs:{content:null,charset:l,name:"viewport application-name author description generator keywords".split(" "),"http-equiv":["content-language","content-type","default-style","refresh"]}},meter:{attrs:{value:null,min:null,low:null,high:null,max:null,optimum:null}},nav:a,noframes:a,noscript:a,object:{attrs:{data:null, +type:null,name:null,usemap:null,form:null,width:null,height:null,typemustmatch:["","typemustmatch"]}},ol:{attrs:{reversed:["","reversed"],start:null,type:["1","a","A","i","I"]}},optgroup:{attrs:{disabled:["","disabled"],label:null}},option:{attrs:{disabled:["","disabled"],label:null,selected:["","selected"],value:null}},output:{attrs:{"for":null,form:null,name:null}},p:a,param:{attrs:{name:null,value:null}},pre:a,progress:{attrs:{value:null,max:null}},q:{attrs:{cite:null}},rp:a,rt:a,ruby:a,s:a,samp:a, +script:{attrs:{type:["text/javascript"],src:null,async:["","async"],defer:["","defer"],charset:l}},section:a,select:{attrs:{form:null,name:null,size:null,autofocus:["","autofocus"],disabled:["","disabled"],multiple:["","multiple"]}},small:a,source:{attrs:{src:null,type:null,media:null}},span:a,strike:a,strong:a,style:{attrs:{type:["text/css"],media:g,scoped:null}},sub:a,summary:a,sup:a,table:a,tbody:a,td:{attrs:{colspan:null,rowspan:null,headers:null}},textarea:{attrs:{dirname:null,form:null,maxlength:null, +name:null,placeholder:null,rows:null,cols:null,autofocus:["","autofocus"],disabled:["","disabled"],readonly:["","readonly"],required:["","required"],wrap:["soft","hard"]}},tfoot:a,th:{attrs:{colspan:null,rowspan:null,headers:null,scope:["row","col","rowgroup","colgroup"]}},thead:a,time:{attrs:{datetime:null}},title:a,tr:a,track:{attrs:{src:null,label:null,"default":null,kind:["subtitles","captions","descriptions","chapters","metadata"],srclang:f}},tt:a,u:a,ul:a,"var":a,video:{attrs:{src:null,poster:null, +width:null,height:null,crossorigin:["anonymous","use-credentials"],preload:["auto","metadata","none"],autoplay:["","autoplay"],mediagroup:["movie"],muted:["","muted"],controls:["","controls"]}},wbr:a},k={accesskey:"abcdefghijklmnopqrstuvwxyz0123456789".split(""),"class":null,contenteditable:["true","false"],contextmenu:null,dir:["ltr","rtl","auto"],draggable:["true","false","auto"],dropzone:["copy","move","link","string:","file:"],hidden:["hidden"],id:null,inert:["inert"],itemid:null,itemprop:null, +itemref:null,itemscope:["itemscope"],itemtype:null,lang:["en","es"],spellcheck:["true","false"],autocorrect:["true","false"],autocapitalize:["true","false"],style:null,tabindex:"123456789".split(""),title:null,translate:["yes","no"],onclick:null,rel:"stylesheet alternate author bookmark help license next nofollow noreferrer prefetch prev search tag".split(" ")};q(a);for(var p in d)d.hasOwnProperty(p)&&d[p]!=a&&q(d[p]);b.htmlSchema=d;b.registerHelper("hint","html",function(h,c){var r={schemaInfo:d}; +if(c)for(var t in c)r[t]=c[t];return b.hint.xml(h,r)})}); + +// xml-hint.js + +(function(n){"object"==typeof exports&&"object"==typeof module?n(require("../../lib/codemirror")):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],n):n(CodeMirror)})(function(n){function q(d,b,v){return v?0<=d.indexOf(b):0==d.lastIndexOf(b,0)}var w=n.Pos;n.registerHelper("hint","xml",function(d,b){function v(){return{list:p,from:r?w(k.line,null==z?a.start:z):k,to:r?w(k.line,a.end):k}}var c=b&&b.schemaInfo,t=b&&b.quoteChar||'"',u=b&&b.matchInMiddle;if(c){var k=d.getCursor(),a= +d.getTokenAt(k);a.end>k.ch&&(a.end=k.ch,a.string=a.string.slice(0,k.ch-a.start));b=n.innerMode(d.getMode(),a.state);if(b.mode.xmlCurrentTag){var p=[],r=!1,m=/\btag\b/.test(a.type)&&!/>$/.test(a.string),C=m&&/^\w/.test(a.string),z;if(C){var e=d.getLine(k.line).slice(Math.max(0,a.start-2),a.start);(e=/<\/$/.test(e)?"close":/<$/.test(e)?"open":null)&&(z=a.start-("close"==e?2:1))}else m&&"<"==a.string?e="open":m&&"")}else{f=(m=A&&c[A.name])&&m.attrs;c=c["!attrs"];if(!f&&!c)return;if(!f)f=c;else if(c){e={};for(var l in c)c.hasOwnProperty(l)&& +(e[l]=c[l]);for(l in f)f.hasOwnProperty(l)&&(e[l]=f[l]);f=e}if("string"==a.type||"="==a.string){e=d.getRange(w(k.line,Math.max(0,k.ch-60)),w(k.line,"string"==a.type?a.start:a.end));c=e.match(/([^\s\u00a0=<>"']+)=$/);if(!c||!f.hasOwnProperty(c[1])||!(g=f[c[1]]))return;"function"==typeof g&&(g=g.call(this,d));"string"==a.type&&(h=a.string,c=0,/['"]/.test(a.string.charAt(0))&&(t=a.string.charAt(0),h=a.string.slice(1),c++),l=a.string.length,/['"]/.test(a.string.charAt(l-1))&&(t=a.string.charAt(l-1),h= +a.string.substr(c,l-2)),c&&(d=d.getLine(k.line),d.length>a.end&&d.charAt(a.end)==t&&a.end++),r=!0);d=function(x){if(x)for(var y=0;y>>0,$jscomp.propertyToPolyfillSymbol[k]=$jscomp.IS_SYMBOL_NATIVE? +$jscomp.global.Symbol(k):$jscomp.POLYFILL_PREFIX+g+"$"+k),$jscomp.defineProperty(l,$jscomp.propertyToPolyfillSymbol[k],{configurable:!0,writable:!0,value:h})))};$jscomp.polyfill("Array.prototype.find",function(b){return b?b:function(h,g){return $jscomp.findInternal(this,h,g).v}},"es6","es3"); +(function(b){"object"==typeof exports&&"object"==typeof module?b(require("../../lib/codemirror"),require("./searchcursor"),require("../dialog/dialog")):"function"==typeof define&&define.amd?define(["../../lib/codemirror","./searchcursor","../dialog/dialog"],b):b(CodeMirror)})(function(b){function h(a,c){"string"==typeof a?a=new RegExp(a.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&"),c?"gi":"g"):a.global||(a=new RegExp(a.source,a.ignoreCase?"gi":"g"));return{token:function(e){a.lastIndex=e.pos; +var d=a.exec(e.string);if(d&&d.index==e.pos)return e.pos+=d[0].length||1,"searching";d?e.pos=d.index:e.skipToEnd()}}}function g(){this.overlay=this.posFrom=this.posTo=this.lastQuery=this.query=null}function l(a){return a.state.search||(a.state.search=new g)}function k(a){return"string"==typeof a&&a==a.toLowerCase()}function t(a,c,e){return a.getSearchCursor(c,e,{caseFold:k(c),multiline:!0})}function A(a,c,e,d,f){a.openDialog(c,d,{value:e,selectValueOnOpen:!0,closeOnEnter:!1,onClose:function(){y(a)}, +onKeyDown:f,bottom:a.options.search.bottom})}function D(a,c,e,d,f){a.openDialog?a.openDialog(c,f,{value:d,selectValueOnOpen:!0,bottom:a.options.search.bottom}):f(prompt(e,d))}function J(a,c,e,d){if(a.openConfirm)a.openConfirm(c,d);else if(confirm(e))d[0]()}function E(a){return a.replace(/\\([nrt\\])/g,function(c,e){return"n"==e?"\n":"r"==e?"\r":"t"==e?"\t":"\\"==e?"\\":c})}function F(a){var c=a.match(/^\/(.*)\/([a-z]*)$/);if(c)try{a=new RegExp(c[1],-1==c[2].indexOf("i")?"":"i")}catch(e){}else a=E(a); +if("string"==typeof a?""==a:a.test(""))a=/x^/;return a}function B(a,c,e){c.queryText=e;c.query=F(e);a.removeOverlay(c.overlay,k(c.query));c.overlay=h(c.query,k(c.query));a.addOverlay(c.overlay);a.showMatchesOnScrollbar&&(c.annotate&&(c.annotate.clear(),c.annotate=null),c.annotate=a.showMatchesOnScrollbar(c.query,k(c.query)))}function x(a,c,e,d){var f=l(a);if(f.query)return C(a,c);var n=a.getSelection()||f.lastQuery;n instanceof RegExp&&"x^"==n.source&&(n=null);if(e&&a.openDialog){var u=null,r=function(q, +w){b.e_stop(w);q&&(q!=f.queryText&&(B(a,f,q),f.posFrom=f.posTo=a.getCursor()),u&&(u.style.opacity=1),C(a,w.shiftKey,function(p,v){var z;3>v.line&&document.querySelector&&(z=a.display.wrapper.querySelector(".CodeMirror-dialog"))&&z.getBoundingClientRect().bottom-4>a.cursorCoords(v,"window").top&&((u=z).style.opacity=.4)}))};A(a,G(a),n,r,function(q,w){var p=b.keyName(q),v=a.getOption("extraKeys");p=v&&v[p]||b.keyMap[a.getOption("keyMap")][p];if("findNext"==p||"findPrev"==p||"findPersistentNext"==p|| +"findPersistentPrev"==p)b.e_stop(q),B(a,l(a),w),a.execCommand(p);else if("find"==p||"findPersistent"==p)b.e_stop(q),r(w,q)});d&&n&&(B(a,f,n),C(a,c))}else D(a,G(a),"Search for:",n,function(q){q&&!f.query&&a.operation(function(){B(a,f,q);f.posFrom=f.posTo=a.getCursor();C(a,c)})})}function C(a,c,e){a.operation(function(){var d=l(a),f=t(a,d.query,c?d.posFrom:d.posTo);if(!f.find(c)&&(f=t(a,d.query,c?b.Pos(a.lastLine()):b.Pos(a.firstLine(),0)),!f.find(c)))return;a.setSelection(f.from(),f.to());a.scrollIntoView({from:f.from(), +to:f.to()},20);d.posFrom=f.from();d.posTo=f.to();e&&e(f.from(),f.to())})}function y(a){a.operation(function(){var c=l(a);if(c.lastQuery=c.query)c.query=c.queryText=null,a.removeOverlay(c.overlay),c.annotate&&(c.annotate.clear(),c.annotate=null)})}function m(a,c){var e=a?document.createElement(a):document.createDocumentFragment(),d;for(d in c)e[d]=c[d];for(d=2;d>>0,$jscomp.propertyToPolyfillSymbol[l]=$jscomp.IS_SYMBOL_NATIVE? +$jscomp.global.Symbol(l):$jscomp.POLYFILL_PREFIX+h+"$"+l),$jscomp.defineProperty(p,$jscomp.propertyToPolyfillSymbol[l],{configurable:!0,writable:!0,value:g})))};$jscomp.polyfill("Array.prototype.find",function(f){return f?f:function(g,h){return $jscomp.findInternal(this,g,h).v}},"es6","es3"); +(function(f){"object"==typeof exports&&"object"==typeof module?f(require("../../lib/codemirror")):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],f):f(CodeMirror)})(function(f){function g(b,a){var c=b.flags;for(var e=c=null!=c?c:(b.ignoreCase?"i":"")+(b.global?"g":"")+(b.multiline?"m":""),d=0;dm);n++){var r=b.getLine(k++);e=null==e?r:e+"\n"+r}d*=2;a.lastIndex=c.ch;if(n=a.exec(e))return a=e.slice(0,n.index).split("\n"),b=n[0].split("\n"),c=c.line+a.length-1,a=a[a.length-1].length,{from:q(c,a),to:q(c+b.length-1,1==b.length?a+b[0].length:b[b.length- +1].length),match:n}}}function l(b,a,c){for(var e,d=0;d<=b.length;){a.lastIndex=d;d=a.exec(b);if(!d)break;var k=d.index+d[0].length;if(k>b.length-c)break;if(!e||k>e.index+e[0].length)e=d;d=d.index+1}return e}function u(b,a,c){a=g(a,"g");var e=c.line,d=c.ch;for(c=b.firstLine();e>=c;e--,d=-1){var k=b.getLine(e);if(d=l(k,a,0>d?0:k.length-d))return{from:q(e,d.index),to:q(e,d.index+d[0].length),match:d}}}function w(b,a,c){if(!/\\s|\\n|\n|\\W|\\D|\[\^/.test(a.source))return u(b,a,c);a=g(a,"gm");var e=1, +d=b.getLine(c.line).length-c.ch;c=c.line;for(var k=b.firstLine();c>=k;){for(var m=0;m=k;m++){var n=b.getLine(c--);var r=null==r?n:n+"\n"+r}e*=2;if(m=l(r,a,d))return a=r.slice(0,m.index).split("\n"),b=m[0].split("\n"),c+=a.length,a=a[a.length-1].length,{from:q(c,a),to:q(c+b.length-1,1==b.length?a+b[0].length:b[b.length-1].length),match:m}}}function v(b,a,c,e){if(b.length==a.length)return c;var d=0;for(a=c+Math.max(0,b.length-a.length);;){if(d==a)return d;var k=d+a>>1,m=e(b.slice(0,k)).length; +if(m==c)return k;m>c?a=k:d=k+1}}function C(b,a,c,e){if(!a.length)return null;e=e?x:y;a=e(a).split(/\r|\n\r?/);var d=c.line;c=c.ch;var k=b.lastLine()+1-a.length;a:for(;d<=k;d++,c=0){var m=b.getLine(d).slice(c),n=e(m);if(1==a.length){var r=n.indexOf(a[0]);if(-1==r)continue a;v(m,n,r,e);return{from:q(d,v(m,n,r,e)+c),to:q(d,v(m,n,r+a[0].length,e)+c)}}r=n.length-a[0].length;if(n.slice(r)!=a[0])continue a;for(var t=1;t=m;d--,k=-1){var n=b.getLine(d);-1a.ch&&(a.line--,a.ch=(this.doc.getLine(a.line)||"").length)):(a.ch++,a.ch>(this.doc.getLine(a.line)||"").length&&(a.ch=0,a.line++)),0!=f.cmpPos(a,this.doc.clipPos(a))))return this.atOccurrence=!1;this.afterEmptyMatch=(a=this.matches(b,a))&&0==f.cmpPos(a.from,a.to);if(a)return this.pos=a,this.atOccurrence=!0,this.pos.match||!0;b=q(b?this.doc.firstLine():this.doc.lastLine()+1,0);this.pos={from:b,to:b};return this.atOccurrence= +!1},from:function(){if(this.atOccurrence)return this.pos.from},to:function(){if(this.atOccurrence)return this.pos.to},replace:function(b,a){this.atOccurrence&&(b=f.splitLines(b),this.doc.replaceRange(b,this.pos.from,this.pos.to,a),this.pos.to=q(this.pos.from.line+b.length-1,b[b.length-1].length+(1==b.length?this.pos.from.ch:0)))}};f.defineExtension("getSearchCursor",function(b,a,c){return new A(this.doc,b,a,c)});f.defineDocExtension("getSearchCursor",function(b,a,c){return new A(this,b,a,c)});f.defineExtension("selectMatches", +function(b,a){var c=[];for(b=this.getSearchCursor(b,this.getCursor("from"),a);b.findNext()&&!(0h.right?1:0:f.clientYh.bottom?1:0)*d.screen)});c.on(this.node,"mousewheel",g);c.on(this.node,"DOMMouseScroll",g)}function k(a,b,e){this.addClass=a;this.horiz=new l(a,"horizontal",e);b(this.horiz.node);this.vert=new l(a,"vertical",e);b(this.vert.node);this.width=null}l.prototype.setPos=function(a,b){0>a&&(a=0);a>this.total-this.screen&&(a=this.total-this.screen);if(!b&&a==this.pos)return!1;this.pos=a;this.inner.style["horizontal"== +this.orientation?"left":"top"]=this.size/this.total*a+"px";return!0};l.prototype.moveTo=function(a){this.setPos(a)&&this.scroll(a,this.orientation)};l.prototype.update=function(a,b,e){var g=this.screen!=b||this.total!=a||this.size!=e;g&&(this.screen=b,this.total=a,this.size=e);a=this.size/this.total*this.screen;10>a&&(this.size-=10-a,a=10);this.inner.style["horizontal"==this.orientation?"width":"height"]=a+"px";this.setPos(this.pos,g)};k.prototype.update=function(a){if(null==this.width){var b=window.getComputedStyle? +window.getComputedStyle(this.horiz.node):this.horiz.node.currentStyle;b&&(this.width=parseInt(b.height))}b=this.width||0;var e=a.scrollWidth>a.clientWidth+1,g=a.scrollHeight>a.clientHeight+1;this.vert.node.style.display=g?"block":"none";this.horiz.node.style.display=e?"block":"none";g&&(this.vert.update(a.scrollHeight,a.clientHeight,a.viewHeight-(e?b:0)),this.vert.node.style.bottom=e?b+"px":"0");e&&(this.horiz.update(a.scrollWidth,a.clientWidth,a.viewWidth-(g?b:0)-a.barLeft),this.horiz.node.style.right= +g?b+"px":"0",this.horiz.node.style.left=a.barLeft+"px");return{right:g?b:0,bottom:e?b:0}};k.prototype.setScrollTop=function(a){this.vert.setPos(a)};k.prototype.setScrollLeft=function(a){this.horiz.setPos(a)};k.prototype.clear=function(){var a=this.horiz.node.parentNode;a.removeChild(this.horiz.node);a.removeChild(this.vert.node)};c.scrollbarModel.simple=function(a,b){return new k("CodeMirror-simplescroll",a,b)};c.scrollbarModel.overlay=function(a,b){return new k("CodeMirror-overlayscroll",a,b)}}); + +// annotatescrollbar.js + +(function(k){"object"==typeof exports&&"object"==typeof module?k(require("../../lib/codemirror")):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],k):k(CodeMirror)})(function(k){function m(a,e){function b(f){clearTimeout(c.doRedraw);c.doRedraw=setTimeout(function(){c.redraw()},f)}this.cm=a;this.options=e;this.buttonHeight=e.scrollButtonHeight||a.getOption("scrollButtonHeight");this.annotations=[];this.doRedraw=this.doUpdate=null;this.div=a.getWrapperElement().appendChild(document.createElement("div")); +this.div.style.cssText="position: absolute; right: 0; top: 0; z-index: 7; pointer-events: none";this.computeScale();var c=this;a.on("refresh",this.resizeHandler=function(){clearTimeout(c.doUpdate);c.doUpdate=setTimeout(function(){c.computeScale()&&b(20)},100)});a.on("markerAdded",this.resizeHandler);a.on("markerCleared",this.resizeHandler);if(!1!==e.listenForChanges)a.on("changes",this.changeHandler=function(){b(250)})}k.defineExtension("annotateScrollbar",function(a){"string"==typeof a&&(a={className:a}); +return new m(this,a)});k.defineOption("scrollButtonHeight",0);m.prototype.computeScale=function(){var a=this.cm;a=(a.getWrapperElement().clientHeight-a.display.barHeight-2*this.buttonHeight)/a.getScrollerElement().scrollHeight;if(a!=this.hScale)return this.hScale=a,!0};m.prototype.update=function(a){this.annotations=a;this.redraw()};m.prototype.redraw=function(a){function e(n,v){if(p!=n.line){p=n.line;d=b.getLineHandle(n.line);var q=b.getLineHandleVisualStart(d);q!=d&&(p=b.getLineNumber(q),d=q)}return d.widgets&& +d.widgets.length||w&&d.height>y?b.charCoords(n,"local")[v?"top":"bottom"]:b.heightAtLine(d,"local")+(v?0:d.height)}!1!==a&&this.computeScale();var b=this.cm;a=this.hScale;var c=document.createDocumentFragment(),f=this.annotations,w=b.getOption("lineWrapping"),y=w&&1.5*b.defaultTextHeight(),p=null,d=null,x=b.lastLine();if(b.display.barWidth)for(var g=0,r;gx)){for(var t=r||e(h.from,!0)*a,l=e(h.to,!1)*a;gx);){r=e(f[g+1].from,!0)* +a;if(r>l+.9)break;h=f[++g];l=e(h.to,!1)*a}if(l!=t){l=Math.max(l-t,3);var u=c.appendChild(document.createElement("div"));u.style.cssText="position: absolute; right: 0px; width: "+Math.max(b.display.barWidth-1,2)+"px; top: "+(t+this.buttonHeight)+"px; height: "+l+"px";u.className=this.options.className;h.id&&u.setAttribute("annotation-id",h.id)}}}this.div.textContent="";this.div.appendChild(c)};m.prototype.clear=function(){this.cm.off("refresh",this.resizeHandler);this.cm.off("markerAdded",this.resizeHandler); +this.cm.off("markerCleared",this.resizeHandler);this.changeHandler&&this.cm.off("changes",this.changeHandler);this.div.parentNode.removeChild(this.div)}}); + +// matchesonscrollbar.js + +(function(f){"object"==typeof exports&&"object"==typeof module?f(require("../../lib/codemirror"),require("./searchcursor"),require("../scroll/annotatescrollbar")):"function"==typeof define&&define.amd?define(["../../lib/codemirror","./searchcursor","../scroll/annotatescrollbar"],f):f(CodeMirror)})(function(f){function g(a,c,b,d){this.cm=a;this.options=d;var e={listenForChanges:!1},h;for(h in d)e[h]=d[h];e.className||(e.className="CodeMirror-search-match");this.annotation=a.annotateScrollbar(e);this.query= +c;this.caseFold=b;this.gap={from:a.firstLine(),to:a.lastLine()+1};this.matches=[];this.update=null;this.findMatches();this.annotation.update(this.matches);var l=this;a.on("change",this.changeHandler=function(n,m){l.onChange(m)})}function k(a,c,b){return a<=c?a:Math.max(c,a+b)}f.defineExtension("showMatchesOnScrollbar",function(a,c,b){"string"==typeof b&&(b={className:b});b||(b={});return new g(this,a,c,b)});g.prototype.findMatches=function(){if(this.gap){for(var a=0;a=this.gap.to)break;c.to.line>=this.gap.from&&this.matches.splice(a--,1)}for(var b=this.cm.getSearchCursor(this.query,f.Pos(this.gap.from,0),{caseFold:this.caseFold,multiline:this.options.multiline}),d=this.options&&this.options.maxMatches||1E3;b.findNext();){c={from:b.from(),to:b.to()};if(c.from.line>=this.gap.to)break;this.matches.splice(a++,0,c);if(this.matches.length>d)break}this.gap=null}};g.prototype.onChange=function(a){var c=a.from.line,b=f.changeEnd(a).line, +d=b-a.to.line;this.gap?(this.gap.from=Math.min(k(this.gap.from,c,d),a.from.line),this.gap.to=Math.max(k(this.gap.to,c,d),a.from.line)):this.gap={from:a.from.line,to:b+1};if(d)for(a=0;a=b.options.minChars&&p(a,d,!1,b.options.style))}})}function t(a,b,d){return{token:function(c){var e; +if(e=c.match(a))(e=!b)||(e=(!c.start||!b.test(c.string.charAt(c.start-1)))&&(c.pos==c.string.length||!b.test(c.string.charAt(c.pos))));if(e)return d;c.next();c.skipTo(a.charAt(0))||c.skipToEnd()}}}var h={style:"matchhighlight",minChars:2,delay:100,wordsOnly:!1,annotateScrollbar:!1,showToken:!1,trim:!0};f.defineOption("highlightSelectionMatches",!1,function(a,b,d){d&&d!=f.Init&&(q(a),clearTimeout(a.state.matchHighlighter.timeout),a.state.matchHighlighter=null,a.off("cursorActivity",k),a.off("focus", +m));if(b){b=a.state.matchHighlighter=new r(b);if(a.hasFocus())b.active=!0,n(a);else a.on("focus",m);a.on("cursorActivity",k)}})}); + +// foldcode.js + +(function(d){"object"==typeof exports&&"object"==typeof module?d(require("../../lib/codemirror")):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],d):d(CodeMirror)})(function(d){function p(a,b,c,e){function h(l){var f=q(a,b);if(!f||f.to.line-f.from.linea.firstLine();)b=d.Pos(b.line-1,0),g=h(!1);if(g&&!g.cleared&&"unfold"!==e){var r=v(a,c,g);d.on(r,"mousedown",function(l){t.clear();d.e_preventDefault(l)});var t=a.markText(g.from,g.to,{replacedWith:r,clearOnEnter:k(a,c,"clearOnEnter"),__isFold:!0});t.on("clear",function(l,f){d.signal(a,"unfold",a,l,f)});d.signal(a,"fold",a,g.from,g.to)}}function v(a,b,c){a=k(a,b,"widget");"function"==typeof a&&(a=a(c.from, +c.to));"string"==typeof a?(c=document.createTextNode(a),a=document.createElement("span"),a.appendChild(c),a.className="CodeMirror-foldmarker"):a&&(a=a.cloneNode(!0));return a}function k(a,b,c){return b&&void 0!==b[c]?b[c]:(a=a.options.foldOptions)&&void 0!==a[c]?a[c]:w[c]}d.newFoldFunction=function(a,b){return function(c,e){p(c,e,{rangeFinder:a,widget:b})}};d.defineExtension("foldCode",function(a,b,c){p(this,a,b,c)});d.defineExtension("isFolded",function(a){a=this.findMarksAt(a);for(var b=0;b>>0,$jscomp.propertyToPolyfillSymbol[f]=$jscomp.IS_SYMBOL_NATIVE? +$jscomp.global.Symbol(f):$jscomp.POLYFILL_PREFIX+d+"$"+f),$jscomp.defineProperty(k,$jscomp.propertyToPolyfillSymbol[f],{configurable:!0,writable:!0,value:e})))};$jscomp.polyfill("Array.prototype.find",function(c){return c?c:function(e,d){return $jscomp.findInternal(this,e,d).v}},"es6","es3"); +(function(c){"object"==typeof exports&&"object"==typeof module?c(require("../../lib/codemirror"),require("./foldcode")):"function"==typeof define&&define.amd?define(["../../lib/codemirror","./foldcode"],c):c(CodeMirror)})(function(c){function e(a){this.options=a;this.from=this.to=0}function d(a,b){a=a.findMarks(q(b,0),q(b+1,0));for(var g=0;g=C){if(y&&m&&y.test(m.className))return;r=k(h.indicatorOpen)}}(r||m)&&a.setGutterMarker(z,h.gutter,r)})}function l(a){var b=a.getViewport(),g=a.state.foldGutter;g&&(a.operation(function(){f(a,b.from,b.to)}),g.from=b.from,g.to=b.to)}function n(a,b,g){var h=a.state.foldGutter;h&&(h=h.options,g==h.gutter&&((g=d(a,b))?g.clear():a.foldCode(q(b,0),h)))}function A(a,b){"mode"==b&&p(a)}function p(a){var b=a.state.foldGutter;if(b){var g= +b.options;b.from=b.to=0;clearTimeout(b.changeUpdate);b.changeUpdate=setTimeout(function(){l(a)},g.foldOnChangeTimeSpan||600)}}function B(a){var b=a.state.foldGutter;if(b){var g=b.options;clearTimeout(b.changeUpdate);b.changeUpdate=setTimeout(function(){var h=a.getViewport();b.from==b.to||20b.to&&(f(a,b.to,h.to),b.to=h.to)})},g.updateViewportTimeSpan||400)}}function u(a,b){var g=a.state.foldGutter; +g&&(b=b.line,b>=g.from&&b=g?-1:c.lastIndexOf(n[0],g-1);if(-1==q){if(1==u)break;u=1;g=c.length}else{if(1==u&&qw&&(w=v.length);0>k&&(k=v.length);k=Math.min(w,k);if(k==v.length)break;if(b.getTokenTypeAt(a.Pos(t,k+1))==n.tokenType)if(k==w)++g;else if(!--g){var x=t;var z=k;break a}++k}return null==x||e==x?null:{from:a.Pos(e,q),to:a.Pos(x,z)}}for(var e=f.line,c=b.getLine(e),m=[],l=0;ld.lastLine())return null;var m=d.getTokenAt(a.Pos(c,1));/\S/.test(m.string)||(m=d.getTokenAt(a.Pos(c,m.end+1)));if("keyword"!=m.type||"import"!=m.string)return null;var l=c;for(c=Math.min(d.lastLine(),c+10);l<=c;++l){var r=d.getLine(l).indexOf(";"); +if(-1!=r)return{startCh:m.end,end:a.Pos(l,r)}}}b=b.line;var p=f(b),h;if(!p||f(b-1)||(h=f(b-2))&&h.end.line==b-1)return null;for(h=p.end;;){var e=f(h.line+1);if(null==e)break;h=e.end}return{from:d.clipPos(a.Pos(b,p.startCh+1)),to:h}});a.registerHelper("fold","include",function(d,b){function f(e){if(ed.lastLine())return null;var c=d.getTokenAt(a.Pos(e,1));/\S/.test(c.string)||(c=d.getTokenAt(a.Pos(e,c.end+1)));if("meta"==c.type&&"#include"==c.string.slice(0,8))return c.start+8}b=b.line; +var p=f(b);if(null==p||null!=f(b-1))return null;for(var h=b;null!=f(h+1);)++h;return{from:a.Pos(b,p+1),to:d.clipPos(a.Pos(h))}})}); + +// xml-fold.js + +(function(h){"object"==typeof exports&&"object"==typeof module?h(require("../../lib/codemirror")):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],h):h(CodeMirror)})(function(h){function l(a,b,d,c){this.line=b;this.ch=d;this.cm=a;this.text=a.getLine(b);this.min=c?Math.max(c.from,a.firstLine()):a.firstLine();this.max=c?Math.min(c.to-1,a.lastLine()):a.lastLine()}function n(a,b){return(a=a.cm.getTokenTypeAt(k(a.line,b)))&&/\btag\b/.test(a)}function u(a){if(!(a.line>=a.max))return a.ch= +0,a.text=a.cm.getLine(++a.line),!0}function v(a){if(!(a.line<=a.min))return a.text=a.cm.getLine(--a.line),a.ch=a.text.length,!0}function r(a){for(;;){var b=a.text.indexOf(">",a.ch);if(-1==b)if(u(a))continue;else break;if(n(a,b+1)){var d=a.text.lastIndexOf("/",b);d=-1m&&(!b||b==c[2]))return{tag:c[2],from:k(e,g),to:k(a.line,a.ch)}}else d.push(c[2])}}function x(a,b){for(var d= +[];;){var c;a:for(c=a;;){var f=c.ch?c.text.lastIndexOf(">",c.ch-1):-1;if(-1==f)if(v(c))continue;else{c=void 0;break a}if(n(c,f+1)){var e=c.text.lastIndexOf("/",f);e=-1g&&(!b||b==e[2]))return{tag:e[2],from:k(a.line,a.ch),to:k(c,f)}}}}}var k=h.Pos, +p=RegExp("<(/?)([A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD-:.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*)","g");h.registerHelper("fold","xml",function(a,b){for(a=new l(a,b.line,0);;){var d=w(a);if(!d|| +a.line!=b.line)break;var c=r(a);if(!c)break;if(!d[1]&&"selfClose"!=c){b=k(a.line,a.ch);if(d=a=q(a,d[2]))d=a.from,d=0<(d.line-b.line||d.ch-b.ch);return d?{from:b,to:a.from}:null}}});h.findMatchingTag=function(a,b,d){var c=new l(a,b.line,b.ch,d);if(-1!=c.text.indexOf(">")||-1!=c.text.indexOf("<")){var f=r(c),e=f&&k(c.line,c.ch),g=f&&t(c);if(f&&g&&!(0<(c.line-b.line||c.ch-b.ch))){b={from:k(c.line,c.ch),to:e,tag:g[2]};if("selfClose"==f)return{open:b,close:null,at:"open"};if(g[1])return{open:x(c,g[2]), +close:b,at:"close"};c=new l(a,e.line,e.ch,d);return{open:b,close:q(c,g[2]),at:"open"}}}};h.findEnclosingTag=function(a,b,d,c){for(var f=new l(a,b.line,b.ch,d);;){var e=x(f,c);if(!e)break;var g=new l(a,b.line,b.ch,d);if(g=q(g,e.tag))return{open:e,close:g}}};h.scanForClosingTag=function(a,b,d,c){a=new l(a,b.line,b.ch,c?{from:0,to:c}:null);return q(a,d)}}); + +// indent-fold.js + +(function(a){"object"==typeof exports&&"object"==typeof module?a(require("../../lib/codemirror")):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],a):a(CodeMirror)})(function(a){function g(b,c){var e=b.getLine(c),d=e.search(/\S/);return-1==d||/\bcomment\b/.test(b.getTokenTypeAt(a.Pos(c,d+1)))?-1:a.countColumn(e,null,b.getOption("tabSize"))}a.registerHelper("fold","indent",function(b,c){var e=g(b,c.line);if(!(0>e)){for(var d=null,f=c.line+1,k=b.lastLine();f<=k;++f){var h=g(b,f); +if(-1!=h)if(h>e)d=f;else break}if(d)return{from:a.Pos(c.line,b.getLine(c.line).length),to:a.Pos(d,b.getLine(d).length)}}})}); + +// comment-fold.js + +(function(c){"object"==typeof exports&&"object"==typeof module?c(require("../../lib/codemirror")):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],c):c(CodeMirror)})(function(c){c.registerGlobalHelper("fold","comment",function(d){return d.blockCommentStart&&d.blockCommentEnd},function(d,e){var f=d.getModeAt(e),m=f.blockCommentStart;f=f.blockCommentEnd;if(m&&f){for(var g=e.line,h=d.getLine(g),a=e.ch,k=0;;)if(a=0>=a?-1:h.lastIndexOf(m,a-1),-1==a){if(1==k)return;k=1;a=h.length}else{if(1== +k&&an&&(n=l.length);0>b&&(b=l.length);b=Math.min(n,b);if(b==l.length)break;if(b==n)++h;else if(!--h){var p=a;var q=b;break a}++b}if(null!=p&&(g!=p||q!=e))return{from:c.Pos(g,e),to:c.Pos(p,q)}}})}); + +// matchtags.js + +(function(d){"object"==typeof exports&&"object"==typeof module?d(require("../../lib/codemirror"),require("../fold/xml-fold")):"function"==typeof define&&define.amd?define(["../../lib/codemirror","../fold/xml-fold"],d):d(CodeMirror)})(function(d){function f(a){a.state.tagHit&&a.state.tagHit.clear();a.state.tagOther&&a.state.tagOther.clear();a.state.tagHit=a.state.tagOther=null}function e(a){a.state.failedTagMatch=!1;a.operation(function(){f(a);if(!a.somethingSelected()){var b=a.getCursor(),c=a.getViewport(); +c.from=Math.min(c.from,b.line);c.to=Math.max(b.line+1,c.to);if(b=d.findMatchingTag(a,b,c))a.state.matchBothTags&&(c="open"==b.at?b.open:b.close)&&(a.state.tagHit=a.markText(c.from,c.to,{className:"CodeMirror-matchingtag"})),(b="close"==b.at?b.open:b.close)?a.state.tagOther=a.markText(b.from,b.to,{className:"CodeMirror-matchingtag"}):a.state.failedTagMatch=!0}})}function g(a){a.state.failedTagMatch&&e(a)}d.defineOption("matchTags",!1,function(a,b,c){c&&c!=d.Init&&(a.off("cursorActivity",e),a.off("viewportChange", +g),f(a));b&&(a.state.matchBothTags="object"==typeof b&&b.bothTags,a.on("cursorActivity",e),a.on("viewportChange",g),e(a))});d.commands.toMatchingTag=function(a){var b=d.findMatchingTag(a,a.getCursor());b&&(b="close"==b.at?b.open:b.close)&&a.extendSelection(b.to,b.from)}}); + +// dialog.js + +(function(c){"object"==typeof exports&&"object"==typeof module?c(require("../../lib/codemirror")):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],c):c(CodeMirror)})(function(c){function m(b,g,a){b=b.getWrapperElement();var d=b.appendChild(document.createElement("div"));d.className=a?"CodeMirror-dialog CodeMirror-dialog-bottom":"CodeMirror-dialog CodeMirror-dialog-top";"string"==typeof g?d.innerHTML=g:d.appendChild(g);c.addClass(b,"dialog-opened");return d}function n(b,g){b.state.currentNotificationClose&& +b.state.currentNotificationClose();b.state.currentNotificationClose=g}c.defineExtension("openDialog",function(b,g,a){function d(e){if("string"==typeof e)f.value=e;else if(!k&&(k=!0,c.rmClass(h.parentNode,"dialog-opened"),h.parentNode.removeChild(h),l.focus(),a.onClose))a.onClose(h)}a||(a={});n(this,null);var h=m(this,b,a.bottom),k=!1,l=this,f=h.getElementsByTagName("input")[0];if(f){f.focus();a.value&&(f.value=a.value,!1!==a.selectValueOnOpen&&f.select());if(a.onInput)c.on(f,"input",function(e){a.onInput(e, +f.value,d)});if(a.onKeyUp)c.on(f,"keyup",function(e){a.onKeyUp(e,f.value,d)});c.on(f,"keydown",function(e){if(!(a&&a.onKeyDown&&a.onKeyDown(e,f.value,d))){if(27==e.keyCode||!1!==a.closeOnEnter&&13==e.keyCode)f.blur(),c.e_stop(e),d();13==e.keyCode&&g(f.value,e)}});if(!1!==a.closeOnBlur)c.on(h,"focusout",function(e){null!==e.relatedTarget&&d()})}else if(b=h.getElementsByTagName("button")[0]){c.on(b,"click",function(){d();l.focus()});if(!1!==a.closeOnBlur)c.on(b,"blur",d);b.focus()}return d});c.defineExtension("openConfirm", +function(b,g,a){function d(){k||(k=!0,c.rmClass(h.parentNode,"dialog-opened"),h.parentNode.removeChild(h),l.focus())}n(this,null);var h=m(this,b,a&&a.bottom);b=h.getElementsByTagName("button");var k=!1,l=this,f=1;b[0].focus();for(a=0;a=f&&d()},200)});c.on(e,"focus",function(){++f})}});c.defineExtension("openNotification",function(b,g){function a(){h|| +(h=!0,clearTimeout(k),c.rmClass(d.parentNode,"dialog-opened"),d.parentNode.removeChild(d))}n(this,a);var d=m(this,b,g&&g.bottom),h=!1,k;b=g&&"undefined"!==typeof g.duration?g.duration:5E3;c.on(d,"click",function(l){c.e_preventDefault(l);a()});b&&(k=setTimeout(a,b));return a})}); + +// vim.js + +var $jscomp=$jscomp||{};$jscomp.scope={};$jscomp.findInternal=function(t,x,p){t instanceof String&&(t=String(t));for(var B=t.length,C=0;C>>0,$jscomp.propertyToPolyfillSymbol[C]=$jscomp.IS_SYMBOL_NATIVE? +$jscomp.global.Symbol(C):$jscomp.POLYFILL_PREFIX+p+"$"+C),$jscomp.defineProperty(B,$jscomp.propertyToPolyfillSymbol[C],{configurable:!0,writable:!0,value:x})))};$jscomp.polyfill("Array.prototype.find",function(t){return t?t:function(x,p){return $jscomp.findInternal(this,x,p).v}},"es6","es3");$jscomp.arrayIteratorImpl=function(t){var x=0;return function(){return x>>0)+"_",B=0,C=function(K){if(this instanceof C)throw new TypeError("Symbol is not a constructor");return new x(p+(K||"")+"_"+B++,K)};return C},"es6","es3"); +$jscomp.polyfill("Symbol.iterator",function(t){if(t)return t;t=Symbol("Symbol.iterator");for(var x="Array Int8Array Uint8Array Uint8ClampedArray Int16Array Uint16Array Int32Array Uint32Array Float32Array Float64Array".split(" "),p=0;px||1342177279>>=1)p+=p;return B}},"es6","es3"); +(function(t){"object"==typeof exports&&"object"==typeof module?t(require("../lib/codemirror"),require("../addon/search/searchcursor"),require("../addon/dialog/dialog"),require("../addon/edit/matchbrackets.js")):"function"==typeof define&&define.amd?define(["../lib/codemirror","../addon/search/searchcursor","../addon/dialog/dialog","../addon/edit/matchbrackets"],t):t(CodeMirror)})(function(t){function x(p){function B(a,b){a=a.state.vim;if(!a||a.insertMode)return b.head;var c=a.sel.head;if(!c)return b.head; +if(!a.visualBlock||b.head.line==c.line)return b.from()!=b.anchor||b.empty()||b.head.line!=c.line||b.head.ch==c.ch?b.head:new r(b.head.line,b.head.ch-1)}function C(a){a.setOption("disableInput",!0);a.setOption("showCursorWhenSelecting",!1);p.signal(a,"vim-mode-change",{mode:"normal"});a.on("cursorActivity",Na);pa(a);p.on(a.getInputField(),"paste",Oa(a))}function K(a,b){this==p.keyMap.vim&&(a.options.$customCursor=null,p.rmClass(a.getWrapperElement(),"cm-fat-cursor"));b&&b.attach==T||(a.setOption("disableInput", +!1),a.off("cursorActivity",Na),p.off(a.getInputField(),"paste",Oa(a)),a.state.vim=null,qa&&clearTimeout(qa))}function T(a,b){this==p.keyMap.vim&&(a.curOp&&(a.curOp.selectionChanged=!0),a.options.$customCursor=B,p.addClass(a.getWrapperElement(),"cm-fat-cursor"));b&&b.attach==T||C(a)}function ya(a,b){if(b){if(this[a])return this[a];a=Cb(a);if(!a)return!1;var c=Z.findKey(b,a);"function"==typeof c&&p.signal(b,"vim-keypress",a);return c}}function Cb(a){if("'"==a.charAt(0))return a.charAt(1);a=a.split(/-(?!$)/); +var b=a[a.length-1];if(1==a.length&&1==a[0].length||2==a.length&&"Shift"==a[0]&&1==b.length)return!1;for(var c=!1,d=0;d"}function Oa(a){var b=a.state.vim;b.onPasteFn||(b.onPasteFn=function(){b.insertMode||(a.setCursor(L(a.getCursor(),0,1)),ra.enterInsertMode(a,{},b))});return b.onPasteFn}function za(a,b){for(var c=[],d=a;d=a.firstLine()&&b<=a.lastLine()}function P(a){return/^\s*$/.test(a)}function ka(a){return-1!=".?!".indexOf(a)}function Ba(a,b){for(var c=0;ch?g:0;h=d[m].anchor;var n=Math.min(h.line,f.line);g=Math.max(h.line,f.line);l=h.ch;f=f.ch;d=d[m].head.ch-l;m=f-l;0=m?(l++,e||f--):0>d&&0<=m?(l--,k||f++):0>d&&-1==m&&(l--,f++);for(e=n;e<=g;e++)d={anchor:new r(e,l),head:new r(e, +f)},c.push(d);a.setSelections(c);b.ch=f;h.ch=l;return h}function Za(a,b,c){for(var d=[],f=0;fb&&(f.line=b),f.ch=J(a,f.line)),{ranges:[{anchor:e,head:f}],primary:0};if("block"==c){b=Math.min(e.line,f.line);a=e.ch;c=Math.max(e.line,f.line);e=f.ch;a=a.length)return null;d?f=Ga[0]:(f=wa[0],f(a.charAt(e))||(f=wa[1]));for(d=e;f(a.charAt(d))&&dk&&!d?d=!0:f=!1;for(g=b;g>h&&(f&&!a.getLine(g)!=d&&g!=b||!e(g,-1,!0));g--);return{start:new r(g,0),end:c}}function db(a,b,c,d,f){function e(g){0>g.pos+g.dir||g.pos+g.dir>=g.line.length?g.line=null:g.pos+=g.dir}function h(g,l,m,n){g={line:g.getLine(l),ln:l,pos:m,dir:n};if(""===g.line)return{ln:g.ln,pos:g.pos};l=g.pos;for(e(g);null!==g.line;){l=g.pos;if(ka(g.line[g.pos]))if(f){for(e(g);null!==g.line;)if(P(g.line[g.pos]))l= +g.pos,e(g);else break;break}else return{ln:g.ln,pos:g.pos+1};e(g)}return{ln:g.ln,pos:l+1}}function k(g,l,m,n){g=g.getLine(l);l={line:g,ln:l,pos:m,dir:n};if(""===l.line)return{ln:l.ln,pos:l.pos};m=l.pos;for(e(l);null!==l.line;){if(!P(l.line[l.pos])&&!ka(l.line[l.pos]))m=l.pos;else if(ka(l.line[l.pos]))return f?P(l.line[l.pos+1])?{ln:l.ln,pos:l.pos+1}:{ln:l.ln,pos:m}:{ln:l.ln,pos:m};e(l)}l.line=g;return f&&P(l.line[l.pos])?{ln:l.ln,pos:l.pos}:{ln:l.ln,pos:m}}for(b={ln:b.line,pos:b.ch};0d?k(a, +b.ln,b.pos,d):h(a,b.ln,b.pos,d),c--;return new r(b.ln,b.pos)}function Hb(a,b,c,d){function f(k,g){0>g.pos+g.dir||g.pos+g.dir>=g.line.length?(g.ln+=g.dir,Aa(k,g.ln)?(g.line=k.getLine(g.ln),g.pos=0d?h(a,b.ln,b.pos,d):e(a,b.ln,b.pos,d),c--;return new r(b.ln,b.pos)}function eb(){}function X(a){a=a.state.vim;return a.searchState_||(a.searchState_=new eb)}function fb(a,b){b=gb(a,b)||[];if(!b.length)return[];var c=[];if(0===b[0]){for(var d=0;d=b&&a<=c:a==b}function Ja(a){var b=a.getScrollInfo(),c=a.coordsChar({left:0,top:6+b.top},"local");a=a.coordsChar({left:0,top:b.clientHeight-10+b.top},"local");return{top:c.line,bottom:a.line}}function jb(a,b,c){return"'"==c||"`"==c?v.jumpList.find(a,-1)||new r(0,0):"."==c?kb(a):(a=b.marks[c])&&a.find()}function kb(a){a=a.doc.history.done;for(var b=a.length;b--;)if(a[b].changes)return H(a[b].changes[0].to)}function Lb(a,b,c,d,f,e,h,k,g){function l(){a.operation(function(){for(;!q;)m(), +u();w()})}function m(){var F=a.getRange(e.from(),e.to()).replace(h,k),z=e.to().line;e.replace(F);A=e.to().line;f+=A-z;D=A",ha(d,c))}else b.insertMode||(b.lastHPos=a.getCursor().ch)}function Ka(a){this.keyName=a}function mb(a){function b(){c.maybeReset&&(c.changes=[],c.maybeReset=!1);c.changes.push(new Ka(d));return!0}var c=v.macroModeState.lastInsertModeChanges,d=p.keyName(a);d&&(-1==d.indexOf("Delete")&&-1==d.indexOf("Backspace")||p.lookupKey(d,"vim-insert",b))}function nb(a,b,c,d){function f(){k?ea.processAction(a, +b,b.lastEditActionCommand):ea.evalInput(a,b)}function e(m){0",type:"keyToKey",toKeys:"h"},{keys:"",type:"keyToKey",toKeys:"l"},{keys:"",type:"keyToKey",toKeys:"k"},{keys:"",type:"keyToKey",toKeys:"j"},{keys:"g",type:"keyToKey",toKeys:"gk"},{keys:"g",type:"keyToKey",toKeys:"gj"}, +{keys:"",type:"keyToKey",toKeys:"l"},{keys:"",type:"keyToKey",toKeys:"h",context:"normal"},{keys:"",type:"keyToKey",toKeys:"x",context:"normal"},{keys:"",type:"keyToKey",toKeys:"W"},{keys:"",type:"keyToKey",toKeys:"B",context:"normal"},{keys:"",type:"keyToKey",toKeys:"w"},{keys:"",type:"keyToKey",toKeys:"b",context:"normal"},{keys:"",type:"keyToKey",toKeys:"j"},{keys:"",type:"keyToKey",toKeys:"k"},{keys:"",type:"keyToKey",toKeys:""}, +{keys:"",type:"keyToKey",toKeys:""},{keys:"",type:"keyToKey",toKeys:"",context:"insert"},{keys:"",type:"keyToKey",toKeys:"",context:"insert"},{keys:"",type:"keyToKey",toKeys:""},{keys:"",type:"keyToKey",toKeys:"",context:"insert"},{keys:"s",type:"keyToKey",toKeys:"cl",context:"normal"},{keys:"s",type:"keyToKey",toKeys:"c",context:"visual"},{keys:"S",type:"keyToKey",toKeys:"cc",context:"normal"},{keys:"S",type:"keyToKey",toKeys:"VdO",context:"visual"}, +{keys:"",type:"keyToKey",toKeys:"0"},{keys:"",type:"keyToKey",toKeys:"$"},{keys:"",type:"keyToKey",toKeys:""},{keys:"",type:"keyToKey",toKeys:""},{keys:"",type:"keyToKey",toKeys:"j^",context:"normal"},{keys:"",type:"keyToKey",toKeys:"i",context:"normal"},{keys:"",type:"action",action:"toggleOverwrite",context:"insert"},{keys:"H",type:"motion",motion:"moveToTopLine",motionArgs:{linewise:!0,toJumplist:!0}},{keys:"M",type:"motion",motion:"moveToMiddleLine", +motionArgs:{linewise:!0,toJumplist:!0}},{keys:"L",type:"motion",motion:"moveToBottomLine",motionArgs:{linewise:!0,toJumplist:!0}},{keys:"h",type:"motion",motion:"moveByCharacters",motionArgs:{forward:!1}},{keys:"l",type:"motion",motion:"moveByCharacters",motionArgs:{forward:!0}},{keys:"j",type:"motion",motion:"moveByLines",motionArgs:{forward:!0,linewise:!0}},{keys:"k",type:"motion",motion:"moveByLines",motionArgs:{forward:!1,linewise:!0}},{keys:"gj",type:"motion",motion:"moveByDisplayLines",motionArgs:{forward:!0}}, +{keys:"gk",type:"motion",motion:"moveByDisplayLines",motionArgs:{forward:!1}},{keys:"w",type:"motion",motion:"moveByWords",motionArgs:{forward:!0,wordEnd:!1}},{keys:"W",type:"motion",motion:"moveByWords",motionArgs:{forward:!0,wordEnd:!1,bigWord:!0}},{keys:"e",type:"motion",motion:"moveByWords",motionArgs:{forward:!0,wordEnd:!0,inclusive:!0}},{keys:"E",type:"motion",motion:"moveByWords",motionArgs:{forward:!0,wordEnd:!0,bigWord:!0,inclusive:!0}},{keys:"b",type:"motion",motion:"moveByWords",motionArgs:{forward:!1, +wordEnd:!1}},{keys:"B",type:"motion",motion:"moveByWords",motionArgs:{forward:!1,wordEnd:!1,bigWord:!0}},{keys:"ge",type:"motion",motion:"moveByWords",motionArgs:{forward:!1,wordEnd:!0,inclusive:!0}},{keys:"gE",type:"motion",motion:"moveByWords",motionArgs:{forward:!1,wordEnd:!0,bigWord:!0,inclusive:!0}},{keys:"{",type:"motion",motion:"moveByParagraph",motionArgs:{forward:!1,toJumplist:!0}},{keys:"}",type:"motion",motion:"moveByParagraph",motionArgs:{forward:!0,toJumplist:!0}},{keys:"(",type:"motion", +motion:"moveBySentence",motionArgs:{forward:!1}},{keys:")",type:"motion",motion:"moveBySentence",motionArgs:{forward:!0}},{keys:"",type:"motion",motion:"moveByPage",motionArgs:{forward:!0}},{keys:"",type:"motion",motion:"moveByPage",motionArgs:{forward:!1}},{keys:"",type:"motion",motion:"moveByScroll",motionArgs:{forward:!0,explicitRepeat:!0}},{keys:"",type:"motion",motion:"moveByScroll",motionArgs:{forward:!1,explicitRepeat:!0}},{keys:"gg",type:"motion",motion:"moveToLineOrEdgeOfDocument", +motionArgs:{forward:!1,explicitRepeat:!0,linewise:!0,toJumplist:!0}},{keys:"G",type:"motion",motion:"moveToLineOrEdgeOfDocument",motionArgs:{forward:!0,explicitRepeat:!0,linewise:!0,toJumplist:!0}},{keys:"g$",type:"motion",motion:"moveToEndOfDisplayLine"},{keys:"g^",type:"motion",motion:"moveToStartOfDisplayLine"},{keys:"g0",type:"motion",motion:"moveToStartOfDisplayLine"},{keys:"0",type:"motion",motion:"moveToStartOfLine"},{keys:"^",type:"motion",motion:"moveToFirstNonWhiteSpaceCharacter"},{keys:"+", +type:"motion",motion:"moveByLines",motionArgs:{forward:!0,toFirstChar:!0}},{keys:"-",type:"motion",motion:"moveByLines",motionArgs:{forward:!1,toFirstChar:!0}},{keys:"_",type:"motion",motion:"moveByLines",motionArgs:{forward:!0,toFirstChar:!0,repeatOffset:-1}},{keys:"$",type:"motion",motion:"moveToEol",motionArgs:{inclusive:!0}},{keys:"%",type:"motion",motion:"moveToMatchedSymbol",motionArgs:{inclusive:!0,toJumplist:!0}},{keys:"f",type:"motion",motion:"moveToCharacter",motionArgs:{forward:!0, +inclusive:!0}},{keys:"F",type:"motion",motion:"moveToCharacter",motionArgs:{forward:!1}},{keys:"t",type:"motion",motion:"moveTillCharacter",motionArgs:{forward:!0,inclusive:!0}},{keys:"T",type:"motion",motion:"moveTillCharacter",motionArgs:{forward:!1}},{keys:";",type:"motion",motion:"repeatLastCharacterSearch",motionArgs:{forward:!0}},{keys:",",type:"motion",motion:"repeatLastCharacterSearch",motionArgs:{forward:!1}},{keys:"'",type:"motion",motion:"goToMark", +motionArgs:{toJumplist:!0,linewise:!0}},{keys:"`",type:"motion",motion:"goToMark",motionArgs:{toJumplist:!0}},{keys:"]`",type:"motion",motion:"jumpToMark",motionArgs:{forward:!0}},{keys:"[`",type:"motion",motion:"jumpToMark",motionArgs:{forward:!1}},{keys:"]'",type:"motion",motion:"jumpToMark",motionArgs:{forward:!0,linewise:!0}},{keys:"['",type:"motion",motion:"jumpToMark",motionArgs:{forward:!1,linewise:!0}},{keys:"]p",type:"action",action:"paste",isEdit:!0,actionArgs:{after:!0,isEdit:!0, +matchIndent:!0}},{keys:"[p",type:"action",action:"paste",isEdit:!0,actionArgs:{after:!1,isEdit:!0,matchIndent:!0}},{keys:"]",type:"motion",motion:"moveToSymbol",motionArgs:{forward:!0,toJumplist:!0}},{keys:"[",type:"motion",motion:"moveToSymbol",motionArgs:{forward:!1,toJumplist:!0}},{keys:"|",type:"motion",motion:"moveToColumn"},{keys:"o",type:"motion",motion:"moveToOtherHighlightedEnd",context:"visual"},{keys:"O",type:"motion",motion:"moveToOtherHighlightedEnd",motionArgs:{sameLine:!0}, +context:"visual"},{keys:"d",type:"operator",operator:"delete"},{keys:"y",type:"operator",operator:"yank"},{keys:"c",type:"operator",operator:"change"},{keys:"=",type:"operator",operator:"indentAuto"},{keys:">",type:"operator",operator:"indent",operatorArgs:{indentRight:!0}},{keys:"<",type:"operator",operator:"indent",operatorArgs:{indentRight:!1}},{keys:"g~",type:"operator",operator:"changeCase"},{keys:"gu",type:"operator",operator:"changeCase",operatorArgs:{toLower:!0},isEdit:!0},{keys:"gU",type:"operator", +operator:"changeCase",operatorArgs:{toLower:!1},isEdit:!0},{keys:"n",type:"motion",motion:"findNext",motionArgs:{forward:!0,toJumplist:!0}},{keys:"N",type:"motion",motion:"findNext",motionArgs:{forward:!1,toJumplist:!0}},{keys:"gn",type:"motion",motion:"findAndSelectNextInclusive",motionArgs:{forward:!0}},{keys:"gN",type:"motion",motion:"findAndSelectNextInclusive",motionArgs:{forward:!1}},{keys:"x",type:"operatorMotion",operator:"delete",motion:"moveByCharacters",motionArgs:{forward:!0},operatorMotionArgs:{visualLine:!1}}, +{keys:"X",type:"operatorMotion",operator:"delete",motion:"moveByCharacters",motionArgs:{forward:!1},operatorMotionArgs:{visualLine:!0}},{keys:"D",type:"operatorMotion",operator:"delete",motion:"moveToEol",motionArgs:{inclusive:!0},context:"normal"},{keys:"D",type:"operator",operator:"delete",operatorArgs:{linewise:!0},context:"visual"},{keys:"Y",type:"operatorMotion",operator:"yank",motion:"expandToLine",motionArgs:{linewise:!0},context:"normal"},{keys:"Y",type:"operator",operator:"yank",operatorArgs:{linewise:!0}, +context:"visual"},{keys:"C",type:"operatorMotion",operator:"change",motion:"moveToEol",motionArgs:{inclusive:!0},context:"normal"},{keys:"C",type:"operator",operator:"change",operatorArgs:{linewise:!0},context:"visual"},{keys:"~",type:"operatorMotion",operator:"changeCase",motion:"moveByCharacters",motionArgs:{forward:!0},operatorArgs:{shouldMoveCursor:!0},context:"normal"},{keys:"~",type:"operator",operator:"changeCase",context:"visual"},{keys:"",type:"operatorMotion",operator:"delete",motion:"moveToStartOfLine", +context:"insert"},{keys:"",type:"operatorMotion",operator:"delete",motion:"moveByWords",motionArgs:{forward:!1,wordEnd:!1},context:"insert"},{keys:"",type:"idle",context:"normal"},{keys:"",type:"action",action:"jumpListWalk",actionArgs:{forward:!0}},{keys:"",type:"action",action:"jumpListWalk",actionArgs:{forward:!1}},{keys:"",type:"action",action:"scroll",actionArgs:{forward:!0,linewise:!0}},{keys:"",type:"action",action:"scroll",actionArgs:{forward:!1,linewise:!0}}, +{keys:"a",type:"action",action:"enterInsertMode",isEdit:!0,actionArgs:{insertAt:"charAfter"},context:"normal"},{keys:"A",type:"action",action:"enterInsertMode",isEdit:!0,actionArgs:{insertAt:"eol"},context:"normal"},{keys:"A",type:"action",action:"enterInsertMode",isEdit:!0,actionArgs:{insertAt:"endOfSelectedArea"},context:"visual"},{keys:"i",type:"action",action:"enterInsertMode",isEdit:!0,actionArgs:{insertAt:"inplace"},context:"normal"},{keys:"gi",type:"action",action:"enterInsertMode",isEdit:!0, +actionArgs:{insertAt:"lastEdit"},context:"normal"},{keys:"I",type:"action",action:"enterInsertMode",isEdit:!0,actionArgs:{insertAt:"firstNonBlank"},context:"normal"},{keys:"gI",type:"action",action:"enterInsertMode",isEdit:!0,actionArgs:{insertAt:"bol"},context:"normal"},{keys:"I",type:"action",action:"enterInsertMode",isEdit:!0,actionArgs:{insertAt:"startOfSelectedArea"},context:"visual"},{keys:"o",type:"action",action:"newLineAndEnterInsertMode",isEdit:!0,interlaceInsertRepeat:!0,actionArgs:{after:!0}, +context:"normal"},{keys:"O",type:"action",action:"newLineAndEnterInsertMode",isEdit:!0,interlaceInsertRepeat:!0,actionArgs:{after:!1},context:"normal"},{keys:"v",type:"action",action:"toggleVisualMode"},{keys:"V",type:"action",action:"toggleVisualMode",actionArgs:{linewise:!0}},{keys:"",type:"action",action:"toggleVisualMode",actionArgs:{blockwise:!0}},{keys:"",type:"action",action:"toggleVisualMode",actionArgs:{blockwise:!0}},{keys:"gv",type:"action",action:"reselectLastSelection"},{keys:"J", +type:"action",action:"joinLines",isEdit:!0},{keys:"gJ",type:"action",action:"joinLines",actionArgs:{keepSpaces:!0},isEdit:!0},{keys:"p",type:"action",action:"paste",isEdit:!0,actionArgs:{after:!0,isEdit:!0}},{keys:"P",type:"action",action:"paste",isEdit:!0,actionArgs:{after:!1,isEdit:!0}},{keys:"r",type:"action",action:"replace",isEdit:!0},{keys:"@",type:"action",action:"replayMacro"},{keys:"q",type:"action",action:"enterMacroRecordMode"},{keys:"R",type:"action",action:"enterInsertMode", +isEdit:!0,actionArgs:{replace:!0},context:"normal"},{keys:"R",type:"operator",operator:"change",operatorArgs:{linewise:!0,fullLine:!0},context:"visual",exitVisualBlock:!0},{keys:"u",type:"action",action:"undo",context:"normal"},{keys:"u",type:"operator",operator:"changeCase",operatorArgs:{toLower:!0},context:"visual",isEdit:!0},{keys:"U",type:"operator",operator:"changeCase",operatorArgs:{toLower:!1},context:"visual",isEdit:!0},{keys:"",type:"action",action:"redo"},{keys:"m",type:"action", +action:"setMark"},{keys:'"',type:"action",action:"setRegister"},{keys:"zz",type:"action",action:"scrollToCursor",actionArgs:{position:"center"}},{keys:"z.",type:"action",action:"scrollToCursor",actionArgs:{position:"center"},motion:"moveToFirstNonWhiteSpaceCharacter"},{keys:"zt",type:"action",action:"scrollToCursor",actionArgs:{position:"top"}},{keys:"z",type:"action",action:"scrollToCursor",actionArgs:{position:"top"},motion:"moveToFirstNonWhiteSpaceCharacter"},{keys:"zb",type:"action", +action:"scrollToCursor",actionArgs:{position:"bottom"}},{keys:"z-",type:"action",action:"scrollToCursor",actionArgs:{position:"bottom"},motion:"moveToFirstNonWhiteSpaceCharacter"},{keys:".",type:"action",action:"repeatLastEdit"},{keys:"",type:"action",action:"incrementNumberToken",isEdit:!0,actionArgs:{increase:!0,backtrack:!1}},{keys:"",type:"action",action:"incrementNumberToken",isEdit:!0,actionArgs:{increase:!1,backtrack:!1}},{keys:"",type:"action",action:"indent",actionArgs:{indentRight:!0}, +context:"insert"},{keys:"",type:"action",action:"indent",actionArgs:{indentRight:!1},context:"insert"},{keys:"a",type:"motion",motion:"textObjectManipulation"},{keys:"i",type:"motion",motion:"textObjectManipulation",motionArgs:{textObjectInner:!0}},{keys:"/",type:"search",searchArgs:{forward:!0,querySrc:"prompt",toJumplist:!0}},{keys:"?",type:"search",searchArgs:{forward:!1,querySrc:"prompt",toJumplist:!0}},{keys:"*",type:"search",searchArgs:{forward:!0,querySrc:"wordUnderCursor", +wholeWordOnly:!0,toJumplist:!0}},{keys:"#",type:"search",searchArgs:{forward:!1,querySrc:"wordUnderCursor",wholeWordOnly:!0,toJumplist:!0}},{keys:"g*",type:"search",searchArgs:{forward:!0,querySrc:"wordUnderCursor",toJumplist:!0}},{keys:"g#",type:"search",searchArgs:{forward:!1,querySrc:"wordUnderCursor",toJumplist:!0}},{keys:":",type:"ex"}],Ma=O.length,rb=[{name:"colorscheme",shortName:"colo"},{name:"map"},{name:"imap",shortName:"im"},{name:"nmap",shortName:"nm"},{name:"vmap",shortName:"vm"},{name:"unmap"}, +{name:"write",shortName:"w"},{name:"undo",shortName:"u"},{name:"redo",shortName:"red"},{name:"set",shortName:"se"},{name:"setlocal",shortName:"setl"},{name:"setglobal",shortName:"setg"},{name:"sort",shortName:"sor"},{name:"substitute",shortName:"s",possiblyAsync:!0},{name:"nohlsearch",shortName:"noh"},{name:"yank",shortName:"y"},{name:"delmarks",shortName:"delm"},{name:"registers",shortName:"reg",excludeFromCommandHistory:!0},{name:"vglobal",shortName:"v"},{name:"global",shortName:"g"}];p.defineOption("vimMode", +!1,function(a,b,c){b&&"vim"!=a.getOption("keyMap")?a.setOption("keyMap","vim"):!b&&c!=p.Init&&/^vim/.test(a.getOption("keyMap"))&&a.setOption("keyMap","default")});var Pa={Shift:"S",Ctrl:"C",Alt:"A",Cmd:"D",Mod:"A",CapsLock:""},Qa={Enter:"CR",Backspace:"BS",Delete:"Del",Insert:"Ins"},Mb=/[\d]/,wa=[p.isWordChar,function(a){return a&&!p.isWordChar(a)&&!/\s/.test(a)}],Ga=[function(a){return/\S/.test(a)}],sb=za(65,26),tb=za(97,26),ub=za(48,10),Gb=[].concat(sb,tb,ub,["<",">"]),vb=[].concat(sb,tb,ub,'-".:_/'.split("")); +try{var ja=RegExp("^[\\p{Lu}]$","u")}catch(a){ja=/^[A-Z]$/}var aa={};sa("filetype",void 0,"string",["ft"],function(a,b){if(void 0!==b){if(void 0===a)return a=b.getOption("mode"),"null"==a?"":a;b.setOption("mode",""==a?"null":a)}});var Db=function(){function a(e,h){b+=h;b>c?b=c:bd)}return k}var b=-1,c=0,d=0,f=Array(100);return{cachedCursor:void 0, +add:function(e,h,k){function g(m){var n=++b%100,u=f[n];u&&u.clear();f[n]=e.setBookmark(m)}var l=f[b%100];l?(l=l.find())&&!R(l,h)&&g(h):g(h);g(k);c=b;d=b-100+1;0>d&&(d=0)},find:function(e,h){var k=b;e=a(e,h);b=k;return e&&e.find()},move:a}},Sa=function(a){return a?{changes:a.changes,expectCursorActivityForChange:a.expectCursorActivityForChange}:{changes:[],expectCursorActivityForChange:!1}};Ra.prototype={exitMacroRecordMode:function(){var a=v.macroModeState;if(a.onRecordingDone)a.onRecordingDone(); +a.onRecordingDone=void 0;a.isRecording=!1},enterMacroRecordMode:function(a,b){var c=v.registerController.getRegister(b);c&&(c.clear(),this.latestRegister=b,a.openDialog&&(b=da("span",{class:"cm-vim-message"},"recording @"+b),this.onRecordingDone=a.openDialog(b,null,{bottom:!0})),this.isRecording=!0)}};var v,oa,Z={enterVimMode:C,buildKeyMap:function(){},getRegisterController:function(){return v.registerController},resetVimGlobalState_:Ta,getVimGlobalState_:function(){return v},maybeInitVimState_:pa, +suppressErrorLogging:!1,InsertModeKey:Ka,map:function(a,b,c){Y.map(a,b,c)},unmap:function(a,b){return Y.unmap(a,b)},noremap:function(a,b,c){function d(n){return n?[n]:["normal","insert","visual"]}for(var f=d(c),e=O.length,h=e-Ma;h"!=b||f.insertMode||f.visualMode||!h||""!=f.status)if(e||!h||a.inVirtualSelectionMode)d=Z.handleKey(a,b,c);else{var k=La(f); +a.operation(function(){a.curOp.isVimOp=!0;a.forEachSelection(function(){var g=a.getCursor("head"),l=a.getCursor("anchor"),m=I(g,l)?0:-1,n=I(g,l)?-1:0;g=L(g,0,m);l=L(l,0,n);a.state.vim.sel.head=g;a.state.vim.sel.anchor=l;d=Z.handleKey(a,b,c);a.virtualSelection&&(a.state.vim=La(k))});a.curOp.cursorActivity&&!d&&(a.curOp.cursorActivity=!1);a.state.vim=f},!0)}else N(a);!d||f.visualMode||f.insert||f.visualMode==a.somethingSelected()||pb(a,f);return d},findKey:function(a,b,c){function d(){if(""==b){if(h.visualMode)V(a); +else if(h.insertMode)na(a);else return;N(a);return!0}}function f(){if(d())return!0;for(var g=h.inputState.keyBuffer+=b,l=1==b.length,m=ea.matchCommand(g,O,h.inputState,"insert");1|<\w+>|./.exec(g),b=l[0],g=g.substring(l.index+b.length),Z.handleKey(a,b,"mapping");else ea.processCommand(a,h,k)}catch(m){throw a.state.vim=void 0,pa(a),Z.suppressErrorLogging||console.log(m),m;}return!0})}},handleEx:function(a,b){Y.processCommand(a,b)},defineMotion:function(a,b){ca[a]=b},defineAction:function(a, +b){ra[a]=b},defineOperator:function(a,b){xb[a]=b},mapCommand:function(a,b,c,d,f){a={keys:a,type:b};a[b]=c;a[b+"Args"]=d;for(var e in f)a[e]=f[e];ob(a)},_mapCommand:ob,defineRegister:function(a,b){var c=v.registerController.registers;if(!a||1!=a.length)throw Error("Register name must be 1 character");if(c[a])throw Error("Register already defined "+a);c[a]=b;vb.push(a)},exitVisualMode:V,exitInsertMode:na};ta.prototype.pushRepeatDigit=function(a){this.operator?this.motionRepeat=this.motionRepeat.concat(a): +this.prefixRepeat=this.prefixRepeat.concat(a)};ta.prototype.getRepeat=function(){var a=0;if(0=c.length)return this.iterator=c.length,this.initialPrefix;if(0>f)return a},pushInput:function(a){var b=this.historyBuffer.indexOf(a);-1"==m.slice(-11)){g=m.length-11;var n=l.slice(0,g);m=m.slice(0,g);l=n==m&&l.length>g?"full":0==m.indexOf(n)?"partial":!1}else l=l==m?"full":0==m.indexOf(l)? +"partial":!1;g=l}g&&("partial"==l&&f.push(k),"full"==l&&e.push(k))}b=f.length&&f;e=e.length&&e;if(!e&&!b)return{type:"none"};if(!e&&b)return{type:"partial"};var u;for(b=0;b"==u.keys.slice(-11)){a=(e=/^.*(<[^>]+>)$/.exec(a))?e[1]:a.slice(-1);if(1":a="\n";break;case "":a=" ";break;default:a=""}if(!a||1",onKeyDown:f,selectValueOnOpen:!1}):xa(a,{onClose:d,prefix:":",onKeyDown:f})},evalInput:function(a,b){var c=b.inputState,d=c.motion,f=c.motionArgs||{},e=c.operator,h=c.operatorArgs||{},k=c.registerName,g=b.sel,l=H(b.visualMode?Q(a,g.head):a.getCursor("head")),m=H(b.visualMode?Q(a,g.anchor):a.getCursor("anchor")),n=H(l);m=H(m);e&&this.recordLastEdit(b,c);var u=void 0!==c.repeatOverride?c.repeatOverride:c.getRepeat();if(0",I(q,w)?w:q)):e||(w=Q(a,w),a.setCursor(w.line,w.ch))}if(e){h.lastSel?(q=m,g=h.lastSel,w=Math.abs(g.head.line-g.anchor.line),l=Math.abs(g.head.ch-g.anchor.ch),w=g.visualLine?new r(m.line+w,m.ch):g.visualBlock?new r(m.line+w,m.ch+l):g.head.line==g.anchor.line?new r(m.line,m.ch+l):new r(m.line+w,m.ch),b.visualMode=!0,b.visualLine=g.visualLine,b.visualBlock=g.visualBlock,g=b.sel={anchor:q,head:w},la(a)):b.visualMode&&(h.lastSel={anchor:H(g.anchor),head:H(g.head), +visualBlock:b.visualBlock,visualLine:b.visualLine});if(b.visualMode){if(q=S(g.head,g.anchor),g=ha(g.head,g.anchor),n=b.visualLine||h.linewise,f=b.visualBlock?"block":n?"line":"char",q=Fa(a,{anchor:q,head:g},f),n)if(g=q.ranges,"block"==f)for(f=0;fh:e.lineg&&b.line==g)return bb(a,b,c,d,!0);c.toFirstChar&&(f=W(a.getLine(h)),d.lastHPos=f);d.lastHSPos=a.charCoords(new r(h,f),"div").left;return new r(h,f)},moveByDisplayLines:function(a,b,c,d){switch(d.lastMotion){case this.moveByDisplayLines:case this.moveByScroll:case this.moveByLines:case this.moveToColumn:case this.moveToEol:break; +default:d.lastHSPos=a.charCoords(b,"div").left}var f=c.repeat;b=a.findPosV(b,c.forward?f:-f,"line",d.lastHSPos);b.hitSide&&(c.forward?(c={top:a.charCoords(b,"div").top+8,left:d.lastHSPos},b=a.coordsChar(c,"div")):(c=a.charCoords(new r(a.firstLine(),0),"div"),c.left=d.lastHSPos,b=a.coordsChar(c,"div")));d.lastHPos=b.ch;return b},moveByPage:function(a,b,c){var d=c.repeat;return a.findPosV(b,c.forward?d:-d,"page")},moveByParagraph:function(a,b,c){return cb(a,b,c.repeat,c.forward?1:-1)},moveBySentence:function(a, +b,c){return Hb(a,b,c.repeat,c.forward?1:-1)},moveByScroll:function(a,b,c,d){var f=a.getScrollInfo(),e=c.repeat;e||(e=f.clientHeight/(2*a.defaultTextHeight()));var h=a.charCoords(b,"local");c.repeat=e;b=ca.moveByDisplayLines(a,b,c,d);if(!b)return null;c=a.charCoords(b,"local");a.scrollTo(null,f.top+c.top-h.top);return b},moveByWords:function(a,b,c){var d=b,f=c.repeat;b=!!c.forward;var e=!!c.wordEnd,h=!!c.bigWord;c=H(d);var k=[];(b&&!e||!b&&e)&&f++;for(var g=!(b&&e),l=0;l"===d?/[(){}[\]<>]/:/[(){}[\]]/,a.findMatchingBracket(new r(c,d),{bracketRegex:b}).to):b},moveToStartOfLine:function(a,b){return new r(b.line,0)},moveToLineOrEdgeOfDocument:function(a,b,c){b=c.forward?a.lastLine():a.firstLine(); +c.repeatIsExplicit&&(b=c.repeat-a.getOption("firstLineNumber"));return new r(b,W(a.getLine(b)))},moveToStartOfDisplayLine:function(a){a.execCommand("goLineLeft");return a.getCursor()},moveToEndOfDisplayLine:function(a){a.execCommand("goLineRight");a=a.getCursor();"before"==a.sticky&&a.ch--;return a},textObjectManipulation:function(a,b,c,d){var f={"'":!0,'"':!0,"`":!0},e=c.selectedCharacter;"b"==e?e="(":"B"==e&&(e="{");var h=!c.textObjectInner;if({"(":")",")":"(","{":"}","}":"{","[":"]","]":"[","<":">", +">":"<"}[e]){var k={"(":/[()]/,")":/[()]/,"[":/[[\]]/,"]":/[[\]]/,"{":/[{}]/,"}":/[{}]/,"<":/[<>]/,">":/[<>]/}[e];var g={"(":"(",")":"(","[":"[","]":"[","{":"{","}":"{","<":"<",">":"<"}[e];c=a.getLine(b.line).charAt(b.ch)===g?1:0;g=a.scanForBracket(new r(b.line,b.ch+c),-1,void 0,{bracketRegex:k});k=a.scanForBracket(new r(b.line,b.ch+c),1,void 0,{bracketRegex:k});if(g&&k){g=g.pos;k=k.pos;if(g.line==k.line&&g.ch>k.ch||g.line>k.line)b=g,g=k,k=b;h?k.ch+=1:g.ch+=1;b={start:g,end:k}}else b={start:b,end:b}}else if(f[e]){c= +e;b=H(b);d=a.getLine(b.line).split("");e=d.indexOf(c);b.cha.lastLine()&&b.linewise&&!k?a.replaceRange("",d,e):a.replaceRange("",f,e);b.linewise&&(k||(a.setCursor(d),p.commands.newlineAndIndent(a)),f.ch=Number.MAX_VALUE)}v.registerController.pushText(b.registerName,"change",h,b.linewise,1e.top?(d.line+=(f-e.top)/c,d.line=Math.ceil(d.line),a.setCursor(d),e=a.charCoords(d,"local"),a.scrollTo(null,e.top)): +a.scrollTo(null,f):(b=f+a.getScrollInfo().clientHeight,b|<\w+>|./.exec(u),q=w[0],u=u.substring(w.index+q.length),Z.handleKey(e, +q,"macro"),h.insertMode&&(w=l.insertModeChanges[m++].changes,v.macroModeState.lastInsertModeChanges.changes=w,qb(e,w,1),na(e))}k.isPlaying=!1}},enterMacroRecordMode:function(a,b){var c=v.macroModeState;b=b.selectedCharacter;v.registerController.isValidRegister(b)&&c.enterMacroRecordMode(a,b)},toggleOverwrite:function(a){a.state.overwrite?(a.toggleOverwrite(!1),a.setOption("keyMap","vim-insert"),p.signal(a,"vim-mode-change",{mode:"insert"})):(a.toggleOverwrite(!0),a.setOption("keyMap","vim-replace"), +p.signal(a,"vim-mode-change",{mode:"replace"}))},enterInsertMode:function(a,b,c){if(!a.getOption("readOnly")){c.insertMode=!0;c.insertModeRepeat=b&&b.repeat||1;var d=b?b.insertAt:null,f=c.sel,e=b.head||a.getCursor("head"),h=a.listSelections().length;if("eol"==d)e=new r(e.line,J(a,e.line));else if("bol"==d)e=new r(e.line,0);else if("charAfter"==d)e=L(e,0,1);else if("firstNonBlank"==d)e=ca.moveToFirstNonWhiteSpaceCharacter(a,e);else if("startOfSelectedArea"==d){if(!c.visualMode)return;c.visualBlock? +(e=new r(Math.min(f.head.line,f.anchor.line),Math.min(f.head.ch,f.anchor.ch)),h=Math.abs(f.head.line-f.anchor.line)+1):e=f.head.line=f.anchor.line?L(f.head,0,1):new r(f.anchor.line,0)}else if("inplace"==d){if(c.visualMode)return}else"lastEdit"==d&&(e= +kb(a)||e);a.setOption("disableInput",!1);b&&b.replace?(a.toggleOverwrite(!0),a.setOption("keyMap","vim-replace"),p.signal(a,"vim-mode-change",{mode:"replace"})):(a.toggleOverwrite(!1),a.setOption("keyMap","vim-insert"),p.signal(a,"vim-mode-change",{mode:"insert"}));v.macroModeState.isPlaying||(a.on("change",lb),p.on(a.getInputField(),"keydown",mb));c.visualMode&&V(a);Za(a,e,h)}},toggleVisualMode:function(a,b,c){var d=b.repeat,f=a.getCursor();c.visualMode?c.visualLine^b.linewise||c.visualBlock^b.blockwise? +(c.visualLine=!!b.linewise,c.visualBlock=!!b.blockwise,p.signal(a,"vim-mode-change",{mode:"visual",subMode:c.visualLine?"linewise":c.visualBlock?"blockwise":""}),la(a)):V(a):(c.visualMode=!0,c.visualLine=!!b.linewise,c.visualBlock=!!b.blockwise,b=Q(a,new r(f.line,f.ch+d-1)),c.sel={anchor:f,head:b},p.signal(a,"vim-mode-change",{mode:"visual",subMode:c.visualLine?"linewise":c.visualBlock?"blockwise":""}),la(a),ba(a,c,"<",S(f,b)),ba(a,c,">",ha(f,b)))},reselectLastSelection:function(a,b,c){b=c.lastSelection; +c.visualMode&&$a(a,c);if(b){var d=b.anchorMark.find(),f=b.headMark.find();d&&f&&(c.sel={anchor:d,head:f},c.visualMode=!0,c.visualLine=b.visualLine,c.visualBlock=b.visualBlock,la(a),ba(a,c,"<",S(d,f)),ba(a,c,">",ha(d,f)),p.signal(a,"vim-mode-change",{mode:"visual",subMode:c.visualLine?"linewise":c.visualBlock?"blockwise":""}))}},joinLines:function(a,b,c){if(c.visualMode){var d=a.getCursor("anchor");var f=a.getCursor("head");if(I(f,d)){var e=f;f=d;d=e}f.ch=J(a,f.line)-1}else f=Math.max(b.repeat,2), +d=a.getCursor(),f=Q(a,new r(d.line+f-1,Infinity));for(var h=0,k=d.line;kq?"":a.getOption("indentWithTabs")?Array(Math.floor(q/h)+1).join("\t"):Array(q+1).join(" ")});e+=m?"\n":""}1a.lastLine()&&a.replaceRange("\n",new r(u,0)),J(a,u)h.length&&(b=h.length),h=new r(f.line,b);"\n"==d?(c.visualMode||a.replaceRange("",f,h),(p.commands.newlineAndIndentContinueComment||p.commands.newlineAndIndent)(a)):(b=a.getRange(f,h),b=b.replace(/[^\n]/g,d),c.visualBlock?(f=Array(a.getOption("tabSize")+1).join(" "),b=a.getSelection(),b=b.replace(/\t/g,f).replace(/[^\n]/g,d).split("\n"),a.replaceSelections(b)):a.replaceRange(b,f,h),c.visualMode?(f=I(e[0].anchor,e[0].head)?e[0].anchor:e[0].head,a.setCursor(f),V(a, +!1)):a.setCursor(L(h,0,-1)))},incrementNumberToken:function(a,b){for(var c=a.getCursor(),d=a.getLine(c.line),f=/(-?)(?:(0x)([\da-f]+)|(0b|0|)(\d+))/gi,e,h,k;null!==(e=f.exec(d))&&!(h=e.index,k=h+e[0].length,c.ch@~])/);c.commandName=a?a[1]:b.match(/.*/)[0];return c},parseLineSpec_:function(a, +b){var c=b.match(/^(\d+)/);if(c)return parseInt(c[1],10)-1;switch(b.next()){case ".":return this.parseLineSpecOffset_(b,a.getCursor().line);case "$":return this.parseLineSpecOffset_(b,a.lastLine());case "'":c=b.next();a=jb(a,a.state.vim,c);if(!a)throw Error("Mark not set");return this.parseLineSpecOffset_(b,a.line);case "-":case "+":return b.backUp(1),this.parseLineSpecOffset_(b,a.getCursor().line);default:b.backUp(1)}},parseLineSpecOffset_:function(a,b){if(a=a.match(/^([+-])?(\d+)/)){var c=parseInt(a[2], +10);b="-"==a[1]?b-c:b+c}return b},parseCommandArgs_:function(a,b,c){a.eol()||(b.argString=a.match(/.*/)[0],a=c.argDelimiter||/\s+/,a=Ea(b.argString).split(a),a.length&&a[0]&&(b.args=a))},matchCommand_:function(a){for(var b=a.length;0b.args.length?G(a,a.getOption("theme")):a.setOption("theme",b.args[0])},map:function(a,b,c){var d=b.args;!d||2>d.length?a&&G(a,"Invalid mapping: "+b.input):Y.map(d[0],d[1],c)},imap:function(a,b){this.map(a,b,"insert")},nmap:function(a,b){this.map(a,b,"normal")}, +vmap:function(a,b){this.map(a,b,"visual")},unmap:function(a,b,c){var d=b.args;(!d||1>d.length||!Y.unmap(d[0],c))&&a&&G(a,"No such mapping: "+b.input)},move:function(a,b){ea.processCommand(a,a.state.vim,{type:"motion",motion:"moveToLineOrEdgeOfDocument",motionArgs:{forward:!1,explicitRepeat:!0,linewise:!0},repeatOverride:b.line+1})},set:function(a,b){var c=b.args,d=b.setCfg||{};if(!c||1>c.length)a&&G(a,"Invalid mapping: "+b.input);else{var f=c[0].split("=");c=f[0];f=f[1];var e=!1;if("?"==c.charAt(c.length- +1)){if(f)throw Error("Trailing characters: "+b.argString);c=c.substring(0,c.length-1);e=!0}void 0===f&&"no"==c.substring(0,2)&&(c=c.substring(2),f=!1);(b=aa[c]&&"boolean"==aa[c].type)&&void 0==f&&(f=!0);!b&&void 0===f||e?(d=fa(c,a,d),d instanceof Error?G(a,d.message):!0===d||!1===d?G(a," "+(d?"":"no")+c):G(a," "+c+"="+d)):(d=Ca(c,f,a,d),d instanceof Error&&G(a,d.message))}},setlocal:function(a,b){b.setCfg={scope:"local"};this.set(a,b)},setglobal:function(a,b){b.setCfg={scope:"global"};this.set(a, +b)},registers:function(a,b){var c=b.args;b=v.registerController.registers;var d="----------Registers----------\n\n";if(c){c=c.join("");for(var f=0;f=h){G(a,"Invalid argument: "+b.argString.substring(f));break}for(f=0;f<=h-e;f++){var k=String.fromCharCode(e+f);delete c.marks[k]}}else{G(a,"Invalid argument: "+e+"-");break}}else delete c.marks[e]}else G(a,"Argument required")}},Y=new Bb;p.keyMap.vim={attach:T,detach:K,call:ya};sa("insertModeEscKeysTimeout",200,"number"); +p.keyMap["vim-insert"]={fallthrough:["default"],attach:T,detach:K,call:ya};p.keyMap["vim-replace"]={Backspace:"goCharLeft",fallthrough:["vim-insert"],attach:T,detach:K,call:ya};Ta();return Z}t.Vim=function(p){p.Vim=x(p);return p.Vim}(t)}); + +// overlay.js + +(function(c){"object"==typeof exports&&"object"==typeof module?c(require("../../lib/codemirror")):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],c):c(CodeMirror)})(function(c){c.overlayMode=function(d,f,g){return{startState:function(){return{base:c.startState(d),overlay:c.startState(f),basePos:0,baseCur:null,overlayPos:0,overlayCur:null,streamSeen:null}},copyState:function(b){return{base:c.copyState(d,b.base),overlay:c.copyState(f,b.overlay),basePos:b.basePos,baseCur:null,overlayPos:b.overlayPos, +overlayCur:null}},token:function(b,a){if(b!=a.streamSeen||Math.min(a.basePos,a.overlayPos)d?0:c.indent[d]}}m.defineSimpleMode=function(b,e){m.defineMode(b, +function(c){return m.simpleMode(c,e)})};m.simpleMode=function(b,e){u(e,"start");var c={},a=e.meta||{},d=!1,h;for(h in e)if(h!=a&&e.hasOwnProperty(h))for(var k=c[h]=[],f=e[h],n=0;n|[*\]])\s*$|\*$/.test(a.string.slice(0,c))||b.typeAtEndOfLine&&a.column()==a.indentation())return!0}function J(a){for(;;){if(!a||"top"==a.type)return!0;if("}"==a.type&&"namespace"!=a.prev.info)return!1;a=a.prev}}function f(a){var b={};a=a.split(" ");for(var c=0;ca.length||"_"!=a[0]?!1:"_"==a[1]||a[1]!==a[1].toLowerCase()}function m(a){a.eatWhile(/[\w\.']/);return"number"}function v(a,b){a.backUp(1); +if(a.match(/^(?:R|u8R|uR|UR|LR)/)){var c=a.match(/^"([^\s\\()]{0,16})\(/);if(!c)return!1;b.cpp11RawStringDelim=c[1];b.tokenize=L;return L(a,b)}if(a.match(/^(?:u8|u|U|L)/))return a.match(/^["']/,!1)?"string":!1;a.next();return!1}function M(a){return(a=/(\w+)::~?(\w+)$/.exec(a))&&a[1]==a[2]}function N(a,b){for(var c;null!=(c=a.next());)if('"'==c&&!a.eat('"')){b.tokenize=null;break}return"string"}function L(a,b){var c=b.cpp11RawStringDelim.replace(/[^\w\s]/g,"\\$&");a.match(new RegExp(".*?\\)"+c+'"'))? +b.tokenize=null:a.skipToEnd();return"string"}function q(a,b){function c(n){if(n)for(var w in n)n.hasOwnProperty(w)&&h.push(w)}"string"==typeof a&&(a=[a]);var h=[];c(b.keywords);c(b.types);c(b.builtin);c(b.atoms);h.length&&(b.helperType=a[0],t.registerHelper("hintWords",a[0],h));for(var l=0;l!?|\/]/,R=b.isIdentifierChar||/[\w\$_\xa1-\uffff]/,U=b.isReservedIdentifier||!1,p,H;return{startState:function(d){return{tokenize:null,context:new G((d||0)-w,0,"top",null,!1),indented:0,startOfLine:!0,prevToken:null}},token:function(d,g){var e=g.context;d.sol()&&(null==e.align&&(e.align=!1),g.indented=d.indentation(),g.startOfLine=!0);if(d.eatSpace())return n(d,g),null;p=H=null;var k= +(g.tokenize||c)(d,g);if("comment"==k||"meta"==k)return k;null==e.align&&(e.align=!0);if(";"==p||":"==p||","==p&&d.match(/^\s*(?:\/\/.*)?$/,!1))for(;"statement"==g.context.type;)z(g);else if("{"==p)B(g,d.column(),"}");else if("["==p)B(g,d.column(),"]");else if("("==p)B(g,d.column(),")");else if("}"==p){for(;"statement"==e.type;)e=z(g);for("}"==e.type&&(e=z(g));"statement"==e.type;)e=z(g)}else p==e.type?z(g):la&&(("}"==e.type||"top"==e.type)&&";"!=p||"statement"==e.type&&"newstatement"==p)&&B(g,d.column(), +"statement",d.current());"variable"==k&&("def"==g.prevToken||b.typeFirstDefinitions&&I(d,g,d.start)&&J(g.context)&&d.match(/^\s*\(/,!1))&&(k="def");y.token&&(e=y.token(d,g,k),void 0!==e&&(k=e));"def"==k&&!1===b.styleDefs&&(k="variable");g.startOfLine=!1;g.prevToken=H?"def":k||p;n(d,g);return k},indent:function(d,g){if(d.tokenize!=c&&null!=d.tokenize||d.typeAtEndOfLine)return t.Pass;var e=d.context,k=g&&g.charAt(0),x=k==e.type;"statement"==e.type&&"}"==k&&(e=e.prev);if(b.dontIndentStatements)for(;"statement"== +e.type&&b.dontIndentStatements.test(e.info);)e=e.prev;if(y.indent&&(d=y.indent(d,e,g,w),"number"==typeof d))return d;d=e.prev&&"switch"==e.prev.info;if(b.allmanIndentation&&/[{(]/.test(k)){for(;"top"!=e.type&&"}"!=e.type;)e=e.prev;return e.indented}return"statement"==e.type?e.indented+("{"==k?0:W):!e.align||ka&&")"==e.type?")"!=e.type||x?e.indented+(x?0:w)+(x||!d||/^(?:case|default)\b/.test(g)?0:w):e.indented+W:e.column+(x?0:1)},electricInput:!1!==b.indentSwitch?/^\s*(?:case .*?:|default:|\{\}?|\})$/: +/^\s*[{}]$/,blockCommentStart:"/*",blockCommentEnd:"*/",blockCommentContinue:" * ",lineComment:"//",fold:"brace"}});var X=f("int long char short double float unsigned signed void bool"),Y=f("SEL instancetype id Class Protocol BOOL");q(["text/x-csrc","text/x-c","text/x-chdr"],{name:"clike",keywords:f("auto if break case register continue return default do sizeof static else struct switch extern typedef union for goto while enum const volatile inline restrict asm fortran"),types:A,blockKeywords:f("case do else for if switch while struct enum union"), +defKeywords:f("struct enum union"),typeFirstDefinitions:!0,atoms:f("NULL true false"),isReservedIdentifier:D,hooks:{"#":u,"*":C},modeProps:{fold:["brace","include"]}});q(["text/x-c++src","text/x-c++hdr"],{name:"clike",keywords:f("auto if break case register continue return default do sizeof static else struct switch extern typedef union for goto while enum const volatile inline restrict asm fortran alignas alignof and and_eq audit axiom bitand bitor catch class compl concept constexpr const_cast decltype delete dynamic_cast explicit export final friend import module mutable namespace new noexcept not not_eq operator or or_eq override private protected public reinterpret_cast requires static_assert static_cast template this thread_local throw try typeid typename using virtual xor xor_eq"), +types:A,blockKeywords:f("case do else for if switch while struct enum union class try catch"),defKeywords:f("struct enum union class namespace"),typeFirstDefinitions:!0,atoms:f("true false NULL nullptr"),dontIndentStatements:/^template$/,isIdentifierChar:/[\w\$_~\xa1-\uffff]/,isReservedIdentifier:D,hooks:{"#":u,"*":C,u:v,U:v,L:v,R:v,0:m,1:m,2:m,3:m,4:m,5:m,6:m,7:m,8:m,9:m,token:function(a,b,c){if("variable"==c&&"("==a.peek()&&(";"==b.prevToken||null==b.prevToken||"}"==b.prevToken)&&M(a.current()))return"def"}}, +namespaceSeparator:"::",modeProps:{fold:["brace","include"]}});q("text/x-java",{name:"clike",keywords:f("abstract assert break case catch class const continue default do else enum extends final finally for goto if implements import instanceof interface native new package private protected public return static strictfp super switch synchronized this throw throws transient try volatile while @interface"),types:f("var byte short int long float double boolean char void Boolean Byte Character Double Float Integer Long Number Object Short String StringBuffer StringBuilder Void"), +blockKeywords:f("catch class do else finally for if switch try while"),defKeywords:f("class interface enum @interface"),typeFirstDefinitions:!0,atoms:f("true false null"),number:/^(?:0x[a-f\d_]+|0b[01_]+|(?:[\d_]+\.?\d*|\.\d+)(?:e[-+]?[\d_]+)?)(u|ll?|l|f)?/i,hooks:{"@":function(a){if(a.match("interface",!1))return!1;a.eatWhile(/[\w\$_]/);return"meta"},'"':function(a,b){if(!a.match(/""$/))return!1;b.tokenize=O;return b.tokenize(a,b)}},modeProps:{fold:["brace","import"]}});q("text/x-csharp",{name:"clike", +keywords:f("abstract as async await base break case catch checked class const continue default delegate do else enum event explicit extern finally fixed for foreach goto if implicit in init interface internal is lock namespace new operator out override params private protected public readonly record ref required return sealed sizeof stackalloc static struct switch this throw try typeof unchecked unsafe using virtual void volatile while add alias ascending descending dynamic from get global group into join let orderby partial remove select set value var yield"), +types:f("Action Boolean Byte Char DateTime DateTimeOffset Decimal Double Func Guid Int16 Int32 Int64 Object SByte Single String Task TimeSpan UInt16 UInt32 UInt64 bool byte char decimal double short int long object sbyte float string ushort uint ulong"),blockKeywords:f("catch class do else finally for foreach if struct switch try while"),defKeywords:f("class interface namespace record struct var"),typeFirstDefinitions:!0,atoms:f("true false null"),hooks:{"@":function(a,b){if(a.eat('"'))return b.tokenize= +N,N(a,b);a.eatWhile(/[\w\$_]/);return"meta"}}});q("text/x-scala",{name:"clike",keywords:f("abstract case catch class def do else extends final finally for forSome if implicit import lazy match new null object override package private protected return sealed super this throw trait try type val var while with yield _ assert assume require print println printf readLine readBoolean readByte readShort readChar readInt readLong readFloat readDouble"),types:f("AnyVal App Application Array BufferedIterator BigDecimal BigInt Char Console Either Enumeration Equiv Error Exception Fractional Function IndexedSeq Int Integral Iterable Iterator List Map Numeric Nil NotNull Option Ordered Ordering PartialFunction PartialOrdering Product Proxy Range Responder Seq Serializable Set Specializable Stream StringBuilder StringContext Symbol Throwable Traversable TraversableOnce Tuple Unit Vector Boolean Byte Character CharSequence Class ClassLoader Cloneable Comparable Compiler Double Exception Float Integer Long Math Number Object Package Pair Process Runtime Runnable SecurityManager Short StackTraceElement StrictMath String StringBuffer System Thread ThreadGroup ThreadLocal Throwable Triple Void"), +multiLineStrings:!0,blockKeywords:f("catch class enum do else finally for forSome if match switch try while"),defKeywords:f("class enum def object package trait type val var"),atoms:f("true false null"),indentStatements:!1,indentSwitch:!1,isOperatorChar:/[+\-*&%=<>!?|\/#:@]/,hooks:{"@":function(a){a.eatWhile(/[\w\$_]/);return"meta"},'"':function(a,b){if(!a.match('""'))return!1;b.tokenize=O;return b.tokenize(a,b)},"'":function(a){if(a.match(/^(\\[^'\s]+|[^\\'])'/))return"string-2";a.eatWhile(/[\w\$_\xa1-\uffff]/); +return"atom"},"=":function(a,b){var c=b.context;return"}"==c.type&&c.align&&a.eat(">")?(b.context=new G(c.indented,c.column,c.type,c.info,null,c.prev),"operator"):!1},"/":function(a,b){if(!a.eat("*"))return!1;b.tokenize=E(1);return b.tokenize(a,b)}},modeProps:{closeBrackets:{pairs:'()[]{}""',triples:'"'}}});q("text/x-kotlin",{name:"clike",keywords:f("package as typealias class interface this super val operator var fun for is in This throw return annotation break continue object if else while do try when !in !is as? file import where by get set abstract enum open inner override private public internal protected catch finally out final vararg reified dynamic companion constructor init sealed field property receiver param sparam lateinit data inline noinline tailrec external annotation crossinline const operator infix suspend actual expect setparam value"), +types:f("Boolean Byte Character CharSequence Class ClassLoader Cloneable Comparable Compiler Double Exception Float Integer Long Math Number Object Package Pair Process Runtime Runnable SecurityManager Short StackTraceElement StrictMath String StringBuffer System Thread ThreadGroup ThreadLocal Throwable Triple Void Annotation Any BooleanArray ByteArray Char CharArray DeprecationLevel DoubleArray Enum FloatArray Function Int IntArray Lazy LazyThreadSafetyMode LongArray Nothing ShortArray Unit"),intendSwitch:!1, +indentStatements:!1,multiLineStrings:!0,number:/^(?:0x[a-f\d_]+|0b[01_]+|(?:[\d_]+(\.\d+)?|\.\d+)(?:e[-+]?[\d_]+)?)(u|ll?|l|f)?/i,blockKeywords:f("catch class do else finally for if where try while enum"),defKeywords:f("class val var object interface fun"),atoms:f("true false null this"),hooks:{"@":function(a){a.eatWhile(/[\w\$_]/);return"meta"},"*":function(a,b){return"."==b.prevToken?"variable":"operator"},'"':function(a,b){b.tokenize=Z(a.match('""'));return b.tokenize(a,b)},"/":function(a,b){if(!a.eat("*"))return!1; +b.tokenize=E(1);return b.tokenize(a,b)},indent:function(a,b,c,h){var l=c&&c.charAt(0);if(("}"==a.prevToken||")"==a.prevToken)&&""==c)return a.indented;if("operator"==a.prevToken&&"}"!=c&&"}"!=a.context.type||"variable"==a.prevToken&&"."==l||("}"==a.prevToken||")"==a.prevToken)&&"."==l)return 2*h+b.indented;if(b.align&&"}"==b.type)return b.indented+(a.context.type==(c||"").charAt(0)?0:h)}},modeProps:{closeBrackets:{triples:'"'}}});q(["x-shader/x-vertex","x-shader/x-fragment"],{name:"clike",keywords:f("sampler1D sampler2D sampler3D samplerCube sampler1DShadow sampler2DShadow const attribute uniform varying break continue discard return for while do if else struct in out inout"), +types:f("float int bool void vec2 vec3 vec4 ivec2 ivec3 ivec4 bvec2 bvec3 bvec4 mat2 mat3 mat4"),blockKeywords:f("for while do if else struct"),builtin:f("radians degrees sin cos tan asin acos atan pow exp log exp2 sqrt inversesqrt abs sign floor ceil fract mod min max clamp mix step smoothstep length distance dot cross normalize ftransform faceforward reflect refract matrixCompMult lessThan lessThanEqual greaterThan greaterThanEqual equal notEqual any all not texture1D texture1DProj texture1DLod texture1DProjLod texture2D texture2DProj texture2DLod texture2DProjLod texture3D texture3DProj texture3DLod texture3DProjLod textureCube textureCubeLod shadow1D shadow2D shadow1DProj shadow2DProj shadow1DLod shadow2DLod shadow1DProjLod shadow2DProjLod dFdx dFdy fwidth noise1 noise2 noise3 noise4"), +atoms:f("true false gl_FragColor gl_SecondaryColor gl_Normal gl_Vertex gl_MultiTexCoord0 gl_MultiTexCoord1 gl_MultiTexCoord2 gl_MultiTexCoord3 gl_MultiTexCoord4 gl_MultiTexCoord5 gl_MultiTexCoord6 gl_MultiTexCoord7 gl_FogCoord gl_PointCoord gl_Position gl_PointSize gl_ClipVertex gl_FrontColor gl_BackColor gl_FrontSecondaryColor gl_BackSecondaryColor gl_TexCoord gl_FogFragCoord gl_FragCoord gl_FrontFacing gl_FragData gl_FragDepth gl_ModelViewMatrix gl_ProjectionMatrix gl_ModelViewProjectionMatrix gl_TextureMatrix gl_NormalMatrix gl_ModelViewMatrixInverse gl_ProjectionMatrixInverse gl_ModelViewProjectionMatrixInverse gl_TextureMatrixTranspose gl_ModelViewMatrixInverseTranspose gl_ProjectionMatrixInverseTranspose gl_ModelViewProjectionMatrixInverseTranspose gl_TextureMatrixInverseTranspose gl_NormalScale gl_DepthRange gl_ClipPlane gl_Point gl_FrontMaterial gl_BackMaterial gl_LightSource gl_LightModel gl_FrontLightModelProduct gl_BackLightModelProduct gl_TextureColor gl_EyePlaneS gl_EyePlaneT gl_EyePlaneR gl_EyePlaneQ gl_FogParameters gl_MaxLights gl_MaxClipPlanes gl_MaxTextureUnits gl_MaxTextureCoords gl_MaxVertexAttribs gl_MaxVertexUniformComponents gl_MaxVaryingFloats gl_MaxVertexTextureImageUnits gl_MaxTextureImageUnits gl_MaxFragmentUniformComponents gl_MaxCombineTextureImageUnits gl_MaxDrawBuffers"), +indentSwitch:!1,hooks:{"#":u},modeProps:{fold:["brace","include"]}});q("text/x-nesc",{name:"clike",keywords:f("auto if break case register continue return default do sizeof static else struct switch extern typedef union for goto while enum const volatile inline restrict asm fortran as atomic async call command component components configuration event generic implementation includes interface module new norace nx_struct nx_union post provides signal task uses abstract extends"),types:A,blockKeywords:f("case do else for if switch while struct enum union"), +atoms:f("null true false"),hooks:{"#":u},modeProps:{fold:["brace","include"]}});q("text/x-objectivec",{name:"clike",keywords:f("auto if break case register continue return default do sizeof static else struct switch extern typedef union for goto while enum const volatile inline restrict asm fortran bycopy byref in inout oneway out self super atomic nonatomic retain copy readwrite readonly strong weak assign typeof nullable nonnull null_resettable _cmd @interface @implementation @end @protocol @encode @property @synthesize @dynamic @class @public @package @private @protected @required @optional @try @catch @finally @import @selector @encode @defs @synchronized @autoreleasepool @compatibility_alias @available"), +types:K,builtin:f("FOUNDATION_EXPORT FOUNDATION_EXTERN NS_INLINE NS_FORMAT_FUNCTION NS_RETURNS_RETAINEDNS_ERROR_ENUM NS_RETURNS_NOT_RETAINED NS_RETURNS_INNER_POINTER NS_DESIGNATED_INITIALIZER NS_ENUM NS_OPTIONS NS_REQUIRES_NIL_TERMINATION NS_ASSUME_NONNULL_BEGIN NS_ASSUME_NONNULL_END NS_SWIFT_NAME NS_REFINED_FOR_SWIFT"),blockKeywords:f("case do else for if switch while struct enum union @synthesize @try @catch @finally @autoreleasepool @synchronized"),defKeywords:f("struct enum union @interface @implementation @protocol @class"), +dontIndentStatements:/^@.*$/,typeFirstDefinitions:!0,atoms:f("YES NO NULL Nil nil true false nullptr"),isReservedIdentifier:D,hooks:{"#":u,"*":C},modeProps:{fold:["brace","include"]}});q("text/x-objectivec++",{name:"clike",keywords:f("auto if break case register continue return default do sizeof static else struct switch extern typedef union for goto while enum const volatile inline restrict asm fortran bycopy byref in inout oneway out self super atomic nonatomic retain copy readwrite readonly strong weak assign typeof nullable nonnull null_resettable _cmd @interface @implementation @end @protocol @encode @property @synthesize @dynamic @class @public @package @private @protected @required @optional @try @catch @finally @import @selector @encode @defs @synchronized @autoreleasepool @compatibility_alias @available alignas alignof and and_eq audit axiom bitand bitor catch class compl concept constexpr const_cast decltype delete dynamic_cast explicit export final friend import module mutable namespace new noexcept not not_eq operator or or_eq override private protected public reinterpret_cast requires static_assert static_cast template this thread_local throw try typeid typename using virtual xor xor_eq"), +types:K,builtin:f("FOUNDATION_EXPORT FOUNDATION_EXTERN NS_INLINE NS_FORMAT_FUNCTION NS_RETURNS_RETAINEDNS_ERROR_ENUM NS_RETURNS_NOT_RETAINED NS_RETURNS_INNER_POINTER NS_DESIGNATED_INITIALIZER NS_ENUM NS_OPTIONS NS_REQUIRES_NIL_TERMINATION NS_ASSUME_NONNULL_BEGIN NS_ASSUME_NONNULL_END NS_SWIFT_NAME NS_REFINED_FOR_SWIFT"),blockKeywords:f("case do else for if switch while struct enum union @synthesize @try @catch @finally @autoreleasepool @synchronized class try catch"),defKeywords:f("struct enum union @interface @implementation @protocol @class class namespace"), +dontIndentStatements:/^@.*$|^template$/,typeFirstDefinitions:!0,atoms:f("YES NO NULL Nil nil true false nullptr"),isReservedIdentifier:D,hooks:{"#":u,"*":C,u:v,U:v,L:v,R:v,0:m,1:m,2:m,3:m,4:m,5:m,6:m,7:m,8:m,9:m,token:function(a,b,c){if("variable"==c&&"("==a.peek()&&(";"==b.prevToken||null==b.prevToken||"}"==b.prevToken)&&M(a.current()))return"def"}},namespaceSeparator:"::",modeProps:{fold:["brace","include"]}});q("text/x-squirrel",{name:"clike",keywords:f("base break clone continue const default delete enum extends function in class foreach local resume return this throw typeof yield constructor instanceof static"), +types:A,blockKeywords:f("case catch class else for foreach if switch try while"),defKeywords:f("function local class"),typeFirstDefinitions:!0,atoms:f("true false null"),hooks:{"#":u},modeProps:{fold:["brace","include"]}});var F=null;q("text/x-ceylon",{name:"clike",keywords:f("abstracts alias assembly assert assign break case catch class continue dynamic else exists extends finally for function given if import in interface is let module new nonempty object of out outer package return satisfies super switch then this throw try value void while"), +types:function(a){a=a.charAt(0);return a===a.toUpperCase()&&a!==a.toLowerCase()},blockKeywords:f("case catch class dynamic else finally for function if interface module new object switch try while"),defKeywords:f("class dynamic function interface module object package value"),builtin:f("abstract actual aliased annotation by default deprecated doc final formal late license native optional sealed see serializable shared suppressWarnings tagged throws variable"),isPunctuationChar:/[\[\]{}\(\),;:\.`]/, +isOperatorChar:/[+\-*&%=<>!?|^~:\/]/,numberStart:/[\d#$]/,number:/^(?:#[\da-fA-F_]+|\$[01_]+|[\d_]+[kMGTPmunpf]?|[\d_]+\.[\d_]+(?:[eE][-+]?\d+|[kMGTPmunpf]|)|)/i,multiLineStrings:!0,typeFirstDefinitions:!0,atoms:f("true false null larger smaller equal empty finished"),indentSwitch:!1,styleDefs:!1,hooks:{"@":function(a){a.eatWhile(/[\w\$_]/);return"meta"},'"':function(a,b){b.tokenize=P(a.match('""')?"triple":"single");return b.tokenize(a,b)},"`":function(a,b){if(!F||!a.match("`"))return!1;b.tokenize= +F;F=null;return b.tokenize(a,b)},"'":function(a){a.eatWhile(/[\w\$_\xa1-\uffff]/);return"atom"},token:function(a,b,c){if(("variable"==c||"type"==c)&&"."==b.prevToken)return"variable-2"}},modeProps:{fold:["brace","import"],closeBrackets:{triples:'"'}}})}); + +// css.js + +(function(l){"object"==typeof exports&&"object"==typeof module?l(require("../../lib/codemirror")):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],l):l(CodeMirror)})(function(l){function m(d){for(var e={},f=0;f*\/]/.test(b)?f(null,"select-op"):"."==b&&a.match(/^-?[_a-z][_a-z0-9-]*/i)?f("qualifier","qualifier"):/[:;{}\[\]\(\)]/.test(b)?f(null,b):a.match(/^[\w-.]+(?=\()/)?(/^(url(-prefix)?|domain|regexp)$/i.test(a.current())&&(c.tokenize=aa),f("variable callee","variable")):/[\w\\\-]/.test(b)?(a.eatWhile(/[\w\\\-]/),f("property","word")):f(null,null)}function H(a){return function(c, +b){for(var k=!1,w;null!=(w=c.next());){if(w==a&&!k){")"==a&&c.backUp(1);break}k=!k&&"\\"==w}if(w==a||!k&&")"!=a)b.tokenize=null;return f("string","string")}}function aa(a,c){a.next();a.match(/^\s*["')]/,!1)?c.tokenize=null:c.tokenize=H(")");return f(null,"(")}function I(a,c,b){this.type=a;this.indent=c;this.prev=b}function h(a,c,b,k){a.context=new I(b,c.indentation()+(!1===k?0:J),a.context);return b}function n(a){a.context.prev&&(a.context=a.context.prev);return a.context.type}function r(a,c,b,k){for(k= +k||1;0